Files
HomeAssistantVS/custom_components/cafe/www/assets/main-B-MXbKCR.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 wCn=Object.defineProperty;var yCn=(n,i,s)=>i in n?wCn(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s;var Zf=(n,i,s)=>yCn(n,typeof i!="symbol"?i+"":i,s);function vCn(n,i){for(var s=0;s<i.length;s++){const u=i[s];if(typeof u!="string"&&!Array.isArray(u)){for(const d in u)if(d!=="default"&&!(d in n)){const g=Object.getOwnPropertyDescriptor(u,d);g&&Object.defineProperty(n,d,g.get?g:{enumerable:!0,get:()=>u[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"]'))u(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"&&u(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 u(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 Q$t={exports:{}},Nse={},eBt={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 bz=Symbol.for("react.element"),ECn=Symbol.for("react.portal"),SCn=Symbol.for("react.fragment"),TCn=Symbol.for("react.strict_mode"),ACn=Symbol.for("react.profiler"),_Cn=Symbol.for("react.provider"),xCn=Symbol.for("react.context"),kCn=Symbol.for("react.forward_ref"),NCn=Symbol.for("react.suspense"),CCn=Symbol.for("react.memo"),ICn=Symbol.for("react.lazy"),YDt=Symbol.iterator;function RCn(n){return n===null||typeof n!="object"?null:(n=YDt&&n[YDt]||n["@@iterator"],typeof n=="function"?n:null)}var tBt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nBt=Object.assign,rBt={};function LM(n,i,s){this.props=n,this.context=i,this.refs=rBt,this.updater=s||tBt}LM.prototype.isReactComponent={};LM.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")};LM.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function iBt(){}iBt.prototype=LM.prototype;function xDe(n,i,s){this.props=n,this.context=i,this.refs=rBt,this.updater=s||tBt}var kDe=xDe.prototype=new iBt;kDe.constructor=xDe;nBt(kDe,LM.prototype);kDe.isPureReactComponent=!0;var JDt=Array.isArray,oBt=Object.prototype.hasOwnProperty,NDe={current:null},sBt={key:!0,ref:!0,__self:!0,__source:!0};function aBt(n,i,s){var u,d={},g=null,b=null;if(i!=null)for(u in i.ref!==void 0&&(b=i.ref),i.key!==void 0&&(g=""+i.key),i)oBt.call(i,u)&&!sBt.hasOwnProperty(u)&&(d[u]=i[u]);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(u in w=n.defaultProps,w)d[u]===void 0&&(d[u]=w[u]);return{$$typeof:bz,type:n,key:g,ref:b,props:d,_owner:NDe.current}}function OCn(n,i){return{$$typeof:bz,type:n.type,key:i,ref:n.ref,props:n.props,_owner:n._owner}}function CDe(n){return typeof n=="object"&&n!==null&&n.$$typeof===bz}function LCn(n){var i={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(s){return i[s]})}var XDt=/\/+/g;function aCe(n,i){return typeof n=="object"&&n!==null&&n.key!=null?LCn(""+n.key):i.toString(36)}function $ie(n,i,s,u,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 bz:case ECn:b=!0}}if(b)return b=n,d=d(b),n=u===""?"."+aCe(b,0):u,JDt(d)?(s="",n!=null&&(s=n.replace(XDt,"$&/")+"/"),$ie(d,i,s,"",function(S){return S})):d!=null&&(CDe(d)&&(d=OCn(d,s+(!d.key||b&&b.key===d.key?"":(""+d.key).replace(XDt,"$&/")+"/")+n)),i.push(d)),1;if(b=0,u=u===""?".":u+":",JDt(n))for(var w=0;w<n.length;w++){g=n[w];var E=u+aCe(g,w);b+=$ie(g,i,s,E,d)}else if(E=RCn(n),typeof E=="function")for(n=E.call(n),w=0;!(g=n.next()).done;)g=g.value,E=u+aCe(g,w++),b+=$ie(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 Kre(n,i,s){if(n==null)return n;var u=[],d=0;return $ie(n,u,"","",function(g){return i.call(s,g,d++)}),u}function DCn(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},Bie={transition:null},MCn={ReactCurrentDispatcher:qg,ReactCurrentBatchConfig:Bie,ReactCurrentOwner:NDe};function uBt(){throw Error("act(...) is not supported in production builds of React.")}Os.Children={map:Kre,forEach:function(n,i,s){Kre(n,function(){i.apply(this,arguments)},s)},count:function(n){var i=0;return Kre(n,function(){i++}),i},toArray:function(n){return Kre(n,function(i){return i})||[]},only:function(n){if(!CDe(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Os.Component=LM;Os.Fragment=SCn;Os.Profiler=ACn;Os.PureComponent=xDe;Os.StrictMode=TCn;Os.Suspense=NCn;Os.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MCn;Os.act=uBt;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 u=nBt({},n.props),d=n.key,g=n.ref,b=n._owner;if(i!=null){if(i.ref!==void 0&&(g=i.ref,b=NDe.current),i.key!==void 0&&(d=""+i.key),n.type&&n.type.defaultProps)var w=n.type.defaultProps;for(E in i)oBt.call(i,E)&&!sBt.hasOwnProperty(E)&&(u[E]=i[E]===void 0&&w!==void 0?w[E]:i[E])}var E=arguments.length-2;if(E===1)u.children=s;else if(1<E){w=Array(E);for(var S=0;S<E;S++)w[S]=arguments[S+2];u.children=w}return{$$typeof:bz,type:n.type,key:d,ref:g,props:u,_owner:b}};Os.createContext=function(n){return n={$$typeof:xCn,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:_Cn,_context:n},n.Consumer=n};Os.createElement=aBt;Os.createFactory=function(n){var i=aBt.bind(null,n);return i.type=n,i};Os.createRef=function(){return{current:null}};Os.forwardRef=function(n){return{$$typeof:kCn,render:n}};Os.isValidElement=CDe;Os.lazy=function(n){return{$$typeof:ICn,_payload:{_status:-1,_result:n},_init:DCn}};Os.memo=function(n,i){return{$$typeof:CCn,type:n,compare:i===void 0?null:i}};Os.startTransition=function(n){var i=Bie.transition;Bie.transition={};try{n()}finally{Bie.transition=i}};Os.unstable_act=uBt;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";eBt.exports=Os;var H=eBt.exports;const Hn=TR(H),IDe=vCn({__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 PCn=H,jCn=Symbol.for("react.element"),FCn=Symbol.for("react.fragment"),$Cn=Object.prototype.hasOwnProperty,BCn=PCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,UCn={key:!0,ref:!0,__self:!0,__source:!0};function cBt(n,i,s){var u,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(u in i)$Cn.call(i,u)&&!UCn.hasOwnProperty(u)&&(d[u]=i[u]);if(n&&n.defaultProps)for(u in i=n.defaultProps,i)d[u]===void 0&&(d[u]=i[u]);return{$$typeof:jCn,type:n,key:g,ref:b,props:d,_owner:BCn.current}}Nse.Fragment=FCn;Nse.jsx=cBt;Nse.jsxs=cBt;Q$t.exports=Nse;var I=Q$t.exports,foe={},lBt={exports:{}},Gm={},dBt={exports:{}},fBt={};/**
* @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 u(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,D=!1,L=!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)u(S);else if(xe.startTime<=Ae)u(S),xe.sortIndex=xe.expirationTime,i(E,xe);else break;xe=s(S)}}function G(Ae){if(L=!1,P(Ae),!D)if(s(E)!==null)D=!0,Se(ee);else{var xe=s(S);xe!==null&&De(G,xe.startTime-Ae)}}function ee(Ae,xe){D=!1,L&&(L=!1,$(ie),ie=-1),R=!0;var We=C;try{for(P(xe),A=s(E);A!==null&&(!(A.expirationTime>xe)||Ae&&!ce());){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)&&u(E),P(xe)}else u(E);A=s(E)}if(A!==null)var bt=!0;else{var kt=s(S);kt!==null&&De(G,kt.startTime-xe),bt=!1}return bt}finally{A=null,C=We,R=!1}}var ne=!1,Q=null,ie=-1,he=5,ge=-1;function ce(){return!(n.unstable_now()-ge<he)}function fe(){if(Q!==null){var Ae=n.unstable_now();ge=Ae;var xe=!0;try{xe=Q(!0,Ae)}finally{xe?K():(ne=!1,Q=null)}}else ne=!1}var K;if(typeof j=="function")K=function(){j(fe)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Oe=pe.port2;pe.port1.onmessage=fe,K=function(){Oe.postMessage(null)}}else K=function(){B(fe,0)};function Se(Ae){Q=Ae,ne||(ne=!0,K())}function De(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(){D||R||(D=!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"):he=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)&&(L?($(ie),ie=-1):L=!0,De(G,We-dt))):(Ae.sortIndex=Ue,i(E,Ae),D||R||(D=!0,Se(ee))),Ae},n.unstable_shouldYield=ce,n.unstable_wrapCallback=function(Ae){var xe=C;return function(){var We=C;C=xe;try{return Ae.apply(this,arguments)}finally{C=We}}}})(fBt);dBt.exports=fBt;var HCn=dBt.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 zCn=H,Hm=HCn;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 hBt=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++)hBt.add(i[n])}var gA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c6e=Object.prototype.hasOwnProperty,GCn=/^[: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]*$/,ZDt={},QDt={};function qCn(n){return c6e.call(QDt,n)?!0:c6e.call(ZDt,n)?!1:GCn.test(n)?QDt[n]=!0:(ZDt[n]=!0,!1)}function VCn(n,i,s,u){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return u?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function WCn(n,i,s,u){if(i===null||typeof i>"u"||VCn(n,i,s,u))return!0;if(u)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,u,d,g,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=u,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 RDe=/[\-:]([a-z])/g;function ODe(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(RDe,ODe);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(RDe,ODe);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(RDe,ODe);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 LDe(n,i,s,u){var d=Uh.hasOwnProperty(i)?Uh[i]:null;(d!==null?d.type!==0:u||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(WCn(i,s,d,u)&&(s=null),u||d===null?qCn(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,u=d.attributeNamespace,s===null?n.removeAttribute(i):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,u?n.setAttributeNS(u,i,s):n.setAttribute(i,s))))}var AA=zCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Yre=Symbol.for("react.element"),I5=Symbol.for("react.portal"),R5=Symbol.for("react.fragment"),DDe=Symbol.for("react.strict_mode"),l6e=Symbol.for("react.profiler"),pBt=Symbol.for("react.provider"),gBt=Symbol.for("react.context"),MDe=Symbol.for("react.forward_ref"),d6e=Symbol.for("react.suspense"),f6e=Symbol.for("react.suspense_list"),PDe=Symbol.for("react.memo"),Pk=Symbol.for("react.lazy"),bBt=Symbol.for("react.offscreen"),e5t=Symbol.iterator;function CU(n){return n===null||typeof n!="object"?null:(n=e5t&&n[e5t]||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 u=S}Reflect.construct(n,[],i)}else{try{i.call()}catch(S){u=S}n.call(i.prototype)}else{try{throw Error()}catch(S){u=S}n()}}catch(S){if(S&&u&&typeof S.stack=="string"){for(var d=S.stack.split(`
`),g=u.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 KCn(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 DDe:return"StrictMode";case d6e:return"Suspense";case f6e:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case gBt:return(n.displayName||"Context")+".Consumer";case pBt:return(n._context.displayName||"Context")+".Provider";case MDe:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case PDe: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 YCn(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===DDe?"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 mBt(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function JCn(n){var i=mBt(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),u=""+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){u=""+b,g.call(this,b)}}),Object.defineProperty(n,i,{enumerable:s.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Jre(n){n._valueTracker||(n._valueTracker=JCn(n))}function wBt(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var s=i.getValue(),u="";return n&&(u=mBt(n)?n.checked?"true":"false":n.value),n=u,n!==s?(i.setValue(n),!0):!1}function hoe(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 t5t(n,i){var s=i.defaultValue==null?"":i.defaultValue,u=i.checked!=null?i.checked:i.defaultChecked;s=nN(i.value!=null?i.value:s),n._wrapperState={initialChecked:u,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function yBt(n,i){i=i.checked,i!=null&&LDe(n,"checked",i,!1)}function g6e(n,i){yBt(n,i);var s=nN(i.value),u=i.type;if(s!=null)u==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(u==="submit"||u==="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 n5t(n,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var u=i.type;if(!(u!=="submit"&&u!=="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"||hoe(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,u){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&&u&&(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,u&&(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 r5t(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 vBt(n,i){var s=nN(i.value),u=nN(i.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),i.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),u!=null&&(n.defaultValue=""+u)}function i5t(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function EBt(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"?EBt(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Xre,SBt=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,u,d){MSApp.execUnsafeLocalFunction(function(){return n(i,s,u,d)})}:n}(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(Xre=Xre||document.createElement("div"),Xre.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Xre.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},XCn=["Webkit","ms","Moz","O"];Object.keys(aH).forEach(function(n){XCn.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),aH[i]=aH[n]})});function TBt(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 ABt(n,i){n=n.style;for(var s in i)if(i.hasOwnProperty(s)){var u=s.indexOf("--")===0,d=TBt(s,i[s],u);s==="float"&&(s="cssFloat"),u?n.setProperty(s,d):n[s]=d}}var ZCn=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(ZCn[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 jDe(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 o5t(n){if(n=yz(n)){if(typeof S6e!="function")throw Error(ir(280));var i=n.stateNode;i&&(i=Lse(i),S6e(n.stateNode,n.type,i))}}function _Bt(n){J5?X5?X5.push(n):X5=[n]:J5=n}function xBt(){if(J5){var n=J5,i=X5;if(X5=J5=null,o5t(n),i)for(n=0;n<i.length;n++)o5t(i[n])}}function kBt(n,i){return n(i)}function NBt(){}var dCe=!1;function CBt(n,i,s){if(dCe)return n(i,s);dCe=!0;try{return kBt(n,i,s)}finally{dCe=!1,(J5!==null||X5!==null)&&(NBt(),xBt())}}function NH(n,i){var s=n.stateNode;if(s===null)return null;var u=Lse(s);if(u===null)return null;s=u[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":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;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 QCn(n,i,s,u,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,poe=null,goe=!1,A6e=null,eIn={onError:function(n){uH=!0,poe=n}};function tIn(n,i,s,u,d,g,b,w,E){uH=!1,poe=null,QCn.apply(eIn,arguments)}function nIn(n,i,s,u,d,g,b,w,E){if(tIn.apply(this,arguments),uH){if(uH){var S=poe;uH=!1,poe=null}else throw Error(ir(198));goe||(goe=!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 IBt(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 s5t(n){if(_R(n)!==n)throw Error(ir(188))}function rIn(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,u=i;;){var d=s.return;if(d===null)break;var g=d.alternate;if(g===null){if(u=d.return,u!==null){s=u;continue}break}if(d.child===g.child){for(g=d.child;g;){if(g===s)return s5t(d),n;if(g===u)return s5t(d),i;g=g.sibling}throw Error(ir(188))}if(s.return!==u.return)s=d,u=g;else{for(var b=!1,w=d.child;w;){if(w===s){b=!0,s=d,u=g;break}if(w===u){b=!0,u=d,s=g;break}w=w.sibling}if(!b){for(w=g.child;w;){if(w===s){b=!0,s=g,u=d;break}if(w===u){b=!0,u=g,s=d;break}w=w.sibling}if(!b)throw Error(ir(189))}}if(s.alternate!==u)throw Error(ir(190))}if(s.tag!==3)throw Error(ir(188));return s.stateNode.current===s?n:i}function RBt(n){return n=rIn(n),n!==null?OBt(n):null}function OBt(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=OBt(n);if(i!==null)return i;n=n.sibling}return null}var LBt=Hm.unstable_scheduleCallback,a5t=Hm.unstable_cancelCallback,iIn=Hm.unstable_shouldYield,oIn=Hm.unstable_requestPaint,pd=Hm.unstable_now,sIn=Hm.unstable_getCurrentPriorityLevel,FDe=Hm.unstable_ImmediatePriority,DBt=Hm.unstable_UserBlockingPriority,boe=Hm.unstable_NormalPriority,aIn=Hm.unstable_LowPriority,MBt=Hm.unstable_IdlePriority,Cse=null,P2=null;function uIn(n){if(P2&&typeof P2.onCommitFiberRoot=="function")try{P2.onCommitFiberRoot(Cse,n,void 0,(n.current.flags&128)===128)}catch{}}var Lv=Math.clz32?Math.clz32:dIn,cIn=Math.log,lIn=Math.LN2;function dIn(n){return n>>>=0,n===0?32:31-(cIn(n)/lIn|0)|0}var Zre=64,Qre=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 moe(n,i){var s=n.pendingLanes;if(s===0)return 0;var u=0,d=n.suspendedLanes,g=n.pingedLanes,b=s&268435455;if(b!==0){var w=b&~d;w!==0?u=KU(w):(g&=b,g!==0&&(u=KU(g)))}else b=s&~d,b!==0?u=KU(b):g!==0&&(u=KU(g));if(u===0)return 0;if(i!==0&&i!==u&&!(i&d)&&(d=u&-u,g=i&-i,d>=g||d===16&&(g&4194240)!==0))return i;if(u&4&&(u|=s&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=u;0<i;)s=31-Lv(i),d=1<<s,u|=n[s],i&=~d;return u}function fIn(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 hIn(n,i){for(var s=n.suspendedLanes,u=n.pingedLanes,d=n.expirationTimes,g=n.pendingLanes;0<g;){var b=31-Lv(g),w=1<<b,E=d[b];E===-1?(!(w&s)||w&u)&&(d[b]=fIn(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 PBt(){var n=Zre;return Zre<<=1,!(Zre&4194240)&&(Zre=64),n}function fCe(n){for(var i=[],s=0;31>s;s++)i.push(n);return i}function mz(n,i,s){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Lv(i),n[i]=s}function pIn(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 u=n.eventTimes;for(n=n.expirationTimes;0<s;){var d=31-Lv(s),g=1<<d;i[d]=0,u[d]=-1,n[d]=-1,s&=~g}}function $De(n,i){var s=n.entangledLanes|=i;for(n=n.entanglements;s;){var u=31-Lv(s),d=1<<u;d&i|n[u]&i&&(n[u]|=i),s&=~d}}var cu=0;function jBt(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var FBt,BDe,$Bt,BBt,UBt,x6e=!1,eie=[],Vk=null,Wk=null,Kk=null,CH=new Map,IH=new Map,Fk=[],gIn="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 u5t(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,u,d,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:s,eventSystemFlags:u,nativeEvent:g,targetContainers:[d]},i!==null&&(i=yz(i),i!==null&&BDe(i)),n):(n.eventSystemFlags|=u,i=n.targetContainers,d!==null&&i.indexOf(d)===-1&&i.push(d),n)}function bIn(n,i,s,u,d){switch(i){case"focusin":return Vk=RU(Vk,n,i,s,u,d),!0;case"dragenter":return Wk=RU(Wk,n,i,s,u,d),!0;case"mouseover":return Kk=RU(Kk,n,i,s,u,d),!0;case"pointerover":var g=d.pointerId;return CH.set(g,RU(CH.get(g)||null,n,i,s,u,d)),!0;case"gotpointercapture":return g=d.pointerId,IH.set(g,RU(IH.get(g)||null,n,i,s,u,d)),!0}return!1}function HBt(n){var i=Y4(n.target);if(i!==null){var s=_R(i);if(s!==null){if(i=s.tag,i===13){if(i=IBt(s),i!==null){n.blockedOn=i,UBt(n.priority,function(){$Bt(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 Uie(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 u=new s.constructor(s.type,s);E6e=u,s.target.dispatchEvent(u),E6e=null}else return i=yz(s),i!==null&&BDe(i),n.blockedOn=s,!1;i.shift()}return!0}function c5t(n,i,s){Uie(n)&&s.delete(i)}function mIn(){x6e=!1,Vk!==null&&Uie(Vk)&&(Vk=null),Wk!==null&&Uie(Wk)&&(Wk=null),Kk!==null&&Uie(Kk)&&(Kk=null),CH.forEach(c5t),IH.forEach(c5t)}function OU(n,i){n.blockedOn===i&&(n.blockedOn=null,x6e||(x6e=!0,Hm.unstable_scheduleCallback(Hm.unstable_NormalPriority,mIn)))}function RH(n){function i(d){return OU(d,n)}if(0<eie.length){OU(eie[0],n);for(var s=1;s<eie.length;s++){var u=eie[s];u.blockedOn===n&&(u.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++)u=Fk[s],u.blockedOn===n&&(u.blockedOn=null);for(;0<Fk.length&&(s=Fk[0],s.blockedOn===null);)HBt(s),s.blockedOn===null&&Fk.shift()}var Z5=AA.ReactCurrentBatchConfig,woe=!0;function wIn(n,i,s,u){var d=cu,g=Z5.transition;Z5.transition=null;try{cu=1,UDe(n,i,s,u)}finally{cu=d,Z5.transition=g}}function yIn(n,i,s,u){var d=cu,g=Z5.transition;Z5.transition=null;try{cu=4,UDe(n,i,s,u)}finally{cu=d,Z5.transition=g}}function UDe(n,i,s,u){if(woe){var d=k6e(n,i,s,u);if(d===null)SCe(n,i,u,yoe,s),u5t(n,u);else if(bIn(d,n,i,s,u))u.stopPropagation();else if(u5t(n,u),i&4&&-1<gIn.indexOf(n)){for(;d!==null;){var g=yz(d);if(g!==null&&FBt(g),g=k6e(n,i,s,u),g===null&&SCe(n,i,u,yoe,s),g===d)break;d=g}d!==null&&u.stopPropagation()}else SCe(n,i,u,null,s)}}var yoe=null;function k6e(n,i,s,u){if(yoe=null,n=jDe(u),n=Y4(n),n!==null)if(i=_R(n),i===null)n=null;else if(s=i.tag,s===13){if(n=IBt(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 yoe=n,null}function zBt(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(sIn()){case FDe:return 1;case DBt:return 4;case boe:case aIn:return 16;case MBt:return 536870912;default:return 16}default:return 16}}var zk=null,HDe=null,Hie=null;function GBt(){if(Hie)return Hie;var n,i=HDe,s=i.length,u,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(u=1;u<=b&&i[s-u]===d[g-u];u++);return Hie=d.slice(n,1<u?1-u:void 0)}function zie(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 tie(){return!0}function l5t(){return!1}function qm(n){function i(s,u,d,g,b){this._reactName=s,this._targetInst=d,this.type=u,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)?tie:l5t,this.isPropagationStopped=l5t,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=tie)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=tie)},persist:function(){},isPersistent:tie}),i}var DM={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zDe=qm(DM),wz=fl({},DM,{view:0,detail:0}),vIn=qm(wz),hCe,pCe,LU,Ise=fl({},wz,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:GDe,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!==LU&&(LU&&n.type==="mousemove"?(hCe=n.screenX-LU.screenX,pCe=n.screenY-LU.screenY):pCe=hCe=0,LU=n),hCe)},movementY:function(n){return"movementY"in n?n.movementY:pCe}}),d5t=qm(Ise),EIn=fl({},Ise,{dataTransfer:0}),SIn=qm(EIn),TIn=fl({},wz,{relatedTarget:0}),gCe=qm(TIn),AIn=fl({},DM,{animationName:0,elapsedTime:0,pseudoElement:0}),_In=qm(AIn),xIn=fl({},DM,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),kIn=qm(xIn),NIn=fl({},DM,{data:0}),f5t=qm(NIn),CIn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IIn={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"},RIn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function OIn(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=RIn[n])?!!i[n]:!1}function GDe(){return OIn}var LIn=fl({},wz,{key:function(n){if(n.key){var i=CIn[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=zie(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?IIn[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:GDe,charCode:function(n){return n.type==="keypress"?zie(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?zie(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),DIn=qm(LIn),MIn=fl({},Ise,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),h5t=qm(MIn),PIn=fl({},wz,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:GDe}),jIn=qm(PIn),FIn=fl({},DM,{propertyName:0,elapsedTime:0,pseudoElement:0}),$In=qm(FIn),BIn=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}),UIn=qm(BIn),HIn=[9,13,27,32],qDe=gA&&"CompositionEvent"in window,cH=null;gA&&"documentMode"in document&&(cH=document.documentMode);var zIn=gA&&"TextEvent"in window&&!cH,qBt=gA&&(!qDe||cH&&8<cH&&11>=cH),p5t=" ",g5t=!1;function VBt(n,i){switch(n){case"keyup":return HIn.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function WBt(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var O5=!1;function GIn(n,i){switch(n){case"compositionend":return WBt(i);case"keypress":return i.which!==32?null:(g5t=!0,p5t);case"textInput":return n=i.data,n===p5t&&g5t?null:n;default:return null}}function qIn(n,i){if(O5)return n==="compositionend"||!qDe&&VBt(n,i)?(n=GBt(),Hie=HDe=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 qBt&&i.locale!=="ko"?null:i.data;default:return null}}var VIn={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 b5t(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!VIn[n.type]:i==="textarea"}function KBt(n,i,s,u){_Bt(u),i=voe(i,"onChange"),0<i.length&&(s=new zDe("onChange","change",null,s,u),n.push({event:s,listeners:i}))}var lH=null,OH=null;function WIn(n){oUt(n,0)}function Rse(n){var i=M5(n);if(wBt(i))return n}function KIn(n,i){if(n==="change")return i}var YBt=!1;if(gA){var bCe;if(gA){var mCe="oninput"in document;if(!mCe){var m5t=document.createElement("div");m5t.setAttribute("oninput","return;"),mCe=typeof m5t.oninput=="function"}bCe=mCe}else bCe=!1;YBt=bCe&&(!document.documentMode||9<document.documentMode)}function w5t(){lH&&(lH.detachEvent("onpropertychange",JBt),OH=lH=null)}function JBt(n){if(n.propertyName==="value"&&Rse(OH)){var i=[];KBt(i,OH,n,jDe(n)),CBt(WIn,i)}}function YIn(n,i,s){n==="focusin"?(w5t(),lH=i,OH=s,lH.attachEvent("onpropertychange",JBt)):n==="focusout"&&w5t()}function JIn(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Rse(OH)}function XIn(n,i){if(n==="click")return Rse(i)}function ZIn(n,i){if(n==="input"||n==="change")return Rse(i)}function QIn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var Pv=typeof Object.is=="function"?Object.is:QIn;function LH(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),u=Object.keys(i);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var d=s[u];if(!c6e.call(i,d)||!Pv(n[d],i[d]))return!1}return!0}function y5t(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function v5t(n,i){var s=y5t(n);n=0;for(var u;s;){if(s.nodeType===3){if(u=n+s.textContent.length,n<=i&&u>=i)return{node:s,offset:i-n};n=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=y5t(s)}}function XBt(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?XBt(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function ZBt(){for(var n=window,i=hoe();i instanceof n.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)n=i.contentWindow;else break;i=hoe(n.document)}return i}function VDe(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 e4n(n){var i=ZBt(),s=n.focusedElem,u=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&XBt(s.ownerDocument.documentElement,s)){if(u!==null&&VDe(s)){if(i=u.start,n=u.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(u.start,d);u=u.end===void 0?g:Math.min(u.end,d),!n.extend&&g>u&&(d=u,u=g,g=d),d=v5t(s,g);var b=v5t(s,u);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>u?(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 t4n=gA&&"documentMode"in document&&11>=document.documentMode,L5=null,N6e=null,dH=null,C6e=!1;function E5t(n,i,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;C6e||L5==null||L5!==hoe(u)||(u=L5,"selectionStart"in u&&VDe(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),dH&&LH(dH,u)||(dH=u,u=voe(N6e,"onSelect"),0<u.length&&(i=new zDe("onSelect","select",null,i,s),n.push({event:i,listeners:u}),i.target=L5)))}function nie(n,i){var s={};return s[n.toLowerCase()]=i.toLowerCase(),s["Webkit"+n]="webkit"+i,s["Moz"+n]="moz"+i,s}var D5={animationend:nie("Animation","AnimationEnd"),animationiteration:nie("Animation","AnimationIteration"),animationstart:nie("Animation","AnimationStart"),transitionend:nie("Transition","TransitionEnd")},wCe={},QBt={};gA&&(QBt=document.createElement("div").style,"AnimationEvent"in window||(delete D5.animationend.animation,delete D5.animationiteration.animation,delete D5.animationstart.animation),"TransitionEvent"in window||delete D5.transitionend.transition);function Ose(n){if(wCe[n])return wCe[n];if(!D5[n])return n;var i=D5[n],s;for(s in i)if(i.hasOwnProperty(s)&&s in QBt)return wCe[n]=i[s];return n}var eUt=Ose("animationend"),tUt=Ose("animationiteration"),nUt=Ose("animationstart"),rUt=Ose("transitionend"),iUt=new Map,S5t="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){iUt.set(n,i),AR(i,[n])}for(var yCe=0;yCe<S5t.length;yCe++){var vCe=S5t[yCe],n4n=vCe.toLowerCase(),r4n=vCe[0].toUpperCase()+vCe.slice(1);mN(n4n,"on"+r4n)}mN(eUt,"onAnimationEnd");mN(tUt,"onAnimationIteration");mN(nUt,"onAnimationStart");mN("dblclick","onDoubleClick");mN("focusin","onFocus");mN("focusout","onBlur");mN(rUt,"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(" "),i4n=new Set("cancel close invalid load scroll toggle".split(" ").concat(YU));function T5t(n,i,s){var u=n.type||"unknown-event";n.currentTarget=s,nIn(u,i,void 0,n),n.currentTarget=null}function oUt(n,i){i=(i&4)!==0;for(var s=0;s<n.length;s++){var u=n[s],d=u.event;u=u.listeners;e:{var g=void 0;if(i)for(var b=u.length-1;0<=b;b--){var w=u[b],E=w.instance,S=w.currentTarget;if(w=w.listener,E!==g&&d.isPropagationStopped())break e;T5t(d,w,S),g=E}else for(b=0;b<u.length;b++){if(w=u[b],E=w.instance,S=w.currentTarget,w=w.listener,E!==g&&d.isPropagationStopped())break e;T5t(d,w,S),g=E}}}if(goe)throw n=A6e,goe=!1,A6e=null,n}function lc(n,i){var s=i[D6e];s===void 0&&(s=i[D6e]=new Set);var u=n+"__bubble";s.has(u)||(sUt(i,n,2,!1),s.add(u))}function ECe(n,i,s){var u=0;i&&(u|=4),sUt(s,n,u,i)}var rie="_reactListening"+Math.random().toString(36).slice(2);function DH(n){if(!n[rie]){n[rie]=!0,hBt.forEach(function(s){s!=="selectionchange"&&(i4n.has(s)||ECe(s,!1,n),ECe(s,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[rie]||(i[rie]=!0,ECe("selectionchange",!1,i))}}function sUt(n,i,s,u){switch(zBt(i)){case 1:var d=wIn;break;case 4:d=yIn;break;default:d=UDe}s=d.bind(null,i,s,n),d=void 0,!T6e||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(d=!0),u?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,u,d){var g=u;if(!(i&1)&&!(i&2)&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var w=u.stateNode.containerInfo;if(w===d||w.nodeType===8&&w.parentNode===d)break;if(b===4)for(b=u.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){u=g=b;continue e}w=w.parentNode}}u=u.return}CBt(function(){var S=g,x=jDe(s),A=[];e:{var C=iUt.get(n);if(C!==void 0){var R=zDe,D=n;switch(n){case"keypress":if(zie(s)===0)break e;case"keydown":case"keyup":R=DIn;break;case"focusin":D="focus",R=gCe;break;case"focusout":D="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=d5t;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=SIn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=jIn;break;case eUt:case tUt:case nUt:R=_In;break;case rUt:R=$In;break;case"scroll":R=vIn;break;case"wheel":R=UIn;break;case"copy":case"cut":case"paste":R=kIn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=h5t}var L=(i&4)!==0,B=!L&&n==="scroll",$=L?C!==null?C+"Capture":null:C;L=[];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&&L.push(MH(j,G,P)))),B)break;j=j.return}0<L.length&&(C=new R(C,D,null,s,x),A.push({event:C,listeners:L}))}}if(!(i&7)){e:{if(C=n==="mouseover"||n==="pointerover",R=n==="mouseout"||n==="pointerout",C&&s!==E6e&&(D=s.relatedTarget||s.fromElement)&&(Y4(D)||D[bA]))break e;if((R||C)&&(C=x.window===x?x:(C=x.ownerDocument)?C.defaultView||C.parentWindow:window,R?(D=s.relatedTarget||s.toElement,R=S,D=D?Y4(D):null,D!==null&&(B=_R(D),D!==B||D.tag!==5&&D.tag!==6)&&(D=null)):(R=null,D=S),R!==D)){if(L=d5t,G="onMouseLeave",$="onMouseEnter",j="mouse",(n==="pointerout"||n==="pointerover")&&(L=h5t,G="onPointerLeave",$="onPointerEnter",j="pointer"),B=R==null?C:M5(R),P=D==null?C:M5(D),C=new L(G,j+"leave",R,s,x),C.target=B,C.relatedTarget=P,G=null,Y4(x)===S&&(L=new L($,j+"enter",D,s,x),L.target=P,L.relatedTarget=B,G=L),B=G,R&&D)t:{for(L=R,$=D,j=0,P=L;P;P=g5(P))j++;for(P=0,G=$;G;G=g5(G))P++;for(;0<j-P;)L=g5(L),j--;for(;0<P-j;)$=g5($),P--;for(;j--;){if(L===$||$!==null&&L===$.alternate)break t;L=g5(L),$=g5($)}L=null}else L=null;R!==null&&A5t(A,C,R,L,!1),D!==null&&B!==null&&A5t(A,B,D,L,!0)}}e:{if(C=S?M5(S):window,R=C.nodeName&&C.nodeName.toLowerCase(),R==="select"||R==="input"&&C.type==="file")var ee=KIn;else if(b5t(C))if(YBt)ee=ZIn;else{ee=JIn;var ne=YIn}else(R=C.nodeName)&&R.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(ee=XIn);if(ee&&(ee=ee(n,S))){KBt(A,ee,s,x);break e}ne&&ne(n,C,S),n==="focusout"&&(ne=C._wrapperState)&&ne.controlled&&C.type==="number"&&b6e(C,"number",C.value)}switch(ne=S?M5(S):window,n){case"focusin":(b5t(ne)||ne.contentEditable==="true")&&(L5=ne,N6e=S,dH=null);break;case"focusout":dH=N6e=L5=null;break;case"mousedown":C6e=!0;break;case"contextmenu":case"mouseup":case"dragend":C6e=!1,E5t(A,s,x);break;case"selectionchange":if(t4n)break;case"keydown":case"keyup":E5t(A,s,x)}var Q;if(qDe)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?VBt(n,s)&&(ie="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(ie="onCompositionStart");ie&&(qBt&&s.locale!=="ko"&&(O5||ie!=="onCompositionStart"?ie==="onCompositionEnd"&&O5&&(Q=GBt()):(zk=x,HDe="value"in zk?zk.value:zk.textContent,O5=!0)),ne=voe(S,ie),0<ne.length&&(ie=new f5t(ie,n,null,s,x),A.push({event:ie,listeners:ne}),Q?ie.data=Q:(Q=WBt(s),Q!==null&&(ie.data=Q)))),(Q=zIn?GIn(n,s):qIn(n,s))&&(S=voe(S,"onBeforeInput"),0<S.length&&(x=new f5t("onBeforeInput","beforeinput",null,s,x),A.push({event:x,listeners:S}),x.data=Q))}oUt(A,i)})}function MH(n,i,s){return{instance:n,listener:i,currentTarget:s}}function voe(n,i){for(var s=i+"Capture",u=[];n!==null;){var d=n,g=d.stateNode;d.tag===5&&g!==null&&(d=g,g=NH(n,s),g!=null&&u.unshift(MH(n,g,d)),g=NH(n,i),g!=null&&u.push(MH(n,g,d))),n=n.return}return u}function g5(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function A5t(n,i,s,u,d){for(var g=i._reactName,b=[];s!==null&&s!==u;){var w=s,E=w.alternate,S=w.stateNode;if(E!==null&&E===u)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 o4n=/\r\n?/g,s4n=/\u0000|\uFFFD/g;function _5t(n){return(typeof n=="string"?n:""+n).replace(o4n,`
`).replace(s4n,"")}function iie(n,i,s){if(i=_5t(i),_5t(n)!==i&&s)throw Error(ir(425))}function Eoe(){}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 L6e=typeof setTimeout=="function"?setTimeout:void 0,a4n=typeof clearTimeout=="function"?clearTimeout:void 0,x5t=typeof Promise=="function"?Promise:void 0,u4n=typeof queueMicrotask=="function"?queueMicrotask:typeof x5t<"u"?function(n){return x5t.resolve(null).then(n).catch(c4n)}:L6e;function c4n(n){setTimeout(function(){throw n})}function TCe(n,i){var s=i,u=0;do{var d=s.nextSibling;if(n.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(u===0){n.removeChild(d),RH(i);return}u--}else s!=="$"&&s!=="$?"&&s!=="$!"||u++;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 k5t(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,D6e="__reactEvents$"+MM,l4n="__reactListeners$"+MM,d4n="__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=k5t(n);n!==null;){if(s=n[R2])return s;n=k5t(n)}return i}n=s,s=n.parentNode}return null}function yz(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 Lse(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 u=n.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===i)return u.__reactInternalMemoizedMaskedChildContext;var d={},g;for(g in s)d[g]=i[g];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=d),d}function lb(n){return n=n.childContextTypes,n!=null}function Soe(){dc(cb),dc(Up)}function N5t(n,i,s){if(Up.current!==rN)throw Error(ir(168));Wu(Up,i),Wu(cb,s)}function aUt(n,i,s){var u=n.stateNode;if(i=i.childContextTypes,typeof u.getChildContext!="function")return s;u=u.getChildContext();for(var d in u)if(!(d in i))throw Error(ir(108,YCn(n)||"Unknown",d));return fl({},s,u)}function Toe(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||rN,oR=Up.current,Wu(Up,n),Wu(cb,cb.current),!0}function C5t(n,i,s){var u=n.stateNode;if(!u)throw Error(ir(169));s?(n=aUt(n,i,oR),u.__reactInternalMemoizedMergedChildContext=n,dc(cb),dc(Up),Wu(Up,n)):dc(cb),Wu(cb,s)}var oA=null,Dse=!1,ACe=!1;function uUt(n){oA===null?oA=[n]:oA.push(n)}function f4n(n){Dse=!0,uUt(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 u=s[n];do u=u(!0);while(u!==null)}oA=null,Dse=!1}catch(d){throw oA!==null&&(oA=oA.slice(n+1)),LBt(FDe,yN),d}finally{cu=i,ACe=!1}}return null}var j5=[],F5=0,Aoe=null,_oe=0,bw=[],mw=0,sR=null,uA=1,cA="";function q4(n,i){j5[F5++]=_oe,j5[F5++]=Aoe,Aoe=n,_oe=i}function cUt(n,i,s){bw[mw++]=uA,bw[mw++]=cA,bw[mw++]=sR,sR=n;var u=uA;n=cA;var d=32-Lv(u)-1;u&=~(1<<d),s+=1;var g=32-Lv(i)+d;if(30<g){var b=d-d%5;g=(u&(1<<b)-1).toString(32),u>>=b,d-=b,uA=1<<32-Lv(i)+d|s<<d|u,cA=g+n}else uA=1<<g|s<<d|u,cA=n}function WDe(n){n.return!==null&&(q4(n,1),cUt(n,1,0))}function KDe(n){for(;n===Aoe;)Aoe=j5[--F5],j5[F5]=null,_oe=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,Lc=!1,Cv=null;function lUt(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 I5t(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(Lc){var i=Fm;if(i){var s=i;if(!I5t(n,i)){if(P6e(n))throw Error(ir(418));i=Yk(s.nextSibling);var u=Bm;i&&I5t(n,i)?lUt(u,s):(n.flags=n.flags&-4097|2,Lc=!1,Bm=n)}}else{if(P6e(n))throw Error(ir(418));n.flags=n.flags&-4097|2,Lc=!1,Bm=n}}}function R5t(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Bm=n}function oie(n){if(n!==Bm)return!1;if(!Lc)return R5t(n),Lc=!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 dUt(),Error(ir(418));for(;i;)lUt(n,i),i=Yk(i.nextSibling)}if(R5t(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 dUt(){for(var n=Fm;n;)n=Yk(n.nextSibling)}function hM(){Fm=Bm=null,Lc=!1}function YDe(n){Cv===null?Cv=[n]:Cv.push(n)}var h4n=AA.ReactCurrentBatchConfig;function DU(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 u=s.stateNode}if(!u)throw Error(ir(147,n));var d=u,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 sie(n,i){throw n=Object.prototype.toString.call(i),Error(ir(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function O5t(n){var i=n._init;return i(n._payload)}function fUt(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 u($,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&&O5t(ee)===j.type)?(G=d(j,P.props),G.ref=DU($,j,P),G.return=$,G):(G=Jie(P.type,P.key,P.props,null,$.mode,G),G.ref=DU($,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 Yre:return P=Jie(j.type,j.key,j.props,null,$.mode,P),P.ref=DU($,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;sie($,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 Yre: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);sie($,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 Yre: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 ne=G._init;return R($,j,P,ne(G._payload),ee)}if(WU(G)||CU(G))return $=$.get(P)||null,x(j,$,G,ee,null);sie(j,G)}return null}function D($,j,P,G){for(var ee=null,ne=null,Q=j,ie=j=0,he=null;Q!==null&&ie<P.length;ie++){Q.index>ie?(he=Q,Q=null):he=Q.sibling;var ge=C($,Q,P[ie],G);if(ge===null){Q===null&&(Q=he);break}n&&Q&&ge.alternate===null&&i($,Q),j=g(ge,j,ie),ne===null?ee=ge:ne.sibling=ge,ne=ge,Q=he}if(ie===P.length)return s($,Q),Lc&&q4($,ie),ee;if(Q===null){for(;ie<P.length;ie++)Q=A($,P[ie],G),Q!==null&&(j=g(Q,j,ie),ne===null?ee=Q:ne.sibling=Q,ne=Q);return Lc&&q4($,ie),ee}for(Q=u($,Q);ie<P.length;ie++)he=R(Q,$,ie,P[ie],G),he!==null&&(n&&he.alternate!==null&&Q.delete(he.key===null?ie:he.key),j=g(he,j,ie),ne===null?ee=he:ne.sibling=he,ne=he);return n&&Q.forEach(function(ce){return i($,ce)}),Lc&&q4($,ie),ee}function L($,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 ne=ee=null,Q=j,ie=j=0,he=null,ge=P.next();Q!==null&&!ge.done;ie++,ge=P.next()){Q.index>ie?(he=Q,Q=null):he=Q.sibling;var ce=C($,Q,ge.value,G);if(ce===null){Q===null&&(Q=he);break}n&&Q&&ce.alternate===null&&i($,Q),j=g(ce,j,ie),ne===null?ee=ce:ne.sibling=ce,ne=ce,Q=he}if(ge.done)return s($,Q),Lc&&q4($,ie),ee;if(Q===null){for(;!ge.done;ie++,ge=P.next())ge=A($,ge.value,G),ge!==null&&(j=g(ge,j,ie),ne===null?ee=ge:ne.sibling=ge,ne=ge);return Lc&&q4($,ie),ee}for(Q=u($,Q);!ge.done;ie++,ge=P.next())ge=R(Q,$,ie,ge.value,G),ge!==null&&(n&&ge.alternate!==null&&Q.delete(ge.key===null?ie:ge.key),j=g(ge,j,ie),ne===null?ee=ge:ne.sibling=ge,ne=ge);return n&&Q.forEach(function(fe){return i($,fe)}),Lc&&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 Yre:e:{for(var ee=P.key,ne=j;ne!==null;){if(ne.key===ee){if(ee=P.type,ee===R5){if(ne.tag===7){s($,ne.sibling),j=d(ne,P.props.children),j.return=$,$=j;break e}}else if(ne.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Pk&&O5t(ee)===ne.type){s($,ne.sibling),j=d(ne,P.props),j.ref=DU($,ne,P),j.return=$,$=j;break e}s($,ne);break}else i($,ne);ne=ne.sibling}P.type===R5?(j=eR(P.props.children,$.mode,G,P.key),j.return=$,$=j):(G=Jie(P.type,P.key,P.props,null,$.mode,G),G.ref=DU($,j,P),G.return=$,$=G)}return b($);case I5:e:{for(ne=P.key;j!==null;){if(j.key===ne)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 ne=P._init,B($,j,ne(P._payload),G)}if(WU(P))return D($,j,P,G);if(CU(P))return L($,j,P,G);sie($,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=fUt(!0),hUt=fUt(!1),xoe=wN(null),koe=null,$5=null,JDe=null;function XDe(){JDe=$5=koe=null}function ZDe(n){var i=xoe.current;dc(xoe),n._currentValue=i}function F6e(n,i,s){for(;n!==null;){var u=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,u!==null&&(u.childLanes|=i)):u!==null&&(u.childLanes&i)!==i&&(u.childLanes|=i),n===s)break;n=n.return}}function Q5(n,i){koe=n,JDe=$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(JDe!==n)if(n={context:n,memoizedValue:i,next:null},$5===null){if(koe===null)throw Error(ir(308));$5=n,koe.dependencies={lanes:0,firstContext:n}}else $5=$5.next=n;return i}var J4=null;function QDe(n){J4===null?J4=[n]:J4.push(n)}function pUt(n,i,s,u){var d=i.interleaved;return d===null?(s.next=s,QDe(i)):(s.next=d.next,d.next=s),i.interleaved=s,mA(n,u)}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 gUt(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 u=n.updateQueue;if(u===null)return null;if(u=u.shared,ga&2){var d=u.pending;return d===null?i.next=i:(i.next=d.next,d.next=i),u.pending=i,mA(n,s)}return d=u.interleaved,d===null?(i.next=i,QDe(u)):(i.next=d.next,d.next=i),u.interleaved=i,mA(n,s)}function Gie(n,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var u=i.lanes;u&=n.pendingLanes,s|=u,i.lanes=s,$De(n,s)}}function L5t(n,i){var s=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,s===u)){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:u.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:u.shared,effects:u.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=i:n.next=i,s.lastBaseUpdate=i}function Noe(n,i,s,u){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((u&C)===C){x!==null&&(x=x.next={eventTime:R,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var D=n,L=w;switch(C=i,R=s,L.tag){case 1:if(D=L.payload,typeof D=="function"){A=D.call(R,A,C);break e}A=D;break e;case 3:D.flags=D.flags&-65537|128;case 0:if(D=L.payload,C=typeof D=="function"?D.call(R,A,C):D,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 u=n[i],d=u.callback;if(d!==null){if(u.callback=null,u=s,typeof d!="function")throw Error(ir(191,d));d.call(u)}}}var vz={},j2=wN(vz),jH=wN(vz),FH=wN(vz);function X4(n){if(n===vz)throw Error(ir(174));return n}function t5e(n,i){switch(Wu(FH,i),Wu(jH,n),Wu(j2,vz),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 bUt(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 Coe(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 qie=AA.ReactCurrentDispatcher,xCe=AA.ReactCurrentBatchConfig,aR=0,dl=null,wf=null,th=null,Ioe=!1,fH=!1,$H=0,p4n=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,u,d,g){if(aR=g,dl=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,qie.current=n===null||n.memoizedState===null?w4n:y4n,n=s(u,d),fH){g=0;do{if(fH=!1,$H=0,25<=g)throw Error(ir(301));g+=1,th=wf=null,i.updateQueue=null,qie.current=v4n,n=s(u,d)}while(fH)}if(qie.current=Roe,i=wf!==null&&wf.next!==null,aR=0,th=wf=dl=null,Ioe=!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 u=wf,d=u.baseQueue,g=s.pending;if(g!==null){if(d!==null){var b=d.next;d.next=g.next,g.next=b}u.baseQueue=d=g,s.pending=null}if(d!==null){g=d.next,u=u.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}),u=S.hasEagerState?S.eagerState:n(u,S.action);else{var A={lane:x,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null};E===null?(w=E=A,b=u):E=E.next=A,dl.lanes|=x,uR|=x}S=S.next}while(S!==null&&S!==g);E===null?b=u:E.next=w,Pv(u,i.memoizedState)||(sb=!0),i.memoizedState=u,i.baseState=b,i.baseQueue=E,s.lastRenderedState=u}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 u=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,u]}function mUt(){}function wUt(n,i){var s=dl,u=Aw(),d=i(),g=!Pv(u.memoizedState,d);if(g&&(u.memoizedState=d,sb=!0),u=u.queue,a5e(EUt.bind(null,s,u,n),[n]),u.getSnapshot!==i||g||th!==null&&th.memoizedState.tag&1){if(s.flags|=2048,UH(9,vUt.bind(null,s,u,d,i),void 0,null),rh===null)throw Error(ir(349));aR&30||yUt(s,i,d)}return d}function yUt(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 vUt(n,i,s,u){i.value=s,i.getSnapshot=u,SUt(i)&&TUt(n)}function EUt(n,i,s){return s(function(){SUt(i)&&TUt(n)})}function SUt(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!Pv(n,s)}catch{return!0}}function TUt(n){var i=mA(n,1);i!==null&&Dv(i,n,1,-1)}function M5t(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=m4n.bind(null,dl,n),[i.memoizedState,n]}function UH(n,i,s,u){return n={tag:n,create:i,destroy:s,deps:u,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:(u=s.next,s.next=n,n.next=u,i.lastEffect=n)),n}function AUt(){return Aw().memoizedState}function Vie(n,i,s,u){var d=x2();dl.flags|=n,d.memoizedState=UH(1|i,s,void 0,u===void 0?null:u)}function Mse(n,i,s,u){var d=Aw();u=u===void 0?null:u;var g=void 0;if(wf!==null){var b=wf.memoizedState;if(g=b.destroy,u!==null&&i5e(u,b.deps)){d.memoizedState=UH(i,s,g,u);return}}dl.flags|=n,d.memoizedState=UH(1|i,s,g,u)}function P5t(n,i){return Vie(8390656,8,n,i)}function a5e(n,i){return Mse(2048,8,n,i)}function _Ut(n,i){return Mse(4,2,n,i)}function xUt(n,i){return Mse(4,4,n,i)}function kUt(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 NUt(n,i,s){return s=s!=null?s.concat([n]):null,Mse(4,4,kUt.bind(null,i,n),s)}function u5e(){}function CUt(n,i){var s=Aw();i=i===void 0?null:i;var u=s.memoizedState;return u!==null&&i!==null&&i5e(i,u[1])?u[0]:(s.memoizedState=[n,i],n)}function IUt(n,i){var s=Aw();i=i===void 0?null:i;var u=s.memoizedState;return u!==null&&i!==null&&i5e(i,u[1])?u[0]:(n=n(),s.memoizedState=[n,i],n)}function RUt(n,i,s){return aR&21?(Pv(s,i)||(s=PBt(),dl.lanes|=s,uR|=s,n.baseState=!0),i):(n.baseState&&(n.baseState=!1,sb=!0),n.memoizedState=s)}function g4n(n,i){var s=cu;cu=s!==0&&4>s?s:4,n(!0);var u=xCe.transition;xCe.transition={};try{n(!1),i()}finally{cu=s,xCe.transition=u}}function OUt(){return Aw().memoizedState}function b4n(n,i,s){var u=Zk(n);if(s={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null},LUt(n))DUt(i,s);else if(s=pUt(n,i,s,u),s!==null){var d=Hg();Dv(s,n,u,d),MUt(s,i,u)}}function m4n(n,i,s){var u=Zk(n),d={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(LUt(n))DUt(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,QDe(i)):(d.next=E.next,E.next=d),i.interleaved=d;return}}catch{}finally{}s=pUt(n,i,d,u),s!==null&&(d=Hg(),Dv(s,n,u,d),MUt(s,i,u))}}function LUt(n){var i=n.alternate;return n===dl||i!==null&&i===dl}function DUt(n,i){fH=Ioe=!0;var s=n.pending;s===null?i.next=i:(i.next=s.next,s.next=i),n.pending=i}function MUt(n,i,s){if(s&4194240){var u=i.lanes;u&=n.pendingLanes,s|=u,i.lanes=s,$De(n,s)}}var Roe={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},w4n={readContext:Tw,useCallback:function(n,i){return x2().memoizedState=[n,i===void 0?null:i],n},useContext:Tw,useEffect:P5t,useImperativeHandle:function(n,i,s){return s=s!=null?s.concat([n]):null,Vie(4194308,4,kUt.bind(null,i,n),s)},useLayoutEffect:function(n,i){return Vie(4194308,4,n,i)},useInsertionEffect:function(n,i){return Vie(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 u=x2();return i=s!==void 0?s(i):i,u.memoizedState=u.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},u.queue=n,n=n.dispatch=b4n.bind(null,dl,n),[u.memoizedState,n]},useRef:function(n){var i=x2();return n={current:n},i.memoizedState=n},useState:M5t,useDebugValue:u5e,useDeferredValue:function(n){return x2().memoizedState=n},useTransition:function(){var n=M5t(!1),i=n[0];return n=g4n.bind(null,n[1]),x2().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,s){var u=dl,d=x2();if(Lc){if(s===void 0)throw Error(ir(407));s=s()}else{if(s=i(),rh===null)throw Error(ir(349));aR&30||yUt(u,i,s)}d.memoizedState=s;var g={value:s,getSnapshot:i};return d.queue=g,P5t(EUt.bind(null,u,g,n),[n]),u.flags|=2048,UH(9,vUt.bind(null,u,g,s,i),void 0,null),s},useId:function(){var n=x2(),i=rh.identifierPrefix;if(Lc){var s=cA,u=uA;s=(u&~(1<<32-Lv(u)-1)).toString(32)+s,i=":"+i+"R"+s,s=$H++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=p4n++,i=":"+i+"r"+s.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},y4n={readContext:Tw,useCallback:CUt,useContext:Tw,useEffect:a5e,useImperativeHandle:NUt,useInsertionEffect:_Ut,useLayoutEffect:xUt,useMemo:IUt,useReducer:kCe,useRef:AUt,useState:function(){return kCe(BH)},useDebugValue:u5e,useDeferredValue:function(n){var i=Aw();return RUt(i,wf.memoizedState,n)},useTransition:function(){var n=kCe(BH)[0],i=Aw().memoizedState;return[n,i]},useMutableSource:mUt,useSyncExternalStore:wUt,useId:OUt,unstable_isNewReconciler:!1},v4n={readContext:Tw,useCallback:CUt,useContext:Tw,useEffect:a5e,useImperativeHandle:NUt,useInsertionEffect:_Ut,useLayoutEffect:xUt,useMemo:IUt,useReducer:NCe,useRef:AUt,useState:function(){return NCe(BH)},useDebugValue:u5e,useDeferredValue:function(n){var i=Aw();return wf===null?i.memoizedState=n:RUt(i,wf.memoizedState,n)},useTransition:function(){var n=NCe(BH)[0],i=Aw().memoizedState;return[n,i]},useMutableSource:mUt,useSyncExternalStore:wUt,useId:OUt,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,u){i=n.memoizedState,s=s(u,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 u=Hg(),d=Zk(n),g=hA(u,d);g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Dv(i,n,d,u),Gie(i,n,d))},enqueueReplaceState:function(n,i,s){n=n._reactInternals;var u=Hg(),d=Zk(n),g=hA(u,d);g.tag=1,g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Dv(i,n,d,u),Gie(i,n,d))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var s=Hg(),u=Zk(n),d=hA(s,u);d.tag=2,i!=null&&(d.callback=i),i=Jk(n,d,u),i!==null&&(Dv(i,n,u,s),Gie(i,n,u))}};function j5t(n,i,s,u,d,g,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,g,b):i.prototype&&i.prototype.isPureReactComponent?!LH(s,u)||!LH(d,g):!0}function PUt(n,i,s){var u=!1,d=rN,g=i.contextType;return typeof g=="object"&&g!==null?g=Tw(g):(d=lb(i)?oR:Up.current,u=i.contextTypes,g=(u=u!=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,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=d,n.__reactInternalMemoizedMaskedChildContext=g),i}function F5t(n,i,s,u){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,u),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,u),i.state!==n&&Pse.enqueueReplaceState(i,i.state,null)}function B6e(n,i,s,u){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),Noe(n,s,d,u),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308)}function bM(n,i){try{var s="",u=i;do s+=KCn(u),u=u.return;while(u);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 E4n=typeof WeakMap=="function"?WeakMap:Map;function jUt(n,i,s){s=hA(-1,s),s.tag=3,s.payload={element:null};var u=i.value;return s.callback=function(){Loe||(Loe=!0,X6e=u),U6e(n,i)},s}function FUt(n,i,s){s=hA(-1,s),s.tag=3;var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var d=i.value;s.payload=function(){return u(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 u!="function"&&(Xk===null?Xk=new Set([this]):Xk.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})}),s}function $5t(n,i,s){var u=n.pingCache;if(u===null){u=n.pingCache=new E4n;var d=new Set;u.set(i,d)}else d=u.get(i),d===void 0&&(d=new Set,u.set(i,d));d.has(s)||(d.add(s),n=M4n.bind(null,n,i,s),i.then(n,n))}function B5t(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 U5t(n,i,s,u,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 S4n=AA.ReactCurrentOwner,sb=!1;function Bg(n,i,s,u){i.child=n===null?hUt(i,null,s,u):pM(i,n.child,s,u)}function H5t(n,i,s,u,d){s=s.render;var g=i.ref;return Q5(i,d),u=o5e(n,i,s,u,g,d),s=s5e(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Lc&&s&&WDe(i),i.flags|=1,Bg(n,i,u,d),i.child)}function z5t(n,i,s,u,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,$Ut(n,i,g,u,d)):(n=Jie(s.type,null,u,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:LH,s(b,u)&&n.ref===i.ref)return wA(n,i,d)}return i.flags|=1,n=Qk(g,u),n.ref=i.ref,n.return=i,i.child=n}function $Ut(n,i,s,u,d){if(n!==null){var g=n.memoizedProps;if(LH(g,u)&&n.ref===i.ref)if(sb=!1,i.pendingProps=u=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,u,d)}function BUt(n,i,s){var u=i.pendingProps,d=u.children,g=n!==null?n.memoizedState:null;if(u.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Wu(U5,Dm),Dm|=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,Dm),Dm|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=g!==null?g.baseLanes:s,Wu(U5,Dm),Dm|=u}else g!==null?(u=g.baseLanes|s,i.memoizedState=null):u=s,Wu(U5,Dm),Dm|=u;return Bg(n,i,d,s),i.child}function UUt(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,u,d){var g=lb(s)?oR:Up.current;return g=fM(i,g),Q5(i,d),s=o5e(n,i,s,u,g,d),u=s5e(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Lc&&u&&WDe(i),i.flags|=1,Bg(n,i,s,d),i.child)}function G5t(n,i,s,u,d){if(lb(s)){var g=!0;Toe(i)}else g=!1;if(Q5(i,d),i.stateNode===null)Wie(n,i),PUt(i,s,u),B6e(i,s,u,d),u=!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!==u||E!==S)&&F5t(i,b,u,S),jk=!1;var C=i.memoizedState;b.state=C,Noe(i,u,b,d),E=i.memoizedState,w!==u||C!==E||cb.current||jk?(typeof x=="function"&&($6e(i,s,x,u),E=i.memoizedState),(w=jk||j5t(i,s,w,u,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=u,i.memoizedState=E),b.props=u,b.state=E,b.context=S,u=w):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),u=!1)}else{b=i.stateNode,gUt(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)&&F5t(i,b,u,E),jk=!1,C=i.memoizedState,b.state=C,Noe(i,u,b,d);var D=i.memoizedState;w!==A||C!==D||cb.current||jk?(typeof R=="function"&&($6e(i,s,R,u),D=i.memoizedState),(S=jk||j5t(i,s,S,u,C,D,E)||!1)?(x||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(u,D,E),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(u,D,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=u,i.memoizedState=D),b.props=u,b.state=D,b.context=E,u=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),u=!1)}return z6e(n,i,s,u,g,d)}function z6e(n,i,s,u,d,g){UUt(n,i);var b=(i.flags&128)!==0;if(!u&&!b)return d&&C5t(i,s,!1),wA(n,i,g);u=i.stateNode,S4n.current=i;var w=b&&typeof s.getDerivedStateFromError!="function"?null:u.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=u.state,d&&C5t(i,s,!0),i.child}function HUt(n){var i=n.stateNode;i.pendingContext?N5t(n,i.pendingContext,i.pendingContext!==i.context):i.context&&N5t(n,i.context,!1),t5e(n,i.containerInfo)}function q5t(n,i,s,u,d){return hM(),YDe(d),i.flags|=256,Bg(n,i,s,u),i.child}var G6e={dehydrated:null,treeContext:null,retryLane:0};function q6e(n){return{baseLanes:n,cachePool:null,transitions:null}}function zUt(n,i,s){var u=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=u.children,n=u.fallback,g?(u=i.mode,g=i.child,b={mode:"hidden",children:b},!(u&1)&&g!==null?(g.childLanes=0,g.pendingProps=b):g=$se(b,u,0,null),n=eR(n,u,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 T4n(n,i,b,u,w,d,s);if(g){g=u.fallback,b=i.mode,d=n.child,w=d.sibling;var E={mode:"hidden",children:u.children};return!(b&1)&&i.child!==d?(u=i.child,u.childLanes=0,u.pendingProps=E,i.deletions=null):(u=Qk(d,E),u.subtreeFlags=d.subtreeFlags&14680064),w!==null?g=Qk(w,g):(g=eR(g,b,s,null),g.flags|=2),g.return=i,u.return=i,u.sibling=g,i.child=u,u=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,u}return g=n.child,n=g.sibling,u=Qk(g,{mode:"visible",children:u.children}),!(i.mode&1)&&(u.lanes=s),u.return=i,u.sibling=null,n!==null&&(s=i.deletions,s===null?(i.deletions=[n],i.flags|=16):s.push(n)),i.child=u,i.memoizedState=null,u}function c5e(n,i){return i=$se({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function aie(n,i,s,u){return u!==null&&YDe(u),pM(i,n.child,null,s),n=c5e(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function T4n(n,i,s,u,d,g,b){if(s)return i.flags&256?(i.flags&=-257,u=CCe(Error(ir(422))),aie(n,i,b,u)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(g=u.fallback,d=i.mode,u=$se({mode:"visible",children:u.children},d,0,null),g=eR(g,d,b,null),g.flags|=2,u.return=i,g.return=i,u.sibling=g,i.child=u,i.mode&1&&pM(i,n.child,null,b),i.child.memoizedState=q6e(b),i.memoizedState=G6e,g);if(!(i.mode&1))return aie(n,i,b,null);if(d.data==="$!"){if(u=d.nextSibling&&d.nextSibling.dataset,u)var w=u.dgst;return u=w,g=Error(ir(419)),u=CCe(g,u,void 0),aie(n,i,b,u)}if(w=(b&n.childLanes)!==0,sb||w){if(u=rh,u!==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&(u.suspendedLanes|b)?0:d,d!==0&&d!==g.retryLane&&(g.retryLane=d,mA(n,d),Dv(u,n,d,-1))}return g5e(),u=CCe(Error(ir(421))),aie(n,i,b,u)}return d.data==="$?"?(i.flags|=128,i.child=n.child,i=P4n.bind(null,n),d._reactRetry=i,null):(n=g.treeContext,Fm=Yk(d.nextSibling),Bm=i,Lc=!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,u.children),i.flags|=4096,i)}function V5t(n,i,s){n.lanes|=i;var u=n.alternate;u!==null&&(u.lanes|=i),F6e(n.return,i,s)}function ICe(n,i,s,u,d){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:d}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=s,g.tailMode=d)}function GUt(n,i,s){var u=i.pendingProps,d=u.revealOrder,g=u.tail;if(Bg(n,i,u.children,s),u=cl.current,u&2)u=u&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&&V5t(n,s,i);else if(n.tag===19)V5t(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}u&=1}if(Wu(cl,u),!(i.mode&1))i.memoizedState=null;else switch(d){case"forwards":for(s=i.child,d=null;s!==null;)n=s.alternate,n!==null&&Coe(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&&Coe(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 Wie(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 A4n(n,i,s){switch(i.tag){case 3:HUt(i),hM();break;case 5:bUt(i);break;case 1:lb(i.type)&&Toe(i);break;case 4:t5e(i,i.stateNode.containerInfo);break;case 10:var u=i.type._context,d=i.memoizedProps.value;Wu(xoe,u._currentValue),u._currentValue=d;break;case 13:if(u=i.memoizedState,u!==null)return u.dehydrated!==null?(Wu(cl,cl.current&1),i.flags|=128,null):s&i.child.childLanes?zUt(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(u=(s&i.childLanes)!==0,n.flags&128){if(u)return GUt(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),u)break;return null;case 22:case 23:return i.lanes=0,BUt(n,i,s)}return wA(n,i,s)}var qUt,V6e,VUt,WUt;qUt=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(){};VUt=function(n,i,s,u){var d=n.memoizedProps;if(d!==u){n=i.stateNode,X4(j2.current);var g=null;switch(s){case"input":d=p6e(n,d),u=p6e(n,u),g=[];break;case"select":d=fl({},d,{value:void 0}),u=fl({},u,{value:void 0}),g=[];break;case"textarea":d=m6e(n,d),u=m6e(n,u),g=[];break;default:typeof d.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=Eoe)}y6e(s,u);var b;s=null;for(S in d)if(!u.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 u){var E=u[S];if(w=d!=null?d[S]:void 0,u.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)}};WUt=function(n,i,s,u){s!==u&&(i.flags|=4)};function MU(n,i){if(!Lc)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 u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function jp(n){var i=n.alternate!==null&&n.alternate.child===n.child,s=0,u=0;if(i)for(var d=n.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags&14680064,u|=d.flags&14680064,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=u,n.childLanes=s,i}function _4n(n,i,s){var u=i.pendingProps;switch(KDe(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)&&Soe(),jp(i),null;case 3:return u=i.stateNode,gM(),dc(cb),dc(Up),r5e(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(oie(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Cv!==null&&(eLe(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)VUt(n,i,s,u,d),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!u){if(i.stateNode===null)throw Error(ir(166));return jp(i),null}if(n=X4(j2.current),oie(i)){u=i.stateNode,s=i.type;var g=i.memoizedProps;switch(u[R2]=i,u[PH]=g,n=(i.mode&1)!==0,s){case"dialog":lc("cancel",u),lc("close",u);break;case"iframe":case"object":case"embed":lc("load",u);break;case"video":case"audio":for(d=0;d<YU.length;d++)lc(YU[d],u);break;case"source":lc("error",u);break;case"img":case"image":case"link":lc("error",u),lc("load",u);break;case"details":lc("toggle",u);break;case"input":t5t(u,g),lc("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!g.multiple},lc("invalid",u);break;case"textarea":r5t(u,g),lc("invalid",u)}y6e(s,g),d=null;for(var b in g)if(g.hasOwnProperty(b)){var w=g[b];b==="children"?typeof w=="string"?u.textContent!==w&&(g.suppressHydrationWarning!==!0&&iie(u.textContent,w,n),d=["children",w]):typeof w=="number"&&u.textContent!==""+w&&(g.suppressHydrationWarning!==!0&&iie(u.textContent,w,n),d=["children",""+w]):xH.hasOwnProperty(b)&&w!=null&&b==="onScroll"&&lc("scroll",u)}switch(s){case"input":Jre(u),n5t(u,g,!0);break;case"textarea":Jre(u),i5t(u);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(u.onclick=Eoe)}u=d,i.updateQueue=u,u!==null&&(i.flags|=4)}else{b=d.nodeType===9?d:d.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=EBt(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=b.createElement(s,{is:u.is}):(n=b.createElement(s),s==="select"&&(b=n,u.multiple?b.multiple=!0:u.size&&(b.size=u.size))):n=b.createElementNS(n,s),n[R2]=i,n[PH]=u,qUt(n,i,!1,!1),i.stateNode=n;e:{switch(b=v6e(s,u),s){case"dialog":lc("cancel",n),lc("close",n),d=u;break;case"iframe":case"object":case"embed":lc("load",n),d=u;break;case"video":case"audio":for(d=0;d<YU.length;d++)lc(YU[d],n);d=u;break;case"source":lc("error",n),d=u;break;case"img":case"image":case"link":lc("error",n),lc("load",n),d=u;break;case"details":lc("toggle",n),d=u;break;case"input":t5t(n,u),d=p6e(n,u),lc("invalid",n);break;case"option":d=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},d=fl({},u,{value:void 0}),lc("invalid",n);break;case"textarea":r5t(n,u),d=m6e(n,u),lc("invalid",n);break;default:d=u}y6e(s,d),w=d;for(g in w)if(w.hasOwnProperty(g)){var E=w[g];g==="style"?ABt(n,E):g==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&SBt(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&&LDe(n,g,E,b))}switch(s){case"input":Jre(n),n5t(n,u,!1);break;case"textarea":Jre(n),i5t(n);break;case"option":u.value!=null&&n.setAttribute("value",""+nN(u.value));break;case"select":n.multiple=!!u.multiple,g=u.value,g!=null?Y5(n,!!u.multiple,g,!1):u.defaultValue!=null&&Y5(n,!!u.multiple,u.defaultValue,!0);break;default:typeof d.onClick=="function"&&(n.onclick=Eoe)}switch(s){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return jp(i),null;case 6:if(n&&i.stateNode!=null)WUt(n,i,n.memoizedProps,u);else{if(typeof u!="string"&&i.stateNode===null)throw Error(ir(166));if(s=X4(FH.current),X4(j2.current),oie(i)){if(u=i.stateNode,s=i.memoizedProps,u[R2]=i,(g=u.nodeValue!==s)&&(n=Bm,n!==null))switch(n.tag){case 3:iie(u.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&iie(u.nodeValue,s,(n.mode&1)!==0)}g&&(i.flags|=4)}else u=(s.nodeType===9?s:s.ownerDocument).createTextNode(u),u[R2]=i,i.stateNode=u}return jp(i),null;case 13:if(dc(cl),u=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Lc&&Fm!==null&&i.mode&1&&!(i.flags&128))dUt(),hM(),i.flags|=98560,g=!1;else if(g=oie(i),u!==null&&u.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&&(eLe(Cv),Cv=null),g=!0;if(!g)return i.flags&65536?i:null}return i.flags&128?(i.lanes=s,i):(u=u!==null,u!==(n!==null&&n.memoizedState!==null)&&u&&(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&&DH(i.stateNode.containerInfo),jp(i),null;case 10:return ZDe(i.type._context),jp(i),null;case 17:return lb(i.type)&&Soe(),jp(i),null;case 19:if(dc(cl),g=i.memoizedState,g===null)return jp(i),null;if(u=(i.flags&128)!==0,b=g.rendering,b===null)if(u)MU(g,!1);else{if(Sf!==0||n!==null&&n.flags&128)for(n=i.child;n!==null;){if(b=Coe(n),b!==null){for(i.flags|=128,MU(g,!1),u=b.updateQueue,u!==null&&(i.updateQueue=u,i.flags|=4),i.subtreeFlags=0,u=s,s=i.child;s!==null;)g=s,n=u,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,u=!0,MU(g,!1),i.lanes=4194304)}else{if(!u)if(n=Coe(b),n!==null){if(i.flags|=128,u=!0,s=n.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),MU(g,!0),g.tail===null&&g.tailMode==="hidden"&&!b.alternate&&!Lc)return jp(i),null}else 2*pd()-g.renderingStartTime>mM&&s!==1073741824&&(i.flags|=128,u=!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,u?s&1|2:s&1),i):(jp(i),null);case 22:case 23:return p5e(),u=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(i.flags|=8192),u&&i.mode&1?Dm&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 x4n(n,i){switch(KDe(i),i.tag){case 1:return lb(i.type)&&Soe(),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 ZDe(i.type._context),null;case 22:case 23:return p5e(),null;case 24:return null;default:return null}}var uie=!1,Fp=!1,k4n=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(u){jl(n,i,u)}else s.current=null}function W6e(n,i,s){try{s()}catch(u){jl(n,i,u)}}var W5t=!1;function N4n(n,i){if(I6e=woe,n=ZBt(),VDe(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var d=u.anchorOffset,g=u.focusNode;u=u.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||u!==0&&A.nodeType!==3||(E=b+u),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===u&&(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},woe=!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 D=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(D!==null){var L=D.memoizedProps,B=D.memoizedState,$=i.stateNode,j=$.getSnapshotBeforeUpdate(i.elementType===i.type?L:xv(i.type,L),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 D=W5t,W5t=!1,D}function hH(n,i,s){var u=i.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var d=u=u.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!==u)}}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 u=s.create;s.destroy=u()}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 KUt(n){var i=n.alternate;i!==null&&(n.alternate=null,KUt(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[D6e],delete i[l4n],delete i[d4n])),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 YUt(n){return n.tag===5||n.tag===3||n.tag===4}function K5t(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||YUt(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 u=n.tag;if(u===5||u===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=Eoe));else if(u!==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 u=n.tag;if(u===5||u===6)n=n.stateNode,i?s.insertBefore(n,i):s.appendChild(n);else if(u!==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;)JUt(n,i,s),s=s.sibling}function JUt(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 u=Ph,d=kv;Ph=null,Nk(n,i,s),Ph=u,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:u=Ph,d=kv,Ph=s.stateNode.containerInfo,kv=!0,Nk(n,i,s),Ph=u,kv=d;break;case 0:case 11:case 14:case 15:if(!Fp&&(u=s.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){d=u=u.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!==u)}Nk(n,i,s);break;case 1:if(!Fp&&(B5(s,i),u=s.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=s.memoizedProps,u.state=s.memoizedState,u.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=(u=Fp)||s.memoizedState!==null,Nk(n,i,s),Fp=u):Nk(n,i,s);break;default:Nk(n,i,s)}}function Y5t(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new k4n),i.forEach(function(u){var d=j4n.bind(null,n,u);s.has(u)||(s.add(u),u.then(d,d))})}}function Av(n,i){var s=i.deletions;if(s!==null)for(var u=0;u<s.length;u++){var d=s[u];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));JUt(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;)XUt(i,n),i=i.sibling}function XUt(n,i){var s=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Av(i,n),A2(n),u&4){try{hH(3,n,n.return),jse(3,n)}catch(L){jl(n,n.return,L)}try{hH(5,n,n.return)}catch(L){jl(n,n.return,L)}}break;case 1:Av(i,n),A2(n),u&512&&s!==null&&B5(s,s.return);break;case 5:if(Av(i,n),A2(n),u&512&&s!==null&&B5(s,s.return),n.flags&32){var d=n.stateNode;try{kH(d,"")}catch(L){jl(n,n.return,L)}}if(u&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&&yBt(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"?ABt(d,A):x==="dangerouslySetInnerHTML"?SBt(d,A):x==="children"?kH(d,A):LDe(d,x,A,S)}switch(w){case"input":g6e(d,g);break;case"textarea":vBt(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(L){jl(n,n.return,L)}}break;case 6:if(Av(i,n),A2(n),u&4){if(n.stateNode===null)throw Error(ir(162));d=n.stateNode,g=n.memoizedProps;try{d.nodeValue=g}catch(L){jl(n,n.return,L)}}break;case 3:if(Av(i,n),A2(n),u&4&&s!==null&&s.memoizedState.isDehydrated)try{RH(i.containerInfo)}catch(L){jl(n,n.return,L)}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())),u&4&&Y5t(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),u&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 D=C.stateNode;if(typeof D.componentWillUnmount=="function"){u=C,s=C.return;try{i=u,D.props=i.memoizedProps,D.state=i.memoizedState,D.componentWillUnmount()}catch(L){jl(u,s,L)}}break;case 5:B5(C,C.return);break;case 22:if(C.memoizedState!==null){X5t(A);continue}}R!==null?(R.return=C,Vr=R):X5t(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=TBt("display",b))}catch(L){jl(n,n.return,L)}}}else if(A.tag===6){if(x===null)try{A.stateNode.nodeValue=S?"":A.memoizedProps}catch(L){jl(n,n.return,L)}}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),u&4&&Y5t(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(YUt(s)){var u=s;break e}s=s.return}throw Error(ir(160))}switch(u.tag){case 5:var d=u.stateNode;u.flags&32&&(kH(d,""),u.flags&=-33);var g=K5t(n);J6e(n,g,d);break;case 3:case 4:var b=u.stateNode.containerInfo,w=K5t(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 C4n(n,i,s){Vr=n,ZUt(n)}function ZUt(n,i,s){for(var u=(n.mode&1)!==0;Vr!==null;){var d=Vr,g=d.child;if(d.tag===22&&u){var b=d.memoizedState!==null||uie;if(!b){var w=d.alternate,E=w!==null&&w.memoizedState!==null||Fp;w=uie;var S=Fp;if(uie=b,(Fp=E)&&!S)for(Vr=d;Vr!==null;)b=Vr,E=b.child,b.tag===22&&b.memoizedState!==null?Z5t(d):E!==null?(E.return=b,Vr=E):Z5t(d);for(;g!==null;)Vr=g,ZUt(g),g=g.sibling;Vr=d,uie=w,Fp=S}J5t(n)}else d.subtreeFlags&8772&&g!==null?(g.return=d,Vr=g):J5t(n)}}function J5t(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 u=i.stateNode;if(i.flags&4&&!Fp)if(s===null)u.componentDidMount();else{var d=i.elementType===i.type?s.memoizedProps:xv(i.type,s.memoizedProps);u.componentDidUpdate(d,s.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&D5t(i,g,u);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 X5t(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 Z5t(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 u=i.stateNode;if(typeof u.componentDidMount=="function"){var d=i.return;try{u.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 I4n=Math.ceil,Ooe=AA.ReactCurrentDispatcher,l5e=AA.ReactCurrentOwner,vw=AA.ReactCurrentBatchConfig,ga=0,rh=null,Fd=null,Fh=0,Dm=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,Loe=!1,X6e=null,Xk=null,cie=!1,Gk=null,Doe=0,gH=0,Z6e=null,Kie=-1,Yie=0;function Hg(){return ga&6?pd():Kie!==-1?Kie:Kie=pd()}function Zk(n){return n.mode&1?ga&2&&Fh!==0?Fh&-Fh:h4n.transition!==null?(Yie===0&&(Yie=PBt()),Yie):(n=cu,n!==0||(n=window.event,n=n===void 0?16:zBt(n.type)),n):1}function Dv(n,i,s,u){if(50<gH)throw gH=0,Z6e=null,Error(ir(185));mz(n,s,u),(!(ga&2)||n!==rh)&&(n===rh&&(!(ga&2)&&(Fse|=s),Sf===4&&$k(n,Fh)),db(n,u),s===1&&ga===0&&!(i.mode&1)&&(mM=pd()+500,Dse&&yN()))}function db(n,i){var s=n.callbackNode;hIn(n,i);var u=moe(n,n===rh?Fh:0);if(u===0)s!==null&&a5t(s),n.callbackNode=null,n.callbackPriority=0;else if(i=u&-u,n.callbackPriority!==i){if(s!=null&&a5t(s),i===1)n.tag===0?f4n(Q5t.bind(null,n)):uUt(Q5t.bind(null,n)),u4n(function(){!(ga&6)&&yN()}),s=null;else{switch(jBt(u)){case 1:s=FDe;break;case 4:s=DBt;break;case 16:s=boe;break;case 536870912:s=MBt;break;default:s=boe}s=sHt(s,QUt.bind(null,n))}n.callbackPriority=i,n.callbackNode=s}}function QUt(n,i){if(Kie=-1,Yie=0,ga&6)throw Error(ir(327));var s=n.callbackNode;if(eM()&&n.callbackNode!==s)return null;var u=moe(n,n===rh?Fh:0);if(u===0)return null;if(u&30||u&n.expiredLanes||i)i=Moe(n,u);else{i=u;var d=ga;ga|=2;var g=tHt();(rh!==n||Fh!==i)&&(iA=null,mM=pd()+500,Q4(n,i));do try{L4n();break}catch(w){eHt(n,w)}while(!0);XDe(),Ooe.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&&(u=d,i=Q6e(n,d))),i===1)throw s=HH,Q4(n,0),$k(n,u),db(n,pd()),s;if(i===6)$k(n,u);else{if(d=n.current.alternate,!(u&30)&&!R4n(d)&&(i=Moe(n,u),i===2&&(g=_6e(n),g!==0&&(u=g,i=Q6e(n,g))),i===1))throw s=HH,Q4(n,0),$k(n,u),db(n,pd()),s;switch(n.finishedWork=d,n.finishedLanes=u,i){case 0:case 1:throw Error(ir(345));case 2:V4(n,rb,iA);break;case 3:if($k(n,u),(u&130023424)===u&&(i=f5e+500-pd(),10<i)){if(moe(n,0)!==0)break;if(d=n.suspendedLanes,(d&u)!==u){Hg(),n.pingedLanes|=n.suspendedLanes&d;break}n.timeoutHandle=L6e(V4.bind(null,n,rb,iA),i);break}V4(n,rb,iA);break;case 4:if($k(n,u),(u&4194240)===u)break;for(i=n.eventTimes,d=-1;0<u;){var b=31-Lv(u);g=1<<b,b=i[b],b>d&&(d=b),u&=~g}if(u=d,u=pd()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*I4n(u/1960))-u,10<u){n.timeoutHandle=L6e(V4.bind(null,n,rb,iA),u);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?QUt.bind(null,n):null}function Q6e(n,i){var s=pH;return n.current.memoizedState.isDehydrated&&(Q4(n,i).flags|=256),n=Moe(n,i),n!==2&&(i=rb,rb=s,i!==null&&eLe(i)),n}function eLe(n){rb===null?rb=n:rb.push.apply(rb,n)}function R4n(n){for(var i=n;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var u=0;u<s.length;u++){var d=s[u],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-Lv(i),u=1<<s;n[s]=-1,i&=~u}}function Q5t(n){if(ga&6)throw Error(ir(327));eM();var i=moe(n,0);if(!(i&1))return db(n,pd()),null;var s=Moe(n,i);if(n.tag!==0&&s===2){var u=_6e(n);u!==0&&(i=u,s=Q6e(n,u))}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,Dse&&yN())}}function cR(n){Gk!==null&&Gk.tag===0&&!(ga&6)&&eM();var i=ga;ga|=1;var s=vw.transition,u=cu;try{if(vw.transition=null,cu=1,n)return n()}finally{cu=u,vw.transition=s,ga=i,!(ga&6)&&yN()}}function p5e(){Dm=U5.current,dc(U5)}function Q4(n,i){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,a4n(s)),Fd!==null)for(s=Fd.return;s!==null;){var u=s;switch(KDe(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&Soe();break;case 3:gM(),dc(cb),dc(Up),r5e();break;case 5:n5e(u);break;case 4:gM();break;case 13:dc(cl);break;case 19:dc(cl);break;case 10:ZDe(u.type._context);break;case 22:case 23:p5e()}s=s.return}if(rh=n,Fd=n=Qk(n.current,null),Fh=Dm=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],u=s.interleaved,u!==null){s.interleaved=null;var d=u.next,g=s.pending;if(g!==null){var b=g.next;g.next=d,u.next=b}s.pending=u}J4=null}return n}function eHt(n,i){do{var s=Fd;try{if(XDe(),qie.current=Roe,Ioe){for(var u=dl.memoizedState;u!==null;){var d=u.queue;d!==null&&(d.pending=null),u=u.next}Ioe=!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=B5t(b);if(R!==null){R.flags&=-257,U5t(R,b,w,g,i),R.mode&1&&$5t(g,S,i),i=R,E=S;var D=i.updateQueue;if(D===null){var L=new Set;L.add(E),i.updateQueue=L}else D.add(E);break e}else{if(!(i&1)){$5t(g,S,i),g5e();break e}E=Error(ir(426))}}else if(Lc&&w.mode&1){var B=B5t(b);if(B!==null){!(B.flags&65536)&&(B.flags|=256),U5t(B,b,w,g,i),YDe(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 $=jUt(g,E,i);L5t(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=FUt(g,w,i);L5t(g,G);break e}}g=g.return}while(g!==null)}rHt(s)}catch(ee){i=ee,Fd===s&&s!==null&&(Fd=s=s.return);continue}break}while(!0)}function tHt(){var n=Ooe.current;return Ooe.current=Roe,n===null?Roe:n}function g5e(){(Sf===0||Sf===3||Sf===2)&&(Sf=4),rh===null||!(uR&268435455)&&!(Fse&268435455)||$k(rh,Fh)}function Moe(n,i){var s=ga;ga|=2;var u=tHt();(rh!==n||Fh!==i)&&(iA=null,Q4(n,i));do try{O4n();break}catch(d){eHt(n,d)}while(!0);if(XDe(),ga=s,Ooe.current=u,Fd!==null)throw Error(ir(261));return rh=null,Fh=0,Sf}function O4n(){for(;Fd!==null;)nHt(Fd)}function L4n(){for(;Fd!==null&&!iIn();)nHt(Fd)}function nHt(n){var i=oHt(n.alternate,n,Dm);n.memoizedProps=n.pendingProps,i===null?rHt(n):Fd=i,l5e.current=null}function rHt(n){var i=n;do{var s=i.alternate;if(n=i.return,i.flags&32768){if(s=x4n(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=_4n(s,i,Dm),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 u=cu,d=vw.transition;try{vw.transition=null,cu=1,D4n(n,i,s,u)}finally{vw.transition=d,cu=u}return null}function D4n(n,i,s,u){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(pIn(n,g),n===rh&&(Fd=rh=null,Fh=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||cie||(cie=!0,sHt(boe,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,N4n(n,s),XUt(s,n),e4n(R6e),woe=!!I6e,R6e=I6e=null,n.current=s,C4n(s),oIn(),ga=w,cu=b,vw.transition=g}else n.current=s;if(cie&&(cie=!1,Gk=n,Doe=d),g=n.pendingLanes,g===0&&(Xk=null),uIn(s.stateNode),db(n,pd()),i!==null)for(u=n.onRecoverableError,s=0;s<i.length;s++)d=i[s],u(d.value,{componentStack:d.stack,digest:d.digest});if(Loe)throw Loe=!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=jBt(Doe),i=vw.transition,s=cu;try{if(vw.transition=null,cu=16>n?16:n,Gk===null)var u=!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(KUt(x),x===S){Vr=null;break}if(C!==null){C.return=R,Vr=C;break}Vr=R}}}var D=g.alternate;if(D!==null){var L=D.child;if(L!==null){D.child=null;do{var B=L.sibling;L.sibling=null,L=B}while(L!==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{}u=!0}return u}finally{cu=s,vw.transition=i}}return!1}function eMt(n,i,s){i=bM(s,i),i=jUt(n,i,1),n=Jk(n,i,1),i=Hg(),n!==null&&(mz(n,1,i),db(n,i))}function jl(n,i,s){if(n.tag===3)eMt(n,n,s);else for(;i!==null;){if(i.tag===3){eMt(i,n,s);break}else if(i.tag===1){var u=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Xk===null||!Xk.has(u))){n=bM(s,n),n=FUt(i,n,1),i=Jk(i,n,1),n=Hg(),i!==null&&(mz(i,1,n),db(i,n));break}}i=i.return}}function M4n(n,i,s){var u=n.pingCache;u!==null&&u.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 iHt(n,i){i===0&&(n.mode&1?(i=Qre,Qre<<=1,!(Qre&130023424)&&(Qre=4194304)):i=1);var s=Hg();n=mA(n,i),n!==null&&(mz(n,i,s),db(n,s))}function P4n(n){var i=n.memoizedState,s=0;i!==null&&(s=i.retryLane),iHt(n,s)}function j4n(n,i){var s=0;switch(n.tag){case 13:var u=n.stateNode,d=n.memoizedState;d!==null&&(s=d.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(ir(314))}u!==null&&u.delete(i),iHt(n,s)}var oHt;oHt=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,A4n(n,i,s);sb=!!(n.flags&131072)}else sb=!1,Lc&&i.flags&1048576&&cUt(i,_oe,i.index);switch(i.lanes=0,i.tag){case 2:var u=i.type;Wie(n,i),n=i.pendingProps;var d=fM(i,Up.current);Q5(i,s),d=o5e(null,i,u,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(u)?(g=!0,Toe(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,u,n,s),i=z6e(null,i,u,!0,g,s)):(i.tag=0,Lc&&g&&WDe(i),Bg(null,i,d,s),i=i.child),i;case 16:u=i.elementType;e:{switch(Wie(n,i),n=i.pendingProps,d=u._init,u=d(u._payload),i.type=u,d=i.tag=$4n(u),n=xv(u,n),d){case 0:i=H6e(null,i,u,n,s);break e;case 1:i=G5t(null,i,u,n,s);break e;case 11:i=H5t(null,i,u,n,s);break e;case 14:i=z5t(null,i,u,xv(u.type,n),s);break e}throw Error(ir(306,u,""))}return i;case 0:return u=i.type,d=i.pendingProps,d=i.elementType===u?d:xv(u,d),H6e(n,i,u,d,s);case 1:return u=i.type,d=i.pendingProps,d=i.elementType===u?d:xv(u,d),G5t(n,i,u,d,s);case 3:e:{if(HUt(i),n===null)throw Error(ir(387));u=i.pendingProps,g=i.memoizedState,d=g.element,gUt(n,i),Noe(i,u,null,s);var b=i.memoizedState;if(u=b.element,g.isDehydrated)if(g={element:u,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=q5t(n,i,u,s,d);break e}else if(u!==d){d=bM(Error(ir(424)),i),i=q5t(n,i,u,s,d);break e}else for(Fm=Yk(i.stateNode.containerInfo.firstChild),Bm=i,Lc=!0,Cv=null,s=hUt(i,null,u,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(hM(),u===d){i=wA(n,i,s);break e}Bg(n,i,u,s)}i=i.child}return i;case 5:return bUt(i),n===null&&j6e(i),u=i.type,d=i.pendingProps,g=n!==null?n.memoizedProps:null,b=d.children,O6e(u,d)?b=null:g!==null&&O6e(u,g)&&(i.flags|=32),UUt(n,i),Bg(n,i,b,s),i.child;case 6:return n===null&&j6e(i),null;case 13:return zUt(n,i,s);case 4:return t5e(i,i.stateNode.containerInfo),u=i.pendingProps,n===null?i.child=pM(i,null,u,s):Bg(n,i,u,s),i.child;case 11:return u=i.type,d=i.pendingProps,d=i.elementType===u?d:xv(u,d),H5t(n,i,u,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(u=i.type._context,d=i.pendingProps,g=i.memoizedProps,b=d.value,Wu(xoe,u._currentValue),u._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===u){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,u=i.pendingProps.children,Q5(i,s),d=Tw(d),u=u(d),i.flags|=1,Bg(n,i,u,s),i.child;case 14:return u=i.type,d=xv(u,i.pendingProps),d=xv(u.type,d),z5t(n,i,u,d,s);case 15:return $Ut(n,i,i.type,i.pendingProps,s);case 17:return u=i.type,d=i.pendingProps,d=i.elementType===u?d:xv(u,d),Wie(n,i),i.tag=1,lb(u)?(n=!0,Toe(i)):n=!1,Q5(i,s),PUt(i,u,d),B6e(i,u,d,s),z6e(null,i,u,!0,n,s);case 19:return GUt(n,i,s);case 22:return BUt(n,i,s)}throw Error(ir(156,i.tag))};function sHt(n,i){return LBt(n,i)}function F4n(n,i,s,u){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=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yw(n,i,s,u){return new F4n(n,i,s,u)}function b5e(n){return n=n.prototype,!(!n||!n.isReactComponent)}function $4n(n){if(typeof n=="function")return b5e(n)?1:0;if(n!=null){if(n=n.$$typeof,n===MDe)return 11;if(n===PDe)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 Jie(n,i,s,u,d,g){var b=2;if(u=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 DDe: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 bBt:return $se(s,d,g,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case pBt:b=10;break e;case gBt:b=9;break e;case MDe:b=11;break e;case PDe:b=14;break e;case Pk:b=16,u=null;break e}throw Error(ir(130,n==null?n:typeof n,""))}return i=yw(b,s,i,d),i.elementType=n,i.type=u,i.lanes=g,i}function eR(n,i,s,u){return n=yw(7,n,u,i),n.lanes=s,n}function $se(n,i,s,u){return n=yw(22,n,u,i),n.elementType=bBt,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 B4n(n,i,s,u,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=u,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function m5e(n,i,s,u,d,g,b,w,E){return n=new B4n(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:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},e5e(g),n}function U4n(n,i,s){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I5,key:u==null?null:""+u,children:n,containerInfo:i,implementation:s}}function aHt(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 aUt(n,s,i)}return i}function uHt(n,i,s,u,d,g,b,w,E){return n=m5e(s,u,!0,n,d,g,b,w,E),n.context=aHt(null),s=n.current,u=Hg(),d=Zk(s),g=hA(u,d),g.callback=i??null,Jk(s,g,d),n.current.lanes=d,mz(n,d,u),db(n,u),n}function Bse(n,i,s,u){var d=i.current,g=Hg(),b=Zk(d);return s=aHt(s),i.context===null?i.context=s:i.pendingContext=s,i=hA(g,b),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=Jk(d,i,b),n!==null&&(Dv(n,d,b,g),Gie(n,d,b)),b}function Poe(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 tMt(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){tMt(n,i),(n=n.alternate)&&tMt(n,i)}function H4n(){return null}var cHt=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=BBt();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&&HBt(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 nMt(){}function z4n(n,i,s,u,d){if(d){if(typeof u=="function"){var g=u;u=function(){var S=Poe(b);g.call(S)}}var b=uHt(i,u,n,0,null,!1,!1,"",nMt);return n._reactRootContainer=b,n[bA]=b.current,DH(n.nodeType===8?n.parentNode:n),cR(),b}for(;d=n.lastChild;)n.removeChild(d);if(typeof u=="function"){var w=u;u=function(){var S=Poe(E);w.call(S)}}var E=m5e(n,0,!1,null,null,!1,!1,"",nMt);return n._reactRootContainer=E,n[bA]=E.current,DH(n.nodeType===8?n.parentNode:n),cR(function(){Bse(i,E,s,u)}),E}function zse(n,i,s,u,d){var g=s._reactRootContainer;if(g){var b=g;if(typeof d=="function"){var w=d;d=function(){var E=Poe(b);w.call(E)}}Bse(i,b,n,d)}else b=z4n(s,i,n,d,u);return Poe(b)}FBt=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var s=KU(i.pendingLanes);s!==0&&($De(i,s|1),db(i,pd()),!(ga&6)&&(mM=pd()+500,yN()))}break;case 13:cR(function(){var u=mA(n,1);if(u!==null){var d=Hg();Dv(u,n,1,d)}}),w5e(n,1)}};BDe=function(n){if(n.tag===13){var i=mA(n,134217728);if(i!==null){var s=Hg();Dv(i,n,134217728,s)}w5e(n,134217728)}};$Bt=function(n){if(n.tag===13){var i=Zk(n),s=mA(n,i);if(s!==null){var u=Hg();Dv(s,n,i,u)}w5e(n,i)}};BBt=function(){return cu};UBt=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 u=s[i];if(u!==n&&u.form===n.form){var d=Lse(u);if(!d)throw Error(ir(90));wBt(u),g6e(u,d)}}}break;case"textarea":vBt(n,s);break;case"select":i=s.value,i!=null&&Y5(n,!!s.multiple,i,!1)}};kBt=h5e;NBt=cR;var G4n={usingClientEntryPoint:!1,Events:[yz,M5,Lse,_Bt,xBt,h5e]},PU={findFiberByHostInstance:Y4,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},q4n={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=RBt(n),n===null?null:n.stateNode},findFiberByHostInstance:PU.findFiberByHostInstance||H4n,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 lie=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lie.isDisabled&&lie.supportsFiber)try{Cse=lie.inject(q4n),P2=lie}catch{}}Gm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G4n;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 U4n(n,i,null,s)};Gm.createRoot=function(n,i){if(!v5e(n))throw Error(ir(299));var s=!1,u="",d=cHt;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(u=i.identifierPrefix),i.onRecoverableError!==void 0&&(d=i.onRecoverableError)),i=m5e(n,1,!1,null,null,s,!1,u,d),n[bA]=i.current,DH(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=RBt(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 u=s!=null&&s.hydratedSources||null,d=!1,g="",b=cHt;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),i=uHt(i,null,n,1,s??null,d,!1,g,b),n[bA]=i.current,DH(n),u)for(n=0;n<u.length;n++)s=u[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,u){if(!Hse(s))throw Error(ir(200));if(n==null||n._reactInternals===void 0)throw Error(ir(38));return zse(n,i,s,!1,u)};Gm.version="18.3.1-next-f1338f8080-20240426";function lHt(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lHt)}catch(n){console.error(n)}}lHt(),lBt.exports=Gm;var xR=lBt.exports;const dHt=TR(xR);var rMt=xR;foe.createRoot=rMt.createRoot,foe.hydrateRoot=rMt.hydrateRoot;const vo=n=>typeof n=="string",jU=()=>{let n,i;const s=new Promise((u,d)=>{n=u,i=d});return s.resolve=n,s.reject=i,s},iMt=n=>n==null?"":""+n,V4n=(n,i,s)=>{n.forEach(u=>{i[u]&&(s[u]=i[u])})},W4n=/###/g,oMt=n=>n&&n.indexOf("###")>-1?n.replace(W4n,"."):n,sMt=n=>!n||vo(n),bH=(n,i,s)=>{const u=vo(i)?i.split("."):i;let d=0;for(;d<u.length-1;){if(sMt(n))return{};const g=oMt(u[d]);!n[g]&&s&&(n[g]=new s),Object.prototype.hasOwnProperty.call(n,g)?n=n[g]:n={},++d}return sMt(n)?{}:{obj:n,k:oMt(u[d])}},aMt=(n,i,s)=>{const{obj:u,k:d}=bH(n,i,Object);if(u!==void 0||i.length===1){u[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},K4n=(n,i,s,u)=>{const{obj:d,k:g}=bH(n,i,Object);d[g]=d[g]||[],d[g].push(s)},joe=(n,i)=>{const{obj:s,k:u}=bH(n,i);if(s&&Object.prototype.hasOwnProperty.call(s,u))return s[u]},Y4n=(n,i,s)=>{const u=joe(n,s);return u!==void 0?u:joe(i,s)},fHt=(n,i,s)=>{for(const u in i)u!=="__proto__"&&u!=="constructor"&&(u in n?vo(n[u])||n[u]instanceof String||vo(i[u])||i[u]instanceof String?s&&(n[u]=i[u]):fHt(n[u],i[u],s):n[u]=i[u]);return n},b5=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var J4n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const X4n=n=>vo(n)?n.replace(/[&<>"'\/]/g,i=>J4n[i]):n;class Z4n{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 u=new RegExp(i);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(i,u),this.regExpQueue.push(i),u}}const Q4n=[" ",",","?","!",";"],eRn=new Z4n(20),tRn=(n,i,s)=>{i=i||"",s=s||"";const u=Q4n.filter(b=>i.indexOf(b)<0&&s.indexOf(b)<0);if(u.length===0)return!0;const d=eRn.getRegExp(`(${u.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},tLe=(n,i,s=".")=>{if(!n)return;if(n[i])return Object.prototype.hasOwnProperty.call(n,i)?n[i]:void 0;const u=i.split(s);let d=n;for(let g=0;g<u.length;){if(!d||typeof d!="object")return;let b,w="";for(let E=g;E<u.length;++E)if(E!==g&&(w+=s),w+=u[E],b=d[w],b!==void 0){if(["string","number","boolean"].indexOf(typeof b)>-1&&E<u.length-1)continue;g+=E-g+1;break}d=b}return d},zH=n=>n==null?void 0:n.replace("_","-"),nRn={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,u;(u=(s=console==null?void 0:console[n])==null?void 0:s.apply)==null||u.call(s,console,i)}};let rRn=class nLe{constructor(i,s={}){this.init(i,s)}init(i,s={}){this.prefix=s.prefix||"i18next:",this.logger=i||nRn,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,u,d){return d&&!this.debug?null:(vo(i[0])&&(i[0]=`${u}${this.prefix} ${i[0]}`),this.logger[s](i))}create(i){return new nLe(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new nLe(this.logger,i)}};var L2=new rRn;class Gse{constructor(){this.observers={}}on(i,s){return i.split(" ").forEach(u=>{this.observers[u]||(this.observers[u]=new Map);const d=this.observers[u].get(s)||0;this.observers[u].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 uMt 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,u,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],u&&(Array.isArray(u)?w.push(...u):vo(u)&&g?w.push(...u.split(g)):w.push(u)));const E=joe(this.data,w);return!E&&!s&&!u&&i.indexOf(".")>-1&&(i=w[0],s=w[1],u=w.slice(2).join(".")),E||!b||!vo(u)?E:tLe((x=(S=this.data)==null?void 0:S[i])==null?void 0:x[s],u,g)}addResource(i,s,u,d,g={silent:!1}){const b=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let w=[i,s];u&&(w=w.concat(b?u.split(b):u)),i.indexOf(".")>-1&&(w=i.split("."),d=s,s=w[1]),this.addNamespaces(s),aMt(this.data,w,d),g.silent||this.emit("added",i,s,u,d)}addResources(i,s,u,d={silent:!1}){for(const g in u)(vo(u[g])||Array.isArray(u[g]))&&this.addResource(i,s,g,u[g],{silent:!0});d.silent||this.emit("added",i,s,u)}addResourceBundle(i,s,u,d,g,b={silent:!1,skipCopy:!1}){let w=[i,s];i.indexOf(".")>-1&&(w=i.split("."),d=u,u=s,s=w[1]),this.addNamespaces(s);let E=joe(this.data,w)||{};b.skipCopy||(u=JSON.parse(JSON.stringify(u))),d?fHt(E,u,g):E={...E,...u},aMt(this.data,w,E),b.silent||this.emit("added",i,s,u)}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 hHt={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,s,u,d){return n.forEach(g=>{var b;i=((b=this.processors[g])==null?void 0:b.process(i,s,u,d))??i}),i}};const pHt=Symbol("i18next/PATH_KEY");function iRn(){const n=[],i=Object.create(null);let s;return i.get=(u,d)=>{var g;return(g=s==null?void 0:s.revoke)==null||g.call(s),d===pHt?n:(n.push(d),s=Proxy.revocable(u,i),s.proxy)},Proxy.revocable(Object.create(null),i).proxy}function rLe(n,i){const{[pHt]:s}=n(iRn());return s.join((i==null?void 0:i.keySeparator)??".")}const cMt={},LCe=n=>!vo(n)&&typeof n!="boolean"&&typeof n!="number";class Foe extends Gse{constructor(i,s={}){super(),V4n(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=L2.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i,s={interpolation:{}}){const u={...s};if(i==null)return!1;const d=this.resolve(i,u);if((d==null?void 0:d.res)===void 0)return!1;const g=LCe(d.res);return!(u.returnObjects===!1&&g)}extractFromKey(i,s){let u=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const d=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let g=s.ns||this.options.defaultNS||[];const b=u&&i.indexOf(u)>-1,w=!this.options.userDefinedKeySeparator&&!s.keySeparator&&!this.options.userDefinedNsSeparator&&!s.nsSeparator&&!tRn(i,u,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(u);(u!==d||u===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,u){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=rLe(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 D=R==null?void 0:R.res;const L=(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=Foe.hasDefaultValue(d),ne=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,he=ie&&d[`defaultValue${this.options.pluralSeparator}zero`]||d[`defaultValue${ne}`]||d[`defaultValue${Q}`]||d.defaultValue;let ge=D;P&&!D&&ee&&(ge=he);const ce=LCe(ge),fe=Object.prototype.toString.apply(ge);if(P&&ge&&ce&&$.indexOf(fe)<0&&!(vo(j)&&Array.isArray(ge))){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(L,ge,{...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(ge),pe=K?[]:{},Oe=K?B:L;for(const Se in ge)if(Object.prototype.hasOwnProperty.call(ge,Se)){const De=`${Oe}${b}${Se}`;ee&&!D?pe[Se]=this.translate(De,{...d,defaultValue:LCe(he)?he[Se]:void 0,joinArrays:!1,ns:E}):pe[Se]=this.translate(De,{...d,joinArrays:!1,ns:E}),pe[Se]===De&&(pe[Se]=ge[Se])}D=pe}}else if(P&&vo(j)&&Array.isArray(D))D=D.join(j),D&&(D=this.extendTranslation(D,i,d,u));else{let K=!1,pe=!1;!this.isValidLookup(D)&&ee&&(K=!0,D=he),this.isValidLookup(D)||(pe=!0,D=w);const Se=(d.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&pe?void 0:D,De=ee&&he!==D&&this.options.updateMissing;if(pe||K||De){if(this.logger.log(De?"updateKey":"missingKey",A,S,w,De?he:D),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!==D?bt:Se;this.options.missingKeyHandler?this.options.missingKeyHandler(dt,S,Ue,kt,De,d):(ht=this.backendConnector)!=null&&ht.saveMissing&&this.backendConnector.saveMissing(dt,S,Ue,kt,De,d),this.emit("missingKey",dt,S,Ue,D)};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}`]||he)})}):We(Ae,w,he))}D=this.extendTranslation(D,i,d,R,u),pe&&D===w&&this.options.appendNamespaceToMissingKey&&(D=`${S}${x}${w}`),(pe||K)&&this.options.parseMissingKeyHandler&&(D=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${S}${x}${w}`:w,K?D:void 0,d))}return g?(R.res=D,R.usedParams=this.getUsedParamsDetails(d),R):D}extendTranslation(i,s,u,d,g){var E,S;if((E=this.i18nFormat)!=null&&E.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...u},u.lng||this.language||d.usedLng,d.usedNS,d.usedKey,{resolved:d});else if(!u.skipInterpolation){u.interpolation&&this.interpolator.init({...u,interpolation:{...this.options.interpolation,...u.interpolation}});const x=vo(i)&&(((S=u==null?void 0:u.interpolation)==null?void 0:S.skipOnVariables)!==void 0?u.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(x){const R=i.match(this.interpolator.nestingRegexp);A=R&&R.length}let C=u.replace&&!vo(u.replace)?u.replace:u;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,u.lng||this.language||d.usedLng,u),x){const R=i.match(this.interpolator.nestingRegexp),D=R&&R.length;A<D&&(u.nest=!1)}!u.lng&&d&&d.res&&(u.lng=this.language||d.usedLng),u.nest!==!1&&(i=this.interpolator.nest(i,(...R)=>(g==null?void 0:g[0])===R[0]&&!u.context?(this.logger.warn(`It seems you are nesting recursively key: ${R[0]} in key: ${s[0]}`),null):this.translate(...R,s),u)),u.interpolation&&this.interpolator.reset()}const b=u.postProcess||this.options.postProcess,w=vo(b)?[b]:b;return i!=null&&(w!=null&&w.length)&&u.applyPostProcessor!==!1&&(i=hHt.handle(w,i,s,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...d,usedParams:this.getUsedParamsDetails(u)},...u}:u,this)),i}resolve(i,s={}){let u,d,g,b,w;return vo(i)&&(i=[i]),i.forEach(E=>{if(this.isValidLookup(u))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,D=s.context!==void 0&&(vo(s.context)||typeof s.context=="number")&&s.context!=="",L=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);A.forEach(B=>{var $,j;this.isValidLookup(u)||(w=B,!cMt[`${L[0]}-${B}`]&&(($=this.utils)!=null&&$.hasLoadedNamespace)&&!((j=this.utils)!=null&&j.hasLoadedNamespace(w))&&(cMt[`${L[0]}-${B}`]=!0,this.logger.warn(`key "${d}" for languages "${L.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!!!")),L.forEach(P=>{var ne;if(this.isValidLookup(u))return;b=P;const G=[x];if((ne=this.i18nFormat)!=null&&ne.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`,he=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(C&&(s.ordinal&&Q.indexOf(he)===0&&G.push(x+Q.replace(he,this.options.pluralSeparator)),G.push(x+Q),R&&G.push(x+ie)),D){const ge=`${x}${this.options.contextSeparator||"_"}${s.context}`;G.push(ge),C&&(s.ordinal&&Q.indexOf(he)===0&&G.push(ge+Q.replace(he,this.options.pluralSeparator)),G.push(ge+Q),R&&G.push(ge+ie))}}let ee;for(;ee=G.pop();)this.isValidLookup(u)||(g=ee,u=this.getResource(P,B,ee,s))}))})}),{res:u,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,u,d={}){var g;return(g=this.i18nFormat)!=null&&g.getResource?this.i18nFormat.getResource(i,s,u,d):this.resourceStore.getResource(i,s,u,d)}getUsedParamsDetails(i={}){const s=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],u=i.replace&&!vo(i.replace);let d=u?i.replace:i;if(u&&typeof i.count<"u"&&(d.count=i.count),this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),!u){d={...d};for(const g of s)delete d[g]}return d}static hasDefaultValue(i){const s="defaultValue";for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&s===u.substring(0,s.length)&&i[u]!==void 0)return!0;return!1}}class lMt{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=L2.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(u=>{if(s)return;const d=this.formatLanguageCode(u);(!this.options.supportedLngs||this.isSupportedCode(d))&&(s=d)}),!s&&this.options.supportedLngs&&i.forEach(u=>{if(s)return;const d=this.getScriptPartFromCode(u);if(this.isSupportedCode(d))return s=d;const g=this.getLanguagePartFromCode(u);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 u=i[s];return u||(u=i[this.getScriptPartFromCode(s)]),u||(u=i[this.formatLanguageCode(s)]),u||(u=i[this.getLanguagePartFromCode(s)]),u||(u=i.default),u||[]}toResolveHierarchy(i,s){const u=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)),u.forEach(b=>{d.indexOf(b)<0&&g(this.formatLanguageCode(b))}),d}}const dMt={zero:0,one:1,two:2,few:3,many:4,other:5},fMt={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class oRn{constructor(i,s={}){this.languageUtils=i,this.options=s,this.logger=L2.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(i,s={}){const u=zH(i==="dev"?"en":i),d=s.ordinal?"ordinal":"cardinal",g=JSON.stringify({cleanedCode:u,type:d});if(g in this.pluralRulesCache)return this.pluralRulesCache[g];let b;try{b=new Intl.PluralRules(u,{type:d})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),fMt;if(!i.match(/-|_/))return fMt;const E=this.languageUtils.getLanguagePartFromCode(i);b=this.getRule(E,s)}return this.pluralRulesCache[g]=b,b}needsPlural(i,s={}){let u=this.getRule(i,s);return u||(u=this.getRule("dev",s)),(u==null?void 0:u.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(i,s,u={}){return this.getSuffixes(i,u).map(d=>`${s}${d}`)}getSuffixes(i,s={}){let u=this.getRule(i,s);return u||(u=this.getRule("dev",s)),u?u.resolvedOptions().pluralCategories.sort((d,g)=>dMt[d]-dMt[g]).map(d=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${d}`):[]}getSuffix(i,s,u={}){const d=this.getRule(i,u);return d?`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${d.select(s)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",s,u))}}const hMt=(n,i,s,u=".",d=!0)=>{let g=Y4n(n,i,s);return!g&&d&&vo(s)&&(g=tLe(n,s,u),g===void 0&&(g=tLe(i,s,u))),g},DCe=n=>n.replace(/\$/g,"$$$$");class pMt{constructor(i={}){var s;this.logger=L2.create("interpolator"),this.options=i,this.format=((s=i==null?void 0:i.interpolation)==null?void 0:s.format)||(u=>u),this.init(i)}init(i={}){i.interpolation||(i.interpolation={escapeValue:!0});const{escape:s,escapeValue:u,useRawValueToEscape:d,prefix:g,prefixEscaped:b,suffix:w,suffixEscaped:E,formatSeparator:S,unescapeSuffix:x,unescapePrefix:A,nestingPrefix:C,nestingPrefixEscaped:R,nestingSuffix:D,nestingSuffixEscaped:L,nestingOptionsSeparator:B,maxReplaces:$,alwaysFormat:j}=i.interpolation;this.escape=s!==void 0?s:X4n,this.escapeValue=u!==void 0?u:!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=D?b5(D):L||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,u)=>(s==null?void 0:s.source)===u?(s.lastIndex=0,s):new RegExp(u,"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,u,d){var R;let g,b,w;const E=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},S=D=>{if(D.indexOf(this.formatSeparator)<0){const j=hMt(s,E,D,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,u,{...d,...s,interpolationkey:D}):j}const L=D.split(this.formatSeparator),B=L.shift().trim(),$=L.join(this.formatSeparator).trim();return this.format(hMt(s,E,B,this.options.keySeparator,this.options.ignoreJSONStructure),$,u,{...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:D=>DCe(D)},{regex:this.regexp,safeValue:D=>this.escapeValue?DCe(this.escape(D)):DCe(D)}].forEach(D=>{for(w=0;g=D.regex.exec(i);){const L=g[1].trim();if(b=S(L),b===void 0)if(typeof x=="function"){const $=x(i,g,d);b=vo($)?$:""}else if(d&&Object.prototype.hasOwnProperty.call(d,L))b="";else if(A){b=g[0];continue}else this.logger.warn(`missed to pass in variable ${L} for interpolating ${i}`),b="";else!vo(b)&&!this.useRawValueToEscape&&(b=iMt(b));const B=D.safeValue(b);if(i=i.replace(g[0],B),A?(D.regex.lastIndex+=b.length,D.regex.lastIndex-=g[0].length):D.regex.lastIndex=0,w++,w>=this.maxReplaces)break}}),i}nest(i,s,u={}){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),D=C.match(/"/g);(((R==null?void 0:R.length)??0)%2===0&&!D||D.length%2!==0)&&(C=C.replace(/'/g,'"'));try{b=JSON.parse(C),S&&(b={...S,...b})}catch(L){return this.logger.warn(`failed parsing options string in nesting for key ${E}`,L),`${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={...u},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=iMt(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,u.lng,{...u,interpolationkey:d[1].trim()}),g.trim())),i=i.replace(d[0],g),this.regexp.lastIndex=0}return i}}const sRn=n=>{let i=n.toLowerCase().trim();const s={};if(n.indexOf("(")>-1){const u=n.split("(");i=u[0].toLowerCase().trim();const d=u[1].substring(0,u[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}},gMt=n=>{const i={};return(s,u,d)=>{let g=d;d&&d.interpolationkey&&d.formatParams&&d.formatParams[d.interpolationkey]&&d[d.interpolationkey]&&(g={...g,[d.interpolationkey]:void 0});const b=u+JSON.stringify(g);let w=i[b];return w||(w=n(zH(u),d),i[b]=w),w(s)}},aRn=n=>(i,s,u)=>n(zH(s),u)(i);class uRn{constructor(i={}){this.logger=L2.create("formatter"),this.options=i,this.init(i)}init(i,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const u=s.cacheInBuiltFormats?gMt:aRn;this.formats={number:u((d,g)=>{const b=new Intl.NumberFormat(d,{...g});return w=>b.format(w)}),currency:u((d,g)=>{const b=new Intl.NumberFormat(d,{...g,style:"currency"});return w=>b.format(w)}),datetime:u((d,g)=>{const b=new Intl.DateTimeFormat(d,{...g});return w=>b.format(w)}),relativetime:u((d,g)=>{const b=new Intl.RelativeTimeFormat(d,{...g});return w=>b.format(w,g.range||"day")}),list:u((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()]=gMt(s)}format(i,s,u,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}=sRn(E);if(this.formats[S]){let C=w;try{const R=((A=d==null?void 0:d.formatParams)==null?void 0:A[d.interpolationkey])||{},D=R.locale||R.lng||d.locale||d.lng||u;C=this.formats[S](w,D,{...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 cRn=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class lRn extends Gse{constructor(i,s,u,d={}){var g,b;super(),this.backend=i,this.store=s,this.services=u,this.languageUtils=u.languageUtils,this.options=d,this.logger=L2.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,u,d.backend,d)}queueLoad(i,s,u,d){const g={},b={},w={},E={};return i.forEach(S=>{let x=!0;s.forEach(A=>{const C=`${S}|${A}`;!u.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,u){const d=i.split("|"),g=d[0],b=d[1];s&&this.emit("failedLoading",g,b,s),!s&&u&&this.store.addResourceBundle(g,b,u,void 0,void 0,{skipCopy:!0}),this.state[i]=s?-1:2,s&&u&&(this.state[i]=0);const w={};this.queue.forEach(E=>{K4n(E.loaded,[g],b),cRn(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,u,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:u,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,u,d+1,g*2,b)},g);return}b(S,x)},E=this.backend[u].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,u={},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,u,d);if(!g.toLoad.length)return g.pending.length||d(),null;g.toLoad.forEach(b=>{this.loadOne(b)})}load(i,s,u){this.prepareLoading(i,s,{},u)}reload(i,s,u){this.prepareLoading(i,s,{reload:!0},u)}loadOne(i,s=""){const u=i.split("|"),d=u[0],g=u[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,u,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 "${u}" 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(!(u==null||u==="")){if((C=this.backend)!=null&&C.create){const R={...b,isUpdate:g},D=this.backend.create.bind(this.backend);if(D.length<6)try{let L;D.length===5?L=D(i,s,u,d,R):L=D(i,s,u,d),L&&typeof L.then=="function"?L.then(B=>w(null,B)).catch(w):w(null,L)}catch(L){w(L)}else D(i,s,u,d,w,R)}!i||!i[0]||this.store.addResource(i[0],s,u,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(u=>{i[u]=s[u]})}return i},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),bMt=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},die=()=>{},dRn=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=bMt(i),this.services={},this.logger=L2,this.modules={external:[]},dRn(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 u=MCe();this.options={...u,...this.options,...bMt(i)},this.options.interpolation={...u.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=u.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?L2.init(d(this.modules.logger),this.options):L2.init(null,this.options);let S;this.modules.formatter?S=this.modules.formatter:S=uRn;const x=new lMt(this.options);this.store=new uMt(this.options.resources,this.options);const A=this.services;A.logger=L2,A.resourceStore=this.store,A.languageUtils=x,A.pluralResolver=new oRn(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==u.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===u.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 pMt(this.options),A.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},A.backendConnector=new lRn(d(this.modules.backend),A.resourceStore,A,this.options),A.backendConnector.on("*",(R,...D)=>{this.emit(R,...D)}),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 Foe(this.services,this.options),this.translator.on("*",(R,...D)=>{this.emit(R,...D)}),this.modules.external.forEach(R=>{R.init&&R.init(this)})}if(this.format=this.options.interpolation.format,s||(s=die),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=die){var g,b;let u=s;const d=vo(i)?i:this.language;if(typeof i=="function"&&(u=i),!this.options.resources||this.options.partialBundledLanguages){if((d==null?void 0:d.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return u();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),u(S)})}else u(null)}reloadResources(i,s,u){const d=jU();return typeof i=="function"&&(u=i,i=void 0),typeof s=="function"&&(u=s,s=void 0),i||(i=this.languages),s||(s=this.options.ns),u||(u=die),this.services.backendConnector.reload(i,s,g=>{d.resolve(),u(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"&&hHt.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 u=this.languages[s];if(!(["cimode","dev"].indexOf(u)>-1)&&this.store.hasLanguageSomeTranslations(u)){this.resolvedLanguage=u;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 u=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,u.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),u}getFixedT(i,s,u){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||u||d.keyPrefix);const S=this.options.keySeparator||".";let x;return E.keyPrefix&&Array.isArray(g)?x=g.map(A=>(typeof A=="function"&&(A=rLe(A,{...this.options,...b})),`${E.keyPrefix}${S}${A}`)):(typeof g=="function"&&(g=rLe(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=u,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 u=s.lng||this.resolvedLanguage||this.languages[0],d=this.options?this.options.fallbackLng:!1,g=this.languages[this.languages.length-1];if(u.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(u,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||b(u,i)&&(!d||b(g,i)))}loadNamespaces(i,s){const u=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=>{u.resolve(),s&&s(d)}),u):(s&&s(),Promise.resolve())}loadLanguages(i,s){const u=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=>{u.resolve(),s&&s(b)}),u):(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"],u=((g=this.services)==null?void 0:g.languageUtils)||new lMt(MCe());return i.toLowerCase().indexOf("-latn")>1?"ltr":s.indexOf(u.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(i={},s){const u=new mH(i,s);return u.createInstance=mH.createInstance,u}cloneInstance(i={},s=die){const u=i.forkResourceStore;u&&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)},u){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 uMt(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 pMt(S)}return g.translator=new Foe(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 Xie=Hh.t;Hh.exists;Hh.setDefaultNamespace;Hh.hasLoadedNamespace;Hh.loadNamespaces;Hh.loadLanguages;const fRn=(n,i,s,u)=>{var g,b,w,E;const d=[s,{code:i,...u||{}}];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)},mMt={},gHt=(n,i,s,u)=>{lR(s)&&mMt[s]||(lR(s)&&(mMt[s]=new Date),fRn(n,i,s,u))},bHt=(n,i)=>()=>{if(n.isInitialized)i();else{const s=()=>{setTimeout(()=>{n.off("initialized",s)},0),i()};n.on("initialized",s)}},iLe=(n,i,s)=>{n.loadNamespaces(i,bHt(n,s))},wMt=(n,i,s,u)=>{if(lR(s)&&(s=[s]),n.options.preload&&n.options.preload.indexOf(i)>-1)return iLe(n,s,u);s.forEach(d=>{n.options.ns.indexOf(d)<0&&n.options.ns.push(d)}),n.loadLanguages(i,bHt(n,u))},hRn=(n,i,s={})=>!i.languages||!i.languages.length?(gHt(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:s.lng,precheck:(u,d)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&u.services.backendConnector.backend&&u.isLanguageChangingTo&&!d(u.isLanguageChangingTo,n))return!1}}),lR=n=>typeof n=="string",pRn=n=>typeof n=="object"&&n!==null,gRn=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,bRn={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},mRn=n=>bRn[n],wRn=n=>n.replace(gRn,mRn);let oLe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:wRn,transDefaultProps:void 0};const yRn=(n={})=>{oLe={...oLe,...n}},vRn=()=>oLe;let mHt;const ERn=n=>{mHt=n},SRn=()=>mHt,TRn={type:"3rdParty",init(n){yRn(n.options.react),ERn(n)}},wHt=H.createContext();class ARn{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var yHt={exports:{}},vHt={};/**
* @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 _Rn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var xRn=typeof Object.is=="function"?Object.is:_Rn,kRn=wM.useState,NRn=wM.useEffect,CRn=wM.useLayoutEffect,IRn=wM.useDebugValue;function RRn(n,i){var s=i(),u=kRn({inst:{value:s,getSnapshot:i}}),d=u[0].inst,g=u[1];return CRn(function(){d.value=s,d.getSnapshot=i,PCe(d)&&g({inst:d})},[n,s,i]),NRn(function(){return PCe(d)&&g({inst:d}),n(function(){PCe(d)&&g({inst:d})})},[n]),IRn(s),s}function PCe(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!xRn(n,s)}catch{return!0}}function ORn(n,i){return i()}var LRn=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?ORn:RRn;vHt.useSyncExternalStore=wM.useSyncExternalStore!==void 0?wM.useSyncExternalStore:LRn;yHt.exports=vHt;var EHt=yHt.exports;const DRn=(n,i)=>lR(i)?i:pRn(i)&&lR(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,MRn={t:DRn,ready:!1},PRn=()=>()=>{},ps=(n,i={})=>{var he,ge,ce;const{i18n:s}=i,{i18n:u,defaultNS:d}=H.useContext(wHt)||{},g=s||u||SRn();g&&!g.reportNamespaces&&(g.reportNamespaces=new ARn),g||gHt(g,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const b=H.useMemo(()=>{var fe;return{...vRn(),...(fe=g==null?void 0:g.options)==null?void 0:fe.react,...i}},[g,i]),{useSuspense:w,keyPrefix:E}=b,S=n||d||((he=g==null?void 0:g.options)==null?void 0:he.defaultNS),x=lR(S)?[S]:S||["translation"],A=H.useMemo(()=>x,x);(ce=(ge=g==null?void 0:g.reportNamespaces)==null?void 0:ge.addUsedNamespaces)==null||ce.call(ge,A);const C=H.useRef(0),R=H.useCallback(fe=>{if(!g)return PRn;const{bindI18n:K,bindI18nStore:pe}=b,Oe=()=>{C.current+=1,fe()};return K&&g.on(K,Oe),pe&&g.store.on(pe,Oe),()=>{K&&K.split(" ").forEach(Se=>g.off(Se,Oe)),pe&&pe.split(" ").forEach(Se=>g.store.off(Se,Oe))}},[g,b]),D=H.useRef(),L=H.useCallback(()=>{if(!g)return MRn;const fe=!!(g.isInitialized||g.initializedStoreOnce)&&A.every(Ae=>hRn(Ae,g,b)),K=i.lng||g.language,pe=C.current,Oe=D.current;if(Oe&&Oe.ready===fe&&Oe.lng===K&&Oe.keyPrefix===E&&Oe.revision===pe)return Oe;const De={t:g.getFixedT(K,b.nsMode==="fallback"?A:A[0],E),ready:fe,lng:K,keyPrefix:E,revision:pe};return D.current=De,De},[g,A,E,b,i.lng]),[B,$]=H.useState(0),{t:j,ready:P}=EHt.useSyncExternalStore(R,L,L);H.useEffect(()=>{if(g&&!P&&!w){const fe=()=>$(K=>K+1);i.lng?wMt(g,i.lng,A,fe):iLe(g,A,fe)}},[g,i.lng,A,P,w,B]);const G=g||{},ee=H.useRef(null),ne=H.useRef(),Q=fe=>{const K=Object.getOwnPropertyDescriptors(fe);K.__original&&delete K.__original;const pe=Object.create(Object.getPrototypeOf(fe),K);if(!Object.prototype.hasOwnProperty.call(pe,"__original"))try{Object.defineProperty(pe,"__original",{value:fe,writable:!1,enumerable:!1,configurable:!1})}catch{}return pe},ie=H.useMemo(()=>{const fe=G,K=fe==null?void 0:fe.language;let pe=fe;fe&&(ee.current&&ee.current.__original===fe?ne.current!==K?(pe=Q(fe),ee.current=pe,ne.current=K):pe=ee.current:(pe=Q(fe),ee.current=pe,ne.current=K));const Oe=[j,pe,P];return Oe.t=j,Oe.i18n=pe,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?wMt(g,i.lng,A,K):iLe(g,A,K)});return ie};function yMt({i18n:n,defaultNS:i,children:s}){const u=H.useMemo(()=>({i18n:n,defaultNS:i}),[n,i]);return H.createElement(wHt.Provider,{value:u},s)}function Bd(n){if(typeof n=="string"||typeof n=="number")return""+n;let i="";if(Array.isArray(n))for(let s=0,u;s<n.length;s++)(u=Bd(n[s]))!==""&&(i+=(i&&" ")+u);else for(let s in n)n[s]&&(i+=(i&&" ")+s);return i}var jRn={value:()=>{}};function qse(){for(var n=0,i=arguments.length,s={},u;n<i;++n){if(!(u=arguments[n]+"")||u in s||/[\s.]/.test(u))throw new Error("illegal type: "+u);s[u]=[]}return new Zie(s)}function Zie(n){this._=n}function FRn(n,i){return n.trim().split(/^|\s+/).map(function(s){var u="",d=s.indexOf(".");if(d>=0&&(u=s.slice(d+1),s=s.slice(0,d)),s&&!i.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:u}})}Zie.prototype=qse.prototype={constructor:Zie,on:function(n,i){var s=this._,u=FRn(n+"",s),d,g=-1,b=u.length;if(arguments.length<2){for(;++g<b;)if((d=(n=u[g]).type)&&(d=$Rn(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=u[g]).type)s[d]=vMt(s[d],n.name,i);else if(i==null)for(d in s)s[d]=vMt(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 Zie(n)},call:function(n,i){if((d=arguments.length-2)>0)for(var s=new Array(d),u=0,d,g;u<d;++u)s[u]=arguments[u+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(g=this._[n],u=0,d=g.length;u<d;++u)g[u].value.apply(i,s)},apply:function(n,i,s){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var u=this._[n],d=0,g=u.length;d<g;++d)u[d].value.apply(i,s)}};function $Rn(n,i){for(var s=0,u=n.length,d;s<u;++s)if((d=n[s]).name===i)return d.value}function vMt(n,i,s){for(var u=0,d=n.length;u<d;++u)if(n[u].name===i){n[u]=jRn,n=n.slice(0,u).concat(n.slice(u+1));break}return s!=null&&n.push({name:i,value:s}),n}var sLe="http://www.w3.org/1999/xhtml";const EMt={svg:"http://www.w3.org/2000/svg",xhtml:sLe,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)),EMt.hasOwnProperty(i)?{space:EMt[i],local:n}:n}function BRn(n){return function(){var i=this.ownerDocument,s=this.namespaceURI;return s===sLe&&i.documentElement.namespaceURI===sLe?i.createElement(n):i.createElementNS(s,n)}}function URn(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function SHt(n){var i=Vse(n);return(i.local?URn:BRn)(i)}function HRn(){}function E5e(n){return n==null?HRn:function(){return this.querySelector(n)}}function zRn(n){typeof n!="function"&&(n=E5e(n));for(var i=this._groups,s=i.length,u=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=u[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(u,this._parents)}function GRn(n){return n==null?[]:Array.isArray(n)?n:Array.from(n)}function qRn(){return[]}function THt(n){return n==null?qRn:function(){return this.querySelectorAll(n)}}function VRn(n){return function(){return GRn(n.apply(this,arguments))}}function WRn(n){typeof n=="function"?n=VRn(n):n=THt(n);for(var i=this._groups,s=i.length,u=[],d=[],g=0;g<s;++g)for(var b=i[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&(u.push(n.call(E,E.__data__,S,b)),d.push(E));return new zm(u,d)}function AHt(n){return function(){return this.matches(n)}}function _Ht(n){return function(i){return i.matches(n)}}var KRn=Array.prototype.find;function YRn(n){return function(){return KRn.call(this.children,n)}}function JRn(){return this.firstElementChild}function XRn(n){return this.select(n==null?JRn:YRn(typeof n=="function"?n:_Ht(n)))}var ZRn=Array.prototype.filter;function QRn(){return Array.from(this.children)}function eOn(n){return function(){return ZRn.call(this.children,n)}}function tOn(n){return this.selectAll(n==null?QRn:eOn(typeof n=="function"?n:_Ht(n)))}function nOn(n){typeof n!="function"&&(n=AHt(n));for(var i=this._groups,s=i.length,u=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=u[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new zm(u,this._parents)}function xHt(n){return new Array(n.length)}function rOn(){return new zm(this._enter||this._groups.map(xHt),this._parents)}function $oe(n,i){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=i}$oe.prototype={constructor:$oe,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 iOn(n){return function(){return n}}function oOn(n,i,s,u,d,g){for(var b=0,w,E=i.length,S=g.length;b<S;++b)(w=i[b])?(w.__data__=g[b],u[b]=w):s[b]=new $oe(n,g[b]);for(;b<E;++b)(w=i[b])&&(d[b]=w)}function sOn(n,i,s,u,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))?(u[w]=E,E.__data__=g[w],S.delete(R)):s[w]=new $oe(n,g[w]);for(w=0;w<x;++w)(E=i[w])&&S.get(C[w])===E&&(d[w]=E)}function aOn(n){return n.__data__}function uOn(n,i){if(!arguments.length)return Array.from(this,aOn);var s=i?sOn:oOn,u=this._parents,d=this._groups;typeof n!="function"&&(n=iOn(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=u[S],A=d[S],C=A.length,R=cOn(n.call(x,x&&x.__data__,S,u)),D=R.length,L=w[S]=new Array(D),B=b[S]=new Array(D),$=E[S]=new Array(C);s(x,A,L,B,$,R,i);for(var j=0,P=0,G,ee;j<D;++j)if(G=L[j]){for(j>=P&&(P=j+1);!(ee=B[P])&&++P<D;);G._next=ee||null}}return b=new zm(b,u),b._enter=w,b._exit=E,b}function cOn(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function lOn(){return new zm(this._exit||this._groups.map(xHt),this._parents)}function dOn(n,i,s){var u=this.enter(),d=this,g=this.exit();return typeof n=="function"?(u=n(u),u&&(u=u.selection())):u=u.append(n+""),i!=null&&(d=i(d),d&&(d=d.selection())),s==null?g.remove():s(g),u&&d?u.merge(d).order():d}function fOn(n){for(var i=n.selection?n.selection():n,s=this._groups,u=i._groups,d=s.length,g=u.length,b=Math.min(d,g),w=new Array(d),E=0;E<b;++E)for(var S=s[E],x=u[E],A=S.length,C=w[E]=new Array(A),R,D=0;D<A;++D)(R=S[D]||x[D])&&(C[D]=R);for(;E<d;++E)w[E]=s[E];return new zm(w,this._parents)}function hOn(){for(var n=this._groups,i=-1,s=n.length;++i<s;)for(var u=n[i],d=u.length-1,g=u[d],b;--d>=0;)(b=u[d])&&(g&&b.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(b,g),g=b);return this}function pOn(n){n||(n=gOn);function i(A,C){return A&&C?n(A.__data__,C.__data__):!A-!C}for(var s=this._groups,u=s.length,d=new Array(u),g=0;g<u;++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 gOn(n,i){return n<i?-1:n>i?1:n>=i?0:NaN}function bOn(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function mOn(){return Array.from(this)}function wOn(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var u=n[i],d=0,g=u.length;d<g;++d){var b=u[d];if(b)return b}return null}function yOn(){let n=0;for(const i of this)++n;return n}function vOn(){return!this.node()}function EOn(n){for(var i=this._groups,s=0,u=i.length;s<u;++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 SOn(n){return function(){this.removeAttribute(n)}}function TOn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function AOn(n,i){return function(){this.setAttribute(n,i)}}function _On(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function xOn(n,i){return function(){var s=i.apply(this,arguments);s==null?this.removeAttribute(n):this.setAttribute(n,s)}}function kOn(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 NOn(n,i){var s=Vse(n);if(arguments.length<2){var u=this.node();return s.local?u.getAttributeNS(s.space,s.local):u.getAttribute(s)}return this.each((i==null?s.local?TOn:SOn:typeof i=="function"?s.local?kOn:xOn:s.local?_On:AOn)(s,i))}function kHt(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function COn(n){return function(){this.style.removeProperty(n)}}function IOn(n,i,s){return function(){this.style.setProperty(n,i,s)}}function ROn(n,i,s){return function(){var u=i.apply(this,arguments);u==null?this.style.removeProperty(n):this.style.setProperty(n,u,s)}}function OOn(n,i,s){return arguments.length>1?this.each((i==null?COn:typeof i=="function"?ROn:IOn)(n,i,s??"")):yM(this.node(),n)}function yM(n,i){return n.style.getPropertyValue(i)||kHt(n).getComputedStyle(n,null).getPropertyValue(i)}function LOn(n){return function(){delete this[n]}}function DOn(n,i){return function(){this[n]=i}}function MOn(n,i){return function(){var s=i.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function POn(n,i){return arguments.length>1?this.each((i==null?LOn:typeof i=="function"?MOn:DOn)(n,i)):this.node()[n]}function NHt(n){return n.trim().split(/^|\s+/)}function S5e(n){return n.classList||new CHt(n)}function CHt(n){this._node=n,this._names=NHt(n.getAttribute("class")||"")}CHt.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 IHt(n,i){for(var s=S5e(n),u=-1,d=i.length;++u<d;)s.add(i[u])}function RHt(n,i){for(var s=S5e(n),u=-1,d=i.length;++u<d;)s.remove(i[u])}function jOn(n){return function(){IHt(this,n)}}function FOn(n){return function(){RHt(this,n)}}function $On(n,i){return function(){(i.apply(this,arguments)?IHt:RHt)(this,n)}}function BOn(n,i){var s=NHt(n+"");if(arguments.length<2){for(var u=S5e(this.node()),d=-1,g=s.length;++d<g;)if(!u.contains(s[d]))return!1;return!0}return this.each((typeof i=="function"?$On:i?jOn:FOn)(s,i))}function UOn(){this.textContent=""}function HOn(n){return function(){this.textContent=n}}function zOn(n){return function(){var i=n.apply(this,arguments);this.textContent=i??""}}function GOn(n){return arguments.length?this.each(n==null?UOn:(typeof n=="function"?zOn:HOn)(n)):this.node().textContent}function qOn(){this.innerHTML=""}function VOn(n){return function(){this.innerHTML=n}}function WOn(n){return function(){var i=n.apply(this,arguments);this.innerHTML=i??""}}function KOn(n){return arguments.length?this.each(n==null?qOn:(typeof n=="function"?WOn:VOn)(n)):this.node().innerHTML}function YOn(){this.nextSibling&&this.parentNode.appendChild(this)}function JOn(){return this.each(YOn)}function XOn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ZOn(){return this.each(XOn)}function QOn(n){var i=typeof n=="function"?n:SHt(n);return this.select(function(){return this.appendChild(i.apply(this,arguments))})}function e6n(){return null}function t6n(n,i){var s=typeof n=="function"?n:SHt(n),u=i==null?e6n:typeof i=="function"?i:E5e(i);return this.select(function(){return this.insertBefore(s.apply(this,arguments),u.apply(this,arguments)||null)})}function n6n(){var n=this.parentNode;n&&n.removeChild(this)}function r6n(){return this.each(n6n)}function i6n(){var n=this.cloneNode(!1),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function o6n(){var n=this.cloneNode(!0),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function s6n(n){return this.select(n?o6n:i6n)}function a6n(n){return arguments.length?this.property("__data__",n):this.node().__data__}function u6n(n){return function(i){n.call(this,i,this.__data__)}}function c6n(n){return n.trim().split(/^|\s+/).map(function(i){var s="",u=i.indexOf(".");return u>=0&&(s=i.slice(u+1),i=i.slice(0,u)),{type:i,name:s}})}function l6n(n){return function(){var i=this.__on;if(i){for(var s=0,u=-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[++u]=g;++u?i.length=u:delete this.__on}}}function d6n(n,i,s){return function(){var u=this.__on,d,g=u6n(i);if(u){for(var b=0,w=u.length;b<w;++b)if((d=u[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},u?u.push(d):this.__on=[d]}}function f6n(n,i,s){var u=c6n(n+""),d,g=u.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=u[d]).type===x.type&&b.name===x.name)return x.value}return}for(w=i?d6n:l6n,d=0;d<g;++d)this.each(w(u[d],i,s));return this}function OHt(n,i,s){var u=kHt(n),d=u.CustomEvent;typeof d=="function"?d=new d(i,s):(d=u.document.createEvent("Event"),s?(d.initEvent(i,s.bubbles,s.cancelable),d.detail=s.detail):d.initEvent(i,!1,!1)),n.dispatchEvent(d)}function h6n(n,i){return function(){return OHt(this,n,i)}}function p6n(n,i){return function(){return OHt(this,n,i.apply(this,arguments))}}function g6n(n,i){return this.each((typeof i=="function"?p6n:h6n)(n,i))}function*b6n(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var u=n[i],d=0,g=u.length,b;d<g;++d)(b=u[d])&&(yield b)}var LHt=[null];function zm(n,i){this._groups=n,this._parents=i}function Ez(){return new zm([[document.documentElement]],LHt)}function m6n(){return this}zm.prototype=Ez.prototype={constructor:zm,select:zRn,selectAll:WRn,selectChild:XRn,selectChildren:tOn,filter:nOn,data:uOn,enter:rOn,exit:lOn,join:dOn,merge:fOn,selection:m6n,order:hOn,sort:pOn,call:bOn,nodes:mOn,node:wOn,size:yOn,empty:vOn,each:EOn,attr:NOn,style:OOn,property:POn,classed:BOn,text:GOn,html:KOn,raise:JOn,lower:ZOn,append:QOn,insert:t6n,remove:r6n,clone:s6n,datum:a6n,on:f6n,dispatch:g6n,[Symbol.iterator]:b6n};function jm(n){return typeof n=="string"?new zm([[document.querySelector(n)]],[document.documentElement]):new zm([[n]],LHt)}function w6n(n){let i;for(;i=n.sourceEvent;)n=i;return n}function Nv(n,i){if(n=w6n(n),i===void 0&&(i=n.currentTarget),i){var s=i.ownerSVGElement||i;if(s.createSVGPoint){var u=s.createSVGPoint();return u.x=n.clientX,u.y=n.clientY,u=u.matrixTransform(i.getScreenCTM().inverse()),[u.x,u.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 y6n={passive:!1},GH={capture:!0,passive:!1};function jCe(n){n.stopImmediatePropagation()}function tM(n){n.preventDefault(),n.stopImmediatePropagation()}function DHt(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 MHt(n,i){var s=n.document.documentElement,u=jm(n).on("dragstart.drag",null);i&&(u.on("click.drag",tM,GH),setTimeout(function(){u.on("click.drag",null)},0)),"onselectstart"in s?u.on("selectstart.drag",null):(s.style.MozUserSelect=s.__noselect,delete s.__noselect)}const fie=n=>()=>n;function aLe(n,{sourceEvent:i,subject:s,target:u,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:u,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}})}aLe.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function v6n(n){return!n.ctrlKey&&!n.button}function E6n(){return this.parentNode}function S6n(n,i){return i??{x:n.x,y:n.y}}function T6n(){return navigator.maxTouchPoints||"ontouchstart"in this}function PHt(){var n=v6n,i=E6n,s=S6n,u=T6n,d={},g=qse("start","drag","end"),b=0,w,E,S,x,A=0;function C(G){G.on("mousedown.drag",R).filter(u).on("touchstart.drag",B).on("touchmove.drag",$,y6n).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 ne=P(this,i.call(this,G,ee),G,ee,"mouse");ne&&(jm(G.view).on("mousemove.drag",D,GH).on("mouseup.drag",L,GH),DHt(G.view),jCe(G),S=!1,w=G.clientX,E=G.clientY,ne("start",G))}}function D(G){if(tM(G),!S){var ee=G.clientX-w,ne=G.clientY-E;S=ee*ee+ne*ne>A}d.mouse("drag",G)}function L(G){jm(G.view).on("mousemove.drag mouseup.drag",null),MHt(G.view,S),tM(G),d.mouse("end",G)}function B(G,ee){if(n.call(this,G,ee)){var ne=G.changedTouches,Q=i.call(this,G,ee),ie=ne.length,he,ge;for(he=0;he<ie;++he)(ge=P(this,Q,G,ee,ne[he].identifier,ne[he]))&&(jCe(G),ge("start",G,ne[he]))}}function $(G){var ee=G.changedTouches,ne=ee.length,Q,ie;for(Q=0;Q<ne;++Q)(ie=d[ee[Q].identifier])&&(tM(G),ie("drag",G,ee[Q]))}function j(G){var ee=G.changedTouches,ne=ee.length,Q,ie;for(x&&clearTimeout(x),x=setTimeout(function(){x=null},500),Q=0;Q<ne;++Q)(ie=d[ee[Q].identifier])&&(jCe(G),ie("end",G,ee[Q]))}function P(G,ee,ne,Q,ie,he){var ge=g.copy(),ce=Nv(he||ne,ee),fe,K,pe;if((pe=s.call(G,new aLe("beforestart",{sourceEvent:ne,target:C,identifier:ie,active:b,x:ce[0],y:ce[1],dx:0,dy:0,dispatch:ge}),Q))!=null)return fe=pe.x-ce[0]||0,K=pe.y-ce[1]||0,function Oe(Se,De,Ae){var xe=ce,We;switch(Se){case"start":d[ie]=Oe,We=b++;break;case"end":delete d[ie],--b;case"drag":ce=Nv(Ae||De,ee),We=b;break}ge.call(Se,G,new aLe(Se,{sourceEvent:De,subject:pe,target:C,identifier:ie,active:We,x:ce[0]+fe,y:ce[1]+K,dx:ce[0]-xe[0],dy:ce[1]-xe[1],dispatch:ge}),Q)}}return C.filter=function(G){return arguments.length?(n=typeof G=="function"?G:fie(!!G),C):n},C.container=function(G){return arguments.length?(i=typeof G=="function"?G:fie(G),C):i},C.subject=function(G){return arguments.length?(s=typeof G=="function"?G:fie(G),C):s},C.touchable=function(G){return arguments.length?(u=typeof G=="function"?G:fie(!!G),C):u},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 jHt(n,i){var s=Object.create(n.prototype);for(var u in i)s[u]=i[u];return s}function Sz(){}var qH=.7,Boe=1/qH,nM="\\s*([+-]?\\d+)\\s*",VH="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",F2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A6n=/^#([0-9a-f]{3,8})$/,_6n=new RegExp(`^rgb\\(${nM},${nM},${nM}\\)$`),x6n=new RegExp(`^rgb\\(${F2},${F2},${F2}\\)$`),k6n=new RegExp(`^rgba\\(${nM},${nM},${nM},${VH}\\)$`),N6n=new RegExp(`^rgba\\(${F2},${F2},${F2},${VH}\\)$`),C6n=new RegExp(`^hsl\\(${VH},${F2},${F2}\\)$`),I6n=new RegExp(`^hsla\\(${VH},${F2},${F2},${VH}\\)$`),SMt={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(Sz,dR,{copy(n){return Object.assign(new this.constructor,this,n)},displayable(){return this.rgb().displayable()},hex:TMt,formatHex:TMt,formatHex8:R6n,formatHsl:O6n,formatRgb:AMt,toString:AMt});function TMt(){return this.rgb().formatHex()}function R6n(){return this.rgb().formatHex8()}function O6n(){return FHt(this).formatHsl()}function AMt(){return this.rgb().formatRgb()}function dR(n){var i,s;return n=(n+"").trim().toLowerCase(),(i=A6n.exec(n))?(s=i[1].length,i=parseInt(i[1],16),s===6?_Mt(i):s===3?new ab(i>>8&15|i>>4&240,i>>4&15|i&240,(i&15)<<4|i&15,1):s===8?hie(i>>24&255,i>>16&255,i>>8&255,(i&255)/255):s===4?hie(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=_6n.exec(n))?new ab(i[1],i[2],i[3],1):(i=x6n.exec(n))?new ab(i[1]*255/100,i[2]*255/100,i[3]*255/100,1):(i=k6n.exec(n))?hie(i[1],i[2],i[3],i[4]):(i=N6n.exec(n))?hie(i[1]*255/100,i[2]*255/100,i[3]*255/100,i[4]):(i=C6n.exec(n))?NMt(i[1],i[2]/100,i[3]/100,1):(i=I6n.exec(n))?NMt(i[1],i[2]/100,i[3]/100,i[4]):SMt.hasOwnProperty(n)?_Mt(SMt[n]):n==="transparent"?new ab(NaN,NaN,NaN,0):null}function _Mt(n){return new ab(n>>16&255,n>>8&255,n&255,1)}function hie(n,i,s,u){return u<=0&&(n=i=s=NaN),new ab(n,i,s,u)}function L6n(n){return n instanceof Sz||(n=dR(n)),n?(n=n.rgb(),new ab(n.r,n.g,n.b,n.opacity)):new ab}function uLe(n,i,s,u){return arguments.length===1?L6n(n):new ab(n,i,s,u??1)}function ab(n,i,s,u){this.r=+n,this.g=+i,this.b=+s,this.opacity=+u}T5e(ab,uLe,jHt(Sz,{brighter(n){return n=n==null?Boe:Math.pow(Boe,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),Uoe(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:xMt,formatHex:xMt,formatHex8:D6n,formatRgb:kMt,toString:kMt}));function xMt(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}`}function D6n(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}${Z4((isNaN(this.opacity)?1:this.opacity)*255)}`}function kMt(){const n=Uoe(this.opacity);return`${n===1?"rgb(":"rgba("}${tR(this.r)}, ${tR(this.g)}, ${tR(this.b)}${n===1?")":`, ${n})`}`}function Uoe(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 NMt(n,i,s,u){return u<=0?n=i=s=NaN:s<=0||s>=1?n=i=NaN:i<=0&&(n=NaN),new Iv(n,i,s,u)}function FHt(n){if(n instanceof Iv)return new Iv(n.h,n.s,n.l,n.opacity);if(n instanceof Sz||(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,u=n.b/255,d=Math.min(i,s,u),g=Math.max(i,s,u),b=NaN,w=g-d,E=(g+d)/2;return w?(i===g?b=(s-u)/w+(s<u)*6:s===g?b=(u-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 M6n(n,i,s,u){return arguments.length===1?FHt(n):new Iv(n,i,s,u??1)}function Iv(n,i,s,u){this.h=+n,this.s=+i,this.l=+s,this.opacity=+u}T5e(Iv,M6n,jHt(Sz,{brighter(n){return n=n==null?Boe:Math.pow(Boe,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,u=s+(s<.5?s:1-s)*i,d=2*s-u;return new ab(FCe(n>=240?n-240:n+120,d,u),FCe(n,d,u),FCe(n<120?n+240:n-120,d,u),this.opacity)},clamp(){return new Iv(CMt(this.h),pie(this.s),pie(this.l),Uoe(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=Uoe(this.opacity);return`${n===1?"hsl(":"hsla("}${CMt(this.h)}, ${pie(this.s)*100}%, ${pie(this.l)*100}%${n===1?")":`, ${n})`}`}}));function CMt(n){return n=(n||0)%360,n<0?n+360:n}function pie(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 P6n(n,i){return function(s){return n+s*i}}function j6n(n,i,s){return n=Math.pow(n,s),i=Math.pow(i,s)-n,s=1/s,function(u){return Math.pow(n+u*i,s)}}function F6n(n){return(n=+n)==1?$Ht:function(i,s){return s-i?j6n(i,s,n):A5e(isNaN(i)?s:i)}}function $Ht(n,i){var s=i-n;return s?P6n(n,s):A5e(isNaN(n)?i:n)}const Hoe=function n(i){var s=F6n(i);function u(d,g){var b=s((d=uLe(d)).r,(g=uLe(g)).r),w=s(d.g,g.g),E=s(d.b,g.b),S=$Ht(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 u.gamma=n,u}(1);function $6n(n,i){i||(i=[]);var s=n?Math.min(i.length,n.length):0,u=i.slice(),d;return function(g){for(d=0;d<s;++d)u[d]=n[d]*(1-g)+i[d]*g;return u}}function B6n(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function U6n(n,i){var s=i?i.length:0,u=n?Math.min(s,n.length):0,d=new Array(u),g=new Array(s),b;for(b=0;b<u;++b)d[b]=wH(n[b],i[b]);for(;b<s;++b)g[b]=i[b];return function(w){for(b=0;b<u;++b)g[b]=d[b](w);return g}}function H6n(n,i){var s=new Date;return n=+n,i=+i,function(u){return s.setTime(n*(1-u)+i*u),s}}function C2(n,i){return n=+n,i=+i,function(s){return n*(1-s)+i*s}}function z6n(n,i){var s={},u={},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]):u[d]=i[d];return function(g){for(d in s)u[d]=s[d](g);return u}}var cLe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$Ce=new RegExp(cLe.source,"g");function G6n(n){return function(){return n}}function q6n(n){return function(i){return n(i)+""}}function BHt(n,i){var s=cLe.lastIndex=$Ce.lastIndex=0,u,d,g,b=-1,w=[],E=[];for(n=n+"",i=i+"";(u=cLe.exec(n))&&(d=$Ce.exec(i));)(g=d.index)>s&&(g=i.slice(s,g),w[b]?w[b]+=g:w[++b]=g),(u=u[0])===(d=d[0])?w[b]?w[b]+=d:w[++b]=d:(w[++b]=null,E.push({i:b,x:C2(u,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]?q6n(E[0].x):G6n(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,u;return i==null||s==="boolean"?A5e(i):(s==="number"?C2:s==="string"?(u=dR(i))?(i=u,Hoe):BHt:i instanceof dR?Hoe:i instanceof Date?H6n:B6n(i)?$6n:Array.isArray(i)?U6n:typeof i.valueOf!="function"&&typeof i.toString!="function"||isNaN(i)?z6n:C2)(n,i)}var IMt=180/Math.PI,lLe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function UHt(n,i,s,u,d,g){var b,w,E;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(E=n*s+i*u)&&(s-=n*E,u-=i*E),(w=Math.sqrt(s*s+u*u))&&(s/=w,u/=w,E/=w),n*u<i*s&&(n=-n,i=-i,E=-E,b=-b),{translateX:d,translateY:g,rotate:Math.atan2(i,n)*IMt,skewX:Math.atan(E)*IMt,scaleX:b,scaleY:w}}var gie;function V6n(n){const i=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return i.isIdentity?lLe:UHt(i.a,i.b,i.c,i.d,i.e,i.f)}function W6n(n){return n==null||(gie||(gie=document.createElementNS("http://www.w3.org/2000/svg","g")),gie.setAttribute("transform",n),!(n=gie.transform.baseVal.consolidate()))?lLe:(n=n.matrix,UHt(n.a,n.b,n.c,n.d,n.e,n.f))}function HHt(n,i,s,u){function d(S){return S.length?S.pop()+" ":""}function g(S,x,A,C,R,D){if(S!==A||x!==C){var L=R.push("translate(",null,i,null,s);D.push({i:L-4,x:C2(S,A)},{i:L-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,u)-2,x:C2(S,x)})):x&&A.push(d(A)+"rotate("+x+u)}function w(S,x,A,C){S!==x?C.push({i:A.push(d(A)+"skewX(",null,u)-2,x:C2(S,x)}):x&&A.push(d(A)+"skewX("+x+u)}function E(S,x,A,C,R,D){if(S!==A||x!==C){var L=R.push(d(R)+"scale(",null,",",null,")");D.push({i:L-4,x:C2(S,A)},{i:L-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 D=-1,L=C.length,B;++D<L;)A[(B=C[D]).i]=B.x(R);return A.join("")}}}var K6n=HHt(V6n,"px, ","px)","deg)"),Y6n=HHt(W6n,", ",")",")"),J6n=1e-12;function RMt(n){return((n=Math.exp(n))+1/n)/2}function X6n(n){return((n=Math.exp(n))-1/n)/2}function Z6n(n){return((n=Math.exp(2*n))-1)/(n+1)}const Qie=function n(i,s,u){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,D=A-E,L=R*R+D*D,B,$;if(L<J6n)$=Math.log(C/S)/i,B=function(Q){return[w+Q*R,E+Q*D,S*Math.exp(i*Q*$)]};else{var j=Math.sqrt(L),P=(C*C-S*S+u*L)/(2*S*s*j),G=(C*C-S*S-u*L)/(2*C*s*j),ee=Math.log(Math.sqrt(P*P+1)-P),ne=Math.log(Math.sqrt(G*G+1)-G);$=(ne-ee)/i,B=function(Q){var ie=Q*$,he=RMt(ee),ge=S/(s*j)*(he*Z6n(i*ie+ee)-X6n(ee));return[w+ge*R,E+ge*D,S*he/RMt(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,zHt=1e3,zoe,XU,Goe=0,fR=0,Wse=0,WH=typeof performance=="object"&&performance.now?performance:Date,GHt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function _5e(){return fR||(GHt(Q6n),fR=WH.now()+Wse)}function Q6n(){fR=0}function qoe(){this._call=this._time=this._next=null}qoe.prototype=qHt.prototype={constructor:qoe,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:zoe=this,XU=this),this._call=n,this._time=s,dLe()},stop:function(){this._call&&(this._call=null,this._time=1/0,dLe())}};function qHt(n,i,s){var u=new qoe;return u.restart(n,i,s),u}function eLn(){_5e(),++vM;for(var n=zoe,i;n;)(i=fR-n._time)>=0&&n._call.call(void 0,i),n=n._next;--vM}function OMt(){fR=(Goe=WH.now())+Wse,vM=JU=0;try{eLn()}finally{vM=0,nLn(),fR=0}}function tLn(){var n=WH.now(),i=n-Goe;i>zHt&&(Wse-=i,Goe=n)}function nLn(){for(var n,i=zoe,s,u=1/0;i;)i._call?(u>i._time&&(u=i._time),n=i,i=i._next):(s=i._next,i._next=null,i=n?n._next=s:zoe=s);XU=n,dLe(u)}function dLe(n){if(!vM){JU&&(JU=clearTimeout(JU));var i=n-fR;i>24?(n<1/0&&(JU=setTimeout(OMt,n-WH.now()-Wse)),FU&&(FU=clearInterval(FU))):(FU||(Goe=WH.now(),FU=setInterval(tLn,zHt)),vM=1,GHt(OMt))}}function LMt(n,i,s){var u=new qoe;return i=i==null?0:+i,u.restart(d=>{u.stop(),n(d+i)},i,s),u}var rLn=qse("start","end","cancel","interrupt"),iLn=[],VHt=0,DMt=1,fLe=2,eoe=3,MMt=4,hLe=5,toe=6;function Kse(n,i,s,u,d,g){var b=n.__transition;if(!b)n.__transition={};else if(s in b)return;oLn(n,s,{name:i,index:u,group:d,on:rLn,tween:iLn,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:VHt})}function x5e(n,i){var s=Bv(n,i);if(s.state>VHt)throw new Error("too late; already scheduled");return s}function W2(n,i){var s=Bv(n,i);if(s.state>eoe)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 oLn(n,i,s){var u=n.__transition,d;u[i]=s,s.timer=qHt(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 u)if(R=u[x],R.name===s.name){if(R.state===eoe)return LMt(b);R.state===MMt?(R.state=toe,R.timer.stop(),R.on.call("interrupt",n,n.__data__,R.index,R.group),delete u[x]):+x<i&&(R.state=toe,R.timer.stop(),R.on.call("cancel",n,n.__data__,R.index,R.group),delete u[x])}if(LMt(function(){s.state===eoe&&(s.state=MMt,s.timer.restart(w,s.delay,s.time),w(S))}),s.state=fLe,s.on.call("start",n,n.__data__,s.index,s.group),s.state===fLe){for(s.state=eoe,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=hLe,1),A=-1,C=d.length;++A<C;)d[A].call(n,x);s.state===hLe&&(s.on.call("end",n,n.__data__,s.index,s.group),E())}function E(){s.state=toe,s.timer.stop(),delete u[i];for(var S in u)return;delete n.__transition}}function noe(n,i){var s=n.__transition,u,d,g=!0,b;if(s){i=i==null?null:i+"";for(b in s){if((u=s[b]).name!==i){g=!1;continue}d=u.state>fLe&&u.state<hLe,u.state=toe,u.timer.stop(),u.on.call(d?"interrupt":"cancel",n,n.__data__,u.index,u.group),delete s[b]}g&&delete n.__transition}}function sLn(n){return this.each(function(){noe(this,n)})}function aLn(n,i){var s,u;return function(){var d=W2(this,n),g=d.tween;if(g!==s){u=s=g;for(var b=0,w=u.length;b<w;++b)if(u[b].name===i){u=u.slice(),u.splice(b,1);break}}d.tween=u}}function uLn(n,i,s){var u,d;if(typeof s!="function")throw new Error;return function(){var g=W2(this,n),b=g.tween;if(b!==u){d=(u=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 cLn(n,i){var s=this._id;if(n+="",arguments.length<2){for(var u=Bv(this.node(),s).tween,d=0,g=u.length,b;d<g;++d)if((b=u[d]).name===n)return b.value;return null}return this.each((i==null?aLn:uLn)(s,n,i))}function k5e(n,i,s){var u=n._id;return n.each(function(){var d=W2(this,u);(d.value||(d.value={}))[i]=s.apply(this,arguments)}),function(d){return Bv(d,u).value[i]}}function WHt(n,i){var s;return(typeof i=="number"?C2:i instanceof dR?Hoe:(s=dR(i))?(i=s,Hoe):BHt)(n,i)}function lLn(n){return function(){this.removeAttribute(n)}}function dLn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function fLn(n,i,s){var u,d=s+"",g;return function(){var b=this.getAttribute(n);return b===d?null:b===u?g:g=i(u=b,s)}}function hLn(n,i,s){var u,d=s+"",g;return function(){var b=this.getAttributeNS(n.space,n.local);return b===d?null:b===u?g:g=i(u=b,s)}}function pLn(n,i,s){var u,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===u&&E===d?g:(d=E,g=i(u=b,w)))}}function gLn(n,i,s){var u,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===u&&E===d?g:(d=E,g=i(u=b,w)))}}function bLn(n,i){var s=Vse(n),u=s==="transform"?Y6n:WHt;return this.attrTween(n,typeof i=="function"?(s.local?gLn:pLn)(s,u,k5e(this,"attr."+n,i)):i==null?(s.local?dLn:lLn)(s):(s.local?hLn:fLn)(s,u,i))}function mLn(n,i){return function(s){this.setAttribute(n,i.call(this,s))}}function wLn(n,i){return function(s){this.setAttributeNS(n.space,n.local,i.call(this,s))}}function yLn(n,i){var s,u;function d(){var g=i.apply(this,arguments);return g!==u&&(s=(u=g)&&wLn(n,g)),s}return d._value=i,d}function vLn(n,i){var s,u;function d(){var g=i.apply(this,arguments);return g!==u&&(s=(u=g)&&mLn(n,g)),s}return d._value=i,d}function ELn(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 u=Vse(n);return this.tween(s,(u.local?yLn:vLn)(u,i))}function SLn(n,i){return function(){x5e(this,n).delay=+i.apply(this,arguments)}}function TLn(n,i){return i=+i,function(){x5e(this,n).delay=i}}function ALn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?SLn:TLn)(i,n)):Bv(this.node(),i).delay}function _Ln(n,i){return function(){W2(this,n).duration=+i.apply(this,arguments)}}function xLn(n,i){return i=+i,function(){W2(this,n).duration=i}}function kLn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?_Ln:xLn)(i,n)):Bv(this.node(),i).duration}function NLn(n,i){if(typeof i!="function")throw new Error;return function(){W2(this,n).ease=i}}function CLn(n){var i=this._id;return arguments.length?this.each(NLn(i,n)):Bv(this.node(),i).ease}function ILn(n,i){return function(){var s=i.apply(this,arguments);if(typeof s!="function")throw new Error;W2(this,n).ease=s}}function RLn(n){if(typeof n!="function")throw new Error;return this.each(ILn(this._id,n))}function OLn(n){typeof n!="function"&&(n=AHt(n));for(var i=this._groups,s=i.length,u=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=u[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new yA(u,this._parents,this._name,this._id)}function LLn(n){if(n._id!==this._id)throw new Error;for(var i=this._groups,s=n._groups,u=i.length,d=s.length,g=Math.min(u,d),b=new Array(u),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<u;++w)b[w]=i[w];return new yA(b,this._parents,this._name,this._id)}function DLn(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 MLn(n,i,s){var u,d,g=DLn(i)?x5e:W2;return function(){var b=g(this,n),w=b.on;w!==u&&(d=(u=w).copy()).on(i,s),b.on=d}}function PLn(n,i){var s=this._id;return arguments.length<2?Bv(this.node(),s).on.on(n):this.each(MLn(s,n,i))}function jLn(n){return function(){var i=this.parentNode;for(var s in this.__transition)if(+s!==n)return;i&&i.removeChild(this)}}function FLn(){return this.on("end.remove",jLn(this._id))}function $Ln(n){var i=this._name,s=this._id;typeof n!="function"&&(n=E5e(n));for(var u=this._groups,d=u.length,g=new Array(d),b=0;b<d;++b)for(var w=u[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 BLn(n){var i=this._name,s=this._id;typeof n!="function"&&(n=THt(n));for(var u=this._groups,d=u.length,g=[],b=[],w=0;w<d;++w)for(var E=u[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,D=Bv(x,s),L=0,B=C.length;L<B;++L)(R=C[L])&&Kse(R,i,s,L,C,D);g.push(C),b.push(x)}return new yA(g,b,i,s)}var ULn=Ez.prototype.constructor;function HLn(){return new ULn(this._groups,this._parents)}function zLn(n,i){var s,u,d;return function(){var g=yM(this,n),b=(this.style.removeProperty(n),yM(this,n));return g===b?null:g===s&&b===u?d:d=i(s=g,u=b)}}function KHt(n){return function(){this.style.removeProperty(n)}}function GLn(n,i,s){var u,d=s+"",g;return function(){var b=yM(this,n);return b===d?null:b===u?g:g=i(u=b,s)}}function qLn(n,i,s){var u,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===u&&E===d?g:(d=E,g=i(u=b,w))}}function VLn(n,i){var s,u,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=KHt(i)):void 0;(S!==s||d!==x)&&(u=(s=S).copy()).on(b,d=x),E.on=u}}function WLn(n,i,s){var u=(n+="")=="transform"?K6n:WHt;return i==null?this.styleTween(n,zLn(n,u)).on("end.style."+n,KHt(n)):typeof i=="function"?this.styleTween(n,qLn(n,u,k5e(this,"style."+n,i))).each(VLn(this._id,n)):this.styleTween(n,GLn(n,u,i),s).on("end.style."+n,null)}function KLn(n,i,s){return function(u){this.style.setProperty(n,i.call(this,u),s)}}function YLn(n,i,s){var u,d;function g(){var b=i.apply(this,arguments);return b!==d&&(u=(d=b)&&KLn(n,b,s)),u}return g._value=i,g}function JLn(n,i,s){var u="style."+(n+="");if(arguments.length<2)return(u=this.tween(u))&&u._value;if(i==null)return this.tween(u,null);if(typeof i!="function")throw new Error;return this.tween(u,YLn(n,i,s??""))}function XLn(n){return function(){this.textContent=n}}function ZLn(n){return function(){var i=n(this);this.textContent=i??""}}function QLn(n){return this.tween("text",typeof n=="function"?ZLn(k5e(this,"text",n)):XLn(n==null?"":n+""))}function eDn(n){return function(i){this.textContent=n.call(this,i)}}function tDn(n){var i,s;function u(){var d=n.apply(this,arguments);return d!==s&&(i=(s=d)&&eDn(d)),i}return u._value=n,u}function nDn(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,tDn(n))}function rDn(){for(var n=this._name,i=this._id,s=YHt(),u=this._groups,d=u.length,g=0;g<d;++g)for(var b=u[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(u,this._parents,n,s)}function iDn(){var n,i,s=this,u=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,u),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 oDn=0;function yA(n,i,s,u){this._groups=n,this._parents=i,this._name=s,this._id=u}function YHt(){return++oDn}var nA=Ez.prototype;yA.prototype={constructor:yA,select:$Ln,selectAll:BLn,selectChild:nA.selectChild,selectChildren:nA.selectChildren,filter:OLn,merge:LLn,selection:HLn,transition:rDn,call:nA.call,nodes:nA.nodes,node:nA.node,size:nA.size,empty:nA.empty,each:nA.each,on:PLn,attr:bLn,attrTween:ELn,style:WLn,styleTween:JLn,text:QLn,textTween:nDn,remove:FLn,tween:cLn,delay:ALn,duration:kLn,ease:CLn,easeVarying:RLn,end:iDn,[Symbol.iterator]:nA[Symbol.iterator]};function sDn(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var aDn={time:null,delay:0,duration:250,ease:sDn};function uDn(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 cDn(n){var i,s;n instanceof yA?(i=n._id,n=n._name):(i=YHt(),(s=aDn).time=_5e(),n=n==null?null:n+"");for(var u=this._groups,d=u.length,g=0;g<d;++g)for(var b=u[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&Kse(E,n,i,S,b,s||uDn(E,i));return new yA(u,this._parents,n,i)}Ez.prototype.interrupt=sLn;Ez.prototype.transition=cDn;const bie=n=>()=>n;function lDn(n,{sourceEvent:i,target:s,transform:u,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:u,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);JHt.prototype=lA.prototype;function JHt(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 dDn(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function fDn(){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 PMt(){return this.__zoom||Yse}function hDn(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function pDn(){return navigator.maxTouchPoints||"ontouchstart"in this}function gDn(n,i,s){var u=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>u?(u+d)/2:Math.min(0,u)||Math.max(0,d),b>g?(g+b)/2:Math.min(0,g)||Math.max(0,b))}function XHt(){var n=dDn,i=fDn,s=gDn,u=hDn,d=pDn,g=[0,1/0],b=[[-1/0,-1/0],[1/0,1/0]],w=250,E=Qie,S=qse("start","zoom","end"),x,A,C,R=500,D=150,L=0,B=10;function $(pe){pe.property("__zoom",PMt).on("wheel.zoom",ie,{passive:!1}).on("mousedown.zoom",he).on("dblclick.zoom",ge).filter(d).on("touchstart.zoom",ce).on("touchmove.zoom",fe).on("touchend.zoom touchcancel.zoom",K).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}$.transform=function(pe,Oe,Se,De){var Ae=pe.selection?pe.selection():pe;Ae.property("__zoom",PMt),pe!==Ae?ee(pe,Oe,Se,De):Ae.interrupt().each(function(){ne(this,arguments).event(De).start().zoom(null,typeof Oe=="function"?Oe.apply(this,arguments):Oe).end()})},$.scaleBy=function(pe,Oe,Se,De){$.scaleTo(pe,function(){var Ae=this.__zoom.k,xe=typeof Oe=="function"?Oe.apply(this,arguments):Oe;return Ae*xe},Se,De)},$.scaleTo=function(pe,Oe,Se,De){$.transform(pe,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,De)},$.translateBy=function(pe,Oe,Se,De){$.transform(pe,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,De)},$.translateTo=function(pe,Oe,Se,De,Ae){$.transform(pe,function(){var xe=i.apply(this,arguments),We=this.__zoom,dt=De==null?G(xe):typeof De=="function"?De.apply(this,arguments):De;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)},De,Ae)};function j(pe,Oe){return Oe=Math.max(g[0],Math.min(g[1],Oe)),Oe===pe.k?pe:new lA(Oe,pe.x,pe.y)}function P(pe,Oe,Se){var De=Oe[0]-Se[0]*pe.k,Ae=Oe[1]-Se[1]*pe.k;return De===pe.x&&Ae===pe.y?pe:new lA(pe.k,De,Ae)}function G(pe){return[(+pe[0][0]+ +pe[1][0])/2,(+pe[0][1]+ +pe[1][1])/2]}function ee(pe,Oe,Se,De){pe.on("start.zoom",function(){ne(this,arguments).event(De).start()}).on("interrupt.zoom end.zoom",function(){ne(this,arguments).event(De).end()}).tween("zoom",function(){var Ae=this,xe=arguments,We=ne(Ae,xe).event(De),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 ne(pe,Oe,Se){return!Se&&pe.__zooming||new Q(pe,Oe)}function Q(pe,Oe){this.that=pe,this.args=Oe,this.active=0,this.sourceEvent=null,this.extent=i.apply(pe,Oe),this.taps=0}Q.prototype={event:function(pe){return pe&&(this.sourceEvent=pe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(pe,Oe){return this.mouse&&pe!=="mouse"&&(this.mouse[1]=Oe.invert(this.mouse[0])),this.touch0&&pe!=="touch"&&(this.touch0[1]=Oe.invert(this.touch0[0])),this.touch1&&pe!=="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(pe){var Oe=jm(this.that).datum();S.call(pe,this.that,new lDn(pe,{sourceEvent:this.sourceEvent,target:$,transform:this.that.__zoom,dispatch:S}),Oe)}};function ie(pe,...Oe){if(!n.apply(this,arguments))return;var Se=ne(this,Oe).event(pe),De=this.__zoom,Ae=Math.max(g[0],Math.min(g[1],De.k*Math.pow(2,u.apply(this,arguments)))),xe=Nv(pe);if(Se.wheel)(Se.mouse[0][0]!==xe[0]||Se.mouse[0][1]!==xe[1])&&(Se.mouse[1]=De.invert(Se.mouse[0]=xe)),clearTimeout(Se.wheel);else{if(De.k===Ae)return;Se.mouse=[xe,De.invert(xe)],noe(this),Se.start()}$U(pe),Se.wheel=setTimeout(We,D),Se.zoom("mouse",s(P(j(De,Ae),Se.mouse[0],Se.mouse[1]),Se.extent,b));function We(){Se.wheel=null,Se.end()}}function he(pe,...Oe){if(C||!n.apply(this,arguments))return;var Se=pe.currentTarget,De=ne(this,Oe,!0).event(pe),Ae=jm(pe.view).on("mousemove.zoom",Ue,!0).on("mouseup.zoom",bt,!0),xe=Nv(pe,Se),We=pe.clientX,dt=pe.clientY;DHt(pe.view),BCe(pe),De.mouse=[xe,this.__zoom.invert(xe)],noe(this),De.start();function Ue(kt){if($U(kt),!De.moved){var ht=kt.clientX-We,Xt=kt.clientY-dt;De.moved=ht*ht+Xt*Xt>L}De.event(kt).zoom("mouse",s(P(De.that.__zoom,De.mouse[0]=Nv(kt,Se),De.mouse[1]),De.extent,b))}function bt(kt){Ae.on("mousemove.zoom mouseup.zoom",null),MHt(kt.view,De.moved),$U(kt),De.event(kt).end()}}function ge(pe,...Oe){if(n.apply(this,arguments)){var Se=this.__zoom,De=Nv(pe.changedTouches?pe.changedTouches[0]:pe,this),Ae=Se.invert(De),xe=Se.k*(pe.shiftKey?.5:2),We=s(P(j(Se,xe),De,Ae),i.apply(this,Oe),b);$U(pe),w>0?jm(this).transition().duration(w).call(ee,We,De,pe):jm(this).call($.transform,We,De,pe)}}function ce(pe,...Oe){if(n.apply(this,arguments)){var Se=pe.touches,De=Se.length,Ae=ne(this,Oe,pe.changedTouches.length===De).event(pe),xe,We,dt,Ue;for(BCe(pe),We=0;We<De;++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)),noe(this),Ae.start())}}function fe(pe,...Oe){if(this.__zooming){var Se=ne(this,Oe).event(pe),De=pe.changedTouches,Ae=De.length,xe,We,dt,Ue;for($U(pe),xe=0;xe<Ae;++xe)We=De[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(pe,...Oe){if(this.__zooming){var Se=ne(this,Oe).event(pe),De=pe.changedTouches,Ae=De.length,xe,We;for(BCe(pe),C&&clearTimeout(C),C=setTimeout(function(){C=null},R),xe=0;xe<Ae;++xe)We=De[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(pe){return arguments.length?(u=typeof pe=="function"?pe:bie(+pe),$):u},$.filter=function(pe){return arguments.length?(n=typeof pe=="function"?pe:bie(!!pe),$):n},$.touchable=function(pe){return arguments.length?(d=typeof pe=="function"?pe:bie(!!pe),$):d},$.extent=function(pe){return arguments.length?(i=typeof pe=="function"?pe:bie([[+pe[0][0],+pe[0][1]],[+pe[1][0],+pe[1][1]]]),$):i},$.scaleExtent=function(pe){return arguments.length?(g[0]=+pe[0],g[1]=+pe[1],$):[g[0],g[1]]},$.translateExtent=function(pe){return arguments.length?(b[0][0]=+pe[0][0],b[1][0]=+pe[1][0],b[0][1]=+pe[0][1],b[1][1]=+pe[1][1],$):[[b[0][0],b[0][1]],[b[1][0],b[1][1]]]},$.constrain=function(pe){return arguments.length?(s=pe,$):s},$.duration=function(pe){return arguments.length?(w=+pe,$):w},$.interpolate=function(pe){return arguments.length?(E=pe,$):E},$.on=function(){var pe=S.on.apply(S,arguments);return pe===S?$:pe},$.clickDistance=function(pe){return arguments.length?(L=(pe=+pe)*pe,$):Math.sqrt(L)},$.tapDistance=function(pe){return arguments.length?(B=+pe,$):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:u})=>`Couldn't create edge for ${n} handle id: "${n==="source"?s:u}", 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]],ZHt=["Enter"," ","Escape"],QHt={"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 ezt={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 jMt={[qr.Left]:qr.Right,[qr.Right]:qr.Left,[qr.Top]:qr.Bottom,[qr.Bottom]:qr.Top};function tzt(n){return n===null?null:n?"valid":"invalid"}const nzt=n=>"id"in n&&"source"in n&&"target"in n,bDn=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),Tz=(n,i=[0,0])=>{const{width:s,height:u}=_A(n),d=n.origin??i,g=s*d[0],b=u*d[1];return{x:n.position.x-g,y:n.position.y-b}},mDn=(n,i={nodeOrigin:[0,0]})=>{if(n.length===0)return{x:0,y:0,width:0,height:0};const s=n.reduce((u,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?Voe(b,i.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Jse(u,w)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Xse(s)},Az=(n,i={})=>{let s={x:1/0,y:1/0,x2:-1/0,y2:-1/0},u=!1;return n.forEach(d=>{(i.filter===void 0||i.filter(d))&&(s=Jse(s,Voe(d)),u=!0)}),u?Xse(s):{x:0,y:0,width:0,height:0}},C5e=(n,i,[s,u,d]=[0,0,1],g=!1,b=!1)=>{const w={...xz(i,[s,u,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,D=x.height??S.height??S.initialHeight??null,L=JH(w,TM(S)),B=(R??0)*(D??0),$=g&&L>0;(!S.internals.handleBounds||$||L>=B||S.dragging)&&E.push(S)}return E},wDn=(n,i)=>{const s=new Set;return n.forEach(u=>{s.add(u.id)}),i.filter(u=>s.has(u.source)||s.has(u.target))};function yDn(n,i){const s=new Map,u=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)&&(!u||u.has(d.id))&&s.set(d.id,d)}),s}async function vDn({nodes:n,width:i,height:s,panZoom:u,minZoom:d,maxZoom:g},b){if(n.size===0)return Promise.resolve(!0);const w=yDn(n,b),E=Az(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 u.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 rzt({nodeId:n,nextPosition:i,nodeLookup:s,nodeOrigin:u=[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??u;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,D=w.measured.height;R&&D&&(A=[[E,S],[E+R,S+D]])}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 EDn({nodesToRemove:n=[],edgesToRemove:i=[],nodes:s,edges:u,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),D=!R&&C.parentId&&b.find(L=>L.id===C.parentId);(R||D)&&b.push(C)}const w=new Set(i.map(C=>C.id)),E=u.filter(C=>C.deletable!==!1),x=wDn(b,E);for(const C of E)w.has(C.id)&&!x.find(D=>D.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 izt(n,i,s){const{width:u,height:d}=_A(s),{x:g,y:b}=s.internals.positionAbsolute;return hR(n,[[g,b],[g+u,b+d]],i)}const FMt=(n,i,s)=>n<i?SM(Math.abs(n-i),1,i)/i:n>s?-SM(Math.abs(n-s),1,i)/i:0,ozt=(n,i,s=15,u=40)=>{const d=FMt(n.x,u,i.width-u)*s,g=FMt(n.y,u,i.height-u)*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)}),pLe=({x:n,y:i,width:s,height:u})=>({x:n,y:i,x2:n+s,y2:i+u}),Xse=({x:n,y:i,x2:s,y2:u})=>({x:n,y:i,width:s-n,height:u-i}),TM=(n,i=[0,0])=>{var d,g;const{x:s,y:u}=N5e(n)?n.internals.positionAbsolute:Tz(n,i);return{x:s,y:u,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}},Voe=(n,i=[0,0])=>{var d,g;const{x:s,y:u}=N5e(n)?n.internals.positionAbsolute:Tz(n,i);return{x:s,y:u,x2:s+(((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0),y2:u+(((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0)}},szt=(n,i)=>Xse(Jse(pLe(n),pLe(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)),u=Math.max(0,Math.min(n.y+n.height,i.y+i.height)-Math.max(n.y,i.y));return Math.ceil(s*u)},$Mt=n=>Rv(n.width)&&Rv(n.height)&&Rv(n.x)&&Rv(n.y),Rv=n=>!isNaN(n)&&isFinite(n),SDn=(n,i)=>{},_z=(n,i=[1,1])=>({x:i[0]*Math.round(n.x/i[0]),y:i[1]*Math.round(n.y/i[1])}),xz=({x:n,y:i},[s,u,d],g=!1,b=[1,1])=>{const w={x:(n-s)/d,y:(i-u)/d};return g?_z(w,b):w},Woe=({x:n,y:i},[s,u,d])=>({x:n*d+s,y:i*d+u});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 TDn(n,i,s){if(typeof n=="string"||typeof n=="number"){const u=m5(n,s),d=m5(n,i);return{top:u,right:d,bottom:u,left:d,x:d*2,y:u*2}}if(typeof n=="object"){const u=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:u,right:b,bottom:d,left:g,x:g+b,y:u+d}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function ADn(n,i,s,u,d,g){const{x:b,y:w}=Woe(n,[i,s,u]),{x:E,y:S}=Woe({x:n.x+n.width,y:n.y+n.height},[i,s,u]),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,u,d,g)=>{const b=TDn(g,i,s),w=(i-b.x)/n.width,E=(s-b.y)/n.height,S=Math.min(w,E),x=SM(S,u,d),A=n.x+n.width/2,C=n.y+n.height/2,R=i/2-A*x,D=s/2-C*x,L=ADn(n,R,D,x,i,s),B={left:Math.min(L.left-b.left,0),top:Math.min(L.top-b.top,0),right:Math.min(L.right-b.right,0),bottom:Math.min(L.bottom-b.bottom,0)};return{x:R-B.left+B.right,y:D-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 azt(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 uzt(n,i={width:0,height:0},s,u,d){const g={...n},b=u.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 BMt(n,i){if(n.size!==i.size)return!1;for(const s of n)if(!i.has(s))return!1;return!0}function _Dn(){let n,i;return{promise:new Promise((u,d)=>{n=u,i=d}),resolve:n,reject:i}}function xDn(n){return{...QHt,...n||{}}}function yH(n,{snapGrid:i=[0,0],snapToGrid:s=!1,transform:u,containerBounds:d}){const{x:g,y:b}=Ov(n),w=xz({x:g-((d==null?void 0:d.left)??0),y:b-((d==null?void 0:d.top)??0)},u),{x:E,y:S}=s?_z(w,i):w;return{xSnapped:E,ySnapped:S,...w}}const R5e=n=>({width:n.offsetWidth,height:n.offsetHeight}),czt=n=>{var i;return((i=n==null?void 0:n.getRootNode)==null?void 0:i.call(n))||(window==null?void 0:window.document)},kDn=["INPUT","SELECT","TEXTAREA"];function lzt(n){var u,d;const i=((d=(u=n.composedPath)==null?void 0:u.call(n))==null?void 0:d[0])||n.target;return(i==null?void 0:i.nodeType)!==1?!1:kDn.includes(i.nodeName)||i.hasAttribute("contenteditable")||!!i.closest(".nokey")}const dzt=n=>"clientX"in n,Ov=(n,i)=>{var g,b;const s=dzt(n),u=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:u-((i==null?void 0:i.left)??0),y:d-((i==null?void 0:i.top)??0)}},UMt=(n,i,s,u,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)/u,y:(w.top-s.top)/u,...R5e(b)}})};function fzt({sourceX:n,sourceY:i,targetX:s,targetY:u,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+u*.125,x=Math.abs(E-n),A=Math.abs(S-i);return[E,S,x,A]}function mie(n,i){return n>=0?.5*n:i*25*Math.sqrt(-n)}function HMt({pos:n,x1:i,y1:s,x2:u,y2:d,c:g}){switch(n){case qr.Left:return[i-mie(i-u,g),s];case qr.Right:return[i+mie(u-i,g),s];case qr.Top:return[i,s-mie(s-d,g)];case qr.Bottom:return[i,s+mie(d-s,g)]}}function hzt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:u,targetY:d,targetPosition:g=qr.Top,curvature:b=.25}){const[w,E]=HMt({pos:s,x1:n,y1:i,x2:u,y2:d,c:b}),[S,x]=HMt({pos:g,x1:u,y1:d,x2:n,y2:i,c:b}),[A,C,R,D]=fzt({sourceX:n,sourceY:i,targetX:u,targetY:d,sourceControlX:w,sourceControlY:E,targetControlX:S,targetControlY:x});return[`M${n},${i} C${w},${E} ${S},${x} ${u},${d}`,A,C,R,D]}function pzt({sourceX:n,sourceY:i,targetX:s,targetY:u}){const d=Math.abs(s-n)/2,g=s<n?s+d:s-d,b=Math.abs(u-i)/2,w=u<i?u+b:u-b;return[g,w,d,b]}function NDn({sourceNode:n,targetNode:i,selected:s=!1,zIndex:u=0,elevateOnSelect:d=!1,zIndexMode:g="basic"}){if(g==="manual")return u;const b=d&&s?u+1e3:u,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 CDn({sourceNode:n,targetNode:i,width:s,height:u,transform:d}){const g=Jse(Voe(n),Voe(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:u/d[2]};return JH(b,Xse(g))>0}const IDn=({source:n,sourceHandle:i,target:s,targetHandle:u})=>`xy-edge__${n}${i||""}-${s}${u||""}`,RDn=(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)),gzt=(n,i,s={})=>{if(!n.source||!n.target)return i;const u=s.getEdgeId||IDn;let d;return nzt(n)?d={...n}:d={...n,id:u(n)},RDn(d,i)?i:(d.sourceHandle===null&&delete d.sourceHandle,d.targetHandle===null&&delete d.targetHandle,i.concat(d))};function bzt({sourceX:n,sourceY:i,targetX:s,targetY:u}){const[d,g,b,w]=pzt({sourceX:n,sourceY:i,targetX:s,targetY:u});return[`M ${n},${i}L ${s},${u}`,d,g,b,w]}const zMt={[qr.Left]:{x:-1,y:0},[qr.Right]:{x:1,y:0},[qr.Top]:{x:0,y:-1},[qr.Bottom]:{x:0,y:1}},ODn=({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},GMt=(n,i)=>Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2));function LDn({source:n,sourcePosition:i=qr.Bottom,target:s,targetPosition:u=qr.Top,center:d,offset:g,stepPosition:b}){const w=zMt[i],E=zMt[u],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=ODn({source:S,sourcePosition:i,target:x}),C=A.x!==0?"x":"y",R=A[C];let D=[],L,B;const $={x:0,y:0},j={x:0,y:0},[,,P,G]=pzt({sourceX:n.x,sourceY:n.y,targetX:s.x,targetY:s.y});if(w[C]*E[C]===-1){C==="x"?(L=d.x??S.x+(x.x-S.x)*b,B=d.y??(S.y+x.y)/2):(L=d.x??(S.x+x.x)/2,B=d.y??S.y+(x.y-S.y)*b);const ne=[{x:L,y:S.y},{x:L,y:x.y}],Q=[{x:S.x,y:B},{x:x.x,y:B}];w[C]===R?D=C==="x"?ne:Q:D=C==="x"?Q:ne}else{const ne=[{x:S.x,y:x.y}],Q=[{x:x.x,y:S.y}];if(C==="x"?D=w.x===R?Q:ne:D=w.y===R?ne:Q,i===u){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!==u){const fe=C==="x"?"y":"x",K=w[C]===E[fe],pe=S[fe]>x[fe],Oe=S[fe]<x[fe];(w[C]===1&&(!K&&pe||K&&Oe)||w[C]!==1&&(!K&&Oe||K&&pe))&&(D=C==="x"?ne:Q)}const ie={x:S.x+$.x,y:S.y+$.y},he={x:x.x+j.x,y:x.y+j.y},ge=Math.max(Math.abs(ie.x-D[0].x),Math.abs(he.x-D[0].x)),ce=Math.max(Math.abs(ie.y-D[0].y),Math.abs(he.y-D[0].y));ge>=ce?(L=(ie.x+he.x)/2,B=D[0].y):(L=D[0].x,B=(ie.y+he.y)/2)}return[[n,{x:S.x+$.x,y:S.y+$.y},...D,{x:x.x+j.x,y:x.y+j.y},s],L,B,P,G]}function DDn(n,i,s,u){const d=Math.min(GMt(n,i)/2,GMt(i,s)/2,u),{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 Koe({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:u,targetY:d,targetPosition:g=qr.Top,borderRadius:b=5,centerX:w,centerY:E,offset:S=20,stepPosition:x=.5}){const[A,C,R,D,L]=LDn({source:{x:n,y:i},sourcePosition:s,target:{x:u,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=DDn(A[P-1],j,A[P+1],b):G=`${P===0?"M":"L"}${j.x} ${j.y}`,$+=G,$},""),C,R,D,L]}function qMt(n){var i;return n&&!!(n.internals.handleBounds||(i=n.handles)!=null&&i.length)&&!!(n.measured.width||n.width||n.initialWidth)}function MDn(n){var A;const{sourceNode:i,targetNode:s}=n;if(!qMt(i)||!qMt(s))return null;const u=i.internals.handleBounds||VMt(i.handles),d=s.internals.handleBounds||VMt(s.handles),g=WMt((u==null?void 0:u.source)??[],n.sourceHandle),b=WMt(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 VMt(n){if(!n)return null;const i=[],s=[];for(const u of n)u.width=u.width??1,u.height=u.height??1,u.type==="source"?i.push(u):u.type==="target"&&s.push(u);return{source:i,target:s}}function pR(n,i,s=qr.Left,u=!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(u)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 WMt(n,i){return n&&(i?n.find(s=>s.id===i):n[0])||null}function gLe(n,i){return n?typeof n=="string"?n:`${i?`${i}__`:""}${Object.keys(n).sort().map(u=>`${u}=${n[u]}`).join("&")}`:""}function PDn(n,{id:i,defaultColor:s,defaultMarkerStart:u,defaultMarkerEnd:d}){const g=new Set;return n.reduce((b,w)=>([w.markerStart||u,w.markerEnd||d].forEach(E=>{if(E&&typeof E=="object"){const S=gLe(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 mzt=1e3,jDn=10,O5e={nodeOrigin:[0,0],nodeExtent:KH,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},FDn={...O5e,checkEquality:!0};function L5e(n,i){const s={...n};for(const u in i)i[u]!==void 0&&(s[u]=i[u]);return s}function $Dn(n,i,s){const u=L5e(O5e,s);for(const d of n.values())if(d.parentId)M5e(d,n,i,u);else{const g=Tz(d,u.nodeOrigin),b=AM(d.extent)?d.extent:u.nodeExtent,w=hR(g,b,_A(d));d.internals.positionAbsolute=w}}function BDn(n,i){if(!n.handles)return n.measured?i==null?void 0:i.internals.handleBounds:void 0;const s=[],u=[];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"&&u.push(g)}return{source:s,target:u}}function D5e(n){return n==="manual"}function bLe(n,i,s,u={}){var S,x;const d=L5e(FDn,u),g={i:0},b=new Map(i),w=d!=null&&d.elevateNodesOnSelect&&!D5e(d.zIndexMode)?mzt: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=Tz(A,d.nodeOrigin),D=AM(A.extent)?A.extent:d.nodeExtent,L=hR(R,D,_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:L,handleBounds:BDn(A,C),z:wzt(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,u,g)}return E}function UDn(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,u,d){const{elevateNodesOnSelect:g,nodeOrigin:b,nodeExtent:w,zIndexMode:E}=L5e(O5e,u),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}UDn(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*jDn),d&&x.internals.rootParentIndex!==void 0&&(d.i=x.internals.rootParentIndex);const A=g&&!D5e(E)?mzt:0,{x:C,y:R,z:D}=HDn(n,x,b,w,A,E),{positionAbsolute:L}=n.internals,B=C!==L.x||R!==L.y;(B||D!==n.internals.z)&&i.set(n.id,{...n,internals:{...n.internals,positionAbsolute:B?{x:C,y:R}:L,z:D}})}function wzt(n,i,s){const u=Rv(n.zIndex)?n.zIndex:0;return D5e(s)?u:u+(n.selected?i:0)}function HDn(n,i,s,u,d,g){const{x:b,y:w}=i.internals.positionAbsolute,E=_A(n),S=Tz(n,s),x=AM(n.extent)?hR(S,n.extent,E):S;let A=hR({x:b+x.x,y:w+x.y},u,E);n.extent==="parent"&&(A=izt(A,E,i));const C=wzt(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,u=[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=szt(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??u,R=w.x<x.x?Math.round(Math.abs(x.x-w.x)):0,D=w.y<x.y?Math.round(Math.abs(x.y-w.y)):0,L=Math.max(A.width,Math.round(w.width)),B=Math.max(A.height,Math.round(w.height)),$=(L-A.width)*C[0],j=(B-A.height)*C[1];(R>0||D>0||$||j)&&(d.push({id:S,type:"position",position:{x:E.position.x-R+$,y:E.position.y-D+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+D}})})),(A.width<w.width||A.height<w.height||R||D)&&d.push({id:S,type:"dimensions",setAttributes:!0,dimensions:{width:L+(R?C[0]*R-$:0),height:B+(D?C[1]*D-j:0)}})}),d}function zDn(n,i,s,u,d,g,b){const w=u==null?void 0:u.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 D=i.get(R.id);if(!D)continue;if(D.hidden){i.set(D.id,{...D,internals:{...D.internals,handleBounds:void 0}}),E=!0;continue}const L=R5e(R.nodeElement),B=D.measured.width!==L.width||D.measured.height!==L.height;if(!!(L.width&&L.height&&(B||!D.internals.handleBounds||R.force))){const j=R.nodeElement.getBoundingClientRect(),P=AM(D.extent)?D.extent:g;let{positionAbsolute:G}=D.internals;D.parentId&&D.extent==="parent"?G=izt(G,L,i.get(D.parentId)):P&&(G=hR(G,P,L));const ee={...D,measured:L,internals:{...D.internals,positionAbsolute:G,handleBounds:{source:UMt("source",R.nodeElement,j,A,D.id),target:UMt("target",R.nodeElement,j,A,D.id)}}};i.set(D.id,ee),D.parentId&&M5e(ee,i,s,{nodeOrigin:d,zIndexMode:b}),E=!0,B&&(S.push({id:D.id,type:"dimensions",dimensions:L}),D.expandParent&&D.parentId&&C.push({id:D.id,parentId:D.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 GDn({delta:n,panZoom:i,transform:s,translateExtent:u,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]],u),w=!!b&&(b.x!==s[0]||b.y!==s[1]||b.k!==s[2]);return Promise.resolve(w)}function KMt(n,i,s,u,d,g){let b=d;const w=u.get(b)||new Map;u.set(b,w.set(s,i)),b=`${d}-${n}`;const E=u.get(b)||new Map;if(u.set(b,E.set(s,i)),g){b=`${d}-${n}-${g}`;const S=u.get(b)||new Map;u.set(b,S.set(s,i))}}function yzt(n,i,s){n.clear(),i.clear();for(const u of s){const{source:d,target:g,sourceHandle:b=null,targetHandle:w=null}=u,E={edgeId:u.id,source:d,target:g,sourceHandle:b,targetHandle:w},S=`${d}-${b}--${g}-${w}`,x=`${g}-${w}--${d}-${b}`;KMt("source",E,x,n,d,b),KMt("target",E,S,n,g,w),i.set(u.id,u)}}function vzt(n,i){if(!n.parentId)return!1;const s=i.get(n.parentId);return s?s.selected?!0:vzt(s,i):!1}function YMt(n,i,s){var d;let u=n;do{if((d=u==null?void 0:u.matches)!=null&&d.call(u,i))return!0;if(u===s)return!1;u=u==null?void 0:u.parentElement}while(u);return!1}function qDn(n,i,s,u){const d=new Map;for(const[g,b]of n)if((b.selected||b.id===u)&&(!b.parentId||!vzt(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:u=!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:u})}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:u}:d[0],d]}function VDn({dragItems:n,snapGrid:i,x:s,y:u}){const d=n.values().next().value;if(!d)return null;const g={x:s-d.distance.x,y:u-d.distance.y},b=_z(g,i);return{x:b.x-g.x,y:b.y-g.y}}function WDn({onNodeMouseDown:n,getStoreItems:i,onDragStart:s,onDrag:u,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,D=!1,L=null;function B({noDragClassName:j,handleSelector:P,domNode:G,isSelectable:ee,nodeId:ne,nodeClickDistance:Q=0}){C=jm(G);function ie({x:fe,y:K}){const{nodeLookup:pe,nodeExtent:Oe,snapGrid:Se,snapToGrid:De,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?pLe(Az(w)):null,Xt=kt&&De?VDn({dragItems:w,snapGrid:Se,x:fe,y:K}):null;for(const[vt,Ct]of w){if(!pe.has(vt))continue;let Ft={x:fe-Ct.distance.x,y:K-Ct.distance.y};De&&(Ft=Xt?{x:Math.round(Ft.x+Xt.x),y:Math.round(Ft.y+Xt.y)}:_z(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}=rzt({nodeId:vt,nextPosition:Ft,nodeLookup:pe,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(D=D||bt,!!bt&&(Ue(w,!0),L&&(u||xe||!ne&&We))){const[vt,Ct]=UCe({nodeId:ne,dragItems:w,nodeLookup:pe});u==null||u(L,w,vt,Ct),xe==null||xe(L,vt,Ct),ne||We==null||We(L,Ct)}}async function he(){if(!x)return;const{transform:fe,panBy:K,autoPanSpeed:pe,autoPanOnNodeDrag:Oe}=i();if(!Oe){E=!1,cancelAnimationFrame(b);return}const[Se,De]=ozt(S,x,pe);(Se!==0||De!==0)&&(g.x=(g.x??0)-Se/fe[2],g.y=(g.y??0)-De/fe[2],await K({x:Se,y:De})&&ie(g)),b=requestAnimationFrame(he)}function ge(fe){var kt;const{nodeLookup:K,multiSelectionActive:pe,nodesDraggable:Oe,transform:Se,snapGrid:De,snapToGrid:Ae,selectNodesOnDrag:xe,onNodeDragStart:We,onSelectionDragStart:dt,unselectNodesAndEdges:Ue}=i();A=!0,(!xe||!ee)&&!pe&&ne&&((kt=K.get(ne))!=null&&kt.selected||Ue()),ee&&xe&&ne&&(n==null||n(ne));const bt=yH(fe.sourceEvent,{transform:Se,snapGrid:De,snapToGrid:Ae,containerBounds:x});if(g=bt,w=qDn(K,Oe,bt,ne),w.size>0&&(s||We||!ne&&dt)){const[ht,Xt]=UCe({nodeId:ne,dragItems:w,nodeLookup:K});s==null||s(fe.sourceEvent,w,ht,Xt),We==null||We(fe.sourceEvent,ht,Xt),ne||dt==null||dt(fe.sourceEvent,Xt)}}const ce=PHt().clickDistance(Q).on("start",fe=>{const{domNode:K,nodeDragThreshold:pe,transform:Oe,snapGrid:Se,snapToGrid:De}=i();x=(K==null?void 0:K.getBoundingClientRect())||null,R=!1,D=!1,L=fe.sourceEvent,pe===0&&ge(fe),g=yH(fe.sourceEvent,{transform:Oe,snapGrid:Se,snapToGrid:De,containerBounds:x}),S=Ov(fe.sourceEvent,x)}).on("drag",fe=>{const{autoPanOnNodeDrag:K,transform:pe,snapGrid:Oe,snapToGrid:Se,nodeDragThreshold:De,nodeLookup:Ae}=i(),xe=yH(fe.sourceEvent,{transform:pe,snapGrid:Oe,snapToGrid:Se,containerBounds:x});if(L=fe.sourceEvent,(fe.sourceEvent.type==="touchmove"&&fe.sourceEvent.touches.length>1||ne&&!Ae.has(ne))&&(R=!0),!R){if(!E&&K&&A&&(E=!0,he()),!A){const We=Ov(fe.sourceEvent,x),dt=We.x-S.x,Ue=We.y-S.y;Math.sqrt(dt*dt+Ue*Ue)>De&&ge(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:pe,onNodeDragStop:Oe,onSelectionDragStop:Se}=i();if(D&&(pe(w,!1),D=!1),d||Oe||!ne&&Se){const[De,Ae]=UCe({nodeId:ne,dragItems:w,nodeLookup:K,dragging:!1});d==null||d(fe.sourceEvent,w,De,Ae),Oe==null||Oe(fe.sourceEvent,De,Ae),ne||Se==null||Se(fe.sourceEvent,Ae)}}}).filter(fe=>{const K=fe.target;return!fe.button&&(!j||!YMt(K,`.${j}`,G))&&(!P||YMt(K,P,G))});C.call(ce)}function $(){C==null||C.on(".drag",null)}return{update:B,destroy:$}}function KDn(n,i,s){const u=[],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&&u.push(g);return u}const YDn=250;function JDn(n,i,s,u){var w,E;let d=[],g=1/0;const b=KDn(n,s,i+YDn);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(u.nodeId===A.nodeId&&u.type===A.type&&u.id===A.id)continue;const{x:C,y:R}=pR(S,A,A.position,!0),D=Math.sqrt(Math.pow(C-n.x,2)+Math.pow(R-n.y,2));D>i||(D<g?(d=[{...A,x:C,y:R}],g=D):D===g&&d.push({...A,x:C,y:R}))}}if(!d.length)return null;if(d.length>1){const S=u.type==="source"?"target":"source";return d.find(x=>x.type===S)??d[0]}return d[0]}function Ezt(n,i,s,u,d,g=!1){var S,x,A;const b=u.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 Szt(n,i){return n||(i!=null&&i.classList.contains("target")?"target":i!=null&&i.classList.contains("source")?"source":null)}function XDn(n,i){let s=null;return i?s=!0:n&&!i&&(s=!1),s}const Tzt=()=>!0;function ZDn(n,{connectionMode:i,connectionRadius:s,handleId:u,nodeId:d,edgeUpdaterType:g,isTarget:b,domNode:w,nodeLookup:E,lib:S,autoPanOnConnect:x,flowId:A,panBy:C,cancelConnection:R,onConnectStart:D,onConnect:L,onConnectEnd:B,isValidConnection:$=Tzt,onReconnectEnd:j,updateConnection:P,getTransform:G,getFromHandle:ee,autoPanSpeed:ne,dragThreshold:Q=1,handleDomNode:ie}){const he=czt(n.target);let ge=0,ce;const{x:fe,y:K}=Ov(n),pe=Szt(g,ie),Oe=w==null?void 0:w.getBoundingClientRect();let Se=!1;if(!Oe||!pe)return;const De=Ezt(d,pe,u,E,i);if(!De)return;let Ae=Ov(n,Oe),xe=!1,We=null,dt=!1,Ue=null;function bt(){if(!x||!Oe)return;const[Zn,Yn]=ozt(Ae,Oe,ne);C({x:Zn,y:Yn}),ge=requestAnimationFrame(bt)}const kt={...De,nodeId:d,type:pe,position:De.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:jMt[kt.position],toNode:null,pointer:Ae};function Ct(){Se=!0,P(vt),D==null||D(n,{nodeId:d,handleId:u,handleType:pe})}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),ce=JDn(xz(Ae,Yn,!1,[1,1]),s,E,kt),xe||(bt(),xe=!0);const vr=Azt(Zn,{handle:ce,connectionMode:i,fromNodeId:d,fromHandleId:u,fromType:b?"target":"source",isValidConnection:$,doc:he,lib:S,flowId:A,nodeLookup:E});Ue=vr.handleDomNode,We=vr.connection,dt=XDn(!!ce,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?Woe({x:vr.toHandle.x,y:vr.toHandle.y},Yn):Ae,toHandle:vr.toHandle,toPosition:dt&&vr.toHandle?vr.toHandle.position:jMt[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){(ce||Ue)&&We&&dt&&(L==null||L(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(ge),xe=!1,dt=!1,We=null,Ue=null,he.removeEventListener("mousemove",Ft),he.removeEventListener("mouseup",On),he.removeEventListener("touchmove",Ft),he.removeEventListener("touchend",On)}}he.addEventListener("mousemove",Ft),he.addEventListener("mouseup",On),he.addEventListener("touchmove",Ft),he.addEventListener("touchend",On)}function Azt(n,{handle:i,connectionMode:s,fromNodeId:u,fromHandleId:d,fromType:g,doc:b,lib:w,flowId:E,isValidConnection:S=Tzt,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:D}=Ov(n),L=b.elementFromPoint(R,D),B=L!=null&&L.classList.contains(`${w}-flow__handle`)?L:C,$={handleDomNode:B,isValid:!1,connection:null,toHandle:null};if(B){const j=Szt(void 0,B),P=B.getAttribute("data-nodeid"),G=B.getAttribute("data-handleid"),ee=B.classList.contains("connectable"),ne=B.classList.contains("connectableend");if(!P||!j)return $;const Q={source:A?P:u,sourceHandle:A?G:d,target:A?u:P,targetHandle:A?d:G};$.connection=Q;const he=ee&&ne&&(s===EM.Strict?A&&j==="source"||!A&&j==="target":P!==u||G!==d);$.isValid=he&&S(Q),$.toHandle=Ezt(P,j,G,x,s,!0)}return $}const mLe={onPointerDown:ZDn,isValid:Azt};function QDn({domNode:n,panZoom:i,getTransform:s,getViewScale:u}){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 D=P=>{if(P.sourceEvent.type!=="wheel"||!i)return;const G=s(),ee=P.sourceEvent.ctrlKey&&XH()?10:1,ne=-P.sourceEvent.deltaY*(P.sourceEvent.deltaMode===1?.05:P.sourceEvent.deltaMode?1:.002)*x,Q=G[2]*Math.pow(2,ne*ee);i.scaleTo(Q)};let L=[0,0];const B=P=>{(P.sourceEvent.type==="mousedown"||P.sourceEvent.type==="touchstart")&&(L=[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],ne=[ee[0]-L[0],ee[1]-L[1]];L=ee;const Q=u()*Math.max(G[2],Math.log(G[2]))*(R?-1:1),ie={x:G[0]-ne[0]*Q,y:G[1]-ne[1]*Q},he=[[0,0],[E,S]];i.setViewportConstrained({x:ie.x,y:ie.y,zoom:G[2]},he,w)},j=XHt().on("start",B).on("zoom",A?$:null).on("zoom.wheel",C?D: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}`),_zt=(n,i)=>i===2&&Array.isArray(n)&&n.includes(2),e5n=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,zCe=(n,i=0,s=e5n,u=()=>{})=>{const d=typeof i=="number"&&i>0;return d||u(),d?n.transition().duration(i).ease(s).on("end",u):n},xzt=n=>{const i=n.ctrlKey&&XH()?10:1;return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*i};function t5n({zoomPanValues:n,noWheelClassName:i,d3Selection:s,d3Zoom:u,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),$=xzt(x),j=A*Math.pow(2,$);u.scaleTo(s,j,B,x);return}const C=x.deltaMode===1?20:1;let R=d===nR.Vertical?0:x.deltaX*C,D=d===nR.Horizontal?0:x.deltaY*C;!XH()&&x.shiftKey&&d!==nR.Vertical&&(R=x.deltaY*C,D=0),u.translateBy(s,-(R/A)*g,-(D/A)*g,{internal:!0});const L=Zse(s.property("__zoom"));clearTimeout(n.panScrollTimeout),n.isPanScrolling?(E==null||E(x,L),n.panScrollTimeout=setTimeout(()=>{S==null||S(x,L),n.isPanScrolling=!1},150)):(n.isPanScrolling=!0,w==null||w(x,L))}}function n5n({noWheelClassName:n,preventScrolling:i,d3ZoomHandler:s}){return function(u,d){const g=u.type==="wheel",b=!i&&g&&!u.ctrlKey,w=H5(u,n);if(u.ctrlKey&&g&&w&&u.preventDefault(),b||w)return null;u.preventDefault(),s.call(this,u,d)}}function r5n({zoomPanValues:n,onDraggingChange:i,onPanZoomStart:s}){return u=>{var g,b,w;if((g=u.sourceEvent)!=null&&g.internal)return;const d=Zse(u.transform);n.mouseButton=((b=u.sourceEvent)==null?void 0:b.button)||0,n.isZoomingOrPanning=!0,n.prevViewport=d,((w=u.sourceEvent)==null?void 0:w.type)==="mousedown"&&i(!0),s&&(s==null||s(u.sourceEvent,d))}}function i5n({zoomPanValues:n,panOnDrag:i,onPaneContextMenu:s,onTransformChange:u,onPanZoom:d}){return g=>{var b,w;n.usedRightMouseButton=!!(s&&_zt(i,n.mouseButton??0)),(b=g.sourceEvent)!=null&&b.sync||u([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 o5n({zoomPanValues:n,panOnDrag:i,panOnScroll:s,onDraggingChange:u,onPanZoomEnd:d,onPaneContextMenu:g}){return b=>{var w;if(!((w=b.sourceEvent)!=null&&w.internal)&&(n.isZoomingOrPanning=!1,g&&_zt(i,n.mouseButton??0)&&!n.usedRightMouseButton&&b.sourceEvent&&g(b.sourceEvent),n.usedRightMouseButton=!1,u(!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 s5n({zoomActivationKeyPressed:n,zoomOnScroll:i,zoomOnPinch:s,panOnDrag:u,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,D=A.type==="wheel";if(A.button===1&&A.type==="mousedown"&&(H5(A,`${S}-flow__node`)||H5(A,`${S}-flow__edge`)))return!0;if(!u&&!C&&!d&&!g&&!s||b||x&&!D||H5(A,w)&&D||H5(A,E)&&(!D||d&&D&&!n)||!s&&A.ctrlKey&&D)return!1;if(!s&&A.type==="touchstart"&&((B=A.touches)==null?void 0:B.length)>1)return A.preventDefault(),!1;if(!C&&!d&&!R&&D||!u&&(A.type==="mousedown"||A.type==="touchstart")||Array.isArray(u)&&!u.includes(A.button)&&A.type==="mousedown")return!1;const L=Array.isArray(u)&&u.includes(A.button)||!A.button||A.button<=1;return(!A.ctrlKey||D)&&L}}function a5n({domNode:n,minZoom:i,maxZoom:s,translateExtent:u,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=XHt().scaleExtent([i,s]).translateExtent(u),C=jm(n).call(A);j({x:d.x,y:d.y,zoom:SM(d.zoom,i,s)},[[0,0],[x.width,x.height]],u);const R=C.on("wheel.zoom"),D=C.on("dblclick.zoom");A.wheelDelta(xzt);function L(ce,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Qie).transform(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ce)}):Promise.resolve(!1)}function B({noWheelClassName:ce,noPanClassName:fe,onPaneContextMenu:K,userSelectionActive:pe,panOnScroll:Oe,panOnDrag:Se,panOnScrollMode:De,panOnScrollSpeed:Ae,preventScrolling:xe,zoomOnPinch:We,zoomOnScroll:dt,zoomOnDoubleClick:Ue,zoomActivationKeyPressed:bt,lib:kt,onTransformChange:ht,connectionInProgress:Xt,paneClickDistance:vt,selectionOnDrag:Ct}){pe&&!S.isZoomingOrPanning&&$();const Ft=Oe&&!bt&&!pe;A.clickDistance(Ct?1/0:!Rv(vt)||vt<0?0:vt);const On=Ft?t5n({zoomPanValues:S,noWheelClassName:ce,d3Selection:C,d3Zoom:A,panOnScrollMode:De,panOnScrollSpeed:Ae,zoomOnPinch:We,onPanZoomStart:b,onPanZoom:g,onPanZoomEnd:w}):n5n({noWheelClassName:ce,preventScrolling:xe,d3ZoomHandler:R});if(C.on("wheel.zoom",On,{passive:!1}),!pe){const Yn=r5n({zoomPanValues:S,onDraggingChange:E,onPanZoomStart:b});A.on("start",Yn);const vr=i5n({zoomPanValues:S,panOnDrag:Se,onPaneContextMenu:!!K,onPanZoom:g,onTransformChange:ht});A.on("zoom",vr);const Ui=o5n({zoomPanValues:S,panOnDrag:Se,panOnScroll:Oe,onPaneContextMenu:K,onPanZoomEnd:w,onDraggingChange:E});A.on("end",Ui)}const Zn=s5n({zoomActivationKeyPressed:bt,panOnDrag:Se,zoomOnScroll:dt,panOnScroll:Oe,zoomOnDoubleClick:Ue,zoomOnPinch:We,userSelectionActive:pe,noPanClassName:fe,noWheelClassName:ce,lib:kt,connectionInProgress:Xt});A.filter(Zn),Ue?C.on("dblclick.zoom",D):C.on("dblclick.zoom",null)}function $(){A.on("zoom",null)}async function j(ce,fe,K){const pe=HCe(ce),Oe=A==null?void 0:A.constrain()(pe,fe,K);return Oe&&await L(Oe),new Promise(Se=>Se(Oe))}async function P(ce,fe){const K=HCe(ce);return await L(K,fe),new Promise(pe=>pe(K))}function G(ce){if(C){const fe=HCe(ce),K=C.property("__zoom");(K.k!==ce.zoom||K.x!==ce.x||K.y!==ce.y)&&(A==null||A.transform(C,fe,null,{sync:!0}))}}function ee(){const ce=C?JHt(C.node()):{x:0,y:0,k:1};return{x:ce.x,y:ce.y,zoom:ce.k}}function ne(ce,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Qie).scaleTo(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ce)}):Promise.resolve(!1)}function Q(ce,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Qie).scaleBy(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ce)}):Promise.resolve(!1)}function ie(ce){A==null||A.scaleExtent(ce)}function he(ce){A==null||A.translateExtent(ce)}function ge(ce){const fe=!Rv(ce)||ce<0?0:ce;A==null||A.clickDistance(fe)}return{update:B,destroy:$,setViewport:P,setViewportConstrained:j,getViewport:ee,scaleTo:ne,scaleBy:Q,setScaleExtent:ie,setTranslateExtent:he,syncViewport:G,setClickDistance:ge}}var _M;(function(n){n.Line="line",n.Handle="handle"})(_M||(_M={}));function u5n({width:n,prevWidth:i,height:s,prevHeight:u,affectsX:d,affectsY:g}){const b=n-i,w=s-u,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 JMt(n){const i=n.includes("right")||n.includes("left"),s=n.includes("bottom")||n.includes("top"),u=n.includes("left"),d=n.includes("top");return{isHorizontal:i,isVertical:s,affectsX:u,affectsY:d}}function Ck(n,i){return Math.max(0,i-n)}function Ik(n,i){return Math.max(0,n-i)}function wie(n,i,s){return Math.max(0,i-n,n-s)}function XMt(n,i){return n?!i:i}function c5n(n,i,s,u,d,g,b,w){let{affectsX:E,affectsY:S}=i;const{isHorizontal:x,isVertical:A}=i,C=x&&A,{xSnapped:R,ySnapped:D}=s,{minWidth:L,maxWidth:B,minHeight:$,maxHeight:j}=u,{x:P,y:G,width:ee,height:ne,aspectRatio:Q}=n;let ie=Math.floor(x?R-n.pointerX:0),he=Math.floor(A?D-n.pointerY:0);const ge=ee+(E?-ie:ie),ce=ne+(S?-he:he),fe=-g[0]*ee,K=-g[1]*ne;let pe=wie(ge,L,B),Oe=wie(ce,$,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+ge+fe,b[1][0])),S&&he<0?xe=Ck(G+he+K,b[0][1]):!S&&he>0&&(xe=Ik(G+ce+K,b[1][1])),pe=Math.max(pe,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+ge,w[1][0])),S&&he>0?xe=Ik(G+he,w[0][1]):!S&&he<0&&(xe=Ck(G+ce,w[1][1])),pe=Math.max(pe,Ae),Oe=Math.max(Oe,xe)}if(d){if(x){const Ae=wie(ge/Q,$,j)*Q;if(pe=Math.max(pe,Ae),b){let xe=0;!E&&!S||E&&!S&&C?xe=Ik(G+K+ge/Q,b[1][1])*Q:xe=Ck(G+K+(E?ie:-ie)/Q,b[0][1])*Q,pe=Math.max(pe,xe)}if(w){let xe=0;!E&&!S||E&&!S&&C?xe=Ck(G+ge/Q,w[1][1])*Q:xe=Ik(G+(E?ie:-ie)/Q,w[0][1])*Q,pe=Math.max(pe,xe)}}if(A){const Ae=wie(ce*Q,L,B)/Q;if(Oe=Math.max(Oe,Ae),b){let xe=0;!E&&!S||S&&!E&&C?xe=Ik(P+ce*Q+fe,b[1][0])/Q:xe=Ck(P+(S?he:-he)*Q+fe,b[0][0])/Q,Oe=Math.max(Oe,xe)}if(w){let xe=0;!E&&!S||S&&!E&&C?xe=Ck(P+ce*Q,w[1][0])/Q:xe=Ik(P+(S?he:-he)*Q,w[0][0])/Q,Oe=Math.max(Oe,xe)}}}he=he+(he<0?Oe:-Oe),ie=ie+(ie<0?pe:-pe),d&&(C?ge>ce*Q?he=(XMt(E,S)?-ie:ie)/Q:ie=(XMt(E,S)?-he:he)*Q:x?(he=ie/Q,S=E):(ie=he*Q,E=S));const Se=E?P+ie:P,De=S?G+he:G;return{width:ee+(E?-ie:ie),height:ne+(S?-he:he),x:g[0]*ie*(E?-1:1)+Se,y:g[1]*he*(S?-1:1)+De}}const kzt={width:0,height:0,x:0,y:0},l5n={...kzt,pointerX:0,pointerY:0,aspectRatio:1};function d5n(n){return[[0,0],[n.measured.width,n.measured.height]]}function f5n(n,i,s){const u=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[[u-w,d-E],[u+g-w,d+b-E]]}function h5n({domNode:n,nodeId:i,getStoreItems:s,onChange:u,onEnd:d}){const g=jm(n);let b={controlDirection:JMt("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:D,onResizeEnd:L,shouldResize:B}){let $={...kzt},j={...l5n};b={boundaries:x,resizeDirection:C,keepAspectRatio:A,controlDirection:JMt(S)};let P,G=null,ee=[],ne,Q,ie,he=!1;const ge=PHt().on("start",ce=>{const{nodeLookup:fe,transform:K,snapGrid:pe,snapToGrid:Oe,nodeOrigin:Se,paneDomNode:De}=s();if(P=fe.get(i),!P)return;G=(De==null?void 0:De.getBoundingClientRect())??null;const{xSnapped:Ae,ySnapped:xe}=yH(ce.sourceEvent,{transform:K,snapGrid:pe,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},ne=void 0,P.parentId&&(P.extent==="parent"||P.expandParent)&&(ne=fe.get(P.parentId),Q=ne&&P.extent==="parent"?d5n(ne):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=f5n(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(ce,{...$})}).on("drag",ce=>{const{transform:fe,snapGrid:K,snapToGrid:pe,nodeOrigin:Oe}=s(),Se=yH(ce.sourceEvent,{transform:fe,snapGrid:K,snapToGrid:pe,containerBounds:G}),De=[];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}=c5n(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)},De.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),ne&&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=u5n({width:$.width,prevWidth:We,height:$.height,prevHeight:dt,affectsX:b.controlDirection.affectsX,affectsY:b.controlDirection.affectsY}),vr={...$,direction:Yn};(B==null?void 0:B(ce,vr))!==!1&&(he=!0,D==null||D(ce,vr),u(Ue,De))}).on("end",ce=>{he&&(L==null||L(ce,{...$}),d==null||d({...$}),he=!1)});g.call(ge)}function E(){g.on(".drag",null)}return{update:w,destroy:E}}var Nzt={exports:{}},Czt={};/**
* @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,p5n=EHt;function g5n(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var b5n=typeof Object.is=="function"?Object.is:g5n,m5n=p5n.useSyncExternalStore,w5n=Qse.useRef,y5n=Qse.useEffect,v5n=Qse.useMemo,E5n=Qse.useDebugValue;Czt.useSyncExternalStoreWithSelector=function(n,i,s,u,d){var g=w5n(null);if(g.current===null){var b={hasValue:!1,value:null};g.current=b}else b=g.current;g=v5n(function(){function E(R){if(!S){if(S=!0,x=R,R=u(R),d!==void 0&&b.hasValue){var D=b.value;if(d(D,R))return A=D}return A=R}if(D=A,b5n(x,R))return D;var L=u(R);return d!==void 0&&d(D,L)?(x=R,D):(x=R,A=L)}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,u,d]);var w=m5n(n,g[0],g[1]);return y5n(function(){b.hasValue=!0,b.value=w},[w]),E5n(w),w};Nzt.exports=Czt;var S5n=Nzt.exports;const T5n=TR(S5n),A5n={},ZMt=n=>{let i;const s=new Set,u=(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(D=>D(i,R))}},d=()=>i,E={setState:u,getState:d,getInitialState:()=>S,subscribe:x=>(s.add(x),()=>s.delete(x)),destroy:()=>{(A5n?"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(u,d,E);return E},_5n=n=>n?ZMt(n):ZMt,{useDebugValue:x5n}=Hn,{useSyncExternalStoreWithSelector:k5n}=T5n,N5n=n=>n;function Izt(n,i=N5n,s){const u=k5n(n.subscribe,n.getState,n.getServerState||n.getInitialState,i,s);return x5n(u),u}const QMt=(n,i)=>{const s=_5n(n),u=(d,g=i)=>Izt(s,d,g);return Object.assign(u,s),u},C5n=(n,i)=>n?QMt(n,i):QMt;function Dc(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[u,d]of n)if(!Object.is(d,i.get(u)))return!1;return!0}if(n instanceof Set&&i instanceof Set){if(n.size!==i.size)return!1;for(const u of n)if(!i.has(u))return!1;return!0}const s=Object.keys(n);if(s.length!==Object.keys(i).length)return!1;for(const u of s)if(!Object.prototype.hasOwnProperty.call(i,u)||!Object.is(n[u],i[u]))return!1;return!0}const eae=H.createContext(null),I5n=eae.Provider,Rzt=z2.error001();function Js(n,i){const s=H.useContext(eae);if(s===null)throw new Error(Rzt);return Izt(s,n,i)}function Mc(){const n=H.useContext(eae);if(n===null)throw new Error(Rzt);return H.useMemo(()=>({getState:n.getState,setState:n.setState,subscribe:n.subscribe}),[n])}const e9t={display:"none"},R5n={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},Ozt="react-flow__node-desc",Lzt="react-flow__edge-desc",O5n="react-flow__aria-live",L5n=n=>n.ariaLiveMessage,D5n=n=>n.ariaLabelConfig;function M5n({rfId:n}){const i=Js(L5n);return I.jsx("div",{id:`${O5n}-${n}`,"aria-live":"assertive","aria-atomic":"true",style:R5n,children:i})}function P5n({rfId:n,disableKeyboardA11y:i}){const s=Js(D5n);return I.jsxs(I.Fragment,{children:[I.jsx("div",{id:`${Ozt}-${n}`,style:e9t,children:i?s["node.a11yDescription.default"]:s["node.a11yDescription.keyboardDisabled"]}),I.jsx("div",{id:`${Lzt}-${n}`,style:e9t,children:s["edge.a11yDescription.default"]}),!i&&I.jsx(M5n,{rfId:n})]})}const gR=H.forwardRef(({position:n="top-left",children:i,className:s,style:u,...d},g)=>{const b=`${n}`.split("-");return I.jsx("div",{className:Bd(["react-flow__panel",s,...b]),style:u,ref:g,...d,children:i})});gR.displayName="Panel";function j5n({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 F5n=n=>{const i=[],s=[];for(const[,u]of n.nodeLookup)u.selected&&i.push(u.internals.userNode);for(const[,u]of n.edgeLookup)u.selected&&s.push(u);return{selectedNodes:i,selectedEdges:s}},yie=n=>n.id;function $5n(n,i){return Dc(n.selectedNodes.map(yie),i.selectedNodes.map(yie))&&Dc(n.selectedEdges.map(yie),i.selectedEdges.map(yie))}function B5n({onSelectionChange:n}){const i=Mc(),{selectedNodes:s,selectedEdges:u}=Js(F5n,$5n);return H.useEffect(()=>{const d={nodes:s,edges:u};n==null||n(d),i.getState().onSelectionChangeHandlers.forEach(g=>g(d))},[s,u,n]),null}const U5n=n=>!!n.onSelectionChangeHandlers;function H5n({onSelectionChange:n}){const i=Js(U5n);return n||i?I.jsx(B5n,{onSelectionChange:n}):null}const Dzt=[0,0],z5n={x:0,y:0,zoom:1},G5n=["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"],t9t=[...G5n,"rfId"],q5n=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}),n9t={translateExtent:KH,nodeOrigin:Dzt,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function V5n(n){const{setNodes:i,setEdges:s,setMinZoom:u,setMaxZoom:d,setTranslateExtent:g,setNodeExtent:b,reset:w,setDefaultNodesAndEdges:E}=Js(q5n,Dc),S=Mc();H.useEffect(()=>(E(n.defaultNodes,n.defaultEdges),()=>{x.current=n9t,w()}),[]);const x=H.useRef(n9t);return H.useEffect(()=>{for(const A of t9t){const C=n[A],R=x.current[A];C!==R&&(typeof n[A]>"u"||(A==="nodes"?i(C):A==="edges"?s(C):A==="minZoom"?u(C):A==="maxZoom"?d(C):A==="translateExtent"?g(C):A==="nodeExtent"?b(C):A==="ariaLabelConfig"?S.setState({ariaLabelConfig:xDn(C)}):A==="fitView"?S.setState({fitViewQueued:C}):A==="fitViewOptions"?S.setState({fitViewOptions:C}):S.setState({[A]:C})))}x.current=n},t9t.map(A=>n[A])),null}function r9t(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function W5n(n){var u;const[i,s]=H.useState(n==="system"?null:n);return H.useEffect(()=>{if(n!=="system"){s(n);return}const d=r9t(),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:(u=r9t())!=null&&u.matches?"dark":"light"}const i9t=typeof document<"u"?document:null;function ZH(n=null,i={target:i9t,actInsideInputWithModifier:!0}){const[s,u]=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)??i9t,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)&&lzt(R))return!1;const L=s9t(R.code,w);if(g.current.add(R[L]),o9t(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(),u(!0)}},A=R=>{const D=s9t(R.code,w);o9t(b,g.current,!0)?(u(!1),g.current.clear()):g.current.delete(R[D]),R.key==="Meta"&&g.current.clear(),d.current=!1},C=()=>{g.current.clear(),u(!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,u]),s}function o9t(n,i,s){return n.filter(u=>s||u.length===i.size).some(u=>u.every(d=>i.has(d)))}function s9t(n,i){return i.includes(n)?"code":"key"}const K5n=()=>{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:u}=n.getState();return u?u.scaleTo(i,{duration:s==null?void 0:s.duration}):Promise.resolve(!1)},getZoom:()=>n.getState().transform[2],setViewport:async(i,s)=>{const{transform:[u,d,g],panZoom:b}=n.getState();return b?(await b.setViewport({x:i.x??u,y:i.y??d,zoom:i.zoom??g},s),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[i,s,u]=n.getState().transform;return{x:i,y:s,zoom:u}},setCenter:async(i,s,u)=>n.getState().setCenter(i,s,u),fitBounds:async(i,s)=>{const{width:u,height:d,minZoom:g,maxZoom:b,panZoom:w}=n.getState(),E=I5e(i,u,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:u,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 xz(S,u,A,x)},flowToScreenPosition:i=>{const{transform:s,domNode:u}=n.getState();if(!u)return i;const{x:d,y:g}=u.getBoundingClientRect(),b=Woe(i,s);return{x:b.x+d,y:b.y+g}}}),[])};function Mzt(n,i){const s=[],u=new Map,d=[];for(const g of n)if(g.type==="add"){d.push(g);continue}else if(g.type==="remove"||g.type==="replace")u.set(g.id,[g]);else{const b=u.get(g.id);b?b.push(g):u.set(g.id,[g])}for(const g of i){const b=u.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)Y5n(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 Y5n(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 Pzt(n,i){return Mzt(n,i)}function jzt(n,i){return Mzt(n,i)}function W4(n,i){return{id:n,type:"select",selected:i}}function z5(n,i=new Set,s=!1){const u=[];for(const[d,g]of n){const b=i.has(d);!(g.selected===void 0&&!b)&&g.selected!==b&&(s&&(g.selected=b),u.push(W4(g.id,b)))}return u}function a9t({items:n=[],lookup:i}){var d;const s=[],u=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)u.get(g)===void 0&&s.push({id:g,type:"remove"});return s}function u9t(n){return{id:n.id,type:"remove"}}const c9t=n=>bDn(n),J5n=n=>nzt(n);function Fzt(n){return H.forwardRef(n)}const X5n=typeof window<"u"?H.useLayoutEffect:H.useEffect;function l9t(n){const[i,s]=H.useState(BigInt(0)),[u]=H.useState(()=>Z5n(()=>s(d=>d+BigInt(1))));return X5n(()=>{const d=u.get();d.length&&(n(d),u.reset())},[i]),u}function Z5n(n){let i=[];return{get:()=>i,reset:()=>{i=[]},push:s=>{i.push(s),n()}}}const $zt=H.createContext(null);function Q5n({children:n}){const i=Mc(),s=H.useCallback(w=>{const{nodes:E=[],setNodes:S,hasDefaultNodes:x,onNodesChange:A,nodeLookup:C,fitViewQueued:R,onNodesChangeMiddlewareMap:D}=i.getState();let L=E;for(const $ of w)L=typeof $=="function"?$(L):$;let B=a9t({items:L,lookup:C});for(const $ of D.values())B=$(B);x&&S(L),B.length>0?A==null||A(B):R&&window.requestAnimationFrame(()=>{const{fitViewQueued:$,nodes:j,setNodes:P}=i.getState();$&&P(j)})},[]),u=l9t(s),d=H.useCallback(w=>{const{edges:E=[],setEdges:S,hasDefaultEdges:x,onEdgesChange:A,edgeLookup:C}=i.getState();let R=E;for(const D of w)R=typeof D=="function"?D(R):D;x?S(R):A&&A(a9t({items:R,lookup:C}))},[]),g=l9t(d),b=H.useMemo(()=>({nodeQueue:u,edgeQueue:g}),[]);return I.jsx($zt.Provider,{value:b,children:n})}function eMn(){const n=H.useContext($zt);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const tMn=n=>!!n.panZoom;function kR(){const n=K5n(),i=Mc(),s=eMn(),u=Js(tMn),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(),D=c9t(A)?A:C.get(A.id),L=D.parentId?uzt(D.position,D.measured,D.parentId,C,R):D.position,B={...D,position:L,width:(($=D.measured)==null?void 0:$.width)??D.width,height:((j=D.measured)==null?void 0:j.height)??D.height};return TM(B)},S=(A,C,R={replace:!1})=>{b(D=>D.map(L=>{if(L.id===A){const B=typeof C=="function"?C(L):C;return R.replace&&c9t(B)?B:{...L,...B}}return L}))},x=(A,C,R={replace:!1})=>{w(D=>D.map(L=>{if(L.id===A){const B=typeof C=="function"?C(L):C;return R.replace&&J5n(B)?B:{...L,...B}}return L}))};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(),[D,L,B]=R;return{nodes:A.map($=>({...$})),edges:C.map($=>({...$})),viewport:{x:D,y:L,zoom:B}}},deleteElements:async({nodes:A=[],edges:C=[]})=>{const{nodes:R,edges:D,onNodesDelete:L,onEdgesDelete:B,triggerNodeChanges:$,triggerEdgeChanges:j,onDelete:P,onBeforeDelete:G}=i.getState(),{nodes:ee,edges:ne}=await EDn({nodesToRemove:A,edgesToRemove:C,nodes:R,edges:D,onBeforeDelete:G}),Q=ne.length>0,ie=ee.length>0;if(Q){const he=ne.map(u9t);B==null||B(ne),j(he)}if(ie){const he=ee.map(u9t);L==null||L(ee),$(he)}return(ie||Q)&&(P==null||P({nodes:ee,edges:ne})),{deletedNodes:ee,deletedEdges:ne}},getIntersectingNodes:(A,C=!0,R)=>{const D=$Mt(A),L=D?A:E(A),B=R!==void 0;return L?(R||i.getState().nodes).filter($=>{const j=i.getState().nodeLookup.get($.id);if(j&&!D&&($.id===A.id||!j.internals.positionAbsolute))return!1;const P=TM(B?$:j),G=JH(P,L);return C&&G>0||G>=P.width*P.height||G>=L.width*L.height}):[]},isNodeIntersecting:(A,C,R=!0)=>{const L=$Mt(A)?A:E(A);if(!L)return!1;const B=JH(L,C);return R&&B>0||B>=C.width*C.height||B>=L.width*L.height},updateNode:S,updateNodeData:(A,C,R={replace:!1})=>{S(A,D=>{const L=typeof C=="function"?C(D):C;return R.replace?{...D,data:L}:{...D,data:{...D.data,...L}}},R)},updateEdge:x,updateEdgeData:(A,C,R={replace:!1})=>{x(A,D=>{const L=typeof C=="function"?C(D):C;return R.replace?{...D,data:L}:{...D,data:{...D.data,...L}}},R)},getNodesBounds:A=>{const{nodeLookup:C,nodeOrigin:R}=i.getState();return mDn(A,{nodeLookup:C,nodeOrigin:R})},getHandleConnections:({type:A,id:C,nodeId:R})=>{var D;return Array.from(((D=i.getState().connectionLookup.get(`${R}-${A}${C?`-${C}`:""}`))==null?void 0:D.values())??[])},getNodeConnections:({type:A,handleId:C,nodeId:R})=>{var D;return Array.from(((D=i.getState().connectionLookup.get(`${R}${A?C?`-${A}-${C}`:`-${A}`:""}`))==null?void 0:D.values())??[])},fitView:async A=>{const C=i.getState().fitViewResolver??_Dn();return i.setState({fitViewQueued:!0,fitViewOptions:A,fitViewResolver:C}),s.nodeQueue.push(R=>[...R]),C.promise}}},[]);return H.useMemo(()=>({...d,...n,viewportInitialized:u}),[u])}const d9t=n=>n.selected,nMn=typeof window<"u"?window:void 0;function rMn({deleteKeyCode:n,multiSelectionKeyCode:i}){const s=Mc(),{deleteElements:u}=kR(),d=ZH(n,{actInsideInputWithModifier:!1}),g=ZH(i,{target:nMn});H.useEffect(()=>{if(d){const{edges:b,nodes:w}=s.getState();u({nodes:w.filter(d9t),edges:b.filter(d9t)}),s.setState({nodesSelectionActive:!1})}},[d]),H.useEffect(()=>{s.setState({multiSelectionActive:g})},[g])}function iMn(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 u=R5e(n.current);(u.height===0||u.width===0)&&((w=(b=i.getState()).onError)==null||w.call(b,"004",z2.error004())),i.setState({width:u.width||500,height:u.height||500})};if(n.current){s(),window.addEventListener("resize",s);const u=new ResizeObserver(()=>s());return u.observe(n.current),()=>{window.removeEventListener("resize",s),u&&n.current&&u.unobserve(n.current)}}},[])}const tae={position:"absolute",width:"100%",height:"100%",top:0,left:0},oMn=n=>({userSelectionActive:n.userSelectionActive,lib:n.lib,connectionInProgress:n.connection.inProgress});function sMn({onPaneContextMenu:n,zoomOnScroll:i=!0,zoomOnPinch:s=!0,panOnScroll:u=!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:D,noWheelClassName:L,noPanClassName:B,onViewportChange:$,isControlledViewport:j,paneClickDistance:P,selectionOnDrag:G}){const ee=Mc(),ne=H.useRef(null),{userSelectionActive:Q,lib:ie,connectionInProgress:he}=Js(oMn,Dc),ge=ZH(C),ce=H.useRef();iMn(ne);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(ne.current){ce.current=a5n({domNode:ne.current,minZoom:x,maxZoom:A,translateExtent:S,viewport:E,onDraggingChange:Se=>ee.setState({paneDragging:Se}),onPanZoomStart:(Se,De)=>{const{onViewportChangeStart:Ae,onMoveStart:xe}=ee.getState();xe==null||xe(Se,De),Ae==null||Ae(De)},onPanZoom:(Se,De)=>{const{onViewportChange:Ae,onMove:xe}=ee.getState();xe==null||xe(Se,De),Ae==null||Ae(De)},onPanZoomEnd:(Se,De)=>{const{onViewportChangeEnd:Ae,onMoveEnd:xe}=ee.getState();xe==null||xe(Se,De),Ae==null||Ae(De)}});const{x:K,y:pe,zoom:Oe}=ce.current.getViewport();return ee.setState({panZoom:ce.current,transform:[K,pe,Oe],domNode:ne.current.closest(".react-flow")}),()=>{var Se;(Se=ce.current)==null||Se.destroy()}}},[]),H.useEffect(()=>{var K;(K=ce.current)==null||K.update({onPaneContextMenu:n,zoomOnScroll:i,zoomOnPinch:s,panOnScroll:u,panOnScrollSpeed:d,panOnScrollMode:g,zoomOnDoubleClick:b,panOnDrag:w,zoomActivationKeyPressed:ge,preventScrolling:R,noPanClassName:B,userSelectionActive:Q,noWheelClassName:L,lib:ie,onTransformChange:fe,connectionInProgress:he,selectionOnDrag:G,paneClickDistance:P})},[n,i,s,u,d,g,b,w,ge,R,B,Q,L,ie,fe,he,G,P]),I.jsx("div",{className:"react-flow__renderer",ref:ne,style:tae,children:D})}const aMn=n=>({userSelectionActive:n.userSelectionActive,userSelectionRect:n.userSelectionRect});function uMn(){const{userSelectionActive:n,userSelectionRect:i}=Js(aMn,Dc);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))},cMn=n=>({userSelectionActive:n.userSelectionActive,elementsSelectable:n.elementsSelectable,connectionInProgress:n.connection.inProgress,dragging:n.paneDragging});function lMn({isSelecting:n,selectionKeyPressed:i,selectionMode:s=YH.Full,panOnDrag:u,paneClickDistance:d,selectionOnDrag:g,onSelectionStart:b,onSelectionEnd:w,onPaneClick:E,onPaneContextMenu:S,onPaneScroll:x,onPaneMouseEnter:A,onPaneMouseMove:C,onPaneMouseLeave:R,children:D}){const L=Mc(),{userSelectionActive:B,elementsSelectable:$,dragging:j,connectionInProgress:P}=Js(cMn,Dc),G=$&&(n||B),ee=H.useRef(null),ne=H.useRef(),Q=H.useRef(new Set),ie=H.useRef(new Set),he=H.useRef(!1),ge=Ae=>{if(he.current||P){he.current=!1;return}E==null||E(Ae),L.getState().resetSelectedElements(),L.setState({nodesSelectionActive:!1})},ce=Ae=>{if(Array.isArray(u)&&(u!=null&&u.includes(2))){Ae.preventDefault();return}S==null||S(Ae)},fe=x?Ae=>x(Ae):void 0,K=Ae=>{he.current&&(Ae.stopPropagation(),he.current=!1)},pe=Ae=>{var ht,Xt;const{domNode:xe}=L.getState();if(ne.current=xe==null?void 0:xe.getBoundingClientRect(),!ne.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),he.current=!1;const{x:bt,y:kt}=Ov(Ae.nativeEvent,ne.current);L.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}=L.getState();if(!ne.current||!xe)return;const{x:Ct,y:Ft}=Ov(Ae.nativeEvent,ne.current),{startX:On,startY:Zn}=xe;if(!he.current){const Hi=i?0:d;if(Math.hypot(Ct-On,Ft-Zn)<=Hi)return;vt(),b==null||b(Ae)}he.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(!BMt(vr,Q.current)){const Hi=z5(dt,Q.current,!0);kt(Hi)}if(!BMt(Ui,ie.current)){const Hi=z5(Ue,ie.current);ht(Hi)}L.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&&L.getState().userSelectionRect&&(ge==null||ge(Ae)),L.setState({userSelectionActive:!1,userSelectionRect:null}),he.current&&(w==null||w(Ae),L.setState({nodesSelectionActive:Q.current.size>0})))},De=u===!0||Array.isArray(u)&&u.includes(0);return I.jsxs("div",{className:Bd(["react-flow__pane",{draggable:De,dragging:j,selection:n}]),onClick:G?void 0:GCe(ge,ee),onContextMenu:GCe(ce,ee),onWheel:GCe(fe,ee),onPointerEnter:G?void 0:A,onPointerMove:G?Oe:C,onPointerUp:G?Se:void 0,onPointerDownCapture:G?pe:void 0,onClickCapture:G?K:void 0,onPointerLeave:R,ref:ee,style:tae,children:[D,I.jsx(uMn,{})]})}function wLe({id:n,store:i,unselect:s=!1,nodeRef:u}){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=u==null?void 0:u.current)==null?void 0:x.blur()})):d([n])}function Bzt({nodeRef:n,disabled:i=!1,noDragClassName:s,handleSelector:u,nodeId:d,isSelectable:g,nodeClickDistance:b}){const w=Mc(),[E,S]=H.useState(!1),x=H.useRef();return H.useEffect(()=>{x.current=WDn({getStoreItems:()=>w.getState(),onNodeMouseDown:A=>{wLe({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:u,domNode:n.current,isSelectable:g,nodeId:d,nodeClickDistance:b}),()=>{var R;(R=x.current)==null||R.destroy()}},[s,u,i,g,n,d]),E}const dMn=n=>i=>i.selected&&(i.draggable||n&&typeof i.draggable>"u");function Uzt(){const n=Mc();return H.useCallback(s=>{const{nodeExtent:u,snapToGrid:d,snapGrid:g,nodesDraggable:b,onError:w,updateNodePositions:E,nodeLookup:S,nodeOrigin:x}=n.getState(),A=new Map,C=dMn(b),R=d?g[0]:5,D=d?g[1]:5,L=s.direction.x*R*s.factor,B=s.direction.y*D*s.factor;for(const[,$]of S){if(!C($))continue;let j={x:$.internals.positionAbsolute.x+L,y:$.internals.positionAbsolute.y+B};d&&(j=_z(j,g));const{position:P,positionAbsolute:G}=rzt({nodeId:$.id,nextPosition:j,nodeLookup:S,nodeExtent:u,nodeOrigin:x,onError:w});$.position=P,$.internals.positionAbsolute=G,A.set($.id,$)}E(A)},[])}const j5e=H.createContext(null),fMn=j5e.Provider;j5e.Consumer;const Hzt=()=>H.useContext(j5e),hMn=n=>({connectOnClick:n.connectOnClick,noPanClassName:n.noPanClassName,rfId:n.rfId}),pMn=(n,i,s)=>u=>{const{connectionClickStartHandle:d,connectionMode:g,connection:b}=u,{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 gMn({type:n="source",position:i=qr.Top,isValidConnection:s,isConnectable:u=!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 D=b||null,L=n==="target",B=Mc(),$=Hzt(),{connectOnClick:j,noPanClassName:P,rfId:G}=Js(hMn,Dc),{connectingFrom:ee,connectingTo:ne,clickConnecting:Q,isPossibleEndHandle:ie,connectionInProcess:he,clickConnectionInProcess:ge,valid:ce}=Js(pMn($,D,n),Dc);$||(Se=(Oe=B.getState()).onError)==null||Se.call(Oe,"010",z2.error010());const fe=De=>{const{defaultEdgeOptions:Ae,onConnect:xe,hasDefaultEdges:We}=B.getState(),dt={...Ae,...De};if(We){const{edges:Ue,setEdges:bt}=B.getState();bt(gzt(dt,Ue))}xe==null||xe(dt),w==null||w(dt)},K=De=>{if(!$)return;const Ae=dzt(De.nativeEvent);if(d&&(Ae&&De.button===0||!Ae)){const xe=B.getState();mLe.onPointerDown(De.nativeEvent,{handleDomNode:De.currentTarget,autoPanOnConnect:xe.autoPanOnConnect,connectionMode:xe.connectionMode,connectionRadius:xe.connectionRadius,domNode:xe.domNode,nodeLookup:xe.nodeLookup,lib:xe.lib,isTarget:L,handleId:D,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(De):A==null||A(De)},pe=De=>{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(De.nativeEvent,{nodeId:$,handleId:D,handleType:n}),B.setState({connectionClickStartHandle:{nodeId:$,type:n,id:D}});return}const vt=czt(De.target),Ct=s||Ue,{connection:Ft,isValid:On}=mLe.isValid(De.nativeEvent,{handle:{nodeId:$,id:D,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(De,Zn),B.setState({connectionClickStartHandle:null})};return I.jsx("div",{"data-handleid":D,"data-nodeid":$,"data-handlepos":i,"data-id":`${G}-${$}-${D}-${n}`,className:Bd(["react-flow__handle",`react-flow__handle-${i}`,"nodrag",P,S,{source:!L,target:L,connectable:u,connectablestart:d,connectableend:g,clickconnecting:Q,connectingfrom:ee,connectingto:ne,valid:ce,connectionindicator:u&&(!he||ie)&&(he||ge?g:d)}]),onMouseDown:K,onTouchStart:K,onClick:j?pe:void 0,ref:R,...C,children:E})}const $h=H.memo(Fzt(gMn));function bMn({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 mMn({data:n,isConnectable:i,targetPosition:s=qr.Top,sourcePosition:u=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:u,isConnectable:i})]})}function wMn(){return null}function yMn({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 Yoe={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},f9t={input:bMn,default:mMn,output:yMn,group:wMn};function vMn(n){var i,s,u,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??((u=n.style)==null?void 0:u.width),height:n.height??((d=n.style)==null?void 0:d.height)}}const EMn=n=>{const{width:i,height:s,x:u,y:d}=Az(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(${u}px,${d}px)`}};function SMn({onSelectionContextMenu:n,noPanClassName:i,disableKeyboardA11y:s}){const u=Mc(),{width:d,height:g,transformString:b,userSelectionActive:w}=Js(EMn,Dc),E=Uzt(),S=H.useRef(null);if(H.useEffect(()=>{var C;s||(C=S.current)==null||C.focus({preventScroll:!0})},[s]),Bzt({nodeRef:S}),w||!d||!g)return null;const x=n?C=>{const R=u.getState().nodes.filter(D=>D.selected);n(C,R)}:void 0,A=C=>{Object.prototype.hasOwnProperty.call(Yoe,C.key)&&(C.preventDefault(),E({direction:Yoe[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 h9t=typeof window<"u"?window:void 0,TMn=n=>({nodesSelectionActive:n.nodesSelectionActive,userSelectionActive:n.userSelectionActive});function zzt({children:n,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:u,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,paneClickDistance:w,deleteKeyCode:E,selectionKeyCode:S,selectionOnDrag:x,selectionMode:A,onSelectionStart:C,onSelectionEnd:R,multiSelectionKeyCode:D,panActivationKeyCode:L,zoomActivationKeyCode:B,elementsSelectable:$,zoomOnScroll:j,zoomOnPinch:P,panOnScroll:G,panOnScrollSpeed:ee,panOnScrollMode:ne,zoomOnDoubleClick:Q,panOnDrag:ie,defaultViewport:he,translateExtent:ge,minZoom:ce,maxZoom:fe,preventScrolling:K,onSelectionContextMenu:pe,noWheelClassName:Oe,noPanClassName:Se,disableKeyboardA11y:De,onViewportChange:Ae,isControlledViewport:xe}){const{nodesSelectionActive:We,userSelectionActive:dt}=Js(TMn,Dc),Ue=ZH(S,{target:h9t}),bt=ZH(L,{target:h9t}),kt=bt||ie,ht=bt||G,Xt=x&&kt!==!0,vt=Ue||dt||Xt;return rMn({deleteKeyCode:E,multiSelectionKeyCode:D}),I.jsx(sMn,{onPaneContextMenu:g,elementsSelectable:$,zoomOnScroll:j,zoomOnPinch:P,panOnScroll:ht,panOnScrollSpeed:ee,panOnScrollMode:ne,zoomOnDoubleClick:Q,panOnDrag:!Ue&&kt,defaultViewport:he,translateExtent:ge,minZoom:ce,maxZoom:fe,zoomActivationKeyCode:B,preventScrolling:K,noWheelClassName:Oe,noPanClassName:Se,onViewportChange:Ae,isControlledViewport:xe,paneClickDistance:w,selectionOnDrag:Xt,children:I.jsxs(lMn,{onSelectionStart:C,onSelectionEnd:R,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:u,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,panOnDrag:kt,isSelecting:!!vt,selectionMode:A,selectionKeyPressed:Ue,paneClickDistance:w,selectionOnDrag:Xt,children:[n,We&&I.jsx(SMn,{onSelectionContextMenu:pe,noPanClassName:Se,disableKeyboardA11y:De})]})})}zzt.displayName="FlowRenderer";const AMn=H.memo(zzt),_Mn=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 xMn(n){return Js(H.useCallback(_Mn(n),[n]),Dc)}const kMn=n=>n.updateNodeInternals;function NMn(){const n=Js(kMn),[i]=H.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(s=>{const u=new Map;s.forEach(d=>{const g=d.target.getAttribute("data-id");u.set(g,{id:g,nodeElement:d.target,force:!0})}),n(u)}));return H.useEffect(()=>()=>{i==null||i.disconnect()},[i]),i}function CMn({node:n,nodeType:i,hasDimensions:s,resizeObserver:u}){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&&(u==null||u.unobserve(b.current)),u==null||u.observe(g.current),b.current=g.current)},[x,n.hidden]),H.useEffect(()=>()=>{b.current&&(u==null||u.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 IMn({id:n,onClick:i,onMouseEnter:s,onMouseMove:u,onMouseLeave:d,onContextMenu:g,onDoubleClick:b,nodesDraggable:w,elementsSelectable:E,nodesConnectable:S,nodesFocusable:x,resizeObserver:A,noDragClassName:C,noPanClassName:R,disableKeyboardA11y:D,rfId:L,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}},Dc);let ne=P.type||"default",Q=(B==null?void 0:B[ne])||f9t[ne];Q===void 0&&(j==null||j("003",z2.error003(ne)),ne="default",Q=(B==null?void 0:B.default)||f9t.default);const ie=!!(P.draggable||w&&typeof P.draggable>"u"),he=!!(P.selectable||E&&typeof P.selectable>"u"),ge=!!(P.connectable||S&&typeof P.connectable>"u"),ce=!!(P.focusable||x&&typeof P.focusable>"u"),fe=Mc(),K=azt(P),pe=CMn({node:P,nodeType:ne,hasDimensions:K,resizeObserver:A}),Oe=Bzt({nodeRef:pe,disabled:P.hidden||!ie,noDragClassName:C,handleSelector:P.dragHandle,nodeId:n,isSelectable:he,nodeClickDistance:$}),Se=Uzt();if(P.hidden)return null;const De=_A(P),Ae=vMn(P),xe=he||ie||i||s||u||d,We=s?Ct=>s(Ct,{...G.userNode}):void 0,dt=u?Ct=>u(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();he&&(!Ft||!ie||On>0)&&wLe({id:n,store:fe,nodeRef:pe}),i&&i(Ct,{...G.userNode})},Xt=Ct=>{if(!(lzt(Ct.nativeEvent)||D)){if(ZHt.includes(Ct.key)&&he){const Ft=Ct.key==="Escape";wLe({id:n,store:fe,unselect:Ft,nodeRef:pe})}else if(ie&&P.selected&&Object.prototype.hasOwnProperty.call(Yoe,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:Yoe[Ct.key],factor:Ct.shiftKey?4:1})}}},vt=()=>{var Ui;if(D||!((Ui=pe.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+De.width/2,P.position.y+De.height/2,{zoom:Ct[2]})};return I.jsx("div",{className:Bd(["react-flow__node",`react-flow__node-${ne}`,{[R]:ie},P.className,{selected:P.selected,selectable:he,parent:ee,draggable:ie,dragging:Oe}]),ref:pe,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:ce?Xt:void 0,tabIndex:ce?0:void 0,onFocus:ce?vt:void 0,role:P.ariaRole??(ce?"group":void 0),"aria-roledescription":"node","aria-describedby":D?void 0:`${Ozt}-${L}`,"aria-label":P.ariaLabel,...P.domAttributes,children:I.jsx(fMn,{value:n,children:I.jsx(Q,{id:n,data:P.data,type:ne,positionAbsoluteX:G.positionAbsolute.x,positionAbsoluteY:G.positionAbsolute.y,selected:P.selected??!1,selectable:he,draggable:ie,deletable:P.deletable??!0,isConnectable:ge,sourcePosition:P.sourcePosition,targetPosition:P.targetPosition,dragging:Oe,dragHandle:P.dragHandle,zIndex:G.z,parentId:P.parentId,...De})})})}var RMn=H.memo(IMn);const OMn=n=>({nodesDraggable:n.nodesDraggable,nodesConnectable:n.nodesConnectable,nodesFocusable:n.nodesFocusable,elementsSelectable:n.elementsSelectable,onError:n.onError});function Gzt(n){const{nodesDraggable:i,nodesConnectable:s,nodesFocusable:u,elementsSelectable:d,onError:g}=Js(OMn,Dc),b=xMn(n.onlyRenderVisibleElements),w=NMn();return I.jsx("div",{className:"react-flow__nodes",style:tae,children:b.map(E=>I.jsx(RMn,{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:u,elementsSelectable:d,nodeClickDistance:n.nodeClickDistance,onError:g},E))})}Gzt.displayName="NodeRenderer";const LMn=H.memo(Gzt);function DMn(n){return Js(H.useCallback(s=>{if(!n)return s.edges.map(d=>d.id);const u=[];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&&CDn({sourceNode:g,targetNode:b,width:s.width,height:s.height,transform:s.transform})&&u.push(d.id)}return u},[n]),Dc)}const MMn=({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"})},PMn=({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"})},p9t={[sA.Arrow]:MMn,[sA.ArrowClosed]:PMn};function jMn(n){const i=Mc();return H.useMemo(()=>{var d,g;return Object.prototype.hasOwnProperty.call(p9t,n)?p9t[n]:((g=(d=i.getState()).onError)==null||g.call(d,"009",z2.error009(n)),null)},[n])}const FMn=({id:n,type:i,color:s,width:u=12.5,height:d=12.5,markerUnits:g="strokeWidth",strokeWidth:b,orient:w="auto-start-reverse"})=>{const E=jMn(i);return E?I.jsx("marker",{className:"react-flow__arrowhead",id:n,markerWidth:`${u}`,markerHeight:`${d}`,viewBox:"-10 -10 20 20",markerUnits:g,orient:w,refX:"0",refY:"0",children:I.jsx(E,{color:s,strokeWidth:b})}):null},qzt=({defaultColor:n,rfId:i})=>{const s=Js(g=>g.edges),u=Js(g=>g.defaultEdgeOptions),d=H.useMemo(()=>PDn(s,{id:i,defaultColor:n,defaultMarkerStart:u==null?void 0:u.markerStart,defaultMarkerEnd:u==null?void 0:u.markerEnd}),[s,u,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(FMn,{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};qzt.displayName="MarkerDefinitions";var $Mn=H.memo(qzt);function Vzt({x:n,y:i,label:s,labelStyle:u,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]),D=H.useRef(null);return H.useEffect(()=>{if(D.current){const L=D.current.getBBox();C({x:L.x,y:L.y,width:L.width,height:L.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:D,style:u,children:s}),E]}):null}Vzt.displayName="EdgeText";const BMn=H.memo(Vzt);function kz({path:n,labelX:i,labelY:s,label:u,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,u&&Rv(i)&&Rv(s)?I.jsx(BMn,{x:i,y:s,label:u,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E}):null]})}function g9t({pos:n,x1:i,y1:s,x2:u,y2:d}){return n===qr.Left||n===qr.Right?[.5*(i+u),s]:[i,.5*(s+d)]}function Wzt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:u,targetY:d,targetPosition:g=qr.Top}){const[b,w]=g9t({pos:s,x1:n,y1:i,x2:u,y2:d}),[E,S]=g9t({pos:g,x1:u,y1:d,x2:n,y2:i}),[x,A,C,R]=fzt({sourceX:n,sourceY:i,targetX:u,targetY:d,sourceControlX:b,sourceControlY:w,targetControlX:E,targetControlY:S});return[`M${n},${i} C${b},${w} ${E},${S} ${u},${d}`,x,A,C,R]}function Kzt(n){return H.memo(({id:i,sourceX:s,sourceY:u,targetX:d,targetY:g,sourcePosition:b,targetPosition:w,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:D,markerEnd:L,markerStart:B,interactionWidth:$})=>{const[j,P,G]=Wzt({sourceX:s,sourceY:u,sourcePosition:b,targetX:d,targetY:g,targetPosition:w}),ee=n.isInternal?void 0:i;return I.jsx(kz,{id:ee,path:j,labelX:P,labelY:G,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:D,markerEnd:L,markerStart:B,interactionWidth:$})})}const UMn=Kzt({isInternal:!1}),Yzt=Kzt({isInternal:!0});UMn.displayName="SimpleBezierEdge";Yzt.displayName="SimpleBezierEdgeInternal";function Jzt(n){return H.memo(({id:i,sourceX:s,sourceY:u,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,sourcePosition:R=qr.Bottom,targetPosition:D=qr.Top,markerEnd:L,markerStart:B,pathOptions:$,interactionWidth:j})=>{const[P,G,ee]=Koe({sourceX:s,sourceY:u,sourcePosition:R,targetX:d,targetY:g,targetPosition:D,borderRadius:$==null?void 0:$.borderRadius,offset:$==null?void 0:$.offset,stepPosition:$==null?void 0:$.stepPosition}),ne=n.isInternal?void 0:i;return I.jsx(kz,{id:ne,path:P,labelX:G,labelY:ee,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:L,markerStart:B,interactionWidth:j})})}const Xzt=Jzt({isInternal:!1}),Zzt=Jzt({isInternal:!0});Xzt.displayName="SmoothStepEdge";Zzt.displayName="SmoothStepEdgeInternal";function Qzt(n){return H.memo(({id:i,...s})=>{var d;const u=n.isInternal?void 0:i;return I.jsx(Xzt,{...s,id:u,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 HMn=Qzt({isInternal:!1}),eGt=Qzt({isInternal:!0});HMn.displayName="StepEdge";eGt.displayName="StepEdgeInternal";function tGt(n){return H.memo(({id:i,sourceX:s,sourceY:u,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:R,markerStart:D,interactionWidth:L})=>{const[B,$,j]=bzt({sourceX:s,sourceY:u,targetX:d,targetY:g}),P=n.isInternal?void 0:i;return I.jsx(kz,{id:P,path:B,labelX:$,labelY:j,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:R,markerStart:D,interactionWidth:L})})}const zMn=tGt({isInternal:!1}),nGt=tGt({isInternal:!0});zMn.displayName="StraightEdge";nGt.displayName="StraightEdgeInternal";function rGt(n){return H.memo(({id:i,sourceX:s,sourceY:u,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:D,markerEnd:L,markerStart:B,pathOptions:$,interactionWidth:j})=>{const[P,G,ee]=hzt({sourceX:s,sourceY:u,sourcePosition:b,targetX:d,targetY:g,targetPosition:w,curvature:$==null?void 0:$.curvature}),ne=n.isInternal?void 0:i;return I.jsx(kz,{id:ne,path:P,labelX:G,labelY:ee,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:D,markerEnd:L,markerStart:B,interactionWidth:j})})}const GMn=rGt({isInternal:!1}),iGt=rGt({isInternal:!0});GMn.displayName="BezierEdge";iGt.displayName="BezierEdgeInternal";const b9t={default:iGt,straight:nGt,step:eGt,smoothstep:Zzt,simplebezier:Yzt},m9t={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},qMn=(n,i,s)=>s===qr.Left?n-i:s===qr.Right?n+i:n,VMn=(n,i,s)=>s===qr.Top?n-i:s===qr.Bottom?n+i:n,w9t="react-flow__edgeupdater";function y9t({position:n,centerX:i,centerY:s,radius:u=10,onMouseDown:d,onMouseEnter:g,onMouseOut:b,type:w}){return I.jsx("circle",{onMouseDown:d,onMouseEnter:g,onMouseOut:b,className:Bd([w9t,`${w9t}-${w}`]),cx:qMn(i,u,n),cy:VMn(s,u,n),r:u,stroke:"transparent",fill:"transparent"})}function WMn({isReconnectable:n,reconnectRadius:i,edge:s,sourceX:u,sourceY:d,targetX:g,targetY:b,sourcePosition:w,targetPosition:E,onReconnect:S,onReconnectStart:x,onReconnectEnd:A,setReconnecting:C,setUpdateHover:R}){const D=Mc(),L=(G,ee)=>{if(G.button!==0)return;const{autoPanOnConnect:ne,domNode:Q,isValidConnection:ie,connectionMode:he,connectionRadius:ge,lib:ce,onConnectStart:fe,onConnectEnd:K,cancelConnection:pe,nodeLookup:Oe,rfId:Se,panBy:De,updateConnection:Ae}=D.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)};mLe.onPointerDown(G.nativeEvent,{autoPanOnConnect:ne,connectionMode:he,connectionRadius:ge,domNode:Q,handleId:ee.id,nodeId:ee.nodeId,nodeLookup:Oe,isTarget:xe,edgeUpdaterType:ee.type,lib:ce,flowId:Se,cancelConnection:pe,panBy:De,isValidConnection:ie,onConnect:dt,onConnectStart:Ue,onConnectEnd:K,onReconnectEnd:We,updateConnection:Ae,getTransform:()=>D.getState().transform,getFromHandle:()=>D.getState().connection.fromHandle,dragThreshold:D.getState().connectionDragThreshold,handleDomNode:G.currentTarget})},B=G=>L(G,{nodeId:s.target,id:s.targetHandle??null,type:"target"}),$=G=>L(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(y9t,{position:w,centerX:u,centerY:d,radius:i,onMouseDown:B,onMouseEnter:j,onMouseOut:P,type:"source"}),(n===!0||n==="target")&&I.jsx(y9t,{position:E,centerX:g,centerY:b,radius:i,onMouseDown:$,onMouseEnter:j,onMouseOut:P,type:"target"})]})}function KMn({id:n,edgesFocusable:i,edgesReconnectable:s,elementsSelectable:u,onClick:d,onDoubleClick:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,reconnectRadius:x,onReconnect:A,onReconnectStart:C,onReconnectEnd:R,rfId:D,edgeTypes:L,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",ne=(L==null?void 0:L[ee])||b9t[ee];ne===void 0&&($==null||$("011",z2.error011(ee)),ee="default",ne=(L==null?void 0:L.default)||b9t.default);const Q=!!(P.focusable||i&&typeof P.focusable>"u"),ie=typeof A<"u"&&(P.reconnectable||s&&typeof P.reconnectable>"u"),he=!!(P.selectable||u&&typeof P.selectable>"u"),ge=H.useRef(null),[ce,fe]=H.useState(!1),[K,pe]=H.useState(!1),Oe=Mc(),{zIndex:Se,sourceX:De,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,...m9t};const Qr=MDn({id:n,sourceNode:vr,targetNode:Ui,sourceHandle:P.sourceHandle||null,targetHandle:P.targetHandle||null,connectionMode:Yn.connectionMode,onError:$});return{zIndex:NDn({selected:P.selected,zIndex:P.zIndex,sourceNode:vr,targetNode:Ui,elevateOnSelect:Yn.elevateEdgesOnSelect,zIndexMode:Yn.zIndexMode}),...Qr||m9t}},[P.source,P.target,P.sourceHandle,P.targetHandle,P.selected,P.zIndex]),Dc),bt=H.useMemo(()=>P.markerStart?`url('#${gLe(P.markerStart,D)}')`:void 0,[P.markerStart,D]),kt=H.useMemo(()=>P.markerEnd?`url('#${gLe(P.markerEnd,D)}')`:void 0,[P.markerEnd,D]);if(P.hidden||De===null||Ae===null||xe===null||We===null)return null;const ht=Yn=>{var Hi;const{addSelectedEdges:vr,unselectNodesAndEdges:Ui,multiSelectionActive:Qr}=Oe.getState();he&&(Oe.setState({nodesSelectionActive:!1}),P.selected&&Qr?(Ui({nodes:[],edges:[P]}),(Hi=ge.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&&ZHt.includes(Yn.key)&&he){const{unselectNodesAndEdges:Ui,addSelectedEdges:Qr}=Oe.getState();Yn.key==="Escape"?((vr=ge.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:!he&&!d,updating:ce,selectable:he}]),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?`${Lzt}-${D}`:void 0,ref:ge,...P.domAttributes,children:[!K&&I.jsx(ne,{id:n,source:P.source,target:P.target,type:P.type,selected:P.selected,animated:P.animated,selectable:he,deletable:P.deletable??!0,label:P.label,labelStyle:P.labelStyle,labelShowBg:P.labelShowBg,labelBgStyle:P.labelBgStyle,labelBgPadding:P.labelBgPadding,labelBgBorderRadius:P.labelBgBorderRadius,sourceX:De,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(WMn,{edge:P,isReconnectable:ie,reconnectRadius:x,onReconnect:A,onReconnectStart:C,onReconnectEnd:R,sourceX:De,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:dt,targetPosition:Ue,setUpdateHover:fe,setReconnecting:pe})]})})}var YMn=H.memo(KMn);const JMn=n=>({edgesFocusable:n.edgesFocusable,edgesReconnectable:n.edgesReconnectable,elementsSelectable:n.elementsSelectable,connectionMode:n.connectionMode,onError:n.onError});function oGt({defaultMarkerColor:n,onlyRenderVisibleElements:i,rfId:s,edgeTypes:u,noPanClassName:d,onReconnect:g,onEdgeContextMenu:b,onEdgeMouseEnter:w,onEdgeMouseMove:E,onEdgeMouseLeave:S,onEdgeClick:x,reconnectRadius:A,onEdgeDoubleClick:C,onReconnectStart:R,onReconnectEnd:D,disableKeyboardA11y:L}){const{edgesFocusable:B,edgesReconnectable:$,elementsSelectable:j,onError:P}=Js(JMn,Dc),G=DMn(i);return I.jsxs("div",{className:"react-flow__edges",children:[I.jsx($Mn,{defaultColor:n,rfId:s}),G.map(ee=>I.jsx(YMn,{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:D,rfId:s,onError:P,edgeTypes:u,disableKeyboardA11y:L},ee))]})}oGt.displayName="EdgeRenderer";const XMn=H.memo(oGt),ZMn=n=>`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]})`;function QMn({children:n}){const i=Js(ZMn);return I.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:i},children:n})}function e9n(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 t9n=n=>{var i;return(i=n.panZoom)==null?void 0:i.syncViewport};function n9n(n){const i=Js(t9n),s=Mc();return H.useEffect(()=>{n&&(i==null||i(n),s.setState({transform:[n.x,n.y,n.zoom]}))},[n,i]),null}function r9n(n){return n.connection.inProgress?{...n.connection,to:xz(n.connection.to,n.transform)}:{...n.connection}}function i9n(n){return r9n}function o9n(n){const i=i9n();return Js(i,Dc)}const s9n=n=>({nodesConnectable:n.nodesConnectable,isValid:n.connection.isValid,inProgress:n.connection.inProgress,width:n.width,height:n.height});function a9n({containerStyle:n,style:i,type:s,component:u}){const{nodesConnectable:d,width:g,height:b,isValid:w,inProgress:E}=Js(s9n,Dc);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",tzt(w)]),children:I.jsx(sGt,{style:i,type:s,CustomComponent:u,isValid:w})})})}const sGt=({style:n,type:i=Bk.Bezier,CustomComponent:s,isValid:u})=>{const{inProgress:d,from:g,fromNode:b,fromHandle:w,fromPosition:E,to:S,toNode:x,toHandle:A,toPosition:C,pointer:R}=o9n();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:tzt(u),toNode:x,toHandle:A,pointer:R});let D="";const L={sourceX:g.x,sourceY:g.y,sourcePosition:E,targetX:S.x,targetY:S.y,targetPosition:C};switch(i){case Bk.Bezier:[D]=hzt(L);break;case Bk.SimpleBezier:[D]=Wzt(L);break;case Bk.Step:[D]=Koe({...L,borderRadius:0});break;case Bk.SmoothStep:[D]=Koe(L);break;default:[D]=bzt(L)}return I.jsx("path",{d:D,fill:"none",className:"react-flow__connection-path",style:n})};sGt.displayName="ConnectionLine";const u9n={};function v9t(n=u9n){H.useRef(n),Mc(),H.useEffect(()=>{},[n])}function c9n(){Mc(),H.useRef(!1),H.useEffect(()=>{},[])}function aGt({nodeTypes:n,edgeTypes:i,onInit:s,onNodeClick:u,onEdgeClick:d,onNodeDoubleClick:g,onEdgeDoubleClick:b,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:x,onSelectionContextMenu:A,onSelectionStart:C,onSelectionEnd:R,connectionLineType:D,connectionLineStyle:L,connectionLineComponent:B,connectionLineContainerStyle:$,selectionKeyCode:j,selectionOnDrag:P,selectionMode:G,multiSelectionKeyCode:ee,panActivationKeyCode:ne,zoomActivationKeyCode:Q,deleteKeyCode:ie,onlyRenderVisibleElements:he,elementsSelectable:ge,defaultViewport:ce,translateExtent:fe,minZoom:K,maxZoom:pe,preventScrolling:Oe,defaultMarkerColor:Se,zoomOnScroll:De,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:Ci,nodeExtent:mb,rfId:Yg,viewport:Wh,onViewportChange:wb}){return v9t(n),v9t(i),c9n(),e9n(s),n9n(Wh),I.jsx(AMn,{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:ne,zoomActivationKeyCode:Q,elementsSelectable:ge,zoomOnScroll:De,zoomOnPinch:Ae,zoomOnDoubleClick:Ue,panOnScroll:xe,panOnScrollSpeed:We,panOnScrollMode:dt,panOnDrag:bt,defaultViewport:ce,translateExtent:fe,minZoom:K,maxZoom:pe,onSelectionContextMenu:A,preventScrolling:Oe,noDragClassName:ls,noWheelClassName:Qo,noPanClassName:Ca,disableKeyboardA11y:Ci,onViewportChange:wb,isControlledViewport:!!Wh,children:I.jsxs(QMn,{children:[I.jsx(XMn,{edgeTypes:i,onEdgeClick:d,onEdgeDoubleClick:b,onReconnect:ai,onReconnectStart:jc,onReconnectEnd:Xs,onlyRenderVisibleElements:he,onEdgeContextMenu:Yn,onEdgeMouseEnter:vr,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,defaultMarkerColor:Se,noPanClassName:Ca,disableKeyboardA11y:Ci,rfId:Yg}),I.jsx(a9n,{style:L,type:D,component:B,containerStyle:$}),I.jsx("div",{className:"react-flow__edgelabel-renderer"}),I.jsx(LMn,{nodeTypes:n,onNodeClick:u,onNodeDoubleClick:g,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:x,nodeClickDistance:Zn,onlyRenderVisibleElements:he,noPanClassName:Ca,noDragClassName:ls,disableKeyboardA11y:Ci,nodeExtent:mb,rfId:Yg}),I.jsx("div",{className:"react-flow__viewport-portal"})]})})}aGt.displayName="GraphView";const l9n=H.memo(aGt),E9t=({nodes:n,edges:i,defaultNodes:s,defaultEdges:u,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,D=new Map,L=new Map,B=new Map,$=u??i??[],j=s??n??[],P=x??[0,0],G=A??KH;yzt(L,B,$);const ee=bLe(j,R,D,{nodeOrigin:P,nodeExtent:G,zIndexMode:C});let ne=[0,0,1];if(b&&d&&g){const Q=Az(R,{filter:ce=>!!((ce.width||ce.initialWidth)&&(ce.height||ce.initialHeight))}),{x:ie,y:he,zoom:ge}=I5e(Q,d,g,E,S,(w==null?void 0:w.padding)??.1);ne=[ie,he,ge]}return{rfId:"1",width:d??0,height:g??0,transform:ne,nodes:j,nodesInitialized:ee,nodeLookup:R,parentLookup:D,edges:$,edgeLookup:B,connectionLookup:L,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:s!==void 0,hasDefaultEdges:u!==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:{...ezt},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:SDn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:QHt,zIndexMode:C,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},d9n=({nodes:n,edges:i,defaultNodes:s,defaultEdges:u,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:x,nodeExtent:A,zIndexMode:C})=>C5n((R,D)=>{async function L(){const{nodeLookup:B,panZoom:$,fitViewOptions:j,fitViewResolver:P,width:G,height:ee,minZoom:ne,maxZoom:Q}=D();$&&(await vDn({nodes:B,width:G,height:ee,panZoom:$,minZoom:ne,maxZoom:Q},j),P==null||P.resolve(!0),R({fitViewResolver:null}))}return{...E9t({nodes:n,edges:i,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:x,nodeExtent:A,defaultNodes:s,defaultEdges:u,zIndexMode:C}),setNodes:B=>{const{nodeLookup:$,parentLookup:j,nodeOrigin:P,elevateNodesOnSelect:G,fitViewQueued:ee,zIndexMode:ne}=D(),Q=bLe(B,$,j,{nodeOrigin:P,nodeExtent:A,elevateNodesOnSelect:G,checkEquality:!0,zIndexMode:ne});ee&&Q?(L(),R({nodes:B,nodesInitialized:Q,fitViewQueued:!1,fitViewOptions:void 0})):R({nodes:B,nodesInitialized:Q})},setEdges:B=>{const{connectionLookup:$,edgeLookup:j}=D();yzt($,j,B),R({edges:B})},setDefaultNodesAndEdges:(B,$)=>{if(B){const{setNodes:j}=D();j(B),R({hasDefaultNodes:!0})}if($){const{setEdges:j}=D();j($),R({hasDefaultEdges:!0})}},updateNodeInternals:B=>{const{triggerNodeChanges:$,nodeLookup:j,parentLookup:P,domNode:G,nodeOrigin:ee,nodeExtent:ne,debug:Q,fitViewQueued:ie,zIndexMode:he}=D(),{changes:ge,updatedInternals:ce}=zDn(B,j,P,G,ee,ne,he);ce&&($Dn(j,P,{nodeOrigin:ee,nodeExtent:ne,zIndexMode:he}),ie?(L(),R({fitViewQueued:!1,fitViewOptions:void 0})):R({}),(ge==null?void 0:ge.length)>0&&(Q&&console.log("React Flow: trigger node changes",ge),$==null||$(ge)))},updateNodePositions:(B,$=!1)=>{const j=[];let P=[];const{nodeLookup:G,triggerNodeChanges:ee,connection:ne,updateConnection:Q,onNodesChangeMiddlewareMap:ie}=D();for(const[he,ge]of B){const ce=G.get(he),fe=!!(ce!=null&&ce.expandParent&&(ce!=null&&ce.parentId)&&(ge!=null&&ge.position)),K={id:he,type:"position",position:fe?{x:Math.max(0,ge.position.x),y:Math.max(0,ge.position.y)}:ge.position,dragging:$};if(ce&&ne.inProgress&&ne.fromNode.id===ce.id){const pe=pR(ce,ne.fromHandle,qr.Left,!0);Q({...ne,from:pe})}fe&&ce.parentId&&j.push({id:he,parentId:ce.parentId,rect:{...ge.internals.positionAbsolute,width:ge.measured.width??0,height:ge.measured.height??0}}),P.push(K)}if(j.length>0){const{parentLookup:he,nodeOrigin:ge}=D(),ce=P5e(j,G,he,ge);P.push(...ce)}for(const he of ie.values())P=he(P);ee(P)},triggerNodeChanges:B=>{const{onNodesChange:$,setNodes:j,nodes:P,hasDefaultNodes:G,debug:ee}=D();if(B!=null&&B.length){if(G){const ne=Pzt(B,P);j(ne)}ee&&console.log("React Flow: trigger node changes",B),$==null||$(B)}},triggerEdgeChanges:B=>{const{onEdgesChange:$,setEdges:j,edges:P,hasDefaultEdges:G,debug:ee}=D();if(B!=null&&B.length){if(G){const ne=jzt(B,P);j(ne)}ee&&console.log("React Flow: trigger edge changes",B),$==null||$(B)}},addSelectedNodes:B=>{const{multiSelectionActive:$,edgeLookup:j,nodeLookup:P,triggerNodeChanges:G,triggerEdgeChanges:ee}=D();if($){const ne=B.map(Q=>W4(Q,!0));G(ne);return}G(z5(P,new Set([...B]),!0)),ee(z5(j))},addSelectedEdges:B=>{const{multiSelectionActive:$,edgeLookup:j,nodeLookup:P,triggerNodeChanges:G,triggerEdgeChanges:ee}=D();if($){const ne=B.map(Q=>W4(Q,!0));ee(ne);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:ne}=D(),Q=B||P,ie=$||j,he=Q.map(ce=>{const fe=G.get(ce.id);return fe&&(fe.selected=!1),W4(ce.id,!1)}),ge=ie.map(ce=>W4(ce.id,!1));ee(he),ne(ge)},setMinZoom:B=>{const{panZoom:$,maxZoom:j}=D();$==null||$.setScaleExtent([B,j]),R({minZoom:B})},setMaxZoom:B=>{const{panZoom:$,minZoom:j}=D();$==null||$.setScaleExtent([j,B]),R({maxZoom:B})},setTranslateExtent:B=>{var $;($=D().panZoom)==null||$.setTranslateExtent(B),R({translateExtent:B})},resetSelectedElements:()=>{const{edges:B,nodes:$,triggerNodeChanges:j,triggerEdgeChanges:P,elementsSelectable:G}=D();if(!G)return;const ee=$.reduce((Q,ie)=>ie.selected?[...Q,W4(ie.id,!1)]:Q,[]),ne=B.reduce((Q,ie)=>ie.selected?[...Q,W4(ie.id,!1)]:Q,[]);j(ee),P(ne)},setNodeExtent:B=>{const{nodes:$,nodeLookup:j,parentLookup:P,nodeOrigin:G,elevateNodesOnSelect:ee,nodeExtent:ne,zIndexMode:Q}=D();B[0][0]===ne[0][0]&&B[0][1]===ne[0][1]&&B[1][0]===ne[1][0]&&B[1][1]===ne[1][1]||(bLe($,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}=D();return GDn({delta:B,panZoom:G,transform:$,translateExtent:ee,width:j,height:P})},setCenter:async(B,$,j)=>{const{width:P,height:G,maxZoom:ee,panZoom:ne}=D();if(!ne)return Promise.resolve(!1);const Q=typeof(j==null?void 0:j.zoom)<"u"?j.zoom:ee;return await ne.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:{...ezt}})},updateConnection:B=>{R({connection:B})},reset:()=>R({...E9t()})}},Object.is);function uGt({initialNodes:n,initialEdges:i,defaultNodes:s,defaultEdges:u,initialWidth:d,initialHeight:g,initialMinZoom:b,initialMaxZoom:w,initialFitViewOptions:E,fitView:S,nodeOrigin:x,nodeExtent:A,zIndexMode:C,children:R}){const[D]=H.useState(()=>d9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:u,width:d,height:g,fitView:S,minZoom:b,maxZoom:w,fitViewOptions:E,nodeOrigin:x,nodeExtent:A,zIndexMode:C}));return I.jsx(I5n,{value:D,children:I.jsx(Q5n,{children:R})})}function f9n({children:n,nodes:i,edges:s,defaultNodes:u,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(uGt,{initialNodes:i,initialEdges:s,defaultNodes:u,defaultEdges:d,initialWidth:g,initialHeight:b,fitView:w,initialFitViewOptions:E,initialMinZoom:S,initialMaxZoom:x,nodeOrigin:A,nodeExtent:C,zIndexMode:R,children:n})}const h9n={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function p9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:u,className:d,nodeTypes:g,edgeTypes:b,onNodeClick:w,onEdgeClick:E,onInit:S,onMove:x,onMoveStart:A,onMoveEnd:C,onConnect:R,onConnectStart:D,onConnectEnd:L,onClickConnectStart:B,onClickConnectEnd:$,onNodeMouseEnter:j,onNodeMouseMove:P,onNodeMouseLeave:G,onNodeContextMenu:ee,onNodeDoubleClick:ne,onNodeDragStart:Q,onNodeDrag:ie,onNodeDragStop:he,onNodesDelete:ge,onEdgesDelete:ce,onDelete:fe,onSelectionChange:K,onSelectionDragStart:pe,onSelectionDrag:Oe,onSelectionDragStop:Se,onSelectionContextMenu:De,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=Dzt,edgesFocusable:Ca,edgesReconnectable:Ci,elementsSelectable:mb=!0,defaultViewport:Yg=z5n,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:nG,noDragClassName:rG="nodrag",noWheelClassName:iG="nowheel",noPanClassName:i9="nopan",fitView:o9,fitViewOptions:s9,connectOnClick:oG,attributionPosition:sG,proOptions:aG,defaultEdgeOptions:uG,elevateNodesOnSelect:WR=!0,elevateEdgesOnSelect:cG=!1,disableKeyboardA11y:a9=!1,autoPanOnConnect:lG,autoPanOnNodeDrag:dG,autoPanSpeed:fG,connectionRadius:hG,isValidConnection:pG,onError:gG,style:bG,id:u9,nodeDragThreshold:mG,connectionDragThreshold:c9,viewport:l9,onViewportChange:wG,width:yG,height:vG,colorMode:EG="light",debug:SG,onScroll:LN,ariaLabelConfig:TG,zIndexMode:d9="basic",...AG},_G){const KR=u9||"1",xG=W5n(EG),kG=H.useCallback(f9=>{f9.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),LN==null||LN(f9)},[LN]);return I.jsx("div",{"data-testid":"rf__wrapper",...AG,onScroll:kG,style:{...bG,...h9n},ref:_G,className:Bd(["react-flow",d,xG]),id:u9,role:"application",children:I.jsxs(f9n,{nodes:n,edges:i,width:yG,height:vG,fitView:o9,fitViewOptions:s9,minZoom:Wh,maxZoom:wb,nodeOrigin:Qo,nodeExtent:Kh,zIndexMode:d9,children:[I.jsx(l9n,{onInit:S,onNodeClick:w,onEdgeClick:E,onNodeMouseEnter:j,onNodeMouseMove:P,onNodeMouseLeave:G,onNodeContextMenu:ee,onNodeDoubleClick:ne,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:De,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:rG,noWheelClassName:iG,noPanClassName:i9,rfId:KR,disableKeyboardA11y:a9,nodeExtent:Kh,viewport:l9,onViewportChange:wG}),I.jsx(V5n,{nodes:n,edges:i,defaultNodes:s,defaultEdges:u,onConnect:R,onConnectStart:D,onConnectEnd:L,onClickConnectStart:B,onClickConnectEnd:$,nodesDraggable:ai,autoPanOnNodeFocus:jc,nodesConnectable:Xs,nodesFocusable:ls,edgesFocusable:Ca,edgesReconnectable:Ci,elementsSelectable:mb,elevateNodesOnSelect:WR,elevateEdgesOnSelect:cG,minZoom:Wh,maxZoom:wb,nodeExtent:Kh,onNodesChange:r9,onEdgesChange:nG,snapToGrid:vr,snapGrid:Ui,connectionMode:dt,translateExtent:Wp,connectOnClick:oG,defaultEdgeOptions:uG,fitView:o9,fitViewOptions:s9,onNodesDelete:ge,onEdgesDelete:ce,onDelete:fe,onNodeDragStart:Q,onNodeDrag:ie,onNodeDragStop:he,onSelectionDrag:Oe,onSelectionDragStart:pe,onSelectionDragStop:Se,onMove:x,onMoveStart:A,onMoveEnd:C,noPanClassName:i9,nodeOrigin:Qo,rfId:KR,autoPanOnConnect:lG,autoPanOnNodeDrag:dG,autoPanSpeed:fG,onError:gG,connectionRadius:hG,isValidConnection:pG,selectNodesOnDrag:Hi,nodeDragThreshold:mG,connectionDragThreshold:c9,onBeforeDelete:We,debug:SG,ariaLabelConfig:TG,zIndexMode:d9}),I.jsx(H5n,{onSelectionChange:K}),Af,I.jsx(j5n,{proOptions:aG,position:sG}),I.jsx(P5n,{rfId:KR,disableKeyboardA11y:a9})]})})}var g9n=Fzt(p9n);const b9n=n=>{var i;return(i=n.domNode)==null?void 0:i.querySelector(".react-flow__edgelabel-renderer")};function S9t({children:n}){const i=Js(b9n);return i?xR.createPortal(n,i):null}function m9n({dimensions:n,lineWidth:i,variant:s,className:u}){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,u])})}function w9n({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 y9n={[pA.Dots]:1,[pA.Lines]:1,[pA.Cross]:6},v9n=n=>({transform:n.transform,patternId:`pattern-${n.rfId}`});function cGt({id:n,variant:i=pA.Dots,gap:s=20,size:u,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(v9n,Dc),D=u||y9n[i],L=i===pA.Dots,B=i===pA.Cross,$=Array.isArray(s)?s:[s,s],j=[$[0]*C[2]||1,$[1]*C[2]||1],P=D*C[2],G=Array.isArray(g)?g:[g,g],ee=B?[P,P]:j,ne=[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(-${ne[0]},-${ne[1]})`,children:L?I.jsx(w9n,{radius:P/2,className:x}):I.jsx(m9n,{dimensions:ee,lineWidth:d,variant:i,className:x})}),I.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${Q})`})]})}cGt.displayName="Background";const E9n=H.memo(cGt);function S9n(){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 T9n(){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 A9n(){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 _9n(){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 x9n(){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 vie({children:n,className:i,...s}){return I.jsx("button",{type:"button",className:Bd(["react-flow__controls-button",i]),...s,children:n})}const k9n=n=>({isInteractive:n.nodesDraggable||n.nodesConnectable||n.elementsSelectable,minZoomReached:n.transform[2]<=n.minZoom,maxZoomReached:n.transform[2]>=n.maxZoom,ariaLabelConfig:n.ariaLabelConfig});function lGt({style:n,showZoom:i=!0,showFitView:s=!0,showInteractive:u=!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 D=Mc(),{isInteractive:L,minZoomReached:B,maxZoomReached:$,ariaLabelConfig:j}=Js(k9n,Dc),{zoomIn:P,zoomOut:G,fitView:ee}=kR(),ne=()=>{P(),g==null||g()},Q=()=>{G(),b==null||b()},ie=()=>{ee(d),w==null||w()},he=()=>{D.setState({nodesDraggable:!L,nodesConnectable:!L,elementsSelectable:!L}),E==null||E(!L)},ge=C==="horizontal"?"horizontal":"vertical";return I.jsxs(gR,{className:Bd(["react-flow__controls",ge,S]),position:A,style:n,"data-testid":"rf__controls","aria-label":R??j["controls.ariaLabel"],children:[i&&I.jsxs(I.Fragment,{children:[I.jsx(vie,{onClick:ne,className:"react-flow__controls-zoomin",title:j["controls.zoomIn.ariaLabel"],"aria-label":j["controls.zoomIn.ariaLabel"],disabled:$,children:I.jsx(S9n,{})}),I.jsx(vie,{onClick:Q,className:"react-flow__controls-zoomout",title:j["controls.zoomOut.ariaLabel"],"aria-label":j["controls.zoomOut.ariaLabel"],disabled:B,children:I.jsx(T9n,{})})]}),s&&I.jsx(vie,{className:"react-flow__controls-fitview",onClick:ie,title:j["controls.fitView.ariaLabel"],"aria-label":j["controls.fitView.ariaLabel"],children:I.jsx(A9n,{})}),u&&I.jsx(vie,{className:"react-flow__controls-interactive",onClick:he,title:j["controls.interactive.ariaLabel"],"aria-label":j["controls.interactive.ariaLabel"],children:L?I.jsx(x9n,{}):I.jsx(_9n,{})}),x]})}lGt.displayName="Controls";const N9n=H.memo(lGt);function C9n({id:n,x:i,y:s,width:u,height:d,style:g,color:b,strokeColor:w,strokeWidth:E,className:S,borderRadius:x,shapeRendering:A,selected:C,onClick:R}){const{background:D,backgroundColor:L}=g||{},B=b||D||L;return I.jsx("rect",{className:Bd(["react-flow__minimap-node",{selected:C},S]),x:i,y:s,rx:x,ry:x,width:u,height:d,style:{fill:B,stroke:w,strokeWidth:E},shapeRendering:A,onClick:R?$=>R($,n):void 0})}const I9n=H.memo(C9n),R9n=n=>n.nodes.map(i=>i.id),qCe=n=>n instanceof Function?n:()=>n;function O9n({nodeStrokeColor:n,nodeColor:i,nodeClassName:s="",nodeBorderRadius:u=5,nodeStrokeWidth:d,nodeComponent:g=I9n,onClick:b}){const w=Js(R9n,Dc),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(D9n,{id:C,nodeColorFunc:E,nodeStrokeColorFunc:S,nodeClassNameFunc:x,nodeBorderRadius:u,nodeStrokeWidth:d,NodeComponent:g,onClick:b,shapeRendering:A},C))})}function L9n({id:n,nodeColorFunc:i,nodeStrokeColorFunc:s,nodeClassNameFunc:u,nodeBorderRadius:d,nodeStrokeWidth:g,shapeRendering:b,NodeComponent:w,onClick:E}){const{node:S,x,y:A,width:C,height:R}=Js(D=>{const{internals:L}=D.nodeLookup.get(n),B=L.userNode,{x:$,y:j}=L.positionAbsolute,{width:P,height:G}=_A(B);return{node:B,x:$,y:j,width:P,height:G}},Dc);return!S||S.hidden||!azt(S)?null:I.jsx(w,{x,y:A,width:C,height:R,style:S.style,selected:!!S.selected,className:u(S),color:i(S),borderRadius:d,strokeColor:s(S),strokeWidth:g,shapeRendering:b,onClick:E,id:S.id})}const D9n=H.memo(L9n);var M9n=H.memo(O9n);const P9n=200,j9n=150,F9n=n=>!n.hidden,$9n=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?szt(Az(n.nodeLookup,{filter:F9n}),i):i,rfId:n.rfId,panZoom:n.panZoom,translateExtent:n.translateExtent,flowWidth:n.width,flowHeight:n.height,ariaLabelConfig:n.ariaLabelConfig}},B9n="react-flow__minimap-desc";function dGt({style:n,className:i,nodeStrokeColor:s,nodeColor:u,nodeClassName:d="",nodeBorderRadius:g=5,nodeStrokeWidth:b,nodeComponent:w,bgColor:E,maskColor:S,maskStrokeColor:x,maskStrokeWidth:A,position:C="bottom-right",onClick:R,onNodeClick:D,pannable:L=!1,zoomable:B=!1,ariaLabel:$,inversePan:j,zoomStep:P=1,offsetScale:G=5}){const ee=Mc(),ne=H.useRef(null),{boundingRect:Q,viewBB:ie,rfId:he,panZoom:ge,translateExtent:ce,flowWidth:fe,flowHeight:K,ariaLabelConfig:pe}=Js($9n,Dc),Oe=(n==null?void 0:n.width)??P9n,Se=(n==null?void 0:n.height)??j9n,De=Q.width/Oe,Ae=Q.height/Se,xe=Math.max(De,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=`${B9n}-${he}`,Ct=H.useRef(0),Ft=H.useRef();Ct.current=xe,H.useEffect(()=>{if(ne.current&&ge)return Ft.current=QDn({domNode:ne.current,panZoom:ge,getTransform:()=>ee.getState().transform,getViewScale:()=>Ct.current}),()=>{var vr;(vr=Ft.current)==null||vr.destroy()}},[ge]),H.useEffect(()=>{var vr;(vr=Ft.current)==null||vr.update({translateExtent:ce,width:fe,height:K,inversePan:j,pannable:L,zoomStep:P,zoomable:B})},[L,B,j,P,ce,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=D?H.useCallback((vr,Ui)=>{const Qr=ee.getState().nodeLookup.get(Ui).internals.userNode;D(vr,Qr)},[]):void 0,Yn=$??pe["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 u=="string"?u: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:ne,onClick:On,children:[Yn&&I.jsx("title",{id:vt,children:Yn}),I.jsx(M9n,{onClick:Zn,nodeColor:u,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"})]})})}dGt.displayName="MiniMap";const U9n=H.memo(dGt),H9n=n=>i=>n?`${Math.max(1/i.transform[2],1)}`:void 0,z9n={[_M.Line]:"right",[_M.Handle]:"bottom-right"};function G9n({nodeId:n,position:i,variant:s=_M.Handle,className:u,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:D,onResizeStart:L,onResize:B,onResizeEnd:$}){const j=Hzt(),P=typeof n=="string"?n:j,G=Mc(),ee=H.useRef(null),ne=s===_M.Handle,Q=Js(H.useCallback(H9n(ne&&R),[ne,R]),Dc),ie=H.useRef(null),he=i??z9n[s];H.useEffect(()=>{if(!(!ee.current||!P))return ie.current||(ie.current=h5n({domNode:ee.current,nodeId:P,getStoreItems:()=>{const{nodeLookup:ce,transform:fe,snapGrid:K,snapToGrid:pe,nodeOrigin:Oe,domNode:Se}=G.getState();return{nodeLookup:ce,transform:fe,snapGrid:K,snapToGrid:pe,nodeOrigin:Oe,paneDomNode:Se}},onChange:(ce,fe)=>{const{triggerNodeChanges:K,nodeLookup:pe,parentLookup:Oe,nodeOrigin:Se}=G.getState(),De=[],Ae={x:ce.x,y:ce.y},xe=pe.get(P);if(xe&&xe.expandParent&&xe.parentId){const We=xe.origin??Se,dt=ce.width??xe.measured.width??0,Ue=ce.height??xe.measured.height??0,bt={id:xe.id,parentId:xe.parentId,rect:{width:dt,height:Ue,...uzt({x:ce.x??xe.position.x,y:ce.y??xe.position.y},{width:dt,height:Ue},xe.parentId,pe,We)}},kt=P5e([bt],pe,Oe,Se);De.push(...kt),Ae.x=ce.x?Math.max(We[0]*dt,ce.x):void 0,Ae.y=ce.y?Math.max(We[1]*Ue,ce.y):void 0}if(Ae.x!==void 0&&Ae.y!==void 0){const We={id:P,type:"position",position:{...Ae}};De.push(We)}if(ce.width!==void 0&&ce.height!==void 0){const dt={id:P,type:"dimensions",resizing:!0,setAttributes:C?C==="horizontal"?"width":"height":!0,dimensions:{width:ce.width,height:ce.height}};De.push(dt)}for(const We of fe){const dt={...We,type:"position"};De.push(dt)}K(De)},onEnd:({width:ce,height:fe})=>{const K={id:P,type:"dimensions",resizing:!1,dimensions:{width:ce,height:fe}};G.getState().triggerNodeChanges([K])}})),ie.current.update({controlPosition:he,boundaries:{minWidth:w,minHeight:E,maxWidth:S,maxHeight:x},keepAspectRatio:A,resizeDirection:C,onResizeStart:L,onResize:B,onResizeEnd:$,shouldResize:D}),()=>{var ce;(ce=ie.current)==null||ce.destroy()}},[he,w,E,S,x,A,L,B,$,D]);const ge=he.split("-");return I.jsx("div",{className:Bd(["react-flow__resize-control","nodrag",...ge,s,u]),ref:ee,style:{...d,scale:Q,...b&&{[ne?"backgroundColor":"borderColor"]:b}},children:g})}H.memo(G9n);/**
* @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 fGt=(...n)=>n.filter((i,s,u)=>!!i&&i.trim()!==""&&u.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 q9n=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 V9n=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,u)=>u?u.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 T9t=n=>{const i=V9n(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 W9n={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 K9n=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 Y9n=H.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:u,className:d="",children:g,iconNode:b,...w},E)=>H.createElement("svg",{ref:E,...W9n,width:i,height:i,stroke:n,strokeWidth:u?Number(s)*24/Number(i):s,className:fGt("lucide",d),...!g&&!K9n(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:u,...d},g)=>H.createElement(Y9n,{ref:g,iconNode:i,className:fGt(`lucide-${q9n(T9t(n))}`,`lucide-${n}`,u),...d}));return s.displayName=T9t(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 J9n=[["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"}]],X9n=_i("align-end-horizontal",J9n);/**
* @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=[["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"}]],Q9n=_i("align-end-vertical",Z9n);/**
* @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=[["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"}]],t8n=_i("align-start-horizontal",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 n8n=[["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"}]],r8n=_i("align-start-vertical",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 i8n=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],o8n=_i("arrow-down",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 s8n=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],a8n=_i("arrow-left",s8n);/**
* @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:"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"}]],c8n=_i("arrow-up-down",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:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],d8n=_i("arrow-up",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 f8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],iN=_i("ban",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 h8n=[["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"}]],p8n=_i("brush-cleaning",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:"M20 6 9 17l-5-5",key:"1gmf2c"}]],oN=_i("check",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 b8n=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],nae=_i("chevron-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=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],w8n=_i("chevron-right",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 y8n=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],v8n=_i("chevron-up",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=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],hGt=_i("chevrons-up-down",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 S8n=[["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",S8n);/**
* @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:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],pGt=_i("circle-check-big",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 A8n=[["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"}]],_8n=_i("circle-play",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 x8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],k8n=_i("circle",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:"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"}]],C8n=_i("clipboard",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 I8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],F5e=_i("clock",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=[["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"}]],O8n=_i("copy-plus",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 L8n=[["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",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:"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"}]],gGt=_i("diamond-plus",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:"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"}]],A9t=_i("download",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 P8n=[["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"}]],j8n=_i("external-link",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 F8n=[["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"}]],$8n=_i("file-code",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 B8n=[["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"}]],U8n=_i("file-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 H8n=[["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"}]],z8n=_i("file-up",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:"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"}]],q8n=_i("folder-open-dot",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 V8n=[["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"}]],B5e=_i("git-branch",V8n);/**
* @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:"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"}]],K8n=_i("history",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:"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"}]],bGt=_i("hourglass",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 J8n=[["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"}]],X8n=_i("layers",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:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],QH=_i("loader-circle",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 Q8n=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],ePn=_i("menu",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 tPn=[["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"}]],nPn=_i("mouse-pointer-click",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 rPn=[["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"}]],iPn=_i("octagon-x",rPn);/**
* @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:"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",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=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],iae=_i("plus",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:"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"}]],uPn=_i("redo-2",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 cPn=[["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"}]],mGt=_i("rotate-ccw",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 lPn=[["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"}]],wGt=_i("save",lPn);/**
* @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=[["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"}]],fPn=_i("scissors",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 hPn=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],yGt=_i("search",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:"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"}]],gPn=_i("settings",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 bPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],vGt=_i("square",bPn);/**
* @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=[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]],_9t=_i("toggle-left",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 wPn=[["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",wPn);/**
* @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:"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"}]],x9t=_i("triangle-alert",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 vPn=[["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"}]],EPn=_i("undo-2",vPn);/**
* @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:"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"}]],TPn=_i("unplug",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:"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"}]],_Pn=_i("upload",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 xPn=[["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"}]],EGt=_i("variable",xPn);/**
* @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 kPn=[["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"}]],NPn=_i("wifi",kPn);/**
* @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:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],oae=_i("x",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 IPn=[["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"}]],SGt=_i("zap",IPn),RPn=H.createContext(null),VCe={didCatch:!1,error:null};let OPn=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 u,d;const{error:s}=this.state;s!==null&&((d=(u=this.props).onReset)==null||d.call(u,{args:i,reason:"imperative-api"}),this.setState(VCe))}componentDidCatch(i,s){var u,d;(d=(u=this.props).onError)==null||d.call(u,i,s)}componentDidUpdate(i,s){var g,b;const{didCatch:u}=this.state,{resetKeys:d}=this.props;u&&s.error!==null&&LPn(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:u,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(u)w=H.createElement(u,E);else if(d!==void 0)w=d;else throw b}return H.createElement(RPn.Provider,{value:{didCatch:g,error:b,resetErrorBoundary:this.resetErrorBoundary}},w)}};function LPn(n=[],i=[]){return n.length!==i.length||n.some((s,u)=>!Object.is(s,i[u]))}function DPn(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 MPn=n=>{switch(n){case"success":return FPn;case"info":return BPn;case"warning":return $Pn;case"error":return UPn;default:return null}},PPn=Array(12).fill(0),jPn=({visible:n,className:i})=>Hn.createElement("div",{className:["sonner-loading-wrapper",i].filter(Boolean).join(" "),"data-visible":n},Hn.createElement("div",{className:"sonner-spinner"},PPn.map((s,u)=>Hn.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${u}`})))),FPn=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"})),$Pn=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"})),BPn=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"})),UPn=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"})),HPn=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"})),zPn=()=>{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 yLe=1;class GPn{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:u,...d}=i,g=typeof(i==null?void 0:i.id)=="number"||((s=i.id)==null?void 0:s.length)>0?i.id:yLe++,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:u}),{...E,...i,id:g,dismissible:w,title:u}):E):this.addToast({title:u,...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(u=>u({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 u;s.loading!==void 0&&(u=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=u!==void 0,b;const w=d.then(async S=>{if(b=["resolve",S],Hn.isValidElement(S))g=!1,this.create({id:u,type:"default",message:S});else if(VPn(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,D=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:u,type:"error",description:C,...D})}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,D=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:u,type:"error",description:C,...D})}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,D=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:u,type:"success",description:C,...D})}}).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:u,type:"error",description:A,...R})}}).finally(()=>{g&&(this.dismiss(u),u=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 u!="string"&&typeof u!="number"?{unwrap:E}:Object.assign(u,{unwrap:E})},this.custom=(i,s)=>{const u=(s==null?void 0:s.id)||yLe++;return this.create({jsx:i(u),id:u,...s}),u},this.getActiveToasts=()=>this.toasts.filter(i=>!this.dismissedToasts.has(i.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const nb=new GPn,qPn=(n,i)=>{const s=(i==null?void 0:i.id)||yLe++;return nb.addToast({title:n,...i,id:s}),s},VPn=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",WPn=qPn,KPn=()=>nb.toasts,YPn=()=>nb.getActiveToasts(),N2=Object.assign(WPn,{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:KPn,getToasts:YPn});DPn("[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 Eie(n){return n.label!==void 0}const JPn=3,XPn="24px",ZPn="16px",k9t=4e3,QPn=356,ejn=14,tjn=45,njn=200;function _2(...n){return n.filter(Boolean).join(" ")}function rjn(n){const[i,s]=n.split("-"),u=[];return i&&u.push(i),s&&u.push(s),u}const ijn=n=>{var i,s,u,d,g,b,w,E,S;const{invert:x,toast:A,unstyled:C,interacting:R,setHeights:D,visibleToasts:L,heights:B,index:$,toasts:j,expanded:P,removeToast:G,defaultRichColors:ee,closeButton:ne,style:Q,cancelButtonStyle:ie,actionButtonStyle:he,className:ge="",descriptionClassName:ce="",duration:fe,position:K,gap:pe,expandByDefault:Oe,classNames:Se,icons:De,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||k9t),jc=Hn.useRef(null),Xs=Hn.useRef(null),ls=$===0,Qo=$+1<=L,Ca=A.type,Ci=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:ne},[A.closeButton,ne]),Wp=Hn.useMemo(()=>A.duration||fe||k9t,[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=zPn(),GR=A.invert||x,kA=Ca==="loading";Kh.current=Hn.useMemo(()=>Wh*pe+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),D(Fl=>[{toastId:A.id,height:Fc,position:A.position},...Fl]),()=>D(Fl=>Fl.filter(Af=>Af.toastId!==A.id))}},[D,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),D(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,D,A.id,A.jsx,A.action,A.cancel]);const yb=Hn.useCallback(()=>{Xt(!0),Ui(Kh.current),D(po=>po.filter(Fc=>Fc.toastId!==A.id)),setTimeout(()=>{G(A)},njn)},[A,G,D,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(De!=null&&De.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"},De.loading)}return Hn.createElement(jPn,{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||(De==null?void 0:De[Ca])||MPn(Ca);var RN,ON;return Hn.createElement("li",{tabIndex:0,ref:Xs,className:_2(ge,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":Ci,"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||!Ci||(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||!Ci)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)>=tjn||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||!Ci||((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:rjn(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||!Ci?()=>{}:()=>{yb(),A.onDismiss==null||A.onDismiss.call(A,A)},className:_2(Se==null?void 0:Se.closeButton,A==null||(u=A.classNames)==null?void 0:u.closeButton)},(ON=De==null?void 0:De.close)!=null?ON:HPn):null,(Ca||A.icon||A.promise)&&A.icon!==null&&((De==null?void 0:De[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(ce,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&&Eie(A.cancel)?Hn.createElement("button",{"data-button":!0,"data-cancel":!0,style:A.cancelButtonStyle||ie,onClick:po=>{Eie(A.cancel)&&Ci&&(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&&Eie(A.action)?Hn.createElement("button",{"data-button":!0,"data-action":!0,style:A.actionButtonStyle||he,onClick:po=>{Eie(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 N9t(){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 ojn(n,i){const s={};return[n,i].forEach((u,d)=>{const g=d===1,b=g?"--mobile-offset":"--offset",w=g?ZPn:XPn;function E(S){["top","right","bottom","left"].forEach(x=>{s[`${b}-${x}`]=typeof S=="number"?`${S}px`:S})}typeof u=="number"||typeof u=="string"?E(u):typeof u=="object"?["top","right","bottom","left"].forEach(S=>{u[S]===void 0?s[`${b}-${S}`]=w:s[`${b}-${S}`]=typeof u[S]=="number"?`${u[S]}px`:u[S]}):E(w)}),s}const sjn=Hn.forwardRef(function(i,s){const{id:u,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:D,style:L,visibleToasts:B=JPn,toastOptions:$,dir:j=N9t(),gap:P=ejn,icons:G,containerAriaLabel:ee="Notifications"}=i,[ne,Q]=Hn.useState([]),ie=Hn.useMemo(()=>u?ne.filter(bt=>bt.toasterId===u):ne.filter(bt=>!bt.toasterId),[ne,u]),he=Hn.useMemo(()=>Array.from(new Set([g].concat(ie.filter(bt=>bt.position).map(bt=>bt.position)))),[ie,g]),[ge,ce]=Hn.useState([]),[fe,K]=Hn.useState(!1),[pe,Oe]=Hn.useState(!1),[Se,De]=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(()=>{dHt.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]})})})}),[ne]),Hn.useEffect(()=>{if(C!=="system"){De(C);return}if(C==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?De("dark"):De("light")),typeof window>"u")return;const bt=window.matchMedia("(prefers-color-scheme: dark)");try{bt.addEventListener("change",({matches:kt})=>{De(kt?"dark":"light")})}catch{bt.addListener(({matches:ht})=>{try{De(ht?"dark":"light")}catch(Xt){console.error(Xt)}})}},[C]),Hn.useEffect(()=>{ne.length<=1&&K(!1)},[ne]),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},he.map((bt,kt)=>{var ht;const[Xt,vt]=bt.split("-");return ie.length?Hn.createElement("ol",{key:bt,dir:j==="auto"?N9t():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=ge[0])==null?void 0:ht.height)||0}px`,"--width":`${QPn}px`,"--gap":`${P}px`,...L,...ojn(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:()=>{pe||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(ijn,{key:Ct.id,icons:G,index:Ft,toast:Ct,defaultRichColors:R,duration:(On=$==null?void 0:$.duration)!=null?On:D,className:$==null?void 0:$.className,descriptionClassName:$==null?void 0:$.descriptionClassName,invert:d,visibleToasts:B,closeButton:(Zn=$==null?void 0:$.closeButton)!=null?Zn:E,interacting:pe,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:ge.filter(Yn=>Yn.position==Ct.position),setHeights:ce,expandByDefault:w,gap:P,expanded:fe,swipeDirections:i.swipeDirections})})):null}))});var C9t=1,ajn=.9,ujn=.8,cjn=.17,WCe=.1,KCe=.999,ljn=.9999,djn=.99,fjn=/[\\\/_+.#"@\[\(\{&]/,hjn=/[\\\/_+.#"@\[\(\{&]/g,pjn=/[\s-]/,TGt=/[\s-]/g;function vLe(n,i,s,u,d,g,b){if(g===i.length)return d===n.length?C9t:djn;var w=`${d},${g}`;if(b[w]!==void 0)return b[w];for(var E=u.charAt(g),S=s.indexOf(E,d),x=0,A,C,R,D;S>=0;)A=vLe(n,i,s,u,S+1,g+1,b),A>x&&(S===d?A*=C9t:fjn.test(n.charAt(S-1))?(A*=ujn,R=n.slice(d,S-1).match(hjn),R&&d>0&&(A*=Math.pow(KCe,R.length))):pjn.test(n.charAt(S-1))?(A*=ajn,D=n.slice(d,S-1).match(TGt),D&&d>0&&(A*=Math.pow(KCe,D.length))):(A*=cjn,d>0&&(A*=Math.pow(KCe,S-d))),n.charAt(S)!==i.charAt(g)&&(A*=ljn)),(A<WCe&&s.charAt(S-1)===u.charAt(g+1)||u.charAt(g+1)===u.charAt(g)&&s.charAt(S-1)!==u.charAt(g))&&(C=vLe(n,i,s,u,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 I9t(n){return n.toLowerCase().replace(TGt," ")}function gjn(n,i,s){return n=s&&s.length>0?`${n+" "+s.join(" ")}`:n,vLe(n,i,I9t(n),I9t(i),0,0,{})}function Lr(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 R9t(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function zg(...n){return i=>{let s=!1;const u=n.map(d=>{const g=R9t(d,i);return!s&&typeof g=="function"&&(s=!0),g});if(s)return()=>{for(let d=0;d<u.length;d++){const g=u[d];typeof g=="function"?g():R9t(n[d],null)}}}}function hs(...n){return H.useCallback(zg(...n),n)}function bjn(n,i){const s=H.createContext(i),u=g=>{const{children:b,...w}=g,E=H.useMemo(()=>w,Object.values(w));return I.jsx(s.Provider,{value:E,children:b})};u.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[u,d]}function xw(n,i=[]){let s=[];function u(g,b){const w=H.createContext(b),E=s.length;s=[...s,b];const S=A=>{var $;const{scope:C,children:R,...D}=A,L=(($=C==null?void 0:C[n])==null?void 0:$[E])||w,B=H.useMemo(()=>D,Object.values(D));return I.jsx(L.Provider,{value:B,children:R})};S.displayName=g+"Provider";function x(A,C){var L;const R=((L=C==null?void 0:C[n])==null?void 0:L[E])||w,D=H.useContext(R);if(D)return D;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,[u,mjn(d,...i)]}function mjn(...n){const i=n[0];if(n.length===1)return i;const s=()=>{const u=n.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(g){const b=u.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:()=>{},wjn=IDe[" useId ".trim().toString()]||(()=>{}),yjn=0;function Bh(n){const[i,s]=H.useState(wjn());return Hp(()=>{s(u=>u??String(yjn++))},[n]),i?`radix-${i}`:""}var vjn=IDe[" useInsertionEffect ".trim().toString()]||Hp;function G2({prop:n,defaultProp:i,onChange:s=()=>{},caller:u}){const[d,g,b]=Ejn({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(`${u} 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,u])}const S=H.useCallback(x=>{var A;if(w){const C=Sjn(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 Ejn({defaultProp:n,onChange:i}){const[s,u]=H.useState(n),d=H.useRef(s),g=H.useRef(i);return vjn(()=>{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,u,g]}function Sjn(n){return typeof n=="function"}function Tjn(n){const i=Ajn(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,w=H.Children.toArray(g),E=w.find(xjn);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 Ajn(n){const i=H.forwardRef((s,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Njn(d),w=kjn(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var _jn=Symbol("radix.slottable");function xjn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===_jn}function kjn(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Njn(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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 Cjn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],no=Cjn.reduce((n,i)=>{const s=Tjn(`Primitive.${i}`),u=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 u.displayName=`Primitive.${i}`,{...n,[i]:u}},{});function AGt(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 u;return(u=i.current)==null?void 0:u.call(i,...s)},[])}function Ijn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n);H.useEffect(()=>{const u=d=>{d.key==="Escape"&&s(d)};return i.addEventListener("keydown",u,{capture:!0}),()=>i.removeEventListener("keydown",u,{capture:!0})},[s,i])}var Rjn="DismissableLayer",ELe="dismissableLayer.update",Ojn="dismissableLayer.pointerDownOutside",Ljn="dismissableLayer.focusOutside",O9t,_Gt=H.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nz=H.forwardRef((n,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:g,onInteractOutside:b,onDismiss:w,...E}=n,S=H.useContext(_Gt),[x,A]=H.useState(null),C=(x==null?void 0:x.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=H.useState({}),D=hs(i,Q=>A(Q)),L=Array.from(S.layers),[B]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),$=L.indexOf(B),j=x?L.indexOf(x):-1,P=S.layersWithOutsidePointerEventsDisabled.size>0,G=j>=$,ee=Pjn(Q=>{const ie=Q.target,he=[...S.branches].some(ge=>ge.contains(ie));!G||he||(d==null||d(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C),ne=jjn(Q=>{const ie=Q.target;[...S.branches].some(ge=>ge.contains(ie))||(g==null||g(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C);return Ijn(Q=>{j===S.layers.size-1&&(u==null||u(Q),!Q.defaultPrevented&&w&&(Q.preventDefault(),w()))},C),H.useEffect(()=>{if(x)return s&&(S.layersWithOutsidePointerEventsDisabled.size===0&&(O9t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(x)),S.layers.add(x),L9t(),()=>{s&&S.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=O9t)}},[x,C,s,S]),H.useEffect(()=>()=>{x&&(S.layers.delete(x),S.layersWithOutsidePointerEventsDisabled.delete(x),L9t())},[x,S]),H.useEffect(()=>{const Q=()=>R({});return document.addEventListener(ELe,Q),()=>document.removeEventListener(ELe,Q)},[]),I.jsx(no.div,{...E,ref:D,style:{pointerEvents:P?G?"auto":"none":void 0,...n.style},onFocusCapture:Lr(n.onFocusCapture,ne.onFocusCapture),onBlurCapture:Lr(n.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:Lr(n.onPointerDownCapture,ee.onPointerDownCapture)})});Nz.displayName=Rjn;var Djn="DismissableLayerBranch",Mjn=H.forwardRef((n,i)=>{const s=H.useContext(_Gt),u=H.useRef(null),d=hs(i,u);return H.useEffect(()=>{const g=u.current;if(g)return s.branches.add(g),()=>{s.branches.delete(g)}},[s.branches]),I.jsx(no.div,{...n,ref:d})});Mjn.displayName=Djn;function Pjn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),u=H.useRef(!1),d=H.useRef(()=>{});return H.useEffect(()=>{const g=w=>{if(w.target&&!u.current){let E=function(){xGt(Ojn,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);u.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:()=>u.current=!0}}function jjn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),u=H.useRef(!1);return H.useEffect(()=>{const d=g=>{g.target&&!u.current&&xGt(Ljn,s,{originalEvent:g},{discrete:!1})};return i.addEventListener("focusin",d),()=>i.removeEventListener("focusin",d)},[i,s]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}function L9t(){const n=new CustomEvent(ELe);document.dispatchEvent(n)}function xGt(n,i,s,{discrete:u}){const d=s.originalEvent.target,g=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});i&&d.addEventListener(n,i,{once:!0}),u?AGt(d,g):d.dispatchEvent(g)}var YCe="focusScope.autoFocusOnMount",JCe="focusScope.autoFocusOnUnmount",D9t={bubbles:!1,cancelable:!0},Fjn="FocusScope",Cz=H.forwardRef((n,i)=>{const{loop:s=!1,trapped:u=!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,L=>E(L)),R=H.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;H.useEffect(()=>{if(u){let L=function(P){if(R.paused||!w)return;const G=P.target;w.contains(G)?A.current=G:Lk(A.current,{select:!0})},B=function(P){if(R.paused||!w)return;const G=P.relatedTarget;G!==null&&(w.contains(G)||Lk(A.current,{select:!0}))},$=function(P){if(document.activeElement===document.body)for(const ee of P)ee.removedNodes.length>0&&Lk(w)};document.addEventListener("focusin",L),document.addEventListener("focusout",B);const j=new MutationObserver($);return w&&j.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",L),document.removeEventListener("focusout",B),j.disconnect()}}},[u,w,R.paused]),H.useEffect(()=>{if(w){P9t.add(R);const L=document.activeElement;if(!w.contains(L)){const $=new CustomEvent(YCe,D9t);w.addEventListener(YCe,S),w.dispatchEvent($),$.defaultPrevented||($jn(Gjn(kGt(w)),{select:!0}),document.activeElement===L&&Lk(w))}return()=>{w.removeEventListener(YCe,S),setTimeout(()=>{const $=new CustomEvent(JCe,D9t);w.addEventListener(JCe,x),w.dispatchEvent($),$.defaultPrevented||Lk(L??document.body,{select:!0}),w.removeEventListener(JCe,x),P9t.remove(R)},0)}}},[w,S,x,R]);const D=H.useCallback(L=>{if(!s&&!u||R.paused)return;const B=L.key==="Tab"&&!L.altKey&&!L.ctrlKey&&!L.metaKey,$=document.activeElement;if(B&&$){const j=L.currentTarget,[P,G]=Bjn(j);P&&G?!L.shiftKey&&$===G?(L.preventDefault(),s&&Lk(P,{select:!0})):L.shiftKey&&$===P&&(L.preventDefault(),s&&Lk(G,{select:!0})):$===j&&L.preventDefault()}},[s,u,R.paused]);return I.jsx(no.div,{tabIndex:-1,...b,ref:C,onKeyDown:D})});Cz.displayName=Fjn;function $jn(n,{select:i=!1}={}){const s=document.activeElement;for(const u of n)if(Lk(u,{select:i}),document.activeElement!==s)return}function Bjn(n){const i=kGt(n),s=M9t(i,n),u=M9t(i.reverse(),n);return[s,u]}function kGt(n){const i=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:u=>{const d=u.tagName==="INPUT"&&u.type==="hidden";return u.disabled||u.hidden||d?NodeFilter.FILTER_SKIP:u.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)i.push(s.currentNode);return i}function M9t(n,i){for(const s of n)if(!Ujn(s,{upTo:i}))return s}function Ujn(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 Hjn(n){return n instanceof HTMLInputElement&&"select"in n}function Lk(n,{select:i=!1}={}){if(n&&n.focus){const s=document.activeElement;n.focus({preventScroll:!0}),n!==s&&Hjn(n)&&i&&n.select()}}var P9t=zjn();function zjn(){let n=[];return{add(i){const s=n[0];i!==s&&(s==null||s.pause()),n=j9t(n,i),n.unshift(i)},remove(i){var s;n=j9t(n,i),(s=n[0])==null||s.resume()}}}function j9t(n,i){const s=[...n],u=s.indexOf(i);return u!==-1&&s.splice(u,1),s}function Gjn(n){return n.filter(i=>i.tagName!=="A")}var qjn="Portal",Iz=H.forwardRef((n,i)=>{var w;const{container:s,...u}=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?dHt.createPortal(I.jsx(no.div,{...u,ref:i}),b):null});Iz.displayName=qjn;function Vjn(n,i){return H.useReducer((s,u)=>i[s][u]??s,n)}var kw=n=>{const{present:i,children:s}=n,u=Wjn(i),d=typeof s=="function"?s({present:u.isPresent}):H.Children.only(s),g=hs(u.ref,Kjn(d));return typeof s=="function"||u.isPresent?H.cloneElement(d,{ref:g}):null};kw.displayName="Presence";function Wjn(n){const[i,s]=H.useState(),u=H.useRef(null),d=H.useRef(n),g=H.useRef("none"),b=n?"mounted":"unmounted",[w,E]=Vjn(b,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const S=Sie(u.current);g.current=w==="mounted"?S:"none"},[w]),Hp(()=>{const S=u.current,x=d.current;if(x!==n){const C=g.current,R=Sie(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 L=Sie(u.current).includes(CSS.escape(R.animationName));if(R.target===i&&L&&(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=Sie(u.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=>{u.current=S?getComputedStyle(S):null,s(S)},[])}}function Sie(n){return(n==null?void 0:n.animationName)||"none"}function Kjn(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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]??F9t()),document.body.insertAdjacentElement("beforeend",n[1]??F9t()),XCe++,()=>{XCe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),XCe--}},[])}function F9t(){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,u=1,d=arguments.length;u<d;u++){s=arguments[u];for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(i[g]=s[g])}return i},O2.apply(this,arguments)};function NGt(n,i){var s={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(s[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,u=Object.getOwnPropertySymbols(n);d<u.length;d++)i.indexOf(u[d])<0&&Object.prototype.propertyIsEnumerable.call(n,u[d])&&(s[u[d]]=n[u[d]]);return s}function Yjn(n,i,s){if(s||arguments.length===2)for(var u=0,d=i.length,g;u<d;u++)(g||!(u in i))&&(g||(g=Array.prototype.slice.call(i,0,u)),g[u]=i[u]);return n.concat(g||Array.prototype.slice.call(i))}var roe="right-scroll-bar-position",ioe="width-before-scroll-bar",Jjn="with-scroll-bars-hidden",Xjn="--removed-body-scroll-bar-size";function ZCe(n,i){return typeof n=="function"?n(i):n&&(n.current=i),n}function Zjn(n,i){var s=H.useState(function(){return{value:n,callback:i,facade:{get current(){return s.value},set current(u){var d=s.value;d!==u&&(s.value=u,s.callback(u,d))}}}})[0];return s.callback=i,s.facade}var Qjn=typeof window<"u"?H.useLayoutEffect:H.useEffect,$9t=new WeakMap;function e7n(n,i){var s=Zjn(null,function(u){return n.forEach(function(d){return ZCe(d,u)})});return Qjn(function(){var u=$9t.get(s);if(u){var d=new Set(u),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)})}$9t.set(s,n)},[n]),s}function t7n(n){return n}function n7n(n,i){i===void 0&&(i=t7n);var s=[],u=!1,d={read:function(){if(u)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,u);return s.push(b),function(){s=s.filter(function(w){return w!==b})}},assignSyncMedium:function(g){for(u=!0;s.length;){var b=s;s=[],b.forEach(g)}s={push:function(w){return g(w)},filter:function(){return s}}},assignMedium:function(g){u=!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 r7n(n){n===void 0&&(n={});var i=n7n(null);return i.options=O2({async:!0,ssr:!1},n),i}var CGt=function(n){var i=n.sideCar,s=NGt(n,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var u=i.read();if(!u)throw new Error("Sidecar medium not found");return H.createElement(u,O2({},s))};CGt.isSideCarExport=!0;function i7n(n,i){return n.useMedium(i),CGt}var IGt=r7n(),QCe=function(){},aae=H.forwardRef(function(n,i){var s=H.useRef(null),u=H.useState({onScrollCapture:QCe,onWheelCapture:QCe,onTouchMoveCapture:QCe}),d=u[0],g=u[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,D=n.noIsolation,L=n.inert,B=n.allowPinchZoom,$=n.as,j=$===void 0?"div":$,P=n.gapMode,G=NGt(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=C,ne=e7n([s,i]),Q=O2(O2({},G),d);return H.createElement(H.Fragment,null,x&&H.createElement(ee,{sideCar:IGt,removeScrollBar:S,shards:A,noRelative:R,noIsolation:D,inert:L,setCallbacks:g,allowPinchZoom:!!B,lockRef:s,gapMode:P}),b?H.cloneElement(H.Children.only(w),O2(O2({},Q),{ref:ne})):H.createElement(j,O2({},Q,{className:E,ref:ne}),w))});aae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};aae.classNames={fullWidth:ioe,zeroRight:roe};var o7n=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s7n(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var i=o7n();return i&&n.setAttribute("nonce",i),n}function a7n(n,i){n.styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i))}function u7n(n){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(n)}var c7n=function(){var n=0,i=null;return{add:function(s){n==0&&(i=s7n())&&(a7n(i,s),u7n(i)),n++},remove:function(){n--,!n&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},l7n=function(){var n=c7n();return function(i,s){H.useEffect(function(){return n.add(i),function(){n.remove()}},[i&&s])}},RGt=function(){var n=l7n(),i=function(s){var u=s.styles,d=s.dynamic;return n(u,d),null};return i},d7n={left:0,top:0,right:0,gap:0},eIe=function(n){return parseInt(n||"",10)||0},f7n=function(n){var i=window.getComputedStyle(document.body),s=i[n==="padding"?"paddingLeft":"marginLeft"],u=i[n==="padding"?"paddingTop":"marginTop"],d=i[n==="padding"?"paddingRight":"marginRight"];return[eIe(s),eIe(u),eIe(d)]},h7n=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return d7n;var i=f7n(n),s=document.documentElement.clientWidth,u=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,u-s+i[2]-i[0])}},p7n=RGt(),rM="data-scroll-locked",g7n=function(n,i,s,u){var d=n.left,g=n.top,b=n.right,w=n.gap;return s===void 0&&(s="margin"),`
.`.concat(Jjn,` {
overflow: hidden `).concat(u,`;
padding-right: `).concat(w,"px ").concat(u,`;
}
body[`).concat(rM,`] {
overflow: hidden `).concat(u,`;
overscroll-behavior: contain;
`).concat([i&&"position: relative ".concat(u,";"),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(u,`;
`),s==="padding"&&"padding-right: ".concat(w,"px ").concat(u,";")].filter(Boolean).join(""),`
}
.`).concat(roe,` {
right: `).concat(w,"px ").concat(u,`;
}
.`).concat(ioe,` {
margin-right: `).concat(w,"px ").concat(u,`;
}
.`).concat(roe," .").concat(roe,` {
right: 0 `).concat(u,`;
}
.`).concat(ioe," .").concat(ioe,` {
margin-right: 0 `).concat(u,`;
}
body[`).concat(rM,`] {
`).concat(Xjn,": ").concat(w,`px;
}
`)},B9t=function(){var n=parseInt(document.body.getAttribute(rM)||"0",10);return isFinite(n)?n:0},b7n=function(){H.useEffect(function(){return document.body.setAttribute(rM,(B9t()+1).toString()),function(){var n=B9t()-1;n<=0?document.body.removeAttribute(rM):document.body.setAttribute(rM,n.toString())}},[])},m7n=function(n){var i=n.noRelative,s=n.noImportant,u=n.gapMode,d=u===void 0?"margin":u;b7n();var g=H.useMemo(function(){return h7n(d)},[d]);return H.createElement(p7n,{styles:g7n(g,!i,d,s?"":"!important")})},SLe=!1;if(typeof window<"u")try{var Tie=Object.defineProperty({},"passive",{get:function(){return SLe=!0,!0}});window.addEventListener("test",Tie,Tie),window.removeEventListener("test",Tie,Tie)}catch{SLe=!1}var w5=SLe?{passive:!1}:!1,w7n=function(n){return n.tagName==="TEXTAREA"},OGt=function(n,i){if(!(n instanceof Element))return!1;var s=window.getComputedStyle(n);return s[i]!=="hidden"&&!(s.overflowY===s.overflowX&&!w7n(n)&&s[i]==="visible")},y7n=function(n){return OGt(n,"overflowY")},v7n=function(n){return OGt(n,"overflowX")},U9t=function(n,i){var s=i.ownerDocument,u=i;do{typeof ShadowRoot<"u"&&u instanceof ShadowRoot&&(u=u.host);var d=LGt(n,u);if(d){var g=DGt(n,u),b=g[1],w=g[2];if(b>w)return!0}u=u.parentNode}while(u&&u!==s.body);return!1},E7n=function(n){var i=n.scrollTop,s=n.scrollHeight,u=n.clientHeight;return[i,s,u]},S7n=function(n){var i=n.scrollLeft,s=n.scrollWidth,u=n.clientWidth;return[i,s,u]},LGt=function(n,i){return n==="v"?y7n(i):v7n(i)},DGt=function(n,i){return n==="v"?E7n(i):S7n(i)},T7n=function(n,i){return n==="h"&&i==="rtl"?-1:1},A7n=function(n,i,s,u,d){var g=T7n(n,window.getComputedStyle(i).direction),b=g*u,w=s.target,E=i.contains(w),S=!1,x=b>0,A=0,C=0;do{if(!w)break;var R=DGt(n,w),D=R[0],L=R[1],B=R[2],$=L-B-g*D;(D||$)&&LGt(n,w)&&(A+=$,C+=D);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},Aie=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},H9t=function(n){return[n.deltaX,n.deltaY]},z9t=function(n){return n&&"current"in n?n.current:n},_7n=function(n,i){return n[0]===i[0]&&n[1]===i[1]},x7n=function(n){return`
.block-interactivity-`.concat(n,` {pointer-events: none;}
.allow-interactivity-`).concat(n,` {pointer-events: all;}
`)},k7n=0,y5=[];function N7n(n){var i=H.useRef([]),s=H.useRef([0,0]),u=H.useRef(),d=H.useState(k7n++)[0],g=H.useState(RGt)[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 L=Yjn([n.lockRef.current],(n.shards||[]).map(z9t),!0).filter(Boolean);return L.forEach(function(B){return B.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),L.forEach(function(B){return B.classList.remove("allow-interactivity-".concat(d))})}}},[n.inert,n.lockRef.current,n.shards]);var w=H.useCallback(function(L,B){if("touches"in L&&L.touches.length===2||L.type==="wheel"&&L.ctrlKey)return!b.current.allowPinchZoom;var $=Aie(L),j=s.current,P="deltaX"in L?L.deltaX:j[0]-$[0],G="deltaY"in L?L.deltaY:j[1]-$[1],ee,ne=L.target,Q=Math.abs(P)>Math.abs(G)?"h":"v";if("touches"in L&&Q==="h"&&ne.type==="range")return!1;var ie=window.getSelection(),he=ie&&ie.anchorNode,ge=he?he===ne||he.contains(ne):!1;if(ge)return!1;var ce=U9t(Q,ne);if(!ce)return!0;if(ce?ee=Q:(ee=Q==="v"?"h":"v",ce=U9t(Q,ne)),!ce)return!1;if(!u.current&&"changedTouches"in L&&(P||G)&&(u.current=ee),!ee)return!0;var fe=u.current||ee;return A7n(fe,B,L,fe==="h"?P:G)},[]),E=H.useCallback(function(L){var B=L;if(!(!y5.length||y5[y5.length-1]!==g)){var $="deltaY"in B?H9t(B):Aie(B),j=i.current.filter(function(ee){return ee.name===B.type&&(ee.target===B.target||B.target===ee.shadowParent)&&_7n(ee.delta,$)})[0];if(j&&j.should){B.cancelable&&B.preventDefault();return}if(!j){var P=(b.current.shards||[]).map(z9t).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(L,B,$,j){var P={name:L,delta:B,target:$,should:j,shadowParent:C7n($)};i.current.push(P),setTimeout(function(){i.current=i.current.filter(function(G){return G!==P})},1)},[]),x=H.useCallback(function(L){s.current=Aie(L),u.current=void 0},[]),A=H.useCallback(function(L){S(L.type,H9t(L),L.target,w(L,n.lockRef.current))},[]),C=H.useCallback(function(L){S(L.type,Aie(L),L.target,w(L,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(L){return L!==g}),document.removeEventListener("wheel",E,w5),document.removeEventListener("touchmove",E,w5),document.removeEventListener("touchstart",x,w5)}},[]);var R=n.removeScrollBar,D=n.inert;return H.createElement(H.Fragment,null,D?H.createElement(g,{styles:x7n(d)}):null,R?H.createElement(m7n,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function C7n(n){for(var i=null;n!==null;)n instanceof ShadowRoot&&(i=n.host,n=n.host),n=n.parentNode;return i}const I7n=i7n(IGt,N7n);var Rz=H.forwardRef(function(n,i){return H.createElement(aae,O2({},n,{ref:i,sideCar:I7n}))});Rz.classNames=aae.classNames;var R7n=function(n){if(typeof document>"u")return null;var i=Array.isArray(n)?n[0]:n;return i.ownerDocument.body},v5=new WeakMap,_ie=new WeakMap,xie={},tIe=0,MGt=function(n){return n&&(n.host||MGt(n.parentNode))},O7n=function(n,i){return i.map(function(s){if(n.contains(s))return s;var u=MGt(s);return u&&n.contains(u)?u:(console.error("aria-hidden",s,"in not contained inside",n,". Doing nothing"),null)}).filter(function(s){return!!s})},L7n=function(n,i,s,u){var d=O7n(i,Array.isArray(n)?n:[n]);xie[s]||(xie[s]=new WeakMap);var g=xie[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(u),D=R!==null&&R!=="false",L=(v5.get(C)||0)+1,B=(g.get(C)||0)+1;v5.set(C,L),g.set(C,B),b.push(C),L===1&&D&&_ie.set(C,!0),B===1&&C.setAttribute(s,"true"),D||C.setAttribute(u,"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||(_ie.has(A)||A.removeAttribute(u),_ie.delete(A)),R||A.removeAttribute(s)}),tIe--,tIe||(v5=new WeakMap,v5=new WeakMap,_ie=new WeakMap,xie={})}},uae=function(n,i,s){s===void 0&&(s="data-aria-hidden");var u=Array.from(Array.isArray(n)?n:[n]),d=R7n(n);return d?(u.push.apply(u,Array.from(d.querySelectorAll("[aria-live], script"))),L7n(u,d,s,"aria-hidden")):function(){return null}};function D7n(n){const i=M7n(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,w=H.Children.toArray(g),E=w.find(j7n);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 M7n(n){const i=H.forwardRef((s,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=$7n(d),w=F7n(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var P7n=Symbol("radix.slottable");function j7n(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===P7n}function F7n(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function $7n(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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",[PGt]=xw(cae),[B7n,Uv]=PGt(cae),jGt=n=>{const{__scopeDialog:i,children:s,open:u,defaultOpen:d,onOpenChange:g,modal:b=!0}=n,w=H.useRef(null),E=H.useRef(null),[S,x]=G2({prop:u,defaultProp:d??!1,onChange:g,caller:cae});return I.jsx(B7n,{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})};jGt.displayName=cae;var FGt="DialogTrigger",U7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...u}=n,d=Uv(FGt,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":z5e(d.open),...u,ref:g,onClick:Lr(n.onClick,d.onOpenToggle)})});U7n.displayName=FGt;var U5e="DialogPortal",[H7n,$Gt]=PGt(U5e,{forceMount:void 0}),BGt=n=>{const{__scopeDialog:i,forceMount:s,children:u,container:d}=n,g=Uv(U5e,i);return I.jsx(H7n,{scope:i,forceMount:s,children:H.Children.map(u,b=>I.jsx(kw,{present:s||g.open,children:I.jsx(Iz,{asChild:!0,container:d,children:b})}))})};BGt.displayName=U5e;var Joe="DialogOverlay",UGt=H.forwardRef((n,i)=>{const s=$Gt(Joe,n.__scopeDialog),{forceMount:u=s.forceMount,...d}=n,g=Uv(Joe,n.__scopeDialog);return g.modal?I.jsx(kw,{present:u||g.open,children:I.jsx(G7n,{...d,ref:i})}):null});UGt.displayName=Joe;var z7n=D7n("DialogOverlay.RemoveScroll"),G7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...u}=n,d=Uv(Joe,s);return I.jsx(Rz,{as:z7n,allowPinchZoom:!0,shards:[d.contentRef],children:I.jsx(no.div,{"data-state":z5e(d.open),...u,ref:i,style:{pointerEvents:"auto",...u.style}})})}),bR="DialogContent",HGt=H.forwardRef((n,i)=>{const s=$Gt(bR,n.__scopeDialog),{forceMount:u=s.forceMount,...d}=n,g=Uv(bR,n.__scopeDialog);return I.jsx(kw,{present:u||g.open,children:g.modal?I.jsx(q7n,{...d,ref:i}):I.jsx(V7n,{...d,ref:i})})});HGt.displayName=bR;var q7n=H.forwardRef((n,i)=>{const s=Uv(bR,n.__scopeDialog),u=H.useRef(null),d=hs(i,s.contentRef,u);return H.useEffect(()=>{const g=u.current;if(g)return uae(g)},[]),I.jsx(zGt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lr(n.onCloseAutoFocus,g=>{var b;g.preventDefault(),(b=s.triggerRef.current)==null||b.focus()}),onPointerDownOutside:Lr(n.onPointerDownOutside,g=>{const b=g.detail.originalEvent,w=b.button===0&&b.ctrlKey===!0;(b.button===2||w)&&g.preventDefault()}),onFocusOutside:Lr(n.onFocusOutside,g=>g.preventDefault())})}),V7n=H.forwardRef((n,i)=>{const s=Uv(bR,n.__scopeDialog),u=H.useRef(!1),d=H.useRef(!1);return I.jsx(zGt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(u.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),u.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(u.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()}})}),zGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,trapFocus:u,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(Cz,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(Nz,{role:"dialog",id:w.contentId,"aria-describedby":w.descriptionId,"aria-labelledby":w.titleId,"data-state":z5e(w.open),...b,ref:S,onDismiss:()=>w.onOpenChange(!1)})}),I.jsxs(I.Fragment,{children:[I.jsx(W7n,{titleId:w.titleId}),I.jsx(Y7n,{contentRef:E,descriptionId:w.descriptionId})]})]})}),H5e="DialogTitle",GGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...u}=n,d=Uv(H5e,s);return I.jsx(no.h2,{id:d.titleId,...u,ref:i})});GGt.displayName=H5e;var qGt="DialogDescription",VGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...u}=n,d=Uv(qGt,s);return I.jsx(no.p,{id:d.descriptionId,...u,ref:i})});VGt.displayName=qGt;var WGt="DialogClose",KGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...u}=n,d=Uv(WGt,s);return I.jsx(no.button,{type:"button",...u,ref:i,onClick:Lr(n.onClick,()=>d.onOpenChange(!1))})});KGt.displayName=WGt;function z5e(n){return n?"open":"closed"}var YGt="DialogTitleWarning",[Qgr,JGt]=bjn(YGt,{contentName:bR,titleName:H5e,docsSlug:"dialog"}),W7n=({titleId:n})=>{const i=JGt(YGt),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},K7n="DialogDescriptionWarning",Y7n=({contentRef:n,descriptionId:i})=>{const u=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${JGt(K7n).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(u))},[u,n,i]),null},XGt=jGt,ZGt=BGt,G5e=UGt,q5e=HGt,QGt=GGt,eqt=VGt,J7n=KGt,X7n=Symbol.for("react.lazy"),Xoe=IDe[" use ".trim().toString()];function Z7n(n){return typeof n=="object"&&n!==null&&"then"in n}function tqt(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===X7n&&"_payload"in n&&Z7n(n._payload)}function lae(n){const i=eFn(n),s=H.forwardRef((u,d)=>{let{children:g,...b}=u;tqt(g)&&typeof Xoe=="function"&&(g=Xoe(g._payload));const w=H.Children.toArray(g),E=w.find(nFn);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 Q7n=lae("Slot");function eFn(n){const i=H.forwardRef((s,u)=>{let{children:d,...g}=s;if(tqt(d)&&typeof Xoe=="function"&&(d=Xoe(d._payload)),H.isValidElement(d)){const b=iFn(d),w=rFn(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var tFn=Symbol("radix.slottable");function nFn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===tFn}function rFn(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function iFn(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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 oFn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vN=oFn.reduce((n,i)=>{const s=lae(`Primitive.${i}`),u=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 u.displayName=`Primitive.${i}`,{...n,[i]:u}},{}),BU='[cmdk-group=""]',nIe='[cmdk-group-items=""]',sFn='[cmdk-group-heading=""]',nqt='[cmdk-item=""]',G9t=`${nqt}:not([aria-disabled="true"])`,TLe="cmdk-item-select",A5="data-value",aFn=(n,i,s)=>gjn(n,i,s),rqt=H.createContext(void 0),Oz=()=>H.useContext(rqt),iqt=H.createContext(void 0),V5e=()=>H.useContext(iqt),oqt=H.createContext(void 0),sqt=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}}}),u=_5(()=>new Set),d=_5(()=>new Map),g=_5(()=>new Map),b=_5(()=>new Set),w=aqt(n),{label:E,children:S,value:x,onValueChange:A,filter:C,shouldFilter:R,loop:D,disablePointerSelection:L=!1,vimBindings:B=!0,...$}=n,j=Bh(),P=Bh(),G=Bh(),ee=H.useRef(null),ne=wFn();mR(()=>{if(x!==void 0){let Ue=x.trim();s.current.value=Ue,Q.emit()}},[x]),mR(()=>{ne(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(),ge(),ne(1,ce);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(ne(7,()=>{var Ft;s.current.selectedItemId=(Ft=pe())==null?void 0:Ft.id,Q.emit()}),kt||ne(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,he(bt,kt)),ne(2,()=>{ge(),Q.emit()}))},item:(Ue,bt)=>(u.current.add(Ue),bt&&(d.current.has(bt)?d.current.get(bt).add(Ue):d.current.set(bt,new Set([Ue]))),ne(3,()=>{fe(),ge(),s.current.value||ce(),Q.emit()}),()=>{g.current.delete(Ue),u.current.delete(Ue),s.current.filtered.items.delete(Ue);let kt=pe();ne(4,()=>{fe(),(kt==null?void 0:kt.getAttribute("id"))===Ue&&ce(),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 he(Ue,bt){var kt,ht;let Xt=(ht=(kt=w.current)==null?void 0:kt.filter)!=null?ht:aFn;return Ue?Xt(Ue,s.current.search,bt):0}function ge(){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 ce(){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=u.current.size;return}s.current.filtered.groups=new Set;let Xt=0;for(let vt of u.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=he(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=pe();ht&&(((Ue=ht.parentElement)==null?void 0:Ue.firstChild)===ht&&((kt=(bt=ht.closest(BU))==null?void 0:bt.querySelector(sFn))==null||kt.scrollIntoView({block:"nearest"})),ht.scrollIntoView({block:"nearest"}))}function pe(){var Ue;return(Ue=ee.current)==null?void 0:Ue.querySelector(`${nqt}[aria-selected="true"]`)}function Oe(){var Ue;return Array.from(((Ue=ee.current)==null?void 0:Ue.querySelectorAll(G9t))||[])}function Se(Ue){let bt=Oe()[Ue];bt&&Q.setState("value",bt.getAttribute(A5))}function De(Ue){var bt;let kt=pe(),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=pe(),kt=bt==null?void 0:bt.closest(BU),ht;for(;kt&&!ht;)kt=Ue>0?bFn(kt,BU):mFn(kt,BU),ht=kt==null?void 0:kt.querySelector(G9t);ht?Q.setState("value",ht.getAttribute(A5)):De(Ue)}let xe=()=>Se(Oe().length-1),We=Ue=>{Ue.preventDefault(),Ue.metaKey?xe():Ue.altKey?Ae(1):De(1)},dt=Ue=>{Ue.preventDefault(),Ue.metaKey?Se(0):Ue.altKey?Ae(-1):De(-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=pe();if(ht){let Xt=new Event(TLe);ht.dispatchEvent(Xt)}}}}},H.createElement("label",{"cmdk-label":"",htmlFor:ie.inputId,id:ie.labelId,style:vFn},E),dae(n,Ue=>H.createElement(iqt.Provider,{value:Q},H.createElement(rqt.Provider,{value:ie},Ue))))}),uFn=H.forwardRef((n,i)=>{var s,u;let d=Bh(),g=H.useRef(null),b=H.useContext(oqt),w=Oz(),E=aqt(n),S=(u=(s=E.current)==null?void 0:s.forceMount)!=null?u:b==null?void 0:b.forceMount;mR(()=>{if(!S)return w.item(d,b==null?void 0:b.id)},[S]);let x=uqt(d,g,[n.value,n.children,g],n.keywords),A=V5e(),C=sN(ne=>ne.value&&ne.value===x.current),R=sN(ne=>S||w.filter()===!1?!0:ne.search?ne.filtered.items.get(d)>0:!0);H.useEffect(()=>{let ne=g.current;if(!(!ne||n.disabled))return ne.addEventListener(TLe,D),()=>ne.removeEventListener(TLe,D)},[R,n.onSelect,n.disabled]);function D(){var ne,Q;L(),(Q=(ne=E.current).onSelect)==null||Q.call(ne,x.current)}function L(){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:L,onClick:B?void 0:D},n.children)}),cFn=H.forwardRef((n,i)=>{let{heading:s,children:u,forceMount:d,...g}=n,b=Bh(),w=H.useRef(null),E=H.useRef(null),S=Bh(),x=Oz(),A=sN(R=>d||x.filter()===!1?!0:R.search?R.filtered.groups.has(b):!0);mR(()=>x.group(b),[]),uqt(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(oqt.Provider,{value:C},R))))}),lFn=H.forwardRef((n,i)=>{let{alwaysRender:s,...u}=n,d=H.useRef(null),g=sN(b=>!b.search);return!s&&!g?null:H.createElement(vN.div,{ref:zg(d,i),...u,"cmdk-separator":"",role:"separator"})}),dFn=H.forwardRef((n,i)=>{let{onValueChange:s,...u}=n,d=n.value!=null,g=V5e(),b=sN(S=>S.search),w=sN(S=>S.selectedItemId),E=Oz();return H.useEffect(()=>{n.value!=null&&g.setState("search",n.value)},[n.value]),H.createElement(vN.input,{ref:i,...u,"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)}})}),fFn=H.forwardRef((n,i)=>{let{children:s,label:u="Suggestions",...d}=n,g=H.useRef(null),b=H.useRef(null),w=sN(S=>S.selectedItemId),E=Oz();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":u,id:E.listId},dae(n,S=>H.createElement("div",{ref:zg(b,E.listInnerRef),"cmdk-list-sizer":""},S)))}),hFn=H.forwardRef((n,i)=>{let{open:s,onOpenChange:u,overlayClassName:d,contentClassName:g,container:b,...w}=n;return H.createElement(XGt,{open:s,onOpenChange:u},H.createElement(ZGt,{container:b},H.createElement(G5e,{"cmdk-overlay":"",className:d}),H.createElement(q5e,{"aria-label":n.label,"cmdk-dialog":"",className:g},H.createElement(sqt,{ref:i,...w}))))}),pFn=H.forwardRef((n,i)=>sN(s=>s.filtered.count===0)?H.createElement(vN.div,{ref:i,...n,"cmdk-empty":"",role:"presentation"}):null),gFn=H.forwardRef((n,i)=>{let{progress:s,children:u,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(sqt,{List:fFn,Item:uFn,Input:dFn,Group:cFn,Separator:lFn,Dialog:hFn,Empty:pFn,Loading:gFn});function bFn(n,i){let s=n.nextElementSibling;for(;s;){if(s.matches(i))return s;s=s.nextElementSibling}}function mFn(n,i){let s=n.previousElementSibling;for(;s;){if(s.matches(i))return s;s=s.previousElementSibling}}function aqt(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=V5e(),s=()=>n(i.snapshot());return H.useSyncExternalStore(i.subscribe,s,s)}function uqt(n,i,s,u=[]){let d=H.useRef(),g=Oz();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=u.map(S=>S.trim());g.value(n,w,E),(b=i.current)==null||b.setAttribute(A5,w),d.current=w}),d}var wFn=()=>{let[n,i]=H.useState(),s=_5(()=>new Map);return mR(()=>{s.current.forEach(u=>u()),s.current=new Map},[n]),(u,d)=>{s.current.set(u,d),i({})}};function yFn(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(yFn(i),{ref:i.ref},s(i.props.children)):s(i)}var vFn={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function cqt(n){var i,s,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n)){var d=n.length;for(i=0;i<d;i++)n[i]&&(s=cqt(n[i]))&&(u&&(u+=" "),u+=s)}else for(s in n)n[s]&&(u&&(u+=" "),u+=s);return u}function lqt(){for(var n,i,s=0,u="",d=arguments.length;s<d;s++)(n=arguments[s])&&(i=cqt(n))&&(u&&(u+=" "),u+=i);return u}const W5e="-",EFn=n=>{const i=TFn(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:u}=n;return{getClassGroupId:b=>{const w=b.split(W5e);return w[0]===""&&w.length!==1&&w.shift(),dqt(w,i)||SFn(b)},getConflictingClassGroupIds:(b,w)=>{const E=s[b]||[];return w&&u[b]?[...E,...u[b]]:E}}},dqt=(n,i)=>{var b;if(n.length===0)return i.classGroupId;const s=n[0],u=i.nextPart.get(s),d=u?dqt(n.slice(1),u):void 0;if(d)return d;if(i.validators.length===0)return;const g=n.join(W5e);return(b=i.validators.find(({validator:w})=>w(g)))==null?void 0:b.classGroupId},q9t=/^\[(.+)\]$/,SFn=n=>{if(q9t.test(n)){const i=q9t.exec(n)[1],s=i==null?void 0:i.substring(0,i.indexOf(":"));if(s)return"arbitrary.."+s}},TFn=n=>{const{theme:i,prefix:s}=n,u={nextPart:new Map,validators:[]};return _Fn(Object.entries(n.classGroups),s).forEach(([g,b])=>{ALe(b,u,g,i)}),u},ALe=(n,i,s,u)=>{n.forEach(d=>{if(typeof d=="string"){const g=d===""?i:V9t(i,d);g.classGroupId=s;return}if(typeof d=="function"){if(AFn(d)){ALe(d(u),i,s,u);return}i.validators.push({validator:d,classGroupId:s});return}Object.entries(d).forEach(([g,b])=>{ALe(b,V9t(i,g),s,u)})})},V9t=(n,i)=>{let s=n;return i.split(W5e).forEach(u=>{s.nextPart.has(u)||s.nextPart.set(u,{nextPart:new Map,validators:[]}),s=s.nextPart.get(u)}),s},AFn=n=>n.isThemeGetter,_Fn=(n,i)=>i?n.map(([s,u])=>{const d=u.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,xFn=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=new Map,u=new Map;const d=(g,b)=>{s.set(g,b),i++,i>n&&(i=0,u=s,s=new Map)};return{get(g){let b=s.get(g);if(b!==void 0)return b;if((b=u.get(g))!==void 0)return d(g,b),b},set(g,b){s.has(g)?s.set(g,b):d(g,b)}}},fqt="!",kFn=n=>{const{separator:i,experimentalParseClassName:s}=n,u=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&&(u||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(fqt),D=R?C.substring(1):C,L=A&&A>x?A-x:void 0;return{modifiers:E,hasImportantModifier:R,baseClassName:D,maybePostfixModifierPosition:L}};return s?w=>s({className:w,parseClassName:b}):b},NFn=n=>{if(n.length<=1)return n;const i=[];let s=[];return n.forEach(u=>{u[0]==="["?(i.push(...s.sort(),u),s=[]):s.push(u)}),i.push(...s.sort()),i},CFn=n=>({cache:xFn(n.cacheSize),parseClassName:kFn(n),...EFn(n)}),IFn=/\s+/,RFn=(n,i)=>{const{parseClassName:s,getClassGroupId:u,getConflictingClassGroupIds:d}=i,g=[],b=n.trim().split(IFn);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 D=!!R,L=u(D?C.substring(0,R):C);if(!L){if(!D){w=S+(w.length>0?" "+w:w);continue}if(L=u(C),!L){w=S+(w.length>0?" "+w:w);continue}D=!1}const B=NFn(x).join(":"),$=A?B+fqt:B,j=$+L;if(g.includes(j))continue;g.push(j);const P=d(L,D);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 OFn(){let n=0,i,s,u="";for(;n<arguments.length;)(i=arguments[n++])&&(s=hqt(i))&&(u&&(u+=" "),u+=s);return u}const hqt=n=>{if(typeof n=="string")return n;let i,s="";for(let u=0;u<n.length;u++)n[u]&&(i=hqt(n[u]))&&(s&&(s+=" "),s+=i);return s};function LFn(n,...i){let s,u,d,g=b;function b(E){const S=i.reduce((x,A)=>A(x),n());return s=CFn(S),u=s.cache.get,d=s.cache.set,g=w,w(E)}function w(E){const S=u(E);if(S)return S;const x=RFn(E,s);return d(E,x),x}return function(){return g(OFn.apply(null,arguments))}}const cc=n=>{const i=s=>s[n]||[];return i.isThemeGetter=!0,i},pqt=/^\[(?:([a-z-]+):)?(.+)\]$/i,DFn=/^\d+\/\d+$/,MFn=new Set(["px","full","screen"]),PFn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jFn=/\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$/,FFn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$Fn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,BFn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rA=n=>iM(n)||MFn.has(n)||DFn.test(n),Rk=n=>jM(n,"length",KFn),iM=n=>!!n&&!Number.isNaN(Number(n)),rIe=n=>jM(n,"number",iM),UU=n=>!!n&&Number.isInteger(Number(n)),UFn=n=>n.endsWith("%")&&iM(n.slice(0,-1)),Xo=n=>pqt.test(n),Ok=n=>PFn.test(n),HFn=new Set(["length","size","percentage"]),zFn=n=>jM(n,HFn,gqt),GFn=n=>jM(n,"position",gqt),qFn=new Set(["image","url"]),VFn=n=>jM(n,qFn,JFn),WFn=n=>jM(n,"",YFn),HU=()=>!0,jM=(n,i,s)=>{const u=pqt.exec(n);return u?u[1]?typeof i=="string"?u[1]===i:i.has(u[1]):s(u[2]):!1},KFn=n=>jFn.test(n)&&!FFn.test(n),gqt=()=>!1,YFn=n=>$Fn.test(n),JFn=n=>BFn.test(n),XFn=()=>{const n=cc("colors"),i=cc("spacing"),s=cc("blur"),u=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"),D=cc("gradientColorStopPositions"),L=cc("inset"),B=cc("margin"),$=cc("opacity"),j=cc("padding"),P=cc("saturate"),G=cc("scale"),ee=cc("sepia"),ne=cc("skew"),Q=cc("space"),ie=cc("translate"),he=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",Xo,i],fe=()=>[Xo,i],K=()=>["",rA,Rk],pe=()=>["auto",iM,Xo],Oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Se=()=>["solid","dashed","dotted","double","none"],De=()=>["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:[UFn,Rk],inset:ce(),margin:ce(),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:ge()}],"overflow-x":[{"overflow-x":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",UU,Xo]}],basis:[{basis:ce()}],"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":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[HU]}],"row-start-end":[{row:["auto",{span:[UU,Xo]},Xo]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"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(),GFn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zFn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},VFn]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"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,WFn]}],"shadow-color":[{shadow:[HU]}],opacity:[{opacity:[$]}],"mix-blend":[{"mix-blend":[...De(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":De()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[u]}],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":[u]}],"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":[ne]}],"skew-y":[{"skew-y":[ne]}],"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"]}}},ZFn=LFn(XFn);function Sr(...n){return ZFn(lqt(n))}function K5e(){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 QFn=0;function ez(n){return`${n}_${Date.now()}_${QFn++}`}const wR=XGt,e$n=ZGt,bqt=H.forwardRef(({className:n,...i},s)=>I.jsx(G5e,{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}));bqt.displayName=G5e.displayName;const aN=H.forwardRef(({className:n,children:i,container:s,...u},d)=>{const{t:g}=ps(["common"]);return I.jsxs(e$n,{container:s,children:[I.jsx(bqt,{}),I.jsxs(q5e,{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),...u,children:[i,I.jsxs(J7n,{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=q5e.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(QGt,{ref:s,className:Sr("font-semibold text-lg leading-none tracking-tight",n),...i}));cN.displayName=QGt.displayName;const lN=H.forwardRef(({className:n,...i},s)=>I.jsx(eqt,{ref:s,className:Sr("text-muted-foreground text-sm",n),...i}));lN.displayName=eqt.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(yGt,{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 tz=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}));tz.displayName=fb.Group.displayName;const t$n=H.forwardRef(({className:n,...i},s)=>I.jsx(fb.Separator,{ref:s,className:Sr("-mx-1 h-px bg-border",n),...i}));t$n.displayName=fb.Separator.displayName;const nz=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}));nz.displayName=fb.Item.displayName;const n$n=["top","right","bottom","left"],dN=Math.min,Mm=Math.max,Zoe=Math.round,kie=Math.floor,$2=n=>({x:n,y:n}),r$n={left:"right",right:"left",bottom:"top",top:"bottom"},i$n={start:"end",end:"start"};function _Le(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 Y5e(n){return n==="x"?"y":"x"}function J5e(n){return n==="y"?"height":"width"}const o$n=new Set(["top","bottom"]);function D2(n){return o$n.has(EA(n))?"y":"x"}function X5e(n){return Y5e(D2(n))}function s$n(n,i,s){s===void 0&&(s=!1);const u=FM(n),d=X5e(n),g=J5e(d);let b=d==="x"?u===(s?"end":"start")?"right":"left":u==="start"?"bottom":"top";return i.reference[g]>i.floating[g]&&(b=Qoe(b)),[b,Qoe(b)]}function a$n(n){const i=Qoe(n);return[xLe(n),i,xLe(i)]}function xLe(n){return n.replace(/start|end/g,i=>i$n[i])}const W9t=["left","right"],K9t=["right","left"],u$n=["top","bottom"],c$n=["bottom","top"];function l$n(n,i,s){switch(n){case"top":case"bottom":return s?i?K9t:W9t:i?W9t:K9t;case"left":case"right":return i?u$n:c$n;default:return[]}}function d$n(n,i,s,u){const d=FM(n);let g=l$n(EA(n),s==="start",u);return d&&(g=g.map(b=>b+"-"+d),i&&(g=g.concat(g.map(xLe)))),g}function Qoe(n){return n.replace(/left|right|bottom|top/g,i=>r$n[i])}function f$n(n){return{top:0,right:0,bottom:0,left:0,...n}}function mqt(n){return typeof n!="number"?f$n(n):{top:n,right:n,bottom:n,left:n}}function ese(n){const{x:i,y:s,width:u,height:d}=n;return{width:u,height:d,top:s,left:i,right:i+u,bottom:s+d,x:i,y:s}}function Y9t(n,i,s){let{reference:u,floating:d}=n;const g=D2(i),b=X5e(i),w=J5e(b),E=EA(i),S=g==="y",x=u.x+u.width/2-d.width/2,A=u.y+u.height/2-d.height/2,C=u[w]/2-d[w]/2;let R;switch(E){case"top":R={x,y:u.y-d.height};break;case"bottom":R={x,y:u.y+u.height};break;case"right":R={x:u.x+u.width,y:A};break;case"left":R={x:u.x-d.width,y:A};break;default:R={x:u.x,y:u.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 h$n=async(n,i,s)=>{const{placement:u="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}=Y9t(S,u,E),C=u,R={},D=0;for(let L=0;L<w.length;L++){const{name:B,fn:$}=w[L],{x:j,y:P,data:G,reset:ee}=await $({x,y:A,initialPlacement:u,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&&D<=50&&(D++,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}=Y9t(S,C,E)),L=-1)}return{x,y:A,placement:C,strategy:d,middlewareData:R}};async function rz(n,i){var s;i===void 0&&(i={});const{x:u,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),D=mqt(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:u,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+D.top)/G.y,bottom:(ee.bottom-$.bottom+D.bottom)/G.y,left:($.left-ee.left+D.left)/G.x,right:(ee.right-$.right+D.right)/G.x}}const p$n=n=>({name:"arrow",options:n,async fn(i){const{x:s,y:u,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=mqt(x),C={x:s,y:u},R=X5e(d),D=J5e(R),L=await b.getDimensions(S),B=R==="y",$=B?"top":"left",j=B?"bottom":"right",P=B?"clientHeight":"clientWidth",G=g.reference[D]+g.reference[R]-C[R]-g.floating[D],ee=C[R]-g.reference[R],ne=await(b.getOffsetParent==null?void 0:b.getOffsetParent(S));let Q=ne?ne[P]:0;(!Q||!await(b.isElement==null?void 0:b.isElement(ne)))&&(Q=w.floating[P]||g.floating[D]);const ie=G/2-ee/2,he=Q/2-L[D]/2-1,ge=dN(A[$],he),ce=dN(A[j],he),fe=ge,K=Q-L[D]-ce,pe=Q/2-L[D]/2+ie,Oe=_Le(fe,pe,K),Se=!E.arrow&&FM(d)!=null&&pe!==Oe&&g.reference[D]/2-(pe<fe?ge:ce)-L[D]/2<0,De=Se?pe<fe?pe-fe:pe-K:0;return{[R]:C[R]+De,data:{[R]:Oe,centerOffset:pe-Oe-De,...Se&&{alignmentOffset:De}},reset:Se}}}),g$n=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(i){var s,u;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:D="none",flipAlignment:L=!0,...B}=vA(n,i);if((s=g.arrow)!=null&&s.alignmentOffset)return{};const $=EA(d),j=D2(w),P=EA(w)===w,G=await(E.isRTL==null?void 0:E.isRTL(S.floating)),ee=C||(P||!L?[Qoe(w)]:a$n(w)),ne=D!=="none";!C&&ne&&ee.push(...d$n(w,L,D,G));const Q=[w,...ee],ie=await rz(i,B),he=[];let ge=((u=g.flip)==null?void 0:u.overflows)||[];if(x&&he.push(ie[$]),A){const pe=s$n(d,b,G);he.push(ie[pe[0]],ie[pe[1]])}if(ge=[...ge,{placement:d,overflows:he}],!he.every(pe=>pe<=0)){var ce,fe;const pe=(((ce=g.flip)==null?void 0:ce.index)||0)+1,Oe=Q[pe];if(Oe&&(!(A==="alignment"?j!==D2(Oe):!1)||ge.every(Ae=>D2(Ae.placement)===j?Ae.overflows[0]>0:!0)))return{data:{index:pe,overflows:ge},reset:{placement:Oe}};let Se=(fe=ge.filter(De=>De.overflows[0]<=0).sort((De,Ae)=>De.overflows[1]-Ae.overflows[1])[0])==null?void 0:fe.placement;if(!Se)switch(R){case"bestFit":{var K;const De=(K=ge.filter(Ae=>{if(ne){const xe=D2(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];De&&(Se=De);break}case"initialPlacement":Se=w;break}if(d!==Se)return{reset:{placement:Se}}}return{}}}};function J9t(n,i){return{top:n.top-i.height,right:n.right-i.width,bottom:n.bottom-i.height,left:n.left-i.width}}function X9t(n){return n$n.some(i=>n[i]>=0)}const b$n=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(i){const{rects:s}=i,{strategy:u="referenceHidden",...d}=vA(n,i);switch(u){case"referenceHidden":{const g=await rz(i,{...d,elementContext:"reference"}),b=J9t(g,s.reference);return{data:{referenceHiddenOffsets:b,referenceHidden:X9t(b)}}}case"escaped":{const g=await rz(i,{...d,altBoundary:!0}),b=J9t(g,s.floating);return{data:{escapedOffsets:b,escaped:X9t(b)}}}default:return{}}}}},wqt=new Set(["left","top"]);async function m$n(n,i){const{placement:s,platform:u,elements:d}=n,g=await(u.isRTL==null?void 0:u.isRTL(d.floating)),b=EA(s),w=FM(s),E=D2(s)==="y",S=wqt.has(b)?-1:1,x=g&&E?-1:1,A=vA(i,n);let{mainAxis:C,crossAxis:R,alignmentAxis:D}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return w&&typeof D=="number"&&(R=w==="end"?D*-1:D),E?{x:R*x,y:C*S}:{x:C*S,y:R*x}}const w$n=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(i){var s,u;const{x:d,y:g,placement:b,middlewareData:w}=i,E=await m$n(i,n);return b===((s=w.offset)==null?void 0:s.placement)&&(u=w.arrow)!=null&&u.alignmentOffset?{}:{x:d+E.x,y:g+E.y,data:{...E,placement:b}}}}},y$n=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(i){const{x:s,y:u,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:u},x=await rz(i,E),A=D2(EA(d)),C=Y5e(A);let R=S[C],D=S[A];if(g){const B=C==="y"?"top":"left",$=C==="y"?"bottom":"right",j=R+x[B],P=R-x[$];R=_Le(j,R,P)}if(b){const B=A==="y"?"top":"left",$=A==="y"?"bottom":"right",j=D+x[B],P=D-x[$];D=_Le(j,D,P)}const L=w.fn({...i,[C]:R,[A]:D});return{...L,data:{x:L.x-s,y:L.y-u,enabled:{[C]:g,[A]:b}}}}}},v$n=function(n){return n===void 0&&(n={}),{options:n,fn(i){const{x:s,y:u,placement:d,rects:g,middlewareData:b}=i,{offset:w=0,mainAxis:E=!0,crossAxis:S=!0}=vA(n,i),x={x:s,y:u},A=D2(d),C=Y5e(A);let R=x[C],D=x[A];const L=vA(w,i),B=typeof L=="number"?{mainAxis:L,crossAxis:0}:{mainAxis:0,crossAxis:0,...L};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=wqt.has(EA(d)),ee=g.reference[A]-g.floating[P]+(G&&(($=b.offset)==null?void 0:$[A])||0)+(G?0:B.crossAxis),ne=g.reference[A]+g.reference[P]+(G?0:((j=b.offset)==null?void 0:j[A])||0)-(G?B.crossAxis:0);D<ee?D=ee:D>ne&&(D=ne)}return{[C]:R,[A]:D}}}},E$n=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(i){var s,u;const{placement:d,rects:g,platform:b,elements:w}=i,{apply:E=()=>{},...S}=vA(n,i),x=await rz(i,S),A=EA(d),C=FM(d),R=D2(d)==="y",{width:D,height:L}=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=L-x.top-x.bottom,P=D-x.left-x.right,G=dN(L-x[B],j),ee=dN(D-x[$],P),ne=!i.middlewareData.shift;let Q=G,ie=ee;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(ie=P),(u=i.middlewareData.shift)!=null&&u.enabled.y&&(Q=j),ne&&!C){const ge=Mm(x.left,0),ce=Mm(x.right,0),fe=Mm(x.top,0),K=Mm(x.bottom,0);R?ie=D-2*(ge!==0||ce!==0?ge+ce:Mm(x.left,x.right)):Q=L-2*(fe!==0||K!==0?fe+K:Mm(x.top,x.bottom))}await E({...i,availableWidth:ie,availableHeight:Q});const he=await b.getDimensions(w.floating);return D!==he.width||L!==he.height?{reset:{rects:!0}}:{}}}};function bae(){return typeof window<"u"}function $M(n){return yqt(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=(yqt(n)?n.ownerDocument:n.document)||window.document)==null?void 0:i.documentElement}function yqt(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 Z9t(n){return!bae()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Um(n).ShadowRoot}const S$n=new Set(["inline","contents"]);function Lz(n){const{overflow:i,overflowX:s,overflowY:u,display:d}=Fv(n);return/auto|scroll|overlay|hidden|clip/.test(i+u+s)&&!S$n.has(d)}const T$n=new Set(["table","td","th"]);function A$n(n){return T$n.has($M(n))}const _$n=[":popover-open",":modal"];function mae(n){return _$n.some(i=>{try{return n.matches(i)}catch{return!1}})}const x$n=["transform","translate","scale","rotate","perspective"],k$n=["transform","translate","scale","rotate","perspective","filter"],N$n=["paint","layout","strict","content"];function Z5e(n){const i=Q5e(),s=jv(n)?Fv(n):n;return x$n.some(u=>s[u]?s[u]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!i&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!i&&(s.filter?s.filter!=="none":!1)||k$n.some(u=>(s.willChange||"").includes(u))||N$n.some(u=>(s.contain||"").includes(u))}function C$n(n){let i=fN(n);for(;V2(i)&&!xM(i);){if(Z5e(i))return i;if(mae(i))return null;i=fN(i)}return null}function Q5e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const I$n=new Set(["html","body","#document"]);function xM(n){return I$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||Z9t(n)&&n.host||K2(n);return Z9t(i)?i.host:i}function vqt(n){const i=fN(n);return xM(i)?n.ownerDocument?n.ownerDocument.body:n.body:V2(i)&&Lz(i)?i:vqt(i)}function iz(n,i,s){var u;i===void 0&&(i=[]),s===void 0&&(s=!0);const d=vqt(n),g=d===((u=n.ownerDocument)==null?void 0:u.body),b=Um(d);if(g){const w=kLe(b);return i.concat(b,b.visualViewport||[],Lz(d)?d:[],w&&s?iz(w):[])}return i.concat(d,iz(d,[],s))}function kLe(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Eqt(n){const i=Fv(n);let s=parseFloat(i.width)||0,u=parseFloat(i.height)||0;const d=V2(n),g=d?n.offsetWidth:s,b=d?n.offsetHeight:u,w=Zoe(s)!==g||Zoe(u)!==b;return w&&(s=g,u=b),{width:s,height:u,$:w}}function eMe(n){return jv(n)?n:n.contextElement}function oM(n){const i=eMe(n);if(!V2(i))return $2(1);const s=i.getBoundingClientRect(),{width:u,height:d,$:g}=Eqt(i);let b=(g?Zoe(s.width):s.width)/u,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 R$n=$2(0);function Sqt(n){const i=Um(n);return!Q5e()||!i.visualViewport?R$n:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function O$n(n,i,s){return i===void 0&&(i=!1),!s||i&&s!==Um(n)?!1:i}function yR(n,i,s,u){i===void 0&&(i=!1),s===void 0&&(s=!1);const d=n.getBoundingClientRect(),g=eMe(n);let b=$2(1);i&&(u?jv(u)&&(b=oM(u)):b=oM(n));const w=O$n(g,s,u)?Sqt(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=u&&jv(u)?Um(u):u;let D=C,L=kLe(D);for(;L&&u&&R!==D;){const B=oM(L),$=L.getBoundingClientRect(),j=Fv(L),P=$.left+(L.clientLeft+parseFloat(j.paddingLeft))*B.x,G=$.top+(L.clientTop+parseFloat(j.paddingTop))*B.y;E*=B.x,S*=B.y,x*=B.x,A*=B.y,E+=P,S+=G,D=Um(L),L=kLe(D)}}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 Tqt(n,i){const s=n.getBoundingClientRect(),u=s.left+i.scrollLeft-yae(n,s),d=s.top+i.scrollTop;return{x:u,y:d}}function L$n(n){let{elements:i,rect:s,offsetParent:u,strategy:d}=n;const g=d==="fixed",b=K2(u),w=i?mae(i.floating):!1;if(u===b||w&&g)return s;let E={scrollLeft:0,scrollTop:0},S=$2(1);const x=$2(0),A=V2(u);if((A||!A&&!g)&&(($M(u)!=="body"||Lz(b))&&(E=wae(u)),V2(u))){const R=yR(u);S=oM(u),x.x=R.x+u.clientLeft,x.y=R.y+u.clientTop}const C=b&&!A&&!g?Tqt(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 D$n(n){return Array.from(n.getClientRects())}function M$n(n){const i=K2(n),s=wae(n),u=n.ownerDocument.body,d=Mm(i.scrollWidth,i.clientWidth,u.scrollWidth,u.clientWidth),g=Mm(i.scrollHeight,i.clientHeight,u.scrollHeight,u.clientHeight);let b=-s.scrollLeft+yae(n);const w=-s.scrollTop;return Fv(u).direction==="rtl"&&(b+=Mm(i.clientWidth,u.clientWidth)-d),{width:d,height:g,x:b,y:w}}const Q9t=25;function P$n(n,i){const s=Um(n),u=K2(n),d=s.visualViewport;let g=u.clientWidth,b=u.clientHeight,w=0,E=0;if(d){g=d.width,b=d.height;const x=Q5e();(!x||x&&i==="fixed")&&(w=d.offsetLeft,E=d.offsetTop)}const S=yae(u);if(S<=0){const x=u.ownerDocument,A=x.body,C=getComputedStyle(A),R=x.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,D=Math.abs(u.clientWidth-A.clientWidth-R);D<=Q9t&&(g-=D)}else S<=Q9t&&(g+=S);return{width:g,height:b,x:w,y:E}}const j$n=new Set(["absolute","fixed"]);function F$n(n,i){const s=yR(n,!0,i==="fixed"),u=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=u*g.y;return{width:b,height:w,x:E,y:S}}function e8t(n,i,s){let u;if(i==="viewport")u=P$n(n,s);else if(i==="document")u=M$n(K2(n));else if(jv(i))u=F$n(i,s);else{const d=Sqt(n);u={x:i.x-d.x,y:i.y-d.y,width:i.width,height:i.height}}return ese(u)}function Aqt(n,i){const s=fN(n);return s===i||!jv(s)||xM(s)?!1:Fv(s).position==="fixed"||Aqt(s,i)}function $$n(n,i){const s=i.get(n);if(s)return s;let u=iz(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=Z5e(b);!E&&w.position==="fixed"&&(d=null),(g?!E&&!d:!E&&w.position==="static"&&!!d&&j$n.has(d.position)||Lz(b)&&!E&&Aqt(n,b))?u=u.filter(x=>x!==b):d=w,b=fN(b)}return i.set(n,u),u}function B$n(n){let{element:i,boundary:s,rootBoundary:u,strategy:d}=n;const b=[...s==="clippingAncestors"?mae(i)?[]:$$n(i,this._c):[].concat(s),u],w=b[0],E=b.reduce((S,x)=>{const A=e8t(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},e8t(i,w,d));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function U$n(n){const{width:i,height:s}=Eqt(n);return{width:i,height:s}}function H$n(n,i,s){const u=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(u||!u&&!g)if(($M(i)!=="body"||Lz(d))&&(w=wae(i)),u){const R=yR(i,!0,g,i);E.x=R.x+i.clientLeft,E.y=R.y+i.clientTop}else d&&S();g&&!u&&d&&S();const x=d&&!u&&!g?Tqt(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 t8t(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 _qt(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 u=t8t(n,i);for(;u&&A$n(u)&&iIe(u);)u=t8t(u,i);return u&&xM(u)&&iIe(u)&&!Z5e(u)?s:u||C$n(n)||s}const z$n=async function(n){const i=this.getOffsetParent||_qt,s=this.getDimensions,u=await s(n.floating);return{reference:H$n(n.reference,await i(n.floating),n.strategy),floating:{x:0,y:0,width:u.width,height:u.height}}};function G$n(n){return Fv(n).direction==="rtl"}const q$n={convertOffsetParentRelativeRectToViewportRelativeRect:L$n,getDocumentElement:K2,getClippingRect:B$n,getOffsetParent:_qt,getElementRects:z$n,getClientRects:D$n,getDimensions:U$n,getScale:oM,isElement:jv,isRTL:G$n};function xqt(n,i){return n.x===i.x&&n.y===i.y&&n.width===i.width&&n.height===i.height}function V$n(n,i){let s=null,u;const d=K2(n);function g(){var w;clearTimeout(u),(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 D=kie(A),L=kie(d.clientWidth-(x+C)),B=kie(d.clientHeight-(A+R)),$=kie(x),P={rootMargin:-D+"px "+-L+"px "+-B+"px "+-$+"px",threshold:Mm(0,dN(1,E))||1};let G=!0;function ee(ne){const Q=ne[0].intersectionRatio;if(Q!==E){if(!G)return b();Q?b(!1,Q):u=setTimeout(()=>{b(!1,1e-7)},1e3)}Q===1&&!xqt(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 W$n(n,i,s,u){u===void 0&&(u={});const{ancestorScroll:d=!0,ancestorResize:g=!0,elementResize:b=typeof ResizeObserver=="function",layoutShift:w=typeof IntersectionObserver=="function",animationFrame:E=!1}=u,S=eMe(n),x=d||g?[...S?iz(S):[],...iz(i)]:[];x.forEach($=>{d&&$.addEventListener("scroll",s,{passive:!0}),g&&$.addEventListener("resize",s)});const A=S&&w?V$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 D,L=E?yR(n):null;E&&B();function B(){const $=yR(n);L&&!xqt(L,$)&&s(),L=$,D=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(D)}}const K$n=w$n,Y$n=y$n,J$n=g$n,X$n=E$n,Z$n=b$n,n8t=p$n,Q$n=v$n,eBn=(n,i,s)=>{const u=new Map,d={platform:q$n,...s},g={...d.platform,_c:u};return h$n(n,i,{...d,platform:g})};var tBn=typeof document<"u",nBn=function(){},ooe=tBn?H.useLayoutEffect:nBn;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,u,d;if(n&&i&&typeof n=="object"){if(Array.isArray(n)){if(s=n.length,s!==i.length)return!1;for(u=s;u--!==0;)if(!tse(n[u],i[u]))return!1;return!0}if(d=Object.keys(n),s=d.length,s!==Object.keys(i).length)return!1;for(u=s;u--!==0;)if(!{}.hasOwnProperty.call(i,d[u]))return!1;for(u=s;u--!==0;){const g=d[u];if(!(g==="_owner"&&n.$$typeof)&&!tse(n[g],i[g]))return!1}return!0}return n!==n&&i!==i}function kqt(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function r8t(n,i){const s=kqt(n);return Math.round(i*s)/s}function oIe(n){const i=H.useRef(n);return ooe(()=>{i.current=n}),i}function rBn(n){n===void 0&&(n={});const{placement:i="bottom",strategy:s="absolute",middleware:u=[],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(u);tse(C,u)||R(u);const[D,L]=H.useState(null),[B,$]=H.useState(null),j=H.useCallback(Ae=>{Ae!==ne.current&&(ne.current=Ae,L(Ae))},[]),P=H.useCallback(Ae=>{Ae!==Q.current&&(Q.current=Ae,$(Ae))},[]),G=g||D,ee=b||B,ne=H.useRef(null),Q=H.useRef(null),ie=H.useRef(x),he=E!=null,ge=oIe(E),ce=oIe(d),fe=oIe(S),K=H.useCallback(()=>{if(!ne.current||!Q.current)return;const Ae={placement:i,strategy:s,middleware:C};ce.current&&(Ae.platform=ce.current),eBn(ne.current,Q.current,Ae).then(xe=>{const We={...xe,isPositioned:fe.current!==!1};pe.current&&!tse(ie.current,We)&&(ie.current=We,xR.flushSync(()=>{A(We)}))})},[C,i,s,ce,fe]);ooe(()=>{S===!1&&ie.current.isPositioned&&(ie.current.isPositioned=!1,A(Ae=>({...Ae,isPositioned:!1})))},[S]);const pe=H.useRef(!1);ooe(()=>(pe.current=!0,()=>{pe.current=!1}),[]),ooe(()=>{if(G&&(ne.current=G),ee&&(Q.current=ee),G&&ee){if(ge.current)return ge.current(G,ee,K);K()}},[G,ee,K,ge,he]);const Oe=H.useMemo(()=>({reference:ne,floating:Q,setReference:j,setFloating:P}),[j,P]),Se=H.useMemo(()=>({reference:G,floating:ee}),[G,ee]),De=H.useMemo(()=>{const Ae={position:s,left:0,top:0};if(!Se.floating)return Ae;const xe=r8t(Se.floating,x.x),We=r8t(Se.floating,x.y);return w?{...Ae,transform:"translate("+xe+"px, "+We+"px)",...kqt(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:De}),[x,K,Oe,Se,De])}const iBn=n=>{function i(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:n,fn(s){const{element:u,padding:d}=typeof n=="function"?n(s):n;return u&&i(u)?u.current!=null?n8t({element:u.current,padding:d}).fn(s):{}:u?n8t({element:u,padding:d}).fn(s):{}}}},oBn=(n,i)=>({...K$n(n),options:[n,i]}),sBn=(n,i)=>({...Y$n(n),options:[n,i]}),aBn=(n,i)=>({...Q$n(n),options:[n,i]}),uBn=(n,i)=>({...J$n(n),options:[n,i]}),cBn=(n,i)=>({...X$n(n),options:[n,i]}),lBn=(n,i)=>({...Z$n(n),options:[n,i]}),dBn=(n,i)=>({...iBn(n),options:[n,i]});var fBn="Arrow",Nqt=H.forwardRef((n,i)=>{const{children:s,width:u=10,height:d=5,...g}=n;return I.jsx(no.svg,{...g,ref:i,width:u,height:d,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?s:I.jsx("polygon",{points:"0,0 30,0 15,10"})})});Nqt.displayName=fBn;var hBn=Nqt;function vae(n){const[i,s]=H.useState(void 0);return Hp(()=>{if(n){s({width:n.offsetWidth,height:n.offsetHeight});const u=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 u.observe(n,{box:"border-box"}),()=>u.unobserve(n)}else s(void 0)},[n]),i}var tMe="Popper",[Cqt,BM]=xw(tMe),[pBn,Iqt]=Cqt(tMe),Rqt=n=>{const{__scopePopper:i,children:s}=n,[u,d]=H.useState(null);return I.jsx(pBn,{scope:i,anchor:u,onAnchorChange:d,children:s})};Rqt.displayName=tMe;var Oqt="PopperAnchor",Lqt=H.forwardRef((n,i)=>{const{__scopePopper:s,virtualRef:u,...d}=n,g=Iqt(Oqt,s),b=H.useRef(null),w=hs(i,b),E=H.useRef(null);return H.useEffect(()=>{const S=E.current;E.current=(u==null?void 0:u.current)||b.current,S!==E.current&&g.onAnchorChange(E.current)}),u?null:I.jsx(no.div,{...d,ref:w})});Lqt.displayName=Oqt;var nMe="PopperContent",[gBn,bBn]=Cqt(nMe),Dqt=H.forwardRef((n,i)=>{var vt,Ct,Ft,On,Zn,Yn;const{__scopePopper:s,side:u="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:D,...L}=n,B=Iqt(nMe,s),[$,j]=H.useState(null),P=hs(i,vr=>j(vr)),[G,ee]=H.useState(null),ne=vae(G),Q=(ne==null?void 0:ne.width)??0,ie=(ne==null?void 0:ne.height)??0,he=u+(g!=="center"?"-"+g:""),ge=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ce=Array.isArray(S)?S:[S],fe=ce.length>0,K={padding:ge,boundary:ce.filter(wBn),altBoundary:fe},{refs:pe,floatingStyles:Oe,placement:Se,isPositioned:De,middlewareData:Ae}=rBn({strategy:"fixed",placement:he,whileElementsMounted:(...vr)=>W$n(...vr,{animationFrame:R==="always"}),elements:{reference:B.anchor},middleware:[oBn({mainAxis:d+ie,alignmentAxis:b}),E&&sBn({mainAxis:!0,crossAxis:!1,limiter:A==="partial"?aBn():void 0,...K}),E&&uBn({...K}),cBn({...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&&dBn({element:G,padding:w}),yBn({arrowWidth:Q,arrowHeight:ie}),C&&lBn({strategy:"referenceHidden",...K})]}),[xe,We]=jqt(Se),dt=q2(D);Hp(()=>{De&&(dt==null||dt())},[De,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:pe.setFloating,"data-radix-popper-content-wrapper":"",style:{...Oe,transform:De?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(gBn,{scope:s,placedSide:xe,onArrowChange:ee,arrowX:Ue,arrowY:bt,shouldHideArrow:kt,children:I.jsx(no.div,{"data-side":xe,"data-align":We,...L,ref:P,style:{...L.style,animation:De?void 0:"none"}})})})});Dqt.displayName=nMe;var Mqt="PopperArrow",mBn={top:"bottom",right:"left",bottom:"top",left:"right"},Pqt=H.forwardRef(function(i,s){const{__scopePopper:u,...d}=i,g=bBn(Mqt,u),b=mBn[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(hBn,{...d,ref:s,style:{...d.style,display:"block"}})})});Pqt.displayName=Mqt;function wBn(n){return n!==null}var yBn=n=>({name:"transformOrigin",options:n,fn(i){var B,$,j;const{placement:s,rects:u,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]=jqt(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 D="",L="";return S==="bottom"?(D=b?A:`${C}px`,L=`${-E}px`):S==="top"?(D=b?A:`${C}px`,L=`${u.floating.height+E}px`):S==="right"?(D=`${-E}px`,L=b?A:`${R}px`):S==="left"&&(D=`${u.floating.width+E}px`,L=b?A:`${R}px`),{data:{x:D,y:L}}}});function jqt(n){const[i,s="center"]=n.split("-");return[i,s]}var rMe=Rqt,Eae=Lqt,iMe=Dqt,oMe=Pqt;function vBn(n){const i=EBn(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,w=H.Children.toArray(g),E=w.find(TBn);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 EBn(n){const i=H.forwardRef((s,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=_Bn(d),w=ABn(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var SBn=Symbol("radix.slottable");function TBn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===SBn}function ABn(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function _Bn(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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",[Fqt]=xw(Sae,[BM]),Dz=BM(),[xBn,EN]=Fqt(Sae),$qt=n=>{const{__scopePopover:i,children:s,open:u,defaultOpen:d,onOpenChange:g,modal:b=!1}=n,w=Dz(i),E=H.useRef(null),[S,x]=H.useState(!1),[A,C]=G2({prop:u,defaultProp:d??!1,onChange:g,caller:Sae});return I.jsx(rMe,{...w,children:I.jsx(xBn,{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})})};$qt.displayName=Sae;var Bqt="PopoverAnchor",Uqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...u}=n,d=EN(Bqt,s),g=Dz(s),{onCustomAnchorAdd:b,onCustomAnchorRemove:w}=d;return H.useEffect(()=>(b(),()=>w()),[b,w]),I.jsx(Eae,{...g,...u,ref:i})});Uqt.displayName=Bqt;var Hqt="PopoverTrigger",zqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...u}=n,d=EN(Hqt,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":Kqt(d.open),...u,ref:b,onClick:Lr(n.onClick,d.onOpenToggle)});return d.hasCustomAnchor?w:I.jsx(Eae,{asChild:!0,...g,children:w})});zqt.displayName=Hqt;var sMe="PopoverPortal",[kBn,NBn]=Fqt(sMe,{forceMount:void 0}),Gqt=n=>{const{__scopePopover:i,forceMount:s,children:u,container:d}=n,g=EN(sMe,i);return I.jsx(kBn,{scope:i,forceMount:s,children:I.jsx(kw,{present:s||g.open,children:I.jsx(Iz,{asChild:!0,container:d,children:u})})})};Gqt.displayName=sMe;var kM="PopoverContent",qqt=H.forwardRef((n,i)=>{const s=NBn(kM,n.__scopePopover),{forceMount:u=s.forceMount,...d}=n,g=EN(kM,n.__scopePopover);return I.jsx(kw,{present:u||g.open,children:g.modal?I.jsx(IBn,{...d,ref:i}):I.jsx(RBn,{...d,ref:i})})});qqt.displayName=kM;var CBn=vBn("PopoverContent.RemoveScroll"),IBn=H.forwardRef((n,i)=>{const s=EN(kM,n.__scopePopover),u=H.useRef(null),d=hs(i,u),g=H.useRef(!1);return H.useEffect(()=>{const b=u.current;if(b)return uae(b)},[]),I.jsx(Rz,{as:CBn,allowPinchZoom:!0,children:I.jsx(Vqt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lr(n.onCloseAutoFocus,b=>{var w;b.preventDefault(),g.current||(w=s.triggerRef.current)==null||w.focus()}),onPointerDownOutside:Lr(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:Lr(n.onFocusOutside,b=>b.preventDefault(),{checkForDefaultPrevented:!1})})})}),RBn=H.forwardRef((n,i)=>{const s=EN(kM,n.__scopePopover),u=H.useRef(!1),d=H.useRef(!1);return I.jsx(Vqt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(u.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),u.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(u.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()}})}),Vqt=H.forwardRef((n,i)=>{const{__scopePopover:s,trapFocus:u,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(Cz,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(Nz,{asChild:!0,disableOutsidePointerEvents:b,onInteractOutside:x,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onDismiss:()=>C.onOpenChange(!1),children:I.jsx(iMe,{"data-state":Kqt(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)"}})})})}),Wqt="PopoverClose",OBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...u}=n,d=EN(Wqt,s);return I.jsx(no.button,{type:"button",...u,ref:i,onClick:Lr(n.onClick,()=>d.onOpenChange(!1))})});OBn.displayName=Wqt;var LBn="PopoverArrow",DBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...u}=n,d=Dz(s);return I.jsx(oMe,{...d,...u,ref:i})});DBn.displayName=LBn;function Kqt(n){return n?"open":"closed"}var MBn=$qt,PBn=Uqt,jBn=zqt,FBn=Gqt,Yqt=qqt;const aMe=MBn,Jqt=jBn,$Bn=PBn,Tae=H.forwardRef(({className:n,align:i="center",sideOffset:s=4,container:u,...d},g)=>I.jsx(FBn,{container:u,children:I.jsx(Yqt,{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=Yqt.displayName;function SA(n){return Array.isArray?Array.isArray(n):Qqt(n)==="[object Array]"}function BBn(n){if(typeof n=="string")return n;let i=n+"";return i=="0"&&1/n==-1/0?"-0":i}function UBn(n){return n==null?"":BBn(n)}function M2(n){return typeof n=="string"}function Xqt(n){return typeof n=="number"}function HBn(n){return n===!0||n===!1||zBn(n)&&Qqt(n)=="[object Boolean]"}function Zqt(n){return typeof n=="object"}function zBn(n){return Zqt(n)&&n!==null}function Pm(n){return n!=null}function sIe(n){return!n.trim().length}function Qqt(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const GBn="Incorrect 'index' type",qBn=n=>`Invalid value for key ${n}`,VBn=n=>`Pattern length exceeds max of ${n}.`,WBn=n=>`Missing ${n} property in key`,KBn=n=>`Property 'weight' in key '${n}' must be a positive integer`,i8t=Object.prototype.hasOwnProperty;class YBn{constructor(i){this._keys=[],this._keyMap={};let s=0;i.forEach(u=>{let d=eVt(u);this._keys.push(d),this._keyMap[d.id]=d,s+=d.weight}),this._keys.forEach(u=>{u.weight/=s})}get(i){return this._keyMap[i]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function eVt(n){let i=null,s=null,u=null,d=1,g=null;if(M2(n)||SA(n))u=n,i=o8t(n),s=NLe(n);else{if(!i8t.call(n,"name"))throw new Error(WBn("name"));const b=n.name;if(u=b,i8t.call(n,"weight")&&(d=n.weight,d<=0))throw new Error(KBn(b));i=o8t(b),s=NLe(b),g=n.getFn}return{path:i,id:s,weight:d,src:u,getFn:g}}function o8t(n){return SA(n)?n:n.split(".")}function NLe(n){return SA(n)?n.join("."):n}function JBn(n,i){let s=[],u=!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)||Xqt(S)||HBn(S)))s.push(UBn(S));else if(SA(S)){u=!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),u?s:s[0]}const XBn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ZBn={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},QBn={location:0,threshold:.6,distance:100},eUn={useExtendedSearch:!1,getFn:JBn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var uo={...ZBn,...XBn,...QBn,...eUn};const tUn=/[^ ]+/g;function nUn(n=1,i=3){const s=new Map,u=Math.pow(10,i);return{get(d){const g=d.match(tUn).length;if(s.has(g))return s.get(g);const b=1/Math.pow(g,.5*n),w=parseFloat(Math.round(b*u)/u);return s.set(g,w),w},clear(){s.clear()}}}class uMe{constructor({getFn:i=uo.getFn,fieldNormWeight:s=uo.fieldNormWeight}={}){this.norm=nUn(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,u)=>{this._keysMap[s.id]=u})}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,u=this.size();s<u;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 u={v:i,i:s,n:this.norm.get(i)};this.records.push(u)}_addObject(i,s){let u={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})})}u.$[g]=w}else if(M2(b)&&!sIe(b)){let w={v:b,n:this.norm.get(b)};u.$[g]=w}}}),this.records.push(u)}toJSON(){return{keys:this.keys,records:this.records}}}function tVt(n,i,{getFn:s=uo.getFn,fieldNormWeight:u=uo.fieldNormWeight}={}){const d=new uMe({getFn:s,fieldNormWeight:u});return d.setKeys(n.map(eVt)),d.setSources(i),d.create(),d}function rUn(n,{getFn:i=uo.getFn,fieldNormWeight:s=uo.fieldNormWeight}={}){const{keys:u,records:d}=n,g=new uMe({getFn:i,fieldNormWeight:s});return g.setKeys(u),g.setIndexRecords(d),g}function Nie(n,{errors:i=0,currentLocation:s=0,expectedLocation:u=0,distance:d=uo.distance,ignoreLocation:g=uo.ignoreLocation}={}){const b=i/n.length;if(g)return b;const w=Math.abs(u-s);return d?b+w/d:w?1:b}function iUn(n=[],i=uo.minMatchCharLength){let s=[],u=-1,d=-1,g=0;for(let b=n.length;g<b;g+=1){let w=n[g];w&&u===-1?u=g:!w&&u!==-1&&(d=g-1,d-u+1>=i&&s.push([u,d]),u=-1)}return n[g-1]&&g-u>=i&&s.push([u,g-1]),s}const K4=32;function oUn(n,i,s,{location:u=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(VBn(K4));const x=i.length,A=n.length,C=Math.max(0,Math.min(u,A));let R=g,D=C;const L=w>1||E,B=L?Array(A):[];let $;for(;($=n.indexOf(i,D))>-1;){let Q=Nie(i,{currentLocation:$,expectedLocation:C,distance:d,ignoreLocation:S});if(R=Math.min(Q,R),D=$+x,L){let ie=0;for(;ie<x;)B[$+ie]=1,ie+=1}}D=-1;let j=[],P=1,G=x+A;const ee=1<<x-1;for(let Q=0;Q<x;Q+=1){let ie=0,he=G;for(;ie<he;)Nie(i,{errors:Q,currentLocation:C+he,expectedLocation:C,distance:d,ignoreLocation:S})<=R?ie=he:G=he,he=Math.floor((G-ie)/2+ie);G=he;let ge=Math.max(1,C-he+1),ce=b?A:Math.min(C+he,A)+x,fe=Array(ce+2);fe[ce+1]=(1<<Q)-1;for(let pe=ce;pe>=ge;pe-=1){let Oe=pe-1,Se=s[n.charAt(Oe)];if(L&&(B[Oe]=+!!Se),fe[pe]=(fe[pe+1]<<1|1)&Se,Q&&(fe[pe]|=(j[pe+1]|j[pe])<<1|1|j[pe+1]),fe[pe]&ee&&(P=Nie(i,{errors:Q,currentLocation:Oe,expectedLocation:C,distance:d,ignoreLocation:S}),P<=R)){if(R=P,D=Oe,D<=C)break;ge=Math.max(1,2*C-D)}}if(Nie(i,{errors:Q+1,currentLocation:C,expectedLocation:C,distance:d,ignoreLocation:S})>R)break;j=fe}const ne={isMatch:D>=0,score:Math.max(.001,P)};if(L){const Q=iUn(B,w);Q.length?E&&(ne.indices=Q):ne.isMatch=!1}return ne}function sUn(n){let i={};for(let s=0,u=n.length;s<u;s+=1){const d=n.charAt(s);i[d]=(i[d]||0)|1<<u-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 nVt{constructor(i,{location:s=uo.location,threshold:u=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:u,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,D)=>{this.chunks.push({pattern:R,alphabet:sUn(R),startIndex:D})},C=this.pattern.length;if(C>K4){let R=0;const D=C%K4,L=C-D;for(;R<L;)A(this.pattern.substr(R,K4),R),R+=K4;if(D){const B=C-K4;A(this.pattern.substr(B),B)}}else A(this.pattern,0)}searchIn(i){const{isCaseSensitive:s,ignoreDiacritics:u,includeMatches:d}=this.options;if(i=s?i:i.toLowerCase(),i=u?nse(i):i,this.pattern===i){let L={isMatch:!0,score:0};return d&&(L.indices=[[0,i.length-1]]),L}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:L,alphabet:B,startIndex:$})=>{const{isMatch:j,score:P,indices:G}=oUn(i,L,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 D={isMatch:R,score:R?C/this.chunks.length:1};return R&&d&&(D.indices=A),D}}class SN{constructor(i){this.pattern=i}static isMultiMatch(i){return s8t(i,this.multiRegex)}static isSingleMatch(i){return s8t(i,this.singleRegex)}search(){}}function s8t(n,i){const s=n.match(i);return s?s[1]:null}class aUn 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 uUn extends SN{constructor(i){super(i)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(i){const u=i.indexOf(this.pattern)===-1;return{isMatch:u,score:u?0:1,indices:[0,i.length-1]}}}class cUn 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 lUn 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 dUn 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 fUn 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 rVt extends SN{constructor(i,{location:s=uo.location,threshold:u=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 nVt(i,{location:s,threshold:u,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 iVt extends SN{constructor(i){super(i)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(i){let s=0,u;const d=[],g=this.pattern.length;for(;(u=i.indexOf(this.pattern,s))>-1;)s=u+g,d.push([u,s-1]);const b=!!d.length;return{isMatch:b,score:b?0:1,indices:d}}}const CLe=[aUn,iVt,cUn,lUn,fUn,dUn,uUn,rVt],a8t=CLe.length,hUn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,pUn="|";function gUn(n,i={}){return n.split(pUn).map(s=>{let u=s.trim().split(hUn).filter(g=>g&&!!g.trim()),d=[];for(let g=0,b=u.length;g<b;g+=1){const w=u[g];let E=!1,S=-1;for(;!E&&++S<a8t;){const x=CLe[S];let A=x.isMultiMatch(w);A&&(d.push(new x(A,i)),E=!0)}if(!E)for(S=-1;++S<a8t;){const x=CLe[S];let A=x.isSingleMatch(w);if(A){d.push(new x(A,i));break}}}return d})}const bUn=new Set([rVt.type,iVt.type]);class mUn{constructor(i,{isCaseSensitive:s=uo.isCaseSensitive,ignoreDiacritics:u=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:u,includeMatches:d,minMatchCharLength:g,findAllMatches:w,ignoreLocation:b,location:E,threshold:S,distance:x},i=s?i:i.toLowerCase(),i=u?nse(i):i,this.pattern=i,this.query=gUn(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:u,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 D=A[C],{isMatch:L,indices:B,score:$}=D.search(i);if(L){if(b+=1,E+=$,u){const j=D.constructor.type;bUn.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 u&&(C.indices=w),C}}return{isMatch:!1,score:1}}}const ILe=[];function wUn(...n){ILe.push(...n)}function RLe(n,i){for(let s=0,u=ILe.length;s<u;s+=1){let d=ILe[s];if(d.condition(n,i))return new d(n,i)}return new nVt(n,i)}const rse={AND:"$and",OR:"$or"},OLe={PATH:"$path",PATTERN:"$val"},LLe=n=>!!(n[rse.AND]||n[rse.OR]),yUn=n=>!!n[OLe.PATH],vUn=n=>!SA(n)&&Zqt(n)&&!LLe(n),u8t=n=>({[rse.AND]:Object.keys(n).map(i=>({[i]:n[i]}))});function oVt(n,i,{auto:s=!0}={}){const u=d=>{let g=Object.keys(d);const b=yUn(d);if(!b&&g.length>1&&!LLe(d))return u(u8t(d));if(vUn(d)){const E=b?d[OLe.PATH]:g[0],S=b?d[OLe.PATTERN]:d[E];if(!M2(S))throw new Error(qBn(E));const x={keyId:NLe(E),pattern:S};return s&&(x.searcher=RLe(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(u(x))})}),w};return LLe(n)||(n=u8t(n)),u(n)}function EUn(n,{ignoreFieldNorm:i=uo.ignoreFieldNorm}){n.forEach(s=>{let u=1;s.matches.forEach(({key:d,norm:g,score:b})=>{const w=d?d.weight:null;u*=Math.pow(b===0&&w?Number.EPSILON:b,(w||1)*(i?1:g))}),s.score=u})}function SUn(n,i){const s=n.matches;i.matches=[],Pm(s)&&s.forEach(u=>{if(!Pm(u.indices)||!u.indices.length)return;const{indices:d,value:g}=u;let b={indices:d,value:g};u.key&&(b.key=u.key.src),u.idx>-1&&(b.refIndex=u.idx),i.matches.push(b)})}function TUn(n,i){i.score=n.score}function AUn(n,i,{includeMatches:s=uo.includeMatches,includeScore:u=uo.includeScore}={}){const d=[];return s&&d.push(SUn),u&&d.push(TUn),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={},u){this.options={...uo,...s},this.options.useExtendedSearch,this._keyStore=new YBn(this.options.keys),this.setCollection(i,u)}setCollection(i,s){if(this._docs=i,s&&!(s instanceof uMe))throw new Error(GBn);this._myIndex=s||tVt(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 u=0,d=this._docs.length;u<d;u+=1){const g=this._docs[u];i(g,u)&&(this.removeAt(u),u-=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:u,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 EUn(E,{ignoreFieldNorm:w}),g&&E.sort(b),Xqt(s)&&s>-1&&(E=E.slice(0,s)),AUn(E,this._docs,{includeMatches:u,includeScore:d})}_searchStringList(i){const s=RLe(i,this.options),{records:u}=this._myIndex,d=[];return u.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=oVt(i,this.options),u=(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],D=u(R,E,S);if(D.length)x.push(...D);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=u(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=RLe(i,this.options),{keys:u,records:d}=this._myIndex,g=[];return d.forEach(({$:b,i:w})=>{if(!Pm(b))return;let E=[];u.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:u}){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}=u.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}=u.searchIn(g);w&&d.push({score:E,key:i,value:g,norm:b,indices:S})}return d}}NR.version="7.1.0";NR.createIndex=tVt;NR.parseIndex=rUn;NR.config=uo;NR.parseQuery=oVt;wUn(mUn);function sVt(n,i){const[s,u]=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:u,filteredItems:g.map(b=>b.item),results:g}}const c8t=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,l8t=lqt,Aae=(n,i)=>s=>{var u;if((i==null?void 0:i.variants)==null)return l8t(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=c8t(x)||c8t(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||(u=i.compoundVariants)===null||u===void 0?void 0:u.reduce((S,x)=>{let{class:A,className:C,...R}=x;return Object.entries(R).every(D=>{let[L,B]=D;return Array.isArray(B)?B.includes({...g,...w}[L]):{...g,...w}[L]===B})?[...S,A,C]:S},[]);return l8t(n,b,E,s==null?void 0:s.class,s==null?void 0:s.className)},_Un=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"}}),ki=H.forwardRef(({className:n,variant:i,size:s,asChild:u=!1,...d},g)=>{const b=u?Q7n:"button";return I.jsx(b,{className:Sr(_Un({variant:i,size:s,className:n})),ref:g,...d})});ki.displayName="Button";function cn(n,i,s){function u(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;u(S,w),(E=S._zod).deferred??(E.deferred=[]);for(const x of S._zod.deferred)x();return S}return Object.defineProperty(b,"init",{value:u}),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 aVt extends Error{constructor(i){super(`Encountered unidirectional transform during encode: ${i}`),this.name="ZodEncodeError"}}const uVt={};function hN(n){return uVt}function cVt(n){const i=Object.values(n).filter(u=>typeof u=="number");return Object.entries(n).filter(([u,d])=>i.indexOf(+u)===-1).map(([u,d])=>d)}function DLe(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 cMe(n){return n==null}function lMe(n){const i=n.startsWith("^")?1:0,s=n.endsWith("$")?n.length-1:n.length;return n.slice(i,s)}function xUn(n,i){const s=(n.toString().split(".")[1]||"").length,u=i.toString();let d=(u.split(".")[1]||"").length;if(d===0&&/\d?e-\d?/.test(u)){const E=u.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 d8t=Symbol("evaluating");function Ys(n,i,s){let u;Object.defineProperty(n,i,{get(){if(u!==d8t)return u===void 0&&(u=d8t,u=s()),u},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 u=Object.getOwnPropertyDescriptors(s);Object.assign(i,u)}return Object.defineProperties({},i)}function f8t(n){return JSON.stringify(n)}function kUn(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const lVt="captureStackTrace"in Error?Error.captureStackTrace:(...n)=>{};function oz(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}const NUn=_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(oz(n)===!1)return!1;const i=n.constructor;if(i===void 0||typeof i!="function")return!0;const s=i.prototype;return!(oz(s)===!1||Object.prototype.hasOwnProperty.call(s,"isPrototypeOf")===!1)}function dVt(n){return NM(n)?{...n}:Array.isArray(n)?[...n]:n}const CUn=new Set(["string","number","symbol"]);function CM(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function AN(n,i,s){const u=new n._zod.constr(i??n._zod.def);return(!i||s!=null&&s.parent)&&(u._zod.parent=n),u}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 IUn(n){return Object.keys(n).filter(i=>n[i]._zod.optin==="optional"&&n[i]._zod.optout==="optional")}const RUn={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 OUn(n,i){const s=n._zod.def,u=s.checks;if(u&&u.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 LUn(n,i){const s=n._zod.def,u=s.checks;if(u&&u.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 DUn(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 MUn(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 u={...n._zod.def.shape,...i};return CR(this,"shape",u),u}});return AN(n,s)}function PUn(n,i){const s=TN(n._zod.def,{get shape(){const u={...n._zod.def.shape,...i._zod.def.shape};return CR(this,"shape",u),u},get catchall(){return i._zod.def.catchall},checks:[]});return AN(n,s)}function jUn(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 FUn(n,i,s){const u=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,u)}function G5(n,i=0){var s;if(n.aborted===!0)return!0;for(let u=i;u<n.issues.length;u++)if(((s=n.issues[u])==null?void 0:s.continue)!==!0)return!0;return!1}function q5(n,i){return i.map(s=>{var u;return(u=s).path??(u.path=[]),s.path.unshift(n),s})}function Cie(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 u={...n,path:n.path??[]};if(!n.message){const x=Cie((b=(g=(d=n.inst)==null?void 0:d._zod.def)==null?void 0:g.error)==null?void 0:b.call(g,n))??Cie((w=i==null?void 0:i.error)==null?void 0:w.call(i,n))??Cie((E=s.customError)==null?void 0:E.call(s,n))??Cie((S=s.localeError)==null?void 0:S.call(s,n))??"Invalid input";u.message=x}return delete u.inst,delete u.continue,i!=null&&i.reportInput||delete u.input,u}function dMe(n){return Array.isArray(n)?"array":typeof n=="string"?"string":"unknown"}function sz(...n){const[i,s,u]=n;return typeof i=="string"?{message:i,code:"custom",input:s,inst:u}:{...i}}const fVt=(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,DLe,2),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},hVt=cn("$ZodError",fVt),pVt=cn("$ZodError",fVt,{Parent:Error});function $Un(n,i=s=>s.message){const s={},u=[];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))):u.push(i(d));return{formErrors:u,fieldErrors:s}}function BUn(n,i=s=>s.message){const s={_errors:[]},u=d=>{for(const g of d.issues)if(g.code==="invalid_union"&&g.errors.length)g.errors.map(b=>u({issues:b}));else if(g.code==="invalid_key")u({issues:g.issues});else if(g.code==="invalid_element")u({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 u(n),s}const fMe=n=>(i,s,u,d)=>{const g=u?Object.assign(u,{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 lVt(w,d==null?void 0:d.callee),w}return b.value},hMe=n=>async(i,s,u,d)=>{const g=u?Object.assign(u,{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 lVt(w,d==null?void 0:d.callee),w}return b.value},xae=n=>(i,s,u)=>{const d=u?{...u,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??hVt)(g.issues.map(b=>pN(b,d,hN())))}:{success:!0,data:g.value}},UUn=xae(pVt),kae=n=>async(i,s,u)=>{const d=u?Object.assign(u,{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}},HUn=kae(pVt),zUn=n=>(i,s,u)=>{const d=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return fMe(n)(i,s,d)},GUn=n=>(i,s,u)=>fMe(n)(i,s,u),qUn=n=>async(i,s,u)=>{const d=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return hMe(n)(i,s,d)},VUn=n=>async(i,s,u)=>hMe(n)(i,s,u),WUn=n=>(i,s,u)=>{const d=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return xae(n)(i,s,d)},KUn=n=>(i,s,u)=>xae(n)(i,s,u),YUn=n=>async(i,s,u)=>{const d=u?Object.assign(u,{direction:"backward"}):{direction:"backward"};return kae(n)(i,s,d)},JUn=n=>async(i,s,u)=>kae(n)(i,s,u),XUn=/^[cC][^\s-]{8,}$/,ZUn=/^[0-9a-z]+$/,QUn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,eHn=/^[0-9a-vA-V]{20}$/,tHn=/^[A-Za-z0-9]{27}$/,nHn=/^[a-zA-Z0-9_-]{21}$/,rHn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,iHn=/^([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})$/,h8t=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)$/,oHn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,sHn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function aHn(){return new RegExp(sHn,"u")}const uHn=/^(?:(?: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])$/,cHn=/^(([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}|:))$/,lHn=/^((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])$/,dHn=/^(([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])$/,fHn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,gVt=/^[A-Za-z0-9_-]*$/,hHn=/^\+[1-9]\d{6,14}$/,bVt="(?:(?:\\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])))",pHn=new RegExp(`^${bVt}$`);function mVt(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 gHn(n){return new RegExp(`^${mVt(n)}$`)}function bHn(n){const i=mVt({precision:n.precision}),s=["Z"];n.local&&s.push(""),n.offset&&s.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const u=`${i}(?:${s.join("|")})`;return new RegExp(`^${bVt}T(?:${u})$`)}const mHn=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}$`)},wHn=/^-?\d+$/,wVt=/^-?\d+(?:\.\d+)?$/,yHn=/^(?:true|false)$/i,vHn=/^null$/i,EHn=/^[^A-Z]*$/,SHn=/^[^a-z]*$/,hb=cn("$ZodCheck",(n,i)=>{var s;n._zod??(n._zod={}),n._zod.def=i,(s=n._zod).onattach??(s.onattach=[])}),yVt={number:"number",bigint:"bigint",object:"date"},vVt=cn("$ZodCheckLessThan",(n,i)=>{hb.init(n,i);const s=yVt[typeof i.value];n._zod.onattach.push(u=>{const d=u._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=u=>{(i.inclusive?u.value<=i.value:u.value<i.value)||u.issues.push({origin:s,code:"too_big",maximum:typeof i.value=="object"?i.value.getTime():i.value,input:u.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),EVt=cn("$ZodCheckGreaterThan",(n,i)=>{hb.init(n,i);const s=yVt[typeof i.value];n._zod.onattach.push(u=>{const d=u._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=u=>{(i.inclusive?u.value>=i.value:u.value>i.value)||u.issues.push({origin:s,code:"too_small",minimum:typeof i.value=="object"?i.value.getTime():i.value,input:u.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),THn=cn("$ZodCheckMultipleOf",(n,i)=>{hb.init(n,i),n._zod.onattach.push(s=>{var u;(u=s._zod.bag).multipleOf??(u.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):xUn(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})}}),AHn=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"),u=s?"int":"number",[d,g]=RUn[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=wHn)}),n._zod.check=w=>{const E=w.value;if(s){if(!Number.isInteger(E)){w.issues.push({expected:u,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:u,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:u,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})}}),_Hn=cn("$ZodCheckMaxLength",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=u=>{const d=u.value;return!cMe(d)&&d.length!==void 0}),n._zod.onattach.push(u=>{const d=u._zod.bag.maximum??Number.POSITIVE_INFINITY;i.maximum<d&&(u._zod.bag.maximum=i.maximum)}),n._zod.check=u=>{const d=u.value;if(d.length<=i.maximum)return;const b=dMe(d);u.issues.push({origin:b,code:"too_big",maximum:i.maximum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),xHn=cn("$ZodCheckMinLength",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=u=>{const d=u.value;return!cMe(d)&&d.length!==void 0}),n._zod.onattach.push(u=>{const d=u._zod.bag.minimum??Number.NEGATIVE_INFINITY;i.minimum>d&&(u._zod.bag.minimum=i.minimum)}),n._zod.check=u=>{const d=u.value;if(d.length>=i.minimum)return;const b=dMe(d);u.issues.push({origin:b,code:"too_small",minimum:i.minimum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),kHn=cn("$ZodCheckLengthEquals",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=u=>{const d=u.value;return!cMe(d)&&d.length!==void 0}),n._zod.onattach.push(u=>{const d=u._zod.bag;d.minimum=i.length,d.maximum=i.length,d.length=i.length}),n._zod.check=u=>{const d=u.value,g=d.length;if(g===i.length)return;const b=dMe(d),w=g>i.length;u.issues.push({origin:b,...w?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},inclusive:!0,exact:!0,input:u.value,inst:n,continue:!i.abort})}}),Nae=cn("$ZodCheckStringFormat",(n,i)=>{var s,u;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})}):(u=n._zod).check??(u.check=()=>{})}),NHn=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})}}),CHn=cn("$ZodCheckLowerCase",(n,i)=>{i.pattern??(i.pattern=EHn),Nae.init(n,i)}),IHn=cn("$ZodCheckUpperCase",(n,i)=>{i.pattern??(i.pattern=SHn),Nae.init(n,i)}),RHn=cn("$ZodCheckIncludes",(n,i)=>{hb.init(n,i);const s=CM(i.includes),u=new RegExp(typeof i.position=="number"?`^.{${i.position}}${s}`:s);i.pattern=u,n._zod.onattach.push(d=>{const g=d._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(u)}),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})}}),OHn=cn("$ZodCheckStartsWith",(n,i)=>{hb.init(n,i);const s=new RegExp(`^${CM(i.prefix)}.*`);i.pattern??(i.pattern=s),n._zod.onattach.push(u=>{const d=u._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=u=>{u.value.startsWith(i.prefix)||u.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:i.prefix,input:u.value,inst:n,continue:!i.abort})}}),LHn=cn("$ZodCheckEndsWith",(n,i)=>{hb.init(n,i);const s=new RegExp(`.*${CM(i.suffix)}$`);i.pattern??(i.pattern=s),n._zod.onattach.push(u=>{const d=u._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=u=>{u.value.endsWith(i.suffix)||u.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:i.suffix,input:u.value,inst:n,continue:!i.abort})}}),DHn=cn("$ZodCheckOverwrite",(n,i)=>{hb.init(n,i),n._zod.check=s=>{s.value=i.tx(s.value)}});class MHn{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 u=i.split(`
`).filter(b=>b),d=Math.min(...u.map(b=>b.length-b.trimStart().length)),g=u.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 PHn={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=PHn;const u=[...n._zod.def.checks??[]];n._zod.traits.has("$ZodCheck")&&u.unshift(n);for(const g of u)for(const b of g._zod.onattach)b(n);if(u.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,D=C._zod.check(w);if(D instanceof Promise&&(S==null?void 0:S.async)===!1)throw new sM;if(A||D instanceof Promise)A=(A??Promise.resolve()).then(async()=>{await D,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,u,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,u,E))}return g(S,u,E)}}Ys(n,"~standard",()=>({validate:g=>{var b;try{const w=UUn(n,g);return w.success?{value:w.data}:{issues:(b=w.error)==null?void 0:b.issues}}catch{return HUn(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}))}),pMe=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()??mHn(n._zod.bag),n._zod.parse=(u,d)=>{if(i.coerce)try{u.value=String(u.value)}catch{}return typeof u.value=="string"||u.issues.push({expected:"string",code:"invalid_type",input:u.value,inst:n}),u}}),Pc=cn("$ZodStringFormat",(n,i)=>{Nae.init(n,i),pMe.init(n,i)}),jHn=cn("$ZodGUID",(n,i)=>{i.pattern??(i.pattern=iHn),Pc.init(n,i)}),FHn=cn("$ZodUUID",(n,i)=>{if(i.version){const u={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[i.version];if(u===void 0)throw new Error(`Invalid UUID version: "${i.version}"`);i.pattern??(i.pattern=h8t(u))}else i.pattern??(i.pattern=h8t());Pc.init(n,i)}),$Hn=cn("$ZodEmail",(n,i)=>{i.pattern??(i.pattern=oHn),Pc.init(n,i)}),BHn=cn("$ZodURL",(n,i)=>{Pc.init(n,i),n._zod.check=s=>{try{const u=s.value.trim(),d=new URL(u);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=u;return}catch{s.issues.push({code:"invalid_format",format:"url",input:s.value,inst:n,continue:!i.abort})}}}),UHn=cn("$ZodEmoji",(n,i)=>{i.pattern??(i.pattern=aHn()),Pc.init(n,i)}),HHn=cn("$ZodNanoID",(n,i)=>{i.pattern??(i.pattern=nHn),Pc.init(n,i)}),zHn=cn("$ZodCUID",(n,i)=>{i.pattern??(i.pattern=XUn),Pc.init(n,i)}),GHn=cn("$ZodCUID2",(n,i)=>{i.pattern??(i.pattern=ZUn),Pc.init(n,i)}),qHn=cn("$ZodULID",(n,i)=>{i.pattern??(i.pattern=QUn),Pc.init(n,i)}),VHn=cn("$ZodXID",(n,i)=>{i.pattern??(i.pattern=eHn),Pc.init(n,i)}),WHn=cn("$ZodKSUID",(n,i)=>{i.pattern??(i.pattern=tHn),Pc.init(n,i)}),KHn=cn("$ZodISODateTime",(n,i)=>{i.pattern??(i.pattern=bHn(i)),Pc.init(n,i)}),YHn=cn("$ZodISODate",(n,i)=>{i.pattern??(i.pattern=pHn),Pc.init(n,i)}),JHn=cn("$ZodISOTime",(n,i)=>{i.pattern??(i.pattern=gHn(i)),Pc.init(n,i)}),XHn=cn("$ZodISODuration",(n,i)=>{i.pattern??(i.pattern=rHn),Pc.init(n,i)}),ZHn=cn("$ZodIPv4",(n,i)=>{i.pattern??(i.pattern=uHn),Pc.init(n,i),n._zod.bag.format="ipv4"}),QHn=cn("$ZodIPv6",(n,i)=>{i.pattern??(i.pattern=cHn),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})}}}),ezn=cn("$ZodCIDRv4",(n,i)=>{i.pattern??(i.pattern=lHn),Pc.init(n,i)}),tzn=cn("$ZodCIDRv6",(n,i)=>{i.pattern??(i.pattern=dHn),Pc.init(n,i),n._zod.check=s=>{const u=s.value.split("/");try{if(u.length!==2)throw new Error;const[d,g]=u;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 SVt(n){if(n==="")return!0;if(n.length%4!==0)return!1;try{return atob(n),!0}catch{return!1}}const nzn=cn("$ZodBase64",(n,i)=>{i.pattern??(i.pattern=fHn),Pc.init(n,i),n._zod.bag.contentEncoding="base64",n._zod.check=s=>{SVt(s.value)||s.issues.push({code:"invalid_format",format:"base64",input:s.value,inst:n,continue:!i.abort})}});function rzn(n){if(!gVt.test(n))return!1;const i=n.replace(/[-_]/g,u=>u==="-"?"+":"/"),s=i.padEnd(Math.ceil(i.length/4)*4,"=");return SVt(s)}const izn=cn("$ZodBase64URL",(n,i)=>{i.pattern??(i.pattern=gVt),Pc.init(n,i),n._zod.bag.contentEncoding="base64url",n._zod.check=s=>{rzn(s.value)||s.issues.push({code:"invalid_format",format:"base64url",input:s.value,inst:n,continue:!i.abort})}}),ozn=cn("$ZodE164",(n,i)=>{i.pattern??(i.pattern=hHn),Pc.init(n,i)});function szn(n,i=null){try{const s=n.split(".");if(s.length!==3)return!1;const[u]=s;if(!u)return!1;const d=JSON.parse(atob(u));return!("typ"in d&&(d==null?void 0:d.typ)!=="JWT"||!d.alg||i&&(!("alg"in d)||d.alg!==i))}catch{return!1}}const azn=cn("$ZodJWT",(n,i)=>{Pc.init(n,i),n._zod.check=s=>{szn(s.value,i.alg)||s.issues.push({code:"invalid_format",format:"jwt",input:s.value,inst:n,continue:!i.abort})}}),TVt=cn("$ZodNumber",(n,i)=>{Ku.init(n,i),n._zod.pattern=n._zod.bag.pattern??wVt,n._zod.parse=(s,u)=>{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}}),uzn=cn("$ZodNumberFormat",(n,i)=>{AHn.init(n,i),TVt.init(n,i)}),czn=cn("$ZodBoolean",(n,i)=>{Ku.init(n,i),n._zod.pattern=yHn,n._zod.parse=(s,u)=>{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}}),lzn=cn("$ZodNull",(n,i)=>{Ku.init(n,i),n._zod.pattern=vHn,n._zod.values=new Set([null]),n._zod.parse=(s,u)=>{const d=s.value;return d===null||s.issues.push({expected:"null",code:"invalid_type",input:d,inst:n}),s}}),dzn=cn("$ZodAny",(n,i)=>{Ku.init(n,i),n._zod.parse=s=>s}),fzn=cn("$ZodUnknown",(n,i)=>{Ku.init(n,i),n._zod.parse=s=>s}),hzn=cn("$ZodNever",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,u)=>(s.issues.push({expected:"never",code:"invalid_type",input:s.value,inst:n}),s)});function p8t(n,i,s){n.issues.length&&i.issues.push(...q5(s,n.issues)),i.value[s]=n.value}const pzn=cn("$ZodArray",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,u)=>{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:[]},u);E instanceof Promise?g.push(E.then(S=>p8t(S,s,b))):p8t(E,s,b)}return g.length?Promise.all(g).then(()=>s):s}});function ise(n,i,s,u,d){if(n.issues.length){if(d&&!(s in u))return;i.issues.push(...q5(s,n.issues))}n.value===void 0?s in u&&(i.value[s]=void 0):i.value[s]=n.value}function AVt(n){var u,d,g,b;const i=Object.keys(n.shape);for(const w of i)if(!((b=(g=(d=(u=n.shape)==null?void 0:u[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=IUn(n.shape);return{...n,keys:i,keySet:new Set(i),numKeys:i.length,optionalKeys:new Set(s)}}function _Vt(n,i,s,u,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:[]},u);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 gzn=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 u=_ae(()=>AVt(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=oz,g=i.catchall;let b;n._zod.parse=(w,E)=>{b??(b=u.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],D=R._zod.optout==="optional",L=R._zod.run({value:S[C],issues:[]},E);L instanceof Promise?x.push(L.then(B=>ise(B,w,C,S,D))):ise(L,w,C,S,D)}return g?_Vt(x,S,w,E,u.value,n):x.length?Promise.all(x).then(()=>w):w}}),bzn=cn("$ZodObjectJIT",(n,i)=>{gzn.init(n,i);const s=n._zod.parse,u=_ae(()=>AVt(i)),d=C=>{var P;const R=new MHn(["shape","payload","ctx"]),D=u.value,L=G=>{const ee=f8t(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 D.keys)B[G]=`key_${$++}`;R.write("const newResult = {};");for(const G of D.keys){const ee=B[G],ne=f8t(G),Q=C[G],ie=((P=Q==null?void 0:Q._zod)==null?void 0:P.optout)==="optional";R.write(`const ${ee} = ${L(G)};`),ie?R.write(`
if (${ee}.issues.length) {
if (${ne} in input) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${ne}, ...iss.path] : [${ne}]
})));
}
}
if (${ee}.value === undefined) {
if (${ne} in input) {
newResult[${ne}] = undefined;
}
} else {
newResult[${ne}] = ${ee}.value;
}
`):R.write(`
if (${ee}.issues.length) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${ne}, ...iss.path] : [${ne}]
})));
}
if (${ee}.value === undefined) {
if (${ne} in input) {
newResult[${ne}] = undefined;
}
} else {
newResult[${ne}] = ${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=oz,w=!uVt.jitless,S=w&&NUn.value,x=i.catchall;let A;n._zod.parse=(C,R)=>{A??(A=u.value);const D=C.value;return b(D)?w&&S&&(R==null?void 0:R.async)===!1&&R.jitless!==!0?(g||(g=d(i.shape)),C=g(C,R),x?_Vt([],D,C,R,A,n):C):s(C,R):(C.issues.push({expected:"object",code:"invalid_type",input:D,inst:n}),C)}});function g8t(n,i,s,u){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,u,hN())))}),i)}const xVt=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=>lMe(g.source)).join("|")})$`)}});const s=i.options.length===1,u=i.options[0]._zod.run;n._zod.parse=(d,g)=>{if(s)return u(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=>g8t(E,d,n,g)):g8t(w,d,n,g)}}),mzn=cn("$ZodDiscriminatedUnion",(n,i)=>{i.inclusive=!1,xVt.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 u=_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(!oz(b))return d.issues.push({code:"invalid_type",expected:"object",input:b,inst:n}),d;const w=u.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)}}),wzn=cn("$ZodIntersection",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,u)=>{const d=s.value,g=i.left._zod.run({value:d,issues:[]},u),b=i.right._zod.run({value:d,issues:[]},u);return g instanceof Promise||b instanceof Promise?Promise.all([g,b]).then(([E,S])=>b8t(s,E,S)):b8t(s,g,b)}});function MLe(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),u=Object.keys(n).filter(g=>s.indexOf(g)!==-1),d={...n,...i};for(const g of u){const b=MLe(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 u=0;u<n.length;u++){const d=n[u],g=i[u],b=MLe(d,g);if(!b.valid)return{valid:!1,mergeErrorPath:[u,...b.mergeErrorPath]};s.push(b.data)}return{valid:!0,data:s}}return{valid:!1,mergeErrorPath:[]}}function b8t(n,i,s){const u=new Map;let d;for(const w of i.issues)if(w.code==="unrecognized_keys"){d??(d=w);for(const E of w.keys)u.has(E)||u.set(E,{}),u.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)u.has(E)||u.set(E,{}),u.get(E).r=!0;else n.issues.push(w);const g=[...u].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=MLe(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 yzn=cn("$ZodRecord",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,u)=>{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:[]},u);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:[]},u);if(E instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof w=="string"&&wVt.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:[]},u);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,u,hN())),input:w,path:[w],inst:n});continue}const x=i.valueType._zod.run({value:d[w],issues:[]},u);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}}),vzn=cn("$ZodEnum",(n,i)=>{Ku.init(n,i);const s=cVt(i.entries),u=new Set(s);n._zod.values=u,n._zod.pattern=new RegExp(`^(${s.filter(d=>CUn.has(typeof d)).map(d=>typeof d=="string"?CM(d):d.toString()).join("|")})$`),n._zod.parse=(d,g)=>{const b=d.value;return u.has(b)||d.issues.push({code:"invalid_value",values:s,input:b,inst:n}),d}}),Ezn=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(u=>typeof u=="string"?CM(u):u?CM(u.toString()):String(u)).join("|")})$`),n._zod.parse=(u,d)=>{const g=u.value;return s.has(g)||u.issues.push({code:"invalid_value",values:i.values,input:g,inst:n}),u}}),Szn=cn("$ZodTransform",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,u)=>{if(u.direction==="backward")throw new aVt(n.constructor.name);const d=i.transform(s.value,s);if(u.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 m8t(n,i){return n.issues.length&&i===void 0?{issues:[],value:void 0}:n}const kVt=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(`^(${lMe(s.source)})?$`):void 0}),n._zod.parse=(s,u)=>{if(i.innerType._zod.optin==="optional"){const d=i.innerType._zod.run(s,u);return d instanceof Promise?d.then(g=>m8t(g,s.value)):m8t(d,s.value)}return s.value===void 0?s:i.innerType._zod.run(s,u)}}),Tzn=cn("$ZodExactOptional",(n,i)=>{kVt.init(n,i),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"pattern",()=>i.innerType._zod.pattern),n._zod.parse=(s,u)=>i.innerType._zod.run(s,u)}),Azn=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(`^(${lMe(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,u)=>s.value===null?s:i.innerType._zod.run(s,u)}),_zn=cn("$ZodDefault",(n,i)=>{Ku.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,u)=>{if(u.direction==="backward")return i.innerType._zod.run(s,u);if(s.value===void 0)return s.value=i.defaultValue,s;const d=i.innerType._zod.run(s,u);return d instanceof Promise?d.then(g=>w8t(g,i)):w8t(d,i)}});function w8t(n,i){return n.value===void 0&&(n.value=i.defaultValue),n}const xzn=cn("$ZodPrefault",(n,i)=>{Ku.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,u)=>(u.direction==="backward"||s.value===void 0&&(s.value=i.defaultValue),i.innerType._zod.run(s,u))}),kzn=cn("$ZodNonOptional",(n,i)=>{Ku.init(n,i),Ys(n._zod,"values",()=>{const s=i.innerType._zod.values;return s?new Set([...s].filter(u=>u!==void 0)):void 0}),n._zod.parse=(s,u)=>{const d=i.innerType._zod.run(s,u);return d instanceof Promise?d.then(g=>y8t(g,n)):y8t(d,n)}});function y8t(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 Nzn=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,u)=>{if(u.direction==="backward")return i.innerType._zod.run(s,u);const d=i.innerType._zod.run(s,u);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,u,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,u,hN()))},input:s.value}),s.issues=[]),s)}}),Czn=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,u)=>{if(u.direction==="backward"){const g=i.out._zod.run(s,u);return g instanceof Promise?g.then(b=>Iie(b,i.in,u)):Iie(g,i.in,u)}const d=i.in._zod.run(s,u);return d instanceof Promise?d.then(g=>Iie(g,i.out,u)):Iie(d,i.out,u)}});function Iie(n,i,s){return n.issues.length?(n.aborted=!0,n):i._zod.run({value:n.value,issues:n.issues},s)}const Izn=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,u;return(u=(s=i.innerType)==null?void 0:s._zod)==null?void 0:u.optin}),Ys(n._zod,"optout",()=>{var s,u;return(u=(s=i.innerType)==null?void 0:s._zod)==null?void 0:u.optout}),n._zod.parse=(s,u)=>{if(u.direction==="backward")return i.innerType._zod.run(s,u);const d=i.innerType._zod.run(s,u);return d instanceof Promise?d.then(v8t):v8t(d)}});function v8t(n){return n.value=Object.freeze(n.value),n}const Rzn=cn("$ZodLazy",(n,i)=>{Ku.init(n,i),Ys(n._zod,"innerType",()=>i.getter()),Ys(n._zod,"pattern",()=>{var s,u;return(u=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:u.pattern}),Ys(n._zod,"propValues",()=>{var s,u;return(u=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:u.propValues}),Ys(n._zod,"optin",()=>{var s,u;return((u=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:u.optin)??void 0}),Ys(n._zod,"optout",()=>{var s,u;return((u=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:u.optout)??void 0}),n._zod.parse=(s,u)=>n._zod.innerType._zod.run(s,u)}),Ozn=cn("$ZodCustom",(n,i)=>{hb.init(n,i),Ku.init(n,i),n._zod.parse=(s,u)=>s,n._zod.check=s=>{const u=s.value,d=i.fn(u);if(d instanceof Promise)return d.then(g=>E8t(g,s,u,n));E8t(d,s,u,n)}});function E8t(n,i,s,u){if(!n){const d={code:"custom",input:s,inst:u,path:[...u._zod.def.path??[]],continue:!u._zod.def.abort};u._zod.def.params&&(d.params=u._zod.def.params),i.issues.push(sz(d))}}var S8t;class Lzn{constructor(){this._map=new WeakMap,this._idmap=new Map}add(i,...s){const u=s[0];return this._map.set(i,u),u&&typeof u=="object"&&"id"in u&&this._idmap.set(u.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 u={...this.get(s)??{}};delete u.id;const d={...u,...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 Dzn(){return new Lzn}(S8t=globalThis).__zod_globalRegistry??(S8t.__zod_globalRegistry=Dzn());const ZU=globalThis.__zod_globalRegistry;function Mzn(n,i){return new n({type:"string",...wi(i)})}function Pzn(n,i){return new n({type:"string",format:"email",check:"string_format",abort:!1,...wi(i)})}function T8t(n,i){return new n({type:"string",format:"guid",check:"string_format",abort:!1,...wi(i)})}function jzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,...wi(i)})}function Fzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...wi(i)})}function $zn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...wi(i)})}function Bzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...wi(i)})}function Uzn(n,i){return new n({type:"string",format:"url",check:"string_format",abort:!1,...wi(i)})}function Hzn(n,i){return new n({type:"string",format:"emoji",check:"string_format",abort:!1,...wi(i)})}function zzn(n,i){return new n({type:"string",format:"nanoid",check:"string_format",abort:!1,...wi(i)})}function Gzn(n,i){return new n({type:"string",format:"cuid",check:"string_format",abort:!1,...wi(i)})}function qzn(n,i){return new n({type:"string",format:"cuid2",check:"string_format",abort:!1,...wi(i)})}function Vzn(n,i){return new n({type:"string",format:"ulid",check:"string_format",abort:!1,...wi(i)})}function Wzn(n,i){return new n({type:"string",format:"xid",check:"string_format",abort:!1,...wi(i)})}function Kzn(n,i){return new n({type:"string",format:"ksuid",check:"string_format",abort:!1,...wi(i)})}function Yzn(n,i){return new n({type:"string",format:"ipv4",check:"string_format",abort:!1,...wi(i)})}function Jzn(n,i){return new n({type:"string",format:"ipv6",check:"string_format",abort:!1,...wi(i)})}function Xzn(n,i){return new n({type:"string",format:"cidrv4",check:"string_format",abort:!1,...wi(i)})}function Zzn(n,i){return new n({type:"string",format:"cidrv6",check:"string_format",abort:!1,...wi(i)})}function Qzn(n,i){return new n({type:"string",format:"base64",check:"string_format",abort:!1,...wi(i)})}function eGn(n,i){return new n({type:"string",format:"base64url",check:"string_format",abort:!1,...wi(i)})}function tGn(n,i){return new n({type:"string",format:"e164",check:"string_format",abort:!1,...wi(i)})}function nGn(n,i){return new n({type:"string",format:"jwt",check:"string_format",abort:!1,...wi(i)})}function rGn(n,i){return new n({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...wi(i)})}function iGn(n,i){return new n({type:"string",format:"date",check:"string_format",...wi(i)})}function oGn(n,i){return new n({type:"string",format:"time",check:"string_format",precision:null,...wi(i)})}function sGn(n,i){return new n({type:"string",format:"duration",check:"string_format",...wi(i)})}function aGn(n,i){return new n({type:"number",checks:[],...wi(i)})}function uGn(n,i){return new n({type:"number",check:"number_format",abort:!1,format:"safeint",...wi(i)})}function cGn(n,i){return new n({type:"boolean",...wi(i)})}function lGn(n,i){return new n({type:"null",...wi(i)})}function dGn(n){return new n({type:"any"})}function fGn(n){return new n({type:"unknown"})}function hGn(n,i){return new n({type:"never",...wi(i)})}function A8t(n,i){return new vVt({check:"less_than",...wi(i),value:n,inclusive:!1})}function aIe(n,i){return new vVt({check:"less_than",...wi(i),value:n,inclusive:!0})}function _8t(n,i){return new EVt({check:"greater_than",...wi(i),value:n,inclusive:!1})}function uIe(n,i){return new EVt({check:"greater_than",...wi(i),value:n,inclusive:!0})}function x8t(n,i){return new THn({check:"multiple_of",...wi(i),value:n})}function NVt(n,i){return new _Hn({check:"max_length",...wi(i),maximum:n})}function ose(n,i){return new xHn({check:"min_length",...wi(i),minimum:n})}function CVt(n,i){return new kHn({check:"length_equals",...wi(i),length:n})}function pGn(n,i){return new NHn({check:"string_format",format:"regex",...wi(i),pattern:n})}function gGn(n){return new CHn({check:"string_format",format:"lowercase",...wi(n)})}function bGn(n){return new IHn({check:"string_format",format:"uppercase",...wi(n)})}function mGn(n,i){return new RHn({check:"string_format",format:"includes",...wi(i),includes:n})}function wGn(n,i){return new OHn({check:"string_format",format:"starts_with",...wi(i),prefix:n})}function yGn(n,i){return new LHn({check:"string_format",format:"ends_with",...wi(i),suffix:n})}function UM(n){return new DHn({check:"overwrite",tx:n})}function vGn(n){return UM(i=>i.normalize(n))}function EGn(){return UM(n=>n.trim())}function SGn(){return UM(n=>n.toLowerCase())}function TGn(){return UM(n=>n.toUpperCase())}function AGn(){return UM(n=>kUn(n))}function _Gn(n,i,s){return new n({type:"array",element:i,...wi(s)})}function xGn(n,i,s){return new n({type:"custom",check:"custom",fn:i,...wi(s)})}function kGn(n){const i=NGn(s=>(s.addIssue=u=>{if(typeof u=="string")s.issues.push(sz(u,s.value,i._zod.def));else{const d=u;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(sz(d))}},n(s.value,s)));return i}function NGn(n,i){const s=new hb({check:"custom",...wi(i)});return s._zod.check=n,s}function IVt(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 u;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 D=b.schema,L=i.processors[d.type];if(!L)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${d.type}`);L(n,i,D,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&&((u=b.schema).default??(u.default=b.schema._prefault)),delete b.schema._prefault,i.seen.get(n).schema}function RVt(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 u=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=u.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.`);u.set(A,x[0])}}const d=x=>{var L;const A=n.target==="draft-2020-12"?"$defs":"definitions";if(n.external){const B=(L=n.external.registry.get(x[0]))==null?void 0:L.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}/`,D=x[1].schema.id??`__schema${n.counter++}`;return{defId:D,ref:R+D}},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 D=A.schema;for(const L in D)delete D[L];D.$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 OVt(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 u=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){u(R);const L=n.seen.get(R),B=L.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 L.def&&JSON.stringify(A[j])===JSON.stringify(L.def[j])&&delete A[j]}const D=S._zod.parent;if(D&&D!==R){u(D);const L=n.seen.get(D);if(L!=null&&L.schema.$ref&&(A.$ref=L.schema.$ref,L.def))for(const B in A)B==="$ref"||B==="allOf"||B in L.def&&JSON.stringify(A[B])===JSON.stringify(L.def[B])&&delete A[B]}n.override({zodSchema:S,jsonSchema:A,path:x.path??[]})};for(const S of[...n.seen.entries()].reverse())u(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 u=n._zod.def;if(u.type==="transform")return!0;if(u.type==="array")return $g(u.element,s);if(u.type==="set")return $g(u.valueType,s);if(u.type==="lazy")return $g(u.getter(),s);if(u.type==="promise"||u.type==="optional"||u.type==="nonoptional"||u.type==="nullable"||u.type==="readonly"||u.type==="default"||u.type==="prefault")return $g(u.innerType,s);if(u.type==="intersection")return $g(u.left,s)||$g(u.right,s);if(u.type==="record"||u.type==="map")return $g(u.keyType,s)||$g(u.valueType,s);if(u.type==="pipe")return $g(u.in,s)||$g(u.out,s);if(u.type==="object"){for(const d in u.shape)if($g(u.shape[d],s))return!0;return!1}if(u.type==="union"){for(const d of u.options)if($g(d,s))return!0;return!1}if(u.type==="tuple"){for(const d of u.items)if($g(d,s))return!0;return!!(u.rest&&$g(u.rest,s))}return!1}const CGn=(n,i={})=>s=>{const u=IVt({...s,processors:i});return gd(n,u),RVt(u,n),OVt(u,n)},sse=(n,i,s={})=>u=>{const{libraryOptions:d,target:g}=u??{},b=IVt({...d??{},target:g,io:i,processors:s});return gd(n,b),RVt(b,n),OVt(b,n)},IGn={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},RGn=(n,i,s,u)=>{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=IGn[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}))])}},OGn=(n,i,s,u)=>{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)},LGn=(n,i,s,u)=>{s.type="boolean"},DGn=(n,i,s,u)=>{i.target==="openapi-3.0"?(s.type="string",s.nullable=!0,s.enum=[null]):s.type="null"},MGn=(n,i,s,u)=>{s.not={}},PGn=(n,i,s,u)=>{},jGn=(n,i,s,u)=>{},FGn=(n,i,s,u)=>{const d=n._zod.def,g=cVt(d.entries);g.every(b=>typeof b=="number")&&(s.type="number"),g.every(b=>typeof b=="string")&&(s.type="string"),s.enum=g},$Gn=(n,i,s,u)=>{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},BGn=(n,i,s,u)=>{if(i.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},UGn=(n,i,s,u)=>{if(i.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},HGn=(n,i,s,u)=>{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,{...u,path:[...u.path,"items"]})},zGn=(n,i,s,u)=>{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,{...u,path:[...u.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,{...u,path:[...u.path,"additionalProperties"]})):i.io==="output"&&(d.additionalProperties=!1)},GGn=(n,i,s,u)=>{const d=n._zod.def,g=d.inclusive===!1,b=d.options.map((w,E)=>gd(w,i,{...u,path:[...u.path,g?"oneOf":"anyOf",E]}));g?s.oneOf=b:s.anyOf=b},qGn=(n,i,s,u)=>{const d=n._zod.def,g=gd(d.left,i,{...u,path:[...u.path,"allOf",0]}),b=gd(d.right,i,{...u,path:[...u.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},VGn=(n,i,s,u)=>{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,{...u,path:[...u.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,{...u,path:[...u.path,"propertyNames"]})),d.additionalProperties=gd(g.valueType,i,{...u,path:[...u.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)}},WGn=(n,i,s,u)=>{const d=n._zod.def,g=gd(d.innerType,i,u),b=i.seen.get(n);i.target==="openapi-3.0"?(b.ref=d.innerType,s.nullable=!0):s.anyOf=[g,{type:"null"}]},KGn=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);const g=i.seen.get(n);g.ref=d.innerType},YGn=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);const g=i.seen.get(n);g.ref=d.innerType,s.default=JSON.parse(JSON.stringify(d.defaultValue))},JGn=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);const g=i.seen.get(n);g.ref=d.innerType,i.io==="input"&&(s._prefault=JSON.parse(JSON.stringify(d.defaultValue)))},XGn=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);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},ZGn=(n,i,s,u)=>{const d=n._zod.def,g=i.io==="input"?d.in._zod.def.type==="transform"?d.out:d.in:d.out;gd(g,i,u);const b=i.seen.get(n);b.ref=g},QGn=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);const g=i.seen.get(n);g.ref=d.innerType,s.readOnly=!0},LVt=(n,i,s,u)=>{const d=n._zod.def;gd(d.innerType,i,u);const g=i.seen.get(n);g.ref=d.innerType},eqn=(n,i,s,u)=>{const d=n._zod.innerType;gd(d,i,u);const g=i.seen.get(n);g.ref=d},tqn=cn("ZodISODateTime",(n,i)=>{KHn.init(n,i),hl.init(n,i)});function nqn(n){return rGn(tqn,n)}const rqn=cn("ZodISODate",(n,i)=>{YHn.init(n,i),hl.init(n,i)});function iqn(n){return iGn(rqn,n)}const oqn=cn("ZodISOTime",(n,i)=>{JHn.init(n,i),hl.init(n,i)});function sqn(n){return oGn(oqn,n)}const aqn=cn("ZodISODuration",(n,i)=>{XHn.init(n,i),hl.init(n,i)});function uqn(n){return sGn(aqn,n)}const DVt=(n,i)=>{hVt.init(n,i),n.name="ZodError",Object.defineProperties(n,{format:{value:s=>BUn(n,s)},flatten:{value:s=>$Un(n,s)},addIssue:{value:s=>{n.issues.push(s),n.message=JSON.stringify(n.issues,DLe,2)}},addIssues:{value:s=>{n.issues.push(...s),n.message=JSON.stringify(n.issues,DLe,2)}},isEmpty:{get(){return n.issues.length===0}}})},cqn=cn("ZodError",DVt),Nw=cn("ZodError",DVt,{Parent:Error}),lqn=fMe(Nw),dqn=hMe(Nw),fqn=xae(Nw),hqn=kae(Nw),pqn=zUn(Nw),gqn=GUn(Nw),bqn=qUn(Nw),mqn=VUn(Nw),wqn=WUn(Nw),yqn=KUn(Nw),vqn=YUn(Nw),Eqn=JUn(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=CGn(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(u=>typeof u=="function"?{_zod:{check:u,def:{check:"custom"},onattach:[]}}:u)]}),{parent:!0}),n.with=n.check,n.clone=(s,u)=>AN(n,s,u),n.brand=()=>n,n.register=(s,u)=>(s.add(n,u),n),n.parse=(s,u)=>lqn(n,s,u,{callee:n.parse}),n.safeParse=(s,u)=>fqn(n,s,u),n.parseAsync=async(s,u)=>dqn(n,s,u,{callee:n.parseAsync}),n.safeParseAsync=async(s,u)=>hqn(n,s,u),n.spa=n.safeParseAsync,n.encode=(s,u)=>pqn(n,s,u),n.decode=(s,u)=>gqn(n,s,u),n.encodeAsync=async(s,u)=>bqn(n,s,u),n.decodeAsync=async(s,u)=>mqn(n,s,u),n.safeEncode=(s,u)=>wqn(n,s,u),n.safeDecode=(s,u)=>yqn(n,s,u),n.safeEncodeAsync=async(s,u)=>vqn(n,s,u),n.safeDecodeAsync=async(s,u)=>Eqn(n,s,u),n.refine=(s,u)=>n.check(wVn(s,u)),n.superRefine=s=>n.check(yVn(s)),n.overwrite=s=>n.check(UM(s)),n.optional=()=>I8t(n),n.exactOptional=()=>iVn(n),n.nullable=()=>R8t(n),n.nullish=()=>I8t(R8t(n)),n.nonoptional=s=>lVn(n,s),n.array=()=>cs(n),n.or=s=>Yi([n,s]),n.and=s=>Zqn(n,s),n.transform=s=>O8t(n,nVn(s)),n.default=s=>aVn(n,s),n.prefault=s=>cVn(n,s),n.catch=s=>fVn(n,s),n.pipe=s=>O8t(n,s),n.readonly=()=>gVn(n),n.describe=s=>{const u=n.clone();return ZU.add(u,{description:s}),u},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 u=n.clone();return ZU.add(u,s[0]),u},n.isOptional=()=>n.safeParse(void 0).success,n.isNullable=()=>n.safeParse(null).success,n.apply=s=>s(n),n)),MVt=cn("_ZodString",(n,i)=>{pMe.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(u,d,g)=>RGn(n,u,d);const s=n._zod.bag;n.format=s.format??null,n.minLength=s.minimum??null,n.maxLength=s.maximum??null,n.regex=(...u)=>n.check(pGn(...u)),n.includes=(...u)=>n.check(mGn(...u)),n.startsWith=(...u)=>n.check(wGn(...u)),n.endsWith=(...u)=>n.check(yGn(...u)),n.min=(...u)=>n.check(ose(...u)),n.max=(...u)=>n.check(NVt(...u)),n.length=(...u)=>n.check(CVt(...u)),n.nonempty=(...u)=>n.check(ose(1,...u)),n.lowercase=u=>n.check(gGn(u)),n.uppercase=u=>n.check(bGn(u)),n.trim=()=>n.check(EGn()),n.normalize=(...u)=>n.check(vGn(...u)),n.toLowerCase=()=>n.check(SGn()),n.toUpperCase=()=>n.check(TGn()),n.slugify=()=>n.check(AGn())}),Sqn=cn("ZodString",(n,i)=>{pMe.init(n,i),MVt.init(n,i),n.email=s=>n.check(Pzn(Tqn,s)),n.url=s=>n.check(Uzn(Aqn,s)),n.jwt=s=>n.check(nGn($qn,s)),n.emoji=s=>n.check(Hzn(_qn,s)),n.guid=s=>n.check(T8t(k8t,s)),n.uuid=s=>n.check(jzn(Rie,s)),n.uuidv4=s=>n.check(Fzn(Rie,s)),n.uuidv6=s=>n.check($zn(Rie,s)),n.uuidv7=s=>n.check(Bzn(Rie,s)),n.nanoid=s=>n.check(zzn(xqn,s)),n.guid=s=>n.check(T8t(k8t,s)),n.cuid=s=>n.check(Gzn(kqn,s)),n.cuid2=s=>n.check(qzn(Nqn,s)),n.ulid=s=>n.check(Vzn(Cqn,s)),n.base64=s=>n.check(Qzn(Pqn,s)),n.base64url=s=>n.check(eGn(jqn,s)),n.xid=s=>n.check(Wzn(Iqn,s)),n.ksuid=s=>n.check(Kzn(Rqn,s)),n.ipv4=s=>n.check(Yzn(Oqn,s)),n.ipv6=s=>n.check(Jzn(Lqn,s)),n.cidrv4=s=>n.check(Xzn(Dqn,s)),n.cidrv6=s=>n.check(Zzn(Mqn,s)),n.e164=s=>n.check(tGn(Fqn,s)),n.datetime=s=>n.check(nqn(s)),n.date=s=>n.check(iqn(s)),n.time=s=>n.check(sqn(s)),n.duration=s=>n.check(uqn(s))});function Jt(n){return Mzn(Sqn,n)}const hl=cn("ZodStringFormat",(n,i)=>{Pc.init(n,i),MVt.init(n,i)}),Tqn=cn("ZodEmail",(n,i)=>{$Hn.init(n,i),hl.init(n,i)}),k8t=cn("ZodGUID",(n,i)=>{jHn.init(n,i),hl.init(n,i)}),Rie=cn("ZodUUID",(n,i)=>{FHn.init(n,i),hl.init(n,i)}),Aqn=cn("ZodURL",(n,i)=>{BHn.init(n,i),hl.init(n,i)}),_qn=cn("ZodEmoji",(n,i)=>{UHn.init(n,i),hl.init(n,i)}),xqn=cn("ZodNanoID",(n,i)=>{HHn.init(n,i),hl.init(n,i)}),kqn=cn("ZodCUID",(n,i)=>{zHn.init(n,i),hl.init(n,i)}),Nqn=cn("ZodCUID2",(n,i)=>{GHn.init(n,i),hl.init(n,i)}),Cqn=cn("ZodULID",(n,i)=>{qHn.init(n,i),hl.init(n,i)}),Iqn=cn("ZodXID",(n,i)=>{VHn.init(n,i),hl.init(n,i)}),Rqn=cn("ZodKSUID",(n,i)=>{WHn.init(n,i),hl.init(n,i)}),Oqn=cn("ZodIPv4",(n,i)=>{ZHn.init(n,i),hl.init(n,i)}),Lqn=cn("ZodIPv6",(n,i)=>{QHn.init(n,i),hl.init(n,i)}),Dqn=cn("ZodCIDRv4",(n,i)=>{ezn.init(n,i),hl.init(n,i)}),Mqn=cn("ZodCIDRv6",(n,i)=>{tzn.init(n,i),hl.init(n,i)}),Pqn=cn("ZodBase64",(n,i)=>{nzn.init(n,i),hl.init(n,i)}),jqn=cn("ZodBase64URL",(n,i)=>{izn.init(n,i),hl.init(n,i)}),Fqn=cn("ZodE164",(n,i)=>{ozn.init(n,i),hl.init(n,i)}),$qn=cn("ZodJWT",(n,i)=>{azn.init(n,i),hl.init(n,i)}),PVt=cn("ZodNumber",(n,i)=>{TVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(u,d,g)=>OGn(n,u,d),n.gt=(u,d)=>n.check(_8t(u,d)),n.gte=(u,d)=>n.check(uIe(u,d)),n.min=(u,d)=>n.check(uIe(u,d)),n.lt=(u,d)=>n.check(A8t(u,d)),n.lte=(u,d)=>n.check(aIe(u,d)),n.max=(u,d)=>n.check(aIe(u,d)),n.int=u=>n.check(N8t(u)),n.safe=u=>n.check(N8t(u)),n.positive=u=>n.check(_8t(0,u)),n.nonnegative=u=>n.check(uIe(0,u)),n.negative=u=>n.check(A8t(0,u)),n.nonpositive=u=>n.check(aIe(0,u)),n.multipleOf=(u,d)=>n.check(x8t(u,d)),n.step=(u,d)=>n.check(x8t(u,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 aGn(PVt,n)}const Bqn=cn("ZodNumberFormat",(n,i)=>{uzn.init(n,i),PVt.init(n,i)});function N8t(n){return uGn(Bqn,n)}const Uqn=cn("ZodBoolean",(n,i)=>{czn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>LGn(n,s,u)});function Ew(n){return cGn(Uqn,n)}const Hqn=cn("ZodNull",(n,i)=>{lzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>DGn(n,s,u)});function C8t(n){return lGn(Hqn,n)}const zqn=cn("ZodAny",(n,i)=>{dzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>PGn()});function Gqn(){return dGn(zqn)}const qqn=cn("ZodUnknown",(n,i)=>{fzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>jGn()});function Lu(){return fGn(qqn)}const Vqn=cn("ZodNever",(n,i)=>{hzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>MGn(n,s,u)});function Wqn(n){return hGn(Vqn,n)}const Kqn=cn("ZodArray",(n,i)=>{pzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>HGn(n,s,u,d),n.element=i.element,n.min=(s,u)=>n.check(ose(s,u)),n.nonempty=s=>n.check(ose(1,s)),n.max=(s,u)=>n.check(NVt(s,u)),n.length=(s,u)=>n.check(CVt(s,u)),n.unwrap=()=>n.element});function cs(n,i){return _Gn(Kqn,n,i)}const jVt=cn("ZodObject",(n,i)=>{bzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>zGn(n,s,u,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:Lu()}),n.loose=()=>n.clone({...n._zod.def,catchall:Lu()}),n.strict=()=>n.clone({...n._zod.def,catchall:Wqn()}),n.strip=()=>n.clone({...n._zod.def,catchall:void 0}),n.extend=s=>DUn(n,s),n.safeExtend=s=>MUn(n,s),n.merge=s=>PUn(n,s),n.pick=s=>OUn(n,s),n.omit=s=>LUn(n,s),n.partial=(...s)=>jUn($Vt,n,s[0]),n.required=(...s)=>FUn(BVt,n,s[0])});function Su(n,i){const s={type:"object",shape:n??{},...wi(i)};return new jVt(s)}function $p(n,i){return new jVt({type:"object",shape:n,catchall:Lu(),...wi(i)})}const FVt=cn("ZodUnion",(n,i)=>{xVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>GGn(n,s,u,d),n.options=i.options});function Yi(n,i){return new FVt({type:"union",options:n,...wi(i)})}const Yqn=cn("ZodDiscriminatedUnion",(n,i)=>{FVt.init(n,i),mzn.init(n,i)});function Jqn(n,i,s){return new Yqn({type:"union",options:i,discriminator:n,...wi(s)})}const Xqn=cn("ZodIntersection",(n,i)=>{wzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>qGn(n,s,u,d)});function Zqn(n,i){return new Xqn({type:"intersection",left:n,right:i})}const Qqn=cn("ZodRecord",(n,i)=>{yzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>VGn(n,s,u,d),n.keyType=i.keyType,n.valueType=i.valueType});function yf(n,i,s){return new Qqn({type:"record",keyType:n,valueType:i,...wi(s)})}const PLe=cn("ZodEnum",(n,i)=>{vzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(u,d,g)=>FGn(n,u,d),n.enum=i.entries,n.options=Object.values(i.entries);const s=new Set(Object.keys(i.entries));n.extract=(u,d)=>{const g={};for(const b of u)if(s.has(b))g[b]=i.entries[b];else throw new Error(`Key ${b} not found in enum`);return new PLe({...i,checks:[],...wi(d),entries:g})},n.exclude=(u,d)=>{const g={...i.entries};for(const b of u)if(s.has(b))delete g[b];else throw new Error(`Key ${b} not found in enum`);return new PLe({...i,checks:[],...wi(d),entries:g})}});function Gg(n,i){const s=Array.isArray(n)?Object.fromEntries(n.map(u=>[u,u])):n;return new PLe({type:"enum",entries:s,...wi(i)})}const eVn=cn("ZodLiteral",(n,i)=>{Ezn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>$Gn(n,s,u),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 eVn({type:"literal",values:Array.isArray(n)?n:[n],...wi(i)})}const tVn=cn("ZodTransform",(n,i)=>{Szn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>UGn(n,s),n._zod.parse=(s,u)=>{if(u.direction==="backward")throw new aVt(n.constructor.name);s.addIssue=g=>{if(typeof g=="string")s.issues.push(sz(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(sz(b))}};const d=i.transform(s.value,s);return d instanceof Promise?d.then(g=>(s.value=g,s)):(s.value=d,s)}});function nVn(n){return new tVn({type:"transform",transform:n})}const $Vt=cn("ZodOptional",(n,i)=>{kVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>LVt(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function I8t(n){return new $Vt({type:"optional",innerType:n})}const rVn=cn("ZodExactOptional",(n,i)=>{Tzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>LVt(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function iVn(n){return new rVn({type:"optional",innerType:n})}const oVn=cn("ZodNullable",(n,i)=>{Azn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>WGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function R8t(n){return new oVn({type:"nullable",innerType:n})}const sVn=cn("ZodDefault",(n,i)=>{_zn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>YGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType,n.removeDefault=n.unwrap});function aVn(n,i){return new sVn({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():dVt(i)}})}const uVn=cn("ZodPrefault",(n,i)=>{xzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>JGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function cVn(n,i){return new uVn({type:"prefault",innerType:n,get defaultValue(){return typeof i=="function"?i():dVt(i)}})}const BVt=cn("ZodNonOptional",(n,i)=>{kzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>KGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function lVn(n,i){return new BVt({type:"nonoptional",innerType:n,...wi(i)})}const dVn=cn("ZodCatch",(n,i)=>{Nzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>XGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType,n.removeCatch=n.unwrap});function fVn(n,i){return new dVn({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}const hVn=cn("ZodPipe",(n,i)=>{Czn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>ZGn(n,s,u,d),n.in=i.in,n.out=i.out});function O8t(n,i){return new hVn({type:"pipe",in:n,out:i})}const pVn=cn("ZodReadonly",(n,i)=>{Izn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>QGn(n,s,u,d),n.unwrap=()=>n._zod.def.innerType});function gVn(n){return new pVn({type:"readonly",innerType:n})}const bVn=cn("ZodLazy",(n,i)=>{Rzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>eqn(n,s,u,d),n.unwrap=()=>n._zod.def.getter()});function gMe(n){return new bVn({type:"lazy",getter:n})}const mVn=cn("ZodCustom",(n,i)=>{Ozn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,u,d)=>BGn(n,s)});function wVn(n,i={}){return xGn(mVn,n,i)}function yVn(n){return kGn(n)}const Pl={custom:"custom"};Jt().min(1).brand();const L8t=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 vVn=Gg(["single","restart","queued","parallel"]),EVn=Gg(["silent","warning","critical"]),UVt=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()});UVt.extend({sourceHandle:Gg(["true","false"])});const SVn=["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(SVn)).optional(),after_offset:Jt().optional(),before_offset:Jt().optional(),zone:Jt().optional(),conditions:cs(gMe(()=>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()),C8t()]).optional(),to:Yi([Jt(),cs(Jt()),C8t()]).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:Lu().optional(),offset:Jt().optional(),event:Jt().optional(),event_type:Yi([Jt(),cs(Jt())]).optional(),event_data:yf(Jt(),Lu()).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,...u}=n;return{...u,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 TVn(n){return typeof n=="object"&&n!==null&&("condition"in n||"entity_id"in n||"state"in n)}function bMe(n){return typeof n=="object"&&n!==null&&"type"in n&&"device_id"in n&&"domain"in n}const HVt=Su({version:pa(),nodes:yf(Jt(),Su({x:pa(),y:pa()})),graph_id:Jt(),graph_version:pa(),strategy:Gg(["native","state-machine"])}),M8t=gMe(()=>Su({conditions:Yi([Ug,cs(Ug)]),sequence:Yi([$m,cs($m)]),alias:Jt().optional()})),$m=gMe(()=>$p({service:Jt().optional(),action:Jt().optional(),event:Jt().optional(),event_data:yf(Jt(),Lu()).optional(),id:Jt().optional(),alias:Jt().optional(),target:yf(Jt(),Lu()).optional(),data:yf(Jt(),Lu()).optional(),data_template:yf(Jt(),Lu()).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(),Lu())]).optional(),timeout:Yi([Jt(),pa(),yf(Jt(),pa())]).optional(),continue_on_timeout:Ew().optional(),wait_for_trigger:Yi([gN,cs(gN)]).optional(),choose:Yi([M8t,cs(M8t)]).optional(),default:cs($m).optional(),if:cs(Ug).optional(),then:cs($m).optional(),else:cs($m).optional(),variables:yf(Jt(),Lu()).optional(),repeat:Su({count:Yi([Jt(),pa()]).optional(),while:cs(Ug).optional(),until:Yi([Jt(),cs(Jt()),cs(Ug)]).optional(),sequence:cs($m)}).optional()})),AVn=Su({id:Jt().optional(),alias:Jt().optional(),description:Jt().optional(),trigger_variables:yf(Jt(),Lu()).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(),Lu()).optional(),variables:Su({_cafe_metadata:HVt.optional()}).catchall(Lu()).optional()});AVn.omit({action:!0}).extend({action:Yi([$m,cs($m)]).optional(),sequence:Yi([$m,cs($m)])});const _Vn=$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()})])}),xVn=$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"]}),kVn=$p({id:Jt().optional(),alias:Jt().optional(),variables:yf(Jt(),Lu())}),NVn=$p({id:Jt().min(1),type:_N("trigger"),position:HM,data:gN}),CVn=$p({id:Jt().min(1),type:_N("condition"),position:HM,data:Ug}),IVn=$p({id:Jt().min(1),type:_N("action"),position:HM,data:$m}),RVn=$p({id:Jt().min(1),type:_N("delay"),position:HM,data:_Vn}),OVn=$p({id:Jt().min(1),type:_N("wait"),position:HM,data:xVn}),LVn=$p({id:Jt().min(1),type:_N("set_variables"),position:HM,data:kVn}),DVn=Jqn("type",[NVn,CVn,IVn,RVn,OVn,LVn]),MVn=Su({mode:vVn.default("single"),max_exceeded:EVn.optional(),max:pa().positive().optional(),initial_state:Ew().optional(),hide_entity:Ew().optional(),trace:Su({stored_traces:pa().optional()}).optional()}),PVn=Su({automation_id:Jt(),entity_id:Jt(),alias:Jt(),node_prefix:Jt(),imported_at:Jt()}),jVn=Su({mode:_N("merged"),sources:cs(PVn)}),zVt=Su({id:Jt().uuid(),name:Jt().min(1),description:Jt().optional(),nodes:cs(DVn),edges:cs(UVt),metadata:MVn.optional(),version:_N(1).default(1),userVariables:yf(Jt(),Lu()).optional(),userTriggerVariables:yf(Jt(),Lu()).optional(),workspace:jVn.optional()});function GVt(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 u=n.nodes.filter(b=>b.type==="trigger");u.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 u)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([L8t,cs(L8t)]).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(),Lu());yf(Jt(),Jt());const FVn=Su({wait_template:Jt().optional(),wait_for_trigger:cs(Gqn()).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"]}),$Vn=Su({service:Jt().optional(),event:Jt().optional()}).passthrough().superRefine((n,i)=>{const s=typeof n.event=="string"&&n.event.trim()!=="",u=typeof n.service=="string"&&n.service.trim()!=="";if(!s&&!u){i.addIssue({code:Pl.custom,message:"Either a service (e.g. light.turn_on) or an event name is required",path:["service"]});return}u&&!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 BVn(n){return Array.isArray(n)?n.length>0&&n.every(i=>typeof i=="string"&&i.trim()!==""):typeof n=="string"?n.trim()!=="":!1}const UVn=Su({trigger:Jt().optional(),platform:Jt().optional(),entity_id:Lu().optional(),to:Lu().optional(),from:Lu().optional(),event_type:Jt().optional(),at:Lu().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}}),HVn=Su({delay:Yi([Jt(),Su({})])}).passthrough().refine(n=>typeof n.delay=="string"?n.delay.trim()!=="":!0,{message:"Delay value is required",path:["delay"]}),zVn=Su({condition:Jt().min(1,"Condition type is required"),entity_id:Lu().optional(),state:Lu().optional(),value_template:Jt().optional(),zone:Jt().optional(),device_id:Jt().optional(),id:Lu().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":BVn(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}}),qVt=["current_node"];function VVt(n){return qVt.includes(n.trim())}const GVn=Su({variables:yf(Jt(),Lu()).optional()}).passthrough().refine(n=>n.variables?Object.keys(n.variables).length>0:!1,{message:"At least one variable must be defined",path:["variables"]}).refine(n=>!Object.keys(n.variables??{}).some(VVt),{message:`These names are reserved by the transpiler and cannot be used as variables: ${qVt.join(", ")}`,path:["variables"]});function qVn(n){switch(n){case"wait":return FVn;case"action":return $Vn;case"trigger":return UVn;case"delay":return HVn;case"condition":return zVn;case"set_variables":return GVn;default:return}}function P8t(n,i){const s=qVn(n);if(!s)return[];const u=s.safeParse(i);return u.success?[]:u.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,j8t;function VVn(){if(j8t)return cIe;j8t=1;function n(){this.__data__=[],this.size=0}return cIe=n,cIe}var lIe,F8t;function mMe(){if(F8t)return lIe;F8t=1;function n(i,s){return i===s||i!==i&&s!==s}return lIe=n,lIe}var dIe,$8t;function Cae(){if($8t)return dIe;$8t=1;var n=mMe();function i(s,u){for(var d=s.length;d--;)if(n(s[d][0],u))return d;return-1}return dIe=i,dIe}var fIe,B8t;function WVn(){if(B8t)return fIe;B8t=1;var n=Cae(),i=Array.prototype,s=i.splice;function u(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=u,fIe}var hIe,U8t;function KVn(){if(U8t)return hIe;U8t=1;var n=Cae();function i(s){var u=this.__data__,d=n(u,s);return d<0?void 0:u[d][1]}return hIe=i,hIe}var pIe,H8t;function YVn(){if(H8t)return pIe;H8t=1;var n=Cae();function i(s){return n(this.__data__,s)>-1}return pIe=i,pIe}var gIe,z8t;function JVn(){if(z8t)return gIe;z8t=1;var n=Cae();function i(s,u){var d=this.__data__,g=n(d,s);return g<0?(++this.size,d.push([s,u])):d[g][1]=u,this}return gIe=i,gIe}var bIe,G8t;function Iae(){if(G8t)return bIe;G8t=1;var n=VVn(),i=WVn(),s=KVn(),u=YVn(),d=JVn();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=u,g.prototype.set=d,bIe=g,bIe}var mIe,q8t;function XVn(){if(q8t)return mIe;q8t=1;var n=Iae();function i(){this.__data__=new n,this.size=0}return mIe=i,mIe}var wIe,V8t;function ZVn(){if(V8t)return wIe;V8t=1;function n(i){var s=this.__data__,u=s.delete(i);return this.size=s.size,u}return wIe=n,wIe}var yIe,W8t;function QVn(){if(W8t)return yIe;W8t=1;function n(i){return this.__data__.get(i)}return yIe=n,yIe}var vIe,K8t;function eWn(){if(K8t)return vIe;K8t=1;function n(i){return this.__data__.has(i)}return vIe=n,vIe}var EIe,Y8t;function WVt(){if(Y8t)return EIe;Y8t=1;var n=typeof C5=="object"&&C5&&C5.Object===Object&&C5;return EIe=n,EIe}var SIe,J8t;function Y2(){if(J8t)return SIe;J8t=1;var n=WVt(),i=typeof self=="object"&&self&&self.Object===Object&&self,s=n||i||Function("return this")();return SIe=s,SIe}var TIe,X8t;function zM(){if(X8t)return TIe;X8t=1;var n=Y2(),i=n.Symbol;return TIe=i,TIe}var AIe,Z8t;function tWn(){if(Z8t)return AIe;Z8t=1;var n=zM(),i=Object.prototype,s=i.hasOwnProperty,u=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=u.call(b);return S&&(w?b[d]=E:delete b[d]),x}return AIe=g,AIe}var _Ie,Q8t;function nWn(){if(Q8t)return _Ie;Q8t=1;var n=Object.prototype,i=n.toString;function s(u){return i.call(u)}return _Ie=s,_Ie}var xIe,ePt;function GM(){if(ePt)return xIe;ePt=1;var n=zM(),i=tWn(),s=nWn(),u="[object Null]",d="[object Undefined]",g=n?n.toStringTag:void 0;function b(w){return w==null?w===void 0?d:u:g&&g in Object(w)?i(w):s(w)}return xIe=b,xIe}var kIe,tPt;function IR(){if(tPt)return kIe;tPt=1;function n(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}return kIe=n,kIe}var NIe,nPt;function Rae(){if(nPt)return NIe;nPt=1;var n=GM(),i=IR(),s="[object AsyncFunction]",u="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function b(w){if(!i(w))return!1;var E=n(w);return E==u||E==d||E==s||E==g}return NIe=b,NIe}var CIe,rPt;function rWn(){if(rPt)return CIe;rPt=1;var n=Y2(),i=n["__core-js_shared__"];return CIe=i,CIe}var IIe,iPt;function iWn(){if(iPt)return IIe;iPt=1;var n=rWn(),i=function(){var u=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function s(u){return!!i&&i in u}return IIe=s,IIe}var RIe,oPt;function KVt(){if(oPt)return RIe;oPt=1;var n=Function.prototype,i=n.toString;function s(u){if(u!=null){try{return i.call(u)}catch{}try{return u+""}catch{}}return""}return RIe=s,RIe}var OIe,sPt;function oWn(){if(sPt)return OIe;sPt=1;var n=Rae(),i=iWn(),s=IR(),u=KVt(),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(u(C))}return OIe=A,OIe}var LIe,aPt;function sWn(){if(aPt)return LIe;aPt=1;function n(i,s){return i==null?void 0:i[s]}return LIe=n,LIe}var DIe,uPt;function RR(){if(uPt)return DIe;uPt=1;var n=oWn(),i=sWn();function s(u,d){var g=i(u,d);return n(g)?g:void 0}return DIe=s,DIe}var MIe,cPt;function wMe(){if(cPt)return MIe;cPt=1;var n=RR(),i=Y2(),s=n(i,"Map");return MIe=s,MIe}var PIe,lPt;function Oae(){if(lPt)return PIe;lPt=1;var n=RR(),i=n(Object,"create");return PIe=i,PIe}var jIe,dPt;function aWn(){if(dPt)return jIe;dPt=1;var n=Oae();function i(){this.__data__=n?n(null):{},this.size=0}return jIe=i,jIe}var FIe,fPt;function uWn(){if(fPt)return FIe;fPt=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,hPt;function cWn(){if(hPt)return $Ie;hPt=1;var n=Oae(),i="__lodash_hash_undefined__",s=Object.prototype,u=s.hasOwnProperty;function d(g){var b=this.__data__;if(n){var w=b[g];return w===i?void 0:w}return u.call(b,g)?b[g]:void 0}return $Ie=d,$Ie}var BIe,pPt;function lWn(){if(pPt)return BIe;pPt=1;var n=Oae(),i=Object.prototype,s=i.hasOwnProperty;function u(d){var g=this.__data__;return n?g[d]!==void 0:s.call(g,d)}return BIe=u,BIe}var UIe,gPt;function dWn(){if(gPt)return UIe;gPt=1;var n=Oae(),i="__lodash_hash_undefined__";function s(u,d){var g=this.__data__;return this.size+=this.has(u)?0:1,g[u]=n&&d===void 0?i:d,this}return UIe=s,UIe}var HIe,bPt;function fWn(){if(bPt)return HIe;bPt=1;var n=aWn(),i=uWn(),s=cWn(),u=lWn(),d=dWn();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=u,g.prototype.set=d,HIe=g,HIe}var zIe,mPt;function hWn(){if(mPt)return zIe;mPt=1;var n=fWn(),i=Iae(),s=wMe();function u(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}return zIe=u,zIe}var GIe,wPt;function pWn(){if(wPt)return GIe;wPt=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,yPt;function Lae(){if(yPt)return qIe;yPt=1;var n=pWn();function i(s,u){var d=s.__data__;return n(u)?d[typeof u=="string"?"string":"hash"]:d.map}return qIe=i,qIe}var VIe,vPt;function gWn(){if(vPt)return VIe;vPt=1;var n=Lae();function i(s){var u=n(this,s).delete(s);return this.size-=u?1:0,u}return VIe=i,VIe}var WIe,EPt;function bWn(){if(EPt)return WIe;EPt=1;var n=Lae();function i(s){return n(this,s).get(s)}return WIe=i,WIe}var KIe,SPt;function mWn(){if(SPt)return KIe;SPt=1;var n=Lae();function i(s){return n(this,s).has(s)}return KIe=i,KIe}var YIe,TPt;function wWn(){if(TPt)return YIe;TPt=1;var n=Lae();function i(s,u){var d=n(this,s),g=d.size;return d.set(s,u),this.size+=d.size==g?0:1,this}return YIe=i,YIe}var JIe,APt;function yMe(){if(APt)return JIe;APt=1;var n=hWn(),i=gWn(),s=bWn(),u=mWn(),d=wWn();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=u,g.prototype.set=d,JIe=g,JIe}var XIe,_Pt;function yWn(){if(_Pt)return XIe;_Pt=1;var n=Iae(),i=wMe(),s=yMe(),u=200;function d(g,b){var w=this.__data__;if(w instanceof n){var E=w.__data__;if(!i||E.length<u-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,xPt;function vMe(){if(xPt)return ZIe;xPt=1;var n=Iae(),i=XVn(),s=ZVn(),u=QVn(),d=eWn(),g=yWn();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=u,b.prototype.has=d,b.prototype.set=g,ZIe=b,ZIe}var QIe,kPt;function EMe(){if(kPt)return QIe;kPt=1;function n(i,s){for(var u=-1,d=i==null?0:i.length;++u<d&&s(i[u],u,i)!==!1;);return i}return QIe=n,QIe}var e4e,NPt;function YVt(){if(NPt)return e4e;NPt=1;var n=RR(),i=function(){try{var s=n(Object,"defineProperty");return s({},"",{}),s}catch{}}();return e4e=i,e4e}var t4e,CPt;function JVt(){if(CPt)return t4e;CPt=1;var n=YVt();function i(s,u,d){u=="__proto__"&&n?n(s,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):s[u]=d}return t4e=i,t4e}var n4e,IPt;function XVt(){if(IPt)return n4e;IPt=1;var n=JVt(),i=mMe(),s=Object.prototype,u=s.hasOwnProperty;function d(g,b,w){var E=g[b];(!(u.call(g,b)&&i(E,w))||w===void 0&&!(b in g))&&n(g,b,w)}return n4e=d,n4e}var r4e,RPt;function Dae(){if(RPt)return r4e;RPt=1;var n=XVt(),i=JVt();function s(u,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],u[x],x,g,u):void 0;A===void 0&&(A=u[x]),w?i(g,x,A):n(g,x,A)}return g}return r4e=s,r4e}var i4e,OPt;function vWn(){if(OPt)return i4e;OPt=1;function n(i,s){for(var u=-1,d=Array(i);++u<i;)d[u]=s(u);return d}return i4e=n,i4e}var o4e,LPt;function xA(){if(LPt)return o4e;LPt=1;function n(i){return i!=null&&typeof i=="object"}return o4e=n,o4e}var s4e,DPt;function EWn(){if(DPt)return s4e;DPt=1;var n=GM(),i=xA(),s="[object Arguments]";function u(d){return i(d)&&n(d)==s}return s4e=u,s4e}var a4e,MPt;function Mae(){if(MPt)return a4e;MPt=1;var n=EWn(),i=xA(),s=Object.prototype,u=s.hasOwnProperty,d=s.propertyIsEnumerable,g=n(function(){return arguments}())?n:function(b){return i(b)&&u.call(b,"callee")&&!d.call(b,"callee")};return a4e=g,a4e}var u4e,PPt;function ih(){if(PPt)return u4e;PPt=1;var n=Array.isArray;return u4e=n,u4e}var eH={exports:{}},c4e,jPt;function SWn(){if(jPt)return c4e;jPt=1;function n(){return!1}return c4e=n,c4e}eH.exports;var FPt;function Mz(){return FPt||(FPt=1,function(n,i){var s=Y2(),u=SWn(),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||u;n.exports=S}(eH,eH.exports)),eH.exports}var l4e,$Pt;function ZVt(){if($Pt)return l4e;$Pt=1;var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function s(u,d){var g=typeof u;return d=d??n,!!d&&(g=="number"||g!="symbol"&&i.test(u))&&u>-1&&u%1==0&&u<d}return l4e=s,l4e}var d4e,BPt;function SMe(){if(BPt)return d4e;BPt=1;var n=9007199254740991;function i(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=n}return d4e=i,d4e}var f4e,UPt;function TWn(){if(UPt)return f4e;UPt=1;var n=GM(),i=SMe(),s=xA(),u="[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]",D="[object String]",L="[object WeakMap]",B="[object ArrayBuffer]",$="[object DataView]",j="[object Float32Array]",P="[object Float64Array]",G="[object Int8Array]",ee="[object Int16Array]",ne="[object Int32Array]",Q="[object Uint8Array]",ie="[object Uint8ClampedArray]",he="[object Uint16Array]",ge="[object Uint32Array]",ce={};ce[j]=ce[P]=ce[G]=ce[ee]=ce[ne]=ce[Q]=ce[ie]=ce[he]=ce[ge]=!0,ce[u]=ce[d]=ce[B]=ce[g]=ce[$]=ce[b]=ce[w]=ce[E]=ce[S]=ce[x]=ce[A]=ce[C]=ce[R]=ce[D]=ce[L]=!1;function fe(K){return s(K)&&i(K.length)&&!!ce[n(K)]}return f4e=fe,f4e}var h4e,HPt;function TMe(){if(HPt)return h4e;HPt=1;function n(i){return function(s){return i(s)}}return h4e=n,h4e}var tH={exports:{}};tH.exports;var zPt;function AMe(){return zPt||(zPt=1,function(n,i){var s=WVt(),u=i&&!i.nodeType&&i,d=u&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===u,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,GPt;function Pae(){if(GPt)return p4e;GPt=1;var n=TWn(),i=TMe(),s=AMe(),u=s&&s.isTypedArray,d=u?i(u):n;return p4e=d,p4e}var g4e,qPt;function QVt(){if(qPt)return g4e;qPt=1;var n=vWn(),i=Mae(),s=ih(),u=Mz(),d=ZVt(),g=Pae(),b=Object.prototype,w=b.hasOwnProperty;function E(S,x){var A=s(S),C=!A&&i(S),R=!A&&!C&&u(S),D=!A&&!C&&!R&&g(S),L=A||C||R||D,B=L?n(S.length,String):[],$=B.length;for(var j in S)(x||w.call(S,j))&&!(L&&(j=="length"||R&&(j=="offset"||j=="parent")||D&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||d(j,$)))&&B.push(j);return B}return g4e=E,g4e}var b4e,VPt;function jae(){if(VPt)return b4e;VPt=1;var n=Object.prototype;function i(s){var u=s&&s.constructor,d=typeof u=="function"&&u.prototype||n;return s===d}return b4e=i,b4e}var m4e,WPt;function eWt(){if(WPt)return m4e;WPt=1;function n(i,s){return function(u){return i(s(u))}}return m4e=n,m4e}var w4e,KPt;function AWn(){if(KPt)return w4e;KPt=1;var n=eWt(),i=n(Object.keys,Object);return w4e=i,w4e}var y4e,YPt;function _Me(){if(YPt)return y4e;YPt=1;var n=jae(),i=AWn(),s=Object.prototype,u=s.hasOwnProperty;function d(g){if(!n(g))return i(g);var b=[];for(var w in Object(g))u.call(g,w)&&w!="constructor"&&b.push(w);return b}return y4e=d,y4e}var v4e,JPt;function OR(){if(JPt)return v4e;JPt=1;var n=Rae(),i=SMe();function s(u){return u!=null&&i(u.length)&&!n(u)}return v4e=s,v4e}var E4e,XPt;function LR(){if(XPt)return E4e;XPt=1;var n=QVt(),i=_Me(),s=OR();function u(d){return s(d)?n(d):i(d)}return E4e=u,E4e}var S4e,ZPt;function _Wn(){if(ZPt)return S4e;ZPt=1;var n=Dae(),i=LR();function s(u,d){return u&&n(d,i(d),u)}return S4e=s,S4e}var T4e,QPt;function xWn(){if(QPt)return T4e;QPt=1;function n(i){var s=[];if(i!=null)for(var u in Object(i))s.push(u);return s}return T4e=n,T4e}var A4e,ejt;function kWn(){if(ejt)return A4e;ejt=1;var n=IR(),i=jae(),s=xWn(),u=Object.prototype,d=u.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,tjt;function xMe(){if(tjt)return _4e;tjt=1;var n=QVt(),i=kWn(),s=OR();function u(d){return s(d)?n(d,!0):i(d)}return _4e=u,_4e}var x4e,njt;function NWn(){if(njt)return x4e;njt=1;var n=Dae(),i=xMe();function s(u,d){return u&&n(d,i(d),u)}return x4e=s,x4e}var nH={exports:{}};nH.exports;var rjt;function CWn(){return rjt||(rjt=1,function(n,i){var s=Y2(),u=i&&!i.nodeType&&i,d=u&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===u,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,ijt;function IWn(){if(ijt)return k4e;ijt=1;function n(i,s){var u=-1,d=i.length;for(s||(s=Array(d));++u<d;)s[u]=i[u];return s}return k4e=n,k4e}var N4e,ojt;function tWt(){if(ojt)return N4e;ojt=1;function n(i,s){for(var u=-1,d=i==null?0:i.length,g=0,b=[];++u<d;){var w=i[u];s(w,u,i)&&(b[g++]=w)}return b}return N4e=n,N4e}var C4e,sjt;function nWt(){if(sjt)return C4e;sjt=1;function n(){return[]}return C4e=n,C4e}var I4e,ajt;function kMe(){if(ajt)return I4e;ajt=1;var n=tWt(),i=nWt(),s=Object.prototype,u=s.propertyIsEnumerable,d=Object.getOwnPropertySymbols,g=d?function(b){return b==null?[]:(b=Object(b),n(d(b),function(w){return u.call(b,w)}))}:i;return I4e=g,I4e}var R4e,ujt;function RWn(){if(ujt)return R4e;ujt=1;var n=Dae(),i=kMe();function s(u,d){return n(u,i(u),d)}return R4e=s,R4e}var O4e,cjt;function NMe(){if(cjt)return O4e;cjt=1;function n(i,s){for(var u=-1,d=s.length,g=i.length;++u<d;)i[g+u]=s[u];return i}return O4e=n,O4e}var L4e,ljt;function CMe(){if(ljt)return L4e;ljt=1;var n=eWt(),i=n(Object.getPrototypeOf,Object);return L4e=i,L4e}var D4e,djt;function rWt(){if(djt)return D4e;djt=1;var n=NMe(),i=CMe(),s=kMe(),u=nWt(),d=Object.getOwnPropertySymbols,g=d?function(b){for(var w=[];b;)n(w,s(b)),b=i(b);return w}:u;return D4e=g,D4e}var M4e,fjt;function OWn(){if(fjt)return M4e;fjt=1;var n=Dae(),i=rWt();function s(u,d){return n(u,i(u),d)}return M4e=s,M4e}var P4e,hjt;function iWt(){if(hjt)return P4e;hjt=1;var n=NMe(),i=ih();function s(u,d,g){var b=d(u);return i(u)?b:n(b,g(u))}return P4e=s,P4e}var j4e,pjt;function oWt(){if(pjt)return j4e;pjt=1;var n=iWt(),i=kMe(),s=LR();function u(d){return n(d,s,i)}return j4e=u,j4e}var F4e,gjt;function LWn(){if(gjt)return F4e;gjt=1;var n=iWt(),i=rWt(),s=xMe();function u(d){return n(d,s,i)}return F4e=u,F4e}var $4e,bjt;function DWn(){if(bjt)return $4e;bjt=1;var n=RR(),i=Y2(),s=n(i,"DataView");return $4e=s,$4e}var B4e,mjt;function MWn(){if(mjt)return B4e;mjt=1;var n=RR(),i=Y2(),s=n(i,"Promise");return B4e=s,B4e}var U4e,wjt;function sWt(){if(wjt)return U4e;wjt=1;var n=RR(),i=Y2(),s=n(i,"Set");return U4e=s,U4e}var H4e,yjt;function PWn(){if(yjt)return H4e;yjt=1;var n=RR(),i=Y2(),s=n(i,"WeakMap");return H4e=s,H4e}var z4e,vjt;function qM(){if(vjt)return z4e;vjt=1;var n=DWn(),i=wMe(),s=MWn(),u=sWt(),d=PWn(),g=GM(),b=KVt(),w="[object Map]",E="[object Object]",S="[object Promise]",x="[object Set]",A="[object WeakMap]",C="[object DataView]",R=b(n),D=b(i),L=b(s),B=b(u),$=b(d),j=g;return(n&&j(new n(new ArrayBuffer(1)))!=C||i&&j(new i)!=w||s&&j(s.resolve())!=S||u&&j(new u)!=x||d&&j(new d)!=A)&&(j=function(P){var G=g(P),ee=G==E?P.constructor:void 0,ne=ee?b(ee):"";if(ne)switch(ne){case R:return C;case D:return w;case L:return S;case B:return x;case $:return A}return G}),z4e=j,z4e}var G4e,Ejt;function jWn(){if(Ejt)return G4e;Ejt=1;var n=Object.prototype,i=n.hasOwnProperty;function s(u){var d=u.length,g=new u.constructor(d);return d&&typeof u[0]=="string"&&i.call(u,"index")&&(g.index=u.index,g.input=u.input),g}return G4e=s,G4e}var q4e,Sjt;function aWt(){if(Sjt)return q4e;Sjt=1;var n=Y2(),i=n.Uint8Array;return q4e=i,q4e}var V4e,Tjt;function IMe(){if(Tjt)return V4e;Tjt=1;var n=aWt();function i(s){var u=new s.constructor(s.byteLength);return new n(u).set(new n(s)),u}return V4e=i,V4e}var W4e,Ajt;function FWn(){if(Ajt)return W4e;Ajt=1;var n=IMe();function i(s,u){var d=u?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.byteLength)}return W4e=i,W4e}var K4e,_jt;function $Wn(){if(_jt)return K4e;_jt=1;var n=/\w*$/;function i(s){var u=new s.constructor(s.source,n.exec(s));return u.lastIndex=s.lastIndex,u}return K4e=i,K4e}var Y4e,xjt;function BWn(){if(xjt)return Y4e;xjt=1;var n=zM(),i=n?n.prototype:void 0,s=i?i.valueOf:void 0;function u(d){return s?Object(s.call(d)):{}}return Y4e=u,Y4e}var J4e,kjt;function UWn(){if(kjt)return J4e;kjt=1;var n=IMe();function i(s,u){var d=u?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.length)}return J4e=i,J4e}var X4e,Njt;function HWn(){if(Njt)return X4e;Njt=1;var n=IMe(),i=FWn(),s=$Wn(),u=BWn(),d=UWn(),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]",D="[object DataView]",L="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",j="[object Int16Array]",P="[object Int32Array]",G="[object Uint8Array]",ee="[object Uint8ClampedArray]",ne="[object Uint16Array]",Q="[object Uint32Array]";function ie(he,ge,ce){var fe=he.constructor;switch(ge){case R:return n(he);case g:case b:return new fe(+he);case D:return i(he,ce);case L:case B:case $:case j:case P:case G:case ee:case ne:case Q:return d(he,ce);case w:return new fe;case E:case A:return new fe(he);case S:return s(he);case x:return new fe;case C:return u(he)}}return X4e=ie,X4e}var Z4e,Cjt;function uWt(){if(Cjt)return Z4e;Cjt=1;var n=IR(),i=Object.create,s=function(){function u(){}return function(d){if(!n(d))return{};if(i)return i(d);u.prototype=d;var g=new u;return u.prototype=void 0,g}}();return Z4e=s,Z4e}var Q4e,Ijt;function zWn(){if(Ijt)return Q4e;Ijt=1;var n=uWt(),i=CMe(),s=jae();function u(d){return typeof d.constructor=="function"&&!s(d)?n(i(d)):{}}return Q4e=u,Q4e}var eRe,Rjt;function GWn(){if(Rjt)return eRe;Rjt=1;var n=qM(),i=xA(),s="[object Map]";function u(d){return i(d)&&n(d)==s}return eRe=u,eRe}var tRe,Ojt;function qWn(){if(Ojt)return tRe;Ojt=1;var n=GWn(),i=TMe(),s=AMe(),u=s&&s.isMap,d=u?i(u):n;return tRe=d,tRe}var nRe,Ljt;function VWn(){if(Ljt)return nRe;Ljt=1;var n=qM(),i=xA(),s="[object Set]";function u(d){return i(d)&&n(d)==s}return nRe=u,nRe}var rRe,Djt;function WWn(){if(Djt)return rRe;Djt=1;var n=VWn(),i=TMe(),s=AMe(),u=s&&s.isSet,d=u?i(u):n;return rRe=d,rRe}var iRe,Mjt;function KWn(){if(Mjt)return iRe;Mjt=1;var n=vMe(),i=EMe(),s=XVt(),u=_Wn(),d=NWn(),g=CWn(),b=IWn(),w=RWn(),E=OWn(),S=oWt(),x=LWn(),A=qM(),C=jWn(),R=HWn(),D=zWn(),L=ih(),B=Mz(),$=qWn(),j=IR(),P=WWn(),G=LR(),ee=xMe(),ne=1,Q=2,ie=4,he="[object Arguments]",ge="[object Array]",ce="[object Boolean]",fe="[object Date]",K="[object Error]",pe="[object Function]",Oe="[object GeneratorFunction]",Se="[object Map]",De="[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[he]=Qr[ge]=Qr[kt]=Qr[ht]=Qr[ce]=Qr[fe]=Qr[Xt]=Qr[vt]=Qr[Ct]=Qr[Ft]=Qr[On]=Qr[Se]=Qr[De]=Qr[Ae]=Qr[xe]=Qr[We]=Qr[dt]=Qr[Ue]=Qr[Zn]=Qr[Yn]=Qr[vr]=Qr[Ui]=!0,Qr[K]=Qr[pe]=Qr[bt]=!1;function Hi(ai,jc,Xs,ls,Qo,Ca){var Ci,mb=jc&ne,Yg=jc&Q,Wh=jc&ie;if(Xs&&(Ci=Qo?Xs(ai,ls,Qo,Ca):Xs(ai)),Ci!==void 0)return Ci;if(!j(ai))return ai;var wb=L(ai);if(wb){if(Ci=C(ai),!mb)return b(ai,Ci)}else{var Wp=A(ai),Ow=Wp==pe||Wp==Oe;if(B(ai))return g(ai,mb);if(Wp==Ae||Wp==he||Ow&&!Qo){if(Ci=Yg||Ow?{}:D(ai),!mb)return Yg?E(ai,d(Ci,ai)):w(ai,u(Ci,ai))}else{if(!Qr[Wp])return Qo?ai:{};Ci=R(ai,Wp,mb)}}Ca||(Ca=new n);var Kh=Ca.get(ai);if(Kh)return Kh;Ca.set(ai,Ci),P(ai)?ai.forEach(function(Kp){Ci.add(Hi(Kp,jc,Xs,Kp,ai,Ca))}):$(ai)&&ai.forEach(function(Kp,Xg){Ci.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(Ci,Xg,Hi(Kp,jc,Xs,Xg,ai,Ca))}),Ci}return iRe=Hi,iRe}var oRe,Pjt;function YWn(){if(Pjt)return oRe;Pjt=1;var n=KWn(),i=4;function s(u){return n(u,i)}return oRe=s,oRe}var sRe,jjt;function cWt(){if(jjt)return sRe;jjt=1;function n(i){return function(){return i}}return sRe=n,sRe}var aRe,Fjt;function JWn(){if(Fjt)return aRe;Fjt=1;function n(i){return function(s,u,d){for(var g=-1,b=Object(s),w=d(s),E=w.length;E--;){var S=w[i?E:++g];if(u(b[S],S,b)===!1)break}return s}}return aRe=n,aRe}var uRe,$jt;function XWn(){if($jt)return uRe;$jt=1;var n=JWn(),i=n();return uRe=i,uRe}var cRe,Bjt;function lWt(){if(Bjt)return cRe;Bjt=1;var n=XWn(),i=LR();function s(u,d){return u&&n(u,d,i)}return cRe=s,cRe}var lRe,Ujt;function ZWn(){if(Ujt)return lRe;Ujt=1;var n=OR();function i(s,u){return function(d,g){if(d==null)return d;if(!n(d))return s(d,g);for(var b=d.length,w=u?b:-1,E=Object(d);(u?w--:++w<b)&&g(E[w],w,E)!==!1;);return d}}return lRe=i,lRe}var dRe,Hjt;function Fae(){if(Hjt)return dRe;Hjt=1;var n=lWt(),i=ZWn(),s=i(n);return dRe=s,dRe}var fRe,zjt;function $ae(){if(zjt)return fRe;zjt=1;function n(i){return i}return fRe=n,fRe}var hRe,Gjt;function QWn(){if(Gjt)return hRe;Gjt=1;var n=$ae();function i(s){return typeof s=="function"?s:n}return hRe=i,hRe}var pRe,qjt;function eKn(){if(qjt)return pRe;qjt=1;var n=EMe(),i=Fae(),s=QWn(),u=ih();function d(g,b){var w=u(g)?n:i;return w(g,s(b))}return pRe=d,pRe}var gRe,Vjt;function tKn(){return Vjt||(Vjt=1,gRe=eKn()),gRe}var bRe,Wjt;function nKn(){if(Wjt)return bRe;Wjt=1;var n=Fae();function i(s,u){var d=[];return n(s,function(g,b,w){u(g,b,w)&&d.push(g)}),d}return bRe=i,bRe}var mRe,Kjt;function rKn(){if(Kjt)return mRe;Kjt=1;var n="__lodash_hash_undefined__";function i(s){return this.__data__.set(s,n),this}return mRe=i,mRe}var wRe,Yjt;function iKn(){if(Yjt)return wRe;Yjt=1;function n(i){return this.__data__.has(i)}return wRe=n,wRe}var yRe,Jjt;function dWt(){if(Jjt)return yRe;Jjt=1;var n=yMe(),i=rKn(),s=iKn();function u(d){var g=-1,b=d==null?0:d.length;for(this.__data__=new n;++g<b;)this.add(d[g])}return u.prototype.add=u.prototype.push=i,u.prototype.has=s,yRe=u,yRe}var vRe,Xjt;function oKn(){if(Xjt)return vRe;Xjt=1;function n(i,s){for(var u=-1,d=i==null?0:i.length;++u<d;)if(s(i[u],u,i))return!0;return!1}return vRe=n,vRe}var ERe,Zjt;function fWt(){if(Zjt)return ERe;Zjt=1;function n(i,s){return i.has(s)}return ERe=n,ERe}var SRe,Qjt;function hWt(){if(Qjt)return SRe;Qjt=1;var n=dWt(),i=oKn(),s=fWt(),u=1,d=2;function g(b,w,E,S,x,A){var C=E&u,R=b.length,D=w.length;if(R!=D&&!(C&&D>R))return!1;var L=A.get(b),B=A.get(w);if(L&&B)return L==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 ne=C?S(ee,G,$,w,b,A):S(G,ee,$,b,w,A);if(ne!==void 0){if(ne)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,e7t;function sKn(){if(e7t)return TRe;e7t=1;function n(i){var s=-1,u=Array(i.size);return i.forEach(function(d,g){u[++s]=[g,d]}),u}return TRe=n,TRe}var ARe,t7t;function RMe(){if(t7t)return ARe;t7t=1;function n(i){var s=-1,u=Array(i.size);return i.forEach(function(d){u[++s]=d}),u}return ARe=n,ARe}var _Re,n7t;function aKn(){if(n7t)return _Re;n7t=1;var n=zM(),i=aWt(),s=mMe(),u=hWt(),d=sKn(),g=RMe(),b=1,w=2,E="[object Boolean]",S="[object Date]",x="[object Error]",A="[object Map]",C="[object Number]",R="[object RegExp]",D="[object Set]",L="[object String]",B="[object Symbol]",$="[object ArrayBuffer]",j="[object DataView]",P=n?n.prototype:void 0,G=P?P.valueOf:void 0;function ee(ne,Q,ie,he,ge,ce,fe){switch(ie){case j:if(ne.byteLength!=Q.byteLength||ne.byteOffset!=Q.byteOffset)return!1;ne=ne.buffer,Q=Q.buffer;case $:return!(ne.byteLength!=Q.byteLength||!ce(new i(ne),new i(Q)));case E:case S:case C:return s(+ne,+Q);case x:return ne.name==Q.name&&ne.message==Q.message;case R:case L:return ne==Q+"";case A:var K=d;case D:var pe=he&b;if(K||(K=g),ne.size!=Q.size&&!pe)return!1;var Oe=fe.get(ne);if(Oe)return Oe==Q;he|=w,fe.set(ne,Q);var Se=u(K(ne),K(Q),he,ge,ce,fe);return fe.delete(ne),Se;case B:if(G)return G.call(ne)==G.call(Q)}return!1}return _Re=ee,_Re}var xRe,r7t;function uKn(){if(r7t)return xRe;r7t=1;var n=oWt(),i=1,s=Object.prototype,u=s.hasOwnProperty;function d(g,b,w,E,S,x){var A=w&i,C=n(g),R=C.length,D=n(b),L=D.length;if(R!=L&&!A)return!1;for(var B=R;B--;){var $=C[B];if(!(A?$ in b:u.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 ne=g[$],Q=b[$];if(E)var ie=A?E(Q,ne,$,b,g,x):E(ne,Q,$,g,b,x);if(!(ie===void 0?ne===Q||S(ne,Q,w,E,x):ie)){G=!1;break}ee||(ee=$=="constructor")}if(G&&!ee){var he=g.constructor,ge=b.constructor;he!=ge&&"constructor"in g&&"constructor"in b&&!(typeof he=="function"&&he instanceof he&&typeof ge=="function"&&ge instanceof ge)&&(G=!1)}return x.delete(g),x.delete(b),G}return xRe=d,xRe}var kRe,i7t;function cKn(){if(i7t)return kRe;i7t=1;var n=vMe(),i=hWt(),s=aKn(),u=uKn(),d=qM(),g=ih(),b=Mz(),w=Pae(),E=1,S="[object Arguments]",x="[object Array]",A="[object Object]",C=Object.prototype,R=C.hasOwnProperty;function D(L,B,$,j,P,G){var ee=g(L),ne=g(B),Q=ee?x:d(L),ie=ne?x:d(B);Q=Q==S?A:Q,ie=ie==S?A:ie;var he=Q==A,ge=ie==A,ce=Q==ie;if(ce&&b(L)){if(!b(B))return!1;ee=!0,he=!1}if(ce&&!he)return G||(G=new n),ee||w(L)?i(L,B,$,j,P,G):s(L,B,Q,$,j,P,G);if(!($&E)){var fe=he&&R.call(L,"__wrapped__"),K=ge&&R.call(B,"__wrapped__");if(fe||K){var pe=fe?L.value():L,Oe=K?B.value():B;return G||(G=new n),P(pe,Oe,$,j,G)}}return ce?(G||(G=new n),u(L,B,$,j,P,G)):!1}return kRe=D,kRe}var NRe,o7t;function pWt(){if(o7t)return NRe;o7t=1;var n=cKn(),i=xA();function s(u,d,g,b,w){return u===d?!0:u==null||d==null||!i(u)&&!i(d)?u!==u&&d!==d:n(u,d,g,b,s,w)}return NRe=s,NRe}var CRe,s7t;function lKn(){if(s7t)return CRe;s7t=1;var n=vMe(),i=pWt(),s=1,u=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],D=g[R],L=C[1];if(A&&C[2]){if(D===void 0&&!(R in g))return!1}else{var B=new n;if(E)var $=E(D,L,R,g,b,B);if(!($===void 0?i(L,D,s|u,E,B):$))return!1}}return!0}return CRe=d,CRe}var IRe,a7t;function gWt(){if(a7t)return IRe;a7t=1;var n=IR();function i(s){return s===s&&!n(s)}return IRe=i,IRe}var RRe,u7t;function dKn(){if(u7t)return RRe;u7t=1;var n=gWt(),i=LR();function s(u){for(var d=i(u),g=d.length;g--;){var b=d[g],w=u[b];d[g]=[b,w,n(w)]}return d}return RRe=s,RRe}var ORe,c7t;function bWt(){if(c7t)return ORe;c7t=1;function n(i,s){return function(u){return u==null?!1:u[i]===s&&(s!==void 0||i in Object(u))}}return ORe=n,ORe}var LRe,l7t;function fKn(){if(l7t)return LRe;l7t=1;var n=lKn(),i=dKn(),s=bWt();function u(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 LRe=u,LRe}var DRe,d7t;function OMe(){if(d7t)return DRe;d7t=1;var n=GM(),i=xA(),s="[object Symbol]";function u(d){return typeof d=="symbol"||i(d)&&n(d)==s}return DRe=u,DRe}var MRe,f7t;function LMe(){if(f7t)return MRe;f7t=1;var n=ih(),i=OMe(),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\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:u.test(g)||!s.test(g)||b!=null&&g in Object(b)}return MRe=d,MRe}var PRe,h7t;function hKn(){if(h7t)return PRe;h7t=1;var n=yMe(),i="Expected a function";function s(u,d){if(typeof u!="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=u.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,p7t;function pKn(){if(p7t)return jRe;p7t=1;var n=hKn(),i=500;function s(u){var d=n(u,function(b){return g.size===i&&g.clear(),b}),g=d.cache;return d}return jRe=s,jRe}var FRe,g7t;function gKn(){if(g7t)return FRe;g7t=1;var n=pKn(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,u=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=u,FRe}var $Re,b7t;function DMe(){if(b7t)return $Re;b7t=1;function n(i,s){for(var u=-1,d=i==null?0:i.length,g=Array(d);++u<d;)g[u]=s(i[u],u,i);return g}return $Re=n,$Re}var BRe,m7t;function bKn(){if(m7t)return BRe;m7t=1;var n=zM(),i=DMe(),s=ih(),u=OMe(),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(u(w))return g?g.call(w):"";var E=w+"";return E=="0"&&1/w==-1/0?"-0":E}return BRe=b,BRe}var URe,w7t;function mKn(){if(w7t)return URe;w7t=1;var n=bKn();function i(s){return s==null?"":n(s)}return URe=i,URe}var HRe,y7t;function mWt(){if(y7t)return HRe;y7t=1;var n=ih(),i=LMe(),s=gKn(),u=mKn();function d(g,b){return n(g)?g:i(g,b)?[g]:s(u(g))}return HRe=d,HRe}var zRe,v7t;function Bae(){if(v7t)return zRe;v7t=1;var n=OMe();function i(s){if(typeof s=="string"||n(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return zRe=i,zRe}var GRe,E7t;function wWt(){if(E7t)return GRe;E7t=1;var n=mWt(),i=Bae();function s(u,d){d=n(d,u);for(var g=0,b=d.length;u!=null&&g<b;)u=u[i(d[g++])];return g&&g==b?u:void 0}return GRe=s,GRe}var qRe,S7t;function wKn(){if(S7t)return qRe;S7t=1;var n=wWt();function i(s,u,d){var g=s==null?void 0:n(s,u);return g===void 0?d:g}return qRe=i,qRe}var VRe,T7t;function yKn(){if(T7t)return VRe;T7t=1;function n(i,s){return i!=null&&s in Object(i)}return VRe=n,VRe}var WRe,A7t;function yWt(){if(A7t)return WRe;A7t=1;var n=mWt(),i=Mae(),s=ih(),u=ZVt(),d=SMe(),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)&&u(R,A)&&(s(w)||i(w)))}return WRe=b,WRe}var KRe,_7t;function vKn(){if(_7t)return KRe;_7t=1;var n=yKn(),i=yWt();function s(u,d){return u!=null&&i(u,d,n)}return KRe=s,KRe}var YRe,x7t;function EKn(){if(x7t)return YRe;x7t=1;var n=pWt(),i=wKn(),s=vKn(),u=LMe(),d=gWt(),g=bWt(),b=Bae(),w=1,E=2;function S(x,A){return u(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,k7t;function vWt(){if(k7t)return JRe;k7t=1;function n(i){return function(s){return s==null?void 0:s[i]}}return JRe=n,JRe}var XRe,N7t;function SKn(){if(N7t)return XRe;N7t=1;var n=wWt();function i(s){return function(u){return n(u,s)}}return XRe=i,XRe}var ZRe,C7t;function TKn(){if(C7t)return ZRe;C7t=1;var n=vWt(),i=SKn(),s=LMe(),u=Bae();function d(g){return s(g)?n(u(g)):i(g)}return ZRe=d,ZRe}var QRe,I7t;function Uae(){if(I7t)return QRe;I7t=1;var n=fKn(),i=EKn(),s=$ae(),u=ih(),d=TKn();function g(b){return typeof b=="function"?b:b==null?s:typeof b=="object"?u(b)?i(b[0],b[1]):n(b):d(b)}return QRe=g,QRe}var eOe,R7t;function AKn(){if(R7t)return eOe;R7t=1;var n=tWt(),i=nKn(),s=Uae(),u=ih();function d(g,b){var w=u(g)?n:i;return w(g,s(b,3))}return eOe=d,eOe}var tOe,O7t;function _Kn(){if(O7t)return tOe;O7t=1;var n=Object.prototype,i=n.hasOwnProperty;function s(u,d){return u!=null&&i.call(u,d)}return tOe=s,tOe}var nOe,L7t;function xKn(){if(L7t)return nOe;L7t=1;var n=_Kn(),i=yWt();function s(u,d){return u!=null&&i(u,d,n)}return nOe=s,nOe}var rOe,D7t;function kKn(){if(D7t)return rOe;D7t=1;var n=_Me(),i=qM(),s=Mae(),u=ih(),d=OR(),g=Mz(),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)&&(u(R)||typeof R=="string"||typeof R.splice=="function"||g(R)||w(R)||s(R)))return!R.length;var D=i(R);if(D==E||D==S)return!R.size;if(b(R))return!n(R).length;for(var L in R)if(A.call(R,L))return!1;return!0}return rOe=C,rOe}var iOe,M7t;function NKn(){if(M7t)return iOe;M7t=1;function n(i){return i===void 0}return iOe=n,iOe}var oOe,P7t;function CKn(){if(P7t)return oOe;P7t=1;var n=Fae(),i=OR();function s(u,d){var g=-1,b=i(u)?Array(u.length):[];return n(u,function(w,E,S){b[++g]=d(w,E,S)}),b}return oOe=s,oOe}var sOe,j7t;function IKn(){if(j7t)return sOe;j7t=1;var n=DMe(),i=Uae(),s=CKn(),u=ih();function d(g,b){var w=u(g)?n:s;return w(g,i(b,3))}return sOe=d,sOe}var aOe,F7t;function RKn(){if(F7t)return aOe;F7t=1;function n(i,s,u,d){var g=-1,b=i==null?0:i.length;for(d&&b&&(u=i[++g]);++g<b;)u=s(u,i[g],g,i);return u}return aOe=n,aOe}var uOe,$7t;function OKn(){if($7t)return uOe;$7t=1;function n(i,s,u,d,g){return g(i,function(b,w,E){u=d?(d=!1,b):s(u,b,w,E)}),u}return uOe=n,uOe}var cOe,B7t;function LKn(){if(B7t)return cOe;B7t=1;var n=RKn(),i=Fae(),s=Uae(),u=OKn(),d=ih();function g(b,w,E){var S=d(b)?n:u,x=arguments.length<3;return S(b,s(w,4),E,x,i)}return cOe=g,cOe}var lOe,U7t;function DKn(){if(U7t)return lOe;U7t=1;var n=GM(),i=ih(),s=xA(),u="[object String]";function d(g){return typeof g=="string"||!i(g)&&s(g)&&n(g)==u}return lOe=d,lOe}var dOe,H7t;function MKn(){if(H7t)return dOe;H7t=1;var n=vWt(),i=n("length");return dOe=i,dOe}var fOe,z7t;function PKn(){if(z7t)return fOe;z7t=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",d=i+s+u,g="\\ufe0e\\ufe0f",b="\\u200d",w=RegExp("["+b+n+d+g+"]");function E(S){return w.test(S)}return fOe=E,fOe}var hOe,G7t;function jKn(){if(G7t)return hOe;G7t=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",d=i+s+u,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",D=S+"?",L="["+g+"]?",B="(?:"+R+"(?:"+[x,A,C].join("|")+")"+L+D+")*",$=L+D+B,j="(?:"+[x+w+"?",w,A,C,b].join("|")+")",P=RegExp(E+"(?="+E+")|"+j+$,"g");function G(ee){for(var ne=P.lastIndex=0;P.test(ee);)++ne;return ne}return hOe=G,hOe}var pOe,q7t;function FKn(){if(q7t)return pOe;q7t=1;var n=MKn(),i=PKn(),s=jKn();function u(d){return i(d)?s(d):n(d)}return pOe=u,pOe}var gOe,V7t;function $Kn(){if(V7t)return gOe;V7t=1;var n=_Me(),i=qM(),s=OR(),u=DKn(),d=FKn(),g="[object Map]",b="[object Set]";function w(E){if(E==null)return 0;if(s(E))return u(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,W7t;function BKn(){if(W7t)return bOe;W7t=1;var n=EMe(),i=uWt(),s=lWt(),u=Uae(),d=CMe(),g=ih(),b=Mz(),w=Rae(),E=IR(),S=Pae();function x(A,C,R){var D=g(A),L=D||b(A)||S(A);if(C=u(C,4),R==null){var B=A&&A.constructor;L?R=D?new B:[]:E(A)?R=w(B)?i(d(A)):{}:R={}}return(L?n:s)(A,function($,j,P){return C(R,$,j,P)}),R}return bOe=x,bOe}var mOe,K7t;function UKn(){if(K7t)return mOe;K7t=1;var n=zM(),i=Mae(),s=ih(),u=n?n.isConcatSpreadable:void 0;function d(g){return s(g)||i(g)||!!(u&&g&&g[u])}return mOe=d,mOe}var wOe,Y7t;function HKn(){if(Y7t)return wOe;Y7t=1;var n=NMe(),i=UKn();function s(u,d,g,b,w){var E=-1,S=u.length;for(g||(g=i),w||(w=[]);++E<S;){var x=u[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,J7t;function zKn(){if(J7t)return yOe;J7t=1;function n(i,s,u){switch(u.length){case 0:return i.call(s);case 1:return i.call(s,u[0]);case 2:return i.call(s,u[0],u[1]);case 3:return i.call(s,u[0],u[1],u[2])}return i.apply(s,u)}return yOe=n,yOe}var vOe,X7t;function GKn(){if(X7t)return vOe;X7t=1;var n=zKn(),i=Math.max;function s(u,d,g){return d=i(d===void 0?u.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(u,this,x)}}return vOe=s,vOe}var EOe,Z7t;function qKn(){if(Z7t)return EOe;Z7t=1;var n=cWt(),i=YVt(),s=$ae(),u=i?function(d,g){return i(d,"toString",{configurable:!0,enumerable:!1,value:n(g),writable:!0})}:s;return EOe=u,EOe}var SOe,Q7t;function VKn(){if(Q7t)return SOe;Q7t=1;var n=800,i=16,s=Date.now;function u(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=u,SOe}var TOe,eFt;function WKn(){if(eFt)return TOe;eFt=1;var n=qKn(),i=VKn(),s=i(n);return TOe=s,TOe}var AOe,tFt;function KKn(){if(tFt)return AOe;tFt=1;var n=$ae(),i=GKn(),s=WKn();function u(d,g){return s(i(d,g,n),d+"")}return AOe=u,AOe}var _Oe,nFt;function YKn(){if(nFt)return _Oe;nFt=1;function n(i,s,u,d){for(var g=i.length,b=u+(d?1:-1);d?b--:++b<g;)if(s(i[b],b,i))return b;return-1}return _Oe=n,_Oe}var xOe,rFt;function JKn(){if(rFt)return xOe;rFt=1;function n(i){return i!==i}return xOe=n,xOe}var kOe,iFt;function XKn(){if(iFt)return kOe;iFt=1;function n(i,s,u){for(var d=u-1,g=i.length;++d<g;)if(i[d]===s)return d;return-1}return kOe=n,kOe}var NOe,oFt;function ZKn(){if(oFt)return NOe;oFt=1;var n=YKn(),i=JKn(),s=XKn();function u(d,g,b){return g===g?s(d,g,b):n(d,i,b)}return NOe=u,NOe}var COe,sFt;function QKn(){if(sFt)return COe;sFt=1;var n=ZKn();function i(s,u){var d=s==null?0:s.length;return!!d&&n(s,u,0)>-1}return COe=i,COe}var IOe,aFt;function eYn(){if(aFt)return IOe;aFt=1;function n(i,s,u){for(var d=-1,g=i==null?0:i.length;++d<g;)if(u(s,i[d]))return!0;return!1}return IOe=n,IOe}var ROe,uFt;function tYn(){if(uFt)return ROe;uFt=1;function n(){}return ROe=n,ROe}var OOe,cFt;function nYn(){if(cFt)return OOe;cFt=1;var n=sWt(),i=tYn(),s=RMe(),u=1/0,d=n&&1/s(new n([,-0]))[1]==u?function(g){return new n(g)}:i;return OOe=d,OOe}var LOe,lFt;function rYn(){if(lFt)return LOe;lFt=1;var n=dWt(),i=QKn(),s=eYn(),u=fWt(),d=nYn(),g=RMe(),b=200;function w(E,S,x){var A=-1,C=i,R=E.length,D=!0,L=[],B=L;if(x)D=!1,C=s;else if(R>=b){var $=S?null:d(E);if($)return g($);D=!1,C=u,B=new n}else B=S?[]:L;e:for(;++A<R;){var j=E[A],P=S?S(j):j;if(j=x||j!==0?j:0,D&&P===P){for(var G=B.length;G--;)if(B[G]===P)continue e;S&&B.push(P),L.push(j)}else C(B,P,x)||(B!==L&&B.push(P),L.push(j))}return L}return LOe=w,LOe}var DOe,dFt;function iYn(){if(dFt)return DOe;dFt=1;var n=OR(),i=xA();function s(u){return i(u)&&n(u)}return DOe=s,DOe}var MOe,fFt;function oYn(){if(fFt)return MOe;fFt=1;var n=HKn(),i=KKn(),s=rYn(),u=iYn(),d=i(function(g){return s(n(g,1,u,!0))});return MOe=d,MOe}var POe,hFt;function sYn(){if(hFt)return POe;hFt=1;var n=DMe();function i(s,u){return n(u,function(d){return s[d]})}return POe=i,POe}var jOe,pFt;function aYn(){if(pFt)return jOe;pFt=1;var n=sYn(),i=LR();function s(u){return u==null?[]:n(u,i(u))}return jOe=s,jOe}var ase;if(typeof QU=="function")try{ase={clone:YWn(),constant:cWt(),each:tKn(),filter:AKn(),has:xKn(),isArray:ih(),isEmpty:kKn(),isFunction:Rae(),isUndefined:NKn(),keys:LR(),map:IKn(),reduce:LKn(),size:$Kn(),transform:BKn(),union:oYn(),values:aYn()}}catch{}ase||(ase=window._);var Cw=ase,Do=Cw,MMe=ys,uYn="\0",vR="\0",gFt="";function ys(n){this._isDirected=Do.has(n,"directed")?n.directed:!0,this._isMultigraph=Do.has(n,"multigraph")?n.multigraph:!1,this._isCompound=Do.has(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Do.constant(void 0),this._defaultEdgeLabelFn=Do.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 Do.isFunction(n)||(n=Do.constant(n)),this._defaultNodeLabelFn=n,this};ys.prototype.nodeCount=function(){return this._nodeCount};ys.prototype.nodes=function(){return Do.keys(this._nodes)};ys.prototype.sources=function(){var n=this;return Do.filter(this.nodes(),function(i){return Do.isEmpty(n._in[i])})};ys.prototype.sinks=function(){var n=this;return Do.filter(this.nodes(),function(i){return Do.isEmpty(n._out[i])})};ys.prototype.setNodes=function(n,i){var s=arguments,u=this;return Do.each(n,function(d){s.length>1?u.setNode(d,i):u.setNode(d)}),this};ys.prototype.setNode=function(n,i){return Do.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 Do.has(this._nodes,n)};ys.prototype.removeNode=function(n){var i=this;if(Do.has(this._nodes,n)){var s=function(u){i.removeEdge(i._edgeObjs[u])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],Do.each(this.children(n),function(u){i.setParent(u)}),delete this._children[n]),Do.each(Do.keys(this._in[n]),s),delete this._in[n],delete this._preds[n],Do.each(Do.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(Do.isUndefined(i))i=vR;else{i+="";for(var s=i;!Do.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(Do.isUndefined(n)&&(n=vR),this._isCompound){var i=this._children[n];if(i)return Do.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 Do.keys(i)};ys.prototype.successors=function(n){var i=this._sucs[n];if(i)return Do.keys(i)};ys.prototype.neighbors=function(n){var i=this.predecessors(n);if(i)return Do.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;Do.each(this._nodes,function(g,b){n(b)&&i.setNode(b,g)}),Do.each(this._edgeObjs,function(g){i.hasNode(g.v)&&i.hasNode(g.w)&&i.setEdge(g,s.edge(g))});var u={};function d(g){var b=s.parent(g);return b===void 0||i.hasNode(b)?(u[g]=b,b):b in u?u[b]:d(b)}return this._isCompound&&Do.each(i.nodes(),function(g){i.setParent(g,d(g))}),i};ys.prototype.setDefaultEdgeLabel=function(n){return Do.isFunction(n)||(n=Do.constant(n)),this._defaultEdgeLabelFn=n,this};ys.prototype.edgeCount=function(){return this._edgeCount};ys.prototype.edges=function(){return Do.values(this._edgeObjs)};ys.prototype.setPath=function(n,i){var s=this,u=arguments;return Do.reduce(n,function(d,g){return u.length>1?s.setEdge(d,g,i):s.setEdge(d,g),g}),this};ys.prototype.setEdge=function(){var n,i,s,u,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&&(u=arguments[1],d=!0)):(n=g,i=arguments[1],s=arguments[3],arguments.length>2&&(u=arguments[2],d=!0)),n=""+n,i=""+i,Do.isUndefined(s)||(s=""+s);var b=Pz(this._isDirected,n,i,s);if(Do.has(this._edgeLabels,b))return d&&(this._edgeLabels[b]=u),this;if(!Do.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?u:this._defaultEdgeLabelFn(n,i,s);var w=cYn(this._isDirected,n,i,s);return n=w.v,i=w.w,Object.freeze(w),this._edgeObjs[b]=w,bFt(this._preds[i],n),bFt(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 u=arguments.length===1?PMe(this._isDirected,arguments[0]):Pz(this._isDirected,n,i,s);return this._edgeLabels[u]};ys.prototype.hasEdge=function(n,i,s){var u=arguments.length===1?PMe(this._isDirected,arguments[0]):Pz(this._isDirected,n,i,s);return Do.has(this._edgeLabels,u)};ys.prototype.removeEdge=function(n,i,s){var u=arguments.length===1?PMe(this._isDirected,arguments[0]):Pz(this._isDirected,n,i,s),d=this._edgeObjs[u];return d&&(n=d.v,i=d.w,delete this._edgeLabels[u],delete this._edgeObjs[u],mFt(this._preds[i],n),mFt(this._sucs[n],i),delete this._in[i][u],delete this._out[n][u],this._edgeCount--),this};ys.prototype.inEdges=function(n,i){var s=this._in[n];if(s){var u=Do.values(s);return i?Do.filter(u,function(d){return d.v===i}):u}};ys.prototype.outEdges=function(n,i){var s=this._out[n];if(s){var u=Do.values(s);return i?Do.filter(u,function(d){return d.w===i}):u}};ys.prototype.nodeEdges=function(n,i){var s=this.inEdges(n,i);if(s)return s.concat(this.outEdges(n,i))};function bFt(n,i){n[i]?n[i]++:n[i]=1}function mFt(n,i){--n[i]||delete n[i]}function Pz(n,i,s,u){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}return d+gFt+g+gFt+(Do.isUndefined(u)?uYn:u)}function cYn(n,i,s,u){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}var w={v:d,w:g};return u&&(w.name=u),w}function PMe(n,i){return Pz(n,i.v,i.w,i.name)}var lYn="2.1.8",dYn={Graph:MMe,version:lYn},B2=Cw,fYn=MMe,hYn={write:pYn,read:mYn};function pYn(n){var i={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:gYn(n),edges:bYn(n)};return B2.isUndefined(n.graph())||(i.value=B2.clone(n.graph())),i}function gYn(n){return B2.map(n.nodes(),function(i){var s=n.node(i),u=n.parent(i),d={v:i};return B2.isUndefined(s)||(d.value=s),B2.isUndefined(u)||(d.parent=u),d})}function bYn(n){return B2.map(n.edges(),function(i){var s=n.edge(i),u={v:i.v,w:i.w};return B2.isUndefined(i.name)||(u.name=i.name),B2.isUndefined(s)||(u.value=s),u})}function mYn(n){var i=new fYn(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 Oie=Cw,wYn=yYn;function yYn(n){var i={},s=[],u;function d(g){Oie.has(i,g)||(i[g]=!0,u.push(g),Oie.each(n.successors(g),d),Oie.each(n.predecessors(g),d))}return Oie.each(n.nodes(),function(g){u=[],d(g),u.length&&s.push(u)}),s}var EWt=Cw,SWt=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 EWt.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),!EWt.has(s,n)){var u=this._arr,d=u.length;return s[n]=d,u.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,u=s+1,d=n;s<i.length&&(d=i[s].priority<i[d].priority?s:d,u<i.length&&(d=i[u].priority<i[d].priority?u:d),d!==n&&(this._swap(n,d),this._heapify(d)))};Iw.prototype._decrease=function(n){for(var i=this._arr,s=i[n].priority,u;n!==0&&(u=n>>1,!(i[u].priority<s));)this._swap(n,u),n=u};Iw.prototype._swap=function(n,i){var s=this._arr,u=this._keyIndices,d=s[n],g=s[i];s[n]=g,s[i]=d,u[g.key]=n,u[d.key]=i};var vYn=Cw,EYn=SWt,TWt=TYn,SYn=vYn.constant(1);function TYn(n,i,s,u){return AYn(n,String(i),s||SYn,u||function(d){return n.outEdges(d)})}function AYn(n,i,s,u){var d={},g=new EYn,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);)u(b).forEach(E);return d}var _Yn=TWt,xYn=Cw,kYn=NYn;function NYn(n,i,s){return xYn.transform(n.nodes(),function(u,d){u[d]=_Yn(n,d,i,s)},{})}var wFt=Cw,AWt=CYn;function CYn(n){var i=0,s=[],u={},d=[];function g(b){var w=u[b]={onStack:!0,lowlink:i,index:i++};if(s.push(b),n.successors(b).forEach(function(x){wFt.has(u,x)?u[x].onStack&&(w.lowlink=Math.min(w.lowlink,u[x].index)):(g(x),w.lowlink=Math.min(w.lowlink,u[x].lowlink))}),w.lowlink===w.index){var E=[],S;do S=s.pop(),u[S].onStack=!1,E.push(S);while(b!==S);d.push(E)}}return n.nodes().forEach(function(b){wFt.has(u,b)||g(b)}),d}var IYn=Cw,RYn=AWt,OYn=LYn;function LYn(n){return IYn.filter(RYn(n),function(i){return i.length>1||i.length===1&&n.hasEdge(i[0],i[0])})}var DYn=Cw,MYn=jYn,PYn=DYn.constant(1);function jYn(n,i,s){return FYn(n,i||PYn,s||function(u){return n.outEdges(u)})}function FYn(n,i,s){var u={},d=n.nodes();return d.forEach(function(g){u[g]={},u[g][g]={distance:0},d.forEach(function(b){g!==b&&(u[g][b]={distance:Number.POSITIVE_INFINITY})}),s(g).forEach(function(b){var w=b.v===g?b.w:b.v,E=i(b);u[g][w]={distance:E,predecessor:g}})}),d.forEach(function(g){var b=u[g];d.forEach(function(w){var E=u[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)})})}),u}var zU=Cw,_Wt=xWt;xWt.CycleException=use;function xWt(n){var i={},s={},u=[];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],u.push(g))}if(zU.each(n.sinks(),d),zU.size(i)!==n.nodeCount())throw new use;return u}function use(){}use.prototype=new Error;var yFt=_Wt,$Yn=BYn;function BYn(n){try{yFt(n)}catch(i){if(i instanceof yFt.CycleException)return!1;throw i}return!0}var cse=Cw,kWt=UYn;function UYn(n,i,s){cse.isArray(i)||(i=[i]);var u=(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);NWt(n,b,s==="post",g,u,d)}),d}function NWt(n,i,s,u,d,g){cse.has(u,i)||(u[i]=!0,s||g.push(i),cse.each(d(i),function(b){NWt(n,b,s,u,d,g)}),s&&g.push(i))}var HYn=kWt,zYn=GYn;function GYn(n,i){return HYn(n,i,"post")}var qYn=kWt,VYn=WYn;function WYn(n,i){return qYn(n,i,"pre")}var vFt=Cw,KYn=MMe,YYn=SWt,JYn=XYn;function XYn(n,i){var s=new KYn,u={},d=new YYn,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&&(u[S]=g,d.decrease(S,A))}}if(n.nodeCount()===0)return s;vFt.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(),vFt.has(u,g))s.setEdge(g,u[g]);else{if(w)throw new Error("Input graph is not connected: "+n);w=!0}n.nodeEdges(g).forEach(b)}return s}var ZYn={components:wYn,dijkstra:TWt,dijkstraAll:kYn,findCycles:OYn,floydWarshall:MYn,isAcyclic:$Yn,postorder:zYn,preorder:VYn,prim:JYn,tarjan:AWt,topsort:_Wt},EFt=dYn,QYn={Graph:EFt.Graph,json:hYn,alg:ZYn,version:EFt.version};const eJn=TR(QYn),{Graph:tJn,alg:SFt}=eJn;function CWt(n){const i=new Set,s=new Set,u=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),u.add(E);for(const S of d.get(E)||[])u.has(S.target)?i.add(S.id):s.has(S.target)||w(S.target);u.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 nJn(n){const i=new tJn({directed:!0}),s=CWt(n),u=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 $=u.get(B.source),j=u.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=!SFt.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=SFt.topsort(i)}catch{x=null}const A=rJn(i,b,x),C=sJn(b),R=oJn(i,b),D=!w&&!A&&!C&&!R,L=D?"native":"state-machine";return{isTree:D,hasCycles:w,hasMultipleEntryPoints:E.length>1,hasCrossLinks:A,hasConvergingPaths:C,hasDivergentTriggerPaths:R,entryNodes:E,exitNodes:S,topologicalOrder:x,recommendedStrategy:L}}function rJn(n,i,s){if(!s||s.length===0)return!1;const u=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(u.has(x))continue;u.set(x,A);const C=n.successors(x)||[];for(const R of C)u.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(L=>L.source===x).some(L=>L.sourceHandle==="true"||L.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=u.get(x.source),C=u.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&&iJn(i,x.source,b))continue;return!0}}}return!1}function iJn(n,i,s){const u=new Set,d=[i];for(;d.length>0;){const g=d.shift();if(u.has(g))continue;if(u.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)u.has(w)||d.push(w)}return!1}function oJn(n,i){const s=i.nodes.filter(b=>b.type==="trigger");if(s.length<=1)return!1;const u=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=u[0];for(let b=1;b<u.length;b++){const w=u[b];if(g.size!==w.size)return!0;for(const E of g)if(!w.has(E))return!0}return!1}function sJn(n){const i=new Map;for(const u of n.edges){const d=i.get(u.target)||0;i.set(u.target,d+1)}const s=new Map;for(const u of n.edges){const d=s.get(u.source)||[];d.push(u.target),s.set(u.source,d)}for(const[u,d]of i)if(d>1){const g=n.edges.filter(w=>w.target===u),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(!aJn(n,[...b],s,u))return!0}}return!1}function aJn(n,i,s,u){const d=n.edges.filter(L=>L.target===u),g=i.every(L=>{const B=n.nodes.find($=>$.id===L);return(B==null?void 0:B.type)==="condition"}),b=d.every(L=>L.sourceHandle==="true"),w=d.every(L=>L.sourceHandle==="false");if(g&&(b||w))return!0;const E=L=>n.edges.filter(B=>B.target===L).map(B=>B.source),S=(L,B)=>{if(B.has(L))return null;B.add(L);const $=n.nodes.find(ee=>ee.id===L);if(($==null?void 0:$.type)==="condition")return L;const j=n.edges.filter(ee=>ee.target===L);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 L of i){const B=S(L,new Set);if(B)x.add(B);else{A=!1;break}}if(A&&x.size===1)return!0;const C=L=>{const B=n.nodes.find(P=>P.id===L);if((B==null?void 0:B.type)==="condition")return!1;const $=n.edges.filter(P=>P.source===L);return $.some(P=>P.sourceHandle==="true"||P.sourceHandle==="false")?!1:$.length>1},R=(L,B)=>{if(B.has(L))return null;B.add(L);const $=E(L);if($.length===0||$.length>1)return null;const j=$[0];return C(j)?j:R(j,B)},D=new Set;for(const L of i){const B=E(L);if(B.length===1){const j=B[0];if(C(j)){D.add(j);continue}}const $=R(L,new Set);if($)D.add($);else return!1}return D.size===1}function uJn(n){const i=[];let s;try{s=zVt.parse(n)}catch(g){if(g instanceof cqn)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 u=GVt(s);if(!u.valid)for(const g of u.errors)i.push({code:"STRUCTURAL_ERROR",message:g});const d=cJn(s);return i.push(...d),{success:i.length===0,graph:i.length===0?s:void 0,errors:i}}function cJn(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 u=n.nodes.filter(w=>w.type==="action");for(const w of u)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 IWt(n){return typeof n>"u"||n===null}function lJn(n){return typeof n=="object"&&n!==null}function dJn(n){return Array.isArray(n)?n:IWt(n)?[]:[n]}function fJn(n,i){var s,u,d,g;if(i)for(g=Object.keys(i),s=0,u=g.length;s<u;s+=1)d=g[s],n[d]=i[d];return n}function hJn(n,i){var s="",u;for(u=0;u<i;u+=1)s+=n;return s}function pJn(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var gJn=IWt,bJn=lJn,mJn=dJn,wJn=hJn,yJn=pJn,vJn=fJn,vf={isNothing:gJn,isObject:bJn,toArray:mJn,repeat:wJn,isNegativeZero:yJn,extend:vJn};function RWt(n,i){var s="",u=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),u+" "+s):u}function az(n,i){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=i,this.message=RWt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}az.prototype=Object.create(Error.prototype);az.prototype.constructor=az;az.prototype.toString=function(i){return this.name+": "+RWt(this,i)};var ib=az;function FOe(n,i,s,u,d){var g="",b="",w=Math.floor(d/2)-1;return u-i>w&&(g=" ... ",i=u-w+g.length),s-u>w&&(b=" ...",s=u+w-b.length),{str:g+n.slice(i,s).replace(/\t/g,"→")+b,pos:u-i+g.length}}function $Oe(n,i){return vf.repeat(" ",i-n.length)+n}function EJn(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,u=[0],d=[],g,b=-1;g=s.exec(n.buffer);)d.push(g.index),u.push(g.index+g[0].length),n.position<=g.index&&b<0&&(b=u.length-2);b<0&&(b=u.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,u[b-E],d[b-E],n.position-(u[b]-u[b-E]),A),w=vf.repeat(" ",i.indent)+$Oe((n.line-E+1).toString(),x)+" | "+S.str+`
`+w;for(S=FOe(n.buffer,u[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,u[b+E],d[b+E],n.position-(u[b]-u[b+E]),A),w+=vf.repeat(" ",i.indent)+$Oe((n.line+E+1).toString(),x)+" | "+S.str+`
`;return w.replace(/\n$/,"")}var SJn=EJn,TJn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],AJn=["scalar","sequence","mapping"];function _Jn(n){var i={};return n!==null&&Object.keys(n).forEach(function(s){n[s].forEach(function(u){i[String(u)]=s})}),i}function xJn(n,i){if(i=i||{},Object.keys(i).forEach(function(s){if(TJn.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=_Jn(i.styleAliases||null),AJn.indexOf(this.kind)===-1)throw new ib('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var Bp=xJn;function TFt(n,i){var s=[];return n[i].forEach(function(u){var d=s.length;s.forEach(function(g,b){g.tag===u.tag&&g.kind===u.kind&&g.multi===u.multi&&(d=b)}),s[d]=u}),s}function kJn(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},i,s;function u(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(u);return n}function jLe(n){return this.extend(n)}jLe.prototype.extend=function(i){var s=[],u=[];if(i instanceof Bp)u.push(i);else if(Array.isArray(i))u=u.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(s=s.concat(i.implicit)),i.explicit&&(u=u.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.")}),u.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(jLe.prototype);return d.implicit=(this.implicit||[]).concat(s),d.explicit=(this.explicit||[]).concat(u),d.compiledImplicit=TFt(d,"implicit"),d.compiledExplicit=TFt(d,"explicit"),d.compiledTypeMap=kJn(d.compiledImplicit,d.compiledExplicit),d};var NJn=jLe,CJn=new Bp("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),IJn=new Bp("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),RJn=new Bp("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),OJn=new NJn({explicit:[CJn,IJn,RJn]});function LJn(n){if(n===null)return!0;var i=n.length;return i===1&&n==="~"||i===4&&(n==="null"||n==="Null"||n==="NULL")}function DJn(){return null}function MJn(n){return n===null}var PJn=new Bp("tag:yaml.org,2002:null",{kind:"scalar",resolve:LJn,construct:DJn,predicate:MJn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function jJn(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 FJn(n){return n==="true"||n==="True"||n==="TRUE"}function $Jn(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var BJn=new Bp("tag:yaml.org,2002:bool",{kind:"scalar",resolve:jJn,construct:FJn,predicate:$Jn,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 UJn(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function HJn(n){return 48<=n&&n<=55}function zJn(n){return 48<=n&&n<=57}function GJn(n){if(n===null)return!1;var i=n.length,s=0,u=!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;u=!0}return u&&d!=="_"}if(d==="x"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!UJn(n.charCodeAt(s)))return!1;u=!0}return u&&d!=="_"}if(d==="o"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!HJn(n.charCodeAt(s)))return!1;u=!0}return u&&d!=="_"}}if(d==="_")return!1;for(;s<i;s++)if(d=n[s],d!=="_"){if(!zJn(n.charCodeAt(s)))return!1;u=!0}return!(!u||d==="_")}function qJn(n){var i=n,s=1,u;if(i.indexOf("_")!==-1&&(i=i.replace(/_/g,"")),u=i[0],(u==="-"||u==="+")&&(u==="-"&&(s=-1),i=i.slice(1),u=i[0]),i==="0")return 0;if(u==="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 VJn(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!vf.isNegativeZero(n)}var WJn=new Bp("tag:yaml.org,2002:int",{kind:"scalar",resolve:GJn,construct:qJn,predicate:VJn,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"]}}),KJn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function YJn(n){return!(n===null||!KJn.test(n)||n[n.length-1]==="_")}function JJn(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 XJn=/^[-+]?[0-9]+e/;function ZJn(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),XJn.test(s)?s.replace("e",".e"):s}function QJn(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||vf.isNegativeZero(n))}var eXn=new Bp("tag:yaml.org,2002:float",{kind:"scalar",resolve:YJn,construct:JJn,predicate:QJn,represent:ZJn,defaultStyle:"lowercase"}),tXn=OJn.extend({implicit:[PJn,BJn,WJn,eXn]}),nXn=tXn,OWt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),LWt=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 rXn(n){return n===null?!1:OWt.exec(n)!==null||LWt.exec(n)!==null}function iXn(n){var i,s,u,d,g,b,w,E=0,S=null,x,A,C;if(i=OWt.exec(n),i===null&&(i=LWt.exec(n)),i===null)throw new Error("Date resolve error");if(s=+i[1],u=+i[2]-1,d=+i[3],!i[4])return new Date(Date.UTC(s,u,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,u,d,g,b,w,E)),S&&C.setTime(C.getTime()-S),C}function oXn(n){return n.toISOString()}var sXn=new Bp("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:rXn,construct:iXn,instanceOf:Date,represent:oXn});function aXn(n){return n==="<<"||n===null}var uXn=new Bp("tag:yaml.org,2002:merge",{kind:"scalar",resolve:aXn}),jMe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function cXn(n){if(n===null)return!1;var i,s,u=0,d=n.length,g=jMe;for(s=0;s<d;s++)if(i=g.indexOf(n.charAt(s)),!(i>64)){if(i<0)return!1;u+=6}return u%8===0}function lXn(n){var i,s,u=n.replace(/[\r\n=]/g,""),d=u.length,g=jMe,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(u.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 dXn(n){var i="",s=0,u,d,g=n.length,b=jMe;for(u=0;u<g;u++)u%3===0&&u&&(i+=b[s>>18&63],i+=b[s>>12&63],i+=b[s>>6&63],i+=b[s&63]),s=(s<<8)+n[u];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 fXn(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var hXn=new Bp("tag:yaml.org,2002:binary",{kind:"scalar",resolve:cXn,construct:lXn,predicate:fXn,represent:dXn}),pXn=Object.prototype.hasOwnProperty,gXn=Object.prototype.toString;function bXn(n){if(n===null)return!0;var i=[],s,u,d,g,b,w=n;for(s=0,u=w.length;s<u;s+=1){if(d=w[s],b=!1,gXn.call(d)!=="[object Object]")return!1;for(g in d)if(pXn.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 mXn(n){return n!==null?n:[]}var wXn=new Bp("tag:yaml.org,2002:omap",{kind:"sequence",resolve:bXn,construct:mXn}),yXn=Object.prototype.toString;function vXn(n){if(n===null)return!0;var i,s,u,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1){if(u=b[i],yXn.call(u)!=="[object Object]"||(d=Object.keys(u),d.length!==1))return!1;g[i]=[d[0],u[d[0]]]}return!0}function EXn(n){if(n===null)return[];var i,s,u,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1)u=b[i],d=Object.keys(u),g[i]=[d[0],u[d[0]]];return g}var SXn=new Bp("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:vXn,construct:EXn}),TXn=Object.prototype.hasOwnProperty;function AXn(n){if(n===null)return!0;var i,s=n;for(i in s)if(TXn.call(s,i)&&s[i]!==null)return!1;return!0}function _Xn(n){return n!==null?n:{}}var xXn=new Bp("tag:yaml.org,2002:set",{kind:"mapping",resolve:AXn,construct:_Xn}),DWt=nXn.extend({implicit:[sXn,uXn],explicit:[hXn,wXn,SXn,xXn]}),bN=Object.prototype.hasOwnProperty,lse=1,MWt=2,PWt=3,dse=4,BOe=1,kXn=2,AFt=3,NXn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,CXn=/[\x85\u2028\u2029]/,IXn=/[,\[\]\{\}]/,jWt=/^(?:!|!!|![a-z\-]+!)$/i,FWt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _Ft(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 RXn(n){var i;return 48<=n&&n<=57?n-48:(i=n|32,97<=i&&i<=102?i-97+10:-1)}function OXn(n){return n===120?2:n===117?4:n===85?8:0}function LXn(n){return 48<=n&&n<=57?n-48:-1}function xFt(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 DXn(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}function $Wt(n,i,s){i==="__proto__"?Object.defineProperty(n,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):n[i]=s}var BWt=new Array(256),UWt=new Array(256);for(var E5=0;E5<256;E5++)BWt[E5]=xFt(E5)?1:0,UWt[E5]=xFt(E5);function MXn(n,i){this.input=n,this.filename=i.filename||null,this.schema=i.schema||DWt,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 HWt(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=SJn(s),new ib(i,s)}function Ni(n,i){throw HWt(n,i)}function fse(n,i){n.onWarning&&n.onWarning.call(null,HWt(n,i))}var kFt={YAML:function(i,s,u){var d,g,b;i.version!==null&&Ni(i,"duplication of %YAML directive"),u.length!==1&&Ni(i,"YAML directive accepts exactly one argument"),d=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),d===null&&Ni(i,"ill-formed argument of the YAML directive"),g=parseInt(d[1],10),b=parseInt(d[2],10),g!==1&&Ni(i,"unacceptable YAML version of the document"),i.version=u[0],i.checkLineBreaks=b<2,b!==1&&b!==2&&fse(i,"unsupported YAML version of the document")},TAG:function(i,s,u){var d,g;u.length!==2&&Ni(i,"TAG directive accepts exactly two arguments"),d=u[0],g=u[1],jWt.test(d)||Ni(i,"ill-formed tag handle (first argument) of the TAG directive"),bN.call(i.tagMap,d)&&Ni(i,'there is a previously declared suffix for "'+d+'" tag handle'),FWt.test(g)||Ni(i,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{Ni(i,"tag prefix is malformed: "+g)}i.tagMap[d]=g}};function eN(n,i,s,u){var d,g,b,w;if(i<s){if(w=n.input.slice(i,s),u)for(d=0,g=w.length;d<g;d+=1)b=w.charCodeAt(d),b===9||32<=b&&b<=1114111||Ni(n,"expected valid JSON character");else NXn.test(w)&&Ni(n,"the stream contains non-printable characters");n.result+=w}}function NFt(n,i,s,u){var d,g,b,w;for(vf.isObject(s)||Ni(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)||($Wt(i,g,s[g]),u[g]=!0)}function W5(n,i,s,u,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])&&Ni(n,"nested arrays are not supported inside keys"),typeof d=="object"&&_Ft(d[S])==="[object Object]"&&(d[S]="[object Object]");if(typeof d=="object"&&_Ft(d)==="[object Object]"&&(d="[object Object]"),d=String(d),i===null&&(i={}),u==="tag:yaml.org,2002:merge")if(Array.isArray(g))for(S=0,x=g.length;S<x;S+=1)NFt(n,i,g[S],s);else NFt(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,Ni(n,"duplicated mapping key")),$Wt(i,d,g),delete s[d];return i}function FMe(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++):Ni(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function $d(n,i,s){for(var u=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(FMe(n),d=n.input.charCodeAt(n.position),u++,n.lineIndent=0;d===32;)n.lineIndent++,d=n.input.charCodeAt(++n.position);else break}return s!==-1&&u!==0&&n.lineIndent<s&&fse(n,"deficient indentation"),u}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 $Me(n,i){i===1?n.result+=" ":i>1&&(n.result+=vf.repeat(`
`,i-1))}function PXn(n,i,s){var u,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(u=n.input.charCodeAt(n.position-1),ub(u))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),$Me(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 jXn(n,i){var s,u,d;if(s=n.input.charCodeAt(n.position),s!==39)return!1;for(n.kind="scalar",n.result="",n.position++,u=d=n.position;(s=n.input.charCodeAt(n.position))!==0;)if(s===39)if(eN(n,u,n.position,!0),s=n.input.charCodeAt(++n.position),s===39)u=n.position,n.position++,d=n.position;else return!0;else U2(s)?(eN(n,u,d,!0),$Me(n,$d(n,!1,i)),u=d=n.position):n.position===n.lineStart&&Hae(n)?Ni(n,"unexpected end of the document within a single quoted scalar"):(n.position++,d=n.position);Ni(n,"unexpected end of the stream within a single quoted scalar")}function FXn(n,i){var s,u,d,g,b,w;if(w=n.input.charCodeAt(n.position),w!==34)return!1;for(n.kind="scalar",n.result="",n.position++,s=u=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&&BWt[w])n.result+=UWt[w],n.position++;else if((b=OXn(w))>0){for(d=b,g=0;d>0;d--)w=n.input.charCodeAt(++n.position),(b=RXn(w))>=0?g=(g<<4)+b:Ni(n,"expected hexadecimal character");n.result+=DXn(g),n.position++}else Ni(n,"unknown escape sequence");s=u=n.position}else U2(w)?(eN(n,s,u,!0),$Me(n,$d(n,!1,i)),s=u=n.position):n.position===n.lineStart&&Hae(n)?Ni(n,"unexpected end of the document within a double quoted scalar"):(n.position++,u=n.position)}Ni(n,"unexpected end of the stream within a double quoted scalar")}function $Xn(n,i){var s=!0,u,d,g,b=n.tag,w,E=n.anchor,S,x,A,C,R,D=Object.create(null),L,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&&Ni(n,"expected the node content, but found ','"):Ni(n,"missed comma between flow collection entries"),B=L=$=null,A=C=!1,j===63&&(S=n.input.charCodeAt(n.position+1),ub(S)&&(A=C=!0,n.position++,$d(n,!0,i))),u=n.line,d=n.lineStart,g=n.position,IM(n,i,lse,!1,!0),B=n.tag,L=n.result,$d(n,!0,i),j=n.input.charCodeAt(n.position),(C||n.line===u)&&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,D,B,L,$,u,d,g):A?w.push(W5(n,null,D,B,L,$,u,d,g)):w.push(L),$d(n,!0,i),j=n.input.charCodeAt(n.position),j===44?(s=!0,j=n.input.charCodeAt(++n.position)):s=!1}Ni(n,"unexpected end of the stream within a flow collection")}function BXn(n,i){var s,u,d=BOe,g=!1,b=!1,w=i,E=0,S=!1,x,A;if(A=n.input.charCodeAt(n.position),A===124)u=!1;else if(A===62)u=!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?AFt:kXn:Ni(n,"repeat of a chomping mode identifier");else if((x=LXn(A))>=0)x===0?Ni(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?Ni(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(FMe(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===AFt?n.result+=vf.repeat(`
`,g?1+E:E):d===BOe&&g&&(n.result+=`
`);break}for(u?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 CFt(n,i){var s,u=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,Ni(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,PWt,!1,!0),g.push(n.result),$d(n,!0,-1),E=n.input.charCodeAt(n.position),(n.line===s||n.lineIndent>i)&&E!==0)Ni(n,"bad indentation of a sequence entry");else if(n.lineIndent<i)break}return w?(n.tag=u,n.anchor=d,n.kind="sequence",n.result=g,!0):!1}function UXn(n,i,s){var u,d,g,b,w,E,S=n.tag,x=n.anchor,A={},C=Object.create(null),R=null,D=null,L=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,Ni(n,"tab characters must not be used in indentation")),u=n.input.charCodeAt(n.position+1),g=n.line,(j===63||j===58)&&ub(u))j===63?(B&&(W5(n,A,C,R,D,null,b,w,E),R=D=L=null),$=!0,B=!0,d=!0):B?(B=!1,d=!0):Ni(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,j=u;else{if(b=n.line,w=n.lineStart,E=n.position,!IM(n,s,MWt,!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)||Ni(n,"a whitespace character is expected after the key-value separator within a block mapping"),B&&(W5(n,A,C,R,D,null,b,w,E),R=D=L=null),$=!0,B=!1,d=!1,R=n.tag,D=n.result;else if($)Ni(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=S,n.anchor=x,!0}else if($)Ni(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?D=n.result:L=n.result),B||(W5(n,A,C,R,D,L,b,w,E),R=D=L=null),$d(n,!0,-1),j=n.input.charCodeAt(n.position)),(n.line===g||n.lineIndent>i)&&j!==0)Ni(n,"bad indentation of a mapping entry");else if(n.lineIndent<i)break}return B&&W5(n,A,C,R,D,null,b,w,E),$&&(n.tag=S,n.anchor=x,n.kind="mapping",n.result=A),$}function HXn(n){var i,s=!1,u=!1,d,g,b;if(b=n.input.charCodeAt(n.position),b!==33)return!1;if(n.tag!==null&&Ni(n,"duplication of a tag property"),b=n.input.charCodeAt(++n.position),b===60?(s=!0,b=n.input.charCodeAt(++n.position)):b===33?(u=!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)):Ni(n,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!ub(b);)b===33&&(u?Ni(n,"tag suffix cannot contain exclamation marks"):(d=n.input.slice(i-1,n.position+1),jWt.test(d)||Ni(n,"named tag handle cannot contain such characters"),u=!0,i=n.position+1)),b=n.input.charCodeAt(++n.position);g=n.input.slice(i,n.position),IXn.test(g)&&Ni(n,"tag suffix cannot contain flow indicator characters")}g&&!FWt.test(g)&&Ni(n,"tag name cannot contain such characters: "+g);try{g=decodeURIComponent(g)}catch{Ni(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:Ni(n,'undeclared tag handle "'+d+'"'),!0}function zXn(n){var i,s;if(s=n.input.charCodeAt(n.position),s!==38)return!1;for(n.anchor!==null&&Ni(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&&Ni(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(i,n.position),!0}function GXn(n){var i,s,u;if(u=n.input.charCodeAt(n.position),u!==42)return!1;for(u=n.input.charCodeAt(++n.position),i=n.position;u!==0&&!ub(u)&&!V5(u);)u=n.input.charCodeAt(++n.position);return n.position===i&&Ni(n,"name of an alias node must contain at least one character"),s=n.input.slice(i,n.position),bN.call(n.anchorMap,s)||Ni(n,'unidentified alias "'+s+'"'),n.result=n.anchorMap[s],$d(n,!0,-1),!0}function IM(n,i,s,u,d){var g,b,w,E=1,S=!1,x=!1,A,C,R,D,L,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||PWt===s,u&&$d(n,!0,-1)&&(S=!0,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)),E===1)for(;HXn(n)||zXn(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||MWt===s?L=i:L=i+1,B=n.position-n.lineStart,E===1?w&&(CFt(n,B)||UXn(n,B,L))||$Xn(n,L)?x=!0:(b&&BXn(n,L)||jXn(n,L)||FXn(n,L)?x=!0:GXn(n)?(x=!0,(n.tag!==null||n.anchor!==null)&&Ni(n,"alias node should not have any properties")):PXn(n,L,lse===s)&&(x=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):E===0&&(x=w&&CFt(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"&&Ni(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),A=0,C=n.implicitTypes.length;A<C;A+=1)if(D=n.implicitTypes[A],D.resolve(n.result)){n.result=D.construct(n.result),n.tag=D.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))D=n.typeMap[n.kind||"fallback"][n.tag];else for(D=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){D=R[A];break}D||Ni(n,"unknown tag !<"+n.tag+">"),n.result!==null&&D.kind!==n.kind&&Ni(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+D.kind+'", not "'+n.kind+'"'),D.resolve(n.result,n.tag)?(n.result=D.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):Ni(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 qXn(n){var i=n.position,s,u,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(u=n.input.slice(s,n.position),d=[],u.length<1&&Ni(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&&FMe(n),bN.call(kFt,u)?kFt[u](n,u,d):fse(n,'unknown document directive "'+u+'"')}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&&Ni(n,"directives end mark is expected"),IM(n,n.lineIndent-1,dse,!1,!0),$d(n,!0,-1),n.checkLineBreaks&&CXn.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)Ni(n,"end of the stream or a document separator is expected");else return}function VXn(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 MXn(n,i),u=n.indexOf("\0");for(u!==-1&&(s.position=u,Ni(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;)qXn(s);return s.documents}function WXn(n,i){var s=VXn(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 KXn=WXn,YXn={load:KXn},zWt=Object.prototype.toString,GWt=Object.prototype.hasOwnProperty,BMe=65279,JXn=9,uz=10,XXn=13,ZXn=32,QXn=33,eZn=34,FLe=35,tZn=37,nZn=38,rZn=39,iZn=42,qWt=44,oZn=45,hse=58,sZn=61,aZn=62,uZn=63,cZn=64,VWt=91,WWt=93,lZn=96,KWt=123,dZn=124,YWt=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 fZn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],hZn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function pZn(n,i){var s,u,d,g,b,w,E;if(i===null)return{};for(s={},u=Object.keys(i),d=0,g=u.length;d<g;d+=1)b=u[d],w=String(i[b]),b.slice(0,2)==="!!"&&(b="tag:yaml.org,2002:"+b.slice(2)),E=n.compiledTypeMap.fallback[b],E&&GWt.call(E.styleAliases,w)&&(w=E.styleAliases[w]),s[b]=w;return s}function gZn(n){var i,s,u;if(i=n.toString(16).toUpperCase(),n<=255)s="x",u=2;else if(n<=65535)s="u",u=4;else if(n<=4294967295)s="U",u=8;else throw new ib("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+s+vf.repeat("0",u-i.length)+i}var bZn=1,cz=2;function mZn(n){this.schema=n.schema||DWt,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=pZn(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==='"'?cz:bZn,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 IFt(n,i){for(var s=vf.repeat(" ",i),u=0,d=-1,g="",b,w=n.length;u<w;)d=n.indexOf(`
`,u),d===-1?(b=n.slice(u),u=w):(b=n.slice(u,d+1),u=d+1),b.length&&b!==`
`&&(g+=s),g+=b;return g}function $Le(n,i){return`
`+vf.repeat(" ",n.indent*i)}function wZn(n,i){var s,u,d;for(s=0,u=n.implicitTypes.length;s<u;s+=1)if(d=n.implicitTypes[s],d.resolve(i))return!0;return!1}function pse(n){return n===ZXn||n===JXn}function lz(n){return 32<=n&&n<=126||161<=n&&n<=55295&&n!==8232&&n!==8233||57344<=n&&n<=65533&&n!==BMe||65536<=n&&n<=1114111}function RFt(n){return lz(n)&&n!==BMe&&n!==XXn&&n!==uz}function OFt(n,i,s){var u=RFt(n),d=u&&!pse(n);return(s?u:u&&n!==qWt&&n!==VWt&&n!==WWt&&n!==KWt&&n!==YWt)&&n!==FLe&&!(i===hse&&!d)||RFt(i)&&!pse(i)&&n===FLe||i===hse&&d}function yZn(n){return lz(n)&&n!==BMe&&!pse(n)&&n!==oZn&&n!==uZn&&n!==hse&&n!==qWt&&n!==VWt&&n!==WWt&&n!==KWt&&n!==YWt&&n!==FLe&&n!==nZn&&n!==iZn&&n!==QXn&&n!==dZn&&n!==sZn&&n!==aZn&&n!==rZn&&n!==eZn&&n!==tZn&&n!==cZn&&n!==lZn}function vZn(n){return!pse(n)&&n!==hse}function rH(n,i){var s=n.charCodeAt(i),u;return s>=55296&&s<=56319&&i+1<n.length&&(u=n.charCodeAt(i+1),u>=56320&&u<=57343)?(s-55296)*1024+u-56320+65536:s}function JWt(n){var i=/^\n* /;return i.test(n)}var XWt=1,BLe=2,ZWt=3,QWt=4,x5=5;function EZn(n,i,s,u,d,g,b,w){var E,S=0,x=null,A=!1,C=!1,R=u!==-1,D=-1,L=yZn(rH(n,0))&&vZn(rH(n,n.length-1));if(i||b)for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=rH(n,E),!lz(S))return x5;L=L&&OFt(S,x,w),x=S}else{for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=rH(n,E),S===uz)A=!0,R&&(C=C||E-D-1>u&&n[D+1]!==" ",D=E);else if(!lz(S))return x5;L=L&&OFt(S,x,w),x=S}C=C||R&&E-D-1>u&&n[D+1]!==" "}return!A&&!C?L&&!b&&!d(n)?XWt:g===cz?x5:BLe:s>9&&JWt(n)?x5:b?g===cz?x5:BLe:C?QWt:ZWt}function SZn(n,i,s,u,d){n.dump=function(){if(i.length===0)return n.quotingType===cz?'""':"''";if(!n.noCompatMode&&(fZn.indexOf(i)!==-1||hZn.test(i)))return n.quotingType===cz?'"'+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=u||n.flowLevel>-1&&s>=n.flowLevel;function E(S){return wZn(n,S)}switch(EZn(i,w,n.indent,b,E,n.quotingType,n.forceQuotes&&!u,d)){case XWt:return i;case BLe:return"'"+i.replace(/'/g,"''")+"'";case ZWt:return"|"+LFt(i,n.indent)+DFt(IFt(i,g));case QWt:return">"+LFt(i,n.indent)+DFt(IFt(TZn(i,b),g));case x5:return'"'+AZn(i)+'"';default:throw new ib("impossible error: invalid scalar style")}}()}function LFt(n,i){var s=JWt(n)?String(i):"",u=n[n.length-1]===`
`,d=u&&(n[n.length-2]===`
`||n===`
`),g=d?"+":u?"":"-";return s+g+`
`}function DFt(n){return n[n.length-1]===`
`?n.slice(0,-1):n}function TZn(n,i){for(var s=/(\n+)([^\n]*)/g,u=function(){var S=n.indexOf(`
`);return S=S!==-1?S:n.length,s.lastIndex=S,MFt(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]===" ",u+=w+(!d&&!g&&E!==""?`
`:"")+MFt(E,i),d=g}return u}function MFt(n,i){if(n===""||n[0]===" ")return n;for(var s=/ [^ ]/g,u,d=0,g,b=0,w=0,E="";u=s.exec(n);)w=u.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 AZn(n){for(var i="",s=0,u,d=0;d<n.length;s>=65536?d+=2:d++)s=rH(n,d),u=qp[s],!u&&lz(s)?(i+=n[d],s>=65536&&(i+=n[d+1])):i+=u||gZn(s);return i}function _Zn(n,i,s){var u="",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))&&(u!==""&&(u+=","+(n.condenseFlow?"":" ")),u+=n.dump);n.tag=d,n.dump="["+u+"]"}function PFt(n,i,s,u){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))&&((!u||d!=="")&&(d+=$Le(n,i)),n.dump&&uz===n.dump.charCodeAt(0)?d+="-":d+="- ",d+=n.dump);n.tag=g,n.dump=d||"[]"}function xZn(n,i,s){var u="",d=n.tag,g=Object.keys(s),b,w,E,S,x;for(b=0,w=g.length;b<w;b+=1)x="",u!==""&&(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,u+=x));n.tag=d,n.dump="{"+u+"}"}function kZn(n,i,s,u){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="",(!u||d!=="")&&(C+=$Le(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&&uz===n.dump.charCodeAt(0)?C+="?":C+="? "),C+=n.dump,A&&(C+=$Le(n,i)),TA(n,i+1,x,!0,A)&&(n.dump&&uz===n.dump.charCodeAt(0)?C+=":":C+=": ",C+=n.dump,d+=C));n.tag=g,n.dump=d||"{}"}function jFt(n,i,s){var u,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,zWt.call(w.represent)==="[object Function]")u=w.represent(i,E);else if(GWt.call(w.represent,E))u=w.represent[E](i,E);else throw new ib("!<"+w.tag+'> tag resolver accepts not "'+E+'" style');n.dump=u}return!0}return!1}function TA(n,i,s,u,d,g,b){n.tag=null,n.dump=s,jFt(n,s,!1)||jFt(n,s,!0);var w=zWt.call(n.dump),E=u,S;u&&(u=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]")u&&Object.keys(n.dump).length!==0?(kZn(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(xZn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object Array]")u&&n.dump.length!==0?(n.noArrayIndent&&!b&&i>0?PFt(n,i-1,n.dump,d):PFt(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(_Zn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object String]")n.tag!=="?"&&SZn(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 NZn(n,i){var s=[],u=[],d,g;for(ULe(n,s,u),d=0,g=u.length;d<g;d+=1)i.duplicates.push(s[u[d]]);i.usedDuplicates=new Array(g)}function ULe(n,i,s){var u,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)ULe(n[d],i,s);else for(u=Object.keys(n),d=0,g=u.length;d<g;d+=1)ULe(n[u[d]],i,s)}function CZn(n,i){i=i||{};var s=new mZn(i);s.noRefs||NZn(n,s);var u=n;return s.replacer&&(u=s.replacer.call({"":u},"",u)),TA(s,0,u,!0,!0)?s.dump+`
`:""}var IZn=CZn,RZn={dump:IZn},OZn=YXn.load,gse=RZn.dump;const Mh=[];for(let n=0;n<256;++n)Mh.push((n+256).toString(16).slice(1));function LZn(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 DZn=new Uint8Array(16);function MZn(){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(DZn)}const PZn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),FFt={randomUUID:PZn};function jZn(n,i,s){var d;n=n||{};const u=n.random??((d=n.rng)==null?void 0:d.call(n))??MZn();if(u.length<16)throw new Error("Random bytes length must be >= 16");return u[6]=u[6]&15|64,u[8]=u[8]&63|128,LZn(u)}function FZn(n,i,s){return FFt.randomUUID&&!n?FFt.randomUUID():jZn(n)}let $Zn=0;function $Ft(n,i){return`${n}_${Date.now()}_${i}_${$Zn++}`}function BZn(){return FZn()}function UZn(n,i){return`e-${n}-${i}-${Date.now()}`}var eKt={exports:{}};(function(n,i){(function(s){n.exports=s()})(function(){return function(){function s(u,d,g){function b(S,x){if(!d[S]){if(!u[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:{}};u[S][0].call(R.exports,function(D){var L=u[S][1][D];return b(L||D)},R,R.exports,s,u,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,u,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 D=0;D<R.length;D++){var L=R[D];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(C,S(L.key),L)}}function E(C,R,D){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 D=C[Symbol.toPrimitive];if(D!==void 0){var L=D.call(C,R);if(g(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}d.default=function(){function C(){var R=this,D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=D.defaultLayoutOptions,B=L===void 0?{}:L,$=D.algorithms,j=$===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking","vertiflex"]:$,P=D.workerFactory,G=D.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 ne=ee(G);if(typeof ne.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new A(ne),this.worker.postMessage({cmd:"register",algorithms:j}).then(function(Q){return R.initialized=!0}).catch(console.err)}return E(C,[{key:"layout",value:function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=L.layoutOptions,$=B===void 0?this.defaultLayoutOptions:B,j=L.logging,P=j===void 0?!1:j,G=L.measureExecutionTime,ee=G===void 0?!1:G;return D?this.worker.postMessage({cmd:"layout",graph:D,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 D=this;if(b(this,C),R===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=R,this.worker.onmessage=function(L){setTimeout(function(){D.receive(D,L)},0)}}return E(C,[{key:"postMessage",value:function(D){var L=this.id||0;this.id=L+1,D.id=L;var B=this;return new Promise(function($,j){B.resolvers[L]=function(P,G){P?(B.convertGwtStyleError(P),j(P)):$(G)},B.worker.postMessage(D)})}},{key:"receive",value:function(D,L){var B=L.data,$=D.resolvers[B.id];$&&(delete D.resolvers[B.id],B.error?$(B.error):$(null,B.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(D){if(D){var L=D.__java$exception;L&&(L.cause&&L.cause.backingJsObject&&(D.cause=L.cause.backingJsObject,this.convertGwtStyleError(D.cause)),delete D.__java$exception)}}}])}()},{}],2:[function(s,u,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 D(){}function L(){}function B(){}function $(){}function j(){}function P(){}function G(){}function ee(){}function ne(){}function Q(){}function ie(){}function he(){}function ge(){}function ce(){}function fe(){}function K(){}function pe(){}function Oe(){}function Se(){}function De(){}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 Ci(){}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 nG(){}function rG(){}function iG(){}function i9(){}function o9(){}function s9(){}function oG(){}function sG(){}function aG(){}function uG(){}function WR(){}function cG(){}function a9(){}function lG(){}function dG(){}function fG(){}function hG(){}function pG(){}function gG(){}function bG(){}function u9(){}function mG(){}function c9(){}function l9(){}function wG(){}function yG(){}function vG(){}function EG(){}function SG(){}function LN(){}function TG(){}function d9(){}function AG(){}function _G(){}function KR(){}function xG(){}function kG(){}function f9(){}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 LFe(){}function DFe(){}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 L$e(){}function Rue(){}function D$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 LBe(){}function DBe(){}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 eUe(){}function Oue(){}function tUe(){}function nUe(){}function rUe(){}function iUe(){}function oUe(){}function sUe(){}function aUe(){}function uUe(){}function cUe(){}function lUe(){}function h9(){}function p9(){}function dUe(){}function fUe(){}function Lue(){}function hUe(){}function pUe(){}function gUe(){}function bUe(){}function mUe(){}function Due(){}function Mue(){}function wUe(){}function Pue(){}function jue(){}function yUe(){}function vUe(){}function YR(){}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 LUe(){}function DUe(){}function MUe(){}function PUe(){}function jUe(){}function FUe(){}function $Ue(){}function Fue(){}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 LHe(){}function DHe(){}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 QHe(){}function lZt(){}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 Lze(){}function Dze(){}function Mze(){}function Pze(){}function jze(){}function NG(){}function CG(){}function Fze(){}function IG(){}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 Zze(){}function dZt(){}function Qze(){}function $ue(){}function eGe(){}function tGe(){}function nGe(){}function rGe(){}function iGe(){}function oGe(){}function sGe(){}function aGe(){}function uGe(){}function cGe(){}function vb(){}function lGe(){}function eS(){}function Bue(){}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 IGe(){}function Xe(){}function RGe(){}function OGe(){}function LGe(){}function DGe(){}function MGe(){}function PGe(){}function jGe(){}function FGe(){}function $Ge(){}function BGe(){}function UGe(){}function RG(){}function HGe(){}function zGe(){}function OG(){}function GGe(){}function qGe(){}function VGe(){}function WGe(){}function LG(){}function g9(){}function b9(){}function KGe(){}function Uue(){}function YGe(){}function JGe(){}function m9(){}function XGe(){}function ZGe(){}function QGe(){}function w9(){}function eqe(){}function tqe(){}function nqe(){}function rqe(){}function y9(){}function iqe(){}function Hue(){}function oqe(){}function DG(){}function zue(){}function sqe(){}function aqe(){}function uqe(){}function cqe(){}function fZt(){}function lqe(){}function dqe(){}function fqe(){}function hqe(){}function pqe(){}function gqe(){}function bqe(){}function mqe(){}function wqe(){}function yqe(){}function NA(){}function MG(){}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 Lqe(){}function Dqe(){}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 LVe(){}function DVe(){}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 fWe(){}function Gue(){}function hWe(){}function pWe(){}function PG(){BN()}function gWe(){Wbe()}function bWe(){fO()}function mWe(){ed()}function wWe(){rbe()}function yWe(){G6()}function vWe(){$O()}function EWe(){dO()}function SWe(){Ket()}function TWe(){zS()}function AWe(){Nlt()}function _We(){N_()}function xWe(){S1()}function kWe(){ige()}function NWe(){Qft()}function CWe(){eht()}function IWe(){K9()}function RWe(){Z0e()}function OWe(){mut()}function LWe(){cdt()}function DWe(){rge()}function MWe(){gut()}function PWe(){put()}function jWe(){but()}function FWe(){yut()}function $We(){Be()}function BWe(){tht()}function UWe(){oct()}function HWe(){nht()}function zWe(){vut()}function GWe(){US()}function qWe(){kht()}function VWe(){c0e()}function WWe(){T1()}function KWe(){wut()}function YWe(){sbt()}function JWe(){Myt()}function XWe(){Ame()}function ZWe(){js()}function QWe(){ef()}function eKe(){v0e()}function tKe(){hgt()}function nKe(){dp()}function rKe(){Y6()}function iKe(){mJ()}function oKe(){kY()}function sKe(){S1e()}function aKe(){QS()}function uKe(){nj()}function cKe(){A7()}function que(){_n()}function lKe(){jj()}function dKe(){L1e()}function Vue(){q7()}function Wue(){_K()}function bd(){Jit()}function fKe(){T0e()}function Kue(e){Mt(e)}function hKe(e){this.a=e}function v9(e){this.a=e}function pKe(e){this.a=e}function gKe(e){this.a=e}function bKe(e){this.a=e}function Yue(e){this.a=e}function Jue(e){this.a=e}function mKe(e){this.a=e}function jG(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.a=e}function SKe(e){this.c=e}function TKe(e){this.a=e}function FG(e){this.a=e}function AKe(e){this.a=e}function _Ke(e){this.a=e}function xKe(e){this.a=e}function $G(e){this.a=e}function kKe(e){this.a=e}function NKe(e){this.a=e}function BG(e){this.a=e}function CKe(e){this.a=e}function UG(e){this.a=e}function IKe(e){this.a=e}function RKe(e){this.a=e}function OKe(e){this.a=e}function LKe(e){this.a=e}function DKe(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 zKe(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 GKe(e,t){e.a=t}function hZt(e,t){e.a=t}function pZt(e,t){e.b=t}function gZt(e,t){e.c=t}function bZt(e,t){e.c=t}function mZt(e,t){e.d=t}function wZt(e,t){e.d=t}function Jh(e,t){e.k=t}function ece(e,t){e.j=t}function yZt(e,t){e.c=t}function tce(e,t){e.c=t}function nce(e,t){e.a=t}function vZt(e,t){e.a=t}function EZt(e,t){e.f=t}function SZt(e,t){e.a=t}function TZt(e,t){e.b=t}function HG(e,t){e.d=t}function S9(e,t){e.i=t}function rce(e,t){e.o=t}function AZt(e,t){e.r=t}function _Zt(e,t){e.a=t}function xZt(e,t){e.b=t}function qKe(e,t){e.e=t}function kZt(e,t){e.f=t}function ice(e,t){e.g=t}function NZt(e,t){e.e=t}function CZt(e,t){e.f=t}function IZt(e,t){e.f=t}function XR(e,t){e.b=t}function zG(e,t){e.b=t}function GG(e,t){e.a=t}function RZt(e,t){e.n=t}function OZt(e,t){e.a=t}function LZt(e,t){e.c=t}function DZt(e,t){e.c=t}function MZt(e,t){e.c=t}function PZt(e,t){e.a=t}function jZt(e,t){e.a=t}function FZt(e,t){e.d=t}function $Zt(e,t){e.d=t}function BZt(e,t){e.e=t}function UZt(e,t){e.e=t}function HZt(e,t){e.g=t}function zZt(e,t){e.f=t}function GZt(e,t){e.j=t}function qZt(e,t){e.a=t}function VZt(e,t){e.a=t}function WZt(e,t){e.b=t}function VKe(e){e.b=e.a}function WKe(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 KKe(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 Lw(e){this.a=e}function qG(e){this.a=e}function Zh(e){this.a=e}function Dw(e){this.a=e}function YKe(e){this.a=e}function JKe(e){this.a=e}function cce(e){this.a=e}function XKe(e){this.a=e}function Pn(e){this.a=e}function DN(e){this.d=e}function VG(e){this.b=e}function CA(e){this.b=e}function Gv(e){this.b=e}function WG(e){this.c=e}function V(e){this.c=e}function ZKe(e){this.c=e}function QKe(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 eYe(e){this.a=e}function tYe(e){this.a=e}function RA(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 lYe(e){this.a=e}function OA(e){this.a=e}function dYe(e){this.a=e}function fYe(e){this.a=e}function hYe(e){this.a=e}function pYe(e){this.a=e}function A9(e){this.a=e}function gYe(e){this.a=e}function bYe(e){this.a=e}function bce(e){this.a=e}function mYe(e){this.a=e}function wYe(e){this.a=e}function yYe(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 LA(e){this.a=e}function vYe(e){this.a=e}function tS(e){this.a=e}function vce(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 RYe(e){this.a=e}function Ece(e){this.a=e}function OYe(e){this.a=e}function LYe(e){this.a=e}function DYe(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.a=e}function vJe(e){this.c=e}function EJe(e){this.b=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 LJe(e){this.a=e}function DJe(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 KJe(e){this.a=e}function Qh(e){this.a=e}function qv(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 fXe(e){this.a=e}function Sce(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 vXe(e){this.a=e}function x9(e){this.a=e}function EXe(e){this.f=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 LXe(e){this.a=e}function DXe(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 KXe(e){this.a=e}function KG(e){this.a=e}function Tce(e){this.a=e}function cr(e){this.b=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 nZe(e){this.a=e}function eO(e){this.a=e}function rZe(e){this.a=e}function iZe(e){this.b=e}function Ace(e){this.c=e}function k9(e){this.e=e}function oZe(e){this.a=e}function N9(e){this.a=e}function C9(e){this.a=e}function YG(e){this.a=e}function sZe(e){this.d=e}function aZe(e){this.a=e}function _ce(e){this.a=e}function xce(e){this.a=e}function Km(e){this.e=e}function KZt(){this.a=0}function je(){dV(this)}function hn(){Zs(this)}function JG(){Yst(this)}function uZe(){}function Ym(){this.c=I3e}function cZe(e,t){e.b+=t}function YZt(e,t){t.Wb(e)}function JZt(e){return e.a}function XZt(e){return e.a}function ZZt(e){return e.a}function QZt(e){return e.a}function eQt(e){return e.a}function Y(e){return e.e}function tQt(){return null}function nQt(){return null}function rQt(e){throw Y(e)}function nS(e){this.a=kn(e)}function lZe(){this.a=this}function Sb(){Drt.call(this)}function iQt(e){e.b.Mf(e.e)}function dZe(e){e.b=new hq}function PN(e,t){e.b=t-e.b}function jN(e,t){e.a=t-e.a}function fZe(e,t){t.gd(e.a)}function oQt(e,t){Ii(t,e)}function Ot(e,t){e.push(t)}function hZe(e,t){e.sort(t)}function sQt(e,t,r){e.Wd(r,t)}function tO(e,t){e.e=t,t.b=e}function aQt(){ole(),QNn()}function pZe(e){l_(),HQ.je(e)}function kce(){Drt.call(this)}function Nce(){Sb.call(this)}function XG(){Sb.call(this)}function gZe(){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 bZe(){Sb.call(this)}function vs(){Sb.call(this)}function mZe(){Sb.call(this)}function I9(){this.Bb|=256}function wZe(){this.b=new Int}function Cce(){Cce=K,new hn}function yZe(){Nce.call(this)}function Mw(e,t){e.length=t}function R9(e,t){Fe(e.a,t)}function uQt(e,t){Ybe(e.c,t)}function cQt(e,t){pi(e.b,t)}function lQt(e,t){c7(e.a,t)}function dQt(e,t){QK(e.a,t)}function DA(e,t){hr(e.e,t)}function iS(e){N7(e.c,e.b)}function fQt(e,t){e.kc().Nb(t)}function Ice(e){this.a=Mgn(e)}function hi(){this.a=new hn}function vZe(){this.a=new hn}function O9(){this.a=new je}function ZG(){this.a=new je}function Rce(){this.a=new je}function gl(){this.a=new Jg}function Tb(){this.a=new xlt}function QG(){this.a=new Uet}function Oce(){this.a=new aut}function Lce(){this.a=new Tit}function Dce(){this.a=new ah}function EZe(){this.a=new jut}function SZe(){this.a=new je}function TZe(){this.a=new je}function AZe(){this.a=new je}function Mce(){this.a=new je}function _Ze(){this.d=new je}function xZe(){this.a=new hi}function kZe(){this.a=new hn}function NZe(){this.b=new hn}function CZe(){this.b=new je}function Pce(){this.e=new je}function IZe(){this.d=new je}function RZe(){this.a=new xWe}function OZe(){jat.call(this)}function LZe(){jat.call(this)}function DZe(){Uce.call(this)}function MZe(){Uce.call(this)}function PZe(){Uce.call(this)}function jZe(){je.call(this)}function FZe(){Mce.call(this)}function L9(){O9.call(this)}function $Ze(){G8.call(this)}function FN(){uZe.call(this)}function eq(){FN.call(this)}function oS(){uZe.call(this)}function jce(){oS.call(this)}function Du(){Ar.call(this)}function BZe(){Hce.call(this)}function $N(){WGe.call(this)}function Fce(){WGe.call(this)}function UZe(){tQe.call(this)}function HZe(){tQe.call(this)}function zZe(){hn.call(this)}function GZe(){hn.call(this)}function qZe(){hn.call(this)}function tq(){Yft.call(this)}function VZe(){hi.call(this)}function WZe(){I9.call(this)}function nq(){_de.call(this)}function $ce(){hn.call(this)}function rq(){_de.call(this)}function iq(){hn.call(this)}function KZe(){hn.call(this)}function Bce(){y9.call(this)}function YZe(){Bce.call(this)}function JZe(){y9.call(this)}function XZe(){Gue.call(this)}function Uce(){this.a=new hi}function ZZe(){this.a=new hn}function Hce(){this.a=new hn}function sS(){this.a=new Ar}function QZe(){this.a=new je}function eQe(){this.j=new je}function tQe(){this.a=new eqe}function zce(){this.a=new Ize}function nQe(){this.a=new ZQe}function BN(){BN=K,DQ=new S}function oq(){oq=K,MQ=new iQe}function sq(){sq=K,PQ=new rQe}function rQe(){BG.call(this,"")}function iQe(){BG.call(this,"")}function oQe(e){Eft.call(this,e)}function sQe(e){Eft.call(this,e)}function Gce(e){Yue.call(this,e)}function qce(e){Oet.call(this,e)}function hQt(e){Oet.call(this,e)}function pQt(e){qce.call(this,e)}function gQt(e){qce.call(this,e)}function bQt(e){qce.call(this,e)}function aQe(e){zW.call(this,e)}function uQe(e){zW.call(this,e)}function cQe(e){prt.call(this,e)}function lQe(e){dle.call(this,e)}function UN(e){G9.call(this,e)}function Vce(e){G9.call(this,e)}function dQe(e){G9.call(this,e)}function Es(e){cst.call(this,e)}function fQe(e){Es.call(this,e)}function aS(){JR.call(this,{})}function aq(e){VA(),this.a=e}function hQe(e){e.b=null,e.c=0}function mQt(e,t){e.e=t,Lwt(e,t)}function wQt(e,t){e.a=t,Kyn(e)}function uq(e,t,r){e.a[t.g]=r}function yQt(e,t,r){p0n(r,e,t)}function vQt(e,t){urn(t.i,e.n)}function pQe(e,t){_pn(e).Ad(t)}function EQt(e,t){return e*e/t}function gQe(e,t){return e.g-t.g}function SQt(e,t){e.a.ec().Kc(t)}function TQt(e){return new E9(e)}function AQt(e){return new Qw(e)}function bQe(){bQe=K,qEe=new E}function Wce(){Wce=K,VEe=new ee}function D9(){D9=K,bI=new ie}function M9(){M9=K,FQ=new hrt}function mQe(){mQe=K,Y_t=new ge}function P9(e){Sge(),this.a=e}function wQe(e){Yit(),this.a=e}function Yp(e){VV(),this.f=e}function cq(e){VV(),this.f=e}function j9(e){Es.call(this,e)}function Ia(e){Es.call(this,e)}function yQe(e){Es.call(this,e)}function lq(e){cst.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 vQe(e){Es.call(this,e)}function uS(e){Es.call(this,e)}function Jp(e){Es.call(this,e)}function Ds(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 _Qt(e){return!!e&&e.k}function xQt(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 kQt(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 Dn(e){Es.call(this,e)}function dq(e){Es.call(this,e)}function fq(e){Lde.call(this,e,0)}function hq(){zhe.call(this,12,3)}function pq(){this.a=In(kn(ja))}function EQe(){throw Y(new Nn)}function Jce(){throw Y(new Nn)}function SQe(){throw Y(new Nn)}function NQt(){throw Y(new Nn)}function CQt(){throw Y(new Nn)}function IQt(){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 TQe(e){PA.call(this,e)}function gq(e){$8.call(this,e)}function RQt(e,t,r){e.c.Cf(t,r)}function OQt(e,t,r){t.Ad(e.a[r])}function LQt(e,t,r){t.Ne(e.a[r])}function DQt(e,t){return e.a-t.a}function MQt(e,t){return e.a-t.a}function PQt(e,t){return e.a-t.a}function $9(e,t){return iK(e,t)}function X(e,t){return fut(e,t)}function jQt(e,t){return t in e.a}function AQe(e){return e.a?e.b:0}function FQt(e){return e.a?e.b:0}function _Qe(e,t){return e.f=t,e}function $Qt(e,t){return e.b=t,e}function xQe(e,t){return e.c=t,e}function BQt(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 UQt(e,t){return e.k=t,e}function tle(e,t){return e.e=t,e}function HQt(e,t){return e.e=t,e}function nle(e,t){return e.a=t,e}function zQt(e,t){return e.f=t,e}function GQt(e,t){e.b=new So(t)}function kQe(e,t){e._d(t),t.$d(e)}function qQt(e,t){hc(),t.n.a+=e}function VQt(e,t){S1(),As(t,e)}function rle(e){gat.call(this,e)}function NQe(e){gat.call(this,e)}function CQe(){dde.call(this,"")}function IQe(){this.b=0,this.a=0}function RQe(){RQe=K,uxt=U0n()}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 bq(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 WQt(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 KQt(e,t){return e.g-t.g}function YQt(e,t){return e.b-t.b}function JQt(e,t){return e.s-t.s}function XQt(e,t){return e?0:t-1}function OQe(e,t){return e?0:t-1}function ZQt(e,t){return e?t-1:0}function QQt(e,t){return t.pg(e)}function LQe(e,t){return e.k=t,e}function een(e,t){return e.j=t,e}function ro(){this.a=0,this.b=0}function B9(e){IV.call(this,e)}function Qg(e){w0.call(this,e)}function DQe(e){vW.call(this,e)}function MQe(e){vW.call(this,e)}function PQe(e,t){e.b=0,cy(e,t)}function ten(e,t){e.c=t,e.b=!0}function nen(e,t,r){lsn(e.a,t,r)}function jQe(e,t){return e.c._b(t)}function md(e){return e.e&&e.e()}function mq(e){return e?e.d:null}function FQe(e,t){return sgt(e.b,t)}function ren(e){return e?e.g:null}function ien(e){return e?e.i:null}function $Qe(e,t){return ken(e.a,t)}function ile(e,t){for(;e.zd(t););}function BQe(){throw Y(new Nn)}function e1(){e1=K,MLt=Zmn()}function UQe(){UQe=K,Bi=uwn()}function ole(){ole=K,J1=W3()}function $A(){$A=K,C3e=Qmn()}function HQe(){HQe=K,yDt=e0n()}function sle(){sle=K,Ks=qyn()}function Ab(e){return np(e),e.o}function Vv(e,t){return e.a+=t,e}function wq(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){bEt(),f3n(this,e)}function U9(e){this.a=new dS(e)}function Qp(e){this.a=new ZV(e)}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(){throw Y(new Nn)}function KQe(){this.b=new X_(C_e)}function YQe(){this.a=new X_(lxe)}function H9(e){this.a=0,this.b=e}function JQe(){this.a=new X_(Dxe)}function XQe(){this.b=new X_(jne)}function ZQe(){this.b=new X_(jne)}function QQe(){this.a=new X_(Dke)}function eet(e,t){return xSn(e,t)}function oen(e,t){return axn(t,e)}function ule(e,t){return e.d[t.p]}function oO(e){return e.b!=e.d.c}function tet(e){return e.l|e.m<<22}function BA(e){return u1(e),e.a}function net(e){e.c?Ywt(e):Jwt(e)}function Wv(e,t){for(;e.Pe(t););}function cle(e,t,r){e.splice(t,r)}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 het(){throw Y(new Nn)}function sen(){throw Y(new vs)}function aen(){throw Y(new vs)}function sO(e){this.a=new pet(e)}function pet(e){Qfn(this,e,lyn())}function aO(e){return!e||Vst(e)}function uO(e){return mf[e]!=-1}function uen(){u$!=0&&(u$=0),c$=-1}function get(){LQ==null&&(LQ=[])}function cO(e,t){sE.call(this,e,t)}function UA(e,t){cO.call(this,e,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 Tet(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 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.b=e,this.a=t}function Net(e,t){this.a=e,this.b=t}function Cet(e,t){this.a=e,this.b=t}function yq(e,t){this.a=e,this.b=t}function Iet(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 Ret(e,t){this.b=e,this.c=t}function Oet(e){Ede(e.dc()),this.c=e}function cen(e,t){this.a=e,this.b=t}function Let(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 Met(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 vq(e,t){this.a=e,this.b=t}function Pet(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 jet(e,t){return e.b.Gc(t)}function Fet(e,t){return e.c.uc(t)}function $et(e,t){return pr(e.c,t)}function bl(e,t){return e.a._b(t)}function Bet(e,t){return e>t&&t<BC}function WN(e){return e.f.c+e.i.c}function len(e){return Lst(),e?K_t:W_t}function dS(e){vpt.call(this,e,0)}function Uet(){ZV.call(this,null)}function fS(e){this.c=e,sft(this)}function Ar(){trt(this),tc(this)}function eg(){eg=K,Q_t=new pe}function zA(){zA=K,Hx=new Ae}function jw(){jw=K,KQ=new Rnt}function V9(){V9=K,lxt=new Ont}function GA(){GA=K,y2e=new Yn}function _b(){_b=K,TT=new ai}function ple(){QW.call(this,null)}function ei(e,t){u1(e),e.a.Nb(t)}function den(e,t){return e.a.Vc(t)}function fen(e,t){return e.a.Wc(t)}function Eq(e,t){return e.a.Yc(t)}function Sq(e,t){return e.a.Zc(t)}function hen(e,t){return e.Fc(t),e}function pen(e,t){uJ(Ne(e.a),t)}function gen(e,t){uJ(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 Het(e,t){return e.a.d=t,e}function ben(e,t){return e.a.f=t,e}function zet(e,t){return e.a.g=t,e}function Get(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 men(e){return e.b=!1,e}function qet(){qet=K,Hkt=new a9}function gle(){gle=K,zkt=new tst}function Vet(){Vet=K,vxt=new Wh}function ble(){ble=K,Ukt=new rG}function dO(){dO=K,iNt=new pFe}function mle(){mle=K,G2e=new oG}function Wet(){Wet=K,Zkt=new u9}function KN(){KN=K,eNt=new mG}function Ket(){Ket=K,uNt=new XFe}function fO(){fO=K,rNt=new ro}function W9(){W9=K,MIt=new FGe}function YN(){YN=K,bNt=new MBe}function K9(){K9=K,WE=new oUe}function Y9(){Y9=K,Fne=new Jet}function J9(){J9=K,$ne=new Vrt}function JN(){JN=K,MD=new Xst}function X9(){X9=K,ere=new Yot}function Z9(){Z9=K,tre=new Kot}function Q9(){Q9=K,nre=new Est}function Yet(){Zft(),this.c=new hq}function Jet(){mn.call(this,bSt,0)}function wen(e,t,r,o){Abn(e,o,t,r)}function yen(e,t,r,o){P2n(o,e,t,r)}function ven(e,t,r,o){pNn(o,e,t,r)}function Een(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 Sen(e){return e.e.a+e.f.a}function Ten(e){return e.e.b+e.f.b}function Aen(e){return(e.c+e.a)/2}function _en(e){return e.b?e.b:e.a}function Xet(e,t){return Imn(e.a,t)}function wle(){wle=K,N3e=new KZe}function QN(){QN=K,$re=new drt}function tg(){tg=K,l5=new frt}function t1(){t1=K,LLt=new VGe}function Zet(){Zet=K,ULt=new rqe}function Qet(){Qet=K,eDt=new GZe}function ett(){ett=K,tDt=new qZe}function n1(){n1=K,Dl=new $ce}function e8(){e8=K,vU=new hn}function yle(){yle=K,$3e=new je}function r1(){r1=K,eb=new pWe}function Tq(){Tq=K,gDt=new dVe}function Mo(){Mo=K,mDt=new fVe}function vle(e){pW(),syn.call(this,e)}function Ele(e){pW(),vle.call(this,e)}function Sle(e){HV(),prt.call(this,e)}function xen(e,t){uut.call(this,e,t)}function t8(e,t){this.d=e,this.e=t}function Aq(e,t){return Ea(e,t)>0}function _q(e,t){return Ea(e,t)<0}function ttt(e,t){return GV(e.a,t)}function ken(e,t){return e.a.a.cc(t)}function xq(e){return e.b<e.d.gc()}function e3(e,t){return e.a.get(t)}function Nen(e,t){return t.split(e)}function ntt(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 kq(e,t){mn.call(this,e,t)}function rtt(e,t){this.b=e,this.a=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.a=e,this.b=t}function utt(e,t){this.b=e,this.a=t}function _le(e,t){Zot(e,e.length,t)}function hO(e,t){Ist(e,e.length,t)}function Cen(e,t,r){t.Ne(e.a.We(r))}function Ien(e,t,r){t.Bd(e.a.Xe(r))}function Ren(e,t,r){t.Ad(e.a.Kb(r))}function Oen(e,t,r){e.Mb(r)&&t.Ad(r)}function t3(e,t,r){e.splice(t,0,r)}function Nq(e,t){mn.call(this,e,t)}function Cq(e,t){mn.call(this,e,t)}function Iq(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 Rq(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 ctt(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 ltt(e,t){this.e=e,this.d=t}function dtt(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 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.a=e,this.b=t}function vtt(e,t){this.b=e,this.a=t}function Ett(e,t){this.b=e,this.a=t}function Stt(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 Oq(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 Lq(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 Lle(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 Mq(e,t){mn.call(this,e,t)}function Pq(e,t){mn.call(this,e,t)}function jq(e,t){mn.call(this,e,t)}function Dle(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 Fq(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 $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 Gq(e,t){mn.call(this,e,t)}function Ttt(e,t){this.b=e,this.a=t}function Len(e,t){return fu(e.e,t)}function Den(e,t){return fu(e.c,t)}function Men(e,t){return fu(t.b,e)}function Pen(e,t){return ZA(),t!=e}function wO(e){return un(e.a),e.b}function qq(e){return Qvn(e,e.c),e}function Att(){return RQe(),new uxt}function _tt(){Y8(),this.a=new rfe}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.a=e,this.b=t}function Ctt(e,t){this.b=e,this.a=t}function Itt(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 Rtt(e,t){this.a=e,this.b=t}function Ott(e,t){this.a=e,this.b=t}function Ltt(e,t){this.a=e,this.b=t}function Dtt(e,t){this.b=e,this.d=t}function Mtt(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 Vq(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 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 $tt(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 Wq(e,t){mn.call(this,e,t)}function b8(e,t){mn.call(this,e,t)}function Kq(e,t){mn.call(this,e,t)}function Yq(e,t){mn.call(this,e,t)}function m8(e,t){mn.call(this,e,t)}function Jq(e,t){mn.call(this,e,t)}function qle(e,t){mn.call(this,e,t)}function Xq(e,t){mn.call(this,e,t)}function Zq(e,t){mn.call(this,e,t)}function vO(e,t){mn.call(this,e,t)}function Qq(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 Btt(e,t){this.a=e,this.b=t}function Utt(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 eV(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 tV(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 nV(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 rV(e,t){mn.call(this,e,t)}function iV(e,t){mn.call(this,e,t)}function T8(e,t){mn.call(this,e,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 Wtt(e,t){this.a=e,this.b=t}function A8(e,t){mn.call(this,e,t)}function No(e,t){this.a=e,this.b=t}function Ktt(){F7(),this.a=new hi}function Ytt(){CW(),this.b=new hi}function Jtt(){Bhe(),qfe.call(this)}function Xtt(){Uhe(),Pat.call(this)}function Ztt(){Uhe(),Pat.call(this)}function Qtt(e,t){nfn(e.a,l(t,12))}function jen(e,t,r){xbt(t,rJ(e,r))}function Fen(e,t,r){xbt(t,rJ(e,r))}function Xle(e,t){return fu(e.g,t)}function $en(e,t){return-e.b.$e(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.a=e,this.b=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.b=e,this.a=t}function pnt(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 gnt(e,t){this.a=e,this.b=t}function bnt(e,t){this.a=e,this.b=t}function mnt(e,t){this.a=e,this.b=t}function Qle(e,t){this.d=e,this.e=t}function wnt(e,t){this.d=e,this.b=t}function ynt(e,t){this.a=e,this.b=t}function vnt(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 Ben(e,t){e&&Jn(a5,e,t)}function ede(e,t){e.i=null,Tj(e,t)}function Ent(e,t){return uY(e.a,t)}function x8(e){return F6(e.c,e.b)}function Ss(e){return e?e.kd():null}function me(e){return e??null}function Bw(e){return typeof e===uT}function Uw(e){return typeof e===ewe}function zi(e){return typeof e===KJ}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 xhn(e.Jc(),t)}function Uen(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 Snt(e){return $u(e),e.d.gc()}function Hen(e){b.clearTimeout(e)}function Tnt(e,t){e.q.setTime($b(t))}function zen(e,t){pfn(new tn(e),t)}function Ant(e,t){Qfe.call(this,e,t)}function _nt(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 Gen(e,t){return e.j[t.p]==2}function xnt(e,t){return e.a=t.g+1,e}function wd(e){return e.a=0,e.b=0,e}function knt(){knt=K,Qxt=yn(mY())}function Nnt(){Nnt=K,aNt=yn(Awt())}function Cnt(){Cnt=K,Q4t=yn(Oht())}function Int(){this.b=new dS(fy(12))}function Rnt(){this.b=0,this.a=!1}function Ont(){this.b=0,this.a=!1}function g3(e){this.a=e,PG.call(this)}function Lnt(e){this.a=e,PG.call(this)}function pt(e,t){Pr.call(this,e,t)}function oV(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 sV(e,t){A_.call(this,e,t)}function er(e,t){e8(),Jn(vU,e,t)}function aV(e,t){return yl(e.a,0,t)}function Mnt(e,t){return me(e)===me(t)}function qen(e,t){return yr(e.a,t.a)}function rde(e,t){return na(e.a,t.a)}function Ven(e,t){return kst(e.a,t.a)}function mS(e){return go((Mt(e),e))}function Wen(e){return go((Mt(e),e))}function Pnt(e){return Ua(e.l,e.m,e.h)}function Ken(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 Yen(e){return e==X0||e==$y}function Jen(e){return e==X0||e==Fy}function jnt(e,t){return na(e.g,t.g)}function ide(e){return _s(e.b.b,e,0)}function Fnt(e){Zs(this),X3(this,e)}function $nt(e){this.a=Att(),this.b=e}function Bnt(e){this.a=Att(),this.b=e}function Unt(e,t){return Fe(e.a,t),t}function ode(e,t){g_(e,0,e.length,t)}function Xen(e,t){return na(e.g,t.g)}function Zen(e,t){return yr(t.f,e.f)}function Qen(e,t){return hc(),t.a+=e}function etn(e,t){return hc(),t.a+=e}function ttn(e,t){return hc(),t.c+=e}function sde(e,t){return yc(e.a,t),e}function ntn(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 Hnt(e){return e==a2||e==s2}function tE(e){return e!=pf&&e!=W1}function Ju(e){return e.sh()&&e.th()}function znt(e){return hW(l(e,127))}function wS(){ql.call(this,0,0,0,0)}function Gnt(){aP.call(this,0,0,0,0)}function uh(){lce.call(this,new d1)}function uV(e){pnt.call(this,e,!0)}function So(e){this.a=e.a,this.b=e.b}function cV(e,t){I_(e,t),y_(e,e.D)}function lV(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 qnt(e,t,r){Ude.call(this,e,t,r)}function Vnt(){i8.call(this,"Head",1)}function Wnt(){i8.call(this,"Tail",3)}function o1(e){jf(),Chn.call(this,e)}function nE(e){return e!=null?Rr(e):0}function Knt(e,t){return new A_(t,e)}function rtn(e,t){return new A_(t,e)}function itn(e,t){return uy(t,Gd(e))}function otn(e,t){return uy(t,Gd(e))}function stn(e,t){return e[e.length]=t}function atn(e,t){return e[e.length]=t}function ade(e){return Aon(e.b.Jc(),e.a)}function utn(e,t){return vj(cW(e.f),t)}function ctn(e,t){return vj(cW(e.n),t)}function ltn(e,t){return vj(cW(e.p),t)}function Mi(e,t){Pr.call(this,e.b,t)}function xb(e){aP.call(this,e,e,e,e)}function dV(e){e.c=we(Ri,Rt,1,0,5,1)}function Ynt(e,t,r){ii(e.c[t.g],t.g,r)}function dtn(e,t,r){l(e.c,72).Ei(t,r)}function ftn(e,t,r){Bc(r,r.i+e,r.j+t)}function htn(e,t){Tn(oa(e.a),xut(t))}function ptn(e,t){Tn(Fu(e.a),kut(t))}function gtn(e,t){sf||(e.b=t)}function fV(e,t,r){return ii(e,t,r),r}function Jnt(e){Da(e.Qf(),new pYe(e))}function Xnt(){Xnt=K,Jte=new cC(Are)}function ude(){ude=K,Cce(),WEe=new hn}function Cn(){Cn=K,new Znt,new je}function Znt(){new hn,new hn,new hn}function btn(){throw Y(new Jp(L_t))}function mtn(){throw Y(new Jp(L_t))}function wtn(){throw Y(new Jp(D_t))}function ytn(){throw Y(new Jp(D_t))}function b3(e){fr(),Km.call(this,e)}function Qnt(e){this.a=e,_fe.call(this,e)}function hV(e){this.a=e,z9.call(this,e)}function pV(e){this.a=e,z9.call(this,e)}function vtn(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 ert(e,t){return e.a?e.b:t.Ue()}function Ua(e,t,r){return{l:e,m:t,h:r}}function Etn(e,t){e.a!=null&&Qtt(t,e.a)}function Stn(e,t){kn(t),uE(e).Ic(new j)}function xi(e,t){zV(e.c,e.c.length,t)}function trt(e){e.a=new ht,e.c=new ht}function L8(e){this.b=e,this.a=new je}function nrt(e){this.b=new sh,this.a=e}function dde(e){nfe.call(this),this.a=e}function rrt(e){Ohe.call(this),this.b=e}function irt(){i8.call(this,"Range",2)}function ort(){pbe(),this.a=new X_(z2e)}function Ud(){Ud=K,b.Math.log(2)}function Uc(){Uc=K,Dh=(Zet(),ULt)}function D8(e){e.j=we(s2e,Pe,325,0,0,1)}function srt(e){e.a=new hn,e.e=new hn}function fde(e){return new Me(e.c,e.d)}function Ttn(e){return new Me(e.c,e.d)}function To(e){return new Me(e.a,e.b)}function Atn(e,t){return Jn(e.a,t.a,t)}function _tn(e,t,r){return Jn(e.g,r,t)}function xtn(e,t,r){return Jn(e.k,r,t)}function rE(e,t,r){return D1e(t,r,e.c)}function art(e,t){return Rkn(e.a,t,null)}function hde(e,t){return le(Ht(e.i,t))}function pde(e,t){return le(Ht(e.j,t))}function urt(e,t){vn(e),e.Fc(l(t,16))}function ktn(e,t,r){e.c._c(t,l(r,138))}function Ntn(e,t,r){e.c.Si(t,l(r,138))}function Ctn(e,t,r){return Ckn(e,t,r),r}function Itn(e,t){return gc(),t.n.b+=e}function m3(e,t){return $xn(e.c,e.b,t)}function gV(e,t){return spn(e.Jc(),t)!=-1}function ae(e,t){return e!=null&&EY(e,t)}function Rtn(e,t){return new Rrt(e.Jc(),t)}function M8(e){return e.Ob()?e.Pb():null}function crt(e){return Mf(e,0,e.length)}function Otn(e){bo(e,null),Ji(e,null)}function lrt(e){RW(e,null),OW(e,null)}function drt(){RO.call(this,null,null)}function frt(){U8.call(this,null,null)}function hrt(){mn.call(this,"INSTANCE",0)}function iE(){this.a=we(Ri,Rt,1,8,5,1)}function gde(e){this.a=e,hn.call(this)}function prt(e){this.a=(At(),new PA(e))}function Ltn(e){this.b=(At(),new WG(e))}function VA(){VA=K,b2e=new aq(null)}function bde(){bde=K,bde(),dxt=new Ct}function Fe(e,t){return Ot(e.c,t),!0}function grt(e,t){e.c&&(Mfe(t),Kat(t))}function Dtn(e,t){e.q.setHours(t),OC(e,t)}function mde(e,t){return e.a.Ac(t)!=null}function bV(e,t){return e.a.Ac(t)!=null}function Hd(e,t){return e.a[t.c.p][t.p]}function Mtn(e,t){return e.c[t.c.p][t.p]}function Ptn(e,t){return e.e[t.c.p][t.p]}function mV(e,t,r){return e.a[t.g][r.g]}function jtn(e,t){return e.j[t.p]=l2n(t)}function yS(e,t){return e.a*t.a+e.b*t.b}function Ftn(e,t){return e.a<CV(t)?-1:1}function $tn(e,t){return wpe(e.b,t.Og())}function Btn(e,t){return wpe(e.f,t.Og())}function Utn(e,t){return ue(le(t.a))<=e}function Htn(e,t){return ue(le(t.a))>=e}function ztn(e,t,r){return r?t!=0:t!=e-1}function brt(e,t,r){e.a=t^1502,e.b=r^_X}function Gtn(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 qtn(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 mrt(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 wrt(e,t,r){yde.call(this,e,t,r)}function yrt(e,t,r){wde.call(this,e,t,r)}function yde(e,t,r){Z8.call(this,e,t,r)}function vrt(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 Ert(e,t){this.a=e,fq.call(this,t)}function Srt(e,t){this.a=e,fq.call(this,t)}function Trt(e,t){this.a=e,fq.call(this,t)}function vde(e){this.a=e,SKe.call(this,e.d)}function Art(e){e.b.Qb(),--e.d.f.d,dP(e.d)}function _rt(e){e.a=l(Vt(e.b.a,4),131)}function xrt(e){e.a=l(Vt(e.b.a,4),131)}function Vtn(e){YO(e,sAt),D7(e,xNn(e))}function krt(e){BG.call(this,l(kn(e),34))}function Nrt(e){BG.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 Hgn(e,new Zg,t).a}function Crt(e,t){return new Lmt(e.a,e.b,t)}function qt(e,t){return kn(t),new Irt(e,t)}function Irt(e,t){this.a=t,G9.call(this,e)}function Rrt(e,t){this.a=t,G9.call(this,e)}function Ade(e,t){this.a=t,fq.call(this,e)}function Ort(e,t){this.a=t,zW.call(this,e)}function Lrt(e,t){this.a=e,zW.call(this,t)}function Drt(){D8(this),xP(this),this.he()}function _de(){this.Bb|=256,this.Bb|=512}function Dt(){Dt=K,L1=!1,Bx=!0}function Mrt(){Mrt=K,Tq(),bDt=new fKe}function Wtn(e){return oO(e.a)?Nut(e):null}function Ktn(e){return e.l+e.m*fT+e.h*nm}function Ytn(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 CK(e,t,t,r),e}function Prt(e,t){return Fe(t.a,e.a),e.a}function jrt(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){QG.call(this),mo(this,e)}function ml(e){ZR.call(this,(Mt(e),e))}function fc(e){ZR.call(this,(Mt(e),e))}function wV(e){lce.call(this,new Npe(e))}function Rde(e,t){z1e.call(this,e,t,null)}function Jtn(e,t){return yr(e.n.a,t.n.a)}function Xtn(e,t){return yr(e.c.d,t.c.d)}function Ztn(e,t){return yr(e.c.c,t.c.c)}function Ya(e,t){return l(wr(e.b,t),16)}function Qtn(e,t){return e.n.b=(Mt(t),t)}function enn(e,t){return e.n.b=(Mt(t),t)}function tnn(e,t){return yr(e.e.b,t.e.b)}function nnn(e,t){return yr(e.e.a,t.e.a)}function rnn(e,t,r){return Cct(e,t,r,e.b)}function Ode(e,t,r){return Cct(e,t,r,e.c)}function inn(e){return hc(),!!e&&!e.dc()}function Frt(){YN(),this.b=new JYe(this)}function $rt(e){this.a=e,VG.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){VV(),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 Lde(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=++Y3n)}function yV(e,t){return new zit(e,e.gc(),t)}function onn(e,t){return JV(e.c).Kd().Xb(t)}function WA(e,t,r){var o;o=e.dd(t),o.Rb(r)}function Dde(e,t,r){l(f6(e,t),24).Ec(r)}function snn(e,t,r){QK(e.a,r),c7(e.a,t)}function Brt(e,t,r,o){Xfe.call(this,e,t,r,o)}function KA(e,t,r){return xde(e,Qa(t),r)}function ann(e){return M9(),wn((hut(),H_t),e)}function unn(e){return new oy(3,e)}function ch(e){return wc(e,Iy),new La(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 cnn(e,t){return CK(e,t,t+1,""),e}function Urt(e){if(!e)throw Y(new $c)}function Hrt(e){e.d=new qrt(e),e.e=new hn}function Mde(e){if(!e)throw Y(new nO)}function lnn(e){if(!e)throw Y(new XG)}function un(e){if(!e)throw Y(new vs)}function Hw(e){if(!e)throw Y(new lu)}function zrt(e){return e.b=l(khe(e.a),45)}function gr(e,t){return!!e.q&&ma(e.q,t)}function dnn(e,t){return e>0?t*t/e:t*t*100}function fnn(e,t){return e>0?t/(e*e):t*100}function zw(e,t){return l(Wd(e.a,t),34)}function hnn(e){return e.f!=null?e.f:""+e.g}function vV(e){return e.f!=null?e.f:""+e.g}function Grt(e){return l_(),parseInt(e)||-1}function pnn(e){return dp(),e.e.a+e.f.a/2}function gnn(e,t,r){return dp(),r.e.a-e*t}function bnn(e,t,r){return W9(),r.Lg(e,t)}function mnn(e,t,r){return dp(),r.e.b-e*t}function wnn(e){return dp(),e.e.b+e.f.b/2}function ynn(e,t){return S1(),yt(e,t.e,t)}function OO(e){ae(e,162)&&l(e,162).mi()}function qrt(e){xfe.call(this,e,null,null)}function Vrt(){mn.call(this,"GROW_TREE",0)}function Wrt(e){this.c=e,this.a=1,this.b=1}function EV(e){jw(),this.b=e,this.a=!0}function Krt(e){V9(),this.b=e,this.a=!0}function Yrt(e){VJ(),dZe(this),this.Df(e)}function Jrt(e){Ar.call(this),K3(this,e)}function Xrt(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 Zrt(e,t,r){return e.a-=t,e.b-=r,e}function vnn(e,t,r){nj(),e.nf(t)&&r.Ad(e)}function Enn(e,t,r){aC(oa(e.a),t,xut(r))}function Snn(e,t,r){return Fe(t,kgt(e,r))}function Tnn(e,t){return l(Ht(e.e,t),19)}function Ann(e,t){return l(Ht(e.e,t),19)}function _nn(e,t){return e.c.Ec(l(t,138))}function Qrt(e,t){QN(),RO.call(this,e,t)}function jde(e,t){tg(),U8.call(this,e,t)}function eit(e,t){tg(),U8.call(this,e,t)}function tit(e,t){tg(),jde.call(this,e,t)}function SV(e,t){Uc(),cP.call(this,e,t)}function nit(e,t){Uc(),SV.call(this,e,t)}function Fde(e,t){Uc(),SV.call(this,e,t)}function rit(e,t){Uc(),Fde.call(this,e,t)}function $de(e,t){Uc(),cP.call(this,e,t)}function iit(e,t){Uc(),cP.call(this,e,t)}function oit(e,t){Uc(),$de.call(this,e,t)}function Zu(e,t,r){pu.call(this,e,t,r,2)}function xnn(e,t,r){aC(Fu(e.a),t,kut(r))}function TV(e,t){return w1(e.e,l(t,52))}function knn(e,t,r){return t.xl(e.e,e.c,r)}function Nnn(e,t,r){return t.yl(e.e,e.c,r)}function Bde(e,t,r){return Y7(h6(e,t),r)}function sit(e,t){return Mt(e),e+CV(t)}function Cnn(e){return e==null?null:ms(e)}function Inn(e){return e==null?null:ms(e)}function Rnn(e){return e==null?null:mNn(e)}function Onn(e){return e==null?null:byn(e)}function np(e){e.o==null&&jEn(e)}function Ke(e){return T3(e==null||Bw(e)),e}function le(e){return T3(e==null||Uw(e)),e}function In(e){return T3(e==null||zi(e)),e}function ait(){this.a=new b0,this.b=new b0}function Lnn(e,t){this.d=e,WKe(this),this.b=t}function LO(e,t){this.c=e,HA.call(this,e,t)}function E3(e,t){this.a=e,LO.call(this,e,t)}function Ude(e,t,r){ej.call(this,e,t,r,null)}function uit(e,t,r){ej.call(this,e,t,r,null)}function Hde(){Yft.call(this),this.Bb|=Co}function zde(e,t){QW.call(this,e),this.a=t}function Gde(e,t){QW.call(this,e),this.a=t}function cit(e,t){sf||Fe(e.a,t)}function Dnn(e,t){return CY(e,t),new iat(e,t)}function Mnn(e,t,r){return e.Le(t,r)<=0?r:t}function Pnn(e,t,r){return e.Le(t,r)<=0?t:r}function lit(e){return Mt(e),e?1231:1237}function AV(e){return l(ze(e.a,e.b),296)}function dit(e){return gc(),Hnt(l(e,205))}function jnn(e,t){return l(Wd(e.b,t),144)}function Fnn(e,t){return l(Wd(e.c,t),236)}function fit(e){return new Me(e.c,e.d+e.a)}function $nn(e,t){return zS(),new vyt(t,e)}function Bnn(e,t){return fO(),T_(t.d.i,e)}function Unn(e,t){t.a?rEn(e,t):bV(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 hit(e,t,r){++e.j,e.oj(t,e.Xi(t,r))}function DO(e,t,r){++e.j,e.rj(),ZW(e,t,r)}function pit(e,t,r){var o;o=e.dd(t),o.Rb(r)}function git(e,t){this.c=e,w0.call(this,t)}function bit(e,t){this.a=e,iZe.call(this,t)}function MO(e,t){this.a=e,iZe.call(this,t)}function Jde(e){this.q=new b.Date($b(e))}function mit(e){this.a=(wc(e,Iy),new La(e))}function wit(e){this.a=(wc(e,Iy),new La(e))}function _V(e){this.a=(At(),new qG(kn(e)))}function z8(){z8=K,m$=new Pr(H2t,0)}function aE(){aE=K,l2=new cr("root")}function JA(){JA=K,c5=new UZe,new HZe}function qw(){qw=K,T2e=ct((sc(),xm))}function Hnn(e){return Ln(Rb(e,32))^Ln(e)}function xV(e){return String.fromCharCode(e)}function znn(e){return e==null?null:e.message}function Gnn(e,t,r){return e.apply(t,r)}function yit(e,t,r){return L0e(e.c,e.b,t,r)}function Xde(e,t,r){return IS(e,l(t,23),r)}function kb(e,t){return Dt(),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 qnn(e,t){var r;r=e[AX],r.call(e,t)}function Vnn(e,t){var r;r=e[AX],r.call(e,t)}function Vw(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function vit(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 ce),e.a}function Eit(e,t,r){return e.a+=Mf(t,0,r),e}function Wnn(e,t,r){_b(),GKe(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 kV(e,t){Ace.call(this,e),this.a=t}function Sit(){G8.call(this),this.a=new ro}function nfe(){this.n=new ro,this.o=new ro}function Tit(){this.b=new ro,this.c=new je}function Ait(){this.a=new je,this.b=new je}function _it(){this.a=new ah,this.b=new wZe}function rfe(){this.b=new d1,this.a=new d1}function xit(){this.b=new hi,this.a=new hi}function kit(){this.b=new hn,this.a=new hn}function Nit(){this.a=new je,this.d=new je}function Cit(){this.a=new IWe,this.b=new uUe}function Iit(){this.b=new KQe,this.a=new yHe}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 Li(e,t){return e.a-=t.a,e.b-=t.b,e}function Knn(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 Rit(e,t,r){r!=null&&Ej(t,OY(e,r))}function Oit(e,t,r){r!=null&&Sj(t,OY(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 Lit(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 NV(e,t,r,o){mP.call(this,e,t,r,o)}function Mit(e,t,r,o){NV.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){NV.call(this,e,t,r,o)}function Pit(e,t,r,o){afe.call(this,e,t,r,o)}function jit(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 Ynn(e,t){return e.n.a=(Mt(t),t+10)}function Jnn(e,t){return e.n.a=(Mt(t),t+10)}function Xnn(e,t){return e.e=l(e.d.Kb(t),163)}function Znn(e,t){return t==e||q_(L7(t),e)}function Gl(e,t){return $9(new Array(t),e)}function Fit(e,t){return Mt(e),me(e)===me(t)}function wt(e,t){return Mt(e),me(e)===me(t)}function $it(e,t){return Jn(e.a,t,"")==null}function lfe(e,t,r){return e.lastIndexOf(t,r)}function Qnn(e,t){return e.b.zd(new ott(e,t))}function ern(e,t){return e.b.zd(new stt(e,t))}function Bit(e,t){return e.b.zd(new att(e,t))}function trn(e){return e<100?null:new Qg(e)}function nrn(e,t){return Te(t,(Be(),mD),e)}function rrn(e,t,r){return yr(e[t.a],e[r.a])}function irn(e,t){return na(e.a.d.p,t.a.d.p)}function orn(e,t){return na(t.a.d.p,e.a.d.p)}function srn(e,t){return fO(),!T_(t.d.i,e)}function arn(e,t){sf||t&&(e.d=t)}function urn(e,t){ep(e.f)?CEn(e,t):ywn(e,t)}function Uit(e,t){_on.call(this,e,e.length,t)}function Hit(e){this.c=e,I8.call(this,wL,0)}function dfe(e,t){this.c=e,iW.call(this,e,t)}function zit(e,t,r){this.a=e,Lde.call(this,t,r)}function Git(e,t,r){this.c=t,this.b=r,this.a=e}function FO(e){ZA(),this.d=e,this.a=new iE}function crn(e,t){var r;return r=t.ni(e.a),r}function lrn(e,t){return yr(e.c-e.s,t.c-t.s)}function drn(e,t){return yr(e.c.e.a,t.c.e.a)}function frn(e,t){return yr(e.b.e.a,t.b.e.a)}function qit(e,t){return ae(t,16)&&eyt(e.c,t)}function hrn(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 prn(e,t,r){return knn(e,l(t,345),r)}function ffe(e,t,r){return Nnn(e,l(t,345),r)}function grn(e,t,r){return Pbt(e,l(t,345),r)}function Vit(e,t,r){return Rwn(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 Wit(e){return e.c?_s(e.c.a,e,0):-1}function CV(e){return Uw(e)?(Mt(e),e):e.se()}function V8(e){return!isNaN(e)&&!isFinite(e)}function IV(e){trt(this),tc(this),mo(this,e)}function Tu(e){dV(this),Dfe(this.c,0,e.Nc())}function Kit(e){Mu(e.a),xpe(e.c,e.b),e.b=null}function RV(){RV=K,g2e=new Xt,cxt=new vt}function Yit(){Yit=K,VLt=we(Ri,Rt,1,0,5,1)}function Jit(){Jit=K,lDt=we(Ri,Rt,1,0,5,1)}function hfe(){hfe=K,dDt=we(Ri,Rt,1,0,5,1)}function brn(e){return b_(),wn((wdt(),fxt),e)}function mrn(e){return Yc(),wn((Olt(),wxt),e)}function wrn(e){return Sd(),wn((Llt(),xxt),e)}function yrn(e){return _u(),wn((Dlt(),Nxt),e)}function vrn(e){return Za(),wn((Mlt(),Ixt),e)}function Ern(e){return eF(),wn((knt(),Qxt),e)}function pfe(e,t){if(!e)throw Y(new jt(t))}function XA(e){if(!e)throw Y(new es(twe))}function OV(e,t){if(e!=t)throw Y(new $c)}function Hc(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 Zit(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 Qit(e,t,r){this.d=e,this.b=r,this.a=t}function Srn(e,t,r){return _b(),e.a.Wd(t,r),t}function LV(e){var t;return t=new yb,t.e=e,t}function bfe(e){var t;return t=new _Ze,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 eot(e){this.a=e,eg(),Gs(Date.now())}function tot(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 Trn(e){return zt(),wn((Nht(),tNt),e)}function Arn(e){return A0(),wn((ydt(),tkt),e)}function _rn(e){return x_(),wn((vdt(),qkt),e)}function xrn(e){return cj(),wn((Hct(),lkt),e)}function krn(e){return G3(),wn((Plt(),Pkt),e)}function Nrn(e){return Vi(),wn((rft(),Bkt),e)}function Crn(e){return YS(),wn((Edt(),Xkt),e)}function Irn(e){return E_(),wn((zct(),sNt),e)}function Rrn(e){return Zi(),wn((Nnt(),aNt),e)}function Orn(e){return Mj(),wn((Sdt(),lNt),e)}function Lrn(e){return Xl(),wn((Tdt(),ENt),e)}function Drn(e){return yy(),wn((gft(),TNt),e)}function Mrn(e){return tj(),wn((qct(),RNt),e)}function Prn(e){return eT(),wn((Dft(),INt),e)}function jrn(e){return T0(),wn((edt(),NNt),e)}function Frn(e){return B7(),wn((Cht(),CNt),e)}function $rn(e){return lC(),wn((kdt(),ONt),e)}function Brn(e){return mj(),wn((Blt(),LNt),e)}function Urn(e){return tL(),wn((Ght(),DNt),e)}function Hrn(e){return m6(),wn((Gct(),MNt),e)}function zrn(e){return Vb(),wn((Ult(),jNt),e)}function Grn(e){return _7(),wn((Lft(),FNt),e)}function qrn(e){return l6(),wn((Vct(),$Nt),e)}function Vrn(e){return K6(),wn((Rft(),BNt),e)}function Wrn(e){return W_(),wn((Oft(),UNt),e)}function Krn(e){return Fo(),wn((ipt(),HNt),e)}function Yrn(e){return __(),wn(($lt(),zNt),e)}function Jrn(e){return g1(),wn((jlt(),GNt),e)}function Xrn(e){return lp(),wn((Flt(),VNt),e)}function Zrn(e){return UP(),wn((Wct(),WNt),e)}function Qrn(e){return ic(),wn((mft(),YNt),e)}function ein(e){return GP(),wn((Kct(),JNt),e)}function tin(e){return wy(),wn((_dt(),$It),e)}function nin(e){return rC(),wn((Klt(),FIt),e)}function rin(e){return hC(),wn((wft(),BIt),e)}function iin(e){return _1(),wn((rpt(),UIt),e)}function oin(e){return rL(),wn((qht(),jIt),e)}function sin(e){return bp(),wn((xdt(),HIt),e)}function ain(e){return g6(),wn((Yct(),zIt),e)}function uin(e){return jo(),wn((Hlt(),qIt),e)}function cin(e){return Oj(),wn((zlt(),VIt),e)}function lin(e){return nC(),wn((Glt(),WIt),e)}function din(e){return R_(),wn((qlt(),KIt),e)}function fin(e){return bj(),wn((Vlt(),YIt),e)}function hin(e){return Lj(),wn((Wlt(),JIt),e)}function pin(e){return Kb(),wn((Adt(),g4t),e)}function gin(e){return H3(),wn((Jct(),v4t),e)}function bin(e){return If(),wn((Xct(),k4t),e)}function min(e){return zd(),wn((Zct(),C4t),e)}function win(e){return vd(),wn((Qct(),G4t),e)}function yin(e,t){return Mt(e),e+(Mt(t),t)}function vin(e){return g0(),wn((elt(),X4t),e)}function Ein(e){return JS(),wn((Rdt(),Z4t),e)}function Sin(e){return IC(),wn((Cnt(),Q4t),e)}function Tin(e){return eC(),wn((tdt(),eRt),e)}function Ain(e){return tC(),wn((Ndt(),TRt),e)}function _in(e){return FP(),wn((tlt(),ARt),e)}function xin(e){return _j(),wn((nlt(),CRt),e)}function kin(e){return v7(),wn((bft(),RRt),e)}function Nin(e){return rj(),wn((rlt(),ORt),e)}function Cin(e){return R6(),wn((ndt(),LRt),e)}function Iin(e){return d7(),wn((Cdt(),QRt),e)}function Rin(e){return Ij(),wn((Ylt(),eOt),e)}function Oin(e){return Zj(),wn((Jlt(),tOt),e)}function Lin(e){return S7(),wn((Idt(),rOt),e)}function Din(e){return Wj(),wn((rdt(),sOt),e)}function ZA(){ZA=K,k_e=(He(),Kt),RB=Qt}function hc(){hc=K,mNt=new wBe,wNt=new yBe}function $O(){$O=K,T$=new MFe,A$=new PFe}function Y8(){Y8=K,fNt=new c$e,dNt=new l$e}function Min(e){return!e.e&&(e.e=new je),e.e}function Pin(e){return xC(),wn((yft(),OOt),e)}function jin(e){return Y9(),wn((bct(),DOt),e)}function Fin(e){return M6(),wn((Xlt(),LOt),e)}function $in(e){return J9(),wn((mct(),POt),e)}function Bin(e){return o6(),wn((olt(),jOt),e)}function Uin(e){return J6(),wn((vft(),FOt),e)}function Hin(e){return KP(),wn((ilt(),NOt),e)}function zin(e){return ij(),wn((Zlt(),COt),e)}function Gin(e){return Uj(),wn((Qlt(),IOt),e)}function qin(e){return JN(),wn((wct(),e6t),e)}function Vin(e){return x6(),wn((slt(),t6t),e)}function Win(e){return zP(),wn((alt(),n6t),e)}function Kin(e){return g7(),wn((Odt(),i6t),e)}function Yin(e){return X9(),wn((yct(),h6t),e)}function Jin(e){return Z9(),wn((vct(),g6t),e)}function Xin(e){return Q9(),wn((Ect(),m6t),e)}function Zin(e){return w6(),wn((ult(),y6t),e)}function Qin(e){return Jd(),wn((pft(),_6t),e)}function eon(e){return A1(),wn((Iht(),k6t),e)}function ton(e){return mh(),wn((jft(),N6t),e)}function non(e){return Zb(),wn((Pft(),D6t),e)}function ron(e){return vi(),wn((nft(),sLt),e)}function ion(e){return O_(),wn((Ldt(),aLt),e)}function oon(e){return Kd(),wn((odt(),uLt),e)}function son(e){return gp(),wn((Ddt(),cLt),e)}function aon(e){return T7(),wn((Mft(),lLt),e)}function uon(e){return pp(),wn((idt(),fLt),e)}function con(e){return vc(),wn((Mdt(),pLt),e)}function lon(e){return Ty(),wn((zht(),gLt),e)}function don(e){return vE(),wn((hft(),bLt),e)}function fon(e){return qi(),wn((Fft(),mLt),e)}function hon(e){return xu(),wn(($ft(),wLt),e)}function pon(e){return V3(),wn((adt(),ALt),e)}function gon(e){return He(),wn((tft(),yLt),e)}function bon(e){return sc(),wn((jdt(),_Lt),e)}function mon(e){return Uu(),wn((Hht(),xLt),e)}function won(e){return VS(),wn((sdt(),kLt),e)}function yon(e){return qP(),wn((Pdt(),NLt),e)}function von(e){return Kj(),wn((Fdt(),CLt),e)}function Eon(e){return Pj(),wn(($dt(),OLt),e)}function MV(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 not(e,t,r){this.a=e,this.c=t,this.b=r}function rot(e,t,r){this.a=e,this.c=t,this.b=r}function iot(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 PV(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 vfe(e,t,r){this.a=e,this.b=t,this.c=r}function sot(e,t,r){this.a=e,this.b=t,this.c=r}function aot(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 uot(e,t,r){Uc(),Mhe.call(this,e,t,r)}function jV(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 cot(e,t,r){Uc(),jV.call(this,e,t,r)}function Tfe(e,t,r){Uc(),jV.call(this,e,t,r)}function lot(e,t,r){Uc(),Tfe.call(this,e,t,r)}function dot(e,t,r){Uc(),Efe.call(this,e,t,r)}function fot(e,t,r){Uc(),Sfe.call(this,e,t,r)}function Son(e){return sT(),wn((Rht(),qLt),e)}function BO(e,t){return kn(e),kn(t),new met(e,t)}function _S(e,t){return kn(e),kn(t),new vot(e,t)}function Ton(e,t){return kn(e),kn(t),new Eot(e,t)}function Aon(e,t){return kn(e),kn(t),new ket(e,t)}function Afe(e,t){cen.call(this,e,qj(new Ds(t)))}function hot(e,t){this.c=e,this.b=t,this.a=!1}function _fe(e){this.d=e,WKe(this),this.b=gsn(e.d)}function xfe(e,t,r){this.c=e,t8.call(this,t,r)}function _on(e,t,r){fst.call(this,t,r),this.a=e}function pot(){this.a=";,;",this.b="",this.c=""}function got(e,t,r){this.b=e,Ant.call(this,t,r)}function xon(e,t){t&&(e.b=t,e.a=(u1(t),t.a))}function FV(e){return un(e.b!=0),Vc(e,e.a.a)}function kon(e){return un(e.b!=0),Vc(e,e.c.b)}function Non(e){return!e.c&&(e.c=new NA),e.c}function bot(e){var t;return t=new QG,TK(t,e),t}function UO(e){var t;return t=new Ar,TK(t,e),t}function QA(e){var t;return t=new je,lK(t,e),t}function Con(e){var t;return t=new hi,lK(t,e),t}function l(e,t){return T3(e==null||EY(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 yQe(t))}function xS(e,t){if(!e)throw Y(new es(t))}function Ion(e,t){return K9(),na(e.d.p,t.d.p)}function Ron(e,t){return dp(),yr(e.e.b,t.e.b)}function Oon(e,t){return dp(),yr(e.e.a,t.e.a)}function Lon(e,t){return na(Iot(e.d),Iot(t.d))}function Don(e,t){return t==(He(),Kt)?e.c:e.d}function Mon(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 mot(e,t,r,o,a){e.c=t,e.d=r,e.b=o,e.a=a}function X8(e,t){return Dfn(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 Lfe(e){hfe(),y9.call(this),this._h(e)}function Z8(e,t,r){Qle.call(this,e,t),this.c=r}function wot(e,t,r){this.a=e,Qv.call(this,t,r)}function yot(e,t,r){this.a=e,Qv.call(this,t,r)}function $V(e){this.b=e,this.a=Cb(this.b.a).Md()}function vot(e,t){this.b=e,this.a=t,PG.call(this)}function Eot(e,t){this.a=e,this.b=t,PG.call(this)}function Sot(e){Lde.call(this,e.length,0),this.a=e}function Dfe(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 Pon(e,t){var r;return r=e.c,age(e,t),r}function jon(e,t){return(lgt(e)<<4|lgt(t))&Ei}function Tot(e){return e!=null&&!sY(e,O4,L4)}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(),iK(t,e)}function eP(e){var t;return t=e.n,e.a.b+t.d+t.a}function Aot(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 _ot(e){return fr(),new dh(0,e)}function xot(){xot=K,Ure=(At(),new qG(AQ))}function tP(){tP=K,new V1e((sq(),PQ),(oq(),MQ))}function kot(){h_(),Ysn.call(this,(n1(),Dl))}function Not(e,t){fst.call(this,t,1040),this.a=e}function a0(e,t){return mC(e,new qA(t.a,t.b))}function Fon(e){return!fo(e)&&e.c.i.c==e.d.i.c}function $on(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function Cot(e){return e.b.c.length-e.e.c.length}function Iot(e){return e.e.c.length-e.g.c.length}function BV(e){return e.e.c.length+e.g.c.length}function Rot(e){return US(),we(MB,DF,41,e,0,1)}function Oot(){Oot=K,t2e=we(Ti,Pe,15,256,0,1)}function Lot(){this.b=ue(le(Ge((ed(),aee))))}function Bon(e){return gc(),(He(),Wa).Gc(e.j)}function Uon(e,t,r){return dp(),r.e.a+r.f.a+e*t}function Hon(e,t,r){return dp(),r.e.b+r.f.b+e*t}function zon(e,t,r){return Jn(e.b,l(r.b,17),t)}function Gon(e,t,r){return Jn(e.b,l(r.b,17),t)}function qon(e,t){return Fe(e,new Me(t.a,t.b))}function Von(e,t){uge(e,t==null?null:(Mt(t),t))}function Won(e,t){lge(e,t==null?null:(Mt(t),t))}function Kon(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(),Lfe.call(this,e),this.a=-1}function Mot(){iV.call(this,"COUNT_CHILDREN",0)}function Ffe(e){this.c=e,this.b=this.c.d.vc().Jc()}function Pot(e){return e.e.Pd().gc()*e.c.Pd().gc()}function UV(e,t,r){return new Git(Qsn(e).Ze(),r,t)}function $n(e,t,r){return e.a=-1,Dde(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=lW(e,t),r.i=2,r}function rP(e,t){var r;return++e.j,r=e.Aj(t),r}function Yon(e){return e.a?e.a:yW(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 Jon(e){e.a.jd(),l(e.a.kd(),18).gc(),Jce()}function oP(){oP=K,$Q=new DW((At(),At(),Io))}function HV(){HV=K,GEe=new Sle((At(),At(),h$))}function jot(){jot=K,ZEe=we(ET,Pe,224,256,0,1)}function Fot(){Fot=K,e2e=we(mI,Pe,183,128,0,1)}function $ot(){$ot=K,n2e=we(Y0,Pe,192,256,0,1)}function Bot(){Bot=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 Uot(e){this.c=e,this.a=new fS(this.c.a)}function Et(e,t){_b(),QW.call(this,e),this.a=t}function ze(e,t){return at(t,e.c.length),e.c[t]}function Hot(e,t){return at(t,e.a.length),e.a[t]}function zot(e,t){return e.a+=Mf(t,0,t.length),e}function Xon(e,t){return e.a==null&&uyt(e),e.a[t]}function Zon(e,t,r){return na(t.d[e.g],r.d[e.g])}function Qon(e,t,r){return na(e.d[t.p],e.d[r.p])}function esn(e,t,r){return na(e.d[t.p],e.d[r.p])}function tsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function nsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function rsn(e,t){return Mt(e),E6(e,(Mt(t),t))}function isn(e,t){return Mt(t),E6(t,(Mt(e),e))}function Got(e){return e.q?e.q:(At(),At(),xh)}function qot(e){return e.c-l(ze(e.a,e.b),296).b}function Vot(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,c){return kbt(e,t,r,o,a,0,c)}function aP(e,t,r,o){Ife(this,e,t,r,o)}function osn(e,t){var r;for(r=0;r<t;++r)e[r]=-1}function Wot(e){var t;return t=Nbt(e),t?Wot(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 Kot(){mn.call(this,"SIMPLE_X_PLACING",0)}function Yot(){mn.call(this,"SIMPLE_Y_PLACING",0)}function Jot(e){this.a=e,this.c=new hn,cpn(this)}function Xot(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 ssn(e,t){return!e&&(e=[]),e[e.length]=t,e}function zV(e,t,r){Lpt(0,t,e.length),g_(e,0,t,r)}function Zot(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 GV(e,t){return ae(t,23)&&fu(e,l(t,23))}function Qot(e,t){return ae(t,23)&&Cfn(e,l(t,23))}function ts(e,t){return Upt(e,t,Jln(e,e.b.Ae(t)))}function asn(e,t){return e.a.get(t)!==void 0}function qV(e,t){return e==null?t==null:wt(e,t)}function usn(e,t){return e==null?t==null:e7(e,t)}function lP(e,t){return fr(),new she(e,t)}function Ln(e){return gs(e)?e|0:tet(e)}function VV(){VV=K,DLt=new Mi((_n(),zu),0)}function est(){est=K,B_t=new Sot(we(Ri,Rt,1,0,5,1))}function tst(){this.b=new fG,this.c=new $at(this)}function Gfe(){this.d=new Kh,this.e=new Fat(this)}function WV(e,t){this.b=new Ar,this.a=e,this.c=t}function qfe(){Bhe(),this.g=new Ar,this.f=new Ar}function csn(e,t){KV(e,Li(new Me(t.a,t.b),e.c))}function KV(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 YV(e){return Bu(e,26)*UC+Bu(e,27)*HC}function lsn(e,t,r){return pi(e,new hS(t.a,r.a))}function dsn(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,Dde(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 fsn(e,t,r){V0t(r,e,1),Fe(t,new gtt(r,e))}function hsn(e,t,r){bC(r,e,1),Fe(t,new Ett(r,e))}function nst(e,t,r){this.a=e,P8.call(this,t,r,22)}function rst(e,t,r){this.a=e,P8.call(this,t,r,14)}function ist(e,t,r,o){Uc(),Yut.call(this,e,t,r,o)}function ost(e,t,r,o){Uc(),Yut.call(this,e,t,r,o)}function psn(e,t){t.Bb&Ws&&!e.a.o&&(e.a.o=t)}function sst(e){return e!=null&&tW(e)&&e.Rm!==fe}function Yfe(e){return!Array.isArray(e)&&e.Rm===fe}function gsn(e){return ae(e,16)?l(e,16).cd():e.Jc()}function Jfe(e){return e.Oc(we(Ri,Rt,1,e.gc(),5,1))}function _3(e,t){return P1n(h6(e,t))?t.wi():null}function Cb(e){return e.c?e.c:e.c=e.Qd()}function JV(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 ast(e){var t;return t=e.f,t||(e.f=e.Cc())}function ust(e){return fr(),new xW(10,e,0)}function Ib(e){r1(),this.a=0,this.b=e-1,this.c=1}function cst(e){D8(this),this.g=e,xP(this),this.he()}function lst(){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=(est(),B_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:Qwt(e)}function fh(e,t){return p1(dmt(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(xyn(gs(e)?vl(e):e,t))}function bsn(e,t){return kb((Mt(e),e),(Mt(t),t))}function XV(e,t){return yr((Mt(e),e),(Mt(t),t))}function dst(e,t){return kn(t),e.a.Hd(t)&&!e.b.Hd(t)}function msn(e,t){return Ua(e.l&t.l,e.m&t.m,e.h&t.h)}function wsn(e,t){return Ua(e.l|t.l,e.m|t.m,e.h|t.h)}function ysn(e,t){return Ua(e.l^t.l,e.m^t.m,e.h^t.h)}function Jw(e,t){return D6(e,(Mt(t),new eYe(t)))}function NS(e,t){return D6(e,(Mt(t),new tYe(t)))}function vsn(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 yZe)}function Zs(e){e.f=new $nt(e),e.i=new Bnt(e),++e.g}function gP(e){this.b=new La(11),this.a=(h0(),e)}function ZV(e){this.b=null,this.a=(h0(),e||h2e)}function Qfe(e,t){this.e=e,this.d=t&64?t|$f:t}function fst(e,t){this.c=0,this.d=e,this.b=t|64|$f}function hst(e){this.a=_1t(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 Esn(e){return e.e?Spe(e.e):null}function Ssn(e,t){return zS(),yr(t.a.o.a,e.a.o.a)}function pst(e,t,r){return Z_(),NK(e,t)&&NK(e,r)}function k3(e){return xu(),!e.Gc(Rp)&&!e.Gc(K1)}function gst(e,t,r){return KEt(e,l(t,12),l(r,12))}function bst(e){return bu(),l(e,12).g.c.length!=0}function mst(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 QV(e,t){return t.Sh()?w1(e.b,l(t,52)):t}function Tsn(e,t,r){t.of(r,ue(le(Ht(e.b,r)))*e.a)}function Asn(e,t){t.Tg("General 'Rotator",1),rNn(e)}function Pi(e,t,r,o,a){tK.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 wst(e){pnt.call(this,e,!1),this.a=!1}function yst(){iV.call(this,"LOOKAHEAD_LAYOUT",1)}function vst(){iV.call(this,"LAYOUT_NEXT_LEVEL",3)}function Est(){mn.call(this,"ABSOLUTE_XPLACING",0)}function Sst(e){this.b=e,SS.call(this,e),_rt(this)}function Tst(e){this.b=e,IO.call(this,e),xrt(this)}function Ast(e,t){this.b=e,SKe.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 eW(e,t){return fr(),new ghe(6,e,t)}function _sn(e,t){return wt(e.substr(0,t.length),t)}function ma(e,t){return zi(t)?TW(e,t):!!ts(e.f,t)}function xsn(e){return Ua(~e.l&Hu,~e.m&Hu,~e.h&Ep)}function tW(e){return typeof e===pL||typeof e===YJ}function hh(e){return new $t(new Ade(e.a.length,e.a))}function nW(e){return new Et(null,Dsn(e,e.length))}function _st(e){if(!e)throw Y(new vs);return e.d}function CS(e){var t;return t=Q3(e),un(t!=null),t}function ksn(e){var t;return t=Egn(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,(Dt(),L1))==null}function Nsn(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 Csn(e,t,r){t_(r,e.a.c.length),nc(e.a,r,t)}function be(e,t,r,o){Lpt(t,r,e.length),Isn(e,t,r,o)}function Isn(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){urt(e,ae(t,164)?t:l(t,2015).Pl())}function Rsn(e,t,r){uNn(e.a,e.b,e.d,e.c,l(t,171),r)}function pc(e,t,r){return Ppn(e,t.g,r),Jl(e.c,t),e}function Osn(e){return RE(e,(vi(),as)),e.d=!0,e}function rW(e){return!e.j&&GZt(e,QTn(e.g,e.b)),e.j}function Lsn(e,t,r){var o;return o=ay(e,t),$W(e,t,r),o}function ohe(e,t,r){this.c=e,this.a=t,At(),this.b=r}function iW(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 xst(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 Dsn(e,t){return _fn(t,e.length),new Not(e,t)}function kst(e,t){return Ea(e,t)<0?-1:Ea(e,t)>0?1:0}function Msn(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 Nst(e,t){return e.c?Nst(e.c,t):Fe(e.b,t),e}function c0(e,t){ei(Oa(e.Mc(),new UBe),new aJe(t))}function r_(e,t,r,o,a){VY(e,l(wr(t.k,r),16),r,o,a)}function Cst(e,t,r,o,a){for(;t<r;)o[a++]=co(e,t++)}function Ist(e,t,r){var o;for(o=0;o<t;++o)ii(e,o,r)}function vP(e){e.s=NaN,e.c=NaN,M0t(e,e.e),M0t(e,e.j)}function oW(e){return b.Math.abs(e.d.e-e.e.e)-e.a}function Psn(e,t){return yr(e.e.a+e.f.a,t.e.a+t.f.a)}function jsn(e,t){return yr(e.e.b+e.f.b,t.e.b+t.f.b)}function sW(e,t){this.d=Sgn(e),this.c=t,this.a=.5*t}function Zw(e){this.d=(Mt(e),e),this.a=0,this.c=wL}function Rst(e){Ohe.call(this),this.a=e,Fe(e.a,this)}function ahe(e){e?Dbe(e,(eg(),Q_t)):yun((eg(),e))}function Fsn(e,t){RS(e,new Qw(t.f!=null?t.f:""+t.g))}function $sn(e,t){RS(e,new Qw(t.f!=null?t.f:""+t.g))}function ti(e,t){return e.Qi()&&(t=cut(e,t)),e.Di(t)}function aW(e,t){return t=e.Wk(null,t),qbt(e,null,t)}function Ost(e,t,r){return fr(),new Out(e,t,r)}function Bsn(e,t,r){return l(e.c.fd(t,l(r,138)),45)}function Usn(){return M9(),Z(X(U_t,1),Ce,541,0,[FQ])}function Hsn(e){return e==Kr?JL:e==Di?"-INF":""+e}function zsn(e){return e==Kr?JL:e==Di?"-INF":""+e}function ln(e){return(e.i==null&&Ff(e),e.i).length}function a1(){a1=K,Ut=Pvn(),_t(),wv&&Kmn()}function Lst(){Lst=K,W_t=new Zue(!1),K_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 Gsn(e){var t;return t=e.i,t||(e.i=new wKe(e))}function uW(e){var t;return t=e.j,t||(e.j=new $Ke(e))}function Dst(e){var t;return t=e.f,t||(e.f=new vde(e))}function cW(e){var t;return t=e.d,t||(e.d=new UG(e))}function che(e){return ae(e,613)?e:new Zat(e)}function Mst(e,t){return t6(t,e.c.b.c.gc()),new bet(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=lW(e,t),zft(r,o),o}function lW(e,t){var r;return r=new Dge,r.j=e,r.d=t,r}function i_(e,t){return e.a+=String.fromCharCode(t),e}function Lb(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 Pst(e){Cce(),this.b=new je,this.a=e,skn(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 jst(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 Fst(){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 lnn(r==null||jAn(e,r)),e[t]=r}function dW(e,t,r){var o;return o=EK(e,t,r),o0e(e,o)}function $st(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 Bst(e,t){return l(Cb(e.a).Kd().Xb(t),45).jd()}function qsn(e,t){return l(F(t,(Be(),Yy)),15).a<e}function Vsn(e,t){return zS(),l(Wo(e,t.d),16).Ec(t)}function Wsn(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 Ust(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 Ksn(e){return!e.a&&(e.a=new yi(Y1,e,4)),e.a}function Hst(e){this.c=e,this.a=new Ar,this.b=new Ar}function Ysn(e){this.a=(Mt(Bn),Bn),this.b=e,new $ce}function zst(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 Jsn(e,t,r){l(t.b,68),Da(t.a,new wfe(e,r,t))}function fW(e,t){for(Mt(t);e.c<e.d;)e.Qe(t,e.c++)}function Xsn(e,t){++e.j,qY(e,e.i,t),jvn(e,l(t,345))}function Gst(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),$W(e,r,t)}function d0(e,t){return t_(t,e.a.c.length),ze(e.a,t)}function SP(e,t){return FY(e.c,e.f,t,e.b,e.a,e.e,e.d)}function rp(e,t){return me(e)===me(t)||e!=null&&pr(e,t)}function qst(e){return wl(e),ae(e,475)?l(e,475):ms(e)}function Vst(e){return e?e.dc():!e.Jc().Ob()}function Zsn(e){return vv?TW(vv,e):!1}function Qsn(e){return 0>=e?new ple:ehn(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 Wst(e){var t,r;return t=e.c.i.c,r=e.d.i.c,t==r}function ean(e,t){return na(t.j.c.length,e.j.c.length)}function Kst(e){The(e.a),e.b=we(Ri,Rt,1,e.b.length,5,1)}function L3(e){e.c?e.c.Ye():(e.d=!0,q2n(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 Yst(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function Jst(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function ui(){eQe.call(this),Mw(this.j.c,0),this.a=-1}function Xst(){mn.call(this,"DELAUNAY_TRIANGULATION",0)}function mhe(e){for(;e.a.b!=0;)Ukn(e,l(Yat(e.a),9))}function tan(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 nan(e,t){var r;r=e.Fh(t),r>=0?e.hi(r):lme(e,t)}function Zst(e,t){this.b=e,iW.call(this,e,t),_rt(this)}function Qst(e,t){this.b=e,dfe.call(this,e,t),xrt(this)}function eat(){Ube.call(this,_l,($A(),C3e)),Q_n(this)}function yhe(e){return!e.b&&(e.b=new N9(new iq)),e.b}function ran(e){if(e.p!=3)throw Y(new lu);return e.e}function ian(e){if(e.p!=4)throw Y(new lu);return e.e}function oan(e){if(e.p!=4)throw Y(new lu);return e.j}function san(e){if(e.p!=3)throw Y(new lu);return e.j}function aan(e){if(e.p!=6)throw Y(new lu);return e.f}function uan(e){if(e.p!=6)throw Y(new lu);return e.k}function f0(e){return e.c==-2&&MZt(e,Dwn(e.g,e.b)),e.c}function o_(e,t){var r;return r=lW("",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 can(e,t){KV(l(t.b,68),e),Da(t.a,new bce(e))}function tat(e,t){return tP(),new V1e(new Nrt(e),new krt(t))}function lan(e,t,r){return qS(),r.Kg(e,l(t.jd(),149))}function dan(e){return wc(e,QJ),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 fan(e){return String.fromCharCode.apply(null,e)}function nat(e){return!e.d&&(e.d=new CA(e.c.Bc())),e.d}function s_(e){return!e.a&&(e.a=new TQe(e.c.vc())),e.a}function rat(e){return!e.b&&(e.b=new PA(e.c.ec())),e.b}function iat(e,t){Ltn.call(this,thn(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 D3(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function oat(){Ube.call(this,lm,(HQe(),yDt)),Gxn(this)}function sat(){Es.call(this,"There is no more element.")}function co(e,t){return Yt(t,e.length),e.charCodeAt(t)}function aat(e,t){e.u.Gc((xu(),Rp))&&Rvn(e,t),vdn(e,t)}function ia(e,t){return me(e)===me(t)||e!=null&&pr(e,t)}function Wo(e,t){return GV(e.a,t)?e.b[l(t,23).g]:null}function uat(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),Knn(e.a),e}function han(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 hW(e){return!e.n&&(e.n=new ke(Rs,e,1,7)),e.n}function nr(e,t,r,o){return xht(e,t,r,!1),Hj(e,o),e}function cat(e,t){nY(e,ue(fp(t,"x")),ue(fp(t,"y")))}function lat(e,t){nY(e,ue(fp(t,"x")),ue(fp(t,"y")))}function pan(){return X9(),Z(X(f6t,1),Ce,557,0,[ere])}function gan(){return Z9(),Z(X(p6t,1),Ce,558,0,[tre])}function ban(){return Q9(),Z(X(b6t,1),Ce,559,0,[nre])}function man(){return J9(),Z(X(MOt,1),Ce,550,0,[$ne])}function wan(){return Y9(),Z(X(uke,1),Ce,480,0,[Fne])}function yan(){return JN(),Z(X(Cke,1),Ce,531,0,[MD])}function pW(){pW=K,G_t=new Ele(Z(X(dm,1),tF,45,0,[]))}function van(e,t){return new Dat(l(kn(e),50),l(kn(t),50))}function Ean(e){return e!=null&&VN(EU,e.toLowerCase())}function u_(e){return e.e==jx&&UZt(e,B1n(e.g,e.b)),e.e}function WO(e){return e.f==jx&&zZt(e,Pmn(e.g,e.b)),e.f}function uE(e){var t;return t=e.b,!t&&(e.b=t=new mKe(e)),t}function The(e){var t;for(t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function San(e,t,r){var o;o=l(e.d.Kb(r),163),o&&o.Nb(t)}function Tan(e,t){return yr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function Aan(e,t){return yr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function _an(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 Dpe(t,e.a))}function ey(e,t){return y1(e),new zde(e,new Elt(t,e.a))}function AP(e,t){return y1(e),new Gde(e,new Slt(t,e.a))}function Ahe(e,t){this.b=e,this.c=t,this.a=new fS(this.b)}function gW(e,t,r,o){this.a=e,this.e=t,this.d=r,this.c=o}function bW(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 dat(e,t,r,o){this.c=e,this.b=t,this.d=r,this.a=o}function fat(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 hat(e,t,r,o){mpt.call(this,e,r,o,!1),this.f=t}function pat(e,t){this.d=(Mt(e),e),this.a=16449,this.c=t}function gat(e){this.a=new je,this.e=we(Rn,Pe,54,e,0,2)}function xan(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 mW(e){var t,r;return r=(t=new Ym,t),Gbe(r,e),r}function wW(e,t,r){var o,a;return o=K0e(e),a=t.qi(r,o),a}function yW(e){var t;return t=rhn(e),t||null}function bat(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 mat(e,t,r,o){this.a=e,this.c=t,this.d=r,this.b=o}function wat(e,t,r,o){this.a=e,this.b=t,this.d=r,this.c=o}function yat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function vat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function Db(e,t,r,o){this.e=e,this.a=t,this.c=r,this.d=o}function Eat(e,t,r,o){Uc(),Tlt.call(this,t,r,o),this.a=e}function Sat(e,t,r,o){Uc(),Tlt.call(this,t,r,o),this.a=e}function Tat(e,t){this.a=e,Lnn.call(this,e,l(e.d,16).dd(t))}function vW(e){this.f=e,this.c=this.f.e,e.f>0&&vbt(this)}function xP(e){return e.n&&(e.e!==u2t&&e.he(),e.j=null),e}function Aat(e){return T3(e==null||tW(e)&&e.Rm!==fe),e}function kan(e,t,r){return Fe(e.a,(CY(t,r),new t0(t,r))),e}function Nan(e,t,r){W_n(e.a,r),Qhn(r),gEn(e.b,r),pxn(t,r)}function Can(e,t){return yr(hu(e)*ec(e),hu(t)*ec(t))}function Ian(e,t){return yr(hu(e)*ec(e),hu(t)*ec(t))}function Ran(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 Oan(e){return e.length>0?Wl(e):new je}function Lan(e,t){return l(F(e,(Ie(),RT)),16).Ec(t),t}function Dan(e,t){return yt(e,l(F(t,(Be(),Yy)),15),t)}function Man(e){return R0(e)&&Ye(Ke(ve(e,(Be(),bm))))}function LS(e){var t;return t=e.f,t||(e.f=new HA(e,e.c))}function Pan(e,t,r){return YN(),Wgn(l(Ht(e.e,t),520),r)}function jan(e,t,r){e.i=0,e.e=0,t!=r&&wpt(e,t,r)}function Fan(e,t,r){e.i=0,e.e=0,t!=r&&ypt(e,t,r)}function _at(e,t,r,o){this.b=e,this.c=o,I8.call(this,t,r)}function xat(e,t){this.g=e,this.d=Z(X(Nh,1),vg,9,0,[t])}function kat(e,t){e.d&&!e.d.a&&(cZe(e.d,t),kat(e.d,t))}function Nat(e,t){e.e&&!e.e.a&&(cZe(e.e,t),Nat(e.e,t))}function Cat(e,t){return yE(e.j,t.s,t.c)+yE(t.e,e.s,e.c)}function $an(e){return l(e.jd(),149).Og()+":"+ms(e.kd())}function Ban(e,t){return-yr(hu(e)*ec(e),hu(t)*ec(t))}function Uan(e,t){return rc(e),rc(t),gQe(l(e,23),l(t,23))}function Mb(e,t,r){var o,a;o=CV(r),a=new E9(o),Kl(e,t,a)}function Han(e){F9(),b.setTimeout(function(){throw e},0)}function Iat(e){this.b=new je,li(this.b,this.b),this.a=e}function Rat(e){this.b=new NUe,this.a=e,b.Math.random()}function Nhe(e,t){new Ar,this.a=new Du,this.b=e,this.c=t}function Oat(e,t,r,o){Qle.call(this,t,r),this.b=e,this.a=o}function EW(e,t,r,o,a,c){a6.call(this,e,t,r,o,a,c?-2:-1)}function Lat(){ZY(this,new Vue),this.wb=(a1(),Ut),$A()}function Che(){Che=K,Ext=new wb,Txt=new Gfe,Sxt=new Wp}function At(){At=K,Io=new De,xh=new xe,h$=new Se}function h0(){h0=K,h2e=new dt,WQ=new dt,p2e=new Ue}function Er(e){return!e.q&&(e.q=new ke(Ll,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){pQt.call(this,new ZV(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 zan(e){return new Ert(e,e.e.Pd().gc()*e.c.Pd().gc())}function Gan(e){return new Srt(e,e.e.Pd().gc()*e.c.Pd().gc())}function SW(e){return ae(e,18)?new Kw(l(e,18)):Con(e.Jc())}function CP(e){return At(),ae(e,59)?new gq(e):new $8(e)}function qan(e){return kn(e),P1t(new $t(qt(e.a.Jc(),new L)))}function TW(e,t){return t==null?!!ts(e.f,null):asn(e.i,t)}function Van(e,t){var r;return r=mde(e.a,t),r&&(t.d=null),r}function Mat(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 AW(e,t,r,o){ii(e.c[t.g],t.g,r),ii(e.b[t.g],t.g,o)}function Wan(e,t,r){return ue(le(r.a))<=e&&ue(le(r.b))>=t}function Pat(){this.d=new Ar,this.b=new hn,this.c=new je}function jat(){this.b=new hi,this.d=new Ar,this.e=new L9}function Ohe(){this.c=new ro,this.d=new ro,this.e=new ro}function p0(){this.a=new Du,this.b=(wc(3,Iy),new La(3))}function Fat(e){this.c=e,this.b=new Qp(l(kn(new Ow),50))}function $at(e){this.c=e,this.b=new Qp(l(kn(new dG),50))}function Bat(e){this.b=e,this.a=new Qp(l(kn(new pl),50))}function og(e,t){this.e=e,this.a=Ri,this.b=byt(t),this.c=t}function IP(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function Uat(e,t,r,o,a,c){this.a=e,bK.call(this,t,r,o,a,c)}function Hat(e,t,r,o,a,c){this.a=e,bK.call(this,t,r,o,a,c)}function c1(e,t,r,o,a,c,f){return new HW(e.e,t,r,o,a,c,f)}function Kan(e,t,r){return r>=0&&wt(e.substr(r,t.length),t)}function zat(e,t){return ae(t,149)&&wt(e.b,l(t,149).Og())}function Yan(e,t){return e.a?t.Dh().Jc():l(t.Dh(),72).Gi()}function Gat(e,t){var r;return r=e.b.Oc(t),jct(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 bit(e,e)),e.u}function l_(){l_=K;var e,t;t=!k1n(),e=new Q,HQ=t?new ne: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 qat(e,t){G8.call(this),qpe(this),this.a=e,this.c=t}function Vat(){iV.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function Jan(){return UP(),Z(X(hTe,1),Ce,425,0,[ete,fTe])}function Xan(){return GP(),Z(X(kTe,1),Ce,428,0,[lte,cte])}function Zan(){return g6(),Z(X(p_e,1),Ce,426,0,[Hte,zte])}function Qan(){return tj(),Z(X(USe,1),Ce,427,0,[BSe,Lee])}function eun(){return m6(),Z(X(JSe,1),Ce,424,0,[K$,YSe])}function tun(){return l6(),Z(X(QSe,1),Ce,479,0,[ZSe,J$])}function nun(){return zd(),Z(X(N4t,1),Ce,512,0,[Em,uf])}function run(){return If(),Z(X(x4t,1),Ce,513,0,[aw,kg])}function iun(){return vd(),Z(X(z4t,1),Ce,519,0,[rv,U1])}function oun(){return H3(),Z(X(y4t,1),Ce,522,0,[QI,ZI])}function sun(){return g0(),Z(X(J4t,1),Ce,457,0,[H1,u2])}function aun(){return FP(),Z(X(cxe,1),Ce,430,0,[dne,uxe])}function uun(){return _j(),Z(X(lxe,1),Ce,490,0,[BB,d2])}function cun(){return rj(),Z(X(fxe,1),Ce,431,0,[dxe,mne])}function lun(){return o6(),Z(X(cke,1),Ce,433,0,[Bne,XB])}function dun(){return KP(),Z(X(tke,1),Ce,481,0,[Dne,eke])}function fun(){return x6(),Z(X(Rke,1),Ce,432,0,[QB,Ike])}function hun(){return w6(),Z(X(w6t,1),Ce,498,0,[ire,rre])}function pun(){return zP(),Z(X(Lke,1),Ce,389,0,[Vne,Oke])}function gun(){return cj(),Z(X(k2e,1),Ce,429,0,[oee,w$])}function bun(){return E_(),Z(X(oNt,1),Ce,506,0,[iD,wee])}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():FV(e.b)}function mun(e){if(e.p!=5)throw Y(new lu);return Ln(e.f)}function wun(e){if(e.p!=5)throw Y(new lu);return Ln(e.k)}function Lhe(e){return me(e.a)===me((_K(),Fre))&&Fxn(e),e.a}function yun(e){e&&RP(e,e.ge())}function Wat(e,t){_Zt(this,new Me(e.a,e.b)),xZt(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 vun(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=sP(e.c,e.b,e.a))}function Eun(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=sP(e.c,e.b,e.a))}function Kat(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Yat(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 Jat(e,t,r,o,a){return new eJ(e,(b_(),XQ),t,r,o,a)}function LP(e,t){return $ct(t),Hfn(e,we(Rn,Qn,30,t,15,1),t)}function DP(e,t){return NP(e,"set1"),NP(t,"set2"),new Let(e,t)}function Sun(e,t){var r=UQ[e.charCodeAt(0)];return r??e}function Xat(e,t){var r,o;return r=t,o=new Ft,nEt(e,r,o),o.d}function _W(e,t,r,o){var a;a=new Sit,t.a[r.g]=a,IS(e.b,o,a)}function Tun(e,t){var r;return r=Ffn(e.f,t),br(H8(r),e.f.d)}function P3(e){var t;Jfn(e.a),Jnt(e.a),t=new A9(e.a),x1e(t)}function Aun(e,t){oyt(e,!0),Da(e.e.Pf(),new gfe(e,!0,t))}function Zat(e){this.a=l(kn(e),279),this.b=(At(),new Cde(e))}function Qat(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 Dhe(e,t,r){this.a=new je,this.e=e,this.f=t,this.c=r}function xW(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 eut(e){G8.call(this),qpe(this),this.a=e,this.c=!0}function b0(){gQt.call(this,new dS(fy(12))),Ede(!0),this.a=2}function zd(){zd=K,Em=new Fle(RX,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 tut(e){return e.Db>>16!=6?null:l(e.Cb,74)}function _un(e){if(e.ye())return null;var t=e.n;return a$[t]}function xun(e){function t(){}return t.prototype=e||{},new t}function nut(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(Mre,e,t),e&&Jn(a5,e,r)}function kun(e,t){return dp(),l(F(t,(js(),Jf)),15).a==e}function Nun(e,t){return Y8(),Dt(),l(t.b,15).a<e}function Cun(e,t){return Y8(),Dt(),l(t.a,15).a<e}function Iun(e,t){return Kht(e,t)?(Wft(e),!0):!1}function op(e,t){if(t==null)throw Y(new rS);return C1n(e,t)}function rut(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function iut(e,t){var r;for(kn(t),r=e.a;r;r=r.c)t.Wd(r.g,r.i)}function out(e,t){var r;return r=e.Fh(t),r>=0?e.Th(r):sJ(e,t)}function kW(e,t,r){var o;o=ppt(e,t,r),e.b=new Nj(o.c.length)}function sut(e){this.a=e,this.b=we(b4t,Pe,2022,e.e.length,0,2)}function aut(){this.a=new uh,this.e=new hi,this.g=0,this.i=0}function uut(e,t){D8(this),this.f=t,this.g=e,xP(this),this.he()}function NW(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 Run(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 cut(e,t){var r;return r=new zfe(t),Ybt(r,e),new Tu(r)}function Oun(e){if(e.p!=0)throw Y(new lu);return f3(e.f,0)}function Lun(e){if(e.p!=0)throw Y(new lu);return f3(e.k,0)}function lut(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 dut(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 aYe(t))}function fut(e,t){var r=e.a=e.a||[];return r[t]||(r[t]=e.te(t))}function Dun(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,c){return new cp(e.e,t,e.Jj(),r,o,a,c)}function Mun(e){return qK(),Dt(),l(e.a,84).d.e!=0}function hut(){hut=K,H_t=yn((M9(),Z(X(U_t,1),Ce,541,0,[FQ])))}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 but(){but=K,QIt=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function Bhe(){Bhe=K,e4t=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function mut(){mut=K,n4t=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function Uhe(){Uhe=K,r4t=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function wut(){wut=K,E4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function gc(){gc=K,A4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function yut(){yut=K,_4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function CW(){CW=K,I4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function vut(){vut=K,_Rt=Ra(new ui,(JS(),t4),(IC(),R_e))}function PP(){PP=K,Mre=new hn,a5=new hn,Ben(axt,new ZGe)}function Eut(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tu(r))}function Sut(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tu(r))}function Tut(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,RW(this,t),OW(this,r)}function DS(e){this.c=new Ar,this.b=e.b,this.d=e.c,this.a=e.a}function IW(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function RW(e,t){e.a&&Xa(e.a.k,e),e.a=t,e.a&&Fe(e.a.k,e)}function OW(e,t){e.b&&Xa(e.b.f,e),e.b=t,e.b&&Fe(e.b.f,e)}function Aut(e,t){Jsn(e,e.b,e.c),l(e.b.b,68),t&&l(t.b,68).b}function Pun(e,t){b1e(e,t),ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),2)}function LW(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 _ut(e,t){var r;return r=l(py(LS(e.a),t),18),r?r.gc():0}function jun(e,t){var r,o;r=t.c,o=r!=null,o&&RS(e,new Qw(t.c))}function xut(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function kut(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function Nut(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function ya(e,t){return Mo(),cK(t)?new nP(t,e):new xO(t,e)}function Fun(e,t){return yr(l(e.c,65).c.e.b,l(t.c,65).c.e.b)}function $un(e,t){return yr(l(e.c,65).c.e.a,l(t.c,65).c.e.a)}function Cut(e,t,r){return new eJ(e,(b_(),ZQ),t,r,null,!1)}function Iut(e,t,r){return new eJ(e,(b_(),JQ),null,!1,t,r)}function ZO(e){return jf(),Ea(e,0)>=0?v1(e):I3(v1(ug(e)))}function Bun(){return Yc(),Z(X(ru,1),Ce,132,0,[v2e,nu,E2e])}function Uun(){return Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])}function Hun(){return _u(),Z(X(kxt,1),Ce,464,0,[Wf,D1,nd])}function zun(){return Za(),Z(X(Cxt,1),Ce,465,0,[Nd,M1,rd])}function Gun(e,t){brt(e,Ln(Gi(u0(t,24),oF)),Ln(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){agt(t,r,e.gc()),this.c=e,this.a=t,this.b=r-t}function Rut(e,t,r){var o;agt(t,r,e.c.length),o=r-t,cle(e.c,t,o)}function qun(e,t,r){var o;o=new So(r.d),br(o,e),nY(t,o.a,o.b)}function Hhe(e){var t;return y1(e),t=(h0(),h0(),WQ),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 Vun(){return G3(),Z(X(H2e,1),Ce,385,0,[cee,uee,lee])}function Wun(){return g1(),Z(X(Qee,1),Ce,330,0,[lD,dTe,Gy])}function Kun(){return lp(),Z(X(qNt,1),Ce,316,0,[dD,ZE,kT])}function Yun(){return __(),Z(X(Zee,1),Ce,303,0,[Jee,Xee,cD])}function Jun(){return mj(),Z(X(VSe,1),Ce,351,0,[qSe,W$,Dee])}function Xun(){return Vb(),Z(X(PNt,1),Ce,452,0,[Hee,Jx,JE])}function Zun(){return jo(),Z(X(GIt,1),Ce,455,0,[YI,Cu,Ba])}function Qun(){return Oj(),Z(X(m_e,1),Ce,382,0,[g_e,Gte,b_e])}function ecn(){return nC(),Z(X(w_e,1),Ce,349,0,[Vte,qte,AD])}function tcn(){return R_(),Z(X(v_e,1),Ce,350,0,[Wte,y_e,JI])}function ncn(){return rC(),Z(X(i_e,1),Ce,353,0,[Mte,r_e,_B])}function rcn(){return bj(),Z(X(T_e,1),Ce,352,0,[S_e,Kte,E_e])}function icn(){return Lj(),Z(X(A_e,1),Ce,383,0,[Yte,uk,nv])}function ocn(){return eC(),Z(X(U_e,1),Ce,386,0,[B_e,Zte,kD])}function scn(){return R6(),Z(X(gxe,1),Ce,387,0,[UB,hxe,pxe])}function acn(){return Wj(),Z(X(jxe,1),Ce,388,0,[Pxe,Ine,Mxe])}function ucn(){return T0(),Z(X(Aee,1),Ce,369,0,[Q0,P1,Z0])}function ccn(){return Uj(),Z(X(ake,1),Ce,435,0,[oke,ske,Pne])}function lcn(){return ij(),Z(X(ike,1),Ce,434,0,[Mne,rke,nke])}function dcn(){return M6(),Z(X(jne,1),Ce,440,0,[KB,YB,JB])}function fcn(){return Zj(),Z(X(Dxe,1),Ce,441,0,[s4,GB,Tne])}function hcn(){return Ij(),Z(X(Lxe,1),Ce,304,0,[Sne,Oxe,Rxe])}function pcn(){return V3(),Z(X(QNe,1),Ce,301,0,[YD,xre,ZNe])}function gcn(){return Kd(),Z(X(MNe,1),Ce,281,0,[yk,fv,vk])}function bcn(){return VS(),Z(X(n3e,1),Ce,283,0,[t3e,pv,gU])}function mcn(){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 Out(e,t,r){Km.call(this,25),this.b=e,this.a=t,this.c=r}function zhe(e,t){hQt.call(this,new dS(fy(e))),wc(t,n2t),this.a=t}function wcn(e,t){var r;return r=(Mt(e),e).g,Mde(!!r),Mt(t),r(t)}function Lut(e,t){var r,o;return o=n_(e,t),r=e.a.dd(o),new Ret(e,r)}function ycn(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 eHe,o.b=t,o.a=r,++t.b,Fe(e.d,o)}function FP(){FP=K,dne=new Hle("DFS",0),uxe=new Hle("BFS",1)}function vcn(e){if(e.p!=2)throw Y(new lu);return Ln(e.f)&Ei}function Ecn(e){if(e.p!=2)throw Y(new lu);return Ln(e.k)&Ei}function Scn(e){return e.Db>>16!=6?null:l(cJ(e),244)}function q(e){return un(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function Tcn(e){return e.a==(h_(),_U)&&jZt(e,cTn(e.g,e.b)),e.a}function MS(e){return e.d==(h_(),_U)&&$Zt(e,a_n(e.g,e.b)),e.d}function DW(e){oP(),this.a=(At(),ae(e,59)?new gq(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 Qot(e.a,t)?$fe(e.b,l(t,23).g,null):null}function Gi(e,t){return p1(msn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Of(e,t){return p1(wsn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function MW(e,t){return p1(ysn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Acn(e){return Ao(fh(Gs(Bu(e,32)),32),Gs(Bu(e,32)))}function _cn(e){var t;return t=l(Q8(e.b),10),new Hc(e.a,t,e.c)}function xcn(e,t){var r;r=ue(le(e.a.mf((_n(),oU)))),xEt(e,t,r)}function kcn(e,t){return q3(),e.c==t.c?yr(t.d,e.d):yr(e.c,t.c)}function Ncn(e,t){return q3(),e.c==t.c?yr(e.d,t.d):yr(e.c,t.c)}function Ccn(e,t){return q3(),e.c==t.c?yr(e.d,t.d):yr(t.c,e.c)}function Icn(e,t){return q3(),e.c==t.c?yr(t.d,e.d):yr(t.c,e.c)}function Rcn(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 PW(e,t,r){var o;o=e.d[t.p],e.d[t.p]=e.d[r.p],e.d[r.p]=o}function Mut(e,t){var r,o;return r=oK(t),o=r,l(Ht(e.c,o),15).a}function Ocn(e,t){var r,o;return r=V1t(e),o=V1t(t),r<o?-1:r>o?1:0}function Lcn(e,t){var r;r=l(Ht(e.g,t),60),Da(t.d,new wtt(e,r))}function Put(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):me(e)===me(t)}function Whe(e,t){return t==0?!!e.o&&e.o.f!=0:yY(e,t)}function Dcn(e){return!!e.u&&oa(e.u.a).i!=0&&!(e.n&&_Y(e.n))}function Mcn(e,t,r){var o;e.n&&t&&r&&(o=new zGe,Fe(e.e,o))}function jW(e,t){if(pi(e.a,t),t.d)throw Y(new Es(x2t));t.d=e}function Khe(e,t){this.a=new je,this.d=new je,this.f=e,this.c=t}function jut(){this.c=new ort,this.a=new klt,this.b=new NZe,Wet()}function Fut(){qS(),this.b=new hn,this.a=new hn,this.c=new je}function $ut(e,t,r){this.d=e,this.j=t,this.e=r,this.o=-1,this.p=3}function But(e,t,r){this.d=e,this.k=t,this.f=r,this.o=-1,this.p=5}function Uut(e,t,r,o,a,c){Kpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Hut(e,t,r,o,a,c){Ype.call(this,e,t,r,o,a),c&&(this.o=-2)}function zut(e,t,r,o,a,c){hpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Gut(e,t,r,o,a,c){Zpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function qut(e,t,r,o,a,c){ppe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Vut(e,t,r,o,a,c){Jpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Wut(e,t,r,o,a,c){Xpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Kut(e,t,r,o,a,c){gpe.call(this,e,t,r,o,a),c&&(this.o=-2)}function Yut(e,t,r,o){k9.call(this,r),this.b=e,this.c=t,this.d=o}function Jut(e,t){this.f=e,this.a=(h_(),AU),this.c=AU,this.b=t}function Xut(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 Pcn(e,t){return $En(e,t,ae(t,104)&&(l(t,20).Bb&Co)!=0)}function jcn(e,t){return kst(Gs(e.q.getTime()),Gs(t.q.getTime()))}function Zut(e){return UV(e.e.Pd().gc()*e.c.Pd().gc(),16,new vKe(e))}function Fcn(e){return!!e.a&&Fu(e.a.a).i!=0&&!(e.b&&xY(e.b))}function F3(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Qut(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function ect(e){return un(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function tct(e,t){var r;return r=1-t,e.a[r]=Aj(e.a[r],r),Aj(e,t)}function nct(e,t){var r,o;return o=Gi(e,$o),r=fh(t,32),Of(r,o)}function $cn(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Gc(r)}function rct(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Kc(r)}function ict(e,t,r){var o;o=(kn(e),new Tu(e)),Tmn(new Eut(o,t,r))}function e6(e,t,r){var o;o=(kn(e),new Tu(e)),Amn(new Sut(o,t,r))}function oct(){oct=K,x_e=tat(Re(1),Re(4)),__e=tat(Re(1),Re(2))}function sct(e){AK.call(this,e,(b_(),YQ),null,!1,null,!1)}function act(e,t){Ob.call(this,1,2,Z(X(Rn,1),Qn,30,15,[e,t]))}function Xi(e,t){this.a=e,DN.call(this,e),ry(t,e.gc()),this.b=t}function uct(e,t){var r;e.e=new zce,r=Ay(t),xi(r,e.c),Wwt(e,r,0)}function Bcn(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 Le(e,t,r,o){var a;a=new Bue,a.a=t,a.b=r,a.c=o,Gn(e.b,a)}function cct(e,t,r,o){return e.a+=""+yl(t==null?tu:ms(t),r,o),e}function Ms(e,t,r,o,a,c){return xht(e,t,r,c),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(lvn(e,t)));return e}function lct(e,t,r){if(e<0||t<e||t>r)throw Y(new Ia(Ryn(e,t,r)))}function Ucn(e){if(!("stack"in e))try{throw e}catch{}return e}function Hcn(e){return uE(e).dc()?!1:(Stn(e,new P),!0)}function $b(e){var t;return gs(e)?(t=e,t==-0?0:t):sfn(e)}function dct(e,t){return ae(t,45)?RY(e.a,l(t,45)):!1}function fct(e,t){return ae(t,45)?RY(e.a,l(t,45)):!1}function hct(e,t){return ae(t,45)?RY(e.a,l(t,45)):!1}function zcn(e,t){return US(),l(F(t,(js(),c2)),15).a>=e.gc()}function Gcn(e){return gc(),!fo(e)&&!(!fo(e)&&e.c.i.c==e.d.i.c)}function Lf(e){return l(Yd(e,we(zx,Tx,17,e.c.length,0,1)),324)}function $P(e){return new La((wc(e,QJ),lj(Ao(Ao(5,e),e/10|0))))}function qcn(e,t){return new PV(t,Zrt(To(t.e),e,e),(Dt(),!0))}function Vcn(e){return UV(e.e.Pd().gc()*e.c.Pd().gc(),273,new yKe(e))}function pct(e){return l(Yd(e,we(nNt,eSt,12,e.c.length,0,1)),2021)}function gct(e){this.a=we(Ri,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 iYe(t)),t}function BP(e){var t;return u1(e),t=new kt,Wv(e.a,new oYe(t)),t}function Wcn(e,t){return e.a<=e.b?(t.Bd(e.a++),!0):!1}function Kcn(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 wJe(this),this.e=e,this.i=t,this.f=r}function UP(){UP=K,ete=new Dle(px,0),fTe=new Dle("TOP_LEFT",1)}function bct(){bct=K,DOt=yn((Y9(),Z(X(uke,1),Ce,480,0,[Fne])))}function mct(){mct=K,POt=yn((J9(),Z(X(MOt,1),Ce,550,0,[$ne])))}function wct(){wct=K,e6t=yn((JN(),Z(X(Cke,1),Ce,531,0,[MD])))}function yct(){yct=K,h6t=yn((X9(),Z(X(f6t,1),Ce,557,0,[ere])))}function vct(){vct=K,g6t=yn((Z9(),Z(X(p6t,1),Ce,558,0,[tre])))}function Ect(){Ect=K,m6t=yn((Q9(),Z(X(b6t,1),Ce,559,0,[nre])))}function Ycn(e){Agt((!e.a&&(e.a=new ke(En,e,10,11)),e.a),new Mze)}function $3(e,t){t3n(t,e),Cfe(e.d),Cfe(l(F(e,(Be(),wB)),216))}function FW(e,t){n3n(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 Jcn(e,t,r){var o;return o=B_(r),H7(e.n,o,t),H7(e.o,t,r),t}function Xcn(e,t,r){var o;o=W1n();try{return Gnn(e,t,r)}finally{Xln(o)}}function Sct(e,t,r,o){return ae(r,59)?new Brt(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 Tct(e,t,r,o){this.e=null,this.c=e,this.d=t,this.a=r,this.b=o}function Act(e){var t;t=e.Dh(),this.a=ae(t,72)?l(t,72).Gi():t.Jc()}function Zcn(e){return new St(Pfn(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 _ct(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,Q1t(e)}function l1(e,t){Mt(t),e.b=e.b-1&e.a.length-1,ii(e.a,e.b,t),Q1t(e)}function tpe(e,t){var r;return r=l(Wd(e.b,t),66),!r&&(r=new Ar),r}function Qcn(e,t){var r;r=t.a,bo(r,t.c.d),Ji(r,t.d.d),ly(r.a,e.n)}function xct(e,t){return l(Xu(Jw(l(wr(e.k,t),16).Mc(),WE)),114)}function kct(e,t){return l(Xu(NS(l(wr(e.k,t),16).Mc(),WE)),114)}function eln(){return x_(),Z(X(Gkt,1),Ce,413,0,[X0,$y,Fy,qE])}function tln(){return A0(),Z(X(ekt,1),Ce,414,0,[eD,QL,ree,iee])}function nln(){return b_(),Z(X(p$,1),Ce,310,0,[YQ,JQ,XQ,ZQ])}function rln(){return YS(),Z(X(V2e,1),Ce,384,0,[TI,q2e,gee,bee])}function iln(){return Mj(),Z(X(cNt,1),Ce,368,0,[See,U$,H$,oD])}function oln(){return Xl(),Z(X(vNt,1),Ce,418,0,[Hy,qx,Vx,Tee])}function sln(){return Kb(),Z(X(p4t,1),Ce,409,0,[_D,XI,IB,CB])}function aln(){return wy(),Z(X(jte,1),Ce,205,0,[xB,Pte,a2,s2])}function uln(){return bp(),Z(X(h_e,1),Ce,270,0,[B1,f_e,Bte,Ute])}function cln(){return lC(),Z(X(GSe,1),Ce,302,0,[kI,HSe,aD,zSe])}function lln(){return tC(),Z(X(axe,1),Ce,354,0,[lne,$B,cne,une])}function dln(){return d7(),Z(X(Ixe,1),Ce,355,0,[Ene,Nxe,Cxe,kxe])}function fln(){return S7(),Z(X(nOt,1),Ce,406,0,[kne,Ane,xne,_ne])}function hln(){return JS(),Z(X(C_e,1),Ce,402,0,[DB,e4,t4,n4])}function pln(){return g7(),Z(X(Dke,1),Ce,396,0,[Kne,Yne,Jne,Xne])}function gln(){return O_(),Z(X(DNe,1),Ce,280,0,[zD,uU,ONe,LNe])}function bln(){return gp(),Z(X(Are,1),Ce,225,0,[Tre,GD,Ek,WT])}function mln(){return vc(),Z(X(hLt,1),Ce,293,0,[VD,Ih,q1,qD])}function wln(){return sc(),Z(X(N4,1),Ce,381,0,[XD,xm,JD,hv])}function yln(){return qP(),Z(X(e5,1),Ce,290,0,[r3e,o3e,Nre,i3e])}function vln(){return Kj(),Z(X(c3e,1),Ce,327,0,[Cre,s3e,u3e,a3e])}function Eln(){return Pj(),Z(X(RLt,1),Ce,412,0,[Ire,d3e,l3e,f3e])}function Sln(e){var t;return e.j==(He(),dn)&&(t=D0t(e),fu(t,Qt))}function Nct(e,t){var r;for(r=e.j.c.length;r<t;r++)Fe(e.j,e.Mg())}function Cct(e,t,r,o){var a;return a=o[t.g][r.g],ue(le(F(e.a,a)))}function Tln(e,t,r){var o;return o=B_(r),H7(e.f,o,t),Jn(e.g,t,r),t}function Aln(e,t,r){var o;return o=B_(r),H7(e.p,o,t),Jn(e.q,t,r),t}function Ict(e){var t,r;return t=(e1(),r=new LG,r),e&&D7(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 _ln(e){return PP(),ma(Mre,e)?l(Ht(Mre,e),343).Pg():null}function zc(e,t,r){return t<0?sJ(e,r):l(r,69).uk().zk(e,e.ei(),t)}function xln(e,t){return yS(new Me(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function Rct(e,t){return me(t)===me(e)?"(this Map)":t==null?tu:ms(t)}function Oct(e,t){e8();var r;return r=l(Ht(vU,e),58),!r||r.dk(t)}function kln(e){if(e.p!=1)throw Y(new lu);return Ln(e.f)<<24>>24}function Nln(e){if(e.p!=1)throw Y(new lu);return Ln(e.k)<<24>>24}function Cln(e){if(e.p!=7)throw Y(new lu);return Ln(e.k)<<16>>16}function Iln(e){if(e.p!=7)throw Y(new lu);return Ln(e.f)<<16>>16}function dE(e,t){return t.e==0||e.e==0?wI:(Q_(),fJ(e,t))}function Rln(e,t,r){if(r){var o=r.me();e.a[t]=o(r)}else delete e.a[t]}function Lct(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 Oln(e,t,r){var o;o=l(Ht(e.g,r),60),Fe(e.a.c,new No(t,o))}function Lln(e,t,r,o,a){var c;c=e2n(a,r,o),Fe(t,nvn(a,c)),Ywn(e,a,t)}function Dct(e,t,r){e.i=0,e.e=0,t!=r&&(ypt(e,t,r),wpt(e,t,r))}function Dln(e){e.a=null,e.e=null,Mw(e.b.c,0),Mw(e.f.c,0),e.c=null}function Mln(e,t){return l(t==null?Ss(ts(e.f,null)):e3(e.i,t),291)}function Pln(e,t,r){return XV(le(Ss(ts(e.f,t))),le(Ss(ts(e.f,r))))}function HP(e,t,r){return G7(e,t,r,ae(t,104)&&(l(t,20).Bb&Co)!=0)}function jln(e,t,r){return nx(e,t,r,ae(t,104)&&(l(t,20).Bb&Co)!=0)}function Fln(e,t,r){return qEn(e,t,r,ae(t,104)&&(l(t,20).Bb&Co)!=0)}function rpe(e,t){return e==(zt(),Xr)&&t==Xr?4:e==Xr||t==Xr?8:32}function Mct(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){Mo();var r;return r=l(e,69).tk(),uyn(r,t),r.vl(t)}function Pct(e,t){var r;for(r=t;r;)Gw(e,r.i,r.j),r=Br(r);return e}function jct(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 Fct(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,sft(e),e.c.b[e.b]}function oa(e){return e.n||(Pu(e),e.n=new nst(e,Go,e),ds(e)),e.n}function $ct(e){if(e<0)throw Y(new vQe("Negative array size: "+e))}function $W(e,t,r){if(r){var o=r.me();r=o(r)}else r=void 0;e.a[t]=r}function $ln(e,t){var r;return r=t!=null?wa(e,t):Ss(ts(e.f,t)),C8(r)}function Bln(e,t){var r;return r=t!=null?wa(e,t):Ss(ts(e.f,t)),C8(r)}function BW(e){return e.c&&e.d?qhe(e.c)+"->"+qhe(e.d):"e_"+s0(e)}function Bct(e){ae(e,209)&&!Ye(Ke(e.mf((_n(),iU))))&&r_n(l(e,19))}function spe(e){e.b!=e.c&&(e.a=we(Ri,Rt,1,8,5,1),e.b=0,e.c=0)}function Bb(e,t,r){this.e=e,this.a=Ri,this.b=byt(t),this.c=t,this.d=r}function sy(e,t,r,o){$ut.call(this,1,r,o),this.c=e,this.b=t}function UW(e,t,r,o){But.call(this,1,r,o),this.c=e,this.b=t}function HW(e,t,r,o,a,c,f){bK.call(this,t,o,a,c,f),this.c=e,this.a=r}function zW(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function Uct(e){this.c=e,this.a=l(Sl(e),160),this.b=this.a.hk().ti()}function Uln(e,t){return eg(),Tn(Ne(e.a),t)}function Hln(e,t){return eg(),Tn(Ne(e.a),t)}function zP(){zP=K,Vne=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,lte=new Mle(_d,0),cte=new Mle("ALTERNATING",1)}function qP(){qP=K,r3e=new Mot,o3e=new yst,Nre=new Vat,i3e=new vst}function VP(e){var t;return e?new zfe(e):(t=new uh,TK(t,e),t)}function zln(e,t){var r;for(r=e.d-1;r>=0&&e.a[r]===t[r];r--);return r<0}function Gln(e,t){var r;return $ct(t),r=e.slice(0,t),r.length=t,iK(r,e)}function Au(e,t){var r;return t.b.Kb(Hdt(e,t.c.Ve(),(r=new cYe(t),r)))}function WP(e){Mbe(),brt(this,Ln(Gi(u0(e,24),oF)),Ln(Gi(e,oF)))}function Hct(){Hct=K,lkt=yn((cj(),Z(X(k2e,1),Ce,429,0,[oee,w$])))}function zct(){zct=K,sNt=yn((E_(),Z(X(oNt,1),Ce,506,0,[iD,wee])))}function Gct(){Gct=K,MNt=yn((m6(),Z(X(JSe,1),Ce,424,0,[K$,YSe])))}function qct(){qct=K,RNt=yn((tj(),Z(X(USe,1),Ce,427,0,[BSe,Lee])))}function Vct(){Vct=K,$Nt=yn((l6(),Z(X(QSe,1),Ce,479,0,[ZSe,J$])))}function Wct(){Wct=K,WNt=yn((UP(),Z(X(hTe,1),Ce,425,0,[ete,fTe])))}function Kct(){Kct=K,JNt=yn((GP(),Z(X(kTe,1),Ce,428,0,[lte,cte])))}function Yct(){Yct=K,zIt=yn((g6(),Z(X(p_e,1),Ce,426,0,[Hte,zte])))}function Jct(){Jct=K,v4t=yn((H3(),Z(X(y4t,1),Ce,522,0,[QI,ZI])))}function Xct(){Xct=K,k4t=yn((If(),Z(X(x4t,1),Ce,513,0,[aw,kg])))}function Zct(){Zct=K,C4t=yn((zd(),Z(X(N4t,1),Ce,512,0,[Em,uf])))}function Qct(){Qct=K,G4t=yn((vd(),Z(X(z4t,1),Ce,519,0,[rv,U1])))}function elt(){elt=K,X4t=yn((g0(),Z(X(J4t,1),Ce,457,0,[H1,u2])))}function tlt(){tlt=K,ARt=yn((FP(),Z(X(cxe,1),Ce,430,0,[dne,uxe])))}function nlt(){nlt=K,CRt=yn((_j(),Z(X(lxe,1),Ce,490,0,[BB,d2])))}function rlt(){rlt=K,ORt=yn((rj(),Z(X(fxe,1),Ce,431,0,[dxe,mne])))}function KP(){KP=K,Dne=new qle(Lwe,0),eke=new qle("TARGET_WIDTH",1)}function ilt(){ilt=K,NOt=yn((KP(),Z(X(tke,1),Ce,481,0,[Dne,eke])))}function olt(){olt=K,jOt=yn((o6(),Z(X(cke,1),Ce,433,0,[Bne,XB])))}function slt(){slt=K,t6t=yn((x6(),Z(X(Rke,1),Ce,432,0,[QB,Ike])))}function alt(){alt=K,n6t=yn((zP(),Z(X(Lke,1),Ce,389,0,[Vne,Oke])))}function ult(){ult=K,y6t=yn((w6(),Z(X(w6t,1),Ce,498,0,[ire,rre])))}function qln(){return vi(),Z(X(E4,1),Ce,87,0,[hf,fs,as,ff,il])}function Vln(){return He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt])}function Wln(e){return(e.k==(zt(),Xr)||e.k==mi)&&gr(e,(Ie(),RI))}function Kln(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,zxn(e,t,r),e.a.c.length==0||pAn(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 clt(e,t){var r;for(r=t;r;)Gw(e,-r.i,-r.j),r=Br(r);return e}function Yln(e,t){var r,o;o=!1;do r=spt(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 llt(e,t){var r,o;return r=t.jd(),o=e.De(r),!!o&&ia(o.e,t.kd())}function dlt(e,t){var r;return r=t.jd(),new t0(r,e.e.pc(r,l(t.kd(),18)))}function Jln(e,t){var r;return r=e.a.get(t),r??we(Ri,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 flt(e,t){this.c=0,this.b=t,_nt.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),Hrt(this),this.d.b=this.d,this.d.a=this.d}function GW(e){YP(),!sf&&(this.c=e,this.e=!0,this.a=new je)}function hlt(e){zEt(),dZe(this),this.a=new Ar,Gge(this,e),Gn(this.a,e)}function plt(){dV(this),this.b=new Me(Kr,Kr),this.a=new Me(Di,Di)}function lpe(e){xen.call(this,e==null?tu:ms(e),ae(e,81)?l(e,81):null)}function Xln(e){e&&hfn((Wce(),VEe)),--u$,e&&c$!=-1&&(Hen(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,pxt=!1,gxt=!1,mxt=!1,bxt=!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 qW(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 Dpe(t,e.a)))).zd(TT)}function Zln(){return Vi(),Z(X(z2e,1),Ce,364,0,[id,kh,la,da,Ho])}function Qln(){return v7(),Z(X(IRt,1),Ce,365,0,[gne,fne,bne,hne,pne])}function edn(){return yy(),Z(X(SNt,1),Ce,372,0,[sD,q$,V$,G$,z$])}function tdn(){return xC(),Z(X(ROt,1),Ce,370,0,[f2,BT,f4,d4,DD])}function ndn(){return J6(),Z(X(hke,1),Ce,331,0,[lke,Une,fke,Hne,dke])}function rdn(){return hC(),Z(X(s_e,1),Ce,329,0,[o_e,Fte,$te,VI,WI])}function idn(){return ic(),Z(X(xTe,1),Ce,166,0,[gD,DI,xp,MI,gm])}function odn(){return Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])}function sdn(){return vE(),Z(X(_4,1),Ce,260,0,[V1,WD,KNe,A4,YNe])}function adn(e){return F9(),function(){return Xcn(e,this,arguments)}}function Pu(e){return e.t||(e.t=new eZe(e),aC(new wQe(e),0,e.t)),e.t}function glt(e){var t;return e.c||(t=e.r,ae(t,89)&&(e.c=l(t,29))),e.c}function udn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function VW(e){var t,r,o;return t=e&Hu,r=e>>22&Hu,o=e<0?Ep:0,Ua(t,r,o)}function blt(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?zgt(e,t):Dwt(e,-t)}function fpe(e,t){return t==0||e.e==0?e:t>0?Dwt(e,t):zgt(e,-t)}function mlt(e){this.b=e,tn.call(this,e),this.a=l(Vt(this.b.a,4),131)}function wlt(e){this.b=e,ES.call(this,e),this.a=l(Vt(this.b.a,4),131)}function Vl(e,t,r,o,a){Alt.call(this,t,o,a),this.c=e,this.b=r}function hpe(e,t,r,o,a){$ut.call(this,t,o,a),this.c=e,this.a=r}function ppe(e,t,r,o,a){But.call(this,t,o,a),this.c=e,this.a=r}function gpe(e,t,r,o,a){Alt.call(this,t,o,a),this.c=e,this.a=r}function cdn(e,t,r){return yr(yS(U_(e),To(t.b)),yS(U_(e),To(r.b)))}function ldn(e,t,r){return yr(yS(U_(e),To(t.e)),yS(U_(e),To(r.e)))}function ddn(e,t){return b.Math.min(f1(t.a,e.d.d.c),f1(t.b,e.d.d.c))}function WW(e,t,r){var o;return o=e.Fh(t),o>=0?e.Ih(o,r,!0):O0(e,t,r)}function fdn(e,t){var r,o;r=l(Jpn(e.c,t),18),r&&(o=r.gc(),r.$b(),e.d-=o)}function ylt(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 vlt(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<tee;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 hdn(e){var t;return t=(kn(e),e?new Tu(e):QA(e.Jc())),vC(t),qj(t)}function KW(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=dan(e.length),r=new La(t),Fge(r,e),r}function YW(e,t,r,o){var a;return a=we(Rn,Qn,30,t,15,1),pwn(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 pdn(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):$ht(e.i,t):Tme(e.f,t)}function Elt(e,t){Ant.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Slt(e,t){_nt.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 Tlt(e,t,r){k9.call(this,r),this.b=e,this.c=t,this.d=(lY(),Bre)}function Alt(e,t,r){this.d=e,this.k=t?1:0,this.f=r?1:0,this.o=-1,this.p=0}function _lt(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 xlt(){this.g=new Rce,this.b=new Rce,this.a=new je,this.k=new je}function klt(){this.a=new Mce,this.b=new FZe,this.d=new gG,this.e=new pG}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 tq,e)}function ZP(){ZP=K,p4=new cr("org.eclipse.elk.labels.labelManager")}function Nlt(){Nlt=K,MSe=new Pr("separateLayerConnections",(Mj(),See))}function o6(){o6=K,Bne=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 gdn(e,t){var r;return r=okn(e,t),e.b=new Nj(r.c.length),Txn(e,r)}function bdn(e,t,r){var o;return++e.e,--e.f,o=l(e.d[t].ed(r),138),o.kd()}function mdn(e){var t,r;return t=e.jd(),r=l(e.kd(),18),BO(r.Lc(),new bKe(t))}function JW(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 wdn(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 Clt(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 Ilt(e){var t;return e.a||(t=e.r,ae(t,160)&&(e.a=l(t,160))),e.a}function Rlt(e){var t;for(u1(e),t=0;e.a.zd(new jc);)t=Ao(t,1);return t}function ydn(e){var t;return y1(e),t=new got(e,e.a.e,e.a.d|4),new zde(e,t)}function vdn(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 Edn(e,t){t.Tg("Label management",1),C8(F(e,(ZP(),p4))),t.Ug()}function Olt(){Olt=K,wxt=yn((Yc(),Z(X(ru,1),Ce,132,0,[v2e,nu,E2e])))}function Llt(){Llt=K,xxt=yn((Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])))}function Dlt(){Dlt=K,Nxt=yn((_u(),Z(X(kxt,1),Ce,464,0,[Wf,D1,nd])))}function Mlt(){Mlt=K,Ixt=yn((Za(),Z(X(Cxt,1),Ce,465,0,[Nd,M1,rd])))}function Plt(){Plt=K,Pkt=yn((G3(),Z(X(H2e,1),Ce,385,0,[cee,uee,lee])))}function jlt(){jlt=K,GNt=yn((g1(),Z(X(Qee,1),Ce,330,0,[lD,dTe,Gy])))}function Flt(){Flt=K,VNt=yn((lp(),Z(X(qNt,1),Ce,316,0,[dD,ZE,kT])))}function $lt(){$lt=K,zNt=yn((__(),Z(X(Zee,1),Ce,303,0,[Jee,Xee,cD])))}function Blt(){Blt=K,LNt=yn((mj(),Z(X(VSe,1),Ce,351,0,[qSe,W$,Dee])))}function Ult(){Ult=K,jNt=yn((Vb(),Z(X(PNt,1),Ce,452,0,[Hee,Jx,JE])))}function Hlt(){Hlt=K,qIt=yn((jo(),Z(X(GIt,1),Ce,455,0,[YI,Cu,Ba])))}function zlt(){zlt=K,VIt=yn((Oj(),Z(X(m_e,1),Ce,382,0,[g_e,Gte,b_e])))}function Glt(){Glt=K,WIt=yn((nC(),Z(X(w_e,1),Ce,349,0,[Vte,qte,AD])))}function qlt(){qlt=K,KIt=yn((R_(),Z(X(v_e,1),Ce,350,0,[Wte,y_e,JI])))}function Vlt(){Vlt=K,YIt=yn((bj(),Z(X(T_e,1),Ce,352,0,[S_e,Kte,E_e])))}function Wlt(){Wlt=K,JIt=yn((Lj(),Z(X(A_e,1),Ce,383,0,[Yte,uk,nv])))}function Klt(){Klt=K,FIt=yn((rC(),Z(X(i_e,1),Ce,353,0,[Mte,r_e,_B])))}function Ylt(){Ylt=K,eOt=yn((Ij(),Z(X(Lxe,1),Ce,304,0,[Sne,Oxe,Rxe])))}function Jlt(){Jlt=K,tOt=yn((Zj(),Z(X(Dxe,1),Ce,441,0,[s4,GB,Tne])))}function Xlt(){Xlt=K,LOt=yn((M6(),Z(X(jne,1),Ce,440,0,[KB,YB,JB])))}function Zlt(){Zlt=K,COt=yn((ij(),Z(X(ike,1),Ce,434,0,[Mne,rke,nke])))}function Qlt(){Qlt=K,IOt=yn((Uj(),Z(X(ake,1),Ce,435,0,[oke,ske,Pne])))}function edt(){edt=K,NNt=yn((T0(),Z(X(Aee,1),Ce,369,0,[Q0,P1,Z0])))}function tdt(){tdt=K,eRt=yn((eC(),Z(X(U_e,1),Ce,386,0,[B_e,Zte,kD])))}function ndt(){ndt=K,LRt=yn((R6(),Z(X(gxe,1),Ce,387,0,[UB,hxe,pxe])))}function rdt(){rdt=K,sOt=yn((Wj(),Z(X(jxe,1),Ce,388,0,[Pxe,Ine,Mxe])))}function idt(){idt=K,fLt=yn((pp(),Z(X(WNe,1),Ce,348,0,[cU,Ig,T4])))}function odt(){odt=K,uLt=yn((Kd(),Z(X(MNe,1),Ce,281,0,[yk,fv,vk])))}function sdt(){sdt=K,kLt=yn((VS(),Z(X(n3e,1),Ce,283,0,[t3e,pv,gU])))}function adt(){adt=K,ALt=yn((V3(),Z(X(QNe,1),Ce,301,0,[YD,xre,ZNe])))}function tj(){tj=K,BSe=new Rle("QUADRATIC",0),Lee=new Rle("SCANLINE",1)}function s6(e){return!e.g&&(e.g=new w9),!e.g.c&&(e.g.c=new QXe(e)),e.g.c}function Sdn(e){return!e.g&&(e.g=new w9),!e.g.b&&(e.g.b=new JXe(e)),e.g.b}function Tdn(e){return!e.g&&(e.g=new w9),!e.g.d&&(e.g.d=new XXe(e)),e.g.d}function Adn(e){return!e.g&&(e.g=new w9),!e.g.a&&(e.g.a=new ZXe(e)),e.g.a}function _pe(e,t){var r,o;return r=t,o=CP(QA(new sK(e,r))),iP(new sK(e,r)),o}function _dn(e,t,r,o){return r&&(o=r.Oh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function xdn(e,t,r,o){return r&&(o=r.Qh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function XW(e,t,r,o){var a;return a=we(Rn,Qn,30,t+1,15,1),YAn(a,e,t,r,o),a}function we(e,t,r,o,a,c){var f;return f=G1t(a,o),a!=10&&Z(X(e,c),t,r,a,f),f}function kdn(e,t,r){var o,a;for(a=new A_(t,e),o=0;o<r;++o)a7(a);return a}function ZW(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(),nEt(e,t.jd(),r)}function Ndn(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(),Lh),Rg,e,0)),uY(e.o,t)}function kpe(e,t,r){l(e.b,68),l(e.b,68),l(e.b,68),Da(e.a,new Zit(r,t,e))}function Cdn(e,t,r,o){evt(e,t,r,nx(e,t,o,ae(t,104)&&(l(t,20).Bb&Co)!=0))}function io(e,t,r){if(e<0||t>r||t<e)throw Y(new Xce(sF+e+gwe+t+fwe+r))}function udt(e,t,r){this.d=new L9,this.c=new hn,this.a=e,this.e=t,this.c=r}function QW(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new je)}function eK(e,t){t8.call(this,e,t),this.a=we(V3n,tF,443,2,0,1),this.b=!0}function Npe(e){vpt.call(this,e,0),Hrt(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(Ri,Rt,1,0,5,1)}function cdt(){cdt=K,t4t=Ra($n(new ui,(Vi(),id),(Zi(),yee)),Ho,xT)}function Idn(){return _7(),Z(X(XSe,1),Ce,286,0,[Gee,zee,Vee,qee,Wee,Y$])}function Rdn(){return K6(),Z(X(iTe,1),Ce,284,0,[X$,tTe,rTe,eTe,nTe,Kee])}function Odn(){return W_(),Z(X(lTe,1),Ce,285,0,[NI,sTe,cTe,uTe,aTe,oTe])}function Ldn(){return eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])}function Ddn(){return T7(),Z(X(UNe,1),Ce,328,0,[_re,FNe,BNe,PNe,$Ne,jNe])}function Mdn(){return Zb(),Z(X(dre,1),Ce,300,0,[lre,w4,m4,cre,g4,b4])}function Pdn(){return mh(),Z(X(zke,1),Ce,259,0,[are,jD,FD,nU,eU,tU])}function jdn(){return qi(),Z(X(JNe,1),Ce,103,0,[W1,pf,Sk,_m,Oh,fa])}function Fdn(){return xu(),Z(X(lU,1),Ce,282,0,[K1,Rp,KD,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 ldt(e,t,r){fr();var o;return o=x1(e,t),r&&o&&Zsn(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 Lpe(e,t){var r,o;for(o=t.Jc();o.Ob();)r=l(o.Pb(),37),kyt(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 $dn(e){var t,r;for(r=An(e.a,0);r.b!=r.d.c;)t=l(Sn(r),65),hme(t)}function ddt(e,t){return ntt(e.e,t)||Jb(e.e,t,new p1t(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 tK(e,t,r,o,a,c){Qhe.call(this,t,o,a,c),this.c=e,this.b=r}function a6(e,t,r,o,a,c){Qhe.call(this,t,o,a,c),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 Bdn(e,t,r){var o,a,c;o=op(e,r),a=null,o&&(a=Xbe(o)),c=a,l1t(t,r,c)}function Udn(e,t,r){var o,a,c;o=op(e,r),a=null,o&&(a=Xbe(o)),c=a,l1t(t,r,c)}function Hdn(e,t){var r;return r=Ht(e.k,t),zme(e,t),vJ(e,t),Lme(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 zdn(e,t){return yr(ue(le(F(e,(Ie(),nw)))),ue(le(F(t,nw))))}function Dpe(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){srt(this),this.b=e,this.d=t,this.f=r,this.g=o,this.c=a}function La(e){dV(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 RKe(e)}function Gdn(e){for(;!e.a;)if(!Bit(e.c,new sYe(e)))return!1;return!0}function qdn(e){var t;if(!e.a)throw Y(new sat);return t=e.a,e.a=Br(e.a),t}function Vdn(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 oV(t,e.i));return e.g[t]}function fdt(e,t,r){if(C_(e,r),r!=null&&!e.dk(r))throw Y(new XG);return r}function Wdn(e,t,r){var o;return o=ppt(e,t,r),e.b=new Nj(o.c.length),Xme(e,o)}function hdt(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)oe(e,t);return npe(e)}function Kdn(e){nj(),l(e.mf((_n(),cv)),185).Ec((xu(),KD)),e.of(vre,null)}function nj(){nj=K,S6t=new uGe,A6t=new cGe,T6t=upn((_n(),vre),S6t,G1,A6t)}function pdt(){pdt=K,q7(),W3e=Kr,DDt=Di,K3e=new QR(Kr),MDt=new QR(Di)}function rj(){rj=K,dxe=new Gle("LEAF_NUMBER",0),mne=new Gle("NODE_SIZE",1)}function nK(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 Ydn(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 gdt(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 bdt(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[1];)r=t;return r}function Jdn(e){return ae(e,183)?""+l(e,183).a:e==null?null:ms(e)}function Xdn(e){return ae(e,183)?""+l(e,183).a:e==null?null:ms(e)}function mdt(e,t){if(t.a)throw Y(new Es(x2t));pi(e.a,t),t.a=e,!e.j&&(e.j=t)}function _u(){_u=K,Wf=new Cq(hT,0),D1=new Cq(px,1),nd=new Cq(pT,2)}function b_(){b_=K,YQ=new i8("All",0),JQ=new Vnt,XQ=new irt,ZQ=new Wnt}function wdt(){wdt=K,fxt=yn((b_(),Z(X(p$,1),Ce,310,0,[YQ,JQ,XQ,ZQ])))}function ydt(){ydt=K,tkt=yn((A0(),Z(X(ekt,1),Ce,414,0,[eD,QL,ree,iee])))}function vdt(){vdt=K,qkt=yn((x_(),Z(X(Gkt,1),Ce,413,0,[X0,$y,Fy,qE])))}function Edt(){Edt=K,Xkt=yn((YS(),Z(X(V2e,1),Ce,384,0,[TI,q2e,gee,bee])))}function Sdt(){Sdt=K,lNt=yn((Mj(),Z(X(cNt,1),Ce,368,0,[See,U$,H$,oD])))}function Tdt(){Tdt=K,ENt=yn((Xl(),Z(X(vNt,1),Ce,418,0,[Hy,qx,Vx,Tee])))}function Adt(){Adt=K,g4t=yn((Kb(),Z(X(p4t,1),Ce,409,0,[_D,XI,IB,CB])))}function _dt(){_dt=K,$It=yn((wy(),Z(X(jte,1),Ce,205,0,[xB,Pte,a2,s2])))}function xdt(){xdt=K,HIt=yn((bp(),Z(X(h_e,1),Ce,270,0,[B1,f_e,Bte,Ute])))}function kdt(){kdt=K,ONt=yn((lC(),Z(X(GSe,1),Ce,302,0,[kI,HSe,aD,zSe])))}function Ndt(){Ndt=K,TRt=yn((tC(),Z(X(axe,1),Ce,354,0,[lne,$B,cne,une])))}function Cdt(){Cdt=K,QRt=yn((d7(),Z(X(Ixe,1),Ce,355,0,[Ene,Nxe,Cxe,kxe])))}function Idt(){Idt=K,rOt=yn((S7(),Z(X(nOt,1),Ce,406,0,[kne,Ane,xne,_ne])))}function Rdt(){Rdt=K,Z4t=yn((JS(),Z(X(C_e,1),Ce,402,0,[DB,e4,t4,n4])))}function Odt(){Odt=K,i6t=yn((g7(),Z(X(Dke,1),Ce,396,0,[Kne,Yne,Jne,Xne])))}function Ldt(){Ldt=K,aLt=yn((O_(),Z(X(DNe,1),Ce,280,0,[zD,uU,ONe,LNe])))}function Ddt(){Ddt=K,cLt=yn((gp(),Z(X(Are,1),Ce,225,0,[Tre,GD,Ek,WT])))}function Mdt(){Mdt=K,pLt=yn((vc(),Z(X(hLt,1),Ce,293,0,[VD,Ih,q1,qD])))}function Pdt(){Pdt=K,NLt=yn((qP(),Z(X(e5,1),Ce,290,0,[r3e,o3e,Nre,i3e])))}function jdt(){jdt=K,_Lt=yn((sc(),Z(X(N4,1),Ce,381,0,[XD,xm,JD,hv])))}function Fdt(){Fdt=K,CLt=yn((Kj(),Z(X(c3e,1),Ce,327,0,[Cre,s3e,u3e,a3e])))}function $dt(){$dt=K,OLt=yn((Pj(),Z(X(RLt,1),Ce,412,0,[Ire,d3e,l3e,f3e])))}function l6(){l6=K,ZSe=new Lle(_d,0),J$=new Lle("IMPROVE_STRAIGHTNESS",1)}function ij(){ij=K,Mne=new Xq(qSt,0),rke=new Xq(nve,1),nke=new Xq(_d,2)}function Fpe(e){var t;if(!yK(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 Bdt(e,t){var r;return r=l(FS(e.e,t),395),r?(Mfe(r),r.e):null}function Zdn(e,t,r,o,a){return Mt(e),Mt(t),Mt(r),Mt(o),Mt(a),new ohe(e,t,o)}function Udt(e){Hw(!!e.c),OV(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 rK(e){var t;t=e.hj(),t!=null&&e.d!=-1&&l(t,95).uh(e),e.i&&e.i.mj()}function Qdn(e){var t;return u1(e),t=we(Ki,Jo,30,0,15,1),Wv(e.a,new rYe(t)),t}function Hdt(e,t,r){var o;return u1(e),o=new Hi,o.a=t,e.a.Nb(new utt(o,r)),o.a}function iK(e,t){return b6(t)!=10&&Z(rc(t),t.Qm,t.__elementTypeId$,b6(t),e),e}function oK(e){var t,r;return r=l(ze(e.j,0),12),t=l(F(r,(Ie(),mr)),12),t}function sK(e,t){var r;this.f=e,this.b=t,r=l(Ht(e.b,t),263),this.c=r?r.b:null}function zdt(){hc(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function oj(e){D8(this),this.g=e?RP(e,e.ge()):null,this.f=e,xP(this),this.he()}function cp(e,t,r,o,a,c,f){bK.call(this,t,o,a,c,f),this.c=e,this.b=r}function f6(e,t){if(t<0)throw Y(new Ia(lTt+t));return Nct(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 efn(e,t){return new PV(t,Gw(To(t.e),t.f.a+e,t.f.b+e),(Dt(),!1))}function tfn(e,t){return ZA(),Fe(e,new No(t,Re(t.e.c.length+t.g.c.length)))}function nfn(e,t){return ZA(),Fe(e,new No(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&&!y1t(r.k,o.k)}function h6(e,t){var r,o;return r=l(t,687),o=r.ui(),!o&&r.xi(o=new vnt(e,t)),o}function rs(e,t){var r,o;return r=l(t,689),o=r.Yk(),!o&&r.al(o=new Xut(e,t)),o}function p6(e){jot();var t,r;return t=e+128,r=ZEe[t],!r&&(r=ZEe[t]=new KKe(e)),r}function Fu(e){return e.b||(e.b=new rst(e,Go,e),!e.a&&(e.a=new MO(e,e))),e.b}function Gdt(e){return OV(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),Cst(e,0,r,t,0),t}function qdt(e,t){for(;t[0]<e.length&&Nf(` \r
`,Qa(co(e,t[0])))>=0;)++t[0]}function Vdt(e,t){A2e=new Vm,nkt=t,vI=e,l(vI.b,68),kpe(vI,A2e,null),Lvt(vI)}function G3(){G3=K,cee=new Rq("XY",0),uee=new Rq("X",1),lee=new Rq("Y",2)}function Za(){Za=K,Nd=new Iq("TOP",0),M1=new Iq(px,1),rd=new Iq(vwe,2)}function lp(){lp=K,dD=new jq(_d,0),ZE=new jq("TOP",1),kT=new jq(vwe,2)}function g6(){g6=K,Hte=new Ple("INPUT_ORDER",0),zte=new Ple("PORT_DEGREE",1)}function m_(){m_=K,KEe=Ua(Hu,Hu,524287),J_t=Ua(0,0,EL),YEe=VW(1),VW(2),JEe=VW(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 Wdt(e){(this.q?this.q:(At(),At(),xh)).zc(e.q?e.q:(At(),At(),xh))}function Kdt(e,t){va(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Ydt(e,t){gu(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Jdt(e,t){Hb(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Xdt(e,t){Ub(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function rfn(e,t){AS(l(l(e.f,19).mf((_n(),bk)),103))&&Agt(She(l(e.f,19)),t)}function aK(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 uK(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 cK(e){var t;return e.d!=e.r&&(t=Sl(e),e.e=!!t&&t.jk()==JAt,e.d=t),e.e}function lK(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 Hit(o),new Et(e,r)}function Wd(e,t){var r;return r=l(Ht(e.e,t),395),r?(grt(e,r),r.e):null}function ifn(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 dK(e){var t;return t=e.b.c.length==0?null:ze(e.b,0),t!=null&&vK(e,0),t}function ofn(e){switch(e.g){case 0:return sr;case 1:return Qi;default:return 0}}function sfn(e){return hbe(e,(m_(),JEe))<0?-Ktn(k_(e)):e.l+e.m*fT+e.h*nm}function Zdt(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=(MK(),zQ)[typeof r];return o?o(r):n1e(typeof r)}function afn(e,t){return ae(t,104)&&l(t,20).Bb&Co?new sV(t,e):new A_(t,e)}function ufn(e,t){return ae(t,104)&&l(t,20).Bb&Co?new sV(t,e):new A_(t,e)}function cfn(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 Qdt(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 eft(e,t,r,o){if(!e)throw Y(new jt(CC(t,Z(X(Ri,1),Rt,1,5,[r,o]))))}function tft(){tft=K,yLt=yn((He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt])))}function nft(){nft=K,sLt=yn((vi(),Z(X(E4,1),Ce,87,0,[hf,fs,as,ff,il])))}function rft(){rft=K,Bkt=yn((Vi(),Z(X(z2e,1),Ce,364,0,[id,kh,la,da,Ho])))}function q3(){q3=K,Kkt=new sG,Ykt=new s9,Vkt=new aG,Wkt=new uG,Jkt=new cG}function cj(){cj=K,oee=new xle("EADES",0),w$=new xle("FRUCHTERMAN_REINGOLD",1)}function ift(e){this.g=e,this.f=new je,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function oft(e,t,r,o){fr(),Km.call(this,26),this.c=e,this.a=t,this.d=r,this.b=o}function lfn(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 sft(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function dfn(e,t){var r;return r=x0(e.e.c,t.e.c),r==0?yr(e.e.d,t.e.d):r}function aft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.a==e:!1}function uft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.i==e:!1}function cft(e,t){return t==(RV(),RV(),cxt)?e.toLocaleLowerCase():e.toLowerCase()}function b6(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function ffn(e){var t,r;if(e.a){r=null;do t=e.a,e.a=null,r=xmt(t,r);while(e.a);e.a=r}}function hfn(e){var t,r;if(e.b){r=null;do t=e.b,e.b=null,r=xmt(t,r);while(e.b);e.b=r}}function pfn(e,t){var r;for(r=0;e.e!=e.i.gc();)Rsn(t,rn(e),Re(r)),r!=sr&&++r}function fK(e,t){var r;return r=l(Ht(e.a,t),151),r||(r=new Q2,Jn(e.a,t,r)),r}function gfn(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:Ln(e)}function Kl(e,t,r){var o;if(t==null)throw Y(new rS);return o=op(e,t),Rln(e,t,r),o}function lft(e,t){return Mt(t),Zfe(e),e.d.Ob()?(t.Ad(e.d.Pb()),!0):!1}function dft(e){this.b=new je,this.a=new je,this.c=new je,this.d=new je,this.e=e}function fft(e,t,r){G8.call(this),qpe(this),this.a=e,this.c=r,this.b=t.d,this.f=t.e}function bfn(){return zt(),Z(X(mee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rD,AI])}function hft(){hft=K,bLt=yn((vE(),Z(X(_4,1),Ce,260,0,[V1,WD,KNe,A4,YNe])))}function pft(){pft=K,_6t=yn((Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])))}function gft(){gft=K,TNt=yn((yy(),Z(X(SNt,1),Ce,372,0,[sD,q$,V$,G$,z$])))}function bft(){bft=K,RRt=yn((v7(),Z(X(IRt,1),Ce,365,0,[gne,fne,bne,hne,pne])))}function mft(){mft=K,YNt=yn((ic(),Z(X(xTe,1),Ce,166,0,[gD,DI,xp,MI,gm])))}function wft(){wft=K,BIt=yn((hC(),Z(X(s_e,1),Ce,329,0,[o_e,Fte,$te,VI,WI])))}function yft(){yft=K,OOt=yn((xC(),Z(X(ROt,1),Ce,370,0,[f2,BT,f4,d4,DD])))}function vft(){vft=K,FOt=yn((J6(),Z(X(hke,1),Ce,331,0,[lke,Une,fke,Hne,dke])))}function mfn(){return B7(),Z(X($Se,1),Ce,277,0,[xee,Cee,_ee,Oee,Nee,kee,Ree,Iee])}function wfn(){return A1(),Z(X(x6t,1),Ce,287,0,[Bke,Ai,yo,HT,eo,$r,UT,lf])}function yfn(){return sT(),Z(X(s5,1),Ce,235,0,[Dre,yU,o5,i5,Lre,wU,mU,Ore])}function vfn(e,t){return US(),-na(l(F(e,(js(),c2)),15).a,l(F(t,c2),15).a)}function Efn(e,t,r,o){var a;e.j=-1,vme(e,Zbe(e,t,r),(Mo(),a=l(t,69).tk(),a.vl(o)))}function Sfn(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 nq,t),Tn((!e.q&&(e.q=new ke(Ll,e,11,10)),e.q),r)}function Tfn(e,t){var r;return r=t>0?t-1:t,LQe(een(Bft(Rfe(new sS,r),e.n),e.j),e.k)}function dj(e,t){var r;return y1(e),r=new _at(e,e.a.xd(),e.a.wd()|4,t),new Et(e,r)}function Afn(e,t){var r,o;return r=l(py(e.d,t),18),r?(o=t,e.e.pc(o,r)):null}function Eft(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(M9(),FQ)}function w0(e){if(e<0)throw Y(new jt("Illegal Capacity: "+e));this.g=this.$i(e)}function _fn(e,t){if(0>e||e>t)throw Y(new Zce("fromIndex: 0, toIndex: "+e+fwe+t))}function Sft(e,t){return!!J3(e,t,Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))))}function xfn(e,t){AS(l(F(l(e.e,9),(Be(),Zr)),103))&&(At(),xi(l(e.e,9).j,t))}function kfn(e){var t;return t=ue(le(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 Nfn(e,t,r){var o;o=b.Math.max(0,e.b/2-.5),bC(r,o,1),Fe(t,new htt(r,o))}function Tft(e,t,r,o,a,c){var f;f=KW(o),bo(f,a),Ji(f,c),yt(e.a,o,new K8(f,t,r.f))}function Aft(e,t){Vn(e,(yh(),Cne),t.f),Vn(e,oOt,t.e),Vn(e,Nne,t.d),Vn(e,iOt,t.c)}function hK(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 _ft(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 xft(e,t){var r;if(r=iL(e.Ah(),t),!r)throw Y(new jt(R1+t+nQ));return r}function uy(e,t){var r;for(r=e;Br(r);)if(r=Br(r),r==t)return!0;return!1}function Cfn(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 Da(e,t){var r,o,a,c;for(Mt(t),o=e.c,a=0,c=o.length;a<c;++a)r=o[a],t.Ad(r)}function Ifn(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 Rfn(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 Ofn(e){var t;for(t=0;t<e.c.length;t++)(at(t,e.c.length),l(e.c[t],12)).p=t}function Lfn(e,t,r){var o,a,c;for(a=t[r],o=0;o<a.length;o++)c=a[o],e.e[c.c.p][c.p]=o}function pK(e,t){var r,o,a,c;for(o=e.d,a=0,c=o.length;a<c;++a)r=o[a],Hd(e.g,r).a=t}function kft(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 Dfn(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(),D1),e.f=(Za(),M1),e.d=(wc(2,Iy),new La(2)),e.e=new ro}function Nft(){Nft=K,b$=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])).length,tee=b$}function Sd(){Sd=K,Bs=new Nq("BEGIN",0),$a=new Nq(px,1),Us=new Nq("END",2)}function Kd(){Kd=K,yk=new eV(px,0),fv=new eV("HEAD",1),vk=new eV("TAIL",2)}function m6(){m6=K,K$=new Ole("READING_DIRECTION",0),YSe=new Ole("ROTATION",1)}function w6(){w6=K,ire=new Yle("DIRECT_ROUTING",0),rre=new Yle("BEND_ROUTING",1)}function US(){US=K,xRt=Pf(Pf(Pf(ZN(new ui,(JS(),e4)),(IC(),Xte)),L_e),j_e)}function dp(){dp=K,NRt=Pf(Pf(Pf(ZN(new ui,(JS(),n4)),(IC(),M_e)),I_e),D_e)}function pE(e,t){return ien(Y3(e,t,Ln(wo(Sh,ph(Ln(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=Scn(e),t&&!t.Sh()&&(e.w=t),t)}function Mfn(e){var t;return e==null?null:(t=l(e,198),Nwn(t,t.length))}function oe(e,t){if(e.g==null||t>=e.i)throw Y(new oV(t,e.i));return e.Ui(t,e.g[t])}function Pfn(e,t){At();var r,o;for(o=new je,r=0;r<e;++r)Ot(o.c,t);return new gq(o)}function Cft(e){return y1(e),xS(!0,"n may not be negative"),new Et(e,new Xft(e.a))}function jfn(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=ggn(e,t,null),o!=t&&!e.e&&(r=ox(e,t,r)),r&&r.mj()}function Ffn(e,t){var r;return r=Li(To(l(Ht(e.g,t),8)),fde(l(Ht(e.f,t),463).b)),r}function Ift(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 Rft(){Rft=K,BNt=yn((K6(),Z(X(iTe,1),Ce,284,0,[X$,tTe,rTe,eTe,nTe,Kee])))}function Oft(){Oft=K,UNt=yn((W_(),Z(X(lTe,1),Ce,285,0,[NI,sTe,cTe,uTe,aTe,oTe])))}function Lft(){Lft=K,FNt=yn((_7(),Z(X(XSe,1),Ce,286,0,[Gee,zee,Vee,qee,Wee,Y$])))}function Dft(){Dft=K,INt=yn((eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])))}function Mft(){Mft=K,lLt=yn((T7(),Z(X(UNe,1),Ce,328,0,[_re,FNe,BNe,PNe,$Ne,jNe])))}function Pft(){Pft=K,D6t=yn((Zb(),Z(X(dre,1),Ce,300,0,[lre,w4,m4,cre,g4,b4])))}function jft(){jft=K,N6t=yn((mh(),Z(X(zke,1),Ce,259,0,[are,jD,FD,nU,eU,tU])))}function Fft(){Fft=K,mLt=yn((qi(),Z(X(JNe,1),Ce,103,0,[W1,pf,Sk,_m,Oh,fa])))}function $ft(){$ft=K,wLt=yn((xu(),Z(X(lU,1),Ce,282,0,[K1,Rp,KD,k4,x4,KT])))}function $fn(){return Ty(),Z(X(zo,1),Ce,96,0,[ad,Ip,ud,ld,Rh,Il,kc,cd,Cl])}function V3(){V3=K,YD=new nV(aEe,0),xre=new nV("PARENT",1),ZNe=new nV("ROOT",2)}function Bft(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 UW(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 UW(e,5,r,e.t))}function gK(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new UW(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(Ri,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 Bfn(e,t){var r,o,a;return r=(o=(e1(),a=new Uue,a),t&&qme(o,t),o),cge(r,e),r}function Uft(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,c){var f;return f=lW(e,t),zft(r,f),f.i=a?8:0,f.f=o,f.e=a,f.g=c,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 Hft(e,t){var r,o,a,c;for(o=t,a=0,c=o.length;a<c;++a)r=o[a],mdt(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 Lnt(e)}function Qpe(e){var t;return t=Li(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=Li(To(e.c.d),e.d.d),G_(t,e.d.e.a,e.d.e.b),br(t,e.d.d)}function Ufn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,r=t.exec(e);return r&&r[1]||eX}function zft(e,t){if(e){t.n=e;var r=_un(t);if(!r){a$[e]=[t];return}r.Pm=t}}function Hfn(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 Gft(e,t,r){if(C_(e,r),!e.il()&&r!=null&&!e.dk(r))throw Y(new XG);return r}function wn(e,t){var r;return Mt(t),r=e[":"+t],HO(!!r,"Enum constant undefined: "+t),r}function zfn(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 ore||(ore=new gyt,bE(ore,Z(X(GE,1),Rt,139,0,[new que]))),ore}function bj(){bj=K,S_e=new zq("NO",0),Kte=new zq(Lwe,1),E_e=new zq("LOOK_BACK",2)}function mj(){mj=K,qSe=new Lq("ARD",0),W$=new Lq("MSD",1),Dee=new Lq("MANUAL",2)}function jo(){jo=K,YI=new $q(qC,0),Cu=new $q("INPUT",1),Ba=new $q("OUTPUT",2)}function Gfn(){return tL(),Z(X(KSe,1),Ce,268,0,[jee,WSe,$ee,Bee,Fee,Uee,uD,Pee,Mee])}function qfn(){return rL(),Z(X(n_e,1),Ce,269,0,[Dte,QAe,e_e,Ote,ZAe,t_e,AB,Rte,Lte])}function Vfn(){return Uu(),Z(X(e3e,1),Ce,267,0,[Tk,QD,dU,C4,fU,pU,hU,kre,ZD])}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 qft(e,t){var r;return ae(t,45)?e.c.Kc(t):(r=uY(e,t),Qj(e,t),r)}function K3(e,t){var r,o,a,c;for(o=t,a=0,c=o.length;a<c;++a)r=o[a],Wr(e,r,e.c.b,e.c)}function Wfn(){get();for(var e=LQ,t=0;t<arguments.length;t++)e.push(arguments[t])}function Kfn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],Ist(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 Vft(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 Yfn(e,t){t.Tg("Hierarchical port constraint processing",1),pbn(e),w3n(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 Wft(e){Hw(e.c>=0),O1n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function Jfn(e){var t,r;for(r=new V(J1t(e));r.a<r.c.c.length;)t=l(q(r),692),t.Zf()}function Xfn(e,t){var r,o,a;a=t.c.i,r=l(Ht(e.f,a),60),o=r.d.c-r.e.c,Da(t.b,new oJe(o))}function vj(e,t){return ren(J3(e.a,t,Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15)))))}function Kft(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=null,this.c=new jit(this,t,r,o)}function bK(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 Yft(){_de.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Tl}function Jft(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 Xft(e){I8.call(this,e.yd(64)?lde(0,El(e.xd(),1)):wL,e.wd()),this.b=1,this.a=e}function Zfn(e,t){return US(),l(F(t,(js(),c2)),15).a<e.gc()&&l(F(t,c2),15).a>=0}function rge(){rge=K,i4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function Zft(){Zft=K,o4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function ige(){ige=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,c4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function nht(){nht=K,f4t=Ra($n($n(new ui,(Vi(),la),(Zi(),L$)),da,N$),Ho,O$)}function rht(){rht=K,X_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 mK(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 wK(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 Qfn(e,t,r){var o;e.b=t,e.a=r,o=(e.a&512)==512?new XZe:new Gue,e.c=$Sn(o,e.b,e.a)}function iht(e,t){return wp(e.e,t)?(Mo(),cK(t)?new nP(t,e):new xO(t,e)):new ynt(t,e)}function ehn(e){var t,r;return 0>e?new ple:(t=e+1,r=new flt(t,e),new Gde(null,r))}function thn(e,t){At();var r;return r=new dS(1),zi(e)?ns(r,e,t):eu(r.f,e,t),new WG(r)}function nhn(e,t){var r;r=new Vm,l(t.b,68),l(t.b,68),l(t.b,68),Da(t.a,new yfe(e,r,t))}function oht(e,t){var r;return ae(t,8)?(r=l(t,8),e.a==r.a&&e.b==r.b):!1}function rhn(e){var t;return t=F(e,(Ie(),mr)),ae(t,176)?Ngt(l(t,176)):null}function sht(e){var t;return e=b.Math.max(e,2),t=Pge(e),e>t?(t<<=1,t>0?t:BC):t}function yK(e){switch(Sde(e.e!=3),e.e){case 2:return!1;case 0:return!0}return udn(e)}function dge(e){var t;return e.b==null?(tg(),tg(),l5):(t=e.sl()?e.rl():e.ql(),t)}function aht(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 OV(e.f.g,e.d),un(e.b),e.c=e.a,t=l(e.a.Pb(),45),e.b=xge(e),t}function uht(e,t){var r;return r=t==null?-1:_s(e.b,t,0),r<0?!1:(vK(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 vK(e,t){var r;r=sg(e.b,e.b.c.length-1),t<e.b.c.length&&(nc(e.b,t,r),Vmt(e,t))}function ihn(e,t){(YP(),sf?null:t.c).length==0&&cit(t,new vr),ns(e.a,sf?null:t.c,t)}function cht(e,t,r){var o,a,c;for(c=e.a.length-1,a=e.b,o=0;o<r;a=a+1&c,++o)ii(t,o,e.a[a])}function ohn(e,t){typeof window===pL&&typeof window.$gwt===pL&&(window.$gwt[e]=t)}function shn(e,t){ei(lr(new Et(null,new St(new Xh(e.b),1)),new Htt(e,t)),new Gtt(e,t))}function h1(){h1=K,_T=new cr(xwe),E$=new cr(W2t),SI=new cr(K2t),tD=new cr(Y2t)}function E_(){E_=K,iD=new Ile("TO_INTERNAL_LTR",0),wee=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 Oq("START",0),P1=new Oq("MIDDLE",1),Z0=new Oq("END",2)}function lht(e,t,r){Zhe.call(this,e,t,r),this.a=new hn,this.b=new hn,this.d=new xJe(this)}function dht(e){Gfe.call(this),this.b=ue(le(F(e,(Be(),od)))),this.a=l(F(e,kp),225)}function ahn(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 uhn(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 EK(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 fht(e,t){var r;return r=l(Ht(e.c,t),459),r||(r=new IZe,r.c=t,Jn(e.c,r.c,r)),r}function SK(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 hht(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),vZt(t,new hst(t.f))}function bge(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),EZt(t,new imt(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 tq,o),r.n=t,Tn((!e.s&&(e.s=new ke(au,e,21,17)),e.s),r)}function Dr(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 TK(e,t){var r;return ae(t,18)?(r=l(t,18),e.Fc(r)):lK(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 chn(e,t){t.Tg(lSt,1),ei(bs(new Et(null,new St(e.b,16)),new kG),new f9),t.Ug()}function Rr(e){return zi(e)?lg(e):Uw(e)?mS(e):Bw(e)?lit(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 pht(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 ght(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+Zdt(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 bht(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,c,f,p,m,y,v,T,N){return Bmt(e,t,r,o,a,c,f,p,m,y,v,T,N),tY(e,!1),e}function AK(e,t,r,o,a,c){var f;this.c=e,f=new je,Q1e(e,f,t,e.b,r,o,a,c),this.a=new Xi(f,0)}function mht(){this.c=new H9(0),this.b=new H9(ive),this.d=new H9(MSt),this.a=new H9(PSt)}function wht(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 lhn(){return _1(),Z(X(d_e,1),Ce,246,0,[kB,SD,TD,u_e,c_e,a_e,l_e,NB,ak,KI])}function dhn(){return Fo(),Z(X(Yee,1),Ce,262,0,[Z$,rl,CI,Q$,Qx,XE,II,Xx,Zx,eB])}function yht(e,t){return ue(le(Xu(D6(Oa(new Et(null,new St(e.c.b,16)),new hJe(e)),t))))}function wge(e,t){return ue(le(Xu(D6(Oa(new Et(null,new St(e.c.b,16)),new fJe(e)),t))))}function vht(e,t){return Ud(),Yl(nf),b.Math.abs(0-t)<=nf||t==0||isNaN(0)&&isNaN(t)?0:e/t}function fhn(e,t){return x_(),e==X0&&t==$y||e==$y&&t==X0||e==qE&&t==Fy||e==Fy&&t==qE}function hhn(e,t){return x_(),e==X0&&t==Fy||e==X0&&t==qE||e==$y&&t==qE||e==$y&&t==Fy}function phn(e,t,r){var o,a,c;for(o=0,a=0;a<r;a++)c=t[a],e[a]=c<<1|o,o=c>>>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 ghn(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 bhn(e,t){var r;t.Tg("General Compactor",1),r=f1n(l(ve(e,(T1(),yne)),387)),r.Bg(e)}function mhn(e,t,r){r.Tg("DFS Treeifying phase",1),T1n(e,t),aSn(e,t),e.a=null,e.b=null,r.Ug()}function whn(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 yhn(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 _K(){_K=K,D4=new VZe,Fre=Z(X(au,1),UE,182,0,[]),fDt=Z(X(Ll,1),CEe,62,0,[])}function zS(){zS=K,Eee=new Pr("edgelabelcenterednessanalysis.includelabel",(Dt(),L1))}function bu(){bu=K,Z2e=new wG,J2e=new yG,X2e=new vG,Y2e=new EG,Q2e=new SG,eSe=new LN}function vhn(e,t){t.Tg(lSt,1),x1e(men(new A9((KN(),new gW(e,!1,!1,new c9))))),t.Ug()}function xK(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),KQ):(jw(),new EV(t.b))}function kK(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),KQ):(jw(),new EV(t.c))}function Ehn(e){var t;return t=BP(e),d3(t.a,0)?(V9(),V9(),lxt):(V9(),new Krt(t.b))}function Shn(e){return e.b.c.i.k==(zt(),mi)?l(F(e.b.c.i,(Ie(),mr)),12):e.b.c}function Eht(e){return e.b.d.i.k==(zt(),mi)?l(F(e.b.d.i,(Ie(),mr)),12):e.b.d}function Sht(e){switch(e.g){case 2:return He(),Kt;case 4:return He(),Qt;default:return e}}function Tht(e){switch(e.g){case 1:return He(),dn;case 3:return He(),Wt;default:return e}}function Thn(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 Ahn(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 _hn(e,t,r){var o;for(o=r.Jc();o.Ob();)if(!HP(e,t,o.Pb()))return!1;return!0}function xhn(e,t){var r;for(kn(t);e.Ob();)if(r=e.Pb(),!_ge(l(r,9)))return!1;return!0}function khn(e,t,r,o,a){var c;return r&&(c=Ur(t.Ah(),e.c),a=r.Oh(t,-1-(c==-1?o:c),null,a)),a}function Nhn(e,t,r,o,a){var c;return r&&(c=Ur(t.Ah(),e.c),a=r.Qh(t,-1-(c==-1?o:c),null,a)),a}function Aht(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 Chn(e){if(Mt(e),e.length==0)throw Y(new kf("Zero length BigInteger"));nAn(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 _ht(e,t,r){this.g=e,this.d=t,this.e=r,this.a=new je,yvn(this),At(),xi(this.a,null)}function Kc(e,t,r,o,a,c,f){mn.call(this,e,t),this.d=r,this.e=o,this.c=a,this.b=c,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 NK(e,t){var r,o,a,c;return a=e.c,r=e.c+e.b,c=e.d,o=e.d+e.a,t.a>a&&t.a<r&&t.b>c&&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 Ihn(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 Dt(),zi(e)?wpe(e,In(t)):Uw(e)?XV(e,le(t)):Bw(e)?bsn(e,Ke(t)):e.Dd(t)}function Cj(e,t){var r;ae(t,93)?(l(e.c,78).Ek(),r=l(t,93),aht(e,r)):l(e.c,78).Wb(t)}function xht(e,t,r,o){ae(e.Cb,187)&&(l(e.Cb,187).tb=null),Ma(e,r),t&&Mvn(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 Rhn(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,h4t=Pf(xnt($n($n(new ui,(Vi(),la),(Zi(),L$)),da,N$),Ho),O$)}function kht(){kht=K,m4t=Pf(xnt($n($n(new ui,(Vi(),la),(Zi(),L$)),da,N$),Ho),O$)}function Nht(){Nht=K,tNt=yn((zt(),Z(X(mee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rD,AI])))}function Cht(){Cht=K,CNt=yn((B7(),Z(X($Se,1),Ce,277,0,[xee,Cee,_ee,Oee,Nee,kee,Ree,Iee])))}function Iht(){Iht=K,k6t=yn((A1(),Z(X(x6t,1),Ce,287,0,[Bke,Ai,yo,HT,eo,$r,UT,lf])))}function Rht(){Rht=K,qLt=yn((sT(),Z(X(s5,1),Ce,235,0,[Dre,yU,o5,i5,Lre,wU,mU,Ore])))}function Oht(){return IC(),Z(X(aCn,1),Ce,265,0,[Xte,L_e,j_e,F_e,P_e,O_e,$_e,I_e,M_e,D_e,R_e])}function Ij(){Ij=K,Sne=new Kq(_d,0),Oxe=new Kq("POLAR_COORDINATE",1),Rxe=new Kq("ID",2)}function S_(){S_=K,EI=new Pr("debugSVG",(Dt(),!1)),_2e=new Pr("overlapsExisted",!0)}function Ohn(){var e;return QQ||(QQ=new vZe,e=new GW(""),gtn(e,(GA(),y2e)),ihn(QQ,e)),QQ}function Lht(e){return qw(),e.A.Gc((sc(),hv))&&!e.B.Gc((Uu(),QD))?Lgt(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 Lhn(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]=qwn(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,hDt,e,t),this.b=this,this.a=za(e.Ah(),Nt(this.e.Ah(),this.c))}function Mht(){this.a=l(Ge((ed(),y$)),15).a,this.c=ue(le(Ge(v$))),this.b=ue(le(Ge(see)))}function Pht(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 CK(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 Dhn(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 Mhn(e,t,r){return e==(Kb(),IB)?new $Ue:Bu(t,1)!=0?new rle(r.length):new NQe(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 Phn(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,s2t),e+1):e<BC?go(b.Math.ceil(e/.75)):sr}function Gs(e){return SL<e&&e<nm?e<0?b.Math.ceil(e):b.Math.floor(e):p1(G2n(e))}function jht(e){switch(e.a.g){case 1:return new Ktt;case 3:return new Z1t;default:return new JWe}}function Vt(e,t){var r;return e.Db&t?(r=DY(e,t),r==-1?e.Eb:HS(e.Eb)[r]):null}function jhn(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 Fht(e){var t;e.d==null?(++e.e,e.f=0,Xpt(null)):(++e.e,t=e.d,e.d=null,e.f=0,Xpt(t))}function Fhn(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),Vwn(e,r)}function $hn(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,Dd,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,Dd,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 Bhn(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?(Fot(),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 Uhn(e){Xnt();var t;return ttt(Jte,e)||(t=new nHe,t.a=e,Xde(Jte,e,t)),l(Wo(Jte,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 $ht(e,t){var r;return r=e.a.get(t),r===void 0?++e.d:(Vnn(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 Fnt(r))),e}function Hhn(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 zhn(e){return e.b.c.length!=0&&l(ze(e.b,0),70).a?l(ze(e.b,0),70).a:yW(e)}function Ghn(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 qhn(e,t){var r;t.Tg("Edge and layer constraint edge reversal",1),r=mTn(e),Qkn(r),t.Ug()}function Vhn(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=(Mo(),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){mpt.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 Bht(e,t){e.c&&(_yt(e,t,!0),ei(new Et(null,new St(t,16)),new yJe(e))),_yt(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 Uht(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,eD=new o8("UP",0),QL=new o8(RX,1),ree=new o8(hT,2),iee=new o8(pT,3)}function Oj(){Oj=K,g_e=new Bq("EQUALLY",0),Gte=new Bq("NORTH",1),b_e=new Bq("NORTH_SOUTH",2)}function __(){__=K,Jee=new Mq("ONE_SIDED",0),Xee=new Mq("TWO_SIDED",1),cD=new Mq("OFF",2)}function Hht(){Hht=K,xLt=yn((Uu(),Z(X(e3e,1),Ce,267,0,[Tk,QD,dU,C4,fU,pU,hU,kre,ZD])))}function zht(){zht=K,gLt=yn((Ty(),Z(X(zo,1),Ce,96,0,[ad,Ip,ud,ld,Rh,Il,kc,cd,Cl])))}function Ght(){Ght=K,DNt=yn((tL(),Z(X(KSe,1),Ce,268,0,[jee,WSe,$ee,Bee,Fee,Uee,uD,Pee,Mee])))}function qht(){qht=K,jIt=yn((rL(),Z(X(n_e,1),Ce,269,0,[Dte,QAe,e_e,Ote,ZAe,t_e,AB,Rte,Lte])))}function Xl(){Xl=K,Hy=new c8(px,0),qx=new c8(hT,1),Vx=new c8(pT,2),Tee=new c8("TOP",3)}function Lj(){Lj=K,Yte=new Gq("OFF",0),uk=new Gq("SINGLE_EDGE",1),nv=new Gq("MULTI_EDGE",2)}function x6(){x6=K,QB=new Wle("MINIMUM_SPANNING_TREE",0),Ike=new Wle("MAXIMUM_SPANNING_TREE",1)}function Whn(e,t,r){var o,a;a=l(F(e,(Be(),ss)),79),a&&(o=new Du,VK(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 Khn(e){var t;if(e){if(t=e,t.dc())throw Y(new vs);return t.Xb(t.gc()-1)}return Nut(e.Jc())}function IK(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 MG,r),Ma(o,t),Tn((!e.A&&(e.A=new du(Ka,e,7)),e.A),o),o}function Yhn(e,t,r){var o,a,c,f;return c=null,f=t,a=m0(f,lQ),o=new ent(e,r),c=(Sbt(o.a,o.b,a),a),c}function Dj(e,t,r){var o,a,c,f;f=ji(e),o=f.d,a=f.c,c=e.n,t&&(c.a=c.a-o.b-a.a),r&&(c.b=c.b-o.d-a.b)}function Jhn(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 Vht(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 RK(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 Fpt(e),pZe(t)),t)}function OK(e){if(ae(e,196))return l(e,127);if(e)return null;throw Y(new uS(oAt))}function Wht(e){switch(e.g){case 0:return new zze;case 1:return new Gze;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 Kht(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(pr(t,Bj(e)))return!0;return!1}function Yht(e,t){return!e||!t||e==t?!1:Ygt(e.d.c,t.d.c+t.d.b)&&Ygt(t.d.c,e.d.c+e.d.b)}function Xhn(){return YP(),sf?new GW(null):R0t(Ohn(),"com.google.common.base.Strings")}function li(e,t){var r,o;return r=t.Nc(),o=r.length,o==0?!1:(Dfe(e.c,e.c.length,r),!0)}function Zhn(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 Qhn(e){var t,r;for(I_n(e),r=new V(e.d);r.a<r.c.c.length;)t=l(q(r),108),t.i&&Eyn(t)}function Jht(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 epn(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 LK(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 Xht(e){var t,r;return r=(t=new MG,t),Ma(r,"T"),Tn((!e.d&&(e.d=new du(Ka,e,11)),e.d),r),r}function Zht(e,t){var r;return r=ch(t.a.gc()),ei(dj(new Et(null,new St(t,1)),e.i),new Utt(e,r)),r}function Qht(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 tpn(e,t,r,o){l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),l(o.b,68),Da(o.a,new wfe(e,t,o))}function npn(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 rpn(e,t,r,o,a){return Z_(),b.Math.min(Qvt(e,t,r,o,a),Qvt(r,o,e,t,H8(new Me(a.a,a.b))))}function ept(e,t){if(!e)throw Y(new jt(CC("value already present: %s",Z(X(Ri,1),Rt,1,5,[t]))))}function tpt(e,t,r){var o;Zs(e.a),Da(r.i,new fXe(e)),o=new L8(l(Ht(e.a,t.b),68)),t1t(e,o,t),r.f=o}function ipn(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 npt(e){switch(e.g){case 1:return q1;case 2:return Ih;case 3:return qD;default:return VD}}function opn(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(),Lh),Rg,e,0)),e.o.c.$b();return}tJ(e,t)}function spn(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 apn(e){var t;return t=new he,t.a=e,t.b=hpn(e),t.c=we(Je,Pe,2,2,6,1),t.c[0]=ght(e),t.c[1]=ght(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 upn(e,t,r,o){return new Ele(Z(X(dm,1),tF,45,0,[(CY(e,t),new t0(e,t)),(CY(r,o),new t0(r,o))]))}function Mj(){Mj=K,See=new u8(_d,0),U$=new u8(hSt,1),H$=new u8(pSt,2),oD=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,lD=new Pq("ONLY_WITHIN_GROUP",0),dTe=new Pq(PX,1),Gy=new Pq("ENFORCED",2)}function Vb(){Vb=K,Hee=new Dq(_d,0),Jx=new Dq("INCOMING_ONLY",1),JE=new Dq("OUTGOING_ONLY",2)}function qS(){qS=K,E6t=new Kze,v6t=new Zze}function MK(){MK=K,zQ={boolean:len,number:TQt,string:AQt,object:zmt,function:zmt,undefined:nQt}}function rpt(){rpt=K,UIt=yn((_1(),Z(X(d_e,1),Ce,246,0,[kB,SD,TD,u_e,c_e,a_e,l_e,NB,ak,KI])))}function ipt(){ipt=K,HNt=yn((Fo(),Z(X(Yee,1),Ce,262,0,[Z$,rl,CI,Q$,Qx,XE,II,Xx,Zx,eB])))}function cpn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],bpt(e,t,(He(),dn)),bpt(e,t,Wt)}function opt(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 lpn(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 PK(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=cut(e,r)),e.Ci(t,r)}function dpn(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),nvt(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 fpn(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]=Vbn(o,e);return r}function spt(e,t){var r,o,a,c;for(r=!1,o=e.a[t].length,c=0;c<o-1;c++)a=c+1,r=r|A1n(e,t,c,a);return r}function apt(e){var t,r;return r=new JP,qs(r,e),Te(r,(h1(),_T),e),t=new hn,g_n(e,r,t),Wkn(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 upt(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 cpt(e,t){this.b=e,Qv.call(this,(l(oe(Ne((a1(),Ut).o),10),20),t.i),t.g),this.a=(_K(),Fre)}function Lge(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 Dge(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function lpt(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 dpt(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 fpt(e,t,r){var o,a;return o=new eK(t,r),a=new Ft,e.b=Fwt(e,e.b,o,a),a.b||++e.c,e.b.b=!1,a.d}function hpt(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 hpn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+Zdt(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 ppn(e){var t,r,o;return t=l(e.e&&e.e(),10),o=(r=t.slice(),l(iK(r,t),10)),new Hc(t,o,t.length)}function jK(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,c;for(t=new ro,o=e,a=0,c=o.length;a<c;++a)r=o[a],t.a+=r.a,t.b+=r.b;return t}function Fge(e,t){At();var r,o,a,c,f;for(f=!1,o=t,a=0,c=o.length;a<c;++a)r=o[a],f=f|e.Ec(r);return f}function FK(e,t,r){var o,a,c,f;return c=null,f=t,a=m0(f,"labels"),o=new snt(e,r),c=(q0t(o.a,o.b,a),a),c}function ppt(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 gpn(e,t,r,o){var a;return a=Dme(e,t,r,o),!a&&(a=mgn(e,r,o),a&&!IE(e,t,a))?null:a}function bpn(e,t,r,o){var a;return a=Mme(e,t,r,o),!a&&(a=ZK(e,r,o),a&&!IE(e,t,a))?null:a}function gpt(e,t){var r;for(r=0;r<e.a.a.length;r++)if(!l(Hot(e.a,r),181).Lb(t))return!1;return!0}function mpn(e,t,r){if(kn(t),r.Ob())for(tde(t,qst(r.Pb()));r.Ob();)tde(t,e.a),tde(t,qst(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 bpt(e,t,r){var o,a,c,f;for(f=oC(t,r),c=0,a=f.Jc();a.Ob();)o=l(a.Pb(),12),Jn(e.c,o,Re(c++))}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();wQt(e.b,e),xwt(e)}function hp(e){var t;return u1(e),t=new Hi,e.a.zd(t)?(VA(),new aq(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 wpn(e,t,r){return!BA(lr(new Et(null,new St(e.c,16)),new RA(new ztt(t,r)))).zd((_b(),TT))}function $K(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 BK(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 mpt(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 wpt(e,t,r){e.g=nJ(e,t,(He(),Qt),e.b),e.d=nJ(e,r,Qt,e.b),!(e.g.c==0||e.d.c==0)&&omt(e)}function ypt(e,t,r){e.g=nJ(e,t,(He(),Kt),e.j),e.d=nJ(e,r,Kt,e.j),!(e.g.c==0||e.d.c==0)&&omt(e)}function ypn(e,t,r,o,a){var c;return c=Nme(e,t),r&&jK(c),a&&(e=Zbn(e,t),o?O1=k_(e):O1=Ua(e.l,e.m,e.h)),c}function vpn(e,t,r,o,a){var c,f;if(f=e.length,c=r.length,t<0||o<0||a<0||t+a>f||o+a>c)throw Y(new Nce)}function vpt(e,t){HO(e>=0,"Negative initial capacity"),HO(t>=0,"Non-positive load factor"),Zs(this)}function N_(){N_=K,jSe=new T$e,FSe=new A$e,gNt=new _$e,pNt=new x$e,hNt=new k$e,PSe=(Mt(hNt),new We)}function eC(){eC=K,B_e=new Vq(_d,0),Zte=new Vq("MIDDLE_TO_MIDDLE",1),kD=new Vq("AVOID_OVERLAP",2)}function Uge(e,t,r){switch(t){case 0:!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),Cj(e.o,r);return}iJ(e,t,r)}function Epn(e,t){switch(t.g){case 0:ae(e.b,638)||(e.b=new Mht);break;case 1:ae(e.b,639)||(e.b=new Lot)}}function Ept(e){switch(e.g){case 0:return new eGe;default:throw Y(new jt(FF+(e.f!=null?e.f:""+e.g)))}}function Spt(e){switch(e.g){case 0:return new Qze;default:throw Y(new jt(FF+(e.f!=null?e.f:""+e.g)))}}function Tpt(e){switch(e.g){case 0:return new nGe;default:throw Y(new jt(NZ+(e.f!=null?e.f:""+e.g)))}}function Apt(e){switch(e.g){case 0:return new rGe;default:throw Y(new jt(NZ+(e.f!=null?e.f:""+e.g)))}}function _pt(e){switch(e.g){case 0:return new Yze;default:throw Y(new jt(NZ+(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 Du,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 Spn(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 Tpn(e,t){var r,o;return r=l(ve(e,(ef(),OD)),15).a,o=l(ve(t,OD),15).a,r==o||r<o?-1:r>o?1:0}function xpt(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,c,f;for(o=t,a=0,c=o.length;a<c;++a)r=o[a],f=new Hst(e),r.tf(f),k_n(f);Zs(e.f)}function kpt(e,t,r){var o,a;this.g=e,this.c=t,this.a=this,this.d=this,a=sht(r),o=we(z_t,yL,229,a,0,1),this.b=o}function Apn(){fr();var e;return Gre||(e=unn(x1("M",!0)),e=lP(x1("M",!1),e),Gre=e,Gre)}function zge(e){switch(e.g){case 1:return MSt;default:case 2:return 0;case 3:return PSt;case 4:return ive}}function Gge(e,t){return Ewt(e,t)?(yt(e.b,l(F(t,(Ie(),_p)),24),t),Gn(e.a,t),!0):!1}function _pn(e){return Fe(e.c,(qS(),E6t)),Wpe(e.a,ue(le(Ge((cY(),TB)))))?new $Ge:new wXe(e)}function xpn(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 kpn(e,t){return gr(e,(Ie(),Cr))&&gr(t,Cr)?l(F(e,Cr),15).a-l(F(t,Cr),15).a:0}function Npn(e,t){return gr(e,(Ie(),Cr))&&gr(t,Cr)?l(F(t,Cr),15).a-l(F(e,Cr),15).a:0}function UK(e,t){var r;return t===e?!0:ae(t,231)?(r=l(t,231),pr(e.Zb(),r.Zb())):!1}function HK(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function Npt(e){return sf?we(hxt,S2t,574,0,0,1):l(Yd(e.a,we(hxt,S2t,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),Vmt(e,t))}function Cpn(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&&ibn(r))}function Vge(e,t,r){var o;for(o=r-1;o>=0&&e[o]===t[o];o--);return o<0?0:_q(Gi(e[o],$o),Gi(t[o],$o))?-1:1}function Ipn(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 nq,o),Ko(a,t,r),Tn((!e.q&&(e.q=new ke(Ll,e,11,10)),e.q),a),a}function zK(e,t){var r,o;return o=l(Vt(e.a,4),131),r=we(Pre,yQ,420,t,0,1),o!=null&&ua(o,0,r,0,o.length),r}function GK(e){var t,r,o,a;for(a=Nen(HLt,e),r=a.length,o=we(Je,Pe,2,r,6,1),t=0;t<r;++t)o[t]=a[t];return o}function Cpt(e,t){var r;return r=new bJ((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 Rpn(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 Ipt(e,t,r){var o,a,c,f;for(Mt(r),f=!1,c=e.dd(t),a=r.Jc();a.Ob();)o=a.Pb(),c.Rb(o),f=!0;return f}function Opn(e,t){var r;return e===t?!0:ae(t,93)?(r=l(t,93),Kbe(Cb(e),r.vc())):!1}function Rpt(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 Opt(e,t,r){return e.d[t.p][r.p]||(xbn(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),wK(e,t==null?null:(Mt(t),t)),e.C&&e.fl(null)}function Pj(){Pj=K,Ire=new A8("ELK",0),d3e=new A8("JSON",1),l3e=new A8("DOT",2),f3e=new A8("SVG",3)}function tC(){tC=K,lne=new g8(PX,0),$B=new g8(USt,1),cne=new g8("FAN",2),une=new g8("CONSTRAINT",3)}function R6(){R6=K,UB=new Wq(_d,0),hxe=new Wq("RADIAL_COMPACTION",1),pxe=new Wq("WEDGE_COMPACTION",2)}function nC(){nC=K,Vte=new Uq("STACKED",0),qte=new Uq("REVERSE_STACKED",1),AD=new Uq("SEQUENCED",2)}function Yc(){Yc=K,v2e=new kq("CONCURRENT",0),nu=new kq("IDENTITY_FINISH",1),E2e=new kq("UNORDERED",2)}function pp(){pp=K,cU=new tV(aEe,0),Ig=new tV("INCLUDE_CHILDREN",1),T4=new tV("SEPARATE_CHILDREN",2)}function jj(){jj=K,VNe=new xb(15),dLt=new Mi((_n(),df),VNe),S4=GT,HNe=P6t,zNe=Am,qNe=b2,GNe=uv}function qK(){qK=K,fee=nut(Z(X(E4,1),Ce,87,0,[(vi(),as),fs])),hee=nut(Z(X(E4,1),Ce,87,0,[il,ff]))}function Lpn(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 VK(e,t,r){var o,a,c;for(o=new Ar,c=An(r,0);c.b!=c.d.c;)a=l(Sn(c),8),Gn(o,new So(a));Ipt(e,t,o)}function Dpn(e,t){var r;r=Ge((cY(),TB))!=null&&t.Rg()!=null?ue(le(t.Rg()))/ue(le(Ge(TB))):1,Jn(e.b,t,r)}function Mpn(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 bZe)}function Ppn(e,t,r){if(t<0)throw Y(new Ia(lTt+t));t<e.j.c.length?nc(e.j,t,r):(Nct(e,t),Fe(e.j,r))}function Lpt(e,t,r){if(e>t)throw Y(new jt(sF+e+T2t+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 Mpt(e){uut.call(this,"The given string does not match the expected format for individual spacings.",e)}function Ppt(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 HV(),GEe;case 1:return new nS(Xmt(new fS(e)));default:return new cQe(e)}}function jpt(e){switch(e.gc()){case 0:return HV(),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?_en(l(oe(t,0),691)):null}function jpn(e,t){var r;return r=Ao(e,t),_q(MW(e,t),0)|k8(MW(e,r),0)?r:Ao(wL,MW(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:(Dfe(e.c,t,o),!0)}function Fpn(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 $pn(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(q_t,1)||q_t}function Bpn(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 Fpt(e){bQe(),D8(this),xP(this),this.e=e,Lwt(this,e),this.g=e==null?tu:ms(e),this.a="",this.b=e,this.a=""}function $pt(){bQt.call(this,new Npe(fy(16))),wc(2,n2t),this.b=2,this.a=new Ehe(null,null,0,null),tO(this.a,this.a)}function Kb(){Kb=K,_D=new h8("BARYCENTER",0),XI=new h8(dSt,1),IB=new h8(fSt,2),CB=new h8("MEDIAN",3)}function rC(){rC=K,Mte=new Fq("DUMMY_NODE_OVER",0),r_e=new Fq("DUMMY_NODE_UNDER",1),_B=new Fq("EQUAL",2)}function R_(){R_=K,Wte=new Hq("CONSERVATIVE",0),y_e=new Hq("CONSERVATIVE_SOFT",1),JI=new Hq("SLOPPY",2)}function Bpt(e){var t,r,o;for(o=0,r=new $t(qt(e.a.Jc(),new L));an(r);)t=l(en(r),17),t.c.i==t.d.i||++o;return o}function Fj(e){var t,r,o,a,c;for(c=1,r=e,o=0,a=r.length;o<a;++o)t=r[o],c=31*c+(t!=null?Rr(t):0),c=c|0;return c}function yn(e){var t,r,o,a,c;for(t={},o=e,a=0,c=o.length;a<c;++a)r=o[a],t[":"+(r.f!=null?r.f:""+r.g)]=r;return t}function Upt(e,t,r){var o,a,c,f;for(a=r,c=0,f=a.length;c<f;++c)if(o=a[c],e.b.ze(t,o.jd()))return o;return null}function Upn(e){var t,r;if(e==null)return null;for(t=0,r=e.length;t<r;t++)if(!Tot(e[t]))return e[t];return null}function WK(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 Hpt(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 Hpn(e,t){return t<e.length&&(Yt(t,e.length),e.charCodeAt(t)!=63)&&(Yt(t,e.length),e.charCodeAt(t)!=35)}function zpt(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),Hgt(r,r.e,r.f+a);e.f=t}function zpn(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 Gpn(e){var t;return t=new ift(e),e6(e.a,Jkt,new Ds(Z(X(nD,1),Rt,378,0,[t]))),t.d&&Fe(t.f,t.d),t.f}function qpn(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&&(Cbt(t.q,a),o=r!=t.q.d)),o}function Gpt(e,t){var r,o,a,c,f,p,m,y;return m=t.i,y=t.j,o=e.f,a=o.i,c=o.j,f=m-a,p=y-c,r=b.Math.sqrt(f*f+p*p),r}function qpt(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 Vpn(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|oL(e,t,o,!1),o=!o;bge(e)}function Zge(e,t){var r,o;return o=t7(e),o||(r=(jJ(),X0t(t)),o=new sZe(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 Wpn(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 Kpn(e){var t,r;if(e==null)return!1;for(t=0,r=e.length;t<r;t++)if(!Tot(e[t]))return!1;return!0}function Vpt(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 Wpt(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],Urt(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function Kpt(e,t,r,o){var a,c;e.a=t,c=o?0:1,e.f=(a=new Emt(e.c,e.a,r,c),new iyt(r,e.a,a,e.e,e.b,e.c==(Kb(),XI)))}function Ypn(e,t,r){var o,a;for(a=t.a.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),60),Mat(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 Jpn(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 KK(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 Xpn(e,t,r){var o;o=new E0t(e,t),yt(e.r,t.$f(),o),r&&!k3(e.u)&&(o.c=new eut(e.d),Da(t.Pf(),new gYe(o)))}function YK(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 Zpn(e){var t;return t=O8(f4t),l(F(e,(Ie(),xa)),24).Gc((Fo(),Qx))&&$n(t,(Vi(),la),(Zi(),P$)),t}function Qpn(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=YSn(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 egn(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,c;return c=(a=e?t7(e):null,Hmt((o=t,a&&a.El(),o))),c==t&&(r=t7(e),r&&r.El()),c}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 Ypt(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 Jpt(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 tgn(e,t,r,o){var a,c;for(c=e.Jc();c.Ob();)a=l(c.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 ngn(e,t,r,o,a,c,f,p){var m;for(m=r;c<f;)m>=o||t<r&&p.Le(e[t],e[m])<=0?ii(a,c++,e[t++]):ii(a,c++,e[m++])}function Xpt(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 rgn(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]):tEn(e,r,a,t,o))}function JK(e){return(He(),ou).Gc(e.j)?ue(le(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b}function Zpt(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 Qpt(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 ign(e,t,r){var o,a,c,f;for(o=r/e.gc(),a=0,f=e.Jc();f.Ob();)c=l(f.Pb(),189),zpt(c,c.f+o*a),d0n(c,t,o),++a}function ogn(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&&cxn(t,r.j)}function sgn(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 qze,this.f=new oXe(this),this.b=new sXe(this),this.i=new aXe(this),this.e=new uXe(this)}function O_(){O_=K,zD=new y8(aEe,0),uU=new y8("CONTAINER",1),ONe=new y8("PARENT",2),LNe=new y8("ROOT",3)}function VS(){VS=K,t3e=new rV("PARALLEL_NODE",0),pv=new rV("HIERARCHICAL_NODE",1),gU=new rV("ROOT_NODE",2)}function Uj(){Uj=K,oke=new Zq("EQUAL_BETWEEN_STRUCTURES",0),ske=new Zq("TO_ASPECT_RATIO",1),Pne=new Zq(_d,2)}function n1e(e){throw MK(),Y(new fQe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function egt(e){switch(e.g){case 0:return new Bze;case 1:return new Hze;case 2:return new Uze;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 tgt(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 hlt(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),f0t(r,t))}function rgt(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 OFe),f0t(r,t))}function Re(e){var t,r;return e>-129&&e<128?(Oot(),t=e+128,r=t2e[t],!r&&(r=t2e[t]=new ace(e)),r):new ace(e)}function L_(e){var t,r;return e>-129&&e<128?(Bot(),t=e+128,r=o2e[t],!r&&(r=o2e[t]=new oce(e)),r):new oce(e)}function igt(e){var t;return t=new Zg,t.a+="VerticalSegment ",ba(t,e.e),t.a+=" ",zn(t,Tde(new pq,new V(e.k))),t.a}function agn(e){hc();var t,r;t=e.d.c-e.e.c,r=l(e.g,157),Da(r.b,new ZYe(t)),Da(r.c,new QYe(t)),lo(r.i,new eJe(t))}function ugn(e){var t;return t=l(Wd(e.c.c,""),236),t||(t=new DS(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 XK(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,c;for(o=0,c=An(e,0);c.b!=c.d.c&&(a=ue(le(Sn(c))),!(a>r));)a>=t&&++o;return o}function cgn(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 lgn(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 wnt(e,l(t,29)):new Jut(e,l(t,160))),o}function L6(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 dgn(e,t){var r;e.c=t,e.a=a1n(t),e.a<54&&(e.f=(r=t.d>1?nct(t.a[0],t.a[1]):nct(t.a[0],0),$b(t.e>0?r:ug(r))))}function fgn(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),cct(e.a,t.a,t.d.length,r)),e}function hgn(e,t){var r,o,a,c;if(t.cj(e.a),c=l(Vt(e.a,8),2014),c!=null)for(r=c,o=0,a=r.length;o<a;++o)null.Sm()}function D6(e,t){var r;return r=new Hi,e.a.zd(r)?(VA(),new aq(Mt(Hdt(e,r.a,t)))):(u1(e),VA(),VA(),b2e)}function ogt(e){var t;return Ea(e,0)<0&&(e=p1(xsn(gs(e)?vl(e):e))),t=Ln(Rb(e,32)),64-(t!=0?Q6(t):Q6(Ln(e))+32)}function pr(e,t){return zi(e)?wt(e,t):Uw(e)?Fit(e,t):Bw(e)?(Mt(e),me(e)===me(t)):Yfe(e)?e.Fb(t):Vfe(e)?Mnt(e,t):Vhe(e,t)}function sgt(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 pgn(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(),Io}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 agt(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+T2t+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 ggn(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 ugt(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 cgt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),29),me(t)===me(r))return!0;return!1}function bgn(e){eF();var t,r,o,a;for(r=mY(),o=0,a=r.length;o<a;++o)if(t=r[o],_s(t.a,e,0)!=-1)return t;return nee}function lgt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function dgt(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 fgt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),146),me(t)===me(r))return!0;return!1}function mgn(e,t,r){var o,a,c;return c=(a=Y_(e.b,t),a),c&&(o=l(Y7(h6(e,c),""),29),o)?Dme(e,o,t,r):null}function ZK(e,t,r){var o,a,c;return c=(a=Y_(e.b,t),a),c&&(o=l(Y7(h6(e,c),""),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(GL));e.Ei(t,r)}function wgn(e,t){t.Tg("Sort end labels",1),ei(lr(bs(new Et(null,new St(e.b,16)),new gFe),new bFe),new mFe),t.Ug()}function vi(){vi=K,hf=new TO(qC,0),fs=new TO(pT,1),as=new TO(hT,2),ff=new TO(RX,3),il=new TO("UP",4)}function M6(){M6=K,KB=new Qq("P1_STRUCTURE",0),YB=new Qq("P2_PROCESSING_ORDER",1),JB=new Qq("P3_EXECUTION",2)}function hgt(){hgt=K,kRt=Pf(Pf(ZN(Pf(Pf(ZN($n(new ui,(JS(),e4),(IC(),Xte)),t4),P_e),F_e),n4),O_e),$_e)}function ygn(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 vgn(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 Egn(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 pgt(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 ggt(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 Sgn(e){switch(e){case 0:return new PZe;case 1:return new DZe;case 2:return new MZe;default:throw Y(new nO)}}function Tgn(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=ogt(e),this.a<54?this.f=$b(e):this.c=(jf(),Ea(e,0)>=0?v1(e):I3(v1(ug(e))))}function bgt(e,t,r,o,a,c){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=c}function Agn(e){var t;if(!e.a)throw Y(new es("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,kat(e,t),Nat(e,t)}function mgt(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),KQ):(jw(),new EV(Aq(t.a,0)?ype(t)/$b(t.a):0))}function _gn(e,t){var r;if(r=iL(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=aJ(e,t,r),e.Hj(e.Gj(7,Re(r),o,t,a)),o):aJ(e,t,r)}function QK(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,bdn(e,o,iwt(e,o,r,a)))}function D_(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 xgn(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(le(F(e,aB))),t>=1?fs:ff):r}function kgn(e){var t,r;for(r=Z0t(mc(e)).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return $ln((Qet(),eDt),t);return null}function Ngn(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 Cgn(e,t,r){var o,a;for(a=ae(t,104)&&l(t,20).Bb&Co?new sV(t,e):new A_(t,e),o=0;o<r;++o)a7(a);return a}function Ign(e,t){var r,o,a,c,f;for(f=za(e.e.Ah(),t),c=0,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&++c;return c}function Rgn(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 wgt(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),wgt(o,t,r)}function eY(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),Van(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 Ogn(e){var t,r;for(r=Lb(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-=Co,t[0]=(e>>10)+TL&Ei,t[1]=(e&1023)+56320&Ei,Mf(t,0,t.length)}function g1e(e,t){var r;r=(e.Bb&Co)!=0,t?e.Bb|=Co: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 tY(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 nY(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 Lgn(e,t,r){var o;o=r,!o&&(o=Rfe(new sS,0)),o.Tg(X2t,2),k1t(e.b,t,o.dh(1)),Dxn(e,t,o.dh(1)),DNn(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(),Io)}function Ao(e,t){var r;return gs(e)&&gs(t)&&(r=e+t,SL<r&&r<nm)?r:p1(Jhn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function wo(e,t){var r;return gs(e)&&gs(t)&&(r=e*t,SL<r&&r<nm)?r:p1(Exn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function El(e,t){var r;return gs(e)&&gs(t)&&(r=e-t,SL<r&&r<nm)?r:p1(Vht(gs(e)?vl(e):e,gs(t)?vl(t):t))}function qj(e){var t;switch(e.gc()){case 0:return oP(),$Q;case 1:return new _V(kn(e.Xb(0)));default:return t=e,new DW(t)}}function Dgn(e){switch(l(F(e,(Be(),kp)),225).g){case 1:return new iUe;case 3:return new cUe;default:return new rUe}}function Mgn(e){var t;return t=vy(e),t>34028234663852886e22?Kr:t<-34028234663852886e22?Di:t}function Df(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 rY(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 ygt(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 Pgn(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 jgn(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 Fgn(e){return qK(),Dt(),!!(Tgt(l(e.a,84).j,l(e.b,87))||l(e.a,84).d.e!=0&&Tgt(l(e.a,84).j,l(e.b,87)))}function iY(){Mbe();var e,t,r;r=q3n+++Date.now(),e=go(b.Math.floor(r*_L))&oF,t=go(r-e*dwe),this.a=e^1502,this.b=t^_X}function vgt(e,t,r,o,a){srt(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),avt(e,t)}function $gn(e,t,r){var o;r.Tg("Straight Line Edge Routing",1),r.bh(t,gve),o=l(ve(t,(aE(),l2)),19),Evt(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 Bgn(e){var t,r;for(r=hEn(mc(ny(e))).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return Bln((ett(),tDt),t);return null}function oY(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 Egt(e){var t,r,o,a;for(t=new wit(e.Pd().gc()),a=0,o=BS(e.Pd().Jc());o.Ob();)r=o.Pb(),kan(t,r,Re(a++));return myn(t.a)}function Ugn(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 Ds(t)}function Hgn(e,t,r){var o;try{mpn(e,t,r)}catch(a){throw a=ci(a),ae(a,602)?(o=a,Y(new lpe(o))):Y(a)}return t}function Sgt(e,t){var r,o;for(r=An(e,0);r.b!=r.d.c;){if(o=rO(le(Sn(r))),o==t)return;if(o>t){ect(r);break}}yP(r,t)}function zgn(e,t){var r,o,a;o=lE(t),a=ue(le(by(o,(Be(),od)))),r=b.Math.max(0,a/2-.5),bC(t,r,1),Fe(e,new vtt(t,r))}function st(e,t){var r,o,a,c,f;if(r=t.f,Jb(e.c.d,r,t),t.g!=null)for(a=t.g,c=0,f=a.length;c<f;++c)o=a[c],Jb(e.c.e,o,t)}function Ggn(e,t,r,o){var a,c,f;for(a=t+1;a<r;++a)for(c=a;c>t&&o.Le(e[c-1],e[c])>0;--c)f=e[c],ii(e,c,e[c-1]),ii(e,c-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 qgn(e,t){var r;if(r=iL(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 Vgn(e,t){return e.h==EL&&e.m==0&&e.l==0?(t&&(O1=Ua(0,0,0)),Pnt((m_(),YEe))):(t&&(O1=Ua(e.l,e.m,e.h)),Ua(0,0,0))}function Wgn(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 Tgt(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 Kgn(e){return e.e==null?e:(!e.c&&(e.c=new bJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function Ygn(e){return e.k!=(zt(),Xr)?!1:fE(new Et(null,new Zw(new $t(qt(Or(e).a.Jc(),new L)))),new PBe)}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 Jgn(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 Xgn(e,t){var r,o,a;for(o=CTn(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 c,f,p;for(f=a;t.b!=t.c;)c=l(CS(t),9),p=l(ks(c,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(Ri,Rt,1,this.a.a.length,5,1)}function E1e(e){cY(),this.c=Wl(Z(X(lCn,1),Rt,837,0,[MIt])),this.b=new hn,this.a=e,Jn(this.b,TB,1),Da(PIt,new mXe(this))}function ic(){ic=K,gD=new bO(_d,0),DI=new bO("FIRST",1),xp=new bO(hSt,2),MI=new bO("LAST",3),gm=new bO(pSt,4)}function lC(){lC=K,kI=new l8("LAYER_SWEEP",0),HSe=new l8("MEDIAN_LAYER_SWEEP",1),aD=new l8(UX,2),zSe=new l8(_d,3)}function Wj(){Wj=K,Pxe=new Jq("ASPECT_RATIO_DRIVEN",0),Ine=new Jq("MAX_SCALE_DRIVEN",1),Mxe=new Jq("AREA_DRIVEN",2)}function Kj(){Kj=K,Cre=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,Tre=new v8(qC,0),GD=new v8("POLYLINE",1),Ek=new v8("ORTHOGONAL",2),WT=new v8("SPLINES",3)}function S1e(){S1e=K,u6t=new cr(Kve),Mke=(zP(),Vne),a6t=new pt(Yve,Mke),s6t=new pt(Jve,50),o6t=new pt(Xve,(Dt(),!0))}function Zgn(e){var t,r,o,a,c;return c=Pbe(e),r=aO(e.c),o=!r,o&&(a=new Eb,Kl(c,"knownLayouters",a),t=new WXe(a),lo(e.c,t)),c}function T1e(e,t){var r,o,a,c,f,p;for(o=0,r=0,c=t,f=0,p=c.length;f<p;++f)a=c[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 sY(e,t,r){var o,a;for(o=0,a=e.length;o<a;o++)if(PK((Yt(o,e.length),e.charCodeAt(o)),t,r))return!0;return!1}function Qgn(e){var t;return e==null?!0:(t=e.length,t>0&&(Yt(t-1,e.length),e.charCodeAt(t-1)==58)&&!sY(e,O4,L4))}function _1e(e,t){var r;return me(e)===me(t)?!0:ae(t,92)?(r=l(t,92),e.e==r.e&&e.d==r.d&&zln(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 e1n(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 Agt(e,t){JA();var r,o,a,c;for(o=hdt(e),a=t,g_(o,0,o.length,a),r=0;r<o.length;r++)c=Mmn(e,o[r],r),r!=c&&uC(e,r,c)}function x1e(e){var t,r,o;for(o=ue(le(e.a.mf((_n(),oU)))),r=new V(e.a.Qf());r.a<r.c.c.length;)t=l(q(r),692),xEt(e,t,o)}function t1n(e){var t,r,o,a;for(t=(e.j==null&&(e.j=(l_(),a=HQ.ke(e),v0n(a))),e.j),r=0,o=t.length;r<o;++r);}function aY(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)),jW(l(r.a,197),l(r.b,84))}function n1n(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 r1n(e,t,r){var o;r.Tg(aTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),Eyt(e,o)),r.Ug()}function i1n(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 _gt(e,t){var r,o,a,c;t&&(a=fp(t,"x"),r=new $Xe(e),E0(r.a,(Mt(a),a)),c=fp(t,"y"),o=new BXe(e),S0(o.a,(Mt(c),c)))}function xgt(e,t){var r,o,a,c;t&&(a=fp(t,"x"),r=new HXe(e),y0(r.a,(Mt(a),a)),c=fp(t,"y"),o=new zXe(e),v0(o.a,(Mt(c),c)))}function kgt(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 o1n(e,t){var r,o,a,c;for(a=new La(t.gc()),o=t.Jc();o.Ob();)r=o.Pb(),c=AJ(e,l(r,57)),c&&Ot(a.c,c);return a}function gy(e,t,r){var o,a;for(a=e.Jc();a.Ob();)if(o=a.Pb(),me(t)===me(o)||t!=null&&pr(t,o))return r&&a.Qb(),!0;return!1}function s1n(e,t,r,o){var a,c;if(c=r-t,c<3)for(;c<3;)e*=10,++c;else{for(a=1;c>3;)a*=10,--c;e=(e+(a>>1))/a|0}return o.i=e,!0}function a1n(e){var t,r,o;return e.e==0?0:(t=e.d<<5,r=e.a[e.d-1],e.e<0&&(o=Aht(e),o==e.d-1&&(--r,r=r|0)),t-=Q6(r),t)}function u1n(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 Ngt(e){var t,r,o;return r=e.ih(),r?(t=e.Bh(),ae(t,176)&&(o=Ngt(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),QSn(e),t=GSn(e),ei(new Et(null,new St(e.d,16)),new bYe(e)),t}function c1n(e,t){t.Tg("End label post-processing",1),ei(lr(bs(new Et(null,new St(e.b,16)),new aFe),new uFe),new cFe),t.Ug()}function oc(e){var t,r;return ae(e,312)?(r=hdn(l(e,312)),t=r,t):ae(e,437)?l(e,437).a:ae(e,59)?new lQe(e):new dle(e)}function l1n(e){var t=e.e;function r(o){return!o||o.length==0?"":" "+o.join(`
`)}return t&&(t.stack||r(e[tX]))}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 d1n(e){switch(e.g){case 0:return new kze;case 1:return new Nze;default:throw Y(new jt(PZ+(e.f!=null?e.f:""+e.g)))}}function Cgt(e){switch(e.g){case 0:return new xze;case 1:return new Cze;default:throw Y(new jt(FX+(e.f!=null?e.f:""+e.g)))}}function f1n(e){switch(e.g){case 1:return new yze;case 2:return new ait;default:throw Y(new jt(PZ+(e.f!=null?e.f:""+e.g)))}}function Igt(e){switch(e.g){case 0:return new Hce;case 1:return new BZe;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(),Io}}function Rgt(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=Tyn(o),Lsn(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 h1n(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 uY(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=iwt(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 p1n(e){var t,r,o,a,c;for(r=l(e.g,686),o=e.i-1;o>=0;--o)for(t=r[o],a=0;a<o;++a)if(c=r[a],Qyt(e,t,c)){ZS(e,o);break}}function F6(e,t){var r,o,a,c;for(c=za(e.e.Ah(),t),r=l(e.g,123),a=0;a<e.i;++a)if(o=r[a],c.$l(o.Jk()))return!1;return!0}function Ogt(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 g1n(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]=Ln(o),o=u0(o,32);return Ln(o)}function Xj(e,t){ude();var r,o;return r=jO((D9(),D9(),bI)),o=null,t==r&&(o=l(wa(WEe,e),622)),o||(o=new Pst(e),t==r&&ns(WEe,e,o)),o}function Lgt(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 b1n(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(),FD)):Te(e.a,(Be(),Kf),(mh(),jD))}function m1n(e){var t,r,o,a;for(o=Yyn(e),xi(o,iNt),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 cY(){cY=K,W9(),TB=(Be(),vm),PIt=Wl(Z(X(sre,1),tve,149,0,[vD,od,o2,ym,ev,xte,ok,sk,kte,GI,Qy,$1,tv]))}function w1n(e,t){var r;return r=l(Au(e,ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r.Oc(Rot(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 Mgt(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,c;return e.Nj()?(o=e.i,c=e.Oj(),L6(e,o,t),a=e.Gj(3,null,t,o,c),r?r.lj(a):r=a):L6(e,e.i,t),r}function y1n(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 v1n(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 Pgt(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=Ln(e),t=Ln(Rb(e,32)),t!=0?new act(r,t):r>10||r<0?new ap(1,r):nxt[r]}function jgt(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 Fgt(e,t,r){Nft(),$Ze.call(this),this.a=Yw(_xt,[Pe,wwe],[599,219],0,[b$,tee],2),this.c=new wS,this.g=e,this.f=t,this.d=r}function $gt(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 E1n(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 Bgt(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 S1n(e,t){t.Tg("Min Size Postprocessing",1),Vn(e,(yh(),iv),b.Math.max(ue(le(ve(e,iv))),ue(le(ve(e,u4))))),t.Ug()}function Ugt(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 lY(){lY=K,Bre=new dqe,R3e=new fqe,O3e=new hqe,L3e=new pqe,D3e=new gqe,M3e=new bqe,P3e=new mqe,j3e=new wqe,F3e=new yqe}function L1e(){L1e=K,XNe=new xb(15),ELt=new Mi((_n(),df),XNe),TLt=new Mi(Od,15),SLt=new Mi(Ere,Re(0)),vLt=new Mi(gk,bx)}function Zj(){Zj=K,s4=new Yq("P1_WIDTH_APPROXIMATION",0),GB=new Yq("P2_PACKING",1),Tne=new Yq("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 Hgt(e,t,r){var o,a,c,f;for(c=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+c,o.t+f);e.e=t,e.f=r}function T1n(e,t){var r,o,a,c;for(c=t.b.b,e.a=new Ar,e.b=we(Rn,Qn,30,c,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;Xkn(t),r=l(F(e,(Be(),hB)),286),r&&Te(e,hB,Smn(r)),ng(e.c),ng(e.f),Tpe(e.d),Tpe(l(F(e,wB),216))}function dY(e,t){var r;return gs(e)&&gs(t)&&(r=e%t,SL<r&&r<nm)?r:p1((j0e(gs(e)?vl(e):e,gs(t)?vl(t):t,!0),O1))}function D1e(e,t,r){var o,a,c,f,p;return f=e.k,p=t.k,o=r[f.g][p.g],a=le(by(e,o)),c=le(by(t,o)),b.Math.max((Mt(a),a),(Mt(c),c))}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 zgt(e,t){var r,o,a,c;return r=t>>5,t&=31,a=e.d+r+(t==0?0:1),o=we(Rn,Qn,30,a,15,1),Swn(o,e.a,r,t),c=new Ob(e.e,a,o),F3(c),c}function $_(e,t,r){var o,a,c;for(a=null,c=e.b;c;){if(o=e.a.Le(t,c.d),r&&o==0)return c;o>=0?c=c.a[1]:(a=c,c=c.a[0])}return a}function B6(e,t,r){var o,a,c;for(a=null,c=e.b;c;){if(o=e.a.Le(t,c.d),r&&o==0)return c;o<=0?c=c.a[0]:(a=c,c=c.a[1])}return a}function Ggt(e,t,r){var o,a,c,f;for(a=l(Ht(e.b,r),172),o=0,f=new V(t.j);f.a<f.c.c.length;)c=l(q(f),114),a[c.d.p]&&++o;return o}function A1n(e,t,r,o){var a,c,f;return a=!1,wkn(e.f,r,o)&&(Y1n(e.f,e.a[t][r],e.a[t][o]),c=e.a[t],f=c[o],c[o]=c[r],c[r]=f,a=!0),a}function _1n(e,t){var r,o,a;for(o=new $t(qt(Or(e).a.Jc(),new L));an(o);)if(r=l(en(o),17),a=r.d.i,a.c==t)return!1;return!0}function x1n(e){var t;t=e.a;do t=l(en(new $t(qt(Or(t).a.Jc(),new L))),17).d.i,t.k==(zt(),gi)&&Fe(e.e,t);while(t.k==(zt(),gi))}function fY(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&&VKe(l(ze(e.a,e.b),296))):--t.b,--e.c)}function qgt(e){var t,r,o,a,c;if(e==null)return null;for(c=new je,r=GK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(c,Ta(t,!0));return c}function Vgt(e){var t,r,o,a,c;if(e==null)return null;for(c=new je,r=GK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(c,Ta(t,!0));return c}function Wgt(e){var t,r,o,a,c;if(e==null)return null;for(c=new je,r=GK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(c,Ta(t,!0));return c}function Kgt(e){var t,r;return t=l(Vt(e.a,4),131),t!=null?(r=we(Pre,yQ,420,t.length,0,1),ua(t,0,r,0,t.length),r):VLt}function hY(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,c,f;for(c=t+r,io(t,c,e.length),f="",a=t;a<c;)o=b.Math.min(a+1e4,c),f+=fan(e.slice(a,o)),a=o;return f}function k1n(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function sc(){sc=K,XD=new S8("PORTS",0),xm=new S8("PORT_LABELS",1),JD=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),Bte=new f8("PREFER_EDGES",2),Ute=new f8("PREFER_NODES",3)}function N1n(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 Ygt(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,c){this.a=e,this.c=t,this.b=r,this.f=o,this.d=a,this.e=c,this.c>0&&this.b>0&&(this.g=sP(this.c,this.b,this.a))}function C1n(e,t){var r=e.a,o;t=String(t),r.hasOwnProperty(t)&&(o=r[t]);var a=(MK(),zQ)[typeof o],c=a?a(o):n1e(typeof o);return c}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=_mt(e),t=null;e.c==2;)dr(e),t||(t=(fr(),fr(),new b3(2)),em(t,r),r=t),r.Hm(_mt(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?(qft(e,r),r.kd()):null}function Jgt(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 Xgt(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 I1n(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 Dde(e,e.a,t),e}function Zgt(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),Zgt(o,ec(o)+r)}function Qgt(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),Qgt(o,hu(o)+r)}function $1e(e){return PP(),ae(e,167)?l(Ht(a5,axt),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(Ri,Rt,1,r,5,1))),e}function KS(e,t,r){var o;e.Db&t?r==null?eEn(e,t):(o=DY(e,t),o==-1?e.Eb=r:ii(HS(e.Eb),o,r)):r!=null&&TSn(e,t,r)}function R1n(e,t,r,o){var a,c;t.c.length!=0&&(a=m2n(r,o),c=Svn(t),ei(dj(new Et(null,new St(c,1)),new lHe),new fat(e,r,a,o)))}function O1n(e,t){var r,o,a,c;return o=e.a.length-1,r=t-e.b&o,c=e.c-t&o,a=e.c-e.b&o,Urt(r<a),r>=c?($pn(e,t),-1):(Fpn(e,t),1)}function L1n(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(),$Q;case 1:return t=r[0],new _V(kn(t));default:return new DW(Ugn(r))}}function U1e(e){switch(typeof e){case KJ:return lg(e);case ewe:return mS(e);case uT:return lit(e);default:return e==null?0:s0(e)}}function D1n(e){if(e7(Ix,e))return Dt(),Bx;if(e7(XZ,e))return Dt(),L1;throw Y(new jt("Expecting true or false"))}function M1n(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 e1t(e,t){var r;return me(t)===me(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?($ot(),t=Ln(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),gee=new a8("GROUP_MODEL_ORDER",2),bee=new a8(PX,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>EX)return r.Nh();if(o=r.Gh(),o||r==e)break}return o}function P1n(e){var t;return e.b||ten(e,(t=crn(e.e,e.a),!t||!wt(XZ,Td((!t.b&&(t.b=new Zu((_t(),Oo),zs,t)),t.b),"qualified")))),e.c}function j1n(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 F1n(e,t){CW();var r,o;for(o=new $t(qt(Df(e).a.Jc(),new L));an(o);)if(r=l(en(o),17),r.d.i==t||r.c.i==t)return r;return null}function t1t(e,t,r){var o,a,c;for(c=new V(r.a);c.a<c.c.c.length;)a=l(q(c),227),o=new L8(l(Ht(e.a,a.b),68)),Fe(t.a,o),t1t(e,o,a)}function n1t(e,t,r){var o,a,c;o=t.c.p,c=t.p,e.b[o][c]=new xat(e,t),r&&(e.a[o][c]=new vJe(t),a=l(F(t,(Ie(),tw)),9),a&&yt(e.d,a,t))}function $1n(e,t,r){var o;e.a=r,e.a.Tg(uTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),J0t(e,o)),e.a.Ug()}function r1t(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),or)),o!=null)?o:t.ve()}function B1n(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),or)),o!=null)?o:t.ve()}function U1n(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function H1n(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 z1n(e,t,r){var o,a,c;return o=l(oe(Fu(e.a),t),88),c=(a=o.c,a||(_t(),bf)),(c.Sh()?w1(e.b,l(c,52)):c)==r?z7(o):w_(o,r),c}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 pY(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),jW(this,t)}function i1t(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){$Ze.call(this),this.a=we(_xt,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 G1n(e){var t,r,o,a,c,f;for(f=l(F(e,(Ie(),mr)),12),Te(f,ek,e.i.n.b),t=Lf(e.e),o=t,a=0,c=o.length;a<c;++a)r=o[a],Ji(r,f)}function q1n(e){var t,r,o,a,c,f;for(r=l(F(e,(Ie(),mr)),12),Te(r,ek,e.i.n.b),t=Lf(e.g),a=t,c=0,f=a.length;c<f;++c)o=a[c],bo(o,r)}function V1n(e,t){var r,o,a,c;for(o=0,a=t.gc();o<a;++o)r=t.Rl(o),ae(r,104)&&l(r,20).Bb&Ws&&(c=t.Sl(o),c!=null&&AJ(e,l(c,57)))}function W1n(){var e;return u$!=0&&(e=Date.now(),e-V_t>2e3&&(V_t=e,c$=b.setTimeout(uen,10))),u$++==0?(ffn((Wce(),VEe)),!0):!1}function K1n(e,t,r){var o;(pxt?(e1n(e),!0):gxt||mxt?(GA(),!0):bxt&&(GA(),!1))&&(o=new eot(t),o.b=r,eyn(e,o))}function gY(e,t){var r;r=!e.A.Gc((sc(),xm))||e.q==(qi(),fa),e.u.Gc((xu(),Rp))?r?NNn(e,t):pEt(e,t):e.u.Gc(K1)&&(r?Jkn(e,t):CEt(e,t))}function o1t(e){var t;me(ve(e,(_n(),h2)))===me((pp(),cU))&&(Br(e)?(t=l(ve(Br(e),h2),348),Vn(e,h2,t)):Vn(e,h2,T4))}function Y1n(e,t,r){var o,a;JY(e.e,t,r,(He(),Kt)),JY(e.i,t,r,Qt),e.a&&(a=l(F(t,(Ie(),mr)),12),o=l(F(r,mr),12),PW(e.g,a,o))}function s1t(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 J1n(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 X1n(e,t,r){var o,a,c,f;return c=t.j,f=r.j,c!=f?c.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 a1t(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(le(i7(t,ev)))}function u1t(e){this.d=new je,this.e=new d1,this.c=we(Rn,Qn,30,(He(),Z(X(Ro,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 Z1n(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),vJ(e,t),Lme(e,t,r),null}function c1t(e,t,r){var o,a;a=l(JO(t.f),207);try{a.kf(e,r),whe(t.f,a)}catch(c){throw c=ci(c),ae(c,102)?(o=c,Y(o)):Y(c)}}function l1t(e,t,r){var o,a,c,f,p,m;return o=null,p=B0e(W3(),t),c=null,p&&(a=null,m=F0e(p,r),f=null,m!=null&&(f=e.of(p,m)),a=f,c=a),o=c,o}function bY(e,t,r,o){var a;if(a=e.length,t>=a)return a;for(t=t>0?t:0;t<a&&!PK((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 d1t(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 Q1n(e){var t;if(e==null)return null;if(t=zEn(Ta(e,!0)),t==null)throw Y(new dq("Invalid hexBinary value: '"+e+"'"));return t}function n7(e,t,r){var o;t.a.length>0&&(Fe(e.b,new hot(t.a,r)),o=t.a.length,0<o?t.a=yl(t.a,0,0):0>o&&(t.a+=crt(we(al,Bf,30,-o,15,1))))}function f1t(e,t,r){var o,a,c;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),c=Vj(o,t),f1t(e,c,r)}function h1t(e,t){var r,o,a,c;for(r=0,a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),c=o.o.a+o.d.c+o.d.b+e.j,r=b.Math.max(r,c);return r}function Jb(e,t,r){var o,a,c;return a=l(Ht(e.e,t),395),a?(c=Qde(a,r),grt(e,a),c):(o=new xfe(e,t,r),Jn(e.e,t,o),Kat(o),null)}function ebn(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),vJ(e,t),Lme(e,t,r),null}function mY(){return eF(),Z(X(Zxt,1),Ce,169,0,[Jxt,Yxt,Xxt,Uxt,Bxt,Hxt,qxt,Gxt,zxt,Kxt,Wxt,Vxt,Fxt,jxt,$xt,Mxt,Dxt,Pxt,Oxt,Rxt,Lxt,nee])}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 wY(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 tbn(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 nbn(e,t,r,o){var a,c,f;return a=new cp(e.e,1,13,(f=t.c,f||(_t(),bf)),(c=r.c,c||(_t(),bf)),gg(e,t),!1),o?o.lj(a):o=a,o}function rbn(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 Qit(e,t,o)}function p1t(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 jBe))).zd((_b(),TT))}function ibn(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 g1t(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 L)),an(r)&&Jn(e.k,t,l(en(r),17)))}function obn(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 sbn(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 abn(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 ubn(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),WD=new AO("JUSTIFIED",1),KNe=new AO("BEGIN",2),A4=new AO(px,3),YNe=new AO("END",4)}function yY(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):sJ(e,o)):r<0?sJ(e,o):l(o,69).uk().zk(e,e.ei(),r)}function b1t(e){var t,r,o;for(o=(!e.o&&(e.o=new pu((Qs(),Lh),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(fTt+e.b+"'. "+dTt+(np(u5),u5.k)+eEe));return t}else return e.a}function cbn(e){var t;if(e==null)return null;if(t=PNn(Ta(e,!0)),t==null)throw Y(new dq("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 vY(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 lbn(e,t){var r;return r=l(F(e,(Be(),ss)),79),gV(t,Zkt)?r?tc(r):(r=new Du,Te(e,ss,r)):r&&Te(e,ss,null),r}function dbn(e,t){var r,o,a;for(a=new La(t.gc()),o=t.Jc();o.Ob();)r=l(o.Pb(),295),r.c==r.f?K_(e,r,r.c):Cyn(e,r)||Ot(a.c,r);return a}function m1t(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=pmn(o,r.a),o.e.b=r.b*ue(le(o.b.mf(m$)))}function fbn(e,t){var r,o,a,c;return a=e.k,r=ue(le(F(e,(Ie(),nw)))),c=t.k,o=ue(le(F(t,nw))),c!=(zt(),mi)?-1:a!=mi?1:r==o?0:r<o?-1:1}function hbn(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),zvn(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=Di}}function pbn(e){var t;AS(l(F(e,(Be(),Zr)),103))&&(t=e.b,g0t((at(0,t.c.length),l(t.c[0],26))),g0t(l(ze(t,t.c.length-1),26)))}function gbn(e,t){t.Tg("Self-Loop post-processing",1),ei(lr(lr(bs(new Et(null,new St(e.b,16)),new M$e),new P$e),new j$e),new F$e),t.Ug()}function w1t(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),w1t(o,t,r)}function bbn(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=Zyn(t).a;At(),xi(e.p,new CUe)}function mbn(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 y1t(e,t){At();var r,o,a,c;for(r=e,c=t,ae(e,24)&&!ae(t,24)&&(r=t,c=e),a=r.Jc();a.Ob();)if(o=a.Pb(),c.Gc(o))return!1;return!0}function wbn(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 v1t(e){var t;return t=new Zg,t.a+="n",e.k!=(zt(),Xr)&&zn(zn((t.a+="(",t),vV(e.k).toLowerCase()),")"),zn((t.a+="_",t),z6(e)),t.a}function hC(){hC=K,o_e=new mO(nve,0),Fte=new mO(UX,1),$te=new mO("LINEAR_SEGMENTS",2),VI=new mO("BRANDES_KOEPF",3),WI=new mO(ISt,4)}function JS(){JS=K,DB=new p8("P1_TREEIFICATION",0),e4=new p8("P2_NODE_ORDERING",1),t4=new p8("P3_NODE_PLACEMENT",2),n4=new p8(FSt,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(),Lh),Rg,e,0)),Qj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Lh),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 E1t(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 ybn(e){var t;t=e.a;do t=l(en(new $t(qt(si(t).a.Jc(),new L))),17).c.i,t.k==(zt(),gi)&&e.b.Ec(t);while(t.k==(zt(),gi));e.b=oc(e.b)}function S1t(e,t){var r,o,a;for(a=e,o=new $t(qt(si(t).a.Jc(),new L));an(o);)r=l(en(o),17),r.c.i.c&&(a=b.Math.max(a,r.c.i.c.p));return a}function vbn(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 Ebn(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 T1t(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+=T1t(t);return o}function A1t(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 Sbn(e,t,r){var o,a,c,f;return o=e.bd(t),o!=-1&&(e.Nj()?(c=e.Oj(),f=rP(e,o),a=e.Gj(4,f,null,o,c),r?r.lj(a):r=a):rP(e,o)),r}function _o(e,t,r){var o,a,c,f;return o=e.bd(t),o!=-1&&(e.Nj()?(c=e.Oj(),f=ZS(e,o),a=e.Gj(4,f,null,o,c),r?r.lj(a):r=a):ZS(e,o)),r}function Tbn(e,t,r,o){var a,c,f;r.Uh(t)&&(Mo(),cK(t)?(a=l(r.Jh(t),164),V1n(e,a)):(c=(f=t,f?l(o,52).di(f):null),c&&YZt(r.Jh(t),c)))}function s7(e,t,r,o){var a,c,f;return c=Nt(e.Ah(),t),a=t-e.gi(),a<0?(f=e.Fh(c),f>=0?e.Ih(f,r,!0):O0(e,c,r)):l(c,69).uk().wk(e,e.ei(),a,r,o)}function Abn(e,t,r,o){var a,c;c=t.nf((_n(),g2))?l(t.mf(g2),24):e.j,a=bgn(c),a!=(eF(),nee)&&(r&&!j1e(a)||Ybe(GEn(e,a,o),t))}function EY(e,t){return zi(e)?!!$_t[t]:e.Qm?!!e.Qm[t]:Uw(e)?!!F_t[t]:Bw(e)?!!j_t[t]:!1}function _bn(e){switch(e.g){case 1:return A0(),eD;case 3:return A0(),QL;case 2:return A0(),iee;case 4:return A0(),ree;default:return null}}function xbn(e,t,r){if(e.e)switch(e.b){case 1:jan(e.c,t,r);break;case 0:Fan(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 _1t(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(Gln(e[t],e[t].length),201);return r}function x1t(e){var t;t=l(F(e,(js(),txe)),100),Te(e,(Nr(),ck),new Me(0,0)),Ryt(new i6,e,t.b-ue(le(F(e,nne))),t.d-ue(le(F(e,rne))))}function a7(e){var t;if(HK(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 k1t(e,t,r){r.Tg("Compound graph preprocessor",1),e.a=new b0,lEt(e,t,null),uxn(e,t),R2n(e),Te(t,(Ie(),mTe),e.a),e.a=null,Zs(e.b),r.Ug()}function N1t(e,t,r){var o,a,c;for(a=new $t(qt((t?si(e):Or(e)).a.Jc(),new L));an(a);)o=l(en(a),17),c=t?o.c.i:o.d.i,c.k==(zt(),ta)&&Oi(c,r)}function kbn(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 C1t(e,t,r){var o,a,c;return o=t.i.j.c.length,gr(t,(Ie(),Cr))&&gr(r,Cr)?(a=L0(t,r,e.b,o),c=L0(r,t,e.b,o),a<c?-1:a>c?1:0):0}function wy(){wy=K,xB=new d8(_d,0),Pte=new d8("PORT_POSITION",1),a2=new d8("NODE_SIZE_WHERE_SPACE_PERMITS",2),s2=new d8("NODE_SIZE",3)}function mh(){mh=K,are=new s3("AUTOMATIC",0),jD=new s3(hT,1),FD=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(GL));return e.Vi(t,r)}function gg(e,t){var r,o,a;if(a=abt(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)),me(r)===me(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==(oq(),MQ)||t==(sq(),PQ))throw Y(new jt("Invalid range: "+Lct(e,t)))}function W1e(e,t,r,o){Q_();var a,c;for(a=0,c=0;c<r;c++)a=Ao(wo(Gi(t[c],$o),Gi(o,$o)),Gi(Ln(a),$o)),e[c]=Ln(a),a=Rb(a,32);return Ln(a)}function K1e(e,t,r){var o,a;for(a=0,o=0;o<tee;o++)a=b.Math.max(a,WK(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 Nbn(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(epn(e,t-e.s,r-e.t),a=new V(e.n);a.a<a.c.c.length;)o=l(q(a),211),NZt(o,o.e+t-e.s),CZt(o,o.f+r-e.t);e.s=t,e.t=r}function Cbn(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,c;for(a=t;a<e.c.length;a++)if(c=(at(a,e.c.length),l(e.c[a],12)),r.Mb(c))Ot(o.c,c);else return a;return e.c.length}function Ibn(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 Rbn(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 SY(e){switch(e.g){case 0:return null;case 1:return new mht;case 2:return new zce;default:throw Y(new jt(PZ+(e.f!=null?e.f:""+e.g)))}}function I1t(e){var t;return t=ue(le(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(le(ve(e,mk))))}function TY(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 AY(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 Po(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(),U2n(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,s2t),e=sht(16),this.b=we(jQ,yL,309,e,0,1),this.c=we(jQ,yL,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 La(6)),this.b=(wc(2,Iy),new La(2)),this.d=new eq,this.f=new jce,this.a=e}function Obn(e){var t,r,o,a,c;for(r=0,a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),126),o.d=r++;return t=jwn(e),c=null,t.c.length>1&&(c=Nbn(e,t)),c}function Lbn(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 L)));return t/e.c.a.c.length}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 xY(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 R1t(e,t,r,o){var a,c,f;for(a=l(wr(o?e.a:e.b,t),24),f=a.Jc();f.Ob();)if(c=l(f.Pb(),19),$7(e,r,c))return!0;return!1}function Dbn(e,t){for(var r,o;e.Ob();)if(!t.Ob()||(r=e.Pb(),o=t.Pb(),!(me(r)===me(o)||r!=null&&pr(r,o))))return!1;return!t.Ob()}function Mbn(e){var t,r;e.c.length<=1||(t=qwt(e,(He(),dn)),Nmt(e,l(t.a,15).a,l(t.b,15).a),r=qwt(e,Kt),Nmt(e,l(r.a,15).a,l(r.b,15).a))}function Pbn(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 O1t(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:O1t(e,a)}function kY(){kY=K,Nke=(mJ(),Ake),kke=new xb(8),new Mi((_n(),df),kke),new Mi(Od,8),QOt=Ske,_ke=qOt,xke=VOt,ZOt=new Mi(BD,(Dt(),!1))}function jbn(e,t,r){var o;r.Tg("Shrinking tree compaction",1),Ye(Ke(F(t,(S_(),EI))))?(nhn(e,t.f),Vdt(t.f,(o=t.c,o))):Vdt(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 NY(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 CY(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 L1t(e,t){var r;return r=Z(X(Ki,1),Jo,30,15,[WK(e.a[0],t),WK(e.a[1],t),WK(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 mJe(e)))}function M1t(e){var t,r;for(e.c||Hxn(e),r=new Du,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 Fbn(e,t,r){var o,a,c,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;)c=l(q(f),211),MEn(c,p,o,a),++a}function $bn(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 Bbn(e){var t,r,o;for(e.b.a.$b(),e.a=we(dee,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 Ubn(e){var t,r,o,a,c;for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),t=0,c=new V(r.a);c.a<c.c.c.length;)a=l(q(c),9),a.p=t++}function Hbn(e,t,r){var o,a,c,f;for(f=0,o=r/e.a.c.length,c=new V(e.a);c.a<c.c.c.length;)a=l(q(c),175),U6(a,a.s,a.t+f*o),Fbn(a,e.d-a.r+t,o),++f}function P1t(e){var t;if(t=qpn(e),!an(e))throw Y(new Ia("position (0) must be less than the number of elements that remained ("+t+")"));return en(e)}function zbn(e,t){var r;return e.a||(r=we(Ki,Jo,30,0,15,1),Wv(e.b.a,new nYe(r)),hZe(r,Ift(Oe.prototype.Ke,Oe,[])),e.a=new Uit(r,e.d)),QP(e.a,t)}function j1t(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 Gbn(e,t,r){t.k==(zt(),Xr)&&r.k==gi&&(e.d=XK(t,(He(),dn)),e.b=XK(t,Wt)),r.k==Xr&&t.k==gi&&(e.d=XK(r,(He(),Wt)),e.b=XK(r,dn))}function IY(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 qbn(e,t,r){r.Tg("Linear segments node placement",1),e.b=l(F(t,(Ie(),t2)),317),y3n(e,t),G_n(e,t),dxn(e,t),YNn(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 Vbn(e,t){var r,o,a,c,f,p;for(a=t.length-1,f=0,p=0,o=0;o<=a;o++)c=t[o],r=oyn(a,o)*Qge(1-e,a-o)*Qge(e,o),f+=c.a*r,p+=c.b*r;return new Me(f,p)}function F1t(e,t){var r,o,a,c,f;for(r=t.gc(),e.Zi(e.i+r),c=t.Jc(),f=e.i,e.i+=r,o=f;o<e.i;++o)a=c.Pb(),w3(e,o,e.Xi(o,a)),e.Ki(o,a),e.Li();return r!=0}function Wbn(e,t,r){var o,a,c;return e.Nj()?(o=e.Cj(),c=e.Oj(),++e.j,e.oj(o,e.Xi(o,t)),a=e.Gj(3,null,t,o,c),r?r.lj(a):r=a):hit(e,e.Cj(),t),r}function Kbn(e,t,r){var o,a,c;return o=l(oe(oa(e.a),t),88),c=(a=o.c,ae(a,89)?l(a,29):(_t(),Ml)),(c.Db&64?w1(e.b,c):c)==r?z7(o):w_(o,r),c}function Ybn(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 Jbn(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,c,f,p){var m,y;o&&(m=o.a[0],m&&Q1e(e,t,r,m,a,c,f,p),FY(e,r,o.d,a,c,f,p)&&t.Ec(o),y=o.a[1],y&&Q1e(e,t,r,y,a,c,f,p))}function pC(e,t){var r,o,a,c;for(c=e.gc(),t.length<c&&(t=$9(new Array(c),t)),a=t,o=e.Jc(),r=0;r<c;++r)ii(a,r,o.Pb());return t.length>c&&ii(t,c,null),t}function Xbn(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 RY(e,t){var r,o,a;return r=t.jd(),a=t.kd(),o=e.xc(r),!(!(me(a)===me(o)||a!=null&&pr(a,o))||o==null&&!e._b(r))}function Zbn(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 Qbn(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 emn(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,Ene=new b8(_d,0),Nxe=new b8(mSt,1),Cxe=new b8("EDGE_LENGTH_BY_POSITION",2),kxe=new b8("CROSSING_MINIMIZATION_BY_POSITION",3)}function OY(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 $1t(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 tmn(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 nmn(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 rmn(e,t,r){r.Tg("Self-Loop ordering",1),ei(Oa(lr(lr(bs(new Et(null,new St(t.b,16)),new I$e),new R$e),new O$e),new L$e),new zYe(e)),r.Ug()}function LY(e,t,r,o,a,c){var f,p,m,y,v;for(f=s0n(t,r,c),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 imn(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!0;return!1}function B1t(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]=h1t(e,r),e.d[t]=mwt(e,r)}function U1t(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(le(F(o,ixe))),qEt(this)}function omn(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(),PD)),15).a,l(ve(r,PD),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 H1t(e,t){var r,o,a,c,f;for(f=za(e.e.Ah(),t),c=null,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&(!c&&(c=new m9),Tn(c,o));c&&IEt(e,c)}function z1t(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 aV(o,o.a.length-1)}function G1t(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,Da(o,new hYe(e)),e.c.bf(e),jwt(e)}function q1t(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);T0t(t)}}function V1t(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,c;for(o=0,c=0,a=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),c=b.Math.max(c,t.r),o+=t.d+(a>0?e.c:0),++a;e.b=o,e.d=c}function W1t(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 K1t(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 Y1t(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 MY(e,t,r,o){var a,c,f,p;return e.a==null&&iyn(e,t),f=t.b.j.c.length,c=r.d.p,p=o.d.p,a=p-1,a<0&&(a=f-1),c<=a?e.a[a]-e.a[c]:e.a[f-1]-e.a[c]+e.a[a]}function smn(e){var t;for(t=0;t<e.a.c.length;t++)if(gr(l(ze(e.a,t),9),(Be(),Ste))&&!Ye(Ke(F(l(ze(e.a,t),9),Ste))))return!1;return!0}function amn(e,t,r){var o,a,c,f,p;for(c=e.c,p=r?t:e,o=r?e:t,a=p.p+1;a<o.p;++a)if(f=l(ze(c.a,a),9),!(f.k==(zt(),af)||Vmn(f)))return!1;return!0}function umn(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 cq(t));return e.b}function cmn(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 EXe(t));return e.e}function J1t(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=Hkn(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 lmn(e){switch(e.q.g){case 5:Tbt(e,(He(),Wt)),Tbt(e,dn);break;case 4:Uvt(e,(He(),Wt)),Uvt(e,dn);break;default:Dmt(e,(He(),Wt)),Dmt(e,dn)}}function dmn(e){switch(e.q.g){case 5:Abt(e,(He(),Qt)),Abt(e,Kt);break;case 4:Hvt(e,(He(),Qt)),Hvt(e,Kt);break;default:Mmt(e,(He(),Qt)),Mmt(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 X1t(e,t){var r,o;if(t.length==0)return 0;for(r=dW(e.a,t[0],(He(),Kt)),r+=dW(e.a,t[t.length-1],Qt),o=0;o<t.length;o++)r+=Wwn(e,o,t);return r}function Z1t(){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 PY(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,5,Ld,t):(o=Po(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 fmn(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 hmn(e){var t;return t=(rht(),X_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 Q1t(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),cht(e,t,o),e.a=t,e.b=0):Mw(e.a,r),e.c=o)}function pmn(e,t){var r;return r=e.b,r.nf((_n(),zu))?r.$f()==(He(),Kt)?-r.Kf().a-ue(le(r.mf(zu))):t+ue(le(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=yW(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=yW(e),t??""+(e.i?_s(e.i.j,e,0):-1))}function gmn(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 No(Re(r),o);return null}function tbe(e){var t,r,o,a,c;for(c=0,a=Di,o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),c+=t.r+(o>0?e.c:0),a=b.Math.max(a,t.d),++o;e.e=c,e.b=a}function bmn(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 cq(t));return e.b}function mmn(e,t){var r,o,a;if(t.dc())return JA(),JA(),c5;for(r=new git(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(),Lh),Rg,e,0)),e.o):(!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),s6(e.o)):s7(e,t,r,o)}function jY(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,c,f,p,m,y,v,T,N,O){return Bmt(e,t,o,null,a,c,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 wmn(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 ymn(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 vmn(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 FY(e,t,r,o,a,c,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,c),p>0||!f&&p==0))}function Emn(e,t){N_();var r;if(r=e.j.g-t.j.g,r!=0)return 0;switch(e.j.g){case 2:return oY(t,FSe)-oY(e,FSe);case 4:return oY(e,jSe)-oY(t,jSe)}return 0}function Smn(e){switch(e.g){case 0:return zee;case 1:return Gee;case 2:return qee;case 3:return Vee;case 4:return Y$;case 5:return Wee;default:return null}}function os(e,t,r){var o,a;return o=(a=new rq,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 oV(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 ebt(e,t){var r,o;return e.Db>>16==17?e.Cb.Qh(e,21,Ol,t):(o=Po(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 Tmn(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 Amn(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 _mn(e){var t,r,o,a,c;for(a=sr,c=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,c=r));return c}function rbe(){rbe=K,Ckt=new pt(kwe,(Dt(),!1)),xkt=new pt(Nwe,100),M2e=(G3(),cee),kkt=new pt(Cwe,M2e),Nkt=new pt(Iwe,Hf),Ikt=new pt(Rwe,Re(sr))}function tbt(e,t){var r,o,a;for(o=new $t(qt(Df(e).a.Jc(),new L));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 nbt(e,t,r){var o,a,c,f,p,m,y,v;for(y=0,a=e.a[t],c=0,f=a.length;c<f;++c)for(o=a[c],v=oC(o,r),m=v.Jc();m.Ob();)p=l(m.Pb(),12),Jn(e.f,p,Re(y++))}function rbt(e,t,r){var o,a,c,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();)c=l(f.Pb(),15),yt(e,t,nT(ay(r,c.a)))}function ibt(e,t,r){var o,a,c,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();)c=l(f.Pb(),15),yt(e,t,nT(ay(r,c.a)))}function ibe(e){S1();var t;return t=l(pC(kS(e.k),we(Ro,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 obt(e,t,r){var o,a,c;return a=rSn(e,t,r),c=Xme(e,a),nK(e.b),PW(e,t,r),At(),xi(a,new kJe(e)),o=Xme(e,a),nK(e.b),PW(e,r,t),new No(Re(c),Re(o))}function sbt(){sbt=K,S4t=$n(new ui,(Vi(),Ho),(Zi(),_I)),OB=new Pr("linearSegments.inputPrio",Re(0)),LB=new Pr("linearSegments.outputPrio",Re(0))}function xmn(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 kmn(e,t){var r,o,a,c;for(c=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),c+=b.Math.pow(r.g*r.f-t,2);return a=b.Math.sqrt(c/(e.c.length-1)),a}function vc(){vc=K,VD=new E8("UNKNOWN",0),Ih=new E8("ABOVE",1),q1=new E8("BELOW",2),qD=new E8("INLINE",3),new Pr("org.eclipse.elk.labelSide",VD)}function Nmn(e,t){if(ae(t,273))return Ann(e,l(t,74));if(ae(t,278))return l(t,278);throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t])))))}function abt(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(me(e.g[r])===me(t))return r;return-1}function Cmn(e,t,r){var o,a;return t.c==(jo(),Ba)&&r.c==Cu?-1:t.c==Cu&&r.c==Ba?1:(o=qpt(t.a,e.a),a=qpt(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 ubt(e,t){this.c=new hn,this.a=e,this.b=t,this.d=l(F(e,(Ie(),t2)),317),me(F(e,(Be(),LAe)))===me((l6(),J$))?this.e=new LZe:this.e=new OZe}function $Y(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 Imn(e,t){var r,o,a;if(o=new q9,a=new Lge(o.q.getFullYear()-k1,o.q.getMonth(),o.q.getDate()),r=N_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,(Dt(),!0)),Okt=Am,Lkt=b2,Dkt=G1,Rkt=g2,U2e=v4,Mkt=cv,F2e=(rbe(),Ckt),P2e=kkt,j2e=Nkt,B2e=Ikt,S$=xkt}function Rmn(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 Omn(e,t){var r,o;for(e.b=0,e.d=new L9,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),l(F(r,(Ie(),LI)),15).a==-1&&(sEt(e,r),e.d.a.c.length=0)}function cbt(e,t){var r,o,a,c,f;for(o=0,a=0,r=0,f=new V(e);f.a<f.c.c.length;)c=l(q(f),189),o=b.Math.max(o,c.e),a+=c.b+(r>0?t:0),++r;return new Me(o,a)}function Lmn(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,c,f,p;for(Oi(t,l(o.Xb(0),26)),p=o.hd(1,o.gc()),c=l(r.Kb(t),22).Jc();c.Ob();)a=l(c.Pb(),17),f=a.c.i==t?a.d.i:a.c.i,sbe(e,f,r,p)}function lbt(e){var t;return t=new hn,gr(e,(Ie(),ate))?l(F(e,ate),93):(ei(lr(new Et(null,new St(e.j,16)),new tBe),new VYe(t)),Te(e,ate,t),t)}function Dmn(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-r0t(e,o)),nmt(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=Po(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=Po(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=Po(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 dbt(e,t){var r,o;return e.Db>>16==5?e.Cb.Qh(e,9,SU,t):(o=Po(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 fbt(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,6,Ld,t):(o=Po(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=Po(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=Po(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 Mmn(e,t,r){var o,a,c;for(r<0&&(r=0),c=e.i,a=r;a<c;a++)if(o=oe(e,a),t==null){if(o==null)return a}else if(me(t)===me(o)||pr(t,o))return a;return-1}function Pmn(e,t){var r,o;return r=t.ni(e.a),r?(o=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),r$)),wt(KL,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>EX)return z_(e,o);if(o==e)return!0}}return!1}function jmn(e){switch(z8(),e.q.g){case 5:n0t(e,(He(),Wt)),n0t(e,dn);break;case 4:cwt(e,(He(),Wt)),cwt(e,dn);break;default:wEt(e,(He(),Wt)),wEt(e,dn)}}function Fmn(e){switch(z8(),e.q.g){case 5:S0t(e,(He(),Qt)),S0t(e,Kt);break;case 4:m1t(e,(He(),Qt)),m1t(e,Kt);break;default:yEt(e,(He(),Qt)),yEt(e,Kt)}}function $mn(e){var t,r;t=l(F(e,(ed(),ykt)),15),t?(r=t.a,r==0?Te(e,(h1(),E$),new iY):Te(e,(h1(),E$),new WP(r))):Te(e,(h1(),E$),new WP(1))}function Bmn(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 Umn(e,t){switch(e.g){case 0:return t==(ic(),xp)?U$:H$;case 1:return t==(ic(),xp)?U$:oD;case 2:return t==(ic(),xp)?oD:H$;default:return oD}}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=CZ,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 Hmn(e,t,r){var o,a,c;if(c=l(Ht(e.r,t),301),a=null,c)switch(c.g){case 2:o=le(Ht(e.i,t)),a=(Mt(r),r+(Mt(o),o));break;default:a=r}else a=r;return a}function zmn(e,t,r){var o,a,c;if(c=l(Ht(e.r,t),301),a=null,c)switch(c.g){case 2:o=le(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 BY(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 Gmn(e,t){var r,o,a;if(a=dbn(e,t),a.c.length!=0)for(xi(a,new n$e),r=a.c.length,o=0;o<r;o++)K_(e,(at(o,a.c.length),l(a.c[o],295)),ZSn(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 qmn(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 Vmn(e){var t,r;if(e.k==(zt(),gi)){for(r=new $t(qt(Df(e).a.Jc(),new L));an(r);)if(t=l(en(r),17),!fo(t)&&e.c==ybe(t,e).c)return!0}return!1}function Wmn(e){var t,r;if(e.k==(zt(),gi)){for(r=new $t(qt(Df(e).a.Jc(),new L));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=Po(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 hbt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,11,Ol,t):(o=Po(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 pbt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,12,Ll,t):(o=Po(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 gbt(e,t){var r,o,a,c,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();)c=l(f.Pb(),15),o=f_(t,c.a),o&&rwt(e,o)}function Kmn(){yle();var e,t;for(T3n((a1(),Ut)),h3n(Ut),jY(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,c,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,c=t.l,r-c)))}function bbt(e,t,r){var o,a,c,f,p;for(a=e[r.g],p=new V(t.d);p.a<p.c.c.length;)f=l(q(p),108),c=f.i,c&&c.i==r&&(o=f.d[r.g],a[o]=b.Math.max(a[o],c.j.b))}function Ymn(e,t){var r,o,a,c,f;for(o=0,a=0,r=0,f=new V(t.d);f.a<f.c.c.length;)c=l(q(f),320),f7(c),o=b.Math.max(o,c.b),a+=c.d+(r>0?e.b:0),++r;t.b=o,t.e=a}function mbt(e){var t,r,o;if(o=e.b,Bet(e.i,o.length)){for(r=o.length*2,e.b=we(jQ,yL,309,r,0,1),e.c=we(jQ,yL,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 Jmn(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 Xmn(e,t,r){return r.Tg(jSt,1),M3(e.b),pc(e.b,(JS(),DB),DB),pc(e.b,e4,e4),pc(e.b,t4,t4),pc(e.b,n4,n4),e.a=FC(e.b,t),F0n(e,t,r.dh(1)),r.Ug(),t}function G_(e,t,r){Z_();var o,a,c,f,p,m;return f=t/2,c=r/2,o=b.Math.abs(e.a),a=b.Math.abs(e.b),p=1,m=1,o>f&&(p=f/o),a>c&&(m=c/a),tp(e,b.Math.min(p,m)),e}function Zmn(){q7();var e,t;try{if(t=l(Tbe((n1(),Dl),Dx),2092),t)return t}catch(r){if(r=ci(r),ae(r,102))e=r,ahe((Cn(),e));else throw Y(r)}return new KGe}function Qmn(){q7();var e,t;try{if(t=l(Tbe((n1(),Dl),_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 vqe}function e0n(){pdt();var e,t;try{if(t=l(Tbe((n1(),Dl),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 hVe}function t0n(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 wbt(){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 n0n(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 r0n(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 i0n(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,jkt=Ra($n($n($n(new ui,(Vi(),da),(Zi(),TSe)),da,ASe),Ho,_Se),Ho,fSe),$kt=$n($n(new ui,da,oSe),da,hSe),Fkt=Ra(new ui,Ho,gSe)}function o0n(e){var t,r,o,a,c;for(t=l(F(e,(Ie(),RI)),93),c=e.n,o=t.Bc().Jc();o.Ob();)r=l(o.Pb(),319),a=r.i,a.c+=c.a,a.d+=c.b,r.c?Ywt(r):Jwt(r);Te(e,RI,null)}function s0n(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 ybt(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=YV(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 a0n(e,t){var r,o,a,c;for(c=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),168),c+=b.Math.pow(hu(r)*ec(r)-t,2);return a=b.Math.sqrt(c/(e.c.length-1)),a}function u0n(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),FSn(e,o);r.Ug()}function c0n(e){var t,r,o,a,c;if(o=0,a=jE,e.b)for(t=0;t<360;t++)r=t*.017453292519943295,p0e(e,e.d,0,0,sm,r),c=e.b.Cg(e.d),c<a&&(o=r,a=c);p0e(e,e.d,0,0,sm,o)}function l0n(e,t){var r,o,a,c;for(c=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(c,r.a,a);e.g=c}function d0n(e,t,r){var o,a,c,f,p,m;for(a=t-e.e,c=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,Hgt(p,p.e+f*c,p.f),Hbn(p,c,o),++f}function vbt(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 f0n(e,t){var r,o,a;for(a=t.c.length,r=cvn(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 Ebt(e,t,r,o){var a,c,f;return c=ITn(e,t,r,o),f=o0e(e,c),JY(e,t,r,o),nK(e.b),At(),xi(c,new NJe(e)),a=o0e(e,c),JY(e,r,t,o),nK(e.b),new No(Re(f),Re(a))}function h0n(e,t){var r;t.Tg("Delaunay triangulation",1),r=new je,Da(e.i,new lXe(r)),Ye(Ke(F(e,(S_(),EI)))),e.e?mo(e.e,MEt(r)):e.e=MEt(r),t.Ug()}function g7(){g7=K,Kne=new w8("P1_NODE_Y_PLACEMENT",0),Yne=new w8("P2_NODE_RELATIVE_PLACEMENT",1),Jne=new w8("P3_NODE_ABSOLUTE_PLACEMENT",2),Xne=new w8(FSt,3)}function p0n(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),lV(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 WY(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 IK(e,t,r,o)}function Sbt(e,t,r){var o,a,c,f,p;if(r)for(c=r.a.length,o=new Ib(c),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&&t0t(e,a,t)}function V6(e,t,r){var o,a,c,f,p;return e.Zj(),c=t==null?0:Rr(t),e.f>0&&(f=(c&sr)%e.d.length,a=mme(e,f,c,t),a)?(p=a.ld(r),p):(o=e.ak(c,t,r),e.c.Ec(o),null)}function mbe(e,t){var r,o,a,c;switch(fg(e,t).Il()){case 3:case 2:{for(r=CE(t),a=0,c=r.i;a<c;++a)if(o=l(oe(r,a),38),f0(rs(e,o))==5)return o;break}}return null}function g0n(e){var t,r,o,a,c;if(Bet(e.f,e.b.length))for(o=we(z_t,yL,229,e.b.length*2,0,1),e.b=o,a=o.length-1,r=e.a;r!=e;r=r.Zd())c=l(r,229),t=c.d&a,c.a=o[t],o[t]=c}function Tbt(e,t){var r,o,a,c;for(c=0,a=l(l(wr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),c=b.Math.max(c,o.e.a+o.b.Kf().a);r=l(Wo(e.b,t),129),r.n.b=0,r.a.a=c}function Abt(e,t){var r,o,a,c;for(r=0,c=l(l(wr(e.r,t),24),85).Jc();c.Ob();)a=l(c.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 b0n(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 _bt(e,t,r){var o,a,c;for(c=new V(t);c.a<c.c.c.length;)o=l(q(c),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 m0n(e){var t,r;return r=l(F(e,(Ie(),xa)),24),t=O8(F4t),r.Gc((Fo(),XE))&&yc(t,U4t),r.Gc(II)&&yc(t,H4t),r.Gc(Xx)&&yc(t,$4t),r.Gc(Zx)&&yc(t,B4t),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)*(egn(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(me(e.g[r])===me(t))return!0;return!1}function w0n(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 y0n(e,t){var r,o,a;return t===e?!0:ae(t,675)?(a=l(t,2025),e1t((o=e.g,o||(e.g=new jG(e))),(r=a.g,r||(a.g=new jG(a))))):!1}function v0n(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,SL<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 E0n(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 rNt}function S0n(e){var t;t=l(F(e,(Ie(),rw)),339),ei(bs(new Et(null,new St(t.d,16)),new $$e),new GYe(e)),ei(lr(new Et(null,new St(t.d,16)),new B$e),new qYe(e))}function UY(e,t){var r,o,a,c;for(a=t?Or(e):si(e),o=new $t(qt(a.a.Jc(),new L));an(o);)if(r=l(en(o),17),c=ybe(r,e),c.k==(zt(),gi)&&c.c!=e.c)return c;return null}function HY(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 xbt(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=CV(l(t,245)),new E9(r)))),!o)throw Y(new lq(wEe))}function T0n(e,t,r,o){var a,c,f;return a=new cp(e.e,1,10,(f=t.c,ae(f,89)?l(f,29):(_t(),Ml)),(c=r.c,ae(c,89)?l(c,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),Kee=new i3("BALANCED",5)}function A0n(e,t,r){var o,a,c;if(o=yr(e.a[t.p],e.a[r.p]),o==0){if(a=l(F(t,(Ie(),RT)),16),c=l(F(r,RT),16),a.Gc(r))return-1;if(c.Gc(t))return 1}return o}function _0n(e){switch(e.g){case 1:return new Eze;case 2:return new Sze;case 3:return new vze;case 0:return null;default:throw Y(new jt(PZ+(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(le(r)));return;case 4:Hb(e,ue(le(r)));return;case 5:va(e,ue(le(r)));return;case 6:gu(e,ue(le(r)));return}Ebe(e,t,r)}function b7(e,t,r){var o,a,c;c=(o=new rq,o),a=Zd(c,t,null),a&&a.mj(),Ma(c,r),Tn((!e.c&&(e.c=new ke(lw,e,12,10)),e.c),c),cg(c,0),cy(c,1),pg(c,!0),hg(c,!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 x0n(e,t,r,o){var a,c;return kn(t),kn(r),c=l(S3(e.d,t),15),eft(!!c,"Row %s not in %s",t,e.e),a=l(S3(e.b,r),15),eft(!!a,"Column %s not in %s",r,e.c),Qht(e,c.a,a.a,o)}function k0n(e){var t,r,o,a,c,f;for(r=null,a=e,c=0,f=a.length;c<f;++c){o=a[c];try{L3(o)}catch(p){if(p=ci(p),ae(p,102))t=p,r?Vbt(r,t):r=t;else throw Y(p)}}r&&rQt(r)}function kbt(e,t,r,o,a,c,f){var p,m,y,v,T;if(v=a[c],y=c==f-1,p=y?o:0,T=G1t(p,v),o!=10&&Z(X(e,f-c),t[c],r[c],p,T),!y)for(++c,m=0;m<v;++m)T[m]=kbt(e,t,r,o,a,c,f);return T}function N0n(e){var t,r,o,a,c;for(o=new dy(new Lw(e.b).a);o.b;)r=gE(o),t=l(r.jd(),9),c=l(l(r.kd(),49).a,9),a=l(l(r.kd(),49).b,8),br(wd(t.n),br(To(c.n),a))}function C0n(e,t){var r,o,a,c;for(c=new V(t.a);c.a<c.c.c.length;)for(a=l(q(c),9),HN(e.d),o=new $t(qt(Or(a).a.Jc(),new L));an(o);)r=l(en(o),17),L0t(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 I0n(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 R0n(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 O0n(e){var t,r,o,a,c;for(c=kS(e.k),r=(He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt])),o=0,a=r.length;o<a;++o)if(t=r[o],t!=Is&&!c.Gc(t))return t;return null}function zY(e,t){var r,o;return o=l(vS(hp(lr(new Et(null,new St(t.j,16)),new lUe))),12),o&&(r=l(ze(o.e,0),17),r)?l(F(r,(Ie(),Cr)),15).a:ofn(e.d)}function Nbt(e){var t,r;return r=R7(e),iy(r)?null:(t=(kn(r),l(P1t(new $t(qt(r.a.Jc(),new L))),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 Uct(e):e.o=new kV(e,null)),e.o}function L0n(e,t,r,o){var a,c,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?(c=l(m,16),a.Wb(o1n(e,c))):a.Wb(AJ(e,l(m,57)))))}function D0n(e,t,r,o){get();var a=LQ;function c(){for(var f=0;f<a.length;f++)a[f]()}if(e)try{VDt(c)()}catch(f){e(t,f)}else VDt(c)()}function M0n(e,t){var r,o,a,c;for(a=(c=new Xh(e.b).a.vc().Jc(),new T9(c));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 P0n(e,t){var r,o,a,c;for(a=(c=new Xh(e.b).a.vc().Jc(),new T9(c));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 j0n(e){switch(l(F(e.b,(Be(),wAe)),382).g){case 1:ei(Oa(bs(new Et(null,new St(e.d,16)),new YBe),new JBe),new XBe);break;case 2:wTn(e);break;case 0:uvn(e)}}function F0n(e,t,r){var o,a,c;for(o=r,!o&&(o=new sS),o.Tg("Layout",e.a.c.length),c=new V(e.a);c.a<c.c.c.length;){if(a=l(q(c),43),o.Zg())return;a.If(t,o.dh(1))}o.Ug()}function $0n(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),R0n(r),r.c.c.length==0&&Xa(e.n,r);break}Svt(e)}function Cbt(e,t){var r,o,a,c,f;for(f=e.f,a=0,c=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),c=b.Math.max(c,r.r),f+=r.d+e.c,a=f;e.d=c,e.b=a}function Zb(){Zb=K,lre=new a3("V_TOP",0),w4=new a3("V_CENTER",1),m4=new a3("V_BOTTOM",2),cre=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 B0n(e){var t;e.c==null&&(t=me(e.b)===me(qEe)?null:e.b,e.d=t==null?tu:sst(t)?Ytn(Aat(t)):zi(t)?owe:Ab(rc(t)),e.a=e.a+": "+(sst(t)?znn(Aat(t)):t+""),e.c="("+e.d+") "+e.a)}function U0n(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===YJ&&Map.prototype.entries&&e()?Map:bNn()}function H0n(e,t){var r,o,a,c;for(c=new Xi(e.e,0),r=0;c.b<c.d.gc();){if(o=ue((un(c.b<c.d.gc()),le(c.d.Xb(c.c=c.b++)))),a=o-t,a>OZ)return r;a>-1e-6&&++r}return r}function w7(e,t,r){if(ae(t,273))return g2n(e,l(t,74),r);if(ae(t,278))return Hmn(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t,r])))))}function y7(e,t,r){if(ae(t,273))return b2n(e,l(t,74),r);if(ae(t,278))return zmn(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,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=Ypt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function Ibt(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=Jpt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,t,t))}function z0n(e,t,r,o){var a,c,f,p;return Ju(e.e)&&(a=t.Jk(),p=t.kd(),c=r.kd(),f=c1(e,1,a,p,c,a.Hk()?nx(e,a,c,ae(a,104)&&(l(a,20).Bb&Co)!=0):-1,!0),o?o.lj(f):o=f),o}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 aV(o,o.a.length-1)}function Obt(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 aV(o,o.a.length-1)}function G0n(e,t){var r,o,a,c,f;for(c=new V(t.a);c.a<c.c.c.length;)for(a=l(q(c),9),o=new $t(qt(si(a).a.Jc(),new L));an(o);)r=l(en(o),17),f=r.c.i.p,e.n[f]=e.n[f]-1}function q0n(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?XV(o.a,a.a):o.a!=null?-1:a.a!=null?1:0}function Lbt(e,t){var r,o,a,c,f,p;if(t)for(c=t.a.length,r=new Ib(c),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 RXe(e),lat(o.a,a)}function Dbt(e,t){var r,o,a,c,f,p;if(t)for(c=t.a.length,r=new Ib(c),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 SXe(e),cat(o.a,a)}function V0n(e){var t;if(e!=null&&e.length>0&&co(e,e.length-1)==33)try{return t=X0t(yl(e,0,e.length-1)),t.e==null}catch(r){if(r=ci(r),!ae(r,33))throw Y(r)}return!1}function W0n(e,t,r){var o,a,c;switch(o=ji(t),a=Gj(o),c=new aa,As(c,t),r.g){case 1:Ii(c,P6(WS(a)));break;case 2:Ii(c,WS(a))}return Te(c,(Be(),Jy),le(F(e,Jy))),c}function xbe(e){var t,r;return t=l(en(new $t(qt(si(e.a).a.Jc(),new L))),17),r=l(en(new $t(qt(Or(e.a).a.Jc(),new L))),17),Ye(Ke(F(t,(Ie(),Ag))))||Ye(Ke(F(r,Ag)))}function yy(){yy=K,sD=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 Mbt(e,t){var r,o,a,c;for(c=new je,a=0,o=t.Jc();o.Ob();){for(r=Re(l(o.Pb(),15).a+a);r.a<e.f&&!Xon(e,r.a);)r=Re(r.a+1),++a;if(r.a>=e.f)break;Ot(c.c,r)}return c}function K0n(e){var t,r;for(r=new V(e.e.b);r.a<r.c.c.length;)t=l(q(r),26),Pkn(e,t);ei(lr(bs(bs(new Et(null,new St(e.e.b,16)),new HUe),new KUe),new YUe),new HJe(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 QGe,e.i.lj(t)):!1}function Pbt(e,t,r){var o,a,c;return o=t.Jk(),c=t.kd(),a=o.Hk()?c1(e,3,o,null,c,nx(e,o,c,ae(o,104)&&(l(o,20).Bb&Co)!=0),!0):c1(e,1,o,o.gk(),c,-1,!0),r?r.lj(a):r=a,r}function Y0n(e){if(e=Ta(e,!0),wt(Ix,e)||wt("1",e))return Dt(),Bx;if(wt(XZ,e)||wt("0",e))return Dt(),L1;throw Y(new dq("Invalid boolean value: '"+e+"'"))}function Nbe(e,t,r){var o,a,c;for(a=e.vc().Jc();a.Ob();)if(o=l(a.Pb(),45),c=o.jd(),me(t)===me(c)||t!=null&&pr(t,c))return r&&(o=new t8(o.jd(),o.kd()),a.Qb()),o;return null}function J0n(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 jbt(e,t,r,o){var a,c,f;for(f=b.Math.min(r,cvt(l(e.b,68),t,r,o)),c=new V(e.a);c.a<c.c.c.length;)a=l(q(c),227),a!=t&&(f=b.Math.min(f,jbt(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,c;o=l(Wd(e.a,r),34),o!=null&&(c=l(Wd(e.b,o),66),gy(c,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 GY(e,t,r,o,a){var c,f,p,m;for(f=HQt(nle(bfe(_bn(r)),o),Lmn(e,r,a)),m=bg(e,r).Jc();m.Ob();)p=l(m.Pb(),12),t[p.p]&&(c=t[p.p].i,Fe(f.d,new WV(c,d1e(f,c))));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&&nbt(this,this.c-1,(He(),Qt)),this.c<this.a.length-1&&nbt(this,this.c+1,(He(),Kt))}function X0n(e,t){var r,o,a,c,f;for(c=new V(t.d);c.a<c.c.c.length;)for(a=l(q(c),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(l4t,Pe,2096,e.length,0,2),this.b=we(d4t,Pe,2097,e.length,0,2),this.d=new $pt}function Z0n(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 LUe),new IUe)}function Fbt(e,t){var r,o,a,c,f,p,m;for(p=Ay(t),c=t.f,m=t.g,f=b.Math.sqrt(c*c+m*m),a=0,o=new V(p);o.a<o.c.c.length;)r=l(q(o),19),a+=Fbt(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 Q0n(e,t){var r,o,a;if(r=t.ni(e.a),r){for(a=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),xl)),o=1;o<(mu(),z3e).length;++o)if(wt(z3e[o],a))return o}return 0}function ewn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(c,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function twn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(c,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function $bt(e){var t,r,o;for(o=new qb(ja,"{","}"),r=e.vc().Jc();r.Ob();)t=l(r.Pb(),45),up(o,Rct(e,t.jd())+"="+Rct(e,t.kd()));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function nwn(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 Lbe(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 Bbt(e,t){var r,o,a,c,f;for(r=hwt(e,!1,t),a=new V(r);a.a<a.c.c.length;)o=l(q(a),135),o.d==0?(RW(o,null),OW(o,null)):(c=o.a,f=o.b,RW(o,f),OW(o,c))}function rwn(e){var t,r;return t=new ui,yc(t,q4t),r=l(F(e,(Ie(),xa)),24),r.Gc((Fo(),II))&&yc(t,Y4t),r.Gc(Xx)&&yc(t,V4t),r.Gc(XE)&&yc(t,K4t),r.Gc(Zx)&&yc(t,W4t),t}function QS(){QS=K,new Mi((_n(),Od),20),Fke=new xb(5),new Mi(df,Fke),c6t=y4,d6t=bk,new Mi(rU,(Dt(),!1)),jke=v4,l6t=Cp,pk=(S1e(),u6t),Qne=a6t,Pke=s6t,Zne=o6t}function Dbe(e,t,r){var o,a,c,f,p;for(t1n(e),a=(e.k==null&&(e.k=we(BQ,Pe,81,0,0,1)),e.k),c=0,f=a.length;c<f;++c)o=a[c],Dbe(o);p=e.f,p&&Dbe(p)}function iwn(e){var t,r,o,a;for(Mxn(e),r=new $t(qt(Df(e).a.Jc(),new L));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),oEn(e,a.i)}function own(e,t,r){var o,a,c,f;for(f=_s(e.e,t,0),c=new Pce,c.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(c.e,a),Mu(o);return c}function swn(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 L))))return t;return null}function awn(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 L))))return t;return null}function v7(){v7=K,gne=new yO("OVERLAP_REMOVAL",0),fne=new yO(qSt,1),bne=new yO("ROTATION",2),hne=new yO("GRAPH_SIZE_CALCULATION",3),pne=new yO("OUTGOING_EDGE_ANGLES",4)}function Ubt(e){switch(e.g){case 0:return new Xze;case 1:return new Jze;default:throw Y(new jt("No implementation is available for the edge router "+(e.f!=null?e.f:""+e.g)))}}function uwn(){var e;return zLt?l(Y_((n1(),Dl),Dx),2094):(e=l(ae(wa((n1(),Dl),Dx),563)?wa(Dl,Dx):new j0t,563),zLt=!0,Ekn(e),P3n(e),jY(e),ns(Dl,Dx,e),e)}function qY(e,t,r){var o,a;if(e.j==0)return r;if(a=l(Gft(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 cwn(e,t){var r,o,a,c,f,p,m,y;for(p=e.a,m=0,y=p.length;m<y;++m)for(f=p[m],o=f,a=0,c=o.length;a<c;++a)if(r=o[a],me(t)===me(r)||t!=null&&pr(t,r))return!0;return!1}function lwn(e){var t,r,o;return Ea(e,0)>=0?(r=W6(e,rF),o=dY(e,rF)):(t=Rb(e,1),r=W6(t,5e8),o=dY(t,5e8),o=Ao(fh(o,1),Gi(e,1))),Of(fh(o,32),Gi(r,$o))}function dwn(e,t,r,o){var a,c,f,p,m;for(a=null,c=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-c&&(a=f):a=f,c=a.i+a.g);return a?c+o:0}function fwn(e,t,r,o){var a,c,f,p,m;for(c=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&&(c?r.j-m<r.j-a&&(c=f):c=f,a=c.j+c.f);return c?a+o:0}function hwn(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 pwn(e,t,r,o,a){var c,f;for(c=0,f=0;f<a;f++)c=Ao(c,El(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Ln(c),c=u0(c,32);for(;f<r;f++)c=Ao(c,Gi(t[f],$o)),e[f]=Ln(c),c=u0(c,32)}function gwn(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 i1t(jyt(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 bwn(e){var t,r;if(Ye(Ke(ve(e,(Be(),Ky))))){for(r=new $t(qt(mp(e).a.Jc(),new L));an(r);)if(t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,bm))))return!0}return!1}function Hbt(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 zbt(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 a1t(e)),Fhn(e.i,r)))}function mwn(e){var t,r,o,a,c;return r=e.c.d,o=r.j,a=e.d.d,c=a.j,o==c?r.p<a.p?0:1:zj(o)==c?0:f1e(o)==c?1:(t=e.b,fu(t.b,zj(o))?0:1)}function E7(e,t){var r,o,a,c,f,p;a=e,f=B3(a,"layoutOptions"),!f&&(f=B3(a,JTt)),f&&(p=f,o=null,p&&(o=(c=SK(p,we(Je,Pe,2,0,6,1)),new vq(p,c))),o&&(r=new fnt(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(oAt))}function wwn(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 ywn(e,t){var r,o,a,c,f;for(c=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=c,e.i==(He(),Wt)?a.b=f+e.j.b-r.o.b:a.b=f,br(a,t),c+=r.o.a+e.e}function Gbt(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,c,f,p;return p=new aS,r=e.Og(),a=r!=null,a&&e_(p,qf,e.Og()),o=e.ve(),c=o!=null,c&&e_(p,or,e.ve()),t=e.Ng(),f=t!=null,f&&e_(p,"description",e.Ng()),p}function qbt(e,t,r){var o,a,c;return c=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(a=new Pi(e,1,9,c,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 vwn(e,t,r){var o,a,c,f,p;for(r=(p=t,XS(p,e.e,-1-e.c,r)),f=yhe(e.a),c=(o=new dy(new Lw(f.a).a),new C9(o));c.a.b;)a=l(gE(c.a).jd(),88),r=ox(a,O7(a,e.a),r);return r}function Ewn(e,t,r){var o,a,c,f,p;for(r=(p=t,OP(p,e.e,-1-e.c,r)),f=yhe(e.a),c=(o=new dy(new Lw(f.a).a),new C9(o));c.a.b;)a=l(gE(c.a).jd(),88),r=ox(a,O7(a,e.a),r);return r}function Swn(e,t,r,o){var a,c,f;if(o==0)ua(t,0,e,r,e.length-r);else for(f=32-o,e[e.length-1]=0,c=e.length-1;c>r;c--)e[c]|=t[c-r-1]>>>f,e[c-1]=t[c-r-1]<<o;for(a=0;a<r;a++)e[a]=0}function Twn(e){var t,r,o,a,c;for(t=0,r=0,c=e.Jc();c.Ob();)o=l(c.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 Awn(e){var t,r,o,a,c;for(r=0,t=0,c=e.Jc();c.Ob();)o=l(c.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 VY(e,t,r,o,a){var c,f;c=l(Au(lr(t.Mc(),new zBe),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),vC(c),f=l(Gb(e.b,r,o),16),a==0?f.ad(0,c):f.Fc(c)}function _wn(e,t,r){r.Tg("Grow Tree",1),e.b=t.f,Ye(Ke(F(t,(S_(),EI))))?(e.c=new Vm,Aut(e,null)):e.c=new Vm,e.a=!1,_wt(e,t.f),Te(t,_2e,(Dt(),!!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 Xot(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 WY(e,t,r,o){var a,c;return r==1?(!e.n&&(e.n=new ke(Rs,e,1,7)),Pa(e.n,t,o)):(c=l(Nt((a=l(Vt(e,16),29),a||e.fi()),r),69),c.uk().xk(e,Ha(e),r-ln(e.fi()),t,o))}function KY(e,t,r){var o,a,c,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)c=f.Pb(),w3(e,t,e.Xi(t,c)),e.Ki(t,c),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=qbt(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 YY(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 Tct(e,t,r,o)}function Vbt(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(BQ,1),Pe,81,0,[t]):e.k[e.k.length]=t)}function xwn(e,t){var r;if(r=jnt(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 kwn(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 Nwn(e,t){var r,o,a,c,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,c=e[o]&15,f[a++]=m3e[r],f[a++]=m3e[c];return Mf(f,0,f.length)}function Qa(e){var t,r;return e>=Co?(t=TL+(e-Co>>10&1023)&Ei,r=56320+(e-Co&1023)&Ei,String.fromCharCode(t)+(""+String.fromCharCode(r))):String.fromCharCode(e&Ei)}function Cwn(e,t){qw();var r,o,a,c;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)),c=e.u.Gc(KT),!o.a&&!r&&(a.gc()==2||c)):!1}function Wbt(e,t,r,o,a){var c,f,p;for(c=Uwt(e,t,r,o,a),p=!1;!c;)C7(e,a,!0),p=!0,c=Uwt(e,t,r,o,a);p&&C7(e,a,!1),f=DK(a),f.c.length!=0&&(e.d&&e.d.Fg(f),Wbt(e,a,r,o,f))}function S7(){S7=K,kne=new m8("NODE_SIZE_REORDERER",0),Ane=new m8("INTERACTIVE_NODE_REORDERER",1),xne=new m8("MIN_SIZE_PRE_PROCESSOR",2),_ne=new m8("MIN_SIZE_POST_PROCESSOR",3)}function T7(){T7=K,_re=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 Iwn(e,t){var r;if(!Gd(e))throw Y(new es(PTt));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 Rwn(e,t,r){var o,a,c;return o=t.Jk(),c=t.kd(),a=o.Hk()?c1(e,4,o,c,null,nx(e,o,c,ae(o,104)&&(l(o,20).Bb&Co)!=0),!0):c1(e,o.rk()?2:1,o,c,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,c;if(a=0,r)a=$j(e.a[r.g][t.g],o);else for(c=0;c<b$;c++)a=b.Math.max(a,$j(e.a[c][t.g],o));return t==(Sd(),$a)&&e.b&&(a=b.Math.max(a,e.b.a)),a}function Own(e,t){var r,o,a,c,f,p;return a=e.i,c=t.i,!a||!c||a.i!=c.i||a.i==(He(),Qt)||a.i==(He(),Kt)?!1:(f=a.g.a,r=f+a.j.a,p=c.g.a,o=p+c.j.a,f<=o&&r>=p)}function Kbt(e){switch(e.g){case 0:return new Fze;case 1:return new $ze;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 lq(wEe))}function Lwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zu((_t(),Oo),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 Dwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zu((_t(),Oo),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 Ybt(e,t){var r,o,a,c;if(Mt(t),c=e.a.gc(),c<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 c!=e.a.gc()}function Jbt(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 Mwn(e){var t;for(t=(zS(),l(en(new $t(qt(si(e).a.Jc(),new L))),17).c.i);t.k==(zt(),gi);)Te(t,(Ie(),pD),(Dt(),!0)),t=l(en(new $t(qt(si(t).a.Jc(),new L))),17).c.i}function JY(e,t,r,o){var a,c,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),c=p.Jc();c.Ob();)a=l(c.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 qtt(t,r))}function Pwn(e,t,r,o){var a,c;for(c=t,a=c.d==null||e.a.Le(r.d,c.d)>0?1:0;c.a[a]!=r;)c=c.a[a],a=e.a.Le(r.d,c.d)>0?1:0;c.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 jwn(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),f1t(e,o,r));return t}function Xbt(e,t){var r,o,a,c,f;for(a=t==1?hee:fee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)c=l(f.Pb(),49),Xa(e.b.b,c.b),Xa(e.b.a,l(c.b,84).d)}function Fwn(e,t){var r;t.Tg("Hierarchical port position processing",1),r=e.b,r.c.length>0&&Oyt((at(0,r.c.length),l(r.c[0],26)),e),r.c.length>1&&Oyt(l(ze(r,r.c.length-1),26),e),t.Ug()}function $wn(e){xu();var t,r;return t=xr(Rp,Z(X(lU,1),Ce,282,0,[K1])),!(T6(DP(t,e))>1||(r=xr(k4,Z(X(lU,1),Ce,282,0,[x4,KT])),T6(DP(r,e))>1))}function Ube(e,t){var r;r=wa((n1(),Dl),e),ae(r,496)?ns(Dl,e,new bnt(this,t)):ns(Dl,e,this),ZY(this,t),t==($A(),C3e)?(this.wb=l(this,2017),l(t,2019)):this.wb=(a1(),Ut)}function Bwn(e){var t,r,o;if(e==null)return null;for(t=null,r=0;r<R4.length;++r)try{return Xet(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 Zbt(){Zbt=K,oxt=Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),sxt=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 Uwn(e,t){q3();var r;if(e.c==t.c){if(e.b==t.b||fhn(e.b,t.b)){if(r=Yen(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 Hwn(e,t,r,o){var a,c,f,p,m;return f=obt(e.a,t,r),p=l(f.a,15).a,c=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,c+=e.b.e)),p>c}function Qbt(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=Nbt(r),$7(e,r,a)||Gpt(e,r)-e.g<=e.a)return!0;return!1}function Y6(){Y6=K,ZB=(mJ(),Ake),qne=XOt,Gne=JOt,mke=WOt,zne=YOt,bke=new xb(8),BOt=new Mi((_n(),df),bke),UOt=new Mi(Od,8),HOt=Ske,pke=zOt,gke=GOt,$Ot=new Mi(BD,(Dt(),!1))}function A7(){A7=K,Kke=new xb(15),O6t=new Mi((_n(),df),Kke),L6t=new Mi(Od,15),Yke=new Mi(HD,Re(0)),qke=B6t,I6t=Am,R6t=G1,Gke=new Mi(gk,hTt),Vke=y4,Wke=b2,ure=j6t,C6t=$D}function zwn(e,t){if(ae(t,209))return Z1n(e,l(t,19));if(ae(t,196))return ebn(e,l(t,127));if(t)return null;throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t])))))}function Gwn(e,t){if(ae(t,363))return Hdn(e,l(t,158));if(ae(t,273))return X_n(e,l(t,74));if(t)return null;throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t])))))}function XY(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(aAt));return Yo(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))}function emt(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(aAt));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,c;if(++e.j,a=e.Cj(),t>=a||t<0)throw Y(new Ia(hQ+t+um+a));if(r>=a||r<0)throw Y(new Ia(pQ+r+um+a));return t!=r?o=(c=e.Aj(r),e.oj(t,c),c):o=e.vj(r),o}function tmt(e){var t,r,o;if(o=e,e)for(t=0,r=e.Bh();r;r=r.Bh()){if(++t>EX)return tmt(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,me(t)===me(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 nmt(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),nmt(e,r)}function rmt(e,t){var r;t!=e.a?(r=null,e.a&&(r=l(e.a,52).Qh(e,4,Ld,r)),t&&(r=l(t,52).Oh(e,4,Ld,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&&Clt(yhe(e.e),e),t&&(!t.b&&(t.b=new N9(new iq)),$it(t.b,e)),r=t0n(e,t,null),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,t,t))}function qwn(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 Vwn(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,_Nt=Z(X(Ro,1),ea,64,0,[(He(),Wt),Qt,dn]),ANt=Z(X(Ro,1),ea,64,0,[Qt,dn,Kt]),xNt=Z(X(Ro,1),ea,64,0,[dn,Kt,Wt]),kNt=Z(X(Ro,1),ea,64,0,[Kt,Wt,Qt])}function imt(e){var t,r,o,a,c,f,p,m,y;for(this.a=_1t(e),this.b=new je,r=e,o=0,a=r.length;o<a;++o)for(t=r[o],c=new je,Fe(this.b,c),p=t,m=0,y=p.length;m<y;++m)f=p[m],Fe(c,new Tu(f.j))}function Wwn(e,t,r){var o,a,c;return c=0,o=r[t],t<r.length-1&&(a=r[t+1],e.b[t]?(c=L3n(e.d,o,a),c+=dW(e.a,o,(He(),Qt)),c+=dW(e.a,a,Kt)):c=Wdn(e.a,o,a)),e.c[t]&&(c+=gdn(e.a,o)),c}function Kwn(e,t,r,o,a){var c,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}c=KW(a),bo(c,r.b),Ji(c,m.b),yt(e.a,a,new K8(c,t,r.f))}function omt(e){for(;e.g.c!=0&&e.d.c!=0;)AV(e.g).c>AV(e.d).c?(e.i+=e.g.c,fY(e.d)):AV(e.d).c>AV(e.g).c?(e.e+=e.d.c,fY(e.g)):(e.i+=qot(e.g),e.e+=qot(e.d),fY(e.g),fY(e.d))}function Ywn(e,t,r){var o,a,c,f;for(c=t.q,f=t.r,new Pb((vd(),U1),t,c,1),new Pb(U1,c,f,1),a=new V(r);a.a<a.c.c.length;)o=l(q(a),117),o!=c&&o!=t&&o!=f&&(D0e(e.a,o,t),D0e(e.a,o,f))}function smt(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=LZ*e.b+.9*t,e.f=LZ*e.b+.9*r):(e.b=.5*(t+o),e.g=LZ*e.b+.9*o,e.f=LZ*e.b+.9*t)}function Jwn(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,LK(o)),r=o.e,r.a=l(F(o,(Nr(),CD)),15).a,r.b=l(F(o,ID),15).a;return t}return new Ar}function Xwn(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(),DI));break;case 4:Te(e,Cs,(ic(),xp))}}function Zwn(e,t,r){var o;r.Tg("Self-Loop routing",1),o=Dgn(t),C8(F(t,(ZP(),p4))),ei(Oa(lr(lr(bs(new Et(null,new St(t.b,16)),new q$e),new V$e),new W$e),new K$e),new ftt(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(mSt,5)}function amt(e,t,r){var o,a,c,f,p,m,y;p=r.a/2,c=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>c&&(y=c/a),f=b.Math.min(m,y),e.a+=f*(t.a-e.a),e.b+=f*(t.b-e.b)}function Qwn(e,t,r,o,a){var c,f;for(f=!1,c=l(ze(r.b,0),19);s_n(e,t,c,o,a)&&(f=!0,$0n(r,c),r.b.c.length!=0);)c=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,c;return r==0?(!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),q8(e.o,t,o)):(c=l(Nt((a=l(Vt(e,16),29),a||e.fi()),r),69),c.uk().yk(e,Ha(e),r-ln(e.fi()),t,o))}function ZY(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 umt(e,t){var r,o,a,c;if(t)a=fp(t,"x"),r=new NXe(e),y0(r.a,(Mt(a),a)),c=fp(t,"y"),o=new CXe(e),v0(o.a,(Mt(c),c));else throw Y(new xf("All edge sections need an end point."))}function cmt(e,t){var r,o,a,c;if(t)a=fp(t,"x"),r=new _Xe(e),E0(r.a,(Mt(a),a)),c=fp(t,"y"),o=new xXe(e),S0(o.a,(Mt(c),c));else throw Y(new xf("All edge sections need a start point."))}function eyn(e,t){var r,o,a,c,f,p,m;for(o=Npt(e),c=0,p=o.length;c<p;++c)fmt(t);for(m=!sf&&e.e?sf?null:e.d:null;m;){for(r=Npt(m),a=0,f=r.length;a<f;++a)fmt(t);m=!sf&&m.e?sf?null:m.d:null}}function lmt(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 tyn(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),t2n(o)&&(t||(mvn(ji(e)),t=!0),m1n(l(r.xc(o),319)))}function nyn(e){var t,r,o,a,c,f,p,m,y;return y=Pbe(e),r=e.e,c=r!=null,c&&e_(y,zF,e.e),p=e.k,f=!!p,f&&e_(y,"type",vV(e.k)),o=aO(e.j),a=!o,a&&(m=new Eb,Kl(y,dQ,m),t=new KXe(m),lo(e.j,t)),y}function ryn(e){var t,r,o,a;for(a=Lb((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(Lb(ba(a,t.jd()),61),t.kd());return(a.a+="}",a).a}function dmt(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 fmt(e){var t,r,o;t=wt(typeof console,NX)?null:new Ui,t&&(GA(),r=(o=900,o>=yg?"error":o>=900?"warn":o>=800?"info":"log"),$st(r,e.a),e.b&&Vme(t,r,e.b,"Exception: ",!0))}function hmt(e,t){var r,o,a,c,f;for(a=t==1?hee:fee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)c=l(f.Pb(),49),Fe(e.b.b,l(c.b,84)),Fe(e.b.a,l(c.b,84).d)}function pmt(e,t,r,o){var a,c,f,p,m;switch(m=e.b,c=t.d,f=c.j,p=G1e(f,m.d[f.g],r),a=br(To(c.n),c.a),c.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 iyn(e,t){var r,o,a,c;for(c=t.b.j,e.a=we(Rn,Qn,30,c.c.length,15,1),a=0,o=0;o<c.c.length;o++)r=(at(o,c.c.length),l(c.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,Gee=new r3("ALWAYS_UP",0),zee=new r3("ALWAYS_DOWN",1),Vee=new r3("DIRECTION_UP",2),qee=new r3("DIRECTION_DOWN",3),Wee=new r3("SMART_UP",4),Y$=new r3("SMART_DOWN",5)}function gmt(e){switch(e.g){case 0:return new FWe;case 1:return new KWe;case 2:return new YWe;case 3:return new Ytt;case 4:return new lst;default:throw Y(new jt(NZ+(e.f!=null?e.f:""+e.g)))}}function oyn(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,c;for(r=new uV(e);r.g==null&&!r.c?jhe(r):r.g==null||r.i!=0&&l(r.g[r.i-1],51).Ob();)if(c=l(I7(r),57),ae(c,176))for(o=l(c,176),a=0;a<t.length;a++)t[a].Jg(o)}function QY(e){var t;return e.Db&64?rY(e):(t=new ml(rY(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 syn(e){var t,r,o,a,c,f,p;for(t=new d1,o=e,a=0,c=o.length;a<c;++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 WG(t))}function ayn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(c,String.fromCharCode(t));return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function Wbe(){Wbe=K,x2e=(cj(),w$),ikt=new pt(uF,x2e),Re(1),rkt=new pt(Awe,Re(300)),Re(0),akt=new pt(_we,Re(0)),ukt=new pt(LX,Hf),okt=new pt(DX,5),ckt=w$,skt=oee}function uyn(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 cyn(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)),me(F(o,(Ie(),STe)))===me(t)&&(eme(o.n,ji(e.c.i),r),Mu(a),Fe(t.b,o))}function bmt(e){var t,r;return r=b.Math.sqrt((e.k==null&&(e.k=wge(e,new wUe)),ue(e.k)/(e.b*(e.g==null&&(e.g=yht(e,new Mue)),ue(e.g))))),t=Ln(Gs(b.Math.round(r))),t=b.Math.min(t,e.f),t}function lyn(){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 Dn((Yt(e,2),"Unknown Option: "+"X".substr(e))));t|=r}return t}function dyn(e){var t,r,o,a,c,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;)c=l(q(f),9),c.e&&(o=c.e,l1(t,o),l1(r,o));return t}function aa(){bu(),nfe.call(this),this.j=(He(),Is),this.a=new ro,new eq,this.f=(wc(2,Iy),new La(2)),this.e=(wc(4,Iy),new La(4)),this.g=(wc(4,Iy),new La(4)),this.b=new dtt(this.e,this.g)}function fyn(e,t){var r,o;return!(Ye(Ke(F(t,(Ie(),Ag))))||(o=t.c.i,e==(ic(),DI)&&o.k==(zt(),ta))||(r=l(F(o,(Be(),Cs)),166),r==xp))}function hyn(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 pyn(e,t){var r,o,a,c,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,c=o.length;a<c;++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 gyn(e,t){if(t.a)switch(l(F(t.b,(Ie(),ATe)),103).g){case 0:case 1:j0n(t);case 2:ei(new Et(null,new St(t.d,16)),new Rue),sEn(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),Une=new EO("CIRCLE_UNDERLAP",1),fke=new EO("RECTANGLE_UNDERLAP",2),Hne=new EO("INVERTED_OVERLAP",3),dke=new EO("MINIMUM_ROOT_DISTANCE",4)}function byn(e){Qme();var t,r,o,a,c;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++)c=e[r],c<0&&(c+=256),t[r*2]=kU[c>>4],t[r*2+1]=kU[c&15];return Mf(t,0,t.length)}function myn(e){var t,r,o;switch(o=e.c.length,o){case 0:return pW(),G_t;case 1:return t=l(Xmt(new V(e)),45),Dnn(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(),Io}}function wyn(e,t){var r,o,a;r=Don(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 Wrt(o))}function T1(){T1=K,XRt=(_n(),GT),ZRt=Od,WRt=Am,KRt=b2,YRt=G1,VRt=g2,Exe=v4,JRt=cv,wne=(c0e(),MRt),yne=PRt,Txe=BRt,vne=zRt,Axe=URt,_xe=HRt,Sxe=jRt,HB=FRt,zB=$Rt,RD=GRt,xxe=qRt,vxe=DRt}function mmt(e,t){var r,o,a,c,f;if(e.e<=t||ycn(e,e.g,t))return e.g;for(c=e.r,o=e.g,f=e.r,a=(c-o)/2+o;o+1<c;)r=MC(e,a,!1),r.b<=a&&r.a<=t?(f=a,c=a):o=a,a=(c-o)/2+o;return f}function yyn(e,t,r){var o;o=zwt(e,t,!0),Gbt(r,"Recursive Graph Layout",o),Vbe(t,Z(X($ke,1),Rt,528,0,[new uKe])),Gc(t,(_n(),lv))||Vbe(t,Z(X($ke,1),Rt,528,0,[new lGe])),Q0e(e,t,null,r),wmt(r)}function wmt(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 vyn(e){var t,r,o;for(o=new Du,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 ymt(e,t,r,o,a){var c,f,p,m,y,v;if(a)for(m=a.a.length,c=new Ib(m),v=(c.b-c.a)*c.c<0?(r1(),eb):new s1(c);v.Ob();)y=l(v.Pb(),15),p=f_(a,y.a),f=new vat(e,t,r,o),$yt(f.a,f.b,f.c,f.d,p)}function Kbe(e,t){var r;if(me(e)===me(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 eJ(e,t,r,o,a,c){switch(this.c=e,t.g){case 2:if(e.a.Le(a,r)<0)throw Y(new jt(hwe+a+E2t+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=c}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 Eyn(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 Syn(e,t,r){var o,a,c;for(a=new $t(qt(Df(r).a.Jc(),new L));an(a);)o=l(en(a),17),!fo(o)&&!(!fo(o)&&o.c.i.c==o.d.i.c)&&(c=fwt(e,o,r,new jZe),c.c.length>1&&Ot(t.c,c))}function vmt(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 Tyn(e){if(ae(e,144))return K2n(l(e,144));if(ae(e,236))return Zgn(l(e,236));if(ae(e,21))return nyn(l(e,21));throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[e])))))}function Ayn(e,t,r,o,a){var c,f,p;for(c=!0,f=0;f<o;f++)c=c&r[f]==0;if(a==0)ua(r,o,e,0,t),f=t;else{for(p=32-a,c=c&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 c}function Jbe(e,t,r,o){var a,c,f;if(t.k==(zt(),gi)){for(c=new $t(qt(si(t).a.Jc(),new L));an(c);)if(a=l(en(c),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 _yn(e,t,r){var o;r.Tg("YPlacer",1),e.a=ue(le(ve(t,(QS(),Pke)))),e.b=ue(le(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),Swt(e,o,0)),r.Ug()}function xyn(e,t){var r,o,a,c;return t&=63,r=e.h&Ep,t<22?(c=r>>>t,a=e.m>>t|r<<22-t,o=e.l>>t|e.m<<22-t):t<44?(c=0,a=r>>>t-22,o=e.m>>t-22|e.h<<44-t):(c=0,a=0,o=r>>>t-44),Ua(o&Hu,a&Hu,c&Ep)}function Emt(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 kyn(e){var t,r,o;for(e.k=new zhe((He(),Z(X(Ro,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=M2n(kS(e.k))}function Smt(e,t){var r,o,a;pi(e.d,t),r=new wHe,Jn(e.c,t,r),r.f=JK(t.c),r.a=JK(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 Nyn(e){var t,r,o,a,c;for(c=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<c&&(c=t);return a==sr&&(a=-1),c==sr&&(c=-1),new No(Re(a),Re(c))}function Cyn(e,t){var r,o,a,c;for(r=t.a.o.a,c=new Rf(ji(t.a).b,t.c,t.f+1),a=new DN(c);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,c,f,p,m,y;for(f=r.length,c=0,a=-1,y=cft((Yt(t,e.length+1),e.substr(t)),(RV(),g2e)),p=0;p<f;++p)m=r[p].length,m>c&&_sn(y,cft(r[p],g2e))&&(a=p,c=m);return a>=0&&(o[0]=t+c),a}function Iyn(e,t,r){var o,a,c,f,p,m,y,v;c=e.d.p,p=c.e,m=c.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?kW(e.g,a,y):kW(e.g,o,a)}function Tmt(e){var t;return e.Db&64?QY(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 Amt(e,t,r){var o,a,c,f,p;for(p=za(e.e.Ah(),t),a=l(e.g,123),o=0,f=0;f<e.i;++f)if(c=a[f],p.$l(c.Jk())){if(o==r)return _y(e,f),Mo(),l(t,69).vk()?c:c.kd();++o}throw Y(new Ia(aI+r+um+o))}function _mt(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 Ryn(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(Ri,1),Rt,1,5,[Re(t),Re(e)]))}function xmt(e,t){var r,o,a,c;for(o=0,a=e.length;o<a;o++){c=e[o];try{c[1]?c[0].Sm()&&(t=ssn(t,c)):c[0].Sm()}catch(f){if(f=ci(f),ae(f,81))r=f,F9(),Han(ae(r,477)?l(r,477).ie():r);else throw Y(f)}}return t}function K_(e,t,r){var o,a,c;for(r!=t.c+t.b.gc()&&U_n(t.a,Ihn(t,r-t.c)),c=t.a.c.p,e.a[c]=b.Math.max(e.a[c],t.a.o.a),a=l(F(t.a,(Ie(),OI)),16).Jc();a.Ob();)o=l(a.Pb(),70),Te(o,Eee,(Dt(),!0))}function Oyn(e,t){var r,o,a;a=tSn(t),Te(t,(Ie(),ite),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 Lyn(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 kmt(e,t,r){var o,a,c,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),c=o.d.i,t!=c&&(c.p<0?r.Ec(o):c.p>0&&kmt(e,c,r));t.p=0}function Dyn(e){var t,r,o,a;for(t=Lb(zn(new fc("Predicates."),"and"),40),r=!0,a=new DN(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 Nmt(e,t,r){var o,a,c;if(!(r<=t+2))for(a=(r-t)/2|0,o=0;o<a;++o)c=(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]=c}function Cmt(e,t){var r,o,a;if(t.c.length!=0){for(r=Qbt(e,t),a=!1;!r;)C7(e,t,!0),a=!0,r=Qbt(e,t);a&&C7(e,t,!1),o=DK(t),e.b&&e.b.Fg(o),e.a=Gpt(e,(at(0,t.c.length),l(t.c[0],19))),Cmt(e,o)}}function tJ(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(WTt+t+KTt));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 lq(wEe));return r}function Zbe(e,t,r){var o,a,c,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(c=a[f],m.$l(c.Jk())){if(r==o)return f;++o,p=f+1}if(r==o)return p;throw Y(new Ia(aI+r+um+o))}function Myn(e,t){var r,o,a,c;if(e.f.c.length==0)return null;for(c=new wS,o=new V(e.f);o.a<o.c.c.length;)r=l(q(o),70),a=r.o,c.b=b.Math.max(c.b,a.a),c.a+=a.b;return c.a+=(e.f.c.length-1)*t,c}function Pyn(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 jyn(e){var t,r,o,a;for(r=new Ar,mo(r,e.o),o=new L9;r.b!=0;)t=l(r.b==0?null:(un(r.b!=0),Vc(r,r.a.a)),504),a=_Et(e,t,!0),a&&Fe(o.a,t);for(;o.a.c.length!=0;)t=l(Kge(o),504),_Et(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,c,f;o=b.Math.min(e.c,t.c),c=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<c&&(r=c,c=f,f=r),mot(e,o,c,a-o,f-c)}function Imt(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 Rmt(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,WL,t$,d_t,n$,SQ,zF]),U3e=Z(X(Je,1),Pe,2,6,[OEe,"empty",WL,VL,"elementOnly"]),z3e=Z(X(Je,1),Pe,2,6,[OEe,"preserve","replace",kd]),ao=new kot}function eme(e,t,r){var o,a,c;if(t!=r){o=t;do br(e,o.c),a=o.e,a&&(c=o.d,Gw(e,c.b,c.d),br(e,a.n),o=ji(a));while(a);o=r;do Li(e,o.c),a=o.e,a&&(c=o.d,Zrt(e,c.b,c.d),Li(e,a.n),o=ji(a));while(a)}}function nJ(e,t,r,o){var a,c,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)c=f[p],Jn(o,c,new _ht(e,c,r));return a=l(Ss(ts(o.f,t)),674),a.b=0,a.c=a.f,a.c==0||VKe(l(ze(a.a,a.b),296)),a}function Omt(e){var t;this.j=new je,this.f=new hi,this.b=(t=l(md(Ro),10),new Hc(t,l(Gl(t,t.length),10),0)),this.d=we(Rn,Qn,30,(He(),Z(X(Ro,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,c;if(!e.b[t.g]){for(e.b[t.g]=!0,o=r,!o&&(o=new i6),Gn(o.b,t),c=e.a[t.g].Jc();c.Ob();)a=l(c.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 Fyn(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 $yn(e,t){var r;return e.c.length==0?!1:(r=Pgt((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 MJe(t)))}function rJ(e,t){if(ae(t,209))return ctn(e,l(t,19));if(ae(t,196))return ltn(e,l(t,127));if(ae(t,446))return utn(e,l(t,171));throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t])))))}function Lmt(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;)Qdt(this);else for(this.c=o?o.b:null;r-- >0;)zpe(this);this.b=t,this.a=null}function Byn(e,t){var r,o;t.a?fSn(e,t):(r=l(Sq(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(Eq(e.b,t.b),60),o&&e.a[o.f]==t.b&&o.a&&o.a!=t.b.a&&t.b.c.Ec(o),bV(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))&&fyt(e,t),o=Ebn(e,t),pJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.a=o}function Mmt(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))&&hyt(e,t),o=vbn(e,t),pJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.b=o}function Uyn(e,t){var r,o,a,c;for(c=new je,o=new V(t);o.a<o.c.c.length;)r=l(q(o),68),Fe(c,new Nle(r,!0)),Fe(c,new Nle(r,!1));a=new Bat(e),a.a.a.$b(),ict(c,e.b,new Ds(Z(X(yxt,1),Rt,690,0,[a])))}function Hyn(e,t){var r,o,a;t.Tg("End label pre-processing",1),r=ue(le(F(e,(Be(),o2)))),o=ue(le(F(e,ev))),a=eE(l(F(e,xc),87)),ei(bs(new Et(null,new St(e.b,16)),new dFe),new tot(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 L));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 Pmt(e,t,r){var o,a,c;for(r.yc(t,e),Fe(e.n,t),c=e.p.yg(t),t.j==e.p.zg()?Sgt(e.e,c):Sgt(e.j,c),vP(e),a=hh(Wc(Z(X(nl,1),Rt,22,0,[new LA(t),new tS(t)])));an(a);)o=l(en(a),12),r._b(o)||Pmt(e,o,r)}function zyn(e,t,r){var o,a,c;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;)c=l(Sn(o),41),Ye(Ke(F(c,(Nr(),z1))))&&(a=c);a&&Vwt(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 uqe,r=new ES(DC(e));r.e!=r.i.gc();)t=l(vY(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 Gyn(e,t){var r,o,a,c,f,p,m,y;m=l(pC(kS(t.k),we(Ro,ea,64,2,0,1)),128),y=t.g,r=kct(t,m[0]),a=xct(t,m[1]),o=MY(e,y,r,a),c=kct(t,m[1]),p=xct(t,m[0]),f=MY(e,y,c,p),o<=f?(t.a=r,t.c=a):(t.a=c,t.c=p)}function jmt(e,t,r,o,a){var c,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),c=l(Ss(ts(a.f,m)),117),c||(c=new _6(e.d),Ot(o.c,c),Pmt(c,m,a))}function vC(e){var t;At();var r,o,a,c,f,p;if(ae(e,59))for(c=0,a=e.gc()-1;c<a;++c,--a)t=e.Xb(c),e.fd(c,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,c,f,p;for(p=0,c=new iE,l1(c,t);c.b!=c.c;)for(f=l(CS(c),221),p+=X1t(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 Fmt(e,t,r){var o,a;Uht(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),Smt(this,e),o=JK(e.c),a=JK(e.d),smt(this,o,a,a),this.o=(NC(),b.Math.abs(o-a)<.2)}function $mt(e,t,r){var o,a,c,f,p,m;if(p=l(Vt(e.a,8),2014),p!=null)for(a=p,c=0,f=a.length;c<f;++c)null.Sm();o=r,e.a.Db&1||(m=new zst(e,r,t),o.bj(m)),ae(o,683)?l(o,683).dj(e.a):o.aj()==e.a&&o.cj(null)}function qyn(){var e;return PDt?l(Y_((n1(),Dl),lm),2023):(gNn(),e=l(ae(wa((n1(),Dl),lm),589)?wa(Dl,lm):new oat,589),PDt=!0,e3n(e),D3n(e),Jn((wle(),N3e),e,new pVe),jY(e),ns(Dl,lm,e),e)}function Vyn(e,t,r,o){var a;return a=_E(e,r,Z(X(Je,1),Pe,2,6,[hX,pX,gX,bX,mX,wX,yX]),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 Wyn(e,t,r,o){var a;return a=_E(e,r,Z(X(Je,1),Pe,2,6,[hX,pX,gX,bX,mX,wX,yX]),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,c,f;if(f=e.b.Ae(t),a=(o=e.a.get(f),o??we(Ri,Rt,1,0,5,1)),a.length==0)e.a.set(f,a);else if(c=Upt(e,t,a),c)return c.ld(r);return ii(a,a.length,new t8(t,r)),++e.c,++e.b.g,null}function Kyn(e){var t,r,o;for(WEn(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));Bbn(e.c),e6(o,e.b,new Ds(Z(X(nD,1),Rt,378,0,[e.c]))),uEn(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)));$bn(e.e),ict(a,e.d,new Ds(Z(X(yxt,1),Rt,690,0,[e.e])))}function Yyn(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 Iat(t)),Fe(l(Ss(ts(r.f,t)),458).b,o);return new Tu(new Zh(r))}function Jyn(e,t){var r,o,a,c,f;for(o=new gct(e.j.c.length),r=null,c=new V(e.j);c.a<c.c.c.length;)a=l(q(c),12),a.j!=r&&(o.b==o.c||awt(o,r,t),spe(o),r=a.j),f=B0t(a),f&&epe(o,f);o.b==o.c||awt(o,r,t)}function Xyn(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 Zyn(e){var t,r,o,a,c;for(t=yd(new $t(qt(Or(e).a.Jc(),new L))),a=new $t(qt(si(e).a.Jc(),new L));an(a);)o=l(en(a),17),r=o.c.i,c=yd(new $t(qt(Or(r).a.Jc(),new L))),t=b.Math.max(t,c);return Re(t)}function ome(e,t,r){var o,a,c;o=l(ve(e,(_n(),$D)),24),a=0,c=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))?c=(t.b-r.b)/2:o.Gc(m4)&&(c=t.b-r.b)),Bbe(e,a,c)}function Bmt(e,t,r,o,a,c,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),D_(e,y),P_(e,v),pg(e,T),F_(e,N),hg(e,!0),cg(e,a),e.Xk(c),Yb(e,t),o!=null&&(e.i=null,Tj(e,o))}function sme(e,t,r){if(e<0)return CC(XEt,Z(X(Ri,1),Rt,1,5,[r,Re(e)]));if(t<0)throw Y(new jt(ZEt+t));return CC("%s (%s) must not be greater than size (%s)",Z(X(Ri,1),Rt,1,5,[r,Re(e),Re(t)]))}function ame(e,t,r,o,a,c){var f,p,m,y;if(f=o-r,f<7){Ggn(t,r,o,c);return}if(m=r+a,p=o+a,y=m+(p-m>>1),ame(t,e,m,y,-a,c),ame(t,e,y,p,-a,c),c.Le(e[y-1],e[y])<=0){for(;r<o;)ii(t,r++,e[m++]);return}ngn(e,m,y,p,t,r,o,c)}function Qyn(e,t){var r,o,a,c,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),c=we(uu,Ad,30,a.c.length,16,1),Jn(e.b,f,c),r=f.a.d.p-1,o=f.c.d.p;r!=o;)r=(r+1)%a.c.length,c[r]=!0}function evn(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 tvn(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 nvn(e,t){for(e.r=new _6(e.p),AZt(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;)lrt(l(ze(e.f,0),135));for(;e.k.c.length!=0;)lrt(l(ze(e.k,0),135));return e.r}function iJ(e,t,r){var o,a,c;if(a=Nt(e.Ah(),t),o=t-e.gi(),o<0)if(a)if(a.pk())c=e.Fh(a),c>=0?e.$h(c,r):$me(e,a,r);else throw Y(new jt(R1+a.ve()+iI));else throw Y(new jt(WTt+t+KTt));else Xc(e,o,a,r)}function Umt(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 Hmt(e){var t,r,o,a;if(r=l(e,52).Yh(),r)try{if(o=null,t=Y_((n1(),Dl),Pyt(Kgn(r))),t&&(a=t.Zh(),a&&(o=a.Dl(kQt(r.e)))),o&&o!=e)return Hmt(o)}catch(c){if(c=ci(c),!ae(c,63))throw Y(c)}return e}function rvn(e,t,r){var o,a,c;r.Tg("Remove overlaps",1),r.bh(t,gve),o=l(ve(t,(aE(),l2)),19),e.f=o,e.a=SY(l(ve(t,(T1(),RD)),304)),a=le(ve(t,(_n(),Od))),ice(e,(Mt(a),a)),c=Ay(o),aEt(e,t,c,r),r.bh(t,MF)}function ivn(e){var t,r,o;if(Ye(Ke(ve(e,(_n(),UD))))){for(o=new je,r=new $t(qt(mp(e).a.Jc(),new L));an(r);)t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,hre)))&&Ot(o.c,t);return o}else return At(),At(),Io}function zmt(e){if(!e)return mQe(),Y_t;var t=e.valueOf?e.valueOf():e;if(t!==e){var r=zQ[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 Gmt(e,t,r){var o,a,c;switch(c=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,c.a),a.b>c.a&&!t&&(a.b=c.a),a.c=-(a.b-c.a)/2,r.g){case 1:a.d=-a.a;break;case 3:a.d=c.b}kJ(o),NJ(o)}function qmt(e,t,r){var o,a,c;switch(c=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,c.b),a.a>c.b&&!t&&(a.a=c.b),a.d=-(a.a-c.b)/2,r.g){case 4:a.c=-a.b;break;case 2:a.c=c.a}kJ(o),NJ(o)}function ovn(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(le(by(r,(Be(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function svn(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(le(by(r,(Be(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function avn(e,t){var r,o,a,c,f;if(!t.dc()){if(a=l(t.Xb(0),134),t.gc()==1){Rwt(e,a,a,1,0,t);return}for(r=1;r<t.gc();)(a.j||!a.o)&&(c=gmn(t,r),c&&(o=l(c.a,15).a,f=l(c.b,134),Rwt(e,a,f,r,o,t),r=o+1,a=f))}}function uvn(e){var t,r,o,a,c,f;for(f=new Tu(e.d),xi(f,new QBe),t=(B7(),Z(X($Se,1),Ce,277,0,[xee,Cee,_ee,Oee,Nee,kee,Ree,Iee])),r=0,c=new V(f);c.a<c.c.c.length;)a=l(q(c),108),o=t[r%t.length],Kvn(a,o),++r}function ume(e,t){var r,o,a,c,f,p,m,y,v,T;return v=null,T=e,f=fp(T,"x"),r=new LXe(t),Kdt(r.a,f),p=fp(T,"y"),o=new DXe(t),Ydt(o.a,p),m=fp(T,aQ),a=new MXe(t),Jdt(a.a,m),y=fp(T,sQ),c=new PXe(t),v=(Xdt(c.a,y),y),v}function Sy(e,t){cyt(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 cvn(e,t){var r,o,a;if(a=0,t.length>0)try{a=Ec(t,Qi,sr)}catch(c){throw c=ci(c),ae(c,133)?(o=c,Y(new oj(o))):Y(c)}return r=(!e.a&&(e.a=new YG(e)),e.a),a<r.i&&a>=0?l(oe(r,a),57):null}function lvn(e,t){if(e<0)return CC(XEt,Z(X(Ri,1),Rt,1,5,["index",Re(e)]));if(t<0)throw Y(new jt(ZEt+t));return CC("%s (%s) must be less than size (%s)",Z(X(Ri,1),Rt,1,5,["index",Re(e),Re(t)]))}function dvn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],c.a?zn(c.a,c.b):c.a=new fc(c.d),p3(c.a,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function fvn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],c.a?zn(c.a,c.b):c.a=new fc(c.d),p3(c.a,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function hvn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],c.a?zn(c.a,c.b):c.a=new fc(c.d),p3(c.a,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function pvn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],c.a?zn(c.a,c.b):c.a=new fc(c.d),p3(c.a,""+t);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function Vmt(e,t){var r,o,a,c,f,p;for(r=e.b.c.length,a=ze(e.b,t);t*2+1<r&&(o=(c=2*t+1,f=c+1,p=c,f<r&&e.a.Le(ze(e.b,f),ze(e.b,c))<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 oJ(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 gvn(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 bvn(e,t){var r,o,a,c,f;for(o=(!t.s&&(t.s=new ke(au,t,21,17)),t.s),c=null,a=0,f=o.i;a<f;++a)switch(r=l(oe(o,a),182),f0(rs(e,r))){case 2:case 3:!c&&(c=new je),Ot(c.c,r)}return c||(At(),At(),Io)}function Wmt(e,t,r){var o,a,c,f,p,m;for(m=Kr,c=new V(ywt(e.b));c.a<c.c.c.length;)for(a=l(q(c),180),p=new V(ywt(t.b));p.a<p.c.c.length;)f=l(q(p),180),o=rpn(a.a,a.b,f.a,f.b,r),m=b.Math.min(m,o);return m}function Ii(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 mvn(e){var t,r,o,a,c,f,p;for(o=0,r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),c=new V(t.a);c.a<c.c.c.length;)for(a=l(q(c),9),a.p=o++,p=new V(a.j);p.a<p.c.c.length;)f=l(q(p),12),f.p=o++}function wvn(e,t){hc();var r,o,a,c,f,p;for(r=null,f=t.Jc();f.Ob();)c=l(f.Pb(),134),!c.o&&(o=Ttn(c.a),a=Mon(c.a),p=new LC(o,a,null,l(c.d.a.ec().Jc().Pb(),17)),Fe(p.c,c.a),Ot(e.c,p),r&&Fe(r.d,p),r=p)}function yvn(e){var t,r,o,a,c,f;for(f=oC(e.d,e.e),c=f.Jc();c.Ob();)for(a=l(c.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&&(wyn(e,t),++e.f,++e.c)}function Kmt(e,t){var r,o;if(t.dc())return At(),At(),Io;for(o=new je,Fe(o,Re(Qi)),r=1;r<e.f;++r)e.a==null&&uyt(e),e.a[r]&&Fe(o,Re(r));return o.c.length==1?(At(),At(),Io):(Fe(o,Re(sr)),y_n(t,o))}function vvn(e,t){var r,o,a,c,f,p,m;f=t.c.i.k!=(zt(),Xr),m=f?t.d:t.c,r=Rmn(t,m).i,a=l(Ht(e.k,m),126),o=e.i[r.p].a,Wit(m.i)<(r.c?_s(r.c.a,r,0):-1)?(c=a,p=o):(c=o,p=a),Ql($l(Ul(Hl(Bl(new gl,0),4),c),p))}function Ymt(e,t,r){var o,a,c,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=OY(e,nT(ay(r,f.a))),m&&(c=(!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),Tn(c,m))}function Jmt(e,t,r){var o,a,c,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=OY(e,nT(ay(r,f.a))),m&&(c=(!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),Tn(c,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 Xmt(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 Evn(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(Ro),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 No(Re(o),Re(t))),r=a.j,o=t);IS(e.g,r,new No(Re(o),Re(t)))}function lme(e,t){var r,o,a;if(a=IE((mu(),ao),e.Ah(),t),a)Mo(),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):ogt(Gs(e))}function Svn(e){var t,r,o,a,c,f,p;for(c=new uh,r=new V(e);r.a<r.c.c.length;)t=l(q(r),135),f=t.a,p=t.b,!(c.a._b(f)||c.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),c.a.yc(a,c),a.q=o);return c}function Tvn(e,t,r){r.Tg("Eades radial",1),r.bh(t,MF),e.d=l(ve(t,(aE(),l2)),19),e.c=ue(le(ve(t,(T1(),zB)))),e.e=SY(l(ve(t,RD),304)),e.a=d1n(l(ve(t,xxe),431)),e.b=_0n(l(ve(t,Sxe),355)),c0n(e),r.bh(t,MF)}function Avn(e,t){if(t.Tg("Target Width Setter",1),Gc(e,(ef(),Lne)))Vn(e,(yh(),iv),le(ve(e,Lne)));else throw Y(new _f("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Ug()}function Zmt(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),Ii(r,(He(),Kt)),a=new aa,As(a,o),Ii(a,Qt),o}function Qmt(e,t){var r,o,a,c,f;for(e.c[t.p]=!0,Fe(e.a,t),f=new V(t.j);f.a<f.c.c.length;)for(c=l(q(f),12),o=new Vd(c.b);Ts(o.a)||Ts(o.b);)r=l(Ts(o.a)?q(o.a):q(o.b),17),a=I1n(c,r).i,e.c[a.p]||Qmt(e,a)}function e0t(e){var t,r,o,a,c,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),c=e0t(t),f=b.Math.max(c,f);return f}function xu(){xu=K,K1=new l3("OUTSIDE",0),Rp=new l3("INSIDE",1),KD=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 t0t(e,t,r){var o,a,c,f,p,m;return o=Jcn(e,(a=(e1(),c=new $N,c),r&&M7(a,r),a),t),v_(o,sp(t,qf)),E7(t,o),IEn(t,o),ume(t,o),f=t,p=m0(f,"ports"),m=new ant(e,o),pwt(m.a,m.b,p),FK(e,t,o),Yhn(e,t,o),o}function _vn(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 xvn(e){var t,r,o,a,c;if(e==null)return tu;for(c=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],c.a?zn(c.a,c.b):c.a=new fc(c.d),p3(c.a,""+x3(t));return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.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 n0t(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(le(r.mf(zu))):ue(le(r.mf(zu))):r.$f()==(He(),Wt)?-r.Kf().b:0)}function hme(e){var t,r,o,a,c;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),c=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,c,t.c.b,t.c),amt(o,l(sa(t,1),8),e.b.f),amt(c,l(sa(t,t.b-2),8),e.c.f)}function r0t(e,t){var r,o,a,c;if(a=(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i,a==0)return t.i;for(o=0,c=0,r=0;r<a;r++)c=r0t(e,l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),r),74)),0),19)),o=c<o?c: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(Wen(l(e,266).a));throw Y(new xf("Id must be a string or an integer: '"+e+"'."))}function kvn(e,t){var r,o,a,c,f,p;for(c=null,a=new wst((!e.a&&(e.a=new YG(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(RK(p),r.Jh(p))),o!=null&&wt(o,t)){c=r;break}return c}function i0t(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=Egt(this.e),this.b=Egt(this.c),r=Yw(Ri,[Pe,Rt],[5,1],5,[this.e.Pd().gc(),this.c.Pd().gc()],2),this.a=r,Kfn(this)}function o0t(e,t,r){var o,a,c,f,p;if(wc(r,"occurrences"),r==0)return p=l(py(LS(e.a),t),18),p?p.gc():0;if(f=l(py(LS(e.a),t),18),!f)return 0;if(c=f.gc(),r>=c)f.$b();else for(a=f.Jc(),o=0;o<r;o++)a.Pb(),a.Qb();return c}function Nvn(e,t,r){var o,a,c,f;return wc(r,"oldCount"),wc(0,"newCount"),o=l(py(LS(e.a),t),18),(o?o.gc():0)==r?(wc(0,"count"),a=(c=l(py(LS(e.a),t),18),c?c.gc():0),f=-a,f>0?Jce():f<0&&o0t(e,t,-f),!0):!1}function Cvn(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,c,f,p;if(p=0,e.b==0){for(f=L1t(e,!0),t=0,o=f,a=0,c=o.length;a<c;++a)r=o[a],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}else p=AQe(xK(ey(lr(nW(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,c,f,p;if(p=0,e.b==0)p=AQe(xK(ey(lr(nW(e.a),new Xg),new CN)));else{for(f=D1t(e,!0),t=0,o=f,a=0,c=o.length;a<c;++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 Ivn(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 s0t(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++)s0t(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 Rvn(e,t){var r,o,a,c;for(c=l(Wo(e.b,t),129),r=c.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:c.n.c=e.s;break;case 4:c.n.b=e.s}}function Ovn(e,t){var r,o,a;return r=l(F(t,(ed(),AT)),15).a-l(F(e,AT),15).a,r==0?(o=Li(To(l(F(e,(h1(),tD)),8)),l(F(e,SI),8)),a=Li(To(l(F(t,tD),8)),l(F(t,SI),8)),yr(o.a*o.b,a.a*a.b)):r}function Lvn(e,t){var r,o,a;return r=l(F(t,(js(),FB)),15).a-l(F(e,FB),15).a,r==0?(o=Li(To(l(F(e,(Nr(),ND)),8)),l(F(e,ck),8)),a=Li(To(l(F(t,ND),8)),l(F(t,ck),8)),yr(o.a*o.b,a.a*a.b)):r}function a0t(e){var t,r;return r=new Zg,r.a+="e_",t=zhn(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+=jX,r),p7(e.d)),zn(ba((r.a+="[",r),e.d.i),"]")),r.a}function u0t(e){switch(e.g){case 0:return new zWe;case 1:return new GWe;case 2:return new tKe;case 3:return new nKe;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 c;switch(c=0,a.g){case 1:c=b.Math.max(0,t.b+e.b-(r.b+o));break;case 3:c=b.Math.max(0,-e.b-o);break;case 2:c=b.Math.max(0,-e.a-o);break;case 4:c=b.Math.max(0,t.a+e.a-(r.a+o))}return c}function c0t(e,t,r){var o,a,c,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),c=f_(r,f.a),hEe in c.a||dQ in c.a?BTn(e,c,t):l3n(e,c,t),Vtn(l(Ht(e.c,B_(c)),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&&(Mo(),t.jk()==JAt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function bme(e,t){var r,o,a,c;if(dr(e),e.c!=0||e.a!=123)throw Y(new Dn(jn((Cn(),wAt))));if(c=t==112,o=e.d,r=KA(e.i,125,o),r<0)throw Y(new Dn(jn((Cn(),yAt))));return a=yl(e.i,o,r),e.d=r+1,ldt(a,c,(e.e&512)==512)}function Dvn(e){var t,r,o,a,c,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,c=Or(o),r=new $t(qt(c.a.Jc(),new L));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 Mvn(e,t){var r,o,a;if(!t)wK(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)),wK(e,a),y_(e,a);break}o+="[]"}else a=Yce((np(t),t.o)),wK(e,a),y_(e,a);e.fl(t)}function TC(e,t,r,o,a){var c,f,p,m;return m=TV(e,l(a,57)),me(m)!==me(a)?(p=l(e.g[r],76),c=gh(t,m),w3(e,r,qY(e,r,c)),Ju(e.e)&&(f=c1(e,9,c.Jk(),a,m,o,!1),kbe(f,new cp(e.e,9,e.c,p,c,o,!1)),rK(f)),m):a}function l0t(e,t){var r,o,a;try{return a=wcn(e.a,t),a}catch(c){if(c=ci(c),ae(c,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(c)}}function sJ(e,t){var r,o,a;if(a=IE((mu(),ao),e.Ah(),t),a)return Mo(),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()+nQ))}function Pvn(){yle();var e;return pDt?l(Y_((n1(),Dl),_l),2017):(er(dm,new oVe),Okn(),e=l(ae(wa((n1(),Dl),_l),552)?wa(Dl,_l):new eat,552),pDt=!0,R3n(e),j3n(e),Jn((wle(),N3e),e,new Eqe),ns(Dl,_l,e),e)}function jvn(e,t){var r,o,a,c;e.j=-1,Ju(e.e)?(r=e.i,c=e.i!=0,r6(e,t),o=new cp(e.e,3,e.c,null,t,r,c),a=t.xl(e.e,e.c,null),a=Pbt(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 Fvn(e,t,r){var o,a,c,f,p;f=e.c,p=e.d,c=xs(Z(X($i,1),Pe,8,0,[f.i.n,f.n,f.a])).b,a=(c+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 aJ(e,t,r){var o;if(++e.j,t>=e.i)throw Y(new Ia(hQ+t+um+e.i));if(r>=e.i)throw Y(new Ia(pQ+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 $vn(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&&me(F(r.b,(js(),Jf)))!==me(F(r.c,Jf))&&!fE(new Et(null,new St(a,16)),new WJe(r))&&Ot(a.c,r);return xi(a,new EHe),a}function d0t(e,t,r){var o,a,c,f;return ae(t,156)&&ae(r,156)?(c=l(t,156),f=l(r,156),e.a[c.a][f.a]+e.a[f.a][c.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 f0t(e,t){var r,o,a,c,f,p,m,y;for(y=ue(le(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,c=o.a-r.b-m,c<0&&(o.a-=c),f=t.f,f.a=b.Math.max(f.a,o.a+a.a),m=o.a+a.a+r.c+y}function Bvn(e,t){var r,o,a,c,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),c=o.b,f=a.b,r=gxn(c,f),r>=0?r:(p=O3(Li(new Me(f.c+f.b/2,f.d+f.a/2),new Me(c.c+c.b/2,c.d+c.a/2))),-(qyt(c,f)-1)*p)}function Uvn(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 Vtt(e,t)),ei(new Et(null,(!r.n&&(r.n=new ke(Rs,r,1,7)),new St(r.n,16))),new Wtt(e,t)),o=l(ve(r,(_n(),p2)),79),o&&yge(o,e,t)}function O0(e,t,r){var o,a,c;if(c=IE((mu(),ao),e.Ah(),t),c)return Mo(),l(c,69).vk()||(c=MS(rs(ao,c))),a=(o=e.Fh(c),l(o>=0?e.Ih(o,!0,!0):O0(e,c,!0),164)),l(a,222).Ql(t,r);throw Y(new jt(R1+t.ve()+nQ))}function mme(e,t,r,o){var a,c,f,p,m;if(a=e.d[t],a){if(c=a.g,m=a.i,o!=null){for(p=0;p<m;++p)if(f=l(c[p],138),f.yi()==r&&pr(o,f.jd()))return f}else for(p=0;p<m;++p)if(f=l(c[p],138),me(f.jd())===me(o))return f}return null}function Hvn(e,t){var r,o,a,c,f;for(o=(!t.s&&(t.s=new ke(au,t,21,17)),t.s),c=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:{!c&&(c=new je),Ot(c.c,r);break}}return c||(At(),At(),Io)}function eL(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(!$0t(e,0)){for(r=1;!$0t(e,r);)++r;return dE(u1n(r*t),eL(fpe(e,r),t))}return gwn(e,t)}function zvn(e,t){var r,o,a;if(me(e)===me(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],!(me(o)===me(a)||o!=null&&pr(o,a)))return!1;return!0}function h0t(e){gle();var t,r,o;for(this.b=zkt,this.c=(vi(),hf),this.f=(qet(),Hkt),this.a=e,tle(this,new lG),P7(this),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),84),r.d||(t=new pY(Z(X(dee,1),Rt,84,0,[r])),Fe(e.a,t))}function p0t(e){Che();var t,r;for(this.b=Ext,this.c=Txt,this.g=(Vet(),vxt),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&&Prt(Hft(new Oce,Z(X(g$,1),Rt,60,0,[t])),e),t.e=new IP(t.d)}function Gvn(e,t,r){var o,a,c,f,p,m;if(!e||e.c.length==0)return null;for(c=new qat(t,!r),a=new V(e);a.a<a.c.c.length;)o=l(q(a),70),Ybe(c,(KN(),new _9(o)));return f=c.i,f.a=(m=c.n,c.e.b+m.d+m.a),f.b=(p=c.n,c.e.a+p.b+p.c),c}function g0t(e){var t,r,o,a,c,f,p;for(p=QO(e.a),ode(p,new NFe),r=null,a=p,c=0,f=a.length;c<f&&(o=a[c],o.k==(zt(),mi));++c)t=l(F(o,(Ie(),Hs)),64),!(t!=(He(),Kt)&&t!=Qt)&&(r&&l(F(r,RT),16).Ec(o),r=o)}function qvn(e,t,r){var o,a,c,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 MV(m.c,f),Nb(e,o++,a)),p=y+r,p<=m.a&&(c=new MV(p,m.a),ry(o,e.c.length),t3(e.c,o,c)))}function b0t(e,t,r){var o,a,c,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);)c=l(Sn(f.a),65).c,Wr(a,c,a.c.b,a.c);b0t(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 m0t(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 w0t(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),gK(e,t.d),r=(o=t.c,o??t.zb),mK(e,r==null||wt(r,t.zb)?null:r)):(Ma(e,null),gK(e,0),mK(e,null))}function y0t(e){!UQ&&(UQ=$Nn());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 Sun(r)});return'"'+t+'"'}function yme(e,t,r,o,a,c){var f,p,m,y,v;if(a!=0)for(me(e)===me(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,c?a:0),Array.prototype.splice.apply(m,v),p=f,o+=a}function Vvn(e){var t,r,o,a,c,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;)c=l(q(f),156),o[c.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 Wvn(e,t){var r,o,a,c,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(Pre,yQ,420,f-1,0,1),ua(r,0,o,0,t),c=f-t-1,c>0&&ua(r,t+1,o,t,c)),H_(e,o),$mt(e,t,a),a}function v0t(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),Hre=l(oe(Ne(Ks.qb),4),38),zre=l(oe(Ne(Ks.qb),5),20),m7(XT),m7(JT),m7(Hre),m7(zre),wDt=new Ds(Z(X(au,1),UE,182,0,[XT,JT]))}function E0t(e,t){var r;this.d=new FN,this.b=t,this.e=new So(t.Jf()),r=e.u.Gc((xu(),KD)),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 S0t(e,t){var r,o,a,c;for(r=e.o.a,c=l(l(wr(e.r,t),24),85).Jc();c.Ob();)a=l(c.Pb(),116),a.e.a=(o=a.b,o.nf((_n(),zu))?o.$f()==(He(),Kt)?-o.Kf().a-ue(le(o.mf(zu))):r+ue(le(o.mf(zu))):o.$f()==(He(),Kt)?-o.Kf().a:r)}function T0t(e){var t,r,o,a,c,f,p;if(o=e.a.c.length,o>0)for(f=e.c.d,p=e.d.d,a=tp(Li(new Me(p.a,p.b),f),1/(o+1)),c=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=c.a+a.a,t.d.b=c.b+a.b,c.a+=a.a,c.b+=a.b}function A0t(e,t){var r,o,a,c;r=l(F(e,(Be(),xc)),87),c=l(ve(t,rk),64),a=l(F(e,Zr),103),a!=(qi(),pf)&&a!=W1?c==(He(),Is)&&(c=_0e(t,r),c==Is&&(c=WS(r))):(o=Rvt(t),o>0?c=WS(r):c=P6(WS(r))),Vn(t,rk,c)}function _0t(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 Kvn(e,t){var r,o,a,c,f;for(f=e.j,t.a!=t.b&&xi(f,new eUe),a=f.c.length/2|0,o=0;o<a;o++)c=(at(o,f.c.length),l(f.c[o],114)),c.c&&Ii(c.d,t.a);for(r=a;r<f.c.length;r++)c=(at(r,f.c.length),l(f.c[r],114)),c.c&&Ii(c.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 Yvn(e,t,r){var o,a,c;return o=e.c[t.c.p][t.p],a=e.c[r.c.p][r.p],o.a!=null&&a.a!=null?(c=XV(o.a,a.a),c<0?sL(e,t,r):c>0&&sL(e,r,t),c):o.a!=null?(sL(e,t,r),-1):a.a!=null?(sL(e,r,t),1):0}function x0t(e){CW();var t,r,o,a,c,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;)c=l(q(f),9),p=e.g[c.p],t=l(Wd(r,p),16),t||(t=new je,Jb(r,p,t)),t.Ec(c);return r}function Jvn(e,t){var r,o,a,c,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;)c=l(Sn(f),41),e.a[c.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 k0t(e,t){var r,o,a,c;e.Nj()?(r=e.Cj(),c=e.Oj(),++e.j,e.oj(r,e.Xi(r,t)),o=e.Gj(3,null,t,r,c),e.Kj()?(a=e.Lj(t,null),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(Gst(e,t),e.Kj()&&(a=e.Lj(t,null),a&&a.mj()))}function vme(e,t,r){var o,a,c;e.Nj()?(c=e.Oj(),L6(e,t,r),o=e.Gj(3,null,r,t,c),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)):(L6(e,t,r),e.Kj()&&(a=e.Lj(r,null),a&&a.mj()))}function N7(e,t){var r,o,a,c,f;for(f=za(e.e.Ah(),t),a=new m9,r=l(e.g,123),c=e.i;--c>=0;)o=r[c],f.$l(o.Jk())&&Tn(a,o);!IEt(e,a)&&Ju(e.e)&&DA(e,t.Hk()?c1(e,6,t,(At(),Io),null,-1,!1):c1(e,t.rk()?2:1,t,null,null,-1,!1))}function Xvn(e,t){var r,o,a,c,f;return e.a==(W_(),NI)?!0:(c=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=c-(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 N0t(e,t,r){var o,a,c,f,p,m;for(o=0,m=r,t||(o=r*(e.c.length-1),m*=-1),c=new V(e);c.a<c.c.c.length;){for(a=l(q(c),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 C0t(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: ",wq(t,e.s),t.a+=", upperBound: ",wq(t,e.t),t.a+=")",t.a)}function I0t(e,t,r,o,a,c,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,c),D_(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(),tY(e,!1),e}function R0t(e,t){var r,o,a,c;return r=l(wa(e.a,t),515),r||(o=new GW(t),a=(YP(),sf?null:o.c),c=yl(a,0,b.Math.max(0,j8(a,Qa(46)))),arn(o,R0t(e,c)),(sf?null:o.c).length==0&&cit(o,new vr),ns(e.a,sf?null:o.c,o),o)}function Zvn(e,t){var r,o;return gr(e,(Ie(),r2))?gr(t,r2)?(r=le(F(e,r2)),o=le(F(t,r2)),r!=null&&o!=null?yr((Mt(r),r),(Mt(o),o)):r!=null?-1:o!=null?1:0):-1:1}function O0t(){this.a=new JGe,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,c,f,p,m;return p=e.nl(r),p!=r?(f=e.g[t],m=p,w3(e,t,e.Xi(t,m)),c=f,e.Pi(t,m,c),e.$k()&&(o=r,a=e.Mj(o,null),!l(p,52).Mh()&&(a=e.Lj(m,a)),a&&a.mj()),Ju(e.e)&&DA(e,e.Gj(9,r,p,t,!1)),p):r}function Qvn(e,t){var r,o,a,c;for(o=new V(e.a.a);o.a<o.c.c.length;)r=l(q(o),197),r.g=!0;for(c=new V(e.a.b);c.a<c.c.c.length;)a=l(q(c),84),a.k=Ye(Ke(e.e.Kb(new No(a,t)))),a.d.g=a.d.g&Ye(Ke(e.e.Kb(new No(a,t))));return e}function L0t(e,t,r){var o,a,c,f,p;if(!e.d[r.p]){for(a=new $t(qt(Or(r).a.Jc(),new L));an(a);){for(o=l(en(a),17),p=o.d.i,f=new $t(qt(si(p).a.Jc(),new L));an(f);)c=l(en(f),17),c.c.i==t&&(e.a[c.p]=!0);L0t(e,t,p)}e.d[r.p]=!0}}function eEn(e,t){var r,o,a,c,f,p,m;if(o=dgt(e.Db&254),o==1)e.Eb=null;else if(c=HS(e.Eb),o==2)a=DY(e,t),e.Eb=c[a==0?1:0];else{for(f=we(Ri,Rt,1,o-1,5,1),r=2,p=0,m=0;r<=128;r<<=1)r==t?++p:e.Db&r&&(f[m++]=c[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 tEn(e,t,r,o,a){var c,f,p,m;if(me(e)===me(t)&&o==a){jyt(e,o,r);return}for(p=0;p<o;p++){for(f=0,c=e[p],m=0;m<a;m++)f=Ao(Ao(wo(Gi(c,$o),Gi(t[m],$o)),Gi(r[p+m],$o)),Gi(Ln(f),$o)),r[p+m]=Ln(f),f=Rb(f,32);r[p+a]=Ln(f)}}function D0t(e){var t,r,o,a,c;if(r=(t=l(md(Ro),10),new Hc(t,l(Gl(t,t.length),10),0)),c=l(F(e,(Ie(),Nu)),9),c)for(a=new V(c.j);a.a<a.c.c.length;)o=l(q(a),12),me(F(o,mr))===me(e)&&v3(new Vd(o.b))&&Jl(r,o.j);return r}function nEn(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(),Tee),a);break;case 1:case 3:ig(e,t,(Xl(),Hy),null)}}function M0t(e,t){t.b!=0&&(isNaN(e.s)?e.s=ue((un(t.b!=0),le(t.a.a.c))):e.s=b.Math.min(e.s,ue((un(t.b!=0),le(t.a.a.c)))),isNaN(e.c)?e.c=ue((un(t.b!=0),le(t.c.b.c))):e.c=b.Math.max(e.c,ue((un(t.b!=0),le(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 uJ(e,t){var r,o,a,c;e.Nj()?(r=e.i,c=e.Oj(),r6(e,t),o=e.Gj(3,null,t,r,c),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 rEn(e,t){var r,o,a,c;if(c=qO(e.a,t.b),!c)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),lpn(t.b,r))nen(e.b.a,t.b,r),a=!0;else if(a)break}function iEn(e){var t;if(!e.a)throw Y(new es("IDataType class expected for layout option "+e.f));if(t=_ln(e.a),t==null)throw Y(new es("Couldn't create new instance of property '"+e.f+"'. "+dTt+(np(u5),u5.k)+eEe));return l(t,419)}function cJ(e){var t,r,o,a,c;return c=e.Mh(),c&&c.Sh()&&(a=w1(e,c),a!=c)?(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,c,a)),a):c}function Tme(e,t){var r,o,a,c,f;for(c=e.b.Ae(t),o=(r=e.a.get(c),r??we(Ri,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,qnn(e.a,c)):o.splice(f,1),--e.c,++e.b.g,a.kd();return null}function P0t(e){var t,r,o,a,c,f,p,m;for(f=0,c=e.f.e,o=0;o<c.c.length;++o)for(p=(at(o,c.c.length),l(c.c[o],156)),a=o+1;a<c.c.length;++a)m=(at(a,c.c.length),l(c.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 oEn(e,t){var r;if(!gr(t,(Be(),Cs))&&(r=Umn(l(F(t,MSe),368),l(F(e,Cs),166)),Te(t,MSe,r),!an(new $t(qt(Df(t).a.Jc(),new L)))))switch(r.g){case 1:Te(t,Cs,(ic(),DI));break;case 2:Te(t,Cs,(ic(),MI))}}function sEn(e,t){var r;vTn(e),e.a=(r=new hq,ei(new Et(null,new St(t.d,16)),new uJe(r)),r),DTn(e,l(F(t.b,(Be(),wte)),349)),Ibn(e),pEn(e),qmn(e),Rbn(e),Oxn(e,t),ei(bs(new Et(null,Zut(Gsn(e.b).a)),new FBe),new $Be),t.a=!1,e.a=null}function Ame(){Ame=K,nRt=new pt(sve,(Dt(),!1)),rRt=new pt(ave,7),Re(0),aRt=new pt(uve,Re(0)),oRt=new pt(cve,Re(-1)),Y_e=(tC(),lne),uRt=new pt(lve,Y_e),W_e=(eC(),kD),iRt=new pt(dve,W_e),K_e=(FP(),dne),sRt=new pt(fve,K_e)}function j0t(){Ube.call(this,Dx,(e1(),MLt)),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(wSt,0),yU=new bS("INSIDE_SELF_LOOPS",1),o5=new bS("MULTI_EDGES",2),i5=new bS("EDGE_LABELS",3),Lre=new bS("PORTS",4),wU=new bS("COMPOUND",5),mU=new bS("CLUSTERS",6),Ore=new bS("DISCONNECTED",7)}function F0t(e,t,r){var o,a,c;e.Nj()?(c=e.Oj(),++e.j,e.oj(t,e.Xi(t,r)),o=e.Gj(3,null,r,t,c),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 $0t(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=Aht(e),a<o)return!1;o==a?r=-r:r=~r}return(r&t)!=0}function B0t(e){var t,r,o,a,c;if(a=new je,c=Uyt(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),me(F(r,mr))===me(e)&&(c=b.Math.max(c,Uyt(r,a)));return a.c.length==0||Te(e,QE,c),c!=-1?a:null}function aEn(e,t,r,o){var a;l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),a=Li(To(l(r.b,68).c),l(o.b,68).c),X8(a,Wmt(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),Da(o.a,new yfe(e,t,o))}function _me(e,t){var r,o,a,c,f,p,m;if(c=t.e,c){for(r=cJ(c),o=l(e.g,686),f=0;f<e.i;++f)if(m=o[f],NY(m)==r&&(a=(!m.d&&(m.d=new yi(Go,m,1)),m.d),p=l(r.Jh(EJ(c,c.Cb,c.Db>>16)),16).bd(c),p<a.i))return _me(e,l(oe(a,p),88))}return t}function _(e,t,r){var o=a$,a,c=o[e],f=c instanceof Array?c[0]:null;c&&!f?h=c:(h=(a=t&&t.prototype,!a&&(a=a$[t]),xun(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=xpn(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(ksn(t.b),51));e.d=t.d}}return!0}function xme(e,t){var r,o,a,c;for(a=1,t.j=!0,c=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,c=Vj(r,t),r.f?a+=xme(e,c):!c.j&&r.a==r.e.e-r.d.e&&(r.f=!0,pi(e.p,r),a+=xme(e,c)));return a}function uEn(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 U0t(e,t,r){var o,a,c,f,p,m;c=l(ze(t.e,0),17).c,o=c.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),c),p==gi?Te(e,(Ie(),Nl),l(F(f,Nl),12)):Te(e,(Ie(),Nl),m)}function H0t(e,t){var r,o,a,c,f,p;for(c=new V(e.b);c.a<c.c.c.length;)for(a=l(q(c),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 L));an(o);)r=l(en(o),17),Jht(r,t)}function cEn(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)),opn(o)&&(iwn(o),Ot(r.c,o),Mu(a));r.c.length==0||Te(e,(Ie(),nte),r),t.Ug()}function kme(e){var t,r,o;this.c=e,o=l(F(e,(Be(),xc)),87),t=ue(le(F(e,aB))),r=ue(le(F(e,qAe))),o==(vi(),as)||o==fs||o==hf?this.b=t*r:this.b=1/(t*r),this.j=ue(le(F(e,tv))),this.e=ue(le(F(e,vm))),this.f=e.b.c.length}function lEn(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 L))),e.k[t.p]=yd(new $t(qt(Or(t).a.Jc(),new L)))}function dEn(e){var t,r,o,a,c,f;for(a=0,e.q=new je,t=new hi,f=new V(e.p);f.a<f.c.c.length;){for(c=l(q(f),9),c.p=a,o=new $t(qt(Or(c).a.Jc(),new L));an(o);)r=l(en(o),17),pi(t,r.d.i);t.a.Ac(c)!=null,Fe(e.q,new Kw(t)),t.a.$b(),++a}}function Nme(e,t){var r,o,a,c,f;return t&=63,r=e.h,o=(r&EL)!=0,o&&(r|=-1048576),t<22?(f=r>>t,c=e.m>>t|r<<22-t,a=e.l>>t|e.m<<22-t):t<44?(f=o?Ep:0,c=r>>t-22,a=e.m>>t-22|r<<44-t):(f=o?Ep:0,c=o?Hu:0,a=r>>t-44),Ua(a&Hu,c&Hu,f&Ep)}function fEn(e,t){var r;switch(M3(e.a),pc(e.a,(g7(),Kne),(X9(),ere)),pc(e.a,Yne,(Z9(),tre)),pc(e.a,Jne,(Q9(),nre)),l(ve(t,(QS(),Qne)),389).g){case 1:r=(w6(),rre);break;case 0:default:r=(w6(),ire)}return pc(e.a,Xne,r),FC(e.a,t)}function z0t(e,t){var r,o,a,c,f,p,m,y,v;if(e.a.f>0&&ae(t,45)&&(e.a.Zj(),y=l(t,45),m=y.jd(),c=m==null?0:Rr(m),f=Yde(e.a,c),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()==c&&a.Fb(y))return z0t(e,y),!0}return!1}function hEn(e){var t,r,o,a,c,f,p;if(t=e.ni(_l),t&&(p=In(Td((!t.b&&(t.b=new Zu((_t(),Oo),zs,t)),t.b),"settingDelegates")),p!=null)){for(r=new je,a=ky(p,"\\w+"),c=0,f=a.length;c<f;++c)o=a[c],Ot(r.c,o);return r}return At(),At(),Io}function pEn(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:_Nt:kNt:xNt:ANt),r_(e,o,r[0],(T0(),Z0),0),r_(e,o,r[1],P1,1),r_(e,o,r[2],Q0,1)}function gEn(e,t){var r,o;r=KTn(t),jSn(e,t,r),Bbt(e.a,l(F(ji(t.b),(Ie(),LT)),237)),gAn(e),X0n(e,t),o=we(Rn,Qn,30,t.b.j.c.length,15,1),UJ(e,t,(He(),Wt),o,r),UJ(e,t,Qt,o,r),UJ(e,t,dn,o,r),UJ(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,c,f;if(me(t)===me(e))return!0;if(!ae(t,16)||(f=l(t,16),e.gc()!=f.gc()))return!1;for(c=f.Jc(),o=e.Jc();o.Ob();)if(r=o.Pb(),a=c.Pb(),!(me(r)===me(a)||r!=null&&pr(r,a)))return!1;return!0}function bEn(e,t){var r,o,a,c;for(c=l(Au(bs(bs(new Et(null,new St(t.b,16)),new FFe),new $Fe),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),c.Ic(new BFe),r=0,a=c.Jc();a.Ob();)o=l(a.Pb(),12),o.p==-1&&Ome(e,o,r++)}function mEn(e,t){var r,o,a,c,f;for(t.Tg("Port side processing",1),f=new V(e.a);f.a<f.c.c.length;)a=l(q(f),9),hvt(a);for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),c=new V(r.a);c.a<c.c.c.length;)a=l(q(c),9),hvt(a);t.Ug()}function wEn(e,t){var r,o,a,c,f,p;for(o=new d1,f=VP(new Ds(e.g)),c=f.a.ec().Jc();c.Ob();){if(a=l(c.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 yEn(e,t){var r,o,a,c,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,c=An(r.d,0);c.b!=c.d.c;)a=l(Sn(c),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 Tnn(e,l(t,74));throw Y(new jt(Mx+Qd(new Ds(Z(X(Ri,1),Rt,1,5,[t])))))}function vEn(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,c;for(t.p=r,c=hh(Wc(Z(X(nl,1),Rt,22,0,[new LA(t),new tS(t)])));an(c);)o=l(en(c),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 G0t(e){var t,r,o,a,c;if(a=l(Au($he(Hhe(e)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),o=jE,a.gc()>=2)for(r=a.Jc(),t=le(r.Pb());r.Ob();)c=t,t=le(r.Pb()),o=b.Math.min(o,(Mt(t),t-(Mt(c),c)));return o}function EEn(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,LF)&&me(F(r.b,(js(),Jf)))!==me(F(r.c,Jf))&&!fE(new Et(null,new St(a,16)),new KJe(r))&&Ot(a.c,r);return xi(a,new _He),a}function SEn(e,t){var r,o,a;if(me(t)===me(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 Dbn(e.Jc(),o.Jc())}function TEn(e,t,r,o,a,c){var f,p,m,y;for(p=!BA(lr(e.Mc(),new RA(new QFe))).zd((_b(),TT)),f=e,c==(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 q0t(e,t,r){var o,a,c,f,p,m,y;if(r)for(c=r.a.length,o=new Ib(c),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=Bfn(sp(m,cQ),t),Jn(e.k,y,m),a=qf in m.a,a&&v_(y,sp(m,qf)),E7(m,y),ume(m,y))}function AEn(e,t,r){var o,a,c,f,p;if(p=r,!p&&(p=Rfe(new sS,0)),p.Tg(X2t,1),Jvt(e.c,t),f=Lkn(e.a,t),f.gc()==1)Cvt(l(f.Xb(0),37),p);else for(c=1/f.gc(),a=f.Jc();a.Ob();){if(o=l(a.Pb(),37),r.Zg())return;Cvt(o,p.dh(c))}RQt(e.a,f,t),iTn(t),p.Ug()}function V0t(e,t,r){var o,a,c,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();)c=l(f.Pb(),60),c!=a&&(p=PS(c),p.f.d?(c.d.d+=o+nf,c.d.a-=o+nf):p.f.a&&(c.d.a-=o+nf))}function _En(e,t,r,o){var a,c,f,p,m,y,v,T;a=r,v=t,c=v;do c=e.a[c.p],p=(T=e.g[c.p],ue(e.p[T.p])+ue(e.d[c.p])-c.d.d),m=zfn(c,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,c,m))));while(v!=c);return a}function xEn(e,t,r,o){var a,c,f,p,m,y,v,T;a=r,v=t,c=v;do c=e.a[c.p],f=(T=e.g[c.p],ue(e.p[T.p])+ue(e.d[c.p])+c.o.b+c.d.a),m=Zhn(c,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,c,m))));while(v!=c);return a}function W0t(e,t){var r;if(t.Tg("Equal Whitespace Eliminator",1),Gc(e,(yh(),VB)))ign(l(ve(e,VB),16),ue(le(ve(e,$T))),(r=ue(le(ve(e,a4))),ue(le(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(),Lh),Rg,e,0)),Td(e.o,t)),o??(r=t.Rg(),ae(r,4)&&(r==null?(!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),Qj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Lh),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 kEn(e,t){var r,o,a,c,f,p,m;if(!t.f)throw Y(new jt("The input edge is not a tree edge."));for(c=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,oJ(e,p,t)&&!oJ(e,m,t)&&(f=m.e-p.e-r.a,f<a&&(a=f,c=r));return c}function NEn(e){var t,r,o,a,c,f;if(!(e.f.e.c.length<=1)){t=0,a=P0t(e),r=Kr;do{for(t>0&&(a=r),f=new V(e.f.e);f.a<f.c.c.length;)c=l(q(f),156),!Ye(Ke(F(c,(G6(),F2e))))&&(o=$An(e,c),br(wd(c.d),o));r=P0t(e)}while(!Wsn(e,t++,a,r))}}function CEn(e,t){var r,o,a,c,f;for(c=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=c:e.a==Vx||e.i==(He(),Kt)?a.a=c+e.j.a-r.o.a:a.a=c+(e.j.a-r.o.a)/2,a.b=f,br(a,t),f+=r.o.b+e.e}function K0t(e){var t,r,o,a;for(a=0,t=l(ve(e,(_n(),oLt)),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 IEn(e,t){var r,o,a,c,f,p,m,y,v,T;y=e,m=B3(y,"individualSpacings"),m&&(o=Gc(t,(_n(),qT)),f=!o,f&&(a=new RG,Vn(t,qT,a)),p=l(ve(t,qT),380),T=m,c=null,T&&(c=(v=SK(T,we(Je,Pe,2,0,6,1)),new vq(T,v))),c&&(r=new hnt(T,p),lo(c,r)))}function REn(e,t){var r,o,a,c,f,p,m,y,v,T,N;return m=null,T=e,v=null,(rAt in T.a||iAt in T.a||HF in T.a)&&(y=null,N=Cge(t),f=B3(T,rAt),r=new OXe(N),_gt(r.a,f),p=B3(T,iAt),o=new UXe(N),xgt(o.a,p),c=m0(T,HF),a=new GXe(N),y=(Dbt(a.a,c),c),v=y),m=v,m}function OEn(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),_ut(e,r.a.jd())!=l(r.a.kd(),18).gc())return!1;return!0}return!1}function LEn(e,t){var r,o,a,c;for(c=new V(t.a);c.a<c.c.c.length;)for(a=l(q(c),9),Te(a,(Ie(),sB),(Dt(),!1)),Te(a,DT,Re(-1)),Te(a,LI,Re(-1)),e.d.a.c.length=0,o=new $t(qt(Df(a).a.Jc(),new L));an(o);)r=l(en(o),17),Te(r,KNt,!1)}function DEn(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 lJ(e){var t,r,o,a,c,f,p,m;for(a=Kr,o=Di,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;)c=l(q(f),9),m=ue(e.p[c.p]),p=m+ue(e.b[e.g[c.p].p]),a=b.Math.min(a,m),o=b.Math.max(o,p);return o-a}function Y0t(e,t){var r,o,a,c,f;return c=t.a,c.c.i==t.b?f=c.d:f=c.c,c.c.i==t.b?o=c.c:o=c.d,a=h1n(e.a,f,o),a>0&&a<jE?(r=_En(e.a,o.i,a,e.c),kft(e.a,o.i,-r),r>0):a<0&&-a<jE?(r=xEn(e.a,o.i,-a,e.c),kft(e.a,o.i,r),r>0):!1}function MEn(e,t,r,o){var a,c,f,p,m,y,v,T;for(a=(t-e.d)/e.c.c.length,c=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+c*a),gu(v,v.j+o*r),Hb(v,v.g+a),Ub(v,e.a),++c,p=v.g,f=v.f,ome(v,new Me(p,f),new Me(y,m))}function J0t(e,t){var r,o,a,c,f,p,m,y;for(o=new $t(qt(mp(t).a.Jc(),new L));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,c=y.j,E0(f,p),S0(f,m),y0(f,a),v0(f,c),J0t(e,y)}function PEn(e){var t,r,o,a,c,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++)),c=n0e(co(e,o++)),f[r]=(t<<4|c)<<24>>24;return f}function jEn(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=hY(".",[r,hY("$",o)]),e.b=hY(".",[r,hY(".",o)]),e.k=o[o.length-1]}function FEn(e,t){var r,o,a,c,f;for(f=null,c=new V(e.e.a);c.a<c.c.c.length;)if(a=l(q(c),126),a.b.a.c.length==a.g.a.c.length){for(o=a.e,f=Nyn(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 Lme(e,t,r){var o,a,c,f,p,m,y,v;y=l(r,150),v=Rme(e,t),c=null,o=null,v&&(o=w7(e,v,t.i)),o!=null?c=o:(p=t.i,c=p),Mb(y,"x",c),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,aQ,t.g),Mb(y,sQ,t.f)}function X0t(e){jJ();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=Mln(k3e,t),a?r!=null&&(a=Cpt(a,(Mt(r),r))):(a=_3n(t),Kln(k3e,t,a),r!=null&&(a=Cpt(a,r))),a}function Dme(e,t,r,o){var a,c,f,p,m;for(a=l0e(e,t),p=0,m=a.gc();p<m;++p)if(c=l(a.Xb(p),182),wt(o,u_(rs(e,c)))){if(f=WO(rs(e,c)),r==null){if(f==null)return c}else if(wt(r,f))return c}return null}function Mme(e,t,r,o){var a,c,f,p,m;for(a=SJ(e,t),p=0,m=a.gc();p<m;++p)if(c=l(a.Xb(p),182),wt(o,u_(rs(e,c)))){if(f=WO(rs(e,c)),r==null){if(f==null)return c}else if(wt(r,f))return c}return null}function $En(e,t,r){var o,a,c,f,p,m;if(f=new m9,p=za(e.e.Ah(),t),o=l(e.g,123),Mo(),l(t,69).vk())for(c=0;c<e.i;++c)a=o[c],p.$l(a.Jk())&&Tn(f,a);else for(c=0;c<e.i;++c)a=o[c],p.$l(a.Jk())&&(m=a.kd(),Tn(f,r?TC(e,t,c,f.i,m):m));return npe(f)}function Z0t(e){var t,r,o,a,c,f,p;if(e&&(t=e.ni(_l),t&&(f=In(Td((!t.b&&(t.b=new Zu((_t(),Oo),zs,t)),t.b),"conversionDelegates")),f!=null))){for(p=new je,o=ky(f,"\\w+"),a=0,c=o.length;a<c;++a)r=o[a],Ot(p.c,r);return p}return At(),At(),Io}function Q0t(e,t){var r,o,a,c,f,p,m,y;for(f=t==1?hee:fee,c=f.a.ec().Jc();c.Ob();)for(a=l(c.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 BEn(e,t){var r,o,a,c,f;for(r=new cC(Yx),a=(eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])),c=0,f=a.length;c<f;++c)o=a[c],Xde(r,o,new je);return ei(Oa(lr(bs(new Et(null,new St(e.b,16)),new e$e),new t$e),new PYe(t)),new jYe(r)),r}function ewt(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&&hL(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 twt(e,t,r){var o,a,c;for(o=1;o<e.c.length;o++){for(c=(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)),c)>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]=c}r.a=new hn,r.b=new hn}function C7(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(c=t.Jc();c.Ob();)a=l(c.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(eee),CX+eee.k+IX)));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=Di;return e.b.af(e),e}function UEn(e,t){var r,o,a,c,f,p,m,y,v;for(m=ch(e.c-e.b&e.a.length-1),y=null,v=null,c=new D3(e);c.a!=c.b;)a=l(Bj(c),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)&&(_0t(m,t),y=r,v=o),Ot(m.c,a);_0t(m,t)}function nwt(e){switch(e.g){case 0:return new P9((Kb(),_D));case 1:return new P9((Kb(),CB));case 2:return new HWe;case 3:return new qWe;default:throw Y(new jt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function HEn(e,t){var r,o,a,c,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,c=1;c<f;c++)Fe(e.e,c/r);if(e.d)for(o=0;o<e.b;o++)Fe(e.e,1)}function rwt(e,t){var r,o,a,c,f,p,m,y,v;if(y=t,v=l(vj(cW(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));c=m0(y,"edges"),r=new tnt(e,v),c0t(r.a,r.b,c),f=m0(y,lQ),o=new AXe(e),gbt(o.a,f)}function iwt(e,t,r,o){var a,c,f,p,m;if(o!=null){if(a=e.d[t],a){for(c=a.g,m=a.i,p=0;p<m;++p)if(f=l(c[p],138),f.yi()==r&&pr(o,f.jd()))return p}}else if(a=e.d[t],a){for(c=a.g,m=a.i,p=0;p<m;++p)if(f=l(c[p],138),me(f.jd())===me(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 zEn(e){Qme();var t,r,o,a,c,f,p;if(e==null||(a=e.length,a%2!=0))return null;for(t=aj(e),c=a/2|0,r=we(Eu,BE,30,c,15,1),o=0;o<c;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 GEn(e,t,r){var o,a,c;if(a=l(Wo(e.i,t),319),!a)if(a=new fft(e.d,t,r),IS(e.i,t,a),j1e(t))qtn(e.a,t.c,t.b,a);else switch(c=Fyn(t),o=l(Wo(e.p,c),256),c.g){case 1:case 3:a.j=!0,uq(o,t.b,a);break;case 4:case 2:a.k=!0,uq(o,t.c,a)}return a}function qEn(e,t,r,o){var a,c,f,p,m,y;if(p=new m9,m=za(e.e.Ah(),t),a=l(e.g,123),Mo(),l(t,69).vk())for(f=0;f<e.i;++f)c=a[f],m.$l(c.Jk())&&Tn(p,c);else for(f=0;f<e.i;++f)c=a[f],m.$l(c.Jk())&&(y=c.kd(),Tn(p,o?TC(e,t,f,p.i,y):y));return O1e(p,r)}function owt(e,t){var r,o,a,c,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(c=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=owt(e,y),c=b.Math.max(c,m+1));return n1n(e,t,c),c}function swt(e,t){var r,o,a,c,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(c=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=swt(e,y),c=b.Math.max(c,m+1));return Pbn(e,t,c),c}function VEn(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 WEn(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 awt(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 D3(e);a.a!=a.b;)o=l(Bj(a),16),fj(o,r)}function KEn(e,t,r){var o,a,c,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 hat(e,v==-1?t[0]:t[v],r,(rC(),_B)),a=0;a<f.length;a++)for(c=a+1;c<f.length;c++)gr(f[a],(Ie(),Cr))&&gr(f[c],Cr)&&hL(o,f[a],f[c])>0&&++T;++v}return T}function YEn(e,t,r){var o;if(r.Tg("XPlacer",1),e.b=ue(le(ve(t,(_n(),Od)))),e.a=Ye(Ke(ve(t,(QS(),Zne)))),(!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,Qne),389).g){case 0:WEt(e,o);break;case 1:VEt(e,o)}r.Ug()}function JEn(e,t){var r,o,a,c,f,p,m;for(a=QA(new Tce(e)),p=new Xi(a,a.c.length),c=QA(new Tce(t)),m=new Xi(c,c.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 XEn(e,t){var r,o,a,c;for(t.Tg("Self-Loop pre-processing",1),o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),Ygn(r)&&(a=(c=new u1t(r),Te(r,(Ie(),rw),c),yAn(c),c),ei(Oa(bs(new Et(null,new St(a.d,16)),new H$e),new z$e),new G$e),gSn(a));t.Ug()}function uwt(e,t,r){var o,a,c,f;Mut(e,t)>Mut(e,r)?(o=ks(r,(He(),Qt)),e.d=o.dc()?0:BV(l(o.Xb(0),12)),f=ks(t,Kt),e.b=f.dc()?0:BV(l(f.Xb(0),12))):(a=ks(r,(He(),Kt)),e.d=a.dc()?0:BV(l(a.Xb(0),12)),c=ks(t,Qt),e.b=c.dc()?0:BV(l(c.Xb(0),12)))}function ZEn(e){var t,r,o,a,c,f,p,m;t=!0,a=null,c=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 L));an(o);){if(r=l(en(o),17),a&&a!=p){t=!1;break e}if(a=p,f=r.c.i,c&&c!=f){t=!1;break e}c=f}return t}function QEn(e,t,r){var o,a,c,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,]+"),c=m,f=0,p=c.length;f<p;++f)if(a=c[f],Ey(a).length!=0){if(y=l0t(e,a),y==null)return null;Jl(v,l(y,23))}return v}function cwt(e,t){var r,o,a,c;for(r=e.o.a,c=l(l(wr(e.r,t),24),85).Jc();c.Ob();)a=l(c.Pb(),116),a.e.a=r*ue(le(a.b.mf(m$))),a.e.b=(o=a.b,o.nf((_n(),zu))?o.$f()==(He(),Wt)?-o.Kf().b-ue(le(o.mf(zu))):ue(le(o.mf(zu))):o.$f()==(He(),Wt)?-o.Kf().b:0)}function e2n(e,t,r){var o,a,c,f,p,m;for(c=-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&&(c<0&&(c=f),p=f);return m=(e.s+e.c)/2,c>=0&&(o=FTn(e,t,c,p),m=Aen((at(o,t.c.length),l(t.c[o],341))),qvn(t,o,r)),m}function xn(e,t,r){var o,a,c,f,p,m,y;for(f=(c=new Hue,c),uge(f,(Mt(t),t)),y=(!f.b&&(f.b=new Zu((_t(),Oo),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=Ksn(l(oe(o,o.i-1),594)),o=a;Tn(o,f)}function Pme(e,t,r,o,a,c){var f,p,m;if(!a[t.a]){for(a[t.a]=!0,f=o,!f&&(f=new JP),Fe(f.e,t),m=c[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,c),p.d!=t&&Pme(e,p.d,t,f,a,c),Fe(f.c,p),li(f.d,p.b));return f}return null}function t2n(e){var t,r,o,a,c,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 wFe),r&&++t;for(f=new V(e.g);f.a<f.c.c.length;)c=l(q(f),17),p=fE(new Et(null,new St(c.b,16)),new yFe),p&&++t;return t>=2}function n2n(e,t,r,o,a){var c,f,p,m,y,v;for(c=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 IW(zge(c)),a),br(p,m),Wr(o,p,o.c.b,o.c),f=y,c=t==0?zj(c):f1e(c);Gn(o,(un(r.b!=0),l(r.c.b.c,8)))}function r2n(e){Ty();var t,r,o;return r=xr(kc,Z(X(zo,1),Ce,96,0,[cd])),!(T6(DP(r,e))>1||(t=xr(ad,Z(X(zo,1),Ce,96,0,[Ip,ud])),T6(DP(t,e))>1)||(o=xr(ld,Z(X(zo,1),Ce,96,0,[Rh,Il])),T6(DP(o,e))>1))}function lwt(e){var t,r,o,a,c,f,p;for(t=0,o=new V(e.a);o.a<o.c.c.length;)for(r=l(q(o),9),c=new $t(qt(Or(r).a.Jc(),new L));an(c);)a=l(en(c),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,c;for(c=new V(e.t);c.a<c.c.c.length;)o=l(q(c),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 i2n(e){var t,r,o,a,c,f;for(f=l(ve(e,(_n(),df)),100),r=0,o=0,c=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));c.e!=c.i.gc();)a=l(rn(c),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,c;if(e.g==null&&(e.d=e._i(e.f),Tn(e,e.d),e.c))return c=e.f,c;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 o2n(e,t){var r,o,a,c,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),c=0;c<e.i;++c)if(f=r[c],p.$l(f.Jk()))return pr(f,o)?!1:(l(EE(e,c,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),rD=new pS("PLACEHOLDER",6),AI=new pS("NONSHIFTING_PLACEHOLDER",7)}function s2n(e,t,r,o){var a,c,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),hJ(t,a),p=b.Math.floor(r/2),f=new V(a.j);f.a<f.c.c.length;)c=l(q(f),12),c.n.b=p;return a}function tL(){tL=K,jee=new Kv(Lwe,0),WSe=new Kv(bSt,1),$ee=new Kv(UX,2),Bee=new Kv(PX,3),Fee=new Kv("GREEDY_MODEL_ORDER",4),Uee=new Kv("SCC_CONNECTIVITY",5),uD=new Kv("SCC_NODE_TYPE",6),Pee=new Kv("DFS_NODE_ORDER",7),Mee=new Kv("BFS_NODE_ORDER",8)}function dwt(e,t,r){var o,a,c,f,p;for(r.Tg("ELK Force",1),Ye(Ke(ve(t,(ed(),I2e))))||P3((o=new OA((t1(),new Yp(t))),o)),p=apt(t),$mn(p),Epn(e,l(F(p,C2e),429)),f=uvt(e.a,p),c=f.Jc();c.Ob();)a=l(c.Pb(),238),WAn(e.b,a,r.dh(1/f.gc()));p=AEt(f),LEt(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 a2n(e,t){var r,o,a,c,f;if(t.Tg("Breaking Point Processor",1),Vkn(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;)c=l(q(f),9),c.p=r++;j_n(e),Iwt(e,!0),Iwt(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 u2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JL.length,wt(o.substr(o.length-a,a),JL)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return W3e;if(t==45)return DDt}else if(r==3)return W3e}return vy(o)}function c2n(e,t,r,o){var a,c,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&&(c=Cbe(f),e.b=new Rbe(c,o?0:c.length-1)),a=a|JSn(e,p,T,N));return a}function fwt(e,t,r,o){var a,c,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,c=new $t(qt(Df(f).a.Jc(),new L));an(c);)if(a=l(en(c),17),!(!(!fo(a)&&!(!fo(a)&&a.c.i.c==a.d.i.c))||a==t))return fwt(e,a,f,o);return o}function l2n(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=Ln(Ao(t,Rlt(lr(new Et(null,new St(o.e,16)),new VUe)))),r=Ln(Ao(r,Rlt(lr(new Et(null,new St(o.g,16)),new WUe)))),t>1||r>1)return 2;return t+r==1?2:0}function Bu(e,t){var r,o,a,c,f,p;return c=e.a*_X+e.b*1502,p=e.b*_X+11,r=b.Math.floor(p*_L),c+=r,p-=r*dwe,c%=dwe,e.a=c,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 hwt(e,t,r){var o,a,c,f,p,m,y;for(c=new je,y=new Ar,f=new Ar,x_n(e,y,f,t),akn(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(c.c,o);return c}function d2n(e,t,r){var o,a,c,f,p,m;for(p=e.c,f=(r.q?r.q:(At(),At(),xh)).vc().Jc();f.Ob();)c=l(f.Pb(),45),o=!BA(lr(new Et(null,new St(p,16)),new RA(new Btt(t,c)))).zd((_b(),TT)),o&&(m=c.kd(),ae(m,4)&&(a=$1e(m),a!=null&&(m=a)),t.of(l(c.jd(),149),m))}function f2n(e,t){var r,o,a,c;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(c=new V(e.a);c.a<c.c.c.length;)a=l(q(c),9),Oi(a,null);e.b.c.length=0,OSn(e),e.e&&_An(e.e,e),t.Ug()}function h2n(e,t){var r,o,a,c,f;for(t.Tg("Edge joining",1),r=Ye(Ke(F(e,(Be(),Nte)))),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();)c=(un(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),9)),c.k==(zt(),gi)&&(BJ(c,r),Mu(f));t.Ug()}function p2n(e,t,r){var o,a;if(M3(e.b),pc(e.b,(M6(),KB),(JN(),MD)),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,c;if(c=IE((mu(),ao),e.Ah(),t),c){if(Mo(),!l(c,69).vk()&&(c=MS(rs(ao,c)),!c))throw Y(new jt(R1+t.ve()+iI));a=(o=e.Fh(c),l(o>=0?e.Ih(o,!0,!0):O0(e,c,!0),164)),l(a,222).Vl(t,r)}else throw Y(new jt(R1+t.ve()+iI))}function g2n(e,t,r){var o,a,c,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)),c=hde(e,l(Ht(e.e,t),19)),p=f-(Mt(c),c);break;default:p=r}else p=r;return p}function b2n(e,t,r){var o,a,c,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)),c=pde(e,l(Ht(e.e,t),19)),p=f-(Mt(c),c);break;default:p=r}else p=r;return p}function O7(e,t){var r,o,a,c,f;if(t){for(c=ae(e.Cb,89)||ae(e.Cb,104),f=!c&&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),c?ae(a,89):f?ae(a,160):a)return a;return c?(_t(),Ml):(_t(),bf)}else return null}function m2n(e,t){var r,o,a,c,f;for(r=new je,a=bs(new Et(null,new St(e,16)),new dHe),c=bs(new Et(null,new St(e,16)),new fHe),f=Qdn(ydn(ey(N2n(Z(X(K3n,1),Rt,840,0,[a,c])),new hHe))),o=1;o<f.length;o++)f[o]-f[o-1]>=2*t&&Fe(r,new MV(f[o-1]+t,f[o]-t));return r}function pwt(e,t,r){var o,a,c,f,p,m,y,v;if(r)for(c=r.a.length,o=new Ib(c),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=Aln(e,(y=(e1(),v=new Fce,v),t&&Bme(y,t),y),a),v_(m,sp(a,qf)),E7(a,m),ume(a,m),FK(e,a,m))}function L7(e){var t,r,o,a,c,f;if(!e.j){if(f=new cqe,t=D4,c=t.a.yc(e,t),c==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),a=L7(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 w2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JL.length,wt(o.substr(o.length-a,a),JL)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return K3e;if(t==45)return MDt}else if(r==3)return K3e}return new Ice(o)}function y2n(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,c,f;for(a=t.a&e.f,c=null,o=e.b[a];;o=o.b){if(o==t){c?c.b=t.b:e.b[a]=t.b;break}c=o}for(f=t.f&e.f,c=null,r=e.c[f];;r=r.d){if(r==t){c?c.d=t.d:e.c[f]=t.d;break}c=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 v2n(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 dJ(e,t){var r,o,a,c;for(c=new Xi(e,0),r=(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.b++),148));c.b<c.d.gc();)o=(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.b++),148)),a=new Ofe(o.c,r.d,t),un(c.b>0),c.a.Xb(c.c=--c.b),Vw(c,a),un(c.b<c.d.gc()),c.d.Xb(c.c=c.b++),a.a=!1,r=o}function gwt(e){var t,r,o,a,c,f;for(a=l(F(e,(Ie(),tB)),12),f=new V(e.j);f.a<f.c.c.length;){for(c=l(q(f),12),o=new V(c.g);o.a<o.c.c.length;)return t=l(q(o),17),Ji(t,a),c;for(r=new V(c.e);r.a<r.c.c.length;)return t=l(q(r),17),bo(t,a),c}return null}function bwt(e,t,r){var o,a,c,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 L));an(a);)o=l(en(a),17),r?c=o.d.i:c=o.c.i,me(zw(e.a,c))===me(zw(e.a,t))&&(p=f.a.yc(c,f),p==null);return f}function E2n(e,t,r){var o,a;o=Gs(r.q.getTime()),Ea(o,0)<0?(a=yg-Ln(dY(ug(o),yg)),a==yg&&(a=0)):a=Ln(dY(o,yg)),t==1?(a=b.Math.min((a+50)/100|0,9),Lb(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 S2n(e){var t,r,o,a;return me(F(e,(Be(),Wy)))===me((pp(),Ig))?!e.e&&me(F(e,mD))!==me((__(),cD)):(o=l(F(e,bte),303),a=Ye(Ke(F(e,mte)))||me(F(e,BI))===me((lC(),aD)),t=l(F(e,fAe),15).a,r=e.a.c.length,!a&&o!=(__(),cD)&&(t==0||t>r))}function T2n(e,t){var r,o,a,c,f,p,m;for(a=e.Jc();a.Ob();)for(o=l(a.Pb(),9),p=new aa,As(p,o),Ii(p,(He(),Qt)),Te(p,(Ie(),oB),(Dt(),!0)),f=t.Jc();f.Ob();)c=l(f.Pb(),9),m=new aa,As(m,c),Ii(m,Kt),Te(m,oB,!0),r=new p0,Te(r,oB,!0),bo(r,p),Ji(r,m)}function A2n(e){var t,r;for(r=0;r<e.c.length&&!(Cot((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&&!(Cot((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 mwt(e,t){var r,o,a,c,f,p,m;for(a=0,f=new V(t.a);f.a<f.c.c.length;)for(c=l(q(f),9),a+=c.o.b+c.d.a+c.d.d+e.e,o=new $t(qt(si(c).a.Jc(),new L));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 _2n(e,t){var r,o,a,c;t.Tg("Min Size Preprocessing",1),o=rme(e),Br(e)&&(r=(t1(),new Yp(Br(e))),c=new B8(Br(e)?new Yp(Br(e)):null,e),a=G0e(r,c,!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 wwt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=6&&t){if(z_(e,t))throw Y(new jt(oI+C0t(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 D7(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+Tvt(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+myt(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,c;if(o=Sl(e),c=e.j,c==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,c)}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 ywt(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 x2n(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 k2n(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)),K1n(Xhn(),(GA(),"Exception during lenientFormat for "+o),t),"<"+o+" threw "+Ab(t.Pm)+">";throw Y(a)}}function N2n(e){var t,r,o,a,c,f,p,m,y;for(o=!1,t=336,r=0,c=new mit(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(c.a,kn(a)),t&=a.wd(),r=jpn(r,a.xd());return l(l(Nst(new Et(null,YY(new St(B1e(c.a),16),new A,t,r)),new zKe(e)),684),840)}function C2n(e,t,r,o){var a,c,f,p;a=Ggt(e,t,r),c=Ggt(e,r,t),f=l(Ht(e.c,t),117),p=l(Ht(e.c,r),117),a<c?new Pb((vd(),rv),f,p,c-a):c<a?new Pb((vd(),rv),p,f,a-c):(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 I2n(e,t,r){var o,a,c,f,p;for(r.Tg("Breaking Point Removing",1),e.a=l(F(t,(Be(),kp)),225),c=new V(t.b);c.a<c.c.c.length;)for(a=l(q(c),26),p=new V(jb(a.a));p.a<p.c.c.length;)f=l(q(p),9),aft(f)&&(o=l(F(f,(Ie(),ew)),318),!o.d&&gEt(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),DD=new vO("WHOLE_DRAWING",4)}function R2n(e){var t,r,o,a;for(o=new dy(new Lw(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,hD,(Dt(),!0)),Ii(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 O2n(e){var t,r,o,a,c,f,p;for(c=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(c,o,c.c.b,c.c);if(c.b>1)for(t=o0((r=new Tb,++e.b,r),e.d),p=An(c,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 L2n(e,t,r){var o,a,c,f,p,m;if(c=0,f=0,e.c)for(m=new V(e.d.i.j);m.a<m.c.c.length;)p=l(q(m),12),c+=p.e.c.length;else c=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-c)),o=(r+t)/2+(r-t)*(.4*a),o}function D2n(e,t){var r,o,a,c,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),c=new V(r.a);c.a<c.c.c.length;)for(a=l(q(c),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 M2n(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 sD;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 vwt(e,t,r){return Z_(),NK(e,t)&&NK(e,r)?!1:HJ(new Me(e.c,e.d),new Me(e.c+e.b,e.d),t,r)||HJ(new Me(e.c+e.b,e.d),new Me(e.c+e.b,e.d+e.a),t,r)||HJ(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a),t,r)||HJ(new Me(e.c,e.d+e.a),new Me(e.c,e.d),t,r)}function Ume(e,t){var r,o,a,c;if(!e.dc()){for(r=0,o=e.gc();r<o;++r)if(c=In(e.Xb(r)),c==null?t==null:wt(c.substr(0,3),"!##")?t!=null&&(a=t.length,!wt(c.substr(c.length-a,a),t)||c.length!=t.length+3)&&!wt(lm,t):wt(c,AQ)&&!wt(lm,t)||wt(c,t))return!0}return!1}function P2n(e,t,r,o){var a,c,f,p,m,y;for(f=e.j.c.length,m=we(X3n,wwe,319,f,0,1),p=0;p<f;p++)c=l(ze(e.j,p),12),c.p=p,m[p]=Gvn(B0t(c),r,o);for(uSn(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),pyn(e,m))}function j2n(e,t,r){var o,a,c;for(a=new V(e.a.b);a.a<a.c.c.length;)if(o=l(q(a),60),c=lE(o),c&&c.k==(zt(),mi))switch(l(F(c,(Ie(),Hs)),64).g){case 4:c.n.a=t.a;break;case 2:c.n.a=r.a-(c.o.a+c.d.c);break;case 1:c.n.b=t.b;break;case 3:c.n.b=r.b-(c.o.b+c.d.a)}}function F2n(e,t,r){var o,a,c;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;)c=l(Sn(o),41),Ye(Ke(F(c,(Nr(),z1))))&&(a=c);a&&fvt(e,Wl(Z(X(MB,1),DF,41,0,[a])),r,l(F(t,(js(),uw)),87)),r.Ug()}function $2n(e){var t,r,o,a,c,f;for(o=(e1(),c=new $N,c),nL(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),nL(f,t);return o}function B2n(e,t,r){var o,a,c,f,p;return a=l(ve(t,(A7(),Yke)),15),!a&&(a=Re(0)),c=l(ve(r,Yke),15),!c&&(c=Re(0)),a.a>c.a?-1:a.a<c.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 U2n(e,t){var r,o,a,c,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),c=0;c<m;++c)if(y=v[c],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 H2n(e,t,r){var o,a,c,f,p,m;if(a=r,c=a.Jk(),wp(e.e,c)){if(c.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(GL))}}else for(m=za(e.e.Ah(),c),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk()))throw Y(new jt(YL));aC(e,t,r)}function Ewt(e,t){var r,o,a,c,f,p;for(r=l(F(t,(Ie(),_p)),24),f=l(wr((VJ(),_r),r),24),p=l(wr(Wn,r),24),c=f.Jc();c.Ob();)if(o=l(c.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 z2n(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)&&(oK(t).j==(He(),Wt)?uwt(e,t,r):uwt(e,r,t)),t.k==_a&&r.k==gi?oK(t).j==(He(),Wt)?e.d=1:e.b=1:r.k==_a&&t.k==gi&&(oK(r).j==(He(),Wt)?e.b=1:e.d=1),Gbn(e,t,r)}function Hme(e,t){var r,o,a,c,f,p,m,y,v;if(e.a.c.length==1)return mmt(l(ze(e.a,0),175),t);for(f=sgn(e),m=0,y=e.d,c=f,v=e.d,p=(y-c)/2+c;c+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):c=p,p=(y-c)/2+c}return v}function nL(e,t){var r,o,a,c,f;if(!t)return e;if(ae(t,344))for(a=l(t,344),c=(!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),e.o),o=a.fh().c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),45),f=r.kd(),V6(c,l(r.jd(),149),f);else!e.o&&(e.o=new pu((Qs(),Lh),Rg,e,0)),aht(e.o,t.lf());return e}function zme(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;return v=null,M=Rme(e,t),m=null,M&&(m=Nmn(e,M)),U=m,r=null,a=le(Ht(e.i,U)),a!=null?r=a:r=Re(0),N=r,o=null,c=le(Ht(e.j,U)),c!=null?o=c:o=Re(0),O=o,y=t.i,f=sit(y,N),Jn(e.i,t,f),T=t.j,p=sit(T,O),v=le(Jn(e.j,t,p)),v}function G2n(e){var t,r,o,a,c;return isNaN(e)?(m_(),JEe):e<-9223372036854776e3?(m_(),J_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),c=Ua(t,r,o),a&&jK(c),c)}function q2n(e){var t,r,o,a,c;if(c=new je,Da(e.b,new lYe(c)),e.b.c.length=0,c.c.length!=0){for(t=(at(0,c.c.length),l(c.c[0],81)),r=1,o=c.c.length;r<o;++r)a=(at(r,c.c.length),l(c.c[r],81)),a!=t&&Vbt(t,a);if(ae(t,63))throw Y(l(t,63));if(ae(t,298))throw Y(l(t,298))}}function V2n(e,t){var r,o,a,c;for(r=!t||!e.u.Gc((xu(),Rp)),c=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(c++),Xpn(e,o,r)}}function Swt(e,t,r){var o,a,c;for(Gc(t,(QS(),pk))&&(r=ue(le(ve(t,pk)))),gu(t,r),c=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),Swt(e,o,c)}function Gme(e){var t,r,o,a,c;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),321),t.j=null,c=t.a.a.ec().Jc();c.Ob();)o=l(c.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,c;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),197),t.f=null,c=t.a.a.ec().Jc();c.Ob();)o=l(c.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 W2n(e,t,r){var o,a,c,f,p;for(f=oC(e,r),p=we(Nh,vg,9,t.length,0,1),o=0,c=f.Jc();c.Ob();)a=l(c.Pb(),12),Ye(Ke(F(a,(Ie(),hD))))&&(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 K2n(e){var t,r,o,a,c,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 qXe(y),lo(new Xh(e.d),r)),c=aO(e.g),p=!c,p&&(v=new Eb,Kl(T,"supportedFeatures",v),o=new VXe(v),lo(e.g,o)),T}function Y2n(e,t){var r;e.d&&(t.c!=e.e.c||hhn(e.e.b,t.b))&&(Fe(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),Jen(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"),r6t=new cr("MIN_Y"),Wne=new cr("MAX_Y"),h4=new cr("root"),cw=new cr("EDGE_BEND_HEIGHT"),PD=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+Tmt(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 Twt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+ugt(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 fJ(e,t){Q_();var r,o,a,c,f,p,m,y,v;return t.d>e.d&&(p=e,e=t,t=p),t.d<63?MSn(e,t):(f=(e.d&-2)<<4,y=fpe(e,f),v=fpe(t,f),o=OJ(e,jS(y,f)),a=OJ(t,jS(v,f)),m=fJ(y,v),r=fJ(o,a),c=fJ(OJ(y,o),OJ(a,v)),c=$J($J(c,m),r),c=jS(c,f),m=jS(m,f<<1),$J($J(m,c),r))}function rL(){rL=K,Dte=new Yv(ISt,0),QAe=new Yv("LONGEST_PATH",1),e_e=new Yv("LONGEST_PATH_SOURCE",2),Ote=new Yv("COFFMAN_GRAHAM",3),ZAe=new Yv(UX,4),t_e=new Yv("STRETCH_WIDTH",5),AB=new Yv("MIN_WIDTH",6),Rte=new Yv("BF_MODEL_ORDER",7),Lte=new Yv("DF_MODEL_ORDER",8)}function J2n(e,t){var r,o,a,c,f,p;if(!e.tb){for(c=(!e.rb&&(e.rb=new Xw(e,Dd,e)),e.rb),p=new dS(c.i),a=new tn(c);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 iL(e,t){var r,o,a,c,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(vY(a),182),c=o.ve(),r=l(c==null?eu(f.f,null,o):_0(f.i,c,o),182),r&&(c==null?eu(f.f,null,r):_0(f.i,c,r));e.p=f}return l(wa(e.p,t),182)}function Vme(e,t,r,o,a){var c,f,p,m,y;for(U1n(o+RP(r,r.ge()),a),$st(t,l1n(r)),c=r.f,c&&Vme(e,t,c,"Caused by: ",!1),p=(r.k==null&&(r.k=we(BQ,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 oL(e,t,r,o){var a,c,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|lyt(e,a,r,o),c=r?1:p-2;r?c<p:c>=0;c+=r?1:-1)f=f|t.c.jg(m,c,r,o&&!Ye(Ke(F(t.j,(Ie(),j1))))&&!Ye(Ke(F(t.j,(Ie(),e2))))),f=f|t.q.tg(m,c,r),f=f|lyt(e,m[c],r,o);return pi(e.c,t),f}function j7(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(v=pct(e.j),T=0,N=v.length;T<N;++T){if(y=v[T],r==(jo(),Cu)||r==YI)for(m=Lf(y.g),a=m,c=0,f=a.length;c<f;++c)o=a[c],hyn(t,o)&&mg(o,!0);if(r==Ba||r==YI)for(p=Lf(y.e),a=p,c=0,f=a.length;c<f;++c)o=a[c],fyn(t,o)&&mg(o,!0)}}function Awt(){return Zi(),Z(X(nCn,1),Ce,80,0,[dSe,uSe,VE,yee,ISe,C$,$$,Uy,NSe,ySe,xSe,By,CSe,bSe,RSe,nSe,L$,vee,k$,P$,LSe,M$,rSe,kSe,DSe,j$,tSe,OSe,N$,hSe,ASe,TSe,B$,sSe,x$,R$,oSe,Gx,ESe,mSe,_Se,_I,cSe,aSe,SSe,wSe,O$,F$,iSe,D$,vSe,I$,pSe,fSe,xT,_$,gSe,lSe])}function X2n(e){var t,r;switch(t=null,r=null,O0n(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(eQe.call(this),this.i=new aGe,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 Z2n(e){var t,r,o,a,c,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 LA(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),c=t?t.a:0,e.n.a=f/(a.e.c.length+a.g.c.length)-c}}function _wt(e,t){var r,o,a;for(o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),227),KV(l(r.b,68),Li(To(l(t.b,68).c),l(t.b,68).a)),a=qyt(l(t.b,68).b,l(r.b,68).b),a>1&&(e.a=!0),csn(l(r.b,68),br(To(l(t.b,68).c),tp(Li(To(l(r.b,68).a),l(t.b,68).a),a))),Aut(e,t),_wt(e,r)}function xwt(e){var t,r,o,a,c,f,p;for(c=new V(e.a.a);c.a<c.c.c.length;)o=l(q(c),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 Q2n(e,t){var r,o,a,c,f,p,m;for(t.Tg("Constraints Postprocessor",1),f=0,c=new V(e.b);c.a<c.c.c.length;){for(a=l(q(c),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 eSn(e){var t,r,o,a,c,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,c=f.g.c.length,o>0&&c>0?f.p=t++:o>0?f.p=r++:c>0?f.p=a++:f.p=r++}At(),xi(e.j,new p$e)}function tSn(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 L))))t=l(en(new $t(qt(Or(r).a.Jc(),new L))),17);else if(r.k!=Xr)return null}while(r&&r.k!=(zt(),Xr));return r}function nSn(e,t){var r,o,a,c,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=MY(e,f,m,v),c=1;c<p.c.length;c++)r=(at(c-1,p.c.length),l(p.c[c-1],114)),a=(at(c,p.c.length),l(p.c[c],114)),o=MY(e,f,r,a),o>y&&(m=r,v=a,y=o);t.a=v,t.c=m}function L0(e,t,r,o){var a,c;if(a=me(F(r,(Be(),FI)))===me((g1(),Gy)),c=l(F(r,dAe),16),gr(e,(Ie(),Cr)))if(a){if(c.Gc(F(e,$I))&&c.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 rSn(e,t,r){var o,a,c,f,p,m,y;for(y=new Qp(new IJe(e)),f=Z(X(nNt,1),eSt,12,0,[t,r]),p=0,m=f.length;p<m;++p)for(c=f[p],y.a.yc(c,(Dt(),L1))==null,a=new Vd(c.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,c==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(Axt),Axt.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 iSn(e,t,r){var o,a,c,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(c=new V(p);c.a<c.c.c.length;)a=l(q(c),9),owt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function kwt(e,t,r){var o,a,c,f,p,m;if(o=0,t.b!=0&&r.b!=0){c=An(t,0),f=An(r,0),p=ue(le(Sn(c))),m=ue(le(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&&c.b!=c.d.c?p=ue(le(Sn(c))):m<=p&&f.b!=f.d.c?m=ue(le(Sn(f))):a=!1}while(a)}return o}function Nwt(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(),gne)),me(ve(t,(T1(),yne)))!==me((R6(),UB))&&$n(o,d2,fne),Ye(Ke(ve(t,Txe)))&&$n(o,d2,bne),$n(o,d2,hne),Ye(Ke(ve(t,_xe)))&&Ra(o,d2,pne),sde(e.a,o),r=FC(e.a,t),r}function oSn(e,t,r,o){var a,c,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,c=new $t(qt(si(y).a.Jc(),new L));an(c);)a=l(en(c),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 sSn(e){var t,r;for(r=new $t(qt(Or(e).a.Jc(),new L));an(r);)if(t=l(en(r),17),t.d.i.k!=(zt(),ta))throw Y(new _f(BX+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 aSn(e,t){var r,o,a,c,f;for(f=l(F(t,(js(),rxe)),430),c=An(t.b,0);c.b!=c.d.c;)if(a=l(Sn(c),41),e.b[a.g]==0){switch(f.g){case 0:O1t(e,a);break;case 1:yEn(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 uSn(e,t,r,o,a){var c,f,p,m;for(m=(c=l(md(Ro),10),new Hc(c,l(Gl(c,c.length),10),0)),p=new V(e.j);p.a<p.c.c.length;)f=l(q(p),12),t[f.p]&&(RNn(f,t[f.p],o),Jl(m,f.j));a?(GY(e,t,(He(),Qt),2*r,o),GY(e,t,Kt,2*r,o)):(GY(e,t,(He(),Wt),2*r,o),GY(e,t,dn,2*r,o))}function cSn(e,t){var r,o,a,c,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(c=new V(a);c.a<c.c.c.length;)m=l(q(c),26),m.a.c.length==0&&C3(c);t.b.c.length=0,li(t.b,a)}function lSn(e,t,r){var o,a,c,f,p,m;for(o=l(wr(e.c,t),16),a=l(wr(e.c,r),16),c=o.dd(o.gc()),f=a.dd(a.gc());c.Sb()&&f.Sb();)if(p=l(c.Ub(),15),m=l(f.Ub(),15),p!=m)return na(p.a,m.a);return!c.Ob()&&!f.Ob()?t.p<r.p?-1:t.p>r.p?1:0:c.Ob()?1:-1}function dSn(e,t){var r,o,a,c,f,p;t.Tg(nTt,1),a=l(ve(e,(ef(),c4)),100),c=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),f=xmn(c),p=b.Math.max(f.a,ue(le(ve(e,(yh(),u4))))-(a.b+a.c)),o=b.Math.max(f.b,ue(le(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){Mo();var r,o,a,c;return t?t==(Tr(),LDt)||(t==EDt||t==km||t==vDt)&&e!=V3e?new q0e(e,t):(o=l(t,689),r=o.Yk(),r||(u_(rs((mu(),ao),t)),r=o.Yk()),c=(!r.i&&(r.i=new hn),r.i),a=l(Ss(ts(c.f,e)),2020),!a&&Jn(c,e,a=new q0e(e,t)),a):mDt}function fSn(e,t){var r,o;if(o=qO(e.b,t.b),!o)throw Y(new es("Invalid hitboxes for scanline constraint calculation."));(Yht(t.b,l(fen(e.b,t.b),60))||Yht(t.b,l(den(e.b,t.b),60)))&&eg(),e.a[t.b.f]=l(Sq(e.b,t.b),60),r=l(Eq(e.b,t.b),60),r&&(e.a[r.f]=t.b)}function hSn(e,t){var r,o,a,c,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=Lf(e.e),a=r,c=0,f=a.length;c<f;++c)o=a[c],Ji(o,m),Eo(o.a,new Me(y,v)),t&&(p=l(F(o,(Be(),ss)),79),p||(p=new Du,Te(o,ss,p)),Gn(p,new Me(y,v)))}function pSn(e,t){var r,o,a,c,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=Lf(e.g),f=r,p=0,m=f.length;p<m;++p)c=f[p],bo(c,a),Zv(c.a,new Me(y,v)),t&&(o=l(F(c,(Be(),ss)),79),o||(o=new Du,Te(c,ss,o)),Gn(o,new Me(y,v)))}function gSn(e){var t,r,o,a,c,f,p,m,y;if(o=e.b,c=o.e,f=AS(l(F(o,(Be(),Zr)),103)),r=!!c&&l(F(c,(Ie(),xa)),24).Gc((Fo(),rl)),!(f||r))for(y=(p=new Zh(e.e).a.vc().Jc(),new Dw(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 bSn(e,t){var r,o,a,c;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),c=D6(dj(lr(lr(new Et(null,new St(o.a,16)),new J$e),new X$e),new Z$e),new Q$e),r=r|c.a!=null;r&&Te(e,(Ie(),yTe),(Dt(),!0)),t.Ug()}function mSn(e,t){var r,o,a,c,f,p;for(e.b=new je,e.d=l(F(t,(Ie(),LT)),237),e.e=Acn(e.d),c=new Ar,a=Wl(Z(X(Qkt,1),Z2t,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 Zvt(o,e.a,e.b),li(a,r.b),Fe(e.b,r),r.s&&(p=An(c,0),yP(p,r));return e.c=new hi,c}function wSn(e,t){var r,o,a,c,f,p;for(f=l(l(wr(e.r,t),24),85).Jc();f.Ob();)c=l(f.Pb(),116),r=c.c?Pfe(c.c):0,r>0?c.a?(p=c.b.Kf().a,r>p&&(a=(r-p)/2,c.d.b=a,c.d.c=a)):c.d.c=e.s+r:k3(e.u)&&(o=jbe(c.b),o.c<0&&(c.d.b=-o.c),o.c+o.b>c.b.Kf().a&&(c.d.c=o.c+o.b-c.b.Kf().a))}function ySn(e,t){var r,o,a,c,f;f=new je,r=t;do c=l(Ht(e.b,r),134),c.B=r.c,c.D=r.d,Ot(f.c,c),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 vSn(e){var t,r;r=l(F(e,(Be(),Cs)),166),t=l(F(e,(Ie(),hm)),316),r==(ic(),xp)?(Te(e,Cs,gD),Te(e,hm,(lp(),ZE))):r==gm?(Te(e,Cs,gD),Te(e,hm,(lp(),kT))):t==(lp(),ZE)?(Te(e,Cs,xp),Te(e,hm,dD)):t==kT&&(Te(e,Cs,gm),Te(e,hm,dD))}function F7(){F7=K,xD=new iHe,F4t=$n(new ui,(Vi(),la),(Zi(),k$)),U4t=Ra($n(new ui,la,M$),Ho,D$),H4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),$4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),B4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function NC(){NC=K,q4t=$n(Ra(new ui,(Vi(),Ho),(Zi(),pSe)),la,k$),Y4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),V4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),K4t=$n($n(new ui,la,M$),Ho,D$),W4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function ESn(e,t,r,o,a){var c,f;(!fo(t)&&t.c.i.c==t.d.i.c||!oht(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 Du,Te(t,ss,f)),c=new So(r),Wr(f,c,f.c.b,f.c),pi(e.a,c)))}function Cwt(e,t){var r,o,a,c;for(c=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),r=c&e.b.length-1,a=null,o=e.b[r];o;a=o,o=o.a)if(o.d==c&&rp(o.i,t))return a?a.a=o.a:e.b[r]=o.a,kQe(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 SSn(e){var t,r;for(r=new $t(qt(si(e).a.Jc(),new L));an(r);)if(t=l(en(r),17),t.c.i.k!=(zt(),ta))throw Y(new _f(BX+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 Iwt(e,t){var r,o,a,c,f,p,m,y,v,T,N;a=t?new dUe:new gUe,c=!1;do for(c=!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,c=nyt(o,f,t,!1));while(c)}function TSn(e,t,r){var o,a,c,f,p,m,y;if(a=dgt(e.Db&254),a==0)e.Eb=r;else{if(a==1)p=we(Ri,Rt,1,2,5,1),c=DY(e,t),c==0?(p[0]=r,p[1]=e.Eb):(p[0]=e.Eb,p[1]=r);else for(p=we(Ri,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 Rwt(e,t,r,o,a,c){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(c.Xb(N),134),J=f.a.b,f.a.c=M-J/2,M+=p}function Kme(e,t,r,o,a,c){var f,p,m,y,v,T;for(y=r.c.length,c&&(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),c&&(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 Owt(e,t,r){var o,a,c,f,p,m,y,v;for(c=ue(le(e.b.Jc().Pb())),y=ue(le(Khn(t.b))),o=tp(To(e.a),y-r),a=tp(To(t.a),r-c),v=br(o,a),tp(v,1/(y-c)),this.a=v,this.b=new je,p=!0,f=e.b.Jc(),f.Pb();f.Ob();)m=ue(le(f.Pb())),p&&m-r>OZ&&(this.b.Ec(r),p=!1),this.b.Ec(m);p&&this.b.Ec(r)}function ASn(e){var t,r,o,a;if(UTn(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=_mn(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)),Bvt(e)}}function _Sn(e,t,r){var o,a,c,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(c=new V(p);c.a<c.c.c.length;)a=l(q(c),9),swt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function xSn(e,t){qS();var r,o;if(r=qW(W3(),t.Og()),r){if(o=r.j,ae(e,209))return Run(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 kSn(e,t,r){var o,a,c,f,p,m;if(a=r,c=a.Jk(),wp(e.e,c)){if(c.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(GL))}}else for(m=za(e.e.Ah(),c),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(YL));return l(EE(e,t,r),76)}function Lwt(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,c,f;if(o=t>>5,t&=31,o>=e.d)return e.e<0?(jf(),txt):(jf(),wI);if(c=e.d-o,a=we(Rn,Qn,30,c+1,15,1),Ayn(a,c,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<c&&a[r]==-1;r++)a[r]=0;r==c&&++c,++a[r]}}return f=new Ob(e.e,c,a),F3(f),f}function NSn(e,t,r,o){var a,c,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:(c=l(Ht(e.a,f),9),c&&(a=c.e,a)?a:null))}function CSn(e,t){var r;switch(r=l(F(e,(Be(),hB)),286),t.Tg("Label side selection ("+r+")",1),r.g){case 0:H0t(e,(vc(),Ih));break;case 1:H0t(e,(vc(),q1));break;case 2:pvt(e,(vc(),Ih));break;case 3:pvt(e,(vc(),q1));break;case 4:Hwt(e,(vc(),Ih));break;case 5:Hwt(e,(vc(),q1))}t.Ug()}function wp(e,t){Mo();var r,o,a;return t.Hk()?!0:t.Gk()==-2?t==(rT(),XT)||t==JT||t==Hre||t==zre?!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 ISn(e,t,r,o){var a,c,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=j1n(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),c=G1e(a,O.d[a.g],r),N=G1e(T,O.d[T.g],r),f&&v&&p&&(a==v?ygt(c,v,p):T==v&&ygt(N,v,p)),Gn(o,br(c,N)),a=T}function Yme(e,t,r){var o,a,c,f,p,m;if(o=ZQt(r,e.length),f=e[o],c=OQe(r,f.length),f[c].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(),hD))))&&(nc(m,a,l(F(f[c],(Ie(),mr)),12)),c+=r?1:-1)}function RSn(e,t){var r,o,a,c,f,p,m,y;t.Tg("Greedy Width Approximator",1),r=ue(le(ve(e,(ef(),WB)))),m=l(ve(e,c4),100),c=l(ve(e,Xxe),388),f=Ye(Ke(ve(e,Jxe))),p=ue(le(ve(e,l4))),y=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),gge(y),a=new sot(r,c,f),o=$Tn(a,y,p,m),Vn(e,(yh(),iv),o.c),t.Ug()}function Mwt(e){if(e.g==null)switch(e.p){case 0:e.g=Oun(e)?(Dt(),Bx):(Dt(),L1);break;case 1:e.g=p6(kln(e));break;case 2:e.g=A6(vcn(e));break;case 3:e.g=ran(e);break;case 4:e.g=new QR(ian(e));break;case 6:e.g=my(aan(e));break;case 5:e.g=Re(mun(e));break;case 7:e.g=L_(Iln(e))}return e.g}function Jme(e){if(e.n==null)switch(e.p){case 0:e.n=Lun(e)?(Dt(),Bx):(Dt(),L1);break;case 1:e.n=p6(Nln(e));break;case 2:e.n=A6(Ecn(e));break;case 3:e.n=san(e);break;case 4:e.n=new QR(oan(e));break;case 6:e.n=my(uan(e));break;case 5:e.n=Re(wun(e));break;case 7:e.n=L_(Cln(e))}return e.n}function Pwt(e,t,r,o){var a,c,f,p,m;if(p=(Mo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&G7(e,t,o,ae(t,104)&&(l(t,20).Bb&Co)!=0))throw Y(new jt(GL))}else for(m=za(e.e.Ah(),t),a=l(e.g,123),f=0;f<e.i;++f)if(c=a[f],m.$l(c.Jk()))throw Y(new jt(YL));aC(e,Zbe(e,t,r),p?l(o,76):gh(t,o))}function jwt(e){var t,r,o,a,c,f,p;for(c=new V(e.a.a);c.a<c.c.c.length;)o=l(q(c),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 OSn(e){var t,r,o,a,c;a=l(F(e,(Be(),mm)),24),c=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),c.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)),L_n(e,r,t)}function LSn(e,t){var r,o,a;t.a?(qO(e.b,t.b),e.a[t.b.i]=l(Sq(e.b,t.b),84),r=l(Eq(e.b,t.b),84),r&&(e.a[r.i]=t.b)):(o=l(Sq(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(Eq(e.b,t.b),84),a&&e.a[a.i]==t.b&&a.d&&a.d!=t.b.d&&t.b.f.Ec(a),bV(e.b,t.b))}function hJ(e,t){var r,o,a,c,f,p;return c=e.d,p=ue(le(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,Ii(o,(He(),Kt)),As(o,t),o.n.b=f,a=new aa,Ii(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,c),GAn(t,e,r),Xyn(e,r),r}function DSn(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(),vte)))))&&(yc(t,N_e),r.Gc(XE)&&yc(t,P4t)),r.Gc(rl)&&yc(t,L4t),r.Gc(II)&&yc(t,j4t),r.Gc(Q$)&&yc(t,M4t),r.Gc(Xx)&&yc(t,R4t),r.Gc(Zx)&&yc(t,O4t),t}function MSn(e,t){var r,o,a,c,f,p,m,y,v,T,N;return o=e.d,c=t.d,p=o+c,m=e.e!=t.e?-1:1,p==2?(v=wo(Gi(e.a[0],$o),Gi(t.a[0],$o)),N=Ln(v),T=Ln(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),rgn(r,o,a,c,f),y=new Ob(m,p,f),F3(y),y)}function Fwt(e,t,r,o){var a,c;if(t){if(a=e.a.Le(r.d,t.d),a==0)return o.d=Qde(t,r.e),o.b=!0,t;c=a<0?0:1,t.a[c]=Fwt(e,t.a[c],r,o),Pw(t.a[c])&&(Pw(t.a[1-c])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Pw(t.a[c].a[c])?t=Aj(t,1-c):Pw(t.a[c].a[1-c])&&(t=tct(t,1-c)))}else return r;return t}function $wt(e,t,r){var o,a,c,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]),c=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=c,e.c.c=a.c+o.b+(c-f)/2)}function Bwt(){this.c=we(Ki,Jo,30,(He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,15,1),this.b=we(Ki,Jo,30,Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt]).length,15,1),this.a=we(Ki,Jo,30,Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt]).length,15,1),_le(this.c,Kr),_le(this.b,Di),_le(this.a,Di)}function PSn(e,t,r,o){var a,c,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(c=l(q(f),70),Ye(Ke(F(c,(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,c,f;if(t<=r?(a=t,c=r):(a=r,c=t),o=0,e.b==null)e.b=we(Rn,Qn,30,2,15,1),e.b[0]=a,e.b[1]=c,e.c=!0;else{if(o=e.b.length,e.b[o-1]+1==a){e.b[o-1]=c;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]=c,e.c||xE(e)}}function jSn(e,t,r){var o,a,c,f,p,m,y;for(y=t.d,e.a=new La(y.c.length),e.c=new hn,p=new V(y);p.a<p.c.c.length;)f=l(q(p),108),c=new _6(null),Fe(e.a,c),Jn(e.c,f,c);for(e.b=new hn,Qyn(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++)C2n(e,m,l(ze(t.d,a),108),r)}function FSn(e,t){var r,o,a,c,f,p,m;for(r=Di,p=(zt(),Xr),a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),c=o.k,c!=Xr&&(f=le(F(o,(Ie(),ETe))),f==null?(r=b.Math.max(r,0),o.n.b=r+Ode(e.a,c,p)):o.n.b=(Mt(f),f)),m=Ode(e.a,c,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=c}function Ay(e){var t,r,o,a,c;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 L));an(o);)r=l(en(o),74),ae(oe((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),196)||(c=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),t.a._b(c)||Ot(a.c,c));return a}function $Sn(e,t,r){var o,a,c;if(e.e=r,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=VTn(e.i)),e.j=e.i.length,dr(e),c=N0(e),e.d!=e.j)throw Y(new Dn(jn((Cn(),cAt))));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 Dn(jn((Cn(),lAt))));e.g.a.c.length=0}return c}function BSn(e,t){var r,o,a,c,f,p,m;for(t.Tg("Comment post-processing",1),c=new V(e.b);c.a<c.c.c.length;){for(a=l(q(c),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)&&(iNn(f,m,r),m&&li(o,m),r&&li(o,r));li(a.a,o)}t.Ug()}function Uwt(e,t,r,o,a){var c,f,p,m,y,v;if(e.d&&e.d.Fg(a),c=l(a.Xb(0),19),R1t(e,r,c,!1)||(f=l(a.Xb(a.gc()-1),19),R1t(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 USn(e,t,r){var o,a,c,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(c=T.Jc();c.Ob();){for(a=l(c.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 HSn(e,t,r,o){var a,c,f,p;for(a=l(bg(t,(He(),Kt)).Jc().Pb(),12),c=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),c)}r||Te(t,(Ie(),Cd),null),o||Te(t,(Ie(),Nl),null)}function Hwt(e,t){var r,o,a,c,f,p,m;for(r=new iE,c=new V(e.b);c.a<c.c.c.length;){for(a=l(q(c),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:Jyn(f,t);default:r.b==r.c||Lyt(r,o,m,!1,t),m=!1,o=0}r.b==r.c||Lyt(r,o,m,!0,t)}}function zSn(e){var t,r,o,a,c,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(c=e.r==(_1(),ak),f=c?fNt:dNt,r=new V(e.i.b);r.a<r.c.c.length;)t=l(q(r),26),xi(t.a,f),Sfn(e.a,Re(t.p),t.a)}function Xme(e,t){var r,o,a,c,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),c=ule(e,f==o.c?o.d:o.c),c>e.d[f.p]&&(r+=upe(e.b,c),l1(e.a,Re(c)));for(;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function zwt(e,t,r){var o,a,c,f;for(c=(!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||(c+=zwt(e,o,!1));if(r)for(f=Br(t);f;)c+=(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i,f=Br(f);return c}function _y(e,t){var r,o,a,c;return e.Nj()?(o=null,a=e.Oj(),e.Rj()&&(o=e.Tj(e.Yi(t),null)),r=e.Gj(4,c=ZS(e,t),null,t,a),e.Kj()&&c!=null&&(o=e.Mj(c,o)),o?(o.lj(r),o.mj()):e.Hj(r),c):(c=ZS(e,t),e.Kj()&&c!=null&&(o=e.Mj(c,null),o&&o.mj()),c)}function GSn(e){var t,r,o,a,c,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;)c=l(Sn(f),228),t.a._b(c)&&(a=r.c,p=c.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 qSn(e,t,r){var o,a,c,f,p,m;for(f=l(F(e,(Ie(),nte)),16).Jc();f.Ob();){switch(c=l(f.Pb(),9),l(F(c,(Be(),Cs)),166).g){case 2:Oi(c,t);break;case 4:Oi(c,r)}for(a=new $t(qt(Df(c).a.Jc(),new L));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(wSt,6),Xx=new Fw("CENTER_LABELS",7),Zx=new Fw("END_LABELS",8),eB=new Fw("PARTITIONS",9)}function VSn(e,t,r,o,a){return o<0?(o=_E(e,a,Z(X(Je,1),Pe,2,6,[nX,rX,iX,oX,lT,sX,aX,uX,cX,lX,dX,fX]),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 WSn(e,t,r,o,a){return o<0?(o=_E(e,a,Z(X(Je,1),Pe,2,6,[nX,rX,iX,oX,lT,sX,aX,uX,cX,lX,dX,fX]),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 KSn(e,t,r,o,a,c){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,c.a=o==f,o+=(y/100|0)*100+(o<f?100:0)),c.p=o,!0}function Gwt(e,t){var r,o,a,c,f;Br(e)&&(f=l(F(t,(Be(),mm)),185),me(ve(e,Zr))===me((qi(),W1))&&Vn(e,Zr,pf),o=(t1(),new Yp(Br(e))),c=new B8(Br(e)?new Yp(Br(e)):null,e),a=G0e(o,c,!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 YSn(e){var t,r,o,a,c,f;for(c=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 L));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=c.a.yc(f,c),r==null));return c}function Z_(){Z_=K,Uke=Z(X(pw,1),g2t,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(),VQ))}function qwt(e,t){var r,o,a,c,f;if(e.c.length==0)return new No(Re(0),Re(0));for(r=(at(0,e.c.length),l(e.c[0],12)).j,f=0,c=t.g,o=t.g+1;f<e.c.length-1&&r.g<c;)++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 No(Re(f),Re(a))}function JSn(e,t,r,o){var a,c,f,p,m,y,v;m=ks(t,r),(r==(He(),dn)||r==Kt)&&(m=oc(m)),f=!1;do for(a=!1,c=0;c<m.gc()-1;c++)y=l(m.Xb(c),12),p=l(m.Xb(c+1),12),Hwn(e,y,p,o)&&(f=!0,PW(e.a,l(m.Xb(c),12),l(m.Xb(c+1),12)),v=l(m.Xb(c+1),12),m.fd(c+1,l(m.Xb(c),12)),m.fd(c,v),a=!0);while(a);return f}function XSn(e,t,r){var o,a,c,f;for(r.Tg($St,1),a=l(Au(lr(new Et(null,new St(t.b,16)),new HHe),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),b0t(e,a,0),f=An(t.b,0);f.b!=f.d.c;)c=l(Sn(f),41),o=Ht(e.a,Re(c.g))!=null?l(Ht(e.a,Re(c.g)),15).a:0,Te(c,(js(),Jf),Re(o));r.Ug()}function $7(e,t,r){var o,a,c,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,c=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+c&&p<m&&v<y+o&&y<v||p<m+f&&m<p&&y<v&&v<y+o?!0:m<p+c&&p<m&&y<v+a&&v<y}function ZSn(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(c=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<c;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 QSn(e){var t,r,o,a,c,f,p;for(c=new Qp(l(kn(new Af),50)),p=Di,r=new V(e.d);r.a<r.c.c.length;){for(t=l(q(r),228),p=t.c.c;c.a.gc()!=0&&(f=l(c.a.Rc(),228),f.c.c+f.c.b<p);)c.a.Ac(f)!=null;for(a=c.a.ec().Jc();a.Ob();)o=l(a.Pb(),228),Gn(o.b,t),Gn(t.b,o);c.a.yc(t,(Dt(),L1))==null}}function Vwt(e,t,r){var o,a,c,f,p;if(!iy(t)){for(p=r.dh((ae(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),p.Tg(BSt,1),f=new GHe,c=null,a=t.Jc();a.Ob();)o=l(a.Pb(),41),f=Wc(Z(X(nl,1),Rt,22,0,[f,new Qh(o)])),c&&(Te(c,(Nr(),tRt),o),Te(o,ine,c),JW(o)==JW(c)&&(Te(c,one,o),Te(o,PB,c))),c=o;p.Ug(),Vwt(e,f,r)}}function eTn(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 pJ(e,t){var r;switch(r=null,t.g){case 1:e.e.nf((_n(),bre))&&(r=l(e.e.mf(bre),260));break;case 3:e.e.nf((_n(),mre))&&(r=l(e.e.mf(mre),260));break;case 2:e.e.nf((_n(),gre))&&(r=l(e.e.mf(gre),260));break;case 4:e.e.nf((_n(),wre))&&(r=l(e.e.mf(wre),260))}return!r&&(r=l(e.e.mf((_n(),mNe)),260)),r}function Wwt(e,t,r){var o,a,c,f,p,m;for(a=r,c=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>JSt?xi(m,e.b):o<=JSt&&o>XSt?xi(m,e.d):o<=XSt&&o>ZSt?xi(m,e.c):o<=ZSt&&xi(m,e.a),c=Wwt(e,m,c);return a}function Kwt(e,t,r,o){var a,c,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 IQe,p=new V(e.f);p.a<p.c.c.length;)c=l(q(p),135),m=c.a,HY(y,t,m),HY(y,r,m);for(f=new V(e.k);f.a<f.c.c.length;)c=l(q(f),135),m=c.b,HY(y,t,m),HY(y,r,m);return y.b+=2,y.a+=Cat(t,e.q),y.a+=Cat(e.q,r),y}function tTn(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 eze))),41),e.a=l(F(t,sxe),354),e.a==(tC(),cne)||e.a==$B?fEt(e,new Ds(Z(X(MB,1),DF,41,0,[o])),r.dh(1)):e.a==une&&$Et(e,new Ds(Z(X(MB,1),DF,41,0,[o])),r.dh(1)),r.Ug()}function Ywt(e){var t,r,o,a,c,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(),c=new ro,c.b=p,p+=f.b+e.a,e.b.g){case 0:c.a=r.c+t.b;break;case 1:c.a=r.c+t.b+(r.b-f.a)/2;break;case 2:c.a=r.c+r.b-t.c-f.a}o.Mf(c)}}function Jwt(e){var t,r,o,a,c,f,p;for(r=e.i,t=e.n,p=r.c,e.b==(_u(),D1)?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(),c=new ro,c.a=p,p+=f.a+e.a,e.f.g){case 0:c.b=r.d+t.d;break;case 1:c.b=r.d+t.d+(r.a-f.b)/2;break;case 2:c.b=r.d+r.a-t.a-f.b}o.Mf(c)}}function nTn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;v=r.a.c,f=r.a.c+r.a.b,c=l(Ht(r.c,t),460),O=c.f,M=c.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 L));an(a);)o=l(en(a),17),!o.c.i.c&&o.c.i.k==(zt(),ta)&&Oi(o.c.i,e.a)}function rTn(e,t){var r,o,a,c;for(c=ks(t,(He(),dn)).Jc();c.Ob();)o=l(c.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 Xwt(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 LGe))),Le(e,BF,B0,XNe),Le(e,BF,$0,15),Le(e,BF,cF,Re(0)),Le(e,BF,mx,bx)}function Qme(){Qme=K;var e,t,r,o,a,c;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(c=0;c<10;c++)kU[c]=48+c&Ei;for(e=10;e<=15;e++)kU[e]=65+e-10&Ei}function Zwt(e,t){t.Tg("Process graph bounds",1),Te(e,(Nr(),nne),wO(kK(ey(new Et(null,new St(e.b,16)),new MHe)))),Te(e,rne,wO(kK(ey(new Et(null,new St(e.b,16)),new PHe)))),Te(e,G_e,wO(xK(ey(new Et(null,new St(e.b,16)),new jHe)))),Te(e,q_e,wO(xK(ey(new Et(null,new St(e.b,16)),new FHe)))),t.Ug()}function iTn(e){var t,r,o,a,c;a=l(F(e,(Be(),mm)),24),c=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),c.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,Ate)))||O_n(e,r,t)}function oTn(e){var t,r,o,a,c,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;)c=l(q(f),9),!t&&!iy(Df(c))&&(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 dft(p),Zs(e.f),Zs(e.b),Zs(e.e),Zs(e.g)}function gJ(e){var t,r,o,a,c,f;if(!e.c){if(f=new oqe,t=D4,c=t.a.yc(e,t),c==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,gJ(l(a,29))),Tn(f,r);t.a.Ac(e)!=null,t.a.gc()==0}p1n(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 Dn(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 Dn(jn((Cn(),tl))))}return t}function Qwt(e){var t,r,o,a,c;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==EL&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+Qwt(k_(e));for(r=e,o="";!(r.l==0&&r.m==0&&r.h==0);){if(a=VW(rF),r=j0e(r,a,!0),t=""+tet(O1),!(r.l==0&&r.m==0&&r.h==0))for(c=9-t.length;c>0;c--)t="0"+t;o=t+o}return o}function sTn(){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 aTn(e,t,r){var o,a,c,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=Jbt(t.d)):(p=Jbt(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 TZe,c=0;c<y.b-1;++c)v=new No(l(sa(y,c),8),l(sa(y,c+1),8)),f&&c==0||!f&&c==y.b-2?T.b=v:Fe(T.a,v);return T}function uTn(e,t){var r,o,a,c;if(c=e.j.g-t.j.g,c!=0)return c;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,c,f,p,m;if(yd(($O(),new $t(qt(Df(t).a.Jc(),new L))))>=e.a||!Lbe(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(c=l(f.Pb(),17),m=c.c.i==t?c.d.i:c.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),AOt=new Mi(uv,(Dt(),!1)),Wxe=new xb(15),c4=new Mi(df,Wxe),l4=new Mi(Od,15),vOt=$D,TOt=Am,_Ot=b2,xOt=G1,SOt=g2,Rne=v4,kOt=cv,Xxe=(v0e(),mOt),Jxe=bOt,Lne=yOt,Zxe=wOt,Vxe=hOt,One=fOt,qxe=dOt,Yxe=gOt,zxe=y4,EOt=pre,OD=uOt,Hxe=aOt,LD=cOt,Kxe=pOt,Gxe=lOt}function eyt(e,t){var r,o,a,c,f,p;if(me(t)===me(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),c=f.Pb(),a==null?c!=null:!pr(a,c))return!1}else for(r=0;r<p;++r)if(a=e.Ti(r),c=f.Pb(),me(a)!==me(c))return!1;return!0}function tyt(e,t){var r,o,a,c,f,p;if(e.f>0){if(e.Zj(),t!=null){for(c=0;c<e.d.length;++c)if(r=e.d[c],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(c=0;c<e.d.length;++c)if(r=e.d[c],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(a=o[f],me(t)===me(a.kd()))return!0}}return!1}function cTn(e,t){var r,o,a;return r=t.ni(e.a),r&&(a=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),"affiliation")),a!=null)?(o=j8(a,Qa(35)),o==-1?ZK(e,_3(e,mc(t.ok())),a):o==0?ZK(e,null,(Yt(1,a.length+1),a.substr(1))):ZK(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,xee=new OS("NORTH",0,(He(),Wt),Wt),Cee=new OS("SOUTH",1,dn,dn),_ee=new OS("EAST",2,Qt,Qt),Oee=new OS("WEST",3,Kt,Kt),Nee=new OS("NORTH_WEST_CORNER",4,Kt,Wt),kee=new OS("NORTH_EAST_CORNER",5,Wt,Qt),Ree=new OS("SOUTH_WEST_CORNER",6,dn,Kt),Iee=new OS("SOUTH_EAST_CORNER",7,Qt,dn)}function lTn(e,t,r){var o,a,c,f;r.Tg("Orthogonally routing hierarchical port edges",1),e.a=0,o=ixn(t),hkn(t,o),Yxn(e,t,o),hNn(t),a=l(F(t,(Be(),Zr)),103),c=t.b,uEt((at(0,c.c.length),l(c.c[0],26)),a,t),uEt(l(ze(c,c.c.length-1),26),a,t),f=t.b,mvt((at(0,f.c.length),l(f.c[0],26))),mvt(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 nyt(e,t,r,o){var a,c,f,p,m,y;for(m=UY(e,r),y=UY(t,r),a=!1;m&&y&&(o||amn(m,y,r));)f=UY(m,r),p=UY(y,r),d6(t),d6(e),c=m.c,BJ(m,!1),BJ(y,!1),r?(E1(t,y.p,c),t.p=y.p,E1(e,m.p+1,c),e.p=m.p):(E1(e,m.p,c),e.p=m.p,E1(t,y.p+1,c),t.p=y.p),Oi(m,null),Oi(y,null),m=f,y=p,a=!0;return a}function ryt(e){switch(e.g){case 0:return new BWe;case 1:return new NWe;case 3:return new Yet;case 4:return new TUe;case 5:return new xit;case 6:return new UWe;case 2:return new CWe;case 7:return new DWe;case 8:return new kWe;default:throw Y(new jt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function dTn(e,t,r,o){var a,c,f,p,m;for(a=!1,c=!1,p=new V(o.j);p.a<p.c.c.length;)f=l(q(p),12),me(F(f,(Ie(),mr)))===me(r)&&(f.g.c.length==0?f.e.c.length==0||(a=!0):c=!0);return m=0,a&&a^c?m=r.j==(He(),Wt)?-e.e[o.c.p][o.p]:t-e.e[o.c.p][o.p]:c&&a^c?m=e.e[o.c.p][o.p]+1:a&&c&&(m=r.j==(He(),Wt)?0:t/2),m}function bJ(e,t,r,o,a,c,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=c.length;y<v;y++)m^=lg(c[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=c,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 hKe(new Ds(Z(X(B3n,1),Rt,181,0,[l(kn(a),181),l(kn(o),181)])))):(At(),At(),Io)}function fTn(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(),jD));break;case 4:Te(e,Kf,(mh(),FD))}(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 iyt(e,t,r,o,a,c){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),EK(this.e,this.c,(He(),Kt)),this.i=new FO(o),EK(this.i,this.c,Qt),this.f=new Jot(this.c),this.a=!c&&a.i&&!a.s&&this.c[0].k==(zt(),mi),this.a&&Iyn(this,e,t.length)}function oyt(e,t){var r,o,a,c,f,p;c=!e.B.Gc((Uu(),ZD)),f=e.B.Gc(kre),e.a=new Fgt(f,c,e.c),e.n&&xhe(e.a.n,e.n),uq(e.g,(Sd(),$a),e.a),t||(o=new fC(1,c,e.c),o.n.a=e.k,IS(e.p,(He(),Wt),o),a=new fC(1,c,e.c),a.n.d=e.k,IS(e.p,dn,a),p=new fC(0,c,e.c),p.n.c=e.k,IS(e.p,Kt,p),r=new fC(0,c,e.c),r.n.b=e.k,IS(e.p,Qt,r))}function hTn(e){var t,r,o;switch(t=l(F(e.d,(Be(),kp)),225),t.g){case 2:r=i3n(e);break;case 3:r=(o=new je,ei(lr(Oa(bs(bs(new Et(null,new St(e.d.b,16)),new OBe),new LBe),new DBe),new mBe),new sJe(o)),o);break;default:throw Y(new es("Compaction not supported for "+t+" edges."))}xxn(e,r),lo(new Xh(e.g),new nJe(e))}function pTn(e,t){var r,o,a,c,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(),CD)),15).a,m=l(F(o,ID),15).a,r.g){case 4:m*=-1;break;case 1:c=p,p=m,m=c;break;case 2:f=p,p=-m,m=f}Te(o,CD,Re(p)),Te(o,ID,Re(m))}t.Ug()}function gTn(e){var t,r,o,a,c,f,p,m;for(m=new plt,p=new V(e.a);p.a<p.c.c.length;)if(f=l(q(p),9),f.k!=(zt(),mi)){for(vEn(m,f,new ro),c=new $t(qt(Or(f).a.Jc(),new L));an(c);)if(a=l(en(c),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 mJ(){mJ=K,Ake=new cr(zZ),Tke=(JN(),MD),Ske=new pt(VZ,Tke),Eke=(x6(),QB),XOt=new pt(Uve,Eke),vke=(J6(),Une),JOt=new pt(Hve,vke),WOt=new pt(GZ,null),yke=(o6(),XB),YOt=new pt(qZ,yke),wke=(Y9(),Fne),zOt=new pt(zve,wke),GOt=new pt(Gve,(Dt(),!1)),qOt=new pt(qve,Re(64)),VOt=new pt(Vve,!0),KOt=Bne}function syt(e,t){var r,o,a,c,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&&(c=m.c,c.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 ayt(e){switch(e.g){case 0:return new qfe;case 1:return new jWe;case 2:return new LWe;case 3:return new OWe;case 4:return new Jtt;case 5:return new Ztt;case 6:return new Xtt;case 7:return new MWe;case 8:return new PWe;default:throw Y(new jt("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function bTn(e,t){var r,o;if(r=l(F(e,(Nr(),Qte)),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 OHe)),41);break;case 1:o=l(Xu(Jw(r.Mc(),new NHe)),41);break;case 4:o=l(Xu(NS(r.Mc(),new CHe)),41);break;case 3:o=l(Xu(Jw(r.Mc(),new IHe)),41)}return o}function uyt(e){var t,r,o,a,c,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(),Ite)))for(o=l(F(e.c,Ite),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;)c=l(q(f),26),e.a[a++]=ZEn(c)}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"),Cne=new Pr("minRowIncrease",0),oOt=new Pr("maxRowIncrease",0),Nne=new Pr("minRowDecrease",0),iOt=new Pr("maxRowDecrease",0)}function cyt(e,t){var r,o,a,c;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();)c=l(rn(o),474),r=Pu(c),Sy(r,t)}function lyt(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M;for(a=!1,f=t,p=0,m=f.length;p<m;++p)c=f[p],Ye((Dt(),!!c.e))&&!l(ze(e.b,c.e.p),221).s&&(a=a|(y=c.e,v=l(ze(e.b,y.p),221),T=v.e,N=OQe(r,T.length),O=T[N][0],O.k==(zt(),mi)?T[N]=W2n(c,T[N],r?(He(),Kt):(He(),Qt)):v.c.kg(T,r),M=oL(e,v,r,o),Yme(v.e,v.o,r),M));return a}function dyt(e,t){var r,o,a,c,f;for(c=(!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),me(ve(o,(_n(),h2)))!==me((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&&(c+=dyt(e,o)));return c}function mTn(e){var t,r,o,a,c;for(c=new La(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(c.c,o)}return c}function wTn(e){var t,r,o,a,c,f,p;for(o=0,p=0,f=new V(e.d);f.a<f.c.c.length;)c=l(q(f),108),a=l(Au(lr(new Et(null,new St(c.j,16)),new Oue),ju(new Qo,new ls,new Ci,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 ZBe),new cJe(t))}function yTn(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 vTn(e){var t,r,o,a,c,f,p,m;for(e.b=new i0t(new Ds((He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt]))),new Ds((T0(),Z(X(Aee,1),Ce,369,0,[Q0,P1,Z0])))),f=Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt]),p=0,m=f.length;p<m;++p)for(c=f[p],r=Z(X(Aee,1),Ce,369,0,[Q0,P1,Z0]),o=0,a=r.length;o<a;++o)t=r[o],x0n(e.b,c,t,new je)}function fyt(e,t){var r,o,a,c,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),wSn(e,t),a=null,m=null,p){for(c=f.Jc(),a=l(c.Pb(),116),m=a;c.Ob();)m=l(c.Pb(),116);a.d.b=0,m.d.c=0,v&&!a.a&&(a.d.c=0)}T&&(Twn(f),p&&(a.d.b=0,m.d.c=0))}function hyt(e,t){var r,o,a,c,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),PAn(e,t),v=null,a=null,p){for(c=f.Jc(),v=l(c.Pb(),116),a=v;c.Ob();)a=l(c.Pb(),116);v.d.d=0,a.d.a=0,y&&!v.a&&(v.d.a=0)}T&&(Awn(f),p&&(v.d.d=0,a.d.a=0))}function pyt(e,t,r){var o,a,c,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(c=l(q(f),12),v=(o=new V(new tS(c).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)&&pyt(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 ETn(e,t){var r,o,a,c,f;return a=t.ni(e.a),a&&(o=(!a.b&&(a.b=new Zu((_t(),Oo),zs,a)),a.b),r=In(Td(o,ho)),r!=null&&(c=r.lastIndexOf("#"),f=c==-1?Bde(e,t.hk(),r):c==0?c6(e,null,(Yt(1,r.length+1),r.substr(1))):c6(e,(io(0,c,r.length),r.substr(0,c)),(Yt(c+1,r.length+1),r.substr(c+1))),ae(f,160)))?l(f,160):null}function STn(e,t){var r,o,a,c,f;return o=t.ni(e.a),o&&(r=(!o.b&&(o.b=new Zu((_t(),Oo),zs,o)),o.b),c=In(Td(r,TQ)),c!=null&&(a=c.lastIndexOf("#"),f=a==-1?Bde(e,t.hk(),c):a==0?c6(e,null,(Yt(1,c.length+1),c.substr(1))):c6(e,(io(0,a,c.length),c.substr(0,a)),(Yt(a+1,c.length+1),c.substr(a+1))),ae(f,160)))?l(f,160):null}function TTn(e,t){var r,o,a,c,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=Lf(T.g),o=f,a=0,c=o.length;a<c;++a)r=o[a],Ye(Ke(F(r,(Ie(),Ag))))&&mg(r,!1);t.Ug()}function ATn(e,t,r,o){var a,c,f,p,m;for(m=we(Ki,Pe,109,(He(),Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,0,2),c=Z(X(Ro,1),ea,64,0,[Is,Wt,Qt,dn,Kt]),f=0,p=c.length;f<p;++f)a=c[f],m[a.g]=we(Ki,Jo,30,e.c[a.g],15,1);return bbt(m,e,Wt),bbt(m,e,dn),LY(m,e,Wt,t,r,o),LY(m,e,Qt,t,r,o),LY(m,e,dn,t,r,o),LY(m,e,Kt,t,r,o),m}function _Tn(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 xTn(e){var t,r,o,a,c,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),c=b.Math.max(0,o.n.d-a),c=b.Math.max(c,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=c,f.n.d=c,o.n.a=r,f.n.a=r)}function i0e(e,t,r,o){var a,c,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 c=(Mo(),l(t,69).vk()?l(r,76):gh(t,r)),Ju(e.e)?(y=!F6(e,t),o=Pa(e,c,o),m=t.Hk()?c1(e,3,t,null,r,nx(e,t,r,ae(t,104)&&(l(t,20).Bb&Co)!=0),y):c1(e,1,t,t.gk(),r,-1,y),o?o.lj(m):o=m):o=Pa(e,c,o),o}function gyt(){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 dGe,new fGe),cE(Hke,new TGe,new AGe),cE(W2e,new _Ge,new xGe),cE(K2e,new kGe,new NGe),cE(ILt,new CGe,new IGe),cE(U3n,new hGe,new pGe),cE(G3n,new gGe,new bGe),cE(H3n,new mGe,new wGe),cE(z3n,new yGe,new vGe),cE(W3n,new EGe,new SGe)}function CC(e,t){var r,o,a,c,f;for(e=e==null?tu:(Mt(e),e),a=0;a<t.length;a++)t[a]=k2n(t[a]);for(r=new lS,f=0,o=0;o<t.length&&(c=e.indexOf("%s",f),c!=-1);)r.a+=""+yl(e==null?tu:(Mt(e),e),f,c),ba(r,t[o++]),f=c+2;if(cct(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,c,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),Wst(o)?(c=ule(e,p==o.c?o.d:o.c),c>e.d[p.p]&&(r+=upe(e.b,c),l1(e.a,Re(c)))):++f;for(r+=e.b.d*f;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function byt(e){var t,r,o,a,c,f;return c=0,t=Sl(e),t.ik()&&(c|=4),e.Bb&yu&&(c|=2),ae(e,104)?(r=l(e,20),a=Po(r),r.Bb&Ws&&(c|=32),a&&(ln(ny(a)),c|=8,f=a.t,(f>1||f==-1)&&(c|=16),a.Bb&Ws&&(c|=64)),r.Bb&Co&&(c|=yp),c|=Tl):ae(t,462)?c|=512:(o=t.ik(),o&&o.i&1&&(c|=256)),e.Bb&512&&(c|=128),c}function kTn(e,t){var r;return e.f==Ure?(r=f0(rs((mu(),ao),t)),e.e?r==4&&t!=(rT(),XT)&&t!=(rT(),JT)&&t!=(rT(),Hre)&&t!=(rT(),zre):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 NTn(e,t){var r,o,a,c,f,p,m,y;for(c=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 Ci,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(c.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,c)}function wJ(e){var t,r,o,a,c,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=Di,f=t.c.Jc();f.Ob();)c=l(f.Pb(),60),l(Ss(ts(p.f,c)),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);jwt(e)}function yJ(e){var t,r,o,a,c,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=Di,f=t.f.Jc();f.Ob();)c=l(f.Pb(),84),l(Ss(ts(p.f,c)),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);xwt(e)}function CTn(e,t){var r,o,a,c,f,p,m,y,v,T,N;for(m=ji(t.a),a=ue(le(F(m,(Be(),$1))))*2,v=ue(le(F(m,tv))),y=b.Math.max(a,v),c=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,c[r++]=o;for(o+=e.a[t.a.c.p]+y,c[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,c[r++]=o;return c}function ITn(e,t,r,o){var a,c,f,p,m,y,v,T,N;for(N=new Qp(new CJe(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),c=new Vd(v.b);Ts(c.a)||Ts(c.b);)a=l(Ts(c.a)?q(c.a):q(c.b),17),fo(a)||(N.a.yc(v,(Dt(),L1))==null,Wst(a)&&qO(N,v==a.c?a.d:a.c));return kn(N),new Tu(N)}function RTn(e,t,r,o){var a,c,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,c=b.Math.atan2(T,y),c<0&&(c+=sm),c+=t,c>sm&&(c-=sm),Ud(),Yl(1e-10),b.Math.abs(a-c)<=1e-10||a==c||isNaN(a)&&isNaN(c)?0:a<c?-1:a>c?1:kb(isNaN(a),isNaN(c))}function s0e(e,t,r,o){var a,c,f;t&&(c=ue(le(F(t,(Nr(),Ng))))+o,f=r+ue(le(F(t,jB)))/2,Te(t,CD,Re(Ln(Gs(b.Math.round(c))))),Te(t,ID,Re(Ln(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(le(F(t,jB)))+e.b,o+ue(le(F(t,lk)))),F(t,one)!=null&&s0e(e,l(F(t,one),41),r,o))}function OTn(e,t){var r,o,a,c;if(c=l(ve(e,(_n(),m2)),64).g-l(ve(t,m2),64).g,c!=0)return c;if(r=l(ve(e,yre),15),o=l(ve(t,yre),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?QY(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 myt(e){var t,r,o;return e.Db&64?QY(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 LTn(e,t){var r,o,a,c,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(c=f[p],r=new Mpe(e,O==-1?t[0]:t[O],l(F(ji(c),(Be(),Ch)),270),lbt(c),Ye(Ke(F(ji(c),pte)))),o=0;o<c.j.c.length;o++)for(a=o+1;a<c.j.c.length;a++)gst(r,l(ze(c.j,o),12),l(ze(c.j,a),12))>0&&++M;++O}return M}function DTn(e,t){var r,o,a,c,f;for(t==(nC(),qte)&&vC(l(wr(e.a,(yy(),sD)),16)),a=l(wr(e.a,(yy(),sD)),16).Jc();a.Ob();)switch(o=l(a.Pb(),108),r=l(ze(o.j,0),114).d.j,c=new Tu(o.j),xi(c,new HBe),t.g){case 2:VY(e,c,r,(T0(),P1),1);break;case 1:case 0:f=A2n(c),VY(e,new Rf(c,0,f),r,(T0(),P1),0),VY(e,new Rf(c,f,c.c.length),r,P1,1)}}function MTn(e){var t,r,o,a,c,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(c=l(q(f),12),me(c)===me(F(r,mr))){c.j==(He(),Wt)&&e.p>a.p?(Ii(c,dn),c.d&&(p=c.o.b,t=c.a.b,c.a.b=p-t)):c.j==dn&&a.p>e.p&&(Ii(c,Wt),c.d&&(p=c.o.b,t=c.a.b,c.a.b=-(p-t)));break}return a}function u0e(e,t){var r,o,a,c,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 Dw(p));o.a.Ob();)if(r=(c=l(o.a.Pb(),45),l(c.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,c,f,p,m,y,v,T,N;for(c=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,c),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,c),f=l(F(o,(Be(),ss)),79),f&&ly(f,c),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,c)}function PTn(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(c=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,c),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,c),f=l(F(o,(Be(),ss)),79),f&&ly(f,c),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,c)}function wyt(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 jTn(e,t){var r,o;t.Tg("Partition preprocessing",1),o=l(Au(lr(new Et(null,new St(e.a,16)),new y$e),ju(new Qo,new ls,new Ci,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 v$e),new E$e),new UYe(o)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),ei(r.Mc(),new S$e),t.Ug()}function yyt(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 vyt(e,t){var r,o;for(this.b=new je,this.e=new je,this.a=e,this.d=t,ybn(this),x1n(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,c,f,p,m,y,v;for(o=l(Ht(e.b,t),47),c=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=c.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),c)}function sL(e,t,r){var o,a,c,f,p,m,y,v;for(o=l(Ht(e.a,t),47),c=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=c.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),c)}function jf(){jf=K;var e;for(d$=new ap(1,1),VQ=new ap(1,10),wI=new ap(0,0),txt=new ap(-1,1),nxt=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),VQ]),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 Eyt(e,t){var r,o,a,c,f,p,m,y,v;for(a=new $t(qt(mp(t).a.Jc(),new L));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,c=v.i+v.g/2,f=v.j,E0(p,m),S0(p,y),y0(p,c),v0(p,f),r=ue(le(ve(v,(wh(),cw)))),b.Math.abs(r-(f-ue(le(ve(Br(v),(_n(),Od))))/2))>wg&&nY(p,c,r),Eyt(e,v)}function Syt(e,t,r,o,a,c,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+c.a+f;break;case 4:e.c-=f+c.a+f+t.Kf().a;break;case 1:e.c+=a.Kf().a+f,e.d-=f+c.b+f+t.Kf().b;break;case 3:e.c+=a.Kf().a+f,e.d+=a.Kf().b+f+c.b+f}}function FTn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M;if(c=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 No(O,M)),T=l(N.a,117),v=l(N.b,117),a=(at(c,t.c.length),l(t.c[c],341)),f=Kwt(e,T,v,a),y=r+1;y<=o;y++)p=(at(y,t.c.length),l(t.c[y],341)),m=Kwt(e,T,v,p),wbn(p,m,a,f)&&(a=p,f=m,c=y);return c}function $Tn(e,t,r,o){var a,c,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,c=new jfe(e.a,f.g,f.f,(xC(),DD)),O=1;O<t.i;O++)M=l(oe(t,O),19),m=IJ(e,f2,M,p,c,N,r),y=IJ(e,BT,M,p,c,N,r),v=IJ(e,f4,M,p,c,N,r),T=IJ(e,d4,M,p,c,N,r),a=mxn(e,m,y,v,T,M,p,o),va(M,a.d),gu(M,a.e),IZt(a,DD),c=a,p=M,Ot(N.c,M);return c}function BTn(e,t,r){var o,a,c,f,p,m,y,v,T,N;if(v=null,N=t,T=Uft(e,Ict(r),N),v_(T,sp(N,qf)),f=m0(N,hEe),o=new nnt(e,T),Ymt(o.a,o.b,f),p=m0(N,dQ),a=new rnt(e,T),Jmt(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 c=sp(N,qf),m=eAt+c,y=m+Px,Y(new xf(y));return E7(N,T),JNn(e,N,T),v=FK(e,N,T),v}function UTn(e,t){var r,o,a,c,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;)c=l(q(f),126),a[c.d]+=c.b.a.c.length;for(p=UO(t);p.b!=0;)for(c=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),126),o=BS(new V(c.g.a));o.Ob();)r=l(o.Pb(),220),m=r.e,m.e=b.Math.max(m.e,c.e+r.a),--a[m.d],a[m.d]==0&&Wr(p,m,p.c.b,p.c)}function Tyt(e){var t,r,o,a,c,f,p,m,y,v,T;for(r=Qi,a=sr,p=new V(e.e.a);p.a<p.c.c.length;)c=l(q(p),126),a=b.Math.min(a,c.e),r=b.Math.max(r,c.e);for(t=we(Rn,Qn,30,r-a+1,15,1),f=new V(e.e.a);f.a<f.c.c.length;)c=l(q(f),126),c.e-=a,++t[c.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 HTn(e,t){var r,o,a,c,f,p;if(t.Tg("Edge routing",1),a=l(F(e,(js(),sne)),386),a==(eC(),Zte))$dn(e);else if(a==kD)for(l(Xu(hp(lr(new Et(null,new St(e.b,16)),new AHe))),41),c=ue(le(F(e,ixe))),f=ue(le(F(e,Q_e))),p=l(F(e,uw),87),ZNn(e,p,c),I3n(e,p,c,f),O3n(e,p,c,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 Ayt(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 zTn(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 _yt(e,t,r){var o,a,c,f,p,m,y,v,T;for(c=new La(t.c.length),y=new V(t);y.a<y.c.c.length;)f=l(q(y),9),Fe(c,e.b[f.c.p][f.p]);for(Nxn(e,c,r),T=null;T=xkn(c);)u_n(e,l(T.a,242),l(T.b,242),c);for(t.c.length=0,a=new V(c);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 GTn(e,t){var r,o,a;switch(t.Tg("Breaking Point Insertion",1),o=new kme(e),l(F(e,(Be(),Cte)),351).g){case 2:a=new Pue;break;case 0:a=new Lue;break;default:a=new jue}if(r=a.mg(e,o),Ye(Ke(F(e,YAe)))&&(r=Pxn(e,r)),!a.ng()&&gr(e,SB))switch(l(F(e,SB),352).g){case 2:r=Kmt(o,r);break;case 1:r=Mbt(o,r)}if(r.dc()){t.Ug();return}r3n(e,r),t.Ug()}function xyt(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 OGe))),Le(e,Ox,B0,VNe),Le(e,Ox,IF,Ge(S4)),Le(e,Ox,rEe,Ge(HNe)),Le(e,Ox,ME,Ge(zNe)),Le(e,Ox,mT,Ge(qNe)),Le(e,Ox,vx,Ge(GNe))}function H7(e,t,r){var o,a,c,f,p;if(o=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),p=Ln(wo(Sh,ph(Ln(wo(r==null?0:Rr(r),Th)),15))),c=Y3(e,t,o),c&&p==c.f&&rp(r,c.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),c?(kE(e,c),Z6(e,a,c),c.e=null,c.c=null,c.i):(Z6(e,a,null),mbt(e),null)}function qTn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;v=r.a.c,f=r.a.c+r.a.b,c=l(Ht(r.c,t),460),O=c.f,M=c.a,c.b?m=new Me(f,O):m=new Me(v,O),c.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),SD=new $w("NIKOLOV",1),TD=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 vJ(e,t){var r,o,a,c,f,p,m,y,v,T,N,O;return v=null,N=Rme(e,t),o=null,p=l(ve(t,(_n(),z6t)),301),p?o=p:o=(V3(),YD),O=o,O==(V3(),YD)&&(a=null,y=l(Ht(e.r,N),301),y?a=y:a=xre,O=a),Jn(e.r,t,O),c=null,m=l(ve(t,H6t),280),m?c=m:c=(O_(),zD),T=c,T==(O_(),zD)&&(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 VTn(e){var t,r,o,a,c;for(o=e.length,t=new GN,c=0;c<o;)if(r=co(e,c++),!(r==9||r==10||r==12||r==13||r==32)){if(r==35){for(;c<o&&(r=co(e,c++),!(r==13||r==10)););continue}r==92&&c<o?(a=(Yt(c,e.length),e.charCodeAt(c)))==35||a==9||a==10||a==12||a==13||a==32?(i_(t,a&Ei),++c):(t.a+="\\",i_(t,a&Ei),++c):i_(t,r&Ei)}return t.a}function c0e(){c0e=K,DRt=new pt(wve,(Dt(),!1)),FRt=new pt(yve,Re(0)),$Rt=new pt(vve,0),BRt=new pt(PF,!1),bxe=(R6(),UB),PRt=new pt(jZ,bxe),Re(0),MRt=new pt(FZ,Re(1)),wxe=(Ij(),Sne),GRt=new pt(Eve,wxe),yxe=(rj(),mne),qRt=new pt(Sve,yxe),mxe=(d7(),Ene),jRt=new pt(Tve,mxe),zRt=new pt($Z,0),URt=new pt(BZ,!1),HRt=new pt(Ave,!1)}function WTn(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 EJ(e,t,r){var o,a,c,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(me(f.Sl(p))===me(e)&&(a=f.Rl(p),ae(a,104)&&(c=l(a,20),c.Bb&Ws)))return c;throw Y(new es("The containment feature could not be located"))}else return Po(l(Nt(e.Ah(),r),20));else return null}function KTn(e){var t,r,o,a,c,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(c=a+1;c<v.c.length;c++)y=(at(c,v.c.length),l(v.c[c],108)),y.i&&(o=Own(m,y),t[m.i.c][y.i.c]=o,t[y.i.c][m.i.c]=o);return t}function IC(){IC=K,Xte=new r0("ROOT_PROC",0),L_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),D_e=new r0("GRAPH_BOUNDS_PROC",9),R_e=new r0("DETREEIFYING_PROC",10)}function l0e(e,t){var r,o,a,c,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(dL(T,p,(c=l(oe(oa(T.a),p),88),m=c.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=bvn(e,t),o.dc()?y||(At(),At(),Io):y?(a||(y=new uP(y)),y.Fc(o),y):o}function SJ(e,t){var r,o,a,c,f,p,m,y,v,T;for(T=ds(t),y=null,o=!1,p=0,v=oa(T.a).i;p<v;++p)c=l(dL(T,p,(a=l(oe(oa(T.a),p),88),m=a.c,ae(m,89)?l(m,29):(_t(),Ml))),29),r=SJ(e,c),r.dc()||(y?(o||(o=!0,y=new uP(y)),y.Fc(r)):y=r);return f=Hvn(e,t),f.dc()?y||(At(),At(),Io):y?(o||(y=new uP(y)),y.Fc(f),y):f}function YTn(e,t){var r,o,a,c,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,c=new V(t);c.a<c.c.c.length;)a=l(q(c),9),e.c[a.p]||(Qmt(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 JTn(e,t,r,o){var a,c,f;F(o.d.i,(Ie(),Cr))==null?Jn(t,Re(sr-(t.f.c+t.i.c)),new Kw(new Ds(Z(X(zx,1),Tx,17,0,[o])))):(f=0,c=o.d.i,r?(a=l(F(e.c,F1),15).a,f=a*l(F(c,(Be(),Vy)),15).a+l(F(c,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 Ds(Z(X(zx,1),Tx,17,0,[o])))))}function aL(e,t,r){var o,a,c,f,p,m;if(ae(t,76))return _o(e,t,r);for(p=null,c=null,o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],pr(t,a.kd())&&(c=a.Jk(),ae(c,104)&&l(c,20).Bb&Ws)){p=a;break}return p&&(Ju(e.e)&&(m=c.Hk()?c1(e,4,c,t,null,nx(e,c,t,ae(c,104)&&(l(c,20).Bb&Co)!=0),!0):c1(e,c.rk()?2:1,c,t,c.gk(),-1,!0),r?r.lj(m):r=m),r=aL(e,p,r)),r}function XTn(e,t,r){var o,a,c,f;if(f=za(e.e.Ah(),t),o=l(e.g,123),Mo(),l(t,69).vk()){for(c=0;c<e.i;++c)if(a=o[c],f.$l(a.Jk())&&pr(a,r))return _y(e,c),!0}else if(r!=null){for(c=0;c<e.i;++c)if(a=o[c],f.$l(a.Jk())&&pr(r,a.kd()))return _y(e,c),!0}else for(c=0;c<e.i;++c)if(a=o[c],f.$l(a.Jk())&&a.kd()==null)return _y(e,c),!0;return!1}function kyt(e,t,r,o){var a,c,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),c=new V(N.g);c.a<c.c.c.length;)for(a=l(q(c),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 ZTn(e,t){var r,o,a,c,f;if(t.Tg("Node and Port Label Placement and Node Sizing",1),Jnt((KN(),new gW(e,!0,!0,new YFe))),l(F(e,(Ie(),xa)),24).Gc((Fo(),rl)))for(c=l(F(e,(Be(),Xy)),24),a=c.Gc((xu(),KD)),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 JFe),new aot(c,a,f));t.Ug()}function Nyt(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 Wze))),Le(e,Nx,zZ,Ge(Nke)),Le(e,Nx,B0,kke),Le(e,Nx,$0,8),Le(e,Nx,VZ,Ge(QOt)),Le(e,Nx,qve,Ge(_ke)),Le(e,Nx,Vve,Ge(xke)),Le(e,Nx,UL,(Dt(),!1))}function QTn(e,t){var r,o,a,c,f,p,m;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),LEe)),m!=null)){for(o=new je,c=ky(m,"\\w"),f=0,p=c.length;f<p;++f)a=c[f],wt(a,"##other")?Fe(o,"!##"+_3(e,mc(t.ok()))):wt(a,"##local")?o.c.push(null):wt(a,KL)?Fe(o,_3(e,mc(t.ok()))):Ot(o.c,a);return o}return At(),At(),Io}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,(Dt(),!1)),this.f=we(Yr,Pe,476,t,8,1),hO(this.f,!0),this.o=r,this.c=o}function uL(e){var t,r,o,a,c,f,p,m;if(e.d)throw Y(new es((np(pee),CX+pee.k+IX)));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(c=l(q(f),84),c.o=Di,a=c.f.Jc();a.Ob();)o=l(a.Pb(),84),++o.d.e;for(tNn(e),m=new V(e.a.b);m.a<m.c.c.length;)p=l(q(m),84),p.k=!0;return e}function eAn(e,t){var r,o,a,c,f,p,m,y;for(p=new Omt(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),zbt(p,a),y=a.d,y.d.p==0&&Wr(r,y,r.c.b,r.c);for(c=new V(o.b);c.a<c.c.c.length;)a=l(q(c),342),zbt(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,c,f,p,m;if(!e.e[t.p]){for(e.e[t.p]=!0,e.a[t.p]=!0,c=new hn,r=me(F(e.c,(Be(),PT)))===me((g1(),Gy)),lo(Or(t),new not(e,c,r)),f=new Ide(new Xh(c)),a=f.a.ec().Jc();a.Ob();)o=l(a.Pb(),15).a,p=l(l(Ht(c,Re(o)),47).a.ec().Jc().Pb(),17),!fo(p)&&(m=p.d.i,e.a[m.p]?li(e.b,l(Ht(c,Re(o)),18)):d0e(e,m));e.a[t.p]=!1}}function Cyt(e){var t,r,o,a,c;if(o=ue(le(ve(e,(_n(),W6t)))),o!=1)for(i0(e,o*e.g,o*e.f),r=Ken(Ton((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c),new BGe)),c=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(c);)a=l(en(c),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,c,f,p;if(f=(Mo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&G7(e,t,r,ae(t,104)&&(l(t,20).Bb&Co)!=0))return!1}else for(p=za(e.e.Ah(),t),o=l(e.g,123),c=0;c<e.i;++c)if(a=o[c],p.$l(a.Jk()))return(f?pr(a,r):r==null?a.kd()==null:pr(r,a.kd()))?!1:(l(EE(e,c,f?l(r,76):gh(t,r)),76),!0);return Tn(e,f?l(r,76):gh(t,r))}function tAn(e,t,r,o,a){var c,f,p,m,y,v,T,N;for(f=new V(e.b);f.a<f.c.c.length;)for(c=l(q(f),26),N=QO(c.a),y=N,v=0,T=y.length;v<T;++v)switch(m=y[v],l(F(m,(Be(),Cs)),166).g){case 1:SSn(m),Oi(m,t),N1t(m,!0,o);break;case 3:sSn(m),Oi(m,r),N1t(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 nAn(e,t){var r,o,a,c,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),c=(RJ(),ixt)[10],a=O/c|0,z=O%c,z!=0&&++a,p=we(Rn,Qn,30,a,15,1),r=rxt[8],f=0,M=N+(z==0?c:z),U=N;U<m;U=M,M=U+c)o=Ec((io(U,M,t.length),t.substr(U,M-U)),Qi,sr),y=(Q_(),W1e(p,p,f,r)),y+=g1n(p,f,o),p[f++]=y;v=f,e.e=T,e.d=v,e.a=p,F3(e)}function rAn(e){var t,r,o,a,c,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),c=f&&a&&Ye(Ke(F(m,bm))),N=m.d.i,f&&c?++o:f&&!c?++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),c=f&&a&&Ye(Ke(F(t,bm))),T=t.c.i,f&&c?++v:f&&!c?++o:ji(T).e==p?++v:++o;return v-o}function Iyt(e,t){var r,o,a,c,f,p;if(!t.dc())if(l(t.Xb(0),295).d==(eT(),zy))Gmn(e,t);else for(o=t.Jc();o.Ob();){switch(r=l(o.Pb(),295),r.d.g){case 5:K_(e,r,Xgn(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,lfn(e,r));break;case 2:Dgt(r),K_(e,r,(c=xbe(r),c?r.c:r.f));break;case 1:Dgt(r),K_(e,r,(a=xbe(r),a?r.f:r.c))}Mwn(r.a)}}function h0e(e,t,r,o){var a,c,f;return f=new Iet(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,c=a.c,c.c=f,f.e=c,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 TJ(e,t){var r,o,a,c,f;if(t.Tg("Network simplex",1),e.e.a.c.length<1){t.Ug();return}for(c=new V(e.e.a);c.a<c.c.c.length;)a=l(q(c),126),a.e=0;for(f=e.e.a.c.length>=40,f&&qAn(e),oxn(e),ASn(e),r=pgt(e),o=0;r&&o<e.f;)uAn(e,r,kEn(e,r)),r=pgt(e),++o;f&&nwn(e),e.a?FEn(e,Tyt(e)):Tyt(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 iAn(e,t){var r,o,a,c,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){qTn(e,r,t);continue}c=e.d==(R_(),JI)&&(a.d||a.e)&&Xvn(e,t)&&t.d.a.gc()<=1,c?Bkn(r,t):nTn(e,r,t)}t.k&&lo(t.d,new _Fe)}}function p0e(e,t,r,o,a,c){var f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(N=c,p=(o+a)/2+N,z=r*b.Math.cos(p),J=r*b.Math.sin(p),re=z-t.g/2,se=J-t.f/2,va(t,re),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,c),f+=O*v}function oAn(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,[nX,rX,iX,oX,lT,sX,aX,uX,cX,lX,dX,fX])[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 sAn(e,t,r,o){var a,c,f,p,m,y,v,T,N;for(m=new Me(r,o),Li(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),c=new V(f.a);c.a<c.c.c.length;)a=l(q(c),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,c,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,c=r.i,t!=c&&(y=l(F(o,(Be(),ik)),15).a,y<0&&(y=0),f=c.p,e.c[f]==0&&(o.d==r?(e.a[f]-=y+1,e.a[f]<=0&&e.d[f]>0&&Gn(e.g,c)):(e.d[f]-=y+1,e.d[f]<=0&&e.a[f]>0&&Gn(e.f,c))))}function Ryt(e,t,r,o){var a,c,f,p,m,y,v;for(m=new Me(r,o),Li(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 Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16).Jc();p.Ob();){for(f=l(p.Pb(),65),c=An(f.a,0);c.b!=c.d.c;)a=l(Sn(c),8),a.a+=m.a,a.b+=m.b;Gn(e.a,f)}}function b0e(e,t){var r,o,a,c;if(0<(ae(e,18)?l(e,18).gc():yd(e.Jc()))){if(a=t,1<a){for(--a,c=new SHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),c=Wc(Z(X(nl,1),Rt,22,0,[c,new Qh(r)]));return b0e(c,a)}if(a<0){for(c=new THe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),c=Wc(Z(X(nl,1),Rt,22,0,[c,new Qh(r)]));if(0<(ae(c,18)?l(c,18).gc():yd(c.Jc())))return b0e(c,a)}}return l(M8(e.Jc()),41)}function aAn(e,t,r){var o,a,c,f;for(r.Tg("Processor order nodes",2),e.b=ue(le(F(t,(js(),ane)))),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;)c=l(Sn(f),41),Ye(Ke(F(c,(Nr(),z1))))&&Wr(a,c,a.c.b,a.c);o=(un(a.b!=0),l(a.a.a.c,41)),Nvt(e,o),r.eh(1),s0e(e,o,0-ue(le(F(o,(Nr(),jB))))/2,0),r.eh(1),r.Ug()}function Uu(){Uu=K,Tk=new Xv("DEFAULT_MINIMUM_SIZE",0),QD=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),kre=new Xv("FORCE_TABULAR_NODE_LABELS",7),ZD=new Xv("ASYMMETRICAL",8)}function AJ(e,t){var r,o,a,c,f,p,m,y;if(t){if(r=(c=t.Ah(),c?mc(c).ti().pi(c):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)?Tbn(e,l(p,38),t,r):(f=l(p,20),f.Bb&Ws&&L0n(e,f,t,r)));t.Sh()&&l(r,52).bi(l(t,52).Yh())}return r}else return null}function uAn(e,t,r){var o,a,c;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,oJ(e,r.e,t)||(o=-o),c=new V(e.e.a);c.a<c.c.c.length;)a=l(q(c),126),oJ(e,a,t)||(a.e+=o);e.j=1,HN(e.c),fme(e,l(q(new V(e.e.a)),126)),Bvt(e)}function Oyt(e,t){var r,o,a,c,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;)c=l(q(f),9),c.k==(zt(),mi)&&(r=l(F(c,(Ie(),Hs)),64),!(r!=(He(),Qt)&&r!=Kt)&&(o=ue(le(F(c,nw))),p==Oh&&(o*=a),c.n.b=o-l(F(c,sw),8).b,Dj(c,!1,!0)))}function Lyt(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)):UEn(e,a),spe(e)}function cAn(e){var t,r,o,a,c,f,p,m;for(m=new hn,t=new ZG,f=e.Jc();f.Ob();)a=l(f.Pb(),9),p=o0(lO(new Tb,a),t),eu(m.f,a,p);for(c=e.Jc();c.Ob();)for(a=l(c.Pb(),9),o=new $t(qt(Or(a).a.Jc(),new L));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,c,f,p,m,y,v,T,N,O;if(Lfn(e,t,r),c=t[r],O=o?(He(),Kt):(He(),Qt),ztn(t.length,r,o)){for(a=t[o?r-1:r+1],Ape(e,a,o?(jo(),Ba):(jo(),Cu)),m=c,v=0,N=m.length;v<N;++v)f=m[v],X1e(e,f,O);for(Ape(e,c,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=c,y=0,T=p.length;y<T;++y)f=p[y],X1e(e,f,O);return!1}function lAn(e,t,r,o,a){var c,f,p,m,y,v,T;for(At(),xi(e,new jGe),p=new Xi(e,0),T=new je,c=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)>c*2?(v=new hj(T),y=hu(f)/ec(f),m=GJ(v,t,new oS,r,o,a,y),br(wd(v.e),m),T.c.length=0,c=0,Ot(T.c,v),Ot(T.c,f),c=hu(v)*ec(v)+hu(f)*ec(f)):(Ot(T.c,f),c+=hu(f)*ec(f));return T}function dAn(e,t){var r,o,a,c,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),c=new V(r.a);c.a<c.c.c.length;)a=l(q(c),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,gNt),Mbn(p),m==(g6(),zte)&&xi(p,pNt)),a.i=!0,cme(a);t.Ug()}function fAn(e,t,r){var o,a,c,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++:(c=a[y],v=M.$l(c.Jk()),y==t&&(m=y==T&&!v?o-1:o),v&&++o);return N=l(uC(e,t,r),76),p!=m&&DA(e,new a6(e.e,7,f,Re(p),O.kd(),m)),N}}else return l(aJ(e,t,r),76);return l(uC(e,t,r),76)}function m0e(e,t){var r,o,a,c,f,p,m,y,v,T;for(T=0,c=new iE,l1(c,t);c.b!=c.c;)for(m=l(CS(c),221),y=0,v=l(F(t.j,(Be(),Ch)),270),l(F(t.j,FI),330),f=ue(le(F(t.j,bD))),p=ue(le(F(t.j,fte))),v!=(bp(),B1)&&(y+=f*KEn(t.j,m.e,v),y+=p*LTn(t.j,m.e)),T+=X1t(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 Myt(){Myt=K,D4t=$n(new ui,(Vi(),da),(Zi(),ESe)),N_e=$n(new ui,la,k$),P4t=Ra($n(new ui,la,M$),Ho,D$),L4t=Ra($n($n(new ui,la,bSe),da,mSe),Ho,wSe),j4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),M4t=Ra(new ui,Ho,SSe),R4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),O4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function hAn(e,t,r,o,a,c){var f,p,m,y,v,T,N;for(y=hpt(t)-hpt(e),f=dmt(t,y),m=Ua(0,0,0);y>=0&&(p=vmn(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&&jK(m),c&&(o?(O1=k_(e),a&&(O1=Vht(O1,(m_(),YEe)))):O1=Ua(e.l,e.m,e.h)),m}function pAn(e,t){var r,o,a,c,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,c=0,a=hh(Wc(Z(X(nl,1),Rt,22,0,[new LA(f),new tS(f)])));an(a);)o=l(en(a),12),o.i.c==t.c&&(T+=Ptn(e,o.i)+1,++c);r=T/c,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,c,f,p;if(e==null)throw Y(new kf(tu));for(c=e.length,f=c>0&&(Yt(0,e.length),e.charCodeAt(0)==45||(Yt(0,e.length),e.charCodeAt(0)==43))?1:0,o=f;o<c;o++)if(Xgt((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 gAn(e){var t,r,o,a,c,f,p;for(f=new Ar,c=new V(e.a);c.a<c.c.c.length;)a=l(q(c),117),HG(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 bAn(e){var t,r,o,a,c,f,p,m;for(f=new V(e);f.a<f.c.c.length;){for(c=l(q(f),74),o=Yo(l(oe((!c.b&&(c.b=new Tt(pn,c,4,7)),c.b),0),83)),p=o.i,m=o.j,a=l(oe((!c.a&&(c.a=new ke(jr,c,6,6)),c.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),lV(t,t.a+p,t.b+m);yge(l(ve(c,(_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(kQ,!0);case 87:return OE(kQ,!1);case 115:return OE(NQ,!0);case 83:return OE(NQ,!1);case 99:return OE(CQ,!0);case 67:return OE(CQ,!1);case 105:return OE(IQ,!0);case 73:return OE(IQ,!1);default:throw Y(new Es((t=e,N_t+t.toString(16))))}}function mAn(e){var t,r,o,a,c;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,c=l(ze(a.j,0),12),bo(r,c),Ji(r,o),br(wd(o.n),c.n),br(wd(o.a),c.a),t}function Zc(e,t,r,o){var a,c,f,p,m,y,v,T,N,O;for(a=t,p=r,o<0&&(a=r,p=t),c=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),c.a.yc(p,c),y.a.yc(a,y),O=m.a.ec().Jc();O.Ob();)N=l(O.Pb(),12),c.a.yc(N,c),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 wAn(e,t,r){var o,a,c,f,p;for(c=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 $K(c++,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,c,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],c=t[0],f=k7(e,t),f==0&&t[0]==c)return!1;if(t[0]<e.length&&co(e,t[0])==58){if(o=f*60,++t[0],c=t[0],f=k7(e,t),f==0&&t[0]==c)return!1;o+=f}else o=f,o<24&&t[0]-c<=2?o*=60:o=o%100+(o/100|0)*60;return o*=a,r.o=-o,!0}function yAn(e){var t,r,o,a,c,f,p,m,y;for(f=new je,o=new $t(qt(Or(e.b).a.Jc(),new L));an(o);)r=l(en(o),17),fo(r)&&Fe(f,new _lt(r,ddt(e,r.c),ddt(e,r.d)));for(y=(c=new Zh(e.e).a.vc().Jc(),new Dw(c));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 Dw(a));m.a.Ob();)p=(t=l(m.a.Pb(),45),l(t.kd(),114)),p.d.p==0&&Fe(e.d,eAn(e,p))}function vAn(e,t){var r,o,a,c,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(c=l(q(f),26),y=new V(c.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 L));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 No(r.c.i,r)));At(),xi(v,e.c),Nb(e.b,m.p,v)}}function EAn(e,t){var r,o,a,c,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(c=l(q(f),26),y=new V(c.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 L));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 No(r.d.i,r)));At(),xi(v,e.c),Nb(e.f,m.p,v)}}function SAn(e){var t,r,o,a,c,f,p;for(c=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,c))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,c))return!0;return!1}function TAn(e){var t,r,o,a,c;o=l(F(e,(Ie(),mr)),19),c=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,Ate)))||M0(o,t.a,t.b,!0,!0)),c?Vn(o,mm,ct(xm)):Vn(o,mm,(r=l(md(N4),10),new Hc(r,l(Gl(r,r.length),10),0)))}function AAn(e,t){var r,o,a,c,f,p,m,y;if(y=Ke(F(t,(js(),wRt))),y==null||(Mt(y),y)){for(Jvn(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),c=0,p=An(r.b,0);p.b!=p.d.c;)f=l(Sn(p),41),f.g=c++;return a}return Wl(Z(X(sCn,1),z2t,121,0,[t]))}function _An(e,t){var r,o,a,c,f,p;for(a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),c=F(o,(Ie(),mr)),ae(c,12)&&(f=l(c,12),p=tvt(t,o,f.o.a,f.o.b),f.n.a=p.a,f.n.b=p.b,Ii(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),qvt(e,r,!1)):qvt(e,r,!0)}function xAn(e){var t,r,o,a,c,f,p,m;for(m=new Du,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),c=_ft(Li(new Me(p.a,p.b),r)),f=_ft(Li(new Me(a.a,a.b),r)),o=10,o=b.Math.min(o,b.Math.abs(c.a+c.b)/2),o=b.Math.min(o,b.Math.abs(f.a+f.b)/2),c.a=GO(c.a)*o,c.b=GO(c.b)*o,f.a=GO(f.a)*o,f.b=GO(f.b)*o,Gn(m,br(c,r)),Gn(m,br(f,r));return m}function kAn(e,t,r){var o,a,c,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 _Ue))).zd((_b(),TT)),m=t.b.c.length==1&&l(ze(t.b,0),26).a.c.length==1,c=me(F(t,(Be(),Wy)))===me((pp(),Ig)),o||m&&!c){r.Ug();return}a=mSn(e,t),f=(p=l(sa(a,0),221),p.c.ig()?p.c.cg()?new AJe(e):new _Je(e):new TJe(e)),Cpn(a,f),ogn(e),r.Ug()}function Sc(e,t,r,o){var a,c,f,p,m;return f=e.Mh(),m=e.Gh(),a=null,m?t&&!(EJ(e,t,r).Bb&Co)?(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&&(c=new Pi(e,1,p,f,null),o?o.lj(c):o=c),r>=0&&(c=new Pi(e,1,r,p==r?f:null,t),o?o.lj(c):o=c)),o}function Pyt(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&&(Ean(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 NAn(e,t,r,o,a){var c,f,p,m;c=new Xd(e),Jh(c,(zt(),_a)),Te(c,(Be(),Zr),(qi(),fa)),Te(c,(Ie(),mr),t.c.i),f=new aa,Te(f,mr,t.c),Ii(f,a),As(f,c),Te(t.c,Nu,c),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),Ii(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,c),Ot(o.c,p),Te(c,nB,Re(1)),Te(p,nB,Re(1))}function CAn(e,t,r,o){var a,c,f,p,m;if(m=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),a=Ln(wo(Sh,ph(Ln(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),c=new TP(r,a,t,m),Z6(e,c,f),f&&(f.e=null,f.c=null),p&&(p.e=null,p.c=null),mbt(e),p?p.g:null}function jyt(e,t,r){var o,a,c,f,p;for(c=0;c<t;c++){for(o=0,p=c+1;p<t;p++)o=Ao(Ao(wo(Gi(e[c],$o),Gi(e[p],$o)),Gi(r[c+p],$o)),Gi(Ln(o),$o)),r[c+p]=Ln(o),o=Rb(o,32);r[c+t]=Ln(o)}for(phn(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(Ln(o),$o)),r[f]=Ln(o),o=Rb(o,32),++f,o=Ao(o,Gi(r[f],$o)),r[f]=Ln(o),o=Rb(o,32);return r}function Fyt(e,t,r){var o,a,c,f,p,m,y,v;if(!iy(t)){for(m=ue(le(by(r.c,(Be(),GI)))),y=l(by(r.c,ED),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,c=o0(lO(new Tb,f),e.f),Jn(e.k,f,c),Ql($l(Ul(Bl(Hl(new gl,0),go(b.Math.ceil(v))),o),c)),a=f,o=c;Ql($l(Ul(Bl(Hl(new gl,0),go(b.Math.ceil(y.a+a.o.b))),o),r.d))}}function IAn(e,t,r,o,a,c,f,p){var m,y,v,T,N,O;return O=!1,N=c-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,c-r.s),r.c=!0,u6(o,c-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 RAn(e,t){var r,o,a,c,f,p;if(t.Tg("Partition midprocessing",1),a=new b0,ei(lr(new Et(null,new St(e.a,16)),new b$e),new BYe(a)),a.d!=0){for(p=l(Au(Hhe((c=a.i,new Et(null,(c||(a.i=new sE(a,a.c))).Lc()))),ju(new Qo,new ls,new Ci,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),T2n(l(wr(a,r),24),l(wr(a,f),24)),r=f;t.Ug()}}function RC(e,t){var r,o,a,c,f;if(e.Ab){if(e.Ab){if(f=e.Ab.i,f>0){if(a=l(e.Ab.g,2012),t==null){for(c=0;c<f;++c)if(r=a[c],r.d==null)return r}else for(c=0;c<f;++c)if(r=a[c],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 $yt(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;O=Tln(e,Cge(t),a),fge(O,sp(a,qf)),w=null,M=a,U=B3(M,QTt),z=new TXe(O),cmt(z.a,U),J=B3(M,"endPoint"),re=new kXe(O),umt(re.a,J),se=m0(M,HF),de=new IXe(O),Lbt(de.a,se),T=sp(a,gEe),c=new int(e,O),Rit(c.a,c.b,T),N=sp(a,pEe),f=new ont(e,O),Oit(f.a,f.b,N),y=m0(a,mEe),p=new lnt(r,O),rbt(p.b,p.a,y),v=m0(a,bEe),m=new dnt(o,O),ibt(m.b,m.a,v)}function Byt(e,t,r){var o,a,c,f,p,m,y,v;if(t.p==0){for(t.p=1,f=r,f||(a=new je,c=(o=l(md(Ro),10),new Hc(o,l(Gl(o,o.length),10),0)),f=new No(a,c)),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 LA(p),new tS(p)])));an(v);)y=l(en(v),12),Byt(e,y.i,f);return f}return null}function y0e(e,t,r){var o,a,c,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(),rte)))))return o;p=new aa,Te(p,(Ie(),rte),(Dt(),!0));break;case 2:for(f=new V(e.j);f.a<f.c.c.length;)if(c=l(q(f),12),Ye(Ke(F(c,(Ie(),ote)))))return c;p=new aa,Te(p,(Ie(),ote),(Dt(),!0))}return p&&(As(p,e),Ii(p,r),Cbn(p.n,e.o,r)),p}function Uyt(e,t){var r,o,a,c,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(le(F(r,(Be(),_g))))),r.c==e?ei(lr(new Et(null,new St(r.b,16)),new fFe),new CYe(f)):ei(lr(new Et(null,new St(r.b,16)),new hFe),new IYe(f)),c=An(f,0);c.b!=c.d.c;)a=l(Sn(c),70),gr(a,(Ie(),IT))||Te(a,IT,r);li(t,f),tc(f)}return p}function D0(e,t,r,o,a){var c,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(le(YA(r.e))))<Hf&&b.Math.abs(p-ue(le(YA(r.j))))<Hf),m=m|(b.Math.abs(p-ue(le(zl(r.e))))<Hf&&b.Math.abs(p-ue(le(zl(r.j))))<Hf)),(y||m)&&(f=l(F(t,(Be(),ss)),79),f||(f=new Du,Te(t,ss,f)),c=new So(o),Wr(f,c,f.c.b,f.c),pi(e.a,c)))}function OAn(e,t,r){var o,a,c,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,CD),15).a,m.b=l(F(T,ID),15).a);p=LK(y),v=1;do p=Jwn((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;)c=l(Sn(f),41),Li(c.e,new Me(c.f.a/2,c.f.b/2));r.Ug()}function LAn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(r=!1,v=ue(le(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),c=l(q(y),9),T=ehe(e.a[c.p]);y.a<y.c.c.length;)p=l(q(y),9),N=ehe(e.a[p.p]),T!=N&&(O=rE(e.b,c,p),f=c.n.b+c.o.b+c.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)),c=p,T=N;return r}function DAn(e,t,r){var o,a,c,f,p,m,y,v;for(r.Tg($St,1),Zs(e.b),Zs(e.a),p=null,c=An(t.b,0);!p&&c.b!=c.d.c;)y=l(Sn(c),41),Ye(Ke(F(y,(Nr(),z1))))&&(p=y);for(m=new Ar,Wr(m,p,m.c.b,m.c),vEt(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,tne,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 Hyt(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 RGe))),Le(e,V0,B0,Kke),Le(e,V0,$0,15),Le(e,V0,CL,Re(0)),Le(e,V0,tEe,Ge(qke)),Le(e,V0,ME,Ge(I6t)),Le(e,V0,bT,Ge(R6t)),Le(e,V0,mx,hTt),Le(e,V0,wx,Ge(Vke)),Le(e,V0,mT,Ge(Wke)),Le(e,V0,nEe,Ge(ure)),Le(e,V0,CF,Ge(C6t))}function zyt(e,t){var r,o,a,c,f,p,m,y,v;if(a=e.i,f=a.o.a,c=a.o.b,f<=0&&c<=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>c)return He(),dn}return m=(y+p/2)/f,o=(v+r/2)/c,m+o<=1&&m-o<=0?(He(),Kt):m+o>=1&&m-o>=0?(He(),Qt):o<.5?(He(),Wt):(He(),dn)}function Gyt(e,t,r,o,a,c,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),me(v.mf((_n(),fre)))===me((Kd(),vk))&&(Syt(N,v,!1,o,a,c,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),me(v.mf((_n(),fre)))===me((Kd(),fv))&&(Syt(N,v,!0,o,a,c,f),yC(e,N))}function MAn(e,t,r){var o,a,c,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(c=l(rn(f),19),a=new $t(qt(mp(c).a.Jc(),new L));an(a);)o=l(en(a),74),!AC(o)&&!AC(o)&&!R0(o)&&(m=l(Ss(ts(r.f,c)),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 PAn(e,t){var r,o,a,c,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?Aot(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)&&(c=jbe(p.b),c.d<0&&(p.d.d=-c.d),c.d+c.a>p.b.Kf().b&&(p.d.a=c.d+c.a-p.b.Kf().b))}function ed(){ed=K,AT=new Mi((_n(),HD),Re(1)),v$=new Mi(Od,80),Ekt=new Mi(ANe,5),dkt=new Mi(gk,bx),ykt=new Mi(Ere,Re(1)),vkt=new Mi(Sre,(Dt(),!0)),R2e=new xb(50),mkt=new Mi(df,R2e),N2e=y4,O2e=bk,fkt=new Mi(rU,!1),I2e=v4,gkt=uv,bkt=G1,pkt=Am,hkt=g2,wkt=cv,C2e=(Wbe(),ikt),aee=ukt,y$=rkt,see=okt,L2e=akt,Akt=wk,_kt=sU,Tkt=dv,Skt=mk,D2e=(VS(),pv),new Mi(VT,D2e)}function jAn(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===YJ;case 12:return t!=null&&(typeof t===pL||typeof t==YJ);case 0:return EY(t,e.__elementTypeId$);case 2:return tW(t)&&t.Rm!==fe;case 1:return tW(t)&&t.Rm!==fe||EY(t,e.__elementTypeId$);default:return!0}}function FAn(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(),JD))&&!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=Lht(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,kJ(e.f)}function qyt(e,t){var r,o,a,c;return o=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),c=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?c/a+1:a==0?o/r+1:b.Math.min(o/r,c/a)+1}function $An(e,t){var r,o,a,c,f,p,m;for(c=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],c+=f,r=f1(t.d,o.d),r>0&&e.d!=(G3(),lee)&&(p+=f*(o.d.a+e.a[t.a][o.a]*(t.d.a-o.d.a)/r)),r>0&&e.d!=(G3(),uee)&&(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/c,t.d.b);case 2:return new Me(t.d.a,m/c);default:return new Me(p/c,m/c)}}function Vyt(e){var t,r,o,a,c,f;for(r=(!e.a&&(e.a=new yi(Ic,e,5)),e.a).i+2,f=new La(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 yXe(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)),c=(at(t+1,f.c.length),l(f.c[t+1],8)),o.a==a.a&&a.a==c.a||o.b==a.b&&a.b==c.b?sg(f,t):++t;return f}function Wyt(e,t){N_();var r,o,a,c,f;if(f=l(F(e.i,(Be(),Zr)),103),c=e.j.g-t.j.g,c!=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 Kyt(e,t){var r,o,a,c,f,p,m;for(r=jrt(Get(Het(zet(new Lce,t),new IP(t.e)),wNt),e.a),t.j.c.length==0||mdt(l(ze(t.j,0),60).a,r),m=new JG,Jn(e.e,r,m),f=new hi,p=new hi,c=new V(t.k);c.a<c.c.c.length;)a=l(q(c),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)),Da(t.g,new ytt(e,r)),Jn(e.g,t,r)}function v0e(){v0e=K,pOt=new pt(kve,(Dt(),!1)),Re(-1),aOt=new pt(Nve,Re(-1)),Re(-1),uOt=new pt(Cve,Re(-1)),cOt=new pt(Ive,!1),lOt=new pt(Rve,!1),Uxe=(KP(),Dne),wOt=new pt(Ove,Uxe),yOt=new pt(Lve,-1),Bxe=(Wj(),Ine),mOt=new pt(Dve,Bxe),bOt=new pt(Mve,!0),Fxe=(ij(),Mne),hOt=new pt(Pve,Fxe),fOt=new pt(jve,!1),Re(1),dOt=new pt(Fve,Re(1)),$xe=(Uj(),Pne),gOt=new pt($ve,$xe)}function Yyt(){Yyt=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]),GQ=we(Rn,Qn,30,37,15,1),Z_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,g2t,30,37,14,1),e=2;e<=36;e++)GQ[e]=go(b.Math.pow(e,r2e[e])),i2e[e]=W6(wL,GQ[e])}function BAn(e){var t;if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i!=1)throw Y(new jt(jTt+(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i));return t=new Du,OK(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))&&mo(t,FEt(e,OK(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)),!1)),OK(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))&&mo(t,FEt(e,OK(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),!0)),t}function Jyt(e,t){var r,o,a,c,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),c=!1,o=new $t(qt(a.a.Jc(),new L));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]))&&(c=!0,bl(e.b,e.a.g[nmn(r,t.b).p])))return t.c=!0,t.a=r,t;return t.c=c,t.a=null,t}function E0e(e,t,r){var o,a,c,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),c=t+o,a=t;a<c;++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),c=t+o,a=t;a<c;++a)p=e.Lj(e.vj(a),p);p&&p.mj()}return!0}function Xyt(e,t,r){var o,a,c,f,p;return e.Nj()?(a=null,c=e.Oj(),o=e.Gj(1,p=(f=e.Bj(t,e.Xi(t,r)),f),r,t,c),e.Kj()&&!(e.Wi()&&p?pr(p,r):me(p)===me(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):me(p)===me(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,c,f,p,m,y,v;if(e.e=t,e.f=l(F(t,(h1(),E$)),237),kwn(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=YV(e.f)*v,y.b=YV(e.f)*v;for(r=t.b,c=new V(t.c);c.a<c.c.c.length;)if(a=l(q(c),292),o=l(F(a,L2e),15).a,o>0){for(f=0;f<o;f++)Fe(r,new Rst(a));T0t(a)}}function UAn(e,t){var r,o,a,c,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,c=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:++c}T==0&&r==0&&XNn(e,f,c<=v)}t.Ug()}function Zyt(e,t,r,o){var a,c,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),$W(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,lQ,f),p=0,c=new Gv(e.Xg().b.Jc());c.b.Ob();)a=l(c.b.Pb(),861),m=new aS,ay(f,p),$W(f,p,m),Zyt(a,m,r,o),++p}function T0e(){T0e=K,Tq(),qDt=new hWe,Z(X(YT,2),Pe,377,0,[Z(X(YT,1),s$,596,0,[new sO(w_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(y_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(__t)}function HAn(e,t,r){var o,a,c,f,p,m,y,v,T;for(r.Tg("Hyperedge merging",1),bEn(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,c=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=B_n(o,c),T.a&&(HSn(o,c,T.b,T.c),at(y,v.c.length),cle(v.c,y,1),--y,o=c,a=f)),c=o,f=a;r.Ug()}function zAn(e,t,r,o,a){var c,f,p,m,y,v,T;for(f=new V(t);f.a<f.c.c.length;){if(c=l(q(f),17),m=c.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=c.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 Fmt(c,y,T),Jn(e.b,c,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()&&rK(new tK(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)),rK(new tK(e.Cb,9,10,r,t,gg(oa(l(e.Cb,29)),e)))))),e.c}function Qyt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;if(t==r)return!0;if(t=_me(e,t),r=_me(e,r),o=NY(t),o){if(v=NY(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),c=f.i,N=(!r.d&&(r.d=new yi(Go,r,1)),r.d),c==N.i){for(y=0;y<c;++y)if(a=l(oe(f,y),88),T=l(oe(N,y),88),!Qyt(e,a,T))return!1}return!0}else return p=t.e,O=r.e,p==O}function evt(e,t,r,o){var a,c,f,p,m,y,v,T;if(wp(e.e,t)){for(T=za(e.e.Ah(),t),c=l(e.g,123),v=null,m=-1,p=-1,a=0,y=0;y<e.i;++y)f=c[y],T.$l(f.Jk())&&(a==r&&(m=y),a==o&&(p=y,v=f.kd()),++a);if(m==-1)throw Y(new Ia(hQ+r+um+a));if(p==-1)throw Y(new Ia(pQ+o+um+a));return uC(e,m,p),Ju(e.e)&&DA(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 tvt(e,t,r,o){var a,c,f,p,m;switch(m=new So(t.n),m.a+=t.o.a/2,m.b+=t.o.b/2,p=ue(le(F(t,(Be(),Jy)))),c=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=c.a+f.b+f.c+p,m.b+=f.d+a.b-o/2,t.n.a=c.a+f.c+p-a.a;break;case 3:m.a+=f.b+a.a-r/2,m.b=c.b+f.d+f.a+p,t.n.b=c.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 GAn(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,(Dt(),!0))):a.k==ta?(Te(e,(Ie(),Cd),l(F(a,Cd),12)),Te(e,Nl,l(F(a,Nl),12)),Te(e,qy,(Dt(),!0))):(Te(e,(Ie(),Cd),t.c),Te(e,Nl,r.d))}function qAn(e){var t,r,o,a,c,f,p;for(e.o=new iE,o=new Ar,f=new V(e.e.a);f.a<f.c.c.length;)c=l(q(f),126),wE(c).c.length==1&&Wr(o,c,o.c.b,o.c);for(;o.b!=0;)c=l(o.b==0?null:(un(o.b!=0),Vc(o,o.a.a)),126),wE(c).c.length!=0&&(t=l(ze(wE(c),0),220),r=c.g.a.c.length>0,p=Vj(t,c),kde(r?p.b:p.g,t),wE(p).c.length==1&&Wr(o,p,o.c.b,o.c),a=new No(c,t),l1(e.o,a),Xa(e.e.a,c))}function nvt(e,t){var r,o,a,c,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),c=b.Math.min(r,f),(1-c)*b.Math.sqrt(o*o+p*p)}function VAn(e){var t,r,o,a;for(zJ(e,e.e,e.f,(g0(),H1),!0,e.c,e.i),zJ(e,e.e,e.f,H1,!1,e.c,e.i),zJ(e,e.e,e.f,u2,!0,e.c,e.i),zJ(e,e.e,e.f,u2,!1,e.c,e.i),zAn(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)),jxn(t,r);a3n(e.i,l(F(e.d,(Ie(),LT)),237)),Akn(e.i)}function _J(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,c,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,c=0;c<=25;c++)Pg[c]=65+c&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 rvt(e,t){var r,o,a,c,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)*b2t)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*b2t)+1),r>o+1?a:r<o-1?-a:(c=(!e.c&&(e.c=ZO(Gs(e.f))),e.c),f=(!t.c&&(t.c=ZO(Gs(t.f))),t.c),o<0?c=dE(c,bvt(-o)):o>0&&(f=dE(f,bvt(o))),Jgt(c,f))):a<p?-1:1}function ivt(e){var t,r,o,a,c,f;return o=new nge,qs(o,e),me(F(o,(Be(),xc)))===me((vi(),hf))&&Te(o,xc,Gj(o)),F(o,(ZP(),p4))==null&&(f=l(tmt(e),176),Te(o,p4,C8(f.mf(p4)))),Te(o,(Ie(),mr),e),Te(o,xa,(t=l(md(Yee),10),new Hc(t,l(Gl(t,t.length),10),0))),a=Ykn((Br(e)&&(t1(),new Yp(Br(e))),t1(),new B8(Br(e)?new Yp(Br(e)):null,e)),fs),c=l(F(o,MAe),100),r=o.d,rut(r,c),rut(r,a),o}function WAn(e,t,r){var o,a,c,f,p,m,y,v;for(r.Tg(V2t,1),e.qf(t),c=0;e.sf(c)&&!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,vmt(o,-e.d,-e.d,e.d,e.d),br(m.d,o),o.a=0,o.b=0;++c}r.Ug()}function KAn(e,t){var r,o,a,c,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),c=o.f,y=b.Math.max(y,c.a),T+=c.a*c.b;for(y=b.Math.max(y,b.Math.sqrt(T)*ue(le(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,c,f,p,m;if(!Gd(e))throw Y(new es(PTt));if(o=Gd(e),c=o.g,a=o.f,c<=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>c)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)/c,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 YAn(e,t,r,o,a){var c,f;if(c=Ao(Gi(t[0],$o),Gi(o[0],$o)),e[0]=Ln(c),c=u0(c,32),r>=a){for(f=1;f<a;f++)c=Ao(c,Ao(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Ln(c),c=u0(c,32);for(;f<r;f++)c=Ao(c,Gi(t[f],$o)),e[f]=Ln(c),c=u0(c,32)}else{for(f=1;f<r;f++)c=Ao(c,Ao(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Ln(c),c=u0(c,32);for(;f<a;f++)c=Ao(c,Gi(o[f],$o)),e[f]=Ln(c),c=u0(c,32)}Ea(c,0)!=0&&(e[f]=Ln(c))}function JAn(e,t){var r,o,a,c,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(c=l(q(f),26),v=-1,r=new je,y=QO(c.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++,c)),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,c)}t.Ug()}function xy(e){fr();var t,r,o,a,c,f;if(e.e!=4&&e.e!=5)throw Y(new jt("Token#complementRanges(): must be RANGE: "+e.e));for(c=e,xE(c),PC(c),o=c.b.length+2,c.b[0]==0&&(o-=2),r=c.b[c.b.length-1],r==Fx&&(o-=2),a=new bc(4),a.b=we(Rn,Qn,30,o,15,1),f=0,c.b[0]>0&&(a.b[f++]=0,a.b[f++]=c.b[0]-1),t=1;t<c.b.length-2;t+=2)a.b[f++]=c.b[t]+1,a.b[f++]=c.b[t+1]-1;return r!=Fx&&(a.b[f++]=r+1,a.b[f]=Fx),a.a=!0,a}function XAn(e,t){var r,o,a,c,f,p,m,y,v;for(t.Tg("Hierarchical port dummy size processing",1),m=new je,v=new je,o=ue(le(F(e,(Be(),Qy)))),r=o*2,c=new V(e.b);c.a<c.c.c.length;){for(a=l(q(c),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));N0t(m,!0,r),N0t(v,!1,r)}t.Ug()}function ovt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O;if(e.c.length==1)return 0;for(N=ue(le(t.a)),O=ue(le(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,c=0;r<c&&0<e.c.length;)c+=(at(0,e.c.length),l(e.c[0],19)).lh();for(o=c-r,T=r-(c-(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 xJ(e,t,r){var o,a,c,f,p,m,y,v;if(o=r.gc(),o==0)return!1;if(e.Nj())if(y=e.Oj(),KY(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),c=t+o,a=t;a<c;++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(KY(e,t,r),e.Kj()){for(p=o<100?null:new Qg(o),c=t+o,a=t;a<c;++a)m=e.g[a],p=e.Lj(m,p);p&&p.mj()}return!0}function x0e(e,t,r,o){var a,c,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&&(HG(m,m.d-a.d),a.c==(vd(),U1)&&SZt(m,m.a-a.d),m.d<=0&&m.i>0&&Wr(t,m,t.c.b,t.c)));for(c=new V(e.f);c.a<c.c.c.length;)a=l(q(c),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)&&TZt(p,p.b-a.d),p.i<=0&&p.d>0&&Wr(r,p,r.c.b,r.c)))}function ZAn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O;for(At(),xi(e,new MGe),f=UO(e),O=new je,N=new je,p=null,m=0;f.b!=0;)c=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),168),!p||hu(p)*ec(p)/2<hu(c)*ec(c)?(p=c,Ot(O.c,c)):(m+=hu(c)*ec(c),Ot(N.c,c),N.c.length>1&&(m>hu(p)*ec(p)/2||f.b==0)&&(T=new hj(N),v=hu(p)/ec(p),y=GJ(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 c,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"),vpn(e,t,r,o,a),!(v.i&1)&&T!=m)if(y=HS(e),c=HS(r),me(e)===me(r)&&t<o)for(t+=a,p=o+a;p-- >o;)ii(c,p,y[--t]);else for(p=o+a;o<p;)ii(c,o++,y[t++]);else yme(e,t,r,o,a,!0)}function svt(e,t){var r,o,a,c,f,p,m,y,v;switch(t.Tg("Box layout",2),a=rO(le(ve(e,(A7(),L6t)))),c=l(ve(e,O6t),100),r=Ye(Ke(ve(e,qke))),o=Ye(Ke(ve(e,Vke))),l(ve(e,ure),327).g){case 0:f=(v=new Tu((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),At(),xi(v,new bXe(o)),v),p=rme(e),m=le(ve(e,Gke)),(m==null||(Mt(m),m<=0))&&(m=1.3),y=GNn(f,a,c,p.a,p.b,r,(Mt(m),m)),M0(e,y.a,y.b,!1,!0);break;default:Cxn(e,a,c,r)}t.Ug()}function QAn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M;for(N=H0n(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 Owt(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;)c=l(q(f),415),Vw(o,c);if(m<t-1)for(y=N+m;y<e.b;y++)un(o.b>0),o.a.Xb(o.c=--o.b)}}function e_n(){fr();var e,t,r,o,a,c;if(qre)return qre;for(e=new bc(4),Ny(e,x1(RQ,!0)),$C(e,x1("M",!0)),$C(e,x1("C",!0)),c=new bc(4),o=0;o<11;o++)Sa(c,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(c,x1("L",!0))),r.Hm(t),r=new oy(3,r),r=new she(a,r),qre=r,qre}function ky(e,t){var r,o,a,c,f,p,m,y;for(r=new RegExp(t,"g"),m=we(Je,Pe,2,0,6,1),o=0,y=e,c=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,c==y&&(m[o]=(io(0,1,y.length),y.substr(0,1)),y=(Yt(1,y.length+1),y.substr(1))),c=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),ane=new Mi(Od,20),ixe=new Mi(_Ne,3),cRt=new Mi(gk,bx),FB=new Mi(HD,Re(1)),wRt=new Mi(Sre,(Dt(),!0)),X_e=BD,Z_e=(vi(),hf),uw=new Mi(Tm,Z_e),lRt=y4,dRt=pre,hRt=Am,pRt=uv,gRt=b2,bRt=G1,fRt=g2,exe=v4,mRt=cv,sxe=(Ame(),uRt),rxe=sRt,ERt=wk,SRt=sU,vRt=dv,yRt=mk,oxe=(VS(),pv),new Mi(VT,oxe),c2=oRt,sne=iRt,Jf=aRt,J_e=nRt,Q_e=rRt}function t_n(e){var t,r,o,a,c,f,p,m,y,v,T,N;if(p=Br(e),T=K0t(e),t=l(ve(e,(_n(),rLt)),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=K0t(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,c=b.Math.exp(N),a=c,f=0;f<t;f++){if(T<a)return b.Math.pow(2,f);a*=c}return b.Math.pow(2,t-1)}else return 1}function n_n(e){var t,r,o,a,c,f,p,m,y,v,T;for(T=new tHe,T.d=0,f=new V(e.b);f.a<f.c.c.length;)c=l(q(f),26),T.d+=c.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 zJe(T),T.b=ch(T.d),vAn(T,e),T.f=ch(T.d),EAn(T,e),T}function r_n(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,UD)))))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 kJ(e){var t,r,o,a,c,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(c=e.a,p=0,y=c.length;p<y;++p)a=c[p],ae(a,338)&&l(a,338).hf()}function i_n(e){var t,r,o,a,c,f,p,m,y,v;for(v=we(Rn,Qn,30,e.b.c.length+1,15,1),y=new hi,o=0,c=new V(e.b);c.a<c.c.c.length;){for(a=l(q(c),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 L));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 L));an(r);)t=l(en(r),17),y.a.Ac(t)!=null}return v}function avt(e,t){var r,o,a,c;for(c=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,c),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 uvt(e,t){var r,o,a,c,f,p,m,y,v,T;if(v=Ke(F(t,(ed(),vkt))),v==null||(Mt(v),v)){for(T=we(uu,Ad,30,t.e.c.length,16,1),f=Vvn(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),c=0,m=new V(r.e);m.a<m.c.c.length;)p=l(q(m),156),p.a=c++;return a}return Wl(Z(X(Q3n,1),z2t,238,0,[t]))}function Ff(e){var t,r,o,a,c,f,p;if(!e.g){if(p=new DG,t=D4,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,c=(!e.s&&(e.s=new ke(au,e,21,17)),new tn(e.s));c.e!=c.i.gc();++a)RZt(l(rn(c),454),a);ti(p,(!e.s&&(e.s=new ke(au,e,21,17)),e.s)),hy(p),e.g=new cpt(e,p),e.i=l(p.g,258),e.i==null&&(e.i=Fre),e.p=null,Pu(e).b&=-5}return e.g}function o_n(e,t){var r,o,a,c,f,p,m,y,v;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),"memberTypes")),m!=null)){for(y=new je,c=ky(m,"\\w"),f=0,p=c.length;f<p;++f)a=c[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(),Io}function NJ(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M;if(o=e.i,r=e.n,e.b==0)t=L1t(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(c=e.a,p=0,y=c.length;p<y;++p)a=c[p],ae(a,338)&&l(a,338).jf()}function s_n(e,t,r,o,a){var c,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&&(c=l(ze(t.n,t.n.c.length-1),211),c.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),avt(t,r),!0}return!1}function G7(e,t,r,o){var a,c,f,p,m;if(m=za(e.e.Ah(),t),a=l(e.g,123),Mo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(c=a[f],m.$l(c.Jk())&&pr(c,r))return!0}else if(r!=null){for(p=0;p<e.i;++p)if(c=a[p],m.$l(c.Jk())&&pr(r,c.kd()))return!0;if(o){for(f=0;f<e.i;++f)if(c=a[f],m.$l(c.Jk())&&me(r)===me(TV(e,l(c.kd(),57))))return!0}}else for(f=0;f<e.i;++f)if(c=a[f],m.$l(c.Jk())&&c.kd()==null)return!1;return!1}function a_n(e,t){var r,o,a,c,f,p;if(r=t.ni(e.a),r&&(p=In(Td((!r.b&&(r.b=new Zu((_t(),Oo),zs,r)),r.b),zF)),p!=null))switch(a=j8(p,Qa(35)),o=t.ok(),a==-1?(f=_3(e,mc(o)),c=p):a==0?(f=null,c=(Yt(1,p.length+1),p.substr(1))):(f=(io(0,a,p.length),p.substr(0,a)),c=(Yt(a+1,p.length+1),p.substr(a+1))),f0(rs(e,t))){case 2:case 3:return gpn(e,o,f,c);case 0:case 4:case 5:case 6:return bpn(e,o,f,c)}return null}function cvt(e,t,r,o){var a,c,f,p;for(p=r,f=new V(t.a);f.a<f.c.c.length;){if(c=l(q(f),227),a=l(c.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,Wmt(e,a,o));p=b.Math.min(p,cvt(e,c,p,o))}return p}function k0e(e,t){var r,o,a,c,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),Ugt(m,r)),lV(r,p.a,p.b);for(;m.e!=m.i.gc();)rn(m),wC(m);c=(un(e.b!=0),l(e.c.b.c,8)),kO(t,c.a,c.b)}function lvt(e,t,r,o){var a,c,f,p,m,y;if(y=za(e.e.Ah(),t),f=l(e.g,123),wp(e.e,t)){if(t.Qi()&&(c=nx(e,t,o,ae(t,104)&&(l(t,20).Bb&Co)!=0),c>=0&&c!=r))throw Y(new jt(GL));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,(Mo(),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 Mo(),l(t,69).vk()?p:p.kd();return null}}function dvt(e,t){var r,o,a,c,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 tUe):xi(e,new nUe),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)),c=t==Wt?f.c:f.a,m=t==Wt?y.a:y.c,ig(f,t,(Xl(),Vx),c),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 u_n(e,t,r,o){var a,c,f,p,m,y;for(f=new zvt(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&&(c=(!p.e&&(p.e=new je),p.e).Kc(t),y=(!p.e&&(p.e=new je),p.e).Kc(r),(c||y)&&((!p.e&&(p.e=new je),p.e).Ec(f),++f.c));a||Ot(o.c,f)}function c_n(e,t,r){var o,a,c,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,c=(p.b-y.b)/(p.a-y.a),o=p.b-c*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-c),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 l_n(e,t,r){var o,a,c,f;for(r.Tg(OSt,1),e.a=t,e.c=new je,c=b.Math.max(t.a.c.length,l(F(t,(Ie(),F1)),15).a);f=new udt(e.c,e.d,e.b),LEn(f,t),Omn(f,t),e.d.b!=0;){for(e.rg(c,c*l(F(t,fD),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,(Dt(),!0));tc(e.d),Zs(e.b),e.c.c.length=0}r.Ug(),r.ah("Execution Time: "+r.Vg())}function fvt(e,t,r,o){var a,c,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(BSt,1),m=new UHe,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(c=t.Jc();c.Ob();)a=l(c.Pb(),41),Te(a,(Nr(),jB),p);y.Ug(),fvt(e,m,r,o)}}function N0e(e,t,r){var o,a,c,f,p,m,y,v;this.a=e,this.b=t,this.c=r,this.e=Wl(Z(X(J3n,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=Li(To(this.b),this.a),a=Li(To(this.c),this.a),c=Li(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*c.b-o.b*c.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,c,f,p;for(c=e.c,f=e.d,bo(e,null),Ji(e,null),t&&Ye(Ke(F(f,(Ie(),rte))))?bo(e,y0e(f.i,(jo(),Ba),(He(),Qt))):bo(e,f),t&&Ye(Ke(F(c,(Ie(),ote))))?Ji(e,y0e(c.i,(jo(),Cu),(He(),Kt))):Ji(e,c),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,(Dt(),!p)),e.a=Hge(e.a)}function d_n(e,t){var r,o,a,c,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 xHe),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),c=l(Au(lr(new Et(null,new St(t.b,16)),new qJe(f)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),a=le(Xu(Jw(Oa(c.Mc(),new VJe(r)),(h0(),h0(),WQ)))),o=l(Xu(hp(lr(c.Mc(),new Ltt(r,a)))),41),o)}function f_n(e,t){var r,o,a,c,f,p;if(At(),xi(t,new Sce(!1)),r=new je,o=new je,e.a)Skn(t,r,o);else{for(Fe(r,l(ze(t,t.c.length-1),19)),f=0,p=0,c=1;c<t.c.length;c++)f<=p?(Fe(r,l(ze(t,t.c.length-1-c),19)),f+=l(ze(t,t.c.length-1-c),19).lh()):(Fe(o,l(ze(t,t.c.length-1-c),19)),p+=l(ze(t,t.c.length-1-c),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 h_n(e,t){var r,o,a,c,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))),c=Ql($l(Ul(Bl(Hl(new gl,M),v),r),l(Ht(e.k,t.d),126))),o=new xtt(a,c),e.c[t.p]=o}function p_n(e,t){var r,o,a,c,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,c=y.b.a-y.a,p=v-T-(m.a-y.a)*a/c,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,c=m.b.a-m.a,p=v-T+(y.a-m.a)*a/c,f=b.Math.max(f,p),y=y.b,y&&(T+=y.c)):(m=m.b,v+=m.c);return f}function g_n(e,t,r){var o,a,c,f,p,m;for(o=0,c=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));c.e!=c.i.gc();)a=l(rn(c),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 rrt(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 hvt(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?Ii(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ii(t,Qt):Ii(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?Ii(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ii(t,(He(),Qt)):Ii(t,(He(),Kt));Te(e,Zr,(qi(),Sk))}}function b_n(e,t){var r,o,a,c,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),c=new ra(e),tAn(e,o,f,r,c),r.a.c.length==0||(ry(0,m.c.length),t3(m.c,0,r)),c.a.c.length==0||Ot(m.c,c)),gr(e,(Ie(),nte))&&(a=new ra(e),p=new ra(e),qSn(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 cL(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>=Co?(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 pvt(e,t){var r,o,a,c,f,p,m,y,v;for(c=new V(e.b);c.a<c.c.c.length;)for(a=l(q(c),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 L))),17),v=l(en(new $t(qt(Or(f).a.Jc(),new L))),17),!Ye(Ke(F(y,(Ie(),Ag))))||!Ye(Ke(F(v,Ag)))?t:npt(t)),aT(f,m)),o=new $t(qt(Or(f).a.Jc(),new L));an(o);)r=l(en(o),17),m=Ye(Ke(F(r,(Ie(),Ag))))?npt(t):t,Jht(r,m)}function C0e(e){var t,r,o,a,c,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,HEn(this,e.b+this.b-1),f=new je,c=new V(this.e),t=0;t<this.b-1;t++)Fe(f,le(q(c)));for(a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),8),Fe(f,le(q(c))),Fe(this.a,new Wat(o,f)),at(0,f.c.length),f.c.splice(0,1)}function gvt(e,t,r){var o,a,c,f;return e.Nj()?(a=null,c=e.Oj(),o=e.Gj(1,f=uK(e,t,r),r,t,c),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):me(f)===me(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=uK(e,t,r),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):me(f)===me(r))&&(a=null,f!=null&&(a=e.Mj(f,null)),a=e.Lj(r,a),a&&a.mj()),f)}function m_n(e,t){var r,o,a,c,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 Due)),ue(a.i)*a.f),r=f/(a.i==null&&(a.i=wge(a,new Due)),ue(a.i)),a.b>r){t.Ug();return}switch(l(F(e,(Be(),Cte)),351).g){case 2:c=new Pue;break;case 0:c=new Lue;break;default:c=new jue}if(o=c.mg(e,a),!c.ng())switch(l(F(e,SB),352).g){case 2:o=Kmt(a,o);break;case 1:o=Mbt(a,o)}fxn(e,a,o),t.Ug()}function OC(e,t){var r,o,a,c,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,c=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(c.getTime()))),f=e.q.getTime(),e.q.setTime(f+36e5),e.q.getHours()!=t&&e.q.setTime(f)}function w_n(e,t){var r,o,a,c;if(Gun(e.d,e.e),e.c.a.$b(),ue(le(F(t.j,(Be(),bD))))!=0||ue(le(F(t.j,bD)))!=0)for(r=jE,me(F(t.j,Ch))!==me((bp(),B1))&&Te(t.j,(Ie(),j1),(Dt(),!0)),c=l(F(t.j,qI),15).a,a=0;a<c&&(o=R_n(e,t),!(o<r&&(r=o,hht(e),r==0)));a++);else for(r=sr,me(F(t.j,Ch))!==me((bp(),B1))&&Te(t.j,(Ie(),j1),(Dt(),!0)),c=l(F(t.j,qI),15).a,a=0;a<c&&(o=vvt(e,t),!(o<r&&(r=o,hht(e),r==0)));a++);}function y_n(e,t){var r,o,a,c,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,c=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,c>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 v_n(e,t){var r,o,a,c,f;for(f=new $t(qt(si(t).a.Jc(),new L));an(f);)if(c=l(en(f),17),e.f.b==0?(a=c.c.i.k==(zt(),Xr)&&!!c.c.i.c&&c.c.i.c.p==e.c,an(new $t(qt(si(c.c.i).a.Jc(),new L)))?(r=l(en(new $t(qt(si(c.c.i).a.Jc(),new L))),17).c.i.c,o=c.c.i.k==ta&&!!r&&r.p==e.c):o=!1):(a=c.c.i.k==(zt(),Xr)&&c.c.i.p==e.c,o=c.c.i.k==ta&&l(en(new $t(qt(si(c.c.i).a.Jc(),new L))),17).c.i.p==e.c),a||o)return!0;return!1}function E_n(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(N=new je,J=VP(o),z=t*e.a,T=0,M=0,c=new hi,f=new hi,p=new je,re=0,se=0,O=0,U=0,y=0,v=0;J.a.gc()!=0;)m=Ngn(J,a,f),m&&(J.a.Ac(m)!=null,Ot(p.c,m),c.a.yc(m,c),M=e.f[m.p],re+=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||re>=z&&e.e[m.p]>M*e.b||se>=r*z)&&(Ot(N.c,p),p=new je,mo(f,c),c.a.$b(),y-=v,O=b.Math.max(O,y*e.b+U),y+=se,re=se,se=0,v=0,U=0);return new No(O,N)}function CJ(e){var t,r,o,a,c,f,p;if(!e.d){if(p=new aqe,t=D4,c=t.a.yc(e,t),c==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,CJ(r));t.a.Ac(e)!=null,t.a.gc()==0}for(f=p.i,a=(!e.q&&(e.q=new ke(Ll,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(Ll,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=fDt),Pu(e).b&=-17}return e.d}function nx(e,t,r,o){var a,c,f,p,m,y;if(y=za(e.e.Ah(),t),m=0,a=l(e.g,123),Mo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(c=a[f],y.$l(c.Jk())){if(pr(c,r))return m;++m}}else if(r!=null){for(p=0;p<e.i;++p)if(c=a[p],y.$l(c.Jk())){if(pr(r,c.kd()))return m;++m}if(o){for(m=0,f=0;f<e.i;++f)if(c=a[f],y.$l(c.Jk())){if(me(r)===me(TV(e,l(c.kd(),57))))return m;++m}}}else for(f=0;f<e.i;++f)if(c=a[f],y.$l(c.Jk())){if(c.kd()==null)return m;++m}return-1}function S_n(e,t,r,o){var a,c,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=!!Po(t),c=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(c,a):c!=m&&N.Si(c,a)):N.Ei(c,a),++c):e.b&&!f&&(N.Ei(c,y),++c);else U==null?v.Wb(null):(a=Wd(e,U),a==null?e.b&&!Po(t)&&v.Wb(U):v.Wb(a))}function T_n(e,t){var r,o,a,c,f,p,m,y;for(r=new DFe,a=new $t(qt(si(t).a.Jc(),new L));an(a);)if(o=l(en(a),17),!fo(o)&&(p=o.c.i,Lbe(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 L));an(f);)if(c=l(en(f),17),!fo(c)&&(m=c.d.i,Lbe(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 A_n(e,t,r,o){var a,c,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),Ii(f,(He(),Kt)),p=new aa,As(p,a),Ii(p,Qt),v=r.d,Ji(r,f),c=new p0,qs(c,r),Te(c,ss,null),bo(c,p),Ji(c,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)),me(F(m,Yf))===me((Kd(),fv))&&(Te(m,IT,r),Mu(y),Fe(c.b,m));U0t(a,f,p)}}function __n(e,t,r,o){var a,c,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),Ii(f,(He(),Kt)),p=new aa,As(p,a),Ii(p,Qt),Ji(r,f),c=new p0,qs(c,r),Te(c,ss,null),bo(c,p),Ji(c,t),U0t(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(c.b,m))}function bvt(e){Q_();var t,r,o,a;if(t=go(e),e<yI.length)return yI[t];if(e<=50)return eL((jf(),VQ),t);if(e<=yg)return jS(eL(ST[1],t),t);if(e>1e6)throw Y(new j9("power of ten too big"));if(e<=sr)return jS(eL(ST[1],t),t);for(o=eL(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,eL(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 mvt(e){var t,r,o,a,c,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(Df(p).a.Jc(),new L));an(o);)r=l(en(o),17),t=r.a,t.b!=0&&(y=r.c,y.i==p&&(c=(un(t.b!=0),l(t.a.a.c,8)),c.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 LC(e,t,r,o){var a,c,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 Du,this.f=new JG,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;)c=l(Sn(f),8),Vpe(c.a,e.a)&&Gn(this.i,c);r&&Fe(this.j,r),Fe(this.k,o)}function x_n(e,t,r,o){var a,c,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=Ln(BP(AP(lr(new Et(null,new St(y.f,16)),new oHe),new sHe)).d),c=Ln(BP(AP(lr(new Et(null,new St(y.k,16)),new aHe),new uHe)).d),f=a,m=c,o||(f=Ln(BP(AP(new Et(null,new St(y.f,16)),new cHe)).d),m=Ln(BP(AP(new Et(null,new St(y.k,16)),new rHe)).d)),y.d=f,y.a=a,y.i=m,y.b=c,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,c,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(),qD):t,Te(e,(Ie(),OT),r),r!=(vc(),q1)))for(o=l(F(e,mr),17),p=ue(le(F(o,(Be(),_g)))),f=0,r==Ih?f=e.o.b-b.Math.ceil(p/2):r==qD&&(f=b.Math.ceil(e.o.b-ue(le(F(ji(e),o2)))-p)/2,e.o.b-=ue(le(F(ji(e),o2))),e.o.b-=p),c=new V(e.j);c.a<c.c.c.length;)a=l(q(c),12),a.n.b=f}function wvt(e,t,r){var o,a,c,f,p,m,y,v,T;for(a=!0,f=new V(e.b);f.a<f.c.c.length;){for(c=l(q(f),26),y=Di,v=null,m=new V(c.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 yvt(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,r6t,t.j-o.d),Vn(t,Wne,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,c,f,p,m,y,v,T,N;if(c=new Xd(e),Jh(c,(zt(),_a)),Te(c,(Be(),Zr),(qi(),fa)),a=0,t){for(f=new aa,Te(f,(Ie(),mr),t),Te(c,mr,t.i),Ii(f,(He(),Kt)),As(f,c),N=Lf(t.e),y=N,v=0,T=y.length;v<T;++v)m=y[v],Ji(m,f);Te(t,Nu,c),++a}if(r){for(p=new aa,Te(c,(Ie(),mr),r.i),Te(p,mr,r),Ii(p,(He(),Qt)),As(p,c),N=Lf(r.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],bo(m,p);Te(r,Nu,c),++a}return Te(c,(Ie(),nB),Re(a)),Ot(o.c,c),c}function k_n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O;for(r=(y=new Zh(e.c.b).a.vc().Jc(),new Dw(y));r.a.Ob();)t=(p=l(r.a.Pb(),45),l(p.kd(),144)),a=t.a,a==null&&(a=""),o=Fnn(e.c,a),!o&&a.length==0&&(o=ugn(e)),o&&!gy(o.c,t,!1)&&Gn(o.c,t);for(f=An(e.a,0);f.b!=f.d.c;)c=l(Sn(f),478),v=qW(e.c,c.a),O=qW(e.c,c.b),v&&O&&Gn(v.c,new No(O,c.c));for(tc(e.a),N=An(e.b,0);N.b!=N.d.c;)T=l(Sn(N),478),t=jnn(e.c,T.a),m=qW(e.c,T.b),t&&m&&Een(t,m,T.c);tc(e.b)}function N_n(e,t,r){var o,a,c,f,p,m,y,v,T;for(f=new wbt,y=Z(X(Rn,1),Qn,30,15,[0]),a=-1,c=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,c=y[0],o=0),a>=0){if(p=v.b,m==a&&(p-=o++,p==0))return 0;if(!TEt(t,y,v,p,f)){m=a-1,y[0]=c;continue}}else if(a=-1,!TEt(t,y,v,0,f))return 0}else{if(a=-1,co(v.c,0)==32){if(T=y[0],qdt(t,y),y[0]>T)continue}else if(Kan(t,v.c,y[0])){y[0]+=v.c.length;continue}return 0}return wNn(f,r)?y[0]:0}function C_n(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(v=new gP(new mYe(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(dK(v),156),p[T.a]=!0,c=Crt(new yq(e.b,T),0);c.c;)a=l(zpe(c),292),N=tmn(a,T),!p[N.a]&&(gr(a,(G6(),S$))?f=ue(le(F(a,S$))):f=e.c,o=r[T.a]+f,o<r[N.a]&&(r[N.a]=o,uht(v,N),xS(V_(v,N),fx)))}function R0e(e){var t,r,o,a,c,f,p,m;r=Ye(Ke(F(e,(ed(),fkt)))),c=e.a.c.d,p=e.a.d.d,r?(f=tp(Li(new Me(p.a,p.b),c),.5),m=tp(To(e.e),.5),t=Li(br(new Me(c.a,c.b),f),m),Pde(e.d,t)):(a=ue(le(F(e.a,Ekt))),o=e.d,c.a>=p.a?c.b>=p.b?(o.a=p.a+(c.a-p.a)/2+a,o.b=p.b+(c.b-p.b)/2-a-e.e.b):(o.a=p.a+(c.a-p.a)/2+a,o.b=c.b+(p.b-c.b)/2+a):c.b>=p.b?(o.a=c.a+(p.a-c.a)/2+a,o.b=p.b+(c.b-p.b)/2+a):(o.a=c.a+(p.a-c.a)/2+a,o.b=c.b+(p.b-c.b)/2-a-e.e.b))}function DC(e){var t,r,o,a,c,f,p,m;if(!e.f){if(m=new zue,p=new zue,t=D4,f=t.a.yc(e,t),f==null){for(c=new tn(ds(e));c.e!=c.i.gc();)a=l(rn(c),29),ti(m,DC(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 yot(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]),HLt=new RegExp(`[
\r\f]+`);try{R4=Z(X(gCn,1),Rt,2093,0,[new eO((ude(),Xj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",jO((D9(),D9(),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 I_n(e){var t,r,o,a,c,f,p;for(r=null,p=null,o=l(F(e.b,(Be(),wte)),349),o==(nC(),AD)&&(r=new je,p=new je),f=new V(e.d);f.a<f.c.c.length;)if(c=l(q(f),108),a=c.i,!!a)switch(c.e.g){case 0:t=l(U3(new fS(c.b)),64),o==AD&&t==(He(),Wt)?Ot(r.c,c):o==AD&&t==(He(),dn)?Ot(p.c,c):nEn(c,t);break;case 1:x2n(c);break;case 2:case 3:zTn(c);break;case 4:Pyn(c)}r&&(r.c.length==0||dvt(r,(He(),Wt)),p.c.length==0||dvt(p,(He(),dn)))}function R_n(e,t){var r,o,a,c;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)))||me(F(t.j,(Be(),Ch)))===me((bp(),B1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,j1))),oL(e,t,a,!0),Ye(Ke(F(t.j,e2)))&&Te(t.j,e2,(Dt(),!1)),Ye(Ke(F(t.j,j1)))&&(Te(t.j,j1,(Dt(),!1)),Te(t.j,e2,!0)),r=m0e(e,t);do{if(bge(e),r==0)return 0;a=!a,c=r,oL(e,t,a,!1),r=m0e(e,t)}while(c>r);return c}function vvt(e,t){var r,o,a,c;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)))||me(F(t.j,(Be(),Ch)))===me((bp(),B1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,j1))),oL(e,t,a,!0),Ye(Ke(F(t.j,e2)))&&Te(t.j,e2,(Dt(),!1)),Ye(Ke(F(t.j,j1)))&&(Te(t.j,j1,(Dt(),!1)),Te(t.j,e2,!0)),r=x7(e,t);do{if(bge(e),r==0)return 0;a=!a,c=r,oL(e,t,a,!1),r=x7(e,t)}while(c>r);return c}function O_n(e,t,r){var o,a,c,f,p;if(o=l(F(e,(Be(),gte)),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));c=e.d,e.f.a=r.a-c.b-c.c,e.f.b=r.b-c.d-c.a}function L_n(e,t,r){var o,a,c,f,p;if(o=l(F(e,(Be(),gte)),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;)c=l(q(f),9),c.k==(zt(),mi)&&(a=l(F(c,Hs),64),a==(He(),Qt)?c.n.a+=r.a-t.a:a==dn&&(c.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 D_n(e){var t,r,o,a,c,f,p,m,y,v,T,N;for(t=x0t(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;(c=e.a[r.p])!=y;)o=F1n(r,c),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[c.p]=f,T=b.Math.max(T,c.d.d-f),N=b.Math.max(N,f+c.o.b+c.d.a),r=c;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,c,f,p,m,y,v,T,N;return m=Li(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)),c=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,c<f&&c<=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,c,f,p,m,y,v,T,N;for(c=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),c+y.g+(p>0?e.i:0)>t&&m>0&&(c=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),c+=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=me(ve(e,(Be(),jT)))===me((tL(),Bee))||me(ve(e,jT))===me(Mee)||me(ve(e,jT))===me(Pee)||me(ve(e,jT))===me(Fee)||me(ve(e,jT))===me(Uee)||me(ve(e,jT))===me(uD),o=me(ve(e,gB))===me((rL(),Rte))||me(ve(e,gB))===me(Lte)||me(ve(e,wD))===me((_1(),ak))||me(ve(e,wD))===me((_1(),KI)),t=me(ve(e,Ch))!==me((bp(),B1))||Ye(Ke(ve(e,tk)))||me(ve(e,jI))!==me((YS(),TI))||ue(le(ve(e,bD)))!=0||ue(le(ve(e,fte)))!=0,r||o||t}function CE(e){var t,r,o,a,c,f,p,m;if(!e.a){if(e.o=null,m=new tZe(e),t=new sqe,r=D4,p=r.a.yc(e,r),p==null){for(f=new tn(ds(e));f.e!=f.i.gc();)c=l(rn(f),29),ti(m,CE(c));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 wot(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 M_n(e){var t,r,o,a,c,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(c=ue(le(by(e,(Be(),_te)))),f=ue(le(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+=c*(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+=c*(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 L0e(e,t,r,o){var a,c,f,p,m,y,v;if(v=za(e.e.Ah(),t),a=0,c=l(e.g,123),m=null,Mo(),l(t,69).vk()){for(p=0;p<e.i;++p)if(f=c[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=c[p],v.$l(f.Jk())){if(pr(r,f.kd())){m=f;break}++a}}else for(p=0;p<e.i;++p)if(f=c[p],v.$l(f.Jk())){if(f.kd()==null){m=f;break}++a}return m&&(Ju(e.e)&&(y=t.Hk()?new HW(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=aL(e,m,o)),o}function IJ(e,t,r,o,a,c,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=fwn(M,c,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=dwn(U,c,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 P_n(e){var t,r,o,a,c,f,p,m;for(c=new Fut,ntn(c,(qS(),v6t)),o=(a=SK(e,we(Je,Pe,2,0,6,1)),new DN(new Ds(new vq(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(fK(c,En),f,m),fu(f.j,Rd)&&C6(fK(c,Ir),f,m),fu(f.j,Cg)&&C6(fK(c,Gu),f,m),fu(f.j,Np)&&C6(fK(c,Rs),f,m)));return c}function lL(e,t,r){var o,a,c,f,p,m,y,v;if(a=l(e.g,123),wp(e.e,t))return Mo(),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(c=a[p],f=c.Jk(),y.$l(f)){if(Mo(),l(t,69).vk())return c;if(f==(rT(),XT)||f==JT){for(m=new fc(ms(c.kd()));++p<e.i;)c=a[p],f=c.Jk(),(f==XT||f==JT)&&zn(m,ms(c.kd()));return cfe(l(t.Fk(),160),m.a)}else return v=c.kd(),v!=null&&r&&ae(t,104)&&l(t,20).Bb&Co&&(v=TC(e,t,p,o,v)),v}++o}return t.gk()}function j_n(e){var t,r,o,a,c,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(c=l(q(f),9),uft(c)&&(r=l(F(c,(Ie(),ew)),318),!r.g&&r.d))for(t=r,m=r.d;m;)nyt(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,c,f,p,m,y;if(m=za(e.e.Ah(),t),c=l(e.g,123),wp(e.e,t)){for(a=0,p=0;p<e.i;++p)if(f=c[p],m.$l(f.Jk())){if(a==r)return Mo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&ae(t,104)&&l(t,20).Bb&Co&&(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=c[p],m.$l(f.Jk()))return Mo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&ae(t,104)&&l(t,20).Bb&Co&&(y=TC(e,t,p,a,y)),y);++a}return t.gk()}}function RJ(){RJ=K,rxt=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]),ixt=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 OJ(e,t){var r,o,a,c,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(c=e.d,p=t.d,c+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=c!=p?c>p?1:-1:Vge(e.a,t.a,c),a==-1)T=-m,v=f==m?YW(t.a,p,e.a,c):XW(t.a,p,e.a,c);else if(T=f,f==m){if(a==0)return jf(),wI;v=YW(e.a,c,t.a,p)}else v=XW(e.a,c,t.a,p);return y=new Ob(T,v.length,v),F3(y),y}function F_n(e,t){var r,o,a,c;if(c=ivt(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 EYe(c)),a=l(F(c,(Ie(),xa)),24),Mkn(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),sNn(e,t,c,r);return l(ve(t,(Be(),mm)),185).gc()!=0&&Gwt(t,c),Ye(Ke(F(c,jAe)))&&a.Ec(eB),gr(c,yD)&&pQe(new E1e(ue(le(F(c,yD)))),c),me(ve(t,Wy))===me((pp(),Ig))?N3n(e,t,c):fNn(e,t,c),c}function Ta(e,t){var r,o,a,c,f,p,m;if(e==null)return null;if(c=e.length,c==0)return"";for(m=we(al,Bf,30,c,15,1),io(0,c,e.length),io(0,c,m.length),Cst(e,0,c,m,0),r=null,p=t,a=0,f=0;a<c;a++)o=m[a],JEt(),o<=32&&te[o]&2?p?(!r&&(r=new ml(e)),cnn(r,a-f++)):(p=t,o!=32&&(!r&&(r=new ml(e)),CK(r,a-f,a-f+1," "))):p=!1;return p?r?(c=r.a.length,c>0?yl(r.a,0,c-1):""):(io(0,c-1,e.length),e.substr(0,c-1)):r?r.a:e}function $_n(e,t,r){var o,a,c;if(gr(t,(Be(),Cs))&&(me(F(t,Cs))===me((ic(),xp))||me(F(t,Cs))===me(gm))||gr(r,Cs)&&(me(F(r,Cs))===me((ic(),xp))||me(F(r,Cs))===me(gm)))return 0;if(o=ji(t),a=_Tn(e,t,r),a!=0)return a;if(gr(t,(Ie(),Cr))&&gr(r,Cr)){if(c=na(L0(t,r,o,l(F(o,F1),15).a),L0(r,t,o,l(F(o,F1),15).a)),me(F(o,FI))===me((g1(),lD))&&me(F(t,$I))!==me(F(r,$I))&&(c=0),c<0)return sL(e,t,r),c;if(c>0)return sL(e,r,t),c}return Yvn(e,t,r)}function Evt(e,t){var r,o,a,c,f,p,m,y,v,T,N;for(o=new $t(qt(mp(t).a.Jc(),new L));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,c=new Me(N.a,N.b),G_(c,t.g,t.f),N.a-=c.a,N.b-=c.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),Evt(e,m)))}function Ny(e,t){var r,o,a,c,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(c=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?(c[a++]=f.b[o++],c[a++]=f.b[o++]):o>=f.b.length?(c[a++]=e.b[r++],c[a++]=e.b[r++]):f.b[o]<e.b[r]||f.b[o]===e.b[r]&&f.b[o+1]<e.b[r+1]?(c[a++]=f.b[o++],c[a++]=f.b[o++]):(c[a++]=e.b[r++],c[a++]=e.b[r++]);e.b=c}}function B_n(e,t){var r,o,a,c,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):(c=(!Ye(Ke(F(e,qy)))||Ye(Ke(F(e,pD))))&&(!Ye(Ke(F(t,qy)))||Ye(Ke(F(t,pD)))),f=(!Ye(Ke(F(e,qy)))||!Ye(Ke(F(e,pD))))&&(!Ye(Ke(F(t,qy)))||!Ye(Ke(F(t,pD)))),new vfe(v&&c||T&&f,v,T))}function Svt(e){var t,r,o,a,c,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,c=new V(e.b);c.a<c.c.c.length;)a=l(q(c),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 Tvt(e){var t,r,o,a;return e.Db&64?rY(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 pq,new tn(e.b))),r&&(t.a+="]"),t.a+=jX,r&&(t.a+="["),zn(t,Tde(new pq,new tn(e.c))),r&&(t.a+="]"),t.a)}function U_n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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=Lf(se.e),qe=Lf(ft.g),re=Lf(de.e),lt=Lf(It.g),E1(e,o,ye),f=re,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(c=qe,y=0,O=c.length;y<O;++y)a=c[y],bo(a,It)}function H_n(e){var t,r,o,a,c,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),c=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(c.a-p.a,c.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(),vne),t)}function z_n(e,t){var r,o,a,c,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(),OD))&&Ot(p.c,r);for(c=new V(p);c.a<c.c.c.length;)r=l(q(c),19),uj(v,r);for(At(),xi(p,new Oze),f=new V(p);f.a<f.c.c.length;)r=l(q(f),19),y=l(ve(r,(ef(),OD)),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 G_n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(p=we(Rn,Qn,30,t.b.c.length,15,1),y=we(mee,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(le(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(c=new V(v.e);c.a<c.c.c.length;)a=l(q(c),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 D0e(e,t,r){var o,a,c,f,p,m,y,v;return b.Math.abs(t.s-t.c)<Hf||b.Math.abs(r.s-r.c)<Hf?0:(o=kwt(e,t.j,r.e),a=kwt(e,r.j,t.e),c=o==-1||a==-1,f=0,c?(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 q_n(e,t,r){var o,a,c;for(e.a=new je,c=An(t.b,0);c.b!=c.d.c;){for(a=l(Sn(c),41);l(F(a,(js(),Jf)),15).a>e.a.c.length-1;)Fe(e.a,new No(jE,ove));o=l(F(a,Jf),15).a,r==(vi(),as)||r==fs?(a.e.a<ue(le(l(ze(e.a,o),49).a))&&GG(l(ze(e.a,o),49),a.e.a),a.e.a+a.f.a>ue(le(l(ze(e.a,o),49).b))&&zG(l(ze(e.a,o),49),a.e.a+a.f.a)):(a.e.b<ue(le(l(ze(e.a,o),49).a))&&GG(l(ze(e.a,o),49),a.e.b),a.e.b+a.f.b>ue(le(l(ze(e.a,o),49).b))&&zG(l(ze(e.a,o),49),a.e.b+a.f.b))}}function Avt(e,t,r,o){var a,c,f,p,m,y,v;if(c=Gj(o),p=Ye(Ke(F(o,(Be(),RAe)))),(p||Ye(Ke(F(e,pB))))&&!tE(l(F(e,Zr),103)))a=WS(c),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,vmt(v,0,0,e.o.a,e.o.b),Ii(m,zyt(m,c))):(a=WS(c),Ii(m,r==(jo(),Ba)?a:P6(a))),f=l(F(o,(Ie(),xa)),24),y=m.j,c.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 _vt(e,t){var r,o,a,c,f,p;for(f=new dy(new Lw(e.f.b).a);f.b;){if(c=gE(f),a=l(c.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(c.kd(),49).b,84),p=l(l(c.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 V_n(e,t){var r,o,a,c,f,p,m,y,v,T;for(t.Tg("Simple node placement",1),T=l(F(e,(Ie(),t2)),317),p=0,c=new V(e.b);c.a<c.c.c.length;){for(o=l(q(c),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+=D1e(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+=D1e(m,r,T.c)),v+=m.d.d,m.n.b=v,v+=m.o.b+m.d.a,r=m;t.Ug()}function xvt(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 Vze))),Le(e,z0,zZ,Ge(ZB)),Le(e,z0,Uve,Ge(qne)),Le(e,z0,Hve,Ge(Gne)),Le(e,z0,GZ,Ge(mke)),Le(e,z0,qZ,Ge(zne)),Le(e,z0,B0,bke),Le(e,z0,$0,8),Le(e,z0,VZ,Ge(HOt)),Le(e,z0,zve,Ge(pke)),Le(e,z0,Gve,Ge(gke)),Le(e,z0,UL,(Dt(),!1))}function W_n(e,t){var r,o,a,c;for(Ofn(t.b.j),ei(Oa(new Et(null,new St(t.d,16)),new sUe),new aUe),c=new V(t.d);c.a<c.c.c.length;){switch(a=l(q(c),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:Gyn(e,a);break;case 3:X2n(a);break;case 4:nSn(e,a)}Rfn(a)}e.a=null}function LJ(e,t,r){var o,a,c,f,p,m,y,v;return o=e.a.o==(zd(),uf)?Kr:Di,p=Jyt(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,c=e.a.c==aw?a:m,f=e.a.g[c.i.p],v=ue(e.a.p[f.p])+ue(e.a.d[c.i.p])+c.n.b+c.a.b-ue(e.a.d[y.i.p])-y.n.b-y.a.b):(y=e.a.c==(If(),kg)?m:a,c=e.a.c==kg?a:m,v=ue(e.a.p[e.a.g[c.i.p].p])+ue(e.a.d[c.i.p])+c.n.b+c.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]=(Dt(),!0),e.a.n[e.a.g[m.i.p].p]=!0,v):o}function K_n(e,t,r,o){var a,c,f,p,m,y,v,T;if(o.gc()==0)return!1;if(m=(Mo(),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&Co)!=0)||(c=gh(t,y),f.Ec(c));else if(!m)for(v=o.Jc();v.Ob();)y=v.Pb(),c=gh(t,y),f.Ec(c)}else{for(T=za(e.e.Ah(),t),a=l(e.g,123),p=0;p<e.i;++p)if(c=a[p],T.$l(c.Jk()))throw Y(new jt(YL));if(o.gc()>1)throw Y(new jt(YL));m||(c=gh(t,o.Jc().Pb()),f.Ec(c))}return Oge(e,Zbe(e,t,r),f)}function K7(e,t,r){var o,a,c,f,p,m,y,v;if(wp(e.e,t))m=(Mo(),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],c=a.Jk(),v.$l(c)){if(c==(rT(),XT)||c==JT){for(y=Y1e(e,t,r),p=f,y?_y(e,f):++f;f<e.i;)a=o[f],c=a.Jk(),c==XT||c==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,(Mo(),l(t,69).vk()?l(r,76):gh(t,r))),76);return}Y1e(e,t,r)||Tn(e,(Mo(),l(t,69).vk()?l(r,76):gh(t,r)))}}function kvt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(T=0;T<t.length;T++){for(p=e.Jc();p.Ob();)c=l(p.Pb(),223),c.fg(T,t);for(N=0;N<t[T].length;N++){for(m=e.Jc();m.Ob();)c=l(m.Pb(),223),c.gg(T,N,t);for(U=t[T][N].j,O=0;O<U.c.length;O++){for(y=e.Jc();y.Ob();)c=l(y.Pb(),223),c.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();)c=l(v.Pb(),223),c.eg(T,N,O,r++,o,t)}}}for(f=e.Jc();f.Ob();)c=l(f.Pb(),223),c.dg()}function Y_n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O;for(r.Tg(RSt,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(c=0;c<v;c++)e.d[c]||(p=(at(c,T.c.length),l(T.c[c],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),(Dt(),!0));e.c=null,e.d=null,e.a=null,e.b=null,r.Ug()}function J_n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O;for(r.Tg(RSt,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(c=0;c<v;c++)e.e[c]||(p=(at(c,T.c.length),l(T.c[c],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),(Dt(),!0));e.d=null,e.e=null,e.a=null,e.b=null,r.Ug()}function X_n(e,t){var r,o,a,c,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 vJ(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 wat(e,T,U,t),zen((!t.a&&(t.a=new ke(jr,t,6,6)),t.a),o),Kl(M,fQ,null),Kl(M,fQ,U)),c=Gc(t,(_n(),p2)),c&&(N=l(ve(t,p2),79),p=!N||Vst(N),y=!p,y&&(O=new Eb,a=new iot(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 Z_n(e,t){var r,o,a,c,f,p,m;for(e.b=ue(le(F(t,(Be(),Qy)))),e.c=ue(le(F(t,$1))),e.d=l(F(t,yte),350),e.a=l(F(t,cB),285),Ubn(t),p=l(Au(lr(lr(bs(bs(new Et(null,new St(t.b,16)),new EFe),new SFe),new TFe),new AFe),ju(new Qo,new ls,new Ci,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 RYe(e)),Te(r,pm,null);for(o=p.Jc();o.Ob();)r=l(o.Pb(),17),m=l(F(r,(Ie(),_Te)),17),c=l(F(r,n2),16),g3n(e,c,m),Te(r,n2,null)}function DJ(e,t){var r,o,a,c,f,p,m;if(e.a){if(p=e.a.ve(),m=null,p!=null?t.a+=""+p:(f=e.a.kk(),f!=null&&(c=Nf(f,Qa(91)),c!=-1?(m=(Yt(c,f.length+1),f.substr(c)),t.a+=""+yl(f==null?tu:(Mt(f),f),0,c)):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 Q_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 exn(e){var t,r,o,a;if(o=WJ((!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)zot(a,fm);Eit(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)zot(a,fm);Eit(a,fm,go(-r))}return a.a}function MJ(e){var t,r,o,a,c,f,p,m,y;return!(e.k!=(zt(),Xr)||e.j.c.length<=1||(c=l(F(e,(Be(),Zr)),103),c==(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(le(by(e,GI))),t=l(F(e,ED),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 txn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z;t.Tg("Orthogonal edge routing",1),y=ue(le(F(e,(Be(),tv)))),r=ue(le(F(e,Qy))),o=ue(le(F(e,$1))),N=new sW(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(),xD)),c=!v||N8(T,(F7(),xD)),M>0?(O=(M-1)*r,p&&(O+=o),v&&(O+=o),O<y&&!a&&!c&&(O=y),z+=O):!a&&!c&&(z+=y),p=v,m=T;while(v);e.f.a=z,t.Ug()}function Y7(e,t){var r,o,a,c,f,p,m,y,v,T;if(v=null,e.d&&(v=l(wa(e.d,t),146)),!v){if(c=e.a.si(),T=c.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(c,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(c,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 PJ(e,t,r,o,a,c,f){var p,m,y,v,T,N,O;return T=Ye(Ke(F(t,(Be(),OAe)))),N=null,c==(jo(),Cu)&&o.c.i==r?N=o.c:c==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=c==Cu?Kt:Qt),m=nxn(e,t,r,c,v,o),p=KW((ji(r),o)),c==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 bgt(o,p,m,l(F(m,(Ie(),mr)),12),c,!N)):(Fe(y.e,o),O=b.Math.max(ue(le(F(y.d,_g))),ue(le(F(o,_g)))),Te(y.d,_g,O)),yt(e.a,o,new K8(y.d,t,c)),y}function jJ(){jJ=K;var e;k3e=new zZe,XLt=we(Je,Pe,2,0,6,1),YLt=Of(GS(33,58),GS(1,26)),JLt=Of(GS(97,122),GS(65,90)),S3e=GS(48,57),WLt=Of(YLt,0),KLt=Of(JLt,S3e),T3e=Of(Of(0,GS(1,6)),GS(33,38)),A3e=Of(Of(S3e,GS(65,70)),GS(97,102)),ZLt=Of(WLt,r7("-_.!~*'()")),QLt=Of(KLt,Jj("-_.!~*'()")),r7(jAt),Jj(jAt),Of(ZLt,r7(";:@&=+$,")),Of(QLt,Jj(";:@&=+$,")),_3e=r7(":/?#"),x3e=Jj(":/?#"),O4=r7("/?#"),L4=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 nxn(e,t,r,o,a,c){var f,p,m,y,v,T;return f=null,y=o==(jo(),Cu)?c.c:c.d,m=Gj(t),y.i==r?(f=l(Ht(e.b,y),9),f||(f=fL(y,l(F(r,(Be(),Zr)),103),a,rAn(y),null,y.n,y.o,m,t),Te(f,(Ie(),mr),y),Jn(e.b,y,f))):(f=fL((v=new Q2,T=ue(le(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=W0n(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,c,f,p,m,y,v,T,N,O,M;p=0,M=0,m=LP(e.g,e.g.length),c=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=Yvt(e,y),r=!0,(e.r==(_1(),SD)||e.r==TD)&&(r=Ye(Ke(N.b))),l(N.a,15).a<0&&r?(++O,m=LP(e.g,e.g.length),e.e=e.e+l(N.a,15).a,M+=c-e.e,c=e.e+l(N.a,15).a,f=e.j,o=jb(e.b),a=jb(e.c)):(e.g=LP(m,m.length),e.e=c,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 No(Re(M),Re(p)))))}while(T)}function rxn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),c=(z=r.j+r.f,J=T.e+o.f,re=b.Math.max(z,J),se=re-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),c<=a?e.f==f2?e:t:e.f==BT?e:t):e}function Nvt(e,t){var r,o,a,c,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(le(F(m,Ng)))+e.b+m1e(e,m,t),Te(t,Ng,v)):Te(t,Ng,0);else{for(o=(c=An(new Qh(t).a.d,0),new qv(c));oO(o.a);)r=l(Sn(o.a),65).c,Nvt(e,r);p=l(M8((f=An(new Qh(t).a.d,0),new qv(f))),41),T=l(Wtn((a=An(new Qh(t).a.d,0),new qv(a))),41),y=(ue(le(F(T,Ng)))+ue(le(F(p,Ng))))/2,m?(v=ue(le(F(m,Ng)))+e.b+m1e(e,m,t),Te(t,Ng,v),Te(t,lk,ue(le(F(t,Ng)))-y),ykn(e,t)):Te(t,Ng,y)}}function ixn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O;if(y=new je,!gr(e,(Ie(),tte)))return y;for(o=l(F(e,tte),16).Jc();o.Ob();)t=l(o.Pb(),9),_xn(t,e),Ot(y.c,t);for(c=new V(e.b);c.a<c.c.c.length;)for(a=l(q(c),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),Ii(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 oxn(e){var t,r,o,a,c,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;)c=l(q(f),126),c.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 wV(fy(e.d.c.length)),e.j=1}function sxn(e,t){var r,o,a,c,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(le(F(e.f,j2e))),e.c=ue(le(F(e.f,S$))),xst(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),C_n(e,m,e.a[m.a]);for(e.i=Yw(Ki,[Pe,Jo],[109,30],15,[p,p],2),c=0;c<p;++c)for(f=0;f<p;++f)r=e.a[c][f],v=1/(r*r),e.i[c][f]=v}}function Cvt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O;if(p=t._g(),p||t.Tg(V2t,1),r=l(F(e,(Ie(),ste)),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(c=new V(e.b);c.a<c.c.c.length;)a=l(q(c),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 axn(e,t){var r,o,a,c,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,c=l(Au(lr(t.Mc(),new HYe(p)),ju(new Qo,new ls,new Ci,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),c.Gc(r))return!0;for(a=new $t(qt(Or(r).a.Jc(),new L));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 Ivt(e,t,r){var o,a,c,f,p,m,y,v,T;for(T=new je,v=new Khe(0,r),c=0,yj(v,new BK(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(),LD)))))&&(a=0,c+=v.b+r,Ot(T.c,v),v=new Khe(c,r),o=new BK(0,v.f,v,r),yj(v,o),a=0),o.b.c.length==0||!Ye(Ke(ve(Br(m),(ef(),One))))&&(m.f>=o.o&&m.f<=o.f||o.a*.5<=m.f&&o.a*1.5>=m.f)?w1e(o,m):(f=new BK(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 uxn(e,t){var r,o,a,c,f,p,m;for(f=kS(e.a).Jc();f.Ob();){if(c=l(f.Pb(),17),c.b.c.length>0)for(o=new Tu(l(wr(e.a,c),24)),At(),xi(o,new yce(t)),a=new Xi(c.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=I0n(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,c))}bo(c,null),Ji(c,null)}}function cxn(e,t){var r,o,a,c,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,c=0;c<y.c.length;c++)p=e.a[a][c],p.p=c,p.k==(zt(),_a)&&Ot(v.c,p),nc(l(ze(t.b,a),26).a,c,p),p.j.c.length=0,li(p.j,l(l(ze(e.b,a),16).Xb(c),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=MTn(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 lxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O;if(t.Tg("Edge splitting",1),e.b.c.length<=2){t.Ug();return}for(c=new Xi(e.b,0),f=(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.b++),26));c.b<c.d.gc();)for(a=f,f=(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.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&&hJ(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 Rvt(e){var t,r,o,a,c,f,p,m,y,v,T,N;for(t=Gd(e),c=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&&c&&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&&c&&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 Ovt(e){var t,r,o,a,c;return e.g!=null?e.g:e.a<32?(e.g=CNn(Gs(e.f),go(e.e)),e.g):(a=WJ((!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,c=new Zg,c.a+=""+a,e.e>0&&o>=-6?o>=0?CO(c,r-go(e.e),"."):(CK(c,t-1,t-1,"0."),CO(c,t+1,Mf(fm,0,-go(o)-1))):(r-t>=1&&(CO(c,t,"."),++r),CO(c,r,"E"),o>0&&CO(c,++r,"+"),CO(c,++r,""+x3(Gs(o)))),e.g=c.a,e.g))}function dxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe;o=ue(le(F(t,(Be(),DAe)))),Ee=l(F(t,qI),15).a,N=4,a=3,ye=20/Ee,O=!1,m=0,f=sr;do{for(c=m!=1,T=m!=0,qe=0,z=e.a,re=0,de=z.length;re<de;++re)M=z[re],M.f=null,eNn(e,M,c,T,o),qe+=b.Math.abs(M.a);do p=LAn(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 FJ(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;for(M=new hn,c=e.a.ec().Jc();c.Ob();)o=l(c.Pb(),180),Jn(M,o,r.$e(o));for(f=(kn(e),e?new Tu(e):QA(e.a.ec().Jc())),xi(f,new fYe(M)),p=VP(f),m=new L8(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(le(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 L8(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,c,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}c=t.e==0?2:t.Km().length,f.e==0?(r=new GN,o=f.Im(),o>=Co?Vo(r,p1e(o)):i_(r,o&Ei),f=new xW(10,null,0),Csn(e.a,f,p-1)):(r=(f.Km().length+c,new GN),Vo(r,f.Km())),t.e==0?(o=t.Im(),o>=Co?Vo(r,p1e(o)):i_(r,o&Ei)):Vo(r,t.Km()),l(f,521).b=r.a}}function fxn(e,t,r){var o,a,c,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)),c=new V(f);c.a<c.c.c.length;)a=l(q(c),17),mg(a,!0),Te(e,(Ie(),CT),(Dt(),!0)),$vt(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 hxn(e,t,r){var o,a,c;if(a=l(F(t,(Be(),cB)),285),a!=(W_(),NI)){switch(r.Tg("Horizontal Compaction",1),e.a=t,c=new zdt,o=new p0t((c.d=t,c.c=l(F(c.d,kp),225),oTn(c),mkn(c),hTn(c),c.a)),BQt(o,e.b),l(F(t,uAe),427).g){case 1:xQe(o,new dht(e.a));break;default:xQe(o,(Che(),Sxt))}switch(a.g){case 1:_C(o);break;case 2:_C(J7(o,(vi(),fs)));break;case 3:_C(_Qe(J7(_C(o),(vi(),fs)),new bBe));break;case 4:_C(_Qe(J7(_C(o),(vi(),fs)),new XYe(c)));break;case 5:_C($Qt(o,bNt))}J7(o,(vi(),as)),o.e=!0,dNn(c),r.Ug()}}function pxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(f=t.b,v=f.o,m=f.d,o=ue(le(i7(f,(Be(),od)))),a=ue(le(i7(f,o2))),y=ue(le(i7(f,kte))),p=new eq,Ife(p,m.d,m.c,m.a,m.b),N=ATn(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),c=O.a,T=mwn(O),r=(re=new Du,pmt(O,O.c,N,re),ISn(O,T,N,re),pmt(O,O.d,N,re),re),r=e.lg(O,T,r),tc(c.a),mo(c.a,r),ei(new Et(null,new St(r,16)),new Ttt(v,p));U=z.i,U&&(PSn(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 gxn(e,t){Z_();var r,o,a,c,f,p;return c=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,c),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 bxn(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(),JD))&&!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=Lht(e),r&&(t=b.Math.max(t,r.b)),e.A.Gc(XD)&&(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,NJ(e.f)}function mxn(e,t,r,o,a,c,f,p){var m,y,v,T;switch(m=Wl(Z(X(cCn,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 IG,new NG,new CG]));break;case 0:T=Wl(Z(X(Qxe,1),Rt,527,0,[new CG,new NG,new IG]));break;case 2:T=Wl(Z(X(Qxe,1),Rt,527,0,[new NG,new IG,new CG]))}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?rxn((at(0,m.c.length),l(m.c[0],241)),(at(1,m.c.length),l(m.c[1],241)),f,c):null}function wxn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;a=new JR(e),c=new O0t,o=(n6(c.n),n6(c.p),Zs(c.c),n6(c.f),n6(c.o),Zs(c.q),Zs(c.d),Zs(c.g),Zs(c.k),Zs(c.e),Zs(c.i),Zs(c.j),Zs(c.r),Zs(c.b),N=t0t(c,a,null),rwt(c,a),N),t&&(m=new JR(t),f=P_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),uAt in m.a&&(v=op(m,uAt).oe().a)),y=LQe(Bft(new sS,T),v),yyn(new iGe,o,y),qF in a.a&&Kl(a,qF,null),(T||v)&&(p=new aS,Zyt(y,p,T,v),Kl(a,qF,p)),O=new jXe(c),lpt(new uV(o),O),M=new FXe(c),lpt(new uV(o),M)}function yxn(e,t,r){var o,a,c,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),(Dt(),!0)),Fe(e.a,o));switch(e.a.c.length){case 0:c=new $K(0,t,"DUMMY_ROOT"),Te(c,(Nr(),z1),(Dt(),!0)),Te(c,ene,!0),Gn(t.b,c);break;case 1:break;default:for(f=new $K(0,t,LF),m=new V(e.a);m.a<m.c.c.length;)p=l(q(m),41),y=new Nhe(f,p),Te(y,(Nr(),ene),(Dt(),!0)),Gn(f.a.a,y),Gn(f.d,y),Gn(p.b,y),Te(p,z1,!1);Te(f,(Nr(),z1),(Dt(),!0)),Te(f,ene,!0),Gn(t.b,f)}r.Ug()}function Lvt(e){var t,r,o,a,c,f;for(Da(e.a,new Z2),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),227),o=Li(To(l(e.b,68).c),l(t.b,68).c),nkt?(f=l(e.b,68).b,c=l(t.b,68).b,b.Math.abs(o.a)>=b.Math.abs(o.b)?(o.b=0,c.d+c.a>f.d&&c.d<f.d+f.a&&X8(o,b.Math.max(f.c-(c.c+c.b),c.c-(f.c+f.b)))):(o.a=0,c.c+c.b>f.c&&c.c<f.c+f.b&&X8(o,b.Math.max(f.d-(c.d+c.a),c.d-(f.d+f.a))))):X8(o,nvt(l(e.b,68),l(t.b,68))),a=b.Math.sqrt(o.a*o.a+o.b*o.b),a=jbt(vI,t,a,o),X8(o,a),KV(l(t.b,68),o),Da(t.a,new bce(o)),l(vI.b,68),kpe(vI,A2e,t)}function vxn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M;for(e.f=new ZG,y=0,a=0,f=new V(e.e.b);f.a<f.c.c.length;)for(c=l(q(f),26),m=new V(c.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 L));an(o);)r=l(en(o),17),r.p=a++;for(t=MJ(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(oCn,Rt,410,y,0,1),e.c=we(iCn,Rt,651,a,0,1),e.d.a.$b()}function vn(e){var t,r,o,a,c,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,c=r<100?null:new Qg(r),e.Rj())for(o=0;o<e.i;++o)f=e.g[o],c=e.Tj(f,c);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();)c=e.Mj(vY(o),c);c?(c.lj(a),c.mj()):e.Hj(a)}else c?(c.lj(a),c.mj()):e.Hj(a)}else z3(e),e.Hj(e.Gj(6,(At(),Io),null,-1,m));else if(e.Kj())if(e.i>0){for(p=e.g,y=e.i,z3(e),c=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],c=e.Mj(f,c);c&&c.mj()}else z3(e);else z3(e)}function M0e(e,t,r){var o,a,c,f,p,m,y,v,T,N;for(Uht(this),r==(g0(),H1)?pi(this.r,e):pi(this.w,e),v=Kr,y=Di,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(le(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(le(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b,smt(this,T,v,y),c=t.a.ec().Jc();c.Ob();)a=l(c.Pb(),49),Smt(this,l(a.b,17));this.o=!1}function Exn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on;return r=e.l&8191,o=e.l>>13|(e.m&15)<<9,a=e.m>>4&8191,c=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,Lt=c*p,on=f*p,m!=0&&(ft+=r*m,It+=o*m,Lt+=a*m,on+=c*m),y!=0&&(It+=r*y,Lt+=o*y,on+=a*y),v!=0&&(Lt+=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,re=(It&262143)<<4,se=(Lt&31)<<17,U=z+J+re+se,Ee=It>>18,ye=Lt>>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,c,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(c=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),c=b.Math.min(c,f.n.a-o.b);return new v9(kn(c))}if(p.e.c.length!=0){for(a=Di,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 Mvt(e){n0(e,new Qb(bq(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 tGe),hve),xr((sT(),o5),Z(X(s5,1),Ce,235,0,[i5]))))),Le(e,G0,$0,20),Le(e,G0,B0,Fke),Le(e,G0,wx,Ge(c6t)),Le(e,G0,lF,Ge(d6t)),Le(e,G0,IL,(Dt(),!1)),Le(e,G0,yx,Ge(jke)),Le(e,G0,kZ,Ge(l6t)),Le(e,G0,Kve,Ge(pk)),Le(e,G0,Yve,Ge(Qne)),Le(e,G0,Jve,Ge(Pke)),Le(e,G0,Xve,Ge(Zne))}function Sxn(e,t,r){var o,a,c,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),c=new V(y.g);c.a<c.c.c.length;)o=l(q(c),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&&kmt(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 Pvt(e,t){var r,o,a,c,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(c=0;c<e.i;++c)if(r=e.nl(l(e.g[c],57)),me(r)===me(t))return!0}return m}else if(e.kl()&&!e.jl()){if(f=l(t,57).Jh(Po(l(e.Jk(),20))),me(f)===me(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(c=0;c<e.i;++c)if(a=e.nl(l(e.g[c],57)),me(a)===me(t))return!0}return p}else return q_(e,t)}function Txn(e,t){var r,o,a,c,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),Da(o.j,new RJe(v));break;case 1:Etn(hp(lr(new Et(null,new St(f.i.j,16)),new OJe(f))),new LJe(v));break;case 3:a=l(F(f,(Ie(),mr)),12),Fe(v,new No(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),c=ule(e,l(m.a,12)),c>e.d[f.p]&&(r+=upe(e.b,c)*l(m.b,15).a,l1(e.a,Re(c)));for(;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function Axn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z;for(t.Tg(OSt,1),O=new je,v=b.Math.max(e.a.c.length,l(F(e,(Ie(),F1)),15).a),r=v*l(F(e,fD),15).a,p=me(F(e,(Be(),PT)))===me((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(c=new V(O);c.a<c.c.c.length;)a=l(q(c),17),mg(a,!0),Te(e,CT,(Dt(),!0));O.c.length=0,t.Ug()}function _xn(e,t){var r,o,a,c,f,p,m,y,v,T;if(v=l(F(e,(Ie(),Hs)),64),o=l(ze(e.j,0),12),v==(He(),Wt)?Ii(o,dn):v==dn&&Ii(o,Wt),l(F(t,(Be(),mm)),185).Gc((sc(),xm))){if(m=ue(le(F(e,ok))),y=ue(le(F(e,sk))),f=ue(le(F(e,ev))),p=l(F(t,Xy),24),p.Gc((xu(),Rp)))for(r=y,T=e.o.a/2-o.n.a,c=new V(o.f);c.a<c.c.c.length;)a=l(q(c),70),a.n.b=r,a.n.a=T-a.o.a/2,r+=a.o.b+f;else if(p.Gc(K1))for(c=new V(o.f);c.a<c.c.c.length;)a=l(q(c),70),a.n.a=m+e.o.a-o.n.a;xcn(new A9((KN(),new gW(t,!1,!1,new c9))),new W8(null,e,!1))}}function xxn(e,t){var r,o,a,c,f,p,m,y,v;if(t.c.length!=0){for(At(),zV(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(fit(o.e).b,r.e.d)||P1e(fit(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),c=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-c,y=b.Math.max(o.e.d+o.e.a,r.e.d+r.e.a),v=y-f,mot(o.e,c,f,m,v),Rcn(o.f,r.f),!o.a&&(o.a=r.a),li(o.g,r.g),Fe(o.g,r),o):(Kyt(e,o),o=r);Kyt(e,o)}}function kxn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee;for(m=new je,c=new V(t.a);c.a<c.c.c.length;)for(a=l(q(c),9),p=new V(a.j);p.a<p.c.c.length;){for(f=l(q(p),12),v=null,se=Lf(f.g),de=0,Ee=se.length;de<Ee;++de)re=se[de],T_(re.d.i,r)||(J=PJ(e,t,r,re,re.c,(jo(),Ba),v),J!=v&&Ot(m.c,J),J.c&&(v=J));for(y=null,M=Lf(f.e),U=0,z=M.length;U<z;++U)O=M[U],T_(O.c.i,r)||(J=PJ(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 Nxn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O;for(p=new V(t);p.a<p.c.c.length;)c=l(q(p),242),c.e=null,c.c=0;for(m=null,f=new V(t);f.a<f.c.c.length;)if(c=l(q(f),242),T=c.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))&&((!c.e&&(c.e=new je),c.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),Min(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 Cxn(e,t,r,o){var a,c,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=le(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 Xrt(O),Ot(p.c,f);switch(N=l(ve(e,ure),327),N.g){case 3:z=lAn(p,t,T.a,T.b,(y=o,Mt(a),y));break;case 1:z=ZAn(p,t,T.a,T.b,(v=o,Mt(a),v));break;default:z=Rxn(p,t,T.a,T.b,(m=o,Mt(a),m))}c=new hj(z),U=GJ(c,t,r,T.a,T.b,o,(Mt(a),a)),M0(e,U.a,U.b,!1,!0)}function Ixn(e,t,r,o){var a,c,f,p,m,y;if(p=e.j,p==(He(),Is)&&t!=(qi(),pf)&&t!=(qi(),W1)&&(p=zyt(e,r),Ii(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,Bmn(e,p))),t==(qi(),Oh)){switch(y=0,p.g){case 1:case 3:c=e.i.o.a,c>0&&(y=e.n.a/c);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,c,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,c=r<100?null:new Qg(r),DO(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();)c=e.Mj(rn(o),c);c?(c.lj(a),c.mj()):e.Hj(a)}else c?(c.lj(a),c.mj()):e.Hj(a);else DO(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(At(),Io),null,-1,m));else if(e.Kj())if(v=e.Cj(),v>0){for(p=e.Dj(),y=v,DO(e,v,p),c=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],c=e.Mj(f,c);c&&c.mj()}else DO(e,e.Cj(),e.Dj());else DO(e,e.Cj(),e.Dj())}function Rxn(e,t,r,o,a){var c,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 PGe),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(c=0;c<U.c.length-1&&hu(f)*ec(f)/2>p[c];)++c;M=new Rf(U,0,c+1),T=new hj(M),v=hu(f)/ec(f),m=GJ(T,t,new oS,r,o,a,v),br(wd(T.e),m),xS(V_(N,T),fx),O=new Rf(U,c+1,U.c.length),obe(N,O),U.c.length=0,y=0,Zot(p,p.length,0)}else z=N.b.c.length==0?null:ze(N.b,0),z!=null&&vK(N,0),y>0&&(p[y]=p[y-1]),p[y]+=hu(f)*ec(f),++y,Ot(U.c,f);return U}function Oxn(e,t){var r,o,a,c;r=t.b,c=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(c,a,new GBe,o),c0(l(Gb(e.b,Wt,P1),16),r),a=H6(c,a,new qBe,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(c,a,new VBe,o),c0(l(Gb(e.b,Qt,Z0),16),r),c0(l(Gb(e.b,dn,Q0),16),r),a=H6(c,a,new WBe,o),c0(l(Gb(e.b,dn,P1),16),r),a=H6(c,a,new KBe,o),c0(l(Gb(e.b,dn,Z0),16),r),c0(l(Gb(e.b,Kt,Q0),16),r),a=H6(c,a,new BBe,o),c0(l(Gb(e.b,Kt,P1),16),r),c0(l(Gb(e.b,Kt,Z0),16),r)}function Lxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(t.Tg("Layer size calculation",1),v=Kr,y=Di,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(),ED)),125).d),c=l(ze(f.a,f.a.c.length-1),9),r=c.n.b+c.o.b+c.d.a,c.k==mi&&(r+=l(F(e,(Be(),ED)),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 jvt(e,t,r){var o,a,c,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=Li(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=Li(new So(ege(T)),Qpe(T)),o=v==N?-2:2,c=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,c),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 Dxn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z;for(y=dyn(t),U=l(F(t,(Be(),BI)),302),lo(y,new wYe(U)),z=l(F(t,mD),303),lo(y,new yYe(z)),M=0,v=new je,c=new D3(y);c.a!=c.b;)a=l(Bj(c),37),Jvt(e.c,a),N=l(F(a,(Ie(),ste)),16),M+=N.gc(),o=N.Jc(),Fe(v,new No(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,c,f,p,m,y,v,T,N,O,M,U,z,J;for(c=0,f=0,y=new V(e.a);y.a<y.c.c.length;)p=l(q(y),9),c=b.Math.max(c,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+=c*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 Mxn(e){var t,r,o,a,c;if(o=l(F(e,(Be(),Cs)),166),o==(ic(),xp)){for(r=new $t(qt(si(e).a.Jc(),new L));an(r);)if(t=l(en(r),17),!ylt(t))throw Y(new _f(BX+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(c=new $t(qt(Or(e).a.Jc(),new L));an(c);)if(a=l(en(c),17),!ylt(a))throw Y(new _f(BX+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,c,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),c=v,p=0,y=c.length;p<y;++p)o=c[p],T=l(f6(e,o.g),173),T?Fe(O,l(kgt(e,T),86)):O.c.push(null);for(M=new ui,ei(lr(Oa(lr(new Et(null,new St(O,16)),new oGe),new hXe(t)),new sGe),new pXe(M)),yc(M,e.a),r=new je,a=v,f=0,m=a.length;f<m;++f)o=a[f],li(r,Zht(e,SW(l(f6(M,o.g),22)))),N=l(ze(O,o.g),86),N&&Ot(r.c,N);return li(r,Zht(e,SW(l(f6(M,v[v.length-1].g+1),22)))),r}function Pxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(N=new je,a=new je,U=null,p=t.Jc();p.Ob();)f=l(p.Pb(),15),c=new EJe(f.a),Ot(a.c,c),U&&(c.d=U,U.e=c),U=c;for(se=i_n(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),re=(de=ue(le(F(e,(Be(),KAe)))),se[T]+b.Math.pow(m,de)),re<o&&(o=re,r=y,r.c=T),z&&T==z.b&&(O=z,z=Esn(z));r&&(Fe(N,Re(r.c)),r.a=!0,Agn(r))}return At(),zV(N.c,N.c.length,null),N}function j0e(e,t,r){var o,a,c,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==EL&&t.m==0&&t.l==0)return Vgn(e,r);if(m=!1,t.h>>19&&(t=k_(t),m=!m),f=y2n(t),c=!1,a=!1,o=!1,e.h==EL&&e.m==0&&e.l==0)if(a=!0,c=!0,f==-1)e=Pnt((m_(),KEe)),o=!0,m=!m;else return p=Nme(e,f),m&&jK(p),r&&(O1=Ua(0,0,0)),p;else e.h>>19&&(c=!0,e=k_(e),o=!0,m=!m);return f!=-1?ypn(e,f,m,c,r):hbe(e,t)<0?(r&&(c?O1=k_(e):O1=Ua(e.l,e.m,e.h)),Ua(0,0,0)):hAn(o?e:Ua(e.l,e.m,e.h),t,m,c,a,r)}function $J(e,t){var r,o,a,c,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(c=e.d,p=t.d,c+p==2)return r=Gi(e.a[0],$o),o=Gi(t.a[0],$o),f==m?(v=Ao(r,o),M=Ln(v),O=Ln(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=c>=p?XW(e.a,c,t.a,p):XW(t.a,p,e.a,c);else{if(a=c!=p?c>p?1:-1:Vge(e.a,t.a,c),a==0)return jf(),wI;a==1?(N=f,T=YW(e.a,c,t.a,p)):(N=m,T=YW(t.a,p,e.a,c))}return y=new Ob(N,T.length,T),F3(y),y}function jxn(e,t){var r,o,a,c,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),KK(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),KK(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),KK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&++o;for(c=t.r.a.ec().Jc();c.Ob();)a=l(c.Pb(),12),KK(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 Fxn(e){var t,r,o,a,c,f,p,m,y,v;for(t=new DG,r=new DG,y=wt(VL,(a=RC(e.b,Bn),a?In(Td((!a.b&&(a.b=new Zu((_t(),Oo),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&&(c=RC(f,Bn),(c?In(Td((!c.b&&(c.b=new Zu((_t(),Oo),zs,c)),c.b),zF)):null)==null))&&Tn(t,f):(v=Po(f),v&&v.Bb&Ws||(!(f.Bb&$f)||!y&&(o=RC(f,Bn),(o?In(Td((!o.b&&(o.b=new Zu((_t(),Oo),zs,o)),o.b),zF)):null)==null))&&Tn(r,f))):(Mo(),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,c,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=Dme(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(rW(rs(e,v)),m))return v}return null}case 4:{if(wt("",fg(e,r.ok()).ve())){for(o=r;o;o=Tcn(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(c=SJ(e,t),f=0,T=c.gc();f<T;++f)if(v=l(c.Xb(f),182),Ume(rW(rs(e,v)),m))return v}return null}default:return null}}function $xn(e,t,r){var o,a,c,f,p,m,y,v;if(r.gc()==0)return!1;if(p=(Mo(),l(t,69).vk()),c=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&Co)!=0)||(a=gh(t,m),c.Gc(a)||c.Ec(a));else if(!p)for(y=r.Jc();y.Ob();)m=y.Pb(),a=gh(t,m),c.Ec(a)}else{if(r.gc()>1)throw Y(new jt(YL));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()),c.Ec(a))}return ti(e,c)}function Bxn(e,t){var r,o,a,c,f,p,m,y,v;for(v=new Ar,p=(y=new Zh(e.c).a.vc().Jc(),new Dw(y));p.a.Ob();)c=(a=l(p.a.Pb(),45),l(a.kd(),459)),c.b==0&&Wr(v,c,v.c.b,v.c);for(;v.b!=0;)for(c=l(v.b==0?null:(un(v.b!=0),Vc(v,v.a.a)),459),c.a==null&&(c.a=0),o=new V(c.d);o.a<o.c.c.length;)r=l(q(o),659),r.b.a==null?r.b.a=ue(c.a)+r.a:t.o==(zd(),Em)?r.b.a=b.Math.min(ue(r.b.a),ue(c.a)+r.a):r.b.a=b.Math.max(ue(r.b.a),ue(c.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 Dw(m));f.a.Ob();)c=(a=l(f.a.Pb(),45),l(a.kd(),459)),t.i[c.c.p]=c.a}function Uxn(e,t,r,o){var a,c,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&&!Wmn(t)))for(c=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&&ESn(e,m,f,c,N)}}function Hxn(e){var t,r,o,a,c,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()),le(a.d.Xb(a.c=a.b++))));e.f-t>OZ;){for(c=t,f=0;b.Math.abs(t-c)<OZ;)++f,t=ue((un(a.b<a.d.gc()),le(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),QAn(e,e.b-f,c,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,EDt=l(oe(Ne(Ks.b),0),38),km=l(oe(Ne(Ks.b),1),38),vDt=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,LDt=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),SDt=Ks.j,TDt=Ks.k,ADt=Ks.q,_Dt=Ks.w,xDt=Ks.B,kDt=Ks.A,NDt=Ks.C,CDt=Ks.D,IDt=Ks._,RDt=Ks.cb,ODt=Ks.hb}function zxn(e,t,r){var o,a,c,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+=dTn(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(c=l(q(f),17),a=c.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 Gxn(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 qxn(e,t,r){var o,a,c,f;for(r.Tg("Graph transformation ("+e.a+")",1),f=jb(t.a),c=new V(t.b);c.a<c.c.c.length;)a=l(q(c),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_(),iD)?(dC(t,f),FW(t,f)):(FW(t,f),dC(t,f))}else if(e.a==(E_(),iD))switch(l(F(t,xc),87).g){case 2:$3(t,f),FW(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),FW(t,f);break;case 3:$3(t,f),dC(t,f);break;case 4:dC(t,f),$3(t,f)}r.Ug()}function Vxn(e){var t,r,o,a,c,f,p,m;for(c=new V(e.a.b);c.a<c.c.c.length;)a=l(q(c),84),a.b.c=a.g.c,a.b.d=a.g.d;for(m=new Me(Kr,Kr),t=new Me(Di,Di),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=Li(new Me(t.a,t.b),m),e.a.a.c.length=0,e.a.b.c.length=0}function Fvt(e,t,r){var o,a,c,f,p,m;for(Gc(t,(QS(),pk))?m=ue(le(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(c=l(rn(p),74),o=l(oe((!c.c&&(c.c=new Tt(pn,c,5,8)),c.c),0),19),Gc(o,pk)&&a>ue(le(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();)c=l(rn(f),74),o=l(oe((!c.c&&(c.c=new Tt(pn,c,5,8)),c.c),0),19),Fvt(e,o,a)}function Wxn(e){q3();var t,r,o,a,c,f,p;for(p=new SZe,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,Ykt,new Ds(Z(X(nD,1),Rt,378,0,[o]))),f=new o7($y),e6(e,Kkt,new Ds(Z(X(nD,1),Rt,378,0,[f]))),a=new o7(Fy),e6(e,Wkt,new Ds(Z(X(nD,1),Rt,378,0,[a]))),c=new o7(qE),e6(e,Vkt,new Ds(Z(X(nD,1),Rt,378,0,[c]))),dJ(o.c,X0),dJ(a.c,Fy),dJ(c.c,qE),dJ(f.c,$y),p.a.c.length=0,li(p.a,o.c),li(p.a,oc(a.c)),li(p.a,c.c),li(p.a,oc(f.c)),p}function Kxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;for(t.Tg(nTt,1),O=ue(le(ve(e,(yh(),iv)))),f=ue(le(ve(e,(ef(),l4)))),p=l(ve(e,c4),100),gge((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),v=Ivt((!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 Dhe(o.s,o.t,ue(le(ve(e,l4)))),Ege(N,o),Fe(m.d,N);T=cbt(v,f),M=b.Math.max(T.a,ue(le(ve(e,u4)))-(p.b+p.c)),c=b.Math.max(T.b,ue(le(ve(e,qB)))-(p.d+p.a)),r=c-T.b,Vn(e,a4,r),Vn(e,$T,M),Vn(e,dk,c+r),Vn(e,VB,v),t.Ug()}function Yxn(e,t,r){var o,a,c,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(le(F(t,(Be(),vm)))),c=ue(le(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 L));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 L));an(a);)o=l(en(a),17),pi(M,o.c.i);y.a.gc()!=0&&(N=new sW(2,c),O=U0e(N,t,y,v,-m-t.c.b),O>0&&(e.a=m+(O-1)*c,t.c.b+=e.a,t.f.b+=e.a)),M.a.gc()!=0&&(N=new sW(1,c),O=U0e(N,t,M,U,t.f.b+m-t.c.b),O>0&&(t.f.b+=m+(O-1)*c))}function $vt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(v=ue(le(F(e,(Be(),ym)))),o=ue(le(F(e,GAe))),N=new RG,Te(N,ym,v+o),y=t,J=y.d,U=y.c.i,re=y.d.i,z=ide(U.c),se=ide(re.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(le(F(y,_g))),de<0&&(de=0,Te(y,_g,de)),p.o.b=de,M=b.Math.floor(de/2),f=new aa,Ii(f,(He(),Kt)),As(f,p),f.n.b=M,m=new aa,Ii(m,Qt),As(m,p),m.n.b=M,Ji(y,f),c=new p0,qs(c,y),Te(c,ss,null),bo(c,m),Ji(c,J),Jmn(p,y,c),Ot(a.c,c),y=c;return a}function Jxn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),c=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(re=l(ze(r.a,p),9),!Jbe(e,re,o+1,o))for(J=l(ze(e.c.b,re.p),16).Jc();J.Ob();)z=l(J.Pb(),49),a=e.c.e[l(z.a,9).p],(a<c||a>f)&&pi(e.b,l(z.b,17));++p}c=f}}}function BJ(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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)),re=a.d.e,c=_s(re,a,0),Kcn(U,a.d,c),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 Du,Te(U,ss,z)),v=An(f,0);v.b!=v.d.c;)y=l(Sn(v),8),Gn(z,new So(y))}}function Xxn(e,t){var r,o,a,c,f,p,m,y;for(t.Tg("Sort By Input Model "+F(e,(Be(),Ch)),1),c=0,a=new V(e.b);a.a<a.c.c.length;){for(o=l(q(a),26),o.p=c,y=c==0?0:c-1,m=l(ze(e.b,y),26),r=new Age(e,m,l(F(e,Ch),270),l(F(e,hte),353),(l(F(e,FI),330),!0)),ewt(o.a,r),p=new V(o.a);p.a<p.c.c.length;)f=l(q(p),9),me(F(f,Zr))!==me((qi(),_m))&&me(F(f,Zr))!==me(fa)&&(At(),xi(f.j,new vgt(e,m,l(F(e,Ch),270),lbt(f),Ye(Ke(F(e,pte))))),t.ah("Node "+f+" ports: "+f.j));r=new Age(e,m,l(F(e,Ch),270),l(F(e,hte),353),(l(F(e,FI),330),!1)),ewt(o.a,r),t.ah("Layer "+c+": "+o),++c}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)?(Dt(),Bx):e7(t,XZ)?(Dt(),L1):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),l0t(e,t);case 6:return Dpt(e),QEn(e,e.a,t);case 7:try{return r=iEn(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!=Ln(e.k)<<24>>24;case 2:return t!=null&&l(t,183).a!=(Ln(e.k)&Ei);case 6:return t!=null&&f3(l(t,192).a,e.k);case 5:return t!=null&&l(t,15).a!=Ln(e.k);case 7:return t!=null&&l(t,193).a!=Ln(e.k)<<16>>16;case 3:return t!=null&&ue(le(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 dL(e,t,r){var o,a,c,f;return e.ml()&&e.ll()&&(f=QV(e,l(r,57)),me(f)!==me(r))?(e.vj(t),e.Bj(t,fdt(e,t,f)),e.$k()&&(c=(a=l(r,52),e.kl()?e.il()?a.Qh(e.b,Po(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(),Po(l(Nt(Ja(e.b),e.Jj()),20))),null,null):a.Qh(e.b,-1-e.Jj(),null,null)),!l(f,52).Mh()&&(c=(o=l(f,52),e.kl()?e.il()?o.Oh(e.b,Po(l(Nt(Ja(e.b),e.Jj()),20)).n,l(Nt(Ja(e.b),e.Jj()).Fk(),29).ik(),c):o.Oh(e.b,Ur(o.Ah(),Po(l(Nt(Ja(e.b),e.Jj()),20))),null,c):o.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),Ju(e.b)&&e.Hj(e.Gj(9,r,f,t,!1)),f):r}function Bvt(e){var t,r,o,a,c,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(c=new V(o);c.a<c.c.c.length;)for(a=l(q(c),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 Uvt(e,t){var r,o,a,c,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(le(o.b.mf((z8(),m$)))),c=o.b.Kf().a,e.A.Gc((sc(),xm))&&fyt(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,vht(e.C.b+o.d.b,a))),v=o,T=a,N=c;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 Hvt(e,t){var r,o,a,c,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))&&hyt(e,t),p=m.Jc(),v=null,N=0,T=0;p.Ob();)o=l(p.Pb(),116),c=ue(le(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-c)<=nf||N==c||isNaN(N)&&isNaN(c)?0:O/(c-N)))):e.C&&e.C.d>0&&(f=b.Math.max(f,vht(e.C.d+o.d.d,c))),v=o,N=c,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 zvt(e,t,r){var o,a,c,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(c=0;c<m;c++)this.d[p+c]=r.d[c];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?pK(this,this.f/this.a):Hd(t.g,t.d[0]).a!=null&&Hd(r.g,r.d[0]).a!=null?pK(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?pK(this,Hd(t.g,t.d[0]).a):Hd(r.g,r.d[0]).a!=null&&pK(this,Hd(r.g,r.d[0]).a)}function Zxn(e,t,r,o,a,c,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=c==e.c.length-1&&J>=(at(c,e.c.length),l(e.c[c],189)).e,!O&&T>t.b&&!v)?!1:((v||O||T<=t.b)&&(v&&T>t.b?(r.d=T,u6(r,mmt(r,T))):(Cbt(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>c&&(q6((at(c,e.c.length),l(e.c[c],189)),o),(at(c,e.c.length),l(e.c[c],189)).a.c.length==0&&sg(e,c)),M=!0),M)}function Qxn(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 RWe])):wt(t,"force")?bE(J1,Z(X(GE,1),Rt,139,0,[new gWe])):wt(t,"stress")?bE(J1,Z(X(GE,1),Rt,139,0,[new wWe])):wt(t,"mrtree")?bE(J1,Z(X(GE,1),Rt,139,0,[new XWe])):wt(t,"radial")?bE(J1,Z(X(GE,1),Rt,139,0,[new VWe])):wt(t,"sporeOverlap")||wt(t,"sporeCompaction")?bE(J1,Z(X(GE,1),Rt,139,0,[new iKe])):wt(t,"rectpacking")?bE(J1,Z(X(GE,1),Rt,139,0,[new eKe])):wt(t,"vertiflex")&&bE(J1,Z(X(GE,1),Rt,139,0,[new sKe]))}function ekn(e,t){var r,o,a,c,f,p,m,y,v,T;for(e.a=new jst(ppn(E4)),o=new V(t.a);o.a<o.c.c.length;){for(r=l(q(o),847),p=new pY(Z(X(dee,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),jW(p,v);for(f=new V(r.b);f.a<f.c.c.length;)c=l(q(f),598),v=new Rde(e,c.Bf()),Jn(e.b,c,new No(p,v)),H0e(v,l(F(r.c,(Ie(),_p)),24)),c.zf()&&(T=new z1e(e,c.zf(),1),H0e(T,l(F(r.c,_p),24)),a=new pY(Z(X(dee,1),Rt,84,0,[])),jW(a,T),yt(e.c,c.yf(),new No(p,T)))}return e.a}function tkn(e,t,r){var o,a,c,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(c=new V(e.b);c.a<c.c.c.length;)a=l(q(c),17),mg(a,!0),Te(t,(Ie(),CT),(Dt(),!0));e.e=null,e.f=null,e.a=null,e.b=null,r.Ug()}function nkn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z;if(f=r.Jk(),ae(f,104)&&l(f,20).Bb&Co&&(N=l(r.kd(),52),U=w1(e.e,N),U!=N)){if(v=gh(f,U),w3(e,t,qY(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,c=l(e.g,123),m=0;m<t;++m)a=c[m],z.$l(a.Jk())&&++p;T=new HW(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=Po(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 Gvt(e){var t;this.a=e,t=(zt(),Z(X(mee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rD,AI])).length,this.b=Yw(sre,[Pe,tve],[597,149],0,[t,t],2),this.c=Yw(sre,[Pe,tve],[597,149],0,[t,t],2),AW(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),AW(this,gi,od,Qy),KO(this,gi,_a,od),KO(this,gi,mi,od),Z3(this,gi,ta,ym,$1),Ynt(this,_a,od),KO(this,_a,mi,od),KO(this,_a,ta,xte),Ynt(this,mi,GI),Z3(this,mi,ta,sk,ok),AW(this,ta,od,od),AW(this,af,od,Qy),Z3(this,af,Xr,ym,$1),Z3(this,af,ta,ym,$1),Z3(this,af,gi,ym,$1)}function rkn(e,t,r,o,a,c){var f;if(!(t==null||!sY(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||!sY(r,O4,L4)))throw Y(new jt(FAt+r));if(e&&t!=null&&VN(EU,t.toLowerCase())&&!V0n(r))throw Y(new jt(FAt+r));if(!Qgn(o))throw Y(new jt("invalid device: "+o));if(!Kpn(a))throw f=a==null?"invalid segments: null":"invalid segment: "+Upn(a),Y(new jt(f));if(!(c==null||Nf(c,Qa(35))==-1))throw Y(new jt("invalid query: "+c))}function qvt(e,t,r){var o,a,c,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,c=t.b-N.b,r)for(a=me(F(e,(Be(),Zr)))===me((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+=c;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+=c*f):z-f<0&&v>=0&&(m.n.a+=U*z,m.n.b+=c));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 ikn(e,t,r){var o,a,c,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(c=YTn(e,z),U=null,a=An(c,0);a.b!=a.d.c;){for(o=l(Sn(a),16),p=J*go(b.Math.sqrt(o.gc())),f=cAn(o),TJ(Qce(UQt(ele(LV(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(c.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 okn(e,t){var r,o,a,c,f,p,m,y,v,T;for(v=new je,T=new iE,c=null,a=0,o=0;o<t.length;++o)switch(r=t[o],Ipn(c,r)&&(a=v1e(e,T,v,RB,a)),gr(r,(Ie(),tw))&&(c=l(F(r,tw),9)),r.k.g){case 0:for(m=ade(_S(ks(r,(He(),Wt)),new Fue));yK(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));yK(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 Ctt(T,r))}return v1e(e,T,v,RB,a),v}function B0e(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;if(t==null||t.length==0)return null;if(c=l(wa(e.f,t),21),!c){for(a=(O=new Zh(e.d).a.vc().Jc(),new Dw(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(c)return null;c=r}if(!c){for(o=(N=new Zh(e.d).a.vc().Jc(),new Dw(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(c)return null;c=r}}}c&&ns(e.f,t,c)}return c}function skn(e,t){var r,o,a,c,f;for(r=new lS,f=!1,c=0;c<t.length;c++){if(o=(Yt(c,t.length),t.charCodeAt(c)),o==32){for(n7(e,r,0),r.a+=" ",n7(e,r,0);c+1<t.length&&(Yt(c+1,t.length),t.charCodeAt(c+1)==32);)++c;continue}if(f){o==39?c+1<t.length&&(Yt(c+1,t.length),t.charCodeAt(c+1)==39)?(r.a+=String.fromCharCode(o),++c):f=!1:r.a+=String.fromCharCode(o);continue}if(Nf("GyMLdkHmsSEcDahKzZv",Qa(o))>0){n7(e,r,0),r.a+=String.fromCharCode(o),a=L1n(t,c),n7(e,r,a),c+=a-1;continue}o==39?c+1<t.length&&(Yt(c+1,t.length),t.charCodeAt(c+1)==39)?(r.a+="'",++c):f=!0:r.a+=String.fromCharCode(o)}n7(e,r,0),hwn(e)}function akn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(se=bot(e),m=new je,c=e.c.length,y=c-1,v=c+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;)re=(un(t.b!=0),l(Vc(t,t.a.a),117)),se.a.Ac(re)!=null,re.g=v++,x0e(re,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<c&&(T.g=T.g+z)}function ukn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J;for(y=CZ,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 L));an(p);)c=l(en(p),17),z=c.d.i,U=c.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 L));an(f);)c=l(en(f),17),z=c.d.i,U=c.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(le(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 ckn(e,t){var r,o,a,c,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)?Di:Kr;for(Zs(e.c),f=e.a.b,t.c==(If(),kg)&&(f=oc(f)),Bcn(e.e,t,e.b),hO(t.p,null),c=f.Jc();c.Ob();)for(r=l(c.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&&REt(e,T,t);for(Bxn(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>Di||t.o==Em&&v<Kr)&&(t.p[T.p]=ue(t.p[T.p])+v));e.e.wg()}function lkn(e,t,r){var o,a,c,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=Lf(f.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],c=m.d.i==r,a=c&&Ye(Ke(F(m,bm))),a&&(M=m.c,O=l(Ht(e.b,M),9),O||(O=fL(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=fL(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=KW(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 dkn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z;for(c=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?Tft(e,t,p,O,p.b,O.d):!r||T_(z,r)?Kwn(e,t,p,o,O):(N=PJ(e,t,r,O,p.b,Ba,f),N!=f&&Ot(c.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)Tft(e,t,p,v,v.c,p.b);else{if(!r||T_(U,r))continue;N=PJ(e,t,r,v,p.b,Cu,f),N!=f&&Ot(c.c,N),N.c&&(f=N)}for(m=new V(c);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 fkn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),re=An(e.b,0);re.b!=re.d.c;)J=l(Sn(re),41),T=F(J,i4),ae(T,209)&&(c=l(T,19),Bc(c,J.e.a,J.e.b),nL(c,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 Vvt(e){var t,r,o,a,c,f,p;for(t=0,c=new V(e.b.a);c.a<c.c.c.length;)o=l(q(c),197),o.b=0,o.c=0;for(hmt(e,0),aY(e,e.g),P7(e.c),Kce(e.c),r=(vi(),as),uL(qq(RE(uL(qq(RE(uL(RE(e.c,r)),ggt(r)))),r))),RE(e.c,as),eY(e,e.g),Xbt(e,0),_vt(e,0),Q0t(e,1),hmt(e,1),aY(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,uL(qq(RE(uL(qq(RE(uL(Kce(RE(e.c,r))),ggt(r)))),r))),RE(e.c,as),eY(e,e.d),Xbt(e,1),_vt(e,1),Q0t(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 hkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(r=l(F(e,(Be(),Zr)),103),f=e.f,c=e.d,p=f.a+c.b+c.c,m=0-c.d-e.c.b,v=f.b+c.d+c.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:Z2n(o);break;case 4:N=l(F(o,sw),8),O=N?N.a:0,o.n.a=p*ue(le(F(o,(Ie(),nw))))-O,Dj(o,!0,!1);break;case 5:M=l(F(o,sw),8),U=M?M.a:0,o.n.a=ue(le(F(o,(Ie(),nw))))-U,Dj(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:ngt(y,e),ngt(T,e);break;case 3:rgt(y,e),rgt(T,e)}}function pkn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;for(r.Tg("Label dummy switching",1),o=l(F(t,(Be(),fB)),233),Ahn(t),a=BEn(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(c=p[v],(c==YE||c==KE||c==zy)&&!l(fu(a.a,c)?a.b[c.g]:null,16).dc()){Lhn(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)c=m[T],c==YE||c==KE||c==zy||Iyt(e,l(fu(a.a,c)?a.b[c.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)c=f[y],(c==YE||c==KE||c==zy)&&Iyt(e,l(fu(a.a,c)?a.b[c.g]:null,16));e.a=null,r.Ug()}function Wvt(e,t){var r,o,a,c,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],c=e.b[o+1],p=y.b[f],m=y.b[f+1],c<p)o+=2;else if(c>=p&&a<=m)p<=a&&c<=m?(r[v++]=a,r[v++]=c,o+=2):p<=a?(r[v++]=a,r[v++]=m,e.b[o]=m+1,f+=2):c<=m?(r[v++]=p,r[v++]=c,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 gkn(e){var t,r,o,a,c,f,p;for(t=new je,e.g=new je,e.d=new je,f=new dy(new Lw(e.f.b).a);f.b;)c=gE(f),Fe(t,l(l(c.kd(),49).b,84)),ep(l(c.jd(),598).yf())?Fe(e.d,l(c.kd(),49)):Fe(e.g,l(c.kd(),49));for(aY(e,e.d),aY(e,e.g),e.c=new h0t(e.b),zQt(e.c,(ble(),Ukt)),eY(e,e.d),eY(e,e.g),li(t,e.c.a.b),e.e=new Me(Kr,Kr),e.a=new Me(Di,Di),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=Vvt(e),++p;while((p<2||a>wg)&&p<10);tle(e.c,new o9),Vvt(e),Osn(e.c),Vxn(e.f)}function bkn(e,t){var r,o,a,c,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 Du,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(c=l(F(l(ze(e.j,0),12),(Ie(),mr)),12),a=c.i,c.j.g){case 1:return a.n.b;case 3:return a.n.b+a.o.b}}return vbe(e).b}function mkn(e){var t,r,o,a,c,f,p,m,y,v,T;for(f=new V(e.d.b);f.a<f.c.c.length;)for(c=l(q(f),26),m=new V(c.a);m.a<m.c.c.length;){if(p=l(q(m),9),Ye(Ke(F(p,(Be(),PI))))&&!iy(Df(p))){o=l(qan(Df(p)),17),v=o.c.i,v==p&&(v=o.d.i),T=new No(v,Li(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=jrt(Get(Het(zet(new Lce,p),a),mNt),e.a),Prt(ben(Hft(new Oce,Z(X(g$,1),Rt,60,0,[t])),t),e.a),y=new JG,Jn(e.e,t,y),r=yd(new $t(qt(si(p).a.Jc(),new L)))-yd(new $t(qt(Or(p).a.Jc(),new L))),r<0?I6(y,!0,(vi(),as)):r>0&&I6(y,!0,(vi(),fs)),p.k==(zt(),mi)&&Yst(y),Jn(e.f,p,t)}}function Kvt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;for(y=Kr,v=Kr,p=Di,m=Di,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(),BOt)),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(bat(e.c));o.e!=o.i.gc();)r=l(rn(o),74),f=kC(r),M=XY(r),z=emt(r),U=new Me(M.i+M.g/2,M.j+M.f/2),c=new Me(z.i+z.g/2,z.j+z.f/2),J=Li(new Me(c.a,c.b),U),G_(J,M.g,M.f),br(U,J),re=Li(new Me(U.a,U.b),c),G_(re,z.g,z.f),br(c,re),NO(f,U.a,U.b),kO(f,c.a,c.b)}function Yvt(e,t){var r,o,a,c,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(le(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(le(ze(e.c,y)))+v-o*e.f)),(e.r==(_1(),SD)&&(l(ze(e.b,y),15).a>e.k||l(ze(e.b,y-1),15).a>e.k)||e.r==TD&&(ue(le(ze(e.c,y)))>e.n||ue(le(ze(e.c,y-1)))>e.n))&&(m=!1),f=new $t(qt(si(t).a.Jc(),new L));an(f);)c=l(en(f),17),p=c.c.i,e.g[p.p]==y&&(T=Yvt(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 No(Re(a),(Dt(),!!m))}function wkn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),re=z!=J,se=!!z&&z!=N||!!J&&J!=O,de=IY(N,(He(),Wt)),Ee=IY(O,dn),se=se|(IY(N,dn)||IY(O,Wt)),ye=se&&re||de||Ee,U&&ye)||N.k==(zt(),_a)&&O.k==Xr||O.k==(zt(),_a)&&N.k==Xr?!1:(v=e.c[t],c=e.c[r],a=Ebt(e.e,v,c,(He(),Kt)),m=Ebt(e.i,v,c,Qt),z2n(e.f,v,c),y=Opt(e.b,v,c)+l(a.a,15).a+l(m.a,15).a+e.f.d,p=Opt(e.b,c,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(c,mr),12),o=obt(e.g,T,f),y+=l(o.a,15).a,p+=l(o.b,15).a),y>p)}function Jvt(e,t){var r,o,a,c,f;r=ue(le(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,CIt),15),a.a==0?Te(t,(Ie(),LT),new iY):Te(t,(Ie(),LT),new WP(a.a)),c=Ke(F(t,HI)),c==null&&Te(t,HI,(Dt(),me(F(t,kp))===me((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 Gvt(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,Uhn(l(F(t,kp),225))),sde(e.a,p3n(t)),Te(t,ste,FC(e.a,t))}function U0e(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J;for(T=new hn,f=new je,jmt(e,r,e.d.zg(),f,T),jmt(e,o,e.d.Ag(),f,T),e.b=.2*(U=G0t(bs(new Et(null,new St(f,16)),new pHe)),z=G0t(bs(new Et(null,new St(f,16)),new gHe)),b.Math.min(U,z)),c=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++)c+=D0e(e,m,(at(M,f.c.length),l(f.c[M],117)));for(N=l(F(t,(Ie(),LT)),237),c>=2&&(J=hwt(f,!0,N),!e.e&&(e.e=new GJe(e)),R1n(e.e,J,f,e.b)),Bbt(f,N),_kn(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 ykn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(T=l(M8((f=An(new Qh(t).a.d,0),new qv(f))),41),M=T?l(F(T,(Nr(),ine)),41):null,a=1;T&&M;){for(m=0,de=0,r=T,o=M,p=0;p<a;p++)r=JW(r),o=JW(o),de+=ue(le(F(r,(Nr(),lk)))),m+=ue(le(F(o,lk)));if(se=ue(le(F(M,(Nr(),Ng)))),re=ue(le(F(T,Ng))),N=m1e(e,T,M),O=se+m+e.b+N-re-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(le(F(y,Ng)))+O,Te(y,Ng,z),U=ue(le(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((c=An(new Qh(T).a.d,0),new qv(c))),41),M=T?l(F(T,ine),41):null}}function vkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;for(t.Tg("Label dummy removal",1),o=ue(le(F(e,(Be(),o2)))),a=ue(le(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(le(F(N,_g))),f=me(F(v,OT))===me((vc(),q1)),r=new So(v.n),f&&(r.b+=M+o),c=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?TEn(O,r,a,c,f,y):tgn(O,r,a,c),li(N.b,O),BJ(v,me(F(e,kp))===me((gp(),GD))),Mu(T));t.Ug()}function Ekn(e){e.q||(e.q=!0,e.p=Ps(e,0),e.a=Ps(e,1),Dr(e.a,0),e.f=Ps(e,2),Dr(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),Dr(e.g,7),Jr(e.g,8),e.c=Ps(e,5),Dr(e.c,7),Dr(e.c,8),e.i=Ps(e,6),Dr(e.i,9),Dr(e.i,10),Dr(e.i,11),Dr(e.i,12),Jr(e.i,13),e.j=Ps(e,7),Dr(e.j,9),e.d=Ps(e,8),Dr(e.d,3),Dr(e.d,4),Dr(e.d,5),Dr(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),Dr(e.e,5),Dr(e.e,6),Dr(e.e,7),Dr(e.e,8),Dr(e.e,9),Dr(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 Skn(e,t,r){var o,a,c,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(),PD)),15).a>l(ve(y,PD),15).a?(Ot(t.c,y),Ot(r.c,f)):(Ot(t.c,f),Ot(r.c,y))),a=new je,v=new GGe,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||(c=ovt(a,v),li(t,new Rf(a,0,c+1)),li(r,new Rf(a,c+1,a.c.length)),a=new je),Ot(a.c,m),o=m,p==e.c.length-1&&(c=ovt(a,v),li(t,new Rf(a,0,c+1)),li(r,new Rf(a,c+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 Xvt(e,t,r){var o,a,c,f,p,m,y,v,T;if(e.a!=t.hk())throw Y(new jt(Lx+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,c=p.Jc();c.Ob();)a=c.Pb(),Vo(T,f.hk().ti().oi(f,a)),T.a+=" ";return aV(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$?art(R4[0],l(r,208)):ms(r)}function Zvt(e,t,r){var o,a,c,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 $gt(this.e),f=l(F(this.j,LT),237),this.q=Mhn(t,f,this.e),this.k=new sut(this),c=Wl(Z(X(yNt,1),Rt,223,0,[this,this.d,this.k,this.q])),t==(Kb(),_D)&&!Ye(Ke(F(e,(Be(),tk))))?(o=new Obe(this.e),Ot(c.c,o),this.c=new Zhe(o,f,l(this.q,411))):t==_D&&Ye(Ke(F(e,(Be(),tk))))?(o=new Obe(this.e),Ot(c.c,o),this.c=new lht(o,f,l(this.q,411))):t==CB?this.c=new Rat(f):this.c=new Stt(t,this),Fe(c,this.c),kvt(c,this.e),this.s=KNn(this.k)}function Tkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J;for(t.Tg("Interactive crossing minimization",1),f=0,c=new V(e.b);c.a<c.c.c.length;)o=l(q(c),26),o.p=f++;for(N=Cbe(e),z=new rle(N.length),kvt(new Ds(Z(X(yNt,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]=bkn(m,r),m.k==(zt(),gi)&&Te(m,(Ie(),ETe),J[m.p]);At(),xi(o.a,new SJe(J)),Dyt(z,N,f,!0),++f}t.Ug()}function Akn(e){var t,r,o,a,c,f,p,m,y,v;for(y=new Ar,p=new Ar,c=new V(e);c.a<c.c.c.length;)o=l(q(c),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($Y(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($Y(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 _kn(e){var t,r,o,a,c,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),HG(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),HG(v,v.d-1),v.d==0&&Ot(y.c,v);if(o>-1){for(c=new V(p);c.a<c.c.c.length;)a=l(q(c),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 Qvt(e,t,r,o,a){var c,f,p,m;return m=Kr,f=!1,p=O0e(e,Li(new Me(t.a,t.b),e),br(new Me(r.a,r.b),a),Li(new Me(o.a,o.b),r)),c=!!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,Li(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)||c?m=b.Math.min(m,O3(Li(p,r))):f=!0),p=O0e(e,Li(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)||c)&&(m=b.Math.min(m,O3(Li(p,o)))),m}function eEt(e){n0(e,new Qb(iO(Qm(Jm(Zm(Xm(new vb,N1),J2t),"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))),Le(e,N1,wx,Ge($2e)),Le(e,N1,IL,(Dt(),!0)),Le(e,N1,ME,Ge(Okt)),Le(e,N1,mT,Ge(Lkt)),Le(e,N1,bT,Ge(Dkt)),Le(e,N1,Ex,Ge(Rkt)),Le(e,N1,yx,Ge(U2e)),Le(e,N1,Sx,Ge(Mkt)),Le(e,N1,kwe,Ge(F2e)),Le(e,N1,Cwe,Ge(P2e)),Le(e,N1,Iwe,Ge(j2e)),Le(e,N1,Rwe,Ge(B2e)),Le(e,N1,Nwe,Ge(S$))}function xkn(e){var t,r,o,a,c,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(c=(!r.b&&(r.b=new je),new V(r.b));c.a<c.c.c.length;)if(a=l(q(c),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 No(a,r)}else if(ue(Hd(a.g,a.d[0]).a)>ue(Hd(r.g,r.d[0]).a))return new No(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,c,f,p,m,y,v;if(t.e==5){Wvt(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],c=e.b[o+1],p=y.b[f],m=y.b[f+1],c<p)r[v++]=e.b[o++],r[v++]=e.b[o++];else if(c>=p&&a<=m)p<=a&&c<=m?o+=2:p<=a?(e.b[o]=m+1,f+=2):c<=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 kkn(e){var t,r,o,a,c,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),c=new V(r.a);c.a<c.c.c.length;)if(a=l(q(c),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=MJ(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==Pte||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 FJe(J))}}function Nkn(e){var t,r,o,a,c,f,p;if(!e.A.dc()){if(e.A.Gc((sc(),XD))&&(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(JD))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,p=e.B.Gc((Uu(),C4)),a=mY(),c=0,f=a.length;c<f;++c)o=a[c],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(),QD))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function Ckn(e,t,r){var o,a,c,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),c=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));c!=o&&v.b>0;)e.a[c.p]=!0,e.a[o.p]=!0,c=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));v.b>0&&Mu(v)}}function tEt(e,t,r){var o,a,c,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,c=new Xi(t,v.b);c.b<c.d.gc();)if(N=Mtn(e,(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.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)*_L*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 Ikn(e){var t,r,o,a,c,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),c=o.b.a+o.d.b+T-p.b.a,c=b.Math.ceil(c),c=b.Math.max(0,c),$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(c)),N),e.c[o.a.d]),e.c[p.a.d]))))}function nEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O;if(!e.b)return!1;for(f=null,N=null,m=new eK(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):(c=p.a[1]==N?1:0,Pw(O.a[y])?p.a[c]=tct(N,y):Pw(O.a[1-y])&&(p.a[c]=Aj(N,y)),T.b=p.a[c].b=!0,p.a[c].a[0].b=!1,p.a[c].a[1].b=!1))));return f&&(r.b=!0,r.d=f.e,T!=f&&(v=new eK(T.d,T.e),Pwn(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 Rkn(e,t,r){var o,a,c,f,p,m,y,v,T;for(!r&&(r=apn(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,c=0;c<y;)if(o=co(e.a,c),o>=97&&o<=122||o>=65&&o<=90){for(f=c+1;f<y&&co(e.a,f)==o;++f);C3n(v,o,f-c,p,m,r),c=f}else if(o==39){if(++c,c<y&&co(e.a,c)==39){v.a+="'",++c;continue}for(T=!1;!T;){for(f=c;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,c,f)),c=f+1}}else v.a+=String.fromCharCode(o),++c;return v.a}function Okn(){er(bv,new Oqe),er(Kn,new zqe),er(Ol,new eVe),er(Dd,new sVe),er(jre,new aVe),er(SU,new uVe),er(Op,new cVe),er(I4,new lVe),er(r5,new Sqe),er(Rre,new Tqe),er(Y1,new Aqe),er(Ll,new _qe),er(Ld,new xqe),er(lw,new kqe),er(mv,new Nqe),er(au,new Cqe),er(gv,new Iqe),er(zs,new Rqe),er(Go,new Lqe),er(Ka,new Dqe),er(Yr,new Mqe),er(X(Eu,1),new Pqe),er(ET,new jqe),er(mI,new Fqe),er(l$,new $qe),er(rCe,new Bqe),er(fi,new Uqe),er(w3e,new Hqe),er(E3e,new Gqe),er(G3e,new qqe),er(TU,new Vqe),er(Ux,new Wqe),er(Ti,new Kqe),er(HEe,new Yqe),er(Y0,new Jqe),er(zEe,new Xqe),er(B3e,new Zqe),er(iCe,new Qqe),er(J0,new tVe),er(Je,new nVe),er(v3e,new rVe),er(oCe,new iVe)}function rEt(e,t){var r,o,a,c,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,c=0,f=a.length;c<f;++c)o=a[c],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,rEt(p,y))):ae(o,172)?up(r,pvn(l(o,172))):ae(o,198)?up(r,ewn(l(o,198))):ae(o,203)?up(r,ayn(l(o,203))):ae(o,2090)?up(r,twn(l(o,2090))):ae(o,54)?up(r,hvn(l(o,54))):ae(o,591)?up(r,xvn(l(o,591))):ae(o,838)?up(r,fvn(l(o,838))):ae(o,109)&&up(r,dvn(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,c;c=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=XAt),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=XAt,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,c,t))}function Lkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;if(e.c=e.e,M=Ke(F(t,(Be(),IIt))),O=M==null||(Mt(M),M),c=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||!c)){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=Byt(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)}c&&(me(F(t,jI))===me((YS(),gee))?e.c=e.b:me(F(t,jI))===me(bee)?e.c=e.d:e.c=e.a)}else N=new Ds(Z(X(Qkt,1),Z2t,37,0,[t]));return me(F(t,jI))!==me((YS(),TI))&&(At(),N.gd(new hG)),N}function iEt(e,t){var r,o,a,c,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=qgn(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))),o3n(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(WW(e,xft(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)?(c=N,Y(new oj(c))):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(WW(e,xft(e,(Yt(1,t.length+1),t.substr(1))),!1),57)}return null}function Dkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(t.Tg("Label dummy insertions",1),T=new je,f=ue(le(F(e,(Be(),o2)))),y=ue(le(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),c=new $t(qt(Or(N).a.Jc(),new L));an(c);)if(a=l(en(c),17),a.c.i!=a.d.i&&gV(a.b,uNt)){for(U=kfn(a),M=ch(a.b.c.length),r=s2n(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)),me(F(m,Yf))===me((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,c,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 iq)),p.b),c=(o=new dy(new Lw(f.a).a),new C9(o));c.a.b;)a=l(gE(c.a).jd(),88),r=ox(a,O7(a,p),r)}return r}function Mkn(e,t){var r,o,a,c,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(c=l(rn(T),127),p=0,a=hh(Wc(Z(X(nl,1),Rt,22,0,[(!c.d&&(c.d=new Tt(Ir,c,8,5)),c.d),(!c.e&&(c.e=new Tt(Ir,c,7,4)),c.e)])));an(a)&&(o=l(en(a),74),v=f&&R0(o)&&Ye(Ke(ve(o,bm))),r=Pvt((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),c)?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))&&(!c.n&&(c.n=new ke(Rs,c,1,7)),c.n).i>0)&&(m=!0),p>1&&(y=!0)}m&&t.Ec((Fo(),rl)),y&&t.Ec((Fo(),CI))}function oEt(e){var t,r,o,a,c,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(),XD))){for(v=l(ve(e,bk),103),o=2,r=2,a=2,c=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:c=b.Math.max(c,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:c+=m.f+2}p=b.Math.max(o,a),f=b.Math.max(r,c)}return M0(e,p,f,!0,!0)}function Pkn(e,t){var r,o,a,c,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),MJ(r)?c=(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),Fyt(e,oc(ks(r,(He(),Kt))),y),Fyt(e,ks(r,Qt),y),y):c=(U=o0(lO(new Tb,r),e.f),ei(lr(new Et(null,new St(r.j,16)),new MUe),new ktt(e,U)),new _he(r,!1,U,U)),e.i[r.p]=c,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),c.a))),a=c}function UJ(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(re=l(Au(dj(lr(new Et(null,new St(t.d,16)),new lJe(r)),new dJe(r)),ju(new Qo,new ls,new Ci,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<re.gc();f++)Ope(l(re.Xb(f),108),r,f);else for(se=we(Rn,Qn,30,a.length,15,1),osn(se,se.length),J=re.Jc();J.Ob();){for(z=l(J.Pb(),108),c=l(Ht(e.b,z),172),y=0,U=T;U<=v;U++)c[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++)c[M]&&(o[M]=y+1);z.i&&(se[z.i.c]=y)}}function sEt(e,t){var r,o,a,c,f,p,m,y;for(Te(t,(Ie(),LI),Re(e.b)),Te(t,DT,Re(e.b)),++e.b,Unt(e.d,t),Te(t,sB,(Dt(),!0)),o=new $t(qt(Df(t).a.Jc(),new L));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,LI),15).a==-1?(sEt(e,y),Te(t,DT,Re(b.Math.min(l(F(t,DT),15).a,l(F(y,DT),15).a)))):Ye(Ke(F(y,sB)))&&Te(t,DT,Re(b.Math.min(l(F(t,DT),15).a,l(F(y,LI),15).a)))));if(me(F(t,DT))===me(F(t,LI))){m=new hi,c=null;do c=l(Kge(e.d),9),Te(c,sB,!1),m.a.yc(c,m);while(t!=c);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 jkn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O;for(c=new m0t(t),T=aTn(e,t,c),O=b.Math.max(ue(le(F(t,(Be(),_g)))),1),v=new V(T.a);v.a<v.c.c.length;)y=l(q(v),49),m=s1t(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=c.d,p=s1t(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=Di,f=c.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),c}function Fkn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O;if(c=l(F(e,(Ie(),mr)),74),!!c){for(o=e.a,a=new So(r),br(a,E0n(e)),T_(e.d.i,e.c.i)?(N=e.c,T=xs(Z(X($i,1),Pe,8,0,[N.n,N.a])),Li(T,r)):T=qd(e.c),Wr(o,T,o.a,o.a.a),O=qd(e.d),F(e,ute)!=null&&br(O,l(F(e,ute),8)),Wr(o,O,o.c.b,o.c),ly(o,a),f=kC(c),Ej(f,l(oe((!c.b&&(c.b=new Tt(pn,c,4,7)),c.b),0),83)),Sj(f,l(oe((!c.c&&(c.c=new Tt(pn,c,5,8)),c.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(),Eee),Ke(F(y,Eee)));m=l(F(e,(Be(),ss)),79),m?(ly(m,a),Vn(c,ss,m)):Vn(c,ss,null),t==(gp(),WT)?Vn(c,kp,WT):Vn(c,kp,null)}}function $kn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;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,re=null,a=l(q(z),9),c=null;a;){if(c=l(ze(t,a.p),264),c.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==c.d&&m.c<c.c));)m=null;m&&(re&&(nc(o,a.p,Re(l(ze(o,a.p),15).a-1)),l(ze(r,re.p),16).Kc(c)),c=own(c,a,O++),Ot(t.c,c),Fe(r,new je),re?(l(ze(r,re.p),16).Ec(c),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))),c.d=N,c.c=y++,re=a,a=M}++N}}function Bkn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;p=l(Ht(t.c,e),460),re=t.a.c,m=t.a.c+t.a.b,ft=p.f,It=p.a,f=ft<It,U=new Me(re,ft),se=new Me(m,It),a=(re+m)/2,z=new Me(a,ft),de=new Me(a,It),c=L2n(e,ft,It),ye=qd(t.B),qe=new Me(a,c),lt=qd(t.D),r=fpn(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=opt(T),O=!(vwt(o,ye,r[0])||pst(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=opt(T),M=!(vwt(o,r[0],lt)||pst(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 aEt(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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=Qpn(r),c=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,re=y.i+y.g/2,se=y.j+y.f/2,de=re-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 "+c),++c}e.a&&e.a.Fg(new Tu(T)),aEt(e,t,new Tu(T),o)}}function Ukn(e,t){var r,o,a,c,f,p,m,y,v,T,N;if(!e.f[t.p]){for(e.f[t.p]=!0,m=new hn,a=me(F(e.c,(Be(),PT)))===me((g1(),Gy)),o=new $t(qt(Or(t).a.Jc(),new L));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 Ds(Z(X(zx,1),Tx,17,0,[r]))))):Jn(m,Re(sr-(m.f.c+m.i.c)),new Kw(new Ds(Z(X(zx,1),Tx,17,0,[r]))));for(y=new Ide(new Xh(m)),f=y.a.ec().Jc();f.Ob();)c=l(f.Pb(),15).a,v=l(l(Ht(m,Re(c)),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(c)),18)):Gn(e.a,T))}}function Hkn(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(c){if(c=ci(c),!ae(c,63))throw Y(c)}}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 zkn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye;for(T=new fhe(new dce(e));T.c!=T.d.a.d;)for(v=Gdt(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=(c=(f.i==null&&Ff(f),f.i),U>=0&&U<c.length?c[U]:null),y.pk()&&!y.qk()){if(ae(y,104))m=l(y,20),!(m.Bb&Ws)&&(ye=Po(m),!(ye&&ye.Bb&Ws))&&S_n(e,m,p,t);else if(Mo(),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(re=l(N,20),!e.b||re.Bb&Ws||Po(re))continue;a=se}if(!r.Ml(N,a)){for(J=0;J<o;++J)if(r.Rl(J)==N&&me(r.Sl(J))===me(a)){r.Ri(r.gc()-1,J),--o;break}}}else r.Ml(O.Rl(z),O.Sl(z))}}function Gkn(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=Di,e.d=ue(le(F(t,(Be(),od)))),bbn(e),dEn(e),lEn(e),b0n(e),E1n(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=Lbn(e),o=new ra(e.c),Fe(e.c.b,o),e.r=jb(e.p),e.n=LP(e.k,e.k.length);e.r.c.length!=0;)e.o=zpn(e),!e.o||dpt(e)&&e.b.a.gc()!=0?(G0n(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):dpt(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=LP(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 HJ(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;return m=e,v=Li(new Me(t.a,t.b),e),y=r,T=Li(new Me(o.a,o.b),r),N=m.a,z=m.b,M=y.a,re=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-re)*O),p=1/a*-(-(N-M)*se+(z-re)*U),c=(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)),c)}function qkn(e){var t,r,o,a,c,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 zUe),new $Je(e)),e.a=we(uu,Ad,30,e.b,16,1),D6(new Et(null,new St(e.e.b,16)),new UJe(e)),o=(T=new je,ei(lr(bs(new Et(null,new St(e.e.b,16)),new qUe),new BJe(e)),new Ntt(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){Ivn(p),MJ((at(0,p.c.length),l(p.c[0],17)).d.i)||Fe(e.o,p);continue}if(!(Z0n(p)||$yn(p,new GUe)))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,c=r.a.g,r.a.g=b.Math.max(c,c+(v-c)),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(eee),CX+eee.k+IX)));if(!Len(e.a,t))throw Y(new Es(N2t+t+C2t));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),wJ(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),wJ(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),wJ(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),wJ(e)}}return e}function RE(e,t){var r;if(e.d)throw Y(new es((np(pee),CX+pee.k+IX)));if(!Den(e.a,t))throw Y(new Es(N2t+t+C2t));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),yJ(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),yJ(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),yJ(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),yJ(e)}}return e}function Vkn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(T=e.b,v=new Xi(T,0),Vw(v,new ra(e)),re=!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(re){for(O=oc(z).Jc();O.Ob();)for(N=l(O.Pb(),9),c=new V(jb(si(N)));c.a<c.c.c.length;)a=l(q(c),17),mg(a,!0),Te(e,(Ie(),CT),(Dt(),!0)),o=$vt(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;re=!1}else z.c.length!=0&&(t=(at(0,z.c.length),l(z.c[0],9)),t.k==(zt(),af)&&(re=!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,c,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(c=l(rn(f),158),y=c.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+=jX,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 Wkn(e,t,r){var o,a,c,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 L));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 Ait,qs(y,o),Te(y,(h1(),_T),o),bZt(y,l(Ss(ts(r.f,p)),156)),mZt(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();)c=l(rn(f),158),v=new Mct(y,c.a),qs(v,c),Te(v,_T,c),v.e.a=b.Math.max(c.g,1),v.e.b=b.Math.max(c.f,1),R0e(v),Fe(t.d,v)}}function Kkn(e,t,r){var o,a,c,f,p,m,y,v,T,N;switch(r.Tg("Node promotion heuristic",1),e.i=t,e.r=l(F(t,(Be(),wD)),246),e.r!=(_1(),ak)&&e.r!=KI?vNn(e):zSn(e),v=l(F(e.i,CAe),15).a,c=new d$e,e.r.g){case 2:case 1:rx(e,c);break;case 3:for(e.r=NB,rx(e,c),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=SD,rx(e,c));break;case 4:for(e.r=NB,rx(e,c),y=0,a=new V(e.c);a.a<a.c.c.length;)o=le(q(a)),y=b.Math.max(y,(Mt(o),o));y>e.n&&(e.r=TD,rx(e,c));break;case 6:N=go(b.Math.ceil(e.g.length*v/100)),rx(e,new FYe(N));break;case 5:T=go(b.Math.ceil(e.e*v/100)),rx(e,new $Ye(T));break;case 8:HEt(e,!0);break;case 9:HEt(e,!1);break;default:rx(e,c)}e.r!=ak&&e.r!=KI?cSn(e,t):NTn(e,t),r.Ug()}function Ykn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(T=new V0e(e),Aun(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=mV(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]),c=0,p=o.length;c<p;++c)r=o[c],y=mV(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=mV(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,re=M.length;z<re;++z)O=M[z],y=mV(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 uEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M;for(N=r.d,T=r.c,c=new Me(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a),f=c.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(le(F(p,nw))),v.b=c.b*O-l(F(p,(Be(),sw)),8).b,M=v.b+a.b,Dj(p,!1,!0)):t==fa&&(v.b=ue(le(F(p,nw)))-l(F(p,(Be(),sw)),8).b,M=v.b+a.b,Dj(p,!1,!0))}f=b.Math.max(f,M)}for(r.f.b+=f-c.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 cEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U;if(y=p_n(l(ve(t,(wh(),ov)),107),l(ve(r,Sm),107)),va(r,t.i+y),ue(le(ve(e,Xf)))<ue(le(ve(r,Xf)))){for(N=l(ve(e,Sm),107),v=N.c+e.i;N.b;)N=N.b,v+=N.c;for(c=new Qu(l(ve(r,Sm),107).c,-100,l(ve(r,Sm),107).b),U=c.c+r.i;c.b.a<=N.a;)c=c.b,U+=c.c;p=c.b.c,m=c.b.a-c.a,f=(N.a-c.a)*p/m,M=-v+U+f,O=new Qu(c.b.c-f,c.b.a,c.b.b),XR(N,new Qu(M,N.a,O)),Vn(e,Xf,le(ve(r,Xf)))}if(ue(le(ve(r,Xf)))<ue(le(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,le(ve(t,Xf)))}}function Jkn(e,t){var r,o,a,c,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)){CEt(e,t);return}for(U=e.u.Gc((xu(),KT)),r=t==(He(),Wt)?(A0(),eD):(A0(),QL),J=t==Wt?(Za(),rd):(Za(),Nd),o=nle(bfe(r),e.s),z=t==Wt?Kr:Di,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=(c=T.n,T.e.a+c.b+c.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 WV(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 lEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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=lEt(e,O,M),li(a,o),lkn(e,O,M),l(F(O,(Ie(),xa)),24).Gc((Fo(),rl))))for(re=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),c=l(Ht(e.b,z),9),c||(c=fL(z,re,z.j,-(z.e.c.length-z.g.c.length),null,new ro,z.o,l(F(O,xc),87),O),Te(c,mr,z),Jn(e.b,z,c),Fe(O.a,c)),f=l(ze(c.j,0),12),v=new V(z.f);v.a<v.c.c.length;)y=l(q(v),70),p=new CQe,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)),re==(qi(),pf)||(He(),Wa).Gc(se)?p.o.a=T:p.o.b=T);return m=new je,dkn(e,t,r,a,m),r&&kxn(e,t,r,m),m}function z0e(e,t,r){var o,a,c,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 LA(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(c=l(F(t,(Ie(),pTe)),16),c)for(a=c.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)*_L*.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 Xkn(e){var t,r,o,a,c,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),yyt(O),fTn(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),Ii(U,j1t(U.j)),c=l(F(U,(Be(),xg)),15),c&&Te(U,xg,Re(-c.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),j1t(l(F(O,Hs),64))),vSn(O)),v=new V(O.b);v.a<v.c.c.length;)y=l(q(v),70),yyt(y),ng(y.o),ng(y.n)}}function Zkn(e){qw();var t,r,o,a,c,f,p;for(o=e.f.n,f=uhe(e.r).a.nc();f.Ob();){if(c=l(f.Pb(),116),a=0,c.b.nf((_n(),zu))&&(a=ue(le(c.b.mf(zu))),a<0))switch(c.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=Thn(c.b,a),p=!l(e.e.mf(G1),185).Gc((Uu(),ZD)),r=!1,c.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 dEt(e,t){var r,o,a,c,f,p,m,y,v;return y="",t.length==0?e.le(awe,eX,-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=eX),p=j8(y,Qa(58)),a=lfe(y,Qa(58),p-1),m=-1,o=-1,c=awe,p!=-1&&a!=-1&&(c=(io(0,a,y.length),y.substr(0,a)),m=Grt((io(a+1,p,y.length),y.substr(a+1,p-(a+1)))),o=Grt((Yt(p+1,y.length+1),y.substr(p+1)))),e.le(c,v,m,o))}function Qkn(e){var t,r,o,a,c,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),c=null,f.g){case 1:case 2:c=(Vb(),JE);break;case 3:case 4:c=(Vb(),Jx)}if(c)Te(m,(Ie(),rB),(Vb(),JE)),c==Jx?j7(m,f,(jo(),Cu)):c==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(),DI)||p==xp){t=!1;break}}t&&j7(m,f,(jo(),YI))}}}function eNn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,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,LB),15).a:Qi,y=b.Math.max(m,J),se=new V(v.j);se.a<se.c.c.length;){if(re=l(q(se),12),de=v.n.b+re.n.b+re.a.b,o)for(f=new V(re.g);f.a<f.c.c.length;)c=l(q(f),17),U=c.d,M=U.i,t!=e.a[M.p]&&(z=b.Math.max(l(F(M,OB),15).a,l(F(M,LB),15).a),Ee=l(F(c,(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(re.e);f.a<f.c.c.length;)c=l(q(f),17),U=c.c,M=U.i,t!=e.a[M.p]&&(z=b.Math.max(l(F(M,OB),15).a,l(F(M,LB),15).a),Ee=l(F(c,(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,c,f,p,m;return p=new V0e(t),V2n(p,o),a=!0,e&&e.nf((_n(),Tm))&&(c=l(e.mf((_n(),Tm)),87),a=c==(vi(),hf)||c==as||c==fs),oyt(p,!1),Da(p.e.Pf(),new gfe(p,!1,a)),_W(p,p.f,(Sd(),Bs),(He(),Wt)),_W(p,p.f,Us,dn),_W(p,p.g,Bs,Kt),_W(p,p.g,Us,Qt),E1t(p,Wt),E1t(p,dn),aat(p,Qt),aat(p,Kt),qw(),f=p.A.Gc((sc(),hv))&&p.B.Gc((Uu(),QD))?Lgt(p):null,f&&GQt(p.a,f),Zkn(p),lmn(p),dmn(p),Nkn(p),FAn(p),jmn(p),gY(p,Wt),gY(p,dn),xTn(p),bxn(p),r&&(Jgn(p),Fmn(p),gY(p,Qt),gY(p,Kt),m=p.B.Gc((Uu(),C4)),Gmt(p,m,Wt),Gmt(p,m,dn),qmt(p,m,Qt),qmt(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),J0n(p),p.e.Nf(p.o),ei(new Et(null,uhe(p.r).a.oc()),new ON)),p.o}function tNn(e){var t,r,o,a,c,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;)c=l(q(f),197),c.i=y,c.e==0&&Wr(O,c,O.c.b,O.c);for(;O.b!=0;){for(c=l(O.b==0?null:(un(O.b!=0),Vc(O,O.a.a)),197),a=c.f.g.c,N=c.a.a.ec().Jc();N.Ob();)v=l(N.Pb(),84),U=c.i+v.e.a,v.d.g||v.g.c<U?v.o=U:v.o=v.g.c;for(a-=c.f.o,c.b+=a,e.c==(vi(),fs)||e.c==ff?c.c+=a:c.c-=a,T=c.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 fEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye;for(r.Tg(zSt,1),N=(Nr(),tne),e.a==(tC(),$B)&&(N=z_e),v=0,At(),t.gd(new KG(N)),c=t.gc(),p=t.dd(t.gc()),y=!0;y&&p.Sb();)re=l(p.Ub(),41),l(F(re,N),15).a==0?--c:y=!1;if(ye=t.hd(0,c),f=new IV(ye),ye=t.hd(c,t.gc()),m=new IV(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=LK(de),fEt(e,o,r.dh(1/T|0)),zb(o,vhe(new KG(o4))),O=new Ar,se=An(o,0);se.b!=se.d.c;)for(re=l(Sn(se),41),J=An(de.d,0);J.b!=J.d.c;)z=l(Sn(J),65),z.c==re&&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();)re=l(p.Ub(),41),l(F(re,N),15).a==0?(Te(re,o4,Re(v++)),--a,p.Qb()):y=!1}r.Ug()}function hEt(e,t,r){var o,a,c,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,(Dt(),!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)))||aNn(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();)c=l(rn(f),158),!Ye(Ke(ve(c,wm)))&&c.a&&Fe(v.b,YK(c));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 nNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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(re=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,re);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,c=0,f=a.length;c<f;++c)o=a[c],__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,c=0,f=a.length;c<f;++c)o=a[c],A_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 rNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O;for(T=ue(le(ve(e,(T1(),vne)))),Ye(Ke(ve(e,Axe)))&&(v=l(ve(e,(aE(),l2)),19),c=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(c.i+c.g/2,c.j+c.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 iNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J;if(U=e.n,z=e.o,N=e.d,T=ue(le(by(e,(Be(),_te)))),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,c=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=c-f.o.b,J+=f.o.a+T,y=gwt(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,c=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=c,J+=f.o.a+T,y=gwt(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 zJ(e,t,r,o,a,c,f){var p,m,y,v,T,N,O,M,U,z,J,re,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(c,m,0)!=-1){if(m.d==M?J=m.c:J=m.d,re=xs(Z(X($i,1),Pe,8,0,[J.i.n,J.n,J.a])).b,b.Math.abs(re-z)<.2)continue;re<z?t.a._b(J)?pi(se,new No(H1,m)):pi(se,new No(u2,m)):t.a._b(J)?pi(p,new No(H1,m)):pi(p,new No(u2,m))}if(se.a.gc()>1)for(O=new M0e(M,se,o),lo(se,new Rtt(e,O)),Ot(f.c,O),T=se.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(c,v.b);if(p.a.gc()>1)for(O=new M0e(M,p,o),lo(p,new Ott(e,O)),Ot(f.c,O),T=p.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(c,v.b)}}function oNn(e,t){var r,o,a,c,f,p;if(l(F(t,(Ie(),xa)),24).Gc((Fo(),rl))){for(p=new V(t.a);p.a<p.c.c.length;)c=l(q(p),9),c.k==(zt(),Xr)&&(a=l(F(c,(Be(),mB)),125),e.c=b.Math.min(e.c,c.n.a-a.b),e.a=b.Math.max(e.a,c.n.a+c.o.a+a.c),e.d=b.Math.min(e.d,c.n.b-a.d),e.b=b.Math.max(e.b,c.n.b+c.o.b+a.a));for(f=new V(t.a);f.a<f.c.c.length;)if(c=l(q(f),9),c.k!=(zt(),Xr))switch(c.k.g){case 2:if(o=l(F(c,(Be(),Cs)),166),o==(ic(),xp)){c.n.a=e.c-10,tbt(c,new qFe).Jb(new OYe(c));break}if(o==gm){c.n.a=e.a+10,tbt(c,new VFe).Jb(new LYe(c));break}if(r=l(F(c,hm),316),r==(lp(),ZE)){Dvt(c).Jb(new DYe(c)),c.n.b=e.d-10;break}if(r==kT){Dvt(c).Jb(new MYe(c)),c.n.b=e.b+10;break}break;default:throw Y(new jt("The node type "+c.k+" is not supported by the "+tCn))}}}function sNn(e,t,r,o){var a,c,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=Rvt(o),M=l(ve(t,(Be(),Zr)),103),z=l(ve(o,rk),64),Ent(b1t(o),Jy)||(o.i==0&&o.j==0?U=0:U=Iwn(o,z),Vn(o,Jy,U)),y=new Me(t.g,t.f),a=fL(o,M,z,O,y,m,new Me(o.g,o.f),l(F(r,xc),87),r),Te(a,(Ie(),mr),o),c=l(ze(a.j,0),12),yZt(c,SAn(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=YK(f),Fe(c.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,le(ve(Br(t),ok))),Te(a,sk,le(ve(Br(t),sk))),Te(a,ev,le(ve(Br(t),ev))),Fe(r.a,a),Jn(e.a,o,a)}function aNn(e,t,r,o,a,c){var f,p,m,y,v,T;for(y=new aa,qs(y,t),Ii(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 AG),new TG),new TYe(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 _G),new d9),new AYe(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,hD,(Dt(),!!f)),Ixn(y,c,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,YK(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 uNn(e,t,r,o,a,c){var f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn;Lt=Ht(e.g,a),Lt==null&&(Lt=new aS,M=l(Lt,150),se=t+"_s",de=se+c,O=new Qw(de),Kl(M,qf,O)),It=l(Lt,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,QTt,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 rot(e,o,qe),lo((!a.a&&(a.a=new yi(Ic,a,5)),a.a),f),Kl(It,HF,qe)),y=TY(a),Ee=!!y,Ee&&$be(e.a,It,gEe,rJ(e,TY(a))),re=AY(a),ye=!!re,ye&&$be(e.a,It,pEe,rJ(e,AY(a))),v=(!a.e&&(a.e=new Tt(jr,a,10,9)),a.e).i==0,z=!v,z&&(ft=new Eb,p=new unt(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 cnt(e,on),lo((!a.g&&(a.g=new Tt(jr,a,9,10)),a.g),m),Kl(It,bEe,on))}function cNn(e,t){var r,o,a,c,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))))UNn(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;)c=l(q(f),17),c.c.e.c.length==0||Ot(J.c,c)}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 lNn(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;for(se=0,M=0,O=0,N=1,re=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));re.e!=re.i.gc();)z=l(rn(re),19),N+=yd(new $t(qt(mp(z).a.Jc(),new L))),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,c=b.Math.sqrt(f),m=b.Math.max(c*r,M),p=b.Math.max(c/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 L));an(v);)y=l(en(v),74),AC(y)||b3n(y,t,qe,ye);qe+=a.b+a.c,ye+=a.d+a.a,M0(e,qe,ye,!1,!0)}function dNn(e){var t,r,o,a;for(ei(lr(new Et(null,new St(e.a.b,16)),new vBe),new EBe),N0n(e),ei(lr(new Et(null,new St(e.a.b,16)),new SBe),new TBe),e.c==(gp(),WT)&&(ei(lr(bs(new Et(null,new St(new Xh(e.f),1)),new ABe),new _Be),new tJe(e)),ei(lr(Oa(bs(bs(new Et(null,new St(e.d.b,16)),new xBe),new kBe),new NBe),new CBe),new rJe(e))),ei(lr(bs(new Et(null,new St(new Xh(e.f),1)),new IBe),new RBe),new iJe(e)),a=new Me(Kr,Kr),t=new Me(Di,Di),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),Li(new Me(t.a,t.b),a)),j2n(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){xot();var r,o,a,c,f,p,m;if(this.a=new gde(this),this.b=e,this.c=t,this.f=rW(rs((mu(),ao),t)),this.f.dc())if((p=mbe(ao,e))==t)for(this.e=!0,this.d=new je,this.f=new nqe,this.f.Ec(lm),l(Y7(h6(ao,mc(e)),""),29)==e&&this.f.Ec(_3(ao,mc(e))),a=SJ(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(rW(rs(ao,o)));break}}else if(Mo(),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),c=MS(rs(ao,o));c;c=MS(rs(ao,c)))c==t&&this.d.Ec(o);else f0(rs(ao,t))==1&&p?(this.f=null,this.d=(rT(),wDt)):(this.f=null,this.e=!0,this.d=(At(),new qG(t)));else this.e=f0(rs(ao,t))==5,this.f.Fb(Ure)&&(this.f=Ure)}function pEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;for(r=0,o=Qbn(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(le(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=(c=v.n,v.e.b+c.d+c.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(),D1)),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(),D1)),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 fNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J;for(O=0,o=new hi,c=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));c.e!=c.i.gc();)a=l(rn(c),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))),hEt(e,a,r));for(Te(r,(Ie(),F1),Re(O)),Te(r,fD,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=XY(m),J=emt(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(bat(Br(t)));y.e!=y.i.gc();)m=l(rn(y),74),z=XY(m),z==t&&R0(m)&&(M=Ye(Ke(ve(z,(Be(),Ky))))&&Ye(Ke(ve(m,bm))),M&&X0e(e,m,t,r))}function hNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt;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(re=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:re=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),Lt=l(ze(It.j,0),12),m=l(Yd(re.e,we(zx,Tx,17,0,0,1)),324),o=m,c=0,p=o.length;c<p;++c)t=o[c],Ji(t,Lt),VK(t.a,t.a.b,v);for(m=Lf(de.g),r=m,a=0,f=r.length;a<f;++a)t=r[a],bo(t,Lt),VK(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 pNn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U;if(N=ue(le(F(e,(Be(),ok)))),O=ue(le(F(e,sk))),T=ue(le(F(e,ev))),p=e.o,c=l(ze(e.j,0),12),f=c.n,U=Myn(c,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&&c.e.c.length==0&&c.g.c.length==0?(v=o?U.a:l(ze(c.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&&c.e.c.length==0&&c.g.c.length==0?(v=o?U.a:l(ze(c.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&&!c.c?(v=o?U.a:l(ze(c.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(c.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=van(new GR,new kA),this.b=new cC(l(kn(Ro),299)),this.p=new cC(l(kn(Ro),299)),this.i=new cC(l(kn(Zxt),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(UD))),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),!$wn(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),!r2n(this.j))throw Y(new _f("Invalid node label placement: "+this.j));this.n=l(gC(e,cNe),100),this.k=ue(le(gC(e,oU))),this.d=ue(le(gC(e,xNe))),this.w=ue(le(gC(e,RNe))),this.s=ue(le(gC(e,kNe))),this.t=ue(le(gC(e,NNe))),this.C=l(gC(e,CNe),125),this.c=2*this.d,t=!this.B.Gc((Uu(),ZD)),this.f=new fC(0,t,0),this.g=new fC(1,t,0),uq(this.f,(Sd(),$a),this.g)}function gNn(){er(d5,new xVe),er(xU,new jVe),er(f5,new KVe),er(q3e,new oWe),er(Je,new cWe),er(X(Eu,1),new lWe),er(Yr,new dWe),er(ET,new fWe),er(Je,new gVe),er(Je,new bVe),er(Je,new mVe),er(fi,new wVe),er(Je,new yVe),er(_c,new vVe),er(_c,new EVe),er(Je,new SVe),er(Ux,new TVe),er(Je,new _Ve),er(Je,new kVe),er(Je,new NVe),er(Je,new CVe),er(Je,new IVe),er(X(Eu,1),new RVe),er(Je,new OVe),er(Je,new LVe),er(_c,new DVe),er(_c,new MVe),er(Je,new PVe),er(Ti,new FVe),er(Je,new $Ve),er(Y0,new BVe),er(Je,new UVe),er(Je,new HVe),er(Je,new zVe),er(Je,new GVe),er(_c,new qVe),er(_c,new VVe),er(Je,new WVe),er(Je,new YVe),er(Je,new JVe),er(Je,new XVe),er(Je,new ZVe),er(Je,new QVe),er(J0,new eWe),er(Je,new tWe),er(Je,new nWe),er(Je,new rWe),er(J0,new iWe),er(Y0,new sWe),er(Je,new aWe),er(Ti,new uWe)}function gEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M;switch(v=new Du,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 mUe),li(f,oc(O)),li(f,M),c=new je,li(c,r),li(c,oc(o)),li(c,a),Te(t.f,pm,f),Te(t.f,n2,c),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 Du,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&&gEt(e,t.g)}function bEt(){bEt=K;var e,t,r;for(new j6(1,0),new j6(10,0),new j6(0,0),ext=we(qQ,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,EX,1e6,1e7,1e8,rF,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),l2e=we(Rn,Qn,30,c2e.length,15,1),d2e=we(qQ,Pe,249,11,0,1),e=0;e<d2e.length;e++)ext[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 bNn(){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[AX]=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}}}},sTn()||(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[AX]=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)),tne=new Pr("FAN",Re(0)),z_e=new Pr(USt,Re(0)),z1=new Pr("ROOT",(Dt(),!1)),ine=new Pr("LEFTNEIGHBOR",null),tRt=new Pr("RIGHTNEIGHBOR",null),PB=new Pr("LEFTSIBLING",null),one=new Pr("RIGHTSIBLING",null),ene=new Pr("DUMMY",!1),new Pr("LEVEL",Re(0)),V_e=new Pr("REMOVABLE_EDGES",new Ar),CD=new Pr("XCOOR",Re(0)),ID=new Pr("YCOOR",Re(0)),jB=new Pr("LEVELHEIGHT",0),Id=new Pr("LEVELMIN",0),sd=new Pr("LEVELMAX",0),nne=new Pr("GRAPH_XMIN",0),rne=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),Qte=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(K2t),ND=new cr(Y2t)}function mNn(e){A0e();var t,r,o,a,c,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,c=null,c=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,c[f++]=Pg[M],c[f++]=Pg[U|y<<4],c[f++]=Pg[v<<2|z],c[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,c[f++]=Pg[M],c[f++]=Pg[y<<4],c[f++]=61,c[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,c[f++]=Pg[M],c[f++]=Pg[U|y<<4],c[f++]=Pg[v<<2],c[f++]=61),Mf(c,0,c.length)}function wNn(e,t){var r,o,a,c,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&&Dun(t,e.k),e.c>=0?XO(t,e.c):e.k>=0?(m=new Lge(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),Dtn(t,e.f==24&&e.g?0:e.f),e.j>=0&&pdn(t,e.j),e.n>=0&&Ndn(t,e.n),e.i>=0&&Tnt(t,Ao(wo(W6(Gs(t.q.getTime()),yg),yg),e.i)),e.a&&(a=new q9,ope(a,a.q.getFullYear()-k1-80),_q(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&&(c=t.q.getTimezoneOffset(),Tnt(t,Ao(Gs(t.q.getTime()),(e.o-c)*60*yg))),!0}function mEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;if(a=F(t,(Ie(),mr)),!!ae(a,209)){for(M=l(a,19),U=t.e,N=new So(t.c),c=t.d,N.a+=c.b,N.b+=c.d,de=l(ve(M,(Be(),vB)),185),fu(de,(Uu(),dU))&&(O=l(ve(M,MAe),100),hZt(O,c.a),wZt(O,c.d),pZt(O,c.b),gZt(O,c.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)?SNn(m,N):ae(F(m,mr),196)&&!U&&(o=l(F(m,mr),127),re=tvt(t,m,o.g,o.f),Bc(o,re.a,re.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 _Ye(m)),new xYe(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 kYe(U)),new NYe(r));for(se=l(ve(M,kp),225),p=new V(r);p.a<p.c.c.length;)f=l(q(p),17),Fkn(f,se,N);for(TAn(t),y=new V(t.a);y.a<y.c.c.length;)m=l(q(y),9),T=m.e,T&&mEt(e,T)}}function wEt(e,t){var r,o,a,c,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=pJ(e,t),o=m.b-p.b-p.c,a=f.a.a,c=m.c+p.b,O=e.w,(v==(vE(),V1)||v==WD)&&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),c+=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:c+=(o-a)/2;break;case 4:c+=o-a;break;case 0:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),O+=b.Math.max(0,r),c+=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=c+T.d.b,T.e.b=(y=T.b,y.nf((_n(),zu))?y.$f()==(He(),Wt)?-y.Kf().b-ue(le(y.mf(zu))):ue(le(y.mf(zu))):y.$f()==(He(),Wt)?-y.Kf().b:0),c+=T.d.b+T.b.Kf().a+T.d.c+O}}function yEt(e,t){var r,o,a,c,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=pJ(e,t),o=m.a-p.d-p.a,a=f.a.b,c=m.d+p.d,M=e.w,y=e.o.a,(T==(vE(),V1)||T==WD)&&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),c+=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:c+=(o-a)/2;break;case 4:c+=o-a;break;case 0:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),M+=b.Math.max(0,r),c+=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(le(v.mf(zu))):y+ue(le(v.mf(zu))):v.$f()==(He(),Kt)?-v.Kf().a:y),N.e.b=c+N.d.d,c+=N.d.d+N.b.Kf().b+N.d.a+M}}function yNn(e,t){var r,o,a,c,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 No(jE,ove));r=l(F(a,Jf),15).a,ep(l(F(e,uw),87))?(a.e.a<ue(le((at(r,o.c.length),l(o.c[r],49)).a))&&GG((at(r,o.c.length),l(o.c[r],49)),a.e.a),a.e.a+a.f.a>ue(le((at(r,o.c.length),l(o.c[r],49)).b))&&zG((at(r,o.c.length),l(o.c[r],49)),a.e.a+a.f.a)):(a.e.b<ue(le((at(r,o.c.length),l(o.c[r],49)).a))&&GG((at(r,o.c.length),l(o.c[r],49)),a.e.b),a.e.b+a.f.b>ue(le((at(r,o.c.length),l(o.c[r],49)).b))&&zG((at(r,o.c.length),l(o.c[r],49)),a.e.b+a.f.b))}for(c=An(e.b,0);c.b!=c.d.c;)a=l(Sn(c),41),r=l(F(a,(js(),Jf)),15).a,Te(a,(Nr(),Id),le((at(r,o.c.length),l(o.c[r],49)).a)),Te(a,sd,le((at(r,o.c.length),l(o.c[r],49)).b));t.Ug()}function vNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U;for(e.o=ue(le(F(e.i,(Be(),vm)))),e.f=ue(le(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,c=new V(e.i.b);c.a<c.c.c.length;){for(a=l(q(c),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 L))),M=yd(new $t(qt(Or(v).a.Jc(),new L))),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 vEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),me(M)!==me(F(J,(Nr(),r4)))&&(M=In(F(J,r4)),m=0),M!=null?p=M+Put(m++,o):p=Put(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(re=An(t,0);re.b!=re.d.c;)J=l(Sn(re),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 Lw(N).a);T.b;)v=gE(T),c=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+c.a)),c=l(Ht(e.b,v.jd()),15),(!c||c.a<l(v.kd(),15).a)&&ns(e.b,In(v.jd()),l(v.kd(),15));vEt(e,O)}}function ENn(e,t,r){var o,a,c,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 EUe),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 L));an(p);)c=l(en(p),17),(c.c.i.k==(zt(),Xr)&&c.c.i.c==a||c.c.i.k==ta&&l(en(new $t(qt(si(c.c.i).a.Jc(),new L))),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 L));an(f);)c=l(en(f),17),c.c.i.k==(zt(),ta)&&!c.c.i.c&&Oi(c.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(Ro),10),new Hc(e,l(Gl(e,e.length),10),0)))),dd=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[]))),ol=dg(xr(Qt,Z(X(Ro,1),ea,64,0,[]))),Nc=dg(xr(dn,Z(X(Ro,1),ea,64,0,[]))),Rl=dg(xr(Kt,Z(X(Ro,1),ea,64,0,[]))),ou=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[dn]))),Wa=dg(xr(Qt,Z(X(Ro,1),ea,64,0,[Kt]))),fd=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[Kt]))),Iu=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[Qt]))),Cc=dg(xr(dn,Z(X(Ro,1),ea,64,0,[Kt]))),sl=dg(xr(Qt,Z(X(Ro,1),ea,64,0,[dn]))),Ru=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[Qt,Kt]))),iu=dg(xr(Qt,Z(X(Ro,1),ea,64,0,[dn,Kt]))),su=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[dn,Kt]))),vu=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[Qt,dn]))),ka=dg(xr(Wt,Z(X(Ro,1),ea,64,0,[Qt,dn,Kt])))}function SNn(e,t){var r,o,a,c,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,c=l(F(e,UI),15).a,Vn(o,dB,Re(M)),Vn(o,UI,Re(c)),va(o,e.n.a+t.a),gu(o,e.n.b+t.b),(l(ve(o,mm),185).gc()!=0||e.e||me(F(ji(e),yB))===me((hC(),WI))&&Hnt((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 TNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft;for(t.Tg("Calculate Graph Size",1),t.bh(e,gve),T=jE,N=jE,y=CZ,v=CZ,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),re=O.i,se=O.j,ft=O.g,p=O.f,m=l(ve(O,(_n(),Cp)),125),T=b.Math.min(T,re-m.b),N=b.Math.min(N,se-m.d),y=b.Math.max(y,re+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,c=f-qe,a<lt/2?(r=a-ye,lt+=r,z.a-=r):(r=ye-a,lt+=r),c<f/2?(o=c-qe,f+=o,z.b-=o):(o=qe-c,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 ANn(e,t,r){var o,a,c,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(c=l(q(f),9),T=bg(c,(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),g1t(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(c=l(q(f),9),y=new V(c.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(c,(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),g1t(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 _Nn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(r.Tg("Polyline edge routing",1),z=ue(le(F(t,(Be(),mAe)))),O=ue(le(F(t,tv))),a=ue(le(F(t,Qy))),o=b.Math.min(1,a/O),se=0,m=0,t.b.c.length!=0&&(de=lwt(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)),c=N8(f,xD),c&&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 L));an(U);)M=l(en(U),17),J=qd(M.c).b,re=qd(M.d).b,f==M.d.i.c&&!fo(M)&&(Fvn(M,se,.4*o*b.Math.abs(J-re)),M.c.j==(He(),Kt)&&(J=0,re=0)),y=b.Math.max(y,b.Math.abs(re-J));switch(T.k.g){case 0:case 4:case 1:case 3:case 5:Uxn(e,T,se,z)}v=b.Math.max(v,y)}p.b<p.d.gc()&&(de=lwt((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,!c&&p.b<p.d.gc()&&(m+=O),se+=f.c.a+m}e.a.a.$b(),t.f.a=se,r.Ug()}function xNn(e){var t,r,o,a,c;switch(YO(e,sAt),(!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)),c=Yo(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),Br(a)==Br(c))return Br(a);if(a==Br(c))return a;if(c==Br(a))return c}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=JEn(t,r),!t)return null}return t}function W0e(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),re=a.d,(se==null?re==null:wt(se,re))&&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)&&(c=l(M,199),J=c.ve(),(O==null?J==null:wt(O,J))&&r--==0))return c;return null}return iEt(e,t)}function kNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;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(re=PS(t),re)for(c=new V(re.k);c.a<c.c.c.length;)a=l(q(c),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 L));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&&bst((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&&mst((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 NNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye;if(N=l(l(wr(e.r,t),24),85),t==(He(),Qt)||t==Kt){pEt(e,t);return}for(c=t==Wt?(A0(),QL):(A0(),eD),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(c),e.t),re=t==Wt?Di: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 WV(M,d1e(f,M))),re=t==Wt?b.Math.max(re,U.b+y.b.Kf().b):b.Math.min(re,U.b));for(re+=t==Wt?e.t:-e.t,se=N1e((f.e=re,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 CNn(e,t){RJ();var r,o,a,c,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]=Ln(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(c=r+Ln(a),p=v-1;p>=c;p--)T[p+1]=T[p];return T[++c]=46,m&&(T[--r]=45),Mf(T,r,v-r+1)}for(f=2;_q(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?(Lb(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 EEt(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 _ze),Qc))),Le(e,Qc,IF,Ge(XRt)),Le(e,Qc,$0,Ge(ZRt)),Le(e,Qc,ME,Ge(WRt)),Le(e,Qc,mT,Ge(KRt)),Le(e,Qc,bT,Ge(YRt)),Le(e,Qc,Ex,Ge(VRt)),Le(e,Qc,yx,Ge(Exe)),Le(e,Qc,Sx,Ge(JRt)),Le(e,Qc,FZ,Ge(wne)),Le(e,Qc,jZ,Ge(yne)),Le(e,Qc,PF,Ge(Txe)),Le(e,Qc,$Z,Ge(vne)),Le(e,Qc,BZ,Ge(Axe)),Le(e,Qc,Ave,Ge(_xe)),Le(e,Qc,Tve,Ge(Sxe)),Le(e,Qc,yve,Ge(HB)),Le(e,Qc,vve,Ge(zB)),Le(e,Qc,Eve,Ge(RD)),Le(e,Qc,Sve,Ge(xxe)),Le(e,Qc,wve,Ge(vxe))}function M0(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,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=me(ve(e,(_n(),bk)))===me((qi(),fa)),re=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));re.e!=re.i.gc();)switch(J=l(rn(re),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(),c=l(md(N4),10),new Hc(c,l(Gl(c,c.length),10),0))),new Me(ye,v)}function Z7(e){var t,r,o,a,c,f,p,m,y,v,T;if(e==null)throw Y(new kf(tu));if(y=e,c=e.length,m=!1,c>0&&(t=(Yt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Yt(1,e.length+1),e.substr(1)),--c,m=t==45)),c==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)),--c;if(c>(Yyt(),Z_t)[10])throw Y(new kf(F0+y+'"'));for(a=0;a<c;a++)if(Xgt((Yt(a,e.length),e.charCodeAt(a)))==-1)throw Y(new kf(F0+y+'"'));for(T=0,f=r2e[10],v=GQ[10],p=ug(i2e[10]),r=!0,o=c%f,o>0&&(T=-parseInt((io(0,o,e.length),e.substr(0,o)),10),e=(Yt(o,e.length+1),e.substr(o)),c-=o,r=!1);c>=f;){if(o=parseInt((io(0,f,e.length),e.substr(0,f)),10),e=(Yt(f,e.length+1),e.substr(f)),c-=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){jJ();var t,r,o,a,c,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&&PK((Yt(a+1,e.length),e.charCodeAt(a+1)),T3e,A3e)&&PK((Yt(a+2,e.length),e.charCodeAt(a+2)),T3e,A3e))if(r=jon((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:{Lb(m,((t[0]&31)<<6|t[1]&63)&Ei);break}case 3:{Lb(m,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ei);break}}p=0,o=0}}else{for(c=0;c<p;++c)Lb(m,t[c]&Ei);p=0,m.a+=String.fromCharCode(r)}else{for(c=0;c<p;++c)Lb(m,t[c]&Ei);p=0,Lb(m,(Yt(a,e.length),e.charCodeAt(a)))}return m.a}function SEt(e){var t,r,o,a,c,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();)c=l(rn(f),158),v=l(ve(c,S4),8),v&&Bc(c,v.a,v.b),T&&(p.a=b.Math.max(p.a,c.i+c.g),p.b=b.Math.max(p.b,c.j+c.f));return p}function TEt(e,t,r,o,a){var c,f,p;if(qdt(e,t),f=t[0],c=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(c){case 71:return p=_E(e,f,Z(X(Je,1),Pe,2,6,[c2t,l2t]),t),a.e=p,!0;case 77:return VSn(e,t,a,p,f);case 76:return WSn(e,t,a,p,f);case 69:return Vyn(e,t,f,a);case 99:return Wyn(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 KSn(e,t,f,p,r,a);case 100:return p<=0?!1:(a.c=p,!0);case 83:return p<0?!1:s1n(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 wwn(e,f,t,a);default:return!1}}function INn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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]=lJ(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),re=new V(v.a);re.a<re.c.c.length;)J=l(q(re),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(c=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++)c[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];hZe(c,Ift(Oe.prototype.Ke,Oe,[])),a.p[de.p]=(c[1]+c[2])/2,a.d[de.p]=0}return a}function RNn(e,t,r){var o,a,c,f,p;switch(o=t.i,c=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(le(F(e,QE)))-r-o.b):(Ed(t,(_u(),Wf)),o.c=f.a+ue(le(F(e,QE)))+r);break;case 2:Ed(t,(_u(),Wf)),o.c=c.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(le(F(e,QE)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ue(le(F(e,QE)))+r);break;case 3:Cf(t,(Za(),Nd)),o.d=c.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(le(F(e,QE)))-r-o.b):(Ed(t,(_u(),Wf)),o.c=f.a+ue(le(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(le(F(e,QE)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ue(le(F(e,QE)))+r)}}function ONn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;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),re=new Xi(r,0),o=null;re.b<re.d.gc();)if(z=(un(re.b<re.d.gc()),l(re.d.Xb(re.c=re.b++),571)),z.c>=p){un(re.b>0),re.a.Xb(re.c=--re.b);break}else z.a>m&&(o?(li(o.b,z.b),o.a=b.Math.max(o.a,z.a),Mu(re)):(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 CZe,o.c=m,o.a=p,Vw(re,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=syt(v,e);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,mo(U,syt(M,e));for(c=new Xi(f,0);c.b<c.d.gc();)(un(c.b<c.d.gc()),l(c.d.Xb(c.c=c.b++),26)).a.c.length==0&&Mu(c);e.a.c.length=0,t.Ug()}function LNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U;for(r.Tg(KSt,1),!t.a&&(t.a=new ke(En,t,10,11)),o=ue(le(ve(t,(ef(),WB)))),v=ue(le(ve(t,l4))),N=l(ve(t,c4),100),O=new Jle(o,v),c=BEt(O,t,N),Aft(t,O),p=l(ve(t,qxe),15).a;p>1;){if(a=$2n(t),T=c.g,M=l(ve(t,c4),100),U=ue(le(ve(t,WB))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ue(le(ve(t,(yh(),Cne))))!=Kr&&(c.c+(M.b+M.c))/(c.b+(M.d+M.a))<U?Vn(a,(yh(),iv),ue(le(ve(t,iv)))+ue(le(ve(t,Cne)))):(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ue(le(ve(t,(yh(),Nne))))!=Kr&&(c.c+(M.b+M.c))/(c.b+(M.d+M.a))>U&&Vn(a,(yh(),iv),b.Math.max(ue(le(ve(t,u4))),ue(le(ve(a,iv)))-ue(le(ve(t,Nne))))),O=new Jle(o,v),m=BEt(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++)s0t(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));Aft(t,O),vun(c,m.c),Eun(c,m.b)}--p}Vn(t,(yh(),dk),c.b),Vn(t,$T,c.c),r.Ug()}function DNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft;for(t.Tg("Compound graph postprocessor",1),r=Ye(Ke(F(e,(Be(),Nte)))),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=Shn((at(0,f.c.length),l(f.c[0],253))),qe=Eht(l(ze(f,f.c.length-1),253)),se=Ee.i,T_(qe.i,se)?re=se.e:re=ji(se),T=lbn(z,f),tc(z.a),N=null,c=new V(f);c.a<c.c.c.length;)a=l(q(c),253),U=new ro,eme(U,a.a,re),O=a.b,o=new Du,VK(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)),Whn(O,T,U),Eht(a)==qe&&(ji(qe.i)!=a.a&&(U=new ro,eme(U,ji(qe.i),re)),Te(z,ute,U)),cyn(O,z,re),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 MNn(e,t){var r,o,a,c,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 RHe),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),m=l(Au(Oa(r.Mc(),new ZJe(t)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),m.Fc(l(Au(Oa(r.Mc(),new QJe(t)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),18)),m.gd(new eXe(v)),N=new Qp(new tXe(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,(Dt(),L1))==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,Ogt(N,y),y)):(new IA(N.a.Xc(y,!1)).a.gc()>0&&(c=l(new IA(N.a.Xc(y,!1)).a.Tc(),41),me(c)===me(Ss(ts(o.f,y)))&&l(F(y,(Nr(),Qte)),16).Ec(c)),new IA(N.a.$c(y,!0)).a.gc()>1&&(T=Ogt(N,y),me(Ss(ts(o.f,T)))===me(y)&&l(F(T,(Nr(),Qte)),16).Ec(y)),N.a.Ac(y)!=null)}function AEt(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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,tD,new Me(m,y))}for(At(),e.gd(new Yh),U=new JP,qs(U,l(e.Xb(0),105)),p=0,re=0,c=e.Jc();c.Ob();)r=l(c.Pb(),238),z=Li(To(l(F(r,(h1(),tD)),8)),l(F(r,SI),8)),p=b.Math.max(p,z.a),re+=z.a*z.b;for(p=b.Math.max(p,b.Math.sqrt(re)*ue(le(F(U,(ed(),dkt))))),J=ue(le(F(U,v$))),se=0,de=0,f=0,t=J,o=e.Jc();o.Ob();)r=l(o.Pb(),238),z=Li(To(l(F(r,(h1(),tD)),8)),l(F(r,SI),8)),se+z.a>p&&(se=0,de+=f+J,f=0),sAn(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 PNn(e){A0e();var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z;if(e==null||(c=aj(e),M=vgn(c),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=c[v++])||!uO(p=c[v++])||!uO(m=c[v++])||!uO(y=c[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=c[v++])||!uO(p=c[v++])?null:(t=mf[f],r=mf[p],m=c[v++],y=c[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 jNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee;for(t.Tg(gSt,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(c=f[p],c.k==(zt(),_a)){if(M==(gp(),WT))for(T=new V(c.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||G1n(v),v.g.c.length==0||q1n(v);else if(ae(F(c,(Ie(),mr)),17))z=l(F(c,mr),17),J=l(bg(c,(He(),Kt)).Jc().Pb(),12),re=l(bg(c,Qt).Jc().Pb(),12),se=l(F(J,mr),12),de=l(F(re,mr),12),bo(z,de),Ji(z,se),Ee=new So(re.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(c.j.c.length>=2){for(U=!0,N=new V(c.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(c.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||hSn(v,U),v.g.c.length==0||pSn(v,U)}Oi(c,null)}t.Ug()}function FNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee;for(p=new V(e.a.b);p.a<p.c.c.length;)for(c=l(q(p),26),se=new V(c.a);se.a<se.c.c.length;)re=l(q(se),9),t.g[re.p]=re,t.a[re.p]=re,t.d[re.p]=0;for(m=e.a.b,t.c==(If(),kg)&&(m=oc(m)),f=m.Jc();f.Ob();)for(c=l(f.Pb(),26),O=-1,N=c.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]=(Dt(),!!(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]=(Dt(),!!(Ye(t.f[t.g[de.p].p])&de.k==(zt(),gi))),O=e.b.e[z.p]))}function _Et(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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,c=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)),c=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(c-y)<=Gf||c==y||isNaN(c)&&isNaN(y))?!0:(o=oW(se.a),p=-oW(se.b),T=-oW(qe.a),re=oW(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?c+T>0?de=T:y-o>0&&(de=o):O&&(c+p>0?de=p:y-re>0&&(de=re))),Ee.a.e+=de,Ee.b&&(Ee.d.e+=de),!1))}function xEt(e,t,r){var o,a,c,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;)c=l(q(f),190),a.c=c.Jf().a+t.Jf().a,a.d=c.Jf().b+t.Jf().b,a.b=c.Kf().a,a.a=c.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;)c=l(q(f),190),a.c=c.Jf().a+v,a.d=c.Jf().b+T,a.b=c.Kf().a,a.a=c.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;)c=l(q(f),190),N.a+=c.Kf().a+r,N.b+=c.Kf().b+r;N.a=b.Math.max(N.a,0),N.b=b.Math.max(N.b,0),Gyt(o,m.Uf(),m.Sf(),t,m,N,r)}}e.b&&Gyt(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 $Nn(){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 kEt(e){n0(e,new Qb(bq(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]))))),Le(e,Ga,CL,Re(1)),Le(e,Ga,$0,80),Le(e,Ga,MX,5),Le(e,Ga,mx,bx),Le(e,Ga,cF,Re(1)),Le(e,Ga,WC,(Dt(),!0)),Le(e,Ga,B0,R2e),Le(e,Ga,wx,Ge(N2e)),Le(e,Ga,lF,Ge(O2e)),Le(e,Ga,IL,!1),Le(e,Ga,yx,Ge(I2e)),Le(e,Ga,vx,Ge(gkt)),Le(e,Ga,bT,Ge(bkt)),Le(e,Ga,ME,Ge(pkt)),Le(e,Ga,Ex,Ge(hkt)),Le(e,Ga,Sx,Ge(wkt)),Le(e,Ga,uF,Ge(C2e)),Le(e,Ga,LX,Ge(aee)),Le(e,Ga,Awe,Ge(y$)),Le(e,Ga,DX,Ge(see)),Le(e,Ga,_we,Ge(L2e)),Le(e,Ga,RL,Ge(Akt)),Le(e,Ga,OL,Ge(_kt)),Le(e,Ga,LL,Ge(Tkt)),Le(e,Ga,DL,Ge(Skt)),Le(e,Ga,U0,D2e)}function BNn(e,t,r,o){var a,c,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))),c=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=Zpt(e,T),o+c>(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+c,(at(y,t.c.length),l(t.c[y],26))),T=hJ(T,a);r>0&&(c+=1)}if(N){for(y=0;y<r;y++)a=new Xd(e),Jh(a,(zt(),rD)),o+c>(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+c,(at(y,t.c.length),l(t.c[y],26)));r>0&&(c+=1)}for(f=!1,U=new $t(qt(Or(O).a.Jc(),new L));an(U);){for(M=l(en(U),17),T=M,v=r+1;v<t.c.length;v++)a=Zpt(e,T),Oi(a,(at(v,t.c.length),l(t.c[v],26))),T=hJ(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&&(c+=1),f=!0}return c>0?c-1:0}function x1(e,t){fr();var r,o,a,c,f,p,m,y,v,T,N,O,M;if(WN(xk)==0){for(T=we(bCn,Pe,122,jDt.length,0,1),f=0;f<T.length;f++)T[f]=new bc(4);for(o=new GN,c=0;c<Y3e.length;c++){if(v=new bc(4),c<84?(p=c*2,O=(Yt(p,OQ.length),OQ.charCodeAt(p)),N=(Yt(p+1,OQ.length),OQ.charCodeAt(p+1)),Sa(v,O,N)):(p=(c-84)*2,Sa(v,J3e[p],J3e[p+1])),m=Y3e[c],wt(m,"Specials")&&Sa(v,65520,65533),wt(m,R_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+=crt(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(RQ,"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,RQ,RQ),!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 NEt(e){n0(e,new Qb(bq(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 WHe),hve),ct((sT(),Ore))))),Le(e,Va,B0,nxe),Le(e,Va,$0,20),Le(e,Va,TZ,3),Le(e,Va,mx,bx),Le(e,Va,CL,Re(1)),Le(e,Va,WC,(Dt(),!0)),Le(e,Va,UL,Ge(X_e)),Le(e,Va,AZ,Z_e),Le(e,Va,wx,Ge(lRt)),Le(e,Va,RF,Ge(dRt)),Le(e,Va,ME,Ge(hRt)),Le(e,Va,vx,Ge(pRt)),Le(e,Va,mT,Ge(gRt)),Le(e,Va,bT,Ge(bRt)),Le(e,Va,Ex,Ge(fRt)),Le(e,Va,yx,Ge(exe)),Le(e,Va,Sx,Ge(mRt)),Le(e,Va,lve,Ge(sxe)),Le(e,Va,fve,Ge(rxe)),Le(e,Va,RL,Ge(ERt)),Le(e,Va,OL,Ge(SRt)),Le(e,Va,LL,Ge(vRt)),Le(e,Va,DL,Ge(yRt)),Le(e,Va,U0,oxe),Le(e,Va,cve,Ge(c2)),Le(e,Va,dve,Ge(sne)),Le(e,Va,uve,Ge(Jf)),Le(e,Va,sve,Ge(J_e)),Le(e,Va,ave,Ge(Q_e))}function CEt(e,t){var r,o,a,c,f,p,m,y,v,T,N;for(y=l(l(wr(e.r,t),24),85),f=Cwn(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=(c=v.n,v.e.a+c.b+c.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(),D1))):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(),D1))):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 UNn(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;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 LA(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,re=v>=o.o.b/2}else re=!T;re?(J=l(F(o,(Ie(),MT)),16),J?N?c=J:(a=l(F(o,NT),16),a?J.gc()<=a.gc()?c=J:c=a:(c=new je,Te(o,NT,c))):(c=new je,Te(o,MT,c))):(a=l(F(o,(Ie(),NT)),16),a?T?c=a:(J=l(F(o,MT),16),J?a.gc()<=J.gc()?c=a:c=J:(c=new je,Te(o,MT,c))):(c=new je,Te(o,NT,c))),c.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),Spn(r)):(bo(t,null),r.e.c.length+r.g.c.length==0&&As(r,null)),tc(t.a)}function HNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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(le(F(t,od))),e.d=Kr,de=new V(qe);de.a<de.c.c.length;)re=l(q(de),9),re.k==(zt(),Xr)&&(It=re.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;)re=l(q(Ee),9),re.p=y++,e.c[re.p]=Bpt(si(re)),e.f[re.p]=Bpt(Or(re)),e.e[re.p]=re.o.b/e.d,e.a+=e.e[re.p];for(e.b/=e.d,e.a/=lt,ye=Dvn(qe),xi(qe,vhe(new bJe(e))),U=Kr,M=sr,f=null,qn=Gr,on=Gr,c=p,a=p,Gr<0&&(qn=l(x_e.a.Gd(),15).a,on=l(x_e.b.Gd(),15).a),p<0&&(c=l(__e.a.Gd(),15).a,a=l(__e.b.Gd(),15).a),Lt=qn;Lt<=on;Lt++)for(o=c;o<=a;o++)ft=E_n(e,Lt,o,qe,ye),J=ue(le(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();)re=l(se.Pb(),9),Oi(re,m);Ot(O.c,m)}vC(O),qe.c.length=0,r.Ug()}function zNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe;for(t.Tg(gSt,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))&&me(F(ji(v),Ch))===me((bp(),B1))&&eSn(v),Te(v,(Ie(),tw),v),U.c.length=0,ye.c.length=0,r=new je,de=new Ar,TK(de,bg(v,(He(),Wt))),me(F(ji(v),Ch))!==me((bp(),B1))&&(de=Hbt(de)),OEt(e,de,U,ye,r),p=J,qe=v,c=new V(U);c.a<c.c.c.length;)o=l(q(c),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,dte)))||l(F(o,RT),16).Ec(qe);for(tc(de),se=bg(v,dn).Jc();se.Ob();)re=l(se.Pb(),12),Wr(de,re,de.a,de.a.a);for(me(F(ji(v),Ch))!==me(B1)&&(de=Hbt(de)),OEt(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,dte)))||l(F(Ee,RT),16).Ec(o);r.c.length==0||Te(v,pTe,r)}t.Ug()}function GNn(e,t,r,o,a,c,f){var p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr;for(O=0,It=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),oEt(p),O=b.Math.max(O,p.g),It+=p.g*p.f;for(M=It/e.c.length,ft=kmn(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&&(c&&(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),Lt=Gr+N+r.a,Lt<a&&(N+=a-Lt,Lt=a),c)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(le(Sn(Ee))),J=l(Sn(qe),15).a),p=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),re=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,re))),qn+=p.g+t;return new Me(v,Lt)}function qNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on;if(r.Tg("Spline edge routing",1),t.b.c.length==0){t.f.a=0,r.Ug();return}re=ue(le(F(t,(Be(),tv)))),p=ue(le(F(t,$1))),f=ue(le(F(t,Qy))),J=l(F(t,yte),350),lt=J==(R_(),JI),qe=ue(le(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(),xD)),M=l(ze(t.b,t.b.c.length-1),26),T=N8(M.a,xD),U=new V(t.b),z=null,on=0;do{for(se=U.a<U.c.c.length?l(q(U),26):null,ANn(e,z,se),VAn(e),ft=FQt(Ehn(AP(lr(new Et(null,new St(e.i,16)),new bHe),new mHe))),Lt=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,oSn(se,f,re,qe))),y<re&&!N&&!O&&(Lt=(re-y)/2,y=re),de+=y):!N&&!O&&(de+=re),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=Lt,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),c=uhn(e,o),Te(o,(Ie(),n2),c),It=ySn(e,o),Te(o,pm,It);t.f.a=on,e.d=null,r.Ug()}function VNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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;)re=l(q(se),9),yd(($O(),new $t(qt(Df(re).a.Jc(),new L))))>=e.a&&(o=T_n(e,re),v=b.Math.max(v,o.b),de=b.Math.max(de,o.d),Fe(p,new No(re,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(c=new V(p);c.a<c.c.c.length;)if(a=l(q(c),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 IEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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(re=0;re<2;++re){for(m=v;--m>=0;)if(O!=null?pr(O,M[m]):me(O)===me(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,me(O)===me(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,c=0;c<o;++c)O=M[c],N=Vit(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=mmn(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=trn(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 WNn(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;for(r=new A1t(t),r.a||mAn(t),y=gTn(t),m=new b0,z=new Bwt,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 L));an(a);)o=l(en(a),17),(o.c.i.k==(zt(),mi)||o.d.i.k==mi)&&(v=jkn(e,o,y,z),yt(m,wY(v.d),v.a));for(f=new je,se=l(F(r.c,(Ie(),_p)),24).Jc();se.Ob();){switch(re=l(se.Pb(),64),O=z.c[re.g],N=z.b[re.g],p=z.a[re.g],c=null,J=null,re.g){case 4:c=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(c.c+c.b,c.d)),a0(y,new Me(c.c+c.b,c.d+c.a));break;case 2:c=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(c.c,c.d)),a0(y,new Me(c.c,c.d+c.a));break;case 1:c=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(c.c,c.d+c.a)),a0(y,new Me(c.c+c.b,c.d+c.a));break;case 3:c=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(c.c,c.d)),a0(y,new Me(c.c+c.b,c.d))}c&&(T=new xZe,T.d=re,T.b=c,T.c=J,T.a=SW(l(wr(m,wY(re)),24)),Ot(f.c,T))}return li(r.b,f),r.d=Gpn(Wxn(y)),r}function REt(e,t,r){var o,a,c,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)?Di:Kr;do a=e.b.e[f.p],c=f.c.a.c.length,r.o==Em&&a>0||r.o==uf&&a<c-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],REt(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(le(F(e.a,(Be(),vm)))),O=fht(e,r.j[t.p]),v=fht(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);cQt(e.e,t)}}function KNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft;if(r=ue(le(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()||!gV(ft,new kUe)?o.c=1:(a=ks(T,Qt),(a.dc()||!gV(a,new xUe))&&(Ee+=o.a))),f=new $t(qt(Or(T).a.Jc(),new L));an(f);)c=l(en(f),17),Ee+=o.c,de+=o.b,lt=c.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),re=l(F(ye,(Ie(),Nu)),9),re&&(Ee+=o.c,de+=o.b,Rpe(e,o,re))}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 L));an(f);)c=l(en(f),17),Ee+=o.c,de+=o.b,lt=c.d.i,Rpe(e,o,lt);se.c.length=0}return t=Ee+de,z=t==0?Kr:(Ee-de)/t,z>=r}function YNn(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;for(se=e.a,de=0,Ee=se.length;de<Ee;++de){for(re=se[de],y=sr,v=sr,M=new V(re.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,c=!1,a=l(ze(re.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,c=!0);for(p=l(ze(re.e,re.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,c=!0);if(c&&m!=0)for(O=new V(re.e);O.a<O.c.c.length;)N=l(q(O),9),N.n.b+=m}}function JNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on;for(se=t,re=new b0,de=new b0,v=m0(se,fQ),o=new yat(e,r,re,de),ymt(o.a,o.b,o.c,o.d,v),m=(qe=re.i,qe||(re.i=new sE(re,re.c))),ft=m.Jc();ft.Ob();)for(lt=l(ft.Pb(),171),a=l(wr(re,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=tAt+M+nAt+f,O=N+Px,Y(new xf(O));for(y=(ye=de.i,ye||(de.i=new sE(de,de.c))),Lt=y.Jc();Lt.Ob();)for(It=l(Lt.Pb(),171),c=l(wr(de,It),24),J=c.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=tAt+z+nAt+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),!TY(on)&&!AY(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 XNn(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J;if(o=new je,a=sr,c=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&&(c=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&&(c=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&&c>t.o.a/2&&f>t.o.b/2){for(O=new aa,As(O,t),Ii(O,(He(),Wt)),O.n.a=t.o.a/2,J=new aa,As(J,t),Ii(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(FV(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(kon(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 ZNn(e,t,r){var o,a,c,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,LF))for(y=EEn(f,e),t==(vi(),as)||t==fs?xi(y,new aze):xi(y,new uze),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))))&&!upt((at(o,y.c.length),l(y.c[o],65)),e))&&(a=m==1?.5:(o+1)/(m+1),t==as?(c=ue(le(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(c,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?(c=ue(le(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(c,N)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(f.e.a+f.f.a,N))):t==il?(c=ue(le(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,c))),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b))):(c=ue(le(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,c)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b+f.f.b))))}function fL(e,t,r,o,a,c,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(le(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):Gtn(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),Ii(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),Ii(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),Ii(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),Ii(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=c.b,t==Oh&&(M/=a.b);break;case 1:case 3:M=c.a,t==Oh&&(M/=a.a)}Te(v,nw,M)}return Te(v,Hs,O),v}function QNn(){ole();function e(o){var a=this;this.dispatch=function(c){var f=c.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":Qxn(f.algorithms),o.postMessage({id:f.id});break;case"layout":wxn(f.graph,f.layoutOptions||{},f.options||{}),o.postMessage({id:f.id,data:f.graph});break}},this.saveDispatch=function(c){try{a.dispatch(c)}catch(f){o.postMessage({id:c.data.id,error:f})}}}function t(o){var a=this;this.dispatcher=new e({postMessage:function(c){a.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){a.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===NX&&typeof self!==NX){var r=new e(self);self.onmessage=r.saveDispatch}else typeof u!==NX&&u.exports&&(Object.defineProperty(d,"__esModule",{value:!0}),u.exports={default:t,Worker:t})}function GJ(e,t,r,o,a,c,f){var p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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&&oEt(m.c),U=b.Math.max(U,hu(m)),It+=hu(m)*ec(m);for(z=It/e.b.c.length,ft=a0n(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&&(c&&(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),w1t(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),Lt=Gr+O+r.a,Lt<a&&(O+=a-Lt,Lt=a),c)for(qn=r.b,v=new Xi(e.b,0),Eo(lt,Re(e.b.c.length)),qe=An(lt,0),re=l(Sn(qe),15).a,Eo(ye,O),Ee=An(ye,0),de=0;v.b<v.d.gc();)v.b==re&&(qn=r.b,de=ue(le(Sn(Ee))),re=l(Sn(qe),15).a),m=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),Zgt(m,de),v.b==re&&(J=T-qn-r.c,se=hu(m),Qgt(m,J),wgt(m,(J-se)/2,0)),qn+=hu(m)+t;return new Me(T,Lt)}function e3n(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),Dr(e.fb,5),e.qb=Ps(e,3),Jr(e.qb,0),Dr(e.qb,1),Dr(e.qb,2),Jr(e.qb,3),Jr(e.qb,4),Dr(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 t3n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;if(re=0,t.f.a==0)for(z=new V(e);z.a<z.c.c.length;)M=l(q(z),9),re=b.Math.max(re,M.n.a+M.o.a+M.d.c);else re=t.f.a-t.c.a;for(re-=t.c.a,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),jN(M.n,re-M.o.a),Cfe(M.f),K1t(M),(M.q?M.q:(At(),At(),xh))._b((Be(),Zy))&&jN(l(F(M,Zy),8),re-M.o.a),l(F(M,Kf),259).g){case 1:Te(M,Kf,(mh(),FD));break;case 2:Te(M,Kf,(mh(),jD))}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),Ii(se,Sht(se.j)),f=l(F(se,xg),15),f&&Te(se,xg,Re(-f.a)),c=new V(se.g);c.a<c.c.c.length;){for(a=l(q(c),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a=re-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=re-p.a;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),jN(v.n,re-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),Sht(l(F(M,Hs),64))),Xwn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),K1t(v),jN(v.n,J.a-v.o.a)}}function n3n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;if(re=0,t.f.b==0)for(z=new V(e);z.a<z.c.c.length;)M=l(q(z),9),re=b.Math.max(re,M.n.b+M.o.b+M.d.a);else re=t.f.b-t.c.b;for(re-=t.c.b,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),PN(M.n,re-M.o.b),Nfe(M.f),Y1t(M),(M.q?M.q:(At(),At(),xh))._b((Be(),Zy))&&PN(l(F(M,Zy),8),re-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),Ii(se,Tht(se.j)),f=l(F(se,xg),15),f&&Te(se,xg,Re(-f.a)),c=new V(se.g);c.a<c.c.c.length;){for(a=l(q(c),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.b=re-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=re-p.b;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),PN(v.n,re-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),Tht(l(F(M,Hs),64))),Tgn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),Y1t(v),PN(v.n,J.b-v.o.b)}}function r3n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn;for(re=new Xi(e.b,0),v=t.Jc(),M=0,y=l(v.Pb(),15).a,Ee=0,r=new hi,qe=new uh;re.b<re.d.gc();){for(J=(un(re.b<re.d.gc()),l(re.d.Xb(re.c=re.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 L));an(O);)T=l(en(O),17),qe.a.yc(T,qe);for(N=new $t(qt(si(se).a.Jc(),new L));an(N);)T=l(en(N),17),qe.a.Ac(T)!=null}if(M+1==y){for(a=new ra(e),Vw(re,a),c=new ra(e),Vw(re,c),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),Ii(U,(He(),Kt)),It=new aa,As(It,f),Ii(It,Qt),o=new Xd(e),Te(o,Zr,Sk),Oi(o,c),Jh(o,af),z=new aa,As(z,o),Ii(z,Kt),Lt=new aa,As(Lt,o),Ii(Lt,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,Lt),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 i3n(e){var t,r,o,a,c,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 L));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 LC(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 LC(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 LC(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&&(c=l(Ht(e.f,f.d.i),60),t.b<c.d.d?v.f.a=!0:t.b>c.d.d+c.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(p=new $t(qt(si(O).a.Jc(),new L));an(p);)f=l(en(p),17),f.a.b!=0&&(t=l(zl(f.a),8),f.d.j==(He(),Wt)&&(z=new LC(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 LC(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 o3n(e,t,r){var o,a,c,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=_gn(f,(io(y,v,t.length),t.substr(y,v-y))),a=RK(o),c=a.hk().ti(),co(t,++v)){case 39:{p=KA(t,39,++v),Fe(m,new _8(o,wW((io(v,p,t.length),t.substr(v,p-v)),c,a))),y=p+1;break}case 34:{p=KA(t,34,++v),Fe(m,new _8(o,wW((io(v,p,t.length),t.substr(v,p-v)),c,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,wW((io(v,p,t.length),t.substr(v,p-v)),c,a)),v=p+1;break}case 34:{p=KA(t,34,++v),Fe(N,wW((io(v,p,t.length),t.substr(v,p-v)),c,a)),v=p+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)N.c.push(null);else throw Y(new Es(VTt));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(VTt));y=v+3;break}}if(y<T){if(Yt(y,t.length),t.charCodeAt(y)!=44)throw Y(new Es("Expecting ,"))}else break}return USn(e,m,r)}function s3n(e){var t,r,o,a,c;switch(t=e.c,c=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),c=(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 c=e.bm(e.a),dr(e),c;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:r=e.am(),r<Co?c=(fr(),fr(),new dh(0,r)):c=ust(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(c=bme(e,e.a),!c)throw Y(new Dn(jn((Cn(),mQ))));break;default:c=_ot(e.a)}dr(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw Y(new Dn(jn((Cn(),EEe))));c=_ot(e.a),o=e.a,dr(e),(o&64512)==TL&&e.c==0&&(e.a&64512)==56320&&(a=we(al,Bf,30,2,15,1),a[0]=o&Ei,a[1]=e.a&Ei,c=eW(ust(Mf(a,0,a.length)),0),dr(e));break;default:throw Y(new Dn(jn((Cn(),EEe))))}return c}function a3n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt;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,c=new V(f.t);c.a<c.c.c.length;)o=l(q(c),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(Lt=VP(e),T=e.c.length,U=T+1,J=T-1,O=new je;Lt.a.gc()!=0;){for(;ye.b!=0;)Ee=(un(ye.b!=0),l(Vc(ye,ye.a.a),134)),Lt.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)),Lt.a.Ac(qe)!=null,qe.s=U++,jme(qe,ft,ye);for(M=Qi,y=Lt.a.ec().Jc();y.Ob();)f=l(y.Pb(),134),re=f.u-f.n,re>=M&&(re>M&&(O.c.length=0,M=re),Ot(O.c,f));O.c.length!=0&&(N=l(ze(O,u7(t,O.c.length)),134),Lt.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 OEt(e,t,r,o,a){var c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt;for(U=new La(t.b),de=new La(t.b),N=new La(t.b),lt=new La(t.b),z=new La(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(c=l(q(p),17),c.c.i==c.d.i){if(Ee.j==c.d.j){Ot(lt.c,c);continue}else if(Ee.j==(He(),Wt)&&c.d.j==dn){Ot(z.c,c);continue}}for(m=new V(z);m.a<m.c.c.length;)c=l(q(m),17),NAn(e,c,r,o,(He(),Qt));for(f=new V(lt);f.a<f.c.c.length;)c=l(q(f),17),ft=new Xd(e),Jh(ft,(zt(),_a)),Te(ft,(Be(),Zr),(qi(),fa)),Te(ft,(Ie(),mr),c),It=new aa,Te(It,mr,c.d),Ii(It,(He(),Kt)),As(It,ft),Lt=new aa,Te(Lt,mr,c.c),Ii(Lt,Qt),As(Lt,ft),Te(c.c,Nu,ft),Te(c.d,Nu,ft),bo(c,null),Ji(c,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;)re=l(q(se),12),Fe(a,I0e(e,null,re,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 qJ(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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();)c=l(rn(p),74),m=Wc(Z(X(nl,1),Rt,22,0,[m,(!c.n&&(c.n=new ke(Rs,c,1,7)),c.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);)re=l(en(se),278),y=l(re.mf((_n(),Cp)),125),N>re.mh()-y.b&&(N=re.mh()-y.b),O>re.nh()-y.d&&(O=re.nh()-y.d),v<re.mh()+re.lh()+y.c&&(v=re.mh()+re.lh()+y.c),T<re.nh()+re.kh()+y.a&&(T=re.nh()+re.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(c=l(rn(f),74),J=new tn((!c.a&&(c.a=new ke(jr,c,6,6)),c.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 LEt(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr;for(O=l(F(e,(h1(),_T)),19),se=sr,de=sr,J=Qi,re=Qi,ye=new V(e.e);ye.a<ye.c.c.length;)Ee=l(q(ye),156),Lt=Ee.d,on=Ee.e,se=b.Math.min(se,Lt.a-on.a/2),de=b.Math.min(de,Lt.b-on.b/2),J=b.Math.max(J,Lt.a+on.a/2),re=b.Math.max(re,Lt.b+on.b/2);for(r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),254),Lt=t.d,on=t.e,se=b.Math.min(se,Lt.a-on.a/2),de=b.Math.min(de,Lt.b-on.b/2),J=b.Math.max(J,Lt.a+on.a/2),re=b.Math.max(re,Lt.b+on.b/2);for(It=l(ve(O,(ed(),mkt)),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(c=new V(e.c);c.a<c.c.c.length;)a=l(q(c),292),T=l(F(a,_T),74),N=kC(T),qn=new So(Qpe(a)),br(qn,ft),NO(N,qn.a,qn.b),Da(a.a,new ctt(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=re-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 u3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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 SUe),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(v_n(e,O))if(N=e.c,N=S1t(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;)re=l(Sn(se),9),re.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),c=new $t(qt(si(O).a.Jc(),new L));an(c);)a=l(en(c),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 L)))?(N=0,N=S1t(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 c3n(e,t,r){var o,a,c,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),vxn(e),K0n(e),ei(bs(new Et(null,new St(e.e.b,16)),new PUe),new jJe(e)),ei(lr(bs(lr(bs(new Et(null,new St(e.e.b,16)),new JUe),new XUe),new ZUe),new QUe),new PJe(e)),Ye(Ke(F(e.e,(Be(),HI))))&&(f=r.dh(1),f.Tg("Straight Edges Pre-Processing",1),qkn(e),f.Ug()),Obn(e.f),c=l(F(t,qI),15).a*e.f.a.c.length,TJ(Qce(ele(LV(e.f),c),!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 jUe),new RUe)),15).a,m=l(Xu(Jw(Oa(new Et(null,new St(e.f.a,16)),new FUe),new OUe)),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(nW(e.i),new BUe),new UUe),new dat(p,v,y,T)),a=e.d.a.ec().Jc();a.Ob();)o=l(a.Pb(),220),o.g=1;TJ(Qce(ele(LV(e.f),c),!1),f.dh(1)),f.Ug()}Ye(Ke(F(t,HI)))&&(f=r.dh(1),f.Tg("Straight Edges Post-Processing",1),jyn(e),f.Ug()),kkn(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,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;return T=KAn(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),re=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,[re.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,c=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,[re.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+c,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 l3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr,Ou,us;if(It=null,on=t,Lt=Uft(e,Ict(r),on),v_(Lt,sp(on,qf)),qn=l(pE(e.n,nT(op(on,oQ))),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=(!Lt.b&&(Lt.b=new Tt(pn,Lt,4,7)),Lt.b),c=null,Gr?c=Gr:c=qn,Tn(lt,c),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),re="An edge must have a target node (edge id: '"+T,se=re+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=(!Lt.c&&(Lt.c=new Tt(pn,Lt,5,8)),Lt.c),f=null,us?f=us:f=Ou,Tn(ft,f),(!Lt.b&&(Lt.b=new Tt(pn,Lt,4,7)),Lt.b).i==0||(!Lt.c&&(Lt.c=new Tt(pn,Lt,5,8)),Lt.c).i==0)throw v=sp(on,qf),ye=eAt+v,qe=ye+Px,Y(new xf(qe));return E7(on,Lt),REn(on,Lt),It=FK(e,on,Lt),It}function MEt(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;for(re=new Me(Kr,Kr),t=new Me(Di,Di),lt=new V(e);lt.a<lt.c.c.length;)qe=l(q(lt),8),re.a=b.Math.min(re.a,qe.a),re.b=b.Math.min(re.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-re.a,t.b-re.b),y=new Me(re.a-50,re.b-N.a-50),v=new Me(re.a-50,t.b+N.a+50),T=new Me(t.a+N.b/2+50,re.b+N.b/2),O=new N0e(y,v,T),ye=new hi,c=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),c.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(c.c,se);for(r.c.length=0,de=new V(c);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(c);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(Ybt(ye,c),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 dYe(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,UQe(),BLt=Bi.a,l(oe(Ne(Bi.a),0),20),FLt=Bi.f,l(oe(Ne(Bi.f),0),20),l(oe(Ne(Bi.f),1),38),$Lt=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),jLt=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),PLt=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),Lh=Bi.k,l(oe(Ne(Bi.k),0),38),l(oe(Ne(Bi.k),1),38)}function Y0e(e){var t,r,o,a,c;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(c=s3n(e),t=e.c,t){case 3:return e.Gm(c);case 4:return e.Em(c);case 5:return e.Fm(c);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 Dn(jn((Cn(),_Ee))))}else throw Y(new Dn(jn((Cn(),CAt))));if(r=o,t==44){if(a>=e.j)throw Y(new Dn(jn((Cn(),RAt))));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 Dn(jn((Cn(),_Ee))));if(o>r)throw Y(new Dn(jn((Cn(),OAt))))}else r=-1}if(t!=125)throw Y(new Dn(jn((Cn(),IAt))));e._l(a)?(c=(fr(),fr(),new oy(9,c)),e.d=a+1):(c=(fr(),fr(),new oy(3,c)),e.d=a),c.Mm(o),c.Lm(r),dr(e)}}return c}function d3n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee;for(a=1,O=new je,o=0;o<e.b.c.length;o++){if(t=Lyn(l(ze(e.b,o),26)),se=smn(l(ze(e.b,o),26)),v=imn(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(le(F(e,(Be(),$1)))),b.Math.max(l(ze(e.b,o),26).a.c.length*ue(le(F(e,Qy))),ue(le(F(e,tv))))),r+=b.Math.max(ue(le(F(e,vm))),ue(le(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 No(T,Re(o+f+a))),Ot(de.c,T);for(a+=t-1,re=(at(0,de.c.length),l(de.c[0],26)).a.c.length,c=0,z=0,Ee=0;c<re;++c,++z,Ee++)M=l(ze((at(0,de.c.length),l(de.c[0],26)).a,z),9),M.k!=(zt(),AI)?z+=BNn(e,de,Ee%t,z):(c-=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(),rD)||M.k==AI)&&Mu(J)}function P0(e,t,r){var o,a,c,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(Lx+t.ve()+W0));if(ae(t,462)){if(z=eTn(l(t,682),r),!z)throw Y(new jt(rQ+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=GK(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(rQ+r+"' does not match any member types of the union datatype '"+t.ve()+"'"))}if(l(t,839).mk(),a=Bpn(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))c=aj(r),f=c[0];else throw Y(J)}return A6(f)}if(a==l$){for(p=0;p<R4.length;++p)try{return Xet(R4[p],r)}catch(J){if(J=ci(J),!ae(J,33))throw Y(J)}throw Y(new jt(rQ+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(rQ+r+"' is invalid. "))}function VJ(){VJ=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,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt;for(e.d=new Me(Kr,Kr),e.c=new Me(Di,Di),N=t.Jc();N.Ob();)for(v=l(N.Pb(),37),se=new V(v.a);se.a<se.c.c.length;)re=l(q(se),9),e.d.a=b.Math.min(e.d.a,re.n.a-re.d.b),e.d.b=b.Math.min(e.d.b,re.n.b-re.d.d),e.c.a=b.Math.max(e.c.a,re.n.a+re.o.a+re.d.c),e.c.b=b.Math.max(e.c.b,re.n.b+re.o.b+re.d.a);for(p=new AZe,T=t.Jc();T.Ob();)v=l(T.Pb(),37),o=WNn(e,v),Fe(p.a,o),o.a=o.a|!l(F(o.c,(Ie(),_p)),24).dc();for(e.b=(qK(),lt=new iG,lt.f=new Jft(r),lt.b=ekn(lt.f,p),lt),gkn((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=Tun(e.b,a),PTn(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(c=new V(p.a);c.a<c.c.c.length;)for(a=l(q(c),847),y=new V(ygn(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 f3n(e,t){var r,o,a,c,f,p,m,y;if(r=0,f=0,c=t.length,p=null,y=new lS,f<c&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,++r,f<c&&(Yt(f,t.length),t.charCodeAt(f)==43||(Yt(f,t.length),t.charCodeAt(f)==45))))throw Y(new kf(F0+t+'"'));for(;f<c&&(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<c&&(Yt(f,t.length),t.charCodeAt(f)==46)){for(++f,r=f;f<c&&(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<c&&(Yt(f,t.length),t.charCodeAt(f)==101||(Yt(f,t.length),t.charCodeAt(f)==69))&&(++f,r=f,f<c&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,f<c&&(Yt(f,t.length),t.charCodeAt(f)!=45)&&++r),p=(io(r,c,t.length),t.substr(r,c-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 dgn(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 h3n(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 p3n(e){var t,r,o,a,c;switch(r=l(F(e,(Ie(),xa)),24),t=O8(jkt),a=l(F(e,(Be(),Wy)),348),a==(pp(),Ig)&&yc(t,Fkt),Ye(Ke(F(e,vte)))?$n(t,(Vi(),id),(Zi(),vee)):$n(t,(Vi(),la),(Zi(),vee)),F(e,(ZP(),p4))!=null&&yc(t,$kt),(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),me(F(e,wD))!==me((_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)),me(F(e,cB))!==me((W_(),NI))&&me(F(e,kp))!==me((gp(),GD))&&Ra(t,(Vi(),Ho),(Zi(),vSe)),Ye(Ke(F(e,SAe)))&&$n(t,(Vi(),la),(Zi(),ySe)),Ye(Ke(F(e,mte)))&&$n(t,(Vi(),la),(Zi(),RSe)),S2n(e)&&(me(F(e,Wy))===me(Ig)?o=l(F(e,mD),303):o=l(F(e,bte),303),c=o==(__(),Jee)?(Zi(),kSe):(Zi(),DSe),$n(t,(Vi(),da),c)),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 me(F(e,Ch))!==me((bp(),B1))&&$n(t,(Vi(),la),(Zi(),LSe)),t}function g3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft;if(!t.dc()){if(a=new Du,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(le(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),c=f.a,c.b!=0&&(o?(y=tp(br(v,(un(c.b!=0),l(c.a.a.c,8))),.5),Wr(a,y,a.c.b,a.c),o=!1):o=!0,v=To((un(c.b!=0),l(c.c.b.c,8))),mo(a,c),tc(c));U=p.d,ou.Gc(U.j)&&(z=ue(le(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_(),Wte)&&(J=(un(a.b!=0),l(a.a.a.c,8)),re=l(sa(a,1),8),se=new IW(zge(M.j)),se.a*=5,se.b*=5,de=Li(new Me(re.a,re.b),J),Ee=new Me(NW(se.a,de.a),NW(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 IW(zge(U.j)),se.a*=5,se.b*=5,de=Li(new Me(lt.a,lt.b),qe),ft=new Me(NW(se.a,de.a),NW(se.b,de.b)),br(ft,qe),WA(a,a.b-1,ft)),O=new C0e(a),mo(p.a,M1t(O))}}function b3n(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Lp;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)&&(re=l(se,127),Ee+=Gd(re).i,Ee+=Gd(re).i),Ee+=de,ye+=U,Lt=l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83),qn=Lt.mh(),Gr=Lt.nh(),on=Lt.lh()/2,qe=Lt.kh()/2,ae(Lt,196)&&(It=l(Lt,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)),c=u7(t,5),se==Lt&&++c,Rc=lt-z,hd=ft-J,Ou=b.Math.sqrt(Rc*Rc+hd*hd),T=Ou*.20000000298023224,T2=Rc/(c+1),Lp=hd/(c+1),us=z,jg=J,v=0;v<c;v++)us+=T2,jg+=Lp,N=us+Bu(t,24)*_L*T-T/2,N<0?N=1:N>r&&(N=r-1),O=jg+Bu(t,24)*_L*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 WJ(e,t){RJ();var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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(c=a[0],c<0){qe=Gi(c,$o);do T=qe,qe=W6(qe,10),z[--r]=48+Ln(El(T,wo(qe,10)))&Ei;while(Ea(qe,0)!=0)}else{qe=c;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(re=0,p=ye-1;p>=0;p--)Ee=Ao(fh(re,32),Gi(de[p],$o)),O=lwn(Ee),de[p]=Ln(O),re=Ln(u0(O,32));M=Ln(re),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 PEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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,Gne),331),Ee=l(ve(e.c,qne),432),f=l(ve(e.c,pke),480),de=l(ve(e.c,zne),433),e.j=ue(le(ve(e.c,UOt))),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 Qat(p,Ee,f),Te(e.d,(S_(),EI),Ke(ve(e.c,$Ot))),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 Tut(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 No(z,v))}switch(de.g){case 0:if(se==null)e.d.d=l(ze(e.d.i,0),68);else for(re=new V(e.d.i);re.a<re.c.c.length;)z=l(q(re),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),c=Kr,J=new V(e.d.i);J.a<J.c.c.length;)z=l(q(J),68),y=f1(z.a,a),y<c&&(c=y,e.d.d=z);break;default:throw Y(new jt(FF+(de.f!=null?de.f:""+de.g)))}return e.d}function jEt(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 jze))),Le(e,ku,mx,1.3),Le(e,ku,vx,(Dt(),!1)),Le(e,ku,B0,Wxe),Le(e,ku,$0,15),Le(e,ku,CF,Ge(vOt)),Le(e,ku,ME,Ge(TOt)),Le(e,ku,mT,Ge(_Ot)),Le(e,ku,bT,Ge(xOt)),Le(e,ku,Ex,Ge(SOt)),Le(e,ku,yx,Ge(Rne)),Le(e,ku,Sx,Ge(kOt)),Le(e,ku,Dve,Ge(Xxe)),Le(e,ku,Mve,Ge(Jxe)),Le(e,ku,Lve,Ge(Lne)),Le(e,ku,Ove,Ge(Zxe)),Le(e,ku,Pve,Ge(Vxe)),Le(e,ku,jve,Ge(One)),Le(e,ku,Fve,Ge(qxe)),Le(e,ku,$ve,Ge(Yxe)),Le(e,ku,wx,Ge(zxe)),Le(e,ku,RF,Ge(EOt)),Le(e,ku,Cve,Ge(OD)),Le(e,ku,Nve,Ge(Hxe)),Le(e,ku,Ive,Ge(LD)),Le(e,ku,kve,Ge(Kxe)),Le(e,ku,Rve,Ge(Gxe))}function m3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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(),LT)),237);Rc>0;){for(;e.f.b!=0;)Gr=l(FV(e.f),9),e.c[Gr.p]=M--,g0e(e,Gr),--Rc;for(;e.g.b!=0;)Ou=l(FV(e.g),9),e.c[Ou.p]=O++,g0e(e,Ou),--Rc;if(Rc>0){for(N=Qi,re=new V(se);re.a<re.c.c.length;)U=l(q(re),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),Lt=pct(U.j),qe=Lt,lt=0,It=qe.length;lt<It;++lt)for(ye=qe[lt],Ee=Lf(ye.g),a=Ee,c=0,m=a.length;c<m;++c)o=a[c],us=o.d.i.p,e.c[U.p]>e.c[us]&&(mg(o,!0),Te(t,CT,(Dt(),!0)));e.a=null,e.d=null,e.c=null,tc(e.g),tc(e.f),r.Ug()}function FEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye;for(Ee=l(oe((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),v=new Du,de=new hn,ye=Vyt(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(jTt+(!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=Vyt(z),eu(de.f,z,U)),T=r?Li(new So(l(ze(ye,ye.c.length-1),8)),l(ze(U,U.c.length-1),8)):Li(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(re=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?hK(a):(se=br(new So(l(ze(U,r?U.c.length-1-y:y),8)),l(Ss(ts(N.f,z)),8)),(re.a!=se.a||re.b!=se.b)&&(c=re.a-J.a,p=re.b-J.b,f=se.a-J.a,m=se.b-J.b,f*p==m*c&&(c==0||isNaN(c)?c:c<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(c)<b.Math.abs(f)||b.Math.abs(p)<b.Math.abs(m))&&Wr(v,re,v.c.b,v.c):y>1&&Wr(v,J,v.c.b,v.c),hK(a)));J=re}return v}function $Et(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;for(r.Tg(zSt,1),It=l(Au(lr(new Et(null,new St(t,16)),new tze),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),v=l(Au(lr(new Et(null,new St(t,16)),new rXe(t)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),M=l(Au(lr(new Et(null,new St(t,16)),new nXe(t)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),U=we(MB,DF,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 nze),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(c=0;c<U.length;c++)Te(U[c],(Nr(),o4),Re(c));for(T=l(w1n(lr(new Et(null,new St(t,16)),new rze)),526),ye=T,qe=0,lt=ye.length;qe<lt;++qe){for(Ee=ye[qe],o=LK(Ee),$Et(e,o,r.dh(1/T.length|0)),At(),zb(o,new KG((Nr(),o4))),z=new Ar,de=An(o,0);de.b!=de.d.c;)for(se=l(Sn(de),41),re=An(Ee.d,0);re.b!=re.d.c;)J=l(Sn(re),65),J.c==se&&Wr(z,J,z.c.b,z.c);tc(Ee.d),mo(Ee.d,z)}r.Ug()}function BEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;for(se=ue(le(ve(t,(yh(),iv)))),O=ue(le(ve(t,u4))),N=ue(le(ve(t,qB))),gge((!t.a&&(t.a=new ke(En,t,10,11)),t.a)),J=Ivt((!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)),zpt(m,M.f+M.b+e.b)),U=v3n(z,J,se,e.b,Ye(Ke(ve(t,(ef(),One))))),Ye(Ke(U.b))){for(c=new V(m.a);c.a<c.c.c.length;)a=l(q(c),175),a.c=!1,a.k=!1,Svt(a);m.d=new je,m.e=se,--z}else if(Ymn(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 re=cbt(J,e.b),de=b.Math.max(re.a,O-(r.b+r.c)),y=b.Math.max(re.b,N-(r.d+r.a)),o=y-re.b,Vn(t,a4,o),Vn(t,VB,J),new jfe(e.a,de,re.b+o,(xC(),DD))}function w3n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on;if(qe=l(F(e,(Be(),Zr)),103),qe!=(qi(),pf)&&qe!=W1){for(M=e.b,O=M.c.length,v=new La((wc(O+2,QJ),lj(Ao(Ao(5,O+2),(O+2)/10|0)))),U=new La((wc(O+2,QJ),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)),re=new je,Ot(U.c,re),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 L));an(y);)p=l(en(y),17),Lt=p.c.i,l1e(Lt)&&(ft=l(lt.xc(F(Lt,(Ie(),mr))),9),ft||(ft=Zmt(e,Lt),lt.yc(F(Lt,mr),ft),It.Ec(ft)),bo(p,l(ze(ft.j,1),12)));for(m=new $t(qt(Or(o).a.Jc(),new L));an(m);)p=l(en(m),17),on=p.d.i,l1e(on)&&(J=l(Ht(z,F(on,(Ie(),mr))),9),J||(J=Zmt(e,on),Jn(z,F(on,mr),J),Ot(re.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();)c=l(f.Pb(),9),Oi(c,N);for(Ee=new V(ye);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),Oi(de,null);Te(e,(Ie(),tte),ye)}}function y3n(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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),Lt=l(F(r,(Be(),FT)),15).a,T=b.Math.max(T,Lt);for(o=new V(ft.g);o.a<o.c.c.length;)r=l(q(o),17),Lt=l(F(r,(Be(),FT)),15).a,lt=b.Math.max(lt,Lt)}Te(de,OB,Re(T)),Te(de,LB,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++,pyt(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($kn(t,Gr,qe,v),Ou=l(Yd(Gr,we(T4t,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(re=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]=re++;!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(T4t,DSt,264,Ou.length,0,1),c=0;c<Ou.length;c++)for(U=Ou[c],on=z[c],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 v3n(e,t,r,o,a){var c,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(c=(at(f,p.c.length),l(p.c[f],175)),!c.c){if(c.b.c.length==0){eg(),q6(M,c),--f,U=!0;continue}if(c.k||(y&&f7(y),y=new Dhe(y?y.e+y.d+o:0,M.f,o),U6(c,y.e+y.d,M.f),Fe(M.d,y),Ege(y,c),c.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(),LD)))))u6(c,r-c.s),f7(c.q),U=U|Qwn(M,c,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(),LD))))&&IAn(t,M,c,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(LD)))&&Zxn(t,M,c,v,r,N,o,a)){if(U=!0,O<T){m=!0,v.j=M;break}continue}else if(Xge(M,c)){c.c=!0,U=!0;continue}}else if(Xge(M,c)){c.c=!0,U=!0;continue}if(U)continue}if(Xge(M,c)){c.c=!0,U=!0,v&&(v.k=!1);continue}else f7(c.q)}return new No((Dt(),!!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 Dn(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)==TL&&e.d<e.j&&(r=co(e.i,e.d),(r&64512)==56320&&(e.a=Co+(t-TL<<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 Dn(jn((Cn(),bQ))));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 Dn(jn((Cn(),bQ))));if(t=co(e.i,e.d++),t==61)o=16;else if(t==33)o=17;else throw Y(new Dn(jn((Cn(),dAt))));break;case 35:for(;e.d<e.j&&(t=co(e.i,e.d++),t!=41););if(t!=41)throw Y(new Dn(jn((Cn(),fAt))));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 Dn(jn((Cn(),bQ))))}break;case 92:if(o=10,e.d>=e.j)throw Y(new Dn(jn((Cn(),VF))));e.a=co(e.i,e.d++);break;default:o=0}e.c=o}function E3n(e,t,r){var o,a,c,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(le(F(t,ane))),q_n(e,t,a),MNn(t,O/2/2),M=t.b,zb(M,new YJe(a)),y=An(M,0);y.b!=y.d.c;)if(m=l(Sn(y),41),!Ye(Ke(F(m,(Nr(),z1))))){if(o=bTn(m,a),U=d_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}me(F(t,sne))===me((eC(),kD))?(c=T,f=N,p=hp(lr(new Et(null,new St(e.a,16)),new Mtt(c,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(Cft(new Et(null,new St(e.a,16))),new JJe(c))):p=hp(lr(Cft(new Et(null,new St(e.a,16))),new XJe(c))),p.a!=null&&(a==as||a==fs?m.e.a=ue(le((un(p.a!=null),l(p.a,49)).a)):m.e.b=ue(le((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,(Dt(),!0)),Te(m,Jf,Re(v))))):a==(vi(),as)||a==fs?m.e.a=T:m.e.b=T}r.Ug()}}function S3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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++,c=new $t(qt(Or(T).a.Jc(),new L));an(c);)a=l(en(c),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),C0n(e,t),M=new gP(new pJe(e)),de=new V(t.a);de.a<de.c.c.length;){for(re=l(q(de),9),c=new $t(qt(si(re).a.Jc(),new L));an(c);)a=l(en(c),17),e.a[a.p]||++e.b[re.p];e.b[re.p]==0&&xS(V_(M,re),fx)}for(p=0;M.b.c.length!=0;)for(re=l(dK(M),9),e.f[re.p]=p++,c=new $t(qt(Or(re).a.Jc(),new L));an(c);)a=l(en(c),17),!e.a[a.p]&&(z=a.d.i,--e.b[z.p],yt(e.c,z,Re(e.f[re.p])),e.b[z.p]==0&&xS(V_(M,z),fx));for(O=new gP(new gJe(e)),se=new V(t.a);se.a<se.c.c.length;){for(re=l(q(se),9),c=new $t(qt(Or(re).a.Jc(),new L));an(c);)a=l(en(c),17),e.a[a.p]||++e.e[re.p];e.e[re.p]==0&&xS(V_(O,re),fx)}for(v=new je,o=uat(t,v);O.b.c.length!=0;)for(J=l(dK(O),9),(o.a.c.length>=Ee||!_1n(J,o))&&(o=uat(t,v)),Oi(J,o),c=new $t(qt(si(J).a.Jc(),new L));an(c);)a=l(en(c),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 UEt(e){var t,r,o,a,c,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 Dn(jn((Cn(),mQ))));Ny(p,m),o=!0;break;default:r=e0e(e)}else if(y==24&&!a){if(t&&($C(t,p),p=t),c=UEt(e),$C(p,c),e.c!=0||e.a!=93)throw Y(new Dn(jn((Cn(),EAt))));break}if(dr(e),!o){if(y==0){if(r==91)throw Y(new Dn(jn((Cn(),TEe))));if(r==93)throw Y(new Dn(jn((Cn(),AEe))));if(r==45&&!a&&e.a!=93)throw Y(new Dn(jn((Cn(),wQ))))}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 Dn(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 Dn(jn((Cn(),wQ))));if(f=e.a,y==0){if(f==91)throw Y(new Dn(jn((Cn(),TEe))));if(f==93)throw Y(new Dn(jn((Cn(),AEe))));if(f==45)throw Y(new Dn(jn((Cn(),wQ))))}else y==10&&(f=e0e(e));if(dr(e),r>f)throw Y(new Dn(jn((Cn(),AAt))));Sa(p,r,f)}}}a=!1}if(e.c==1)throw Y(new Dn(jn((Cn(),WF))));return xE(p),PC(p),e.b=0,dr(e),p}function HEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de;de=!1;do for(de=!1,c=t?new Xh(e.a.b).a.gc()-2:1;t?c>=0:c<new Xh(e.a.b).a.gc();c+=t?-1:1)for(a=tpe(e.a,Re(c)),O=0;O<a.b;O++)if(T=l(sa(a,O),9),!!gr(T,(Ie(),Cr))&&!(M0n(e.a,Re(c))&&e.r==(_1(),ak)||P0n(e.a,Re(c))&&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?c+1:c-1,p=tpe(e.a,Re(m)),f=!1,re=!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),re=!1):!f&&re&&y.k==(zt(),ta)&&(o=!0,t?N=l(en(new $t(qt(si(y).a.Jc(),new L))),17).c.i:N=l(en(new $t(qt(Or(y).a.Jc(),new L))),17).d.i,N==T&&(t?r=l(en(new $t(qt(Or(y).a.Jc(),new L))),17).d.i:r=l(en(new $t(qt(si(y).a.Jc(),new L))),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&&(re=!1)));if(o&&re&&(t?r=l(en(new $t(qt(Or(T).a.Jc(),new L))),17).d.i:r=l(en(new $t(qt(si(T).a.Jc(),new L))),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)&&(re=!1)),f||re){for(U=bwt(e,T,t);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,mo(U,bwt(e,M,t));--O,de=!0}}}while(de)}function T3n(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,_te=(_n(),K6t),HAe=Y6t,vD=J6t,od=X6t,o2=ANe,ym=_Ne,ev=xNe,ok=kNe,sk=NNe,xte=oU,vm=Od,kte=Z6t,GI=RNe,EB=qT,yD=(Z0e(),$Ct),Qy=BCt,$1=UCt,tv=HCt,NIt=new Mi(HD,Re(0)),ik=PCt,UAe=jCt,FT=FCt,XAe=lIt,GAe=qCt,qAe=KCt,Cte=tIt,VAe=XCt,WAe=QCt,SB=pIt,Ite=dIt,YAe=sIt,KAe=iIt,JAe=uIt,IAe=wCt,Ete=pCt,bB=hCt,Ste=bCt,ow=ICt,zI=RCt,yte=H3t,yAe=G3t,LIt=wk,DIt=sU,OIt=dv,RIt=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),CIt=new Mi(Ere,Re(1)),aB=new Mi(gk,bx),wm=iU,Zr=bk,rk=m2,EIt=BD,Kf=M6t,Wy=h2,IIt=new Mi(Sre,(Dt(),!0)),Ky=UD,bm=hre,mm=Am,vB=G1,Ate=uv,gAe=(vi(),hf),xc=new Mi(Tm,gAe),iw=g2,wB=cNe,Xy=cv,kIt=vre,$Ae=SNe,FAe=(vE(),WD),new Mi(mNe,FAe),AIt=bre,_It=mre,xIt=wre,TIt=gre,Nte=GCt,gB=fCt,wD=dCt,qI=zCt,Cs=iCt,jT=D3t,BI=L3t,tk=w3t,fAe=y3t,bte=T3t,mD=v3t,mte=R3t,RAe=yCt,OAe=vCt,_Ae=Z3t,yB=DCt,Tte=TCt,vte=W3t,DAe=NCt,wAe=B3t,wte=U3t,gte=$D,LAe=ECt,cB=e3t,uAe=QNt,uB=ZNt,SAe=J3t,EAe=Y3t,TAe=X3t,nk=b2,ss=p2,_g=$6t,Yf=fre,i2=rU,hAe=_3t,xg=yre,PI=F6t,pB=U6t,sw=yNe,jAe=G6t,Yy=q6t,kAe=sCt,NAe=uCt,Zy=GT,dte=XNt,CAe=lCt,hB=j3t,fB=P3t,mB=Cp,xAe=tCt,HI=_Ct,ED=CNe,pAe=M3t,BAe=MCt,mAe=F3t,wIt=k3t,yIt=N3t,SIt=rCt,vIt=C3t,AAe=pre,UI=oCt,dB=I3t,Ch=m3t,hte=p3t,bD=n3t,fte=r3t,lB=g3t,jI=t3t,pte=b3t,Vy=h3t,$I=f3t,mIt=d3t,PT=i3t,FI=l3t,dAe=c3t,cAe=o3t,lAe=a3t,vAe=K3t}function A3n(e,t,r,o,a,c,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(mgt(ey(Oa(new Et(null,new St(r.b,16)),new hze),new JHe))),T.e.b+T.f.b/2>v?(y=++O,p=ue(le(Xu(Jw(Oa(new Et(null,new St(r.b,16)),new Ftt(a,y)),new XHe))))):(m=++N,p=ue(le(Xu(NS(Oa(new Et(null,new St(r.b,16)),new $tt(a,m)),new ZHe)))))):(v=wO(mgt(ey(Oa(new Et(null,new St(r.b,16)),new sze),new KHe))),T.e.a+T.f.a/2>v?(y=++O,p=ue(le(Xu(Jw(Oa(new Et(null,new St(r.b,16)),new jtt(a,y)),new QHe))))):(m=++N,p=ue(le(Xu(NS(Oa(new Et(null,new St(r.b,16)),new Ptt(a,m)),new ize)))))),t==as?(Eo(e.a,new Me(ue(le(F(T,(Nr(),Id))))-a,p)),Eo(e.a,new Me(M.e.a+M.f.a+a+c,p)),Eo(e.a,new Me(M.e.a+M.f.a+a+c,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(le(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-c,p)),Eo(e.a,new Me(M.e.a-a-c,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(le(F(T,(Nr(),Id))))-a)),Eo(e.a,new Me(p,M.e.b+M.f.b+a+c)),Eo(e.a,new Me(M.e.a+M.f.a/2,M.e.b+M.f.b+a+c)),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(le(F(T,(Nr(),sd))))+a*l(f.b,15).a),Eo(e.a,new Me(p,ue(le(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-c))),new No(Re(N),Re(O))}function _3n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O;if(f=!0,T=null,o=null,a=null,t=!1,O=XLt,y=null,c=null,p=0,m=bY(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=bY(e,p,O4,L4),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=bY(e,p+1,O4,L4),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=bY(e,p,O4,L4),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)&&(Hpn(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&&(c=hhe(e,++p)),rkn(f,T,o,a,O,y),new bJ(f,T,o,a,t,O,y,c)}function hL(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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(),Bte)||!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=zY(e,t),f=zY(e,r),a>f?(ac(e,t,r),1):(ac(e,r,t),-1)}for(re=e.f,se=0,de=re.length;se<de;++se){if(J=re[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=GEt(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 c=zY(e,t),p=zY(e,r),c>p?(ac(e,t,r),1):(ac(e,r,t),-1)}if(!N&&!M&&(o=GEt(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)?(c=L0(t,r,e.c,l(F(e.c,F1),15).a),p=L0(r,t,e.c,l(F(e.c,F1),15).a),c>p?(ac(e,t,r),1):(ac(e,r,t),-1)):(ac(e,r,t),-1)}function zEt(){zEt=K,VJ(),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 x3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye;switch(r.Tg("Brandes & Koepf node placement",1),e.a=t,e.c=n_n(t),o=l(F(t,(Be(),Tte)),284),O=Ye(Ke(F(t,HI))),e.d=o==(K6(),X$)&&!O||o==Kee,Jxn(e,t),Ee=null,ye=null,J=null,re=null,z=(wc(4,Iy),new La(4)),l(F(t,Tte),284).g){case 3:J=new NE(t,e.c.d,(zd(),Em),(If(),kg)),Ot(z.c,J);break;case 1:re=new NE(t,e.c.d,(zd(),uf),(If(),kg)),Ot(z.c,re);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)),re=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,re)}for(a=new Itt(t,e.c),p=new V(z);p.a<p.c.c.length;)c=l(q(p),188),FNn(a,c,e.b),D_n(c);for(N=new ubt(t,e.c),m=new V(z);m.a<m.c.c.length;)c=l(q(m),188),ckn(N,c);if(r.$g())for(y=new V(z);y.a<y.c.c.length;)c=l(q(y),188),r.ah(c+" size is "+lJ(c));if(T=null,e.d&&(v=INn(e,z,e.c.d),wvt(t,v,r)&&(T=v)),!T)for(y=new V(z);y.a<y.c.c.length;)c=l(q(y),188),wvt(t,c,r)&&(!T||lJ(T)>lJ(c))&&(T=c);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: "+x0t(T)),r.ah("Classes: "+wEn(T,r)),r.ah("Marked edges: "+e.b)),f=new V(z);f.a<f.c.c.length;)c=l(q(f),188),c.g=null,c.b=null,c.a=null,c.d=null,c.j=null,c.i=null,c.p=null;Dln(e.c),e.b.a.$b(),r.Ug()}function GEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;if(t.k==(zt(),gi)&&r.k==Xr)return c=l(ze(l(vS(hp(lr(new Et(null,new St(t.j,16)),new h9))),12).e,0),17).c,a=c.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):hL(e,a,r);if(t.k==Xr&&r.k==gi)return c=l(ze(l(vS(hp(lr(new Et(null,new St(r.j,16)),new h9))),12).e,0),17).c,a=c.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):hL(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,re=!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?(re=!0,J=ye):qe.c.p==z&&(se=!0,J=qe),y==J)if(e.a){if(v&&re)return It=KEt(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&&re)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 hL(e,y,J)}else return 0}function k3n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on;if(e.c.length==1)return x1t((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),re=0,M=sr,U=sr,N=Qi,O=Qi,J=An(f.b,0);J.b!=J.d.c;)z=l(Sn(J),41),re+=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(re)),Te(f,(Nr(),ck),new Me(M,U)),Te(f,ND,new Me(N,O))}for(At(),xi(e,new vHe),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=Li(To(l(F(f,(Nr(),ND)),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(le(F(Ee,(js(),cRt))))),qe=ue(le(F(Ee,ane))),Lt=0,on=0,v=0,t=qe,p=new V(e);p.a<p.c.c.length;)f=l(q(p),121),ye=Li(To(l(F(f,(Nr(),ND)),8)),l(F(f,ck),8)),Lt+ye.a>T&&(Lt=0,on+=v+qe,v=0),Ryt(Ee,f,Lt,on),t=b.Math.max(t,Lt+ye.a),v=b.Math.max(v,ye.b),Lt+=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(),BD)))),se=lt.q?lt.q:xh,c=se.vc().Jc();c.Ob();)a=l(c.Pb(),45),ma(de,a.jd())?me(l(a.jd(),149).Rg())!==me(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 Zwt(Ee,new OG),x1t(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 Oat(e.b,e.a,t,e.c);case 1:return new P8(e.a,t,Ur(t.Ah(),e.c));case 43:return new mrt(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 Kft(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 Lit(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 wrt(e.a,t,Ur(t.Ah(),e.c));case 11:return new vrt(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 yrt(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 Pit(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 Mit(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 NV(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 N3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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))),re=!Ye(Ke(ve(T,wm))),re&&(O=(!T.a&&(T.a=new ke(En,T,10,11)),T.a).i!=0,U=bwn(T),M=me(ve(T,Wy))===me((pp(),Ig)),qn=!Gc(T,(_n(),zT))||blt(In(ve(T,zT))),Ee=null,qn&&M&&(O||U)&&(Ee=ivt(T),Te(Ee,xc,qe),gr(Ee,yD)&&pQe(new E1e(ue(le(F(Ee,yD)))),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 SYe(N)),Gwt(T,Ee))),lt=r,ft=l(Ht(e.a,Br(T)),9),ft&&(lt=ft.e),de=hEt(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,fD,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),wyt(m),V7(t)&&Vn(m,Cr,Re(z++)),Lt=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(Lt,wm)))||Ye(Ke(ve(on,wm))))&&(J=R0(m)&&Ye(Ke(ve(Lt,Ky)))&&Ye(Ke(ve(m,bm))),ye=f,J||uy(on,Lt)?ye=Lt:uy(Lt,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,NSn(e,m,t,r)));if(M=me(ve(f,Wy))===me((pp(),Ig)),M)for(c=new tn((!f.a&&(f.a=new ke(En,f,10,11)),f.a));c.e!=c.i.gc();)a=l(rn(c),19),qn=!Gc(a,(_n(),zT))||blt(In(ve(a,zT))),It=me(ve(a,Wy))===me(Ig),qn&&It&&Wr(p,a,p.c.b,p.c)}}function qEt(e){var t,r,o,a,c,f,p,m;for(c=0,a=e.a.b,m=An(e.a,0);m.b!=m.d.c;){if(p=l(Sn(m),243),f=(c+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*(c+1),t=new Me(ue(le(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ue(le(F(e.c,Id)))-e.e,o)):e.b==fs?(o=e.c.e.b+e.c.f.b+e.e*(c+1),t=new Me(ue(le(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ue(le(F(e.c,sd)))+e.e,o)):e.b==il?(o=e.c.e.a+e.c.f.a+e.e*(c+1),t=new Me(o,ue(le(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ue(le(F(e.c,Id)))-e.e)):(o=e.c.e.a+e.c.f.a+e.e*(c+1),t=new Me(o,ue(le(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ue(le(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(le(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ue(le(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(le(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ue(le(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(le(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ue(le(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(le(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ue(le(F(e.c,sd)))+e.e)):(e.f=!0,e.b==(vi(),as)?(o=e.d.e.b-e.e*(c+1),t=new Me(ue(le(F(e.d,(Nr(),sd))))+e.e,o),r=new Me(ue(le(F(e.d,Id)))-e.e,o)):e.b==fs?(o=e.d.e.b-e.e*(c+1),t=new Me(ue(le(F(e.d,(Nr(),Id))))-e.e,o),r=new Me(ue(le(F(e.d,sd)))+e.e,o)):e.b==il?(o=e.d.e.a-e.e*(c+1),t=new Me(o,ue(le(F(e.d,(Nr(),sd))))+e.e),r=new Me(o,ue(le(F(e.d,Id)))-e.e)):(o=e.d.e.a-e.e*(c+1),t=new Me(o,ue(le(F(e.d,(Nr(),Id))))-e.e),r=new Me(o,ue(le(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,++c}}function C3n(e,t,r,o,a,c){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,[c2t,l2t])[p]):zn(e,Z(X(Je,1),Pe,2,6,["BC","AD"])[p]);break;case 121:rbn(e,r,o);break;case 77:oAn(e,r,o);break;case 107:m=a.q.getHours(),m==0?bh(e,24,r):bh(e,m,r);break;case 83:E2n(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,[hX,pX,gX,bX,mX,wX,yX])[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,[hX,pX,gX,bX,mX,wX,yX])[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,[nX,rX,iX,oX,lT,sX,aX,uX,cX,lX,dX,fX])[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,c.c[0]):zn(e,c.c[1]);break;case 118:zn(e,c.b);break;case 90:r<3?zn(e,Evn(c)):r==3?zn(e,_vn(c)):zn(e,Cvn(c.a));break;default:return!1}return!0}function X0e(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn;if(wyt(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),Lt=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)&&(Lt=l(It,9),on=l(ze(Lt.j,0),12))),!qe||!Lt)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==Lt&&O.Ec((Fo(),II)),lt||(Ee=(jo(),Ba),ft=null,f&&tE(l(F(qe,Zr),103))&&(ft=new Me(f.j,f.k),Pct(ft,ty(t)),clt(ft,r),uy(y,p)&&(Ee=Cu,br(ft,qe.n))),lt=Avt(qe,ft,Ee,o)),on||(Ee=(jo(),Cu),qn=null,f&&tE(l(F(Lt,Zr),103))&&(qn=new Me(f.b,f.c),Pct(qn,ty(t)),clt(qn,r)),on=Avt(Lt,qn,Ee,ji(Lt))),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=YK(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(c=l(F(o,BI),302),J=l(F(o,yB),329),a=c==(lC(),aD)||J==(hC(),Fte),f&&(!f.a&&(f.a=new yi(Ic,f,5)),f.a).i!=0&&a){for(re=vyn(f),M=new Du,de=An(re,0);de.b!=de.d.c;)se=l(Sn(de),8),Gn(M,new So(se));Te(U,vTe,M)}return U}function I3n(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,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 oze),new YHe)),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 Ci,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 iXe(T)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[nu]))),16),M=0,t==(vi(),as)||t==fs){for(ye.gd(new dze),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 fze),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,c=new ro,Gn(y.a,a),Gn(y.a,c),f=new PV(a,c,y),re=Of(fh(p,32),Gi(M,$o)),ma(qe,my(re))?(O=l(Ht(qe,my(re)),669),Gn(O.a,f),ep(O.b)?zb(O.a,new pze):zb(O.a,new gze),qEt(O)):(O=new U1t(M==0?null:l(ye.Xb(M-1),41),M==ye.gc()?null:l(ye.Xb(M),41),f,e),Jn(qe,my(re),O)),t==as||t==fs?(O.f&&O.d.e.b<=ue(le(F(e,(Nr(),rne))))&&++ft,O.g&&O.c.e.b+O.c.f.b>=ue(le(F(e,(Nr(),q_e))))&&++It):(O.f&&O.d.e.a<=ue(le(F(e,(Nr(),nne))))&&++ft,O.g&&O.c.e.a+O.c.f.a>=ue(le(F(e,(Nr(),G_e))))&&++It)}else de==0?hme(y):de<0&&(++lt[on],++z[Gr],Lt=A3n(y,t,e,new No(Re(ft),Re(It)),r,o,new No(Re(z[Gr]),Re(lt[on]))),ft=l(Lt.a,15).a,It=l(Lt.b,15).a)}function R3n(e){e.gb||(e.gb=!0,e.b=Ps(e,0),Jr(e.b,18),Dr(e.b,19),e.a=Ps(e,1),Jr(e.a,1),Dr(e.a,2),Dr(e.a,3),Dr(e.a,4),Dr(e.a,5),e.o=Ps(e,2),Jr(e.o,8),Jr(e.o,9),Dr(e.o,10),Dr(e.o,11),Dr(e.o,12),Dr(e.o,13),Dr(e.o,14),Dr(e.o,15),Dr(e.o,16),Dr(e.o,17),Dr(e.o,18),Dr(e.o,19),Dr(e.o,20),Dr(e.o,21),Dr(e.o,22),Dr(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),Dr(e.p,6),Dr(e.p,7),is(e.p),is(e.p),e.q=Ps(e,4),Jr(e.q,8),e.v=Ps(e,5),Dr(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),Dr(e.w,5),e.B=Ps(e,7),Dr(e.B,1),is(e.B),is(e.B),is(e.B),e.Q=Ps(e,8),Dr(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),Dr(e.T,10),Dr(e.T,11),Dr(e.T,12),Dr(e.T,13),Dr(e.T,14),is(e.T),is(e.T),e.U=Ps(e,12),Jr(e.U,2),Jr(e.U,3),Dr(e.U,4),Dr(e.U,5),Dr(e.U,6),Dr(e.U,7),is(e.U),e.V=Ps(e,13),Dr(e.V,10),e.W=Ps(e,14),Jr(e.W,18),Jr(e.W,19),Jr(e.W,20),Dr(e.W,21),Dr(e.W,22),Dr(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),Dr(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),Dr(e.eb,8),Dr(e.eb,9),e.ab=Ps(e,17),Jr(e.ab,0),Jr(e.ab,1),e.H=Ps(e,18),Dr(e.H,0),Dr(e.H,1),Dr(e.H,2),Dr(e.H,3),Dr(e.H,4),Dr(e.H,5),is(e.H),e.db=Ps(e,19),Dr(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 VEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se;if(yvt(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),VEt(e,a),Ot(p.c,a);for(m=p.c.length,M=0;M<p.c.length-1;M++)cEt((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(le((at(N,p.c.length),l(p.c[N],19)).mf((wh(),cw)))),o=0;o<m;o++)y<ue(le((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(le((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(le((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(le((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),re=(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(re,ue(le((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),re=(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(re,ue(le((at(m-1,p.c.length),l(p.c[m-1],19)).mf(cw))),J)),c=new V(p);c.a<c.c.c.length;)a=l(q(c),19),Vn(t,Xf,b.Math.max(ue(le(ve(t,Xf))),ue(le(ve(a,Xf))))),Vn(t,hk,b.Math.min(ue(le(ve(t,hk))),a.i+ue(le(ve(a,hk))))),Vn(t,fk,b.Math.max(ue(le(ve(t,fk))),a.i+ue(le(ve(a,fk)))));Vn(t,Wne,le(ve(t,Xf)))}}function WEt(e,t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft;if(yvt(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),WEt(e,o),Ot(f.c,o);for(f_n(e,f),T=0;T<f.c.length-1;T++)cEt((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(re=0,Ee>0&&(re=((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(),Zne))))){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<re){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);re=r}if(r>re){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);re=r}}for(c=new V(f);c.a<c.c.c.length;)o=l(q(c),19),va(o,o.i-re);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(le(ve(t,Xf))),ue(le(ve(o,Xf))))),Vn(t,hk,b.Math.min(ue(le(ve(t,hk))),o.i+ue(le(ve(o,hk))))),Vn(t,fk,b.Math.max(ue(le(ve(t,fk))),o.i+ue(le(ve(o,fk)))));Vn(t,Wne,le(ve(t,Xf)))}}function O3n(e,t,r,o){var a,c,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,LF))for(c=l(Au(new Et(null,new St($vn(v,e),16)),ju(new Qo,new ls,new Ci,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),t==(vi(),as)||t==fs?c.gd(new cze):c.gd(new lze),M=c.gc(),a=0;a<M;a++)f=M==1?.5:(1+a)/(M+1),t==as?(y=ue(le(F(v,(Nr(),sd)))),v.e.a+v.f.a+o<y?Eo(l(c.Xb(a),65).a,new Me(y+r,v.e.b+v.f.b*f)):l(c.Xb(a),65).a.b>0&&(p=l(zl(l(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(c.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(c.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(c.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(c.Xb(a),65).a,new Me(v.e.a+v.f.a,v.e.b+v.f.b*f))):t==fs?(y=ue(le(F(v,(Nr(),Id)))),v.e.a-o>y?Eo(l(c.Xb(a),65).a,new Me(y-r,v.e.b+v.f.b*f)):l(c.Xb(a),65).a.b>0&&(p=l(zl(l(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(c.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(c.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f-o/2)):Eo(l(c.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f+o/2)))),Eo(l(c.Xb(a),65).a,new Me(v.e.a,v.e.b+v.f.b*f))):t==il?(y=ue(le(F(v,(Nr(),sd)))),v.e.b+v.f.b+o<y?Eo(l(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y+r)):l(c.Xb(a),65).a.b>0&&(p=l(zl(l(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(c.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(c.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(c.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(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b+v.f.b))):(y=ue(le(F(v,(Nr(),Id)))),upt(l(c.Xb(a),65),e)?Eo(l(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f,l(zl(l(c.Xb(a),65).a),8).b)):v.e.b-o>y?Eo(l(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y-r)):l(c.Xb(a),65).a.b>0&&(p=l(zl(l(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(c.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(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f-o/2,v.e.b-o/5.3)):Eo(l(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f+o/2,v.e.b-o/5.3)))),Eo(l(c.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b)))}function KEt(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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=Xen(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(re=l(q(se),12),v==re)return Zc(e,N,f,ye),-ye;if(z==re)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=Qpt(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=Qpt(l(Au(nW(e.d),ju(new Qo,new ls,new Ci,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=C1t(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(),ite)),9),J=l(F(N,ite),9),e.f==(bp(),Ute)&&T&&J&&gr(T,Cr)&&gr(J,Cr)?(p=L0(T,J,e.b,l(F(e.b,F1),15).a),O=L0(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=C1t(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=L0(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=L0(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)?(c=f.i.j.c.length,p=L0(f,N,e.b,c),O=L0(N,f,e.b,c),(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"),ste=new cr("processors"),gTe=new Pr("compoundNode",(Dt(),!1)),hD=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(),VD)),QE=new Pr("maxEdgeThickness",0),Ag=new Pr("reversed",!1),LT=new cr(W2t),Cd=new Pr("longEdgeSource",null),Nl=new Pr("longEdgeTarget",null),qy=new Pr("longEdgeHasLabelDummies",!1),pD=new Pr("longEdgeBeforeLabelDummy",!1),rB=new Pr("edgeConstraint",(Vb(),Hee)),tw=new cr("inLayerLayoutUnit"),hm=new Pr("inLayerConstraint",(lp(),dD)),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(Yee),10),new Hc(t,l(Gl(t,t.length),10),0))),Hs=new Pr("externalPortSide",(He(),Is)),wTe=new Pr("externalPortSize",new ro),tte=new cr("externalPortReplacedDummies"),iB=new cr("externalPortReplacedDummy"),_p=new Pr("externalPortConnections",(e=l(md(Ro),10),new Hc(e,l(Gl(e,e.length),10),0))),nw=new Pr(H2t,0),pTe=new cr("barycenterAssociates"),MT=new cr("TopSideComments"),NT=new cr("BottomSideComments"),tB=new cr("CommentConnectionPort"),rte=new Pr("inputCollect",!1),ote=new Pr("outputCollect",!1),CT=new Pr("cyclic",!1),mTe=new cr("crossHierarchyMap"),ute=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"),fD=new cr("modelOrderGroups.cb.number"),ite=new cr("longEdgeTargetNode"),j1=new Pr(ySt,!1),e2=new Pr(ySt,!1),nte=new cr("layerConstraints.hiddenNodes"),TTe=new cr("layerConstraints.opposidePort"),ate=new cr("targetNode.modelOrder"),DT=new Pr("tarjan.lowlink",Re(sr)),LI=new Pr("tarjan.id",Re(-1)),sB=new Pr("tarjan.onstack",!1),KNt=new Pr("partOfCycle",!1),r2=new cr("medianHeuristic.weight")}function _n(){_n=K;var e,t;zT=new cr(pTt),lv=new cr(gTt),Jke=(mh(),are),M6t=new pt(Pye,Jke),gk=new pt(mx,null),P6t=new cr(rEe),Zke=(Zb(),xr(lre,Z(X(dre,1),Ce,300,0,[cre]))),$D=new pt(CF,Zke),BD=new pt(UL,(Dt(),!1)),Qke=(vi(),hf),Tm=new pt(AZ,Qke),nNe=(gp(),Tre),tNe=new pt(BL,nNe),B6t=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),pre=new pt(RF,!1),v4=new pt(yx,!1),vNe=(qi(),W1),bk=new pt(lF,vNe),GT=new cr(IF),HD=new cr(CL),Ere=new cr(cF),Sre=new cr(WC),aNe=new Du,p2=new pt(Wye,aNe),F6t=new pt(Xye,!1),U6t=new pt(Zye,!1),new pt(bTt,0),uNe=new FN,Cp=new pt(kZ,uNe),iU=new pt(Dye,!1),W6t=new pt(mTt,1),av=new cr(wTt),sv=new cr(yTt),wk=new pt(RL,!1),new pt(vTt,!0),Re(0),new pt(ETt,Re(100)),new pt(STt,!1),Re(0),new pt(TTt,Re(4e3)),Re(0),new pt(ATt,Re(400)),new pt(_Tt,!1),new pt(xTt,!1),new pt(kTt,!0),new pt(NTt,!1),Xke=(Kj(),Cre),j6t=new pt(nEe,Xke),sNe=(V3(),YD),z6t=new pt(CTt,sNe),oNe=(O_(),zD),H6t=new pt(ITt,oNe),K6t=new pt(Sye,10),Y6t=new pt(Tye,10),J6t=new pt(Aye,20),X6t=new pt(_ye,10),ANe=new pt(MX,2),_Ne=new pt(TZ,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),Z6t=new pt(Iye,10),RNe=new pt(Rye,10),qT=new cr(Oye),INe=new Gnt,CNe=new pt(eve,INe),q6t=new cr(xZ),bNe=!1,G6t=new pt(_Z,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),bre=new cr(zye),mre=new cr(Gye),wre=new cr(qye),gre=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),fre=new pt(Yye,eNe),rU=new pt(IL,!1),Re(1),new pt(RTt,null),yNe=new cr(Qye),yre=new cr(Jye),TNe=(He(),Is),m2=new pt(Mye,TNe),zu=new cr(Lye),ENe=(xu(),ct(K1)),cv=new pt(Sx,ENe),vre=new pt(Bye,!1),SNe=new pt(Uye,!0),Re(1),rLt=new pt(ZZ,Re(3)),Re(1),oLt=new pt(iEe,Re(4)),sU=new pt(OL,1),aU=new pt(QZ,null),dv=new pt(LL,150),mk=new pt(DL,1.414),VT=new pt(U0,null),Q6t=new pt(oEe,1),UD=new pt(jye,!1),hre=new pt(Fye,!1),$6t=new pt(Kye,1),rNe=(T7(),_re),new pt(OTt,rNe),V6t=!0,iLt=(qP(),Nre),tLt=(VS(),pv),nLt=pv,eLt=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),yee=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),L$=new bi("LONG_EDGE_SPLITTER",16),vee=new bi("PORT_SIDE_PROCESSOR",17),k$=new bi("INVERTED_PORT_PROCESSOR",18),P$=new bi("PORT_LIST_SORTER",19),LSe=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(dSt,23),DSe=new bi(fSt,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),D$=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 L3n(e,t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Lp,ul,QT,U4,Dp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Sv,sCe,gw,H4,Vre,tA,z4,Tv,G4,Wre,KDt;for(sCe=0,qn=t,us=0,jg=qn.length;us<jg;++us)for(Lt=qn[us],Fg=new V(Lt.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),Lt.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(Lt=Gr[Rc],Lp=0,Fg=new V(Lt.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),Lt.c!=f.c.i.c){++Lp;break}for(QT=0,eA=new Xi(Lt.j,Lt.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),Lt.c!=f.c.i.c&&++Cm;Cm>0&&(Md.j==(He(),Wt)?(e.a[Md.p]=z4,++z4):(e.a[Md.p]=z4+Lp+QT,++QT))}z4+=QT}for(Nm=new hn,M=new uh,on=t,Ou=0,T2=on.length;Ou<T2;++Ou)for(Lt=on[Ou],Vre=new V(Lt.j);Vre.a<Vre.c.c.length;)for(H4=l(q(Vre),12),p=new V(H4.g);p.a<p.c.c.length;)if(f=l(q(p),17),G4=f.d,Lt.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 Nit,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),Dp=new V(Tv.d);Dp.a<Dp.c.c.length;)U4=l(q(Dp),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(rCn,{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(c=0,re=0;re<o.length;re++)o[re]==1?o[re]=c:--c;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(KDt=2*m-1,m-=1,Wre=we(Rn,Qn,30,KDt,15,1),a=0,lt=0;lt<tA.length;lt++)for(qe=tA[lt]+m,++Wre[qe];qe>0;)qe%2>0&&(a+=Wre[qe+1]),qe=(qe-1)/2|0,++Wre[qe];for(ft=we(w4t,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(w4t,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),$Dt=new dh(8,65),BDt=new dh(8,122),UDt=new dh(8,90),zDt=new dh(8,98),FDt=new dh(8,66),HDt=new dh(8,60),GDt=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,jDt=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",R_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,Jxt=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]))])),Yxt=new Kc("OUT_T_C",1,D1,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]))])),Xxt=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]))])),Uxt=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]))])),Bxt=new Kc("OUT_B_C",4,D1,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]))])),Hxt=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]))])),qxt=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]))])),Gxt=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]))])),zxt=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]))])),Kxt=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]))])),Wxt=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]))])),Vxt=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]))])),Fxt=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]))])),jxt=new Kc("IN_T_C",13,D1,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]))])),$xt=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]))])),Mxt=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,D1,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]))])),Pxt=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]))])),Oxt=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]))])),Rxt=new Kc("IN_B_C",19,D1,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]))])),Lxt=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]))])),nee=new Kc(qC,21,null,null,null,null,Z(X(kl,1),Rt,24,0,[]))}function Z0e(){Z0e=K,BTe=(m6(),K$),M3t=new pt(Dwe,BTe),W3t=new pt(Mwe,(Dt(),!1)),VTe=(UP(),ete),Z3t=new pt(gF,VTe),yCt=new pt(Pwe,!1),vCt=new pt(jwe,!0),XNt=new pt(Fwe,!1),rAe=(g6(),Hte),MCt=new pt($we,rAe),Re(1),zCt=new pt(Bwe,Re(7)),GCt=new pt(Uwe,!1),K3t=new pt(Hwe,!1),$Te=(tL(),jee),D3t=new pt(jL,$Te),YTe=(rL(),Dte),fCt=new pt(FL,YTe),WTe=(ic(),gD),iCt=new pt(zwe,WTe),Re(-1),rCt=new pt(Gwe,null),Re(-1),oCt=new pt(qwe,Re(-1)),Re(-1),sCt=new pt(HX,Re(4)),Re(-1),uCt=new pt(zX,Re(2)),KTe=(_1(),kB),dCt=new pt(GX,KTe),Re(0),lCt=new pt(qX,Re(0)),tCt=new pt(VX,Re(sr)),FTe=(lC(),kI),L3t=new pt(XC,FTe),w3t=new pt(Vwe,!1),_3t=new pt(WX,.1),R3t=new pt(KX,!1),k3t=new pt(Wwe,null),N3t=new pt(Kwe,null),Re(-1),C3t=new pt(Ywe,null),Re(-1),I3t=new pt(Jwe,Re(-1)),Re(0),y3t=new pt(Xwe,Re(40)),jTe=(__(),Xee),T3t=new pt(YX,jTe),PTe=cD,v3t=new pt(bF,PTe),nAe=(hC(),VI),DCt=new pt(PE,nAe),_Ct=new cr(mF),QTe=(l6(),J$),ECt=new pt(JX,QTe),eAe=(K6(),X$),TCt=new pt(XX,eAe),NCt=new pt(ZX,.3),ICt=new cr(QX),tAe=(wy(),xB),RCt=new pt(eZ,tAe),zTe=(Oj(),Gte),B3t=new pt(Zwe,zTe),GTe=(nC(),Vte),U3t=new pt(Qwe,GTe),qTe=(R_(),JI),H3t=new pt(wF,qTe),G3t=new pt(yF,.2),F3t=new pt(tZ,2),$Ct=new pt(eye,null),UCt=new pt(tye,10),BCt=new pt(nye,10),HCt=new pt(rye,20),Re(0),PCt=new pt(iye,Re(0)),Re(0),jCt=new pt(oye,Re(0)),Re(0),FCt=new pt(sye,Re(0)),ZNt=new pt(nZ,!1),CTe=(W_(),NI),e3t=new pt(aye,CTe),NTe=(tj(),Lee),QNt=new pt(uye,NTe),J3t=new pt(vF,!1),Re(0),Y3t=new pt(rZ,Re(16)),Re(0),X3t=new pt(iZ,Re(5)),sAe=(Lj(),Yte),lIt=new pt(Sp,sAe),qCt=new pt(EF,10),KCt=new pt(SF,1),oAe=(mj(),W$),tIt=new pt(ZC,oAe),XCt=new cr(oZ),iAe=Re(1),Re(0),QCt=new pt(sZ,iAe),aAe=(bj(),Kte),pIt=new pt(TF,aAe),dIt=new cr(AF),sIt=new pt(_F,!0),iIt=new pt(xF,2),uIt=new pt(aZ,!0),ZTe=(GP(),lte),wCt=new pt(uZ,ZTe),pCt=new pt(cZ,!1),JTe=Re(2),Re(1),hCt=new pt(lZ,JTe),XTe=!0,bCt=new pt(dZ,XTe),HTe=(_7(),Y$),j3t=new pt(cye,HTe),UTe=(eT(),Kx),P3t=new pt(lye,UTe),MTe=(bp(),B1),m3t=new pt(kF,MTe),b3t=new pt(dye,!1),g3t=new pt($L,!1),ITe=(YS(),TI),t3t=new pt(fZ,ITe),DTe=(rC(),Mte),p3t=new pt(fye,DTe),n3t=new pt(hZ,0),r3t=new pt(pZ,0),h3t=new pt(gZ,Re(0)),f3t=new pt(bZ,Re(0)),d3t=new pt(mZ,Re(0)),RTe=(g1(),lD),i3t=new pt(hye,RTe),o3t=new cr(wZ),a3t=new cr(yZ),LTe=lD,l3t=new pt(pye,LTe),OTe=CP(Oan(Z(X(Ti,1),Pe,15,0,[Re(1),Re(2),Re(6),Re(7),Re(10),Re(11)]))),c3t=new pt(gye,OTe),eCt=$ee,Q3t=aD,aCt=AB,cCt=AB,nCt=Ote,x3t=(pp(),Ig),O3t=kI,A3t=kI,E3t=kI,S3t=Ig,xCt=WI,kCt=VI,SCt=VI,ACt=VI,CCt=$te,LCt=WI,OCt=WI,z3t=(gp(),WT),q3t=WT,V3t=JI,$3t=GD,VCt=uk,WCt=nv,YCt=uk,JCt=nv,nIt=uk,rIt=nv,ZCt=Dee,eIt=W$,gIt=uk,bIt=nv,fIt=uk,hIt=nv,aIt=nv,oIt=nv,cIt=nv,gCt=Re(2),mCt=cte,s3t=uD,u3t=uD}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),rDt=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),nDt=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),iDt=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),Lg=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),oDt=Ut.Q,l(oe(Ne(Ut.Q),0),20),l(oe(Er(Ut.Q),0),62),sDt=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),Dg=Ut.T,l(oe(Ne(Ut.T),0),20),l(oe(Ne(Ut.T),2),20),aDt=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),uDt=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),cDt=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),Oo=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 D3n(e){var t;e.O||(e.O=!0,Ma(e,"type"),xj(e,"ecore.xml.type"),kj(e,lm),t=l(Y_((n1(),Dl),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,VL,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,f_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,h_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,p_t,!1,!1,!0),oi(l(oe(Ne(e.qb),0),38),e.wb.D,VL,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,k_t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oi(l(oe(Ne(e.qb),6),38),e.gb,cQ,null,0,-2,null,!0,!0,!0,!1,!1,!0),nr(e.a,Ri,"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,qQ,"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),M3n(e))}function Q0e(e,t,r,o){var a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It,Lt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Lp,ul,QT,U4,Dp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Sv;if(o.Zg()||Ye(Ke(ve(t,(_n(),iU)))))return At(),At(),Io;if(qe=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0,ft=ivn(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)),o1t(t),!qe&&lt&&!Im)return At(),At(),Io;if(se=new je,me(ve(t,h2))===me((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=dyt(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),o1t(us),eA=me(ve(us,h2))===me(T4),eA||Gc(us,zT)&&!dpe(a,ve(us,lv))?(z=Q0e(e,us,r,o),li(se,z),Vn(us,h2,T4),Cyt(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(cTt,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(re=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));re.e!=re.i.gc();)J=l(rn(re),19),Ou=l(ve(J,lv),144),Lp=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+Lp.b+Lp.c),b.Math.max(J.f,Cm.b+Lp.d+Lp.a))):(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i!=0&&(Cm=new Me(ue(le(ve(J,dv))),ue(le(ve(J,dv)))/ue(le(ve(J,mk)))),i0(J,b.Math.max(J.g,Cm.a+Lp.b+Lp.c),b.Math.max(J.f,Cm.b+Lp.d+Lp.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),c1t(t,a,o.dh(T2)),l(ve(t,VT),283)==gU&&(qJ(t),i0(t,hd.b+ue(le(ve(t,av)))+hd.c,hd.d+ue(le(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)||qJ(t),U=ue(le(ve(t,av))),M=ue(le(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(le(ve(t,Q6t))))),Vn(t,sU,ul),Rm.ah(t.k+" -- Local Scale Factor (X|Y): ("+QT+"|"+U4+")"),de=l(ve(t,$D),24),c=0,f=0,ul<QT&&(de.Gc((Zb(),g4))?c=(O/2-U*ul/2)/ul:de.Gc(b4)&&(c=(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=c+(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(Dp=l(rn(Md),171),NO(Dp,Dp.j+Mp,Dp.k+Sv),kO(Dp,Dp.b+Mp,Dp.c+Sv),y=new tn((!Dp.a&&(Dp.a=new yi(Ic,Dp,5)),Dp.a));y.e!=y.i.gc();)m=l(rn(y),373),lV(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),Lt=An(on,0);Lt.b!=Lt.d.c;)It=l(Sn(Lt),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),Cyt(v)}if(o.Zg())return At(),At(),Io;for(Nm=new V(se);Nm.a<Nm.c.c.length;)Fg=l(q(Nm),74),Vn(Fg,iU,(Dt(),!0));return Ye(Ke(ve(t,wk)))||c1t(t,a,o.dh(T2)),bAn(se),lt&&Im?ft:(At(),At(),Io)}else return At(),At(),Io}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,NQ,o),ns(_k,NQ,xy(o)),o=new bc(4),$6(o,C_t),ns(E2,gI,o),ns(_k,gI,xy(o)),o=new bc(4),$6(o,C_t),ns(E2,gI,o),ns(_k,gI,xy(o)),o=new bc(4),$6(o,I_t),Ny(o,l(wa(E2,gI),122)),ns(E2,kQ,o),ns(_k,kQ,xy(o)),o=new bc(4),$6(o,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),ns(E2,CQ,o),ns(_k,CQ,xy(o)),o=new bc(4),$6(o,I_t),Sa(o,95,95),Sa(o,58,58),ns(E2,IQ,o),ns(_k,IQ,xy(o))),r=l(wa(t?E2:_k,e),140),r}function YEt(e){n0(e,new Qb(bq(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 vUe),Bt),xr((sT(),Dre),Z(X(s5,1),Ce,235,0,[yU,o5,i5,Lre,wU,mU]))))),Le(e,Bt,Sye,Ge(_te)),Le(e,Bt,Tye,Ge(HAe)),Le(e,Bt,Aye,Ge(vD)),Le(e,Bt,_ye,Ge(od)),Le(e,Bt,MX,Ge(o2)),Le(e,Bt,TZ,Ge(ym)),Le(e,Bt,xye,Ge(ev)),Le(e,Bt,kye,Ge(ok)),Le(e,Bt,Nye,Ge(sk)),Le(e,Bt,Cye,Ge(xte)),Le(e,Bt,$0,Ge(vm)),Le(e,Bt,Iye,Ge(kte)),Le(e,Bt,Rye,Ge(GI)),Le(e,Bt,Oye,Ge(EB)),Le(e,Bt,eye,Ge(yD)),Le(e,Bt,nye,Ge(Qy)),Le(e,Bt,tye,Ge($1)),Le(e,Bt,rye,Ge(tv)),Le(e,Bt,CL,Re(0)),Le(e,Bt,iye,Ge(ik)),Le(e,Bt,oye,Ge(UAe)),Le(e,Bt,sye,Ge(FT)),Le(e,Bt,Sp,Ge(XAe)),Le(e,Bt,EF,Ge(GAe)),Le(e,Bt,SF,Ge(qAe)),Le(e,Bt,ZC,Ge(Cte)),Le(e,Bt,oZ,Ge(VAe)),Le(e,Bt,sZ,Ge(WAe)),Le(e,Bt,TF,Ge(SB)),Le(e,Bt,AF,Ge(Ite)),Le(e,Bt,_F,Ge(YAe)),Le(e,Bt,xF,Ge(KAe)),Le(e,Bt,aZ,Ge(JAe)),Le(e,Bt,uZ,Ge(IAe)),Le(e,Bt,cZ,Ge(Ete)),Le(e,Bt,lZ,Ge(bB)),Le(e,Bt,dZ,Ge(Ste)),Le(e,Bt,QX,Ge(ow)),Le(e,Bt,eZ,Ge(zI)),Le(e,Bt,wF,Ge(yte)),Le(e,Bt,yF,Ge(yAe)),Le(e,Bt,RL,Ge(LIt)),Le(e,Bt,OL,Ge(DIt)),Le(e,Bt,LL,Ge(OIt)),Le(e,Bt,DL,Ge(RIt)),Le(e,Bt,U0,zAe),Le(e,Bt,B0,PAe),Le(e,Bt,BL,bAe),Le(e,Bt,Lye,0),Le(e,Bt,cF,Re(1)),Le(e,Bt,mx,bx),Le(e,Bt,Dye,Ge(wm)),Le(e,Bt,lF,Ge(Zr)),Le(e,Bt,Mye,Ge(rk)),Le(e,Bt,UL,Ge(EIt)),Le(e,Bt,Pye,Ge(Kf)),Le(e,Bt,NF,Ge(Wy)),Le(e,Bt,WC,(Dt(),!0)),Le(e,Bt,jye,Ge(Ky)),Le(e,Bt,Fye,Ge(bm)),Le(e,Bt,ME,Ge(mm)),Le(e,Bt,bT,Ge(vB)),Le(e,Bt,vx,Ge(Ate)),Le(e,Bt,AZ,gAe),Le(e,Bt,Ex,Ge(iw)),Le(e,Bt,$ye,Ge(wB)),Le(e,Bt,Sx,Ge(Xy)),Le(e,Bt,Bye,Ge(kIt)),Le(e,Bt,Uye,Ge($Ae)),Le(e,Bt,Hye,FAe),Le(e,Bt,zye,Ge(AIt)),Le(e,Bt,Gye,Ge(_It)),Le(e,Bt,qye,Ge(xIt)),Le(e,Bt,Vye,Ge(TIt)),Le(e,Bt,Uwe,Ge(Nte)),Le(e,Bt,FL,Ge(gB)),Le(e,Bt,GX,Ge(wD)),Le(e,Bt,Bwe,Ge(qI)),Le(e,Bt,zwe,Ge(Cs)),Le(e,Bt,jL,Ge(jT)),Le(e,Bt,XC,Ge(BI)),Le(e,Bt,Vwe,Ge(tk)),Le(e,Bt,Xwe,Ge(fAe)),Le(e,Bt,YX,Ge(bte)),Le(e,Bt,bF,Ge(mD)),Le(e,Bt,KX,Ge(mte)),Le(e,Bt,Pwe,Ge(RAe)),Le(e,Bt,jwe,Ge(OAe)),Le(e,Bt,gF,Ge(_Ae)),Le(e,Bt,PE,Ge(yB)),Le(e,Bt,XX,Ge(Tte)),Le(e,Bt,Mwe,Ge(vte)),Le(e,Bt,ZX,Ge(DAe)),Le(e,Bt,Zwe,Ge(wAe)),Le(e,Bt,Qwe,Ge(wte)),Le(e,Bt,CF,Ge(gte)),Le(e,Bt,JX,Ge(LAe)),Le(e,Bt,aye,Ge(cB)),Le(e,Bt,uye,Ge(uAe)),Le(e,Bt,nZ,Ge(uB)),Le(e,Bt,vF,Ge(SAe)),Le(e,Bt,rZ,Ge(EAe)),Le(e,Bt,iZ,Ge(TAe)),Le(e,Bt,mT,Ge(nk)),Le(e,Bt,Wye,Ge(ss)),Le(e,Bt,Kye,Ge(_g)),Le(e,Bt,Yye,Ge(Yf)),Le(e,Bt,IL,Ge(i2)),Le(e,Bt,WX,Ge(hAe)),Le(e,Bt,Jye,Ge(xg)),Le(e,Bt,Xye,Ge(PI)),Le(e,Bt,Zye,Ge(pB)),Le(e,Bt,Qye,Ge(sw)),Le(e,Bt,_Z,Ge(jAe)),Le(e,Bt,xZ,Ge(Yy)),Le(e,Bt,HX,Ge(kAe)),Le(e,Bt,zX,Ge(NAe)),Le(e,Bt,IF,Ge(Zy)),Le(e,Bt,Fwe,Ge(dte)),Le(e,Bt,qX,Ge(CAe)),Le(e,Bt,cye,Ge(hB)),Le(e,Bt,lye,Ge(fB)),Le(e,Bt,kZ,Ge(mB)),Le(e,Bt,VX,Ge(xAe)),Le(e,Bt,mF,Ge(HI)),Le(e,Bt,eve,Ge(ED)),Le(e,Bt,Dwe,Ge(pAe)),Le(e,Bt,$we,Ge(BAe)),Le(e,Bt,tZ,Ge(mAe)),Le(e,Bt,Wwe,Ge(wIt)),Le(e,Bt,Kwe,Ge(yIt)),Le(e,Bt,Gwe,Ge(SIt)),Le(e,Bt,Ywe,Ge(vIt)),Le(e,Bt,RF,Ge(AAe)),Le(e,Bt,qwe,Ge(UI)),Le(e,Bt,Jwe,Ge(dB)),Le(e,Bt,kF,Ge(Ch)),Le(e,Bt,fye,Ge(hte)),Le(e,Bt,hZ,Ge(bD)),Le(e,Bt,pZ,Ge(fte)),Le(e,Bt,$L,Ge(lB)),Le(e,Bt,fZ,Ge(jI)),Le(e,Bt,dye,Ge(pte)),Le(e,Bt,gZ,Ge(Vy)),Le(e,Bt,bZ,Ge($I)),Le(e,Bt,mZ,Ge(mIt)),Le(e,Bt,hye,Ge(PT)),Le(e,Bt,pye,Ge(FI)),Le(e,Bt,gye,Ge(dAe)),Le(e,Bt,wZ,Ge(cAe)),Le(e,Bt,yZ,Ge(lAe)),Le(e,Bt,Hwe,Ge(vAe))}function M3n(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,VL])),xn(l(oe(Ne(e.b),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,SQ,or,":mixed"])),xn(l(oe(Ne(e.b),1),38),Bn,Z(X(Je,1),Pe,2,6,[Al,SQ,LEe,AQ,or,":1",g_t,"lax"])),xn(l(oe(Ne(e.b),2),38),Bn,Z(X(Je,1),Pe,2,6,[Al,d_t,LEe,AQ,or,":2",g_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,b_t,DEe,"1"])),xn(e.r,Bn,Z(X(Je,1),Pe,2,6,[or,b_t,TQ,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,m_t,DEe,"1"])),xn(e.I,Bn,Z(X(Je,1),Pe,2,6,[or,m_t,TQ,"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,_Q,xQ,w_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,_Q,xQ,jEe])),xn(e.T,Bn,Z(X(Je,1),Pe,2,6,[or,o$,ho,"Name",xQ,y_t])),xn(e.U,Bn,Z(X(Je,1),Pe,2,6,[or,"negativeInteger",ho,v_t,XL,"-1"])),xn(e.V,Bn,Z(X(Je,1),Pe,2,6,[or,FEe,ho,_Q,xQ,"\\c+"])),xn(e.X,Bn,Z(X(Je,1),Pe,2,6,[or,"NMTOKENS",ho,E_t,DEe,"1"])),xn(e.W,Bn,Z(X(Je,1),Pe,2,6,[or,E_t,TQ,FEe])),xn(e.Y,Bn,Z(X(Je,1),Pe,2,6,[or,$Ee,ho,PEe,ZL,"0"])),xn(e.Z,Bn,Z(X(Je,1),Pe,2,6,[or,v_t,ho,PEe,XL,"0"])),xn(e.$,Bn,Z(X(Je,1),Pe,2,6,[or,S_t,ho,KJ,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,ZL,"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,WL])),xn(l(oe(Ne(e.fb),0),38),Bn,Z(X(Je,1),Pe,2,6,[or,":3",Al,WL])),xn(l(oe(Ne(e.fb),1),38),Bn,Z(X(Je,1),Pe,2,6,[or,":4",Al,WL])),xn(l(oe(Ne(e.fb),2),20),Bn,Z(X(Je,1),Pe,2,6,[or,":5",Al,WL])),xn(e.gb,Bn,Z(X(Je,1),Pe,2,6,[or,KJ,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,_Q,ho,S_t,xl,kd])),xn(e.jb,Bn,Z(X(Je,1),Pe,2,6,[or,T_t,XL,"255",ZL,"0"])),xn(e.kb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedByte:Object",ho,T_t])),xn(e.lb,Bn,Z(X(Je,1),Pe,2,6,[or,A_t,XL,"4294967295",ZL,"0"])),xn(e.mb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedInt:Object",ho,A_t])),xn(e.nb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedLong",ho,$Ee,XL,__t,ZL,"0"])),xn(e.ob,Bn,Z(X(Je,1),Pe,2,6,[or,x_t,XL,"65535",ZL,"0"])),xn(e.pb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedShort:Object",ho,x_t])),xn(e.qb,Bn,Z(X(Je,1),Pe,2,6,[or,"",Al,VL])),xn(l(oe(Ne(e.qb),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,SQ,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$,KL])),xn(l(oe(Ne(e.qb),4),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,"comment",r$,KL])),xn(l(oe(Ne(e.qb),5),20),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,k_t,r$,KL])),xn(l(oe(Ne(e.qb),6),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,cQ,r$,KL]))}function jn(e){return wt("_UI_EMFDiagnostic_marker",e)?"EMF Problem":wt("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":wt(cAt,e)?"Wrong character.":wt(lAt,e)?"Invalid reference number.":wt(VF,e)?"A character is required after \\.":wt(bQ,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":wt(dAt,e)?"'(?<' or '(?<!' is expected.":wt(fAt,e)?"A comment is not terminated.":wt(cm,e)?"')' is expected.":wt(vEe,e)?"Unexpected end of the pattern in a modifier group.":wt(hAt,e)?"':' is expected.":wt(pAt,e)?"Unexpected end of the pattern in a conditional group.":wt(gAt,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":wt(bAt,e)?"There are more than three choices in a conditional group.":wt(mAt,e)?"A character in U+0040-U+005f must follow \\c.":wt(wAt,e)?"A '{' is required before a character category.":wt(yAt,e)?"A property name is not closed by '}'.":wt(EEe,e)?"Unexpected meta character.":wt(mQ,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(vAt,e)?"Unknown name for a POSIX character class.":wt("parser.cc.4",e)?"'-' is invalid here.":wt(EAt,e)?"']' is expected.":wt(TEe,e)?"'[' is invalid in a character class. Write '\\['.":wt(AEe,e)?"']' is invalid in a character class. Write '\\]'.":wt(wQ,e)?"'-' is an invalid character range. Write '\\-'.":wt(SAt,e)?"'[' is expected.":wt(TAt,e)?"')' or '-[' or '+[' or '&[' is expected.":wt(AAt,e)?"The range end code point is less than the start code point.":wt(Sg,e)?"Invalid Unicode hex notation.":wt(_At,e)?"Overflow in a hex notation.":wt(xAt,e)?"'\\x{' must be closed by '}'.":wt(kAt,e)?"Invalid Unicode code point.":wt(NAt,e)?"An anchor must not be here.":wt(tl,e)?"This expression is not supported in the current option setting.":wt(CAt,e)?"Invalid quantifier. A digit is expected.":wt(IAt,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":wt(RAt,e)?"Invalid quantifier. A digit or '}' is expected.":wt(OAt,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 P3n(e){var t,r,o,a,c,f,p,m,y,v,T,N,O,M,U;e.r||(e.r=!0,Ma(e,"graph"),xj(e,"graph"),kj(e,Dx),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,Z3n,q2t,!0,!0,!1),M=mE(e.p,e.p,"setProperty"),U=Xht(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=mW(U),_be(v,T),b7(M,y,fEe),y=mW(U),b7(M,y,sI),M=mE(e.p,null,"getProperty"),U=Xht(M),y=ip(e.o),v=mW(U),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),b7(M,y,fEe),y=mW(U),O=Zd(M,y,null),O&&O.mj(),M=mE(e.p,e.wb.e,"hasProperty"),y=ip(e.o),v=(a=(c=new Ym,c),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,oQ),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,FTt,!0,!1,!0),Mr(l(oe(Ne(e.a),0),20),e.k,null,JTt,0,-1,Ak,!1,!1,!0,!0,!1,!1,!1),Ms(e.f,t5,BTt,!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._,XTt,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,sQ,dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.n),1),38),e.wb.t,aQ,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,aQ),os(M,e.wb.t,sQ),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),uQ,0,1,Rs,!1,!1,!0,!1,!1,!1,!1),oi(l(oe(Ne(e.g),1),38),e.wb._,cQ,"",0,1,Rs,!1,!1,!0,!1,!0,!1),Ms(e.c,pn,UTt,!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),lQ,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),uQ,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,ZTt,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),uQ,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),dQ,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),fQ,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,ZTt,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,$Tt,!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,HTt,!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),uQ,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._,XTt,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),I0t(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,sre,"IProperty",!0),nr(e.s,Ri,"PropertyValue",!0),Zge(e,Dx))}function JEt(){JEt=K,te=we(Eu,BE,30,Co,15,1),te[9]=35,te[10]=19,te[13]=19,te[32]=51,te[33]=49,te[34]=33,be(te,35,38,49),te[38]=1,be(te,39,45,49),be(te,45,47,-71),te[47]=49,be(te,48,58,-71),te[58]=61,te[59]=49,te[60]=1,te[61]=49,te[62]=33,be(te,63,65,49),be(te,65,91,-3),be(te,91,93,33),te[93]=1,te[94]=33,te[95]=-3,te[96]=33,be(te,97,123,-3),be(te,123,183,33),te[183]=-87,be(te,184,192,33),be(te,192,215,-19),te[215]=33,be(te,216,247,-19),te[247]=33,be(te,248,306,-19),be(te,306,308,33),be(te,308,319,-19),be(te,319,321,33),be(te,321,329,-19),te[329]=33,be(te,330,383,-19),te[383]=33,be(te,384,452,-19),be(te,452,461,33),be(te,461,497,-19),be(te,497,500,33),be(te,500,502,-19),be(te,502,506,33),be(te,506,536,-19),be(te,536,592,33),be(te,592,681,-19),be(te,681,699,33),be(te,699,706,-19),be(te,706,720,33),be(te,720,722,-87),be(te,722,768,33),be(te,768,838,-87),be(te,838,864,33),be(te,864,866,-87),be(te,866,902,33),te[902]=-19,te[903]=-87,be(te,904,907,-19),te[907]=33,te[908]=-19,te[909]=33,be(te,910,930,-19),te[930]=33,be(te,931,975,-19),te[975]=33,be(te,976,983,-19),be(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,be(te,994,1012,-19),be(te,1012,1025,33),be(te,1025,1037,-19),te[1037]=33,be(te,1038,1104,-19),te[1104]=33,be(te,1105,1117,-19),te[1117]=33,be(te,1118,1154,-19),te[1154]=33,be(te,1155,1159,-87),be(te,1159,1168,33),be(te,1168,1221,-19),be(te,1221,1223,33),be(te,1223,1225,-19),be(te,1225,1227,33),be(te,1227,1229,-19),be(te,1229,1232,33),be(te,1232,1260,-19),be(te,1260,1262,33),be(te,1262,1270,-19),be(te,1270,1272,33),be(te,1272,1274,-19),be(te,1274,1329,33),be(te,1329,1367,-19),be(te,1367,1369,33),te[1369]=-19,be(te,1370,1377,33),be(te,1377,1415,-19),be(te,1415,1425,33),be(te,1425,1442,-87),te[1442]=33,be(te,1443,1466,-87),te[1466]=33,be(te,1467,1470,-87),te[1470]=33,te[1471]=-87,te[1472]=33,be(te,1473,1475,-87),te[1475]=33,te[1476]=-87,be(te,1477,1488,33),be(te,1488,1515,-19),be(te,1515,1520,33),be(te,1520,1523,-19),be(te,1523,1569,33),be(te,1569,1595,-19),be(te,1595,1600,33),te[1600]=-87,be(te,1601,1611,-19),be(te,1611,1619,-87),be(te,1619,1632,33),be(te,1632,1642,-87),be(te,1642,1648,33),te[1648]=-87,be(te,1649,1720,-19),be(te,1720,1722,33),be(te,1722,1727,-19),te[1727]=33,be(te,1728,1743,-19),te[1743]=33,be(te,1744,1748,-19),te[1748]=33,te[1749]=-19,be(te,1750,1765,-87),be(te,1765,1767,-19),be(te,1767,1769,-87),te[1769]=33,be(te,1770,1774,-87),be(te,1774,1776,33),be(te,1776,1786,-87),be(te,1786,2305,33),be(te,2305,2308,-87),te[2308]=33,be(te,2309,2362,-19),be(te,2362,2364,33),te[2364]=-87,te[2365]=-19,be(te,2366,2382,-87),be(te,2382,2385,33),be(te,2385,2389,-87),be(te,2389,2392,33),be(te,2392,2402,-19),be(te,2402,2404,-87),be(te,2404,2406,33),be(te,2406,2416,-87),be(te,2416,2433,33),be(te,2433,2436,-87),te[2436]=33,be(te,2437,2445,-19),be(te,2445,2447,33),be(te,2447,2449,-19),be(te,2449,2451,33),be(te,2451,2473,-19),te[2473]=33,be(te,2474,2481,-19),te[2481]=33,te[2482]=-19,be(te,2483,2486,33),be(te,2486,2490,-19),be(te,2490,2492,33),te[2492]=-87,te[2493]=33,be(te,2494,2501,-87),be(te,2501,2503,33),be(te,2503,2505,-87),be(te,2505,2507,33),be(te,2507,2510,-87),be(te,2510,2519,33),te[2519]=-87,be(te,2520,2524,33),be(te,2524,2526,-19),te[2526]=33,be(te,2527,2530,-19),be(te,2530,2532,-87),be(te,2532,2534,33),be(te,2534,2544,-87),be(te,2544,2546,-19),be(te,2546,2562,33),te[2562]=-87,be(te,2563,2565,33),be(te,2565,2571,-19),be(te,2571,2575,33),be(te,2575,2577,-19),be(te,2577,2579,33),be(te,2579,2601,-19),te[2601]=33,be(te,2602,2609,-19),te[2609]=33,be(te,2610,2612,-19),te[2612]=33,be(te,2613,2615,-19),te[2615]=33,be(te,2616,2618,-19),be(te,2618,2620,33),te[2620]=-87,te[2621]=33,be(te,2622,2627,-87),be(te,2627,2631,33),be(te,2631,2633,-87),be(te,2633,2635,33),be(te,2635,2638,-87),be(te,2638,2649,33),be(te,2649,2653,-19),te[2653]=33,te[2654]=-19,be(te,2655,2662,33),be(te,2662,2674,-87),be(te,2674,2677,-19),be(te,2677,2689,33),be(te,2689,2692,-87),te[2692]=33,be(te,2693,2700,-19),te[2700]=33,te[2701]=-19,te[2702]=33,be(te,2703,2706,-19),te[2706]=33,be(te,2707,2729,-19),te[2729]=33,be(te,2730,2737,-19),te[2737]=33,be(te,2738,2740,-19),te[2740]=33,be(te,2741,2746,-19),be(te,2746,2748,33),te[2748]=-87,te[2749]=-19,be(te,2750,2758,-87),te[2758]=33,be(te,2759,2762,-87),te[2762]=33,be(te,2763,2766,-87),be(te,2766,2784,33),te[2784]=-19,be(te,2785,2790,33),be(te,2790,2800,-87),be(te,2800,2817,33),be(te,2817,2820,-87),te[2820]=33,be(te,2821,2829,-19),be(te,2829,2831,33),be(te,2831,2833,-19),be(te,2833,2835,33),be(te,2835,2857,-19),te[2857]=33,be(te,2858,2865,-19),te[2865]=33,be(te,2866,2868,-19),be(te,2868,2870,33),be(te,2870,2874,-19),be(te,2874,2876,33),te[2876]=-87,te[2877]=-19,be(te,2878,2884,-87),be(te,2884,2887,33),be(te,2887,2889,-87),be(te,2889,2891,33),be(te,2891,2894,-87),be(te,2894,2902,33),be(te,2902,2904,-87),be(te,2904,2908,33),be(te,2908,2910,-19),te[2910]=33,be(te,2911,2914,-19),be(te,2914,2918,33),be(te,2918,2928,-87),be(te,2928,2946,33),be(te,2946,2948,-87),te[2948]=33,be(te,2949,2955,-19),be(te,2955,2958,33),be(te,2958,2961,-19),te[2961]=33,be(te,2962,2966,-19),be(te,2966,2969,33),be(te,2969,2971,-19),te[2971]=33,te[2972]=-19,te[2973]=33,be(te,2974,2976,-19),be(te,2976,2979,33),be(te,2979,2981,-19),be(te,2981,2984,33),be(te,2984,2987,-19),be(te,2987,2990,33),be(te,2990,2998,-19),te[2998]=33,be(te,2999,3002,-19),be(te,3002,3006,33),be(te,3006,3011,-87),be(te,3011,3014,33),be(te,3014,3017,-87),te[3017]=33,be(te,3018,3022,-87),be(te,3022,3031,33),te[3031]=-87,be(te,3032,3047,33),be(te,3047,3056,-87),be(te,3056,3073,33),be(te,3073,3076,-87),te[3076]=33,be(te,3077,3085,-19),te[3085]=33,be(te,3086,3089,-19),te[3089]=33,be(te,3090,3113,-19),te[3113]=33,be(te,3114,3124,-19),te[3124]=33,be(te,3125,3130,-19),be(te,3130,3134,33),be(te,3134,3141,-87),te[3141]=33,be(te,3142,3145,-87),te[3145]=33,be(te,3146,3150,-87),be(te,3150,3157,33),be(te,3157,3159,-87),be(te,3159,3168,33),be(te,3168,3170,-19),be(te,3170,3174,33),be(te,3174,3184,-87),be(te,3184,3202,33),be(te,3202,3204,-87),te[3204]=33,be(te,3205,3213,-19),te[3213]=33,be(te,3214,3217,-19),te[3217]=33,be(te,3218,3241,-19),te[3241]=33,be(te,3242,3252,-19),te[3252]=33,be(te,3253,3258,-19),be(te,3258,3262,33),be(te,3262,3269,-87),te[3269]=33,be(te,3270,3273,-87),te[3273]=33,be(te,3274,3278,-87),be(te,3278,3285,33),be(te,3285,3287,-87),be(te,3287,3294,33),te[3294]=-19,te[3295]=33,be(te,3296,3298,-19),be(te,3298,3302,33),be(te,3302,3312,-87),be(te,3312,3330,33),be(te,3330,3332,-87),te[3332]=33,be(te,3333,3341,-19),te[3341]=33,be(te,3342,3345,-19),te[3345]=33,be(te,3346,3369,-19),te[3369]=33,be(te,3370,3386,-19),be(te,3386,3390,33),be(te,3390,3396,-87),be(te,3396,3398,33),be(te,3398,3401,-87),te[3401]=33,be(te,3402,3406,-87),be(te,3406,3415,33),te[3415]=-87,be(te,3416,3424,33),be(te,3424,3426,-19),be(te,3426,3430,33),be(te,3430,3440,-87),be(te,3440,3585,33),be(te,3585,3631,-19),te[3631]=33,te[3632]=-19,te[3633]=-87,be(te,3634,3636,-19),be(te,3636,3643,-87),be(te,3643,3648,33),be(te,3648,3654,-19),be(te,3654,3663,-87),te[3663]=33,be(te,3664,3674,-87),be(te,3674,3713,33),be(te,3713,3715,-19),te[3715]=33,te[3716]=-19,be(te,3717,3719,33),be(te,3719,3721,-19),te[3721]=33,te[3722]=-19,be(te,3723,3725,33),te[3725]=-19,be(te,3726,3732,33),be(te,3732,3736,-19),te[3736]=33,be(te,3737,3744,-19),te[3744]=33,be(te,3745,3748,-19),te[3748]=33,te[3749]=-19,te[3750]=33,te[3751]=-19,be(te,3752,3754,33),be(te,3754,3756,-19),te[3756]=33,be(te,3757,3759,-19),te[3759]=33,te[3760]=-19,te[3761]=-87,be(te,3762,3764,-19),be(te,3764,3770,-87),te[3770]=33,be(te,3771,3773,-87),te[3773]=-19,be(te,3774,3776,33),be(te,3776,3781,-19),te[3781]=33,te[3782]=-87,te[3783]=33,be(te,3784,3790,-87),be(te,3790,3792,33),be(te,3792,3802,-87),be(te,3802,3864,33),be(te,3864,3866,-87),be(te,3866,3872,33),be(te,3872,3882,-87),be(te,3882,3893,33),te[3893]=-87,te[3894]=33,te[3895]=-87,te[3896]=33,te[3897]=-87,be(te,3898,3902,33),be(te,3902,3904,-87),be(te,3904,3912,-19),te[3912]=33,be(te,3913,3946,-19),be(te,3946,3953,33),be(te,3953,3973,-87),te[3973]=33,be(te,3974,3980,-87),be(te,3980,3984,33),be(te,3984,3990,-87),te[3990]=33,te[3991]=-87,te[3992]=33,be(te,3993,4014,-87),be(te,4014,4017,33),be(te,4017,4024,-87),te[4024]=33,te[4025]=-87,be(te,4026,4256,33),be(te,4256,4294,-19),be(te,4294,4304,33),be(te,4304,4343,-19),be(te,4343,4352,33),te[4352]=-19,te[4353]=33,be(te,4354,4356,-19),te[4356]=33,be(te,4357,4360,-19),te[4360]=33,te[4361]=-19,te[4362]=33,be(te,4363,4365,-19),te[4365]=33,be(te,4366,4371,-19),be(te,4371,4412,33),te[4412]=-19,te[4413]=33,te[4414]=-19,te[4415]=33,te[4416]=-19,be(te,4417,4428,33),te[4428]=-19,te[4429]=33,te[4430]=-19,te[4431]=33,te[4432]=-19,be(te,4433,4436,33),be(te,4436,4438,-19),be(te,4438,4441,33),te[4441]=-19,be(te,4442,4447,33),be(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,be(te,4458,4461,33),be(te,4461,4463,-19),be(te,4463,4466,33),be(te,4466,4468,-19),te[4468]=33,te[4469]=-19,be(te,4470,4510,33),te[4510]=-19,be(te,4511,4520,33),te[4520]=-19,be(te,4521,4523,33),te[4523]=-19,be(te,4524,4526,33),be(te,4526,4528,-19),be(te,4528,4535,33),be(te,4535,4537,-19),te[4537]=33,te[4538]=-19,te[4539]=33,be(te,4540,4547,-19),be(te,4547,4587,33),te[4587]=-19,be(te,4588,4592,33),te[4592]=-19,be(te,4593,4601,33),te[4601]=-19,be(te,4602,7680,33),be(te,7680,7836,-19),be(te,7836,7840,33),be(te,7840,7930,-19),be(te,7930,7936,33),be(te,7936,7958,-19),be(te,7958,7960,33),be(te,7960,7966,-19),be(te,7966,7968,33),be(te,7968,8006,-19),be(te,8006,8008,33),be(te,8008,8014,-19),be(te,8014,8016,33),be(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,be(te,8031,8062,-19),be(te,8062,8064,33),be(te,8064,8117,-19),te[8117]=33,be(te,8118,8125,-19),te[8125]=33,te[8126]=-19,be(te,8127,8130,33),be(te,8130,8133,-19),te[8133]=33,be(te,8134,8141,-19),be(te,8141,8144,33),be(te,8144,8148,-19),be(te,8148,8150,33),be(te,8150,8156,-19),be(te,8156,8160,33),be(te,8160,8173,-19),be(te,8173,8178,33),be(te,8178,8181,-19),te[8181]=33,be(te,8182,8189,-19),be(te,8189,8400,33),be(te,8400,8413,-87),be(te,8413,8417,33),te[8417]=-87,be(te,8418,8486,33),te[8486]=-19,be(te,8487,8490,33),be(te,8490,8492,-19),be(te,8492,8494,33),te[8494]=-19,be(te,8495,8576,33),be(te,8576,8579,-19),be(te,8579,12293,33),te[12293]=-87,te[12294]=33,te[12295]=-19,be(te,12296,12321,33),be(te,12321,12330,-19),be(te,12330,12336,-87),te[12336]=33,be(te,12337,12342,-87),be(te,12342,12353,33),be(te,12353,12437,-19),be(te,12437,12441,33),be(te,12441,12443,-87),be(te,12443,12445,33),be(te,12445,12447,-87),be(te,12447,12449,33),be(te,12449,12539,-19),te[12539]=33,be(te,12540,12543,-87),be(te,12543,12549,33),be(te,12549,12589,-19),be(te,12589,19968,33),be(te,19968,40870,-19),be(te,40870,44032,33),be(te,44032,55204,-19),be(te,55204,TL,33),be(te,57344,65534,33)}function j3n(e){var t,r,o,a,c,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,HAt,!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,$At,!1,!1,!0),oi(l(oe(Ne(e.a),0),38),e._,oQ,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,e_t),os(p,e.I,"featureID"),p=Ko(l(oe(Er(e.o),3),62),e.I,t_t),os(p,e.bb,pI),p=Ko(l(oe(Er(e.o),4),62),e.bb,e_t),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,n_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,Dd,zAt,!0,!1,!0),oi(l(oe(Ne(e.p),0),38),e._,"instanceClassName",null,0,1,Dd,!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),I0t(l(oe(Ne(e.p),1),38),t,"instanceClass",Dd,!0,!0,!1,!0),oi(l(oe(Ne(e.p),2),38),e.M,r_t,null,0,1,Dd,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.p),3),38),e._,"instanceTypeName",null,0,1,Dd,!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,Dd,!0,!1,!1,!1,!0,!1,!1),Mr(l(oe(Ne(e.p),5),20),e.db,null,i_t,0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),p=Ko(l(oe(Er(e.p),0),62),e.e,o_t),os(p,e.M,pL),Ko(l(oe(Er(e.p),1),62),e.I,"getClassifierID"),Ms(e.q,jre,"EDataType",!1,!1,!0),oi(l(oe(Ne(e.q),0),38),e.e,"serializable",Ix,0,1,jre,!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,s_t),os(p,e._,or),p=Ko(l(oe(Er(e.v),1),62),e.w,s_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,GAt,!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,zTt,!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._,oQ),Ms(e.R,Rre,GTt,!0,!1,!0),oi(l(oe(Ne(e.R),0),38),e._,or,null,0,1,Rre,!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),c=Zd(p,t,null),c&&c.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"),tan(p,e.K),Ms(e.T,Ll,VAt,!1,!1,!0),Mr(l(oe(Ne(e.T),0),20),e.o,l(oe(Ne(e.o),3),20),a_t,0,1,Ll,!0,!1,!1,!1,!1,!1,!1),Mr(l(oe(Ne(e.T),1),20),e.db,null,i_t,0,-1,Ll,!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,Ll,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.T),3),20),e.p,null,"eExceptions",0,-1,Ll,!1,!1,!0,!1,!0,!0,!1),Mr(l(oe(Ne(e.T),4),20),e.H,null,"eGenericExceptions",0,-1,Ll,!1,!1,!0,!0,!1,!0,!1),Ko(l(oe(Er(e.T),0),62),e.I,n_t),p=Ko(l(oe(Er(e.T),1),62),e.e,"isOverrideOf"),os(p,e.T,"someOperation"),Ms(e.U,Ld,"EPackage",!1,!1,!0),oi(l(oe(Ne(e.U),0),38),e._,"nsURI",null,0,1,Ld,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.U),1),38),e._,"nsPrefix",null,0,1,Ld,!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,Ld,!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,Ld,!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,Ld,!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,Ld,!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,WAt,!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,KAt,!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,UAt,!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,r_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),a_t,0,1,au,!0,!1,!1,!1,!1,!1,!1),Ko(l(oe(Er(e.bb),0),62),e.I,t_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,BAt,!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,qAt,!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,o_t),os(p,e.M,pL),Ms(e.db,Ka,YAt,!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,qQ,"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,Ri,"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 pL="object",uT="boolean",ewe="number",KJ="string",YJ="function",sr=2147483647,Fs="java.lang",gL={3:1},bL="com.google.common.base",ja=", ",XEt="%s (%s) must not be negative",Rt={3:1,4:1,5:1},ZEt="negative size: ",twe="no calls to next() since the last call to remove()",QEt="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},e2t={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},JJ={359:1,45:1},t2t="AbstractMapEntry",n2t="expectedValuesPerKey",Pe={3:1,6:1,4:1,5:1},$f=16384,Tc={163:1},nn={42:1},mL={204:1},wL={l:4194303,m:4194303,h:524287},XJ={257:1,3:1,34:1},r2t="range unbounded on this side",Eh={22:1},i2t={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},ZJ={22:1,18:1,24:1},cT={3:1,22:1,32:1,18:1,24:1},o2t={22:1,18:1,24:1,85:1},Sh=461845907,Th=-862048943,yL={3:1,6:1,4:1,5:1,178:1},s2t="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},QJ="arraySize",Tl=1024,a2t={22:1,32:1,56:1,18:1,16:1,59:1},Mn={48:1},nF={376:1},wg=1e-4,Qi=-2147483648,u2t="__noinit__",vp={3:1,102:1,63:1,81:1},vL="com.google.gwt.core.client.impl",owe="String",swe="com.google.gwt.core.client",eX="anonymous",tX="fnStack",awe="Unknown",Bf={203:1,3:1,4:1},yg=1e3,Ei=65535,nX="January",rX="February",iX="March",oX="April",lT="May",sX="June",aX="July",uX="August",cX="September",lX="October",dX="November",fX="December",k1=1900,Qn={54:1,3:1,4:1},c2t="Before Christ",l2t="Anno Domini",hX="Sunday",pX="Monday",gX="Tuesday",bX="Wednesday",mX="Thursday",wX="Friday",yX="Saturday",uwe="com.google.gwt.i18n.shared",d2t="DateTimeFormat",vX="com.google.gwt.i18n.client",f2t="DefaultDateTimeFormatInfo",h2t={3:1,4:1,34:1,208:1},dT="com.google.gwt.json.client",Hu=4194303,Ep=1048575,EL=524288,fT=4194304,nm=17592186044416,rF=1e9,SL=-17592186044416,cwe="java.io",iF={3:1,102:1,99:1,63:1,81:1},p2t={3:1,298:1,81:1},F0='For input string: "',Kr=1/0,Di=-1/0,Ry=4096,g2t={3:1,4:1,591:1},Bt="org.eclipse.elk.layered",Co=65536,TL=55296,Jo={109:1,3:1,4:1},EX=1e5,b2t=.3010299956639812,$o=4294967295,dx="0.0",SX={45:1},fx="Unable to add element to queue",m2t={3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1},w2t={3:1,22:1,32:1,56:1,18:1,16:1,59:1},y2t={22:1,18:1,16:1},TX={3:1,50:1},AL={191:1},LE={3:1,4:1,93:1},lwe={3:1,4:1,22:1,32:1,18:1,47:1,24:1},AX="delete",UC=14901161193847656e-24,HC=11102230246251565e-32,_X=15525485,_L=5960464477539063e-23,dwe=16777216,oF=16777215,fwe=", length: ",v2t={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1},hwe="subMap: ",E2t=" less than ",xX={3:1,34:1,23:1,310:1},kX="java.util.function",zC="java.util.logging",S2t={3:1,4:1,5:1,848:1},NX="undefined",Bo="java.util.stream",pwe={524:1,684:1},sF="fromIndex: ",T2t=" > toIndex: ",gwe=", toIndex: ",bwe="Index: ",mwe=", Size: ",hx="org.eclipse.elk.alg.common",Un={50:1},A2t="org.eclipse.elk.alg.common.compaction",_2t="Scanline/EventHandler",Ah="org.eclipse.elk.alg.common.compaction.oned",x2t="CNode belongs to another CGroup.",k2t="ISpacingsHandler/1",CX="The ",IX=" instance has been finished already.",N2t="The direction ",C2t=" is not supported by the CGraph instance.",I2t="OneDimensionalCompactor",R2t="OneDimensionalCompactor/lambda$0$Type",O2t="Quadruplet",L2t="ScanlineConstraintCalculator",D2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",M2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",P2t="ScanlineConstraintCalculator/Timestamp",j2t="ScanlineConstraintCalculator/lambda$0$Type",Uf={181:1,48:1},GC="org.eclipse.elk.alg.common.networksimplex",Ad={172:1,3:1,4:1},F2t="org.eclipse.elk.alg.common.nodespacing",rm="org.eclipse.elk.alg.common.nodespacing.cellsystem",px="CENTER",$2t={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,xL="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",B2t="LabelPlacer/lambda$0$Type",U2t="LabelPlacer/lambda$1$Type",H2t="portRatioOrPosition",gx="org.eclipse.elk.alg.common.overlaps",RX="DOWN",gT="org.eclipse.elk.alg.common.spore",Oy={3:1,4:1,5:1,200:1},z2t={3:1,6:1,4:1,5:1,91:1,111:1},OX="org.eclipse.elk.alg.force",Ewe="ComponentsProcessor",G2t="ComponentsProcessor/1",Swe="ElkGraphImporter/lambda$0$Type",im={207:1},DE="org.eclipse.elk.core",kL="org.eclipse.elk.graph.properties",q2t="IPropertyHolder",NL="org.eclipse.elk.alg.force.graph",V2t="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",LX="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",CL="org.eclipse.elk.priority",$0="org.eclipse.elk.spacing.nodeNode",MX="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",IL="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",RL="org.eclipse.elk.topdownLayout",OL="org.eclipse.elk.topdown.scaleFactor",LL="org.eclipse.elk.topdown.hierarchicalNodeWidth",DL="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",U0="org.eclipse.elk.topdown.nodeType",xwe="origin",W2t="random",K2t="boundingBox.upLeft",Y2t="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",J2t="ELK Stress",mT="org.eclipse.elk.nodeSize.minimum",dF="org.eclipse.elk.alg.force.stress",X2t="Layered layout",wT="org.eclipse.elk.alg.layered",ML="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",PX="MODEL_ORDER",ea={3:1,6:1,4:1,10:1,5:1,128:1},Z2t={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",jX=" -> ",Q2t="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},eSt={3:1,6:1,4:1,5:1,137:1,2021:1,212:1,91:1,111:1},tSt=`([{"' \r
`,nSt=`)]}"' \r
`,rSt="The given string contains parts that cannot be parsed as numbers.",PL="org.eclipse.elk.core.math",iSt={3:1,4:1,125:1,216:1,419:1},oSt={3:1,4:1,100:1,216:1,419:1},Eg="org.eclipse.elk.alg.layered.graph.transform",sSt="ElkGraphImporter",aSt="ElkGraphImporter/lambda$1$Type",uSt="ElkGraphImporter/lambda$2$Type",cSt="ElkGraphImporter/lambda$4$Type",Zt="org.eclipse.elk.alg.layered.intermediate",lSt="Node margin calculation",dSt="ONE_SIDED_GREEDY_SWITCH",fSt="TWO_SIDED_GREEDY_SWITCH",FX="No implementation is available for the layout processor ",$X="IntermediateProcessorStrategy",BX="Node '",hSt="FIRST_SEPARATE",pSt="LAST_SEPARATE",gSt="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",UX="INTERACTIVE",Lwe="GREEDY",bSt="DEPTH_FIRST",mSt="EDGE_LENGTH",wSt="SELF_LOOPS",ySt="firstTryWithInitialOrder",Dwe="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",jL="org.eclipse.elk.layered.cycleBreaking.strategy",FL="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",HX="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",zX="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",GX="org.eclipse.elk.layered.layering.nodePromotion.strategy",qX="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",VX="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",XC="org.eclipse.elk.layered.crossingMinimization.strategy",Vwe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",WX="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",KX="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",YX="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",JX="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",XX="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",ZX="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",QX="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",eZ="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",tZ="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",nZ="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",rZ="org.eclipse.elk.layered.highDegreeNodes.threshold",iZ="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",oZ="org.eclipse.elk.layered.wrapping.cutting.cuts",sZ="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",aZ="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",uZ="org.eclipse.elk.layered.layerUnzipping.strategy",cZ="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",lZ="org.eclipse.elk.layered.layerUnzipping.layerSplit",dZ="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",$L="org.eclipse.elk.layered.considerModelOrder.noModelOrder",fZ="org.eclipse.elk.layered.considerModelOrder.components",fye="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",hZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",pZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",gZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",bZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",mZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",hye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",wZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",yZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",pye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",gye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",vZ="layering",vSt="layering.minWidth",ESt="layering.nodePromotion",Ax="crossingMinimization",NF="org.eclipse.elk.hierarchyHandling",SSt="crossingMinimization.greedySwitch",TSt="nodePlacement",ASt="nodePlacement.bk",_St="edgeRouting",BL="org.eclipse.elk.edgeRouting",of="spacing",bye="priority",mye="compaction",xSt="compaction.postCompaction",kSt="Specifies whether and how post-process compaction is applied.",wye="highDegreeNodes",yye="wrapping",NSt="wrapping.cutting",CSt="wrapping.validify",vye="wrapping.multiEdge",EZ="layerUnzipping",SZ="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",TZ="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",Lye="org.eclipse.elk.port.borderOffset",Dye="org.eclipse.elk.noLayout",Mye="org.eclipse.elk.port.side",UL="org.eclipse.elk.debugMode",Pye="org.eclipse.elk.alignment",jye="org.eclipse.elk.insideSelfLoops.activate",Fye="org.eclipse.elk.insideSelfLoops.yo",AZ="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",_Z="org.eclipse.elk.partitioning.activate",xZ="org.eclipse.elk.partitioning.partition",IF="org.eclipse.elk.position",kZ="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},ISt="NETWORK_SIMPLEX",nve="SIMPLE",NZ="No implementation is available for the node placer ",Fi={86:1,43:1},H0="org.eclipse.elk.alg.layered.p1cycles",RSt="Depth-first cycle removal",OSt="Model order cycle breaking",Tp="org.eclipse.elk.alg.layered.p2layers",rve={411:1,223:1},LSt={838:1,3:1,4:1},qa="org.eclipse.elk.alg.layered.p3order",jE=17976931348623157e292,CZ=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",IZ="org.eclipse.elk.alg.layered.p5edges",xd="org.eclipse.elk.alg.layered.p5edges.orthogonal",RZ="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",OZ=1e-6,Ly="org.eclipse.elk.alg.layered.p5edges.splines",LZ=.09999999999999998,OF=1e-8,MSt=4.71238898038469,PSt=1.5707963267948966,ive=3.141592653589793,Ap="org.eclipse.elk.alg.mrtree",jSt="Tree layout",FSt="P4_EDGE_ROUTING",DZ=.10000000149011612,LF="SUPER_ROOT",eI="org.eclipse.elk.alg.mrtree.graph",ove=-17976931348623157e292,Aa="org.eclipse.elk.alg.mrtree.intermediate",$St="Processor compute fanout",DF={3:1,6:1,4:1,5:1,526:1,91:1,111:1},BSt="Set neighbors in level",HL="org.eclipse.elk.alg.mrtree.options",USt="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",HSt="Position Constraint",Va="org.eclipse.elk.mrtree",hve="org.eclipse.elk.tree",zSt="Processor arrange level",xx="org.eclipse.elk.alg.mrtree.p2order",uc="org.eclipse.elk.alg.mrtree.p4route",pve="org.eclipse.elk.alg.radial",GSt="The given graph is not a tree!",sm=6.283185307179586,gve="Before",MF="After",bve="org.eclipse.elk.alg.radial.intermediate",qSt="COMPACTION",MZ="org.eclipse.elk.alg.radial.intermediate.compaction",VSt={3:1,4:1,5:1,91:1},mve="org.eclipse.elk.alg.radial.intermediate.optimization",PZ="No implementation is available for the layout option ",tI="org.eclipse.elk.alg.radial.options",WSt="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",jZ="org.eclipse.elk.radial.compactor",FZ="org.eclipse.elk.radial.compactionStepSize",Eve="org.eclipse.elk.radial.sorter",Sve="org.eclipse.elk.radial.wedgeCriteria",Tve="org.eclipse.elk.radial.optimizationCriteria",$Z="org.eclipse.elk.radial.rotation.targetAngle",BZ="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Ave="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",KSt="Compaction",_ve="rotation",Qc="org.eclipse.elk.radial",YSt="org.eclipse.elk.alg.radial.p1position.wedge",xve="org.eclipse.elk.alg.radial.sorting",JSt=5.497787143782138,XSt=3.9269908169872414,ZSt=2.356194490192345,QSt="org.eclipse.elk.alg.rectpacking",nI="org.eclipse.elk.alg.rectpacking.intermediate",UZ="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",Lve="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Dve="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",HZ="widthApproximation",eTt="Compaction Strategy",tTt="packing.compaction",ku="org.eclipse.elk.rectpacking",kx="org.eclipse.elk.alg.rectpacking.p1widthapproximation",jF="org.eclipse.elk.alg.rectpacking.p2packing",nTt="No Compaction",Bve="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",zL="org.eclipse.elk.alg.rectpacking.util",FF="No implementation available for ",Dy="org.eclipse.elk.alg.spore",My="org.eclipse.elk.alg.spore.options",z0="org.eclipse.elk.sporeCompaction",zZ="org.eclipse.elk.underlyingLayoutAlgorithm",Uve="org.eclipse.elk.processingOrder.treeConstruction",Hve="org.eclipse.elk.processingOrder.spanningTreeCostFunction",GZ="org.eclipse.elk.processingOrder.preferredRoot",qZ="org.eclipse.elk.processingOrder.rootSelection",VZ="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",WZ="processingOrder",rTt="overlapRemoval",Nx="org.eclipse.elk.sporeOverlap",iTt="org.eclipse.elk.alg.spore.p1structure",KZ="org.eclipse.elk.alg.spore.p2processingorder",YZ="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",oTt="org.eclipse.elk.alg.vertiflex.p1yplacement",JZ="org.eclipse.elk.alg.vertiflex.p2relative",sTt="org.eclipse.elk.alg.vertiflex.p3absolute",aTt="BendEdgeRouter",Qve="org.eclipse.elk.alg.vertiflex.p4edgerouting",uTt="StraightEdgeRouter",cTt="Topdown Layout",lTt="Invalid index: ",Cx="org.eclipse.elk.core.alg",FE={343:1},Py={297:1},dTt="Make sure its type is registered with the ",eEe=" utility class.",Ix="true",XZ="false",fTt="Couldn't clone property '",q0=.05,Fa="org.eclipse.elk.core.options",hTt=1.2999999523162842,V0="org.eclipse.elk.box",tEe="org.eclipse.elk.expandNodes",nEe="org.eclipse.elk.box.packingMode",pTt="org.eclipse.elk.algorithm",gTt="org.eclipse.elk.resolvedAlgorithm",rEe="org.eclipse.elk.bendPoints",F3n="org.eclipse.elk.labelManager",bTt="org.eclipse.elk.softwrappingFuzziness",mTt="org.eclipse.elk.scaleFactor",wTt="org.eclipse.elk.childAreaWidth",yTt="org.eclipse.elk.childAreaHeight",vTt="org.eclipse.elk.animate",ETt="org.eclipse.elk.animTimeFactor",STt="org.eclipse.elk.layoutAncestors",TTt="org.eclipse.elk.maxAnimTime",ATt="org.eclipse.elk.minAnimTime",_Tt="org.eclipse.elk.progressBar",xTt="org.eclipse.elk.validateGraph",kTt="org.eclipse.elk.validateOptions",NTt="org.eclipse.elk.zoomToFit",CTt="org.eclipse.elk.json.shapeCoords",ITt="org.eclipse.elk.json.edgeCoords",$3n="org.eclipse.elk.font.name",RTt="org.eclipse.elk.font.size",ZZ="org.eclipse.elk.topdown.sizeCategories",iEe="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",QZ="org.eclipse.elk.topdown.sizeApproximator",oEe="org.eclipse.elk.topdown.scaleCap",OTt="org.eclipse.elk.edge.type",LTt="partitioning",DTt="nodeLabels",$F="portAlignment",eQ="nodeSize",tQ="port",sEe="portLabels",Rx="topdown",MTt="insideSelfLoops",aEe="INHERIT",Ox="org.eclipse.elk.fixed",BF="org.eclipse.elk.random",UF={3:1,34:1,23:1,525:1,290:1},PTt="port must have a parent node to calculate the port side",jTt="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",FTt="EMapPropertyHolder",$Tt="ElkBendPoint",BTt="ElkGraphElement",UTt="ElkConnectableShape",uEe="ElkEdge",HTt="ElkEdgeSection",zTt="EModelElement",GTt="ENamedElement",cEe="ElkLabel",lEe="ElkNode",dEe="ElkPort",qTt={95:1,94:1},vT="org.eclipse.emf.common.notify.impl",R1="The feature '",iI="' is not a valid changeable feature",VTt="Expecting null",nQ="' is not a valid feature",WTt="The feature ID",KTt=" is not a valid feature ID",Ws=32768,YTt={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 ",Lx="The datatype '",W0="' is not a valid classifier",rQ="The value '",BE={198:1,3:1,4:1},iQ="The class '",Dx="http://www.eclipse.org/elk/ElkGraph",fEe="property",sI="value",oQ="source",JTt="properties",XTt="identifier",sQ="height",aQ="width",uQ="parent",cQ="text",lQ="children",ZTt="hierarchical",hEe="sources",dQ="targets",fQ="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: ",QTt="startPoint",eAt="An edge must have at least one source and one target (edge id: '",Px="').",tAt="Referenced edge section does not exist: ",nAt=" (edge id: '",yEe="target",rAt="sourcePoint",iAt="targetPoint",zF="group",or="name",oAt="connectableShape cannot be null",sAt="edge cannot be null",aAt="Passed edge is not 'simple'.",GF="org.eclipse.elk.graph.util",GL="The 'no duplicates' constraint is violated",hQ="targetIndex=",um=", size=",pQ="sourceIndex=",Vf={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},gQ={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",uAt="measureExecutionTime",cAt="parser.parse.1",lAt="parser.parse.2",VF="parser.next.1",bQ="parser.next.2",dAt="parser.next.3",fAt="parser.next.4",cm="parser.factor.1",vEe="parser.factor.2",hAt="parser.factor.3",pAt="parser.factor.4",gAt="parser.factor.5",bAt="parser.factor.6",mAt="parser.atom.1",wAt="parser.atom.2",yAt="parser.atom.3",EEe="parser.atom.4",mQ="parser.atom.5",SEe="parser.cc.1",WF="parser.cc.2",vAt="parser.cc.3",EAt="parser.cc.5",TEe="parser.cc.6",AEe="parser.cc.7",wQ="parser.cc.8",SAt="parser.ope.1",TAt="parser.ope.2",AAt="parser.ope.3",Sg="parser.descape.1",_At="parser.descape.2",xAt="parser.descape.3",kAt="parser.descape.4",NAt="parser.descape.5",tl="parser.process.1",CAt="parser.quantifier.1",IAt="parser.quantifier.2",RAt="parser.quantifier.3",OAt="parser.quantifier.4",_Ee="parser.quantifier.5",LAt="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},qL={374:1,152:1},aI="index=",yQ={3:1,4:1,5:1,131:1},MAt={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},PAt={3:1,4:1,5:1,178:1,375:1},jAt=";/?:@&=+$,",FAt="invalid authority: ",$At="EAnnotation",BAt="ETypedElement",UAt="EStructuralFeature",HAt="EAttribute",zAt="EClassifier",GAt="EEnumLiteral",qAt="EGenericType",VAt="EOperation",WAt="EParameter",KAt="EReference",YAt="ETypeParameter",Fr="org.eclipse.emf.ecore.util",vQ={78:1},NEe={3:1,22:1,18:1,16:1,61:1,593:1,78:1,72:1,98:1},JAt="org.eclipse.emf.ecore.util.FeatureMap$Entry",yu=8192,uI="byte",KF="char",cI="double",lI="float",dI="int",fI="long",hI="short",XAt="java.lang.Object",UE={3:1,4:1,5:1,258:1},CEe={3:1,4:1,5:1,685:1},ZAt={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},VL="mixed",Bn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Al="kind",QAt={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",e_t="getEStructuralFeature",t_t="getFeatureID",pI="feature",n_t="getOperationID",REe="operation",r_t="defaultValue",i_t="eTypeParameters",o_t="isInstance",s_t="getEEnumLiteral",a_t="eContainingClass",tr={58:1},u_t={3:1,4:1,5:1,123:1},c_t="org.eclipse.emf.ecore.resource",l_t={95:1,94:1,595:1,2013:1},EQ="org.eclipse.emf.ecore.resource.impl",OEe="unspecified",WL="simple",t$="attribute",d_t="attributeWildcard",n$="element",SQ="elementWildcard",kd="collapse",TQ="itemType",r$="namespace",KL="##targetNamespace",xl="whiteSpace",LEe="wildcards",lm="http://www.eclipse.org/emf/2003/XMLType",AQ="##any",jx="uninitialized",YL="The multiplicity constraint is violated",i$="org.eclipse.emf.ecore.xml.type",f_t="ProcessingInstruction",h_t="SimpleAnyType",p_t="XMLTypeDocumentRoot",Si="org.eclipse.emf.ecore.xml.type.impl",JL="INF",g_t="processing",b_t="ENTITIES_._base",DEe="minLength",MEe="ENTITY",o$="NCName",m_t="IDREFS_._base",PEe="integer",_Q="token",xQ="pattern",w_t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",jEe="\\i\\c*",y_t="[\\i-[:]][\\c-[:]]*",v_t="nonPositiveInteger",XL="maxInclusive",FEe="NMTOKEN",E_t="NMTOKENS_._base",$Ee="nonNegativeInteger",ZL="minInclusive",S_t="normalizedString",T_t="unsignedByte",A_t="unsignedInt",__t="18446744073709551615",x_t="unsignedShort",k_t="processingInstruction",Tg="org.eclipse.emf.ecore.xml.type.internal",Fx=1114111,N_t="Internal Error: shorthands: \\u",gI="xml:isDigit",kQ="xml:isWord",NQ="xml:isSpace",CQ="xml:isNameChar",IQ="xml:isInitialNameChar",C_t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",I_t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",R_t="Private Use",RQ="ASSIGNED",OQ="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",BEe="UNASSIGNED",$x={3:1,122:1},O_t="org.eclipse.emf.ecore.xml.type.util",s$={3:1,4:1,5:1,377:1},UEe="org.eclipse.xtext.xbase.lib",L_t="Cannot add elements to a Range",D_t="Cannot set elements in a Range",M_t="Cannot remove elements from a Range",P_t="user.agent",h,a$,LQ;b.goog=b.goog||{},b.goog.global=b.goog.global||b,a$={},_(1,null,{},E),h.Fb=function(t){return Mnt(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 j_t,F_t,$_t;_(299,1,{299:1,2103:1},Dge),h.te=function(t){var r;return r=new Dge,r.i=4,t>1?r.c=fut(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 Ri=k(Fs,"Object",1),HEe=k(Fs,"Class",299);_(2075,1,gL),k(bL,"Optional",2075),_(1172,2075,gL,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(bL,"Absent",1172),_(634,1,{},pq),k(bL,"Joiner",634);var B3n=Hr(bL,"Predicate");_(584,1,{181:1,584:1,3:1,48:1},hKe),h.Mb=function(t){return gpt(this,t)},h.Lb=function(t){return gpt(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 Dyn(this.a)},k(bL,"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 QEt+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(bL,"Present",416),_(206,1,sx),h.Nb=function(t){so(this,t)},h.Qb=function(){EQe()},k(mt,"UnmodifiableIterator",206),_(2055,206,ax),h.Qb=function(){EQe()},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 yK(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 UK(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 jQe(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 sQe(this)},h.lc=function(){return YY(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 oQe(this)},h.oc=function(){return YY(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 La(this.a)},h.jc=function(){return At(),At(),Io},h.cc=function(t){return l(wr(this,t),16)},h.fc=function(t){return l(O6(this,t),16)},h.Zb=function(){return LS(this)},h.Fb=function(t){return UK(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 Sct(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,oQe),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,sQe),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 RY(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(),me(t)===me(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 $bt(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 ast(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 Met(this))},k(mt,"Maps/ViewCachingAbstractMap",2064),_(398,2064,j0,HA),h.xc=function(t){return Afn(this,t)},h.Ac=function(t){return Mpn(this,t)},h.$b=function(){this.d==this.e.c?this.e.$b():iP(new Ffe(this))},h._b=function(t){return sgt(this.d,t)},h.Dc=function(){return new pKe(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 e1t(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 Mgt(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,pKe),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),fdn(this.a.e,r.jd()),!0):!1},h.Lc=function(){return BO(this.a.d.vc().Lc(),new gKe(this.a))},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1108),_(1109,1,{},gKe),h.Kb=function(t){return dlt(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),dlt(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 LKe(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},LO),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,e2t,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 Snt(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,c;return r.dc()?!1:(c=($u(this),this.d.gc()),o=l(this.d,16).ad(t,r),o&&(a=this.d.gc(),this.a.d+=a-c,c==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 Qnt(this)},h.dd=function(t){return $u(this),new Tat(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),Sct(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},Brt),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(){Art(this)},k(mt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",626),_(740,626,vh,Qnt,Tat),h.Qb=function(){Art(this)},h.Rb=function(t){var r;r=Snt(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,e2t,Ude),h.Lc=function(){return $u(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSortedSet",738),_(1106,738,rwe,qnt),k(mt,"AbstractMapBasedMultimap/WrappedNavigableSet",1106),_(1105,543,wu,uit),h.Lc=function(){return $u(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSet",1105),_(1114,1,{},C),h.Kb=function(t){return mdn(l(t,45))},k(mt,"AbstractMapBasedMultimap/lambda$1$Type",1114),_(1113,1,{},bKe),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,JJ),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,t2t,359),_(2065,32,Cy),h.$b=function(){this.md().$b()},h.Gc=function(t){var r;return ae(t,45)?(r=l(t,45),$cn(this.md(),r.jd(),r.kd())):!1},h.Kc=function(t){var r;return ae(t,45)?(r=l(t,45),rct(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 pht(this)},k(mt,"AbstractMultimap/EntrySet",745),_(746,32,Cy,Jue),h.$b=function(){this.a.$b()},h.Gc=function(t){return Rpn(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 UKe(t))},h.Lc=function(){var t;return t=uE(this).Lc(),YY(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)?Hcn(l(t,841)):!t.dc()&&lK(this,t.Jc())},h.Gc=function(t){var r;return r=l(py(LS(this.a),t),18),(r?r.gc():0)>0},h.Fb=function(t){return OEn(this,t)},h.Hb=function(){return Rr(uE(this))},h.dc=function(){return uE(this).dc()},h.Kc=function(t){return o0t(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=_ut(this.a,o.a.jd()),r==l(o.a.kd(),18).gc())):!1},h.Kc=function(t){var r,o,a,c;return ae(t,493)&&(o=l(t,421),r=o.a.jd(),a=l(o.a.kd(),18).gc(),a!=0)?(c=this.a,Nvn(c,r,a)):!1},k(mt,"Multisets/EntrySet",2068),_(1120,2068,wu,mKe),h.Jc=function(){return new dQe(ast(LS(this.a.a)).Jc())},h.gc=function(){return LS(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 UK(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 uit(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 LO(this,l(this.c,136)):new HA(this,this.c))},h.pc=function(t,r){return ae(r,279)?new qnt(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 LO(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 y0n(this,t)},h.Hb=function(){var t;return Rge((t=this.g,t||(this.g=new jG(this))))},h.Ib=function(){var t;return $bt((t=this.f,t||(this.f=new vde(this))))},k(mt,"AbstractTable",2088),_(676,tf,wu,jG),h.$b=function(){SQe()},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 zan(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&&pgn(o.vc(),new t0(i1(r.c.c,r.a),$S(r.c,r.b,r.a)))):!1},h.gc=function(){return Pot(this.a)},h.Lc=function(){return Vcn(this.a)},k(mt,"AbstractTable/CellSet",676),_(2004,32,Cy,wKe),h.$b=function(){SQe()},h.Gc=function(t){return cwn(this.a,t)},h.Jc=function(){return Gan(this.a)},h.gc=function(){return Pot(this.a)},h.Lc=function(){return Zut(this.a)},k(mt,"AbstractTable/Values",2004),_(1679,1678,tm),k(mt,"ArrayListMultimapGwtSerializationDependencies",1679),_(510,1679,tm,hq,zhe),h.hc=function(){return new La(this.a)},h.a=0,k(mt,"ArrayListMultimap",510),_(675,2088,{675:1,2025:1,3:1},i0t),k(mt,"ArrayTable",675),_(2e3,394,ax,Ert),h.Xb=function(t){return new Nge(this.a,t)},k(mt,"ArrayTable/1",2e3),_(2001,1,{},yKe),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(Ri,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,{},vKe),h.rd=function(t){return gdt(this.a,t)},k(mt,"ArrayTable/2methodref$getValue$Type",2003),_(2002,394,ax,Srt),h.Xb=function(t){return gdt(this.a,t)},k(mt,"ArrayTable/3",2002),_(2056,2044,j0),h.$b=function(){iP(this.kc())},h.vc=function(){return new PKe(this)},h.lc=function(){return new pat(this.kc(),this.gc())},k(mt,"Maps/IteratorBasedAbstractMap",2056),_(834,2056,j0),h.$b=function(){throw Y(new Nn)},h._b=function(t){return FQe(this.c,t)},h.kc=function(){return new Trt(this,this.c.b.c.gc())},h.lc=function(){return UV(this.c.b.c.gc(),16,new EKe(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 JV(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 "+JV(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,{},EKe),h.rd=function(t){return Mst(this.a,t)},k(mt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1999),_(1997,359,JJ,bet),h.jd=function(){return onn(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,Trt),h.Xb=function(t){return Mst(this.a,t)},k(mt,"ArrayTable/ArrayMap/2",1998),_(1996,834,j0,Ast),h.sd=function(){return"Column"},h.td=function(t){return $S(this.b,this.a,t)},h.ud=function(t,r){return Qht(this.b,this.a,t,r)},h.a=0,k(mt,"ArrayTable/Row",1996),_(835,834,j0,vde),h.td=function(t){return new Ast(this.a,t)},h.yc=function(t,r){return l(r,93),NQt()},h.ud=function(t,r){return l(r,93),CQt()},h.sd=function(){return"Row"},k(mt,"ArrayTable/RowMap",835),_(1138,1,Tc,met),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 yet(t,this.b))},h.zd=function(t){return this.a.zd(new wet(t,this.b))},k(mt,"CollectSpliterators/1",1138),_(1139,1,nn,wet),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$0$Type",1139),_(1140,1,nn,yet),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$1$Type",1140),_(1135,1,Tc,Git),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 Eet(t,this.c))},h.zd=function(t){return this.a.Pe(new vet(t,this.c))},h.b=0,k(mt,"CollectSpliterators/1WithCharacteristics",1135),_(1136,1,mL,vet),h.Bd=function(t){this.a.Ad(this.b.rd(t))},k(mt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1136),_(1137,1,mL,Eet),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 Tet(this,t)),this.b=0},h.zd=function(t){for(;;){if(this.e&&this.e.zd(t))return f3(this.b,wL)&&(this.b=El(this.b,1)),!0;if(this.e=null,!this.c.zd(new NKe(this)))return!1}},h.a=0,h.b=0,k(mt,"CollectSpliterators/FlatMapSpliterator",1131),_(1133,1,nn,NKe),h.Ad=function(t){Xnn(this.a,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1133),_(1134,1,nn,Tet),h.Ad=function(t){San(this.a,this.b,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1134),_(1132,1131,Tc,Tct),k(mt,"CollectSpliterators/FlatMapSpliteratorOfObject",1132),_(257,1,XJ),h.Dd=function(t){return this.Cd(l(t,257))},h.Cd=function(t){var r;return t==(sq(),PQ)?1:t==(oq(),MQ)?-1:(r=(tP(),E6(this.a,t.a)),r!=0?r:(Dt(),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,XJ,iQe),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(r2t))},h.Hb=function(){return eg(),U1e(this)},h.Hd=function(t){return!1},h.Ib=function(){return"+∞"};var MQ;k(mt,"Cut/AboveAll",1810),_(517,257,{257:1,517:1,3:1,34:1},krt),h.Ed=function(t){ba((t.a+="(",t),this.a)},h.Fd=function(t){Lb(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,XJ,rQe),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(r2t))},h.Hb=function(){return eg(),U1e(this)},h.Hd=function(t){return!0},h.Ib=function(){return"-∞"};var PQ;k(mt,"Cut/BelowAll",1809),_(1811,257,XJ,Nrt),h.Ed=function(t){ba((t.a+="[",t),this.a)},h.Fd=function(t){Lb(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 Ogn(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 L))},k(mt,"FluentIterable/2",438),_(36,1,{},L),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,Lnt),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,i2t),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(),zQe()},h.Fc=function(t){return this.Jd(),GQe()},h.$b=function(){this.Jd(),qQe()},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(),VQe()},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(),$Q;case 1:return new _V(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,CKe),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 SEn(this,t)},h.Hb=function(){return Bhn(this)},h.bd=function(t){return t==null?-1:Xbn(this,t)},h.Md=function(){return this.Nd(0)},h.Nd=function(t){return yV(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(Ri,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 JV(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 AKe(this)},h.Sd=function(){return new _Ke(this)},h.Fb=function(t){return Opn(this,t)},h.Hb=function(){return Cb(this).Hb()},h.dc=function(){return this.gc()==0},h.yc=function(t,r){return IQt()},h.Ac=function(t){throw Y(new Nn)},h.Ib=function(){return ryn(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 FQe(this,t)},h.uc=function(t){return Fet(this.b,t)},h.Qd=function(){return jpt(new kKe(this))},h.Rd=function(){return jpt(rat(this.b))},h.Sd=function(){return new CKe(nat(this.b))},h.Fb=function(t){return $et(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,ZJ),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,ZJ,kKe),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 jet(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=Gat(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 pht(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,o2t),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 hV(t||(this.d=new UG(this)))},h.$b=function(){n6(this)},h._b=function(t){return!!Y3(this,t,Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))))},h.uc=function(t){return Sft(this,t)},h.kc=function(){return new Ort(this,this)},h.wc=function(t){iut(this,t)},h.xc=function(t){return pE(this,t)},h.ec=function(){return new pV(this)},h.yc=function(t,r){return H7(this,t,r)},h.Ac=function(t){var r;return r=Y3(this,t,Ln(wo(Sh,ph(Ln(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 hV(t||(this.d=new UG(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 _ct(this)},h.Pb=function(){var t;if(!_ct(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,Ort),h.Vd=function(t){return new Aet(this,t)},k(mt,"HashBiMap/1",1016),_(1017,359,JJ,Aet),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=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),a==this.a.f&&(me(t)===me(o)||t!=null&&pr(t,o))?t:(ept(!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 jQ=k(mt,"HashBiMap/BiEntry",309);_(616,2056,cx,UG),h.zc=function(t){X3(this,t)},h.Bc=function(){return new pV(this.a)},h.$b=function(){n6(this.a)},h._b=function(t){return Sft(this.a,t)},h.kc=function(){return new Lrt(this,this.a)},h.wc=function(t){kn(t),iut(this.a,new IKe(t))},h.xc=function(t){return vj(this,t)},h.ec=function(){return new hV(this)},h.yc=function(t,r){return CAn(this.a,t,r)},h.Ac=function(t){var r;return r=J3(this.a,t,Ln(wo(Sh,ph(Ln(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 pV(this.a)},k(mt,"HashBiMap/Inverse",616),_(1013,536,Wi,Lrt),h.Vd=function(t){return new _et(this,t)},k(mt,"HashBiMap/Inverse/1",1013),_(1014,359,JJ,_et),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=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),r==this.a.a&&(me(t)===me(a)||t!=null&&pr(t,a))?t:(ept(!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,hV),h.Jc=function(){return new aQe(this.a.a)},h.Kc=function(t){var r;return r=J3(this.a.a,t,Ln(wo(Sh,ph(Ln(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,aQe),h.Vd=function(t){return t.i},k(mt,"HashBiMap/Inverse/InverseKeySet/1",1012),_(1015,1,{},IKe),h.Wd=function(t,r){sQt(this.a,t,r)},k(mt,"HashBiMap/Inverse/lambda$0$Type",1015),_(615,534,wu,pV),h.Jc=function(){return new uQe(this.a)},h.Kc=function(t){var r;return r=Y3(this.a,t,Ln(wo(Sh,ph(Ln(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,uQe),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,cQe),k(mt,"ImmutableEnumSet",1027),_(971,394,ax,zit),h.Xb=function(t){return this.a.Xb(t)},k(mt,"ImmutableList/1",971),_(970,2054,{},mit),k(mt,"ImmutableList/Builder",970),_(620,206,sx,FG),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,{},wit),k(mt,"ImmutableMap/Builder",1045),_(2077,2058,cT),h.Kd=function(){var t;return t=this.b,t||(this.b=new $G(this))},h.Ld=function(){return new Afe(this,pC(this,we(Ri,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 FG(t)},h.Ld=function(){return new $G(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,yV(t||(this.b=new $G(this)),0)},h.Lc=function(){return UV(this.gc(),1296,new xKe(this))},k(mt,"IndexedImmutableSet",2078),_(1207,2078,cT,AKe),h.Jc=function(){var t;return t=Cb(this.a).Md(),new FG(t)},h.Gc=function(t){return this.a._b(t)},h.Ic=function(t){kn(t),S6(this.a,new TKe(t))},h.Md=function(){var t;return t=Cb(this.a).Md(),new FG(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,{},TKe),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"ImmutableMapKeySet/lambda$0$Type",1208),_(1204,2057,iwe,_Ke),h.Jc=function(){return new $V(this)},h.Kd=function(){var t;return t=Cb(this.a).Kd(),new Cet(this,t)},h.Gc=function(t){return t!=null&&w0n(new $V(this),t)},h.Md=function(){return new $V(this)},h.gc=function(){return this.a.gc()},h.Lc=function(){return BO(Cb(this.a).Lc(),new D)},k(mt,"ImmutableMapValues",1204),_(1205,1,{},D),h.Kb=function(t){return l(t,45).kd()},k(mt,"ImmutableMapValues/0methodref$getValue$Type",1205),_(635,206,sx,$V),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,Cet),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,{},xKe),h.rd=function(t){return Bst(this.a,t)},k(mt,"IndexedImmutableSet/0methodref$get$Type",1209),_(636,2076,ux,$G),h.Xd=function(){return this.a},h.Xb=function(t){return Bst(this.a,t)},h.gc=function(){return this.a.a.gc()},k(mt,"IndexedImmutableSet/1",636),_(1047,539,Eh,vot),h.Ic=function(t){kn(t),this.b.Ic(new xet(this.a,t))},h.Jc=function(){return ade(this)},k(mt,"Iterables/4",1047),_(1048,1,nn,xet),h.Ad=function(t){Oen(this.b,this.a,t)},k(mt,"Iterables/4/lambda$0$Type",1048),_(1049,539,Eh,Eot),h.Ic=function(t){kn(t),lo(this.a,new Net(t,this.b))},h.Jc=function(){return qt(new tn(this.a),this.b)},k(mt,"Iterables/5",1049),_(1050,1,nn,Net),h.Ad=function(t){this.a.Ad(znt(t))},k(mt,"Iterables/5/lambda$0$Type",1050),_(1068,206,sx,RKe),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return this.a.Pb()},k(mt,"Iterators/1",1068),_(1069,709,sx,ket),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,Irt),h.Yd=function(t){return this.a.Kb(t)},k(mt,"Iterators/6",1070),_(1067,394,ax,Sot),h.Xb=function(t){return this.a[t]};var B_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 gQe(this,l(t,23))},h.Fb=function(t){return this===t},h.Hb=function(){return s0(this)},h.Ib=function(){return vV(this)},h.g=0;var bn=k(Fs,"Enum",23);_(541,23,{541:1,3:1,34:1,23:1,51:1},hrt),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 FQ,U_t=fn(mt,"Iterators/EmptyModifiableIterator",541,bn,Usn,ann),H_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,$pt),h.hc=function(){return new wV(fy(this.b))},h.$b=function(){wj(this),tO(this.a,this.a)},h.nd=function(){return new wV(fy(this.b))},h.ic=function(t){return new kpt(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 jhn(this)},h.Ob=function(){return this.a!=this.b.a},h.Qb=function(){XA(!!this.c),rct(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 z_t=k(mt,"LinkedHashMultimap/ValueEntry",229);_(1896,2047,{600:1,22:1,32:1,18:1,24:1},kpt),h.Ec=function(t){var r,o,a,c,f;for(f=Ln(wo(Sh,ph(Ln(wo(t==null?0:Rr(t),Th)),15))),r=f&this.b.length-1,c=this.b[r],o=c;o;o=o.a)if(o.d==f&&rp(o.i,t))return!1;return a=new Ehe(this.c,t,f,c),kQe(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,g0n(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=Ln(wo(Sh,ph(Ln(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 Jst(this)},h.Kc=function(t){return Cwt(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,Jst),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),Cwt(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,Int),h.Zb=function(){var t;return t=this.f,t||(this.f=new Ale(this))},h.Fb=function(t){return UK(this,t)},h.cc=function(t){return new yq(this,t)},h.fc=function(t){return _pe(this,t)},h.$b=function(){xst(this)},h._b=function(t){return Pet(this,t)},h.ac=function(){return new Ale(this)},h.bc=function(){return new MKe(this)},h.qc=function(t){return new yq(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,c;for(Mt(r),o=!1,c=r.Jc();c.Ob();)a=c.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 Vft(this,t)},h.Jc=function(){return new DN(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 Ipt(this,t,r)},h.Xb=function(t){return sa(this,t)},h.Jc=function(){return this.dd(0)},h.ed=function(t){return $Y(this,t)},h.fd=function(t,r){var o,a;o=this.dd(t);try{return a=o.Pb(),o.Wb(r),a}catch(c){throw c=ci(c),ae(c,113)?Y(new Ia("Can't set element "+t)):Y(c)}},k(gn,"AbstractSequentialList",2041),_(643,2041,lx,yq),h.dd=function(t){return Crt(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,MKe),h.Gc=function(t){return Pet(this.a,t)},h.Jc=function(){return new wht(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,wht),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 sK(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},Iet),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,sK,Lmt),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 Qdt(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,v2n(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,a2t),k(mt,"Lists/RandomAccessListWrapper",Tl),_(1026,Tl,a2t,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 Lut(this,0)},h.dd=function(t){return Lut(this,t)},h.ed=function(t){return this.a.ed(lhe(this,t))},h.ae=function(t,r){(lct(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 lct(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},lQe),k(mt,"Lists/RandomAccessReverseList",1022),_(1025,1,vh,Ret),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,Rrt),h.Yd=function(t){return new t0(t,$Qe(this.a,t))},k(mt,"Maps/3",967),_(964,yp,wu,PKe),h.Ic=function(t){fQt(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,{},LKe),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"Maps/KeySet/lambda$0$Type",965),_(963,32,Cy,Met),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 FKe(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,FKe),h.Jc=function(){return Rtn(this.a.a.ec(),new OKe(this))},h.Pc=function(){return this.a},h.Kc=function(t){var r;return Mgt(this,t)?(r=l(wl(l(t,45)),45),SQt(this.a,r.jd()),!0):!1},k(mt,"Multimaps/AsMap/EntrySet",1115),_(1119,1,{},OKe),h.Kb=function(t){return $Qe(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},$Ke),h.$b=function(){wj(this.a)},h.Gc=function(t){return jQe(this.a,t)},h.Ic=function(t){kn(t),lo(R3(this.a),new jKe(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,dQe),h.Yd=function(t){return new BKe(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},BKe),k(mt,"Multimaps/Keys/1/1",493),_(1118,1,nn,jKe),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){Jon(l(t,421))},k(mt,"Multiset/lambda$0$Type",1121),_(748,1,nn,UKe),h.Ad=function(t){Ifn(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 Zcn(l(t,421))},k(mt,"Multisets/lambda$1$Type",749),_(2085,1,gL),k(mt,"RangeGwtSerializationDependencies",2085),_(511,2085,{181:1,511:1,3:1,48:1},V1e),h.Lb=function(t){return dst(this,l(t,34))},h.Mb=function(t){return dst(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 Lct(this.a,this.b)},k(mt,"Range",511),_(649,2076,ux,Afe),h.dd=function(t){return yV(this.b,t)},h.Xd=function(){return this.a},h.Xb=function(t){return i1(this.b,t)},h.Nd=function(t){return yV(this.b,t)},k(mt,"RegularImmutableAsList",649),_(652,2084,ux,DW),h.Pd=function(){return this.a};var $Q;k(mt,"RegularImmutableList",652),_(540,725,cx,vle,Ele);var G_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,Let),h.Jc=function(){return new Ahe(this.a,this.b)},h.Gc=function(t){return GV(this.a,t)&&this.b.Gc(t)},h.Hc=function(t){return N6(this.a,t)&&this.b.Hc(t)},h.dc=function(){return y1t(this.b,this.a)},h.gc=function(){return T6(this)},h.Mc=function(){return lr(new Et(null,new St(this.a,1)),new HKe(this.b))},k(mt,"Sets/2",968),_(969,1,Mn,HKe),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},Zat),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,iat),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,_V),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,zKe),h.be=function(){k0n(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 LO(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 LO(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(BQ,Pe,81,0,0,1)),this.k),r=we(Ri,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(){mQt(this,Ucn(this.ce(RP(this,this.g)))),pZe(this)},h.Ib=function(){return RP(this,this.ge())},h.e=u2t,h.i=!1,h.n=!0;var BQ=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(vL,"JavaScriptExceptionBase",865),_(477,865,{477:1,3:1,102:1,63:1,81:1},Fpt),h.ge=function(){return B0n(this),this.c},h.ie=function(){return me(this.b)===me(qEe)?null:this.b};var qEe;k(swe,"JavaScriptException",477);var q_t=k(swe,"JavaScriptObject$",0),UQ;_(2026,1,{}),k(swe,"Scheduler",2026);var u$=0,V_t=0,c$=-1;_(892,2026,{},ee);var VEe;k(vL,"SchedulerImpl",892);var HQ;_(2037,1,{}),k(vL,"StackTraceCreator/Collector",2037),_(866,2037,{},ne),h.je=function(t){var r={},o=[];t[tX]=o;for(var a=arguments.callee.caller;a;){var c=(l_(),a.name||(a.name=Ufn(a.toString())));o.push(c);var f=":"+c,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,c;for(a=(l_(),t&&t[tX]?t[tX]:[]),o=a.length,c=we(s2e,Pe,325,o,0,1),r=0;r<o;r++)c[r]=new bW(a[r],null,-1);return c},k(vL,"StackTraceCreator/CollectorLegacy",866),_(2038,2037,{}),h.je=function(t){},h.le=function(t,r,o,a){return new bW(r,t+"@"+a,o<0?-1:o)},h.ke=function(t){var r,o,a,c,f,p;if(c=fmn(t),f=we(s2e,Pe,325,0,0,1),r=0,a=c.length,a==0)return f;for(p=dEt(this,c[0]),wt(p.d,eX)||(f[r++]=p),o=1;o<a;o++)f[r++]=dEt(this,c[o]);return f},k(vL,"StackTraceCreator/CollectorModern",2038),_(867,2038,{},Q),h.le=function(t,r,o,a){return new bW(r,t,-1)},k(vL,"StackTraceCreator/CollectorModernNoSourceMap",867),_(1055,1,{}),k(uwe,d2t,1055),_(622,1055,{622:1},Pst);var WEe;k(vX,d2t,622),_(2080,1,{}),k(uwe,f2t,2080),_(2081,2080,{}),k(vX,f2t,2081),_(1101,1,{},ie);var bI;k(vX,"LocaleInfo",1101),_(2006,1,{},he),h.a=0,k(vX,"TimeZone",2006),_(1268,2081,{},ce),k("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1268),_(439,1,{439:1},hot),h.a=!1,h.b=0,k(uwe,"DateTimeFormat/PatternPart",439),_(208,1,h2t,q9,Lge,Jde),h.Dd=function(t){return jcn(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()),Ln(MW(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),(Zbt(),oxt)[this.q.getDay()]+" "+sxt[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,h2t,wbt),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 JZt},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 XZt},h.oe=function(){return this},h.Ib=function(){return Dt(),""+this.a},h.a=!1;var W_t,K_t;k(dT,"JSONBoolean",482),_(990,63,vp,fQe),k(dT,"JSONException",990),_(1028,2043,{},ge),h.me=function(){return tQt},h.Ib=function(){return tu};var Y_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 ZZt},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 QZt},h.Hb=function(){return Rhe(this.a)},h.qe=function(){return this},h.Ib=function(){var t,r,o,a,c,f,p;for(p=new fc("{"),t=!0,f=SK(this,we(Je,Pe,2,0,6,1)),o=f,a=0,c=o.length;a<c;++a)r=o[a],t?t=!1:p.a+=ja,zn(p,y0t(r)),p.a+=":",ba(p,op(this,r));return p.a+="}",p.a},k(dT,"JSONObject",150),_(601,tf,wu,vq),h.Gc=function(t){return zi(t)&&jQt(this.a,In(t))},h.Jc=function(){return new DN(new Ds(this.b))},h.gc=function(){return this.b.length},k(dT,"JSONObject/1",601);var zQ;_(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 eQt},h.Hb=function(){return lg(this.a)},h.re=function(){return this},h.Ib=function(){return y0t(this.a)},k(dT,"JSONString",213);var O1,KEe,J_t,YEe,JEe;_(2039,1,{524:1}),k(cwe,"OutputStream",2039),_(2040,2039,{524:1}),k(cwe,"FilterOutputStream",2040),_(868,2040,{524:1},pe),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,yZe,Zce),k(Fs,"ArrayIndexOutOfBoundsException",650),_(529,63,vp,XG,yQe),k(Fs,"ArrayStoreException",529),_(298,81,p2t,lq),k(Fs,"Error",298),_(202,298,p2t,kce,lpe),k(Fs,"AssertionError",202),j_t={3:1,476:1,34:1};var L1,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},KKe),h.Dd=function(t){return DQt(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 MQt(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},gZe,MA),k(Fs,"ClassCastException",214),F_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 qen(this,l(t,165))},h.se=function(){return this.a},h.Fb=function(t){return ae(t,165)&&Fit(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,Mpt),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,X_t;_(192,245,{3:1,34:1,192:1,245:1},uce),h.Dd=function(t){return Ven(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 Hnn(this.a)},h.Ib=function(){return""+x3(this.a)},h.a=0;var Y0=k(Fs,"Long",192),n2e;_(2119,1,{}),_(1891,63,vp,vQe),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,GQ,Z_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 PQt(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},bW),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(Ri,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);$_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 Q_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 rvt(this,l(t,249))},h.se=function(){return vy(Ovt(this))},h.Fb=function(t){var r;return this===t?!0:ae(t,249)?(r=l(t,249),this.e==r.e&&rvt(this,r)==0):!1},h.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Gs(this.f),this.b=Ln(Gi(t,-1)),this.b=33*this.b+Ln(Gi(u0(t,32),-1)),this.b=17*this.b+go(this.e),this.b):(this.b=17*Wpt(this.c)+go(this.e),this.b)},h.Ib=function(){return Ovt(this)},h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var ext,fm,a2e,u2e,c2e,l2e,d2e,f2e,qQ=k("java.math","BigDecimal",249);_(92,245,{3:1,34:1,245:1,92:1},ap,act,Ob,i1t,o1),h.Dd=function(t){return Jgt(this,l(t,92))},h.se=function(){return vy(WJ(this,0))},h.Fb=function(t){return _1e(this,t)},h.Hb=function(){return Wpt(this)},h.Ib=function(){return WJ(this,0)},h.b=-2,h.c=0,h.d=0,h.e=0;var txt,d$,nxt,VQ,f$,wI,zE=k("java.math","BigInteger",92),rxt,ixt,ST,yI;_(487,2044,j0),h.$b=function(){Zs(this)},h._b=function(t){return ma(this,t)},h.uc=function(t){return Rpt(this,t,this.i)||Rpt(this,t,this.f)},h.vc=function(){return new Lw(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,Lw),h.$b=function(){this.a.$b()},h.Gc=function(t){return dct(this,t)},h.Jc=function(){return new dy(this.a)},h.Kc=function(t){var r;return dct(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(){Udt(this)},h.b=!1,h.d=0,k(gn,"AbstractHashMap/EntrySetIterator",308),_(422,1,Wi,DN),h.Nb=function(t){so(this,t)},h.Ob=function(){return xq(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 Dw(t)},h.gc=function(){return this.a.gc()},k(gn,"AbstractMap/2",232),_(305,1,Wi,Dw),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,SX),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,t2t,2061),_(2069,2044,nwe),h.Vc=function(t){return mq(this.Ce(t))},h.tc=function(t){return llt(this,t)},h._b=function(t){return Zde(this,t)},h.vc=function(){return new VG(this)},h.Rc=function(){return _st(this.Ee())},h.Wc=function(t){return mq(this.Fe(t))},h.xc=function(t){var r;return r=t,Ss(this.De(r))},h.Yc=function(t){return mq(this.Ge(t))},h.ec=function(){return new YKe(this)},h.Tc=function(){return _st(this.He())},h.Zc=function(t){return mq(this.Ie(t))},k(gn,"AbstractNavigableMap",2069),_(627,tf,wu,VG),h.Gc=function(t){return ae(t,45)&&llt(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,YKe),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 JKe(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,JKe),h.Nb=function(t){so(this,t)},h.Ob=function(){return xq(this.a.a)},h.Pb=function(){var t;return t=zrt(this.a),t.jd()},h.Qb=function(){Kit(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(;dK(this)!=null;);},k(gn,"AbstractQueue",2082),_(315,32,{4:1,22:1,32:1,18:1},iE,gct),h.Ec=function(t){return epe(this,t),!0},h.$b=function(){spe(this)},h.Gc=function(t){return Kht(new D3(this),t)},h.dc=function(){return zN(this)},h.Jc=function(){return new D3(this)},h.Kc=function(t){return Iun(new D3(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)),cht(this,t,r),t.length>r&&ii(t,r,null),t},h.b=0,h.c=0,k(gn,"ArrayDeque",315),_(451,1,Wi,D3),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a!=this.b},h.Pb=function(){return Bj(this)},h.Qb=function(){Wft(this)},h.a=0,h.b=0,h.c=-1,k(gn,"ArrayDeque/IteratorImpl",451),_(13,56,m2t,je,La,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){Da(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){Rut(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 U3n=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,w2t,Ds),h.Gc=function(t){return Vft(this,t)!=-1},h.Ic=function(t){var r,o,a,c;for(Mt(t),o=this.a,a=0,c=o.length;a<c;++a)r=o[a],t.Ad(r)},h.Xb=function(t){return Hot(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){zV(this.a,this.a.length,t)},h.Nc=function(){return d1t(this,we(Ri,Rt,1,this.a.length,5,1))},h.Oc=function(t){return d1t(this,t)},k(gn,"Arrays/ArrayList",124);var Io,xh,h$;_(945,56,w2t,De),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(),Io},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},qG),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,i2t,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 zQe()},h.Fc=function(t){return GQe()},h.$b=function(){qQe()},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 VQe()},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(){WQe()},k(gn,"Collections/UnmodifiableCollectionIterator",326),_(532,379,y2t,$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(){WQe()},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,WG),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 Fet(this,t)},h.vc=function(){return s_(this)},h.Fb=function(t){return $et(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 rat(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 nat(this)},k(gn,"Collections/UnmodifiableMap",605),_(391,379,ZJ,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,ZJ,TQe),h.Gc=function(t){return jet(this,t)},h.Hc=function(t){return this.b.Hc(t)},h.Jc=function(){var t;return t=this.b.Jc(),new XKe(t)},h.Nc=function(){var t;return t=this.b.Nc(),jct(t,t.length),t},h.Oc=function(t){return Gat(this,t)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet",949),_(950,1,Wi,XKe),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,SX,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},gq),k(gn,"Collections/UnmodifiableRandomAccessList",606),_(700,391,o2t,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,TX,We),h.Le=function(t,r){var o;return o=Fct(l(t,12),l(r,12)),o!=0?o:Wyt(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,WQ,p2e;_(763,1,TX,dt),h.Le=function(t,r){return rsn(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,TX,Ue),h.Le=function(t,r){return isn(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return h0(),WQ},k(gn,"Comparators/ReverseNaturalOrderComparator",1203),_(55,1,TX,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 oxt,sxt;_(1364,1,AL,bt),h.Ne=function(t){Bgt(this,t)},h.Ib=function(){return"DoubleSummaryStatistics[count = "+x3(this.a)+", avg = "+(Aq(this.a,0)?ype(this)/$b(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+ype(this)+"]"},h.a=0,h.b=Di,h.c=Kr,h.d=0,h.e=0,h.f=0,k(gn,"DoubleSummaryStatistics",1364),_(1864,63,vp,bZe),k(gn,"EmptyStackException",1864),_(453,2044,j0,cC),h.yc=function(t,r){return Xde(this,t,r)},h.$b=function(){Kst(this)},h._b=function(t){return ttt(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 QKe(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,QKe),h.$b=function(){Kst(this.a)},h.Gc=function(t){return fct(this,t)},h.Jc=function(){return new Uot(this.a)},h.Kc=function(t){var r;return fct(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,Uot),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.b=U3(this.a),new rtt(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,SX,rtt),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 axt=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 GV(this,t)},h.Jc=function(){return new fS(this)},h.Kc=function(t){return Qot(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,LE,hn,dS,Fnt),h.ze=function(t,r){return me(t)===me(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 H3n=k(gn,"HashSet",47);_(1884,1,mL,kt),h.Bd=function(t){Pht(this,t)},h.Ib=function(){return"IntSummaryStatistics[count = "+x3(this.a)+", avg = "+(Aq(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,$nt),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 uxt;_(1052,1,Eh,Bnt),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 Xit(this.d,this.c,this.d.d)},h.Ob=function(){return!this.a.done},h.Qb=function(){$ht(this.d,this.c.value[0])},k(gn,"InternalStringMap/1",722),_(1053,2061,SX,Xit),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,LE,d1,Npe),h.$b=function(){vit(this)},h._b=function(t){return ntt(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 Bdt(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},qrt,xfe),k(gn,"LinkedHashMap/ChainEntry",395),_(711,tf,wu,dce),h.$b=function(){vit(this.a)},h.Gc=function(t){return hct(this,t)},h.Jc=function(){return new fhe(this)},h.Kc=function(t){var r;return hct(this,t)?(r=l(t,45).jd(),Bdt(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 Gdt(this)},h.Ob=function(){return this.c!=this.d.a.d},h.Qb=function(){Hw(!!this.a),OV(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,wV,zfe);var z3n=k(gn,"LinkedHashSet",184);_(66,2041,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1},Ar,IV),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 G3n=k(gn,"LinkedList",66);_(972,1,vh,Qit),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 ect(this)},h.Vb=function(){return this.a-1},h.Qb=function(){hK(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,cxt;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,sat),k(gn,"NoSuchElementException",113),_(461,1,{461:1},aq),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?QEt+y3(this.a)+")":"Optional.empty()"};var b2e;k(gn,"Optional",461),_(405,1,{405:1},Rnt,EV),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 KQ;k(gn,"OptionalDouble",405),_(514,1,{514:1},Ont,Krt),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 lxt;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 ZKe(this)},h.Kc=function(t){return uht(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,ZKe),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),vK(this.c,this.a=this.b),this.b=-1},h.a=0,h.b=-1,k(gn,"PriorityQueue/1",1272),_(237,1,{237:1},iY,WP),h.a=0,h.b=0;var m2e,w2e,q3n=0;k(gn,"Random",237),_(27,1,Tc,St,Zw,pat),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 lft(this,t)},h.a=0,h.c=0,k(gn,"Spliterators/IteratorSpliterator",27),_(484,27,Tc,r8),k(gn,"SortedSet/1",484),_(607,1,AL,fce),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/0methodref$accept$Type",607),_(608,1,AL,hce),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/1methodref$accept$Type",608),_(609,1,mL,pce),h.Bd=function(t){this.a.Ad(Re(t))},k(gn,"Spliterator/OfInt/2methodref$accept$Type",609),_(610,1,mL,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,Not),h.Qe=function(t,r){OQt(this,l(t,42),r)},h.Nb=function(t){fW(this,t)},h.zd=function(t){return QP(this,t)},k(gn,"Spliterators/ArraySpliterator",952),_(703,702,Tc,Uit),h.Qe=function(t,r){LQt(this,l(t,191),r)},h.Oe=function(t){fW(this,t)},h.Nb=function(t){ae(t,191)?fW(this,l(t,191)):fW(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 dxt;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,v2t,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){Da(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){Rut(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,v2t,L9),k(gn,"Stack",582),_(215,1,{215:1},qb),h.Ib=function(){return Qut(this)},k(gn,"StringJoiner",215),_(545,2069,{3:1,93:1,141:1,136:1},Uet,ZV),h.$b=function(){hQe(this)},h.Be=function(){return new sct(this)},h.vc=function(){return new $rt(this)},h.Ce=function(t){return $_(this,t,!0)},h.De=function(t){return xpt(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 bdt(this)},h.Ie=function(t){return B6(this,t,!1)},h.Xc=function(t,r){return Iut(this,t,r)},h.yc=function(t,r){return fpt(this,t,r)},h.Ac=function(t){return Xat(this,t)},h.Je=function(t){return xpe(this,t)},h.gc=function(){return this.c},h.$c=function(t,r){return Cut(this,t,r)},h.c=0,k(gn,"TreeMap",545),_(546,1,Wi,sct,AK),h.Nb=function(t){so(this,t)},h.Pb=function(){return zrt(this)},h.Ob=function(){return xq(this.a)},h.Qb=function(){Kit(this)},k(gn,"TreeMap/EntryIterator",546),_(1123,627,wu,$rt),h.$b=function(){hQe(this.a)},k(gn,"TreeMap/EntrySet",1123),_(443,392,{483:1,392:1,45:1,443:1},eK),h.b=!1;var V3n=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,eJ),h.Be=function(){return new AK(this.c,this.f,this.b,this.a,this.e,this.d)},h.vc=function(){return new VG(this)},h.Ce=function(t){return J8(this,$_(this.c,t,!0))},h.De=function(t){return J8(this,xpt(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=bdt(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()?Jat(this.c,this.b,this.a,t,r):Iut(this.c,t,r)},h.yc=function(t,r){if(!FY(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 fpt(this.c,t,r)},h.Ac=function(t){var r;return r=t,FY(this.c,this.f,r,this.b,this.a,this.e,this.d)?Xat(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 AK(this.c,this.f,this.b,this.a,this.e,this.d);xq(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+E2t+this.b));return this.f.Se()?Jat(this.c,t,r,this.e,this.d):Cut(this.c,t,r)},h.a=!1,h.d=!1,k(gn,"TreeMap/SubMap",629),_(310,23,xX,i8),h.Re=function(){return!1},h.Se=function(){return!1};var YQ,JQ,XQ,ZQ,p$=fn(gn,"TreeMap/SubMapType",310,bn,nln,brn);_(1124,310,xX,Vnt),h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/1",1124,p$,null,null),_(1125,310,xX,irt),h.Re=function(){return!0},h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/2",1125,p$,null,null),_(1126,310,xX,Wnt),h.Re=function(){return!0},fn(gn,"TreeMap/SubMapType/3",1126,p$,null,null);var fxt;_(143,tf,{3:1,22:1,32:1,18:1,279:1,24:1,85:1,143:1},QG,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 bV(this,t)},h.gc=function(){return this.a.gc()};var W3n=k(gn,"TreeSet",143);_(1063,1,{},eYe),h.Te=function(t,r){return Mnn(this.a,t,r)},k(kX,"BinaryOperator/lambda$0$Type",1063),_(1064,1,{},tYe),h.Te=function(t,r){return Pnn(this.a,t,r)},k(kX,"BinaryOperator/lambda$1$Type",1064),_(944,1,{},Zn),h.Kb=function(t){return t},k(kX,"Function/lambda$0$Type",944),_(390,1,Mn,RA),h.Mb=function(t){return!this.a.Mb(t)},k(kX,"Predicate/lambda$2$Type",390),_(574,1,{574:1});var hxt=k(zC,"Handler",574);_(2086,1,gL),h.ve=function(){return"DUMMY"},h.Ib=function(){return this.ve()};var y2e;k(zC,"Level",2086),_(1689,2086,gL,Yn),h.ve=function(){return"INFO"},k(zC,"Level/LevelInfo",1689),_(1841,1,{},vZe);var QQ;k(zC,"LogManager",1841),_(1883,1,gL,eot),h.b=null,k(zC,"LogRecord",1883),_(515,1,{515:1},GW),h.e=!1;var pxt=!1,gxt=!1,sf=!1,bxt=!1,mxt=!1;k(zC,"Logger",515),_(827,574,{574:1},vr),k(zC,"SimpleConsoleLogHandler",827),_(132,23,{3:1,34:1,23:1,132:1},kq);var v2e,nu,E2e,ru=fn(Bo,"Collector/Characteristics",132,bn,Bun,mrn),wxt;_(753,1,{},ohe),k(Bo,"CollectorImpl",753),_(1061,1,{},On),h.Te=function(t,r){return fgn(l(t,215),l(r,215))},k(Bo,"Collectors/10methodref$merge$Type",1061),_(1062,1,{},Xs),h.Kb=function(t){return Qut(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,{},pot),h.Ve=function(){return new qb(this.a,this.b,this.c)},k(Bo,"Collectors/lambda$15$Type",1059),_(154,1,{},Ci),h.Te=function(t,r){return hen(l(t,18),l(r,18))},k(Bo,"Collectors/lambda$45$Type",154),_(542,1,{}),h.Ye=function(){L3(this)},h.d=!1,k(Bo,"TerminatableStream",542),_(775,542,pwe,zde),h.Ye=function(){L3(this)},k(Bo,"DoubleStreamImpl",775),_(1309,731,Tc,got),h.Pe=function(t){return zbn(this,l(t,191))},h.a=null,k(Bo,"DoubleStreamImpl/2",1309),_(1310,1,AL,nYe),h.Ne=function(t){atn(this.a,t)},k(Bo,"DoubleStreamImpl/2/lambda$0$Type",1310),_(1307,1,AL,rYe),h.Ne=function(t){stn(this.a,t)},k(Bo,"DoubleStreamImpl/lambda$0$Type",1307),_(1308,1,AL,iYe),h.Ne=function(t){Bgt(this.a,t)},k(Bo,"DoubleStreamImpl/lambda$2$Type",1308),_(1363,730,Tc,flt),h.Pe=function(t){return Wcn(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(){L3(this)},h.Ze=function(){return u1(this),this.a},k(Bo,"IntStreamImpl",800),_(801,542,pwe,ple),h.Ye=function(){L3(this)},h.Ze=function(){return u1(this),bde(),dxt},k(Bo,"IntStreamImpl/Empty",801),_(1668,1,mL,oYe),h.Bd=function(t){Pht(this.a,t)},k(Bo,"IntStreamImpl/lambda$4$Type",1668);var K3n=Hr(Bo,"Stream");_(28,542,{524:1,684:1,840:1},Et),h.Ye=function(){L3(this)};var TT;k(Bo,"StreamImpl",28),_(1083,489,Tc,Hit),h.zd=function(t){for(;Gdn(this);){if(this.a.zd(t))return!0;L3(this.b),this.b=null,this.a=null}return!1},k(Bo,"StreamImpl/1",1083),_(1084,1,nn,sYe),h.Ad=function(t){xon(this.a,l(t,840))},k(Bo,"StreamImpl/1/lambda$0$Type",1084),_(1085,1,Mn,aYe),h.Mb=function(t){return pi(this.a,t)},k(Bo,"StreamImpl/1methodref$add$Type",1085),_(1086,489,Tc,_at),h.zd=function(t){var r;return this.a||(r=new je,this.b.a.Nb(new uYe(r)),At(),xi(r,this.c),this.a=new St(r,16)),lft(this.a,t)},h.a=null,k(Bo,"StreamImpl/5",1086),_(1087,1,nn,uYe),h.Ad=function(t){Fe(this.a,t)},k(Bo,"StreamImpl/5/2methodref$add$Type",1087),_(732,489,Tc,Dpe),h.zd=function(t){for(this.b=!1;!this.b&&this.c.zd(new itt(this,t)););return this.b},h.b=!1,k(Bo,"StreamImpl/FilterSpliterator",732),_(1077,1,nn,itt),h.Ad=function(t){vsn(this.a,this.b,t)},k(Bo,"StreamImpl/FilterSpliterator/lambda$0$Type",1077),_(1072,731,Tc,Elt),h.Pe=function(t){return Qnn(this,l(t,191))},k(Bo,"StreamImpl/MapToDoubleSpliterator",1072),_(1076,1,nn,ott),h.Ad=function(t){Cen(this.a,this.b,t)},k(Bo,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1076),_(1071,730,Tc,Slt),h.Pe=function(t){return ern(this,l(t,204))},k(Bo,"StreamImpl/MapToIntSpliterator",1071),_(1075,1,nn,stt),h.Ad=function(t){Ien(this.a,this.b,t)},k(Bo,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1075),_(729,489,Tc,Epe),h.zd=function(t){return Bit(this,t)},k(Bo,"StreamImpl/MapToObjSpliterator",729),_(1074,1,nn,att),h.Ad=function(t){Ren(this.a,this.b,t)},k(Bo,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1074),_(1073,489,Tc,Xft),h.zd=function(t){for(;Aq(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){GKe(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,{},cYe),h.Te=function(t,r){return Srn(this.a,t,r)},k(Bo,"StreamImpl/lambda$4$Type",1081),_(1082,1,nn,utt),h.Ad=function(t){Wnn(this.b,this.a,t)},k(Bo,"StreamImpl/lambda$5$Type",1082),_(1088,1,nn,lYe),h.Ad=function(t){Ghn(this.a,l(t,376))},k(Bo,"TerminatableStream/lambda$0$Type",1088),_(2121,1,{}),_(1993,1,{},Ui),k("javaemul.internal","ConsoleLogger",1993);var Y3n=0;_(2113,1,{}),_(1817,1,nn,mb),h.Ad=function(t){l(t,322)},k(hx,"BowyerWatsonTriangulation/lambda$0$Type",1817),_(1818,1,nn,dYe),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,fYe),h.Le=function(t,r){return Pln(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 J3n=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},L8),k(hx,"Tree",227),_(1195,1,{},Eut),k(A2t,"Scanline",1195);var yxt=Hr(A2t,_2t);_(1745,1,{},dft),k(Ah,"CGraph",1745),_(321,1,{321:1},aut),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=Di,k(Ah,"CGroup",321),_(821,1,{},Oce),k(Ah,"CGroup/CGroupBuilder",821),_(60,1,{60:1},Tit),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=Di;var g$=k(Ah,"CNode",60);_(820,1,{},Lce),k(Ah,"CNode/CNodeBuilder",820);var vxt;_(1568,1,{},Wh),h.df=function(t,r){return 0},h.ef=function(t,r){return 0},k(Ah,k2t,1568),_(1847,1,{},wb),h.af=function(t){var r,o,a,c,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),c=f.j.d.c,O=f.a.a.ec().Jc();O.Ob();)T=l(O.Pb(),60),z=f.k+T.b.a,!Ypn(t,f,t.d)||T.d.c<z?T.i=z:T.i=T.d.c;for(c-=f.j.i,f.b+=c,t.d==(vi(),fs)||t.d==ff?f.c+=c:f.c-=c,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),Mat(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,{},p0t),h.e=!1;var Ext,Sxt,Txt,eee=k(Ah,I2t,1743);_(1744,1,nn,hYe),h.Ad=function(t){npn(this.a,l(t,49))},k(Ah,R2t,1744),_(1848,1,{},Wp),h.bf=function(t){var r,o,a,c,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(c=new V(t.a.b);c.a<c.c.c.length;)for(a=l(q(c),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)&&N1n(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},JG),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(Ah,O2t,520),_(811,1,{},Gfe),h.bf=function(t){this.c=t,X6(this,new X2)},k(Ah,L2t,811),_(1771,1,{690:1},Fat),h._e=function(t){Byn(this,l(t,466))},k(Ah,D2t,1771),_(1772,1,Un,Ow),h.Le=function(t,r){return Tan(l(t,60),l(r,60))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,M2t,1772),_(466,1,{466:1},kle),h.a=!1,k(Ah,P2t,466),_(1773,1,Un,Kh),h.Le=function(t,r){return n0n(l(t,466),l(r,466))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,j2t,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 Axt=k(GC,"NEdge",220);_(186,1,{},gl),k(GC,"NEdge/NEdgeBuilder",186),_(658,1,{},ZG),k(GC,"NGraph",658),_(126,1,{126:1},xlt),h.c=-1,h.d=0,h.e=0,h.i=-1,h.j=!1;var S2e=k(GC,"NNode",126);_(802,1,y2t,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,pYe),h.Ad=function(t){G0e(this.a,l(t,692),!0,!1)},k(F2t,"NodeLabelAndSizeCalculator/lambda$0$Type",1290),_(561,1,{},A9),h.b=!0,h.c=!0,h.d=!0,h.e=!0,k(F2t,"NodeMarginCalculator",561),_(219,1,{219:1}),h.j=!1,h.k=!1;var _xt=k(rm,"Cell",219);_(129,219,{129:1,219:1},Sit),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},Nq);var Bs,$a,Us,jy=fn(rm,"ContainerArea",240,bn,Uun,wrn),xxt;_(338,219,$2t),k(rm,"ContainerCell",338),_(1516,338,$2t,Fgt),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,W1t(this,!0)),t>0?t+this.n.d+this.n.a:0},h.gf=function(){var t,r,o,a,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=T1e(this,BY(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],c=b.Math.max(c,T1e(this,BY(this,t,!0)));return c>0?c+this.n.b+this.n.c:0},h.hf=function(){var t,r,o,a,c;if(this.g)for(t=BY(this,null,!1),o=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),a=0,c=o.length;a<c;++a)r=o[a],$wt(this,r,t);else for(o=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),a=0,c=o.length;a<c;++a)r=o[a],t=BY(this,r,!1),$wt(this,r,t)},h.jf=function(){var t,r,o,a;r=this.i,t=this.n,a=W1t(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 tee=0,b$=0;k(rm,"GridContainerCell",1516),_(464,23,{3:1,34:1,23:1,464:1},Cq);var D1,Wf,nd,kxt=fn(rm,"HorizontalLabelAlignment",464,bn,Hun,yrn),Nxt;_(319,219,{219:1,319:1},eut,fft,qat),h.ff=function(){return Aot(this)},h.gf=function(){return Pfe(this)},h.a=0,h.c=!1;var X3n=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(){kJ(this)},h.jf=function(){NJ(this)},h.b=0,h.c=0,h.d=!1,k(rm,"StripContainerCell",256),_(1672,1,Mn,Xg),h.Mb=function(t){return _Qt(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 xQt(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},Iq);var rd,M1,Nd,Cxt=fn(rm,"VerticalLabelAlignment",465,bn,zun,vrn),Ixt;_(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 jnt(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 xwn(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 Rxt,Oxt,Lxt,Dxt,Mxt,Pxt,jxt,Fxt,$xt,Bxt,Uxt,Hxt,zxt,Gxt,qxt,Vxt,Wxt,Kxt,Yxt,Jxt,Xxt,nee,Zxt=fn(aF,"NodeLabelLocation",169,bn,mY,Ern),Qxt;_(116,1,{116:1},E0t),h.a=!1,k(aF,"PortContext",116),_(1519,1,nn,qR),h.Ad=function(t){net(l(t,319))},k(xL,B2t,1519),_(1520,1,Mn,VR),h.Mb=function(t){return!!l(t,116).c},k(xL,U2t,1520),_(1521,1,nn,RN),h.Ad=function(t){net(l(t,116).c)},k(xL,"LabelPlacer/lambda$2$Type",1521);var T2e;_(1518,1,nn,ON),h.Ad=function(t){qw(),iQt(l(t,116))},k(xL,"NodeLabelAndSizeUtilities/lambda$0$Type",1518),_(795,1,nn,gfe),h.Ad=function(t){wen(this.b,this.c,this.a,l(t,190))},h.a=!1,h.c=!1,k(xL,"NodeLabelCellCreator/lambda$0$Type",795),_(1517,1,nn,gYe),h.Ad=function(t){uQt(this.a,l(t,190))},k(xL,"PortContextCreator/lambda$0$Type",1517);var m$;_(1889,1,{},po),k(gx,"GreedyRectangleStripOverlapRemover",1889),_(1890,1,Un,Fc),h.Le=function(t,r){return Xtn(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,{},_Ze),h.a=5,h.e=0,k(gx,"RectangleStripOverlapRemover",1843),_(1844,1,Un,Fl),h.Le=function(t,r){return Ztn(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 Msn(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 QL,ree,iee,eD,ekt=fn(gx,"RectangleStripOverlapRemover/OverlapRemovalDirection",414,bn,tln,Arn),tkt;_(228,1,{228:1},WV),k(gx,"RectangleStripOverlapRemover/RectangleNode",228),_(1845,1,nn,bYe),h.Ad=function(t){emn(this.a,l(t,228))},k(gx,"RectangleStripOverlapRemover/lambda$1$Type",1845);var nkt=!1,vI,A2e;_(1815,1,nn,Z2),h.Ad=function(t){Lvt(l(t,227))},k(gT,"DepthFirstCompaction/0methodref$compactTree$Type",1815),_(817,1,nn,bce),h.Ad=function(t){can(this.a,l(t,227))},k(gT,"DepthFirstCompaction/lambda$1$Type",817),_(1816,1,nn,Zit),h.Ad=function(t){H1n(this.a,this.b,this.c,l(t,227))},k(gT,"DepthFirstCompaction/lambda$2$Type",1816);var EI,_2e;_(68,1,{68:1},Tut),k(gT,"Node",68),_(1191,1,{},nrt),k(gT,"ScanlineOverlapCheck",1191),_(1192,1,{690:1},Bat),h._e=function(t){Unn(this,l(t,445))},k(gT,"ScanlineOverlapCheck/OverlapsScanlineHandler",1192),_(1193,1,Un,pl),h.Le=function(t,r){return xgn(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 r0n(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(OX,Ewe,755),_(1176,1,Un,Yh),h.Le=function(t,r){return Ovn(l(t,238),l(r,238))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(OX,G2t,1176),_(1177,1,nn,ctt),h.Ad=function(t){qun(this.b,this.a,l(t,254))},k(OX,Swe,1177),_(207,1,im),k(DE,"AbstractLayoutProvider",207),_(733,207,im,Dce),h.kf=function(t,r){dwt(this,t,r)},k(OX,"ForceLayoutProvider",733);var Z3n=Hr(kL,q2t);_(151,1,{3:1,105:1,151:1},Q2),h.of=function(t,r){return C6(this,t,r)},h.lf=function(){return Got(this)},h.mf=function(t){return F(this,t)},h.nf=function(t){return gr(this,t)},k(kL,"MapPropertyHolder",151),_(314,151,{3:1,314:1,105:1,151:1}),k(NL,"FParticle",314),_(254,314,{3:1,254:1,314:1,105:1,151:1},Rst),h.Ib=function(){var t;return this.a?(t=_s(this.a.a,this,0),t>=0?"b"+t+"["+BW(this.a)+"]":"b["+BW(this.a)+"]"):"b_"+s0(this)},k(NL,"FBendpoint",254),_(292,151,{3:1,292:1,105:1,151:1},Ait),h.Ib=function(){return BW(this)},k(NL,"FEdge",292),_(238,151,{3:1,238:1,105:1,151:1},JP);var Q3n=k(NL,"FGraph",238);_(448,314,{3:1,448:1,314:1,105:1,151:1},Mct),h.Ib=function(){return this.b==null||this.b.length==0?"l["+BW(this.a)+"]":"l_"+this.b},k(NL,"FLabel",448),_(156,314,{3:1,156:1,314:1,105:1,151:1},rrt),h.Ib=function(){return qhe(this)},h.a=0,k(NL,"FNode",156),_(2079,1,{}),h.qf=function(t){S0e(this,t)},h.rf=function(){q1t(this)},h.d=0,k(Twe,"AbstractForceModel",2079),_(638,2079,{638:1},Mht),h.pf=function(t,r){var o,a,c,f,p;return jvt(this.f,t,r),c=Li(To(r.d),t.d),p=b.Math.sqrt(c.a*c.a+c.b*c.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),o=d0t(this.e,t,r),o>0?f=-Nsn(a,this.c)*o:f=fnn(a,this.b)*l(F(t,(ed(),AT)),15).a,tp(c,f/p),c},h.qf=function(t){S0e(this,t),this.a=l(F(t,(ed(),y$)),15).a,this.c=ue(le(F(t,v$))),this.b=ue(le(F(t,see)))},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},Lot),h.pf=function(t,r){var o,a,c,f,p;return jvt(this.f,t,r),c=Li(To(r.d),t.d),p=b.Math.sqrt(c.a*c.a+c.b*c.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),f=dnn(a,this.a)*l(F(t,(ed(),AT)),15).a,o=d0t(this.e,t,r),o>0&&(f-=EQt(a,this.a)*o),tp(c,f*this.b/p),c},h.qf=function(t){var r,o,a,c,f,p,m;for(S0e(this,t),this.b=ue(le(F(t,(ed(),aee)))),this.c=this.b/l(F(t,y$),15).a,a=t.e.c.length,f=0,c=0,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),f+=p.e.a,c+=p.e.b;r=f*c,o=ue(le(F(t,v$)))*nf,this.a=b.Math.sqrt(r/(2*a))*o},h.rf=function(){q1t(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,gWe),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,LX),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Hf),eo),fi),ct(xt)))),zr(t,LX,uF,ckt),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,skt),kEt((new mWe,t))};var rkt,ikt,x2e,okt,skt,akt,ukt,ckt;k(VC,"ForceMetaDataProvider",852),_(429,23,{3:1,34:1,23:1,429:1},xle);var oee,w$,k2e=fn(VC,"ForceModelStrategy",429,bn,gun,xrn),lkt;_(993,1,td,mWe),h.tf=function(t){kEt(t)};var dkt,fkt,N2e,y$,C2e,hkt,pkt,gkt,bkt,I2e,mkt,R2e,O2e,wkt,AT,ykt,see,L2e,vkt,Ekt,v$,aee,Skt,Tkt,Akt,D2e,_kt;k(VC,"ForceOptions",993),_(994,1,{},Wm),h.uf=function(){var t;return t=new Dce,t},h.vf=function(t){},k(VC,"ForceOptions/ForceFactory",994);var tD,SI,_T,E$;_(853,1,td,wWe),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."),(Dt(),!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)))),eEt((new yWe,t))};var xkt,kkt,M2e,Nkt,Ckt,Ikt;k(VC,"StressMetaDataProvider",853),_(997,1,td,yWe),h.tf=function(t){eEt(t)};var S$,P2e,j2e,F2e,$2e,B2e,Rkt,Okt,Lkt,Dkt,U2e,Mkt;k(VC,"StressOptions",997),_(998,1,{},n9),h.uf=function(){var t;return t=new _it,t},h.vf=function(t){},k(VC,"StressOptions/StressFactory",998),_(1091,207,im,_it),h.kf=function(t,r){var o,a,c,f,p;for(r.Tg(J2t,1),Ye(Ke(ve(t,(G6(),$2e))))?Ye(Ke(ve(t,U2e)))||P3((o=new OA((t1(),new Yp(t))),o)):dwt(new Dce,t,r.dh(1)),c=apt(t),a=uvt(this.a,c),p=a.Jc();p.Ob();)f=l(p.Pb(),238),!(f.e.c.length<=1)&&(sxn(this.b,f),NEn(this.b),Da(f.d,new nG));c=AEt(a),LEt(c),r.Ug()},k(dF,"StressLayoutProvider",1091),_(1092,1,nn,nG),h.Ad=function(t){R0e(l(t,448))},k(dF,"StressLayoutProvider/lambda$0$Type",1092),_(995,1,{},wZe),h.c=0,h.e=0,h.g=0,k(dF,"StressMajorization",995),_(385,23,{3:1,34:1,23:1,385:1},Rq);var uee,cee,lee,H2e=fn(dF,"StressMajorization/Dimension",385,bn,Vun,krn),Pkt;_(996,1,Un,mYe),h.Le=function(t,r){return rrn(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,{},jut),k(wT,"ElkLayered",1173),_(1174,1,nn,wYe),h.Ad=function(t){gvn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$0$Type",1174),_(1175,1,nn,yYe),h.Ad=function(t){nrn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$1$Type",1175),_(1258,1,{},ort);var jkt,Fkt,$kt;k(wT,"GraphConfigurator",1258),_(764,1,nn,mce),h.Ad=function(t){lmt(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){lmt(this.a,l(t,9))},k(wT,"GraphConfigurator/lambda$2$Type",766),_(1090,207,im,EZe),h.kf=function(t,r){var o;o=F_n(new kZe,t),me(ve(t,(Be(),Wy)))===me((pp(),Ig))?Lgn(this.a,o,r):AEn(this.a,o,r),r.Zg()||mEt(new bWe,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,Zln,Nrn),Bkt;_(1700,1,{},Jft),h.i=0;var Ukt;k(ML,"ComponentsToCGraphTransformer",1700);var Hkt;_(1701,1,{},rG),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(ML,"ComponentsToCGraphTransformer/1",1701),_(84,1,{84:1}),h.i=0,h.k=!0,h.o=Di;var dee=k(KC,"CNode",84);_(463,84,{463:1,84:1},Rde,z1e),h.Ib=function(){return""},k(ML,"ComponentsToCGraphTransformer/CRectNode",463),_(1669,1,{},iG);var fee,hee;k(ML,"OneDimensionalComponentsCompaction",1669),_(1670,1,{},i9),h.Kb=function(t){return Mun(l(t,49))},h.Fb=function(t){return this===t},k(ML,"OneDimensionalComponentsCompaction/lambda$0$Type",1670),_(1671,1,{},o9),h.Kb=function(t){return Fgn(l(t,49))},h.Fb=function(t){return this===t},k(ML,"OneDimensionalComponentsCompaction/lambda$1$Type",1671),_(1703,1,{},jst),k(KC,"CGraph",1703),_(197,1,{197:1},pY),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=Di,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,k2t,1702),_(1704,1,{},h0t),h.d=!1;var zkt,pee=k(KC,I2t,1704);_(1705,1,{},lG),h.Kb=function(t){return gle(),Dt(),l(l(t,49).a,84).d.e!=0},h.Fb=function(t){return this===t},k(KC,R2t,1705),_(825,1,{},Hfe),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(KC,O2t,825),_(1885,1,{},tst),k(fF,L2t,1885);var nD=Hr(om,_2t);_(1886,1,{378:1},$at),h._e=function(t){LSn(this,l(t,468))},k(fF,D2t,1886),_(1887,1,Un,dG),h.Le=function(t,r){return Aan(l(t,84),l(r,84))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(fF,M2t,1887),_(468,1,{468:1},Cle),h.a=!1,k(fF,P2t,468),_(1888,1,Un,fG),h.Le=function(t,r){return i0n(l(t,468),l(r,468))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(fF,j2t,1888),_(148,1,{148:1},qA,Ofe),h.Fb=function(t){var r;return t==null||eCn!=rc(t)?!1:(r=l(t,148),ia(this.c,r.c)&&ia(this.d,r.d))},h.Hb=function(){return Fj(Z(X(Ri,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 eCn=k(om,"Point",148);_(413,23,{3:1,34:1,23:1,413:1},s8);var X0,Fy,qE,$y,Gkt=fn(om,"Point/Quadrant",413,bn,eln,_rn),qkt;_(1691,1,{},SZe),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var Vkt,Wkt,Kkt,Ykt,Jkt;k(om,"RectilinearConvexHull",1691),_(576,1,{378:1},o7),h._e=function(t){Ydn(this,l(t,148))},h.b=0;var G2e;k(om,"RectilinearConvexHull/MaximalElementsEventHandler",576),_(1693,1,Un,oG),h.Le=function(t,r){return _an(le(t),le(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},ift),h._e=function(t){Y2n(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,sG),h.Le=function(t,r){return kcn(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 Ncn(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,aG),h.Le=function(t,r){return Icn(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,uG),h.Le=function(t,r){return Ccn(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,cG),h.Le=function(t,r){return Uwn(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,{},Sut),k(om,"Scanline",1699),_(2083,1,{}),k(rf,"AbstractGraphPlacer",2083),_(337,1,{337:1},Yrt),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,c;for(r=l(F(t,(Ie(),_p)),24),c=l(wr(_r,r),24),a=c.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 Yrt(t))},h.Cf=function(t,r){var o,a,c,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),c=t.Jc();c.Ob();)a=l(c.Pb(),37),this.Ff(a);for(U=new ro,f=ue(le(F(p,(Be(),vD)))),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)))&&me(F(p,kp))===me((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),Lpe(r,EP(m.b))},k(rf,"ComponentGroupGraphPlacer",773),_(1288,773,{},FZe),h.Ff=function(t){tgt(this,t)},h.Cf=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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),c=t.Jc();c.Ob();)a=l(c.Pb(),37),tgt(this,a);for(de=new ro,se=new ro,z=new ro,U=new ro,f=ue(le(F(p,(Be(),vD)))),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,re=new UN(R3(uW(m.b).a).a.kc());re.b.Ob();)if(J=l(n8(re.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,re=new UN(R3(uW(m.b).a).a.kc());re.b.Ob();)if(J=l(n8(re.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),re=new UN(R3(uW(m.b).a).a.kc());re.b.Ob();)if(J=l(n8(re.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),re=new UN(R3(uW(m.b).a).a.kc());re.b.Ob();)if(J=l(n8(re.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)))&&me(F(p,kp))===me((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),Lpe(r,EP(m.b))},k(rf,"ComponentGroupModelOrderGraphPlacer",1288),_(384,23,{3:1,34:1,23:1,384:1},a8);var gee,q2e,bee,TI,V2e=fn(rf,"ComponentOrderingStrategy",384,bn,rln,Crn),Xkt;_(655,1,{},WR),k(rf,"ComponentsCompactor",655),_(1511,13,m2t,plt),h.Ec=function(t){return mC(this,l(t,148))},k(rf,"ComponentsCompactor/Hullpoints",1511),_(1508,1,{847:1},A1t),h.a=!1,k(rf,"ComponentsCompactor/InternalComponent",1508),_(1507,1,Eh,AZe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.a)},k(rf,"ComponentsCompactor/InternalConnectedComponents",1507),_(1510,1,{598:1},m0t),h.zf=function(){return null},h.Af=function(){return this.a},h.yf=function(){return wY(this.d)},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalExternalExtension",1510),_(1509,1,{598:1},xZe),h.Af=function(){return this.a},h.yf=function(){return wY(this.d)},h.zf=function(){return this.c},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalUnionExternalExtension",1509),_(1513,1,{},Bwt),k(rf,"ComponentsCompactor/OuterSegments",1513),_(1512,1,{},TZe),k(rf,"ComponentsCompactor/Segments",1512),_(1259,1,{},klt),k(rf,Ewe,1259),_(1260,1,Un,hG),h.Le=function(t,r){return Ocn(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},hlt),h.Df=function(t){return Gge(this,t)},h.Ef=function(t){return Ewt(this,t)};var Wn;k(rf,"ModelOrderComponentGroup",572),_(1286,2083,{},pG),h.Cf=function(t,r){var o,a,c,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,kyt(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),c=l(t.Xb(0),37),r.a.c.length=0,qs(r,c),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(le(F(r,(Be(),aB))))),a=ue(le(F(r,vD))),this.Gf(t,r,v,a),Ye(Ke(F(c,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)}Lpe(r,t)},h.Gf=function(t,r,o,a){var c,f,p,m,y,v,T,N;for(T=0,N=0,m=0,c=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),c=b.Math.max(c,T+v.a),m=b.Math.max(m,v.b),T+=v.a+a;r.f.a=c,r.f.b=N+m},h.Hf=function(t,r){var o,a,c,f,p;if(me(F(r,(Be(),jI)))===me((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;)c=l(q(f),9),p+=l(F(c,NIt),15).a;o.p=p}At(),t.gd(new bG)}},k(rf,"SimpleRowGraphPlacer",1286),_(1289,1286,{},gG),h.Gf=function(t,r,o,a){var c,f,p,m,y,v,T,N,O,M;for(O=0,M=0,m=0,c=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=c+a),ex(f,O+v.a,M+v.b),c=b.Math.max(c,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=c,r.f.b=M+m},h.Hf=function(t,r){},k(rf,"ModelOrderRowGraphPlacer",1289),_(1287,1,Un,bG),h.Le=function(t,r){return Hhn(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 Zkt;_(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,NZe),h.If=function(t,r){k1t(this,l(t,37),r)},k(hF,"CompoundGraphPreprocessor",1256),_(447,1,{447:1},bgt),h.c=!1,k(hF,"CompoundGraphPreprocessor/ExternalPort",447),_(253,1,{253:1},K8),h.Ib=function(){return vV(this.c)+":"+a0t(this.b)},k(hF,"CrossHierarchyEdge",253),_(771,1,Un,yce),h.Le=function(t,r){return Cmn(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 a0t(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 Qkt=k(ca,"LGraph",37),eNt;_(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,{},gW),h.Qf=function(){var t,r,o,a,c,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(c=l(q(f),9),this.c.Mb(c)&&(Fe(this.b,new W8(this,c,this.e)),this.d)){if(gr(c,(Ie(),MT)))for(r=l(F(c,MT),16).Jc();r.Ob();)t=l(r.Pb(),9),Fe(this.b,new W8(this,t,!1));if(gr(c,NT))for(r=l(F(c,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(Q2t))},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(Q2t))},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(),Io},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(),Io},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 ltt(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(){xfn(this,(KN(),eNt))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ca,"LGraphAdapters/LNodeAdapter",577),_(1775,662,{844:1},ltt),h.Sf=function(){var t,r,o,a,c,f,p,m;if(this.d&&l(this.e,12).i.k==(zt(),_a))return At(),At(),Io;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 L));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;)c=l(q(f),342),Fe(this.a,new MN(c.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,c,f,p,m;if(this.d&&l(this.e,12).i.k==(zt(),_a))return At(),At(),Io;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 L));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;)c=l(q(f),342),Fe(this.c,new MN(c.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(),hD))))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ca,"LGraphAdapters/LPortAdapter",1775),_(1776,1,Un,mG),h.Le=function(t,r){return uTn(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},CQe,dde),h.Ib=function(){var t;return t=Yon(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,c,f,p,m,y,v,T,N;for(f=0;f<t.length&&Hpt((Yt(f,t.length),t.charCodeAt(f)),tSt);)++f;for(r=t.length;r>0&&Hpt((Yt(r-1,t.length),t.charCodeAt(r-1)),nSt);)--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],c=ky(p,"="),c.length!=2)throw Y(new jt("Expecting a list of key-value pairs."));a=Ey(c[0]),N=vy(Ey(c[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(rSt+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(PL,"Spacing",216),_(125,216,iSt,FN,Gnt,efe,DV);var W2e=k(PL,"ElkMargin",125);_(656,125,iSt,eq),k(ca,"LMargin",656),_(9,400,{3:1,248:1,9:1,400:1,105:1,151:1},Xd),h.Ib=function(){return v1t(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,rD,mee=fn(ca,"LNode/NodeType",252,bn,bfn,Trn),tNt;_(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,oSt,oS,xb,mfe);var K2e=k(PL,"ElkPadding",100);_(772,100,oSt,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,nNt=k(ca,"LPort",12);_(404,1,Eh,LA),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=new V(this.a.e),new vYe(t)},k(ca,"LPort/1",404),_(1285,1,Wi,vYe),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,dtt),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(){BQe()},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,wG),h.Lb=function(t){return bst(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,yG),h.Lb=function(t){return mst(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,vG),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,EG),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,SG),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,LN),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,{},udt),h.b=0,k(ca,"Tarjan",1676),_(1294,1,{},kZe),k(Eg,sSt,1294),_(1298,1,{},TG),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,EYe),h.Ad=function(t){A0t(this.a,l(t,127))},k(Eg,Swe,1295),_(1296,1,nn,SYe),h.Ad=function(t){A0t(this.a,l(t,127))},k(Eg,aSt,1296),_(1297,1,{},AG),h.Kb=function(t){return new Et(null,new St(a_(l(t,74)),16))},k(Eg,uSt,1297),_(1299,1,Mn,TYe),h.Mb=function(t){return itn(this.a,l(t,19))},k(Eg,cSt,1299),_(1300,1,{},_G),h.Kb=function(t){return new Et(null,new St(han(l(t,74)),16))},k(Eg,"ElkGraphImporter/lambda$5$Type",1300),_(1302,1,Mn,AYe),h.Mb=function(t){return otn(this.a,l(t,19))},k(Eg,"ElkGraphImporter/lambda$7$Type",1302),_(1303,1,Mn,KR),h.Mb=function(t){return Man(l(t,74))},k(Eg,"ElkGraphImporter/lambda$8$Type",1303),_(1273,1,{},bWe);var rNt;k(Eg,"ElkGraphLayoutTransferrer",1273),_(1274,1,Mn,_Ye),h.Mb=function(t){return srn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$0$Type",1274),_(1275,1,nn,xYe),h.Ad=function(t){fO(),Fe(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$1$Type",1275),_(1276,1,Mn,kYe),h.Mb=function(t){return Bnn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$2$Type",1276),_(1277,1,nn,NYe),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,xG),h.If=function(t,r){chn(l(t,37),r)},k(Zt,"CommentNodeMarginCalculator",1528),_(1529,1,{},kG),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){M_n(l(t,9))},k(Zt,"CommentNodeMarginCalculator/lambda$1$Type",1530),_(1531,1,kr,nFe),h.If=function(t,r){BSn(l(t,37),r)},k(Zt,"CommentPostprocessor",1531),_(1532,1,kr,rFe),h.If=function(t,r){cNn(l(t,37),r)},k(Zt,"CommentPreprocessor",1532),_(1533,1,kr,iFe),h.If=function(t,r){Q2n(l(t,37),r)},k(Zt,"ConstraintsPostprocessor",1533),_(1534,1,kr,oFe),h.If=function(t,r){qhn(l(t,37),r)},k(Zt,"EdgeAndLayerConstraintEdgeReverser",1534),_(1535,1,kr,sFe),h.If=function(t,r){c1n(l(t,37),r)},k(Zt,"EndLabelPostprocessor",1535),_(1536,1,{},aFe),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,uFe),h.Mb=function(t){return Wln(l(t,9))},k(Zt,"EndLabelPostprocessor/lambda$1$Type",1537),_(1538,1,nn,cFe),h.Ad=function(t){o0n(l(t,9))},k(Zt,"EndLabelPostprocessor/lambda$2$Type",1538),_(1539,1,kr,lFe),h.If=function(t,r){Hyn(l(t,37),r)},k(Zt,"EndLabelPreprocessor",1539),_(1540,1,{},dFe),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,tot),h.Ad=function(t){yen(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,fFe),h.Mb=function(t){return me(F(l(t,70),(Be(),Yf)))===me((Kd(),vk))},k(Zt,"EndLabelPreprocessor/lambda$2$Type",1542),_(1543,1,nn,CYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Zt,"EndLabelPreprocessor/lambda$3$Type",1543),_(1544,1,Mn,hFe),h.Mb=function(t){return me(F(l(t,70),(Be(),Yf)))===me((Kd(),fv))},k(Zt,"EndLabelPreprocessor/lambda$4$Type",1544),_(1545,1,nn,IYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Zt,"EndLabelPreprocessor/lambda$5$Type",1545),_(1593,1,kr,EWe),h.If=function(t,r){wgn(l(t,37),r)};var iNt;k(Zt,"EndLabelSorter",1593),_(1594,1,Un,pFe),h.Le=function(t,r){return J1n(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},Iat),k(Zt,"EndLabelSorter/LabelGroup",458),_(1595,1,{},gFe),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,bFe),h.Mb=function(t){return dO(),l(t,9).k==(zt(),Xr)},k(Zt,"EndLabelSorter/lambda$1$Type",1596),_(1597,1,nn,mFe),h.Ad=function(t){tyn(l(t,9))},k(Zt,"EndLabelSorter/lambda$2$Type",1597),_(1598,1,Mn,wFe),h.Mb=function(t){return dO(),me(F(l(t,70),(Be(),Yf)))===me((Kd(),fv))},k(Zt,"EndLabelSorter/lambda$3$Type",1598),_(1599,1,Mn,yFe),h.Mb=function(t){return dO(),me(F(l(t,70),(Be(),Yf)))===me((Kd(),vk))},k(Zt,"EndLabelSorter/lambda$4$Type",1599),_(1546,1,kr,vFe),h.If=function(t,r){Z_n(this,l(t,37))},h.b=0,h.c=0,k(Zt,"FinalSplineBendpointsCalculator",1546),_(1547,1,{},EFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"FinalSplineBendpointsCalculator/lambda$0$Type",1547),_(1548,1,{},SFe),h.Kb=function(t){return new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(Zt,"FinalSplineBendpointsCalculator/lambda$1$Type",1548),_(1549,1,Mn,TFe),h.Mb=function(t){return!fo(l(t,17))},k(Zt,"FinalSplineBendpointsCalculator/lambda$2$Type",1549),_(1550,1,Mn,AFe),h.Mb=function(t){return gr(l(t,17),(Ie(),pm))},k(Zt,"FinalSplineBendpointsCalculator/lambda$3$Type",1550),_(1551,1,nn,RYe),h.Ad=function(t){iAn(this.a,l(t,134))},k(Zt,"FinalSplineBendpointsCalculator/lambda$4$Type",1551),_(1552,1,nn,_Fe),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){qxn(this,l(t,37),r)},k(Zt,"GraphTransformer",797),_(506,23,{3:1,34:1,23:1,506:1},Ile);var wee,iD,oNt=fn(Zt,"GraphTransformer/Mode",506,bn,bun,Irn),sNt;_(1553,1,kr,xFe),h.If=function(t,r){f2n(l(t,37),r)},k(Zt,"HierarchicalNodeResizingProcessor",1553),_(1554,1,kr,kFe),h.If=function(t,r){Yfn(l(t,37),r)},k(Zt,"HierarchicalPortConstraintProcessor",1554),_(1555,1,Un,NFe),h.Le=function(t,r){return fbn(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,CFe),h.If=function(t,r){XAn(l(t,37),r)},k(Zt,"HierarchicalPortDummySizeProcessor",1556),_(1557,1,kr,IFe),h.If=function(t,r){lTn(this,l(t,37),r)},h.a=0,k(Zt,"HierarchicalPortOrthogonalEdgeRouter",1557),_(1558,1,Un,RFe),h.Le=function(t,r){return Jtn(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,OFe),h.Le=function(t,r){return zdn(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,LFe),h.If=function(t,r){Fwn(l(t,37),r)},k(Zt,"HierarchicalPortPositionProcessor",1560),_(1561,1,kr,vWe),h.If=function(t,r){VNn(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,{},MFe),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,{},PFe),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,jFe),h.If=function(t,r){HAn(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,{},FFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"HyperedgeDummyMerger/lambda$0$Type",1570),_(1571,1,{},$Fe),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,BFe),h.Ad=function(t){l(t,12).p=-1},k(Zt,"HyperedgeDummyMerger/lambda$2$Type",1572),_(1573,1,kr,UFe),h.If=function(t,r){UAn(l(t,37),r)},k(Zt,"HypernodesProcessor",1573),_(1574,1,kr,HFe),h.If=function(t,r){JAn(l(t,37),r)},k(Zt,"InLayerConstraintProcessor",1574),_(1575,1,kr,zFe),h.If=function(t,r){vhn(l(t,37),r)},k(Zt,"InnermostNodeMarginCalculator",1575),_(1576,1,kr,GFe),h.If=function(t,r){oNn(this,l(t,37))},h.a=Di,h.b=Di,h.c=Kr,h.d=Kr;var tCn=k(Zt,"InteractiveExternalPortPositioner",1576);_(1577,1,{},qFe),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,{},OYe),h.Kb=function(t){return Qtn(this.a,le(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$1$Type",1578),_(1579,1,{},VFe),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,{},LYe),h.Kb=function(t){return enn(this.a,le(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$3$Type",1580),_(1581,1,{},DYe),h.Kb=function(t){return Ynn(this.a,le(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$4$Type",1581),_(1582,1,{},MYe),h.Kb=function(t){return Jnn(this.a,le(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 hUe;case 22:return new pUe;case 48:return new bUe;case 29:case 36:return new r$e;case 33:return new xG;case 43:return new nFe;case 1:return new rFe;case 42:return new iFe;case 57:return new Ece((E_(),iD));case 0:return new Ece((E_(),wee));case 2:return new oFe;case 55:return new sFe;case 34:return new lFe;case 52:return new vFe;case 56:return new xFe;case 13:return new kFe;case 39:return new CFe;case 45:return new IFe;case 41:return new LFe;case 9:return new vWe;case 50:return new Frt;case 38:return new jFe;case 44:return new UFe;case 28:return new HFe;case 31:return new zFe;case 3:return new GFe;case 18:return new WFe;case 30:return new KFe;case 5:return new SWe;case 51:return new ZFe;case 35:return new TWe;case 37:return new i$e;case 53:return new EWe;case 11:return new o$e;case 7:return new AWe;case 40:return new s$e;case 46:return new a$e;case 16:return new u$e;case 10:return new _tt;case 49:return new f$e;case 21:return new h$e;case 23:return new P9((Kb(),XI));case 8:return new g$e;case 12:return new m$e;case 4:return new w$e;case 19:return new _We;case 17:return new N$e;case 54:return new C$e;case 6:return new U$e;case 25:return new RZe;case 26:return new fUe;case 47:return new D$e;case 32:return new Cit;case 14:return new Y$e;case 27:return new yUe;case 20:return new eBe;case 24:return new P9((Kb(),IB));default:throw Y(new jt(FX+(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,yee,k$,N$,ASe,C$,I$,R$,Gx,By,Uy,_Se,O$,L$,xSe,D$,M$,kSe,NSe,CSe,ISe,P$,vee,xT,j$,F$,$$,B$,RSe,OSe,LSe,DSe,nCn=fn(Zt,$X,80,bn,Awt,Rrn),aNt;_(1583,1,kr,WFe),h.If=function(t,r){nNn(l(t,37),r)},k(Zt,"InvertedPortProcessor",1583),_(1584,1,kr,KFe),h.If=function(t,r){ZTn(l(t,37),r)},k(Zt,"LabelAndNodeSizeProcessor",1584),_(1585,1,Mn,YFe),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"LabelAndNodeSizeProcessor/lambda$0$Type",1585),_(1586,1,Mn,JFe),h.Mb=function(t){return l(t,9).k==(zt(),mi)},k(Zt,"LabelAndNodeSizeProcessor/lambda$1$Type",1586),_(1587,1,nn,aot),h.Ad=function(t){ven(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,SWe),h.If=function(t,r){Dkn(l(t,37),r)};var uNt;k(Zt,"LabelDummyInserter",1588),_(1589,1,Uf,XFe),h.Lb=function(t){return me(F(l(t,70),(Be(),Yf)))===me((Kd(),yk))},h.Fb=function(t){return this===t},h.Mb=function(t){return me(F(l(t,70),(Be(),Yf)))===me((Kd(),yk))},k(Zt,"LabelDummyInserter/1",1589),_(1590,1,kr,ZFe),h.If=function(t,r){vkn(l(t,37),r)},k(Zt,"LabelDummyRemover",1590),_(1591,1,Mn,QFe),h.Mb=function(t){return Ye(Ke(F(l(t,70),(Be(),i2))))},k(Zt,"LabelDummyRemover/lambda$0$Type",1591),_(1344,1,kr,TWe),h.If=function(t,r){pkn(this,l(t,37),r)},h.a=null;var Eee;k(Zt,"LabelDummySwitcher",1344),_(295,1,{295:1},vyt),h.c=0,h.d=null,h.f=0,k(Zt,"LabelDummySwitcher/LabelDummyInfo",295),_(1345,1,{},e$e),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,t$e),h.Mb=function(t){return zS(),l(t,9).k==(zt(),ta)},k(Zt,"LabelDummySwitcher/lambda$1$Type",1346),_(1347,1,{},PYe),h.Kb=function(t){return $nn(this.a,l(t,9))},k(Zt,"LabelDummySwitcher/lambda$2$Type",1347),_(1348,1,nn,jYe),h.Ad=function(t){Vsn(this.a,l(t,295))},k(Zt,"LabelDummySwitcher/lambda$3$Type",1348),_(1349,1,Un,n$e),h.Le=function(t,r){return Ssn(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,r$e),h.If=function(t,r){Edn(l(t,37),r)},k(Zt,"LabelManagementProcessor",796),_(1592,1,kr,i$e),h.If=function(t,r){CSn(l(t,37),r)},k(Zt,"LabelSideSelector",1592),_(1600,1,kr,o$e),h.If=function(t,r){b_n(l(t,37),r)},k(Zt,"LayerConstraintPostprocessor",1600),_(1601,1,kr,AWe),h.If=function(t,r){cEn(l(t,37),r)};var MSe;k(Zt,"LayerConstraintPreprocessor",1601),_(368,23,{3:1,34:1,23:1,368:1},u8);var oD,U$,H$,See,cNt=fn(Zt,"LayerConstraintPreprocessor/HiddenNodeConnections",368,bn,iln,Orn),lNt;_(1602,1,kr,s$e),h.If=function(t,r){Lxn(l(t,37),r)},k(Zt,"LayerSizeAndGraphHeightCalculator",1602),_(1603,1,kr,a$e),h.If=function(t,r){h2n(l(t,37),r)},k(Zt,"LongEdgeJoiner",1603),_(1604,1,kr,u$e),h.If=function(t,r){lxn(l(t,37),r)},k(Zt,"LongEdgeSplitter",1604),_(1605,1,kr,_tt),h.If=function(t,r){Kkn(this,l(t,37),r)},h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var dNt,fNt;k(Zt,"NodePromotion",1605),_(1606,1,Un,c$e),h.Le=function(t,r){return Npn(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,l$e),h.Le=function(t,r){return kpn(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,{},d$e),h.Kb=function(t){return l(t,49),Y8(),Dt(),!0},h.Fb=function(t){return this===t},k(Zt,"NodePromotion/lambda$0$Type",1608),_(1609,1,{},FYe),h.Kb=function(t){return Nun(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,k(Zt,"NodePromotion/lambda$1$Type",1609),_(1610,1,{},$Ye),h.Kb=function(t){return Cun(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,f$e),h.If=function(t,r){jNn(l(t,37),r)},k(Zt,"NorthSouthPortPostprocessor",1611),_(1612,1,kr,h$e),h.If=function(t,r){zNn(l(t,37),r)},k(Zt,"NorthSouthPortPreprocessor",1612),_(1613,1,Un,p$e),h.Le=function(t,r){return Vhn(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,g$e),h.If=function(t,r){RAn(l(t,37),r)},k(Zt,"PartitionMidprocessor",1614),_(1615,1,Mn,b$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionMidprocessor/lambda$0$Type",1615),_(1616,1,nn,BYe),h.Ad=function(t){Dan(this.a,l(t,9))},k(Zt,"PartitionMidprocessor/lambda$1$Type",1616),_(1617,1,kr,m$e),h.If=function(t,r){D2n(l(t,37),r)},k(Zt,"PartitionPostprocessor",1617),_(1618,1,kr,w$e),h.If=function(t,r){jTn(l(t,37),r)},k(Zt,"PartitionPreprocessor",1618),_(1619,1,Mn,y$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionPreprocessor/lambda$0$Type",1619),_(1620,1,Mn,v$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionPreprocessor/lambda$1$Type",1620),_(1621,1,{},E$e),h.Kb=function(t){return new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(Zt,"PartitionPreprocessor/lambda$2$Type",1621),_(1622,1,Mn,UYe),h.Mb=function(t){return oen(this.a,l(t,17))},k(Zt,"PartitionPreprocessor/lambda$3$Type",1622),_(1623,1,nn,S$e),h.Ad=function(t){ipn(l(t,17))},k(Zt,"PartitionPreprocessor/lambda$4$Type",1623),_(1624,1,Mn,HYe),h.Mb=function(t){return qsn(this.a,l(t,9))},h.a=0,k(Zt,"PartitionPreprocessor/lambda$5$Type",1624),_(1625,1,kr,_We),h.If=function(t,r){dAn(l(t,37),r)};var PSe,hNt,pNt,gNt,jSe,FSe;k(Zt,"PortListSorter",1625),_(1626,1,{},T$e),h.Kb=function(t){return N_(),l(t,12).e},k(Zt,"PortListSorter/lambda$0$Type",1626),_(1627,1,{},A$e),h.Kb=function(t){return N_(),l(t,12).g},k(Zt,"PortListSorter/lambda$1$Type",1627),_(1628,1,Un,_$e),h.Le=function(t,r){return Fct(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,x$e),h.Le=function(t,r){return Emn(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,k$e),h.Le=function(t,r){return Wyt(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,N$e),h.If=function(t,r){mEn(l(t,37),r)},k(Zt,"PortSideProcessor",1631),_(1632,1,kr,C$e),h.If=function(t,r){TTn(l(t,37),r)},k(Zt,"ReversedEdgeRestorer",1632),_(1637,1,kr,RZe),h.If=function(t,r){rmn(this,l(t,37),r)},k(Zt,"SelfLoopPortRestorer",1637),_(1638,1,{},I$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,R$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopPortRestorer/lambda$1$Type",1639),_(1640,1,Mn,O$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopPortRestorer/lambda$2$Type",1640),_(1641,1,{},L$e),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Zt,"SelfLoopPortRestorer/lambda$3$Type",1641),_(1642,1,nn,zYe),h.Ad=function(t){gyn(this.a,l(t,339))},k(Zt,"SelfLoopPortRestorer/lambda$4$Type",1642),_(799,1,nn,Rue),h.Ad=function(t){kyn(l(t,108))},k(Zt,"SelfLoopPortRestorer/lambda$5$Type",799),_(1644,1,kr,D$e),h.If=function(t,r){gbn(l(t,37),r)},k(Zt,"SelfLoopPostProcessor",1644),_(1645,1,{},M$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,P$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopPostProcessor/lambda$1$Type",1646),_(1647,1,Mn,j$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopPostProcessor/lambda$2$Type",1647),_(1648,1,nn,F$e),h.Ad=function(t){S0n(l(t,9))},k(Zt,"SelfLoopPostProcessor/lambda$3$Type",1648),_(1649,1,{},$$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,GYe),h.Ad=function(t){Qcn(this.a,l(t,342))},k(Zt,"SelfLoopPostProcessor/lambda$5$Type",1650),_(1651,1,Mn,B$e),h.Mb=function(t){return!!l(t,108).i},k(Zt,"SelfLoopPostProcessor/lambda$6$Type",1651),_(1652,1,nn,qYe),h.Ad=function(t){vQt(this.a,l(t,108))},k(Zt,"SelfLoopPostProcessor/lambda$7$Type",1652),_(1633,1,kr,U$e),h.If=function(t,r){XEn(l(t,37),r)},k(Zt,"SelfLoopPreProcessor",1633),_(1634,1,{},H$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,{},z$e),h.Kb=function(t){return l(t,342).a},k(Zt,"SelfLoopPreProcessor/lambda$1$Type",1635),_(1636,1,nn,G$e),h.Ad=function(t){Otn(l(t,17))},k(Zt,"SelfLoopPreProcessor/lambda$2$Type",1636),_(1653,1,kr,Cit),h.If=function(t,r){Zwn(this,l(t,37),r)},k(Zt,"SelfLoopRouter",1653),_(1654,1,{},q$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,V$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopRouter/lambda$1$Type",1655),_(1656,1,Mn,W$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopRouter/lambda$2$Type",1656),_(1657,1,{},K$e),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Zt,"SelfLoopRouter/lambda$3$Type",1657),_(1658,1,nn,ftt),h.Ad=function(t){Nan(this.a,this.b,l(t,339))},k(Zt,"SelfLoopRouter/lambda$4$Type",1658),_(1659,1,kr,Y$e),h.If=function(t,r){bSn(l(t,37),r)},k(Zt,"SemiInteractiveCrossMinProcessor",1659),_(1660,1,Mn,J$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1660),_(1661,1,Mn,X$e),h.Mb=function(t){return Got(l(t,9))._b((Be(),Zy))},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1661),_(1662,1,Un,Z$e),h.Le=function(t,r){return ahn(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,{},Q$e),h.Te=function(t,r){return Lan(l(t,9),l(r,9))},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1663),_(1665,1,kr,eBe),h.If=function(t,r){Xxn(l(t,37),r)},k(Zt,"SortByInputModelProcessor",1665),_(1666,1,Mn,tBe),h.Mb=function(t){return l(t,12).g.c.length!=0},k(Zt,"SortByInputModelProcessor/lambda$0$Type",1666),_(1667,1,nn,VYe),h.Ad=function(t){Oyn(this.a,l(t,12))},k(Zt,"SortByInputModelProcessor/lambda$1$Type",1667),_(1746,811,{},dht),h.bf=function(t){var r,o,a,c;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 gBe),new mtt(this,r)),X6(this,new rBe),Da(r,new iBe),r.c.length=0,ei(lr(new Et(null,new St(this.c.a.b,16)),new oBe),new KYe(r)),X6(this,new sBe),Da(r,new aBe),r.c.length=0,o=ert(kK(ey(new Et(null,new St(this.c.a.b,16)),new YYe(this))),new uBe),ei(new Et(null,new St(this.c.a.a,16)),new ptt(o,r)),X6(this,new lBe),Da(r,new dBe),r.c.length=0;break;case 3:a=new je,X6(this,new nBe),c=ert(kK(ey(new Et(null,new St(this.c.a.b,16)),new WYe(this))),new cBe),ei(lr(new Et(null,new St(this.c.a.b,16)),new fBe),new btt(c,a)),X6(this,new hBe),Da(a,new pBe),a.c.length=0;break;default:throw Y(new mZe)}},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation",1746),_(1747,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$0$Type",1747),_(1748,1,{},WYe),h.We=function(t){return ovn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1748),_(1756,1,nF,htt),h.be=function(){bC(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1756),_(1758,1,Uf,rBe),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,iBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1759),_(1760,1,Mn,oBe),h.Mb=function(t){return ae(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1760),_(1762,1,nn,KYe),h.Ad=function(t){zgn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1762),_(1761,1,nF,vtt),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1761),_(1763,1,Uf,sBe),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,aBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1764),_(1765,1,{},YYe),h.We=function(t){return svn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1765),_(1766,1,{},uBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1766),_(1749,1,{},cBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1749),_(1768,1,nn,ptt),h.Ad=function(t){fsn(this.a,this.b,l(t,321))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1768),_(1767,1,nF,gtt),h.be=function(){V0t(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1767),_(1769,1,Uf,lBe),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,dBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1770),_(1750,1,Mn,fBe),h.Mb=function(t){return ae(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1750),_(1752,1,nn,btt),h.Ad=function(t){hsn(this.a,this.b,l(t,60))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1752),_(1751,1,nF,Ett),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1751),_(1753,1,Uf,hBe),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,pBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1754),_(1755,1,Mn,gBe),h.Mb=function(t){return ae(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1755),_(1757,1,nn,mtt),h.Ad=function(t){Nfn(this.a,this.b,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1757),_(1564,1,kr,Frt),h.If=function(t,r){hxn(this,l(t,37),r)};var bNt;k(di,"HorizontalGraphCompactor",1564),_(1565,1,{},JYe),h.df=function(t,r){var o,a,c;return $pe(t,r)||(o=lE(t),a=lE(r),o&&o.k==(zt(),mi)||a&&a.k==(zt(),mi))?0:(c=l(F(this.a.a,(Ie(),t2)),317),rnn(c,o?o.k:(zt(),gi),a?a.k:(zt(),gi)))},h.ef=function(t,r){var o,a,c;return $pe(t,r)?1:(o=lE(t),a=lE(r),c=l(F(this.a.a,(Ie(),t2)),317),Ode(c,o?o.k:(zt(),gi),a?a.k:(zt(),gi)))},k(di,"HorizontalGraphCompactor/1",1565),_(1566,1,{},bBe),h.cf=function(t,r){return YN(),t.a.i==0},k(di,"HorizontalGraphCompactor/lambda$0$Type",1566),_(1567,1,{},XYe),h.cf=function(t,r){return Pan(this.a,t,r)},k(di,"HorizontalGraphCompactor/lambda$1$Type",1567),_(1713,1,{},zdt);var mNt,wNt;k(di,"LGraphToCGraphTransformer",1713),_(1721,1,Mn,mBe),h.Mb=function(t){return t!=null},k(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1721),_(1714,1,{},wBe),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,{},yBe),h.Kb=function(t){return hc(),igt(l(l(t,60).g,157))},k(di,"LGraphToCGraphTransformer/lambda$1$Type",1715),_(1724,1,Mn,vBe),h.Mb=function(t){return hc(),ae(l(t,60).g,9)},k(di,"LGraphToCGraphTransformer/lambda$10$Type",1724),_(1725,1,nn,EBe),h.Ad=function(t){Ran(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$11$Type",1725),_(1726,1,Mn,SBe),h.Mb=function(t){return hc(),ae(l(t,60).g,157)},k(di,"LGraphToCGraphTransformer/lambda$12$Type",1726),_(1730,1,nn,TBe),h.Ad=function(t){agn(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$13$Type",1730),_(1727,1,nn,ZYe),h.Ad=function(t){Qen(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$14$Type",1727),_(1728,1,nn,QYe),h.Ad=function(t){ttn(this.a,l(t,120))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$15$Type",1728),_(1729,1,nn,eJe),h.Ad=function(t){etn(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$16$Type",1729),_(1731,1,{},ABe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(di,"LGraphToCGraphTransformer/lambda$17$Type",1731),_(1732,1,Mn,_Be),h.Mb=function(t){return hc(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$18$Type",1732),_(1733,1,nn,tJe),h.Ad=function(t){ifn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$19$Type",1733),_(1717,1,nn,nJe),h.Ad=function(t){Lcn(this.a,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$2$Type",1717),_(1734,1,{},xBe),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,{},kBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(di,"LGraphToCGraphTransformer/lambda$21$Type",1735),_(1736,1,{},NBe),h.Kb=function(t){return hc(),l(F(l(t,17),(Ie(),pm)),16)},k(di,"LGraphToCGraphTransformer/lambda$22$Type",1736),_(1737,1,Mn,CBe),h.Mb=function(t){return inn(l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$23$Type",1737),_(1738,1,nn,rJe),h.Ad=function(t){avn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$24$Type",1738),_(1739,1,{},IBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(di,"LGraphToCGraphTransformer/lambda$25$Type",1739),_(1740,1,Mn,RBe),h.Mb=function(t){return hc(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$26$Type",1740),_(1742,1,nn,iJe),h.Ad=function(t){Xfn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$27$Type",1742),_(1741,1,nn,oJe),h.Ad=function(t){qQt(this.a,l(t,70))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$28$Type",1741),_(1716,1,nn,wtt),h.Ad=function(t){Oln(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$3$Type",1716),_(1718,1,{},OBe),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,{},LBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},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,sJe),h.Ad=function(t){wvn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$8$Type",1722),_(1723,1,nn,ytt),h.Ad=function(t){_tn(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$9$Type",1723),_(1712,1,{},MBe),h.af=function(t){var r,o,a,c,f;for(this.a=t,this.d=new ZG,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(Ikn(this),kNn(this),O2n(this),TJ(LV(this.d),new sS),c=new V(this.a.a.b);c.a<c.c.c.length;)a=l(q(c),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},LC),h.Dd=function(t){return dfn(this,l(t,157))},h.Ib=function(){return igt(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},_ht),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},Wrt),h.Dd=function(t){return $on(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,{},Emt),h.b=0,h.e=!1,k(YC,"CrossingMatrixFiller",2005);var yNt=Hr(_h,"IInitializable");_(1863,1,JC,Stt),h.eg=function(t,r,o,a,c,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 Kpt(this,t,r,o),Yln(this,r)},h.kg=function(t,r){var o;return o=XQt(r,t.length),Kpt(this,t,o,r),spt(this,o)},h.d=0,k(YC,"GreedySwitchHeuristic",1863),_(2008,1,{},Jot),h.b=0,h.d=0,k(YC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",2008),_(1995,1,{},iyt),h.a=!1,k(YC,"SwitchDecider",1995),_(108,1,{108:1},Omt),h.a=null,h.c=null,h.i=null,k(yT,"SelfHyperLoop",108),_(1992,1,{},a1t),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,Tee,vNt=fn(yT,"SelfHyperLoopLabels/Alignment",418,bn,oln,Lrn),ENt;_(342,1,{342:1},_lt),k(yT,"SelfLoopEdge",342),_(339,1,{339:1},u1t),h.a=!1,k(yT,"SelfLoopHolder",339),_(1777,1,Mn,PBe),h.Mb=function(t){return fo(l(t,17))},k(yT,"SelfLoopHolder/lambda$0$Type",1777),_(114,1,{114:1},p1t),h.a=!1,h.c=!1,k(yT,"SelfLoopPort",114),_(1849,1,Mn,jBe),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$,sD,G$,q$,V$,SNt=fn(yT,"SelfLoopType",372,bn,edn,Drn),TNt;_(1785,1,{},xWe);var ANt,_Nt,xNt,kNt;k(Ac,"PortRestorer",1785),_(369,23,{3:1,34:1,23:1,369:1},Oq);var Z0,P1,Q0,Aee=fn(Ac,"PortRestorer/PortSideArea",369,bn,ucn,jrn),NNt;_(1786,1,{},FBe),h.Kb=function(t){return S1(),l(t,16).Mc()},k(Ac,"PortRestorer/lambda$0$Type",1786),_(1787,1,nn,$Be),h.Ad=function(t){S1(),l(t,114).c=!1},k(Ac,"PortRestorer/lambda$1$Type",1787),_(1796,1,Mn,BBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),Kt)},k(Ac,"PortRestorer/lambda$10$Type",1796),_(1797,1,{},UBe),h.Kb=function(t){return S1(),l(t,114).d},k(Ac,"PortRestorer/lambda$11$Type",1797),_(1798,1,nn,aJe),h.Ad=function(t){VQt(this.a,l(t,12))},k(Ac,"PortRestorer/lambda$12$Type",1798),_(1788,1,nn,uJe),h.Ad=function(t){ynn(this.a,l(t,108))},k(Ac,"PortRestorer/lambda$2$Type",1788),_(1789,1,Un,HBe),h.Le=function(t,r){return jfn(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,zBe),h.Mb=function(t){return S1(),l(t,114).c},k(Ac,"PortRestorer/lambda$4$Type",1790),_(1791,1,Mn,GBe),h.Mb=function(t){return Rhn(l(t,12))},k(Ac,"PortRestorer/lambda$5$Type",1791),_(1792,1,Mn,qBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),Wt)},k(Ac,"PortRestorer/lambda$6$Type",1792),_(1793,1,Mn,VBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),Qt)},k(Ac,"PortRestorer/lambda$7$Type",1793),_(1794,1,Mn,WBe),h.Mb=function(t){return Sln(l(t,12))},k(Ac,"PortRestorer/lambda$8$Type",1794),_(1795,1,Mn,KBe),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 _ee,xee,kee,Nee,Cee,Iee,Ree,Oee,$Se=fn(Ac,"PortSideAssigner/Target",277,bn,mfn,Frn),CNt;_(1778,1,{},YBe),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,{},JBe),h.Kb=function(t){return l(t,114).d},k(Ac,"PortSideAssigner/lambda$2$Type",1779),_(1780,1,nn,XBe),h.Ad=function(t){Ii(l(t,12),(He(),Wt))},k(Ac,"PortSideAssigner/lambda$3$Type",1780),_(1781,1,{},ZBe),h.Kb=function(t){return l(t,114).d},k(Ac,"PortSideAssigner/lambda$4$Type",1781),_(1782,1,nn,cJe),h.Ad=function(t){oQt(this.a,l(t,12))},k(Ac,"PortSideAssigner/lambda$5$Type",1782),_(1783,1,Un,QBe),h.Le=function(t,r){return ean(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,eUe),h.Le=function(t,r){return Lon(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,tUe),h.Le=function(t,r){return irn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,B2t,1803),_(1804,1,Un,nUe),h.Le=function(t,r){return orn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,U2t,1804),_(1850,2087,{},rUe),h.lg=function(t,r,o){return o},k(C1,"OrthogonalSelfLoopRouter",1850),_(1852,1,nn,Ttt),h.Ad=function(t){H1e(this.b,this.a,l(t,8))},k(C1,"OrthogonalSelfLoopRouter/lambda$0$Type",1852),_(1851,1850,{},iUe),h.lg=function(t,r,o){var a,c;return a=t.c.d,WA(o,0,br(To(a.n),a.a)),c=t.d.d,Gn(o,br(To(c.n),c.a)),xAn(o)},k(C1,"PolylineSelfLoopRouter",1851),_(1799,1,{},IWe),h.a=null;var WE;k(C1,"RoutingDirector",1799),_(1800,1,Un,oUe),h.Le=function(t,r){return Ion(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,{},sUe),h.Kb=function(t){return K9(),l(t,108).j},k(C1,"RoutingDirector/lambda$1$Type",1801),_(1802,1,nn,aUe),h.Ad=function(t){K9(),l(t,16).gd(WE)},k(C1,"RoutingDirector/lambda$2$Type",1802),_(1805,1,{},uUe),k(C1,"RoutingSlotAssigner",1805),_(1806,1,Mn,lJe),h.Mb=function(t){return Men(this.a,l(t,108))},k(C1,"RoutingSlotAssigner/lambda$0$Type",1806),_(1807,1,Un,dJe),h.Le=function(t,r){return Zon(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,{},cUe),h.lg=function(t,r,o){var a,c,f,p;return a=ue(le(i7(t.b.g.b,(Be(),o2)))),p=new Jrt(Z(X($i,1),Pe,8,0,[(f=t.c.d,br(new So(f.n),f.a))])),n2n(t,r,o,p,a),Gn(p,(c=t.d.d,br(new So(c.n),c.a))),M1t(new C0e(p))},k(C1,"SplineSelfLoopRouter",1853),_(516,1,Un,Age,hat),h.Le=function(t,r){return hL(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,lUe),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,vgt,Mpe),h.Le=function(t,r){return gst(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,fUe),h.If=function(t,r){d3n(l(t,37))},k("org.eclipse.elk.alg.layered.intermediate.unzipping","AlternatingLayerUnzipper",1643),_(809,1,{},Lue),h.mg=function(t,r){var o,a,c,f;for(c=bmt(r),o=new je,f=r.f/c,a=1;a<c;++a)Fe(o,Re(Ln(Gs(b.Math.round(a*f)))));return o},h.ng=function(){return!1},k(zf,"ARDCutIndexHeuristic",809),_(1522,1,kr,hUe),h.If=function(t,r){GTn(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},EJe),h.a=!1,h.b=0,h.c=0,k(zf,"BreakingPointInserter/Cut",657),_(1523,1,kr,pUe),h.If=function(t,r){a2n(l(t,37),r)},k(zf,"BreakingPointProcessor",1523),_(1524,1,Mn,dUe),h.Mb=function(t){return aft(l(t,9))},k(zf,"BreakingPointProcessor/0methodref$isEnd$Type",1524),_(1525,1,Mn,gUe),h.Mb=function(t){return uft(l(t,9))},k(zf,"BreakingPointProcessor/1methodref$isStart$Type",1525),_(1526,1,kr,bUe),h.If=function(t,r){I2n(this,l(t,37),r)},k(zf,"BreakingPointRemover",1526),_(1527,1,nn,mUe),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,{},Due),h.Te=function(t,r){return b.Math.max(ue(le(t)),ue(le(r)))},k(zf,"GraphStats/0methodref$max$Type",806),_(807,1,{},Mue),h.Te=function(t,r){return b.Math.max(ue(le(t)),ue(le(r)))},k(zf,"GraphStats/2methodref$max$Type",807),_(1709,1,{},wUe),h.Te=function(t,r){return yin(le(t),le(r))},k(zf,"GraphStats/lambda$1$Type",1709),_(1710,1,{},fJe),h.Kb=function(t){return h1t(this.a,l(t,26))},k(zf,"GraphStats/lambda$2$Type",1710),_(1711,1,{},hJe),h.Kb=function(t){return mwt(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(),Io)},h.ng=function(){return!1},k(zf,"ICutIndexCalculator/ManualCutIndexCalculator",808),_(810,1,{},jue),h.mg=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee;for(Ee=(r.n==null&&B1t(r),r.n),y=(r.d==null&&B1t(r),r.d),de=we(Ki,Jo,30,Ee.length,15,1),de[0]=Ee[0],re=Ee[0],v=1;v<Ee.length;v++)de[v]=de[v-1]+Ee[v],re+=Ee[v];for(c=bmt(r)-1,p=l(F(t,(Be(),WAe)),15).a,a=Di,o=new je,O=b.Math.max(0,c-p);O<=b.Math.min(r.f-1,c+p);O++){if(z=re/(O+1),J=0,T=1,f=new je,se=Di,N=0,m=0,U=y[0],O==0)se=re,m=(r.g==null&&(r.g=yht(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,yUe),h.If=function(t,r){m_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,Ldn,Prn),INt;_(427,23,{3:1,34:1,23:1,427:1},Rle);var BSe,Lee,USe=fn($s,"ConstraintCalculationStrategy",427,bn,Qan,Mrn),RNt;_(302,23,{3:1,34:1,23:1,302:1,173:1,177:1},l8),h.bg=function(){return nwt(this)},h.og=function(){return nwt(this)};var aD,kI,HSe,zSe,GSe=fn($s,"CrossingMinimizationStrategy",302,bn,cln,$rn),ONt;_(351,23,{3:1,34:1,23:1,351:1},Lq);var qSe,Dee,W$,VSe=fn($s,"CuttingStrategy",351,bn,Jun,Brn),LNt;_(268,23,{3:1,34:1,23:1,268:1,173:1,177:1},Kv),h.bg=function(){return ayt(this)},h.og=function(){return ayt(this)};var Mee,WSe,Pee,jee,Fee,$ee,Bee,Uee,uD,KSe=fn($s,"CycleBreakingStrategy",268,bn,Gfn,Urn),DNt;_(424,23,{3:1,34:1,23:1,424:1},Ole);var K$,YSe,JSe=fn($s,"DirectionCongruency",424,bn,eun,Hrn),MNt;_(452,23,{3:1,34:1,23:1,452:1},Dq);var Jx,Hee,JE,PNt=fn($s,"EdgeConstraint",452,bn,Xun,zrn),jNt;_(286,23,{3:1,34:1,23:1,286:1},r3);var zee,Gee,qee,Vee,Y$,Wee,XSe=fn($s,"EdgeLabelSideSelection",286,bn,Idn,Grn),FNt;_(479,23,{3:1,34:1,23:1,479:1},Lle);var J$,ZSe,QSe=fn($s,"EdgeStraighteningStrategy",479,bn,tun,qrn),$Nt;_(284,23,{3:1,34:1,23:1,284:1},i3);var Kee,eTe,tTe,X$,nTe,rTe,iTe=fn($s,"FixedAlignment",284,bn,Rdn,Vrn),BNt;_(285,23,{3:1,34:1,23:1,285:1},o3);var oTe,sTe,aTe,uTe,NI,cTe,lTe=fn($s,"GraphCompactionStrategy",285,bn,Odn,Wrn),UNt;_(262,23,{3:1,34:1,23:1,262:1},Fw);var Xx,Z$,Zx,rl,CI,Q$,Qx,XE,eB,II,Yee=fn($s,"GraphProperties",262,bn,dhn,Krn),HNt;_(303,23,{3:1,34:1,23:1,303:1},Mq);var cD,Jee,Xee,Zee=fn($s,"GreedySwitchType",303,bn,Yun,Yrn),zNt;_(330,23,{3:1,34:1,23:1,330:1},Pq);var Gy,dTe,lD,Qee=fn($s,"GroupOrderStrategy",330,bn,Wun,Jrn),GNt;_(316,23,{3:1,34:1,23:1,316:1},jq);var kT,dD,ZE,qNt=fn($s,"InLayerConstraint",316,bn,Kun,Xrn),VNt;_(425,23,{3:1,34:1,23:1,425:1},Dle);var ete,fTe,hTe=fn($s,"InteractiveReferencePoint",425,bn,Jan,Zrn),WNt,pTe,NT,ew,fD,tB,gTe,bTe,nB,mTe,CT,rB,RI,IT,_p,tte,iB,Hs,wTe,j1,xa,nte,rte,hD,hm,tw,RT,yTe,KNt,OT,pD,qy,Cd,Nl,ite,QE,F1,Cr,mr,vTe,ETe,STe,TTe,ATe,ote,oB,Nu,nw,ste,LT,OI,Ag,e2,rw,t2,n2,ek,pm,_Te,ate,ute,LI,DT,sB,MT,r2;_(166,23,{3:1,34:1,23:1,166:1},bO);var DI,xp,MI,gm,gD,xTe=fn($s,"LayerConstraint",166,bn,idn,Qrn),YNt;_(428,23,{3:1,34:1,23:1,428:1},Mle);var cte,lte,kTe=fn($s,"LayerUnzippingStrategy",428,bn,Xan,ein),JNt;_(851,1,td,RWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Dwe),""),"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."),(Dt(),!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,jL,eCt),zr(t,gF,XC,Q3t),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(WQt(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,jL),"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,FL),vZ),"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),vZ),"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),vZ),"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),vZ),"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,HX),vSt),"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,HX,FL,aCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zX),vSt),"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,zX,FL,cCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,GX),ESt),"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,qX),ESt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Re(0)),yo),Ti),ct(xt)))),zr(t,qX,GX,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,VX),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Re(sr)),yo),Ti),ct(xt)))),zr(t,VX,FL,nCt),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,WX),Ax),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),eo),fi),ct(xt)))),zr(t,WX,NF,x3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,KX),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,KX,XC,O3t),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),SSt),"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,YX),SSt),"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),Zee),ct(xt)))),zr(t,YX,XC,A3t),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),Zee),ct(xt)))),zr(t,bF,XC,E3t),zr(t,bF,NF,S3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PE),TSt),"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),TSt),"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,xCt),zr(t,mF,PE,kCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,JX),ASt),"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,JX,PE,SCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XX),ASt),"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,XX,PE,ACt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZX),"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,ZX,PE,CCt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,QX),"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),jte),ct(ri)))),zr(t,QX,PE,LCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eZ),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),tAe),$r),jte),ct(xt)))),zr(t,eZ,PE,OCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Zwe),_St),"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),_St),"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,BL,z3t),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,BL,q3t),zr(t,yF,wF,V3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tZ),"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,tZ,BL,$3t),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,nZ),mye),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),Ai),Yr),ct(xt)))),zr(t,nZ,WC,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aye),xSt),"Post Compaction Strategy"),kSt),CTe),$r),lTe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uye),xSt),"Post Compaction Constraint Calculation"),kSt),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,rZ),wye),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Re(16)),yo),Ti),ct(xt)))),zr(t,rZ,vF,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iZ),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,iZ,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,VCt),zr(t,EF,Sp,WCt),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,YCt),zr(t,SF,Sp,JCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZC),NSt),"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,nIt),zr(t,ZC,Sp,rIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,oZ),NSt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),lf),_c),ct(xt)))),zr(t,oZ,ZC,ZCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sZ),"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,sZ,ZC,eIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,TF),CSt),"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,gIt),zr(t,TF,Sp,bIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,AF),CSt),"Valid Indices for Wrapping"),null),lf),_c),ct(xt)))),zr(t,AF,Sp,fIt),zr(t,AF,Sp,hIt),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,aIt),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,oIt),zr(t,xF,_F,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aZ),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,aZ,Sp,cIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uZ),EZ),"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,cZ),EZ),"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,cZ,lZ,gCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lZ),EZ),"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,dZ),EZ),"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,dZ,uZ,mCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cye),SZ),"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),SZ),"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,$L),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,fZ),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,fZ,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."),DTe),$r),i_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hZ),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,hZ,kF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pZ),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,pZ,kF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gZ),_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,gZ,$L,!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 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,bZ,$L,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,mZ),_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,mZ,$L,!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),Qee),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,wZ),_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,wZ,jL,s3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,yZ),_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,yZ,jL,u3t),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."),LTe),$r),Qee),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)))),YEt((new $We,t))};var XNt,ZNt,QNt,NTe,e3t,CTe,t3t,ITe,n3t,r3t,i3t,RTe,o3t,s3t,a3t,u3t,c3t,OTe,l3t,LTe,d3t,f3t,h3t,p3t,DTe,g3t,b3t,m3t,MTe,w3t,y3t,v3t,PTe,E3t,S3t,T3t,jTe,A3t,_3t,x3t,k3t,N3t,C3t,I3t,R3t,O3t,L3t,FTe,D3t,$Te,M3t,BTe,P3t,UTe,j3t,HTe,F3t,$3t,B3t,zTe,U3t,GTe,H3t,qTe,z3t,G3t,q3t,V3t,W3t,K3t,Y3t,J3t,X3t,Z3t,VTe,Q3t,eCt,tCt,nCt,rCt,iCt,WTe,oCt,sCt,aCt,uCt,cCt,lCt,dCt,KTe,fCt,YTe,hCt,JTe,pCt,gCt,bCt,XTe,mCt,wCt,ZTe,yCt,vCt,ECt,QTe,SCt,TCt,eAe,ACt,_Ct,xCt,kCt,NCt,CCt,ICt,RCt,tAe,OCt,LCt,DCt,nAe,MCt,rAe,PCt,jCt,FCt,$Ct,BCt,UCt,HCt,zCt,GCt,qCt,VCt,WCt,KCt,YCt,JCt,XCt,ZCt,QCt,iAe,eIt,tIt,oAe,nIt,rIt,iIt,oIt,sIt,aIt,uIt,cIt,lIt,sAe,dIt,fIt,hIt,pIt,aAe,gIt,bIt;k($s,"LayeredMetaDataProvider",851),_(991,1,td,$We),h.tf=function(t){YEt(t)};var Kf,dte,aB,PI,uB,uAe,cB,jI,bD,fte,PT,cAe,lAe,dAe,FI,mIt,$I,Vy,hte,lB,pte,Ch,gte,tk,fAe,mD,bte,hAe,wIt,yIt,vIt,dB,mte,BI,jT,EIt,xc,pAe,gAe,fB,i2,Yf,hB,kp,bAe,mAe,wAe,wte,yte,yAe,_g,vte,vAe,Wy,EAe,SAe,TAe,pB,Ky,bm,AAe,_Ae,ss,xAe,SIt,Cs,UI,kAe,NAe,CAe,wD,gB,bB,Ete,Ste,IAe,mB,RAe,OAe,wB,iw,LAe,Tte,HI,DAe,ow,zI,yB,mm,Ate,nk,vB,wm,MAe,PAe,jAe,Yy,FAe,TIt,AIt,_It,xIt,sw,Jy,Zr,xg,kIt,Xy,$Ae,rk,BAe,Zy,NIt,ik,UAe,FT,CIt,IIt,yD,_te,HAe,vD,od,Qy,o2,ym,$1,EB,ev,xte,ok,sk,vm,tv,kte,ED,GI,qI,RIt,OIt,LIt,zAe,DIt,Nte,GAe,qAe,VAe,WAe,Cte,KAe,YAe,JAe,XAe,Ite,SB;k($s,"LayeredOptions",991),_(992,1,{},vUe),h.uf=function(){var t;return t=new EZe,t},h.vf=function(t){},k($s,"LayeredOptions/LayeredFactory",992),_(1357,1,{}),h.a=0;var MIt;k(Vs,"ElkSpacings/AbstractSpacingsBuilder",1357),_(785,1357,{},E1e);var TB,PIt;k($s,"LayeredSpacings/LayeredSpacingsBuilder",785),_(269,23,{3:1,34:1,23:1,269:1,173:1,177:1},Yv),h.bg=function(){return ryt(this)},h.og=function(){return ryt(this)};var Rte,Ote,Lte,ZAe,QAe,e_e,AB,Dte,t_e,n_e=fn($s,"LayeringStrategy",269,bn,qfn,oin),jIt;_(353,23,{3:1,34:1,23:1,353:1},Fq);var Mte,r_e,_B,i_e=fn($s,"LongEdgeOrderingStrategy",353,bn,ncn,nin),FIt;_(205,23,{3:1,34:1,23:1,205:1},d8);var s2,a2,xB,Pte,jte=fn($s,"NodeFlexibility",205,bn,aln,tin),$It;_(329,23,{3:1,34:1,23:1,329:1,173:1,177:1},mO),h.bg=function(){return gmt(this)},h.og=function(){return gmt(this)};var VI,Fte,$te,WI,o_e,s_e=fn($s,"NodePlacementStrategy",329,bn,rdn,rin),BIt;_(246,23,{3:1,34:1,23:1,246:1},$w);var a_e,ak,KI,SD,u_e,c_e,TD,l_e,kB,NB,d_e=fn($s,"NodePromotionStrategy",246,bn,lhn,iin),UIt;_(270,23,{3:1,34:1,23:1,270:1},f8);var f_e,B1,Bte,Ute,h_e=fn($s,"OrderingStrategy",270,bn,uln,sin),HIt;_(426,23,{3:1,34:1,23:1,426:1},Ple);var Hte,zte,p_e=fn($s,"PortSortingStrategy",426,bn,Zan,ain),zIt;_(455,23,{3:1,34:1,23:1,455:1},$q);var Cu,Ba,YI,GIt=fn($s,"PortType",455,bn,Zun,uin),qIt;_(382,23,{3:1,34:1,23:1,382:1},Bq);var g_e,Gte,b_e,m_e=fn($s,"SelfLoopDistributionStrategy",382,bn,Qun,cin),VIt;_(349,23,{3:1,34:1,23:1,349:1},Uq);var qte,AD,Vte,w_e=fn($s,"SelfLoopOrderingStrategy",349,bn,ecn,lin),WIt;_(317,1,{317:1},Gvt),k($s,"Spacings",317),_(350,23,{3:1,34:1,23:1,350:1},Hq);var Wte,y_e,JI,v_e=fn($s,"SplineRoutingMode",350,bn,tcn,din),KIt;_(352,23,{3:1,34:1,23:1,352:1},zq);var Kte,E_e,S_e,T_e=fn($s,"ValidifyStrategy",352,bn,rcn,fin),YIt;_(383,23,{3:1,34:1,23:1,383:1},Gq);var nv,Yte,uk,A_e=fn($s,"WrappingStrategy",383,bn,icn,hin),JIt;_(1373,1,Fi,PWe),h.pg=function(t){return l(t,37),XIt},h.If=function(t,r){tkn(this,l(t,37),r)};var XIt;k(H0,"BFSNodeOrderCycleBreaker",1373),_(1371,1,Fi,MWe),h.pg=function(t){return l(t,37),ZIt},h.If=function(t,r){J_n(this,l(t,37),r)};var ZIt;k(H0,"DFSNodeOrderCycleBreaker",1371),_(1372,1,nn,not),h.Ad=function(t){JTn(this.a,this.c,this.b,l(t,17))},h.b=!1,k(H0,"DFSNodeOrderCycleBreaker/lambda$0$Type",1372),_(1365,1,Fi,jWe),h.pg=function(t){return l(t,37),QIt},h.If=function(t,r){Y_n(this,l(t,37),r)};var QIt;k(H0,"DepthFirstCycleBreaker",1365),_(786,1,Fi,qfe),h.pg=function(t){return l(t,37),e4t},h.If=function(t,r){m3n(this,l(t,37),r)},h.qg=function(t){return l(ze(t,u7(this.e,t.c.length)),9)};var e4t;k(H0,"GreedyCycleBreaker",786),_(1368,786,Fi,Jtt),h.qg=function(t){var r,o,a,c,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,fD),15).a,c=new YR,o=me(F(this.b,(Be(),PT)))===me((g1(),Gy)),m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),gr(p,Cr)&&(f=o?iT(c,p,r,y):tT(c,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,LWe),h.pg=function(t){return l(t,37),t4t},h.If=function(t,r){Sxn(this,l(t,37),r)};var t4t;k(H0,"InteractiveCycleBreaker",1366),_(1367,1,Fi,OWe),h.pg=function(t){return l(t,37),n4t},h.If=function(t,r){Axn(l(t,37),r)};var n4t;k(H0,"ModelOrderCycleBreaker",1367),_(787,1,Fi),h.pg=function(t){return l(t,37),r4t},h.If=function(t,r){l_n(this,l(t,37),r)},h.rg=function(t,r){var o,a,c,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=me(F(this.a,(Be(),PT)))===me((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(c=new $t(qt(Or(m).a.Jc(),new L));an(c);)a=l(en(c),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}};var r4t;k(H0,"SCCModelOrderCycleBreaker",787),_(1370,787,Fi,Xtt),h.rg=function(t,r){var o,a,c,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=me(F(this.a,(Be(),PT)))===me((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(me(F(y,Vy))===me(F(this.a,cAe)))for(c=new $t(qt(si(y).a.Jc(),new L));an(c);)a=l(en(c),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else if(me(F(m,Vy))===me(F(this.a,lAe)))for(c=new $t(qt(Or(m).a.Jc(),new L));an(c);)a=l(en(c),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 L)))>yd(new $t(qt(Or(m).a.Jc(),new L))))for(c=new $t(qt(si(y).a.Jc(),new L));an(c);)a=l(en(c),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(c=new $t(qt(Or(m).a.Jc(),new L));an(c);)a=l(en(c),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}},k(H0,"SCCNodeTypeCycleBreaker",1370),_(1369,787,Fi,Ztt),h.rg=function(t,r){var o,a,c,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=me(F(this.a,(Be(),PT)))===me((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 L)))>yd(new $t(qt(Or(m).a.Jc(),new L))))for(c=new $t(qt(si(y).a.Jc(),new L));an(c);)a=l(en(c),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(c=new $t(qt(Or(m).a.Jc(),new L));an(c);)a=l(en(c),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),i4t},h.If=function(t,r){ENn(this,l(t,37),r)};var i4t;k(Tp,"BreadthFirstModelOrderLayerer",1385),_(1386,1,Un,EUe),h.Le=function(t,r){return evn(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,Yet),h.pg=function(t){return l(t,37),o4t},h.If=function(t,r){S3n(this,l(t,37),r)};var o4t;k(Tp,"CoffmanGrahamLayerer",1376),_(1377,1,Un,pJe),h.Le=function(t,r){return lSn(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,gJe),h.Le=function(t,r){return dsn(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,kWe),h.pg=function(t){return l(t,37),s4t},h.If=function(t,r){u3n(this,l(t,37),r)},h.c=0,h.e=0;var s4t;k(Tp,"DepthFirstModelOrderLayerer",1387),_(1388,1,Un,SUe),h.Le=function(t,r){return tvn(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,TUe),h.pg=function(t){return l(t,37),$n($n($n(new ui,(Vi(),id),(Zi(),yee)),kh,Uy),la,By)},h.If=function(t,r){ONn(l(t,37),r)},k(Tp,"InteractiveLayerer",1379),_(571,1,{571:1},CZe),h.a=0,h.c=0,k(Tp,"InteractiveLayerer/LayerSpan",571),_(1375,1,Fi,NWe),h.pg=function(t){return l(t,37),a4t},h.If=function(t,r){iSn(this,l(t,37),r)};var a4t;k(Tp,"LongestPathLayerer",1375),_(1384,1,Fi,CWe),h.pg=function(t){return l(t,37),u4t},h.If=function(t,r){_Sn(this,l(t,37),r)};var u4t;k(Tp,"LongestPathSourceLayerer",1384),_(1382,1,Fi,UWe),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){HNn(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,bJe),h.Le=function(t,r){return Phn(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,BWe),h.pg=function(t){return l(t,37),c4t},h.If=function(t,r){ikn(this,l(t,37),r)};var c4t;k(Tp,"NetworkSimplexLayerer",1374),_(1380,1,Fi,xit),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){Gkn(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,CUe),h.Le=function(t,r){return wdn(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,c,f){},h.tg=function(t,r,o){return Dyt(this,t,r,o)},h.dg=function(){this.g=we(Ev,LSt,30,this.d,15,1),this.f=we(Ev,LSt,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,mJe),h.Le=function(t,r){return X1n(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,c,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?ybt(this,t):(_bt(this,t,a),tEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),tk))))?twt(t,this.d,l(this,667)):(At(),xi(t,this.d)),Bht(this.e,t))},h.jg=function(t,r,o,a){var c,f,p,m,y,v,T;for(r!=Vot(o,t.length)&&(f=t[r-(o?1:-1)],Ape(this.f,f,o?(jo(),Ba):(jo(),Cu))),c=t[r][0],T=!a||c.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,c,f,p;for(p=Vot(r,t.length),f=Wl(t[p]),this.ug(f,!1,!0,r),o=0,c=new V(f);c.a<c.c.c.length;)a=l(q(c),9),t[p][o++]=a;return!1},k(qa,"BarycenterHeuristic",823),_(665,1,{665:1},vJe),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 l4t=k(qa,"BarycenterHeuristic/BarycenterState",665);_(1859,1,Un,wJe),h.Le=function(t,r){return q0n(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,c,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){this.a[t]=we(l4t,{3:1,4:1,5:1,2096:1},665,r[t].length,0,1),this.b[t]=we(d4t,{3:1,4:1,5:1,2097:1},242,r[t].length,0,1)},h.gg=function(t,r,o){n1t(this,o[t][r],!0)},h.c=!1,k(qa,"ForsterConstraintResolver",822),_(242,1,{242:1},xat,zvt),h.Ib=function(){var t,r;for(r=new Zg,r.a+="[",t=0;t<this.d.length;t++)zn(r,v1t(this.d[t])),Hd(this.g,this.d[0]).a!=null&&zn(zn((r.a+="<",r),Uen(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 d4t=k(qa,"ForsterConstraintResolver/ConstraintGroup",242);_(1854,1,nn,yJe),h.Ad=function(t){n1t(this.a,l(t,9),!1)},k(qa,"ForsterConstraintResolver/lambda$0$Type",1854),_(221,1,{221:1,223:1},Zvt),h.eg=function(t,r,o,a,c,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,c;c=o[t][r],a=c.e,a&&Fe(this.b,a)},h.hg=function(t,r,o,a){++this.n},h.Ib=function(){return rEt(this.e,new hi)},h.g=!1,h.i=!1,h.n=0,h.s=!1,k(qa,"GraphInfoHolder",221),_(1892,1,JC,$Ue),h.eg=function(t,r,o,a,c,f){},h.fg=function(t,r){},h.hg=function(t,r,o,a){},h.tg=function(t,r,o){return o&&r>0?kW(this.a,t[r-1],t[r]):!o&&r<t.length-1?kW(this.a,t[r],t[r+1]):EK(this.a,t[r],o?(He(),Kt):(He(),Qt)),c2n(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,HWe),h.pg=function(t){return Zpn(l(t,37))},h.If=function(t,r){Tkn(l(t,37),r)};var f4t;k(qa,"InteractiveCrossingMinimizer",1393),_(1394,1,Un,SJe),h.Le=function(t,r){return A0n(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(h4t),$n(r,(Vi(),la),(Zi(),P$)),r},h.If=function(t,r){kAn(this,l(t,37),r)},h.e=0;var h4t;k(qa,"LayerSweepCrossingMinimizer",456),_(1390,1,nn,TJe),h.Ad=function(t){w_n(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1390),_(1391,1,nn,AJe),h.Ad=function(t){Vpn(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1391),_(1392,1,nn,_Je),h.Ad=function(t){vvt(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1392),_(409,23,{3:1,34:1,23:1,409:1},h8);var _D,CB,XI,IB,p4t=fn(qa,"LayerSweepCrossingMinimizer/CrossMinType",409,bn,sln,pin),g4t;_(1389,1,Mn,_Ue),h.Mb=function(t){return Sge(),l(t,26).a.c.length==0},k(qa,"LayerSweepCrossingMinimizer/lambda$0$Type",1389),_(1856,1,JC,sut),h.dg=function(){},h.eg=function(t,r,o,a,c,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){r[t][0].c.p=t,this.b[t]=we(b4t,{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 AUe)},k(qa,"LayerSweepTypeDecider",1856),_(666,1,{666:1},AUe),h.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},h.a=0,h.b=0,h.c=0;var b4t=k(qa,"LayerSweepTypeDecider/NodeInfo",666);_(1857,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$0$Type",1857),_(1858,1,Uf,kUe),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,NQe),h.sg=function(t,r,o){var a,c,f,p,m,y,v,T,N;switch(v=this.g,o.g){case 1:{for(a=0,c=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)&&++c);for(f=r+c,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,Rat),h.dg=function(){},h.eg=function(t,r,o,a,c,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 c,f,p,m;for(c=Wl(t[r]),ukn(this,c,o?r-1:r+1),At(),xi(c,this.b),f=0,m=new V(c);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,c,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),YV(this.a));for(At(),xi(a,this.b),c=0,p=new V(a);p.a<p.c.c.length;)f=l(q(p),9),t[o][c++]=f,Te(f,(Ie(),r2),c);return!1},k(qa,"MedianHeuristic",1861),_(1862,1,Un,NUe),h.Le=function(t,r){return Zvn(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},lht),h.ug=function(t,r,o,a){o?ybt(this,t):(_bt(this,t,a),tEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),tk))))?twt(t,this.d,this):(At(),xi(t,this.d)),Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),tk)))||Bht(this.e,t))},k(qa,"ModelOrderBarycenterHeuristic",667),_(1860,1,Un,xJe),h.Le=function(t,r){return $_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,qWe),h.pg=function(t){var r;return l(t,37),r=O8(m4t),$n(r,(Vi(),la),(Zi(),P$)),r},h.If=function(t,r){xan((l(t,37),r))};var m4t;k(qa,"NoCrossingMinimizer",1395),_(803,411,rve,rle),h.sg=function(t,r,o){var a,c,f,p,m,y,v,T,N,O,M;switch(N=this.g,o.g){case 1:{for(c=0,f=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.e.c.length!=0&&(++c,y.j==(He(),Wt)&&++f);for(a=1/(c+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,{},hst,imt),k(qa,"SweepCopy",815),_(1855,1,JC,$gt),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,c,f){var p;p=l(ze(f[t][r].j,o),12),c.c==p&&c.c.i.c==c.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 c;c=l(ze(a[t][r].j,o),12),c.p=this.f++,c.g.c.length+c.e.c.length>1&&(c.j==(He(),Qt)?this.b[t]=!0:c.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,kJe),h.Le=function(t,r){return Qon(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,NJe),h.Le=function(t,r){return esn(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,CJe),h.Le=function(t,r){return tsn(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,IJe),h.Le=function(t,r){return nsn(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,RJe),h.Ad=function(t){tfn(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$4$Type",1933),_(1934,1,Mn,OJe),h.Mb=function(t){return Pen(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$5$Type",1934),_(1935,1,nn,LJe),h.Ad=function(t){Qtt(this,t)},k(_h,"CrossingsCounter/lambda$6$Type",1935),_(1936,1,nn,Ctt),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},Nit),h.Dd=function(t){return M1n(this,l(t,470))},h.b=0,h.c=0,h.e=0,h.f=0;var rCn=k(_h,"HyperedgeCrossingsCounter/Hyperedge",470);_(371,1,{34:1,371:1},_P),h.Dd=function(t){return DEn(this,l(t,371))},h.b=0,h.c=0;var w4t=k(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",371);_(522,23,{3:1,34:1,23:1,522:1},$le);var ZI,QI,y4t=fn(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",522,bn,oun,gin),v4t;_(1397,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){u0n(this,l(t,37),r)};var E4t;k(Uo,"InteractiveNodePlacer",1397),_(1398,1,Fi,YWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?S4t:null},h.If=function(t,r){qbn(this,l(t,37),r)};var S4t,OB,LB;k(Uo,"LinearSegmentsNodePlacer",1398),_(264,1,{34:1,264:1},Pce),h.Dd=function(t){return YQt(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 T4t=k(Uo,"LinearSegmentsNodePlacer/LinearSegment",264);_(1400,1,Fi,lst),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?A4t:null},h.If=function(t,r){c3n(this,l(t,37),r)},h.b=0,h.g=0;var A4t;k(Uo,"NetworkSimplexPlacer",1400),_(1419,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/0methodref$compare$Type",1419),_(1421,1,Un,OUe),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},xtt);var iCn=k(Uo,"NetworkSimplexPlacer/EdgeRep",651);_(410,1,{410:1},_he),h.b=!1;var oCn=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},jZe),k(Uo,"NetworkSimplexPlacer/Path",504),_(1401,1,{},LUe),h.Kb=function(t){return l(t,17).d.i.k},k(Uo,"NetworkSimplexPlacer/Path/lambda$0$Type",1401),_(1402,1,Mn,IUe),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,MJe),h.Mb=function(t){return dit(Pgt(l(t,9)))},k(Uo,"NetworkSimplexPlacer/Path/lambda$3$Type",1404),_(1405,1,Mn,MUe),h.Mb=function(t){return Bon(l(t,12))},k(Uo,"NetworkSimplexPlacer/lambda$0$Type",1405),_(1406,1,nn,ktt),h.Ad=function(t){xtn(this.a,this.b,l(t,12))},k(Uo,"NetworkSimplexPlacer/lambda$1$Type",1406),_(1415,1,nn,PJe),h.Ad=function(t){vvn(this.a,l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$10$Type",1415),_(1416,1,{},PUe),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,jJe),h.Ad=function(t){rTn(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$12$Type",1417),_(1418,1,{},jUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},k(Uo,"NetworkSimplexPlacer/lambda$13$Type",1418),_(1420,1,{},FUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},k(Uo,"NetworkSimplexPlacer/lambda$15$Type",1420),_(1422,1,Mn,BUe),h.Mb=function(t){return gc(),l(t,410).c.k==(zt(),Xr)},k(Uo,"NetworkSimplexPlacer/lambda$17$Type",1422),_(1423,1,Mn,UUe),h.Mb=function(t){return gc(),l(t,410).c.j.c.length>1},k(Uo,"NetworkSimplexPlacer/lambda$18$Type",1423),_(1424,1,nn,dat),h.Ad=function(t){i1n(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,{},HUe),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,FJe),h.Ad=function(t){Itn(this.a,l(t,12))},h.a=0,k(Uo,"NetworkSimplexPlacer/lambda$20$Type",1425),_(1426,1,{},zUe),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,$Je),h.Ad=function(t){jtn(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$22$Type",1427),_(1428,1,Mn,GUe),h.Mb=function(t){return dit(t)},k(Uo,"NetworkSimplexPlacer/lambda$23$Type",1428),_(1429,1,{},qUe),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,BJe),h.Mb=function(t){return Gen(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$25$Type",1430),_(1431,1,nn,Ntt),h.Ad=function(t){Syn(this.a,this.b,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$26$Type",1431),_(1432,1,Mn,VUe),h.Mb=function(t){return gc(),!fo(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$27$Type",1432),_(1433,1,Mn,WUe),h.Mb=function(t){return gc(),!fo(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$28$Type",1433),_(1434,1,{},UJe),h.Te=function(t,r){return Ctn(this.a,l(t,26),l(r,26))},k(Uo,"NetworkSimplexPlacer/lambda$29$Type",1434),_(1408,1,{},KUe),h.Kb=function(t){return gc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new L))))},k(Uo,"NetworkSimplexPlacer/lambda$3$Type",1408),_(1409,1,Mn,YUe),h.Mb=function(t){return gc(),Gcn(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$4$Type",1409),_(1410,1,nn,HJe),h.Ad=function(t){h_n(this.a,l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$5$Type",1410),_(1411,1,{},JUe),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,XUe),h.Mb=function(t){return gc(),l(t,9).k==(zt(),Xr)},k(Uo,"NetworkSimplexPlacer/lambda$7$Type",1412),_(1413,1,{},ZUe),h.Kb=function(t){return gc(),new Et(null,new Zw(new $t(qt(Df(l(t,9)).a.Jc(),new L))))},k(Uo,"NetworkSimplexPlacer/lambda$8$Type",1413),_(1414,1,Mn,QUe),h.Mb=function(t){return gc(),Fon(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$9$Type",1414),_(1396,1,Fi,FWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?_4t:null},h.If=function(t,r){V_n(l(t,37),r)};var _4t;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+=RX: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,x4t=fn(I1,"BKAlignedLayout/HDirection",513,bn,run,bin),k4t;_(512,23,{3:1,34:1,23:1,512:1},Fle);var Em,uf,N4t=fn(I1,"BKAlignedLayout/VDirection",512,bn,nun,min),C4t;_(1681,1,{},Itt),k(I1,"BKAligner",1681),_(1684,1,{},ubt),k(I1,"BKCompactor",1684),_(659,1,{659:1},eHe),h.a=0,k(I1,"BKCompactor/ClassEdge",659),_(459,1,{459:1},IZe),h.a=null,h.b=0,k(I1,"BKCompactor/ClassNode",459),_(1399,1,Fi,Ytt),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?I4t:null},h.If=function(t,r){x3n(this,l(t,37),r)},h.d=!1;var I4t;k(I1,"BKNodePlacer",1399),_(1682,1,{},tHe),h.d=0,k(I1,"NeighborhoodInformation",1682),_(1683,1,Un,zJe),h.Le=function(t,r){return gfn(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,{},OZe),h.vg=function(t,r,o){return this.a.o==(zd(),uf)?Kr:Di},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,{},LZe),h.vg=function(t,r,o){var a,c,f;return c=r==o,a=this.a.a[o.p]==r,c||a?(f=t,this.a.c==(If(),aw)?(c&&(f=LJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=LJ(this,o,!1))):(c&&(f=LJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=LJ(this,o,!1))),f):t},h.wg=function(){for(var t,r,o,a,c;this.d.b!=0;)c=l(Yat(this.d),583),a=Jyt(this,c),a.a&&(t=a.a,o=Ye(this.a.f[this.a.g[c.b.p].p]),!(!o&&!fo(t)&&t.c.i.c==t.d.i.c)&&(r=Y0t(this,c),r||Unt(this.e,c)));for(;this.e.a.c.length!=0;)Y0t(this,l(Kge(this.e),583))},k(I1,"ThresholdStrategy/SimpleThresholdStrategy",1813),_(642,1,{642:1,173:1,177:1},nHe),h.bg=function(){return jht(this)},h.og=function(){return jht(this)};var Jte;k(IZ,"EdgeRouterFactory",642),_(1462,1,Fi,JWe),h.pg=function(t){return DSn(l(t,37))},h.If=function(t,r){txn(l(t,37),r)};var R4t,O4t,L4t,D4t,M4t,N_e,P4t,j4t;k(IZ,"OrthogonalEdgeRouter",1462),_(1455,1,Fi,Ktt),h.pg=function(t){return m0n(l(t,37))},h.If=function(t,r){_Nn(this,l(t,37),r)};var F4t,$4t,B4t,U4t,xD,H4t;k(IZ,"PolylineEdgeRouter",1455),_(1456,1,Uf,iHe),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(IZ,"PolylineEdgeRouter/1",1456),_(1868,1,Mn,oHe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},k(xd,"HyperEdgeCycleDetector/lambda$0$Type",1868),_(1869,1,{},sHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$1$Type",1869),_(1870,1,Mn,aHe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},k(xd,"HyperEdgeCycleDetector/lambda$2$Type",1870),_(1871,1,{},uHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$3$Type",1871),_(1872,1,{},cHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$4$Type",1872),_(1873,1,{},rHe),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 KQt(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"+Wit(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+" ("+hnn(this.c)+")"},h.d=0,k(xd,"HyperEdgeSegmentDependency",135),_(519,23,{3:1,34:1,23:1,519:1},Ble);var U1,rv,z4t=fn(xd,"HyperEdgeSegmentDependency/DependencyType",519,bn,iun,win),G4t;_(1874,1,{},GJe),k(xd,"HyperEdgeSegmentSplitter",1874),_(1875,1,{},IQe),h.a=0,h.b=0,k(xd,"HyperEdgeSegmentSplitter/AreaRating",1875),_(341,1,{341:1},MV),h.a=0,h.b=0,h.c=0,k(xd,"HyperEdgeSegmentSplitter/FreeArea",341),_(1876,1,Un,lHe),h.Le=function(t,r){return lrn(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,fat),h.Ad=function(t){Lln(this.a,this.d,this.c,this.b,l(t,117))},h.b=0,k(xd,"HyperEdgeSegmentSplitter/lambda$1$Type",1877),_(1878,1,{},dHe),h.Kb=function(t){return new Et(null,new St(l(t,117).e,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$2$Type",1878),_(1879,1,{},fHe),h.Kb=function(t){return new Et(null,new St(l(t,117).j,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$3$Type",1879),_(1880,1,{},hHe),h.We=function(t){return ue(le(t))},k(xd,"HyperEdgeSegmentSplitter/lambda$4$Type",1880),_(660,1,{},sW),h.a=0,h.b=0,h.c=0,k(xd,"OrthogonalRoutingGenerator",660),_(1685,1,{},pHe),h.Kb=function(t){return new Et(null,new St(l(t,117).e,16))},k(xd,"OrthogonalRoutingGenerator/lambda$0$Type",1685),_(1686,1,{},gHe),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(RZ,"BaseRoutingDirectionStrategy",668),_(1866,668,{},DZe),h.xg=function(t,r,o){var a,c,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,c=t,a=new Me(N,f),Gn(p.a,a),D0(this,p,c,a,!1),O=t.r,O&&(M=ue(le(sa(O.e,0))),a=new Me(M,f),Gn(p.a,a),D0(this,p,c,a,!1),f=r+O.o*o,c=O,a=new Me(M,f),Gn(p.a,a),D0(this,p,c,a,!1)),a=new Me(z,f),Gn(p.a,a),D0(this,p,c,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(RZ,"NorthToSouthRoutingStrategy",1866),_(1867,668,{},MZe),h.xg=function(t,r,o){var a,c,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,c=t,a=new Me(N,f),Gn(p.a,a),D0(this,p,c,a,!1),O=t.r,O&&(M=ue(le(sa(O.e,0))),a=new Me(M,f),Gn(p.a,a),D0(this,p,c,a,!1),f=r-O.o*o,c=O,a=new Me(M,f),Gn(p.a,a),D0(this,p,c,a,!1)),a=new Me(z,f),Gn(p.a,a),D0(this,p,c,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(RZ,"SouthToNorthRoutingStrategy",1867),_(1865,668,{},PZe),h.xg=function(t,r,o){var a,c,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,c=t,a=new Me(f,N),Gn(p.a,a),D0(this,p,c,a,!0),O=t.r,O&&(M=ue(le(sa(O.e,0))),a=new Me(f,M),Gn(p.a,a),D0(this,p,c,a,!0),f=r+O.o*o,c=O,a=new Me(f,M),Gn(p.a,a),D0(this,p,c,a,!0)),a=new Me(f,z),Gn(p.a,a),D0(this,p,c,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(RZ,"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(Ly,"NubSpline",819),_(415,1,{415:1},Owt,Wat),k(Ly,"NubSpline/PolarCP",415),_(1457,1,Fi,Z1t),h.pg=function(t){return rwn(l(t,37))},h.If=function(t,r){qNn(this,l(t,37),r)};var q4t,V4t,W4t,K4t,Y4t;k(Ly,"SplineEdgeRouter",1457),_(275,1,{275:1},XP),h.Ib=function(){return this.a+" ->("+this.c+") "+this.b},h.c=0,k(Ly,"SplineEdgeRouter/Dependency",275),_(457,23,{3:1,34:1,23:1,457:1},Ule);var H1,u2,J4t=fn(Ly,"SplineEdgeRouter/SideToProcess",457,bn,sun,vin),X4t;_(1458,1,Mn,bHe),h.Mb=function(t){return NC(),!l(t,134).o},k(Ly,"SplineEdgeRouter/lambda$0$Type",1458),_(1459,1,{},mHe),h.Xe=function(t){return NC(),l(t,134).v+1},k(Ly,"SplineEdgeRouter/lambda$1$Type",1459),_(1460,1,nn,Rtt),h.Ad=function(t){zon(this.a,this.b,l(t,49))},k(Ly,"SplineEdgeRouter/lambda$2$Type",1460),_(1461,1,nn,Ott),h.Ad=function(t){Gon(this.a,this.b,l(t,49))},k(Ly,"SplineEdgeRouter/lambda$3$Type",1461),_(134,1,{34:1,134:1},Fmt,M0e),h.Dd=function(t){return JQt(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(Ly,"SplineSegment",134),_(460,1,{460:1},wHe),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0,k(Ly,"SplineSegment/EdgeInformation",460),_(1179,1,{},yHe),k(Ap,Ewe,1179),_(1180,1,Un,vHe),h.Le=function(t,r){return Lvn(l(t,121),l(r,121))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,G2t,1180),_(1178,1,{},KQe),k(Ap,"MrTree",1178),_(402,23,{3:1,34:1,23:1,402:1,173:1,177:1},p8),h.bg=function(){return u0t(this)},h.og=function(){return u0t(this)};var DB,e4,t4,n4,C_e=fn(Ap,"TreeLayoutPhases",402,bn,hln,Ein),Z4t;_(1093,207,im,Iit),h.kf=function(t,r){var o,a,c,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,wAn(t,y,v),MAn(t,y,v),y),p.Ug(),p=r.dh(DZ),p.Tg("Split graph",1),f=AAn(this.a,m),p.Ug(),c=new V(f);c.a<c.c.c.length;)a=l(q(c),121),Xmn(this.b,a,r.dh(.5999999940395355/f.c.length));p=r.dh(DZ),p.Tg("Pack components",1),m=k3n(f),p.Ug(),p=r.dh(DZ),p.Tg("Apply layout results",1),fkn(m),p.Ug()},k(Ap,"TreeLayoutProvider",1093),_(1829,1,Eh,SHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/1",1829),_(1830,1,Eh,THe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/2",1830),_(1820,1,Mn,AHe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),z1))))},k(Ap,"TreeUtil/lambda$0$Type",1820),_(1826,1,Mn,qJe),h.Mb=function(t){return this.a.Gc(l(t,41))},k(Ap,"TreeUtil/lambda$10$Type",1826),_(1827,1,{},VJe),h.Kb=function(t){return xln(this.a,l(t,41))},k(Ap,"TreeUtil/lambda$11$Type",1827),_(1828,1,Mn,Ltt),h.Mb=function(t){return cfn(this.a,this.b,l(t,41))},k(Ap,"TreeUtil/lambda$12$Type",1828),_(1821,1,Mn,WJe),h.Mb=function(t){return Pgn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$3$Type",1821),_(1822,1,Un,EHe),h.Le=function(t,r){return frn(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,KJe),h.Mb=function(t){return jgn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$7$Type",1823),_(1824,1,Un,_He),h.Le=function(t,r){return drn(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,{},xHe),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,c;for(c=null,a=An(this.b,0);a.b!=a.d.c;)o=l(Sn(a),41),c+=(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),c+=(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t))+`
`;return c};var sCn=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},$K),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(){hK(this.a)},k(eI,"TNode/2/1",335),_(1910,1,kr,kHe),h.If=function(t,r){E3n(this,l(t,121),r)},k(Aa,"CompactionProcessor",1910),_(1911,1,Un,YJe),h.Le=function(t,r){return Dhn(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,Mtt),h.Mb=function(t){return Wan(this.b,this.a,l(t,49))},h.a=0,h.b=0,k(Aa,"CompactionProcessor/lambda$1$Type",1912),_(1921,1,Un,NHe),h.Le=function(t,r){return Psn(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,CHe),h.Le=function(t,r){return tnn(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,IHe),h.Le=function(t,r){return jsn(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,JJe),h.Mb=function(t){return Utn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$2$Type",1913),_(1914,1,Mn,XJe),h.Mb=function(t){return Htn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$3$Type",1914),_(1915,1,Mn,RHe),h.Mb=function(t){return l(t,41).c.indexOf(LF)==-1},k(Aa,"CompactionProcessor/lambda$4$Type",1915),_(1916,1,{},ZJe),h.Kb=function(t){return qcn(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$5$Type",1916),_(1917,1,{},QJe),h.Kb=function(t){return efn(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$6$Type",1917),_(1918,1,Un,eXe),h.Le=function(t,r){return cdn(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,tXe),h.Le=function(t,r){return ldn(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,OHe),h.Le=function(t,r){return nnn(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,LHe),h.If=function(t,r){pTn(l(t,121),r)},k(Aa,"DirectionProcessor",1908),_(k1,1,kr,kit),h.If=function(t,r){DAn(this,l(t,121),r)},k(Aa,"FanProcessor",k1),_(1263,1,kr,DHe),h.If=function(t,r){Zwt(l(t,121),r)},k(Aa,"GraphBoundsProcessor",1263),_(1264,1,{},MHe),h.We=function(t){return l(t,41).e.a},k(Aa,"GraphBoundsProcessor/lambda$0$Type",1264),_(1265,1,{},PHe),h.We=function(t){return l(t,41).e.b},k(Aa,"GraphBoundsProcessor/lambda$1$Type",1265),_(1266,1,{},jHe),h.We=function(t){return Sen(l(t,41))},k(Aa,"GraphBoundsProcessor/lambda$2$Type",1266),_(1267,1,{},FHe),h.We=function(t){return Ten(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 QZe;case 1:return new kit;case 2:return new ZZe;case 3:return new zHe;case 4:return new BHe;case 8:return new $He;case 5:return new LHe;case 6:return new qHe;case 7:return new kHe;case 9:return new DHe;case 10:return new VHe;default:throw Y(new jt(FX+(this.f!=null?this.f:""+this.g)))}};var I_e,R_e,O_e,L_e,D_e,M_e,P_e,j_e,F_e,$_e,Xte,aCn=fn(Aa,$X,265,bn,Oht,Sin),Q4t;_(1907,1,kr,$He),h.If=function(t,r){yNn(l(t,121),r)},k(Aa,"LevelCoordinatesProcessor",1907),_(1905,1,kr,BHe),h.If=function(t,r){F2n(this,l(t,121),r)},h.a=0,k(Aa,"LevelHeightProcessor",1905),_(1906,1,Eh,UHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"LevelHeightProcessor/1",1906),_(1901,1,kr,ZZe),h.If=function(t,r){XSn(this,l(t,121),r)},k(Aa,"LevelProcessor",1901),_(1902,1,Mn,HHe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),z1))))},k(Aa,"LevelProcessor/lambda$0$Type",1902),_(1903,1,kr,zHe),h.If=function(t,r){zyn(this,l(t,121),r)},h.a=0,k(Aa,"NeighborsProcessor",1903),_(1904,1,Eh,GHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"NeighborsProcessor/1",1904),_(1909,1,kr,qHe),h.If=function(t,r){OAn(this,l(t,121),r)},h.a=0,k(Aa,"NodePositionProcessor",1909),_(1899,1,kr,QZe),h.If=function(t,r){yxn(this,l(t,121),r)},k(Aa,"RootProcessor",1899),_(1924,1,kr,VHe),h.If=function(t,r){kbn(l(t,121),r)},k(Aa,"Untreeifyer",1924),_(386,23,{3:1,34:1,23:1,386:1},Vq);var kD,Zte,B_e,U_e=fn(HL,"EdgeRoutingMode",386,bn,ocn,Tin),eRt,ND,ck,Qte,H_e,z_e,ene,tne,G_e,nne,q_e,rne,r4,ine,PB,jB,sd,Id,lk,i4,o4,Ng,V_e,tRt,one,z1,CD,ID;_(854,1,td,XWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sve),""),HSt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Dt(),!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),""),HSt),"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)))),NEt((new ZWe,t))};var nRt,rRt,iRt,W_e,oRt,sRt,K_e,aRt,uRt,Y_e;k(HL,"MrTreeMetaDataProvider",854),_(999,1,td,ZWe),h.tf=function(t){NEt(t)};var cRt,J_e,X_e,uw,Z_e,Q_e,sne,lRt,dRt,fRt,hRt,pRt,gRt,bRt,exe,txe,nxe,mRt,c2,FB,rxe,wRt,ixe,ane,yRt,vRt,ERt,oxe,SRt,Jf,sxe;k(HL,"MrTreeOptions",999),_(yg,1,{},WHe),h.uf=function(){var t;return t=new Iit,t},h.vf=function(t){},k(HL,"MrTreeOptions/MrtreeFactory",yg),_(354,23,{3:1,34:1,23:1,354:1},g8);var une,$B,cne,lne,axe=fn(HL,"OrderWeighting",354,bn,lln,Ain),TRt;_(430,23,{3:1,34:1,23:1,430:1},Hle);var uxe,dne,cxe=fn(HL,"TreeifyingOrder",430,bn,aun,_in),ARt;_(1463,1,Fi,zWe),h.pg=function(t){return l(t,121),_Rt},h.If=function(t,r){mhn(this,l(t,121),r)};var _Rt;k("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1463),_(1464,1,Fi,GWe),h.pg=function(t){return l(t,121),xRt},h.If=function(t,r){tTn(this,l(t,121),r)};var xRt;k(xx,"NodeOrderer",1464),_(1471,1,{},lZt),h.rd=function(t){return Rot(t)},k(xx,"NodeOrderer/0methodref$lambda$6$Type",1471),_(1465,1,Mn,eze),h.Mb=function(t){return US(),Ye(Ke(F(l(t,41),(Nr(),z1))))},k(xx,"NodeOrderer/lambda$0$Type",1465),_(1466,1,Mn,tze),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,rXe),h.Mb=function(t){return Zfn(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$2$Type",1467),_(1468,1,Mn,nXe),h.Mb=function(t){return zcn(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$3$Type",1468),_(1469,1,Un,nze),h.Le=function(t,r){return vfn(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,rze),h.Mb=function(t){return US(),l(F(l(t,41),(Nr(),tne)),15).a!=0},k(xx,"NodeOrderer/lambda$5$Type",1470),_(1472,1,Fi,tKe),h.pg=function(t){return l(t,121),kRt},h.If=function(t,r){aAn(this,l(t,121),r)},h.b=0;var kRt;k("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1472),_(1473,1,Fi,nKe),h.pg=function(t){return l(t,121),NRt},h.If=function(t,r){HTn(l(t,121),r)};var NRt,uCn=k(uc,"EdgeRouter",1473);_(1475,1,Un,YHe),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,{},JHe),h.We=function(t){return ue(le(t))},k(uc,"EdgeRouter/1methodref$doubleValue$Type",1480),_(1482,1,Un,XHe),h.Le=function(t,r){return yr(ue(le(t)),ue(le(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,ZHe),h.Le=function(t,r){return yr(ue(le(t)),ue(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/3methodref$compare$Type",1484),_(1486,1,{},KHe),h.We=function(t){return ue(le(t))},k(uc,"EdgeRouter/4methodref$doubleValue$Type",1486),_(1488,1,Un,QHe),h.Le=function(t,r){return yr(ue(le(t)),ue(le(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,ize),h.Le=function(t,r){return yr(ue(le(t)),ue(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/6methodref$compare$Type",1490),_(1474,1,{},oze),h.Kb=function(t){return dp(),l(F(l(t,41),(js(),Jf)),15)},k(uc,"EdgeRouter/lambda$0$Type",1474),_(1485,1,{},sze),h.Kb=function(t){return pnn(l(t,41))},k(uc,"EdgeRouter/lambda$11$Type",1485),_(1487,1,{},jtt),h.Kb=function(t){return Uon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$13$Type",1487),_(1489,1,{},Ptt),h.Kb=function(t){return gnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$15$Type",1489),_(1491,1,Un,aze),h.Le=function(t,r){return obn(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,uze),h.Le=function(t,r){return sbn(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,cze),h.Le=function(t,r){return ubn(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,iXe),h.Mb=function(t){return kun(this.a,l(t,41))},h.a=0,k(uc,"EdgeRouter/lambda$2$Type",1476),_(1494,1,Un,lze),h.Le=function(t,r){return abn(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,dze),h.Le=function(t,r){return Ron(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,fze),h.Le=function(t,r){return Oon(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,{},hze),h.Kb=function(t){return wnn(l(t,41))},k(uc,"EdgeRouter/lambda$5$Type",1479),_(1481,1,{},Ftt),h.Kb=function(t){return Hon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$7$Type",1481),_(1483,1,{},$tt),h.Kb=function(t){return mnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$9$Type",1483),_(669,1,{669:1},U1t),h.e=0,h.f=!1,h.g=!1,k(uc,"MultiLevelEdgeNodeNodeGap",669),_(1881,1,Un,pze),h.Le=function(t,r){return Fun(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,gze),h.Le=function(t,r){return $un(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 Cgt(this)},h.og=function(){return Cgt(this)};var BB,d2,lxe=fn(pve,"RadialLayoutPhases",490,bn,uun,xin),CRt;_(1094,207,im,YQe),h.kf=function(t,r){var o,a,c,f,p,m;if(o=Nwt(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=swn(t),Vn(t,(aE(),l2),m),!m)throw Y(new jt(GSt));for(c=ue(le(ve(t,zB))),c==0&&(c=e0t(t)),Vn(t,zB,c),p=new V(Nwt(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 RTn(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,bze),h.If=function(t,r){TNn(l(t,19),r)},k(bve,"CalculateGraphSize",1361),_(1362,1,kr,mze),h.If=function(t,r){H_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 Tze;case 1:return new wze;case 2:return new Aze;case 3:return new bze;case 4:return new mze;default:throw Y(new jt(FX+(this.f!=null?this.f:""+this.g)))}};var fne,hne,pne,gne,bne,IRt=fn(bve,$X,365,bn,Qln,kin),RRt;_(648,1,{}),h.e=1,h.g=0,k(MZ,"AbstractRadiusExtensionCompaction",648),_(1832,648,{},ait),h.Bg=function(t){var r,o,a,c,f,p,m,y,v;for(this.c=l(ve(t,(aE(),l2)),19),kZt(this,this.c),this.d=SY(l(ve(t,(T1(),RD)),304)),y=l(ve(t,wne),15),y&&qKe(this,y.a),m=le(ve(t,(_n(),Od))),ice(this,(Mt(m),m)),v=Ay(this.c),this.d&&this.d.Fg(v),WTn(this,v),p=new Ds(Z(X(En,1),VSt,19,0,[this.c])),o=0;o<2;o++)for(r=0;r<v.c.length;r++)c=new Ds(Z(X(En,1),VSt,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)),Wbt(this,(at(r,v.c.length),l(v.c[r],19),p),a,f,c)},k(MZ,"AnnulusWedgeCompaction",1832),_(1359,1,kr,wze),h.If=function(t,r){bhn(l(t,19),r)},k(MZ,"GeneralCompactor",1359),_(1831,648,{},yze),h.Bg=function(t){var r,o,a,c;o=l(ve(t,(aE(),l2)),19),this.f=o,this.b=SY(l(ve(t,(T1(),RD)),304)),c=l(ve(t,wne),15),c&&qKe(this,c.a),a=le(ve(t,(_n(),Od))),ice(this,(Mt(a),a)),r=Ay(o),this.b&&this.b.Fg(r),Cmt(this,r)},h.a=0,k(MZ,"RadialCompaction",1831),_(1840,1,{},vze),h.Cg=function(t){var r,o,a,c,f,p;for(this.a=t,r=0,p=Ay(t),a=0,f=new V(p);f.a<f.c.c.length;)for(c=l(q(f),19),++a,o=a;o<p.c.length;o++)c_n(this,c,(at(o,p.c.length),l(p.c[o],19)))&&(r+=1);return r},k(mve,"CrossingMinimizationPosition",1840),_(1838,1,{},Eze),h.Cg=function(t){var r,o,a,c,f,p,m,y,v,T,N,O,M;for(a=0,o=new $t(qt(mp(t).a.Jc(),new L));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,c=t.i+t.g/2,f=t.j+t.f/2,N=new ro,N.a=v-c,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,c=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=c+N.a,T=f+N.b,O=v-c,M=T-f,a+=b.Math.sqrt(O*O+M*M);return a},k(mve,"EdgeLengthOptimization",1838),_(1839,1,{},Sze),h.Cg=function(t){var r,o,a,c,f,p,m,y,v,T,N;for(a=0,o=new $t(qt(mp(t).a.Jc(),new L));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,c=l(ve(m,(_n(),GT)),8),f=t.i+c.a+t.g/2,p=t.j+c.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,Tze),h.If=function(t,r){rvn(this,l(t,19),r)},k("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1358),_(1360,1,kr,Aze),h.If=function(t,r){Asn(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,mne,fxe=fn(tI,"AnnulusWedgeCriteria",431,bn,cun,Nin),ORt;_(387,23,{3:1,34:1,23:1,387:1},Wq);var UB,hxe,pxe,gxe=fn(tI,WSt,387,bn,scn,Cin),LRt;_(855,1,td,VWe),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."),(Dt(),!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,jZ),""),KSt),"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,FZ),""),"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,FZ,jZ,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),Lxe),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,$Z),_ve),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),eo),fi),ct(xt)))),zr(t,$Z,PF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,BZ),_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,BZ,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)))),EEt((new WWe,t))};var DRt,MRt,PRt,bxe,jRt,mxe,FRt,$Rt,BRt,URt,HRt,zRt,GRt,wxe,qRt,yxe;k(tI,"RadialMetaDataProvider",855),_(1001,1,td,WWe),h.tf=function(t){EEt(t)};var vxe,wne,yne,VRt,WRt,KRt,YRt,Exe,Sxe,HB,JRt,XRt,zB,Txe,Axe,_xe,vne,RD,ZRt,xxe;k(tI,"RadialOptions",1001),_(1002,1,{},_ze),h.uf=function(){var t;return t=new YQe,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,Ene,Ixe=fn(tI,"RadialTranslationStrategy",355,bn,dln,Iin),QRt;_(304,23,{3:1,34:1,23:1,304:1},Kq);var Rxe,Sne,Oxe,Lxe=fn(tI,"SortingStrategy",304,bn,hcn,Rin),eOt;_(1448,1,Fi,xze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Tvn(this,l(t,19),r)},h.c=0,k("org.eclipse.elk.alg.radial.p1position","EadesRadial",1448),_(1836,1,{},kze),h.Dg=function(t){return T1t(t)},k(YSt,"AnnulusWedgeByLeafs",1836),_(1837,1,{},Nze),h.Dg=function(t){return Fbt(this,t)},k(YSt,"AnnulusWedgeByNodeSpace",1837),_(1449,1,Fi,Cze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){$gn(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){fZe(this,t)},k(xve,"IDSorter",818),_(1835,1,Un,Ize),h.Le=function(t,r){return ghn(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,{},mht),h.Eg=function(t){uct(this,t)},h.Fg=function(t){var r;t.dc()||(this.e||(r=Wot(l(t.Xb(0),19)),uct(this,r)),fZe(this.e,t))},k(xve,"PolarCoordinateSorter",1834),_(441,23,{3:1,34:1,23:1,441:1},Yq);var s4,GB,Tne,Dxe=fn(QSt,"RectPackingLayoutPhases",441,bn,fcn,Oin),tOt;_(1098,207,im,JQe),h.kf=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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,AOt))),T=ue(le(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,Rne)))||P3((c=new OA((t1(),new Yp(t))),c)),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(),HD),Re(O)),--O;svt(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,Tne,l(ve(t,Yxe),173)),sde(this.a,(It=new ui,$n(It,s4,(S7(),xne)),$n(It,GB,_ne),Ye(Ke(ve(t,Gxe)))&&$n(It,s4,kne),Ye(Ke(ve(t,zxe)))&&$n(It,s4,Ane),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();)re=l(rn(se),19),J=b.Math.max(J,re.i+re.g),z=b.Math.max(z,re.j+re.f);ome(t,new Me(ue(le(ve(t,(yh(),$T)))),ue(le(ve(t,dk)))),new Me(J,z)),$hn(de,N),y||M0(t,ue(le(ve(t,$T)))+(N.b+N.c),ue(le(ve(t,dk)))+(N.d+N.a),!1,!0),Ye(Ke(ve(t,Rne)))||P3((a=new OA((t1(),new Yp(t))),a)),r.Ug()},k(QSt,"RectPackingLayoutProvider",1098),_(1496,1,kr,Rze),h.If=function(t,r){z_n(l(t,19),r)},k(nI,"InteractiveNodeReorderer",1496),_(1497,1,Un,Oze),h.Le=function(t,r){return Tpn(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 Pze;case 1:return new Rze;case 2:return new Dze;case 3:return new Lze}return null};var Ane,_ne,xne,kne,nOt=fn(nI,$X,406,bn,fln,Lin),rOt;_(1499,1,kr,Lze),h.If=function(t,r){S1n(l(t,19),r)},k(nI,"MinSizePostProcessor",1499),_(1498,1,kr,Dze),h.If=function(t,r){_2n(l(t,19),r)},k(nI,"MinSizePreProcessor",1498),_(1688,1,Un,Mze),h.Le=function(t,r){return Zen(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,Pze),h.If=function(t,r){Ycn(l(t,19))},k(nI,"NodeSizeReorderer",1495);var a4,dk,$T,iOt,oOt,qB,Nne,Cne,u4,VB,iv;_(388,23,{3:1,34:1,23:1,388:1},Jq);var Mxe,Pxe,Ine,jxe=fn(UZ,"OptimizationGoal",388,bn,acn,Din),sOt;_(857,1,td,eKe),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."),(Dt(),!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),HZ),"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,Lve),HZ),"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,Dve),HZ),"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),HZ),"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"),eTt),"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),tTt),"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),tTt),"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)))),jEt((new QWe,t))};var aOt,uOt,cOt,lOt,dOt,fOt,hOt,Fxe,pOt,gOt,$xe,bOt,mOt,Bxe,wOt,Uxe,yOt;k(UZ,"RectPackingMetaDataProvider",857),_(1007,1,td,QWe),h.tf=function(t){jEt(t)};var WB,vOt,Hxe,OD,zxe,EOt,LD,SOt,TOt,AOt,_Ot,xOt,Rne,Gxe,qxe,One,Vxe,c4,Wxe,kOt,l4,Kxe,Yxe,Jxe,Xxe,Zxe,Lne;k(UZ,"RectPackingOptions",1007),_(1008,1,{},jze),h.uf=function(){var t;return t=new JQe,t},h.vf=function(t){},k(UZ,"RectPackingOptions/RectpackingFactory",1008),_(1687,1,{},sot),h.a=0,h.c=!1,k(kx,"AreaApproximation",1687);var Qxe=Hr(kx,"BestCandidateFilter");_(671,1,{527:1},NG),h.Gg=function(t,r,o){var a,c,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(c=new V(t);c.a<c.c.c.length;)a=l(q(c),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},CG),h.Gg=function(t,r,o){var a,c,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(c=new V(t);c.a<c.c.c.length;)a=l(q(c),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,Fze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){RSn(l(t,19),r)},k(kx,"GreedyWidthApproximator",1441),_(670,1,{527:1},IG),h.Gg=function(t,r,o){var a,c,f,p,m,y;for(y=new je,f=Di,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(c=new V(t);c.a<c.c.c.length;)a=l(q(c),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,$ze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Avn(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 Kbt(this)},h.og=function(){return Kbt(this)};var Dne,eke,tke=fn(kx,"WidthApproximationStrategy",481,bn,dun,Hin),NOt;_(1443,1,Fi,Bze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){LNn(this,l(t,19),r)},k(jF,"Compactor",1443),_(1445,1,Fi,Uze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){dSn(l(t,19),r)},k(jF,"NoPlacement",1445),_(434,23,{3:1,34:1,23:1,434:1,173:1,177:1},Xq),h.bg=function(){return egt(this)},h.og=function(){return egt(this)};var Mne,nke,rke,ike=fn(jF,"PackingStrategy",434,bn,lcn,zin),COt;_(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,Hze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Kxn(l(t,19),r)},k(jF,"SimplePlacement",1444),_(1446,1,Fi,zze),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){W0t(t,r)},k(Bve,"EqualWhitespaceEliminator",1446),_(1447,1446,Fi,Gze),h.Hg=function(t,r){var o,a,c,f,p;r.Tg("To Aspect Ratio Whitesapce Eliminator",1),p=ue(le(ve(t,(yh(),$T)))),f=ue(le(ve(t,dk))),c=ue(le(ve(t,(ef(),WB)))),o=ue(le(ve(t,a4))),a=p/f,a<c?(p=f*c,Vn(t,$T,p)):(o+=p/c-f,Vn(t,a4,o),Vn(t,dk,f+o)),W0t(t,r),r.Ug()},k(Bve,"ToAspectratioNodeExpander",1447),_(435,23,{3:1,34:1,23:1,435:1,173:1,177:1},Zq),h.bg=function(){return Wht(this)},h.og=function(){return Wht(this)};var oke,Pne,ske,ake=fn(Bve,"WhiteSpaceEliminationStrategy",435,bn,ccn,Gin),IOt;_(175,1,{175:1},BK),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(zL,"Block",175),_(211,1,{211:1},MP),h.a=0,h.b=0,h.d=0,h.e=0,h.f=0,k(zL,"BlockRow",211),_(320,1,{320:1},Dhe),h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,k(zL,"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 cCn=k(zL,"DrawingData",241);_(370,23,{3:1,34:1,23:1,370:1},vO);var BT,f2,d4,f4,DD,ROt=fn(zL,"DrawingDataDescriptor",370,bn,tdn,Pin),OOt;_(189,1,{189:1},Khe),h.b=0,h.c=0,h.e=0,h.f=0,k(zL,"RectRow",189),_(757,1,{},t1e),h.j=0,k(Dy,sSt,757),_(1186,1,{},qze),h.$e=function(t){return f1(t.a,t.b)},k(Dy,Swe,1186),_(1187,1,{},oXe),h.$e=function(t){return ddn(this.a,t)},k(Dy,aSt,1187),_(1188,1,{},sXe),h.$e=function(t){return hbn(this.a,t)},k(Dy,uSt,1188),_(1189,1,{},aXe),h.$e=function(t){return dpn(this.a,t)},k(Dy,"ElkGraphImporter/lambda$3$Type",1189),_(1190,1,{},uXe),h.$e=function(t){return Bvn(this.a,t)},k(Dy,cSt,1190),_(1095,207,im,XQe),h.kf=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M;for(Gc(t,(Y6(),ZB))&&(M=In(ve(t,(kY(),Nke))),f=u0e(W3(),M),f&&(p=l(JO(f.f),207),p.kf(t,r.dh(1)))),Vn(t,zne,(o6(),XB)),Vn(t,Gne,(J6(),Hne)),Vn(t,qne,(x6(),QB)),m=l(ve(t,(kY(),_ke)),15).a,r.Tg("Overlap removal",1),Ye(Ke(ve(t,ZOt))),y=new hi,v=new cXe(y),a=new t1e,o=PEt(a,t),T=!0,c=0;c<m&&T;){if(Ye(Ke(ve(t,xke)))){if(y.a.$b(),Uyn(new nrt(v),o.i),y.a.gc()==0)break;o.e=y}for(M3(this.b),pc(this.b,(M6(),KB),(JN(),MD)),pc(this.b,YB,o.g),pc(this.b,JB,(J9(),$ne)),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));l0n(a,o),T=Ye(Ke(F(o,(S_(),_2e)))),++c}Kvt(a,o),r.Ug()},k(Dy,"OverlapRemovalLayoutProvider",1095),_(1096,1,{},cXe),k(Dy,"OverlapRemovalLayoutProvider/lambda$0$Type",1096),_(440,23,{3:1,34:1,23:1,440:1},Qq);var KB,YB,JB,jne=fn(Dy,"SPOrEPhases",440,bn,dcn,Fin),LOt;_(1196,1,{},ZQe),k(Dy,"ShrinkTree",1196),_(1097,207,im,nQe),h.kf=function(t,r){var o,a,c,f,p;Gc(t,(Y6(),ZB))&&(p=In(ve(t,ZB)),c=u0e(W3(),p),c&&(f=l(JO(c.f),207),f.kf(t,r.dh(1)))),a=new t1e,o=PEt(a,t),p2n(this.a,o,r.dh(1)),Kvt(a,o)},k(Dy,"ShrinkTreeLayoutProvider",1097),_(311,151,{3:1,311:1,105:1,151:1},Qat),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},Jet),h.bg=function(){return Ept(this)},h.og=function(){return Ept(this)};var Fne,uke=fn(My,WSt,480,bn,wan,jin),DOt;_(550,23,{3:1,34:1,23:1,550:1,173:1,177:1},Vrt),h.bg=function(){return new $ue},h.og=function(){return new $ue};var $ne,MOt=fn(My,"OverlapRemovalStrategy",550,bn,man,$in),POt;_(433,23,{3:1,34:1,23:1,433:1},Vle);var XB,Bne,cke=fn(My,"RootSelection",433,bn,lun,Bin),jOt;_(331,23,{3:1,34:1,23:1,331:1},EO);var lke,Une,Hne,dke,fke,hke=fn(My,"SpanningTreeCostFunction",331,bn,ndn,Uin),FOt;_(1005,1,td,rKe),h.tf=function(t){xvt(t)};var pke,gke,$Ot,BOt,bke,mke,zne,Gne,qne,UOt,HOt,ZB;k(My,"SporeCompactionOptions",1005),_(1006,1,{},Vze),h.uf=function(){var t;return t=new nQe,t},h.vf=function(t){},k(My,"SporeCompactionOptions/SporeCompactionFactory",1006),_(856,1,td,iKe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,zZ),""),"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,VZ),"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),WZ),"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),WZ),"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,GZ),WZ),"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,GZ,qZ,KOt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qZ),WZ),"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),eTt),"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."),(Dt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qve),rTt),"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),rTt),"Whether to run a supplementary scanline overlap check."),null),!0),Ai),Yr),ct(xt)))),Nyt((new oKe,t)),xvt((new rKe,t))};var zOt,wke,GOt,qOt,VOt,WOt,KOt,YOt,yke,JOt,vke,XOt,Eke,Ske,Tke,Ake;k(My,"SporeMetaDataProvider",856),_(1003,1,td,oKe),h.tf=function(t){Nyt(t)};var ZOt,_ke,xke,kke,QOt,Nke;k(My,"SporeOverlapRemovalOptions",1003),_(1004,1,{},Wze),h.uf=function(){var t;return t=new XQe,t},h.vf=function(t){},k(My,"SporeOverlapRemovalOptions/SporeOverlapFactory",1004),_(531,23,{3:1,34:1,23:1,531:1,173:1,177:1},Xst),h.bg=function(){return Spt(this)},h.og=function(){return Spt(this)};var MD,Cke=fn(My,"StructureExtractionStrategy",531,bn,yan,qin),e6t;_(432,23,{3:1,34:1,23:1,432:1,173:1,177:1},Wle),h.bg=function(){return Igt(this)},h.og=function(){return Igt(this)};var Ike,QB,Rke=fn(My,"TreeConstructionStrategy",432,bn,fun,Vin),t6t;_(1435,1,Fi,Qze),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){h0n(l(t,311),r)},k(iTt,"DelaunayTriangulationPhase",1435),_(1436,1,nn,lXe),h.Ad=function(t){Fe(this.a,l(t,68).a)},k(iTt,"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,c;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))))?c=FJ(t.e,a,(o=t.b,o)):c=FJ(t.e,a,t.b),tpt(this,c,t),r.Ug()},k(KZ,"MinSTPhase",788),_(1438,788,Fi,BZe),h.Ig=function(t,r){var o,a,c,f;r.Tg("Maximum spanning tree construction",1),o=new dXe(t),t.d?c=t.d.c:c=l(ze(t.i,0),68).c,Ye(Ke(F(t,(S_(),EI))))?f=FJ(t.e,c,(a=o,a)):f=FJ(t.e,c,o),tpt(this,f,t),r.Ug()},k(KZ,"MaxSTPhase",1438),_(1439,1,{},dXe),h.$e=function(t){return $en(this.a,t)},k(KZ,"MaxSTPhase/lambda$0$Type",1439),_(1437,1,nn,fXe),h.Ad=function(t){Atn(this.a,l(t,68))},k(KZ,"MinSTPhase/lambda$0$Type",1437),_(790,1,Fi,$ue),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){_wn(this,l(t,311),r)},h.a=!1,k(YZ,"GrowTreePhase",790),_(791,1,nn,wfe),h.Ad=function(t){tpn(this.a,this.b,this.c,l(t,227))},k(YZ,"GrowTreePhase/lambda$0$Type",791),_(1440,1,Fi,eGe),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){jbn(this,l(t,311),r)},k(YZ,"ShrinkTreeCompactionPhase",1440),_(789,1,nn,yfe),h.Ad=function(t){aEn(this.a,this.b,this.c,l(t,227))},k(YZ,"ShrinkTreeCompactionPhase/lambda$0$Type",789),_(389,23,{3:1,34:1,23:1,389:1},Kle);var Oke,Vne,Lke=fn(Wve,"EdgeRoutingStrategy",389,bn,pun,Win),n6t,cw,Sm,fk,Wne,hk,r6t,PD,Xf,ov,h4;_(396,23,{3:1,34:1,23:1,396:1},w8);var Kne,Yne,Jne,Xne,Dke=fn(Wve,"VertiFlexLayoutPhases",396,bn,pln,Kin),i6t;_(1099,207,im,QQe),h.kf=function(t,r){var o,a,c,f,p,m,y,v,T,N,O;if(o=fEn(this,t),r.Tg(jSt,o.c.length),this.b=ue(le(ve(t,(_n(),Od)))),Ye(Ke(ve(t,(QS(),jke))))||P3((a=new OA((t1(),new Yp(t))),a)),O=awn(t),Vn(t,(wh(),h4),O),!O)throw Y(new _f(GSt));for(f=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));f.e!=f.i.gc();){if(c=l(rn(f),19),v=(!c.d&&(c.d=new Tt(Ir,c,8,5)),c.d).i,v>1)throw Y(new _f("The given graph is not an acyclic tree!"));va(c,0),gu(c,0)}for(Fvt(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,PD,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));i2n(t),r.Ug()},h.b=0,k(Wve,"VertiFlexLayoutProvider",1099),_(858,1,td,sKe),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),Lke),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."),(Dt(),!0)),Ai),Yr),ct(xt)))),Mvt((new aKe,t))};var o6t,s6t,a6t,Mke,u6t;k(Zve,"VertiFlexMetaDataProvider",858),_(1009,1,td,aKe),h.tf=function(t){Mvt(t)};var Zne,c6t,Pke,Qne,l6t,jke,Fke,d6t,pk;k(Zve,"VertiFlexOptions",1009),_(1010,1,{},tGe),h.uf=function(){var t;return t=new QQe,t},h.vf=function(t){},k(Zve,"VertiFlexOptions/VertiflexFactory",1010),_(1450,1,Fi,nGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){_yn(this,l(t,19),r)},h.a=0,h.b=0,k(oTt,"NodeYPlacer",1450),_(557,23,{3:1,34:1,23:1,557:1,173:1,177:1},Yot),h.bg=function(){return Tpt(this)},h.og=function(){return Tpt(this)};var ere,f6t=fn(oTt,"NodeYPlacerStrategy",557,bn,pan,Yin),h6t;_(824,1,Un,Sce),h.Le=function(t,r){return omn(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(JZ,"NodeComparator",824),_(107,1,{107:1},Qu),h.Ib=function(){return"X:"+this.c+", Y:"+this.a},h.a=0,h.c=0,k(JZ,"OutlineNode",107),_(1451,1,Fi,rGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){YEn(this,l(t,19),r)},h.a=!1,h.b=0,k(JZ,"RelativeXPlacer",1451),_(558,23,{3:1,34:1,23:1,558:1,173:1,177:1},Kot),h.bg=function(){return Apt(this)},h.og=function(){return Apt(this)};var tre,p6t=fn(JZ,"RelativeXPlacerStrategy",558,bn,gan,Jin),g6t;_(1452,1,Fi,Yze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Dmn(this,l(t,19),r)},k(sTt,"AbsoluteXPlacer",1452),_(559,23,{3:1,34:1,23:1,559:1,173:1,177:1},Est),h.bg=function(){return _pt(this)},h.og=function(){return _pt(this)};var nre,b6t=fn(sTt,"AbsoluteXPlacerStrategy",559,bn,ban,Xin),m6t;_(1454,1,Fi,Jze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){r1n(this,l(t,19),r)},k(Qve,aTt,1454),_(498,23,{3:1,34:1,23:1,498:1,173:1,177:1},Yle),h.bg=function(){return Ubt(this)},h.og=function(){return Ubt(this)};var rre,ire,w6t=fn(Qve,"EdgerouterStrategy",498,bn,hun,Zin),y6t;_(1453,1,Fi,Xze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){$1n(this,l(t,19),r)},k(Qve,uTt,1453);var $ke=Hr(Vs,"IGraphElementVisitor");_(862,1,{528:1},Fut),h.Jg=function(t){var r;r=yTn(this,t),qs(r,l(Ht(this.b,t),105)),d2n(this,t,r)};var v6t,E6t;k(DE,"LayoutConfigurator",862);var lCn=Hr(DE,"LayoutConfigurator/IPropertyHolderOptionFilter");_(935,1,{837:1},Kze),h.Lg=function(t,r){return qS(),!t.nf(r)},k(DE,"LayoutConfigurator/lambda$0$Type",935),_(936,1,{2011:1},Zze),h.Kg=function(t,r){return qS(),!t.nf(r)},k(DE,"LayoutConfigurator/lambda$1$Type",936),_(937,1,{2011:1},dZt),h.Kg=function(t,r){return eet(t,r)},k(DE,"LayoutConfigurator/lambda$2$Type",937),_(938,1,Mn,Btt),h.Mb=function(t){return lan(this.a,this.b,l(t,2011))},k(DE,"LayoutConfigurator/lambda$3$Type",938),_(860,1,{},iGe),k(DE,"RecursiveGraphLayoutEngine",860),_(194,63,vp,mZe,_f),k(DE,"UnsupportedConfigurationException",194),_(367,63,vp,cS),k(DE,"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,oGe),h.Mb=function(t){return!!l(t,86)},k(Cx,"AlgorithmAssembler/lambda$0$Type",1181),_(1182,1,{},hXe),h.Kb=function(t){return QQt(this.a,l(t,86))},k(Cx,"AlgorithmAssembler/lambda$1$Type",1182),_(1183,1,Mn,sGe),h.Mb=function(t){return!!l(t,75)},k(Cx,"AlgorithmAssembler/lambda$2$Type",1183),_(1184,1,nn,pXe),h.Ad=function(t){yc(this.a,l(t,75))},k(Cx,"AlgorithmAssembler/lambda$3$Type",1184),_(1185,1,nn,Utt),h.Ad=function(t){Snn(this.a,this.b,l(t,177))},k(Cx,"AlgorithmAssembler/lambda$4$Type",1185),_(1311,1,Un,aGe),h.Le=function(t,r){return Uan(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},uKe),h.Jg=function(t){S6(T6t,new gXe(t))};var S6t,T6t,A6t;k(Ns,"DeprecatedLayoutOptionReplacer",1018),_(1019,1,nn,uGe),h.Ad=function(t){Kdn(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1019),_(1020,1,nn,cGe),h.Ad=function(t){b1n(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1020),_(1021,1,{},gXe),h.Wd=function(t,r){vnn(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 dCn=k(Ns,"LayoutAlgorithmData",144);_(271,1,{},vb),k(Ns,"LayoutAlgorithmData/Builder",271),_(714,1,{528:1},lGe),h.Jg=function(t){Bct(t)},k(Ns,"LayoutAlgorithmResolver",714),_(236,1,{697:1,236:1},DS),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,{},gyt);var ore;k(Ns,"LayoutMetaDataService",869),_(870,1,{},Hst),k(Ns,"LayoutMetaDataService/Registry",870),_(478,1,{478:1},Bue),k(Ns,"LayoutMetaDataService/Registry/Triple",478),_(871,1,FE,dGe),h.Pg=function(){return new ro},k(Ns,"LayoutMetaDataService/lambda$0$Type",871),_(872,1,Py,fGe),h.Qg=function(t){return To(l(t,8))},k(Ns,"LayoutMetaDataService/lambda$1$Type",872),_(881,1,FE,hGe),h.Pg=function(){return new je},k(Ns,"LayoutMetaDataService/lambda$10$Type",881),_(882,1,Py,pGe),h.Qg=function(t){return new Tu(l(t,13))},k(Ns,"LayoutMetaDataService/lambda$11$Type",882),_(883,1,FE,gGe),h.Pg=function(){return new Ar},k(Ns,"LayoutMetaDataService/lambda$12$Type",883),_(884,1,Py,bGe),h.Qg=function(t){return UO(l(t,66))},k(Ns,"LayoutMetaDataService/lambda$13$Type",884),_(885,1,FE,mGe),h.Pg=function(){return new hi},k(Ns,"LayoutMetaDataService/lambda$14$Type",885),_(886,1,Py,wGe),h.Qg=function(t){return SW(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$15$Type",886),_(887,1,FE,yGe),h.Pg=function(){return new uh},k(Ns,"LayoutMetaDataService/lambda$16$Type",887),_(888,1,Py,vGe),h.Qg=function(t){return VP(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$17$Type",888),_(889,1,FE,EGe),h.Pg=function(){return new QG},k(Ns,"LayoutMetaDataService/lambda$18$Type",889),_(890,1,Py,SGe),h.Qg=function(t){return bot(l(t,143))},k(Ns,"LayoutMetaDataService/lambda$19$Type",890),_(873,1,FE,TGe),h.Pg=function(){return new Du},k(Ns,"LayoutMetaDataService/lambda$2$Type",873),_(874,1,Py,AGe),h.Qg=function(t){return new B9(l(t,79))},k(Ns,"LayoutMetaDataService/lambda$3$Type",874),_(875,1,FE,_Ge),h.Pg=function(){return new FN},k(Ns,"LayoutMetaDataService/lambda$4$Type",875),_(876,1,Py,xGe),h.Qg=function(t){return new DV(l(t,125))},k(Ns,"LayoutMetaDataService/lambda$5$Type",876),_(877,1,FE,kGe),h.Pg=function(){return new oS},k(Ns,"LayoutMetaDataService/lambda$6$Type",877),_(878,1,Py,NGe),h.Qg=function(t){return new mfe(l(t,100))},k(Ns,"LayoutMetaDataService/lambda$7$Type",878),_(879,1,FE,CGe),h.Pg=function(){return new RG},k(Ns,"LayoutMetaDataService/lambda$8$Type",879),_(880,1,Py,IGe),h.Qg=function(t){return new Wdt(l(t,380))},k(Ns,"LayoutMetaDataService/lambda$9$Type",880);var sre=Hr(kL,"IProperty");_(21,1,{34:1,697:1,21:1,149:1},Ze),h.Dd=function(t){return Btn(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(fTt+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,odn,Qin),_6t;_(287,23,{3:1,34:1,23:1,287:1},gS);var Ai,eo,$r,UT,yo,lf,HT,Bke,x6t=fn(Ns,"LayoutOptionData/Type",287,bn,wfn,eon),k6t,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(Ri,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(PL,"ElkRectangle",120),_(8,1,{3:1,4:1,8:1,419:1},ro,IW,Me,So),h.Fb=function(t){return oht(this,t)},h.Hb=function(){return mS(this.a)+hmn(mS(this.b))},h.ag=function(t){var r,o,a,c;for(a=0;a<t.length&&Vpt((Yt(a,t.length),t.charCodeAt(a)),tSt);)++a;for(r=t.length;r>0&&Vpt((Yt(r-1,t.length),t.charCodeAt(r-1)),nSt);)--r;if(a>=r)throw Y(new jt("The given string does not contain any numbers."));if(c=ky((io(a,r,t.length),t.substr(a,r-a)),`,|;|\r|
`),c.length!=2)throw Y(new jt("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=vy(Ey(c[0])),this.b=vy(Ey(c[1]))}catch(f){throw f=ci(f),ae(f,133)?(o=f,Y(new jt(rSt+o))):Y(f)}},h.Ib=function(){return"("+this.a+","+this.b+")"},h.a=0,h.b=0;var $i=k(PL,"KVector",8);_(79,66,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1,79:1,419:1},Du,B9,Jrt),h.Nc=function(){return Lpn(this)},h.ag=function(t){var r,o,a,c,f,p;a=ky(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),tc(this);try{for(o=0,f=0,c=0,p=0;o<a.length;)a[o]!=null&&Ey(a[o]).length>0&&(f%2==0?c=vy(a[o]):p=vy(a[o]),f>0&&f%2!=0&&Gn(this,new Me(c,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(PL,"KVectorChain",79);_(259,23,{3:1,34:1,23:1,259:1},s3);var are,eU,tU,jD,FD,nU,zke=fn(Fa,"Alignment",259,bn,Pdn,ton),N6t;_(984,1,td,cKe),h.tf=function(t){Hyt(t)};var Gke,ure,C6t,qke,Vke,I6t,Wke,R6t,O6t,Kke,Yke,L6t;k(Fa,"BoxLayouterOptions",984),_(985,1,{},RGe),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,cre,b4,m4,w4,lre,dre=fn(Fa,"ContentAlignment",300,bn,Mdn,non),D6t;_(696,1,td,que),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,pTt),""),"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,gTt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),lf),dCn),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),dre),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,UL),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Dt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,AZ),""),"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,BL),""),"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),Are),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,CL),""),"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,F3n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),lf),mCn),xr(xt,Z(X(cf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bTt),""),"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,kZ),""),"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,Dye),""),"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,mTt),""),"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,wTt),""),"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,yTt),""),"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,RL),""),cTt),"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,RL,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vTt),""),"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,ETt),""),"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,STt),""),"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,TTt),""),"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,ATt),""),"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,_Tt),""),"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,xTt),""),"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,kTt),""),"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,NTt),""),"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,CTt),"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,ITt),"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),DNe),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,MX),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,TZ),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),ILt),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,xZ),LTt),"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,xZ,_Z,V6t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_Z),LTt),"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),eQ),"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),eQ),"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),eQ),"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),eQ),"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),SZ),"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,IL),SZ),"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,$3n),"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,RTt),"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),tQ),"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),tQ),"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),tQ),"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),Ro),ct(Cg)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Lye),tQ),"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,ZZ),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,ZZ,QZ,iLt),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,ZZ,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,OL),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,OL,U0,tLt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,QZ),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),fCn),ct(ri)))),zr(t,QZ,U0,nLt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,LL),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,LL,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,DL),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,DL,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,eLt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jye),MTt),"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),MTt),"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,OTt),"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 DS(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 DS(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 DS(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 DS(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 DS(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 DS(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 DS(qN(FA(jA(new eS,Qc),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),xyt((new lKe,t)),Hyt((new cKe,t)),Xwt((new dKe,t))};var zT,M6t,Jke,gk,P6t,j6t,Xke,sv,av,F6t,$D,Zke,BD,Tm,Qke,rU,fre,eNe,tNe,nNe,$6t,rNe,B6t,h2,iNe,U6t,UD,hre,y4,pre,H6t,oNe,z6t,sNe,p2,aNe,Cp,uNe,cNe,lNe,g2,dNe,Am,fNe,uv,b2,hNe,G1,pNe,iU,v4,df,gNe,G6t,bNe,q6t,V6t,mNe,wNe,gre,bre,mre,wre,yNe,zu,bk,vNe,yre,vre,cv,ENe,SNe,m2,TNe,GT,HD,Ere,lv,W6t,Sre,K6t,Y6t,J6t,X6t,ANe,_Ne,qT,xNe,oU,kNe,NNe,Od,Z6t,CNe,INe,RNe,mk,dv,wk,VT,Q6t,eLt,sU,tLt,aU,nLt,rLt,iLt,oLt;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,qln,ron),sLt;_(280,23,{3:1,34:1,23:1,280:1},y8);var uU,zD,ONe,LNe,DNe=fn(Fa,"EdgeCoords",280,bn,gln,ion),aLt;_(281,23,{3:1,34:1,23:1,281:1},eV);var yk,fv,vk,MNe=fn(Fa,"EdgeLabelPlacement",281,bn,gcn,oon),uLt;_(225,23,{3:1,34:1,23:1,225:1},v8);var Ek,GD,WT,Tre,Are=fn(Fa,"EdgeRouting",225,bn,bln,son),cLt;_(328,23,{3:1,34:1,23:1,328:1},u3);var PNe,jNe,FNe,$Ne,_re,BNe,UNe=fn(Fa,"EdgeType",328,bn,Ddn,aon),lLt;_(982,1,td,lKe),h.tf=function(t){xyt(t)};var HNe,zNe,GNe,qNe,dLt,VNe,S4;k(Fa,"FixedLayouterOptions",982),_(983,1,{},OGe),h.uf=function(){var t;return t=new UGe,t},h.vf=function(t){},k(Fa,"FixedLayouterOptions/FixedFactory",983),_(348,23,{3:1,34:1,23:1,348:1},tV);var Ig,cU,T4,WNe=fn(Fa,"HierarchyHandling",348,bn,mcn,uon),fLt,fCn=Hr(Fa,"ITopdownSizeApproximator");_(293,23,{3:1,34:1,23:1,293:1},E8);var Ih,q1,qD,VD,hLt=fn(Fa,"LabelSide",293,bn,mln,con),pLt;_(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,$fn,lon),gLt;_(260,23,{3:1,34:1,23:1,260:1},AO);var KNe,A4,V1,YNe,WD,_4=fn(Fa,"PortAlignment",260,bn,sdn,don),bLt;_(103,23,{3:1,34:1,23:1,103:1},c3);var _m,fa,Oh,Sk,pf,W1,JNe=fn(Fa,"PortConstraints",103,bn,jdn,fon),mLt;_(282,23,{3:1,34:1,23:1,282:1},l3);var x4,k4,Rp,KD,K1,KT,lU=fn(Fa,"PortLabelPlacement",282,bn,Fdn,hon),wLt;_(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,Ro=fn(Fa,"PortSide",64,bn,Vln,gon),yLt;_(986,1,td,dKe),h.tf=function(t){Xwt(t)};var vLt,ELt,XNe,SLt,TLt;k(Fa,"RandomLayouterOptions",986),_(987,1,{},LGe),h.uf=function(){var t;return t=new qGe,t},h.vf=function(t){},k(Fa,"RandomLayouterOptions/RandomFactory",987),_(301,23,{3:1,34:1,23:1,301:1},nV);var YD,xre,ZNe,QNe=fn(Fa,"ShapeCoords",301,bn,pcn,pon),ALt;_(381,23,{3:1,34:1,23:1,381:1},S8);var hv,JD,XD,xm,N4=fn(Fa,"SizeConstraint",381,bn,wln,bon),_Lt;_(267,23,{3:1,34:1,23:1,267:1},Xv);var ZD,dU,Tk,kre,QD,C4,fU,hU,pU,e3e=fn(Fa,"SizeOptions",267,bn,Vfn,mon),xLt;_(283,23,{3:1,34:1,23:1,283:1},rV);var pv,t3e,gU,n3e=fn(Fa,"TopdownNodeTypes",283,bn,bcn,won),kLt;_(290,23,UF);var r3e,Nre,i3e,o3e,e5=fn(Fa,"TopdownSizeApproximator",290,bn,yln,yon);_(978,290,UF,Mot),h.Sg=function(t){return I1t(t)},fn(Fa,"TopdownSizeApproximator/1",978,e5,null,null),_(979,290,UF,yst),h.Sg=function(t){var r,o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,se,de,Ee,ye,qe,lt,ft,It;for(r=l(ve(t,(_n(),lv)),144),qe=(e1(),M=new $N,M),nL(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),nL(se,a),It=I1t(a),i0(se,b.Math.max(a.g,It.a),b.Math.max(a.f,It.b)),eu(lt.f,a,se);for(c=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));c.e!=c.i.gc();)for(a=l(rn(c),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 LG,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),D7(de,Br(Ee)),nL(de,v);z=l(JO(r.f),207);try{z.kf(qe,new OG),whe(r.f,z)}catch(Lt){throw Lt=ci(Lt),ae(Lt,102)?(U=Lt,Y(U)):Y(Lt)}return Gc(qe,av)||Gc(qe,sv)||qJ(qe),y=ue(le(ve(qe,av))),m=ue(le(ve(qe,sv))),p=y/m,o=ue(le(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),re=ft.b+ft.c+1,J=ft.d+ft.a+1,new Me(b.Math.max(re,o),b.Math.max(J,o/p))},fn(Fa,"TopdownSizeApproximator/2",979,e5,null,null),_(980,290,UF,Vat),h.Sg=function(t){var r,o,a,c,f,p;return o=ue(le(ve(t,(_n(),dv)))),r=o/ue(le(ve(t,mk))),a=t_n(t),f=l(ve(t,df),100),c=ue(le(Ge(Od))),Br(t)&&(c=ue(le(ve(Br(t),Od)))),p=tp(new Me(o,r),a),br(p,new Me(-(f.b+f.c)-c,-(f.d+f.a)-c))},fn(Fa,"TopdownSizeApproximator/3",980,e5,null,null),_(981,290,UF,vst),h.Sg=function(t){var r,o,a,c,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(le(ve(f,dv))),ue(le(ve(f,dv)))/ue(le(ve(f,mk))));r=l(ve(t,(_n(),lv)),144),y=l(JO(r.f),207);try{y.kf(t,new OG),whe(r.f,y)}catch(N){throw N=ci(N),ae(N,102)?(m=N,Y(m)):Y(N)}return Vn(t,zT,Ox),Bct(t),qJ(t),c=ue(le(ve(t,av))),a=ue(le(ve(t,sv))),new Me(c,a)},fn(Fa,"TopdownSizeApproximator/4",981,e5,null,null);var NLt;_(346,1,{861:1},sS),h.Tg=function(t,r){return Gbt(this,t,r)},h.Ug=function(){wmt(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&&Mcn(this,(o=new Fst,a=AJ(o,t),zkn(o),a),(Pj(),Ire))},h.dh=function(t){var r;return this.b?null:(r=Tfn(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){svt(t,r)},k(Vs,"BoxLayoutProvider",713),_(974,1,Un,bXe),h.Le=function(t,r){return B2n(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,Xrt),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,Cre,c3e=fn(Vs,"BoxLayoutProvider/PackingMode",327,bn,vln,von),CLt;_(975,1,Un,MGe),h.Le=function(t,r){return Ban(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,PGe),h.Le=function(t,r){return Can(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,jGe),h.Le=function(t,r){return Ian(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},FGe),h.Lg=function(t,r){return W9(),!ae(r,176)||eet((qS(),l(t,176)),r)},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1350),_(1351,1,nn,mXe),h.Ad=function(t){Dpn(this.a,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1351),_(1352,1,nn,$Ge),h.Ad=function(t){l(t,105),W9()},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1352),_(1356,1,nn,wXe),h.Ad=function(t){shn(this.a,l(t,105))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1356),_(1354,1,Mn,Htt),h.Mb=function(t){return wpn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1354),_(1353,1,Mn,ztt),h.Mb=function(t){return bnn(this.a,this.b,l(t,837))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1353),_(1355,1,nn,Gtt),h.Ad=function(t){Tsn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1355),_(939,1,{},BGe),h.Kb=function(t){return znt(t)},h.Fb=function(t){return this===t},k(Vs,"ElkUtil/lambda$0$Type",939),_(940,1,nn,qtt),h.Ad=function(t){Uvn(this.a,this.b,l(t,74))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$1$Type",940),_(941,1,nn,Vtt),h.Ad=function(t){yQt(this.a,this.b,l(t,171))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$2$Type",941),_(942,1,nn,Wtt),h.Ad=function(t){ftn(this.a,this.b,l(t,158))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$3$Type",942),_(943,1,nn,yXe),h.Ad=function(t){qon(this.a,l(t,373))},k(Vs,"ElkUtil/lambda$4$Type",943),_(332,1,{34:1,332:1},KZt),h.Dd=function(t){return Ftn(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,UGe),h.kf=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re,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(c=new $t(qt(mp(J).a.Jc(),new L));an(c);)o=l(en(c),74),T=SEt(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 L));an(a);)o=l(en(a),74),Br(XY(o))!=t&&(T=SEt(o),N=b.Math.max(N,T.a),O=b.Math.max(O,T.b))}if(f==(gp(),Ek))for(re=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));re.e!=re.i.gc();)for(J=l(rn(re),19),a=new $t(qt(mp(J).a.Jc(),new L));an(a);)o=l(en(a),74),p=BAn(o),p.b==0?Vn(o,p2,null):Vn(o,p2,p);Ye(Ke(ve(t,(jj(),GNe))))||(de=l(ve(t,dLt),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},RG,Wdt),h.ag=function(t){var r,o,a,c,f,p,m,y,v;if(t)try{for(y=ky(t,";,;"),f=y,p=0,m=f.length;p<m;++p){if(c=f[p],o=ky(c,"\\:"),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 Mpt(r))):Y(T)}},h.Ib=function(){var t;return t=In(Au(Oa((this.q?this.q:(At(),At(),xh)).vc().Mc(),new HGe),Zdn(new pot,new Ca,new On,new Xs,Z(X(ru,1),Ce,132,0,[])))),t};var ILt=k(Vs,"IndividualSpacings",380);_(973,1,{},HGe),h.Kb=function(t){return $an(l(t,45))},k(Vs,"IndividualSpacings/lambda$0$Type",973),_(715,1,{},Xot),h.c=0,k(Vs,"InstancePool",715),_(1833,1,{},zGe),k(Vs,"LoggedGraph",1833),_(412,23,{3:1,34:1,23:1,412:1},A8);var l3e,Ire,d3e,f3e,RLt=fn(Vs,"LoggedGraph/Type",412,bn,Eln,Eon),OLt;_(621,1,{861:1},OG),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},GGe,No),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,c,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,c=f&-65536,t^c>>16&Ei|r^a<<16},h.Jc=function(){return new vXe(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,vXe),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,qGe),h.kf=function(t,r){var o,a,c,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,(L1e(),SLt)),15),f&&f.a!=0?c=new WP(f.a):c=new iY,o=rO(le(ve(t,vLt))),p=rO(le(ve(t,TLt))),a=l(ve(t,ELt),100),lNn(t,c,o,p,a),r.Ug()},k(Vs,"RandomLayoutProvider",1089),_(243,1,{243:1},PV),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(Ri,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 LLt;_(554,1,{}),h.Jf=function(){return new Me(this.f.i,this.f.j)},h.mf=function(t){return zat(t,(_n(),zu))?ve(this.f,DLt):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 DLt;k(rI,"ElkGraphAdapters/AbstractElkGraphElementAdapter",554),_(556,1,{845:1},x9),h.Pf=function(){var t,r;if(!this.b)for(this.b=$P(hW(this.a).i),r=new tn(hW(this.a));r.e!=r.i.gc();)t=l(rn(r),158),Fe(this.b,new cq(t));return this.b},h.b=null,k(rI,"ElkGraphAdapters/ElkEdgeAdapter",556),_(250,554,{},Yp),h.Qf=function(){return J1t(this)},h.a=null,k(rI,"ElkGraphAdapters/ElkGraphAdapter",250),_(637,554,{190:1},cq),k(rI,"ElkGraphAdapters/ElkLabelAdapter",637),_(555,554,{692:1},B8),h.Pf=function(){return umn(this)},h.Tf=function(){var t;return t=l(ve(this.f,(_n(),Cp)),125),!t&&(t=new FN),t},h.Vf=function(){return cmn(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 L));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 L));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(),UD))))},h.Zf=function(){rfn(this,(t1(),LLt))},h.a=null,h.b=null,h.c=null,h.d=null,h.e=null,k(rI,"ElkGraphAdapters/ElkNodeAdapter",555),_(1261,554,{844:1},EXe),h.Pf=function(){return bmn(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,c,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(),hre)))))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(c=l(rn(f),83),uy(Yo(c),a))return!0;return!1},h.a=null,h.b=null,h.c=null,k(rI,"ElkGraphAdapters/ElkPortAdapter",1261),_(1262,1,Un,VGe),h.Le=function(t,r){return OTn(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,FTt),Ic=Hr($E,$Tt),t5=Hr($E,BTt),n5=Hr($E,"ElkShape"),pn=Hr($E,UTt),Ir=Hr($E,uEe),jr=Hr($E,HTt),r5=Hr(el,zTt),I4=Hr(el,"EFactory"),MLt,Rre=Hr(el,GTt),Ld=Hr(el,"EPackage"),Bi,PLt,jLt,h3e,bU,FLt,p3e,g3e,b3e,Lh,$Lt,BLt,Rs=Hr($E,cEe),En=Hr($E,lEe),Gu=Hr($E,dEe);_(94,1,qTt),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,YTt),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=Po(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 cJ(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=Lhe(Ff(this.Ah())),t==null?$re: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 WW(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 yY(this,t)},h.Uh=function(t){return out(this,t)},h.Wh=function(t){return iEt(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){iJ(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,c,f;return f=this.Gh(),f&&t&&(r=_o(f.Cl(),this,r),f.Gl(this)),a=this.Mh(),a&&(EJ(this,this.Mh(),this.Ch()).Bb&Co?(c=a.Nh(),c&&(t?!f&&c.Gl(this):c.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,c,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(Mo(),l(p,69).vk()||(p=MS(rs(ao,p))),c=(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(c,222).Ql(t,!1),78)}else throw Y(new jt(R1+t.ve()+nQ));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 gnt(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){tJ(this,t)},h.Ib=function(){return Zl(this)},k(Gt,"BasicEObjectImpl",101);var ULt;_(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=Lhe(Ff((t=l(Vt(this,16),29),t||this.fi()))),r==null?$re: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(),BLt},h.hi=function(t){Ige(this,t)},h.lf=function(){return b1t(this)},h.fh=function(){return!this.o&&(this.o=new pu((Qs(),Lh),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 yY(this,t)},h.$h=function(t,r){switch(t){case 0:gj(this,ue(le(r)));return;case 1:pj(this,ue(le(r)));return}iJ(this,t,r)},h.fi=function(){return Qs(),PLt},h.hi=function(t){switch(t){case 0:gj(this,0);return;case 1:pj(this,0);return}tJ(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 WY(this,t,r,o)},h.Rh=function(t,r,o){return IK(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(),FLt},h.hi=function(t){r1e(this,t)},h.ih=function(){return this.k},h.jh=function(){return hW(this)},h.Ib=function(){return rY(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(),$Lt},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 QY(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(),jLt},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},LG),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 Dt(),!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 Dt(),!!AC(this);case 9:return Dt(),!!R0(this);case 10:return Dt(),!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 WY(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 IK(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:D7(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:D7(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 Tvt(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 tut(this);case 7:return r?AY(this):this.i;case 8:return r?TY(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,c,f;switch(r){case 6:return this.Cb&&(o=(c=this.Db>>16,c>=0?abe(this,o):this.Cb.Qh(this,-1-c,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!!tut(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(le(r)));return;case 2:S0(this,ue(le(r)));return;case 3:y0(this,ue(le(r)));return;case 4:v0(this,ue(le(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:wwt(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:wwt(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 C0t(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,c;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o)):(c=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),c.uk().xk(this,Ha(this),r-ln(this.fi()),t,o))},h.Rh=function(t,r,o){var a,c;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o)):(c=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),c.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(),oDt},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 Xvt(this,t,r)},h.pi=function(t){var r,o,a,c,f;if(this.a!=mc(t)||t.Bb&256)throw Y(new jt(iQ+t.zb+W0));for(a=ds(t);oa(a.a).i!=0;){if(o=l(dL(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 c=mc(o).ti().pi(o),l(c,52)._h(t),c;a=ds(o)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new Dot(t):new Lfe(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,c;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,Ld,o)),e1e(this,l(t,244),o)}return c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Q1)),r),69),c.uk().xk(this,Ha(this),r-ln((_t(),Q1)),t,o)},h.Rh=function(t,r,o){var a,c;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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Q1)),r),69),c.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:rmt(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:rmt(this,null);return}Jc(this,t-ln((_t(),Q1)),Nt((r=l(Vt(this,16),29),r||Q1),t))};var R4,m3e,HLt;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},KGe),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(Lx+t.ve()+W0))}},h.pi=function(t){var r,o,a,c,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 LG,a;case 9:return o=new b9,o;case 10:return c=new g9,c;case 11:return y=new YGe,y;default:throw Y(new jt(iQ+t.zb+W0))}},h.qi=function(t,r){switch(t.fk()){case 13:case 12:return null;default:throw Y(new jt(Lx+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),Lhe(Ff(t||this.fi()))),r==null?(QN(),QN(),$re):new Qrt(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(),sDt},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},Lat),h.xh=function(t){return fbt(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,Dd,this)),this.rb;case 6:return!this.vb&&(this.vb=new TS(Ld,this,6,7)),this.vb;case 7:return r?this.Db>>16==7?l(this.Cb,244):null:lut(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,c,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,Dd,this)),Pa(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Ld,this,6,7)),Pa(this.vb,t,o);case 7:return this.Cb&&(o=(c=this.Db>>16,c>=0?fbt(this,o):this.Cb.Qh(this,-1-c,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,c;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,Dd,this)),_o(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Ld,this,6,7)),_o(this.vb,t,o);case 7:return Sc(this,null,7,o)}return c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Mg)),r),69),c.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!!lut(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=J2n(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:ZY(this,l(r,472));return;case 5:!this.rb&&(this.rb=new Xw(this,Dd,this)),vn(this.rb),!this.rb&&(this.rb=new Xw(this,Dd,this)),ti(this.rb,l(r,18));return;case 6:!this.vb&&(this.vb=new TS(Ld,this,6,7)),vn(this.vb),!this.vb&&(this.vb=new TS(Ld,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:ZY(this,null);return;case 5:!this.rb&&(this.rb=new Xw(this,Dd,this)),vn(this.rb);return;case 6:!this.vb&&(this.vb=new TS(Ld,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(){jY(this)},h.si=function(){return!this.rb&&(this.rb=new Xw(this,Dd,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},j0t),h.q=!1,h.r=!1;var zLt=!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 WY(this,t,r,o)},h.Rh=function(t,r,o){return r==7?Wfe(this,null,o):IK(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 Tmt(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 Dt(),!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 myt(this)},k(am,"ElkPortImpl",196);var GLt=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},YGe),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 yY(this,t)},h.$h=function(t,r){switch(t){case 0:oge(this,l(r,149));return;case 1:sge(this,r);return}iJ(this,t,r)},h.fi=function(){return Qs(),Lh},h.hi=function(t){switch(t){case 0:oge(this,null);return;case 1:sge(this,null);return}tJ(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),jX),y3(this.c)),t.a)},h.a=-1,h.c=null;var Rg=k(am,"ElkPropertyToValueMapEntryImpl",1103);_(989,1,{},JGe),k(oo,"JsonAdapter",989),_(218,63,vp,xf),k(oo,"JsonImportException",218),_(859,1,{},O0t),k(oo,"JsonImporter",859),_(893,1,{},ent),h.Bi=function(t){Sbt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$0$Type",893),_(894,1,{},tnt),h.Bi=function(t){c0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$1$Type",894),_(902,1,{},SXe),h.Bi=function(t){cat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$10$Type",902),_(904,1,{},nnt),h.Bi=function(t){Ymt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$11$Type",904),_(905,1,{},rnt),h.Bi=function(t){Jmt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$12$Type",905),_(911,1,{},yat),h.Bi=function(t){ymt(this.a,this.b,this.c,this.d,l(t,142))},k(oo,"JsonImporter/lambda$13$Type",911),_(910,1,{},vat),h.Bi=function(t){$yt(this.a,this.b,this.c,this.d,l(t,150))},k(oo,"JsonImporter/lambda$14$Type",910),_(906,1,{},int),h.Bi=function(t){Rit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$15$Type",906),_(907,1,{},ont),h.Bi=function(t){Oit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$16$Type",907),_(908,1,{},lnt),h.Bi=function(t){rbt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$17$Type",908),_(909,1,{},dnt),h.Bi=function(t){ibt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$18$Type",909),_(914,1,{},TXe),h.Bi=function(t){cmt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$19$Type",914),_(895,1,{},AXe),h.Bi=function(t){gbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$2$Type",895),_(912,1,{},_Xe),h.Bi=function(t){E0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$20$Type",912),_(913,1,{},xXe),h.Bi=function(t){S0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$21$Type",913),_(917,1,{},kXe),h.Bi=function(t){umt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$22$Type",917),_(915,1,{},NXe),h.Bi=function(t){y0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$23$Type",915),_(916,1,{},CXe),h.Bi=function(t){v0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$24$Type",916),_(919,1,{},IXe),h.Bi=function(t){Lbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$25$Type",919),_(918,1,{},RXe),h.Bi=function(t){lat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$26$Type",918),_(920,1,nn,fnt),h.Ad=function(t){Bdn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$27$Type",920),_(921,1,nn,hnt),h.Ad=function(t){Udn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$28$Type",921),_(922,1,{},snt),h.Bi=function(t){q0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$29$Type",922),_(898,1,{},OXe),h.Bi=function(t){_gt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$3$Type",898),_(923,1,{},ant),h.Bi=function(t){pwt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$30$Type",923),_(924,1,{},LXe),h.Bi=function(t){Kdt(this.a,le(t))},k(oo,"JsonImporter/lambda$31$Type",924),_(925,1,{},DXe),h.Bi=function(t){Ydt(this.a,le(t))},k(oo,"JsonImporter/lambda$32$Type",925),_(926,1,{},MXe),h.Bi=function(t){Jdt(this.a,le(t))},k(oo,"JsonImporter/lambda$33$Type",926),_(927,1,{},PXe),h.Bi=function(t){Xdt(this.a,le(t))},k(oo,"JsonImporter/lambda$34$Type",927),_(928,1,{},jXe),h.Bi=function(t){zwn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$35$Type",928),_(929,1,{},FXe),h.Bi=function(t){Gwn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$36$Type",929),_(933,1,{},wat),k(oo,"JsonImporter/lambda$37$Type",933),_(930,1,nn,rot),h.Ad=function(t){whn(this.a,this.c,this.b,l(t,373))},k(oo,"JsonImporter/lambda$38$Type",930),_(931,1,nn,unt),h.Ad=function(t){jen(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$39$Type",931),_(896,1,{},$Xe),h.Bi=function(t){E0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$4$Type",896),_(932,1,nn,cnt),h.Ad=function(t){Fen(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$40$Type",932),_(934,1,nn,iot),h.Ad=function(t){yhn(this.a,this.b,this.c,l(t,8))},k(oo,"JsonImporter/lambda$41$Type",934),_(897,1,{},BXe),h.Bi=function(t){S0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$5$Type",897),_(901,1,{},UXe),h.Bi=function(t){xgt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$6$Type",901),_(899,1,{},HXe),h.Bi=function(t){y0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$7$Type",899),_(900,1,{},zXe),h.Bi=function(t){v0(this.a,ue(le(t)))},k(oo,"JsonImporter/lambda$8$Type",900),_(903,1,{},GXe),h.Bi=function(t){Dbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$9$Type",903),_(953,1,nn,qXe),h.Ad=function(t){RS(this.a,new Qw(In(t)))},k(oo,"JsonMetaDataConverter/lambda$0$Type",953),_(954,1,nn,VXe),h.Ad=function(t){Fsn(this.a,l(t,235))},k(oo,"JsonMetaDataConverter/lambda$1$Type",954),_(955,1,nn,WXe),h.Ad=function(t){jun(this.a,l(t,144))},k(oo,"JsonMetaDataConverter/lambda$2$Type",955),_(956,1,nn,KXe),h.Ad=function(t){$sn(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,Ore,i5,yU,o5,Lre,Dre,s5=fn(kL,"GraphFeature",235,bn,yfn,Son),qLt;_(11,1,{34:1,149:1},cr,Pr,pt,Mi),h.Dd=function(t){return $tn(this,l(t,149))},h.Fb=function(t){return zat(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(kL,"Property",11),_(664,1,Un,KG),h.Le=function(t,r){return Rgn(this,l(t,105),l(r,105))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(kL,"PropertyHolderComparator",664),_(705,1,Wi,Tce),h.Nb=function(t){so(this,t)},h.Pb=function(){return qdn(this)},h.Qb=function(){BQe()},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){ZW(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 eyt(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 iW(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 KY(this,t,r)},h.Di=function(t){return F1t(this,t)},h.Ei=function(t,r){L6(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 abt(this,t)},h.dc=function(){return this.i==0},h.Ri=function(t,r){return aJ(this,t,r)},h.$i=function(t){return we(Ri,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 uK(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,gQ),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,gQ,uV),h._i=function(t){var r;return r=l(t,57).Dh().Jc(),ae(r,289)&&l(r,289).ul(new XGe),r},k(GF,"ElkGraphUtil/PropertiesSkippingTreeIterator",611),_(957,1,{},XGe),k(GF,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",957);var a5,Mre,u5=k(GF,"ElkReflect",null);_(891,1,Py,ZGe),h.Qg=function(t){return PP(),_cn(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 Pre=Hr(LAt,"Adapter"),hCn=Hr(LAt,"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){hit(this,t,r)},h.Fi=function(t){Gst(this,t)},h.nj=function(){return this.qj()},h.$b=function(){DO(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){F0t(this,t,r)},h.Fi=function(t){k0t(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){jC(this)},h.Gj=function(t,r,o,a,c){return new Uat(this,t,r,o,a,c)},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,c;return this.Nj()?(o=null,a=this.Oj(),r=this.Gj(4,c=rP(this,t),null,t,a),this.Kj()&&c?(o=this.Mj(c,o),o?(o.lj(r),o.mj()):this.Hj(r)):o?(o.lj(r),o.mj()):this.Hj(r),c):(c=rP(this,t),this.Kj()&&c&&(o=this.Mj(c,null),o&&o.mj()),c)},h.Vi=function(t,r){return Xyt(this,t,r)},k(vT,"DelegatingNotifyingListImpl",2073),_(152,1,qL),h.lj=function(t){return kbe(this,t)},h.mj=function(){rK(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 Mwt(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,c,f,p,m,y,v,T,N;switch(this.d){case 1:case 2:switch(c=t.ej(),c){case 1:case 2:if(f=t.hj(),me(f)===me(this.hj())&&this.fj(null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0}case 4:{switch(c=t.ej(),c){case 4:{if(f=t.hj(),me(f)===me(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(c=t.ej(),c){case 4:{if(f=t.hj(),me(f)===me(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:{wq(a,this.d);break}}if(Ayt(this)&&(a.a+=", touch: true"),a.a+=", position: ",wq(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,Mwt(this));return a.a+=", isTouch: ",Zp(a,Ayt(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,qL,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,"DelegatingNotifyingListImpl/1",1169),_(255,67,Vf,QGe,Qg),h.Ec=function(t){return Rgt(this,l(t,374))},h.lj=function(t){return Rgt(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(hCn,Rt,374,t,0,1)},k(vT,"NotificationChainImpl",255),_(1502,94,qTt),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 xJ(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){uJ(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){vn(this)},h.Gj=function(t,r,o,a,c){return new Hat(this,t,r,o,a,c)},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 gvt(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,qL,Hat),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,git),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,iW),h.Qb=function(){wC(this)},h.Rb=function(t){Ugt(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){$1t(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 vY(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,MAt),h.Ci=function(t,r){var o,a,c,f,p,m,y,v,T,N,O;if(c=r.gc(),c!=0){for(v=l(Vt(this.a,4),131),T=v==null?0:v.length,O=T+c,a=zK(this,O),N=T-t,N>0&&ua(v,t,a,t+c,N),y=r.Jc(),p=0;p<c;++p)m=y.Pb(),o=t+p,fV(a,o,C_(this,m));for(H_(this,a),f=0;f<c;++f)m=a[t],this.Ki(t,m),++t;return!0}else return++this.j,!1},h.Di=function(t){var r,o,a,c,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=zK(this,v),m=t.Jc(),f=y;f<v;++f)p=m.Pb(),fV(r,f,C_(this,p));for(H_(this,r),c=y;c<v;++c)p=r[c],this.Ki(c,p);return!0}else return++this.j,!1},h.Ei=function(t,r){var o,a,c,f;a=l(Vt(this.a,4),131),c=a==null?0:a.length,o=zK(this,c+1),f=C_(this,r),t!=c&&ua(a,t,o,t+1,c-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=zK(this,a+1),fV(r,a,C_(this,t)),H_(this,r),this.Ki(a,t)},h.Gi=function(){return new wlt(this)},h.Hi=function(){return new Tst(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 Qst(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),ZW(this,r,t)},h.Gc=function(t){var r,o,a,c,f;if(r=l(Vt(this.a,4),131),r!=null){if(t!=null){for(a=r,c=0,f=a.length;c<f;++c)if(o=a[c],pr(t,o))return!0}else for(a=r,c=0,f=a.length;c<f;++c)if(o=a[c],me(o)===me(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(me(r[o])===me(t))return o}return-1},h.dc=function(){return l(Vt(this.a,4),131)==null},h.Jc=function(){return new mlt(this)},h.cd=function(){return new Sst(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 Zst(this,t)},h.Ri=function(t,r){var o,a,c;if(o=Kgt(this),c=o==null?0:o.length,t>=c)throw Y(new Ia(hQ+t+um+c));if(r>=c)throw Y(new Ia(pQ+r+um+c));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 Wvn(this,t)},h.Vi=function(t,r){var o,a;return o=Kgt(this),a=o[t],fV(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(Pre,yQ,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 VLt;k(xo,"ArrayDelegatingEList",2059),_(1043,39,Wi,mlt),h.Vj=function(){if(this.b.j!=this.f||me(l(Vt(this.b.a,4),131))!==me(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,Sst,Zst),h.Vj=function(){if(this.b.j!=this.f||me(l(Vt(this.b.a,4),131))!==me(this.a))throw Y(new $c)},h.Yj=function(t){$1t(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,wlt),h.Vj=function(){if(this.b.j!=this.f||me(l(Vt(this.b.a,4),131))!==me(this.a))throw Y(new $c)},k(xo,"ArrayDelegatingEList/NonResolvingEIterator",1044),_(720,393,vh,Tst,Qst),h.Vj=function(){if(this.b.j!=this.f||me(l(Vt(this.b.a,4),131))!==me(this.a))throw Y(new $c)},k(xo,"ArrayDelegatingEList/NonResolvingEListIterator",720),_(612,306,iF,oV),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){ktn(this,t,l(r,45))},h.Ec=function(t){return _nn(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){Ntn(this,t,l(r,45))},h.ed=function(t){return l(this.c.ed(t),45)},h.fd=function(t,r){return Bsn(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 qit(this,t)},h.Hb=function(){return kge(this.c)},h.bd=function(t){return this.c.bd(t)},h.$j=function(){this.c=new YXe(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 oot(t,r,o)},h.bk=function(){return new tqe},h.Kc=function(t){return qft(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,YXe),h.Ki=function(t,r){lQt(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){dQt(this,l(r,138))},h.Pi=function(t,r,o){snn(this,l(r,138),l(o,138))},h.Mi=function(t,r){Fht(this.a)},k(xo,"BasicEMap/1",1038),_(1039,67,Vf,tqe),h.$i=function(t){return we(pCn,PAt,618,t,0,1)},k(xo,"BasicEMap/2",1039),_(1040,tf,wu,JXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return uY(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,XXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return tyt(this.a,t)},h.Jc=function(){return this.a.f==0?(JA(),c5.a):new MQe(this.a)},h.gc=function(){return this.a.f},k(xo,"BasicEMap/4",1041),_(1042,tf,wu,ZXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){var r,o,a,c,f,p,m,y,v;if(this.a.f>0&&ae(t,45)&&(this.a.Zj(),y=l(t,45),m=y.jd(),c=m==null?0:Rr(m),f=Yde(this.a,c),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()==c&&a.Fb(y))return!0}return!1},h.Jc=function(){return this.a.f==0?(JA(),c5.a):new vW(this.a)},h.Kc=function(t){return z0t(this,t)},h.gc=function(){return this.a.f},k(xo,"BasicEMap/5",1042),_(619,1,Wi,vW),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,vbt(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,MQe),h.ck=function(t){return t.kd()},k(xo,"BasicEMap/BasicEMapValueIterator",1037),_(1035,1,j0,QXe),h.wc=function(t){S6(this,t)},h.$b=function(){this.a.c.$b()},h._b=function(t){return Ent(this,t)},h.uc=function(t){return tyt(this.a,t)},h.vc=function(){return Adn(this.a)},h.Fb=function(t){return qit(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 Sdn(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 Tdn(this.a)},k(xo,"BasicEMap/DelegatingMap",1035),_(618,1,{45:1,138:1,618:1},oot),h.Fb=function(t){var r;return ae(t,45)?(r=l(t,45),(this.b!=null?pr(this.b,r.jd()):me(this.b)===me(r.jd()))&&(this.c!=null?pr(this.c,r.kd()):me(this.c)===me(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 pCn=k(xo,"BasicEMap/EntryImpl",618);_(538,1,{},w9),k(xo,"BasicEMap/View",538);var c5;_(776,1,{}),h.Fb=function(t){return Ime((At(),Io),t)},h.Hb=function(){return $ge((At(),Io))},h.Ib=function(){return Qd((At(),Io))},k(xo,"ECollections/BasicEmptyUnmodifiableEList",776),_(1314,1,vh,eqe),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},UZe),h._c=function(t,r){ret()},h.Ec=function(t){return iet()},h.ad=function(t,r){return oet()},h.Fc=function(t){return set()},h.$b=function(){aet()},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 uet()},h.Si=function(t,r){cet()},h.ed=function(t){return det()},h.Kc=function(t){return fet()},h.fd=function(t,r){return het()},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(Io,t,r)},h.Nc=function(){return Jfe((At(),Io))},h.Oc=function(t){return At(),pC(Io,t)},k(xo,"ECollections/EmptyUnmodifiableEList",1312),_(1313,776,{22:1,18:1,16:1,61:1,593:1},HZe),h._c=function(t,r){ret()},h.Ec=function(t){return iet()},h.ad=function(t,r){return oet()},h.Fc=function(t){return set()},h.$b=function(){aet()},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 uet()},h.Si=function(t,r){cet()},h.ed=function(t){return det()},h.Kc=function(t){return fet()},h.fd=function(t,r){return het()},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(Io,t,r)},h.Nc=function(){return Jfe((At(),Io))},h.Oc=function(t){return At(),pC(Io,t)},h._j=function(){return At(),At(),xh},k(xo,"ECollections/EmptyUnmodifiableEMap",1313);var E3e=Hr(xo,"Enumerator"),vU;_(291,1,{291:1},bJ),h.Fb=function(t){var r;return this===t?!0:ae(t,291)?(r=l(t,291),this.f==r.f&&usn(this.i,r.i)&&qV(this.a,this.f&256?r.f&256?r.a:null:r.f&256?null:r.a)&&qV(this.d,r.d)&&qV(this.g,r.g)&&qV(this.e,r.e)&&mbn(this,r)):!1},h.Hb=function(){return this.f},h.Ib=function(){return Pyt(this)},h.f=0;var WLt=0,KLt=0,YLt=0,JLt=0,S3e=0,T3e=0,A3e=0,_3e=0,x3e=0,XLt,O4=0,L4=0,ZLt=0,QLt=0,EU,k3e;k(xo,"URI",291),_(1102,44,LE,zZe),h.yc=function(t,r){return l(ns(this,In(t),l(r,291)),291)},k(xo,"URI/URICache",1102),_(495,67,Vf,nqe,uP),h.Qi=function(){return!0},k(xo,"UniqueEList",495),_(585,63,vp,oj),k(xo,"WrappedException",585);var Kn=Hr(el,$At),gv=Hr(el,BAt),au=Hr(el,UAt),bv=Hr(el,HAt),Dd=Hr(el,zAt),Ol=Hr(el,"EClass"),jre=Hr(el,"EDataType"),eDt;_(1210,44,LE,GZe),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,GAt),Go=Hr(el,qAt),Ll=Hr(el,VAt),Dl,lw=Hr(el,WAt),mv=Hr(el,KAt);_(1034,1,{},rqe),h.Ib=function(){return"NIL"},k(el,"EStructuralFeature/Internal/DynamicValueHolder/1",1034);var tDt;_(1033,44,LE,qZe),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,YAt),YT=Hr(el,"EValidator/PatternMatcher"),N3e,C3e,Ut,Og,wv,X1,nDt,rDt,iDt,Z1,Lg,Q1,dw,bf,oDt,sDt,Ml,Dg,aDt,Mg,yv,w2,Oo,uDt,cDt,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,vQ,gnt),h.Dk=function(t){return WW(this.a,this.b,t)},h.Oj=function(){return out(this.a,this.b)},h.Wb=function(t){Phe(this.a,this.b,t)},h.Ek=function(){nan(this.a,this.b)},k(Gt,"BasicEObjectImpl/4",1032),_(2060,1,{115:1}),h.Kk=function(t){this.e=t==0?lDt:we(Ri,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 lDt;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,YTt,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},Lfe),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 iqe),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?dDt:we(Ri,Rt,1,t,5,1)),this},h.gi=function(){return 0};var dDt;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=iL(t,"key"),this.c=iL(t,sI)},h.yi=function(){var t;return this.a==-1&&(t=aK(this,this.b),this.a=t==null?0:Rr(t)),this.a},h.jd=function(){return aK(this,this.b)},h.kd=function(){return aK(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=aK(this,this.c),Phe(this,this.c,t),r},h.a=0,k(Gt,"DynamicEObjectImpl/BasicEMapEntry",1500),_(1501,1,{115:1},iqe),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(),Oo),zs,this)),this.b):(!this.b&&(this.b=new Zu((_t(),Oo),zs,this)),s6(this.b));case 3:return dut(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,c,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=(c=this.Db>>16,c>=0?lbe(this,o):this.Cb.Qh(this,-1-c,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,c;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(),Oo),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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Og)),r),69),c.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!!dut(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:Von(this,In(r));return;case 2:!this.b&&(this.b=new Zu((_t(),Oo),zs,this)),Cj(this.b,r);return;case 3:Twt(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(),Oo),zs,this)),this.b.c.$b();return;case 3:Twt(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 ugt(this)},h.d=null,k(Gt,"EAnnotationImpl",508),_(145,718,NEe,pu),h.Ei=function(t,r){dtn(this,t,l(r,45))},h.Uk=function(t,r){return hrn(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,c,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(),c=(a&sr)%f.length,t=f[c],!t&&(t=f[c]=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,c;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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),!!this.Hk();case 7:return Dt(),c=this.s,c>=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,c;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return aW(this,o)}return c=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),c.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(),cDt},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 ebt(this,t)},h.Ih=function(t,r,o){var a,c;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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),!!this.Hk();case 7:return Dt(),c=this.s,c>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Dt(),!!(this.Bb&Tl);case 11:return Dt(),!!(this.Bb&yp);case 12:return Dt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Dt(),!!(this.Bb&yu);case 16:return Dt(),!!(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,c,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=(c=this.Db>>16,c>=0?ebt(this,o):this.Cb.Qh(this,-1-c,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,c;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return aW(this,o);case 17:return Sc(this,null,17,o)}return c=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),c.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:LW(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:D_(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(),uDt},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:D_(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,c,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)),c=Sl(this),p=c.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=c.gk(),Bgn(this),this.Bb&$f&&((f=mbe((mu(),ao),o))&&f!=this||(f=MS(rs(ao,this))))?this.p=new mnt(this,f):this.Hk()?this.$k()?a?this.Bb&yu?t?this._k()?this.p=new Db(47,t,this,a):this.p=new Db(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 Db(49,t,this,a):this.p=new Db(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,GLt,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,GLt,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(c,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 Db(25,t,this,a):this.p=new Bb(24,this,a):t?this.p=new Db(27,t,this,a):this.p=new Bb(26,this,a):this.Bb&yu?t?this.p=new Db(29,t,this,a):this.p=new Bb(28,this,a):t?this.p=new Db(31,t,this,a):this.p=new Bb(30,this,a):this._k()?this.Bb&yu?t?this.p=new Db(33,t,this,a):this.p=new Bb(32,this,a):t?this.p=new Db(35,t,this,a):this.p=new Bb(34,this,a):this.Bb&yu?t?this.p=new Db(37,t,this,a):this.p=new Bb(36,this,a):t?this.p=new Db(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 uot(l(c,29),this,a):this.p=new Mhe(l(c,29),this,a):ae(c,160)?t==TU?this.p=new og(40,this):this.Bb&yu?t?this.p=new ost(r,m,this,(lY(),p==Rn?P3e:p==uu?R3e:p==pw?j3e:p==Ev?M3e:p==Ki?D3e:p==S2?F3e:p==Eu?O3e:p==al?L3e:Bre)):this.p=new Sat(l(c,160),r,m,this):t?this.p=new ist(r,m,this,(lY(),p==Rn?P3e:p==uu?R3e:p==pw?j3e:p==Ev?M3e:p==Ki?D3e:p==S2?F3e:p==Eu?O3e:p==al?L3e:Bre)):this.p=new Eat(l(c,160),r,m,this):this.$k()?a?this.Bb&yu?this._k()?this.p=new lot(l(c,29),this,a):this.p=new Tfe(l(c,29),this,a):this._k()?this.p=new cot(l(c,29),this,a):this.p=new jV(l(c,29),this,a):this.Bb&yu?this._k()?this.p=new rit(l(c,29),this):this.p=new Fde(l(c,29),this):this._k()?this.p=new nit(l(c,29),this):this.p=new SV(l(c,29),this):this._k()?a?this.Bb&yu?this.p=new dot(l(c,29),this,a):this.p=new Efe(l(c,29),this,a):this.Bb&yu?this.p=new oit(l(c,29),this):this.p=new $de(l(c,29),this):a?this.Bb&yu?this.p=new fot(l(c,29),this,a):this.p=new Sfe(l(c,29),this,a):this.Bb&yu?this.p=new iit(l(c,29),this):this.p=new cP(l(c,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 cK(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){LW(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},tq),h.Ih=function(t,r,o){var a,c;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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),!!gme(this);case 7:return Dt(),c=this.s,c>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Dt(),!!(this.Bb&Tl);case 11:return Dt(),!!(this.Bb&yp);case 12:return Dt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Dt(),!!(this.Bb&yu);case 16:return Dt(),!!(this.Bb&$f);case 17:return ny(this);case 18:return Dt(),!!(this.Bb&Ws);case 19:return r?RK(this):Ilt(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!!Ilt(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:LW(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:PQe(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:D_(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:tY(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:D_(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:tY(this,!1);return}Jc(this,t-ln((_t(),wv)),Nt((r=l(Vt(this,16),29),r||wv),t))},h.mi=function(){RK(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){PQe(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 PY(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,c,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=(c=this.Db>>16,c>=0?PY(this,o):this.Cb.Qh(this,-1-c,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,c;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 c=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),c.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:cV(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(),nDt},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 _J(this,t)},h.dl=function(t){this.v=t},h.el=function(t){bht(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 Znn(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 Dt(),!!(this.Bb&256);case 9:return Dt(),!!(this.Bb&512);case 10:return ds(this);case 11:return!this.q&&(this.q=new ke(Ll,this,11,10)),this.q;case 12:return CE(this);case 13:return DC(this);case 14:return DC(this),this.r;case 15:return CE(this),this.k;case 16:return ime(this);case 17:return CJ(this);case 18:return Ff(this);case 19:return L7(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 gJ(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,c,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=(c=this.Db>>16,c>=0?PY(this,o):this.Cb.Qh(this,-1-c,null,o))),Sc(this,t,6,o);case 11:return!this.q&&(this.q=new ke(Ll,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,c;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(Ll,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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),X1)),r),69),c.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&&_Y(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return CE(this).i!=0;case 13:return DC(this).i!=0;case 14:return DC(this),this.r.i!=0;case 15:return CE(this),this.k.i!=0;case 16:return ime(this).i!=0;case 17:return CJ(this).i!=0;case 18:return Ff(this).i!=0;case 19:return L7(this).i!=0;case 20:return CE(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&_Y(this.n);case 23:return gJ(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:iL(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:cV(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(Ll,this,11,10)),vn(this.q),!this.q&&(this.q=new ke(Ll,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(Ll,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),DC(this),ime(this),CJ(this),Ff(this),L7(this),gJ(this),z3(Non(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 D4,fDt,Fre;k(Gt,"EClassImpl",89),_(2071,2070,ZAt),h.Ci=function(t,r){return xJ(this,t,r)},h.Di=function(t){return xJ(this,this.i,t)},h.Ei=function(t,r){vme(this,t,r)},h.Fi=function(t){uJ(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 gvt(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 Pvt(this,t)},h.Gj=function(t,r,o,a,c){return j3(this,t,r,o,a,c)},h.Hj=function(t){DA(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 Po(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(),Po(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(),Po(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 Oct(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){urt(this,t)},h.Nc=function(){return hdt(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 Gft(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,nst),h.Ri=function(t,r){var o,a;return o=l(uC(this,t,r),88),Ju(this.e)&&DA(this,new a6(this.a,7,(_t(),rDt),Re(r),(a=o.c,ae(a,89)?l(a,29):Ml),t)),o},h.Sj=function(t,r){return v1n(this,l(t,88),r)},h.Tj=function(t,r){return y1n(this,l(t,88),r)},h.Uj=function(t,r,o){return T0n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,c){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,"EClassImpl/1",1142),_(1156,1155,xEe),h.bj=function(t){var r,o,a,c,f,p,m;if(o=t.ej(),o!=8){if(a=tbn(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&&(c=l(p,474),c.Bb&1||(r=Pu(c),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29))));break}case 3:{p=t.gj(),p!=null&&(c=l(p,474),c.Bb&1||(r=Pu(c),!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();)c=l(f.Pb(),474),c.Bb&1||(r=Pu(c),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29)));break}case 4:{m=t.ij(),m!=null&&(c=l(m,474),c.Bb&1||(r=Pu(c),!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();)c=l(f.Pb(),474),c.Bb&1||(r=Pu(c),!r.c&&(r.c=new NA),uj(r.c,t.hj()));break}}this.ol(a)}},h.ol=function(t){cyt(this,t)},h.b=63,k(Gt,"ESuperAdapter",1156),_(1157,1156,xEe,eZe),h.ol=function(t){Sy(this,t)},k(Gt,"EClassImpl/10",1157),_(1146,706,ws),h.Ci=function(t,r){return KY(this,t,r)},h.Di=function(t){return F1t(this,t)},h.Ei=function(t,r){L6(this,t,r)},h.Fi=function(t){r6(this,t)},h.Yi=function(t){return Ppe(this,t)},h.Vi=function(t,r){return uK(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,cpt),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(me(this.g[o])===me(t))return o}return-1},k(Gt,"EClassImpl/1EAllStructuralFeaturesList",1149),_(1143,495,Vf,oqe),h.$i=function(t){return we(Go,QAt,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,tZe),h.Ki=function(t,r){psn(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,sqe),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,wot),h.Ec=function(t){return Uln(this,l(t,38))},h.Fi=function(t){pen(this,l(t,38))},k(Gt,"EClassImpl/4",1147),_(1148,334,ws,yot),h.Ec=function(t){return Hln(this,l(t,20))},h.Fi=function(t){gen(this,l(t,20))},k(Gt,"EClassImpl/5",1148),_(1150,495,Vf,aqe),h.$i=function(t){return we(Ll,CEe,62,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/6",1150),_(1151,495,Vf,uqe),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){F0t(this,t,r)},h.Fi=function(t){k0t(this,t)},h.Uk=function(t,r){return Wbn(this,t,r)},h.Vk=function(t,r){return Sbn(this,t,r)},h.Vi=function(t,r){return Xyt(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,c,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())==Po(l(Nt(Ja(this.b),this.Jj()),20)).n:-1-a.Ch()==this.Jj()),this.ll()&&!m&&!o&&a.Gh()){for(c=0;c<y;++c)if(r=QV(this,this.vj(c)),me(r)===me(t))return!0}return m}else if(this.kl()&&!this.jl()){if(f=l(t,57).Jh(Po(l(Nt(Ja(this.b),this.Jj()),20))),me(f)===me(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(c=0;c<y;++c)if(a=QV(this,this.vj(c)),me(a)===me(t))return!0}return p}else return this.sj(t)},h.Gj=function(t,r,o,a,c){return new cp(this.b,t,this.Jj(),r,o,a,c)},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||!!Po(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=Po(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=Po(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&Co)!=0):!1},h.bd=function(t){var r,o,a,c;if(a=this.xj(t),a>=0)return a;if(this.ml()){for(o=0,c=this.Cj();o<c;++o)if(r=QV(this,this.vj(o)),me(r)===me(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,Po(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(),Po(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,Po(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(),Po(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 dL(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)dL(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)dL(this,r,this.vj(r));return this.Ej(t)},h.Ek=function(){jC(this)},h.Xi=function(t,r){return fdt(this,t,r)},k(Fr,"DelegatingEcoreEList",751),_(1152,751,IEe,bit),h.oj=function(t,r){Enn(this,t,l(r,29))},h.pj=function(t){htn(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 Kbn(this,t,l(r,29))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,c){return null},h.qj=function(){return new nZe(this)},h.rj=function(){vn(oa(this.a))},h.sj=function(t){return cgt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!cgt(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(me(r.Pb())!==me(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,c;for(o=1,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(c=t.c,ae(c,89)?l(c,29):(_t(),Ml)),o=31*o+(a?s0(a):0);return o},h.xj=function(t){var r,o,a,c;for(a=0,o=new tn(oa(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),me(t)===me((c=r.c,ae(c,89)?l(c,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,c,f;for(f=oa(this.a).i,c=we(Ri,Rt,1,f,5,1),o=0,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),c[o++]=(a=t.c,ae(a,89)?l(a,29):(_t(),Ml));return c},h.Ej=function(t){var r,o,a,c,f,p,m;for(m=oa(this.a).i,t.length<m&&(c=y6(rc(t).c,m),t=c),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,c;for(c=new Xp,c.a+="[",t=oa(this.a),r=0,a=oa(this.a).i;r<a;)Vo(c,y3((o=l(oe(t,r),88).c,ae(o,89)?l(o,29):(_t(),Ml)))),++r<a&&(c.a+=ja);return c.a+="]",c.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 Dcn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(Gt,"EClassImpl/8",1152),_(1153,2041,lx,nZe),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,cqe),h.$i=function(t){return we(Dd,Rt,146,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/9",1154),_(1141,47,lwe,VZe),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 Dt(),!!(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:cV(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(),iDt},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=Z0t(mc(this)),!t.dc()))for(o=t.Jc();o.Ob();)r=In(o.Pb()),RC(this,r)&&kgn(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=(Dt(),L1):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=L_(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){bht(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},WZe),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 Dt(),!!(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,c,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=(c=this.Db>>16,c>=0?PY(this,o):this.Cb.Qh(this,-1-c,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,c;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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Z1)),r),69),c.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:cV(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},lZe),h.ve=function(){return this.zb},h.xh=function(t){return dbt(this,t)},h.Ih=function(t,r,o){var a,c;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 c=this.c,c??this.zb;case 5:return this.Db>>16==5?l(this.Cb,682):null}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,c,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=(c=this.Db>>16,c>=0?dbt(this,o):this.Cb.Qh(this,-1-c,null,o))),Sc(this,t,5,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,c;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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Lg)),r),69),c.uk().yk(this,Ha(this),r-ln((_t(),Lg)),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(),Lg)),Nt((r=l(Vt(this,16),29),r||Lg),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:gK(this,l(r,15).a);return;case 3:w0t(this,l(r,2018));return;case 4:mK(this,In(r));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;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:gK(this,0);return;case 3:w0t(this,null);return;case 4:mK(this,null);return}Jc(this,t-ln((_t(),Lg)),Nt((r=l(Vt(this,16),29),r||Lg),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 gCn=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?NY(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,c;switch(r){case 0:return Jpt(this,null,o);case 1:return!this.d&&(this.d=new yi(Go,this,1)),_o(this.d,t,o);case 3:return Ypt(this,null,o)}return c=l(Nt((a=l(Vt(this,16),29),a||(_t(),dw)),r),69),c.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:Ibt(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:Ibt(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){pit(this,t,r)},h.Uk=function(t,r){return pit(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 aZe(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=$Y(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,c,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),Mo(),l(t,69).vk()){for(r=l(f,164),a=0,c=r.gc();a<c;++a)if(Ust(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,c,f,p;if(c=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),Mo(),l(t,69).vk())for(r=l(p,164),a=0,f=r.gc();a<f;++a)Ust(r.Rl(a))&&r.Sl(a)!=null&&++c;else t.Hk()?c+=l(p,18).gc():p!=null&&++c}return c},h.tl=function(){return!0};var $re;k(Fr,"EContentsEList",485),_(1158,485,YF,Qrt),h.ql=function(){return new eit(this.a,this.b)},h.rl=function(){return new tit(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,c,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?!Imt(this,this.p):!v0t(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=(Mo(),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?Imt(this,this.p):v0t(this))return c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(c,76),t.Jk(),o=t.kd(),this.i=o):(o=c,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 c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(c,76),t.Jk(),o=t.kd(),this.i=o):(o=c,this.i=o),this.g=3,!0}},h.Sb=function(){var t,r,o,a,c,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?!Rmt(this,this.p):!Umt(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=(Mo(),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?Rmt(this,this.p):Umt(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(c,76),t.Jk(),o=t.kd(),this.i=o):(o=c,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 c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(c,76),t.Jk(),o=t.kd(),this.i=o):(o=c,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,tit),h.tl=function(){return!1},k(Gt,"ENamedElementImpl/1/1",1159),_(1160,289,JF,eit),h.tl=function(){return!1},k(Gt,"ENamedElementImpl/1/2",1160),_(40,152,qL,sy,UW,Pi,tK,cp,Vl,Kpe,Uut,Ype,Hut,hpe,zut,Zpe,Gut,ppe,qut,Jpe,Vut,N3,a6,EW,Xpe,Wut,gpe,Kut),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},nq),h.xh=function(t){return hbt(this,t)},h.Ih=function(t,r,o){var a,c,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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),f=this.t,f>1||f==-1;case 7:return Dt(),c=this.s,c>=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(),Dg)),Nt((a=l(Vt(this,16),29),a||Dg),t),r,o)},h.Ph=function(t,r,o){var a,c,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=(c=this.Db>>16,c>=0?hbt(this,o):this.Cb.Qh(this,-1-c,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(),Dg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Dg)),t,o)},h.Rh=function(t,r,o){var a,c;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return aW(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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),Dg)),r),69),c.uk().yk(this,Ha(this),r-ln((_t(),Dg)),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&&xY(this.b));case 14:return!!this.b&&xY(this.b)}return zc(this,t-ln((_t(),Dg)),Nt((r=l(Vt(this,16),29),r||Dg),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(),Dg)),Nt((o=l(Vt(this,16),29),o||Dg),t),r)},h.fi=function(){return _t(),Dg},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(),Dg)),Nt((r=l(Vt(this,16),29),r||Dg),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){xnn(this,t,l(r,146))},h.pj=function(t){ptn(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 z1n(this,t,l(r,146))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,c){return null},h.qj=function(){return new rZe(this)},h.rj=function(){vn(Fu(this.a))},h.sj=function(t){return fgt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!fgt(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(me(r.Pb())!==me(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,c;for(o=1,r=new tn(Fu(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(c=t.c,c||(_t(),bf)),o=31*o+(a?Rr(a):0);return o},h.xj=function(t){var r,o,a,c;for(a=0,o=new tn(Fu(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),me(t)===me((c=r.c,c||(_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,c,f;for(f=Fu(this.a).i,c=we(Ri,Rt,1,f,5,1),o=0,r=new tn(Fu(this.a));r.e!=r.i.gc();)t=l(rn(r),88),c[o++]=(a=t.c,a||(_t(),bf));return c},h.Ej=function(t){var r,o,a,c,f,p,m;for(m=Fu(this.a).i,t.length<m&&(c=y6(rc(t).c,m),t=c),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,c;for(c=new Xp,c.a+="[",t=Fu(this.a),r=0,a=Fu(this.a).i;r<a;)Vo(c,y3((o=l(oe(t,r),88).c,o||(_t(),bf)))),++r<a&&(c.a+=ja);return c.a+="]",c.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 Fcn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(Gt,"EOperationImpl/1",503),_(1342,2041,lx,rZe),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,rst),h.Ri=function(t,r){var o,a;return o=l(uC(this,t,r),88),Ju(this.e)&&DA(this,new a6(this.a,7,(_t(),aDt),Re(r),(a=o.c,a||bf),t)),o},h.Sj=function(t,r){return cgn(this,l(t,88),r)},h.Tj=function(t,r){return lgn(this,l(t,88),r)},h.Uj=function(t,r,o){return nbn(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,c){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 xY(this)},h.Ek=function(){vn(this)},k(Gt,"EOperationImpl/2",1343),_(496,1,{2016:1,496:1},bnt),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,{},fZt),k(Gt,"EPackageImpl/3",1255),_(728,44,LE,$ce),h._b=function(t){return zi(t)?TW(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},rq),h.xh=function(t){return pbt(this,t)},h.Ih=function(t,r,o){var a,c,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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),f=this.t,f>1||f==-1;case 7:return Dt(),c=this.s,c>=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,c,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=(c=this.Db>>16,c>=0?pbt(this,o):this.Cb.Qh(this,-1-c,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,c;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return aW(this,o);case 10:return Sc(this,null,10,o)}return c=l(Nt((a=l(Vt(this,16),29),a||(_t(),yv)),r),69),c.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,c,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 Dt(),!!(this.Bb&256);case 3:return Dt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Dt(),p=this.t,p>1||p==-1;case 7:return Dt(),c=this.s,c>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Dt(),!!(this.Bb&Tl);case 11:return Dt(),!!(this.Bb&yp);case 12:return Dt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Dt(),!!(this.Bb&yu);case 16:return Dt(),!!(this.Bb&$f);case 17:return ny(this);case 18:return Dt(),!!(this.Bb&Ws);case 19:return Dt(),f=Po(this),!!(f&&f.Bb&Ws);case 20:return Dt(),!!(this.Bb&Co);case 21:return r?Po(this):this.b;case 22:return r?jge(this):glt(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,c;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 c=this.t,c>1||c==-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=Po(this),!!a&&(a.Bb&Ws)!=0;case 20:return(this.Bb&Co)==0;case 21:return!!this.b;case 22:return!!glt(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:LW(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:D_(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:Pun(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:D_(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 Po(this)},h.Zk=function(){var t;return t=Po(this),!!t&&(t.Bb&Ws)!=0},h.$k=function(){return(this.Bb&Ws)!=0},h._k=function(){return(this.Bb&Co)!=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&Co)!=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},lqe),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){Won(this,In(t))},h.ld=function(t){return Pon(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(),Oo)),Nt((a=l(Vt(this,16),29),a||Oo),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(),Oo)),Nt((r=l(Vt(this,16),29),r||Oo),t))},h.$h=function(t,r){var o;switch(t){case 0:Kon(this,In(r));return;case 1:age(this,In(r));return}Xc(this,t-ln((_t(),Oo)),Nt((o=l(Vt(this,16),29),o||Oo),t),r)},h.fi=function(){return _t(),Oo},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(),Oo)),Nt((r=l(Vt(this,16),29),r||Oo),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),hDt=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 khn(this,t,this.a,r,o)},h.yl=function(t,r,o){return Nhn(this,t,this.a,r,o)},k(Gt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",784),_(1316,1,{},mnt),h.wk=function(t,r,o,a,c){var f;return f=l(p_(t,this.b),222),f.Wl(this.a).Dk(a)},h.xk=function(t,r,o,a,c){var f;return f=l(p_(t,this.b),222),f.Nl(this.a,a,c)},h.yk=function(t,r,o,a,c){var f;return f=l(p_(t,this.b),222),f.Ol(this.a,a,c)},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 c;c=l(p_(t,this.b),222),c.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,Db,og,Bb),h.wk=function(t,r,o,a,c){var f;if(f=r.ii(o),f==null&&r.ji(o,f=Q7(this,t)),!c)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,c){var f,p;return p=r.ii(o),p==null&&r.ji(o,p=Q7(this,t)),f=l(p,72).Uk(a,c),f},h.yk=function(t,r,o,a,c){var f;return f=r.ii(o),f!=null&&(c=l(f,72).Vk(a,c)),c},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 c;c=l(r.ii(o),78),!c&&r.ji(o,c=Q7(this,t)),c.Wb(a)},h.Bk=function(t,r,o){var a,c;return c=r.ii(o),c==null&&r.ji(o,c=Q7(this,t)),ae(c,78)?l(c,78):(a=l(r.ii(o),16),new oZe(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,c){throw Y(new Nn)},h.yk=function(t,r,o,a,c){throw Y(new Nn)},h.Bk=function(t,r,o){return new mat(this,t,r,o)};var Dh;k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",502),_(1333,1,vQ,mat),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,c){return EJ(t,t.Mh(),t.Ch())==this.b?this._k()&&a?cJ(t):t.Mh():null},h.xk=function(t,r,o,a,c){var f,p;return t.Mh()&&(c=(f=t.Ch(),f>=0?t.xh(c):t.Mh().Qh(t,-1-f,null,c))),p=Ur(t.Ah(),this.e),t.zh(a,p,c)},h.yk=function(t,r,o,a,c){var f;return f=Ur(t.Ah(),this.e),t.zh(null,f,c)},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 c,f,p,m,y;if(a!=null&&!_J(this.a,a))throw Y(new MA(ZF+(ae(a,57)?Abe(l(a,57).Ah()):Gpe(rc(a)))+QF+this.a+"'"));if(c=t.Mh(),p=Ur(t.Ah(),this.e),me(a)!==me(c)||t.Ch()!=p&&a!=null){if(z_(t,l(a,57)))throw Y(new jt(oI+t.Ib()));y=null,c&&(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,c,f,p;a=t.Mh(),a?(p=(c=t.Ch(),c>=0?t.xh(null):t.Mh().Qh(t,-1-c,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,{},uot),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1317),_(567,502,{}),h.wk=function(t,r,o,a,c){var f;return f=r.ii(o),f==null?this.b:me(f)===me(Dh)?null:f},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null&&(me(a)===me(Dh)||!pr(a,this.b))},h.Ak=function(t,r,o,a){var c,f;t.sh()&&t.th()?(c=(f=r.ii(o),f==null?this.b:me(f)===me(Dh)?null:f),a==null?this.c!=null?(r.ji(o,null),a=this.b):this.b!=null?r.ji(o,Dh):r.ji(o,null):(this.zl(a),r.ji(o,a)),hr(t,this.d.Al(t,1,this.e,c,a))):a==null?this.c!=null?r.ji(o,null):this.b!=null?r.ji(o,Dh):r.ji(o,null):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,c;t.sh()&&t.th()?(a=(c=r.ii(o),c==null?this.b:me(c)===me(Dh)?null:c),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 gZe)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",567),_(HE,1,{},dqe),h.Al=function(t,r,o,a,c){return new N3(t,r,o,a,c)},h.Bl=function(t,r,o,a,c,f){return new EW(t,r,o,a,c,f)};var R3e,O3e,L3e,D3e,M3e,P3e,j3e,Bre,F3e;k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",HE),_(1334,HE,{},fqe),h.Al=function(t,r,o,a,c){return new gpe(t,r,o,Ye(Ke(a)),Ye(Ke(c)))},h.Bl=function(t,r,o,a,c,f){return new Kut(t,r,o,Ye(Ke(a)),Ye(Ke(c)),f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1334),_(1335,HE,{},hqe),h.Al=function(t,r,o,a,c){return new Kpe(t,r,o,l(a,224).a,l(c,224).a)},h.Bl=function(t,r,o,a,c,f){return new Uut(t,r,o,l(a,224).a,l(c,224).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1335),_(1336,HE,{},pqe),h.Al=function(t,r,o,a,c){return new Ype(t,r,o,l(a,183).a,l(c,183).a)},h.Bl=function(t,r,o,a,c,f){return new Hut(t,r,o,l(a,183).a,l(c,183).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1336),_(1337,HE,{},gqe),h.Al=function(t,r,o,a,c){return new hpe(t,r,o,ue(le(a)),ue(le(c)))},h.Bl=function(t,r,o,a,c,f){return new zut(t,r,o,ue(le(a)),ue(le(c)),f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1337),_(1338,HE,{},bqe),h.Al=function(t,r,o,a,c){return new Zpe(t,r,o,l(a,165).a,l(c,165).a)},h.Bl=function(t,r,o,a,c,f){return new Gut(t,r,o,l(a,165).a,l(c,165).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1338),_(1339,HE,{},mqe),h.Al=function(t,r,o,a,c){return new ppe(t,r,o,l(a,15).a,l(c,15).a)},h.Bl=function(t,r,o,a,c,f){return new qut(t,r,o,l(a,15).a,l(c,15).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1339),_(1340,HE,{},wqe),h.Al=function(t,r,o,a,c){return new Jpe(t,r,o,l(a,192).a,l(c,192).a)},h.Bl=function(t,r,o,a,c,f){return new Vut(t,r,o,l(a,192).a,l(c,192).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1340),_(1341,HE,{},yqe),h.Al=function(t,r,o,a,c){return new Xpe(t,r,o,l(a,193).a,l(c,193).a)},h.Bl=function(t,r,o,a,c,f){return new Wut(t,r,o,l(a,193).a,l(c,193).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1341),_(1319,567,{},Eat),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,{},ist),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 c,f;t.sh()&&t.th()?(c=!0,f=r.ii(o),f==null?(c=!1,f=this.b):me(f)===me(Dh)&&(f=null),a==null?this.c!=null?(r.ji(o,null),a=this.b):r.ji(o,Dh):(this.zl(a),r.ji(o,a)),hr(t,this.d.Bl(t,1,this.e,f,a,!c))):a==null?this.c!=null?r.ji(o,null):r.ji(o,Dh):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,c;t.sh()&&t.th()?(a=!0,c=r.ii(o),c==null?(a=!1,c=this.b):me(c)===me(Dh)&&(c=null),r.ki(o),hr(t,this.d.Bl(t,2,this.e,c,this.b,a))):r.ki(o)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",778),_(1321,778,{},Sat),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,{},ost),h.zl=function(t){},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1322),_(407,502,{},cP),h.wk=function(t,r,o,a,c){var f,p,m,y,v;if(v=r.ii(o),this.rk()&&me(v)===me(Dh))return null;if(this._k()&&a&&v!=null){if(m=l(v,52),m.Sh()&&(y=w1(t,m),m!=y)){if(!_J(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,c){var f,p;return p=r.ii(o),me(p)===me(Dh)&&(p=null),r.ji(o,a),this.Kj()?me(p)!==me(a)&&p!=null&&(f=l(p,52),c=f.Qh(t,Ur(f.Ah(),this.b),null,c)):this.$k()&&p!=null&&(c=l(p,52).Qh(t,-1-Ur(t.Ah(),this.e),null,c)),t.sh()&&t.th()&&(!c&&(c=new Qg(4)),c.lj(new N3(t,1,this.e,p,a))),c},h.yk=function(t,r,o,a,c){var f;return f=r.ii(o),me(f)===me(Dh)&&(f=null),r.ki(o),t.sh()&&t.th()&&(!c&&(c=new Qg(4)),this.rk()?c.lj(new N3(t,2,this.e,f,null)):c.lj(new N3(t,1,this.e,f,null))),c},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null},h.Ak=function(t,r,o,a){var c,f,p,m,y;if(a!=null&&!_J(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()&&me(y)===me(Dh)&&(y=null),p=null,this.Kj()?me(y)!==me(a)&&(y!=null&&(c=l(y,52),p=c.Qh(t,Ur(c.Ah(),this.b),null,p)),a!=null&&(c=l(a,52),p=c.Oh(t,Ur(c.Ah(),this.b),null,p))):this.$k()&&me(y)!==me(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,Dh):r.ji(o,a),t.sh()&&t.th()?(f=new EW(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,c,f,p,m;m=r.ii(o),p=m!=null,this.rk()&&me(m)===me(Dh)&&(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()?(c=new EW(t,this.rk()?2:1,this.e,m,null,p),f?(f.lj(c),f.mj()):hr(t,c)):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,{},SV),h.$k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",568),_(1325,568,{},nit),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,{},rit),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1327),_(645,568,{},jV),h.Kj=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",645),_(1326,645,{},cot),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,{},lot),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,{},oit),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,{},dot),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1330),_(1323,407,{},iit),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,{},fot),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 _dn(this,t,this.b,o)},h.yl=function(t,r,o){return xdn(this,t,this.b,o)},k(Gt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",783),_(1331,1,vQ,oZe),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,Uct),h.vl=function(t){return new kV((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,kV),h.vl=function(t){return new kV(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},MG),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,c;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 c=l(Nt((a=l(Vt(this,16),29),a||(_t(),fw)),r),69),c.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 vwn(this,l(t,88),r)},h.Mj=function(t,r){return Ewn(this,l(t,88),r)},k(Gt,"ETypeParameterImpl/1",450),_(644,44,LE,iq),h.ec=function(){return new N9(this)},k(Gt,"ETypeParameterImpl/2",644),_(564,tf,wu,N9),h.Ec=function(t){return $it(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 Lw(this.a).a),new C9(t)},h.Kc=function(t){return Clt(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(){Udt(this.a)},k(Gt,"ETypeParameterImpl/2/1/1",565),_(1293,44,LE,KZe),h._b=function(t){return zi(t)?TW(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?(Tq(),gDt):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},vqe),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 Mfn(r);case 27:return Jdn(r);case 28:return Xdn(r);case 29:return r==null?null:art(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(Lx+t.ve()+W0))}},h.pi=function(t){var r,o,a,c,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 tq,o;case 1:return r=new Hue,r;case 2:return a=new Wue,a;case 4:return c=new I9,c;case 5:return f=new WZe,f;case 6:return p=new lZe,p;case 7:return m=new Vue,m;case 10:return v=new y9,v;case 11:return T=new nq,T;case 12:return N=new Lat,N;case 13:return M=new rq,M;case 14:return U=new Hde,U;case 17:return z=new lqe,z;case 18:return y=new Ym,y;case 19:return J=new MG,J;default:throw Y(new jt(iQ+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:D1n(r);case 26:case 24:return r==null?null:p6(Ec(r,-128,127)<<24>>24);case 25:return PEn(r);case 27:return wmn(r);case 28:return ymn(r);case 29:return Bwn(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:L_(Ec(r,e$,32767)<<16>>16);case 50:return r;default:throw Y(new jt(Lx+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},eat),h.gb=!1,h.hb=!1;var $3e,pDt=!1;k(Gt,"EcorePackageImpl",552),_(1211,1,{843:1},Eqe),h.Ik=function(){return Mrt(),bDt},k(Gt,"EcorePackageImpl/1",1211),_(1220,1,tr,Sqe),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,Tqe),h.dk=function(t){return ae(t,199)},h.ek=function(t){return we(Rre,Rt,199,t,0,1)},k(Gt,"EcorePackageImpl/11",1221),_(1222,1,tr,Aqe),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,_qe),h.dk=function(t){return ae(t,408)},h.ek=function(t){return we(Ll,CEe,62,t,0,1)},k(Gt,"EcorePackageImpl/13",1223),_(1224,1,tr,xqe),h.dk=function(t){return ae(t,244)},h.ek=function(t){return we(Ld,Rt,244,t,0,1)},k(Gt,"EcorePackageImpl/14",1224),_(1225,1,tr,kqe),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,Nqe),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,Cqe),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,Iqe),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,Rqe),h.dk=function(t){return ae(t,553)},h.ek=function(t){return we(zs,PAt,553,t,0,1)},k(Gt,"EcorePackageImpl/19",1229),_(1212,1,tr,Oqe),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,Lqe),h.dk=function(t){return ae(t,251)},h.ek=function(t){return we(Go,QAt,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,Mqe),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,Pqe),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,jqe),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,Fqe),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,$qe),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,Bqe),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,Uqe),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,Hqe),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,zqe),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,Gqe),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,qqe),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,Vqe),h.dk=function(t){return ae(t,76)},h.ek=function(t){return we(TU,u_t,76,t,0,1)},k(Gt,"EcorePackageImpl/32",1242),_(1243,1,tr,Wqe),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,Kqe),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,Yqe),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,Jqe),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,Xqe),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,Zqe),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,Qqe),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,eVe),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,tVe),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,nVe),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,rVe),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,iVe),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,oVe),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,sVe),h.dk=function(t){return ae(t,146)},h.ek=function(t){return we(Dd,Rt,146,t,0,1)},k(Gt,"EcorePackageImpl/5",1215),_(1216,1,tr,aVe),h.dk=function(t){return ae(t,160)},h.ek=function(t){return we(jre,Rt,160,t,0,1)},k(Gt,"EcorePackageImpl/6",1216),_(1217,1,tr,uVe),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,cVe),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,lVe),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,MAt,wQe),h.Ki=function(t,r){hgn(this,l(r,420))},h.Oi=function(t,r){$mt(this,t,l(r,420))},k(Gt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1030),_(1031,152,qL,zst),h.hj=function(){return this.a.a},k(Gt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1031),_(1058,1057,{},Znt),k("org.eclipse.emf.ecore.plugin","EcorePlugin",1058);var B3e=Hr(c_t,"Resource");_(793,1502,l_t),h.Fl=function(t){},h.Gl=function(t){},h.Cl=function(){return!this.a&&(this.a=new YG(this)),this.a},h.Dl=function(t){var r,o,a,c,f;if(a=t.length,a>0)if(Yt(0,t.length),t.charCodeAt(0)==47){for(f=new La(4),c=1,r=1;r<a;++r)Yt(r,t.length),t.charCodeAt(r)==47&&(Fe(f,c==r?"":(io(c,r,t.length),t.substr(c,r-c))),c=r+1);return Fe(f,(Yt(c,t.length+1),t.substr(c))),f0n(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 kvn(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(EQ,"ResourceImpl",793),_(1503,793,l_t,sZe),k(EQ,"BinaryResourceImpl",1503),_(1171,704,gQ),h._i=function(t){return ae(t,57)?Yan(this,l(t,57)):ae(t,595)?new tn(l(t,595).Cl()):me(t)===me(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,gQ,wst),h._i=function(t){return me(t)===me(this.f)?l(t,16).Jc():new Act(l(t,57))},k(EQ,"ResourceImpl/5",1504),_(654,2071,ZAt,YG),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):ZW(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(EQ,"ResourceImpl/ContentsEList",654),_(962,2041,lx,aZe),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,{},kot);var AU,_U;k(Fr,"BasicExtendedMetaData",632),_(1162,1,{},wnt),h.Hl=function(){return null},h.Il=function(){return this.a==-2&&OZt(this,Lwn(this.d,this.b)),this.a},h.Jl=function(){return null},h.Kl=function(){return At(),At(),Io},h.ve=function(){return this.c==jx&&LZt(this,r1t(this.d,this.b)),this.c},h.Ll=function(){return 0},h.a=-2,h.c=jx,k(Fr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1162),_(1163,1,{},Jut),h.Hl=function(){return this.a==(h_(),AU)&&PZt(this,ETn(this.f,this.b)),this.a},h.Il=function(){return 0},h.Jl=function(){return this.c==(h_(),AU)&&DZt(this,STn(this.f,this.b)),this.c},h.Kl=function(){return!this.d&&FZt(this,o_n(this.f,this.b)),this.d},h.ve=function(){return this.e==jx&&BZt(this,r1t(this.f,this.b)),this.e},h.Ll=function(){return this.g==-2&&HZt(this,Q0n(this.f,this.b)),this.g},h.e=jx,h.g=-2,k(Fr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1163),_(1161,1,{},vnt),h.b=!1,h.c=!1,k(Fr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1161),_(1164,1,{},Xut),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){H2n(this,t,l(r,76))},h.Ec=function(t){return o2n(this,l(t,76))},h.Fi=function(t){Xsn(this,l(t,76))},h.Lj=function(t,r){return prn(this,l(t,76),r)},h.Mj=function(t,r){return ffe(this,l(t,76),r)},h.Ri=function(t,r){return fAn(this,t,r)},h.Ui=function(t,r){return nkn(this,t,l(r,76))},h.fd=function(t,r){return kSn(this,t,l(r,76))},h.Sj=function(t,r){return grn(this,l(t,76),r)},h.Tj=function(t,r){return Vit(this,l(t,76),r)},h.Uj=function(t,r,o){return z0n(this,l(t,76),l(r,76),o)},h.Xi=function(t,r){return qY(this,t,l(r,76))},h.Ml=function(t,r){return f0e(this,t,r)},h.ad=function(t,r){var o,a,c,f,p,m,y,v,T;for(v=new w0(r.gc()),c=r.Jc();c.Ob();)if(a=l(c.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,c,f,p,m,y,v;for(y=new w0(t.gc()),a=t.Jc();a.Ob();)if(o=l(a.Pb(),76),c=o.Jk(),wp(this.e,c))(!c.Qi()||!HP(this,c,o.kd())&&!q_(y,o))&&Tn(y,o);else{for(v=za(this.e.Ah(),c),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,xJ(this,this.i,t)},h.Nl=function(t,r,o){return i0e(this,t,r,o)},h.Vk=function(t,r){return aL(this,t,r)},h.Ol=function(t,r,o){return L0e(this,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lL(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(hDt,u_t,345,t,0,1)},h.nl=function(t){return TV(this,t)},h.Wb=function(t){VO(this,t)},h.Vl=function(t,r){K7(this,t,r)},h.Wl=function(t){return iht(this,t)},h.Xl=function(t){H1t(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{Pwt(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 HK(this)},h.Sb=function(){return Ppt(this)},h.Pb=function(){return a7(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(Ppt(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{Amt(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{lvt(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,sV),h.sl=function(){return!0},k(Fr,"BasicFeatureMap/ResolvingFeatureEIterator",673),_(960,485,YF,drt),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,frt),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,vrt),h.Qi=function(){return!0},k(Fr,"EDataTypeUniqueEList",1937),_(1938,832,ws,wrt),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,mrt),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,Lit),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,yrt),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectResolvingEList/Unsettable",1842),_(1505,1,{},dVe);var gDt;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,NV),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,Mit),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,Pit),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?Oct(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,DA(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,Oat),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){Fht(this.b)},h.Ni=function(t,r,o){var a;++(a=this.b,l(r,138),a).e},h.Oi=function(t,r){QK(this.b,l(r,138))},h.Pi=function(t,r,o){QK(this.b,l(o,138)),me(o)===me(r)&&l(o,138).zi(vtn(l(r,138).jd())),c7(this.b,l(r,138))},k(Fr,"EcoreEMap/DelegateEObjectContainmentEList",758),_(1197,145,NEe,Kft),k(Fr,"EcoreEMap/Unsettable",1197),_(1198,758,ws,jit),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,LE,Fst),h.a=!1,h.b=!1,k(Fr,"EcoreUtil/Copier",1170),_(754,1,Wi,Act),h.Nb=function(t){so(this,t)},h.Ob=function(){return jgt(this)},h.Pb=function(){var t;return jgt(this),t=this.b,this.b=null,t},h.Qb=function(){this.a.Qb()},k(Fr,"EcoreUtil/ProperContentIterator",754),_(1506,1505,{},fKe);var bDt;k(Fr,"EcoreValidator",1506);var mDt;Hr(Fr,"FeatureMapUtil/Validator"),_(1270,1,{2020:1},fVe),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?kTn(this,t)?(vlt(this.a,t,(Dt(),Bx)),!0):(vlt(this.a,t,(Dt(),L1)),!1):r==(Dt(),Bx))},h.e=!1;var Ure;k(Fr,"FeatureMapUtil/BasicValidator",767),_(768,44,LE,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){Pwt(this.c,this.b,t,r)},h.Ec=function(t){return f0e(this.c,this.b,t)},h.ad=function(t,r){return K_n(this.c,this.b,t,r)},h.Fc=function(t){return m3(this,t)},h.Ei=function(t,r){Efn(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 Knt(this.c,this.b)},h.Hi=function(){return rtn(this.c,this.b)},h.Ii=function(t){return kdn(this.c,this.b,t)},h.Vk=function(t,r){return yit(this,t,r)},h.$b=function(){iS(this)},h.Gc=function(t){return HP(this.c,this.b,t)},h.Hc=function(t){return _hn(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 jln(this.c,this.b,t)},h.dc=function(){return x8(this)},h.Oj=function(){return!F6(this.c,this.b)},h.Jc=function(){return afn(this.c,this.b)},h.cd=function(){return ufn(this.c,this.b)},h.dd=function(t){return Cgn(this.c,this.b,t)},h.Ri=function(t,r){return evt(this.c,this.b,t,r)},h.Si=function(t,r){Cdn(this.c,this.b,t,r)},h.ed=function(t){return Amt(this.c,this.b,t)},h.Kc=function(t){return XTn(this.c,this.b,t)},h.fd=function(t,r){return lvt(this.c,this.b,t,r)},h.Wb=function(t){N7(this.c,this.b),m3(this,l(t,16))},h.gc=function(){return Ign(this.c,this.b)},h.Nc=function(){return Pcn(this.c,this.b)},h.Oc=function(t){return Fln(this.c,this.b,t)},h.Ib=function(){var t,r;for(r=new Xp,r.a+="[",t=Knt(this.c,this.b);HK(t);)Vo(r,y3(a7(t))),HK(t)&&(r.a+=ja);return r.a+="]",r.a},h.Ek=function(){N7(this.c,this.b)},k(Fr,"FeatureMapUtil/FeatureEList",499),_(641,40,qL,HW),h.fj=function(t){return sC(this,t)},h.kj=function(t){var r,o,a,c,f,p,m;switch(this.d){case 1:case 2:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=t.ej(),c){case 3:{if(f=t.hj(),me(f)===me(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(c=t.ej(),c){case 3:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return o=l(this.g,18),o.Ec(t.gj()),!0;break}}break}case 4:{switch(c=t.ej(),c){case 3:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.d=1,this.g=t.gj(),!0;break}case 4:{if(f=t.hj(),me(f)===me(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(c=t.ej(),c){case 4:{if(f=t.hj(),me(f)===me(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 L0e(this.c,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lL(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 iht(this.c,t)},h.Xl=function(t){H1t(this.c,t)},k(Fr,"FeatureMapUtil/FeatureFeatureMap",560),_(1269,1,vQ,ynt),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,Hre,zre,XT,wDt,d5=Hr(i$,"AnyType");_(677,63,vp,dq),k(i$,"InvalidDatatypeValueException",677);var xU=Hr(i$,f_t),f5=Hr(i$,h_t),q3e=Hr(i$,p_t),yDt,Ks,V3e,km,vDt,EDt,SDt,TDt,ADt,_Dt,xDt,kDt,NDt,CDt,IDt,y2,RDt,v2,M4,ODt,hw,h5,p5,LDt,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)),aL(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)),aL(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},AVe),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:qZt(this,In(r));return;case 1:WZt(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},YZe),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(lL(this.c,(Tr(),M4),!0));case 4:return cfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lL(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(lL(this.c,(Tr(),M4),!0))!=null;case 4:return cfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lL(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:VZt(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},JZe),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(),Oo),zs,this,1)),this.b):(!this.b&&(this.b=new pu((_t(),Oo),zs,this,1)),s6(this.b));case 2:return o?(!this.c&&(this.c=new pu((_t(),Oo),zs,this,2)),this.c):(!this.c&&(this.c=new pu((_t(),Oo),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)),aL(this.a,t,o);case 1:return!this.b&&(this.b=new pu((_t(),Oo),zs,this,1)),q8(this.b,t,o);case 2:return!this.c&&(this.c=new pu((_t(),Oo),zs,this,2)),q8(this.c,t,o);case 5:return!this.a&&(this.a=new ni(this,0)),yit(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(),Oo),zs,this,1)),Cj(this.b,r);return;case 2:!this.c&&(this.c=new pu((_t(),Oo),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(),Oo),zs,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new pu((_t(),Oo),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},hVe),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 Rnn(l(r,198));case 12:case 47:case 49:case 11:return Xvt(this,t,r);case 13:return r==null?null:exn(l(r,249));case 15:case 14:return r==null?null:Hsn(ue(le(r)));case 17:return Rbt((Tr(),r));case 18:return Rbt(r);case 21:case 20:return r==null?null:zsn(l(r,165).a);case 27:return Onn(l(r,198));case 30:return z1t((Tr(),l(r,16)));case 31:return z1t(l(r,16));case 40:return Inn((Tr(),r));case 42:return Obt((Tr(),r));case 43:return Obt(r);case 59:case 48:return Cnn((Tr(),r));default:throw Y(new jt(Lx+t.ve()+W0))}},h.pi=function(t){var r,o,a,c,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 AVe,a;case 2:return c=new YZe,c;case 3:return f=new JZe,f;default:throw Y(new jt(iQ+t.zb+W0))}},h.qi=function(t,r){var o,a,c,f,p,m,y,v,T,N,O,M,U,z,J,re;switch(t.fk()){case 5:case 52:case 4:return r;case 6:return cbn(r);case 8:case 7:return r==null?null:Y0n(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((c=Ta(r,!0),c.length>0&&(Yt(0,c.length),c.charCodeAt(0)==43)?(Yt(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return In(P0(this,(Tr(),SDt),r));case 12:return In(P0(this,(Tr(),TDt),r));case 13:return r==null?null:new ale(Ta(r,!0));case 15:case 14:return u2n(r);case 16:return In(P0(this,(Tr(),ADt),r));case 17:return qgt((Tr(),r));case 18:return qgt(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 w2n(r);case 22:return In(P0(this,(Tr(),_Dt),r));case 23:return In(P0(this,(Tr(),xDt),r));case 24:return In(P0(this,(Tr(),kDt),r));case 25:return In(P0(this,(Tr(),NDt),r));case 26:return In(P0(this,(Tr(),CDt),r));case 27:return Q1n(r);case 30:return Vgt((Tr(),r));case 31:return Vgt(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 Jbn((Tr(),r));case 42:return Wgt((Tr(),r));case 43:return Wgt(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(),IDt),r));case 59:case 48:return Ybn((Tr(),r));case 49:return In(P0(this,(Tr(),RDt),r));case 50:return r==null?null:L_(Ec((re=Ta(r,!0),re.length>0&&(Yt(0,re.length),re.charCodeAt(0)==43)?(Yt(1,re.length+1),re.substr(1)):re),e$,32767)<<16>>16);case 51:return r==null?null:L_(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(),ODt),r));case 55:return r==null?null:L_(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:L_(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(Lx+t.ve()+W0))}};var DDt,W3e,MDt,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},oat),h.N=!1,h.O=!1;var PDt=!1;k(Si,"XMLTypePackageImpl",589),_(1940,1,{843:1},pVe),h.Ik=function(){return T0e(),qDt},k(Si,"XMLTypePackageImpl/1",1940),_(1949,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/10",1949),_(1950,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/11",1950),_(1951,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/12",1951),_(1952,1,tr,wVe),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,yVe),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,vVe),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,EVe),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,SVe),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,TVe),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,_Ve),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,xVe),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,kVe),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,NVe),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,CVe),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,IVe),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,RVe),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,OVe),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,LVe),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,MVe),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,PVe),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,jVe),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,FVe),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,$Ve),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,BVe),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,UVe),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,HVe),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,zVe),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,GVe),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,qVe),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,VVe),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,WVe),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,KVe),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,YVe),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,JVe),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,XVe),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,ZVe),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,QVe),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,eWe),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,tWe),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,nWe),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,rWe),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,iWe),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,oWe),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,sWe),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,aWe),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,uWe),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,cWe),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,lWe),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,dWe),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,fWe),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,Dn),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,c;if(this.c!=10)throw Y(new Dn(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 Dn(jn((Cn(),Sg))));if(this.a==123){c=0,o=0;do{if(dr(this),this.c!=0)throw Y(new Dn(jn((Cn(),Sg))));if((c=Xb(this.a))<0)break;if(o>o*16)throw Y(new Dn(jn((Cn(),_At))));o=o*16+c}while(!0);if(this.a!=125)throw Y(new Dn(jn((Cn(),xAt))));if(o>Fx)throw Y(new Dn(jn((Cn(),kAt))));t=o}else{if(c=0,this.c!=0||(c=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(o=c,dr(this),this.c!=0||(c=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));o=o*16+c,t=o}break;case 117:if(a=0,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(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 Dn(jn((Cn(),Sg))));if(r=a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,r>Fx)throw Y(new Dn(jn((Cn(),"parser.descappe.4"))));t=r;break;case 65:case 90:case 122:throw Y(new Dn(jn((Cn(),NAt))))}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,N_t+r.toString(16))))}return o},h.cm=function(t){var r,o,a,c,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)),c=!0;(O=this.c)!=1&&!(O==0&&this.a==93&&!c);){if(c=!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 Dn(jn((Cn(),mQ))));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 Dn(jn((Cn(),SEe))));if(m=!0,co(this.i,this.d)==94&&(++this.d,m=!1),f=yl(this.i,this.d,p),y=ldt(f,m,(this.e&512)==512),!y)throw Y(new Dn(jn((Cn(),vAt))));if(Ny(T,y),a=!0,p+1>=this.j||co(this.i,p+1)!=93)throw Y(new Dn(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 Dn(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 Dn(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 Dn(jn((Cn(),SAt))));if(r=this.cm(!1),a==4)Ny(o,r);else if(t==45)$C(o,r);else if(t==38)Wvt(o,r);else throw Y(new Es("ASSERT"))}else throw Y(new Dn(jn((Cn(),TAt))));return dr(this),o},h.em=function(){var t,r;return t=this.a-48,r=(fr(),fr(),new xW(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(),$Dt},h.gm=function(){return dr(this),fr(),FDt},h.hm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.im=function(){throw Y(new Dn(jn((Cn(),tl))))},h.jm=function(){return dr(this),Apn()},h.km=function(){return dr(this),fr(),UDt},h.lm=function(){return dr(this),fr(),zDt},h.mm=function(){var t;if(this.d>=this.j||((t=co(this.i,this.d++))&65504)!=64)throw Y(new Dn(jn((Cn(),mAt))));return dr(this),fr(),fr(),new dh(0,t-64)},h.nm=function(){return dr(this),e_n()},h.om=function(){return dr(this),fr(),GDt},h.pm=function(){var t;return t=(fr(),fr(),new dh(0,105)),dr(this),t},h.qm=function(){return dr(this),fr(),HDt},h.rm=function(){return dr(this),fr(),BDt},h.sm=function(t,r){return this.am()},h.tm=function(){return dr(this),fr(),Z3e},h.um=function(){var t,r,o,a,c;if(this.d+1>=this.j)throw Y(new Dn(jn((Cn(),pAt))));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 Dn(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 Dn(jn((Cn(),cm))));break;default:throw Y(new Dn(jn((Cn(),gAt))))}if(dr(this),c=N0(this),o=null,c.e==2){if(c.Nm()!=2)throw Y(new Dn(jn((Cn(),bAt))));o=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw Y(new Dn(jn((Cn(),cm))));return dr(this),fr(),fr(),new oft(a,r,c,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 Dn(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 Dn(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 Dn(jn((Cn(),cm))));return dr(this),t},h.zm=function(){var t,r,o,a,c;for(t=0,o=0,r=-1;this.d<this.j&&(r=co(this.i,this.d),c=Sme(r),c!=0);)t|=c,++this.d;if(this.d>=this.j)throw Y(new Dn(jn((Cn(),vEe))));if(r==45){for(++this.d;this.d<this.j&&(r=co(this.i,this.d),c=Sme(r),c!=0);)o|=c,++this.d;if(this.d>=this.j)throw Y(new Dn(jn((Cn(),vEe))))}if(r==58){if(++this.d,dr(this),a=Ost(N0(this),t,o),this.c!=7)throw Y(new Dn(jn((Cn(),cm))));dr(this)}else if(r==41)++this.d,dr(this),a=Ost(N0(this),t,o);else throw Y(new Dn(jn((Cn(),hAt))));return a},h.Am=function(){var t;if(dr(this),t=wP(21,N0(this)),this.c!=7)throw Y(new Dn(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 Dn(jn((Cn(),cm))));return dr(this),t},h.Cm=function(){var t,r;if(dr(this),t=this.f++,r=eW(N0(this),t),this.c!=7)throw Y(new Dn(jn((Cn(),cm))));return dr(this),r},h.Dm=function(){var t;if(dr(this),t=eW(N0(this),0),this.c!=7)throw Y(new Dn(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,{},XZe),h._l=function(t){return!1},h.am=function(){return e0e(this)},h.bm=function(t){return tx(t)},h.cm=function(t){return UEt(this)},h.dm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.em=function(){throw Y(new Dn(jn((Cn(),tl))))},h.fm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.gm=function(){throw Y(new Dn(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 Dn(jn((Cn(),tl))))},h.km=function(){throw Y(new Dn(jn((Cn(),tl))))},h.lm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.mm=function(){return dr(this),tx(99)},h.nm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.om=function(){throw Y(new Dn(jn((Cn(),tl))))},h.pm=function(){return dr(this),tx(105)},h.qm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.rm=function(){throw Y(new Dn(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 Dn(jn((Cn(),tl))))},h.vm=function(){return dr(this),fr(),fr(),new dh(0,36)},h.wm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.xm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.ym=function(){throw Y(new Dn(jn((Cn(),tl))))},h.zm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Am=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Bm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Cm=function(){var t;if(dr(this),t=eW(N0(this),0),this.c!=7)throw Y(new Dn(jn((Cn(),cm))));return dr(this),t},h.Dm=function(){throw Y(new Dn(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,jDt,J3e,vv=null,NU,Gre=null,X3e,B4,qre=null,Z3e,Q3e,eCe,tCe,nCe,FDt,ZT,$Dt,BDt,UDt,HDt,kk,zDt,GDt,bCn=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,cL(this.b[r])):(Vo(a,cL(this.b[r])),a.a+="-",Vo(a,cL(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,cL(this.b[r])):(Vo(a,cL(this.b[r])),a.a+="-",Vo(a,cL(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},pet),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="\\"+xV(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>=Co?(o=(r=this.a>>>0,"0"+r.toString(16)),a="\\v"+yl(o,o.length-6,o.length)):a=""+xV(this.a&Ei)}break;case 8:this==Z3e||this==Q3e?a=""+xV(this.a&Ei):a="\\"+xV(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,oft),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,Out),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},xW),h.Km=function(){return this.b},h.Om=function(t){return this.e==12?"\\"+this.a:VEn(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,c,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?c=r.Om(t)+"+":o.e==9&&o.Jm(0)==r?c=r.Om(t)+"+?":c=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));c=f.a}return c}if(this.a.a.c.length==2&&l(d0(this.a,1),122).e==7)c=l(d0(this.a,0),122).Om(t)+"?";else if(this.a.a.c.length==2&&l(d0(this.a,0),122).e==7)c=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));c=f.a}return c},k(Tg,"RegEx/Token/UnionToken",469),_(518,1,{596:1},sO),h.Ib=function(){return this.a.b},k(O_t,"XMLTypeUtil/PatternMatcherImpl",518),_(1690,1505,{},hWe);var qDt;k(O_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,pWe),h.Rb=function(t){l(t,15),btn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return sen()},h.Ub=function(){return aen()},h.Wb=function(t){l(t,15),wtn()},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(M_t))},k(UEe,"ExclusiveRange/1",1065),_(261,1,vh,s1),h.Rb=function(t){l(t,15),mtn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return Wpn(this)},h.Ub=function(){return Vdn(this)},h.Wb=function(t){l(t,15),ytn()},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(M_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"),mCn=Hr("org.eclipse.elk.core.labels","ILabelManager"),rCe=Hr(xo,"DiagnosticChain"),iCe=Hr(c_t,"ResourceSet"),oCe=k(xo,"InvocationTargetException",null),VDt=(F9(),adn),WDt=WDt=D0n;Wfn(aQt),ohn("permProps",[[["locale","default"],[P_t,"gecko1_8"]],[["locale","default"],[P_t,"safari"]]]),WDt(null,"elk",null)}).call(this)}).call(this,typeof C5<"u"?C5:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(s,u,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&&D($,j)}function D($,j){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,G){return P.__proto__=G,P},D($,j)}var L=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 ne=s("web-worker");G.workerFactory=function(he){return new ne(he)}}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(he){return new ie(he)}}return E(this,j,[G])}return R(j,$),b(j)}(L);Object.defineProperty(u.exports,"__esModule",{value:!0}),u.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(s,u,d){var g=typeof Worker<"u"?Worker:void 0;u.exports=g},{}]},{},[3])(3)})})(eKt);var HZn=eKt.exports;const zZn=TR(HZn),GZn=new zZn;async function qZn(n,i){try{const s=n.map(b=>({id:b.id,width:WZn(b.type),height:KZn(b.type)})),u=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:u},g=await GZn.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 VZn(n)}}function VZn(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 WZn(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 KZn(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 YZn(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 tKt={hours:60*60*1e3,minutes:60*1e3,seconds:1e3,milliseconds:1};function HLe(n){return typeof n=="number"&&Number.isFinite(n)}function JZn(n){const i=n.trim(),s=/^\{\{\s*([\s\S]*?)\s*\}\}$/.exec(i);return s?s[1].trim():i}function XZn(n){if(HLe(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):`(${JZn(i)})`}function ZZn(n){const i=Object.entries(tKt).flatMap(([w,E])=>{const S=XZn(n[w]);return S?E===1?[S]:[`(${S}) * ${E}`]:[]}),s=i.length>0?i.join(" + "):"0",u=`(${s}) // 3600000`,d=`((${s}) % 3600000) // 60000`,g=`((${s}) % 60000) // 1000`,b=`(${s}) % 1000`;return Object.hasOwn(n,"milliseconds")?`{{ '%02d:%02d:%02d.%03d' | format(${u}, ${d}, ${g}, ${b}) }}`:`{{ '%02d:%02d:%02d' | format(${u}, ${d}, ${g}) }}`}function QZn(n){if(typeof n=="string")return n;if(HLe(n))return String(n);if(typeof n!="object"||n===null)return"";const i=n,s={};let u=!1;for(const d of Object.keys(tKt)){const g=i[d];if(g!==void 0){if(HLe(g)){s[d]=g;continue}if(typeof g=="string"&&g.trim()!==""){const b=Number(g.trim());Number.isFinite(b)?s[d]=b:u=!0;continue}u=!0}}return u?ZZn(i):s}function eQn(n){return typeof n=="object"&&n!==null&&("wait_template"in n||"wait_for_trigger"in n)}function tQn(n){return typeof n=="object"&&n!==null&&"choose"in n}function nQn(n){return typeof n=="object"&&n!==null&&"parallel"in n&&Array.isArray(n.parallel)}function rQn(n){return typeof n=="object"&&n!==null&&"if"in n&&Array.isArray(n.if)&&"then"in n&&Array.isArray(n.then)}function iQn(n){return typeof n=="object"&&n!==null&&(typeof n.service=="string"||typeof n.action=="string")}function oQn(n){return typeof n=="object"&&n!==null&&"condition"in n&&typeof n.condition=="string"}function sQn(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 aQn(n){return typeof n=="object"&&n!==null&&"set_conversation_response"in n}function uQn(n){return typeof n=="object"&&n!==null&&"stop"in n}function cQn(n){return typeof n=="object"&&n!==null&&"repeat"in n&&typeof n.repeat=="object"&&n.repeat!==null}function lQn(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 zLe(n){return n.map(i=>dQn(i))}function dQn(n){const{condition:i,conditions:s,...u}=n,d=i||"template",g=k5.includes(d)?d:"template",b=Array.isArray(s)?zLe(s):void 0;return{...u,condition:g,conditions:b}}class fQn{async parse(i){const s=[];try{let u=OZn(i);if(Array.isArray(u)){if(u.length===0)return{success:!1,errors:["Empty automation array"],warnings:s,hadMetadata:!1};u=u[0]}if(!u||typeof u!="object")return{success:!1,errors:["Invalid YAML structure"],warnings:s,hadMetadata:!1};const d=this.extractMetadata(u),g=d!==null,b=this.extractUserVariables(u),w=u;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 qZn(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},D=D8t.safeParse(R),L=D.success?D.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)||BZn(),name:typeof w.alias=="string"?w.alias:"Imported Automation",description:typeof w.description=="string"?w.description:"",nodes:C,edges:A,metadata:L,version:1,userVariables:Object.keys(b).length>0?b:void 0,userTriggerVariables:B&&Object.keys(B).length>0?B:void 0},j=zVt.safeParse($);if(!j.success){const G=j.error.issues.map(ee=>{let ne="";if(ee.path&&ee.path.length>0&&ee.path[0]==="nodes"&&typeof ee.path[1]=="number"){const Q=ee.path[1],ie=$.nodes[Q];ne=`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}${ne?`
${ne}`:""}`});return console.error("Zod validation error details:",G),{success:!1,errors:G,warnings:s,hadMetadata:g}}const P=GVt(j.data);return P.valid?{success:!0,graph:j.data,warnings:s,hadMetadata:g}:{success:!1,errors:P.errors,warnings:s,hadMetadata:g}}catch(u){return console.error("YAML parsing error:",u),console.error("YAML string:",i),{success:!1,errors:[u instanceof Error?u.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 u=s._cafe_metadata,d=HVt.safeParse(u);if(d.success)return d.data}}catch{}return null}extractUserVariables(i){const s={};if(typeof i.variables=="object"&&i.variables!==null){const u=i.variables;for(const[d,g]of Object.entries(u))d!=="_cafe_metadata"&&(s[d]=g)}return s}detectStateMachineFormat(i){const s=i.actions||i.action;if(!Array.isArray(s))return!1;let u=!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&&(u=!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 u&&d}parseStateMachineStructure(i,s,u){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 G of b){const ee=G;if(ee.variables){const ne=ee.variables;typeof ne.current_node=="string"&&ne.current_node!=="END"&&(w=ne.current_node)}if(ee.repeat){const Q=ee.repeat.sequence;if(Array.isArray(Q))for(const ie of Q){const he=ie;if(Array.isArray(he.choose))for(const ge of he.choose){const ce=this.parseStateMachineChooseBlock(ge);ce&&E.set(ce.nodeId,ce)}}}}const S=/^__parallel_(trigger_\d+|cond_.+__(?:true|false))$/,x=new Map;for(const[G,ee]of E){if(!S.test(G))continue;const ne=this.parseInlineParallelBranches(ee.parallelItems??[],E);ne.length>0&&x.set(G,ne),E.delete(G)}const A=this.resolveParallelFanOuts(E),C=new Set(E.keys()),R=u.filter(G=>!C.has(G));let D=0,L=0;const B=G=>D<R.length?R[D++]:$Ft(G,L++),$=i.triggers||i.trigger;if(!$)return s.push("No triggers found in automation"),{nodes:d,edges:g};const j=Array.isArray($)?$:[$],P=this.parseTriggers(j,s,B);d.push(...P);for(const[G,ee]of E)switch(ee.nodeType){case"condition":d.push({id:G,type:"condition",position:{x:0,y:0},data:ee.data});break;case"action":d.push({id:G,type:"action",position:{x:0,y:0},data:ee.data});break;case"delay":d.push({id:G,type:"delay",position:{x:0,y:0},data:ee.data});break;case"wait":d.push({id:G,type:"wait",position:{x:0,y:0},data:ee.data});break;case"set_variables":d.push({id:G,type:"set_variables",position:{x:0,y:0},data:ee.data});break}if(w){const G=this.parseEntryNodeTemplate(w);if(G&&G.size>0)for(let ee=0;ee<P.length;ee++){const ne=G.get(ee);if(ne){const Q=x.get(ne);if(Q)for(const ie of Q)g.push(this.createEdge(P[ee].id,ie));else g.push(this.createEdge(P[ee].id,ne))}}else{const ee=x.get(w);for(const ne of P)if(ee)for(const Q of ee)g.push(this.createEdge(ne.id,Q));else g.push(this.createEdge(ne.id,w))}}for(const[G,ee]of E)g.push(...this.buildTransitionEdges(G,ee,x,A));return{nodes:d,edges:g}}buildTransitionEdges(i,s,u,d){const g=[],b=(w,E)=>{for(const S of u.get(w)??[w])g.push({id:`edge-${i}-${S}`,source:i,target:S,sourceHandle:E})};if(s.trueTarget&&s.trueTarget!=="END"){const w=s.nodeType==="condition"||s.falseTarget;b(s.trueTarget,w?"true":void 0)}s.falseTarget&&s.falseTarget!=="END"&&b(s.falseTarget,"false");for(const w of d.get(i)??[])g.push(this.createEdge(i,w));return g}parseEntryNodeTemplate(i){if(!i.includes("{%")||!i.includes("trigger.idx"))return null;const s=new Map,u=/{%\s*(?:if|elif)\s+trigger\.idx\s*==\s*["'](\d+)["']\s*%}\s*([^{%]+?)(?={%|$)/g,d=i.matchAll(u);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}resolveParallelFanOuts(i){const s=new Map,u=new Set;let d=!0;for(;d;){d=!1;for(const[g,b]of[...i]){if(!b.parallelItems||b.parallelItems.length===0||u.has(g))continue;u.add(g),d=!0;const w=this.parseInlineParallelBranches(b.parallelItems,i);w.length>0&&s.set(g,w)}}return s}parseInlineParallelBranches(i,s){const u=[];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];u.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&&u.push(R[1])}}}return u}parseInlineActionList(i,s,u,d){let g=null;for(let b=0;b<i.length;b++){const w=i[b];if(Array.isArray(w.parallel)&&w.alias===void 0){const x=g?u.get(g):void 0;x&&(x.parallelItems=w.parallel);continue}const{nodeId:E}=this.extractCafeNodeId(w.alias),S=b===0?s:E??d(this.inferInlineNodeType(w));if(g){const x=u.get(g);x&&x.nodeType!=="condition"&&(x.trueTarget=S)}this.parseInlineActionItem(w,S,u,d),g=S}}parseInlineActionItem(i,s,u,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:L}=this.extractCafeNodeId(R[0].alias),B=L??d(this.inferInlineNodeType(R[0]));A=B,this.parseInlineActionList(R,B,u,d)}const D=i.else;if(D&&D.length>0){const{nodeId:L}=this.extractCafeNodeId(D[0].alias),B=L??d(this.inferInlineNodeType(D[0]));C=B,this.parseInlineActionList(D,B,u,d)}u.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),u.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),u.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),u.set(s,{nodeId:s,nodeType:"wait",data:E,trueTarget:null,falseTarget:null})}else if(i.variables!==void 0){const E={variables:i.variables};w&&(E.alias=w),i.id&&(E.id=i.id),u.set(s,{nodeId:s,nodeType:"set_variables",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":i.variables!==void 0?"set_variables":"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 D=R;if(D.variables){const L=D.variables;if(!("current_node"in L&&Object.keys(L).every(j=>j==="current_node"||j==="flow_context"))){E="set_variables",S.variables=L,D.alias&&(S.alias=D.alias),D.id&&(S.id=D.id);continue}const $=L.current_node;if(typeof $=="string")if($.includes("{%")&&$.includes("%}")){E="condition";const j=$.match(/{%\s*if[^%]*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/),P=$.match(/{%\s*else\s*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/);x=j?j[1]:null,A=P?P[1]:null;const G=$.match(/{%\s*if\s+(.+?)\s*%}/);if(G){const ee=G[1];Object.assign(S,this.parseJinjaCondition(ee))}}else x=$==="END"?null:$}else D.delay!==void 0?(E="delay",S.delay=D.delay,D.alias&&(S.alias=D.alias)):D.wait_template!==void 0?(E="wait",S.wait_template=D.wait_template,D.timeout&&(S.timeout=D.timeout),D.continue_on_timeout!==void 0&&(S.continue_on_timeout=D.continue_on_timeout),D.alias&&(S.alias=D.alias)):Array.isArray(D.parallel)?C=D.parallel:(D.service||D.action)&&(E="action",S.service=D.service||D.action,D.target&&(S.target=D.target),D.data&&(S.data=D.data),D.alias&&(S.alias=D.alias))}return{nodeId:b,nodeType:E,data:S,trueTarget:x,falseTarget:A,parallelItems:C}}parseJinjaCondition(i){const s=this.stripOuterParens(i.trim()),u=this.splitTopLevelJinja(s," or ");if(u.length>1)return{condition:"or",conditions:u.map(S=>this.parseJinjaCondition(S))};const d=this.splitTopLevelJinja(s," and ");if(d.length>1)return{condition:"and",conditions:d.map(S=>this.parseJinjaCondition(S))};const g=s.match(/^not\s*\((.*)\)$/s);if(g)return{condition:"not",conditions:this.splitTopLevelJinja(g[1].trim()," and ").map(x=>this.parseJinjaCondition(x))};const b=s.match(/^is_state\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)$/);if(b){const S=b[1],x=b[2];if(S==="sun.sun"){if(x==="above_horizon")return{condition:"sun",after:"sunrise",before:"sunset"};if(x==="below_horizon")return{condition:"sun",after:"sunset",before:"sunrise"}}return{condition:"state",entity_id:S,state:x}}const w=s.match(/^state_attr\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)\s*==\s*['"]([^'"]*)['"]$/);if(w)return{condition:"state",entity_id:w[1],attribute:w[2],state:w[3]};const E=s.match(/^states\s*\(\s*['"]([^'"]+)['"]\s*\)\s*\|\s*float\s*([<>=]+)\s*(\d+(?:\.\d+)?)$/);if(E){const S=E[1],x=E[2],A=parseFloat(E[3]),C={condition:"numeric_state",entity_id:S};return x.includes(">")&&(C.above=A),x.includes("<")&&(C.below=A),C}return{condition:"template",value_template:`{{ ${s} }}`}}stripOuterParens(i){let s=i.trim();for(;s.startsWith("(")&&s.endsWith(")");){let u=0,d=!0;for(let g=0;g<s.length;g++)if(s[g]==="(")u++;else if(s[g]===")"&&(u--,u===0&&g!==s.length-1)){d=!1;break}if(!d)break;s=s.slice(1,-1).trim()}return s}splitTopLevelJinja(i,s){const u=[];let d=0,g=null,b="",w=0;for(;w<i.length;){const E=i[w];if(g){b+=E,E===g&&i[w-1]!=="\\"&&(g=null),w++;continue}if(E==="'"||E==='"'){g=E,b+=E,w++;continue}if(E==="("){d++,b+=E,w++;continue}if(E===")"){d--,b+=E,w++;continue}if(d===0&&i.slice(w,w+s.length)===s){u.push(b.trim()),b="",w+=s.length;continue}b+=E,w++}return u.push(b.trim()),u}parseAutomationStructure(i,s,u){var ie;const d=[],g=[],b=new Set,w=["set_variables","trigger","condition","action","delay","wait"],E=new Map,S=new Set;for(const he of u){const ge=w.find(ce=>he.startsWith(`${ce}_`));ge&&(E.has(ge)||E.set(ge,[]),E.get(ge).push(he))}const x=new Map;let A=0,C=u.length;const R=he=>{const ge=E.get(he),ce=x.get(he)??0;if(ge&&ce<ge.length){const fe=ge[ce];return x.set(he,ce+1),S.add(fe),fe}for(;A<u.length;){const fe=u[A++];if(!S.has(fe))return S.add(fe),fe}return $Ft(he,C++)},D=i.triggers||i.trigger;if(!D)return s.push("No triggers found in automation"),{nodes:d,edges:g};const L=Array.isArray(D)?D:[D],B=this.parseTriggers(L,s,R);d.push(...B);const $=new Map;for(let he=0;he<B.length;he++){const ge=(ie=L[he])==null?void 0:ie.id;typeof ge=="string"&&$.set(B[he].id,ge)}let j=[];const P=i.conditions||i.condition,G=Array.isArray(P)?P:P?[P]:[];if(G.length>0){const he=this.parseConditions(G,s,R);d.push(...he.nodes),g.push(...he.edges);for(const ce of he.nodes)b.add(ce.id);const ge=he.nodes;if(ge.length===1){for(const ce of B)g.push(this.createEdge(ce.id,ge[0].id));j=[ge[0].id]}else{for(const ce of B)g.push(this.createEdge(ce.id,ge[0].id));for(let ce=0;ce<ge.length-1;ce++)g.push(this.createEdge(ge[ce].id,ge[ce+1].id,"true"));j=[ge[ge.length-1].id]}}else j=B.map(he=>he.id);const ee=i.actions||i.action;if(!ee)return s.push("No actions found in automation"),{nodes:d,edges:g};const ne=Array.isArray(ee)?ee:[ee],Q=this.parseActions(ne,{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,u){return i.filter(d=>typeof d=="object"&&d!==null).map((d,g)=>{const b=u("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 u=typeof s=="object"&&s!==null?s:{};let d,g={};if(typeof u.trigger=="string"){d=u.trigger;const{platform:b,trigger:w,...E}=u;g=E}else if(typeof u.platform=="string"){d=u.platform;const{platform:b,...w}=u;g=w}else{const b=Object.keys(u).find(w=>!["alias","id","enabled","variables"].includes(w));b&&typeof u[b]=="object"&&u[b]!==null?(d=b,g=u[b]):d="state"}return{id:i,type:"trigger",position:{x:0,y:0},data:{trigger:d,...g}}}parseConditions(i,s,u){const d=[],g=[],b=[];return i.filter(TVn).forEach((w,E)=>{const S=u("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:u,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,D=B=>E===!1?!1:B,L=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"){u.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}}),L(j),A=[j];return}if(oQn(B)){const j=g("condition"),P=B,G=P.condition||"template",ee=k5.includes(G)?G:"template";let ne;try{ne=Ug.parse(P)}catch(ie){u.push(`Inline condition at index ${$} failed schema validation: ${ie instanceof Error?ie.message:JSON.stringify(ie)}`),ne={condition:ee,alias:typeof P.alias=="string"?P.alias:void 0,value_template:JSON.stringify(P)}}ne.enabled=D(ne.enabled);const Q={id:j,type:"condition",position:{x:0,y:0},data:ne};S.push(Q),L(j),C.add(j),A=[j]}else if(sQn(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:D(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),L(j),A=[j]}else if(YZn(B)){const j=g("delay"),P=B,{alias:G,delay:ee,enabled:ne,...Q}=P,ie={id:j,type:"delay",position:{x:0,y:0},data:{...Q,alias:typeof G=="string"?G:void 0,delay:QZn(ee),enabled:D(typeof ne=="boolean"?ne:void 0)}};S.push(ie),L(j),A=[j]}else if(eQn(B)){const j=g("wait"),P=B,{alias:G,wait_template:ee,wait_for_trigger:ne,timeout:Q,continue_on_timeout:ie,enabled:he,...ge}=P;let ce;(typeof Q=="string"||typeof Q=="object"&&Q!==null)&&(ce=Q);const fe={...ge,alias:typeof G=="string"?G:void 0,timeout:ce,continue_on_timeout:typeof ie=="boolean"?ie:void 0,enabled:D(typeof he=="boolean"?he:void 0)};if(typeof ee=="string")fe.wait_template=ee;else if(Array.isArray(ne)){const pe=[];for(const Oe of ne){const Se=gN.safeParse(Oe);Se.success?pe.push(Se.data):u.push(`Failed to parse a trigger inside wait_for_trigger: ${Se.error.message}`)}fe.wait_for_trigger=pe}const K={id:j,type:"wait",position:{x:0,y:0},data:fe};S.push(K),L(j),A=[j]}else if(tQn(B)){const j=this.parseChooseBlock(B,{warnings:u,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(rQn(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,ne={if:P,then:G,else:ee,alias:typeof j.alias=="string"?j.alias:void 0,enabled:j.enabled},Q=this.parseIfBlock(ne,{warnings:u,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 he=Q.nodes.find(ge=>ge.id===ie);(he==null?void 0:he.type)==="condition"&&(Q.falsePathOutputIds.includes(ie)?R.add(ie):C.add(ie))}Q.unconsumedPreviousIds.length>0?A=Q.unconsumedPreviousIds:A=Q.outputNodeIds}else if(bMe(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 ne={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:D(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(ne),L(j),A=[j]}else if(nQn(B)){const P=B.parallel,G=[...A],ee=[];for(const ne of P)if(Array.isArray(ne)){const Q=this.parseActions(ne,{warnings:u,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(ge=>ge.source)),he=Q.nodes.filter(ge=>!ie.has(ge.id));ee.push(...he.map(ge=>ge.id))}}else if(typeof ne=="object"&&ne!==null){const Q=ne;if("sequence"in Q&&Array.isArray(Q.sequence)){const ie=this.parseActions(Q.sequence,{warnings:u,previousNodeIds:G,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ie.nodes.length>0){S.push(...ie.nodes),x.push(...ie.edges);const he=new Set(ie.edges.map(ce=>ce.source)),ge=ie.nodes.filter(ce=>!he.has(ce.id));ee.push(...ge.map(ce=>ce.id))}}else{const ie=this.parseActions([ne],{warnings:u,previousNodeIds:G,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ie.nodes.length>0){S.push(...ie.nodes),x.push(...ie.edges);const he=ie.nodes[ie.nodes.length-1];ee.push(he.id)}}}A=ee.length>0?ee:G}else if(lQn(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:D(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),L(j),A=[j]}else if(cQn(B)){const j=B,P=j.repeat,G=Array.isArray(P.sequence)?P.sequence:[],ee=typeof j.alias=="string"?j.alias:void 0,ne=D(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 De;try{De=Ug.parse(Q[Oe])}catch{De={condition:"template",value_template:JSON.stringify(Q[Oe])}}Oe===0&&ee&&(De.alias=ee),De.enabled=ne;const Ae={id:Se,type:"condition",position:{x:0,y:0},data:De};ie.push(Ae),S.push(Ae),C.add(Se)}L(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 he=ie[ie.length-1].id,ge=this.parseActions(G,{warnings:u,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});if(S.push(...ge.nodes),x.push(...ge.edges),ge.nodes.length>0){const Oe=ge.nodes[0].id,Se=x.find(De=>De.source===he&&De.target===Oe);Se&&(Se.sourceHandle="true")}const ce=new Set(ge.nodes.map(Oe=>Oe.id)),fe=new Set(ge.edges.map(Oe=>Oe.source)),K=ge.nodes.filter(Oe=>!fe.has(Oe.id)||![...ge.edges].some(Se=>Se.source===Oe.id&&ce.has(Se.target))),pe=K.length>0?K[K.length-1].id:ge.nodes.length>0?ge.nodes[ge.nodes.length-1].id:he;if(ge.nodes.length>0){const Oe=this.createEdge(pe,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:u,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});S.push(...Q.nodes),x.push(...Q.edges);const ie=Q.nodes.length>0?Q.nodes[0].id:null,he=new Set(Q.nodes.map(Se=>Se.id)),ge=new Set(Q.edges.filter(Se=>he.has(Se.target)).map(Se=>Se.source)),ce=Q.nodes.filter(Se=>!ge.has(Se.id)||!Q.edges.some(De=>De.source===Se.id&&he.has(De.target))),fe=ce.length>0?ce[ce.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,pe=[];for(let Se=0;Se<K.length;Se++){const De=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=ne;const xe={id:De,type:"condition",position:{x:0,y:0},data:Ae};pe.push(xe),S.push(xe),C.add(De)}if(fe){const De=Q.nodes.find(Ae=>Ae.id===fe)&&C.has(fe)?"true":void 0;x.push(this.createEdge(fe,pe[0].id,De))}else L(pe[0].id);for(let Se=0;Se<pe.length-1;Se++)x.push(this.createEdge(pe[Se].id,pe[Se+1].id,"true"));const Oe=pe[pe.length-1].id;if(ie){const Se=this.createEdge(pe[0].id,ie,"false");x.push(Se)}A=[Oe]}else if(P.count!==void 0){const Q=P.count,ie=g("set_variables"),he=`_repeat_counter_${ie.replace(/[^a-zA-Z0-9_]/g,"_")}`,ge={id:ie,type:"set_variables",position:{x:0,y:0},data:{alias:ee,variables:{[he]:0},enabled:ne}};S.push(ge),L(ie);const ce=this.parseActions(G,{warnings:u,previousNodeIds:[ie],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});S.push(...ce.nodes),x.push(...ce.edges);const fe=new Set(ce.nodes.map(Ue=>Ue.id)),K=new Set(ce.edges.filter(Ue=>fe.has(Ue.target)).map(Ue=>Ue.source)),pe=ce.nodes.filter(Ue=>!K.has(Ue.id)||!ce.edges.some(bt=>bt.source===Ue.id&&fe.has(bt.target))),Oe=pe.length>0?pe[pe.length-1].id:ce.nodes.length>0?ce.nodes[ce.nodes.length-1].id:ie,Se=g("set_variables"),De={id:Se,type:"set_variables",position:{x:0,y:0},data:{variables:{[he]:`{{ ${he} + 1 }}`},enabled:ne}};if(S.push(De),ce.nodes.length>0){const bt=ce.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:`{{ ${he} < ${Q} }}`,enabled:ne}};S.push(xe),C.add(Ae),x.push(this.createEdge(Se,Ae));const We=ce.nodes.length>0?ce.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:ne}};S.push(ie),L(Q),A=[Q]}}else if(iQn(B)){const j=g("action");try{const P=B,{alias:G,service:ee,action:ne,target:Q,data:ie,data_template:he,response_variable:ge,continue_on_error:ce,enabled:fe,...K}=P,pe={id:j,type:"action",position:{x:0,y:0},data:{...K,alias:typeof G=="string"?G:void 0,service:typeof ee=="string"?ee:typeof ne=="string"?ne:void 0,target:typeof Q=="object"&&Q!==null?Q:void 0,data:typeof ie=="object"&&ie!==null?ie:void 0,data_template:typeof he=="object"&&he!==null?he:void 0,response_variable:typeof ge=="string"?ge:void 0,continue_on_error:typeof ce=="boolean"?ce:void 0,enabled:D(typeof fe=="boolean"?fe:void 0)}};S.push(pe),L(j),A=[j]}catch(P){u.push(`Failed to parse action ${$}: ${P}`),S.push(this.createUnknownNode(j,B))}}else if(aQn(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:D(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),L(j),A=[j]}else if(uQn(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:D(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),L(j),A=[j]}else{u.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}}),L(j),A=[j]}}),{nodes:S,edges:x,terminalNodeIds:A}}parseChooseBlock(i,s){const{warnings:u,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,inheritedEnabled:E}=s,S=[],x=[],A=[],C=[],R=new Set(b),D=i.enabled,L=E===!1||D===!1?!1:void 0,B=()=>L,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 ne=Array.isArray(G.conditions)?G.conditions:[G.conditions],Q=[];for(let ge=0;ge<ne.length;ge++){const ce=ne[ge],fe=g("condition");let K;if(ce&&Array.isArray(ce.conditions)){const pe=ce.condition||"and",Oe=k5.includes(pe)?pe:"template";K={id:fe,type:"condition",position:{x:0,y:0},data:{alias:ge===0?G.alias:void 0,condition:Oe,conditions:zLe(ce.conditions),id:ce.id,enabled:B()}}}else{const pe=(ce==null?void 0:ce.condition)||"template",Oe=k5.includes(pe)?pe:"template",Se={...ce,alias:ge===0?G.alias??(ce==null?void 0:ce.alias):ce==null?void 0:ce.alias,condition:Oe,enabled:B()};let De;try{De=Ug.parse(Se)}catch{De={alias:ge===0?G.alias:void 0,condition:"template",value_template:JSON.stringify(ce),enabled:B()}}K={id:fe,type:"condition",position:{x:0,y:0},data:De}}Q.push(K),S.push(K),R.add(fe)}if(Q.length===0)return;const ie=Q[0].id,he=Q[Q.length-1].id;for(const ge of P){let ce;ee>0&&R.has(ge)&&!b.has(ge)||w.has(ge)?ce="false":b.has(ge)&&(ce="true"),x.push(this.createEdge(ge,ie,ce))}for(let ge=0;ge<Q.length-1;ge++)x.push(this.createEdge(Q[ge].id,Q[ge+1].id,"true"));if(G.sequence){const ge=Array.isArray(G.sequence)?G.sequence:[G.sequence],ce=this.parseActions(ge,{warnings:u,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:L});if(S.push(...ce.nodes),x.push(...ce.edges),ce.nodes.length>0){const fe=ce.nodes[0].id,K=x.find(Oe=>Oe.source===he&&Oe.target===fe);K&&(K.sourceHandle="true");const pe=ce.nodes[ce.nodes.length-1].id;A.push(pe)}else A.push(he)}else A.push(he);P=[ie]}),i.default){const G=Array.isArray(i.default)?i.default:[i.default],ee=this.parseActions(G,{warnings:u,previousNodeIds:P,getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:L});if(S.push(...ee.nodes),x.push(...ee.edges),P.length>0&&ee.nodes.length>0){const ne=P[0],Q=ee.nodes[0].id,ie=x.find(ge=>ge.source===ne&&ge.target===Q);ie&&R.has(ne)&&(ie.sourceHandle="false");const he=ee.nodes[ee.nodes.length-1].id;A.push(he)}}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:u,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,triggerNodeMap:E,inheritedEnabled:S}=s,x=[],A=[],C=[],R=[],D=new Set(b),L=S===!1||i.enabled===!1?!1:void 0,B=()=>L,$=Array.isArray(i.if)?i.if:[i.if],j=[];for(let Q=0;Q<$.length;Q++){const ie=$[Q],he=g("condition");let ge;if(ie&&Array.isArray(ie.conditions)){const ce=ie.condition||"and",fe=k5.includes(ce)?ce:"template";ge={id:he,type:"condition",position:{x:0,y:0},data:{alias:Q===0?i.alias:void 0,condition:fe,conditions:zLe(ie.conditions),enabled:B()}}}else{const ce=(ie==null?void 0:ie.condition)||"numeric_state",fe=k5.includes(ce)?ce:"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 pe;try{pe=Ug.parse(K)}catch{pe={alias:Q===0?i.alias:void 0,condition:"template",value_template:JSON.stringify(ie),enabled:B()}}ge={id:he,type:"condition",position:{x:0,y:0},data:pe}}j.push(ge),x.push(ge),D.add(he)}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(he=>typeof he=="string")?ie:null})();for(const Q of d){if(G!==null&&E){const he=E.get(Q);if(he!==void 0&&!G.includes(he))continue}let ie;w.has(Q)?ie="false":D.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:u,previousNodeIds:[ee],getNextNodeId:g,conditionNodeIds:D,inheritedEnabled:L});if(x.push(...ie.nodes),A.push(...ie.edges),ie.nodes.length>0){const he=ie.nodes[0].id,ge=A.find(ce=>ce.source===ee&&ce.target===he);ge&&(ge.sourceHandle="true")}C.push(...ie.terminalNodeIds)}if(i.else){const Q=Array.isArray(i.else)?i.else:[i.else],ie=this.parseActions(Q,{warnings:u,previousNodeIds:[P],getNextNodeId:g,conditionNodeIds:new Set,inheritedEnabled:L});if(x.push(...ie.nodes),ie.nodes.length>0){const he=ie.nodes[0].id,ge=ie.edges.findIndex(ce=>ce.source===P&&ce.target===he);ge>=0&&ie.edges.splice(ge,1),A.push(this.createEdge(P,he,"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 ne=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:ne}}createUnknownNode(i,s){const u=s;return{id:i,type:"action",position:{x:0,y:0},data:{alias:`Unknown: ${(u==null?void 0:u.service)||(u==null?void 0:u.trigger)||"Node"}`,service:(u==null?void 0:u.service)||"unknown.unknown",data:u}}}applyMetadataPositions(i,s){return i.map(u=>({...u,position:s.nodes[u.id]||u.position}))}createEdge(i,s,u){return{id:UZn(i,s),source:i,target:s,sourceHandle:u||void 0}}}class nKt{findEntryNodes(i){const s=new Set(i.edges.map(u=>u.target));return i.nodes.filter(u=>!s.has(u.id)).map(u=>u.id)}getOutgoingEdges(i,s){return i.edges.filter(u=>u.source===s)}getIncomingEdges(i,s){return i.edges.filter(u=>u.target===s)}getNode(i,s){return i.nodes.find(u=>u.id===s)}}class hQn extends nKt{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,u){var D,L,B,$,j;const d=[];this.backEdgeIds=CWt(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=u.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)),ne=this.buildSequenceFromNode(s,P.convergenceNode,ee);C=[{if:[{condition:"or",conditions:G}],then:ne,else:P.isFromFalsePaths?[]:[]}]}else E.every(ee=>{var Q;const ne=s.nodes.find(ie=>ie.id===ee);return(ne==null?void 0:ne.type)==="condition"&&((Q=ne.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=((D=s.metadata)==null?void 0:D.mode)??"single",(L=s.metadata)!=null&&L.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 u=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 D=this.getNode(s,x);if((D==null?void 0:D.type)!=="condition")break;S.push(x);const L=s.edges.find($=>$.source===x&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!L)break;const B=this.getNode(s,L.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(L.target)===-1)x=L.target;else break}const A=S[S.length-1],C=this.collectBodyNodes(s,A,"true",new Set(S),E),R=s.edges.find(D=>D.source===w&&D.sourceHandle==="false"&&!this.backEdgeIds.has(D.id));u.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 D=this.getNode(s,x);if((D==null?void 0:D.type)!=="condition")break;S.push(x);const L=s.edges.find($=>$.source===x&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!L)break;const B=this.getNode(s,L.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(L.target)===-1)x=L.target;else break}const A=this.collectNodesUntil(s,w,new Set(S)),C=S[S.length-1],R=s.edges.find(D=>D.source===C&&D.sourceHandle==="true"&&!this.backEdgeIds.has(D.id));u.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),L=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=L??w;u.set(P,{type:"count",entryNodeId:P,conditionNodeIds:S,bodyNodeIds:R,backEdgeSourceId:E,initNodeId:L,incrementNodeId:A,count:$,exitNodeId:(j==null?void 0:j.target)??null})}}}return u}collectBodyNodes(s,u,d,g,b){const w=s.edges.find(A=>A.source===u&&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,u,d){const g=[],b=[u],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,u,d){for(const w of u.conditionNodeIds)d.add(w);for(const w of u.bodyNodeIds)d.add(w);u.initNodeId&&d.add(u.initNodeId),u.incrementNodeId&&d.add(u.incrementNodeId),d.add(u.entryNodeId);const g=[];for(const w of u.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&&u.bodyNodeIds.includes(x.target)&&(C.then=this.buildBodySubsequence(s,x.target,u,d)),A&&u.bodyNodeIds.includes(A.target)&&(C.else=this.buildBodySubsequence(s,A.target,u,d)),g.push(C)}else g.push(this.buildCondition(E))}else{const S=this.buildNodeAction(E);S&&g.push(S)}}let b;if(u.type==="while"){const E={repeat:{while:u.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(u.type==="until"){const E={repeat:{until:u.conditionNodeIds.map(S=>{const x=this.getNode(s,S);return this.buildCondition(x)}),sequence:g}};return b&&(E.alias=b),E}if(u.type==="count"){if(u.initNodeId){const E=this.getNode(s,u.initNodeId);E!=null&&E.data&&"alias"in E.data&&(b=E.data.alias)}const w={repeat:{count:u.count,sequence:g}};return b&&(w.alias=b),w}return null}buildBodySubsequence(s,u,d,g){const b=[];let w=u;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(u=>u.type==="trigger").map(u=>this.buildTrigger(u))}detectOrPattern(s,u){const d=u.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===u.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===u.length){const w=[...b][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!0}}return null}extractLeadingConditions(s,u){const d=[],g=new Set;let b=u;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 u={...s.data};return Object.fromEntries(Object.entries(u).filter(([,d])=>d!==void 0&&d!==""&&d!==null))}findOrConditionSources(s,u,d,g){const b=s.edges.filter(w=>w.target===u&&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,u,d){if(d.has(u))return[];const g=this.getNode(s,u);if(!g)return[];const b=[],w=this.findOrConditionSources(s,u,"true",d),E=this.findOrConditionSources(s,u,"false",d);if(w.length>1){const A=w.map(D=>this.buildCondition(D));for(const D of w)d.add(D.id);d.add(u);const C=g.type==="condition"?this.buildSequenceFromNode(s,u,new Set):this.buildSequenceFromNode(s,u,new Set(d));let R;if(g.type!=="condition"){const D=this.buildNodeAction(g);R=D?[D,...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(D=>this.buildCondition(D));for(const D of E)d.add(D.id);d.add(u);const C=g.type==="condition"?this.buildSequenceFromNode(s,u,new Set):this.buildSequenceFromNode(s,u,new Set(d));let R;if(g.type!=="condition"){const D=this.buildNodeAction(g);R=D?[D,...C]:C}else R=C;return b.push({if:[{condition:"or",conditions:A}],then:[],else:R}),b}const S=this.repeatPatterns.get(u);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(u);const x=this.getOutgoingEdges(s,u).filter(A=>!this.backEdgeIds.has(A.id));if(g.type==="condition"){const A=[];let C=g,R=[],D=[];for(D=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(ne=>ne.sourceHandle==="true"&&!this.backEdgeIds.has(ne.id));if(P.length===0)break;if(P.length>1){R=P.map(ne=>ne.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 ne=this.getOutgoingEdges(s,ee.id).filter(ie=>ie.sourceHandle==="false"&&!this.backEdgeIds.has(ie.id));if(ne.length===0||ne.length===1&&D.includes(ne[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,...D],j=R.length>0&&D.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(D.length>0){const G=D.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(D.length>0){const P=D.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 D=x.map(B=>this.buildSequenceUntilNode(s,B.target,C,new Set(d))).filter(B=>B.length>0);if(D.length>0){const B=D.map($=>$.length===1?$[0]:$);b.push({parallel:B})}const L=this.buildSequenceFromNode(s,C,new Set(d));b.push(...L)}else{const D=x.map(L=>this.buildSequenceFromNode(s,L.target,new Set(d))).filter(L=>L.length>0);if(D.length>0){const L=D.map(B=>B.length===1?B[0]:B);b.push({parallel:L})}}}}return b}findConvergencePoint(s,u){if(u.length<2)return null;const d=u.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 D of R)A.push(D.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=u.map(C=>this.getShortestDistance(s,C,S)),A=Math.max(...x);A<E&&(E=A,w=S)}return w}getShortestDistance(s,u,d){if(u===d)return 0;const g=new Set,b=[{nodeId:u,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,u,d,g){if(u===d)return[];if(g.has(u))return[];g.add(u);const b=this.getNode(s,u);if(!b)return[];const w=[],E=this.buildNodeAction(b);E&&w.push(E);const S=this.getOutgoingEdges(s,u).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(D=>this.buildSequenceUntilNode(s,D.target,d,new Set(g)));x.then=R}if(C.length>0){const R=C.flatMap(D=>this.buildSequenceUntilNode(s,D.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 u=this.buildCondition(s);return{alias:s.data.alias,if:[u],then:[],else:[]}}mapSingleCondition(s){const{condition:u,conditions:d,alias:g,template:b,...w}=s,E={condition:u,...w};return u==="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 u(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(u).filter(A=>A&&(!Array.isArray(A.conditions)||A.conditions.length>0))),Object.fromEntries(Object.entries(x).filter(([,A])=>A!==void 0&&A!==""))}return u(s.data)}buildActionCall(s){if(bMe(s.data.data)){const L=s.data.data,B={device_id:L.device_id,domain:L.domain,type:L.type};s.data.alias&&(B.alias=s.data.alias),L.entity_id&&(B.entity_id=L.entity_id),L.subtype&&(B.subtype=L.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[j,P]of Object.entries(L))!$.includes(j)&&P!==void 0&&(B[j]=P);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const L=s.data.repeat,B={repeat:{...L.count!==void 0?{count:L.count}:{},...L.while?{while:L.while}:{},...L.until?{until:L.until}:{},sequence:L.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 L={event:s.data.event};return s.data.alias&&(L.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(L.event_data=s.data.event_data),s.data.enabled===!1&&(L.enabled=!1),L}if("stop"in s.data){const L={stop:s.data.stop??""};return s.data.alias&&(L.alias=s.data.alias),s.data.error===!0&&(L.error=!0),s.data.enabled===!1&&(L.enabled=!1),L}const{alias:u,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,D={...R,alias:u,service:d};return b&&(D.target=b),w&&(D.data=w),E&&(D.data_template=E),S&&(D.response_variable=S),x&&(D.continue_on_error=x),A===!1&&(D.enabled=!1),D}buildDelay(s){const{alias:u,delay:d,id:g,...b}=s.data;return{...b,alias:u,delay:d}}buildWait(s){const{alias:u,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,x={...S,alias:u};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:u,id:d,variables:g,...b}=s.data,w={...b,variables:g};return u&&(w.alias=u),w}}class BFt extends nKt{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,u){var j,P,G,ee,ne;const d=[],g=this.buildTriggerRouting(s);if(g.size===0){d.push("No action nodes found after triggers");const Q=this.extractTriggers(s);return Q.length>0?{automation:{alias:s.name,description:s.description||"",triggers:Q,actions:[],mode:((j=s.metadata)==null?void 0:j.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:[],mode:((P=s.metadata)==null?void 0:P.mode)??"single"},warnings:d,strategy:this.name}}const b=s.nodes.filter(Q=>Q.type==="trigger"),w=new Set,E=new Map;for(const[Q,ie]of g){const he=(G=b[Q])==null?void 0:G.id;if(!he)continue;const ge=[...new Set(ie)].filter(fe=>fe!=="END");if(ge.length<=1)continue;const ce=this.planFanOut(s,this.getOutgoingEdges(s,he));if(!ce.ok){d.push(this.describeFanOutRejection(`Trigger ${Q+1}`,ge,ce));continue}E.set(Q,ge);for(const fe of ce.owned)w.add(fe)}const S=this.generateParallelEntryBlocks(s,E),x=new Map;for(const Q of this.orderNodesFromEntry(s)){if(Q.type==="trigger"||Q.type==="condition"||w.has(Q.id))continue;const ie=this.getFanOutTargets(s,Q.id);if(ie.length<=1)continue;const he=this.planFanOut(s,this.getFanOutEdges(s,Q.id));if(!he.ok){d.push(this.describeFanOutRejection(`Node "${Q.id}"`,ie,he));continue}x.set(Q.id,ie);for(const ge of he.owned)w.add(ge);for(const ge of he.reachable){const ce=this.getFanOutTargets(s,ge);if(ce.length<=1)continue;const fe=this.planFanOut(s,this.getFanOutEdges(s,ge));fe.ok||d.push(this.describeFanOutRejection(`Node "${ge}"`,ce,fe,!0))}}const A=[],C=new Map;for(const Q of this.orderNodesFromEntry(s))if(!(Q.type!=="condition"||w.has(Q.id)))for(const ie of["true","false"]){const he=this.getConditionHandleTargets(s,Q.id,ie);if(he.length<=1)continue;const ge=this.getOutgoingEdges(s,Q.id).filter(K=>K.sourceHandle===ie),ce=this.planFanOut(s,ge);if(!ce.ok){d.push(this.describeFanOutRejection(`The "${ie}" branch of condition "${Q.id}"`,he,ce));continue}const fe=`__parallel_cond_${Q.id}__${ie}`;C.set(`${Q.id}:${ie}`,fe),A.push(this.buildParallelEntryBlock(s,fe,he));for(const K of ce.owned)w.add(K)}const R=s.nodes.filter(Q=>Q.type!=="trigger"&&!w.has(Q.id)).map(Q=>this.generateNodeBlock(s,Q,x,C)),D=[...S,...A,...R];if(u.hasCycles){const Q=this.detectPotentialInfiniteLoop(s,u);Q&&d.push(Q)}const L=this.extractTriggers(s),$=[{variables:{current_node:this.generateEntryNodeExpression(g,E),flow_context:{}}},{alias:"State Machine Loop",repeat:{until:'{{ current_node == "END" }}',sequence:[{choose:D,default:[{service:"system_log.write",data:{message:'C.A.F.E.: Unknown state "{{ current_node }}", ending flow',level:"warning"}},{variables:{current_node:"END"}}]}]}}];return L.length>0?{automation:{alias:s.name,description:s.description||"",triggers:L,actions:$,mode:((ee=s.metadata)==null?void 0:ee.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:$,mode:((ne=s.metadata)==null?void 0:ne.mode)??"single"},warnings:d,strategy:this.name}}buildTriggerRouting(s){const u=new Map;return s.nodes.filter(g=>g.type==="trigger").forEach((g,b)=>{const w=this.getOutgoingEdges(s,g.id);w.length>0&&u.set(b,w.map(E=>E.target))}),u}getEffectiveEntryPoint(s,u,d){return u.length===1||!d.has(s)?u[0]:`__parallel_trigger_${s}`}generateEntryNodeExpression(s,u){const d=new Map;for(const[E,S]of s)d.set(E,this.getEffectiveEntryPoint(E,S,u));const g=new Set(d.values());if(g.size===1)return[...g][0];const b=[...d.entries()].sort((E,S)=>E[0]-S[0]),w=[];return b.forEach(([E,S],x)=>{x===0?w.push(`{% if trigger.idx == "${E}" %}${S}`):x===b.length-1?w.push(`{% else %}${S}{% endif %}`):w.push(`{% elif trigger.idx == "${E}" %}${S}`)}),b.length===1?b[0][1]:w.join("")}generateParallelEntryBlocks(s,u){const d=[];for(const[g,b]of u)b.length<=1||d.push(this.buildParallelEntryBlock(s,`__parallel_trigger_${g}`,[...new Set(b)]));return d}buildParallelEntryBlock(s,u,d){return{conditions:[{condition:"template",value_template:`{{ current_node == "${u}" }}`}],sequence:[{parallel:this.buildParallelBranches(s,d)},{variables:{current_node:"END"}}]}}getFanOutEdges(s,u){return this.getOutgoingEdges(s,u).filter(d=>d.sourceHandle!=="true"&&d.sourceHandle!=="false")}orderNodesFromEntry(s){const u=new Map(s.nodes.map(w=>[w.id,w])),d=[],g=new Set,b=s.nodes.filter(w=>w.type==="trigger").flatMap(w=>this.getOutgoingEdges(s,w.id).map(E=>E.target));for(;b.length>0;){const w=b.shift();if(w===void 0||w==="END"||g.has(w))continue;g.add(w);const E=u.get(w);if(E){d.push(E);for(const S of this.getOutgoingEdges(s,w))b.push(S.target)}}for(const w of s.nodes)w.type!=="trigger"&&!g.has(w.id)&&d.push(w);return d}getConditionHandleTargets(s,u,d){const g=this.getOutgoingEdges(s,u).filter(b=>b.sourceHandle===d).map(b=>b.target);return[...new Set(g)].filter(b=>b!=="END")}getFanOutTargets(s,u){return[...new Set(this.getFanOutEdges(s,u).map(d=>d.target))].filter(d=>d!=="END"&&d!==u)}planFanOut(s,u){var C;const d=(C=u[0])==null?void 0:C.source;if(!d)return{ok:!1,reason:"cycle",nodes:[]};const g=[...new Set(u.map(R=>R.target))],b=new Set;for(const R of g)this.collectSubgraphNodeIds(s,R,b);if(b.has(d))return{ok:!1,reason:"cycle",nodes:[d]};const w=this.findJoinNodes(s,g);if(w.length>0)return{ok:!1,reason:"join",nodes:w};const E=[...b].find(R=>this.hasMultiTargetHandle(s,R));if(E)return{ok:!1,reason:"nested-condition",nodes:[E]};const S=new Set(u.map(R=>R.id)),x=new Set(b);let A=!0;for(;A;){A=!1;for(const R of[...x])s.edges.some(L=>L.target===R&&!S.has(L.id)&&!x.has(L.source))&&(x.delete(R),A=!0)}return{ok:!0,owned:x,reachable:b}}hasMultiTargetHandle(s,u){const d=s.nodes.find(g=>g.id===u);return(d==null?void 0:d.type)!=="condition"?!1:this.getConditionHandleTargets(s,u,"true").length>1||this.getConditionHandleTargets(s,u,"false").length>1}describeFanOutRejection(s,u,d,g=!1){return d.reason==="nested-condition"?`${s} branches to [${u.join(", ")}], but condition "${d.nodes.join(", ")}" downstream sends one of its branches to several nodes, which cannot be nested inside a parallel block. Only the first branch will run. Move that condition out of the parallel section to run these in parallel.`:d.reason==="cycle"?g?`${s} branches to [${u.join(", ")}] inside a parallel section, but one of those loops back. The loop cannot be expressed there and will stop after one pass.`:`${s} branches to [${u.join(", ")}], but one of those leads back into the same path. A parallel branch cannot loop back, so only the first branch will run.`:g?`${s} branches to [${u.join(", ")}] inside a parallel section, and those branches re-join at [${d.nodes.join(", ")}]. Nested parallel branches cannot re-join, so [${d.nodes.join(", ")}] will run once per branch.`:`${s} branches to [${u.join(", ")}], but those branches re-join at [${d.nodes.join(", ")}]. Parallel branches cannot re-join, so only the first branch will run. Give each branch its own downstream nodes to run them in parallel.`}findJoinNodes(s,u){const d=new Set,g=new Set;for(const b of u){const w=new Set;this.collectSubgraphNodeIds(s,b,w);for(const E of w)d.has(E)&&g.add(E),d.add(E)}return[...g]}buildParallelBranches(s,u,d=new Set){return u.map(g=>{const b=this.generateInlineBranch(s,g,new Set(d));return b.length===0?{alias:`parallel_branch:${g}`,stop:"Empty branch"}:{alias:`parallel_branch:${g}`,sequence:b}})}buildTransitionTail(s,u,d,g){var w;const b=g.get(u);return b&&b.length>1?[{parallel:this.buildParallelBranches(s,b)},{variables:{current_node:"END"}}]:[{variables:{current_node:((w=d[0])==null?void 0:w.target)??"END"}}]}collectSubgraphNodeIds(s,u,d){if(u==="END"||d.has(u))return;const g=s.nodes.find(w=>w.id===u);if(!g||g.type==="trigger")return;d.add(u);const b=this.getOutgoingEdges(s,g.id);for(const w of b)this.collectSubgraphNodeIds(s,w.target,d)}encodeNodeIdInAlias(s,u){const d=s.alias;s.alias=d?`cafe_node:${u}:${d}`:`cafe_node:${u}`}continueInlineBranch(s,u,d,g){var w;const b=this.getFanOutTargets(s,u);return b.length>1?[{parallel:this.buildParallelBranches(s,b,g)}]:this.generateInlineBranch(s,b[0]??((w=d[0])==null?void 0:w.target)??"END",g)}generateInlineBranch(s,u,d){if(u==="END"||d.has(u))return[];const g=s.nodes.find(w=>w.id===u);if(!g)return[];d.add(u);const b=this.getOutgoingEdges(s,g.id);switch(g.type){case"action":{const w=this.buildActionCall(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"condition":{const w=b.find(L=>L.sourceHandle==="true"),E=b.find(L=>L.sourceHandle==="false"),S=(w==null?void 0:w.target)??"END",x=(E==null?void 0:E.target)??"END",A=this.buildNativeCondition(g),C=this.generateInlineBranch(s,S,new Set(d)),R=this.generateInlineBranch(s,x,new Set(d)),D={alias:g.data.alias,if:[A],then:C};return this.encodeNodeIdInAlias(D,g.id),R.length>0&&(D.else=R),[D]}case"delay":{const w=this.buildDelayAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"wait":{const w=this.buildWaitAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"set_variables":{const w=this.buildSetVariablesAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}default:return this.continueInlineBranch(s,g.id,b,d)}}extractTriggers(s){return s.nodes.filter(u=>u.type==="trigger").map(u=>{const d={...u.data};return Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0&&g!==""&&g!==null))})}generateNodeBlock(s,u,d,g){const b=this.getOutgoingEdges(s,u.id);switch(u.type){case"condition":return this.generateConditionBlock(u,b,g);case"action":return this.generateActionBlock(s,u,b,d);case"delay":return this.generateDelayBlock(s,u,b,d);case"wait":return this.generateWaitBlock(s,u,b,d);case"set_variables":return this.generateSetVariablesBlock(s,u,b,d);default:return this.generatePassthroughBlock(s,u,b,d)}}generateActionBlock(s,u,d,g){const b=u.id,w=this.buildActionCall(u);return{conditions:[{condition:"template",value_template:`{{ current_node == "${b}" }}`}],sequence:[w,...this.buildTransitionTail(s,u.id,d,g)]}}buildActionCall(s){if(bMe(s.data.data)){const L=s.data.data,B={device_id:L.device_id,domain:L.domain,type:L.type};s.data.alias&&(B.alias=s.data.alias),L.entity_id&&(B.entity_id=L.entity_id),L.subtype&&(B.subtype=L.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[j,P]of Object.entries(L))!$.includes(j)&&P!==void 0&&(B[j]=P);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const L=s.data.repeat,B={repeat:{...L.count!==void 0?{count:L.count}:{},...L.while?{while:L.while}:{},...L.until?{until:L.until}:{},sequence:L.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 L={event:s.data.event};return s.data.alias&&(L.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(L.event_data=s.data.event_data),s.data.enabled===!1&&(L.enabled=!1),L}const{alias:u,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,D={...R,alias:u,service:d};return g&&(D.id=g),b&&(D.target=b),w&&(D.data=w),E&&(D.data_template=E),S&&(D.response_variable=S),x&&(D.continue_on_error=x),A===!1&&(D.enabled=!1),D}generateConditionBlock(s,u,d){const g=u.find(D=>D.sourceHandle==="true"),b=u.find(D=>D.sourceHandle==="false"),w=d.get(`${s.id}:true`)??(g==null?void 0:g.target)??"END",E=d.get(`${s.id}:false`)??(b==null?void 0:b.target)??"END",S=w==="END"?"END":w,x=E==="END"?"END":E,A=s.id;if(this.needsNativeConditionCheck(s)){const D=this.buildNativeCondition(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${A}" }}`}],sequence:[{alias:s.data.alias,if:[D],then:[{variables:{current_node:S}}],else:[{variables:{current_node:x}}]}]}}const R=this.buildConditionTemplate(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${A}" }}`}],sequence:[{alias:s.data.alias,variables:{current_node:`{% if ${R} %}${S}{% else %}${x}{% endif %}`}}]}}needsNativeConditionCheck(s){const u=s.data;return u.condition==="template"&&(u.value_template||"").includes("{%")?!0:(u.condition==="and"||u.condition==="or"||u.condition==="not")&&u.conditions?u.conditions.some(d=>d.condition==="template"?(d.value_template||"").includes("{%"):!1):!1}buildNativeCondition(s){const u=s.data,d={condition:u.condition};return u.entity_id&&(d.entity_id=u.entity_id),u.state!==void 0&&(d.state=u.state),u.above!=null&&u.above!==""&&(d.above=u.above),u.below!=null&&u.below!==""&&(d.below=u.below),u.attribute&&(d.attribute=u.attribute),u.value_template&&(d.value_template=u.value_template),u.after&&(d.after=u.after),u.before&&(d.before=u.before),u.after_offset&&(d.after_offset=u.after_offset),u.before_offset&&(d.before_offset=u.before_offset),u.zone&&(d.zone=u.zone),u.weekday&&(d.weekday=u.weekday),u.id&&(d.id=u.id),u.conditions&&u.conditions.length>0&&(d.conditions=u.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:u,delay:d,id:g,...b}=s.data,w={...b,alias:u,delay:d};return g&&(w.id=g),w}generateDelayBlock(s,u,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${u.id}" }}`}],sequence:[this.buildDelayAction(u),...this.buildTransitionTail(s,u.id,d,g)]}}buildWaitAction(s){const{alias:u,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,x={...S,alias:u};return d&&(x.id=d),g?x.wait_template=g:b&&(x.wait_for_trigger=b.map(A=>{const{alias:C,...R}=A,D={...R};return Object.fromEntries(Object.entries(D).filter(([,L])=>L!==void 0&&L!==""&&L!==null))})),w&&(x.timeout=w),E!==void 0&&(x.continue_on_timeout=E),x}generateWaitBlock(s,u,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${u.id}" }}`}],sequence:[this.buildWaitAction(u),...this.buildTransitionTail(s,u.id,d,g)]}}buildSetVariablesAction(s){const{alias:u,id:d,variables:g,...b}=s.data,w={...b,variables:g};return u&&(w.alias=u),d&&(w.id=d),w}generateSetVariablesBlock(s,u,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${u.id}" }}`}],sequence:[this.buildSetVariablesAction(u),...this.buildTransitionTail(s,u.id,d,g)]}}generatePassthroughBlock(s,u,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${u.id}" }}`}],sequence:this.buildTransitionTail(s,u.id,d,g)}}buildConditionTemplate(s){const u=s.data;switch(u.condition){case"state":if(u.attribute){if(Array.isArray(u.state)){const d=u.state.map(g=>`'${g}'`).join(", ");return`state_attr('${u.entity_id}', '${u.attribute}') in [${d}]`}return`state_attr('${u.entity_id}', '${u.attribute}') == '${u.state}'`}else{if(Array.isArray(u.state)){const d=u.state.map(g=>`'${g}'`).join(", ");return`states('${u.entity_id}') in [${d}]`}return`is_state('${u.entity_id}', '${u.state}')`}case"numeric_state":return this.buildNumericCondition(u);case"template":{let d=u.value_template||"true";return d.startsWith("{{")&&d.endsWith("}}")&&(d=d.slice(2,-2).trim()),d}case"time":return this.buildTimeCondition(u);case"sun":return this.buildSunCondition(u);case"zone":return`is_state('${u.entity_id}', '${u.zone}')`;case"and":return u.conditions&&u.conditions.length>0?`(${u.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";case"or":return u.conditions&&u.conditions.length>0?`(${u.conditions.map(d=>this.buildNestedCondition(d)).join(" or ")})`:"false";case"not":return u.conditions&&u.conditions.length>0?`not (${u.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";default:return"true"}}buildNumericCondition(s){const u=[],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!==""&&u.push(`${d} > ${s.above}`),s.below!=null&&s.below!==""&&u.push(`${d} < ${s.below}`),u.length>0?u.join(" and "):"true"}buildTimeCondition(s){const u=[];if(s.after&&u.push(`now().strftime('%H:%M:%S') >= '${s.after}'`),s.before&&u.push(`now().strftime('%H:%M:%S') < '${s.before}'`),s.weekday&&s.weekday.length>0){const d=s.weekday.map(g=>`'${g}'`).join(", ");u.push(`now().strftime('%a').lower()[:3] in [${d}]`)}return u.length>0?u.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 u={id:"nested",type:"condition",position:{x:0,y:0},data:s};return this.buildConditionTemplate(u)}detectPotentialInfiniteLoop(s,u){return u.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}}function UFt(n){return n==="true"?0:n==="false"?2:1}function pQn(n){const i=[],s=new Set,u=n.nodes.filter(w=>w.type==="trigger");for(const w of u)i.push(w.id),s.add(w.id);const d=new Map(n.nodes.map(w=>[w.id,w.type])),g=new Map;for(const w of n.edges){const E=g.get(w.source);E?E.push(w):g.set(w.source,[w])}const b=w=>{if(s.has(w))return;s.add(w),d.get(w)!==void 0&&i.push(w);const E=[...g.get(w)??[]].sort((S,x)=>UFt(S.sourceHandle)-UFt(x.sourceHandle));for(const S of E)b(S.target)};for(const w of u)for(const E of g.get(w.id)??[])b(E.target);for(const w of n.nodes)s.has(w.id)||(i.push(w.id),s.add(w.id));return i}class RM{constructor(){Zf(this,"strategies",[new hQn,new BFt])}validate(i){return uJn(i)}analyzeTopology(i){return nJn(i)}transpile(i,s={}){const u=[],d=this.validate(i);if(!d.success||!d.graph)return{success:!1,errors:d.errors.map(A=>A.message),warnings:u};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:u};w=A,w.canHandle(b)||u.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 BFt}const E=w.generate(g,b);u.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:u}}toYaml(i,s={}){var d;const u=this.transpile(i,s);if(!u.success)throw new Error(`Transpilation failed: ${(d=u.errors)==null?void 0:d.join(", ")}`);return u.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 fQn().parse(i)}getStrategies(){return this.strategies.map(i=>({name:i.name,description:i.description}))}addStrategy(i){this.strategies.unshift(i)}generateCafeMetadata(i,s){const u={},d=new Map(i.nodes.map(g=>[g.id,g]));for(const g of pQn(i)){const b=d.get(g);b&&(u[b.id]={x:b.position.x,y:b.position.y})}return{version:1,nodes:u,graph_id:i.id,graph_version:i.version,strategy:s.name}}}const GLe=new RM,HFt=n=>{let i;const s=new Set,u=(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:u,getState:d,getInitialState:()=>E,subscribe:S=>(s.add(S),()=>s.delete(S))},E=i=n(u,d,w);return w},rKt=n=>n?HFt(n):HFt,gQn=n=>n;function iKt(n,i=gQn){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 bQn=n=>{const i=rKt(n),s=u=>iKt(i,u);return Object.assign(s,i),s},mQn=n=>bQn;var zFt=(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:[]})}}),wQn=(n,i)=>(u,d,g)=>{var S,x;g.temporal=rKt(((S=i==null?void 0:i.wrapTemporal)==null?void 0:S.call(i,zFt(u,d,i)))||zFt(u,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 D,L,B;if(!g.temporal.getState().isTracking)return;const C=((D=i==null?void 0:i.partialize)==null?void 0:D.call(i,d()))||d(),R=(L=i==null?void 0:i.diff)==null?void 0:L.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();u(...A),w(C)},d,g)};function yQn(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 qLe=n=>i=>{try{const s=n(i);return s instanceof Promise?s:{then(u){return qLe(u)(s)},catch(u){return this}}}catch(s){return{then(u){return this},catch(u){return qLe(u)(s)}}}},vQn=(n,i)=>(s,u,d)=>{let g={storage:yQn(()=>localStorage),partialize:L=>L,version:0,merge:(L,B)=>({...B,...L}),...i},b=!1;const w=new Set,E=new Set;let S=g.storage;if(!S)return n((...L)=>{console.warn(`[zustand persist middleware] Unable to update item '${g.name}', the given storage is currently unavailable.`),s(...L)},u,d);const x=()=>{const L=g.partialize({...u()});return S.setItem(g.name,{state:L,version:g.version})},A=d.setState;d.setState=(L,B)=>(A(L,B),x());const C=n((...L)=>(s(...L),x()),u,d);d.getInitialState=()=>C;let R;const D=()=>{var L,B;if(!S)return;b=!1,w.forEach(j=>{var P;return j((P=u())!=null?P:C)});const $=((B=g.onRehydrateStorage)==null?void 0:B.call(g,(L=u())!=null?L:C))||void 0;return qLe(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=u())!=null?P:C),s(R,!0),G)return x()}).then(()=>{$==null||$(R,void 0),R=u(),b=!0,E.forEach(j=>j(R))}).catch(j=>{$==null||$(void 0,j)})};return d.persist={setOptions:L=>{g={...g,...L},L.storage&&(S=L.storage)},clearStorage:()=>{S==null||S.removeItem(g.name)},getOptions:()=>g,rehydrate:()=>D(),hasHydrated:()=>b,onHydrate:L=>(w.add(L),()=>{w.delete(L)}),onFinishHydration:L=>(E.add(L),()=>{E.delete(L)})},g.skipHydration||D(),R||C},EQn=vQn,GFt=n=>Symbol.iterator in n,qFt=n=>"entries"in n,VFt=(n,i)=>{const s=n instanceof Map?n:new Map(n.entries()),u=i instanceof Map?i:new Map(i.entries());if(s.size!==u.size)return!1;for(const[d,g]of s)if(!u.has(d)||!Object.is(g,u.get(d)))return!1;return!0},SQn=(n,i)=>{const s=n[Symbol.iterator](),u=i[Symbol.iterator]();let d=s.next(),g=u.next();for(;!d.done&&!g.done;){if(!Object.is(d.value,g.value))return!1;d=s.next(),g=u.next()}return!!d.done&&!!g.done};function oKt(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:GFt(n)&&GFt(i)?qFt(n)&&qFt(i)?VFt(n,i):SQn(n,i):VFt({entries:()=>Object.entries(n)},{entries:()=>Object.entries(i)})}function sKt(n){const i=Hn.useRef(void 0);return s=>{const u=n(s);return oKt(i.current,u)?i.current:i.current=u}}class TQn{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,u,d){var g,b;if((g=this.hass)!=null&&g.callService){const w={...u,...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:u,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,u]=i.service.split(".");if(!s||!u)throw new Error(`Invalid service format: ${i.service}`);return await this.callService(s,u,i.data,i.target)}async callAPI(i,s,u){var d;if((d=this.hass)!=null&&d.callApi)return await this.hass.callApi(i,s,u);throw new Error("REST API calls not supported in standalone mode")}async fetchRestAPI(i,s="GET",u){var b;if((b=this.hass)!=null&&b.callApi)return await this.hass.callApi(s,i,u);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:u?JSON.stringify(u):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 u=await this.sendMessage({type:"config/automation/list"});if(Array.isArray(u))return u}catch(u){console.warn("WebSocket automation list failed, trying alternative:",u)}return this.getAutomations().map(u=>({id:u.entity_id.replace("automation.",""),alias:typeof u.attributes.friendly_name=="string"?u.attributes.friendly_name:u.entity_id,description:typeof u.attributes.description=="string"?u.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(u){return console.error("C.A.F.E.: Failed to get automation config:",u),null}}async getAutomationConfigFromTrace(i){try{const s=await this.getAutomationTraces(i);if(!s||s.length===0)return null;const u=await this.getAutomationTraceDetails(i,s[0].run_id);return(u==null?void 0:u.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 u=await this.getAutomationConfig(i);return u||(await this.getAutomationConfigFromTrace(i)??null)}catch(u){return console.error("C.A.F.E.: Failed to get automation config with fallback:",u),null}}async createAutomation(i){var s,u;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((u=this.hass)!=null&&u.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:u,condition:d,action:g,...b}=s,w={...b,id:i,alias:s.alias||`C.A.F.E. Automation ${i}`,description:s.description||"",triggers:u||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(u){throw console.error("C.A.F.E.: Failed to update automation:",u),new Error(`Failed to update automation: ${u instanceof Error?u.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,u=1;for(;await this.automationExistsByAlias(s);)s=`${i} (${u})`,u++;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 u=s?"turn_on":"turn_off";await this.callService("automation",u,{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 u=s.entity_id.replace("zone.","");return{entity_id:s.entity_id,zone_id:u,name:typeof s.attributes.friendly_name=="string"?s.attributes.friendly_name:u,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:[],u=new Map;for(const d of s)d.entity_id&&d.area_id&&u.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:u.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 u=Array.from(new Set(i.filter(Boolean))),d={};if(u.length===0)return d;const g=[...u],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(u){return console.error("Failed to get automation trace details:",u),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 TQn(n,i),S5}class UMe{constructor(i,s,u=1){Zf(this,"dbName");Zf(this,"storeName");Zf(this,"dbVersion");Zf(this,"dbPromise",null);this.dbName=i,this.storeName=s,this.dbVersion=u}async initDB(){return this.dbPromise?this.dbPromise:(this.dbPromise=new Promise((i,s)=>{const u=indexedDB.open(this.dbName,this.dbVersion);u.onerror=d=>{console.error("IndexedDB error:",d),s(new Error("Failed to open IndexedDB database"))},u.onsuccess=d=>{const g=d.target.result;i(g)},u.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(u){throw console.error("IndexedDB setItem error:",u),u}}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 u=new UMe(i,s);return{getItem:async d=>{const g=await u.getItem(d);return g?JSON.parse(g):null},setItem:async(d,g)=>{await u.setItem(d,JSON.stringify(g))},removeItem:async d=>{await u.removeItem(d)}}}}const AQn=UMe.createJSONStorage("cafe-flow-storage","flow-store");function _Qn(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"?_Qn(i):i}function WFt(n,i){if(n.size===0)return n;const s=new Set(i.map(g=>g.id)),u=[...n.keys()].filter(g=>!s.has(g));if(u.length===0)return n;const d=new Map(n);for(const g of u)d.delete(g);return d}function xQn(n){const i=n.data,u=[i.alias,i.service,i.event,i.trigger,i.condition].find(d=>typeof d=="string"&&d.trim()!=="");return u?`${u} (${n.id})`:n.id}function KFt(n,i,s){if(i.size===0)return;const u=n.filter(S=>i.has(S.id)),d=u[0];d&&s(d.id);const g=u.map(xQn),b=g.slice(0,3).join(", "),w=g.length>3?`, and ${g.length-3} more`:"",E=g.length>0?`: ${b}${w}`:"";throw new Error(`Cannot save: ${i.size} node(s) have validation errors${E}. They are highlighted in red — the first one is now selected, and "fit view" will bring it into sight if it is off-screen.`)}function kQn(n){const i=new Map;for(const u of n){const d=u.data.id;typeof d!="string"||d.trim()===""||i.set(d,[...i.get(d)??[],u.id])}const s=new Map;for(const[,u]of i)if(!(u.length<2))for(const d of u)s.set(d,{path:["id"],message:"errors:validation.node.duplicateId"});return s}const VLe={mode:"single",initial_state:!0},YFt={flowId:K5e(),flowName:"Untitled Automation",flowDescription:"",flowMetadata:VLe,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},NQn=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}),CQn=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 ko=mQn()(EQn(wQn((n,i)=>({...YFt,setNodes:s=>n({nodes:s}),setEdges:s=>n({edges:s}),onNodesChange:s=>n(u=>{const d=Pzt(s,u.nodes);return{nodes:d,nodeErrors:WFt(u.nodeErrors,d),hasUnsavedChanges:!0}}),onEdgesChange:s=>n(u=>({edges:jzt(s,u.edges),hasUnsavedChanges:!0})),onConnect:s=>n(u=>({edges:gzt({...s,id:`e-${s.source}-${s.target}-${Date.now()}`,animated:!1},u.edges),hasUnsavedChanges:!0})),addNode:s=>{const u=s.type?{...s,data:HOe(s.type,s.data)}:s;n(d=>({nodes:[...d.nodes,u],hasUnsavedChanges:!0})),i().validateNode(s.id)},updateNodeData:(s,u)=>{n(d=>({nodes:d.nodes.map(g=>g.id===s?{...g,data:{...g.data,...u}}:g),hasUnsavedChanges:!0})),"id"in u?i().validateAllNodes():i().validateNode(s)},removeNode:s=>n(u=>{const d=u.nodes.filter(g=>g.id!==s);return{nodes:d,edges:u.edges.filter(g=>g.source!==s&&g.target!==s),selectedNodeId:u.selectedNodeId===s?null:u.selectedNodeId,nodeErrors:WFt(u.nodeErrors,d),hasUnsavedChanges:!0}}),addWaitTimeoutBranch:s=>{const d=i().nodes.find(S=>S.id===s);if(!d||d.type!=="wait")return;const g=d.data;if(!g.timeout)return;const b=ez("condition"),w=g.wait_for_trigger!==void 0?"{{ wait.trigger is not none }}":"{{ wait.completed }}",E={id:b,type:"condition",position:{x:d.position.x+260,y:d.position.y},data:{alias:"Wait completed?",condition:"template",value_template:w}};n(S=>({nodes:[...S.nodes.map(x=>x.id===s?{...x,data:{...x.data,continue_on_timeout:!0}}:x),E],edges:[...S.edges.map(x=>x.source===s?{...x,source:b,sourceHandle:"true"}:x),{id:`e-${s}-${b}-${Date.now()}`,source:s,target:b,animated:!1}],hasUnsavedChanges:!0})),i().validateNode(b)},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(u=>({flowMetadata:{...u.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 u=i(),d=Mv(s);n({isSaving:!0});try{i().validateAllNodes();const b=i();KFt(b.nodes,b.nodeErrors,L=>n({selectedNodeId:L}));const w=u.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 console.error("C.A.F.E.: Validation errors:",A.errors),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:u.flowName,description:u.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((L,B)=>(L[B.id]={x:B.position.x,y:B.position.y},L),{}),graph_id:w.id,graph_version:1}}},D=await d.createAutomation(R);return n({automationId:D,isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1}),D}catch(b){throw n({isSaving:!1}),b}},updateAutomation:async s=>{var g;const u=i(),d=Mv(s);if(!u.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:",u.automationId),n({isSaving:!0});try{i().validateAllNodes();const b=i();KFt(b.nodes,b.nodeErrors,D=>n({selectedNodeId:D}));const w=u.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 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:u.flowName,description:u.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((D,L)=>(D[L.id]={x:L.position.x,y:L.position.y},D),{}),graph_id:w.id,graph_version:1}}};await d.updateAutomation(u.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(u=>({executionPath:[...u.executionPath,s]})),clearExecutionPath:()=>n({executionPath:[]}),showTrace:s=>{const u=[],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;u.includes(R)||(u.push(R),d[R]=E.timestamp)}}}n({isShowingTrace:!0,traceData:s,traceExecutionPath:u,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 u=i();if(u.isSimulating&&u.executionPath.length>0){const d=u.executionPath.indexOf(s);return d>=0?d+1:null}if(u.isShowingTrace&&u.traceExecutionPath.length>0){const d=u.traceExecutionPath.indexOf(s);return d>=0?d+1:null}return null},canDeleteEdge:()=>!0,toFlowGraph:()=>{const s=i(),u=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=>u.has(d.source)&&u.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 u=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={...VLe,...s.metadata},b=JSON.stringify({flowName:s.name,flowDescription:s.description||"",flowMetadata:g,nodes:u.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:u,edges:d,selectedNodeId:null,automationId:null,hasUnsavedChanges:!1,lastSaved:null,originalSnapshot:b,nodeErrors:new Map}),i().validateAllNodes(),zOe(),ko.temporal.getState().clear()},reset:()=>{n({...YFt,flowId:K5e(),flowMetadata:{...VLe},originalSnapshot:null,nodeErrors:new Map}),zOe(),ko.temporal.getState().clear()},validateNode:s=>{const d=i().nodes.find(b=>b.id===s);if(!d||!d.type)return;const g=P8t(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(),u=new Map;for(const g of s.nodes){if(!g.type)continue;const b=P8t(g.type,g.data);b.length>0&&u.set(g.id,b)}const d=kQn(s.nodes);for(const[g,b]of d)u.set(g,[...u.get(g)??[],b]);n({nodeErrors:u})},clearNodeErrors:s=>{n(u=>{const d=new Map(u.nodeErrors);return d.delete(s),{nodeErrors:d}})},hasValidationErrors:()=>i().nodeErrors.size>0}),{partialize:CQn,limit:100,equality:oKt,handleSet:n=>i=>{const s=i,u=(Uk==null?void 0:Uk.burstStart)??s;zOe(),Uk={timeoutId:setTimeout(()=>{Uk=void 0,n(u)},300),burstStart:u}}}),{name:"cafe-flow-storage",storage:AQn,partialize:NQn,version:1,onRehydrateStorage:()=>n=>{if(n){const i=n.nodes.map(u=>({...u,data:u.type?HOe(u.type,u.data):u.data}));i.some((u,d)=>JSON.stringify(u.data)!==JSON.stringify(n.nodes[d].data))&&(n.nodes=i),n.validateAllNodes()}}})),WLe=[{type:"trigger",labelKey:"nodes:types.trigger",icon:SGt,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:B5e,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:bGt,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:EGt,color:"bg-cyan-100 border-cyan-400 text-cyan-700 hover:bg-cyan-200",defaultData:{variables:{}}}];function IQn(){const{t:n}=ps(["common","nodes"]),i=ko(g=>g.addNode),s=ko(g=>g.nodes),u=H.useCallback(g=>{const b=s.length*250+250;i({id:ez(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:WLe.map(g=>I.jsxs(ki,{variant:"outline",onClick:()=>u(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 RQn(n){return n==="forward"?WLe.filter(i=>i.type!=="trigger"):[...WLe]}function OQn(n,i,s,u){return n==="forward"?{source:i,sourceHandle:s,target:u,targetHandle:null}:{source:u,sourceHandle:null,target:i,targetHandle:s}}function LQn({position:n,direction:i,onSelect:s,onClose:u}){const{t:d}=ps(["common","nodes"]),g=H.useMemo(()=>n?RQn(i).map(S=>({config:S,label:d(S.labelKey)})):[],[n,i,d]),{query:b,setQuery:w,filteredItems:E}=sVt(g,{keys:["label"],threshold:.4,ignoreLocation:!0});return I.jsx(aMe,{open:n!==null,onOpenChange:S=>{S||u()},children:n&&I.jsxs(I.Fragment,{children:[I.jsx($Bn,{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(tz,{children:E.map(S=>I.jsxs(nz,{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 DQn=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 MQn{constructor(i=DQn){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 MQn;typeof window<"u"&&(window.cafeLogger=Ef);const PQn=1,bse=2,GOe=3,jQn=4,FQn=5;function $Qn(n){return{type:"auth",access_token:n}}function BQn(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function UQn(){return{type:"get_states"}}function HQn(){return{type:"get_services"}}function zQn(n){const i={type:"subscribe_events"};return n&&(i.event_type=n),i}function JFt(n){return{type:"unsubscribe_events",subscription:n}}function GQn(){return{type:"ping"}}function qQn(n,i){return{type:"result",success:!1,error:{code:n,message:i}}}const VQn=(n,i,s=!1)=>{let u;return function(...d){const g=this,b=()=>{u=void 0,s||n.apply(g,d)},w=s&&!u;clearTimeout(u),u=setTimeout(b,i),w&&n.apply(g,d)}},aKt=(n,i,s,u)=>{const[d,g,b]=n.split(".",3);return Number(d)>i||Number(d)===i&&(u===void 0?Number(g)>=s:Number(g)>s)||u!==void 0&&Number(d)===i&&Number(g)===s&&Number(b)>=u},WQn="auth_invalid",KQn="auth_ok";function YQn(n){if(!n.auth)throw jQn;const i=n.auth;let s=i.expired?i.refreshAccessToken().then(()=>{s=void 0},()=>{s=void 0}):void 0;const u=i.wsUrl;function d(g,b,w){const E=new WebSocket(u);let S=!1;const x=()=>{if(E.removeEventListener("close",x),S){w(bse);return}if(g===0){w(PQn);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($Qn(i.accessToken)))}catch(D){S=D===bse,E.close()}},C=async R=>{const D=JSON.parse(R.data);switch(D.type){case WQn:S=!0,E.close();break;case KQn:E.removeEventListener("open",A),E.removeEventListener("message",C),E.removeEventListener("close",x),E.removeEventListener("error",x),E.haVersion=D.ha_version,aKt(E.haVersion,2022,9)&&E.send(JSON.stringify(BQn())),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 JQn{constructor(i,s){this._handleMessage=u=>{let d=JSON.parse(u.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(JFt(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 u=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,u.forEach(b=>{"subscribe"in b||b.reject(qQn(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 u=this._queuedMessages;if(u){this._queuedMessages=void 0;for(const d of u)d.resolve()}this.fireEvent("ready")}addEventListener(i,s){let u=this.eventListeners.get(i);u||(u=[],this.eventListeners.set(i,u)),u.push(s)}removeEventListener(i,s){const u=this.eventListeners.get(i);if(!u)return;const d=u.indexOf(s);d!==-1&&u.splice(d,1)}fireEvent(i,s){(this.eventListeners.get(i)||[]).forEach(u=>u(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,zQn(s))}ping(){return this.sendMessagePromise(GQn())}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,u)=>{if(this._queuedMessages){this._queuedMessages.push({reject:u,resolve:async()=>{try{s(await this.sendMessagePromise(i))}catch(g){u(g)}}});return}const d=this._genCmdId();this.commands.set(d,{resolve:s,reject:u}),this.sendMessage(i,d)})}async subscribeMessage(i,s,u){if(this._queuedMessages&&await new Promise((g,b)=>{this._queuedMessages.push({resolve:g,reject:b})}),u!=null&&u.preCheck&&!await u.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:(u==null?void 0:u.resubscribe)!==!1?()=>this.subscribeMessage(i,s,u):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(JFt(w)),this.commands.delete(w)}},this.commands.set(w,d);try{this.sendMessage(s,w)}catch{}}),()=>d.unsubscribe()}_genCmdId(){return++this.commandId}}const XQn=n=>n*1e3+Date.now();async function ZQn(n,i,s){const u=typeof location<"u"&&location;if(u&&u.protocol==="https:"){const w=document.createElement("a");if(w.href=n,w.protocol==="http:"&&w.hostname!=="localhost")throw FQn}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=XQn(b.expires_in),b}class QQn{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 ZQn(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 eer(n,i){return new QQn({hassUrl:n,clientId:null,expires:Date.now()+1e11,refresh_token:"",access_token:i,expires_in:1e11})}const ter=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 u(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){u(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:u,clearState(){n=void 0},subscribe(d){return i.push(d),()=>{s(d)}}}},ner=5e3,KLe=(n,i,s,u,d={unsubGrace:!0})=>{if(n[i])return n[i];let g=0,b,w,E=ter();const S=()=>{if(!s)throw new Error("Collection does not support refresh");return s(n).then(L=>E.setState(L,!0))},x=()=>S().catch(L=>{if(n.connected)throw L}),A=()=>{if(w!==void 0){clearTimeout(w),w=void 0;return}u&&(b=u(n,E)),s&&(n.addEventListener("ready",x),x()),n.addEventListener("disconnected",D)},C=()=>{w=void 0,b&&b.then(L=>{L()}),E.clearState(),n.removeEventListener("ready",S),n.removeEventListener("disconnected",D)},R=()=>{w=setTimeout(C,ner)},D=()=>{w&&(clearTimeout(w),C())};return n[i]={get state(){return E.state},refresh:S,subscribe(L){g++,g===1&&A();const B=E.subscribe(L);return E.state!==void 0&&setTimeout(()=>L(E.state),0),()=>{B(),g--,g||(d.unsubGrace?R():C())}}},n[i]},rer=n=>n.sendMessagePromise(UQn()),ier=n=>n.sendMessagePromise(HQn());function oer(n,i,s){var u;const d=i.state;if(d===void 0)return;const{domain:g,service:b}=s.data;if(!(!((u=d.domain)===null||u===void 0)&&u.service)){const w=Object.assign(Object.assign({},d[g]),{[b]:{description:"",fields:{}}});i.setState({[g]:w})}aer(n,i)}function ser(n,i){if(n===void 0)return null;const{domain:s,service:u}=i.data,d=n[s];if(!d||!(u in d))return null;const g={};return Object.keys(d).forEach(b=>{b!==u&&(g[b]=d[b])}),{[s]:g}}const aer=VQn((n,i)=>uKt(n).then(s=>i.setState(s,!0)),5e3),uKt=n=>ier(n),uer=(n,i)=>Promise.all([n.subscribeEvents(s=>oer(n,i,s),"service_registered"),n.subscribeEvents(i.action(ser),"service_removed")]).then(s=>()=>s.forEach(u=>u())),cer=n=>KLe(n,"_srv",uKt,uer),ler=(n,i)=>cer(n).subscribe(i);function der(n,i){const s=Object.assign({},n.state);if(i.a)for(const u in i.a){const d=i.a[u];let g=new Date(d.lc*1e3).toISOString();s[u]={entity_id:u,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 u of i.r)delete s[u];if(i.c)for(const u in i.c){let d=s[u];if(!d){console.warn("Received state update for unknown entity",u);continue}d=Object.assign({},d);const{"+":g,"-":b}=i.c[u],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[u]=d}n.setState(s,!0)}const fer=(n,i)=>n.subscribeMessage(s=>der(i,s),{type:"subscribe_entities"});function her(n,i){const s=n.state;if(s===void 0)return;const{entity_id:u,new_state:d}=i.data;if(d)n.setState({[d.entity_id]:d});else{const g=Object.assign({},s);delete g[u],n.setState(g,!0)}}async function per(n){const i=await rer(n),s={};for(let u=0;u<i.length;u++){const d=i[u];s[d.entity_id]=d}return s}const ger=(n,i)=>n.subscribeEvents(s=>her(i,s),"state_changed"),ber=n=>aKt(n.haVersion,2022,4,0)?KLe(n,"_ent",void 0,fer):KLe(n,"_ent",per,ger),mer=(n,i)=>ber(n).subscribe(i);async function wer(n){const i=Object.assign({setupRetry:0,createSocket:YQn},n),s=await i.createSocket(i);return new JQn(s,i)}const cKt="cafe_hass_config";function yer(){try{const n=localStorage.getItem(cKt);if(n)return JSON.parse(n)}catch{}return{url:"",token:""}}function ver(n){try{localStorage.setItem(cKt,JSON.stringify(n))}catch{}}const lKt=H.createContext(void 0),XFt=({children:n,forceMode:i,externalHass:s})=>{const[u,d]=H.useState(i?yer():{url:"",token:""}),[g,b]=H.useState([]),[w,E]=H.useState({}),[S,x]=H.useState(new Map),[A,C]=H.useState(new Map),[R,D]=H.useState(new Map),[L,B]=H.useState(!1),[$,j]=H.useState(null),[P,G]=H.useState(null),ee=!!(u.url&&u.token),ne=i==="remote",Q=H.useCallback(We=>{d(We),ver(We),b([]),E({}),x(new Map),C(new Map),D(new Map),j(null)},[]);H.useEffect(()=>{if(!ne)return;const dt=(async()=>{B(!0),j(null);try{const Ue=eer(u.url,u.token),bt=await wer({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=mer(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=ler(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);D(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())}},[ne,u.url,u.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);D(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({}),he=H.useRef({}),ge=H.useRef({});ie.current=H.useMemo(()=>Object.fromEntries(g.map(We=>[We.entity_id,We])),[g]),he.current=w,ge.current=H.useMemo(()=>Object.fromEntries(A),[A]);const ce=H.useMemo(()=>{if(s)return s;if(P&&ne)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 ge.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 he.current},connection:P,callApi:async(We,dt,Ue)=>{if(!u.url||!u.token)throw new Error("No authentication configured");const bt=`${u.url}/api/${dt}`,kt=await fetch(bt,{method:We,headers:{Authorization:`Bearer ${u.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,ne,P,u.url,u.token]),fe=H.useMemo(()=>ne?g:Object.values((ce==null?void 0:ce.states)??{}),[ne,g,ce==null?void 0:ce.states]),K=H.useMemo(()=>ne?w:(ce==null?void 0:ce.services)??{},[ne,w,ce==null?void 0:ce.services]),pe=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]),De=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:ce,isRemote:ne,isLoading:ne&&ee?L:!1,connectionError:ne?$:null,entities:fe,services:K,config:u,setConfig:Q,getEntitiesByDomain:pe,getAllServices:Oe,getServiceDefinition:Se,getDeviceNameForEntity:De,getAreaNameForEntity:Ae};return I.jsx(lKt.Provider,{value:xe,children:n})};function pb(){const n=H.useContext(lKt);if(n===void 0)throw new Error("useHass must be used within a HassProvider");return n}function zae(){var u;const{hass:n}=pb(),[i,s]=H.useState(((u=n==null?void 0:n.themes)==null?void 0:u.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 Eer({id:n,sourceX:i,sourceY:s,targetX:u,targetY:d,sourcePosition:g,targetPosition:b,style:w,markerEnd:E,selected:S}){const{t:x}=ps(["common"]),{setEdges:A}=kR(),C=ko(K=>K.setUnsavedChanges),R=ko(K=>K.canDeleteEdge),D=zae(),L=u<i,B=L?100:0,$=L?50:0;let j,P,G,ee=0,ne=0,Q=0;if(L)ee=i+$,ne=Math.min(s,d)-B,Q=u-$,j=`M ${i},${s} L ${ee},${s} L ${ee},${ne} L ${Q},${ne} L ${Q},${d} L ${u},${d}`,P=(ee+Q)/2,G=ne;else{const[K,pe,Oe]=Koe({sourceX:i,sourceY:s,sourcePosition:g,targetX:u,targetY:d,targetPosition:b});j=K,P=pe,G=Oe}const ie=R(n),he=K=>{K.stopPropagation(),ie&&(A(pe=>pe.filter(Oe=>Oe.id!==n)),C(!0))},ce=S?{...w,stroke:"#3b82f6",strokeWidth:3}:w??{},fe=ce&&typeof ce=="object"&&"stroke"in ce&&typeof ce.stroke=="string"?ce.stroke:D?"#94a3b8":"#64748b";return I.jsxs(I.Fragment,{children:[I.jsx(kz,{id:n,path:j,style:ce,markerEnd:E}),L&&ee!==0&&I.jsx(S9t,{children:I.jsx("div",{className:"nodrag nopan pointer-events-none absolute",style:{transform:`translate(-50%, -50%) translate(${ee+(Q-ee)/2}px, ${ne}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(S9t,{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:he,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=ko(u=>u.nodeErrors.get(n));return H.useMemo(()=>{const u=i??[],d=b=>{const w=u.find(E=>E.path.includes(b));return w==null?void 0:w.message},g=()=>{const b=u.find(w=>w.path.includes("_root")||w.path.length===0);return b==null?void 0:b.message};return{hasErrors:u.length>0,errors:u,errorMessages:u.map(b=>b.message),getFieldError:d,getRootError:g}},[i])}const Ser=H.memo(function({id:i,data:s,selected:u}){var G;const{t:d}=ps(["nodes"]),g=ko(ee=>ee.activeNodeId),b=ko(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,D=C&&s.error===!0;let L,B;!C&&typeof s.service=="string"&&s.service.includes(".")&&([L,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",u&&"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(iPn,{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(D?"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",u&&"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:[L,"."]}),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"})]})}),Ter=H.memo(function({id:i,data:s,selected:u}){const d=ko(C=>C.activeNodeId),g=ko(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",u&&"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(B5e,{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:Xie("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:Xie("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:Xie("nodes:conditions.no")})]})});function dKt(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 Aer=H.memo(function({id:i,data:s,selected:u}){const d=ko(C=>C.activeNodeId),g=ko(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),x=s.enabled===!1,A=dKt(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",u&&"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"})]})}),_er=H.memo(function({id:i,data:s,selected:u}){const d=ko(C=>C.activeNodeId),g=ko(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",u&&"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(EGt,{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:Xie("nodes:variables.variableCount",{count:A})})}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"})]})}),xer=H.memo(function({id:i,data:s,selected:u}){const d=ko(D=>D.activeNodeId),g=ko(D=>D.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 D=s.trigger;switch(D){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[D],detail:s.event_type||null};case"time":return{title:s.alias||"Time",subtitle:A[D],detail:s.at||null};case"sun":return{title:s.alias||"Sun",subtitle:A[D],detail:s.event?`${s.event}${s.offset?` ${s.offset}`:""}`:null};case"mqtt":return{title:s.alias||"MQTT",subtitle:A[D],detail:s.topic||null};case"webhook":return{title:s.alias||"Webhook",subtitle:A[D],detail:s.webhook_id||null};case"zone":return{title:s.alias||"Zone",subtitle:A[D],detail:s.zone||(Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id)||null};default:return{title:s.alias||A[D]||"Trigger",subtitle:A[D]||D,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",u&&"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(SGt,{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"})]})}),ker=H.memo(function({id:i,data:s,selected:u}){const{t:d}=ps(["common","nodes"]),g=ko(R=>R.activeNodeId),b=ko(R=>R.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=gb(i),S=g===i,x=b(i),A=s.enabled===!1,C=dKt(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",u&&"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(bGt,{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 Ner=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cer=Ner.reduce((n,i)=>{const s=lae(`Primitive.${i}`),u=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 u.displayName=`Primitive.${i}`,{...n,[i]:u}},{}),Ier="Separator",ZFt="horizontal",Rer=["horizontal","vertical"],fKt=H.forwardRef((n,i)=>{const{decorative:s,orientation:u=ZFt,...d}=n,g=Oer(u)?u:ZFt,w=s?{role:"none"}:{"aria-orientation":g==="vertical"?g:void 0,role:"separator"};return I.jsx(Cer.div,{"data-orientation":g,...w,...d,ref:i})});fKt.displayName=Ier;function Oer(n){return Rer.includes(n)}var hKt=fKt;const jz=H.forwardRef(({className:n,orientation:i="horizontal",decorative:s=!0,...u},d)=>I.jsx(hKt,{ref:d,decorative:s,orientation:i,className:Sr("shrink-0 bg-border",i==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n),...u}));jz.displayName=hKt.displayName;function Ler(){const{undo:n,redo:i,canUndo:s,canRedo:u}=iKt(ko.temporal,sKt(b=>({undo:b.undo,redo:b.redo,canUndo:b.pastStates.length>0,canRedo:b.futureStates.length>0}))),d=H.useCallback(()=>{n(),ko.getState().validateAllNodes()},[n]),g=H.useCallback(()=>{i(),ko.getState().validateAllNodes()},[i]);return{undo:d,redo:g,canUndo:s,canRedo:u}}function HMe(){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 Der(n){return{name:"align-bottom",icon:X9n,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))),u=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>u.includes(g.id)?{...g,position:{...g.position,y:s-(g.height||0)}}:g);i.setNodes(d)}}}function Mer(n){return{name:"align-left",icon:r8n,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)),u=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>u.includes(g.id)?{...g,position:{...g.position,x:s}}:g);i.setNodes(d)}}}function Per(n){return{name:"align-right",icon:Q9n,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))),u=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>u.includes(g.id)?{...g,position:{...g.position,x:s-(g.width||0)}}:g);i.setNodes(d)}}}function jer(n){return{name:"align-top",icon:t8n,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)),u=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>u.includes(g.id)?{...g,position:{...g.position,y:s}}:g);i.setNodes(d)}}}function pKt(n){const i=n.selectedNodes.map(u=>u.id),s=n.edges.filter(u=>i.includes(u.source)&&i.includes(u.target));n.setClipboard(JSON.stringify({nodes:n.selectedNodes,edges:s})),n.setPasteCount(0)}function gKt(n,i,s){const u=(s.pasteCount||0)+1;s.setPasteCount(u);const d=50*u,g=new Map,b=s.nodes.map(E=>({...E,selected:!1})),w=n.map(E=>{const S=ez(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 Fer(n){return{name:"copy",icon:$5e,tooltip:n("toolbar.copy"),shortcut:"ctrl+c",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{pKt(i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} copied`)}}}function $er(n){return{name:"cut",icon:fPn,tooltip:n("toolbar.cut"),shortcut:"ctrl+x",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const s=i.selectedNodes.length;pKt(i),i.selectedNodes.forEach(u=>{i.removeNode(u.id)}),N2.success(`${s} node${s!==1?"s":""} cut`)}}}function Ber(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 Uer(n){return{name:"disconnect",icon:TPn,tooltip:n("toolbar.disconnect"),shortcut:"ctrl+shift+d",group:"edit",isEnabled:i=>{if(i.selectedNodes.length===0)return!1;const s=i.selectedNodes.map(u=>u.id);return i.edges.some(u=>s.includes(u.source)||s.includes(u.target))},execute:i=>{const s=i.selectedNodes.map(d=>d.id),u=i.edges.filter(d=>!s.includes(d.source)&&!s.includes(d.target));i.setEdges(u)}}}function Her(n){return{name:"duplicate",icon:O8n,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),u=i.edges.filter(d=>s.includes(d.source)&&s.includes(d.target));gKt(i.selectedNodes,u,i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} duplicated`)}}}function zer(n){return{name:"paste",icon:C8n,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),u=s.nodes||[],d=s.edges||[];if(!Array.isArray(u)||u.length===0)return;gKt(u,d,i)}catch(s){console.warn("Invalid clipboard data, cannot paste.",s)}}}}function Ger(n){return{name:"redo",icon:uPn,tooltip:n("toolbar.redo"),shortcut:["ctrl+shift+z","ctrl+y"],group:"history",isEnabled:i=>i.canRedo,execute:i=>i.redo()}}function qer(n){return{name:"selectAll",icon:nPn,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 u=i.edges.map(d=>({...d,selected:!0}));i.setEdges(u)}}}function Ver(n){return{name:"toggle-enabled",icon:_9t,getIcon:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),u=i.selectedNodes.every(d=>d.data.enabled!==!1);return s?_8n:u?iN:_9t},tooltip:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),u=i.selectedNodes.every(d=>d.data.enabled!==!1);return n(s?"toolbar.enable":u?"toolbar.disable":"toolbar.toggleEnabled")},shortcut:"ctrl+e",group:"edit",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(s=>{const u=s.data.enabled!==!1;i.updateNodeData(s.id,{enabled:!u})})}}}function Wer(n){return{name:"undo",icon:EPn,tooltip:n("toolbar.undo"),shortcut:"ctrl+z",group:"history",isEnabled:i=>i.canUndo,execute:i=>i.undo()}}function Ker(n,i){const s=HMe();return n.split("+").map(u=>u==="ctrl"?i(s?"shortcuts.cmd":"shortcuts.ctrl"):u==="shift"?i("shortcuts.shift"):u==="alt"?i("shortcuts.alt"):u==="arrowup"?i("shortcuts.arrowUp"):u==="arrowdown"?i("shortcuts.arrowDown"):u==="arrowleft"?i("shortcuts.arrowLeft"):u==="arrowright"?i("shortcuts.arrowRight"):u.charAt(0).toUpperCase()+u.slice(1)).join("+")}const qOe=["history","node-specific","selection","clipboard","edit","align","delete"];function Yer(){var ne;const{t:n}=ps(),{nodes:i,edges:s,clipboard:u,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:x,setPasteCount:A}=ko(sKt(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:D,canRedo:L}=Ler(),B=H.useMemo(()=>({selectedNodes:i.filter(Q=>Q.selected),nodes:i,edges:s,clipboard:u,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:x,setPasteCount:A,undo:C,redo:R,canUndo:D,canRedo:L}),[i,s,u,d,g,b,w,E,S,x,A,C,R,D,L]),$=H.useMemo(()=>[Wer(n),Ger(n),Her(n),Fer(n),$er(n),zer(n),Mer(n),Per(n),jer(n),Der(n),Uer(n),qer(n),Ver(n),Ber(n)],[n]),j=$.length>0;H.useEffect(()=>{if(!j)return;const Q=ie=>{const he=ie.target;if(he.tagName==="INPUT"||he.tagName==="TEXTAREA"||he.isContentEditable)return;const ce=HMe()?ie.metaKey:ie.ctrlKey;let fe="";ce&&(fe+="ctrl+"),ie.shiftKey&&(fe+="shift+"),ie.altKey&&(fe+="alt+"),fe+=ie.key.toLowerCase();const K=$.find(pe=>!pe.shortcut||!(Array.isArray(pe.shortcut)?pe.shortcut:[pe.shortcut]).includes(fe)?!1:pe.isEnabled?pe.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 he=ie.group||"node-specific";Q[he]||(Q[he]=[]),Q[he].push(ie)}return Q},[$]);if(!j)return null;let G=0;try{u&&(G=((ne=JSON.parse(u).nodes)==null?void 0:ne.length)||0)}catch{}const ee=Q=>!Q||Q.length===0?null:Q.map(ie=>{const he=ie.getIcon?ie.getIcon(B):ie.icon,ge=typeof ie.tooltip=="function"?ie.tooltip(B):ie.tooltip,ce=ie.isEnabled?ie.isEnabled(B):!0,fe=ie.name==="paste";return I.jsxs(ki,{variant:"ghost",size:"icon",disabled:!ce,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?`${ge} (${Ker(Array.isArray(ie.shortcut)?ie.shortcut[0]:ie.shortcut,n)})`:ge,onClick:()=>ie.execute(B),children:[I.jsx(he,{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 ge;const he=P[Q];return!he||he.length===0?null:I.jsxs("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[ee(he),ie<qOe.length-1&&((ge=P[qOe[ie+1]])==null?void 0:ge.length)>0&&I.jsx(jz,{orientation:"vertical",className:"mx-0.5 h-6 sm:mx-1"})]},Q)})})})})}const Jer={trigger:xer,condition:Ter,action:Ser,delay:Aer,wait:ker,set_variables:_er},Xer={deletable:Eer};function Zer(){const{t:n}=ps(["common","debug"]),i=zae(),{nodes:s,edges:u,onNodesChange:d,onEdgesChange:g,onConnect:b,selectNode:w,addNode:E,selectedNodeId:S,isSimulating:x,executionPath:A,isShowingTrace:C,traceExecutionPath:R,canDeleteEdge:D}=ko(),L=H.useRef(null),{screenToFlowPosition:B,setViewport:$}=kR(),[j,P]=H.useState(null),G=H.useCallback((fe,K)=>{var De;if(K.toNode||!K.fromHandle||!K.fromNode)return;const pe=fe.target;if(!((De=pe==null?void 0:pe.closest)!=null&&De.call(pe,".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),[]),ne=H.useCallback(fe=>{if(!j)return;const Oe={id:ez(fe.type),type:fe.type,position:{x:j.flowPosition.x-180/2,y:j.flowPosition.y-80/2},data:{...fe.defaultData}};E(Oe),b(OQn(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"},[]),he=H.useCallback(async({nodes:fe,edges:K})=>{const pe=K.filter(Oe=>D(Oe.id));return{nodes:fe,edges:pe}},[D]),ge=H.useCallback(fe=>{fe.preventDefault();const K=fe.dataTransfer.getData("application/reactflow");if(K)try{const{type:pe,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:ez(pe),type:pe,position:xe,data:{...Oe}};E(We)}catch(pe){console.error("Failed to parse dropped node data:",pe)}},[B,E]),ce=H.useMemo(()=>u.map(fe=>{const K=A.indexOf(fe.source),pe=A.indexOf(fe.target),Oe=x&&A.length>=2&&K!==-1&&pe!==-1&&pe===K+1,Se=R.indexOf(fe.source),De=R.indexOf(fe.target),Ae=C&&R.length>=2&&Se!==-1&&De!==-1&&De===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}}),[u,x,A,C,R,S,i]);return I.jsxs("div",{className:"h-full w-full",ref:L,children:[I.jsxs(g9n,{colorMode:i?"dark":"light",nodes:s,edges:ce,onNodesChange:d,onEdgesChange:g,onConnect:b,onConnectEnd:G,onBeforeDelete:he,onSelectionChange:Q,onDragOver:ie,onDrop:ge,panOnScroll:HMe(),nodeTypes:Jer,edgeTypes:Xer,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(E9n,{variant:pA.Dots,gap:20,size:1,color:i?"#475569":"#cbd5e1"}),I.jsx(N9n,{}),I.jsx(U9n,{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(Yer,{}),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(LQn,{position:(j==null?void 0:j.screenPosition)??null,direction:(j==null?void 0:j.direction)??"forward",onSelect:ne,onClose:ee})]})}const Qer=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 zMe({className:n,variant:i,...s}){return I.jsx("div",{className:Sr(Qer({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",[etr]=xw(qae),[ttr,GMe]=etr(qae);function ntr(n){const{__scopeCheckbox:i,checked:s,children:u,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}),[D,L]=H.useState(null),[B,$]=H.useState(null),j=H.useRef(!1),P=D?!!b||!!D.closest("form"):!0,G={checked:C,disabled:g,setChecked:R,control:D,setControl:L,name:w,form:b,value:x,hasConsumerStoppedPropagationRef:j,required:S,defaultChecked:tN(d)?!1:d,isFormControl:P,bubbleInput:B,setBubbleInput:$};return I.jsx(ttr,{scope:i,...G,children:rtr(A)?A(G):u})}var bKt="CheckboxTrigger",mKt=H.forwardRef(({__scopeCheckbox:n,onKeyDown:i,onClick:s,...u},d)=>{const{control:g,value:b,disabled:w,checked:E,required:S,setControl:x,setChecked:A,hasConsumerStoppedPropagationRef:C,isFormControl:R,bubbleInput:D}=GMe(bKt,n),L=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":SKt(E),"data-disabled":w?"":void 0,disabled:w,value:b,...u,ref:L,onKeyDown:Lr(i,$=>{$.key==="Enter"&&$.preventDefault()}),onClick:Lr(s,$=>{A(j=>tN(j)?!0:!j),D&&R&&(C.current=$.isPropagationStopped(),C.current||$.stopPropagation())})})});mKt.displayName=bKt;var qMe=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,name:u,checked:d,defaultChecked:g,required:b,disabled:w,value:E,onCheckedChange:S,form:x,...A}=n;return I.jsx(ntr,{__scopeCheckbox:s,checked:d,defaultChecked:g,disabled:w,required:b,onCheckedChange:S,name:u,form:x,value:E,internal_do_not_use_render:({isFormControl:C})=>I.jsxs(I.Fragment,{children:[I.jsx(mKt,{...A,ref:i,__scopeCheckbox:s}),C&&I.jsx(EKt,{__scopeCheckbox:s})]})})});qMe.displayName=qae;var wKt="CheckboxIndicator",yKt=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,forceMount:u,...d}=n,g=GMe(wKt,s);return I.jsx(kw,{present:u||tN(g.checked)||g.checked===!0,children:I.jsx(no.span,{"data-state":SKt(g.checked),"data-disabled":g.disabled?"":void 0,...d,ref:i,style:{pointerEvents:"none",...n.style}})})});yKt.displayName=wKt;var vKt="CheckboxBubbleInput",EKt=H.forwardRef(({__scopeCheckbox:n,...i},s)=>{const{control:u,hasConsumerStoppedPropagationRef:d,checked:g,defaultChecked:b,required:w,disabled:E,name:S,value:x,form:A,bubbleInput:C,setBubbleInput:R}=GMe(vKt,n),D=hs(s,R),L=Gae(g),B=vae(u);H.useEffect(()=>{const j=C;if(!j)return;const P=window.HTMLInputElement.prototype,ee=Object.getOwnPropertyDescriptor(P,"checked").set,ne=!d.current;if(L!==g&&ee){const Q=new Event("click",{bubbles:ne});j.indeterminate=tN(g),ee.call(j,tN(g)?!1:g),j.dispatchEvent(Q)}},[C,L,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:D,style:{...i.style,...B,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});EKt.displayName=vKt;function rtr(n){return typeof n=="function"}function tN(n){return n==="indeterminate"}function SKt(n){return tN(n)?"indeterminate":n?"checked":"unchecked"}const YLe=H.forwardRef(({className:n,...i},s)=>I.jsx(qMe,{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(yKt,{className:Sr("grid place-content-center text-current"),children:I.jsx(oN,{className:"h-4 w-4"})})}));YLe.displayName=qMe.displayName;const Na=H.forwardRef(({className:n,type:i,...s},u)=>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:u,...s}));Na.displayName="Input";var Vae="Switch",[itr]=xw(Vae),[otr,str]=itr(Vae),TKt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,name:u,checked:d,defaultChecked:g,required:b,disabled:w,value:E="on",onCheckedChange:S,form:x,...A}=n,[C,R]=H.useState(null),D=hs(i,P=>R(P)),L=H.useRef(!1),B=C?x||!!C.closest("form"):!0,[$,j]=G2({prop:d,defaultProp:g??!1,onChange:S,caller:Vae});return I.jsxs(otr,{scope:s,checked:$,disabled:w,children:[I.jsx(no.button,{type:"button",role:"switch","aria-checked":$,"aria-required":b,"data-state":kKt($),"data-disabled":w?"":void 0,disabled:w,value:E,...A,ref:D,onClick:Lr(n.onClick,P=>{j(G=>!G),B&&(L.current=P.isPropagationStopped(),L.current||P.stopPropagation())})}),B&&I.jsx(xKt,{control:C,bubbles:!L.current,name:u,value:E,checked:$,required:b,disabled:w,form:x,style:{transform:"translateX(-100%)"}})]})});TKt.displayName=Vae;var AKt="SwitchThumb",_Kt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,...u}=n,d=str(AKt,s);return I.jsx(no.span,{"data-state":kKt(d.checked),"data-disabled":d.disabled?"":void 0,...u,ref:i})});_Kt.displayName=AKt;var atr="SwitchBubbleInput",xKt=H.forwardRef(({__scopeSwitch:n,control:i,checked:s,bubbles:u=!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 D=new Event("click",{bubbles:u});R.call(x,s),x.dispatchEvent(D)}},[E,s,u]),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}})});xKt.displayName=atr;function kKt(n){return n?"checked":"unchecked"}var NKt=TKt,utr=_Kt;const J2=H.forwardRef(({className:n,...i},s)=>I.jsx(NKt,{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(utr,{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=NKt.displayName;function ctr(n){return Array.isArray(n)?n.filter(i=>typeof i=="string"):typeof n=="string"&&n.trim()?[n]:[]}function ltr(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,u=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:u,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:ctr(n.attributes.tags)}}function dtr(n){return[n.entity_id,n.friendly_name,n.description,n.mode||"",n.tags.join(" ")].filter(Boolean).join(" ")}function ftr(n,i,s){return i?[...n].sort((u,d)=>{let g=0;switch(i){case"name":{g=u.friendly_name.toLowerCase().localeCompare(d.friendly_name.toLowerCase());break}case"lastTriggered":{const b=u.last_triggered?new Date(u.last_triggered).getTime():0,w=d.last_triggered?new Date(d.last_triggered).getTime():0;g=b-w;break}case"enabled":{g=Number(u.enabled)-Number(d.enabled);break}}return s==="asc"?g:-g}):[...n]}function htr(n,i){if(!i.trim())return[...n];const s=n.map(d=>({...d,searchText:dtr(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 ptr(n,i,s){const u={};for(const d of n){const g=d.area_id?i[d.area_id]||s.otherArea:s.noArea;u[g]||(u[g]=[]),u[g].push(d)}return u}function gtr({isOpen:n,hass:i,hassConfig:s,entities:u,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]),D=H.useMemo(()=>u.map(j=>ltr(j,C[j.entity_id])).filter(j=>j!==null),[u,C]),L=H.useMemo(()=>htr(D,d),[D,d]),B=H.useMemo(()=>ftr(L,g,b),[L,g,b]),$=H.useMemo(()=>ptr(B,R,w),[B,R,w]);return{areas:E,entityRegistry:x,areaIdToName:R,catalogItems:D,filteredCatalogItems:L,sortedCatalogItems:B,catalogByArea:$}}function btr(n){if(n.length===0)return{minX:0,minY:0,width:0,height:0};let i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,u=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),u=Math.max(u,g.position.x),d=Math.max(d,g.position.y);return{minX:i,minY:s,width:Math.max(0,u-i),height:Math.max(0,d-s)}}function mtr(n,i){return`${n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||`source_${i+1}`}_${i+1}`}function wtr(n){const i={};for(const s of n)if(s.variables)for(const[u,d]of Object.entries(s.variables)){if(!(u in i)){i[u]=d;continue}JSON.stringify(i[u])!==JSON.stringify(d)&&(i[`${s.prefix}__${u}`]=d)}return Object.keys(i).length>0?i:void 0}function ytr(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=>btr(R.graph.nodes)),u=Math.max(...s.map(R=>R.width),0),d=Math.max(...s.map(R=>R.height),0),g=u+260,b=d+220,w=[],E=[],S=[],x=[];n.forEach((R,D)=>{const L=mtr(R.alias||R.automationId||R.entityId,D),B=s[D],$=D%i,j=Math.floor(D/i),P=$*g,G=j*b,ee=new Map;for(const ne of R.graph.nodes){const Q=`${L}__${ne.id}`;ee.set(ne.id,Q),w.push({...ne,id:Q,position:{x:ne.position.x-B.minX+P,y:ne.position.y-B.minY+G}})}for(const ne of R.graph.edges){const Q=ee.get(ne.source),ie=ee.get(ne.target);!Q||!ie||E.push({...ne,id:`${L}__${ne.id}`,source:Q,target:ie})}S.push({automation_id:R.automationId,entity_id:R.entityId,alias:R.alias,node_prefix:L,imported_at:R.importedAt??new Date().toISOString()}),x.push({prefix:L,variables:R.graph.userVariables})});const A={mode:"single",initial_state:!0,...((C=n[0])==null?void 0:C.graph.metadata)||{}};return{id:K5e(),name:"Merged Automation",description:`Merged from ${n.length} automations`,nodes:w,edges:E,metadata:A,version:1,workspace:{mode:"merged",sources:S},userVariables:wtr(x)}}function vtr({isOpen:n,onClose:i}){const{t:s}=ps(["common","dialogs","errors"]),[u,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,D]=H.useState(null),{hass:L,config:B,entities:$}=pb(),{setFlowName:j,setAutomationId:P,reset:G,fromFlowGraph:ee,hasRealChanges:ne}=ko(),{fitView:Q}=kR(),{catalogByArea:ie,sortedCatalogItems:he}=gtr({isOpen:n,hass:L,hassConfig:B,entities:$,searchTerm:u,sortColumn:g,sortDirection:w,labels:{noArea:s("dialogs:import.noArea"),otherArea:s("dialogs:import.otherArea")}});H.useEffect(()=>{n||(x(new Set),d(""))},[n]);const ge=H.useMemo(()=>he.filter(ht=>S.has(ht.entity_id)),[he,S]),ce=H.useMemo(()=>he.length===0?!1:he.every(ht=>S.has(ht.entity_id)),[he,S]),fe=he.length>0,K=ht=>{if(ne()){D(()=>ht),C(!0);return}ht()},pe=()=>{R&&R(),C(!1),D(null)},Oe=()=>{C(!1),D(null)},Se=ht=>{g===ht?E(w==="asc"?"desc":"asc"):(b(ht),E("asc"))},De=ht=>g!==ht?I.jsx(c8n,{className:"ml-1 inline h-3 w-3 opacity-50"}):w==="asc"?I.jsx(d8n,{className:"ml-1 inline h-3 w-3"}):I.jsx(o8n,{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(ce)for(const vt of he)Xt.delete(vt.entity_id);else for(const vt of he)Xt.add(vt.entity_id);return Xt})},We=async ht=>{var Xt;try{const vt=Mv(L,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 GLe.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=()=>{ge.length===1&&K(()=>{We(ge[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(!(ge.length<2))try{const ht=Mv(L,B);if(!ht.isConnected())throw new Error(s("errors:connection.noConnection"));const Xt=await ht.getAutomationConfigsBatch(ge.map(Ft=>Ft.automation_id)),vt=[];for(const Ft of ge){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 GLe.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=ytr(vt);ee(Ct),j(Ue(ge)),P(null),x(new Set),setTimeout(()=>{Q({padding:.2,duration:300})},50),N2.success(s("dialogs:import.mergeSuccess",{count:ge.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(ki,{variant:"outline",onClick:ge.length===1?dt:()=>K(()=>void bt()),disabled:ge.length===0,children:[ge.length>1?I.jsx(X8n,{className:"mr-2 h-4 w-4"}):I.jsx(A9t,{className:"mr-2 h-4 w-4"}),ge.length>1?s("dialogs:import.openTogether"):s("dialogs:import.openSingle")]}),I.jsxs(ki,{onClick:()=>{K(()=>{G(),j(s("defaults.newAutomation")),i()})},className:"bg-green-600 hover:bg-green-700",children:[I.jsx(gGt,{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(yGt,{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:u,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(YLe,{checked:ce,onCheckedChange:xe,title:s(ce?"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"),De("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"),De("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"),De("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(YLe,{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(zMe,{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(L,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(ki,{size:"icon",variant:"ghost",onClick:()=>K(()=>void We(Ft)),title:s("dialogs:import.importAutomation"),children:I.jsx(A9t,{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(ki,{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(ki,{variant:"outline",onClick:Oe,children:s("buttons.cancel")}),I.jsx(ki,{variant:"destructive",onClick:pe,children:s("dialogs:import.confirmDiscard")})]})]})})]}):null}const Etr=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},u)=>I.jsx("div",{ref:u,role:"alert",className:Sr(Etr({variant:i}),n),...s}));dA.displayName="Alert";const CKt=H.forwardRef(({className:n,...i},s)=>I.jsx("h5",{ref:s,className:Sr("mb-1 font-medium leading-none tracking-tight",n),...i}));CKt.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 Str=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ttr=Str.reduce((n,i)=>{const s=lae(`Primitive.${i}`),u=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 u.displayName=`Primitive.${i}`,{...n,[i]:u}},{}),Atr="Label",IKt=H.forwardRef((n,i)=>I.jsx(Ttr.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())}}));IKt.displayName=Atr;var RKt=IKt;const _tr=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(RKt,{ref:s,className:Sr(_tr(),n),...i}));ll.displayName=RKt.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 xtr({isOpen:n,onClose:i,onSaved:s}){const{t:u}=ps(["common","dialogs","errors"]),{flowName:d,flowDescription:g,automationId:b,isSaving:w,setFlowName:E,setFlowDescription:S,setAutomationId:x,saveAutomation:A,updateAutomation:C}=ko(),{hass:R}=pb(),[D,L]=H.useState(g),[B,$]=H.useState(null),[j,P]=H.useState(null),G=!!b;H.useEffect(()=>{n&&(L(g),$(null),P(null))},[n,g]);const ee=async ce=>{if(!ce.trim()){P(null);return}try{if(await Mv(R).automationExistsByAlias(ce)&&!G){const K=await Mv(R).getUniqueAutomationAlias(ce);P(K)}else P(null)}catch(fe){console.warn("Failed to check name conflict:",fe),P(null)}},ne=async()=>{if(!R){$(u("errors:connection.notConnected"));return}if(!d.trim()){$(u("errors:form.nameRequired"));return}$(null);try{S(D.trim());let ce;G?(await C(R),ce=b||""):ce=await A(R),s==null||s(ce),i()}catch(ce){const fe=ce instanceof Error?ce.message:u("errors:api.unknownError");$(fe)}},Q=()=>{$(null),P(null),i()},ie=ce=>{E(ce),ee(ce)},he=()=>{j&&(E(j),P(null))},ge=async()=>{if(!R){$(u("errors:connection.notConnected"));return}$(null);try{const ce=await Mv(R).getUniqueAutomationAlias(d);E(ce),S(D.trim()),x(null);const fe=await A(R);s==null||s(fe),i()}catch(ce){const fe=ce instanceof Error?ce.message:u("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(wGt,{className:"h-5 w-5"}),u(G?"dialogs:save.titleUpdate":"dialogs:save.title")]}),I.jsx(lN,{children:u(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:u("dialogs:save.nameLabel")}),I.jsx(Na,{id:"automation-name",value:d,onChange:ce=>ie(ce.target.value),placeholder:u("placeholders.enterAutomationName"),disabled:w})]}),j&&I.jsxs(dA,{children:[I.jsx(x9t,{className:"h-4 w-4"}),I.jsxs(fA,{className:"flex items-center justify-between",children:[I.jsx("span",{children:u("dialogs:save.nameConflict",{suggestedName:j})}),I.jsx(ki,{variant:"outline",size:"sm",onClick:he,disabled:w,children:u("buttons.use")})]})]}),I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"automation-description",children:u("dialogs:save.descriptionLabel")}),I.jsx($v,{id:"automation-description",value:D,onChange:ce=>L(ce.target.value),placeholder:u("placeholders.describeAutomation"),rows:3,disabled:w})]}),B&&I.jsxs(dA,{variant:"destructive",children:[I.jsx(x9t,{className:"h-4 w-4"}),I.jsx(fA,{children:B})]}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx(ki,{variant:"outline",onClick:Q,disabled:w,children:u("buttons.cancel")}),G&&I.jsxs(ki,{variant:"outline",onClick:ge,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"}),u("buttons.saveAsCopy")]}),I.jsx(ki,{onClick:ne,disabled:w||!d.trim(),children:w?I.jsxs(I.Fragment,{children:[I.jsx(QH,{className:"mr-2 h-4 w-4 animate-spin"}),u(G?"status.updating":"status.saving")]}):I.jsxs(I.Fragment,{children:[I.jsx(oN,{className:"mr-2 h-4 w-4"}),u(G?"buttons.update":"buttons.save")]})})]})]})]})})}function ktr({isOpen:n,onClose:i,config:s,onSave:u}){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"))}},D=()=>{u({url:g.replace(/\/$/,""),token:w}),i()},L=()=>{b(""),E(""),u({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(ki,{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(pGt,{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(ki,{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(j8n,{className:"h-4 w-4"}),d("dialogs:settings.tokenGuideLink")]})})]}),I.jsxs("div",{className:"flex items-center justify-between pt-4",children:[I.jsx(ki,{variant:"destructive",onClick:L,size:"sm",children:d("dialogs:settings.disconnect")}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(ki,{variant:"outline",onClick:i,size:"sm",children:d("buttons.cancel")}),I.jsx(ki,{onClick:D,disabled:!g||!w,size:"sm",children:d("buttons.save")})]})]})]})})}function Ntr({isOpen:n,onClose:i,onImportSuccess:s}){const{t:u}=ps(["common","dialogs"]),[d,g]=H.useState(""),[b,w]=H.useState(!1),[E,S]=H.useState(null),[x,A]=H.useState([]),{fromFlowGraph:C}=ko(),{fitView:R}=kR();if(!n)return null;const D=async()=>{var B;w(!0),S(null),A([]);try{const $=await GLe.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(),L()},1e3))}catch($){S($ instanceof Error?$.message:"Unknown error occurred")}finally{w(!1)}},L=()=>{g(""),S(null),A([]),i()};return I.jsx(wR,{open:n,onOpenChange:()=>L(),children:I.jsxs(aN,{className:"flex max-h-[90vh] max-w-3xl flex-col",children:[I.jsxs(uN,{children:[I.jsx(cN,{children:u("dialogs:importYaml.title")}),I.jsx(lN,{children:u("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:[u("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:u("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(pGt,{className:"h-4 w-4"}),I.jsx(fA,{children:u("dialogs:importYaml.successLoading")})]}),I.jsx(dA,{children:I.jsxs(fA,{className:"text-xs",children:[I.jsx("strong",{children:u("dialogs:importYaml.tipLabel")})," ",u("dialogs:importYaml.tipText")]})})]}),I.jsxs("div",{className:"flex items-center justify-end gap-2 pt-4",children:[I.jsx(ki,{variant:"outline",onClick:L,disabled:b,children:u("buttons.cancel")}),I.jsxs(ki,{onClick:D,disabled:!d.trim()||b,children:[I.jsx(_Pn,{className:"mr-2 h-4 w-4"}),u(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 Lo({label:n,required:i,description:s,children:u}){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:"*"})]}),u,s&&I.jsx("p",{className:"text-muted-foreground text-xs",children:s})]})}const QFt={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 e$t(n,i=[]){const s=[...QFt.common,...QFt[n]||[]];return new Set([...s,...i])}function mse(n,[i,s]){return Math.min(s,Math.max(i,n))}function t$t(n){const i=Ctr(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,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,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Ltr(d),w=Otr(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,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 u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Ltr(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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,u]=xw(i),[d,g]=s(i,{collectionRef:{current:null},itemMap:new Map}),b=L=>{const{scope:B,children:$}=L,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=t$t(w),S=Hn.forwardRef((L,B)=>{const{scope:$,children:j}=L,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=t$t(x),R=Hn.forwardRef((L,B)=>{const{scope:$,children:j,...P}=L,G=Hn.useRef(null),ee=hs(B,G),ne=g(x,$);return Hn.useEffect(()=>(ne.itemMap.set(G,{ref:G,...P}),()=>void ne.itemMap.delete(G))),I.jsx(C,{[A]:"",ref:ee,children:j})});R.displayName=x;function D(L){const B=g(n+"CollectionConsumer",L);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((ne,Q)=>P.indexOf(ne.ref.current)-P.indexOf(Q.ref.current))},[B.collectionRef,B.itemMap])}return[{Provider:b,Slot:S,ItemSlot:R},D,u]}var Dtr=H.createContext(void 0);function Fz(n){const i=H.useContext(Dtr);return n||i||"ltr"}function Mtr(n){const i=Ptr(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,w=H.Children.toArray(g),E=w.find(Ftr);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 Ptr(n){const i=H.forwardRef((s,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Btr(d),w=$tr(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var jtr=Symbol("radix.slottable");function Ftr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===jtr}function $tr(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Btr(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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 OKt=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"}),Utr="VisuallyHidden",Htr=H.forwardRef((n,i)=>I.jsx(no.span,{...n,ref:i,style:{...OKt,...n.style}}));Htr.displayName=Utr;var ztr=[" ","Enter","ArrowUp","ArrowDown"],Gtr=[" ","Enter"],ER="Select",[Kae,Yae,qtr]=Wae(ER),[VM]=xw(ER,[qtr,BM]),Jae=BM(),[Vtr,xN]=VM(ER),[Wtr,Ktr]=VM(ER),LKt=n=>{const{__scopeSelect:i,children:s,open:u,defaultOpen:d,onOpenChange:g,value:b,defaultValue:w,onValueChange:E,dir:S,name:x,autoComplete:A,disabled:C,required:R,form:D}=n,L=Jae(i),[B,$]=H.useState(null),[j,P]=H.useState(null),[G,ee]=H.useState(!1),ne=Fz(S),[Q,ie]=G2({prop:u,defaultProp:d??!1,onChange:g,caller:ER}),[he,ge]=G2({prop:b,defaultProp:w,onChange:E,caller:ER}),ce=H.useRef(null),fe=B?D||!!B.closest("form"):!0,[K,pe]=H.useState(new Set),Oe=Array.from(K).map(Se=>Se.props.value).join(";");return I.jsx(rMe,{...L,children:I.jsxs(Vtr,{required:R,scope:i,trigger:B,onTriggerChange:$,valueNode:j,onValueNodeChange:P,valueNodeHasChildren:G,onValueNodeHasChildrenChange:ee,contentId:Bh(),value:he,onValueChange:ge,open:Q,onOpenChange:ie,dir:ne,triggerPointerDownPosRef:ce,disabled:C,children:[I.jsx(Kae.Provider,{scope:i,children:I.jsx(Wtr,{scope:n.__scopeSelect,onNativeOptionAdd:H.useCallback(Se=>{pe(De=>new Set(De).add(Se))},[]),onNativeOptionRemove:H.useCallback(Se=>{pe(De=>{const Ae=new Set(De);return Ae.delete(Se),Ae})},[]),children:s})}),fe?I.jsxs(rYt,{"aria-hidden":!0,required:R,tabIndex:-1,name:x,autoComplete:A,value:he,onChange:Se=>ge(Se.target.value),disabled:C,form:D,children:[he===void 0?I.jsx("option",{value:""}):null,Array.from(K)]},Oe):null]})})};LKt.displayName=ER;var DKt="SelectTrigger",MKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,disabled:u=!1,...d}=n,g=Jae(s),b=xN(DKt,s),w=b.disabled||u,E=hs(i,b.onTriggerChange),S=Yae(s),x=H.useRef("touch"),[A,C,R]=oYt(L=>{const B=S().filter(P=>!P.disabled),$=B.find(P=>P.value===b.value),j=sYt(B,L,$);j!==void 0&&b.onValueChange(j.value)}),D=L=>{w||(b.onOpenChange(!0),R()),L&&(b.triggerPointerDownPosRef.current={x:Math.round(L.pageX),y:Math.round(L.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":iYt(b.value)?"":void 0,...d,ref:E,onClick:Lr(d.onClick,L=>{L.currentTarget.focus(),x.current!=="mouse"&&D(L)}),onPointerDown:Lr(d.onPointerDown,L=>{x.current=L.pointerType;const B=L.target;B.hasPointerCapture(L.pointerId)&&B.releasePointerCapture(L.pointerId),L.button===0&&L.ctrlKey===!1&&L.pointerType==="mouse"&&(D(L),L.preventDefault())}),onKeyDown:Lr(d.onKeyDown,L=>{const B=A.current!=="";!(L.ctrlKey||L.altKey||L.metaKey)&&L.key.length===1&&C(L.key),!(B&&L.key===" ")&&ztr.includes(L.key)&&(D(),L.preventDefault())})})})});MKt.displayName=DKt;var PKt="SelectValue",jKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:u,style:d,children:g,placeholder:b="",...w}=n,E=xN(PKt,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:iYt(E.value)?I.jsx(I.Fragment,{children:b}):g})});jKt.displayName=PKt;var Ytr="SelectIcon",FKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,children:u,...d}=n;return I.jsx(no.span,{"aria-hidden":!0,...d,ref:i,children:u||"▼"})});FKt.displayName=Ytr;var Jtr="SelectPortal",$Kt=n=>I.jsx(Iz,{asChild:!0,...n});$Kt.displayName=Jtr;var SR="SelectContent",BKt=H.forwardRef((n,i)=>{const s=xN(SR,n.__scopeSelect),[u,d]=H.useState();if(Hp(()=>{d(new DocumentFragment)},[]),!s.open){const g=u;return g?xR.createPortal(I.jsx(UKt,{scope:n.__scopeSelect,children:I.jsx(Kae.Slot,{scope:n.__scopeSelect,children:I.jsx("div",{children:n.children})})}),g):null}return I.jsx(HKt,{...n,ref:i})});BKt.displayName=SR;var _v=10,[UKt,kN]=VM(SR),Xtr="SelectContentImpl",Ztr=Mtr("SelectContent.RemoveScroll"),HKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,position:u="item-aligned",onCloseAutoFocus:d,onEscapeKeyDown:g,onPointerDownOutside:b,side:w,sideOffset:E,align:S,alignOffset:x,arrowPadding:A,collisionBoundary:C,collisionPadding:R,sticky:D,hideWhenDetached:L,avoidCollisions:B,...$}=n,j=xN(SR,s),[P,G]=H.useState(null),[ee,ne]=H.useState(null),Q=hs(i,vt=>G(vt)),[ie,he]=H.useState(null),[ge,ce]=H.useState(null),fe=Yae(s),[K,pe]=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]),De=H.useCallback(()=>Se([ie,P]),[Se,ie,P]);H.useEffect(()=>{K&&De()},[K,De]);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]=oYt(vt=>{const Ct=fe().filter(Zn=>!Zn.disabled),Ft=Ct.find(Zn=>Zn.ref.current===document.activeElement),On=sYt(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)&&(he(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)&&ce(vt)},[j.value]),ht=u==="popper"?JLe:zKt,Xt=ht===JLe?{side:w,sideOffset:E,align:S,alignOffset:x,arrowPadding:A,collisionBoundary:C,collisionPadding:R,sticky:D,hideWhenDetached:L,avoidCollisions:B}:{};return I.jsx(UKt,{scope:s,content:P,viewport:ee,onViewportChange:ne,itemRefCallback:Ue,selectedItem:ie,onItemLeave:bt,itemTextRefCallback:kt,focusSelectedItem:De,selectedItemText:ge,position:u,isPositioned:K,searchRef:We,children:I.jsx(Rz,{as:Ztr,allowPinchZoom:!0,children:I.jsx(Cz,{asChild:!0,trapped:j.open,onMountAutoFocus:vt=>{vt.preventDefault()},onUnmountAutoFocus:Lr(d,vt=>{var Ct;(Ct=j.trigger)==null||Ct.focus({preventScroll:!0}),vt.preventDefault()}),children:I.jsx(Nz,{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:()=>pe(!0),ref:Q,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:Lr($.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()}})})})})})})});HKt.displayName=Xtr;var Qtr="SelectItemAlignedPosition",zKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onPlaced:u,...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),D=H.useRef(!0),{viewport:L,selectedItem:B,selectedItemText:$,focusSelectedItem:j}=b,P=H.useCallback(()=>{if(g.trigger&&g.valueNode&&w&&S&&L&&B&&$){const Q=g.trigger.getBoundingClientRect(),ie=S.getBoundingClientRect(),he=g.valueNode.getBoundingClientRect(),ge=$.getBoundingClientRect();if(g.dir!=="rtl"){const Zn=ge.left-ie.left,Yn=he.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-ge.right,Yn=window.innerWidth-he.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 ce=C(),fe=window.innerHeight-_v*2,K=L.scrollHeight,pe=window.getComputedStyle(S),Oe=parseInt(pe.borderTopWidth,10),Se=parseInt(pe.paddingTop,10),De=parseInt(pe.borderBottomWidth,10),Ae=parseInt(pe.paddingBottom,10),xe=Oe+Se+K+Ae+De,We=Math.min(B.offsetHeight*5,xe),dt=window.getComputedStyle(L),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=ce.length>0&&B===ce[ce.length-1].ref.current;w.style.bottom="0px";const Yn=S.clientHeight-L.offsetTop-L.offsetHeight,vr=Math.max(ht,Xt+(Zn?bt:0)+Yn+De),Ui=Ct+vr;w.style.height=Ui+"px"}else{const Zn=ce.length>0&&B===ce[0].ref.current;w.style.top="0px";const vr=Math.max(kt,Oe+L.offsetTop+(Zn?Ue:0)+Xt)+Ft;w.style.height=vr+"px",L.scrollTop=Ct-kt+L.offsetTop}w.style.margin=`${_v}px 0`,w.style.minHeight=We+"px",w.style.maxHeight=fe+"px",u==null||u(),requestAnimationFrame(()=>R.current=!0)}},[C,g.trigger,g.valueNode,w,S,L,B,$,g.dir,u]);Hp(()=>P(),[P]);const[G,ee]=H.useState();Hp(()=>{S&&ee(window.getComputedStyle(S).zIndex)},[S]);const ne=H.useCallback(Q=>{Q&&D.current===!0&&(P(),j==null||j(),D.current=!1)},[P,j]);return I.jsx(tnr,{scope:s,contentWrapper:w,shouldExpandOnScrollRef:R,onScrollButtonChange:ne,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}})})})});zKt.displayName=Qtr;var enr="SelectPopperPosition",JLe=H.forwardRef((n,i)=>{const{__scopeSelect:s,align:u="start",collisionPadding:d=_v,...g}=n,b=Jae(s);return I.jsx(iMe,{...b,...g,ref:i,align:u,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)"}})});JLe.displayName=enr;var[tnr,VMe]=VM(SR,{}),XLe="SelectViewport",GKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,nonce:u,...d}=n,g=kN(XLe,s),b=VMe(XLe,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:u}),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:Lr(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 D=window.innerHeight-_v*2,L=parseFloat(A.style.minHeight),B=parseFloat(A.style.height),$=Math.max(L,B);if($<D){const j=$+R,P=Math.min(D,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})})})]})});GKt.displayName=XLe;var qKt="SelectGroup",[nnr,rnr]=VM(qKt),inr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...u}=n,d=Bh();return I.jsx(nnr,{scope:s,id:d,children:I.jsx(no.div,{role:"group","aria-labelledby":d,...u,ref:i})})});inr.displayName=qKt;var VKt="SelectLabel",WKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...u}=n,d=rnr(VKt,s);return I.jsx(no.div,{id:d.id,...u,ref:i})});WKt.displayName=VKt;var wse="SelectItem",[onr,KKt]=VM(wse),YKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,value:u,disabled:d=!1,textValue:g,...b}=n,w=xN(wse,s),E=kN(wse,s),S=w.value===u,[x,A]=H.useState(g??""),[C,R]=H.useState(!1),D=hs(i,j=>{var P;return(P=E.itemRefCallback)==null?void 0:P.call(E,j,u,d)}),L=Bh(),B=H.useRef("touch"),$=()=>{d||(w.onValueChange(u),w.onOpenChange(!1))};if(u==="")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(onr,{scope:s,value:u,disabled:d,textId:L,isSelected:S,onItemTextChange:H.useCallback(j=>{A(P=>P||((j==null?void 0:j.textContent)??"").trim())},[]),children:I.jsx(Kae.ItemSlot,{scope:s,value:u,disabled:d,textValue:x,children:I.jsx(no.div,{role:"option","aria-labelledby":L,"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:D,onFocus:Lr(b.onFocus,()=>R(!0)),onBlur:Lr(b.onBlur,()=>R(!1)),onClick:Lr(b.onClick,()=>{B.current!=="mouse"&&$()}),onPointerUp:Lr(b.onPointerUp,()=>{B.current==="mouse"&&$()}),onPointerDown:Lr(b.onPointerDown,j=>{B.current=j.pointerType}),onPointerMove:Lr(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:Lr(b.onPointerLeave,j=>{var P;j.currentTarget===document.activeElement&&((P=E.onItemLeave)==null||P.call(E))}),onKeyDown:Lr(b.onKeyDown,j=>{var G;((G=E.searchRef)==null?void 0:G.current)!==""&&j.key===" "||(Gtr.includes(j.key)&&$(),j.key===" "&&j.preventDefault())})})})})});YKt.displayName=wse;var iH="SelectItemText",JKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:u,style:d,...g}=n,b=xN(iH,s),w=kN(iH,s),E=KKt(iH,s),S=Ktr(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,D=H.useMemo(()=>I.jsx("option",{value:E.value,disabled:E.disabled,children:R},E.value),[E.disabled,E.value,R]),{onNativeOptionAdd:L,onNativeOptionRemove:B}=S;return Hp(()=>(L(D),()=>B(D)),[L,B,D]),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]})});JKt.displayName=iH;var XKt="SelectItemIndicator",ZKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...u}=n;return KKt(XKt,s).isSelected?I.jsx(no.span,{"aria-hidden":!0,...u,ref:i}):null});ZKt.displayName=XKt;var ZLe="SelectScrollUpButton",QKt=H.forwardRef((n,i)=>{const s=kN(ZLe,n.__scopeSelect),u=VMe(ZLe,n.__scopeSelect),[d,g]=H.useState(!1),b=hs(i,u.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(tYt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop-E.offsetHeight)}}):null});QKt.displayName=ZLe;var QLe="SelectScrollDownButton",eYt=H.forwardRef((n,i)=>{const s=kN(QLe,n.__scopeSelect),u=VMe(QLe,n.__scopeSelect),[d,g]=H.useState(!1),b=hs(i,u.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(tYt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop+E.offsetHeight)}}):null});eYt.displayName=QLe;var tYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onAutoScroll:u,...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:Lr(d.onPointerDown,()=>{b.current===null&&(b.current=window.setInterval(u,50))}),onPointerMove:Lr(d.onPointerMove,()=>{var S;(S=g.onItemLeave)==null||S.call(g),b.current===null&&(b.current=window.setInterval(u,50))}),onPointerLeave:Lr(d.onPointerLeave,()=>{E()})})}),snr="SelectSeparator",nYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...u}=n;return I.jsx(no.div,{"aria-hidden":!0,...u,ref:i})});nYt.displayName=snr;var eDe="SelectArrow",anr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...u}=n,d=Jae(s),g=xN(eDe,s),b=kN(eDe,s);return g.open&&b.position==="popper"?I.jsx(oMe,{...d,...u,ref:i}):null});anr.displayName=eDe;var unr="SelectBubbleInput",rYt=H.forwardRef(({__scopeSelect:n,value:i,...s},u)=>{const d=H.useRef(null),g=hs(u,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:{...OKt,...s.style},ref:g,defaultValue:i})});rYt.displayName=unr;function iYt(n){return n===""||n===void 0}function oYt(n){const i=q2(n),s=H.useRef(""),u=H.useRef(0),d=H.useCallback(b=>{const w=s.current+b;i(w),function E(S){s.current=S,window.clearTimeout(u.current),S!==""&&(u.current=window.setTimeout(()=>E(""),1e3))}(w)},[i]),g=H.useCallback(()=>{s.current="",window.clearTimeout(u.current)},[]);return H.useEffect(()=>()=>window.clearTimeout(u.current),[]),[s,d,g]}function sYt(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=cnr(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 cnr(n,i){return n.map((s,u)=>n[(i+u)%n.length])}var lnr=LKt,aYt=MKt,dnr=jKt,fnr=FKt,hnr=$Kt,uYt=BKt,pnr=GKt,cYt=WKt,lYt=YKt,gnr=JKt,bnr=ZKt,dYt=QKt,fYt=eYt,hYt=nYt;const zp=lnr,Gp=dnr,zh=H.forwardRef(({className:n,children:i,...s},u)=>I.jsxs(aYt,{ref:u,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(fnr,{asChild:!0,children:I.jsx(nae,{className:"h-4 w-4 opacity-50"})})]}));zh.displayName=aYt.displayName;const pYt=H.forwardRef(({className:n,...i},s)=>I.jsx(dYt,{ref:s,className:Sr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(v8n,{className:"h-4 w-4"})}));pYt.displayName=dYt.displayName;const gYt=H.forwardRef(({className:n,...i},s)=>I.jsx(fYt,{ref:s,className:Sr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(nae,{className:"h-4 w-4"})}));gYt.displayName=fYt.displayName;const Gh=H.forwardRef(({className:n,children:i,position:s="popper",container:u,...d},g)=>I.jsx(hnr,{container:u,children:I.jsxs(uYt,{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(pYt,{}),I.jsx(pnr,{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(gYt,{})]})}));Gh.displayName=uYt.displayName;const mnr=H.forwardRef(({className:n,...i},s)=>I.jsx(cYt,{ref:s,className:Sr("px-2 py-1.5 font-semibold text-sm",n),...i}));mnr.displayName=cYt.displayName;const to=H.forwardRef(({className:n,children:i,...s},u)=>I.jsxs(lYt,{ref:u,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(bnr,{children:I.jsx(oN,{className:"h-4 w-4"})})}),I.jsx(gnr,{children:i})]}));to.displayName=lYt.displayName;const wnr=H.forwardRef(({className:n,...i},s)=>I.jsx(hYt,{ref:s,className:Sr("-mx-1 my-1 h-px bg-muted",n),...i}));wnr.displayName=hYt.displayName;const ynr=["single","restart","queued","parallel"],vnr=["silent","warning","critical"],n$t=new Set(["queued","parallel"]);function Enr(){const{t:n}=ps("common"),i=ko(C=>C.flowName),s=ko(C=>C.flowDescription),u=ko(C=>C.setFlowName),d=ko(C=>C.setFlowDescription),g=ko(C=>C.flowMetadata),b=ko(C=>C.setFlowMetadata),w=g.mode??"single",E=n$t.has(w),S=C=>{const R=C,D={mode:R};n$t.has(R)||(D.max=void 0,D.max_exceeded=void 0),b(D)},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(Lo,{label:n("labels.automationName"),children:I.jsx(Na,{type:"text",value:i,onChange:C=>u(C.target.value),placeholder:n("placeholders.enterAutomationName")})}),I.jsx(Lo,{label:n("automationSettings.description"),children:I.jsx($v,{value:s,onChange:C=>d(C.target.value),placeholder:n("placeholders.describeAutomation"),rows:3})}),I.jsx(jz,{}),I.jsxs(Lo,{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:ynr.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(Lo,{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(Lo,{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")}),vnr.map(C=>I.jsx(to,{value:C,children:n(`automationSettings.maxExceededOptions.${C}`)},C))]})]})})]})]})}function bYt({options:n,value:i,onChange:s,placeholder:u,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:D,setQuery:L,filteredItems:B}=sVt(n,{keys:S,threshold:.4,includeScore:!0,ignoreLocation:!0,includeMatches:!0,minMatchCharLength:1,...x}),$=n.find(P=>P.value===i),j=P=>{L(P)};return I.jsxs(aMe,{open:C,onOpenChange:R,children:[I.jsx(Jqt,{asChild:!0,children:I.jsxs(ki,{variant:"outline",role:"combobox","aria-expanded":C,className:Sr("flex w-full justify-between",g),disabled:b,children:[$?E?E($):$.label:u||A("combobox.select"),I.jsx(hGt,{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:u||A("combobox.select"),className:"h-9",value:D,onValueChange:j}),I.jsxs(pae,{children:[I.jsx(gae,{children:A("combobox.noOptions")}),I.jsx(tz,{children:B.map(P=>I.jsxs(nz,{value:P.value,onSelect:G=>{s(G===i?"":G),R(!1),L("")},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 tDe({values:n,onChange:i,placeholder:s="Add ID...",className:u}){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",u),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(ki,{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 Snr={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 Tnr(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 Snr[i]||{label:i,color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"}}function Anr(n){return n.attributes.friendly_name||n.entity_id}function yse({value:n,onChange:i,entities:s,placeholder:u="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 $=Tnr(B.entity_id);return{value:B.entity_id,label:Anr(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),D=C&&!R,L=B=>{i(B)};return I.jsxs("div",{className:Sr("relative",d),children:[I.jsx(bYt,{options:A,value:C||"",onChange:L,placeholder:u,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}),D&&I.jsx("div",{className:"mt-1 truncate font-mono text-red-600",children:C})]})}function Xae({value:n,onChange:i,entities:s,placeholder:u="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:u,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 WMe(n,i,s){const d=n.data[i];return d??s}function jh(n,i,s=""){const u=WMe(n,i,s);if(typeof u=="string")return u;if(typeof u=="object"&&u!==null&&!Array.isArray(u)){const d=u;if(typeof d.value=="string")return d.value}return s}function N5(n,i,s={}){const u=WMe(n,i,s);return typeof u=="object"&&u!==null&&!Array.isArray(u)?u:s}function _nr({response:n,responseVariable:i,showResponseVariable:s,setShowResponseVariable:u,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!==void 0&&VVt(i)&&I.jsxs(dA,{variant:"destructive",className:"mt-2 border-0 px-0",children:[I.jsx(CKt,{children:b("labels.warning")}),I.jsx(fA,{children:b("nodes:responseVariableField.currentNodeWarning")})]})]});return n.optional?I.jsxs(Lo,{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=>{u(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(Lo,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.requiredDescription"),children:w})}function xnr({serviceFields:n,currentData:i,onChange:s}){const{t:u}=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:u("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(Lo,{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(Lo,{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:u("placeholders.none")})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"__NONE__",children:u("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:u("labels.requiredAsterisk")})]})]},d);if(w==="entity"){if(E.multiple===!0){const D=Array.isArray(S)?S:S?[String(S)]:[];return I.jsx(Lo,{label:x,required:g.required,description:g.description,children:I.jsx(Xae,{value:D,onChange:L=>s(d,L),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return I.jsx(Lo,{label:x,required:g.required,description:g.description,children:I.jsx(yse,{value:String(S??""),onChange:D=>s(d,D),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return I.jsx(Lo,{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 knr=new Set(["homeassistant","group"]);function Nnr(n,i){if(!n||!n.includes("."))return i;const s=n.split(".")[0];if(knr.has(s))return i;const u=i.filter(d=>d.entity_id.startsWith(`${s}.`));return u.length>0?u:i}function Cnr({node:n,onChange:i,entities:s}){const{t:u}=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)||{},D=N5(n,"data",{}),L=jh(n,"response_variable"),[B,$]=H.useState(!!L),j=x!==void 0?"stop":E?"event":"service";H.useEffect(()=>{$(!!L)},[L]);const P=De=>{De==="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)):De==="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=De=>{i("service",De),i("data",void 0)},ee=De=>{const xe={...N5(n,"target",{}),entity_id:De.length>0?De:void 0};xe.entity_id||delete xe.entity_id,i("target",Object.keys(xe).length>0?xe:void 0)},ne=De=>{const xe={...N5(n,"target",{}),device_id:De.length>0?De:void 0};xe.device_id||delete xe.device_id,i("target",Object.keys(xe).length>0?xe:void 0)},Q=De=>{const xe={...N5(n,"target",{}),area_id:De.length>0?De:void 0};xe.area_id||delete xe.area_id,i("target",Object.keys(xe).length>0?xe:void 0)},ie=(De,Ae)=>{const xe={...D,[De]: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)},he=De=>{i("response_variable",De.target.value===""?void 0:De.target.value)},ge=N5(n,"target",{}),ce=De=>De?Array.isArray(De)?De:[De]:[],fe=ce(ge.entity_id),K=ce(ge.device_id),pe=ce(ge.area_id),Oe=K.length>0,Se=pe.length>0;return I.jsxs(I.Fragment,{children:[I.jsx(Lo,{label:u("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:u("nodes:actions.actionTypes.service")}),I.jsx(to,{value:"event",children:u("nodes:actions.actionTypes.event")}),I.jsx(to,{value:"stop",children:u("nodes:actions.actionTypes.stop")})]})]})}),j==="stop"?I.jsxs(I.Fragment,{children:[I.jsx(Lo,{label:u("nodes:actions.stopMessageLabel"),children:I.jsx(Na,{type:"text",value:x??"",onChange:De=>i("stop",De.target.value),placeholder:u("nodes:actions.stopMessagePlaceholder")})}),I.jsx(Lo,{label:u("nodes:actions.markAsError"),children:I.jsx(J2,{checked:A,onCheckedChange:De=>i("error",De||void 0)})})]}):j==="event"?I.jsx(I.Fragment,{children:I.jsxs(Lo,{label:u("nodes:actions.eventNameLabel"),required:!0,children:[I.jsx(Na,{type:"text",value:E,onChange:De=>i("event",De.target.value||void 0),placeholder:u("nodes:actions.eventNamePlaceholder")}),I.jsx(H2,{message:b("event")})]})}):I.jsxs(I.Fragment,{children:[I.jsxs(Lo,{label:u("nodes:actions.actionLabel"),required:!0,children:[I.jsx(bYt,{options:d().map(({domain:De,service:Ae})=>({value:`${De}.${Ae}`,label:`${De}.${Ae}`})),value:w,onChange:G,placeholder:u("nodes:actions.selectAction")}),I.jsx(H2,{message:b("service")})]}),((C==null?void 0:C.target)||fe.length>0)&&I.jsx(Lo,{label:u("nodes:actions.targetEntities"),children:I.jsx(Xae,{value:fe,onChange:ee,entities:Nnr(w,s),placeholder:u("nodes:actions.selectTargetEntities")})}),(Oe||(C==null?void 0:C.target))&&I.jsx(Lo,{label:u("nodes:actions.targetDevices"),description:u("nodes:actions.targetDevicesDescription"),children:I.jsx(tDe,{values:K,onChange:ne,placeholder:u("nodes:actions.addDeviceId")})}),(Se||(C==null?void 0:C.target))&&I.jsx(Lo,{label:u("nodes:actions.targetAreas"),description:u("nodes:actions.targetAreasDescription"),children:I.jsx(tDe,{values:pe,onChange:Q,placeholder:u("nodes:actions.addAreaId")})}),I.jsx(xnr,{serviceFields:R,currentData:D,onChange:ie}),(C==null?void 0:C.response)&&I.jsx(_nr,{response:C.response,responseVariable:L,showResponseVariable:B,setShowResponseVariable:$,onChange:i,handleResponseVariableChange:he})]})]})}function mYt({value:n,onChange:i}){const{t:s}=ps(["common","nodes"]),u=typeof n=="string",d=!u&&typeof n=="object"&&n!==null?n:{},[g,b]=H.useState(u),w=S=>{if(b(S),S){const x=d.hours??0,A=d.minutes??0,C=d.seconds??0,R=d.milliseconds??0,D=[x,A,C].map(B=>B.toString().padStart(2,"0")).join(":"),L=R?`${D}.${R}`:D;i(L)}else if(u){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,D]=x;i({hours:Number(A),minutes:Number(C),seconds:Number(R),...D?{milliseconds:Number(D)}:{}})}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 D=C[R];D==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:u?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 wYt({label:n,description:i,value:s,onChange:u}){const{t:d}=ps(["common","nodes"]);return I.jsx(Lo,{label:n??d("nodes:durationField.label"),description:i||d("nodes:durationField.description"),children:I.jsx(mYt,{value:s,onChange:u})})}var VOe="rovingFocusGroup.onEntryFocus",Inr={bubbles:!1,cancelable:!0},$z="RovingFocusGroup",[nDe,yYt,Rnr]=Wae($z),[Onr,Zae]=xw($z,[Rnr]),[Lnr,Dnr]=Onr($z),vYt=H.forwardRef((n,i)=>I.jsx(nDe.Provider,{scope:n.__scopeRovingFocusGroup,children:I.jsx(nDe.Slot,{scope:n.__scopeRovingFocusGroup,children:I.jsx(Mnr,{...n,ref:i})})}));vYt.displayName=$z;var Mnr=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,orientation:u,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),D=Fz(g),[L,B]=G2({prop:b,defaultProp:w??null,onChange:E,caller:$z}),[$,j]=H.useState(!1),P=q2(S),G=yYt(s),ee=H.useRef(!1),[ne,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(Lnr,{scope:s,orientation:u,dir:D,loop:d,currentTabStopId:L,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:$||ne===0?-1:0,"data-orientation":u,...A,ref:R,style:{outline:"none",...n.style},onMouseDown:Lr(n.onMouseDown,()=>{ee.current=!0}),onFocus:Lr(n.onFocus,ie=>{const he=!ee.current;if(ie.target===ie.currentTarget&&he&&!$){const ge=new CustomEvent(VOe,Inr);if(ie.currentTarget.dispatchEvent(ge),!ge.defaultPrevented){const ce=G().filter(Se=>Se.focusable),fe=ce.find(Se=>Se.active),K=ce.find(Se=>Se.id===L),Oe=[fe,K,...ce].filter(Boolean).map(Se=>Se.ref.current);TYt(Oe,x)}}ee.current=!1}),onBlur:Lr(n.onBlur,()=>j(!1))})})}),EYt="RovingFocusGroupItem",SYt=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,focusable:u=!0,active:d=!1,tabStopId:g,children:b,...w}=n,E=Bh(),S=g||E,x=Dnr(EYt,s),A=x.currentTabStopId===S,C=yYt(s),{onFocusableItemAdd:R,onFocusableItemRemove:D,currentTabStopId:L}=x;return H.useEffect(()=>{if(u)return R(),()=>D()},[u,R,D]),I.jsx(nDe.ItemSlot,{scope:s,id:S,focusable:u,active:d,children:I.jsx(no.span,{tabIndex:A?0:-1,"data-orientation":x.orientation,...w,ref:i,onMouseDown:Lr(n.onMouseDown,B=>{u?x.onItemFocus(S):B.preventDefault()}),onFocus:Lr(n.onFocus,()=>x.onItemFocus(S)),onKeyDown:Lr(n.onKeyDown,B=>{if(B.key==="Tab"&&B.shiftKey){x.onItemShiftTab();return}if(B.target!==B.currentTarget)return;const $=Fnr(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?$nr(P,G+1):P.slice(G+1)}setTimeout(()=>TYt(P))}}),children:typeof b=="function"?b({isCurrentTabStop:A,hasTabStop:L!=null}):b})})});SYt.displayName=EYt;var Pnr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function jnr(n,i){return i!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function Fnr(n,i,s){const u=jnr(n.key,s);if(!(i==="vertical"&&["ArrowLeft","ArrowRight"].includes(u))&&!(i==="horizontal"&&["ArrowUp","ArrowDown"].includes(u)))return Pnr[u]}function TYt(n,i=!1){const s=document.activeElement;for(const u of n)if(u===s||(u.focus({preventScroll:i}),document.activeElement!==s))return}function $nr(n,i){return n.map((s,u)=>n[(i+u)%n.length])}var AYt=vYt,_Yt=SYt;function Bnr(n){const i=Unr(n),s=H.forwardRef((u,d)=>{const{children:g,...b}=u,w=H.Children.toArray(g),E=w.find(znr);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 Unr(n){const i=H.forwardRef((s,u)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=qnr(d),w=Gnr(g,d.props);return d.type!==H.Fragment&&(w.ref=u?zg(u,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var Hnr=Symbol("radix.slottable");function znr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Hnr}function Gnr(n,i){const s={...i};for(const u in i){const d=n[u],g=i[u];/^on[A-Z]/.test(u)?d&&g?s[u]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[u]=d):u==="style"?s[u]={...d,...g}:u==="className"&&(s[u]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function qnr(n){var u,d;let i=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.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 rDe=["Enter"," "],Vnr=["ArrowDown","PageUp","Home"],xYt=["ArrowUp","PageDown","End"],Wnr=[...Vnr,...xYt],Knr={ltr:[...rDe,"ArrowRight"],rtl:[...rDe,"ArrowLeft"]},Ynr={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Bz="Menu",[dz,Jnr,Xnr]=Wae(Bz),[DR,kYt]=xw(Bz,[Xnr,BM,Zae]),Qae=BM(),NYt=Zae(),[Znr,MR]=DR(Bz),[Qnr,Uz]=DR(Bz),CYt=n=>{const{__scopeMenu:i,open:s=!1,children:u,dir:d,onOpenChange:g,modal:b=!0}=n,w=Qae(i),[E,S]=H.useState(null),x=H.useRef(!1),A=q2(g),C=Fz(d);return H.useEffect(()=>{const R=()=>{x.current=!0,document.addEventListener("pointerdown",D,{capture:!0,once:!0}),document.addEventListener("pointermove",D,{capture:!0,once:!0})},D=()=>x.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",D,{capture:!0}),document.removeEventListener("pointermove",D,{capture:!0})}},[]),I.jsx(rMe,{...w,children:I.jsx(Znr,{scope:i,open:s,onOpenChange:A,content:E,onContentChange:S,children:I.jsx(Qnr,{scope:i,onClose:H.useCallback(()=>A(!1),[A]),isUsingKeyboardRef:x,dir:C,modal:b,children:u})})})};CYt.displayName=Bz;var err="MenuAnchor",KMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,...u}=n,d=Qae(s);return I.jsx(Eae,{...d,...u,ref:i})});KMe.displayName=err;var YMe="MenuPortal",[trr,IYt]=DR(YMe,{forceMount:void 0}),RYt=n=>{const{__scopeMenu:i,forceMount:s,children:u,container:d}=n,g=MR(YMe,i);return I.jsx(trr,{scope:i,forceMount:s,children:I.jsx(kw,{present:s||g.open,children:I.jsx(Iz,{asChild:!0,container:d,children:u})})})};RYt.displayName=YMe;var Sw="MenuContent",[nrr,JMe]=DR(Sw),OYt=H.forwardRef((n,i)=>{const s=IYt(Sw,n.__scopeMenu),{forceMount:u=s.forceMount,...d}=n,g=MR(Sw,n.__scopeMenu),b=Uz(Sw,n.__scopeMenu);return I.jsx(dz.Provider,{scope:n.__scopeMenu,children:I.jsx(kw,{present:u||g.open,children:I.jsx(dz.Slot,{scope:n.__scopeMenu,children:b.modal?I.jsx(rrr,{...d,ref:i}):I.jsx(irr,{...d,ref:i})})})})}),rrr=H.forwardRef((n,i)=>{const s=MR(Sw,n.__scopeMenu),u=H.useRef(null),d=hs(i,u);return H.useEffect(()=>{const g=u.current;if(g)return uae(g)},[]),I.jsx(XMe,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:Lr(n.onFocusOutside,g=>g.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),irr=H.forwardRef((n,i)=>{const s=MR(Sw,n.__scopeMenu);return I.jsx(XMe,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>s.onOpenChange(!1)})}),orr=Bnr("MenuContent.ScrollLock"),XMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,loop:u=!1,trapFocus:d,onOpenAutoFocus:g,onCloseAutoFocus:b,disableOutsidePointerEvents:w,onEntryFocus:E,onEscapeKeyDown:S,onPointerDownOutside:x,onFocusOutside:A,onInteractOutside:C,onDismiss:R,disableOutsideScroll:D,...L}=n,B=MR(Sw,s),$=Uz(Sw,s),j=Qae(s),P=NYt(s),G=Jnr(s),[ee,ne]=H.useState(null),Q=H.useRef(null),ie=hs(i,Q,B.onContentChange),he=H.useRef(0),ge=H.useRef(""),ce=H.useRef(0),fe=H.useRef(null),K=H.useRef("right"),pe=H.useRef(0),Oe=D?Rz:H.Fragment,Se=D?{as:orr,allowPinchZoom:!0}:void 0,De=xe=>{var vt,Ct;const We=ge.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=mrr(kt,We,bt),Xt=(Ct=dt.find(Ft=>Ft.textValue===ht))==null?void 0:Ct.ref.current;(function Ft(On){ge.current=On,window.clearTimeout(he.current),On!==""&&(he.current=window.setTimeout(()=>Ft(""),1e3))})(We),Xt&&setTimeout(()=>Xt.focus())};H.useEffect(()=>()=>window.clearTimeout(he.current),[]),sae();const Ae=H.useCallback(xe=>{var dt,Ue;return K.current===((dt=fe.current)==null?void 0:dt.side)&&yrr(xe,(Ue=fe.current)==null?void 0:Ue.area)},[]);return I.jsx(nrr,{scope:s,searchRef:ge,onItemEnter:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),onItemLeave:H.useCallback(xe=>{var We;Ae(xe)||((We=Q.current)==null||We.focus(),ne(null))},[Ae]),onTriggerLeave:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),pointerGraceTimerRef:ce,onPointerGraceIntentChange:H.useCallback(xe=>{fe.current=xe},[]),children:I.jsx(Oe,{...Se,children:I.jsx(Cz,{asChild:!0,trapped:d,onMountAutoFocus:Lr(g,xe=>{var We;xe.preventDefault(),(We=Q.current)==null||We.focus({preventScroll:!0})}),onUnmountAutoFocus:b,children:I.jsx(Nz,{asChild:!0,disableOutsidePointerEvents:w,onEscapeKeyDown:S,onPointerDownOutside:x,onFocusOutside:A,onInteractOutside:C,onDismiss:R,children:I.jsx(AYt,{asChild:!0,...P,dir:$.dir,orientation:"vertical",loop:u,currentTabStopId:ee,onCurrentTabStopIdChange:ne,onEntryFocus:Lr(E,xe=>{$.isUsingKeyboardRef.current||xe.preventDefault()}),preventScrollOnEntryFocus:!0,children:I.jsx(iMe,{role:"menu","aria-orientation":"vertical","data-state":KYt(B.open),"data-radix-menu-content":"",dir:$.dir,...j,...L,ref:ie,style:{outline:"none",...L.style},onKeyDown:Lr(L.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&&De(xe.key));const kt=Q.current;if(xe.target!==kt||!Wnr.includes(xe.key))return;xe.preventDefault();const Xt=G().filter(vt=>!vt.disabled).map(vt=>vt.ref.current);xYt.includes(xe.key)&&Xt.reverse(),grr(Xt)}),onBlur:Lr(n.onBlur,xe=>{xe.currentTarget.contains(xe.target)||(window.clearTimeout(he.current),ge.current="")}),onPointerMove:Lr(n.onPointerMove,fz(xe=>{const We=xe.target,dt=pe.current!==xe.clientX;if(xe.currentTarget.contains(We)&&dt){const Ue=xe.clientX>pe.current?"right":"left";K.current=Ue,pe.current=xe.clientX}}))})})})})})})});OYt.displayName=Sw;var srr="MenuGroup",ZMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,...u}=n;return I.jsx(no.div,{role:"group",...u,ref:i})});ZMe.displayName=srr;var arr="MenuLabel",LYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...u}=n;return I.jsx(no.div,{...u,ref:i})});LYt.displayName=arr;var vse="MenuItem",r$t="menu.itemSelect",eue=H.forwardRef((n,i)=>{const{disabled:s=!1,onSelect:u,...d}=n,g=H.useRef(null),b=Uz(vse,n.__scopeMenu),w=JMe(vse,n.__scopeMenu),E=hs(i,g),S=H.useRef(!1),x=()=>{const A=g.current;if(!s&&A){const C=new CustomEvent(r$t,{bubbles:!0,cancelable:!0});A.addEventListener(r$t,R=>u==null?void 0:u(R),{once:!0}),AGt(A,C),C.defaultPrevented?S.current=!1:b.onClose()}};return I.jsx(DYt,{...d,ref:E,disabled:s,onClick:Lr(n.onClick,x),onPointerDown:A=>{var C;(C=n.onPointerDown)==null||C.call(n,A),S.current=!0},onPointerUp:Lr(n.onPointerUp,A=>{var C;S.current||(C=A.currentTarget)==null||C.click()}),onKeyDown:Lr(n.onKeyDown,A=>{const C=w.searchRef.current!=="";s||C&&A.key===" "||rDe.includes(A.key)&&(A.currentTarget.click(),A.preventDefault())})})});eue.displayName=vse;var DYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,disabled:u=!1,textValue:d,...g}=n,b=JMe(vse,s),w=NYt(s),E=H.useRef(null),S=hs(i,E),[x,A]=H.useState(!1),[C,R]=H.useState("");return H.useEffect(()=>{const D=E.current;D&&R((D.textContent??"").trim())},[g.children]),I.jsx(dz.ItemSlot,{scope:s,disabled:u,textValue:d??C,children:I.jsx(_Yt,{asChild:!0,...w,focusable:!u,children:I.jsx(no.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...g,ref:S,onPointerMove:Lr(n.onPointerMove,fz(D=>{u?b.onItemLeave(D):(b.onItemEnter(D),D.defaultPrevented||D.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Lr(n.onPointerLeave,fz(D=>b.onItemLeave(D))),onFocus:Lr(n.onFocus,()=>A(!0)),onBlur:Lr(n.onBlur,()=>A(!1))})})})}),urr="MenuCheckboxItem",MYt=H.forwardRef((n,i)=>{const{checked:s=!1,onCheckedChange:u,...d}=n;return I.jsx(BYt,{scope:n.__scopeMenu,checked:s,children:I.jsx(eue,{role:"menuitemcheckbox","aria-checked":Ese(s)?"mixed":s,...d,ref:i,"data-state":e9e(s),onSelect:Lr(d.onSelect,()=>u==null?void 0:u(Ese(s)?!0:!s),{checkForDefaultPrevented:!1})})})});MYt.displayName=urr;var PYt="MenuRadioGroup",[crr,lrr]=DR(PYt,{value:void 0,onValueChange:()=>{}}),jYt=H.forwardRef((n,i)=>{const{value:s,onValueChange:u,...d}=n,g=q2(u);return I.jsx(crr,{scope:n.__scopeMenu,value:s,onValueChange:g,children:I.jsx(ZMe,{...d,ref:i})})});jYt.displayName=PYt;var FYt="MenuRadioItem",$Yt=H.forwardRef((n,i)=>{const{value:s,...u}=n,d=lrr(FYt,n.__scopeMenu),g=s===d.value;return I.jsx(BYt,{scope:n.__scopeMenu,checked:g,children:I.jsx(eue,{role:"menuitemradio","aria-checked":g,...u,ref:i,"data-state":e9e(g),onSelect:Lr(u.onSelect,()=>{var b;return(b=d.onValueChange)==null?void 0:b.call(d,s)},{checkForDefaultPrevented:!1})})})});$Yt.displayName=FYt;var QMe="MenuItemIndicator",[BYt,drr]=DR(QMe,{checked:!1}),UYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,forceMount:u,...d}=n,g=drr(QMe,s);return I.jsx(kw,{present:u||Ese(g.checked)||g.checked===!0,children:I.jsx(no.span,{...d,ref:i,"data-state":e9e(g.checked)})})});UYt.displayName=QMe;var frr="MenuSeparator",HYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...u}=n;return I.jsx(no.div,{role:"separator","aria-orientation":"horizontal",...u,ref:i})});HYt.displayName=frr;var hrr="MenuArrow",zYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...u}=n,d=Qae(s);return I.jsx(oMe,{...d,...u,ref:i})});zYt.displayName=hrr;var prr="MenuSub",[e1r,GYt]=DR(prr),oH="MenuSubTrigger",qYt=H.forwardRef((n,i)=>{const s=MR(oH,n.__scopeMenu),u=Uz(oH,n.__scopeMenu),d=GYt(oH,n.__scopeMenu),g=JMe(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(KMe,{asChild:!0,...S,children:I.jsx(DYt,{id:d.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":d.contentId,"data-state":KYt(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:Lr(n.onPointerMove,fz(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:Lr(n.onPointerLeave,fz(A=>{var R,D;x();const C=(R=s.content)==null?void 0:R.getBoundingClientRect();if(C){const L=(D=s.content)==null?void 0:D.dataset.side,B=L==="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:L}),window.clearTimeout(w.current),w.current=window.setTimeout(()=>g.onPointerGraceIntentChange(null),300)}else{if(g.onTriggerLeave(A),A.defaultPrevented)return;g.onPointerGraceIntentChange(null)}})),onKeyDown:Lr(n.onKeyDown,A=>{var R;const C=g.searchRef.current!=="";n.disabled||C&&A.key===" "||Knr[u.dir].includes(A.key)&&(s.onOpenChange(!0),(R=s.content)==null||R.focus(),A.preventDefault())})})})});qYt.displayName=oH;var VYt="MenuSubContent",WYt=H.forwardRef((n,i)=>{const s=IYt(Sw,n.__scopeMenu),{forceMount:u=s.forceMount,...d}=n,g=MR(Sw,n.__scopeMenu),b=Uz(Sw,n.__scopeMenu),w=GYt(VYt,n.__scopeMenu),E=H.useRef(null),S=hs(i,E);return I.jsx(dz.Provider,{scope:n.__scopeMenu,children:I.jsx(kw,{present:u||g.open,children:I.jsx(dz.Slot,{scope:n.__scopeMenu,children:I.jsx(XMe,{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:Lr(n.onFocusOutside,x=>{x.target!==w.trigger&&g.onOpenChange(!1)}),onEscapeKeyDown:Lr(n.onEscapeKeyDown,x=>{b.onClose(),x.preventDefault()}),onKeyDown:Lr(n.onKeyDown,x=>{var R;const A=x.currentTarget.contains(x.target),C=Ynr[b.dir].includes(x.key);A&&C&&(g.onOpenChange(!1),(R=w.trigger)==null||R.focus(),x.preventDefault())})})})})})});WYt.displayName=VYt;function KYt(n){return n?"open":"closed"}function Ese(n){return n==="indeterminate"}function e9e(n){return Ese(n)?"indeterminate":n?"checked":"unchecked"}function grr(n){const i=document.activeElement;for(const s of n)if(s===i||(s.focus(),document.activeElement!==i))return}function brr(n,i){return n.map((s,u)=>n[(i+u)%n.length])}function mrr(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=brr(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 wrr(n,i){const{x:s,y:u}=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>u!=C>u&&s<(A-S)*(u-x)/(C-x)+S&&(d=!d)}return d}function yrr(n,i){if(!i)return!1;const s={x:n.clientX,y:n.clientY};return wrr(s,i)}function fz(n){return i=>i.pointerType==="mouse"?n(i):void 0}var vrr=CYt,Err=KMe,Srr=RYt,Trr=OYt,Arr=ZMe,_rr=LYt,xrr=eue,krr=MYt,Nrr=jYt,Crr=$Yt,Irr=UYt,Rrr=HYt,Orr=zYt,Lrr=qYt,Drr=WYt,tue="DropdownMenu",[Mrr]=xw(tue,[kYt]),Wg=kYt(),[Prr,YYt]=Mrr(tue),JYt=n=>{const{__scopeDropdownMenu:i,children:s,dir:u,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(Prr,{scope:i,triggerId:Bh(),triggerRef:S,contentId:Bh(),open:x,onOpenChange:A,onOpenToggle:H.useCallback(()=>A(C=>!C),[A]),modal:w,children:I.jsx(vrr,{...E,open:x,onOpenChange:A,dir:u,modal:w,children:s})})};JYt.displayName=tue;var XYt="DropdownMenuTrigger",ZYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,disabled:u=!1,...d}=n,g=YYt(XYt,s),b=Wg(s);return I.jsx(Err,{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":u?"":void 0,disabled:u,...d,ref:zg(i,g.triggerRef),onPointerDown:Lr(n.onPointerDown,w=>{!u&&w.button===0&&w.ctrlKey===!1&&(g.onOpenToggle(),g.open||w.preventDefault())}),onKeyDown:Lr(n.onKeyDown,w=>{u||(["Enter"," "].includes(w.key)&&g.onOpenToggle(),w.key==="ArrowDown"&&g.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(w.key)&&w.preventDefault())})})})});ZYt.displayName=XYt;var jrr="DropdownMenuPortal",QYt=n=>{const{__scopeDropdownMenu:i,...s}=n,u=Wg(i);return I.jsx(Srr,{...u,...s})};QYt.displayName=jrr;var eJt="DropdownMenuContent",tJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=YYt(eJt,s),g=Wg(s),b=H.useRef(!1);return I.jsx(Trr,{id:d.contentId,"aria-labelledby":d.triggerId,...g,...u,ref:i,onCloseAutoFocus:Lr(n.onCloseAutoFocus,w=>{var E;b.current||(E=d.triggerRef.current)==null||E.focus(),b.current=!1,w.preventDefault()}),onInteractOutside:Lr(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)"}})});tJt.displayName=eJt;var Frr="DropdownMenuGroup",$rr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Arr,{...d,...u,ref:i})});$rr.displayName=Frr;var Brr="DropdownMenuLabel",nJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(_rr,{...d,...u,ref:i})});nJt.displayName=Brr;var Urr="DropdownMenuItem",rJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(xrr,{...d,...u,ref:i})});rJt.displayName=Urr;var Hrr="DropdownMenuCheckboxItem",iJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(krr,{...d,...u,ref:i})});iJt.displayName=Hrr;var zrr="DropdownMenuRadioGroup",Grr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Nrr,{...d,...u,ref:i})});Grr.displayName=zrr;var qrr="DropdownMenuRadioItem",oJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Crr,{...d,...u,ref:i})});oJt.displayName=qrr;var Vrr="DropdownMenuItemIndicator",sJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Irr,{...d,...u,ref:i})});sJt.displayName=Vrr;var Wrr="DropdownMenuSeparator",aJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Rrr,{...d,...u,ref:i})});aJt.displayName=Wrr;var Krr="DropdownMenuArrow",Yrr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Orr,{...d,...u,ref:i})});Yrr.displayName=Krr;var Jrr="DropdownMenuSubTrigger",uJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Lrr,{...d,...u,ref:i})});uJt.displayName=Jrr;var Xrr="DropdownMenuSubContent",cJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...u}=n,d=Wg(s);return I.jsx(Drr,{...d,...u,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)"}})});cJt.displayName=Xrr;var Zrr=JYt,Qrr=ZYt,eir=QYt,lJt=tJt,dJt=nJt,fJt=rJt,hJt=iJt,pJt=oJt,gJt=sJt,bJt=aJt,mJt=uJt,wJt=cJt;const yJt=Zrr,vJt=Qrr,tir=H.forwardRef(({className:n,inset:i,children:s,...u},d)=>I.jsxs(mJt,{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),...u,children:[s,I.jsx(w8n,{className:"ml-auto"})]}));tir.displayName=mJt.displayName;const nir=H.forwardRef(({className:n,...i},s)=>I.jsx(wJt,{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}));nir.displayName=wJt.displayName;const t9e=H.forwardRef(({className:n,sideOffset:i=4,container:s,...u},d)=>I.jsx(eir,{container:s,children:I.jsx(lJt,{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),...u})}));t9e.displayName=lJt.displayName;const iDe=H.forwardRef(({className:n,inset:i,...s},u)=>I.jsx(fJt,{ref:u,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}));iDe.displayName=fJt.displayName;const EJt=H.forwardRef(({className:n,children:i,checked:s,...u},d)=>I.jsxs(hJt,{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,...u,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(gJt,{children:I.jsx(oN,{className:"h-4 w-4"})})}),i]}));EJt.displayName=hJt.displayName;const rir=H.forwardRef(({className:n,children:i,...s},u)=>I.jsxs(pJt,{ref:u,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(gJt,{children:I.jsx(k8n,{className:"h-2 w-2 fill-current"})})}),i]}));rir.displayName=pJt.displayName;const iir=H.forwardRef(({className:n,inset:i,...s},u)=>I.jsx(dJt,{ref:u,className:Sr("px-2 py-1.5 font-semibold text-sm",i&&"pl-8",n),...s}));iir.displayName=dJt.displayName;const oir=H.forwardRef(({className:n,...i},s)=>I.jsx(bJt,{ref:s,className:Sr("-mx-1 my-1 h-px bg-muted",n),...i}));oir.displayName=bJt.displayName;function WM({field:n,value:i,onChange:s,entities:u,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,D={};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],D=n.selector[R]||{})}const L=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(tDe,{values:G,onChange:s,placeholder:C||"Add value..."})}return I.jsx(Na,{type:"text",value:L,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(([ne,Q])=>({value:ne,label:Q})):P=ee)}else D.options&&Array.isArray(D.options)&&(P=D.options);if("multiple"in n&&n.multiple||D.multiple===!0){const ee=Array.isArray(i)?i:i?[i]:[],ne=()=>{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(yJt,{children:[I.jsx(vJt,{asChild:!0,children:I.jsxs(ki,{variant:"outline",className:"w-full justify-between font-normal",children:[I.jsx("span",{className:ee.length===0?"text-muted-foreground":"",children:ne()}),I.jsx(nae,{className:"ml-2 h-4 w-4 opacity-50"})]})}),I.jsx(t9e,{className:"w-[var(--radix-dropdown-menu-trigger-width)]",children:P.map(Q=>{const ie=ee.includes(Q.value);return I.jsx(EJt,{checked:ie,onCheckedChange:he=>{s(he?[...ee,Q.value]:ee.filter(ge=>ge!==Q.value))},children:Q.label},Q.value)})})]})}return I.jsxs(zp,{value:L,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||D.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:u,placeholder:C||w("dynamicField.selectEntities")})}return I.jsx(yse,{value:L,onChange:s,entities:u,placeholder:C||w("dynamicField.selectEntity")})}case"zone":return I.jsx(yse,{value:L,onChange:s,entities:u,domainFilter:"zone",placeholder:C||w("dynamicField.selectZone")});case"template":return I.jsx($v,{value:L,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(mYt,{value:i??"",onChange:s});case"object":return I.jsx($v,{value:typeof i=="object"?JSON.stringify(i,null,2):L,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:L,onChange:P=>s(P.target.value),required:S});case"date":return I.jsx(Na,{type:"date",value:L,onChange:P=>s(P.target.value),required:S});default:return I.jsx(Na,{type:"text",value:L,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 sir={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 n9e(n){return sir[n]||[]}function SJt(n){const i=n9e(n),s={condition:n};for(const u of i)u.default!==void 0&&(s[u.name]=u.default);return r9e(n)&&(s.conditions=[]),s}function r9e(n){return n==="and"||n==="or"||n==="not"}const air=[{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 uir({cond:n,onUpdate:i,entities:s}){const u=n.condition||"state",d=n9e(u);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 cir({cond:n,onUpdate:i,onRemove:s,entities:u,depth:d}){const g=n.condition||"state",b=r9e(g),{t:w}=ps(["common","nodes","panels"]),E=S=>{i(SJt(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:air.map(S=>I.jsx(to,{value:S.value,children:w(S.labelKey)},S.value))})]}),I.jsx(ki,{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(TJt,{conditions:n.conditions||[],onChange:S=>i({...n,conditions:S}),parentType:n.condition,depth:d+1}):I.jsx(uir,{cond:n,onUpdate:i,entities:u})]})}const TJt=H.memo(function({conditions:i,onChange:s,depth:u=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",u>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(cir,{cond:x,onUpdate:C=>S(A,C),onRemove:()=>E(A),entities:g,depth:u},A)),I.jsxs(ki,{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 AJt({value:n,onChange:i,label:s="",required:u=!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(Lo,{label:s||g("labels.device"),required:u,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 lir({node:n,onChange:i}){const s=jh(n,"device_id"),u=jh(n,"domain"),d=jh(n,"type");return I.jsxs(I.Fragment,{children:[I.jsx(AJt,{value:s,onChange:g=>i("device_id",g),label:"Device",required:!0,placeholder:"Select device..."}),I.jsx(Lo,{label:"Domain",required:!0,description:"Device integration domain",children:I.jsx(Na,{type:"text",value:u,onChange:g=>i("domain",g.target.value),placeholder:"e.g., binary_sensor, sensor"})}),I.jsx(Lo,{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 dir({node:n,onChange:i,entities:s}){const{t:u}=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=r9e(g),S=A=>{const C=SJt(A);for(const[R,D]of Object.entries(C))i(R,D)},x=()=>g==="device"?I.jsx(lir,{node:n,onChange:i}):E?null:n9e(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(Lo,{label:u("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:u("nodes:conditions.types.state")}),I.jsx(to,{value:"numeric_state",children:u("nodes:conditions.types.numeric_state")}),I.jsx(to,{value:"template",children:u("nodes:conditions.types.template")}),I.jsx(to,{value:"time",children:u("nodes:conditions.types.time")}),I.jsx(to,{value:"sun",children:u("nodes:conditions.types.sun")}),I.jsx(to,{value:"zone",children:u("nodes:conditions.types.zone")}),I.jsx(to,{value:"device",children:u("nodes:conditions.types.device")}),I.jsx(to,{value:"trigger",children:u("nodes:conditions.types.trigger")}),I.jsx(to,{value:"and",children:u("nodes:conditions.types.and")}),I.jsx(to,{value:"or",children:u("nodes:conditions.types.or")}),I.jsx(to,{value:"not",children:u("nodes:conditions.types.not")})]})]})}),x(),(E||w)&&I.jsx(Lo,{label:u("nodes:conditions.nestedConditions"),children:I.jsx(TJt,{conditions:b.conditions||[],onChange:A=>i("conditions",A),parentType:E?g:"and"})})]})}function fir({node:n,onChange:i}){const{getFieldError:s}=gb(n.id);return I.jsxs(I.Fragment,{children:[I.jsx(wYt,{label:"Delay",value:n.data.delay,onChange:u=>i("delay",u)}),I.jsx(H2,{message:s("delay")})]})}function hir({node:n,onChange:i}){const{t:s}=ps(["nodes"]),{getFieldError:u}=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,D]of Object.entries(d))R===x?C[A]=D:C[R]=D;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:u("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(ki,{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(Lo,{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(Lo,{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(ki,{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 _Jt={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 _Jt[n]||[]}function pir(n){const i=nue(n),s={trigger:n};for(const u of i)u.default!==void 0&&(s[u.name]=u.default);return s}function gir(){const{hass:n}=pb(),i=H.useCallback(async u=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),[];try{return await n.callWS({type:"device_automation/trigger/list",device_id:u})||[]}catch(d){throw console.error("Failed to fetch device triggers:",d),d}},[n]),s=H.useCallback(async u=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),{extra_fields:[]};try{return await n.callWS({type:"device_automation/trigger/capabilities",trigger:u})||{extra_fields:[]}}catch(d){throw console.error("Failed to fetch trigger capabilities:",d),d}},[n]);return{getDeviceTriggers:i,getTriggerCapabilities:s}}const bir=Su({resources:yf(Jt(),Lu()).transform(n=>{const i={};for(const[s,u]of Object.entries(n))typeof u=="string"&&(i[s]=u);return i})});function mir(){const{hass:n}=pb(),[i,s]=H.useState({}),[u,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=bir.safeParse(E);S.success&&s(S.data.resources)}catch{}finally{d(!1)}})()},[n]),{translations:H.useMemo(()=>({...g,...i}),[g,i]),isLoading:u}}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 wir(n,i){const s=`component.${n.domain}.device_automation.trigger_type.${n.type}`,u=i[s]??n.type;if(n.subtype){const d=`component.${n.domain}.device_automation.trigger_subtype.${n.subtype}`,g=i[d]??n.subtype;return`${u}: ${g}`}return u}function yir({node:n,onChange:i,entities:s}){const{t:u}=ps(["common","nodes","errors"]),{getDeviceTriggers:d,getTriggerCapabilities:g}=gir(),{translations:b}=mir(),[w,E]=H.useState([]),[S,x]=H.useState([]),[A,C]=H.useState(!1),R=jh(n,"device_id"),D=jh(n,"type"),L=jh(n,"domain"),B=jh(n,"entity_id"),$=jh(n,"subtype"),j=(()=>{const P=[D].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(u("errors:api.loadDeviceTriggersFailed"),P),E([])}).finally(()=>{C(!1)})},[R,d,u]),H.useEffect(()=>{if(!R||!D){x([]);return}const P=w.find(G=>G.type===D&&G.domain===L&&(G.subtype??"")===($??"")&&(G.entity_id??"")===(B??""));if(!P){x([]);return}g(P).then(G=>{x(G.extra_fields||[])}).catch(G=>{console.error(u("errors:api.loadTriggerCapabilitiesFailed"),G),x([])})},[R,D,$,B,L,w,g,u]),I.jsxs(I.Fragment,{children:[I.jsx(AJt,{value:R,onChange:P=>i("device_id",P),label:u("labels.device"),required:!0,placeholder:u("placeholders.selectDevice")}),R&&w.length>0?I.jsx(Lo,{label:u("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:u("placeholders.selectTriggerType")})}),I.jsx(Gh,{children:w.map(P=>I.jsx(to,{value:WOe(P),children:wir(P,b)},WOe(P)))})]})}):R&&D&&I.jsx(Lo,{label:"Trigger Type",children:I.jsxs("div",{className:"truncate rounded-md border bg-muted px-3 py-2 font-mono text-sm",children:[D,$&&I.jsxs("span",{className:"text-muted-foreground",children:[" · ",$]}),L&&I.jsxs("span",{className:"text-muted-foreground",children:[" ",`(${L})`]})]})}),A&&I.jsx("div",{className:"text-muted-foreground text-sm",children:u("status.loadingTriggers")}),S.map(P=>I.jsx(WM,{field:P,value:n.data[P.name],onChange:G=>i(P.name,G),entities:s,domain:L,translations:b},P.name))]})}const vir={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"]},xJt=["on","off","unavailable","unknown"];function Eir(n,i){const s=i.find(b=>b.entity_id===n),u=n.split(".")[0],d=vir[u]??xJt,g=new Set(d);return s!=null&&s.state?[s.state,...d.filter(b=>b!==s.state)]:Array.from(g)}function i$t({value:n,onChange:i,suggestions:s,placeholder:u}){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(aMe,{open:g,onOpenChange:b,children:[I.jsx(Jqt,{asChild:!0,children:I.jsxs(ki,{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||u}),I.jsx(hGt,{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:u,value:w,onValueChange:E}),I.jsxs(pae,{children:[S.length===0&&!x&&I.jsx(gae,{children:d("combobox.noOptions")}),x&&I.jsx(tz,{children:I.jsxs(nz,{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(tz,{children:S.map(C=>I.jsxs(nz,{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 Sir({node:n,onChange:i,entities:s}){const{t:u}=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 xJt;const R=new Set;for(const D of E)for(const L of Eir(D,b))R.add(L);return Array.from(R)},[E,b]),C=nue("state").find(R=>R.name==="for");return I.jsxs(I.Fragment,{children:[I.jsxs(Lo,{label:u("nodes:triggers.fields.entityId"),required:!0,children:[I.jsx(Xae,{value:E,onChange:R=>i("entity_id",R),entities:b,placeholder:u("common:placeholders.selectEntity")}),I.jsx(H2,{message:d("entity_id")})]}),I.jsx(Lo,{label:u("nodes:triggers.fields.toState"),children:I.jsx(i$t,{value:S,onChange:R=>i("to",R||void 0),suggestions:A,placeholder:u("nodes:triggers.fields.toStatePlaceholder")})}),I.jsx(Lo,{label:u("nodes:triggers.fields.fromState"),children:I.jsx(i$t,{value:x,onChange:R=>i("from",R||void 0),suggestions:A,placeholder:u("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 Tir({node:n,onChange:i,entities:s}){const{t:u}=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=pir(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(Lo,{label:u("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:u("nodes:triggers.platforms.state")}),I.jsx(to,{value:"numeric_state",children:u("nodes:triggers.platforms.numeric_state")}),I.jsx(to,{value:"time",children:u("nodes:triggers.platforms.time")}),I.jsx(to,{value:"time_pattern",children:u("nodes:triggers.platforms.time_pattern")}),I.jsx(to,{value:"sun",children:u("nodes:triggers.platforms.sun")}),I.jsx(to,{value:"event",children:u("nodes:triggers.platforms.event")}),I.jsx(to,{value:"mqtt",children:u("nodes:triggers.platforms.mqtt")}),I.jsx(to,{value:"webhook",children:u("nodes:triggers.platforms.webhook")}),I.jsx(to,{value:"zone",children:u("nodes:triggers.platforms.zone")}),I.jsx(to,{value:"template",children:u("nodes:triggers.platforms.template")}),I.jsx(to,{value:"homeassistant",children:u("nodes:triggers.platforms.homeassistant")}),I.jsx(to,{value:"device",children:u("nodes:triggers.platforms.device")})]})]})}),I.jsx(Air,{effectiveTriggerType:w,deviceId:b,node:n,onChange:i,entities:s,getFieldError:d})]})}function Air({effectiveTriggerType:n,deviceId:i,node:s,onChange:u,entities:d,getFieldError:g}){return n==="device"||i?I.jsx(yir,{node:s,onChange:u,entities:d}):n==="state"?I.jsx(Sir,{node:s,onChange:u,entities:d}):nue(n).map(w=>I.jsx(WM,{field:w,value:s.data[w.name],onChange:E=>u(w.name,E),entities:d,error:g(w.name)},w.name))}function _ir({node:n,onChange:i}){const{t:s}=ps(["nodes"]),{getFieldError:u,getRootError:d}=gb(n.id),g=ko(D=>D.addWaitTimeoutBranch),b=jh(n,"wait_template"),w=WMe(n,"wait_for_trigger"),E=w!==void 0?"trigger":"template",S=d(),x=D=>{D==="template"?(i("wait_for_trigger",void 0),i("wait_template","")):(i("wait_template",void 0),i("wait_for_trigger",[{trigger:"state"}]))},A=(D,L,B)=>{if(!w)return;const $=[...w];$[D]={...$[D],[L]:B},i("wait_for_trigger",$)},C=()=>{const D=[...w||[],{trigger:"state"}];i("wait_for_trigger",D)},R=D=>{if(!w)return;const L=w.filter((B,$)=>$!==D);i("wait_for_trigger",L)};return I.jsxs(I.Fragment,{children:[I.jsx(H2,{message:S}),I.jsx(Lo,{label:s("nodes:wait.waitType"),description:s("nodes:wait.waitTypeDescription"),children:I.jsxs(zp,{value:E,onValueChange:x,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")})]})]})}),E==="template"&&I.jsxs(Lo,{label:s("nodes:wait.waitTemplate"),required:!0,description:s("nodes:wait.waitTemplateDescription"),children:[I.jsx($v,{value:b||"",onChange:D=>i("wait_template",D.target.value),className:"font-mono",rows:3,placeholder:s("nodes:placeholders.waitTemplate")}),I.jsx(H2,{message:u("wait_template")})]}),E==="trigger"&&I.jsxs("div",{className:"space-y-4",children:[I.jsx(H2,{message:u("wait_for_trigger")}),I.jsxs("div",{className:"space-y-2",children:[I.jsx("h3",{className:"font-medium",children:s("nodes:wait.triggersHeading")}),w==null?void 0:w.map((D,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:D.trigger})}),I.jsx(ki,{variant:"ghost",size:"sm",onClick:()=>R(L),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(PM,{})})]}),I.jsx(Lo,{label:s("nodes:wait.triggerPlatformLabel","Platform"),children:I.jsxs(zp,{value:D.trigger,onValueChange:B=>A(L,"trigger",B),children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsx(Gh,{children:Object.keys(_Jt).map(B=>I.jsx(to,{value:B,children:B},B))})]})}),nue(D.trigger).map(B=>I.jsx(WM,{field:B,value:D[B.name],onChange:$=>A(L,B.name,$)},B.name))]},L))]}),I.jsx(ki,{onClick:C,variant:"outline",size:"sm",children:s("nodes:wait.addTrigger")})]}),I.jsx(wYt,{label:s("nodes:wait.timeoutLabel"),description:s("nodes:wait.timeoutDescription"),value:n.data.timeout??"",onChange:D=>i("timeout",D||void 0)}),n.data.timeout&&I.jsxs(I.Fragment,{children:[I.jsx(Lo,{label:s("nodes:wait.continueOnTimeout"),description:s("nodes:wait.continueOnTimeoutDescription"),children:I.jsx(J2,{checked:n.data.continue_on_timeout??!0,onCheckedChange:D=>i("continue_on_timeout",D)})}),I.jsx(Lo,{label:s("nodes:wait.branchOnTimeout"),description:s("nodes:wait.branchOnTimeoutDescription"),children:I.jsxs(ki,{variant:"outline",size:"sm",onClick:()=>g(n.id),className:"gap-2",children:[I.jsx(B5e,{className:"h-4 w-4"}),s("nodes:wait.addTimeoutBranch")]})})]})]})}function xir({node:n,onChange:i,entities:s}){switch(n.type){case"trigger":return I.jsx(Tir,{node:n,onChange:i,entities:s});case"condition":return I.jsx(dir,{node:n,onChange:i,entities:s});case"action":return I.jsx(Cnr,{node:n,onChange:i,entities:s});case"delay":return I.jsx(fir,{node:n,onChange:i});case"wait":return I.jsx(_ir,{node:n,onChange:i});case"set_variables":return I.jsx(hir,{node:n,onChange:i});default:return null}}const oDe={key:"",value:"",type:"string",isAdding:!1};function kir(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{...oDe};case"reset":return{...oDe};default:return n}}function Nir(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 Cir(n){const[i,s]=H.useReducer(kir,oDe);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=Nir(i.value,i.type);n(i.key,d),s({type:"reset"})}}}function Iir({node:n,handledProperties:i,onChange:s,onDelete:u}){const{t:d}=ps(["common","nodes","errors"]),b=Cir((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(ki,{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(Lo,{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(Lo,{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(Lo,{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(ki,{variant:"ghost",size:"sm",onClick:b.cancelAdding,children:d("buttons.cancel")}),I.jsx(ki,{size:"sm",onClick:S,children:d("nodes:panel.addProperty")})]})]}),E.map(([x,A])=>I.jsx(Rir,{name:x,value:A,onChange:C=>s(x,C),onDelete:()=>u(x)},x))]})}function Rir({name:n,value:i,onChange:s,onDelete:u}){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(ki,{variant:"ghost",size:"sm",onClick:u,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 Oir(){const{t:n}=ps(["common","nodes"]),i=ko(R=>R.selectedNodeId),s=ko(R=>R.nodes),u=ko(R=>R.updateNodeData),d=ko(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 e$t("trigger",[]);const R=e$t(E.type||"trigger",[]),D=E.data,L=typeof D.trigger=="string"?D.trigger:"",B=typeof D.device_id=="string"?D.device_id:"";if((L==="device"||B)&&(E.type==="trigger"||E.type==="condition")){const j=Object.keys(D);return new Set([...R,...j])}return R},[E]),{getFieldError:x}=gb((E==null?void 0:E.id)??"");if(!E)return I.jsx(Enr,{});const A=(R,D)=>{u(E.id,{[R]:D})},C=R=>{u(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(ki,{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(Lo,{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(Lo,{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(jz,{}),I.jsx(xir,{node:E,onChange:A,entities:w}),I.jsx(Iir,{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 Lir(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 Dir(n){return navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):Lir(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 u in s)({}).hasOwnProperty.call(s,u)&&(n[u]=s[u])}return n},Hk.apply(null,arguments)}function kJt(n,i){if(n==null)return{};var s={};for(var u in n)if({}.hasOwnProperty.call(n,u)){if(i.indexOf(u)!==-1)continue;s[u]=n[u]}return s}let Hz=class{constructor(i,s,u){this.normal=s,this.property=i,u&&(this.space=u)}};Hz.prototype.normal={};Hz.prototype.property={};Hz.prototype.space=void 0;function NJt(n,i){const s={},u={};for(const d of n)Object.assign(s,d.property),Object.assign(u,d.normal);return new Hz(s,u,i)}function hz(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 Mir=0;const Zo=PR(),Pd=PR(),sDe=PR(),ar=PR(),qu=PR(),uM=PR(),Om=PR();function PR(){return 2**++Mir}const aDe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Zo,booleanish:Pd,commaOrSpaceSeparated:Om,commaSeparated:uM,number:ar,overloadedBoolean:sDe,spaceSeparated:qu},Symbol.toStringTag,{value:"Module"})),KOe=Object.keys(aDe);let i9e=class extends bb{constructor(i,s,u,d){let g=-1;if(super(i,s),o$t(this,"space",d),typeof u=="number")for(;++g<KOe.length;){const b=KOe[g];o$t(this,KOe[g],(u&aDe[b])===aDe[b])}}};i9e.prototype.defined=!0;function o$t(n,i,s){s&&(n[i]=s)}function KM(n){const i={},s={};for(const[u,d]of Object.entries(n.properties)){const g=new i9e(u,n.transform(n.attributes||{},u),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(g.mustUseProperty=!0),i[u]=g,s[hz(u)]=u,s[hz(g.attribute)]=u}return new Hz(i,s,n.space)}const CJt=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 IJt(n,i){return i in n?n[i]:i}function RJt(n,i){return IJt(n,i.toLowerCase())}const Pir=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:sDe,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:sDe,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:RJt}),jir=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:IJt}),OJt=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()}}),LJt=KM({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:RJt}),DJt=KM({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()}}),Fir=/[A-Z]/g,s$t=/-[a-z]/g,$ir=/^data[-\w.:]+$/i;function o9e(n,i){const s=hz(i);let u=i,d=bb;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&$ir.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(s$t,Uir);u="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!s$t.test(g)){let b=g.replace(Fir,Bir);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=i9e}return new d(u,i)}function Bir(n){return"-"+n.toLowerCase()}function Uir(n){return n.charAt(1).toUpperCase()}const rue=NJt([CJt,Pir,OJt,LJt,DJt],"html"),zz=NJt([CJt,jir,OJt,LJt,DJt],"svg");function Sse(n){const i=[],s=String(n||"");let u=s.indexOf(","),d=0,g=!1;for(;!g;){u===-1&&(u=s.length,g=!0);const b=s.slice(d,u).trim();(b||!g)&&i.push(b),d=u+1,u=s.indexOf(",",d)}return i}function Hir(n,i){const s=i||{};return(n[n.length-1]===""?[...n,""]:n).join((s.padRight?" ":"")+","+(s.padLeft===!1?"":" ")).trim()}const a$t=/[#.]/g;function zir(n,i){const s=n||"",u={};let d=0,g,b;for(;d<s.length;){a$t.lastIndex=d;const w=a$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?u.id=E:Array.isArray(u.className)?u.className.push(E):u.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:u,children:[]}}function Tse(n){const i=String(n||"").trim();return i?i.split(/[ \t\n\r\f]+/g):[]}function Gir(n){return n.join(" ").trim()}function MJt(n,i,s){const u=s?Kir(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=zir(g,i);const S=E.tagName.toLowerCase(),x=u?u.get(S):void 0;if(E.tagName=x||S,qir(b))w.unshift(b);else for(const[A,C]of Object.entries(b))Vir(n,E.properties,A,C)}for(const S of w)uDe(E.children,S);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}return d}function qir(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 u of s){const d=i[u];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 Vir(n,i,s,u){const d=o9e(n,s);let g;if(u!=null){if(typeof u=="number"){if(Number.isNaN(u))return;g=u}else typeof u=="boolean"?g=u:typeof u=="string"?d.spaceSeparated?g=Tse(u):d.commaSeparated?g=Sse(u):d.commaOrSpaceSeparated?g=Tse(Sse(u).join(" ")):g=u$t(d,d.property,u):Array.isArray(u)?g=[...u]:g=d.property==="style"?Wir(u):String(u);if(Array.isArray(g)){const b=[];for(const w of g)b.push(u$t(d,d.property,w));g=b}d.property==="className"&&Array.isArray(i.className)&&(g=i.className.concat(g)),i[d.property]=g}}function uDe(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)uDe(n,s);else if(typeof i=="object"&&"type"in i)i.type==="root"?uDe(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===""||hz(s)===hz(i)))return!0}return s}function Wir(n){const i=[];for(const[s,u]of Object.entries(n))i.push([s,u].join(": "));return i.join("; ")}function Kir(n){const i=new Map;for(const s of n)i.set(s.toLowerCase(),s);return i}const Yir=["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"],Jir=MJt(rue,"div"),Xir=MJt(zz,"g",Yir);function Zir(n){const i=String(n),s=[];return{toOffset:d,toPoint:u};function u(g){if(typeof g=="number"&&g>-1&&g<=i.length){let b=0;for(;;){let w=s[b];if(w===void 0){const E=c$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=c$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 c$t(n,i){const s=n.indexOf("\r",i),u=n.indexOf(`
`,i);return u===-1?s:s===-1||s+1===u?u:s<u?s:u}const Qir={svg:"http://www.w3.org/2000/svg"},PJt={}.hasOwnProperty,eor=Object.prototype;function tor(n,i){const s=i||{};return s9e({file:s.file||void 0,location:!1,schema:s.space==="svg"?zz:rue,verbose:s.verbose||!1},n)}function s9e(n,i){let s;switch(i.nodeName){case"#comment":{const u=i;return s={type:"comment",value:u.data},soe(n,u,s),s}case"#document":case"#document-fragment":{const u=i,d="mode"in u?u.mode==="quirks"||u.mode==="limited-quirks":!1;if(s={type:"root",children:jJt(n,i.childNodes),data:{quirksMode:d}},n.file&&n.location){const g=String(n.file),b=Zir(g),w=b.toPoint(0),E=b.toPoint(g.length);s.position={start:w,end:E}}return s}case"#documentType":{const u=i;return s={type:"doctype"},soe(n,u,s),s}case"#text":{const u=i;return s={type:"text",value:u.value},soe(n,u,s),s}default:return s=nor(n,i),s}}function jJt(n,i){let s=-1;const u=[];for(;++s<i.length;){const d=s9e(n,i[s]);u.push(d)}return u}function nor(n,i){const s=n.schema;n.schema=i.namespaceURI===Qir.svg?zz:rue;let u=-1;const d={};for(;++u<i.attrs.length;){const w=i.attrs[u],E=(w.prefix?w.prefix+":":"")+w.name;PJt.call(eor,E)||(d[E]=w.value)}const b=(n.schema.space==="svg"?Xir:Jir)(i.tagName,d,jJt(n,i.childNodes));if(soe(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=s9e(n,w.content);S&&x&&n.file&&(A.position={start:S.end,end:x.start}),b.content=A}return n.schema=s,b}function soe(n,i,s){if("sourceCodeLocation"in i&&i.sourceCodeLocation&&n.file){const u=ror(n,s,i.sourceCodeLocation);u&&(n.location=!0,s.position=u)}}function ror(n,i,s){const u=K5(s);if(i.type==="element"){const d=i.children[i.children.length-1];if(u&&!s.endTag&&d&&d.position&&d.position.end&&(u.end=Object.assign({},d.position.end)),n.verbose){const g={};let b;if(s.attrs)for(b in s.attrs)PJt.call(s.attrs,b)&&(g[o9e(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 u}function K5(n){const i=l$t({line:n.startLine,column:n.startCol,offset:n.startOffset}),s=l$t({line:n.endLine,column:n.endCol,offset:n.endOffset});return i||s?{start:i,end:s}:void 0}function l$t(n){return n.line&&n.column?n:void 0}const ior=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 FJt(n){return n>=55296&&n<=57343}function oor(n){return n>=56320&&n<=57343}function sor(n,i){return(n-55296)*1024+9216+i}function $Jt(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function BJt(n){return n>=64976&&n<=65007||ior.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 aor=65536;class uor{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=aor,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:u,col:d,offset:g}=this,b=d+s,w=g+s;return{code:i,startLine:u,endLine:u,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(oor(s))return this.pos++,this._addGap(),sor(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 u=0;u<i.length;u++)if((this.html.charCodeAt(this.pos+u)|32)!==i.charCodeAt(u))return!1;return!0}peek(i){const s=this.pos+i;if(s>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$e.EOF;const u=this.html.charCodeAt(s);return u===$e.CARRIAGE_RETURN?$e.LINE_FEED:u}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,FJt(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){$Jt(i)?this._err(sn.controlCharacterInInputStream):BJt(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 UJt(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 cor=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\0᾽g;耀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))),lor=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 dor(n){var i;return n>=55296&&n<=57343||n>1114111?65533:(i=lor.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 hor=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 cDe(n){return n>=nh.ZERO&&n<=nh.NINE}function por(n){return n>=nh.UPPER_A&&n<=nh.UPPER_F||n>=nh.LOWER_A&&n<=nh.LOWER_F}function gor(n){return n>=nh.UPPER_A&&n<=nh.UPPER_Z||n>=nh.LOWER_A&&n<=nh.LOWER_Z||cDe(n)}function bor(n){return n===nh.EQUALS||gor(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 mor{constructor(i,s,u){this.decodeTree=i,this.emitCodePoint=s,this.errors=u,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)|hor)===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,u,d){if(s!==u){const g=u-s;this.result=this.result*Math.pow(d,g)+Number.parseInt(i.substr(s,g),d),this.consumed+=g}}stateNumericHex(i,s){const u=s;for(;s<i.length;){const d=i.charCodeAt(s);if(cDe(d)||por(d))s+=1;else return this.addToNumericResult(i,u,s,16),this.emitNumericEntity(d,3)}return this.addToNumericResult(i,u,s,16),-1}stateNumericDecimal(i,s){const u=s;for(;s<i.length;){const d=i.charCodeAt(s);if(cDe(d))s+=1;else return this.addToNumericResult(i,u,s,10),this.emitNumericEntity(d,2)}return this.addToNumericResult(i,u,s,10),-1}emitNumericEntity(i,s){var u;if(this.consumed<=s)return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===nh.SEMI)this.consumed+=1;else if(this.decodeMode===aA.Strict)return 0;return this.emitCodePoint(dor(this.result),this.consumed),this.errors&&(i!==nh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,s){const{decodeTree:u}=this;let d=u[this.treeIndex],g=(d&qk.VALUE_LENGTH)>>14;for(;s<i.length;s++,this.excess++){const b=i.charCodeAt(s);if(this.treeIndex=wor(u,d,this.treeIndex+Math.max(1,g),b),this.treeIndex<0)return this.result===0||this.decodeMode===aA.Attribute&&(g===0||bor(b))?0:this.emitNotTerminatedNamedEntity();if(d=u[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:u}=this,d=(u[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,u){const{decodeTree:d}=this;return this.emitCodePoint(s===1?d[i]&~qk.VALUE_LENGTH:d[i+1],u),s===3&&this.emitCodePoint(d[i+2],u),u}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 wor(n,i,s,u){const d=(i&qk.BRANCH_LENGTH)>>7,g=i&qk.JUMP_TABLE;if(d===0)return g!==0&&u===g?s:-1;if(g){const E=u-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<u)b=E+1;else if(S>u)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 yor=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=yor.get(n))!==null&&i!==void 0?i:W.UNKNOWN}const Xn=W,vor={[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},lDe=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 Eor(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 Sor(n){return n>=$e.LATIN_SMALL_A&&n<=$e.LATIN_SMALL_Z}function Dk(n){return Sor(n)||sH(n)}function d$t(n){return Dk(n)||Eor(n)}function Lie(n){return n+32}function HJt(n){return n===$e.SPACE||n===$e.LINE_FEED||n===$e.TABULATION||n===$e.FORM_FEED}function f$t(n){return HJt(n)||n===$e.SOLIDUS||n===$e.GREATER_THAN_SIGN}function Tor(n){return n===$e.NULL?sn.nullCharacterReference:n>1114111?sn.characterReferenceOutsideUnicodeRange:FJt(n)?sn.surrogateCharacterReference:BJt(n)?sn.noncharacterCharacterReference:$Jt(n)||n===$e.CARRIAGE_RETURN?sn.controlCharacterReference:null}class Aor{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 uor(s),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new mor(cor,(u,d)=>{this.preprocessor.pos=this.entityStartPos+d-1,this._flushCodePointConsumedAsCharacterReference(u)},s.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(sn.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:u=>{this._err(sn.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+u)},validateNumericCharacterReference:u=>{const d=Tor(u);d&&this._err(d,1)}}:void 0)}_err(i,s=0){var u,d;(d=(u=this.handler).onParseError)===null||d===void 0||d.call(u,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,u){this.active=!0,this.preprocessor.write(i,s),this._runParsingLoop(),this.paused||u==null||u()}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 u=this.currentToken;if(UJt(u,this.currentAttr.name)===null){if(u.attrs.push(this.currentAttr),u.location&&this.currentLocation){const d=(i=(s=u.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=HJt(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(Dk(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(Dk(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)?Lie(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){Dk(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){Dk(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){Dk(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:Dk(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){Dk(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)&&f$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)&&f$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)?Lie(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(Lie(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)?Lie(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()&&d$t(this.preprocessor.peek(1))?Ve.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(i){d$t(i)?this._flushCodePointConsumedAsCharacterReference(i):(i===$e.SEMICOLON&&this._err(sn.unknownNamedCharacterReference),this.state=this.returnState,this._callState(i))}}const zJt=new Set([W.DD,W.DT,W.LI,W.OPTGROUP,W.OPTION,W.P,W.RB,W.RP,W.RT,W.RTC]),h$t=new Set([...zJt,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]),_or=new Set([...Ase,W.OL,W.UL]),xor=new Set([...Ase,W.BUTTON]),p$t=new Set([W.ANNOTATION_XML,W.MI,W.MN,W.MO,W.MS,W.MTEXT]),g$t=new Set([W.DESC,W.FOREIGN_OBJECT,W.TITLE]),kor=new Set([W.TR,W.TEMPLATE,W.HTML]),Nor=new Set([W.TBODY,W.TFOOT,W.THEAD,W.TEMPLATE,W.HTML]),Cor=new Set([W.TABLE,W.TEMPLATE,W.HTML]),Ior=new Set([W.TD,W.TH]);class Ror{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(i,s,u){this.treeAdapter=s,this.handler=u,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 u=this._indexOf(i);this.items[u]=s,u===this.stackTop&&(this.current=s)}insertAfter(i,s,u){const d=this._indexOf(i)+1;this.items.splice(d,0,s),this.tagIDs.splice(d,0,u),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 u=this._indexOfTagNames(i,s);this.shortenToLength(Math.max(u,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(lDe,Fn.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ior,Fn.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(i,s){for(let u=this.stackTop;u>=0;u--)if(i.has(this.tagIDs[u])&&this.treeAdapter.getNamespaceURI(this.items[u])===s)return u;return-1}clearBackTo(i,s){const u=this._indexOfTagNames(i,s);this.shortenToLength(u+1)}clearBackToTableContext(){this.clearBackTo(Cor,Fn.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Nor,Fn.HTML)}clearBackToTableRowContext(){this.clearBackTo(kor,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 u=this.stackTop;u>=0;u--){const d=this.tagIDs[u];switch(this.treeAdapter.getNamespaceURI(this.items[u])){case Fn.HTML:{if(d===i)return!0;if(s.has(d))return!1;break}case Fn.SVG:{if(g$t.has(d))return!1;break}case Fn.MATHML:{if(p$t.has(d))return!1;break}}}return!0}hasInScope(i){return this.hasInDynamicScope(i,Ase)}hasInListItemScope(i){return this.hasInDynamicScope(i,_or)}hasInButtonScope(i){return this.hasInDynamicScope(i,xor)}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(lDe.has(s))return!0;if(Ase.has(s))return!1;break}case Fn.SVG:{if(g$t.has(s))return!1;break}case Fn.MATHML:{if(p$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&&zJt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&h$t.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(i){for(;this.currentTagId!==void 0&&this.currentTagId!==i&&h$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 b$t={type:I2.Marker};class Oor{constructor(i){this.treeAdapter=i,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(i,s){const u=[],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&&u.push({idx:w,attrs:x})}}return u}_ensureNoahArkCondition(i){if(this.entries.length<YOe)return;const s=this.treeAdapter.getAttrList(i),u=this._getNoahArkConditionCandidates(i,s);if(u.length<YOe)return;const d=new Map(s.map(b=>[b.name,b.value]));let g=0;for(let b=0;b<u.length;b++){const w=u[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(b$t)}pushElement(i,s){this._ensureNoahArkCondition(i),this.entries.unshift({type:I2.Element,element:i,token:s})}insertElementAfterBookmark(i,s){const u=this.entries.indexOf(this.bookmark);this.entries.splice(u,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(b$t);i===-1?this.entries.length=0:this.entries.splice(0,i+1)}getElementEntryInScopeWithTagName(i){const s=this.entries.find(u=>u.type===I2.Marker||this.treeAdapter.getTagName(u.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 u=n.childNodes.indexOf(s);n.childNodes.splice(u,0,i),i.parentNode=n},setTemplateContent(n,i){n.content=i},getTemplateContent(n){return n.content},setDocumentType(n,i,s,u){const d=n.childNodes.find(g=>g.nodeName==="#documentType");if(d)d.name=i,d.publicId=s,d.systemId=u;else{const g={nodeName:"#documentType",name:i,publicId:s,systemId:u,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 u=n.childNodes[n.childNodes.indexOf(s)-1];u&&Mk.isTextNode(u)?u.value+=i:Mk.insertBefore(n,Mk.createTextNode(i),s)},adoptAttributes(n,i){const s=new Set(n.attrs.map(u=>u.name));for(let u=0;u<i.length;u++)s.has(i[u].name)||n.attrs.push(i[u])},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}}},GJt="html",Lor="about:legacy-compat",Dor="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",qJt=["+//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//"],Mor=[...qJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Por=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),VJt=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],jor=[...VJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function m$t(n,i){return i.some(s=>n.startsWith(s))}function For(n){return n.name===GJt&&n.publicId===null&&(n.systemId===null||n.systemId===Lor)}function $or(n){if(n.name!==GJt)return ww.QUIRKS;const{systemId:i}=n;if(i&&i.toLowerCase()===Dor)return ww.QUIRKS;let{publicId:s}=n;if(s!==null){if(s=s.toLowerCase(),Por.has(s))return ww.QUIRKS;let u=i===null?Mor:qJt;if(m$t(s,u))return ww.QUIRKS;if(u=i===null?VJt:jor,m$t(s,u))return ww.LIMITED_QUIRKS}return ww.NO_QUIRKS}const w$t={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Bor="definitionurl",Uor="definitionURL",Hor=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])),zor=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}]]),Gor=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])),qor=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 Vor(n){const i=n.tagID;return i===W.FONT&&n.attrs.some(({name:u})=>u===iR.COLOR||u===iR.SIZE||u===iR.FACE)||qor.has(i)}function WJt(n){for(let i=0;i<n.attrs.length;i++)if(n.attrs[i].name===Bor){n.attrs[i].name=Uor;break}}function KJt(n){for(let i=0;i<n.attrs.length;i++){const s=Hor.get(n.attrs[i].name);s!=null&&(n.attrs[i].name=s)}}function a9e(n){for(let i=0;i<n.attrs.length;i++){const s=zor.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 Wor(n){const i=Gor.get(n.tagName);i!=null&&(n.tagName=i,n.tagID=iue(n.tagName))}function Kor(n,i){return i===Fn.MATHML&&(n===W.MI||n===W.MO||n===W.MN||n===W.MS||n===W.MTEXT)}function Yor(n,i,s){if(i===Fn.MATHML&&n===W.ANNOTATION_XML){for(let u=0;u<s.length;u++)if(s[u].name===iR.ENCODING){const d=s[u].value.toLowerCase();return d===w$t.TEXT_HTML||d===w$t.APPLICATION_XML}}return i===Fn.SVG&&(n===W.FOREIGN_OBJECT||n===W.DESC||n===W.TITLE)}function Jor(n,i,s,u){return(!u||u===Fn.HTML)&&Yor(n,i,s)||(!u||u===Fn.MATHML)&&Kor(n,i)}const Xor="hidden",Zor=8,Qor=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 esr={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},YJt=new Set([W.TABLE,W.TBODY,W.TFOOT,W.THEAD,W.TR]),y$t={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Mk,onParseError:null};class JJt{constructor(i,s,u=null,d=null){this.fragmentContext=u,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={...y$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 Aor(this.options,this),this.activeFormattingElements=new Oor(this.treeAdapter),this.fragmentContextID=u?iue(this.treeAdapter.getTagName(u)):W.UNKNOWN,this._setContextModes(u??this.document,this.fragmentContextID),this.openElements=new Ror(this.document,this.treeAdapter,this)}static parse(i,s){const u=new this(s);return u.tokenizer.write(i,!0),u.document}static getFragmentParser(i,s){const u={...y$t,...s};i??(i=u.treeAdapter.createElement(Pt.TEMPLATE,Fn.HTML,[]));const d=u.treeAdapter.createElement("documentmock",Fn.HTML,[]),g=new this(u,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,u){var d;if(!this.onParseError)return;const g=(d=i.location)!==null&&d!==void 0?d:esr,b={code:s,startLine:g.startLine,startCol:g.startCol,startOffset:g.startOffset,endLine:u?g.startLine:g.endLine,endCol:u?g.startCol:g.endCol,endOffset:u?g.startOffset:g.endOffset};this.onParseError(b)}onItemPush(i,s,u){var d,g;(g=(d=this.treeAdapter).onItemPush)===null||g===void 0||g.call(d,i),u&&this.openElements.stackTop>0&&this._setContextModes(i,s)}onItemPop(i,s){var u,d;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(i,this.currentToken),(d=(u=this.treeAdapter).onItemPop)===null||d===void 0||d.call(u,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 u=i===this.document||i&&this.treeAdapter.getNamespaceURI(i)===Fn.HTML;this.currentNotInHTML=!u,this.tokenizer.inForeignNode=!u&&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||"",u=i.publicId||"",d=i.systemId||"";if(this.treeAdapter.setDocumentType(this.document,s,u,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 u=s&&{...s,startTag:s};this.treeAdapter.setNodeSourceCodeLocation(i,u)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(i);else{const u=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(u??this.document,i)}}_appendElement(i,s){const u=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(u,i.location)}_insertElement(i,s){const u=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(u,i.location),this.openElements.push(u,i.tagID)}_insertFakeElement(i,s){const u=this.treeAdapter.createElement(i,Fn.HTML,[]);this._attachElementToTree(u,null),this.openElements.push(u,s)}_insertTemplate(i){const s=this.treeAdapter.createElement(i.tagName,Fn.HTML,i.attrs),u=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(s,u),this._attachElementToTree(s,i.location),this.openElements.push(s,i.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,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 u=this.treeAdapter.createCommentNode(i.data);this.treeAdapter.appendChild(s,u),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,i.location)}_insertCharacters(i){let s,u;if(this._shouldFosterParentOnInsertion()?({parent:s,beforeElement:u}=this._findFosterParentingLocation(),u?this.treeAdapter.insertTextBefore(s,i.chars,u):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=u?d.lastIndexOf(u):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 u=this.treeAdapter.getFirstChild(i);u;u=this.treeAdapter.getFirstChild(i))this.treeAdapter.detachNode(u),this.treeAdapter.appendChild(s,u)}_setEndLocation(i,s){if(this.treeAdapter.getNodeSourceCodeLocation(i)&&s.location){const u=s.location,d=this.treeAdapter.getTagName(i),g=s.type===ha.END_TAG&&d===s.tagName?{endTag:{...u},endLine:u.endLine,endCol:u.endCol,endOffset:u.endOffset}:{endLine:u.startLine,endCol:u.startCol,endOffset:u.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(i,g)}}shouldProcessStartTagTokenInForeignContent(i){if(!this.currentNotInHTML)return!1;let s,u;return this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,u=this.fragmentContextID):{current:s,currentTagId:u}=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)&&u!==void 0&&!this._isIntegrationPoint(u,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,u){const d=this.treeAdapter.getNamespaceURI(s),g=this.treeAdapter.getAttrList(s);return Jor(i,d,g,u)}_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)),u=s===-1?i-1:s-1;for(let d=u;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 u=this.openElements.tagIDs[s];if(u===W.TEMPLATE)break;if(u===W.TABLE){this.insertionMode=ut.IN_SELECT_IN_TABLE;return}}this.insertionMode=ut.IN_SELECT}_isElementCausesFosterParenting(i){return YJt.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 u=this.treeAdapter.getParentNode(s);return u?{parent:u,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 u=this.treeAdapter.getNamespaceURI(i);return vor[u].has(s)}onCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Rar(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:{ZJt(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:{iXt(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:{aoe(this,i);break}}}onNullCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Iar(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:{aoe(this,i);break}}}onComment(i){if(this.skipNextNewLine=!1,this.currentNotInHTML){dDe(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:{dDe(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.AFTER_BODY:{asr(this,i);break}case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{usr(this,i);break}}}onDoctype(i){switch(this.skipNextNewLine=!1,this.insertionMode){case ut.INITIAL:{csr(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)?Oar(this,i):this._startTagOutsideForeignContent(i)}_startTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{lsr(this,i);break}case ut.BEFORE_HEAD:{fsr(this,i);break}case ut.IN_HEAD:{Hv(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{gsr(this,i);break}case ut.AFTER_HEAD:{msr(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:{har(this,i);break}case ut.IN_COLUMN_GROUP:{l9e(this,i);break}case ut.IN_TABLE_BODY:{aue(this,i);break}case ut.IN_ROW:{uue(this,i);break}case ut.IN_CELL:{bar(this,i);break}case ut.IN_SELECT:{aXt(this,i);break}case ut.IN_SELECT_IN_TABLE:{war(this,i);break}case ut.IN_TEMPLATE:{Ear(this,i);break}case ut.AFTER_BODY:{Tar(this,i);break}case ut.IN_FRAMESET:{Aar(this,i);break}case ut.AFTER_FRAMESET:{xar(this,i);break}case ut.AFTER_AFTER_BODY:{Nar(this,i);break}case ut.AFTER_AFTER_FRAMESET:{Car(this,i);break}}}onEndTag(i){this.skipNextNewLine=!1,this.currentToken=i,this.currentNotInHTML?Lar(this,i):this._endTagOutsideForeignContent(i)}_endTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{dsr(this,i);break}case ut.BEFORE_HEAD:{hsr(this,i);break}case ut.IN_HEAD:{psr(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{bsr(this,i);break}case ut.AFTER_HEAD:{wsr(this,i);break}case ut.IN_BODY:{sue(this,i);break}case ut.TEXT:{rar(this,i);break}case ut.IN_TABLE:{pz(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.IN_CAPTION:{par(this,i);break}case ut.IN_COLUMN_GROUP:{gar(this,i);break}case ut.IN_TABLE_BODY:{fDe(this,i);break}case ut.IN_ROW:{sXt(this,i);break}case ut.IN_CELL:{mar(this,i);break}case ut.IN_SELECT:{uXt(this,i);break}case ut.IN_SELECT_IN_TABLE:{yar(this,i);break}case ut.IN_TEMPLATE:{Sar(this,i);break}case ut.AFTER_BODY:{lXt(this,i);break}case ut.IN_FRAMESET:{_ar(this,i);break}case ut.AFTER_FRAMESET:{kar(this,i);break}case ut.AFTER_AFTER_BODY:{aoe(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:{nXt(this,i);break}case ut.TEXT:{iar(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.IN_TEMPLATE:{cXt(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:{c9e(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:{XJt(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:{rXt(this,i);break}}}}function tsr(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):tXt(n,i),s}function nsr(n,i){let s=null,u=n.openElements.stackTop;for(;u>=0;u--){const d=n.openElements.items[u];if(d===i.element)break;n._isSpecialElement(d,n.openElements.tagIDs[u])&&(s=d)}return s||(n.openElements.shortenToLength(Math.max(u,0)),n.activeFormattingElements.removeEntry(i)),s}function rsr(n,i,s){let u=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>=Qor;!w||E?(E&&n.activeFormattingElements.removeEntry(w),n.openElements.remove(b)):(b=isr(n,w),u===i&&(n.activeFormattingElements.bookmark=w),n.treeAdapter.detachNode(u),n.treeAdapter.appendChild(b,u),u=b)}return u}function isr(n,i){const s=n.treeAdapter.getNamespaceURI(i.element),u=n.treeAdapter.createElement(i.token.tagName,s,i.token.attrs);return n.openElements.replace(i.element,u),i.element=u,u}function osr(n,i,s){const u=n.treeAdapter.getTagName(i),d=iue(u);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 ssr(n,i,s){const u=n.treeAdapter.getNamespaceURI(s.element),{token:d}=s,g=n.treeAdapter.createElement(d.tagName,u,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 u9e(n,i){for(let s=0;s<Zor;s++){const u=tsr(n,i);if(!u)break;const d=nsr(n,u);if(!d)break;n.activeFormattingElements.bookmark=u;const g=rsr(n,d,u.element),b=n.openElements.getCommonAncestor(u.element);n.treeAdapter.detachNode(g),b&&osr(n,b,g),ssr(n,d,u)}}function dDe(n,i){n._appendCommentNode(i,n.openElements.currentTmplContentOrNode)}function asr(n,i){n._appendCommentNode(i,n.openElements.items[0])}function usr(n,i){n._appendCommentNode(i,n.document)}function c9e(n,i){if(n.stopped=!0,i.location){const s=n.fragmentContext?0:2;for(let u=n.openElements.stackTop;u>=s;u--)n._setEndLocation(n.openElements.items[u],i);if(!n.fragmentContext&&n.openElements.stackTop>=0){const u=n.openElements.items[0],d=n.treeAdapter.getNodeSourceCodeLocation(u);if(d&&!d.endTag&&(n._setEndLocation(u,i),n.openElements.stackTop>=1)){const g=n.openElements.items[1],b=n.treeAdapter.getNodeSourceCodeLocation(g);b&&!b.endTag&&n._setEndLocation(g,i)}}}}function csr(n,i){n._setDocumentType(i);const s=i.forceQuirks?ww.QUIRKS:$or(i);For(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 lsr(n,i){i.tagID===W.HTML?(n._insertElement(i,Fn.HTML),n.insertionMode=ut.BEFORE_HEAD):vH(n,i)}function dsr(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 fsr(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 hsr(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 psr(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 gsr(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 bsr(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 msr(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 wsr(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:{ZJt(n,i);break}case ha.WHITESPACE_CHARACTER:{XJt(n,i);break}case ha.COMMENT:{dDe(n,i);break}case ha.START_TAG:{Vp(n,i);break}case ha.END_TAG:{sue(n,i);break}case ha.EOF:{nXt(n,i);break}}}function XJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i)}function ZJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i),n.framesetOk=!1}function ysr(n,i){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],i.attrs)}function vsr(n,i){const s=n.openElements.tryPeekProperlyNestedBodyElement();s&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(s,i.attrs))}function Esr(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 Ssr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function Tsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&lDe.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(i,Fn.HTML)}function Asr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function _sr(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 xsr(n,i){n.framesetOk=!1;const s=i.tagID;for(let u=n.openElements.stackTop;u>=0;u--){const d=n.openElements.tagIDs[u];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[u],d))break}n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function ksr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.tokenizer.state=ob.PLAINTEXT}function Nsr(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 Csr(n,i){const s=n.activeFormattingElements.getElementEntryInScopeWithTagName(Pt.A);s&&(u9e(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 Isr(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Rsr(n,i){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(W.NOBR)&&(u9e(n,i),n._reconstructActiveFormattingElements()),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Osr(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function Lsr(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 QJt(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function eXt(n){const i=UJt(n,iR.TYPE);return i!=null&&i.toLowerCase()===Xor}function Dsr(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),eXt(i)||(n.framesetOk=!1),i.ackSelfClosing=!0}function Msr(n,i){n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0}function Psr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function jsr(n,i){i.tagName=Pt.IMG,i.tagID=W.IMG,QJt(n,i)}function Fsr(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 $sr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function Bsr(n,i){n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function v$t(n,i){n._switchToTextParsing(i,ob.RAWTEXT)}function Usr(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 Hsr(n,i){n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML)}function zsr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(i,Fn.HTML)}function Gsr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(W.RTC),n._insertElement(i,Fn.HTML)}function qsr(n,i){n._reconstructActiveFormattingElements(),WJt(i),a9e(i),i.selfClosing?n._appendElement(i,Fn.MATHML):n._insertElement(i,Fn.MATHML),i.ackSelfClosing=!0}function Vsr(n,i){n._reconstructActiveFormattingElements(),KJt(i),a9e(i),i.selfClosing?n._appendElement(i,Fn.SVG):n._insertElement(i,Fn.SVG),i.ackSelfClosing=!0}function E$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:{Isr(n,i);break}case W.A:{Csr(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{Tsr(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:{Ssr(n,i);break}case W.LI:case W.DD:case W.DT:{xsr(n,i);break}case W.BR:case W.IMG:case W.WBR:case W.AREA:case W.EMBED:case W.KEYGEN:{QJt(n,i);break}case W.HR:{Psr(n,i);break}case W.RB:case W.RTC:{zsr(n,i);break}case W.RT:case W.RP:{Gsr(n,i);break}case W.PRE:case W.LISTING:{Asr(n,i);break}case W.XMP:{$sr(n,i);break}case W.SVG:{Vsr(n,i);break}case W.HTML:{ysr(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:{vsr(n,i);break}case W.FORM:{_sr(n,i);break}case W.NOBR:{Rsr(n,i);break}case W.MATH:{qsr(n,i);break}case W.TABLE:{Lsr(n,i);break}case W.INPUT:{Dsr(n,i);break}case W.PARAM:case W.TRACK:case W.SOURCE:{Msr(n,i);break}case W.IMAGE:{jsr(n,i);break}case W.BUTTON:{Nsr(n,i);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{Osr(n,i);break}case W.IFRAME:{Bsr(n,i);break}case W.SELECT:{Usr(n,i);break}case W.OPTION:case W.OPTGROUP:{Hsr(n,i);break}case W.NOEMBED:case W.NOFRAMES:{v$t(n,i);break}case W.FRAMESET:{Esr(n,i);break}case W.TEXTAREA:{Fsr(n,i);break}case W.NOSCRIPT:{n.options.scriptingEnabled?v$t(n,i):E$t(n,i);break}case W.PLAINTEXT:{ksr(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:E$t(n,i)}}function Wsr(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 Ksr(n,i){n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ut.AFTER_BODY,lXt(n,i))}function Ysr(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s))}function Jsr(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 Xsr(n){n.openElements.hasInButtonScope(W.P)||n._insertFakeElement(Pt.P,W.P),n._closePElement()}function Zsr(n){n.openElements.hasInListItemScope(W.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(W.LI),n.openElements.popUntilTagNamePopped(W.LI))}function Qsr(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTagsWithExclusion(s),n.openElements.popUntilTagNamePopped(s))}function ear(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function tar(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s),n.activeFormattingElements.clearToLastMarker())}function nar(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Pt.BR,W.BR),n.openElements.pop(),n.framesetOk=!1}function tXt(n,i){const s=i.tagName,u=i.tagID;for(let d=n.openElements.stackTop;d>0;d--){const g=n.openElements.items[d],b=n.openElements.tagIDs[d];if(u===b&&(u!==W.UNKNOWN||n.treeAdapter.getTagName(g)===s)){n.openElements.generateImpliedEndTagsWithExclusion(u),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:{u9e(n,i);break}case W.P:{Xsr(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:{Ysr(n,i);break}case W.LI:{Zsr(n);break}case W.DD:case W.DT:{Qsr(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{ear(n);break}case W.BR:{nar(n);break}case W.BODY:{Wsr(n,i);break}case W.HTML:{Ksr(n,i);break}case W.FORM:{Jsr(n);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{tar(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:tXt(n,i)}}function nXt(n,i){n.tmplInsertionModeStack.length>0?cXt(n,i):c9e(n,i)}function rar(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 iar(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&&YJt.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:{iXt(n,i);break}case ha.WHITESPACE_CHARACTER:{rXt(n,i);break}}else Gz(n,i)}function oar(n,i){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_CAPTION}function sar(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_COLUMN_GROUP}function aar(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.COLGROUP,W.COLGROUP),n.insertionMode=ut.IN_COLUMN_GROUP,l9e(n,i)}function uar(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_TABLE_BODY}function car(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.TBODY,W.TBODY),n.insertionMode=ut.IN_TABLE_BODY,aue(n,i)}function lar(n,i){n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode(),n._processStartTag(i))}function dar(n,i){eXt(i)?n._appendElement(i,Fn.HTML):Gz(n,i),i.ackSelfClosing=!0}function far(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:{car(n,i);break}case W.STYLE:case W.SCRIPT:case W.TEMPLATE:{Hv(n,i);break}case W.COL:{aar(n,i);break}case W.FORM:{far(n,i);break}case W.TABLE:{lar(n,i);break}case W.TBODY:case W.TFOOT:case W.THEAD:{uar(n,i);break}case W.INPUT:{dar(n,i);break}case W.CAPTION:{oar(n,i);break}case W.COLGROUP:{sar(n,i);break}default:Gz(n,i)}}function pz(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:Gz(n,i)}}function Gz(n,i){const s=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,oue(n,i),n.fosterParentingEnabled=s}function rXt(n,i){n.pendingCharacterTokens.push(i)}function iXt(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++)Gz(n,n.pendingCharacterTokens[s]);else for(;s<n.pendingCharacterTokens.length;s++)n._insertCharacters(n.pendingCharacterTokens[s]);n.insertionMode=n.originalInsertionMode,n._processToken(i)}const oXt=new Set([W.CAPTION,W.COL,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]);function har(n,i){const s=i.tagID;oXt.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 par(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&&pz(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 l9e(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 gar(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 fDe(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,pz(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:pz(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 sXt(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,fDe(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,fDe(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:pz(n,i)}}function bar(n,i){const s=i.tagID;oXt.has(s)?(n.openElements.hasInTableScope(W.TD)||n.openElements.hasInTableScope(W.TH))&&(n._closeTableCell(),uue(n,i)):Vp(n,i)}function mar(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(),sXt(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:break;default:sue(n,i)}}function aXt(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 uXt(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 war(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)):aXt(n,i)}function yar(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)):uXt(n,i)}function Ear(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,l9e(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 Sar(n,i){i.tagID===W.TEMPLATE&&jR(n,i)}function cXt(n,i){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(i)):c9e(n,i)}function Tar(n,i){i.tagID===W.HTML?Vp(n,i):xse(n,i)}function lXt(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 u=n.openElements.items[1];u&&!(!((s=n.treeAdapter.getNodeSourceCodeLocation(u))===null||s===void 0)&&s.endTag)&&n._setEndLocation(u,i)}}else xse(n,i)}function xse(n,i){n.insertionMode=ut.IN_BODY,oue(n,i)}function Aar(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 _ar(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 xar(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function kar(n,i){i.tagID===W.HTML&&(n.insertionMode=ut.AFTER_AFTER_FRAMESET)}function Nar(n,i){i.tagID===W.HTML?Vp(n,i):aoe(n,i)}function aoe(n,i){n.insertionMode=ut.IN_BODY,oue(n,i)}function Car(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function Iar(n,i){i.chars=Oc,n._insertCharacters(i)}function Rar(n,i){n._insertCharacters(i),n.framesetOk=!1}function dXt(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 Oar(n,i){if(Vor(i))dXt(n),n._startTagOutsideForeignContent(i);else{const s=n._getAdjustedCurrentElement(),u=n.treeAdapter.getNamespaceURI(s);u===Fn.MATHML?WJt(i):u===Fn.SVG&&(Wor(i),KJt(i)),a9e(i),i.selfClosing?n._appendElement(i,u):n._insertElement(i,u),i.ackSelfClosing=!0}}function Lar(n,i){if(i.tagID===W.P||i.tagID===W.BR){dXt(n),n._endTagOutsideForeignContent(i);return}for(let s=n.openElements.stackTop;s>0;s--){const u=n.openElements.items[s];if(n.treeAdapter.getNamespaceURI(u)===Fn.HTML){n._endTagOutsideForeignContent(i);break}const d=n.treeAdapter.getTagName(u);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 Dar(n,i){return JJt.parse(n,i)}function Mar(n,i,s){typeof n=="string"&&(s=i,i=n,n=null);const u=JJt.getFragmentParser(n,s);return u.tokenizer.write(i,!0),u.getFragment()}function Par(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?S$t(n.position):"start"in n||"end"in n?S$t(n):"line"in n||"column"in n?hDe(n):""}function hDe(n){return T$t(n&&n.line)+":"+T$t(n&&n.column)}function S$t(n){return hDe(n&&n.start)+"-"+hDe(n&&n.end)}function T$t(n){return n&&typeof n=="number"?n:1}class Kg extends Error{constructor(i,s,u){super(),typeof s=="string"&&(u=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 u=="string"){const E=u.indexOf(":");E===-1?g.ruleId=u:(g.source=u.slice(0,E),g.ruleId=u.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=Par(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:jar,dirname:Far,extname:$ar,join:Bar,sep:"/"};function jar(n,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');qz(n);let s=0,u=-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 u<0&&(g=!0,u=d+1);return u<0?"":n.slice(s,u)}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&&(u=d):(w=-1,u=b));return s===u?u=b:u<0&&(u=n.length),n.slice(s,u)}function Far(n){if(qz(n),n.length===0)return".";let i=-1,s=n.length,u;for(;--s;)if(n.codePointAt(s)===47){if(u){i=s;break}}else u||(u=!0);return i<0?n.codePointAt(0)===47?"/":".":i===1&&n.codePointAt(0)===47?"//":n.slice(0,i)}function $ar(n){qz(n);let i=n.length,s=-1,u=0,d=-1,g=0,b;for(;i--;){const w=n.codePointAt(i);if(w===47){if(b){u=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===u+1?"":n.slice(d,s)}function Bar(...n){let i=-1,s;for(;++i<n.length;)qz(n[i]),n[i]&&(s=s===void 0?n[i]:s+"/"+n[i]);return s===void 0?".":Uar(s)}function Uar(n){qz(n);const i=n.codePointAt(0)===47;let s=Har(n,!i);return s.length===0&&!i&&(s="."),s.length>0&&n.codePointAt(n.length-1)===47&&(s+="/"),i?"/"+s:s}function Har(n,i){let s="",u=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||u!==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="",u=0):(s=s.slice(0,E),u=s.length-1-s.lastIndexOf("/")),d=b,g=0;continue}}else if(s.length>0){s="",u=0,d=b,g=0;continue}}i&&(s=s.length>0?s+"/..":"..",u=2)}else s.length>0?s+="/"+n.slice(d+1,b):s=n.slice(d+1,b),u=b-d-1;d=b,g=0}else w===46&&g>-1?g++:g=-1}return s}function qz(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const zar={cwd:Gar};function Gar(){return"/"}function pDe(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function qar(n){if(typeof n=="string")n=new URL(n);else if(!pDe(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 Var(n)}function Var(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const i=n.pathname;let s=-1;for(;++s<i.length;)if(i.codePointAt(s)===37&&i.codePointAt(s+1)===50){const u=i.codePointAt(s+2);if(u===70||u===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 gDe{constructor(i){let s;i?pDe(i)?s={path:i}:typeof i=="string"||War(i)?s={value:i}:s=i:s={},this.cwd="cwd"in s?"":zar.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<XOe.length;){const g=XOe[u];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){A$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"),A$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){pDe(i)&&(i=qar(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,u){const d=this.message(i,s,u);throw d.fatal=!0,d}info(i,s,u){const d=this.message(i,s,u);return d.fatal=void 0,d}message(i,s,u){const d=new Kg(i,s,u);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 A$t(n,i){if(!n)throw new Error("Setting `"+i+"` requires `path` to be set too")}function War(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Kar={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"}},Yar="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",Jar=/-[a-z]/g,Xar=/%c(?:([-+])(\d+))?/g,Zar=/%x/g,Qar={2:!0,1:!1,0:null},eur={};function tur(n,i){const s=i||eur,u=s.onerror,d=n instanceof gDe?n:new gDe(n),g=s.fragment?Mar:Dar,b=String(d),w=g(b,{sourceCodeLocationInfo:!0,onParseError:s.onerror?E:null,scriptingEnabled:!1});return tor(w,{file:d,space:s.space,verbose:s.verbose});function E(S){const x=S.code,A=nur(x),C=s[A],R=C??!0,D=typeof R=="number"?R:R?1:0;if(D){const B=Kar[A],$=new Kg(L(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=Qar[D],$.note=L(B.description),$.url=B.url===!1?void 0:Yar+x,u($)}function L(B){return B.replace(Xar,$).replace(Zar,j);function $(P,G,ee){const ne=(ee?Number.parseInt(ee,10):0)*(G==="-"?-1:1),Q=b.charAt(S.startOffset+ne);return iur(Q)}function j(){return our(b.charCodeAt(S.startOffset))}}}}function nur(n){return n.replace(Jar,rur)}function rur(n){return n.charAt(1).toUpperCase()}function iur(n){return n==="`"?"` ` `":n}function our(n){return"0x"+n.toString(16).toUpperCase()}function sur(n){const i=this,{emitParseErrors:s,...u}={...i.data("settings"),...n};i.parser=d;function d(g,b){return tur(g,{...u,onerror:s?function(w){b.path&&(w.name=b.path+":"+w.name,w.file=b.path),b.messages.push(w)}:void 0})}}const aur=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],_$t={}.hasOwnProperty;function uur(n,i){const s=i||{};function u(d,...g){let b=u.invalid;const w=u.handlers;if(d&&_$t.call(d,n)){const E=String(d[n]);b=_$t.call(w,E)?w[E]:u.unknown}if(b)return b.call(this,d,...g)}return u.handlers=s.handlers||{},u.invalid=s.invalid,u.unknown=s.unknown,u}const cur=/["&'<>`]/g,lur=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dur=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,fur=/[|\\{}()[\]^$+*?.]/g,x$t=new WeakMap;function hur(n,i){if(n=n.replace(i.subset?pur(i.subset):cur,u),i.subset||i.escapeOnly)return n;return n.replace(lur,s).replace(dur,u);function s(d,g,b){return i.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,b.charCodeAt(g+2),i)}function u(d,g,b){return i.format(d.charCodeAt(0),b.charCodeAt(g+1),i)}}function pur(n){let i=x$t.get(n);return i||(i=gur(n),x$t.set(n,i)),i}function gur(n){const i=[];let s=-1;for(;++s<n.length;)i.push(n[s].replace(fur,"\\$&"));return new RegExp("(?:"+i.join("|")+")","g")}const bur=/[\dA-Fa-f]/;function mur(n,i,s){const u="&#x"+n.toString(16).toUpperCase();return s&&i&&!bur.test(String.fromCharCode(i))?u:u+";"}const wur=/\d/;function yur(n,i,s){const u="&#"+String(n);return s&&i&&!wur.test(String.fromCharCode(i))?u:u+";"}const fXt=["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:"€"},vur=["cent","copy","divide","gt","lt","not","para","times"],hXt={}.hasOwnProperty,bDe={};let Die;for(Die in e6e)hXt.call(e6e,Die)&&(bDe[e6e[Die]]=Die);const Eur=/[^\dA-Za-z]/;function Sur(n,i,s,u){const d=String.fromCharCode(n);if(hXt.call(bDe,d)){const g=bDe[d],b="&"+g;return s&&fXt.includes(g)&&!vur.includes(g)&&(!u||i&&i!==61&&Eur.test(String.fromCharCode(i)))?b:b+";"}return""}function Tur(n,i,s){let u=mur(n,i,s.omitOptionalSemicolons),d;if((s.useNamedReferences||s.useShortestReferences)&&(d=Sur(n,i,s.omitOptionalSemicolons,s.attribute)),(s.useShortestReferences||!d)&&s.useShortestReferences){const g=yur(n,i,s.omitOptionalSemicolons);g.length<u.length&&(u=g)}return d&&(!s.useShortestReferences||d.length<u.length)?d:u}function cM(n,i){return hur(n,Object.assign({format:Tur},i))}const Aur=/^>|^->|<!--|-->|--!>|<!-$/g,_ur=[">"],xur=["<",">"];function kur(n,i,s,u){return u.settings.bogusComments?"<?"+cM(n.value,Object.assign({},u.settings.characterReferences,{subset:_ur}))+">":"<!--"+n.value.replace(Aur,d)+"-->";function d(g){return cM(g,Object.assign({},u.settings.characterReferences,{subset:xur}))}}function Nur(n,i,s,u){return"<!"+(u.settings.upperDoctype?"DOCTYPE":"doctype")+(u.settings.tightDoctype?"":" ")+"html>"}function k$t(n,i){const s=String(n);if(typeof i!="string")throw new TypeError("Expected character");let u=0,d=s.indexOf(i);for(;d!==-1;)u++,d=s.indexOf(i,d+i.length);return u}const Cur=/[ \t\n\f\r]/g;function d9e(n){return typeof n=="object"?n.type==="text"?N$t(n.value):!1:N$t(n)}function N$t(n){return n.replace(Cur,"")===""}const Tf=gXt(1),pXt=gXt(-1),Iur=[];function gXt(n){return i;function i(s,u,d){const g=s?s.children:Iur;let b=(u||0)+n,w=g[b];if(!d)for(;w&&d9e(w);)b+=n,w=g[b];return w}}const Rur={}.hasOwnProperty;function bXt(n){return i;function i(s,u,d){return Rur.call(n,s.tagName)&&n[s.tagName](s,u,d)}}const f9e=bXt({body:Lur,caption:t6e,colgroup:t6e,dd:jur,dt:Pur,head:t6e,html:Our,li:Mur,optgroup:Fur,option:$ur,p:Dur,rp:C$t,rt:C$t,tbody:Uur,td:I$t,tfoot:Hur,th:I$t,thead:Bur,tr:zur});function t6e(n,i,s){const u=Tf(s,i,!0);return!u||u.type!=="comment"&&!(u.type==="text"&&d9e(u.value.charAt(0)))}function Our(n,i,s){const u=Tf(s,i);return!u||u.type!=="comment"}function Lur(n,i,s){const u=Tf(s,i);return!u||u.type!=="comment"}function Dur(n,i,s){const u=Tf(s,i);return u?u.type==="element"&&(u.tagName==="address"||u.tagName==="article"||u.tagName==="aside"||u.tagName==="blockquote"||u.tagName==="details"||u.tagName==="div"||u.tagName==="dl"||u.tagName==="fieldset"||u.tagName==="figcaption"||u.tagName==="figure"||u.tagName==="footer"||u.tagName==="form"||u.tagName==="h1"||u.tagName==="h2"||u.tagName==="h3"||u.tagName==="h4"||u.tagName==="h5"||u.tagName==="h6"||u.tagName==="header"||u.tagName==="hgroup"||u.tagName==="hr"||u.tagName==="main"||u.tagName==="menu"||u.tagName==="nav"||u.tagName==="ol"||u.tagName==="p"||u.tagName==="pre"||u.tagName==="section"||u.tagName==="table"||u.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 Mur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&u.tagName==="li"}function Pur(n,i,s){const u=Tf(s,i);return!!(u&&u.type==="element"&&(u.tagName==="dt"||u.tagName==="dd"))}function jur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&(u.tagName==="dt"||u.tagName==="dd")}function C$t(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&(u.tagName==="rp"||u.tagName==="rt")}function Fur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&u.tagName==="optgroup"}function $ur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&(u.tagName==="option"||u.tagName==="optgroup")}function Bur(n,i,s){const u=Tf(s,i);return!!(u&&u.type==="element"&&(u.tagName==="tbody"||u.tagName==="tfoot"))}function Uur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&(u.tagName==="tbody"||u.tagName==="tfoot")}function Hur(n,i,s){return!Tf(s,i)}function zur(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&u.tagName==="tr"}function I$t(n,i,s){const u=Tf(s,i);return!u||u.type==="element"&&(u.tagName==="td"||u.tagName==="th")}const Gur=bXt({body:Wur,colgroup:Kur,head:Vur,html:qur,tbody:Yur});function qur(n){const i=Tf(n,-1);return!i||i.type!=="comment"}function Vur(n){const i=new Set;for(const u of n.children)if(u.type==="element"&&(u.tagName==="base"||u.tagName==="title")){if(i.has(u.tagName))return!1;i.add(u.tagName)}const s=n.children[0];return!s||s.type==="element"}function Wur(n){const i=Tf(n,-1,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&d9e(i.value.charAt(0)))&&!(i.type==="element"&&(i.tagName==="meta"||i.tagName==="link"||i.tagName==="script"||i.tagName==="style"||i.tagName==="template"))}function Kur(n,i,s){const u=pXt(s,i),d=Tf(n,-1,!0);return s&&u&&u.type==="element"&&u.tagName==="colgroup"&&f9e(u,s.children.indexOf(u),s)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function Yur(n,i,s){const u=pXt(s,i),d=Tf(n,-1);return s&&u&&u.type==="element"&&(u.tagName==="thead"||u.tagName==="tbody")&&f9e(u,s.children.indexOf(u),s)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const Mie={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 Jur(n,i,s,u){const d=u.schema,g=d.space==="svg"?!1:u.settings.omitOptionalTags;let b=d.space==="svg"?u.settings.closeEmptyElements:u.settings.voids.includes(n.tagName.toLowerCase());const w=[];let E;d.space==="html"&&n.tagName==="svg"&&(u.schema=zz);const S=Xur(u,n.properties),x=u.all(d.space==="html"&&n.tagName==="template"?n.content:n);return u.schema=d,x&&(b=!1),(S||!g||!Gur(n,i,s))&&(w.push("<",n.tagName,S?" "+S:""),b&&(d.space==="svg"||u.settings.closeSelfClosing)&&(E=S.charAt(S.length-1),(!u.settings.tightSelfClosing||E==="/"||E&&E!=='"'&&E!=="'")&&w.push(" "),w.push("/")),w.push(">")),w.push(x),!b&&(!g||!f9e(n,i,s))&&w.push("</"+n.tagName+">"),w.join("")}function Xur(n,i){const s=[];let u=-1,d;if(i){for(d in i)if(i[d]!==null&&i[d]!==void 0){const g=Zur(n,d,i[d]);g&&s.push(g)}}for(;++u<s.length;){const g=n.settings.tightAttributes?s[u].charAt(s[u].length-1):void 0;u!==s.length-1&&g!=='"'&&g!=="'"&&(s[u]+=" ")}return s.join("")}function Zur(n,i,s){const u=o9e(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(u.overloadedBoolean&&(s===u.attribute||s==="")?s=!0:(u.boolean||u.overloadedBoolean)&&(typeof s!="string"||s===u.attribute||s==="")&&(s=!!s),s==null||s===!1||typeof s=="number"&&Number.isNaN(s))return"";const E=cM(u.attribute,Object.assign({},n.settings.characterReferences,{subset:Mie.name[d][g]}));return s===!0||(s=Array.isArray(s)?(u.commaSeparated?Hir:Gir)(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:Mie.unquoted[d][g]}))),w!==s&&(n.settings.quoteSmart&&k$t(s,b)>k$t(s,n.alternative)&&(b=n.alternative),w=b+cM(s,Object.assign({},n.settings.characterReferences,{subset:(b==="'"?Mie.single:Mie.double)[d][g],attribute:!0}))+b),E+(w&&"="+w))}const Qur=["<","&"];function mXt(n,i,s,u){return s&&s.type==="element"&&(s.tagName==="script"||s.tagName==="style")?n.value:cM(n.value,Object.assign({},u.settings.characterReferences,{subset:Qur}))}function ecr(n,i,s,u){return u.settings.allowDangerousHtml?n.value:mXt(n,i,s,u)}function tcr(n,i,s,u){return u.all(n)}const ncr=uur("type",{invalid:rcr,unknown:icr,handlers:{comment:kur,doctype:Nur,element:Jur,raw:ecr,root:tcr,text:mXt}});function rcr(n){throw new Error("Expected node, not `"+n+"`")}function icr(n){const i=n;throw new Error("Cannot compile unknown node `"+i.type+"`")}const ocr={},scr={},acr=[];function ucr(n,i){const s=i||ocr,u=s.quote||'"',d=u==='"'?"'":'"';if(u!=='"'&&u!=="'")throw new Error("Invalid quote `"+u+"`, expected `'` or `\"`");return{one:ccr,all:lcr,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||aur,characterReferences:s.characterReferences||scr,closeSelfClosing:s.closeSelfClosing||!1,closeEmptyElements:s.closeEmptyElements||!1},schema:s.space==="svg"?zz:rue,quote:u,alternative:d}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function ccr(n,i,s){return ncr(n,i,s,this)}function lcr(n){const i=[],s=n&&n.children||acr;let u=-1;for(;++u<s.length;)i[u]=this.one(s[u],u,n);return i.join("")}function dcr(n){const i=this,s={...i.data("settings"),...n};i.compiler=u;function u(d){return ucr(d,s)}}function R$t(n){if(n)throw n}var uoe=Object.prototype.hasOwnProperty,wXt=Object.prototype.toString,O$t=Object.defineProperty,L$t=Object.getOwnPropertyDescriptor,D$t=function(i){return typeof Array.isArray=="function"?Array.isArray(i):wXt.call(i)==="[object Array]"},M$t=function(i){if(!i||wXt.call(i)!=="[object Object]")return!1;var s=uoe.call(i,"constructor"),u=i.constructor&&i.constructor.prototype&&uoe.call(i.constructor.prototype,"isPrototypeOf");if(i.constructor&&!s&&!u)return!1;var d;for(d in i);return typeof d>"u"||uoe.call(i,d)},P$t=function(i,s){O$t&&s.name==="__proto__"?O$t(i,s.name,{enumerable:!0,configurable:!0,value:s.newValue,writable:!0}):i[s.name]=s.newValue},j$t=function(i,s){if(s==="__proto__")if(uoe.call(i,s)){if(L$t)return L$t(i,s).value}else return;return i[s]},fcr=function n(){var i,s,u,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)u=j$t(w,s),d=j$t(i,s),w!==d&&(x&&d&&(M$t(d)||(g=D$t(d)))?(g?(g=!1,b=u&&D$t(u)?u:[]):b=u&&M$t(u)?u:{},P$t(w,{name:s,newValue:n(x,b,d)})):typeof d<"u"&&P$t(w,{name:s,newValue:d}));return w};const n6e=TR(fcr);function mDe(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 hcr(){const n=[],i={run:s,use:u};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?pcr(x,w)(...S):b(null,...S)}}function u(d){if(typeof d!="function")throw new TypeError("Expected `middelware` to be a function, not "+d);return n.push(d),i}}function pcr(n,i){let s;return u;function u(...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 gcr=function(n){const u=this.constructor.prototype,d=u[n],g=function(){return d.apply(g,arguments)};return Object.setPrototypeOf(g,u),g},bcr={}.hasOwnProperty;class h9e extends gcr{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=hcr()}copy(){const i=new h9e;let s=-1;for(;++s<this.attachers.length;){const u=this.attachers[s];i.use(...u)}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):bcr.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,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const d=s.call(i,...u);typeof d=="function"&&this.transformers.use(d)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const s=Pie(i),u=this.parser||this.Parser;return r6e("parse",u),u(String(s),s)}process(i,s){const u=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=Pie(i),E=u.parse(w);u.run(E,w,function(x,A,C){if(x||!A||!C)return S(x);const R=A,D=u.stringify(R,C);ycr(D)?C.value=D:C.result=D,S(x,C)});function S(x,A){x||!A?b(x):g?g(A):s(void 0,A)}}}processSync(i){let s=!1,u;return this.freeze(),r6e("processSync",this.parser||this.Parser),i6e("processSync",this.compiler||this.Compiler),this.process(i,d),$$t("processSync","process",s),u;function d(g,b){s=!0,R$t(g),u=b}}run(i,s,u){F$t(i),this.freeze();const d=this.transformers;return!u&&typeof s=="function"&&(u=s,s=void 0),u?g(void 0,u):new Promise(g);function g(b,w){const E=Pie(s);d.run(i,E,S);function S(x,A,C){const R=A||i;x?w(x):b?b(R):u(void 0,R,C)}}}runSync(i,s){let u=!1,d;return this.run(i,s,g),$$t("runSync","run",u),d;function g(b,w){R$t(b),d=w,u=!0}}stringify(i,s){this.freeze();const u=Pie(s),d=this.compiler||this.Compiler;return i6e("stringify",d),F$t(i),d(i,u)}use(i,...s){const u=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<u.length;)if(u[A][0]===S){C=A;break}if(C===-1)u.push([S,...x]);else if(x.length>0){let[R,...D]=x;const L=u[C][1];mDe(L)&&mDe(R)&&(R=n6e(!0,L,R)),u[C]=[S,R,...D]}}}}const mcr=new h9e().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 F$t(n){if(!mDe(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function $$t(n,i,s){if(!s)throw new Error("`"+n+"` finished async. Use `"+i+"` instead")}function Pie(n){return wcr(n)?n:new gDe(n)}function wcr(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ycr(n){return typeof n=="string"||vcr(n)}function vcr(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Ecr=mcr().use(sur).use(dcr).freeze();var Scr=function(i,s){return s===void 0&&(s=[]),Ecr().data("settings",{fragment:!0}).use([...s]).processSync(""+i).toString()};function Tcr(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 Acr{constructor(i){this.elm=void 0,this.start=void 0,this.end=void 0,this.value=void 0;var{selectionStart:s,selectionEnd:u}=i;this.elm=i,this.start=s,this.end=u,this.value=this.elm.value}position(i,s){var{selectionStart:u,selectionEnd:d}=this.elm;return this.start=typeof i=="number"&&!isNaN(i)?i:u,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:u,selectionEnd:d}=this.elm;return this.value.slice(typeof i=="number"&&!isNaN(i)?i:u,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),u="";return s.replace(/(^(\s)+)/,(d,g)=>u=g),u}lineStarInstert(i){if(i){var s=this.start,u=this.getLineStartNumber(),d=this.getSelectedValue(u);this.position(u,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,u=this.getLineStartNumber(),d=this.getSelectedValue(u),g=new RegExp("^"+i,"g"),b=s-i.length;g.test(d)||(b=s),this.position(u,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 _cr(n,i){i===void 0&&(i=2);var s=new Acr(n.target),u=(n.code||n.nativeEvent.code).toLocaleLowerCase(),d=" ".repeat(i);if(u==="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(u==="enter"){s6e(n);var g=`
`+s.getIndentText();s.insertText(g).position(s.start+g.length,s.start+g.length),s.notifyChange()}else if(u&&/^(quote|backquote|bracketleft|digit9|comma)$/.test(u)&&s.getSelectedValue()){s6e(n);var b=s.getSelectedValue(),w="";switch(u){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 xcr={position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},kcr={position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",opacity:.8,overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},B$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},Ncr=["prefixCls","value","padding","minHeight","placeholder","language","data-color-mode","className","style","rehypePlugins","onChange","indentWidth"];const Ccr=Hn.forwardRef((n,i)=>{var{prefixCls:s="w-tc-editor",padding:u=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=kJt(n,Ncr),[D,L]=H.useState(n.value||"");H.useEffect(()=>L(n.value||""),[n.value]);var B=H.useRef(null);H.useImperativeHandle(i,()=>B.current,[B]);var $={paddingTop:u,paddingRight:u,paddingBottom:u,paddingLeft:u},j=H.useMemo(()=>Scr("<pre aria-hidden=true><code "+(b&&D?'class="language-'+b+'"':"")+" >"+Tcr(String(D||""))+"</code><br /></pre>",x),[D,b,x]),P=H.useMemo(()=>I.jsx("div",{style:Hk({},B$t,$,{minHeight:d}),className:s+"-preview "+(b?"language-"+b:""),dangerouslySetInnerHTML:{__html:j}}),[s,b,j]),G=Q=>{L(Q.target.value),A&&A(Q)},ee=Q=>{R.readOnly||(!R.onKeyDown||R.onKeyDown(Q)!==!1)&&_cr(Q,C)},ne=Hk({autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off"},R,{placeholder:g,onKeyDown:ee,style:Hk({},B$t,kcr,$,{minHeight:d},g&&!D?{WebkitTextFillColor:"inherit"}:{}),onChange:G,className:s+"-text",value:D});return I.jsxs("div",{style:Hk({},xcr,S),className:s+" "+(E||""),"data-color-mode":w,children:[I.jsx("textarea",Hk({},ne,{ref:B})),P]})}),p9e=function(n){if(n==null)return Lcr;if(typeof n=="function")return cue(n);if(typeof n=="object")return Array.isArray(n)?Icr(n):Rcr(n);if(typeof n=="string")return Ocr(n);throw new Error("Expected function, string, or object as test")};function Icr(n){const i=[];let s=-1;for(;++s<n.length;)i[s]=p9e(n[s]);return cue(u);function u(...d){let g=-1;for(;++g<i.length;)if(i[g].apply(this,d))return!0;return!1}}function Rcr(n){const i=n;return cue(s);function s(u){const d=u;let g;for(g in n)if(d[g]!==i[g])return!1;return!0}}function Ocr(n){return cue(i);function i(s){return s&&s.type===n}}function cue(n){return i;function i(s,u,d){return!!(Dcr(s)&&n.call(this,s,typeof u=="number"?u:void 0,d||void 0))}}function Lcr(){return!0}function Dcr(n){return n!==null&&typeof n=="object"&&"type"in n}const yXt=[],Mcr=!0,U$t=!1,Pcr="skip";function jcr(n,i,s,u){let d;typeof i=="function"&&typeof s!="function"?(u=s,s=i):d=i;const g=p9e(d),b=u?-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=yXt,D,L,B;if((!i||g(E,S,x[x.length-1]||void 0))&&(R=Fcr(s(E,x)),R[0]===U$t))return R;if("children"in E&&E.children){const $=E;if($.children&&R[0]!==Pcr)for(L=(u?$.children.length:-1)+b,B=x.concat($);L>-1&&L<$.children.length;){const j=$.children[L];if(D=w(j,L,B)(),D[0]===U$t)return D;L=typeof D[1]=="number"?D[1]:L+b}}return R}}}function Fcr(n){return Array.isArray(n)?n:typeof n=="number"?[Mcr,n]:n==null?yXt:[n]}function $cr(n,i,s,u){let d,g,b;g=i,b=s,d=u,jcr(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 jie(n){return"children"in n?vXt(n):"value"in n?n.value:""}function Bcr(n){return n.type==="text"?n.value:"children"in n?vXt(n):""}function vXt(n){let i=-1;const s=[];for(;++i<n.children.length;)s[i]=Bcr(n.children[i]);return s.join("")}const Ucr={}.hasOwnProperty;function Hcr(n,i,s){const u=p9e(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(!u(w,E,S))return;if(zcr(w)){let R=-1;for(;++R<w.children.length;){const D=b(w.children[R],R,w);D&&x.push(D)}if(g&&w.children.length>0&&x.length===0)return}const A={};let C;for(C in w)Ucr.call(w,C)&&(A[C]=C==="children"?x:w[C]);return A}}function zcr(n){return"children"in n&&n.children!==void 0}var wDe={exports:{}};(function(n,i){function s(u){let d=[],g;for(let b of u.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})(wDe,wDe.exports);var Gcr=wDe.exports;const qcr=TR(Gcr);Ls.displayName="clike";Ls.aliases=[];function Ls(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(Ls),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/,u=/\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 u})+")"),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}Vz.displayName="bash";Vz.aliases=["sh","shell"];function Vz(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",u={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:u,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:u}},{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}},u.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(Ls),function(i){function s(We,dt){return We.replace(/<<(\d+)>>/g,function(Ue,bt){return"(?:"+dt[+bt]+")"})}function u(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,D=s(/<<0>>(?:\s*<<1>>)?/.source,[R,A]),L=s(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[S,D]),B=/\[\s*(?:,\s*)*\]/.source,$=s(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[L,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,L,B]),ee={keyword:E,punctuation:/[<>()?,.:[\]]/},ne=/'(?:[^\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:u(/(^|[^$\\])<<0>>/.source,[ie]),lookbehind:!0,greedy:!0},{pattern:u(/(^|[^@$\\])<<0>>/.source,[Q]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:u(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[L]),lookbehind:!0,inside:ee},{pattern:u(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[R,G]),lookbehind:!0,inside:ee},{pattern:u(/(\busing\s+)<<0>>(?=\s*=)/.source,[R]),lookbehind:!0},{pattern:u(/(\b<<0>>\s+)<<1>>/.source,[w,D]),lookbehind:!0,inside:ee},{pattern:u(/(\bcatch\s*\(\s*)<<0>>/.source,[L]),lookbehind:!0,inside:ee},{pattern:u(/(\bwhere\s+)<<0>>/.source,[R]),lookbehind:!0},{pattern:u(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[$]),lookbehind:!0,inside:ee},{pattern:u(/\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:u(/([(,]\s*)<<0>>(?=\s*:)/.source,[R]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:u(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[R]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:u(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[C]),lookbehind:!0,alias:"class-name",inside:ee},"return-type":{pattern:u(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[G,L]),inside:ee,alias:"class-name"},"constructor-invocation":{pattern:u(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[G]),lookbehind:!0,inside:ee,alias:"class-name"},"generic-method":{pattern:u(/<<0>>\s*<<1>>(?=\s*\()/.source,[R,A]),inside:{function:u(/^<<0>>/.source,[R]),generic:{pattern:RegExp(A),alias:"class-name",inside:ee}}},"type-list":{pattern:u(/\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,D,R,G,E.source,C,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:u(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[D,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 he=Q+"|"+ne,ge=s(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[he]),ce=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ge]),2),fe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,K=s(/<<0>>(?:\s*\(<<1>>*\))?/.source,[L,ce]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:u(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[fe,K]),lookbehind:!0,greedy:!0,inside:{target:{pattern:u(/^<<0>>(?=\s*:)/.source,[fe]),alias:"keyword"},"attribute-arguments":{pattern:u(/\(<<0>>*\)/.source,[ce]),inside:i.languages.csharp},"class-name":{pattern:RegExp(L),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var pe=/:[^}\r\n]+/.source,Oe=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ge]),2),Se=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Oe,pe]),De=d(s(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[he]),2),Ae=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[De,pe]);function xe(We,dt){return{interpolation:{pattern:u(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[We]),lookbehind:!0,inside:{"format-string":{pattern:u(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[dt,pe]),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:u(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:xe(Se,Oe)},{pattern:u(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Ae]),lookbehind:!0,greedy:!0,inside:xe(Ae,De)}],char:{pattern:RegExp(ne),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,u){var d={};d["language-"+u]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[u]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var g={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};g["language-"+u]={pattern:/[\s\S]+/,inside:n.languages[u]};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 u=i.languages.markup;u&&(u.tag.addInlined("style","css"),u.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(u){var d=s[u],g=[];/^\w+$/.test(u)||g.push(/\w+/.exec(u)[0]),u==="diff"&&g.push("bold"),i.languages.diff[u]={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(u)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:s})})(n)}fue.displayName="go";fue.aliases=[];function fue(n){n.register(Ls),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(Ls),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/,u=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(/(^|[^\w.])/.source+u+/[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+u+/[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+u+/[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+u+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:d.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+u+/(?:\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"},u=/\\(?: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="(?:[^\\\\-]|"+u.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:u,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":g,escape:u}},"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:u,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(Ls),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(Ls),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"}})}Wz.displayName="lua";Wz.aliases=[];function Wz(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:/[:;(){}]/}}Kz.displayName="yaml";Kz.aliases=["yml"];function Kz(n){(function(i){var s=/[*&][^\s[\]{},]+/,u=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+u.source+"(?:[ ]+"+s.source+")?|"+s.source+"(?:[ ]+"+u.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:u,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 u(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:u(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:u(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:u(/(~~?)(?:(?!~)<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:u(/!?\[(?:(?!\])<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],D=C.content[3];if(R&&D&&R.type==="code-language"&&D.type==="code-block"&&typeof R.content=="string"){var L=R.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");L=(/[a-z][\w-]*/i.exec(L)||[""])[0].toLowerCase();var B="language-"+L;D.alias?typeof D.alias=="string"?D.alias=[D.alias,B]:D.alias.push(B):D.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 D="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);w.attributes.id=D,i.plugins.autoloader.loadLanguages(E,function(){var L=document.getElementById(D);L&&(L.innerHTML=i.highlight(L.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(u,d){return"___"+u.toUpperCase()+d+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(u,d,g,b){if(u.language===d){var w=u.tokenStack=[];u.code=u.code.replace(g,function(E){if(typeof b=="function"&&!b(E))return E;for(var S=w.length,x;u.code.indexOf(x=s(d,S))!==-1;)++S;return w[S]=E,x}),u.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(u,d){if(u.language!==d||!u.tokenStack)return;u.grammar=i.languages[d];var g=0,b=Object.keys(u.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=u.tokenStack[A],R=typeof x=="string"?x:x.content,D=s(d,A),L=R.indexOf(D);if(L>-1){++g;var B=R.substring(0,L),$=new i.Token(d,i.tokenize(C,u.grammar),"language-"+d,C),j=R.substring(L+D.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(u.tokens)}}})}(n)}UR.displayName="php";UR.aliases=[];function UR(n){n.register(Vh),function(i){var s=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,u=[{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:u,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:u,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)}Yz.displayName="python";Yz.aliases=["py"];function Yz(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(Ls),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 u="(?:"+[/([^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+u+/[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+u),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+u),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,u=0;u<2;u++)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]+\}/,u=[/[+*\/%]|[=!]=|<=?|>=?|\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:u}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:s,operator:u,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)}Jz.displayName="basic";Jz.aliases=[];function Jz(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:/[,;:()]/}}Xz.displayName="vbnet";Xz.aliases=[];function Xz(n){n.register(Jz),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 Zz{constructor(i,s,u){this.property=i,this.normal=s,u&&(this.space=u)}}Zz.prototype.property={};Zz.prototype.normal={};Zz.prototype.space=null;function EXt(n,i){const s={},u={};let d=-1;for(;++d<n.length;)Object.assign(s,n[d].property),Object.assign(u,n[d].normal);return new Zz(s,u,i)}function gz(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 Vcr=0;const qo=zR(),jd=zR(),SXt=zR(),ur=zR(),Vu=zR(),lM=zR(),Lm=zR();function zR(){return 2**++Vcr}const yDe=Object.freeze(Object.defineProperty({__proto__:null,boolean:qo,booleanish:jd,commaOrSpaceSeparated:Lm,commaSeparated:lM,number:ur,overloadedBoolean:SXt,spaceSeparated:Vu},Symbol.toStringTag,{value:"Module"})),a6e=Object.keys(yDe);class g9e extends Rw{constructor(i,s,u,d){let g=-1;if(super(i,s),H$t(this,"space",d),typeof u=="number")for(;++g<a6e.length;){const b=a6e[g];H$t(this,a6e[g],(u&yDe[b])===yDe[b])}}}g9e.prototype.defined=!0;function H$t(n,i,s){s&&(n[i]=s)}const Wcr={}.hasOwnProperty;function ZM(n){const i={},s={};let u;for(u in n.properties)if(Wcr.call(n.properties,u)){const d=n.properties[u],g=new g9e(u,n.transform(n.attributes||{},u),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(g.mustUseProperty=!0),i[u]=g,s[gz(u)]=u,s[gz(g.attribute)]=u}return new Zz(i,s,n.space)}const TXt=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}}),AXt=ZM({space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function _Xt(n,i){return i in n?n[i]:i}function xXt(n,i){return _Xt(n,i.toLowerCase())}const kXt=ZM({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:xXt,properties:{xmlns:null,xmlnsXLink:null}}),NXt=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}}),Kcr=ZM({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:xXt,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:SXt,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}}),Ycr=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:_Xt,properties:{about:Lm,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:Lm,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:Lm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Lm,rev:Lm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Lm,requiredFeatures:Lm,requiredFonts:Lm,requiredFormats:Lm,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:Lm,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:Lm,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:Lm,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}}),Jcr=/^data[-\w.:]+$/i,z$t=/-[a-z]/g,Xcr=/[A-Z]/g;function Zcr(n,i){const s=gz(i);let u=i,d=Rw;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&Jcr.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(z$t,elr);u="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!z$t.test(g)){let b=g.replace(Xcr,Qcr);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=g9e}return new d(u,i)}function Qcr(n){return"-"+n.toLowerCase()}function elr(n){return n.charAt(1).toUpperCase()}const tlr=EXt([AXt,TXt,kXt,NXt,Kcr],"html");EXt([AXt,TXt,kXt,NXt,Ycr],"svg");const G$t=/[#.]/g;function nlr(n,i){const s=n||"",u={};let d=0,g,b;for(;d<s.length;){G$t.lastIndex=d;const w=G$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?u.id=E:Array.isArray(u.className)?u.className.push(E):u.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:u,children:[]}}const rlr=new Set(["menu","submit","reset","button"]),CXt={}.hasOwnProperty;function ilr(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=nlr(d,i),E.tagName=E.tagName.toLowerCase(),olr(g,E.tagName)){let S;for(S in g)CXt.call(g,S)&&slr(n,E.properties,S,g[S])}else b.unshift(g);for(;++w<b.length;)vDe(E.children,b[w]);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}}function olr(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"?rlr.has(n.type.toLowerCase()):!("value"in n)}function slr(n,i,s,u){const d=Zcr(n,s);let g=-1,b;if(u!=null){if(typeof u=="number"){if(Number.isNaN(u))return;b=u}else typeof u=="boolean"?b=u:typeof u=="string"?d.spaceSeparated?b=Tse(u):d.commaSeparated?b=Sse(u):d.commaOrSpaceSeparated?b=Tse(Sse(u).join(" ")):b=q$t(d,d.property,u):Array.isArray(u)?b=u.concat():b=d.property==="style"?alr(u):String(u);if(Array.isArray(b)){const w=[];for(;++g<b.length;)w[g]=q$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 vDe(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;)vDe(n,i[s]);else if(typeof i=="object"&&"type"in i)i.type==="root"?vDe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function q$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===""||gz(s)===gz(i)))return!0}return s}function alr(n){const i=[];let s;for(s in n)CXt.call(n,s)&&i.push([s,n[s]].join(": "));return i.join("; ")}const ulr=ilr(tlr,"div"),V$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 IXt(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=48&&i<=57}function clr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}function llr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}function W$t(n){return llr(n)||IXt(n)}const K$t=document.createElement("i");function Y$t(n){const i="&"+n+";";K$t.innerHTML=i;const s=K$t.textContent;return s.charCodeAt(s.length-1)===59&&n!=="semi"||s===i?!1:s}const dlr=["","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 flr(n,i){const s={},u=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=D(),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($)||u&&$===u){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 ne="",Q="",ie="";const he=ee==="named"?W$t:ee==="decimal"?IXt:clr;for(G--;++G<=n.length;){const K=n.charCodeAt(G);if(!he(K))break;ie+=String.fromCharCode(K),ee==="named"&&fXt.includes(ie)&&(ne=ie,Q=Y$t(ie))}let ge=n.charCodeAt(G)===59;if(ge){G++;const K=ee==="named"?Y$t(ie):!1;K&&(ne=ie,Q=K)}let ce=1+G-j,fe="";if(!(!ge&&s.nonTerminated===!1))if(!ie)ee!=="named"&&L(4,ce);else if(ee==="named"){if(ge&&!Q)L(5,1);else if(ne!==ie&&(G=P+ne.length,ce=1+G-P,ge=!1),!ge){const K=ne?1:3;if(s.attribute){const pe=n.charCodeAt(G);pe===61?(L(K,ce),Q=""):W$t(pe)?Q="":L(K,ce)}else L(K,ce)}fe=Q}else{ge||L(2,ce);let K=Number.parseInt(ie,ee==="hexadecimal"?16:10);if(hlr(K))L(7,ce),fe="�";else if(K in V$t)L(6,ce),fe=V$t[K];else{let pe="";plr(K)&&L(6,ce),K>65535&&(K-=65536,pe+=String.fromCharCode(K>>>10|55296),K=56320|K&1023),fe=pe+String.fromCharCode(K)}}if(fe){B(),C=D(),g=G-1,A+=G-j+1,d.push(fe);const K=D();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 D(){return{line:x,column:A,offset:g+((E?E.offset:0)||0)}}function L($,j){let P;s.warning&&(P=D(),P.column+=j,P.offset+=j,s.warning.call(s.warningContext||void 0,dlr[$],P,$))}function B(){w&&(d.push(w),s.text&&s.text.call(s.textContext||void 0,w,{start:C,end:D()}),w="")}}function hlr(n){return n>=55296&&n<=57343||n>1114111}function plr(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 glr=0,Fie={},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:++glr}),n.__id},clone:function n(i,s){s=s||{};var u,d;switch(eh.util.type(i)){case"Object":if(d=eh.util.objId(i),s[d])return s[d];u={},s[d]=u;for(var g in i)i.hasOwnProperty(g)&&(u[g]=n(i[g],s));return u;case"Array":return d=eh.util.objId(i),s[d]?s[d]:(u=[],s[d]=u,i.forEach(function(b,w){u[w]=n(b,s)}),u);default:return i}}},languages:{plain:Fie,plaintext:Fie,text:Fie,txt:Fie,extend:function(n,i){var s=eh.util.clone(eh.languages[n]);for(var u in i)s[u]=i[u];return s},insertBefore:function(n,i,s,u){u=u||eh.languages;var d=u[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=u[n];return u[n]=g,eh.languages.DFS(eh.languages,function(S,x){x===E&&S!=n&&(this[S]=g)}),g},DFS:function n(i,s,u,d){d=d||{};var g=eh.util.objId;for(var b in i)if(i.hasOwnProperty(b)){s.call(i,b,i[b],u||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 u={code:n,grammar:i,language:s};if(eh.hooks.run("before-tokenize",u),!u.grammar)throw new Error('The language "'+u.language+'" has no grammar.');return u.tokens=eh.tokenize(u.code,u.grammar),eh.hooks.run("after-tokenize",u),_H.stringify(eh.util.encode(u.tokens),u.language)},tokenize:function(n,i){var s=i.rest;if(s){for(var u in s)i[u]=s[u];delete i.rest}var d=new blr;return coe(d,d.head,n),RXt(n,d,i,d.head,0),wlr(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 u=0,d;d=s[u++];)d(i)}},Token:_H};function _H(n,i,s,u){this.type=n,this.content=i,this.alias=s,this.length=(u||"").length|0}function J$t(n,i,s,u){n.lastIndex=i;var d=n.exec(s);if(d&&u&&d[1]){var g=d[1].length;d.index+=g,d[0]=d[0].slice(g)}return d}function RXt(n,i,s,u,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 D=S.pattern.toString().match(/[imsuy]*$/)[0];S.pattern=RegExp(S.pattern.source,D+"g")}for(var L=S.pattern||S,B=u.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=J$t(L,$,n,A),!G||G.index>=n.length)break;var ie=G.index,ee=G.index+G[0].length,ne=$;for(ne+=B.value.length;ie>=ne;)B=B.next,ne+=B.value.length;if(ne-=B.value.length,$=ne,B.value instanceof _H)continue;for(var Q=B;Q!==i.tail&&(ne<ee||typeof Q.value=="string");Q=Q.next)P++,ne+=Q.value.length;P--,j=n.slice($,ne),G.index-=$}else if(G=J$t(L,0,j,A),!G)continue;var ie=G.index,he=G[0],ge=j.slice(0,ie),ce=j.slice(ie+he.length),fe=$+j.length;g&&fe>g.reach&&(g.reach=fe);var K=B.prev;ge&&(K=coe(i,K,ge),$+=ge.length),mlr(i,K,P);var pe=new _H(b,x?eh.tokenize(he,x):he,R,he);if(B=coe(i,K,pe),ce&&coe(i,B,ce),P>1){var Oe={cause:b+","+E,reach:fe};RXt(n,i,s,B.prev,$,Oe),g&&Oe.reach>g.reach&&(g.reach=Oe.reach)}}}}}}function blr(){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 coe(n,i,s){var u=i.next,d={value:s,prev:i,next:u};return i.next=d,u.prev=d,n.length++,d}function mlr(n,i,s){for(var u=i.next,d=0;d<s&&u!==n.tail;d++)u=u.next;i.next=u,u.prev=i,n.length-=d}function wlr(n){for(var i=[],s=n.head.next;s!==n.tail;)i.push(s.value),s=s.next;return i}const OXt=eh,QM={}.hasOwnProperty;function LXt(){}LXt.prototype=OXt;const _e=new LXt;_e.highlight=ylr;_e.register=vlr;_e.alias=Elr;_e.registered=Slr;_e.listLanguages=Tlr;_e.util.encode=Alr;_e.Token.stringify=EDe;function ylr(n,i){if(typeof n!="string")throw new TypeError("Expected `string` for `value`, got `"+n+"`");let s,u;if(i&&typeof i=="object")s=i;else{if(u=i,typeof u!="string")throw new TypeError("Expected `string` for `name`, got `"+u+"`");if(QM.call(_e.languages,u))s=_e.languages[u];else throw new Error("Unknown language: `"+u+"` is not registered")}return{type:"root",children:OXt.highlight.call(_e,n,s,u)}}function vlr(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 Elr(n,i){const s=_e.languages;let u={};typeof n=="string"?i&&(u[n]=i):u=n;let d;for(d in u)if(QM.call(u,d)){const g=u[d],b=typeof g=="string"?[g]:g;let w=-1;for(;++w<b.length;)s[b[w]]=s[d]}}function Slr(n){if(typeof n!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+n+"`");return QM.call(_e.languages,n)}function Tlr(){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 EDe(n,i){if(typeof n=="string")return{type:"text",value:n};if(Array.isArray(n)){const u=[];let d=-1;for(;++d<n.length;)n[d]!==null&&n[d]!==void 0&&n[d]!==""&&u.push(EDe(n[d],i));return u}const s={attributes:{},classes:["token",n.type],content:EDe(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),ulr(s.tag+"."+s.classes.join("."),_lr(s.attributes),s.content)}function Alr(n){return n}function _lr(n){let i;for(i in n)QM.call(n,i)&&(n[i]=flr(n[i]));return n}_e.register(Ls);_e.register(zv);_e.register(FR);_e.register(lue);_e.register(Vz);_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(Wz);_e.register(mue);_e.register(Kz);_e.register(wue);_e.register(yue);_e.register(vue);_e.register(Vh);_e.register(UR);_e.register(Yz);_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(Jz);_e.register(Xz);b9e.displayName="abap";b9e.aliases=[];function b9e(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:/[,.:()]/}}m9e.displayName="abnf";m9e.aliases=[];function m9e(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)}w9e.displayName="actionscript";w9e.aliases=[];function w9e(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}})}y9e.displayName="ada";y9e.aliases=[];function y9e(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}}v9e.displayName="agda";v9e.aliases=[];function v9e(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)}E9e.displayName="al";E9e.aliases=[];function E9e(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:/[()\[\]{}:.;,]/}}S9e.displayName="antlr4";S9e.aliases=["g4"];function S9e(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}T9e.displayName="apacheconf";T9e.aliases=[];function T9e(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:/\^?.*\$|\^.*\$?/}}A9e.displayName="apex";A9e.aliases=[];function A9e(n){n.register(Ls),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,u=/\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 u}),"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)}_9e.displayName="apl";_9e.aliases=[];function _9e(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"}}}x9e.displayName="applescript";x9e.aliases=[];function x9e(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:/[{}():,¬«»《》]/}}k9e.displayName="aql";k9e.aliases=[];function k9e(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:/::|[?.:,;()[\]{}]/}}N9e.displayName="arff";N9e.aliases=[];function N9e(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:/[{},]/}}C9e.displayName="armasm";C9e.aliases=["arm-asm"];function C9e(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}I9e.displayName="arturo";I9e.aliases=["art"];function I9e(n){(function(i){var s=function(u,d){return{pattern:RegExp(/\{!/.source+"(?:"+(d||u)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+u,inside:i.languages[u]},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)}R9e.displayName="asciidoc";R9e.aliases=["adoc"];function R9e(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+$).+/}},u=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]]=u[g[w]];return b}s.inside.interpreted.inside.rest=d("macro inline replacement entity"),u["passthrough-block"].inside.rest=d("macro"),u["literal-block"].inside.rest=d("callout"),u.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"),u["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"),u.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)}O9e.displayName="aspnet";O9e.aliases=[];function O9e(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||{}}})}L9e.displayName="asm6502";L9e.aliases=[];function L9e(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:/[(),:]/}}M9e.displayName="autohotkey";M9e.aliases=[];function M9e(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:/[{}[\]():,]/}}P9e.displayName="autoit";P9e.aliases=[];function P9e(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:/[\[\]().,:]/}}j9e.displayName="avisynth";j9e.aliases=["avs"];function j9e(n){(function(i){function s(S,x){return S.replace(/<<(\d+)>>/g,function(A,C){return x[+C]})}function u(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:u(/\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:u(/\b(?:<<0>>)\b/.source,[E],"i"),alias:"function"},"type-cast":{pattern:u(/\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)}F9e.displayName="avro-idl";F9e.aliases=["avdl"];function F9e(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"]}$9e.displayName="awk";$9e.aliases=["gawk"];function $9e(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}B9e.displayName="batch";B9e.aliases=[];function B9e(n){(function(i){var s=/%%?[~:\w]+%?|!\S+!/,u={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:u,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:u,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:u,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:u,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:s,number:g,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(n)}U9e.displayName="bbcode";U9e.aliases=["shortcode"];function U9e(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}H9e.displayName="bbj";H9e.aliases=[];function H9e(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)}z9e.displayName="bicep";z9e.aliases=[];function z9e(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}G9e.displayName="birb";G9e.aliases=[];function G9e(n){n.register(Ls),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"}})}q9e.displayName="bison";q9e.aliases=[];function q9e(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:/%[%?]|[|:;\[\]<>]/}}})}V9e.displayName="bnf";V9e.aliases=["rbnf"];function V9e(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}W9e.displayName="bqn";W9e.aliases=[];function W9e(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:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}K9e.displayName="brainfuck";K9e.aliases=[];function K9e(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}Y9e.displayName="brightscript";Y9e.aliases=[];function Y9e(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}J9e.displayName="bro";J9e.aliases=[];function J9e(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:/[{}[\];(),.:]/}}X9e.displayName="bsl";X9e.aliases=["oscript"];function X9e(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}Z9e.displayName="cfscript";Z9e.aliases=["cfc"];function Z9e(n){n.register(Ls),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}Q9e.displayName="chaiscript";Q9e.aliases=[];function Q9e(n){n.register(Ls),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]+/}}})}e8e.displayName="cil";e8e.aliases=[];function e8e(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]+/}}t8e.displayName="cilkc";t8e.aliases=["cilk-c"];function t8e(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}n8e.displayName="cilkcpp";n8e.aliases=["cilk","cilk-cpp"];function n8e(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}r8e.displayName="clojure";r8e.aliases=[];function r8e(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:/[{}\[\](),]/}}i8e.displayName="cmake";i8e.aliases=[];function i8e(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:/[()>}]|\$[<{]/}}o8e.displayName="cobol";o8e.aliases=[];function o8e(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:/[.:,()]/}}s8e.displayName="coffeescript";s8e.aliases=["coffee"];function s8e(n){n.register(qh),function(i){var s=/#(?!\{).+/,u={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:u}}],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:u}}}),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:u}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}(n)}a8e.displayName="concurnas";a8e.aliases=["conc"];function a8e(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}u8e.displayName="csp";u8e.aliases=[];function u8e(n){(function(i){function s(u){return RegExp(/([ \t])/.source+"(?:"+u+")"+/(?=[\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)}c8e.displayName="cooklang";c8e.aliases=[];function c8e(n){(function(i){var s=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,u=/[^{}@#]+/.source,d=/\{[^}#@]*\}/.source,g=u+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("(^#)(?:"+u+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+u),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+g+"|"+s+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+u+")"),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)}l8e.displayName="coq";l8e.aliases=[];function l8e(n){(function(i){for(var s=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,u=0;u<2;u++)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)}d8e.displayName="crystal";d8e.aliases=[];function d8e(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)}f8e.displayName="css-extras";f8e.aliases=[];function f8e(n){n.register(NN),function(i){var s=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,u;i.languages.css.selector={pattern:i.languages.css.selector.pattern,lookbehind:!0,inside:u={"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=u,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)}h8e.displayName="csv";h8e.aliases=[];function h8e(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}p8e.displayName="cue";p8e.aliases=[];function p8e(n){(function(i){var s=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,u=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,d="(?:"+u.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)}g8e.displayName="cypher";g8e.aliases=[];function g8e(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:/[()[\]{},;.]/}}b8e.displayName="d";b8e.aliases=[];function b8e(n){n.register(Ls),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"}})}m8e.displayName="dart";m8e.aliases=[];function m8e(n){n.register(Ls),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/],u=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(u+/[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(u+/[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)}w8e.displayName="dataweave";w8e.aliases=[];function w8e(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)}y8e.displayName="dax";y8e.aliases=[];function y8e(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:/[;\[\](){}`,.]/}}v8e.displayName="dhall";v8e.aliases=[];function v8e(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}E8e.displayName="django";E8e.aliases=["jinja2"];function E8e(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,u=i.languages["markup-templating"];i.hooks.add("before-tokenize",function(d){u.buildPlaceholders(d,"django",s)}),i.hooks.add("after-tokenize",function(d){u.tokenizePlaceholders(d,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(d){u.buildPlaceholders(d,"jinja2",s)}),i.hooks.add("after-tokenize",function(d){u.tokenizePlaceholders(d,"jinja2")})}(n)}S8e.displayName="dns-zone-file";S8e.aliases=["dns-zone"];function S8e(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"]}T8e.displayName="docker";T8e.aliases=["dockerfile"];function T8e(n){(function(i){var s=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,u=/(?:[ \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 u}),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)}A8e.displayName="dot";A8e.aliases=["gv"];function A8e(n){(function(i){var s="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",u={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:u},"attr-value":{pattern:d(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:u},"attr-name":{pattern:d(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:u},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:u},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(n)}_8e.displayName="ebnf";_8e.aliases=[];function _8e(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:/[-=|*/!]/}}x8e.displayName="editorconfig";x8e.aliases=[];function x8e(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:/^=/}}}}k8e.displayName="eiffel";k8e.aliases=[];function k8e(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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}N8e.displayName="ejs";N8e.aliases=["eta"];function N8e(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 u=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"ejs",u)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"ejs")}),i.languages.eta=i.languages.ejs}(n)}C8e.displayName="elixir";C8e.aliases=[];function C8e(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}}}})}I8e.displayName="elm";I8e.aliases=[];function I8e(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:/[{}[\]|(),.:]/}}R8e.displayName="etlua";R8e.aliases=[];function R8e(n){n.register(Wz),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 u=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"etlua",u)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"etlua")})}(n)}O8e.displayName="erb";O8e.aliases=[];function O8e(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 u=/<%=?(?:[^\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",u)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"erb")})}(n)}L8e.displayName="erlang";L8e.aliases=[];function L8e(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"]}M8e.displayName="fsharp";M8e.aliases=[];function M8e(n){n.register(Ls),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}})}P8e.displayName="factor";P8e.aliases=[];function P8e(n){(function(i){var s={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},u={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:u.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:u},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:u}],"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:u}},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)}j8e.displayName="false";j8e.aliases=[];function j8e(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)}F8e.displayName="firestore-security-rules";F8e.aliases=[];function F8e(n){n.register(Ls),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:/,/}}})}$8e.displayName="flow";$8e.aliases=[];function $8e(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)}B8e.displayName="fortran";B8e.aliases=[];function B8e(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:/\(\/|\/\)|[(),;:&]/}}U8e.displayName="ftl";U8e.aliases=[];function U8e(n){n.register(Vh),function(i){for(var s=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,u=0;u<2;u++)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)}H8e.displayName="gml";H8e.aliases=["gamemakerlanguage"];function H8e(n){n.register(Ls),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/})}z8e.displayName="gap";z8e.aliases=[];function z8e(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}G8e.displayName="gcode";G8e.aliases=[];function G8e(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:/[:*]/}}q8e.displayName="gdscript";q8e.aliases=[];function q8e(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:/[.:,;()[\]{}]/}}V8e.displayName="gedcom";V8e.aliases=[];function V8e(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"}}}W8e.displayName="gettext";W8e.aliases=["po"];function W8e(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}K8e.displayName="gherkin";K8e.aliases=[];function K8e(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)}Y8e.displayName="git";Y8e.aliases=[];function Y8e(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}}J8e.displayName="glsl";J8e.aliases=[];function J8e(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/})}X8e.displayName="gn";X8e.aliases=["gni"];function X8e(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}Z8e.displayName="linker-script";Z8e.aliases=["ld"];function Z8e(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"]}Q8e.displayName="go-module";Q8e.aliases=["go-mod"];function Q8e(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:/[()[\],]/}}ePe.displayName="gradle";ePe.aliases=[];function ePe(n){n.register(Ls),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)}tPe.displayName="graphql";tPe.aliases=[];function tPe(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 u=s.tokens.filter(function(B){return typeof B!="string"&&B.type!=="comment"&&B.type!=="scalar"}),d=0;function g(B){return u[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<u.length;P++){var G=u[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<u.length;){var S=u[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 D=d;D<R;D++){var L=u[D];L.type==="variable"&&x.indexOf(L.content)>=0&&E(L,"variable-input")}}}}})}nPe.displayName="groovy";nPe.aliases=[];function nPe(n){n.register(Ls),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)}rPe.displayName="textile";rPe.aliases=[];function rPe(n){n.register(oh),function(i){var s=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,u=/\)|\((?![^|()\n]+\))/.source;function d(A,C){return RegExp(A.replace(/<MOD>/g,function(){return"(?:"+s+")"}).replace(/<PAR>/g,function(){return"(?:"+u+")"}),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)}iPe.displayName="haml";iPe.aliases=[];function iPe(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)))+",u=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],d={},g=0,b=u.length;g<b;g++){var w=u[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)}oPe.displayName="handlebars";oPe.aliases=["hbs","mustache"];function oPe(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 u=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(s,"handlebars",u)}),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)}Qz.displayName="haskell";Qz.aliases=["hs"];function Qz(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}sPe.displayName="haxe";sPe.aliases=[];function sPe(n){n.register(Ls),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"}})}aPe.displayName="hcl";aPe.aliases=[];function aPe(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:/[=\[\]{}]/}}uPe.displayName="hlsl";uPe.aliases=[];function uPe(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/})}cPe.displayName="hoon";cPe.aliases=[];function cPe(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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}lPe.displayName="hpkp";lPe.aliases=[];function lPe(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}dPe.displayName="hsts";dPe.aliases=[];function dPe(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}fPe.displayName="uri";fPe.aliases=["url"];function fPe(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}hPe.displayName="http";hPe.aliases=[];function hPe(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 u=i.languages,d={"application/javascript":u.javascript,"application/json":u.json||u.javascript,"application/xml":u.xml,"text/xml":u.xml,"text/html":u.html,"text/css":u.css,"text/plain":u.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)}pPe.displayName="ichigojam";pPe.aliases=[];function pPe(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:/[\[,;:()\]]/}}gPe.displayName="icon";gPe.aliases=[];function gPe(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:/[\[\](){},;]/}}bPe.displayName="icu-message-format";bPe.aliases=[];function bPe(n){(function(i){function s(E,S){return S<=0?/[]/.source:E.replace(/<SELF>/g,function(){return s(E,S-1)})}var u=/'[{}:=,](?:[^']|'')*'(?!')/,d={pattern:/''/,greedy:!0,alias:"operator"},g={pattern:u,greedy:!0,inside:{escape:d}},b=s(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return u.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)}mPe.displayName="idris";mPe.aliases=["idr"];function mPe(n){n.register(Qz),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}wPe.displayName="ignore";wPe.aliases=["gitignore","hgignore","npmignore"];function wPe(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)}yPe.displayName="inform7";yPe.aliases=[];function yPe(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"}}vPe.displayName="io";vPe.aliases=[];function vPe(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:/[{}[\];(),.:]/}}EPe.displayName="j";EPe.aliases=[];function EPe(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 u(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){u(w,function(E){E.inside||(E.inside={}),E.inside.rest=b})})}Object.defineProperty(s,"addSupport",{value:d}),s.addSupport(["java","javascript","php"],s)})(n)}SPe.displayName="scala";SPe.aliases=[];function SPe(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}TPe.displayName="javadoc";TPe.aliases=[];function TPe(n){n.register(BR),n.register(e9),n.register(oh),function(i){var s=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,u=/#\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 u});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)}APe.displayName="javastacktrace";APe.aliases=[];function APe(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/}}}}_Pe.displayName="jexl";_Pe.aliases=[];function _Pe(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:/[{}[\](),.]/}}xPe.displayName="jolie";xPe.aliases=[];function xPe(n){n.register(Ls),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]*:)/}})}kPe.displayName="jq";kPe.aliases=[];function kPe(n){(function(i){var s=/\\\((?:[^()]|\([^()]*\))*\)/.source,u=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(u.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:d},string:{pattern:u,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)}NPe.displayName="js-templates";NPe.aliases=[];function NPe(n){n.register(qh),function(i){var s=i.languages.javascript["template-string"],u=s.pattern.source,d=s.inside.interpolation,g=d.inside["interpolation-punctuation"],b=d.pattern.source;function w(D,L){if(i.languages[D])return{pattern:RegExp("((?:"+L+")\\s*)"+u),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:D}}}}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(D,L){return"___"+L.toUpperCase()+"_"+D+"___"}function S(D,L,B){var $={code:D,grammar:L,language:B};return i.hooks.run("before-tokenize",$),$.tokens=i.tokenize($.code,$.grammar),i.hooks.run("after-tokenize",$),$.tokens}function x(D){var L={};L["interpolation-punctuation"]=g;var B=i.tokenize(D,L);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,D)}function A(D,L,B){var $=i.tokenize(D,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),j=0,P={},G=$.map(function(ie){if(typeof ie=="string")return ie;for(var he=ie.content,ge;D.indexOf(ge=E(j++,B))!==-1;);return P[ge]=he,ge}).join(""),ee=S(G,L,B),ne=Object.keys(P);j=0;function Q(ie){for(var he=0;he<ie.length;he++){if(j>=ne.length)return;var ge=ie[he];if(typeof ge=="string"||typeof ge.content=="string"){var ce=ne[j],fe=typeof ge=="string"?ge:ge.content,K=fe.indexOf(ce);if(K!==-1){++j;var pe=fe.substring(0,K),Oe=x(P[ce]),Se=fe.substring(K+ce.length),De=[];if(pe&&De.push(pe),De.push(Oe),Se){var Ae=[Se];Q(Ae),De.push.apply(De,Ae)}typeof ge=="string"?(ie.splice.apply(ie,[he,1].concat(De)),he+=De.length-1):ge.content=De}}else{var xe=ge.content;Array.isArray(xe)?Q(xe):Q([xe])}}}return Q(ee),new i.Token(B,ee,"language-"+B,D)}var C={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(D){if(!(D.language in C))return;function L(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"&&L([G]);continue}if(P.type==="template-string"){var ee=G[1];if(G.length===3&&typeof ee!="string"&&ee.type==="embedded-code"){var ne=R(ee),Q=ee.alias,ie=Array.isArray(Q)?Q[0]:Q,he=i.languages[ie];if(!he)continue;G[1]=A(ne,he,ie)}}else L(G)}}}L(D.tokens)});function R(D){return typeof D=="string"?D:Array.isArray(D)?D.map(R).join(""):R(D.content)}}(n)}CPe.displayName="jsdoc";CPe.aliases=[];function CPe(n){n.register(e9),n.register(qh),n.register(XM),function(i){var s=i.languages.javascript,u=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,d="(@(?:arg|argument|param|property)\\s+(?:"+u+"\\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 u})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+u),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)}IPe.displayName="n4js";IPe.aliases=["n4jsd"];function IPe(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}RPe.displayName="js-extras";RPe.aliases=[];function RPe(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 u=["function","function-variable","method","method-variable","property-access"],d=0;d<u.length;d++){var g=u[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)}OPe.displayName="json5";OPe.aliases=[];function OPe(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)}LPe.displayName="jsonp";LPe.aliases=[];function LPe(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:/:/}}}}}}MPe.displayName="julia";MPe.aliases=[];function MPe(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|[πℯ]/}}PPe.displayName="keepalived";PPe.aliases=[];function PPe(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:/[\{\}]/}}jPe.displayName="keyman";jPe.aliases=[];function jPe(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:/[()=,]/}}FPe.displayName="kumir";FPe.aliases=["kum"];function FPe(n){(function(i){var s=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function u(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:u(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:u(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:u(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:u(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:u(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:u(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:u(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:u(/(^|[<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)}$Pe.displayName="kusto";$Pe.aliases=[];function $Pe(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:/[()\[\]{},;.:]/}}BPe.displayName="latex";BPe.aliases=["context","tex"];function BPe(n){(function(i){var s=/\\(?:[^a-z()[\]]|[a-z*]+)/i,u={"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:u,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:u,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)}UPe.displayName="latte";UPe.aliases=[];function UPe(n){n.register(Ls),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(u){if(u.language==="latte"){var d=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(u,"latte",d),u.grammar=s}}),i.hooks.add("after-tokenize",function(u){i.languages["markup-templating"].tokenizePlaceholders(u,"latte")})}(n)}eG.displayName="scheme";eG.aliases=[];function eG(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(u){for(var d in u)u[d]=u[d].replace(/<[\w\s]+>/g,function(g){return"(?:"+u[g].trim()+")"});return u[d]}})(n)}HPe.displayName="lilypond";HPe.aliases=["ly"];function HPe(n){n.register(eG),function(i){for(var s=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,u=5,d=0;d<u;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)}zPe.displayName="liquid";zPe.aliases=[];function zPe(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,u=!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"&&!u)return u=!0,!0;if(b==="endraw")return u=!1,!0}return!u})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}GPe.displayName="lisp";GPe.aliases=["elisp","emacs","emacs-lisp"];function GPe(n){(function(i){function s(D){return RegExp(/(\()/.source+"(?:"+D+")"+/(?=[\s\)])/.source)}function u(D){return RegExp(/([\s([])/.source+"(?:"+D+")"+/(?=[\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:u(/nil|t/.source),lookbehind:!0},number:{pattern:u(/[-+]?\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)}qPe.displayName="livescript";qPe.aliases=[];function qPe(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}VPe.displayName="llvm";VPe.aliases=[];function VPe(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)}WPe.displayName="log";WPe.aliases=[];function WPe(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:/[\[\].,]/}}KPe.displayName="lolcode";KPe.aliases=[];function KPe(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}|…|,|!/}}YPe.displayName="magma";YPe.aliases=[];function YPe(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,u=/\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(u),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)}JPe.displayName="matlab";JPe.aliases=[];function JPe(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}|[.,;\[\](){}!]/}}XPe.displayName="maxscript";XPe.aliases=[];function XPe(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)}ZPe.displayName="mel";ZPe.aliases=[];function ZPe(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}QPe.displayName="mermaid";QPe.aliases=[];function QPe(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:/[(){};]/}}eje.displayName="metafont";eje.aliases=[];function eje(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}}}tje.displayName="mizar";tje.aliases=[];function tje(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:/\(#|#\)|[,:;\[\](){}]/}}nje.displayName="mongodb";nje.aliases=[];function nje(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"],u=["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(?:"+u.join("|")+")\\b"),alias:"keyword"}})}(n)}rje.displayName="monkey";rje.aliases=[];function rje(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:/[.,:;()\[\]]/}}ije.displayName="moonscript";ije.aliases=["moon"];function ije(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}oje.displayName="n1ql";oje.aliases=[];function oje(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:/[;[\](),.{}:]/}}sje.displayName="nand2tetris-hdl";sje.aliases=[];function sje(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:/[{}[\];(),:]/}}aje.displayName="naniscript";aje.aliases=["nani"];function aje(n){(function(i){var s=/\{[^\r\n\[\]{}]*\}/,u={"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:u}}},"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:u},"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)}uje.displayName="nasm";uje.aliases=[];function uje(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:/[\[\]*+\-\/%<>=&|$!]/}}cje.displayName="neon";cje.aliases=[];function cje(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:/[,:=[\]{}()-]/}}lje.displayName="nevod";lje.aliases=[];function lje(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\-.]+/}}dje.displayName="nginx";dje.aliases=[];function dje(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)}fje.displayName="nim";fje.aliases=[];function fje(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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}hje.displayName="nix";hje.aliases=[];function hje(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}pje.displayName="nsis";pje.aliases=[];function pje(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}}}gje.displayName="ocaml";gje.aliases=[];function gje(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/}}bje.displayName="odin";bje.aliases=[];function bje(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)}mje.displayName="opencl";mje.aliases=[];function mje(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)}wje.displayName="openqasm";wje.aliases=["qasm"];function wje(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}yje.displayName="oz";yje.aliases=[];function yje(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:/[\[\](){}.:;?]/}}vje.displayName="parigp";vje.aliases=[];function vje(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:/[\[\]{}().,:;|]/}}Eje.displayName="parser";Eje.aliases=[];function Eje(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)}Sje.displayName="pascal";Sje.aliases=["objectpascal"];function Sje(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}Tje.displayName="pascaligo";Tje.aliases=[];function Tje(n){(function(i){var s=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,u=/(?:\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 u}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return u}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return u})),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)}Aje.displayName="psl";Aje.aliases=[];function Aje(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:/[(){}\[\];,]/}}_je.displayName="pcaxis";_je.aliases=["px"];function _je(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}xje.displayName="peoplecode";xje.aliases=["pcode"];function xje(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}kje.displayName="phpdoc";kje.aliases=[];function kje(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)}Nje.displayName="php-extras";Nje.aliases=[];function Nje(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:/::|\\/}}})}Cje.displayName="plant-uml";Cje.aliases=["plantuml"];function Cje(n){(function(i){var s=/\$\w+|%[a-z]+%/,u=/\[[^[\]]*\]/.source,d=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,g="(?:-+"+d+"-+|\\.+"+d+"\\.+|-+(?:"+u+"-*)?|"+u+"-+|\\.+(?:"+u+"\\.*)?|"+u+"\\.+)",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)}Ije.displayName="plsql";Ije.aliases=[];function Ije(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"}})}Rje.displayName="powerquery";Rje.aliases=["mscript","pq"];function Rje(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}Oje.displayName="powershell";Oje.aliases=[];function Oje(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)}Lje.displayName="processing";Lje.aliases=[];function Lje(n){n.register(Ls),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:/[(){}\[\],]/}}Mje.displayName="promql";Mje.aliases=[];function Mje(n){(function(i){var s=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],u=["on","ignoring","group_right","group_left","by","without"],d=["offset"],g=s.concat(u,d);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+u.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)}Pje.displayName="properties";Pje.aliases=[];function Pje(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:/[=:]/}}jje.displayName="protobuf";jje.aliases=[];function jje(n){n.register(Ls),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)}Fje.displayName="stylus";Fje.aliases=[];function Fje(n){(function(i){var s={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},u={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:u,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:u,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)}$je.displayName="twig";$je.aliases=[];function $je(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")})}Bje.displayName="pug";Bje.aliases=[];function Bje(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,u=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],d={},g=0,b=u.length;g<b;g++){var w=u[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)}Uje.displayName="puppet";Uje.aliases=[];function Uje(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)}Hje.displayName="pure";Hje.aliases=[];function Hje(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"],u=/%< *-\*- *<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(u.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)}zje.displayName="purebasic";zje.aliases=["pbfasm"];function zje(n){n.register(Ls),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}Gje.displayName="purescript";Gje.aliases=["purs"];function Gje(n){n.register(Qz),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}qje.displayName="qsharp";qje.aliases=["qs"];function qje(n){n.register(Ls),function(i){function s(R,D){return R.replace(/<<(\d+)>>/g,function(L,B){return"(?:"+D[+B]+")"})}function u(R,D,L){return RegExp(s(R,D),"")}function d(R,D){for(var L=0;L<D;L++)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:u(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:u(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[S]),lookbehind:!0,inside:x},{pattern:u(/(\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:u(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[C]),greedy:!0,inside:{interpolation:{pattern:u(/((?:^|[^\\])(?:\\\\)*)<<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}Vje.displayName="q";Vje.aliases=[];function Vje(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:/[(){}\[\];.]/}}Wje.displayName="qml";Wje.aliases=[];function Wje(n){n.register(qh),function(i){for(var s=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,u=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,d=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return s}).replace(/<comment>/g,function(){return u}),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)}Kje.displayName="qore";Kje.aliases=[];function Kje(n){n.register(Ls),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/})}Yje.displayName="racket";Yje.aliases=["rkt"];function Yje(n){n.register(eG),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}Jje.displayName="cshtml";Jje.aliases=["razor"];function Jje(n){n.register($R),n.register(oh),function(i){var s=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,u=/@(?!")|"(?:[^\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,"(?:"+u+")").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,D=/\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 L=i.languages.insertBefore("csharp","string",{html:{pattern:RegExp(D),greedy:!0,inside:i.languages.cshtml}},{csharp:i.languages.extend("csharp",{})}),B={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:L},$={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),u=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,d=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,g=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(S,x){return S=S.replace(/<S>/g,function(){return u}).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 D=w(C);A<S.length-1&&(typeof S[A+1]=="string"||S[A+1].type==="plain-text")&&(D+=w(S[A+1]),S.splice(A+1,1)),A>0&&(typeof S[A-1]=="string"||S[A-1].type==="plain-text")&&(D=w(S[A-1])+D,S.splice(A-1,1),A--),S[A]=new i.Token("plain-text",D,null,D)}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)}Xje.displayName="tsx";Xje.aliases=[];function Xje(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 u=i.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(n)}Zje.displayName="reason";Zje.aliases=[];function Zje(n){n.register(Ls),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}Qje.displayName="rego";Qje.aliases=[];function Qje(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:/[,;.\[\]{}()]/}}e7e.displayName="renpy";e7e.aliases=["rpy"];function e7e(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}t7e.displayName="rescript";t7e.aliases=["res"];function t7e(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}n7e.displayName="rest";n7e.aliases=[];function n7e(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}}}r7e.displayName="rip";r7e.aliases=[];function r7e(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`'",.:;#\/\\()<>\[\]{}]*/}}i7e.displayName="roboconf";i7e.aliases=[];function i7e(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:/[{},.;:=]/}}o7e.displayName="robotframework";o7e.aliases=["robot"];function o7e(n){(function(i){var s={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},u={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=u,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:u}},w={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:u}};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)}s7e.displayName="sas";s7e.aliases=[];function s7e(n){(function(i){var s=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,u=/\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:u,"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"}}},D={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},L={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:u,"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":L,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:u,"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":L,number:u,"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":L,number:u,"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:D,"global-statements":L,number:u,"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:u,"numeric-constant":d}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:C},"cas-actions":j,comment:E,function:A,format:R,altformat:D,"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:u,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:x}})(n)}a7e.displayName="shell-session";a7e.aliases=["sh-session","shellsession"];function a7e(n){n.register(Vz),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)}u7e.displayName="smali";u7e.aliases=[];function u7e(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:/[{}(),;:]/}}c7e.displayName="smalltalk";c7e.aliases=[];function c7e(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:/[.;:?\[\](){}]/}}l7e.displayName="smarty";l7e.aliases=[];function l7e(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])*'/,u=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",u,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)}d7e.displayName="sml";d7e.aliases=["smlnj"];function d7e(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)}f7e.displayName="solidity";f7e.aliases=["sol"];function f7e(n){n.register(Ls),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}h7e.displayName="solution-file";h7e.aliases=["sln"];function h7e(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)}p7e.displayName="soy";p7e.aliases=[];function p7e(n){n.register(Vh),function(i){var s=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,u=/\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:u,punctuation:/[\[\].?]/}},string:{pattern:s,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:u,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}g7e.displayName="sparql";g7e.aliases=["rq"];function g7e(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}b7e.displayName="splunk-spl";b7e.aliases=[];function b7e(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:/[()[\],]/}}m7e.displayName="sqf";m7e.aliases=[];function m7e(n){n.register(Ls),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"]}w7e.displayName="squirrel";w7e.aliases=[];function w7e(n){n.register(Ls),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"}})}y7e.displayName="stan";y7e.aliases=[];function y7e(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)}v7e.displayName="stata";v7e.aliases=[];function v7e(n){n.register(BR),n.register(xue),n.register(Yz),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}E7e.displayName="iecst";E7e.aliases=[];function E7e(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:/[()[\].,;]/}}S7e.displayName="supercollider";S7e.aliases=["sclang"];function S7e(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}T7e.displayName="systemd";T7e.aliases=[];function T7e(n){(function(i){var s={pattern:/^[;#].*/m,greedy:!0},u=/"(?:[^\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+"(?:"+u+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+u+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:s,quoted:{pattern:RegExp(/(^|\s)/.source+u),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(n)}tG.displayName="t4-templating";tG.aliases=[];function tG(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 u(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:u})})(n)}A7e.displayName="t4-cs";A7e.aliases=["t4"];function A7e(n){n.register($R),n.register(tG),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}_7e.displayName="t4-vb";_7e.aliases=[];function _7e(n){n.register(tG),n.register(Xz),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}x7e.displayName="tap";x7e.aliases=[];function x7e(n){n.register(Kz),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"}}}k7e.displayName="tcl";k7e.aliases=[];function k7e(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:/[{}()\[\]]/}}N7e.displayName="tt2";N7e.aliases=[];function N7e(n){n.register(Ls),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 u=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(s,"tt2",u)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"tt2")})}(n)}C7e.displayName="toml";C7e.aliases=[];function C7e(n){(function(i){var s=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function u(d){return d.replace(/__/g,function(){return s})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(u(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(u(/(^[\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)}I7e.displayName="tremor";I7e.aliases=["trickle","troy"];function I7e(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)}R7e.displayName="typoscript";R7e.aliases=["tsconfig"];function R7e(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)}O7e.displayName="unrealscript";O7e.aliases=["uc","uscript"];function O7e(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}L7e.displayName="uorazor";L7e.aliases=[];function L7e(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(Ls),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)}M7e.displayName="vala";M7e.aliases=[];function M7e(n){n.register(Ls),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]+$/}}})}P7e.displayName="velocity";P7e.aliases=[];function P7e(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)}j7e.displayName="verilog";j7e.aliases=[];function j7e(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:/[[\];(),.:]/}}F7e.displayName="vhdl";F7e.aliases=[];function F7e(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:/[{}[\];(),.:]/}}$7e.displayName="vim";$7e.aliases=[];function $7e(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:/[{}[\](),;:]/}}B7e.displayName="visual-basic";B7e.aliases=["vb","vba"];function B7e(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"]}U7e.displayName="warpscript";U7e.aliases=[];function U7e(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/}}H7e.displayName="wasm";H7e.aliases=[];function H7e(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:/[()]/}}z7e.displayName="web-idl";z7e.aliases=["webidl"];function z7e(n){(function(i){var s=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,u="(?:"+/\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+u),lookbehind:!0,inside:d},{pattern:RegExp("("+/\bcallback\s+/.source+s+/\s*=\s*/.source+")"+u),lookbehind:!0,inside:d},{pattern:RegExp(/(\btypedef\b\s*)/.source+u),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(u+"(?="+/\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)}G7e.displayName="wgsl";G7e.aliases=[];function G7e(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:/[@(){}[\],;<>:.]/}}q7e.displayName="wiki";q7e.aliases=[];function q7e(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}}}})}V7e.displayName="wolfram";V7e.aliases=["mathematica","nb","wl"];function V7e(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}W7e.displayName="wren";W7e.aliases=[];function W7e(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]+/}}}K7e.displayName="xeora";K7e.aliases=["xeoracube"];function K7e(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)}Y7e.displayName="xml-doc";Y7e.aliases=[];function Y7e(n){n.register(oh),function(i){function s(b,w){i.languages[b]&&i.languages.insertBefore(b,"comment",{"doc-comment":w})}var u=i.languages.markup.tag,d={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:u}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:u}};s("csharp",d),s("fsharp",d),s("vbnet",g)}(n)}J7e.displayName="xojo";J7e.aliases=[];function J7e(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:/[.,;:()]/}}X7e.displayName="xquery";X7e.aliases=[];function X7e(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("")},u=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"&&u(w.content)}};i.hooks.add("after-tokenize",function(d){d.language==="xquery"&&u(d.tokens)})}(n)}Z7e.displayName="yang";Z7e.aliases=[];function Z7e(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:/[{};:]/}}Q7e.displayName="zig";Q7e.aliases=[];function Q7e(n){(function(i){function s(S){return function(){return S}}var u=/\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(?!"+u.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:u,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(Ls);_e.register(pue);_e.register(qh);_e.register(b9e);_e.register(m9e);_e.register(w9e);_e.register(y9e);_e.register(v9e);_e.register(E9e);_e.register(S9e);_e.register(T9e);_e.register(JM);_e.register(A9e);_e.register(_9e);_e.register(x9e);_e.register(k9e);_e.register(zv);_e.register(FR);_e.register(lue);_e.register(N9e);_e.register(C9e);_e.register(Vz);_e.register(Kz);_e.register(wue);_e.register(I9e);_e.register(R9e);_e.register($R);_e.register(O9e);_e.register(L9e);_e.register(D9e);_e.register(M9e);_e.register(P9e);_e.register(j9e);_e.register(F9e);_e.register($9e);_e.register(Jz);_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(l8e);_e.register(HR);_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(v8e);_e.register(due);_e.register(Vh);_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(I8e);_e.register(Wz);_e.register(R8e);_e.register(O8e);_e.register(L8e);_e.register(D8e);_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(Z8e);_e.register(fue);_e.register(Q8e);_e.register(ePe);_e.register(tPe);_e.register(nPe);_e.register(bue);_e.register(Aue);_e.register(rPe);_e.register(iPe);_e.register(oPe);_e.register(Qz);_e.register(sPe);_e.register(aPe);_e.register(uPe);_e.register(cPe);_e.register(lPe);_e.register(dPe);_e.register(YM);_e.register(fPe);_e.register(hPe);_e.register(pPe);_e.register(gPe);_e.register(bPe);_e.register(mPe);_e.register(wPe);_e.register(yPe);_e.register(hue);_e.register(vPe);_e.register(EPe);_e.register(BR);_e.register(UR);_e.register(e9);_e.register(SPe);_e.register(TPe);_e.register(APe);_e.register(_Pe);_e.register(xPe);_e.register(kPe);_e.register(NPe);_e.register(XM);_e.register(CPe);_e.register(IPe);_e.register(RPe);_e.register(OPe);_e.register(LPe);_e.register(DPe);_e.register(MPe);_e.register(PPe);_e.register(jPe);_e.register(gue);_e.register(FPe);_e.register($Pe);_e.register(BPe);_e.register(UPe);_e.register(eG);_e.register(HPe);_e.register(zPe);_e.register(GPe);_e.register(qPe);_e.register(VPe);_e.register(WPe);_e.register(KPe);_e.register(YPe);_e.register(mue);_e.register(xue);_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(pje);_e.register(yue);_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(xje);_e.register(vue);_e.register(kje);_e.register(Nje);_e.register(Cje);_e.register(Ije);_e.register(Rje);_e.register(Oje);_e.register(Lje);_e.register(Dje);_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(Gje);_e.register(Yz);_e.register(qje);_e.register(Vje);_e.register(Wje);_e.register(Kje);_e.register(Eue);_e.register(Yje);_e.register(Jje);_e.register(kue);_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(o7e);_e.register(Sue);_e.register(s7e);_e.register(Tue);_e.register(a7e);_e.register(u7e);_e.register(c7e);_e.register(l7e);_e.register(d7e);_e.register(f7e);_e.register(h7e);_e.register(p7e);_e.register(Nue);_e.register(g7e);_e.register(b7e);_e.register(m7e);_e.register(w7e);_e.register(y7e);_e.register(v7e);_e.register(E7e);_e.register(S7e);_e.register(_ue);_e.register(T7e);_e.register(tG);_e.register(A7e);_e.register(Xz);_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(L7e);_e.register(D7e);_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);_e.register(Q7e);function SDe(){SDe=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 u(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=u(g,this);var b=g.indices;b&&(b.groups=u(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(u(E,w)),g.apply(this,E)})}return n[Symbol.replace].call(this,d,g)},SDe.apply(this,arguments)}function kse(n,i){return kse=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,u){return s.__proto__=u,s},kse(n,i)}function X$t(n,i){(i==null||i>n.length)&&(i=n.length);for(var s=0,u=new Array(i);s<i;s++)u[s]=n[s];return u}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 X$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)?X$t(d,g):void 0}}(n))||i){s&&(n=s);var u=0;return function(){return u>=n.length?{done:!0}:{done:!1,value:n[u++]}}}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 xlr=function(n){return function(i){return i===void 0&&(i={}),function(u,d){if(d&&!u.registered(d))throw new Error('The default language "'+d+'" is not registered with refractor.')}(n,i.defaultLanguage),function(u){$cr(u,"element",s)};function s(u,d,g){var b,w;if(g&&g.tagName==="pre"&&u.tagName==="code"){var E=(u==null||(b=u.data)==null?void 0:b.meta)||(u==null||(w=u.properties)==null?void 0:w.metastring)||"";u.properties.className?typeof u.properties.className=="boolean"?u.properties.className=[]:Array.isArray(u.properties.className)||(u.properties.className=[u.properties.className]):u.properties.className=[];var S,x,A=function(ee){for(var ne,Q=u6e(ee.properties.className);!(ne=Q()).done;){var ie=ne.value;if(ie.slice(0,9)==="language-")return ie.slice(9).toLowerCase()}return null}(u);if(!A&&i.defaultLanguage&&u.properties.className.push("language-"+(A=i.defaultLanguage)),u.properties.className.push("code-highlight"),A)try{var C,R;R=(C=A)!=null&&C.includes("diff-")?A.split("-")[1]:A,S=n.highlight(jie(u),R),g.properties.className=(g.properties.className||[]).concat("language-"+R)}catch(ee){if(!i.ignoreMissing||!/Unknown language/.test(ee.message))throw ee;S=u}else S=u;S.children=(x=1,function ee(ne){return ne.reduce(function(Q,ie){if(ie.type==="text"){var he=ie.value,ge=(he.match(/\n/g)||"").length;if(ge===0)ie.position={start:{line:x,column:1},end:{line:x,column:1}},Q.push(ie);else for(var ce,fe=he.split(`
`),K=u6e(fe.entries());!(ce=K()).done;){var pe=ce.value,Oe=pe[0],Se=pe[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+=ge,Q}if(Object.prototype.hasOwnProperty.call(ie,"children")){var De=x;return ie.children=ee(ie.children),Q.push(ie),ie.position={start:{line:De,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 D,L=function(ee){var ne=/{([\d,-]+)}/,Q=ee.split(",").map(function(ge){return ge.trim()}).join();if(ne.test(Q)){var ie=ne.exec(Q)[1],he=qcr(ie);return function(ge){return he.includes(ge+1)}}return function(){return!1}}(E),B=function(ee){var ne=SDe(/showLineNumbers=(\d+)/i,{lines:1});if(ne.test(ee)){var Q=ne.exec(ee);return Number(Q.groups.lines)}return 1}(E),$=function(ee){for(var ne=new Array(ee),Q=0;Q<ee;Q++)ne[Q]={type:"element",tagName:"span",properties:{className:[]},children:[]};return ne}(S.position.end.line),j=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],P=function(){var ee,ne,Q=D.value,ie=Q[0],he=Q[1];he.properties.className=["code-line"];var ge=Hcr(S,function(ce){return ce.position.start.line<=ie+1&&ce.position.end.line>=ie+1});he.children=ge.children,!E.toLowerCase().includes("showLineNumbers".toLowerCase())&&!i.showLineNumbers||j.some(function(ce){return E.toLowerCase().includes(ce)})||(he.properties.line=[(ie+B).toString()],he.properties.className.push("line-number")),L(ie)&&he.properties.className.push("highlight-line"),(A==="diff"||(ee=A)!=null&&ee.includes("diff-"))&&jie(he).substring(0,1)==="-"?he.properties.className.push("deleted"):(A==="diff"||(ne=A)!=null&&ne.includes("diff-"))&&jie(he).substring(0,1)==="+"&&he.properties.className.push("inserted")},G=u6e($.entries());!(D=G()).done;)P();$.length>0&&jie($[$.length-1]).trim()===""&&$.pop(),u.children=$}}}},klr=xlr(_e),Nlr=["rehypePlugins"];const Clr=Hn.forwardRef((n,i)=>{var{rehypePlugins:s=[[klr,{ignoreMissing:!0}]]}=n,u=kJt(n,Nlr);return I.jsx(Ccr,Hk({},u,{rehypePlugins:s,ref:i}))});function Ilr({yaml:n,errors:i,warnings:s,onYamlChange:u}){const d=ko(w=>w.fromFlowGraph),g=zae();H.useEffect(()=>{},[]);const b=async w=>{const E=w.target.value;u&&u(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(Clr,{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 Rlr(){const{t:n}=ps(["common","errors"]),i=ko(D=>D.nodes),s=ko(D=>D.toFlowGraph),[u,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 D;if(i.length===0)return w.current=null,{yaml:n("placeholders.addNodesForYaml"),warnings:[],errors:[],strategy:null,isStale:!1};try{const L=s(),$=new RM().transpile(L,{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=((D=$.output)==null?void 0:D.strategy)||null;return w.current={yaml:j,strategy:P},{yaml:j,warnings:$.warnings,errors:[],strategy:P,isStale:!1}}catch(L){const B=w.current;return{yaml:(B==null?void 0:B.yaml)||"",warnings:[],errors:[L instanceof Error?L.message:n("errors:api.transpileFailed")],strategy:(B==null?void 0:B.strategy)||null,isStale:!!B}}},[i,s,g,n]),R=async()=>{try{await Dir(E),d(!0),setTimeout(()=>d(!1),2e3)}catch(D){console.error(n("errors:common.failedToCopy"),D)}};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:D=>b(D),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(ki,{variant:"ghost",size:"sm",onClick:R,disabled:!E,className:Sr("h-7 w-7 p-0",u?"bg-green-100 text-green-600 hover:bg-green-100":"text-muted-foreground"),children:u?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(zMe,{variant:"secondary",className:"text-xs",children:A})]}),I.jsx("div",{className:"min-h-0 flex-1",children:I.jsx(Ilr,{yaml:E,errors:S,warnings:C?[n("errors:yaml.staleWarning"),...x]:x})})]})}function Olr(){const{t:n}=ps(["common","dialogs"]),{hass:i}=pb(),{automationId:s,traceData:u,isShowingTrace:d,traceExecutionPath:g,traceTimestamps:b,showTrace:w,hideTrace:E,setActiveNode:S,simulationSpeed:x,isSimulating:A}=ko(),[C,R]=H.useState([]),[D,L]=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 pe=K[0].run_id;L(pe);const Oe=await fe.getAutomationTraceDetails(s,pe);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 pe=await Mv(i).getAutomationTraceDetails(s,fe);Ef.info("Loaded trace details:",pe),pe&&w(pe)}catch(K){Ef.error("Failed to load trace details:",K)}$(!1)}},[s,i,w]),ne=H.useCallback(fe=>{L(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]),he=H.useCallback(()=>{P(!1),S(null)},[S]),ge=fe=>{try{return new Date(fe).toLocaleTimeString()}catch{return fe}},ce=(fe,K)=>{try{const pe=new Date(fe);return`${(((K?new Date(K):new Date).getTime()-pe.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(ki,{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(ki,{variant:"outline",size:"sm",onClick:he,className:"h-8 w-8 border-orange-200 p-0 text-orange-600 hover:bg-orange-50",children:I.jsx(vGt,{className:"h-4 w-4"})}),d?I.jsx(ki,{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(mGt,{className:"h-4 w-4"})}):I.jsx(ki,{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(K8n,{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:D,onValueChange:ne,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:ge(fe.timestamp.start)}),I.jsxs("span",{className:"text-muted-foreground text-xs",children:["(",ce(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&&u&&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:u.trigger})]}),I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.duration")}),I.jsx("span",{children:ce(u.timestamp.start,u.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:u.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:ge(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 DXt=["PageUp","PageDown"],MXt=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],PXt={"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",[TDe,Llr,Dlr]=Wae(t9),[jXt]=xw(t9,[Dlr]),[Mlr,Cue]=jXt(t9),FXt=H.forwardRef((n,i)=>{const{name:s,min:u=0,max:d=100,step:g=1,orientation:b="horizontal",disabled:w=!1,minStepsBetweenThumbs:E=0,defaultValue:S=[u],value:x,onValueChange:A=()=>{},onValueCommit:C=()=>{},inverted:R=!1,form:D,...L}=n,B=H.useRef(new Set),$=H.useRef(0),P=b==="horizontal"?Plr:jlr,[G=[],ee]=G2({prop:x,defaultProp:S,onChange:ce=>{var K;(K=[...B.current][$.current])==null||K.focus(),A(ce)}}),ne=H.useRef(G);function Q(ce){const fe=Hlr(G,ce);ge(ce,fe)}function ie(ce){ge(ce,$.current)}function he(){const ce=ne.current[$.current];G[$.current]!==ce&&C(G)}function ge(ce,fe,{commit:K}={commit:!1}){const pe=Vlr(g),Oe=Wlr(Math.round((ce-u)/g)*g+u,pe),Se=mse(Oe,[u,d]);ee((De=[])=>{const Ae=Blr(De,Se,fe);if(qlr(Ae,E*g)){$.current=Ae.indexOf(Se);const xe=String(Ae)!==String(De);return xe&&K&&C(Ae),xe?Ae:De}else return De})}return I.jsx(Mlr,{scope:n.__scopeSlider,name:s,disabled:w,min:u,max:d,valueIndexToChangeRef:$,thumbs:B.current,values:G,orientation:b,form:D,children:I.jsx(TDe.Provider,{scope:n.__scopeSlider,children:I.jsx(TDe.Slot,{scope:n.__scopeSlider,children:I.jsx(P,{"aria-disabled":w,"data-disabled":w?"":void 0,...L,ref:i,onPointerDown:Lr(L.onPointerDown,()=>{w||(ne.current=G)}),min:u,max:d,inverted:R,onSlideStart:w?void 0:Q,onSlideMove:w?void 0:ie,onSlideEnd:w?void 0:he,onHomeKeyDown:()=>!w&&ge(u,0,{commit:!0}),onEndKeyDown:()=>!w&&ge(d,G.length-1,{commit:!0}),onStepKeyDown:({event:ce,direction:fe})=>{if(!w){const Oe=DXt.includes(ce.key)||ce.shiftKey&&MXt.includes(ce.key)?10:1,Se=$.current,De=G[Se],Ae=g*Oe*fe;ge(De+Ae,Se,{commit:!0})}}})})})})});FXt.displayName=t9;var[$Xt,BXt]=jXt(t9,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Plr=H.forwardRef((n,i)=>{const{min:s,max:u,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)),D=H.useRef(void 0),L=Fz(d),B=L==="ltr",$=B&&!g||!B&&g;function j(P){const G=D.current||A.getBoundingClientRect(),ee=[0,G.width],Q=eFe(ee,$?[s,u]:[u,s]);return D.current=G,Q(P-G.left)}return I.jsx($Xt,{scope:n.__scopeSlider,startEdge:$?"left":"right",endEdge:$?"right":"left",direction:$?1:-1,size:"width",children:I.jsx(UXt,{dir:L,"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:()=>{D.current=void 0,E==null||E()},onStepKeyDown:P=>{const ee=PXt[$?"from-left":"from-right"].includes(P.key);S==null||S({event:P,direction:ee?-1:1})}})})}),jlr=H.forwardRef((n,i)=>{const{min:s,max:u,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 D(L){const B=C.current||x.current.getBoundingClientRect(),$=[0,B.height],P=eFe($,R?[u,s]:[s,u]);return C.current=B,P(L-B.top)}return I.jsx($Xt,{scope:n.__scopeSlider,startEdge:R?"bottom":"top",endEdge:R?"top":"bottom",size:"height",direction:R?1:-1,children:I.jsx(UXt,{"data-orientation":"vertical",...S,ref:A,style:{...S.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:L=>{const B=D(L.clientY);g==null||g(B)},onSlideMove:L=>{const B=D(L.clientY);b==null||b(B)},onSlideEnd:()=>{C.current=void 0,w==null||w()},onStepKeyDown:L=>{const $=PXt[R?"from-bottom":"from-top"].includes(L.key);E==null||E({event:L,direction:$?-1:1})}})})}),UXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,onSlideStart:u,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:Lr(n.onKeyDown,A=>{A.key==="Home"?(b(A),A.preventDefault()):A.key==="End"?(w(A),A.preventDefault()):DXt.concat(MXt).includes(A.key)&&(E(A),A.preventDefault())}),onPointerDown:Lr(n.onPointerDown,A=>{const C=A.target;C.setPointerCapture(A.pointerId),A.preventDefault(),x.thumbs.has(C)?C.focus():u(A)}),onPointerMove:Lr(n.onPointerMove,A=>{A.target.hasPointerCapture(A.pointerId)&&d(A)}),onPointerUp:Lr(n.onPointerUp,A=>{const C=A.target;C.hasPointerCapture(A.pointerId)&&(C.releasePointerCapture(A.pointerId),g(A))})})}),HXt="SliderTrack",zXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...u}=n,d=Cue(HXt,s);return I.jsx(no.span,{"data-disabled":d.disabled?"":void 0,"data-orientation":d.orientation,...u,ref:i})});zXt.displayName=HXt;var ADe="SliderRange",GXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...u}=n,d=Cue(ADe,s),g=BXt(ADe,s),b=H.useRef(null),w=hs(i,b),E=d.values.length,S=d.values.map(C=>WXt(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,...u,ref:w,style:{...n.style,[g.startEdge]:x+"%",[g.endEdge]:A+"%"}})});GXt.displayName=ADe;var _De="SliderThumb",qXt=H.forwardRef((n,i)=>{const s=Llr(n.__scopeSlider),[u,d]=H.useState(null),g=hs(i,w=>d(w)),b=H.useMemo(()=>u?s().findIndex(w=>w.ref.current===u):-1,[s,u]);return I.jsx(Flr,{...n,ref:g,index:b})}),Flr=H.forwardRef((n,i)=>{const{__scopeSlider:s,index:u,name:d,...g}=n,b=Cue(_De,s),w=BXt(_De,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[u],D=R===void 0?0:WXt(R,b.min,b.max),L=Ulr(u,b.values.length),B=C==null?void 0:C[w.size],$=B?zlr(B,D,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(${D}% + ${$}px)`},children:[I.jsx(TDe.ItemSlot,{scope:n.__scopeSlider,children:I.jsx(no.span,{role:"slider","aria-label":n["aria-label"]||L,"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:Lr(n.onFocus,()=>{b.valueIndexToChangeRef.current=u})})}),A&&I.jsx(VXt,{name:d??(b.name?b.name+(b.values.length>1?"[]":""):void 0),form:b.form,value:R},u)]})});qXt.displayName=_De;var $lr="RadioBubbleInput",VXt=H.forwardRef(({__scopeSlider:n,value:i,...s},u)=>{const d=H.useRef(null),g=hs(d,u),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})});VXt.displayName=$lr;function Blr(n=[],i,s){const u=[...n];return u[s]=i,u.sort((d,g)=>d-g)}function WXt(n,i,s){const g=100/(s-i)*(n-i);return mse(g,[0,100])}function Ulr(n,i){return i>2?`Value ${n+1} of ${i}`:i===2?["Minimum","Maximum"][n]:void 0}function Hlr(n,i){if(n.length===1)return 0;const s=n.map(d=>Math.abs(d-i)),u=Math.min(...s);return s.indexOf(u)}function zlr(n,i,s){const u=n/2,g=eFe([0,50],[0,u]);return(u-g(i)*s)*s}function Glr(n){return n.slice(0,-1).map((i,s)=>n[s+1]-i)}function qlr(n,i){if(i>0){const s=Glr(n);return Math.min(...s)>=i}return!0}function eFe(n,i){return s=>{if(n[0]===n[1]||i[0]===i[1])return i[0];const u=(i[1]-i[0])/(n[1]-n[0]);return i[0]+u*(s-n[0])}}function Vlr(n){return(String(n).split(".")[1]||"").length}function Wlr(n,i){const s=Math.pow(10,i);return Math.round(n*s)/s}var KXt=FXt,Klr=zXt,Ylr=GXt,Jlr=qXt;const YXt=H.forwardRef(({className:n,...i},s)=>I.jsxs(KXt,{ref:s,className:Sr("relative flex w-full touch-none select-none items-center",n),...i,children:[I.jsx(Klr,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:I.jsx(Ylr,{className:"absolute h-full bg-primary"})}),I.jsx(Jlr,{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"})]}));YXt.displayName=KXt.displayName;function Xlr({speed:n,onSpeedChange:i,disabled:s}){const{t:u}=ps(["common"]);return I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:u("labels.speed",{speed:n})}),I.jsx(YXt,{value:[n],onValueChange:d=>i(d[0]),min:200,max:2e3,step:100,disabled:s,className:"w-full"})]})}function Zlr(){const{t:n}=ps(["simulator"]),{nodes:i,edges:s,toFlowGraph:u,isSimulating:d,startSimulation:g,stopSimulation:b,setActiveNode:w,addToExecutionPath:E,clearExecutionPath:S,executionPath:x,simulationSpeed:A}=ko(),[C,R]=H.useState({}),D=H.useCallback(async()=>{if(i.length!==0){g();try{const j=u();let ee=new RM().analyzeTopology(j).entryNodes[0];const ne=s.find(he=>he.source===ee);ne&&(ee=ne.target);const Q=100;let ie=0;for(;ee&&ee!=="END"&&ie<Q;){w(ee),E(ee),await new Promise(ce=>setTimeout(ce,A));const he=s.filter(ce=>ce.source===ee),ge=i.find(ce=>ce.id===ee);if((ge==null?void 0:ge.type)==="condition"){const ce=C[ee]??Math.random()>.5,fe=he.find(K=>K.sourceHandle===(ce?"true":"false"))||null;ee=(fe==null?void 0:fe.target)??null}else he.length>0?ee=he[0].target:ee=null;ie++}w(null)}catch(j){console.error("Simulation error:",j)}b()}},[i,s,u,g,b,w,E,A,C]),L=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(ki,{variant:"outline",size:"sm",onClick:L,className:"h-8 w-8 border-red-200 p-0 text-red-600 hover:bg-red-50",children:I.jsx(vGt,{className:"h-4 w-4"})}):I.jsx(ki,{variant:"outline",size:"sm",onClick:D,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(ki,{variant:"ghost",size:"sm",onClick:B,className:"h-8 w-8 p-0",children:I.jsx(mGt,{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,...ne}=G;return ne}: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 ne;const G=i.find(Q=>Q.id===j),ee=(ne=G==null?void 0:G.data)==null?void 0:ne.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 Qlr({children:n,defaultWidth:i,minWidth:s=200,maxWidth:u=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=D=>{if(!E||!x.current)return;const L=x.current.getBoundingClientRect();let B;d==="right"?B=L.right-D.clientX:B=D.clientX-L.left,B=Math.max(s,Math.min(u,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,u,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",[edr]=xw(Iue,[Zae]),JXt=Zae(),[tdr,tFe]=edr(Iue),XXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:u,onValueChange:d,defaultValue:g,orientation:b="horizontal",dir:w,activationMode:E="automatic",...S}=n,x=Fz(w),[A,C]=G2({prop:u,onChange:d,defaultProp:g??"",caller:Iue});return I.jsx(tdr,{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})})});XXt.displayName=Iue;var ZXt="TabsList",QXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,loop:u=!0,...d}=n,g=tFe(ZXt,s),b=JXt(s);return I.jsx(AYt,{asChild:!0,...b,orientation:g.orientation,dir:g.dir,loop:u,children:I.jsx(no.div,{role:"tablist","aria-orientation":g.orientation,...d,ref:i})})});QXt.displayName=ZXt;var eZt="TabsTrigger",tZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:u,disabled:d=!1,...g}=n,b=tFe(eZt,s),w=JXt(s),E=iZt(b.baseId,u),S=oZt(b.baseId,u),x=u===b.value;return I.jsx(_Yt,{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:Lr(n.onMouseDown,A=>{!d&&A.button===0&&A.ctrlKey===!1?b.onValueChange(u):A.preventDefault()}),onKeyDown:Lr(n.onKeyDown,A=>{[" ","Enter"].includes(A.key)&&b.onValueChange(u)}),onFocus:Lr(n.onFocus,()=>{const A=b.activationMode!=="manual";!x&&!d&&A&&b.onValueChange(u)})})})});tZt.displayName=eZt;var nZt="TabsContent",rZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:u,forceMount:d,children:g,...b}=n,w=tFe(nZt,s),E=iZt(w.baseId,u),S=oZt(w.baseId,u),x=u===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})})});rZt.displayName=nZt;function iZt(n,i){return`${n}-trigger-${i}`}function oZt(n,i){return`${n}-content-${i}`}var ndr=XXt,sZt=QXt,aZt=tZt,uZt=rZt;const rdr=ndr,cZt=H.forwardRef(({className:n,...i},s)=>I.jsx(sZt,{ref:s,className:Sr("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...i}));cZt.displayName=sZt.displayName;const loe=H.forwardRef(({className:n,...i},s)=>I.jsx(aZt,{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}));loe.displayName=aZt.displayName;const doe=H.forwardRef(({className:n,...i},s)=>I.jsx(uZt,{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}));doe.displayName=uZt.displayName;const idr="0.9.0";function odr(){const{hass:n}=pb(),{i18n:i}=ps();return H.useEffect(()=>{var g;const s=n==null?void 0:n.language,u=(g=navigator.language)==null?void 0:g.split("-")[0],d=s||u||"en";Ef.debug("[C.A.F.E.] useLanguage effect running",{hasHass:!!n,hassLanguage:s,browserLanguage:u,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 Z$t(){const{t:n}=ps(["common","errors","dialogs"]),i=()=>{window.parent.postMessage({type:"CAFE_TOGGLE_SIDEBAR"},"*")},s=()=>{window.parent.history.back()},{hass:u,isRemote:d,isLoading:g,connectionError:b,config:w,setConfig:E}=pb(),{flowName:S,fromFlowGraph:x,reset:A,automationId:C,hasUnsavedChanges:R,isSaving:D,simulationSpeed:L,setSimulationSpeed:B,hasRealChanges:$}=ko(),[j,P]=H.useState("properties"),[G,ee]=H.useState(!1),[ne,Q]=H.useState(!1),[ie,he]=H.useState(!1),[ge,ce]=H.useState(!1),[fe,K]=H.useState(!1),[pe,Oe]=H.useState(!1),[Se,De]=H.useState(()=>(window.parent??window).innerWidth),Ae=d&&(w.url===""||w.token===""),xe=zae();odr(),H.useEffect(()=>{document.body.classList.toggle("dark",xe)},[xe]),H.useEffect(()=>{const ht=window.parent??window,Xt=()=>{De(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=ko.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&&(u!=null&&u.connected)?{label:n("status.connected"),className:"bg-green-100 text-green-700",icon:I.jsx(NPn,{className:"h-3 w-3"})}:null,kt=()=>{window.location.reload()};return I.jsx(OPn,{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(ki,{onClick:kt,children:n("buttons.refresh")})]})]})}),children:I.jsxs(uGt,{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(ki,{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(a8n,{className:"h-5 w-5"})}),Se<=870?I.jsx(ki,{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(ePn,{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(zMe,{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(ki,{onClick:()=>ee(!0),variant:"ghost",size:"icon",title:n("titles.settings"),children:I.jsx(gPn,{className:"h-5 w-5"})}),I.jsx(jz,{orientation:"vertical",className:"h-6"}),I.jsxs("div",{className:"flex",children:[I.jsxs(ki,{onClick:()=>{he(!0)},className:"rounded-r-none",children:[I.jsx(q8n,{className:"mr-2 h-4 w-4"}),n("buttons.openAutomation")]}),I.jsxs(yJt,{open:ge,onOpenChange:ce,children:[I.jsx(vJt,{asChild:!0,children:I.jsx(ki,{variant:"default",className:"rounded-l-none border-l px-2",children:I.jsx(nae,{className:"h-4 w-4"})})}),I.jsxs(t9e,{align:"end",children:[I.jsxs(iDe,{onClick:A,children:[I.jsx(gGt,{className:"mr-2 size-4"}),n("buttons.newAutomation")]}),I.jsxs(iDe,{onClick:()=>Q(!0),children:[I.jsx($8n,{className:"mr-2 h-4 w-4"}),n("buttons.importYaml")]})]})]})]}),I.jsx(ki,{onClick:()=>Oe(!0),variant:"ghost",size:"icon",title:n("titles.clearAutomation"),children:I.jsx(p8n,{className:"h-5 w-5"})}),I.jsx(ki,{onClick:()=>K(!0),variant:R?"default":"ghost",size:"icon",title:n(C?"titles.updateAutomation":"titles.saveAutomation"),disabled:D,className:Sr(R&&$()&&!D&&"save-button-unsaved"),children:D?I.jsx(QH,{className:"h-4 w-4 animate-spin"}):I.jsx(wGt,{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(IQn,{}),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${idr}`]})})]})]}),I.jsx("main",{className:"flex min-h-0 flex-1 flex-col",children:I.jsx(Zer,{})}),I.jsx(Qlr,{defaultWidth:320,minWidth:280,maxWidth:600,side:"right",className:"border-border border-l bg-card",children:I.jsxs(rdr,{value:j,onValueChange:ht=>P(ht),className:"flex min-h-0 flex-1 flex-col",children:[I.jsxs(cZt,{className:"grid w-full grid-cols-3 rounded-none border-b",children:[I.jsx(loe,{value:"properties",children:n("labels.properties")}),I.jsx(loe,{value:"yaml",children:n("labels.yaml")}),I.jsx(loe,{value:"simulator",children:n("labels.debug")})]}),I.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[I.jsx(doe,{value:"properties",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(Oir,{})}),I.jsx(doe,{value:"yaml",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(Rlr,{})}),I.jsx(doe,{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(ki,{onClick:We,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("buttons.importJson"),children:I.jsx(z8n,{className:"h-3.5 w-3.5"})}),I.jsx(ki,{onClick:dt,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("titles.exportJson"),children:I.jsx(U8n,{className:"h-3.5 w-3.5"})})]})]}),I.jsx(Xlr,{speed:L,onSpeedChange:B})]}),I.jsx("div",{className:"flex-1 border-b",children:I.jsx(Zlr,{})}),I.jsx("div",{className:"flex-1",children:I.jsx(Olr,{})})]})})]})]})})]})]}),d&&I.jsx(ktr,{isOpen:G||Ae,onClose:()=>ee(!1),config:w,onSave:E}),I.jsx(Ntr,{isOpen:ne,onClose:()=>Q(!1)}),I.jsx(vtr,{isOpen:ie,onClose:()=>{he(!1)}}),I.jsx(xtr,{isOpen:fe,onClose:()=>K(!1),onSaved:()=>{}}),I.jsx(wR,{open:pe,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(ki,{variant:"outline",onClick:()=>Oe(!1),children:n("buttons.cancel")}),I.jsx(ki,{variant:"destructive",onClick:()=>{A(),Oe(!1)},children:n("dialogs:import.confirmDiscard")})]})]})}),I.jsx(sjn,{})]})})}const sdr={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"},adr={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"},udr={connecting:"Verbinde...",connected:"Verbunden",connectedTo:"Verbunden mit {{hostname}}",connectionError:"Verbindungsfehler",saving:"Speichere...",updating:"Aktualisiere...",testing:"Teste...",loadingTraces:"Lade Traces...",loadingTriggers:"Lade Auslöser..."},cdr={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"},ldr={clickNodesToAdd:"Klicken zum Hinzufügen",dragToConnect:"Ziehen zum Verbinden",deleteToRemove:"Löschen zum Entfernen",backspaceDeleteKey:"Rücktaste/Entf-Taste"},ddr={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"},fdr={auto:"Auto",native:"Nativ",stateMachine:"Zustandsautomat"},hdr={newAutomation:"Neue Automatisierung"},pdr={true:"Wahr",false:"Falsch"},gdr={select:"Auswählen...",noOptions:"Keine Optionen gefunden."},bdr={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..."},mdr={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."},wdr={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"},ydr={cmd:"Cmd",ctrl:"Strg",shift:"Umschalt",alt:"Alt",arrowUp:"Pfeil nach oben",arrowDown:"Pfeil nach unten",arrowLeft:"Pfeil nach links",arrowRight:"Pfeil nach rechts"},vdr={useValue:"Wert verwenden"},Edr={buttons:sdr,labels:adr,status:udr,placeholders:cdr,help:ldr,titles:ddr,strategy:fdr,defaults:hdr,boolean:pdr,combobox:gdr,dynamicField:bdr,deviceSelector:mdr,toolbar:wdr,shortcuts:ydr,stateTrigger:vdr},Sdr={simulatingExecution:"Simuliere Ausführung...",showingTraceExecution:"Zeige Trace-Ausführung ({{steps}} Schritte)"},Tdr={simulation:Sdr},Adr={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}}"?'},_dr={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}}"}},xdr={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"}},kdr={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."},Ndr={saveAutomationFirst:"Speichern Sie zuerst die Automatisierung, um Traces anzuzeigen",noTracesFound:"Keine Automatisierungs-Traces gefunden"},Cdr={save:Adr,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:_dr,settings:xdr,error:kdr,traceViewer:Ndr},Idr={failedToCopy:"Kopieren fehlgeschlagen"},Rdr={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"}},Odr={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"},Ldr={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:"},Ddr={addFailed:"Eigenschaft konnte nicht hinzugefügt werden"},Mdr={nameRequired:"Automatisierungsname ist erforderlich",urlTokenRequired:"Bitte geben Sie sowohl URL als auch Token an"},Pdr={staleWarning:"Zeige letztes gültiges YAML - Fehler beheben zum Aktualisieren"},jdr={common:Idr,validation:Rdr,connection:Odr,api:Ldr,properties:Ddr,form:Mdr,import:{fileReadFailed:"Flow konnte nicht importiert werden. Bitte überprüfen Sie das Dateiformat.",parseFailed:"Automatisierungskonfiguration konnte nicht geparst werden"},yaml:Pdr},Fdr={trigger:"Auslöser",condition:"Bedingung",action:"Aktion",delay:"Verzögerung",wait:"Warten auf",set_variables:"Variablen setzen",node:"Knoten",stop:"Stopp"},$dr={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"},Bdr={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') }}"},Udr={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"}},Hdr={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"},zdr={serviceLabel:"Dienst"},Gdr={variableCount_one:"{{count}} Variable",variableCount_other:"{{count}} Variablen"},qdr={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"},Vdr={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."},Wdr={heading:"Dienstdaten"},Kdr={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"},Ydr={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."},Jdr={searchPlaceholder:"Knoten suchen…"},Xdr={types:Fdr,panel:$dr,placeholders:Bdr,triggers:Udr,conditions:Hdr,actions:zdr,variables:Gdr,durationField:qdr,responseVariableField:Vdr,serviceDataFields:Wdr,setVariablesFields:Kdr,wait:Ydr,quickAdd:Jdr},Zdr={noConditions:"Noch keine Bedingungen hinzugefügt",addCondition:"Bedingung hinzufügen"},Qdr={conditionGroupEditor:Zdr},efr={heading:"Trace-Simulator",conditionOverrides:"Bedingungsergebnisse (für Simulation)",random:"Zufällig",true:"Wahr",false:"Falsch",executionPath:"Ausführungspfad"},tfr={trace:efr},nfr={common:Edr,debug:Tdr,dialogs:Cdr,errors:jdr,nodes:Xdr,panels:Qdr,simulator:tfr},rfr={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"},ifr={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"},ofr={connecting:"Connecting...",connected:"Connected",connectedTo:"Connected to {{hostname}}",connectionError:"Connection Error",saving:"Saving...",updating:"Updating...",testing:"Testing...",loadingTraces:"Loading traces...",loadingTriggers:"Loading triggers..."},sfr={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"},afr={clickNodesToAdd:"Click nodes to add",dragToConnect:"Drag to connect",deleteToRemove:"Delete to remove",backspaceDeleteKey:"Backspace/Delete key"},ufr={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"},cfr={auto:"Auto",native:"Native",stateMachine:"State Machine"},lfr={newAutomation:"New Automation"},dfr={true:"True",false:"False"},ffr={select:"Select...",noOptions:"No options found."},hfr={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}}..."},pfr={enterId:"Enter device ID manually",noDevices:"No devices found. Enter device ID manually or check your Home Assistant connection."},gfr={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"}},bfr={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"},mfr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"Arrow Up",arrowDown:"Arrow Down",arrowLeft:"Arrow Left",arrowRight:"Arrow Right"},wfr={useValue:"Use value"},yfr={buttons:rfr,labels:ifr,status:ofr,placeholders:sfr,help:afr,titles:ufr,strategy:cfr,defaults:lfr,boolean:dfr,combobox:ffr,dynamicField:hfr,deviceSelector:pfr,automationSettings:gfr,toolbar:bfr,shortcuts:mfr,stateTrigger:wfr},vfr={simulatingExecution:"Simulating execution...",showingTraceExecution:"Showing trace execution ({{steps}} steps)"},Efr={simulation:vfr},Sfr={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}}"?'},Tfr={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}}"}},Afr={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"}},_fr={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."},xfr={saveAutomationFirst:"Save the automation first to view traces",noTracesFound:"No automation traces found"},kfr={save:Sfr,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:Tfr,settings:Afr,error:_fr,traceViewer:xfr},Nfr={failedToCopy:"Failed to copy"},Cfr={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"}},Ifr={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"},Rfr={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:"},Ofr={addFailed:"Failed to add property"},Lfr={nameRequired:"Automation name is required",urlTokenRequired:"Please provide both URL and token"},Dfr={staleWarning:"Showing last valid YAML - fix errors to update"},Mfr={common:Nfr,validation:Cfr,connection:Ifr,api:Rfr,properties:Ofr,form:Lfr,import:{fileReadFailed:"Failed to import flow. Please check the file format.",parseFailed:"Failed to parse automation configuration"},yaml:Dfr},Pfr={trigger:"Trigger",condition:"Condition",action:"Action",stop:"Stop",delay:"Delay",wait:"Wait for",set_variables:"Set Variables",node:"Node"},jfr={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"},Ffr={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') }}"},$fr={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"}},Bfr={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"},Ufr={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"},Hfr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},zfr={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"},Gfr={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."},qfr={heading:"Service Data"},Vfr={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"},Wfr={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.",branchOnTimeout:"Branch on Timeout",branchOnTimeoutDescription:"Add a condition node after this Wait so you can do one thing if it completed in time, and another if it timed out.",addTimeoutBranch:"Add Timeout Branch"},Kfr={searchPlaceholder:"Search nodes…"},Yfr={types:Pfr,panel:jfr,placeholders:Ffr,triggers:$fr,conditions:Bfr,actions:Ufr,variables:Hfr,durationField:zfr,responseVariableField:Gfr,serviceDataFields:qfr,setVariablesFields:Vfr,wait:Wfr,quickAdd:Kfr},Jfr={noConditions:"No conditions added yet",addCondition:"Add Condition"},Xfr={conditionGroupEditor:Jfr},Zfr={heading:"Trace Simulator",conditionOverrides:"Condition Outcomes (for simulation)",random:"Random",true:"True",false:"False",executionPath:"Execution Path"},Qfr={trace:Zfr},ehr={common:yfr,debug:Efr,dialogs:kfr,errors:Mfr,nodes:Yfr,panels:Xfr,simulator:Qfr},thr={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"},nhr={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"},rhr={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..."},ihr={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"},ohr={clickNodesToAdd:"Cliquez sur les nœuds pour les ajouter",dragToConnect:"Glissez pour connecter",deleteToRemove:"Supprimez pour retirer",backspaceDeleteKey:"Touche Retour arrière/Suppr"},shr={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"},ahr={auto:"Auto",native:"Natif",stateMachine:"Machine à états"},uhr={newAutomation:"Nouvelle automatisation"},chr={true:"Vrai",false:"Faux"},lhr={select:"Sélectionner...",noOptions:"Aucune option trouvée."},dhr={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}}..."},fhr={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."},hhr={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"},phr={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"},ghr={useValue:"Utiliser la valeur"},bhr={buttons:thr,labels:nhr,status:rhr,placeholders:ihr,help:ohr,titles:shr,strategy:ahr,defaults:uhr,boolean:chr,combobox:lhr,dynamicField:dhr,deviceSelector:fhr,toolbar:hhr,shortcuts:phr,stateTrigger:ghr},mhr={simulatingExecution:"Simulation de l'exécution...",showingTraceExecution:"Affichage de l'exécution de la trace ({{steps}} étapes)"},whr={simulation:mhr},yhr={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}}" ?'},vhr={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}}"}},Ehr={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"}},Shr={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."},Thr={saveAutomationFirst:"Enregistrez d'abord l'automatisation pour voir les traces",noTracesFound:"Aucune trace d'automatisation trouvée"},Ahr={save:yhr,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:vhr,settings:Ehr,error:Shr,traceViewer:Thr},_hr={failedToCopy:"Échec de la copie"},xhr={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"}},khr={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"},Nhr={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 :"},Chr={addFailed:"Échec de l'ajout de la propriété"},Ihr={nameRequired:"Le nom de l'automatisation est requis",urlTokenRequired:"Veuillez fournir l'URL et le jeton"},Rhr={staleWarning:"Affichage du dernier YAML valide - corrigez les erreurs pour mettre à jour"},Ohr={common:_hr,validation:xhr,connection:khr,api:Nhr,properties:Chr,form:Ihr,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:Rhr},Lhr={trigger:"Déclencheur",condition:"Condition",action:"Action",delay:"Délai",wait:"Attendre",set_variables:"Définir les variables",node:"Nœud",stop:"Arrêt"},Dhr={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"},Mhr={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') }}"},Phr={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"}},jhr={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"},Fhr={serviceLabel:"Service"},$hr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Bhr={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"},Uhr={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."},Hhr={heading:"Données du service"},zhr={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"},Ghr={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."},qhr={searchPlaceholder:"Rechercher des nœuds…"},Vhr={types:Lhr,panel:Dhr,placeholders:Mhr,triggers:Phr,conditions:jhr,actions:Fhr,variables:$hr,durationField:Bhr,responseVariableField:Uhr,serviceDataFields:Hhr,setVariablesFields:zhr,wait:Ghr,quickAdd:qhr},Whr={noConditions:"Aucune condition ajoutée",addCondition:"Ajouter une condition"},Khr={conditionGroupEditor:Whr},Yhr={heading:"Simulateur de trace",conditionOverrides:"Résultats des conditions (pour simulation)",random:"Aléatoire",true:"Vrai",false:"Faux",executionPath:"Chemin d'exécution"},Jhr={trace:Yhr},Xhr={common:bhr,debug:whr,dialogs:Ahr,errors:Ohr,nodes:Vhr,panels:Khr,simulator:Jhr},Zhr={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"},Qhr={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"},epr={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..."},tpr={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"},npr={clickNodesToAdd:"Clicca sui nodi per aggiungerli",dragToConnect:"Trascina per connettere",deleteToRemove:"Elimina per rimuovere",backspaceDeleteKey:"Tasto Backspace/Canc"},rpr={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"},ipr={auto:"Auto",native:"Nativo",stateMachine:"Macchina a Stati"},opr={newAutomation:"Nuova Automazione"},spr={true:"Vero",false:"Falso"},apr={select:"Seleziona...",noOptions:"Nessuna opzione trovata."},upr={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}}..."},cpr={enterId:"Inserisci ID dispositivo manualmente",noDevices:"Nessun dispositivo trovato. Inserisci l'ID dispositivo manualmente o verifica la connessione a Home Assistant."},lpr={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"},dpr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maiusc",alt:"Alt",arrowUp:"Freccia su",arrowDown:"Freccia giù",arrowLeft:"Freccia sinistra",arrowRight:"Freccia destra"},fpr={useValue:"Usa valore"},hpr={buttons:Zhr,labels:Qhr,status:epr,placeholders:tpr,help:npr,titles:rpr,strategy:ipr,defaults:opr,boolean:spr,combobox:apr,dynamicField:upr,deviceSelector:cpr,toolbar:lpr,shortcuts:dpr,stateTrigger:fpr},ppr={simulatingExecution:"Simulazione esecuzione...",showingTraceExecution:"Mostrando esecuzione traccia ({{steps}} passi)"},gpr={simulation:ppr},bpr={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}}"?'},mpr={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}}"}},wpr={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"}},ypr={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."},vpr={saveAutomationFirst:"Salva prima l'automazione per visualizzare le tracce",noTracesFound:"Nessuna traccia di automazione trovata"},Epr={save:bpr,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:mpr,settings:wpr,error:ypr,traceViewer:vpr},Spr={failedToCopy:"Copia fallita"},Tpr={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"}},Apr={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"},_pr={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:"},xpr={addFailed:"Impossibile aggiungere la proprietà"},kpr={nameRequired:"Il nome dell'automazione è obbligatorio",urlTokenRequired:"Fornisci sia URL che token"},Npr={staleWarning:"Mostrando l'ultimo YAML valido - correggi gli errori per aggiornare"},Cpr={common:Spr,validation:Tpr,connection:Apr,api:_pr,properties:xpr,form:kpr,import:{fileReadFailed:"Impossibile importare il flow. Verifica il formato del file.",parseFailed:"Impossibile analizzare la configurazione dell'automazione"},yaml:Npr},Ipr={trigger:"Trigger",condition:"Condizione",action:"Azione",delay:"Ritardo",wait:"Attendi",set_variables:"Imposta Variabili",node:"Nodo",stop:"Stop"},Rpr={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"},Opr={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') }}"},Lpr={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"}},Dpr={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"},Mpr={serviceLabel:"Servizio"},Ppr={variableCount_one:"{{count}} variabile",variableCount_other:"{{count}} variabili"},jpr={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"},Fpr={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."},$pr={heading:"Dati Servizio"},Bpr={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"},Upr={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."},Hpr={searchPlaceholder:"Cerca nodi…"},zpr={types:Ipr,panel:Rpr,placeholders:Opr,triggers:Lpr,conditions:Dpr,actions:Mpr,variables:Ppr,durationField:jpr,responseVariableField:Fpr,serviceDataFields:$pr,setVariablesFields:Bpr,wait:Upr,quickAdd:Hpr},Gpr={noConditions:"Nessuna condizione aggiunta",addCondition:"Aggiungi Condizione"},qpr={conditionGroupEditor:Gpr},Vpr={heading:"Simulatore Traccia",conditionOverrides:"Esiti Condizioni (per simulazione)",random:"Casuale",true:"Vero",false:"Falso",executionPath:"Percorso Esecuzione"},Wpr={trace:Vpr},Kpr={common:hpr,debug:gpr,dialogs:Epr,errors:Cpr,nodes:zpr,panels:qpr,simulator:Wpr},Ypr={save:"保存",saveAsCopy:"另存为副本",cancel:"取消",close:"关闭",delete:"删除",update:"更新",refresh:"刷新",copy:"复制",use:"使用",add:"添加",addTrigger:"添加触发器",openAutomation:"打开自动化",newAutomation:"新建自动化",importJson:"从JSON导入",importYaml:"从YAML导入",testConnection:"测试连接",disconnect:"断开连接"},Jpr={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:"合并来源"},Xpr={connecting:"正在连接...",connected:"已连接",connectedTo:"已连接到 {{hostname}}",connectionError:"连接错误",saving:"正在保存...",updating:"正在更新...",testing:"正在测试...",loadingTraces:"正在加载追踪...",loadingTriggers:"正在加载触发器..."},Zpr={automationName:"自动化名称",optionalDisplayName:"可选显示名称",optionalUniqueId:"可选唯一ID",enterAutomationName:"输入自动化名称...",describeAutomation:"描述这个自动化的功能...",searchAutomations:"搜索自动化...",selectTrace:"选择追踪...",addNodesForYaml:"# 添加节点以查看YAML输出",selectDevice:"选择设备...",selectTriggerType:"选择触发器类型...",selectEntity:"选择实体...",selectEntities:"选择实体...",duration:"00:05:00",enterTemplate:"输入Jinja2模板...",jsonExample:'{ "键": "值" }',none:"无"},Qpr={clickNodesToAdd:"点击节点以添加",dragToConnect:"拖动以连接",deleteToRemove:"删除以移除",backspaceDeleteKey:"退格键/删除键"},egr={appName:"C.A.F.E.",appFullName:"复杂自动化流程编辑器",settings:"设置",updateAutomation:"在Home Assistant中更新自动化",saveAutomation:"将自动化保存到Home Assistant",clearAutomation:"清除当前自动化",exportJson:"导出流程为JSON",clickToConfigure:"点击配置Home Assistant连接",openDetached:"在独立窗口打开",removeSource:"从合并工作区移除来源",backToHA:"返回 Home Assistant"},tgr={auto:"自动",native:"原生",stateMachine:"状态机"},ngr={newAutomation:"新建自动化"},rgr={true:"真",false:"假"},igr={select:"选择...",noOptions:"未找到选项。"},ogr={enabled:"已启用",disabled:"已禁用",selectItems:"选择项目...",itemsSelected:"已选择 {{count}} 项",selectEntities:"选择实体...",selectEntity:"选择实体...",selectZone:"选择区域...",formatHMS:"格式: HH:MM:SS",enterValue:"输入 {{name}}..."},sgr={enterId:"手动输入设备ID",noDevices:"未找到设备。请手动输入设备ID或检查您的Home Assistant连接。"},agr={runAction:"运行操作",cut:"剪切",copy:"复制",paste:"粘贴",duplicate:"复制",toggleEnabled:"切换启用/禁用",enable:"启用",disable:"禁用",disconnect:"断开连接",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignTop:"顶端对齐",alignBottom:"底端对齐",deleteNode:"删除节点",duplicateNode:"复制节点",selectAll:"全选",undo:"撤销",redo:"重做"},ugr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"向上箭头",arrowDown:"向下箭头",arrowLeft:"向左箭头",arrowRight:"向右箭头"},cgr={useValue:"使用值"},lgr={buttons:Ypr,labels:Jpr,status:Xpr,placeholders:Zpr,help:Qpr,titles:egr,strategy:tgr,defaults:ngr,boolean:rgr,combobox:igr,dynamicField:ogr,deviceSelector:sgr,toolbar:agr,shortcuts:ugr,stateTrigger:cgr},dgr={simulatingExecution:"正在模拟执行...",showingTraceExecution:"显示追踪执行({{steps}} 步)"},fgr={simulation:dgr},hgr={title:"保存自动化",titleUpdate:"更新自动化",description:"将此自动化保存到Home Assistant",descriptionUpdate:"在Home Assistant中更新此自动化",nameLabel:"自动化名称",descriptionLabel:"描述(可选)",nameConflict:'名称已存在。使用:"{{suggestedName}}"?'},pgr={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}}"}},ggr={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:"连接失败"}},bgr={title:"意外错误",description:"应用程序发生意外错误。请查看以下详情。",refreshPrompt:"请尝试刷新页面。如果问题仍然存在,请考虑在我们的GitHub仓库上报告问题。"},mgr={saveAutomationFirst:"先保存自动化以查看追踪",noTracesFound:"未找到自动化追踪"},wgr={save:hgr,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:pgr,settings:ggr,error:bgr,traceViewer:mgr},ygr={failedToCopy:"复制失败"},vgr={emptyAutomation:"无法保存空自动化。请至少添加一个触发器和一个动作节点。",noTrigger:"自动化必须至少有一个触发器节点。请从节点面板添加触发器。",noAction:"自动化必须至少有一个动作节点。请从节点面板添加动作。",validationFailed:"验证失败:{{errors}}",transpileFailed:"将流程转译为自动化配置失败",noAutomationId:"未设置自动化ID。使用 saveAutomation() 创建新自动化。",node:{duplicateId:"ID 已被使用 — 在自动化中必须唯一"}},Egr={noConnection:"没有可用的Home Assistant连接",noAuth:"未配置REST API认证",authFailed:"令牌无效 - 认证失败",corsError:"无法连接 - 检查URL和CORS设置",connectionLost:"连接丢失",reconnectFailed:"重新连接失败",notConnected:"Home Assistant未连接",noMethod:"未找到可用的Home Assistant连接方法",unexpectedResponse:"意外的API响应",connectionFailed:"连接失败"},Sgr={httpError:"HTTP {{status}}:{{statusText}}",createFailed:"创建自动化失败:{{message}}",updateFailed:"更新自动化失败:{{message}}",deleteFailed:"删除自动化失败:{{message}}",importFailed:"导入自动化失败:{{message}}",unknownError:"未知错误",transpileFailed:"转译失败",loadDeviceTriggersFailed:"加载设备触发器失败:",loadTriggerCapabilitiesFailed:"加载触发器功能失败:"},Tgr={addFailed:"添加属性失败"},Agr={nameRequired:"自动化名称为必填项",urlTokenRequired:"请提供URL和令牌"},_gr={staleWarning:"显示上次有效的YAML - 修复错误以更新"},xgr={common:ygr,validation:vgr,connection:Egr,api:Sgr,properties:Tgr,form:Agr,import:{fileReadFailed:"导入流程失败。请检查文件格式。",parseFailed:"解析自动化配置失败"},yaml:_gr},kgr={trigger:"触发器",condition:"条件",action:"动作",delay:"延迟",wait:"等待",set_variables:"设置变量",node:"节点",stop:"停止"},Ngr={selectNode:"选择节点以编辑其属性",properties:"属性",nodeId:"节点ID:{{id}}",additionalProperties:"附加属性",addProperty:"添加属性",propertyName:"属性名称",type:"类型",value:"值"},Cgr={customProperty:"例如 my_custom_property",jsonArray:'["项目1", "项目2"]',number:"123",enterValue:"输入值",jsonObject:"JSON对象",enterType:"输入 {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Igr={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"}},Rgr={conditionLabel:"条件类型",types:{state:"状态",numeric_state:"数值状态",time:"时间",sun:"太阳",zone:"区域",template:"模板",device:"设备",trigger:"触发器",and:"与(全部)",or:"或(任一)",not:"非"},nestedConditions:"嵌套条件",yes:"是",no:"否"},Ogr={serviceLabel:"服务"},Lgr={variableCount_one:"{{count}} 个变量",variableCount_other:"{{count}} 个变量"},Dgr={label:"持续时间",description:"以小时、分钟、秒、毫秒指定持续时间",string:"字符串",object:"对象",placeholder:"00:00:05.500",hours:"小时",minutes:"分钟",seconds:"秒",milliseconds:"毫秒"},Mgr={label:"响应变量",optionalDescription:"此动作可以返回响应。启用以使用响应并输入将保存响应的变量名称。",requiredDescription:"此动作返回响应。输入将保存响应的变量名称。",useResponseVariable:"使用响应变量",placeholder:"例如 my_response",currentNodeWarning:"'current_node' 是状态机策略的保留名称。使用此名称可能导致意外行为。"},Pgr={heading:"服务数据"},jgr={empty:"未定义变量。点击下方按钮添加一个。",variableLabel:"变量 {{index}}",name:"名称",namePlaceholder:"variable_name",value:"值",valueDescription:"值或Jinja2模板表达式",valuePlaceholder:"值或 {{ template }}",addVariable:"添加变量"},Fgr={waitsForNTrigger_one:"等待 {{count}} 个触发器",waitsForNTrigger_other:"等待 {{count}} 个触发器",timeoutLabel:"超时:",waitType:"等待类型",waitTypeDescription:"选择要等待的内容。",types:{template:"模板",triggers:"触发器"},waitTemplate:"等待模板",waitTemplateDescription:"必须为真才能继续的模板条件",triggersHeading:"触发器",triggerLabel:"触发器 {{index}}:{{platform}}",triggerPlatformLabel:"平台",addTrigger:"添加触发器",timeoutDescription:"继续前的最大等待时间。留空则无限等待。",continueOnTimeout:"超时后继续",continueOnTimeoutDescription:"如果启用,超时后自动化继续。如果禁用,自动化停止。"},$gr={searchPlaceholder:"搜索节点…"},Bgr={types:kgr,panel:Ngr,placeholders:Cgr,triggers:Igr,conditions:Rgr,actions:Ogr,variables:Lgr,durationField:Dgr,responseVariableField:Mgr,serviceDataFields:Pgr,setVariablesFields:jgr,wait:Fgr,quickAdd:$gr},Ugr={noConditions:"尚未添加条件",addCondition:"添加条件"},Hgr={conditionGroupEditor:Ugr},zgr={heading:"追踪模拟器",conditionOverrides:"条件结果(用于模拟)",random:"随机",true:"真",false:"假",executionPath:"执行路径"},Ggr={trace:zgr},qgr={common:lgr,debug:fgr,dialogs:wgr,errors:xgr,nodes:Bgr,panels:Hgr,simulator:Ggr},Vgr="common",Wgr={de:nfr,en:ehr,fr:Xhr,it:Kpr,"zh-Hans":qgr};Hh.use(TRn).init({resources:Wgr,lng:"en",fallbackLng:"en",defaultNS:Vgr,ns:["common","dialogs","nodes","errors","debug","panels","simulator"],interpolation:{escapeValue:!1},returnNull:!1});function Kgr(){try{return window.parent!==window&&"hass"in window.parent}catch{return!1}}function Ygr(){try{const n=window.parent.hass;if(n&&typeof n=="object"&&"states"in n)return n}catch{}}function Jgr(){const n=document.getElementById("root");if(!n){Ef.error("No #root element found");return}const i=Kgr();if(Ef.info("C.A.F.E. starting",{inHaIframe:i}),i){Ef.debug("Running in HA iframe mode");const s=foe.createRoot(n),u=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(yMt,{i18n:Hh,children:I.jsx(XFt,{externalHass:d,children:I.jsx(Z$t,{})})})}))};window.setHass=d=>{u(d)},u(Ygr())}else Ef.debug("Running in standalone mode"),foe.createRoot(n).render(I.jsx(Hn.StrictMode,{children:I.jsx(yMt,{i18n:Hh,children:I.jsx(XFt,{forceMode:"remote",children:I.jsx(Z$t,{})})})}))}Jgr();
//# sourceMappingURL=main-B-MXbKCR.js.map