diff --git a/assets/CustomJsonLdSerializer-CsefpH21.js b/assets/CustomJsonLdSerializer-B2oQjduZ.js similarity index 99% rename from assets/CustomJsonLdSerializer-CsefpH21.js rename to assets/CustomJsonLdSerializer-B2oQjduZ.js index 0c943ff..ef2530f 100644 --- a/assets/CustomJsonLdSerializer-CsefpH21.js +++ b/assets/CustomJsonLdSerializer-B2oQjduZ.js @@ -1,2 +1,2 @@ -import{S as hi}from"./index-BOvYCoiN.js";import{a as Ye,e as lt,b as Ie,d as $e,s as bi}from"./main-BG8rCUrd.js";var un={exports:{}},vt={exports:{}},H={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},dn={exports:{}};(function(e){const t=Ie,{kResistStopPropagation:r,SymbolDispose:i}=H,l=globalThis.AbortSignal||Ye().AbortSignal,s=globalThis.AbortController||Ye().AbortController,d=Object.getPrototypeOf(async function(){}).constructor,g=globalThis.Blob||t.Blob,R=typeof g<"u"?function(u){return u instanceof g}:function(u){return!1},h=(c,u)=>{if(c!==void 0&&(c===null||typeof c!="object"||!("aborted"in c)))throw new ERR_INVALID_ARG_TYPE(u,"AbortSignal",c)},_=(c,u)=>{if(typeof c!="function")throw new ERR_INVALID_ARG_TYPE(u,"Function",c)};class v extends Error{constructor(u){if(!Array.isArray(u))throw new TypeError(`Expected input to be an Array, got ${typeof u}`);let m="";for(let b=0;b{if(c!==void 0&&(c===null||typeof c!="object"||!("aborted"in c)))throw new ERR_INVALID_ARG_TYPE(u,"AbortSignal",c)},_=(c,u)=>{if(typeof c!="function")throw new ERR_INVALID_ARG_TYPE(u,"Function",c)};class v extends Error{constructor(u){if(!Array.isArray(u))throw new TypeError(`Expected input to be an Array, got ${typeof u}`);let m="";for(let b=0;b{c=b,u=A}),resolve:c,reject:u}},promisify(c){return new Promise((u,m)=>{c((b,...A)=>b?m(b):u(...A))})},debuglog(){return function(){}},format(c,...u){return c.replace(/%([sdifj])/g,function(...[m,b]){const A=u.shift();return b==="f"?A.toFixed(6):b==="j"?JSON.stringify(A):b==="s"&&typeof A=="object"?`${A.constructor!==Object?A.constructor.name:""} {}`.trim():A.toString()})},inspect(c){switch(typeof c){case"string":if(c.includes("'"))if(c.includes('"')){if(!c.includes("`")&&!c.includes("${"))return`\`${c}\``}else return`"${c}"`;return`'${c}'`;case"number":return isNaN(c)?"NaN":Object.is(c,-0)?String(c):c;case"bigint":return`${String(c)}n`;case"boolean":case"undefined":return String(c);case"object":return"{}"}},types:{isAsyncFunction(c){return c instanceof d},isArrayBufferView(c){return ArrayBuffer.isView(c)}},isBlob:R,deprecate(c,u){return c},addAbortListener:lt.addAbortListener||function(u,m){if(u===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",u);h(u,"signal"),_(m,"listener");let b;return u.aborted?queueMicrotask(()=>m()):(u.addEventListener("abort",m,{__proto__:null,once:!0,[r]:!0}),b=()=>{u.removeEventListener("abort",m)}),{__proto__:null,[i](){var A;(A=b)===null||A===void 0||A()}}},AbortSignalAny:l.any||function(u){if(u.length===1)return u[0];const m=new s,b=()=>m.abort();return u.forEach(A=>{h(A,"signals"),A.addEventListener("abort",b,{once:!0})}),m.signal.addEventListener("abort",()=>{u.forEach(A=>A.removeEventListener("abort",b))},{once:!0}),m.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(dn);var te=dn.exports,er={};const{format:pi,inspect:nt,AggregateError:_i}=te,yi=globalThis.AggregateError||_i,wi=Symbol("kIsNodeError"),gi=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Si=/^([A-Z][a-z0-9]*)+$/,Ei="__node_internal_",at={};function ve(e,t){if(!e)throw new at.ERR_INTERNAL_ASSERTION(t)}function Rr(e){let t="",r=e.length;const i=e[0]==="-"?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function Ri(e,t,r){if(typeof t=="function")return ve(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return ve(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),r.length===0?t:pi(t,...r)}function Q(e,t,r){r||(r=Error);class i extends r{constructor(...s){super(Ri(e,t,s))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[wi]=!0,at[e]=i}function Ar(e){const t=Ei+e.name;return Object.defineProperty(e,"name",{value:t}),e}function Ai(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new yi([t,e],t.message);return r.code=t.code,r}return e||t}let mi=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new at.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};Q("ERR_ASSERTION","%s",Error);Q("ERR_INVALID_ARG_TYPE",(e,t,r)=>{ve(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";e.endsWith(" argument")?i+=`${e} `:i+=`"${e}" ${e.includes(".")?"property":"argument"} `,i+="must be ";const l=[],s=[],d=[];for(const R of t)ve(typeof R=="string","All expected entries have to be of type string"),gi.includes(R)?l.push(R.toLowerCase()):Si.test(R)?s.push(R):(ve(R!=="object",'The value "object" should be written as "Object"'),d.push(R));if(s.length>0){const R=l.indexOf("object");R!==-1&&(l.splice(l,R,1),s.push("Object"))}if(l.length>0){switch(l.length){case 1:i+=`of type ${l[0]}`;break;case 2:i+=`one of type ${l[0]} or ${l[1]}`;break;default:{const R=l.pop();i+=`one of type ${l.join(", ")}, or ${R}`}}(s.length>0||d.length>0)&&(i+=" or ")}if(s.length>0){switch(s.length){case 1:i+=`an instance of ${s[0]}`;break;case 2:i+=`an instance of ${s[0]} or ${s[1]}`;break;default:{const R=s.pop();i+=`an instance of ${s.join(", ")}, or ${R}`}}d.length>0&&(i+=" or ")}switch(d.length){case 0:break;case 1:d[0].toLowerCase()!==d[0]&&(i+="an "),i+=`${d[0]}`;break;case 2:i+=`one of ${d[0]} or ${d[1]}`;break;default:{const R=d.pop();i+=`one of ${d.join(", ")}, or ${R}`}}if(r==null)i+=`. Received ${r}`;else if(typeof r=="function"&&r.name)i+=`. Received function ${r.name}`;else if(typeof r=="object"){var g;if((g=r.constructor)!==null&&g!==void 0&&g.name)i+=`. Received an instance of ${r.constructor.name}`;else{const R=nt(r,{depth:-1});i+=`. Received ${R}`}}else{let R=nt(r,{colors:!1});R.length>25&&(R=`${R.slice(0,25)}...`),i+=`. Received type ${typeof r} (${R})`}return i},TypeError);Q("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let i=nt(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${i}`},TypeError);Q("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var i;const l=r!=null&&(i=r.constructor)!==null&&i!==void 0&&i.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${l}.`},TypeError);Q("ERR_MISSING_ARGS",(...e)=>{ve(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(i=>`"${i}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const i=e.pop();t+=`The ${e.join(", ")}, and ${i} arguments`}break}return`${t} must be specified`},TypeError);Q("ERR_OUT_OF_RANGE",(e,t,r)=>{ve(t,'Missing "range" argument');let i;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Rr(String(r)):typeof r=="bigint"?(i=String(r),(r>2n**32n||r<-(2n**32n))&&(i=Rr(i)),i+="n"):i=nt(r),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`},RangeError);Q("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Q("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Q("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Q("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Q("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Q("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Q("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Q("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Q("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Q("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Q("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var ie={AbortError:mi,aggregateTwoErrors:Ar(Ai),hideStackFrames:Ar,codes:at};const{ArrayIsArray:tr,ArrayPrototypeIncludes:cn,ArrayPrototypeJoin:hn,ArrayPrototypeMap:vi,NumberIsInteger:rr,NumberIsNaN:Ti,NumberMAX_SAFE_INTEGER:Ii,NumberMIN_SAFE_INTEGER:$i,NumberParseInt:Ni,ObjectPrototypeHasOwnProperty:Di,RegExpPrototypeExec:bn,String:Mi,StringPrototypeToUpperCase:ki,StringPrototypeTrim:Pi}=H,{hideStackFrames:ae,codes:{ERR_SOCKET_BAD_PORT:Li,ERR_INVALID_ARG_TYPE:ee,ERR_INVALID_ARG_VALUE:Fe,ERR_OUT_OF_RANGE:Te,ERR_UNKNOWN_SIGNAL:mr}}=ie,{normalizeEncoding:Oi}=te,{isAsyncFunction:xi,isArrayBufferView:Wi}=te.types,vr={};function Ci(e){return e===(e|0)}function Fi(e){return e===e>>>0}const ji=/^[0-7]+$/,Ui="must be a 32-bit unsigned integer or an octal string";function Bi(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(bn(ji,e)===null)throw new Fe(t,e,Ui);e=Ni(e,8)}return pn(e,t),e}const Gi=ae((e,t,r=$i,i=Ii)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!rr(e))throw new Te(t,"an integer",e);if(ei)throw new Te(t,`>= ${r} && <= ${i}`,e)}),Vi=ae((e,t,r=-2147483648,i=2147483647)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!rr(e))throw new Te(t,"an integer",e);if(ei)throw new Te(t,`>= ${r} && <= ${i}`,e)}),pn=ae((e,t,r=!1)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!rr(e))throw new Te(t,"an integer",e);const i=r?1:0,l=4294967295;if(el)throw new Te(t,`>= ${i} && <= ${l}`,e)});function nr(e,t){if(typeof e!="string")throw new ee(t,"string",e)}function Hi(e,t,r=void 0,i){if(typeof e!="number")throw new ee(t,"number",e);if(r!=null&&ei||(r!=null||i!=null)&&Ti(e))throw new Te(t,`${r!=null?`>= ${r}`:""}${r!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,e)}const qi=ae((e,t,r)=>{if(!cn(r,e)){const l="must be one of: "+hn(vi(r,s=>typeof s=="string"?`'${s}'`:Mi(s)),", ");throw new Fe(t,e,l)}});function _n(e,t){if(typeof e!="boolean")throw new ee(t,"boolean",e)}function Tt(e,t,r){return e==null||!Di(e,t)?r:e[t]}const Yi=ae((e,t,r=null)=>{const i=Tt(r,"allowArray",!1),l=Tt(r,"allowFunction",!1);if(!Tt(r,"nullable",!1)&&e===null||!i&&tr(e)||typeof e!="object"&&(!l||typeof e!="function"))throw new ee(t,"Object",e)}),Ki=ae((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new ee(t,"a dictionary",e)}),st=ae((e,t,r=0)=>{if(!tr(e))throw new ee(t,"Array",e);if(e.length{if(!Wi(e))throw new ee(t,["Buffer","TypedArray","DataView"],e)});function eo(e,t){const r=Oi(t),i=e.length;if(r==="hex"&&i%2!==0)throw new Fe("encoding",t,`is invalid for data of length ${i}`)}function to(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&Pi(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new Li(t,e,r);return e|0}const yn=ae((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new ee(t,"AbortSignal",e)}),ro=ae((e,t)=>{if(typeof e!="function")throw new ee(t,"Function",e)}),no=ae((e,t)=>{if(typeof e!="function"||xi(e))throw new ee(t,"Function",e)}),io=ae((e,t)=>{if(e!==void 0)throw new ee(t,"undefined",e)});function oo(e,t,r){if(!cn(r,e))throw new ee(t,`('${hn(r,"|")}')`,e)}const lo=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Tr(e,t){if(typeof e>"u"||!bn(lo,e))throw new Fe(t,e,'must be an array or string of format "; rel=preload; as=style"')}function ao(e){if(typeof e=="string")return Tr(e,"hints"),e;if(tr(e)){const t=e.length;let r="";if(t===0)return r;for(let i=0;i; rel=preload; as=style"')}var Ke={isInt32:Ci,isUint32:Fi,parseFileMode:Bi,validateArray:st,validateStringArray:zi,validateBooleanArray:Ji,validateAbortSignalArray:Xi,validateBoolean:_n,validateBuffer:Zi,validateDictionary:Ki,validateEncoding:eo,validateFunction:ro,validateInt32:Vi,validateInteger:Gi,validateNumber:Hi,validateObject:Yi,validateOneOf:qi,validatePlainFunction:no,validatePort:to,validateSignalName:Qi,validateString:nr,validateUint32:pn,validateUndefined:io,validateUnion:oo,validateAbortSignal:yn,validateLinkHeaderValue:ao},ir={exports:{}};const{SymbolAsyncIterator:Ir,SymbolIterator:$r,SymbolFor:Ne}=H,wn=Ne("nodejs.stream.destroyed"),gn=Ne("nodejs.stream.errored"),Gt=Ne("nodejs.stream.readable"),Vt=Ne("nodejs.stream.writable"),Sn=Ne("nodejs.stream.disturbed"),so=Ne("nodejs.webstream.isClosedPromise"),fo=Ne("nodejs.webstream.controllerErrorFunction");function ft(e,t=!1){var r;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((r=e._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!e._writableState||e._readableState))}function ut(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function uo(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function de(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function En(e){return!!(e&&!de(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function Rn(e){return!!(e&&!de(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function An(e){return!!(e&&!de(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function co(e){return En(e)||Rn(e)||An(e)}function ho(e,t){return e==null?!1:t===!0?typeof e[Ir]=="function":t===!1?typeof e[$r]=="function":typeof e[Ir]=="function"||typeof e[$r]=="function"}function dt(e){if(!de(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!!(e.destroyed||e[wn]||i!=null&&i.destroyed)}function mn(e){if(!ut(e))return null;if(e.writableEnded===!0)return!0;const t=e._writableState;return t!=null&&t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function bo(e,t){if(!ut(e))return null;if(e.writableFinished===!0)return!0;const r=e._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.finished)!="boolean"?null:!!(r.finished||t===!1&&r.ended===!0&&r.length===0)}function po(e){if(!ft(e))return null;if(e.readableEnded===!0)return!0;const t=e._readableState;return!t||t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function vn(e,t){if(!ft(e))return null;const r=e._readableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.endEmitted)!="boolean"?null:!!(r.endEmitted||t===!1&&r.ended===!0&&r.length===0)}function Tn(e){return e&&e[Gt]!=null?e[Gt]:typeof(e==null?void 0:e.readable)!="boolean"?null:dt(e)?!1:ft(e)&&e.readable&&!vn(e)}function In(e){return e&&e[Vt]!=null?e[Vt]:typeof(e==null?void 0:e.writable)!="boolean"?null:dt(e)?!1:ut(e)&&e.writable&&!mn(e)}function _o(e,t){return de(e)?dt(e)?!0:!((t==null?void 0:t.readable)!==!1&&Tn(e)||(t==null?void 0:t.writable)!==!1&&In(e)):null}function yo(e){var t,r;return de(e)?e.writableErrored?e.writableErrored:(t=(r=e._writableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function wo(e){var t,r;return de(e)?e.readableErrored?e.readableErrored:(t=(r=e._readableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function go(e){if(!de(e))return null;if(typeof e.closed=="boolean")return e.closed;const t=e._writableState,r=e._readableState;return typeof(t==null?void 0:t.closed)=="boolean"||typeof(r==null?void 0:r.closed)=="boolean"?(t==null?void 0:t.closed)||(r==null?void 0:r.closed):typeof e._closed=="boolean"&&$n(e)?e._closed:null}function $n(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function Nn(e){return typeof e._sent100=="boolean"&&$n(e)}function So(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function Eo(e){if(!de(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!i&&Nn(e)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function Ro(e){var t;return!!(e&&((t=e[Sn])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function Ao(e){var t,r,i,l,s,d,g,R,h,_;return!!(e&&((t=(r=(i=(l=(s=(d=e[gn])!==null&&d!==void 0?d:e.readableErrored)!==null&&s!==void 0?s:e.writableErrored)!==null&&l!==void 0?l:(g=e._readableState)===null||g===void 0?void 0:g.errorEmitted)!==null&&i!==void 0?i:(R=e._writableState)===null||R===void 0?void 0:R.errorEmitted)!==null&&r!==void 0?r:(h=e._readableState)===null||h===void 0?void 0:h.errored)!==null&&t!==void 0?t:!((_=e._writableState)===null||_===void 0)&&_.errored))}var ye={isDestroyed:dt,kIsDestroyed:wn,isDisturbed:Ro,kIsDisturbed:Sn,isErrored:Ao,kIsErrored:gn,isReadable:Tn,kIsReadable:Gt,kIsClosedPromise:so,kControllerErrorFunction:fo,kIsWritable:Vt,isClosed:go,isDuplexNodeStream:uo,isFinished:_o,isIterable:ho,isReadableNodeStream:ft,isReadableStream:En,isReadableEnded:po,isReadableFinished:vn,isReadableErrored:wo,isNodeStream:de,isWebStream:co,isWritable:In,isWritableNodeStream:ut,isWritableStream:Rn,isWritableEnded:mn,isWritableFinished:bo,isWritableErrored:yo,isServerRequest:So,isServerResponse:Nn,willEmitClose:Eo,isTransformStream:An};const ge=$e,{AbortError:Dn,codes:mo}=ie,{ERR_INVALID_ARG_TYPE:vo,ERR_STREAM_PREMATURE_CLOSE:Nr}=mo,{kEmptyObject:Ht,once:qt}=te,{validateAbortSignal:To,validateFunction:Io,validateObject:$o,validateBoolean:No}=Ke,{Promise:Do,PromisePrototypeThen:Mo,SymbolDispose:Mn}=H,{isClosed:ko,isReadable:Dr,isReadableNodeStream:It,isReadableStream:Po,isReadableFinished:Mr,isReadableErrored:kr,isWritable:Pr,isWritableNodeStream:Lr,isWritableStream:Lo,isWritableFinished:Or,isWritableErrored:xr,isNodeStream:Oo,willEmitClose:xo,kIsClosedPromise:Wo}=ye;let We;function Co(e){return e.setHeader&&typeof e.abort=="function"}const Yt=()=>{};function kn(e,t,r){var i,l;if(arguments.length===2?(r=t,t=Ht):t==null?t=Ht:$o(t,"options"),Io(r,"callback"),To(t.signal,"options.signal"),r=qt(r),Po(e)||Lo(e))return Fo(e,t,r);if(!Oo(e))throw new vo("stream",["ReadableStream","WritableStream","Stream"],e);const s=(i=t.readable)!==null&&i!==void 0?i:It(e),d=(l=t.writable)!==null&&l!==void 0?l:Lr(e),g=e._writableState,R=e._readableState,h=()=>{e.writable||c()};let _=xo(e)&&It(e)===s&&Lr(e)===d,v=Or(e,!1);const c=()=>{v=!0,e.destroyed&&(_=!1),!(_&&(!e.readable||s))&&(!s||u)&&r.call(e)};let u=Mr(e,!1);const m=()=>{u=!0,e.destroyed&&(_=!1),!(_&&(!e.writable||d))&&(!d||v)&&r.call(e)},b=P=>{r.call(e,P)};let A=ko(e);const k=()=>{A=!0;const P=xr(e)||kr(e);if(P&&typeof P!="boolean")return r.call(e,P);if(s&&!u&&It(e,!0)&&!Mr(e,!1))return r.call(e,new Nr);if(d&&!v&&!Or(e,!1))return r.call(e,new Nr);r.call(e)},M=()=>{A=!0;const P=xr(e)||kr(e);if(P&&typeof P!="boolean")return r.call(e,P);r.call(e)},y=()=>{e.req.on("finish",c)};Co(e)?(e.on("complete",c),_||e.on("abort",k),e.req?y():e.on("request",y)):d&&!g&&(e.on("end",h),e.on("close",h)),!_&&typeof e.aborted=="boolean"&&e.on("aborted",k),e.on("end",m),e.on("finish",c),t.error!==!1&&e.on("error",b),e.on("close",k),A?ge.nextTick(k):g!=null&&g.errorEmitted||R!=null&&R.errorEmitted?_||ge.nextTick(M):(!s&&(!_||Dr(e))&&(v||Pr(e)===!1)||!d&&(!_||Pr(e))&&(u||Dr(e)===!1)||R&&e.req&&e.aborted)&&ge.nextTick(M);const j=()=>{r=Yt,e.removeListener("aborted",k),e.removeListener("complete",c),e.removeListener("abort",k),e.removeListener("request",y),e.req&&e.req.removeListener("finish",c),e.removeListener("end",h),e.removeListener("close",h),e.removeListener("finish",c),e.removeListener("end",m),e.removeListener("error",b),e.removeListener("close",k)};if(t.signal&&!A){const P=()=>{const J=r;j(),J.call(e,new Dn(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)ge.nextTick(P);else{We=We||te.addAbortListener;const J=We(t.signal,P),oe=r;r=qt((...B)=>{J[Mn](),oe.apply(e,B)})}}return j}function Fo(e,t,r){let i=!1,l=Yt;if(t.signal)if(l=()=>{i=!0,r.call(e,new Dn(void 0,{cause:t.signal.reason}))},t.signal.aborted)ge.nextTick(l);else{We=We||te.addAbortListener;const d=We(t.signal,l),g=r;r=qt((...R)=>{d[Mn](),g.apply(e,R)})}const s=(...d)=>{i||ge.nextTick(()=>r.apply(e,d))};return Mo(e[Wo].promise,s,s),Yt}function jo(e,t){var r;let i=!1;return t===null&&(t=Ht),(r=t)!==null&&r!==void 0&&r.cleanup&&(No(t.cleanup,"cleanup"),i=t.cleanup),new Do((l,s)=>{const d=kn(e,t,g=>{i&&d(),g?s(g):l()})})}ir.exports=kn;ir.exports.finished=jo;var Se=ir.exports;const fe=$e,{aggregateTwoErrors:Uo,codes:{ERR_MULTIPLE_CALLBACK:Bo},AbortError:Go}=ie,{Symbol:Pn}=H,{kIsDestroyed:Vo,isDestroyed:Ho,isFinished:qo,isServerRequest:Yo}=ye,Ln=Pn("kDestroy"),Kt=Pn("kConstruct");function On(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function Ko(e,t){const r=this._readableState,i=this._writableState,l=i||r;return i!=null&&i.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(On(e,i,r),i&&(i.destroyed=!0),r&&(r.destroyed=!0),l.constructed?Wr(this,e,t):this.once(Ln,function(s){Wr(this,Uo(s,e),t)}),this)}function Wr(e,t,r){let i=!1;function l(s){if(i)return;i=!0;const d=e._readableState,g=e._writableState;On(s,g,d),g&&(g.closed=!0),d&&(d.closed=!0),typeof r=="function"&&r(s),s?fe.nextTick(zo,e,s):fe.nextTick(xn,e)}try{e._destroy(t||null,l)}catch(s){l(s)}}function zo(e,t){zt(e,t),xn(e)}function xn(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function zt(e,t){const r=e._readableState,i=e._writableState;i!=null&&i.errorEmitted||r!=null&&r.errorEmitted||(i&&(i.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function Jo(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function Jt(e,t,r){const i=e._readableState,l=e._writableState;if(l!=null&&l.destroyed||i!=null&&i.destroyed)return this;i!=null&&i.autoDestroy||l!=null&&l.autoDestroy?e.destroy(t):t&&(t.stack,l&&!l.errored&&(l.errored=t),i&&!i.errored&&(i.errored=t),r?fe.nextTick(zt,e,t):zt(e,t))}function Xo(e,t){if(typeof e._construct!="function")return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(Kt,t),!(e.listenerCount(Kt)>1)&&fe.nextTick(Qo,e)}function Qo(e){let t=!1;function r(i){if(t){Jt(e,i??new Bo);return}t=!0;const l=e._readableState,s=e._writableState,d=s||l;l&&(l.constructed=!0),s&&(s.constructed=!0),d.destroyed?e.emit(Ln,i):i?Jt(e,i,!0):fe.nextTick(Zo,e)}try{e._construct(i=>{fe.nextTick(r,i)})}catch(i){fe.nextTick(r,i)}}function Zo(e){e.emit(Kt)}function Cr(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function Wn(e){e.emit("close")}function el(e,t){e.emit("error",t),fe.nextTick(Wn,e)}function tl(e,t){!e||Ho(e)||(!t&&!qo(e)&&(t=new Go),Yo(e)?(e.socket=null,e.destroy(t)):Cr(e)?e.abort():Cr(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?fe.nextTick(el,e,t):fe.nextTick(Wn,e),e.destroyed||(e[Vo]=!0))}var je={construct:Xo,destroyer:tl,destroy:Ko,undestroy:Jo,errorOrDestroy:Jt};const{ArrayIsArray:rl,ObjectSetPrototypeOf:Cn}=H,{EventEmitter:ct}=lt;function ht(e){ct.call(this,e)}Cn(ht.prototype,ct.prototype);Cn(ht,ct);ht.prototype.pipe=function(e,t){const r=this;function i(_){e.writable&&e.write(_)===!1&&r.pause&&r.pause()}r.on("data",i);function l(){r.readable&&r.resume&&r.resume()}e.on("drain",l),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",d),r.on("close",g));let s=!1;function d(){s||(s=!0,e.end())}function g(){s||(s=!0,typeof e.destroy=="function"&&e.destroy())}function R(_){h(),ct.listenerCount(this,"error")===0&&this.emit("error",_)}Xt(r,"error",R),Xt(e,"error",R);function h(){r.removeListener("data",i),e.removeListener("drain",l),r.removeListener("end",d),r.removeListener("close",g),r.removeListener("error",R),e.removeListener("error",R),r.removeListener("end",h),r.removeListener("close",h),e.removeListener("close",h)}return r.on("end",h),r.on("close",h),e.on("close",h),e.emit("pipe",r),e};function Xt(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):rl(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var or={Stream:ht,prependListener:Xt},Fn={exports:{}};(function(e){const{SymbolDispose:t}=H,{AbortError:r,codes:i}=ie,{isNodeStream:l,isWebStream:s,kControllerErrorFunction:d}=ye,g=Se,{ERR_INVALID_ARG_TYPE:R}=i;let h;const _=(v,c)=>{if(typeof v!="object"||!("aborted"in v))throw new R(c,"AbortSignal",v)};e.exports.addAbortSignal=function(c,u){if(_(c,"signal"),!l(u)&&!s(u))throw new R("stream",["ReadableStream","WritableStream","Stream"],u);return e.exports.addAbortSignalNoValidate(c,u)},e.exports.addAbortSignalNoValidate=function(v,c){if(typeof v!="object"||!("aborted"in v))return c;const u=l(c)?()=>{c.destroy(new r(void 0,{cause:v.reason}))}:()=>{c[d](new r(void 0,{cause:v.reason}))};if(v.aborted)u();else{h=h||te.addAbortListener;const m=h(v,u);g(c,m[t])}return c}})(Fn);var bt=Fn.exports;const{StringPrototypeSlice:Fr,SymbolIterator:nl,TypedArrayPrototypeSet:Qe,Uint8Array:il}=H,{Buffer:$t}=Ie,{inspect:ol}=te;var ll=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,i=""+r.data;for(;(r=r.next)!==null;)i+=t+r.data;return i}concat(t){if(this.length===0)return $t.alloc(0);const r=$t.allocUnsafe(t>>>0);let i=this.head,l=0;for(;i;)Qe(r,i.data,l),l+=i.data.length,i=i.next;return r}consume(t,r){const i=this.head.data;if(ts.length)r+=s,t-=s.length;else{t===s.length?(r+=s,++l,i.next?this.head=i.next:this.head=this.tail=null):(r+=Fr(s,0,t),this.head=i,i.data=Fr(s,t));break}++l}while((i=i.next)!==null);return this.length-=l,r}_getBuffer(t){const r=$t.allocUnsafe(t),i=t;let l=this.head,s=0;do{const d=l.data;if(t>d.length)Qe(r,d,i-t),t-=d.length;else{t===d.length?(Qe(r,d,i-t),++s,l.next?this.head=l.next:this.head=this.tail=null):(Qe(r,new il(d.buffer,d.byteOffset,t),i-t),this.head=l,l.data=d.slice(t));break}++s}while((l=l.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return ol(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:al,NumberIsInteger:sl}=H,{validateInteger:fl}=Ke,{ERR_INVALID_ARG_VALUE:ul}=ie.codes;let jn=16*1024,Un=16;function dl(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Bn(e){return e?Un:jn}function cl(e,t){fl(t,"value",0),e?Un=t:jn=t}function hl(e,t,r,i){const l=dl(t,i,r);if(l!=null){if(!sl(l)||l<0){const s=i?`options.${r}`:"options.highWaterMark";throw new ul(s,l)}return al(l)}return Bn(e.objectMode)}var pt={getHighWaterMark:hl,getDefaultHighWaterMark:Bn,setDefaultHighWaterMark:cl};const jr=$e,{PromisePrototypeThen:bl,SymbolAsyncIterator:Ur,SymbolIterator:Br}=H,{Buffer:pl}=Ie,{ERR_INVALID_ARG_TYPE:_l,ERR_STREAM_NULL_VALUES:yl}=ie.codes;function wl(e,t,r){let i;if(typeof t=="string"||t instanceof pl)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let l;if(t&&t[Ur])l=!0,i=t[Ur]();else if(t&&t[Br])l=!1,i=t[Br]();else throw new _l("iterable",["Iterable"],t);const s=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;s._read=function(){d||(d=!0,R())},s._destroy=function(h,_){bl(g(h),()=>jr.nextTick(_,h),v=>jr.nextTick(_,v||h))};async function g(h){const _=h!=null,v=typeof i.throw=="function";if(_&&v){const{value:c,done:u}=await i.throw(h);if(await c,u)return}if(typeof i.return=="function"){const{value:c}=await i.return();await c}}async function R(){for(;;){try{const{value:h,done:_}=l?await i.next():i.next();if(_)s.push(null);else{const v=h&&typeof h.then=="function"?await h:h;if(v===null)throw d=!1,new yl;if(s.push(v))continue;d=!1}}catch(h){s.destroy(h)}break}}return s}var Gn=wl,Nt,Gr;function _t(){if(Gr)return Nt;Gr=1;const e=$e,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:i,NumberParseInt:l,ObjectDefineProperties:s,ObjectKeys:d,ObjectSetPrototypeOf:g,Promise:R,SafeSet:h,SymbolAsyncDispose:_,SymbolAsyncIterator:v,Symbol:c}=H;Nt=D,D.ReadableState=he;const{EventEmitter:u}=lt,{Stream:m,prependListener:b}=or,{Buffer:A}=Ie,{addAbortSignal:k}=bt,M=Se;let y=te.debuglog("stream",n=>{y=n});const j=ll,P=je,{getHighWaterMark:J,getDefaultHighWaterMark:oe}=pt,{aggregateTwoErrors:B,codes:{ERR_INVALID_ARG_TYPE:q,ERR_METHOD_NOT_IMPLEMENTED:re,ERR_OUT_OF_RANGE:ne,ERR_STREAM_PUSH_AFTER_EOF:x,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:w},AbortError:W}=ie,{validateObject:L}=Ke,O=c("kPaused"),{StringDecoder:Y}=bi,K=Gn;g(D.prototype,m.prototype),g(D,m);const V=()=>{},{errorOrDestroy:z}=P,C=1,ce=2,N=4,X=8,se=16,ke=32,Pe=64,Le=128,Ue=256,wt=512,Be=1024,Oe=2048,a=4096,f=8192,p=16384,I=32768,$=65536,U=1<<17,G=1<<18;function F(n){return{enumerable:!1,get(){return(this.state&n)!==0},set(o){o?this.state|=n:this.state&=~n}}}s(he.prototype,{objectMode:F(C),ended:F(ce),endEmitted:F(N),reading:F(X),constructed:F(se),sync:F(ke),needReadable:F(Pe),emittedReadable:F(Le),readableListening:F(Ue),resumeScheduled:F(wt),errorEmitted:F(Be),emitClose:F(Oe),autoDestroy:F(a),destroyed:F(f),closed:F(p),closeEmitted:F(I),multiAwaitDrain:F($),readingMore:F(U),dataEmitted:F(G)});function he(n,o,S){typeof S!="boolean"&&(S=o instanceof pe()),this.state=Oe|a|se|ke,n&&n.objectMode&&(this.state|=C),S&&n&&n.readableObjectMode&&(this.state|=C),this.highWaterMark=n?J(this,n,"readableHighWaterMark",S):oe(!1),this.buffer=new j,this.length=0,this.pipes=[],this.flowing=null,this[O]=null,n&&n.emitClose===!1&&(this.state&=~Oe),n&&n.autoDestroy===!1&&(this.state&=~a),this.errored=null,this.defaultEncoding=n&&n.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,n&&n.encoding&&(this.decoder=new Y(n.encoding),this.encoding=n.encoding)}function D(n){if(!(this instanceof D))return new D(n);const o=this instanceof pe();this._readableState=new he(n,this,o),n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy),typeof n.construct=="function"&&(this._construct=n.construct),n.signal&&!o&&k(n.signal,this)),m.call(this,n),P.construct(this,()=>{this._readableState.needReadable&&Xe(this,this._readableState)})}D.prototype.destroy=P.destroy,D.prototype._undestroy=P.undestroy,D.prototype._destroy=function(n,o){o(n)},D.prototype[u.captureRejectionSymbol]=function(n){this.destroy(n)},D.prototype[_]=function(){let n;return this.destroyed||(n=this.readableEnded?null:new W,this.destroy(n)),new R((o,S)=>M(this,E=>E&&E!==n?S(E):o(null)))},D.prototype.push=function(n,o){return we(this,n,o,!1)},D.prototype.unshift=function(n,o){return we(this,n,o,!0)};function we(n,o,S,E){y("readableAddChunk",o);const T=n._readableState;let Z;if(T.state&C||(typeof o=="string"?(S=S||T.defaultEncoding,T.encoding!==S&&(E&&T.encoding?o=A.from(o,S).toString(T.encoding):(o=A.from(o,S),S=""))):o instanceof A?S="":m._isUint8Array(o)?(o=m._uint8ArrayToBuffer(o),S=""):o!=null&&(Z=new q("chunk",["string","Buffer","Uint8Array"],o))),Z)z(n,Z);else if(o===null)T.state&=~X,ni(n,T);else if(T.state&C||o&&o.length>0)if(E)if(T.state&N)z(n,new w);else{if(T.destroyed||T.errored)return!1;gt(n,T,o,!0)}else if(T.ended)z(n,new x);else{if(T.destroyed||T.errored)return!1;T.state&=~X,T.decoder&&!S?(o=T.decoder.write(o),T.objectMode||o.length!==0?gt(n,T,o,!1):Xe(n,T)):gt(n,T,o,!1)}else E||(T.state&=~X,Xe(n,T));return!T.ended&&(T.length0?(o.state&$?o.awaitDrainWriters.clear():o.awaitDrainWriters=null,o.dataEmitted=!0,n.emit("data",S)):(o.length+=o.objectMode?1:S.length,E?o.buffer.unshift(S):o.buffer.push(S),o.state&Pe&&Je(n)),Xe(n,o)}D.prototype.isPaused=function(){const n=this._readableState;return n[O]===!0||n.flowing===!1},D.prototype.setEncoding=function(n){const o=new Y(n);this._readableState.decoder=o,this._readableState.encoding=this._readableState.decoder.encoding;const S=this._readableState.buffer;let E="";for(const T of S)E+=o.write(T);return S.clear(),E!==""&&S.push(E),this._readableState.length=E.length,this};const ti=1073741824;function ri(n){if(n>ti)throw new ne("size","<= 1GiB",n);return n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++,n}function dr(n,o){return n<=0||o.length===0&&o.ended?0:o.state&C?1:i(n)?o.flowing&&o.length?o.buffer.first().length:o.length:n<=o.length?n:o.ended?o.length:0}D.prototype.read=function(n){y("read",n),n===void 0?n=NaN:r(n)||(n=l(n,10));const o=this._readableState,S=n;if(n>o.highWaterMark&&(o.highWaterMark=ri(n)),n!==0&&(o.state&=~Le),n===0&&o.needReadable&&((o.highWaterMark!==0?o.length>=o.highWaterMark:o.length>0)||o.ended))return y("read: emitReadable",o.length,o.ended),o.length===0&&o.ended?St(this):Je(this),null;if(n=dr(n,o),n===0&&o.ended)return o.length===0&&St(this),null;let E=(o.state&Pe)!==0;if(y("need readable",E),(o.length===0||o.length-n0?T=_r(n,o):T=null,T===null?(o.needReadable=o.length<=o.highWaterMark,n=0):(o.length-=n,o.multiAwaitDrain?o.awaitDrainWriters.clear():o.awaitDrainWriters=null),o.length===0&&(o.ended||(o.needReadable=!0),S!==n&&o.ended&&St(this)),T!==null&&!o.errorEmitted&&!o.closeEmitted&&(o.dataEmitted=!0,this.emit("data",T)),T};function ni(n,o){if(y("onEofChunk"),!o.ended){if(o.decoder){const S=o.decoder.end();S&&S.length&&(o.buffer.push(S),o.length+=o.objectMode?1:S.length)}o.ended=!0,o.sync?Je(n):(o.needReadable=!1,o.emittedReadable=!0,cr(n))}}function Je(n){const o=n._readableState;y("emitReadable",o.needReadable,o.emittedReadable),o.needReadable=!1,o.emittedReadable||(y("emitReadable",o.flowing),o.emittedReadable=!0,e.nextTick(cr,n))}function cr(n){const o=n._readableState;y("emitReadable_",o.destroyed,o.length,o.ended),!o.destroyed&&!o.errored&&(o.length||o.ended)&&(n.emit("readable"),o.emittedReadable=!1),o.needReadable=!o.flowing&&!o.ended&&o.length<=o.highWaterMark,br(n)}function Xe(n,o){!o.readingMore&&o.constructed&&(o.readingMore=!0,e.nextTick(ii,n,o))}function ii(n,o){for(;!o.reading&&!o.ended&&(o.length1&&E.pipes.includes(n)&&(y("false write response, pause",E.awaitDrainWriters.size),E.awaitDrainWriters.add(n)),S.pause()),Ee||(Ee=oi(S,n),n.on("drain",Ee))}S.on("data",Er);function Er(Re){y("ondata");const be=n.write(Re);y("dest.write",be),be===!1&&Sr()}function Rt(Re){if(y("onerror",Re),Ge(),n.removeListener("error",Rt),n.listenerCount("error")===0){const be=n._writableState||n._readableState;be&&!be.errorEmitted?z(n,Re):n.emit("error",Re)}}b(n,"error",Rt);function At(){n.removeListener("finish",mt),Ge()}n.once("close",At);function mt(){y("onfinish"),n.removeListener("close",At),Ge()}n.once("finish",mt);function Ge(){y("unpipe"),S.unpipe(n)}return n.emit("pipe",S),n.writableNeedDrain===!0?Sr():E.flowing||(y("pipe resume"),S.resume()),n};function oi(n,o){return function(){const E=n._readableState;E.awaitDrainWriters===o?(y("pipeOnDrain",1),E.awaitDrainWriters=null):E.multiAwaitDrain&&(y("pipeOnDrain",E.awaitDrainWriters.size),E.awaitDrainWriters.delete(o)),(!E.awaitDrainWriters||E.awaitDrainWriters.size===0)&&n.listenerCount("data")&&n.resume()}}D.prototype.unpipe=function(n){const o=this._readableState,S={hasUnpiped:!1};if(o.pipes.length===0)return this;if(!n){const T=o.pipes;o.pipes=[],this.pause();for(let Z=0;Z0,E.flowing!==!1&&this.resume()):n==="readable"&&!E.endEmitted&&!E.readableListening&&(E.readableListening=E.needReadable=!0,E.flowing=!1,E.emittedReadable=!1,y("on readable",E.length,E.reading),E.length?Je(this):E.reading||e.nextTick(li,this)),S},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(n,o){const S=m.prototype.removeListener.call(this,n,o);return n==="readable"&&e.nextTick(hr,this),S},D.prototype.off=D.prototype.removeListener,D.prototype.removeAllListeners=function(n){const o=m.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&e.nextTick(hr,this),o};function hr(n){const o=n._readableState;o.readableListening=n.listenerCount("readable")>0,o.resumeScheduled&&o[O]===!1?o.flowing=!0:n.listenerCount("data")>0?n.resume():o.readableListening||(o.flowing=null)}function li(n){y("readable nexttick read 0"),n.read(0)}D.prototype.resume=function(){const n=this._readableState;return n.flowing||(y("resume"),n.flowing=!n.readableListening,ai(this,n)),n[O]=!1,this};function ai(n,o){o.resumeScheduled||(o.resumeScheduled=!0,e.nextTick(si,n,o))}function si(n,o){y("resume",o.reading),o.reading||n.read(0),o.resumeScheduled=!1,n.emit("resume"),br(n),o.flowing&&!o.reading&&n.read(0)}D.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[O]=!0,this};function br(n){const o=n._readableState;for(y("flow",o.flowing);o.flowing&&n.read()!==null;);}D.prototype.wrap=function(n){let o=!1;n.on("data",E=>{!this.push(E)&&n.pause&&(o=!0,n.pause())}),n.on("end",()=>{this.push(null)}),n.on("error",E=>{z(this,E)}),n.on("close",()=>{this.destroy()}),n.on("destroy",()=>{this.destroy()}),this._read=()=>{o&&n.resume&&(o=!1,n.resume())};const S=d(n);for(let E=1;E{T=le?B(T,le):null,S(),S=V});try{for(;;){const le=n.destroyed?null:n.read();if(le!==null)yield le;else{if(T)throw T;if(T===null)return;await new R(E)}}}catch(le){throw T=B(T,le),T}finally{(T||(o==null?void 0:o.destroyOnReturn)!==!1)&&(T===void 0||n._readableState.autoDestroy)?P.destroyer(n,null):(n.off("readable",E),Z())}}s(D.prototype,{readable:{__proto__:null,get(){const n=this._readableState;return!!n&&n.readable!==!1&&!n.destroyed&&!n.errorEmitted&&!n.endEmitted},set(n){this._readableState&&(this._readableState.readable=!!n)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(n){this._readableState&&(this._readableState.destroyed=n)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(he.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[O]!==!1},set(n){this[O]=!!n}}}),D._fromList=_r;function _r(n,o){if(o.length===0)return null;let S;return o.objectMode?S=o.buffer.shift():!n||n>=o.length?(o.decoder?S=o.buffer.join(""):o.buffer.length===1?S=o.buffer.first():S=o.buffer.concat(o.length),o.buffer.clear()):S=o.buffer.consume(n,o.decoder),S}function St(n){const o=n._readableState;y("endReadable",o.endEmitted),o.endEmitted||(o.ended=!0,e.nextTick(ui,o,n))}function ui(n,o){if(y("endReadableNT",n.endEmitted,n.length),!n.errored&&!n.closeEmitted&&!n.endEmitted&&n.length===0){if(n.endEmitted=!0,o.emit("end"),o.writable&&o.allowHalfOpen===!1)e.nextTick(di,o);else if(n.autoDestroy){const S=o._writableState;(!S||S.autoDestroy&&(S.finished||S.writable===!1))&&o.destroy()}}}function di(n){n.writable&&!n.writableEnded&&!n.destroyed&&n.end()}D.from=function(n,o){return K(D,n,o)};let Et;function yr(){return Et===void 0&&(Et={}),Et}return D.fromWeb=function(n,o){return yr().newStreamReadableFromReadableStream(n,o)},D.toWeb=function(n,o){return yr().newReadableStreamFromStreamReadable(n,o)},D.wrap=function(n,o){var S,E;return new D({objectMode:(S=(E=n.readableObjectMode)!==null&&E!==void 0?E:n.objectMode)!==null&&S!==void 0?S:!0,...o,destroy(T,Z){P.destroyer(n,T),Z(T)}}).wrap(n)},Nt}var Dt,Vr;function lr(){if(Vr)return Dt;Vr=1;const e=$e,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:l,ObjectDefineProperties:s,ObjectSetPrototypeOf:d,StringPrototypeToLowerCase:g,Symbol:R,SymbolHasInstance:h}=H;Dt=L,L.WritableState=w;const{EventEmitter:_}=lt,v=or.Stream,{Buffer:c}=Ie,u=je,{addAbortSignal:m}=bt,{getHighWaterMark:b,getDefaultHighWaterMark:A}=pt,{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:M,ERR_MULTIPLE_CALLBACK:y,ERR_STREAM_CANNOT_PIPE:j,ERR_STREAM_DESTROYED:P,ERR_STREAM_ALREADY_FINISHED:J,ERR_STREAM_NULL_VALUES:oe,ERR_STREAM_WRITE_AFTER_END:B,ERR_UNKNOWN_ENCODING:q}=ie.codes,{errorOrDestroy:re}=u;d(L.prototype,v.prototype),d(L,v);function ne(){}const x=R("kOnFinished");function w(a,f,p){typeof p!="boolean"&&(p=f instanceof pe()),this.objectMode=!!(a&&a.objectMode),p&&(this.objectMode=this.objectMode||!!(a&&a.writableObjectMode)),this.highWaterMark=a?b(this,a,"writableHighWaterMark",p):A(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const I=!!(a&&a.decodeStrings===!1);this.decodeStrings=!I,this.defaultEncoding=a&&a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=z.bind(void 0,f),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,W(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!a||a.emitClose!==!1,this.autoDestroy=!a||a.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[x]=[]}function W(a){a.buffered=[],a.bufferedIndex=0,a.allBuffers=!0,a.allNoop=!0}w.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},l(w.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function L(a){const f=this instanceof pe();if(!f&&!i(L,this))return new L(a);this._writableState=new w(a,this,f),a&&(typeof a.write=="function"&&(this._write=a.write),typeof a.writev=="function"&&(this._writev=a.writev),typeof a.destroy=="function"&&(this._destroy=a.destroy),typeof a.final=="function"&&(this._final=a.final),typeof a.construct=="function"&&(this._construct=a.construct),a.signal&&m(a.signal,this)),v.call(this,a),u.construct(this,()=>{const p=this._writableState;p.writing||X(this,p),Le(this,p)})}l(L,h,{__proto__:null,value:function(a){return i(this,a)?!0:this!==L?!1:a&&a._writableState instanceof w}}),L.prototype.pipe=function(){re(this,new j)};function O(a,f,p,I){const $=a._writableState;if(typeof p=="function")I=p,p=$.defaultEncoding;else{if(!p)p=$.defaultEncoding;else if(p!=="buffer"&&!c.isEncoding(p))throw new q(p);typeof I!="function"&&(I=ne)}if(f===null)throw new oe;if(!$.objectMode)if(typeof f=="string")$.decodeStrings!==!1&&(f=c.from(f,p),p="buffer");else if(f instanceof c)p="buffer";else if(v._isUint8Array(f))f=v._uint8ArrayToBuffer(f),p="buffer";else throw new k("chunk",["string","Buffer","Uint8Array"],f);let U;return $.ending?U=new B:$.destroyed&&(U=new P("write")),U?(e.nextTick(I,U),re(a,U,!0),U):($.pendingcb++,Y(a,$,f,p,I))}L.prototype.write=function(a,f,p){return O(this,a,f,p)===!0},L.prototype.cork=function(){this._writableState.corked++},L.prototype.uncork=function(){const a=this._writableState;a.corked&&(a.corked--,a.writing||X(this,a))},L.prototype.setDefaultEncoding=function(f){if(typeof f=="string"&&(f=g(f)),!c.isEncoding(f))throw new q(f);return this._writableState.defaultEncoding=f,this};function Y(a,f,p,I,$){const U=f.objectMode?1:p.length;f.length+=U;const G=f.lengthp.bufferedIndex&&X(a,p),I?p.afterWriteTickInfo!==null&&p.afterWriteTickInfo.cb===$?p.afterWriteTickInfo.count++:(p.afterWriteTickInfo={count:1,cb:$,stream:a,state:p},e.nextTick(C,p.afterWriteTickInfo)):ce(a,p,1,$))}function C({stream:a,state:f,count:p,cb:I}){return f.afterWriteTickInfo=null,ce(a,f,p,I)}function ce(a,f,p,I){for(!f.ending&&!a.destroyed&&f.length===0&&f.needDrain&&(f.needDrain=!1,a.emit("drain"));p-- >0;)f.pendingcb--,I();f.destroyed&&N(f),Le(a,f)}function N(a){if(a.writing)return;for(let $=a.bufferedIndex;$1&&a._writev){f.pendingcb-=U-1;const F=f.allNoop?ne:D=>{for(let we=G;we256?(p.splice(0,G),f.bufferedIndex=0):f.bufferedIndex=G}f.bufferProcessing=!1}L.prototype._write=function(a,f,p){if(this._writev)this._writev([{chunk:a,encoding:f}],p);else throw new M("_write()")},L.prototype._writev=null,L.prototype.end=function(a,f,p){const I=this._writableState;typeof a=="function"?(p=a,a=null,f=null):typeof f=="function"&&(p=f,f=null);let $;if(a!=null){const U=O(this,a,f);U instanceof r&&($=U)}return I.corked&&(I.corked=1,this.uncork()),$||(!I.errored&&!I.ending?(I.ending=!0,Le(this,I,!0),I.ended=!0):I.finished?$=new J("end"):I.destroyed&&($=new P("end"))),typeof p=="function"&&($||I.finished?e.nextTick(p,$):I[x].push(p)),this};function se(a){return a.ending&&!a.destroyed&&a.constructed&&a.length===0&&!a.errored&&a.buffered.length===0&&!a.finished&&!a.writing&&!a.errorEmitted&&!a.closeEmitted}function ke(a,f){let p=!1;function I($){if(p){re(a,$??y());return}if(p=!0,f.pendingcb--,$){const U=f[x].splice(0);for(let G=0;G{se($)?Ue(I,$):$.pendingcb--},a,f)):se(f)&&(f.pendingcb++,Ue(a,f))))}function Ue(a,f){f.pendingcb--,f.finished=!0;const p=f[x].splice(0);for(let I=0;I{if(N!=null)throw new m("nully","body",N)},N=>{b(C,N)});return C=new q({objectMode:!0,readable:!1,write:Y,final(N){K(async()=>{try{await ce,e.nextTick(N,null)}catch(X){e.nextTick(N,X)}})},destroy:V})}throw new m("Iterable, AsyncIterable or AsyncFunction",W,O)}if(J(w))return x(w.arrayBuffer());if(l(w))return j(q,w,{objectMode:!0,writable:!1});if(h(w==null?void 0:w.readable)&&_(w==null?void 0:w.writable))return q.fromWeb(w);if(typeof(w==null?void 0:w.writable)=="object"||typeof(w==null?void 0:w.readable)=="object"){const O=w!=null&&w.readable?d(w==null?void 0:w.readable)?w==null?void 0:w.readable:x(w.readable):void 0,Y=w!=null&&w.writable?g(w==null?void 0:w.writable)?w==null?void 0:w.writable:x(w.writable):void 0;return ne({readable:O,writable:Y})}const L=w==null?void 0:w.then;if(typeof L=="function"){let O;return B(L,w,Y=>{Y!=null&&O.push(Y),O.push(null)},Y=>{b(O,Y)}),O=new q({objectMode:!0,writable:!1,read(){}})}throw new u(W,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],w)};function re(x){let{promise:w,resolve:W}=y();const L=new oe,O=L.signal;return{value:x(async function*(){for(;;){const K=w;w=null;const{chunk:V,done:z,cb:C}=await K;if(e.nextTick(C),z)return;if(O.aborted)throw new c(void 0,{cause:O.reason});({promise:w,resolve:W}=y()),yield V}}(),{signal:O}),write(K,V,z){const C=W;W=null,C({chunk:K,done:!1,cb:z})},final(K){const V=W;W=null,V({done:!0,cb:K})},destroy(K,V){L.abort(),V(K)}}}function ne(x){const w=x.readable&&typeof x.readable.read!="function"?k.wrap(x.readable):x.readable,W=x.writable;let L=!!r(w),O=!!i(W),Y,K,V,z,C;function ce(N){const X=z;z=null,X?X(N):N&&C.destroy(N)}return C=new q({readableObjectMode:!!(w!=null&&w.readableObjectMode),writableObjectMode:!!(W!=null&&W.writableObjectMode),readable:L,writable:O}),O&&(v(W,N=>{O=!1,N&&b(w,N),ce(N)}),C._write=function(N,X,se){W.write(N,X)?se():Y=se},C._final=function(N){W.end(),K=N},W.on("drain",function(){if(Y){const N=Y;Y=null,N()}}),W.on("finish",function(){if(K){const N=K;K=null,N()}})),L&&(v(w,N=>{L=!1,N&&b(w,N),ce(N)}),w.on("readable",function(){if(V){const N=V;V=null,N()}}),w.on("end",function(){C.push(null)}),C._read=function(){for(;;){const N=w.read();if(N===null){V=C._read;return}if(!C.push(N))return}}),C._destroy=function(N,X){!N&&z!==null&&(N=new c),V=null,Y=null,K=null,z===null?X(N):(z=X,b(W,N),b(w,N))},C}return Mt}var kt,qr;function pe(){if(qr)return kt;qr=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:i}=H;kt=d;const l=_t(),s=lr();i(d.prototype,l.prototype),i(d,l);{const _=r(s.prototype);for(let v=0;v<_.length;v++){const c=_[v];d.prototype[c]||(d.prototype[c]=s.prototype[c])}}function d(_){if(!(this instanceof d))return new d(_);l.call(this,_),s.call(this,_),_?(this.allowHalfOpen=_.allowHalfOpen!==!1,_.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),_.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}e(d.prototype,{writable:{__proto__:null,...t(s.prototype,"writable")},writableHighWaterMark:{__proto__:null,...t(s.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...t(s.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...t(s.prototype,"writableBuffer")},writableLength:{__proto__:null,...t(s.prototype,"writableLength")},writableFinished:{__proto__:null,...t(s.prototype,"writableFinished")},writableCorked:{__proto__:null,...t(s.prototype,"writableCorked")},writableEnded:{__proto__:null,...t(s.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...t(s.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(_){this._readableState&&this._writableState&&(this._readableState.destroyed=_,this._writableState.destroyed=_)}}});let g;function R(){return g===void 0&&(g={}),g}d.fromWeb=function(_,v){return R().newStreamDuplexFromReadableWritablePair(_,v)},d.toWeb=function(_){return R().newReadableWritablePairFromDuplex(_)};let h;return d.from=function(_){return h||(h=gl()),h(_,"body")},kt}const{ObjectSetPrototypeOf:Vn,Symbol:Sl}=H;var Hn=_e;const{ERR_METHOD_NOT_IMPLEMENTED:El}=ie.codes,ar=pe(),{getHighWaterMark:Rl}=pt;Vn(_e.prototype,ar.prototype);Vn(_e,ar);const He=Sl("kCallback");function _e(e){if(!(this instanceof _e))return new _e(e);const t=e?Rl(this,e,"readableHighWaterMark",!0):null;t===0&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),ar.call(this,e),this._readableState.sync=!1,this[He]=null,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Al)}function Qt(e){typeof this._flush=="function"&&!this.destroyed?this._flush((t,r)=>{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function Al(){this._final!==Qt&&Qt.call(this)}_e.prototype._final=Qt;_e.prototype._transform=function(e,t,r){throw new El("_transform()")};_e.prototype._write=function(e,t,r){const i=this._readableState,l=this._writableState,s=i.length;this._transform(e,t,(d,g)=>{if(d){r(d);return}g!=null&&this.push(g),l.ended||s===i.length||i.length{i=!0});const l=it(e,{readable:t,writable:r},s=>{i=!s});return{destroy:s=>{i||(i=!0,Nl.destroyer(e,s||new kl("pipe")))},cleanup:l}}function jl(e){return Ol(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Ft(e){if(me(e))return e;if(rt(e))return Ul(e);throw new Zt("val",["Readable","Iterable","AsyncIterable"],e)}async function*Ul(e){Wt||(Wt=_t()),yield*Wt.prototype[Tl].call(e)}async function Ze(e,t,r,{end:i}){let l,s=null;const d=h=>{if(h&&(l=h),s){const _=s;s=null,_()}},g=()=>new vl((h,_)=>{l?_(l):s=()=>{l?_(l):h()}});t.on("drain",d);const R=it(t,{readable:!1},d);try{t.writableNeedDrain&&await g();for await(const h of e)t.write(h)||await g();i&&(t.end(),await g()),r()}catch(h){r(l!==h?Dl(l,h):h)}finally{R(),t.off("drain",d)}}async function jt(e,t,r,{end:i}){xe(t)&&(t=t.writable);const l=t.getWriter();try{for await(const s of e)await l.ready,l.write(s).catch(()=>{});await l.ready,i&&await l.close(),r()}catch(s){try{await l.abort(s),r(s)}catch(d){r(d)}}}function Bl(...e){return Kn(e,$l(jl(e)))}function Kn(e,t,r){if(e.length===1&&ml(e[0])&&(e=e[0]),e.length<2)throw new Ml("streams");const i=new Fl,l=i.signal,s=r==null?void 0:r.signal,d=[];xl(s,"options.signal");function g(){m(new Ll)}Ct=Ct||te.addAbortListener;let R;s&&(R=Ct(s,g));let h,_;const v=[];let c=0;function u(M){m(M,--c===0)}function m(M,y){var j;if(M&&(!h||h.code==="ERR_STREAM_PREMATURE_CLOSE")&&(h=M),!(!h&&!y)){for(;v.length;)v.shift()(h);(j=R)===null||j===void 0||j[Il](),i.abort(),y&&(h||d.forEach(P=>P()),Ve.nextTick(t,h,_))}}let b;for(let M=0;M0,J=j||(r==null?void 0:r.end)!==!1,oe=M===e.length-1;if(Kr(y)){let B=function(q){q&&q.name!=="AbortError"&&q.code!=="ERR_STREAM_PREMATURE_CLOSE"&&u(q)};if(J){const{destroy:q,cleanup:re}=zr(y,j,P);v.push(q),Lt(y)&&oe&&d.push(re)}y.on("error",B),Lt(y)&&oe&&d.push(()=>{y.removeListener("error",B)})}if(M===0)if(typeof y=="function"){if(b=y({signal:l}),!me(b))throw new Pt("Iterable, AsyncIterable or Stream","source",b)}else me(y)||rt(y)||xe(y)?b=y:b=Yr.from(y);else if(typeof y=="function"){if(xe(b)){var A;b=Ft((A=b)===null||A===void 0?void 0:A.readable)}else b=Ft(b);if(b=y(b,{signal:l}),j){if(!me(b,!0))throw new Pt("AsyncIterable",`transform[${M-1}]`,b)}else{var k;xt||(xt=Yn);const B=new xt({objectMode:!0}),q=(k=b)===null||k===void 0?void 0:k.then;if(typeof q=="function")c++,q.call(b,x=>{_=x,x!=null&&B.write(x),J&&B.end(),Ve.nextTick(u)},x=>{B.destroy(x),Ve.nextTick(u,x)});else if(me(b,!0))c++,Ze(b,B,u,{end:J});else if(Ot(b)||xe(b)){const x=b.readable||b;c++,Ze(x,B,u,{end:J})}else throw new Pt("AsyncIterable or Promise","destination",b);b=B;const{destroy:re,cleanup:ne}=zr(b,!1,!0);v.push(re),oe&&d.push(ne)}}else if(Kr(y)){if(rt(b)){c+=2;const B=Gl(b,y,u,{end:J});Lt(y)&&oe&&d.push(B)}else if(xe(b)||Ot(b)){const B=b.readable||b;c++,Ze(B,y,u,{end:J})}else if(me(b))c++,Ze(b,y,u,{end:J});else throw new Zt("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=y}else if(Wl(y)){if(rt(b))c++,jt(Ft(b),y,u,{end:J});else if(Ot(b)||me(b))c++,jt(b,y,u,{end:J});else if(xe(b))c++,jt(b.readable,y,u,{end:J});else throw new Zt("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=y}else b=Yr.from(y)}return(l!=null&&l.aborted||s!=null&&s.aborted)&&Ve.nextTick(g),b}function Gl(e,t,r,{end:i}){let l=!1;if(t.on("close",()=>{l||r(new Pl)}),e.pipe(t,{end:!1}),i){let s=function(){l=!0,t.end()};Cl(e)?Ve.nextTick(s):e.once("end",s)}else r();return it(e,{readable:!0,writable:!1},s=>{const d=e._readableState;s&&s.code==="ERR_STREAM_PREMATURE_CLOSE"&&d&&d.ended&&!d.errored&&!d.errorEmitted?e.once("end",r).once("error",r):r(s)}),it(t,{readable:!1,writable:!0},r)}var fr={pipelineImpl:Kn,pipeline:Bl};const{pipeline:Vl}=fr,et=pe(),{destroyer:Hl}=je,{isNodeStream:tt,isReadable:Jr,isWritable:Xr,isWebStream:Ut,isTransformStream:Ae,isWritableStream:Qr,isReadableStream:Zr}=ye,{AbortError:ql,codes:{ERR_INVALID_ARG_VALUE:en,ERR_MISSING_ARGS:Yl}}=ie,Kl=Se;var zn=function(...t){if(t.length===0)throw new Yl("streams");if(t.length===1)return et.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=et.from(t[0])),typeof t[t.length-1]=="function"){const u=t.length-1;t[u]=et.from(t[u])}for(let u=0;u0&&!(Xr(t[u])||Qr(t[u])||Ae(t[u])))throw new en(`streams[${u}]`,r[u],"must be writable")}let i,l,s,d,g;function R(u){const m=d;d=null,m?m(u):u?g.destroy(u):!c&&!v&&g.destroy()}const h=t[0],_=Vl(t,R),v=!!(Xr(h)||Qr(h)||Ae(h)),c=!!(Jr(_)||Zr(_)||Ae(_));if(g=new et({writableObjectMode:!!(h!=null&&h.writableObjectMode),readableObjectMode:!!(_!=null&&_.readableObjectMode),writable:v,readable:c}),v){if(tt(h))g._write=function(m,b,A){h.write(m,b)?A():i=A},g._final=function(m){h.end(),l=m},h.on("drain",function(){if(i){const m=i;i=null,m()}});else if(Ut(h)){const b=(Ae(h)?h.writable:h).getWriter();g._write=async function(A,k,M){try{await b.ready,b.write(A).catch(()=>{}),M()}catch(y){M(y)}},g._final=async function(A){try{await b.ready,b.close().catch(()=>{}),l=A}catch(k){A(k)}}}const u=Ae(_)?_.readable:_;Kl(u,()=>{if(l){const m=l;l=null,m()}})}if(c){if(tt(_))_.on("readable",function(){if(s){const u=s;s=null,u()}}),_.on("end",function(){g.push(null)}),g._read=function(){for(;;){const u=_.read();if(u===null){s=g._read;return}if(!g.push(u))return}};else if(Ut(_)){const m=(Ae(_)?_.readable:_).getReader();g._read=async function(){for(;;)try{const{value:b,done:A}=await m.read();if(!g.push(b))return;if(A){g.push(null);return}}catch{return}}}}return g._destroy=function(u,m){!u&&d!==null&&(u=new ql),s=null,i=null,l=null,d===null?m(u):(d=m,tt(_)&&Hl(_,u))},g};const zl=globalThis.AbortController||Ye().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Jl,ERR_INVALID_ARG_TYPE:ze,ERR_MISSING_ARGS:Xl,ERR_OUT_OF_RANGE:Ql},AbortError:ue}=ie,{validateAbortSignal:De,validateInteger:tn,validateObject:Me}=Ke,Zl=H.Symbol("kWeak"),ea=H.Symbol("kResistStopPropagation"),{finished:ta}=Se,ra=zn,{addAbortSignalNoValidate:na}=bt,{isWritable:ia,isNodeStream:oa}=ye,{deprecate:la}=te,{ArrayPrototypePush:aa,Boolean:sa,MathFloor:rn,Number:fa,NumberIsNaN:ua,Promise:nn,PromiseReject:on,PromiseResolve:da,PromisePrototypeThen:ln,Symbol:Jn}=H,ot=Jn("kEmpty"),an=Jn("kEof");function ca(e,t){if(t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),oa(e)&&!ia(e))throw new Jl("stream",e,"must be writable");const r=ra(this,e);return t!=null&&t.signal&&na(t.signal,r),r}function yt(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=rn(t.concurrency));let i=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(i=rn(t.highWaterMark)),tn(r,"options.concurrency",1),tn(i,"options.highWaterMark",0),i+=r,(async function*(){const s=te.AbortSignalAny([t==null?void 0:t.signal].filter(sa)),d=this,g=[],R={signal:s};let h,_,v=!1,c=0;function u(){v=!0,m()}function m(){c-=1,b()}function b(){_&&!v&&c=i||c>=r)&&await new nn(M=>{_=M})}g.push(an)}catch(k){const M=on(k);ln(M,m,u),g.push(M)}finally{v=!0,h&&(h(),h=null)}}A();try{for(;;){for(;g.length>0;){const k=await g[0];if(k===an)return;if(s.aborted)throw new ue;k!==ot&&(yield k),g.shift(),b()}await new nn(k=>{h=k})}}finally{v=!0,_&&(_(),_=null)}}).call(this)}function ha(e=void 0){return e!=null&&Me(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal"),(async function*(){let r=0;for await(const l of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new ue({cause:e.signal.reason});yield[r++,l]}}).call(this)}async function Xn(e,t=void 0){for await(const r of ur.call(this,e,t))return!0;return!1}async function ba(e,t=void 0){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);return!await Xn.call(this,async(...r)=>!await e(...r),t)}async function pa(e,t){for await(const r of ur.call(this,e,t))return r}async function _a(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);async function r(i,l){return await e(i,l),ot}for await(const i of yt.call(this,r,t));}function ur(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);async function r(i,l){return await e(i,l)?i:ot}return yt.call(this,r,t)}class ya extends Xl{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function wa(e,t,r){var i;if(typeof e!="function")throw new ze("reducer",["Function","AsyncFunction"],e);r!=null&&Me(r,"options"),(r==null?void 0:r.signal)!=null&&De(r.signal,"options.signal");let l=arguments.length>1;if(r!=null&&(i=r.signal)!==null&&i!==void 0&&i.aborted){const h=new ue(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await ta(this.destroy(h)),h}const s=new zl,d=s.signal;if(r!=null&&r.signal){const h={once:!0,[Zl]:this,[ea]:!0};r.signal.addEventListener("abort",()=>s.abort(),h)}let g=!1;try{for await(const h of this){var R;if(g=!0,r!=null&&(R=r.signal)!==null&&R!==void 0&&R.aborted)throw new ue;l?t=await e(t,h,{signal:d}):(t=h,l=!0)}if(!g&&!l)throw new ya}finally{s.abort()}return t}async function ga(e){e!=null&&Me(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal");const t=[];for await(const i of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new ue(void 0,{cause:e.signal.reason});aa(t,i)}return t}function Sa(e,t){const r=yt.call(this,e,t);return(async function*(){for await(const l of r)yield*l}).call(this)}function Qn(e){if(e=fa(e),ua(e))return 0;if(e<0)throw new Ql("number",">= 0",e);return e}function Ea(e,t=void 0){return t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=Qn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new ue;for await(const s of this){var l;if(t!=null&&(l=t.signal)!==null&&l!==void 0&&l.aborted)throw new ue;e--<=0&&(yield s)}}).call(this)}function Ra(e,t=void 0){return t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=Qn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new ue;for await(const s of this){var l;if(t!=null&&(l=t.signal)!==null&&l!==void 0&&l.aborted)throw new ue;if(e-- >0&&(yield s),e<=0)return}}).call(this)}er.streamReturningOperators={asIndexedPairs:la(ha,"readable.asIndexedPairs will be removed in a future version."),drop:Ea,filter:ur,flatMap:Sa,map:yt,take:Ra,compose:ca};er.promiseReturningOperators={every:ba,forEach:_a,reduce:wa,toArray:ga,some:Xn,find:pa};var Bt,sn;function Zn(){if(sn)return Bt;sn=1;const{ArrayPrototypePop:e,Promise:t}=H,{isIterable:r,isNodeStream:i,isWebStream:l}=ye,{pipelineImpl:s}=fr,{finished:d}=Se;ei();function g(...R){return new t((h,_)=>{let v,c;const u=R[R.length-1];if(u&&typeof u=="object"&&!i(u)&&!r(u)&&!l(u)){const m=e(R);v=m.signal,c=m.end}s(R,(m,b)=>{m?_(m):h(b)},{signal:v,end:c})})}return Bt={finished:d,pipeline:g},Bt}var fn;function ei(){if(fn)return vt.exports;fn=1;const{Buffer:e}=Ie,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:i}=H,{promisify:{custom:l}}=te,{streamReturningOperators:s,promiseReturningOperators:d}=er,{codes:{ERR_ILLEGAL_CONSTRUCTOR:g}}=ie,R=zn,{setDefaultHighWaterMark:h,getDefaultHighWaterMark:_}=pt,{pipeline:v}=fr,{destroyer:c}=je,u=Se,m=Zn(),b=ye,A=vt.exports=or.Stream;A.isDestroyed=b.isDestroyed,A.isDisturbed=b.isDisturbed,A.isErrored=b.isErrored,A.isReadable=b.isReadable,A.isWritable=b.isWritable,A.Readable=_t();for(const M of r(s)){let j=function(...P){if(new.target)throw g();return A.Readable.from(i(y,this,P))};const y=s[M];t(j,"name",{__proto__:null,value:y.name}),t(j,"length",{__proto__:null,value:y.length}),t(A.Readable.prototype,M,{__proto__:null,value:j,enumerable:!1,configurable:!0,writable:!0})}for(const M of r(d)){let j=function(...P){if(new.target)throw g();return i(y,this,P)};const y=d[M];t(j,"name",{__proto__:null,value:y.name}),t(j,"length",{__proto__:null,value:y.length}),t(A.Readable.prototype,M,{__proto__:null,value:j,enumerable:!1,configurable:!0,writable:!0})}A.Writable=lr(),A.Duplex=pe(),A.Transform=Hn,A.PassThrough=Yn,A.pipeline=v;const{addAbortSignal:k}=bt;return A.addAbortSignal=k,A.finished=u,A.destroy=c,A.compose=R,A.setDefaultHighWaterMark=h,A.getDefaultHighWaterMark=_,t(A,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),t(v,l,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),t(u,l,{__proto__:null,enumerable:!0,get(){return m.finished}}),A.Stream=A,A._isUint8Array=function(y){return y instanceof Uint8Array},A._uint8ArrayToBuffer=function(y){return e.from(y.buffer,y.byteOffset,y.byteLength)},vt.exports}(function(e){const t=ei(),r=Zn(),i=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=i,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(un);var Aa=un.exports;class ma{constructor(t){this.stream=t,this.array=[]}push(t){this.array.push(t)}end(){this.stream.push(this.array),this.stream.push(null)}}class va{constructor(t){this.stream=t,this.first=!0,this.stream.push("[")}push(t){this.first?this.first=!1:this.stream.push(","),this.stream.push(JSON.stringify(t))}end(){this.stream.push("]"),this.stream.push(null)}}class qe extends Aa.Readable{constructor(t,{encoding:r="object"}={}){if(super({objectMode:!0,read:()=>{}}),r==="object"&&(this.encoder=new ma(this)),r==="string"&&(this.encoder=new va(this)),!this.encoder)throw new Error(`unknown encoding: ${r}`);t.on("data",i=>{const l={};let s=l;i.graph.termType!=="DefaultGraph"&&(l["@id"]=i.graph.value,l["@graph"]={},s=l["@graph"]),s["@id"]=qe.subjectValue(i.subject),i.predicate.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"?s["@type"]=qe.subjectValue(i.object):s[i.predicate.value]=qe.objectValue(i.object),this.encoder.push(l)}),t.on("end",()=>this.encoder.end()),t.on("error",i=>this.emit("error",i))}static subjectValue(t){return t.termType==="BlankNode"?"_:"+t.value:t.value}static objectValue(t){return t.termType==="NamedNode"?{"@id":t.value}:t.termType==="BlankNode"?{"@id":"_:"+t.value}:t.language?{"@language":t.language,"@value":t.value}:t.datatype&&t.datatype.value!=="http://www.w3.org/2001/XMLSchema#string"?{"@type":t.datatype.value,"@value":t.value}:t.value}}class Ta extends hi{constructor(t){super(qe,t)}}class Ma extends Ta{constructor({...t}={}){super({encoding:"string",...t})}}export{Ma as default}; diff --git a/assets/CustomRdfXmlParser-wBGJPuYp.js b/assets/CustomRdfXmlParser-j_ZzoDnu.js similarity index 99% rename from assets/CustomRdfXmlParser-wBGJPuYp.js rename to assets/CustomRdfXmlParser-j_ZzoDnu.js index 1e38b74..29fedeb 100644 --- a/assets/CustomRdfXmlParser-wBGJPuYp.js +++ b/assets/CustomRdfXmlParser-j_ZzoDnu.js @@ -1,4 +1,4 @@ -import{a as pt,e as Pt,b as je,d as Be,s as vo,c as ve}from"./main-BG8rCUrd.js";import{r as Co,a as Io}from"./index-DwdYNYJQ.js";var pn={},tt={},it={},_n={};(function(t){/** +import{a as pt,e as Pt,b as je,d as Be,s as vo,c as ve}from"./main-UPTG37W_.js";import{r as Co,a as Io}from"./index-BlwBIAJx.js";var pn={},tt={},it={},_n={};(function(t){/** * Character classes and associated utilities for the 5th edition of XML 1.0. * * @author Louis-Dominique Dubeau diff --git a/assets/N3StreamParser-B-f1M1sF.js b/assets/N3StreamParser-BYVXsYqX.js similarity index 99% rename from assets/N3StreamParser-B-f1M1sF.js rename to assets/N3StreamParser-BYVXsYqX.js index 616c284..44acefa 100644 --- a/assets/N3StreamParser-B-f1M1sF.js +++ b/assets/N3StreamParser-BYVXsYqX.js @@ -1,3 +1,3 @@ -import{g as Fn,b as Ee,a as et,e as gt,d as $e,s as Wn}from"./main-BG8rCUrd.js";/*! queue-microtask. MIT License. Feross Aboukhadijeh */let Mr;var Bn=typeof queueMicrotask=="function"?queueMicrotask.bind(window):e=>(Mr||(Mr=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0));const Un=Fn(Bn),Ye="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Ke="http://www.w3.org/2001/XMLSchema#",Mt="http://www.w3.org/2000/10/swap/",ue={xsd:{decimal:`${Ke}decimal`,boolean:`${Ke}boolean`,double:`${Ke}double`,integer:`${Ke}integer`,string:`${Ke}string`},rdf:{type:`${Ye}type`,nil:`${Ye}nil`,first:`${Ye}first`,rest:`${Ye}rest`,langString:`${Ye}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${Mt}reify#forSome`,forAll:`${Mt}reify#forAll`},log:{implies:`${Mt}log#implies`}},{xsd:at}=ue,Gn=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,Or={"\\":"\\","'":"'",'"':'"',n:` +import{g as Fn,b as Ee,a as et,e as gt,d as $e,s as Wn}from"./main-UPTG37W_.js";/*! queue-microtask. MIT License. Feross Aboukhadijeh */let Mr;var Bn=typeof queueMicrotask=="function"?queueMicrotask.bind(window):e=>(Mr||(Mr=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0));const Un=Fn(Bn),Ye="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Ke="http://www.w3.org/2001/XMLSchema#",Mt="http://www.w3.org/2000/10/swap/",ue={xsd:{decimal:`${Ke}decimal`,boolean:`${Ke}boolean`,double:`${Ke}double`,integer:`${Ke}integer`,string:`${Ke}string`},rdf:{type:`${Ye}type`,nil:`${Ye}nil`,first:`${Ye}first`,rest:`${Ye}rest`,langString:`${Ye}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${Mt}reify#forSome`,forAll:`${Mt}reify#forAll`},log:{implies:`${Mt}log#implies`}},{xsd:at}=ue,Gn=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,Or={"\\":"\\","'":"'",'"':'"',n:` `,r:"\r",t:" ",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},qn=/[\x00-\x20<>\\"\{\}\|\^\`]/,Hn={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},Vn=/$0^/;class zn{constructor(t){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,t=t||{},this._lineMode=!!t.lineMode){this._n3Mode=!1;for(const r in this)!(r in Hn)&&this[r]instanceof RegExp&&(this[r]=Vn)}else this._n3Mode=t.n3!==!1;this.comments=!!t.comments,this._literalClosingPos=0}_tokenizeToEnd(t,r){let i=this._input,a=i.length;for(;;){let d,y;for(;d=this._newline.exec(i);)this.comments&&(y=this._comment.exec(d[0]))&&o("comment",y[1],"",this._line,d[0].length),i=i.substr(d[0].length,i.length),a=i.length,this._line++;if(!d&&(d=this._whitespace.exec(i))&&(i=i.substr(d[0].length,i.length)),this._endOfFile.test(i))return r&&(this.comments&&(y=this._comment.exec(i))&&o("comment",y[1],"",this._line,i.length),i=null,o("eof","","",this._line,0)),this._input=i;const _=this._line,g=i[0];let w="",c="",h="",p=null,b=0,A=!1;switch(g){case"^":if(i.length<3)break;if(i[1]==="^"){if(this._previousMarker="^^",i=i.substr(2),i[0]!=="<"){A=!0;break}}else{this._n3Mode&&(b=1,w="^");break}case"<":if(p=this._unescapedIri.exec(i))w="IRI",c=p[1];else if(p=this._iri.exec(i)){if(c=this._unescape(p[1]),c===null||qn.test(c))return l(this);w="IRI"}else i.length>1&&i[1]==="<"?(w="<<",b=2):this._n3Mode&&i.length>1&&i[1]==="="&&(w="inverse",b=2,c=">");break;case">":i.length>1&&i[1]===">"&&(w=">>",b=2);break;case"_":((p=this._blank.exec(i))||r&&(p=this._blank.exec(`${i} `)))&&(w="blank",h="_",c=p[1]);break;case'"':if(p=this._simpleQuotedString.exec(i))c=p[1];else if({value:c,matchLength:b}=this._parseLiteral(i),c===null)return l(this);(p!==null||b!==0)&&(w="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(p=this._simpleApostropheString.exec(i))c=p[1];else if({value:c,matchLength:b}=this._parseLiteral(i),c===null)return l(this);(p!==null||b!==0)&&(w="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(p=this._variable.exec(i))&&(w="var",c=p[0]);break;case"@":this._previousMarker==="literal"&&(p=this._langcode.exec(i))?(w="langcode",c=p[1]):(p=this._keyword.exec(i))&&(w=p[0]);break;case".":if(i.length===1?r:i[1]<"0"||i[1]>"9"){w=".",b=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(p=this._number.exec(i)||r&&(p=this._number.exec(`${i} `)))&&(w="literal",c=p[0],h=typeof p[1]=="string"?at.double:typeof p[2]=="string"?at.decimal:at.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(p=this._sparqlKeyword.exec(i))?w=p[0].toUpperCase():A=!0;break;case"f":case"t":(p=this._boolean.exec(i))?(w="literal",c=p[0],h=at.boolean):A=!0;break;case"a":(p=this._shortPredicates.exec(i))?(w="abbreviation",c="a"):A=!0;break;case"=":this._n3Mode&&i.length>1&&(w="abbreviation",i[1]!==">"?(b=1,c="="):(b=2,c=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"}":this._lineMode||(b=1,w=g);break;case"{":!this._lineMode&&i.length>=2&&(i[1]==="|"?(w="{|",b=2):(w=g,b=1));break;case"|":i.length>=2&&i[1]==="}"&&(w="|}",b=2);break;default:A=!0}if(A&&((this._previousMarker==="@prefix"||this._previousMarker==="PREFIX")&&(p=this._prefix.exec(i))?(w="prefix",c=p[1]||""):((p=this._prefixed.exec(i))||r&&(p=this._prefixed.exec(`${i} `)))&&(w="prefixed",h=p[1]||"",c=this._unescape(p[2]))),this._previousMarker==="^^")switch(w){case"prefixed":w="type";break;case"IRI":w="typeIRI";break;default:w=""}if(!w)return r||!/^'''|^"""/.test(i)&&/\n|\r/.test(i)?l(this):this._input=i;const $=b||p[0].length,N=o(w,c,h,_,$);this.previousToken=N,this._previousMarker=w,i=i.substr($,i.length)}function o(d,y,_,g,w){const c=i?a-i.length:a,h=c+w,p={type:d,value:y,prefix:_,line:g,start:c,end:h};return t(null,p),p}function l(d){t(d._syntaxError(/^\S*/.exec(i)[0]))}}_unescape(t){let r=!1;const i=t.replace(Gn,(a,o,l,d)=>{if(typeof o=="string")return String.fromCharCode(Number.parseInt(o,16));if(typeof l=="string"){let y=Number.parseInt(l,16);return y<=65535?String.fromCharCode(Number.parseInt(l,16)):String.fromCharCode(55296+((y-=65536)>>10),56320+(y&1023))}return d in Or?Or[d]:(r=!0,"")});return r?null:i}_parseLiteral(t){if(t.length>=3){const r=t.match(/^(?:"""|"|'''|'|)/)[0],i=r.length;let a=Math.max(this._literalClosingPos,i);for(;(a=t.indexOf(r,a))>0;){let o=0;for(;t[a-o-1]==="\\";)o++;if(o%2===0){const l=t.substring(i,a),d=l.split(/\r\n|\r|\n/).length-1,y=a+i;if(i===1&&d!==0||i===3&&this._lineMode)break;return this._line+=d,{value:this._unescape(l),matchLength:y}}a++}this._literalClosingPos=t.length-i+1}return{value:"",matchLength:0}}_syntaxError(t){this._input=null;const r=new Error(`Unexpected "${t}" on line ${this._line}.`);return r.context={token:void 0,line:this._line,previousToken:this.previousToken},r}_readStartingBom(t){return t.startsWith("\uFEFF")?t.substr(1):t}tokenize(t,r){if(this._line=1,typeof t=="string")if(this._input=this._readStartingBom(t),typeof r=="function")Un(()=>this._tokenizeToEnd(r,!0));else{const i=[];let a;if(this._tokenizeToEnd((o,l)=>o?a=o:i.push(l),!0),a)throw a;return i}else this._pendingBuffer=null,typeof t.setEncoding=="function"&&t.setEncoding("utf8"),t.on("data",i=>{this._input!==null&&i.length!==0&&(this._pendingBuffer&&(i=Ee.Buffer.concat([this._pendingBuffer,i]),this._pendingBuffer=null),i[i.length-1]&128?this._pendingBuffer=i:(typeof this._input>"u"?this._input=this._readStartingBom(typeof i=="string"?i:i.toString()):this._input+=i,this._tokenizeToEnd(r,!1)))}),t.on("end",()=>{typeof this._input=="string"&&this._tokenizeToEnd(r,!0)}),t.on("error",r)}}const{rdf:Qn,xsd:Ie}=ue;let Ge,Yn=0;const tr={namedNode:Ii,blankNode:Ni,variable:$i,literal:Pi,defaultGraph:Xn,quad:rr,triple:rr,fromTerm:Je,fromQuad:ki};class ce{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof ce?this.id===t.id:!!t&&this.termType===t.termType&&this.value===t.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}}class vi extends ce{get termType(){return"NamedNode"}}class We extends ce{get termType(){return"Literal"}get value(){return this.id.substring(1,this.id.lastIndexOf('"'))}get language(){const t=this.id;let r=t.lastIndexOf('"')+1;return r0?"INF":"-INF")))),r===""||r===Ie.string?new We(`"${e}"`):new We(`"${e}"^^${r}`)}function $i(e){return new Jn(e)}function Xn(){return Ge}function rr(e,t,r,i){return new Ti(e,t,r,i)}function Je(e){if(e instanceof ce)return e;switch(e.termType){case"NamedNode":return Ii(e.value);case"BlankNode":return Ni(e.value);case"Variable":return $i(e.value);case"DefaultGraph":return Ge;case"Literal":return Pi(e.value,e.language||e.datatype);case"Quad":return ki(e);default:throw new Error(`Unexpected termType: ${e.termType}`)}}function ki(e){if(e instanceof Ti)return e;if(e.termType!=="Quad")throw new Error(`Unexpected termType: ${e.termType}`);return rr(Je(e.subject),Je(e.predicate),Je(e.object),Je(e.graph))}let Cr=0;class Di{constructor(t){this._contextStack=[],this._graph=null,t=t||{},this._setBase(t.baseIRI),t.factory&&ji(this,t.factory);const r=typeof t.format=="string"?t.format.match(/\w*$/)[0].toLowerCase():"",i=/turtle/.test(r),a=/trig/.test(r),o=/triple/.test(r),l=/quad/.test(r),d=this._n3Mode=/n3/.test(r),y=o||l;(this._supportsNamedGraphs=!(i||d))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(i||a||o||d),this._supportsRDFStar=r===""||/star|\*$/.test(r),y&&(this._resolveRelativeIRI=_=>null),this._blankNodePrefix=typeof t.blankNodePrefix!="string"?"":t.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=t.lexer||new zn({lineMode:y,n3:d}),this._explicitQuantifiers=!!t.explicitQuantifiers}static _resetBlankNodePrefix(){Cr=0}_setBase(t){if(!t)this._base="",this._basePath="";else{const r=t.indexOf("#");r>=0&&(t=t.substr(0,r)),this._base=t,this._basePath=t.indexOf("/")<0?t:t.replace(/[^\/?]*(?:\?.*)?$/,""),t=t.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=t[0],this._baseScheme=t[1]}}_saveContext(t,r,i,a,o){const l=this._n3Mode;this._contextStack.push({type:t,subject:i,predicate:a,object:o,graph:r,inverse:l?this._inversePredicate:!1,blankPrefix:l?this._prefixes._:"",quantified:l?this._quantified:null}),l&&(this._inversePredicate=!1,this._prefixes._=this._graph?`${this._graph.value}.`:".",this._quantified=Object.create(this._quantified))}_restoreContext(t,r){const i=this._contextStack.pop();if(!i||i.type!==t)return this._error(`Unexpected ${r.type}`,r);this._subject=i.subject,this._predicate=i.predicate,this._object=i.object,this._graph=i.graph,this._n3Mode&&(this._inversePredicate=i.inverse,this._prefixes._=i.blankPrefix,this._quantified=i.quantified)}_readInTopContext(t){switch(t.type){case"eof":return this._graph!==null?this._error("Unclosed graph",t):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(t)}}_readEntity(t,r){let i;switch(t.type){case"IRI":case"typeIRI":const a=this._resolveIRI(t.value);if(a===null)return this._error("Invalid IRI",t);i=this._factory.namedNode(a);break;case"type":case"prefixed":const o=this._prefixes[t.prefix];if(o===void 0)return this._error(`Undefined prefix "${t.prefix}:"`,t);i=this._factory.namedNode(o+t.value);break;case"blank":i=this._factory.blankNode(this._prefixes[t.prefix]+t.value);break;case"var":i=this._factory.variable(t.value.substr(1));break;default:return this._error(`Expected entity but got ${t.type}`,t)}return!r&&this._n3Mode&&i.id in this._quantified&&(i=this._quantified[i.id]),i}_readSubject(t){switch(this._predicate=null,t.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._factory.blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._factory.blankNode(),null,null),this._readSubject):this._error("Unexpected graph",t);case"}":return this._readPunctuation(t);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier="blankNode",this._readQuantifierList):this._error('Unexpected "@forSome"',t);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier="variable",this._readQuantifierList):this._error('Unexpected "@forAll"',t);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",t);if(t.prefix.length===0)return this._literalValue=t.value,this._completeSubjectLiteral;this._subject=this._factory.literal(t.value,this._factory.namedNode(t.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",t);default:if((this._subject=this._readEntity(t))===void 0)return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(t){const r=t.type;switch(r){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[t.value];break;case".":case"]":case"}":return this._predicate===null?this._error(`Unexpected ${r}`,t):(this._subject=null,r==="]"?this._readBlankNodeTail(t):this._readPunctuation(t));case";":return this._predicate!==null?this._readPredicate:this._error("Expected predicate but got ;",t);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._factory.blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",t);default:if((this._predicate=this._readEntity(t))===void 0)return}return this._readObject}_readObject(t){switch(t.type){case"literal":if(t.prefix.length===0)return this._literalValue=t.value,this._readDataTypeOrLang;this._object=this._factory.literal(t.value,this._factory.namedNode(t.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._factory.blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",t);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",t);default:if((this._object=this._readEntity(t))===void 0)return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(t){return t.type==="{"?this._readGraph(t):this._readPredicate(t)}_readGraph(t){return t.type!=="{"?this._error(`Expected graph but got ${t.type}`,t):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(t){return t.type==="]"?(this._subject=null,this._readBlankNodeTail(t)):(this._predicate=null,this._readPredicate(t))}_readBlankNodeTail(t){if(t.type!=="]")return this._readBlankNodePunctuation(t);this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph);const r=this._predicate===null;return this._restoreContext("blank",t),this._object!==null?this._getContextEndReader():this._predicate!==null?this._readObject:r?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(t){switch(t.type){case".":case"}":return this._subject=null,this._readPunctuation(t);default:return this._readPredicate(t)}}_readListItem(t){let r=null,i=null,a=this._readListItem;const o=this._subject,l=this._contextStack,d=l[l.length-1];switch(t.type){case"[":this._saveContext("blank",this._graph,i=this._factory.blankNode(),this.RDF_FIRST,this._subject=r=this._factory.blankNode()),a=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,i=this._factory.blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext("list",t),l.length!==0&&l[l.length-1].type==="list"&&this._emit(this._subject,this._predicate,this._object,this._graph),this._predicate===null){if(a=this._readPredicate,this._subject===this.RDF_NIL)return a}else if(a=this._getContextEndReader(),this._object===this.RDF_NIL)return a;i=this.RDF_NIL;break;case"literal":t.prefix.length===0?(this._literalValue=t.value,a=this._readListItemDataTypeOrLang):(r=this._factory.literal(t.value,this._factory.namedNode(t.prefix)),a=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",t);default:if((r=this._readEntity(t))===void 0)return}if(i===null&&(this._subject=i=this._factory.blankNode()),o===null?d.predicate===null?d.subject=i:d.object=i:this._emit(o,this.RDF_REST,i,this._graph),r!==null){if(this._n3Mode&&(t.type==="IRI"||t.type==="prefixed"))return this._saveContext("item",this._graph,i,this.RDF_FIRST,r),this._subject=r,this._predicate=null,this._getPathReader(this._readListItem);this._emit(i,this.RDF_FIRST,r,this._graph)}return a}_readDataTypeOrLang(t){return this._completeObjectLiteral(t,!1)}_readListItemDataTypeOrLang(t){return this._completeObjectLiteral(t,!0)}_completeLiteral(t){let r=this._factory.literal(this._literalValue);switch(t.type){case"type":case"typeIRI":const i=this._readEntity(t);if(i===void 0)return;r=this._factory.literal(this._literalValue,i),t=null;break;case"langcode":r=this._factory.literal(this._literalValue,t.value),t=null;break}return{token:t,literal:r}}_completeSubjectLiteral(t){return this._subject=this._completeLiteral(t).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(t,r){const i=this._completeLiteral(t);if(i)return this._object=i.literal,r&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),i.token===null?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(i.token))}_readFormulaTail(t){return t.type!=="}"?this._readPunctuation(t):(this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext("formula",t),this._object===null?this._readPredicate:this._getContextEndReader())}_readPunctuation(t){let r,i=this._graph;const a=this._subject,o=this._inversePredicate;switch(t.type){case"}":if(this._graph===null)return this._error("Unexpected graph closing",t);if(this._n3Mode)return this._readFormulaTail(t);this._graph=null;case".":this._subject=null,r=this._contextStack.length?this._readSubject:this._readInTopContext,o&&(this._inversePredicate=!1);break;case";":r=this._readPredicate;break;case",":r=this._readObject;break;case"{|":if(!this._supportsRDFStar)return this._error("Unexpected RDF-star syntax",t);const l=this._predicate,d=this._object;this._subject=this._factory.quad(a,l,d,this.DEFAULTGRAPH),r=this._readPredicate;break;case"|}":if(this._subject.termType!=="Quad")return this._error("Unexpected asserted triple closing",t);this._subject=null,r=this._readPunctuation;break;default:if(this._supportsQuads&&this._graph===null&&(i=this._readEntity(t))!==void 0){r=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}if(a!==null){const l=this._predicate,d=this._object;o?this._emit(d,l,a,i):this._emit(a,l,d,i)}return r}_readBlankNodePunctuation(t){let r;switch(t.type){case";":r=this._readPredicate;break;case",":r=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}return this._emit(this._subject,this._predicate,this._object,this._graph),r}_readQuadPunctuation(t){return t.type!=="."?this._error("Expected dot to follow quad",t):this._readInTopContext}_readPrefix(t){return t.type!=="prefix"?this._error("Expected prefix to follow @prefix",t):(this._prefix=t.value,this._readPrefixIRI)}_readPrefixIRI(t){if(t.type!=="IRI")return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,t);const r=this._readEntity(t);return this._prefixes[this._prefix]=r.value,this._prefixCallback(this._prefix,r),this._readDeclarationPunctuation}_readBaseIRI(t){const r=t.type==="IRI"&&this._resolveIRI(t.value);return r?(this._setBase(r),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",t)}_readNamedGraphLabel(t){switch(t.type){case"IRI":case"blank":case"prefixed":return this._readSubject(t),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",t)}}_readNamedGraphBlankLabel(t){return t.type!=="]"?this._error("Invalid graph label",t):(this._subject=this._factory.blankNode(),this._readGraph)}_readDeclarationPunctuation(t){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(t)):t.type!=="."?this._error("Expected declaration to end with a dot",t):this._readInTopContext}_readQuantifierList(t){let r;switch(t.type){case"IRI":case"prefixed":if((r=this._readEntity(t,!0))!==void 0)break;default:return this._error(`Unexpected ${t.type}`,t)}return this._explicitQuantifiers?(this._subject===null?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,r,this.QUANTIFIERS_GRAPH)):this._quantified[r.id]=this._factory[this._quantifier](this._factory.blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(t){return t.type===","?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(t))}_getPathReader(t){return this._afterPath=t,this._readPath}_readPath(t){switch(t.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const r=this._contextStack,i=r.length&&r[r.length-1];if(i&&i.type==="item"){const a=this._subject;this._restoreContext("item",t),this._emit(this._subject,this.RDF_FIRST,a,this._graph)}return this._afterPath(t)}}_readForwardPath(t){let r,i;const a=this._factory.blankNode();if((i=this._readEntity(t))!==void 0)return this._predicate===null?(r=this._subject,this._subject=a):(r=this._object,this._object=a),this._emit(r,i,a,this._graph),this._readPath}_readBackwardPath(t){const r=this._factory.blankNode();let i,a;if((i=this._readEntity(t))!==void 0)return this._predicate===null?(a=this._subject,this._subject=r):(a=this._object,this._object=r),this._emit(r,i,a,this._graph),this._readPath}_readRDFStarTailOrGraph(t){return t.type!==">>"?this._supportsQuads&&this._graph===null&&(this._graph=this._readEntity(t))!==void 0?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,t):this._readRDFStarTail(t)}_readRDFStarTail(t){if(t.type!==">>")return this._error(`Expected >> but got ${t.type}`,t);const r=this._factory.quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext("<<",t),this._subject===null?(this._subject=r,this._readPredicate):(this._object=r,this._getContextEndReader())}_getContextEndReader(){const t=this._contextStack;if(!t.length)return this._readPunctuation;switch(t[t.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(t,r,i,a){this._callback(null,this._factory.quad(t,r,i,a||this.DEFAULTGRAPH))}_error(t,r){const i=new Error(`${t} on line ${r.line}.`);i.context={token:r,line:r.line,previousToken:this._lexer.previousToken},this._callback(i),this._callback=lt}_resolveIRI(t){return/^[a-z][a-z0-9+.-]*:/i.test(t)?t:this._resolveRelativeIRI(t)}_resolveRelativeIRI(t){if(!t.length)return this._base;switch(t[0]){case"#":return this._base+t;case"?":return this._base.replace(/(?:\?.*)?$/,t);case"/":return(t[1]==="/"?this._baseScheme:this._baseRoot)+this._removeDotSegments(t);default:return/^[^/:]*:/.test(t)?null:this._removeDotSegments(this._basePath+t)}}_removeDotSegments(t){if(!/(^|\/)\.\.?($|[/#?])/.test(t))return t;const r=t.length;let i="",a=-1,o=-1,l=0,d="/";for(;a=o&&(i=i.substr(0,l)),d!=="/")return`${i}/${t.substr(a+1)}`;l=a+1}}}d=t[++a]}return i+t.substring(l)}parse(t,r,i){let a,o,l;if(r&&(r.onQuad||r.onPrefix||r.onComment)?(a=r.onQuad,o=r.onPrefix,l=r.onComment):(a=r,o=i),this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${Cr++}_`,this._prefixCallback=o||lt,this._inversePredicate=!1,this._quantified=Object.create(null),!a){const y=[];let _;if(this._callback=(g,w)=>{g?_=g:w&&y.push(w)},this._lexer.tokenize(t).every(g=>this._readCallback=this._readCallback(g)),_)throw _;return y}let d=(y,_)=>{y!==null?(this._callback(y),this._callback=lt):this._readCallback&&(this._readCallback=this._readCallback(_))};l&&(this._lexer.comments=!0,d=(y,_)=>{y!==null?(this._callback(y),this._callback=lt):this._readCallback&&(_.type==="comment"?l(_.value):this._readCallback=this._readCallback(_))}),this._callback=a,this._lexer.tokenize(t,d)}}function lt(){}function ji(e,t){e._factory=t,e.DEFAULTGRAPH=t.defaultGraph(),e.RDF_FIRST=t.namedNode(ue.rdf.first),e.RDF_REST=t.namedNode(ue.rdf.rest),e.RDF_NIL=t.namedNode(ue.rdf.nil),e.N3_FORALL=t.namedNode(ue.r.forAll),e.N3_FORSOME=t.namedNode(ue.r.forSome),e.ABBREVIATIONS={a:t.namedNode(ue.rdf.type),"=":t.namedNode(ue.owl.sameAs),">":t.namedNode(ue.log.implies)},e.QUANTIFIERS_GRAPH=t.namedNode("urn:n3:quantifiers")}ji(Di.prototype,tr);var Li={exports:{}},Ot={exports:{}},H={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},Mi={exports:{}};(function(e){const t=Ee,{kResistStopPropagation:r,SymbolDispose:i}=H,a=globalThis.AbortSignal||et().AbortSignal,o=globalThis.AbortController||et().AbortController,l=Object.getPrototypeOf(async function(){}).constructor,d=globalThis.Blob||t.Blob,y=typeof d<"u"?function(h){return h instanceof d}:function(h){return!1},_=(c,h)=>{if(c!==void 0&&(c===null||typeof c!="object"||!("aborted"in c)))throw new ERR_INVALID_ARG_TYPE(h,"AbortSignal",c)},g=(c,h)=>{if(typeof c!="function")throw new ERR_INVALID_ARG_TYPE(h,"Function",c)};class w extends Error{constructor(h){if(!Array.isArray(h))throw new TypeError(`Expected input to be an Array, got ${typeof h}`);let p="";for(let b=0;b{c=b,h=A}),resolve:c,reject:h}},promisify(c){return new Promise((h,p)=>{c((b,...A)=>b?p(b):h(...A))})},debuglog(){return function(){}},format(c,...h){return c.replace(/%([sdifj])/g,function(...[p,b]){const A=h.shift();return b==="f"?A.toFixed(6):b==="j"?JSON.stringify(A):b==="s"&&typeof A=="object"?`${A.constructor!==Object?A.constructor.name:""} {}`.trim():A.toString()})},inspect(c){switch(typeof c){case"string":if(c.includes("'"))if(c.includes('"')){if(!c.includes("`")&&!c.includes("${"))return`\`${c}\``}else return`"${c}"`;return`'${c}'`;case"number":return isNaN(c)?"NaN":Object.is(c,-0)?String(c):c;case"bigint":return`${String(c)}n`;case"boolean":case"undefined":return String(c);case"object":return"{}"}},types:{isAsyncFunction(c){return c instanceof l},isArrayBufferView(c){return ArrayBuffer.isView(c)}},isBlob:y,deprecate(c,h){return c},addAbortListener:gt.addAbortListener||function(h,p){if(h===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",h);_(h,"signal"),g(p,"listener");let b;return h.aborted?queueMicrotask(()=>p()):(h.addEventListener("abort",p,{__proto__:null,once:!0,[r]:!0}),b=()=>{h.removeEventListener("abort",p)}),{__proto__:null,[i](){var A;(A=b)===null||A===void 0||A()}}},AbortSignalAny:a.any||function(h){if(h.length===1)return h[0];const p=new o,b=()=>p.abort();return h.forEach(A=>{_(A,"signals"),A.addEventListener("abort",b,{once:!0})}),p.signal.addEventListener("abort",()=>{h.forEach(A=>A.removeEventListener("abort",b))},{once:!0}),p.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(Mi);var te=Mi.exports,_r={};const{format:ea,inspect:_t,AggregateError:ta}=te,ra=globalThis.AggregateError||ta,ia=Symbol("kIsNodeError"),na=["string","function","number","object","Function","Object","boolean","bigint","symbol"],aa=/^([A-Z][a-z0-9]*)+$/,sa="__node_internal_",yt={};function Ne(e,t){if(!e)throw new yt.ERR_INTERNAL_ASSERTION(t)}function Fr(e){let t="",r=e.length;const i=e[0]==="-"?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function oa(e,t,r){if(typeof t=="function")return Ne(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return Ne(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),r.length===0?t:ea(t,...r)}function Z(e,t,r){r||(r=Error);class i extends r{constructor(...o){super(oa(e,t,o))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[ia]=!0,yt[e]=i}function Wr(e){const t=sa+e.name;return Object.defineProperty(e,"name",{value:t}),e}function la(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new ra([t,e],t.message);return r.code=t.code,r}return e||t}let ua=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new yt.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};Z("ERR_ASSERTION","%s",Error);Z("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Ne(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";e.endsWith(" argument")?i+=`${e} `:i+=`"${e}" ${e.includes(".")?"property":"argument"} `,i+="must be ";const a=[],o=[],l=[];for(const y of t)Ne(typeof y=="string","All expected entries have to be of type string"),na.includes(y)?a.push(y.toLowerCase()):aa.test(y)?o.push(y):(Ne(y!=="object",'The value "object" should be written as "Object"'),l.push(y));if(o.length>0){const y=a.indexOf("object");y!==-1&&(a.splice(a,y,1),o.push("Object"))}if(a.length>0){switch(a.length){case 1:i+=`of type ${a[0]}`;break;case 2:i+=`one of type ${a[0]} or ${a[1]}`;break;default:{const y=a.pop();i+=`one of type ${a.join(", ")}, or ${y}`}}(o.length>0||l.length>0)&&(i+=" or ")}if(o.length>0){switch(o.length){case 1:i+=`an instance of ${o[0]}`;break;case 2:i+=`an instance of ${o[0]} or ${o[1]}`;break;default:{const y=o.pop();i+=`an instance of ${o.join(", ")}, or ${y}`}}l.length>0&&(i+=" or ")}switch(l.length){case 0:break;case 1:l[0].toLowerCase()!==l[0]&&(i+="an "),i+=`${l[0]}`;break;case 2:i+=`one of ${l[0]} or ${l[1]}`;break;default:{const y=l.pop();i+=`one of ${l.join(", ")}, or ${y}`}}if(r==null)i+=`. Received ${r}`;else if(typeof r=="function"&&r.name)i+=`. Received function ${r.name}`;else if(typeof r=="object"){var d;if((d=r.constructor)!==null&&d!==void 0&&d.name)i+=`. Received an instance of ${r.constructor.name}`;else{const y=_t(r,{depth:-1});i+=`. Received ${y}`}}else{let y=_t(r,{colors:!1});y.length>25&&(y=`${y.slice(0,25)}...`),i+=`. Received type ${typeof r} (${y})`}return i},TypeError);Z("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let i=_t(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${i}`},TypeError);Z("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var i;const a=r!=null&&(i=r.constructor)!==null&&i!==void 0&&i.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${a}.`},TypeError);Z("ERR_MISSING_ARGS",(...e)=>{Ne(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(i=>`"${i}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const i=e.pop();t+=`The ${e.join(", ")}, and ${i} arguments`}break}return`${t} must be specified`},TypeError);Z("ERR_OUT_OF_RANGE",(e,t,r)=>{Ne(t,'Missing "range" argument');let i;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Fr(String(r)):typeof r=="bigint"?(i=String(r),(r>2n**32n||r<-(2n**32n))&&(i=Fr(i)),i+="n"):i=_t(r),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`},RangeError);Z("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Z("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Z("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Z("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Z("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Z("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Z("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Z("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Z("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Z("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Z("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var ne={AbortError:ua,aggregateTwoErrors:Wr(la),hideStackFrames:Wr,codes:yt};const{ArrayIsArray:br,ArrayPrototypeIncludes:Oi,ArrayPrototypeJoin:Ci,ArrayPrototypeMap:fa,NumberIsInteger:pr,NumberIsNaN:da,NumberMAX_SAFE_INTEGER:ca,NumberMIN_SAFE_INTEGER:ha,NumberParseInt:_a,ObjectPrototypeHasOwnProperty:ba,RegExpPrototypeExec:Fi,String:pa,StringPrototypeToUpperCase:ga,StringPrototypeTrim:ya}=H,{hideStackFrames:oe,codes:{ERR_SOCKET_BAD_PORT:wa,ERR_INVALID_ARG_TYPE:ee,ERR_INVALID_ARG_VALUE:qe,ERR_OUT_OF_RANGE:Pe,ERR_UNKNOWN_SIGNAL:Br}}=ne,{normalizeEncoding:Sa}=te,{isAsyncFunction:Ra,isArrayBufferView:Ea}=te.types,Ur={};function ma(e){return e===(e|0)}function xa(e){return e===e>>>0}const Aa=/^[0-7]+$/,va="must be a 32-bit unsigned integer or an octal string";function Ta(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(Fi(Aa,e)===null)throw new qe(t,e,va);e=_a(e,8)}return Wi(e,t),e}const Ia=oe((e,t,r=ha,i=ca)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!pr(e))throw new Pe(t,"an integer",e);if(ei)throw new Pe(t,`>= ${r} && <= ${i}`,e)}),Na=oe((e,t,r=-2147483648,i=2147483647)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!pr(e))throw new Pe(t,"an integer",e);if(ei)throw new Pe(t,`>= ${r} && <= ${i}`,e)}),Wi=oe((e,t,r=!1)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!pr(e))throw new Pe(t,"an integer",e);const i=r?1:0,a=4294967295;if(ea)throw new Pe(t,`>= ${i} && <= ${a}`,e)});function gr(e,t){if(typeof e!="string")throw new ee(t,"string",e)}function Pa(e,t,r=void 0,i){if(typeof e!="number")throw new ee(t,"number",e);if(r!=null&&ei||(r!=null||i!=null)&&da(e))throw new Pe(t,`${r!=null?`>= ${r}`:""}${r!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,e)}const $a=oe((e,t,r)=>{if(!Oi(r,e)){const a="must be one of: "+Ci(fa(r,o=>typeof o=="string"?`'${o}'`:pa(o)),", ");throw new qe(t,e,a)}});function Bi(e,t){if(typeof e!="boolean")throw new ee(t,"boolean",e)}function Ct(e,t,r){return e==null||!ba(e,t)?r:e[t]}const ka=oe((e,t,r=null)=>{const i=Ct(r,"allowArray",!1),a=Ct(r,"allowFunction",!1);if(!Ct(r,"nullable",!1)&&e===null||!i&&br(e)||typeof e!="object"&&(!a||typeof e!="function"))throw new ee(t,"Object",e)}),Da=oe((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new ee(t,"a dictionary",e)}),wt=oe((e,t,r=0)=>{if(!br(e))throw new ee(t,"Array",e);if(e.length{if(!Ea(e))throw new ee(t,["Buffer","TypedArray","DataView"],e)});function Fa(e,t){const r=Sa(t),i=e.length;if(r==="hex"&&i%2!==0)throw new qe("encoding",t,`is invalid for data of length ${i}`)}function Wa(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&ya(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new wa(t,e,r);return e|0}const Ui=oe((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new ee(t,"AbortSignal",e)}),Ba=oe((e,t)=>{if(typeof e!="function")throw new ee(t,"Function",e)}),Ua=oe((e,t)=>{if(typeof e!="function"||Ra(e))throw new ee(t,"Function",e)}),Ga=oe((e,t)=>{if(e!==void 0)throw new ee(t,"undefined",e)});function qa(e,t,r){if(!Oi(r,e))throw new ee(t,`('${Ci(r,"|")}')`,e)}const Ha=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Gr(e,t){if(typeof e>"u"||!Fi(Ha,e))throw new qe(t,e,'must be an array or string of format "; rel=preload; as=style"')}function Va(e){if(typeof e=="string")return Gr(e,"hints"),e;if(br(e)){const t=e.length;let r="";if(t===0)return r;for(let i=0;i; rel=preload; as=style"')}var tt={isInt32:ma,isUint32:xa,parseFileMode:Ta,validateArray:wt,validateStringArray:ja,validateBooleanArray:La,validateAbortSignalArray:Ma,validateBoolean:Bi,validateBuffer:Ca,validateDictionary:Da,validateEncoding:Fa,validateFunction:Ba,validateInt32:Na,validateInteger:Ia,validateNumber:Pa,validateObject:ka,validateOneOf:$a,validatePlainFunction:Ua,validatePort:Wa,validateSignalName:Oa,validateString:gr,validateUint32:Wi,validateUndefined:Ga,validateUnion:qa,validateAbortSignal:Ui,validateLinkHeaderValue:Va},yr={exports:{}};const{SymbolAsyncIterator:qr,SymbolIterator:Hr,SymbolFor:ke}=H,Gi=ke("nodejs.stream.destroyed"),qi=ke("nodejs.stream.errored"),ir=ke("nodejs.stream.readable"),nr=ke("nodejs.stream.writable"),Hi=ke("nodejs.stream.disturbed"),za=ke("nodejs.webstream.isClosedPromise"),Qa=ke("nodejs.webstream.controllerErrorFunction");function St(e,t=!1){var r;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((r=e._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!e._writableState||e._readableState))}function Rt(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function Ya(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function he(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function Vi(e){return!!(e&&!he(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function zi(e){return!!(e&&!he(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function Qi(e){return!!(e&&!he(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function Ka(e){return Vi(e)||zi(e)||Qi(e)}function Ja(e,t){return e==null?!1:t===!0?typeof e[qr]=="function":t===!1?typeof e[Hr]=="function":typeof e[qr]=="function"||typeof e[Hr]=="function"}function Et(e){if(!he(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!!(e.destroyed||e[Gi]||i!=null&&i.destroyed)}function Yi(e){if(!Rt(e))return null;if(e.writableEnded===!0)return!0;const t=e._writableState;return t!=null&&t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function Za(e,t){if(!Rt(e))return null;if(e.writableFinished===!0)return!0;const r=e._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.finished)!="boolean"?null:!!(r.finished||t===!1&&r.ended===!0&&r.length===0)}function Xa(e){if(!St(e))return null;if(e.readableEnded===!0)return!0;const t=e._readableState;return!t||t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function Ki(e,t){if(!St(e))return null;const r=e._readableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.endEmitted)!="boolean"?null:!!(r.endEmitted||t===!1&&r.ended===!0&&r.length===0)}function Ji(e){return e&&e[ir]!=null?e[ir]:typeof(e==null?void 0:e.readable)!="boolean"?null:Et(e)?!1:St(e)&&e.readable&&!Ki(e)}function Zi(e){return e&&e[nr]!=null?e[nr]:typeof(e==null?void 0:e.writable)!="boolean"?null:Et(e)?!1:Rt(e)&&e.writable&&!Yi(e)}function es(e,t){return he(e)?Et(e)?!0:!((t==null?void 0:t.readable)!==!1&&Ji(e)||(t==null?void 0:t.writable)!==!1&&Zi(e)):null}function ts(e){var t,r;return he(e)?e.writableErrored?e.writableErrored:(t=(r=e._writableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function rs(e){var t,r;return he(e)?e.readableErrored?e.readableErrored:(t=(r=e._readableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function is(e){if(!he(e))return null;if(typeof e.closed=="boolean")return e.closed;const t=e._writableState,r=e._readableState;return typeof(t==null?void 0:t.closed)=="boolean"||typeof(r==null?void 0:r.closed)=="boolean"?(t==null?void 0:t.closed)||(r==null?void 0:r.closed):typeof e._closed=="boolean"&&Xi(e)?e._closed:null}function Xi(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function en(e){return typeof e._sent100=="boolean"&&Xi(e)}function ns(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function as(e){if(!he(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!i&&en(e)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function ss(e){var t;return!!(e&&((t=e[Hi])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function os(e){var t,r,i,a,o,l,d,y,_,g;return!!(e&&((t=(r=(i=(a=(o=(l=e[qi])!==null&&l!==void 0?l:e.readableErrored)!==null&&o!==void 0?o:e.writableErrored)!==null&&a!==void 0?a:(d=e._readableState)===null||d===void 0?void 0:d.errorEmitted)!==null&&i!==void 0?i:(y=e._writableState)===null||y===void 0?void 0:y.errorEmitted)!==null&&r!==void 0?r:(_=e._readableState)===null||_===void 0?void 0:_.errored)!==null&&t!==void 0?t:!((g=e._writableState)===null||g===void 0)&&g.errored))}var we={isDestroyed:Et,kIsDestroyed:Gi,isDisturbed:ss,kIsDisturbed:Hi,isErrored:os,kIsErrored:qi,isReadable:Ji,kIsReadable:ir,kIsClosedPromise:za,kControllerErrorFunction:Qa,kIsWritable:nr,isClosed:is,isDuplexNodeStream:Ya,isFinished:es,isIterable:Ja,isReadableNodeStream:St,isReadableStream:Vi,isReadableEnded:Xa,isReadableFinished:Ki,isReadableErrored:rs,isNodeStream:he,isWebStream:Ka,isWritable:Zi,isWritableNodeStream:Rt,isWritableStream:zi,isWritableEnded:Yi,isWritableFinished:Za,isWritableErrored:ts,isServerRequest:ns,isServerResponse:en,willEmitClose:as,isTransformStream:Qi};const Re=$e,{AbortError:tn,codes:ls}=ne,{ERR_INVALID_ARG_TYPE:us,ERR_STREAM_PREMATURE_CLOSE:Vr}=ls,{kEmptyObject:ar,once:sr}=te,{validateAbortSignal:fs,validateFunction:ds,validateObject:cs,validateBoolean:hs}=tt,{Promise:_s,PromisePrototypeThen:bs,SymbolDispose:rn}=H,{isClosed:ps,isReadable:zr,isReadableNodeStream:Ft,isReadableStream:gs,isReadableFinished:Qr,isReadableErrored:Yr,isWritable:Kr,isWritableNodeStream:Jr,isWritableStream:ys,isWritableFinished:Zr,isWritableErrored:Xr,isNodeStream:ws,willEmitClose:Ss,kIsClosedPromise:Rs}=we;let Be;function Es(e){return e.setHeader&&typeof e.abort=="function"}const or=()=>{};function nn(e,t,r){var i,a;if(arguments.length===2?(r=t,t=ar):t==null?t=ar:cs(t,"options"),ds(r,"callback"),fs(t.signal,"options.signal"),r=sr(r),gs(e)||ys(e))return ms(e,t,r);if(!ws(e))throw new us("stream",["ReadableStream","WritableStream","Stream"],e);const o=(i=t.readable)!==null&&i!==void 0?i:Ft(e),l=(a=t.writable)!==null&&a!==void 0?a:Jr(e),d=e._writableState,y=e._readableState,_=()=>{e.writable||c()};let g=Ss(e)&&Ft(e)===o&&Jr(e)===l,w=Zr(e,!1);const c=()=>{w=!0,e.destroyed&&(g=!1),!(g&&(!e.readable||o))&&(!o||h)&&r.call(e)};let h=Qr(e,!1);const p=()=>{h=!0,e.destroyed&&(g=!1),!(g&&(!e.writable||l))&&(!l||w)&&r.call(e)},b=D=>{r.call(e,D)};let A=ps(e);const $=()=>{A=!0;const D=Xr(e)||Yr(e);if(D&&typeof D!="boolean")return r.call(e,D);if(o&&!h&&Ft(e,!0)&&!Qr(e,!1))return r.call(e,new Vr);if(l&&!w&&!Zr(e,!1))return r.call(e,new Vr);r.call(e)},N=()=>{A=!0;const D=Xr(e)||Yr(e);if(D&&typeof D!="boolean")return r.call(e,D);r.call(e)},R=()=>{e.req.on("finish",c)};Es(e)?(e.on("complete",c),g||e.on("abort",$),e.req?R():e.on("request",R)):l&&!d&&(e.on("end",_),e.on("close",_)),!g&&typeof e.aborted=="boolean"&&e.on("aborted",$),e.on("end",p),e.on("finish",c),t.error!==!1&&e.on("error",b),e.on("close",$),A?Re.nextTick($):d!=null&&d.errorEmitted||y!=null&&y.errorEmitted?g||Re.nextTick(N):(!o&&(!g||zr(e))&&(w||Kr(e)===!1)||!l&&(!g||Kr(e))&&(h||zr(e)===!1)||y&&e.req&&e.aborted)&&Re.nextTick(N);const W=()=>{r=or,e.removeListener("aborted",$),e.removeListener("complete",c),e.removeListener("abort",$),e.removeListener("request",R),e.req&&e.req.removeListener("finish",c),e.removeListener("end",_),e.removeListener("close",_),e.removeListener("finish",c),e.removeListener("end",p),e.removeListener("error",b),e.removeListener("close",$)};if(t.signal&&!A){const D=()=>{const K=r;W(),K.call(e,new tn(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)Re.nextTick(D);else{Be=Be||te.addAbortListener;const K=Be(t.signal,D),ae=r;r=sr((...U)=>{K[rn](),ae.apply(e,U)})}}return W}function ms(e,t,r){let i=!1,a=or;if(t.signal)if(a=()=>{i=!0,r.call(e,new tn(void 0,{cause:t.signal.reason}))},t.signal.aborted)Re.nextTick(a);else{Be=Be||te.addAbortListener;const l=Be(t.signal,a),d=r;r=sr((...y)=>{l[rn](),d.apply(e,y)})}const o=(...l)=>{i||Re.nextTick(()=>r.apply(e,l))};return bs(e[Rs].promise,o,o),or}function xs(e,t){var r;let i=!1;return t===null&&(t=ar),(r=t)!==null&&r!==void 0&&r.cleanup&&(hs(t.cleanup,"cleanup"),i=t.cleanup),new _s((a,o)=>{const l=nn(e,t,d=>{i&&l(),d?o(d):a()})})}yr.exports=nn;yr.exports.finished=xs;var me=yr.exports;const fe=$e,{aggregateTwoErrors:As,codes:{ERR_MULTIPLE_CALLBACK:vs},AbortError:Ts}=ne,{Symbol:an}=H,{kIsDestroyed:Is,isDestroyed:Ns,isFinished:Ps,isServerRequest:$s}=we,sn=an("kDestroy"),lr=an("kConstruct");function on(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function ks(e,t){const r=this._readableState,i=this._writableState,a=i||r;return i!=null&&i.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(on(e,i,r),i&&(i.destroyed=!0),r&&(r.destroyed=!0),a.constructed?ei(this,e,t):this.once(sn,function(o){ei(this,As(o,e),t)}),this)}function ei(e,t,r){let i=!1;function a(o){if(i)return;i=!0;const l=e._readableState,d=e._writableState;on(o,d,l),d&&(d.closed=!0),l&&(l.closed=!0),typeof r=="function"&&r(o),o?fe.nextTick(Ds,e,o):fe.nextTick(ln,e)}try{e._destroy(t||null,a)}catch(o){a(o)}}function Ds(e,t){ur(e,t),ln(e)}function ln(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function ur(e,t){const r=e._readableState,i=e._writableState;i!=null&&i.errorEmitted||r!=null&&r.errorEmitted||(i&&(i.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function js(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function fr(e,t,r){const i=e._readableState,a=e._writableState;if(a!=null&&a.destroyed||i!=null&&i.destroyed)return this;i!=null&&i.autoDestroy||a!=null&&a.autoDestroy?e.destroy(t):t&&(t.stack,a&&!a.errored&&(a.errored=t),i&&!i.errored&&(i.errored=t),r?fe.nextTick(ur,e,t):ur(e,t))}function Ls(e,t){if(typeof e._construct!="function")return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(lr,t),!(e.listenerCount(lr)>1)&&fe.nextTick(Ms,e)}function Ms(e){let t=!1;function r(i){if(t){fr(e,i??new vs);return}t=!0;const a=e._readableState,o=e._writableState,l=o||a;a&&(a.constructed=!0),o&&(o.constructed=!0),l.destroyed?e.emit(sn,i):i?fr(e,i,!0):fe.nextTick(Os,e)}try{e._construct(i=>{fe.nextTick(r,i)})}catch(i){fe.nextTick(r,i)}}function Os(e){e.emit(lr)}function ti(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function un(e){e.emit("close")}function Cs(e,t){e.emit("error",t),fe.nextTick(un,e)}function Fs(e,t){!e||Ns(e)||(!t&&!Ps(e)&&(t=new Ts),$s(e)?(e.socket=null,e.destroy(t)):ti(e)?e.abort():ti(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?fe.nextTick(Cs,e,t):fe.nextTick(un,e),e.destroyed||(e[Is]=!0))}var He={construct:Ls,destroyer:Fs,destroy:ks,undestroy:js,errorOrDestroy:fr};const{ArrayIsArray:Ws,ObjectSetPrototypeOf:fn}=H,{EventEmitter:mt}=gt;function xt(e){mt.call(this,e)}fn(xt.prototype,mt.prototype);fn(xt,mt);xt.prototype.pipe=function(e,t){const r=this;function i(g){e.writable&&e.write(g)===!1&&r.pause&&r.pause()}r.on("data",i);function a(){r.readable&&r.resume&&r.resume()}e.on("drain",a),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",l),r.on("close",d));let o=!1;function l(){o||(o=!0,e.end())}function d(){o||(o=!0,typeof e.destroy=="function"&&e.destroy())}function y(g){_(),mt.listenerCount(this,"error")===0&&this.emit("error",g)}dr(r,"error",y),dr(e,"error",y);function _(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",l),r.removeListener("close",d),r.removeListener("error",y),e.removeListener("error",y),r.removeListener("end",_),r.removeListener("close",_),e.removeListener("close",_)}return r.on("end",_),r.on("close",_),e.on("close",_),e.emit("pipe",r),e};function dr(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Ws(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var wr={Stream:xt,prependListener:dr},dn={exports:{}};(function(e){const{SymbolDispose:t}=H,{AbortError:r,codes:i}=ne,{isNodeStream:a,isWebStream:o,kControllerErrorFunction:l}=we,d=me,{ERR_INVALID_ARG_TYPE:y}=i;let _;const g=(w,c)=>{if(typeof w!="object"||!("aborted"in w))throw new y(c,"AbortSignal",w)};e.exports.addAbortSignal=function(c,h){if(g(c,"signal"),!a(h)&&!o(h))throw new y("stream",["ReadableStream","WritableStream","Stream"],h);return e.exports.addAbortSignalNoValidate(c,h)},e.exports.addAbortSignalNoValidate=function(w,c){if(typeof w!="object"||!("aborted"in w))return c;const h=a(c)?()=>{c.destroy(new r(void 0,{cause:w.reason}))}:()=>{c[l](new r(void 0,{cause:w.reason}))};if(w.aborted)h();else{_=_||te.addAbortListener;const p=_(w,h);d(c,p[t])}return c}})(dn);var At=dn.exports;const{StringPrototypeSlice:ri,SymbolIterator:Bs,TypedArrayPrototypeSet:ut,Uint8Array:Us}=H,{Buffer:Wt}=Ee,{inspect:Gs}=te;var qs=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,i=""+r.data;for(;(r=r.next)!==null;)i+=t+r.data;return i}concat(t){if(this.length===0)return Wt.alloc(0);const r=Wt.allocUnsafe(t>>>0);let i=this.head,a=0;for(;i;)ut(r,i.data,a),a+=i.data.length,i=i.next;return r}consume(t,r){const i=this.head.data;if(to.length)r+=o,t-=o.length;else{t===o.length?(r+=o,++a,i.next?this.head=i.next:this.head=this.tail=null):(r+=ri(o,0,t),this.head=i,i.data=ri(o,t));break}++a}while((i=i.next)!==null);return this.length-=a,r}_getBuffer(t){const r=Wt.allocUnsafe(t),i=t;let a=this.head,o=0;do{const l=a.data;if(t>l.length)ut(r,l,i-t),t-=l.length;else{t===l.length?(ut(r,l,i-t),++o,a.next?this.head=a.next:this.head=this.tail=null):(ut(r,new Us(l.buffer,l.byteOffset,t),i-t),this.head=a,a.data=l.slice(t));break}++o}while((a=a.next)!==null);return this.length-=o,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return Gs(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:Hs,NumberIsInteger:Vs}=H,{validateInteger:zs}=tt,{ERR_INVALID_ARG_VALUE:Qs}=ne.codes;let cn=16*1024,hn=16;function Ys(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function _n(e){return e?hn:cn}function Ks(e,t){zs(t,"value",0),e?hn=t:cn=t}function Js(e,t,r,i){const a=Ys(t,i,r);if(a!=null){if(!Vs(a)||a<0){const o=i?`options.${r}`:"options.highWaterMark";throw new Qs(o,a)}return Hs(a)}return _n(e.objectMode)}var vt={getHighWaterMark:Js,getDefaultHighWaterMark:_n,setDefaultHighWaterMark:Ks};const ii=$e,{PromisePrototypeThen:Zs,SymbolAsyncIterator:ni,SymbolIterator:ai}=H,{Buffer:Xs}=Ee,{ERR_INVALID_ARG_TYPE:eo,ERR_STREAM_NULL_VALUES:to}=ne.codes;function ro(e,t,r){let i;if(typeof t=="string"||t instanceof Xs)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let a;if(t&&t[ni])a=!0,i=t[ni]();else if(t&&t[ai])a=!1,i=t[ai]();else throw new eo("iterable",["Iterable"],t);const o=new e({objectMode:!0,highWaterMark:1,...r});let l=!1;o._read=function(){l||(l=!0,y())},o._destroy=function(_,g){Zs(d(_),()=>ii.nextTick(g,_),w=>ii.nextTick(g,w||_))};async function d(_){const g=_!=null,w=typeof i.throw=="function";if(g&&w){const{value:c,done:h}=await i.throw(_);if(await c,h)return}if(typeof i.return=="function"){const{value:c}=await i.return();await c}}async function y(){for(;;){try{const{value:_,done:g}=a?await i.next():i.next();if(g)o.push(null);else{const w=_&&typeof _.then=="function"?await _:_;if(w===null)throw l=!1,new to;if(o.push(w))continue;l=!1}}catch(_){o.destroy(_)}break}}return o}var bn=ro,Bt,si;function Tt(){if(si)return Bt;si=1;const e=$e,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:i,NumberParseInt:a,ObjectDefineProperties:o,ObjectKeys:l,ObjectSetPrototypeOf:d,Promise:y,SafeSet:_,SymbolAsyncDispose:g,SymbolAsyncIterator:w,Symbol:c}=H;Bt=k,k.ReadableState=be;const{EventEmitter:h}=gt,{Stream:p,prependListener:b}=wr,{Buffer:A}=Ee,{addAbortSignal:$}=At,N=me;let R=te.debuglog("stream",n=>{R=n});const W=qs,D=He,{getHighWaterMark:K,getDefaultHighWaterMark:ae}=vt,{aggregateTwoErrors:U,codes:{ERR_INVALID_ARG_TYPE:V,ERR_METHOD_NOT_IMPLEMENTED:re,ERR_OUT_OF_RANGE:ie,ERR_STREAM_PUSH_AFTER_EOF:M,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:E},AbortError:O}=ne,{validateObject:j}=tt,L=c("kPaused"),{StringDecoder:z}=Wn,Q=bn;d(k.prototype,p.prototype),d(k,p);const q=()=>{},{errorOrDestroy:Y}=D,C=1,_e=2,P=4,J=8,le=16,Le=32,Me=64,Oe=128,Ve=256,Nt=512,ze=1024,Ce=2048,u=4096,f=8192,S=16384,T=32768,I=65536,B=1<<17,G=1<<18;function F(n){return{enumerable:!1,get(){return(this.state&n)!==0},set(s){s?this.state|=n:this.state&=~n}}}o(be.prototype,{objectMode:F(C),ended:F(_e),endEmitted:F(P),reading:F(J),constructed:F(le),sync:F(Le),needReadable:F(Me),emittedReadable:F(Oe),readableListening:F(Ve),resumeScheduled:F(Nt),errorEmitted:F(ze),emitClose:F(Ce),autoDestroy:F(u),destroyed:F(f),closed:F(S),closeEmitted:F(T),multiAwaitDrain:F(I),readingMore:F(B),dataEmitted:F(G)});function be(n,s,m){typeof m!="boolean"&&(m=s instanceof ge()),this.state=Ce|u|le|Le,n&&n.objectMode&&(this.state|=C),m&&n&&n.readableObjectMode&&(this.state|=C),this.highWaterMark=n?K(this,n,"readableHighWaterMark",m):ae(!1),this.buffer=new W,this.length=0,this.pipes=[],this.flowing=null,this[L]=null,n&&n.emitClose===!1&&(this.state&=~Ce),n&&n.autoDestroy===!1&&(this.state&=~u),this.errored=null,this.defaultEncoding=n&&n.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,n&&n.encoding&&(this.decoder=new z(n.encoding),this.encoding=n.encoding)}function k(n){if(!(this instanceof k))return new k(n);const s=this instanceof ge();this._readableState=new be(n,this,s),n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy),typeof n.construct=="function"&&(this._construct=n.construct),n.signal&&!s&&$(n.signal,this)),p.call(this,n),D.construct(this,()=>{this._readableState.needReadable&&nt(this,this._readableState)})}k.prototype.destroy=D.destroy,k.prototype._undestroy=D.undestroy,k.prototype._destroy=function(n,s){s(n)},k.prototype[h.captureRejectionSymbol]=function(n){this.destroy(n)},k.prototype[g]=function(){let n;return this.destroyed||(n=this.readableEnded?null:new O,this.destroy(n)),new y((s,m)=>N(this,x=>x&&x!==n?m(x):s(null)))},k.prototype.push=function(n,s){return Se(this,n,s,!1)},k.prototype.unshift=function(n,s){return Se(this,n,s,!0)};function Se(n,s,m,x){R("readableAddChunk",s);const v=n._readableState;let X;if(v.state&C||(typeof s=="string"?(m=m||v.defaultEncoding,v.encoding!==m&&(x&&v.encoding?s=A.from(s,m).toString(v.encoding):(s=A.from(s,m),m=""))):s instanceof A?m="":p._isUint8Array(s)?(s=p._uint8ArrayToBuffer(s),m=""):s!=null&&(X=new V("chunk",["string","Buffer","Uint8Array"],s))),X)Y(n,X);else if(s===null)v.state&=~J,Nn(n,v);else if(v.state&C||s&&s.length>0)if(x)if(v.state&P)Y(n,new E);else{if(v.destroyed||v.errored)return!1;Pt(n,v,s,!0)}else if(v.ended)Y(n,new M);else{if(v.destroyed||v.errored)return!1;v.state&=~J,v.decoder&&!m?(s=v.decoder.write(s),v.objectMode||s.length!==0?Pt(n,v,s,!1):nt(n,v)):Pt(n,v,s,!1)}else x||(v.state&=~J,nt(n,v));return!v.ended&&(v.length0?(s.state&I?s.awaitDrainWriters.clear():s.awaitDrainWriters=null,s.dataEmitted=!0,n.emit("data",m)):(s.length+=s.objectMode?1:m.length,x?s.buffer.unshift(m):s.buffer.push(m),s.state&Me&&it(n)),nt(n,s)}k.prototype.isPaused=function(){const n=this._readableState;return n[L]===!0||n.flowing===!1},k.prototype.setEncoding=function(n){const s=new z(n);this._readableState.decoder=s,this._readableState.encoding=this._readableState.decoder.encoding;const m=this._readableState.buffer;let x="";for(const v of m)x+=s.write(v);return m.clear(),x!==""&&m.push(x),this._readableState.length=x.length,this};const Tn=1073741824;function In(n){if(n>Tn)throw new ie("size","<= 1GiB",n);return n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++,n}function Ar(n,s){return n<=0||s.length===0&&s.ended?0:s.state&C?1:i(n)?s.flowing&&s.length?s.buffer.first().length:s.length:n<=s.length?n:s.ended?s.length:0}k.prototype.read=function(n){R("read",n),n===void 0?n=NaN:r(n)||(n=a(n,10));const s=this._readableState,m=n;if(n>s.highWaterMark&&(s.highWaterMark=In(n)),n!==0&&(s.state&=~Oe),n===0&&s.needReadable&&((s.highWaterMark!==0?s.length>=s.highWaterMark:s.length>0)||s.ended))return R("read: emitReadable",s.length,s.ended),s.length===0&&s.ended?$t(this):it(this),null;if(n=Ar(n,s),n===0&&s.ended)return s.length===0&&$t(this),null;let x=(s.state&Me)!==0;if(R("need readable",x),(s.length===0||s.length-n0?v=Pr(n,s):v=null,v===null?(s.needReadable=s.length<=s.highWaterMark,n=0):(s.length-=n,s.multiAwaitDrain?s.awaitDrainWriters.clear():s.awaitDrainWriters=null),s.length===0&&(s.ended||(s.needReadable=!0),m!==n&&s.ended&&$t(this)),v!==null&&!s.errorEmitted&&!s.closeEmitted&&(s.dataEmitted=!0,this.emit("data",v)),v};function Nn(n,s){if(R("onEofChunk"),!s.ended){if(s.decoder){const m=s.decoder.end();m&&m.length&&(s.buffer.push(m),s.length+=s.objectMode?1:m.length)}s.ended=!0,s.sync?it(n):(s.needReadable=!1,s.emittedReadable=!0,vr(n))}}function it(n){const s=n._readableState;R("emitReadable",s.needReadable,s.emittedReadable),s.needReadable=!1,s.emittedReadable||(R("emitReadable",s.flowing),s.emittedReadable=!0,e.nextTick(vr,n))}function vr(n){const s=n._readableState;R("emitReadable_",s.destroyed,s.length,s.ended),!s.destroyed&&!s.errored&&(s.length||s.ended)&&(n.emit("readable"),s.emittedReadable=!1),s.needReadable=!s.flowing&&!s.ended&&s.length<=s.highWaterMark,Ir(n)}function nt(n,s){!s.readingMore&&s.constructed&&(s.readingMore=!0,e.nextTick(Pn,n,s))}function Pn(n,s){for(;!s.reading&&!s.ended&&(s.length1&&x.pipes.includes(n)&&(R("false write response, pause",x.awaitDrainWriters.size),x.awaitDrainWriters.add(n)),m.pause()),xe||(xe=$n(m,n),n.on("drain",xe))}m.on("data",Lr);function Lr(Ae){R("ondata");const pe=n.write(Ae);R("dest.write",pe),pe===!1&&jr()}function Dt(Ae){if(R("onerror",Ae),Qe(),n.removeListener("error",Dt),n.listenerCount("error")===0){const pe=n._writableState||n._readableState;pe&&!pe.errorEmitted?Y(n,Ae):n.emit("error",Ae)}}b(n,"error",Dt);function jt(){n.removeListener("finish",Lt),Qe()}n.once("close",jt);function Lt(){R("onfinish"),n.removeListener("close",jt),Qe()}n.once("finish",Lt);function Qe(){R("unpipe"),m.unpipe(n)}return n.emit("pipe",m),n.writableNeedDrain===!0?jr():x.flowing||(R("pipe resume"),m.resume()),n};function $n(n,s){return function(){const x=n._readableState;x.awaitDrainWriters===s?(R("pipeOnDrain",1),x.awaitDrainWriters=null):x.multiAwaitDrain&&(R("pipeOnDrain",x.awaitDrainWriters.size),x.awaitDrainWriters.delete(s)),(!x.awaitDrainWriters||x.awaitDrainWriters.size===0)&&n.listenerCount("data")&&n.resume()}}k.prototype.unpipe=function(n){const s=this._readableState,m={hasUnpiped:!1};if(s.pipes.length===0)return this;if(!n){const v=s.pipes;s.pipes=[],this.pause();for(let X=0;X0,x.flowing!==!1&&this.resume()):n==="readable"&&!x.endEmitted&&!x.readableListening&&(x.readableListening=x.needReadable=!0,x.flowing=!1,x.emittedReadable=!1,R("on readable",x.length,x.reading),x.length?it(this):x.reading||e.nextTick(kn,this)),m},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(n,s){const m=p.prototype.removeListener.call(this,n,s);return n==="readable"&&e.nextTick(Tr,this),m},k.prototype.off=k.prototype.removeListener,k.prototype.removeAllListeners=function(n){const s=p.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&e.nextTick(Tr,this),s};function Tr(n){const s=n._readableState;s.readableListening=n.listenerCount("readable")>0,s.resumeScheduled&&s[L]===!1?s.flowing=!0:n.listenerCount("data")>0?n.resume():s.readableListening||(s.flowing=null)}function kn(n){R("readable nexttick read 0"),n.read(0)}k.prototype.resume=function(){const n=this._readableState;return n.flowing||(R("resume"),n.flowing=!n.readableListening,Dn(this,n)),n[L]=!1,this};function Dn(n,s){s.resumeScheduled||(s.resumeScheduled=!0,e.nextTick(jn,n,s))}function jn(n,s){R("resume",s.reading),s.reading||n.read(0),s.resumeScheduled=!1,n.emit("resume"),Ir(n),s.flowing&&!s.reading&&n.read(0)}k.prototype.pause=function(){return R("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(R("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[L]=!0,this};function Ir(n){const s=n._readableState;for(R("flow",s.flowing);s.flowing&&n.read()!==null;);}k.prototype.wrap=function(n){let s=!1;n.on("data",x=>{!this.push(x)&&n.pause&&(s=!0,n.pause())}),n.on("end",()=>{this.push(null)}),n.on("error",x=>{Y(this,x)}),n.on("close",()=>{this.destroy()}),n.on("destroy",()=>{this.destroy()}),this._read=()=>{s&&n.resume&&(s=!1,n.resume())};const m=l(n);for(let x=1;x{v=se?U(v,se):null,m(),m=q});try{for(;;){const se=n.destroyed?null:n.read();if(se!==null)yield se;else{if(v)throw v;if(v===null)return;await new y(x)}}}catch(se){throw v=U(v,se),v}finally{(v||(s==null?void 0:s.destroyOnReturn)!==!1)&&(v===void 0||n._readableState.autoDestroy)?D.destroyer(n,null):(n.off("readable",x),X())}}o(k.prototype,{readable:{__proto__:null,get(){const n=this._readableState;return!!n&&n.readable!==!1&&!n.destroyed&&!n.errorEmitted&&!n.endEmitted},set(n){this._readableState&&(this._readableState.readable=!!n)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(n){this._readableState&&(this._readableState.destroyed=n)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),o(be.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[L]!==!1},set(n){this[L]=!!n}}}),k._fromList=Pr;function Pr(n,s){if(s.length===0)return null;let m;return s.objectMode?m=s.buffer.shift():!n||n>=s.length?(s.decoder?m=s.buffer.join(""):s.buffer.length===1?m=s.buffer.first():m=s.buffer.concat(s.length),s.buffer.clear()):m=s.buffer.consume(n,s.decoder),m}function $t(n){const s=n._readableState;R("endReadable",s.endEmitted),s.endEmitted||(s.ended=!0,e.nextTick(Mn,s,n))}function Mn(n,s){if(R("endReadableNT",n.endEmitted,n.length),!n.errored&&!n.closeEmitted&&!n.endEmitted&&n.length===0){if(n.endEmitted=!0,s.emit("end"),s.writable&&s.allowHalfOpen===!1)e.nextTick(On,s);else if(n.autoDestroy){const m=s._writableState;(!m||m.autoDestroy&&(m.finished||m.writable===!1))&&s.destroy()}}}function On(n){n.writable&&!n.writableEnded&&!n.destroyed&&n.end()}k.from=function(n,s){return Q(k,n,s)};let kt;function $r(){return kt===void 0&&(kt={}),kt}return k.fromWeb=function(n,s){return $r().newStreamReadableFromReadableStream(n,s)},k.toWeb=function(n,s){return $r().newReadableStreamFromStreamReadable(n,s)},k.wrap=function(n,s){var m,x;return new k({objectMode:(m=(x=n.readableObjectMode)!==null&&x!==void 0?x:n.objectMode)!==null&&m!==void 0?m:!0,...s,destroy(v,X){D.destroyer(n,v),X(v)}}).wrap(n)},Bt}var Ut,oi;function Sr(){if(oi)return Ut;oi=1;const e=$e,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:a,ObjectDefineProperties:o,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:d,Symbol:y,SymbolHasInstance:_}=H;Ut=j,j.WritableState=E;const{EventEmitter:g}=gt,w=wr.Stream,{Buffer:c}=Ee,h=He,{addAbortSignal:p}=At,{getHighWaterMark:b,getDefaultHighWaterMark:A}=vt,{ERR_INVALID_ARG_TYPE:$,ERR_METHOD_NOT_IMPLEMENTED:N,ERR_MULTIPLE_CALLBACK:R,ERR_STREAM_CANNOT_PIPE:W,ERR_STREAM_DESTROYED:D,ERR_STREAM_ALREADY_FINISHED:K,ERR_STREAM_NULL_VALUES:ae,ERR_STREAM_WRITE_AFTER_END:U,ERR_UNKNOWN_ENCODING:V}=ne.codes,{errorOrDestroy:re}=h;l(j.prototype,w.prototype),l(j,w);function ie(){}const M=y("kOnFinished");function E(u,f,S){typeof S!="boolean"&&(S=f instanceof ge()),this.objectMode=!!(u&&u.objectMode),S&&(this.objectMode=this.objectMode||!!(u&&u.writableObjectMode)),this.highWaterMark=u?b(this,u,"writableHighWaterMark",S):A(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const T=!!(u&&u.decodeStrings===!1);this.decodeStrings=!T,this.defaultEncoding=u&&u.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Y.bind(void 0,f),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,O(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!u||u.emitClose!==!1,this.autoDestroy=!u||u.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[M]=[]}function O(u){u.buffered=[],u.bufferedIndex=0,u.allBuffers=!0,u.allNoop=!0}E.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},a(E.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function j(u){const f=this instanceof ge();if(!f&&!i(j,this))return new j(u);this._writableState=new E(u,this,f),u&&(typeof u.write=="function"&&(this._write=u.write),typeof u.writev=="function"&&(this._writev=u.writev),typeof u.destroy=="function"&&(this._destroy=u.destroy),typeof u.final=="function"&&(this._final=u.final),typeof u.construct=="function"&&(this._construct=u.construct),u.signal&&p(u.signal,this)),w.call(this,u),h.construct(this,()=>{const S=this._writableState;S.writing||J(this,S),Oe(this,S)})}a(j,_,{__proto__:null,value:function(u){return i(this,u)?!0:this!==j?!1:u&&u._writableState instanceof E}}),j.prototype.pipe=function(){re(this,new W)};function L(u,f,S,T){const I=u._writableState;if(typeof S=="function")T=S,S=I.defaultEncoding;else{if(!S)S=I.defaultEncoding;else if(S!=="buffer"&&!c.isEncoding(S))throw new V(S);typeof T!="function"&&(T=ie)}if(f===null)throw new ae;if(!I.objectMode)if(typeof f=="string")I.decodeStrings!==!1&&(f=c.from(f,S),S="buffer");else if(f instanceof c)S="buffer";else if(w._isUint8Array(f))f=w._uint8ArrayToBuffer(f),S="buffer";else throw new $("chunk",["string","Buffer","Uint8Array"],f);let B;return I.ending?B=new U:I.destroyed&&(B=new D("write")),B?(e.nextTick(T,B),re(u,B,!0),B):(I.pendingcb++,z(u,I,f,S,T))}j.prototype.write=function(u,f,S){return L(this,u,f,S)===!0},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){const u=this._writableState;u.corked&&(u.corked--,u.writing||J(this,u))},j.prototype.setDefaultEncoding=function(f){if(typeof f=="string"&&(f=d(f)),!c.isEncoding(f))throw new V(f);return this._writableState.defaultEncoding=f,this};function z(u,f,S,T,I){const B=f.objectMode?1:S.length;f.length+=B;const G=f.lengthS.bufferedIndex&&J(u,S),T?S.afterWriteTickInfo!==null&&S.afterWriteTickInfo.cb===I?S.afterWriteTickInfo.count++:(S.afterWriteTickInfo={count:1,cb:I,stream:u,state:S},e.nextTick(C,S.afterWriteTickInfo)):_e(u,S,1,I))}function C({stream:u,state:f,count:S,cb:T}){return f.afterWriteTickInfo=null,_e(u,f,S,T)}function _e(u,f,S,T){for(!f.ending&&!u.destroyed&&f.length===0&&f.needDrain&&(f.needDrain=!1,u.emit("drain"));S-- >0;)f.pendingcb--,T();f.destroyed&&P(f),Oe(u,f)}function P(u){if(u.writing)return;for(let I=u.bufferedIndex;I1&&u._writev){f.pendingcb-=B-1;const F=f.allNoop?ie:k=>{for(let Se=G;Se256?(S.splice(0,G),f.bufferedIndex=0):f.bufferedIndex=G}f.bufferProcessing=!1}j.prototype._write=function(u,f,S){if(this._writev)this._writev([{chunk:u,encoding:f}],S);else throw new N("_write()")},j.prototype._writev=null,j.prototype.end=function(u,f,S){const T=this._writableState;typeof u=="function"?(S=u,u=null,f=null):typeof f=="function"&&(S=f,f=null);let I;if(u!=null){const B=L(this,u,f);B instanceof r&&(I=B)}return T.corked&&(T.corked=1,this.uncork()),I||(!T.errored&&!T.ending?(T.ending=!0,Oe(this,T,!0),T.ended=!0):T.finished?I=new K("end"):T.destroyed&&(I=new D("end"))),typeof S=="function"&&(I||T.finished?e.nextTick(S,I):T[M].push(S)),this};function le(u){return u.ending&&!u.destroyed&&u.constructed&&u.length===0&&!u.errored&&u.buffered.length===0&&!u.finished&&!u.writing&&!u.errorEmitted&&!u.closeEmitted}function Le(u,f){let S=!1;function T(I){if(S){re(u,I??R());return}if(S=!0,f.pendingcb--,I){const B=f[M].splice(0);for(let G=0;G{le(I)?Ve(T,I):I.pendingcb--},u,f)):le(f)&&(f.pendingcb++,Ve(u,f))))}function Ve(u,f){f.pendingcb--,f.finished=!0;const S=f[M].splice(0);for(let T=0;T{if(P!=null)throw new p("nully","body",P)},P=>{b(C,P)});return C=new V({objectMode:!0,readable:!1,write:z,final(P){Q(async()=>{try{await _e,e.nextTick(P,null)}catch(J){e.nextTick(P,J)}})},destroy:q})}throw new p("Iterable, AsyncIterable or AsyncFunction",O,L)}if(K(E))return M(E.arrayBuffer());if(a(E))return W(V,E,{objectMode:!0,writable:!1});if(_(E==null?void 0:E.readable)&&g(E==null?void 0:E.writable))return V.fromWeb(E);if(typeof(E==null?void 0:E.writable)=="object"||typeof(E==null?void 0:E.readable)=="object"){const L=E!=null&&E.readable?l(E==null?void 0:E.readable)?E==null?void 0:E.readable:M(E.readable):void 0,z=E!=null&&E.writable?d(E==null?void 0:E.writable)?E==null?void 0:E.writable:M(E.writable):void 0;return ie({readable:L,writable:z})}const j=E==null?void 0:E.then;if(typeof j=="function"){let L;return U(j,E,z=>{z!=null&&L.push(z),L.push(null)},z=>{b(L,z)}),L=new V({objectMode:!0,writable:!1,read(){}})}throw new h(O,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],E)};function re(M){let{promise:E,resolve:O}=R();const j=new ae,L=j.signal;return{value:M(async function*(){for(;;){const Q=E;E=null;const{chunk:q,done:Y,cb:C}=await Q;if(e.nextTick(C),Y)return;if(L.aborted)throw new c(void 0,{cause:L.reason});({promise:E,resolve:O}=R()),yield q}}(),{signal:L}),write(Q,q,Y){const C=O;O=null,C({chunk:Q,done:!1,cb:Y})},final(Q){const q=O;O=null,q({done:!0,cb:Q})},destroy(Q,q){j.abort(),q(Q)}}}function ie(M){const E=M.readable&&typeof M.readable.read!="function"?$.wrap(M.readable):M.readable,O=M.writable;let j=!!r(E),L=!!i(O),z,Q,q,Y,C;function _e(P){const J=Y;Y=null,J?J(P):P&&C.destroy(P)}return C=new V({readableObjectMode:!!(E!=null&&E.readableObjectMode),writableObjectMode:!!(O!=null&&O.writableObjectMode),readable:j,writable:L}),L&&(w(O,P=>{L=!1,P&&b(E,P),_e(P)}),C._write=function(P,J,le){O.write(P,J)?le():z=le},C._final=function(P){O.end(),Q=P},O.on("drain",function(){if(z){const P=z;z=null,P()}}),O.on("finish",function(){if(Q){const P=Q;Q=null,P()}})),j&&(w(E,P=>{j=!1,P&&b(E,P),_e(P)}),E.on("readable",function(){if(q){const P=q;q=null,P()}}),E.on("end",function(){C.push(null)}),C._read=function(){for(;;){const P=E.read();if(P===null){q=C._read;return}if(!C.push(P))return}}),C._destroy=function(P,J){!P&&Y!==null&&(P=new c),q=null,z=null,Q=null,Y===null?J(P):(Y=J,b(O,P),b(E,P))},C}return Gt}var qt,ui;function ge(){if(ui)return qt;ui=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:i}=H;qt=l;const a=Tt(),o=Sr();i(l.prototype,a.prototype),i(l,a);{const g=r(o.prototype);for(let w=0;w{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function oo(){this._final!==cr&&cr.call(this)}ye.prototype._final=cr;ye.prototype._transform=function(e,t,r){throw new ao("_transform()")};ye.prototype._write=function(e,t,r){const i=this._readableState,a=this._writableState,o=i.length;this._transform(e,t,(l,d)=>{if(l){r(l);return}d!=null&&this.push(d),a.ended||o===i.length||i.length{i=!0});const a=bt(e,{readable:t,writable:r},o=>{i=!o});return{destroy:o=>{i||(i=!0,_o.destroyer(e,o||new go("pipe")))},cleanup:a}}function Ao(e){return So(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Jt(e){if(Te(e))return e;if(ht(e))return vo(e);throw new hr("val",["Readable","Iterable","AsyncIterable"],e)}async function*vo(e){Yt||(Yt=Tt()),yield*Yt.prototype[fo].call(e)}async function ft(e,t,r,{end:i}){let a,o=null;const l=_=>{if(_&&(a=_),o){const g=o;o=null,g()}},d=()=>new uo((_,g)=>{a?g(a):o=()=>{a?g(a):_()}});t.on("drain",l);const y=bt(t,{readable:!1},l);try{t.writableNeedDrain&&await d();for await(const _ of e)t.write(_)||await d();i&&(t.end(),await d()),r()}catch(_){r(a!==_?bo(a,_):_)}finally{y(),t.off("drain",l)}}async function Zt(e,t,r,{end:i}){Fe(t)&&(t=t.writable);const a=t.getWriter();try{for await(const o of e)await a.ready,a.write(o).catch(()=>{});await a.ready,i&&await a.close(),r()}catch(o){try{await a.abort(o),r(o)}catch(l){r(l)}}}function To(...e){return Sn(e,ho(Ao(e)))}function Sn(e,t,r){if(e.length===1&&lo(e[0])&&(e=e[0]),e.length<2)throw new po("streams");const i=new xo,a=i.signal,o=r==null?void 0:r.signal,l=[];Ro(o,"options.signal");function d(){p(new wo)}Kt=Kt||te.addAbortListener;let y;o&&(y=Kt(o,d));let _,g;const w=[];let c=0;function h(N){p(N,--c===0)}function p(N,R){var W;if(N&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=N),!(!_&&!R)){for(;w.length;)w.shift()(_);(W=y)===null||W===void 0||W[co](),i.abort(),R&&(_||l.forEach(D=>D()),Ze.nextTick(t,_,g))}}let b;for(let N=0;N0,K=W||(r==null?void 0:r.end)!==!1,ae=N===e.length-1;if(di(R)){let U=function(V){V&&V.name!=="AbortError"&&V.code!=="ERR_STREAM_PREMATURE_CLOSE"&&h(V)};if(K){const{destroy:V,cleanup:re}=ci(R,W,D);w.push(V),Vt(R)&&ae&&l.push(re)}R.on("error",U),Vt(R)&&ae&&l.push(()=>{R.removeListener("error",U)})}if(N===0)if(typeof R=="function"){if(b=R({signal:a}),!Te(b))throw new Ht("Iterable, AsyncIterable or Stream","source",b)}else Te(R)||ht(R)||Fe(R)?b=R:b=fi.from(R);else if(typeof R=="function"){if(Fe(b)){var A;b=Jt((A=b)===null||A===void 0?void 0:A.readable)}else b=Jt(b);if(b=R(b,{signal:a}),W){if(!Te(b,!0))throw new Ht("AsyncIterable",`transform[${N-1}]`,b)}else{var $;Qt||(Qt=wn);const U=new Qt({objectMode:!0}),V=($=b)===null||$===void 0?void 0:$.then;if(typeof V=="function")c++,V.call(b,M=>{g=M,M!=null&&U.write(M),K&&U.end(),Ze.nextTick(h)},M=>{U.destroy(M),Ze.nextTick(h,M)});else if(Te(b,!0))c++,ft(b,U,h,{end:K});else if(zt(b)||Fe(b)){const M=b.readable||b;c++,ft(M,U,h,{end:K})}else throw new Ht("AsyncIterable or Promise","destination",b);b=U;const{destroy:re,cleanup:ie}=ci(b,!1,!0);w.push(re),ae&&l.push(ie)}}else if(di(R)){if(ht(b)){c+=2;const U=Io(b,R,h,{end:K});Vt(R)&&ae&&l.push(U)}else if(Fe(b)||zt(b)){const U=b.readable||b;c++,ft(U,R,h,{end:K})}else if(Te(b))c++,ft(b,R,h,{end:K});else throw new hr("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=R}else if(Eo(R)){if(ht(b))c++,Zt(Jt(b),R,h,{end:K});else if(zt(b)||Te(b))c++,Zt(b,R,h,{end:K});else if(Fe(b))c++,Zt(b.readable,R,h,{end:K});else throw new hr("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=R}else b=fi.from(R)}return(a!=null&&a.aborted||o!=null&&o.aborted)&&Ze.nextTick(d),b}function Io(e,t,r,{end:i}){let a=!1;if(t.on("close",()=>{a||r(new yo)}),e.pipe(t,{end:!1}),i){let o=function(){a=!0,t.end()};mo(e)?Ze.nextTick(o):e.once("end",o)}else r();return bt(e,{readable:!0,writable:!1},o=>{const l=e._readableState;o&&o.code==="ERR_STREAM_PREMATURE_CLOSE"&&l&&l.ended&&!l.errored&&!l.errorEmitted?e.once("end",r).once("error",r):r(o)}),bt(t,{readable:!1,writable:!0},r)}var mr={pipelineImpl:Sn,pipeline:To};const{pipeline:No}=mr,dt=ge(),{destroyer:Po}=He,{isNodeStream:ct,isReadable:hi,isWritable:_i,isWebStream:Xt,isTransformStream:ve,isWritableStream:bi,isReadableStream:pi}=we,{AbortError:$o,codes:{ERR_INVALID_ARG_VALUE:gi,ERR_MISSING_ARGS:ko}}=ne,Do=me;var Rn=function(...t){if(t.length===0)throw new ko("streams");if(t.length===1)return dt.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=dt.from(t[0])),typeof t[t.length-1]=="function"){const h=t.length-1;t[h]=dt.from(t[h])}for(let h=0;h0&&!(_i(t[h])||bi(t[h])||ve(t[h])))throw new gi(`streams[${h}]`,r[h],"must be writable")}let i,a,o,l,d;function y(h){const p=l;l=null,p?p(h):h?d.destroy(h):!c&&!w&&d.destroy()}const _=t[0],g=No(t,y),w=!!(_i(_)||bi(_)||ve(_)),c=!!(hi(g)||pi(g)||ve(g));if(d=new dt({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(g!=null&&g.readableObjectMode),writable:w,readable:c}),w){if(ct(_))d._write=function(p,b,A){_.write(p,b)?A():i=A},d._final=function(p){_.end(),a=p},_.on("drain",function(){if(i){const p=i;i=null,p()}});else if(Xt(_)){const b=(ve(_)?_.writable:_).getWriter();d._write=async function(A,$,N){try{await b.ready,b.write(A).catch(()=>{}),N()}catch(R){N(R)}},d._final=async function(A){try{await b.ready,b.close().catch(()=>{}),a=A}catch($){A($)}}}const h=ve(g)?g.readable:g;Do(h,()=>{if(a){const p=a;a=null,p()}})}if(c){if(ct(g))g.on("readable",function(){if(o){const h=o;o=null,h()}}),g.on("end",function(){d.push(null)}),d._read=function(){for(;;){const h=g.read();if(h===null){o=d._read;return}if(!d.push(h))return}};else if(Xt(g)){const p=(ve(g)?g.readable:g).getReader();d._read=async function(){for(;;)try{const{value:b,done:A}=await p.read();if(!d.push(b))return;if(A){d.push(null);return}}catch{return}}}}return d._destroy=function(h,p){!h&&l!==null&&(h=new $o),o=null,i=null,a=null,l===null?p(h):(l=p,ct(g)&&Po(g,h))},d};const jo=globalThis.AbortController||et().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Lo,ERR_INVALID_ARG_TYPE:rt,ERR_MISSING_ARGS:Mo,ERR_OUT_OF_RANGE:Oo},AbortError:de}=ne,{validateAbortSignal:De,validateInteger:yi,validateObject:je}=tt,Co=H.Symbol("kWeak"),Fo=H.Symbol("kResistStopPropagation"),{finished:Wo}=me,Bo=Rn,{addAbortSignalNoValidate:Uo}=At,{isWritable:Go,isNodeStream:qo}=we,{deprecate:Ho}=te,{ArrayPrototypePush:Vo,Boolean:zo,MathFloor:wi,Number:Qo,NumberIsNaN:Yo,Promise:Si,PromiseReject:Ri,PromiseResolve:Ko,PromisePrototypeThen:Ei,Symbol:En}=H,pt=En("kEmpty"),mi=En("kEof");function Jo(e,t){if(t!=null&&je(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),qo(e)&&!Go(e))throw new Lo("stream",e,"must be writable");const r=Bo(this,e);return t!=null&&t.signal&&Uo(t.signal,r),r}function It(e,t){if(typeof e!="function")throw new rt("fn",["Function","AsyncFunction"],e);t!=null&&je(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=wi(t.concurrency));let i=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(i=wi(t.highWaterMark)),yi(r,"options.concurrency",1),yi(i,"options.highWaterMark",0),i+=r,(async function*(){const o=te.AbortSignalAny([t==null?void 0:t.signal].filter(zo)),l=this,d=[],y={signal:o};let _,g,w=!1,c=0;function h(){w=!0,p()}function p(){c-=1,b()}function b(){g&&!w&&c=i||c>=r)&&await new Si(N=>{g=N})}d.push(mi)}catch($){const N=Ri($);Ei(N,p,h),d.push(N)}finally{w=!0,_&&(_(),_=null)}}A();try{for(;;){for(;d.length>0;){const $=await d[0];if($===mi)return;if(o.aborted)throw new de;$!==pt&&(yield $),d.shift(),b()}await new Si($=>{_=$})}}finally{w=!0,g&&(g(),g=null)}}).call(this)}function Zo(e=void 0){return e!=null&&je(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal"),(async function*(){let r=0;for await(const a of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new de({cause:e.signal.reason});yield[r++,a]}}).call(this)}async function mn(e,t=void 0){for await(const r of xr.call(this,e,t))return!0;return!1}async function Xo(e,t=void 0){if(typeof e!="function")throw new rt("fn",["Function","AsyncFunction"],e);return!await mn.call(this,async(...r)=>!await e(...r),t)}async function el(e,t){for await(const r of xr.call(this,e,t))return r}async function tl(e,t){if(typeof e!="function")throw new rt("fn",["Function","AsyncFunction"],e);async function r(i,a){return await e(i,a),pt}for await(const i of It.call(this,r,t));}function xr(e,t){if(typeof e!="function")throw new rt("fn",["Function","AsyncFunction"],e);async function r(i,a){return await e(i,a)?i:pt}return It.call(this,r,t)}class rl extends Mo{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function il(e,t,r){var i;if(typeof e!="function")throw new rt("reducer",["Function","AsyncFunction"],e);r!=null&&je(r,"options"),(r==null?void 0:r.signal)!=null&&De(r.signal,"options.signal");let a=arguments.length>1;if(r!=null&&(i=r.signal)!==null&&i!==void 0&&i.aborted){const _=new de(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await Wo(this.destroy(_)),_}const o=new jo,l=o.signal;if(r!=null&&r.signal){const _={once:!0,[Co]:this,[Fo]:!0};r.signal.addEventListener("abort",()=>o.abort(),_)}let d=!1;try{for await(const _ of this){var y;if(d=!0,r!=null&&(y=r.signal)!==null&&y!==void 0&&y.aborted)throw new de;a?t=await e(t,_,{signal:l}):(t=_,a=!0)}if(!d&&!a)throw new rl}finally{o.abort()}return t}async function nl(e){e!=null&&je(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal");const t=[];for await(const i of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new de(void 0,{cause:e.signal.reason});Vo(t,i)}return t}function al(e,t){const r=It.call(this,e,t);return(async function*(){for await(const a of r)yield*a}).call(this)}function xn(e){if(e=Qo(e),Yo(e))return 0;if(e<0)throw new Oo("number",">= 0",e);return e}function sl(e,t=void 0){return t!=null&&je(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=xn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new de;for await(const o of this){var a;if(t!=null&&(a=t.signal)!==null&&a!==void 0&&a.aborted)throw new de;e--<=0&&(yield o)}}).call(this)}function ol(e,t=void 0){return t!=null&&je(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=xn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new de;for await(const o of this){var a;if(t!=null&&(a=t.signal)!==null&&a!==void 0&&a.aborted)throw new de;if(e-- >0&&(yield o),e<=0)return}}).call(this)}_r.streamReturningOperators={asIndexedPairs:Ho(Zo,"readable.asIndexedPairs will be removed in a future version."),drop:sl,filter:xr,flatMap:al,map:It,take:ol,compose:Jo};_r.promiseReturningOperators={every:Xo,forEach:tl,reduce:il,toArray:nl,some:mn,find:el};var er,xi;function An(){if(xi)return er;xi=1;const{ArrayPrototypePop:e,Promise:t}=H,{isIterable:r,isNodeStream:i,isWebStream:a}=we,{pipelineImpl:o}=mr,{finished:l}=me;vn();function d(...y){return new t((_,g)=>{let w,c;const h=y[y.length-1];if(h&&typeof h=="object"&&!i(h)&&!r(h)&&!a(h)){const p=e(y);w=p.signal,c=p.end}o(y,(p,b)=>{p?g(p):_(b)},{signal:w,end:c})})}return er={finished:l,pipeline:d},er}var Ai;function vn(){if(Ai)return Ot.exports;Ai=1;const{Buffer:e}=Ee,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:i}=H,{promisify:{custom:a}}=te,{streamReturningOperators:o,promiseReturningOperators:l}=_r,{codes:{ERR_ILLEGAL_CONSTRUCTOR:d}}=ne,y=Rn,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:g}=vt,{pipeline:w}=mr,{destroyer:c}=He,h=me,p=An(),b=we,A=Ot.exports=wr.Stream;A.isDestroyed=b.isDestroyed,A.isDisturbed=b.isDisturbed,A.isErrored=b.isErrored,A.isReadable=b.isReadable,A.isWritable=b.isWritable,A.Readable=Tt();for(const N of r(o)){let W=function(...D){if(new.target)throw d();return A.Readable.from(i(R,this,D))};const R=o[N];t(W,"name",{__proto__:null,value:R.name}),t(W,"length",{__proto__:null,value:R.length}),t(A.Readable.prototype,N,{__proto__:null,value:W,enumerable:!1,configurable:!0,writable:!0})}for(const N of r(l)){let W=function(...D){if(new.target)throw d();return i(R,this,D)};const R=l[N];t(W,"name",{__proto__:null,value:R.name}),t(W,"length",{__proto__:null,value:R.length}),t(A.Readable.prototype,N,{__proto__:null,value:W,enumerable:!1,configurable:!0,writable:!0})}A.Writable=Sr(),A.Duplex=ge(),A.Transform=gn,A.PassThrough=wn,A.pipeline=w;const{addAbortSignal:$}=At;return A.addAbortSignal=$,A.finished=h,A.destroy=c,A.compose=y,A.setDefaultHighWaterMark=_,A.getDefaultHighWaterMark=g,t(A,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return p}}),t(w,a,{__proto__:null,enumerable:!0,get(){return p.pipeline}}),t(h,a,{__proto__:null,enumerable:!0,get(){return p.finished}}),A.Stream=A,A._isUint8Array=function(R){return R instanceof Uint8Array},A._uint8ArrayToBuffer=function(R){return e.from(R.buffer,R.byteOffset,R.byteLength)},Ot.exports}(function(e){const t=vn(),r=An(),i=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=i,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(Li);var ll=Li.exports;class cl extends ll.Transform{constructor(t){super({decodeStrings:!0}),this._readableState.objectMode=!0;const r=new Di(t);let i,a;const o={onQuad:(l,d)=>{l&&this.emit("error",l)||d&&this.push(d)},onPrefix:(l,d)=>{this.emit("prefix",l,d)}};t&&t.comments&&(o.onComment=l=>{this.emit("comment",l)}),r.parse({on:(l,d)=>{switch(l){case"data":i=d;break;case"end":a=d;break}}},o),this._transform=(l,d,y)=>{i(l),y()},this._flush=l=>{a(),l()}}import(t){return t.on("data",r=>{this.write(r)}),t.on("end",()=>{this.end()}),t.on("error",r=>{this.emit("error",r)}),this}}export{Kn as B,tr as D,We as L,cl as N,Ti as Q,ce as T,Jn as V,ot as a,ll as b,zn as c,Di as d,vi as e,Zn as f,ue as n,st as t}; diff --git a/assets/index-DaLBP2NZ.js b/assets/index-BQuzNdW2.js similarity index 74% rename from assets/index-DaLBP2NZ.js rename to assets/index-BQuzNdW2.js index 732b771..0c56554 100644 --- a/assets/index-DaLBP2NZ.js +++ b/assets/index-BQuzNdW2.js @@ -1 +1 @@ -import{S as t}from"./index-BOvYCoiN.js";import{f as i}from"./main-BG8rCUrd.js";import{r as l}from"./readable-BmS1kvD9.js";import{N as m}from"./N3StreamParser-B-f1M1sF.js";class p{constructor(e,{baseIRI:s="",factory:r=i,...n}={}){const o={blankNode:r.blankNode.bind(r),defaultGraph:r.defaultGraph.bind(r),literal:r.literal.bind(r),namedNode:r.namedNode.bind(r),quad:r.quad.bind(r)},a=new m({baseIRI:s,factory:o,...n});return e.pipe(a),l(a)}}class c extends t{constructor(e){super(p,e)}}export{c as default}; +import{S as t}from"./index-BOvYCoiN.js";import{f as i}from"./main-UPTG37W_.js";import{r as l}from"./readable-BmS1kvD9.js";import{N as m}from"./N3StreamParser-BYVXsYqX.js";class p{constructor(e,{baseIRI:s="",factory:r=i,...n}={}){const o={blankNode:r.blankNode.bind(r),defaultGraph:r.defaultGraph.bind(r),literal:r.literal.bind(r),namedNode:r.namedNode.bind(r),quad:r.quad.bind(r)},a=new m({baseIRI:s,factory:o,...n});return e.pipe(a),l(a)}}class c extends t{constructor(e){super(p,e)}}export{c as default}; diff --git a/assets/index-DwdYNYJQ.js b/assets/index-BlwBIAJx.js similarity index 98% rename from assets/index-DwdYNYJQ.js rename to assets/index-BlwBIAJx.js index a4856d1..2f86bec 100644 --- a/assets/index-DwdYNYJQ.js +++ b/assets/index-BlwBIAJx.js @@ -1 +1 @@ -import{c as d}from"./main-BG8rCUrd.js";var S={},o={};Object.defineProperty(o,"__esModule",{value:!0});o.removeDotSegmentsOfPath=o.removeDotSegments=o.resolve=void 0;function P(t,e){e=e||"";const r=e.indexOf("#");if(r>0&&(e=e.substr(0,r)),!t.length){if(e.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);return e}if(t.startsWith("?")){const h=e.indexOf("?");return h>0&&(e=e.substr(0,h)),e+t}if(t.startsWith("#"))return e+t;if(!e.length){const h=t.indexOf(":");if(h<0)throw new Error(`Found invalid relative IRI '${t}' for a missing baseIRI`);return l(t,h)}const a=t.indexOf(":");if(a>=0)return l(t,a);const u=e.indexOf(":");if(u<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);const n=e.substr(0,u+1);if(t.indexOf("//")===0)return n+l(t,a);let s;if(e.indexOf("//",u)===u+1){if(s=e.indexOf("/",u+3),s<0)return e.length>u+3?e+"/"+l(t,a):n+l(t,a)}else if(s=e.indexOf("/",u+1),s<0)return n+l(t,a);if(t.indexOf("/")===0)return e.substr(0,s)+v(t);let c=e.substr(s);const O=c.lastIndexOf("/");return O>=0&&Oa.join("")).join("/")}o.removeDotSegments=v;function l(t,e){let r=e+1;e>=0?t[e+1]==="/"&&t[e+2]==="/"&&(r=e+3):t[0]==="/"&&t[1]==="/"&&(r=2);const a=t.indexOf("/",r);if(a<0)return t;const u=t.substr(0,a),n=t.substr(a);return u+v(n)}o.removeDotSegmentsOfPath=l;function T(t){return!t||t==="#"||t==="?"||t==="/"}(function(t){var e=d&&d.__createBinding||(Object.create?function(a,u,n,s){s===void 0&&(s=n),Object.defineProperty(a,s,{enumerable:!0,get:function(){return u[n]}})}:function(a,u,n,s){s===void 0&&(s=n),a[s]=u[n]}),r=d&&d.__exportStar||function(a,u){for(var n in a)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&e(u,a,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(o,t)})(S);var D={},m={};Object.defineProperty(m,"__esModule",{value:!0});m.BlankNode=void 0;class G{constructor(e){this.termType="BlankNode",this.value=e}equals(e){return!!e&&e.termType==="BlankNode"&&e.value===this.value}}m.BlankNode=G;var y={},N={};Object.defineProperty(N,"__esModule",{value:!0});N.DefaultGraph=void 0;class g{constructor(){this.termType="DefaultGraph",this.value=""}equals(e){return!!e&&e.termType==="DefaultGraph"}}N.DefaultGraph=g;g.INSTANCE=new g;var p={},i={};Object.defineProperty(i,"__esModule",{value:!0});i.NamedNode=void 0;class ${constructor(e){this.termType="NamedNode",this.value=e}equals(e){return!!e&&e.termType==="NamedNode"&&e.value===this.value}}i.NamedNode=$;Object.defineProperty(p,"__esModule",{value:!0});p.Literal=void 0;const j=i;class f{constructor(e,r){this.termType="Literal",this.value=e,typeof r=="string"?(this.language=r,this.datatype=f.RDF_LANGUAGE_STRING):r?(this.language="",this.datatype=r):(this.language="",this.datatype=f.XSD_STRING)}equals(e){return!!e&&e.termType==="Literal"&&e.value===this.value&&e.language===this.language&&this.datatype.equals(e.datatype)}}p.Literal=f;f.RDF_LANGUAGE_STRING=new j.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString");f.XSD_STRING=new j.NamedNode("http://www.w3.org/2001/XMLSchema#string");var b={};Object.defineProperty(b,"__esModule",{value:!0});b.Quad=void 0;class B{constructor(e,r,a,u){this.termType="Quad",this.value="",this.subject=e,this.predicate=r,this.object=a,this.graph=u}equals(e){return!!e&&(e.termType==="Quad"||!e.termType)&&this.subject.equals(e.subject)&&this.predicate.equals(e.predicate)&&this.object.equals(e.object)&&this.graph.equals(e.graph)}}b.Quad=B;var _={};Object.defineProperty(_,"__esModule",{value:!0});_.Variable=void 0;class q{constructor(e){this.termType="Variable",this.value=e}equals(e){return!!e&&e.termType==="Variable"&&e.value===this.value}}_.Variable=q;Object.defineProperty(y,"__esModule",{value:!0});y.DataFactory=void 0;const x=m,C=N,w=p,F=i,L=b,k=_;let M=0;class Q{constructor(e){this.blankNodeCounter=0,e=e||{},this.blankNodePrefix=e.blankNodePrefix||`df_${M++}_`}namedNode(e){return new F.NamedNode(e)}blankNode(e){return new x.BlankNode(e||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(e,r){return new w.Literal(e,r)}variable(e){return new k.Variable(e)}defaultGraph(){return C.DefaultGraph.INSTANCE}quad(e,r,a,u){return new L.Quad(e,r,a,u||this.defaultGraph())}fromTerm(e){switch(e.termType){case"NamedNode":return this.namedNode(e.value);case"BlankNode":return this.blankNode(e.value);case"Literal":return e.language?this.literal(e.value,e.language):e.datatype.equals(w.Literal.XSD_STRING)?this.literal(e.value):this.literal(e.value,this.fromTerm(e.datatype));case"Variable":return this.variable(e.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(e.subject),this.fromTerm(e.predicate),this.fromTerm(e.object),this.fromTerm(e.graph))}}fromQuad(e){return this.fromTerm(e)}resetBlankNodeCounter(){this.blankNodeCounter=0}}y.DataFactory=Q;(function(t){var e=d&&d.__createBinding||(Object.create?function(a,u,n,s){s===void 0&&(s=n),Object.defineProperty(a,s,{enumerable:!0,get:function(){return u[n]}})}:function(a,u,n,s){s===void 0&&(s=n),a[s]=u[n]}),r=d&&d.__exportStar||function(a,u){for(var n in a)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&e(u,a,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(m,t),r(y,t),r(N,t),r(p,t),r(i,t),r(b,t),r(_,t)})(D);export{D as a,S as r}; +import{c as d}from"./main-UPTG37W_.js";var S={},o={};Object.defineProperty(o,"__esModule",{value:!0});o.removeDotSegmentsOfPath=o.removeDotSegments=o.resolve=void 0;function P(t,e){e=e||"";const r=e.indexOf("#");if(r>0&&(e=e.substr(0,r)),!t.length){if(e.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);return e}if(t.startsWith("?")){const h=e.indexOf("?");return h>0&&(e=e.substr(0,h)),e+t}if(t.startsWith("#"))return e+t;if(!e.length){const h=t.indexOf(":");if(h<0)throw new Error(`Found invalid relative IRI '${t}' for a missing baseIRI`);return l(t,h)}const a=t.indexOf(":");if(a>=0)return l(t,a);const u=e.indexOf(":");if(u<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);const n=e.substr(0,u+1);if(t.indexOf("//")===0)return n+l(t,a);let s;if(e.indexOf("//",u)===u+1){if(s=e.indexOf("/",u+3),s<0)return e.length>u+3?e+"/"+l(t,a):n+l(t,a)}else if(s=e.indexOf("/",u+1),s<0)return n+l(t,a);if(t.indexOf("/")===0)return e.substr(0,s)+v(t);let c=e.substr(s);const O=c.lastIndexOf("/");return O>=0&&Oa.join("")).join("/")}o.removeDotSegments=v;function l(t,e){let r=e+1;e>=0?t[e+1]==="/"&&t[e+2]==="/"&&(r=e+3):t[0]==="/"&&t[1]==="/"&&(r=2);const a=t.indexOf("/",r);if(a<0)return t;const u=t.substr(0,a),n=t.substr(a);return u+v(n)}o.removeDotSegmentsOfPath=l;function T(t){return!t||t==="#"||t==="?"||t==="/"}(function(t){var e=d&&d.__createBinding||(Object.create?function(a,u,n,s){s===void 0&&(s=n),Object.defineProperty(a,s,{enumerable:!0,get:function(){return u[n]}})}:function(a,u,n,s){s===void 0&&(s=n),a[s]=u[n]}),r=d&&d.__exportStar||function(a,u){for(var n in a)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&e(u,a,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(o,t)})(S);var D={},m={};Object.defineProperty(m,"__esModule",{value:!0});m.BlankNode=void 0;class G{constructor(e){this.termType="BlankNode",this.value=e}equals(e){return!!e&&e.termType==="BlankNode"&&e.value===this.value}}m.BlankNode=G;var y={},N={};Object.defineProperty(N,"__esModule",{value:!0});N.DefaultGraph=void 0;class g{constructor(){this.termType="DefaultGraph",this.value=""}equals(e){return!!e&&e.termType==="DefaultGraph"}}N.DefaultGraph=g;g.INSTANCE=new g;var p={},i={};Object.defineProperty(i,"__esModule",{value:!0});i.NamedNode=void 0;class ${constructor(e){this.termType="NamedNode",this.value=e}equals(e){return!!e&&e.termType==="NamedNode"&&e.value===this.value}}i.NamedNode=$;Object.defineProperty(p,"__esModule",{value:!0});p.Literal=void 0;const j=i;class f{constructor(e,r){this.termType="Literal",this.value=e,typeof r=="string"?(this.language=r,this.datatype=f.RDF_LANGUAGE_STRING):r?(this.language="",this.datatype=r):(this.language="",this.datatype=f.XSD_STRING)}equals(e){return!!e&&e.termType==="Literal"&&e.value===this.value&&e.language===this.language&&this.datatype.equals(e.datatype)}}p.Literal=f;f.RDF_LANGUAGE_STRING=new j.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString");f.XSD_STRING=new j.NamedNode("http://www.w3.org/2001/XMLSchema#string");var b={};Object.defineProperty(b,"__esModule",{value:!0});b.Quad=void 0;class B{constructor(e,r,a,u){this.termType="Quad",this.value="",this.subject=e,this.predicate=r,this.object=a,this.graph=u}equals(e){return!!e&&(e.termType==="Quad"||!e.termType)&&this.subject.equals(e.subject)&&this.predicate.equals(e.predicate)&&this.object.equals(e.object)&&this.graph.equals(e.graph)}}b.Quad=B;var _={};Object.defineProperty(_,"__esModule",{value:!0});_.Variable=void 0;class q{constructor(e){this.termType="Variable",this.value=e}equals(e){return!!e&&e.termType==="Variable"&&e.value===this.value}}_.Variable=q;Object.defineProperty(y,"__esModule",{value:!0});y.DataFactory=void 0;const x=m,C=N,w=p,F=i,L=b,k=_;let M=0;class Q{constructor(e){this.blankNodeCounter=0,e=e||{},this.blankNodePrefix=e.blankNodePrefix||`df_${M++}_`}namedNode(e){return new F.NamedNode(e)}blankNode(e){return new x.BlankNode(e||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(e,r){return new w.Literal(e,r)}variable(e){return new k.Variable(e)}defaultGraph(){return C.DefaultGraph.INSTANCE}quad(e,r,a,u){return new L.Quad(e,r,a,u||this.defaultGraph())}fromTerm(e){switch(e.termType){case"NamedNode":return this.namedNode(e.value);case"BlankNode":return this.blankNode(e.value);case"Literal":return e.language?this.literal(e.value,e.language):e.datatype.equals(w.Literal.XSD_STRING)?this.literal(e.value):this.literal(e.value,this.fromTerm(e.datatype));case"Variable":return this.variable(e.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(e.subject),this.fromTerm(e.predicate),this.fromTerm(e.object),this.fromTerm(e.graph))}}fromQuad(e){return this.fromTerm(e)}resetBlankNodeCounter(){this.blankNodeCounter=0}}y.DataFactory=Q;(function(t){var e=d&&d.__createBinding||(Object.create?function(a,u,n,s){s===void 0&&(s=n),Object.defineProperty(a,s,{enumerable:!0,get:function(){return u[n]}})}:function(a,u,n,s){s===void 0&&(s=n),a[s]=u[n]}),r=d&&d.__exportStar||function(a,u){for(var n in a)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&e(u,a,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(m,t),r(y,t),r(N,t),r(p,t),r(i,t),r(b,t),r(_,t)})(D);export{D as a,S as r}; diff --git a/assets/index-C_aFKQUK.js b/assets/index-C7nnL0Je.js similarity index 99% rename from assets/index-C_aFKQUK.js rename to assets/index-C7nnL0Je.js index e984fb0..492447d 100644 --- a/assets/index-C_aFKQUK.js +++ b/assets/index-C7nnL0Je.js @@ -1,3 +1,3 @@ -import{S as ci}from"./index-BOvYCoiN.js";import{a as qe,e as ot,b as Ie,d as $e,s as bi,t as hi}from"./main-BG8rCUrd.js";import{r as pi}from"./readable-BmS1kvD9.js";var fn={exports:{}},mt={exports:{}},H={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},un={exports:{}};(function(e){const t=Ie,{kResistStopPropagation:r,SymbolDispose:i}=H,l=globalThis.AbortSignal||qe().AbortSignal,s=globalThis.AbortController||qe().AbortController,d=Object.getPrototypeOf(async function(){}).constructor,g=globalThis.Blob||t.Blob,R=typeof g<"u"?function(u){return u instanceof g}:function(u){return!1},b=(c,u)=>{if(c!==void 0&&(c===null||typeof c!="object"||!("aborted"in c)))throw new ERR_INVALID_ARG_TYPE(u,"AbortSignal",c)},_=(c,u)=>{if(typeof c!="function")throw new ERR_INVALID_ARG_TYPE(u,"Function",c)};class v extends Error{constructor(u){if(!Array.isArray(u))throw new TypeError(`Expected input to be an Array, got ${typeof u}`);let m="";for(let h=0;h{if(c!==void 0&&(c===null||typeof c!="object"||!("aborted"in c)))throw new ERR_INVALID_ARG_TYPE(u,"AbortSignal",c)},_=(c,u)=>{if(typeof c!="function")throw new ERR_INVALID_ARG_TYPE(u,"Function",c)};class v extends Error{constructor(u){if(!Array.isArray(u))throw new TypeError(`Expected input to be an Array, got ${typeof u}`);let m="";for(let h=0;h{c=h,u=A}),resolve:c,reject:u}},promisify(c){return new Promise((u,m)=>{c((h,...A)=>h?m(h):u(...A))})},debuglog(){return function(){}},format(c,...u){return c.replace(/%([sdifj])/g,function(...[m,h]){const A=u.shift();return h==="f"?A.toFixed(6):h==="j"?JSON.stringify(A):h==="s"&&typeof A=="object"?`${A.constructor!==Object?A.constructor.name:""} {}`.trim():A.toString()})},inspect(c){switch(typeof c){case"string":if(c.includes("'"))if(c.includes('"')){if(!c.includes("`")&&!c.includes("${"))return`\`${c}\``}else return`"${c}"`;return`'${c}'`;case"number":return isNaN(c)?"NaN":Object.is(c,-0)?String(c):c;case"bigint":return`${String(c)}n`;case"boolean":case"undefined":return String(c);case"object":return"{}"}},types:{isAsyncFunction(c){return c instanceof d},isArrayBufferView(c){return ArrayBuffer.isView(c)}},isBlob:R,deprecate(c,u){return c},addAbortListener:ot.addAbortListener||function(u,m){if(u===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",u);b(u,"signal"),_(m,"listener");let h;return u.aborted?queueMicrotask(()=>m()):(u.addEventListener("abort",m,{__proto__:null,once:!0,[r]:!0}),h=()=>{u.removeEventListener("abort",m)}),{__proto__:null,[i](){var A;(A=h)===null||A===void 0||A()}}},AbortSignalAny:l.any||function(u){if(u.length===1)return u[0];const m=new s,h=()=>m.abort();return u.forEach(A=>{b(A,"signals"),A.addEventListener("abort",h,{once:!0})}),m.signal.addEventListener("abort",()=>{u.forEach(A=>A.removeEventListener("abort",h))},{once:!0}),m.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(un);var te=un.exports,Zt={};const{format:_i,inspect:rt,AggregateError:yi}=te,wi=globalThis.AggregateError||yi,gi=Symbol("kIsNodeError"),Si=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Ei=/^([A-Z][a-z0-9]*)+$/,Ri="__node_internal_",lt={};function ve(e,t){if(!e)throw new lt.ERR_INTERNAL_ASSERTION(t)}function Er(e){let t="",r=e.length;const i=e[0]==="-"?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function Ai(e,t,r){if(typeof t=="function")return ve(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return ve(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),r.length===0?t:_i(t,...r)}function Q(e,t,r){r||(r=Error);class i extends r{constructor(...s){super(Ai(e,t,s))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[gi]=!0,lt[e]=i}function Rr(e){const t=Ri+e.name;return Object.defineProperty(e,"name",{value:t}),e}function mi(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new wi([t,e],t.message);return r.code=t.code,r}return e||t}let vi=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new lt.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};Q("ERR_ASSERTION","%s",Error);Q("ERR_INVALID_ARG_TYPE",(e,t,r)=>{ve(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";e.endsWith(" argument")?i+=`${e} `:i+=`"${e}" ${e.includes(".")?"property":"argument"} `,i+="must be ";const l=[],s=[],d=[];for(const R of t)ve(typeof R=="string","All expected entries have to be of type string"),Si.includes(R)?l.push(R.toLowerCase()):Ei.test(R)?s.push(R):(ve(R!=="object",'The value "object" should be written as "Object"'),d.push(R));if(s.length>0){const R=l.indexOf("object");R!==-1&&(l.splice(l,R,1),s.push("Object"))}if(l.length>0){switch(l.length){case 1:i+=`of type ${l[0]}`;break;case 2:i+=`one of type ${l[0]} or ${l[1]}`;break;default:{const R=l.pop();i+=`one of type ${l.join(", ")}, or ${R}`}}(s.length>0||d.length>0)&&(i+=" or ")}if(s.length>0){switch(s.length){case 1:i+=`an instance of ${s[0]}`;break;case 2:i+=`an instance of ${s[0]} or ${s[1]}`;break;default:{const R=s.pop();i+=`an instance of ${s.join(", ")}, or ${R}`}}d.length>0&&(i+=" or ")}switch(d.length){case 0:break;case 1:d[0].toLowerCase()!==d[0]&&(i+="an "),i+=`${d[0]}`;break;case 2:i+=`one of ${d[0]} or ${d[1]}`;break;default:{const R=d.pop();i+=`one of ${d.join(", ")}, or ${R}`}}if(r==null)i+=`. Received ${r}`;else if(typeof r=="function"&&r.name)i+=`. Received function ${r.name}`;else if(typeof r=="object"){var g;if((g=r.constructor)!==null&&g!==void 0&&g.name)i+=`. Received an instance of ${r.constructor.name}`;else{const R=rt(r,{depth:-1});i+=`. Received ${R}`}}else{let R=rt(r,{colors:!1});R.length>25&&(R=`${R.slice(0,25)}...`),i+=`. Received type ${typeof r} (${R})`}return i},TypeError);Q("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let i=rt(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${i}`},TypeError);Q("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var i;const l=r!=null&&(i=r.constructor)!==null&&i!==void 0&&i.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${l}.`},TypeError);Q("ERR_MISSING_ARGS",(...e)=>{ve(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(i=>`"${i}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const i=e.pop();t+=`The ${e.join(", ")}, and ${i} arguments`}break}return`${t} must be specified`},TypeError);Q("ERR_OUT_OF_RANGE",(e,t,r)=>{ve(t,'Missing "range" argument');let i;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Er(String(r)):typeof r=="bigint"?(i=String(r),(r>2n**32n||r<-(2n**32n))&&(i=Er(i)),i+="n"):i=rt(r),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`},RangeError);Q("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Q("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Q("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Q("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Q("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Q("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Q("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Q("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Q("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Q("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Q("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var ie={AbortError:vi,aggregateTwoErrors:Rr(mi),hideStackFrames:Rr,codes:lt};const{ArrayIsArray:er,ArrayPrototypeIncludes:dn,ArrayPrototypeJoin:cn,ArrayPrototypeMap:Ti,NumberIsInteger:tr,NumberIsNaN:Ii,NumberMAX_SAFE_INTEGER:$i,NumberMIN_SAFE_INTEGER:Ni,NumberParseInt:Di,ObjectPrototypeHasOwnProperty:Mi,RegExpPrototypeExec:bn,String:ki,StringPrototypeToUpperCase:Pi,StringPrototypeTrim:Li}=H,{hideStackFrames:ae,codes:{ERR_SOCKET_BAD_PORT:Oi,ERR_INVALID_ARG_TYPE:ee,ERR_INVALID_ARG_VALUE:Fe,ERR_OUT_OF_RANGE:Te,ERR_UNKNOWN_SIGNAL:Ar}}=ie,{normalizeEncoding:Wi}=te,{isAsyncFunction:xi,isArrayBufferView:Ci}=te.types,mr={};function Fi(e){return e===(e|0)}function ji(e){return e===e>>>0}const Ui=/^[0-7]+$/,Bi="must be a 32-bit unsigned integer or an octal string";function Gi(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(bn(Ui,e)===null)throw new Fe(t,e,Bi);e=Di(e,8)}return hn(e,t),e}const Vi=ae((e,t,r=Ni,i=$i)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!tr(e))throw new Te(t,"an integer",e);if(ei)throw new Te(t,`>= ${r} && <= ${i}`,e)}),Hi=ae((e,t,r=-2147483648,i=2147483647)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!tr(e))throw new Te(t,"an integer",e);if(ei)throw new Te(t,`>= ${r} && <= ${i}`,e)}),hn=ae((e,t,r=!1)=>{if(typeof e!="number")throw new ee(t,"number",e);if(!tr(e))throw new Te(t,"an integer",e);const i=r?1:0,l=4294967295;if(el)throw new Te(t,`>= ${i} && <= ${l}`,e)});function rr(e,t){if(typeof e!="string")throw new ee(t,"string",e)}function qi(e,t,r=void 0,i){if(typeof e!="number")throw new ee(t,"number",e);if(r!=null&&ei||(r!=null||i!=null)&&Ii(e))throw new Te(t,`${r!=null?`>= ${r}`:""}${r!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,e)}const Yi=ae((e,t,r)=>{if(!dn(r,e)){const l="must be one of: "+cn(Ti(r,s=>typeof s=="string"?`'${s}'`:ki(s)),", ");throw new Fe(t,e,l)}});function pn(e,t){if(typeof e!="boolean")throw new ee(t,"boolean",e)}function vt(e,t,r){return e==null||!Mi(e,t)?r:e[t]}const zi=ae((e,t,r=null)=>{const i=vt(r,"allowArray",!1),l=vt(r,"allowFunction",!1);if(!vt(r,"nullable",!1)&&e===null||!i&&er(e)||typeof e!="object"&&(!l||typeof e!="function"))throw new ee(t,"Object",e)}),Ki=ae((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new ee(t,"a dictionary",e)}),at=ae((e,t,r=0)=>{if(!er(e))throw new ee(t,"Array",e);if(e.length{if(!Ci(e))throw new ee(t,["Buffer","TypedArray","DataView"],e)});function to(e,t){const r=Wi(t),i=e.length;if(r==="hex"&&i%2!==0)throw new Fe("encoding",t,`is invalid for data of length ${i}`)}function ro(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&Li(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new Oi(t,e,r);return e|0}const _n=ae((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new ee(t,"AbortSignal",e)}),no=ae((e,t)=>{if(typeof e!="function")throw new ee(t,"Function",e)}),io=ae((e,t)=>{if(typeof e!="function"||xi(e))throw new ee(t,"Function",e)}),oo=ae((e,t)=>{if(e!==void 0)throw new ee(t,"undefined",e)});function lo(e,t,r){if(!dn(r,e))throw new ee(t,`('${cn(r,"|")}')`,e)}const ao=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function vr(e,t){if(typeof e>"u"||!bn(ao,e))throw new Fe(t,e,'must be an array or string of format "; rel=preload; as=style"')}function so(e){if(typeof e=="string")return vr(e,"hints"),e;if(er(e)){const t=e.length;let r="";if(t===0)return r;for(let i=0;i; rel=preload; as=style"')}var Ye={isInt32:Fi,isUint32:ji,parseFileMode:Gi,validateArray:at,validateStringArray:Xi,validateBooleanArray:Ji,validateAbortSignalArray:Qi,validateBoolean:pn,validateBuffer:eo,validateDictionary:Ki,validateEncoding:to,validateFunction:no,validateInt32:Hi,validateInteger:Vi,validateNumber:qi,validateObject:zi,validateOneOf:Yi,validatePlainFunction:io,validatePort:ro,validateSignalName:Zi,validateString:rr,validateUint32:hn,validateUndefined:oo,validateUnion:lo,validateAbortSignal:_n,validateLinkHeaderValue:so},nr={exports:{}};const{SymbolAsyncIterator:Tr,SymbolIterator:Ir,SymbolFor:Ne}=H,yn=Ne("nodejs.stream.destroyed"),wn=Ne("nodejs.stream.errored"),Bt=Ne("nodejs.stream.readable"),Gt=Ne("nodejs.stream.writable"),gn=Ne("nodejs.stream.disturbed"),fo=Ne("nodejs.webstream.isClosedPromise"),uo=Ne("nodejs.webstream.controllerErrorFunction");function st(e,t=!1){var r;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((r=e._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!e._writableState||e._readableState))}function ft(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function co(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function de(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function Sn(e){return!!(e&&!de(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function En(e){return!!(e&&!de(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function Rn(e){return!!(e&&!de(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function bo(e){return Sn(e)||En(e)||Rn(e)}function ho(e,t){return e==null?!1:t===!0?typeof e[Tr]=="function":t===!1?typeof e[Ir]=="function":typeof e[Tr]=="function"||typeof e[Ir]=="function"}function ut(e){if(!de(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!!(e.destroyed||e[yn]||i!=null&&i.destroyed)}function An(e){if(!ft(e))return null;if(e.writableEnded===!0)return!0;const t=e._writableState;return t!=null&&t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function po(e,t){if(!ft(e))return null;if(e.writableFinished===!0)return!0;const r=e._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.finished)!="boolean"?null:!!(r.finished||t===!1&&r.ended===!0&&r.length===0)}function _o(e){if(!st(e))return null;if(e.readableEnded===!0)return!0;const t=e._readableState;return!t||t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function mn(e,t){if(!st(e))return null;const r=e._readableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.endEmitted)!="boolean"?null:!!(r.endEmitted||t===!1&&r.ended===!0&&r.length===0)}function vn(e){return e&&e[Bt]!=null?e[Bt]:typeof(e==null?void 0:e.readable)!="boolean"?null:ut(e)?!1:st(e)&&e.readable&&!mn(e)}function Tn(e){return e&&e[Gt]!=null?e[Gt]:typeof(e==null?void 0:e.writable)!="boolean"?null:ut(e)?!1:ft(e)&&e.writable&&!An(e)}function yo(e,t){return de(e)?ut(e)?!0:!((t==null?void 0:t.readable)!==!1&&vn(e)||(t==null?void 0:t.writable)!==!1&&Tn(e)):null}function wo(e){var t,r;return de(e)?e.writableErrored?e.writableErrored:(t=(r=e._writableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function go(e){var t,r;return de(e)?e.readableErrored?e.readableErrored:(t=(r=e._readableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function So(e){if(!de(e))return null;if(typeof e.closed=="boolean")return e.closed;const t=e._writableState,r=e._readableState;return typeof(t==null?void 0:t.closed)=="boolean"||typeof(r==null?void 0:r.closed)=="boolean"?(t==null?void 0:t.closed)||(r==null?void 0:r.closed):typeof e._closed=="boolean"&&In(e)?e._closed:null}function In(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function $n(e){return typeof e._sent100=="boolean"&&In(e)}function Eo(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function Ro(e){if(!de(e))return null;const t=e._writableState,r=e._readableState,i=t||r;return!i&&$n(e)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function Ao(e){var t;return!!(e&&((t=e[gn])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function mo(e){var t,r,i,l,s,d,g,R,b,_;return!!(e&&((t=(r=(i=(l=(s=(d=e[wn])!==null&&d!==void 0?d:e.readableErrored)!==null&&s!==void 0?s:e.writableErrored)!==null&&l!==void 0?l:(g=e._readableState)===null||g===void 0?void 0:g.errorEmitted)!==null&&i!==void 0?i:(R=e._writableState)===null||R===void 0?void 0:R.errorEmitted)!==null&&r!==void 0?r:(b=e._readableState)===null||b===void 0?void 0:b.errored)!==null&&t!==void 0?t:!((_=e._writableState)===null||_===void 0)&&_.errored))}var ye={isDestroyed:ut,kIsDestroyed:yn,isDisturbed:Ao,kIsDisturbed:gn,isErrored:mo,kIsErrored:wn,isReadable:vn,kIsReadable:Bt,kIsClosedPromise:fo,kControllerErrorFunction:uo,kIsWritable:Gt,isClosed:So,isDuplexNodeStream:co,isFinished:yo,isIterable:ho,isReadableNodeStream:st,isReadableStream:Sn,isReadableEnded:_o,isReadableFinished:mn,isReadableErrored:go,isNodeStream:de,isWebStream:bo,isWritable:Tn,isWritableNodeStream:ft,isWritableStream:En,isWritableEnded:An,isWritableFinished:po,isWritableErrored:wo,isServerRequest:Eo,isServerResponse:$n,willEmitClose:Ro,isTransformStream:Rn};const ge=$e,{AbortError:Nn,codes:vo}=ie,{ERR_INVALID_ARG_TYPE:To,ERR_STREAM_PREMATURE_CLOSE:$r}=vo,{kEmptyObject:Vt,once:Ht}=te,{validateAbortSignal:Io,validateFunction:$o,validateObject:No,validateBoolean:Do}=Ye,{Promise:Mo,PromisePrototypeThen:ko,SymbolDispose:Dn}=H,{isClosed:Po,isReadable:Nr,isReadableNodeStream:Tt,isReadableStream:Lo,isReadableFinished:Dr,isReadableErrored:Mr,isWritable:kr,isWritableNodeStream:Pr,isWritableStream:Oo,isWritableFinished:Lr,isWritableErrored:Or,isNodeStream:Wo,willEmitClose:xo,kIsClosedPromise:Co}=ye;let xe;function Fo(e){return e.setHeader&&typeof e.abort=="function"}const qt=()=>{};function Mn(e,t,r){var i,l;if(arguments.length===2?(r=t,t=Vt):t==null?t=Vt:No(t,"options"),$o(r,"callback"),Io(t.signal,"options.signal"),r=Ht(r),Lo(e)||Oo(e))return jo(e,t,r);if(!Wo(e))throw new To("stream",["ReadableStream","WritableStream","Stream"],e);const s=(i=t.readable)!==null&&i!==void 0?i:Tt(e),d=(l=t.writable)!==null&&l!==void 0?l:Pr(e),g=e._writableState,R=e._readableState,b=()=>{e.writable||c()};let _=xo(e)&&Tt(e)===s&&Pr(e)===d,v=Lr(e,!1);const c=()=>{v=!0,e.destroyed&&(_=!1),!(_&&(!e.readable||s))&&(!s||u)&&r.call(e)};let u=Dr(e,!1);const m=()=>{u=!0,e.destroyed&&(_=!1),!(_&&(!e.writable||d))&&(!d||v)&&r.call(e)},h=P=>{r.call(e,P)};let A=Po(e);const k=()=>{A=!0;const P=Or(e)||Mr(e);if(P&&typeof P!="boolean")return r.call(e,P);if(s&&!u&&Tt(e,!0)&&!Dr(e,!1))return r.call(e,new $r);if(d&&!v&&!Lr(e,!1))return r.call(e,new $r);r.call(e)},M=()=>{A=!0;const P=Or(e)||Mr(e);if(P&&typeof P!="boolean")return r.call(e,P);r.call(e)},y=()=>{e.req.on("finish",c)};Fo(e)?(e.on("complete",c),_||e.on("abort",k),e.req?y():e.on("request",y)):d&&!g&&(e.on("end",b),e.on("close",b)),!_&&typeof e.aborted=="boolean"&&e.on("aborted",k),e.on("end",m),e.on("finish",c),t.error!==!1&&e.on("error",h),e.on("close",k),A?ge.nextTick(k):g!=null&&g.errorEmitted||R!=null&&R.errorEmitted?_||ge.nextTick(M):(!s&&(!_||Nr(e))&&(v||kr(e)===!1)||!d&&(!_||kr(e))&&(u||Nr(e)===!1)||R&&e.req&&e.aborted)&&ge.nextTick(M);const j=()=>{r=qt,e.removeListener("aborted",k),e.removeListener("complete",c),e.removeListener("abort",k),e.removeListener("request",y),e.req&&e.req.removeListener("finish",c),e.removeListener("end",b),e.removeListener("close",b),e.removeListener("finish",c),e.removeListener("end",m),e.removeListener("error",h),e.removeListener("close",k)};if(t.signal&&!A){const P=()=>{const X=r;j(),X.call(e,new Nn(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)ge.nextTick(P);else{xe=xe||te.addAbortListener;const X=xe(t.signal,P),oe=r;r=Ht((...B)=>{X[Dn](),oe.apply(e,B)})}}return j}function jo(e,t,r){let i=!1,l=qt;if(t.signal)if(l=()=>{i=!0,r.call(e,new Nn(void 0,{cause:t.signal.reason}))},t.signal.aborted)ge.nextTick(l);else{xe=xe||te.addAbortListener;const d=xe(t.signal,l),g=r;r=Ht((...R)=>{d[Dn](),g.apply(e,R)})}const s=(...d)=>{i||ge.nextTick(()=>r.apply(e,d))};return ko(e[Co].promise,s,s),qt}function Uo(e,t){var r;let i=!1;return t===null&&(t=Vt),(r=t)!==null&&r!==void 0&&r.cleanup&&(Do(t.cleanup,"cleanup"),i=t.cleanup),new Mo((l,s)=>{const d=Mn(e,t,g=>{i&&d(),g?s(g):l()})})}nr.exports=Mn;nr.exports.finished=Uo;var Se=nr.exports;const fe=$e,{aggregateTwoErrors:Bo,codes:{ERR_MULTIPLE_CALLBACK:Go},AbortError:Vo}=ie,{Symbol:kn}=H,{kIsDestroyed:Ho,isDestroyed:qo,isFinished:Yo,isServerRequest:zo}=ye,Pn=kn("kDestroy"),Yt=kn("kConstruct");function Ln(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function Ko(e,t){const r=this._readableState,i=this._writableState,l=i||r;return i!=null&&i.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(Ln(e,i,r),i&&(i.destroyed=!0),r&&(r.destroyed=!0),l.constructed?Wr(this,e,t):this.once(Pn,function(s){Wr(this,Bo(s,e),t)}),this)}function Wr(e,t,r){let i=!1;function l(s){if(i)return;i=!0;const d=e._readableState,g=e._writableState;Ln(s,g,d),g&&(g.closed=!0),d&&(d.closed=!0),typeof r=="function"&&r(s),s?fe.nextTick(Xo,e,s):fe.nextTick(On,e)}try{e._destroy(t||null,l)}catch(s){l(s)}}function Xo(e,t){zt(e,t),On(e)}function On(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function zt(e,t){const r=e._readableState,i=e._writableState;i!=null&&i.errorEmitted||r!=null&&r.errorEmitted||(i&&(i.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function Jo(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function Kt(e,t,r){const i=e._readableState,l=e._writableState;if(l!=null&&l.destroyed||i!=null&&i.destroyed)return this;i!=null&&i.autoDestroy||l!=null&&l.autoDestroy?e.destroy(t):t&&(t.stack,l&&!l.errored&&(l.errored=t),i&&!i.errored&&(i.errored=t),r?fe.nextTick(zt,e,t):zt(e,t))}function Qo(e,t){if(typeof e._construct!="function")return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(Yt,t),!(e.listenerCount(Yt)>1)&&fe.nextTick(Zo,e)}function Zo(e){let t=!1;function r(i){if(t){Kt(e,i??new Go);return}t=!0;const l=e._readableState,s=e._writableState,d=s||l;l&&(l.constructed=!0),s&&(s.constructed=!0),d.destroyed?e.emit(Pn,i):i?Kt(e,i,!0):fe.nextTick(el,e)}try{e._construct(i=>{fe.nextTick(r,i)})}catch(i){fe.nextTick(r,i)}}function el(e){e.emit(Yt)}function xr(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function Wn(e){e.emit("close")}function tl(e,t){e.emit("error",t),fe.nextTick(Wn,e)}function rl(e,t){!e||qo(e)||(!t&&!Yo(e)&&(t=new Vo),zo(e)?(e.socket=null,e.destroy(t)):xr(e)?e.abort():xr(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?fe.nextTick(tl,e,t):fe.nextTick(Wn,e),e.destroyed||(e[Ho]=!0))}var je={construct:Qo,destroyer:rl,destroy:Ko,undestroy:Jo,errorOrDestroy:Kt};const{ArrayIsArray:nl,ObjectSetPrototypeOf:xn}=H,{EventEmitter:dt}=ot;function ct(e){dt.call(this,e)}xn(ct.prototype,dt.prototype);xn(ct,dt);ct.prototype.pipe=function(e,t){const r=this;function i(_){e.writable&&e.write(_)===!1&&r.pause&&r.pause()}r.on("data",i);function l(){r.readable&&r.resume&&r.resume()}e.on("drain",l),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",d),r.on("close",g));let s=!1;function d(){s||(s=!0,e.end())}function g(){s||(s=!0,typeof e.destroy=="function"&&e.destroy())}function R(_){b(),dt.listenerCount(this,"error")===0&&this.emit("error",_)}Xt(r,"error",R),Xt(e,"error",R);function b(){r.removeListener("data",i),e.removeListener("drain",l),r.removeListener("end",d),r.removeListener("close",g),r.removeListener("error",R),e.removeListener("error",R),r.removeListener("end",b),r.removeListener("close",b),e.removeListener("close",b)}return r.on("end",b),r.on("close",b),e.on("close",b),e.emit("pipe",r),e};function Xt(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):nl(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var ir={Stream:ct,prependListener:Xt},Cn={exports:{}};(function(e){const{SymbolDispose:t}=H,{AbortError:r,codes:i}=ie,{isNodeStream:l,isWebStream:s,kControllerErrorFunction:d}=ye,g=Se,{ERR_INVALID_ARG_TYPE:R}=i;let b;const _=(v,c)=>{if(typeof v!="object"||!("aborted"in v))throw new R(c,"AbortSignal",v)};e.exports.addAbortSignal=function(c,u){if(_(c,"signal"),!l(u)&&!s(u))throw new R("stream",["ReadableStream","WritableStream","Stream"],u);return e.exports.addAbortSignalNoValidate(c,u)},e.exports.addAbortSignalNoValidate=function(v,c){if(typeof v!="object"||!("aborted"in v))return c;const u=l(c)?()=>{c.destroy(new r(void 0,{cause:v.reason}))}:()=>{c[d](new r(void 0,{cause:v.reason}))};if(v.aborted)u();else{b=b||te.addAbortListener;const m=b(v,u);g(c,m[t])}return c}})(Cn);var bt=Cn.exports;const{StringPrototypeSlice:Cr,SymbolIterator:il,TypedArrayPrototypeSet:Je,Uint8Array:ol}=H,{Buffer:It}=Ie,{inspect:ll}=te;var al=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,i=""+r.data;for(;(r=r.next)!==null;)i+=t+r.data;return i}concat(t){if(this.length===0)return It.alloc(0);const r=It.allocUnsafe(t>>>0);let i=this.head,l=0;for(;i;)Je(r,i.data,l),l+=i.data.length,i=i.next;return r}consume(t,r){const i=this.head.data;if(ts.length)r+=s,t-=s.length;else{t===s.length?(r+=s,++l,i.next?this.head=i.next:this.head=this.tail=null):(r+=Cr(s,0,t),this.head=i,i.data=Cr(s,t));break}++l}while((i=i.next)!==null);return this.length-=l,r}_getBuffer(t){const r=It.allocUnsafe(t),i=t;let l=this.head,s=0;do{const d=l.data;if(t>d.length)Je(r,d,i-t),t-=d.length;else{t===d.length?(Je(r,d,i-t),++s,l.next?this.head=l.next:this.head=this.tail=null):(Je(r,new ol(d.buffer,d.byteOffset,t),i-t),this.head=l,l.data=d.slice(t));break}++s}while((l=l.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return ll(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:sl,NumberIsInteger:fl}=H,{validateInteger:ul}=Ye,{ERR_INVALID_ARG_VALUE:dl}=ie.codes;let Fn=16*1024,jn=16;function cl(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Un(e){return e?jn:Fn}function bl(e,t){ul(t,"value",0),e?jn=t:Fn=t}function hl(e,t,r,i){const l=cl(t,i,r);if(l!=null){if(!fl(l)||l<0){const s=i?`options.${r}`:"options.highWaterMark";throw new dl(s,l)}return sl(l)}return Un(e.objectMode)}var ht={getHighWaterMark:hl,getDefaultHighWaterMark:Un,setDefaultHighWaterMark:bl};const Fr=$e,{PromisePrototypeThen:pl,SymbolAsyncIterator:jr,SymbolIterator:Ur}=H,{Buffer:_l}=Ie,{ERR_INVALID_ARG_TYPE:yl,ERR_STREAM_NULL_VALUES:wl}=ie.codes;function gl(e,t,r){let i;if(typeof t=="string"||t instanceof _l)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let l;if(t&&t[jr])l=!0,i=t[jr]();else if(t&&t[Ur])l=!1,i=t[Ur]();else throw new yl("iterable",["Iterable"],t);const s=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;s._read=function(){d||(d=!0,R())},s._destroy=function(b,_){pl(g(b),()=>Fr.nextTick(_,b),v=>Fr.nextTick(_,v||b))};async function g(b){const _=b!=null,v=typeof i.throw=="function";if(_&&v){const{value:c,done:u}=await i.throw(b);if(await c,u)return}if(typeof i.return=="function"){const{value:c}=await i.return();await c}}async function R(){for(;;){try{const{value:b,done:_}=l?await i.next():i.next();if(_)s.push(null);else{const v=b&&typeof b.then=="function"?await b:b;if(v===null)throw d=!1,new wl;if(s.push(v))continue;d=!1}}catch(b){s.destroy(b)}break}}return s}var Bn=gl,$t,Br;function pt(){if(Br)return $t;Br=1;const e=$e,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:i,NumberParseInt:l,ObjectDefineProperties:s,ObjectKeys:d,ObjectSetPrototypeOf:g,Promise:R,SafeSet:b,SymbolAsyncDispose:_,SymbolAsyncIterator:v,Symbol:c}=H;$t=D,D.ReadableState=be;const{EventEmitter:u}=ot,{Stream:m,prependListener:h}=ir,{Buffer:A}=Ie,{addAbortSignal:k}=bt,M=Se;let y=te.debuglog("stream",n=>{y=n});const j=al,P=je,{getHighWaterMark:X,getDefaultHighWaterMark:oe}=ht,{aggregateTwoErrors:B,codes:{ERR_INVALID_ARG_TYPE:q,ERR_METHOD_NOT_IMPLEMENTED:re,ERR_OUT_OF_RANGE:ne,ERR_STREAM_PUSH_AFTER_EOF:W,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:w},AbortError:x}=ie,{validateObject:L}=Ye,O=c("kPaused"),{StringDecoder:Y}=bi,z=Bn;g(D.prototype,m.prototype),g(D,m);const V=()=>{},{errorOrDestroy:K}=P,C=1,ce=2,N=4,J=8,se=16,ke=32,Pe=64,Le=128,Ue=256,yt=512,Be=1024,Oe=2048,a=4096,f=8192,p=16384,I=32768,$=65536,U=1<<17,G=1<<18;function F(n){return{enumerable:!1,get(){return(this.state&n)!==0},set(o){o?this.state|=n:this.state&=~n}}}s(be.prototype,{objectMode:F(C),ended:F(ce),endEmitted:F(N),reading:F(J),constructed:F(se),sync:F(ke),needReadable:F(Pe),emittedReadable:F(Le),readableListening:F(Ue),resumeScheduled:F(yt),errorEmitted:F(Be),emitClose:F(Oe),autoDestroy:F(a),destroyed:F(f),closed:F(p),closeEmitted:F(I),multiAwaitDrain:F($),readingMore:F(U),dataEmitted:F(G)});function be(n,o,S){typeof S!="boolean"&&(S=o instanceof pe()),this.state=Oe|a|se|ke,n&&n.objectMode&&(this.state|=C),S&&n&&n.readableObjectMode&&(this.state|=C),this.highWaterMark=n?X(this,n,"readableHighWaterMark",S):oe(!1),this.buffer=new j,this.length=0,this.pipes=[],this.flowing=null,this[O]=null,n&&n.emitClose===!1&&(this.state&=~Oe),n&&n.autoDestroy===!1&&(this.state&=~a),this.errored=null,this.defaultEncoding=n&&n.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,n&&n.encoding&&(this.decoder=new Y(n.encoding),this.encoding=n.encoding)}function D(n){if(!(this instanceof D))return new D(n);const o=this instanceof pe();this._readableState=new be(n,this,o),n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy),typeof n.construct=="function"&&(this._construct=n.construct),n.signal&&!o&&k(n.signal,this)),m.call(this,n),P.construct(this,()=>{this._readableState.needReadable&&Xe(this,this._readableState)})}D.prototype.destroy=P.destroy,D.prototype._undestroy=P.undestroy,D.prototype._destroy=function(n,o){o(n)},D.prototype[u.captureRejectionSymbol]=function(n){this.destroy(n)},D.prototype[_]=function(){let n;return this.destroyed||(n=this.readableEnded?null:new x,this.destroy(n)),new R((o,S)=>M(this,E=>E&&E!==n?S(E):o(null)))},D.prototype.push=function(n,o){return we(this,n,o,!1)},D.prototype.unshift=function(n,o){return we(this,n,o,!0)};function we(n,o,S,E){y("readableAddChunk",o);const T=n._readableState;let Z;if(T.state&C||(typeof o=="string"?(S=S||T.defaultEncoding,T.encoding!==S&&(E&&T.encoding?o=A.from(o,S).toString(T.encoding):(o=A.from(o,S),S=""))):o instanceof A?S="":m._isUint8Array(o)?(o=m._uint8ArrayToBuffer(o),S=""):o!=null&&(Z=new q("chunk",["string","Buffer","Uint8Array"],o))),Z)K(n,Z);else if(o===null)T.state&=~J,ri(n,T);else if(T.state&C||o&&o.length>0)if(E)if(T.state&N)K(n,new w);else{if(T.destroyed||T.errored)return!1;wt(n,T,o,!0)}else if(T.ended)K(n,new W);else{if(T.destroyed||T.errored)return!1;T.state&=~J,T.decoder&&!S?(o=T.decoder.write(o),T.objectMode||o.length!==0?wt(n,T,o,!1):Xe(n,T)):wt(n,T,o,!1)}else E||(T.state&=~J,Xe(n,T));return!T.ended&&(T.length0?(o.state&$?o.awaitDrainWriters.clear():o.awaitDrainWriters=null,o.dataEmitted=!0,n.emit("data",S)):(o.length+=o.objectMode?1:S.length,E?o.buffer.unshift(S):o.buffer.push(S),o.state&Pe&&Ke(n)),Xe(n,o)}D.prototype.isPaused=function(){const n=this._readableState;return n[O]===!0||n.flowing===!1},D.prototype.setEncoding=function(n){const o=new Y(n);this._readableState.decoder=o,this._readableState.encoding=this._readableState.decoder.encoding;const S=this._readableState.buffer;let E="";for(const T of S)E+=o.write(T);return S.clear(),E!==""&&S.push(E),this._readableState.length=E.length,this};const ei=1073741824;function ti(n){if(n>ei)throw new ne("size","<= 1GiB",n);return n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++,n}function ur(n,o){return n<=0||o.length===0&&o.ended?0:o.state&C?1:i(n)?o.flowing&&o.length?o.buffer.first().length:o.length:n<=o.length?n:o.ended?o.length:0}D.prototype.read=function(n){y("read",n),n===void 0?n=NaN:r(n)||(n=l(n,10));const o=this._readableState,S=n;if(n>o.highWaterMark&&(o.highWaterMark=ti(n)),n!==0&&(o.state&=~Le),n===0&&o.needReadable&&((o.highWaterMark!==0?o.length>=o.highWaterMark:o.length>0)||o.ended))return y("read: emitReadable",o.length,o.ended),o.length===0&&o.ended?gt(this):Ke(this),null;if(n=ur(n,o),n===0&&o.ended)return o.length===0&>(this),null;let E=(o.state&Pe)!==0;if(y("need readable",E),(o.length===0||o.length-n0?T=pr(n,o):T=null,T===null?(o.needReadable=o.length<=o.highWaterMark,n=0):(o.length-=n,o.multiAwaitDrain?o.awaitDrainWriters.clear():o.awaitDrainWriters=null),o.length===0&&(o.ended||(o.needReadable=!0),S!==n&&o.ended&>(this)),T!==null&&!o.errorEmitted&&!o.closeEmitted&&(o.dataEmitted=!0,this.emit("data",T)),T};function ri(n,o){if(y("onEofChunk"),!o.ended){if(o.decoder){const S=o.decoder.end();S&&S.length&&(o.buffer.push(S),o.length+=o.objectMode?1:S.length)}o.ended=!0,o.sync?Ke(n):(o.needReadable=!1,o.emittedReadable=!0,dr(n))}}function Ke(n){const o=n._readableState;y("emitReadable",o.needReadable,o.emittedReadable),o.needReadable=!1,o.emittedReadable||(y("emitReadable",o.flowing),o.emittedReadable=!0,e.nextTick(dr,n))}function dr(n){const o=n._readableState;y("emitReadable_",o.destroyed,o.length,o.ended),!o.destroyed&&!o.errored&&(o.length||o.ended)&&(n.emit("readable"),o.emittedReadable=!1),o.needReadable=!o.flowing&&!o.ended&&o.length<=o.highWaterMark,br(n)}function Xe(n,o){!o.readingMore&&o.constructed&&(o.readingMore=!0,e.nextTick(ni,n,o))}function ni(n,o){for(;!o.reading&&!o.ended&&(o.length1&&E.pipes.includes(n)&&(y("false write response, pause",E.awaitDrainWriters.size),E.awaitDrainWriters.add(n)),S.pause()),Ee||(Ee=ii(S,n),n.on("drain",Ee))}S.on("data",Sr);function Sr(Re){y("ondata");const he=n.write(Re);y("dest.write",he),he===!1&&gr()}function Et(Re){if(y("onerror",Re),Ge(),n.removeListener("error",Et),n.listenerCount("error")===0){const he=n._writableState||n._readableState;he&&!he.errorEmitted?K(n,Re):n.emit("error",Re)}}h(n,"error",Et);function Rt(){n.removeListener("finish",At),Ge()}n.once("close",Rt);function At(){y("onfinish"),n.removeListener("close",Rt),Ge()}n.once("finish",At);function Ge(){y("unpipe"),S.unpipe(n)}return n.emit("pipe",S),n.writableNeedDrain===!0?gr():E.flowing||(y("pipe resume"),S.resume()),n};function ii(n,o){return function(){const E=n._readableState;E.awaitDrainWriters===o?(y("pipeOnDrain",1),E.awaitDrainWriters=null):E.multiAwaitDrain&&(y("pipeOnDrain",E.awaitDrainWriters.size),E.awaitDrainWriters.delete(o)),(!E.awaitDrainWriters||E.awaitDrainWriters.size===0)&&n.listenerCount("data")&&n.resume()}}D.prototype.unpipe=function(n){const o=this._readableState,S={hasUnpiped:!1};if(o.pipes.length===0)return this;if(!n){const T=o.pipes;o.pipes=[],this.pause();for(let Z=0;Z0,E.flowing!==!1&&this.resume()):n==="readable"&&!E.endEmitted&&!E.readableListening&&(E.readableListening=E.needReadable=!0,E.flowing=!1,E.emittedReadable=!1,y("on readable",E.length,E.reading),E.length?Ke(this):E.reading||e.nextTick(oi,this)),S},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(n,o){const S=m.prototype.removeListener.call(this,n,o);return n==="readable"&&e.nextTick(cr,this),S},D.prototype.off=D.prototype.removeListener,D.prototype.removeAllListeners=function(n){const o=m.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&e.nextTick(cr,this),o};function cr(n){const o=n._readableState;o.readableListening=n.listenerCount("readable")>0,o.resumeScheduled&&o[O]===!1?o.flowing=!0:n.listenerCount("data")>0?n.resume():o.readableListening||(o.flowing=null)}function oi(n){y("readable nexttick read 0"),n.read(0)}D.prototype.resume=function(){const n=this._readableState;return n.flowing||(y("resume"),n.flowing=!n.readableListening,li(this,n)),n[O]=!1,this};function li(n,o){o.resumeScheduled||(o.resumeScheduled=!0,e.nextTick(ai,n,o))}function ai(n,o){y("resume",o.reading),o.reading||n.read(0),o.resumeScheduled=!1,n.emit("resume"),br(n),o.flowing&&!o.reading&&n.read(0)}D.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[O]=!0,this};function br(n){const o=n._readableState;for(y("flow",o.flowing);o.flowing&&n.read()!==null;);}D.prototype.wrap=function(n){let o=!1;n.on("data",E=>{!this.push(E)&&n.pause&&(o=!0,n.pause())}),n.on("end",()=>{this.push(null)}),n.on("error",E=>{K(this,E)}),n.on("close",()=>{this.destroy()}),n.on("destroy",()=>{this.destroy()}),this._read=()=>{o&&n.resume&&(o=!1,n.resume())};const S=d(n);for(let E=1;E{T=le?B(T,le):null,S(),S=V});try{for(;;){const le=n.destroyed?null:n.read();if(le!==null)yield le;else{if(T)throw T;if(T===null)return;await new R(E)}}}catch(le){throw T=B(T,le),T}finally{(T||(o==null?void 0:o.destroyOnReturn)!==!1)&&(T===void 0||n._readableState.autoDestroy)?P.destroyer(n,null):(n.off("readable",E),Z())}}s(D.prototype,{readable:{__proto__:null,get(){const n=this._readableState;return!!n&&n.readable!==!1&&!n.destroyed&&!n.errorEmitted&&!n.endEmitted},set(n){this._readableState&&(this._readableState.readable=!!n)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(n){this._readableState&&(this._readableState.destroyed=n)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(be.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[O]!==!1},set(n){this[O]=!!n}}}),D._fromList=pr;function pr(n,o){if(o.length===0)return null;let S;return o.objectMode?S=o.buffer.shift():!n||n>=o.length?(o.decoder?S=o.buffer.join(""):o.buffer.length===1?S=o.buffer.first():S=o.buffer.concat(o.length),o.buffer.clear()):S=o.buffer.consume(n,o.decoder),S}function gt(n){const o=n._readableState;y("endReadable",o.endEmitted),o.endEmitted||(o.ended=!0,e.nextTick(fi,o,n))}function fi(n,o){if(y("endReadableNT",n.endEmitted,n.length),!n.errored&&!n.closeEmitted&&!n.endEmitted&&n.length===0){if(n.endEmitted=!0,o.emit("end"),o.writable&&o.allowHalfOpen===!1)e.nextTick(ui,o);else if(n.autoDestroy){const S=o._writableState;(!S||S.autoDestroy&&(S.finished||S.writable===!1))&&o.destroy()}}}function ui(n){n.writable&&!n.writableEnded&&!n.destroyed&&n.end()}D.from=function(n,o){return z(D,n,o)};let St;function _r(){return St===void 0&&(St={}),St}return D.fromWeb=function(n,o){return _r().newStreamReadableFromReadableStream(n,o)},D.toWeb=function(n,o){return _r().newReadableStreamFromStreamReadable(n,o)},D.wrap=function(n,o){var S,E;return new D({objectMode:(S=(E=n.readableObjectMode)!==null&&E!==void 0?E:n.objectMode)!==null&&S!==void 0?S:!0,...o,destroy(T,Z){P.destroyer(n,T),Z(T)}}).wrap(n)},$t}var Nt,Gr;function or(){if(Gr)return Nt;Gr=1;const e=$e,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:l,ObjectDefineProperties:s,ObjectSetPrototypeOf:d,StringPrototypeToLowerCase:g,Symbol:R,SymbolHasInstance:b}=H;Nt=L,L.WritableState=w;const{EventEmitter:_}=ot,v=ir.Stream,{Buffer:c}=Ie,u=je,{addAbortSignal:m}=bt,{getHighWaterMark:h,getDefaultHighWaterMark:A}=ht,{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:M,ERR_MULTIPLE_CALLBACK:y,ERR_STREAM_CANNOT_PIPE:j,ERR_STREAM_DESTROYED:P,ERR_STREAM_ALREADY_FINISHED:X,ERR_STREAM_NULL_VALUES:oe,ERR_STREAM_WRITE_AFTER_END:B,ERR_UNKNOWN_ENCODING:q}=ie.codes,{errorOrDestroy:re}=u;d(L.prototype,v.prototype),d(L,v);function ne(){}const W=R("kOnFinished");function w(a,f,p){typeof p!="boolean"&&(p=f instanceof pe()),this.objectMode=!!(a&&a.objectMode),p&&(this.objectMode=this.objectMode||!!(a&&a.writableObjectMode)),this.highWaterMark=a?h(this,a,"writableHighWaterMark",p):A(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const I=!!(a&&a.decodeStrings===!1);this.decodeStrings=!I,this.defaultEncoding=a&&a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=K.bind(void 0,f),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,x(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!a||a.emitClose!==!1,this.autoDestroy=!a||a.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[W]=[]}function x(a){a.buffered=[],a.bufferedIndex=0,a.allBuffers=!0,a.allNoop=!0}w.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},l(w.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function L(a){const f=this instanceof pe();if(!f&&!i(L,this))return new L(a);this._writableState=new w(a,this,f),a&&(typeof a.write=="function"&&(this._write=a.write),typeof a.writev=="function"&&(this._writev=a.writev),typeof a.destroy=="function"&&(this._destroy=a.destroy),typeof a.final=="function"&&(this._final=a.final),typeof a.construct=="function"&&(this._construct=a.construct),a.signal&&m(a.signal,this)),v.call(this,a),u.construct(this,()=>{const p=this._writableState;p.writing||J(this,p),Le(this,p)})}l(L,b,{__proto__:null,value:function(a){return i(this,a)?!0:this!==L?!1:a&&a._writableState instanceof w}}),L.prototype.pipe=function(){re(this,new j)};function O(a,f,p,I){const $=a._writableState;if(typeof p=="function")I=p,p=$.defaultEncoding;else{if(!p)p=$.defaultEncoding;else if(p!=="buffer"&&!c.isEncoding(p))throw new q(p);typeof I!="function"&&(I=ne)}if(f===null)throw new oe;if(!$.objectMode)if(typeof f=="string")$.decodeStrings!==!1&&(f=c.from(f,p),p="buffer");else if(f instanceof c)p="buffer";else if(v._isUint8Array(f))f=v._uint8ArrayToBuffer(f),p="buffer";else throw new k("chunk",["string","Buffer","Uint8Array"],f);let U;return $.ending?U=new B:$.destroyed&&(U=new P("write")),U?(e.nextTick(I,U),re(a,U,!0),U):($.pendingcb++,Y(a,$,f,p,I))}L.prototype.write=function(a,f,p){return O(this,a,f,p)===!0},L.prototype.cork=function(){this._writableState.corked++},L.prototype.uncork=function(){const a=this._writableState;a.corked&&(a.corked--,a.writing||J(this,a))},L.prototype.setDefaultEncoding=function(f){if(typeof f=="string"&&(f=g(f)),!c.isEncoding(f))throw new q(f);return this._writableState.defaultEncoding=f,this};function Y(a,f,p,I,$){const U=f.objectMode?1:p.length;f.length+=U;const G=f.lengthp.bufferedIndex&&J(a,p),I?p.afterWriteTickInfo!==null&&p.afterWriteTickInfo.cb===$?p.afterWriteTickInfo.count++:(p.afterWriteTickInfo={count:1,cb:$,stream:a,state:p},e.nextTick(C,p.afterWriteTickInfo)):ce(a,p,1,$))}function C({stream:a,state:f,count:p,cb:I}){return f.afterWriteTickInfo=null,ce(a,f,p,I)}function ce(a,f,p,I){for(!f.ending&&!a.destroyed&&f.length===0&&f.needDrain&&(f.needDrain=!1,a.emit("drain"));p-- >0;)f.pendingcb--,I();f.destroyed&&N(f),Le(a,f)}function N(a){if(a.writing)return;for(let $=a.bufferedIndex;$1&&a._writev){f.pendingcb-=U-1;const F=f.allNoop?ne:D=>{for(let we=G;we256?(p.splice(0,G),f.bufferedIndex=0):f.bufferedIndex=G}f.bufferProcessing=!1}L.prototype._write=function(a,f,p){if(this._writev)this._writev([{chunk:a,encoding:f}],p);else throw new M("_write()")},L.prototype._writev=null,L.prototype.end=function(a,f,p){const I=this._writableState;typeof a=="function"?(p=a,a=null,f=null):typeof f=="function"&&(p=f,f=null);let $;if(a!=null){const U=O(this,a,f);U instanceof r&&($=U)}return I.corked&&(I.corked=1,this.uncork()),$||(!I.errored&&!I.ending?(I.ending=!0,Le(this,I,!0),I.ended=!0):I.finished?$=new X("end"):I.destroyed&&($=new P("end"))),typeof p=="function"&&($||I.finished?e.nextTick(p,$):I[W].push(p)),this};function se(a){return a.ending&&!a.destroyed&&a.constructed&&a.length===0&&!a.errored&&a.buffered.length===0&&!a.finished&&!a.writing&&!a.errorEmitted&&!a.closeEmitted}function ke(a,f){let p=!1;function I($){if(p){re(a,$??y());return}if(p=!0,f.pendingcb--,$){const U=f[W].splice(0);for(let G=0;G{se($)?Ue(I,$):$.pendingcb--},a,f)):se(f)&&(f.pendingcb++,Ue(a,f))))}function Ue(a,f){f.pendingcb--,f.finished=!0;const p=f[W].splice(0);for(let I=0;I{if(N!=null)throw new m("nully","body",N)},N=>{h(C,N)});return C=new q({objectMode:!0,readable:!1,write:Y,final(N){z(async()=>{try{await ce,e.nextTick(N,null)}catch(J){e.nextTick(N,J)}})},destroy:V})}throw new m("Iterable, AsyncIterable or AsyncFunction",x,O)}if(X(w))return W(w.arrayBuffer());if(l(w))return j(q,w,{objectMode:!0,writable:!1});if(b(w==null?void 0:w.readable)&&_(w==null?void 0:w.writable))return q.fromWeb(w);if(typeof(w==null?void 0:w.writable)=="object"||typeof(w==null?void 0:w.readable)=="object"){const O=w!=null&&w.readable?d(w==null?void 0:w.readable)?w==null?void 0:w.readable:W(w.readable):void 0,Y=w!=null&&w.writable?g(w==null?void 0:w.writable)?w==null?void 0:w.writable:W(w.writable):void 0;return ne({readable:O,writable:Y})}const L=w==null?void 0:w.then;if(typeof L=="function"){let O;return B(L,w,Y=>{Y!=null&&O.push(Y),O.push(null)},Y=>{h(O,Y)}),O=new q({objectMode:!0,writable:!1,read(){}})}throw new u(x,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],w)};function re(W){let{promise:w,resolve:x}=y();const L=new oe,O=L.signal;return{value:W(async function*(){for(;;){const z=w;w=null;const{chunk:V,done:K,cb:C}=await z;if(e.nextTick(C),K)return;if(O.aborted)throw new c(void 0,{cause:O.reason});({promise:w,resolve:x}=y()),yield V}}(),{signal:O}),write(z,V,K){const C=x;x=null,C({chunk:z,done:!1,cb:K})},final(z){const V=x;x=null,V({done:!0,cb:z})},destroy(z,V){L.abort(),V(z)}}}function ne(W){const w=W.readable&&typeof W.readable.read!="function"?k.wrap(W.readable):W.readable,x=W.writable;let L=!!r(w),O=!!i(x),Y,z,V,K,C;function ce(N){const J=K;K=null,J?J(N):N&&C.destroy(N)}return C=new q({readableObjectMode:!!(w!=null&&w.readableObjectMode),writableObjectMode:!!(x!=null&&x.writableObjectMode),readable:L,writable:O}),O&&(v(x,N=>{O=!1,N&&h(w,N),ce(N)}),C._write=function(N,J,se){x.write(N,J)?se():Y=se},C._final=function(N){x.end(),z=N},x.on("drain",function(){if(Y){const N=Y;Y=null,N()}}),x.on("finish",function(){if(z){const N=z;z=null,N()}})),L&&(v(w,N=>{L=!1,N&&h(w,N),ce(N)}),w.on("readable",function(){if(V){const N=V;V=null,N()}}),w.on("end",function(){C.push(null)}),C._read=function(){for(;;){const N=w.read();if(N===null){V=C._read;return}if(!C.push(N))return}}),C._destroy=function(N,J){!N&&K!==null&&(N=new c),V=null,Y=null,z=null,K===null?J(N):(K=J,h(x,N),h(w,N))},C}return Dt}var Mt,Hr;function pe(){if(Hr)return Mt;Hr=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:i}=H;Mt=d;const l=pt(),s=or();i(d.prototype,l.prototype),i(d,l);{const _=r(s.prototype);for(let v=0;v<_.length;v++){const c=_[v];d.prototype[c]||(d.prototype[c]=s.prototype[c])}}function d(_){if(!(this instanceof d))return new d(_);l.call(this,_),s.call(this,_),_?(this.allowHalfOpen=_.allowHalfOpen!==!1,_.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),_.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}e(d.prototype,{writable:{__proto__:null,...t(s.prototype,"writable")},writableHighWaterMark:{__proto__:null,...t(s.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...t(s.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...t(s.prototype,"writableBuffer")},writableLength:{__proto__:null,...t(s.prototype,"writableLength")},writableFinished:{__proto__:null,...t(s.prototype,"writableFinished")},writableCorked:{__proto__:null,...t(s.prototype,"writableCorked")},writableEnded:{__proto__:null,...t(s.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...t(s.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(_){this._readableState&&this._writableState&&(this._readableState.destroyed=_,this._writableState.destroyed=_)}}});let g;function R(){return g===void 0&&(g={}),g}d.fromWeb=function(_,v){return R().newStreamDuplexFromReadableWritablePair(_,v)},d.toWeb=function(_){return R().newReadableWritablePairFromDuplex(_)};let b;return d.from=function(_){return b||(b=Sl()),b(_,"body")},Mt}const{ObjectSetPrototypeOf:Gn,Symbol:El}=H;var Vn=_e;const{ERR_METHOD_NOT_IMPLEMENTED:Rl}=ie.codes,lr=pe(),{getHighWaterMark:Al}=ht;Gn(_e.prototype,lr.prototype);Gn(_e,lr);const He=El("kCallback");function _e(e){if(!(this instanceof _e))return new _e(e);const t=e?Al(this,e,"readableHighWaterMark",!0):null;t===0&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),lr.call(this,e),this._readableState.sync=!1,this[He]=null,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",ml)}function Jt(e){typeof this._flush=="function"&&!this.destroyed?this._flush((t,r)=>{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function ml(){this._final!==Jt&&Jt.call(this)}_e.prototype._final=Jt;_e.prototype._transform=function(e,t,r){throw new Rl("_transform()")};_e.prototype._write=function(e,t,r){const i=this._readableState,l=this._writableState,s=i.length;this._transform(e,t,(d,g)=>{if(d){r(d);return}g!=null&&this.push(g),l.ended||s===i.length||i.length{i=!0});const l=nt(e,{readable:t,writable:r},s=>{i=!s});return{destroy:s=>{i||(i=!0,Dl.destroyer(e,s||new Pl("pipe")))},cleanup:l}}function Ul(e){return Wl(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Ct(e){if(me(e))return e;if(tt(e))return Bl(e);throw new Qt("val",["Readable","Iterable","AsyncIterable"],e)}async function*Bl(e){Wt||(Wt=pt()),yield*Wt.prototype[Il].call(e)}async function Qe(e,t,r,{end:i}){let l,s=null;const d=b=>{if(b&&(l=b),s){const _=s;s=null,_()}},g=()=>new Tl((b,_)=>{l?_(l):s=()=>{l?_(l):b()}});t.on("drain",d);const R=nt(t,{readable:!1},d);try{t.writableNeedDrain&&await g();for await(const b of e)t.write(b)||await g();i&&(t.end(),await g()),r()}catch(b){r(l!==b?Ml(l,b):b)}finally{R(),t.off("drain",d)}}async function Ft(e,t,r,{end:i}){We(t)&&(t=t.writable);const l=t.getWriter();try{for await(const s of e)await l.ready,l.write(s).catch(()=>{});await l.ready,i&&await l.close(),r()}catch(s){try{await l.abort(s),r(s)}catch(d){r(d)}}}function Gl(...e){return Yn(e,Nl(Ul(e)))}function Yn(e,t,r){if(e.length===1&&vl(e[0])&&(e=e[0]),e.length<2)throw new kl("streams");const i=new jl,l=i.signal,s=r==null?void 0:r.signal,d=[];xl(s,"options.signal");function g(){m(new Ol)}xt=xt||te.addAbortListener;let R;s&&(R=xt(s,g));let b,_;const v=[];let c=0;function u(M){m(M,--c===0)}function m(M,y){var j;if(M&&(!b||b.code==="ERR_STREAM_PREMATURE_CLOSE")&&(b=M),!(!b&&!y)){for(;v.length;)v.shift()(b);(j=R)===null||j===void 0||j[$l](),i.abort(),y&&(b||d.forEach(P=>P()),Ve.nextTick(t,b,_))}}let h;for(let M=0;M0,X=j||(r==null?void 0:r.end)!==!1,oe=M===e.length-1;if(Yr(y)){let B=function(q){q&&q.name!=="AbortError"&&q.code!=="ERR_STREAM_PREMATURE_CLOSE"&&u(q)};if(X){const{destroy:q,cleanup:re}=zr(y,j,P);v.push(q),Pt(y)&&oe&&d.push(re)}y.on("error",B),Pt(y)&&oe&&d.push(()=>{y.removeListener("error",B)})}if(M===0)if(typeof y=="function"){if(h=y({signal:l}),!me(h))throw new kt("Iterable, AsyncIterable or Stream","source",h)}else me(y)||tt(y)||We(y)?h=y:h=qr.from(y);else if(typeof y=="function"){if(We(h)){var A;h=Ct((A=h)===null||A===void 0?void 0:A.readable)}else h=Ct(h);if(h=y(h,{signal:l}),j){if(!me(h,!0))throw new kt("AsyncIterable",`transform[${M-1}]`,h)}else{var k;Ot||(Ot=qn);const B=new Ot({objectMode:!0}),q=(k=h)===null||k===void 0?void 0:k.then;if(typeof q=="function")c++,q.call(h,W=>{_=W,W!=null&&B.write(W),X&&B.end(),Ve.nextTick(u)},W=>{B.destroy(W),Ve.nextTick(u,W)});else if(me(h,!0))c++,Qe(h,B,u,{end:X});else if(Lt(h)||We(h)){const W=h.readable||h;c++,Qe(W,B,u,{end:X})}else throw new kt("AsyncIterable or Promise","destination",h);h=B;const{destroy:re,cleanup:ne}=zr(h,!1,!0);v.push(re),oe&&d.push(ne)}}else if(Yr(y)){if(tt(h)){c+=2;const B=Vl(h,y,u,{end:X});Pt(y)&&oe&&d.push(B)}else if(We(h)||Lt(h)){const B=h.readable||h;c++,Qe(B,y,u,{end:X})}else if(me(h))c++,Qe(h,y,u,{end:X});else throw new Qt("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],h);h=y}else if(Cl(y)){if(tt(h))c++,Ft(Ct(h),y,u,{end:X});else if(Lt(h)||me(h))c++,Ft(h,y,u,{end:X});else if(We(h))c++,Ft(h.readable,y,u,{end:X});else throw new Qt("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],h);h=y}else h=qr.from(y)}return(l!=null&&l.aborted||s!=null&&s.aborted)&&Ve.nextTick(g),h}function Vl(e,t,r,{end:i}){let l=!1;if(t.on("close",()=>{l||r(new Ll)}),e.pipe(t,{end:!1}),i){let s=function(){l=!0,t.end()};Fl(e)?Ve.nextTick(s):e.once("end",s)}else r();return nt(e,{readable:!0,writable:!1},s=>{const d=e._readableState;s&&s.code==="ERR_STREAM_PREMATURE_CLOSE"&&d&&d.ended&&!d.errored&&!d.errorEmitted?e.once("end",r).once("error",r):r(s)}),nt(t,{readable:!1,writable:!0},r)}var sr={pipelineImpl:Yn,pipeline:Gl};const{pipeline:Hl}=sr,Ze=pe(),{destroyer:ql}=je,{isNodeStream:et,isReadable:Kr,isWritable:Xr,isWebStream:jt,isTransformStream:Ae,isWritableStream:Jr,isReadableStream:Qr}=ye,{AbortError:Yl,codes:{ERR_INVALID_ARG_VALUE:Zr,ERR_MISSING_ARGS:zl}}=ie,Kl=Se;var zn=function(...t){if(t.length===0)throw new zl("streams");if(t.length===1)return Ze.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=Ze.from(t[0])),typeof t[t.length-1]=="function"){const u=t.length-1;t[u]=Ze.from(t[u])}for(let u=0;u0&&!(Xr(t[u])||Jr(t[u])||Ae(t[u])))throw new Zr(`streams[${u}]`,r[u],"must be writable")}let i,l,s,d,g;function R(u){const m=d;d=null,m?m(u):u?g.destroy(u):!c&&!v&&g.destroy()}const b=t[0],_=Hl(t,R),v=!!(Xr(b)||Jr(b)||Ae(b)),c=!!(Kr(_)||Qr(_)||Ae(_));if(g=new Ze({writableObjectMode:!!(b!=null&&b.writableObjectMode),readableObjectMode:!!(_!=null&&_.readableObjectMode),writable:v,readable:c}),v){if(et(b))g._write=function(m,h,A){b.write(m,h)?A():i=A},g._final=function(m){b.end(),l=m},b.on("drain",function(){if(i){const m=i;i=null,m()}});else if(jt(b)){const h=(Ae(b)?b.writable:b).getWriter();g._write=async function(A,k,M){try{await h.ready,h.write(A).catch(()=>{}),M()}catch(y){M(y)}},g._final=async function(A){try{await h.ready,h.close().catch(()=>{}),l=A}catch(k){A(k)}}}const u=Ae(_)?_.readable:_;Kl(u,()=>{if(l){const m=l;l=null,m()}})}if(c){if(et(_))_.on("readable",function(){if(s){const u=s;s=null,u()}}),_.on("end",function(){g.push(null)}),g._read=function(){for(;;){const u=_.read();if(u===null){s=g._read;return}if(!g.push(u))return}};else if(jt(_)){const m=(Ae(_)?_.readable:_).getReader();g._read=async function(){for(;;)try{const{value:h,done:A}=await m.read();if(!g.push(h))return;if(A){g.push(null);return}}catch{return}}}}return g._destroy=function(u,m){!u&&d!==null&&(u=new Yl),s=null,i=null,l=null,d===null?m(u):(d=m,et(_)&&ql(_,u))},g};const Xl=globalThis.AbortController||qe().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Jl,ERR_INVALID_ARG_TYPE:ze,ERR_MISSING_ARGS:Ql,ERR_OUT_OF_RANGE:Zl},AbortError:ue}=ie,{validateAbortSignal:De,validateInteger:en,validateObject:Me}=Ye,ea=H.Symbol("kWeak"),ta=H.Symbol("kResistStopPropagation"),{finished:ra}=Se,na=zn,{addAbortSignalNoValidate:ia}=bt,{isWritable:oa,isNodeStream:la}=ye,{deprecate:aa}=te,{ArrayPrototypePush:sa,Boolean:fa,MathFloor:tn,Number:ua,NumberIsNaN:da,Promise:rn,PromiseReject:nn,PromiseResolve:ca,PromisePrototypeThen:on,Symbol:Kn}=H,it=Kn("kEmpty"),ln=Kn("kEof");function ba(e,t){if(t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),la(e)&&!oa(e))throw new Jl("stream",e,"must be writable");const r=na(this,e);return t!=null&&t.signal&&ia(t.signal,r),r}function _t(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=tn(t.concurrency));let i=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(i=tn(t.highWaterMark)),en(r,"options.concurrency",1),en(i,"options.highWaterMark",0),i+=r,(async function*(){const s=te.AbortSignalAny([t==null?void 0:t.signal].filter(fa)),d=this,g=[],R={signal:s};let b,_,v=!1,c=0;function u(){v=!0,m()}function m(){c-=1,h()}function h(){_&&!v&&c=i||c>=r)&&await new rn(M=>{_=M})}g.push(ln)}catch(k){const M=nn(k);on(M,m,u),g.push(M)}finally{v=!0,b&&(b(),b=null)}}A();try{for(;;){for(;g.length>0;){const k=await g[0];if(k===ln)return;if(s.aborted)throw new ue;k!==it&&(yield k),g.shift(),h()}await new rn(k=>{b=k})}}finally{v=!0,_&&(_(),_=null)}}).call(this)}function ha(e=void 0){return e!=null&&Me(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal"),(async function*(){let r=0;for await(const l of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new ue({cause:e.signal.reason});yield[r++,l]}}).call(this)}async function Xn(e,t=void 0){for await(const r of fr.call(this,e,t))return!0;return!1}async function pa(e,t=void 0){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);return!await Xn.call(this,async(...r)=>!await e(...r),t)}async function _a(e,t){for await(const r of fr.call(this,e,t))return r}async function ya(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);async function r(i,l){return await e(i,l),it}for await(const i of _t.call(this,r,t));}function fr(e,t){if(typeof e!="function")throw new ze("fn",["Function","AsyncFunction"],e);async function r(i,l){return await e(i,l)?i:it}return _t.call(this,r,t)}class wa extends Ql{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function ga(e,t,r){var i;if(typeof e!="function")throw new ze("reducer",["Function","AsyncFunction"],e);r!=null&&Me(r,"options"),(r==null?void 0:r.signal)!=null&&De(r.signal,"options.signal");let l=arguments.length>1;if(r!=null&&(i=r.signal)!==null&&i!==void 0&&i.aborted){const b=new ue(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await ra(this.destroy(b)),b}const s=new Xl,d=s.signal;if(r!=null&&r.signal){const b={once:!0,[ea]:this,[ta]:!0};r.signal.addEventListener("abort",()=>s.abort(),b)}let g=!1;try{for await(const b of this){var R;if(g=!0,r!=null&&(R=r.signal)!==null&&R!==void 0&&R.aborted)throw new ue;l?t=await e(t,b,{signal:d}):(t=b,l=!0)}if(!g&&!l)throw new wa}finally{s.abort()}return t}async function Sa(e){e!=null&&Me(e,"options"),(e==null?void 0:e.signal)!=null&&De(e.signal,"options.signal");const t=[];for await(const i of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new ue(void 0,{cause:e.signal.reason});sa(t,i)}return t}function Ea(e,t){const r=_t.call(this,e,t);return(async function*(){for await(const l of r)yield*l}).call(this)}function Jn(e){if(e=ua(e),da(e))return 0;if(e<0)throw new Zl("number",">= 0",e);return e}function Ra(e,t=void 0){return t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=Jn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new ue;for await(const s of this){var l;if(t!=null&&(l=t.signal)!==null&&l!==void 0&&l.aborted)throw new ue;e--<=0&&(yield s)}}).call(this)}function Aa(e,t=void 0){return t!=null&&Me(t,"options"),(t==null?void 0:t.signal)!=null&&De(t.signal,"options.signal"),e=Jn(e),(async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new ue;for await(const s of this){var l;if(t!=null&&(l=t.signal)!==null&&l!==void 0&&l.aborted)throw new ue;if(e-- >0&&(yield s),e<=0)return}}).call(this)}Zt.streamReturningOperators={asIndexedPairs:aa(ha,"readable.asIndexedPairs will be removed in a future version."),drop:Ra,filter:fr,flatMap:Ea,map:_t,take:Aa,compose:ba};Zt.promiseReturningOperators={every:pa,forEach:ya,reduce:ga,toArray:Sa,some:Xn,find:_a};var Ut,an;function Qn(){if(an)return Ut;an=1;const{ArrayPrototypePop:e,Promise:t}=H,{isIterable:r,isNodeStream:i,isWebStream:l}=ye,{pipelineImpl:s}=sr,{finished:d}=Se;Zn();function g(...R){return new t((b,_)=>{let v,c;const u=R[R.length-1];if(u&&typeof u=="object"&&!i(u)&&!r(u)&&!l(u)){const m=e(R);v=m.signal,c=m.end}s(R,(m,h)=>{m?_(m):b(h)},{signal:v,end:c})})}return Ut={finished:d,pipeline:g},Ut}var sn;function Zn(){if(sn)return mt.exports;sn=1;const{Buffer:e}=Ie,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:i}=H,{promisify:{custom:l}}=te,{streamReturningOperators:s,promiseReturningOperators:d}=Zt,{codes:{ERR_ILLEGAL_CONSTRUCTOR:g}}=ie,R=zn,{setDefaultHighWaterMark:b,getDefaultHighWaterMark:_}=ht,{pipeline:v}=sr,{destroyer:c}=je,u=Se,m=Qn(),h=ye,A=mt.exports=ir.Stream;A.isDestroyed=h.isDestroyed,A.isDisturbed=h.isDisturbed,A.isErrored=h.isErrored,A.isReadable=h.isReadable,A.isWritable=h.isWritable,A.Readable=pt();for(const M of r(s)){let j=function(...P){if(new.target)throw g();return A.Readable.from(i(y,this,P))};const y=s[M];t(j,"name",{__proto__:null,value:y.name}),t(j,"length",{__proto__:null,value:y.length}),t(A.Readable.prototype,M,{__proto__:null,value:j,enumerable:!1,configurable:!0,writable:!0})}for(const M of r(d)){let j=function(...P){if(new.target)throw g();return i(y,this,P)};const y=d[M];t(j,"name",{__proto__:null,value:y.name}),t(j,"length",{__proto__:null,value:y.length}),t(A.Readable.prototype,M,{__proto__:null,value:j,enumerable:!1,configurable:!0,writable:!0})}A.Writable=or(),A.Duplex=pe(),A.Transform=Vn,A.PassThrough=qn,A.pipeline=v;const{addAbortSignal:k}=bt;return A.addAbortSignal=k,A.finished=u,A.destroy=c,A.compose=R,A.setDefaultHighWaterMark=b,A.getDefaultHighWaterMark=_,t(A,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),t(v,l,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),t(u,l,{__proto__:null,enumerable:!0,get(){return m.finished}}),A.Stream=A,A._isUint8Array=function(y){return y instanceof Uint8Array},A._uint8ArrayToBuffer=function(y){return e.from(y.buffer,y.byteOffset,y.byteLength)},mt.exports}(function(e){const t=Zn(),r=Qn(),i=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=i,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(fn);var ma=fn.exports;class va{constructor(t){const r=new ma.Transform({objectMode:!0,transform:(i,l,s)=>{s(null,`${hi(i)} `)}});return t.pipe(r),pi(r)}}class Ma extends ci{constructor(){super(va)}}export{Ma as default}; diff --git a/assets/index-BwoghzZ2.js b/assets/index-DCe_24Mq.js similarity index 99% rename from assets/index-BwoghzZ2.js rename to assets/index-DCe_24Mq.js index e5efe22..da88bb0 100644 --- a/assets/index-BwoghzZ2.js +++ b/assets/index-DCe_24Mq.js @@ -1,4 +1,4 @@ -import{D as j,n as T,T as L,b as z,t as D,a as E,c as V,d as Z,N as H,e as J,L as X,B as Y,V as ee,f as te,Q as G}from"./N3StreamParser-B-f1M1sF.js";import"./main-BG8rCUrd.js";function ie(o){return!!o&&o.termType==="NamedNode"}function se(o){return!!o&&o.termType==="BlankNode"}function re(o){return!!o&&o.termType==="Literal"}function ne(o){return!!o&&o.termType==="Variable"}function O(o){return!!o&&o.termType==="DefaultGraph"}function ae(o){return O(o.graph)}function ue(o,e){return C({"":o.value||o},e)("")}function C(o,e){const t=Object.create(null);for(const s in o)i(s,o[s]);e=e||j;function i(s,r){if(typeof r=="string"){const n=Object.create(null);t[s]=a=>n[a]||(n[a]=e.namedNode(r+a))}else if(!(s in t))throw new Error(`Unknown prefix: ${s}`);return t[s]}return i}const oe=Object.freeze(Object.defineProperty({__proto__:null,inDefaultGraph:ae,isBlankNode:se,isDefaultGraph:O,isLiteral:re,isNamedNode:ie,isVariable:ne,prefix:ue,prefixes:C},Symbol.toStringTag,{value:"Module"})),N=j.defaultGraph(),{rdf:le,xsd:w}=T,F=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,A=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,de={"\\":"\\\\",'"':'\\"'," ":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"};class $ extends L{equals(e){return e===this}}class S{constructor(e,t){if(this._prefixRegex=/$0^/,e&&typeof e.write!="function"&&(t=e,e=null),t=t||{},this._lists=t.lists,e)this._outputStream=e,this._endStream=t.end===void 0?!0:!!t.end;else{let i="";this._outputStream={write(s,r,n){i+=s,n&&n()},end:s=>{s&&s(null,i)}},this._endStream=!0}this._subject=null,/triple|quad/i.test(t.format)?(this._lineMode=!0,this._writeQuad=this._writeQuadLine):(this._lineMode=!1,this._graph=N,this._prefixIRIs=Object.create(null),t.prefixes&&this.addPrefixes(t.prefixes),t.baseIRI&&(this._baseMatcher=new RegExp(`^${M(t.baseIRI)}${t.baseIRI.endsWith("/")?"":"[#?]"}`),this._baseLength=t.baseIRI.length))}get _inDefaultGraph(){return N.equals(this._graph)}_write(e,t){this._outputStream.write(e,"utf8",t)}_writeQuad(e,t,i,s,r){try{s.equals(this._graph)||(this._write((this._subject===null?"":this._inDefaultGraph?`. +import{D as j,n as T,T as L,b as z,t as D,a as E,c as V,d as Z,N as H,e as J,L as X,B as Y,V as ee,f as te,Q as G}from"./N3StreamParser-BYVXsYqX.js";import"./main-UPTG37W_.js";function ie(o){return!!o&&o.termType==="NamedNode"}function se(o){return!!o&&o.termType==="BlankNode"}function re(o){return!!o&&o.termType==="Literal"}function ne(o){return!!o&&o.termType==="Variable"}function O(o){return!!o&&o.termType==="DefaultGraph"}function ae(o){return O(o.graph)}function ue(o,e){return C({"":o.value||o},e)("")}function C(o,e){const t=Object.create(null);for(const s in o)i(s,o[s]);e=e||j;function i(s,r){if(typeof r=="string"){const n=Object.create(null);t[s]=a=>n[a]||(n[a]=e.namedNode(r+a))}else if(!(s in t))throw new Error(`Unknown prefix: ${s}`);return t[s]}return i}const oe=Object.freeze(Object.defineProperty({__proto__:null,inDefaultGraph:ae,isBlankNode:se,isDefaultGraph:O,isLiteral:re,isNamedNode:ie,isVariable:ne,prefix:ue,prefixes:C},Symbol.toStringTag,{value:"Module"})),N=j.defaultGraph(),{rdf:le,xsd:w}=T,F=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,A=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,de={"\\":"\\\\",'"':'\\"'," ":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"};class $ extends L{equals(e){return e===this}}class S{constructor(e,t){if(this._prefixRegex=/$0^/,e&&typeof e.write!="function"&&(t=e,e=null),t=t||{},this._lists=t.lists,e)this._outputStream=e,this._endStream=t.end===void 0?!0:!!t.end;else{let i="";this._outputStream={write(s,r,n){i+=s,n&&n()},end:s=>{s&&s(null,i)}},this._endStream=!0}this._subject=null,/triple|quad/i.test(t.format)?(this._lineMode=!0,this._writeQuad=this._writeQuadLine):(this._lineMode=!1,this._graph=N,this._prefixIRIs=Object.create(null),t.prefixes&&this.addPrefixes(t.prefixes),t.baseIRI&&(this._baseMatcher=new RegExp(`^${M(t.baseIRI)}${t.baseIRI.endsWith("/")?"":"[#?]"}`),this._baseLength=t.baseIRI.length))}get _inDefaultGraph(){return N.equals(this._graph)}_write(e,t){this._outputStream.write(e,"utf8",t)}_writeQuad(e,t,i,s,r){try{s.equals(this._graph)||(this._write((this._subject===null?"":this._inDefaultGraph?`. `:` } `)+(N.equals(s)?"":`${this._encodeIriOrBlank(s)} { diff --git a/assets/index-D0g9tKlA.js b/assets/index-DjJhAlRP.js similarity index 99% rename from assets/index-D0g9tKlA.js rename to assets/index-DjJhAlRP.js index 510fba3..b5924eb 100644 --- a/assets/index-D0g9tKlA.js +++ b/assets/index-DjJhAlRP.js @@ -1,4 +1,4 @@ -import{S as Fs}from"./index-BOvYCoiN.js";import{I as sa,M as gi,P as Ws,N as la,U as ca,h as Js,g as Us,a as hn,e as Bn,b as Ot,d as Lt,s as Hs}from"./main-BG8rCUrd.js";import{c as Bs}from"./canonicalize-Bd8h0v92.js";var da={};/*! +import{S as Fs}from"./index-BOvYCoiN.js";import{I as sa,M as gi,P as Ws,N as la,U as ca,h as Js,g as Us,a as hn,e as Bn,b as Ot,d as Lt,s as Hs}from"./main-UPTG37W_.js";import{c as Bs}from"./canonicalize-Bd8h0v92.js";var da={};/*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. */const Vi=sa,Vs=gi,Gs=Ws,Gi=la;var ua=class{constructor({createMessageDigest:t=()=>new Vs("sha256"),canonicalIdMap:n=new Map,maxDeepIterations:r=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new Vi("_:c14n",n),this.createMessageDigest=t,this.maxDeepIterations=r,this.quads=null,this.deepIterations=null}async main(t){this.deepIterations=new Map,this.quads=t;for(const f of t)this._addBlankNodeQuadInfo({quad:f,component:f.subject}),this._addBlankNodeQuadInfo({quad:f,component:f.object}),this._addBlankNodeQuadInfo({quad:f,component:f.graph});const n=new Map,r=[...this.blankNodeInfo.keys()];let o=0;for(const f of r)++o%100===0&&await this._yield(),await this._hashAndTrackBlankNode({id:f,hashToBlankNodes:n});const a=[...n.keys()].sort(),i=[];for(const f of a){const c=n.get(f);if(c.length>1){i.push(c);continue}const p=c[0];this.canonicalIssuer.getId(p)}for(const f of i){const c=[];for(const p of f){if(this.canonicalIssuer.hasId(p))continue;const g=new Vi("_:b");g.getId(p);const d=await this.hashNDegreeQuads(p,g);c.push(d)}c.sort(qs);for(const p of c){const g=p.issuer.getOldIds();for(const d of g)this.canonicalIssuer.getId(d)}}const l=[];for(const f of this.quads){const c=Gi.serializeQuadComponents(this._componentWithCanonicalId(f.subject),f.predicate,this._componentWithCanonicalId(f.object),this._componentWithCanonicalId(f.graph));l.push(c)}return l.sort(),l.join("")}async hashFirstDegreeQuads(t){const n=[],r=this.blankNodeInfo.get(t),o=r.quads;for(const i of o){const l={subject:null,predicate:i.predicate,object:null,graph:null};l.subject=this.modifyFirstDegreeComponent(t,i.subject,"subject"),l.object=this.modifyFirstDegreeComponent(t,i.object,"object"),l.graph=this.modifyFirstDegreeComponent(t,i.graph,"graph"),n.push(Gi.serializeQuad(l))}n.sort();const a=this.createMessageDigest();for(const i of n)a.update(i);return r.hash=await a.digest(),r.hash}async hashRelatedBlankNode(t,n,r,o){let a;this.canonicalIssuer.hasId(t)?a=this.canonicalIssuer.getId(t):r.hasId(t)?a=r.getId(t):a=this.blankNodeInfo.get(t).hash;const i=this.createMessageDigest();return i.update(o),o!=="g"&&i.update(this.getRelatedPredicate(n)),i.update(a),i.digest()}async hashNDegreeQuads(t,n){const r=this.deepIterations.get(t)||0;if(r>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(t,r+1);const o=this.createMessageDigest(),a=await this.createHashToRelated(t,n),i=[...a.keys()].sort();for(const l of i){o.update(l);let f="",c;const p=new Gs(a.get(l));let g=0;for(;p.hasNext();){const d=p.next();++g%3===0&&await this._yield();let s=n.clone(),u="";const y=[];let w=!1;for(const v of d)if(this.canonicalIssuer.hasId(v)?u+=this.canonicalIssuer.getId(v):(s.hasId(v)||y.push(v),u+=s.getId(v)),f.length!==0&&u>f){w=!0;break}if(!w){for(const v of y){const E=await this.hashNDegreeQuads(v,s);if(u+=s.getId(v),u+=`<${E.hash}>`,s=E.issuer,f.length!==0&&u>f){w=!0;break}}w||(f.length===0||u`}async createHashToRelated(t,n){const r=new Map,o=this.blankNodeInfo.get(t).quads;let a=0;for(const i of o)++a%100===0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:i,component:i.subject,position:"s",id:t,issuer:n,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:i,component:i.object,position:"o",id:t,issuer:n,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:i,component:i.graph,position:"g",id:t,issuer:n,hashToRelated:r})]);return r}async _hashAndTrackBlankNode({id:t,hashToBlankNodes:n}){const r=await this.hashFirstDegreeQuads(t),o=n.get(r);o?o.push(t):n.set(r,[t])}_addBlankNodeQuadInfo({quad:t,component:n}){if(n.termType!=="BlankNode")return;const r=n.value,o=this.blankNodeInfo.get(r);o?o.quads.add(t):this.blankNodeInfo.set(r,{quads:new Set([t]),hash:null})}async _addRelatedBlankNodeHash({quad:t,component:n,position:r,id:o,issuer:a,hashToRelated:i}){if(!(n.termType==="BlankNode"&&n.value!==o))return;const l=n.value,f=await this.hashRelatedBlankNode(l,t,a,r),c=i.get(f);c?c.push(l):i.set(f,[l])}_componentWithCanonicalId(t){return t.termType==="BlankNode"&&!t.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(t.value)}:t}async _yield(){return new Promise(t=>setImmediate(t))}};function qs(e,t){return e.hasht.hash?1:0}/*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. diff --git a/assets/index-CkGRNAr4.js b/assets/index-RV_eTkg7.js similarity index 99% rename from assets/index-CkGRNAr4.js rename to assets/index-RV_eTkg7.js index 18200c8..fedd4f4 100644 --- a/assets/index-CkGRNAr4.js +++ b/assets/index-RV_eTkg7.js @@ -1,4 +1,4 @@ -import{S as Pf}from"./index-BOvYCoiN.js";import{b as be,c as dt,a as Ge,e as ct,d as Ie,s as ks,f as kf}from"./main-BG8rCUrd.js";import{r as Mf}from"./readable-BmS1kvD9.js";import{r as ao,a as Vf}from"./index-DwdYNYJQ.js";import{c as jf}from"./canonicalize-Bd8h0v92.js";var Ms={},dr={},{Buffer:ft}=be,re={},Vs=re.LEFT_BRACE=1,Ur=re.RIGHT_BRACE=2,js=re.LEFT_BRACKET=3,ki=re.RIGHT_BRACKET=4,Wr=re.COLON=5,Kr=re.COMMA=6,Fs=re.TRUE=7,Us=re.FALSE=8,Ws=re.NULL=9,Jr=re.STRING=10,Bs=re.NUMBER=11,It=re.START=17,Gs=re.STOP=18,Do=re.TRUE1=33,Lo=re.TRUE2=34,Po=re.TRUE3=35,ko=re.FALSE1=49,Mo=re.FALSE2=50,Vo=re.FALSE3=51,jo=re.FALSE4=52,Fo=re.NULL1=65,Uo=re.NULL2=66,Wo=re.NULL3=67,Bo=re.NUMBER1=81,Qn=re.NUMBER3=83,Ve=re.STRING1=97,Go=re.STRING2=98,Ho=re.STRING3=99,Ff=re.STRING4=100,Uf=re.STRING5=101,Ko=re.STRING6=102,Wt=re.VALUE=113,Zn=re.KEY=114,Cr=re.OBJECT=129,Nr=re.ARRAY=130,Wf=92,Bf=47,Gf=8,Hf=12,Kf=10,Jf=13,qf=9,so=64*1024;function Or(e){return ft.alloc?ft.alloc(e):new ft(e)}function ut(){this.tState=It,this.value=void 0,this.string=void 0,this.stringBuffer=Or(so),this.stringBufferOffset=0,this.unicode=void 0,this.highSurrogate=void 0,this.key=void 0,this.mode=void 0,this.stack=[],this.state=Wt,this.bytes_remaining=0,this.bytes_in_sequence=0,this.temp_buffs={2:Or(2),3:Or(3),4:Or(4)},this.offset=-1}ut.toknam=function(e){for(var t=Object.keys(re),r=0,n=t.length;r=so&&(this.string+=this.stringBuffer.toString("utf8"),this.stringBufferOffset=0),this.stringBuffer[this.stringBufferOffset++]=e};$e.appendStringBuf=function(e,t,r){var n=e.length;typeof t=="number"&&(typeof r=="number"?r<0?n=e.length-t+r:n=r-t:n=e.length-t),n<0&&(n=0),this.stringBufferOffset+n>so&&(this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0),e.copy(this.stringBuffer,this.stringBufferOffset,t,r),this.stringBufferOffset+=n};$e.write=function(e){typeof e=="string"&&(e=new ft(e));for(var t,r=0,n=e.length;r=48&&t<64)this.string=String.fromCharCode(t),this.tState=Qn;else if(!(t===32||t===9||t===10||t===13))return this.charError(e,r)}else if(this.tState===Ve)if(t=e[r],this.bytes_remaining>0){for(var o=0;o=128){if(t<=193||t>244)return this.onError(new Error("Invalid UTF-8 character at position "+r+" in state "+ut.toknam(this.tState)));if(t>=194&&t<=223&&(this.bytes_in_sequence=2),t>=224&&t<=239&&(this.bytes_in_sequence=3),t>=240&&t<=244&&(this.bytes_in_sequence=4),this.bytes_in_sequence+r>e.length){for(var a=0;a<=e.length-1-r;a++)this.temp_buffs[this.bytes_in_sequence][a]=e[r+a];this.bytes_remaining=r+this.bytes_in_sequence-e.length,r=e.length-1}else this.appendStringBuf(e,r,r+this.bytes_in_sequence),r=r+this.bytes_in_sequence-1}else if(t===34)this.tState=It,this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0,this.onToken(Jr,this.string),this.offset+=ft.byteLength(this.string,"utf8")+1,this.string=void 0;else if(t===92)this.tState=Go;else if(t>=32)this.appendStringChar(t);else return this.charError(e,r);else if(this.tState===Go)if(t=e[r],t===34)this.appendStringChar(t),this.tState=Ve;else if(t===92)this.appendStringChar(Wf),this.tState=Ve;else if(t===47)this.appendStringChar(Bf),this.tState=Ve;else if(t===98)this.appendStringChar(Gf),this.tState=Ve;else if(t===102)this.appendStringChar(Hf),this.tState=Ve;else if(t===110)this.appendStringChar(Kf),this.tState=Ve;else if(t===114)this.appendStringChar(Jf),this.tState=Ve;else if(t===116)this.appendStringChar(qf),this.tState=Ve;else if(t===117)this.unicode="",this.tState=Ho;else return this.charError(e,r);else if(this.tState===Ho||this.tState===Ff||this.tState===Uf||this.tState===Ko)if(t=e[r],t>=48&&t<64||t>64&&t<=70||t>96&&t<=102){if(this.unicode+=String.fromCharCode(t),this.tState++===Ko){var i=parseInt(this.unicode,16);this.unicode=void 0,this.highSurrogate!==void 0&&i>=56320&&i<57344?(this.appendStringBuf(new ft(String.fromCharCode(this.highSurrogate,i))),this.highSurrogate=void 0):this.highSurrogate===void 0&&i>=55296&&i<56320?this.highSurrogate=i:(this.highSurrogate!==void 0&&(this.appendStringBuf(new ft(String.fromCharCode(this.highSurrogate))),this.highSurrogate=void 0),this.appendStringBuf(new ft(String.fromCharCode(i)))),this.tState=Ve}}else return this.charError(e,r);else if(this.tState===Bo||this.tState===Qn)switch(t=e[r],t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 46:case 101:case 69:case 43:case 45:this.string+=String.fromCharCode(t),this.tState=Qn;break;default:this.tState=It;var l=this.numberReviver(this.string,e,r);if(l)return l;this.offset+=this.string.length-1,this.string=void 0,r--;break}else if(this.tState===Do)if(e[r]===114)this.tState=Lo;else return this.charError(e,r);else if(this.tState===Lo)if(e[r]===117)this.tState=Po;else return this.charError(e,r);else if(this.tState===Po)if(e[r]===101)this.tState=It,this.onToken(Fs,!0),this.offset+=3;else return this.charError(e,r);else if(this.tState===ko)if(e[r]===97)this.tState=Mo;else return this.charError(e,r);else if(this.tState===Mo)if(e[r]===108)this.tState=Vo;else return this.charError(e,r);else if(this.tState===Vo)if(e[r]===115)this.tState=jo;else return this.charError(e,r);else if(this.tState===jo)if(e[r]===101)this.tState=It,this.onToken(Us,!1),this.offset+=4;else return this.charError(e,r);else if(this.tState===Fo)if(e[r]===117)this.tState=Uo;else return this.charError(e,r);else if(this.tState===Uo)if(e[r]===108)this.tState=Wo;else return this.charError(e,r);else if(this.tState===Wo)if(e[r]===108)this.tState=It,this.onToken(Ws,null),this.offset+=3;else return this.charError(e,r)};$e.onToken=function(e,t){};$e.parseError=function(e,t){this.tState=Gs,this.onError(new Error("Unexpected "+ut.toknam(e)+(t?"("+JSON.stringify(t)+")":"")+" in state "+ut.toknam(this.state)))};$e.push=function(){this.stack.push({value:this.value,key:this.key,mode:this.mode})};$e.pop=function(){var e=this.value,t=this.stack.pop();this.value=t.value,this.key=t.key,this.mode=t.mode,this.emit(e),this.mode||(this.state=Wt)};$e.emit=function(e){this.mode&&(this.state=Kr),this.onValue(e)};$e.onValue=function(e){};$e.onToken=function(e,t){if(this.state===Wt)if(e===Jr||e===Bs||e===Fs||e===Us||e===Ws)this.value&&(this.value[this.key]=t),this.emit(t);else if(e===Vs)this.push(),this.value?this.value=this.value[this.key]={}:this.value={},this.key=void 0,this.state=Zn,this.mode=Cr;else if(e===js)this.push(),this.value?this.value=this.value[this.key]=[]:this.value=[],this.key=0,this.mode=Nr,this.state=Wt;else if(e===Ur)if(this.mode===Cr)this.pop();else return this.parseError(e,t);else if(e===ki)if(this.mode===Nr)this.pop();else return this.parseError(e,t);else return this.parseError(e,t);else if(this.state===Zn)if(e===Jr)this.key=t,this.state=Wr;else if(e===Ur)this.pop();else return this.parseError(e,t);else if(this.state===Wr)if(e===Wr)this.state=Wt;else return this.parseError(e,t);else if(this.state===Kr)if(e===Kr)this.mode===Nr?(this.key++,this.state=Wt):this.mode===Cr&&(this.state=Zn);else if(e===ki&&this.mode===Nr||e===Ur&&this.mode===Cr)this.pop();else return this.parseError(e,t);else return this.parseError(e,t)};$e.numberReviver=function(e,t,r){var n=Number(e);if(isNaN(n))return this.charError(t,r);e.match(/[0-9]+/)==e&&n.toString()!=e?this.onToken(Jr,e):this.onToken(Bs,n)};ut.C=re;var Yf=ut,Se={},en={},Jt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ERROR_CODES=e.ErrorCoded=void 0;class t extends Error{constructor(n,o){super(n),this.code=o}}e.ErrorCoded=t,function(r){r.COLLIDING_KEYWORDS="colliding keywords",r.CONFLICTING_INDEXES="conflicting indexes",r.CYCLIC_IRI_MAPPING="cyclic IRI mapping",r.INVALID_ID_VALUE="invalid @id value",r.INVALID_INDEX_VALUE="invalid @index value",r.INVALID_NEST_VALUE="invalid @nest value",r.INVALID_PREFIX_VALUE="invalid @prefix value",r.INVALID_PROPAGATE_VALUE="invalid @propagate value",r.INVALID_REVERSE_VALUE="invalid @reverse value",r.INVALID_IMPORT_VALUE="invalid @import value",r.INVALID_VERSION_VALUE="invalid @version value",r.INVALID_BASE_IRI="invalid base IRI",r.INVALID_CONTAINER_MAPPING="invalid container mapping",r.INVALID_CONTEXT_ENTRY="invalid context entry",r.INVALID_CONTEXT_NULLIFICATION="invalid context nullification",r.INVALID_DEFAULT_LANGUAGE="invalid default language",r.INVALID_INCLUDED_VALUE="invalid @included value",r.INVALID_IRI_MAPPING="invalid IRI mapping",r.INVALID_JSON_LITERAL="invalid JSON literal",r.INVALID_KEYWORD_ALIAS="invalid keyword alias",r.INVALID_LANGUAGE_MAP_VALUE="invalid language map value",r.INVALID_LANGUAGE_MAPPING="invalid language mapping",r.INVALID_LANGUAGE_TAGGED_STRING="invalid language-tagged string",r.INVALID_LANGUAGE_TAGGED_VALUE="invalid language-tagged value",r.INVALID_LOCAL_CONTEXT="invalid local context",r.INVALID_REMOTE_CONTEXT="invalid remote context",r.INVALID_REVERSE_PROPERTY="invalid reverse property",r.INVALID_REVERSE_PROPERTY_MAP="invalid reverse property map",r.INVALID_REVERSE_PROPERTY_VALUE="invalid reverse property value",r.INVALID_SCOPED_CONTEXT="invalid scoped context",r.INVALID_SCRIPT_ELEMENT="invalid script element",r.INVALID_SET_OR_LIST_OBJECT="invalid set or list object",r.INVALID_TERM_DEFINITION="invalid term definition",r.INVALID_TYPE_MAPPING="invalid type mapping",r.INVALID_TYPE_VALUE="invalid type value",r.INVALID_TYPED_VALUE="invalid typed value",r.INVALID_VALUE_OBJECT="invalid value object",r.INVALID_VALUE_OBJECT_VALUE="invalid value object value",r.INVALID_VOCAB_MAPPING="invalid vocab mapping",r.IRI_CONFUSED_WITH_PREFIX="IRI confused with prefix",r.KEYWORD_REDEFINITION="keyword redefinition",r.LOADING_DOCUMENT_FAILED="loading document failed",r.LOADING_REMOTE_CONTEXT_FAILED="loading remote context failed",r.MULTIPLE_CONTEXT_LINK_HEADERS="multiple context link headers",r.PROCESSING_MODE_CONFLICT="processing mode conflict",r.PROTECTED_TERM_REDEFINITION="protected term redefinition",r.CONTEXT_OVERFLOW="context overflow",r.INVALID_BASE_DIRECTION="invalid base direction",r.RECURSIVE_CONTEXT_INCLUSION="recursive context inclusion",r.INVALID_STREAMING_KEY_ORDER="invalid streaming key order",r.INVALID_EMBEDDED_NODE="invalid embedded node",r.INVALID_ANNOTATION="invalid annotation"}(e.ERROR_CODES||(e.ERROR_CODES={}))})(Jt);var Ar={},zf=/^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i,Xf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Qf=/\s|\uFEFF|\xA0/,Zf=/\r?\n[\x20\x09]+/g,ed=/[;,"]/,td=/[;,"]|\s/,rd=/^[!#$%&'*+\-\.^_`|~\da-zA-Z]+$/,Xe={IDLE:1,URI:2,ATTR:4};function Jo(e){return e.replace(Xf,"")}function Br(e){return Qf.test(e)}function nd(e,t){for(;Br(e[t]);)t++;return t}function qo(e){return td.test(e)||!rd.test(e)}function id(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>r in t&&e[r]===t[r])}class ae{constructor(t){this.refs=[],t&&this.parse(t)}rel(t){for(var r=[],n=t.toLowerCase(),o=0;oid(r,t))||this.refs.push(t),this}has(t,r){t=t.toLowerCase(),r=r.toLowerCase();for(var n=0;n",a);if(l===-1)throw new Error("Expected end of URI delimiter at offset "+a);i={uri:t.slice(a+1,l)},a=l,n=Xe.URI}else throw new Error('Unexpected character "'+t[a]+'" at offset '+a);a++}else if(n===Xe.URI)if(Br(t[a])){a++;continue}else if(t[a]===";")n=Xe.ATTR,a++;else if(t[a]===",")n=Xe.IDLE,a++;else throw new Error('Unexpected character "'+t[a]+'" at offset '+a);else if(n===Xe.ATTR){if(t[a]===";"||Br(t[a])){a++;continue}var l=t.indexOf("=",a);l===-1&&(l=t.indexOf(";",a)),l===-1&&(l=t.length);var d=Jo(t.slice(a,l)).toLowerCase(),u="";if(a=l+1,a=nd(t,a),t[a]==='"')for(a++;a"),t.push(r);return t.join(", ")}}ae.isCompatibleEncoding=function(e){return zf.test(e)};ae.parse=function(e,t){return new ae().parse(e,t)};ae.isSingleOccurenceAttr=function(e){return e==="rel"||e==="type"||e==="media"||e==="title"||e==="title*"};ae.isTokenAttr=function(e){return e==="rel"||e==="type"||e==="anchor"};ae.escapeQuotes=function(e){return e.replace(/"/g,'\\"')};ae.expandRelations=function(e){var t=e.rel.split(" ");return t.map(function(r){var n=Object.assign({},e);return n.rel=r,n})};ae.parseExtendedValue=function(e){var t=/([^']+)?(?:'([^']*)')?(.+)/.exec(e);return{language:t[2].toLowerCase(),encoding:ae.isCompatibleEncoding(t[1])?null:t[1].toLowerCase(),value:ae.isCompatibleEncoding(t[1])?decodeURIComponent(t[3]):t[3]}};ae.formatExtendedAttribute=function(e,t){var r=(t.encoding||"utf-8").toUpperCase(),n=t.language||"en",o="";return be.Buffer.isBuffer(t.value)&&ae.isCompatibleEncoding(r)?o=t.value.toString(r):be.Buffer.isBuffer(t.value)?o=t.value.toString("hex").replace(/[0-9a-f]{2}/gi,"%$1"):o=encodeURIComponent(t.value),e+"="+r+"'"+n+"'"+o};ae.formatAttribute=function(e,t){return Array.isArray(t)?t.map(r=>ae.formatAttribute(e,r)).join("; "):e[e.length-1]==="*"||typeof t!="string"?ae.formatExtendedAttribute(e,t):(ae.isTokenAttr(e)?t=qo(t)?'"'+ae.escapeQuotes(t)+'"':ae.escapeQuotes(t):qo(t)&&(t=encodeURIComponent(t),t=t.replace(/%20/g," ").replace(/%2C/g,",").replace(/%3B/g,";"),t='"'+t+'"'),e+"="+t)};var Hs=ae;Object.defineProperty(Ar,"__esModule",{value:!0});Ar.FetchDocumentLoader=void 0;const Yo=Jt,od=Hs,ad=ao;class sd{constructor(t){this.fetcher=t}async load(t){const r=await(this.fetcher||fetch)(t,{headers:new Headers({accept:"application/ld+json"})});if(r.ok&&r.headers){let n=r.headers.get("Content-Type");if(n){const o=n.indexOf(";");o>0&&(n=n.substr(0,o))}if(n==="application/ld+json")return await r.json();if(r.headers.has("Link")){let o;if(r.headers.forEach((a,i)=>{if(i==="link"){const l=(0,od.parse)(a);for(const d of l.get("type","application/ld+json"))if(d.rel==="alternate"){if(o)throw new Error("Multiple JSON-LD alternate links were found on "+t);o=(0,ad.resolve)(d.uri,t)}}}),o)return this.load(o)}throw new Yo.ErrorCoded(`Unsupported JSON-LD media type ${n}`,Yo.ERROR_CODES.LOADING_DOCUMENT_FAILED)}else throw new Error(r.statusText||`Status code: ${r.status}`)}}Ar.FetchDocumentLoader=sd;var lo={},qt={};Object.defineProperty(qt,"__esModule",{value:!0});qt.Util=void 0;let xe=class Qe{static isCompactIri(t){return t.indexOf(":")>0&&!(t&&t[0]==="#")}static getPrefix(t,r){if(t&&t[0]==="#")return null;const n=t.indexOf(":");if(n>=0){if(t.length>n+1&&t.charAt(n+1)==="/"&&t.charAt(n+2)==="/")return null;const o=t.substr(0,n);if(o==="_")return null;if(r[o])return o}return null}static getContextValueId(t){if(t===null||typeof t=="string")return t;const r=t["@id"];return r||null}static isSimpleTermDefinitionPrefix(t,r){return!Qe.isPotentialKeyword(t)&&(r.allowPrefixNonGenDelims||typeof t=="string"&&(t[0]==="_"||Qe.isPrefixIriEndingWithGenDelim(t)))}static isPotentialKeyword(t){return typeof t=="string"&&Qe.KEYWORD_REGEX.test(t)}static isPrefixIriEndingWithGenDelim(t){return Qe.ENDS_WITH_GEN_DELIM.test(t)}static isPrefixValue(t){return t&&(typeof t=="string"||t&&typeof t=="object")}static isValidIri(t){return!!(t&&Qe.IRI_REGEX.test(t))}static isValidIriWeak(t){return!!t&&t[0]!==":"&&Qe.IRI_REGEX_WEAK.test(t)}static isValidKeyword(t){return Qe.VALID_KEYWORDS[t]}static isTermProtected(t,r){const n=t[r];return typeof n!="string"&&n&&n["@protected"]}static hasProtectedTerms(t){for(const r of Object.keys(t))if(Qe.isTermProtected(t,r))return!0;return!1}static isReservedInternalKeyword(t){return t.startsWith("@__")}static deepEqual(t,r){const n=Object.keys(t),o=Object.keys(r);return n.length!==o.length?!1:n.every(a=>{const i=t[a],l=r[a];return i===l||i!==null&&l!==null&&typeof i=="object"&&typeof l=="object"&&this.deepEqual(i,l)})}};xe.IRI_REGEX=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^ "<>{}|\\\[\]`#]*(#[^#]*)?$/;xe.IRI_REGEX_WEAK=/(?::[^:])|\//;xe.KEYWORD_REGEX=/^@[a-z]+$/i;xe.ENDS_WITH_GEN_DELIM=/[:/?#\[\]@]$/;xe.REGEX_LANGUAGE_TAG=/^[a-zA-Z]+(-[a-zA-Z0-9]+)*$/;xe.REGEX_DIRECTION_TAG=/^(ltr)|(rtl)$/;xe.VALID_KEYWORDS={"@annotation":!0,"@base":!0,"@container":!0,"@context":!0,"@direction":!0,"@graph":!0,"@id":!0,"@import":!0,"@included":!0,"@index":!0,"@json":!0,"@language":!0,"@list":!0,"@nest":!0,"@none":!0,"@prefix":!0,"@propagate":!0,"@protected":!0,"@reverse":!0,"@set":!0,"@type":!0,"@value":!0,"@version":!0,"@vocab":!0};xe.EXPAND_KEYS_BLACKLIST=["@base","@vocab","@language","@version","@direction"];xe.ALIAS_DOMAIN_BLACKLIST=["@container","@graph","@id","@index","@list","@nest","@none","@prefix","@reverse","@set","@type","@value","@version"];xe.ALIAS_RANGE_BLACKLIST=["@context","@preserve"];xe.CONTAINERS=["@list","@set","@index","@language","@graph","@id","@type"];xe.CONTAINERS_1_0=["@list","@set","@index"];qt.Util=xe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultExpandOptions=e.JsonLdContextNormalized=void 0;const t=ao,r=Jt,n=qt;class o{constructor(i){this.contextRaw=i}getContextRaw(){return this.contextRaw}expandTerm(i,l,d=e.defaultExpandOptions){const u=this.contextRaw[i];if(u===null||u&&u["@id"]===null)return null;let h=!0;if(u&&l){const S=n.Util.getContextValueId(u);if(S&&S!==i)if(typeof S!="string"||!n.Util.isValidIri(S)&&!n.Util.isValidKeyword(S))n.Util.isPotentialKeyword(S)||(h=!1);else return S}const _=n.Util.getPrefix(i,this.contextRaw),b=this.contextRaw["@vocab"],c=(!!b||b==="")&&b.indexOf(":")<0,E=this.contextRaw["@base"],g=n.Util.isPotentialKeyword(i);if(_){const S=this.contextRaw[_],T=n.Util.getContextValueId(S);if(T){if(typeof S=="string"||!d.allowPrefixForcing){if(!n.Util.isSimpleTermDefinitionPrefix(T,d))return i}else if(T[0]!=="_"&&!g&&!S["@prefix"]&&!(i in this.contextRaw))return i;return T+i.substr(_.length+1)}}else if(l&&(b||b===""||d.allowVocabRelativeToBase&&E&&c)&&!g&&!n.Util.isCompactIri(i))if(c){if(d.allowVocabRelativeToBase)return(b||E?(0,t.resolve)(b,E):"")+i;throw new r.ErrorCoded(`Relative vocab expansion for term '${i}' with vocab '${b}' is not allowed.`,r.ERROR_CODES.INVALID_VOCAB_MAPPING)}else return b+i;else if(!l&&E&&!g&&!n.Util.isCompactIri(i))return(0,t.resolve)(i,E);if(h)return i;throw new r.ErrorCoded(`Invalid IRI mapping found for context entry '${i}': '${JSON.stringify(u)}'`,r.ERROR_CODES.INVALID_IRI_MAPPING)}compactIri(i,l){if(l&&this.contextRaw["@vocab"]&&i.startsWith(this.contextRaw["@vocab"]))return i.substr(this.contextRaw["@vocab"].length);if(!l&&this.contextRaw["@base"]&&i.startsWith(this.contextRaw["@base"]))return i.substr(this.contextRaw["@base"].length);const d={prefix:"",suffix:i};for(const u in this.contextRaw){const h=this.contextRaw[u];if(h&&!n.Util.isPotentialKeyword(u)){const _=n.Util.getContextValueId(h);if(i.startsWith(_)){const b=i.substr(_.length);if(b)b.length=0&&(a!=="@type"||typeof o[a]=="object"&&!(o[a]["@protected"]||o[a]["@container"]==="@set")))throw new D.ErrorCoded(`Keywords can not be aliased to something else. +import{S as Pf}from"./index-BOvYCoiN.js";import{b as be,c as dt,a as Ge,e as ct,d as Ie,s as ks,f as kf}from"./main-UPTG37W_.js";import{r as Mf}from"./readable-BmS1kvD9.js";import{r as ao,a as Vf}from"./index-BlwBIAJx.js";import{c as jf}from"./canonicalize-Bd8h0v92.js";var Ms={},dr={},{Buffer:ft}=be,re={},Vs=re.LEFT_BRACE=1,Ur=re.RIGHT_BRACE=2,js=re.LEFT_BRACKET=3,ki=re.RIGHT_BRACKET=4,Wr=re.COLON=5,Kr=re.COMMA=6,Fs=re.TRUE=7,Us=re.FALSE=8,Ws=re.NULL=9,Jr=re.STRING=10,Bs=re.NUMBER=11,It=re.START=17,Gs=re.STOP=18,Do=re.TRUE1=33,Lo=re.TRUE2=34,Po=re.TRUE3=35,ko=re.FALSE1=49,Mo=re.FALSE2=50,Vo=re.FALSE3=51,jo=re.FALSE4=52,Fo=re.NULL1=65,Uo=re.NULL2=66,Wo=re.NULL3=67,Bo=re.NUMBER1=81,Qn=re.NUMBER3=83,Ve=re.STRING1=97,Go=re.STRING2=98,Ho=re.STRING3=99,Ff=re.STRING4=100,Uf=re.STRING5=101,Ko=re.STRING6=102,Wt=re.VALUE=113,Zn=re.KEY=114,Cr=re.OBJECT=129,Nr=re.ARRAY=130,Wf=92,Bf=47,Gf=8,Hf=12,Kf=10,Jf=13,qf=9,so=64*1024;function Or(e){return ft.alloc?ft.alloc(e):new ft(e)}function ut(){this.tState=It,this.value=void 0,this.string=void 0,this.stringBuffer=Or(so),this.stringBufferOffset=0,this.unicode=void 0,this.highSurrogate=void 0,this.key=void 0,this.mode=void 0,this.stack=[],this.state=Wt,this.bytes_remaining=0,this.bytes_in_sequence=0,this.temp_buffs={2:Or(2),3:Or(3),4:Or(4)},this.offset=-1}ut.toknam=function(e){for(var t=Object.keys(re),r=0,n=t.length;r=so&&(this.string+=this.stringBuffer.toString("utf8"),this.stringBufferOffset=0),this.stringBuffer[this.stringBufferOffset++]=e};$e.appendStringBuf=function(e,t,r){var n=e.length;typeof t=="number"&&(typeof r=="number"?r<0?n=e.length-t+r:n=r-t:n=e.length-t),n<0&&(n=0),this.stringBufferOffset+n>so&&(this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0),e.copy(this.stringBuffer,this.stringBufferOffset,t,r),this.stringBufferOffset+=n};$e.write=function(e){typeof e=="string"&&(e=new ft(e));for(var t,r=0,n=e.length;r=48&&t<64)this.string=String.fromCharCode(t),this.tState=Qn;else if(!(t===32||t===9||t===10||t===13))return this.charError(e,r)}else if(this.tState===Ve)if(t=e[r],this.bytes_remaining>0){for(var o=0;o=128){if(t<=193||t>244)return this.onError(new Error("Invalid UTF-8 character at position "+r+" in state "+ut.toknam(this.tState)));if(t>=194&&t<=223&&(this.bytes_in_sequence=2),t>=224&&t<=239&&(this.bytes_in_sequence=3),t>=240&&t<=244&&(this.bytes_in_sequence=4),this.bytes_in_sequence+r>e.length){for(var a=0;a<=e.length-1-r;a++)this.temp_buffs[this.bytes_in_sequence][a]=e[r+a];this.bytes_remaining=r+this.bytes_in_sequence-e.length,r=e.length-1}else this.appendStringBuf(e,r,r+this.bytes_in_sequence),r=r+this.bytes_in_sequence-1}else if(t===34)this.tState=It,this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0,this.onToken(Jr,this.string),this.offset+=ft.byteLength(this.string,"utf8")+1,this.string=void 0;else if(t===92)this.tState=Go;else if(t>=32)this.appendStringChar(t);else return this.charError(e,r);else if(this.tState===Go)if(t=e[r],t===34)this.appendStringChar(t),this.tState=Ve;else if(t===92)this.appendStringChar(Wf),this.tState=Ve;else if(t===47)this.appendStringChar(Bf),this.tState=Ve;else if(t===98)this.appendStringChar(Gf),this.tState=Ve;else if(t===102)this.appendStringChar(Hf),this.tState=Ve;else if(t===110)this.appendStringChar(Kf),this.tState=Ve;else if(t===114)this.appendStringChar(Jf),this.tState=Ve;else if(t===116)this.appendStringChar(qf),this.tState=Ve;else if(t===117)this.unicode="",this.tState=Ho;else return this.charError(e,r);else if(this.tState===Ho||this.tState===Ff||this.tState===Uf||this.tState===Ko)if(t=e[r],t>=48&&t<64||t>64&&t<=70||t>96&&t<=102){if(this.unicode+=String.fromCharCode(t),this.tState++===Ko){var i=parseInt(this.unicode,16);this.unicode=void 0,this.highSurrogate!==void 0&&i>=56320&&i<57344?(this.appendStringBuf(new ft(String.fromCharCode(this.highSurrogate,i))),this.highSurrogate=void 0):this.highSurrogate===void 0&&i>=55296&&i<56320?this.highSurrogate=i:(this.highSurrogate!==void 0&&(this.appendStringBuf(new ft(String.fromCharCode(this.highSurrogate))),this.highSurrogate=void 0),this.appendStringBuf(new ft(String.fromCharCode(i)))),this.tState=Ve}}else return this.charError(e,r);else if(this.tState===Bo||this.tState===Qn)switch(t=e[r],t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 46:case 101:case 69:case 43:case 45:this.string+=String.fromCharCode(t),this.tState=Qn;break;default:this.tState=It;var l=this.numberReviver(this.string,e,r);if(l)return l;this.offset+=this.string.length-1,this.string=void 0,r--;break}else if(this.tState===Do)if(e[r]===114)this.tState=Lo;else return this.charError(e,r);else if(this.tState===Lo)if(e[r]===117)this.tState=Po;else return this.charError(e,r);else if(this.tState===Po)if(e[r]===101)this.tState=It,this.onToken(Fs,!0),this.offset+=3;else return this.charError(e,r);else if(this.tState===ko)if(e[r]===97)this.tState=Mo;else return this.charError(e,r);else if(this.tState===Mo)if(e[r]===108)this.tState=Vo;else return this.charError(e,r);else if(this.tState===Vo)if(e[r]===115)this.tState=jo;else return this.charError(e,r);else if(this.tState===jo)if(e[r]===101)this.tState=It,this.onToken(Us,!1),this.offset+=4;else return this.charError(e,r);else if(this.tState===Fo)if(e[r]===117)this.tState=Uo;else return this.charError(e,r);else if(this.tState===Uo)if(e[r]===108)this.tState=Wo;else return this.charError(e,r);else if(this.tState===Wo)if(e[r]===108)this.tState=It,this.onToken(Ws,null),this.offset+=3;else return this.charError(e,r)};$e.onToken=function(e,t){};$e.parseError=function(e,t){this.tState=Gs,this.onError(new Error("Unexpected "+ut.toknam(e)+(t?"("+JSON.stringify(t)+")":"")+" in state "+ut.toknam(this.state)))};$e.push=function(){this.stack.push({value:this.value,key:this.key,mode:this.mode})};$e.pop=function(){var e=this.value,t=this.stack.pop();this.value=t.value,this.key=t.key,this.mode=t.mode,this.emit(e),this.mode||(this.state=Wt)};$e.emit=function(e){this.mode&&(this.state=Kr),this.onValue(e)};$e.onValue=function(e){};$e.onToken=function(e,t){if(this.state===Wt)if(e===Jr||e===Bs||e===Fs||e===Us||e===Ws)this.value&&(this.value[this.key]=t),this.emit(t);else if(e===Vs)this.push(),this.value?this.value=this.value[this.key]={}:this.value={},this.key=void 0,this.state=Zn,this.mode=Cr;else if(e===js)this.push(),this.value?this.value=this.value[this.key]=[]:this.value=[],this.key=0,this.mode=Nr,this.state=Wt;else if(e===Ur)if(this.mode===Cr)this.pop();else return this.parseError(e,t);else if(e===ki)if(this.mode===Nr)this.pop();else return this.parseError(e,t);else return this.parseError(e,t);else if(this.state===Zn)if(e===Jr)this.key=t,this.state=Wr;else if(e===Ur)this.pop();else return this.parseError(e,t);else if(this.state===Wr)if(e===Wr)this.state=Wt;else return this.parseError(e,t);else if(this.state===Kr)if(e===Kr)this.mode===Nr?(this.key++,this.state=Wt):this.mode===Cr&&(this.state=Zn);else if(e===ki&&this.mode===Nr||e===Ur&&this.mode===Cr)this.pop();else return this.parseError(e,t);else return this.parseError(e,t)};$e.numberReviver=function(e,t,r){var n=Number(e);if(isNaN(n))return this.charError(t,r);e.match(/[0-9]+/)==e&&n.toString()!=e?this.onToken(Jr,e):this.onToken(Bs,n)};ut.C=re;var Yf=ut,Se={},en={},Jt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ERROR_CODES=e.ErrorCoded=void 0;class t extends Error{constructor(n,o){super(n),this.code=o}}e.ErrorCoded=t,function(r){r.COLLIDING_KEYWORDS="colliding keywords",r.CONFLICTING_INDEXES="conflicting indexes",r.CYCLIC_IRI_MAPPING="cyclic IRI mapping",r.INVALID_ID_VALUE="invalid @id value",r.INVALID_INDEX_VALUE="invalid @index value",r.INVALID_NEST_VALUE="invalid @nest value",r.INVALID_PREFIX_VALUE="invalid @prefix value",r.INVALID_PROPAGATE_VALUE="invalid @propagate value",r.INVALID_REVERSE_VALUE="invalid @reverse value",r.INVALID_IMPORT_VALUE="invalid @import value",r.INVALID_VERSION_VALUE="invalid @version value",r.INVALID_BASE_IRI="invalid base IRI",r.INVALID_CONTAINER_MAPPING="invalid container mapping",r.INVALID_CONTEXT_ENTRY="invalid context entry",r.INVALID_CONTEXT_NULLIFICATION="invalid context nullification",r.INVALID_DEFAULT_LANGUAGE="invalid default language",r.INVALID_INCLUDED_VALUE="invalid @included value",r.INVALID_IRI_MAPPING="invalid IRI mapping",r.INVALID_JSON_LITERAL="invalid JSON literal",r.INVALID_KEYWORD_ALIAS="invalid keyword alias",r.INVALID_LANGUAGE_MAP_VALUE="invalid language map value",r.INVALID_LANGUAGE_MAPPING="invalid language mapping",r.INVALID_LANGUAGE_TAGGED_STRING="invalid language-tagged string",r.INVALID_LANGUAGE_TAGGED_VALUE="invalid language-tagged value",r.INVALID_LOCAL_CONTEXT="invalid local context",r.INVALID_REMOTE_CONTEXT="invalid remote context",r.INVALID_REVERSE_PROPERTY="invalid reverse property",r.INVALID_REVERSE_PROPERTY_MAP="invalid reverse property map",r.INVALID_REVERSE_PROPERTY_VALUE="invalid reverse property value",r.INVALID_SCOPED_CONTEXT="invalid scoped context",r.INVALID_SCRIPT_ELEMENT="invalid script element",r.INVALID_SET_OR_LIST_OBJECT="invalid set or list object",r.INVALID_TERM_DEFINITION="invalid term definition",r.INVALID_TYPE_MAPPING="invalid type mapping",r.INVALID_TYPE_VALUE="invalid type value",r.INVALID_TYPED_VALUE="invalid typed value",r.INVALID_VALUE_OBJECT="invalid value object",r.INVALID_VALUE_OBJECT_VALUE="invalid value object value",r.INVALID_VOCAB_MAPPING="invalid vocab mapping",r.IRI_CONFUSED_WITH_PREFIX="IRI confused with prefix",r.KEYWORD_REDEFINITION="keyword redefinition",r.LOADING_DOCUMENT_FAILED="loading document failed",r.LOADING_REMOTE_CONTEXT_FAILED="loading remote context failed",r.MULTIPLE_CONTEXT_LINK_HEADERS="multiple context link headers",r.PROCESSING_MODE_CONFLICT="processing mode conflict",r.PROTECTED_TERM_REDEFINITION="protected term redefinition",r.CONTEXT_OVERFLOW="context overflow",r.INVALID_BASE_DIRECTION="invalid base direction",r.RECURSIVE_CONTEXT_INCLUSION="recursive context inclusion",r.INVALID_STREAMING_KEY_ORDER="invalid streaming key order",r.INVALID_EMBEDDED_NODE="invalid embedded node",r.INVALID_ANNOTATION="invalid annotation"}(e.ERROR_CODES||(e.ERROR_CODES={}))})(Jt);var Ar={},zf=/^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i,Xf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Qf=/\s|\uFEFF|\xA0/,Zf=/\r?\n[\x20\x09]+/g,ed=/[;,"]/,td=/[;,"]|\s/,rd=/^[!#$%&'*+\-\.^_`|~\da-zA-Z]+$/,Xe={IDLE:1,URI:2,ATTR:4};function Jo(e){return e.replace(Xf,"")}function Br(e){return Qf.test(e)}function nd(e,t){for(;Br(e[t]);)t++;return t}function qo(e){return td.test(e)||!rd.test(e)}function id(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>r in t&&e[r]===t[r])}class ae{constructor(t){this.refs=[],t&&this.parse(t)}rel(t){for(var r=[],n=t.toLowerCase(),o=0;oid(r,t))||this.refs.push(t),this}has(t,r){t=t.toLowerCase(),r=r.toLowerCase();for(var n=0;n",a);if(l===-1)throw new Error("Expected end of URI delimiter at offset "+a);i={uri:t.slice(a+1,l)},a=l,n=Xe.URI}else throw new Error('Unexpected character "'+t[a]+'" at offset '+a);a++}else if(n===Xe.URI)if(Br(t[a])){a++;continue}else if(t[a]===";")n=Xe.ATTR,a++;else if(t[a]===",")n=Xe.IDLE,a++;else throw new Error('Unexpected character "'+t[a]+'" at offset '+a);else if(n===Xe.ATTR){if(t[a]===";"||Br(t[a])){a++;continue}var l=t.indexOf("=",a);l===-1&&(l=t.indexOf(";",a)),l===-1&&(l=t.length);var d=Jo(t.slice(a,l)).toLowerCase(),u="";if(a=l+1,a=nd(t,a),t[a]==='"')for(a++;a"),t.push(r);return t.join(", ")}}ae.isCompatibleEncoding=function(e){return zf.test(e)};ae.parse=function(e,t){return new ae().parse(e,t)};ae.isSingleOccurenceAttr=function(e){return e==="rel"||e==="type"||e==="media"||e==="title"||e==="title*"};ae.isTokenAttr=function(e){return e==="rel"||e==="type"||e==="anchor"};ae.escapeQuotes=function(e){return e.replace(/"/g,'\\"')};ae.expandRelations=function(e){var t=e.rel.split(" ");return t.map(function(r){var n=Object.assign({},e);return n.rel=r,n})};ae.parseExtendedValue=function(e){var t=/([^']+)?(?:'([^']*)')?(.+)/.exec(e);return{language:t[2].toLowerCase(),encoding:ae.isCompatibleEncoding(t[1])?null:t[1].toLowerCase(),value:ae.isCompatibleEncoding(t[1])?decodeURIComponent(t[3]):t[3]}};ae.formatExtendedAttribute=function(e,t){var r=(t.encoding||"utf-8").toUpperCase(),n=t.language||"en",o="";return be.Buffer.isBuffer(t.value)&&ae.isCompatibleEncoding(r)?o=t.value.toString(r):be.Buffer.isBuffer(t.value)?o=t.value.toString("hex").replace(/[0-9a-f]{2}/gi,"%$1"):o=encodeURIComponent(t.value),e+"="+r+"'"+n+"'"+o};ae.formatAttribute=function(e,t){return Array.isArray(t)?t.map(r=>ae.formatAttribute(e,r)).join("; "):e[e.length-1]==="*"||typeof t!="string"?ae.formatExtendedAttribute(e,t):(ae.isTokenAttr(e)?t=qo(t)?'"'+ae.escapeQuotes(t)+'"':ae.escapeQuotes(t):qo(t)&&(t=encodeURIComponent(t),t=t.replace(/%20/g," ").replace(/%2C/g,",").replace(/%3B/g,";"),t='"'+t+'"'),e+"="+t)};var Hs=ae;Object.defineProperty(Ar,"__esModule",{value:!0});Ar.FetchDocumentLoader=void 0;const Yo=Jt,od=Hs,ad=ao;class sd{constructor(t){this.fetcher=t}async load(t){const r=await(this.fetcher||fetch)(t,{headers:new Headers({accept:"application/ld+json"})});if(r.ok&&r.headers){let n=r.headers.get("Content-Type");if(n){const o=n.indexOf(";");o>0&&(n=n.substr(0,o))}if(n==="application/ld+json")return await r.json();if(r.headers.has("Link")){let o;if(r.headers.forEach((a,i)=>{if(i==="link"){const l=(0,od.parse)(a);for(const d of l.get("type","application/ld+json"))if(d.rel==="alternate"){if(o)throw new Error("Multiple JSON-LD alternate links were found on "+t);o=(0,ad.resolve)(d.uri,t)}}}),o)return this.load(o)}throw new Yo.ErrorCoded(`Unsupported JSON-LD media type ${n}`,Yo.ERROR_CODES.LOADING_DOCUMENT_FAILED)}else throw new Error(r.statusText||`Status code: ${r.status}`)}}Ar.FetchDocumentLoader=sd;var lo={},qt={};Object.defineProperty(qt,"__esModule",{value:!0});qt.Util=void 0;let xe=class Qe{static isCompactIri(t){return t.indexOf(":")>0&&!(t&&t[0]==="#")}static getPrefix(t,r){if(t&&t[0]==="#")return null;const n=t.indexOf(":");if(n>=0){if(t.length>n+1&&t.charAt(n+1)==="/"&&t.charAt(n+2)==="/")return null;const o=t.substr(0,n);if(o==="_")return null;if(r[o])return o}return null}static getContextValueId(t){if(t===null||typeof t=="string")return t;const r=t["@id"];return r||null}static isSimpleTermDefinitionPrefix(t,r){return!Qe.isPotentialKeyword(t)&&(r.allowPrefixNonGenDelims||typeof t=="string"&&(t[0]==="_"||Qe.isPrefixIriEndingWithGenDelim(t)))}static isPotentialKeyword(t){return typeof t=="string"&&Qe.KEYWORD_REGEX.test(t)}static isPrefixIriEndingWithGenDelim(t){return Qe.ENDS_WITH_GEN_DELIM.test(t)}static isPrefixValue(t){return t&&(typeof t=="string"||t&&typeof t=="object")}static isValidIri(t){return!!(t&&Qe.IRI_REGEX.test(t))}static isValidIriWeak(t){return!!t&&t[0]!==":"&&Qe.IRI_REGEX_WEAK.test(t)}static isValidKeyword(t){return Qe.VALID_KEYWORDS[t]}static isTermProtected(t,r){const n=t[r];return typeof n!="string"&&n&&n["@protected"]}static hasProtectedTerms(t){for(const r of Object.keys(t))if(Qe.isTermProtected(t,r))return!0;return!1}static isReservedInternalKeyword(t){return t.startsWith("@__")}static deepEqual(t,r){const n=Object.keys(t),o=Object.keys(r);return n.length!==o.length?!1:n.every(a=>{const i=t[a],l=r[a];return i===l||i!==null&&l!==null&&typeof i=="object"&&typeof l=="object"&&this.deepEqual(i,l)})}};xe.IRI_REGEX=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^ "<>{}|\\\[\]`#]*(#[^#]*)?$/;xe.IRI_REGEX_WEAK=/(?::[^:])|\//;xe.KEYWORD_REGEX=/^@[a-z]+$/i;xe.ENDS_WITH_GEN_DELIM=/[:/?#\[\]@]$/;xe.REGEX_LANGUAGE_TAG=/^[a-zA-Z]+(-[a-zA-Z0-9]+)*$/;xe.REGEX_DIRECTION_TAG=/^(ltr)|(rtl)$/;xe.VALID_KEYWORDS={"@annotation":!0,"@base":!0,"@container":!0,"@context":!0,"@direction":!0,"@graph":!0,"@id":!0,"@import":!0,"@included":!0,"@index":!0,"@json":!0,"@language":!0,"@list":!0,"@nest":!0,"@none":!0,"@prefix":!0,"@propagate":!0,"@protected":!0,"@reverse":!0,"@set":!0,"@type":!0,"@value":!0,"@version":!0,"@vocab":!0};xe.EXPAND_KEYS_BLACKLIST=["@base","@vocab","@language","@version","@direction"];xe.ALIAS_DOMAIN_BLACKLIST=["@container","@graph","@id","@index","@list","@nest","@none","@prefix","@reverse","@set","@type","@value","@version"];xe.ALIAS_RANGE_BLACKLIST=["@context","@preserve"];xe.CONTAINERS=["@list","@set","@index","@language","@graph","@id","@type"];xe.CONTAINERS_1_0=["@list","@set","@index"];qt.Util=xe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultExpandOptions=e.JsonLdContextNormalized=void 0;const t=ao,r=Jt,n=qt;class o{constructor(i){this.contextRaw=i}getContextRaw(){return this.contextRaw}expandTerm(i,l,d=e.defaultExpandOptions){const u=this.contextRaw[i];if(u===null||u&&u["@id"]===null)return null;let h=!0;if(u&&l){const S=n.Util.getContextValueId(u);if(S&&S!==i)if(typeof S!="string"||!n.Util.isValidIri(S)&&!n.Util.isValidKeyword(S))n.Util.isPotentialKeyword(S)||(h=!1);else return S}const _=n.Util.getPrefix(i,this.contextRaw),b=this.contextRaw["@vocab"],c=(!!b||b==="")&&b.indexOf(":")<0,E=this.contextRaw["@base"],g=n.Util.isPotentialKeyword(i);if(_){const S=this.contextRaw[_],T=n.Util.getContextValueId(S);if(T){if(typeof S=="string"||!d.allowPrefixForcing){if(!n.Util.isSimpleTermDefinitionPrefix(T,d))return i}else if(T[0]!=="_"&&!g&&!S["@prefix"]&&!(i in this.contextRaw))return i;return T+i.substr(_.length+1)}}else if(l&&(b||b===""||d.allowVocabRelativeToBase&&E&&c)&&!g&&!n.Util.isCompactIri(i))if(c){if(d.allowVocabRelativeToBase)return(b||E?(0,t.resolve)(b,E):"")+i;throw new r.ErrorCoded(`Relative vocab expansion for term '${i}' with vocab '${b}' is not allowed.`,r.ERROR_CODES.INVALID_VOCAB_MAPPING)}else return b+i;else if(!l&&E&&!g&&!n.Util.isCompactIri(i))return(0,t.resolve)(i,E);if(h)return i;throw new r.ErrorCoded(`Invalid IRI mapping found for context entry '${i}': '${JSON.stringify(u)}'`,r.ERROR_CODES.INVALID_IRI_MAPPING)}compactIri(i,l){if(l&&this.contextRaw["@vocab"]&&i.startsWith(this.contextRaw["@vocab"]))return i.substr(this.contextRaw["@vocab"].length);if(!l&&this.contextRaw["@base"]&&i.startsWith(this.contextRaw["@base"]))return i.substr(this.contextRaw["@base"].length);const d={prefix:"",suffix:i};for(const u in this.contextRaw){const h=this.contextRaw[u];if(h&&!n.Util.isPotentialKeyword(u)){const _=n.Util.getContextValueId(h);if(i.startsWith(_)){const b=i.substr(_.length);if(b)b.length=0&&(a!=="@type"||typeof o[a]=="object"&&!(o[a]["@protected"]||o[a]["@container"]==="@set")))throw new D.ErrorCoded(`Keywords can not be aliased to something else. Tried mapping ${a} to ${JSON.stringify(i)}`,D.ERROR_CODES.KEYWORD_REDEFINITION);if(q.Util.ALIAS_RANGE_BLACKLIST.indexOf(q.Util.getContextValueId(i))>=0)throw new D.ErrorCoded(`Aliasing to certain keywords is not allowed. Tried mapping ${a} to ${JSON.stringify(i)}`,D.ERROR_CODES.INVALID_KEYWORD_ALIAS);if(i&&q.Util.isPotentialKeyword(q.Util.getContextValueId(i))&&i["@prefix"]===!0)throw new D.ErrorCoded(`Tried to use keyword aliases as prefix: '${a}': '${JSON.stringify(i)}'`,D.ERROR_CODES.INVALID_TERM_DEFINITION);for(;q.Util.isPrefixValue(o[a]);){const l=o[a];let d=!1;if(typeof l=="string")o[a]=t.expandTerm(l,!0),d=d||l!==o[a];else{const u=l["@id"],h=l["@type"],_=!("@prefix"in l)||q.Util.isValidIri(a);if("@id"in l)u!=null&&typeof u=="string"&&(o[a]=Object.assign(Object.assign({},o[a]),{"@id":t.expandTerm(u,!0)}),d=d||u!==o[a]["@id"]);else if(!q.Util.isPotentialKeyword(a)&&_){const b=t.expandTerm(a,!0);b!==a&&(o[a]=Object.assign(Object.assign({},o[a]),{"@id":b}),d=!0)}if(h&&typeof h=="string"&&h!=="@vocab"&&(!l["@container"]||!l["@container"]["@type"])&&_){let b=t.expandTerm(h,!0);r&&h===b&&(b=t.expandTerm(h,!1)),b!==h&&(d=!0,o[a]=Object.assign(Object.assign({},o[a]),{"@type":b}))}}if(!d)break}}}normalize(t,{processingMode:r,normalizeLanguageTags:n}){if(n||r===1)for(const o of Object.keys(t))if(o==="@language"&&typeof t[o]=="string")t[o]=t[o].toLowerCase();else{const a=t[o];if(a&&typeof a=="object"&&typeof a["@language"]=="string"){const i=a["@language"].toLowerCase();i!==a["@language"]&&(t[o]=Object.assign(Object.assign({},a),{"@language":i}))}}}containersToHash(t){for(const r of Object.keys(t)){const n=t[r];if(n&&typeof n=="object"){if(typeof n["@container"]=="string")t[r]=Object.assign(Object.assign({},n),{"@container":{[n["@container"]]:!0}});else if(Array.isArray(n["@container"])){const o={};for(const a of n["@container"])o[a]=!0;t[r]=Object.assign(Object.assign({},n),{"@container":o})}}}}applyScopedProtected(t,{processingMode:r},n){if(r&&r>=1.1&&t["@protected"]){for(const o of Object.keys(t))if(!q.Util.isReservedInternalKeyword(o)&&!q.Util.isPotentialKeyword(o)&&!q.Util.isTermProtected(t,o)){const a=t[o];a&&typeof a=="object"?"@protected"in t[o]||(t[o]=Object.assign(Object.assign({},t[o]),{"@protected":!0})):(t[o]={"@id":a,"@protected":!0},q.Util.isSimpleTermDefinitionPrefix(a,n)&&(t[o]=Object.assign(Object.assign({},t[o]),{"@prefix":!0})))}delete t["@protected"]}}validateKeywordRedefinitions(t,r,n,o){for(const a of o??Object.keys(r))if(q.Util.isTermProtected(t,a)&&(typeof r[a]=="string"?r[a]={"@id":r[a],"@protected":!0}:r[a]=Object.assign(Object.assign({},r[a]),{"@protected":!0}),!q.Util.deepEqual(t[a],r[a])))throw new D.ErrorCoded(`Attempted to override the protected keyword ${a} from ${JSON.stringify(q.Util.getContextValueId(t[a]))} to ${JSON.stringify(q.Util.getContextValueId(r[a]))}`,D.ERROR_CODES.PROTECTED_TERM_REDEFINITION)}validate(t,{processingMode:r}){for(const n of Object.keys(t)){if(q.Util.isReservedInternalKeyword(n))continue;if(n==="")throw new D.ErrorCoded(`The empty term is not allowed, got: '${n}': '${JSON.stringify(t[n])}'`,D.ERROR_CODES.INVALID_TERM_DEFINITION);const o=t[n],a=typeof o;if(q.Util.isPotentialKeyword(n)){switch(n.substr(1)){case"vocab":if(o!==null&&a!=="string")throw new D.ErrorCoded(`Found an invalid @vocab IRI: ${o}`,D.ERROR_CODES.INVALID_VOCAB_MAPPING);break;case"base":if(o!==null&&a!=="string")throw new D.ErrorCoded(`Found an invalid @base IRI: ${t[n]}`,D.ERROR_CODES.INVALID_BASE_IRI);break;case"language":o!==null&&Ze.validateLanguage(o,!0,D.ERROR_CODES.INVALID_DEFAULT_LANGUAGE);break;case"version":if(o!==null&&a!=="number")throw new D.ErrorCoded(`Found an invalid @version number: ${o}`,D.ERROR_CODES.INVALID_VERSION_VALUE);break;case"direction":o!==null&&Ze.validateDirection(o,!0);break;case"propagate":if(r===1)throw new D.ErrorCoded(`Found an illegal @propagate keyword: ${o}`,D.ERROR_CODES.INVALID_CONTEXT_ENTRY);if(o!==null&&a!=="boolean")throw new D.ErrorCoded(`Found an invalid @propagate value: ${o}`,D.ERROR_CODES.INVALID_PROPAGATE_VALUE);break}if(q.Util.isValidKeyword(n)&&q.Util.isValidKeyword(q.Util.getContextValueId(o)))throw new D.ErrorCoded(`Illegal keyword alias in term value, found: '${n}': '${q.Util.getContextValueId(o)}'`,D.ERROR_CODES.KEYWORD_REDEFINITION);continue}if(o!==null)switch(a){case"string":if(q.Util.getPrefix(o,t)===n)throw new D.ErrorCoded(`Detected cyclical IRI mapping in context entry: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.CYCLIC_IRI_MAPPING);if(q.Util.isValidIriWeak(n)){if(o==="@type")throw new D.ErrorCoded(`IRIs can not be mapped to @type, found: '${n}': '${o}'`,D.ERROR_CODES.INVALID_IRI_MAPPING);if(q.Util.isValidIri(o)&&o!==new je.JsonLdContextNormalized(t).expandTerm(n))throw new D.ErrorCoded(`IRIs can not be mapped to other IRIs, found: '${n}': '${o}'`,D.ERROR_CODES.INVALID_IRI_MAPPING)}break;case"object":if(!q.Util.isCompactIri(n)&&!("@id"in o)&&(o["@type"]==="@id"?!t["@base"]:!t["@vocab"]))throw new D.ErrorCoded(`Missing @id in context entry: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_IRI_MAPPING);for(const i of Object.keys(o)){const l=o[i];if(l)switch(i){case"@id":if(q.Util.isValidKeyword(l)&&l!=="@type"&&l!=="@id"&&l!=="@graph"&&l!=="@nest")throw new D.ErrorCoded(`Illegal keyword alias in term value, found: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_IRI_MAPPING);if(q.Util.isValidIriWeak(n)){if(l==="@type")throw new D.ErrorCoded(`IRIs can not be mapped to @type, found: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_IRI_MAPPING);if(q.Util.isValidIri(l)&&l!==new je.JsonLdContextNormalized(t).expandTerm(n))throw new D.ErrorCoded(`IRIs can not be mapped to other IRIs, found: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_IRI_MAPPING)}if(typeof l!="string")throw new D.ErrorCoded(`Detected non-string @id in context entry: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_IRI_MAPPING);if(q.Util.getPrefix(l,t)===n)throw new D.ErrorCoded(`Detected cyclical IRI mapping in context entry: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.CYCLIC_IRI_MAPPING);break;case"@type":if(o["@container"]==="@type"&&l!=="@id"&&l!=="@vocab")throw new D.ErrorCoded(`@container: @type only allows @type: @id or @vocab, but got: '${n}': '${l}'`,D.ERROR_CODES.INVALID_TYPE_MAPPING);if(typeof l!="string")throw new D.ErrorCoded(`The value of an '@type' must be a string, got '${JSON.stringify(a)}'`,D.ERROR_CODES.INVALID_TYPE_MAPPING);if(l!=="@id"&&l!=="@vocab"&&(r===1||l!=="@json")&&(r===1||l!=="@none")&&(l[0]==="_"||!q.Util.isValidIri(l)))throw new D.ErrorCoded(`A context @type must be an absolute IRI, found: '${n}': '${l}'`,D.ERROR_CODES.INVALID_TYPE_MAPPING);break;case"@reverse":if(typeof l=="string"&&o["@id"]&&o["@id"]!==l)throw new D.ErrorCoded(`Found non-matching @id and @reverse term values in '${n}':'${l}' and '${o["@id"]}'`,D.ERROR_CODES.INVALID_REVERSE_PROPERTY);if("@nest"in o)throw new D.ErrorCoded(`@nest is not allowed in the reverse property '${n}'`,D.ERROR_CODES.INVALID_REVERSE_PROPERTY);break;case"@container":if(r===1&&(Object.keys(l).length>1||q.Util.CONTAINERS_1_0.indexOf(Object.keys(l)[0])<0))throw new D.ErrorCoded(`Invalid term @container for '${n}' ('${Object.keys(l)}') in 1.0, must be only one of ${q.Util.CONTAINERS_1_0.join(", ")}`,D.ERROR_CODES.INVALID_CONTAINER_MAPPING);for(const d of Object.keys(l)){if(d==="@list"&&o["@reverse"])throw new D.ErrorCoded(`Term value can not be @container: @list and @reverse at the same time on '${n}'`,D.ERROR_CODES.INVALID_REVERSE_PROPERTY);if(q.Util.CONTAINERS.indexOf(d)<0)throw new D.ErrorCoded(`Invalid term @container for '${n}' ('${d}'), must be one of ${q.Util.CONTAINERS.join(", ")}`,D.ERROR_CODES.INVALID_CONTAINER_MAPPING)}break;case"@language":Ze.validateLanguage(l,!0,D.ERROR_CODES.INVALID_LANGUAGE_MAPPING);break;case"@direction":Ze.validateDirection(l,!0);break;case"@prefix":if(l!==null&&typeof l!="boolean")throw new D.ErrorCoded(`Found an invalid term @prefix boolean in: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_PREFIX_VALUE);if(!("@id"in o)&&!q.Util.isValidIri(n))throw new D.ErrorCoded(`Invalid @prefix definition for '${n}' ('${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_TERM_DEFINITION);break;case"@index":if(r===1||!o["@container"]||!o["@container"]["@index"])throw new D.ErrorCoded(`Attempt to add illegal key to value object: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_TERM_DEFINITION);break;case"@nest":if(q.Util.isPotentialKeyword(l)&&l!=="@nest")throw new D.ErrorCoded(`Found an invalid term @nest value in: '${n}': '${JSON.stringify(o)}'`,D.ERROR_CODES.INVALID_NEST_VALUE)}}break;default:throw new D.ErrorCoded(`Found an invalid term value: '${n}': '${o}'`,D.ERROR_CODES.INVALID_TERM_DEFINITION)}}}applyBaseEntry(t,r,n){return typeof t=="string"||(n&&!("@base"in t)&&r.parentContext&&typeof r.parentContext=="object"&&"@base"in r.parentContext&&(t["@base"]=r.parentContext["@base"],r.parentContext["@__baseDocument"]&&(t["@__baseDocument"]=!0)),r.baseIRI&&!r.external&&("@base"in t?t["@base"]!==null&&typeof t["@base"]=="string"&&!q.Util.isValidIri(t["@base"])&&(t["@base"]=(0,zo.resolve)(t["@base"],r.parentContext&&r.parentContext["@base"]||r.baseIRI)):(t["@base"]=r.baseIRI,t["@__baseDocument"]=!0))),t}normalizeContextIri(t,r){if(!q.Util.isValidIri(t))try{t=(0,zo.resolve)(t,r)}catch{throw new Error(`Invalid context IRI: ${t}`)}return this.redirectSchemaOrgHttps&&t.startsWith("http://schema.org")&&(t="https://schema.org/"),t}async parseInnerContexts(t,r,n){for(const o of n??Object.keys(t)){const a=t[o];if(a&&typeof a=="object"&&"@context"in a&&a["@context"]!==null&&!r.ignoreScopedContexts){if(this.validateContext)try{const i=Object.assign(Object.assign({},t),{[o]:Object.assign({},t[o])});delete i[o]["@context"],await this.parse(a["@context"],Object.assign(Object.assign({},r),{external:!1,parentContext:i,ignoreProtection:!0,ignoreRemoteScopedContexts:!0,ignoreScopedContexts:!0}))}catch(i){throw new D.ErrorCoded(i.message,D.ERROR_CODES.INVALID_SCOPED_CONTEXT)}t[o]=Object.assign(Object.assign({},a),{"@context":(await this.parse(a["@context"],Object.assign(Object.assign({},r),{external:!1,minimalProcessing:!0,ignoreRemoteScopedContexts:!0,parentContext:t}))).getContextRaw()})}}return t}async parse(t,r={},n={}){const{baseIRI:o,parentContext:a,external:i,processingMode:l=Ze.DEFAULT_PROCESSING_MODE,normalizeLanguageTags:d,ignoreProtection:u,minimalProcessing:h}=r,_=r.remoteContexts||{};if(Object.keys(_).length>=this.remoteContextsDepthLimit)throw new D.ErrorCoded("Detected an overflow in remote context inclusions: "+Object.keys(_),D.ERROR_CODES.CONTEXT_OVERFLOW);if(t==null){if(!u&&a&&q.Util.hasProtectedTerms(a))throw new D.ErrorCoded("Illegal context nullification when terms are protected",D.ERROR_CODES.INVALID_CONTEXT_NULLIFICATION);return new je.JsonLdContextNormalized(this.applyBaseEntry({},r,!1))}else if(typeof t=="string"){const b=this.normalizeContextIri(t,o),c=this.getOverriddenLoad(b,r);if(c)return new je.JsonLdContextNormalized(c);const E=await this.parse(await this.load(b),Object.assign(Object.assign({},r),{baseIRI:b,external:!0,remoteContexts:Object.assign(Object.assign({},_),{[b]:!0})}));return this.applyBaseEntry(E.getContextRaw(),r,!0),E}else if(Array.isArray(t)){const b=[],c=await Promise.all(t.map((g,S)=>{if(typeof g=="string"){const T=this.normalizeContextIri(g,o);b[S]=T;const $=this.getOverriddenLoad(T,r);return $||this.load(T)}else return g}));if(h)return new je.JsonLdContextNormalized(c);const E=await c.reduce((g,S,T)=>g.then($=>this.parse(S,Object.assign(Object.assign({},r),{baseIRI:b[T]||r.baseIRI,external:!!b[T]||r.external,parentContext:$.getContextRaw(),remoteContexts:b[T]?Object.assign(Object.assign({},_),{[b[T]]:!0}):_}),{skipValidation:T=1.1){if(typeof t["@import"]!="string")throw new D.ErrorCoded("An @import value must be a string, but got "+typeof t["@import"],D.ERROR_CODES.INVALID_IMPORT_VALUE);b=await this.loadImportContext(this.normalizeContextIri(t["@import"],o)),delete t["@import"]}else throw new D.ErrorCoded("Context importing is not supported in JSON-LD 1.0",D.ERROR_CODES.INVALID_CONTEXT_ENTRY);this.applyScopedProtected(b,{processingMode:l},je.defaultExpandOptions);const c=Object.assign(b,t);this.idifyReverseTerms(c),this.normalize(c,{processingMode:l,normalizeLanguageTags:d}),this.applyScopedProtected(c,{processingMode:l},je.defaultExpandOptions);const E=Object.keys(c),g=[];if(typeof a=="object")for(const T in a)T in c?g.push(T):c[T]=a[T];await this.parseInnerContexts(c,r,E);const S=new je.JsonLdContextNormalized(c);return(c&&c["@version"]||Ze.DEFAULT_PROCESSING_MODE)>=1.1&&(t["@vocab"]&&typeof t["@vocab"]=="string"||t["@vocab"]==="")&&(a&&"@vocab"in a&&t["@vocab"].indexOf(":")<0?c["@vocab"]=a["@vocab"]+t["@vocab"]:(q.Util.isCompactIri(t["@vocab"])||t["@vocab"]in c)&&(c["@vocab"]=S.expandTerm(t["@vocab"],!0))),this.expandPrefixedTerms(S,this.expandContentTypeToBase,E),!u&&a&&l>=1.1&&this.validateKeywordRedefinitions(a,c,je.defaultExpandOptions,g),this.validateContext&&!n.skipValidation&&this.validate(c,{processingMode:l}),S}else throw new D.ErrorCoded(`Tried parsing a context that is not a string, array or object, but got ${t}`,D.ERROR_CODES.INVALID_LOCAL_CONTEXT)}async load(t){const r=this.documentCache[t];if(r)return r;let n;try{n=await this.documentLoader.load(t)}catch(o){throw new D.ErrorCoded(`Failed to load remote context ${t}: ${o.message}`,D.ERROR_CODES.LOADING_REMOTE_CONTEXT_FAILED)}if(!("@context"in n))throw new D.ErrorCoded(`Missing @context in remote context at ${t}`,D.ERROR_CODES.INVALID_REMOTE_CONTEXT);return this.documentCache[t]=n["@context"]}getOverriddenLoad(t,r){if(t in(r.remoteContexts||{})){if(r.ignoreRemoteScopedContexts)return t;throw new D.ErrorCoded("Detected a cyclic context inclusion of "+t,D.ERROR_CODES.RECURSIVE_CONTEXT_INCLUSION)}return null}async loadImportContext(t){let r=await this.load(t);if(typeof r!="object"||Array.isArray(r))throw new D.ErrorCoded("An imported context must be a single object: "+t,D.ERROR_CODES.INVALID_REMOTE_CONTEXT);if("@import"in r)throw new D.ErrorCoded("An imported context can not import another context: "+t,D.ERROR_CODES.INVALID_CONTEXT_ENTRY);return r=Object.assign({},r),this.containersToHash(r),r}}Ze.DEFAULT_PROCESSING_MODE=1.1;en.ContextParser=Ze;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});var Js={};Object.defineProperty(Js,"__esModule",{value:!0});(function(e){var t=dt&&dt.__createBinding||(Object.create?function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}:function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]}),r=dt&&dt.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(en,e),r(Jt,e),r(Ar,e),r(Ks,e),r(Js,e),r(lo,e),r(qt,e)})(Se);var qs={exports:{}},ei={exports:{}},se={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},Ys={exports:{}};(function(e){const t=be,{kResistStopPropagation:r,SymbolDispose:n}=se,o=globalThis.AbortSignal||Ge().AbortSignal,a=globalThis.AbortController||Ge().AbortController,i=Object.getPrototypeOf(async function(){}).constructor,l=globalThis.Blob||t.Blob,d=typeof l<"u"?function(c){return c instanceof l}:function(c){return!1},u=(b,c)=>{if(b!==void 0&&(b===null||typeof b!="object"||!("aborted"in b)))throw new ERR_INVALID_ARG_TYPE(c,"AbortSignal",b)},h=(b,c)=>{if(typeof b!="function")throw new ERR_INVALID_ARG_TYPE(c,"Function",b)};class _ extends Error{constructor(c){if(!Array.isArray(c))throw new TypeError(`Expected input to be an Array, got ${typeof c}`);let E="";for(let g=0;g{b=g,c=S}),resolve:b,reject:c}},promisify(b){return new Promise((c,E)=>{b((g,...S)=>g?E(g):c(...S))})},debuglog(){return function(){}},format(b,...c){return b.replace(/%([sdifj])/g,function(...[E,g]){const S=c.shift();return g==="f"?S.toFixed(6):g==="j"?JSON.stringify(S):g==="s"&&typeof S=="object"?`${S.constructor!==Object?S.constructor.name:""} {}`.trim():S.toString()})},inspect(b){switch(typeof b){case"string":if(b.includes("'"))if(b.includes('"')){if(!b.includes("`")&&!b.includes("${"))return`\`${b}\``}else return`"${b}"`;return`'${b}'`;case"number":return isNaN(b)?"NaN":Object.is(b,-0)?String(b):b;case"bigint":return`${String(b)}n`;case"boolean":case"undefined":return String(b);case"object":return"{}"}},types:{isAsyncFunction(b){return b instanceof i},isArrayBufferView(b){return ArrayBuffer.isView(b)}},isBlob:d,deprecate(b,c){return b},addAbortListener:ct.addAbortListener||function(c,E){if(c===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",c);u(c,"signal"),h(E,"listener");let g;return c.aborted?queueMicrotask(()=>E()):(c.addEventListener("abort",E,{__proto__:null,once:!0,[r]:!0}),g=()=>{c.removeEventListener("abort",E)}),{__proto__:null,[n](){var S;(S=g)===null||S===void 0||S()}}},AbortSignalAny:o.any||function(c){if(c.length===1)return c[0];const E=new a,g=()=>E.abort();return c.forEach(S=>{u(S,"signals"),S.addEventListener("abort",g,{once:!0})}),E.signal.addEventListener("abort",()=>{c.forEach(S=>S.removeEventListener("abort",g))},{once:!0}),E.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(Ys);var Re=Ys.exports,fo={};const{format:fd,inspect:qr,AggregateError:dd}=Re,ud=globalThis.AggregateError||dd,cd=Symbol("kIsNodeError"),hd=["string","function","number","object","Function","Object","boolean","bigint","symbol"],bd=/^([A-Z][a-z0-9]*)+$/,pd="__node_internal_",tn={};function Tt(e,t){if(!e)throw new tn.ERR_INTERNAL_ASSERTION(t)}function Xo(e){let t="",r=e.length;const n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function yd(e,t,r){if(typeof t=="function")return Tt(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const n=(t.match(/%[dfijoOs]/g)||[]).length;return Tt(n===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?t:fd(t,...r)}function pe(e,t,r){r||(r=Error);class n extends r{constructor(...a){super(yd(e,t,a))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[cd]=!0,tn[e]=n}function Qo(e){const t=pd+e.name;return Object.defineProperty(e,"name",{value:t}),e}function gd(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new ud([t,e],t.message);return r.code=t.code,r}return e||t}let _d=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new tn.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};pe("ERR_ASSERTION","%s",Error);pe("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Tt(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],i=[];for(const d of t)Tt(typeof d=="string","All expected entries have to be of type string"),hd.includes(d)?o.push(d.toLowerCase()):bd.test(d)?a.push(d):(Tt(d!=="object",'The value "object" should be written as "Object"'),i.push(d));if(a.length>0){const d=o.indexOf("object");d!==-1&&(o.splice(o,d,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const d=o.pop();n+=`one of type ${o.join(", ")}, or ${d}`}}(a.length>0||i.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+=`an instance of ${a[0]}`;break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const d=a.pop();n+=`an instance of ${a.join(", ")}, or ${d}`}}i.length>0&&(n+=" or ")}switch(i.length){case 0:break;case 1:i[0].toLowerCase()!==i[0]&&(n+="an "),n+=`${i[0]}`;break;case 2:n+=`one of ${i[0]} or ${i[1]}`;break;default:{const d=i.pop();n+=`one of ${i.join(", ")}, or ${d}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var l;if((l=r.constructor)!==null&&l!==void 0&&l.name)n+=`. Received an instance of ${r.constructor.name}`;else{const d=qr(r,{depth:-1});n+=`. Received ${d}`}}else{let d=qr(r,{colors:!1});d.length>25&&(d=`${d.slice(0,25)}...`),n+=`. Received type ${typeof r} (${d})`}return n},TypeError);pe("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=qr(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);pe("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;const o=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${o}.`},TypeError);pe("ERR_MISSING_ARGS",(...e)=>{Tt(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(n=>`"${n}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}break}return`${t} must be specified`},TypeError);pe("ERR_OUT_OF_RANGE",(e,t,r)=>{Tt(t,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=Xo(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=Xo(n)),n+="n"):n=qr(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError);pe("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);pe("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);pe("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);pe("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);pe("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);pe("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);pe("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);pe("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);pe("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);pe("ERR_STREAM_WRITE_AFTER_END","write after end",Error);pe("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var me={AbortError:_d,aggregateTwoErrors:Qo(gd),hideStackFrames:Qo,codes:tn};const{ArrayIsArray:uo,ArrayPrototypeIncludes:zs,ArrayPrototypeJoin:Xs,ArrayPrototypeMap:wd,NumberIsInteger:co,NumberIsNaN:Ed,NumberMAX_SAFE_INTEGER:Sd,NumberMIN_SAFE_INTEGER:Rd,NumberParseInt:Ad,ObjectPrototypeHasOwnProperty:Id,RegExpPrototypeExec:Qs,String:md,StringPrototypeToUpperCase:vd,StringPrototypeTrim:Td}=se,{hideStackFrames:De,codes:{ERR_SOCKET_BAD_PORT:Cd,ERR_INVALID_ARG_TYPE:ge,ERR_INVALID_ARG_VALUE:Yt,ERR_OUT_OF_RANGE:Nt,ERR_UNKNOWN_SIGNAL:Zo}}=me,{normalizeEncoding:Nd}=Re,{isAsyncFunction:Od,isArrayBufferView:$d}=Re.types,ea={};function xd(e){return e===(e|0)}function Dd(e){return e===e>>>0}const Ld=/^[0-7]+$/,Pd="must be a 32-bit unsigned integer or an octal string";function kd(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(Qs(Ld,e)===null)throw new Yt(t,e,Pd);e=Ad(e,8)}return Zs(e,t),e}const Md=De((e,t,r=Rd,n=Sd)=>{if(typeof e!="number")throw new ge(t,"number",e);if(!co(e))throw new Nt(t,"an integer",e);if(en)throw new Nt(t,`>= ${r} && <= ${n}`,e)}),Vd=De((e,t,r=-2147483648,n=2147483647)=>{if(typeof e!="number")throw new ge(t,"number",e);if(!co(e))throw new Nt(t,"an integer",e);if(en)throw new Nt(t,`>= ${r} && <= ${n}`,e)}),Zs=De((e,t,r=!1)=>{if(typeof e!="number")throw new ge(t,"number",e);if(!co(e))throw new Nt(t,"an integer",e);const n=r?1:0,o=4294967295;if(eo)throw new Nt(t,`>= ${n} && <= ${o}`,e)});function ho(e,t){if(typeof e!="string")throw new ge(t,"string",e)}function jd(e,t,r=void 0,n){if(typeof e!="number")throw new ge(t,"number",e);if(r!=null&&en||(r!=null||n!=null)&&Ed(e))throw new Nt(t,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,e)}const Fd=De((e,t,r)=>{if(!zs(r,e)){const o="must be one of: "+Xs(wd(r,a=>typeof a=="string"?`'${a}'`:md(a)),", ");throw new Yt(t,e,o)}});function el(e,t){if(typeof e!="boolean")throw new ge(t,"boolean",e)}function ti(e,t,r){return e==null||!Id(e,t)?r:e[t]}const Ud=De((e,t,r=null)=>{const n=ti(r,"allowArray",!1),o=ti(r,"allowFunction",!1);if(!ti(r,"nullable",!1)&&e===null||!n&&uo(e)||typeof e!="object"&&(!o||typeof e!="function"))throw new ge(t,"Object",e)}),Wd=De((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new ge(t,"a dictionary",e)}),rn=De((e,t,r=0)=>{if(!uo(e))throw new ge(t,"Array",e);if(e.length{if(!$d(e))throw new ge(t,["Buffer","TypedArray","DataView"],e)});function qd(e,t){const r=Nd(t),n=e.length;if(r==="hex"&&n%2!==0)throw new Yt("encoding",t,`is invalid for data of length ${n}`)}function Yd(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&Td(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new Cd(t,e,r);return e|0}const tl=De((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new ge(t,"AbortSignal",e)}),zd=De((e,t)=>{if(typeof e!="function")throw new ge(t,"Function",e)}),Xd=De((e,t)=>{if(typeof e!="function"||Od(e))throw new ge(t,"Function",e)}),Qd=De((e,t)=>{if(e!==void 0)throw new ge(t,"undefined",e)});function Zd(e,t,r){if(!zs(r,e))throw new ge(t,`('${Xs(r,"|")}')`,e)}const eu=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function ta(e,t){if(typeof e>"u"||!Qs(eu,e))throw new Yt(t,e,'must be an array or string of format "; rel=preload; as=style"')}function tu(e){if(typeof e=="string")return ta(e,"hints"),e;if(uo(e)){const t=e.length;let r="";if(t===0)return r;for(let n=0;n; rel=preload; as=style"')}var Ir={isInt32:xd,isUint32:Dd,parseFileMode:kd,validateArray:rn,validateStringArray:Bd,validateBooleanArray:Gd,validateAbortSignalArray:Hd,validateBoolean:el,validateBuffer:Jd,validateDictionary:Wd,validateEncoding:qd,validateFunction:zd,validateInt32:Vd,validateInteger:Md,validateNumber:jd,validateObject:Ud,validateOneOf:Fd,validatePlainFunction:Xd,validatePort:Yd,validateSignalName:Kd,validateString:ho,validateUint32:Zs,validateUndefined:Qd,validateUnion:Zd,validateAbortSignal:tl,validateLinkHeaderValue:tu},bo={exports:{}};const{SymbolAsyncIterator:ra,SymbolIterator:na,SymbolFor:$t}=se,rl=$t("nodejs.stream.destroyed"),nl=$t("nodejs.stream.errored"),Mi=$t("nodejs.stream.readable"),Vi=$t("nodejs.stream.writable"),il=$t("nodejs.stream.disturbed"),ru=$t("nodejs.webstream.isClosedPromise"),nu=$t("nodejs.webstream.controllerErrorFunction");function nn(e,t=!1){var r;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((r=e._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!e._writableState||e._readableState))}function on(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function iu(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function Je(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function ol(e){return!!(e&&!Je(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function al(e){return!!(e&&!Je(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function sl(e){return!!(e&&!Je(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function ou(e){return ol(e)||al(e)||sl(e)}function au(e,t){return e==null?!1:t===!0?typeof e[ra]=="function":t===!1?typeof e[na]=="function":typeof e[ra]=="function"||typeof e[na]=="function"}function an(e){if(!Je(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[rl]||n!=null&&n.destroyed)}function ll(e){if(!on(e))return null;if(e.writableEnded===!0)return!0;const t=e._writableState;return t!=null&&t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function su(e,t){if(!on(e))return null;if(e.writableFinished===!0)return!0;const r=e._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.finished)!="boolean"?null:!!(r.finished||t===!1&&r.ended===!0&&r.length===0)}function lu(e){if(!nn(e))return null;if(e.readableEnded===!0)return!0;const t=e._readableState;return!t||t.errored?!1:typeof(t==null?void 0:t.ended)!="boolean"?null:t.ended}function fl(e,t){if(!nn(e))return null;const r=e._readableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.endEmitted)!="boolean"?null:!!(r.endEmitted||t===!1&&r.ended===!0&&r.length===0)}function dl(e){return e&&e[Mi]!=null?e[Mi]:typeof(e==null?void 0:e.readable)!="boolean"?null:an(e)?!1:nn(e)&&e.readable&&!fl(e)}function ul(e){return e&&e[Vi]!=null?e[Vi]:typeof(e==null?void 0:e.writable)!="boolean"?null:an(e)?!1:on(e)&&e.writable&&!ll(e)}function fu(e,t){return Je(e)?an(e)?!0:!((t==null?void 0:t.readable)!==!1&&dl(e)||(t==null?void 0:t.writable)!==!1&&ul(e)):null}function du(e){var t,r;return Je(e)?e.writableErrored?e.writableErrored:(t=(r=e._writableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function uu(e){var t,r;return Je(e)?e.readableErrored?e.readableErrored:(t=(r=e._readableState)===null||r===void 0?void 0:r.errored)!==null&&t!==void 0?t:null:null}function cu(e){if(!Je(e))return null;if(typeof e.closed=="boolean")return e.closed;const t=e._writableState,r=e._readableState;return typeof(t==null?void 0:t.closed)=="boolean"||typeof(r==null?void 0:r.closed)=="boolean"?(t==null?void 0:t.closed)||(r==null?void 0:r.closed):typeof e._closed=="boolean"&&cl(e)?e._closed:null}function cl(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function hl(e){return typeof e._sent100=="boolean"&&cl(e)}function hu(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function bu(e){if(!Je(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&hl(e)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}function pu(e){var t;return!!(e&&((t=e[il])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function yu(e){var t,r,n,o,a,i,l,d,u,h;return!!(e&&((t=(r=(n=(o=(a=(i=e[nl])!==null&&i!==void 0?i:e.readableErrored)!==null&&a!==void 0?a:e.writableErrored)!==null&&o!==void 0?o:(l=e._readableState)===null||l===void 0?void 0:l.errorEmitted)!==null&&n!==void 0?n:(d=e._writableState)===null||d===void 0?void 0:d.errorEmitted)!==null&&r!==void 0?r:(u=e._readableState)===null||u===void 0?void 0:u.errored)!==null&&t!==void 0?t:!((h=e._writableState)===null||h===void 0)&&h.errored))}var it={isDestroyed:an,kIsDestroyed:rl,isDisturbed:pu,kIsDisturbed:il,isErrored:yu,kIsErrored:nl,isReadable:dl,kIsReadable:Mi,kIsClosedPromise:ru,kControllerErrorFunction:nu,kIsWritable:Vi,isClosed:cu,isDuplexNodeStream:iu,isFinished:fu,isIterable:au,isReadableNodeStream:nn,isReadableStream:ol,isReadableEnded:lu,isReadableFinished:fl,isReadableErrored:uu,isNodeStream:Je,isWebStream:ou,isWritable:ul,isWritableNodeStream:on,isWritableStream:al,isWritableEnded:ll,isWritableFinished:su,isWritableErrored:du,isServerRequest:hu,isServerResponse:hl,willEmitClose:bu,isTransformStream:sl};const st=Ie,{AbortError:bl,codes:gu}=me,{ERR_INVALID_ARG_TYPE:_u,ERR_STREAM_PREMATURE_CLOSE:ia}=gu,{kEmptyObject:ji,once:Fi}=Re,{validateAbortSignal:wu,validateFunction:Eu,validateObject:Su,validateBoolean:Ru}=Ir,{Promise:Au,PromisePrototypeThen:Iu,SymbolDispose:pl}=se,{isClosed:mu,isReadable:oa,isReadableNodeStream:ri,isReadableStream:vu,isReadableFinished:aa,isReadableErrored:sa,isWritable:la,isWritableNodeStream:fa,isWritableStream:Tu,isWritableFinished:da,isWritableErrored:ua,isNodeStream:Cu,willEmitClose:Nu,kIsClosedPromise:Ou}=it;let Bt;function $u(e){return e.setHeader&&typeof e.abort=="function"}const Ui=()=>{};function yl(e,t,r){var n,o;if(arguments.length===2?(r=t,t=ji):t==null?t=ji:Su(t,"options"),Eu(r,"callback"),wu(t.signal,"options.signal"),r=Fi(r),vu(e)||Tu(e))return xu(e,t,r);if(!Cu(e))throw new _u("stream",["ReadableStream","WritableStream","Stream"],e);const a=(n=t.readable)!==null&&n!==void 0?n:ri(e),i=(o=t.writable)!==null&&o!==void 0?o:fa(e),l=e._writableState,d=e._readableState,u=()=>{e.writable||b()};let h=Nu(e)&&ri(e)===a&&fa(e)===i,_=da(e,!1);const b=()=>{_=!0,e.destroyed&&(h=!1),!(h&&(!e.readable||a))&&(!a||c)&&r.call(e)};let c=aa(e,!1);const E=()=>{c=!0,e.destroyed&&(h=!1),!(h&&(!e.writable||i))&&(!i||_)&&r.call(e)},g=v=>{r.call(e,v)};let S=mu(e);const T=()=>{S=!0;const v=ua(e)||sa(e);if(v&&typeof v!="boolean")return r.call(e,v);if(a&&!c&&ri(e,!0)&&!aa(e,!1))return r.call(e,new ia);if(i&&!_&&!da(e,!1))return r.call(e,new ia);r.call(e)},$=()=>{S=!0;const v=ua(e)||sa(e);if(v&&typeof v!="boolean")return r.call(e,v);r.call(e)},w=()=>{e.req.on("finish",b)};$u(e)?(e.on("complete",b),h||e.on("abort",T),e.req?w():e.on("request",w)):i&&!l&&(e.on("end",u),e.on("close",u)),!h&&typeof e.aborted=="boolean"&&e.on("aborted",T),e.on("end",E),e.on("finish",b),t.error!==!1&&e.on("error",g),e.on("close",T),S?st.nextTick(T):l!=null&&l.errorEmitted||d!=null&&d.errorEmitted?h||st.nextTick($):(!a&&(!h||oa(e))&&(_||la(e)===!1)||!i&&(!h||la(e))&&(c||oa(e)===!1)||d&&e.req&&e.aborted)&&st.nextTick($);const B=()=>{r=Ui,e.removeListener("aborted",T),e.removeListener("complete",b),e.removeListener("abort",T),e.removeListener("request",w),e.req&&e.req.removeListener("finish",b),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",b),e.removeListener("end",E),e.removeListener("error",g),e.removeListener("close",T)};if(t.signal&&!S){const v=()=>{const x=r;B(),x.call(e,new bl(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)st.nextTick(v);else{Bt=Bt||Re.addAbortListener;const x=Bt(t.signal,v),U=r;r=Fi((...F)=>{x[pl](),U.apply(e,F)})}}return B}function xu(e,t,r){let n=!1,o=Ui;if(t.signal)if(o=()=>{n=!0,r.call(e,new bl(void 0,{cause:t.signal.reason}))},t.signal.aborted)st.nextTick(o);else{Bt=Bt||Re.addAbortListener;const i=Bt(t.signal,o),l=r;r=Fi((...d)=>{i[pl](),l.apply(e,d)})}const a=(...i)=>{n||st.nextTick(()=>r.apply(e,i))};return Iu(e[Ou].promise,a,a),Ui}function Du(e,t){var r;let n=!1;return t===null&&(t=ji),(r=t)!==null&&r!==void 0&&r.cleanup&&(Ru(t.cleanup,"cleanup"),n=t.cleanup),new Au((o,a)=>{const i=yl(e,t,l=>{n&&i(),l?a(l):o()})})}bo.exports=yl;bo.exports.finished=Du;var ht=bo.exports;const We=Ie,{aggregateTwoErrors:Lu,codes:{ERR_MULTIPLE_CALLBACK:Pu},AbortError:ku}=me,{Symbol:gl}=se,{kIsDestroyed:Mu,isDestroyed:Vu,isFinished:ju,isServerRequest:Fu}=it,_l=gl("kDestroy"),Wi=gl("kConstruct");function wl(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function Uu(e,t){const r=this._readableState,n=this._writableState,o=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(wl(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?ca(this,e,t):this.once(_l,function(a){ca(this,Lu(a,e),t)}),this)}function ca(e,t,r){let n=!1;function o(a){if(n)return;n=!0;const i=e._readableState,l=e._writableState;wl(a,l,i),l&&(l.closed=!0),i&&(i.closed=!0),typeof r=="function"&&r(a),a?We.nextTick(Wu,e,a):We.nextTick(El,e)}try{e._destroy(t||null,o)}catch(a){o(a)}}function Wu(e,t){Bi(e,t),El(e)}function El(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function Bi(e,t){const r=e._readableState,n=e._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function Bu(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function Gi(e,t,r){const n=e._readableState,o=e._writableState;if(o!=null&&o.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||o!=null&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),n&&!n.errored&&(n.errored=t),r?We.nextTick(Bi,e,t):Bi(e,t))}function Gu(e,t){if(typeof e._construct!="function")return;const r=e._readableState,n=e._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),e.once(Wi,t),!(e.listenerCount(Wi)>1)&&We.nextTick(Hu,e)}function Hu(e){let t=!1;function r(n){if(t){Gi(e,n??new Pu);return}t=!0;const o=e._readableState,a=e._writableState,i=a||o;o&&(o.constructed=!0),a&&(a.constructed=!0),i.destroyed?e.emit(_l,n):n?Gi(e,n,!0):We.nextTick(Ku,e)}try{e._construct(n=>{We.nextTick(r,n)})}catch(n){We.nextTick(r,n)}}function Ku(e){e.emit(Wi)}function ha(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function Sl(e){e.emit("close")}function Ju(e,t){e.emit("error",t),We.nextTick(Sl,e)}function qu(e,t){!e||Vu(e)||(!t&&!ju(e)&&(t=new ku),Fu(e)?(e.socket=null,e.destroy(t)):ha(e)?e.abort():ha(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?We.nextTick(Ju,e,t):We.nextTick(Sl,e),e.destroyed||(e[Mu]=!0))}var zt={construct:Gu,destroyer:qu,destroy:Uu,undestroy:Bu,errorOrDestroy:Gi};const{ArrayIsArray:Yu,ObjectSetPrototypeOf:Rl}=se,{EventEmitter:sn}=ct;function ln(e){sn.call(this,e)}Rl(ln.prototype,sn.prototype);Rl(ln,sn);ln.prototype.pipe=function(e,t){const r=this;function n(h){e.writable&&e.write(h)===!1&&r.pause&&r.pause()}r.on("data",n);function o(){r.readable&&r.resume&&r.resume()}e.on("drain",o),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",i),r.on("close",l));let a=!1;function i(){a||(a=!0,e.end())}function l(){a||(a=!0,typeof e.destroy=="function"&&e.destroy())}function d(h){u(),sn.listenerCount(this,"error")===0&&this.emit("error",h)}Hi(r,"error",d),Hi(e,"error",d);function u(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",i),r.removeListener("close",l),r.removeListener("error",d),e.removeListener("error",d),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};function Hi(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Yu(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var po={Stream:ln,prependListener:Hi},Al={exports:{}};(function(e){const{SymbolDispose:t}=se,{AbortError:r,codes:n}=me,{isNodeStream:o,isWebStream:a,kControllerErrorFunction:i}=it,l=ht,{ERR_INVALID_ARG_TYPE:d}=n;let u;const h=(_,b)=>{if(typeof _!="object"||!("aborted"in _))throw new d(b,"AbortSignal",_)};e.exports.addAbortSignal=function(b,c){if(h(b,"signal"),!o(c)&&!a(c))throw new d("stream",["ReadableStream","WritableStream","Stream"],c);return e.exports.addAbortSignalNoValidate(b,c)},e.exports.addAbortSignalNoValidate=function(_,b){if(typeof _!="object"||!("aborted"in _))return b;const c=o(b)?()=>{b.destroy(new r(void 0,{cause:_.reason}))}:()=>{b[i](new r(void 0,{cause:_.reason}))};if(_.aborted)c();else{u=u||Re.addAbortListener;const E=u(_,c);l(b,E[t])}return b}})(Al);var fn=Al.exports;const{StringPrototypeSlice:ba,SymbolIterator:zu,TypedArrayPrototypeSet:$r,Uint8Array:Xu}=se,{Buffer:ni}=be,{inspect:Qu}=Re;var Zu=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=t+r.data;return n}concat(t){if(this.length===0)return ni.alloc(0);const r=ni.allocUnsafe(t>>>0);let n=this.head,o=0;for(;n;)$r(r,n.data,o),o+=n.data.length,n=n.next;return r}consume(t,r){const n=this.head.data;if(ta.length)r+=a,t-=a.length;else{t===a.length?(r+=a,++o,n.next?this.head=n.next:this.head=this.tail=null):(r+=ba(a,0,t),this.head=n,n.data=ba(a,t));break}++o}while((n=n.next)!==null);return this.length-=o,r}_getBuffer(t){const r=ni.allocUnsafe(t),n=t;let o=this.head,a=0;do{const i=o.data;if(t>i.length)$r(r,i,n-t),t-=i.length;else{t===i.length?($r(r,i,n-t),++a,o.next?this.head=o.next:this.head=this.tail=null):($r(r,new Xu(i.buffer,i.byteOffset,t),n-t),this.head=o,o.data=i.slice(t));break}++a}while((o=o.next)!==null);return this.length-=a,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return Qu(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:ec,NumberIsInteger:tc}=se,{validateInteger:rc}=Ir,{ERR_INVALID_ARG_VALUE:nc}=me.codes;let Il=16*1024,ml=16;function ic(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function vl(e){return e?ml:Il}function oc(e,t){rc(t,"value",0),e?ml=t:Il=t}function ac(e,t,r,n){const o=ic(t,n,r);if(o!=null){if(!tc(o)||o<0){const a=n?`options.${r}`:"options.highWaterMark";throw new nc(a,o)}return ec(o)}return vl(e.objectMode)}var dn={getHighWaterMark:ac,getDefaultHighWaterMark:vl,setDefaultHighWaterMark:oc};const pa=Ie,{PromisePrototypeThen:sc,SymbolAsyncIterator:ya,SymbolIterator:ga}=se,{Buffer:lc}=be,{ERR_INVALID_ARG_TYPE:fc,ERR_STREAM_NULL_VALUES:dc}=me.codes;function uc(e,t,r){let n;if(typeof t=="string"||t instanceof lc)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let o;if(t&&t[ya])o=!0,n=t[ya]();else if(t&&t[ga])o=!1,n=t[ga]();else throw new fc("iterable",["Iterable"],t);const a=new e({objectMode:!0,highWaterMark:1,...r});let i=!1;a._read=function(){i||(i=!0,d())},a._destroy=function(u,h){sc(l(u),()=>pa.nextTick(h,u),_=>pa.nextTick(h,_||u))};async function l(u){const h=u!=null,_=typeof n.throw=="function";if(h&&_){const{value:b,done:c}=await n.throw(u);if(await b,c)return}if(typeof n.return=="function"){const{value:b}=await n.return();await b}}async function d(){for(;;){try{const{value:u,done:h}=o?await n.next():n.next();if(h)a.push(null);else{const _=u&&typeof u.then=="function"?await u:u;if(_===null)throw i=!1,new dc;if(a.push(_))continue;i=!1}}catch(u){a.destroy(u)}break}}return a}var Tl=uc,ii,_a;function un(){if(_a)return ii;_a=1;const e=Ie,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:n,NumberParseInt:o,ObjectDefineProperties:a,ObjectKeys:i,ObjectSetPrototypeOf:l,Promise:d,SafeSet:u,SymbolAsyncDispose:h,SymbolAsyncIterator:_,Symbol:b}=se;ii=P,P.ReadableState=ue;const{EventEmitter:c}=ct,{Stream:E,prependListener:g}=po,{Buffer:S}=be,{addAbortSignal:T}=fn,$=ht;let w=Re.debuglog("stream",s=>{w=s});const B=Zu,v=zt,{getHighWaterMark:x,getDefaultHighWaterMark:U}=dn,{aggregateTwoErrors:F,codes:{ERR_INVALID_ARG_TYPE:W,ERR_METHOD_NOT_IMPLEMENTED:ee,ERR_OUT_OF_RANGE:J,ERR_STREAM_PUSH_AFTER_EOF:k,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:V}=me,{validateObject:M}=Ir,j=b("kPaused"),{StringDecoder:X}=ks,Q=Tl;l(P.prototype,E.prototype),l(P,E);const z=()=>{},{errorOrDestroy:Z}=v,G=1,de=2,L=4,te=8,fe=16,Te=32,Ce=64,Ne=128,Pe=256,pt=512,ke=1024,Oe=2048,p=4096,y=8192,A=16384,N=32768,O=65536,K=1<<17,Y=1<<18;function H(s){return{enumerable:!1,get(){return(this.state&s)!==0},set(f){f?this.state|=s:this.state&=~s}}}a(ue.prototype,{objectMode:H(G),ended:H(de),endEmitted:H(L),reading:H(te),constructed:H(fe),sync:H(Te),needReadable:H(Ce),emittedReadable:H(Ne),readableListening:H(Pe),resumeScheduled:H(pt),errorEmitted:H(ke),emitClose:H(Oe),autoDestroy:H(p),destroyed:H(y),closed:H(A),closeEmitted:H(N),multiAwaitDrain:H(O),readingMore:H(K),dataEmitted:H(Y)});function ue(s,f,I){typeof I!="boolean"&&(I=f instanceof et()),this.state=Oe|p|fe|Te,s&&s.objectMode&&(this.state|=G),I&&s&&s.readableObjectMode&&(this.state|=G),this.highWaterMark=s?x(this,s,"readableHighWaterMark",I):U(!1),this.buffer=new B,this.length=0,this.pipes=[],this.flowing=null,this[j]=null,s&&s.emitClose===!1&&(this.state&=~Oe),s&&s.autoDestroy===!1&&(this.state&=~p),this.errored=null,this.defaultEncoding=s&&s.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,s&&s.encoding&&(this.decoder=new X(s.encoding),this.encoding=s.encoding)}function P(s){if(!(this instanceof P))return new P(s);const f=this instanceof et();this._readableState=new ue(s,this,f),s&&(typeof s.read=="function"&&(this._read=s.read),typeof s.destroy=="function"&&(this._destroy=s.destroy),typeof s.construct=="function"&&(this._construct=s.construct),s.signal&&!f&&T(s.signal,this)),E.call(this,s),v.construct(this,()=>{this._readableState.needReadable&&ze(this,this._readableState)})}P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(s,f){f(s)},P.prototype[c.captureRejectionSymbol]=function(s){this.destroy(s)},P.prototype[h]=function(){let s;return this.destroyed||(s=this.readableEnded?null:new V,this.destroy(s)),new d((f,I)=>$(this,m=>m&&m!==s?I(m):f(null)))},P.prototype.push=function(s,f){return he(this,s,f,!1)},P.prototype.unshift=function(s,f){return he(this,s,f,!0)};function he(s,f,I,m){w("readableAddChunk",f);const C=s._readableState;let ne;if(C.state&G||(typeof f=="string"?(I=I||C.defaultEncoding,C.encoding!==I&&(m&&C.encoding?f=S.from(f,I).toString(C.encoding):(f=S.from(f,I),I=""))):f instanceof S?I="":E._isUint8Array(f)?(f=E._uint8ArrayToBuffer(f),I=""):f!=null&&(ne=new W("chunk",["string","Buffer","Uint8Array"],f))),ne)Z(s,ne);else if(f===null)C.state&=~te,Wn(s,C);else if(C.state&G||f&&f.length>0)if(m)if(C.state&L)Z(s,new R);else{if(C.destroyed||C.errored)return!1;yt(s,C,f,!0)}else if(C.ended)Z(s,new k);else{if(C.destroyed||C.errored)return!1;C.state&=~te,C.decoder&&!I?(f=C.decoder.write(f),C.objectMode||f.length!==0?yt(s,C,f,!1):ze(s,C)):yt(s,C,f,!1)}else m||(C.state&=~te,ze(s,C));return!C.ended&&(C.length0?(f.state&O?f.awaitDrainWriters.clear():f.awaitDrainWriters=null,f.dataEmitted=!0,s.emit("data",I)):(f.length+=f.objectMode?1:I.length,m?f.buffer.unshift(I):f.buffer.push(I),f.state&Ce&&Ye(s)),ze(s,f)}P.prototype.isPaused=function(){const s=this._readableState;return s[j]===!0||s.flowing===!1},P.prototype.setEncoding=function(s){const f=new X(s);this._readableState.decoder=f,this._readableState.encoding=this._readableState.decoder.encoding;const I=this._readableState.buffer;let m="";for(const C of I)m+=f.write(C);return I.clear(),m!==""&&I.push(m),this._readableState.length=m.length,this};const Fn=1073741824;function Un(s){if(s>Fn)throw new J("size","<= 1GiB",s);return s--,s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,s|=s>>>16,s++,s}function Zt(s,f){return s<=0||f.length===0&&f.ended?0:f.state&G?1:n(s)?f.flowing&&f.length?f.buffer.first().length:f.length:s<=f.length?s:f.ended?f.length:0}P.prototype.read=function(s){w("read",s),s===void 0?s=NaN:r(s)||(s=o(s,10));const f=this._readableState,I=s;if(s>f.highWaterMark&&(f.highWaterMark=Un(s)),s!==0&&(f.state&=~Ne),s===0&&f.needReadable&&((f.highWaterMark!==0?f.length>=f.highWaterMark:f.length>0)||f.ended))return w("read: emitReadable",f.length,f.ended),f.length===0&&f.ended?gt(this):Ye(this),null;if(s=Zt(s,f),s===0&&f.ended)return f.length===0&>(this),null;let m=(f.state&Ce)!==0;if(w("need readable",m),(f.length===0||f.length-s0?C=ir(s,f):C=null,C===null?(f.needReadable=f.length<=f.highWaterMark,s=0):(f.length-=s,f.multiAwaitDrain?f.awaitDrainWriters.clear():f.awaitDrainWriters=null),f.length===0&&(f.ended||(f.needReadable=!0),I!==s&&f.ended&>(this)),C!==null&&!f.errorEmitted&&!f.closeEmitted&&(f.dataEmitted=!0,this.emit("data",C)),C};function Wn(s,f){if(w("onEofChunk"),!f.ended){if(f.decoder){const I=f.decoder.end();I&&I.length&&(f.buffer.push(I),f.length+=f.objectMode?1:I.length)}f.ended=!0,f.sync?Ye(s):(f.needReadable=!1,f.emittedReadable=!0,er(s))}}function Ye(s){const f=s._readableState;w("emitReadable",f.needReadable,f.emittedReadable),f.needReadable=!1,f.emittedReadable||(w("emitReadable",f.flowing),f.emittedReadable=!0,e.nextTick(er,s))}function er(s){const f=s._readableState;w("emitReadable_",f.destroyed,f.length,f.ended),!f.destroyed&&!f.errored&&(f.length||f.ended)&&(s.emit("readable"),f.emittedReadable=!1),f.needReadable=!f.flowing&&!f.ended&&f.length<=f.highWaterMark,rr(s)}function ze(s,f){!f.readingMore&&f.constructed&&(f.readingMore=!0,e.nextTick(Bn,s,f))}function Bn(s,f){for(;!f.reading&&!f.ended&&(f.length1&&m.pipes.includes(s)&&(w("false write response, pause",m.awaitDrainWriters.size),m.awaitDrainWriters.add(s)),I.pause()),we||(we=Gn(I,s),s.on("drain",we))}I.on("data",fr);function fr(Ee){w("ondata");const ce=s.write(Ee);w("dest.write",ce),ce===!1&&lr()}function wt(Ee){if(w("onerror",Ee),Me(),s.removeListener("error",wt),s.listenerCount("error")===0){const ce=s._writableState||s._readableState;ce&&!ce.errorEmitted?Z(s,Ee):s.emit("error",Ee)}}g(s,"error",wt);function Et(){s.removeListener("finish",St),Me()}s.once("close",Et);function St(){w("onfinish"),s.removeListener("close",Et),Me()}s.once("finish",St);function Me(){w("unpipe"),I.unpipe(s)}return s.emit("pipe",I),s.writableNeedDrain===!0?lr():m.flowing||(w("pipe resume"),I.resume()),s};function Gn(s,f){return function(){const m=s._readableState;m.awaitDrainWriters===f?(w("pipeOnDrain",1),m.awaitDrainWriters=null):m.multiAwaitDrain&&(w("pipeOnDrain",m.awaitDrainWriters.size),m.awaitDrainWriters.delete(f)),(!m.awaitDrainWriters||m.awaitDrainWriters.size===0)&&s.listenerCount("data")&&s.resume()}}P.prototype.unpipe=function(s){const f=this._readableState,I={hasUnpiped:!1};if(f.pipes.length===0)return this;if(!s){const C=f.pipes;f.pipes=[],this.pause();for(let ne=0;ne0,m.flowing!==!1&&this.resume()):s==="readable"&&!m.endEmitted&&!m.readableListening&&(m.readableListening=m.needReadable=!0,m.flowing=!1,m.emittedReadable=!1,w("on readable",m.length,m.reading),m.length?Ye(this):m.reading||e.nextTick(Hn,this)),I},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(s,f){const I=E.prototype.removeListener.call(this,s,f);return s==="readable"&&e.nextTick(tr,this),I},P.prototype.off=P.prototype.removeListener,P.prototype.removeAllListeners=function(s){const f=E.prototype.removeAllListeners.apply(this,arguments);return(s==="readable"||s===void 0)&&e.nextTick(tr,this),f};function tr(s){const f=s._readableState;f.readableListening=s.listenerCount("readable")>0,f.resumeScheduled&&f[j]===!1?f.flowing=!0:s.listenerCount("data")>0?s.resume():f.readableListening||(f.flowing=null)}function Hn(s){w("readable nexttick read 0"),s.read(0)}P.prototype.resume=function(){const s=this._readableState;return s.flowing||(w("resume"),s.flowing=!s.readableListening,Kn(this,s)),s[j]=!1,this};function Kn(s,f){f.resumeScheduled||(f.resumeScheduled=!0,e.nextTick(Jn,s,f))}function Jn(s,f){w("resume",f.reading),f.reading||s.read(0),f.resumeScheduled=!1,s.emit("resume"),rr(s),f.flowing&&!f.reading&&s.read(0)}P.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[j]=!0,this};function rr(s){const f=s._readableState;for(w("flow",f.flowing);f.flowing&&s.read()!==null;);}P.prototype.wrap=function(s){let f=!1;s.on("data",m=>{!this.push(m)&&s.pause&&(f=!0,s.pause())}),s.on("end",()=>{this.push(null)}),s.on("error",m=>{Z(this,m)}),s.on("close",()=>{this.destroy()}),s.on("destroy",()=>{this.destroy()}),this._read=()=>{f&&s.resume&&(f=!1,s.resume())};const I=i(s);for(let m=1;m{C=oe?F(C,oe):null,I(),I=z});try{for(;;){const oe=s.destroyed?null:s.read();if(oe!==null)yield oe;else{if(C)throw C;if(C===null)return;await new d(m)}}}catch(oe){throw C=F(C,oe),C}finally{(C||(f==null?void 0:f.destroyOnReturn)!==!1)&&(C===void 0||s._readableState.autoDestroy)?v.destroyer(s,null):(s.off("readable",m),ne())}}a(P.prototype,{readable:{__proto__:null,get(){const s=this._readableState;return!!s&&s.readable!==!1&&!s.destroyed&&!s.errorEmitted&&!s.endEmitted},set(s){this._readableState&&(this._readableState.readable=!!s)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(s){this._readableState&&(this._readableState.flowing=s)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(s){this._readableState&&(this._readableState.destroyed=s)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),a(ue.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[j]!==!1},set(s){this[j]=!!s}}}),P._fromList=ir;function ir(s,f){if(f.length===0)return null;let I;return f.objectMode?I=f.buffer.shift():!s||s>=f.length?(f.decoder?I=f.buffer.join(""):f.buffer.length===1?I=f.buffer.first():I=f.buffer.concat(f.length),f.buffer.clear()):I=f.buffer.consume(s,f.decoder),I}function gt(s){const f=s._readableState;w("endReadable",f.endEmitted),f.endEmitted||(f.ended=!0,e.nextTick(Yn,f,s))}function Yn(s,f){if(w("endReadableNT",s.endEmitted,s.length),!s.errored&&!s.closeEmitted&&!s.endEmitted&&s.length===0){if(s.endEmitted=!0,f.emit("end"),f.writable&&f.allowHalfOpen===!1)e.nextTick(zn,f);else if(s.autoDestroy){const I=f._writableState;(!I||I.autoDestroy&&(I.finished||I.writable===!1))&&f.destroy()}}}function zn(s){s.writable&&!s.writableEnded&&!s.destroyed&&s.end()}P.from=function(s,f){return Q(P,s,f)};let _t;function or(){return _t===void 0&&(_t={}),_t}return P.fromWeb=function(s,f){return or().newStreamReadableFromReadableStream(s,f)},P.toWeb=function(s,f){return or().newReadableStreamFromStreamReadable(s,f)},P.wrap=function(s,f){var I,m;return new P({objectMode:(I=(m=s.readableObjectMode)!==null&&m!==void 0?m:s.objectMode)!==null&&I!==void 0?I:!0,...f,destroy(C,ne){v.destroyer(s,C),ne(C)}}).wrap(s)},ii}var oi,wa;function yo(){if(wa)return oi;wa=1;const e=Ie,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:o,ObjectDefineProperties:a,ObjectSetPrototypeOf:i,StringPrototypeToLowerCase:l,Symbol:d,SymbolHasInstance:u}=se;oi=M,M.WritableState=R;const{EventEmitter:h}=ct,_=po.Stream,{Buffer:b}=be,c=zt,{addAbortSignal:E}=fn,{getHighWaterMark:g,getDefaultHighWaterMark:S}=dn,{ERR_INVALID_ARG_TYPE:T,ERR_METHOD_NOT_IMPLEMENTED:$,ERR_MULTIPLE_CALLBACK:w,ERR_STREAM_CANNOT_PIPE:B,ERR_STREAM_DESTROYED:v,ERR_STREAM_ALREADY_FINISHED:x,ERR_STREAM_NULL_VALUES:U,ERR_STREAM_WRITE_AFTER_END:F,ERR_UNKNOWN_ENCODING:W}=me.codes,{errorOrDestroy:ee}=c;i(M.prototype,_.prototype),i(M,_);function J(){}const k=d("kOnFinished");function R(p,y,A){typeof A!="boolean"&&(A=y instanceof et()),this.objectMode=!!(p&&p.objectMode),A&&(this.objectMode=this.objectMode||!!(p&&p.writableObjectMode)),this.highWaterMark=p?g(this,p,"writableHighWaterMark",A):S(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const N=!!(p&&p.decodeStrings===!1);this.decodeStrings=!N,this.defaultEncoding=p&&p.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Z.bind(void 0,y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,V(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!p||p.emitClose!==!1,this.autoDestroy=!p||p.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[k]=[]}function V(p){p.buffered=[],p.bufferedIndex=0,p.allBuffers=!0,p.allNoop=!0}R.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},o(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function M(p){const y=this instanceof et();if(!y&&!n(M,this))return new M(p);this._writableState=new R(p,this,y),p&&(typeof p.write=="function"&&(this._write=p.write),typeof p.writev=="function"&&(this._writev=p.writev),typeof p.destroy=="function"&&(this._destroy=p.destroy),typeof p.final=="function"&&(this._final=p.final),typeof p.construct=="function"&&(this._construct=p.construct),p.signal&&E(p.signal,this)),_.call(this,p),c.construct(this,()=>{const A=this._writableState;A.writing||te(this,A),Ne(this,A)})}o(M,u,{__proto__:null,value:function(p){return n(this,p)?!0:this!==M?!1:p&&p._writableState instanceof R}}),M.prototype.pipe=function(){ee(this,new B)};function j(p,y,A,N){const O=p._writableState;if(typeof A=="function")N=A,A=O.defaultEncoding;else{if(!A)A=O.defaultEncoding;else if(A!=="buffer"&&!b.isEncoding(A))throw new W(A);typeof N!="function"&&(N=J)}if(y===null)throw new U;if(!O.objectMode)if(typeof y=="string")O.decodeStrings!==!1&&(y=b.from(y,A),A="buffer");else if(y instanceof b)A="buffer";else if(_._isUint8Array(y))y=_._uint8ArrayToBuffer(y),A="buffer";else throw new T("chunk",["string","Buffer","Uint8Array"],y);let K;return O.ending?K=new F:O.destroyed&&(K=new v("write")),K?(e.nextTick(N,K),ee(p,K,!0),K):(O.pendingcb++,X(p,O,y,A,N))}M.prototype.write=function(p,y,A){return j(this,p,y,A)===!0},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){const p=this._writableState;p.corked&&(p.corked--,p.writing||te(this,p))},M.prototype.setDefaultEncoding=function(y){if(typeof y=="string"&&(y=l(y)),!b.isEncoding(y))throw new W(y);return this._writableState.defaultEncoding=y,this};function X(p,y,A,N,O){const K=y.objectMode?1:A.length;y.length+=K;const Y=y.lengthA.bufferedIndex&&te(p,A),N?A.afterWriteTickInfo!==null&&A.afterWriteTickInfo.cb===O?A.afterWriteTickInfo.count++:(A.afterWriteTickInfo={count:1,cb:O,stream:p,state:A},e.nextTick(G,A.afterWriteTickInfo)):de(p,A,1,O))}function G({stream:p,state:y,count:A,cb:N}){return y.afterWriteTickInfo=null,de(p,y,A,N)}function de(p,y,A,N){for(!y.ending&&!p.destroyed&&y.length===0&&y.needDrain&&(y.needDrain=!1,p.emit("drain"));A-- >0;)y.pendingcb--,N();y.destroyed&&L(y),Ne(p,y)}function L(p){if(p.writing)return;for(let O=p.bufferedIndex;O1&&p._writev){y.pendingcb-=K-1;const H=y.allNoop?J:P=>{for(let he=Y;he256?(A.splice(0,Y),y.bufferedIndex=0):y.bufferedIndex=Y}y.bufferProcessing=!1}M.prototype._write=function(p,y,A){if(this._writev)this._writev([{chunk:p,encoding:y}],A);else throw new $("_write()")},M.prototype._writev=null,M.prototype.end=function(p,y,A){const N=this._writableState;typeof p=="function"?(A=p,p=null,y=null):typeof y=="function"&&(A=y,y=null);let O;if(p!=null){const K=j(this,p,y);K instanceof r&&(O=K)}return N.corked&&(N.corked=1,this.uncork()),O||(!N.errored&&!N.ending?(N.ending=!0,Ne(this,N,!0),N.ended=!0):N.finished?O=new x("end"):N.destroyed&&(O=new v("end"))),typeof A=="function"&&(O||N.finished?e.nextTick(A,O):N[k].push(A)),this};function fe(p){return p.ending&&!p.destroyed&&p.constructed&&p.length===0&&!p.errored&&p.buffered.length===0&&!p.finished&&!p.writing&&!p.errorEmitted&&!p.closeEmitted}function Te(p,y){let A=!1;function N(O){if(A){ee(p,O??w());return}if(A=!0,y.pendingcb--,O){const K=y[k].splice(0);for(let Y=0;Y{fe(O)?Pe(N,O):O.pendingcb--},p,y)):fe(y)&&(y.pendingcb++,Pe(p,y))))}function Pe(p,y){y.pendingcb--,y.finished=!0;const A=y[k].splice(0);for(let N=0;N{if(L!=null)throw new E("nully","body",L)},L=>{g(G,L)});return G=new W({objectMode:!0,readable:!1,write:X,final(L){Q(async()=>{try{await de,e.nextTick(L,null)}catch(te){e.nextTick(L,te)}})},destroy:z})}throw new E("Iterable, AsyncIterable or AsyncFunction",V,j)}if(x(R))return k(R.arrayBuffer());if(o(R))return B(W,R,{objectMode:!0,writable:!1});if(u(R==null?void 0:R.readable)&&h(R==null?void 0:R.writable))return W.fromWeb(R);if(typeof(R==null?void 0:R.writable)=="object"||typeof(R==null?void 0:R.readable)=="object"){const j=R!=null&&R.readable?i(R==null?void 0:R.readable)?R==null?void 0:R.readable:k(R.readable):void 0,X=R!=null&&R.writable?l(R==null?void 0:R.writable)?R==null?void 0:R.writable:k(R.writable):void 0;return J({readable:j,writable:X})}const M=R==null?void 0:R.then;if(typeof M=="function"){let j;return F(M,R,X=>{X!=null&&j.push(X),j.push(null)},X=>{g(j,X)}),j=new W({objectMode:!0,writable:!1,read(){}})}throw new c(V,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],R)};function ee(k){let{promise:R,resolve:V}=w();const M=new U,j=M.signal;return{value:k(async function*(){for(;;){const Q=R;R=null;const{chunk:z,done:Z,cb:G}=await Q;if(e.nextTick(G),Z)return;if(j.aborted)throw new b(void 0,{cause:j.reason});({promise:R,resolve:V}=w()),yield z}}(),{signal:j}),write(Q,z,Z){const G=V;V=null,G({chunk:Q,done:!1,cb:Z})},final(Q){const z=V;V=null,z({done:!0,cb:Q})},destroy(Q,z){M.abort(),z(Q)}}}function J(k){const R=k.readable&&typeof k.readable.read!="function"?T.wrap(k.readable):k.readable,V=k.writable;let M=!!r(R),j=!!n(V),X,Q,z,Z,G;function de(L){const te=Z;Z=null,te?te(L):L&&G.destroy(L)}return G=new W({readableObjectMode:!!(R!=null&&R.readableObjectMode),writableObjectMode:!!(V!=null&&V.writableObjectMode),readable:M,writable:j}),j&&(_(V,L=>{j=!1,L&&g(R,L),de(L)}),G._write=function(L,te,fe){V.write(L,te)?fe():X=fe},G._final=function(L){V.end(),Q=L},V.on("drain",function(){if(X){const L=X;X=null,L()}}),V.on("finish",function(){if(Q){const L=Q;Q=null,L()}})),M&&(_(R,L=>{M=!1,L&&g(R,L),de(L)}),R.on("readable",function(){if(z){const L=z;z=null,L()}}),R.on("end",function(){G.push(null)}),G._read=function(){for(;;){const L=R.read();if(L===null){z=G._read;return}if(!G.push(L))return}}),G._destroy=function(L,te){!L&&Z!==null&&(L=new b),z=null,X=null,Q=null,Z===null?te(L):(Z=te,g(V,L),g(R,L))},G}return ai}var si,Sa;function et(){if(Sa)return si;Sa=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:n}=se;si=i;const o=un(),a=yo();n(i.prototype,o.prototype),n(i,o);{const h=r(a.prototype);for(let _=0;_{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function yc(){this._final!==Ki&&Ki.call(this)}tt.prototype._final=Ki;tt.prototype._transform=function(e,t,r){throw new bc("_transform()")};tt.prototype._write=function(e,t,r){const n=this._readableState,o=this._writableState,a=n.length;this._transform(e,t,(i,l)=>{if(i){r(i);return}l!=null&&this.push(l),o.ended||a===n.length||n.length{n=!0});const o=Yr(e,{readable:t,writable:r},a=>{n=!a});return{destroy:a=>{n||(n=!0,Rc.destroyer(e,a||new mc("pipe")))},cleanup:o}}function Dc(e){return Cc(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function bi(e){if(mt(e))return e;if(Gr(e))return Lc(e);throw new Ji("val",["Readable","Iterable","AsyncIterable"],e)}async function*Lc(e){ci||(ci=un()),yield*ci.prototype[wc].call(e)}async function xr(e,t,r,{end:n}){let o,a=null;const i=u=>{if(u&&(o=u),a){const h=a;a=null,h()}},l=()=>new _c((u,h)=>{o?h(o):a=()=>{o?h(o):u()}});t.on("drain",i);const d=Yr(t,{readable:!1},i);try{t.writableNeedDrain&&await l();for await(const u of e)t.write(u)||await l();n&&(t.end(),await l()),r()}catch(u){r(o!==u?Ac(o,u):u)}finally{d(),t.off("drain",i)}}async function pi(e,t,r,{end:n}){jt(t)&&(t=t.writable);const o=t.getWriter();try{for await(const a of e)await o.ready,o.write(a).catch(()=>{});await o.ready,n&&await o.close(),r()}catch(a){try{await o.abort(a),r(a)}catch(i){r(i)}}}function Pc(...e){return xl(e,Sc(Dc(e)))}function xl(e,t,r){if(e.length===1&&gc(e[0])&&(e=e[0]),e.length<2)throw new Ic("streams");const n=new xc,o=n.signal,a=r==null?void 0:r.signal,i=[];Nc(a,"options.signal");function l(){E(new Tc)}hi=hi||Re.addAbortListener;let d;a&&(d=hi(a,l));let u,h;const _=[];let b=0;function c($){E($,--b===0)}function E($,w){var B;if($&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=$),!(!u&&!w)){for(;_.length;)_.shift()(u);(B=d)===null||B===void 0||B[Ec](),n.abort(),w&&(u||i.forEach(v=>v()),_r.nextTick(t,u,h))}}let g;for(let $=0;$0,x=B||(r==null?void 0:r.end)!==!1,U=$===e.length-1;if(Aa(w)){let F=function(W){W&&W.name!=="AbortError"&&W.code!=="ERR_STREAM_PREMATURE_CLOSE"&&c(W)};if(x){const{destroy:W,cleanup:ee}=Ia(w,B,v);_.push(W),fi(w)&&U&&i.push(ee)}w.on("error",F),fi(w)&&U&&i.push(()=>{w.removeListener("error",F)})}if($===0)if(typeof w=="function"){if(g=w({signal:o}),!mt(g))throw new li("Iterable, AsyncIterable or Stream","source",g)}else mt(w)||Gr(w)||jt(w)?g=w:g=Ra.from(w);else if(typeof w=="function"){if(jt(g)){var S;g=bi((S=g)===null||S===void 0?void 0:S.readable)}else g=bi(g);if(g=w(g,{signal:o}),B){if(!mt(g,!0))throw new li("AsyncIterable",`transform[${$-1}]`,g)}else{var T;ui||(ui=$l);const F=new ui({objectMode:!0}),W=(T=g)===null||T===void 0?void 0:T.then;if(typeof W=="function")b++,W.call(g,k=>{h=k,k!=null&&F.write(k),x&&F.end(),_r.nextTick(c)},k=>{F.destroy(k),_r.nextTick(c,k)});else if(mt(g,!0))b++,xr(g,F,c,{end:x});else if(di(g)||jt(g)){const k=g.readable||g;b++,xr(k,F,c,{end:x})}else throw new li("AsyncIterable or Promise","destination",g);g=F;const{destroy:ee,cleanup:J}=Ia(g,!1,!0);_.push(ee),U&&i.push(J)}}else if(Aa(w)){if(Gr(g)){b+=2;const F=kc(g,w,c,{end:x});fi(w)&&U&&i.push(F)}else if(jt(g)||di(g)){const F=g.readable||g;b++,xr(F,w,c,{end:x})}else if(mt(g))b++,xr(g,w,c,{end:x});else throw new Ji("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=w}else if(Oc(w)){if(Gr(g))b++,pi(bi(g),w,c,{end:x});else if(di(g)||mt(g))b++,pi(g,w,c,{end:x});else if(jt(g))b++,pi(g.readable,w,c,{end:x});else throw new Ji("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=w}else g=Ra.from(w)}return(o!=null&&o.aborted||a!=null&&a.aborted)&&_r.nextTick(l),g}function kc(e,t,r,{end:n}){let o=!1;if(t.on("close",()=>{o||r(new vc)}),e.pipe(t,{end:!1}),n){let a=function(){o=!0,t.end()};$c(e)?_r.nextTick(a):e.once("end",a)}else r();return Yr(e,{readable:!0,writable:!1},a=>{const i=e._readableState;a&&a.code==="ERR_STREAM_PREMATURE_CLOSE"&&i&&i.ended&&!i.errored&&!i.errorEmitted?e.once("end",r).once("error",r):r(a)}),Yr(t,{readable:!1,writable:!0},r)}var wo={pipelineImpl:xl,pipeline:Pc};const{pipeline:Mc}=wo,Dr=et(),{destroyer:Vc}=zt,{isNodeStream:Lr,isReadable:ma,isWritable:va,isWebStream:yi,isTransformStream:Rt,isWritableStream:Ta,isReadableStream:Ca}=it,{AbortError:jc,codes:{ERR_INVALID_ARG_VALUE:Na,ERR_MISSING_ARGS:Fc}}=me,Uc=ht;var Dl=function(...t){if(t.length===0)throw new Fc("streams");if(t.length===1)return Dr.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=Dr.from(t[0])),typeof t[t.length-1]=="function"){const c=t.length-1;t[c]=Dr.from(t[c])}for(let c=0;c0&&!(va(t[c])||Ta(t[c])||Rt(t[c])))throw new Na(`streams[${c}]`,r[c],"must be writable")}let n,o,a,i,l;function d(c){const E=i;i=null,E?E(c):c?l.destroy(c):!b&&!_&&l.destroy()}const u=t[0],h=Mc(t,d),_=!!(va(u)||Ta(u)||Rt(u)),b=!!(ma(h)||Ca(h)||Rt(h));if(l=new Dr({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(h!=null&&h.readableObjectMode),writable:_,readable:b}),_){if(Lr(u))l._write=function(E,g,S){u.write(E,g)?S():n=S},l._final=function(E){u.end(),o=E},u.on("drain",function(){if(n){const E=n;n=null,E()}});else if(yi(u)){const g=(Rt(u)?u.writable:u).getWriter();l._write=async function(S,T,$){try{await g.ready,g.write(S).catch(()=>{}),$()}catch(w){$(w)}},l._final=async function(S){try{await g.ready,g.close().catch(()=>{}),o=S}catch(T){S(T)}}}const c=Rt(h)?h.readable:h;Uc(c,()=>{if(o){const E=o;o=null,E()}})}if(b){if(Lr(h))h.on("readable",function(){if(a){const c=a;a=null,c()}}),h.on("end",function(){l.push(null)}),l._read=function(){for(;;){const c=h.read();if(c===null){a=l._read;return}if(!l.push(c))return}};else if(yi(h)){const E=(Rt(h)?h.readable:h).getReader();l._read=async function(){for(;;)try{const{value:g,done:S}=await E.read();if(!l.push(g))return;if(S){l.push(null);return}}catch{return}}}}return l._destroy=function(c,E){!c&&i!==null&&(c=new jc),a=null,n=null,o=null,i===null?E(c):(i=E,Lr(h)&&Vc(h,c))},l};const Wc=globalThis.AbortController||Ge().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Bc,ERR_INVALID_ARG_TYPE:mr,ERR_MISSING_ARGS:Gc,ERR_OUT_OF_RANGE:Hc},AbortError:He}=me,{validateAbortSignal:xt,validateInteger:Oa,validateObject:Dt}=Ir,Kc=se.Symbol("kWeak"),Jc=se.Symbol("kResistStopPropagation"),{finished:qc}=ht,Yc=Dl,{addAbortSignalNoValidate:zc}=fn,{isWritable:Xc,isNodeStream:Qc}=it,{deprecate:Zc}=Re,{ArrayPrototypePush:eh,Boolean:th,MathFloor:$a,Number:rh,NumberIsNaN:nh,Promise:xa,PromiseReject:Da,PromiseResolve:ih,PromisePrototypeThen:La,Symbol:Ll}=se,zr=Ll("kEmpty"),Pa=Ll("kEof");function oh(e,t){if(t!=null&&Dt(t,"options"),(t==null?void 0:t.signal)!=null&&xt(t.signal,"options.signal"),Qc(e)&&!Xc(e))throw new Bc("stream",e,"must be writable");const r=Yc(this,e);return t!=null&&t.signal&&zc(t.signal,r),r}function cn(e,t){if(typeof e!="function")throw new mr("fn",["Function","AsyncFunction"],e);t!=null&&Dt(t,"options"),(t==null?void 0:t.signal)!=null&&xt(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=$a(t.concurrency));let n=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(n=$a(t.highWaterMark)),Oa(r,"options.concurrency",1),Oa(n,"options.highWaterMark",0),n+=r,(async function*(){const a=Re.AbortSignalAny([t==null?void 0:t.signal].filter(th)),i=this,l=[],d={signal:a};let u,h,_=!1,b=0;function c(){_=!0,E()}function E(){b-=1,g()}function g(){h&&!_&&b=n||b>=r)&&await new xa($=>{h=$})}l.push(Pa)}catch(T){const $=Da(T);La($,E,c),l.push($)}finally{_=!0,u&&(u(),u=null)}}S();try{for(;;){for(;l.length>0;){const T=await l[0];if(T===Pa)return;if(a.aborted)throw new He;T!==zr&&(yield T),l.shift(),g()}await new xa(T=>{u=T})}}finally{_=!0,h&&(h(),h=null)}}).call(this)}function ah(e=void 0){return e!=null&&Dt(e,"options"),(e==null?void 0:e.signal)!=null&&xt(e.signal,"options.signal"),(async function*(){let r=0;for await(const o of this){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new He({cause:e.signal.reason});yield[r++,o]}}).call(this)}async function Pl(e,t=void 0){for await(const r of Eo.call(this,e,t))return!0;return!1}async function sh(e,t=void 0){if(typeof e!="function")throw new mr("fn",["Function","AsyncFunction"],e);return!await Pl.call(this,async(...r)=>!await e(...r),t)}async function lh(e,t){for await(const r of Eo.call(this,e,t))return r}async function fh(e,t){if(typeof e!="function")throw new mr("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o),zr}for await(const n of cn.call(this,r,t));}function Eo(e,t){if(typeof e!="function")throw new mr("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o)?n:zr}return cn.call(this,r,t)}let dh=class extends Gc{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function uh(e,t,r){var n;if(typeof e!="function")throw new mr("reducer",["Function","AsyncFunction"],e);r!=null&&Dt(r,"options"),(r==null?void 0:r.signal)!=null&&xt(r.signal,"options.signal");let o=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){const u=new He(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await qc(this.destroy(u)),u}const a=new Wc,i=a.signal;if(r!=null&&r.signal){const u={once:!0,[Kc]:this,[Jc]:!0};r.signal.addEventListener("abort",()=>a.abort(),u)}let l=!1;try{for await(const u of this){var d;if(l=!0,r!=null&&(d=r.signal)!==null&&d!==void 0&&d.aborted)throw new He;o?t=await e(t,u,{signal:i}):(t=u,o=!0)}if(!l&&!o)throw new dh}finally{a.abort()}return t}async function ch(e){e!=null&&Dt(e,"options"),(e==null?void 0:e.signal)!=null&&xt(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new He(void 0,{cause:e.signal.reason});eh(t,n)}return t}function hh(e,t){const r=cn.call(this,e,t);return(async function*(){for await(const o of r)yield*o}).call(this)}function kl(e){if(e=rh(e),nh(e))return 0;if(e<0)throw new Hc("number",">= 0",e);return e}function bh(e,t=void 0){return t!=null&&Dt(t,"options"),(t==null?void 0:t.signal)!=null&&xt(t.signal,"options.signal"),e=kl(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new He;for await(const a of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new He;e--<=0&&(yield a)}}).call(this)}function ph(e,t=void 0){return t!=null&&Dt(t,"options"),(t==null?void 0:t.signal)!=null&&xt(t.signal,"options.signal"),e=kl(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new He;for await(const a of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new He;if(e-- >0&&(yield a),e<=0)return}}).call(this)}fo.streamReturningOperators={asIndexedPairs:Zc(ah,"readable.asIndexedPairs will be removed in a future version."),drop:bh,filter:Eo,flatMap:hh,map:cn,take:ph,compose:oh};fo.promiseReturningOperators={every:sh,forEach:fh,reduce:uh,toArray:ch,some:Pl,find:lh};var gi,ka;function Ml(){if(ka)return gi;ka=1;const{ArrayPrototypePop:e,Promise:t}=se,{isIterable:r,isNodeStream:n,isWebStream:o}=it,{pipelineImpl:a}=wo,{finished:i}=ht;Vl();function l(...d){return new t((u,h)=>{let _,b;const c=d[d.length-1];if(c&&typeof c=="object"&&!n(c)&&!r(c)&&!o(c)){const E=e(d);_=E.signal,b=E.end}a(d,(E,g)=>{E?h(E):u(g)},{signal:_,end:b})})}return gi={finished:i,pipeline:l},gi}var Ma;function Vl(){if(Ma)return ei.exports;Ma=1;const{Buffer:e}=be,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:n}=se,{promisify:{custom:o}}=Re,{streamReturningOperators:a,promiseReturningOperators:i}=fo,{codes:{ERR_ILLEGAL_CONSTRUCTOR:l}}=me,d=Dl,{setDefaultHighWaterMark:u,getDefaultHighWaterMark:h}=dn,{pipeline:_}=wo,{destroyer:b}=zt,c=ht,E=Ml(),g=it,S=ei.exports=po.Stream;S.isDestroyed=g.isDestroyed,S.isDisturbed=g.isDisturbed,S.isErrored=g.isErrored,S.isReadable=g.isReadable,S.isWritable=g.isWritable,S.Readable=un();for(const $ of r(a)){let B=function(...v){if(new.target)throw l();return S.Readable.from(n(w,this,v))};const w=a[$];t(B,"name",{__proto__:null,value:w.name}),t(B,"length",{__proto__:null,value:w.length}),t(S.Readable.prototype,$,{__proto__:null,value:B,enumerable:!1,configurable:!0,writable:!0})}for(const $ of r(i)){let B=function(...v){if(new.target)throw l();return n(w,this,v)};const w=i[$];t(B,"name",{__proto__:null,value:w.name}),t(B,"length",{__proto__:null,value:w.length}),t(S.Readable.prototype,$,{__proto__:null,value:B,enumerable:!1,configurable:!0,writable:!0})}S.Writable=yo(),S.Duplex=et(),S.Transform=Nl,S.PassThrough=$l,S.pipeline=_;const{addAbortSignal:T}=fn;return S.addAbortSignal=T,S.finished=c,S.destroy=b,S.compose=d,S.setDefaultHighWaterMark=u,S.getDefaultHighWaterMark=h,t(S,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return E}}),t(_,o,{__proto__:null,enumerable:!0,get(){return E.pipeline}}),t(c,o,{__proto__:null,enumerable:!0,get(){return E.finished}}),S.Stream=S,S._isUint8Array=function(w){return w instanceof Uint8Array},S._uint8ArrayToBuffer=function(w){return e.from(w.buffer,w.byteOffset,w.byteLength)},ei.exports}(function(e){const t=Vl(),r=Ml(),n=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=n,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(qs);var yh=qs.exports,hn={},ur={},cr={},bn={};Object.defineProperty(bn,"__esModule",{value:!0});bn.ContainerHandlerIdentifier=void 0;class gh{canCombineWithGraph(){return!0}async handle(t,r,n,o,a,i){let l;if(r.emittedStack[i+1]&&r.idStack[i+1])l=r.idStack[i+1][0];else{const h=await n.getContainerKey(o[i],o,i)!==null?await n.resourceToTerm(await r.getContext(o),o[i]):n.dataFactory.blankNode();if(!h){r.emittedStack[i]=!1;return}l=h,r.idStack[i+1]=[l]}let d=r.idStack[i];d||(d=r.idStack[i]=[]),d.some(u=>u.equals(l))||d.push(l),await r.handlePendingContainerFlushBuffers()||(r.emittedStack[i]=!1)}}bn.ContainerHandlerIdentifier=gh;var hr={},br={},Va;function pn(){if(Va)return br;Va=1,Object.defineProperty(br,"__esModule",{value:!0}),br.EntryHandlerPredicate=void 0;const e=Se,t=Lt();let r=class jl{static async handlePredicateObject(o,a,i,l,d,u,h,_,b){const c=await a.getPropertiesDepth(i,l),E=await a.getDepthOffsetGraph(l,i),g=l-E,S=o.idStack[c];if(S&&!b)for(const T of S)if(E>=0){const w=o.idStack[g-1];if(w)for(const B of w)a.emitQuadChecked(l,T,d,u,B,h,_);else h?(a.validateReverseSubject(u),o.getUnidentifiedGraphBufferSafe(g-1).push({subject:u,predicate:d,object:T,isEmbedded:_})):o.getUnidentifiedGraphBufferSafe(g-1).push({subject:T,predicate:d,object:u,isEmbedded:_})}else{const w=await a.getGraphContainerValue(i,c);a.emitQuadChecked(l,T,d,u,w,h,_)}else if(h&&a.validateReverseSubject(u),b){if(o.rdfstar){o.idStack[l]&&o.emitError(new e.ErrorCoded(`Found an illegal @id inside an annotation: ${o.idStack[l][0].value}`,e.ERROR_CODES.INVALID_ANNOTATION));for(let w=0;w=0;w--){const B=T[w];B.depth>c&&($.nestedAnnotations.push(B),T.splice(w,1))}}}else o.getUnidentifiedValueBufferSafe(c).push({predicate:d,object:u,reverse:h,isEmbedded:_})}isPropertyHandler(){return!0}isStackProcessor(){return!0}async validate(o,a,i,l,d){const u=i[l];if(u){const h=await o.getContext(i);if(!o.jsonLiteralStack[l]&&await a.predicateToTerm(h,i[l]))return t.Util.getContextValueType(h,u)==="@json"&&(o.jsonLiteralStack[l+1]=!0),!0}return!1}async test(o,a,i,l,d){return l[d]}async handle(o,a,i,l,d,u,h){const _=l[u],b=await o.getContext(l),c=await a.predicateToTerm(b,i);if(c){const E=await a.valueToTerm(b,i,d,u,l);if(E.length)for(let g of E){let S=await a.unaliasKeywordParent(l,u);const T=t.Util.isPropertyReverse(b,_,S);let $=0;for(;S==="@reverse"||typeof S=="number";)typeof S=="number"?$++:u--,S=await a.unaliasKeywordParent(l,u-$);const w=t.Util.isPropertyInEmbeddedNode(S);a.validateReverseInEmbeddedNode(i,T,w);const B=t.Util.isPropertyInAnnotationObject(S);if(d){const v="@list"in t.Util.getContextValueContainer(b,i);if(v||d["@list"]){if((v&&!Array.isArray(d)&&!d["@list"]||d["@list"]&&!Array.isArray(d["@list"]))&&g!==a.rdfNil){const x=a.dataFactory.blankNode();o.emitQuad(u,a.dataFactory.quad(x,a.rdfRest,a.rdfNil,a.getDefaultGraph())),o.emitQuad(u,a.dataFactory.quad(x,a.rdfFirst,g,a.getDefaultGraph())),g=x}if(T&&!o.allowSubjectList)throw new e.ErrorCoded(`Found illegal list value in subject position at ${i}`,e.ERROR_CODES.INVALID_REVERSE_PROPERTY_VALUE)}}await jl.handlePredicateObject(o,a,l,u,c,g,T,w,B)}}}};return br.EntryHandlerPredicate=r,br}var ja;function _h(){if(ja)return hr;ja=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.ContainerHandlerIndex=void 0;const e=Se,t=pn(),r=Lt();let n=class{canCombineWithGraph(){return!0}async handle(a,i,l,d,u,h){if(!Array.isArray(u)){const _="@graph"in a,b=await i.getContext(d),c=d[h-1],E=r.Util.getContextValueIndex(b,c);if(E){if(e.Util.isPotentialKeyword(E))throw new e.ErrorCoded(`Keywords can not be used as @index value, got: ${E}`,e.ERROR_CODES.INVALID_TERM_DEFINITION);if(typeof E!="string")throw new e.ErrorCoded(`@index values must be strings, got: ${E}`,e.ERROR_CODES.INVALID_TERM_DEFINITION);if(typeof u!="object"){if(r.Util.getContextValueType(b,c)!=="@id")throw new e.ErrorCoded(`Property-based index containers require nodes as values or strings with @type: @id, but got: ${u}`,e.ERROR_CODES.INVALID_VALUE_OBJECT);const T=l.resourceToTerm(b,u);T&&(i.idStack[h+1]=[T])}const S=l.createVocabOrBaseTerm(b,E);if(S){const T=await l.valueToTerm(b,E,await l.getContainerKey(d[h],d,h),h,d);if(_){const $=await l.getGraphContainerValue(d,h+1);for(const w of T)i.emitQuad(h,l.dataFactory.quad($,S,w,l.getDefaultGraph()))}else for(const $ of T)await t.EntryHandlerPredicate.handlePredicateObject(i,l,d,h+1,S,$,!1,!1,!1)}}const g=_?2:1;await i.newOnValueJob(d.slice(0,d.length-g),u,h-g,!0),await i.handlePendingContainerFlushBuffers()}i.emittedStack[h]=!1}};return hr.ContainerHandlerIndex=n,hr}var yn={};Object.defineProperty(yn,"__esModule",{value:!0});yn.ContainerHandlerLanguage=void 0;const Fa=Se;class wh{canCombineWithGraph(){return!1}async handle(t,r,n,o,a,i){const l=await n.getContainerKey(o[i],o,i);if(Array.isArray(a))a=a.map(d=>({"@value":d,"@language":l}));else{if(typeof a!="string")throw new Fa.ErrorCoded(`Got invalid language map value, got '${JSON.stringify(a)}', but expected string`,Fa.ERROR_CODES.INVALID_LANGUAGE_MAP_VALUE);a={"@value":a,"@language":l}}await r.newOnValueJob(o.slice(0,o.length-1),a,i-1,!0),r.emittedStack[i]=!1}}yn.ContainerHandlerLanguage=wh;var pr={},Ua;function Eh(){if(Ua)return pr;Ua=1,Object.defineProperty(pr,"__esModule",{value:!0}),pr.ContainerHandlerType=void 0;const e=pn(),t=Lt();let r=class{canCombineWithGraph(){return!1}async handle(o,a,i,l,d,u){if(!Array.isArray(d)){if(typeof d=="string"){const b=await a.getContext(l),E=t.Util.getContextValueType(b,l[u-1])==="@vocab"?await i.createVocabOrBaseTerm(b,d):await i.resourceToTerm(b,d);if(E){const g={"@id":E.termType==="NamedNode"?E.value:d};await a.newOnValueJob(l.slice(0,l.length-1),g,u-1,!0),a.idStack[u+1]=[E]}}else{const b=!!a.idStack[u+1];b||delete a.idStack[u],await a.newOnValueJob(l.slice(0,l.length-1),d,u-1,!0),b||(a.idStack[u+1]=a.idStack[u])}const h=await i.getContainerKey(l[u],l,u),_=h!==null?i.createVocabOrBaseTerm(await a.getContext(l),h):null;_&&await e.EntryHandlerPredicate.handlePredicateObject(a,i,l,u+1,i.rdfType,_,!1,!1,!1),await a.handlePendingContainerFlushBuffers()}a.emittedStack[u]=!1}};return pr.ContainerHandlerType=r,pr}var Wa;function Fl(){if(Wa)return cr;Wa=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.EntryHandlerContainer=void 0;const e=bn,t=_h(),r=yn,n=Eh(),o=Lt();let a=class at{static isSimpleGraphContainer(l){return"@graph"in l&&("@set"in l&&Object.keys(l).length===2||Object.keys(l).length===1)}static isComplexGraphContainer(l){return"@graph"in l&&("@set"in l&&Object.keys(l).length>2||!("@set"in l)&&Object.keys(l).length>1)}static getContainerGraphIndex(l,d,u){let h=at.isSimpleGraphContainer(l),_="";for(let b=d;b=0;c--)if(typeof d[c]!="number"){const E=o.Util.getContextValue(b,"@container",d[c],!1);if(E&&at.isSimpleGraphContainer(E))return{containers:E,depth:c+1,fallback:!1};const g=o.Util.getContextValue(b,"@container",d[c-1],!1);if(g){const S="@graph"in g;for(const T in at.CONTAINER_HANDLERS)if(g[T])return S?at.CONTAINER_HANDLERS[T].canCombineWithGraph()?{containers:g,depth:c,fallback:!1}:h:_?h:{containers:g,depth:c,fallback:!1};return h}else{if(_)return h;_=!0}}return h}static async isBufferableContainerHandler(l,d,u){const h=await at.getContainerHandler(l,d,u);return!h.fallback&&!("@graph"in h.containers)}isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(l,d,u,h,_){return!!await this.test(l,d,null,u,h)}async test(l,d,u,h,_){const b=o.Util.getContextValueContainer(await l.getContext(h,2),h[_-1]);for(const c in at.CONTAINER_HANDLERS)if(b[c])return{containers:b,handler:at.CONTAINER_HANDLERS[c]};return null}async handle(l,d,u,h,_,b,c){return c.handler.handle(c.containers,l,d,h,_,b)}};return a.CONTAINER_HANDLERS={"@id":new e.ContainerHandlerIdentifier,"@index":new t.ContainerHandlerIndex,"@language":new r.ContainerHandlerLanguage,"@type":new n.ContainerHandlerType},cr.EntryHandlerContainer=a,cr}var Ba;function Lt(){if(Ba)return ur;Ba=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.Util=void 0;const e=Se,t=Vf,r=Fl(),n=jf;let o=class ie{constructor(i){this.parsingContext=i.parsingContext,this.dataFactory=i.dataFactory||new t.DataFactory,this.rdfFirst=this.dataFactory.namedNode(ie.RDF+"first"),this.rdfRest=this.dataFactory.namedNode(ie.RDF+"rest"),this.rdfNil=this.dataFactory.namedNode(ie.RDF+"nil"),this.rdfType=this.dataFactory.namedNode(ie.RDF+"type"),this.rdfJson=this.dataFactory.namedNode(ie.RDF+"JSON")}static getContextValue(i,l,d,u){const h=i.getContextRaw()[d];if(!h)return u;const _=h[l];return _===void 0?u:_}static getContextValueContainer(i,l){return ie.getContextValue(i,"@container",l,{"@set":!0})}static getContextValueType(i,l){const d=ie.getContextValue(i,"@type",l,null);return d==="@none"?null:d}static getContextValueLanguage(i,l){return ie.getContextValue(i,"@language",l,i.getContextRaw()["@language"]||null)}static getContextValueDirection(i,l){return ie.getContextValue(i,"@direction",l,i.getContextRaw()["@direction"]||null)}static isContextValueReverse(i,l){return!!ie.getContextValue(i,"@reverse",l,null)}static getContextValueIndex(i,l){return ie.getContextValue(i,"@index",l,i.getContextRaw()["@index"]||null)}static isPropertyReverse(i,l,d){return d==="@reverse"!==ie.isContextValueReverse(i,l)}static isPropertyInEmbeddedNode(i){return i==="@id"}static isPropertyInAnnotationObject(i){return i==="@annotation"}static isValidIri(i){return i!==null&&e.Util.isValidIri(i)}static isPrefixArray(i,l){if(i.length>l.length)return!1;for(let d=0;d1)throw new e.ErrorCoded(`Found illegal neighbouring entries next to @set for key: '${l}'`,e.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT);return[]}else if("@list"in d){if(Object.keys(d).length>1)throw new e.ErrorCoded(`Found illegal neighbouring entries next to @list for key: '${l}'`,e.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT);const b=d["@list"];return Array.isArray(b)?b.length===0?[this.rdfNil]:this.parsingContext.idStack[u+1]||[]:await this.valueToTerm(await this.parsingContext.getContext(h),l,b,u-1,h.slice(0,-1))}else{if("@reverse"in d&&typeof d["@reverse"]=="boolean")return[];if("@graph"in ie.getContextValueContainer(await this.parsingContext.getContext(h),l)){const b=this.parsingContext.graphContainerTermStack[u+1];return b?Object.values(b):[this.dataFactory.blankNode()]}else if("@id"in d){if(Object.keys(d).length>1&&(i=await this.parsingContext.getContext(h,0)),"@context"in d&&(i=await this.parsingContext.parseContext(d["@context"],i.getContextRaw())),d["@type"]==="@vocab")return this.nullableTermToArray(this.createVocabOrBaseTerm(i,d["@id"]));{const b=d["@id"];let c;if(typeof b=="object")if(this.parsingContext.rdfstar)c=this.parsingContext.idStack[u+1][0];else throw new e.ErrorCoded(`Found illegal @id '${d}'`,e.ERROR_CODES.INVALID_ID_VALUE);else c=this.resourceToTerm(i,b);return this.nullableTermToArray(c)}}else return this.parsingContext.emittedStack[u+1]||d&&typeof d=="object"&&Object.keys(d).length===0?this.parsingContext.idStack[u+1]||(this.parsingContext.idStack[u+1]=[this.dataFactory.blankNode()]):[]}case"string":return this.nullableTermToArray(this.stringValueToTerm(u,await this.getContextSelfOrPropertyScoped(i,l),l,d,null));case"boolean":return this.nullableTermToArray(this.stringValueToTerm(u,await this.getContextSelfOrPropertyScoped(i,l),l,(!!d).toString(),this.dataFactory.namedNode(ie.XSD_BOOLEAN)));case"number":return this.nullableTermToArray(this.stringValueToTerm(u,await this.getContextSelfOrPropertyScoped(i,l),l,d,this.dataFactory.namedNode(d%1===0&&d<1e21?ie.XSD_INTEGER:ie.XSD_DOUBLE)));default:return this.parsingContext.emitError(new Error(`Could not determine the RDF type of a ${_}`)),[]}}async getContextSelfOrPropertyScoped(i,l){const d=i.getContextRaw()[l];return d&&typeof d=="object"&&"@context"in d&&(i=await this.parsingContext.parseContext(d,i.getContextRaw(),!0)),i}nullableTermToArray(i){return i?[i]:[]}predicateToTerm(i,l){const d=i.expandTerm(l,!0,this.parsingContext.getExpandOptions());if(!d)return null;if(d[0]==="_"&&d[1]===":")return this.parsingContext.produceGeneralizedRdf?this.dataFactory.blankNode(d.substr(2)):null;if(ie.isValidIri(d))return this.dataFactory.namedNode(d);if(d&&this.parsingContext.strictValues)this.parsingContext.emitError(new e.ErrorCoded(`Invalid predicate IRI: ${d}`,e.ERROR_CODES.INVALID_IRI_MAPPING));else return null;return null}resourceToTerm(i,l){if(l.startsWith("_:"))return this.dataFactory.blankNode(l.substr(2));const d=i.expandTerm(l,!1,this.parsingContext.getExpandOptions());if(!ie.isValidIri(d))if(d&&this.parsingContext.strictValues)this.parsingContext.emitError(new Error(`Invalid resource IRI: ${d}`));else return null;return this.dataFactory.namedNode(d)}createVocabOrBaseTerm(i,l){if(l.startsWith("_:"))return this.dataFactory.blankNode(l.substr(2));const d=this.parsingContext.getExpandOptions();let u=i.expandTerm(l,!0,d);if(u===l&&(u=i.expandTerm(l,!1,d)),!ie.isValidIri(u))if(u&&this.parsingContext.strictValues&&!u.startsWith("@"))this.parsingContext.emitError(new Error(`Invalid term IRI: ${u}`));else return null;return this.dataFactory.namedNode(u)}intToString(i,l){return typeof i=="number"?Number.isFinite(i)?i%1===0&&(!l||l.value!==ie.XSD_DOUBLE)?Number(i).toString():i.toExponential(15).replace(/(\d)0*e\+?/,"$1E"):i>0?"INF":"-INF":i}stringValueToTerm(i,l,d,u,h){const _=ie.getContextValueType(l,d);if(_)if(_==="@id"){if(!h)return this.resourceToTerm(l,this.intToString(u,h))}else if(_==="@vocab"){if(!h)return this.createVocabOrBaseTerm(l,this.intToString(u,h))}else h=this.dataFactory.namedNode(_);if(!h){const b=ie.getContextValueLanguage(l,d),c=ie.getContextValueDirection(l,d);return c&&this.parsingContext.rdfDirection?this.createLanguageDirectionLiteral(i,this.intToString(u,h),b,c):this.dataFactory.literal(this.intToString(u,h),b)}return this.dataFactory.literal(this.intToString(u,h),h)}createLanguageDirectionLiteral(i,l,d,u){if(this.parsingContext.rdfDirection==="i18n-datatype")return d||(d=""),this.dataFactory.literal(l,this.dataFactory.namedNode(`https://www.w3.org/ns/i18n#${d}_${u}`));{const h=this.dataFactory.blankNode(),_=this.getDefaultGraph();return this.parsingContext.emitQuad(i,this.dataFactory.quad(h,this.dataFactory.namedNode(ie.RDF+"value"),this.dataFactory.literal(l),_)),d&&this.parsingContext.emitQuad(i,this.dataFactory.quad(h,this.dataFactory.namedNode(ie.RDF+"language"),this.dataFactory.literal(d),_)),this.parsingContext.emitQuad(i,this.dataFactory.quad(h,this.dataFactory.namedNode(ie.RDF+"direction"),this.dataFactory.literal(u),_)),h}}valueToJsonString(i){return n(i)}async unaliasKeyword(i,l,d,u,h){if(Number.isInteger(i))return i;if(!u){const _=this.parsingContext.unaliasedKeywordCacheStack[d];if(_)return _}if(!e.Util.isPotentialKeyword(i)){h=h||await this.parsingContext.getContext(l);let _=h.getContextRaw()[i];_&&typeof _=="object"&&(_=_["@id"]),e.Util.isValidKeyword(_)&&(i=_)}return u?i:this.parsingContext.unaliasedKeywordCacheStack[d]=i}async unaliasKeywordParent(i,l){return await this.unaliasKeyword(l>0&&i[l-1],i,l-1)}async unaliasKeywords(i,l,d,u){const h={};for(const _ in i)h[await this.unaliasKeyword(_,l,d+1,!0,u)]=i[_];return h}async isLiteral(i,l){for(let d=l;d>=0;d--){if(await this.unaliasKeyword(i[d],i,d)==="@annotation")return!1;if(this.parsingContext.literalStack[d]||this.parsingContext.jsonLiteralStack[d])return!0}return!1}async getDepthOffsetGraph(i,l){for(let d=i-1;d>0;d--)if(await this.unaliasKeyword(l[d],l,d)==="@graph"){const u=(await r.EntryHandlerContainer.getContainerHandler(this.parsingContext,l,d)).containers;return r.EntryHandlerContainer.isComplexGraphContainer(u)?-1:i-d-1}return-1}validateReverseSubject(i){if(i.termType==="Literal")throw new e.ErrorCoded(`Found illegal literal in subject position: ${i.value}`,e.ERROR_CODES.INVALID_REVERSE_PROPERTY_VALUE)}getDefaultGraph(){return this.parsingContext.defaultGraph||this.dataFactory.defaultGraph()}async getGraphContainerValue(i,l){let d=this.getDefaultGraph();const{containers:u,depth:h}=await r.EntryHandlerContainer.getContainerHandler(this.parsingContext,i,l);if("@graph"in u){const _=r.EntryHandlerContainer.getContainerGraphIndex(u,h,i),b=this.parsingContext.graphContainerTermStack[h];if(d=b?b[_]:null,!d){let c=null;if("@id"in u){const E=await this.getContainerKey(i[h],i,h);E!==null&&(c=await this.resourceToTerm(await this.parsingContext.getContext(i),E))}c||(c=this.dataFactory.blankNode()),this.parsingContext.graphContainerTermStack[h]||(this.parsingContext.graphContainerTermStack[h]={}),d=this.parsingContext.graphContainerTermStack[h][_]=c}}return d}async getPropertiesDepth(i,l){let d=l;for(let u=l-1;u>0;u--)if(typeof i[u]!="number"){const h=await this.unaliasKeyword(i[u],i,u);if(h==="@reverse")return u;if(h==="@nest")d=u;else return d}return d}async getContainerKey(i,l,d){const u=await this.unaliasKeyword(i,l,d);return u==="@none"?null:u}validateReverseInEmbeddedNode(i,l,d){if(d&&l&&!this.parsingContext.rdfstarReverseInEmbedded)throw new e.ErrorCoded(`Illegal reverse property in embedded node in ${i}`,e.ERROR_CODES.INVALID_EMBEDDED_NODE)}emitQuadChecked(i,l,d,u,h,_,b){let c;if(_?(this.validateReverseSubject(u),c=this.dataFactory.quad(u,d,l,h)):c=this.dataFactory.quad(l,d,u,h),b){if(c.graph.termType!=="DefaultGraph"&&(c=this.dataFactory.quad(c.subject,c.predicate,c.object)),this.parsingContext.idStack[i-1])throw new e.ErrorCoded("Illegal multiple properties in an embedded node",e.ERROR_CODES.INVALID_EMBEDDED_NODE);this.parsingContext.idStack[i-1]=[c]}else this.parsingContext.emitQuad(i,c);const E=this.parsingContext.annotationsBuffer[i];if(E){for(const g of E)this.emitAnnotation(i,c,g);delete this.parsingContext.annotationsBuffer[i]}}emitAnnotation(i,l,d){let u;d.reverse?(this.validateReverseSubject(d.object),u=this.dataFactory.quad(d.object,d.predicate,l)):u=this.dataFactory.quad(l,d.predicate,d.object),this.parsingContext.emitQuad(i,u);for(const h of d.nestedAnnotations)this.emitAnnotation(i,u,h)}};return o.XSD="http://www.w3.org/2001/XMLSchema#",o.XSD_BOOLEAN=o.XSD+"boolean",o.XSD_INTEGER=o.XSD+"integer",o.XSD_DOUBLE=o.XSD+"double",o.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",ur.Util=o,ur}Object.defineProperty(hn,"__esModule",{value:!0});hn.EntryHandlerArrayValue=void 0;const Sh=Lt(),Ga=Se;class Rh{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(t,r,n,o,a){return this.test(t,r,null,n,o)}async test(t,r,n,o,a){return typeof o[a]=="number"}async handle(t,r,n,o,a,i){let l=await r.unaliasKeywordParent(o,i);if(l==="@list"){let d=null,u=0;for(let h=i-2;h>0;h--){const _=o[h];if(typeof _=="string"||typeof _=="number"){u=h,d=_;break}}if(d!==null){const h=await r.valueToTerm(await t.getContext(o),d,a,i,o);for(const _ of h)await this.handleListElement(t,r,_,a,i,o.slice(0,u),u);h.length===0&&await this.handleListElement(t,r,null,a,i,o.slice(0,u),u)}}else if(l==="@set")await t.newOnValueJob(o.slice(0,-2),a,i-2,!1);else if(l!==void 0&&l!=="@type"){for(let u=i-1;u>0;u--)if(typeof o[u]!="number"){l=await r.unaliasKeyword(o[u],o,u);break}const d=await t.getContext(o.slice(0,-1));if("@list"in Sh.Util.getContextValueContainer(d,l)){t.emittedStack[i+1]=!0;const u=await r.valueToTerm(await t.getContext(o),l,a,i,o);for(const h of u)await this.handleListElement(t,r,h,a,i,o.slice(0,-1),i-1);u.length===0&&await this.handleListElement(t,r,null,a,i,o.slice(0,-1),i-1)}else t.shiftStack(i,1),await t.newOnValueJob(o.slice(0,-1),a,i-1,!1),t.contextTree.removeContext(o.slice(0,-1))}}async handleListElement(t,r,n,o,a,i,l){let d=t.listPointerStack[a];if(o!==null&&(await r.unaliasKeywords(o,i,a))["@value"]!==null){if(!d||!d.value){const u=r.dataFactory.blankNode();d={value:u,listRootDepth:l,listId:u}}else{const u=r.dataFactory.blankNode();t.emitQuad(a,r.dataFactory.quad(d.value,r.rdfRest,u,r.getDefaultGraph())),d.value=u}n&&t.emitQuad(a,r.dataFactory.quad(d.value,r.rdfFirst,n,r.getDefaultGraph()))}else d||(d={listRootDepth:l,listId:r.rdfNil});t.listPointerStack[a]=d,t.rdfstar&&t.annotationsBuffer[a]&&t.emitError(new Ga.ErrorCoded("Found an illegal annotation inside a list",Ga.ERROR_CODES.INVALID_ANNOTATION))}}hn.EntryHandlerArrayValue=Rh;var gn={};Object.defineProperty(gn,"__esModule",{value:!0});gn.EntryHandlerInvalidFallback=void 0;class Ah{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(t,r,n,o,a){return!1}async test(t,r,n,o,a){return!0}async handle(t,r,n,o,a,i){t.emittedStack[i]=!1}}gn.EntryHandlerInvalidFallback=Ah;var _n={},Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.EntryHandlerKeyword=void 0;class Ih{constructor(t){this.keyword=t}isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(t,r,n,o,a){return!1}async test(t,r,n,o,a){return n===this.keyword}}Fe.EntryHandlerKeyword=Ih;Object.defineProperty(_n,"__esModule",{value:!0});_n.EntryHandlerKeywordContext=void 0;const Ha=Se,mh=Fe;class vh extends mh.EntryHandlerKeyword{constructor(){super("@context")}isStackProcessor(){return!1}async handle(t,r,n,o,a,i){t.streamingProfile&&(t.processingStack[i]||t.processingType[i]||t.idStack[i]!==void 0)&&t.emitError(new Ha.ErrorCoded("Found an out-of-order context, while streaming is enabled.(disable `streamingProfile`)",Ha.ERROR_CODES.INVALID_STREAMING_KEY_ORDER));const l=t.getContext(o),d=t.parseContext(a,(await l).getContextRaw());t.contextTree.setContext(o.slice(0,-1),d),t.emitContext(a),await t.validateContext(await d)}}_n.EntryHandlerKeywordContext=vh;var wn={};Object.defineProperty(wn,"__esModule",{value:!0});wn.EntryHandlerKeywordGraph=void 0;const Th=Fe;class Ch extends Th.EntryHandlerKeyword{constructor(){super("@graph")}async handle(t,r,n,o,a,i){t.graphStack[i+1]=!0}}wn.EntryHandlerKeywordGraph=Ch;var En={};Object.defineProperty(En,"__esModule",{value:!0});En.EntryHandlerKeywordId=void 0;const Ue=Se,Nh=Fe;class Oh extends Nh.EntryHandlerKeyword{constructor(){super("@id")}isStackProcessor(){return!1}async handle(t,r,n,o,a,i){if(typeof a!="string"){if(t.rdfstar&&typeof a=="object"){const d=Object.keys(a);d.length===1&&d[0]==="@id"&&t.emitError(new Ue.ErrorCoded(`Invalid embedded node without property with @id ${a["@id"]}`,Ue.ERROR_CODES.INVALID_EMBEDDED_NODE))}else t.emitError(new Ue.ErrorCoded(`Found illegal @id '${a}'`,Ue.ERROR_CODES.INVALID_ID_VALUE));return}const l=await r.getPropertiesDepth(o,i);if(t.idStack[l]!==void 0&&(t.idStack[l][0].listHead?t.emitError(new Ue.ErrorCoded(`Found illegal neighbouring entries next to @list for key: '${o[i-1]}'`,Ue.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT)):t.emitError(new Ue.ErrorCoded(`Found duplicate @ids '${t.idStack[l][0].value}' and '${a}'`,Ue.ERROR_CODES.COLLIDING_KEYWORDS))),t.rdfstar&&t.annotationsBuffer[i])for(const d of t.annotationsBuffer[i])d.depth===i&&t.emitError(new Ue.ErrorCoded(`Found an illegal @id inside an annotation: ${a}`,Ue.ERROR_CODES.INVALID_ANNOTATION));t.idStack[l]=r.nullableTermToArray(await r.resourceToTerm(await t.getContext(o),a))}}En.EntryHandlerKeywordId=Oh;var Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.EntryHandlerKeywordIncluded=void 0;const Vt=Se,$h=Fe;class xh extends $h.EntryHandlerKeyword{constructor(){super("@included")}async handle(t,r,n,o,a,i){typeof a!="object"&&t.emitError(new Vt.ErrorCoded(`Found illegal @included '${a}'`,Vt.ERROR_CODES.INVALID_INCLUDED_VALUE));const l=await r.unaliasKeywords(a,o,i,await t.getContext(o));"@value"in l&&t.emitError(new Vt.ErrorCoded(`Found an illegal @included @value node '${JSON.stringify(a)}'`,Vt.ERROR_CODES.INVALID_INCLUDED_VALUE)),"@list"in l&&t.emitError(new Vt.ErrorCoded(`Found an illegal @included @list node '${JSON.stringify(a)}'`,Vt.ERROR_CODES.INVALID_INCLUDED_VALUE)),t.emittedStack[i]=!1}}Sn.EntryHandlerKeywordIncluded=xh;var Rn={};Object.defineProperty(Rn,"__esModule",{value:!0});Rn.EntryHandlerKeywordNest=void 0;const Pr=Se,Dh=Fe;class Lh extends Dh.EntryHandlerKeyword{constructor(){super("@nest")}async handle(t,r,n,o,a,i){typeof a!="object"&&t.emitError(new Pr.ErrorCoded(`Found invalid @nest entry for '${n}': '${a}'`,Pr.ERROR_CODES.INVALID_NEST_VALUE)),"@value"in await r.unaliasKeywords(a,o,i,await t.getContext(o))&&t.emitError(new Pr.ErrorCoded(`Found an invalid @value node for '${n}'`,Pr.ERROR_CODES.INVALID_NEST_VALUE)),t.emittedStack[i]=!1}}Rn.EntryHandlerKeywordNest=Lh;var An={};Object.defineProperty(An,"__esModule",{value:!0});An.EntryHandlerKeywordType=void 0;const yr=Se,kr=Lt(),Ph=pn(),kh=Fe;class Mh extends kh.EntryHandlerKeyword{constructor(){super("@type")}isStackProcessor(){return!1}async handle(t,r,n,o,a,i){const l=o[i],d=await t.getContext(o),u=r.rdfType,h=await r.unaliasKeywordParent(o,i),_=kr.Util.isPropertyReverse(d,l,h),b=kr.Util.isPropertyInEmbeddedNode(h);r.validateReverseInEmbeddedNode(n,_,b);const c=kr.Util.isPropertyInAnnotationObject(h),E=Array.isArray(a)?a:[a];for(const T of E){typeof T!="string"&&t.emitError(new yr.ErrorCoded(`Found illegal @type '${T}'`,yr.ERROR_CODES.INVALID_TYPE_VALUE));const $=r.createVocabOrBaseTerm(d,T);$&&await Ph.EntryHandlerPredicate.handlePredicateObject(t,r,o,i,u,$,_,b,c)}let g=Promise.resolve(d),S=!1;for(const T of E.sort()){const $=kr.Util.getContextValue(d,"@context",T,null);$&&(S=!0,g=g.then(w=>t.parseContext($,w.getContextRaw())))}t.streamingProfile&&(S||!t.streamingProfileAllowOutOfOrderPlainType)&&(t.processingStack[i]||t.idStack[i])&&t.emitError(new yr.ErrorCoded("Found an out-of-order type-scoped context, while streaming is enabled.(disable `streamingProfile`)",yr.ERROR_CODES.INVALID_STREAMING_KEY_ORDER)),S&&(g=g.then(T=>T.getContextRaw()["@propagate"]!==!0?new yr.JsonLdContextNormalized(Object.assign(Object.assign({},T.getContextRaw()),{"@propagate":!1,"@__propagateFallback":d.getContextRaw()})):T),t.contextTree.setContext(o.slice(0,o.length-1),g)),t.processingType[i]=!0}}An.EntryHandlerKeywordType=Mh;var In={};Object.defineProperty(In,"__esModule",{value:!0});In.EntryHandlerKeywordUnknownFallback=void 0;const Sr=Se;class mn{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(t,r,n,o,a){const i=await r.unaliasKeyword(n[o],n,o);return Sr.Util.isPotentialKeyword(i)?!(!a&&i==="@list"):!1}async test(t,r,n,o,a){return Sr.Util.isPotentialKeyword(n)}async handle(t,r,n,o,a,i){const l=mn.VALID_KEYWORDS_TYPES[n];l!==void 0?l&&typeof a!==l.type&&t.emitError(new Sr.ErrorCoded(`Invalid value type for '${n}' with value '${a}'`,l.errorCode)):t.strictValues&&t.emitError(new Error(`Unknown keyword '${n}' with value '${a}'`)),t.emittedStack[i]=!1}}mn.VALID_KEYWORDS_TYPES={"@index":{type:"string",errorCode:Sr.ERROR_CODES.INVALID_INDEX_VALUE},"@list":null,"@reverse":{type:"object",errorCode:Sr.ERROR_CODES.INVALID_REVERSE_VALUE},"@set":null,"@value":null};In.EntryHandlerKeywordUnknownFallback=mn;var vn={};Object.defineProperty(vn,"__esModule",{value:!0});vn.EntryHandlerKeywordValue=void 0;const Vh=Fe;class jh extends Vh.EntryHandlerKeyword{constructor(){super("@value")}async validate(t,r,n,o,a){const i=n[o];return i&&!t.literalStack[o]&&await this.test(t,r,i,n,o)&&(t.literalStack[o]=!0),super.validate(t,r,n,o,a)}async test(t,r,n,o,a){return await r.unaliasKeyword(o[a],o.slice(0,o.length-1),a-1,!0)==="@value"}async handle(t,r,n,o,a,i){t.literalStack[i]=!0,delete t.unidentifiedValuesBuffer[i],delete t.unidentifiedGraphsBuffer[i],t.emittedStack[i]=!1}}vn.EntryHandlerKeywordValue=jh;var gr={},Tn={};Object.defineProperty(Tn,"__esModule",{value:!0});Tn.ContextTree=void 0;class So{constructor(){this.subTrees={}}getContext(t){if(t.length>0){const[r,...n]=t,o=this.subTrees[r];if(o){const a=o.getContext(n);if(a)return a.then(({context:i,depth:l})=>({context:i,depth:l+1}))}}return this.context?this.context.then(r=>({context:r,depth:0})):null}setContext(t,r){if(t.length===0)this.context=r;else{const[n,...o]=t;let a=this.subTrees[n];a||(a=this.subTrees[n]=new So),a.setContext(o,r)}}removeContext(t){this.setContext(t,null)}}Tn.ContextTree=So;var Ka;function Fh(){if(Ka)return gr;Ka=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.ParsingContext=void 0;const e=Se,t=Jt,r=Tn,n=Wl();let o=class Ul{constructor(i){this.contextParser=new e.ContextParser({documentLoader:i.documentLoader,skipValidation:i.skipContextValidation}),this.streamingProfile=!!i.streamingProfile,this.baseIRI=i.baseIRI,this.produceGeneralizedRdf=!!i.produceGeneralizedRdf,this.allowSubjectList=!!i.allowSubjectList,this.processingMode=i.processingMode||n.JsonLdParser.DEFAULT_PROCESSING_MODE,this.strictValues=!!i.strictValues,this.validateValueIndexes=!!i.validateValueIndexes,this.defaultGraph=i.defaultGraph,this.rdfDirection=i.rdfDirection,this.normalizeLanguageTags=i.normalizeLanguageTags,this.streamingProfileAllowOutOfOrderPlainType=i.streamingProfileAllowOutOfOrderPlainType,this.rdfstar=i.rdfstar!==!1,this.rdfstarReverseInEmbedded=i.rdfstarReverseInEmbedded,this.topLevelProperties=!1,this.activeProcessingMode=parseFloat(this.processingMode),this.processingStack=[],this.processingType=[],this.emittedStack=[],this.idStack=[],this.graphStack=[],this.graphContainerTermStack=[],this.listPointerStack=[],this.contextTree=new r.ContextTree,this.literalStack=[],this.validationStack=[],this.unaliasedKeywordCacheStack=[],this.jsonLiteralStack=[],this.unidentifiedValuesBuffer=[],this.unidentifiedGraphsBuffer=[],this.annotationsBuffer=[],this.pendingContainerFlushBuffers=[],this.parser=i.parser,i.context?(this.rootContext=this.parseContext(i.context),this.rootContext.then(l=>this.validateContext(l))):this.rootContext=Promise.resolve(new e.JsonLdContextNormalized(this.baseIRI?{"@base":this.baseIRI,"@__baseDocument":!0}:{}))}async parseContext(i,l,d){return this.contextParser.parse(i,{baseIRI:this.baseIRI,ignoreProtection:d,normalizeLanguageTags:this.normalizeLanguageTags,parentContext:l,processingMode:this.activeProcessingMode})}validateContext(i){const l=i.getContextRaw()["@version"];if(l){if(this.activeProcessingMode&&l>this.activeProcessingMode)throw new t.ErrorCoded(`Unsupported JSON-LD version '${l}' under active processing mode ${this.activeProcessingMode}.`,t.ERROR_CODES.PROCESSING_MODE_CONFLICT);if(this.activeProcessingMode&&l0&&d.context.getContextRaw()["@propagate"]===!1&&d.depth!==l&&!u);return d.depth===0&&d.context.getContextRaw()["@propagate"]===!1&&d.depth!==l&&(d.context=new e.JsonLdContextNormalized({})),d}async newOnValueJob(i,l,d,u){await this.parser.newOnValueJob(i,l,d,u)}async handlePendingContainerFlushBuffers(){if(this.pendingContainerFlushBuffers.length>0){for(const i of this.pendingContainerFlushBuffers)await this.parser.flushBuffer(i.depth,i.keys),this.parser.flushStacks(i.depth);return this.pendingContainerFlushBuffers.splice(0,this.pendingContainerFlushBuffers.length),!0}else return!1}emitQuad(i,l){i===1&&(this.topLevelProperties=!0),this.parser.push(l)}emitError(i){this.parser.emit("error",i)}emitContext(i){this.parser.emit("context",i)}getUnidentifiedValueBufferSafe(i){let l=this.unidentifiedValuesBuffer[i];return l||(l=[],this.unidentifiedValuesBuffer[i]=l),l}getUnidentifiedGraphBufferSafe(i){let l=this.unidentifiedGraphsBuffer[i];return l||(l=[],this.unidentifiedGraphsBuffer[i]=l),l}getAnnotationsBufferSafe(i){let l=this.annotationsBuffer[i];return l||(l=[],this.annotationsBuffer[i]=l),l}getExpandOptions(){return Ul.EXPAND_OPTIONS[this.activeProcessingMode]}shiftStack(i,l){const d=this.idStack[i+l];if(d&&(this.idStack[i]=d,this.emittedStack[i]=!0,delete this.idStack[i+l]),this.pendingContainerFlushBuffers.length)for(const u of this.pendingContainerFlushBuffers)u.depth>=i+l&&(u.depth-=l,u.keys.splice(i,l));this.unidentifiedValuesBuffer[i+l]&&(this.unidentifiedValuesBuffer[i]=this.unidentifiedValuesBuffer[i+l],delete this.unidentifiedValuesBuffer[i+l]),this.annotationsBuffer[i+l-1]&&(this.annotationsBuffer[i-1]||(this.annotationsBuffer[i-1]=[]),this.annotationsBuffer[i-1]=[...this.annotationsBuffer[i-1],...this.annotationsBuffer[i+l-1]],delete this.annotationsBuffer[i+l-1])}};return o.EXPAND_OPTIONS={1:{allowPrefixForcing:!1,allowPrefixNonGenDelims:!1,allowVocabRelativeToBase:!1},1.1:{allowPrefixForcing:!0,allowPrefixNonGenDelims:!1,allowVocabRelativeToBase:!0}},gr.ParsingContext=o,gr}var Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.EntryHandlerKeywordAnnotation=void 0;const Uh=Fe,Ja=Se;class Wh extends Uh.EntryHandlerKeyword{constructor(){super("@annotation")}async handle(t,r,n,o,a,i){(typeof a=="string"||typeof a=="object"&&a["@value"])&&t.emitError(new Ja.ErrorCoded(`Found illegal annotation value: ${JSON.stringify(a)}`,Ja.ERROR_CODES.INVALID_ANNOTATION))}}Cn.EntryHandlerKeywordAnnotation=Wh;var qa;function Wl(){if(qa)return dr;qa=1,Object.defineProperty(dr,"__esModule",{value:!0}),dr.JsonLdParser=void 0;const e=Yf,t=Se,r=yh,n=hn,o=Fl(),a=gn,i=pn(),l=_n,d=wn,u=En,h=Sn,_=Rn,b=An,c=In,E=vn,g=Fh(),S=Lt(),T=Hs,$=Cn;let w=class Ft extends r.Transform{constructor(v){super({readableObjectMode:!0}),v=v||{},this.options=v,this.parsingContext=new g.ParsingContext(Object.assign({parser:this},v)),this.util=new S.Util({dataFactory:v.dataFactory,parsingContext:this.parsingContext}),this.jsonParser=new e,this.contextJobs=[],this.typeJobs=[],this.contextAwaitingJobs=[],this.lastDepth=0,this.lastKeys=[],this.lastOnValueJob=Promise.resolve(),this.attachJsonParserListeners(),this.on("end",()=>{typeof this.jsonParser.mode<"u"&&this.emit("error",new Error("Unclosed document"))})}static fromHttpResponse(v,x,U,F){let W,ee=["application/activity+json"];if(F&&F.wellKnownMediaTypes&&(ee=F.wellKnownMediaTypes),x!=="application/ld+json"&&!ee.includes(x)){if(x!=="application/json"&&!x.endsWith("+json"))throw new t.ErrorCoded(`Unsupported JSON-LD media type ${x}`,t.ERROR_CODES.LOADING_DOCUMENT_FAILED);if(U&&U.has("Link")&&U.forEach((k,R)=>{if(R==="link"){const V=(0,T.parse)(k);for(const M of V.get("rel","http://www.w3.org/ns/json-ld#context")){if(W)throw new t.ErrorCoded("Multiple JSON-LD context link headers were found on "+v,t.ERROR_CODES.MULTIPLE_CONTEXT_LINK_HEADERS);W=M.uri}}}),!W&&!(F!=null&&F.ignoreMissingContextLinkHeader))throw new t.ErrorCoded(`Missing context link header for media type ${x} on ${v}`,t.ERROR_CODES.LOADING_DOCUMENT_FAILED)}let J;if(U&&U.has("Content-Type")){const k=U.get("Content-Type"),R=/; *profile=([^"]*)/.exec(k);R&&R[1]==="http://www.w3.org/ns/json-ld#streaming"&&(J=!0)}return new Ft(Object.assign({baseIRI:v,context:W,streamingProfile:J},F||{}))}import(v){if("pipe"in v){v.on("error",U=>x.emit("error",U));const x=v.pipe(new Ft(this.options));return x}else{const x=new r.PassThrough({readableObjectMode:!0});v.on("error",F=>U.emit("error",F)),v.on("data",F=>x.push(F)),v.on("end",()=>x.push(null));const U=x.pipe(new Ft(this.options));return U}}_transform(v,x,U){this.jsonParser.write(v),this.lastOnValueJob.then(()=>U(),F=>U(F))}async newOnValueJob(v,x,U,F){let W=!0;if(F&&U1&&(R=this.parsingContext.validationStack[this.parsingContext.validationStack.length-1].property);for(let V=Math.max(1,this.parsingContext.validationStack.length-1);V=0?this.parsingContext.idStack[v-R-1]:[await this.util.getGraphContainerValue(x,v)];if(V)for(const M of V){this.parsingContext.emittedStack[v]=!0;for(const j of W)this.util.emitQuadChecked(v,k,j.predicate,j.object,M,j.reverse,j.isEmbedded)}else{const M=this.parsingContext.getUnidentifiedGraphBufferSafe(v-await this.util.getDepthOffsetGraph(v,x)-1);for(const j of W)j.reverse?M.push({object:k,predicate:j.predicate,subject:j.object,isEmbedded:j.isEmbedded}):M.push({object:j.object,predicate:j.predicate,subject:k,isEmbedded:j.isEmbedded})}}this.parsingContext.unidentifiedValuesBuffer.splice(v,1),this.parsingContext.literalStack.splice(v,1),this.parsingContext.jsonLiteralStack.splice(v,1)}const ee=this.parsingContext.unidentifiedGraphsBuffer[v];if(ee){for(const k of U){const R=v===1&&k.termType==="BlankNode"&&!this.parsingContext.topLevelProperties?this.util.getDefaultGraph():k;this.parsingContext.emittedStack[v]=!0;for(const V of ee)this.parsingContext.emitQuad(v,this.util.dataFactory.quad(V.subject,V.predicate,V.object,R))}this.parsingContext.unidentifiedGraphsBuffer.splice(v,1)}const J=this.parsingContext.annotationsBuffer[v];if(J){J.length>0&&v===1&&this.parsingContext.emitError(new t.ErrorCoded("Annotations can not be made on top-level nodes",t.ERROR_CODES.INVALID_ANNOTATION));const k=this.parsingContext.getAnnotationsBufferSafe(v-1);for(const R of J)k.push(R);delete this.parsingContext.annotationsBuffer[v]}}async validateKey(v,x,U){for(const F of Ft.ENTRY_HANDLERS)if(await F.validate(this.parsingContext,this.util,v,x,U))return{valid:!0,property:U||F.isPropertyHandler()};return{valid:!1,property:!1}}attachJsonParserListeners(){this.jsonParser.onValue=v=>{const x=this.jsonParser.stack.length,U=new Array(x+1).fill(0).map((F,W)=>W===x?this.jsonParser.key:this.jsonParser.stack[W].key);if(!this.isParsingContextInner(x)){const F=()=>this.newOnValueJob(U,v,x,!0);if(!this.parsingContext.streamingProfile&&!this.parsingContext.contextTree.getContext(U.slice(0,-1)))if(U[x]==="@context"){let W=this.contextJobs[x];W||(W=this.contextJobs[x]=[]),W.push(F)}else this.contextAwaitingJobs.push({job:F,keys:U,depth:x});else this.lastOnValueJob=this.lastOnValueJob.then(F);!this.parsingContext.streamingProfile&&x===0&&(this.lastOnValueJob=this.lastOnValueJob.then(()=>this.executeBufferedJobs()))}},this.jsonParser.onError=v=>{this.emit("error",v)}}isParsingContextInner(v){for(let x=v;x>0;x--)if(this.jsonParser.stack[x-1].key==="@context")return!0;return!1}async executeBufferedJobs(){for(const x of this.contextJobs)if(x)for(const U of x)await U();this.parsingContext.unaliasedKeywordCacheStack.splice(0);const v=[];for(const x of this.contextAwaitingJobs)await this.util.unaliasKeyword(x.keys[x.depth],x.keys,x.depth,!0)==="@type"||typeof x.keys[x.depth]=="number"&&await this.util.unaliasKeyword(x.keys[x.depth-1],x.keys,x.depth-1,!0)==="@type"?this.typeJobs.push({job:x.job,keys:x.keys.slice(0,x.keys.length-1)}):v.push(x);for(const x of v){if(this.typeJobs.length>0){const U=[],F=[];for(let J=0;JJ.keys.length-k.keys.length);for(const J of W)await J.job();const ee=F.sort().reverse();for(const J of ee)this.typeJobs.splice(J,1)}await x.job()}}};return w.DEFAULT_PROCESSING_MODE="1.1",w.ENTRY_HANDLERS=[new n.EntryHandlerArrayValue,new l.EntryHandlerKeywordContext,new u.EntryHandlerKeywordId,new h.EntryHandlerKeywordIncluded,new d.EntryHandlerKeywordGraph,new _.EntryHandlerKeywordNest,new b.EntryHandlerKeywordType,new E.EntryHandlerKeywordValue,new $.EntryHandlerKeywordAnnotation,new o.EntryHandlerContainer,new c.EntryHandlerKeywordUnknownFallback,new i.EntryHandlerPredicate,new a.EntryHandlerInvalidFallback],dr.JsonLdParser=w,dr}(function(e){var t=dt&&dt.__createBinding||(Object.create?function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}:function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]}),r=dt&&dt.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(Wl(),e)})(Ms);var Bl={exports:{}},_i={exports:{}},le={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},Gl={exports:{}};(function(e){const t=be,{kResistStopPropagation:r,SymbolDispose:n}=le,o=globalThis.AbortSignal||Ge().AbortSignal,a=globalThis.AbortController||Ge().AbortController,i=Object.getPrototypeOf(async function(){}).constructor,l=globalThis.Blob||t.Blob,d=typeof l<"u"?function(c){return c instanceof l}:function(c){return!1},u=(b,c)=>{if(b!==void 0&&(b===null||typeof b!="object"||!("aborted"in b)))throw new ERR_INVALID_ARG_TYPE(c,"AbortSignal",b)},h=(b,c)=>{if(typeof b!="function")throw new ERR_INVALID_ARG_TYPE(c,"Function",b)};class _ extends Error{constructor(c){if(!Array.isArray(c))throw new TypeError(`Expected input to be an Array, got ${typeof c}`);let E="";for(let g=0;ga.then(e).catch(r=>setTimeout(()=>{throw r},0))}catch{}}const h=o,_=f,p=32768;class n extends _.Transform{static _flush_buffer(e){e._s_push&&(e.push(e._s_push),e._s_push="")}constructor(e={}){super({writableObjectMode:!0,readableObjectMode:!1});let{prefixes:r={}}=e;this._s_push="",this._n_max_buffer=e.max_buffer||e.maxBuffer||p,this._h_prefixes=h.cache_prefixes(r||{}),this.on("pipe",t=>{t.on("prefix",(i,s)=>{this.write({type:"prefixes",value:{[i]:s}})}),t.on("comment",i=>{this.write({type:"comment",value:i})})}),e.close&&this.once("close",e.close),e.drain&&this.on("drain",e.drain),e.error&&this.on("error",e.error),e.finish&&this.once("finish",e.finish),e.data&&this.on("data",e.data),e.end&&this.once("end",e.end),e.warning&&this.on("warning",e.warning)}_serialize_hash_comment(e){return"# "+e.replace(/\n/g,` +import{m as o}from"./main-UPTG37W_.js";import{m as f}from"./main-DD61z6wK.js";if(typeof queueMicrotask!="function"){let a=Promise.resolve();try{queueMicrotask=e=>a.then(e).catch(r=>setTimeout(()=>{throw r},0))}catch{}}const h=o,_=f,p=32768;class n extends _.Transform{static _flush_buffer(e){e._s_push&&(e.push(e._s_push),e._s_push="")}constructor(e={}){super({writableObjectMode:!0,readableObjectMode:!1});let{prefixes:r={}}=e;this._s_push="",this._n_max_buffer=e.max_buffer||e.maxBuffer||p,this._h_prefixes=h.cache_prefixes(r||{}),this.on("pipe",t=>{t.on("prefix",(i,s)=>{this.write({type:"prefixes",value:{[i]:s}})}),t.on("comment",i=>{this.write({type:"comment",value:i})})}),e.close&&this.once("close",e.close),e.drain&&this.on("drain",e.drain),e.error&&this.on("error",e.error),e.finish&&this.once("finish",e.finish),e.data&&this.on("data",e.data),e.end&&this.once("end",e.end),e.warning&&this.on("warning",e.warning)}_serialize_hash_comment(e){return"# "+e.replace(/\n/g,` # `)+` `}_serialize_newlines(e=1){return` `.repeat(e)}_serialize_c4r(e){let r=this._h_prefixes,t=[],i="";for(let s in e)s!=="*"&&t.push(s),i+=this._serialize_c3r(e[s]);if(t.length){let s=`Destination format does not support quads; an implicit union into the default graph was performed on the quads contained in graphs: ${t.map(u=>h.c1(u,r).verbose()).join(", ")}`;this.emit("warning",s)||console.warn(s)}return i}_serialize_c3(){throw new Error(`Write event type 'c3' not supported by ${this.constructor.name}`)}_serialize_c4(){throw new Error(`Write event type 'c4' not supported by ${this.constructor.name}`)}_serialize_c3r(){throw new Error(`Write event type 'c3r' should have been implemented by subclass ${this.constructor.name}`)}_serialize_quad(){throw new Error(`Write event type 'quad' should have been implemented by subclass ${this.constructor.name}`)}_serialize_comment(){}_update_prefixes(e,r=!1){let t={...this._h_prefixes,...e};this._h_prefixes=h.cachePrefixes(t||{},r)}_transform(e,r,t){let i;try{i=this.serialize(e)}catch(s){return t(s),s}if(i)n._flush_buffer(this),this.push(i);else{let s=this._s_push.length;s>this._n_max_buffer?n._flush_buffer(this):s&&queueMicrotask(()=>n._flush_buffer(this))}t()}_queue(e){this._s_push+=e,this._s_push.length>this._n_max_buffer?n._flush_buffer(this):queueMicrotask(()=>n._flush_buffer(this))}serialize(e){switch(e.type){case void 0:return this._serialize_quad(e);case"c3r":return this._serialize_c3r(e.value);case"c4r":return this._serialize_c4r(e.value);case"array":{let r="";for(let t of e.value){let i=this.serialize(t);i?r+=i:this._s_push&&(r+=this._s_push,this._s_push="")}return r}case"quad":return this._serialize_quad(e.value);case"c3":return this._serialize_c3(e.value);case"c4":return this._serialize_c4(e.value);case"prefixes":return this._serialize_prefixes(e.value);case"comment":return this._serialize_comment(e.value);case"newline":case"newlines":return this._serialize_newlines(e.value);default:throw new Error(`no such writable data event type for RDF stream: '${e.type}'`)}}rinse(){this._reset(),n._flush_buffer(this)}_flush(){n._flush_buffer(this),this.push(null)}}Object.assign(n.prototype,{isGraphyWritable:!0,_serialize_prefixes:n.prototype._update_prefixes});var c=n;export{c as m}; diff --git a/assets/main-BG8rCUrd.js b/assets/main-BG8rCUrd.js deleted file mode 100644 index 01010fd..0000000 --- a/assets/main-BG8rCUrd.js +++ /dev/null @@ -1,3235 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CkGRNAr4.js","assets/index-BOvYCoiN.js","assets/readable-BmS1kvD9.js","assets/index-DwdYNYJQ.js","assets/canonicalize-Bd8h0v92.js","assets/index-DaLBP2NZ.js","assets/N3StreamParser-B-f1M1sF.js","assets/CustomRdfXmlParser-wBGJPuYp.js","assets/index-C_aFKQUK.js","assets/CustomJsonLdSerializer-CsefpH21.js","assets/main-KIe0bCZV.js","assets/main-bFWG0oY6.js","assets/main-C1w4gxl4.js","assets/main-agd2fCEO.js","assets/main-Bda561Bu.js","assets/main-GxnDfcg-.js","assets/main-BTDzwsVJ.js","assets/main-Dth2_RXj.js","assets/index-D0g9tKlA.js","assets/index-BwoghzZ2.js"])))=>i.map(i=>d[i]); -var lfn=Object.defineProperty;var L6t=r=>{throw TypeError(r)};var cfn=(r,o,l)=>o in r?lfn(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l;var S8e=(r,o,l)=>cfn(r,typeof o!="symbol"?o+"":o,l),x8e=(r,o,l)=>o.has(r)||L6t("Cannot "+l);var Kh=(r,o,l)=>(x8e(r,o,"read from private field"),l?l.call(r):o.get(r)),Jx=(r,o,l)=>o.has(r)?L6t("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(r):o.set(r,l),t3=(r,o,l,a)=>(x8e(r,o,"write to private field"),a?a.call(r,l):o.set(r,l),l),E8e=(r,o,l)=>(x8e(r,o,"access private method"),l);const Dne=Object.freeze(Object.defineProperty({__proto__:null,get _void(){return _5n},get acl(){return n3n},get as(){return i3n},get bibo(){return s3n},get cc(){return c3n},get cert(){return a3n},get cnt(){return d3n},get constant(){return p3n},get crm(){return b3n},get csvw(){return m3n},get ctag(){return y3n},get dash(){return x3n},get dashSparql(){return C3n},get dbo(){return T3n},get dc11(){return M3n},get dcam(){return O3n},get dcat(){return R3n},get dcmitype(){return L3n},get dcterms(){return $3n},get default(){return Qxt},get dig(){return N3n},get discipline(){return F3n},get doap(){return H3n},get dpv(){return U3n},get dqv(){return W3n},get dtype(){return q3n},get duv(){return Y3n},get earl(){return Q3n},get ebucore(){return e4n},get exif(){return n4n},get foaf(){return i4n},get frbr(){return s4n},get geo(){return c4n},get geof(){return a4n},get geor(){return d4n},get gml(){return p4n},get gn(){return b4n},get gr(){return m4n},get grddl(){return y4n},get gs1(){return C4n},get gtfs(){return x4n},get http(){return T4n},get hydra(){return M4n},get ical(){return O4n},get la(){return R4n},get ldp(){return L4n},get list(){return $4n},get locn(){return N4n},get log(){return F4n},get lvont(){return H4n},get m4i(){return U4n},get ma(){return W4n},get mads(){return q4n},get math(){return Y4n},get oa(){return Q4n},get og(){return e6n},get oidc(){return n6n},get org(){return i6n},get owl(){return s6n},get pim(){return c6n},get prefix(){return a6n},get prov(){return d6n},get qb(){return p6n},get qkdv(){return b6n},get quantitykind(){return m6n},get qudt(){return y6n},get rdau(){return C6n},get rdf(){return Yv},get rdfa(){return E6n},get rdfs(){return I6n},get rev(){return P6n},get rico(){return _6n},get rif(){return U5n},get rr(){return A6n},get rss(){return j6n},get schema(){return D6n},get sd(){return B6n},get sdmx(){return z6n},get sem(){return K6n},get set(){return G6n},get sf(){return V6n},get sh(){return X6n},get shex(){return J6n},get shsh(){return Z6n},get sioc(){return t5n},get skos(){return r5n},get skosxl(){return o5n},get solid(){return l5n},get sosa(){return u5n},get sou(){return f5n},get ssn(){return h5n},get stat(){return g5n},get string(){return w5n},get test(){return v5n},get time(){return k5n},get unit(){return S5n},get v(){return W5n},get vaem(){return E5n},get vann(){return I5n},get vcard(){return P5n},get vs(){return A5n},get wdr(){return q5n},get wdrs(){return j5n},get wgs(){return D5n},get xhv(){return B5n},get xkos(){return z5n},get xml(){return Y5n},get xsd(){return $F}},Symbol.toStringTag,{value:"Module"}));(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))a(p);new MutationObserver(p=>{for(const g of p)if(g.type==="childList")for(const w of g.addedNodes)w.tagName==="LINK"&&w.rel==="modulepreload"&&a(w)}).observe(document,{childList:!0,subtree:!0});function l(p){const g={};return p.integrity&&(g.integrity=p.integrity),p.referrerPolicy&&(g.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?g.credentials="include":p.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function a(p){if(p.ep)return;p.ep=!0;const g=l(p);fetch(p.href,g)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function TSe(r){const o=Object.create(null);for(const l of r.split(","))o[l]=1;return l=>l in o}const ou={},JO=[],h3=()=>{},ufn=()=>!1,xre=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),ISe=r=>r.startsWith("onUpdate:"),Xf=Object.assign,MSe=(r,o)=>{const l=r.indexOf(o);l>-1&&r.splice(l,1)},afn=Object.prototype.hasOwnProperty,pc=(r,o)=>afn.call(r,o),Co=Array.isArray,QO=r=>Ere(r)==="[object Map]",FCt=r=>Ere(r)==="[object Set]",Uo=r=>typeof r=="function",Zu=r=>typeof r=="string",e5=r=>typeof r=="symbol",yu=r=>r!==null&&typeof r=="object",zCt=r=>(yu(r)||Uo(r))&&Uo(r.then)&&Uo(r.catch),HCt=Object.prototype.toString,Ere=r=>HCt.call(r),ffn=r=>Ere(r).slice(8,-1),KCt=r=>Ere(r)==="[object Object]",PSe=r=>Zu(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,IF=TSe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tre=r=>{const o=Object.create(null);return l=>o[l]||(o[l]=r(l))},dfn=/-(\w)/g,om=Tre(r=>r.replace(dfn,(o,l)=>l?l.toUpperCase():"")),hfn=/\B([A-Z])/g,B7=Tre(r=>r.replace(hfn,"-$1").toLowerCase()),Ire=Tre(r=>r.charAt(0).toUpperCase()+r.slice(1)),fne=Tre(r=>r?`on${Ire(r)}`:""),z6=(r,o)=>!Object.is(r,o),T8e=(r,...o)=>{for(let l=0;l{Object.defineProperty(r,o,{configurable:!0,enumerable:!1,writable:a,value:l})},pfn=r=>{const o=parseFloat(r);return isNaN(o)?r:o},gfn=r=>{const o=Zu(r)?Number(r):NaN;return isNaN(o)?r:o};let j6t;const Mre=()=>j6t||(j6t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"||typeof window<"u"?window:{});function A1(r){if(Co(r)){const o={};for(let l=0;l{if(l){const a=l.split(wfn);a.length>1&&(o[a[0].trim()]=a[1].trim())}}),o}function yo(r){let o="";if(Zu(r))o=r;else if(Co(r))for(let l=0;l!!(r&&r.__v_isRef===!0),Rl=r=>Zu(r)?r:r==null?"":Co(r)||yu(r)&&(r.toString===HCt||!Uo(r.toString))?WCt(r)?Rl(r.value):JSON.stringify(r,VCt,2):String(r),VCt=(r,o)=>WCt(o)?VCt(r,o.value):QO(o)?{[`Map(${o.size})`]:[...o.entries()].reduce((l,[a,p],g)=>(l[I8e(a,g)+" =>"]=p,l),{})}:FCt(o)?{[`Set(${o.size})`]:[...o.values()].map(l=>I8e(l))}:e5(o)?I8e(o):yu(o)&&!Co(o)&&!KCt(o)?String(o):o,I8e=(r,o="")=>{var l;return e5(r)?`Symbol(${(l=r.description)!=null?l:o})`:r};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Rp;class qCt{constructor(o=!1){this.detached=o,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Rp,!o&&Rp&&(this.index=(Rp.scopes||(Rp.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let o,l;if(this.scopes)for(o=0,l=this.scopes.length;o0)return;if(PF){let o=PF;for(PF=void 0;o;){const l=o.next;o.next=void 0,o.flags&=-9,o=l}}let r;for(;MF;){let o=MF;for(MF=void 0;o;){const l=o.next;if(o.next=void 0,o.flags&=-9,o.flags&1)try{o.trigger()}catch(a){r||(r=a)}o=l}}if(r)throw r}function ZCt(r){for(let o=r.deps;o;o=o.nextDep)o.version=-1,o.prevActiveLink=o.dep.activeLink,o.dep.activeLink=o}function eSt(r){let o,l=r.depsTail,a=l;for(;a;){const p=a.prevDep;a.version===-1?(a===l&&(l=p),ASe(a),Cfn(a)):o=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=p}r.deps=o,r.depsTail=l}function q7e(r){for(let o=r.deps;o;o=o.nextDep)if(o.dep.version!==o.version||o.dep.computed&&(tSt(o.dep.computed)||o.dep.version!==o.version))return!0;return!!r._dirty}function tSt(r){if(r.flags&4&&!(r.flags&16)||(r.flags&=-17,r.globalVersion===JF))return;r.globalVersion=JF;const o=r.dep;if(r.flags|=2,o.version>0&&!r.isSSR&&r.deps&&!q7e(r)){r.flags&=-3;return}const l=mu,a=sy;mu=r,sy=!0;try{ZCt(r);const p=r.fn(r._value);(o.version===0||z6(p,r._value))&&(r._value=p,o.version++)}catch(p){throw o.version++,p}finally{mu=l,sy=a,eSt(r),r.flags&=-3}}function ASe(r,o=!1){const{dep:l,prevSub:a,nextSub:p}=r;if(a&&(a.nextSub=p,r.prevSub=void 0),p&&(p.prevSub=a,r.nextSub=void 0),l.subs===r&&(l.subs=a,!a&&l.computed)){l.computed.flags&=-5;for(let g=l.computed.deps;g;g=g.nextDep)ASe(g,!0)}!o&&!--l.sc&&l.map&&l.map.delete(l.key)}function Cfn(r){const{prevDep:o,nextDep:l}=r;o&&(o.nextDep=l,r.prevDep=void 0),l&&(l.prevDep=o,r.nextDep=void 0)}let sy=!0;const nSt=[];function F7(){nSt.push(sy),sy=!1}function z7(){const r=nSt.pop();sy=r===void 0?!0:r}function $6t(r){const{cleanup:o}=r;if(r.cleanup=void 0,o){const l=mu;mu=void 0;try{o()}finally{mu=l}}}let JF=0;class Sfn{constructor(o,l){this.sub=o,this.dep=l,this.version=l.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Pre{constructor(o){this.computed=o,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(o){if(!mu||!sy||mu===this.computed)return;let l=this.activeLink;if(l===void 0||l.sub!==mu)l=this.activeLink=new Sfn(mu,this),mu.deps?(l.prevDep=mu.depsTail,mu.depsTail.nextDep=l,mu.depsTail=l):mu.deps=mu.depsTail=l,rSt(l);else if(l.version===-1&&(l.version=this.version,l.nextDep)){const a=l.nextDep;a.prevDep=l.prevDep,l.prevDep&&(l.prevDep.nextDep=a),l.prevDep=mu.depsTail,l.nextDep=void 0,mu.depsTail.nextDep=l,mu.depsTail=l,mu.deps===l&&(mu.deps=a)}return l}trigger(o){this.version++,JF++,this.notify(o)}notify(o){_Se();try{for(let l=this.subs;l;l=l.prevSub)l.sub.notify()&&l.sub.dep.notify()}finally{RSe()}}}function rSt(r){if(r.dep.sc++,r.sub.flags&4){const o=r.dep.computed;if(o&&!r.dep.subs){o.flags|=20;for(let a=o.deps;a;a=a.nextDep)rSt(a)}const l=r.dep.subs;l!==r&&(r.prevSub=l,l&&(l.nextSub=r)),r.dep.subs=r}}const Nne=new WeakMap,CE=Symbol(""),X7e=Symbol(""),QF=Symbol("");function O1(r,o,l){if(sy&&mu){let a=Nne.get(r);a||Nne.set(r,a=new Map);let p=a.get(l);p||(a.set(l,p=new Pre),p.map=a,p.key=l),p.track()}}function _6(r,o,l,a,p,g){const w=Nne.get(r);if(!w){JF++;return}const y=S=>{S&&S.trigger()};if(_Se(),o==="clear")w.forEach(y);else{const S=Co(r),E=S&&PSe(l);if(S&&l==="length"){const I=Number(a);w.forEach((P,_)=>{(_==="length"||_===QF||!e5(_)&&_>=I)&&y(P)})}else switch((l!==void 0||w.has(void 0))&&y(w.get(l)),E&&y(w.get(QF)),o){case"add":S?E&&y(w.get("length")):(y(w.get(CE)),QO(r)&&y(w.get(X7e)));break;case"delete":S||(y(w.get(CE)),QO(r)&&y(w.get(X7e)));break;case"set":QO(r)&&y(w.get(CE));break}}RSe()}function xfn(r,o){const l=Nne.get(r);return l&&l.get(o)}function RO(r){const o=Vl(r);return o===r?o:(O1(o,"iterate",QF),nm(r)?o:o.map(_1))}function Ore(r){return O1(r=Vl(r),"iterate",QF),r}const Efn={__proto__:null,[Symbol.iterator](){return P8e(this,Symbol.iterator,_1)},concat(...r){return RO(this).concat(...r.map(o=>Co(o)?RO(o):o))},entries(){return P8e(this,"entries",r=>(r[1]=_1(r[1]),r))},every(r,o){return E6(this,"every",r,o,void 0,arguments)},filter(r,o){return E6(this,"filter",r,o,l=>l.map(_1),arguments)},find(r,o){return E6(this,"find",r,o,_1,arguments)},findIndex(r,o){return E6(this,"findIndex",r,o,void 0,arguments)},findLast(r,o){return E6(this,"findLast",r,o,_1,arguments)},findLastIndex(r,o){return E6(this,"findLastIndex",r,o,void 0,arguments)},forEach(r,o){return E6(this,"forEach",r,o,void 0,arguments)},includes(...r){return O8e(this,"includes",r)},indexOf(...r){return O8e(this,"indexOf",r)},join(r){return RO(this).join(r)},lastIndexOf(...r){return O8e(this,"lastIndexOf",r)},map(r,o){return E6(this,"map",r,o,void 0,arguments)},pop(){return rF(this,"pop")},push(...r){return rF(this,"push",r)},reduce(r,...o){return D6t(this,"reduce",r,o)},reduceRight(r,...o){return D6t(this,"reduceRight",r,o)},shift(){return rF(this,"shift")},some(r,o){return E6(this,"some",r,o,void 0,arguments)},splice(...r){return rF(this,"splice",r)},toReversed(){return RO(this).toReversed()},toSorted(r){return RO(this).toSorted(r)},toSpliced(...r){return RO(this).toSpliced(...r)},unshift(...r){return rF(this,"unshift",r)},values(){return P8e(this,"values",_1)}};function P8e(r,o,l){const a=Ore(r),p=a[o]();return a!==r&&!nm(r)&&(p._next=p.next,p.next=()=>{const g=p._next();return g.value&&(g.value=l(g.value)),g}),p}const Tfn=Array.prototype;function E6(r,o,l,a,p,g){const w=Ore(r),y=w!==r&&!nm(r),S=w[o];if(S!==Tfn[o]){const P=S.apply(r,g);return y?_1(P):P}let E=l;w!==r&&(y?E=function(P,_){return l.call(this,_1(P),_,r)}:l.length>2&&(E=function(P,_){return l.call(this,P,_,r)}));const I=S.call(w,E,a);return y&&p?p(I):I}function D6t(r,o,l,a){const p=Ore(r);let g=l;return p!==r&&(nm(r)?l.length>3&&(g=function(w,y,S){return l.call(this,w,y,S,r)}):g=function(w,y,S){return l.call(this,w,_1(y),S,r)}),p[o](g,...a)}function O8e(r,o,l){const a=Vl(r);O1(a,"iterate",QF);const p=a[o](...l);return(p===-1||p===!1)&&$Se(l[0])?(l[0]=Vl(l[0]),a[o](...l)):p}function rF(r,o,l=[]){F7(),_Se();const a=Vl(r)[o].apply(r,l);return RSe(),z7(),a}const Ifn=TSe("__proto__,__v_isRef,__isVue"),iSt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(e5));function Mfn(r){e5(r)||(r=String(r));const o=Vl(this);return O1(o,"has",r),o.hasOwnProperty(r)}class oSt{constructor(o=!1,l=!1){this._isReadonly=o,this._isShallow=l}get(o,l,a){if(l==="__v_skip")return o.__v_skip;const p=this._isReadonly,g=this._isShallow;if(l==="__v_isReactive")return!p;if(l==="__v_isReadonly")return p;if(l==="__v_isShallow")return g;if(l==="__v_raw")return a===(p?g?Nfn:uSt:g?cSt:lSt).get(o)||Object.getPrototypeOf(o)===Object.getPrototypeOf(a)?o:void 0;const w=Co(o);if(!p){let S;if(w&&(S=Efn[l]))return S;if(l==="hasOwnProperty")return Mfn}const y=Reflect.get(o,l,Ef(o)?o:a);return(e5(l)?iSt.has(l):Ifn(l))||(p||O1(o,"get",l),g)?y:Ef(y)?w&&PSe(l)?y:y.value:yu(y)?p?_re(y):aH(y):y}}class sSt extends oSt{constructor(o=!1){super(!1,o)}set(o,l,a,p){let g=o[l];if(!this._isShallow){const S=AE(g);if(!nm(a)&&!AE(a)&&(g=Vl(g),a=Vl(a)),!Co(o)&&Ef(g)&&!Ef(a))return S?!1:(g.value=a,!0)}const w=Co(o)&&PSe(l)?Number(l)r,Rte=r=>Reflect.getPrototypeOf(r);function Afn(r,o,l){return function(...a){const p=this.__v_raw,g=Vl(p),w=QO(g),y=r==="entries"||r===Symbol.iterator&&w,S=r==="keys"&&w,E=p[r](...a),I=l?Y7e:o?J7e:_1;return!o&&O1(g,"iterate",S?X7e:CE),{next(){const{value:P,done:_}=E.next();return _?{value:P,done:_}:{value:y?[I(P[0]),I(P[1])]:I(P),done:_}},[Symbol.iterator](){return this}}}}function Ate(r){return function(...o){return r==="delete"?!1:r==="clear"?void 0:this}}function Lfn(r,o){const l={get(p){const g=this.__v_raw,w=Vl(g),y=Vl(p);r||(z6(p,y)&&O1(w,"get",p),O1(w,"get",y));const{has:S}=Rte(w),E=o?Y7e:r?J7e:_1;if(S.call(w,p))return E(g.get(p));if(S.call(w,y))return E(g.get(y));g!==w&&g.get(p)},get size(){const p=this.__v_raw;return!r&&O1(Vl(p),"iterate",CE),Reflect.get(p,"size",p)},has(p){const g=this.__v_raw,w=Vl(g),y=Vl(p);return r||(z6(p,y)&&O1(w,"has",p),O1(w,"has",y)),p===y?g.has(p):g.has(p)||g.has(y)},forEach(p,g){const w=this,y=w.__v_raw,S=Vl(y),E=o?Y7e:r?J7e:_1;return!r&&O1(S,"iterate",CE),y.forEach((I,P)=>p.call(g,E(I),E(P),w))}};return Xf(l,r?{add:Ate("add"),set:Ate("set"),delete:Ate("delete"),clear:Ate("clear")}:{add(p){!o&&!nm(p)&&!AE(p)&&(p=Vl(p));const g=Vl(this);return Rte(g).has.call(g,p)||(g.add(p),_6(g,"add",p,p)),this},set(p,g){!o&&!nm(g)&&!AE(g)&&(g=Vl(g));const w=Vl(this),{has:y,get:S}=Rte(w);let E=y.call(w,p);E||(p=Vl(p),E=y.call(w,p));const I=S.call(w,p);return w.set(p,g),E?z6(g,I)&&_6(w,"set",p,g):_6(w,"add",p,g),this},delete(p){const g=Vl(this),{has:w,get:y}=Rte(g);let S=w.call(g,p);S||(p=Vl(p),S=w.call(g,p)),y&&y.call(g,p);const E=g.delete(p);return S&&_6(g,"delete",p,void 0),E},clear(){const p=Vl(this),g=p.size!==0,w=p.clear();return g&&_6(p,"clear",void 0,void 0),w}}),["keys","values","entries",Symbol.iterator].forEach(p=>{l[p]=Afn(p,r,o)}),l}function LSe(r,o){const l=Lfn(r,o);return(a,p,g)=>p==="__v_isReactive"?!r:p==="__v_isReadonly"?r:p==="__v_raw"?a:Reflect.get(pc(l,p)&&p in a?l:a,p,g)}const jfn={get:LSe(!1,!1)},$fn={get:LSe(!1,!0)},Dfn={get:LSe(!0,!1)};const lSt=new WeakMap,cSt=new WeakMap,uSt=new WeakMap,Nfn=new WeakMap;function Bfn(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ffn(r){return r.__v_skip||!Object.isExtensible(r)?0:Bfn(ffn(r))}function aH(r){return AE(r)?r:jSe(r,!1,Ofn,jfn,lSt)}function zfn(r){return jSe(r,!1,Rfn,$fn,cSt)}function _re(r){return jSe(r,!0,_fn,Dfn,uSt)}function jSe(r,o,l,a,p){if(!yu(r)||r.__v_raw&&!(o&&r.__v_isReactive))return r;const g=p.get(r);if(g)return g;const w=Ffn(r);if(w===0)return r;const y=new Proxy(r,w===2?a:l);return p.set(r,y),y}function ZO(r){return AE(r)?ZO(r.__v_raw):!!(r&&r.__v_isReactive)}function AE(r){return!!(r&&r.__v_isReadonly)}function nm(r){return!!(r&&r.__v_isShallow)}function $Se(r){return r?!!r.__v_raw:!1}function Vl(r){const o=r&&r.__v_raw;return o?Vl(o):r}function SE(r){return!pc(r,"__v_skip")&&Object.isExtensible(r)&&UCt(r,"__v_skip",!0),r}const _1=r=>yu(r)?aH(r):r,J7e=r=>yu(r)?_re(r):r;function Ef(r){return r?r.__v_isRef===!0:!1}function Qo(r){return Hfn(r,!1)}function Hfn(r,o){return Ef(r)?r:new Kfn(r,o)}class Kfn{constructor(o,l){this.dep=new Pre,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=l?o:Vl(o),this._value=l?o:_1(o),this.__v_isShallow=l}get value(){return this.dep.track(),this._value}set value(o){const l=this._rawValue,a=this.__v_isShallow||nm(o)||AE(o);o=a?o:Vl(o),z6(o,l)&&(this._rawValue=o,this._value=a?o:_1(o),this.dep.trigger())}}function Nr(r){return Ef(r)?r.value:r}function Wl(r){return Uo(r)?r():Nr(r)}const Ufn={get:(r,o,l)=>o==="__v_raw"?r:Nr(Reflect.get(r,o,l)),set:(r,o,l,a)=>{const p=r[o];return Ef(p)&&!Ef(l)?(p.value=l,!0):Reflect.set(r,o,l,a)}};function aSt(r){return ZO(r)?r:new Proxy(r,Ufn)}class Gfn{constructor(o){this.__v_isRef=!0,this._value=void 0;const l=this.dep=new Pre,{get:a,set:p}=o(l.track.bind(l),l.trigger.bind(l));this._get=a,this._set=p}get value(){return this._value=this._get()}set value(o){this._set(o)}}function Wfn(r){return new Gfn(r)}function Vfn(r){const o=Co(r)?new Array(r.length):{};for(const l in r)o[l]=fSt(r,l);return o}class qfn{constructor(o,l,a){this._object=o,this._key=l,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const o=this._object[this._key];return this._value=o===void 0?this._defaultValue:o}set value(o){this._object[this._key]=o}get dep(){return xfn(Vl(this._object),this._key)}}class Xfn{constructor(o){this._getter=o,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ia(r,o,l){return Ef(r)?r:Uo(r)?new Xfn(r):yu(r)&&arguments.length>1?fSt(r,o,l):Qo(r)}function fSt(r,o,l){const a=r[o];return Ef(a)?a:new qfn(r,o,l)}class Yfn{constructor(o,l,a){this.fn=o,this.setter=l,this._value=void 0,this.dep=new Pre(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=JF-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!l,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&mu!==this)return QCt(this,!0),!0}get value(){const o=this.dep.track();return tSt(this),o&&(o.version=this.dep.version),this._value}set value(o){this.setter&&this.setter(o)}}function Jfn(r,o,l=!1){let a,p;return Uo(r)?a=r:(a=r.get,p=r.set),new Yfn(a,p,l)}const Lte={},Bne=new WeakMap;let cE;function Qfn(r,o=!1,l=cE){if(l){let a=Bne.get(l);a||Bne.set(l,a=[]),a.push(r)}}function Zfn(r,o,l=ou){const{immediate:a,deep:p,once:g,scheduler:w,augmentJob:y,call:S}=l,E=oe=>p?oe:nm(oe)||p===!1||p===0?R6(oe,1):R6(oe);let I,P,_,R,$=!1,K=!1;if(Ef(r)?(P=()=>r.value,$=nm(r)):ZO(r)?(P=()=>E(r),$=!0):Co(r)?(K=!0,$=r.some(oe=>ZO(oe)||nm(oe)),P=()=>r.map(oe=>{if(Ef(oe))return oe.value;if(ZO(oe))return E(oe);if(Uo(oe))return S?S(oe,2):oe()})):Uo(r)?o?P=S?()=>S(r,2):r:P=()=>{if(_){F7();try{_()}finally{z7()}}const oe=cE;cE=I;try{return S?S(r,3,[R]):r(R)}finally{cE=oe}}:P=h3,o&&p){const oe=P,$e=p===!0?1/0:p;P=()=>R6(oe(),$e)}const q=OSe(),Q=()=>{I.stop(),q&&q.active&&MSe(q.effects,I)};if(g&&o){const oe=o;o=(...$e)=>{oe(...$e),Q()}}let ee=K?new Array(r.length).fill(Lte):Lte;const J=oe=>{if(!(!(I.flags&1)||!I.dirty&&!oe))if(o){const $e=I.run();if(p||$||(K?$e.some((et,wt)=>z6(et,ee[wt])):z6($e,ee))){_&&_();const et=cE;cE=I;try{const wt=[$e,ee===Lte?void 0:K&&ee[0]===Lte?[]:ee,R];S?S(o,3,wt):o(...wt),ee=$e}finally{cE=et}}}else I.run()};return y&&y(J),I=new YCt(P),I.scheduler=w?()=>w(J,!1):J,R=oe=>Qfn(oe,!1,I),_=I.onStop=()=>{const oe=Bne.get(I);if(oe){if(S)S(oe,4);else for(const $e of oe)$e();Bne.delete(I)}},o?a?J(!0):ee=I.run():w?w(J.bind(null,!0),!0):I.run(),Q.pause=I.pause.bind(I),Q.resume=I.resume.bind(I),Q.stop=Q,Q}function R6(r,o=1/0,l){if(o<=0||!yu(r)||r.__v_skip||(l=l||new Set,l.has(r)))return r;if(l.add(r),o--,Ef(r))R6(r.value,o,l);else if(Co(r))for(let a=0;a{R6(a,o,l)});else if(KCt(r)){for(const a in r)R6(r[a],o,l);for(const a of Object.getOwnPropertySymbols(r))Object.prototype.propertyIsEnumerable.call(r,a)&&R6(r[a],o,l)}return r}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function fH(r,o,l,a){try{return a?r(...a):r()}catch(p){Rre(p,o,l)}}function ly(r,o,l,a){if(Uo(r)){const p=fH(r,o,l,a);return p&&zCt(p)&&p.catch(g=>{Rre(g,o,l)}),p}if(Co(r)){const p=[];for(let g=0;g>>1,p=Ap[a],g=ZF(p);g=ZF(l)?Ap.push(r):Ap.splice(tdn(o),0,r),r.flags|=1,hSt()}}function hSt(){Fne||(Fne=dSt.then(gSt))}function ndn(r){Co(r)?e_.push(...r):d7&&r.id===-1?d7.splice(NO+1,0,r):r.flags&1||(e_.push(r),r.flags|=1),hSt()}function N6t(r,o,l=i3+1){for(;lZF(l)-ZF(a));if(e_.length=0,d7){d7.push(...o);return}for(d7=o,NO=0;NOr.id==null?r.flags&2?-1:1/0:r.id;function gSt(r){try{for(i3=0;i3{a._d&&J6t(-1);const g=zne(o);let w;try{w=r(...p)}finally{zne(g),a._d&&J6t(1)}return w};return a._n=!0,a._c=!0,a._d=!0,a}function E3(r,o){if(ph===null)return r;const l=Bre(ph),a=r.dirs||(r.dirs=[]);for(let p=0;pr.__isTeleport,OF=r=>r&&(r.disabled||r.disabled===""),B6t=r=>r&&(r.defer||r.defer===""),F6t=r=>typeof SVGElement<"u"&&r instanceof SVGElement,z6t=r=>typeof MathMLElement=="function"&&r instanceof MathMLElement,Q7e=(r,o)=>{const l=r&&r.to;return Zu(l)?o?o(l):null:l},vSt={name:"Teleport",__isTeleport:!0,process(r,o,l,a,p,g,w,y,S,E){const{mc:I,pc:P,pbc:_,o:{insert:R,querySelector:$,createText:K,createComment:q}}=E,Q=OF(o.props);let{shapeFlag:ee,children:J,dynamicChildren:oe}=o;if(r==null){const $e=o.el=K(""),et=o.anchor=K("");R($e,l,a),R(et,l,a);const wt=(ce,Be)=>{ee&16&&(p&&p.isCE&&(p.ce._teleportTarget=ce),I(J,ce,Be,p,g,w,y,S))},bt=()=>{const ce=o.target=Q7e(o.props,$),Be=ySt(ce,o,K,R);ce&&(w!=="svg"&&F6t(ce)?w="svg":w!=="mathml"&&z6t(ce)&&(w="mathml"),Q||(wt(ce,Be),hne(o,!1)))};Q&&(wt(l,et),hne(o,!0)),B6t(o.props)?_p(()=>{bt(),o.el.__isMounted=!0},g):bt()}else{if(B6t(o.props)&&!r.el.__isMounted){_p(()=>{vSt.process(r,o,l,a,p,g,w,y,S,E),delete r.el.__isMounted},g);return}o.el=r.el,o.targetStart=r.targetStart;const $e=o.anchor=r.anchor,et=o.target=r.target,wt=o.targetAnchor=r.targetAnchor,bt=OF(r.props),ce=bt?l:et,Be=bt?$e:wt;if(w==="svg"||F6t(et)?w="svg":(w==="mathml"||z6t(et))&&(w="mathml"),oe?(_(r.dynamicChildren,oe,ce,p,g,w,y),HSe(r,o,!0)):S||P(r,o,ce,Be,p,g,w,y,!1),Q)bt?o.props&&r.props&&o.props.to!==r.props.to&&(o.props.to=r.props.to):jte(o,l,$e,E,1);else if((o.props&&o.props.to)!==(r.props&&r.props.to)){const ae=o.target=Q7e(o.props,$);ae&&jte(o,ae,null,E,0)}else bt&&jte(o,et,wt,E,1);hne(o,Q)}},remove(r,o,l,{um:a,o:{remove:p}},g){const{shapeFlag:w,children:y,anchor:S,targetStart:E,targetAnchor:I,target:P,props:_}=r;if(P&&(p(E),p(I)),g&&p(S),w&16){const R=g||!OF(_);for(let $=0;${r.isMounted=!0}),jre(()=>{r.isUnmounting=!0}),r}const Jw=[Function,Array],kSt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jw,onEnter:Jw,onAfterEnter:Jw,onEnterCancelled:Jw,onBeforeLeave:Jw,onLeave:Jw,onAfterLeave:Jw,onLeaveCancelled:Jw,onBeforeAppear:Jw,onAppear:Jw,onAfterAppear:Jw,onAppearCancelled:Jw},CSt=r=>{const o=r.subTree;return o.component?CSt(o.component):o},sdn={name:"BaseTransition",props:kSt,setup(r,{slots:o}){const l=H7(),a=odn();return()=>{const p=o.default&&ESt(o.default(),!0);if(!p||!p.length)return;const g=SSt(p),w=Vl(r),{mode:y}=w;if(a.isLeaving)return _8e(g);const S=H6t(g);if(!S)return _8e(g);let E=Z7e(S,w,a,l,P=>E=P);S.type!==Lp&&ez(S,E);let I=l.subTree&&H6t(l.subTree);if(I&&I.type!==Lp&&!fE(S,I)&&CSt(l).type!==Lp){let P=Z7e(I,w,a,l);if(ez(I,P),y==="out-in"&&S.type!==Lp)return a.isLeaving=!0,P.afterLeave=()=>{a.isLeaving=!1,l.job.flags&8||l.update(),delete P.afterLeave,I=void 0},_8e(g);y==="in-out"&&S.type!==Lp?P.delayLeave=(_,R,$)=>{const K=xSt(a,I);K[String(I.key)]=I,_[h7]=()=>{R(),_[h7]=void 0,delete E.delayedLeave,I=void 0},E.delayedLeave=()=>{$(),delete E.delayedLeave,I=void 0}}:I=void 0}else I&&(I=void 0);return g}}};function SSt(r){let o=r[0];if(r.length>1){for(const l of r)if(l.type!==Lp){o=l;break}}return o}const ldn=sdn;function xSt(r,o){const{leavingVNodes:l}=r;let a=l.get(o.type);return a||(a=Object.create(null),l.set(o.type,a)),a}function Z7e(r,o,l,a,p){const{appear:g,mode:w,persisted:y=!1,onBeforeEnter:S,onEnter:E,onAfterEnter:I,onEnterCancelled:P,onBeforeLeave:_,onLeave:R,onAfterLeave:$,onLeaveCancelled:K,onBeforeAppear:q,onAppear:Q,onAfterAppear:ee,onAppearCancelled:J}=o,oe=String(r.key),$e=xSt(l,r),et=(ce,Be)=>{ce&&ly(ce,a,9,Be)},wt=(ce,Be)=>{const ae=Be[1];et(ce,Be),Co(ce)?ce.every(xe=>xe.length<=1)&&ae():ce.length<=1&&ae()},bt={mode:w,persisted:y,beforeEnter(ce){let Be=S;if(!l.isMounted)if(g)Be=q||S;else return;ce[h7]&&ce[h7](!0);const ae=$e[oe];ae&&fE(r,ae)&&ae.el[h7]&&ae.el[h7](),et(Be,[ce])},enter(ce){let Be=E,ae=I,xe=P;if(!l.isMounted)if(g)Be=Q||E,ae=ee||I,xe=J||P;else return;let U=!1;const He=ce[$te]=yt=>{U||(U=!0,yt?et(xe,[ce]):et(ae,[ce]),bt.delayedLeave&&bt.delayedLeave(),ce[$te]=void 0)};Be?wt(Be,[ce,He]):He()},leave(ce,Be){const ae=String(r.key);if(ce[$te]&&ce[$te](!0),l.isUnmounting)return Be();et(_,[ce]);let xe=!1;const U=ce[h7]=He=>{xe||(xe=!0,Be(),He?et(K,[ce]):et($,[ce]),ce[h7]=void 0,$e[ae]===r&&delete $e[ae])};$e[ae]=r,R?wt(R,[ce,U]):U()},clone(ce){const Be=Z7e(ce,o,l,a,p);return p&&p(Be),Be}};return bt}function _8e(r){if(Are(r))return r=O7(r),r.children=null,r}function H6t(r){if(!Are(r))return mSt(r.type)&&r.children?SSt(r.children):r;const{shapeFlag:o,children:l}=r;if(l){if(o&16)return l[0];if(o&32&&Uo(l.default))return l.default()}}function ez(r,o){r.shapeFlag&6&&r.component?(r.transition=o,ez(r.component.subTree,o)):r.shapeFlag&128?(r.ssContent.transition=o.clone(r.ssContent),r.ssFallback.transition=o.clone(r.ssFallback)):r.transition=o}function ESt(r,o=!1,l){let a=[],p=0;for(let g=0;g1)for(let g=0;gHne($,o&&(Co(o)?o[K]:o),l,a,p));return}if(t_(a)&&!p){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Hne(r,o,l,a.component.subTree);return}const g=a.shapeFlag&4?Bre(a.component):a.el,w=p?null:g,{i:y,r:S}=r,E=o&&o.r,I=y.refs===ou?y.refs={}:y.refs,P=y.setupState,_=Vl(P),R=P===ou?()=>!1:$=>pc(_,$);if(E!=null&&E!==S&&(Zu(E)?(I[E]=null,R(E)&&(P[E]=null)):Ef(E)&&(E.value=null)),Uo(S))fH(S,y,12,[w,I]);else{const $=Zu(S),K=Ef(S);if($||K){const q=()=>{if(r.f){const Q=$?R(S)?P[S]:I[S]:S.value;p?Co(Q)&&MSe(Q,g):Co(Q)?Q.includes(g)||Q.push(g):$?(I[S]=[g],R(S)&&(P[S]=I[S])):(S.value=[g],r.k&&(I[r.k]=S.value))}else $?(I[S]=w,R(S)&&(P[S]=w)):K&&(S.value=w,r.k&&(I[r.k]=w))};w?(q.id=-1,_p(q,l)):q()}}}Mre().requestIdleCallback;Mre().cancelIdleCallback;const t_=r=>!!r.type.__asyncLoader,Are=r=>r.type.__isKeepAlive;function cdn(r,o){ISt(r,"a",o)}function udn(r,o){ISt(r,"da",o)}function ISt(r,o,l=Uh){const a=r.__wdc||(r.__wdc=()=>{let p=l;for(;p;){if(p.isDeactivated)return;p=p.parent}return r()});if(Lre(o,a,l),l){let p=l.parent;for(;p&&p.parent;)Are(p.parent.vnode)&&adn(a,o,l,p),p=p.parent}}function adn(r,o,l,a){const p=Lre(o,r,a,!0);$re(()=>{MSe(a[o],p)},l)}function Lre(r,o,l=Uh,a=!1){if(l){const p=l[r]||(l[r]=[]),g=o.__weh||(o.__weh=(...w)=>{F7();const y=dH(l),S=ly(o,l,r,w);return y(),z7(),S});return a?p.unshift(g):p.push(g),g}}const t5=r=>(o,l=Uh)=>{(!rz||r==="sp")&&Lre(r,(...a)=>o(...a),l)},MSt=t5("bm"),bb=t5("m"),fdn=t5("bu"),ddn=t5("u"),jre=t5("bum"),$re=t5("um"),hdn=t5("sp"),pdn=t5("rtg"),gdn=t5("rtc");function bdn(r,o=Uh){Lre("ec",r,o)}const NSe="components",wdn="directives";function Ei(r,o){return BSe(NSe,r,!0,o)||r}const PSt=Symbol.for("v-ndc");function ko(r){return Zu(r)?BSe(NSe,r,!1)||r:r||PSt}function T3(r){return BSe(wdn,r)}function BSe(r,o,l=!0,a=!1){const p=ph||Uh;if(p){const g=p.type;if(r===NSe){const y=nhn(g,!1);if(y&&(y===o||y===om(o)||y===Ire(om(o))))return g}const w=K6t(p[r]||g[r],o)||K6t(p.appContext[r],o);return!w&&a?g:w}}function K6t(r,o){return r&&(r[o]||r[om(o)]||r[Ire(om(o))])}function Pu(r,o,l,a){let p;const g=l&&l[a],w=Co(r);if(w||Zu(r)){const y=w&&ZO(r);let S=!1;y&&(S=!nm(r),r=Ore(r)),p=new Array(r.length);for(let E=0,I=r.length;Eo(y,S,void 0,g&&g[S]));else{const y=Object.keys(r);p=new Array(y.length);for(let S=0,E=y.length;S{const g=a.fn(...p);return g&&(g.key=a.key),g}:a.fn)}return r}function Hr(r,o,l={},a,p){if(ph.ce||ph.parent&&t_(ph.parent)&&ph.parent.ce)return o!=="default"&&(l.name=o),Ce(),xn(si,null,[xi("slot",l,a&&a())],64);let g=r[o];g&&g._c&&(g._d=!1),Ce();const w=g&&OSt(g(l)),y=l.key||w&&w.key,S=xn(si,{key:(y&&!e5(y)?y:`_${o}`)+(!w&&a?"_fb":"")},w||(a?a():[]),w&&r._===1?64:-2);return S.scopeId&&(S.slotScopeIds=[S.scopeId+"-s"]),g&&g._c&&(g._d=!0),S}function OSt(r){return r.some(o=>nz(o)?!(o.type===Lp||o.type===si&&!OSt(o.children)):!0)?r:null}function Dte(r,o){const l={};for(const a in r)l[/[A-Z]/.test(a)?`on:${a}`:fne(a)]=r[a];return l}const eCe=r=>r?JSt(r)?Bre(r):eCe(r.parent):null,_F=Xf(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>eCe(r.parent),$root:r=>eCe(r.root),$host:r=>r.ce,$emit:r=>r.emit,$options:r=>FSe(r),$forceUpdate:r=>r.f||(r.f=()=>{DSe(r.update)}),$nextTick:r=>r.n||(r.n=rm.bind(r.proxy)),$watch:r=>Fdn.bind(r)}),R8e=(r,o)=>r!==ou&&!r.__isScriptSetup&&pc(r,o),mdn={get({_:r},o){if(o==="__v_skip")return!0;const{ctx:l,setupState:a,data:p,props:g,accessCache:w,type:y,appContext:S}=r;let E;if(o[0]!=="$"){const R=w[o];if(R!==void 0)switch(R){case 1:return a[o];case 2:return p[o];case 4:return l[o];case 3:return g[o]}else{if(R8e(a,o))return w[o]=1,a[o];if(p!==ou&&pc(p,o))return w[o]=2,p[o];if((E=r.propsOptions[0])&&pc(E,o))return w[o]=3,g[o];if(l!==ou&&pc(l,o))return w[o]=4,l[o];tCe&&(w[o]=0)}}const I=_F[o];let P,_;if(I)return o==="$attrs"&&O1(r.attrs,"get",""),I(r);if((P=y.__cssModules)&&(P=P[o]))return P;if(l!==ou&&pc(l,o))return w[o]=4,l[o];if(_=S.config.globalProperties,pc(_,o))return _[o]},set({_:r},o,l){const{data:a,setupState:p,ctx:g}=r;return R8e(p,o)?(p[o]=l,!0):a!==ou&&pc(a,o)?(a[o]=l,!0):pc(r.props,o)||o[0]==="$"&&o.slice(1)in r?!1:(g[o]=l,!0)},has({_:{data:r,setupState:o,accessCache:l,ctx:a,appContext:p,propsOptions:g}},w){let y;return!!l[w]||r!==ou&&pc(r,w)||R8e(o,w)||(y=g[0])&&pc(y,w)||pc(a,w)||pc(_F,w)||pc(p.config.globalProperties,w)},defineProperty(r,o,l){return l.get!=null?r._.accessCache[o]=0:pc(l,"value")&&this.set(r,o,l.value,null),Reflect.defineProperty(r,o,l)}};function vdn(){return _St().slots}function ydn(){return _St().attrs}function _St(){const r=H7();return r.setupContext||(r.setupContext=ZSt(r))}function U6t(r){return Co(r)?r.reduce((o,l)=>(o[l]=null,o),{}):r}function RSt(r,o){const l={};for(const a in r)o.includes(a)||Object.defineProperty(l,a,{enumerable:!0,get:()=>r[a]});return l}let tCe=!0;function kdn(r){const o=FSe(r),l=r.proxy,a=r.ctx;tCe=!1,o.beforeCreate&&G6t(o.beforeCreate,r,"bc");const{data:p,computed:g,methods:w,watch:y,provide:S,inject:E,created:I,beforeMount:P,mounted:_,beforeUpdate:R,updated:$,activated:K,deactivated:q,beforeDestroy:Q,beforeUnmount:ee,destroyed:J,unmounted:oe,render:$e,renderTracked:et,renderTriggered:wt,errorCaptured:bt,serverPrefetch:ce,expose:Be,inheritAttrs:ae,components:xe,directives:U,filters:He}=o;if(E&&Cdn(E,a,null),w)for(const At in w){const Jt=w[At];Uo(Jt)&&(a[At]=Jt.bind(l))}if(p){const At=p.call(l,l);yu(At)&&(r.data=aH(At))}if(tCe=!0,g)for(const At in g){const Jt=g[At],un=Uo(Jt)?Jt.bind(l,l):Uo(Jt.get)?Jt.get.bind(l,l):h3,kn=!Uo(Jt)&&Uo(Jt.set)?Jt.set.bind(l):h3,qt=ho({get:un,set:kn});Object.defineProperty(a,At,{enumerable:!0,configurable:!0,get:()=>qt.value,set:on=>qt.value=on})}if(y)for(const At in y)ASt(y[At],a,l,At);if(S){const At=Uo(S)?S.call(l):S;Reflect.ownKeys(At).forEach(Jt=>{LE(Jt,At[Jt])})}I&&G6t(I,r,"c");function ft(At,Jt){Co(Jt)?Jt.forEach(un=>At(un.bind(l))):Jt&&At(Jt.bind(l))}if(ft(MSt,P),ft(bb,_),ft(fdn,R),ft(ddn,$),ft(cdn,K),ft(udn,q),ft(bdn,bt),ft(gdn,et),ft(pdn,wt),ft(jre,ee),ft($re,oe),ft(hdn,ce),Co(Be))if(Be.length){const At=r.exposed||(r.exposed={});Be.forEach(Jt=>{Object.defineProperty(At,Jt,{get:()=>l[Jt],set:un=>l[Jt]=un})})}else r.exposed||(r.exposed={});$e&&r.render===h3&&(r.render=$e),ae!=null&&(r.inheritAttrs=ae),xe&&(r.components=xe),U&&(r.directives=U),ce&&TSt(r)}function Cdn(r,o,l=h3){Co(r)&&(r=nCe(r));for(const a in r){const p=r[a];let g;yu(p)?"default"in p?g=p3(p.from||a,p.default,!0):g=p3(p.from||a):g=p3(p),Ef(g)?Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>g.value,set:w=>g.value=w}):o[a]=g}}function G6t(r,o,l){ly(Co(r)?r.map(a=>a.bind(o.proxy)):r.bind(o.proxy),o,l)}function ASt(r,o,l,a){let p=a.includes(".")?WSt(l,a):()=>l[a];if(Zu(r)){const g=o[r];Uo(g)&&Vs(p,g)}else if(Uo(r))Vs(p,r.bind(l));else if(yu(r))if(Co(r))r.forEach(g=>ASt(g,o,l,a));else{const g=Uo(r.handler)?r.handler.bind(l):o[r.handler];Uo(g)&&Vs(p,g,r)}}function FSe(r){const o=r.type,{mixins:l,extends:a}=o,{mixins:p,optionsCache:g,config:{optionMergeStrategies:w}}=r.appContext,y=g.get(o);let S;return y?S=y:!p.length&&!l&&!a?S=o:(S={},p.length&&p.forEach(E=>Kne(S,E,w,!0)),Kne(S,o,w)),yu(o)&&g.set(o,S),S}function Kne(r,o,l,a=!1){const{mixins:p,extends:g}=o;g&&Kne(r,g,l,!0),p&&p.forEach(w=>Kne(r,w,l,!0));for(const w in o)if(!(a&&w==="expose")){const y=Sdn[w]||l&&l[w];r[w]=y?y(r[w],o[w]):o[w]}return r}const Sdn={data:W6t,props:V6t,emits:V6t,methods:gF,computed:gF,beforeCreate:Op,created:Op,beforeMount:Op,mounted:Op,beforeUpdate:Op,updated:Op,beforeDestroy:Op,beforeUnmount:Op,destroyed:Op,unmounted:Op,activated:Op,deactivated:Op,errorCaptured:Op,serverPrefetch:Op,components:gF,directives:gF,watch:Edn,provide:W6t,inject:xdn};function W6t(r,o){return o?r?function(){return Xf(Uo(r)?r.call(this,this):r,Uo(o)?o.call(this,this):o)}:o:r}function xdn(r,o){return gF(nCe(r),nCe(o))}function nCe(r){if(Co(r)){const o={};for(let l=0;l1)return l&&Uo(o)?o.call(a&&a.proxy):o}}const jSt={},$St=()=>Object.create(jSt),DSt=r=>Object.getPrototypeOf(r)===jSt;function Mdn(r,o,l,a=!1){const p={},g=$St();r.propsDefaults=Object.create(null),NSt(r,o,p,g);for(const w in r.propsOptions[0])w in p||(p[w]=void 0);l?r.props=a?p:zfn(p):r.type.props?r.props=p:r.props=g,r.attrs=g}function Pdn(r,o,l,a){const{props:p,attrs:g,vnode:{patchFlag:w}}=r,y=Vl(p),[S]=r.propsOptions;let E=!1;if((a||w>0)&&!(w&16)){if(w&8){const I=r.vnode.dynamicProps;for(let P=0;P{S=!0;const[_,R]=BSt(P,o,!0);Xf(w,_),R&&y.push(...R)};!l&&o.mixins.length&&o.mixins.forEach(I),r.extends&&I(r.extends),r.mixins&&r.mixins.forEach(I)}if(!g&&!S)return yu(r)&&a.set(r,JO),JO;if(Co(g))for(let I=0;Ir[0]==="_"||r==="$stable",zSe=r=>Co(r)?r.map(u3):[u3(r)],_dn=(r,o,l)=>{if(o._n)return o;const a=di((...p)=>zSe(o(...p)),l);return a._c=!1,a},zSt=(r,o,l)=>{const a=r._ctx;for(const p in r){if(FSt(p))continue;const g=r[p];if(Uo(g))o[p]=_dn(p,g,a);else if(g!=null){const w=zSe(g);o[p]=()=>w}}},HSt=(r,o)=>{const l=zSe(o);r.slots.default=()=>l},KSt=(r,o,l)=>{for(const a in o)(l||a!=="_")&&(r[a]=o[a])},Rdn=(r,o,l)=>{const a=r.slots=$St();if(r.vnode.shapeFlag&32){const p=o._;p?(KSt(a,o,l),l&&UCt(a,"_",p,!0)):zSt(o,a)}else o&&HSt(r,o)},Adn=(r,o,l)=>{const{vnode:a,slots:p}=r;let g=!0,w=ou;if(a.shapeFlag&32){const y=o._;y?l&&y===1?g=!1:KSt(p,o,l):(g=!o.$stable,zSt(o,p)),w=o}else o&&(HSt(r,o),w={default:1});if(g)for(const y in p)!FSt(y)&&w[y]==null&&delete p[y]},_p=Vdn;function Ldn(r){return jdn(r)}function jdn(r,o){const l=Mre();l.__VUE__=!0;const{insert:a,remove:p,patchProp:g,createElement:w,createText:y,createComment:S,setText:E,setElementText:I,parentNode:P,nextSibling:_,setScopeId:R=h3,insertStaticContent:$}=r,K=(Z,V,ie,ue=null,ge=null,Ge=null,jt=void 0,Lt=null,tn=!!V.dynamicChildren)=>{if(Z===V)return;Z&&!fE(Z,V)&&(ue=Qe(Z),on(Z,ge,Ge,!0),Z=null),V.patchFlag===-2&&(tn=!1,V.dynamicChildren=null);const{type:Ct,ref:Kn,shapeFlag:dn}=V;switch(Ct){case Nre:q(Z,V,ie,ue);break;case Lp:Q(Z,V,ie,ue);break;case j8e:Z==null&&ee(V,ie,ue,jt);break;case si:xe(Z,V,ie,ue,ge,Ge,jt,Lt,tn);break;default:dn&1?$e(Z,V,ie,ue,ge,Ge,jt,Lt,tn):dn&6?U(Z,V,ie,ue,ge,Ge,jt,Lt,tn):(dn&64||dn&128)&&Ct.process(Z,V,ie,ue,ge,Ge,jt,Lt,tn,hr)}Kn!=null&&ge&&Hne(Kn,Z&&Z.ref,Ge,V||Z,!V)},q=(Z,V,ie,ue)=>{if(Z==null)a(V.el=y(V.children),ie,ue);else{const ge=V.el=Z.el;V.children!==Z.children&&E(ge,V.children)}},Q=(Z,V,ie,ue)=>{Z==null?a(V.el=S(V.children||""),ie,ue):V.el=Z.el},ee=(Z,V,ie,ue)=>{[Z.el,Z.anchor]=$(Z.children,V,ie,ue,Z.el,Z.anchor)},J=({el:Z,anchor:V},ie,ue)=>{let ge;for(;Z&&Z!==V;)ge=_(Z),a(Z,ie,ue),Z=ge;a(V,ie,ue)},oe=({el:Z,anchor:V})=>{let ie;for(;Z&&Z!==V;)ie=_(Z),p(Z),Z=ie;p(V)},$e=(Z,V,ie,ue,ge,Ge,jt,Lt,tn)=>{V.type==="svg"?jt="svg":V.type==="math"&&(jt="mathml"),Z==null?et(V,ie,ue,ge,Ge,jt,Lt,tn):ce(Z,V,ge,Ge,jt,Lt,tn)},et=(Z,V,ie,ue,ge,Ge,jt,Lt)=>{let tn,Ct;const{props:Kn,shapeFlag:dn,transition:Rn,dirs:gr}=Z;if(tn=Z.el=w(Z.type,Ge,Kn&&Kn.is,Kn),dn&8?I(tn,Z.children):dn&16&&bt(Z.children,tn,null,ue,ge,A8e(Z,Ge),jt,Lt),gr&&Qx(Z,null,ue,"created"),wt(tn,Z,Z.scopeId,jt,ue),Kn){for(const G in Kn)G!=="value"&&!IF(G)&&g(tn,G,null,Kn[G],Ge,ue);"value"in Kn&&g(tn,"value",null,Kn.value,Ge),(Ct=Kn.onVnodeBeforeMount)&&n3(Ct,ue,Z)}gr&&Qx(Z,null,ue,"beforeMount");const de=$dn(ge,Rn);de&&Rn.beforeEnter(tn),a(tn,V,ie),((Ct=Kn&&Kn.onVnodeMounted)||de||gr)&&_p(()=>{Ct&&n3(Ct,ue,Z),de&&Rn.enter(tn),gr&&Qx(Z,null,ue,"mounted")},ge)},wt=(Z,V,ie,ue,ge)=>{if(ie&&R(Z,ie),ue)for(let Ge=0;Ge{for(let Ct=tn;Ct{const Lt=V.el=Z.el;let{patchFlag:tn,dynamicChildren:Ct,dirs:Kn}=V;tn|=Z.patchFlag&16;const dn=Z.props||ou,Rn=V.props||ou;let gr;if(ie&&Zx(ie,!1),(gr=Rn.onVnodeBeforeUpdate)&&n3(gr,ie,V,Z),Kn&&Qx(V,Z,ie,"beforeUpdate"),ie&&Zx(ie,!0),(dn.innerHTML&&Rn.innerHTML==null||dn.textContent&&Rn.textContent==null)&&I(Lt,""),Ct?Be(Z.dynamicChildren,Ct,Lt,ie,ue,A8e(V,ge),Ge):jt||Jt(Z,V,Lt,null,ie,ue,A8e(V,ge),Ge,!1),tn>0){if(tn&16)ae(Lt,dn,Rn,ie,ge);else if(tn&2&&dn.class!==Rn.class&&g(Lt,"class",null,Rn.class,ge),tn&4&&g(Lt,"style",dn.style,Rn.style,ge),tn&8){const de=V.dynamicProps;for(let G=0;G{gr&&n3(gr,ie,V,Z),Kn&&Qx(V,Z,ie,"updated")},ue)},Be=(Z,V,ie,ue,ge,Ge,jt)=>{for(let Lt=0;Lt{if(V!==ie){if(V!==ou)for(const Ge in V)!IF(Ge)&&!(Ge in ie)&&g(Z,Ge,V[Ge],null,ge,ue);for(const Ge in ie){if(IF(Ge))continue;const jt=ie[Ge],Lt=V[Ge];jt!==Lt&&Ge!=="value"&&g(Z,Ge,Lt,jt,ge,ue)}"value"in ie&&g(Z,"value",V.value,ie.value,ge)}},xe=(Z,V,ie,ue,ge,Ge,jt,Lt,tn)=>{const Ct=V.el=Z?Z.el:y(""),Kn=V.anchor=Z?Z.anchor:y("");let{patchFlag:dn,dynamicChildren:Rn,slotScopeIds:gr}=V;gr&&(Lt=Lt?Lt.concat(gr):gr),Z==null?(a(Ct,ie,ue),a(Kn,ie,ue),bt(V.children||[],ie,Kn,ge,Ge,jt,Lt,tn)):dn>0&&dn&64&&Rn&&Z.dynamicChildren?(Be(Z.dynamicChildren,Rn,ie,ge,Ge,jt,Lt),(V.key!=null||ge&&V===ge.subTree)&&HSe(Z,V,!0)):Jt(Z,V,ie,Kn,ge,Ge,jt,Lt,tn)},U=(Z,V,ie,ue,ge,Ge,jt,Lt,tn)=>{V.slotScopeIds=Lt,Z==null?V.shapeFlag&512?ge.ctx.activate(V,ie,ue,jt,tn):He(V,ie,ue,ge,Ge,jt,tn):yt(Z,V,tn)},He=(Z,V,ie,ue,ge,Ge,jt)=>{const Lt=Z.component=Qdn(Z,ue,ge);if(Are(Z)&&(Lt.ctx.renderer=hr),Zdn(Lt,!1,jt),Lt.asyncDep){if(ge&&ge.registerDep(Lt,ft,jt),!Z.el){const tn=Lt.subTree=xi(Lp);Q(null,tn,V,ie)}}else ft(Lt,Z,V,ie,ge,Ge,jt)},yt=(Z,V,ie)=>{const ue=V.component=Z.component;if(Gdn(Z,V,ie))if(ue.asyncDep&&!ue.asyncResolved){At(ue,V,ie);return}else ue.next=V,ue.update();else V.el=Z.el,ue.vnode=V},ft=(Z,V,ie,ue,ge,Ge,jt)=>{const Lt=()=>{if(Z.isMounted){let{next:dn,bu:Rn,u:gr,parent:de,vnode:G}=Z;{const Ut=USt(Z);if(Ut){dn&&(dn.el=G.el,At(Z,dn,jt)),Ut.asyncDep.then(()=>{Z.isUnmounted||Lt()});return}}let X=dn,De;Zx(Z,!1),dn?(dn.el=G.el,At(Z,dn,jt)):dn=G,Rn&&T8e(Rn),(De=dn.props&&dn.props.onVnodeBeforeUpdate)&&n3(De,de,dn,G),Zx(Z,!0);const gt=L8e(Z),Kt=Z.subTree;Z.subTree=gt,K(Kt,gt,P(Kt.el),Qe(Kt),Z,ge,Ge),dn.el=gt.el,X===null&&Wdn(Z,gt.el),gr&&_p(gr,ge),(De=dn.props&&dn.props.onVnodeUpdated)&&_p(()=>n3(De,de,dn,G),ge)}else{let dn;const{el:Rn,props:gr}=V,{bm:de,m:G,parent:X,root:De,type:gt}=Z,Kt=t_(V);if(Zx(Z,!1),de&&T8e(de),!Kt&&(dn=gr&&gr.onVnodeBeforeMount)&&n3(dn,X,V),Zx(Z,!0),Rn&&ke){const Ut=()=>{Z.subTree=L8e(Z),ke(Rn,Z.subTree,Z,ge,null)};Kt&>.__asyncHydrate?gt.__asyncHydrate(Rn,Z,Ut):Ut()}else{De.ce&&De.ce._injectChildStyle(gt);const Ut=Z.subTree=L8e(Z);K(null,Ut,ie,ue,Z,ge,Ge),V.el=Ut.el}if(G&&_p(G,ge),!Kt&&(dn=gr&&gr.onVnodeMounted)){const Ut=V;_p(()=>n3(dn,X,Ut),ge)}(V.shapeFlag&256||X&&t_(X.vnode)&&X.vnode.shapeFlag&256)&&Z.a&&_p(Z.a,ge),Z.isMounted=!0,V=ie=ue=null}};Z.scope.on();const tn=Z.effect=new YCt(Lt);Z.scope.off();const Ct=Z.update=tn.run.bind(tn),Kn=Z.job=tn.runIfDirty.bind(tn);Kn.i=Z,Kn.id=Z.uid,tn.scheduler=()=>DSe(Kn),Zx(Z,!0),Ct()},At=(Z,V,ie)=>{V.component=Z;const ue=Z.vnode.props;Z.vnode=V,Z.next=null,Pdn(Z,V.props,ue,ie),Adn(Z,V.children,ie),F7(),N6t(Z),z7()},Jt=(Z,V,ie,ue,ge,Ge,jt,Lt,tn=!1)=>{const Ct=Z&&Z.children,Kn=Z?Z.shapeFlag:0,dn=V.children,{patchFlag:Rn,shapeFlag:gr}=V;if(Rn>0){if(Rn&128){kn(Ct,dn,ie,ue,ge,Ge,jt,Lt,tn);return}else if(Rn&256){un(Ct,dn,ie,ue,ge,Ge,jt,Lt,tn);return}}gr&8?(Kn&16&&kt(Ct,ge,Ge),dn!==Ct&&I(ie,dn)):Kn&16?gr&16?kn(Ct,dn,ie,ue,ge,Ge,jt,Lt,tn):kt(Ct,ge,Ge,!0):(Kn&8&&I(ie,""),gr&16&&bt(dn,ie,ue,ge,Ge,jt,Lt,tn))},un=(Z,V,ie,ue,ge,Ge,jt,Lt,tn)=>{Z=Z||JO,V=V||JO;const Ct=Z.length,Kn=V.length,dn=Math.min(Ct,Kn);let Rn;for(Rn=0;RnKn?kt(Z,ge,Ge,!0,!1,dn):bt(V,ie,ue,ge,Ge,jt,Lt,tn,dn)},kn=(Z,V,ie,ue,ge,Ge,jt,Lt,tn)=>{let Ct=0;const Kn=V.length;let dn=Z.length-1,Rn=Kn-1;for(;Ct<=dn&&Ct<=Rn;){const gr=Z[Ct],de=V[Ct]=tn?p7(V[Ct]):u3(V[Ct]);if(fE(gr,de))K(gr,de,ie,null,ge,Ge,jt,Lt,tn);else break;Ct++}for(;Ct<=dn&&Ct<=Rn;){const gr=Z[dn],de=V[Rn]=tn?p7(V[Rn]):u3(V[Rn]);if(fE(gr,de))K(gr,de,ie,null,ge,Ge,jt,Lt,tn);else break;dn--,Rn--}if(Ct>dn){if(Ct<=Rn){const gr=Rn+1,de=grRn)for(;Ct<=dn;)on(Z[Ct],ge,Ge,!0),Ct++;else{const gr=Ct,de=Ct,G=new Map;for(Ct=de;Ct<=Rn;Ct++){const _o=V[Ct]=tn?p7(V[Ct]):u3(V[Ct]);_o.key!=null&&G.set(_o.key,Ct)}let X,De=0;const gt=Rn-de+1;let Kt=!1,Ut=0;const so=new Array(gt);for(Ct=0;Ct=gt){on(_o,ge,Ge,!0);continue}let Ro;if(_o.key!=null)Ro=G.get(_o.key);else for(X=de;X<=Rn;X++)if(so[X-de]===0&&fE(_o,V[X])){Ro=X;break}Ro===void 0?on(_o,ge,Ge,!0):(so[Ro-de]=Ct+1,Ro>=Ut?Ut=Ro:Kt=!0,K(_o,V[Ro],ie,null,ge,Ge,jt,Lt,tn),De++)}const rl=Kt?Ddn(so):JO;for(X=rl.length-1,Ct=gt-1;Ct>=0;Ct--){const _o=de+Ct,Ro=V[_o],Fs=_o+1{const{el:Ge,type:jt,transition:Lt,children:tn,shapeFlag:Ct}=Z;if(Ct&6){qt(Z.component.subTree,V,ie,ue);return}if(Ct&128){Z.suspense.move(V,ie,ue);return}if(Ct&64){jt.move(Z,V,ie,hr);return}if(jt===si){a(Ge,V,ie);for(let dn=0;dnLt.enter(Ge),ge);else{const{leave:dn,delayLeave:Rn,afterLeave:gr}=Lt,de=()=>a(Ge,V,ie),G=()=>{dn(Ge,()=>{de(),gr&&gr()})};Rn?Rn(Ge,de,G):G()}else a(Ge,V,ie)},on=(Z,V,ie,ue=!1,ge=!1)=>{const{type:Ge,props:jt,ref:Lt,children:tn,dynamicChildren:Ct,shapeFlag:Kn,patchFlag:dn,dirs:Rn,cacheIndex:gr}=Z;if(dn===-2&&(ge=!1),Lt!=null&&Hne(Lt,null,ie,Z,!0),gr!=null&&(V.renderCache[gr]=void 0),Kn&256){V.ctx.deactivate(Z);return}const de=Kn&1&&Rn,G=!t_(Z);let X;if(G&&(X=jt&&jt.onVnodeBeforeUnmount)&&n3(X,V,Z),Kn&6)Zn(Z.component,ie,ue);else{if(Kn&128){Z.suspense.unmount(ie,ue);return}de&&Qx(Z,null,V,"beforeUnmount"),Kn&64?Z.type.remove(Z,V,ie,hr,ue):Ct&&!Ct.hasOnce&&(Ge!==si||dn>0&&dn&64)?kt(Ct,V,ie,!1,!0):(Ge===si&&dn&384||!ge&&Kn&16)&&kt(tn,V,ie),ue&&Rt(Z)}(G&&(X=jt&&jt.onVnodeUnmounted)||de)&&_p(()=>{X&&n3(X,V,Z),de&&Qx(Z,null,V,"unmounted")},ie)},Rt=Z=>{const{type:V,el:ie,anchor:ue,transition:ge}=Z;if(V===si){an(ie,ue);return}if(V===j8e){oe(Z);return}const Ge=()=>{p(ie),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave()};if(Z.shapeFlag&1&&ge&&!ge.persisted){const{leave:jt,delayLeave:Lt}=ge,tn=()=>jt(ie,Ge);Lt?Lt(Z.el,Ge,tn):tn()}else Ge()},an=(Z,V)=>{let ie;for(;Z!==V;)ie=_(Z),p(Z),Z=ie;p(V)},Zn=(Z,V,ie)=>{const{bum:ue,scope:ge,job:Ge,subTree:jt,um:Lt,m:tn,a:Ct}=Z;X6t(tn),X6t(Ct),ue&&T8e(ue),ge.stop(),Ge&&(Ge.flags|=8,on(jt,Z,V,ie)),Lt&&_p(Lt,V),_p(()=>{Z.isUnmounted=!0},V),V&&V.pendingBranch&&!V.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===V.pendingId&&(V.deps--,V.deps===0&&V.resolve())},kt=(Z,V,ie,ue=!1,ge=!1,Ge=0)=>{for(let jt=Ge;jt{if(Z.shapeFlag&6)return Qe(Z.component.subTree);if(Z.shapeFlag&128)return Z.suspense.next();const V=_(Z.anchor||Z.el),ie=V&&V[wSt];return ie?_(ie):V};let Xt=!1;const Pn=(Z,V,ie)=>{Z==null?V._vnode&&on(V._vnode,null,null,!0):K(V._vnode||null,Z,V,null,null,null,ie),V._vnode=Z,Xt||(Xt=!0,N6t(),pSt(),Xt=!1)},hr={p:K,um:on,m:qt,r:Rt,mt:He,mc:bt,pc:Jt,pbc:Be,n:Qe,o:r};let ve,ke;return{render:Pn,hydrate:ve,createApp:Idn(Pn,ve)}}function A8e({type:r,props:o},l){return l==="svg"&&r==="foreignObject"||l==="mathml"&&r==="annotation-xml"&&o&&o.encoding&&o.encoding.includes("html")?void 0:l}function Zx({effect:r,job:o},l){l?(r.flags|=32,o.flags|=4):(r.flags&=-33,o.flags&=-5)}function $dn(r,o){return(!r||r&&!r.pendingBranch)&&o&&!o.persisted}function HSe(r,o,l=!1){const a=r.children,p=o.children;if(Co(a)&&Co(p))for(let g=0;g>1,r[l[y]]0&&(o[a]=l[g-1]),l[g]=a)}}for(g=l.length,w=l[g-1];g-- >0;)l[g]=w,w=o[w];return l}function USt(r){const o=r.subTree.component;if(o)return o.asyncDep&&!o.asyncResolved?o:USt(o)}function X6t(r){if(r)for(let o=0;op3(Ndn);function Vs(r,o,l){return GSt(r,o,l)}function GSt(r,o,l=ou){const{immediate:a,deep:p,flush:g,once:w}=l,y=Xf({},l),S=o&&a||!o&&g!=="post";let E;if(rz){if(g==="sync"){const R=Bdn();E=R.__watcherHandles||(R.__watcherHandles=[])}else if(!S){const R=()=>{};return R.stop=h3,R.resume=h3,R.pause=h3,R}}const I=Uh;y.call=(R,$,K)=>ly(R,I,$,K);let P=!1;g==="post"?y.scheduler=R=>{_p(R,I&&I.suspense)}:g!=="sync"&&(P=!0,y.scheduler=(R,$)=>{$?R():DSe(R)}),y.augmentJob=R=>{o&&(R.flags|=4),P&&(R.flags|=2,I&&(R.id=I.uid,R.i=I))};const _=Zfn(r,o,y);return rz&&(E?E.push(_):S&&_()),_}function Fdn(r,o,l){const a=this.proxy,p=Zu(r)?r.includes(".")?WSt(a,r):()=>a[r]:r.bind(a,a);let g;Uo(o)?g=o:(g=o.handler,l=o);const w=dH(this),y=GSt(p,g.bind(a),l);return w(),y}function WSt(r,o){const l=o.split(".");return()=>{let a=r;for(let p=0;po==="modelValue"||o==="model-value"?r.modelModifiers:r[`${o}Modifiers`]||r[`${om(o)}Modifiers`]||r[`${B7(o)}Modifiers`];function Hdn(r,o,...l){if(r.isUnmounted)return;const a=r.vnode.props||ou;let p=l;const g=o.startsWith("update:"),w=g&&zdn(a,o.slice(7));w&&(w.trim&&(p=l.map(I=>Zu(I)?I.trim():I)),w.number&&(p=l.map(pfn)));let y,S=a[y=fne(o)]||a[y=fne(om(o))];!S&&g&&(S=a[y=fne(B7(o))]),S&&ly(S,r,6,p);const E=a[y+"Once"];if(E){if(!r.emitted)r.emitted={};else if(r.emitted[y])return;r.emitted[y]=!0,ly(E,r,6,p)}}function VSt(r,o,l=!1){const a=o.emitsCache,p=a.get(r);if(p!==void 0)return p;const g=r.emits;let w={},y=!1;if(!Uo(r)){const S=E=>{const I=VSt(E,o,!0);I&&(y=!0,Xf(w,I))};!l&&o.mixins.length&&o.mixins.forEach(S),r.extends&&S(r.extends),r.mixins&&r.mixins.forEach(S)}return!g&&!y?(yu(r)&&a.set(r,null),null):(Co(g)?g.forEach(S=>w[S]=null):Xf(w,g),yu(r)&&a.set(r,w),w)}function Dre(r,o){return!r||!xre(o)?!1:(o=o.slice(2).replace(/Once$/,""),pc(r,o[0].toLowerCase()+o.slice(1))||pc(r,B7(o))||pc(r,o))}function L8e(r){const{type:o,vnode:l,proxy:a,withProxy:p,propsOptions:[g],slots:w,attrs:y,emit:S,render:E,renderCache:I,props:P,data:_,setupState:R,ctx:$,inheritAttrs:K}=r,q=zne(r);let Q,ee;try{if(l.shapeFlag&4){const oe=p||a,$e=oe;Q=u3(E.call($e,oe,I,P,R,_,$)),ee=y}else{const oe=o;Q=u3(oe.length>1?oe(P,{attrs:y,slots:w,emit:S}):oe(P,null)),ee=o.props?y:Kdn(y)}}catch(oe){RF.length=0,Rre(oe,r,1),Q=xi(Lp)}let J=Q;if(ee&&K!==!1){const oe=Object.keys(ee),{shapeFlag:$e}=J;oe.length&&$e&7&&(g&&oe.some(ISe)&&(ee=Udn(ee,g)),J=O7(J,ee,!1,!0))}return l.dirs&&(J=O7(J,null,!1,!0),J.dirs=J.dirs?J.dirs.concat(l.dirs):l.dirs),l.transition&&ez(J,l.transition),Q=J,zne(q),Q}const Kdn=r=>{let o;for(const l in r)(l==="class"||l==="style"||xre(l))&&((o||(o={}))[l]=r[l]);return o},Udn=(r,o)=>{const l={};for(const a in r)(!ISe(a)||!(a.slice(9)in o))&&(l[a]=r[a]);return l};function Gdn(r,o,l){const{props:a,children:p,component:g}=r,{props:w,children:y,patchFlag:S}=o,E=g.emitsOptions;if(o.dirs||o.transition)return!0;if(l&&S>=0){if(S&1024)return!0;if(S&16)return a?Y6t(a,w,E):!!w;if(S&8){const I=o.dynamicProps;for(let P=0;Pr.__isSuspense;function Vdn(r,o){o&&o.pendingBranch?Co(r)?o.effects.push(...r):o.effects.push(r):ndn(r)}const si=Symbol.for("v-fgt"),Nre=Symbol.for("v-txt"),Lp=Symbol.for("v-cmt"),j8e=Symbol.for("v-stc"),RF=[];let jp=null;function Ce(r=!1){RF.push(jp=r?null:[])}function qdn(){RF.pop(),jp=RF[RF.length-1]||null}let w_=1;function J6t(r,o=!1){w_+=r,r<0&&jp&&o&&(jp.hasOnce=!0)}function XSt(r){return r.dynamicChildren=w_>0?jp||JO:null,qdn(),w_>0&&jp&&jp.push(r),r}function vt(r,o,l,a,p,g){return XSt(br(r,o,l,a,p,g,!0))}function xn(r,o,l,a,p){return XSt(xi(r,o,l,a,p,!0))}function nz(r){return r?r.__v_isVNode===!0:!1}function fE(r,o){return r.type===o.type&&r.key===o.key}const YSt=({key:r})=>r??null,pne=({ref:r,ref_key:o,ref_for:l})=>(typeof r=="number"&&(r=""+r),r!=null?Zu(r)||Ef(r)||Uo(r)?{i:ph,r,k:o,f:!!l}:r:null);function br(r,o=null,l=null,a=0,p=null,g=r===si?0:1,w=!1,y=!1){const S={__v_isVNode:!0,__v_skip:!0,type:r,props:o,key:o&&YSt(o),ref:o&&pne(o),scopeId:bSt,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:a,dynamicProps:p,dynamicChildren:null,appContext:null,ctx:ph};return y?(KSe(S,l),g&128&&r.normalize(S)):l&&(S.shapeFlag|=Zu(l)?8:16),w_>0&&!w&&jp&&(S.patchFlag>0||g&6)&&S.patchFlag!==32&&jp.push(S),S}const xi=Xdn;function Xdn(r,o=null,l=null,a=0,p=null,g=!1){if((!r||r===PSt)&&(r=Lp),nz(r)){const y=O7(r,o,!0);return l&&KSe(y,l),w_>0&&!g&&jp&&(y.shapeFlag&6?jp[jp.indexOf(r)]=y:jp.push(y)),y.patchFlag=-2,y}if(rhn(r)&&(r=r.__vccOpts),o){o=iCe(o);let{class:y,style:S}=o;y&&!Zu(y)&&(o.class=yo(y)),yu(S)&&($Se(S)&&!Co(S)&&(S=Xf({},S)),o.style=A1(S))}const w=Zu(r)?1:qSt(r)?128:mSt(r)?64:yu(r)?4:Uo(r)?2:0;return br(r,o,l,a,p,w,g,!0)}function iCe(r){return r?$Se(r)||DSt(r)?Xf({},r):r:null}function O7(r,o,l=!1,a=!1){const{props:p,ref:g,patchFlag:w,children:y,transition:S}=r,E=o?Ze(p||{},o):p,I={__v_isVNode:!0,__v_skip:!0,type:r.type,props:E,key:E&&YSt(E),ref:o&&o.ref?l&&g?Co(g)?g.concat(pne(o)):[g,pne(o)]:pne(o):g,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:y,target:r.target,targetStart:r.targetStart,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:o&&r.type!==si?w===-1?16:w|16:w,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:S,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&O7(r.ssContent),ssFallback:r.ssFallback&&O7(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce};return S&&a&&ez(I,S.clone(I)),I}function hb(r=" ",o=0){return xi(Nre,null,r,o)}function sr(r="",o=!1){return o?(Ce(),xn(Lp,null,r)):xi(Lp,null,r)}function u3(r){return r==null||typeof r=="boolean"?xi(Lp):Co(r)?xi(si,null,r.slice()):nz(r)?p7(r):xi(Nre,null,String(r))}function p7(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:O7(r)}function KSe(r,o){let l=0;const{shapeFlag:a}=r;if(o==null)o=null;else if(Co(o))l=16;else if(typeof o=="object")if(a&65){const p=o.default;p&&(p._c&&(p._d=!1),KSe(r,p()),p._c&&(p._d=!0));return}else{l=32;const p=o._;!p&&!DSt(o)?o._ctx=ph:p===3&&ph&&(ph.slots._===1?o._=1:(o._=2,r.patchFlag|=1024))}else Uo(o)?(o={default:o,_ctx:ph},l=32):(o=String(o),a&64?(l=16,o=[hb(o)]):l=8);r.children=o,r.shapeFlag|=l}function Ze(...r){const o={};for(let l=0;lUh||ph;let Une,oCe;{const r=Mre(),o=(l,a)=>{let p;return(p=r[l])||(p=r[l]=[]),p.push(a),g=>{p.length>1?p.forEach(w=>w(g)):p[0](g)}};Une=o("__VUE_INSTANCE_SETTERS__",l=>Uh=l),oCe=o("__VUE_SSR_SETTERS__",l=>rz=l)}const dH=r=>{const o=Uh;return Une(r),r.scope.on(),()=>{r.scope.off(),Une(o)}},Q6t=()=>{Uh&&Uh.scope.off(),Une(null)};function JSt(r){return r.vnode.shapeFlag&4}let rz=!1;function Zdn(r,o=!1,l=!1){o&&oCe(o);const{props:a,children:p}=r.vnode,g=JSt(r);Mdn(r,a,g,o),Rdn(r,p,l);const w=g?ehn(r,o):void 0;return o&&oCe(!1),w}function ehn(r,o){const l=r.type;r.accessCache=Object.create(null),r.proxy=new Proxy(r.ctx,mdn);const{setup:a}=l;if(a){F7();const p=r.setupContext=a.length>1?ZSt(r):null,g=dH(r),w=fH(a,r,0,[r.props,p]),y=zCt(w);if(z7(),g(),(y||r.sp)&&!t_(r)&&TSt(r),y){if(w.then(Q6t,Q6t),o)return w.then(S=>{Z6t(r,S,o)}).catch(S=>{Rre(S,r,0)});r.asyncDep=w}else Z6t(r,w,o)}else QSt(r,o)}function Z6t(r,o,l){Uo(o)?r.type.__ssrInlineRender?r.ssrRender=o:r.render=o:yu(o)&&(r.setupState=aSt(o)),QSt(r,l)}let e5t;function QSt(r,o,l){const a=r.type;if(!r.render){if(!o&&e5t&&!a.render){const p=a.template||FSe(r).template;if(p){const{isCustomElement:g,compilerOptions:w}=r.appContext.config,{delimiters:y,compilerOptions:S}=a,E=Xf(Xf({isCustomElement:g,delimiters:y},w),S);a.render=e5t(p,E)}}r.render=a.render||h3}{const p=dH(r);F7();try{kdn(r)}finally{z7(),p()}}}const thn={get(r,o){return O1(r,"get",""),r[o]}};function ZSt(r){const o=l=>{r.exposed=l||{}};return{attrs:new Proxy(r.attrs,thn),slots:r.slots,emit:r.emit,expose:o}}function Bre(r){return r.exposed?r.exposeProxy||(r.exposeProxy=new Proxy(aSt(SE(r.exposed)),{get(o,l){if(l in o)return o[l];if(l in _F)return _F[l](r)},has(o,l){return l in o||l in _F}})):r.proxy}function nhn(r,o=!0){return Uo(r)?r.displayName||r.name:r.name||o&&r.__name}function rhn(r){return Uo(r)&&"__vccOpts"in r}const ho=(r,o)=>Jfn(r,o,rz);function Tc(r,o,l){const a=arguments.length;return a===2?yu(o)&&!Co(o)?nz(o)?xi(r,null,[o]):xi(r,o):xi(r,null,o):(a>3?l=Array.prototype.slice.call(arguments,2):a===3&&nz(l)&&(l=[l]),xi(r,o,l))}function ihn(r,o){const l=r.memo;if(l.length!=o.length)return!1;for(let a=0;a0&&jp&&jp.push(r),!0}const ohn="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let sCe;const t5t=typeof window<"u"&&window.trustedTypes;if(t5t)try{sCe=t5t.createPolicy("vue",{createHTML:r=>r})}catch{}const e9t=sCe?r=>sCe.createHTML(r):r=>r,shn="http://www.w3.org/2000/svg",lhn="http://www.w3.org/1998/Math/MathML",O6=typeof document<"u"?document:null,n5t=O6&&O6.createElement("template"),chn={insert:(r,o,l)=>{o.insertBefore(r,l||null)},remove:r=>{const o=r.parentNode;o&&o.removeChild(r)},createElement:(r,o,l,a)=>{const p=o==="svg"?O6.createElementNS(shn,r):o==="mathml"?O6.createElementNS(lhn,r):l?O6.createElement(r,{is:l}):O6.createElement(r);return r==="select"&&a&&a.multiple!=null&&p.setAttribute("multiple",a.multiple),p},createText:r=>O6.createTextNode(r),createComment:r=>O6.createComment(r),setText:(r,o)=>{r.nodeValue=o},setElementText:(r,o)=>{r.textContent=o},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>O6.querySelector(r),setScopeId(r,o){r.setAttribute(o,"")},insertStaticContent(r,o,l,a,p,g){const w=l?l.previousSibling:o.lastChild;if(p&&(p===g||p.nextSibling))for(;o.insertBefore(p.cloneNode(!0),l),!(p===g||!(p=p.nextSibling)););else{n5t.innerHTML=e9t(a==="svg"?`${r}`:a==="mathml"?`${r}`:r);const y=n5t.content;if(a==="svg"||a==="mathml"){const S=y.firstChild;for(;S.firstChild;)y.appendChild(S.firstChild);y.removeChild(S)}o.insertBefore(y,l)}return[w?w.nextSibling:o.firstChild,l?l.previousSibling:o.lastChild]}},l7="transition",iF="animation",iz=Symbol("_vtc"),t9t={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},uhn=Xf({},kSt,t9t),ahn=r=>(r.displayName="Transition",r.props=uhn,r),USe=ahn((r,{slots:o})=>Tc(ldn,fhn(r),o)),eE=(r,o=[])=>{Co(r)?r.forEach(l=>l(...o)):r&&r(...o)},r5t=r=>r?Co(r)?r.some(o=>o.length>1):r.length>1:!1;function fhn(r){const o={};for(const xe in r)xe in t9t||(o[xe]=r[xe]);if(r.css===!1)return o;const{name:l="v",type:a,duration:p,enterFromClass:g=`${l}-enter-from`,enterActiveClass:w=`${l}-enter-active`,enterToClass:y=`${l}-enter-to`,appearFromClass:S=g,appearActiveClass:E=w,appearToClass:I=y,leaveFromClass:P=`${l}-leave-from`,leaveActiveClass:_=`${l}-leave-active`,leaveToClass:R=`${l}-leave-to`}=r,$=dhn(p),K=$&&$[0],q=$&&$[1],{onBeforeEnter:Q,onEnter:ee,onEnterCancelled:J,onLeave:oe,onLeaveCancelled:$e,onBeforeAppear:et=Q,onAppear:wt=ee,onAppearCancelled:bt=J}=o,ce=(xe,U,He,yt)=>{xe._enterCancelled=yt,tE(xe,U?I:y),tE(xe,U?E:w),He&&He()},Be=(xe,U)=>{xe._isLeaving=!1,tE(xe,P),tE(xe,R),tE(xe,_),U&&U()},ae=xe=>(U,He)=>{const yt=xe?wt:ee,ft=()=>ce(U,xe,He);eE(yt,[U,ft]),i5t(()=>{tE(U,xe?S:g),T6(U,xe?I:y),r5t(yt)||o5t(U,a,K,ft)})};return Xf(o,{onBeforeEnter(xe){eE(Q,[xe]),T6(xe,g),T6(xe,w)},onBeforeAppear(xe){eE(et,[xe]),T6(xe,S),T6(xe,E)},onEnter:ae(!1),onAppear:ae(!0),onLeave(xe,U){xe._isLeaving=!0;const He=()=>Be(xe,U);T6(xe,P),xe._enterCancelled?(T6(xe,_),c5t()):(c5t(),T6(xe,_)),i5t(()=>{xe._isLeaving&&(tE(xe,P),T6(xe,R),r5t(oe)||o5t(xe,a,q,He))}),eE(oe,[xe,He])},onEnterCancelled(xe){ce(xe,!1,void 0,!0),eE(J,[xe])},onAppearCancelled(xe){ce(xe,!0,void 0,!0),eE(bt,[xe])},onLeaveCancelled(xe){Be(xe),eE($e,[xe])}})}function dhn(r){if(r==null)return null;if(yu(r))return[$8e(r.enter),$8e(r.leave)];{const o=$8e(r);return[o,o]}}function $8e(r){return gfn(r)}function T6(r,o){o.split(/\s+/).forEach(l=>l&&r.classList.add(l)),(r[iz]||(r[iz]=new Set)).add(o)}function tE(r,o){o.split(/\s+/).forEach(a=>a&&r.classList.remove(a));const l=r[iz];l&&(l.delete(o),l.size||(r[iz]=void 0))}function i5t(r){requestAnimationFrame(()=>{requestAnimationFrame(r)})}let hhn=0;function o5t(r,o,l,a){const p=r._endId=++hhn,g=()=>{p===r._endId&&a()};if(l!=null)return setTimeout(g,l);const{type:w,timeout:y,propCount:S}=phn(r,o);if(!w)return a();const E=w+"end";let I=0;const P=()=>{r.removeEventListener(E,_),g()},_=R=>{R.target===r&&++I>=S&&P()};setTimeout(()=>{I(l[$]||"").split(", "),p=a(`${l7}Delay`),g=a(`${l7}Duration`),w=s5t(p,g),y=a(`${iF}Delay`),S=a(`${iF}Duration`),E=s5t(y,S);let I=null,P=0,_=0;o===l7?w>0&&(I=l7,P=w,_=g.length):o===iF?E>0&&(I=iF,P=E,_=S.length):(P=Math.max(w,E),I=P>0?w>E?l7:iF:null,_=I?I===l7?g.length:S.length:0);const R=I===l7&&/\b(transform|all)(,|$)/.test(a(`${l7}Property`).toString());return{type:I,timeout:P,propCount:_,hasTransform:R}}function s5t(r,o){for(;r.lengthl5t(l)+l5t(r[a])))}function l5t(r){return r==="auto"?0:Number(r.slice(0,-1).replace(",","."))*1e3}function c5t(){return document.body.offsetHeight}function ghn(r,o,l){const a=r[iz];a&&(o=(o?[o,...a]:[...a]).join(" ")),o==null?r.removeAttribute("class"):l?r.setAttribute("class",o):r.className=o}const u5t=Symbol("_vod"),bhn=Symbol("_vsh"),whn=Symbol(""),mhn=/(^|;)\s*display\s*:/;function vhn(r,o,l){const a=r.style,p=Zu(l);let g=!1;if(l&&!p){if(o)if(Zu(o))for(const w of o.split(";")){const y=w.slice(0,w.indexOf(":")).trim();l[y]==null&&gne(a,y,"")}else for(const w in o)l[w]==null&&gne(a,w,"");for(const w in l)w==="display"&&(g=!0),gne(a,w,l[w])}else if(p){if(o!==l){const w=a[whn];w&&(l+=";"+w),a.cssText=l,g=mhn.test(l)}}else o&&r.removeAttribute("style");u5t in r&&(r[u5t]=g?a.display:"",r[bhn]&&(a.display="none"))}const a5t=/\s*!important$/;function gne(r,o,l){if(Co(l))l.forEach(a=>gne(r,o,a));else if(l==null&&(l=""),o.startsWith("--"))r.setProperty(o,l);else{const a=yhn(r,o);a5t.test(l)?r.setProperty(B7(a),l.replace(a5t,""),"important"):r[a]=l}}const f5t=["Webkit","Moz","ms"],D8e={};function yhn(r,o){const l=D8e[o];if(l)return l;let a=om(o);if(a!=="filter"&&a in r)return D8e[o]=a;a=Ire(a);for(let p=0;pN8e||(Ehn.then(()=>N8e=0),N8e=Date.now());function Ihn(r,o){const l=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=l.attached)return;ly(Mhn(a,l.value),o,5,[a])};return l.value=r,l.attached=Thn(),l}function Mhn(r,o){if(Co(o)){const l=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{l.call(r),r._stopped=!0},o.map(a=>p=>!p._stopped&&a&&a(p))}else return o}const w5t=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,Phn=(r,o,l,a,p,g)=>{const w=p==="svg";o==="class"?ghn(r,a,w):o==="style"?vhn(r,l,a):xre(o)?ISe(o)||Shn(r,o,l,a,g):(o[0]==="."?(o=o.slice(1),!0):o[0]==="^"?(o=o.slice(1),!1):Ohn(r,o,a,w))?(p5t(r,o,a),!r.tagName.includes("-")&&(o==="value"||o==="checked"||o==="selected")&&h5t(r,o,a,w,g,o!=="value")):r._isVueCE&&(/[A-Z]/.test(o)||!Zu(a))?p5t(r,om(o),a,g,o):(o==="true-value"?r._trueValue=a:o==="false-value"&&(r._falseValue=a),h5t(r,o,a,w))};function Ohn(r,o,l,a){if(a)return!!(o==="innerHTML"||o==="textContent"||o in r&&w5t(o)&&Uo(l));if(o==="spellcheck"||o==="draggable"||o==="translate"||o==="form"||o==="list"&&r.tagName==="INPUT"||o==="type"&&r.tagName==="TEXTAREA")return!1;if(o==="width"||o==="height"){const p=r.tagName;if(p==="IMG"||p==="VIDEO"||p==="CANVAS"||p==="SOURCE")return!1}return w5t(o)&&Zu(l)?!1:o in r}const _hn=["ctrl","shift","alt","meta"],Rhn={stop:r=>r.stopPropagation(),prevent:r=>r.preventDefault(),self:r=>r.target!==r.currentTarget,ctrl:r=>!r.ctrlKey,shift:r=>!r.shiftKey,alt:r=>!r.altKey,meta:r=>!r.metaKey,left:r=>"button"in r&&r.button!==0,middle:r=>"button"in r&&r.button!==1,right:r=>"button"in r&&r.button!==2,exact:(r,o)=>_hn.some(l=>r[`${l}Key`]&&!o.includes(l))},n9t=(r,o)=>{const l=r._withMods||(r._withMods={}),a=o.join(".");return l[a]||(l[a]=(p,...g)=>{for(let w=0;w{const l=r._withKeys||(r._withKeys={}),a=o.join(".");return l[a]||(l[a]=p=>{if(!("key"in p))return;const g=B7(p.key);if(o.some(w=>w===g||Ahn[w]===g))return r(p)})},Lhn=Xf({patchProp:Phn},chn);let m5t;function jhn(){return m5t||(m5t=Ldn(Lhn))}const $hn=(...r)=>{const o=jhn().createApp(...r),{mount:l}=o;return o.mount=a=>{const p=Nhn(a);if(!p)return;const g=o._component;!Uo(g)&&!g.render&&!g.template&&(g.template=p.innerHTML),p.nodeType===1&&(p.textContent="");const w=l(p,!1,Dhn(p));return p instanceof Element&&(p.removeAttribute("v-cloak"),p.setAttribute("data-v-app","")),w},o};function Dhn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function Nhn(r){return Zu(r)?document.querySelector(r):r}var Bhn=Object.defineProperty,v5t=Object.getOwnPropertySymbols,Fhn=Object.prototype.hasOwnProperty,zhn=Object.prototype.propertyIsEnumerable,y5t=(r,o,l)=>o in r?Bhn(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Hhn=(r,o)=>{for(var l in o||(o={}))Fhn.call(o,l)&&y5t(r,l,o[l]);if(v5t)for(var l of v5t(o))zhn.call(o,l)&&y5t(r,l,o[l]);return r};function sm(r){return r==null||r===""||Array.isArray(r)&&r.length===0||!(r instanceof Date)&&typeof r=="object"&&Object.keys(r).length===0}function Khn(r,o,l,a=1){let p=-1;const g=sm(r),w=sm(o);return g&&w?p=0:g?p=a:w?p=-a:typeof r=="string"&&typeof o=="string"?p=l(r,o):p=ro?1:0,p}function lCe(r,o,l=new WeakSet){if(r===o)return!0;if(!r||!o||typeof r!="object"||typeof o!="object"||l.has(r)||l.has(o))return!1;l.add(r).add(o);let a=Array.isArray(r),p=Array.isArray(o),g,w,y;if(a&&p){if(w=r.length,w!=o.length)return!1;for(g=w;g--!==0;)if(!lCe(r[g],o[g],l))return!1;return!0}if(a!=p)return!1;let S=r instanceof Date,E=o instanceof Date;if(S!=E)return!1;if(S&&E)return r.getTime()==o.getTime();let I=r instanceof RegExp,P=o instanceof RegExp;if(I!=P)return!1;if(I&&P)return r.toString()==o.toString();let _=Object.keys(r);if(w=_.length,w!==Object.keys(o).length)return!1;for(g=w;g--!==0;)if(!Object.prototype.hasOwnProperty.call(o,_[g]))return!1;for(g=w;g--!==0;)if(y=_[g],!lCe(r[y],o[y],l))return!1;return!0}function Uhn(r,o){return lCe(r,o)}function Fre(r){return!!(r&&r.constructor&&r.call&&r.apply)}function os(r){return!sm(r)}function pl(r,o){if(!r||!o)return null;try{const l=r[o];if(os(l))return l}catch{}if(Object.keys(r).length){if(Fre(o))return o(r);if(o.indexOf(".")===-1)return r[o];{let l=o.split("."),a=r;for(let p=0,g=l.length;pey(g)===p)||""],l),a.join("."),l):void 0:em(r,l)}function hH(r,o=!0){return Array.isArray(r)&&(o||r.length!==0)}function Whn(r){return os(r)&&!isNaN(r)}function Vhn(r=""){return os(r)&&r.length===1&&!!r.match(/\S| /)}function C5t(){return new Intl.Collator(void 0,{numeric:!0}).compare}function $6(r,o){if(o){const l=o.test(r);return o.lastIndex=0,l}return!1}function qhn(...r){const o=(l={},a={})=>{const p=Hhn({},l);return Object.keys(a).forEach(g=>{m3(a[g])&&g in l&&m3(l[g])?p[g]=o(l[g],a[g]):p[g]=a[g]}),p};return r.reduce((l,a,p)=>p===0?a:o(l,a),{})}function AF(r){return r&&r.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function Qw(r){if(r&&/[\xC0-\xFF\u0100-\u017E]/.test(r)){const l={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let a in l)r=r.replace(l[a],a)}return r}function S5t(r,o,l){r&&o!==l&&(l>=r.length&&(l%=r.length,o%=r.length),r.splice(l,0,r.splice(o,1)[0]))}function x5t(r,o,l=1,a,p=1){const g=Khn(r,o,a,l);let w=l;return(sm(r)||sm(o))&&(w=p===1?l:p),w*g}function Xhn(r){return Vg(r,!1)?r[0].toUpperCase()+r.slice(1):r}function r9t(r){return Vg(r)?r.replace(/(_)/g,"-").replace(/[A-Z]/g,(o,l)=>l===0?o:"-"+o.toLowerCase()).toLowerCase():r}function E5t(r){return Vg(r)?r.replace(/[A-Z]/g,(o,l)=>l===0?o:"."+o.toLowerCase()).toLowerCase():r}function WSe(){const r=new Map;return{on(o,l){let a=r.get(o);return a?a.push(l):a=[l],r.set(o,a),this},off(o,l){let a=r.get(o);return a&&a.splice(a.indexOf(l)>>>0,1),this},emit(o,l){let a=r.get(o);a&&a.slice().map(p=>{p(l)})},clear(){r.clear()}}}var Yhn=Object.defineProperty,Jhn=Object.defineProperties,Qhn=Object.getOwnPropertyDescriptors,Gne=Object.getOwnPropertySymbols,i9t=Object.prototype.hasOwnProperty,o9t=Object.prototype.propertyIsEnumerable,T5t=(r,o,l)=>o in r?Yhn(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,ty=(r,o)=>{for(var l in o||(o={}))i9t.call(o,l)&&T5t(r,l,o[l]);if(Gne)for(var l of Gne(o))o9t.call(o,l)&&T5t(r,l,o[l]);return r},z8e=(r,o)=>Jhn(r,Qhn(o)),I6=(r,o)=>{var l={};for(var a in r)i9t.call(r,a)&&o.indexOf(a)<0&&(l[a]=r[a]);if(r!=null&&Gne)for(var a of Gne(r))o.indexOf(a)<0&&o9t.call(r,a)&&(l[a]=r[a]);return l},Zhn=WSe(),Zv=Zhn;function I5t(r,o){hH(r)?r.push(...o||[]):m3(r)&&Object.assign(r,o)}function e1n(r){return m3(r)&&r.hasOwnProperty("value")&&r.hasOwnProperty("type")?r.value:r}function t1n(r){return r.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function cCe(r="",o=""){return t1n(`${Vg(r,!1)&&Vg(o,!1)?`${r}-`:r}${o}`)}function s9t(r="",o=""){return`--${cCe(r,o)}`}function n1n(r=""){const o=(r.match(/{/g)||[]).length,l=(r.match(/}/g)||[]).length;return(o+l)%2!==0}function l9t(r,o="",l="",a=[],p){if(Vg(r)){const g=/{([^}]*)}/g,w=r.trim();if(n1n(w))return;if($6(w,g)){const y=w.replaceAll(g,I=>{const _=I.replace(/{|}/g,"").split(".").filter(R=>!a.some($=>$6(R,$)));return`var(${s9t(l,r9t(_.join("-")))}${os(p)?`, ${p}`:""})`}),S=/(\d+\s+[\+\-\*\/]\s+\d+)/g,E=/var\([^)]+\)/g;return $6(y.replace(E,"0"),S)?`calc(${y})`:y}return w}else if(Whn(r))return r}function r1n(r,o,l){Vg(o,!1)&&r.push(`${o}:${l};`)}function BO(r,o){return r?`${r}{${o}}`:""}var LF=(...r)=>i1n(Uc.getTheme(),...r),i1n=(r={},o,l,a)=>{if(o){const{variable:p,options:g}=Uc.defaults||{},{prefix:w,transform:y}=(r==null?void 0:r.options)||g||{},E=$6(o,/{([^}]*)}/g)?o:`{${o}}`;return a==="value"||sm(a)&&y==="strict"?Uc.getTokenValue(o):l9t(E,void 0,w,[p.excludedKeyRegex],l)}return""};function o1n(r,o={}){const l=Uc.defaults.variable,{prefix:a=l.prefix,selector:p=l.selector,excludedKeyRegex:g=l.excludedKeyRegex}=o,w=(E,I="")=>Object.entries(E).reduce((P,[_,R])=>{const $=$6(_,g)?cCe(I):cCe(I,r9t(_)),K=e1n(R);if(m3(K)){const{variables:q,tokens:Q}=w(K,$);I5t(P.tokens,Q),I5t(P.variables,q)}else P.tokens.push((a?$.replace(`${a}-`,""):$).replaceAll("-",".")),r1n(P.variables,s9t($),l9t(K,$,a,[g]));return P},{variables:[],tokens:[]}),{variables:y,tokens:S}=w(r,a);return{value:y,tokens:S,declarations:y.join(""),css:BO(p,y.join(""))}}var Vv={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(r){return{type:"class",selector:r,matched:this.pattern.test(r.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(r){return{type:"attr",selector:`:root${r}`,matched:this.pattern.test(r.trim())}}},media:{pattern:/^@media (.*)$/,resolve(r){return{type:"media",selector:`${r}{:root{[CSS]}}`,matched:this.pattern.test(r.trim())}}},system:{pattern:/^system$/,resolve(r){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(r.trim())}}},custom:{resolve(r){return{type:"custom",selector:r,matched:!0}}}},resolve(r){const o=Object.keys(this.rules).filter(l=>l!=="custom").map(l=>this.rules[l]);return[r].flat().map(l=>{var a;return(a=o.map(p=>p.resolve(l)).find(p=>p.matched))!=null?a:this.rules.custom.resolve(l)})}},_toVariables(r,o){return o1n(r,{prefix:o==null?void 0:o.prefix})},getCommon({name:r="",theme:o={},params:l,set:a,defaults:p}){var g,w,y,S,E,I,P;const{preset:_,options:R}=o;let $,K,q,Q,ee,J,oe;if(os(_)&&R.transform!=="strict"){const{primitive:$e,semantic:et,extend:wt}=_,bt=et||{},{colorScheme:ce}=bt,Be=I6(bt,["colorScheme"]),ae=wt||{},{colorScheme:xe}=ae,U=I6(ae,["colorScheme"]),He=ce||{},{dark:yt}=He,ft=I6(He,["dark"]),At=xe||{},{dark:Jt}=At,un=I6(At,["dark"]),kn=os($e)?this._toVariables({primitive:$e},R):{},qt=os(Be)?this._toVariables({semantic:Be},R):{},on=os(ft)?this._toVariables({light:ft},R):{},Rt=os(yt)?this._toVariables({dark:yt},R):{},an=os(U)?this._toVariables({semantic:U},R):{},Zn=os(un)?this._toVariables({light:un},R):{},kt=os(Jt)?this._toVariables({dark:Jt},R):{},[Qe,Xt]=[(g=kn.declarations)!=null?g:"",kn.tokens],[Pn,hr]=[(w=qt.declarations)!=null?w:"",qt.tokens||[]],[ve,ke]=[(y=on.declarations)!=null?y:"",on.tokens||[]],[Z,V]=[(S=Rt.declarations)!=null?S:"",Rt.tokens||[]],[ie,ue]=[(E=an.declarations)!=null?E:"",an.tokens||[]],[ge,Ge]=[(I=Zn.declarations)!=null?I:"",Zn.tokens||[]],[jt,Lt]=[(P=kt.declarations)!=null?P:"",kt.tokens||[]];$=this.transformCSS(r,Qe,"light","variable",R,a,p),K=Xt;const tn=this.transformCSS(r,`${Pn}${ve}`,"light","variable",R,a,p),Ct=this.transformCSS(r,`${Z}`,"dark","variable",R,a,p);q=`${tn}${Ct}`,Q=[...new Set([...hr,...ke,...V])];const Kn=this.transformCSS(r,`${ie}${ge}color-scheme:light`,"light","variable",R,a,p),dn=this.transformCSS(r,`${jt}color-scheme:dark`,"dark","variable",R,a,p);ee=`${Kn}${dn}`,J=[...new Set([...ue,...Ge,...Lt])],oe=em(_.css,{dt:LF})}return{primitive:{css:$,tokens:K},semantic:{css:q,tokens:Q},global:{css:ee,tokens:J},style:oe}},getPreset({name:r="",preset:o={},options:l,params:a,set:p,defaults:g,selector:w}){var y,S,E;let I,P,_;if(os(o)&&l.transform!=="strict"){const R=r.replace("-directive",""),$=o,{colorScheme:K,extend:q,css:Q}=$,ee=I6($,["colorScheme","extend","css"]),J=q||{},{colorScheme:oe}=J,$e=I6(J,["colorScheme"]),et=K||{},{dark:wt}=et,bt=I6(et,["dark"]),ce=oe||{},{dark:Be}=ce,ae=I6(ce,["dark"]),xe=os(ee)?this._toVariables({[R]:ty(ty({},ee),$e)},l):{},U=os(bt)?this._toVariables({[R]:ty(ty({},bt),ae)},l):{},He=os(wt)?this._toVariables({[R]:ty(ty({},wt),Be)},l):{},[yt,ft]=[(y=xe.declarations)!=null?y:"",xe.tokens||[]],[At,Jt]=[(S=U.declarations)!=null?S:"",U.tokens||[]],[un,kn]=[(E=He.declarations)!=null?E:"",He.tokens||[]],qt=this.transformCSS(R,`${yt}${At}`,"light","variable",l,p,g,w),on=this.transformCSS(R,un,"dark","variable",l,p,g,w);I=`${qt}${on}`,P=[...new Set([...ft,...Jt,...kn])],_=em(Q,{dt:LF})}return{css:I,tokens:P,style:_}},getPresetC({name:r="",theme:o={},params:l,set:a,defaults:p}){var g;const{preset:w,options:y}=o,S=(g=w==null?void 0:w.components)==null?void 0:g[r];return this.getPreset({name:r,preset:S,options:y,params:l,set:a,defaults:p})},getPresetD({name:r="",theme:o={},params:l,set:a,defaults:p}){var g;const w=r.replace("-directive",""),{preset:y,options:S}=o,E=(g=y==null?void 0:y.directives)==null?void 0:g[w];return this.getPreset({name:w,preset:E,options:S,params:l,set:a,defaults:p})},applyDarkColorScheme(r){return!(r.darkModeSelector==="none"||r.darkModeSelector===!1)},getColorSchemeOption(r,o){var l;return this.applyDarkColorScheme(r)?this.regex.resolve(r.darkModeSelector===!0?o.options.darkModeSelector:(l=r.darkModeSelector)!=null?l:o.options.darkModeSelector):[]},getLayerOrder(r,o={},l,a){const{cssLayer:p}=o;return p?`@layer ${em(p.order||"primeui",l)}`:""},getCommonStyleSheet({name:r="",theme:o={},params:l,props:a={},set:p,defaults:g}){const w=this.getCommon({name:r,theme:o,params:l,set:p,defaults:g}),y=Object.entries(a).reduce((S,[E,I])=>S.push(`${E}="${I}"`)&&S,[]).join(" ");return Object.entries(w||{}).reduce((S,[E,I])=>{if(I!=null&&I.css){const P=AF(I==null?void 0:I.css),_=`${E}-variables`;S.push(``)}return S},[]).join("")},getStyleSheet({name:r="",theme:o={},params:l,props:a={},set:p,defaults:g}){var w;const y={name:r,theme:o,params:l,set:p,defaults:g},S=(w=r.includes("-directive")?this.getPresetD(y):this.getPresetC(y))==null?void 0:w.css,E=Object.entries(a).reduce((I,[P,_])=>I.push(`${P}="${_}"`)&&I,[]).join(" ");return S?``:""},createTokens(r={},o,l="",a="",p={}){return Object.entries(r).forEach(([g,w])=>{const y=$6(g,o.variable.excludedKeyRegex)?l:l?`${l}.${E5t(g)}`:E5t(g),S=a?`${a}.${g}`:g;m3(w)?this.createTokens(w,o,y,S,p):(p[y]||(p[y]={paths:[],computed(E,I={}){var P,_;return this.paths.length===1?(P=this.paths[0])==null?void 0:P.computed(this.paths[0].scheme,I.binding):E&&E!=="none"?(_=this.paths.find(R=>R.scheme===E))==null?void 0:_.computed(E,I.binding):this.paths.map(R=>R.computed(R.scheme,I[R.scheme]))}}),p[y].paths.push({path:S,value:w,scheme:S.includes("colorScheme.light")?"light":S.includes("colorScheme.dark")?"dark":"none",computed(E,I={}){const P=/{([^}]*)}/g;let _=w;if(I.name=this.path,I.binding||(I.binding={}),$6(w,P)){const $=w.trim().replaceAll(P,Q=>{var ee;const J=Q.replace(/{|}/g,""),oe=(ee=p[J])==null?void 0:ee.computed(E,I);return hH(oe)&&oe.length===2?`light-dark(${oe[0].value},${oe[1].value})`:oe==null?void 0:oe.value}),K=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,q=/var\([^)]+\)/g;_=$6($.replace(q,"0"),K)?`calc(${$})`:$}return sm(I.binding)&&delete I.binding,{colorScheme:E,path:this.path,paths:I,value:_.includes("undefined")?void 0:_}}}))}),p},getTokenValue(r,o,l){var a;const g=(S=>S.split(".").filter(I=>!$6(I.toLowerCase(),l.variable.excludedKeyRegex)).join("."))(o),w=o.includes("colorScheme.light")?"light":o.includes("colorScheme.dark")?"dark":void 0,y=[(a=r[g])==null?void 0:a.computed(w)].flat().filter(S=>S);return y.length===1?y[0].value:y.reduce((S={},E)=>{const I=E,{colorScheme:P}=I,_=I6(I,["colorScheme"]);return S[P]=_,S},void 0)},getSelectorRule(r,o,l,a){return l==="class"||l==="attr"?BO(os(o)?`${r}${o},${r} ${o}`:r,a):BO(r,os(o)?BO(o,a):a)},transformCSS(r,o,l,a,p={},g,w,y){if(os(o)){const{cssLayer:S}=p;if(a!=="style"){const E=this.getColorSchemeOption(p,w);o=l==="dark"?E.reduce((I,{type:P,selector:_})=>(os(_)&&(I+=_.includes("[CSS]")?_.replace("[CSS]",o):this.getSelectorRule(_,y,P,o)),I),""):BO(y??":root",o)}if(S){const E={name:"primeui",order:"primeui"};m3(S)&&(E.name=em(S.name,{name:r,type:a})),os(E.name)&&(o=BO(`@layer ${E.name}`,o),g==null||g.layerNames(E.name))}return o}return""}},Uc={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(r={}){const{theme:o}=r;o&&(this._theme=z8e(ty({},o),{options:ty(ty({},this.defaults.options),o.options)}),this._tokens=Vv.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var r;return((r=this.theme)==null?void 0:r.preset)||{}},get options(){var r;return((r=this.theme)==null?void 0:r.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(r){this.update({theme:r}),Zv.emit("theme:change",r)},getPreset(){return this.preset},setPreset(r){this._theme=z8e(ty({},this.theme),{preset:r}),this._tokens=Vv.createTokens(r,this.defaults),this.clearLoadedStyleNames(),Zv.emit("preset:change",r),Zv.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(r){this._theme=z8e(ty({},this.theme),{options:r}),this.clearLoadedStyleNames(),Zv.emit("options:change",r),Zv.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(r){this._layerNames.add(r)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(r){return this._loadedStyleNames.has(r)},setLoadedStyleName(r){this._loadedStyleNames.add(r)},deleteLoadedStyleName(r){this._loadedStyleNames.delete(r)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(r){return Vv.getTokenValue(this.tokens,r,this.defaults)},getCommon(r="",o){return Vv.getCommon({name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(r="",o){const l={name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Vv.getPresetC(l)},getDirective(r="",o){const l={name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Vv.getPresetD(l)},getCustomPreset(r="",o,l,a){const p={name:r,preset:o,options:this.options,selector:l,params:a,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Vv.getPreset(p)},getLayerOrderCSS(r=""){return Vv.getLayerOrder(r,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(r="",o,l="style",a){return Vv.transformCSS(r,o,a,l,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(r="",o,l={}){return Vv.getCommonStyleSheet({name:r,theme:this.theme,params:o,props:l,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(r,o,l={}){return Vv.getStyleSheet({name:r,theme:this.theme,params:o,props:l,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(r){this._loadingStyles.add(r)},onStyleUpdated(r){this._loadingStyles.add(r)},onStyleLoaded(r,{name:o}){this._loadingStyles.size&&(this._loadingStyles.delete(o),Zv.emit(`theme:${o}:load`,r),!this._loadingStyles.size&&Zv.emit("theme:load"))}};function s1n(r,o){return r?r.classList?r.classList.contains(o):new RegExp("(^| )"+o+"( |$)","gi").test(r.className):!1}function gE(r,o){if(r&&o){const l=a=>{s1n(r,a)||(r.classList?r.classList.add(a):r.className+=" "+a)};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(l))}}function l1n(){return window.innerWidth-document.documentElement.offsetWidth}function m_(r){for(const o of document==null?void 0:document.styleSheets)try{for(const l of o==null?void 0:o.cssRules)for(const a of l==null?void 0:l.style)if(r.test(a))return{name:a,value:l.style.getPropertyValue(a).trim()}}catch{}return null}function M5t(r="p-overflow-hidden"){const o=m_(/-scrollbar-width$/);o!=null&&o.name&&document.body.style.setProperty(o.name,l1n()+"px"),gE(document.body,r)}function c1n(r){if(r){let o=document.createElement("a");if(o.download!==void 0){const{name:l,src:a}=r;return o.setAttribute("href",a),o.setAttribute("download",l),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o),!0}}return!1}function u1n(r,o){let l=new Blob([r],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(l,o+".csv"):c1n({name:o+".csv",src:URL.createObjectURL(l)})||(r="data:text/csv;charset=utf-8,"+r,window.open(encodeURI(r)))}function A6(r,o){if(r&&o){const l=a=>{r.classList?r.classList.remove(a):r.className=r.className.replace(new RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(l))}}function P5t(r="p-overflow-hidden"){const o=m_(/-scrollbar-width$/);o!=null&&o.name&&document.body.style.removeProperty(o.name),A6(document.body,r)}function c9t(r){let o={width:0,height:0};return r&&(r.style.visibility="hidden",r.style.display="block",o.width=r.offsetWidth,o.height=r.offsetHeight,r.style.display="none",r.style.visibility="visible"),o}function VSe(){let r=window,o=document,l=o.documentElement,a=o.getElementsByTagName("body")[0],p=r.innerWidth||l.clientWidth||a.clientWidth,g=r.innerHeight||l.clientHeight||a.clientHeight;return{width:p,height:g}}function a1n(){let r=document.documentElement;return(window.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}function f1n(){let r=document.documentElement;return(window.pageYOffset||r.scrollTop)-(r.clientTop||0)}function u9t(r,o,l=!0){var a,p,g,w;if(r){const y=r.offsetParent?{width:r.offsetWidth,height:r.offsetHeight}:c9t(r),S=y.height,E=y.width,I=o.offsetHeight,P=o.offsetWidth,_=o.getBoundingClientRect(),R=f1n(),$=a1n(),K=VSe();let q,Q,ee="top";_.top+I+S>K.height?(q=_.top+R-S,ee="bottom",q<0&&(q=R)):q=I+_.top+R,_.left+E>K.width?Q=Math.max(0,_.left+$+P-E):Q=_.left+$,r.style.top=q+"px",r.style.left=Q+"px",r.style.transformOrigin=ee,l&&(r.style.marginTop=ee==="bottom"?`calc(${(p=(a=m_(/-anchor-gutter$/))==null?void 0:a.value)!=null?p:"2px"} * -1)`:(w=(g=m_(/-anchor-gutter$/))==null?void 0:g.value)!=null?w:"")}}function oz(r,o){r&&(typeof o=="string"?r.style.cssText=o:Object.entries(o||{}).forEach(([l,a])=>r.style[l]=a))}function Wh(r,o){if(r instanceof HTMLElement){let l=r.offsetWidth;if(o){let a=getComputedStyle(r);l+=parseFloat(a.marginLeft)+parseFloat(a.marginRight)}return l}return 0}function d1n(r,o,l=!0){var a,p,g,w;if(r){const y=r.offsetParent?{width:r.offsetWidth,height:r.offsetHeight}:c9t(r),S=o.offsetHeight,E=o.getBoundingClientRect(),I=VSe();let P,_,R="top";E.top+S+y.height>I.height?(P=-1*y.height,R="bottom",E.top+P<0&&(P=-1*E.top)):P=S,y.width>I.width?_=E.left*-1:E.left+y.width>I.width?_=(E.left+y.width-I.width)*-1:_=0,r.style.top=P+"px",r.style.left=_+"px",r.style.transformOrigin=R,l&&(r.style.marginTop=R==="bottom"?`calc(${(p=(a=m_(/-anchor-gutter$/))==null?void 0:a.value)!=null?p:"2px"} * -1)`:(w=(g=m_(/-anchor-gutter$/))==null?void 0:g.value)!=null?w:"")}}function j_(r){return typeof HTMLElement=="object"?r instanceof HTMLElement:r&&typeof r=="object"&&r!==null&&r.nodeType===1&&typeof r.nodeName=="string"}function bne(){if(window.getSelection){const r=window.getSelection()||{};r.empty?r.empty():r.removeAllRanges&&r.rangeCount>0&&r.getRangeAt(0).getClientRects().length>0&&r.removeAllRanges()}}function Wne(r,o={}){if(j_(r)){const l=(a,p)=>{var g,w;const y=(g=r==null?void 0:r.$attrs)!=null&&g[a]?[(w=r==null?void 0:r.$attrs)==null?void 0:w[a]]:[];return[p].flat().reduce((S,E)=>{if(E!=null){const I=typeof E;if(I==="string"||I==="number")S.push(E);else if(I==="object"){const P=Array.isArray(E)?l(a,E):Object.entries(E).map(([_,R])=>a==="style"&&(R||R===0)?`${_.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${R}`:R?_:void 0);S=P.length?S.concat(P.filter(_=>!!_)):S}}return S},y)};Object.entries(o).forEach(([a,p])=>{if(p!=null){const g=a.match(/^on(.+)/);g?r.addEventListener(g[1].toLowerCase(),p):a==="p-bind"||a==="pBind"?Wne(r,p):(p=a==="class"?[...new Set(l("class",p))].join(" ").trim():a==="style"?l("style",p).join(";").trim():p,(r.$attrs=r.$attrs||{})&&(r.$attrs[a]=p),r.setAttribute(a,p))}})}}function a9t(r,o={},...l){{const a=document.createElement(r);return Wne(a,o),a.append(...l),a}}function FO(r,o){return j_(r)?Array.from(r.querySelectorAll(o)):[]}function E7(r,o){return j_(r)?r.matches(o)?r:r.querySelector(o):null}function P1(r,o){r&&document.activeElement!==r&&r.focus(o)}function dh(r,o){if(j_(r)){const l=r.getAttribute(o);return isNaN(l)?l==="true"||l==="false"?l==="true":l:+l}}function qSe(r,o=""){let l=FO(r,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}`),a=[];for(let p of l)getComputedStyle(p).display!="none"&&getComputedStyle(p).visibility!="hidden"&&a.push(p);return a}function dE(r,o){const l=qSe(r,o);return l.length>0?l[0]:null}function v7(r){if(r){let o=r.offsetHeight,l=getComputedStyle(r);return o-=parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)+parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),o}return 0}function h1n(r){if(r){r.style.visibility="hidden",r.style.display="block";let o=r.offsetHeight;return r.style.display="none",r.style.visibility="visible",o}return 0}function p1n(r){if(r){r.style.visibility="hidden",r.style.display="block";let o=r.offsetWidth;return r.style.display="none",r.style.visibility="visible",o}return 0}function XSe(r){if(r){let o=r.parentNode;return o&&o instanceof ShadowRoot&&o.host&&(o=o.host),o}return null}function wne(r){var o;if(r){let l=(o=XSe(r))==null?void 0:o.childNodes,a=0;if(l)for(let p=0;p0?l[l.length-1]:null}function YSe(r,o){let l=r.nextElementSibling;for(;l;){if(l.matches(o))return l;l=l.nextElementSibling}return null}function zO(r){if(r){let o=r.getBoundingClientRect();return{top:o.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:o.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function D6(r,o){if(r){let l=r.offsetHeight;if(o){let a=getComputedStyle(r);l+=parseFloat(a.marginTop)+parseFloat(a.marginBottom)}return l}return 0}function d9t(r,o=[]){const l=XSe(r);return l===null?o:d9t(l,o.concat([l]))}function JSe(r,o){let l=r.previousElementSibling;for(;l;){if(l.matches(o))return l;l=l.previousElementSibling}return null}function g1n(r){let o=[];if(r){let l=d9t(r);const a=/(auto|scroll)/,p=g=>{try{let w=window.getComputedStyle(g,null);return a.test(w.getPropertyValue("overflow"))||a.test(w.getPropertyValue("overflowX"))||a.test(w.getPropertyValue("overflowY"))}catch{return!1}};for(let g of l){let w=g.nodeType===1&&g.dataset.scrollselectors;if(w){let y=w.split(",");for(let S of y){let E=E7(g,S);E&&p(E)&&o.push(E)}}g.nodeType!==9&&p(g)&&o.push(g)}}return o}function O5t(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function b1n(r){return!!(r!==null&&typeof r<"u"&&r.nodeName&&XSe(r))}function y7(r){if(r){let o=r.offsetWidth,l=getComputedStyle(r);return o-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)+parseFloat(l.borderLeftWidth)+parseFloat(l.borderRightWidth),o}return 0}function _5t(r,o,l){r[o].apply(r,l)}function w1n(){return/(android)/i.test(navigator.userAgent)}function H8e(r){if(r){const o=r.nodeName,l=r.parentElement&&r.parentElement.nodeName;return o==="INPUT"||o==="TEXTAREA"||o==="BUTTON"||o==="A"||l==="INPUT"||l==="TEXTAREA"||l==="BUTTON"||l==="A"||!!r.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function QSe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function R5t(r,o=""){return j_(r)?r.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}`):!1}function Vne(r){return!!(r&&r.offsetParent!=null)}function h9t(r){return r?getComputedStyle(r).direction==="rtl":!1}function p9t(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function zre(r,o="",l){j_(r)&&l!==null&&l!==void 0&&r.setAttribute(o,l)}var Nte={};function ZSe(r="pui_id_"){return Nte.hasOwnProperty(r)||(Nte[r]=0),Nte[r]++,`${r}${Nte[r]}`}function m1n(){let r=[];const o=(w,y,S=999)=>{const E=p(w,y,S),I=E.value+(E.key===w?0:S)+1;return r.push({key:w,value:I}),I},l=w=>{r=r.filter(y=>y.value!==w)},a=(w,y)=>p(w).value,p=(w,y,S=0)=>[...r].reverse().find(E=>!0)||{key:w,value:S},g=w=>w&&parseInt(w.style.zIndex,10)||0;return{get:g,set:(w,y,S)=>{y&&(y.style.zIndex=String(o(w,!0,S)))},clear:w=>{w&&(l(g(w)),w.style.zIndex="")},getCurrent:w=>a(w)}}var H6=m1n(),Ta={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},qne={AND:"and",OR:"or"};function A5t(r,o){var l=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!l){if(Array.isArray(r)||(l=v1n(r))||o){l&&(r=l);var a=0,p=function(){};return{s:p,n:function(){return a>=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function v1n(r,o){if(r){if(typeof r=="string")return L5t(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?L5t(r,o):void 0}}function L5t(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);ll.getTime():o>l},gte:function(o,l){return l==null?!0:o==null?!1:o.getTime&&l.getTime?o.getTime()>=l.getTime():o>=l},dateIs:function(o,l){return l==null?!0:o==null?!1:o.toDateString()===l.toDateString()},dateIsNot:function(o,l){return l==null?!0:o==null?!1:o.toDateString()!==l.toDateString()},dateBefore:function(o,l){return l==null?!0:o==null?!1:o.getTime()l.getTime()}},register:function(o,l){this.filters[o]=l}};function sz(r){"@babel/helpers - typeof";return sz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},sz(r)}function j5t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function $5t(r){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:!0;H7()?bb(r):o?r():rm(r)}var x1n=0;function E1n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=Qo(!1),a=Qo(r),p=Qo(null),g=QSe()?window.document:void 0,w=o.document,y=w===void 0?g:w,S=o.immediate,E=S===void 0?!0:S,I=o.manual,P=I===void 0?!1:I,_=o.name,R=_===void 0?"style_".concat(++x1n):_,$=o.id,K=$===void 0?void 0:$,q=o.media,Q=q===void 0?void 0:q,ee=o.nonce,J=ee===void 0?void 0:ee,oe=o.first,$e=oe===void 0?!1:oe,et=o.onMounted,wt=et===void 0?void 0:et,bt=o.onUpdated,ce=bt===void 0?void 0:bt,Be=o.onLoad,ae=Be===void 0?void 0:Be,xe=o.props,U=xe===void 0?{}:xe,He=function(){},yt=function(Jt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(y){var kn=$5t($5t({},U),un),qt=kn.name||R,on=kn.id||K,Rt=kn.nonce||J;p.value=y.querySelector('style[data-primevue-style-id="'.concat(qt,'"]'))||y.getElementById(on)||y.createElement("style"),p.value.isConnected||(a.value=Jt||r,Wne(p.value,{type:"text/css",id:on,media:Q,nonce:Rt}),$e?y.head.prepend(p.value):y.head.appendChild(p.value),zre(p.value,"data-primevue-style-id",qt),Wne(p.value,kn),p.value.onload=function(an){return ae==null?void 0:ae(an,{name:qt})},wt==null||wt(qt)),!l.value&&(He=Vs(a,function(an){p.value.textContent=an,ce==null||ce(qt)},{immediate:!0}),l.value=!0)}},ft=function(){!y||!l.value||(He(),b1n(p.value)&&y.head.removeChild(p.value),l.value=!1)};return E&&!P&&S1n(yt),{id:K,name:R,el:p,css:a,unload:ft,load:yt,isLoaded:_re(l)}}function lz(r){"@babel/helpers - typeof";return lz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},lz(r)}function D5t(r,o){return P1n(r)||M1n(r,o)||I1n(r,o)||T1n()}function T1n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I1n(r,o){if(r){if(typeof r=="string")return N5t(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?N5t(r,o):void 0}}function N5t(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(g){return g},p=a(em(o,{dt:LF}));return os(p)?E1n(AF(p),K8e({name:this.name},l)):{}},loadCSS:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,o)},loadTheme:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.theme,l,function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Uc.transformCSS(l.name||o.name,"".concat(p).concat(a))})},getCommonTheme:function(o){return Uc.getCommon(this.name,o)},getComponentTheme:function(o){return Uc.getComponent(this.name,o)},getDirectiveTheme:function(o){return Uc.getDirective(this.name,o)},getPresetTheme:function(o,l,a){return Uc.getCustomPreset(this.name,o,l,a)},getLayerOrderThemeCSS:function(){return Uc.getLayerOrderCSS(this.name)},getStyleSheet:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var a=em(this.css,{dt:LF})||"",p=AF("".concat(a).concat(o)),g=Object.entries(l).reduce(function(w,y){var S=D5t(y,2),E=S[0],I=S[1];return w.push("".concat(E,'="').concat(I,'"'))&&w},[]).join(" ");return os(p)?'"):""}return""},getCommonThemeStyleSheet:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Uc.getCommonStyleSheet(this.name,o,l)},getThemeStyleSheet:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[Uc.getStyleSheet(this.name,o,l)];if(this.theme){var p=this.name==="base"?"global-style":"".concat(this.name,"-style"),g=em(this.theme,{dt:LF}),w=AF(Uc.transformCSS(p,g)),y=Object.entries(l).reduce(function(S,E){var I=D5t(E,2),P=I[0],_=I[1];return S.push("".concat(P,'="').concat(_,'"'))&&S},[]).join(" ");os(w)&&a.push('"))}return a.join("")},extend:function(o){return K8e(K8e({},this),{},{css:void 0,theme:void 0},o)}},WO=WSe();function cz(r){"@babel/helpers - typeof";return cz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},cz(r)}function F5t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function Bte(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l1?l-1:0),p=1;p0&&arguments[0]!==void 0?arguments[0]:function(){};k7.clearLoadedStyleNames(),Zv.on("theme:change",o)},_getHostInstance:function(o){return o?this.$options.hostName?o.$.type.name===this.$options.hostName?o:this._getHostInstance(o.$parentInstance):o.$parentInstance:void 0},_getPropValue:function(o){var l;return this[o]||((l=this._getHostInstance(this))===null||l===void 0?void 0:l[o])},_getOptionValue:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return GSe(o,l,a)},_getPTValue:function(){var o,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,w=/./g.test(a)&&!!p[a.split(".")[0]],y=this._getPropValue("ptOptions")||((o=this.$primevueConfig)===null||o===void 0?void 0:o.ptOptions)||{},S=y.mergeSections,E=S===void 0?!0:S,I=y.mergeProps,P=I===void 0?!1:I,_=g?w?this._useGlobalPT(this._getPTClassValue,a,p):this._useDefaultPT(this._getPTClassValue,a,p):void 0,R=w?void 0:this._getPTSelf(l,this._getPTClassValue,a,hl(hl({},p),{},{global:_||{}})),$=this._getPTDatasets(a);return E||!E&&R?P?this._mergeProps(P,_,R,$):hl(hl(hl({},_),R),$):hl(hl({},R),$)},_getPTSelf:function(){for(var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length,a=new Array(l>1?l-1:0),p=1;p0&&arguments[0]!==void 0?arguments[0]:"",p="data-pc-",g=a==="root"&&os((o=this.pt)===null||o===void 0?void 0:o["data-pc-section"]);return a!=="transition"&&hl(hl({},a==="root"&&hl(hl(bF({},"".concat(p,"name"),ey(g?(l=this.pt)===null||l===void 0?void 0:l["data-pc-section"]:this.$.type.name)),g&&bF({},"".concat(p,"extend"),ey(this.$.type.name))),QSe()&&bF({},"".concat(this.$attrSelector),""))),{},bF({},"".concat(p,"section"),ey(a)))},_getPTClassValue:function(){var o=this._getOptionValue.apply(this,arguments);return Vg(o)||hH(o)?{class:o}:o},_getPT:function(o){var l=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",p=arguments.length>2?arguments[2]:void 0,g=function(y){var S,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,I=p?p(y):y,P=ey(a),_=ey(l.$name);return(S=E?P!==_?I==null?void 0:I[P]:void 0:I==null?void 0:I[P])!==null&&S!==void 0?S:I};return o!=null&&o.hasOwnProperty("_usept")?{_usept:o._usept,originalValue:g(o.originalValue),value:g(o.value)}:g(o,!0)},_usePT:function(o,l,a,p){var g=function(K){return l(K,a,p)};if(o!=null&&o.hasOwnProperty("_usept")){var w,y=o._usept||((w=this.$primevueConfig)===null||w===void 0?void 0:w.ptOptions)||{},S=y.mergeSections,E=S===void 0?!0:S,I=y.mergeProps,P=I===void 0?!1:I,_=g(o.originalValue),R=g(o.value);return _===void 0&&R===void 0?void 0:Vg(R)?R:Vg(_)?_:E||!E&&R?P?this._mergeProps(P,_,R):hl(hl({},_),R):R}return g(o)},_useGlobalPT:function(o,l,a){return this._usePT(this.globalPT,o,l,a)},_useDefaultPT:function(o,l,a){return this._usePT(this.defaultPT,o,l,a)},ptm:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,o,hl(hl({},this.$params),l))},ptmi:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ze(this.$_attrsWithoutPT,this.ptm(o,l))},ptmo:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(o,l,hl({instance:this},a),!1)},cx:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,o,hl(hl({},this.$params),l))},sx:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(l){var p=this._getOptionValue(this.$style.inlineStyles,o,hl(hl({},this.$params),a)),g=this._getOptionValue(K5t.inlineStyles,o,hl(hl({},this.$params),a));return[g,p]}}},computed:{globalPT:function(){var o,l=this;return this._getPT((o=this.$primevueConfig)===null||o===void 0?void 0:o.pt,void 0,function(a){return em(a,{instance:l})})},defaultPT:function(){var o,l=this;return this._getPT((o=this.$primevueConfig)===null||o===void 0?void 0:o.pt,void 0,function(a){return l._getOptionValue(a,l.$name,hl({},l.$params))||em(a,hl({},l.$params))})},isUnstyled:function(){var o;return this.unstyled!==void 0?this.unstyled:(o=this.$primevueConfig)===null||o===void 0?void 0:o.unstyled},$inProps:function(){var o,l=Object.keys(((o=this.$.vnode)===null||o===void 0?void 0:o.props)||{});return Object.fromEntries(Object.entries(this.$props).filter(function(a){var p=oF(a,1),g=p[0];return l==null?void 0:l.includes(g)}))},$theme:function(){var o;return(o=this.$primevueConfig)===null||o===void 0?void 0:o.theme},$style:function(){return hl(hl({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var o;return{nonce:(o=this.$primevueConfig)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce}},$primevueConfig:function(){var o;return(o=this.$primevue)===null||o===void 0?void 0:o.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var o=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:o,props:o==null?void 0:o.$props,state:o==null?void 0:o.$data,attrs:o==null?void 0:o.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(o){var l=oF(o,1),a=l[0];return a==null?void 0:a.startsWith("pt:")}).reduce(function(o,l){var a=oF(l,2),p=a[0],g=a[1],w=p.split(":"),y=Rgn(w),S=y.slice(1);return S==null||S.reduce(function(E,I,P,_){return!E[I]&&(E[I]=P===_.length-1?g:{}),E[I]},o),o},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(o){var l=oF(o,1),a=l[0];return!(a!=null&&a.startsWith("pt:"))}).reduce(function(o,l){var a=oF(l,2),p=a[0],g=a[1];return o[p]=g,o},{})}}},Dgn=function(o){var l=o.dt;return` -.p-toolbar { - display: flex; - align-items: center; - justify-content: space-between; - flex-wrap: wrap; - padding: `.concat(l("toolbar.padding"),`; - background: `).concat(l("toolbar.background"),`; - border: 1px solid `).concat(l("toolbar.border.color"),`; - color: `).concat(l("toolbar.color"),`; - border-radius: `).concat(l("toolbar.border.radius"),`; - gap: `).concat(l("toolbar.gap"),`; -} - -.p-toolbar-start, -.p-toolbar-center, -.p-toolbar-end { - display: flex; - align-items: center; -} -`)},Ngn={root:"p-toolbar p-component",start:"p-toolbar-start",center:"p-toolbar-center",end:"p-toolbar-end"},Bgn=Ps.extend({name:"toolbar",theme:Dgn,classes:Ngn}),Fgn={name:"BaseToolbar",extends:Tl,props:{ariaLabelledby:{type:String,default:null}},style:Bgn,provide:function(){return{$pcToolbar:this,$parentInstance:this}}},m9t={name:"Toolbar",extends:Fgn,inheritAttrs:!1},zgn=["aria-labelledby"];function Hgn(r,o,l,a,p,g){return Ce(),vt("div",Ze({class:r.cx("root"),role:"toolbar","aria-labelledby":r.ariaLabelledby},r.ptmi("root")),[br("div",Ze({class:r.cx("start")},r.ptm("start")),[Hr(r.$slots,"start")],16),br("div",Ze({class:r.cx("center")},r.ptm("center")),[Hr(r.$slots,"center")],16),br("div",Ze({class:r.cx("end")},r.ptm("end")),[Hr(r.$slots,"end")],16)],16,zgn)}m9t.render=Hgn;var Kgn=` -.p-icon { - display: inline-block; - vertical-align: baseline; -} - -.p-icon-spin { - -webkit-animation: p-icon-spin 2s infinite linear; - animation: p-icon-spin 2s infinite linear; -} - -@-webkit-keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} - -@keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -`,Ugn=Ps.extend({name:"baseicon",css:Kgn});function fz(r){"@babel/helpers - typeof";return fz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},fz(r)}function W5t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function V5t(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,S=function(){var ee=Bs._getOptionValue.apply(Bs,arguments);return Vg(ee)||hH(ee)?{class:ee}:ee},E=((o=a.binding)===null||o===void 0||(o=o.value)===null||o===void 0?void 0:o.ptOptions)||((l=a.$primevueConfig)===null||l===void 0?void 0:l.ptOptions)||{},I=E.mergeSections,P=I===void 0?!0:I,_=E.mergeProps,R=_===void 0?!1:_,$=y?Bs._useDefaultPT(a,a.defaultPT(),S,g,w):void 0,K=Bs._usePT(a,Bs._getPT(p,a.$name),S,g,_l(_l({},w),{},{global:$||{}})),q=Bs._getPTDatasets(a,g);return P||!P&&K?R?Bs._mergeProps(a,R,$,K,q):_l(_l(_l({},$),K),q):_l(_l({},K),q)},_getPTDatasets:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a="data-pc-";return _l(_l({},l==="root"&&aCe({},"".concat(a,"name"),ey(o.$name))),{},aCe({},"".concat(a,"section"),ey(l)))},_getPT:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0,p=function(w){var y,S=a?a(w):w,E=ey(l);return(y=S==null?void 0:S[E])!==null&&y!==void 0?y:S};return o!=null&&o.hasOwnProperty("_usept")?{_usept:o._usept,originalValue:p(o.originalValue),value:p(o.value)}:p(o)},_usePT:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,p=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0,w=function(q){return a(q,p,g)};if(l!=null&&l.hasOwnProperty("_usept")){var y,S=l._usept||((y=o.$primevueConfig)===null||y===void 0?void 0:y.ptOptions)||{},E=S.mergeSections,I=E===void 0?!0:E,P=S.mergeProps,_=P===void 0?!1:P,R=w(l.originalValue),$=w(l.value);return R===void 0&&$===void 0?void 0:Vg($)?$:Vg(R)?R:I||!I&&$?_?Bs._mergeProps(o,_,R,$):_l(_l({},R),$):$}return w(l)},_useDefaultPT:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,p=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0;return Bs._usePT(o,l,a,p,g)},_loadStyles:function(o,l,a){var p,g=Bs._getConfig(l,a),w={nonce:g==null||(p=g.csp)===null||p===void 0?void 0:p.nonce};Bs._loadCoreStyles(o.$instance,w),Bs._loadThemeStyles(o.$instance,w),Bs._loadScopedThemeStyles(o.$instance,w),Bs._themeChangeListener(function(){return Bs._loadThemeStyles(o.$instance,w)})},_loadCoreStyles:function(){var o,l,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1?arguments[1]:void 0;if(!k7.isStyleNameLoaded((o=a.$style)===null||o===void 0?void 0:o.name)&&(l=a.$style)!==null&&l!==void 0&&l.name){var g;Ps.loadCSS(p),(g=a.$style)===null||g===void 0||g.loadCSS(p),k7.setLoadedStyleName(a.$style.name)}},_loadThemeStyles:function(){var o,l,a,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=arguments.length>1?arguments[1]:void 0;if(!(p!=null&&p.isUnstyled()||(p==null||(o=p.theme)===null||o===void 0?void 0:o.call(p))==="none")){if(!Uc.isStyleNameLoaded("common")){var w,y,S=((w=p.$style)===null||w===void 0||(y=w.getCommonTheme)===null||y===void 0?void 0:y.call(w))||{},E=S.primitive,I=S.semantic,P=S.global,_=S.style;Ps.load(E==null?void 0:E.css,_l({name:"primitive-variables"},g)),Ps.load(I==null?void 0:I.css,_l({name:"semantic-variables"},g)),Ps.load(P==null?void 0:P.css,_l({name:"global-variables"},g)),Ps.loadTheme(_l({name:"global-style"},g),_),Uc.setLoadedStyleName("common")}if(!Uc.isStyleNameLoaded((l=p.$style)===null||l===void 0?void 0:l.name)&&(a=p.$style)!==null&&a!==void 0&&a.name){var R,$,K,q,Q=((R=p.$style)===null||R===void 0||($=R.getDirectiveTheme)===null||$===void 0?void 0:$.call(R))||{},ee=Q.css,J=Q.style;(K=p.$style)===null||K===void 0||K.load(ee,_l({name:"".concat(p.$style.name,"-variables")},g)),(q=p.$style)===null||q===void 0||q.loadTheme(_l({name:"".concat(p.$style.name,"-style")},g),J),Uc.setLoadedStyleName(p.$style.name)}if(!Uc.isStyleNameLoaded("layer-order")){var oe,$e,et=(oe=p.$style)===null||oe===void 0||($e=oe.getLayerOrderThemeCSS)===null||$e===void 0?void 0:$e.call(oe);Ps.load(et,_l({name:"layer-order",first:!0},g)),Uc.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,a=o.preset();if(a&&o.$attrSelector){var p,g,w,y=((p=o.$style)===null||p===void 0||(g=p.getPresetTheme)===null||g===void 0?void 0:g.call(p,a,"[".concat(o.$attrSelector,"]")))||{},S=y.css,E=(w=o.$style)===null||w===void 0?void 0:w.load(S,_l({name:"".concat(o.$attrSelector,"-").concat(o.$style.name)},l));o.scopedStyleEl=E.el}},_themeChangeListener:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};k7.clearLoadedStyleNames(),Zv.on("theme:change",o)},_hook:function(o,l,a,p,g,w){var y,S,E="on".concat(Xhn(l)),I=Bs._getConfig(p,g),P=a==null?void 0:a.$instance,_=Bs._usePT(P,Bs._getPT(p==null||(y=p.value)===null||y===void 0?void 0:y.pt,o),Bs._getOptionValue,"hooks.".concat(E)),R=Bs._useDefaultPT(P,I==null||(S=I.pt)===null||S===void 0||(S=S.directives)===null||S===void 0?void 0:S[o],Bs._getOptionValue,"hooks.".concat(E)),$={el:a,binding:p,vnode:g,prevVnode:w};_==null||_(P,$),R==null||R(P,$)},_mergeProps:function(){for(var o=arguments.length>1?arguments[1]:void 0,l=arguments.length,a=new Array(l>2?l-2:0),p=2;p1&&arguments[1]!==void 0?arguments[1]:{},a=function(w,y,S,E,I){var P,_,R,$;y._$instances=y._$instances||{};var K=Bs._getConfig(S,E),q=y._$instances[o]||{},Q=sm(q)?_l(_l({},l),l==null?void 0:l.methods):{};y._$instances[o]=_l(_l({},q),{},{$name:o,$host:y,$binding:S,$modifiers:S==null?void 0:S.modifiers,$value:S==null?void 0:S.value,$el:q.$el||y||void 0,$style:_l({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},l==null?void 0:l.style),$primevueConfig:K,$attrSelector:(P=y.$pd)===null||P===void 0||(P=P[o])===null||P===void 0?void 0:P.attrSelector,defaultPT:function(){return Bs._getPT(K==null?void 0:K.pt,void 0,function(J){var oe;return J==null||(oe=J.directives)===null||oe===void 0?void 0:oe[o]})},isUnstyled:function(){var J,oe;return((J=y.$instance)===null||J===void 0||(J=J.$binding)===null||J===void 0||(J=J.value)===null||J===void 0?void 0:J.unstyled)!==void 0?(oe=y.$instance)===null||oe===void 0||(oe=oe.$binding)===null||oe===void 0||(oe=oe.value)===null||oe===void 0?void 0:oe.unstyled:K==null?void 0:K.unstyled},theme:function(){var J;return(J=y.$instance)===null||J===void 0||(J=J.$primevueConfig)===null||J===void 0?void 0:J.theme},preset:function(){var J;return(J=y.$instance)===null||J===void 0||(J=J.$binding)===null||J===void 0||(J=J.value)===null||J===void 0?void 0:J.dt},ptm:function(){var J,oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",$e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Bs._getPTValue(y.$instance,(J=y.$instance)===null||J===void 0||(J=J.$binding)===null||J===void 0||(J=J.value)===null||J===void 0?void 0:J.pt,oe,_l({},$e))},ptmo:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Bs._getPTValue(y.$instance,J,oe,$e,!1)},cx:function(){var J,oe,$e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(J=y.$instance)!==null&&J!==void 0&&J.isUnstyled()?void 0:Bs._getOptionValue((oe=y.$instance)===null||oe===void 0||(oe=oe.$style)===null||oe===void 0?void 0:oe.classes,$e,_l({},et))},sx:function(){var J,oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",$e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return $e?Bs._getOptionValue((J=y.$instance)===null||J===void 0||(J=J.$style)===null||J===void 0?void 0:J.inlineStyles,oe,_l({},et)):void 0}},Q),y.$instance=y._$instances[o],(_=(R=y.$instance)[w])===null||_===void 0||_.call(R,y,S,E,I),y["$".concat(o)]=y.$instance,Bs._hook(o,w,y,S,E,I),y.$pd||(y.$pd={}),y.$pd[o]=_l(_l({},($=y.$pd)===null||$===void 0?void 0:$[o]),{},{name:o,instance:y.$instance})},p=function(w){var y,S,E,I,P,_=(y=w.$instance)===null||y===void 0?void 0:y.watch;_==null||(S=_.config)===null||S===void 0||S.call(w.$instance,(E=w.$instance)===null||E===void 0?void 0:E.$primevueConfig),WO.on("config:change",function(R){var $,K=R.newValue,q=R.oldValue;return _==null||($=_.config)===null||$===void 0?void 0:$.call(w.$instance,K,q)}),_==null||(I=_["config.ripple"])===null||I===void 0||I.call(w.$instance,(P=w.$instance)===null||P===void 0||(P=P.$primevueConfig)===null||P===void 0?void 0:P.ripple),WO.on("config:ripple:change",function(R){var $,K=R.newValue,q=R.oldValue;return _==null||($=_["config.ripple"])===null||$===void 0?void 0:$.call(w.$instance,K,q)})};return{created:function(w,y,S,E){w.$pd||(w.$pd={}),w.$pd[o]={name:o,attrSelector:ZSe("pd")},a("created",w,y,S,E)},beforeMount:function(w,y,S,E){Bs._loadStyles(w,y,S),a("beforeMount",w,y,S,E),p(w)},mounted:function(w,y,S,E){Bs._loadStyles(w,y,S),a("mounted",w,y,S,E)},beforeUpdate:function(w,y,S,E){a("beforeUpdate",w,y,S,E)},updated:function(w,y,S,E){Bs._loadStyles(w,y,S),a("updated",w,y,S,E)},beforeUnmount:function(w,y,S,E){a("beforeUnmount",w,y,S,E)},unmounted:function(w,y,S,E){var I;(I=w.$instance)===null||I===void 0||(I=I.scopedStyleEl)===null||I===void 0||(I=I.value)===null||I===void 0||I.remove(),a("unmounted",w,y,S,E)}}},extend:function(){var o=Bs._getMeta.apply(Bs,arguments),l=q5t(o,2),a=l[0],p=l[1];return _l({extend:function(){var w=Bs._getMeta.apply(Bs,arguments),y=q5t(w,2),S=y[0],E=y[1];return Bs.extend(S,_l(_l(_l({},p),p==null?void 0:p.methods),E))}},Bs._extend(a,p))}},s0n=function(o){var l=o.dt;return` -.p-ink { - display: block; - position: absolute; - background: `.concat(l("ripple.background"),`; - border-radius: 100%; - transform: scale(0); - pointer-events: none; -} - -.p-ink-active { - animation: ripple 0.4s linear; -} - -@keyframes ripple { - 100% { - opacity: 0; - transform: scale(2.5); - } -} -`)},l0n={root:"p-ink"},c0n=Ps.extend({name:"ripple-directive",theme:s0n,classes:l0n}),u0n=Bs.extend({style:c0n});function hz(r){"@babel/helpers - typeof";return hz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},hz(r)}function a0n(r){return p0n(r)||h0n(r)||d0n(r)||f0n()}function f0n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d0n(r,o){if(r){if(typeof r=="string")return fCe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?fCe(r,o):void 0}}function h0n(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function p0n(r){if(Array.isArray(r))return fCe(r)}function fCe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1&&arguments[1]!==void 0?arguments[1]:function(){};x0n(this,r),this.element=o,this.listener=l}return T0n(r,[{key:"bindScrollListener",value:function(){this.scrollableParents=g1n(this.element);for(var l=0;lr.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&arguments[0]!==void 0?arguments[0]:[],p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=[];return p.forEach(function(w){w.children instanceof Array?g=g.concat(l._recursive(g,w.children)):w.type.name===l.type?g.push(w):os(w.key)&&(g=g.concat(a.filter(function(y){return l._isMatched(y,w.key)}).map(function(y){return y.vnode})))}),g}}])}();function _7(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return ZSe(r)}function G6(r,o){if(r){var l=r.props;if(l){var a=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),p=Object.prototype.hasOwnProperty.call(l,a)?a:o;return r.type.extends.props[o].type===Boolean&&l[p]===""?!0:l[p]}}return null}var N0n=function(o){var l=o.dt;return` -.p-splitter { - display: flex; - flex-wrap: nowrap; - border: 1px solid `.concat(l("splitter.border.color"),`; - background: `).concat(l("splitter.background"),`; - border-radius: `).concat(l("border.radius.md"),`; - color: `).concat(l("splitter.color"),`; -} - -.p-splitter-vertical { - flex-direction: column; -} - -.p-splitter-gutter { - flex-grow: 0; - flex-shrink: 0; - display: flex; - align-items: center; - justify-content: center; - z-index: 1; - background: `).concat(l("splitter.gutter.background"),`; -} - -.p-splitter-gutter-handle { - border-radius: `).concat(l("splitter.handle.border.radius"),`; - background: `).concat(l("splitter.handle.background"),`; - transition: outline-color `).concat(l("splitter.transition.duration"),", box-shadow ").concat(l("splitter.transition.duration"),`; - outline-color: transparent; -} - -.p-splitter-gutter-handle:focus-visible { - box-shadow: `).concat(l("splitter.handle.focus.ring.shadow"),`; - outline: `).concat(l("splitter.handle.focus.ring.width")," ").concat(l("splitter.handle.focus.ring.style")," ").concat(l("splitter.handle.focus.ring.color"),`; - outline-offset: `).concat(l("splitter.handle.focus.ring.offset"),`; -} - -.p-splitter-horizontal.p-splitter-resizing { - cursor: col-resize; - user-select: none; -} - -.p-splitter-vertical.p-splitter-resizing { - cursor: row-resize; - user-select: none; -} - -.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle { - height: `).concat(l("splitter.handle.size"),`; - width: 100%; -} - -.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle { - width: `).concat(l("splitter.handle.size"),`; - height: 100%; -} - -.p-splitter-horizontal > .p-splitter-gutter { - cursor: col-resize; -} - -.p-splitter-vertical > .p-splitter-gutter { - cursor: row-resize; -} - -.p-splitterpanel { - flex-grow: 1; - overflow: hidden; -} - -.p-splitterpanel-nested { - display: flex; -} - -.p-splitterpanel .p-splitter { - flex-grow: 1; - border: 0 none; -} -`)},B0n={root:function(o){var l=o.props;return["p-splitter p-component","p-splitter-"+l.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},F0n={root:function(o){var l=o.props;return[{display:"flex","flex-wrap":"nowrap"},l.layout==="vertical"?{"flex-direction":"column"}:""]}},z0n=Ps.extend({name:"splitter",theme:N0n,classes:B0n,inlineStyles:F0n}),H0n={name:"BaseSplitter",extends:Tl,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:z0n,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function Z5t(r){return W0n(r)||G0n(r)||U0n(r)||K0n()}function K0n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U0n(r,o){if(r){if(typeof r=="string")return hCe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?hCe(r,o):void 0}}function G0n(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function W0n(r){if(Array.isArray(r))return hCe(r)}function hCe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l100||o<0||l>100||l<0)return!1;var a=G6(this.panels[this.prevPanelIndex],"minSize");if(this.panels[this.prevPanelIndex].props&&a&&a>o)return!1;var p=G6(this.panels[this.prevPanelIndex+1],"minSize");return!(this.panels[this.prevPanelIndex+1].props&&p&&p>l)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){hH(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var o=this,l=this.getStorage(),a=l.getItem(this.stateKey);if(a){this.panelSizes=JSON.parse(a);var p=Z5t(this.$el.children).filter(function(g){return g.getAttribute("data-pc-name")==="splitterpanel"});return p.forEach(function(g,w){g.style.flexBasis="calc("+o.panelSizes[w]+"% - "+(o.panels.length-1)*o.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var o=this,l=[];return this.$slots.default().forEach(function(a){o.isSplitterPanel(a)?l.push(a):a.children instanceof Array&&a.children.forEach(function(p){o.isSplitterPanel(p)&&l.push(p)})}),l},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var o;return{context:{nested:(o=this.$parentInstance)===null||o===void 0?void 0:o.nestedState}}}}},V0n=["onMousedown","onTouchstart","onTouchmove","onTouchend"],q0n=["aria-orientation","aria-valuenow","onKeydown"];function X0n(r,o,l,a,p,g){return Ce(),vt("div",Ze({class:r.cx("root"),style:r.sx("root"),"data-p-resizing":!1},r.ptmi("root",g.getPTOptions)),[(Ce(!0),vt(si,null,Pu(g.panels,function(w,y){return Ce(),vt(si,{key:y},[(Ce(),xn(ko(w),{tabindex:"-1"})),y!==g.panels.length-1?(Ce(),vt("div",Ze({key:0,ref_for:!0,ref:"gutter",class:r.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(E){return g.onGutterMouseDown(E,y)},onTouchstart:function(E){return g.onGutterTouchStart(E,y)},onTouchmove:function(E){return g.onGutterTouchMove(E,y)},onTouchend:function(E){return g.onGutterTouchEnd(E,y)},"data-p-gutter-resizing":!1},r.ptm("gutter")),[br("div",Ze({class:r.cx("gutterHandle"),tabindex:"0",style:[g.gutterStyle],"aria-orientation":r.layout,"aria-valuenow":p.prevSize,onKeyup:o[0]||(o[0]=function(){return g.onGutterKeyUp&&g.onGutterKeyUp.apply(g,arguments)}),onKeydown:function(E){return g.onGutterKeyDown(E,y)},ref_for:!0},r.ptm("gutterHandle")),null,16,q0n)],16,V0n)):sr("",!0)],64)}),128))],16)}k9t.render=X0n;var Y0n={root:function(o){var l=o.instance;return["p-splitterpanel",{"p-splitterpanel-nested":l.isNested}]}},J0n=Ps.extend({name:"splitterpanel",classes:Y0n}),Q0n={name:"BaseSplitterPanel",extends:Tl,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:J0n,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},mne={name:"SplitterPanel",extends:Q0n,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var o=this;return this.$slots.default().some(function(l){return o.nestedState=l.type.name==="Splitter"?!0:null,o.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function Z0n(r,o,l,a,p,g){return Ce(),vt("div",Ze({ref:"container",class:r.cx("root")},r.ptmi("root",g.getPTOptions)),[Hr(r.$slots,"default")],16)}mne.render=Z0n;var C9t={name:"BlankIcon",extends:su};function ebn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}C9t.render=ebn;var $_={name:"CheckIcon",extends:su};function tbn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}$_.render=tbn;var Hre={name:"ChevronDownIcon",extends:su};function nbn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1)]),16)}Hre.render=nbn;var S9t={name:"SearchIcon",extends:su};function rbn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1)]),16)}S9t.render=rbn;var Kre={name:"TimesIcon",extends:su};function ibn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}Kre.render=ibn;var obn=function(o){var l=o.dt;return` -.p-iconfield { - position: relative; -} - -.p-inputicon { - position: absolute; - top: 50%; - margin-top: calc(-1 * (`.concat(l("icon.size"),` / 2)); - color: `).concat(l("iconfield.icon.color"),`; - line-height: 1; -} - -.p-iconfield .p-inputicon:first-child { - inset-inline-start: `).concat(l("form.field.padding.x"),`; -} - -.p-iconfield .p-inputicon:last-child { - inset-inline-end: `).concat(l("form.field.padding.x"),`; -} - -.p-iconfield .p-inputtext:not(:first-child) { - padding-inline-start: calc((`).concat(l("form.field.padding.x")," * 2) + ").concat(l("icon.size"),`); -} - -.p-iconfield .p-inputtext:not(:last-child) { - padding-inline-end: calc((`).concat(l("form.field.padding.x")," * 2) + ").concat(l("icon.size"),`); -} - -.p-iconfield:has(.p-inputfield-sm) .p-inputicon { - font-size: `).concat(l("form.field.sm.font.size"),`; - width: `).concat(l("form.field.sm.font.size"),`; - height: `).concat(l("form.field.sm.font.size"),`; - margin-top: calc(-1 * (`).concat(l("form.field.sm.font.size"),` / 2)); -} - -.p-iconfield:has(.p-inputfield-lg) .p-inputicon { - font-size: `).concat(l("form.field.lg.font.size"),`; - width: `).concat(l("form.field.lg.font.size"),`; - height: `).concat(l("form.field.lg.font.size"),`; - margin-top: calc(-1 * (`).concat(l("form.field.lg.font.size"),` / 2)); -} -`)},sbn={root:"p-iconfield"},lbn=Ps.extend({name:"iconfield",theme:obn,classes:sbn}),cbn={name:"BaseIconField",extends:Tl,style:lbn,provide:function(){return{$pcIconField:this,$parentInstance:this}}},x9t={name:"IconField",extends:cbn,inheritAttrs:!1};function ubn(r,o,l,a,p,g){return Ce(),vt("div",Ze({class:r.cx("root")},r.ptmi("root")),[Hr(r.$slots,"default")],16)}x9t.render=ubn;var abn={root:"p-inputicon"},fbn=Ps.extend({name:"inputicon",classes:abn}),dbn={name:"BaseInputIcon",extends:Tl,style:fbn,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},E9t={name:"InputIcon",extends:dbn,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function hbn(r,o,l,a,p,g){return Ce(),vt("span",Ze({class:g.containerClass},r.ptmi("root")),[Hr(r.$slots,"default")],16)}E9t.render=hbn;var pbn={name:"BaseEditableHolder",extends:Tl,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(o){this.d_value=o},defaultValue:function(o){this.d_value=o},$formName:{immediate:!0,handler:function(o){var l,a;this.formField=((l=this.$pcForm)===null||l===void 0||(a=l.register)===null||a===void 0?void 0:a.call(l,o,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(o){var l,a;this.formField=((l=this.$pcForm)===null||l===void 0||(a=l.register)===null||a===void 0?void 0:a.call(l,this.$formName,o))||{}}},$formDefaultValue:{immediate:!0,handler:function(o){this.d_value!==o&&(this.d_value=o)}}},formField:{},methods:{writeValue:function(o,l){var a,p;this.controlled&&(this.d_value=o,this.$emit("update:modelValue",o)),this.$emit("value-change",o),(a=(p=this.formField).onChange)===null||a===void 0||a.call(p,{originalEvent:l,value:o})}},computed:{$filled:function(){return os(this.d_value)},$invalid:function(){var o,l,a,p;return(o=(l=this.invalid)!==null&&l!==void 0?l:(a=this.$pcFormField)===null||a===void 0||(a=a.$field)===null||a===void 0?void 0:a.invalid)!==null&&o!==void 0?o:(p=this.$pcForm)===null||p===void 0||(p=p.states)===null||p===void 0||(p=p[this.$formName])===null||p===void 0?void 0:p.invalid},$formName:function(){var o;return this.name||((o=this.$formControl)===null||o===void 0?void 0:o.name)},$formControl:function(){var o;return this.formControl||((o=this.$pcFormField)===null||o===void 0?void 0:o.formControl)},$formDefaultValue:function(){var o,l,a,p;return(o=(l=this.d_value)!==null&&l!==void 0?l:(a=this.$pcFormField)===null||a===void 0?void 0:a.initialValue)!==null&&o!==void 0?o:(p=this.$pcForm)===null||p===void 0||(p=p.initialValues)===null||p===void 0?void 0:p[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},gH={name:"BaseInput",extends:pbn,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var o;return(o=this.variant)!==null&&o!==void 0?o:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var o;return(o=this.fluid)!==null&&o!==void 0?o:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},gbn=function(o){var l=o.dt;return` -.p-inputtext { - font-family: inherit; - font-feature-settings: inherit; - font-size: 1rem; - color: `.concat(l("inputtext.color"),`; - background: `).concat(l("inputtext.background"),`; - padding-block: `).concat(l("inputtext.padding.y"),`; - padding-inline: `).concat(l("inputtext.padding.x"),`; - border: 1px solid `).concat(l("inputtext.border.color"),`; - transition: background `).concat(l("inputtext.transition.duration"),", color ").concat(l("inputtext.transition.duration"),", border-color ").concat(l("inputtext.transition.duration"),", outline-color ").concat(l("inputtext.transition.duration"),", box-shadow ").concat(l("inputtext.transition.duration"),`; - appearance: none; - border-radius: `).concat(l("inputtext.border.radius"),`; - outline-color: transparent; - box-shadow: `).concat(l("inputtext.shadow"),`; -} - -.p-inputtext:enabled:hover { - border-color: `).concat(l("inputtext.hover.border.color"),`; -} - -.p-inputtext:enabled:focus { - border-color: `).concat(l("inputtext.focus.border.color"),`; - box-shadow: `).concat(l("inputtext.focus.ring.shadow"),`; - outline: `).concat(l("inputtext.focus.ring.width")," ").concat(l("inputtext.focus.ring.style")," ").concat(l("inputtext.focus.ring.color"),`; - outline-offset: `).concat(l("inputtext.focus.ring.offset"),`; -} - -.p-inputtext.p-invalid { - border-color: `).concat(l("inputtext.invalid.border.color"),`; -} - -.p-inputtext.p-variant-filled { - background: `).concat(l("inputtext.filled.background"),`; -} - -.p-inputtext.p-variant-filled:enabled:hover { - background: `).concat(l("inputtext.filled.hover.background"),`; -} - -.p-inputtext.p-variant-filled:enabled:focus { - background: `).concat(l("inputtext.filled.focus.background"),`; -} - -.p-inputtext:disabled { - opacity: 1; - background: `).concat(l("inputtext.disabled.background"),`; - color: `).concat(l("inputtext.disabled.color"),`; -} - -.p-inputtext::placeholder { - color: `).concat(l("inputtext.placeholder.color"),`; -} - -.p-inputtext.p-invalid::placeholder { - color: `).concat(l("inputtext.invalid.placeholder.color"),`; -} - -.p-inputtext-sm { - font-size: `).concat(l("inputtext.sm.font.size"),`; - padding-block: `).concat(l("inputtext.sm.padding.y"),`; - padding-inline: `).concat(l("inputtext.sm.padding.x"),`; -} - -.p-inputtext-lg { - font-size: `).concat(l("inputtext.lg.font.size"),`; - padding-block: `).concat(l("inputtext.lg.padding.y"),`; - padding-inline: `).concat(l("inputtext.lg.padding.x"),`; -} - -.p-inputtext-fluid { - width: 100%; -} -`)},bbn={root:function(o){var l=o.instance,a=o.props;return["p-inputtext p-component",{"p-filled":l.$filled,"p-inputtext-sm p-inputfield-sm":a.size==="small","p-inputtext-lg p-inputfield-lg":a.size==="large","p-invalid":l.$invalid,"p-variant-filled":l.$variant==="filled","p-inputtext-fluid":l.$fluid}]}},wbn=Ps.extend({name:"inputtext",theme:gbn,classes:bbn}),mbn={name:"BaseInputText",extends:gH,style:wbn,provide:function(){return{$pcInputText:this,$parentInstance:this}}},bE={name:"InputText",extends:mbn,inheritAttrs:!1,methods:{onInput:function(o){this.writeValue(o.target.value,o)}},computed:{attrs:function(){return Ze(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},vbn=["value","disabled","aria-invalid"];function ybn(r,o,l,a,p,g){return Ce(),vt("input",Ze({type:"text",class:r.cx("root"),value:r.d_value,disabled:r.disabled,"aria-invalid":r.$invalid||void 0,onInput:o[0]||(o[0]=function(){return g.onInput&&g.onInput.apply(g,arguments)})},g.attrs),null,16,vbn)}bE.render=ybn;var T7=WSe(),Ure={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=QSe()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function kbn(r,o,l,a,p,g){return g.inline?Hr(r.$slots,"default",{key:0}):p.mounted?(Ce(),xn(idn,{key:1,to:l.appendTo},[Hr(r.$slots,"default")],8,["to"])):sr("",!0)}Ure.render=kbn;var Cbn=function(o){var l=o.dt;return` -.p-virtualscroller-loader { - background: `.concat(l("virtualscroller.loader.mask.background"),`; - color: `).concat(l("virtualscroller.loader.mask.color"),`; -} - -.p-virtualscroller-loading-icon { - font-size: `).concat(l("virtualscroller.loader.icon.size"),`; - width: `).concat(l("virtualscroller.loader.icon.size"),`; - height: `).concat(l("virtualscroller.loader.icon.size"),`; -} -`)},Sbn=` -.p-virtualscroller { - position: relative; - overflow: auto; - contain: strict; - transform: translateZ(0); - will-change: scroll-position; - outline: 0 none; -} - -.p-virtualscroller-content { - position: absolute; - top: 0; - left: 0; - min-height: 100%; - min-width: 100%; - will-change: transform; -} - -.p-virtualscroller-spacer { - position: absolute; - top: 0; - left: 0; - height: 1px; - width: 1px; - transform-origin: 0 0; - pointer-events: none; -} - -.p-virtualscroller-loader { - position: sticky; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.p-virtualscroller-loader-mask { - display: flex; - align-items: center; - justify-content: center; -} - -.p-virtualscroller-horizontal > .p-virtualscroller-content { - display: flex; -} - -.p-virtualscroller-inline .p-virtualscroller-content { - position: static; -} -`,ekt=Ps.extend({name:"virtualscroller",css:Sbn,theme:Cbn}),xbn={name:"BaseVirtualScroller",extends:Tl,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:ekt,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var o;ekt.loadCSS({nonce:(o=this.$primevueConfig)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce})}};function wz(r){"@babel/helpers - typeof";return wz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},wz(r)}function tkt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function sF(r){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:"auto",p=this.isBoth(),g=this.isHorizontal(),w=p?o.every(function(wt){return wt>-1}):o>-1;if(w){var y=this.first,S=this.element,E=S.scrollTop,I=E===void 0?0:E,P=S.scrollLeft,_=P===void 0?0:P,R=this.calculateNumItems(),$=R.numToleratedItems,K=this.getContentPosition(),q=this.itemSize,Q=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1?arguments[1]:void 0;return bt<=ce?0:bt},ee=function(bt,ce,Be){return bt*ce+Be},J=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return l.scrollTo({left:bt,top:ce,behavior:a})},oe=p?{rows:0,cols:0}:0,$e=!1,et=!1;p?(oe={rows:Q(o[0],$[0]),cols:Q(o[1],$[1])},J(ee(oe.cols,q[1],K.left),ee(oe.rows,q[0],K.top)),et=this.lastScrollPos.top!==I||this.lastScrollPos.left!==_,$e=oe.rows!==y.rows||oe.cols!==y.cols):(oe=Q(o,$),g?J(ee(oe,q,K.left),I):J(_,ee(oe,q,K.top)),et=this.lastScrollPos!==(g?_:I),$e=oe!==y),this.isRangeChanged=$e,et&&(this.first=oe)}},scrollInView:function(o,l){var a=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(l){var g=this.isBoth(),w=this.isHorizontal(),y=g?o.every(function(q){return q>-1}):o>-1;if(y){var S=this.getRenderedRange(),E=S.first,I=S.viewport,P=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a.scrollTo({left:Q,top:ee,behavior:p})},_=l==="to-start",R=l==="to-end";if(_){if(g)I.first.rows-E.rows>o[0]?P(I.first.cols*this.itemSize[1],(I.first.rows-1)*this.itemSize[0]):I.first.cols-E.cols>o[1]&&P((I.first.cols-1)*this.itemSize[1],I.first.rows*this.itemSize[0]);else if(I.first-E>o){var $=(I.first-1)*this.itemSize;w?P($,0):P(0,$)}}else if(R){if(g)I.last.rows-E.rows<=o[0]+1?P(I.first.cols*this.itemSize[1],(I.first.rows+1)*this.itemSize[0]):I.last.cols-E.cols<=o[1]+1&&P((I.first.cols+1)*this.itemSize[1],I.first.rows*this.itemSize[0]);else if(I.last-E<=o+1){var K=(I.first+1)*this.itemSize;w?P(K,0):P(0,K)}}}}else this.scrollToIndex(o,p)},getRenderedRange:function(){var o=function(P,_){return Math.floor(P/(_||P))},l=this.first,a=0;if(this.element){var p=this.isBoth(),g=this.isHorizontal(),w=this.element,y=w.scrollTop,S=w.scrollLeft;if(p)l={rows:o(y,this.itemSize[0]),cols:o(S,this.itemSize[1])},a={rows:l.rows+this.numItemsInViewport.rows,cols:l.cols+this.numItemsInViewport.cols};else{var E=g?S:y;l=o(E,this.itemSize),a=l+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:l,last:a}}},calculateNumItems:function(){var o=this.isBoth(),l=this.isHorizontal(),a=this.itemSize,p=this.getContentPosition(),g=this.element?this.element.offsetWidth-p.left:0,w=this.element?this.element.offsetHeight-p.top:0,y=function(_,R){return Math.ceil(_/(R||_))},S=function(_){return Math.ceil(_/2)},E=o?{rows:y(w,a[0]),cols:y(g,a[1])}:y(l?g:w,a),I=this.d_numToleratedItems||(o?[S(E.rows),S(E.cols)]:S(E));return{numItemsInViewport:E,numToleratedItems:I}},calculateOptions:function(){var o=this,l=this.isBoth(),a=this.first,p=this.calculateNumItems(),g=p.numItemsInViewport,w=p.numToleratedItems,y=function(I,P,_){var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return o.getLast(I+P+(I<_?2:3)*_,R)},S=l?{rows:y(a.rows,g.rows,w[0]),cols:y(a.cols,g.cols,w[1],!0)}:y(a,g,w);this.last=S,this.numItemsInViewport=g,this.d_numToleratedItems=w,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.showLoader&&(this.loaderArr=l?Array.from({length:g.rows}).map(function(){return Array.from({length:g.cols})}):Array.from({length:g})),this.lazy&&Promise.resolve().then(function(){var E;o.lazyLoadState={first:o.step?l?{rows:0,cols:a.cols}:0:a,last:Math.min(o.step?o.step:S,((E=o.items)===null||E===void 0?void 0:E.length)||0)},o.$emit("lazy-load",o.lazyLoadState)})},calculateAutoSize:function(){var o=this;this.autoSize&&!this.d_loading&&Promise.resolve().then(function(){if(o.content){var l=o.isBoth(),a=o.isHorizontal(),p=o.isVertical();o.content.style.minHeight=o.content.style.minWidth="auto",o.content.style.position="relative",o.element.style.contain="none";var g=[y7(o.element),v7(o.element)],w=g[0],y=g[1];(l||a)&&(o.element.style.width=w0&&arguments[0]!==void 0?arguments[0]:0,p=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(p?((o=this.columns||this.items[0])===null||o===void 0?void 0:o.length)||0:((l=this.items)===null||l===void 0?void 0:l.length)||0,a):0},getContentPosition:function(){if(this.content){var o=getComputedStyle(this.content),l=parseFloat(o.paddingLeft)+Math.max(parseFloat(o.left)||0,0),a=parseFloat(o.paddingRight)+Math.max(parseFloat(o.right)||0,0),p=parseFloat(o.paddingTop)+Math.max(parseFloat(o.top)||0,0),g=parseFloat(o.paddingBottom)+Math.max(parseFloat(o.bottom)||0,0);return{left:l,right:a,top:p,bottom:g,x:l+a,y:p+g}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var o=this;if(this.element){var l=this.isBoth(),a=this.isHorizontal(),p=this.element.parentElement,g=this.scrollWidth||"".concat(this.element.offsetWidth||p.offsetWidth,"px"),w=this.scrollHeight||"".concat(this.element.offsetHeight||p.offsetHeight,"px"),y=function(E,I){return o.element.style[E]=I};l||a?(y("height",w),y("width",g)):y("height",w)}},setSpacerSize:function(){var o=this,l=this.items;if(l){var a=this.isBoth(),p=this.isHorizontal(),g=this.getContentPosition(),w=function(S,E,I){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return o.spacerStyle=sF(sF({},o.spacerStyle),T9t({},"".concat(S),(E||[]).length*I+P+"px"))};a?(w("height",l,this.itemSize[0],g.y),w("width",this.columns||l[1],this.itemSize[1],g.x)):p?w("width",this.columns||l,this.itemSize,g.x):w("height",l,this.itemSize,g.y)}},setContentPosition:function(o){var l=this;if(this.content&&!this.appendOnly){var a=this.isBoth(),p=this.isHorizontal(),g=o?o.first:this.first,w=function(I,P){return I*P},y=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return l.contentStyle=sF(sF({},l.contentStyle),{transform:"translate3d(".concat(I,"px, ").concat(P,"px, 0)")})};if(a)y(w(g.cols,this.itemSize[1]),w(g.rows,this.itemSize[0]));else{var S=w(g,this.itemSize);p?y(S,0):y(0,S)}}},onScrollPositionChange:function(o){var l=this,a=o.target,p=this.isBoth(),g=this.isHorizontal(),w=this.getContentPosition(),y=function(ae,xe){return ae?ae>xe?ae-xe:ae:0},S=function(ae,xe){return Math.floor(ae/(xe||ae))},E=function(ae,xe,U,He,yt,ft){return ae<=yt?yt:ft?U-He-yt:xe+yt-1},I=function(ae,xe,U,He,yt,ft,At){return ae<=ft?0:Math.max(0,At?aexe?U:ae-2*ft)},P=function(ae,xe,U,He,yt,ft){var At=xe+He+2*yt;return ae>=yt&&(At+=yt+1),l.getLast(At,ft)},_=y(a.scrollTop,w.top),R=y(a.scrollLeft,w.left),$=p?{rows:0,cols:0}:0,K=this.last,q=!1,Q=this.lastScrollPos;if(p){var ee=this.lastScrollPos.top<=_,J=this.lastScrollPos.left<=R;if(!this.appendOnly||this.appendOnly&&(ee||J)){var oe={rows:S(_,this.itemSize[0]),cols:S(R,this.itemSize[1])},$e={rows:E(oe.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],ee),cols:E(oe.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],J)};$={rows:I(oe.rows,$e.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],ee),cols:I(oe.cols,$e.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],J)},K={rows:P(oe.rows,$.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:P(oe.cols,$.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},q=$.rows!==this.first.rows||K.rows!==this.last.rows||$.cols!==this.first.cols||K.cols!==this.last.cols||this.isRangeChanged,Q={top:_,left:R}}}else{var et=g?R:_,wt=this.lastScrollPos<=et;if(!this.appendOnly||this.appendOnly&&wt){var bt=S(et,this.itemSize),ce=E(bt,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,wt);$=I(bt,ce,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,wt),K=P(bt,$,this.last,this.numItemsInViewport,this.d_numToleratedItems),q=$!==this.first||K!==this.last||this.isRangeChanged,Q=et}}return{first:$,last:K,isRangeChanged:q,scrollPos:Q}},onScrollChange:function(o){var l=this.onScrollPositionChange(o),a=l.first,p=l.last,g=l.isRangeChanged,w=l.scrollPos;if(g){var y={first:a,last:p};if(this.setContentPosition(y),this.first=a,this.last=p,this.lastScrollPos=w,this.$emit("scroll-index-change",y),this.lazy&&this.isPageChanged(a)){var S,E,I={first:this.step?Math.min(this.getPageByFirst(a)*this.step,(((S=this.items)===null||S===void 0?void 0:S.length)||0)-this.step):a,last:Math.min(this.step?(this.getPageByFirst(a)+1)*this.step:p,((E=this.items)===null||E===void 0?void 0:E.length)||0)},P=this.lazyLoadState.first!==I.first||this.lazyLoadState.last!==I.last;P&&this.$emit("lazy-load",I),this.lazyLoadState=I}}},onScroll:function(o){var l=this;if(this.$emit("scroll",o),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var a=this.onScrollPositionChange(o),p=a.isRangeChanged,g=p||(this.step?this.isPageChanged():!1);g&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){l.onScrollChange(o),l.d_loading&&l.showLoader&&(!l.lazy||l.loading===void 0)&&(l.d_loading=!1,l.page=l.getPageByFirst())},this.delay)}}else this.onScrollChange(o)},onResize:function(){var o=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(Vne(o.element)){var l=o.isBoth(),a=o.isVertical(),p=o.isHorizontal(),g=[y7(o.element),v7(o.element)],w=g[0],y=g[1],S=w!==o.defaultWidth,E=y!==o.defaultHeight,I=l?S||E:p?S:a?E:!1;I&&(o.d_numToleratedItems=o.numToleratedItems,o.defaultWidth=w,o.defaultHeight=y,o.defaultContentWidth=y7(o.content),o.defaultContentHeight=v7(o.content),o.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(o){var l=(this.items||[]).length,a=this.isBoth()?this.first.rows+o:this.first+o;return{index:a,count:l,first:a===0,last:a===l-1,even:a%2===0,odd:a%2!==0}},getLoaderOptions:function(o,l){var a=this.loaderArr.length;return sF({index:o,count:a,first:o===0,last:o===a-1,even:o%2===0,odd:o%2!==0},l)},getPageByFirst:function(o){return Math.floor(((o??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(o){return this.step&&!this.lazy?this.page!==this.getPageByFirst(o??this.first):!0},setContentEl:function(o){this.content=o||this.content||E7(this.element,'[data-pc-section="content"]')},elementRef:function(o){this.element=o},contentRef:function(o){this.content=o}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var o=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(l){return o.columns?l:l.slice(o.appendOnly?0:o.first.cols,o.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var o=this.isBoth(),l=this.isHorizontal();if(o||l)return this.d_loading&&this.loaderDisabled?o?this.loaderArr[0]:this.loaderArr:this.columns.slice(o?this.first.cols:this.first,o?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:pH}},Ibn=["tabindex"];function Mbn(r,o,l,a,p,g){var w=Ei("SpinnerIcon");return r.disabled?(Ce(),vt(si,{key:1},[Hr(r.$slots,"default"),Hr(r.$slots,"content",{items:r.items,rows:r.items,columns:g.loadedColumns})],64)):(Ce(),vt("div",Ze({key:0,ref:g.elementRef,class:g.containerClass,tabindex:r.tabindex,style:r.style,onScroll:o[0]||(o[0]=function(){return g.onScroll&&g.onScroll.apply(g,arguments)})},r.ptmi("root")),[Hr(r.$slots,"content",{styleClass:g.contentClass,items:g.loadedItems,getItemOptions:g.getOptions,loading:p.d_loading,getLoaderOptions:g.getLoaderOptions,itemSize:r.itemSize,rows:g.loadedRows,columns:g.loadedColumns,contentRef:g.contentRef,spacerStyle:p.spacerStyle,contentStyle:p.contentStyle,vertical:g.isVertical(),horizontal:g.isHorizontal(),both:g.isBoth()},function(){return[br("div",Ze({ref:g.contentRef,class:g.contentClass,style:p.contentStyle},r.ptm("content")),[(Ce(!0),vt(si,null,Pu(g.loadedItems,function(y,S){return Hr(r.$slots,"item",{key:S,item:y,options:g.getOptions(S)})}),128))],16)]}),r.showSpacer?(Ce(),vt("div",Ze({key:0,class:"p-virtualscroller-spacer",style:p.spacerStyle},r.ptm("spacer")),null,16)):sr("",!0),!r.loaderDisabled&&r.showLoader&&p.d_loading?(Ce(),vt("div",Ze({key:1,class:g.loaderClass},r.ptm("loader")),[r.$slots&&r.$slots.loader?(Ce(!0),vt(si,{key:0},Pu(p.loaderArr,function(y,S){return Hr(r.$slots,"loader",{key:S,options:g.getLoaderOptions(S,g.isBoth()&&{numCols:r.d_numItemsInViewport.cols})})}),128)):sr("",!0),Hr(r.$slots,"loadingicon",{},function(){return[xi(w,Ze({spin:"",class:"p-virtualscroller-loading-icon"},r.ptm("loadingIcon")),null,16)]})],16)):sr("",!0)],16,Ibn))}t9e.render=Mbn;var Pbn=function(o){var l=o.dt;return` -.p-select { - display: inline-flex; - cursor: pointer; - position: relative; - user-select: none; - background: `.concat(l("select.background"),`; - border: 1px solid `).concat(l("select.border.color"),`; - transition: background `).concat(l("select.transition.duration"),", color ").concat(l("select.transition.duration"),", border-color ").concat(l("select.transition.duration"),`, - outline-color `).concat(l("select.transition.duration"),", box-shadow ").concat(l("select.transition.duration"),`; - border-radius: `).concat(l("select.border.radius"),`; - outline-color: transparent; - box-shadow: `).concat(l("select.shadow"),`; -} - -.p-select:not(.p-disabled):hover { - border-color: `).concat(l("select.hover.border.color"),`; -} - -.p-select:not(.p-disabled).p-focus { - border-color: `).concat(l("select.focus.border.color"),`; - box-shadow: `).concat(l("select.focus.ring.shadow"),`; - outline: `).concat(l("select.focus.ring.width")," ").concat(l("select.focus.ring.style")," ").concat(l("select.focus.ring.color"),`; - outline-offset: `).concat(l("select.focus.ring.offset"),`; -} - -.p-select.p-variant-filled { - background: `).concat(l("select.filled.background"),`; -} - -.p-select.p-variant-filled:not(.p-disabled):hover { - background: `).concat(l("select.filled.hover.background"),`; -} - -.p-select.p-variant-filled:not(.p-disabled).p-focus { - background: `).concat(l("select.filled.focus.background"),`; -} - -.p-select.p-invalid { - border-color: `).concat(l("select.invalid.border.color"),`; -} - -.p-select.p-disabled { - opacity: 1; - background: `).concat(l("select.disabled.background"),`; -} - -.p-select-clear-icon { - position: absolute; - top: 50%; - margin-top: -0.5rem; - color: `).concat(l("select.clear.icon.color"),`; - inset-inline-end: `).concat(l("select.dropdown.width"),`; -} - -.p-select-dropdown { - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - background: transparent; - color: `).concat(l("select.dropdown.color"),`; - width: `).concat(l("select.dropdown.width"),`; - border-start-end-radius: `).concat(l("select.border.radius"),`; - border-end-end-radius: `).concat(l("select.border.radius"),`; -} - -.p-select-label { - display: block; - white-space: nowrap; - overflow: hidden; - flex: 1 1 auto; - width: 1%; - padding: `).concat(l("select.padding.y")," ").concat(l("select.padding.x"),`; - text-overflow: ellipsis; - cursor: pointer; - color: `).concat(l("select.color"),`; - background: transparent; - border: 0 none; - outline: 0 none; -} - -.p-select-label.p-placeholder { - color: `).concat(l("select.placeholder.color"),`; -} - -.p-select.p-invalid .p-select-label.p-placeholder { - color: `).concat(l("select.invalid.placeholder.color"),`; -} - -.p-select:has(.p-select-clear-icon) .p-select-label { - padding-inline-end: calc(1rem + `).concat(l("select.padding.x"),`); -} - -.p-select.p-disabled .p-select-label { - color: `).concat(l("select.disabled.color"),`; -} - -.p-select-label-empty { - overflow: hidden; - opacity: 0; -} - -input.p-select-label { - cursor: default; -} - -.p-select .p-select-overlay { - min-width: 100%; -} - -.p-select-overlay { - position: absolute; - top: 0; - left: 0; - background: `).concat(l("select.overlay.background"),`; - color: `).concat(l("select.overlay.color"),`; - border: 1px solid `).concat(l("select.overlay.border.color"),`; - border-radius: `).concat(l("select.overlay.border.radius"),`; - box-shadow: `).concat(l("select.overlay.shadow"),`; -} - -.p-select-header { - padding: `).concat(l("select.list.header.padding"),`; -} - -.p-select-filter { - width: 100%; -} - -.p-select-list-container { - overflow: auto; -} - -.p-select-option-group { - cursor: auto; - margin: 0; - padding: `).concat(l("select.option.group.padding"),`; - background: `).concat(l("select.option.group.background"),`; - color: `).concat(l("select.option.group.color"),`; - font-weight: `).concat(l("select.option.group.font.weight"),`; -} - -.p-select-list { - margin: 0; - padding: 0; - list-style-type: none; - padding: `).concat(l("select.list.padding"),`; - gap: `).concat(l("select.list.gap"),`; - display: flex; - flex-direction: column; -} - -.p-select-option { - cursor: pointer; - font-weight: normal; - white-space: nowrap; - position: relative; - overflow: hidden; - display: flex; - align-items: center; - padding: `).concat(l("select.option.padding"),`; - border: 0 none; - color: `).concat(l("select.option.color"),`; - background: transparent; - transition: background `).concat(l("select.transition.duration"),", color ").concat(l("select.transition.duration"),", border-color ").concat(l("select.transition.duration"),`, - box-shadow `).concat(l("select.transition.duration"),", outline-color ").concat(l("select.transition.duration"),`; - border-radius: `).concat(l("select.option.border.radius"),`; -} - -.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { - background: `).concat(l("select.option.focus.background"),`; - color: `).concat(l("select.option.focus.color"),`; -} - -.p-select-option.p-select-option-selected { - background: `).concat(l("select.option.selected.background"),`; - color: `).concat(l("select.option.selected.color"),`; -} - -.p-select-option.p-select-option-selected.p-focus { - background: `).concat(l("select.option.selected.focus.background"),`; - color: `).concat(l("select.option.selected.focus.color"),`; -} - -.p-select-option-check-icon { - position: relative; - margin-inline-start: `).concat(l("select.checkmark.gutter.start"),`; - margin-inline-end: `).concat(l("select.checkmark.gutter.end"),`; - color: `).concat(l("select.checkmark.color"),`; -} - -.p-select-empty-message { - padding: `).concat(l("select.empty.message.padding"),`; -} - -.p-select-fluid { - display: flex; -} - -.p-select-sm .p-select-label { - font-size: `).concat(l("select.sm.font.size"),`; - padding-block: `).concat(l("select.sm.padding.y"),`; - padding-inline: `).concat(l("select.sm.padding.x"),`; -} - -.p-select-sm .p-select-dropdown .p-icon { - font-size: `).concat(l("select.sm.font.size"),`; - width: `).concat(l("select.sm.font.size"),`; - height: `).concat(l("select.sm.font.size"),`; -} - -.p-select-lg .p-select-label { - font-size: `).concat(l("select.lg.font.size"),`; - padding-block: `).concat(l("select.lg.padding.y"),`; - padding-inline: `).concat(l("select.lg.padding.x"),`; -} - -.p-select-lg .p-select-dropdown .p-icon { - font-size: `).concat(l("select.lg.font.size"),`; - width: `).concat(l("select.lg.font.size"),`; - height: `).concat(l("select.lg.font.size"),`; -} -`)},Obn={root:function(o){var l=o.instance,a=o.props,p=o.state;return["p-select p-component p-inputwrapper",{"p-disabled":a.disabled,"p-invalid":l.$invalid,"p-variant-filled":l.$variant==="filled","p-focus":p.focused,"p-inputwrapper-filled":l.$filled,"p-inputwrapper-focus":p.focused||p.overlayVisible,"p-select-open":p.overlayVisible,"p-select-fluid":l.$fluid,"p-select-sm p-inputfield-sm":a.size==="small","p-select-lg p-inputfield-lg":a.size==="large"}]},label:function(o){var l=o.instance,a=o.props;return["p-select-label",{"p-placeholder":!a.editable&&l.label===a.placeholder,"p-select-label-empty":!a.editable&&!l.$slots.value&&(l.label==="p-emptylabel"||l.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(o){var l=o.instance,a=o.props,p=o.state,g=o.option,w=o.focusedOption;return["p-select-option",{"p-select-option-selected":l.isSelected(g)&&a.highlightOnSelect,"p-focus":p.focusedOptionIndex===w,"p-disabled":l.isOptionDisabled(g)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},_bn=Ps.extend({name:"select",theme:Pbn,classes:Obn}),Rbn={name:"BaseSelect",extends:gH,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:_bn,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function mz(r){"@babel/helpers - typeof";return mz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},mz(r)}function Abn(r){return Dbn(r)||$bn(r)||jbn(r)||Lbn()}function Lbn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jbn(r,o){if(r){if(typeof r=="string")return pCe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?pCe(r,o):void 0}}function $bn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Dbn(r){if(Array.isArray(r))return pCe(r)}function pCe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l2&&arguments[2]!==void 0?arguments[2]:!0,p=this.getOptionValue(l);this.updateModel(o,p),a&&this.hide(!0)},onOptionMouseMove:function(o,l){this.focusOnHover&&this.changeFocusedOptionIndex(o,l)},onFilterChange:function(o){var l=o.target.value;this.filterValue=l,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:o,value:l}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(o){if(!o.isComposing)switch(o.code){case"ArrowDown":this.onArrowDownKey(o);break;case"ArrowUp":this.onArrowUpKey(o,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(o,!0);break;case"Home":this.onHomeKey(o,!0);break;case"End":this.onEndKey(o,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(o);break;case"Escape":this.onEscapeKey(o);break;case"Tab":this.onTabKey(o,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(o){T7.emit("overlay-click",{originalEvent:o,target:this.$el})},onOverlayKeyDown:function(o){switch(o.code){case"Escape":this.onEscapeKey(o);break}},onArrowDownKey:function(o){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(o,this.findSelectedOptionIndex());else{var l=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(o,l)}o.preventDefault()},onArrowUpKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o.altKey&&!l)this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),o.preventDefault();else{var a=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(o,a),!this.overlayVisible&&this.show(),o.preventDefault()}},onArrowLeftKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l&&(this.focusedOptionIndex=-1)},onHomeKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(l){var a=o.currentTarget;o.shiftKey?a.setSelectionRange(0,o.target.selectionStart):(a.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(o,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();o.preventDefault()},onEndKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(l){var a=o.currentTarget;if(o.shiftKey)a.setSelectionRange(o.target.selectionStart,a.value.length);else{var p=a.value.length;a.setSelectionRange(p,p),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(o,this.findLastOptionIndex()),!this.overlayVisible&&this.show();o.preventDefault()},onPageUpKey:function(o){this.scrollInView(0),o.preventDefault()},onPageDownKey:function(o){this.scrollInView(this.visibleOptions.length-1),o.preventDefault()},onEnterKey:function(o){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(o)),o.preventDefault()},onSpaceKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!l&&this.onEnterKey(o)},onEscapeKey:function(o){this.overlayVisible&&this.hide(!0),o.preventDefault(),o.stopPropagation()},onTabKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l||(this.overlayVisible&&this.hasFocusableElements()?(P1(this.$refs.firstHiddenFocusableElementOnOverlay),o.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l&&!this.overlayVisible&&this.show()},onOverlayEnter:function(o){var l=this;H6.set("overlay",o,this.$primevue.config.zIndex.overlay),oz(o,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){l.autoFilterFocus&&l.filter&&P1(l.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var o=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){P1(o.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(o){H6.clear(o)},alignOverlay:function(){this.appendTo==="self"?d1n(this.overlay,this.$el):(this.overlay.style.minWidth=Wh(this.$el)+"px",u9t(this.overlay,this.$el))},bindOutsideClickListener:function(){var o=this;this.outsideClickListener||(this.outsideClickListener=function(l){o.overlayVisible&&o.overlay&&!o.$el.contains(l.target)&&!o.overlay.contains(l.target)&&o.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var o=this;this.scrollHandler||(this.scrollHandler=new v9t(this.$refs.container,function(){o.overlayVisible&&o.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var o=this;this.resizeListener||(this.resizeListener=function(){o.overlayVisible&&!p9t()&&o.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var o=this;if(!this.editable&&!this.labelClickListener){var l=document.querySelector('label[for="'.concat(this.labelId,'"]'));l&&Vne(l)&&(this.labelClickListener=function(){P1(o.$refs.focusInput)},l.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var o=document.querySelector('label[for="'.concat(this.labelId,'"]'));o&&Vne(o)&&o.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return qSe(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(o){var l;return this.isValidOption(o)&&typeof this.getOptionLabel(o)=="string"&&((l=this.getOptionLabel(o))===null||l===void 0?void 0:l.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(o){return os(o)&&!(this.isOptionDisabled(o)||this.isOptionGroup(o))},isValidSelectedOption:function(o){return this.isValidOption(o)&&this.isSelected(o)},isSelected:function(o){return UE(this.d_value,this.getOptionValue(o),this.equalityKey)},findFirstOptionIndex:function(){var o=this;return this.visibleOptions.findIndex(function(l){return o.isValidOption(l)})},findLastOptionIndex:function(){var o=this;return k5t(this.visibleOptions,function(l){return o.isValidOption(l)})},findNextOptionIndex:function(o){var l=this,a=o-1?a+o+1:o},findPrevOptionIndex:function(o){var l=this,a=o>0?k5t(this.visibleOptions.slice(0,o),function(p){return l.isValidOption(p)}):-1;return a>-1?a:o},findSelectedOptionIndex:function(){var o=this;return this.$filled?this.visibleOptions.findIndex(function(l){return o.isValidSelectedOption(l)}):-1},findFirstFocusedOptionIndex:function(){var o=this.findSelectedOptionIndex();return o<0?this.findFirstOptionIndex():o},findLastFocusedOptionIndex:function(){var o=this.findSelectedOptionIndex();return o<0?this.findLastOptionIndex():o},searchOptions:function(o,l){var a=this;this.searchValue=(this.searchValue||"")+l;var p=-1,g=!1;return os(this.searchValue)&&(this.focusedOptionIndex!==-1?(p=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(w){return a.isOptionMatched(w)}),p=p===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(w){return a.isOptionMatched(w)}):p+this.focusedOptionIndex):p=this.visibleOptions.findIndex(function(w){return a.isOptionMatched(w)}),p!==-1&&(g=!0),p===-1&&this.focusedOptionIndex===-1&&(p=this.findFirstFocusedOptionIndex()),p!==-1&&this.changeFocusedOptionIndex(o,p)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){a.searchValue="",a.searchTimeout=null},500),g},changeFocusedOptionIndex:function(o,l){this.focusedOptionIndex!==l&&(this.focusedOptionIndex=l,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(o,this.visibleOptions[l],!1))},scrollInView:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var a=l!==-1?"".concat(o.id,"_").concat(l):o.focusedOptionId,p=E7(o.list,'li[id="'.concat(a,'"]'));p?p.scrollIntoView&&p.scrollIntoView({block:"nearest",inline:"start"}):o.virtualScrollerDisabled||o.virtualScroller&&o.virtualScroller.scrollToIndex(l!==-1?l:o.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(o,l){this.writeValue(l,o),this.$emit("change",{originalEvent:o,value:l})},flatOptions:function(o){var l=this;return(o||[]).reduce(function(a,p,g){a.push({optionGroup:p,group:!0,index:g});var w=l.getOptionGroupChildren(p);return w&&w.forEach(function(y){return a.push(y)}),a},[])},overlayRef:function(o){this.overlay=o},listRef:function(o,l){this.list=o,l&&l(o)},virtualScrollerRef:function(o){this.virtualScroller=o}},computed:{visibleOptions:function(){var o=this,l=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var a=uCe.filter(l,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var p=this.options||[],g=[];return p.forEach(function(w){var y=o.getOptionGroupChildren(w),S=y.filter(function(E){return a.includes(E)});S.length>0&&g.push(rkt(rkt({},w),{},I9t({},typeof o.optionGroupChildren=="string"?o.optionGroupChildren:"items",Abn(S))))}),this.flatOptions(g)}return a}return l},hasSelectedOption:function(){return this.$filled},label:function(){var o=this.findSelectedOptionIndex();return o!==-1?this.getOptionLabel(this.visibleOptions[o]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var o=this.findSelectedOptionIndex();return o!==-1?this.getOptionLabel(this.visibleOptions[o]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return os(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var o=this;return this.visibleOptions.filter(function(l){return!o.isOptionGroup(l)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&os(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:n5},components:{InputText:bE,VirtualScroller:t9e,Portal:Ure,InputIcon:E9t,IconField:x9t,TimesIcon:Kre,ChevronDownIcon:Hre,SpinnerIcon:pH,SearchIcon:S9t,CheckIcon:$_,BlankIcon:C9t}},Fbn=["id"],zbn=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],Hbn=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],Kbn=["id"],Ubn=["id"],Gbn=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function Wbn(r,o,l,a,p,g){var w=Ei("SpinnerIcon"),y=Ei("InputText"),S=Ei("SearchIcon"),E=Ei("InputIcon"),I=Ei("IconField"),P=Ei("CheckIcon"),_=Ei("BlankIcon"),R=Ei("VirtualScroller"),$=Ei("Portal"),K=T3("ripple");return Ce(),vt("div",Ze({ref:"container",id:p.id,class:r.cx("root"),onClick:o[11]||(o[11]=function(){return g.onContainerClick&&g.onContainerClick.apply(g,arguments)})},r.ptmi("root")),[r.editable?(Ce(),vt("input",Ze({key:0,ref:"focusInput",id:r.labelId||r.inputId,type:"text",class:[r.cx("label"),r.inputClass,r.labelClass],style:[r.inputStyle,r.labelStyle],value:g.editableInputValue,placeholder:r.placeholder,tabindex:r.disabled?-1:r.tabindex,disabled:r.disabled,autocomplete:"off",role:"combobox","aria-label":r.ariaLabel,"aria-labelledby":r.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":p.overlayVisible,"aria-controls":p.id+"_list","aria-activedescendant":p.focused?g.focusedOptionId:void 0,"aria-invalid":r.invalid||void 0,onFocus:o[0]||(o[0]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[1]||(o[1]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onKeydown:o[2]||(o[2]=function(){return g.onKeyDown&&g.onKeyDown.apply(g,arguments)}),onInput:o[3]||(o[3]=function(){return g.onEditableInput&&g.onEditableInput.apply(g,arguments)})},r.ptm("label")),null,16,zbn)):(Ce(),vt("span",Ze({key:1,ref:"focusInput",id:r.labelId||r.inputId,class:[r.cx("label"),r.inputClass,r.labelClass],style:[r.inputStyle,r.labelStyle],tabindex:r.disabled?-1:r.tabindex,role:"combobox","aria-label":r.ariaLabel||(g.label==="p-emptylabel"?void 0:g.label),"aria-labelledby":r.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":p.overlayVisible,"aria-controls":p.id+"_list","aria-activedescendant":p.focused?g.focusedOptionId:void 0,"aria-disabled":r.disabled,onFocus:o[4]||(o[4]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[5]||(o[5]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onKeydown:o[6]||(o[6]=function(){return g.onKeyDown&&g.onKeyDown.apply(g,arguments)})},r.ptm("label")),[Hr(r.$slots,"value",{value:r.d_value,placeholder:r.placeholder},function(){var q;return[hb(Rl(g.label==="p-emptylabel"?" ":(q=g.label)!==null&&q!==void 0?q:"empty"),1)]})],16,Hbn)),g.isClearIconVisible?Hr(r.$slots,"clearicon",{key:2,class:yo(r.cx("clearIcon")),clearCallback:g.onClearClick},function(){return[(Ce(),xn(ko(r.clearIcon?"i":"TimesIcon"),Ze({ref:"clearIcon",class:[r.cx("clearIcon"),r.clearIcon],onClick:g.onClearClick},r.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):sr("",!0),br("div",Ze({class:r.cx("dropdown")},r.ptm("dropdown")),[r.loading?Hr(r.$slots,"loadingicon",{key:0,class:yo(r.cx("loadingIcon"))},function(){return[r.loadingIcon?(Ce(),vt("span",Ze({key:0,class:[r.cx("loadingIcon"),"pi-spin",r.loadingIcon],"aria-hidden":"true"},r.ptm("loadingIcon")),null,16)):(Ce(),xn(w,Ze({key:1,class:r.cx("loadingIcon"),spin:"","aria-hidden":"true"},r.ptm("loadingIcon")),null,16,["class"]))]}):Hr(r.$slots,"dropdownicon",{key:1,class:yo(r.cx("dropdownIcon"))},function(){return[(Ce(),xn(ko(r.dropdownIcon?"span":"ChevronDownIcon"),Ze({class:[r.cx("dropdownIcon"),r.dropdownIcon],"aria-hidden":"true"},r.ptm("dropdownIcon")),null,16,["class"]))]})],16),xi($,{appendTo:r.appendTo},{default:di(function(){return[xi(USe,Ze({name:"p-connected-overlay",onEnter:g.onOverlayEnter,onAfterEnter:g.onOverlayAfterEnter,onLeave:g.onOverlayLeave,onAfterLeave:g.onOverlayAfterLeave},r.ptm("transition")),{default:di(function(){return[p.overlayVisible?(Ce(),vt("div",Ze({key:0,ref:g.overlayRef,class:[r.cx("overlay"),r.panelClass,r.overlayClass],style:[r.panelStyle,r.overlayStyle],onClick:o[9]||(o[9]=function(){return g.onOverlayClick&&g.onOverlayClick.apply(g,arguments)}),onKeydown:o[10]||(o[10]=function(){return g.onOverlayKeyDown&&g.onOverlayKeyDown.apply(g,arguments)})},r.ptm("overlay")),[br("span",Ze({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:o[7]||(o[7]=function(){return g.onFirstHiddenFocus&&g.onFirstHiddenFocus.apply(g,arguments)})},r.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),Hr(r.$slots,"header",{value:r.d_value,options:g.visibleOptions}),r.filter?(Ce(),vt("div",Ze({key:0,class:r.cx("header")},r.ptm("header")),[xi(I,{unstyled:r.unstyled,pt:r.ptm("pcFilterContainer")},{default:di(function(){return[xi(y,{ref:"filterInput",type:"text",value:p.filterValue,onVnodeMounted:g.onFilterUpdated,onVnodeUpdated:g.onFilterUpdated,class:yo(r.cx("pcFilter")),placeholder:r.filterPlaceholder,variant:r.variant,unstyled:r.unstyled,role:"searchbox",autocomplete:"off","aria-owns":p.id+"_list","aria-activedescendant":g.focusedOptionId,onKeydown:g.onFilterKeyDown,onBlur:g.onFilterBlur,onInput:g.onFilterChange,pt:r.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),xi(E,{unstyled:r.unstyled,pt:r.ptm("pcFilterIconContainer")},{default:di(function(){return[Hr(r.$slots,"filtericon",{},function(){return[r.filterIcon?(Ce(),vt("span",Ze({key:0,class:r.filterIcon},r.ptm("filterIcon")),null,16)):(Ce(),xn(S,b_(Ze({key:1},r.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),br("span",Ze({role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),Rl(g.filterResultMessageText),17)],16)):sr("",!0),br("div",Ze({class:r.cx("listContainer"),style:{"max-height":g.virtualScrollerDisabled?r.scrollHeight:""}},r.ptm("listContainer")),[xi(R,Ze({ref:g.virtualScrollerRef},r.virtualScrollerOptions,{items:g.visibleOptions,style:{height:r.scrollHeight},tabindex:-1,disabled:g.virtualScrollerDisabled,pt:r.ptm("virtualScroller")}),tz({content:di(function(q){var Q=q.styleClass,ee=q.contentRef,J=q.items,oe=q.getItemOptions,$e=q.contentStyle,et=q.itemSize;return[br("ul",Ze({ref:function(bt){return g.listRef(bt,ee)},id:p.id+"_list",class:[r.cx("list"),Q],style:$e,role:"listbox"},r.ptm("list")),[(Ce(!0),vt(si,null,Pu(J,function(wt,bt){return Ce(),vt(si,{key:g.getOptionRenderKey(wt,g.getOptionIndex(bt,oe))},[g.isOptionGroup(wt)?(Ce(),vt("li",Ze({key:0,id:p.id+"_"+g.getOptionIndex(bt,oe),style:{height:et?et+"px":void 0},class:r.cx("optionGroup"),role:"option",ref_for:!0},r.ptm("optionGroup")),[Hr(r.$slots,"optiongroup",{option:wt.optionGroup,index:g.getOptionIndex(bt,oe)},function(){return[br("span",Ze({class:r.cx("optionGroupLabel"),ref_for:!0},r.ptm("optionGroupLabel")),Rl(g.getOptionGroupLabel(wt.optionGroup)),17)]})],16,Ubn)):E3((Ce(),vt("li",Ze({key:1,id:p.id+"_"+g.getOptionIndex(bt,oe),class:r.cx("option",{option:wt,focusedOption:g.getOptionIndex(bt,oe)}),style:{height:et?et+"px":void 0},role:"option","aria-label":g.getOptionLabel(wt),"aria-selected":g.isSelected(wt),"aria-disabled":g.isOptionDisabled(wt),"aria-setsize":g.ariaSetSize,"aria-posinset":g.getAriaPosInset(g.getOptionIndex(bt,oe)),onClick:function(Be){return g.onOptionSelect(Be,wt)},onMousemove:function(Be){return g.onOptionMouseMove(Be,g.getOptionIndex(bt,oe))},"data-p-selected":g.isSelected(wt),"data-p-focused":p.focusedOptionIndex===g.getOptionIndex(bt,oe),"data-p-disabled":g.isOptionDisabled(wt),ref_for:!0},g.getPTItemOptions(wt,oe,bt,"option")),[r.checkmark?(Ce(),vt(si,{key:0},[g.isSelected(wt)?(Ce(),xn(P,Ze({key:0,class:r.cx("optionCheckIcon"),ref_for:!0},r.ptm("optionCheckIcon")),null,16,["class"])):(Ce(),xn(_,Ze({key:1,class:r.cx("optionBlankIcon"),ref_for:!0},r.ptm("optionBlankIcon")),null,16,["class"]))],64)):sr("",!0),Hr(r.$slots,"option",{option:wt,selected:g.isSelected(wt),index:g.getOptionIndex(bt,oe)},function(){return[br("span",Ze({class:r.cx("optionLabel"),ref_for:!0},r.ptm("optionLabel")),Rl(g.getOptionLabel(wt)),17)]})],16,Gbn)),[[K]])],64)}),128)),p.filterValue&&(!J||J&&J.length===0)?(Ce(),vt("li",Ze({key:0,class:r.cx("emptyMessage"),role:"option"},r.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Hr(r.$slots,"emptyfilter",{},function(){return[hb(Rl(g.emptyFilterMessageText),1)]})],16)):!r.options||r.options&&r.options.length===0?(Ce(),vt("li",Ze({key:1,class:r.cx("emptyMessage"),role:"option"},r.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Hr(r.$slots,"empty",{},function(){return[hb(Rl(g.emptyMessageText),1)]})],16)):sr("",!0)],16,Kbn)]}),_:2},[r.$slots.loader?{name:"loader",fn:di(function(q){var Q=q.options;return[Hr(r.$slots,"loader",{options:Q})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),Hr(r.$slots,"footer",{value:r.d_value,options:g.visibleOptions}),!r.options||r.options&&r.options.length===0?(Ce(),vt("span",Ze({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),Rl(g.emptyMessageText),17)):sr("",!0),br("span",Ze({role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),Rl(g.selectedMessageText),17),br("span",Ze({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:o[8]||(o[8]=function(){return g.onLastHiddenFocus&&g.onLastHiddenFocus.apply(g,arguments)})},r.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):sr("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,Fbn)}bH.render=Wbn;var M9t={name:"WindowMaximizeIcon",extends:su};function Vbn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}M9t.render=Vbn;var P9t={name:"WindowMinimizeIcon",extends:su};function qbn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}P9t.render=qbn;var Xbn=Ps.extend({name:"focustrap-directive"}),Ybn=Bs.extend({style:Xbn});function vz(r){"@babel/helpers - typeof";return vz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},vz(r)}function ikt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function okt(r){for(var o=1;o=o.minX&&S+a=o.minY&&E+p0){document.getElementsByTagName("link");const w=document.querySelector("meta[property=csp-nonce]"),y=(w==null?void 0:w.nonce)||(w==null?void 0:w.getAttribute("nonce"));p=Promise.allSettled(l.map(S=>{if(S=gwn(S),S in ukt)return;ukt[S]=!0;const E=S.endsWith(".css"),I=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${I}`))return;const P=document.createElement("link");if(P.rel=E?"stylesheet":pwn,E||(P.as="script"),P.crossOrigin="",P.href=S,y&&P.setAttribute("nonce",y),document.head.appendChild(P),E)return new Promise((_,R)=>{P.addEventListener("load",_),P.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${S}`)))})}))}function g(w){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=w,window.dispatchEvent(y),!y.defaultPrevented)throw w}return p.then(w=>{for(const y of w||[])y.status==="rejected"&&g(y.reason);return o().catch(g)})},bwn=(r,o,l,a)=>{if(l==="length"||l==="prototype"||l==="arguments"||l==="caller")return;const p=Object.getOwnPropertyDescriptor(r,l),g=Object.getOwnPropertyDescriptor(o,l);!wwn(p,g)&&a||Object.defineProperty(r,l,g)},wwn=function(r,o){return r===void 0||r.configurable||r.writable===o.writable&&r.enumerable===o.enumerable&&r.configurable===o.configurable&&(r.writable||r.value===o.value)},mwn=(r,o)=>{const l=Object.getPrototypeOf(o);l!==Object.getPrototypeOf(r)&&Object.setPrototypeOf(r,l)},vwn=(r,o)=>`/* Wrapped ${r}*/ -${o}`,ywn=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),kwn=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),Cwn=(r,o,l)=>{const a=l===""?"":`with ${l.trim()}() `,p=vwn.bind(null,a,o.toString());Object.defineProperty(p,"name",kwn),Object.defineProperty(r,"toString",{...ywn,value:p})};function Swn(r,o,{ignoreNonConfigurable:l=!1}={}){const{name:a}=r;for(const p of Reflect.ownKeys(o))bwn(r,o,p,l);return mwn(r,o),Cwn(r,o,a),r}const Yne=new WeakMap,D9t=(r,o={})=>{if(typeof r!="function")throw new TypeError("Expected a function");let l,a=0;const p=r.displayName||r.name||"",g=function(...w){if(Yne.set(g,++a),a===1)l=r.apply(this,w),r=null;else if(o.throw===!0)throw new Error(`Function \`${p}\` can only be called once`);return l};return Swn(g,r),Yne.set(g,a),g};D9t.callCount=r=>{if(!Yne.has(r))throw new Error(`The given function \`${r.name}\` is not wrapped by the \`onetime\` package`);return Yne.get(r)};var xwn=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function I3(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Ewn(r){if(r.__esModule)return r;var o=r.default;if(typeof o=="function"){var l=function a(){return this instanceof a?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};l.prototype=o.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var p=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(l,a,p.get?p:{enumerable:!0,get:function(){return r[a]}})}),l}var N9t={exports:{}},U8e={exports:{}},um={},Wre={};Wre.byteLength=Mwn;Wre.toByteArray=Own;Wre.fromByteArray=Awn;var f3=[],Zw=[],Twn=typeof Uint8Array<"u"?Uint8Array:Array,G8e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var AO=0,Iwn=G8e.length;AO0)throw new Error("Invalid string. Length must be a multiple of 4");var l=r.indexOf("=");l===-1&&(l=o);var a=l===o?0:4-l%4;return[l,a]}function Mwn(r){var o=B9t(r),l=o[0],a=o[1];return(l+a)*3/4-a}function Pwn(r,o,l){return(o+l)*3/4-l}function Own(r){var o,l=B9t(r),a=l[0],p=l[1],g=new Twn(Pwn(r,a,p)),w=0,y=p>0?a-4:a,S;for(S=0;S>16&255,g[w++]=o>>8&255,g[w++]=o&255;return p===2&&(o=Zw[r.charCodeAt(S)]<<2|Zw[r.charCodeAt(S+1)]>>4,g[w++]=o&255),p===1&&(o=Zw[r.charCodeAt(S)]<<10|Zw[r.charCodeAt(S+1)]<<4|Zw[r.charCodeAt(S+2)]>>2,g[w++]=o>>8&255,g[w++]=o&255),g}function _wn(r){return f3[r>>18&63]+f3[r>>12&63]+f3[r>>6&63]+f3[r&63]}function Rwn(r,o,l){for(var a,p=[],g=o;gy?y:w+g));return a===1?(o=r[l-1],p.push(f3[o>>2]+f3[o<<4&63]+"==")):a===2&&(o=(r[l-2]<<8)+r[l-1],p.push(f3[o>>10]+f3[o>>4&63]+f3[o<<2&63]+"=")),p.join("")}var o9e={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */o9e.read=function(r,o,l,a,p){var g,w,y=p*8-a-1,S=(1<>1,I=-7,P=l?p-1:0,_=l?-1:1,R=r[o+P];for(P+=_,g=R&(1<<-I)-1,R>>=-I,I+=y;I>0;g=g*256+r[o+P],P+=_,I-=8);for(w=g&(1<<-I)-1,g>>=-I,I+=a;I>0;w=w*256+r[o+P],P+=_,I-=8);if(g===0)g=1-E;else{if(g===S)return w?NaN:(R?-1:1)*(1/0);w=w+Math.pow(2,a),g=g-E}return(R?-1:1)*w*Math.pow(2,g-a)};o9e.write=function(r,o,l,a,p,g){var w,y,S,E=g*8-p-1,I=(1<>1,_=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=a?0:g-1,$=a?1:-1,K=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(y=isNaN(o)?1:0,w=I):(w=Math.floor(Math.log(o)/Math.LN2),o*(S=Math.pow(2,-w))<1&&(w--,S*=2),w+P>=1?o+=_/S:o+=_*Math.pow(2,1-P),o*S>=2&&(w++,S/=2),w+P>=I?(y=0,w=I):w+P>=1?(y=(o*S-1)*Math.pow(2,p),w=w+P):(y=o*Math.pow(2,P-1)*Math.pow(2,p),w=0));p>=8;r[l+R]=y&255,R+=$,y/=256,p-=8);for(w=w<0;r[l+R]=w&255,R+=$,w/=256,E-=8);r[l+R-$]|=K*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(r){const o=Wre,l=o9e,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=y,r.SlowBuffer=ee,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,y.TYPED_ARRAY_SUPPORT=g(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function g(){try{const de=new Uint8Array(1),G={foo:function(){return 42}};return Object.setPrototypeOf(G,Uint8Array.prototype),Object.setPrototypeOf(de,G),de.foo()===42}catch{return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}});function w(de){if(de>p)throw new RangeError('The value "'+de+'" is invalid for option "size"');const G=new Uint8Array(de);return Object.setPrototypeOf(G,y.prototype),G}function y(de,G,X){if(typeof de=="number"){if(typeof G=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return P(de)}return S(de,G,X)}y.poolSize=8192;function S(de,G,X){if(typeof de=="string")return _(de,G);if(ArrayBuffer.isView(de))return $(de);if(de==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de);if(Ct(de,ArrayBuffer)||de&&Ct(de.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ct(de,SharedArrayBuffer)||de&&Ct(de.buffer,SharedArrayBuffer)))return K(de,G,X);if(typeof de=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const De=de.valueOf&&de.valueOf();if(De!=null&&De!==de)return y.from(De,G,X);const gt=q(de);if(gt)return gt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof de[Symbol.toPrimitive]=="function")return y.from(de[Symbol.toPrimitive]("string"),G,X);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de)}y.from=function(de,G,X){return S(de,G,X)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array);function E(de){if(typeof de!="number")throw new TypeError('"size" argument must be of type number');if(de<0)throw new RangeError('The value "'+de+'" is invalid for option "size"')}function I(de,G,X){return E(de),de<=0?w(de):G!==void 0?typeof X=="string"?w(de).fill(G,X):w(de).fill(G):w(de)}y.alloc=function(de,G,X){return I(de,G,X)};function P(de){return E(de),w(de<0?0:Q(de)|0)}y.allocUnsafe=function(de){return P(de)},y.allocUnsafeSlow=function(de){return P(de)};function _(de,G){if((typeof G!="string"||G==="")&&(G="utf8"),!y.isEncoding(G))throw new TypeError("Unknown encoding: "+G);const X=J(de,G)|0;let De=w(X);const gt=De.write(de,G);return gt!==X&&(De=De.slice(0,gt)),De}function R(de){const G=de.length<0?0:Q(de.length)|0,X=w(G);for(let De=0;De=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return de|0}function ee(de){return+de!=de&&(de=0),y.alloc(+de)}y.isBuffer=function(G){return G!=null&&G._isBuffer===!0&&G!==y.prototype},y.compare=function(G,X){if(Ct(G,Uint8Array)&&(G=y.from(G,G.offset,G.byteLength)),Ct(X,Uint8Array)&&(X=y.from(X,X.offset,X.byteLength)),!y.isBuffer(G)||!y.isBuffer(X))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(G===X)return 0;let De=G.length,gt=X.length;for(let Kt=0,Ut=Math.min(De,gt);Ktgt.length?(y.isBuffer(Ut)||(Ut=y.from(Ut)),Ut.copy(gt,Kt)):Uint8Array.prototype.set.call(gt,Ut,Kt);else if(y.isBuffer(Ut))Ut.copy(gt,Kt);else throw new TypeError('"list" argument must be an Array of Buffers');Kt+=Ut.length}return gt};function J(de,G){if(y.isBuffer(de))return de.length;if(ArrayBuffer.isView(de)||Ct(de,ArrayBuffer))return de.byteLength;if(typeof de!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof de);const X=de.length,De=arguments.length>2&&arguments[2]===!0;if(!De&&X===0)return 0;let gt=!1;for(;;)switch(G){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":return ge(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return Lt(de).length;default:if(gt)return De?-1:ge(de).length;G=(""+G).toLowerCase(),gt=!0}}y.byteLength=J;function oe(de,G,X){let De=!1;if((G===void 0||G<0)&&(G=0),G>this.length||((X===void 0||X>this.length)&&(X=this.length),X<=0)||(X>>>=0,G>>>=0,X<=G))return"";for(de||(de="utf8");;)switch(de){case"hex":return un(this,G,X);case"utf8":case"utf-8":return He(this,G,X);case"ascii":return At(this,G,X);case"latin1":case"binary":return Jt(this,G,X);case"base64":return U(this,G,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kn(this,G,X);default:if(De)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),De=!0}}y.prototype._isBuffer=!0;function $e(de,G,X){const De=de[G];de[G]=de[X],de[X]=De}y.prototype.swap16=function(){const G=this.length;if(G%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let X=0;XX&&(G+=" ... "),""},a&&(y.prototype[a]=y.prototype.inspect),y.prototype.compare=function(G,X,De,gt,Kt){if(Ct(G,Uint8Array)&&(G=y.from(G,G.offset,G.byteLength)),!y.isBuffer(G))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof G);if(X===void 0&&(X=0),De===void 0&&(De=G?G.length:0),gt===void 0&&(gt=0),Kt===void 0&&(Kt=this.length),X<0||De>G.length||gt<0||Kt>this.length)throw new RangeError("out of range index");if(gt>=Kt&&X>=De)return 0;if(gt>=Kt)return-1;if(X>=De)return 1;if(X>>>=0,De>>>=0,gt>>>=0,Kt>>>=0,this===G)return 0;let Ut=Kt-gt,so=De-X;const rl=Math.min(Ut,so),_o=this.slice(gt,Kt),Ro=G.slice(X,De);for(let Fs=0;Fs2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,Kn(X)&&(X=gt?0:de.length-1),X<0&&(X=de.length+X),X>=de.length){if(gt)return-1;X=de.length-1}else if(X<0)if(gt)X=0;else return-1;if(typeof G=="string"&&(G=y.from(G,De)),y.isBuffer(G))return G.length===0?-1:wt(de,G,X,De,gt);if(typeof G=="number")return G=G&255,typeof Uint8Array.prototype.indexOf=="function"?gt?Uint8Array.prototype.indexOf.call(de,G,X):Uint8Array.prototype.lastIndexOf.call(de,G,X):wt(de,[G],X,De,gt);throw new TypeError("val must be string, number or Buffer")}function wt(de,G,X,De,gt){let Kt=1,Ut=de.length,so=G.length;if(De!==void 0&&(De=String(De).toLowerCase(),De==="ucs2"||De==="ucs-2"||De==="utf16le"||De==="utf-16le")){if(de.length<2||G.length<2)return-1;Kt=2,Ut/=2,so/=2,X/=2}function rl(Ro,Fs){return Kt===1?Ro[Fs]:Ro.readUInt16BE(Fs*Kt)}let _o;if(gt){let Ro=-1;for(_o=X;_oUt&&(X=Ut-so),_o=X;_o>=0;_o--){let Ro=!0;for(let Fs=0;Fsgt&&(De=gt)):De=gt;const Kt=G.length;De>Kt/2&&(De=Kt/2);let Ut;for(Ut=0;Ut>>0,isFinite(De)?(De=De>>>0,gt===void 0&&(gt="utf8")):(gt=De,De=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Kt=this.length-X;if((De===void 0||De>Kt)&&(De=Kt),G.length>0&&(De<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");gt||(gt="utf8");let Ut=!1;for(;;)switch(gt){case"hex":return bt(this,G,X,De);case"utf8":case"utf-8":return ce(this,G,X,De);case"ascii":case"latin1":case"binary":return Be(this,G,X,De);case"base64":return ae(this,G,X,De);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,G,X,De);default:if(Ut)throw new TypeError("Unknown encoding: "+gt);gt=(""+gt).toLowerCase(),Ut=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(de,G,X){return G===0&&X===de.length?o.fromByteArray(de):o.fromByteArray(de.slice(G,X))}function He(de,G,X){X=Math.min(de.length,X);const De=[];let gt=G;for(;gt239?4:Kt>223?3:Kt>191?2:1;if(gt+so<=X){let rl,_o,Ro,Fs;switch(so){case 1:Kt<128&&(Ut=Kt);break;case 2:rl=de[gt+1],(rl&192)===128&&(Fs=(Kt&31)<<6|rl&63,Fs>127&&(Ut=Fs));break;case 3:rl=de[gt+1],_o=de[gt+2],(rl&192)===128&&(_o&192)===128&&(Fs=(Kt&15)<<12|(rl&63)<<6|_o&63,Fs>2047&&(Fs<55296||Fs>57343)&&(Ut=Fs));break;case 4:rl=de[gt+1],_o=de[gt+2],Ro=de[gt+3],(rl&192)===128&&(_o&192)===128&&(Ro&192)===128&&(Fs=(Kt&15)<<18|(rl&63)<<12|(_o&63)<<6|Ro&63,Fs>65535&&Fs<1114112&&(Ut=Fs))}}Ut===null?(Ut=65533,so=1):Ut>65535&&(Ut-=65536,De.push(Ut>>>10&1023|55296),Ut=56320|Ut&1023),De.push(Ut),gt+=so}return ft(De)}const yt=4096;function ft(de){const G=de.length;if(G<=yt)return String.fromCharCode.apply(String,de);let X="",De=0;for(;DeDe)&&(X=De);let gt="";for(let Kt=G;KtDe&&(G=De),X<0?(X+=De,X<0&&(X=0)):X>De&&(X=De),XX)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(G,X,De){G=G>>>0,X=X>>>0,De||qt(G,X,this.length);let gt=this[G],Kt=1,Ut=0;for(;++Ut>>0,X=X>>>0,De||qt(G,X,this.length);let gt=this[G+--X],Kt=1;for(;X>0&&(Kt*=256);)gt+=this[G+--X]*Kt;return gt},y.prototype.readUint8=y.prototype.readUInt8=function(G,X){return G=G>>>0,X||qt(G,1,this.length),this[G]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(G,X){return G=G>>>0,X||qt(G,2,this.length),this[G]|this[G+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(G,X){return G=G>>>0,X||qt(G,2,this.length),this[G]<<8|this[G+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(G,X){return G=G>>>0,X||qt(G,4,this.length),(this[G]|this[G+1]<<8|this[G+2]<<16)+this[G+3]*16777216},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(G,X){return G=G>>>0,X||qt(G,4,this.length),this[G]*16777216+(this[G+1]<<16|this[G+2]<<8|this[G+3])},y.prototype.readBigUInt64LE=Rn(function(G){G=G>>>0,Z(G,"offset");const X=this[G],De=this[G+7];(X===void 0||De===void 0)&&V(G,this.length-8);const gt=X+this[++G]*2**8+this[++G]*2**16+this[++G]*2**24,Kt=this[++G]+this[++G]*2**8+this[++G]*2**16+De*2**24;return BigInt(gt)+(BigInt(Kt)<>>0,Z(G,"offset");const X=this[G],De=this[G+7];(X===void 0||De===void 0)&&V(G,this.length-8);const gt=X*2**24+this[++G]*2**16+this[++G]*2**8+this[++G],Kt=this[++G]*2**24+this[++G]*2**16+this[++G]*2**8+De;return(BigInt(gt)<>>0,X=X>>>0,De||qt(G,X,this.length);let gt=this[G],Kt=1,Ut=0;for(;++Ut=Kt&&(gt-=Math.pow(2,8*X)),gt},y.prototype.readIntBE=function(G,X,De){G=G>>>0,X=X>>>0,De||qt(G,X,this.length);let gt=X,Kt=1,Ut=this[G+--gt];for(;gt>0&&(Kt*=256);)Ut+=this[G+--gt]*Kt;return Kt*=128,Ut>=Kt&&(Ut-=Math.pow(2,8*X)),Ut},y.prototype.readInt8=function(G,X){return G=G>>>0,X||qt(G,1,this.length),this[G]&128?(255-this[G]+1)*-1:this[G]},y.prototype.readInt16LE=function(G,X){G=G>>>0,X||qt(G,2,this.length);const De=this[G]|this[G+1]<<8;return De&32768?De|4294901760:De},y.prototype.readInt16BE=function(G,X){G=G>>>0,X||qt(G,2,this.length);const De=this[G+1]|this[G]<<8;return De&32768?De|4294901760:De},y.prototype.readInt32LE=function(G,X){return G=G>>>0,X||qt(G,4,this.length),this[G]|this[G+1]<<8|this[G+2]<<16|this[G+3]<<24},y.prototype.readInt32BE=function(G,X){return G=G>>>0,X||qt(G,4,this.length),this[G]<<24|this[G+1]<<16|this[G+2]<<8|this[G+3]},y.prototype.readBigInt64LE=Rn(function(G){G=G>>>0,Z(G,"offset");const X=this[G],De=this[G+7];(X===void 0||De===void 0)&&V(G,this.length-8);const gt=this[G+4]+this[G+5]*2**8+this[G+6]*2**16+(De<<24);return(BigInt(gt)<>>0,Z(G,"offset");const X=this[G],De=this[G+7];(X===void 0||De===void 0)&&V(G,this.length-8);const gt=(X<<24)+this[++G]*2**16+this[++G]*2**8+this[++G];return(BigInt(gt)<>>0,X||qt(G,4,this.length),l.read(this,G,!0,23,4)},y.prototype.readFloatBE=function(G,X){return G=G>>>0,X||qt(G,4,this.length),l.read(this,G,!1,23,4)},y.prototype.readDoubleLE=function(G,X){return G=G>>>0,X||qt(G,8,this.length),l.read(this,G,!0,52,8)},y.prototype.readDoubleBE=function(G,X){return G=G>>>0,X||qt(G,8,this.length),l.read(this,G,!1,52,8)};function on(de,G,X,De,gt,Kt){if(!y.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(G>gt||Gde.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(G,X,De,gt){if(G=+G,X=X>>>0,De=De>>>0,!gt){const so=Math.pow(2,8*De)-1;on(this,G,X,De,so,0)}let Kt=1,Ut=0;for(this[X]=G&255;++Ut>>0,De=De>>>0,!gt){const so=Math.pow(2,8*De)-1;on(this,G,X,De,so,0)}let Kt=De-1,Ut=1;for(this[X+Kt]=G&255;--Kt>=0&&(Ut*=256);)this[X+Kt]=G/Ut&255;return X+De},y.prototype.writeUint8=y.prototype.writeUInt8=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,1,255,0),this[X]=G&255,X+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,2,65535,0),this[X]=G&255,this[X+1]=G>>>8,X+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,2,65535,0),this[X]=G>>>8,this[X+1]=G&255,X+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,4,4294967295,0),this[X+3]=G>>>24,this[X+2]=G>>>16,this[X+1]=G>>>8,this[X]=G&255,X+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,4,4294967295,0),this[X]=G>>>24,this[X+1]=G>>>16,this[X+2]=G>>>8,this[X+3]=G&255,X+4};function Rt(de,G,X,De,gt){ke(G,De,gt,de,X,7);let Kt=Number(G&BigInt(4294967295));de[X++]=Kt,Kt=Kt>>8,de[X++]=Kt,Kt=Kt>>8,de[X++]=Kt,Kt=Kt>>8,de[X++]=Kt;let Ut=Number(G>>BigInt(32)&BigInt(4294967295));return de[X++]=Ut,Ut=Ut>>8,de[X++]=Ut,Ut=Ut>>8,de[X++]=Ut,Ut=Ut>>8,de[X++]=Ut,X}function an(de,G,X,De,gt){ke(G,De,gt,de,X,7);let Kt=Number(G&BigInt(4294967295));de[X+7]=Kt,Kt=Kt>>8,de[X+6]=Kt,Kt=Kt>>8,de[X+5]=Kt,Kt=Kt>>8,de[X+4]=Kt;let Ut=Number(G>>BigInt(32)&BigInt(4294967295));return de[X+3]=Ut,Ut=Ut>>8,de[X+2]=Ut,Ut=Ut>>8,de[X+1]=Ut,Ut=Ut>>8,de[X]=Ut,X+8}y.prototype.writeBigUInt64LE=Rn(function(G,X=0){return Rt(this,G,X,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=Rn(function(G,X=0){return an(this,G,X,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(G,X,De,gt){if(G=+G,X=X>>>0,!gt){const rl=Math.pow(2,8*De-1);on(this,G,X,De,rl-1,-rl)}let Kt=0,Ut=1,so=0;for(this[X]=G&255;++Kt>0)-so&255;return X+De},y.prototype.writeIntBE=function(G,X,De,gt){if(G=+G,X=X>>>0,!gt){const rl=Math.pow(2,8*De-1);on(this,G,X,De,rl-1,-rl)}let Kt=De-1,Ut=1,so=0;for(this[X+Kt]=G&255;--Kt>=0&&(Ut*=256);)G<0&&so===0&&this[X+Kt+1]!==0&&(so=1),this[X+Kt]=(G/Ut>>0)-so&255;return X+De},y.prototype.writeInt8=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,1,127,-128),G<0&&(G=255+G+1),this[X]=G&255,X+1},y.prototype.writeInt16LE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,2,32767,-32768),this[X]=G&255,this[X+1]=G>>>8,X+2},y.prototype.writeInt16BE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,2,32767,-32768),this[X]=G>>>8,this[X+1]=G&255,X+2},y.prototype.writeInt32LE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,4,2147483647,-2147483648),this[X]=G&255,this[X+1]=G>>>8,this[X+2]=G>>>16,this[X+3]=G>>>24,X+4},y.prototype.writeInt32BE=function(G,X,De){return G=+G,X=X>>>0,De||on(this,G,X,4,2147483647,-2147483648),G<0&&(G=4294967295+G+1),this[X]=G>>>24,this[X+1]=G>>>16,this[X+2]=G>>>8,this[X+3]=G&255,X+4},y.prototype.writeBigInt64LE=Rn(function(G,X=0){return Rt(this,G,X,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=Rn(function(G,X=0){return an(this,G,X,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Zn(de,G,X,De,gt,Kt){if(X+De>de.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function kt(de,G,X,De,gt){return G=+G,X=X>>>0,gt||Zn(de,G,X,4),l.write(de,G,X,De,23,4),X+4}y.prototype.writeFloatLE=function(G,X,De){return kt(this,G,X,!0,De)},y.prototype.writeFloatBE=function(G,X,De){return kt(this,G,X,!1,De)};function Qe(de,G,X,De,gt){return G=+G,X=X>>>0,gt||Zn(de,G,X,8),l.write(de,G,X,De,52,8),X+8}y.prototype.writeDoubleLE=function(G,X,De){return Qe(this,G,X,!0,De)},y.prototype.writeDoubleBE=function(G,X,De){return Qe(this,G,X,!1,De)},y.prototype.copy=function(G,X,De,gt){if(!y.isBuffer(G))throw new TypeError("argument should be a Buffer");if(De||(De=0),!gt&>!==0&&(gt=this.length),X>=G.length&&(X=G.length),X||(X=0),gt>0&>=this.length)throw new RangeError("Index out of range");if(gt<0)throw new RangeError("sourceEnd out of bounds");gt>this.length&&(gt=this.length),G.length-X>>0,De=De===void 0?this.length:De>>>0,G||(G=0);let Kt;if(typeof G=="number")for(Kt=X;Kt2**32?gt=hr(String(X)):typeof X=="bigint"&&(gt=String(X),(X>BigInt(2)**BigInt(32)||X<-(BigInt(2)**BigInt(32)))&&(gt=hr(gt)),gt+="n"),De+=` It must be ${G}. Received ${gt}`,De},RangeError);function hr(de){let G="",X=de.length;const De=de[0]==="-"?1:0;for(;X>=De+4;X-=3)G=`_${de.slice(X-3,X)}${G}`;return`${de.slice(0,X)}${G}`}function ve(de,G,X){Z(G,"offset"),(de[G]===void 0||de[G+X]===void 0)&&V(G,de.length-(X+1))}function ke(de,G,X,De,gt,Kt){if(de>X||de= 0${Ut} and < 2${Ut} ** ${(Kt+1)*8}${Ut}`:so=`>= -(2${Ut} ** ${(Kt+1)*8-1}${Ut}) and < 2 ** ${(Kt+1)*8-1}${Ut}`,new Xt.ERR_OUT_OF_RANGE("value",so,de)}ve(De,gt,Kt)}function Z(de,G){if(typeof de!="number")throw new Xt.ERR_INVALID_ARG_TYPE(G,"number",de)}function V(de,G,X){throw Math.floor(de)!==de?(Z(de,X),new Xt.ERR_OUT_OF_RANGE("offset","an integer",de)):G<0?new Xt.ERR_BUFFER_OUT_OF_BOUNDS:new Xt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${G}`,de)}const ie=/[^+/0-9A-Za-z-_]/g;function ue(de){if(de=de.split("=")[0],de=de.trim().replace(ie,""),de.length<2)return"";for(;de.length%4!==0;)de=de+"=";return de}function ge(de,G){G=G||1/0;let X;const De=de.length;let gt=null;const Kt=[];for(let Ut=0;Ut55295&&X<57344){if(!gt){if(X>56319){(G-=3)>-1&&Kt.push(239,191,189);continue}else if(Ut+1===De){(G-=3)>-1&&Kt.push(239,191,189);continue}gt=X;continue}if(X<56320){(G-=3)>-1&&Kt.push(239,191,189),gt=X;continue}X=(gt-55296<<10|X-56320)+65536}else gt&&(G-=3)>-1&&Kt.push(239,191,189);if(gt=null,X<128){if((G-=1)<0)break;Kt.push(X)}else if(X<2048){if((G-=2)<0)break;Kt.push(X>>6|192,X&63|128)}else if(X<65536){if((G-=3)<0)break;Kt.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((G-=4)<0)break;Kt.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return Kt}function Ge(de){const G=[];for(let X=0;X>8,gt=X%256,Kt.push(gt),Kt.push(De);return Kt}function Lt(de){return o.toByteArray(ue(de))}function tn(de,G,X,De){let gt;for(gt=0;gt=G.length||gt>=de.length);++gt)G[gt+X]=de[gt];return gt}function Ct(de,G){return de instanceof G||de!=null&&de.constructor!=null&&de.constructor.name!=null&&de.constructor.name===G.name}function Kn(de){return de!==de}const dn=function(){const de="0123456789abcdef",G=new Array(256);for(let X=0;X<16;++X){const De=X*16;for(let gt=0;gt<16;++gt)G[De+gt]=de[X]+de[gt]}return G}();function Rn(de){return typeof BigInt>"u"?gr:de}function gr(){throw new Error("BigInt not supported")}})(um);var qa={ArrayIsArray(r){return Array.isArray(r)},ArrayPrototypeIncludes(r,o){return r.includes(o)},ArrayPrototypeIndexOf(r,o){return r.indexOf(o)},ArrayPrototypeJoin(r,o){return r.join(o)},ArrayPrototypeMap(r,o){return r.map(o)},ArrayPrototypePop(r,o){return r.pop(o)},ArrayPrototypePush(r,o){return r.push(o)},ArrayPrototypeSlice(r,o,l){return r.slice(o,l)},Error,FunctionPrototypeCall(r,o,...l){return r.call(o,...l)},FunctionPrototypeSymbolHasInstance(r,o){return Function.prototype[Symbol.hasInstance].call(r,o)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(r,o){return Object.defineProperties(r,o)},ObjectDefineProperty(r,o,l){return Object.defineProperty(r,o,l)},ObjectGetOwnPropertyDescriptor(r,o){return Object.getOwnPropertyDescriptor(r,o)},ObjectKeys(r){return Object.keys(r)},ObjectSetPrototypeOf(r,o){return Object.setPrototypeOf(r,o)},Promise,PromisePrototypeCatch(r,o){return r.catch(o)},PromisePrototypeThen(r,o,l){return r.then(o,l)},PromiseReject(r){return Promise.reject(r)},PromiseResolve(r){return Promise.resolve(r)},ReflectApply:Reflect.apply,RegExpPrototypeTest(r,o){return r.test(o)},SafeSet:Set,String,StringPrototypeSlice(r,o,l){return r.slice(o,l)},StringPrototypeToLowerCase(r){return r.toLowerCase()},StringPrototypeToUpperCase(r){return r.toUpperCase()},StringPrototypeTrim(r){return r.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(r,o,l){return r.set(o,l)},Boolean,Uint8Array},F9t={exports:{}},lF={exports:{}},akt;function kz(){if(akt)return lF.exports;akt=1;const{AbortController:r,AbortSignal:o}=typeof self<"u"?self:typeof window<"u"?window:void 0;return lF.exports=r,lF.exports.AbortSignal=o,lF.exports.default=r,lF.exports}var s9e={exports:{}},r_=typeof Reflect=="object"?Reflect:null,fkt=r_&&typeof r_.apply=="function"?r_.apply:function(o,l,a){return Function.prototype.apply.call(o,l,a)},vne;r_&&typeof r_.ownKeys=="function"?vne=r_.ownKeys:Object.getOwnPropertySymbols?vne=function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:vne=function(o){return Object.getOwnPropertyNames(o)};function Lwn(r){console&&console.warn&&console.warn(r)}var z9t=Number.isNaN||function(o){return o!==o};function Gc(){Gc.init.call(this)}s9e.exports=Gc;s9e.exports.once=Nwn;Gc.EventEmitter=Gc;Gc.prototype._events=void 0;Gc.prototype._eventsCount=0;Gc.prototype._maxListeners=void 0;var dkt=10;function Vre(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(Gc,"defaultMaxListeners",{enumerable:!0,get:function(){return dkt},set:function(r){if(typeof r!="number"||r<0||z9t(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");dkt=r}});Gc.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Gc.prototype.setMaxListeners=function(o){if(typeof o!="number"||o<0||z9t(o))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+o+".");return this._maxListeners=o,this};function H9t(r){return r._maxListeners===void 0?Gc.defaultMaxListeners:r._maxListeners}Gc.prototype.getMaxListeners=function(){return H9t(this)};Gc.prototype.emit=function(o){for(var l=[],a=1;a0&&(w=l[0]),w instanceof Error)throw w;var y=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw y.context=w,y}var S=g[o];if(S===void 0)return!1;if(typeof S=="function")fkt(S,this,l);else for(var E=S.length,I=V9t(S,E),a=0;a0&&w.length>p&&!w.warned){w.warned=!0;var y=new Error("Possible EventEmitter memory leak detected. "+w.length+" "+String(o)+" listeners added. Use emitter.setMaxListeners() to increase limit");y.name="MaxListenersExceededWarning",y.emitter=r,y.type=o,y.count=w.length,Lwn(y)}return r}Gc.prototype.addListener=function(o,l){return K9t(this,o,l,!1)};Gc.prototype.on=Gc.prototype.addListener;Gc.prototype.prependListener=function(o,l){return K9t(this,o,l,!0)};function jwn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function U9t(r,o,l){var a={fired:!1,wrapFn:void 0,target:r,type:o,listener:l},p=jwn.bind(a);return p.listener=l,a.wrapFn=p,p}Gc.prototype.once=function(o,l){return Vre(l),this.on(o,U9t(this,o,l)),this};Gc.prototype.prependOnceListener=function(o,l){return Vre(l),this.prependListener(o,U9t(this,o,l)),this};Gc.prototype.removeListener=function(o,l){var a,p,g,w,y;if(Vre(l),p=this._events,p===void 0)return this;if(a=p[o],a===void 0)return this;if(a===l||a.listener===l)--this._eventsCount===0?this._events=Object.create(null):(delete p[o],p.removeListener&&this.emit("removeListener",o,a.listener||l));else if(typeof a!="function"){for(g=-1,w=a.length-1;w>=0;w--)if(a[w]===l||a[w].listener===l){y=a[w].listener,g=w;break}if(g<0)return this;g===0?a.shift():$wn(a,g),a.length===1&&(p[o]=a[0]),p.removeListener!==void 0&&this.emit("removeListener",o,y||l)}return this};Gc.prototype.off=Gc.prototype.removeListener;Gc.prototype.removeAllListeners=function(o){var l,a,p;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[o]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[o]),this;if(arguments.length===0){var g=Object.keys(a),w;for(p=0;p=0;p--)this.removeListener(o,l[p]);return this};function G9t(r,o,l){var a=r._events;if(a===void 0)return[];var p=a[o];return p===void 0?[]:typeof p=="function"?l?[p.listener||p]:[p]:l?Dwn(p):V9t(p,p.length)}Gc.prototype.listeners=function(o){return G9t(this,o,!0)};Gc.prototype.rawListeners=function(o){return G9t(this,o,!1)};Gc.listenerCount=function(r,o){return typeof r.listenerCount=="function"?r.listenerCount(o):W9t.call(r,o)};Gc.prototype.listenerCount=W9t;function W9t(r){var o=this._events;if(o!==void 0){var l=o[r];if(typeof l=="function")return 1;if(l!==void 0)return l.length}return 0}Gc.prototype.eventNames=function(){return this._eventsCount>0?vne(this._events):[]};function V9t(r,o){for(var l=new Array(o),a=0;a{if(_!==void 0&&(_===null||typeof _!="object"||!("aborted"in _)))throw new ERR_INVALID_ARG_TYPE(R,"AbortSignal",_)},I=(_,R)=>{if(typeof _!="function")throw new ERR_INVALID_ARG_TYPE(R,"Function",_)};class P extends Error{constructor(R){if(!Array.isArray(R))throw new TypeError(`Expected input to be an Array, got ${typeof R}`);let $="";for(let K=0;K{_=K,R=q}),resolve:_,reject:R}},promisify(_){return new Promise((R,$)=>{_((K,...q)=>K?$(K):R(...q))})},debuglog(){return function(){}},format(_,...R){return _.replace(/%([sdifj])/g,function(...[$,K]){const q=R.shift();return K==="f"?q.toFixed(6):K==="j"?JSON.stringify(q):K==="s"&&typeof q=="object"?`${q.constructor!==Object?q.constructor.name:""} {}`.trim():q.toString()})},inspect(_){switch(typeof _){case"string":if(_.includes("'"))if(_.includes('"')){if(!_.includes("`")&&!_.includes("${"))return`\`${_}\``}else return`"${_}"`;return`'${_}'`;case"number":return isNaN(_)?"NaN":Object.is(_,-0)?String(_):_;case"bigint":return`${String(_)}n`;case"boolean":case"undefined":return String(_);case"object":return"{}"}},types:{isAsyncFunction(_){return _ instanceof w},isArrayBufferView(_){return ArrayBuffer.isView(_)}},isBlob:S,deprecate(_,R){return _},addAbortListener:D_.addAbortListener||function(R,$){if(R===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",R);E(R,"signal"),I($,"listener");let K;return R.aborted?queueMicrotask(()=>$()):(R.addEventListener("abort",$,{__proto__:null,once:!0,[l]:!0}),K=()=>{R.removeEventListener("abort",$)}),{__proto__:null,[a](){var q;(q=K)===null||q===void 0||q()}}},AbortSignalAny:p.any||function(R){if(R.length===1)return R[0];const $=new g,K=()=>$.abort();return R.forEach(q=>{E(q,"signals"),q.addEventListener("abort",K,{once:!0})}),$.signal.addEventListener("abort",()=>{R.forEach(q=>q.removeEventListener("abort",K))},{once:!0}),$.signal}},r.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(F9t);var Np=F9t.exports,l9e={};const{format:Fwn,inspect:Jne,AggregateError:zwn}=Np,Hwn=globalThis.AggregateError||zwn,Kwn=Symbol("kIsNodeError"),Uwn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Gwn=/^([A-Z][a-z0-9]*)+$/,Wwn="__node_internal_",qre={};function xE(r,o){if(!r)throw new qre.ERR_INTERNAL_ASSERTION(o)}function hkt(r){let o="",l=r.length;const a=r[0]==="-"?1:0;for(;l>=a+4;l-=3)o=`_${r.slice(l-3,l)}${o}`;return`${r.slice(0,l)}${o}`}function Vwn(r,o,l){if(typeof o=="function")return xE(o.length<=l.length,`Code: ${r}; The provided arguments length (${l.length}) does not match the required ones (${o.length}).`),o(...l);const a=(o.match(/%[dfijoOs]/g)||[]).length;return xE(a===l.length,`Code: ${r}; The provided arguments length (${l.length}) does not match the required ones (${a}).`),l.length===0?o:Fwn(o,...l)}function qh(r,o,l){l||(l=Error);class a extends l{constructor(...g){super(Vwn(r,o,g))}toString(){return`${this.name} [${r}]: ${this.message}`}}Object.defineProperties(a.prototype,{name:{value:l.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${r}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),a.prototype.code=r,a.prototype[Kwn]=!0,qre[r]=a}function pkt(r){const o=Wwn+r.name;return Object.defineProperty(r,"name",{value:o}),r}function qwn(r,o){if(r&&o&&r!==o){if(Array.isArray(o.errors))return o.errors.push(r),o;const l=new Hwn([o,r],o.message);return l.code=o.code,l}return r||o}let Xwn=class extends Error{constructor(o="The operation was aborted",l=void 0){if(l!==void 0&&typeof l!="object")throw new qre.ERR_INVALID_ARG_TYPE("options","Object",l);super(o,l),this.code="ABORT_ERR",this.name="AbortError"}};qh("ERR_ASSERTION","%s",Error);qh("ERR_INVALID_ARG_TYPE",(r,o,l)=>{xE(typeof r=="string","'name' must be a string"),Array.isArray(o)||(o=[o]);let a="The ";r.endsWith(" argument")?a+=`${r} `:a+=`"${r}" ${r.includes(".")?"property":"argument"} `,a+="must be ";const p=[],g=[],w=[];for(const S of o)xE(typeof S=="string","All expected entries have to be of type string"),Uwn.includes(S)?p.push(S.toLowerCase()):Gwn.test(S)?g.push(S):(xE(S!=="object",'The value "object" should be written as "Object"'),w.push(S));if(g.length>0){const S=p.indexOf("object");S!==-1&&(p.splice(p,S,1),g.push("Object"))}if(p.length>0){switch(p.length){case 1:a+=`of type ${p[0]}`;break;case 2:a+=`one of type ${p[0]} or ${p[1]}`;break;default:{const S=p.pop();a+=`one of type ${p.join(", ")}, or ${S}`}}(g.length>0||w.length>0)&&(a+=" or ")}if(g.length>0){switch(g.length){case 1:a+=`an instance of ${g[0]}`;break;case 2:a+=`an instance of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();a+=`an instance of ${g.join(", ")}, or ${S}`}}w.length>0&&(a+=" or ")}switch(w.length){case 0:break;case 1:w[0].toLowerCase()!==w[0]&&(a+="an "),a+=`${w[0]}`;break;case 2:a+=`one of ${w[0]} or ${w[1]}`;break;default:{const S=w.pop();a+=`one of ${w.join(", ")}, or ${S}`}}if(l==null)a+=`. Received ${l}`;else if(typeof l=="function"&&l.name)a+=`. Received function ${l.name}`;else if(typeof l=="object"){var y;if((y=l.constructor)!==null&&y!==void 0&&y.name)a+=`. Received an instance of ${l.constructor.name}`;else{const S=Jne(l,{depth:-1});a+=`. Received ${S}`}}else{let S=Jne(l,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),a+=`. Received type ${typeof l} (${S})`}return a},TypeError);qh("ERR_INVALID_ARG_VALUE",(r,o,l="is invalid")=>{let a=Jne(o);return a.length>128&&(a=a.slice(0,128)+"..."),`The ${r.includes(".")?"property":"argument"} '${r}' ${l}. Received ${a}`},TypeError);qh("ERR_INVALID_RETURN_VALUE",(r,o,l)=>{var a;const p=l!=null&&(a=l.constructor)!==null&&a!==void 0&&a.name?`instance of ${l.constructor.name}`:`type ${typeof l}`;return`Expected ${r} to be returned from the "${o}" function but got ${p}.`},TypeError);qh("ERR_MISSING_ARGS",(...r)=>{xE(r.length>0,"At least one arg needs to be specified");let o;const l=r.length;switch(r=(Array.isArray(r)?r:[r]).map(a=>`"${a}"`).join(" or "),l){case 1:o+=`The ${r[0]} argument`;break;case 2:o+=`The ${r[0]} and ${r[1]} arguments`;break;default:{const a=r.pop();o+=`The ${r.join(", ")}, and ${a} arguments`}break}return`${o} must be specified`},TypeError);qh("ERR_OUT_OF_RANGE",(r,o,l)=>{xE(o,'Missing "range" argument');let a;return Number.isInteger(l)&&Math.abs(l)>2**32?a=hkt(String(l)):typeof l=="bigint"?(a=String(l),(l>2n**32n||l<-(2n**32n))&&(a=hkt(a)),a+="n"):a=Jne(l),`The value of "${r}" is out of range. It must be ${o}. Received ${a}`},RangeError);qh("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);qh("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);qh("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);qh("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);qh("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);qh("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);qh("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);qh("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);qh("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);qh("ERR_STREAM_WRITE_AFTER_END","write after end",Error);qh("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var Yg={AbortError:Xwn,aggregateTwoErrors:pkt(qwn),hideStackFrames:pkt,codes:qre};const{ArrayIsArray:c9e,ArrayPrototypeIncludes:X9t,ArrayPrototypeJoin:Y9t,ArrayPrototypeMap:Ywn,NumberIsInteger:u9e,NumberIsNaN:Jwn,NumberMAX_SAFE_INTEGER:Qwn,NumberMIN_SAFE_INTEGER:Zwn,NumberParseInt:emn,ObjectPrototypeHasOwnProperty:tmn,RegExpPrototypeExec:J9t,String:nmn,StringPrototypeToUpperCase:rmn,StringPrototypeTrim:imn}=qa,{hideStackFrames:am,codes:{ERR_SOCKET_BAD_PORT:omn,ERR_INVALID_ARG_TYPE:L1,ERR_INVALID_ARG_VALUE:N_,ERR_OUT_OF_RANGE:jE,ERR_UNKNOWN_SIGNAL:gkt}}=Yg,{normalizeEncoding:smn}=Np,{isAsyncFunction:lmn,isArrayBufferView:cmn}=Np.types,bkt={};function umn(r){return r===(r|0)}function amn(r){return r===r>>>0}const fmn=/^[0-7]+$/,dmn="must be a 32-bit unsigned integer or an octal string";function hmn(r,o,l){if(typeof r>"u"&&(r=l),typeof r=="string"){if(J9t(fmn,r)===null)throw new N_(o,r,dmn);r=emn(r,8)}return Q9t(r,o),r}const pmn=am((r,o,l=Zwn,a=Qwn)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!u9e(r))throw new jE(o,"an integer",r);if(ra)throw new jE(o,`>= ${l} && <= ${a}`,r)}),gmn=am((r,o,l=-2147483648,a=2147483647)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!u9e(r))throw new jE(o,"an integer",r);if(ra)throw new jE(o,`>= ${l} && <= ${a}`,r)}),Q9t=am((r,o,l=!1)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!u9e(r))throw new jE(o,"an integer",r);const a=l?1:0,p=4294967295;if(rp)throw new jE(o,`>= ${a} && <= ${p}`,r)});function a9e(r,o){if(typeof r!="string")throw new L1(o,"string",r)}function bmn(r,o,l=void 0,a){if(typeof r!="number")throw new L1(o,"number",r);if(l!=null&&ra||(l!=null||a!=null)&&Jwn(r))throw new jE(o,`${l!=null?`>= ${l}`:""}${l!=null&&a!=null?" && ":""}${a!=null?`<= ${a}`:""}`,r)}const wmn=am((r,o,l)=>{if(!X9t(l,r)){const p="must be one of: "+Y9t(Ywn(l,g=>typeof g=="string"?`'${g}'`:nmn(g)),", ");throw new N_(o,r,p)}});function Z9t(r,o){if(typeof r!="boolean")throw new L1(o,"boolean",r)}function W8e(r,o,l){return r==null||!tmn(r,o)?l:r[o]}const mmn=am((r,o,l=null)=>{const a=W8e(l,"allowArray",!1),p=W8e(l,"allowFunction",!1);if(!W8e(l,"nullable",!1)&&r===null||!a&&c9e(r)||typeof r!="object"&&(!p||typeof r!="function"))throw new L1(o,"Object",r)}),vmn=am((r,o)=>{if(r!=null&&typeof r!="object"&&typeof r!="function")throw new L1(o,"a dictionary",r)}),Xre=am((r,o,l=0)=>{if(!c9e(r))throw new L1(o,"Array",r);if(r.length{if(!cmn(r))throw new L1(o,["Buffer","TypedArray","DataView"],r)});function Emn(r,o){const l=smn(o),a=r.length;if(l==="hex"&&a%2!==0)throw new N_("encoding",o,`is invalid for data of length ${a}`)}function Tmn(r,o="Port",l=!0){if(typeof r!="number"&&typeof r!="string"||typeof r=="string"&&imn(r).length===0||+r!==+r>>>0||r>65535||r===0&&!l)throw new omn(o,r,l);return r|0}const ext=am((r,o)=>{if(r!==void 0&&(r===null||typeof r!="object"||!("aborted"in r)))throw new L1(o,"AbortSignal",r)}),Imn=am((r,o)=>{if(typeof r!="function")throw new L1(o,"Function",r)}),Mmn=am((r,o)=>{if(typeof r!="function"||lmn(r))throw new L1(o,"Function",r)}),Pmn=am((r,o)=>{if(r!==void 0)throw new L1(o,"undefined",r)});function Omn(r,o,l){if(!X9t(l,r))throw new L1(o,`('${Y9t(l,"|")}')`,r)}const _mn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function wkt(r,o){if(typeof r>"u"||!J9t(_mn,r))throw new N_(o,r,'must be an array or string of format "; rel=preload; as=style"')}function Rmn(r){if(typeof r=="string")return wkt(r,"hints"),r;if(c9e(r)){const o=r.length;let l="";if(o===0)return l;for(let a=0;a; rel=preload; as=style"')}var mH={isInt32:umn,isUint32:amn,parseFileMode:hmn,validateArray:Xre,validateStringArray:ymn,validateBooleanArray:kmn,validateAbortSignalArray:Cmn,validateBoolean:Z9t,validateBuffer:xmn,validateDictionary:vmn,validateEncoding:Emn,validateFunction:Imn,validateInt32:gmn,validateInteger:pmn,validateNumber:bmn,validateObject:mmn,validateOneOf:wmn,validatePlainFunction:Mmn,validatePort:Tmn,validateSignalName:Smn,validateString:a9e,validateUint32:Q9t,validateUndefined:Pmn,validateUnion:Omn,validateAbortSignal:ext,validateLinkHeaderValue:Rmn},f9e={exports:{}},txt={exports:{}},Tf=txt.exports={},o3,s3;function bCe(){throw new Error("setTimeout has not been defined")}function wCe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?o3=setTimeout:o3=bCe}catch{o3=bCe}try{typeof clearTimeout=="function"?s3=clearTimeout:s3=wCe}catch{s3=wCe}})();function nxt(r){if(o3===setTimeout)return setTimeout(r,0);if((o3===bCe||!o3)&&setTimeout)return o3=setTimeout,setTimeout(r,0);try{return o3(r,0)}catch{try{return o3.call(null,r,0)}catch{return o3.call(this,r,0)}}}function Amn(r){if(s3===clearTimeout)return clearTimeout(r);if((s3===wCe||!s3)&&clearTimeout)return s3=clearTimeout,clearTimeout(r);try{return s3(r)}catch{try{return s3.call(null,r)}catch{return s3.call(this,r)}}}var N6=[],i_=!1,wE,yne=-1;function Lmn(){!i_||!wE||(i_=!1,wE.length?N6=wE.concat(N6):yne=-1,N6.length&&rxt())}function rxt(){if(!i_){var r=nxt(Lmn);i_=!0;for(var o=N6.length;o;){for(wE=N6,N6=[];++yne1)for(var l=1;l{};function vxt(r,o,l){var a,p;if(arguments.length===2?(l=o,o=yCe):o==null?o=yCe:evn(o,"options"),Zmn(l,"callback"),Qmn(o.signal,"options.signal"),l=kCe(l),ovn(r)||svn(r))return fvn(r,o,l);if(!lvn(r))throw new Jmn("stream",["ReadableStream","WritableStream","Stream"],r);const g=(a=o.readable)!==null&&a!==void 0?a:V8e(r),w=(p=o.writable)!==null&&p!==void 0?p:Ekt(r),y=r._writableState,S=r._readableState,E=()=>{r.writable||_()};let I=cvn(r)&&V8e(r)===g&&Ekt(r)===w,P=Tkt(r,!1);const _=()=>{P=!0,r.destroyed&&(I=!1),!(I&&(!r.readable||g))&&(!g||R)&&l.call(r)};let R=Ckt(r,!1);const $=()=>{R=!0,r.destroyed&&(I=!1),!(I&&(!r.writable||w))&&(!w||P)&&l.call(r)},K=$e=>{l.call(r,$e)};let q=ivn(r);const Q=()=>{q=!0;const $e=Ikt(r)||Skt(r);if($e&&typeof $e!="boolean")return l.call(r,$e);if(g&&!R&&V8e(r,!0)&&!Ckt(r,!1))return l.call(r,new ykt);if(w&&!P&&!Tkt(r,!1))return l.call(r,new ykt);l.call(r)},ee=()=>{q=!0;const $e=Ikt(r)||Skt(r);if($e&&typeof $e!="boolean")return l.call(r,$e);l.call(r)},J=()=>{r.req.on("finish",_)};avn(r)?(r.on("complete",_),I||r.on("abort",Q),r.req?J():r.on("request",J)):w&&!y&&(r.on("end",E),r.on("close",E)),!I&&typeof r.aborted=="boolean"&&r.on("aborted",Q),r.on("end",$),r.on("finish",_),o.error!==!1&&r.on("error",K),r.on("close",Q),q?g7.nextTick(Q):y!=null&&y.errorEmitted||S!=null&&S.errorEmitted?I||g7.nextTick(ee):(!g&&(!I||kkt(r))&&(P||xkt(r)===!1)||!w&&(!I||xkt(r))&&(R||kkt(r)===!1)||S&&r.req&&r.aborted)&&g7.nextTick(ee);const oe=()=>{l=CCe,r.removeListener("aborted",Q),r.removeListener("complete",_),r.removeListener("abort",Q),r.removeListener("request",J),r.req&&r.req.removeListener("finish",_),r.removeListener("end",E),r.removeListener("close",E),r.removeListener("finish",_),r.removeListener("end",$),r.removeListener("error",K),r.removeListener("close",Q)};if(o.signal&&!q){const $e=()=>{const et=l;oe(),et.call(r,new wxt(void 0,{cause:o.signal.reason}))};if(o.signal.aborted)g7.nextTick($e);else{o_=o_||Np.addAbortListener;const et=o_(o.signal,$e),wt=l;l=kCe((...bt)=>{et[mxt](),wt.apply(r,bt)})}}return oe}function fvn(r,o,l){let a=!1,p=CCe;if(o.signal)if(p=()=>{a=!0,l.call(r,new wxt(void 0,{cause:o.signal.reason}))},o.signal.aborted)g7.nextTick(p);else{o_=o_||Np.addAbortListener;const w=o_(o.signal,p),y=l;l=kCe((...S)=>{w[mxt](),y.apply(r,S)})}const g=(...w)=>{a||g7.nextTick(()=>l.apply(r,w))};return rvn(r[uvn].promise,g,g),CCe}function dvn(r,o){var l;let a=!1;return o===null&&(o=yCe),(l=o)!==null&&l!==void 0&&l.cleanup&&(tvn(o.cleanup,"cleanup"),a=o.cleanup),new nvn((p,g)=>{const w=vxt(r,o,y=>{a&&w(),y?g(y):p()})})}f9e.exports=vxt;f9e.exports.finished=dvn;var U7=f9e.exports;const g3=K7,{aggregateTwoErrors:hvn,codes:{ERR_MULTIPLE_CALLBACK:pvn},AbortError:gvn}=Yg,{Symbol:yxt}=qa,{kIsDestroyed:bvn,isDestroyed:wvn,isFinished:mvn,isServerRequest:vvn}=i5,kxt=yxt("kDestroy"),SCe=yxt("kConstruct");function Cxt(r,o,l){r&&(r.stack,o&&!o.errored&&(o.errored=r),l&&!l.errored&&(l.errored=r))}function yvn(r,o){const l=this._readableState,a=this._writableState,p=a||l;return a!=null&&a.destroyed||l!=null&&l.destroyed?(typeof o=="function"&&o(),this):(Cxt(r,a,l),a&&(a.destroyed=!0),l&&(l.destroyed=!0),p.constructed?Mkt(this,r,o):this.once(kxt,function(g){Mkt(this,hvn(g,r),o)}),this)}function Mkt(r,o,l){let a=!1;function p(g){if(a)return;a=!0;const w=r._readableState,y=r._writableState;Cxt(g,y,w),y&&(y.closed=!0),w&&(w.closed=!0),typeof l=="function"&&l(g),g?g3.nextTick(kvn,r,g):g3.nextTick(Sxt,r)}try{r._destroy(o||null,p)}catch(g){p(g)}}function kvn(r,o){xCe(r,o),Sxt(r)}function Sxt(r){const o=r._readableState,l=r._writableState;l&&(l.closeEmitted=!0),o&&(o.closeEmitted=!0),(l!=null&&l.emitClose||o!=null&&o.emitClose)&&r.emit("close")}function xCe(r,o){const l=r._readableState,a=r._writableState;a!=null&&a.errorEmitted||l!=null&&l.errorEmitted||(a&&(a.errorEmitted=!0),l&&(l.errorEmitted=!0),r.emit("error",o))}function Cvn(){const r=this._readableState,o=this._writableState;r&&(r.constructed=!0,r.closed=!1,r.closeEmitted=!1,r.destroyed=!1,r.errored=null,r.errorEmitted=!1,r.reading=!1,r.ended=r.readable===!1,r.endEmitted=r.readable===!1),o&&(o.constructed=!0,o.destroyed=!1,o.closed=!1,o.closeEmitted=!1,o.errored=null,o.errorEmitted=!1,o.finalCalled=!1,o.prefinished=!1,o.ended=o.writable===!1,o.ending=o.writable===!1,o.finished=o.writable===!1)}function ECe(r,o,l){const a=r._readableState,p=r._writableState;if(p!=null&&p.destroyed||a!=null&&a.destroyed)return this;a!=null&&a.autoDestroy||p!=null&&p.autoDestroy?r.destroy(o):o&&(o.stack,p&&!p.errored&&(p.errored=o),a&&!a.errored&&(a.errored=o),l?g3.nextTick(xCe,r,o):xCe(r,o))}function Svn(r,o){if(typeof r._construct!="function")return;const l=r._readableState,a=r._writableState;l&&(l.constructed=!1),a&&(a.constructed=!1),r.once(SCe,o),!(r.listenerCount(SCe)>1)&&g3.nextTick(xvn,r)}function xvn(r){let o=!1;function l(a){if(o){ECe(r,a??new pvn);return}o=!0;const p=r._readableState,g=r._writableState,w=g||p;p&&(p.constructed=!0),g&&(g.constructed=!0),w.destroyed?r.emit(kxt,a):a?ECe(r,a,!0):g3.nextTick(Evn,r)}try{r._construct(a=>{g3.nextTick(l,a)})}catch(a){g3.nextTick(l,a)}}function Evn(r){r.emit(SCe)}function Pkt(r){return(r==null?void 0:r.setHeader)&&typeof r.abort=="function"}function xxt(r){r.emit("close")}function Tvn(r,o){r.emit("error",o),g3.nextTick(xxt,r)}function Ivn(r,o){!r||wvn(r)||(!o&&!mvn(r)&&(o=new gvn),vvn(r)?(r.socket=null,r.destroy(o)):Pkt(r)?r.abort():Pkt(r.req)?r.req.abort():typeof r.destroy=="function"?r.destroy(o):typeof r.close=="function"?r.close():o?g3.nextTick(Tvn,r,o):g3.nextTick(xxt,r),r.destroyed||(r[bvn]=!0))}var B_={construct:Svn,destroyer:Ivn,destroy:yvn,undestroy:Cvn,errorOrDestroy:ECe};const{ArrayIsArray:Mvn,ObjectSetPrototypeOf:Ext}=qa,{EventEmitter:Zre}=D_;function eie(r){Zre.call(this,r)}Ext(eie.prototype,Zre.prototype);Ext(eie,Zre);eie.prototype.pipe=function(r,o){const l=this;function a(I){r.writable&&r.write(I)===!1&&l.pause&&l.pause()}l.on("data",a);function p(){l.readable&&l.resume&&l.resume()}r.on("drain",p),!r._isStdio&&(!o||o.end!==!1)&&(l.on("end",w),l.on("close",y));let g=!1;function w(){g||(g=!0,r.end())}function y(){g||(g=!0,typeof r.destroy=="function"&&r.destroy())}function S(I){E(),Zre.listenerCount(this,"error")===0&&this.emit("error",I)}TCe(l,"error",S),TCe(r,"error",S);function E(){l.removeListener("data",a),r.removeListener("drain",p),l.removeListener("end",w),l.removeListener("close",y),l.removeListener("error",S),r.removeListener("error",S),l.removeListener("end",E),l.removeListener("close",E),r.removeListener("close",E)}return l.on("end",E),l.on("close",E),r.on("close",E),r.emit("pipe",l),r};function TCe(r,o,l){if(typeof r.prependListener=="function")return r.prependListener(o,l);!r._events||!r._events[o]?r.on(o,l):Mvn(r._events[o])?r._events[o].unshift(l):r._events[o]=[l,r._events[o]]}var d9e={Stream:eie,prependListener:TCe},Txt={exports:{}};(function(r){const{SymbolDispose:o}=qa,{AbortError:l,codes:a}=Yg,{isNodeStream:p,isWebStream:g,kControllerErrorFunction:w}=i5,y=U7,{ERR_INVALID_ARG_TYPE:S}=a;let E;const I=(P,_)=>{if(typeof P!="object"||!("aborted"in P))throw new S(_,"AbortSignal",P)};r.exports.addAbortSignal=function(_,R){if(I(_,"signal"),!p(R)&&!g(R))throw new S("stream",["ReadableStream","WritableStream","Stream"],R);return r.exports.addAbortSignalNoValidate(_,R)},r.exports.addAbortSignalNoValidate=function(P,_){if(typeof P!="object"||!("aborted"in P))return _;const R=p(_)?()=>{_.destroy(new l(void 0,{cause:P.reason}))}:()=>{_[w](new l(void 0,{cause:P.reason}))};if(P.aborted)R();else{E=E||Np.addAbortListener;const $=E(P,R);y(_,$[o])}return _}})(Txt);var tie=Txt.exports;const{StringPrototypeSlice:Okt,SymbolIterator:Pvn,TypedArrayPrototypeSet:Fte,Uint8Array:Ovn}=qa,{Buffer:q8e}=um,{inspect:_vn}=Np;var Rvn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(o){const l={data:o,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length}unshift(o){const l={data:o,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length}shift(){if(this.length===0)return;const o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}clear(){this.head=this.tail=null,this.length=0}join(o){if(this.length===0)return"";let l=this.head,a=""+l.data;for(;(l=l.next)!==null;)a+=o+l.data;return a}concat(o){if(this.length===0)return q8e.alloc(0);const l=q8e.allocUnsafe(o>>>0);let a=this.head,p=0;for(;a;)Fte(l,a.data,p),p+=a.data.length,a=a.next;return l}consume(o,l){const a=this.head.data;if(og.length)l+=g,o-=g.length;else{o===g.length?(l+=g,++p,a.next?this.head=a.next:this.head=this.tail=null):(l+=Okt(g,0,o),this.head=a,a.data=Okt(g,o));break}++p}while((a=a.next)!==null);return this.length-=p,l}_getBuffer(o){const l=q8e.allocUnsafe(o),a=o;let p=this.head,g=0;do{const w=p.data;if(o>w.length)Fte(l,w,a-o),o-=w.length;else{o===w.length?(Fte(l,w,a-o),++g,p.next?this.head=p.next:this.head=this.tail=null):(Fte(l,new Ovn(w.buffer,w.byteOffset,o),a-o),this.head=p,p.data=w.slice(o));break}++g}while((p=p.next)!==null);return this.length-=g,l}[Symbol.for("nodejs.util.inspect.custom")](o,l){return _vn(this,{...l,depth:0,customInspect:!1})}};const{MathFloor:Avn,NumberIsInteger:Lvn}=qa,{validateInteger:jvn}=mH,{ERR_INVALID_ARG_VALUE:$vn}=Yg.codes;let Ixt=16*1024,Mxt=16;function Dvn(r,o,l){return r.highWaterMark!=null?r.highWaterMark:o?r[l]:null}function Pxt(r){return r?Mxt:Ixt}function Nvn(r,o){jvn(o,"value",0),r?Mxt=o:Ixt=o}function Bvn(r,o,l,a){const p=Dvn(o,a,l);if(p!=null){if(!Lvn(p)||p<0){const g=a?`options.${l}`:"options.highWaterMark";throw new $vn(g,p)}return Avn(p)}return Pxt(r.objectMode)}var nie={getHighWaterMark:Bvn,getDefaultHighWaterMark:Pxt,setDefaultHighWaterMark:Nvn},Qne={},ICe={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(r,o){var l=um,a=l.Buffer;function p(w,y){for(var S in w)y[S]=w[S]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=l:(p(l,o),o.Buffer=g);function g(w,y,S){return a(w,y,S)}g.prototype=Object.create(a.prototype),p(a,g),g.from=function(w,y,S){if(typeof w=="number")throw new TypeError("Argument must not be a number");return a(w,y,S)},g.alloc=function(w,y,S){if(typeof w!="number")throw new TypeError("Argument must be a number");var E=a(w);return y!==void 0?typeof S=="string"?E.fill(y,S):E.fill(y):E.fill(0),E},g.allocUnsafe=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return a(w)},g.allocUnsafeSlow=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return l.SlowBuffer(w)}})(ICe,ICe.exports);var Fvn=ICe.exports,h9e=Fvn.Buffer,_kt=h9e.isEncoding||function(r){switch(r=""+r,r&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zvn(r){if(!r)return"utf8";for(var o;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(o)return;r=(""+r).toLowerCase(),o=!0}}function Hvn(r){var o=zvn(r);if(typeof o!="string"&&(h9e.isEncoding===_kt||!_kt(r)))throw new Error("Unknown encoding: "+r);return o||r}Qne.StringDecoder=vH;function vH(r){this.encoding=Hvn(r);var o;switch(this.encoding){case"utf16le":this.text=qvn,this.end=Xvn,o=4;break;case"utf8":this.fillLast=Gvn,o=4;break;case"base64":this.text=Yvn,this.end=Jvn,o=3;break;default:this.write=Qvn,this.end=Zvn;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=h9e.allocUnsafe(o)}vH.prototype.write=function(r){if(r.length===0)return"";var o,l;if(this.lastNeed){if(o=this.fillLast(r),o===void 0)return"";l=this.lastNeed,this.lastNeed=0}else l=0;return l>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function Kvn(r,o,l){var a=o.length-1;if(a=0?(p>0&&(r.lastNeed=p-1),p):--a=0?(p>0&&(r.lastNeed=p-2),p):--a=0?(p>0&&(p===2?p=0:r.lastNeed=p-3),p):0))}function Uvn(r,o,l){if((o[0]&192)!==128)return r.lastNeed=0,"�";if(r.lastNeed>1&&o.length>1){if((o[1]&192)!==128)return r.lastNeed=1,"�";if(r.lastNeed>2&&o.length>2&&(o[2]&192)!==128)return r.lastNeed=2,"�"}}function Gvn(r){var o=this.lastTotal-this.lastNeed,l=Uvn(this,r);if(l!==void 0)return l;if(this.lastNeed<=r.length)return r.copy(this.lastChar,o,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,o,0,r.length),this.lastNeed-=r.length}function Wvn(r,o){var l=Kvn(this,r,o);if(!this.lastNeed)return r.toString("utf8",o);this.lastTotal=l;var a=r.length-(l-this.lastNeed);return r.copy(this.lastChar,0,a),r.toString("utf8",o,a)}function Vvn(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+"�":o}function qvn(r,o){if((r.length-o)%2===0){var l=r.toString("utf16le",o);if(l){var a=l.charCodeAt(l.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],l.slice(0,-1)}return l}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",o,r.length-1)}function Xvn(r){var o=r&&r.length?this.write(r):"";if(this.lastNeed){var l=this.lastTotal-this.lastNeed;return o+this.lastChar.toString("utf16le",0,l)}return o}function Yvn(r,o){var l=(r.length-o)%3;return l===0?r.toString("base64",o):(this.lastNeed=3-l,this.lastTotal=3,l===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",o,r.length-l))}function Jvn(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+this.lastChar.toString("base64",0,3-this.lastNeed):o}function Qvn(r){return r.toString(this.encoding)}function Zvn(r){return r&&r.length?this.write(r):""}const Rkt=K7,{PromisePrototypeThen:eyn,SymbolAsyncIterator:Akt,SymbolIterator:Lkt}=qa,{Buffer:tyn}=um,{ERR_INVALID_ARG_TYPE:nyn,ERR_STREAM_NULL_VALUES:ryn}=Yg.codes;function iyn(r,o,l){let a;if(typeof o=="string"||o instanceof tyn)return new r({objectMode:!0,...l,read(){this.push(o),this.push(null)}});let p;if(o&&o[Akt])p=!0,a=o[Akt]();else if(o&&o[Lkt])p=!1,a=o[Lkt]();else throw new nyn("iterable",["Iterable"],o);const g=new r({objectMode:!0,highWaterMark:1,...l});let w=!1;g._read=function(){w||(w=!0,S())},g._destroy=function(E,I){eyn(y(E),()=>Rkt.nextTick(I,E),P=>Rkt.nextTick(I,P||E))};async function y(E){const I=E!=null,P=typeof a.throw=="function";if(I&&P){const{value:_,done:R}=await a.throw(E);if(await _,R)return}if(typeof a.return=="function"){const{value:_}=await a.return();await _}}async function S(){for(;;){try{const{value:E,done:I}=p?await a.next():a.next();if(I)g.push(null);else{const P=E&&typeof E.then=="function"?await E:E;if(P===null)throw w=!1,new ryn;if(g.push(P))continue;w=!1}}catch(E){g.destroy(E)}break}}return g}var Oxt=iyn,Y8e,jkt;function rie(){if(jkt)return Y8e;jkt=1;const r=K7,{ArrayPrototypeIndexOf:o,NumberIsInteger:l,NumberIsNaN:a,NumberParseInt:p,ObjectDefineProperties:g,ObjectKeys:w,ObjectSetPrototypeOf:y,Promise:S,SafeSet:E,SymbolAsyncDispose:I,SymbolAsyncIterator:P,Symbol:_}=qa;Y8e=Ct,Ct.ReadableState=tn;const{EventEmitter:R}=D_,{Stream:$,prependListener:K}=d9e,{Buffer:q}=um,{addAbortSignal:Q}=tie,ee=U7;let J=Np.debuglog("stream",Ne=>{J=Ne});const oe=Rvn,$e=B_,{getHighWaterMark:et,getDefaultHighWaterMark:wt}=nie,{aggregateTwoErrors:bt,codes:{ERR_INVALID_ARG_TYPE:ce,ERR_METHOD_NOT_IMPLEMENTED:Be,ERR_OUT_OF_RANGE:ae,ERR_STREAM_PUSH_AFTER_EOF:xe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:U},AbortError:He}=Yg,{validateObject:yt}=mH,ft=_("kPaused"),{StringDecoder:At}=Qne,Jt=Oxt;y(Ct.prototype,$.prototype),y(Ct,$);const un=()=>{},{errorOrDestroy:kn}=$e,qt=1,on=2,Rt=4,an=8,Zn=16,kt=32,Qe=64,Xt=128,Pn=256,hr=512,ve=1024,ke=2048,Z=4096,V=8192,ie=16384,ue=32768,ge=65536,Ge=1<<17,jt=1<<18;function Lt(Ne){return{enumerable:!1,get(){return(this.state&Ne)!==0},set(Xe){Xe?this.state|=Ne:this.state&=~Ne}}}g(tn.prototype,{objectMode:Lt(qt),ended:Lt(on),endEmitted:Lt(Rt),reading:Lt(an),constructed:Lt(Zn),sync:Lt(kt),needReadable:Lt(Qe),emittedReadable:Lt(Xt),readableListening:Lt(Pn),resumeScheduled:Lt(hr),errorEmitted:Lt(ve),emitClose:Lt(ke),autoDestroy:Lt(Z),destroyed:Lt(V),closed:Lt(ie),closeEmitted:Lt(ue),multiAwaitDrain:Lt(ge),readingMore:Lt(Ge),dataEmitted:Lt(jt)});function tn(Ne,Xe,Mr){typeof Mr!="boolean"&&(Mr=Xe instanceof W6()),this.state=ke|Z|Zn|kt,Ne&&Ne.objectMode&&(this.state|=qt),Mr&&Ne&&Ne.readableObjectMode&&(this.state|=qt),this.highWaterMark=Ne?et(this,Ne,"readableHighWaterMark",Mr):wt(!1),this.buffer=new oe,this.length=0,this.pipes=[],this.flowing=null,this[ft]=null,Ne&&Ne.emitClose===!1&&(this.state&=~ke),Ne&&Ne.autoDestroy===!1&&(this.state&=~Z),this.errored=null,this.defaultEncoding=Ne&&Ne.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,Ne&&Ne.encoding&&(this.decoder=new At(Ne.encoding),this.encoding=Ne.encoding)}function Ct(Ne){if(!(this instanceof Ct))return new Ct(Ne);const Xe=this instanceof W6();this._readableState=new tn(Ne,this,Xe),Ne&&(typeof Ne.read=="function"&&(this._read=Ne.read),typeof Ne.destroy=="function"&&(this._destroy=Ne.destroy),typeof Ne.construct=="function"&&(this._construct=Ne.construct),Ne.signal&&!Xe&&Q(Ne.signal,this)),$.call(this,Ne),$e.construct(this,()=>{this._readableState.needReadable&>(this,this._readableState)})}Ct.prototype.destroy=$e.destroy,Ct.prototype._undestroy=$e.undestroy,Ct.prototype._destroy=function(Ne,Xe){Xe(Ne)},Ct.prototype[R.captureRejectionSymbol]=function(Ne){this.destroy(Ne)},Ct.prototype[I]=function(){let Ne;return this.destroyed||(Ne=this.readableEnded?null:new He,this.destroy(Ne)),new S((Xe,Mr)=>ee(this,Cr=>Cr&&Cr!==Ne?Mr(Cr):Xe(null)))},Ct.prototype.push=function(Ne,Xe){return Kn(this,Ne,Xe,!1)},Ct.prototype.unshift=function(Ne,Xe){return Kn(this,Ne,Xe,!0)};function Kn(Ne,Xe,Mr,Cr){J("readableAddChunk",Xe);const Gr=Ne._readableState;let lu;if(Gr.state&qt||(typeof Xe=="string"?(Mr=Mr||Gr.defaultEncoding,Gr.encoding!==Mr&&(Cr&&Gr.encoding?Xe=q.from(Xe,Mr).toString(Gr.encoding):(Xe=q.from(Xe,Mr),Mr=""))):Xe instanceof q?Mr="":$._isUint8Array(Xe)?(Xe=$._uint8ArrayToBuffer(Xe),Mr=""):Xe!=null&&(lu=new ce("chunk",["string","Buffer","Uint8Array"],Xe))),lu)kn(Ne,lu);else if(Xe===null)Gr.state&=~an,G(Ne,Gr);else if(Gr.state&qt||Xe&&Xe.length>0)if(Cr)if(Gr.state&Rt)kn(Ne,new U);else{if(Gr.destroyed||Gr.errored)return!1;dn(Ne,Gr,Xe,!0)}else if(Gr.ended)kn(Ne,new xe);else{if(Gr.destroyed||Gr.errored)return!1;Gr.state&=~an,Gr.decoder&&!Mr?(Xe=Gr.decoder.write(Xe),Gr.objectMode||Xe.length!==0?dn(Ne,Gr,Xe,!1):gt(Ne,Gr)):dn(Ne,Gr,Xe,!1)}else Cr||(Gr.state&=~an,gt(Ne,Gr));return!Gr.ended&&(Gr.length0?(Xe.state&ge?Xe.awaitDrainWriters.clear():Xe.awaitDrainWriters=null,Xe.dataEmitted=!0,Ne.emit("data",Mr)):(Xe.length+=Xe.objectMode?1:Mr.length,Cr?Xe.buffer.unshift(Mr):Xe.buffer.push(Mr),Xe.state&Qe&&X(Ne)),gt(Ne,Xe)}Ct.prototype.isPaused=function(){const Ne=this._readableState;return Ne[ft]===!0||Ne.flowing===!1},Ct.prototype.setEncoding=function(Ne){const Xe=new At(Ne);this._readableState.decoder=Xe,this._readableState.encoding=this._readableState.decoder.encoding;const Mr=this._readableState.buffer;let Cr="";for(const Gr of Mr)Cr+=Xe.write(Gr);return Mr.clear(),Cr!==""&&Mr.push(Cr),this._readableState.length=Cr.length,this};const Rn=1073741824;function gr(Ne){if(Ne>Rn)throw new ae("size","<= 1GiB",Ne);return Ne--,Ne|=Ne>>>1,Ne|=Ne>>>2,Ne|=Ne>>>4,Ne|=Ne>>>8,Ne|=Ne>>>16,Ne++,Ne}function de(Ne,Xe){return Ne<=0||Xe.length===0&&Xe.ended?0:Xe.state&qt?1:a(Ne)?Xe.flowing&&Xe.length?Xe.buffer.first().length:Xe.length:Ne<=Xe.length?Ne:Xe.ended?Xe.length:0}Ct.prototype.read=function(Ne){J("read",Ne),Ne===void 0?Ne=NaN:l(Ne)||(Ne=p(Ne,10));const Xe=this._readableState,Mr=Ne;if(Ne>Xe.highWaterMark&&(Xe.highWaterMark=gr(Ne)),Ne!==0&&(Xe.state&=~Xt),Ne===0&&Xe.needReadable&&((Xe.highWaterMark!==0?Xe.length>=Xe.highWaterMark:Xe.length>0)||Xe.ended))return J("read: emitReadable",Xe.length,Xe.ended),Xe.length===0&&Xe.ended?_d(this):X(this),null;if(Ne=de(Ne,Xe),Ne===0&&Xe.ended)return Xe.length===0&&_d(this),null;let Cr=(Xe.state&Qe)!==0;if(J("need readable",Cr),(Xe.length===0||Xe.length-Ne0?Gr=O3(Ne,Xe):Gr=null,Gr===null?(Xe.needReadable=Xe.length<=Xe.highWaterMark,Ne=0):(Xe.length-=Ne,Xe.multiAwaitDrain?Xe.awaitDrainWriters.clear():Xe.awaitDrainWriters=null),Xe.length===0&&(Xe.ended||(Xe.needReadable=!0),Mr!==Ne&&Xe.ended&&_d(this)),Gr!==null&&!Xe.errorEmitted&&!Xe.closeEmitted&&(Xe.dataEmitted=!0,this.emit("data",Gr)),Gr};function G(Ne,Xe){if(J("onEofChunk"),!Xe.ended){if(Xe.decoder){const Mr=Xe.decoder.end();Mr&&Mr.length&&(Xe.buffer.push(Mr),Xe.length+=Xe.objectMode?1:Mr.length)}Xe.ended=!0,Xe.sync?X(Ne):(Xe.needReadable=!1,Xe.emittedReadable=!0,De(Ne))}}function X(Ne){const Xe=Ne._readableState;J("emitReadable",Xe.needReadable,Xe.emittedReadable),Xe.needReadable=!1,Xe.emittedReadable||(J("emitReadable",Xe.flowing),Xe.emittedReadable=!0,r.nextTick(De,Ne))}function De(Ne){const Xe=Ne._readableState;J("emitReadable_",Xe.destroyed,Xe.length,Xe.ended),!Xe.destroyed&&!Xe.errored&&(Xe.length||Xe.ended)&&(Ne.emit("readable"),Xe.emittedReadable=!1),Xe.needReadable=!Xe.flowing&&!Xe.ended&&Xe.length<=Xe.highWaterMark,Fs(Ne)}function gt(Ne,Xe){!Xe.readingMore&&Xe.constructed&&(Xe.readingMore=!0,r.nextTick(Kt,Ne,Xe))}function Kt(Ne,Xe){for(;!Xe.reading&&!Xe.ended&&(Xe.length1&&Cr.pipes.includes(Ne)&&(J("false write response, pause",Cr.awaitDrainWriters.size),Cr.awaitDrainWriters.add(Ne)),Mr.pause()),mb||(mb=Ut(Mr,Ne),Ne.on("drain",mb))}Mr.on("data",dy);function dy(Qg){J("ondata");const zp=Ne.write(Qg);J("dest.write",zp),zp===!1&&$1()}function l5(Qg){if(J("onerror",Qg),Fp(),Ne.removeListener("error",l5),Ne.listenerCount("error")===0){const zp=Ne._writableState||Ne._readableState;zp&&!zp.errorEmitted?kn(Ne,Qg):Ne.emit("error",Qg)}}K(Ne,"error",l5);function R3(){Ne.removeListener("finish",c5),Fp()}Ne.once("close",R3);function c5(){J("onfinish"),Ne.removeListener("close",R3),Fp()}Ne.once("finish",c5);function Fp(){J("unpipe"),Mr.unpipe(Ne)}return Ne.emit("pipe",Mr),Ne.writableNeedDrain===!0?$1():Cr.flowing||(J("pipe resume"),Mr.resume()),Ne};function Ut(Ne,Xe){return function(){const Cr=Ne._readableState;Cr.awaitDrainWriters===Xe?(J("pipeOnDrain",1),Cr.awaitDrainWriters=null):Cr.multiAwaitDrain&&(J("pipeOnDrain",Cr.awaitDrainWriters.size),Cr.awaitDrainWriters.delete(Xe)),(!Cr.awaitDrainWriters||Cr.awaitDrainWriters.size===0)&&Ne.listenerCount("data")&&Ne.resume()}}Ct.prototype.unpipe=function(Ne){const Xe=this._readableState,Mr={hasUnpiped:!1};if(Xe.pipes.length===0)return this;if(!Ne){const Gr=Xe.pipes;Xe.pipes=[],this.pause();for(let lu=0;lu0,Cr.flowing!==!1&&this.resume()):Ne==="readable"&&!Cr.endEmitted&&!Cr.readableListening&&(Cr.readableListening=Cr.needReadable=!0,Cr.flowing=!1,Cr.emittedReadable=!1,J("on readable",Cr.length,Cr.reading),Cr.length?X(this):Cr.reading||r.nextTick(rl,this)),Mr},Ct.prototype.addListener=Ct.prototype.on,Ct.prototype.removeListener=function(Ne,Xe){const Mr=$.prototype.removeListener.call(this,Ne,Xe);return Ne==="readable"&&r.nextTick(so,this),Mr},Ct.prototype.off=Ct.prototype.removeListener,Ct.prototype.removeAllListeners=function(Ne){const Xe=$.prototype.removeAllListeners.apply(this,arguments);return(Ne==="readable"||Ne===void 0)&&r.nextTick(so,this),Xe};function so(Ne){const Xe=Ne._readableState;Xe.readableListening=Ne.listenerCount("readable")>0,Xe.resumeScheduled&&Xe[ft]===!1?Xe.flowing=!0:Ne.listenerCount("data")>0?Ne.resume():Xe.readableListening||(Xe.flowing=null)}function rl(Ne){J("readable nexttick read 0"),Ne.read(0)}Ct.prototype.resume=function(){const Ne=this._readableState;return Ne.flowing||(J("resume"),Ne.flowing=!Ne.readableListening,_o(this,Ne)),Ne[ft]=!1,this};function _o(Ne,Xe){Xe.resumeScheduled||(Xe.resumeScheduled=!0,r.nextTick(Ro,Ne,Xe))}function Ro(Ne,Xe){J("resume",Xe.reading),Xe.reading||Ne.read(0),Xe.resumeScheduled=!1,Ne.emit("resume"),Fs(Ne),Xe.flowing&&!Xe.reading&&Ne.read(0)}Ct.prototype.pause=function(){return J("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(J("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ft]=!0,this};function Fs(Ne){const Xe=Ne._readableState;for(J("flow",Xe.flowing);Xe.flowing&&Ne.read()!==null;);}Ct.prototype.wrap=function(Ne){let Xe=!1;Ne.on("data",Cr=>{!this.push(Cr)&&Ne.pause&&(Xe=!0,Ne.pause())}),Ne.on("end",()=>{this.push(null)}),Ne.on("error",Cr=>{kn(this,Cr)}),Ne.on("close",()=>{this.destroy()}),Ne.on("destroy",()=>{this.destroy()}),this._read=()=>{Xe&&Ne.resume&&(Xe=!1,Ne.resume())};const Mr=w(Ne);for(let Cr=1;Cr{Gr=Rd?bt(Gr,Rd):null,Mr(),Mr=un});try{for(;;){const Rd=Ne.destroyed?null:Ne.read();if(Rd!==null)yield Rd;else{if(Gr)throw Gr;if(Gr===null)return;await new S(Cr)}}}catch(Rd){throw Gr=bt(Gr,Rd),Gr}finally{(Gr||(Xe==null?void 0:Xe.destroyOnReturn)!==!1)&&(Gr===void 0||Ne._readableState.autoDestroy)?$e.destroyer(Ne,null):(Ne.off("readable",Cr),lu())}}g(Ct.prototype,{readable:{__proto__:null,get(){const Ne=this._readableState;return!!Ne&&Ne.readable!==!1&&!Ne.destroyed&&!Ne.errorEmitted&&!Ne.endEmitted},set(Ne){this._readableState&&(this._readableState.readable=!!Ne)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ne){this._readableState&&(this._readableState.flowing=Ne)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(Ne){this._readableState&&(this._readableState.destroyed=Ne)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),g(tn.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ft]!==!1},set(Ne){this[ft]=!!Ne}}}),Ct._fromList=O3;function O3(Ne,Xe){if(Xe.length===0)return null;let Mr;return Xe.objectMode?Mr=Xe.buffer.shift():!Ne||Ne>=Xe.length?(Xe.decoder?Mr=Xe.buffer.join(""):Xe.buffer.length===1?Mr=Xe.buffer.first():Mr=Xe.buffer.concat(Xe.length),Xe.buffer.clear()):Mr=Xe.buffer.consume(Ne,Xe.decoder),Mr}function _d(Ne){const Xe=Ne._readableState;J("endReadable",Xe.endEmitted),Xe.endEmitted||(Xe.ended=!0,r.nextTick(q7,Xe,Ne))}function q7(Ne,Xe){if(J("endReadableNT",Ne.endEmitted,Ne.length),!Ne.errored&&!Ne.closeEmitted&&!Ne.endEmitted&&Ne.length===0){if(Ne.endEmitted=!0,Xe.emit("end"),Xe.writable&&Xe.allowHalfOpen===!1)r.nextTick(rT,Xe);else if(Ne.autoDestroy){const Mr=Xe._writableState;(!Mr||Mr.autoDestroy&&(Mr.finished||Mr.writable===!1))&&Xe.destroy()}}}function rT(Ne){Ne.writable&&!Ne.writableEnded&&!Ne.destroyed&&Ne.end()}Ct.from=function(Ne,Xe){return Jt(Ct,Ne,Xe)};let j1;function X7(){return j1===void 0&&(j1={}),j1}return Ct.fromWeb=function(Ne,Xe){return X7().newStreamReadableFromReadableStream(Ne,Xe)},Ct.toWeb=function(Ne,Xe){return X7().newReadableStreamFromStreamReadable(Ne,Xe)},Ct.wrap=function(Ne,Xe){var Mr,Cr;return new Ct({objectMode:(Mr=(Cr=Ne.readableObjectMode)!==null&&Cr!==void 0?Cr:Ne.objectMode)!==null&&Mr!==void 0?Mr:!0,...Xe,destroy(Gr,lu){$e.destroyer(Ne,Gr),lu(Gr)}}).wrap(Ne)},Y8e}var J8e,$kt;function p9e(){if($kt)return J8e;$kt=1;const r=K7,{ArrayPrototypeSlice:o,Error:l,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:p,ObjectDefineProperties:g,ObjectSetPrototypeOf:w,StringPrototypeToLowerCase:y,Symbol:S,SymbolHasInstance:E}=qa;J8e=yt,yt.WritableState=U;const{EventEmitter:I}=D_,P=d9e.Stream,{Buffer:_}=um,R=B_,{addAbortSignal:$}=tie,{getHighWaterMark:K,getDefaultHighWaterMark:q}=nie,{ERR_INVALID_ARG_TYPE:Q,ERR_METHOD_NOT_IMPLEMENTED:ee,ERR_MULTIPLE_CALLBACK:J,ERR_STREAM_CANNOT_PIPE:oe,ERR_STREAM_DESTROYED:$e,ERR_STREAM_ALREADY_FINISHED:et,ERR_STREAM_NULL_VALUES:wt,ERR_STREAM_WRITE_AFTER_END:bt,ERR_UNKNOWN_ENCODING:ce}=Yg.codes,{errorOrDestroy:Be}=R;w(yt.prototype,P.prototype),w(yt,P);function ae(){}const xe=S("kOnFinished");function U(Z,V,ie){typeof ie!="boolean"&&(ie=V instanceof W6()),this.objectMode=!!(Z&&Z.objectMode),ie&&(this.objectMode=this.objectMode||!!(Z&&Z.writableObjectMode)),this.highWaterMark=Z?K(this,Z,"writableHighWaterMark",ie):q(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const ue=!!(Z&&Z.decodeStrings===!1);this.decodeStrings=!ue,this.defaultEncoding=Z&&Z.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=kn.bind(void 0,V),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,He(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!Z||Z.emitClose!==!1,this.autoDestroy=!Z||Z.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[xe]=[]}function He(Z){Z.buffered=[],Z.bufferedIndex=0,Z.allBuffers=!0,Z.allNoop=!0}U.prototype.getBuffer=function(){return o(this.buffered,this.bufferedIndex)},p(U.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function yt(Z){const V=this instanceof W6();if(!V&&!a(yt,this))return new yt(Z);this._writableState=new U(Z,this,V),Z&&(typeof Z.write=="function"&&(this._write=Z.write),typeof Z.writev=="function"&&(this._writev=Z.writev),typeof Z.destroy=="function"&&(this._destroy=Z.destroy),typeof Z.final=="function"&&(this._final=Z.final),typeof Z.construct=="function"&&(this._construct=Z.construct),Z.signal&&$(Z.signal,this)),P.call(this,Z),R.construct(this,()=>{const ie=this._writableState;ie.writing||an(this,ie),Xt(this,ie)})}p(yt,E,{__proto__:null,value:function(Z){return a(this,Z)?!0:this!==yt?!1:Z&&Z._writableState instanceof U}}),yt.prototype.pipe=function(){Be(this,new oe)};function ft(Z,V,ie,ue){const ge=Z._writableState;if(typeof ie=="function")ue=ie,ie=ge.defaultEncoding;else{if(!ie)ie=ge.defaultEncoding;else if(ie!=="buffer"&&!_.isEncoding(ie))throw new ce(ie);typeof ue!="function"&&(ue=ae)}if(V===null)throw new wt;if(!ge.objectMode)if(typeof V=="string")ge.decodeStrings!==!1&&(V=_.from(V,ie),ie="buffer");else if(V instanceof _)ie="buffer";else if(P._isUint8Array(V))V=P._uint8ArrayToBuffer(V),ie="buffer";else throw new Q("chunk",["string","Buffer","Uint8Array"],V);let Ge;return ge.ending?Ge=new bt:ge.destroyed&&(Ge=new $e("write")),Ge?(r.nextTick(ue,Ge),Be(Z,Ge,!0),Ge):(ge.pendingcb++,At(Z,ge,V,ie,ue))}yt.prototype.write=function(Z,V,ie){return ft(this,Z,V,ie)===!0},yt.prototype.cork=function(){this._writableState.corked++},yt.prototype.uncork=function(){const Z=this._writableState;Z.corked&&(Z.corked--,Z.writing||an(this,Z))},yt.prototype.setDefaultEncoding=function(V){if(typeof V=="string"&&(V=y(V)),!_.isEncoding(V))throw new ce(V);return this._writableState.defaultEncoding=V,this};function At(Z,V,ie,ue,ge){const Ge=V.objectMode?1:ie.length;V.length+=Ge;const jt=V.lengthie.bufferedIndex&&an(Z,ie),ue?ie.afterWriteTickInfo!==null&&ie.afterWriteTickInfo.cb===ge?ie.afterWriteTickInfo.count++:(ie.afterWriteTickInfo={count:1,cb:ge,stream:Z,state:ie},r.nextTick(qt,ie.afterWriteTickInfo)):on(Z,ie,1,ge))}function qt({stream:Z,state:V,count:ie,cb:ue}){return V.afterWriteTickInfo=null,on(Z,V,ie,ue)}function on(Z,V,ie,ue){for(!V.ending&&!Z.destroyed&&V.length===0&&V.needDrain&&(V.needDrain=!1,Z.emit("drain"));ie-- >0;)V.pendingcb--,ue();V.destroyed&&Rt(V),Xt(Z,V)}function Rt(Z){if(Z.writing)return;for(let ge=Z.bufferedIndex;ge1&&Z._writev){V.pendingcb-=Ge-1;const Lt=V.allNoop?ae:Ct=>{for(let Kn=jt;Kn256?(ie.splice(0,jt),V.bufferedIndex=0):V.bufferedIndex=jt}V.bufferProcessing=!1}yt.prototype._write=function(Z,V,ie){if(this._writev)this._writev([{chunk:Z,encoding:V}],ie);else throw new ee("_write()")},yt.prototype._writev=null,yt.prototype.end=function(Z,V,ie){const ue=this._writableState;typeof Z=="function"?(ie=Z,Z=null,V=null):typeof V=="function"&&(ie=V,V=null);let ge;if(Z!=null){const Ge=ft(this,Z,V);Ge instanceof l&&(ge=Ge)}return ue.corked&&(ue.corked=1,this.uncork()),ge||(!ue.errored&&!ue.ending?(ue.ending=!0,Xt(this,ue,!0),ue.ended=!0):ue.finished?ge=new et("end"):ue.destroyed&&(ge=new $e("end"))),typeof ie=="function"&&(ge||ue.finished?r.nextTick(ie,ge):ue[xe].push(ie)),this};function Zn(Z){return Z.ending&&!Z.destroyed&&Z.constructed&&Z.length===0&&!Z.errored&&Z.buffered.length===0&&!Z.finished&&!Z.writing&&!Z.errorEmitted&&!Z.closeEmitted}function kt(Z,V){let ie=!1;function ue(ge){if(ie){Be(Z,ge??J());return}if(ie=!0,V.pendingcb--,ge){const Ge=V[xe].splice(0);for(let jt=0;jt{Zn(ge)?Pn(ue,ge):ge.pendingcb--},Z,V)):Zn(V)&&(V.pendingcb++,Pn(Z,V))))}function Pn(Z,V){V.pendingcb--,V.finished=!0;const ie=V[xe].splice(0);for(let ue=0;ue{if(Rt!=null)throw new $("nully","body",Rt)},Rt=>{K(qt,Rt)});return qt=new ce({objectMode:!0,readable:!1,write:At,final(Rt){Jt(async()=>{try{await on,r.nextTick(Rt,null)}catch(an){r.nextTick(Rt,an)}})},destroy:un})}throw new $("Iterable, AsyncIterable or AsyncFunction",He,ft)}if(et(U))return xe(U.arrayBuffer());if(p(U))return oe(ce,U,{objectMode:!0,writable:!1});if(E(U==null?void 0:U.readable)&&I(U==null?void 0:U.writable))return ce.fromWeb(U);if(typeof(U==null?void 0:U.writable)=="object"||typeof(U==null?void 0:U.readable)=="object"){const ft=U!=null&&U.readable?w(U==null?void 0:U.readable)?U==null?void 0:U.readable:xe(U.readable):void 0,At=U!=null&&U.writable?y(U==null?void 0:U.writable)?U==null?void 0:U.writable:xe(U.writable):void 0;return ae({readable:ft,writable:At})}const yt=U==null?void 0:U.then;if(typeof yt=="function"){let ft;return bt(yt,U,At=>{At!=null&&ft.push(At),ft.push(null)},At=>{K(ft,At)}),ft=new ce({objectMode:!0,writable:!1,read(){}})}throw new R(He,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],U)};function Be(xe){let{promise:U,resolve:He}=J();const yt=new wt,ft=yt.signal;return{value:xe(async function*(){for(;;){const Jt=U;U=null;const{chunk:un,done:kn,cb:qt}=await Jt;if(r.nextTick(qt),kn)return;if(ft.aborted)throw new _(void 0,{cause:ft.reason});({promise:U,resolve:He}=J()),yield un}}(),{signal:ft}),write(Jt,un,kn){const qt=He;He=null,qt({chunk:Jt,done:!1,cb:kn})},final(Jt){const un=He;He=null,un({done:!0,cb:Jt})},destroy(Jt,un){yt.abort(),un(Jt)}}}function ae(xe){const U=xe.readable&&typeof xe.readable.read!="function"?Q.wrap(xe.readable):xe.readable,He=xe.writable;let yt=!!l(U),ft=!!a(He),At,Jt,un,kn,qt;function on(Rt){const an=kn;kn=null,an?an(Rt):Rt&&qt.destroy(Rt)}return qt=new ce({readableObjectMode:!!(U!=null&&U.readableObjectMode),writableObjectMode:!!(He!=null&&He.writableObjectMode),readable:yt,writable:ft}),ft&&(P(He,Rt=>{ft=!1,Rt&&K(U,Rt),on(Rt)}),qt._write=function(Rt,an,Zn){He.write(Rt,an)?Zn():At=Zn},qt._final=function(Rt){He.end(),Jt=Rt},He.on("drain",function(){if(At){const Rt=At;At=null,Rt()}}),He.on("finish",function(){if(Jt){const Rt=Jt;Jt=null,Rt()}})),yt&&(P(U,Rt=>{yt=!1,Rt&&K(U,Rt),on(Rt)}),U.on("readable",function(){if(un){const Rt=un;un=null,Rt()}}),U.on("end",function(){qt.push(null)}),qt._read=function(){for(;;){const Rt=U.read();if(Rt===null){un=qt._read;return}if(!qt.push(Rt))return}}),qt._destroy=function(Rt,an){!Rt&&kn!==null&&(Rt=new _),un=null,At=null,Jt=null,kn===null?an(Rt):(kn=an,K(He,Rt),K(U,Rt))},qt}return Q8e}var Z8e,Nkt;function W6(){if(Nkt)return Z8e;Nkt=1;const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:o,ObjectKeys:l,ObjectSetPrototypeOf:a}=qa;Z8e=w;const p=rie(),g=p9e();a(w.prototype,p.prototype),a(w,p);{const I=l(g.prototype);for(let P=0;P{if(o){r?r(o):this.destroy(o);return}l!=null&&this.push(l),this.push(null),r&&r()}):(this.push(null),r&&r())}function uyn(){this._final!==MCe&&MCe.call(this)}V6.prototype._final=MCe;V6.prototype._transform=function(r,o,l){throw new lyn("_transform()")};V6.prototype._write=function(r,o,l){const a=this._readableState,p=this._writableState,g=a.length;this._transform(r,o,(w,y)=>{if(w){l(w);return}y!=null&&this.push(y),p.ended||g===a.length||a.length{a=!0});const p=Zne(r,{readable:o,writable:l},g=>{a=!g});return{destroy:g=>{a||(a=!0,gyn.destroyer(r,g||new myn("pipe")))},cleanup:p}}function Tyn(r){return kyn(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function s7e(r){if(uE(r))return r;if(kne(r))return Iyn(r);throw new PCe("val",["Readable","Iterable","AsyncIterable"],r)}async function*Iyn(r){i7e||(i7e=rie()),yield*i7e.prototype[dyn].call(r)}async function zte(r,o,l,{end:a}){let p,g=null;const w=E=>{if(E&&(p=E),g){const I=g;g=null,I()}},y=()=>new fyn((E,I)=>{p?I(p):g=()=>{p?I(p):E()}});o.on("drain",w);const S=Zne(o,{readable:!1},w);try{o.writableNeedDrain&&await y();for await(const E of r)o.write(E)||await y();a&&(o.end(),await y()),l()}catch(E){l(p!==E?byn(p,E):E)}finally{S(),o.off("drain",w)}}async function l7e(r,o,l,{end:a}){HO(o)&&(o=o.writable);const p=o.getWriter();try{for await(const g of r)await p.ready,p.write(g).catch(()=>{});await p.ready,a&&await p.close(),l()}catch(g){try{await p.abort(g),l(g)}catch(w){l(w)}}}function Myn(...r){return jxt(r,pyn(Tyn(r)))}function jxt(r,o,l){if(r.length===1&&ayn(r[0])&&(r=r[0]),r.length<2)throw new wyn("streams");const a=new Eyn,p=a.signal,g=l==null?void 0:l.signal,w=[];Cyn(g,"options.signal");function y(){$(new yyn)}o7e=o7e||Np.addAbortListener;let S;g&&(S=o7e(g,y));let E,I;const P=[];let _=0;function R(ee){$(ee,--_===0)}function $(ee,J){var oe;if(ee&&(!E||E.code==="ERR_STREAM_PREMATURE_CLOSE")&&(E=ee),!(!E&&!J)){for(;P.length;)P.shift()(E);(oe=S)===null||oe===void 0||oe[hyn](),a.abort(),J&&(E||w.forEach($e=>$e()),wF.nextTick(o,E,I))}}let K;for(let ee=0;ee0,et=oe||(l==null?void 0:l.end)!==!1,wt=ee===r.length-1;if(Fkt(J)){let bt=function(ce){ce&&ce.name!=="AbortError"&&ce.code!=="ERR_STREAM_PREMATURE_CLOSE"&&R(ce)};if(et){const{destroy:ce,cleanup:Be}=zkt(J,oe,$e);P.push(ce),t7e(J)&&wt&&w.push(Be)}J.on("error",bt),t7e(J)&&wt&&w.push(()=>{J.removeListener("error",bt)})}if(ee===0)if(typeof J=="function"){if(K=J({signal:p}),!uE(K))throw new e7e("Iterable, AsyncIterable or Stream","source",K)}else uE(J)||kne(J)||HO(J)?K=J:K=Bkt.from(J);else if(typeof J=="function"){if(HO(K)){var q;K=s7e((q=K)===null||q===void 0?void 0:q.readable)}else K=s7e(K);if(K=J(K,{signal:p}),oe){if(!uE(K,!0))throw new e7e("AsyncIterable",`transform[${ee-1}]`,K)}else{var Q;r7e||(r7e=Lxt);const bt=new r7e({objectMode:!0}),ce=(Q=K)===null||Q===void 0?void 0:Q.then;if(typeof ce=="function")_++,ce.call(K,xe=>{I=xe,xe!=null&&bt.write(xe),et&&bt.end(),wF.nextTick(R)},xe=>{bt.destroy(xe),wF.nextTick(R,xe)});else if(uE(K,!0))_++,zte(K,bt,R,{end:et});else if(n7e(K)||HO(K)){const xe=K.readable||K;_++,zte(xe,bt,R,{end:et})}else throw new e7e("AsyncIterable or Promise","destination",K);K=bt;const{destroy:Be,cleanup:ae}=zkt(K,!1,!0);P.push(Be),wt&&w.push(ae)}}else if(Fkt(J)){if(kne(K)){_+=2;const bt=Pyn(K,J,R,{end:et});t7e(J)&&wt&&w.push(bt)}else if(HO(K)||n7e(K)){const bt=K.readable||K;_++,zte(bt,J,R,{end:et})}else if(uE(K))_++,zte(K,J,R,{end:et});else throw new PCe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],K);K=J}else if(Syn(J)){if(kne(K))_++,l7e(s7e(K),J,R,{end:et});else if(n7e(K)||uE(K))_++,l7e(K,J,R,{end:et});else if(HO(K))_++,l7e(K.readable,J,R,{end:et});else throw new PCe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],K);K=J}else K=Bkt.from(J)}return(p!=null&&p.aborted||g!=null&&g.aborted)&&wF.nextTick(y),K}function Pyn(r,o,l,{end:a}){let p=!1;if(o.on("close",()=>{p||l(new vyn)}),r.pipe(o,{end:!1}),a){let g=function(){p=!0,o.end()};xyn(r)?wF.nextTick(g):r.once("end",g)}else l();return Zne(r,{readable:!0,writable:!1},g=>{const w=r._readableState;g&&g.code==="ERR_STREAM_PREMATURE_CLOSE"&&w&&w.ended&&!w.errored&&!w.errorEmitted?r.once("end",l).once("error",l):l(g)}),Zne(o,{readable:!1,writable:!0},l)}var w9e={pipelineImpl:jxt,pipeline:Myn};const{pipeline:Oyn}=w9e,Hte=W6(),{destroyer:_yn}=B_,{isNodeStream:Kte,isReadable:Hkt,isWritable:Kkt,isWebStream:c7e,isTransformStream:nE,isWritableStream:Ukt,isReadableStream:Gkt}=i5,{AbortError:Ryn,codes:{ERR_INVALID_ARG_VALUE:Wkt,ERR_MISSING_ARGS:Ayn}}=Yg,Lyn=U7;var $xt=function(...o){if(o.length===0)throw new Ayn("streams");if(o.length===1)return Hte.from(o[0]);const l=[...o];if(typeof o[0]=="function"&&(o[0]=Hte.from(o[0])),typeof o[o.length-1]=="function"){const R=o.length-1;o[R]=Hte.from(o[R])}for(let R=0;R0&&!(Kkt(o[R])||Ukt(o[R])||nE(o[R])))throw new Wkt(`streams[${R}]`,l[R],"must be writable")}let a,p,g,w,y;function S(R){const $=w;w=null,$?$(R):R?y.destroy(R):!_&&!P&&y.destroy()}const E=o[0],I=Oyn(o,S),P=!!(Kkt(E)||Ukt(E)||nE(E)),_=!!(Hkt(I)||Gkt(I)||nE(I));if(y=new Hte({writableObjectMode:!!(E!=null&&E.writableObjectMode),readableObjectMode:!!(I!=null&&I.readableObjectMode),writable:P,readable:_}),P){if(Kte(E))y._write=function($,K,q){E.write($,K)?q():a=q},y._final=function($){E.end(),p=$},E.on("drain",function(){if(a){const $=a;a=null,$()}});else if(c7e(E)){const K=(nE(E)?E.writable:E).getWriter();y._write=async function(q,Q,ee){try{await K.ready,K.write(q).catch(()=>{}),ee()}catch(J){ee(J)}},y._final=async function(q){try{await K.ready,K.close().catch(()=>{}),p=q}catch(Q){q(Q)}}}const R=nE(I)?I.readable:I;Lyn(R,()=>{if(p){const $=p;p=null,$()}})}if(_){if(Kte(I))I.on("readable",function(){if(g){const R=g;g=null,R()}}),I.on("end",function(){y.push(null)}),y._read=function(){for(;;){const R=I.read();if(R===null){g=y._read;return}if(!y.push(R))return}};else if(c7e(I)){const $=(nE(I)?I.readable:I).getReader();y._read=async function(){for(;;)try{const{value:K,done:q}=await $.read();if(!y.push(K))return;if(q){y.push(null);return}}catch{return}}}}return y._destroy=function(R,$){!R&&w!==null&&(R=new Ryn),g=null,a=null,p=null,w===null?$(R):(w=$,Kte(I)&&_yn(I,R))},y};const jyn=globalThis.AbortController||kz().AbortController,{codes:{ERR_INVALID_ARG_VALUE:$yn,ERR_INVALID_ARG_TYPE:yH,ERR_MISSING_ARGS:Dyn,ERR_OUT_OF_RANGE:Nyn},AbortError:v3}=Yg,{validateAbortSignal:WE,validateInteger:Vkt,validateObject:VE}=mH,Byn=qa.Symbol("kWeak"),Fyn=qa.Symbol("kResistStopPropagation"),{finished:zyn}=U7,Hyn=$xt,{addAbortSignalNoValidate:Kyn}=tie,{isWritable:Uyn,isNodeStream:Gyn}=i5,{deprecate:Wyn}=Np,{ArrayPrototypePush:Vyn,Boolean:qyn,MathFloor:qkt,Number:Xyn,NumberIsNaN:Yyn,Promise:Xkt,PromiseReject:Ykt,PromiseResolve:Jyn,PromisePrototypeThen:Jkt,Symbol:Dxt}=qa,ere=Dxt("kEmpty"),Qkt=Dxt("kEof");function Qyn(r,o){if(o!=null&&VE(o,"options"),(o==null?void 0:o.signal)!=null&&WE(o.signal,"options.signal"),Gyn(r)&&!Uyn(r))throw new $yn("stream",r,"must be writable");const l=Hyn(this,r);return o!=null&&o.signal&&Kyn(o.signal,l),l}function iie(r,o){if(typeof r!="function")throw new yH("fn",["Function","AsyncFunction"],r);o!=null&&VE(o,"options"),(o==null?void 0:o.signal)!=null&&WE(o.signal,"options.signal");let l=1;(o==null?void 0:o.concurrency)!=null&&(l=qkt(o.concurrency));let a=l-1;return(o==null?void 0:o.highWaterMark)!=null&&(a=qkt(o.highWaterMark)),Vkt(l,"options.concurrency",1),Vkt(a,"options.highWaterMark",0),a+=l,(async function*(){const g=Np.AbortSignalAny([o==null?void 0:o.signal].filter(qyn)),w=this,y=[],S={signal:g};let E,I,P=!1,_=0;function R(){P=!0,$()}function $(){_-=1,K()}function K(){I&&!P&&_=a||_>=l)&&await new Xkt(ee=>{I=ee})}y.push(Qkt)}catch(Q){const ee=Ykt(Q);Jkt(ee,$,R),y.push(ee)}finally{P=!0,E&&(E(),E=null)}}q();try{for(;;){for(;y.length>0;){const Q=await y[0];if(Q===Qkt)return;if(g.aborted)throw new v3;Q!==ere&&(yield Q),y.shift(),K()}await new Xkt(Q=>{E=Q})}}finally{P=!0,I&&(I(),I=null)}}).call(this)}function Zyn(r=void 0){return r!=null&&VE(r,"options"),(r==null?void 0:r.signal)!=null&&WE(r.signal,"options.signal"),(async function*(){let l=0;for await(const p of this){var a;if(r!=null&&(a=r.signal)!==null&&a!==void 0&&a.aborted)throw new v3({cause:r.signal.reason});yield[l++,p]}}).call(this)}async function Nxt(r,o=void 0){for await(const l of m9e.call(this,r,o))return!0;return!1}async function e2n(r,o=void 0){if(typeof r!="function")throw new yH("fn",["Function","AsyncFunction"],r);return!await Nxt.call(this,async(...l)=>!await r(...l),o)}async function t2n(r,o){for await(const l of m9e.call(this,r,o))return l}async function n2n(r,o){if(typeof r!="function")throw new yH("fn",["Function","AsyncFunction"],r);async function l(a,p){return await r(a,p),ere}for await(const a of iie.call(this,l,o));}function m9e(r,o){if(typeof r!="function")throw new yH("fn",["Function","AsyncFunction"],r);async function l(a,p){return await r(a,p)?a:ere}return iie.call(this,l,o)}class r2n extends Dyn{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function i2n(r,o,l){var a;if(typeof r!="function")throw new yH("reducer",["Function","AsyncFunction"],r);l!=null&&VE(l,"options"),(l==null?void 0:l.signal)!=null&&WE(l.signal,"options.signal");let p=arguments.length>1;if(l!=null&&(a=l.signal)!==null&&a!==void 0&&a.aborted){const E=new v3(void 0,{cause:l.signal.reason});throw this.once("error",()=>{}),await zyn(this.destroy(E)),E}const g=new jyn,w=g.signal;if(l!=null&&l.signal){const E={once:!0,[Byn]:this,[Fyn]:!0};l.signal.addEventListener("abort",()=>g.abort(),E)}let y=!1;try{for await(const E of this){var S;if(y=!0,l!=null&&(S=l.signal)!==null&&S!==void 0&&S.aborted)throw new v3;p?o=await r(o,E,{signal:w}):(o=E,p=!0)}if(!y&&!p)throw new r2n}finally{g.abort()}return o}async function o2n(r){r!=null&&VE(r,"options"),(r==null?void 0:r.signal)!=null&&WE(r.signal,"options.signal");const o=[];for await(const a of this){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new v3(void 0,{cause:r.signal.reason});Vyn(o,a)}return o}function s2n(r,o){const l=iie.call(this,r,o);return(async function*(){for await(const p of l)yield*p}).call(this)}function Bxt(r){if(r=Xyn(r),Yyn(r))return 0;if(r<0)throw new Nyn("number",">= 0",r);return r}function l2n(r,o=void 0){return o!=null&&VE(o,"options"),(o==null?void 0:o.signal)!=null&&WE(o.signal,"options.signal"),r=Bxt(r),(async function*(){var a;if(o!=null&&(a=o.signal)!==null&&a!==void 0&&a.aborted)throw new v3;for await(const g of this){var p;if(o!=null&&(p=o.signal)!==null&&p!==void 0&&p.aborted)throw new v3;r--<=0&&(yield g)}}).call(this)}function c2n(r,o=void 0){return o!=null&&VE(o,"options"),(o==null?void 0:o.signal)!=null&&WE(o.signal,"options.signal"),r=Bxt(r),(async function*(){var a;if(o!=null&&(a=o.signal)!==null&&a!==void 0&&a.aborted)throw new v3;for await(const g of this){var p;if(o!=null&&(p=o.signal)!==null&&p!==void 0&&p.aborted)throw new v3;if(r-- >0&&(yield g),r<=0)return}}).call(this)}l9e.streamReturningOperators={asIndexedPairs:Wyn(Zyn,"readable.asIndexedPairs will be removed in a future version."),drop:l2n,filter:m9e,flatMap:s2n,map:iie,take:c2n,compose:Qyn};l9e.promiseReturningOperators={every:e2n,forEach:n2n,reduce:i2n,toArray:o2n,some:Nxt,find:t2n};var u7e,Zkt;function Fxt(){if(Zkt)return u7e;Zkt=1;const{ArrayPrototypePop:r,Promise:o}=qa,{isIterable:l,isNodeStream:a,isWebStream:p}=i5,{pipelineImpl:g}=w9e,{finished:w}=U7;zxt();function y(...S){return new o((E,I)=>{let P,_;const R=S[S.length-1];if(R&&typeof R=="object"&&!a(R)&&!l(R)&&!p(R)){const $=r(S);P=$.signal,_=$.end}g(S,($,K)=>{$?I($):E(K)},{signal:P,end:_})})}return u7e={finished:w,pipeline:y},u7e}var e8t;function zxt(){if(e8t)return U8e.exports;e8t=1;const{Buffer:r}=um,{ObjectDefineProperty:o,ObjectKeys:l,ReflectApply:a}=qa,{promisify:{custom:p}}=Np,{streamReturningOperators:g,promiseReturningOperators:w}=l9e,{codes:{ERR_ILLEGAL_CONSTRUCTOR:y}}=Yg,S=$xt,{setDefaultHighWaterMark:E,getDefaultHighWaterMark:I}=nie,{pipeline:P}=w9e,{destroyer:_}=B_,R=U7,$=Fxt(),K=i5,q=U8e.exports=d9e.Stream;q.isDestroyed=K.isDestroyed,q.isDisturbed=K.isDisturbed,q.isErrored=K.isErrored,q.isReadable=K.isReadable,q.isWritable=K.isWritable,q.Readable=rie();for(const ee of l(g)){let oe=function(...$e){if(new.target)throw y();return q.Readable.from(a(J,this,$e))};const J=g[ee];o(oe,"name",{__proto__:null,value:J.name}),o(oe,"length",{__proto__:null,value:J.length}),o(q.Readable.prototype,ee,{__proto__:null,value:oe,enumerable:!1,configurable:!0,writable:!0})}for(const ee of l(w)){let oe=function(...$e){if(new.target)throw y();return a(J,this,$e)};const J=w[ee];o(oe,"name",{__proto__:null,value:J.name}),o(oe,"length",{__proto__:null,value:J.length}),o(q.Readable.prototype,ee,{__proto__:null,value:oe,enumerable:!1,configurable:!0,writable:!0})}q.Writable=p9e(),q.Duplex=W6(),q.Transform=Rxt,q.PassThrough=Lxt,q.pipeline=P;const{addAbortSignal:Q}=tie;return q.addAbortSignal=Q,q.finished=R,q.destroy=_,q.compose=S,q.setDefaultHighWaterMark=E,q.getDefaultHighWaterMark=I,o(q,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return $}}),o(P,p,{__proto__:null,enumerable:!0,get(){return $.pipeline}}),o(R,p,{__proto__:null,enumerable:!0,get(){return $.finished}}),q.Stream=q,q._isUint8Array=function(J){return J instanceof Uint8Array},q._uint8ArrayToBuffer=function(J){return r.from(J.buffer,J.byteOffset,J.byteLength)},U8e.exports}(function(r){const o=zxt(),l=Fxt(),a=o.Readable.destroy;r.exports=o.Readable,r.exports._uint8ArrayToBuffer=o._uint8ArrayToBuffer,r.exports._isUint8Array=o._isUint8Array,r.exports.isDisturbed=o.isDisturbed,r.exports.isErrored=o.isErrored,r.exports.isReadable=o.isReadable,r.exports.Readable=o.Readable,r.exports.Writable=o.Writable,r.exports.Duplex=o.Duplex,r.exports.Transform=o.Transform,r.exports.PassThrough=o.PassThrough,r.exports.addAbortSignal=o.addAbortSignal,r.exports.finished=o.finished,r.exports.destroy=o.destroy,r.exports.destroy=a,r.exports.pipeline=o.pipeline,r.exports.compose=o.compose,Object.defineProperty(o,"promises",{configurable:!0,enumerable:!0,get(){return l}}),r.exports.Stream=o.Stream,r.exports.default=r.exports})(N9t);var u2n=N9t.exports;class a2n{constructor(o,...l){this.load=D9t(async()=>{const a=await o();return new a(...l)})}import(o,l){const a=new u2n.PassThrough({objectMode:!0});return Promise.resolve().then(async()=>{const g=(await this.load()).import(o,l);g.on("prefix",(w,y)=>{a.emit("prefix",w,y)}),g.on("error",w=>{a.emit("error",w),a.emit("end")}),g.pipe(a)}),a}}function fm(r){return class extends a2n{constructor(...o){super(r,...o)}}}const f2n=new Xne,d2n=new Xne,wb={parsers:f2n,serializers:d2n},h2n=fm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-CkGRNAr4.js");return{default:r}},__vite__mapDeps([0,1,2,3,4]))).default),kH=fm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-DaLBP2NZ.js");return{default:r}},__vite__mapDeps([5,1,2,6]))).default),p2n=fm(async()=>(await Xg(async()=>{const{default:r}=await import("./CustomRdfXmlParser-wBGJPuYp.js");return{default:r}},__vite__mapDeps([7,3]))).default),oie=fm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-C_aFKQUK.js");return{default:r}},__vite__mapDeps([8,1,2]))).default),g2n=fm(async()=>(await Xg(async()=>{const{default:r}=await import("./CustomJsonLdSerializer-CsefpH21.js");return{default:r}},__vite__mapDeps([9,1]))).default);wb.parsers.set("application/ld+json",new h2n);wb.parsers.set("application/trig",new kH);wb.parsers.set("application/n-quads",new kH);wb.parsers.set("application/n-triples",new kH);wb.parsers.set("text/n3",new kH);wb.parsers.set("text/turtle",new kH);wb.parsers.set("application/rdf+xml",new p2n);wb.serializers.set("application/ld+json",new g2n);wb.serializers.set("application/n-quads",new oie);wb.serializers.set("application/n-triples",new oie);wb.serializers.set("text/n3",new oie);wb.serializers.set("text/turtle",new oie);var OCe={exports:{}},Hxt=D_.EventEmitter;const b2n={},w2n=Object.freeze(Object.defineProperty({__proto__:null,default:b2n},Symbol.toStringTag,{value:"Module"})),sie=Ewn(w2n);var a7e,t8t;function m2n(){if(t8t)return a7e;t8t=1;function r($,K){var q=Object.keys($);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols($);K&&(Q=Q.filter(function(ee){return Object.getOwnPropertyDescriptor($,ee).enumerable})),q.push.apply(q,Q)}return q}function o($){for(var K=1;K0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(q){var Q={data:q,next:this.head};this.length===0&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(this.length!==0){var q=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,q}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(q){if(this.length===0)return"";for(var Q=this.head,ee=""+Q.data;Q=Q.next;)ee+=q+Q.data;return ee}},{key:"concat",value:function(q){if(this.length===0)return E.alloc(0);for(var Q=E.allocUnsafe(q>>>0),ee=this.head,J=0;ee;)R(ee.data,Q,J),J+=ee.data.length,ee=ee.next;return Q}},{key:"consume",value:function(q,Q){var ee;return qoe.length?oe.length:q;if($e===oe.length?J+=oe:J+=oe.slice(0,q),q-=$e,q===0){$e===oe.length?(++ee,Q.next?this.head=Q.next:this.head=this.tail=null):(this.head=Q,Q.data=oe.slice($e));break}++ee}return this.length-=ee,J}},{key:"_getBuffer",value:function(q){var Q=E.allocUnsafe(q),ee=this.head,J=1;for(ee.data.copy(Q),q-=ee.data.length;ee=ee.next;){var oe=ee.data,$e=q>oe.length?oe.length:q;if(oe.copy(Q,Q.length-q,0,$e),q-=$e,q===0){$e===oe.length?(++J,ee.next?this.head=ee.next:this.head=this.tail=null):(this.head=ee,ee.data=oe.slice($e));break}++J}return this.length-=J,Q}},{key:_,value:function(q,Q){return P(this,o(o({},Q),{},{depth:0,customInspect:!1}))}}]),$}(),a7e}function v2n(r,o){var l=this,a=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return a||p?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Kc.nextTick(_Ce,this,r)):Kc.nextTick(_Ce,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(g){!o&&g?l._writableState?l._writableState.errorEmitted?Kc.nextTick(Cne,l):(l._writableState.errorEmitted=!0,Kc.nextTick(n8t,l,g)):Kc.nextTick(n8t,l,g):o?(Kc.nextTick(Cne,l),o(g)):Kc.nextTick(Cne,l)}),this)}function n8t(r,o){_Ce(r,o),Cne(r)}function Cne(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function y2n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function _Ce(r,o){r.emit("error",o)}function k2n(r,o){var l=r._readableState,a=r._writableState;l&&l.autoDestroy||a&&a.autoDestroy?r.destroy(o):r.emit("error",o)}var Kxt={destroy:v2n,undestroy:y2n,errorOrDestroy:k2n},qE={};function C2n(r,o){r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o}var Uxt={};function dm(r,o,l){l||(l=Error);function a(g,w,y){return typeof o=="string"?o:o(g,w,y)}var p=function(g){C2n(w,g);function w(y,S,E){return g.call(this,a(y,S,E))||this}return w}(l);p.prototype.name=l.name,p.prototype.code=r,Uxt[r]=p}function r8t(r,o){if(Array.isArray(r)){var l=r.length;return r=r.map(function(a){return String(a)}),l>2?"one of ".concat(o," ").concat(r.slice(0,l-1).join(", "),", or ")+r[l-1]:l===2?"one of ".concat(o," ").concat(r[0]," or ").concat(r[1]):"of ".concat(o," ").concat(r[0])}else return"of ".concat(o," ").concat(String(r))}function S2n(r,o,l){return r.substr(0,o.length)===o}function x2n(r,o,l){return(l===void 0||l>r.length)&&(l=r.length),r.substring(l-o.length,l)===o}function E2n(r,o,l){return typeof l!="number"&&(l=0),l+o.length>r.length?!1:r.indexOf(o,l)!==-1}dm("ERR_INVALID_OPT_VALUE",function(r,o){return'The value "'+o+'" is invalid for option "'+r+'"'},TypeError);dm("ERR_INVALID_ARG_TYPE",function(r,o,l){var a;typeof o=="string"&&S2n(o,"not ")?(a="must not be",o=o.replace(/^not /,"")):a="must be";var p;if(x2n(r," argument"))p="The ".concat(r," ").concat(a," ").concat(r8t(o,"type"));else{var g=E2n(r,".")?"property":"argument";p='The "'.concat(r,'" ').concat(g," ").concat(a," ").concat(r8t(o,"type"))}return p+=". Received type ".concat(typeof l),p},TypeError);dm("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");dm("ERR_METHOD_NOT_IMPLEMENTED",function(r){return"The "+r+" method is not implemented"});dm("ERR_STREAM_PREMATURE_CLOSE","Premature close");dm("ERR_STREAM_DESTROYED",function(r){return"Cannot call "+r+" after a stream was destroyed"});dm("ERR_MULTIPLE_CALLBACK","Callback called multiple times");dm("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");dm("ERR_STREAM_WRITE_AFTER_END","write after end");dm("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);dm("ERR_UNKNOWN_ENCODING",function(r){return"Unknown encoding: "+r},TypeError);dm("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");qE.codes=Uxt;var T2n=qE.codes.ERR_INVALID_OPT_VALUE;function I2n(r,o,l){return r.highWaterMark!=null?r.highWaterMark:o?r[l]:null}function M2n(r,o,l,a){var p=I2n(o,a,l);if(p!=null){if(!(isFinite(p)&&Math.floor(p)===p)||p<0){var g=a?l:"highWaterMark";throw new T2n(g,p)}return Math.floor(p)}return r.objectMode?16:16*1024}var Gxt={getHighWaterMark:M2n},RCe={exports:{}};typeof Object.create=="function"?RCe.exports=function(o,l){l&&(o.super_=l,o.prototype=Object.create(l.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:RCe.exports=function(o,l){if(l){o.super_=l;var a=function(){};a.prototype=l.prototype,o.prototype=new a,o.prototype.constructor=o}};var CH=RCe.exports,P2n=O2n;function O2n(r,o){if(f7e("noDeprecation"))return r;var l=!1;function a(){if(!l){if(f7e("throwDeprecation"))throw new Error(o);f7e("traceDeprecation")?console.trace(o):console.warn(o),l=!0}return r.apply(this,arguments)}return a}function f7e(r){try{if(!window.localStorage)return!1}catch{return!1}var o=window.localStorage[r];return o==null?!1:String(o).toLowerCase()==="true"}var d7e,i8t;function Wxt(){if(i8t)return d7e;i8t=1,d7e=bt;function r(kt){var Qe=this;this.next=null,this.entry=null,this.finish=function(){Zn(Qe,kt)}}var o;bt.WritableState=et;var l={deprecate:P2n},a=Hxt,p=um.Buffer,g=(typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function w(kt){return p.from(kt)}function y(kt){return p.isBuffer(kt)||kt instanceof g}var S=Kxt,E=Gxt,I=E.getHighWaterMark,P=qE.codes,_=P.ERR_INVALID_ARG_TYPE,R=P.ERR_METHOD_NOT_IMPLEMENTED,$=P.ERR_MULTIPLE_CALLBACK,K=P.ERR_STREAM_CANNOT_PIPE,q=P.ERR_STREAM_DESTROYED,Q=P.ERR_STREAM_NULL_VALUES,ee=P.ERR_STREAM_WRITE_AFTER_END,J=P.ERR_UNKNOWN_ENCODING,oe=S.errorOrDestroy;CH(bt,a);function $e(){}function et(kt,Qe,Xt){o=o||k_(),kt=kt||{},typeof Xt!="boolean"&&(Xt=Qe instanceof o),this.objectMode=!!kt.objectMode,Xt&&(this.objectMode=this.objectMode||!!kt.writableObjectMode),this.highWaterMark=I(this,kt,"writableHighWaterMark",Xt),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Pn=kt.decodeStrings===!1;this.decodeStrings=!Pn,this.defaultEncoding=kt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(hr){ft(Qe,hr)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=kt.emitClose!==!1,this.autoDestroy=!!kt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}et.prototype.getBuffer=function(){for(var Qe=this.bufferedRequest,Xt=[];Qe;)Xt.push(Qe),Qe=Qe.next;return Xt},function(){try{Object.defineProperty(et.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var wt;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(wt=Function.prototype[Symbol.hasInstance],Object.defineProperty(bt,Symbol.hasInstance,{value:function(Qe){return wt.call(this,Qe)?!0:this!==bt?!1:Qe&&Qe._writableState instanceof et}})):wt=function(Qe){return Qe instanceof this};function bt(kt){o=o||k_();var Qe=this instanceof o;if(!Qe&&!wt.call(bt,this))return new bt(kt);this._writableState=new et(kt,this,Qe),this.writable=!0,kt&&(typeof kt.write=="function"&&(this._write=kt.write),typeof kt.writev=="function"&&(this._writev=kt.writev),typeof kt.destroy=="function"&&(this._destroy=kt.destroy),typeof kt.final=="function"&&(this._final=kt.final)),a.call(this)}bt.prototype.pipe=function(){oe(this,new K)};function ce(kt,Qe){var Xt=new ee;oe(kt,Xt),Kc.nextTick(Qe,Xt)}function Be(kt,Qe,Xt,Pn){var hr;return Xt===null?hr=new Q:typeof Xt!="string"&&!Qe.objectMode&&(hr=new _("chunk",["string","Buffer"],Xt)),hr?(oe(kt,hr),Kc.nextTick(Pn,hr),!1):!0}bt.prototype.write=function(kt,Qe,Xt){var Pn=this._writableState,hr=!1,ve=!Pn.objectMode&&y(kt);return ve&&!p.isBuffer(kt)&&(kt=w(kt)),typeof Qe=="function"&&(Xt=Qe,Qe=null),ve?Qe="buffer":Qe||(Qe=Pn.defaultEncoding),typeof Xt!="function"&&(Xt=$e),Pn.ending?ce(this,Xt):(ve||Be(this,Pn,kt,Xt))&&(Pn.pendingcb++,hr=xe(this,Pn,ve,kt,Qe,Xt)),hr},bt.prototype.cork=function(){this._writableState.corked++},bt.prototype.uncork=function(){var kt=this._writableState;kt.corked&&(kt.corked--,!kt.writing&&!kt.corked&&!kt.bufferProcessing&&kt.bufferedRequest&&un(this,kt))},bt.prototype.setDefaultEncoding=function(Qe){if(typeof Qe=="string"&&(Qe=Qe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Qe+"").toLowerCase())>-1))throw new J(Qe);return this._writableState.defaultEncoding=Qe,this},Object.defineProperty(bt.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ae(kt,Qe,Xt){return!kt.objectMode&&kt.decodeStrings!==!1&&typeof Qe=="string"&&(Qe=p.from(Qe,Xt)),Qe}Object.defineProperty(bt.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function xe(kt,Qe,Xt,Pn,hr,ve){if(!Xt){var ke=ae(Qe,Pn,hr);Pn!==ke&&(Xt=!0,hr="buffer",Pn=ke)}var Z=Qe.objectMode?1:Pn.length;Qe.length+=Z;var V=Qe.length0)if(typeof ke!="string"&&!ue.objectMode&&Object.getPrototypeOf(ke)!==a.prototype&&(ke=g(ke)),V)ue.endEmitted?$e(ve,new Q):ae(ve,ue,ke,!0);else if(ue.ended)$e(ve,new K);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!Z?(ke=ue.decoder.write(ke),ue.objectMode||ke.length!==0?ae(ve,ue,ke,!1):un(ve,ue)):ae(ve,ue,ke,!1)}else V||(ue.reading=!1,un(ve,ue))}return!ue.ended&&(ue.length=U?ve=U:(ve--,ve|=ve>>>1,ve|=ve>>>2,ve|=ve>>>4,ve|=ve>>>8,ve|=ve>>>16,ve++),ve}function yt(ve,ke){return ve<=0||ke.length===0&&ke.ended?0:ke.objectMode?1:ve!==ve?ke.flowing&&ke.length?ke.buffer.head.data.length:ke.length:(ve>ke.highWaterMark&&(ke.highWaterMark=He(ve)),ve<=ke.length?ve:ke.ended?ke.length:(ke.needReadable=!0,0))}ce.prototype.read=function(ve){S("read",ve),ve=parseInt(ve,10);var ke=this._readableState,Z=ve;if(ve!==0&&(ke.emittedReadable=!1),ve===0&&ke.needReadable&&((ke.highWaterMark!==0?ke.length>=ke.highWaterMark:ke.length>0)||ke.ended))return S("read: emitReadable",ke.length,ke.ended),ke.length===0&&ke.ended?Xt(this):At(this),null;if(ve=yt(ve,ke),ve===0&&ke.ended)return ke.length===0&&Xt(this),null;var V=ke.needReadable;S("need readable",V),(ke.length===0||ke.length-ve0?ie=Qe(ve,ke):ie=null,ie===null?(ke.needReadable=ke.length<=ke.highWaterMark,ve=0):(ke.length-=ve,ke.awaitDrain=0),ke.length===0&&(ke.ended||(ke.needReadable=!0),Z!==ve&&ke.ended&&Xt(this)),ie!==null&&this.emit("data",ie),ie};function ft(ve,ke){if(S("onEofChunk"),!ke.ended){if(ke.decoder){var Z=ke.decoder.end();Z&&Z.length&&(ke.buffer.push(Z),ke.length+=ke.objectMode?1:Z.length)}ke.ended=!0,ke.sync?At(ve):(ke.needReadable=!1,ke.emittedReadable||(ke.emittedReadable=!0,Jt(ve)))}}function At(ve){var ke=ve._readableState;S("emitReadable",ke.needReadable,ke.emittedReadable),ke.needReadable=!1,ke.emittedReadable||(S("emitReadable",ke.flowing),ke.emittedReadable=!0,Kc.nextTick(Jt,ve))}function Jt(ve){var ke=ve._readableState;S("emitReadable_",ke.destroyed,ke.length,ke.ended),!ke.destroyed&&(ke.length||ke.ended)&&(ve.emit("readable"),ke.emittedReadable=!1),ke.needReadable=!ke.flowing&&!ke.ended&&ke.length<=ke.highWaterMark,kt(ve)}function un(ve,ke){ke.readingMore||(ke.readingMore=!0,Kc.nextTick(kn,ve,ke))}function kn(ve,ke){for(;!ke.reading&&!ke.ended&&(ke.length1&&hr(V.pipes,ve)!==-1)&&!Lt&&(S("false write response, pause",V.awaitDrain),V.awaitDrain++),Z.pause())}function Kn(de){S("onerror",de),gr(),ve.removeListener("error",Kn),o(ve,"error")===0&&$e(ve,de)}wt(ve,"error",Kn);function dn(){ve.removeListener("finish",Rn),gr()}ve.once("close",dn);function Rn(){S("onfinish"),ve.removeListener("close",dn),gr()}ve.once("finish",Rn);function gr(){S("unpipe"),Z.unpipe(ve)}return ve.emit("pipe",Z),V.flowing||(S("pipe resume"),Z.resume()),ve};function qt(ve){return function(){var Z=ve._readableState;S("pipeOnDrain",Z.awaitDrain),Z.awaitDrain&&Z.awaitDrain--,Z.awaitDrain===0&&o(ve,"data")&&(Z.flowing=!0,kt(ve))}}ce.prototype.unpipe=function(ve){var ke=this._readableState,Z={hasUnpiped:!1};if(ke.pipesCount===0)return this;if(ke.pipesCount===1)return ve&&ve!==ke.pipes?this:(ve||(ve=ke.pipes),ke.pipes=null,ke.pipesCount=0,ke.flowing=!1,ve&&ve.emit("unpipe",this,Z),this);if(!ve){var V=ke.pipes,ie=ke.pipesCount;ke.pipes=null,ke.pipesCount=0,ke.flowing=!1;for(var ue=0;ue0,V.flowing!==!1&&this.resume()):ve==="readable"&&!V.endEmitted&&!V.readableListening&&(V.readableListening=V.needReadable=!0,V.flowing=!1,V.emittedReadable=!1,S("on readable",V.length,V.reading),V.length?At(this):V.reading||Kc.nextTick(Rt,this)),Z},ce.prototype.addListener=ce.prototype.on,ce.prototype.removeListener=function(ve,ke){var Z=l.prototype.removeListener.call(this,ve,ke);return ve==="readable"&&Kc.nextTick(on,this),Z},ce.prototype.removeAllListeners=function(ve){var ke=l.prototype.removeAllListeners.apply(this,arguments);return(ve==="readable"||ve===void 0)&&Kc.nextTick(on,this),ke};function on(ve){var ke=ve._readableState;ke.readableListening=ve.listenerCount("readable")>0,ke.resumeScheduled&&!ke.paused?ke.flowing=!0:ve.listenerCount("data")>0&&ve.resume()}function Rt(ve){S("readable nexttick read 0"),ve.read(0)}ce.prototype.resume=function(){var ve=this._readableState;return ve.flowing||(S("resume"),ve.flowing=!ve.readableListening,an(this,ve)),ve.paused=!1,this};function an(ve,ke){ke.resumeScheduled||(ke.resumeScheduled=!0,Kc.nextTick(Zn,ve,ke))}function Zn(ve,ke){S("resume",ke.reading),ke.reading||ve.read(0),ke.resumeScheduled=!1,ve.emit("resume"),kt(ve),ke.flowing&&!ke.reading&&ve.read(0)}ce.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function kt(ve){var ke=ve._readableState;for(S("flow",ke.flowing);ke.flowing&&ve.read()!==null;);}ce.prototype.wrap=function(ve){var ke=this,Z=this._readableState,V=!1;ve.on("end",function(){if(S("wrapped end"),Z.decoder&&!Z.ended){var ge=Z.decoder.end();ge&&ge.length&&ke.push(ge)}ke.push(null)}),ve.on("data",function(ge){if(S("wrapped data"),Z.decoder&&(ge=Z.decoder.write(ge)),!(Z.objectMode&&ge==null)&&!(!Z.objectMode&&(!ge||!ge.length))){var Ge=ke.push(ge);Ge||(V=!0,ve.pause())}});for(var ie in ve)this[ie]===void 0&&typeof ve[ie]=="function"&&(this[ie]=function(Ge){return function(){return ve[Ge].apply(ve,arguments)}}(ie));for(var ue=0;ue=ke.length?(ke.decoder?Z=ke.buffer.join(""):ke.buffer.length===1?Z=ke.buffer.first():Z=ke.buffer.concat(ke.length),ke.buffer.clear()):Z=ke.buffer.consume(ve,ke.decoder),Z}function Xt(ve){var ke=ve._readableState;S("endReadable",ke.endEmitted),ke.endEmitted||(ke.ended=!0,Kc.nextTick(Pn,ke,ve))}function Pn(ve,ke){if(S("endReadableNT",ve.endEmitted,ve.length),!ve.endEmitted&&ve.length===0&&(ve.endEmitted=!0,ke.readable=!1,ke.emit("end"),ve.autoDestroy)){var Z=ke._writableState;(!Z||Z.autoDestroy&&Z.finished)&&ke.destroy()}}typeof Symbol=="function"&&(ce.from=function(ve,ke){return oe===void 0&&(oe=j2n()),oe(ce,ve,ke)});function hr(ve,ke){for(var Z=0,V=ve.length;Z0;return V2n(w,S,E,function(I){p||(p=I),I&&g.forEach(d8t),!S&&(g.forEach(d8t),a(p))})});return o.reduce(q2n)}var J2n=Y2n;(function(r,o){o=r.exports=qxt(),o.Stream=o,o.Readable=o,o.Writable=Wxt(),o.Duplex=k_(),o.Transform=Xxt,o.PassThrough=H2n,o.finished=v9e,o.pipeline=J2n})(OCe,OCe.exports);var y9e=OCe.exports;const Q2n=I3(y9e);class Qxt{init(){this.ns=Dne}}const Z2n=new wH,e3n={apply:(r,o,l)=>r(l[0]),get:(r,o)=>r(o)};function Gn(r,{factory:o=Z2n}={}){const l=(a="")=>o.namedNode(`${r}${a.raw||a}`);return typeof Proxy>"u"?l:new Proxy(l,e3n)}const t3n=Gn("http://www.w3.org/ns/auth/acl#"),n3n=t3n,r3n=Gn("https://www.w3.org/ns/activitystreams#"),i3n=r3n,o3n=Gn("http://purl.org/ontology/bibo/"),s3n=o3n,l3n=Gn("http://creativecommons.org/ns#"),c3n=l3n,u3n=Gn("http://www.w3.org/ns/auth/cert#"),a3n=u3n,f3n=Gn("http://www.w3.org/2011/content#"),d3n=f3n,h3n=Gn("http://qudt.org/vocab/constant/"),p3n=h3n,g3n=Gn("http://www.cidoc-crm.org/cidoc-crm/"),b3n=g3n,w3n=Gn("http://www.w3.org/ns/csvw#"),m3n=w3n,v3n=Gn("http://commontag.org/ns#"),y3n=v3n,k3n=Gn("http://datashapes.org/sparql#"),C3n=k3n,S3n=Gn("http://datashapes.org/dash#"),x3n=S3n,E3n=Gn("http://dbpedia.org/ontology/"),T3n=E3n,I3n=Gn("http://purl.org/dc/elements/1.1/"),M3n=I3n,P3n=Gn("http://purl.org/dc/dcam/"),O3n=P3n,_3n=Gn("http://www.w3.org/ns/dcat#"),R3n=_3n,A3n=Gn("http://purl.org/dc/dcmitype/"),L3n=A3n,j3n=Gn("http://purl.org/dc/terms/"),$3n=j3n,D3n=Gn("http://www.ics.forth.gr/isl/CRMdig/"),N3n=D3n,B3n=Gn("http://qudt.org/vocab/discipline/"),F3n=B3n,z3n=Gn("http://usefulinc.com/ns/doap#"),H3n=z3n,K3n=Gn("http://www.w3.org/ns/dpv#"),U3n=K3n,G3n=Gn("http://www.w3.org/ns/dqv#"),W3n=G3n,V3n=Gn("http://www.linkedmodel.org/schema/dtype#"),q3n=V3n,X3n=Gn("http://www.w3.org/ns/duv#"),Y3n=X3n,J3n=Gn("http://www.w3.org/ns/earl#"),Q3n=J3n,Z3n=Gn("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#"),e4n=Z3n,t4n=Gn("http://www.w3.org/2003/12/exif/ns#"),n4n=t4n,r4n=Gn("http://xmlns.com/foaf/0.1/"),i4n=r4n,o4n=Gn("http://purl.org/vocab/frbr/core#"),s4n=o4n,l4n=Gn("http://www.opengis.net/ont/geosparql#"),c4n=l4n,u4n=Gn("http://www.opengis.net/def/function/geosparql/"),a4n=u4n,f4n=Gn("http://www.opengis.net/def/rule/geosparql/"),d4n=f4n,h4n=Gn("http://www.opengis.net/ont/gml#"),p4n=h4n,g4n=Gn("http://www.geonames.org/ontology#"),b4n=g4n,w4n=Gn("http://purl.org/goodrelations/v1#"),m4n=w4n,v4n=Gn("http://www.w3.org/2003/g/data-view#"),y4n=v4n,k4n=Gn("https://gs1.org/voc/"),C4n=k4n,S4n=Gn("http://vocab.gtfs.org/terms#"),x4n=S4n,E4n=Gn("http://www.w3.org/2011/http#"),T4n=E4n,I4n=Gn("http://www.w3.org/ns/hydra/core#"),M4n=I4n,P4n=Gn("http://www.w3.org/2002/12/cal/icaltzd#"),O4n=P4n,_4n=Gn("https://linked.art/ns/terms/"),R4n=_4n,A4n=Gn("http://www.w3.org/ns/ldp#"),L4n=A4n,j4n=Gn("http://www.w3.org/2000/10/swap/list#"),$4n=j4n,D4n=Gn("http://www.w3.org/ns/locn#"),N4n=D4n,B4n=Gn("http://www.w3.org/2000/10/swap/log#"),F4n=B4n,z4n=Gn("http://lexvo.org/ontology#"),H4n=z4n,K4n=Gn("http://w3id.org/nfdi4ing/metadata4ing#"),U4n=K4n,G4n=Gn("http://www.w3.org/ns/ma-ont#"),W4n=G4n,V4n=Gn("http://www.loc.gov/mads/rdf/v1#"),q4n=V4n,X4n=Gn("http://www.w3.org/2000/10/swap/math#"),Y4n=X4n,J4n=Gn("http://www.w3.org/ns/oa#"),Q4n=J4n,Z4n=Gn("http://ogp.me/ns#"),e6n=Z4n,t6n=Gn("http://www.w3.org/ns/solid/oidc#"),n6n=t6n,r6n=Gn("http://www.w3.org/ns/org#"),i6n=r6n,o6n=Gn("http://www.w3.org/2002/07/owl#"),s6n=o6n,l6n=Gn("http://www.w3.org/ns/pim/space#"),c6n=l6n,u6n=Gn("http://qudt.org/vocab/prefix/"),a6n=u6n,f6n=Gn("http://www.w3.org/ns/prov#"),d6n=f6n,h6n=Gn("http://purl.org/linked-data/cube#"),p6n=h6n,g6n=Gn("http://qudt.org/vocab/dimensionvector/"),b6n=g6n,w6n=Gn("http://qudt.org/vocab/quantitykind/"),m6n=w6n,v6n=Gn("http://qudt.org/schema/qudt/"),y6n=v6n,k6n=Gn("http://rdaregistry.info/Elements/u/"),C6n=k6n,S6n=Gn("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),Yv=S6n,x6n=Gn("http://www.w3.org/ns/rdfa#"),E6n=x6n,T6n=Gn("http://www.w3.org/2000/01/rdf-schema#"),I6n=T6n,M6n=Gn("http://purl.org/stuff/rev#"),P6n=M6n,O6n=Gn("https://www.ica.org/standards/RiC/ontology#"),_6n=O6n,R6n=Gn("http://www.w3.org/ns/r2rml#"),A6n=R6n,L6n=Gn("http://purl.org/rss/1.0/"),j6n=L6n,$6n=Gn("http://schema.org/"),D6n=$6n,N6n=Gn("http://www.w3.org/ns/sparql-service-description#"),B6n=N6n,F6n=Gn("http://purl.org/linked-data/sdmx#"),z6n=F6n,H6n=Gn("http://semanticweb.cs.vu.nl/2009/11/sem/"),K6n=H6n,U6n=Gn("http://www.w3.org/2000/10/swap/set#"),G6n=U6n,W6n=Gn("http://www.opengis.net/ont/sf#"),V6n=W6n,q6n=Gn("http://www.w3.org/ns/shacl#"),X6n=q6n,Y6n=Gn("http://www.w3.org/ns/shex#"),J6n=Y6n,Q6n=Gn("https://www.w3.org/ns/shacl-shacl#"),Z6n=Q6n,e5n=Gn("http://rdfs.org/sioc/ns#"),t5n=e5n,n5n=Gn("http://www.w3.org/2004/02/skos/core#"),r5n=n5n,i5n=Gn("http://www.w3.org/2008/05/skos-xl#"),o5n=i5n,s5n=Gn("http://www.w3.org/ns/solid/terms#"),l5n=s5n,c5n=Gn("http://www.w3.org/ns/sosa/"),u5n=c5n,a5n=Gn("http://qudt.org/vocab/sou/"),f5n=a5n,d5n=Gn("http://www.w3.org/ns/ssn/"),h5n=d5n,p5n=Gn("http://www.w3.org/ns/posix/stat#"),g5n=p5n,b5n=Gn("http://www.w3.org/2000/10/swap/string#"),w5n=b5n,m5n=Gn("http://www.w3.org/2006/03/test-description#"),v5n=m5n,y5n=Gn("http://www.w3.org/2006/time#"),k5n=y5n,C5n=Gn("http://qudt.org/vocab/unit/"),S5n=C5n,x5n=Gn("http://www.linkedmodel.org/schema/vaem#"),E5n=x5n,T5n=Gn("http://purl.org/vocab/vann/"),I5n=T5n,M5n=Gn("http://www.w3.org/2006/vcard/ns#"),P5n=M5n,O5n=Gn("http://rdfs.org/ns/void#"),_5n=O5n,R5n=Gn("http://www.w3.org/2003/06/sw-vocab-status/ns#"),A5n=R5n,L5n=Gn("http://www.w3.org/2007/05/powder-s#"),j5n=L5n,$5n=Gn("http://www.w3.org/2003/01/geo/wgs84_pos#"),D5n=$5n,N5n=Gn("http://www.w3.org/1999/xhtml/vocab#"),B5n=N5n,F5n=Gn("http://rdf-vocabulary.ddialliance.org/xkos#"),z5n=F5n,H5n=Gn("http://www.w3.org/2001/XMLSchema#"),$F=H5n,K5n=Gn("http://www.w3.org/2007/rif#"),U5n=K5n,G5n=Gn("http://rdf.data-vocabulary.org/#"),W5n=G5n,V5n=Gn("http://www.w3.org/2007/05/powder#"),q5n=V5n,X5n=Gn("http://www.w3.org/XML/1998/namespace/"),Y5n=X5n;function J5n(r){return"_:"+r.value}function Q5n(r,o){return[...r].map(l=>o(l)).join(` -`)+` -`}function Z5n(){return""}function Zxt(r){return"<"+r.value+">"}const ekn=/["\\\\\n\r]/,tkn=/["\\\\\n\r]/g,nkn={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function rkn(r){return nkn[r]}function ikn(r){return ekn.test(r)?r.replace(tkn,rkn):r}function okn(r){const o=ikn(r.value);return r.datatype.value==="http://www.w3.org/2001/XMLSchema#string"?'"'+o+'"':r.datatype.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"?'"'+o+'"@'+r.language:'"'+o+'"^^'+Zxt(r.datatype)}function skn(r,o){const l=o(r.subject),a=o(r.predicate),p=o(r.object),g=o(r.graph);return`${l} ${a} ${p} ${g?g+" ":""}.`}function lkn(r){return"?"+r.value}function d3(r){if(!r)return null;if(r.termType==="BlankNode")return J5n(r);if(r.termType==="DefaultGraph")return Z5n();if(r.termType==="Literal")return okn(r);if(r.termType==="NamedNode")return Zxt(r);if(r.termType==="Quad"||r.subject&&r.predicate&&r.object&&r.graph)return skn(r,d3);if(r.termType==="Variable")return lkn(r);if(r[Symbol.iterator])return Q5n(r,d3);throw new Error(`unknown termType ${r.termType}`)}class mF{constructor(o){if(this.index=new Map,o)for(const[l,a]of o)this.set(l,a)}get size(){return this.index.size}clear(){this.index.clear()}delete(o){return this.index.delete(d3(o))}*entries(){for(const[,{term:o,value:l}]of this.index)yield[o,l]}forEach(o,l){for(const a of this.entries())o.call(l,a[1],a[0],this)}get(o){const l=this.index.get(d3(o));return l&&l.value}has(o){return this.index.has(d3(o))}*keys(){for(const[,{term:o}]of this.index)yield o}set(o,l){const a=d3(o);return this.index.set(a,{term:o,value:l}),this}*values(){for(const[,{value:o}]of this.index)yield o}[Symbol.iterator](){return this.entries()[Symbol.iterator]()}}var eEt={exports:{}};const ckn=sie,ukn=/([\x00-\x20<>"{}|^`\\]|%(?![0-9A-F][0-9A-F]))/g,akn=(r,o)=>{let l=o.codePointAt(0).toString(16)+"";return l.length>4?"\\U"+l.padStart(8,"0"):"\\u"+l.padStart(4,"0")},tre=r=>r.replace(ukn,akn),k9e=/^(?:[\u0000-@[-`{-\u00bf\u00d7\u00f7\u0300-\u306f\u037e\u2000-\u200b\u200e-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].+|(?:.+?[\u0000-,\/:-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].*)|.+\.)$/,tEt=/^(?:\\|[\u0000-\/;-@[-^`{-\u00bf\u00d7\u00f7\u0300-\u306f\u037e\u2000-\u200b\u200e-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].+|(?:.+?(?:\\|[\u0000-,\/;-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff]).+)|(?:.+?(?:\\|[\u0000-,.\/;-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff])))$/,fkn=/^([Tt](rue)?|TRUE)$/,dkn=/^([Ff](alse)?|FALSE)$/,hkn="xxxxxxxx_xxxx_4xxx_yxxx_xxxxxxxxxxxx",pkn=/[xy]/g,vF=()=>{let r=Date.now();return typeof performance<"u"&&(r+=performance.now()),hkn.replace(pkn,o=>{let l=(r+Math.random()*16)%16|0;return r=Math.floor(r/16),(o==="x"?l:l&3|8).toString(16)})},uie=Symbol("prefix-cache"),gkn=/[$^*()+[\\{}|.?]/g,bkn="((?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_:0-9]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%])(?:(?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_\\-0-9\\xb7\\u{0300}-\\u{036f}\\u{203f}-\\u{2040}.:]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%])*(?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_\\-0-9\\xb7\\u{0300}-\\u{036f}\\u{203f}-\\u{2040}:]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%]))?)$";function h8t(r,o=!1){let l=[],a={};for(let p in r){let g=r[p];o&&k9e.test(p)||(a[g]=p,l.push(g.replace(gkn,"\\$&")))}return l.length?(r[uie]={_r_iris:new RegExp(`^(${l.join("|")})${bkn}`,"u"),_h_inverse:a},Object.freeze(r)):r}const nEt=(r,o)=>{let l=o[uie];if(l){let a=l._r_iris.exec(r);if(a)return l._h_inverse[a[1]]+":"+a[2]}else{let a="",p="",g=-1;for(let w in o){let y=o[w];if(r.indexOf(y)===0&&y.length>g&&!k9e.test(w)){let S=r.slice(y.length);tEt.test(S)||(p=S,a=w,g=y.length)}}if(g!==-1)return a+":"+p}return"<"+r+">"},SH=(r,o={})=>{let l=o[uie];if(l){let a=l._r_iris.exec(r);if(a)return l._h_inverse[a[1]]+":"+a[2]}else{let a="",p=-1;for(let g in o){let w=o[g];r.startsWith(w)&&w.length>p&&(a=g,p=w.length)}if(p!==-1)return a+":"+r.slice(p)}return">"+r},wkn=/^([^:]*):(.*)$/;function rEt(r,o={},l=!1){switch(r[0]){case">":return"<"+r.slice(1)+">";case"_":return r.length<=2||r[2]==="#"?new Sz()[l?"verbose":"terse"]():r;case'"':return JSON.stringify(r.slice(1));case"@":{let a=r.indexOf('"');return JSON.stringify(r.slice(a+1))+r.slice(0,a)}case"^":{let a=r.indexOf('"');return JSON.stringify(r.slice(a+1))+"^^"+rEt(r.slice(1,a),o,l)}case"*":return"";case"<":case"`":return Jo.c1(r).terse(o);default:{if(r==="a")return l?"":"a";let[,a,p]=wkn.exec(r);return l||tEt.test(p)||k9e.test(a)?"<"+o[a]+p+">":r}}}class G7{valueOf(){return this.concise()}toString(){return this.concise()}equals(o){return o?this===o||o.termType===this.termType&&o.value===this.value:!1}}Object.assign(G7.prototype,{isGraphyTerm:!0});class Id extends G7{constructor(o){super(),this.value=o}concise(o={}){return SH(this.value,o)}terse(o={},l=!1){return nEt(tre(this.value),o)}verbose(){return"<"+tre(this.value)+">"}isolate(){return{termType:"NamedNode",value:this.value}}}Object.assign(Id.prototype,{termType:"NamedNode",isNamedNode:!0});const ACe=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");ACe.isRdfTypeAlias=!0;const iEt=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),mkn=iEt.isolate(),vkn=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#first"),p8t=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"),ykn=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"),kkn=new Id("http://www.w3.org/2001/XMLSchema#date"),Ckn=new Id("http://www.w3.org/2001/XMLSchema#dateTime"),I7=new Id("http://www.w3.org/2001/XMLSchema#string");class aie extends G7{equals(o){return o?this===o||o.termType==="Literal"&&o.value===this.value&&this.datatype.equals(o.datatype)&&o.language===this.language:!1}verbose(){return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+this.datatype.verbose())}concise(o){return this.language?"@"+this.language+'"'+this.value:"^"+SH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+l)}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(aie.prototype,{datatype:I7,language:"",termType:"Literal",isLiteral:!0,isSimple:!1});class yF extends aie{constructor(o,l){super(),this.value=o,this.language=(l[0]==="@"?l.slice(1):l).toLowerCase()}verbose(){return JSON.stringify(this.value)+"@"+this.language}concise(){return"@"+this.language+'"'+this.value}terse(){return JSON.stringify(this.value)+"@"+this.language}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:mkn}}}Object.assign(yF.prototype,{datatype:iEt,isLanguaged:!0});class F_ extends aie{verbose(){return JSON.stringify(this.value)+"^^"+this.datatype.verbose()}concise(o){return"^"+SH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+"^^"+l}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(F_.prototype,{isDatatyped:!0});class Ute extends F_{constructor(o,l){super(),this.value=o,this.datatype=l}}class oEt extends G7{constructor(o){super(),this.value=o}get isSimple(){return!this.language&&!this.datatype.equals(I7)}get isLanguaged(){return!!this.language}get isDatatyped(){return I7.equals(this.datatype)}equals(o){return o?this===o||o.termType==="Literal"&&o.value===this.value&&this.datatype.equals(o.datatype)&&o.language===this.language:!1}verbose(){return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+this.datatype.verbose())}concise(o){return this.language?"@"+this.language+'"'+this.value:"^"+SH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+l)}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(oEt.prototype,{datatype:I7,language:"",termType:"Literal",isLiteral:!0});class aE extends aie{constructor(o){super(),this.value=o}verbose(){return JSON.stringify(this.value)}concise(){return'"'+this.value}terse(){return JSON.stringify(this.value)}}Object.assign(aE.prototype,{isSimple:!0});const sEt=new Id("http://www.w3.org/2001/XMLSchema#integer");class EE extends F_{static from(o){let l=new EE(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+sEt.concise(o)+'"'+this.value}terse(){return this.value.includes("e")?`"${this.value}"^^`:this.value}}Object.assign(EE.prototype,{datatype:sEt,isNumeric:!0,isInteger:!0});const xH=new Id("http://www.w3.org/2001/XMLSchema#double");class b3 extends F_{static from(o){let l=new b3(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+xH.concise(o)+'"'+this.value}terse(){return this.number.toExponential()}}Object.assign(b3.prototype,{datatype:xH,isNumeric:!0,isDouble:!0});const lEt=new Id("http://www.w3.org/2001/XMLSchema#decimal");class TE extends F_{static from(o){let l=new TE(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+lEt.concise(o)+'"'+this.value}terse(){return this.value.includes("e")?`"${this.value}"^^`:this.value+(this.value.includes(".")?"":".0")}}Object.assign(TE.prototype,{datatype:lEt,isNumeric:!0,isDecimal:!0});const cEt=new Id("http://www.w3.org/2001/XMLSchema#boolean");class a3 extends F_{static from(o){let l=new a3(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.boolean=o}concise(o={}){return"^"+cEt.concise(o)+'"'+this.value}terse(){return this.value+""}}Object.assign(a3.prototype,{datatype:cEt,isBoolean:!0});class uEt extends b3{constructor(){super(1/0),this.value="INF"}terse(o){return'"INF"^^'+xH.terse(o)}}Object.assign(uEt.prototype,{isInfinite:!0});class aEt extends b3{constructor(){super(-1/0),this.value="-INF"}terse(o){return'"-INF"^^'+xH.terse(o)}}Object.assign(aEt.prototype,{isInfinite:!0});class fEt extends b3{constructor(){super(NaN),this.value="NaN"}terse(o){return'"NaN"^^'+xH.terse(o)}}Object.assign(fEt.prototype,{isNaN:!0});function mE(r,o=!1){this.value=r,this.isAnonymous=o}mE.prototype=Object.assign(Object.create(G7.prototype),{termType:"BlankNode",isBlankNode:!0,concise(){return"_:"+this.value},terse(){return"_:"+this.value},verbose(){return"_:"+this.value},isolate(){return{termType:"BlankNode",value:this.value}}});function Sz(){}Sz.prototype=Object.assign(Object.create(mE.prototype),{isAnonymous:!0,isEphemeral:!0,concise(){return"_:#"+this.value},terse(){return"[]"},verbose(){return"_:"+this.value},isolate(){return{termType:"BlankNode",value:this.value}},equals(){return!1}});Object.defineProperty(Sz.prototype,"value",{get(){return"_"+vF()}});class dEt extends G7{constructor(o){super(),this.value=o}concise(){return"?"+this.value}terse(){throw new Error("Cannot call .terse() on 'Variable' term type")}verbose(){throw new Error("Cannot call .verbose() on 'Variable' term type")}isolate(){return{termType:"Variable",value:this.value}}}Object.assign(dEt.prototype,{termType:"Variable",isVariable:!0});function xz(){}xz.prototype=Object.assign(Object.create(G7.prototype),{value:"",termType:"DefaultGraph",isDefaultGraph:!0,concise(){return"*"},terse(){return""},verbose(){return""},isolate(){return{termType:"DefaultGraph",value:""}}});Object.assign(Object.create(G7.prototype),{value:"",termType:"NoGraph",concise(){return""},terse(){return""},verbose(){return""},isolate(){return{termType:"NoGraph",value:""}}});const nre=new xz;function Xv(r,o,l,a=nre){this.subject=r,this.predicate=o,this.object=l,this.graph=a}Object.assign(Xv.prototype,{isGraphyQuad:!0,equals(r){return r?this===r||this.object.equals(r.object)&&this.subject.equals(r.subject)&&this.predicate.equals(r.predicate)&&this.graph.equals(r.graph):!1},valueOf(){return this.verbose()},concise(r={}){return[this.subject.concise(r),this.predicate.concise(r),this.object.concise(r),this.graph.concise(r)]},terse(r){let o=this.graph.isDefaultGraph;return(o?"":this.graph.terse(r)+" { ")+this.subject.terse(r)+" "+this.predicate.terse(r)+" "+this.object.terse(r)+" ."+(o?"":" }")},verbose(){return this.subject.verbose()+" "+this.predicate.verbose()+" "+this.object.verbose()+" "+(this.graph.isDefaultGraph?"":this.graph.verbose()+" ")+"."},isolate(){return{subject:this.subject.isolate(),predicate:this.predicate.isolate(),object:this.object.isolate(),graph:this.graph.isolate()}}});let g8t={namedNode(r){return new Id(r)},blankNode(r,o){return new mE(r,o)},literal(r){return new oEt(r)},defaultGraph(){return new xz},quad(r,o,l,a){return new Xv(r,o,l,a||nre)},integer(r){return EE.from(r)},double(r){return b3.from(r)},decimal(r){return TE.from(r)},boolean(r){return new a3(r)}};const Jo=eEt.exports={concise:SH,adopt(r){let o=Object.create(r),l=!1;if(typeof r.boolean!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#boolean");o.boolean=p=>r.literal(p+"",a),l=!0}if(typeof r.double!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#double");o.double=p=>r.literal(p+"",a),l=!0}if(typeof r.decimal!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#decimal");o.decimal=p=>r.literal(p+"",a),l=!0}if(typeof r.integer!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#integer");o.integer=p=>r.literal(p+"",a),l=!0}return typeof r.simpleLiteral!="function"&&(o.simpleLiteral=a=>r.literal(a),l=!0),typeof r.languagedLiteral!="function"&&(o.languagedLiteral=(a,p)=>r.literal(a,p),l=!0),typeof r.datatypedLiteral!="function"&&(o.datatypedLiteral=(a,p)=>r.literal(a,p),l=!0),l?o:r},raw:g8t,unfiltered:{...g8t,literal(r,o){return!o||I7.equals(o)?new aE(r):typeof o=="string"?new yF(r,o):I7.equals(o)?new aE(r):new Ute(r,o)},simpleLiteral(r){return new aE(r)},languagedLiteral(r,o){return new yF(r,o)},datatypedLiteral(r,o){return I7.equals(o)?new aE(r):new Ute(r,o)}},number(r){return typeof r=="number"&&(!Number.isFinite(r)||Number.isNaN(r))?Jo.double(r):Number.isInteger(r)||typeof r=="bigint"?Jo.integer(r):Jo.decimal(r)},date(r){return Jo.literal(r.toISOString().replace(/T.+$/,"Z"),kkn)},dateTime(r){return Jo.literal(r.toISOString(),Ckn)},namedNode(r){return new Id(r)},ephemeral(){return new Sz},anonymous(){return new Sz},blankNode(r){if(r){if(typeof r=="string")return new mE(r)}else return new mE("_"+vF(),!0);throw new TypeError(`factory.blankNode(label) expects 'label' parameter to be falsy or a string; instead found: ${r}`)},literal(r,o){return!o||I7.equals(o)?new aE(r):typeof o=="string"?new yF(r,o):new Ute(r,o)},integer(r){let o=typeof r;if(o==="number"){if(Number.isFinite(r)){if(!Number.isInteger(r))throw new Error("Number is not an integer: "+r)}else throw Number.isNaN(r)?new Error("XSD integer cannot encode NaN. Try using double"):new Error("XSD integer cannot encode +/-infinity. Try using double");return new EE(r)}else if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:integer");let l=+r;if(Number.isNaN(l)||!Number.isInteger(l))throw new Error("Invalid integer string: "+r);return new EE(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:integer"):r===null?new Error("Refusing to serialize null value as xsd:integer"):new Error("XSD integer expects a number type or integer string")},double(r){let o=typeof r;if(o==="number")return Number.isFinite(r)?new b3(r):Number.isNaN(r)?new fEt:r>0?new uEt:new aEt;if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:double");let l=+r;if(Number.isNaN(l))throw new Error("Invalid decimal string: "+r);return new b3(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:double"):r===null?new Error("Refusing to serialize null value as xsd:double"):new Error("XSD double expects a number type or double string")},decimal(r){let o=typeof r;if(o==="number"){if(!Number.isFinite(r))throw Number.isNaN(r)?new Error("XSD decimal cannot encode NaN. Try using double"):new Error("XSD decimal cannot encode +/-infinity. Try using double");return new TE(r)}else if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:decimal");let l=+r;if(Number.isNaN(l))throw new Error("Invalid decimal string: "+r);return new TE(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:decimal"):r===null?new Error("Refusing to serialize null value as xsd:decimal"):new Error("XSD decimal expects a number type or decimal string")},boolean(r){let o=typeof r;if(o==="boolean")return new a3(r);if(o==="number"){if(r===1)return new a3(!0);if(r===0)return new a3(!1);throw new Error("Boolean value 'w_value' must be either a '1' or '0' if using numbers")}else if(o==="string"){if(fkn.test(r))return new a3(!0);if(dkn.test(r))return new a3(!1);throw r===""?new Error("Refusing to serialize empty string as xsd:boolean"):new Error("Invalid boolean string: "+r)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:boolean"):r===null?new Error("Refusing to serialize null value as xsd:boolean"):new Error("XSD boolean expects a boolean type or boolean string")},defaultGraph(){return new xz},variable(r){return new dEt(r)},triple(r,o,l){let a=new Error("It is strongly encouraged to use .quad() instead of .triple()");return console.warn(a.stack.replace(/^(\s*)Error:/,"$1Warning:")),new Xv(r,o,l)},quad(r,o,l,a){return new Xv(r,o,l,a||nre)},term(r,o){return typeof r=="string"?Jo.c1(r,o):Jo.from.rdfjs_term(r)},c1(r,o={}){switch(r[0]){case"^":{let l=r.indexOf('"');if(l===-1)throw new Error(`Invalid concise-term string, no content literal delimiter found: '${r}'`);let a=r.slice(1,l);return Jo.literal(r.slice(l+1),Jo.c1_node_explicit(a,o))}case"@":{let l=r.indexOf('"');if(l===-1)throw new Error(`Invalid concise-term string, no content literal delimiter found: '${r}'`);let a=r.slice(1,l);return Jo.literal(r.slice(l+1),a)}case'"':return Jo.literal(r.slice(1));default:return Jo.c1_node(r,o)}},c1_node(r,o={}){if(r==="a")return ACe;if(r==="*")return Jo.defaultGraph();if(r[0]==="_"){if(r[1]!==":")throw new Error(`Invliad concise-term string, prefixes are not allowed to start with an underscore: '${r}'`);return r[2]==="#"||r.length===2?Jo.ephemeral():Jo.blankNode(r.slice(2))}return Jo.c1_node_explicit(r,o)},c1_named_node(r,o={}){return r==="a"?ACe:Jo.c1_node_explicit(r,o)},c1_node_explicit(r,o={}){switch(r[0]){case">":return Jo.namedNode(r.slice(1));case"<":throw new Error(`Whoops! It looks like this concise-term string starts with a '<' character. Remember to use '>' if you are trying to make an absolute IRI reference. -Invalid concise-term string '${r}'`);case"`":throw new Error(`The backtick character '\`' is reserved for concise-struct key directives and should not be used in the object position. -Invalid concise-term string '${r}'`);default:return this.c1_prefixed_node(r,o)}},c1_prefixed_node(r,o={}){let l=r.indexOf(":");if(l===-1)throw new Error(`A relative or prefixed node must include a ':' character. -Invalid concise-term string for node: '${r}'`);let a=r.slice(0,l),p=r.slice(l+1);if(a in o)return Jo.namedNode(o[a]+p);throw new Error(`Prefix not defined: '${a}'`)},c1_to_nt:rEt,*quads(r,o={}){for(let l in r)yield*Jo.triples(r[l],o,l)},*triples(r,o={},l="*"){let a=Jo.c1(l,o);for(let p in r){let g=Jo.c1(p,o),w=r[p];yield*Jo.pairs(a,g,w,o)}},*pairs(r,o,l,a={}){for(let p in l){let g=Jo.c1(p,a),w=l[p];yield*Jo.objects(r,o,g,w,a)}},*collection(r,o,l,a={}){yield*Jo.objects(r,o,vkn,l[0],a);let p=l.slice(1);if(!p.length)yield new Xv(o,p8t,ykn,r);else{let g=Jo.blankNode();yield new Xv(o,p8t,g,r),yield*Jo.collection(r,g,p,a)}},*objects(r,o,l,a,p,g=!1){switch(typeof a){case"string":{yield new Xv(o,l,Jo.c1(a,p),r);break}case"number":{yield new Xv(o,l,Jo.number(a),r);break}case"object":{if(Array.isArray(a))if(g){let y=Jo.blankNode();yield new Xv(o,l,y,r),yield*Jo.collection(r,y,a,p)}else for(let y of a)yield*Jo.objects(r,o,l,y,p,!0);else{let y=Jo.blankNode();yield new Xv(o,l,y,r),yield*Jo.pairs(r,y,a,p)}break}default:throw new Error(`invalid object type: ${typeof a}`)}},from:{term(r){return r===null||r.isGraphyTerm?r:Jo.from.rdfjs_term(r)},quad(r){if(r===null||r.isGraphyQuad)return r;let o=Jo.from;return new Xv(o.rdfjs_term(r.subject),o.rdfjs_term(r.predicate),o.rdfjs_term(r.object),r.graph?o.rdfjs_term(r.graph):nre)},rdfjs_term(r){switch(r.termType){case"NamedNode":return new Id(r.value);case"BlankNode":return new mE(r.value);case"Literal":return Jo.literal(r.value,r.language?r.language:r.datatype?new Id(r.datatype.value):null);case"DefaultGraph":return new xz;default:throw new TypeError(`invalid termType: ${r.termType}`)}},sparql_result(r){switch(r.type){case"uri":return new Id(r.value);case"literal":case"typed-literal":return"xml:lang"in r?new yF(r.value,r["xml:lang"]):"datatype"in r&&r.datatype!=="http://www.w3.org/2001/XMLSchema#string"?new Ute(r.value,new Id(r.datatype)):new aE(r.value);case"bnode":return new mE(r.value);default:throw new Error(`unexpected SPARQL Result JSON Format Term type: ${r.type}`)}}},to:{boolean:r=>a3.from(r),integer:r=>EE.from(r),decimal:r=>TE.from(r),double:r=>b3.from(r)},comment(r={}){return`\`[${vF()}]${JSON.stringify({...r,type:"comment"})}`},newlines(){return`\`[${vF()}]{"type":"newlines"}`},config(r){if(typeof r!="string")throw new TypeError(`Expected 'key' argument to be a string, instead found ${typeof r}`);return`\`[${vF()}]{"type":"config","value":${JSON.stringify(r)}}`},hash(r){let o=Jo.from.quad(r),l=ckn.createHash("sha256");return l.update(o.verbose()),l.digest("hex")},cache_prefixes:h8t,cachePrefixes:h8t,terse:nEt,clean_iri:tre,cleanIri:tre,$_PREFIX_CACHE:uie};Object.assign(Jo,{c3:Jo.triples,c4:Jo.quads,fromTerm:Jo.from.term,fromQuad:Jo.from.quad});var Skn=eEt.exports;const b8t=I3(Skn),xkn={rif:"http://www.w3.org/2007/rif#",v:"http://rdf.data-vocabulary.org/#",wdr:"http://www.w3.org/2007/05/powder#",xml:"http://www.w3.org/XML/1998/namespace/"},Ekn={acl:"http://www.w3.org/ns/auth/acl#",as:"https://www.w3.org/ns/activitystreams#",bibo:"http://purl.org/ontology/bibo/",cc:"http://creativecommons.org/ns#",cert:"http://www.w3.org/ns/auth/cert#",cnt:"http://www.w3.org/2011/content#",constant:"http://qudt.org/vocab/constant/",crm:"http://www.cidoc-crm.org/cidoc-crm/",csvw:"http://www.w3.org/ns/csvw#",ctag:"http://commontag.org/ns#","dash-sparql":"http://datashapes.org/sparql#",dash:"http://datashapes.org/dash#",dbo:"http://dbpedia.org/ontology/",dc11:"http://purl.org/dc/elements/1.1/",dcam:"http://purl.org/dc/dcam/",dcat:"http://www.w3.org/ns/dcat#",dcmitype:"http://purl.org/dc/dcmitype/",dcterms:"http://purl.org/dc/terms/",dig:"http://www.ics.forth.gr/isl/CRMdig/",discipline:"http://qudt.org/vocab/discipline/",doap:"http://usefulinc.com/ns/doap#",dpv:"http://www.w3.org/ns/dpv#",dqv:"http://www.w3.org/ns/dqv#",dtype:"http://www.linkedmodel.org/schema/dtype#",duv:"http://www.w3.org/ns/duv#",earl:"http://www.w3.org/ns/earl#",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",exif:"http://www.w3.org/2003/12/exif/ns#",foaf:"http://xmlns.com/foaf/0.1/",frbr:"http://purl.org/vocab/frbr/core#",geo:"http://www.opengis.net/ont/geosparql#",geof:"http://www.opengis.net/def/function/geosparql/",geor:"http://www.opengis.net/def/rule/geosparql/",gml:"http://www.opengis.net/ont/gml#",gn:"http://www.geonames.org/ontology#",gr:"http://purl.org/goodrelations/v1#",grddl:"http://www.w3.org/2003/g/data-view#",gs1:"https://gs1.org/voc/",gtfs:"http://vocab.gtfs.org/terms#",http:"http://www.w3.org/2011/http#",hydra:"http://www.w3.org/ns/hydra/core#",ical:"http://www.w3.org/2002/12/cal/icaltzd#",la:"https://linked.art/ns/terms/",ldp:"http://www.w3.org/ns/ldp#",list:"http://www.w3.org/2000/10/swap/list#",locn:"http://www.w3.org/ns/locn#",log:"http://www.w3.org/2000/10/swap/log#",lvont:"http://lexvo.org/ontology#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",ma:"http://www.w3.org/ns/ma-ont#",mads:"http://www.loc.gov/mads/rdf/v1#",math:"http://www.w3.org/2000/10/swap/math#",oa:"http://www.w3.org/ns/oa#",og:"http://ogp.me/ns#",oidc:"http://www.w3.org/ns/solid/oidc#",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pim:"http://www.w3.org/ns/pim/space#",prefix:"http://qudt.org/vocab/prefix/",prov:"http://www.w3.org/ns/prov#",qb:"http://purl.org/linked-data/cube#",qkdv:"http://qudt.org/vocab/dimensionvector/",quantitykind:"http://qudt.org/vocab/quantitykind/",qudt:"http://qudt.org/schema/qudt/",rdau:"http://rdaregistry.info/Elements/u/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfa:"http://www.w3.org/ns/rdfa#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rev:"http://purl.org/stuff/rev#",rico:"https://www.ica.org/standards/RiC/ontology#",rr:"http://www.w3.org/ns/r2rml#",rss:"http://purl.org/rss/1.0/",schema:"http://schema.org/",sd:"http://www.w3.org/ns/sparql-service-description#",sdmx:"http://purl.org/linked-data/sdmx#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",set:"http://www.w3.org/2000/10/swap/set#",sf:"http://www.opengis.net/ont/sf#",sh:"http://www.w3.org/ns/shacl#",shex:"http://www.w3.org/ns/shex#",shsh:"http://www.w3.org/ns/shacl-shacl#",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",skosxl:"http://www.w3.org/2008/05/skos-xl#",solid:"http://www.w3.org/ns/solid/terms#",sosa:"http://www.w3.org/ns/sosa/",sou:"http://qudt.org/vocab/sou/",ssn:"http://www.w3.org/ns/ssn/",stat:"http://www.w3.org/ns/posix/stat#",string:"http://www.w3.org/2000/10/swap/string#",test:"http://www.w3.org/2006/03/test-description#",time:"http://www.w3.org/2006/time#",unit:"http://qudt.org/vocab/unit/",vaem:"http://www.linkedmodel.org/schema/vaem#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",void:"http://rdfs.org/ns/void#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",vso:"http://purl.org/vso/ns#",wdrs:"http://www.w3.org/2007/05/powder-s#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",xhv:"http://www.w3.org/1999/xhtml/vocab#",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",xsd:"http://www.w3.org/2001/XMLSchema#"},LCe={...Ekn,...xkn};function hEt(r,o={}){const l={...LCe,...o},a=Array.from(Object.entries(l)).filter(([,p])=>r.startsWith(p));if(a.length){a.sort(([,g],[,w])=>w.length-g.length);const p=a[0];return r.replace(new RegExp(`^${p[1]}`),`${p[0]}:`)}return""}class pEt{constructor(o){this.term=o}toTerm(){const o=`"""${this.term.value.replace(/"$/,'\\"')}"""`;return{terse:l=>o+this.langOrDatatype(l),verbose:l=>o+this.langOrDatatype(l)}}langOrDatatype(o){if(this.term.language)return`@${this.term.language}`;if(this.term.datatype.equals($F.string))return"";const l=hEt(this.term.datatype.value,o);return l?`^^${l}`:`^^<${this.term.datatype.value}>`}}const gEt=new Map([[pEt,r=>r.toTerm()]]);function Tkn(r){return r.has(Yv.first)&&r.has(Yv.rest)}class Ikn extends Q2n.Transform{constructor({prefixes:o={},strict:l=!1,preserveListNodeProperties:a=!1}={}){super({objectMode:!0}),this.prefixes=o,this.graphs=new mF,this.blankNodes=new mF,this.strict=l,this.preserveListNodeProperties=a}_transform({subject:o,predicate:l,object:a,graph:p},g,w){const y=this.getGraph(p),S=y.get(o)||{predicates:new mF},E=S.predicates.get(l)||[];if(S.predicates.set(l,[...E,a]),a.termType==="BlankNode"){const I=this.blankNodes.get(a)||0;this.blankNodes.set(a,I+1)}y.set(o,S),w()}_flush(){const o=[...this.graphs].reduce((l,[a,p])=>{const g=this.toHashKey(a);let w=l[g]||{};return w=[...p].reduce(this.toConciseHash(a).bind(this),w),{...l,[g]:w}},{});this.push({type:this.strict?"c4r":"c4",value:o}),this.push(null)}toConciseHash(o){return(l,[a,{predicates:p}])=>{if(!this.strict&&this.blankNodes.get(a)===1)return l;const g=this.toHashKey(a);return{...l,[g]:this.createPropertyMap(o,p)}}}createPropertyMap(o,l,a=0){const p=g=>{if(!this.strict&&this.blankNodes.get(g)===1){const w=this.graphs.get(o).get(g);if(w)return this.createPropertyMap(o,w.predicates,a+1)}return this.toHashKey(g)};if(!this.strict&&Tkn(l)&&!this.preserveListNodeProperties){const[g]=l.get(Yv.first),[w]=l.get(Yv.rest);if(a===0){let S;if(w.equals(Yv.nil))S=this.toHashKey(Yv.nil);else{const E=p(w);S=Array.isArray(E)?[...E]:[E]}return{[this.toHashKey(Yv.first)]:[p(g)],[this.toHashKey(Yv.rest)]:[S]}}if(w.equals(Yv.nil))return[p(g)];const y=p(w);return[p(g),...y]}return[...l].reduce((g,[w,y])=>{const S=this.toHashKey(w),E=y.map(p.bind(this));return{...g,[S]:E}},{})}getGraph(o){const l=this.graphs.get(o)||new mF;return this.graphs.set(o,l),l}literalHash(o){if(o.datatype&&!this.strict)switch(o.datatype.value){case $F.integer.value:{const l=+o.value;if(Number.isInteger(l))return l;break}case $F.decimal.value:{const l=+o.value;if(!Number.isNaN(l)&&!Number.isInteger(l))return l;break}case $F.boolean.value:{if(o.value==="true")return!0;if(o.value==="false")return!1;break}}return o.value.includes(` -`)?new pEt(o):b8t.fromTerm(o).concise(this.prefixes)}toHashKey(o){return o.termType==="Literal"?this.literalHash(o):o.equals(Yv.type)?"a":b8t.fromTerm(o).concise(this.prefixes)}}async function C9e(r,o={}){const l=(await r).default;return class{constructor(a={}){this.defaults=a}import(a,{preserveListNodeProperties:p,...g}={}){const w={...this.defaults.prefixes||{},...g.prefixes||{}},y=l({prefixes:w,coercions:o.coercions});return a.pipe(new Ikn({prefixes:w,strict:o.strict,preserveListNodeProperties:p})).pipe(y),y}}}const bEt=fm(()=>C9e(Xg(()=>import("./main-KIe0bCZV.js").then(r=>r.m),__vite__mapDeps([10,11,12,13])),{coercions:gEt})),Mkn=fm(()=>C9e(Xg(()=>import("./main-Bda561Bu.js").then(r=>r.m),__vite__mapDeps([14,12,13])),{strict:!0})),Pkn=fm(()=>C9e(Xg(()=>import("./main-GxnDfcg-.js").then(r=>r.m),__vite__mapDeps([15,11,12,13])),{strict:!0,coercions:gEt}));async function wEt(r){const o=(await r).default;return class{import(l,a){return l.pipe(a?o(a):o())}}}const mEt=fm(()=>wEt(Xg(()=>import("./main-BTDzwsVJ.js").then(r=>r.m),__vite__mapDeps([16,13])))),vEt=fm(()=>wEt(Xg(()=>import("./main-Dth2_RXj.js").then(r=>r.m),__vite__mapDeps([17,13])))),Okn=fm(async()=>{const r=(await Xg(async()=>{const{default:o}=await import("./index-D0g9tKlA.js");return{default:o}},__vite__mapDeps([18,1,4]))).default;return class extends r{constructor({prefixes:l={},...a}={}){super({compact:!0,skipGraphProperty:!0,encoding:"string",...a}),this.prefixes=l}import(l,{prefixes:a={}}={}){const p={...this.prefixes,...a};return super.import(l,{context:p})}}}),_kn=fm(async()=>{const r=await Xg(()=>import("./index-BwoghzZ2.js"),__vite__mapDeps([19,6]));return class{import(o,l){return new r.StreamParser({format:"text/n3"}).import(o,{...l})}}}),hm=new A9t({});hm.import(wb);const uy={jsonLd:"application/ld+json",ntriples:"application/n-triples",nquads:"application/n-quads",notation3:"text/n3",rdfXml:"application/rdf+xml",trig:"application/trig",turtle:"text/turtle"};hm.serializers.set(uy.jsonLd,new Okn);hm.serializers.set(uy.notation3,new bEt);hm.serializers.set(uy.turtle,new bEt);hm.serializers.set(uy.trig,new Pkn);hm.serializers.set(uy.rdfXml,new Mkn);hm.parsers.set(uy.notation3,new _kn);hm.parsers.set(uy.turtle,new mEt);hm.parsers.set(uy.trig,new mEt);hm.parsers.set(uy.ntriples,new vEt);hm.parsers.set(uy.nquads,new vEt);/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const Sne=globalThis,S9e=Sne.ShadowRoot&&(Sne.ShadyCSS===void 0||Sne.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,x9e=Symbol(),w8t=new WeakMap;let yEt=class{constructor(o,l,a){if(this._$cssResult$=!0,a!==x9e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=l}get styleSheet(){let o=this.o;const l=this.t;if(S9e&&o===void 0){const a=l!==void 0&&l.length===1;a&&(o=w8t.get(l)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),a&&w8t.set(l,o))}return o}toString(){return this.cssText}};const Rkn=r=>new yEt(typeof r=="string"?r:r+"",void 0,x9e),Akn=(r,...o)=>{const l=r.length===1?r[0]:o.reduce((a,p,g)=>a+(w=>{if(w._$cssResult$===!0)return w.cssText;if(typeof w=="number")return w;throw Error("Value passed to 'css' function must be a 'css' function result: "+w+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(p)+r[g+1],r[0]);return new yEt(l,r,x9e)},Lkn=(r,o)=>{if(S9e)r.adoptedStyleSheets=o.map(l=>l instanceof CSSStyleSheet?l:l.styleSheet);else for(const l of o){const a=document.createElement("style"),p=Sne.litNonce;p!==void 0&&a.setAttribute("nonce",p),a.textContent=l.cssText,r.appendChild(a)}},m8t=S9e?r=>r:r=>r instanceof CSSStyleSheet?(o=>{let l="";for(const a of o.cssRules)l+=a.cssText;return Rkn(l)})(r):r;/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const{is:jkn,defineProperty:$kn,getOwnPropertyDescriptor:Dkn,getOwnPropertyNames:Nkn,getOwnPropertySymbols:Bkn,getPrototypeOf:Fkn}=Object,M7=globalThis,v8t=M7.trustedTypes,zkn=v8t?v8t.emptyScript:"",m7e=M7.reactiveElementPolyfillSupport,DF=(r,o)=>r,jCe={toAttribute(r,o){switch(o){case Boolean:r=r?zkn:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,o){let l=r;switch(o){case Boolean:l=r!==null;break;case Number:l=r===null?null:Number(r);break;case Object:case Array:try{l=JSON.parse(r)}catch{l=null}}return l}},kEt=(r,o)=>!jkn(r,o),y8t={attribute:!0,type:String,converter:jCe,reflect:!1,hasChanged:kEt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),M7.litPropertyMetadata??(M7.litPropertyMetadata=new WeakMap);class KO extends HTMLElement{static addInitializer(o){this._$Ei(),(this.l??(this.l=[])).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,l=y8t){if(l.state&&(l.attribute=!1),this._$Ei(),this.elementProperties.set(o,l),!l.noAccessor){const a=Symbol(),p=this.getPropertyDescriptor(o,a,l);p!==void 0&&$kn(this.prototype,o,p)}}static getPropertyDescriptor(o,l,a){const{get:p,set:g}=Dkn(this.prototype,o)??{get(){return this[l]},set(w){this[l]=w}};return{get(){return p==null?void 0:p.call(this)},set(w){const y=p==null?void 0:p.call(this);g.call(this,w),this.requestUpdate(o,y,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){return this.elementProperties.get(o)??y8t}static _$Ei(){if(this.hasOwnProperty(DF("elementProperties")))return;const o=Fkn(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(DF("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(DF("properties"))){const l=this.properties,a=[...Nkn(l),...Bkn(l)];for(const p of a)this.createProperty(p,l[p])}const o=this[Symbol.metadata];if(o!==null){const l=litPropertyMetadata.get(o);if(l!==void 0)for(const[a,p]of l)this.elementProperties.set(a,p)}this._$Eh=new Map;for(const[l,a]of this.elementProperties){const p=this._$Eu(l,a);p!==void 0&&this._$Eh.set(p,l)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){const l=[];if(Array.isArray(o)){const a=new Set(o.flat(1/0).reverse());for(const p of a)l.unshift(m8t(p))}else o!==void 0&&l.push(m8t(o));return l}static _$Eu(o,l){const a=l.attribute;return a===!1?void 0:typeof a=="string"?a:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(l=>this.enableUpdating=l),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(l=>l(this))}addController(o){var l;(this._$EO??(this._$EO=new Set)).add(o),this.renderRoot!==void 0&&this.isConnected&&((l=o.hostConnected)==null||l.call(o))}removeController(o){var l;(l=this._$EO)==null||l.delete(o)}_$E_(){const o=new Map,l=this.constructor.elementProperties;for(const a of l.keys())this.hasOwnProperty(a)&&(o.set(a,this[a]),delete this[a]);o.size>0&&(this._$Ep=o)}createRenderRoot(){const o=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Lkn(o,this.constructor.elementStyles),o}connectedCallback(){var o;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(o=this._$EO)==null||o.forEach(l=>{var a;return(a=l.hostConnected)==null?void 0:a.call(l)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(l=>{var a;return(a=l.hostDisconnected)==null?void 0:a.call(l)})}attributeChangedCallback(o,l,a){this._$AK(o,a)}_$EC(o,l){var g;const a=this.constructor.elementProperties.get(o),p=this.constructor._$Eu(o,a);if(p!==void 0&&a.reflect===!0){const w=(((g=a.converter)==null?void 0:g.toAttribute)!==void 0?a.converter:jCe).toAttribute(l,a.type);this._$Em=o,w==null?this.removeAttribute(p):this.setAttribute(p,w),this._$Em=null}}_$AK(o,l){var g;const a=this.constructor,p=a._$Eh.get(o);if(p!==void 0&&this._$Em!==p){const w=a.getPropertyOptions(p),y=typeof w.converter=="function"?{fromAttribute:w.converter}:((g=w.converter)==null?void 0:g.fromAttribute)!==void 0?w.converter:jCe;this._$Em=p,this[p]=y.fromAttribute(l,w.type),this._$Em=null}}requestUpdate(o,l,a){if(o!==void 0){if(a??(a=this.constructor.getPropertyOptions(o)),!(a.hasChanged??kEt)(this[o],l))return;this.P(o,l,a)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,l,a){this._$AL.has(o)||this._$AL.set(o,l),a.reflect===!0&&this._$Em!==o&&(this._$Ej??(this._$Ej=new Set)).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(l){Promise.reject(l)}const o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[g,w]of this._$Ep)this[g]=w;this._$Ep=void 0}const p=this.constructor.elementProperties;if(p.size>0)for(const[g,w]of p)w.wrapped!==!0||this._$AL.has(g)||this[g]===void 0||this.P(g,this[g],w)}let o=!1;const l=this._$AL;try{o=this.shouldUpdate(l),o?(this.willUpdate(l),(a=this._$EO)==null||a.forEach(p=>{var g;return(g=p.hostUpdate)==null?void 0:g.call(p)}),this.update(l)):this._$EU()}catch(p){throw o=!1,this._$EU(),p}o&&this._$AE(l)}willUpdate(o){}_$AE(o){var l;(l=this._$EO)==null||l.forEach(a=>{var p;return(p=a.hostUpdated)==null?void 0:p.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(l=>this._$EC(l,this[l]))),this._$EU()}updated(o){}firstUpdated(o){}}KO.elementStyles=[],KO.shadowRootOptions={mode:"open"},KO[DF("elementProperties")]=new Map,KO[DF("finalized")]=new Map,m7e==null||m7e({ReactiveElement:KO}),(M7.reactiveElementVersions??(M7.reactiveElementVersions=[])).push("2.0.4");/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const NF=globalThis,rre=NF.trustedTypes,k8t=rre?rre.createPolicy("lit-html",{createHTML:r=>r}):void 0,CEt="$lit$",C7=`lit$${Math.random().toFixed(9).slice(2)}$`,SEt="?"+C7,Hkn=`<${SEt}>`,$E=document,Ez=()=>$E.createComment(""),Tz=r=>r===null||typeof r!="object"&&typeof r!="function",E9e=Array.isArray,Kkn=r=>E9e(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",v7e=`[ -\f\r]`,cF=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C8t=/-->/g,S8t=/>/g,rE=RegExp(`>|${v7e}(?:([^\\s"'>=/]+)(${v7e}*=${v7e}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),x8t=/'/g,E8t=/"/g,xEt=/^(?:script|style|textarea|title)$/i,Ukn=r=>(o,...l)=>({_$litType$:r,strings:o,values:l}),Gkn=Ukn(1),C_=Symbol.for("lit-noChange"),hh=Symbol.for("lit-nothing"),T8t=new WeakMap,vE=$E.createTreeWalker($E,129);function EEt(r,o){if(!E9e(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return k8t!==void 0?k8t.createHTML(o):o}const Wkn=(r,o)=>{const l=r.length-1,a=[];let p,g=o===2?"":o===3?"":"",w=cF;for(let y=0;y"?(w=p??cF,P=-1):I[1]===void 0?P=-2:(P=w.lastIndex-I[2].length,E=I[1],w=I[3]===void 0?rE:I[3]==='"'?E8t:x8t):w===E8t||w===x8t?w=rE:w===C8t||w===S8t?w=cF:(w=rE,p=void 0);const R=w===rE&&r[y+1].startsWith("/>")?" ":"";g+=w===cF?S+Hkn:P>=0?(a.push(E),S.slice(0,P)+CEt+S.slice(P)+C7+R):S+C7+(P===-2?y:R)}return[EEt(r,g+(r[l]||"")+(o===2?"":o===3?"":"")),a]};class Iz{constructor({strings:o,_$litType$:l},a){let p;this.parts=[];let g=0,w=0;const y=o.length-1,S=this.parts,[E,I]=Wkn(o,l);if(this.el=Iz.createElement(E,a),vE.currentNode=this.el.content,l===2||l===3){const P=this.el.content.firstChild;P.replaceWith(...P.childNodes)}for(;(p=vE.nextNode())!==null&&S.length0){p.textContent=rre?rre.emptyScript:"";for(let R=0;R<_;R++)p.append(P[R],Ez()),vE.nextNode(),S.push({type:2,index:++g});p.append(P[_],Ez())}}}else if(p.nodeType===8)if(p.data===SEt)S.push({type:2,index:g});else{let P=-1;for(;(P=p.data.indexOf(C7,P+1))!==-1;)S.push({type:7,index:g}),P+=C7.length-1}g++}}static createElement(o,l){const a=$E.createElement("template");return a.innerHTML=o,a}}function S_(r,o,l=r,a){var w,y;if(o===C_)return o;let p=a!==void 0?(w=l._$Co)==null?void 0:w[a]:l._$Cl;const g=Tz(o)?void 0:o._$litDirective$;return(p==null?void 0:p.constructor)!==g&&((y=p==null?void 0:p._$AO)==null||y.call(p,!1),g===void 0?p=void 0:(p=new g(r),p._$AT(r,l,a)),a!==void 0?(l._$Co??(l._$Co=[]))[a]=p:l._$Cl=p),p!==void 0&&(o=S_(r,p._$AS(r,o.values),p,a)),o}class Vkn{constructor(o,l){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=l}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){const{el:{content:l},parts:a}=this._$AD,p=((o==null?void 0:o.creationScope)??$E).importNode(l,!0);vE.currentNode=p;let g=vE.nextNode(),w=0,y=0,S=a[0];for(;S!==void 0;){if(w===S.index){let E;S.type===2?E=new EH(g,g.nextSibling,this,o):S.type===1?E=new S.ctor(g,S.name,S.strings,this,o):S.type===6&&(E=new Jkn(g,this,o)),this._$AV.push(E),S=a[++y]}w!==(S==null?void 0:S.index)&&(g=vE.nextNode(),w++)}return vE.currentNode=$E,p}p(o){let l=0;for(const a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(o,a,l),l+=a.strings.length-2):a._$AI(o[l])),l++}}class EH{get _$AU(){var o;return((o=this._$AM)==null?void 0:o._$AU)??this._$Cv}constructor(o,l,a,p){this.type=2,this._$AH=hh,this._$AN=void 0,this._$AA=o,this._$AB=l,this._$AM=a,this.options=p,this._$Cv=(p==null?void 0:p.isConnected)??!0}get parentNode(){let o=this._$AA.parentNode;const l=this._$AM;return l!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=l.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,l=this){o=S_(this,o,l),Tz(o)?o===hh||o==null||o===""?(this._$AH!==hh&&this._$AR(),this._$AH=hh):o!==this._$AH&&o!==C_&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Kkn(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==hh&&Tz(this._$AH)?this._$AA.nextSibling.data=o:this.T($E.createTextNode(o)),this._$AH=o}$(o){var g;const{values:l,_$litType$:a}=o,p=typeof a=="number"?this._$AC(o):(a.el===void 0&&(a.el=Iz.createElement(EEt(a.h,a.h[0]),this.options)),a);if(((g=this._$AH)==null?void 0:g._$AD)===p)this._$AH.p(l);else{const w=new Vkn(p,this),y=w.u(this.options);w.p(l),this.T(y),this._$AH=w}}_$AC(o){let l=T8t.get(o.strings);return l===void 0&&T8t.set(o.strings,l=new Iz(o)),l}k(o){E9e(this._$AH)||(this._$AH=[],this._$AR());const l=this._$AH;let a,p=0;for(const g of o)p===l.length?l.push(a=new EH(this.O(Ez()),this.O(Ez()),this,this.options)):a=l[p],a._$AI(g),p++;p2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=hh}_$AI(o,l=this,a,p){const g=this.strings;let w=!1;if(g===void 0)o=S_(this,o,l,0),w=!Tz(o)||o!==this._$AH&&o!==C_,w&&(this._$AH=o);else{const y=o;let S,E;for(o=g[0],S=0;S{const a=(l==null?void 0:l.renderBefore)??o;let p=a._$litPart$;if(p===void 0){const g=(l==null?void 0:l.renderBefore)??null;a._$litPart$=p=new EH(o.insertBefore(Ez(),g),g,void 0,l??{})}return p._$AI(r),p};/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class BF extends KO{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var l;const o=super.createRenderRoot();return(l=this.renderOptions).renderBefore??(l.renderBefore=o.firstChild),o}update(o){const l=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this._$Do=Qkn(l,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this._$Do)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this._$Do)==null||o.setConnected(!1)}render(){return C_}}var BCt;BF._$litElement$=!0,BF.finalized=!0,(BCt=globalThis.litElementHydrateSupport)==null||BCt.call(globalThis,{LitElement:BF});const k7e=globalThis.litElementPolyfillSupport;k7e==null||k7e({LitElement:BF});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");var Bp=navigator.userAgent,TEt=navigator.platform,X6=/gecko\/\d/i.test(Bp),IEt=/MSIE \d/.test(Bp),MEt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bp),die=/Edge\/(\d+)/.exec(Bp),El=IEt||MEt||die,vu=El&&(IEt?document.documentMode||6:+(die||MEt)[1]),R1=!die&&/WebKit\//.test(Bp),Zkn=R1&&/Qt\/\d+\.\d+/.test(Bp),hie=!die&&/Chrome\//.test(Bp),cy=/Opera\//.test(Bp),pie=/Apple Computer/.test(navigator.vendor),e8n=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Bp),t8n=/PhantomJS/.test(Bp),TH=pie&&(/Mobile\/\w+/.test(Bp)||navigator.maxTouchPoints>2),gie=/Android/.test(Bp),Mz=TH||gie||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Bp),lm=TH||/Mac/.test(TEt),n8n=/\bCrOS\b/.test(Bp),r8n=/win/i.test(TEt),IE=cy&&Bp.match(/Version\/(\d*\.\d*)/);IE&&(IE=Number(IE[1]));IE&&IE>=15&&(cy=!1,R1=!0);var I8t=lm&&(Zkn||cy&&(IE==null||IE<12.11)),T9e=X6||El&&vu>=9;function x_(r){return new RegExp("(^|\\s)"+r+"(?:$|\\s)\\s*")}var XE=function(r,o){let l=r.className,a=x_(o).exec(l);if(a){let p=l.slice(a.index+a[0].length);r.className=l.slice(0,a.index)+(p?a[1]+p:"")}};function R7(r){for(let o=r.childNodes.length;o>0;--o)r.removeChild(r.firstChild);return r}function pb(r,o){return R7(r).appendChild(o)}function Zi(r,o,l,a){let p=document.createElement(r);if(l&&(p.className=l),a&&(p.style.cssText=a),typeof o=="string")p.appendChild(document.createTextNode(o));else if(o)for(let g=0;g=o)return w+(o-g);w+=y-g,w+=l-w%l,g=y+1}}var E_=class{constructor(){this.id=null,this.f=null,this.time=0,this.handler=I9e(this.onTimeout,this)}onTimeout(r){r.id=0,r.time<=+new Date?r.f():setTimeout(r.handler,r.time-+new Date)}set(r,o){this.f=o;const l=+new Date+r;(!this.id||l=o)return a+Math.min(w,o-p);if(p+=g-a,p+=l-p%l,a=g+1,p>=o)return a}}var Gte=[""];function M9e(r){for(;Gte.length<=r;)Gte.push(ec(Gte)+" ");return Gte[r]}function ec(r){return r[r.length-1]}function wie(r,o){let l=[];for(let a=0;a"€"&&(r.toUpperCase()!=r.toLowerCase()||o8n.test(r))}function xne(r,o){return o?o.source.indexOf("\\w")>-1&&DCe(r)?!0:o.test(r):DCe(r)}function P8t(r){for(let o in r)if(r.hasOwnProperty(o)&&r[o])return!1;return!0}var s8n=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function NCe(r){return r.charCodeAt(0)>=768&&s8n.test(r)}function _Et(r,o,l){for(;(l<0?o>0:ol?-1:1;for(;;){if(o==l)return o;let p=(o+l)/2,g=a<0?Math.ceil(p):Math.floor(p);if(g==o)return r(g)?o:l;r(g)?l=g:o=g+a}}function l8n(r,o,l,a){if(!r)return a(o,l,"ltr",0);let p=!1;for(let g=0;go||o==l&&w.to==o)&&(a(Math.max(w.from,o),Math.min(w.to,l),w.level==1?"rtl":"ltr",g),p=!0)}p||a(o,l,"ltr")}var kF=null;function _z(r,o,l){let a;kF=null;for(let p=0;po)return p;g.to==o&&(g.from!=g.to&&l=="before"?a=p:kF=p),g.from==o&&(g.from!=g.to&&l!="before"?a=p:kF=p)}return a??kF}var c8n=function(){let r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",o="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function l(E){return E<=247?r.charAt(E):1424<=E&&E<=1524?"R":1536<=E&&E<=1785?o.charAt(E-1536):1774<=E&&E<=2220?"r":8192<=E&&E<=8203?"w":E==8204?"b":"L"}let a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,p=/[stwN]/,g=/[LRr]/,w=/[Lb1n]/,y=/[1n]/;function S(E,I,P){this.level=E,this.from=I,this.to=P}return function(E,I){let P=I=="ltr"?"L":"R";if(E.length==0||I=="ltr"&&!a.test(E))return!1;let _=E.length,R=[];for(let q=0;q<_;++q)R.push(l(E.charCodeAt(q)));for(let q=0,Q=P;q<_;++q){let ee=R[q];ee=="m"?R[q]=Q:Q=ee}for(let q=0,Q=P;q<_;++q){let ee=R[q];ee=="1"&&Q=="r"?R[q]="n":g.test(ee)&&(Q=ee,ee=="r"&&(R[q]="R"))}for(let q=1,Q=R[0];q<_-1;++q){let ee=R[q];ee=="+"&&Q=="1"&&R[q+1]=="1"?R[q]="1":ee==","&&Q==R[q+1]&&(Q=="1"||Q=="n")&&(R[q]=Q),Q=ee}for(let q=0;q<_;++q){let Q=R[q];if(Q==",")R[q]="N";else if(Q=="%"){let ee;for(ee=q+1;ee<_&&R[ee]=="%";++ee);let J=q&&R[q-1]=="!"||ee<_&&R[ee]=="1"?"1":"N";for(let oe=q;oe-1&&(a[o]=p.slice(0,g).concat(p.slice(g+1)))}}}function xf(r,o){let l=P9e(r,o);if(!l.length)return;let a=Array.prototype.slice.call(arguments,2);for(let p=0;p0}function z_(r){r.prototype.on=function(o,l){no(this,o,l)},r.prototype.off=function(o,l){db(this,o,l)}}function $p(r){r.preventDefault?r.preventDefault():r.returnValue=!1}function LEt(r){r.stopPropagation?r.stopPropagation():r.cancelBubble=!0}function BCe(r){return r.defaultPrevented!=null?r.defaultPrevented:r.returnValue==!1}function Rz(r){$p(r),LEt(r)}function O9e(r){return r.target||r.srcElement}function jEt(r){let o=r.which;return o==null&&(r.button&1?o=1:r.button&2?o=3:r.button&4&&(o=2)),lm&&r.ctrlKey&&o==1&&(o=3),o}var u8n=function(){if(El&&vu<9)return!1;let r=Zi("div");return"draggable"in r||"dragDrop"in r}(),x7e;function a8n(r){if(x7e==null){let l=Zi("span","​");pb(r,Zi("span",[l,document.createTextNode("x")])),r.firstChild.offsetHeight!=0&&(x7e=l.offsetWidth<=1&&l.offsetHeight>2&&!(El&&vu<8))}let o=x7e?Zi("span","​"):Zi("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var E7e;function f8n(r){if(E7e!=null)return E7e;let o=pb(r,document.createTextNode("AخA")),l=DE(o,0,1).getBoundingClientRect(),a=DE(o,1,2).getBoundingClientRect();return R7(r),!l||l.left==l.right?!1:E7e=a.right-l.right<3}var _9e=` - -b`.split(/\n/).length!=3?r=>{let o=0,l=[],a=r.length;for(;o<=a;){let p=r.indexOf(` -`,o);p==-1&&(p=r.length);let g=r.slice(o,r.charAt(p-1)=="\r"?p-1:p),w=g.indexOf("\r");w!=-1?(l.push(g.slice(0,w)),o+=w+1):(l.push(g),o=p+1)}return l}:r=>r.split(/\r\n?|\n/),d8n=window.getSelection?r=>{try{return r.selectionStart!=r.selectionEnd}catch{return!1}}:r=>{let o;try{o=r.ownerDocument.selection.createRange()}catch{}return!o||o.parentElement()!=r?!1:o.compareEndPoints("StartToEnd",o)!=0},h8n=(()=>{let r=Zi("div");return"oncopy"in r?!0:(r.setAttribute("oncopy","return;"),typeof r.oncopy=="function")})(),T7e=null;function p8n(r){if(T7e!=null)return T7e;let o=pb(r,Zi("span","x")),l=o.getBoundingClientRect(),a=DE(o,0,1).getBoundingClientRect();return T7e=Math.abs(l.left-a.left)>1}var R9e={},qO={};function g8n(r,o){arguments.length>2&&(o.dependencies=Array.prototype.slice.call(arguments,2)),R9e[r]=o}function b8n(r,o){qO[r]=o}function ire(r){if(typeof r=="string"&&qO.hasOwnProperty(r))r=qO[r];else if(r&&typeof r.name=="string"&&qO.hasOwnProperty(r.name)){let o=qO[r.name];typeof o=="string"&&(o={name:o}),r=OEt(o,r),r.name=o.name}else{if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(r))return ire("application/xml");if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(r))return ire("application/json")}return typeof r=="string"?{name:r}:r||{name:"null"}}function A9e(r,o){o=ire(o);let l=R9e[o.name];if(!l)return A9e(r,"text/plain");let a=l(r,o);if(l_.hasOwnProperty(o.name)){let p=l_[o.name];for(let g in p)p.hasOwnProperty(g)&&(a.hasOwnProperty(g)&&(a["_"+g]=a[g]),a[g]=p[g])}if(a.name=o.name,o.helperType&&(a.helperType=o.helperType),o.modeProps)for(let p in o.modeProps)a[p]=o.modeProps[p];return a}var l_={};function w8n(r,o){let l=l_.hasOwnProperty(r)?l_[r]:l_[r]={};NE(o,l)}function ME(r,o){if(o===!0)return o;if(r.copyState)return r.copyState(o);let l={};for(let a in o){let p=o[a];p instanceof Array&&(p=p.concat([])),l[a]=p}return l}function L9e(r,o){let l;for(;r.innerMode&&(l=r.innerMode(o),!(!l||l.mode==r));)o=l.state,r=l.mode;return l||{mode:r,state:o}}function $Et(r,o,l){return r.startState?r.startState(o,l):!0}var m8n=class{constructor(r,o,l){this.pos=this.start=0,this.string=r,this.tabSize=o||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=l}eol(){return this.pos>=this.string.length}sol(){return this.pos==this.lineStart}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.poso}eatSpace(){let r=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>r}skipToEnd(){this.pos=this.string.length}skipTo(r){let o=this.string.indexOf(r,this.pos);if(o>-1)return this.pos=o,!0}backUp(r){this.pos-=r}column(){return this.lastColumnPosl?g.toLowerCase():g,p=this.string.substr(this.pos,r.length);if(a(p)==a(r))return o!==!1&&(this.pos+=r.length),!0}else{let a=this.string.slice(this.pos).match(r);return a&&a.index>0?null:(a&&o!==!1&&(this.pos+=a[0].length),a)}}current(){return this.string.slice(this.start,this.pos)}hideFirstChars(r,o){this.lineStart+=r;try{return o()}finally{this.lineStart-=r}}lookAhead(r){let o=this.lineOracle;return o&&o.lookAhead(r)}baseToken(){let r=this.lineOracle;return r&&r.baseToken(this.pos)}},mie=m8n;function Ii(r,o){if(o-=r.first,o<0||o>=r.size)throw new Error("There is no line "+(o+r.first)+" in the document.");let l=r;for(;!l.lines;)for(let a=0;;++a){let p=l.children[a],g=p.chunkSize();if(o{let w=g.text;p==l.line&&(w=w.slice(0,l.ch)),p==o.line&&(w=w.slice(o.ch)),a.push(w),++p}),a}function I7e(r,o,l){let a=[];return r.iter(o,l,p=>{a.push(p.text)}),a}function k3(r,o){let l=o-r.height;if(l)for(let a=r;a;a=a.parent)a.height+=l}function gc(r){if(r.parent==null)return null;let o=r.parent,l=Vh(o.lines,r);for(let a=o.parent;a;o=a,a=a.parent)for(let p=0;a.children[p]!=o;++p)l+=a.children[p].chunkSize();return l+o.first}function yE(r,o){let l=r.first;e:do{for(let p=0;p=r.first&&ol?nr(l,Ii(r,l).text.length):v8n(o,Ii(r,o.line).text.length)}function v8n(r,o){let l=r.ch;return l==null||l>o?nr(r.line,o):l<0?nr(r.line,0):r}function O8t(r,o){let l=[];for(let a=0;athis.maxLookAhead&&(this.maxLookAhead=o),l}baseToken(o){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=o;)this.baseTokenPos+=2;let l=this.baseTokens[this.baseTokenPos+1];return{type:l&&l.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-o}}nextLine(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--}static fromSaved(o,l,a){return l instanceof ore?new zF(o,ME(o.mode,l.state),a,l.lookAhead):new zF(o,ME(o.mode,l),a)}save(o){let l=o!==!1?ME(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ore(l,this.maxLookAhead):l}};function NEt(r,o,l,a){let p=[r.state.modeGen],g={};L8t(r,o.text,r.doc.mode,l,(y,S)=>p.push(y,S),g,a);let w=l.state;for(let y=0;y{let R=E;for(;IP&&p.splice(E,1,P,p[E+1],$),E+=2,I=Math.min(P,$)}if(_)if(S.opaque)p.splice(R,E-R,P,"overlay "+_),E=R+2;else for(;Rr.options.maxHighlightLength&&ME(r.doc.mode,a.state),g=NEt(r,o,a);p&&(a.state=p),o.stateAfter=a.save(!p),o.styles=g.styles,g.classes?o.styleClasses=g.classes:o.styleClasses&&(o.styleClasses=null),l===r.doc.highlightFrontier&&(r.doc.modeFrontier=Math.max(r.doc.modeFrontier,++r.doc.highlightFrontier))}return o.styles}function IH(r,o,l){let a=r.doc,p=r.display;if(!a.mode.startState)return new zF(a,!0,o);let g=y8n(r,o,l),w=g>a.first&&Ii(a,g-1).stateAfter,y=w?zF.fromSaved(a,w,g):new zF(a,$Et(a.mode),g);return a.iter(g,o,S=>{$9e(r,S.text,y);let E=y.line;S.stateAfter=E==o-1||E%5==0||E>=p.viewFrom&&Eo.start)return g}throw new Error("Mode "+r.name+" failed to advance stream.")}var _8t=class{constructor(r,o,l){this.start=r.start,this.end=r.pos,this.string=r.current(),this.type=o||null,this.state=l}};function R8t(r,o,l,a){let p=r.doc,g=p.mode,w;o=No(p,o);let y=Ii(p,o.line),S=IH(r,o.line,l),E=new mie(y.text,r.options.tabSize,S),I;for(a&&(I=[]);(a||E.posr.options.maxHighlightLength?(y=!1,w&&$9e(r,o,a,I.pos),I.pos=o.length,P=null):P=A8t(D9e(l,I,a.state,_),g),_){let R=_[0].name;R&&(P="m-"+(P?R+" "+P:R))}if(!y||E!=P){for(;Sw;--y){if(y<=g.first)return g.first;let S=Ii(g,y-1),E=S.stateAfter;if(E&&(!l||y+(E instanceof ore?E.lookAhead:0)<=g.modeFrontier))return y;let I=tm(S.text,null,r.options.tabSize);(p==null||a>I)&&(p=y-1,a=I)}return p}function k8n(r,o){if(r.modeFrontier=Math.min(r.modeFrontier,o),r.highlightFrontierl;a--){let p=Ii(r,a).stateAfter;if(p&&(!(p instanceof ore)||a+p.lookAhead=o:g.to>o);(a||(a=[])).push(new kie(w,g.from,S?null:g.to))}}return a}function I8n(r,o,l){let a;if(r)for(let p=0;p=o:g.to>o)||g.from==o&&w.type=="bookmark"&&(!l||g.marker.insertLeft)){let S=g.from==null||(w.inclusiveLeft?g.from<=o:g.from0&&y)for(let $=0;${if(g.markedSpans)for(let w=0;w0)continue;let I=[S,1],P=Bo(E.from,y.from),_=Bo(E.to,y.to);(P<0||!w.inclusiveLeft&&!P)&&I.push({from:E.from,to:y.from}),(_>0||!w.inclusiveRight&&!_)&&I.push({from:y.to,to:E.to}),p.splice.apply(p,I),S+=I.length-3}}return p}function HEt(r){let o=r.markedSpans;if(o){for(let l=0;lo)&&(!a||N9e(a,g.marker)<0)&&(a=g.marker)}return a}function $8t(r,o,l,a,p){let g=Ii(r,o),w=Y6&&g.markedSpans;if(w)for(let y=0;y=0&&P<=0||I<=0&&P>=0)&&(I<=0&&(S.marker.inclusiveRight&&p.inclusiveLeft?Bo(E.to,l)>=0:Bo(E.to,l)>0)||I>=0&&(S.marker.inclusiveRight&&p.inclusiveLeft?Bo(E.from,a)<=0:Bo(E.from,a)<0)))return!0}}function C3(r){let o;for(;o=GEt(r);)r=o.find(-1,!0).line;return r}function O8n(r){let o;for(;o=Cie(r);)r=o.find(1,!0).line;return r}function _8n(r){let o,l;for(;o=Cie(r);)r=o.find(1,!0).line,(l||(l=[])).push(r);return l}function B9e(r,o){let l=Ii(r,o),a=C3(l);return l==a?o:gc(a)}function WEt(r,o){if(o>r.lastLine())return o;let l=Ii(r,o),a;if(!L7(r,l))return o;for(;a=Cie(l);)l=a.find(1,!0).line;return gc(l)+1}function L7(r,o){let l=Y6&&o.markedSpans;if(l){for(let a,p=0;p{let p=cre(a);p>o.maxLineLength&&(o.maxLineLength=p,o.maxLine=a)})}var jz=class{constructor(r,o,l){this.text=r,KEt(this,o),this.height=l?l(this):1}lineNo(){return gc(this)}};z_(jz);function R8n(r,o,l,a){r.text=o,r.stateAfter&&(r.stateAfter=null),r.styles&&(r.styles=null),r.order!=null&&(r.order=null),HEt(r),KEt(r,l);let p=a?a(r):1;p!=r.height&&k3(r,p)}function A8n(r){r.parent=null,HEt(r)}var L8n={},j8n={};function D8t(r,o){if(!r||/^\s*$/.test(r))return null;let l=o.addModeClass?j8n:L8n;return l[r]||(l[r]=r.replace(/\S+/g,"cm-$&"))}function VEt(r,o){let l=s_("span",null,null,R1?"padding-right: .1px":null),a={pre:s_("pre",[l],"CodeMirror-line"),content:l,col:0,pos:0,cm:r,trailingSpace:!1,splitSpaces:r.getOption("lineWrapping")};o.measure={};for(let p=0;p<=(o.rest?o.rest.length:0);p++){let g=p?o.rest[p-1]:o.line,w;a.pos=0,a.addToken=D8n,f8n(r.display.measure)&&(w=o5(g,r.doc.direction))&&(a.addToken=B8n(a.addToken,w)),a.map=[];let y=o!=r.display.externalMeasured&&gc(g);F8n(g,a,BEt(r,g,y)),g.styleClasses&&(g.styleClasses.bgClass&&(a.bgClass=C7e(g.styleClasses.bgClass,a.bgClass||"")),g.styleClasses.textClass&&(a.textClass=C7e(g.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(a8n(r.display.measure))),p==0?(o.measure.map=a.map,o.measure.cache={}):((o.measure.maps||(o.measure.maps=[])).push(a.map),(o.measure.caches||(o.measure.caches=[])).push({}))}if(R1){let p=a.content.lastChild;(/\bcm-tab\b/.test(p.className)||p.querySelector&&p.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return xf(r,"renderLine",r,o.line,a.pre),a.pre.className&&(a.textClass=C7e(a.pre.className,a.textClass||"")),a}function $8n(r){let o=Zi("span","•","cm-invalidchar");return o.title="\\u"+r.charCodeAt(0).toString(16),o.setAttribute("aria-label",o.title),o}function D8n(r,o,l,a,p,g,w){if(!o)return;let y=r.splitSpaces?N8n(o,r.trailingSpace):o,S=r.cm.state.specialChars,E=!1,I;if(!S.test(o))r.col+=o.length,I=document.createTextNode(y),r.map.push(r.pos,r.pos+o.length,I),El&&vu<9&&(E=!0),r.pos+=o.length;else{I=document.createDocumentFragment();let P=0;for(;;){S.lastIndex=P;let _=S.exec(o),R=_?_.index-P:o.length-P;if(R){let K=document.createTextNode(y.slice(P,P+R));El&&vu<9?I.appendChild(Zi("span",[K])):I.appendChild(K),r.map.push(r.pos,r.pos+R,K),r.col+=R,r.pos+=R}if(!_)break;P+=R+1;let $;if(_[0]==" "){let K=r.cm.options.tabSize,q=K-r.col%K;$=I.appendChild(Zi("span",M9e(q),"cm-tab")),$.setAttribute("role","presentation"),$.setAttribute("cm-text"," "),r.col+=q}else _[0]=="\r"||_[0]==` -`?($=I.appendChild(Zi("span",_[0]=="\r"?"␍":"␤","cm-invalidchar")),$.setAttribute("cm-text",_[0]),r.col+=1):($=r.cm.options.specialCharPlaceholder(_[0]),$.setAttribute("cm-text",_[0]),El&&vu<9?I.appendChild(Zi("span",[$])):I.appendChild($),r.col+=1);r.map.push(r.pos,r.pos+1,$),r.pos++}}if(r.trailingSpace=y.charCodeAt(o.length-1)==32,l||a||p||E||g||w){let P=l||"";a&&(P+=a),p&&(P+=p);let _=Zi("span",[I],P,g);if(w)for(let R in w)w.hasOwnProperty(R)&&R!="style"&&R!="class"&&_.setAttribute(R,w[R]);return r.content.appendChild(_)}r.content.appendChild(I)}function N8n(r,o){if(r.length>1&&!/ /.test(r))return r;let l=o,a="";for(let p=0;p{p=p?p+" cm-force-border":"cm-force-border";let E=l.pos,I=E+a.length;for(;;){let P;for(let _=0;_E&&P.from<=E));_++);if(P.to>=I)return r(l,a,p,g,w,y,S);r(l,a.slice(0,P.to-E),p,g,null,y,S),g=null,a=a.slice(P.to-E),E=P.to}}}function N8t(r,o,l,a){let p=!a&&l.widgetNode;p&&r.map.push(r.pos,r.pos+o,p),!a&&r.cm.display.input.needsContentAttribute&&(p||(p=r.content.appendChild(document.createElement("span"))),p.setAttribute("cm-marker",l.id)),p&&(r.cm.display.input.setUneditable(p),r.content.appendChild(p)),r.pos+=o,r.trailingSpace=!1}function F8n(r,o,l){let a=r.markedSpans,p=r.text,g=0;if(!a){for(let ee=1;eey||wt.collapsed&&et.to==y&&et.from==y)){if(et.to!=null&&et.to!=y&&_>et.to&&(_=et.to,$=""),wt.className&&(R+=" "+wt.className),wt.css&&(P=(P?P+";":"")+wt.css),wt.startStyle&&et.from==y&&(K+=" "+wt.startStyle),wt.endStyle&&et.to==_&&(oe||(oe=[])).push(wt.endStyle,et.to),wt.title&&((Q||(Q={})).title=wt.title),wt.attributes)for(let bt in wt.attributes)(Q||(Q={}))[bt]=wt.attributes[bt];wt.collapsed&&(!q||N9e(q.marker,wt)<0)&&(q=et)}else et.from>y&&_>et.from&&(_=et.from)}if(oe)for(let $e=0;$e=w)break;let ee=Math.min(w,_);for(;;){if(E){let J=y+E.length;if(!q){let oe=J>ee?E.slice(0,ee-y):E;o.addToken(o,oe,I?I+R:R,K,y+oe.length==_?$:"",P,Q)}if(J>=ee){E=E.slice(ee-y),y=ee;break}y=J,K=""}E=p.slice(g,g=l[S++]),I=D8t(l[S++],o.cm.options)}}}function qEt(r,o,l){this.line=o,this.rest=_8n(o),this.size=this.rest?gc(ec(this.rest))-l+1:1,this.node=this.text=null,this.hidden=L7(r,o)}function Ene(r,o,l){let a=[],p;for(let g=o;gl[g].apply(null,a))}function U8n(){let r=HF;HF=null;for(let o=0;o2&&g.push((S.bottom+E.top)/2-l.top)}}g.push(l.bottom-l.top)}}function eTt(r,o,l){if(r.line==o)return{map:r.measure.map,cache:r.measure.cache};for(let a=0;al)return{map:r.measure.maps[a],cache:r.measure.caches[a],before:!0}}function J8n(r,o){o=C3(o);let l=gc(o),a=r.display.externalMeasured=new qEt(r.doc,o,l);a.lineN=l;let p=a.built=VEt(r,a);return a.text=p.pre,pb(r.display.lineMeasure,p.pre),a}function tTt(r,o,l,a){return x3(r,H_(r,o),l,a)}function U9e(r,o){if(o>=r.display.viewFrom&&o=l.lineN&&oo)&&(g=S-y,p=g-1,o>=S&&(w="right")),p!=null){if(a=r[E+2],y==S&&l==(a.insertLeft?"left":"right")&&(w=l),l=="left"&&p==0)for(;E&&r[E-2]==r[E-3]&&r[E-1].insertLeft;)a=r[(E-=3)+2],w="left";if(l=="right"&&p==S-y)for(;E=0&&(l=r[a]).left==l.right;a--);return l}function Z8n(r,o,l,a){let p=rTt(o.map,l,a),g=p.node,w=p.start,y=p.end,S=p.collapse,E;if(g.nodeType==3){for(let ee=0;ee<4;ee++){for(;w&&NCe(o.line.text.charAt(p.coverStart+w));)--w;for(;p.coverStart+y0&&(S=a="right");let ee;r.options.lineWrapping&&(ee=g.getClientRects()).length>1?E=ee[a=="right"?ee.length-1:0]:E=g.getBoundingClientRect()}if(El&&vu<9&&!w&&(!E||!E.left&&!E.right)){let ee=g.parentNode.getClientRects()[0];ee?E={left:ee.left,right:ee.left+K_(r.display),top:ee.top,bottom:ee.bottom}:E=nTt}let I=E.top-o.rect.top,P=E.bottom-o.rect.top,_=(I+P)/2,R=o.view.measure.heights,$=0;for(;$=a.text.length?(S=a.text.length,E="before"):S<=0&&(S=0,E="after"),!y)return w(E=="before"?S-1:S,E=="before");function I($,K,q){let Q=y[K],ee=Q.level==1;return w(q?$-1:$,ee!=q)}let P=_z(y,S,E),_=kF,R=I(S,P,E=="before");return _!=null&&(R.other=I(S,_,E!="before")),R}function z8t(r,o){let l=0;o=No(r.doc,o),r.options.lineWrapping||(l=K_(r.display)*o.ch);let a=Ii(r.doc,o.line),p=J6(a)+Sie(r.display);return{left:l,right:l,top:p,bottom:p+a.height}}function GCe(r,o,l,a,p){let g=nr(r,o,l);return g.xRel=p,a&&(g.outside=a),g}function W9e(r,o,l){let a=r.doc;if(l+=r.display.viewOffset,l<0)return GCe(a.first,0,null,-1,-1);let p=yE(a,l),g=a.first+a.size-1;if(p>g)return GCe(a.first+a.size-1,Ii(a,g).text.length,null,1,1);o<0&&(o=0);let w=Ii(a,p);for(;;){let y=t7n(r,w,p,o,l),S=P8n(w,y.ch+(y.xRel>0||y.outside>0?1:0));if(!S)return y;let E=S.find(1);if(E.line==p)return E;w=Ii(a,p=E.line)}}function cTt(r,o,l,a){a-=G9e(o);let p=o.text.length,g=Oz(w=>x3(r,l,w-1).bottom<=a,p,0);return p=Oz(w=>x3(r,l,w).top>a,g,p),{begin:g,end:p}}function uTt(r,o,l,a){l||(l=H_(r,o));let p=xie(r,o,x3(r,l,a),"line").top;return cTt(r,o,l,p)}function WCe(r,o,l,a){return r.bottom<=l?!1:r.top>l?!0:(a?r.left:r.right)>o}function t7n(r,o,l,a,p){p-=J6(o);let g=H_(r,o),w=G9e(o),y=0,S=o.text.length,E=!0,I=o5(o,r.doc.direction);if(I){let Q=(r.options.lineWrapping?r7n:n7n)(r,o,l,g,I,a,p);E=Q.level!=1,y=E?Q.from:Q.to-1,S=E?Q.to:Q.from-1}let P=null,_=null,R=Oz(Q=>{let ee=x3(r,g,Q);return ee.top+=w,ee.bottom+=w,WCe(ee,a,p,!1)?(ee.top<=p&&ee.left<=a&&(P=Q,_=ee),!0):!1},y,S),$,K,q=!1;if(_){let Q=a-_.left<_.right-a,ee=Q==E;R=P+(ee?0:1),K=ee?"after":"before",$=Q?_.left:_.right}else{!E&&(R==S||R==y)&&R++,K=R==0?"after":R==o.text.length?"before":x3(r,g,R-(E?1:0)).bottom+w<=p==E?"after":"before";let Q=iy(r,nr(l,R,K),"line",o,g);$=Q.left,q=p=Q.bottom?1:0}return R=_Et(o.text,R,1),GCe(l,R,K,q,a-$)}function n7n(r,o,l,a,p,g,w){let y=Oz(E=>{let I=p[E],P=I.level!=1;return WCe(iy(r,nr(l,P?I.to:I.from,P?"before":"after"),"line",o,a),g,w,!0)},0,p.length-1),S=p[y];if(y>0){let E=S.level!=1,I=iy(r,nr(l,E?S.from:S.to,E?"after":"before"),"line",o,a);WCe(I,g,w,!0)&&I.top>w&&(S=p[y-1])}return S}function r7n(r,o,l,a,p,g,w){let{begin:y,end:S}=cTt(r,o,a,w);/\s/.test(o.text.charAt(S-1))&&S--;let E=null,I=null;for(let P=0;P=S||_.to<=y)continue;let R=_.level!=1,$=x3(r,a,R?Math.min(S,_.to)-1:Math.max(y,_.from)).right,K=$K)&&(E=_,I=K)}return E||(E=p[p.length-1]),E.fromS&&(E={from:E.from,to:S,level:E.level}),E}var iE;function T_(r){if(r.cachedTextHeight!=null)return r.cachedTextHeight;if(iE==null){iE=Zi("pre",null,"CodeMirror-line-like");for(let l=0;l<49;++l)iE.appendChild(document.createTextNode("x")),iE.appendChild(Zi("br"));iE.appendChild(document.createTextNode("x"))}pb(r.measure,iE);let o=iE.offsetHeight/50;return o>3&&(r.cachedTextHeight=o),R7(r.measure),o||1}function K_(r){if(r.cachedCharWidth!=null)return r.cachedCharWidth;let o=Zi("span","xxxxxxxxxx"),l=Zi("pre",[o],"CodeMirror-line-like");pb(r.measure,l);let a=o.getBoundingClientRect(),p=(a.right-a.left)/10;return p>2&&(r.cachedCharWidth=p),p||10}function V9e(r){let o=r.display,l={},a={},p=o.gutters.clientLeft;for(let g=o.gutters.firstChild,w=0;g;g=g.nextSibling,++w){let y=r.display.gutterSpecs[w].className;l[y]=g.offsetLeft+g.clientLeft+p,a[y]=g.clientWidth}return{fixedPos:q9e(o),gutterTotalWidth:o.gutters.offsetWidth,gutterLeft:l,gutterWidth:a,wrapperWidth:o.wrapper.clientWidth}}function q9e(r){return r.scroller.getBoundingClientRect().left-r.sizer.getBoundingClientRect().left}function aTt(r){let o=T_(r.display),l=r.options.lineWrapping,a=l&&Math.max(5,r.display.scroller.clientWidth/K_(r.display)-3);return p=>{if(L7(r.doc,p))return 0;let g=0;if(p.widgets)for(let w=0;w{let p=l(a);p!=a.height&&k3(a,p)})}function BE(r,o,l,a){let p=r.display;if(!l&&O9e(o).getAttribute("cm-not-content")=="true")return null;let g,w,y=p.lineSpace.getBoundingClientRect();try{g=o.clientX-y.left,w=o.clientY-y.top}catch{return null}let S=W9e(r,g,w),E;if(a&&S.xRel>0&&(E=Ii(r.doc,S.line).text).length==S.ch){let I=tm(E,E.length,r.options.tabSize)-E.length;S=nr(S.line,Math.max(0,Math.round((g-ZEt(r.display).left)/K_(r.display))-I))}return S}function FE(r,o){if(o>=r.display.viewTo||(o-=r.display.viewFrom,o<0))return null;let l=r.display.view;for(let a=0;ao)&&(p.updateLineNumbers=o),r.curOp.viewChanged=!0,o>=p.viewTo)Y6&&B9e(r.doc,o)p.viewFrom?b7(r):(p.viewFrom+=a,p.viewTo+=a);else if(o<=p.viewFrom&&l>=p.viewTo)b7(r);else if(o<=p.viewFrom){let w=Wte(r,l,l+a,1);w?(p.view=p.view.slice(w.index),p.viewFrom=w.lineN,p.viewTo+=a):b7(r)}else if(l>=p.viewTo){let w=Wte(r,o,o,-1);w?(p.view=p.view.slice(0,w.index),p.viewTo=w.lineN):b7(r)}else{let w=Wte(r,o,o,-1),y=Wte(r,l,l+a,1);w&&y?(p.view=p.view.slice(0,w.index).concat(Ene(r,w.lineN,y.lineN)).concat(p.view.slice(y.index)),p.viewTo+=a):b7(r)}let g=p.externalMeasured;g&&(l=p.lineN&&o=a.viewTo)return;let g=a.view[FE(r,o)];if(g.node==null)return;let w=g.changes||(g.changes=[]);Vh(w,l)==-1&&w.push(l)}function b7(r){r.display.viewFrom=r.display.viewTo=r.doc.first,r.display.view=[],r.display.viewOffset=0}function Wte(r,o,l,a){let p=FE(r,o),g,w=r.display.view;if(!Y6||l==r.doc.first+r.doc.size)return{index:p,lineN:l};let y=r.display.viewFrom;for(let S=0;S0){if(p==w.length-1)return null;g=y+w[p].size-o,p++}else g=y-o;o+=g,l+=g}for(;B9e(r.doc,l)!=l;){if(p==(a<0?0:w.length-1))return null;l+=a*w[p-(a<0?1:0)].size,p+=a}return{index:p,lineN:l}}function i7n(r,o,l){let a=r.display;a.view.length==0||o>=a.viewTo||l<=a.viewFrom?(a.view=Ene(r,o,l),a.viewFrom=o):(a.viewFrom>o?a.view=Ene(r,o,a.viewFrom).concat(a.view):a.viewFroml&&(a.view=a.view.slice(0,FE(r,l)))),a.viewTo=l}function H8t(r){let o=r.display.view,l=0;for(let a=0;a=r.display.viewTo||y.to().line{let xe=Be=="ltr",U=$e(bt,xe?"left":"right"),He=$e(ce-1,xe?"right":"left"),yt=K==null&&bt==0,ft=q==null&&ce==ee,At=ae==0,Jt=!wt||ae==wt.length-1;if(He.top-U.top<=3){let un=(E?yt:ft)&&At,kn=(E?ft:yt)&&Jt,qt=un?y:(xe?U:He).left,on=kn?S:(xe?He:U).right;I(qt,U.top,on-qt,U.bottom)}else{let un,kn,qt,on;xe?(un=E&&yt&&At?y:U.left,kn=E?S:et(bt,Be,"before"),qt=E?y:et(ce,Be,"after"),on=E&&ft&&Jt?S:He.right):(un=E?et(bt,Be,"before"):y,kn=!E&&yt&&At?S:U.right,qt=!E&&ft&&Jt?y:He.left,on=E?et(ce,Be,"after"):S),I(un,U.top,kn-un,U.bottom),U.bottom0?o.blinker=setInterval(()=>{r.hasFocus()||U_(r),o.cursorDiv.style.visibility=(l=!l)?"":"hidden"},r.options.cursorBlinkRate):r.options.cursorBlinkRate<0&&(o.cursorDiv.style.visibility="hidden")}function hTt(r){r.hasFocus()||(r.display.input.focus(),r.state.focused||Q9e(r))}function J9e(r){r.state.delayingBlurEvent=!0,setTimeout(()=>{r.state.delayingBlurEvent&&(r.state.delayingBlurEvent=!1,r.state.focused&&U_(r))},100)}function Q9e(r,o){r.state.delayingBlurEvent&&!r.state.draggingText&&(r.state.delayingBlurEvent=!1),r.options.readOnly!="nocursor"&&(r.state.focused||(xf(r,"focus",r,o),r.state.focused=!0,YE(r.display.wrapper,"CodeMirror-focused"),!r.curOp&&r.display.selForContextMenu!=r.doc.sel&&(r.display.input.reset(),R1&&setTimeout(()=>r.display.input.reset(!0),20)),r.display.input.receivedFocus()),Y9e(r))}function U_(r,o){r.state.delayingBlurEvent||(r.state.focused&&(xf(r,"blur",r,o),r.state.focused=!1,XE(r.display.wrapper,"CodeMirror-focused")),clearInterval(r.display.blinker),setTimeout(()=>{r.state.focused||(r.display.shift=!1)},150))}function Eie(r){let o=r.display,l=o.lineDiv.offsetTop;for(let a=0;a.005||S<-.005)&&(k3(p.line,w),K8t(p.line),p.rest))for(let E=0;Er.display.sizerWidth){let E=Math.ceil(y/K_(r.display));E>r.display.maxLineLength&&(r.display.maxLineLength=E,r.display.maxLine=p.line,r.display.maxLineChanged=!0)}}}function K8t(r){if(r.widgets)for(let o=0;o=w&&(g=yE(o,J6(Ii(o,S))-r.wrapper.clientHeight),w=S)}return{from:g,to:Math.max(w,g+1)}}function s7n(r,o){if(Td(r,"scrollCursorIntoView"))return;let l=r.display,a=l.sizer.getBoundingClientRect(),p=null;if(o.top+a.top<0?p=!0:o.bottom+a.top>(window.innerHeight||document.documentElement.clientHeight)&&(p=!1),p!=null&&!t8n){let g=Zi("div","​",null,`position: absolute; - top: ${o.top-l.viewOffset-Sie(r.display)}px; - height: ${o.bottom-o.top+S3(r)+l.barHeight}px; - left: ${o.left}px; width: ${Math.max(2,o.right-o.left)}px;`);r.display.lineSpace.appendChild(g),g.scrollIntoView(p),r.display.lineSpace.removeChild(g)}}function l7n(r,o,l,a){a==null&&(a=0);let p;!r.options.lineWrapping&&o==l&&(o=o.ch?nr(o.line,o.sticky=="before"?o.ch-1:o.ch,"after"):o,l=o.sticky=="before"?nr(o.line,o.ch+1,"before"):o);for(let g=0;g<5;g++){let w=!1,y=iy(r,o),S=!l||l==o?y:iy(r,l);p={left:Math.min(y.left,S.left),top:Math.min(y.top,S.top)-a,right:Math.max(y.left,S.left),bottom:Math.max(y.bottom,S.bottom)+a};let E=Z9e(r,p),I=r.doc.scrollTop,P=r.doc.scrollLeft;if(E.scrollTop!=null&&(MH(r,E.scrollTop),Math.abs(r.doc.scrollTop-I)>1&&(w=!0)),E.scrollLeft!=null&&(QE(r,E.scrollLeft),Math.abs(r.doc.scrollLeft-P)>1&&(w=!0)),!w)break}return p}function c7n(r,o){let l=Z9e(r,o);l.scrollTop!=null&&MH(r,l.scrollTop),l.scrollLeft!=null&&QE(r,l.scrollLeft)}function Z9e(r,o){let l=r.display,a=T_(r.display);o.top<0&&(o.top=0);let p=r.curOp&&r.curOp.scrollTop!=null?r.curOp.scrollTop:l.scroller.scrollTop,g=K9e(r),w={};o.bottom-o.top>g&&(o.bottom=o.top+g);let y=r.doc.height+H9e(l),S=o.topy-a;if(o.topp+g){let $=Math.min(o.top,(E?y:o.bottom)-g);$!=p&&(w.scrollTop=$)}let I=r.options.fixedGutter?0:l.gutters.offsetWidth,P=r.curOp&&r.curOp.scrollLeft!=null?r.curOp.scrollLeft:l.scroller.scrollLeft-I,_=JE(r)-l.gutters.offsetWidth,R=o.right-o.left>_;return R&&(o.right=o.left+_),o.left<10?w.scrollLeft=0:o.left_+P-3&&(w.scrollLeft=o.right+(R?0:10)-_),w}function exe(r,o){o!=null&&(Tie(r),r.curOp.scrollTop=(r.curOp.scrollTop==null?r.doc.scrollTop:r.curOp.scrollTop)+o)}function G_(r){Tie(r);let o=r.getCursor();r.curOp.scrollToPos={from:o,to:o,margin:r.options.cursorScrollMargin}}function UF(r,o,l){(o!=null||l!=null)&&Tie(r),o!=null&&(r.curOp.scrollLeft=o),l!=null&&(r.curOp.scrollTop=l)}function u7n(r,o){Tie(r),r.curOp.scrollToPos=o}function Tie(r){let o=r.curOp.scrollToPos;if(o){r.curOp.scrollToPos=null;let l=z8t(r,o.from),a=z8t(r,o.to);pTt(r,l,a,o.margin)}}function pTt(r,o,l,a){let p=Z9e(r,{left:Math.min(o.left,l.left),top:Math.min(o.top,l.top)-a,right:Math.max(o.right,l.right),bottom:Math.max(o.bottom,l.bottom)+a});UF(r,p.scrollLeft,p.scrollTop)}function MH(r,o){Math.abs(r.doc.scrollTop-o)<2||(X6||VCe(r,{top:o}),gTt(r,o,!0),X6&&VCe(r),PH(r,100))}function gTt(r,o,l){o=Math.max(0,Math.min(r.display.scroller.scrollHeight-r.display.scroller.clientHeight,o)),!(r.display.scroller.scrollTop==o&&!l)&&(r.doc.scrollTop=o,r.display.scrollbars.setScrollTop(o),r.display.scroller.scrollTop!=o&&(r.display.scroller.scrollTop=o))}function QE(r,o,l,a){o=Math.max(0,Math.min(o,r.display.scroller.scrollWidth-r.display.scroller.clientWidth)),!((l?o==r.doc.scrollLeft:Math.abs(r.doc.scrollLeft-o)<2)&&!a)&&(r.doc.scrollLeft=o,yTt(r),r.display.scroller.scrollLeft!=o&&(r.display.scroller.scrollLeft=o),r.display.scrollbars.setScrollLeft(o))}function Bz(r){let o=r.display,l=o.gutters.offsetWidth,a=Math.round(r.doc.height+H9e(r.display));return{clientHeight:o.scroller.clientHeight,viewHeight:o.wrapper.clientHeight,scrollWidth:o.scroller.scrollWidth,clientWidth:o.scroller.clientWidth,viewWidth:o.wrapper.clientWidth,barLeft:r.options.fixedGutter?l:0,docHeight:a,scrollHeight:a+S3(r)+o.barHeight,nativeBarWidth:o.nativeBarWidth,gutterWidth:l}}var a7n=class{constructor(r,o,l){this.cm=l;let a=this.vert=Zi("div",[Zi("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),p=this.horiz=Zi("div",[Zi("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a.tabIndex=p.tabIndex=-1,r(a),r(p),no(a,"scroll",()=>{a.clientHeight&&o(a.scrollTop,"vertical")}),no(p,"scroll",()=>{p.clientWidth&&o(p.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,El&&vu<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}update(r){let o=r.scrollWidth>r.clientWidth+1,l=r.scrollHeight>r.clientHeight+1,a=r.nativeBarWidth;if(l){this.vert.style.display="block",this.vert.style.bottom=o?a+"px":"0";let p=r.viewHeight-(o?a:0);this.vert.firstChild.style.height=Math.max(0,r.scrollHeight-r.clientHeight+p)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(o){this.horiz.style.display="block",this.horiz.style.right=l?a+"px":"0",this.horiz.style.left=r.barLeft+"px";let p=r.viewWidth-r.barLeft-(l?a:0);this.horiz.firstChild.style.width=Math.max(0,r.scrollWidth-r.clientWidth+p)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&r.clientHeight>0&&(a==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:l?a:0,bottom:o?a:0}}setScrollLeft(r){this.horiz.scrollLeft!=r&&(this.horiz.scrollLeft=r),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")}setScrollTop(r){this.vert.scrollTop!=r&&(this.vert.scrollTop=r),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")}zeroWidthHack(){let r=lm&&!e8n?"12px":"18px";this.horiz.style.height=this.vert.style.width=r,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new E_,this.disableVert=new E_}enableZeroWidthBar(r,o,l){r.style.pointerEvents="auto";function a(){let p=r.getBoundingClientRect();(l=="vert"?document.elementFromPoint(p.right-1,(p.top+p.bottom)/2):document.elementFromPoint((p.right+p.left)/2,p.bottom-1))!=r?r.style.pointerEvents="none":o.set(1e3,a)}o.set(1e3,a)}clear(){let r=this.horiz.parentNode;r.removeChild(this.horiz),r.removeChild(this.vert)}},f7n=class{update(){return{bottom:0,right:0}}setScrollLeft(){}setScrollTop(){}clear(){}};function I_(r,o){o||(o=Bz(r));let l=r.display.barWidth,a=r.display.barHeight;U8t(r,o);for(let p=0;p<4&&l!=r.display.barWidth||a!=r.display.barHeight;p++)l!=r.display.barWidth&&r.options.lineWrapping&&Eie(r),U8t(r,Bz(r)),l=r.display.barWidth,a=r.display.barHeight}function U8t(r,o){let l=r.display,a=l.scrollbars.update(o);l.sizer.style.paddingRight=(l.barWidth=a.right)+"px",l.sizer.style.paddingBottom=(l.barHeight=a.bottom)+"px",l.heightForcer.style.borderBottom=a.bottom+"px solid transparent",a.right&&a.bottom?(l.scrollbarFiller.style.display="block",l.scrollbarFiller.style.height=a.bottom+"px",l.scrollbarFiller.style.width=a.right+"px"):l.scrollbarFiller.style.display="",a.bottom&&r.options.coverGutterNextToScrollbar&&r.options.fixedGutter?(l.gutterFiller.style.display="block",l.gutterFiller.style.height=a.bottom+"px",l.gutterFiller.style.width=o.gutterWidth+"px"):l.gutterFiller.style.display=""}var bTt={native:a7n,null:f7n};function wTt(r){r.display.scrollbars&&(r.display.scrollbars.clear(),r.display.scrollbars.addClass&&XE(r.display.wrapper,r.display.scrollbars.addClass)),r.display.scrollbars=new bTt[r.options.scrollbarStyle](o=>{r.display.wrapper.insertBefore(o,r.display.scrollbarFiller),no(o,"mousedown",()=>{r.state.focused&&setTimeout(()=>r.display.input.focus(),0)}),o.setAttribute("cm-not-content","true")},(o,l)=>{l=="horizontal"?QE(r,o):MH(r,o)},r),r.display.scrollbars.addClass&&YE(r.display.wrapper,r.display.scrollbars.addClass)}var d7n=0;function ZE(r){r.curOp={cm:r,viewChanged:!1,startHeight:r.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++d7n},z8n(r.curOp)}function eT(r){let o=r.curOp;o&&K8n(o,l=>{for(let a=0;a=l.viewTo)||l.maxLineChanged&&o.options.lineWrapping,r.update=r.mustUpdate&&new mTt(o,r.mustUpdate&&{top:r.scrollTop,ensure:r.scrollToPos},r.forceUpdate)}function g7n(r){r.updatedDisplay=r.mustUpdate&&txe(r.cm,r.update)}function b7n(r){let o=r.cm,l=o.display;r.updatedDisplay&&Eie(o),r.barMeasure=Bz(o),l.maxLineChanged&&!o.options.lineWrapping&&(r.adjustWidthTo=tTt(o,l.maxLine,l.maxLine.text.length).left+3,o.display.sizerWidth=r.adjustWidthTo,r.barMeasure.scrollWidth=Math.max(l.scroller.clientWidth,l.sizer.offsetLeft+r.adjustWidthTo+S3(o)+o.display.barWidth),r.maxScrollLeft=Math.max(0,l.sizer.offsetLeft+r.adjustWidthTo-JE(o))),(r.updatedDisplay||r.selectionChanged)&&(r.preparedSelection=l.input.prepareSelection())}function w7n(r){let o=r.cm;r.adjustWidthTo!=null&&(o.display.sizer.style.minWidth=r.adjustWidthTo+"px",r.maxScrollLeft=r.display.viewTo)return;let l=+new Date+r.options.workTime,a=IH(r,o.highlightFrontier),p=[];o.iter(a.line,Math.min(o.first+o.size,r.display.viewTo+500),g=>{if(a.line>=r.display.viewFrom){let w=g.styles,y=g.text.length>r.options.maxHighlightLength?ME(o.mode,a.state):null,S=NEt(r,g,a,!0);y&&(a.state=y),g.styles=S.styles;let E=g.styleClasses,I=S.classes;I?g.styleClasses=I:E&&(g.styleClasses=null);let P=!w||w.length!=g.styles.length||E!=I&&(!E||!I||E.bgClass!=I.bgClass||E.textClass!=I.textClass);for(let _=0;!P&&_l)return PH(r,r.options.workDelay),!0}),o.highlightFrontier=a.line,o.modeFrontier=Math.max(o.modeFrontier,a.line),p.length&&qg(r,()=>{for(let g=0;g=l.viewFrom&&o.visible.to<=l.viewTo&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo)&&l.renderedView==l.view&&H8t(r)==0)return!1;kTt(r)&&(b7(r),o.dims=V9e(r));let p=a.first+a.size,g=Math.max(o.visible.from-r.options.viewportMargin,a.first),w=Math.min(p,o.visible.to+r.options.viewportMargin);l.viewFromw&&l.viewTo-w<20&&(w=Math.min(p,l.viewTo)),Y6&&(g=B9e(r.doc,g),w=WEt(r.doc,w));let y=g!=l.viewFrom||w!=l.viewTo||l.lastWrapHeight!=o.wrapperHeight||l.lastWrapWidth!=o.wrapperWidth;i7n(r,g,w),l.viewOffset=J6(Ii(r.doc,l.viewFrom)),r.display.mover.style.top=l.viewOffset+"px";let S=H8t(r);if(!y&&S==0&&!o.force&&l.renderedView==l.view&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo))return!1;let E=k7n(r);return S>4&&(l.lineDiv.style.display="none"),S7n(r,l.updateLineNumbers,o.dims),S>4&&(l.lineDiv.style.display=""),l.renderedView=l.view,C7n(E),R7(l.cursorDiv),R7(l.selectionDiv),l.gutters.style.height=l.sizer.style.minHeight=0,y&&(l.lastWrapHeight=o.wrapperHeight,l.lastWrapWidth=o.wrapperWidth,PH(r,400)),l.updateLineNumbers=null,!0}function vTt(r,o){let l=o.viewport;for(let a=!0;;a=!1){if(!a||!r.options.lineWrapping||o.oldDisplayWidth==JE(r)){if(l&&l.top!=null&&(l={top:Math.min(r.doc.height+H9e(r.display)-K9e(r),l.top)}),o.visible=ure(r.display,r.doc,l),o.visible.from>=r.display.viewFrom&&o.visible.to<=r.display.viewTo)break}else a&&(o.visible=ure(r.display,r.doc,l));if(!txe(r,o))break;Eie(r);let p=Bz(r);KF(r),I_(r,p),rxe(r,p),o.force=!1}o.signal(r,"update",r),(r.display.viewFrom!=r.display.reportedViewFrom||r.display.viewTo!=r.display.reportedViewTo)&&(o.signal(r,"viewportChange",r,r.display.viewFrom,r.display.viewTo),r.display.reportedViewFrom=r.display.viewFrom,r.display.reportedViewTo=r.display.viewTo)}function VCe(r,o){let l=new mTt(r,o);if(txe(r,l)){Eie(r),vTt(r,l);let a=Bz(r);KF(r),I_(r,a),rxe(r,a),l.finish()}}function S7n(r,o,l){let a=r.display,p=r.options.lineNumbers,g=a.lineDiv,w=g.firstChild;function y(I){let P=I.nextSibling;return R1&&lm&&r.display.currentWheelTarget==I?I.style.display="none":I.parentNode.removeChild(I),P}let S=a.view,E=a.viewFrom;for(let I=0;I-1&&(_=!1),XEt(r,P,E,l)),_&&(R7(P.lineNumber),P.lineNumber.appendChild(document.createTextNode(j9e(r.options,E)))),w=P.node.nextSibling}E+=P.size}for(;w;)w=y(w)}function nxe(r){let o=r.gutters.offsetWidth;r.sizer.style.marginLeft=o+"px",Od(r,"gutterChanged",r)}function rxe(r,o){r.display.sizer.style.minHeight=o.docHeight+"px",r.display.heightForcer.style.top=o.docHeight+"px",r.display.gutters.style.height=o.docHeight+r.display.barHeight+S3(r)+"px"}function yTt(r){let o=r.display,l=o.view;if(!o.alignWidgets&&(!o.gutters.firstChild||!r.options.fixedGutter))return;let a=q9e(o)-o.scroller.scrollLeft+r.doc.scrollLeft,p=o.gutters.offsetWidth,g=a+"px";for(let w=0;ww.clientWidth,S=w.scrollHeight>w.clientHeight;if(a&&y||p&&S){if(p&&lm&&R1){e:for(let E=o.target,I=g.view;E!=w;E=E.parentNode)for(let P=0;P{if(g.wheelStartX==null)return;let E=w.scrollLeft-g.wheelStartX,I=w.scrollTop-g.wheelStartY,P=I&&g.wheelDY&&I/g.wheelDY||E&&g.wheelDX&&E/g.wheelDX;g.wheelStartX=g.wheelStartY=null,P&&(fb=(fb*qte+P)/(qte+1),++qte)},200)):(g.wheelDX+=a,g.wheelDY+=p))}}var V7=class{constructor(o,l){this.ranges=o,this.primIndex=l}primary(){return this.ranges[this.primIndex]}equals(o){if(o==this)return!0;if(o.primIndex!=this.primIndex||o.ranges.length!=this.ranges.length)return!1;for(let l=0;l=0&&Bo(o,p.to())<=0)return a}return-1}},Ic=class{constructor(r,o){this.anchor=r,this.head=o}from(){return yie(this.anchor,this.head)}to(){return vie(this.anchor,this.head)}empty(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};function oy(r,o,l){let a=r&&r.options.selectionsMayTouch,p=o[l];o.sort((g,w)=>Bo(g.from(),w.from())),l=Vh(o,p);for(let g=1;g0:S>=0){let E=yie(y.from(),w.from()),I=vie(y.to(),w.to()),P=y.empty()?w.from()==w.head:y.from()==y.head;g<=l&&--l,o.splice(--g,2,new Ic(P?I:E,P?E:I))}}return new V7(o,l)}function j7(r,o){return new V7([new Ic(r,o||r)],0)}function $7(r){return r.text?nr(r.from.line+r.text.length-1,ec(r.text).length+(r.text.length==1?r.from.ch:0)):r.to}function W8t(r,o){if(Bo(r,o.from)<0)return r;if(Bo(r,o.to)<=0)return $7(o);let l=r.line+o.text.length-(o.to.line-o.from.line)-1,a=r.ch;return r.line==o.to.line&&(a+=$7(o).ch-o.to.ch),nr(l,a)}function ixe(r,o){let l=[];for(let a=0;a{o.stateAfter&&(o.stateAfter=null),o.styles&&(o.styles=null)}),r.doc.modeFrontier=r.doc.highlightFrontier=r.doc.first,PH(r,100),r.state.modeGen++,r.curOp&&Dp(r)}function xTt(r,o){return o.from.ch==0&&o.to.ch==0&&ec(o.text)==""&&(!r.cm||r.cm.options.wholeLineUpdateBefore)}function oxe(r,o,l,a){function p(K){return l?l[K]:null}function g(K,q,Q){R8n(K,q,Q,a),Od(K,"change",K,o)}function w(K,q){let Q=[];for(let ee=K;ee1&&r.remove(y.line+1,$-1),r.insert(y.line+1,K)}Od(r,"change",r,o)}function P7(r,o,l){function a(p,g,w){if(p.linked)for(let y=0;y{TTt(r),Dp(r)})}function Tne(r){this.done=[],this.undone=[],this.undoDepth=r?r.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=r?r.maxGeneration:1}function YCe(r,o){let l={from:zCe(o.from),to:$7(o),text:PE(r,o.from,o.to)};return q8t(r,l,o.from.line,o.to.line+1),P7(r,a=>q8t(a,l,o.from.line,o.to.line+1),!0),l}function ITt(r){for(;r.length&&ec(r).ranges;)r.pop()}function M7n(r,o){if(o)return ITt(r.done),ec(r.done);if(r.done.length&&!ec(r.done).ranges)return ec(r.done);if(r.done.length>1&&!r.done[r.done.length-2].ranges)return r.done.pop(),ec(r.done)}function MTt(r,o,l,a){let p=r.history;p.undone.length=0;let g=+new Date,w,y;if((p.lastOp==a||p.lastOrigin==o.origin&&o.origin&&(o.origin.charAt(0)=="+"&&p.lastModTime>g-(r.cm?r.cm.options.historyEventDelay:500)||o.origin.charAt(0)=="*"))&&(w=M7n(p,p.lastOp==a)))y=ec(w.changes),Bo(o.from,o.to)==0&&Bo(o.from,y.to)==0?y.to=$7(o):w.changes.push(YCe(r,o));else{let S=ec(p.done);for((!S||!S.ranges)&&are(r.sel,p.done),w={changes:[YCe(r,o)],generation:p.generation},p.done.push(w);p.done.length>p.undoDepth;)p.done.shift(),p.done[0].ranges||p.done.shift()}p.done.push(l),p.generation=++p.maxGeneration,p.lastModTime=p.lastSelTime=g,p.lastOp=p.lastSelOp=a,p.lastOrigin=p.lastSelOrigin=o.origin,y||xf(r,"historyAdded")}function P7n(r,o,l,a){let p=o.charAt(0);return p=="*"||p=="+"&&l.ranges.length==a.ranges.length&&l.somethingSelected()==a.somethingSelected()&&new Date-r.history.lastSelTime<=(r.cm?r.cm.options.historyEventDelay:500)}function O7n(r,o,l,a){let p=r.history,g=a&&a.origin;l==p.lastSelOp||g&&p.lastSelOrigin==g&&(p.lastModTime==p.lastSelTime&&p.lastOrigin==g||P7n(r,g,ec(p.done),o))?p.done[p.done.length-1]=o:are(o,p.done),p.lastSelTime=+new Date,p.lastSelOrigin=g,p.lastSelOp=l,a&&a.clearRedo!==!1&&ITt(p.undone)}function are(r,o){let l=ec(o);l&&l.ranges&&l.equals(r)||o.push(r)}function q8t(r,o,l,a){let p=o["spans_"+r.id],g=0;r.iter(Math.max(r.first,l),Math.min(r.first+r.size,a),w=>{w.markedSpans&&((p||(p=o["spans_"+r.id]={}))[g]=w.markedSpans),++g})}function _7n(r){if(!r)return null;let o;for(let l=0;l-1&&(ec(S)[p]=I[p],delete I[p])}}return a}function sxe(r,o,l,a){if(a){let p=r.anchor;if(l){let g=Bo(o,p)<0;g!=Bo(l,p)<0?(p=o,o=l):g!=Bo(o,l)<0&&(o=l)}return new Ic(p,o)}else return new Ic(l||o,o)}function Iie(r,o,l,a,p){p==null&&(p=r.cm&&(r.cm.display.shift||r.extend)),Gh(r,new V7([sxe(r.sel.primary(),o,l,p)],0),a)}function Y8t(r,o,l){let a=[],p=r.cm&&(r.cm.display.shift||r.extend);for(let w=0;w=o.ch:y.to>o.ch))){if(p&&(xf(S,"beforeCursorEnter"),S.explicitlyCleared))if(g.markedSpans){--w;continue}else break;if(!S.atomic)continue;if(l){let _=S.find(a<0?1:-1),R;if((a<0?I:E)&&(_=Q8t(r,_,-a,_&&_.line==o.line?g:null)),_&&_.line==o.line&&(R=Bo(_,l))&&(a<0?R<0:R>0))return XO(r,_,o,a,p)}let P=S.find(a<0?-1:1);return(a<0?E:I)&&(P=Q8t(r,P,a,P.line==o.line?g:null)),P?XO(r,P,o,a,p):null}}return o}function fre(r,o,l,a,p){let g=a||1,w=XO(r,o,l,g,p)||!p&&XO(r,o,l,g,!0)||XO(r,o,l,-g,p)||!p&&XO(r,o,l,-g,!0);return w||(r.cantEdit=!0,nr(r.first,0))}function Q8t(r,o,l,a){return l<0&&o.ch==0?o.line>r.first?No(r,nr(o.line-1)):null:l>0&&o.ch==(a||Ii(r,o.line)).text.length?o.linea.canceled=!0};return l&&(a.update=(p,g,w,y)=>{p&&(a.from=No(r,p)),g&&(a.to=No(r,g)),w&&(a.text=w),y!==void 0&&(a.origin=y)}),xf(r,"beforeChange",r,a),r.cm&&xf(r.cm,"beforeChange",r.cm,a),a.canceled?(r.cm&&(r.cm.curOp.updateInput=2),null):{from:a.from,to:a.to,text:a.text,origin:a.origin}}function M_(r,o,l){if(r.cm){if(!r.cm.curOp)return Md(r.cm,M_)(r,o,l);if(r.cm.state.suppressEdits)return}if((cm(r,"beforeChange")||r.cm&&cm(r.cm,"beforeChange"))&&(o=LTt(r,o,!0),!o))return;let a=zEt&&!l&&M8n(r,o.from,o.to);if(a)for(let p=a.length-1;p>=0;--p)Z8t(r,{from:a[p].from,to:a[p].to,text:p?[""]:o.text,origin:o.origin});else Z8t(r,o)}function Z8t(r,o){if(o.text.length==1&&o.text[0]==""&&Bo(o.from,o.to)==0)return;let l=ixe(r,o);MTt(r,o,l,r.cm?r.cm.curOp.id:NaN),Fz(r,o,l,HCe(r,o));let a=[];P7(r,(p,g)=>{!g&&Vh(a,p.history)==-1&&(jTt(p.history,o),a.push(p.history)),Fz(p,o,null,HCe(p,o))})}function Xte(r,o,l){let a=r.cm&&r.cm.state.suppressEdits;if(a&&!l)return;let p=r.history,g,w=r.sel,y=o=="undo"?p.done:p.undone,S=o=="undo"?p.undone:p.done,E=0;for(;E=0;--_){let R=g.changes[_];if(R.origin=o,P&&!LTt(r,R,!1)){y.length=0;return}I.push(YCe(r,R));let $=_?ixe(r,R):ec(y);Fz(r,R,$,X8t(r,R)),!_&&r.cm&&r.cm.scrollIntoView({from:R.from,to:$7(R)});let K=[];P7(r,(q,Q)=>{!Q&&Vh(K,q.history)==-1&&(jTt(q.history,R),K.push(q.history)),Fz(q,R,null,X8t(q,R))})}}function e7t(r,o){if(o!=0&&(r.first+=o,r.sel=new V7(wie(r.sel.ranges,l=>new Ic(nr(l.anchor.line+o,l.anchor.ch),nr(l.head.line+o,l.head.ch))),r.sel.primIndex),r.cm)){Dp(r.cm,r.first,r.first-o,o);for(let l=r.cm.display,a=l.viewFrom;ar.lastLine())return;if(o.from.linep&&(o={from:o.from,to:nr(p,Ii(r,p).text.length),text:[o.text[0]],origin:o.origin}),o.removed=PE(r,o.from,o.to),l||(l=ixe(r,o)),r.cm?L7n(r.cm,o,a):oxe(r,o,a),Mie(r,l,y3),r.cantEdit&&fre(r,nr(r.firstLine(),0))&&(r.cantEdit=!1)}function L7n(r,o,l){let a=r.doc,p=r.display,g=o.from,w=o.to,y=!1,S=g.line;r.options.lineWrapping||(S=gc(C3(Ii(a,g.line))),a.iter(S,w.line+1,_=>{if(_==p.maxLine)return y=!0,!0})),a.sel.contains(o.from,o.to)>-1&&AEt(r),oxe(a,o,l,aTt(r)),r.options.lineWrapping||(a.iter(S,g.line+o.text.length,_=>{let R=cre(_);R>p.maxLineLength&&(p.maxLine=_,p.maxLineLength=R,p.maxLineChanged=!0,y=!1)}),y&&(r.curOp.updateMaxLine=!0)),k8n(a,g.line),PH(r,400);let E=o.text.length-(w.line-g.line)-1;o.full?Dp(r):g.line==w.line&&o.text.length==1&&!xTt(r.doc,o)?W7(r,g.line,"text"):Dp(r,g.line,w.line+1,E);let I=cm(r,"changes"),P=cm(r,"change");if(P||I){let _={from:g,to:w,text:o.text,removed:o.removed,origin:o.origin};P&&Od(r,"change",r,_),I&&(r.curOp.changeObjs||(r.curOp.changeObjs=[])).push(_)}r.display.selForContextMenu=null}function W_(r,o,l,a,p){a||(a=l),Bo(a,l)<0&&([l,a]=[a,l]),typeof o=="string"&&(o=r.splitLines(o)),M_(r,{from:l,to:a,text:o,origin:p})}function t7t(r,o,l,a){l1||!(this.children[0]instanceof GF))){let l=[];this.collapse(l),this.children=[new GF(l)],this.children[0].parent=this}},collapse(r){for(let o=0;o50){let w=p.lines.length%25+25;for(let y=w;y10);r.parent.maybeSpill()},iterN(r,o,l){for(let a=0;a{r7t(r,l,-p),W7(r,a,"widget")}),Od(r,"lineWidgetCleared",r,this,a))}changed(){let r=this.height,o=this.doc.cm,l=this.line;this.height=null;let a=Dz(this)-r;a&&(L7(this.doc,l)||k3(l,l.height+a),o&&qg(o,()=>{o.curOp.forceUpdate=!0,r7t(o,l,a),Od(o,"lineWidgetChanged",o,this,gc(l))}))}};z_(cxe);function r7t(r,o,l){J6(o)<(r.curOp&&r.curOp.scrollTop||r.doc.scrollTop)&&exe(r,l)}function j7n(r,o,l,a){let p=new cxe(r,l,a),g=r.cm;return g&&p.noHScroll&&(g.display.alignWidgets=!0),SF(r,o,"widget",w=>{let y=w.widgets||(w.widgets=[]);if(p.insertAt==null?y.push(p):y.splice(Math.min(y.length,Math.max(0,p.insertAt)),0,p),p.line=w,g&&!L7(r,w)){let S=J6(w)r.display.maxLineLength&&(r.display.maxLine=g,r.display.maxLineLength=w,r.display.maxLineChanged=!0)}l!=null&&r&&this.collapsed&&Dp(r,l,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,r&&_Tt(r.doc)),r&&Od(r,"markerCleared",r,this,l,a),o&&eT(r),this.parent&&this.parent.clear()}find(r,o){r==null&&this.type=="bookmark"&&(r=1);let l,a;for(let p=0;p{let a=r.line,p=gc(r.line),g=U9e(l,p);if(g&&(iTt(g),l.curOp.selectionChanged=l.curOp.forceUpdate=!0),l.curOp.updateMaxLine=!0,!L7(o.doc,a)&&o.height!=null){let w=o.height;o.height=null;let y=Dz(o)-w;y&&k3(a,a.height+y)}Od(l,"markerChanged",l,this)})}attachLine(r){if(!this.lines.length&&this.doc.cm){let o=this.doc.cm.curOp;(!o.maybeHiddenMarkers||Vh(o.maybeHiddenMarkers,this)==-1)&&(o.maybeUnhiddenMarkers||(o.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(r)}detachLine(r){if(this.lines.splice(Vh(this.lines,r),1),!this.lines.length&&this.doc.cm){let o=this.doc.cm.curOp;(o.maybeHiddenMarkers||(o.maybeHiddenMarkers=[])).push(this)}}};z_(uxe);function P_(r,o,l,a,p){if(a&&a.shared)return $7n(r,o,l,a,p);if(r.cm&&!r.cm.curOp)return Md(r.cm,P_)(r,o,l,a,p);let g=new uxe(r,p),w=Bo(o,l);if(a&&NE(a,g,!1),w>0||w==0&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=s_("span",[g.replacedWith],"CodeMirror-widget"),a.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),a.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if($8t(r,o.line,o,l,g)||o.line!=l.line&&$8t(r,l.line,o,l,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");S8n()}g.addToHistory&&MTt(r,{from:o,to:l,origin:"markText"},r.sel,NaN);let y=o.line,S=r.cm,E;if(r.iter(y,l.line+1,I=>{S&&g.collapsed&&!S.options.lineWrapping&&C3(I)==S.display.maxLine&&(E=!0),g.collapsed&&y!=o.line&&k3(I,0),E8n(I,new kie(g,y==o.line?o.ch:null,y==l.line?l.ch:null)),++y}),g.collapsed&&r.iter(o.line,l.line+1,I=>{L7(r,I)&&k3(I,0)}),g.clearOnEnter&&no(g,"beforeCursorEnter",()=>g.clear()),g.readOnly&&(C8n(),(r.history.done.length||r.history.undone.length)&&r.clearHistory()),g.collapsed&&(g.id=++$Tt,g.atomic=!0),S){if(E&&(S.curOp.updateMaxLine=!0),g.collapsed)Dp(S,o.line,l.line+1);else if(g.className||g.startStyle||g.endStyle||g.css||g.attributes||g.title)for(let I=o.line;I<=l.line;I++)W7(S,I,"text");g.atomic&&_Tt(S.doc),Od(S,"markerAdded",S,g)}return g}var axe=class{constructor(r,o){this.markers=r,this.primary=o;for(let l=0;l{y&&(a.widgetNode=y.cloneNode(!0)),g.push(P_(S,No(S,o),No(S,l),a,p));for(let E=0;Eo.parent)}function D7n(r,o){for(let l=0;la.push(p));for(let p=0;p=0;w--)M_(this,a[w]);g?PTt(this,g):this.cm&&G_(this.cm)}),undo:Ed(function(){Xte(this,"undo")}),redo:Ed(function(){Xte(this,"redo")}),undoSelection:Ed(function(){Xte(this,"undo",!0)}),redoSelection:Ed(function(){Xte(this,"redo",!0)}),setExtending:function(r){this.extend=r},getExtending:function(){return this.extend},historySize:function(){let r=this.history,o=0,l=0;for(let a=0;ar.history=this.history,!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(r){return r&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(r){return this.history.generation==(r||this.cleanGeneration)},getHistory:function(){return{done:LO(this.history.done),undone:LO(this.history.undone)}},setHistory:function(r){let o=this.history=new Tne(this.history);o.done=LO(r.done.slice(0),null,!0),o.undone=LO(r.undone.slice(0),null,!0)},setGutterMarker:Ed(function(r,o,l){return SF(this,r,"gutter",a=>{let p=a.gutterMarkers||(a.gutterMarkers={});return p[o]=l,!l&&P8t(p)&&(a.gutterMarkers=null),!0})}),clearGutter:Ed(function(r){this.iter(o=>{o.gutterMarkers&&o.gutterMarkers[r]&&SF(this,o,"gutter",()=>(o.gutterMarkers[r]=null,P8t(o.gutterMarkers)&&(o.gutterMarkers=null),!0))})}),lineInfo:function(r){let o;if(typeof r=="number"){if(!Az(this,r)||(o=r,r=Ii(this,r),!r))return null}else if(o=gc(r),o==null)return null;return{line:o,handle:r,text:r.text,gutterMarkers:r.gutterMarkers,textClass:r.textClass,bgClass:r.bgClass,wrapClass:r.wrapClass,widgets:r.widgets}},addLineClass:Ed(function(r,o,l){return SF(this,r,o=="gutter"?"gutter":"class",a=>{let p=o=="text"?"textClass":o=="background"?"bgClass":o=="gutter"?"gutterClass":"wrapClass";if(!a[p])a[p]=l;else{if(x_(l).test(a[p]))return!1;a[p]+=" "+l}return!0})}),removeLineClass:Ed(function(r,o,l){return SF(this,r,o=="gutter"?"gutter":"class",a=>{let p=o=="text"?"textClass":o=="background"?"bgClass":o=="gutter"?"gutterClass":"wrapClass",g=a[p];if(g)if(l==null)a[p]=null;else{let w=g.match(x_(l));if(!w)return!1;let y=w.index+w[0].length;a[p]=g.slice(0,w.index)+(!w.index||y==g.length?"":" ")+g.slice(y)||null}else return!1;return!0})}),addLineWidget:Ed(function(r,o,l){return j7n(this,r,o,l)}),removeLineWidget:function(r){r.clear()},markText:function(r,o,l){return P_(this,No(this,r),No(this,o),l,l&&l.type||"range")},setBookmark:function(r,o){let l={replacedWith:o&&(o.nodeType==null?o.widget:o),insertLeft:o&&o.insertLeft,clearWhenEmpty:!1,shared:o&&o.shared,handleMouseEvents:o&&o.handleMouseEvents};return r=No(this,r),P_(this,r,r,l,"bookmark")},findMarksAt:function(r){r=No(this,r);let o=[],l=Ii(this,r.line).markedSpans;if(l)for(let a=0;a=r.ch)&&o.push(p.marker.parent||p.marker)}return o},findMarks:function(r,o,l){r=No(this,r),o=No(this,o);let a=[],p=r.line;return this.iter(r.line,o.line+1,g=>{let w=g.markedSpans;if(w)for(let y=0;y=S.to||S.from==null&&p!=r.line||S.from!=null&&p==o.line&&S.from>=o.ch)&&(!l||l(S.marker))&&a.push(S.marker.parent||S.marker)}++p}),a},getAllMarks:function(){let r=[];return this.iter(o=>{let l=o.markedSpans;if(l)for(let a=0;a{let g=p.text.length+a;if(g>r)return o=r,!0;r-=g,++l}),No(this,nr(l,o))},indexFromPos:function(r){r=No(this,r);let o=r.ch;if(r.line{o+=a.text.length+l}),o},copy:function(r){let o=new B6(I7e(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return o.scrollTop=this.scrollTop,o.scrollLeft=this.scrollLeft,o.sel=this.sel,o.extend=!1,r&&(o.history.undoDepth=this.history.undoDepth,o.setHistory(this.getHistory())),o},linkedDoc:function(r){r||(r={});let o=this.first,l=this.first+this.size;r.from!=null&&r.from>o&&(o=r.from),r.to!=null&&r.too.push(l.id),!0),r.history=new Tne(null),r.history.done=LO(this.history.done,o),r.history.undone=LO(this.history.undone,o)}},iterLinkedDocs:function(r){P7(this,r)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(r){return this.lineSep?r.split(this.lineSep):_9e(r)},lineSeparator:function(){return this.lineSep||` -`},setDirection:Ed(function(r){r!="rtl"&&(r="ltr"),r!=this.direction&&(this.direction=r,this.iter(o=>o.order=null),this.cm&&I7n(this.cm))})});B6.prototype.eachLine=B6.prototype.iter;var OE=B6,DTt=0;function F7n(r){let o=this;if(NTt(o),Td(o,r)||Q6(o.display,r))return;$p(r),El&&(DTt=+new Date);let l=BE(o,r,!0),a=r.dataTransfer.files;if(!(!l||o.isReadOnly()))if(a&&a.length&&window.FileReader&&window.File){let p=a.length,g=Array(p),w=0;const y=()=>{++w==p&&Md(o,()=>{l=No(o.doc,l);let E={from:l,to:l,text:o.doc.splitLines(g.filter(I=>I!=null).join(o.doc.lineSeparator())),origin:"paste"};M_(o.doc,E),PTt(o.doc,j7(No(o.doc,l),No(o.doc,$7(E))))})()},S=(E,I)=>{if(o.options.allowDropFileTypes&&Vh(o.options.allowDropFileTypes,E.type)==-1){y();return}let P=new FileReader;P.onerror=()=>y(),P.onload=()=>{let _=P.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(_)){y();return}g[I]=_,y()},P.readAsText(E)};for(let E=0;E-1){o.state.draggingText(r),setTimeout(()=>o.display.input.focus(),20);return}try{let p=r.dataTransfer.getData("Text");if(p){let g;if(o.state.draggingText&&!o.state.draggingText.copy&&(g=o.listSelections()),Mie(o.doc,j7(l,l)),g)for(let w=0;w{for(let a=0;a{r==null&&(r=setTimeout(()=>{r=null,o7t(G7n)},100))}),no(window,"blur",()=>o7t(U_))}function G7n(r){let o=r.display;o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.scrollbarsClipped=!1,r.setSize()}var D7={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};for(let r=0;r<10;r++)D7[r+48]=D7[r+96]=String(r);for(let r=65;r<=90;r++)D7[r]=String.fromCharCode(r);for(let r=1;r<=12;r++)D7[r+111]=D7[r+63235]="F"+r;var K6={};K6.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"};K6.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"};K6.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"};K6.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]};K6.default=lm?K6.macDefault:K6.pcDefault;function W7n(r){let o=r.split(/-(?!$)/);r=o[o.length-1];let l,a,p,g;for(let w=0;w{for(let p=a.length-1;p>=0;p--)W_(r.doc,"",a[p].from,a[p].to,"+delete");G_(r)})}function fxe(r,o,l){let a=_Et(r.text,o+l,l);return a<0||a>r.text.length?null:a}function JCe(r,o,l){let a=fxe(r,o.ch,l);return a==null?null:new nr(o.line,a,l<0?"after":"before")}function dxe(r,o,l,a,p){if(r){o.doc.direction=="rtl"&&(p=-p);let g=o5(l,o.doc.direction);if(g){let w=p<0?ec(g):g[0],S=p<0==(w.level==1)?"after":"before",E;if(w.level>0||o.doc.direction=="rtl"){let I=H_(o,l);E=p<0?l.text.length-1:0;let P=x3(o,I,E).top;E=Oz(_=>x3(o,I,_).top==P,p<0==(w.level==1)?w.from:w.to-1,E),S=="before"&&(E=fxe(l,E,1))}else E=p<0?w.to:w.from;return new nr(a,E,S)}}return new nr(a,p<0?l.text.length:0,p<0?"before":"after")}function q7n(r,o,l,a){let p=o5(o,r.doc.direction);if(!p)return JCe(o,l,a);l.ch>=o.text.length?(l.ch=o.text.length,l.sticky="before"):l.ch<=0&&(l.ch=0,l.sticky="after");let g=_z(p,l.ch,l.sticky),w=p[g];if(r.doc.direction=="ltr"&&w.level%2==0&&(a>0?w.to>l.ch:w.fromfxe(o,$ instanceof nr?$.ch:$,K),S,E=$=>r.options.lineWrapping?(S=S||H_(r,o),uTt(r,o,S,$)):{begin:0,end:o.text.length},I=E(l.sticky=="before"?y(l,-1):l.ch);if(r.doc.direction=="rtl"||w.level==1){let $=w.level==1==a<0,K=y(l,$?1:-1);if(K!=null&&($?K<=w.to&&K<=I.end:K>=w.from&&K>=I.begin)){let q=$?"before":"after";return new nr(l.line,K,q)}}let P=($,K,q)=>{let Q=(ee,J)=>J?new nr(l.line,y(ee,1),"before"):new nr(l.line,ee,"after");for(;$>=0&&$0==(ee.level!=1),oe=J?q.begin:y(q.end,-1);if(ee.from<=oe&&oe0?I.end:y(I.begin,-1);return R!=null&&!(a>0&&R==o.text.length)&&(_=P(a>0?0:p.length-1,a,E(R)),_)?_:null}var zz={selectAll:ATt,singleSelection:r=>r.setSelection(r.getCursor("anchor"),r.getCursor("head"),y3),killLine:r=>UO(r,o=>{if(o.empty()){let l=Ii(r.doc,o.head.line).text.length;return o.head.ch==l&&o.head.lineUO(r,o=>({from:nr(o.from().line,0),to:No(r.doc,nr(o.to().line+1,0))})),delLineLeft:r=>UO(r,o=>({from:nr(o.from().line,0),to:o.from()})),delWrappedLineLeft:r=>UO(r,o=>{let l=r.charCoords(o.head,"div").top+5;return{from:r.coordsChar({left:0,top:l},"div"),to:o.from()}}),delWrappedLineRight:r=>UO(r,o=>{let l=r.charCoords(o.head,"div").top+5,a=r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:l},"div");return{from:o.from(),to:a}}),undo:r=>r.undo(),redo:r=>r.redo(),undoSelection:r=>r.undoSelection(),redoSelection:r=>r.redoSelection(),goDocStart:r=>r.extendSelection(nr(r.firstLine(),0)),goDocEnd:r=>r.extendSelection(nr(r.lastLine())),goLineStart:r=>r.extendSelectionsBy(o=>HTt(r,o.head.line),{origin:"+move",bias:1}),goLineStartSmart:r=>r.extendSelectionsBy(o=>l7t(r,o.head),{origin:"+move",bias:1}),goLineEnd:r=>r.extendSelectionsBy(o=>X7n(r,o.head.line),{origin:"+move",bias:-1}),goLineRight:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5;return r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:l},"div")},FF),goLineLeft:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5;return r.coordsChar({left:0,top:l},"div")},FF),goLineLeftSmart:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5,a=r.coordsChar({left:0,top:l},"div");return a.chr.moveV(-1,"line"),goLineDown:r=>r.moveV(1,"line"),goPageUp:r=>r.moveV(-1,"page"),goPageDown:r=>r.moveV(1,"page"),goCharLeft:r=>r.moveH(-1,"char"),goCharRight:r=>r.moveH(1,"char"),goColumnLeft:r=>r.moveH(-1,"column"),goColumnRight:r=>r.moveH(1,"column"),goWordLeft:r=>r.moveH(-1,"word"),goGroupRight:r=>r.moveH(1,"group"),goGroupLeft:r=>r.moveH(-1,"group"),goWordRight:r=>r.moveH(1,"word"),delCharBefore:r=>r.deleteH(-1,"codepoint"),delCharAfter:r=>r.deleteH(1,"char"),delWordBefore:r=>r.deleteH(-1,"word"),delWordAfter:r=>r.deleteH(1,"word"),delGroupBefore:r=>r.deleteH(-1,"group"),delGroupAfter:r=>r.deleteH(1,"group"),indentAuto:r=>r.indentSelection("smart"),indentMore:r=>r.indentSelection("add"),indentLess:r=>r.indentSelection("subtract"),insertTab:r=>r.replaceSelection(" "),insertSoftTab:r=>{let o=[],l=r.listSelections(),a=r.options.tabSize;for(let p=0;p{r.somethingSelected()?r.indentSelection("add"):r.execCommand("insertTab")},transposeChars:r=>qg(r,()=>{let o=r.listSelections(),l=[];for(let a=0;a0)p=new nr(p.line,p.ch+1),r.replaceRange(g.charAt(p.ch-1)+g.charAt(p.ch-2),nr(p.line,p.ch-2),p,"+transpose");else if(p.line>r.doc.first){let w=Ii(r.doc,p.line-1).text;w&&(p=new nr(p.line,1),r.replaceRange(g.charAt(0)+r.doc.lineSeparator()+w.charAt(w.length-1),nr(p.line-1,w.length-1),p,"+transpose"))}}l.push(new Ic(p,p))}r.setSelections(l)}),newlineAndIndent:r=>qg(r,()=>{let o=r.listSelections();for(let l=o.length-1;l>=0;l--)r.replaceRange(r.doc.lineSeparator(),o[l].anchor,o[l].head,"+input");o=r.listSelections();for(let l=0;lr.replaceSelection(` -`,"start"),toggleOverwrite:r=>r.toggleOverwrite()};function HTt(r,o){let l=Ii(r.doc,o),a=C3(l);return a!=l&&(o=gc(a)),dxe(!0,r,a,o,1)}function X7n(r,o){let l=Ii(r.doc,o),a=O8n(l);return a!=l&&(o=gc(a)),dxe(!0,r,l,o,-1)}function l7t(r,o){let l=HTt(r,o.line),a=Ii(r.doc,l.line),p=o5(a,r.doc.direction);if(!p||p[0].level==0){let g=Math.max(l.ch,a.text.search(/\S/)),w=o.line==l.line&&o.ch<=g&&o.ch;return nr(l.line,w?0:g,l.sticky)}return l}function Ine(r,o,l){if(typeof o=="string"&&(o=zz[o],!o))return!1;r.display.input.ensurePolled();let a=r.display.shift,p=!1;try{r.isReadOnly()&&(r.state.suppressEdits=!0),l&&(r.display.shift=!1),p=o(r)!=bie}finally{r.display.shift=a,r.state.suppressEdits=!1}return p}function Y7n(r,o,l){for(let a=0;a{r.state.keySeq==p&&(r.state.keySeq=null,r.display.input.reset())}),c7t(r,p+" "+o,l,a))return!0}return c7t(r,o,l,a)}function c7t(r,o,l,a){let p=Y7n(r,o,a);return p=="multi"&&(r.state.keySeq=o),p=="handled"&&Od(r,"keyHandled",r,o,l),(p=="handled"||p=="multi")&&($p(l),Y9e(r)),!!p}function KTt(r,o){let l=zTt(o,!0);return l?o.shiftKey&&!r.state.keySeq?VF(r,"Shift-"+l,o,a=>Ine(r,a,!0))||VF(r,l,o,a=>{if(typeof a=="string"?/^go[A-Z]/.test(a):a.motion)return Ine(r,a)}):VF(r,l,o,a=>Ine(r,a)):!1}function Q7n(r,o,l){return VF(r,"'"+l+"'",o,a=>Ine(r,a,!0))}var QCe=null;function UTt(r){let o=this;if(r.target&&r.target!=o.display.input.getField()||(o.curOp.focus=im(),Td(o,r)))return;El&&vu<11&&r.keyCode==27&&(r.returnValue=!1);let l=r.keyCode;o.display.shift=l==16||r.shiftKey;let a=KTt(o,r);cy&&(QCe=a?l:null,!a&&l==88&&!h8n&&(lm?r.metaKey:r.ctrlKey)&&o.replaceSelection("",null,"cut")),X6&&!lm&&!a&&l==46&&r.shiftKey&&!r.ctrlKey&&document.execCommand&&document.execCommand("cut"),l==18&&!/\bCodeMirror-crosshair\b/.test(o.display.lineDiv.className)&&Z7n(o)}function Z7n(r){let o=r.display.lineDiv;YE(o,"CodeMirror-crosshair");function l(a){(a.keyCode==18||!a.altKey)&&(XE(o,"CodeMirror-crosshair"),db(document,"keyup",l),db(document,"mouseover",l))}no(document,"keyup",l),no(document,"mouseover",l)}function GTt(r){r.keyCode==16&&(this.doc.sel.shift=!1),Td(this,r)}function WTt(r){let o=this;if(r.target&&r.target!=o.display.input.getField()||Q6(o.display,r)||Td(o,r)||r.ctrlKey&&!r.altKey||lm&&r.metaKey)return;let l=r.keyCode,a=r.charCode;if(cy&&l==QCe){QCe=null,$p(r);return}if(cy&&(!r.which||r.which<10)&&KTt(o,r))return;let p=String.fromCharCode(a??l);p!="\b"&&(Q7n(o,r,p)||o.display.input.onKeyPress(r))}var eCn=400,u7t=class{constructor(r,o,l){this.time=r,this.pos=o,this.button=l}compare(r,o,l){return this.time+eCn>r&&Bo(o,this.pos)==0&&l==this.button}},aF,fF;function tCn(r,o){let l=+new Date;return fF&&fF.compare(l,r,o)?(aF=fF=null,"triple"):aF&&aF.compare(l,r,o)?(fF=new u7t(l,r,o),aF=null,"double"):(aF=new u7t(l,r,o),fF=null,"single")}function VTt(r){let o=this,l=o.display;if(Td(o,r)||l.activeTouch&&l.input.supportsTouch())return;if(l.input.ensurePolled(),l.shift=r.shiftKey,Q6(l,r)){R1||(l.scroller.draggable=!1,setTimeout(()=>l.scroller.draggable=!0,100));return}if(ZCe(o,r))return;let a=BE(o,r),p=jEt(r),g=a?tCn(a,p):"single";window.focus(),p==1&&o.state.selectingText&&o.state.selectingText(r),!(a&&nCn(o,p,a,g,r))&&(p==1?a?iCn(o,a,g,r):O9e(r)==l.scroller&&$p(r):p==2?(a&&Iie(o.doc,a),setTimeout(()=>l.input.focus(),20)):p==3&&(T9e?o.display.input.onContextMenu(r):J9e(o)))}function nCn(r,o,l,a,p){let g="Click";return a=="double"?g="Double"+g:a=="triple"&&(g="Triple"+g),g=(o==1?"Left":o==2?"Middle":"Right")+g,VF(r,FTt(g,p),p,w=>{if(typeof w=="string"&&(w=zz[w]),!w)return!1;let y=!1;try{r.isReadOnly()&&(r.state.suppressEdits=!0),y=w(r,l)!=bie}finally{r.state.suppressEdits=!1}return y})}function rCn(r,o,l){let a=r.getOption("configureMouse"),p=a?a(r,o,l):{};if(p.unit==null){let g=n8n?l.shiftKey&&l.metaKey:l.altKey;p.unit=g?"rectangle":o=="single"?"char":o=="double"?"word":"line"}return(p.extend==null||r.doc.extend)&&(p.extend=r.doc.extend||l.shiftKey),p.addNew==null&&(p.addNew=lm?l.metaKey:l.ctrlKey),p.moveOnDrag==null&&(p.moveOnDrag=!(lm?l.altKey:l.ctrlKey)),p}function iCn(r,o,l,a){El?setTimeout(I9e(hTt,r),0):r.curOp.focus=im();let p=rCn(r,l,a),g=r.doc.sel,w;r.options.dragDrop&&u8n&&!r.isReadOnly()&&l=="single"&&(w=g.contains(o))>-1&&(Bo((w=g.ranges[w]).from(),o)<0||o.xRel>0)&&(Bo(w.to(),o)>0||o.xRel<0)?oCn(r,a,o,p):sCn(r,a,o,p)}function oCn(r,o,l,a){let p=r.display,g=!1,w=Md(r,E=>{R1&&(p.scroller.draggable=!1),r.state.draggingText=!1,r.state.delayingBlurEvent&&(r.hasFocus()?r.state.delayingBlurEvent=!1:J9e(r)),db(p.wrapper.ownerDocument,"mouseup",w),db(p.wrapper.ownerDocument,"mousemove",y),db(p.scroller,"dragstart",S),db(p.scroller,"drop",w),g||($p(E),a.addNew||Iie(r.doc,l,null,null,a.extend),R1&&!pie||El&&vu==9?setTimeout(()=>{p.wrapper.ownerDocument.body.focus({preventScroll:!0}),p.input.focus()},20):p.input.focus())}),y=function(E){g=g||Math.abs(o.clientX-E.clientX)+Math.abs(o.clientY-E.clientY)>=10},S=()=>g=!0;R1&&(p.scroller.draggable=!0),r.state.draggingText=w,w.copy=!a.moveOnDrag,no(p.wrapper.ownerDocument,"mouseup",w),no(p.wrapper.ownerDocument,"mousemove",y),no(p.scroller,"dragstart",S),no(p.scroller,"drop",w),r.state.delayingBlurEvent=!0,setTimeout(()=>p.input.focus(),20),p.scroller.dragDrop&&p.scroller.dragDrop()}function a7t(r,o,l){if(l=="char")return new Ic(o,o);if(l=="word")return r.findWordAt(o);if(l=="line")return new Ic(nr(o.line,0),No(r.doc,nr(o.line+1,0)));let a=l(r,o);return new Ic(a.from,a.to)}function sCn(r,o,l,a){El&&J9e(r);let p=r.display,g=r.doc;$p(o);let w,y,S=g.sel,E=S.ranges;if(a.addNew&&!a.extend?(y=g.sel.contains(l),y>-1?w=E[y]:w=new Ic(l,l)):(w=g.sel.primary(),y=g.sel.primIndex),a.unit=="rectangle")a.addNew||(w=new Ic(l,l)),l=BE(r,o,!0,!0),y=-1;else{let ee=a7t(r,l,a.unit);a.extend?w=sxe(w,ee.anchor,ee.head,a.extend):w=ee}a.addNew?y==-1?(y=E.length,Gh(g,oy(r,E.concat([w]),y),{scroll:!1,origin:"*mouse"})):E.length>1&&E[y].empty()&&a.unit=="char"&&!a.extend?(Gh(g,oy(r,E.slice(0,y).concat(E.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),S=g.sel):lxe(g,y,w,S7e):(y=0,Gh(g,new V7([w],0),S7e),S=g.sel);let I=l;function P(ee){if(Bo(I,ee)!=0)if(I=ee,a.unit=="rectangle"){let J=[],oe=r.options.tabSize,$e=tm(Ii(g,l.line).text,l.ch,oe),et=tm(Ii(g,ee.line).text,ee.ch,oe),wt=Math.min($e,et),bt=Math.max($e,et);for(let ce=Math.min(l.line,ee.line),Be=Math.min(r.lastLine(),Math.max(l.line,ee.line));ce<=Be;ce++){let ae=Ii(g,ce).text,xe=$Ce(ae,wt,oe);wt==bt?J.push(new Ic(nr(ce,xe),nr(ce,xe))):ae.length>xe&&J.push(new Ic(nr(ce,xe),nr(ce,$Ce(ae,bt,oe))))}J.length||J.push(new Ic(l,l)),Gh(g,oy(r,S.ranges.slice(0,y).concat(J),y),{origin:"*mouse",scroll:!1}),r.scrollIntoView(ee)}else{let J=w,oe=a7t(r,ee,a.unit),$e=J.anchor,et;Bo(oe.anchor,$e)>0?(et=oe.head,$e=yie(J.from(),oe.anchor)):(et=oe.anchor,$e=vie(J.to(),oe.head));let wt=S.ranges.slice(0);wt[y]=lCn(r,new Ic(No(g,$e),et)),Gh(g,oy(r,wt,y),S7e)}}let _=p.wrapper.getBoundingClientRect(),R=0;function $(ee){let J=++R,oe=BE(r,ee,!0,a.unit=="rectangle");if(oe)if(Bo(oe,I)!=0){r.curOp.focus=im(),P(oe);let $e=ure(p,g);(oe.line>=$e.to||oe.line<$e.from)&&setTimeout(Md(r,()=>{R==J&&$(ee)}),150)}else{let $e=ee.clientY<_.top?-20:ee.clientY>_.bottom?20:0;$e&&setTimeout(Md(r,()=>{R==J&&(p.scroller.scrollTop+=$e,$(ee))}),50)}}function K(ee){r.state.selectingText=!1,R=1/0,ee&&($p(ee),p.input.focus()),db(p.wrapper.ownerDocument,"mousemove",q),db(p.wrapper.ownerDocument,"mouseup",Q),g.history.lastSelOrigin=null}let q=Md(r,ee=>{ee.buttons===0||!jEt(ee)?K(ee):$(ee)}),Q=Md(r,K);r.state.selectingText=Q,no(p.wrapper.ownerDocument,"mousemove",q),no(p.wrapper.ownerDocument,"mouseup",Q)}function lCn(r,o){let{anchor:l,head:a}=o,p=Ii(r.doc,l.line);if(Bo(l,a)==0&&l.sticky==a.sticky)return o;let g=o5(p);if(!g)return o;let w=_z(g,l.ch,l.sticky),y=g[w];if(y.from!=l.ch&&y.to!=l.ch)return o;let S=w+(y.from==l.ch==(y.level!=1)?0:1);if(S==0||S==g.length)return o;let E;if(a.line!=l.line)E=(a.line-l.line)*(r.doc.direction=="ltr"?1:-1)>0;else{let $=_z(g,a.ch,a.sticky),K=$-w||(a.ch-l.ch)*(y.level==1?-1:1);$==S-1||$==S?E=K<0:E=K>0}let I=g[S+(E?-1:0)],P=E==(I.level==1),_=P?I.from:I.to,R=P?"after":"before";return l.ch==_&&l.sticky==R?o:new Ic(new nr(l.line,_,R),a)}function qTt(r,o,l,a){let p,g;if(o.touches)p=o.touches[0].clientX,g=o.touches[0].clientY;else try{p=o.clientX,g=o.clientY}catch{return!1}if(p>=Math.floor(r.display.gutters.getBoundingClientRect().right))return!1;a&&$p(o);let w=r.display,y=w.lineDiv.getBoundingClientRect();if(g>y.bottom||!cm(r,l))return BCe(o);g-=y.top-w.viewOffset;for(let S=0;S=p){let I=yE(r.doc,g),P=r.display.gutterSpecs[S];return xf(r,l,r,I,P.className,o),BCe(o)}}}function ZCe(r,o){return qTt(r,o,"gutterClick",!0)}function f7t(r,o){Q6(r.display,o)||cCn(r,o)||Td(r,o,"contextmenu")||T9e||r.display.input.onContextMenu(o)}function cCn(r,o){return cm(r,"gutterContextMenu")?qTt(r,o,"gutterContextMenu",!1):!1}function XTt(r){r.display.wrapper.className=r.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+r.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Nz(r)}var YO={toString:function(){return"CodeMirror.Init"}},YTt={},Mne={};function uCn(r){let o=r.optionHandlers;function l(a,p,g,w){r.defaults[a]=p,g&&(o[a]=w?(y,S,E)=>{E!=YO&&g(y,S,E)}:g)}r.defineOption=l,r.Init=YO,l("value","",(a,p)=>a.setValue(p),!0),l("mode",null,(a,p)=>{a.doc.modeOption=p,XCe(a)},!0),l("indentUnit",2,XCe,!0),l("indentWithTabs",!1),l("smartIndent",!0),l("tabSize",4,a=>{CF(a),Nz(a),Dp(a)},!0),l("lineSeparator",null,(a,p)=>{if(a.doc.lineSep=p,!p)return;let g=[],w=a.doc.first;a.doc.iter(y=>{for(let S=0;;){let E=y.text.indexOf(p,S);if(E==-1)break;S=E+p.length,g.push(nr(w,E))}w++});for(let y=g.length-1;y>=0;y--)W_(a.doc,p,g[y],nr(g[y].line,g[y].ch+p.length))}),l("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(a,p,g)=>{a.state.specialChars=new RegExp(p.source+(p.test(" ")?"":"| "),"g"),g!=YO&&a.refresh()}),l("specialCharPlaceholder",$8n,a=>a.refresh(),!0),l("electricChars",!0),l("inputStyle",Mz?"contenteditable":"textarea",()=>{throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),l("spellcheck",!1,(a,p)=>a.getInputField().spellcheck=p,!0),l("autocorrect",!1,(a,p)=>a.getInputField().autocorrect=p,!0),l("autocapitalize",!1,(a,p)=>a.getInputField().autocapitalize=p,!0),l("rtlMoveVisually",!r8n),l("wholeLineUpdateBefore",!0),l("theme","default",a=>{XTt(a),uF(a)},!0),l("keyMap","default",(a,p,g)=>{let w=dre(p),y=g!=YO&&dre(g);y&&y.detach&&y.detach(a,w),w.attach&&w.attach(a,y||null)}),l("extraKeys",null),l("configureMouse",null),l("lineWrapping",!1,fCn,!0),l("gutters",[],(a,p)=>{a.display.gutterSpecs=qCe(p,a.options.lineNumbers),uF(a)},!0),l("fixedGutter",!0,(a,p)=>{a.display.gutters.style.left=p?q9e(a.display)+"px":"0",a.refresh()},!0),l("coverGutterNextToScrollbar",!1,a=>I_(a),!0),l("scrollbarStyle","native",a=>{wTt(a),I_(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),l("lineNumbers",!1,(a,p)=>{a.display.gutterSpecs=qCe(a.options.gutters,p),uF(a)},!0),l("firstLineNumber",1,uF,!0),l("lineNumberFormatter",a=>a,uF,!0),l("showCursorWhenSelecting",!1,KF,!0),l("resetSelectionOnContextMenu",!0),l("lineWiseCopyCut",!0),l("pasteLinesPerSelection",!0),l("selectionsMayTouch",!1),l("readOnly",!1,(a,p)=>{p=="nocursor"&&(U_(a),a.display.input.blur()),a.display.input.readOnlyChanged(p)}),l("screenReaderLabel",null,(a,p)=>{p=p===""?null:p,a.display.input.screenReaderLabelChanged(p)}),l("disableInput",!1,(a,p)=>{p||a.display.input.reset()},!0),l("dragDrop",!0,aCn),l("allowDropFileTypes",null),l("cursorBlinkRate",530),l("cursorScrollMargin",0),l("cursorHeight",1,KF,!0),l("singleCursorHeightPerLine",!0,KF,!0),l("workTime",100),l("workDelay",100),l("flattenSpans",!0,CF,!0),l("addModeClass",!1,CF,!0),l("pollInterval",100),l("undoDepth",200,(a,p)=>a.doc.history.undoDepth=p),l("historyEventDelay",1250),l("viewportMargin",10,a=>a.refresh(),!0),l("maxHighlightLength",1e4,CF,!0),l("moveInputWithCursor",!0,(a,p)=>{p||a.display.input.resetPosition()}),l("tabindex",null,(a,p)=>a.display.input.getField().tabIndex=p||""),l("autofocus",null),l("direction","ltr",(a,p)=>a.doc.setDirection(p),!0),l("phrases",null)}function aCn(r,o,l){let a=l&&l!=YO;if(!o!=!a){let p=r.display.dragFunctions,g=o?no:db;g(r.display.scroller,"dragstart",p.start),g(r.display.scroller,"dragenter",p.enter),g(r.display.scroller,"dragover",p.over),g(r.display.scroller,"dragleave",p.leave),g(r.display.scroller,"drop",p.drop)}}function fCn(r){r.options.lineWrapping?(YE(r.display.wrapper,"CodeMirror-wrap"),r.display.sizer.style.minWidth="",r.display.sizerWidth=null):(XE(r.display.wrapper,"CodeMirror-wrap"),F9e(r)),X9e(r),Dp(r),Nz(r),setTimeout(()=>I_(r),100)}function Ou(r,o){if(!(this instanceof Ou))return new Ou(r,o);this.options=o=o?NE(o):{},NE(YTt,o,!1);let l=o.value;typeof l=="string"?l=new OE(l,o.mode,null,o.lineSeparator,o.direction):o.mode&&(l.modeOption=o.mode),this.doc=l;let a=new Ou.inputStyles[o.inputStyle](this),p=this.display=new x7n(r,l,a,o);p.wrapper.CodeMirror=this,XTt(this),o.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),wTt(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new E_,keySeq:null,specialChars:null},o.autofocus&&!Mz&&p.input.focus(),El&&vu<11&&setTimeout(()=>this.display.input.reset(!0),20),hCn(this),K7n(),ZE(this),this.curOp.forceUpdate=!0,ETt(this,l),o.autofocus&&!Mz||this.hasFocus()?setTimeout(()=>{this.hasFocus()&&!this.state.focused&&Q9e(this)},20):U_(this);for(let g in Mne)Mne.hasOwnProperty(g)&&Mne[g](this,o[g],YO);kTt(this),o.finishInit&&o.finishInit(this);for(let g=0;g{if(Td(r,S))return;let E=BE(r,S);if(!E||ZCe(r,S)||Q6(r.display,S))return;$p(S);let I=r.findWordAt(E);Iie(r.doc,I.anchor,I.head)})):no(o.scroller,"dblclick",S=>Td(r,S)||$p(S)),no(o.scroller,"contextmenu",S=>f7t(r,S)),no(o.input.getField(),"contextmenu",S=>{o.scroller.contains(S.target)||f7t(r,S)});let l,a={end:0};function p(){o.activeTouch&&(l=setTimeout(()=>o.activeTouch=null,1e3),a=o.activeTouch,a.end=+new Date)}function g(S){if(S.touches.length!=1)return!1;let E=S.touches[0];return E.radiusX<=1&&E.radiusY<=1}function w(S,E){if(E.left==null)return!0;let I=E.left-S.left,P=E.top-S.top;return I*I+P*P>20*20}no(o.scroller,"touchstart",S=>{if(!Td(r,S)&&!g(S)&&!ZCe(r,S)){o.input.ensurePolled(),clearTimeout(l);let E=+new Date;o.activeTouch={start:E,moved:!1,prev:E-a.end<=300?a:null},S.touches.length==1&&(o.activeTouch.left=S.touches[0].pageX,o.activeTouch.top=S.touches[0].pageY)}}),no(o.scroller,"touchmove",()=>{o.activeTouch&&(o.activeTouch.moved=!0)}),no(o.scroller,"touchend",S=>{let E=o.activeTouch;if(E&&!Q6(o,S)&&E.left!=null&&!E.moved&&new Date-E.start<300){let I=r.coordsChar(o.activeTouch,"page"),P;!E.prev||w(E,E.prev)?P=new Ic(I,I):!E.prev.prev||w(E,E.prev.prev)?P=r.findWordAt(I):P=new Ic(nr(I.line,0),No(r.doc,nr(I.line+1,0))),r.setSelection(P.anchor,P.head),r.focus(),$p(S)}p()}),no(o.scroller,"touchcancel",p),no(o.scroller,"scroll",()=>{o.scroller.clientHeight&&(MH(r,o.scroller.scrollTop),QE(r,o.scroller.scrollLeft,!0),xf(r,"scroll",r))}),no(o.scroller,"mousewheel",S=>G8t(r,S)),no(o.scroller,"DOMMouseScroll",S=>G8t(r,S)),no(o.wrapper,"scroll",()=>o.wrapper.scrollTop=o.wrapper.scrollLeft=0),o.dragFunctions={enter:S=>{Td(r,S)||Rz(S)},over:S=>{Td(r,S)||(H7n(r,S),Rz(S))},start:S=>z7n(r,S),drop:Md(r,F7n),leave:S=>{Td(r,S)||NTt(r)}};let y=o.input.getField();no(y,"keyup",S=>GTt.call(r,S)),no(y,"keydown",Md(r,UTt)),no(y,"keypress",Md(r,WTt)),no(y,"focus",S=>Q9e(r,S)),no(y,"blur",S=>U_(r,S))}var eSe=[];Ou.defineInitHook=r=>eSe.push(r);function qF(r,o,l,a){let p=r.doc,g;l==null&&(l="add"),l=="smart"&&(p.mode.indent?g=IH(r,o).state:l="prev");let w=r.options.tabSize,y=Ii(p,o),S=tm(y.text,null,w);y.stateAfter&&(y.stateAfter=null);let E=y.text.match(/^\s*/)[0],I;if(!a&&!/\S/.test(y.text))I=0,l="not";else if(l=="smart"&&(I=p.mode.indent(g,y.text.slice(E.length),y.text),I==bie||I>150)){if(!a)return;l="prev"}l=="prev"?o>p.first?I=tm(Ii(p,o-1).text,null,w):I=0:l=="add"?I=S+r.options.indentUnit:l=="subtract"?I=S-r.options.indentUnit:typeof l=="number"&&(I=S+l),I=Math.max(0,I);let P="",_=0;if(r.options.indentWithTabs)for(let R=Math.floor(I/w);R;--R)_+=w,P+=" ";if(_w,S=_9e(o),E=null;if(y&&a.ranges.length>1)if(Jv&&Jv.text.join(` -`)==o){if(a.ranges.length%Jv.text.length==0){E=[];for(let P=0;P[P]));let I=r.curOp.updateInput;for(let P=a.ranges.length-1;P>=0;P--){let _=a.ranges[P],R=_.from(),$=_.to();_.empty()&&(l&&l>0?R=nr(R.line,R.ch-l):r.state.overwrite&&!y?$=nr($.line,Math.min(Ii(g,$.line).text.length,$.ch+ec(S).length)):y&&Jv&&Jv.lineWise&&Jv.text.join(` -`)==S.join(` -`)&&(R=$=nr(R.line,0)));let K={from:R,to:$,text:E?E[P%E.length]:S,origin:p||(y?"paste":r.state.cutIncoming>w?"cut":"+input")};M_(r.doc,K),Od(r,"inputRead",r,K)}o&&!y&&QTt(r,o),G_(r),r.curOp.updateInput<2&&(r.curOp.updateInput=I),r.curOp.typing=!0,r.state.pasteIncoming=r.state.cutIncoming=-1}function JTt(r,o){let l=r.clipboardData&&r.clipboardData.getData("Text");if(l)return r.preventDefault(),!o.isReadOnly()&&!o.options.disableInput&&qg(o,()=>hxe(o,l,0,null,"paste")),!0}function QTt(r,o){if(!r.options.electricChars||!r.options.smartIndent)return;let l=r.doc.sel;for(let a=l.ranges.length-1;a>=0;a--){let p=l.ranges[a];if(p.head.ch>100||a&&l.ranges[a-1].head.line==p.head.line)continue;let g=r.getModeAt(p.head),w=!1;if(g.electricChars){for(let y=0;y-1){w=qF(r,p.head.line,"smart");break}}else g.electricInput&&g.electricInput.test(Ii(r.doc,p.head.line).text.slice(0,p.head.ch))&&(w=qF(r,p.head.line,"smart"));w&&Od(r,"electricInput",r,p.head.line)}}function ZTt(r){let o=[],l=[];for(let a=0;aw.priority),this.state.modeGen++,Dp(this)}),removeOverlay:M1(function(a){let p=this.state.overlays;for(let g=0;gg&&(qF(this,y.head.line,a,!0),g=y.head.line,w==this.doc.sel.primIndex&&G_(this));else{let S=y.from(),E=y.to(),I=Math.max(g,S.line);g=Math.min(this.lastLine(),E.line-(E.ch?0:1))+1;for(let _=I;_0&&lxe(this.doc,w,new Ic(S,P[w].to()),y3)}}}),getTokenAt:function(a,p){return R8t(this,a,p)},getLineTokens:function(a,p){return R8t(this,nr(a),p,!0)},getTokenTypeAt:function(a){a=No(this.doc,a);let p=BEt(this,Ii(this.doc,a.line)),g=0,w=(p.length-1)/2,y=a.ch,S;if(y==0)S=p[2];else for(;;){let I=g+w>>1;if((I?p[I*2-1]:0)>=y)w=I;else if(p[I*2+1]S&&(a=S,w=!0),y=Ii(this.doc,a)}else y=a;return xie(this,y,{top:0,left:0},p||"page",g||w).top+(w?this.doc.height-J6(y):0)},defaultTextHeight:function(){return T_(this.display)},defaultCharWidth:function(){return K_(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,p,g,w,y){let S=this.display;a=iy(this,No(this.doc,a));let E=a.bottom,I=a.left;if(p.style.position="absolute",p.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(p),S.sizer.appendChild(p),w=="over")E=a.top;else if(w=="above"||w=="near"){let P=Math.max(S.wrapper.clientHeight,this.doc.height),_=Math.max(S.sizer.clientWidth,S.lineSpace.clientWidth);(w=="above"||a.bottom+p.offsetHeight>P)&&a.top>p.offsetHeight?E=a.top-p.offsetHeight:a.bottom+p.offsetHeight<=P&&(E=a.bottom),I+p.offsetWidth>_&&(I=_-p.offsetWidth)}p.style.top=E+"px",p.style.left=p.style.right="",y=="right"?(I=S.sizer.clientWidth-p.offsetWidth,p.style.right="0px"):(y=="left"?I=0:y=="middle"&&(I=(S.sizer.clientWidth-p.offsetWidth)/2),p.style.left=I+"px"),g&&c7n(this,{left:I,top:E,right:I+p.offsetWidth,bottom:E+p.offsetHeight})},triggerOnKeyDown:M1(UTt),triggerOnKeyPress:M1(WTt),triggerOnKeyUp:GTt,triggerOnMouseDown:M1(VTt),execCommand:function(a){if(zz.hasOwnProperty(a))return zz[a].call(null,this)},triggerElectric:M1(function(a){QTt(this,a)}),findPosH:function(a,p,g,w){let y=1;p<0&&(y=-1,p=-p);let S=No(this.doc,a);for(let E=0;Ethis.display.shift||this.doc.extend||g.empty()?M7e(this.doc,g.head,a,p,this.options.rtlMoveVisually):a<0?g.from():g.to(),FF)}),deleteH:M1(function(a,p){let g=this.doc.sel,w=this.doc;g.somethingSelected()?w.replaceSelection("",null,"+delete"):UO(this,y=>{let S=M7e(w,y.head,a,p,!1);return a<0?{from:S,to:y.head}:{from:y.head,to:S}})}),findPosV:function(a,p,g,w){let y=1,S=w;p<0&&(y=-1,p=-p);let E=No(this.doc,a);for(let I=0;I{if(y)return a<0?S.from():S.to();let E=iy(this,S.head,"div");S.goalColumn!=null&&(E.left=S.goalColumn),w.push(E.left);let I=d7t(this,E,a,p);return p=="page"&&S==g.sel.primary()&&exe(this,UCe(this,I,"div").top-E.top),I},FF),w.length)for(let S=0;Sxne(P,S):/\s/.test(E)?P=>/\s/.test(P):P=>!/\s/.test(P)&&!xne(P);for(;w>0&&I(g.charAt(w-1));)--w;for(;ytypeof y=="number"||/^\d+$/.test(String(y))?y+"px":y;a!=null&&(this.display.wrapper.style.width=g(a)),p!=null&&(this.display.wrapper.style.height=g(p)),this.options.lineWrapping&&oTt(this);let w=this.display.viewFrom;this.doc.iter(w,this.display.viewTo,y=>{if(y.widgets){for(let S=0;S.5||this.options.lineWrapping)&&X9e(this),xf(this,"refresh",this)}),swapDoc:M1(function(a){let p=this.doc;return p.cm=null,this.state.selectingText&&this.state.selectingText(),ETt(this,a),Nz(this),this.display.input.reset(),UF(this,a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,Od(this,"swapDoc",this,p),p}),phrase:function(a){let p=this.options.phrases;return p&&Object.prototype.hasOwnProperty.call(p,a)?p[a]:a},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},z_(r),r.registerHelper=function(a,p,g){l.hasOwnProperty(a)||(l[a]=r[a]={_global:[]}),l[a][p]=g},r.registerGlobalHelper=function(a,p,g,w){r.registerHelper(a,p,w),l[a]._global.push({pred:g,val:w})}}function M7e(r,o,l,a,p){let g=o,w=l,y=Ii(r,o.line),S=p&&r.direction=="rtl"?-l:l;function E(){let _=o.line+S;return _=r.first+r.size?!1:(o=new nr(_,o.ch,o.sticky),y=Ii(r,_))}function I(_){let R;if(a=="codepoint"){let $=y.text.charCodeAt(o.ch+(l>0?0:-1));if(isNaN($))R=null;else{let K=l>0?$>=55296&&$<56320:$>=56320&&$<57343;R=new nr(o.line,Math.max(0,Math.min(y.text.length,o.ch+l*(K?2:1))),-l)}}else p?R=q7n(r.cm,y,o,l):R=JCe(y,o,l);if(R==null)if(!_&&E())o=dxe(p,r.cm,y,o.line,S);else return!1;else o=R;return!0}if(a=="char"||a=="codepoint")I();else if(a=="column")I(!0);else if(a=="word"||a=="group"){let _=null,R=a=="group",$=r.cm&&r.cm.getHelper(o,"wordChars");for(let K=!0;!(l<0&&!I(!K));K=!1){let q=y.text.charAt(o.ch)||` -`,Q=xne(q,$)?"w":R&&q==` -`?"n":!R||/\s/.test(q)?null:"p";if(R&&!K&&!Q&&(Q="s"),_&&_!=Q){l<0&&(l=1,I(),o.sticky="after");break}if(Q&&(_=Q),l>0&&!I(!K))break}}let P=fre(r,o,g,w,!0);return FCe(g,P)&&(P.hitSide=!0),P}function d7t(r,o,l,a){let p=r.doc,g=o.left,w;if(a=="page"){let S=Math.min(r.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),E=Math.max(S-.5*T_(r.display),3);w=(l>0?o.bottom:o.top)+l*E}else a=="line"&&(w=l>0?o.bottom+3:o.top-3);let y;for(;y=W9e(r,g,w),!!y.outside;){if(l<0?w<=0:w>=p.height){y.hitSide=!0;break}w+=l*5}return y}var nIt=class{constructor(r){this.cm=r,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new E_,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}init(r){let o=this,l=o.cm,a=o.div=r.lineDiv;a.contentEditable=!0,eIt(a,l.options.spellcheck,l.options.autocorrect,l.options.autocapitalize);function p(w){for(let y=w.target;y;y=y.parentNode){if(y==a)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(y.className))break}return!1}no(a,"paste",w=>{!p(w)||Td(l,w)||JTt(w,l)||vu<=11&&setTimeout(Md(l,()=>this.updateFromDOM()),20)}),no(a,"compositionstart",w=>{this.composing={data:w.data,done:!1}}),no(a,"compositionupdate",w=>{this.composing||(this.composing={data:w.data,done:!1})}),no(a,"compositionend",w=>{this.composing&&(w.data!=this.composing.data&&this.readFromDOMSoon(),this.composing.done=!0)}),no(a,"touchstart",()=>o.forceCompositionEnd()),no(a,"input",()=>{this.composing||this.readFromDOMSoon()});function g(w){if(!p(w)||Td(l,w))return;if(l.somethingSelected())hre({lineWise:!1,text:l.getSelections()}),w.type=="cut"&&l.replaceSelection("",null,"cut");else if(l.options.lineWiseCopyCut){let I=ZTt(l);hre({lineWise:!0,text:I.text}),w.type=="cut"&&l.operation(()=>{l.setSelections(I.ranges,0,y3),l.replaceSelection("",null,"cut")})}else return;if(w.clipboardData){w.clipboardData.clearData();let I=Jv.text.join(` -`);if(w.clipboardData.setData("Text",I),w.clipboardData.getData("Text")==I){w.preventDefault();return}}let y=tIt(),S=y.firstChild;l.display.lineSpace.insertBefore(y,l.display.lineSpace.firstChild),S.value=Jv.text.join(` -`);let E=im();Pz(S),setTimeout(()=>{l.display.lineSpace.removeChild(y),E.focus(),E==a&&o.showPrimarySelection()},50)}no(a,"copy",g),no(a,"cut",g)}screenReaderLabelChanged(r){r?this.div.setAttribute("aria-label",r):this.div.removeAttribute("aria-label")}prepareSelection(){let r=fTt(this.cm,!1);return r.focus=im()==this.div,r}showSelection(r,o){!r||!this.cm.display.view.length||((r.focus||o)&&this.showPrimarySelection(),this.showMultipleSelections(r))}getSelection(){return this.cm.display.wrapper.ownerDocument.getSelection()}showPrimarySelection(){let r=this.getSelection(),o=this.cm,l=o.doc.sel.primary(),a=l.from(),p=l.to();if(o.display.viewTo==o.display.viewFrom||a.line>=o.display.viewTo||p.line=o.display.viewFrom&&h7t(o,a)||{node:y[0].measure.map[2],offset:0},E=p.line{this.gracePeriod=!1,this.selectionChanged()&&this.cm.operation(()=>this.cm.curOp.selectionChanged=!0)},20)}showMultipleSelections(r){pb(this.cm.display.cursorDiv,r.cursors),pb(this.cm.display.selectionDiv,r.selection)}rememberSelection(){let r=this.getSelection();this.lastAnchorNode=r.anchorNode,this.lastAnchorOffset=r.anchorOffset,this.lastFocusNode=r.focusNode,this.lastFocusOffset=r.focusOffset}selectionInEditor(){let r=this.getSelection();if(!r.rangeCount)return!1;let o=r.getRangeAt(0).commonAncestorContainer;return A7(this.div,o)}focus(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||im()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())}blur(){this.div.blur()}getField(){return this.div}supportsTouch(){return!0}receivedFocus(){let r=this;this.selectionInEditor()?this.pollSelection():qg(this.cm,()=>r.cm.curOp.selectionChanged=!0);function o(){r.cm.state.focused&&(r.pollSelection(),r.polling.set(r.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)}selectionChanged(){let r=this.getSelection();return r.anchorNode!=this.lastAnchorNode||r.anchorOffset!=this.lastAnchorOffset||r.focusNode!=this.lastFocusNode||r.focusOffset!=this.lastFocusOffset}pollSelection(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;let r=this.getSelection(),o=this.cm;if(gie&&hie&&this.cm.display.gutterSpecs.length&&bCn(r.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();let l=Yte(o,r.anchorNode,r.anchorOffset),a=Yte(o,r.focusNode,r.focusOffset);l&&a&&qg(o,()=>{Gh(o.doc,j7(l,a),y3),(l.bad||a.bad)&&(o.curOp.selectionChanged=!0)})}pollContent(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);let r=this.cm,o=r.display,l=r.doc.sel.primary(),a=l.from(),p=l.to();if(a.ch==0&&a.line>r.firstLine()&&(a=nr(a.line-1,Ii(r.doc,a.line-1).length)),p.ch==Ii(r.doc,p.line).text.length&&p.lineo.viewTo-1)return!1;let g,w,y;a.line==o.viewFrom||(g=FE(r,a.line))==0?(w=gc(o.view[0].line),y=o.view[0].node):(w=gc(o.view[g].line),y=o.view[g-1].node.nextSibling);let S=FE(r,p.line),E,I;if(S==o.view.length-1?(E=o.viewTo-1,I=o.lineDiv.lastChild):(E=gc(o.view[S+1].line)-1,I=o.view[S+1].node.previousSibling),!y)return!1;let P=r.doc.splitLines(wCn(r,y,I,w,E)),_=PE(r.doc,nr(w,0),nr(E,Ii(r.doc,E).text.length));for(;P.length>1&&_.length>1;)if(ec(P)==ec(_))P.pop(),_.pop(),E--;else if(P[0]==_[0])P.shift(),_.shift(),w++;else break;let R=0,$=0,K=P[0],q=_[0],Q=Math.min(K.length,q.length);for(;Ra.ch&&ee.charCodeAt(ee.length-$-1)==J.charCodeAt(J.length-$-1);)R--,$++;P[P.length-1]=ee.slice(0,ee.length-$).replace(/^\u200b+/,""),P[0]=P[0].slice(R).replace(/\u200b+$/,"");let $e=nr(w,R),et=nr(E,_.length?ec(_).length-$:0);if(P.length>1||P[0]||Bo($e,et))return W_(r.doc,P,$e,et,"+input"),!0}ensurePolled(){this.forceCompositionEnd()}reset(){this.forceCompositionEnd()}forceCompositionEnd(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())}readFromDOMSoon(){this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(()=>{if(this.readDOMTimeout=null,this.composing)if(this.composing.done)this.composing=null;else return;this.updateFromDOM()},80))}updateFromDOM(){(this.cm.isReadOnly()||!this.pollContent())&&qg(this.cm,()=>Dp(this.cm))}setUneditable(r){r.contentEditable="false"}onKeyPress(r){r.charCode==0||this.composing||(r.preventDefault(),this.cm.isReadOnly()||Md(this.cm,hxe)(this.cm,String.fromCharCode(r.charCode==null?r.keyCode:r.charCode),0))}readOnlyChanged(r){this.div.contentEditable=String(r!="nocursor")}onContextMenu(){}resetPosition(){}},gCn=nIt;nIt.prototype.needsContentAttribute=!0;function h7t(r,o){let l=U9e(r,o.line);if(!l||l.hidden)return null;let a=Ii(r.doc,o.line),p=eTt(l,a,o.line),g=o5(a,r.doc.direction),w="left";g&&(w=_z(g,o.ch)%2?"right":"left");let y=rTt(p.map,o.ch,w);return y.offset=y.collapse=="right"?y.end:y.start,y}function bCn(r){for(let o=r;o;o=o.parentNode)if(/CodeMirror-gutter-wrapper/.test(o.className))return!0;return!1}function GO(r,o){return o&&(r.bad=!0),r}function wCn(r,o,l,a,p){let g="",w=!1,y=r.doc.lineSeparator(),S=!1;function E(R){return $=>$.id==R}function I(){w&&(g+=y,S&&(g+=y),w=S=!1)}function P(R){R&&(I(),g+=R)}function _(R){if(R.nodeType==1){let $=R.getAttribute("cm-text");if($){P($);return}let K=R.getAttribute("cm-marker"),q;if(K){let ee=r.findMarks(nr(a,0),nr(p+1,0),E(+K));ee.length&&(q=ee[0].find(0))&&P(PE(r.doc,q.from,q.to).join(y));return}if(R.getAttribute("contenteditable")=="false")return;let Q=/^(pre|div|p|li|table|br)$/i.test(R.nodeName);if(!/^br$/i.test(R.nodeName)&&R.textContent.length==0)return;Q&&I();for(let ee=0;ee{El&&vu>=9&&this.hasSelection&&(this.hasSelection=null),o.poll()}),no(a,"paste",g=>{Td(l,g)||JTt(g,l)||(l.state.pasteIncoming=+new Date,o.fastPoll())});function p(g){if(!Td(l,g)){if(l.somethingSelected())hre({lineWise:!1,text:l.getSelections()});else if(l.options.lineWiseCopyCut){let w=ZTt(l);hre({lineWise:!0,text:w.text}),g.type=="cut"?l.setSelections(w.ranges,null,y3):(o.prevInput="",a.value=w.text.join(` -`),Pz(a))}else return;g.type=="cut"&&(l.state.cutIncoming=+new Date)}}no(a,"cut",p),no(a,"copy",p),no(r.scroller,"paste",g=>{if(Q6(r,g)||Td(l,g))return;if(!a.dispatchEvent){l.state.pasteIncoming=+new Date,o.focus();return}const w=new Event("paste");w.clipboardData=g.clipboardData,a.dispatchEvent(w)}),no(r.lineSpace,"selectstart",g=>{Q6(r,g)||$p(g)}),no(a,"compositionstart",()=>{let g=l.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:g,range:l.markText(g,l.getCursor("to"),{className:"CodeMirror-composing"})}}),no(a,"compositionend",()=>{o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})}createField(r){this.wrapper=tIt(),this.textarea=this.wrapper.firstChild}screenReaderLabelChanged(r){r?this.textarea.setAttribute("aria-label",r):this.textarea.removeAttribute("aria-label")}prepareSelection(){let r=this.cm,o=r.display,l=r.doc,a=fTt(r);if(r.options.moveInputWithCursor){let p=iy(r,l.sel.primary().head,"div"),g=o.wrapper.getBoundingClientRect(),w=o.lineDiv.getBoundingClientRect();a.teTop=Math.max(0,Math.min(o.wrapper.clientHeight-10,p.top+w.top-g.top)),a.teLeft=Math.max(0,Math.min(o.wrapper.clientWidth-10,p.left+w.left-g.left))}return a}showSelection(r){let o=this.cm,l=o.display;pb(l.cursorDiv,r.cursors),pb(l.selectionDiv,r.selection),r.teTop!=null&&(this.wrapper.style.top=r.teTop+"px",this.wrapper.style.left=r.teLeft+"px")}reset(r){if(this.contextMenuPending||this.composing)return;let o=this.cm;if(o.somethingSelected()){this.prevInput="";let l=o.getSelection();this.textarea.value=l,o.state.focused&&Pz(this.textarea),El&&vu>=9&&(this.hasSelection=l)}else r||(this.prevInput=this.textarea.value="",El&&vu>=9&&(this.hasSelection=null))}getField(){return this.textarea}supportsTouch(){return!1}focus(){if(this.cm.options.readOnly!="nocursor"&&(!Mz||im()!=this.textarea))try{this.textarea.focus()}catch{}}blur(){this.textarea.blur()}resetPosition(){this.wrapper.style.top=this.wrapper.style.left=0}receivedFocus(){this.slowPoll()}slowPoll(){this.pollingFast||this.polling.set(this.cm.options.pollInterval,()=>{this.poll(),this.cm.state.focused&&this.slowPoll()})}fastPoll(){let r=!1,o=this;o.pollingFast=!0;function l(){!o.poll()&&!r?(r=!0,o.polling.set(60,l)):(o.pollingFast=!1,o.slowPoll())}o.polling.set(20,l)}poll(){let r=this.cm,o=this.textarea,l=this.prevInput;if(this.contextMenuPending||!r.state.focused||d8n(o)&&!l&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;let a=o.value;if(a==l&&!r.somethingSelected())return!1;if(El&&vu>=9&&this.hasSelection===a||lm&&/[\uf700-\uf7ff]/.test(a))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){let w=a.charCodeAt(0);if(w==8203&&!l&&(l="​"),w==8666)return this.reset(),this.cm.execCommand("undo")}let p=0,g=Math.min(l.length,a.length);for(;p{hxe(r,a.slice(p),l.length-p,null,this.composing?"*compose":null),a.length>1e3||a.indexOf(` -`)>-1?o.value=this.prevInput="":this.prevInput=a,this.composing&&(this.composing.range.clear(),this.composing.range=r.markText(this.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0}ensurePolled(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)}onKeyPress(){El&&vu>=9&&(this.hasSelection=null),this.fastPoll()}onContextMenu(r){let o=this,l=o.cm,a=l.display,p=o.textarea;o.contextMenuPending&&o.contextMenuPending();let g=BE(l,r),w=a.scroller.scrollTop;if(!g||cy)return;l.options.resetSelectionOnContextMenu&&l.doc.sel.contains(g)==-1&&Md(l,Gh)(l.doc,j7(g),y3);let S=p.style.cssText,E=o.wrapper.style.cssText,I=o.wrapper.offsetParent.getBoundingClientRect();o.wrapper.style.cssText="position: static",p.style.cssText=`position: absolute; width: 30px; height: 30px; - top: ${r.clientY-I.top-5}px; left: ${r.clientX-I.left-5}px; - z-index: 1000; background: ${El?"rgba(255, 255, 255, .05)":"transparent"}; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;let P;R1&&(P=window.scrollY),a.input.focus(),R1&&window.scrollTo(null,P),a.input.reset(),l.somethingSelected()||(p.value=o.prevInput=" "),o.contextMenuPending=R,a.selForContextMenu=l.doc.sel,clearTimeout(a.detectingSelectAll);function _(){if(p.selectionStart!=null){let $=l.somethingSelected(),K="​"+($?p.value:"");p.value="⇚",p.value=K,o.prevInput=$?"":"​",p.selectionStart=1,p.selectionEnd=K.length,a.selForContextMenu=l.doc.sel}}function R(){if(o.contextMenuPending==R&&(o.contextMenuPending=!1,o.wrapper.style.cssText=E,p.style.cssText=S,El&&vu<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=w),p.selectionStart!=null)){(!El||El&&vu<9)&&_();let $=0,K=()=>{a.selForContextMenu==l.doc.sel&&p.selectionStart==0&&p.selectionEnd>0&&o.prevInput=="​"?Md(l,ATt)(l):$++<10?a.detectingSelectAll=setTimeout(K,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(K,200)}}if(El&&vu>=9&&_(),T9e){Rz(r);let $=()=>{db(window,"mouseup",$),setTimeout(R,20)};no(window,"mouseup",$)}else setTimeout(R,50)}readOnlyChanged(r){r||this.reset(),this.textarea.disabled=r=="nocursor",this.textarea.readOnly=!!r}setUneditable(){}},vCn=rIt;rIt.prototype.needsContentAttribute=!1;function yCn(r,o){if(o=o?NE(o):{},o.value=r.value,!o.tabindex&&r.tabIndex&&(o.tabindex=r.tabIndex),!o.placeholder&&r.placeholder&&(o.placeholder=r.placeholder),o.autofocus==null){let g=im();o.autofocus=g==r||r.getAttribute("autofocus")!=null&&g==document.body}function l(){r.value=p.getValue()}let a;if(r.form&&(no(r.form,"submit",l),!o.leaveSubmitMethodAlone)){let g=r.form;a=g.submit;try{let w=g.submit=()=>{l(),g.submit=a,g.submit(),g.submit=w}}catch{}}o.finishInit=g=>{g.save=l,g.getTextArea=()=>r,g.toTextArea=()=>{g.toTextArea=isNaN,l(),r.parentNode.removeChild(g.getWrapperElement()),r.style.display="",r.form&&(db(r.form,"submit",l),!o.leaveSubmitMethodAlone&&typeof r.form.submit=="function"&&(r.form.submit=a))}},r.style.display="none";let p=Ou(g=>r.parentNode.insertBefore(g,r.nextSibling),o);return p}function kCn(r){r.off=db,r.on=no,r.wheelEventPixels=E7n,r.Doc=OE,r.splitLines=_9e,r.countColumn=tm,r.findColumn=$Ce,r.isWordChar=DCe,r.Pass=bie,r.signal=xf,r.Line=jz,r.changeEnd=$7,r.scrollbarModel=bTt,r.Pos=nr,r.cmpPos=Bo,r.modes=R9e,r.mimeModes=qO,r.resolveMode=ire,r.getMode=A9e,r.modeExtensions=l_,r.extendMode=w8n,r.copyState=ME,r.startState=$Et,r.innerMode=L9e,r.commands=zz,r.keyMap=K6,r.keyName=zTt,r.isModifierKey=BTt,r.lookupKey=u_,r.normalizeKeyMap=V7n,r.StringStream=mie,r.SharedTextMarker=axe,r.TextMarker=uxe,r.LineWidget=cxe,r.e_preventDefault=$p,r.e_stopPropagation=LEt,r.e_stop=Rz,r.addClass=YE,r.contains=A7,r.rmClass=XE,r.keyNames=D7}uCn(Ou);pCn(Ou);var CCn="iter insert remove copy getEditor constructor".split(" ");for(let r in OE.prototype)OE.prototype.hasOwnProperty(r)&&Vh(CCn,r)<0&&(Ou.prototype[r]=function(o){return function(){return o.apply(this.doc,arguments)}}(OE.prototype[r]));z_(OE);Ou.inputStyles={textarea:vCn,contenteditable:gCn};Ou.defineMode=function(r){!Ou.defaults.mode&&r!="null"&&(Ou.defaults.mode=r),g8n.apply(this,arguments)};Ou.defineMIME=b8n;Ou.defineMode("null",()=>({token:r=>r.skipToEnd()}));Ou.defineMIME("text/plain","null");Ou.defineExtension=(r,o)=>{Ou.prototype[r]=o};Ou.defineDocExtension=(r,o)=>{OE.prototype[r]=o};Ou.fromTextArea=yCn;kCn(Ou);Ou.version="5.61.0";var Pne=Ou;document.body.insertAdjacentHTML("beforeend",` - -`);self.CodeMirror=Pne;var tSe=class extends HTMLElement{static get observedAttributes(){return["src","readonly","mode","theme"]}attributeChangedCallback(r,o,l){this.__initialized&&o!==l&&(r==="readonly"?this[r]=l!==null:this[r]=l)}get readonly(){return this.editor.getOption("readOnly")}set readonly(r){this.editor.setOption("readOnly",r)}get mode(){return this.editor.getOption("mode")}set mode(r){this.editor.setOption("mode",r)}get theme(){return this.editor.getOption("theme")}set theme(r){this.editor.setOption("theme",r)}get src(){return this.getAttribute("src")}set src(r){this.setAttribute("src",r),this.setSrc()}get value(){return this.editor.getValue()}set value(r){this.setValue(r)}constructor(){super(),this.__initialized=!1,this.__element=null,this.editor=null}async connectedCallback(){const r=document.createElement("template");r.innerHTML=tSe.template(),this.appendChild(r.content.cloneNode(!0)),this.style.display="block",this.__element=this.querySelector("textarea");const o=this.hasAttribute("mode")?this.getAttribute("mode"):"null",l=this.hasAttribute("theme")?this.getAttribute("theme"):"default";let a=this.getAttribute("readonly");a===""?a=!0:a!=="nocursor"&&(a=!1);let p="";const g=this.querySelector("script");g&&g.getAttribute("type")==="wc-content"&&(p=tSe.dedentText(g.innerHTML),p=p.replace(/<(\/?script)(.*?)>/g,"<$1$2>"));let w=Pne.defaults.viewportMargin;if(this.hasAttribute("viewport-margin")){const y=this.getAttribute("viewport-margin").toLowerCase();w=y==="infinity"?1/0:parseInt(y)}this.editor=Pne.fromTextArea(this.__element,{lineNumbers:!0,readOnly:a,mode:o,theme:l,viewportMargin:w}),this.hasAttribute("src")?this.setSrc(this.getAttribute("src")):(await new Promise(y=>setTimeout(y,50)),this.value=p),this.__initialized=!0}disconnectedCallback(){this.editor&&this.editor.toTextArea(),this.editor=null,this.__initialized=!1}async setSrc(){const r=this.getAttribute("src"),o=await this.fetchSrc(r);this.value=o}async setValue(r){this.editor.swapDoc(Pne.Doc(r,this.getAttribute("mode"))),this.editor.refresh()}async fetchSrc(r){return(await fetch(r)).text()}static template(){return` - - `}static dedentText(r){const o=r.split(` -`);o[0]===""&&o.splice(0,1);const l=o[0];let a=0;const g=l[0]===" "?" ":" ";for(;l[a]===g;)a+=1;const w=[];for(const y of o){let S=y;for(let E=0;Er?K():o!==!0&&(p=setTimeout(a?q:K,a===void 0?r-$:r))}return E.cancel=S,E}function SCn(r,o,l){return l===void 0?p7t(r,o,!1):p7t(r,l,o!==!1)}const c7=Symbol("Initial value"),P7e=Symbol("Editor dirty"),M6=Symbol("ParseHandler");function xCn(r){let a=0;return new Promise((p,g)=>{const w=setInterval(()=>{if(r()){clearInterval(w),p();return}a+=1,a===100&&(clearInterval(w),g(new Error("Value did not become truthy in time")))},10)})}class ECn extends BF{static get styles(){return Akn` - :host { - display: block; - text-align: left; - } - - [part='error'] { - text-decoration: underline; - text-decoration-color: red; - text-decoration-style: wavy; - } - - wc-codemirror, - #wrapper { - width: 100%; - height: 100%; - } - - :host(:not([ready])) #wrapper { - display: none; - } - `}static get properties(){return{value:{type:String,noAccessor:!0},readonly:{type:Boolean,reflect:!0},prefixes:{type:String,attribute:"prefixes"},isParsing:{type:Boolean,attribute:"is-parsing",reflect:!0},autoParse:{type:Boolean,attribute:"auto-parse"},parseDelay:{type:Number},customPrefixes:{type:Object}}}constructor(){super(),this.parseDelay=250,this[c7]="",this.customPrefixes={},navigator.onLine&&(this.__style=document.createElement("link"),this.__style.rel="stylesheet",this.__style.href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.61.1/codemirror.min.css")}connectedCallback(){const o=new Promise(l=>{this.__style.onload=l});super.connectedCallback(),this.ready=Promise.resolve().then(async()=>{await o,await this.requestUpdate(),await xCn(()=>this.codeMirror&&this.codeMirror.editor&&this.codeMirror.__initialized),await this._initializeCodeMirror(),[...this.renderRoot.querySelectorAll("[class^=CodeMirror]")].forEach(l=>{l.classList.forEach(a=>{a.match(/^CodeMirror/)&&l.setAttribute("part",a)})}),this.setAttribute("ready",""),this.codeMirror.editor.refresh(),this[c7]&&this.codeMirror.editor.setValue(this[c7])})}get _prefixes(){return async()=>(this.prefixes||"").split(",").map(l=>l.trim()).reduce((l,a)=>a in Dne?{...l,[a]:Dne[a]().value}:l,{})}get codeMirror(){return this.renderRoot.querySelector("wc-codemirror")}get value(){return this.hasAttribute("ready")?this.codeMirror.editor.getValue():this[c7]||""}set value(o){typeof o=="string"&&(this.hasAttribute("ready")?this.value!==o&&(this.codeMirror.editor.setValue(o),this[M6]()):this[c7]=o)}async firstUpdated(o){super.firstUpdated(o),this[c7]&&(await this.ready,this.codeMirror.editor.setValue(this[c7]),this[M6](),this[c7]=void 0)}updated(o){super.updated(o),(o.has("autoParse")||o.has("parseDelay"))&&this.__setParseHandler()}render(){return Gkn`${this.__style} -
- - -
`}async parse(){if(!this.isParsing){this.__errorMarker&&this.__errorMarker.clear(),this.isParsing=!0;try{await this._parse()}catch(o){typeof this._errorLine=="function"&&await this.__highlightError(this._errorLine(o)),this.dispatchEvent(new CustomEvent("parsing-failed",{detail:{error:o}}))}finally{this.isParsing=!1}}}async _initializeCodeMirror(){this.codeMirror.editor.setSize("100%","100%"),this.__setParseHandler(),this.codeMirror.editor.on("change",()=>{this[P7e]=!0})}__setParseHandler(){this.codeMirror.editor&&(this[M6]&&(this.codeMirror.editor.off("blur",this[M6]),this.codeMirror.editor.off("change",this[M6])),this.autoParse?(this[M6]=SCn(this.parseDelay,this.__beginParse.bind(this)),this.codeMirror.editor.on("change",this[M6])):(this[M6]=this.__beginParse.bind(this),this.codeMirror.editor.on("blur",this[M6])))}async __beginParse(){this[P7e]&&await this.parse(),this[P7e]=!1}async __highlightError(o){if(!this.ready)return;let l={line:0,ch:0},a={line:0,ch:Number.MAX_SAFE_INTEGER};o&&o.from&&(l=o.from,this.codeMirror.editor.scrollIntoView(l)),o&&o.to&&(a=o.to);const p=o?o.message:"";await this.ready,this.__errorMarker=this.codeMirror.editor.getDoc().markText(l,a,{attributes:{part:"error",title:p}})}async _combinePrefixes(){return Object.entries(this.customPrefixes).reduce((o,[l,a])=>!a||!l||typeof a!="string"||typeof l!="string"?o:{...o,[l]:a},await this._prefixes())}}window.CodeMirror.defineMode("javascript",function(r,o){var l=r.indentUnit,a=o.statementIndent,p=o.jsonld,g=o.json||p,w=o.typescript,y=o.wordCharacters||/[\w$\xa1-\uffff]/,S=function(){function we(Ad){return{type:Ad,style:"keyword"}}var We=we("keyword a"),En=we("keyword b"),ar=we("keyword c"),So=we("keyword d"),Os=we("operator"),tc={type:"atom",style:"atom"};return{if:we("if"),while:We,with:We,else:En,do:En,try:En,finally:En,return:So,break:So,continue:So,new:we("new"),delete:ar,void:ar,throw:ar,debugger:we("debugger"),var:we("var"),const:we("var"),let:we("var"),function:we("function"),catch:we("catch"),for:we("for"),switch:we("switch"),case:we("case"),default:we("default"),in:Os,typeof:Os,instanceof:Os,true:tc,false:tc,null:tc,undefined:tc,NaN:tc,Infinity:tc,this:we("this"),class:we("class"),super:we("atom"),yield:ar,export:we("export"),import:we("import"),extends:ar,await:ar}}(),E=/[+\-*&%=<>!?|~^@]/,I=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function P(we){for(var We=!1,En,ar=!1;(En=we.next())!=null;){if(!We){if(En=="/"&&!ar)return;En=="["?ar=!0:ar&&En=="]"&&(ar=!1)}We=!We&&En=="\\"}}var _,R;function $(we,We,En){return _=we,R=En,We}function K(we,We){var En=we.next();if(En=='"'||En=="'")return We.tokenize=q(En),We.tokenize(we,We);if(En=="."&&we.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return $("number","number");if(En=="."&&we.match(".."))return $("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(En))return $(En);if(En=="="&&we.eat(">"))return $("=>","operator");if(En=="0"&&we.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return $("number","number");if(/\d/.test(En))return we.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),$("number","number");if(En=="/")return we.eat("*")?(We.tokenize=Q,Q(we,We)):we.eat("/")?(we.skipToEnd(),$("comment","comment")):V_(we,We,1)?(P(we),we.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),$("regexp","string-2")):(we.eat("="),$("operator","operator",we.current()));if(En=="`")return We.tokenize=ee,ee(we,We);if(En=="#")return we.skipToEnd(),$("error","error");if(En=="<"&&we.match("!--")||En=="-"&&we.match("->"))return we.skipToEnd(),$("comment","comment");if(E.test(En))return(En!=">"||!We.lexical||We.lexical.type!=">")&&(we.eat("=")?(En=="!"||En=="=")&&we.eat("="):/[<>*+\-]/.test(En)&&(we.eat(En),En==">"&&we.eat(En))),$("operator","operator",we.current());if(y.test(En)){we.eatWhile(y);var ar=we.current();if(We.lastType!="."){if(S.propertyIsEnumerable(ar)){var So=S[ar];return $(So.type,So.style,ar)}if(ar=="async"&&we.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return $("async","keyword",ar)}return $("variable","variable",ar)}}function q(we){return function(We,En){var ar=!1,So;if(p&&We.peek()=="@"&&We.match(I))return En.tokenize=K,$("jsonld-keyword","meta");for(;(So=We.next())!=null&&!(So==we&&!ar);)ar=!ar&&So=="\\";return ar||(En.tokenize=K),$("string","string")}}function Q(we,We){for(var En=!1,ar;ar=we.next();){if(ar=="/"&&En){We.tokenize=K;break}En=ar=="*"}return $("comment","comment")}function ee(we,We){for(var En=!1,ar;(ar=we.next())!=null;){if(!En&&(ar=="`"||ar=="$"&&we.eat("{"))){We.tokenize=K;break}En=!En&&ar=="\\"}return $("quasi","string-2",we.current())}var J="([{}])";function oe(we,We){We.fatArrowAt&&(We.fatArrowAt=null);var En=we.string.indexOf("=>",we.start);if(!(En<0)){if(w){var ar=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(we.string.slice(we.start,En));ar&&(En=ar.index)}for(var So=0,Os=!1,tc=En-1;tc>=0;--tc){var Ad=we.string.charAt(tc),Zg=J.indexOf(Ad);if(Zg>=0&&Zg<3){if(!So){++tc;break}if(--So==0){Ad=="("&&(Os=!0);break}}else if(Zg>=3&&Zg<6)++So;else if(y.test(Ad))Os=!0;else if(/["'\/`]/.test(Ad))for(;;--tc){if(tc==0)return;var LH=we.string.charAt(tc-1);if(LH==Ad&&we.string.charAt(tc-2)!="\\"){tc--;break}}else if(Os&&!So){++tc;break}}Os&&!So&&(We.fatArrowAt=tc)}}var $e={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function et(we,We,En,ar,So,Os){this.indented=we,this.column=We,this.type=En,this.prev=So,this.info=Os,ar!=null&&(this.align=ar)}function wt(we,We){for(var En=we.localVars;En;En=En.next)if(En.name==We)return!0;for(var ar=we.context;ar;ar=ar.prev)for(var En=ar.vars;En;En=En.next)if(En.name==We)return!0}function bt(we,We,En,ar,So){var Os=we.cc;for(ce.state=we,ce.stream=So,ce.marked=null,ce.cc=Os,ce.style=We,we.lexical.hasOwnProperty("align")||(we.lexical.align=!0);;){var tc=Os.length?Os.pop():g?Qe:Zn;if(tc(En,ar)){for(;Os.length&&Os[Os.length-1].lex;)Os.pop()();return ce.marked?ce.marked:En=="variable"&&wt(we,ar)?"variable-2":We}}}var ce={state:null,column:null,marked:null,cc:null};function Be(){for(var we=arguments.length-1;we>=0;we--)ce.cc.push(arguments[we])}function ae(){return Be.apply(null,arguments),!0}function xe(we,We){for(var En=We;En;En=En.next)if(En.name==we)return!0;return!1}function U(we){var We=ce.state;if(ce.marked="def",We.context){if(We.lexical.info=="var"&&We.context&&We.context.block){var En=He(we,We.context);if(En!=null){We.context=En;return}}else if(!xe(we,We.localVars)){We.localVars=new At(we,We.localVars);return}}o.globalVars&&!xe(we,We.globalVars)&&(We.globalVars=new At(we,We.globalVars))}function He(we,We){if(We)if(We.block){var En=He(we,We.prev);return En?En==We.prev?We:new ft(En,We.vars,!0):null}else return xe(we,We.vars)?We:new ft(We.prev,new At(we,We.vars),!1);else return null}function yt(we){return we=="public"||we=="private"||we=="protected"||we=="abstract"||we=="readonly"}function ft(we,We,En){this.prev=we,this.vars=We,this.block=En}function At(we,We){this.name=we,this.next=We}var Jt=new At("this",new At("arguments",null));function un(){ce.state.context=new ft(ce.state.context,ce.state.localVars,!1),ce.state.localVars=Jt}function kn(){ce.state.context=new ft(ce.state.context,ce.state.localVars,!0),ce.state.localVars=null}function qt(){ce.state.localVars=ce.state.context.vars,ce.state.context=ce.state.context.prev}qt.lex=!0;function on(we,We){var En=function(){var ar=ce.state,So=ar.indented;if(ar.lexical.type=="stat")So=ar.lexical.indented;else for(var Os=ar.lexical;Os&&Os.type==")"&&Os.align;Os=Os.prev)So=Os.indented;ar.lexical=new et(So,ce.stream.column(),we,null,ar.lexical,We)};return En.lex=!0,En}function Rt(){var we=ce.state;we.lexical.prev&&(we.lexical.type==")"&&(we.indented=we.lexical.indented),we.lexical=we.lexical.prev)}Rt.lex=!0;function an(we){function We(En){return En==we?ae():we==";"||En=="}"||En==")"||En=="]"?Be():ae(We)}return We}function Zn(we,We){return we=="var"?ae(on("vardef",We),O3,an(";"),Rt):we=="keyword a"?ae(on("form"),Pn,Zn,Rt):we=="keyword b"?ae(on("form"),Zn,Rt):we=="keyword d"?ce.stream.match(/^\s*$/,!1)?ae():ae(on("stat"),ve,an(";"),Rt):we=="debugger"?ae(an(";")):we=="{"?ae(on("}"),kn,G,Rt,qt):we==";"?ae():we=="if"?(ce.state.lexical.info=="else"&&ce.state.cc[ce.state.cc.length-1]==Rt&&ce.state.cc.pop()(),ae(on("form"),Pn,Zn,Rt,Ne)):we=="function"?ae(Gr):we=="for"?ae(on("form"),Xe,Zn,Rt):we=="class"||w&&We=="interface"?(ce.marked="keyword",ae(on("form",we=="class"?we:We),s5,Rt)):we=="variable"?w&&We=="declare"?(ce.marked="keyword",ae(Zn)):w&&(We=="module"||We=="enum"||We=="type")&&ce.stream.match(/^\s*\w/,!1)?(ce.marked="keyword",We=="enum"?ae(Y7):We=="type"?ae(Rd,an("operator"),Ut,an(";")):ae(on("form"),_d,an("{"),on("}"),G,Rt,Rt)):w&&We=="namespace"?(ce.marked="keyword",ae(on("form"),Qe,Zn,Rt)):w&&We=="abstract"?(ce.marked="keyword",ae(Zn)):ae(on("stat"),tn):we=="switch"?ae(on("form"),Pn,an("{"),on("}","switch"),kn,G,Rt,Rt,qt):we=="case"?ae(Qe,an(":")):we=="default"?ae(an(":")):we=="catch"?ae(on("form"),un,kt,Zn,Rt,qt):we=="export"?ae(on("stat"),l5,Rt):we=="import"?ae(on("stat"),c5,Rt):we=="async"?ae(Zn):We=="@"?ae(Qe,Zn):Be(on("stat"),Qe,an(";"),Rt)}function kt(we){if(we=="(")return ae(Jg,an(")"))}function Qe(we,We){return hr(we,We,!1)}function Xt(we,We){return hr(we,We,!0)}function Pn(we){return we!="("?Be():ae(on(")"),Qe,an(")"),Rt)}function hr(we,We,En){if(ce.state.fatArrowAt==ce.stream.start){var ar=En?ge:ue;if(we=="(")return ae(un,on(")"),gr(Jg,")"),Rt,an("=>"),ar,qt);if(we=="variable")return Be(un,_d,an("=>"),ar,qt)}var So=En?Z:ke;return $e.hasOwnProperty(we)?ae(So):we=="function"?ae(Gr,So):we=="class"||w&&We=="interface"?(ce.marked="keyword",ae(on("form"),mb,Rt)):we=="keyword c"||we=="async"?ae(En?Xt:Qe):we=="("?ae(on(")"),ve,an(")"),Rt,So):we=="operator"||we=="spread"?ae(En?Xt:Qe):we=="["?ae(on("]"),AH,Rt,So):we=="{"?de(Kn,"}",null,So):we=="quasi"?Be(V,So):we=="new"?ae(Ge(En)):we=="import"?ae(Qe):ae()}function ve(we){return we.match(/[;\}\)\],]/)?Be():Be(Qe)}function ke(we,We){return we==","?ae(Qe):Z(we,We,!1)}function Z(we,We,En){var ar=En==!1?ke:Z,So=En==!1?Qe:Xt;if(we=="=>")return ae(un,En?ge:ue,qt);if(we=="operator")return/\+\+|--/.test(We)||w&&We=="!"?ae(ar):w&&We=="<"&&ce.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?ae(on(">"),gr(Ut,">"),Rt,ar):We=="?"?ae(Qe,an(":"),So):ae(So);if(we=="quasi")return Be(V,ar);if(we!=";"){if(we=="(")return de(Xt,")","call",ar);if(we==".")return ae(Ct,ar);if(we=="[")return ae(on("]"),ve,an("]"),Rt,ar);if(w&&We=="as")return ce.marked="keyword",ae(Ut,ar);if(we=="regexp")return ce.state.lastType=ce.marked="operator",ce.stream.backUp(ce.stream.pos-ce.stream.start-1),ae(So)}}function V(we,We){return we!="quasi"?Be():We.slice(We.length-2)!="${"?ae(V):ae(Qe,ie)}function ie(we){if(we=="}")return ce.marked="string-2",ce.state.tokenize=ee,ae(V)}function ue(we){return oe(ce.stream,ce.state),Be(we=="{"?Zn:Qe)}function ge(we){return oe(ce.stream,ce.state),Be(we=="{"?Zn:Xt)}function Ge(we){return function(We){return We=="."?ae(we?Lt:jt):We=="variable"&&w?ae(Fs,we?Z:ke):Be(we?Xt:Qe)}}function jt(we,We){if(We=="target")return ce.marked="keyword",ae(ke)}function Lt(we,We){if(We=="target")return ce.marked="keyword",ae(Z)}function tn(we){return we==":"?ae(Rt,Zn):Be(ke,an(";"),Rt)}function Ct(we){if(we=="variable")return ce.marked="property",ae()}function Kn(we,We){if(we=="async")return ce.marked="property",ae(Kn);if(we=="variable"||ce.style=="keyword"){if(ce.marked="property",We=="get"||We=="set")return ae(dn);var En;return w&&ce.state.fatArrowAt==ce.stream.start&&(En=ce.stream.match(/^\s*:\s*/,!1))&&(ce.state.fatArrowAt=ce.stream.pos+En[0].length),ae(Rn)}else{if(we=="number"||we=="string")return ce.marked=p?"property":ce.style+" property",ae(Rn);if(we=="jsonld-keyword")return ae(Rn);if(w&&yt(We))return ce.marked="keyword",ae(Kn);if(we=="[")return ae(Qe,X,an("]"),Rn);if(we=="spread")return ae(Xt,Rn);if(We=="*")return ce.marked="keyword",ae(Kn);if(we==":")return Be(Rn)}}function dn(we){return we!="variable"?Be(Rn):(ce.marked="property",ae(Gr))}function Rn(we){if(we==":")return ae(Xt);if(we=="(")return Be(Gr)}function gr(we,We,En){function ar(So,Os){if(En?En.indexOf(So)>-1:So==","){var tc=ce.state.lexical;return tc.info=="call"&&(tc.pos=(tc.pos||0)+1),ae(function(Ad,Zg){return Ad==We||Zg==We?Be():Be(we)},ar)}return So==We||Os==We?ae():En&&En.indexOf(";")>-1?Be(we):ae(an(We))}return function(So,Os){return So==We||Os==We?ae():Be(we,ar)}}function de(we,We,En){for(var ar=3;ar"),Ut)}function so(we){if(we=="=>")return ae(Ut)}function rl(we,We){if(we=="variable"||ce.style=="keyword")return ce.marked="property",ae(rl);if(We=="?"||we=="number"||we=="string")return ae(rl);if(we==":")return ae(Ut);if(we=="[")return ae(an("variable"),De,an("]"),rl);if(we=="(")return Be(lu,rl)}function _o(we,We){return we=="variable"&&ce.stream.match(/^\s*[?:]/,!1)||We=="?"?ae(_o):we==":"?ae(Ut):we=="spread"?ae(_o):Be(Ut)}function Ro(we,We){if(We=="<")return ae(on(">"),gr(Ut,">"),Rt,Ro);if(We=="|"||we=="."||We=="&")return ae(Ut);if(we=="[")return ae(Ut,an("]"),Ro);if(We=="extends"||We=="implements")return ce.marked="keyword",ae(Ut);if(We=="?")return ae(Ut,an(":"),Ut)}function Fs(we,We){if(We=="<")return ae(on(">"),gr(Ut,">"),Rt,Ro)}function fy(){return Be(Ut,nT)}function nT(we,We){if(We=="=")return ae(Ut)}function O3(we,We){return We=="enum"?(ce.marked="keyword",ae(Y7)):Be(_d,X,j1,X7)}function _d(we,We){if(w&&yt(We))return ce.marked="keyword",ae(_d);if(we=="variable")return U(We),ae();if(we=="spread")return ae(_d);if(we=="[")return de(rT,"]");if(we=="{")return de(q7,"}")}function q7(we,We){return we=="variable"&&!ce.stream.match(/^\s*:/,!1)?(U(We),ae(j1)):(we=="variable"&&(ce.marked="property"),we=="spread"?ae(_d):we=="}"?Be():we=="["?ae(Qe,an("]"),an(":"),q7):ae(an(":"),_d,j1))}function rT(){return Be(_d,j1)}function j1(we,We){if(We=="=")return ae(Xt)}function X7(we){if(we==",")return ae(O3)}function Ne(we,We){if(we=="keyword b"&&We=="else")return ae(on("form","else"),Zn,Rt)}function Xe(we,We){if(We=="await")return ae(Xe);if(we=="(")return ae(on(")"),Mr,Rt)}function Mr(we){return we=="var"?ae(O3,Cr):we=="variable"?ae(Cr):Be(Cr)}function Cr(we,We){return we==")"?ae():we==";"?ae(Cr):We=="in"||We=="of"?(ce.marked="keyword",ae(Qe,Cr)):Be(Qe,Cr)}function Gr(we,We){if(We=="*")return ce.marked="keyword",ae(Gr);if(we=="variable")return U(We),ae(Gr);if(we=="(")return ae(un,on(")"),gr(Jg,")"),Rt,gt,Zn,qt);if(w&&We=="<")return ae(on(">"),gr(fy,">"),Rt,Gr)}function lu(we,We){if(We=="*")return ce.marked="keyword",ae(lu);if(we=="variable")return U(We),ae(lu);if(we=="(")return ae(un,on(")"),gr(Jg,")"),Rt,gt,qt);if(w&&We=="<")return ae(on(">"),gr(fy,">"),Rt,lu)}function Rd(we,We){if(we=="keyword"||we=="variable")return ce.marked="type",ae(Rd);if(We=="<")return ae(on(">"),gr(fy,">"),Rt)}function Jg(we,We){return We=="@"&&ae(Qe,Jg),we=="spread"?ae(Jg):w&&yt(We)?(ce.marked="keyword",ae(Jg)):w&&we=="this"?ae(X,j1):Be(_d,X,j1)}function mb(we,We){return we=="variable"?s5(we,We):_3(we,We)}function s5(we,We){if(we=="variable")return U(We),ae(_3)}function _3(we,We){if(We=="<")return ae(on(">"),gr(fy,">"),Rt,_3);if(We=="extends"||We=="implements"||w&&we==",")return We=="implements"&&(ce.marked="keyword"),ae(w?Ut:Qe,_3);if(we=="{")return ae(on("}"),$1,Rt)}function $1(we,We){if(we=="async"||we=="variable"&&(We=="static"||We=="get"||We=="set"||w&&yt(We))&&ce.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return ce.marked="keyword",ae($1);if(we=="variable"||ce.style=="keyword")return ce.marked="property",ae(w?dy:Gr,$1);if(we=="number"||we=="string")return ae(w?dy:Gr,$1);if(we=="[")return ae(Qe,X,an("]"),w?dy:Gr,$1);if(We=="*")return ce.marked="keyword",ae($1);if(w&&we=="(")return Be(lu,$1);if(we==";"||we==",")return ae($1);if(we=="}")return ae();if(We=="@")return ae(Qe,$1)}function dy(we,We){if(We=="?")return ae(dy);if(we==":")return ae(Ut,j1);if(We=="=")return ae(Xt);var En=ce.state.lexical.prev,ar=En&&En.info=="interface";return Be(ar?lu:Gr)}function l5(we,We){return We=="*"?(ce.marked="keyword",ae(iT,an(";"))):We=="default"?(ce.marked="keyword",ae(Qe,an(";"))):we=="{"?ae(gr(R3,"}"),iT,an(";")):Be(Zn)}function R3(we,We){if(We=="as")return ce.marked="keyword",ae(an("variable"));if(we=="variable")return Be(Xt,R3)}function c5(we){return we=="string"?ae():we=="("?Be(Qe):Be(Fp,Qg,iT)}function Fp(we,We){return we=="{"?de(Fp,"}"):(we=="variable"&&U(We),We=="*"&&(ce.marked="keyword"),ae(zp))}function Qg(we){if(we==",")return ae(Fp,Qg)}function zp(we,We){if(We=="as")return ce.marked="keyword",ae(Fp)}function iT(we,We){if(We=="from")return ce.marked="keyword",ae(Qe)}function AH(we){return we=="]"?ae():Be(gr(Xt,"]"))}function Y7(){return Be(on("form"),_d,an("{"),on("}"),gr(oT,"}"),Rt,Rt)}function oT(){return Be(_d,j1)}function J7(we,We){return we.lastType=="operator"||we.lastType==","||E.test(We.charAt(0))||/[,.]/.test(We.charAt(0))}function V_(we,We,En){return We.tokenize==K&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(We.lastType)||We.lastType=="quasi"&&/\{\s*$/.test(we.string.slice(0,we.pos-(En||0)))}return{startState:function(we){var We={tokenize:K,lastType:"sof",cc:[],lexical:new et((we||0)-l,0,"block",!1),localVars:o.localVars,context:o.localVars&&new ft(null,null,!1),indented:we||0};return o.globalVars&&typeof o.globalVars=="object"&&(We.globalVars=o.globalVars),We},token:function(we,We){if(we.sol()&&(We.lexical.hasOwnProperty("align")||(We.lexical.align=!1),We.indented=we.indentation(),oe(we,We)),We.tokenize!=Q&&we.eatSpace())return null;var En=We.tokenize(we,We);return _=="comment"?En:(We.lastType=_=="operator"&&(R=="++"||R=="--")?"incdec":_,bt(We,En,_,R,we))},indent:function(we,We){if(we.tokenize==Q)return CodeMirror.Pass;if(we.tokenize!=K)return 0;var En=We&&We.charAt(0),ar=we.lexical,So;if(!/^\s*else\b/.test(We))for(var Os=we.cc.length-1;Os>=0;--Os){var tc=we.cc[Os];if(tc==Rt)ar=ar.prev;else if(tc!=Ne)break}for(;(ar.type=="stat"||ar.type=="form")&&(En=="}"||(So=we.cc[we.cc.length-1])&&(So==ke||So==Z)&&!/^[,\.=+\-*:?[\(]/.test(We));)ar=ar.prev;a&&ar.type==")"&&ar.prev.type=="stat"&&(ar=ar.prev);var Ad=ar.type,Zg=En==Ad;return Ad=="vardef"?ar.indented+(we.lastType=="operator"||we.lastType==","?ar.info.length+1:0):Ad=="form"&&En=="{"?ar.indented:Ad=="form"?ar.indented+l:Ad=="stat"?ar.indented+(J7(we,We)?a||l:0):ar.info=="switch"&&!Zg&&o.doubleIndentSwitch!=!1?ar.indented+(/^(?:case|default)\b/.test(We)?l:2*l):ar.align?ar.column+(Zg?0:1):ar.indented+(Zg?0:l)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:g?null:"/*",blockCommentEnd:g?null:"*/",blockCommentContinue:g?null:" * ",lineComment:g?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:g?"json":"javascript",jsonldMode:p,jsonMode:g,expressionAllowed:V_,skipExpression:function(we){var We=we.cc[we.cc.length-1];(We==Qe||We==Xt)&&we.cc.pop()}}});CodeMirror.registerHelper("wordChars","javascript",/[\w$]/);CodeMirror.defineMIME("text/javascript","javascript");CodeMirror.defineMIME("text/ecmascript","javascript");CodeMirror.defineMIME("application/javascript","javascript");CodeMirror.defineMIME("application/x-javascript","javascript");CodeMirror.defineMIME("application/ecmascript","javascript");CodeMirror.defineMIME("application/json",{name:"javascript",json:!0});CodeMirror.defineMIME("application/x-json",{name:"javascript",json:!0});CodeMirror.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});CodeMirror.defineMIME("text/typescript",{name:"javascript",typescript:!0});CodeMirror.defineMIME("application/typescript",{name:"javascript",typescript:!0});window.CodeMirror.defineMode("turtle",function(r){var o=r.indentUnit,l;function a(I){return new RegExp("^(?:"+I.join("|")+")$","i")}a([]);var p=a(["@prefix","@base","a"]),g=/[*+\-<>=&|]/;function w(I,P){var _=I.next();if(l=null,_=="<"&&!I.match(/^[\s\u00a0=]/,!1))return I.match(/^[^\s\u00a0>]*>?/),"atom";if(_=='"'||_=="'")return P.tokenize=y(_),P.tokenize(I,P);if(/[{}\(\),\.;\[\]]/.test(_))return l=_,null;if(_=="#")return I.skipToEnd(),"comment";if(g.test(_))return I.eatWhile(g),null;if(_==":")return"operator";if(I.eatWhile(/[_\w\d]/),I.peek()==":")return"variable-3";var R=I.current();return p.test(R)?"meta":_>="A"&&_<="Z"?"comment":"keyword";var R=I.current()}function y(I){return function(P,_){for(var R=!1,$;($=P.next())!=null;){if($==I&&!R){_.tokenize=w;break}R=!R&&$=="\\"}return"string"}}function S(I,P,_){I.context={prev:I.context,indent:I.indent,col:_,type:P}}function E(I){I.indent=I.context.indent,I.context=I.context.prev}return{startState:function(){return{tokenize:w,context:null,indent:0,col:0}},token:function(I,P){if(I.sol()&&(P.context&&P.context.align==null&&(P.context.align=!1),P.indent=I.indentation()),I.eatSpace())return null;var _=P.tokenize(I,P);if(_!="comment"&&P.context&&P.context.align==null&&P.context.type!="pattern"&&(P.context.align=!0),l=="(")S(P,")",I.column());else if(l=="[")S(P,"]",I.column());else if(l=="{")S(P,"}",I.column());else if(/[\]\}\)]/.test(l)){for(;P.context&&P.context.type=="pattern";)E(P);P.context&&l==P.context.type&&E(P)}else l=="."&&P.context&&P.context.type=="pattern"?E(P):/atom|string|variable/.test(_)&&P.context&&(/[\}\]]/.test(P.context.type)?S(P,"pattern",I.column()):P.context.type=="pattern"&&!P.context.align&&(P.context.align=!0,P.context.col=I.column()));return _},indent:function(I,P){var _=P&&P.charAt(0),R=I.context;if(/[\]\}]/.test(_))for(;R&&R.type=="pattern";)R=R.prev;var $=R&&_==R.type;return R?R.type=="pattern"?R.col:R.align?R.col+($?0:1):R.indent+($?0:o):0},lineComment:"#"}});CodeMirror.defineMIME("text/turtle","turtle");CodeMirror.defineMIME("text/n3","turtle");CodeMirror.defineMIME("application/trig","turtle");window.CodeMirror.defineMode("ntriples",function(){var r={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function o(l,a){var p=l.location,g;p==r.PRE_SUBJECT&&a=="<"?g=r.WRITING_SUB_URI:p==r.PRE_SUBJECT&&a=="_"?g=r.WRITING_BNODE_URI:p==r.PRE_PRED&&a=="<"?g=r.WRITING_PRED_URI:p==r.PRE_OBJ&&a=="<"?g=r.WRITING_OBJ_URI:p==r.PRE_OBJ&&a=="_"?g=r.WRITING_OBJ_BNODE:p==r.PRE_OBJ&&a=='"'?g=r.WRITING_OBJ_LITERAL:p==r.WRITING_SUB_URI&&a==">"||p==r.WRITING_BNODE_URI&&a==" "?g=r.PRE_PRED:p==r.WRITING_PRED_URI&&a==">"?g=r.PRE_OBJ:p==r.WRITING_OBJ_URI&&a==">"||p==r.WRITING_OBJ_BNODE&&a==" "||p==r.WRITING_OBJ_LITERAL&&a=='"'||p==r.WRITING_LIT_LANG&&a==" "||p==r.WRITING_LIT_TYPE&&a==">"?g=r.POST_OBJ:p==r.WRITING_OBJ_LITERAL&&a=="@"?g=r.WRITING_LIT_LANG:p==r.WRITING_OBJ_LITERAL&&a=="^"?g=r.WRITING_LIT_TYPE:a==" "&&(p==r.PRE_SUBJECT||p==r.PRE_PRED||p==r.PRE_OBJ||p==r.POST_OBJ)?g=p:p==r.POST_OBJ&&a=="."?g=r.PRE_SUBJECT:g=r.ERROR,l.location=g}return{startState:function(){return{location:r.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(l,a){var p=l.next();if(p=="<"){o(a,p);var g="";return l.eatWhile(function(I){return I!="#"&&I!=">"?(g+=I,!0):!1}),a.uris.push(g),l.match("#",!1)||(l.next(),o(a,">")),"variable"}if(p=="#"){var w="";return l.eatWhile(function(I){return I!=">"&&I!=" "?(w+=I,!0):!1}),a.anchors.push(w),"variable-2"}if(p==">")return o(a,">"),"variable";if(p=="_"){o(a,p);var y="";return l.eatWhile(function(I){return I!=" "?(y+=I,!0):!1}),a.bnodes.push(y),l.next(),o(a," "),"builtin"}if(p=='"')return o(a,p),l.eatWhile(function(I){return I!='"'}),l.next(),l.peek()!="@"&&l.peek()!="^"&&o(a,'"'),"string";if(p=="@"){o(a,"@");var S="";return l.eatWhile(function(I){return I!=" "?(S+=I,!0):!1}),a.langs.push(S),l.next(),o(a," "),"string-2"}if(p=="^"){l.next(),o(a,"^");var E="";return l.eatWhile(function(I){return I!=">"?(E+=I,!0):!1}),a.types.push(E),l.next(),o(a,">"),"variable"}p==" "&&o(a,p),p=="."&&o(a,p)}}});CodeMirror.defineMIME("application/n-triples","ntriples");CodeMirror.defineMIME("application/n-quads","ntriples");CodeMirror.defineMIME("text/n-triples","ntriples");var TCn={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ICn={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};window.CodeMirror.defineMode("xml",function(r,o){var l=r.indentUnit,a={},p=o.htmlMode?TCn:ICn;for(var g in p)a[g]=p[g];for(var g in o)a[g]=o[g];var w,y;function S(ce,Be){function ae(He){return Be.tokenize=He,He(ce,Be)}var xe=ce.next();if(xe=="<")return ce.eat("!")?ce.eat("[")?ce.match("CDATA[")?ae(P("atom","]]>")):null:ce.match("--")?ae(P("comment","-->")):ce.match("DOCTYPE",!0,!0)?(ce.eatWhile(/[\w\._\-]/),ae(_(1))):null:ce.eat("?")?(ce.eatWhile(/[\w\._\-]/),Be.tokenize=P("meta","?>"),"meta"):(w=ce.eat("/")?"closeTag":"openTag",Be.tokenize=E,"tag bracket");if(xe=="&"){var U;return ce.eat("#")?ce.eat("x")?U=ce.eatWhile(/[a-fA-F\d]/)&&ce.eat(";"):U=ce.eatWhile(/[\d]/)&&ce.eat(";"):U=ce.eatWhile(/[\w\.\-:]/)&&ce.eat(";"),U?"atom":"error"}else return ce.eatWhile(/[^&<]/),null}S.isInText=!0;function E(ce,Be){var ae=ce.next();if(ae==">"||ae=="/"&&ce.eat(">"))return Be.tokenize=S,w=ae==">"?"endTag":"selfcloseTag","tag bracket";if(ae=="=")return w="equals",null;if(ae=="<"){Be.tokenize=S,Be.state=q,Be.tagName=Be.tagStart=null;var xe=Be.tokenize(ce,Be);return xe?xe+" tag error":"tag error"}else return/[\'\"]/.test(ae)?(Be.tokenize=I(ae),Be.stringStartCol=ce.column(),Be.tokenize(ce,Be)):(ce.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function I(ce){var Be=function(ae,xe){for(;!ae.eol();)if(ae.next()==ce){xe.tokenize=E;break}return"string"};return Be.isInAttribute=!0,Be}function P(ce,Be){return function(ae,xe){for(;!ae.eol();){if(ae.match(Be)){xe.tokenize=S;break}ae.next()}return ce}}function _(ce){return function(Be,ae){for(var xe;(xe=Be.next())!=null;){if(xe=="<")return ae.tokenize=_(ce+1),ae.tokenize(Be,ae);if(xe==">")if(ce==1){ae.tokenize=S;break}else return ae.tokenize=_(ce-1),ae.tokenize(Be,ae)}return"meta"}}function R(ce,Be,ae){this.prev=ce.context,this.tagName=Be,this.indent=ce.indented,this.startOfLine=ae,(a.doNotIndent.hasOwnProperty(Be)||ce.context&&ce.context.noIndent)&&(this.noIndent=!0)}function $(ce){ce.context&&(ce.context=ce.context.prev)}function K(ce,Be){for(var ae;;){if(!ce.context||(ae=ce.context.tagName,!a.contextGrabbers.hasOwnProperty(ae)||!a.contextGrabbers[ae].hasOwnProperty(Be)))return;$(ce)}}function q(ce,Be,ae){return ce=="openTag"?(ae.tagStart=Be.column(),Q):ce=="closeTag"?ee:q}function Q(ce,Be,ae){return ce=="word"?(ae.tagName=Be.current(),y="tag",$e):a.allowMissingTagName&&ce=="endTag"?(y="tag bracket",$e(ce,Be,ae)):(y="error",Q)}function ee(ce,Be,ae){if(ce=="word"){var xe=Be.current();return ae.context&&ae.context.tagName!=xe&&a.implicitlyClosed.hasOwnProperty(ae.context.tagName)&&$(ae),ae.context&&ae.context.tagName==xe||a.matchClosing===!1?(y="tag",J):(y="tag error",oe)}else return a.allowMissingTagName&&ce=="endTag"?(y="tag bracket",J(ce,Be,ae)):(y="error",oe)}function J(ce,Be,ae){return ce!="endTag"?(y="error",J):($(ae),q)}function oe(ce,Be,ae){return y="error",J(ce,Be,ae)}function $e(ce,Be,ae){if(ce=="word")return y="attribute",et;if(ce=="endTag"||ce=="selfcloseTag"){var xe=ae.tagName,U=ae.tagStart;return ae.tagName=ae.tagStart=null,ce=="selfcloseTag"||a.autoSelfClosers.hasOwnProperty(xe)?K(ae,xe):(K(ae,xe),ae.context=new R(ae,xe,U==ae.indented)),q}return y="error",$e}function et(ce,Be,ae){return ce=="equals"?wt:(a.allowMissing||(y="error"),$e(ce,Be,ae))}function wt(ce,Be,ae){return ce=="string"?bt:ce=="word"&&a.allowUnquoted?(y="string",$e):(y="error",$e(ce,Be,ae))}function bt(ce,Be,ae){return ce=="string"?bt:$e(ce,Be,ae)}return{startState:function(ce){var Be={tokenize:S,state:q,indented:ce||0,tagName:null,tagStart:null,context:null};return ce!=null&&(Be.baseIndent=ce),Be},token:function(ce,Be){if(!Be.tagName&&ce.sol()&&(Be.indented=ce.indentation()),ce.eatSpace())return null;w=null;var ae=Be.tokenize(ce,Be);return(ae||w)&&ae!="comment"&&(y=null,Be.state=Be.state(w||ae,ce,Be),y&&(ae=y=="error"?ae+" error":y)),ae},indent:function(ce,Be,ae){var xe=ce.context;if(ce.tokenize.isInAttribute)return ce.tagStart==ce.indented?ce.stringStartCol+1:ce.indented+l;if(xe&&xe.noIndent)return CodeMirror.Pass;if(ce.tokenize!=E&&ce.tokenize!=S)return ae?ae.match(/^(\s*)/)[0].length:0;if(ce.tagName)return a.multilineTagIndentPastTag!==!1?ce.tagStart+ce.tagName.length+2:ce.tagStart+l*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(ce){ce.state==wt&&(ce.state=$e)},xmlCurrentTag:function(ce){return ce.tagName?{name:ce.tagName,close:ce.type=="closeTag"}:null},xmlCurrentContext:function(ce){for(var Be=[],ae=ce.context;ae;ae=ae.prev)ae.tagName&&Be.push(ae.tagName);return Be.reverse()}}});CodeMirror.defineMIME("text/xml","xml");CodeMirror.defineMIME("application/xml","xml");CodeMirror.mimeModes.hasOwnProperty("text/html")||CodeMirror.defineMIME("text/html",{name:"xml",htmlMode:!0});const Jte=Symbol("parsed quads");let MCn=class extends ECn{static get properties(){return{format:{type:String,reflect:!0},quads:{type:Array},noReserialize:{type:Boolean,attribute:"no-reserialize"}}}constructor(){super(),this.isParsing=!1,this.noReserialize=!1}disconnectedCallback(){super.disconnectedCallback(),this.ready=null}get quads(){return this[Jte]}set quads(o){if(typeof o>"u"||o===null)return;const l=this[Jte];this[Jte]=o,this.requestUpdate("quads",l)}async updated(o){super.updated(o);let l=!1,a=!1;const p=this.quads&&this.quads.length>0;o.has("format")&&(l=p&&!this.noReserialize,a=!l),o.has("quads")&&(l=!0),(o.has("prefixes")||o.has("customPrefixes"))&&(l=p),a?this.parse():l&&this.__serialize()}async _parse(){const{toStream:o}=await Xg(async()=>{const{toStream:w}=await import("./stream-DelwVIKy.js");return{toStream:w}},[]),l=o(this.value),a=[],p={},g=this.$rdf.formats.parsers.import(this.format,l);if(!g){this.dispatchEvent(new CustomEvent("parsing-failed",{detail:{notFound:!0}}));return}g.on("prefix",(w,y)=>{p[w]=y});for await(const w of g)a.push(w);this[Jte]=a,this.dispatchEvent(new CustomEvent("quads-changed",{detail:{value:a}})),this.__notifyParsedPrefixes(p)}async __serialize(){if(!this.format)return;await this.ready;const{Readable:o}=await Xg(async()=>{const{Readable:w}=await import("./stream-DelwVIKy.js");return{Readable:w}},[]),l=[...this.quads||[]],a=new o({objectMode:!0,read(){if(l.length===0){this.push(null);return}this.push(l.shift())}}),p=this.$rdf.formats.serializers.import(this.format,a,{prefixes:await this._combinePrefixes()});if(!p){this.value=`No serializer found for media type ${this.format}`;return}let g="";for await(const w of p)g+=w;this.format===uy.jsonLd&&(g=JSON.stringify(JSON.parse(g),null,2)),this.value=g,this.dispatchEvent(new CustomEvent("serialized",{detail:{value:g}}))}_errorLine(o){const l={message:o.message};return o.context&&o.context.line&&(l.from={line:o.context.line-1,ch:0},l.to={line:o.context.line-1,ch:Number.MAX_SAFE_INTEGER}),l}__notifyParsedPrefixes(o){const l={},a={...o};for(const[p,g]of Object.entries(o))p in Dne&&(l[p]=g,delete a[p]);this.dispatchEvent(new CustomEvent("prefixes-parsed",{detail:{prefixes:{...l,...a}}}))}};const iIt=new n9e([L9t,wH]);iIt.formats.import(hm);window.customElements.define("rdf-editor",class extends fwn(MCn,iIt){});var pxe=(r=>(r.JsonLD="application/ld+json",r.Trig="application/trig",r.NQuads="application/n-quads",r.NTriples="application/n-triples",r.Turtle="text/turtle",r.RdfXML="application/rdf+xml",r))(pxe||{});const S7=[{contentType:"text/turtle",name:"Turtle",type:"text/turtle"},{contentType:"application/ld+json",name:"JSON-LD",type:"application/ld+json"},{contentType:"application/trig",name:"TriG",type:"application/trig"},{contentType:"application/n-quads",name:"N-Quads",type:"application/n-quads"},{contentType:"application/n-triples",name:"N-Triples",type:"application/n-triples"},{contentType:"application/rdf+xml",name:"RDF/XML",type:"application/rdf+xml"}],gxe="com.zazuko.sketch",O7e=`${gxe}.text`,_7e=`${gxe}.format`,R7e=`${gxe}.prefix`,PCn=5e3,OCn={class:"editor-container"},_Cn=[".value","format","customPrefixes"],g7t="rdf,rdfs,sh",RCn=Mc({__name:"RdfEditor",props:{format:{}},emits:["change","format-change"],setup(r,{emit:o}){const l=r,a=o,p=Qo([]),g=Qo(null),w=Qo(pxe.Turtle);Vs(()=>l.format,_=>{_!==w.value&&(w.value=_)});const y=Qo("");function S(_){console.error("Parsing failed",_.detail)}function E(_){var q,Q;const R=(Q=(q=g.value)==null?void 0:q.codeMirror)==null?void 0:Q.value,$=_.detail.value,K={quads:$,rdfText:R,serializationFormat:l.format,prefix:p.value};$.length{const _={};return p.value.forEach(R=>{typeof R.uri=="string"?_[R.prefix]=R.uri:_[R.prefix]=R.uri.value}),g7t.split(",").forEach(R=>{delete _[R]}),_});return bb(()=>{const _=localStorage.getItem(O7e),R=localStorage.getItem(_7e),$=JSON.parse(localStorage.getItem(R7e)??"[]");_&&R&&S7.find(K=>K.type===R)&&Array.isArray($)?(y.value=_,w.value=(S7.find(K=>K.type===R)??S7[0]).type,p.value=$,a("format-change",w.value)):(localStorage.removeItem(O7e),localStorage.removeItem(_7e),localStorage.removeItem(R7e))}),(_,R)=>(Ce(),vt("div",OCn,[br("rdf-editor",{".value":y.value,format:w.value,ref_key:"editorElement",ref:g,prefixes:g7t,customPrefixes:P.value,"auto-parse":"",parseDelay:"1000",onParsingFailed:S,onQuadsChanged:E,onPrefixesParsed:I},null,40,_Cn)]))}}),Pie=(r,o)=>{const l=r.__vccOpts||r;for(const[a,p]of o)l[a]=p;return l},ACn=Pie(RCn,[["__scopeId","data-v-abcbd41c"]]);function b7t({parent:r,child:o}){return new Proxy({},{get(a,p){return o[p]||r[p]},set(a,p,g){return o[p]=g,!0},has(a,p){return p in o||p in r},ownKeys(){const a=Object.getOwnPropertyNames(r),p=Object.getOwnPropertyNames(o);return[...new Set([...a,...p]).values()]},getOwnPropertyDescriptor(a,p){return{enumerable:!p.toString().startsWith("_"),configurable:!0}}})}class Hz{constructor(o,{parent:l,bind:a=!1}={}){if(this._parent=l,o instanceof n9e||o instanceof Hz)return b7t({parent:l,child:o});this._factories=o.slice();const p=l?b7t({parent:l,child:this}):this;for(const g of this._factories){typeof g.prototype.init=="function"&&g.prototype.init.call(p);for(const w of g.exports||[])a?this[w]=g.prototype[w].bind(p):this[w]=g.prototype[w]}return p}clone(){const o=new Hz(this._factories,this._parent);for(const l of o._factories)typeof l.prototype.clone=="function"&&l.prototype.clone.call(o,this);return o}}const{Readable:LCn}=y9e;function jCn(r){const o=r[Symbol.iterator](),l=new LCn({objectMode:!0,read:()=>{for(;;){const a=o.next().value;if(!a){l.push(null);return}if(!l.push(a))return}}});return l}var $Cn=jCn;const oIt=I3($Cn),{promisify:DCn}=sie,{finished:NCn}=y9e;async function BCn(r,o){return o.on("data",l=>r.add(l)),await DCn(NCn)(o),r}var FCn=BCn;const sIt=I3(FCn);var zCn=class lIt{constructor(o,l=new Map,a=0){this.prefix=o,this._existing=l,this.counter=a}clone(){const{prefix:o,_existing:l,counter:a}=this;return new lIt(o,new Map(l),a)}getId(o){const l=o&&this._existing.get(o);if(l)return l;const a=this.prefix+this.counter;return this.counter++,o&&this._existing.set(o,a),a}hasId(o){return this._existing.has(o)}getOldIds(){return[...this._existing.keys()]}};(function(r,o){if(r.setImmediate)return;var l=1,a={},p=!1,g=r.document,w;function y(ee){typeof ee!="function"&&(ee=new Function(""+ee));for(var J=new Array(arguments.length-1),oe=0;oe"u"?typeof window>"u"?xwn:window:self);/*! - * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const A7e=self.crypto||self.msCrypto;var HCn=class{constructor(o){if(!(A7e&&A7e.subtle))throw new Error("crypto.subtle not found.");if(o==="sha256")this.algorithm={name:"SHA-256"};else if(o==="sha1")this.algorithm={name:"SHA-1"};else throw new Error(`Unsupported algorithm "${o}".`);this._content=""}update(o){this._content+=o}async digest(){const o=new TextEncoder().encode(this._content),l=new Uint8Array(await A7e.subtle.digest(this.algorithm,o));let a="";for(let p=0;pp)&&(E&&y>0&&S>o[y-1]||!E&&yo[y+1])&&(p=S,g=y)}if(p===null)this.done=!0;else{const y=l.get(p)?g-1:g+1;o[g]=o[y],o[y]=p;for(const S of o)S>p&&l.set(S,!l.get(S))}return a}};/*! - * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const UCn="http://www.w3.org/1999/02/22-rdf-syntax-ns#",L7e=UCn+"langString",j7e="http://www.w3.org/2001/XMLSchema#string",qv="NamedNode",oE="BlankNode",One="Literal",w7t="DefaultGraph",a_={};(()=>{const r="(?:<([^:]+:[^>]*)>)",l="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"+"_",a=l+"0-9-·̀-ͯ‿-⁀",g="(_:(?:["+l+"0-9])(?:(?:["+a+".])*(?:["+a+"]))?)",w='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"',y="(?:\\^\\^"+r+")",E="(?:"+w+"(?:"+y+"|"+"(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"+")?)",I="[ \\t]+",P="[ \\t]*",_="(?:"+r+"|"+g+")"+I,R=r+I,$="(?:"+r+"|"+g+"|"+E+")"+P,K="(?:\\.|(?:(?:"+r+"|"+g+")"+P+"\\.))";a_.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,a_.empty=new RegExp("^"+P+"$"),a_.quad=new RegExp("^"+P+_+R+$+K+P+"$")})();var GCn=class _ne{static parse(o){const l=[],a={},p=o.split(a_.eoln);let g=0;for(const w of p){if(g++,a_.empty.test(w))continue;const y=w.match(a_.quad);if(y===null)throw new Error("N-Quads parse error on line "+g+".");const S={subject:null,predicate:null,object:null,graph:null};if(y[1]!==void 0?S.subject={termType:qv,value:y[1]}:S.subject={termType:oE,value:y[2]},S.predicate={termType:qv,value:y[3]},y[4]!==void 0?S.object={termType:qv,value:y[4]}:y[5]!==void 0?S.object={termType:oE,value:y[5]}:(S.object={termType:One,value:void 0,datatype:{termType:qv}},y[7]!==void 0?S.object.datatype.value=y[7]:y[8]!==void 0?(S.object.datatype.value=L7e,S.object.language=y[8]):S.object.datatype.value=j7e,S.object.value=YCn(y[6])),y[9]!==void 0?S.graph={termType:qv,value:y[9]}:y[10]!==void 0?S.graph={termType:oE,value:y[10]}:S.graph={termType:w7t,value:""},!(S.graph.value in a))a[S.graph.value]=[S],l.push(S);else{let E=!0;const I=a[S.graph.value];for(const P of I)if(WCn(P,S)){E=!1;break}E&&(I.push(S),l.push(S))}}return l}static serialize(o){Array.isArray(o)||(o=_ne.legacyDatasetToQuads(o));const l=[];for(const a of o)l.push(_ne.serializeQuad(a));return l.sort().join("")}static serializeQuadComponents(o,l,a,p){let g="";return o.termType===qv?g+=`<${o.value}>`:g+=`${o.value}`,g+=` <${l.value}> `,a.termType===qv?g+=`<${a.value}>`:a.termType===oE?g+=a.value:(g+=`"${qCn(a.value)}"`,a.datatype.value===L7e?a.language&&(g+=`@${a.language}`):a.datatype.value!==j7e&&(g+=`^^<${a.datatype.value}>`)),p.termType===qv?g+=` <${p.value}>`:p.termType===oE&&(g+=` ${p.value}`),g+=` . -`,g}static serializeQuad(o){return _ne.serializeQuadComponents(o.subject,o.predicate,o.object,o.graph)}static legacyDatasetToQuads(o){const l=[],a={"blank node":oE,IRI:qv,literal:One};for(const p in o)o[p].forEach(w=>{const y={};for(const S in w){const E=w[S],I={termType:a[E.type],value:E.value};I.termType===One&&(I.datatype={termType:qv},"datatype"in E&&(I.datatype.value=E.datatype),"language"in E?("datatype"in E||(I.datatype.value=L7e),I.language=E.language):"datatype"in E||(I.datatype.value=j7e)),y[S]=I}p==="@default"?y.graph={termType:w7t,value:""}:y.graph={termType:p.startsWith("_:")?oE:qv,value:p},l.push(y)});return l}};function WCn(r,o){return!(r.subject.termType===o.subject.termType&&r.object.termType===o.object.termType)||!(r.subject.value===o.subject.value&&r.predicate.value===o.predicate.value&&r.object.value===o.object.value)?!1:r.object.termType!==One?!0:r.object.datatype.termType===o.object.datatype.termType&&r.object.language===o.object.language&&r.object.datatype.value===o.object.datatype.value}const VCn=/["\\\n\r]/g;function qCn(r){return r.replace(VCn,function(o){switch(o){case'"':return'\\"';case"\\":return"\\\\";case` -`:return"\\n";case"\r":return"\\r"}})}const XCn=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function YCn(r){return r.replace(XCn,function(o,l,a,p){if(l)switch(l){case"t":return" ";case"b":return"\b";case"n":return` -`;case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(a)return String.fromCharCode(parseInt(a,16));if(p)throw new Error("Unsupported U escape")})}/*! - * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const m7t=zCn,JCn=HCn,QCn=KCn,v7t=GCn;var ZCn=class{constructor({createMessageDigest:o=()=>new JCn("sha256"),canonicalIdMap:l=new Map,maxDeepIterations:a=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new m7t("_:c14n",l),this.createMessageDigest=o,this.maxDeepIterations=a,this.quads=null,this.deepIterations=null}main(o){this.deepIterations=new Map,this.quads=o;for(const y of o)this._addBlankNodeQuadInfo({quad:y,component:y.subject}),this._addBlankNodeQuadInfo({quad:y,component:y.object}),this._addBlankNodeQuadInfo({quad:y,component:y.graph});const l=new Map,a=[...this.blankNodeInfo.keys()];for(const y of a)this._hashAndTrackBlankNode({id:y,hashToBlankNodes:l});const p=[...l.keys()].sort(),g=[];for(const y of p){const S=l.get(y);if(S.length>1){g.push(S);continue}const E=S[0];this.canonicalIssuer.getId(E)}for(const y of g){const S=[];for(const E of y){if(this.canonicalIssuer.hasId(E))continue;const I=new m7t("_:b");I.getId(E);const P=this.hashNDegreeQuads(E,I);S.push(P)}S.sort(eSn);for(const E of S){const I=E.issuer.getOldIds();for(const P of I)this.canonicalIssuer.getId(P)}}const w=[];for(const y of this.quads){const S=v7t.serializeQuadComponents(this._componentWithCanonicalId({component:y.subject}),y.predicate,this._componentWithCanonicalId({component:y.object}),this._componentWithCanonicalId({component:y.graph}));w.push(S)}return w.sort(),w.join("")}hashFirstDegreeQuads(o){const l=[],a=this.blankNodeInfo.get(o),p=a.quads;for(const w of p){const y={subject:null,predicate:w.predicate,object:null,graph:null};y.subject=this.modifyFirstDegreeComponent(o,w.subject,"subject"),y.object=this.modifyFirstDegreeComponent(o,w.object,"object"),y.graph=this.modifyFirstDegreeComponent(o,w.graph,"graph"),l.push(v7t.serializeQuad(y))}l.sort();const g=this.createMessageDigest();for(const w of l)g.update(w);return a.hash=g.digest(),a.hash}hashRelatedBlankNode(o,l,a,p){let g;this.canonicalIssuer.hasId(o)?g=this.canonicalIssuer.getId(o):a.hasId(o)?g=a.getId(o):g=this.blankNodeInfo.get(o).hash;const w=this.createMessageDigest();return w.update(p),p!=="g"&&w.update(this.getRelatedPredicate(l)),w.update(g),w.digest()}hashNDegreeQuads(o,l){const a=this.deepIterations.get(o)||0;if(a>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(o,a+1);const p=this.createMessageDigest(),g=this.createHashToRelated(o,l),w=[...g.keys()].sort();for(const y of w){p.update(y);let S="",E;const I=new QCn(g.get(y));for(;I.hasNext();){const P=I.next();let _=l.clone(),R="";const $=[];let K=!1;for(const q of P)if(this.canonicalIssuer.hasId(q)?R+=this.canonicalIssuer.getId(q):(_.hasId(q)||$.push(q),R+=_.getId(q)),S.length!==0&&R>S){K=!0;break}if(!K){for(const q of $){const Q=this.hashNDegreeQuads(q,_);if(R+=_.getId(q),R+=`<${Q.hash}>`,_=Q.issuer,S.length!==0&&R>S){K=!0;break}}K||(S.length===0||R`}createHashToRelated(o,l){const a=new Map,p=this.blankNodeInfo.get(o).quads;for(const g of p)this._addRelatedBlankNodeHash({quad:g,component:g.subject,position:"s",id:o,issuer:l,hashToRelated:a}),this._addRelatedBlankNodeHash({quad:g,component:g.object,position:"o",id:o,issuer:l,hashToRelated:a}),this._addRelatedBlankNodeHash({quad:g,component:g.graph,position:"g",id:o,issuer:l,hashToRelated:a});return a}_hashAndTrackBlankNode({id:o,hashToBlankNodes:l}){const a=this.hashFirstDegreeQuads(o),p=l.get(a);p?p.push(o):l.set(a,[o])}_addBlankNodeQuadInfo({quad:o,component:l}){if(l.termType!=="BlankNode")return;const a=l.value,p=this.blankNodeInfo.get(a);p?p.quads.add(o):this.blankNodeInfo.set(a,{quads:new Set([o]),hash:null})}_addRelatedBlankNodeHash({quad:o,component:l,position:a,id:p,issuer:g,hashToRelated:w}){if(!(l.termType==="BlankNode"&&l.value!==p))return;const y=l.value,S=this.hashRelatedBlankNode(y,o,g,a),E=w.get(S);E?E.push(y):w.set(S,[y])}_componentWithCanonicalId({component:o}){return o.termType==="BlankNode"&&!o.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(o.value)}:o}};function eSn(r,o){return r.hasho.hash?1:0}const tSn=ZCn;function nSn(r){return new tSn().main(r)}var rSn=nSn;const cIt=I3(rSn);function iSn(r,o){for(const l of o)r.add(l);return r}var oSn=iSn;const nSe=I3(oSn);function sSn(r,o,l,a,p){const g=r.match(o,l,a,p);for(const w of g)r.delete(w);return r}var lSn=sSn;const uIt=I3(lSn);function cSn(r,o){if(r.size!==o.size)return!1;for(const l of r)if(!o.has(l))return!1;return!0}var uSn=cSn;const aIt=I3(uSn),aSn=r=>class{constructor(){S8e(this,"dataset")}init(){const o=r(this);this.dataset=(l=[])=>new o([...l]),this.dataset.Class=o,this.dataset.addAll=nSe,this.dataset.deleteMatch=uIt,this.dataset.equals=aIt}},fSn=r=>class extends aSn(r){init(){super.init(),this.dataset.toCanonical=cIt,this.dataset.toStream=oIt,this.dataset.fromStream=o=>sIt(this.dataset(),o)}};let bxe=class{namespace(o){return Gn(o,{factory:this})}};bxe.exports=["namespace"];const wxe=r=>{const o=r.namespace("http://www.w3.org/2001/XMLSchema#"),l=r.namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#");return{first:l.first,nil:l.nil,rest:l.rest,langString:l.langString,xsd:o}};function Gg(r,o){return typeof r>"u"||r===null?o:Array.isArray(r)?r:typeof r!="string"&&r[Symbol.iterator]?[...r]:[r]}const tT=new n9e([bxe,wH]),{xsd:rSe}=wxe(tT);function dSn(r,o=tT){return typeof r!="boolean"?null:o.literal(r.toString(),rSe("boolean"))}function hSn(r,o=tT){return typeof r!="number"?null:Number.isInteger(r)?o.literal(r.toString(10),rSe("integer")):o.literal(r.toString(10),rSe("double"))}function pSn(r,o=tT){return typeof r!="string"?null:o.literal(r)}function gSn(r,o=tT){return dSn(r,o)||hSn(r,o)||pSn(r,o)}function bSn(r,o){if(r&&typeof r!="string")throw new Error("Blank node identifier must be a string");return o.blankNode(r)}function wSn(r,o,l){if(typeof r=="string")return o=o&&(o.value||o.toString()),o&&o.indexOf(":")!==-1&&(o=l.namedNode(o)),l.literal(r.toString(),o);const a=gSn(r,l);if(!a)throw new Error("The value cannot be converted to a literal node");return a}function y7t(r,o){if(typeof r!="string")throw new Error("Named node must be an IRI string");return o.namedNode(r)}function fIt(r,o="Literal",l,a){if(r&&typeof r=="object"&&r.termType)return r;if(r&&r.constructor.name==="URL")return y7t(r.toString(),a);if(o==="BlankNode")return bSn(r,a);if(!(r===null||typeof r>"u")){if(o==="Literal")return wSn(r,l,a);if(o==="NamedNode")return y7t(r,a);throw new Error("unknown type")}}function mSn(r,o,l,a){return(typeof r>"u"||r===null)&&!o?r:(Gg(r)||[void 0]).reduce((p,g)=>typeof g=="object"&&g.terms?p.concat(g.terms):(p.push(fIt(g,o,l,a)),p),[])}const k7t=wxe(tT);function vSn(r,o){const l=o.termType!=="Literal",a=k7t.langString.equals(o.datatype)||k7t.xsd.string.equals(o.datatype);if(l||!a)return r;const p=o.language.toLowerCase();return r.has(p)?r.get(p).push(o):r.set(p,[o]),r}function ySn(r){const o=r.reduce(vSn,new Map),l=[...o.entries()];return a=>{const p=a.toLowerCase();if(p==="*")return l[0]&&l[0][1];const g=o.get(p);if(g)return g;const w=l.find(([y])=>y.startsWith(p));return w&&w[1]}}function kSn(r,{language:o}){const l=typeof o=="string"?[o]:o,a=ySn(r);return l.map(a).find(Boolean)||[]}class mxe{constructor({dataset:o,graph:l,value:a,factory:p,namespace:g}){this.dataset=o,this.graph=l,this.factory=p,this.namespace=g,this.term=fIt(a,void 0,void 0,p)}clone({dataset:o=this.dataset,graph:l=this.graph,value:a,factory:p=this.factory,namespace:g=this.namespace}){return new mxe({dataset:o,graph:l,value:a,factory:p,namespace:g})}has(o,l){return this.matchProperty(Gg(this.term),o,l,Gg(this.graph),"subject").map(a=>this.clone({value:a}))}in(o){return this.matchProperty(null,o,Gg(this.term),Gg(this.graph),"subject").map(l=>this.clone({value:l}))}out(o,{language:l}={}){let a=this.matchProperty(Gg(this.term),o,null,Gg(this.graph),"object");return typeof l<"u"&&(a=kSn(a,{language:l})),a.map(p=>this.clone({value:p}))}addIn(o,l){const a=[];return this.term&&l.forEach(p=>{o.forEach(g=>{this.dataset.add(this.factory.quad(p,g,this.term,this.graph))}),a.push(this.clone({value:p}))}),a}addOut(o,l){const a=[];return this.term&&l.forEach(p=>{o.forEach(g=>{this.dataset.add(this.factory.quad(this.term,g,p,this.graph))}),a.push(this.clone({value:p}))}),a}addList(o,l){this.term&&o.forEach(a=>{const p=l.map(()=>this.factory.blankNode());this.dataset.add(this.factory.quad(this.term,a,p[0]||this.namespace.nil,this.graph));for(let g=0;g{for(const a of this.dataset.match(this.term,l))this.deleteItems(a)})}deleteItems(o){let l=[o];for(;!l[l.length-1].object.equals(this.namespace.nil);){const a=l[l.length-1].object;l=l.concat([...this.dataset.match(a)])}l.forEach(a=>{this.dataset.delete(a)})}match(o,l,a,p){if(!o&&!l&&!a&&!p)return[...this.dataset];o=o||[null],l=l||[null],a=a||[null],p=p||[null];const g=[];for(const w of p)for(const y of o)for(const S of l)for(const E of a)for(const I of this.dataset.match(y,S,E,w))g.push(I);return g}matchProperty(o,l,a,p,g){return this.match(o,l,a,p).map(w=>w[g])}deleteMatch(o,l,a,p){this.match(o,l,a,p).forEach(g=>{this.dataset.delete(g)})}}class Ug{constructor({dataset:o,graph:l,term:a,value:p,factory:g,_context:w}){if(this.factory=g,this.namespace=wxe(g),w){this._context=w;return}const y=a&&Gg(a)||p&&Gg(p)||[null];this._context=y.map(S=>new mxe({dataset:o,graph:l,value:S,factory:this.factory,namespace:this.namespace}))}get term(){const o=this.terms;if(o.length===1)return o[0]}get terms(){return this._context.map(o=>o.term).filter(Boolean)}get value(){const o=this.term;return o&&o.value}get values(){return this.terms.map(o=>o.value)}get dataset(){const o=this.datasets;if(o.length===1)return o[0]}get datasets(){return this._context.map(o=>o.dataset).filter(Boolean)}any(){return Ug.fromContext(this._context.map(o=>o.clone({})),this)}isList(){return this.term?!!(this.term.equals(this.namespace.nil)||this.out(this.namespace.first).term):!1}list(){if(this.terms.length>1)throw new Error("iterator over multiple terms is not supported");if(this.term&&(this.term.termType!=="NamedNode"&&this.term.termType!=="BlankNode"||!this.term.equals(this.namespace.nil)&&!this.out(this.namespace.first).term))return null;let o=this;return{[Symbol.iterator]:()=>({next:()=>{if(!o.term||o.term.equals(this.namespace.nil))return{done:!0};const l=o.out(this.namespace.first);if(l.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:first on ${o.value}`);const a=o.out(this.namespace.rest);if(a.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:rest on ${o.value}`);return o=a,{done:!1,value:l}}})}}toArray(){return this._context.map(o=>Ug.fromContext(o,this)).filter(o=>o.terms.some(Boolean))}filter(o){const l=this._context.map(a=>Ug.fromContext(a,this));return Ug.fromContext(this._context.filter((a,p)=>o(Ug.fromContext(a,this),p,l)),this)}forEach(o){return this.toArray().forEach(o),this}map(o){return this.toArray().map(o)}toString(){return this.values.join()}node(o,{type:l,datatype:a,language:p}={}){o=this._toTermArray(o,l,a||p)||[null];const g=o.reduce((w,y)=>w.concat(this._context.reduce((S,E)=>S.concat([E.clone({value:y})]),[])),[]);return Ug.fromContext(g,{factory:this.factory})}blankNode(o){return this.node(o,{type:"BlankNode"})}literal(o,l){return this.node(o,{type:"Literal",datatype:l})}namedNode(o){return this.node(o,{type:"NamedNode"})}in(o){o=this._toTermArray(o);const l=this._context.reduce((a,p)=>a.concat(p.in(o)),[]);return Ug.fromContext(l,this)}out(o,l={}){o=this._toTermArray(o);const a=this._context.reduce((p,g)=>p.concat(g.out(o,l)),[]);return Ug.fromContext(a,this)}has(o,l){o=this._toTermArray(o),l=this._toTermArray(l);const a=this._context.reduce((p,g)=>p.concat(g.has(o,l)),[]);return Ug.fromContext(a,this)}addIn(o,l,a){if(!o)throw new Error("predicate parameter is required");typeof l=="function"&&(a=l,l=null),o=this._toTermArray(o),l=this._toTermArray(l)||[this.factory.blankNode()];const p=this._context.map(g=>g.addIn(o,l));return a&&Ug.fromContext(p,this).forEach(a),this}addOut(o,l,a){if(!o)throw new Error("predicate parameter is required");typeof l=="function"&&(a=l,l=null),o=this._toTermArray(o),l=this._toTermArray(l)||[this.factory.blankNode()];const p=this._context.map(g=>g.addOut(o,l));return a&&Ug.fromContext(p,this).forEach(a),this}addList(o,l){if(!o||!l)throw new Error("predicate and items parameter is required");return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.addList(o,l)),this}deleteIn(o,l){return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.deleteIn(o,l)),this}deleteOut(o,l){return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.deleteOut(o,l)),this}deleteList(o){if(!o)throw new Error("predicate parameter is required");return o=this._toTermArray(o),this._context.forEach(l=>l.deleteList(o)),this}_toTermArray(o,l,a){return mSn(o,l,a,this.factory)}static fromContext(o,{factory:l}){return new Ug({_context:Gg(o),factory:l})}}function CSn({dataset:r,graph:o,term:l,value:a,factory:p=tT,_context:g}){return new Ug({dataset:r,graph:o,term:l,value:a,factory:p,_context:g})}class dIt{clownface({...o}={}){return!o.dataset&&typeof this.dataset=="function"&&(o.dataset=this.dataset()),CSn({...o,factory:this})}}dIt.exports=["clownface"];let hIt=class{termMap(o){return new mF(o)}};hIt.exports=["termMap"];function C7t(r){try{return d3(r)}catch{return null}}class pre{constructor(o){if(this.index=new Map,o)for(const l of o)this.add(l)}get size(){return this.index.size}add(o){const l=d3(o);return this.index.has(l)||this.index.set(l,o),this}clear(){this.index.clear()}delete(o){return o?this.index.delete(C7t(o)):!1}entries(){return this.values().entries()}forEach(o,l){return this.values().forEach(o,l)}has(o){return o?this.index.has(C7t(o)):!1}values(){return new Set(this.index.values())}keys(){return this.values()}[Symbol.iterator](){return this.index.values()}}let pIt=class{termSet(o){return new pre(o)}};pIt.exports=["termSet"];class SSn{constructor(){this.quadLevel=new Map}add(o,l){this.quadLevel.set(d3(o),l)}has(o,l){const a=this.quadLevel.get(d3(o));return a===void 0?!1:a<=l}}function $7e({backward:r,callback:o,dataset:l,filter:a,forward:p,term:g,visited:w=new SSn}){const y=(S,E)=>{const I=P=>{for(const _ of P){if(w.has(_,E))continue;w.add(_,E);const R={dataset:l,level:E,quad:_};a(R)&&(o(R),p&&y(_.object,E+1),r&&y(_.subject,E+1))}};p&&I(l.match(S)),r&&I(l.match(null,null,S))};y(g,0)}class xSn{constructor(o,{backward:l=!1,factory:a,forward:p=!0}){this.backward=l,this.factory=a,this.filter=o,this.forward=p}forEach({term:o,dataset:l},a){$7e({backward:this.backward,callback:a,dataset:l,filter:this.filter,forward:this.forward,term:o})}match({term:o,dataset:l}){const a=this.factory.dataset();return $7e({backward:this.backward,callback:({quad:p})=>a.add(p),dataset:l,filter:this.filter,forward:this.forward,term:o}),a}reduce({term:o,dataset:l},a,p){let g=p;return $7e({backward:this.backward,callback:w=>{g=a(w,g)},dataset:l,filter:this.filter,forward:this.forward,term:o}),g}}class gIt{traverser(o,{backward:l=!1,forward:a=!0}={}){return new xSn(o,{backward:l,factory:this,forward:a})}}gIt.exports=["traverser"];const ESn=new Hz([wH,L9t,bxe,Qxt,dIt,hIt,pIt,gIt]);function TSn(r,{checkOpen:o=!0}={}){return r!==null&&typeof r=="object"&&(r.writable||r.readable||!o||r.writable===void 0&&r.readable===void 0)&&typeof r.pipe=="function"}function ISn(r,{checkOpen:o=!0}={}){return TSn(r,{checkOpen:o})&&(r.readable||!o)&&typeof r.read=="function"&&typeof r.readable=="boolean"&&typeof r.readableObjectMode=="boolean"&&typeof r.destroy=="function"&&typeof r.destroyed=="boolean"}const MSn=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);var c3,uH,x7,Qv,L_,bIt,wIt;class PSn{constructor(o,l){Jx(this,L_);Jx(this,c3);Jx(this,uH);Jx(this,x7,!1);Jx(this,Qv);t3(this,c3,o),t3(this,uH,l)}next(){const o=()=>E8e(this,L_,bIt).call(this);return t3(this,Qv,Kh(this,Qv)?Kh(this,Qv).then(o,o):o()),Kh(this,Qv)}return(o){const l=()=>E8e(this,L_,wIt).call(this,o);return Kh(this,Qv)?Kh(this,Qv).then(l,l):l()}}c3=new WeakMap,uH=new WeakMap,x7=new WeakMap,Qv=new WeakMap,L_=new WeakSet,bIt=async function(){if(Kh(this,x7))return{done:!0,value:void 0};let o;try{o=await Kh(this,c3).read()}catch(l){throw t3(this,Qv,void 0),t3(this,x7,!0),Kh(this,c3).releaseLock(),l}return o.done&&(t3(this,Qv,void 0),t3(this,x7,!0),Kh(this,c3).releaseLock()),o},wIt=async function(o){if(Kh(this,x7))return{done:!0,value:o};if(t3(this,x7,!0),!Kh(this,uH)){const l=Kh(this,c3).cancel(o);return Kh(this,c3).releaseLock(),await l,{done:!0,value:o}}return Kh(this,c3).releaseLock(),{done:!0,value:o}};const vxe=Symbol();function mIt(){return this[vxe].next()}Object.defineProperty(mIt,"name",{value:"next"});function vIt(r){return this[vxe].return(r)}Object.defineProperty(vIt,"name",{value:"return"});const OSn=Object.create(MSn,{next:{enumerable:!0,configurable:!0,writable:!0,value:mIt},return:{enumerable:!0,configurable:!0,writable:!0,value:vIt}});function _Sn({preventCancel:r=!1}={}){const o=this.getReader(),l=new PSn(o,r),a=Object.create(OSn);return a[vxe]=l,a}const RSn=r=>{if(ISn(r,{checkOpen:!1})&&yxe.on!==void 0)return LSn(r);if(typeof(r==null?void 0:r[Symbol.asyncIterator])=="function")return r;if(ASn.call(r)==="[object ReadableStream]")return _Sn.call(r);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:ASn}=Object.prototype,LSn=async function*(r){const o=new AbortController,l={};jSn(r,o,l);try{for await(const[a]of yxe.on(r,"data",{signal:o.signal}))yield a}catch(a){if(l.error!==void 0)throw l.error;if(!o.signal.aborted)throw a}finally{r.destroy()}},jSn=async(r,o,l)=>{try{await yxe.finished(r,{cleanup:!0,readable:!0,writable:!1,error:!1})}catch(a){l.error=a}finally{o.abort()}},yxe={},$Sn=async(r,{init:o,convertChunk:l,getSize:a,truncateChunk:p,addChunk:g,getFinalChunk:w,finalize:y},{maxBuffer:S=Number.POSITIVE_INFINITY}={})=>{const E=RSn(r),I=o();I.length=0;try{for await(const P of E){const _=NSn(P),R=l[_](P,I);yIt({convertedChunk:R,state:I,getSize:a,truncateChunk:p,addChunk:g,maxBuffer:S})}return DSn({state:I,convertChunk:l,getSize:a,truncateChunk:p,addChunk:g,getFinalChunk:w,maxBuffer:S}),y(I)}catch(P){const _=typeof P=="object"&&P!==null?P:new Error(P);throw _.bufferedData=y(I),_}},DSn=({state:r,getSize:o,truncateChunk:l,addChunk:a,getFinalChunk:p,maxBuffer:g})=>{const w=p(r);w!==void 0&&yIt({convertedChunk:w,state:r,getSize:o,truncateChunk:l,addChunk:a,maxBuffer:g})},yIt=({convertedChunk:r,state:o,getSize:l,truncateChunk:a,addChunk:p,maxBuffer:g})=>{const w=l(r),y=o.length+w;if(y<=g){S7t(r,o,p,y);return}const S=a(r,g-o.length);throw S!==void 0&&S7t(S,o,p,g),new BSn},S7t=(r,o,l,a)=>{o.contents=l(r,o,a),o.length=a},NSn=r=>{var a;const o=typeof r;if(o==="string")return"string";if(o!=="object"||r===null)return"others";if((a=globalThis.Buffer)!=null&&a.isBuffer(r))return"buffer";const l=x7t.call(r);return l==="[object ArrayBuffer]"?"arrayBuffer":l==="[object DataView]"?"dataView":Number.isInteger(r.byteLength)&&Number.isInteger(r.byteOffset)&&x7t.call(r.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:x7t}=Object.prototype;class BSn extends Error{constructor(){super("maxBuffer exceeded");S8e(this,"name","MaxBufferError")}}const FSn=r=>r,zSn=({contents:r})=>r,HSn=r=>{throw new Error(`Streams in object mode are not supported: ${String(r)}`)},KSn=r=>r.length;async function USn(r,o){return $Sn(r,XSn,o)}const GSn=()=>({contents:"",textDecoder:new TextDecoder}),Qte=(r,{textDecoder:o})=>o.decode(r,{stream:!0}),WSn=(r,{contents:o})=>o+r,VSn=(r,o)=>r.slice(0,o),qSn=({textDecoder:r})=>{const o=r.decode();return o===""?void 0:o},XSn={init:GSn,convertChunk:{string:FSn,buffer:Qte,arrayBuffer:Qte,dataView:Qte,typedArray:Qte,others:HSn},getSize:KSn,truncateChunk:VSn,addChunk:WSn,getFinalChunk:qSn,finalize:zSn};function sE(r){return typeof r=="string"||r instanceof String}const YSn="http://www.w3.org/2001/XMLSchema#string";function Wf(r){if(typeof r=="string")return r;if(!r)return"";if(typeof r.id<"u"&&r.termType!=="Quad")return r.id;let o,l,a,p;switch(r.termType){case"NamedNode":return r.value;case"BlankNode":return`_:${r.value}`;case"Variable":return`?${r.value}`;case"DefaultGraph":return"";case"Literal":return r.language?`"${r.value}"@${r.language}`:`"${r.value}"${r.datatype&&r.datatype.value!==YSn?`^^${r.datatype.value}`:""}`;case"Quad":return o=D7e(Wf(r.subject)),l=D7e(Wf(r.predicate)),a=D7e(Wf(r.object)),p=r.graph.termType==="DefaultGraph"?"":` ${Wf(r.graph)}`,`<<${o} ${l} ${a}${p}>>`;default:throw new Error(`Unexpected termType: ${r.termType}`)}}const JSn=/^"(.*".*)(?="[^"]*$)/;function D7e(r){return r.replace(JSn,(o,l)=>`"${l.replace(/"/g,'""')}`)}class QSn{constructor(o){if(this._size=0,this._graphs=Object.create(null),this._id=0,this._ids=Object.create(null),this._ids["><"]=0,this._entities=Object.create(null),this._quads=new Map,o)for(const l of o)this.add(l)}get size(){let o=this._size;if(o!==null)return o;o=0;const l=this._graphs;let a,p;for(const g in l)for(const w in a=l[g].subjects)for(const y in p=a[w])o+=Object.keys(p[y]).length;return this._size=o,this._size}add(o){let l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object);const g=Wf(o.graph);let w=this._graphs[g];w||(w=this._graphs[g]={subjects:{},predicates:{},objects:{}},Object.freeze(w));const y=this._ids,S=this._entities;return l=y[l]||(y[S[++this._id]=l]=this._id),a=y[a]||(y[S[++this._id]=a]=this._id),p=y[p]||(y[S[++this._id]=p]=this._id),this._addToIndex(w.subjects,l,a,p),this._addToIndex(w.predicates,a,p,l),this._addToIndex(w.objects,p,l,a),this._setQuad(l,a,p,g,o),this._size=null,this}delete(o){let l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object);const g=Wf(o.graph),w=this._ids,y=this._graphs;let S,E,I;if(!(l=w[l])||!(a=w[a])||!(p=w[p])||!(S=y[g])||!(E=S.subjects[l])||!(I=E[a])||!(p in I))return this;this._removeFromIndex(S.subjects,l,a,p),this._removeFromIndex(S.predicates,a,p,l),this._removeFromIndex(S.objects,p,l,a),this._size!==null&&this._size--,this._deleteQuad(l,a,p,g);for(l in S.subjects)return this;return delete y[g],this}has(o){const l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object),g=Wf(o.graph),w=this._graphs[g];if(!w)return!1;const y=this._ids;let S,E,I;return sE(l)&&!(S=y[l])||sE(a)&&!(E=y[a])||sE(p)&&!(I=y[p])?!1:this._countInIndex(w.objects,I,S,E)===1}match(o,l,a,p){return this._createDataset(this._match(o,l,a,p))}[Symbol.iterator](){return this._match()[Symbol.iterator]()}_addToIndex(o,l,a,p){const g=o[l]||(o[l]={}),w=g[a]||(g[a]={}),y=p in w;return y||(w[p]=null),!y}_removeFromIndex(o,l,a,p){const g=o[l],w=g[a];delete w[p];for(const y in w)return;delete g[a];for(const y in g)return;delete o[l]}_findInIndex(o,l,a,p,g,w,y,S,E,I){let P,_,R;l&&((P=o,o={})[l]=P[l]);for(const $ in o)if(_=o[$],_){a&&((P=_,_={})[a]=P[a]);for(const K in _)if(R=_[K],R){const q=p?p in R?[p]:[]:Object.keys(R);for(let Q=0;Qo(l,this))}filter(o){return new this.constructor([...this].filter(l=>o(l,this)))}map(o){return new this.constructor([...this].map(l=>o(l,this)))}match(...o){return super.match(...o)}merge(...[o]){return nSe(new this.constructor([...this]),o)}}function e9n(r){return class extends ZSn{import(...[o]){return sIt(this,o)}toCanonical(){return cIt(this)}toStream(){return oIt(this)}async serialize({format:o,prefixes:l=[]}){const a=r.formats.serializers.get(o);return a?USn(a.import(this.toStream(),{prefixes:l.reduce((p,g)=>Array.isArray(g)?{...p,[g[0]]:g[1]}:g in LCe?{...p,[g]:LCe[g]}:p,{})})):this.toCanonical()}}}function t9n(){return new Hz([fSn(e9n)],{parent:ESn})}const n9n=t9n(),Rne=n9n;var g_;class r9n{constructor(){Jx(this,g_,{})}update(o){t3(this,g_,{}),o.forEach(l=>{Kh(this,g_)[l.prefix]=l.uri})}get prefixes(){return Kh(this,g_)}}g_=new WeakMap;const kIt=new r9n;function f_(r){if(r.termType==="NamedNode"){const o=hEt(r.value,kIt.prefixes);return o||r.value}return r.value}function i9n(r){const o=[...r].map(g=>g.subject),l=[...r].filter(g=>!g.predicate.equals(Rne.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))).map(g=>g.object).filter(g=>g.termType==="BlankNode"||g.termType==="NamedNode");return[...new pre([...o,...l])].map(g=>{const S=[...[...r.match(g)].reduce((E,{predicate:I,object:P})=>{if(!E.has(I.value)){const _={id:I.value,term:I,name:f_(I),values:new pre};E.set(I.value,_)}return E.get(I.value).values.add(P),E},new Map).values()].sort((E,I)=>E.name==="rdf:type"?-1:I.name==="rdf:type"?1:E.name.localeCompare(I.name));return{id:g.value,term:g,name:f_(g),properties:S}})}function o9n(r){const o=new pre(r.map(a=>a.term));return r.flatMap(a=>a.properties.map(p=>({...p,resource:a}))).reduce((a,p)=>(p.values.forEach(g=>{const w=p.resource.term,y=g;o.has(y)&&a.push({source:w.value,target:y.value,sourceProperty:p.id,label:p.name})}),a),[])}function Oie(r){return OSe()?(dne(r),!0):!1}function j6(r){return typeof r=="function"?r():Nr(r)}const s9n=typeof window<"u"&&typeof document<"u",l9n=r=>typeof r<"u",c9n=Object.prototype.toString,u9n=r=>c9n.call(r)==="[object Object]",a9n=()=>{};function f9n(r,o){function l(...a){return new Promise((p,g)=>{Promise.resolve(r(()=>o.apply(this,a),{fn:o,thisArg:this,args:a})).then(p).catch(g)})}return l}const CIt=r=>r();function d9n(r=CIt){const o=Qo(!0);function l(){o.value=!1}function a(){o.value=!0}const p=(...g)=>{o.value&&r(...g)};return{isActive:_re(o),pause:l,resume:a,eventFilter:p}}function E7t(r,o=!1,l="Timeout"){return new Promise((a,p)=>{setTimeout(o?()=>p(l):a,r)})}function h9n(r,o,l={}){const{eventFilter:a=CIt,...p}=l;return Vs(r,f9n(a,o),p)}function jO(r,o,l={}){const{eventFilter:a,...p}=l,{eventFilter:g,pause:w,resume:y,isActive:S}=d9n(a);return{stop:h9n(r,o,{...p,eventFilter:g}),pause:w,resume:y,isActive:S}}function p9n(r,o={}){if(!Ef(r))return Vfn(r);const l=Array.isArray(r.value)?Array.from({length:r.value.length}):{};for(const a in r.value)l[a]=Wfn(()=>({get(){return r.value[a]},set(p){var g;if((g=j6(o.replaceRef))!=null?g:!0)if(Array.isArray(r.value)){const y=[...r.value];y[a]=p,r.value=y}else{const y={...r.value,[a]:p};Object.setPrototypeOf(y,Object.getPrototypeOf(r.value)),r.value=y}else r.value[a]=p}}));return l}function iSe(r,o=!1){function l(P,{flush:_="sync",deep:R=!1,timeout:$,throwOnTimeout:K}={}){let q=null;const ee=[new Promise(J=>{q=Vs(r,oe=>{P(oe)!==o&&(q==null||q(),J(oe))},{flush:_,deep:R,immediate:!0})})];return $!=null&&ee.push(E7t($,K).then(()=>j6(r)).finally(()=>q==null?void 0:q())),Promise.race(ee)}function a(P,_){if(!Ef(P))return l(oe=>oe===P,_);const{flush:R="sync",deep:$=!1,timeout:K,throwOnTimeout:q}=_??{};let Q=null;const J=[new Promise(oe=>{Q=Vs([r,P],([$e,et])=>{o!==($e===et)&&(Q==null||Q(),oe($e))},{flush:R,deep:$,immediate:!0})})];return K!=null&&J.push(E7t(K,q).then(()=>j6(r)).finally(()=>(Q==null||Q(),j6(r)))),Promise.race(J)}function p(P){return l(_=>!!_,P)}function g(P){return a(null,P)}function w(P){return a(void 0,P)}function y(P){return l(Number.isNaN,P)}function S(P,_){return l(R=>{const $=Array.from(R);return $.includes(P)||$.includes(j6(P))},_)}function E(P){return I(1,P)}function I(P=1,_){let R=-1;return l(()=>(R+=1,R>=P),_)}return Array.isArray(j6(r))?{toMatch:l,toContains:S,changed:E,changedTimes:I,get not(){return iSe(r,!o)}}:{toMatch:l,toBe:a,toBeTruthy:p,toBeNull:g,toBeNaN:y,toBeUndefined:w,changed:E,changedTimes:I,get not(){return iSe(r,!o)}}}function oSe(r){return iSe(r)}function g9n(r){var o;const l=j6(r);return(o=l==null?void 0:l.$el)!=null?o:l}const SIt=s9n?window:void 0;function xIt(...r){let o,l,a,p;if(typeof r[0]=="string"||Array.isArray(r[0])?([l,a,p]=r,o=SIt):[o,l,a,p]=r,!o)return a9n;Array.isArray(l)||(l=[l]),Array.isArray(a)||(a=[a]);const g=[],w=()=>{g.forEach(I=>I()),g.length=0},y=(I,P,_,R)=>(I.addEventListener(P,_,R),()=>I.removeEventListener(P,_,R)),S=Vs(()=>[g9n(o),j6(p)],([I,P])=>{if(w(),!I)return;const _=u9n(P)?{...P}:P;g.push(...l.flatMap(R=>a.map($=>y(I,R,$,_))))},{immediate:!0,flush:"post"}),E=()=>{S(),w()};return Oie(E),E}function b9n(r){return typeof r=="function"?r:typeof r=="string"?o=>o.key===r:Array.isArray(r)?o=>r.includes(o.key):()=>!0}function T7t(...r){let o,l,a={};r.length===3?(o=r[0],l=r[1],a=r[2]):r.length===2?typeof r[1]=="object"?(o=!0,l=r[0],a=r[1]):(o=r[0],l=r[1]):(o=!0,l=r[0]);const{target:p=SIt,eventName:g="keydown",passive:w=!1,dedupe:y=!1}=a,S=b9n(o);return xIt(p,g,I=>{I.repeat&&j6(y)||S(I)&&l(I)},w)}function w9n(r){return JSON.parse(JSON.stringify(r))}function N7e(r,o,l,a={}){var p,g,w;const{clone:y=!1,passive:S=!1,eventName:E,deep:I=!1,defaultValue:P,shouldEmit:_}=a,R=H7(),$=l||(R==null?void 0:R.emit)||((p=R==null?void 0:R.$emit)==null?void 0:p.bind(R))||((w=(g=R==null?void 0:R.proxy)==null?void 0:g.$emit)==null?void 0:w.bind(R==null?void 0:R.proxy));let K=E;o||(o="modelValue"),K=K||`update:${o.toString()}`;const q=J=>y?typeof y=="function"?y(J):w9n(J):J,Q=()=>l9n(r[o])?q(r[o]):P,ee=J=>{_?_(J)&&$(K,J):$(K,J)};if(S){const J=Q(),oe=Qo(J);let $e=!1;return Vs(()=>r[o],et=>{$e||($e=!0,oe.value=q(et),rm(()=>$e=!1))}),Vs(oe,et=>{!$e&&(et!==r[o]||I)&&ee(et)},{deep:I}),oe}else return ho({get(){return Q()},set(J){ee(J)}})}var m9n={value:()=>{}};function _ie(){for(var r=0,o=arguments.length,l={},a;r=0&&(a=l.slice(p+1),l=l.slice(0,p)),l&&!o.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:a}})}Ane.prototype=_ie.prototype={constructor:Ane,on:function(r,o){var l=this._,a=v9n(r+"",l),p,g=-1,w=a.length;if(arguments.length<2){for(;++g0)for(var l=new Array(p),a=0,p,g;a=0&&(o=r.slice(0,l))!=="xmlns"&&(r=r.slice(l+1)),M7t.hasOwnProperty(o)?{space:M7t[o],local:r}:r}function k9n(r){return function(){var o=this.ownerDocument,l=this.namespaceURI;return l===sSe&&o.documentElement.namespaceURI===sSe?o.createElement(r):o.createElementNS(l,r)}}function C9n(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function EIt(r){var o=Rie(r);return(o.local?C9n:k9n)(o)}function S9n(){}function kxe(r){return r==null?S9n:function(){return this.querySelector(r)}}function x9n(r){typeof r!="function"&&(r=kxe(r));for(var o=this._groups,l=o.length,a=new Array(l),p=0;p=J&&(J=ee+1);!($e=q[J])&&++J<$;);oe._next=$e||null}}return w=new gb(w,a),w._enter=y,w._exit=S,w}function U9n(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function G9n(){return new gb(this._exit||this._groups.map(PIt),this._parents)}function W9n(r,o,l){var a=this.enter(),p=this,g=this.exit();return typeof r=="function"?(a=r(a),a&&(a=a.selection())):a=a.append(r+""),o!=null&&(p=o(p),p&&(p=p.selection())),l==null?g.remove():l(g),a&&p?a.merge(p).order():p}function V9n(r){for(var o=r.selection?r.selection():r,l=this._groups,a=o._groups,p=l.length,g=a.length,w=Math.min(p,g),y=new Array(p),S=0;S=0;)(w=a[p])&&(g&&w.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(w,g),g=w);return this}function X9n(r){r||(r=Y9n);function o(P,_){return P&&_?r(P.__data__,_.__data__):!P-!_}for(var l=this._groups,a=l.length,p=new Array(a),g=0;go?1:r>=o?0:NaN}function J9n(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function Q9n(){return Array.from(this)}function Z9n(){for(var r=this._groups,o=0,l=r.length;o1?this.each((o==null?axn:typeof o=="function"?dxn:fxn)(r,o,l??"")):O_(this.node(),r)}function O_(r,o){return r.style.getPropertyValue(o)||OIt(r).getComputedStyle(r,null).getPropertyValue(o)}function pxn(r){return function(){delete this[r]}}function gxn(r,o){return function(){this[r]=o}}function bxn(r,o){return function(){var l=o.apply(this,arguments);l==null?delete this[r]:this[r]=l}}function wxn(r,o){return arguments.length>1?this.each((o==null?pxn:typeof o=="function"?bxn:gxn)(r,o)):this.node()[r]}function _It(r){return r.trim().split(/^|\s+/)}function Cxe(r){return r.classList||new RIt(r)}function RIt(r){this._node=r,this._names=_It(r.getAttribute("class")||"")}RIt.prototype={add:function(r){var o=this._names.indexOf(r);o<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var o=this._names.indexOf(r);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function AIt(r,o){for(var l=Cxe(r),a=-1,p=o.length;++a=0&&(l=o.slice(a+1),o=o.slice(0,a)),{type:o,name:l}})}function Gxn(r){return function(){var o=this.__on;if(o){for(var l=0,a=-1,p=o.length,g;l()=>r;function lSe(r,{sourceEvent:o,subject:l,target:a,identifier:p,active:g,x:w,y,dx:S,dy:E,dispatch:I}){Object.defineProperties(this,{type:{value:r,enumerable:!0,configurable:!0},sourceEvent:{value:o,enumerable:!0,configurable:!0},subject:{value:l,enumerable:!0,configurable:!0},target:{value:a,enumerable:!0,configurable:!0},identifier:{value:p,enumerable:!0,configurable:!0},active:{value:g,enumerable:!0,configurable:!0},x:{value:w,enumerable:!0,configurable:!0},y:{value:y,enumerable:!0,configurable:!0},dx:{value:S,enumerable:!0,configurable:!0},dy:{value:E,enumerable:!0,configurable:!0},_:{value:I}})}lSe.prototype.on=function(){var r=this._.on.apply(this._,arguments);return r===this._?this:r};function tEn(r){return!r.ctrlKey&&!r.button}function nEn(){return this.parentNode}function rEn(r,o){return o??{x:r.x,y:r.y}}function iEn(){return navigator.maxTouchPoints||"ontouchstart"in this}function oEn(){var r=tEn,o=nEn,l=rEn,a=iEn,p={},g=_ie("start","drag","end"),w=0,y,S,E,I,P=0;function _(oe){oe.on("mousedown.drag",R).filter(a).on("touchstart.drag",q).on("touchmove.drag",Q,eEn).on("touchend.drag touchcancel.drag",ee).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(oe,$e){if(!(I||!r.call(this,oe,$e))){var et=J(this,o.call(this,oe,$e),oe,$e,"mouse");et&&(ny(oe.view).on("mousemove.drag",$,Kz).on("mouseup.drag",K,Kz),DIt(oe.view),B7e(oe),E=!1,y=oe.clientX,S=oe.clientY,et("start",oe))}}function $(oe){if(d_(oe),!E){var $e=oe.clientX-y,et=oe.clientY-S;E=$e*$e+et*et>P}p.mouse("drag",oe)}function K(oe){ny(oe.view).on("mousemove.drag mouseup.drag",null),NIt(oe.view,E),d_(oe),p.mouse("end",oe)}function q(oe,$e){if(r.call(this,oe,$e)){var et=oe.changedTouches,wt=o.call(this,oe,$e),bt=et.length,ce,Be;for(ce=0;ce>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):l===8?ene(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):l===4?ene(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=lEn.exec(r))?new Wg(o[1],o[2],o[3],1):(o=cEn.exec(r))?new Wg(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=uEn.exec(r))?ene(o[1],o[2],o[3],o[4]):(o=aEn.exec(r))?ene(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=fEn.exec(r))?j7t(o[1],o[2]/100,o[3]/100,1):(o=dEn.exec(r))?j7t(o[1],o[2]/100,o[3]/100,o[4]):P7t.hasOwnProperty(r)?R7t(P7t[r]):r==="transparent"?new Wg(NaN,NaN,NaN,0):null}function R7t(r){return new Wg(r>>16&255,r>>8&255,r&255,1)}function ene(r,o,l,a){return a<=0&&(r=o=l=NaN),new Wg(r,o,l,a)}function gEn(r){return r instanceof _H||(r=Wz(r)),r?(r=r.rgb(),new Wg(r.r,r.g,r.b,r.opacity)):new Wg}function cSe(r,o,l,a){return arguments.length===1?gEn(r):new Wg(r,o,l,a??1)}function Wg(r,o,l,a){this.r=+r,this.g=+o,this.b=+l,this.opacity=+a}Sxe(Wg,cSe,BIt(_H,{brighter(r){return r=r==null?bre:Math.pow(bre,r),new Wg(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?Uz:Math.pow(Uz,r),new Wg(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new Wg(_E(this.r),_E(this.g),_E(this.b),wre(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:A7t,formatHex:A7t,formatHex8:bEn,formatRgb:L7t,toString:L7t}));function A7t(){return`#${kE(this.r)}${kE(this.g)}${kE(this.b)}`}function bEn(){return`#${kE(this.r)}${kE(this.g)}${kE(this.b)}${kE((isNaN(this.opacity)?1:this.opacity)*255)}`}function L7t(){const r=wre(this.opacity);return`${r===1?"rgb(":"rgba("}${_E(this.r)}, ${_E(this.g)}, ${_E(this.b)}${r===1?")":`, ${r})`}`}function wre(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function _E(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function kE(r){return r=_E(r),(r<16?"0":"")+r.toString(16)}function j7t(r,o,l,a){return a<=0?r=o=l=NaN:l<=0||l>=1?r=o=NaN:o<=0&&(r=NaN),new ry(r,o,l,a)}function FIt(r){if(r instanceof ry)return new ry(r.h,r.s,r.l,r.opacity);if(r instanceof _H||(r=Wz(r)),!r)return new ry;if(r instanceof ry)return r;r=r.rgb();var o=r.r/255,l=r.g/255,a=r.b/255,p=Math.min(o,l,a),g=Math.max(o,l,a),w=NaN,y=g-p,S=(g+p)/2;return y?(o===g?w=(l-a)/y+(l0&&S<1?0:w,new ry(w,y,S,r.opacity)}function wEn(r,o,l,a){return arguments.length===1?FIt(r):new ry(r,o,l,a??1)}function ry(r,o,l,a){this.h=+r,this.s=+o,this.l=+l,this.opacity=+a}Sxe(ry,wEn,BIt(_H,{brighter(r){return r=r==null?bre:Math.pow(bre,r),new ry(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?Uz:Math.pow(Uz,r),new ry(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,o=isNaN(r)||isNaN(this.s)?0:this.s,l=this.l,a=l+(l<.5?l:1-l)*o,p=2*l-a;return new Wg(F7e(r>=240?r-240:r+120,p,a),F7e(r,p,a),F7e(r<120?r+240:r-120,p,a),this.opacity)},clamp(){return new ry($7t(this.h),tne(this.s),tne(this.l),wre(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 r=wre(this.opacity);return`${r===1?"hsl(":"hsla("}${$7t(this.h)}, ${tne(this.s)*100}%, ${tne(this.l)*100}%${r===1?")":`, ${r})`}`}}));function $7t(r){return r=(r||0)%360,r<0?r+360:r}function tne(r){return Math.max(0,Math.min(1,r||0))}function F7e(r,o,l){return(r<60?o+(l-o)*r/60:r<180?l:r<240?o+(l-o)*(240-r)/60:o)*255}const zIt=r=>()=>r;function mEn(r,o){return function(l){return r+l*o}}function vEn(r,o,l){return r=Math.pow(r,l),o=Math.pow(o,l)-r,l=1/l,function(a){return Math.pow(r+a*o,l)}}function yEn(r){return(r=+r)==1?HIt:function(o,l){return l-o?vEn(o,l,r):zIt(isNaN(o)?l:o)}}function HIt(r,o){var l=o-r;return l?mEn(r,l):zIt(isNaN(r)?o:r)}const D7t=function r(o){var l=yEn(o);function a(p,g){var w=l((p=cSe(p)).r,(g=cSe(g)).r),y=l(p.g,g.g),S=l(p.b,g.b),E=HIt(p.opacity,g.opacity);return function(I){return p.r=w(I),p.g=y(I),p.b=S(I),p.opacity=E(I),p+""}}return a.gamma=r,a}(1);function w7(r,o){return r=+r,o=+o,function(l){return r*(1-l)+o*l}}var uSe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,z7e=new RegExp(uSe.source,"g");function kEn(r){return function(){return r}}function CEn(r){return function(o){return r(o)+""}}function SEn(r,o){var l=uSe.lastIndex=z7e.lastIndex=0,a,p,g,w=-1,y=[],S=[];for(r=r+"",o=o+"";(a=uSe.exec(r))&&(p=z7e.exec(o));)(g=p.index)>l&&(g=o.slice(l,g),y[w]?y[w]+=g:y[++w]=g),(a=a[0])===(p=p[0])?y[w]?y[w]+=p:y[++w]=p:(y[++w]=null,S.push({i:w,x:w7(a,p)})),l=z7e.lastIndex;return l180?I+=360:I-E>180&&(E+=360),_.push({i:P.push(p(P)+"rotate(",null,a)-2,x:w7(E,I)})):I&&P.push(p(P)+"rotate("+I+a)}function y(E,I,P,_){E!==I?_.push({i:P.push(p(P)+"skewX(",null,a)-2,x:w7(E,I)}):I&&P.push(p(P)+"skewX("+I+a)}function S(E,I,P,_,R,$){if(E!==P||I!==_){var K=R.push(p(R)+"scale(",null,",",null,")");$.push({i:K-4,x:w7(E,P)},{i:K-2,x:w7(I,_)})}else(P!==1||_!==1)&&R.push(p(R)+"scale("+P+","+_+")")}return function(E,I){var P=[],_=[];return E=r(E),I=r(I),g(E.translateX,E.translateY,I.translateX,I.translateY,P,_),w(E.rotate,I.rotate,P,_),y(E.skewX,I.skewX,P,_),S(E.scaleX,E.scaleY,I.scaleX,I.scaleY,P,_),E=I=null,function(R){for(var $=-1,K=_.length,q;++$=0&&r._call.call(void 0,o),r=r._next;--__}function F7t(){zE=(vre=Vz.now())+Aie,__=xF=0;try{AEn()}finally{__=0,jEn(),zE=0}}function LEn(){var r=Vz.now(),o=r-vre;o>GIt&&(Aie-=o,vre=r)}function jEn(){for(var r,o=mre,l,a=1/0;o;)o._call?(a>o._time&&(a=o._time),r=o,o=o._next):(l=o._next,o._next=null,o=r?r._next=l:mre=l);EF=r,fSe(a)}function fSe(r){if(!__){xF&&(xF=clearTimeout(xF));var o=r-zE;o>24?(r<1/0&&(xF=setTimeout(F7t,r-Vz.now()-Aie)),dF&&(dF=clearInterval(dF))):(dF||(vre=Vz.now(),dF=setInterval(LEn,GIt)),__=1,WIt(F7t))}}function z7t(r,o,l){var a=new yre;return o=o==null?0:+o,a.restart(p=>{a.stop(),r(p+o)},o,l),a}var $En=_ie("start","end","cancel","interrupt"),DEn=[],qIt=0,H7t=1,dSe=2,Lne=3,K7t=4,hSe=5,jne=6;function Lie(r,o,l,a,p,g){var w=r.__transition;if(!w)r.__transition={};else if(l in w)return;NEn(r,l,{name:o,index:a,group:p,on:$En,tween:DEn,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:qIt})}function Exe(r,o){var l=ay(r,o);if(l.state>qIt)throw new Error("too late; already scheduled");return l}function P3(r,o){var l=ay(r,o);if(l.state>Lne)throw new Error("too late; already running");return l}function ay(r,o){var l=r.__transition;if(!l||!(l=l[o]))throw new Error("transition not found");return l}function NEn(r,o,l){var a=r.__transition,p;a[o]=l,l.timer=VIt(g,0,l.time);function g(E){l.state=H7t,l.timer.restart(w,l.delay,l.time),l.delay<=E&&w(E-l.delay)}function w(E){var I,P,_,R;if(l.state!==H7t)return S();for(I in a)if(R=a[I],R.name===l.name){if(R.state===Lne)return z7t(w);R.state===K7t?(R.state=jne,R.timer.stop(),R.on.call("interrupt",r,r.__data__,R.index,R.group),delete a[I]):+IdSe&&a.state=0&&(o=o.slice(0,l)),!o||o==="start"})}function pTn(r,o,l){var a,p,g=hTn(o)?Exe:P3;return function(){var w=g(this,r),y=w.on;y!==a&&(p=(a=y).copy()).on(o,l),w.on=p}}function gTn(r,o){var l=this._id;return arguments.length<2?ay(this.node(),l).on.on(r):this.each(pTn(l,r,o))}function bTn(r){return function(){var o=this.parentNode;for(var l in this.__transition)if(+l!==r)return;o&&o.removeChild(this)}}function wTn(){return this.on("end.remove",bTn(this._id))}function mTn(r){var o=this._name,l=this._id;typeof r!="function"&&(r=kxe(r));for(var a=this._groups,p=a.length,g=new Array(p),w=0;w()=>r;function KTn(r,{sourceEvent:o,target:l,transform:a,dispatch:p}){Object.defineProperties(this,{type:{value:r,enumerable:!0,configurable:!0},sourceEvent:{value:o,enumerable:!0,configurable:!0},target:{value:l,enumerable:!0,configurable:!0},transform:{value:a,enumerable:!0,configurable:!0},_:{value:p}})}function F6(r,o,l){this.k=r,this.x=o,this.y=l}F6.prototype={constructor:F6,scale:function(r){return r===1?this:new F6(this.k*r,this.x,this.y)},translate:function(r,o){return r===0&o===0?this:new F6(this.k,this.x+this.k*r,this.y+this.k*o)},apply:function(r){return[r[0]*this.k+this.x,r[1]*this.k+this.y]},applyX:function(r){return r*this.k+this.x},applyY:function(r){return r*this.k+this.y},invert:function(r){return[(r[0]-this.x)/this.k,(r[1]-this.y)/this.k]},invertX:function(r){return(r-this.x)/this.k},invertY:function(r){return(r-this.y)/this.k},rescaleX:function(r){return r.copy().domain(r.range().map(this.invertX,this).map(r.invert,r))},rescaleY:function(r){return r.copy().domain(r.range().map(this.invertY,this).map(r.invert,r))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var R_=new F6(1,0,0);F6.prototype;function H7e(r){r.stopImmediatePropagation()}function hF(r){r.preventDefault(),r.stopImmediatePropagation()}function UTn(r){return(!r.ctrlKey||r.type==="wheel")&&!r.button}function GTn(){var r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r,r.hasAttribute("viewBox")?(r=r.viewBox.baseVal,[[r.x,r.y],[r.x+r.width,r.y+r.height]]):[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]):[[0,0],[r.clientWidth,r.clientHeight]]}function U7t(){return this.__zoom||R_}function WTn(r){return-r.deltaY*(r.deltaMode===1?.05:r.deltaMode?1:.002)*(r.ctrlKey?10:1)}function VTn(){return navigator.maxTouchPoints||"ontouchstart"in this}function qTn(r,o,l){var a=r.invertX(o[0][0])-l[0][0],p=r.invertX(o[1][0])-l[1][0],g=r.invertY(o[0][1])-l[0][1],w=r.invertY(o[1][1])-l[1][1];return r.translate(p>a?(a+p)/2:Math.min(0,a)||Math.max(0,p),w>g?(g+w)/2:Math.min(0,g)||Math.max(0,w))}function XTn(){var r=UTn,o=GTn,l=qTn,a=WTn,p=VTn,g=[0,1/0],w=[[-1/0,-1/0],[1/0,1/0]],y=250,S=_En,E=_ie("start","zoom","end"),I,P,_,R=500,$=150,K=0,q=10;function Q(He){He.property("__zoom",U7t).on("wheel.zoom",bt,{passive:!1}).on("mousedown.zoom",ce).on("dblclick.zoom",Be).filter(p).on("touchstart.zoom",ae).on("touchmove.zoom",xe).on("touchend.zoom touchcancel.zoom",U).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Q.transform=function(He,yt,ft,At){var Jt=He.selection?He.selection():He;Jt.property("__zoom",U7t),He!==Jt?$e(He,yt,ft,At):Jt.interrupt().each(function(){et(this,arguments).event(At).start().zoom(null,typeof yt=="function"?yt.apply(this,arguments):yt).end()})},Q.scaleBy=function(He,yt,ft,At){Q.scaleTo(He,function(){var Jt=this.__zoom.k,un=typeof yt=="function"?yt.apply(this,arguments):yt;return Jt*un},ft,At)},Q.scaleTo=function(He,yt,ft,At){Q.transform(He,function(){var Jt=o.apply(this,arguments),un=this.__zoom,kn=ft==null?oe(Jt):typeof ft=="function"?ft.apply(this,arguments):ft,qt=un.invert(kn),on=typeof yt=="function"?yt.apply(this,arguments):yt;return l(J(ee(un,on),kn,qt),Jt,w)},ft,At)},Q.translateBy=function(He,yt,ft,At){Q.transform(He,function(){return l(this.__zoom.translate(typeof yt=="function"?yt.apply(this,arguments):yt,typeof ft=="function"?ft.apply(this,arguments):ft),o.apply(this,arguments),w)},null,At)},Q.translateTo=function(He,yt,ft,At,Jt){Q.transform(He,function(){var un=o.apply(this,arguments),kn=this.__zoom,qt=At==null?oe(un):typeof At=="function"?At.apply(this,arguments):At;return l(R_.translate(qt[0],qt[1]).scale(kn.k).translate(typeof yt=="function"?-yt.apply(this,arguments):-yt,typeof ft=="function"?-ft.apply(this,arguments):-ft),un,w)},At,Jt)};function ee(He,yt){return yt=Math.max(g[0],Math.min(g[1],yt)),yt===He.k?He:new F6(yt,He.x,He.y)}function J(He,yt,ft){var At=yt[0]-ft[0]*He.k,Jt=yt[1]-ft[1]*He.k;return At===He.x&&Jt===He.y?He:new F6(He.k,At,Jt)}function oe(He){return[(+He[0][0]+ +He[1][0])/2,(+He[0][1]+ +He[1][1])/2]}function $e(He,yt,ft,At){He.on("start.zoom",function(){et(this,arguments).event(At).start()}).on("interrupt.zoom end.zoom",function(){et(this,arguments).event(At).end()}).tween("zoom",function(){var Jt=this,un=arguments,kn=et(Jt,un).event(At),qt=o.apply(Jt,un),on=ft==null?oe(qt):typeof ft=="function"?ft.apply(Jt,un):ft,Rt=Math.max(qt[1][0]-qt[0][0],qt[1][1]-qt[0][1]),an=Jt.__zoom,Zn=typeof yt=="function"?yt.apply(Jt,un):yt,kt=S(an.invert(on).concat(Rt/an.k),Zn.invert(on).concat(Rt/Zn.k));return function(Qe){if(Qe===1)Qe=Zn;else{var Xt=kt(Qe),Pn=Rt/Xt[2];Qe=new F6(Pn,on[0]-Xt[0]*Pn,on[1]-Xt[1]*Pn)}kn.zoom(null,Qe)}})}function et(He,yt,ft){return!ft&&He.__zooming||new wt(He,yt)}function wt(He,yt){this.that=He,this.args=yt,this.active=0,this.sourceEvent=null,this.extent=o.apply(He,yt),this.taps=0}wt.prototype={event:function(He){return He&&(this.sourceEvent=He),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(He,yt){return this.mouse&&He!=="mouse"&&(this.mouse[1]=yt.invert(this.mouse[0])),this.touch0&&He!=="touch"&&(this.touch0[1]=yt.invert(this.touch0[0])),this.touch1&&He!=="touch"&&(this.touch1[1]=yt.invert(this.touch1[0])),this.that.__zoom=yt,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(He){var yt=ny(this.that).datum();E.call(He,this.that,new KTn(He,{sourceEvent:this.sourceEvent,target:Q,type:He,transform:this.that.__zoom,dispatch:E}),yt)}};function bt(He,...yt){if(!r.apply(this,arguments))return;var ft=et(this,yt).event(He),At=this.__zoom,Jt=Math.max(g[0],Math.min(g[1],At.k*Math.pow(2,a.apply(this,arguments)))),un=l3(He);if(ft.wheel)(ft.mouse[0][0]!==un[0]||ft.mouse[0][1]!==un[1])&&(ft.mouse[1]=At.invert(ft.mouse[0]=un)),clearTimeout(ft.wheel);else{if(At.k===Jt)return;ft.mouse=[un,At.invert(un)],$ne(this),ft.start()}hF(He),ft.wheel=setTimeout(kn,$),ft.zoom("mouse",l(J(ee(At,Jt),ft.mouse[0],ft.mouse[1]),ft.extent,w));function kn(){ft.wheel=null,ft.end()}}function ce(He,...yt){if(_||!r.apply(this,arguments))return;var ft=He.currentTarget,At=et(this,yt,!0).event(He),Jt=ny(He.view).on("mousemove.zoom",on,!0).on("mouseup.zoom",Rt,!0),un=l3(He,ft),kn=He.clientX,qt=He.clientY;DIt(He.view),H7e(He),At.mouse=[un,this.__zoom.invert(un)],$ne(this),At.start();function on(an){if(hF(an),!At.moved){var Zn=an.clientX-kn,kt=an.clientY-qt;At.moved=Zn*Zn+kt*kt>K}At.event(an).zoom("mouse",l(J(At.that.__zoom,At.mouse[0]=l3(an,ft),At.mouse[1]),At.extent,w))}function Rt(an){Jt.on("mousemove.zoom mouseup.zoom",null),NIt(an.view,At.moved),hF(an),At.event(an).end()}}function Be(He,...yt){if(r.apply(this,arguments)){var ft=this.__zoom,At=l3(He.changedTouches?He.changedTouches[0]:He,this),Jt=ft.invert(At),un=ft.k*(He.shiftKey?.5:2),kn=l(J(ee(ft,un),At,Jt),o.apply(this,yt),w);hF(He),y>0?ny(this).transition().duration(y).call($e,kn,At,He):ny(this).call(Q.transform,kn,At,He)}}function ae(He,...yt){if(r.apply(this,arguments)){var ft=He.touches,At=ft.length,Jt=et(this,yt,He.changedTouches.length===At).event(He),un,kn,qt,on;for(H7e(He),kn=0;kn(r.Left="left",r.Top="top",r.Right="right",r.Bottom="bottom",r))(bi||{}),Ixe=(r=>(r.Partial="partial",r.Full="full",r))(Ixe||{}),hE=(r=>(r.Bezier="default",r.SimpleBezier="simple-bezier",r.Straight="straight",r.Step="step",r.SmoothStep="smoothstep",r))(hE||{}),HE=(r=>(r.Strict="strict",r.Loose="loose",r))(HE||{}),kre=(r=>(r.Arrow="arrow",r.ArrowClosed="arrowclosed",r))(kre||{}),XF=(r=>(r.Free="free",r.Vertical="vertical",r.Horizontal="horizontal",r))(XF||{});function pSe(r){var o,l;const a=((l=(o=r.composedPath)==null?void 0:o.call(r))==null?void 0:l[0])||r.target,p=typeof(a==null?void 0:a.hasAttribute)=="function"?a.hasAttribute("contenteditable"):!1,g=typeof(a==null?void 0:a.closest)=="function"?a.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(a==null?void 0:a.nodeName)||p||!!g}function YTn(r){return r.ctrlKey||r.metaKey||r.shiftKey}function G7t(r,o,l,a){const p=o.replace("+",` -`).replace(` - -`,` -+`).split(` -`).map(w=>w.trim().toLowerCase());if(p.length===1)return r.toLowerCase()===o.toLowerCase();a||l.add(r.toLowerCase());const g=p.every((w,y)=>l.has(w)&&Array.from(l.values())[y]===p[y]);return a&&l.delete(r.toLowerCase()),g}function JTn(r,o){return l=>{if(!l.code&&!l.key)return!1;const a=QTn(l.code,r);return Array.isArray(r)?r.some(p=>G7t(l[a],p,o,l.type==="keyup")):G7t(l[a],r,o,l.type==="keyup")}}function QTn(r,o){return o.includes(r)?"code":"key"}function YF(r,o){const l=Ia(()=>Wl(o==null?void 0:o.actInsideInputWithModifier)??!1),a=Ia(()=>Wl(o==null?void 0:o.target)??window),p=Qo(Wl(r)===!0);let g=!1;const w=new Set;let y=E(Wl(r));Vs(()=>Wl(r),(I,P)=>{typeof P=="boolean"&&typeof I!="boolean"&&S(),y=E(I)},{immediate:!0}),bb(()=>{xIt(window,["blur","contextmenu"],S)}),T7t((...I)=>y(...I),I=>{g=YTn(I),!((!g||g&&!l.value)&&pSe(I))&&(I.preventDefault(),p.value=!0)},{eventName:"keydown",target:a}),T7t((...I)=>y(...I),I=>{if(p.value){if((!g||g&&!l.value)&&pSe(I))return;g=!1,p.value=!1}},{eventName:"keyup",target:a});function S(){g=!1,w.clear(),p.value=Wl(r)===!0}function E(I){return I===null?(S(),()=>!1):typeof I=="boolean"?(S(),p.value=I,()=>!1):Array.isArray(I)||typeof I=="string"?JTn(I,w):I}return p}const QIt="vue-flow__node-desc",ZIt="vue-flow__edge-desc",ZTn="vue-flow__aria-live",eMt=["Enter"," ","Escape"],p_={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function gSe(r){return{...r.computedPosition||{x:0,y:0},width:r.dimensions.width||0,height:r.dimensions.height||0}}function bSe(r,o){const l=Math.max(0,Math.min(r.x+r.width,o.x+o.width)-Math.max(r.x,o.x)),a=Math.max(0,Math.min(r.y+r.height,o.y+o.height)-Math.max(r.y,o.y));return Math.ceil(l*a)}function jie(r){return{width:r.offsetWidth,height:r.offsetHeight}}function KE(r,o=0,l=1){return Math.min(Math.max(r,o),l)}function tMt(r,o){return{x:KE(r.x,o[0][0],o[1][0]),y:KE(r.y,o[0][1],o[1][1])}}function W7t(r){const o=r.getRootNode();return"elementFromPoint"in o?o:window.document}function N7(r){return r&&typeof r=="object"&&"id"in r&&"source"in r&&"target"in r}function RE(r){return r&&typeof r=="object"&&"id"in r&&"position"in r&&!N7(r)}function TF(r){return RE(r)&&"computedPosition"in r}function ine(r){return!Number.isNaN(r)&&Number.isFinite(r)}function eIn(r){return ine(r.width)&&ine(r.height)&&ine(r.x)&&ine(r.y)}function tIn(r,o,l){const a={id:r.id.toString(),type:r.type??"default",dimensions:SE({width:0,height:0}),computedPosition:SE({z:0,...r.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Vf(r.data)?r.data:{},events:SE(Vf(r.events)?r.events:{})};return Object.assign(o??a,r,{id:r.id.toString(),parentNode:l})}function nMt(r,o,l){var a,p;const g={id:r.id.toString(),type:r.type??(o==null?void 0:o.type)??"default",source:r.source.toString(),target:r.target.toString(),sourceHandle:(a=r.sourceHandle)==null?void 0:a.toString(),targetHandle:(p=r.targetHandle)==null?void 0:p.toString(),updatable:r.updatable??(l==null?void 0:l.updatable),selectable:r.selectable??(l==null?void 0:l.selectable),focusable:r.focusable??(l==null?void 0:l.focusable),data:Vf(r.data)?r.data:{},events:SE(Vf(r.events)?r.events:{}),label:r.label??"",interactionWidth:r.interactionWidth??(l==null?void 0:l.interactionWidth),...l??{}};return Object.assign(o??g,r,{id:r.id.toString()})}function rMt(r,o,l,a){const p=typeof r=="string"?r:r.id,g=new Set,w=a==="source"?"target":"source";for(const y of l)y[w]===p&&g.add(y[a]);return o.filter(y=>g.has(y.id))}function nIn(...r){if(r.length===3){const[g,w,y]=r;return rMt(g,w,y,"target")}const[o,l]=r,a=typeof o=="string"?o:o.id;return l.filter(g=>N7(g)&&g.source===a).map(g=>l.find(w=>RE(w)&&w.id===g.target))}function rIn(...r){if(r.length===3){const[g,w,y]=r;return rMt(g,w,y,"source")}const[o,l]=r,a=typeof o=="string"?o:o.id;return l.filter(g=>N7(g)&&g.target===a).map(g=>l.find(w=>RE(w)&&w.id===g.source))}function iMt({source:r,sourceHandle:o,target:l,targetHandle:a}){return`vueflow__edge-${r}${o??""}-${l}${a??""}`}function iIn(r,o){return o.some(l=>N7(l)&&l.source===r.source&&l.target===r.target&&(l.sourceHandle===r.sourceHandle||!l.sourceHandle&&!r.sourceHandle)&&(l.targetHandle===r.targetHandle||!l.targetHandle&&!r.targetHandle))}function oMt({x:r,y:o},{x:l,y:a,zoom:p}){return{x:r*p+l,y:o*p+a}}function qz({x:r,y:o},{x:l,y:a,zoom:p},g=!1,w=[1,1]){const y={x:(r-l)/p,y:(o-a)/p};return g?$ie(y,w):y}function oIn(r,o){return{x:Math.min(r.x,o.x),y:Math.min(r.y,o.y),x2:Math.max(r.x2,o.x2),y2:Math.max(r.y2,o.y2)}}function sMt({x:r,y:o,width:l,height:a}){return{x:r,y:o,x2:r+l,y2:o+a}}function sIn({x:r,y:o,x2:l,y2:a}){return{x:r,y:o,width:l-r,height:a-o}}function lMt(r){let o={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let l=0;l0,q=(P??0)*(_??0);($||K||R>=q||y.dragging)&&w.push(y)}return w}function uMt(r,o){const l=new Set;if(typeof r=="string")l.add(r);else if(r.length>=1)for(const a of r)l.add(a.id);return o.filter(a=>l.has(a.source)||l.has(a.target))}function V7t(r,o,l,a,p,g=.1,w={x:0,y:0}){const y=o/(r.width*(1+g)),S=l/(r.height*(1+g)),E=Math.min(y,S),I=KE(E,a,p),P=r.x+r.width/2,_=r.y+r.height/2,R=o/2-P*I+(w.x??0),$=l/2-_*I+(w.y??0);return{x:R,y:$,zoom:I}}function lIn(r,o){return{x:o.x+r.x,y:o.y+r.y,z:(r.z>o.z?r.z:o.z)+1}}function aMt(r,o){if(!r.parentNode)return!1;const l=o(r.parentNode);return l?l.selected?!0:aMt(l,o):!1}function Xz(r,o){return typeof r>"u"?"":typeof r=="string"?r:`${o?`${o}__`:""}${Object.keys(r).sort().map(a=>`${a}=${r[a]}`).join("&")}`}function q7t(r,o,l){return rl?-KE(Math.abs(r-l),1,o)/o:0}function fMt(r,o,l=15,a=40){const p=q7t(r.x,a,o.width-a)*l,g=q7t(r.y,a,o.height-a)*l;return[p,g]}function K7e(r,o){if(o){const l=r.position.x+r.dimensions.width-o.dimensions.width,a=r.position.y+r.dimensions.height-o.dimensions.height;if(l>0||a>0||r.position.x<0||r.position.y<0){let p={};if(typeof o.style=="function"?p={...o.style(o)}:o.style&&(p={...o.style}),p.width=p.width??`${o.dimensions.width}px`,p.height=p.height??`${o.dimensions.height}px`,l>0)if(typeof p.width=="string"){const g=Number(p.width.replace("px",""));p.width=`${g+l}px`}else p.width+=l;if(a>0)if(typeof p.height=="string"){const g=Number(p.height.replace("px",""));p.height=`${g+a}px`}else p.height+=a;if(r.position.x<0){const g=Math.abs(r.position.x);if(o.position.x=o.position.x-g,typeof p.width=="string"){const w=Number(p.width.replace("px",""));p.width=`${w+g}px`}else p.width+=g;r.position.x=0}if(r.position.y<0){const g=Math.abs(r.position.y);if(o.position.y=o.position.y-g,typeof p.height=="string"){const w=Number(p.height.replace("px",""));p.height=`${w+g}px`}else p.height+=g;r.position.y=0}o.dimensions.width=Number(p.width.toString().replace("px","")),o.dimensions.height=Number(p.height.toString().replace("px","")),typeof o.style=="function"?o.style=g=>{const w=o.style;return{...w(g),...p}}:o.style={...o.style,...p}}}}function X7t(r,o){var l,a;const p=r.filter(w=>w.type==="add"||w.type==="remove");for(const w of p)if(w.type==="add")o.findIndex(S=>S.id===w.item.id)===-1&&o.push(w.item);else if(w.type==="remove"){const y=o.findIndex(S=>S.id===w.id);y!==-1&&o.splice(y,1)}const g=o.map(w=>w.id);for(const w of o)for(const y of r)if(y.id===w.id)switch(y.type){case"select":w.selected=y.selected;break;case"position":if(TF(w)&&(typeof y.position<"u"&&(w.position=y.position),typeof y.dragging<"u"&&(w.dragging=y.dragging),w.expandParent&&w.parentNode)){const S=o[g.indexOf(w.parentNode)];S&&TF(S)&&K7e(w,S)}break;case"dimensions":if(TF(w)&&(typeof y.dimensions<"u"&&(w.dimensions=y.dimensions),typeof y.updateStyle<"u"&&y.updateStyle&&(w.style={...w.style||{},width:`${(l=y.dimensions)==null?void 0:l.width}px`,height:`${(a=y.dimensions)==null?void 0:a.height}px`}),typeof y.resizing<"u"&&(w.resizing=y.resizing),w.expandParent&&w.parentNode)){const S=o[g.indexOf(w.parentNode)];S&&TF(S)&&(!!S.dimensions.width&&!!S.dimensions.height?K7e(w,S):rm(()=>{K7e(w,S)}))}break}return o}function f7(r,o){return{id:r,type:"select",selected:o}}function Y7t(r){return{item:r,type:"add"}}function J7t(r){return{id:r,type:"remove"}}function Q7t(r,o,l,a,p){return{id:r,source:o,target:l,sourceHandle:a||null,targetHandle:p||null,type:"remove"}}function m7(r,o=new Set,l=!1){const a=[];for(const[p,g]of r){const w=o.has(p);!(g.selected===void 0&&!w)&&g.selected!==w&&(l&&(g.selected=w),a.push(f7(g.id,w)))}return a}function ti(r){const o=new Set;let l=!1;const a=()=>o.size>0;r&&(l=!0,o.add(r));const p=y=>{o.delete(y)};return{on:y=>{r&&l&&o.delete(r),o.add(y);const S=()=>{p(y),r&&l&&o.add(r)};return Oie(S),{off:S}},off:p,trigger:y=>Promise.all(Array.from(o).map(S=>S(y))),hasListeners:a,fns:o}}function Z7t(r,o,l){let a=r;do{if(a&&a.matches(o))return!0;if(a===l)return!1;a=a.parentElement}while(a);return!1}function cIn(r,o,l,a,p){var g,w;const y=[];for(const S of r)(S.selected||S.id===p)&&(!S.parentNode||!aMt(S,a))&&(S.draggable||o&&typeof S.draggable>"u")&&y.push(SE({id:S.id,position:S.position||{x:0,y:0},distance:{x:l.x-((g=S.computedPosition)==null?void 0:g.x)||0,y:l.y-((w=S.computedPosition)==null?void 0:w.y)||0},from:S.computedPosition,extent:S.extent,parentNode:S.parentNode,dimensions:S.dimensions,expandParent:S.expandParent}));return y}function U7e({id:r,dragItems:o,findNode:l}){const a=[];for(const p of o){const g=l(p.id);g&&a.push(g)}return[r?a.find(p=>p.id===r):a[0],a]}function dMt(r){if(Array.isArray(r))switch(r.length){case 1:return[r[0],r[0],r[0],r[0]];case 2:return[r[0],r[1],r[0],r[1]];case 3:return[r[0],r[1],r[2],r[1]];case 4:return r;default:return[0,0,0,0]}return[r,r,r,r]}function uIn(r,o,l){const[a,p,g,w]=typeof r!="string"?dMt(r.padding):[0,0,0,0];return l&&typeof l.computedPosition.x<"u"&&typeof l.computedPosition.y<"u"&&typeof l.dimensions.width<"u"&&typeof l.dimensions.height<"u"?[[l.computedPosition.x+w,l.computedPosition.y+a],[l.computedPosition.x+l.dimensions.width-p,l.computedPosition.y+l.dimensions.height-g]]:!1}function aIn(r,o,l,a){let p=r.extent||l;if((p==="parent"||!Array.isArray(p)&&(p==null?void 0:p.range)==="parent")&&!r.expandParent)if(r.parentNode&&a&&r.dimensions.width&&r.dimensions.height){const g=uIn(p,r,a);g&&(p=g)}else o(new Pd(qf.NODE_EXTENT_INVALID,r.id)),p=l;else if(Array.isArray(p)){const g=(a==null?void 0:a.computedPosition.x)||0,w=(a==null?void 0:a.computedPosition.y)||0;p=[[p[0][0]+g,p[0][1]+w],[p[1][0]+g,p[1][1]+w]]}else if(p!=="parent"&&(p!=null&&p.range)&&Array.isArray(p.range)){const[g,w,y,S]=dMt(p.padding),E=(a==null?void 0:a.computedPosition.x)||0,I=(a==null?void 0:a.computedPosition.y)||0;p=[[p.range[0][0]+E+S,p.range[0][1]+I+g],[p.range[1][0]+E-w,p.range[1][1]+I-y]]}return p==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:p}function fIn({width:r,height:o},l){return[l[0],[l[1][0]-(r||0),l[1][1]-(o||0)]]}function Mxe(r,o,l,a,p){const g=fIn(r.dimensions,aIn(r,l,a,p)),w=tMt(o,g);return{position:{x:w.x-((p==null?void 0:p.computedPosition.x)||0),y:w.y-((p==null?void 0:p.computedPosition.y)||0)},computedPosition:w}}function Cre(r,o,l=bi.Left){const a=((o==null?void 0:o.x)??0)+r.computedPosition.x,p=((o==null?void 0:o.y)??0)+r.computedPosition.y,{width:g,height:w}=o??pIn(r);switch((o==null?void 0:o.position)??l){case bi.Top:return{x:a+g/2,y:p};case bi.Right:return{x:a+g,y:p+w/2};case bi.Bottom:return{x:a+g/2,y:p+w};case bi.Left:return{x:a,y:p+w/2}}}function eCt(r=[],o){return r.length&&(o?r.find(l=>l.id===o):r[0])||null}function dIn({sourcePos:r,targetPos:o,sourceWidth:l,sourceHeight:a,targetWidth:p,targetHeight:g,width:w,height:y,viewport:S}){const E={x:Math.min(r.x,o.x),y:Math.min(r.y,o.y),x2:Math.max(r.x+l,o.x+p),y2:Math.max(r.y+a,o.y+g)};E.x===E.x2&&(E.x2+=1),E.y===E.y2&&(E.y2+=1);const I=sMt({x:(0-S.x)/S.zoom,y:(0-S.y)/S.zoom,width:w/S.zoom,height:y/S.zoom}),P=Math.max(0,Math.min(I.x2,E.x2)-Math.max(I.x,E.x)),_=Math.max(0,Math.min(I.y2,E.y2)-Math.max(I.y,E.y));return Math.ceil(P*_)>0}function hIn(r,o,l=!1){const a=typeof r.zIndex=="number";let p=a?r.zIndex:0;const g=o(r.source),w=o(r.target);return!g||!w?0:(l&&(p=a?r.zIndex:Math.max(g.computedPosition.z||0,w.computedPosition.z||0)),p)}var qf=(r=>(r.MISSING_STYLES="MISSING_STYLES",r.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",r.NODE_INVALID="NODE_INVALID",r.NODE_NOT_FOUND="NODE_NOT_FOUND",r.NODE_MISSING_PARENT="NODE_MISSING_PARENT",r.NODE_TYPE_MISSING="NODE_TYPE_MISSING",r.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",r.EDGE_INVALID="EDGE_INVALID",r.EDGE_NOT_FOUND="EDGE_NOT_FOUND",r.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",r.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",r.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",r.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",r.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",r.EDGE_ORPHANED="EDGE_ORPHANED",r.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",r))(qf||{});const tCt={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:r=>`Node is invalid -Node: ${r}`,NODE_NOT_FOUND:r=>`Node not found -Node: ${r}`,NODE_MISSING_PARENT:(r,o)=>`Node is missing a parent -Node: ${r} -Parent: ${o}`,NODE_TYPE_MISSING:r=>`Node type is missing -Type: ${r}`,NODE_EXTENT_INVALID:r=>`Only child nodes can use a parent extent -Node: ${r}`,EDGE_INVALID:r=>`An edge needs a source and a target -Edge: ${r}`,EDGE_SOURCE_MISSING:(r,o)=>`Edge source is missing -Edge: ${r} -Source: ${o}`,EDGE_TARGET_MISSING:(r,o)=>`Edge target is missing -Edge: ${r} -Target: ${o}`,EDGE_TYPE_MISSING:r=>`Edge type is missing -Type: ${r}`,EDGE_SOURCE_TARGET_SAME:(r,o,l)=>`Edge source and target are the same -Edge: ${r} -Source: ${o} -Target: ${l}`,EDGE_SOURCE_TARGET_MISSING:(r,o,l)=>`Edge source or target is missing -Edge: ${r} -Source: ${o} -Target: ${l}`,EDGE_ORPHANED:r=>`Edge was orphaned (suddenly missing source or target) and has been removed -Edge: ${r}`,EDGE_NOT_FOUND:r=>`Edge not found -Edge: ${r}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class Pd extends Error{constructor(o,...l){var a;super((a=tCt[o])==null?void 0:a.call(tCt,...l)),this.name="VueFlowError",this.code=o,this.args=l}}function Pxe(r){return"clientX"in r}function hMt(r){return"sourceEvent"in r}function U6(r,o){var l,a;const p=Pxe(r),g=p?r.clientX:(l=r.touches)==null?void 0:l[0].clientX,w=p?r.clientY:(a=r.touches)==null?void 0:a[0].clientY;return{x:g-((o==null?void 0:o.left)??0),y:w-((o==null?void 0:o.top)??0)}}const Sre=()=>{var r;return typeof navigator<"u"&&((r=navigator==null?void 0:navigator.userAgent)==null?void 0:r.indexOf("Mac"))>=0};function pIn(r){var o,l;return{width:((o=r.dimensions)==null?void 0:o.width)??r.width??0,height:((l=r.dimensions)==null?void 0:l.height)??r.height??0}}function $ie(r,o=[1,1]){return{x:o[0]*Math.round(r.x/o[0]),y:o[1]*Math.round(r.y/o[1])}}function pMt(){return{handleDomNode:null,isValid:!1,connection:{source:"",target:"",sourceHandle:null,targetHandle:null},endHandle:null}}function G7e(r){r==null||r.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting")}function nCt(r,o,l,a){const p=[];for(const g of o[l]||[])if(`${r.id}-${g.id}-${l}`!==a){const{x:w,y}=Cre(r,g);p.push({id:g.id||null,type:l,nodeId:r.id,x:w,y})}return p}function gIn(r,o,l,a,p,g){const{x:w,y}=U6(r),E=o.elementsFromPoint(w,y).find($=>$.classList.contains("vue-flow__handle"));if(E){const $=E.getAttribute("data-nodeid");if($){const K=Oxe(void 0,E),q=E.getAttribute("data-handleid"),Q=g({nodeId:$,id:q,type:K});if(Q){const ee=p.find(J=>J.nodeId===$&&J.type===K&&J.id===q);return{handle:{id:q,type:K,nodeId:$,x:(ee==null?void 0:ee.x)||l.x,y:(ee==null?void 0:ee.y)||l.y},validHandleResult:Q}}}}let I=[],P=Number.POSITIVE_INFINITY;for(const $ of p){const K=Math.sqrt(($.x-l.x)**2+($.y-l.y)**2);if(K<=a){const q=g($);K<=P&&(K$.isValid),R=I.some(({handle:$})=>$.type==="target");return I.find(({handle:$,validHandleResult:K})=>R?$.type==="target":_?K.isValid:!0)||I[0]}function rCt(r,o,l,a,p,g,w,y,S,E,I){const P=g==="target",_=y.querySelector(`.vue-flow__handle[data-id="${o==null?void 0:o.nodeId}-${o==null?void 0:o.id}-${o==null?void 0:o.type}"]`),{x:R,y:$}=U6(r),K=y.elementFromPoint(R,$),q=K!=null&&K.classList.contains("vue-flow__handle")?K:_,Q=pMt();if(q){Q.handleDomNode=q;const ee=Oxe(void 0,q),J=q.getAttribute("data-nodeid"),oe=q.getAttribute("data-handleid"),$e=q.classList.contains("connectable"),et=q.classList.contains("connectableend"),wt={source:P?J:a,sourceHandle:P?oe:p,target:P?a:J,targetHandle:P?p:oe};Q.connection=wt,$e&&et&&(l===HE.Strict?P&&ee==="source"||!P&&ee==="target":J!==a||oe!==p)&&(Q.isValid=w(wt,{edges:S,nodes:E,sourceNode:I(wt.source),targetNode:I(wt.target)}),Q.endHandle={nodeId:J,handleId:oe,type:ee,position:Q.isValid?q.getAttribute("data-handlepos"):null})}return Q}function bIn({nodes:r,nodeId:o,handleId:l,handleType:a}){const p=[];for(let g=0;g{const y=w.getBoundingClientRect();return{id:w.getAttribute("data-handleid"),position:w.getAttribute("data-handlepos"),x:(y.left-l.left)/a,y:(y.top-l.top)/a,...jie(w)}})}function wSe(r,o,l,a,p,g=!1,w){p.value=!1,r.selected?(g||r.selected&&o)&&(a([r]),rm(()=>{w.blur()})):l([r])}function Vf(r){return typeof Nr(r)<"u"}function vIn(r,o,l,a){if(!r||!r.source||!r.target)return l(new Pd(qf.EDGE_INVALID,(r==null?void 0:r.id)??"[ID UNKNOWN]")),!1;let p;return N7(r)?p=r:p={...r,id:iMt(r)},p=nMt(p,void 0,a),iIn(p,o)?!1:p}function yIn(r,o,l,a,p,g){if(!o.source||!o.target)return g(new Pd(qf.EDGE_INVALID,r.id)),!1;const w=a(r.id);if(!w)return g(new Pd(qf.EDGE_NOT_FOUND,r.id)),!1;const{id:y,...S}=r,E={...S,id:p?iMt(o):y,source:o.source,target:o.target,sourceHandle:o.sourceHandle,targetHandle:o.targetHandle};return l.splice(l.indexOf(w),1,E),E}function oCt(r,o,l){const a={},p=[];for(let g=0;gy.id===g.parentNode);g.parentNode&&!w&&l(new Pd(qf.NODE_MISSING_PARENT,g.id,g.parentNode)),(g.parentNode||a[g.id])&&(a[g.id]&&(g.isParent=!0),w&&(w.isParent=!0))}return p}function sCt(r,o){r.clear();for(const l of o){const{id:a,source:p,target:g,sourceHandle:w=null,targetHandle:y=null}=l,S=`${p}-source-${w}`,E=`${g}-target-${y}`,I=r.get(S)||new Map,P=r.get(E)||new Map,_=SE({edgeId:a,source:p,target:g,sourceHandle:w,targetHandle:y});r.set(S,I.set(`${g}-${y}`,_)),r.set(E,P.set(`${p}-${w}`,_))}}function lCt(r,o,l,a,p,g,w,y){const S=[];for(const E of r){const I=N7(E)?E:vIn(E,y,p,g);if(!I)continue;const P=l(I.source),_=l(I.target);if(!P||!_){p(new Pd(qf.EDGE_SOURCE_TARGET_MISSING,I.id,I.source,I.target));continue}if(!P){p(new Pd(qf.EDGE_SOURCE_MISSING,I.id,I.source));continue}if(!_){p(new Pd(qf.EDGE_TARGET_MISSING,I.id,I.target));continue}if(o&&!o(I,{edges:y,nodes:w,sourceNode:P,targetNode:_})){p(new Pd(qf.EDGE_INVALID,I.id));continue}const R=a(I.id);S.push({...nMt(I,R,g),sourceNode:P,targetNode:_})}return S}const cCt=Symbol("vueFlow"),bMt=Symbol("nodeId"),wMt=Symbol("nodeRef"),kIn=Symbol("edgeId"),CIn=Symbol("edgeRef"),Nie=Symbol("slots");function mMt(r){const{vueFlowRef:o,snapToGrid:l,snapGrid:a,noDragClassName:p,nodes:g,nodeExtent:w,nodeDragThreshold:y,viewport:S,autoPanOnNodeDrag:E,autoPanSpeed:I,nodesDraggable:P,panBy:_,findNode:R,multiSelectionActive:$,nodesSelectionActive:K,selectNodesOnDrag:q,removeSelectedElements:Q,addSelectedNodes:ee,updateNodePositions:J,emits:oe}=_u(),{onStart:$e,onDrag:et,onStop:wt,onClick:bt,el:ce,disabled:Be,id:ae,selectable:xe,dragHandle:U}=r,He=Qo(!1);let yt=[],ft,At=null,Jt={x:void 0,y:void 0},un={x:0,y:0},kn=null,qt=!1,on=0,Rt=!1;const an=EIn(),Zn=({x:ve,y:ke})=>{Jt={x:ve,y:ke};let Z=!1;if(yt=yt.map(V=>{const ie={x:ve-V.distance.x,y:ke-V.distance.y},{computedPosition:ue}=Mxe(V,l.value?$ie(ie,a.value):ie,oe.error,w.value,V.parentNode?R(V.parentNode):void 0);return Z=Z||V.position.x!==ue.x||V.position.y!==ue.y,V.position=ue,V}),!!Z&&(J(yt,!0,!0),He.value=!0,kn)){const[V,ie]=U7e({id:ae,dragItems:yt,findNode:R});et({event:kn,node:V,nodes:ie})}},kt=()=>{if(!At)return;const[ve,ke]=fMt(un,At,I.value);if(ve!==0||ke!==0){const Z={x:(Jt.x??0)-ve/S.value.zoom,y:(Jt.y??0)-ke/S.value.zoom};_({x:ve,y:ke})&&Zn(Z)}on=requestAnimationFrame(kt)},Qe=(ve,ke)=>{qt=!0;const Z=R(ae);!q.value&&!$.value&&Z&&(Z.selected||Q()),Z&&Wl(xe)&&q.value&&wSe(Z,$.value,ee,Q,K,!1,ke);const V=an(ve.sourceEvent);if(Jt=V,yt=cIn(g.value,P.value,V,R,ae),yt.length){const[ie,ue]=U7e({id:ae,dragItems:yt,findNode:R});$e({event:ve.sourceEvent,node:ie,nodes:ue})}},Xt=(ve,ke)=>{var Z;ve.sourceEvent.type==="touchmove"&&ve.sourceEvent.touches.length>1||(y.value===0&&Qe(ve,ke),Jt=an(ve.sourceEvent),At=((Z=o.value)==null?void 0:Z.getBoundingClientRect())||null,un=U6(ve.sourceEvent,At))},Pn=(ve,ke)=>{const Z=an(ve.sourceEvent);if(!Rt&&qt&&E.value&&(Rt=!0,kt()),!qt){const V=Z.xSnapped-(Jt.x??0),ie=Z.ySnapped-(Jt.y??0);Math.sqrt(V*V+ie*ie)>y.value&&Qe(ve,ke)}(Jt.x!==Z.xSnapped||Jt.y!==Z.ySnapped)&&yt.length&&qt&&(kn=ve.sourceEvent,un=U6(ve.sourceEvent,At),Zn(Z))},hr=ve=>{if(!hMt(ve)&&!qt&&!He.value&&!$.value){const ke=ve,Z=an(ke),V=Z.xSnapped-(Jt.x??0),ie=Z.ySnapped-(Jt.y??0),ue=Math.sqrt(V*V+ie*ie);ue!==0&&ue<=y.value&&(bt==null||bt(ke));return}if(He.value=!1,Rt=!1,qt=!1,Jt={x:void 0,y:void 0},cancelAnimationFrame(on),yt.length){J(yt,!1,!1);const[ke,Z]=U7e({id:ae,dragItems:yt,findNode:R});wt({event:ve.sourceEvent,node:ke,nodes:Z})}};return Vs([()=>Wl(Be),ce],([ve,ke],Z,V)=>{if(ke){const ie=ny(ke);ve||(ft=oEn().on("start",ue=>Xt(ue,ke)).on("drag",ue=>Pn(ue,ke)).on("end",ue=>hr(ue)).filter(ue=>{const ge=ue.target,Ge=Wl(U);return!ue.button&&(!p.value||!Z7t(ge,`.${p.value}`,ke)&&(!Ge||Z7t(ge,Ge,ke)))}),ie.call(ft)),V(()=>{ie.on(".drag",null),ft&&(ft.on("start",null),ft.on("drag",null),ft.on("end",null))})}}),He}function SIn(){return{doubleClick:ti(),click:ti(),mouseEnter:ti(),mouseMove:ti(),mouseLeave:ti(),contextMenu:ti(),updateStart:ti(),update:ti(),updateEnd:ti()}}function xIn(r,o){const l=SIn();return l.doubleClick.on(a=>{var p,g;o.edgeDoubleClick(a),(g=(p=r.events)==null?void 0:p.doubleClick)==null||g.call(p,a)}),l.click.on(a=>{var p,g;o.edgeClick(a),(g=(p=r.events)==null?void 0:p.click)==null||g.call(p,a)}),l.mouseEnter.on(a=>{var p,g;o.edgeMouseEnter(a),(g=(p=r.events)==null?void 0:p.mouseEnter)==null||g.call(p,a)}),l.mouseMove.on(a=>{var p,g;o.edgeMouseMove(a),(g=(p=r.events)==null?void 0:p.mouseMove)==null||g.call(p,a)}),l.mouseLeave.on(a=>{var p,g;o.edgeMouseLeave(a),(g=(p=r.events)==null?void 0:p.mouseLeave)==null||g.call(p,a)}),l.contextMenu.on(a=>{var p,g;o.edgeContextMenu(a),(g=(p=r.events)==null?void 0:p.contextMenu)==null||g.call(p,a)}),l.updateStart.on(a=>{var p,g;o.edgeUpdateStart(a),(g=(p=r.events)==null?void 0:p.updateStart)==null||g.call(p,a)}),l.update.on(a=>{var p,g;o.edgeUpdate(a),(g=(p=r.events)==null?void 0:p.update)==null||g.call(p,a)}),l.updateEnd.on(a=>{var p,g;o.edgeUpdateEnd(a),(g=(p=r.events)==null?void 0:p.updateEnd)==null||g.call(p,a)}),Object.entries(l).reduce((a,[p,g])=>(a.emit[p]=g.trigger,a.on[p]=g.on,a),{emit:{},on:{}})}function EIn(){const{viewport:r,snapGrid:o,snapToGrid:l}=_u();return a=>{const p=hMt(a)?a.sourceEvent:a,{x:g,y:w}=U6(p),y=qz({x:g,y:w},r.value),{x:S,y:E}=l.value?$ie(y,o.value):y;return{xSnapped:S,ySnapped:E,...y}}}function one(){return!0}function vMt({handleId:r,nodeId:o,type:l,isValidConnection:a,edgeUpdaterType:p,onEdgeUpdate:g,onEdgeUpdateEnd:w}){const{vueFlowRef:y,connectionMode:S,connectionRadius:E,connectOnClick:I,connectionClickStartHandle:P,nodesConnectable:_,autoPanOnConnect:R,autoPanSpeed:$,findNode:K,panBy:q,startConnection:Q,updateConnection:ee,endConnection:J,emits:oe,viewport:$e,edges:et,nodes:wt,isValidConnection:bt}=_u();let ce=null,Be=!1,ae=null,xe=null;function U(yt){var ft;const At=Wl(l)==="target",Jt=Pxe(yt),un=W7t(yt.target);if(Jt&&yt.button===0||!Jt){let kn=function(ue){ke=U6(ue,hr);const{handle:ge,validHandleResult:Ge}=gIn(ue,un,qz(ke,$e.value,!1,[1,1]),E.value,V,jt=>rCt(ue,jt,S.value,Wl(o),Wl(r),At?"target":"source",Rt,un,et.value,wt.value,K));if(an=ge,Z||(ie(),Z=!0),ce=Ge.connection,Be=Ge.isValid,ae=Ge.handleDomNode,!(Be&&an&&(xe!=null&&xe.endHandle)&&Ge.endHandle&&xe.endHandle.type===Ge.endHandle.type&&xe.endHandle.nodeId===Ge.endHandle.nodeId&&xe.endHandle.handleId===Ge.endHandle.handleId)){if(ee(an&&Be?oMt({x:an.x,y:an.y},$e.value):ke,Ge.endHandle,wIn(!!an,Be)),xe=Ge,!an&&!Be&&!ae)return G7e(ve);ce&&ce.source!==ce.target&&ae&&(G7e(ve),ve=ae,ae.classList.add("connecting","vue-flow__handle-connecting"),ae.classList.toggle("valid",Be),ae.classList.toggle("vue-flow__handle-valid",Be))}},qt=function(ue){(an||ae)&&ce&&Be&&(g?g(ue,ce):oe.connect(ce)),oe.connectEnd(ue),p&&(w==null||w(ue)),G7e(ve),cancelAnimationFrame(Zn),J(ue),Z=!1,Be=!1,ce=null,ae=null,un.removeEventListener("mousemove",kn),un.removeEventListener("mouseup",qt),un.removeEventListener("touchmove",kn),un.removeEventListener("touchend",qt)};const on=K(Wl(o));let Rt=Wl(a)||bt.value||one;!Rt&&on&&(Rt=(At?on.isValidSourcePos:on.isValidTargetPos)||one);let an,Zn=0;const{x:kt,y:Qe}=U6(yt),Xt=un==null?void 0:un.elementFromPoint(kt,Qe),Pn=Oxe(Wl(p),Xt),hr=(ft=y.value)==null?void 0:ft.getBoundingClientRect();if(!hr||!Pn)return;let ve,ke=U6(yt,hr),Z=!1;const V=bIn({nodes:wt.value,nodeId:Wl(o),handleId:Wl(r),handleType:Pn}),ie=()=>{if(!R.value)return;const[ue,ge]=fMt(ke,hr,$.value);q({x:ue,y:ge}),Zn=requestAnimationFrame(ie)};Q({nodeId:Wl(o),handleId:Wl(r),type:Pn,position:(Xt==null?void 0:Xt.getAttribute("data-handlepos"))||bi.Top},{x:kt-hr.left,y:Qe-hr.top}),oe.connectStart({event:yt,nodeId:Wl(o),handleId:Wl(r),handleType:Pn}),un.addEventListener("mousemove",kn),un.addEventListener("mouseup",qt),un.addEventListener("touchmove",kn),un.addEventListener("touchend",qt)}}function He(yt){if(!I.value)return;const ft=Wl(l)==="target";if(!P.value)oe.clickConnectStart({event:yt,nodeId:Wl(o),handleId:Wl(r)}),Q({nodeId:Wl(o),type:Wl(l),handleId:Wl(r)},void 0,!0);else{let At=Wl(a)||bt.value||one;const Jt=K(Wl(o));if(!At&&Jt&&(At=(ft?Jt.isValidSourcePos:Jt.isValidTargetPos)||one),Jt&&(typeof Jt.connectable>"u"?_.value:Jt.connectable)===!1)return;const un=W7t(yt.target),{connection:kn,isValid:qt}=rCt(yt,{nodeId:Wl(o),id:Wl(r),type:Wl(l)},S.value,P.value.nodeId,P.value.handleId||null,P.value.type,At,un,et.value,wt.value,K),on=kn.source===kn.target;qt&&!on&&oe.connect(kn),oe.clickConnectEnd(yt),J(yt,!0)}}return{handlePointerDown:U,handleClick:He}}function TIn(){return p3(bMt,"")}function yMt(r){const o=r??TIn()??"",l=p3(wMt,Qo(null)),{findNode:a,edges:p,emits:g}=_u(),w=a(o);return w||g.error(new Pd(qf.NODE_NOT_FOUND,o)),{id:o,nodeEl:l,node:w,parentNode:ho(()=>a(w.parentNode)),connectedEdges:ho(()=>uMt([w],p.value))}}function IIn(){return{doubleClick:ti(),click:ti(),mouseEnter:ti(),mouseMove:ti(),mouseLeave:ti(),contextMenu:ti(),dragStart:ti(),drag:ti(),dragStop:ti()}}function MIn(r,o){const l=IIn();return l.doubleClick.on(a=>{var p,g;o.nodeDoubleClick(a),(g=(p=r.events)==null?void 0:p.doubleClick)==null||g.call(p,a)}),l.click.on(a=>{var p,g;o.nodeClick(a),(g=(p=r.events)==null?void 0:p.click)==null||g.call(p,a)}),l.mouseEnter.on(a=>{var p,g;o.nodeMouseEnter(a),(g=(p=r.events)==null?void 0:p.mouseEnter)==null||g.call(p,a)}),l.mouseMove.on(a=>{var p,g;o.nodeMouseMove(a),(g=(p=r.events)==null?void 0:p.mouseMove)==null||g.call(p,a)}),l.mouseLeave.on(a=>{var p,g;o.nodeMouseLeave(a),(g=(p=r.events)==null?void 0:p.mouseLeave)==null||g.call(p,a)}),l.contextMenu.on(a=>{var p,g;o.nodeContextMenu(a),(g=(p=r.events)==null?void 0:p.contextMenu)==null||g.call(p,a)}),l.dragStart.on(a=>{var p,g;o.nodeDragStart(a),(g=(p=r.events)==null?void 0:p.dragStart)==null||g.call(p,a)}),l.drag.on(a=>{var p,g;o.nodeDrag(a),(g=(p=r.events)==null?void 0:p.drag)==null||g.call(p,a)}),l.dragStop.on(a=>{var p,g;o.nodeDragStop(a),(g=(p=r.events)==null?void 0:p.dragStop)==null||g.call(p,a)}),Object.entries(l).reduce((a,[p,g])=>(a.emit[p]=g.trigger,a.on[p]=g.on,a),{emit:{},on:{}})}function kMt(){const{getSelectedNodes:r,nodeExtent:o,updateNodePositions:l,findNode:a,snapGrid:p,snapToGrid:g,nodesDraggable:w,emits:y}=_u();return(S,E=!1)=>{const I=g.value?p.value[0]:5,P=g.value?p.value[1]:5,_=E?4:1,R=S.x*I*_,$=S.y*P*_,K=[];for(const q of r.value)if(q.draggable||w&&typeof q.draggable>"u"){const Q={x:q.computedPosition.x+R,y:q.computedPosition.y+$},{computedPosition:ee}=Mxe(q,Q,y.error,o.value,q.parentNode?a(q.parentNode):void 0);K.push({id:q.id,position:ee,from:q.position,distance:{x:S.x,y:S.y},dimensions:q.dimensions})}l(K,!0,!1)}}const W7e=.1;function u7(){return Die("Viewport not initialized yet."),Promise.resolve(!1)}const PIn={zoomIn:u7,zoomOut:u7,zoomTo:u7,fitView:u7,setCenter:u7,fitBounds:u7,project:r=>r,screenToFlowCoordinate:r=>r,flowToScreenCoordinate:r=>r,setViewport:u7,setTransform:u7,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function OIn(r){function o(a,p){return new Promise(g=>{r.d3Selection&&r.d3Zoom?r.d3Zoom.scaleBy(V7e(r.d3Selection,p,()=>{g(!0)}),a):g(!1)})}function l(a,p,g,w){return new Promise(y=>{const{x:S,y:E}=tMt({x:-a,y:-p},r.translateExtent),I=R_.translate(-S,-E).scale(g);r.d3Selection&&r.d3Zoom?r.d3Zoom.transform(V7e(r.d3Selection,w,()=>{y(!0)}),I):y(!1)})}return ho(()=>r.d3Zoom&&r.d3Selection&&r.dimensions.width&&r.dimensions.height?{viewportInitialized:!0,zoomIn:p=>o(1.2,p==null?void 0:p.duration),zoomOut:p=>o(1/1.2,p==null?void 0:p.duration),zoomTo:(p,g)=>new Promise(w=>{r.d3Selection&&r.d3Zoom?r.d3Zoom.scaleTo(V7e(r.d3Selection,g==null?void 0:g.duration,()=>{w(!0)}),p):w(!1)}),setViewport:(p,g)=>l(p.x,p.y,p.zoom,g==null?void 0:g.duration),setTransform:(p,g)=>l(p.x,p.y,p.zoom,g==null?void 0:g.duration),getViewport:()=>({x:r.viewport.x,y:r.viewport.y,zoom:r.viewport.zoom}),getTransform:()=>({x:r.viewport.x,y:r.viewport.y,zoom:r.viewport.zoom}),fitView:(p={padding:W7e,includeHiddenNodes:!1,duration:0})=>{var g,w;const y=[];for(const _ of r.nodes)_.dimensions.width&&_.dimensions.height&&((p==null?void 0:p.includeHiddenNodes)||!_.hidden)&&(!((g=p.nodes)!=null&&g.length)||(w=p.nodes)!=null&&w.length&&p.nodes.includes(_.id))&&y.push(_);if(!y.length)return Promise.resolve(!1);const S=lMt(y),{x:E,y:I,zoom:P}=V7t(S,r.dimensions.width,r.dimensions.height,p.minZoom??r.minZoom,p.maxZoom??r.maxZoom,p.padding??W7e,p.offset);return l(E,I,P,p==null?void 0:p.duration)},setCenter:(p,g,w)=>{const y=typeof(w==null?void 0:w.zoom)<"u"?w.zoom:r.maxZoom,S=r.dimensions.width/2-p*y,E=r.dimensions.height/2-g*y;return l(S,E,y,w==null?void 0:w.duration)},fitBounds:(p,g={padding:W7e})=>{const{x:w,y,zoom:S}=V7t(p,r.dimensions.width,r.dimensions.height,r.minZoom,r.maxZoom,g.padding);return l(w,y,S,g==null?void 0:g.duration)},project:p=>qz(p,r.viewport,r.snapToGrid,r.snapGrid),screenToFlowCoordinate:p=>{if(r.vueFlowRef){const{x:g,y:w}=r.vueFlowRef.getBoundingClientRect(),y={x:p.x-g,y:p.y-w};return qz(y,r.viewport,r.snapToGrid,r.snapGrid)}return{x:0,y:0}},flowToScreenCoordinate:p=>{if(r.vueFlowRef){const{x:g,y:w}=r.vueFlowRef.getBoundingClientRect(),y={x:p.x+g,y:p.y+w};return oMt(y,r.viewport)}return{x:0,y:0}}}:PIn)}function V7e(r,o=0,l){return r.transition().duration(o).on("end",l)}function _In(r,o,l){const a=XCt(!0);return a.run(()=>{const p=()=>{a.run(()=>{let K,q,Q=!!(l.nodes.value.length||l.edges.value.length);K=jO([r.modelValue,()=>{var ee,J;return(J=(ee=r.modelValue)==null?void 0:ee.value)==null?void 0:J.length}],([ee])=>{ee&&Array.isArray(ee)&&(q==null||q.pause(),l.setElements(ee),!q&&!Q&&ee.length?Q=!0:q==null||q.resume())}),q=jO([l.nodes,l.edges,()=>l.edges.value.length,()=>l.nodes.value.length],([ee,J])=>{var oe;(oe=r.modelValue)!=null&&oe.value&&Array.isArray(r.modelValue.value)&&(K==null||K.pause(),r.modelValue.value=[...ee,...J],rm(()=>{K==null||K.resume()}))},{immediate:Q}),dne(()=>{K==null||K.stop(),q==null||q.stop()})})},g=()=>{a.run(()=>{let K,q,Q=!!l.nodes.value.length;K=jO([r.nodes,()=>{var ee,J;return(J=(ee=r.nodes)==null?void 0:ee.value)==null?void 0:J.length}],([ee])=>{ee&&Array.isArray(ee)&&(q==null||q.pause(),l.setNodes(ee),!q&&!Q&&ee.length?Q=!0:q==null||q.resume())}),q=jO([l.nodes,()=>l.nodes.value.length],([ee])=>{var J;(J=r.nodes)!=null&&J.value&&Array.isArray(r.nodes.value)&&(K==null||K.pause(),r.nodes.value=[...ee],rm(()=>{K==null||K.resume()}))},{immediate:Q}),dne(()=>{K==null||K.stop(),q==null||q.stop()})})},w=()=>{a.run(()=>{let K,q,Q=!!l.edges.value.length;K=jO([r.edges,()=>{var ee,J;return(J=(ee=r.edges)==null?void 0:ee.value)==null?void 0:J.length}],([ee])=>{ee&&Array.isArray(ee)&&(q==null||q.pause(),l.setEdges(ee),!q&&!Q&&ee.length?Q=!0:q==null||q.resume())}),q=jO([l.edges,()=>l.edges.value.length],([ee])=>{var J;(J=r.edges)!=null&&J.value&&Array.isArray(r.edges.value)&&(K==null||K.pause(),r.edges.value=[...ee],rm(()=>{K==null||K.resume()}))},{immediate:Q}),dne(()=>{K==null||K.stop(),q==null||q.stop()})})},y=()=>{a.run(()=>{Vs(()=>o.maxZoom,()=>{o.maxZoom&&Vf(o.maxZoom)&&l.setMaxZoom(o.maxZoom)},{immediate:!0})})},S=()=>{a.run(()=>{Vs(()=>o.minZoom,()=>{o.minZoom&&Vf(o.minZoom)&&l.setMinZoom(o.minZoom)},{immediate:!0})})},E=()=>{a.run(()=>{Vs(()=>o.translateExtent,()=>{o.translateExtent&&Vf(o.translateExtent)&&l.setTranslateExtent(o.translateExtent)},{immediate:!0})})},I=()=>{a.run(()=>{Vs(()=>o.nodeExtent,()=>{o.nodeExtent&&Vf(o.nodeExtent)&&l.setNodeExtent(o.nodeExtent)},{immediate:!0})})},P=()=>{a.run(()=>{Vs(()=>o.applyDefault,()=>{Vf(o.applyDefault)&&(l.applyDefault.value=o.applyDefault)},{immediate:!0})})},_=()=>{a.run(()=>{const K=async q=>{let Q=q;typeof o.autoConnect=="function"&&(Q=await o.autoConnect(q)),Q!==!1&&l.addEdges([Q])};Vs(()=>o.autoConnect,()=>{Vf(o.autoConnect)&&(l.autoConnect.value=o.autoConnect)},{immediate:!0}),Vs(l.autoConnect,(q,Q,ee)=>{q?l.onConnect(K):l.hooks.value.connect.off(K),ee(()=>{l.hooks.value.connect.off(K)})},{immediate:!0})})},R=()=>{const K=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const q of Object.keys(o)){const Q=q;if(!K.includes(Q)){const ee=Ia(()=>o[Q]),J=l[Q];Ef(J)&&a.run(()=>{Vs(ee,oe=>{Vf(oe)&&(J.value=oe)},{immediate:!0})})}}};(()=>{p(),g(),w(),S(),y(),E(),I(),P(),_(),R()})()}),()=>a.stop()}function RIn(){return{edgesChange:ti(),nodesChange:ti(),nodeDoubleClick:ti(),nodeClick:ti(),nodeMouseEnter:ti(),nodeMouseMove:ti(),nodeMouseLeave:ti(),nodeContextMenu:ti(),nodeDragStart:ti(),nodeDrag:ti(),nodeDragStop:ti(),nodesInitialized:ti(),miniMapNodeClick:ti(),miniMapNodeDoubleClick:ti(),miniMapNodeMouseEnter:ti(),miniMapNodeMouseMove:ti(),miniMapNodeMouseLeave:ti(),connect:ti(),connectStart:ti(),connectEnd:ti(),clickConnectStart:ti(),clickConnectEnd:ti(),paneReady:ti(),init:ti(),move:ti(),moveStart:ti(),moveEnd:ti(),selectionDragStart:ti(),selectionDrag:ti(),selectionDragStop:ti(),selectionContextMenu:ti(),selectionStart:ti(),selectionEnd:ti(),viewportChangeStart:ti(),viewportChange:ti(),viewportChangeEnd:ti(),paneScroll:ti(),paneClick:ti(),paneContextMenu:ti(),paneMouseEnter:ti(),paneMouseMove:ti(),paneMouseLeave:ti(),edgeContextMenu:ti(),edgeMouseEnter:ti(),edgeMouseMove:ti(),edgeMouseLeave:ti(),edgeDoubleClick:ti(),edgeClick:ti(),edgeUpdateStart:ti(),edgeUpdate:ti(),edgeUpdateEnd:ti(),updateNodeInternals:ti(),error:ti(r=>Die(r.message))}}function AIn(r,o){MSt(()=>{for(const[l,a]of Object.entries(o.value)){const p=g=>{r(l,g)};a.fns.add(p),Oie(()=>{a.off(p)})}})}function CMt(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:Ixe.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:XF.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:hE.Bezier,style:{}},connectionMode:HE.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:Sre()?"Meta":"Control",zoomActivationKeyCode:Sre()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:RIn(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""}}const LIn=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function jIn(r,o,l){const a=OIn(r),p=V=>{const ie=V??[];r.hooks.updateNodeInternals.trigger(ie)},g=V=>rIn(V,r.nodes,r.edges),w=V=>nIn(V,r.nodes,r.edges),y=V=>uMt(V,r.edges),S=({id:V,type:ie,nodeId:ue})=>{var ge;return Array.from(((ge=r.connectionLookup.get(`${ue}-${ie}-${V??null}`))==null?void 0:ge.values())??[])},E=V=>{if(V)return o.value.get(V)},I=V=>{if(V)return l.value.get(V)},P=(V,ie,ue)=>{var ge,Ge;const jt=[];for(const Lt of V){const tn={id:Lt.id,type:"position",dragging:ue,from:Lt.from};if(ie&&(tn.position=Lt.position,Lt.parentNode)){const Ct=E(Lt.parentNode);tn.position={x:tn.position.x-(((ge=Ct==null?void 0:Ct.computedPosition)==null?void 0:ge.x)??0),y:tn.position.y-(((Ge=Ct==null?void 0:Ct.computedPosition)==null?void 0:Ge.y)??0)}}jt.push(tn)}jt!=null&&jt.length&&r.hooks.nodesChange.trigger(jt)},_=V=>{if(!r.vueFlowRef)return;const ie=r.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!ie)return;const ue=window.getComputedStyle(ie),{m22:ge}=new window.DOMMatrixReadOnly(ue.transform),Ge=[];for(let jt=0;jt{r.fitViewOnInitDone=!0}),Ge.length&&r.hooks.nodesChange.trigger(Ge)},R=(V,ie)=>{const ue=new Set,ge=new Set;for(const Lt of V)RE(Lt)?ue.add(Lt.id):N7(Lt)&&ge.add(Lt.id);const Ge=m7(o.value,ue,!0),jt=m7(l.value,ge);if(r.multiSelectionActive){for(const Lt of ue)Ge.push(f7(Lt,ie));for(const Lt of ge)jt.push(f7(Lt,ie))}Ge.length&&r.hooks.nodesChange.trigger(Ge),jt.length&&r.hooks.edgesChange.trigger(jt)},$=V=>{if(r.multiSelectionActive){const ie=V.map(ue=>f7(ue.id,!0));r.hooks.nodesChange.trigger(ie);return}r.hooks.nodesChange.trigger(m7(o.value,new Set(V.map(ie=>ie.id)),!0)),r.hooks.edgesChange.trigger(m7(l.value))},K=V=>{if(r.multiSelectionActive){const ie=V.map(ue=>f7(ue.id,!0));r.hooks.edgesChange.trigger(ie);return}r.hooks.edgesChange.trigger(m7(l.value,new Set(V.map(ie=>ie.id)))),r.hooks.nodesChange.trigger(m7(o.value,new Set,!0))},q=V=>{R(V,!0)},Q=V=>{const ue=(V||r.nodes).map(ge=>(ge.selected=!1,f7(ge.id,!1)));r.hooks.nodesChange.trigger(ue)},ee=V=>{const ue=(V||r.edges).map(ge=>(ge.selected=!1,f7(ge.id,!1)));r.hooks.edgesChange.trigger(ue)},J=V=>{if(!V||!V.length)return R([],!1);const ie=V.reduce((ue,ge)=>{const Ge=f7(ge.id,!1);return RE(ge)?ue.nodes.push(Ge):ue.edges.push(Ge),ue},{nodes:[],edges:[]});ie.nodes.length&&r.hooks.nodesChange.trigger(ie.nodes),ie.edges.length&&r.hooks.edgesChange.trigger(ie.edges)},oe=V=>{var ie;(ie=r.d3Zoom)==null||ie.scaleExtent([V,r.maxZoom]),r.minZoom=V},$e=V=>{var ie;(ie=r.d3Zoom)==null||ie.scaleExtent([r.minZoom,V]),r.maxZoom=V},et=V=>{var ie;(ie=r.d3Zoom)==null||ie.translateExtent(V),r.translateExtent=V},wt=V=>{r.nodeExtent=V,p()},bt=V=>{var ie;(ie=r.d3Zoom)==null||ie.clickDistance(V)},ce=V=>{r.nodesDraggable=V,r.nodesConnectable=V,r.elementsSelectable=V},Be=V=>{const ie=V instanceof Function?V(r.nodes):V;!r.initialized&&!ie.length||(r.nodes=oCt(ie,E,r.hooks.error.trigger))},ae=V=>{const ie=V instanceof Function?V(r.edges):V;if(!r.initialized&&!ie.length)return;const ue=lCt(ie,r.isValidConnection,E,I,r.hooks.error.trigger,r.defaultEdgeOptions,r.nodes,r.edges);sCt(r.connectionLookup,ue),r.edges=ue},xe=V=>{const ie=V instanceof Function?V([...r.nodes,...r.edges]):V;!r.initialized&&!ie.length||(Be(ie.filter(RE)),ae(ie.filter(N7)))},U=V=>{let ie=V instanceof Function?V(r.nodes):V;ie=Array.isArray(ie)?ie:[ie];const ue=oCt(ie,E,r.hooks.error.trigger),ge=[];for(const Ge of ue)ge.push(Y7t(Ge));ge.length&&r.hooks.nodesChange.trigger(ge)},He=V=>{let ie=V instanceof Function?V(r.edges):V;ie=Array.isArray(ie)?ie:[ie];const ue=lCt(ie,r.isValidConnection,E,I,r.hooks.error.trigger,r.defaultEdgeOptions,r.nodes,r.edges),ge=[];for(const Ge of ue)ge.push(Y7t(Ge));ge.length&&r.hooks.edgesChange.trigger(ge)},yt=(V,ie=!0,ue=!1)=>{const ge=V instanceof Function?V(r.nodes):V,Ge=Array.isArray(ge)?ge:[ge],jt=[],Lt=[];function tn(Kn){const dn=y(Kn);for(const Rn of dn)(!Vf(Rn.deletable)||Rn.deletable)&&Lt.push(Q7t(Rn.id,Rn.source,Rn.target,Rn.sourceHandle,Rn.targetHandle))}function Ct(Kn){const dn=[];for(const Rn of r.nodes)Rn.parentNode===Kn&&dn.push(Rn);if(dn.length){for(const Rn of dn)jt.push(J7t(Rn.id));ie&&tn(dn);for(const Rn of dn)Ct(Rn.id)}}for(const Kn of Ge){const dn=typeof Kn=="string"?E(Kn):Kn;dn&&(Vf(dn.deletable)&&!dn.deletable||(jt.push(J7t(dn.id)),ie&&tn([dn]),ue&&Ct(dn.id)))}Lt.length&&r.hooks.edgesChange.trigger(Lt),jt.length&&r.hooks.nodesChange.trigger(jt)},ft=V=>{const ie=V instanceof Function?V(r.edges):V,ue=Array.isArray(ie)?ie:[ie],ge=[];for(const Ge of ue){const jt=typeof Ge=="string"?I(Ge):Ge;jt&&(Vf(jt.deletable)&&!jt.deletable||ge.push(Q7t(typeof Ge=="string"?Ge:Ge.id,jt.source,jt.target,jt.sourceHandle,jt.targetHandle)))}r.hooks.edgesChange.trigger(ge)},At=(V,ie,ue=!0)=>yIn(V,ie,r.edges,I,ue,r.hooks.error.trigger),Jt=(V,ie,ue={replace:!1})=>{const ge=I(V);if(!ge)return;const Ge=typeof ie=="function"?ie(ge):ie;ge.data=ue.replace?Ge:{...ge.data,...Ge}},un=V=>X7t(V,r.nodes),kn=V=>{const ie=X7t(V,r.edges);return sCt(r.connectionLookup,ie),ie},qt=(V,ie,ue={replace:!1})=>{const ge=E(V);if(!ge)return;const Ge=typeof ie=="function"?ie(ge):ie;ue.replace?r.nodes.splice(r.nodes.indexOf(ge),1,Ge):Object.assign(ge,Ge)},on=(V,ie,ue={replace:!1})=>{const ge=E(V);if(!ge)return;const Ge=typeof ie=="function"?ie(ge):ie;ge.data=ue.replace?Ge:{...ge.data,...Ge}},Rt=(V,ie,ue=!1)=>{ue?r.connectionClickStartHandle=V:r.connectionStartHandle=V,r.connectionEndHandle=null,r.connectionStatus=null,ie&&(r.connectionPosition=ie)},an=(V,ie=null,ue=null)=>{r.connectionStartHandle&&(r.connectionPosition=V,r.connectionEndHandle=ie,r.connectionStatus=ue)},Zn=(V,ie)=>{r.connectionPosition={x:Number.NaN,y:Number.NaN},r.connectionEndHandle=null,r.connectionStatus=null,ie?r.connectionClickStartHandle=null:r.connectionStartHandle=null},kt=V=>{const ie=eIn(V),ue=ie?null:TF(V)?V:E(V.id);return!ie&&!ue?[null,null,ie]:[ie?V:gSe(ue),ue,ie]},Qe=(V,ie=!0,ue=r.nodes)=>{const[ge,Ge,jt]=kt(V);if(!ge)return[];const Lt=[];for(const tn of ue||r.nodes){if(!jt&&(tn.id===Ge.id||!tn.computedPosition))continue;const Ct=gSe(tn),Kn=bSe(Ct,ge);(ie&&Kn>0||Kn>=Number(ge.width)*Number(ge.height))&&Lt.push(tn)}return Lt},Xt=(V,ie,ue=!0)=>{const[ge]=kt(V);if(!ge)return!1;const Ge=bSe(ge,ie);return ue&&Ge>0||Ge>=Number(ge.width)*Number(ge.height)},Pn=V=>{const{viewport:ie,dimensions:ue,d3Zoom:ge,d3Selection:Ge,translateExtent:jt}=r;if(!ge||!Ge||!V.x&&!V.y)return!1;const Lt=R_.translate(ie.x+V.x,ie.y+V.y).scale(ie.zoom),tn=[[0,0],[ue.width,ue.height]],Ct=ge.constrain()(Lt,tn,jt),Kn=r.viewport.x!==Ct.x||r.viewport.y!==Ct.y||r.viewport.zoom!==Ct.k;return ge.transform(Ge,Ct),Kn},hr=V=>{const ie=V instanceof Function?V(r):V,ue=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Vf(ie.defaultEdgeOptions)&&(r.defaultEdgeOptions=ie.defaultEdgeOptions);const ge=ie.modelValue||ie.nodes||ie.edges?[]:void 0;ge&&(ie.modelValue&&ge.push(...ie.modelValue),ie.nodes&&ge.push(...ie.nodes),ie.edges&&ge.push(...ie.edges),xe(ge));const Ge=()=>{Vf(ie.maxZoom)&&$e(ie.maxZoom),Vf(ie.minZoom)&&oe(ie.minZoom),Vf(ie.translateExtent)&&et(ie.translateExtent)};for(const jt of Object.keys(ie)){const Lt=jt,tn=ie[Lt];![...LIn,...ue].includes(Lt)&&Vf(tn)&&(r[Lt]=tn)}oSe(()=>r.d3Zoom).not.toBeNull().then(Ge),r.initialized||(r.initialized=!0)};return{updateNodePositions:P,updateNodeDimensions:_,setElements:xe,setNodes:Be,setEdges:ae,addNodes:U,addEdges:He,removeNodes:yt,removeEdges:ft,findNode:E,findEdge:I,updateEdge:At,updateEdgeData:Jt,updateNode:qt,updateNodeData:on,applyEdgeChanges:kn,applyNodeChanges:un,addSelectedElements:q,addSelectedNodes:$,addSelectedEdges:K,setMinZoom:oe,setMaxZoom:$e,setTranslateExtent:et,setNodeExtent:wt,setPaneClickDistance:bt,removeSelectedElements:J,removeSelectedNodes:Q,removeSelectedEdges:ee,startConnection:Rt,updateConnection:an,endConnection:Zn,setInteractive:ce,setState:hr,getIntersectingNodes:Qe,getIncomers:g,getOutgoers:w,getConnectedEdges:y,getHandleConnections:S,isNodeIntersecting:Xt,panBy:Pn,fitView:V=>a.value.fitView(V),zoomIn:V=>a.value.zoomIn(V),zoomOut:V=>a.value.zoomOut(V),zoomTo:(V,ie)=>a.value.zoomTo(V,ie),setViewport:(V,ie)=>a.value.setViewport(V,ie),setTransform:(V,ie)=>a.value.setTransform(V,ie),getViewport:()=>a.value.getViewport(),getTransform:()=>a.value.getTransform(),setCenter:(V,ie,ue)=>a.value.setCenter(V,ie,ue),fitBounds:(V,ie)=>a.value.fitBounds(V,ie),project:V=>a.value.project(V),screenToFlowCoordinate:V=>a.value.screenToFlowCoordinate(V),flowToScreenCoordinate:V=>a.value.flowToScreenCoordinate(V),toObject:()=>{const V=[],ie=[];for(const ue of r.nodes){const{computedPosition:ge,handleBounds:Ge,selected:jt,dimensions:Lt,isParent:tn,resizing:Ct,dragging:Kn,events:dn,...Rn}=ue;V.push(Rn)}for(const ue of r.edges){const{selected:ge,sourceNode:Ge,targetNode:jt,events:Lt,...tn}=ue;ie.push(tn)}return JSON.parse(JSON.stringify({nodes:V,edges:ie,position:[r.viewport.x,r.viewport.y],zoom:r.viewport.zoom,viewport:r.viewport}))},fromObject:V=>new Promise(ie=>{const{nodes:ue,edges:ge,position:Ge,zoom:jt,viewport:Lt}=V;if(ue&&Be(ue),ge&&ae(ge),Lt!=null&&Lt.x&&(Lt!=null&&Lt.y)||Ge){const tn=(Lt==null?void 0:Lt.x)||Ge[0],Ct=(Lt==null?void 0:Lt.y)||Ge[1],Kn=(Lt==null?void 0:Lt.zoom)||jt||r.viewport.zoom;return oSe(()=>a.value.viewportInitialized).toBe(!0).then(()=>{a.value.setViewport({x:tn,y:Ct,zoom:Kn}).then(()=>{ie(!0)})})}else ie(!0)}),updateNodeInternals:p,viewportHelper:a,$reset:()=>{const V=CMt();if(r.edges=[],r.nodes=[],r.d3Zoom&&r.d3Selection){const ie=R_.translate(V.defaultViewport.x??0,V.defaultViewport.y??0).scale(KE(V.defaultViewport.zoom??1,V.minZoom,V.maxZoom)),ue=r.viewportRef.getBoundingClientRect(),ge=[[0,0],[ue.width,ue.height]],Ge=r.d3Zoom.constrain()(ie,ge,V.translateExtent);r.d3Zoom.transform(r.d3Selection,Ge)}hr(V)},$destroy:()=>{}}}const $In=["data-id","data-handleid","data-nodeid","data-handlepos"],DIn={name:"Handle",compatConfig:{MODE:3}},A_=Mc({...DIn,props:{id:{default:null},type:{},position:{default:()=>bi.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(r,{expose:o}){const l=RSt(r,["position","connectable","connectableStart","connectableEnd","id"]),a=Ia(()=>l.type??"source"),p=Ia(()=>l.isValidConnection??null),{connectionStartHandle:g,connectionClickStartHandle:w,connectionEndHandle:y,vueFlowRef:S,nodesConnectable:E,noDragClassName:I,noPanClassName:P}=_u(),{id:_,node:R,nodeEl:$,connectedEdges:K}=yMt(),q=Qo(),Q=Ia(()=>typeof r.connectableStart<"u"?r.connectableStart:!0),ee=Ia(()=>typeof r.connectableEnd<"u"?r.connectableEnd:!0),J=Ia(()=>{var Be,ae,xe,U,He,yt;return((Be=g.value)==null?void 0:Be.nodeId)===_&&((ae=g.value)==null?void 0:ae.handleId)===r.id&&((xe=g.value)==null?void 0:xe.type)===a.value||((U=y.value)==null?void 0:U.nodeId)===_&&((He=y.value)==null?void 0:He.handleId)===r.id&&((yt=y.value)==null?void 0:yt.type)===a.value}),oe=Ia(()=>{var Be,ae,xe;return((Be=w.value)==null?void 0:Be.nodeId)===_&&((ae=w.value)==null?void 0:ae.handleId)===r.id&&((xe=w.value)==null?void 0:xe.type)===a.value}),{handlePointerDown:$e,handleClick:et}=vMt({nodeId:_,handleId:r.id,isValidConnection:p,type:a}),wt=ho(()=>typeof r.connectable=="string"&&r.connectable==="single"?!K.value.some(Be=>{const ae=Be[`${a.value}Handle`];return Be[a.value]!==_?!1:ae?ae===r.id:!0}):typeof r.connectable=="number"?K.value.filter(Be=>{const ae=Be[`${a.value}Handle`];return Be[a.value]!==_?!1:ae?ae===r.id:!0}).length{var Be;if(!R.dimensions.width||!R.dimensions.height)return;const ae=(Be=R.handleBounds[a.value])==null?void 0:Be.find(Jt=>Jt.id===r.id);if(!S.value||ae)return;const xe=S.value.querySelector(".vue-flow__transformationpane");if(!$.value||!q.value||!xe||!r.id)return;const U=$.value.getBoundingClientRect(),He=q.value.getBoundingClientRect(),yt=window.getComputedStyle(xe),{m22:ft}=new window.DOMMatrixReadOnly(yt.transform),At={id:r.id,position:r.position,x:(He.left-U.left)/ft,y:(He.top-U.top)/ft,...jie(q.value)};R.handleBounds[a.value]=[...R.handleBounds[a.value]??[],At]}),$re(()=>{const Be=R.handleBounds[a.value];Be&&(R.handleBounds[a.value]=Be.filter(ae=>ae.id!==r.id))});function bt(Be){const ae=Pxe(Be);wt.value&&Q.value&&(ae&&Be.button===0||!ae)&&$e(Be)}function ce(Be){!_||!w.value&&!Q.value||wt.value&&et(Be)}return o({handleClick:et,handlePointerDown:$e,onClick:ce,onPointerDown:bt}),(Be,ae)=>(Ce(),vt("div",{ref_key:"handle",ref:q,"data-id":`${Nr(_)}-${r.id}-${a.value}`,"data-handleid":r.id,"data-nodeid":Nr(_),"data-handlepos":Be.position,class:yo(["vue-flow__handle",[`vue-flow__handle-${Be.position}`,`vue-flow__handle-${r.id}`,Nr(I),Nr(P),a.value,{connectable:wt.value,connecting:oe.value,connectablestart:Q.value,connectableend:ee.value,connectionindicator:wt.value&&(Q.value&&!J.value||ee.value&&J.value)}]]),onMousedown:bt,onTouchstartPassive:bt,onClick:ce},[Hr(Be.$slots,"default",{id:Be.id})],42,$In))}}),Bie=function({sourcePosition:r=bi.Bottom,targetPosition:o=bi.Top,label:l,connectable:a=!0,isValidTargetPos:p,isValidSourcePos:g,data:w}){const y=w.label||l;return[Tc(A_,{type:"target",position:o,connectable:a,isValidConnection:p}),typeof y!="string"&&y?Tc(y):Tc(si,[y]),Tc(A_,{type:"source",position:r,connectable:a,isValidConnection:g})]};Bie.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];Bie.inheritAttrs=!1;Bie.compatConfig={MODE:3};const NIn=Bie,Fie=function({targetPosition:r=bi.Top,label:o,connectable:l=!0,isValidTargetPos:a,data:p}){const g=p.label||o;return[Tc(A_,{type:"target",position:r,connectable:l,isValidConnection:a}),typeof g!="string"&&g?Tc(g):Tc(si,[g])]};Fie.props=["targetPosition","label","isValidTargetPos","connectable","data"];Fie.inheritAttrs=!1;Fie.compatConfig={MODE:3};const BIn=Fie,zie=function({sourcePosition:r=bi.Bottom,label:o,connectable:l=!0,isValidSourcePos:a,data:p}){const g=p.label||o;return[typeof g!="string"&&g?Tc(g):Tc(si,[g]),Tc(A_,{type:"source",position:r,connectable:l,isValidConnection:a})]};zie.props=["sourcePosition","label","isValidSourcePos","connectable","data"];zie.inheritAttrs=!1;zie.compatConfig={MODE:3};const FIn=zie,zIn=["transform"],HIn=["width","height","x","y","rx","ry"],KIn=["y"],UIn={name:"EdgeText",compatConfig:{MODE:3}},GIn=Mc({...UIn,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(r){const o=Qo({x:0,y:0,width:0,height:0}),l=Qo(null),a=ho(()=>`translate(${r.x-o.value.width/2} ${r.y-o.value.height/2})`);bb(p),Vs([()=>r.x,()=>r.y,l,()=>r.label],p);function p(){if(!l.value)return;const g=l.value.getBBox();(g.width!==o.value.width||g.height!==o.value.height)&&(o.value=g)}return(g,w)=>(Ce(),vt("g",{transform:a.value,class:"vue-flow__edge-textwrapper"},[g.labelShowBg?(Ce(),vt("rect",{key:0,class:"vue-flow__edge-textbg",width:`${o.value.width+2*g.labelBgPadding[0]}px`,height:`${o.value.height+2*g.labelBgPadding[1]}px`,x:-g.labelBgPadding[0],y:-g.labelBgPadding[1],style:A1(g.labelBgStyle),rx:g.labelBgBorderRadius,ry:g.labelBgBorderRadius},null,12,HIn)):sr("",!0),br("text",Ze(g.$attrs,{ref_key:"el",ref:l,class:"vue-flow__edge-text",y:o.value.height/2,dy:"0.3em",style:g.labelStyle}),[Hr(g.$slots,"default",{},()=>[typeof g.label!="string"?(Ce(),xn(ko(g.label),{key:0})):(Ce(),vt(si,{key:1},[hb(Rl(g.label),1)],64))])],16,KIn)],8,zIn))}}),WIn=["id","d","marker-end","marker-start"],VIn=["d","stroke-width"],qIn={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},RH=Mc({...qIn,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},style:{},labelStyle:{},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(r,{expose:o}){const l=RSt(r,["interactionWidth","labelShowBg"]),a=Qo(null),p=Qo(null),g=Qo(null),w=ydn();return o({pathEl:a,interactionEl:p,labelEl:g}),(y,S)=>(Ce(),vt(si,null,[br("path",{id:y.id,ref_key:"pathEl",ref:a,d:y.path,style:A1(l.style),class:yo(["vue-flow__edge-path",Nr(w).class]),"marker-end":y.markerEnd,"marker-start":y.markerStart},null,14,WIn),y.interactionWidth?(Ce(),vt("path",{key:0,ref_key:"interactionEl",ref:p,fill:"none",d:y.path,"stroke-width":y.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,VIn)):sr("",!0),y.label&&y.labelX&&y.labelY?(Ce(),xn(GIn,{key:1,ref_key:"labelEl",ref:g,x:y.labelX,y:y.labelY,label:y.label,"label-show-bg":y.labelShowBg,"label-bg-style":y.labelBgStyle,"label-bg-padding":y.labelBgPadding,"label-bg-border-radius":y.labelBgBorderRadius,"label-style":y.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):sr("",!0)],64))}});function SMt({sourceX:r,sourceY:o,targetX:l,targetY:a}){const p=Math.abs(l-r)/2,g=l=0?.5*r:o*25*Math.sqrt(-r)}function uCt({pos:r,x1:o,y1:l,x2:a,y2:p,c:g}){let w,y;switch(r){case bi.Left:w=o-sne(o-a,g),y=l;break;case bi.Right:w=o+sne(a-o,g),y=l;break;case bi.Top:w=o,y=l-sne(l-p,g);break;case bi.Bottom:w=o,y=l+sne(p-l,g);break}return[w,y]}function _xe(r){const{sourceX:o,sourceY:l,sourcePosition:a=bi.Bottom,targetX:p,targetY:g,targetPosition:w=bi.Top,curvature:y=.25}=r,[S,E]=uCt({pos:a,x1:o,y1:l,x2:p,y2:g,c:y}),[I,P]=uCt({pos:w,x1:p,y1:g,x2:o,y2:l,c:y}),[_,R,$,K]=xMt({sourceX:o,sourceY:l,targetX:p,targetY:g,sourceControlX:S,sourceControlY:E,targetControlX:I,targetControlY:P});return[`M${o},${l} C${S},${E} ${I},${P} ${p},${g}`,_,R,$,K]}function aCt({pos:r,x1:o,y1:l,x2:a,y2:p}){let g,w;switch(r){case bi.Left:case bi.Right:g=.5*(o+a),w=l;break;case bi.Top:case bi.Bottom:g=o,w=.5*(l+p);break}return[g,w]}function EMt(r){const{sourceX:o,sourceY:l,sourcePosition:a=bi.Bottom,targetX:p,targetY:g,targetPosition:w=bi.Top}=r,[y,S]=aCt({pos:a,x1:o,y1:l,x2:p,y2:g}),[E,I]=aCt({pos:w,x1:p,y1:g,x2:o,y2:l}),[P,_,R,$]=xMt({sourceX:o,sourceY:l,targetX:p,targetY:g,sourceControlX:y,sourceControlY:S,targetControlX:E,targetControlY:I});return[`M${o},${l} C${y},${S} ${E},${I} ${p},${g}`,P,_,R,$]}const fCt={[bi.Left]:{x:-1,y:0},[bi.Right]:{x:1,y:0},[bi.Top]:{x:0,y:-1},[bi.Bottom]:{x:0,y:1}};function XIn({source:r,sourcePosition:o=bi.Bottom,target:l}){return o===bi.Left||o===bi.Right?r.xr[P]?-1:1)*He:Q[P]=(E[P]>l[P]?-1:1)*He}}if(o!==a){const U=P==="x"?"y":"x",He=w[P]===y[U],yt=S[U]>E[U],ft=S[U]=xe?($=(ce.x+Be.x)/2,K=R[0].y):($=R[0].x,K=(ce.y+Be.y)/2)}return[[r,{x:S.x+q.x,y:S.y+q.y},...R,{x:E.x+Q.x,y:E.y+Q.y},l],$,K,oe,$e]}function JIn(r,o,l,a){const p=Math.min(dCt(r,o)/2,dCt(o,l)/2,a),{x:g,y:w}=o;if(r.x===g&&g===l.x||r.y===w&&w===l.y)return`L${g} ${w}`;if(r.y===w){const E=r.x{let oe;return J>0&&J{const[l,a,p]=QIn(r);return Tc(RH,{path:l,labelX:a,labelY:p,...o,...r})}}}),eMn=ZIn,tMn=Mc({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=mSe({...r,sourcePosition:r.sourcePosition??bi.Bottom,targetPosition:r.targetPosition??bi.Top});return Tc(RH,{path:l,labelX:a,labelY:p,...o,...r})}}}),TMt=tMn,nMn=Mc({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(r,{attrs:o}){return()=>Tc(TMt,{...r,...o,borderRadius:0})}}),rMn=nMn,iMn=Mc({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=_xe({...r,sourcePosition:r.sourcePosition??bi.Bottom,targetPosition:r.targetPosition??bi.Top});return Tc(RH,{path:l,labelX:a,labelY:p,...o,...r})}}}),oMn=iMn,sMn=Mc({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=EMt({...r,sourcePosition:r.sourcePosition??bi.Bottom,targetPosition:r.targetPosition??bi.Top});return Tc(RH,{path:l,labelX:a,labelY:p,...o,...r})}}}),lMn=sMn,cMn={input:FIn,default:NIn,output:BIn},uMn={default:oMn,straight:eMn,step:rMn,smoothstep:TMt,simplebezier:lMn};function aMn(r,o,l){const a=ho(()=>K=>o.value.get(K)),p=ho(()=>K=>l.value.get(K)),g=ho(()=>{const K={...uMn,...r.edgeTypes},q=Object.keys(K);for(const Q of r.edges)Q.type&&!q.includes(Q.type)&&(K[Q.type]=Q.type);return K}),w=ho(()=>{const K={...cMn,...r.nodeTypes},q=Object.keys(K);for(const Q of r.nodes)Q.type&&!q.includes(Q.type)&&(K[Q.type]=Q.type);return K}),y=ho(()=>r.onlyRenderVisibleElements?cMt(r.nodes,{x:0,y:0,width:r.dimensions.width,height:r.dimensions.height},r.viewport,!0):r.nodes),S=ho(()=>{if(r.onlyRenderVisibleElements){const K=[];for(const q of r.edges){const Q=o.value.get(q.source),ee=o.value.get(q.target);dIn({sourcePos:Q.computedPosition||{x:0,y:0},targetPos:ee.computedPosition||{x:0,y:0},sourceWidth:Q.dimensions.width,sourceHeight:Q.dimensions.height,targetWidth:ee.dimensions.width,targetHeight:ee.dimensions.height,width:r.dimensions.width,height:r.dimensions.height,viewport:r.viewport})&&K.push(q)}return K}return r.edges}),E=ho(()=>[...y.value,...S.value]),I=ho(()=>{const K=[];for(const q of r.nodes)q.selected&&K.push(q);return K}),P=ho(()=>{const K=[];for(const q of r.edges)q.selected&&K.push(q);return K}),_=ho(()=>[...I.value,...P.value]),R=ho(()=>{const K=[];for(const q of r.nodes)q.dimensions.width&&q.dimensions.height&&q.handleBounds!==void 0&&K.push(q);return K}),$=ho(()=>y.value.length>0&&R.value.length===y.value.length);return{getNode:a,getEdge:p,getElements:E,getEdgeTypes:g,getNodeTypes:w,getEdges:S,getNodes:y,getSelectedElements:_,getSelectedNodes:I,getSelectedEdges:P,getNodesInitialized:R,areNodesInitialized:$}}class pE{constructor(){this.currentId=0,this.flows=new Map}static getInstance(){var o;const l=(o=H7())==null?void 0:o.appContext.app,a=(l==null?void 0:l.config.globalProperties.$vueFlowStorage)??pE.instance;return pE.instance=a??new pE,l&&(l.config.globalProperties.$vueFlowStorage=pE.instance),pE.instance}set(o,l){return this.flows.set(o,l)}get(o){return this.flows.get(o)}remove(o){return this.flows.delete(o)}create(o,l){const a=CMt(),p=aH(a),g={};for(const[_,R]of Object.entries(p.hooks)){const $=`on${_.charAt(0).toUpperCase()+_.slice(1)}`;g[$]=R.on}const w={};for(const[_,R]of Object.entries(p.hooks))w[_]=R.trigger;const y=ho(()=>{const _=new Map;for(const R of p.nodes)_.set(R.id,R);return _}),S=ho(()=>{const _=new Map;for(const R of p.edges)_.set(R.id,R);return _}),E=aMn(p,y,S),I=jIn(p,y,S);I.setState({...p,...l});const P={...g,...E,...I,...p9n(p),nodeLookup:y,edgeLookup:S,emits:w,id:o,vueFlowVersion:"1.41.5",$destroy:()=>{this.remove(o)}};return this.set(o,P),P}getId(){return`vue-flow-${this.currentId++}`}}function _u(r){const o=pE.getInstance(),l=OSe(),a=typeof r=="object",p=a?r:{id:r},g=p.id,w=g??(l==null?void 0:l.vueFlowId);let y;if(l){const S=p3(cCt,null);typeof S<"u"&&S!==null&&(!w||S.id===w)&&(y=S)}if(y||w&&(y=o.get(w)),!y||w&&y.id!==w){const S=g??o.getId(),E=o.create(S,p);y=E,(l??XCt(!0)).run(()=>{Vs(E.applyDefault,(P,_,R)=>{const $=q=>{E.applyNodeChanges(q)},K=q=>{E.applyEdgeChanges(q)};P?(E.onNodesChange($),E.onEdgesChange(K)):(E.hooks.value.nodesChange.off($),E.hooks.value.edgesChange.off(K)),R(()=>{E.hooks.value.nodesChange.off($),E.hooks.value.edgesChange.off(K)})},{immediate:!0}),Oie(()=>{if(y){const P=o.get(y.id);P?P.$destroy():Die(`No store instance found for id ${y.id} in storage.`)}})})}else a&&y.setState(p);if(l&&(LE(cCt,y),l.vueFlowId=y.id),a){const S=H7();(S==null?void 0:S.type.name)!=="VueFlow"&&y.emits.error(new Pd(qf.USEVUEFLOW_OPTIONS))}return y}function fMn(r){const{emits:o,dimensions:l}=_u();let a;bb(()=>{const p=r.value,g=()=>{if(!p)return;const w=jie(p);(w.width===0||w.height===0)&&o.error(new Pd(qf.MISSING_VIEWPORT_DIMENSIONS)),l.value={width:w.width||500,height:w.height||500}};g(),window.addEventListener("resize",g),p&&(a=new ResizeObserver(()=>g()),a.observe(p)),jre(()=>{window.removeEventListener("resize",g),a&&p&&a.unobserve(p)})})}const dMn={name:"UserSelection",compatConfig:{MODE:3}},hMn=Mc({...dMn,props:{userSelectionRect:{}},setup(r){return(o,l)=>(Ce(),vt("div",{class:"vue-flow__selection vue-flow__container",style:A1({width:`${o.userSelectionRect.width}px`,height:`${o.userSelectionRect.height}px`,transform:`translate(${o.userSelectionRect.x}px, ${o.userSelectionRect.y}px)`})},null,4))}}),pMn=["tabIndex"],gMn={name:"NodesSelection",compatConfig:{MODE:3}},bMn=Mc({...gMn,setup(r){const{emits:o,viewport:l,getSelectedNodes:a,noPanClassName:p,disableKeyboardA11y:g,userSelectionActive:w}=_u(),y=kMt(),S=Qo(null),E=mMt({el:S,onStart($){o.selectionDragStart($)},onDrag($){o.selectionDrag($)},onStop($){o.selectionDragStop($)}});bb(()=>{var $;g.value||($=S.value)==null||$.focus({preventScroll:!0})});const I=ho(()=>lMt(a.value)),P=ho(()=>({width:`${I.value.width}px`,height:`${I.value.height}px`,top:`${I.value.y}px`,left:`${I.value.x}px`}));function _($){o.selectionContextMenu({event:$,nodes:a.value})}function R($){g||p_[$.key]&&y({x:p_[$.key].x,y:p_[$.key].y},$.shiftKey)}return($,K)=>!Nr(w)&&I.value.width&&I.value.height?(Ce(),vt("div",{key:0,class:yo(["vue-flow__nodesselection vue-flow__container",Nr(p)]),style:A1({transform:`translate(${Nr(l).x}px,${Nr(l).y}px) scale(${Nr(l).zoom})`})},[br("div",{ref_key:"el",ref:S,class:yo([{dragging:Nr(E)},"vue-flow__nodesselection-rect"]),style:A1(P.value),tabIndex:Nr(g)?void 0:-1,onContextmenu:_,onKeydown:R},null,46,pMn)],6)):sr("",!0)}});function wMn(r,o){return{x:r.clientX-o.left,y:r.clientY-o.top}}const mMn={name:"Pane",compatConfig:{MODE:3}},vMn=Mc({...mMn,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(r){const{vueFlowRef:o,nodes:l,viewport:a,emits:p,userSelectionActive:g,removeSelectedElements:w,panOnDrag:y,userSelectionRect:S,elementsSelectable:E,nodesSelectionActive:I,getSelectedEdges:P,getSelectedNodes:_,removeNodes:R,removeEdges:$,selectionMode:K,deleteKeyCode:q,multiSelectionKeyCode:Q,multiSelectionActive:ee,edgeLookup:J,nodeLookup:oe}=_u(),$e=Qo(null),et=Qo(0),wt=Qo(0),bt=Qo(),ce=Qo(new Map),Be=Ia(()=>E.value&&(r.isSelecting||g.value));let ae=!1,xe=!1;const U=YF(q,{actInsideInputWithModifier:!1}),He=YF(Q);Vs(U,Rt=>{Rt&&(R(_.value),$(P.value),I.value=!1)}),Vs(He,Rt=>{ee.value=Rt});function yt(Rt,an){return Zn=>{Zn.target===an&&(Rt==null||Rt(Zn))}}function ft(){g.value=!1,S.value=null,et.value=0,wt.value=0}function At(Rt){if(ae){ae=!1;return}p.paneClick(Rt),w(),I.value=!1}function Jt(Rt){var an;if(Array.isArray(y.value)&&((an=y.value)!=null&&an.includes(2))){Rt.preventDefault();return}p.paneContextMenu(Rt)}function un(Rt){p.paneScroll(Rt)}function kn(Rt){var an,Zn,kt,Qe,Xt;if(bt.value=(an=o.value)==null?void 0:an.getBoundingClientRect(),!E.value||!r.isSelecting||Rt.button!==0||Rt.target!==$e.value||!bt.value)return;(kt=(Zn=Rt.target)==null?void 0:Zn.setPointerCapture)==null||kt.call(Zn,Rt.pointerId);const{x:Pn,y:hr}=wMn(Rt,bt.value);xe=!0,ae=!1,ce.value=new Map;for(const[ve,ke]of J.value)ce.value.set(ke.source,((Qe=ce.value.get(ke.source))==null?void 0:Qe.add(ve))||new Set([ve])),ce.value.set(ke.target,((Xt=ce.value.get(ke.target))==null?void 0:Xt.add(ve))||new Set([ve]));w(),S.value={width:0,height:0,startX:Pn,startY:hr,x:Pn,y:hr},p.selectionStart(Rt)}function qt(Rt){if(!bt.value||!S.value)return;ae=!0;const{x:an,y:Zn}=U6(Rt,bt.value),{startX:kt=0,startY:Qe=0}=S.value,Xt={startX:kt,startY:Qe,x:an0&&(I.value=!0),ft(),p.selectionEnd(Rt),r.selectionKeyPressed&&(ae=!1),xe=!1)}return(Rt,an)=>(Ce(),vt("div",{ref_key:"container",ref:$e,class:yo(["vue-flow__pane vue-flow__container",{selection:Rt.isSelecting}]),onClick:an[0]||(an[0]=Zn=>Be.value?void 0:yt(At,$e.value)(Zn)),onContextmenu:an[1]||(an[1]=Zn=>yt(Jt,$e.value)(Zn)),onWheelPassive:an[2]||(an[2]=Zn=>yt(un,$e.value)(Zn)),onPointerenter:an[3]||(an[3]=Zn=>Be.value?void 0:Nr(p).paneMouseEnter(Zn)),onPointerdown:an[4]||(an[4]=Zn=>Be.value?kn(Zn):Nr(p).paneMouseMove(Zn)),onPointermove:an[5]||(an[5]=Zn=>Be.value?qt(Zn):Nr(p).paneMouseMove(Zn)),onPointerup:an[6]||(an[6]=Zn=>Be.value?on(Zn):void 0),onPointerleave:an[7]||(an[7]=Zn=>Nr(p).paneMouseLeave(Zn))},[Hr(Rt.$slots,"default"),Nr(g)&&Nr(S)?(Ce(),xn(hMn,{key:0,"user-selection-rect":Nr(S)},null,8,["user-selection-rect"])):sr("",!0),Nr(I)&&Nr(_).length?(Ce(),xn(bMn,{key:1})):sr("",!0)],34))}}),yMn={name:"Transform",compatConfig:{MODE:3}},kMn=Mc({...yMn,setup(r){const{viewport:o,fitViewOnInit:l,fitViewOnInitDone:a}=_u(),p=ho(()=>l.value?!a.value:!1),g=ho(()=>`translate(${o.value.x}px,${o.value.y}px) scale(${o.value.zoom})`);return(w,y)=>(Ce(),vt("div",{class:"vue-flow__transformationpane vue-flow__container",style:A1({transform:g.value,opacity:p.value?0:void 0})},[Hr(w.$slots,"default")],4))}}),CMn={name:"Viewport",compatConfig:{MODE:3}},SMn=Mc({...CMn,setup(r){const{minZoom:o,maxZoom:l,defaultViewport:a,translateExtent:p,zoomActivationKeyCode:g,selectionKeyCode:w,panActivationKeyCode:y,panOnScroll:S,panOnScrollMode:E,panOnScrollSpeed:I,panOnDrag:P,zoomOnDoubleClick:_,zoomOnPinch:R,zoomOnScroll:$,preventScrolling:K,noWheelClassName:q,noPanClassName:Q,emits:ee,connectionStartHandle:J,userSelectionActive:oe,paneDragging:$e,d3Zoom:et,d3Selection:wt,d3ZoomHandler:bt,viewport:ce,viewportRef:Be,paneClickDistance:ae}=_u();fMn(Be);const xe=Qo(!1),U=Qo(!1);let He=null,yt=!1,ft=0,At={x:0,y:0,zoom:0};const Jt=YF(y),un=YF(w),kn=YF(g),qt=Ia(()=>(!un.value||un.value&&w.value===!0)&&(Jt.value||P.value)),on=Ia(()=>Jt.value||S.value),Rt=Ia(()=>un.value||w.value===!0&&qt.value!==!0);bb(()=>{if(!Be.value){Die("Viewport element is missing");return}const Pn=Be.value,hr=Pn.getBoundingClientRect(),ve=XTn().clickDistance(ae.value).scaleExtent([o.value,l.value]).translateExtent(p.value),ke=ny(Pn).call(ve),Z=ke.on("wheel.zoom"),V=R_.translate(a.value.x??0,a.value.y??0).scale(KE(a.value.zoom??1,o.value,l.value)),ie=[[0,0],[hr.width,hr.height]],ue=ve.constrain()(V,ie,p.value);ve.transform(ke,ue),ve.wheelDelta(Zn),et.value=ve,wt.value=ke,bt.value=Z,ce.value={x:ue.x,y:ue.y,zoom:ue.k},ve.on("start",ge=>{var Ge;if(!ge.sourceEvent)return null;ft=ge.sourceEvent.button,xe.value=!0;const jt=Qe(ge.transform);((Ge=ge.sourceEvent)==null?void 0:Ge.type)==="mousedown"&&($e.value=!0),At=jt,ee.viewportChangeStart(jt),ee.moveStart({event:ge,flowTransform:jt})}),ve.on("end",ge=>{if(!ge.sourceEvent)return null;if(xe.value=!1,$e.value=!1,an(qt.value,ft??0)&&!yt&&ee.paneContextMenu(ge.sourceEvent),yt=!1,kt(At,ge.transform)){const Ge=Qe(ge.transform);At=Ge,ee.viewportChangeEnd(Ge),ee.moveEnd({event:ge,flowTransform:Ge})}}),ve.filter(ge=>{var Ge,jt,Lt;const tn=kn.value||$.value,Ct=R.value&&ge.ctrlKey,Kn=ge.button;if((qt.value===!0||Array.isArray(qt.value)&&qt.value.includes(1))&&Kn===1&&ge.type==="mousedown"&&((Ge=ge.target)!=null&&Ge.closest(".vue-flow__node")||(jt=ge.target)!=null&&jt.closest(".vue-flow__edge")))return!0;if(!qt.value&&!tn&&!on.value&&!_.value&&!R.value||oe.value||!_.value&&ge.type==="dblclick"||Xt(ge,q.value)&&ge.type==="wheel"||Xt(ge,Q.value)&&(ge.type!=="wheel"||on.value&&ge.type==="wheel"&&!kn.value)||!R.value&&ge.ctrlKey&&ge.type==="wheel"||!tn&&!on.value&&!Ct&&ge.type==="wheel")return!1;if(!R&&ge.type==="touchstart"&&((Lt=ge.touches)==null?void 0:Lt.length)>1)return ge.preventDefault(),!1;if(!qt.value&&(ge.type==="mousedown"||ge.type==="touchstart")||w.value===!0&&Array.isArray(P.value)&&P.value.includes(0)&&Kn===0||Array.isArray(qt.value)&&!qt.value.includes(Kn)&&(ge.type==="mousedown"||ge.type==="touchstart"))return!1;const dn=Array.isArray(qt.value)&&qt.value.includes(Kn)||w.value===!0&&Array.isArray(qt.value)&&!qt.value.includes(0)||!Kn||Kn<=1;return(!ge.ctrlKey||ge.type==="wheel")&&dn}),Vs([oe,qt],()=>{oe.value&&!xe.value?ve.on("zoom",null):oe.value||ve.on("zoom",ge=>{ce.value={x:ge.transform.x,y:ge.transform.y,zoom:ge.transform.k};const Ge=Qe(ge.transform);yt=an(qt.value,ft??0),ee.viewportChange(Ge),ee.move({event:ge,flowTransform:Ge})})},{immediate:!0}),Vs([oe,on,E,kn,R,K,q],()=>{on.value&&!kn.value&&!oe.value?ke.on("wheel.zoom",ge=>{if(Xt(ge,q.value))return!1;const Ge=kn.value||$.value,jt=R.value&&ge.ctrlKey;if(!(!K.value||on.value||Ge||jt))return!1;ge.preventDefault(),ge.stopImmediatePropagation();const tn=ke.property("__zoom").k||1,Ct=Sre();if(ge.ctrlKey&&R.value&&Ct){const de=l3(ge),G=Zn(ge),X=tn*2**G;ve.scaleTo(ke,X,de,ge);return}const Kn=ge.deltaMode===1?20:1;let dn=E.value===XF.Vertical?0:ge.deltaX*Kn,Rn=E.value===XF.Horizontal?0:ge.deltaY*Kn;!Ct&&ge.shiftKey&&E.value!==XF.Vertical&&!dn&&Rn&&(dn=Rn,Rn=0),ve.translateBy(ke,-(dn/tn)*I.value,-(Rn/tn)*I.value);const gr=Qe(ke.property("__zoom"));He&&clearTimeout(He),U.value?(ee.move({event:ge,flowTransform:gr}),ee.viewportChange(gr),He=setTimeout(()=>{ee.moveEnd({event:ge,flowTransform:gr}),ee.viewportChangeEnd(gr),U.value=!1},150)):(U.value=!0,ee.moveStart({event:ge,flowTransform:gr}),ee.viewportChangeStart(gr))},{passive:!1}):typeof Z<"u"&&ke.on("wheel.zoom",function(ge,Ge){const jt=!K.value&&ge.type==="wheel"&&!ge.ctrlKey,Lt=kn.value||$.value,tn=R.value&&ge.ctrlKey;if(!Lt&&!S.value&&!tn&&ge.type==="wheel"||jt||Xt(ge,q.value))return null;ge.preventDefault(),Z.call(this,ge,Ge)},{passive:!1})},{immediate:!0})});function an(Pn,hr){return hr===2&&Array.isArray(Pn)&&Pn.includes(2)}function Zn(Pn){const hr=Pn.ctrlKey&&Sre()?10:1;return-Pn.deltaY*(Pn.deltaMode===1?.05:Pn.deltaMode?1:.002)*hr}function kt(Pn,hr){return Pn.x!==hr.x&&!Number.isNaN(hr.x)||Pn.y!==hr.y&&!Number.isNaN(hr.y)||Pn.zoom!==hr.k&&!Number.isNaN(hr.k)}function Qe(Pn){return{x:Pn.x,y:Pn.y,zoom:Pn.k}}function Xt(Pn,hr){return Pn.target.closest(`.${hr}`)}return(Pn,hr)=>(Ce(),vt("div",{ref_key:"viewportRef",ref:Be,class:"vue-flow__viewport vue-flow__container"},[xi(vMn,{"is-selecting":Rt.value,"selection-key-pressed":Nr(un),class:yo({connecting:!!Nr(J),dragging:Nr($e),draggable:Nr(P)===!0||Array.isArray(Nr(P))&&Nr(P).includes(0)})},{default:di(()=>[xi(kMn,null,{default:di(()=>[Hr(Pn.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512))}}),xMn=["id"],EMn=["id"],TMn=["id"],IMn={name:"A11yDescriptions",compatConfig:{MODE:3}},MMn=Mc({...IMn,setup(r){const{id:o,disableKeyboardA11y:l,ariaLiveMessage:a}=_u();return(p,g)=>(Ce(),vt(si,null,[br("div",{id:`${Nr(QIt)}-${Nr(o)}`,style:{display:"none"}}," Press enter or space to select a node. "+Rl(Nr(l)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,xMn),br("div",{id:`${Nr(ZIt)}-${Nr(o)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,EMn),Nr(l)?sr("",!0):(Ce(),vt("div",{key:0,id:`${Nr(ZTn)}-${Nr(o)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},Rl(Nr(a)),9,TMn))],64))}});function PMn(){const r=_u();Vs(()=>r.viewportHelper.value.viewportInitialized,o=>{o&&setTimeout(()=>{r.emits.init(r),r.emits.paneReady(r)},1)})}function OMn(r,o,l){return l===bi.Left?r-o:l===bi.Right?r+o:r}function _Mn(r,o,l){return l===bi.Top?r-o:l===bi.Bottom?r+o:r}const Rxe=function({radius:r=10,centerX:o=0,centerY:l=0,position:a=bi.Top,type:p}){return Tc("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${p}`,cx:OMn(o,r,a),cy:_Mn(l,r,a),r,stroke:"transparent",fill:"transparent"})};Rxe.props=["radius","centerX","centerY","position","type"];Rxe.compatConfig={MODE:3};const hCt=Rxe,RMn=Mc({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(r){const{id:o,addSelectedEdges:l,connectionMode:a,edgeUpdaterRadius:p,emits:g,nodesSelectionActive:w,noPanClassName:y,getEdgeTypes:S,removeSelectedEdges:E,findEdge:I,findNode:P,isValidConnection:_,multiSelectionActive:R,disableKeyboardA11y:$,elementsSelectable:K,edgesUpdatable:q,edgesFocusable:Q,hooks:ee}=_u(),J=ho(()=>I(r.id)),{emit:oe,on:$e}=xIn(J.value,g),et=p3(Nie),wt=H7(),bt=Qo(!1),ce=Qo(!1),Be=Qo(""),ae=Qo(null),xe=Qo("source"),U=Qo(null),He=Ia(()=>typeof J.value.selectable>"u"?K.value:J.value.selectable),yt=Ia(()=>typeof J.value.updatable>"u"?q.value:J.value.updatable),ft=Ia(()=>typeof J.value.focusable>"u"?Q.value:J.value.focusable);LE(kIn,r.id),LE(CIn,U);const At=ho(()=>J.value.class instanceof Function?J.value.class(J.value):J.value.class),Jt=ho(()=>J.value.style instanceof Function?J.value.style(J.value):J.value.style),un=ho(()=>{const ie=J.value.type||"default",ue=et==null?void 0:et[`edge-${ie}`];if(ue)return ue;let ge=J.value.template??S.value[ie];if(typeof ge=="string"&&wt){const Ge=Object.keys(wt.appContext.components);Ge&&Ge.includes(ie)&&(ge=Ei(ie,!1))}return ge&&typeof ge!="string"?ge:(g.error(new Pd(qf.EDGE_TYPE_MISSING,ge)),!1)}),{handlePointerDown:kn}=vMt({nodeId:Be,handleId:ae,type:xe,isValidConnection:_,edgeUpdaterType:xe,onEdgeUpdate:Rt,onEdgeUpdateEnd:an});return()=>{const ie=P(J.value.source),ue=P(J.value.target),ge="pathOptions"in J.value?J.value.pathOptions:{};if(!ie&&!ue)return g.error(new Pd(qf.EDGE_SOURCE_TARGET_MISSING,J.value.id,J.value.source,J.value.target)),null;if(!ie)return g.error(new Pd(qf.EDGE_SOURCE_MISSING,J.value.id,J.value.source)),null;if(!ue)return g.error(new Pd(qf.EDGE_TARGET_MISSING,J.value.id,J.value.target)),null;if(!J.value||J.value.hidden||ie.hidden||ue.hidden)return null;let Ge;a.value===HE.Strict?Ge=ie.handleBounds.source:Ge=[...ie.handleBounds.source||[],...ie.handleBounds.target||[]];const jt=eCt(Ge,J.value.sourceHandle);let Lt;a.value===HE.Strict?Lt=ue.handleBounds.target:Lt=[...ue.handleBounds.target||[],...ue.handleBounds.source||[]];const tn=eCt(Lt,J.value.targetHandle),Ct=(jt==null?void 0:jt.position)||bi.Bottom,Kn=(tn==null?void 0:tn.position)||bi.Top,{x:dn,y:Rn}=Cre(ie,jt,Ct),{x:gr,y:de}=Cre(ue,tn,Kn);return J.value.sourceX=dn,J.value.sourceY=Rn,J.value.targetX=gr,J.value.targetY=de,Tc("g",{ref:U,key:r.id,"data-id":r.id,class:["vue-flow__edge",`vue-flow__edge-${un.value===!1?"default":J.value.type||"default"}`,y.value,At.value,{updating:bt.value,selected:J.value.selected,animated:J.value.animated,inactive:!He.value&&!ee.value.edgeClick.hasListeners()}],onClick:kt,onContextmenu:Qe,onDblclick:Xt,onMouseenter:Pn,onMousemove:hr,onMouseleave:ve,onKeyDown:ft.value?V:void 0,tabIndex:ft.value?0:void 0,"aria-label":J.value.ariaLabel===null?void 0:J.value.ariaLabel||`Edge from ${J.value.source} to ${J.value.target}`,"aria-describedby":ft.value?`${ZIt}-${o}`:void 0,role:ft.value?"button":"img"},[ce.value?null:Tc(un.value===!1?S.value.default:un.value,{id:r.id,sourceNode:ie,targetNode:ue,source:J.value.source,target:J.value.target,type:J.value.type,updatable:yt.value,selected:J.value.selected,animated:J.value.animated,label:J.value.label,labelStyle:J.value.labelStyle,labelShowBg:J.value.labelShowBg,labelBgStyle:J.value.labelBgStyle,labelBgPadding:J.value.labelBgPadding,labelBgBorderRadius:J.value.labelBgBorderRadius,data:J.value.data,events:{...J.value.events,...$e},style:Jt.value,markerStart:`url('#${Xz(J.value.markerStart,o)}')`,markerEnd:`url('#${Xz(J.value.markerEnd,o)}')`,sourcePosition:Ct,targetPosition:Kn,sourceX:dn,sourceY:Rn,targetX:gr,targetY:de,sourceHandleId:J.value.sourceHandle,targetHandleId:J.value.targetHandle,interactionWidth:J.value.interactionWidth,...ge}),[yt.value==="source"||yt.value===!0?[Tc("g",{onMousedown:ke,onMouseenter:qt,onMouseout:on},Tc(hCt,{position:Ct,centerX:dn,centerY:Rn,radius:p.value,type:"source","data-type":"source"}))]:null,yt.value==="target"||yt.value===!0?[Tc("g",{onMousedown:Z,onMouseenter:qt,onMouseout:on},Tc(hCt,{position:Kn,centerX:gr,centerY:de,radius:p.value,type:"target","data-type":"target"}))]:null]])};function qt(){bt.value=!0}function on(){bt.value=!1}function Rt(ie,ue){oe.update({event:ie,edge:J.value,connection:ue})}function an(ie){oe.updateEnd({event:ie,edge:J.value}),ce.value=!1}function Zn(ie,ue){ie.button===0&&(ce.value=!0,Be.value=ue?J.value.target:J.value.source,ae.value=(ue?J.value.targetHandle:J.value.sourceHandle)??"",xe.value=ue?"target":"source",oe.updateStart({event:ie,edge:J.value}),kn(ie))}function kt(ie){var ue;const ge={event:ie,edge:J.value};He.value&&(w.value=!1,J.value.selected&&R.value?(E([J.value]),(ue=U.value)==null||ue.blur()):l([J.value])),oe.click(ge)}function Qe(ie){oe.contextMenu({event:ie,edge:J.value})}function Xt(ie){oe.doubleClick({event:ie,edge:J.value})}function Pn(ie){oe.mouseEnter({event:ie,edge:J.value})}function hr(ie){oe.mouseMove({event:ie,edge:J.value})}function ve(ie){oe.mouseLeave({event:ie,edge:J.value})}function ke(ie){Zn(ie,!0)}function Z(ie){Zn(ie,!1)}function V(ie){var ue;!$.value&&eMt.includes(ie.key)&&He.value&&(ie.key==="Escape"?((ue=U.value)==null||ue.blur(),E([I(r.id)])):l([I(r.id)]))}}}),AMn=RMn,LMn={[bi.Left]:bi.Right,[bi.Right]:bi.Left,[bi.Top]:bi.Bottom,[bi.Bottom]:bi.Top},jMn=Mc({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var r;const{id:o,connectionMode:l,connectionStartHandle:a,connectionEndHandle:p,connectionPosition:g,connectionLineType:w,connectionLineStyle:y,connectionLineOptions:S,connectionStatus:E,viewport:I,findNode:P}=_u(),_=(r=p3(Nie))==null?void 0:r["connection-line"],R=ho(()=>{var ee;return P((ee=a.value)==null?void 0:ee.nodeId)}),$=ho(()=>{var ee;return P((ee=p.value)==null?void 0:ee.nodeId)??null}),K=ho(()=>({x:(g.value.x-I.value.x)/I.value.zoom,y:(g.value.y-I.value.y)/I.value.zoom})),q=ho(()=>S.value.markerStart?`url(#${Xz(S.value.markerStart,o)})`:""),Q=ho(()=>S.value.markerEnd?`url(#${Xz(S.value.markerEnd,o)})`:"");return()=>{var ee,J,oe,$e;if(!R.value||!a.value)return null;const et=a.value.handleId,wt=a.value.type,bt=R.value.handleBounds;let ce=(bt==null?void 0:bt[wt])||[];if(l.value===HE.Loose){const un=(bt==null?void 0:bt[wt==="source"?"target":"source"])||[];ce=[...ce,...un]}if(!ce)return null;const Be=(et?ce.find(un=>un.id===et):ce[0])??null,ae=(Be==null?void 0:Be.position)||bi.Top,{x:xe,y:U}=Cre(R.value,Be,ae);let He=null;$.value&&((ee=p.value)!=null&&ee.handleId)&&(l.value===HE.Strict?He=((J=$.value.handleBounds[wt==="source"?"target":"source"])==null?void 0:J.find(un=>{var kn;return un.id===((kn=p.value)==null?void 0:kn.handleId)}))||null:He=((oe=[...$.value.handleBounds.source||[],...$.value.handleBounds.target||[]])==null?void 0:oe.find(un=>{var kn;return un.id===((kn=p.value)==null?void 0:kn.handleId)}))||null);const yt=(($e=p.value)==null?void 0:$e.position)??(ae?LMn[ae]:null);if(!ae||!yt)return null;const ft=w.value??S.value.type??hE.Bezier;let At="";const Jt={sourceX:xe,sourceY:U,sourcePosition:ae,targetX:K.value.x,targetY:K.value.y,targetPosition:yt};return ft===hE.Bezier?[At]=_xe(Jt):ft===hE.Step?[At]=mSe({...Jt,borderRadius:0}):ft===hE.SmoothStep?[At]=mSe(Jt):ft===hE.SimpleBezier?[At]=EMt(Jt):At=`M${xe},${U} ${K.value.x},${K.value.y}`,Tc("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},Tc("g",{class:"vue-flow__connection"},_?Tc(_,{sourceX:xe,sourceY:U,sourcePosition:ae,targetX:K.value.x,targetY:K.value.y,targetPosition:yt,sourceNode:R.value,sourceHandle:Be,targetNode:$.value,targetHandle:He,markerEnd:Q.value,markerStart:q.value,connectionStatus:E.value}):Tc("path",{d:At,class:[S.value.class,E,"vue-flow__connection-path"],style:{...y.value,...S.value.style},"marker-end":Q.value,"marker-start":q.value})))}}}),$Mn=jMn,DMn=["id","markerWidth","markerHeight","markerUnits","orient"],NMn={name:"MarkerType",compatConfig:{MODE:3}},BMn=Mc({...NMn,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(r){return(o,l)=>(Ce(),vt("marker",{id:o.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${o.width}`,markerHeight:`${o.height}`,markerUnits:o.markerUnits,orient:o.orient},[o.type===Nr(kre).ArrowClosed?(Ce(),vt("polyline",{key:0,style:A1({stroke:o.color,fill:o.color,strokeWidth:o.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):sr("",!0),o.type===Nr(kre).Arrow?(Ce(),vt("polyline",{key:1,style:A1({stroke:o.color,strokeWidth:o.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):sr("",!0)],8,DMn))}}),FMn={class:"vue-flow__marker vue-flow__container"},zMn={name:"MarkerDefinitions",compatConfig:{MODE:3}},HMn=Mc({...zMn,setup(r){const{id:o,edges:l,connectionLineOptions:a,defaultMarkerColor:p}=_u(),g=ho(()=>{const w=new Set,y=[],S=E=>{if(E){const I=Xz(E,o);w.has(I)||(typeof E=="object"?y.push({...E,id:I,color:E.color||p.value}):y.push({id:I,color:p.value,type:E}),w.add(I))}};for(const E of[a.value.markerEnd,a.value.markerStart])S(E);for(const E of l.value)for(const I of[E.markerStart,E.markerEnd])S(I);return y.sort((E,I)=>E.id.localeCompare(I.id))});return(w,y)=>(Ce(),vt("svg",FMn,[br("defs",null,[(Ce(!0),vt(si,null,Pu(g.value,S=>(Ce(),xn(BMn,{id:S.id,key:S.id,type:S.type,color:S.color,width:S.width,height:S.height,markerUnits:S.markerUnits,"stroke-width":S.strokeWidth,orient:S.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]))}}),KMn={name:"Edges",compatConfig:{MODE:3}},UMn=Mc({...KMn,setup(r){const{findNode:o,getEdges:l,elevateEdgesOnSelect:a}=_u();return(p,g)=>(Ce(),vt(si,null,[xi(HMn),(Ce(!0),vt(si,null,Pu(Nr(l),w=>(Ce(),vt("svg",{key:w.id,class:"vue-flow__edges vue-flow__container",style:A1({zIndex:Nr(hIn)(w,Nr(o),Nr(a))})},[xi(Nr(AMn),{id:w.id},null,8,["id"])],4))),128)),xi(Nr($Mn))],64))}}),GMn=Mc({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(r){const{id:o,noPanClassName:l,selectNodesOnDrag:a,nodesSelectionActive:p,multiSelectionActive:g,emits:w,removeSelectedNodes:y,addSelectedNodes:S,updateNodeDimensions:E,onUpdateNodeInternals:I,getNodeTypes:P,nodeExtent:_,elevateNodesOnSelect:R,disableKeyboardA11y:$,ariaLiveMessage:K,snapToGrid:q,snapGrid:Q,nodeDragThreshold:ee,nodesDraggable:J,elementsSelectable:oe,nodesConnectable:$e,nodesFocusable:et,hooks:wt}=_u(),bt=Qo(null);LE(wMt,bt),LE(bMt,r.id);const ce=p3(Nie),Be=H7(),ae=kMt(),{node:xe,parentNode:U}=yMt(r.id),{emit:He,on:yt}=MIn(xe,w),ft=Ia(()=>typeof xe.draggable>"u"?J.value:xe.draggable),At=Ia(()=>typeof xe.selectable>"u"?oe.value:xe.selectable),Jt=Ia(()=>typeof xe.connectable>"u"?$e.value:xe.connectable),un=Ia(()=>typeof xe.focusable>"u"?et.value:xe.focusable),kn=Ia(()=>At.value||ft.value||wt.value.nodeClick.hasListeners()||wt.value.nodeDoubleClick.hasListeners()||wt.value.nodeMouseEnter.hasListeners()||wt.value.nodeMouseMove.hasListeners()||wt.value.nodeMouseLeave.hasListeners()),qt=Ia(()=>!!xe.dimensions.width&&!!xe.dimensions.height),on=ho(()=>{const ue=xe.type||"default",ge=ce==null?void 0:ce[`node-${ue}`];if(ge)return ge;let Ge=xe.template||P.value[ue];if(typeof Ge=="string"&&Be){const jt=Object.keys(Be.appContext.components);jt&&jt.includes(ue)&&(Ge=Ei(ue,!1))}return Ge&&typeof Ge!="string"?Ge:(w.error(new Pd(qf.NODE_TYPE_MISSING,Ge)),!1)}),Rt=mMt({id:r.id,el:bt,disabled:()=>!ft.value,selectable:At,dragHandle:()=>xe.dragHandle,onStart(ue){He.dragStart(ue)},onDrag(ue){He.drag(ue)},onStop(ue){He.dragStop(ue)},onClick(ue){V(ue)}}),an=ho(()=>xe.class instanceof Function?xe.class(xe):xe.class),Zn=ho(()=>{const ue=(xe.style instanceof Function?xe.style(xe):xe.style)||{},ge=xe.width instanceof Function?xe.width(xe):xe.width,Ge=xe.height instanceof Function?xe.height(xe):xe.height;return!ue.width&&ge&&(ue.width=typeof ge=="string"?ge:`${ge}px`),!ue.height&&Ge&&(ue.height=typeof Ge=="string"?Ge:`${Ge}px`),ue}),kt=Ia(()=>Number(xe.zIndex??Zn.value.zIndex??0));return I(ue=>{(ue.includes(r.id)||!ue.length)&&Xt()}),bb(()=>{Vs(()=>xe.hidden,(ue=!1,ge,Ge)=>{!ue&&bt.value&&(r.resizeObserver.observe(bt.value),Ge(()=>{bt.value&&r.resizeObserver.unobserve(bt.value)}))},{immediate:!0,flush:"post"})}),Vs([()=>xe.type,()=>xe.sourcePosition,()=>xe.targetPosition],()=>{rm(()=>{E([{id:r.id,nodeElement:bt.value,forceUpdate:!0}])})}),Vs([()=>xe.position.x,()=>xe.position.y,()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.x},()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.y},()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.z},kt,()=>xe.selected,()=>xe.dimensions.height,()=>xe.dimensions.width,()=>{var ue;return(ue=U.value)==null?void 0:ue.dimensions.height},()=>{var ue;return(ue=U.value)==null?void 0:ue.dimensions.width}],([ue,ge,Ge,jt,Lt,tn])=>{const Ct={x:ue,y:ge,z:tn+(R.value&&xe.selected?1e3:0)};typeof Ge<"u"&&typeof jt<"u"?xe.computedPosition=lIn({x:Ge,y:jt,z:Lt},Ct):xe.computedPosition=Ct},{flush:"post",immediate:!0}),Vs([()=>xe.extent,_],([ue,ge],[Ge,jt])=>{(ue!==Ge||ge!==jt)&&Qe()}),xe.extent==="parent"||typeof xe.extent=="object"&&"range"in xe.extent&&xe.extent.range==="parent"?oSe(()=>qt).toBe(!0).then(Qe):Qe(),()=>xe.hidden?null:Tc("div",{ref:bt,"data-id":xe.id,class:["vue-flow__node",`vue-flow__node-${on.value===!1?"default":xe.type||"default"}`,{[l.value]:ft.value,dragging:Rt==null?void 0:Rt.value,draggable:ft.value,selected:xe.selected,selectable:At.value,parent:xe.isParent},an.value],style:{visibility:qt.value?"visible":"hidden",zIndex:xe.computedPosition.z??kt.value,transform:`translate(${xe.computedPosition.x}px,${xe.computedPosition.y}px)`,pointerEvents:kn.value?"all":"none",...Zn.value},tabIndex:un.value?0:void 0,role:un.value?"button":void 0,"aria-describedby":$.value?void 0:`${QIt}-${o}`,"aria-label":xe.ariaLabel,onMouseenter:Pn,onMousemove:hr,onMouseleave:ve,onContextmenu:ke,onClick:V,onDblclick:Z,onKeydown:ie},[Tc(on.value===!1?P.value.default:on.value,{id:xe.id,type:xe.type,data:xe.data,events:{...xe.events,...yt},selected:xe.selected,resizing:xe.resizing,dragging:Rt.value,connectable:Jt.value,position:xe.computedPosition,dimensions:xe.dimensions,isValidTargetPos:xe.isValidTargetPos,isValidSourcePos:xe.isValidSourcePos,parent:xe.parentNode,parentNodeId:xe.parentNode,zIndex:xe.computedPosition.z??kt.value,targetPosition:xe.targetPosition,sourcePosition:xe.sourcePosition,label:xe.label,dragHandle:xe.dragHandle,onUpdateNodeInternals:Xt})]);function Qe(){const ue=xe.computedPosition,{computedPosition:ge,position:Ge}=Mxe(xe,q.value?$ie(ue,Q.value):ue,w.error,_.value,U.value);(xe.computedPosition.x!==ge.x||xe.computedPosition.y!==ge.y)&&(xe.computedPosition={...xe.computedPosition,...ge}),(xe.position.x!==Ge.x||xe.position.y!==Ge.y)&&(xe.position=Ge)}function Xt(){bt.value&&E([{id:r.id,nodeElement:bt.value,forceUpdate:!0}])}function Pn(ue){Rt!=null&&Rt.value||He.mouseEnter({event:ue,node:xe})}function hr(ue){Rt!=null&&Rt.value||He.mouseMove({event:ue,node:xe})}function ve(ue){Rt!=null&&Rt.value||He.mouseLeave({event:ue,node:xe})}function ke(ue){return He.contextMenu({event:ue,node:xe})}function Z(ue){return He.doubleClick({event:ue,node:xe})}function V(ue){At.value&&(!a.value||!ft.value||ee.value>0)&&wSe(xe,g.value,S,y,p,!1,bt.value),He.click({event:ue,node:xe})}function ie(ue){if(!(pSe(ue)||$.value))if(eMt.includes(ue.key)&&At.value){const ge=ue.key==="Escape";wSe(xe,g.value,S,y,p,ge,bt.value)}else ft.value&&xe.selected&&p_[ue.key]&&(K.value=`Moved selected node ${ue.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~xe.position.x}, y: ${~~xe.position.y}`,ae({x:p_[ue.key].x,y:p_[ue.key].y},ue.shiftKey))}}}),WMn=GMn;function VMn(r={includeHiddenNodes:!1}){const{nodes:o}=_u();return ho(()=>{if(o.value.length===0)return!1;for(const l of o.value)if((r.includeHiddenNodes||!l.hidden)&&((l==null?void 0:l.handleBounds)===void 0||l.dimensions.width===0||l.dimensions.height===0))return!1;return!0})}const qMn={class:"vue-flow__nodes vue-flow__container"},XMn={name:"Nodes",compatConfig:{MODE:3}},YMn=Mc({...XMn,setup(r){const{getNodes:o,updateNodeDimensions:l,emits:a}=_u(),p=VMn(),g=Qo();return Vs(p,w=>{w&&rm(()=>{a.nodesInitialized(o.value)})},{immediate:!0}),bb(()=>{g.value=new ResizeObserver(w=>{const y=w.map(S=>({id:S.target.getAttribute("data-id"),nodeElement:S.target,forceUpdate:!0}));rm(()=>l(y))})}),jre(()=>{var w;return(w=g.value)==null?void 0:w.disconnect()}),(w,y)=>(Ce(),vt("div",qMn,[g.value?(Ce(!0),vt(si,{key:0},Pu(Nr(o),(S,E,I,P)=>{const _=[S.id];if(P&&P.key===S.id&&ihn(P,_))return P;const R=(Ce(),xn(Nr(WMn),{id:S.id,key:S.id,"resize-observer":g.value},null,8,["id","resize-observer"]));return R.memo=_,R},y,0),128)):sr("",!0)]))}});function JMn(){const{emits:r}=_u();bb(()=>{if(gMt()){const o=document.querySelector(".vue-flow__pane");o&&window.getComputedStyle(o).zIndex!=="1"&&r.error(new Pd(qf.MISSING_STYLES))}})}const QMn=br("div",{class:"vue-flow__edge-labels"},null,-1),ZMn={name:"VueFlow",compatConfig:{MODE:3}},ePn=Mc({...ZMn,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(r,{expose:o,emit:l}){const a=r,p=vdn(),g=N7e(a,"modelValue",l),w=N7e(a,"nodes",l),y=N7e(a,"edges",l),S=_u(a),E=_In({modelValue:g,nodes:w,edges:y},a,S);return AIn(l,S.hooks),PMn(),JMn(),LE(Nie,p),$re(()=>{E()}),o(S),(I,P)=>(Ce(),vt("div",{ref:Nr(S).vueFlowRef,class:"vue-flow"},[xi(SMn,null,{default:di(()=>[xi(UMn),QMn,xi(YMn),Hr(I.$slots,"zoom-pane")]),_:3}),Hr(I.$slots,"default"),xi(MMn)],512))}});function pCt(r,o){const{dimensions:{width:l,height:a},computedPosition:p}=r,g=o.computedPosition,w=l/2,y=a/2,S=p.x+w,E=p.y+y,I=g.x+w,P=g.y+y,_=(I-S)/(2*w)-(P-E)/(2*y),R=(I-S)/(2*w)+(P-E)/(2*y),$=1/(Math.abs(_)+Math.abs(R)),K=$*_,q=$*R,Q=w*(K+q)+S,ee=y*(-K+q)+E;return{x:Q,y:ee}}function gCt(r,o){const l={...r.computedPosition,...r.dimensions},a=Math.round(l.x),p=Math.round(l.y),g=Math.round(o.x),w=Math.round(o.y);return g<=a+1?bi.Left:g>=a+l.width-1?bi.Right:w<=p+1?bi.Top:w>=l.y+l.height-1?bi.Bottom:bi.Top}function tPn(r,o){const l=pCt(r,o),a=pCt(o,r),p=gCt(r,l),g=gCt(o,a);return{sx:l.x,sy:l.y,tx:a.x,ty:a.y,sourcePos:p,targetPos:g}}const nPn=Mc({__name:"FloatingEdge",props:{id:{},source:{},target:{},markerEndId:{},sourceNode:{},targetNode:{},style:{},markerEnd:{},markerStart:{},type:{},label:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(r){const o=r,l=ho(()=>tPn(o.sourceNode,o.targetNode)),a=ho(()=>{if(!l.value.sx)return"";const p=o.sourceX(Ce(),xn(Nr(RH),{id:p.id,path:a.value[0],"marker-start":p.markerStart,"marker-end":p.markerEnd,style:A1(p.style)},null,8,["id","path","marker-start","marker-end","style"]))}});function lne(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var IMt={exports:{}};(function(r,o){(function(l){r.exports=l()})(function(){return function(){function l(a,p,g){function w(E,I){if(!p[E]){if(!a[E]){var P=typeof lne=="function"&⪇if(!I&&P)return P(E,!0);if(y)return y(E,!0);var _=new Error("Cannot find module '"+E+"'");throw _.code="MODULE_NOT_FOUND",_}var R=p[E]={exports:{}};a[E][0].call(R.exports,function($){var K=a[E][1][$];return w(K||$)},R,R.exports,l,a,p,g)}return p[E].exports}for(var y=typeof lne=="function"&&lne,S=0;S0&&arguments[0]!==void 0?arguments[0]:{},_=P.defaultLayoutOptions,R=_===void 0?{}:_,$=P.algorithms,K=$===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:$,q=P.workerFactory,Q=P.workerUrl;if(w(this,E),this.defaultLayoutOptions=R,this.initialized=!1,typeof Q>"u"&&typeof q>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ee=q;typeof Q<"u"&&typeof q>"u"&&(ee=function($e){return new Worker($e)});var J=ee(Q);if(typeof J.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new S(J),this.worker.postMessage({cmd:"register",algorithms:K}).then(function(oe){return I.initialized=!0}).catch(console.err)}return g(E,[{key:"layout",value:function(P){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=_.layoutOptions,$=R===void 0?this.defaultLayoutOptions:R,K=_.logging,q=K===void 0?!1:K,Q=_.measureExecutionTime,ee=Q===void 0?!1:Q;return P?this.worker.postMessage({cmd:"layout",graph:P,layoutOptions:$,options:{logging:q,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()}}]),E}();p.default=y;var S=function(){function E(I){var P=this;if(w(this,E),I===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=I,this.worker.onmessage=function(_){setTimeout(function(){P.receive(P,_)},0)}}return g(E,[{key:"postMessage",value:function(P){var _=this.id||0;this.id=_+1,P.id=_;var R=this;return new Promise(function($,K){R.resolvers[_]=function(q,Q){q?(R.convertGwtStyleError(q),K(q)):$(Q)},R.worker.postMessage(P)})}},{key:"receive",value:function(P,_){var R=_.data,$=P.resolvers[R.id];$&&(delete P.resolvers[R.id],R.error?$(R.error):$(null,R.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(P){if(P){var _=P.__java$exception;_&&(_.cause&&_.cause.backingJsObject&&(P.cause=_.cause.backingJsObject,this.convertGwtStyleError(P.cause)),delete P.__java$exception)}}}]),E}()},{}],2:[function(l,a,p){(function(g){(function(){var w;typeof window<"u"?w=window:typeof g<"u"?w=g:typeof self<"u"&&(w=self);var y;function S(){}function E(){}function I(){}function P(){}function _(){}function R(){}function $(){}function K(){}function q(){}function Q(){}function ee(){}function J(){}function oe(){}function $e(){}function et(){}function wt(){}function bt(){}function ce(){}function Be(){}function ae(){}function xe(){}function U(){}function He(){}function yt(){}function ft(){}function At(){}function Jt(){}function un(){}function kn(){}function qt(){}function on(){}function Rt(){}function an(){}function Zn(){}function kt(){}function Qe(){}function Xt(){}function Pn(){}function hr(){}function ve(){}function ke(){}function Z(){}function V(){}function ie(){}function ue(){}function ge(){}function Ge(){}function jt(){}function Lt(){}function tn(){}function Ct(){}function Kn(){}function dn(){}function Rn(){}function gr(){}function de(){}function G(){}function X(){}function De(){}function gt(){}function Kt(){}function Ut(){}function so(){}function rl(){}function _o(){}function Ro(){}function Fs(){}function fy(){}function nT(){}function O3(){}function _d(){}function q7(){}function rT(){}function j1(){}function X7(){}function Ne(){}function Xe(){}function Mr(){}function Cr(){}function Gr(){}function lu(){}function Rd(){}function Jg(){}function mb(){}function s5(){}function _3(){}function $1(){}function dy(){}function l5(){}function R3(){}function c5(){}function Fp(){}function Qg(){}function zp(){}function iT(){}function AH(){}function Y7(){}function oT(){}function J7(){}function V_(){}function we(){}function We(){}function En(){}function ar(){}function So(){}function Os(){}function tc(){}function Ad(){}function Zg(){}function LH(){}function Nxe(){}function Bxe(){}function Fxe(){}function zxe(){}function Hxe(){}function Hie(){}function Kxe(){}function Uxe(){}function Kie(){}function Gxe(){}function Wxe(){}function Vxe(){}function qxe(){}function Xxe(){}function Yxe(){}function Jxe(){}function Qxe(){}function Zxe(){}function eEe(){}function tEe(){}function nEe(){}function rEe(){}function jH(){}function iEe(){}function oEe(){}function sEe(){}function lEe(){}function cEe(){}function uEe(){}function aEe(){}function fEe(){}function dEe(){}function Uie(){}function Gie(){}function hEe(){}function pEe(){}function gEe(){}function bEe(){}function wEe(){}function mEe(){}function vEe(){}function yEe(){}function kEe(){}function CEe(){}function SEe(){}function xEe(){}function EEe(){}function TEe(){}function IEe(){}function MEe(){}function PEe(){}function OEe(){}function _Ee(){}function REe(){}function AEe(){}function LEe(){}function jEe(){}function $Ee(){}function DEe(){}function NEe(){}function BEe(){}function FEe(){}function zEe(){}function HEe(){}function KEe(){}function UEe(){}function GEe(){}function WEe(){}function VEe(){}function qEe(){}function XEe(){}function YEe(){}function JEe(){}function QEe(){}function ZEe(){}function eTe(){}function tTe(){}function nTe(){}function rTe(){}function iTe(){}function oTe(){}function sTe(){}function lTe(){}function cTe(){}function uTe(){}function aTe(){}function fTe(){}function dTe(){}function hTe(){}function pTe(){}function gTe(){}function bTe(){}function wTe(){}function mTe(){}function vTe(){}function yTe(){}function kTe(){}function CTe(){}function STe(){}function xTe(){}function ETe(){}function TTe(){}function ITe(){}function MTe(){}function PTe(){}function OTe(){}function _Te(){}function RTe(){}function ATe(){}function LTe(){}function jTe(){}function $Te(){}function DTe(){}function NTe(){}function BTe(){}function FTe(){}function zTe(){}function HTe(){}function KTe(){}function UTe(){}function GTe(){}function WTe(){}function VTe(){}function qTe(){}function XTe(){}function YTe(){}function JTe(){}function QTe(){}function ZTe(){}function eIe(){}function tIe(){}function nIe(){}function rIe(){}function iIe(){}function Wie(){}function oIe(){}function sIe(){}function lIe(){}function cIe(){}function uIe(){}function aIe(){}function fIe(){}function dIe(){}function hIe(){}function pIe(){}function gIe(){}function bIe(){}function wIe(){}function mIe(){}function vIe(){}function yIe(){}function kIe(){}function CIe(){}function SIe(){}function xIe(){}function EIe(){}function TIe(){}function IIe(){}function MIe(){}function PIe(){}function OIe(){}function _Ie(){}function RIe(){}function AIe(){}function LIe(){}function jIe(){}function $Ie(){}function DIe(){}function NIe(){}function BIe(){}function FIe(){}function zIe(){}function HIe(){}function KIe(){}function UIe(){}function GIe(){}function WIe(){}function VIe(){}function qIe(){}function XIe(){}function YIe(){}function JIe(){}function QIe(){}function ZIe(){}function eMe(){}function tMe(){}function nMe(){}function rMe(){}function iMe(){}function oMe(){}function sMe(){}function lMe(){}function cMe(){}function uMe(){}function aMe(){}function fMe(){}function dMe(){}function hMe(){}function pMe(){}function gMe(){}function bMe(){}function wMe(){}function mMe(){}function vMe(){}function yMe(){}function kMe(){}function CMe(){}function SMe(){}function Vie(){}function xMe(){}function EMe(){}function TMe(){}function IMe(){}function MMe(){}function PMe(){}function OMe(){}function _Me(){}function RMe(){}function AMe(){}function qie(){}function LMe(){}function jMe(){}function $Me(){}function DMe(){}function NMe(){}function BMe(){}function Xie(){}function Yie(){}function FMe(){}function Jie(){}function Qie(){}function zMe(){}function HMe(){}function KMe(){}function UMe(){}function GMe(){}function WMe(){}function VMe(){}function qMe(){}function XMe(){}function YMe(){}function JMe(){}function Zie(){}function QMe(){}function ZMe(){}function ePe(){}function tPe(){}function nPe(){}function rPe(){}function iPe(){}function oPe(){}function sPe(){}function lPe(){}function cPe(){}function uPe(){}function aPe(){}function fPe(){}function dPe(){}function hPe(){}function pPe(){}function gPe(){}function bPe(){}function wPe(){}function mPe(){}function vPe(){}function yPe(){}function kPe(){}function CPe(){}function SPe(){}function xPe(){}function EPe(){}function TPe(){}function IPe(){}function MPe(){}function PPe(){}function OPe(){}function _Pe(){}function RPe(){}function APe(){}function LPe(){}function jPe(){}function $Pe(){}function DPe(){}function NPe(){}function BPe(){}function FPe(){}function zPe(){}function HPe(){}function KPe(){}function UPe(){}function GPe(){}function WPe(){}function VPe(){}function qPe(){}function XPe(){}function YPe(){}function JPe(){}function QPe(){}function ZPe(){}function eOe(){}function tOe(){}function nOe(){}function rOe(){}function iOe(){}function oOe(){}function sOe(){}function lOe(){}function cOe(){}function uOe(){}function aOe(){}function fOe(){}function dOe(){}function hOe(){}function pOe(){}function gOe(){}function bOe(){}function wOe(){}function mOe(){}function vOe(){}function yOe(){}function kOe(){}function COe(){}function SOe(){}function xOe(){}function EOe(){}function TOe(){}function IOe(){}function MOe(){}function POe(){}function dPt(){}function OOe(){}function _Oe(){}function ROe(){}function AOe(){}function LOe(){}function jOe(){}function $Oe(){}function DOe(){}function NOe(){}function BOe(){}function FOe(){}function zOe(){}function HOe(){}function KOe(){}function UOe(){}function GOe(){}function WOe(){}function VOe(){}function qOe(){}function XOe(){}function YOe(){}function JOe(){}function QOe(){}function ZOe(){}function e_e(){}function t_e(){}function n_e(){}function $H(){}function DH(){}function r_e(){}function NH(){}function i_e(){}function o_e(){}function s_e(){}function l_e(){}function c_e(){}function u_e(){}function a_e(){}function f_e(){}function d_e(){}function h_e(){}function eoe(){}function p_e(){}function g_e(){}function b_e(){}function hPt(){}function w_e(){}function m_e(){}function v_e(){}function y_e(){}function k_e(){}function C_e(){}function S_e(){}function e0(){}function x_e(){}function A3(){}function toe(){}function E_e(){}function T_e(){}function I_e(){}function M_e(){}function P_e(){}function O_e(){}function __e(){}function R_e(){}function A_e(){}function L_e(){}function j_e(){}function $_e(){}function D_e(){}function N_e(){}function B_e(){}function F_e(){}function z_e(){}function H_e(){}function K_e(){}function tt(){}function U_e(){}function G_e(){}function W_e(){}function V_e(){}function q_e(){}function X_e(){}function Y_e(){}function J_e(){}function Q_e(){}function Z_e(){}function eRe(){}function tRe(){}function nRe(){}function BH(){}function rRe(){}function iRe(){}function oRe(){}function q_(){}function sRe(){}function FH(){}function X_(){}function lRe(){}function noe(){}function cRe(){}function uRe(){}function aRe(){}function fRe(){}function dRe(){}function hRe(){}function Y_(){}function pRe(){}function gRe(){}function J_(){}function bRe(){}function Q_(){}function wRe(){}function roe(){}function mRe(){}function zH(){}function ioe(){}function vRe(){}function yRe(){}function kRe(){}function CRe(){}function pPt(){}function SRe(){}function xRe(){}function ERe(){}function TRe(){}function IRe(){}function MRe(){}function PRe(){}function ORe(){}function _Re(){}function RRe(){}function u5(){}function HH(){}function ARe(){}function LRe(){}function jRe(){}function $Re(){}function DRe(){}function NRe(){}function BRe(){}function FRe(){}function zRe(){}function HRe(){}function KRe(){}function URe(){}function GRe(){}function WRe(){}function VRe(){}function qRe(){}function XRe(){}function YRe(){}function JRe(){}function QRe(){}function ZRe(){}function eAe(){}function tAe(){}function nAe(){}function rAe(){}function iAe(){}function oAe(){}function sAe(){}function lAe(){}function cAe(){}function uAe(){}function aAe(){}function fAe(){}function dAe(){}function hAe(){}function pAe(){}function gAe(){}function bAe(){}function wAe(){}function mAe(){}function vAe(){}function yAe(){}function kAe(){}function CAe(){}function SAe(){}function xAe(){}function EAe(){}function TAe(){}function IAe(){}function MAe(){}function PAe(){}function OAe(){}function _Ae(){}function RAe(){}function AAe(){}function LAe(){}function jAe(){}function $Ae(){}function DAe(){}function NAe(){}function BAe(){}function FAe(){}function zAe(){}function HAe(){}function KAe(){}function UAe(){}function GAe(){}function WAe(){}function VAe(){}function qAe(){}function XAe(){}function YAe(){}function JAe(){}function QAe(){}function ZAe(){}function eLe(){}function tLe(){}function nLe(){}function rLe(){}function iLe(){}function oLe(){}function sLe(){}function lLe(){}function cLe(){}function uLe(){}function aLe(){}function fLe(){}function dLe(){}function hLe(){}function pLe(){}function gLe(){}function bLe(){}function wLe(){}function mLe(){}function vLe(){}function yLe(){}function kLe(){}function CLe(){}function SLe(){}function xLe(){}function ELe(){}function ooe(){}function TLe(){}function ILe(){}function KH(){oC()}function MLe(){yT()}function PLe(){Bj()}function OLe(){XW()}function _Le(){OS()}function RLe(){h1e()}function ALe(){uf()}function LLe(){She()}function jLe(){sM()}function $Le(){kT()}function DLe(){XT()}function NLe(){aHe()}function BLe(){y4()}function FLe(){NJe()}function zLe(){Cfe()}function HLe(){TXe()}function KLe(){Sfe()}function ULe(){gQe()}function GLe(){EXe()}function WLe(){vk()}function VLe(){QZe()}function qLe(){JZe()}function XLe(){kYe()}function YLe(){ZZe()}function JLe(){fg()}function QLe(){TR()}function ZLe(){dge()}function eje(){Ue()}function tje(){eet()}function nje(){Pet()}function rje(){IXe()}function ije(){eit()}function oje(){MXe()}function sje(){pct()}function lje(){U1e()}function cje(){c1()}function uje(){gnt()}function aje(){sl()}function fje(){DXe()}function dje(){v4()}function hje(){Tpe()}function pje(){dg()}function gje(){Ipe()}function bje(){ud()}function wje(){fM()}function mje(){kq()}function vje(){OV()}function If(){hWe()}function yje(){EL()}function kje(){Gj()}function soe(){pr()}function Cje(){lj()}function Sje(){Zde()}function loe(){OW()}function coe(){h$()}function xje(){Npe()}function uoe(e){sn(e)}function Eje(e){this.a=e}function Z_(e){this.a=e}function Tje(e){this.a=e}function Ije(e){this.a=e}function Mje(e){this.a=e}function Pje(e){this.a=e}function Oje(e){this.a=e}function _je(e){this.a=e}function aoe(e){this.a=e}function foe(e){this.a=e}function Rje(e){this.a=e}function Aje(e){this.a=e}function UH(e){this.a=e}function Lje(e){this.a=e}function jje(e){this.a=e}function GH(e){this.a=e}function WH(e){this.a=e}function $je(e){this.a=e}function VH(e){this.a=e}function Dje(e){this.a=e}function Nje(e){this.a=e}function Bje(e){this.a=e}function doe(e){this.b=e}function Fje(e){this.c=e}function zje(e){this.a=e}function Hje(e){this.a=e}function Kje(e){this.a=e}function Uje(e){this.a=e}function Gje(e){this.a=e}function Wje(e){this.a=e}function Vje(e){this.a=e}function qje(e){this.a=e}function Xje(e){this.a=e}function Yje(e){this.a=e}function Jje(e){this.a=e}function Qje(e){this.a=e}function Zje(e){this.a=e}function hoe(e){this.a=e}function poe(e){this.a=e}function eR(e){this.a=e}function sT(e){this.a=e}function t0(){this.a=[]}function e$e(e,t){e.a=t}function gPt(e,t){e.a=t}function bPt(e,t){e.b=t}function wPt(e,t){e.b=t}function mPt(e,t){e.b=t}function goe(e,t){e.j=t}function vPt(e,t){e.g=t}function yPt(e,t){e.i=t}function kPt(e,t){e.c=t}function CPt(e,t){e.c=t}function SPt(e,t){e.d=t}function xPt(e,t){e.d=t}function n0(e,t){e.k=t}function EPt(e,t){e.c=t}function boe(e,t){e.c=t}function woe(e,t){e.a=t}function TPt(e,t){e.a=t}function IPt(e,t){e.f=t}function MPt(e,t){e.a=t}function PPt(e,t){e.b=t}function qH(e,t){e.d=t}function tR(e,t){e.i=t}function moe(e,t){e.o=t}function OPt(e,t){e.r=t}function _Pt(e,t){e.a=t}function RPt(e,t){e.b=t}function t$e(e,t){e.e=t}function APt(e,t){e.f=t}function voe(e,t){e.g=t}function LPt(e,t){e.e=t}function jPt(e,t){e.f=t}function $Pt(e,t){e.f=t}function XH(e,t){e.a=t}function YH(e,t){e.b=t}function DPt(e,t){e.n=t}function NPt(e,t){e.a=t}function BPt(e,t){e.c=t}function FPt(e,t){e.c=t}function zPt(e,t){e.c=t}function HPt(e,t){e.a=t}function KPt(e,t){e.a=t}function UPt(e,t){e.d=t}function GPt(e,t){e.d=t}function WPt(e,t){e.e=t}function VPt(e,t){e.e=t}function qPt(e,t){e.g=t}function XPt(e,t){e.f=t}function YPt(e,t){e.j=t}function JPt(e,t){e.a=t}function QPt(e,t){e.a=t}function ZPt(e,t){e.b=t}function n$e(e){e.b=e.a}function r$e(e){e.c=e.d.d}function yoe(e){this.a=e}function koe(e){this.a=e}function Coe(e){this.a=e}function r0(e){this.a=e}function i0(e){this.a=e}function lT(e){this.a=e}function i$e(e){this.a=e}function Soe(e){this.a=e}function cT(e){this.a=e}function nR(e){this.a=e}function Xh(e){this.a=e}function pm(e){this.a=e}function o$e(e){this.a=e}function s$e(e){this.a=e}function JH(e){this.b=e}function a5(e){this.b=e}function f5(e){this.b=e}function QH(e){this.a=e}function l$e(e){this.a=e}function ZH(e){this.c=e}function N(e){this.c=e}function c$e(e){this.c=e}function Q7(e){this.d=e}function xoe(e){this.a=e}function Wn(e){this.a=e}function u$e(e){this.a=e}function Eoe(e){this.a=e}function Toe(e){this.a=e}function Ioe(e){this.a=e}function Moe(e){this.a=e}function Poe(e){this.a=e}function Ooe(e){this.a=e}function d5(e){this.a=e}function a$e(e){this.a=e}function f$e(e){this.a=e}function h5(e){this.a=e}function d$e(e){this.a=e}function h$e(e){this.a=e}function p$e(e){this.a=e}function g$e(e){this.a=e}function b$e(e){this.a=e}function w$e(e){this.a=e}function m$e(e){this.a=e}function v$e(e){this.a=e}function y$e(e){this.a=e}function k$e(e){this.a=e}function C$e(e){this.a=e}function S$e(e){this.a=e}function x$e(e){this.a=e}function E$e(e){this.a=e}function T$e(e){this.a=e}function Z7(e){this.a=e}function I$e(e){this.a=e}function M$e(e){this.a=e}function P$e(e){this.a=e}function O$e(e){this.a=e}function rR(e){this.a=e}function _$e(e){this.a=e}function R$e(e){this.a=e}function p5(e){this.a=e}function _oe(e){this.a=e}function A$e(e){this.a=e}function L$e(e){this.a=e}function j$e(e){this.a=e}function $$e(e){this.a=e}function D$e(e){this.a=e}function N$e(e){this.a=e}function Roe(e){this.a=e}function Aoe(e){this.a=e}function Loe(e){this.a=e}function eC(e){this.a=e}function iR(e){this.e=e}function g5(e){this.a=e}function B$e(e){this.a=e}function L3(e){this.a=e}function joe(e){this.a=e}function F$e(e){this.a=e}function z$e(e){this.a=e}function H$e(e){this.a=e}function K$e(e){this.a=e}function U$e(e){this.a=e}function G$e(e){this.a=e}function W$e(e){this.a=e}function V$e(e){this.a=e}function q$e(e){this.a=e}function X$e(e){this.a=e}function Y$e(e){this.a=e}function $oe(e){this.a=e}function J$e(e){this.a=e}function Q$e(e){this.a=e}function Z$e(e){this.a=e}function eDe(e){this.a=e}function tDe(e){this.a=e}function nDe(e){this.a=e}function rDe(e){this.a=e}function iDe(e){this.a=e}function oDe(e){this.a=e}function sDe(e){this.a=e}function lDe(e){this.a=e}function cDe(e){this.a=e}function uDe(e){this.a=e}function aDe(e){this.a=e}function fDe(e){this.a=e}function dDe(e){this.a=e}function hDe(e){this.a=e}function pDe(e){this.a=e}function gDe(e){this.a=e}function bDe(e){this.a=e}function wDe(e){this.a=e}function mDe(e){this.a=e}function vDe(e){this.a=e}function yDe(e){this.a=e}function kDe(e){this.a=e}function CDe(e){this.a=e}function SDe(e){this.a=e}function xDe(e){this.a=e}function EDe(e){this.a=e}function TDe(e){this.a=e}function IDe(e){this.a=e}function MDe(e){this.a=e}function PDe(e){this.a=e}function ODe(e){this.a=e}function _De(e){this.a=e}function RDe(e){this.a=e}function ADe(e){this.a=e}function LDe(e){this.a=e}function jDe(e){this.c=e}function $De(e){this.b=e}function DDe(e){this.a=e}function NDe(e){this.a=e}function BDe(e){this.a=e}function FDe(e){this.a=e}function zDe(e){this.a=e}function HDe(e){this.a=e}function KDe(e){this.a=e}function UDe(e){this.a=e}function GDe(e){this.a=e}function WDe(e){this.a=e}function VDe(e){this.a=e}function qDe(e){this.a=e}function XDe(e){this.a=e}function YDe(e){this.a=e}function JDe(e){this.a=e}function QDe(e){this.a=e}function ZDe(e){this.a=e}function eNe(e){this.a=e}function tNe(e){this.a=e}function nNe(e){this.a=e}function rNe(e){this.a=e}function iNe(e){this.a=e}function oNe(e){this.a=e}function sNe(e){this.a=e}function lNe(e){this.a=e}function cNe(e){this.a=e}function uNe(e){this.a=e}function Yh(e){this.a=e}function hy(e){this.a=e}function aNe(e){this.a=e}function fNe(e){this.a=e}function dNe(e){this.a=e}function hNe(e){this.a=e}function pNe(e){this.a=e}function gNe(e){this.a=e}function bNe(e){this.a=e}function wNe(e){this.a=e}function mNe(e){this.a=e}function vNe(e){this.a=e}function yNe(e){this.a=e}function kNe(e){this.a=e}function CNe(e){this.a=e}function SNe(e){this.a=e}function xNe(e){this.a=e}function ENe(e){this.a=e}function TNe(e){this.a=e}function INe(e){this.a=e}function MNe(e){this.a=e}function PNe(e){this.a=e}function ONe(e){this.a=e}function _Ne(e){this.a=e}function RNe(e){this.a=e}function ANe(e){this.a=e}function LNe(e){this.a=e}function jNe(e){this.a=e}function oR(e){this.a=e}function $Ne(e){this.f=e}function DNe(e){this.a=e}function NNe(e){this.a=e}function BNe(e){this.a=e}function FNe(e){this.a=e}function zNe(e){this.a=e}function HNe(e){this.a=e}function KNe(e){this.a=e}function UNe(e){this.a=e}function GNe(e){this.a=e}function WNe(e){this.a=e}function VNe(e){this.a=e}function qNe(e){this.a=e}function XNe(e){this.a=e}function YNe(e){this.a=e}function JNe(e){this.a=e}function QNe(e){this.a=e}function ZNe(e){this.a=e}function eBe(e){this.a=e}function tBe(e){this.a=e}function nBe(e){this.a=e}function rBe(e){this.a=e}function iBe(e){this.a=e}function oBe(e){this.a=e}function sBe(e){this.a=e}function lBe(e){this.a=e}function cBe(e){this.a=e}function uBe(e){this.a=e}function aBe(e){this.a=e}function eK(e){this.a=e}function Doe(e){this.a=e}function Br(e){this.b=e}function fBe(e){this.a=e}function dBe(e){this.a=e}function hBe(e){this.a=e}function pBe(e){this.a=e}function gBe(e){this.a=e}function bBe(e){this.a=e}function wBe(e){this.a=e}function mBe(e){this.b=e}function vBe(e){this.a=e}function uT(e){this.a=e}function yBe(e){this.a=e}function kBe(e){this.a=e}function Noe(e){this.c=e}function sR(e){this.e=e}function lR(e){this.a=e}function cR(e){this.a=e}function tK(e){this.a=e}function CBe(e){this.d=e}function SBe(e){this.a=e}function Boe(e){this.a=e}function Foe(e){this.a=e}function vb(e){this.e=e}function eOt(){this.a=0}function On(){qc(this)}function Le(){gU(this)}function nK(){sqe(this)}function xBe(){}function yb(){this.c=Wke}function EBe(e,t){e.b+=t}function tOt(e,t){t.Wb(e)}function nOt(e){return e.a}function rOt(e){return e.a}function iOt(e){return e.a}function oOt(e){return e.a}function sOt(e){return e.a}function B(e){return e.e}function lOt(){return null}function cOt(){return null}function uOt(){Ese(),Hun()}function aOt(e){e.b.Of(e.e)}function TBe(e){e.b=new CK}function tC(e,t){e.b=t-e.b}function nC(e,t){e.a=t-e.a}function Ft(e,t){e.push(t)}function IBe(e,t){e.sort(t)}function MBe(e,t){t.jd(e.a)}function fOt(e,t){Vi(t,e)}function dOt(e,t,n){e.Yd(n,t)}function aT(e,t){e.e=t,t.b=e}function zoe(e){Fd(),this.a=e}function PBe(e){Fd(),this.a=e}function OBe(e){Fd(),this.a=e}function rK(e){Hb(),this.a=e}function _Be(e){G5(),WJ.le(e)}function Hoe(){Hoe=U,new On}function o0(){YUe.call(this)}function Koe(){YUe.call(this)}function Uoe(){o0.call(this)}function iK(){o0.call(this)}function RBe(){o0.call(this)}function fT(){o0.call(this)}function Pc(){o0.call(this)}function j3(){o0.call(this)}function Xn(){o0.call(this)}function ea(){o0.call(this)}function ABe(){o0.call(this)}function qs(){o0.call(this)}function LBe(){o0.call(this)}function jBe(){this.a=this}function uR(){this.Bb|=256}function $Be(){this.b=new KKe}function gm(e,t){e.length=t}function aR(e,t){je(e.a,t)}function hOt(e,t){g1e(e.c,t)}function pOt(e,t){Fi(e.b,t)}function gOt(e,t){Aj(e.a,t)}function bOt(e,t){rV(e.a,t)}function b5(e,t){_r(e.e,t)}function $3(e){Xj(e.c,e.b)}function wOt(e,t){e.kc().Nb(t)}function Goe(e){this.a=uVt(e)}function _i(){this.a=new On}function DBe(){this.a=new On}function Woe(){this.a=new nHe}function fR(){this.a=new Le}function oK(){this.a=new Le}function Voe(){this.a=new Le}function Ma(){this.a=new O3}function s0(){this.a=new RJe}function qoe(){this.a=new Hie}function Xoe(){this.a=new xXe}function Yoe(){this.a=new $Ge}function NBe(){this.a=new Le}function BBe(){this.a=new Le}function FBe(){this.a=new Le}function Joe(){this.a=new Le}function zBe(){this.d=new Le}function HBe(){this.a=new UXe}function KBe(){this.a=new _i}function UBe(){this.a=new On}function GBe(){this.b=new On}function WBe(){this.b=new Le}function Qoe(){this.e=new Le}function VBe(){this.a=new JLe}function qBe(){this.d=new Le}function XBe(){Xqe.call(this)}function YBe(){Xqe.call(this)}function JBe(){Le.call(this)}function Zoe(){Uoe.call(this)}function ese(){fR.call(this)}function QBe(){bA.call(this)}function ZBe(){Joe.call(this)}function rC(){xBe.call(this)}function sK(){rC.call(this)}function D3(){xBe.call(this)}function tse(){D3.call(this)}function eFe(){ose.call(this)}function tFe(){ose.call(this)}function nFe(){ose.call(this)}function rFe(){sse.call(this)}function iC(){sRe.call(this)}function nse(){sRe.call(this)}function Oc(){Zr.call(this)}function iFe(){vFe.call(this)}function oFe(){vFe.call(this)}function sFe(){On.call(this)}function lFe(){On.call(this)}function cFe(){On.call(this)}function lK(){ret.call(this)}function uFe(){_i.call(this)}function aFe(){uR.call(this)}function cK(){Ble.call(this)}function rse(){On.call(this)}function uK(){Ble.call(this)}function aK(){On.call(this)}function fFe(){On.call(this)}function ise(){Q_.call(this)}function dFe(){ise.call(this)}function hFe(){Q_.call(this)}function pFe(){ooe.call(this)}function ose(){this.a=new _i}function gFe(){this.a=new On}function bFe(){this.a=new Le}function sse(){this.a=new On}function N3(){this.a=new Zr}function wFe(){this.j=new Le}function mFe(){this.a=new bze}function vFe(){this.a=new bRe}function lse(){this.a=new JOe}function oC(){oC=U,NJ=new E}function fK(){fK=U,BJ=new kFe}function dK(){dK=U,FJ=new yFe}function yFe(){GH.call(this,"")}function kFe(){GH.call(this,"")}function CFe(e){TZe.call(this,e)}function SFe(e){TZe.call(this,e)}function cse(e){aoe.call(this,e)}function use(e){Gze.call(this,e)}function mOt(e){Gze.call(this,e)}function vOt(e){use.call(this,e)}function yOt(e){use.call(this,e)}function kOt(e){use.call(this,e)}function xFe(e){UG.call(this,e)}function EFe(e){UG.call(this,e)}function TFe(e){iWe.call(this,e)}function IFe(e){Rse.call(this,e)}function sC(e){CR.call(this,e)}function ase(e){CR.call(this,e)}function MFe(e){CR.call(this,e)}function fse(e){KQt.call(this,e)}function dse(e){fse.call(this,e)}function Xs(e){EVe.call(this,e)}function PFe(e){Xs.call(this,e)}function B3(){sT.call(this,{})}function OFe(){OFe=U,hpt=new ae}function dR(){dR=U,KJ=new TUe}function _Fe(){_Fe=U,cme=new S}function hse(){hse=U,ume=new $e}function hR(){hR=U,L9=new bt}function hK(e){M5(),this.a=e}function pK(e){Ffe(),this.a=e}function kb(e){QU(),this.f=e}function gK(e){QU(),this.f=e}function RFe(e){dWe(),this.a=e}function AFe(e){e.b=null,e.c=0}function COt(e,t){e.e=t,plt(e,t)}function SOt(e,t){e.a=t,OZt(e)}function bK(e,t,n){e.a[t.g]=n}function xOt(e,t,n){GYt(n,e,t)}function EOt(e,t){yLt(t.i,e.n)}function LFe(e,t){UGt(e).Cd(t)}function TOt(e,t){e.a.ec().Mc(t)}function jFe(e,t){return e.g-t.g}function IOt(e,t){return e*e/t}function qe(e){return sn(e),e}function le(e){return sn(e),e}function dT(e){return sn(e),e}function MOt(e){return new eR(e)}function POt(e){return new Pm(e)}function pse(e){return sn(e),e}function OOt(e){return sn(e),e}function pR(e){Xs.call(this,e)}function vs(e){Xs.call(this,e)}function $Fe(e){Xs.call(this,e)}function wK(e){EVe.call(this,e)}function w5(e){Xs.call(this,e)}function Qt(e){Xs.call(this,e)}function ys(e){Xs.call(this,e)}function DFe(e){Xs.call(this,e)}function F3(e){Xs.call(this,e)}function D1(e){Xs.call(this,e)}function N1(e){Xs.call(this,e)}function z3(e){Xs.call(this,e)}function Ld(e){Xs.call(this,e)}function mK(e){Xs.call(this,e)}function er(e){Xs.call(this,e)}function Wc(e){sn(e),this.a=e}function gse(e){return T0(e),e}function lC(e){Iue(e,e.length)}function cC(e){return e.b==e.c}function bm(e){return!!e&&e.b}function _Ot(e){return!!e&&e.k}function ROt(e){return!!e&&e.j}function AOt(e,t,n){e.c.Ef(t,n)}function NFe(e,t){e.be(t),t.ae(e)}function H3(e){Fd(),this.a=qn(e)}function vK(){this.a=Jn(qn(qo))}function BFe(){throw B(new Xn)}function LOt(){throw B(new Xn)}function bse(){throw B(new Xn)}function FFe(){throw B(new Xn)}function jOt(){throw B(new Xn)}function $Ot(){throw B(new Xn)}function gR(){gR=U,G5()}function B1(){lT.call(this,"")}function uC(){lT.call(this,"")}function Hp(){lT.call(this,"")}function K3(){lT.call(this,"")}function wse(e){vs.call(this,e)}function mse(e){vs.call(this,e)}function jd(e){Qt.call(this,e)}function m5(e){f5.call(this,e)}function zFe(e){m5.call(this,e)}function yK(e){fA.call(this,e)}function kK(e){Jle.call(this,e,0)}function CK(){uae.call(this,12,3)}function F(e,t){return mXe(e,t)}function bR(e,t){return oW(e,t)}function DOt(e,t){return e.a-t.a}function NOt(e,t){return e.a-t.a}function BOt(e,t){return e.a-t.a}function FOt(e,t){return t in e.a}function HFe(e){return e.a?e.b:0}function zOt(e){return e.a?e.b:0}function HOt(e,t,n){t.Cd(e.a[n])}function KOt(e,t,n){t.Pe(e.a[n])}function UOt(e,t){e.b=new Wo(t)}function GOt(e,t){return e.b=t,e}function KFe(e,t){return e.c=t,e}function UFe(e,t){return e.f=t,e}function WOt(e,t){return e.g=t,e}function vse(e,t){return e.a=t,e}function yse(e,t){return e.f=t,e}function VOt(e,t){return e.k=t,e}function kse(e,t){return e.a=t,e}function qOt(e,t){return e.e=t,e}function Cse(e,t){return e.e=t,e}function XOt(e,t){return e.f=t,e}function YOt(e,t){e.b=!0,e.d=t}function JOt(e,t){return e.b-t.b}function QOt(e,t){return e.g-t.g}function ZOt(e,t){return e?0:t-1}function GFe(e,t){return e?0:t-1}function e_t(e,t){return e?t-1:0}function t_t(e,t){return e.s-t.s}function n_t(e,t){return t.rg(e)}function Cb(e,t){return e.b=t,e}function wR(e,t){return e.a=t,e}function Sb(e,t){return e.c=t,e}function xb(e,t){return e.d=t,e}function Eb(e,t){return e.e=t,e}function Sse(e,t){return e.f=t,e}function aC(e,t){return e.a=t,e}function v5(e,t){return e.b=t,e}function y5(e,t){return e.c=t,e}function rt(e,t){return e.c=t,e}function Tt(e,t){return e.b=t,e}function it(e,t){return e.d=t,e}function ot(e,t){return e.e=t,e}function r_t(e,t){return e.f=t,e}function st(e,t){return e.g=t,e}function lt(e,t){return e.a=t,e}function ct(e,t){return e.i=t,e}function ut(e,t){return e.j=t,e}function i_t(e,t){fg(),Js(t,e)}function o_t(e,t,n){kDt(e.a,t,n)}function mR(e){AU.call(this,e)}function WFe(e){xVt.call(this,e)}function VFe(e){Tqe.call(this,e)}function xse(e){Tqe.call(this,e)}function Kp(e){Qb.call(this,e)}function qFe(e){CG.call(this,e)}function XFe(e){CG.call(this,e)}function YFe(){Ale.call(this,"")}function po(){this.a=0,this.b=0}function JFe(){this.b=0,this.a=0}function QFe(e,t){e.b=0,Bm(e,t)}function ZFe(e,t){return e.k=t,e}function s_t(e,t){return e.j=t,e}function l_t(e,t){e.c=t,e.b=!0}function eze(){eze=U,Tpt=mJt()}function Up(){Up=U,v4t=PYt()}function tze(){tze=U,oo=zJt()}function Ese(){Ese=U,Dg=sk()}function k5(){k5=U,Gke=OYt()}function nze(){nze=U,r6t=_Yt()}function Tse(){Tse=U,ml=IZt()}function Mf(e){return e.e&&e.e()}function rze(e){return e.l|e.m<<22}function ize(e,t){return e.c._b(t)}function oze(e,t){return int(e.b,t)}function SK(e){return e?e.d:null}function c_t(e){return e?e.g:null}function u_t(e){return e?e.i:null}function l0(e){return Zh(e),e.o}function py(e,t){return e.a+=t,e}function xK(e,t){return e.a+=t,e}function F1(e,t){return e.a+=t,e}function Tb(e,t){return e.a+=t,e}function Ise(e,t){for(;e.Bd(t););}function vR(e){this.a=new U3(e)}function sze(){throw B(new Xn)}function lze(){throw B(new Xn)}function cze(){throw B(new Xn)}function uze(){throw B(new Xn)}function aze(){throw B(new Xn)}function fze(){throw B(new Xn)}function z1(e){this.a=new tG(e)}function dze(){this.a=new GS(F4e)}function hze(){this.b=new GS(o4e)}function pze(){this.a=new GS(a6e)}function gze(){this.b=new GS(jee)}function bze(){this.b=new GS(jee)}function yR(e){this.a=0,this.b=e}function Mse(e){Wut(),tan(this,e)}function C5(e){return Qp(e),e.a}function hT(e){return e.b!=e.d.c}function Pse(e,t){return e.d[t.p]}function wze(e,t){return mrn(e,t)}function Ose(e,t,n){e.splice(t,n)}function gy(e,t){for(;e.Re(t););}function mze(e){e.c?Rlt(e):Alt(e)}function vze(){throw B(new Xn)}function yze(){throw B(new Xn)}function kze(){throw B(new Xn)}function Cze(){throw B(new Xn)}function Sze(){throw B(new Xn)}function xze(){throw B(new Xn)}function Eze(){throw B(new Xn)}function Tze(){throw B(new Xn)}function Ize(){throw B(new Xn)}function Mze(){throw B(new Xn)}function a_t(){throw B(new qs)}function f_t(){throw B(new qs)}function pT(e){this.a=new Pze(e)}function Pze(e){gUt(this,e,VQt())}function gT(e){return!e||oqe(e)}function bT(e){return xd[e]!=-1}function d_t(){RD!=0&&(RD=0),AD=-1}function Oze(){DJ==null&&(DJ=[])}function wT(e,t){Py.call(this,e,t)}function S5(e,t){wT.call(this,e,t)}function _ze(e,t){this.a=e,this.b=t}function Rze(e,t){this.a=e,this.b=t}function Aze(e,t){this.a=e,this.b=t}function Lze(e,t){this.a=e,this.b=t}function jze(e,t){this.a=e,this.b=t}function $ze(e,t){this.a=e,this.b=t}function Dze(e,t){this.a=e,this.b=t}function x5(e,t){this.e=e,this.d=t}function _se(e,t){this.b=e,this.c=t}function Nze(e,t){this.b=e,this.a=t}function Bze(e,t){this.b=e,this.a=t}function Fze(e,t){this.b=e,this.a=t}function zze(e,t){this.b=e,this.a=t}function Hze(e,t){this.a=e,this.b=t}function EK(e,t){this.a=e,this.b=t}function Kze(e,t){this.a=e,this.f=t}function Ib(e,t){this.g=e,this.i=t}function Fn(e,t){this.f=e,this.g=t}function Uze(e,t){this.b=e,this.c=t}function Gze(e){zle(e.dc()),this.c=e}function h_t(e,t){this.a=e,this.b=t}function Wze(e,t){this.a=e,this.b=t}function Vze(e){this.a=u(qn(e),15)}function Rse(e){this.a=u(qn(e),15)}function qze(e){this.a=u(qn(e),85)}function kR(e){this.b=u(qn(e),85)}function CR(e){this.b=u(qn(e),51)}function SR(){this.q=new w.Date}function TK(e,t){this.a=e,this.b=t}function Xze(e,t){return rc(e.b,t)}function mT(e,t){return e.b.Hc(t)}function Yze(e,t){return e.b.Ic(t)}function Jze(e,t){return e.b.Qc(t)}function Qze(e,t){return e.b.Hc(t)}function Zze(e,t){return e.c.uc(t)}function eHe(e,t){return Rr(e.c,t)}function Pf(e,t){return e.a._b(t)}function tHe(e,t){return e>t&&t0}function RK(e,t){return yl(e,t)<0}function wHe(e,t){return qU(e.a,t)}function R_t(e,t){vXe.call(this,e,t)}function Bse(e){hG(),iWe.call(this,e)}function Fse(e,t){dVe(e,e.length,t)}function CT(e,t){FVe(e,e.length,t)}function mC(e,t){return e.a.get(t)}function mHe(e,t){return rc(e.e,t)}function zse(e){return sn(e),!1}function Hse(e){this.a=u(qn(e),229)}function RR(e){Mt.call(this,e,21)}function AR(e,t){Fn.call(this,e,t)}function AK(e,t){Fn.call(this,e,t)}function vHe(e,t){this.b=e,this.a=t}function LR(e,t){this.d=e,this.e=t}function yHe(e,t){this.a=e,this.b=t}function kHe(e,t){this.a=e,this.b=t}function CHe(e,t){this.a=e,this.b=t}function SHe(e,t){this.a=e,this.b=t}function W3(e,t){this.a=e,this.b=t}function xHe(e,t){this.b=e,this.a=t}function Kse(e,t){this.b=e,this.a=t}function Use(e,t){Fn.call(this,e,t)}function Gse(e,t){Fn.call(this,e,t)}function by(e,t){Fn.call(this,e,t)}function LK(e,t){Fn.call(this,e,t)}function jK(e,t){Fn.call(this,e,t)}function $K(e,t){Fn.call(this,e,t)}function jR(e,t){Fn.call(this,e,t)}function Wse(e,t){this.b=e,this.a=t}function $R(e,t){Fn.call(this,e,t)}function Vse(e,t){this.b=e,this.a=t}function DR(e,t){Fn.call(this,e,t)}function EHe(e,t){this.b=e,this.a=t}function qse(e,t){Fn.call(this,e,t)}function DK(e,t){Fn.call(this,e,t)}function ST(e,t){Fn.call(this,e,t)}function vC(e,t,n){e.splice(t,0,n)}function A_t(e,t,n){e.Mb(n)&&t.Cd(n)}function L_t(e,t,n){t.Pe(e.a.Ye(n))}function j_t(e,t,n){t.Dd(e.a.Ze(n))}function $_t(e,t,n){t.Cd(e.a.Kb(n))}function D_t(e,t){return Rc(e.c,t)}function N_t(e,t){return Rc(e.e,t)}function NR(e,t){Fn.call(this,e,t)}function BR(e,t){Fn.call(this,e,t)}function yC(e,t){Fn.call(this,e,t)}function Xse(e,t){Fn.call(this,e,t)}function Ri(e,t){Fn.call(this,e,t)}function FR(e,t){Fn.call(this,e,t)}function THe(e,t){this.a=e,this.b=t}function IHe(e,t){this.a=e,this.b=t}function MHe(e,t){this.a=e,this.b=t}function PHe(e,t){this.a=e,this.b=t}function OHe(e,t){this.a=e,this.b=t}function _He(e,t){this.a=e,this.b=t}function RHe(e,t){this.b=e,this.a=t}function AHe(e,t){this.b=e,this.a=t}function Yse(e,t){this.b=e,this.a=t}function I5(e,t){this.c=e,this.d=t}function LHe(e,t){this.e=e,this.d=t}function jHe(e,t){this.a=e,this.b=t}function $He(e,t){this.a=e,this.b=t}function DHe(e,t){this.a=e,this.b=t}function NHe(e,t){this.b=e,this.a=t}function BHe(e,t){this.b=t,this.c=e}function zR(e,t){Fn.call(this,e,t)}function xT(e,t){Fn.call(this,e,t)}function NK(e,t){Fn.call(this,e,t)}function Jse(e,t){Fn.call(this,e,t)}function kC(e,t){Fn.call(this,e,t)}function BK(e,t){Fn.call(this,e,t)}function FK(e,t){Fn.call(this,e,t)}function ET(e,t){Fn.call(this,e,t)}function Qse(e,t){Fn.call(this,e,t)}function zK(e,t){Fn.call(this,e,t)}function CC(e,t){Fn.call(this,e,t)}function Zse(e,t){Fn.call(this,e,t)}function SC(e,t){Fn.call(this,e,t)}function xC(e,t){Fn.call(this,e,t)}function mm(e,t){Fn.call(this,e,t)}function HK(e,t){Fn.call(this,e,t)}function KK(e,t){Fn.call(this,e,t)}function ele(e,t){Fn.call(this,e,t)}function TT(e,t){Fn.call(this,e,t)}function wy(e,t){Fn.call(this,e,t)}function UK(e,t){Fn.call(this,e,t)}function HR(e,t){Fn.call(this,e,t)}function IT(e,t){Fn.call(this,e,t)}function vm(e,t){Fn.call(this,e,t)}function KR(e,t){Fn.call(this,e,t)}function tle(e,t){Fn.call(this,e,t)}function GK(e,t){Fn.call(this,e,t)}function WK(e,t){Fn.call(this,e,t)}function VK(e,t){Fn.call(this,e,t)}function qK(e,t){Fn.call(this,e,t)}function XK(e,t){Fn.call(this,e,t)}function YK(e,t){Fn.call(this,e,t)}function JK(e,t){Fn.call(this,e,t)}function FHe(e,t){this.b=e,this.a=t}function nle(e,t){Fn.call(this,e,t)}function zHe(e,t){this.a=e,this.b=t}function HHe(e,t){this.a=e,this.b=t}function KHe(e,t){this.a=e,this.b=t}function rle(e,t){Fn.call(this,e,t)}function ile(e,t){Fn.call(this,e,t)}function UHe(e,t){this.a=e,this.b=t}function B_t(e,t){return L5(),t!=e}function MT(e){return yn(e.a),e.b}function QK(e){return Wen(e,e.c),e}function GHe(){return eze(),new Tpt}function WHe(){kA(),this.a=new kce}function VHe(){i$(),this.a=new _i}function qHe(){RG(),this.b=new _i}function XHe(e,t){this.b=e,this.d=t}function YHe(e,t){this.a=e,this.b=t}function JHe(e,t){this.a=e,this.b=t}function QHe(e,t){this.a=e,this.b=t}function ZHe(e,t){this.b=e,this.a=t}function ole(e,t){Fn.call(this,e,t)}function sle(e,t){Fn.call(this,e,t)}function UR(e,t){Fn.call(this,e,t)}function Ob(e,t){Fn.call(this,e,t)}function ZK(e,t){Fn.call(this,e,t)}function GR(e,t){Fn.call(this,e,t)}function lle(e,t){Fn.call(this,e,t)}function cle(e,t){Fn.call(this,e,t)}function PT(e,t){Fn.call(this,e,t)}function ule(e,t){Fn.call(this,e,t)}function eU(e,t){Fn.call(this,e,t)}function WR(e,t){Fn.call(this,e,t)}function tU(e,t){Fn.call(this,e,t)}function nU(e,t){Fn.call(this,e,t)}function rU(e,t){Fn.call(this,e,t)}function iU(e,t){Fn.call(this,e,t)}function ale(e,t){Fn.call(this,e,t)}function oU(e,t){Fn.call(this,e,t)}function fle(e,t){Fn.call(this,e,t)}function OT(e,t){Fn.call(this,e,t)}function sU(e,t){Fn.call(this,e,t)}function dle(e,t){Fn.call(this,e,t)}function _T(e,t){Fn.call(this,e,t)}function hle(e,t){Fn.call(this,e,t)}function eKe(e,t){this.b=e,this.a=t}function tKe(e,t){this.b=e,this.a=t}function nKe(e,t){this.b=e,this.a=t}function rKe(e,t){this.b=e,this.a=t}function ple(e,t){this.a=e,this.b=t}function iKe(e,t){this.a=e,this.b=t}function oKe(e,t){this.a=e,this.b=t}function Pe(e,t){this.a=e,this.b=t}function EC(e,t){Fn.call(this,e,t)}function RT(e,t){Fn.call(this,e,t)}function V3(e,t){Fn.call(this,e,t)}function TC(e,t){Fn.call(this,e,t)}function AT(e,t){Fn.call(this,e,t)}function lU(e,t){Fn.call(this,e,t)}function VR(e,t){Fn.call(this,e,t)}function IC(e,t){Fn.call(this,e,t)}function cU(e,t){Fn.call(this,e,t)}function qR(e,t){Fn.call(this,e,t)}function my(e,t){Fn.call(this,e,t)}function LT(e,t){Fn.call(this,e,t)}function MC(e,t){Fn.call(this,e,t)}function PC(e,t){Fn.call(this,e,t)}function jT(e,t){Fn.call(this,e,t)}function XR(e,t){Fn.call(this,e,t)}function vy(e,t){Fn.call(this,e,t)}function uU(e,t){Fn.call(this,e,t)}function sKe(e,t){Fn.call(this,e,t)}function YR(e,t){Fn.call(this,e,t)}function lKe(e,t){this.a=e,this.b=t}function cKe(e,t){this.a=e,this.b=t}function uKe(e,t){this.a=e,this.b=t}function aKe(e,t){this.a=e,this.b=t}function fKe(e,t){this.a=e,this.b=t}function dKe(e,t){this.a=e,this.b=t}function Gi(e,t){this.a=e,this.b=t}function hKe(e,t){this.a=e,this.b=t}function pKe(e,t){this.a=e,this.b=t}function gKe(e,t){this.a=e,this.b=t}function bKe(e,t){this.a=e,this.b=t}function wKe(e,t){this.a=e,this.b=t}function mKe(e,t){this.a=e,this.b=t}function vKe(e,t){this.b=e,this.a=t}function yKe(e,t){this.b=e,this.a=t}function kKe(e,t){this.b=e,this.a=t}function CKe(e,t){this.b=e,this.a=t}function SKe(e,t){this.a=e,this.b=t}function xKe(e,t){this.a=e,this.b=t}function JR(e,t){Fn.call(this,e,t)}function EKe(e,t){this.a=e,this.b=t}function TKe(e,t){this.a=e,this.b=t}function q3(e,t){Fn.call(this,e,t)}function IKe(e,t){this.f=e,this.c=t}function gle(e,t){return Rc(e.g,t)}function F_t(e,t){return Rc(t.b,e)}function MKe(e,t){return hV(e.a,t)}function z_t(e,t){return-e.b.af(t)}function H_t(e,t){e&&vr(xO,e,t)}function ble(e,t){e.i=null,VL(e,t)}function K_t(e,t,n){kit(t,oq(e,n))}function U_t(e,t,n){kit(t,oq(e,n))}function G_t(e,t){vnn(e.a,u(t,58))}function PKe(e,t){gKt(e.a,u(t,12))}function QR(e,t){this.a=e,this.b=t}function OKe(e,t){this.a=e,this.b=t}function _Ke(e,t){this.a=e,this.b=t}function RKe(e,t){this.a=e,this.b=t}function AKe(e,t){this.a=e,this.b=t}function LKe(e,t){this.d=e,this.b=t}function jKe(e,t){this.e=e,this.a=t}function $T(e,t){this.b=e,this.c=t}function wle(e,t){this.i=e,this.g=t}function mle(e,t){this.d=e,this.e=t}function W_t(e,t){OKt(new hn(e),t)}function ZR(e){return ZI(e.c,e.b)}function _s(e){return e?e.md():null}function fe(e){return e??null}function lo(e){return typeof e===Qq}function ym(e){return typeof e===j4}function km(e){return typeof e===pge}function _b(e,t){return yl(e,t)==0}function eA(e,t){return yl(e,t)>=0}function OC(e,t){return yl(e,t)!=0}function tA(e,t){return VUt(e.Kc(),t)}function Vp(e,t){return e.Rd().Xb(t)}function $Ke(e){return au(e),e.d.gc()}function nA(e){return HC(e==null),e}function _C(e,t){return e.a+=""+t,e}function ps(e,t){return e.a+=""+t,e}function RC(e,t){return e.a+=""+t,e}function Al(e,t){return e.a+=""+t,e}function lr(e,t){return e.a+=""+t,e}function vle(e,t){return e.a+=""+t,e}function V_t(e){return""+(sn(e),e)}function DKe(e){qc(this),pS(this,e)}function NKe(){cae(),pue.call(this)}function BKe(e,t){vue.call(this,e,t)}function FKe(e,t){vue.call(this,e,t)}function rA(e,t){vue.call(this,e,t)}function Go(e,t){pi(e,t,e.c.b,e.c)}function yy(e,t){pi(e,t,e.a,e.a.a)}function yle(e){return _t(e,0),null}function zKe(){this.b=0,this.a=!1}function HKe(){this.b=0,this.a=!1}function KKe(){this.b=new U3(Dm(12))}function UKe(){UKe=U,ygt=Hn(yV())}function GKe(){GKe=U,H0t=Hn(rlt())}function WKe(){WKe=U,fyt=Hn($et())}function kle(){kle=U,Hoe(),ame=new On}function Of(e){return e.a=0,e.b=0,e}function VKe(e,t){return e.a=t.g+1,e}function aU(e,t){Tm.call(this,e,t)}function St(e,t){ui.call(this,e,t)}function ky(e,t){wle.call(this,e,t)}function qKe(e,t){FT.call(this,e,t)}function fU(e,t){dk.call(this,e,t)}function wr(e,t){OR(),vr(qB,e,t)}function XKe(e,t){e.q.setTime(m0(t))}function q_t(e){w.clearTimeout(e)}function X_t(e){return qn(e),new AC(e)}function YKe(e,t){return fe(e)===fe(t)}function JKe(e,t){return e.a.a.a.cc(t)}function dU(e,t){return oa(e.a,0,t)}function Cle(e){return QDt(u(e,74))}function X3(e){return Wi((sn(e),e))}function Y_t(e){return Wi((sn(e),e))}function QKe(e){return nc(e.l,e.m,e.h)}function Sle(e,t){return vl(e.a,t.a)}function J_t(e,t){return NVe(e.a,t.a)}function Q_t(e,t){return Kr(e.a,t.a)}function $d(e,t){return e.indexOf(t)}function Z_t(e,t){return e.j[t.p]==2}function Rb(e,t){return e==t?0:e?1:-1}function iA(e){return e<10?"0"+e:""+e}function zs(e){return typeof e===pge}function eRt(e){return e==Mw||e==bv}function tRt(e){return e==Mw||e==gv}function ZKe(e,t){return vl(e.g,t.g)}function xle(e){return Ls(e.b.b,e,0)}function eUe(){_A.call(this,0,0,0,0)}function Dd(){Eoe.call(this,new q1)}function Ele(e,t){J5(e,0,e.length,t)}function nRt(e,t){return je(e.a,t),t}function rRt(e,t){return tf(),t.a+=e}function iRt(e,t){return tf(),t.a+=e}function oRt(e,t){return tf(),t.c+=e}function sRt(e,t){return je(e.c,t),e}function Tle(e,t){return Bu(e.a,t),e}function tUe(e){this.a=GHe(),this.b=e}function nUe(e){this.a=GHe(),this.b=e}function Wo(e){this.a=e.a,this.b=e.b}function AC(e){this.a=e,KH.call(this)}function rUe(e){this.a=e,KH.call(this)}function Y3(){ia.call(this,0,0,0,0)}function oA(e){return Bu(new Li,e)}function iUe(e){return XA(u(e,123))}function ku(e){return e.vh()&&e.wh()}function Cy(e){return e!=kd&&e!=Lg}function Qh(e){return e==Is||e==Ns}function Sy(e){return e==Ca||e==vd}function oUe(e){return e==A2||e==R2}function lRt(e,t){return vl(e.g,t.g)}function sUe(e,t){return new dk(t,e)}function cRt(e,t){return new dk(t,e)}function Ile(e){return P$t(e.b.Kc(),e.a)}function hU(e,t){yk(e,t),ok(e,e.D)}function pU(e,t,n){BL(e,t),NL(e,n)}function xy(e,t,n){ew(e,t),Zb(e,n)}function ta(e,t,n){oc(e,t),sc(e,n)}function DT(e,t,n){tk(e,t),rk(e,n)}function NT(e,t,n){nk(e,t),ik(e,n)}function lUe(e,t,n){uce.call(this,e,t,n)}function Mle(e){IKe.call(this,e,!0)}function cUe(){AR.call(this,"Tail",3)}function uUe(){AR.call(this,"Head",1)}function qp(e){Vd(),KUt.call(this,e)}function Ab(e){_A.call(this,e,e,e,e)}function gU(e){e.c=be(Ji,Bt,1,0,5,1)}function Ple(e){return e.b&&Lq(e),e.a}function Ole(e){return e.b&&Lq(e),e.c}function uRt(e,t){pd||(e.b=t)}function aRt(e,t){return e[e.length]=t}function fRt(e,t){return e[e.length]=t}function dRt(e,t){return Nm(t,Qf(e))}function hRt(e,t){return Nm(t,Qf(e))}function pRt(e,t){return UL(fG(e.d),t)}function gRt(e,t){return UL(fG(e.g),t)}function bRt(e,t){return UL(fG(e.j),t)}function go(e,t){ui.call(this,e.b,t)}function wRt(e,t){Dn(Il(e.a),OXe(t))}function mRt(e,t){Dn(uu(e.a),_Xe(t))}function vRt(e,t,n){ta(n,n.i+e,n.j+t)}function aUe(e,t,n){hi(e.c[t.g],t.g,n)}function yRt(e,t,n){u(e.c,71).Gi(t,n)}function bU(e,t,n){return hi(e,t,n),n}function fUe(e){ic(e.Sf(),new O$e(e))}function Ey(e){return e!=null?Vr(e):0}function kRt(e){return e==null?0:Vr(e)}function LC(e){Ir(),vb.call(this,e)}function dUe(e){this.a=e,Uce.call(this,e)}function Yf(){Yf=U,w.Math.log(2)}function na(){na=U,zh=(gHe(),E4t)}function hUe(){hUe=U,YZ=new IS(ate)}function Yn(){Yn=U,new pUe,new Le}function pUe(){new On,new On,new On}function CRt(){throw B(new D1(J1t))}function SRt(){throw B(new D1(J1t))}function xRt(){throw B(new D1(Q1t))}function ERt(){throw B(new D1(Q1t))}function wU(e){this.a=e,kR.call(this,e)}function mU(e){this.a=e,kR.call(this,e)}function gUe(e,t){Hb(),this.a=e,this.b=t}function TRt(e,t){qn(t),_y(e).Jc(new Q)}function Pi(e,t){XU(e.c,e.c.length,t)}function Ys(e){return e.at?1:0}function Rle(e,t){return yl(e,t)>0?e:t}function nc(e,t,n){return{l:e,m:t,h:n}}function IRt(e,t){e.a!=null&&PKe(t,e.a)}function MRt(e){Fo(e,null),ao(e,null)}function PRt(e,t,n){return vr(e.g,n,t)}function Ty(e,t,n){return the(t,n,e.c)}function ORt(e,t,n){return vr(e.k,n,t)}function _Rt(e,t,n){return bcn(e,t,n),n}function RRt(e,t){return Lu(),t.n.b+=e}function wUe(e){tae.call(this),this.b=e}function Ale(e){yce.call(this),this.a=e}function mUe(){AR.call(this,"Range",2)}function sA(e){this.b=e,this.a=new Le}function vUe(e){this.b=new So,this.a=e}function yUe(e){e.a=new Zn,e.c=new Zn}function kUe(e){e.a=new On,e.d=new On}function CUe(e){AG(e,null),LG(e,null)}function SUe(e,t){return mcn(e.a,t,null)}function ARt(e,t){return vr(e.a,t.a,t)}function xo(e){return new Pe(e.a,e.b)}function Lle(e){return new Pe(e.c,e.d)}function LRt(e){return new Pe(e.c,e.d)}function jC(e,t){return Oln(e.c,e.b,t)}function te(e,t){return e!=null&&xV(e,t)}function vU(e,t){return SGt(e.Kc(),t)!=-1}function lA(e){return e.Ob()?e.Pb():null}function jRt(e){this.b=(Ot(),new ZH(e))}function jle(e){this.a=e,On.call(this)}function xUe(){FT.call(this,null,null)}function EUe(){pA.call(this,null,null)}function TUe(){Fn.call(this,"INSTANCE",0)}function IUe(){Lhe(),this.a=new GS(_ve)}function MUe(e){return Ud(e,0,e.length)}function $Rt(e,t){return new WUe(e.Kc(),t)}function $le(e,t){return e.a.Bc(t)!=null}function PUe(e,t){$n(e),e.Gc(u(t,15))}function DRt(e,t,n){e.c.bd(t,u(n,136))}function NRt(e,t,n){e.c.Ui(t,u(n,136))}function OUe(e,t){e.c&&(rue(t),nXe(t))}function BRt(e,t){e.q.setHours(t),YS(e,t)}function FRt(e,t){$b(t,e.a.a.a,e.a.a.b)}function zRt(e,t,n,i){hi(e.a[t.g],n.g,i)}function yU(e,t,n){return e.a[t.g][n.g]}function HRt(e,t){return e.e[t.c.p][t.p]}function KRt(e,t){return e.c[t.c.p][t.p]}function Jf(e,t){return e.a[t.c.p][t.p]}function URt(e,t){return e.j[t.p]=tnn(t)}function kU(e,t){return e.a.Bc(t)!=null}function GRt(e,t){return le(pe(t.a))<=e}function WRt(e,t){return le(pe(t.a))>=e}function VRt(e,t){return Fae(e.f,t.Pg())}function J3(e,t){return e.a*t.a+e.b*t.b}function qRt(e,t){return e.a<_ce(t)?-1:1}function XRt(e,t){return Fae(e.b,t.Pg())}function YRt(e,t,n){return n?t!=0:t!=e-1}function _Ue(e,t,n){e.a=t^1502,e.b=n^_X}function JRt(e,t,n){return e.a=t,e.b=n,e}function Nd(e,t){return e.a*=t,e.b*=t,e}function je(e,t){return Ft(e.c,t),!0}function $C(e,t,n){return hi(e.g,t,n),n}function Ai(e,t,n){ZT.call(this,e,t,n)}function cA(e,t,n){Ai.call(this,e,t,n)}function Dle(e,t,n){xA.call(this,e,t,n)}function RUe(e,t,n){xA.call(this,e,t,n)}function AUe(e,t,n){Dle.call(this,e,t,n)}function _c(e,t,n){Ai.call(this,e,t,n)}function LUe(e,t,n){cA.call(this,e,t,n)}function Nle(e,t,n){ZT.call(this,e,t,n)}function Iy(e,t,n){ZT.call(this,e,t,n)}function jUe(e,t,n){Nle.call(this,e,t,n)}function uA(e){e.j=be(Sme,_e,319,0,0,1)}function My(){this.a=be(Ji,Bt,1,8,5,1)}function Ble(){this.Bb|=256,this.Bb|=512}function hn(e){this.i=e,this.f=this.i.j}function Xp(e){this.c=e,this.a=this.c.a}function Py(e,t){this.a=e,kR.call(this,t)}function Fle(e,t){return hVt(e,new Hp,t).a}function zle(e){if(!e)throw B(new fT)}function Hle(e){if(!e)throw B(new Pc)}function Kle(){Kle=U,Kle(),Ppt=new Xt}function $Ue(){$Ue=U,PK(),e6t=new xje}function M5(){M5=U,Ame=new hK(null)}function QRt(e){lI(e,Eht),e$(e,bun(e))}function DUe(e){e.a=u(Yt(e.b.a,4),129)}function NUe(e){e.a=u(Yt(e.b.a,4),129)}function BUe(e){e.b.Qb(),--e.d.f.d,$A(e.d)}function Ule(e){this.a=e,Fje.call(this,e.d)}function FUe(e,t){this.a=e,kK.call(this,t)}function zUe(e,t){this.a=e,kK.call(this,t)}function HUe(e,t){this.a=e,kK.call(this,t)}function Gle(e,t){this.a=t,kK.call(this,e)}function KUe(e,t){this.a=t,UG.call(this,e)}function UUe(e,t){this.a=e,UG.call(this,t)}function GUe(e,t){this.a=t,CR.call(this,e)}function WUe(e,t){this.a=t,CR.call(this,e)}function wn(e,t){return qn(t),new GUe(e,t)}function VUe(e,t){return new yot(e.a,e.b,t)}function Wle(e,t,n){return e.indexOf(t,n)}function aA(e,t){return e.lastIndexOf(t)}function DC(e){return e==null?kc:Ks(e)}function ZRt(e){return e==null?null:e.name}function eAt(e){return e.l+e.m*B4+e.h*L0}function tAt(e){return hT(e.a)?RXe(e):null}function Pa(e){lT.call(this,(sn(e),e))}function Ru(e){lT.call(this,(sn(e),e))}function qUe(e){GH.call(this,u(qn(e),34))}function XUe(e){GH.call(this,u(qn(e),34))}function CU(e){Eoe.call(this,new Xae(e))}function fA(e){f5.call(this,e),this.a=e}function Vle(e){a5.call(this,e),this.a=e}function qle(e){m5.call(this,e),this.a=e}function YUe(){uA(this),QA(this),this.je()}function JUe(e){this.a=e,JH.call(this,e)}function Cu(e){return yn(e.a!=null),e.a}function QUe(e,t){return je(t.a,e.a),e.a}function ZUe(e,t){return je(t.b,e.a),e.a}function Lb(e,t){return je(t.a,e.a),e.a}function BT(e,t,n){return _W(e,t,t,n),e}function dA(e,t){return++e.b,je(e.a,t)}function Xle(e,t){return++e.b,mc(e.a,t)}function nAt(e,t){return Kr(e.c.d,t.c.d)}function rAt(e,t){return Kr(e.c.c,t.c.c)}function iAt(e,t){return Kr(e.n.a,t.n.a)}function bc(e,t){return u(Lr(e.b,t),15)}function oAt(e,t){return e.n.b=(sn(t),t)}function sAt(e,t){return e.n.b=(sn(t),t)}function Rc(e,t){return!!t&&e.b[t.g]==t}function NC(e){return Ys(e.a)||Ys(e.b)}function jb(e){return e.$H||(e.$H=++Ban)}function lAt(e){return e.a!=null?e.a:null}function cAt(e,t){return Kr(e.e.b,t.e.b)}function uAt(e,t){return Kr(e.e.a,t.e.a)}function aAt(e,t,n){return jYe(e,t,n,e.b)}function Yle(e,t,n){return jYe(e,t,n,e.c)}function fAt(e){return tf(),!!e&&!e.dc()}function eGe(){hC(),this.b=new hDe(this)}function hA(){hA=U,zD=new ui(bft,0)}function Gt(){Gt=U,kg=!1,k8=!0}function K1(e){var t;t=e.a,e.a=e.b,e.b=t}function FT(e,t){wC(),this.a=e,this.b=t}function pA(e,t){H1(),this.b=e,this.c=t}function SU(e,t){QU(),this.f=t,this.d=e}function Jle(e,t){Bae(t,e),this.d=e,this.c=t}function Qle(e,t){che.call(this,e,t,null)}function tGe(e,t,n,i){yue.call(this,e,t,n,i)}function Q3(e){this.d=e,hn.call(this,e)}function Z3(e){this.c=e,hn.call(this,e)}function zT(e){this.c=e,Q3.call(this,e)}function dAt(e){return new Am(3,e)}function gh(e){return Nu(e,iv),new ql(e)}function nGe(e){return G5(),parseInt(e)||-1}function hAt(e){return dR(),zn((uXe(),lpt),e)}function P5(e,t,n){return Wle(e,yc(t),n)}function xU(e,t){return new tWe(e,e.gc(),t)}function pAt(e,t){return ZU(e.c).Md().Xb(t)}function O5(e,t,n){var i;i=e.fd(t),i.Rb(n)}function Zle(e,t,n){u(II(e,t),21).Fc(n)}function gAt(e,t,n){rV(e.a,n),Aj(e.a,t)}function HT(e){te(e,158)&&u(e,158).pi()}function rGe(e){Gce.call(this,e,null,null)}function EU(e){wm(),this.b=e,this.a=!0}function iGe(e){xR(),this.b=e,this.a=!0}function _5(e){return yn(e.b!=0),e.a.a.c}function Za(e){return yn(e.b!=0),e.c.b.c}function bAt(e,t){return _W(e,t,t+1,""),e}function Xr(e,t){return!!e.q&&rc(e.q,t)}function oGe(e){return e.b=u(Xue(e.a),44)}function wAt(e){return e.f!=null?e.f:""+e.g}function TU(e){return e.f!=null?e.f:""+e.g}function mAt(e,t){return e>0?t/(e*e):t*100}function vAt(e,t){return e>0?t*t/e:t*t*100}function Cm(e,t){return u(id(e.a,t),34)}function yAt(e,t){return fg(),It(e,t.e,t)}function kAt(e,t,n){return IR(),n.Mg(e,t)}function CAt(e){return c1(),e.e.a+e.f.a/2}function SAt(e,t,n){return c1(),n.e.a-e*t}function xAt(e){return c1(),e.e.b+e.f.b/2}function EAt(e,t,n){return c1(),n.e.b-e*t}function sGe(e){e.d=new rGe(e),e.e=new On}function lGe(){this.a=new qb,this.b=new qb}function cGe(e){this.c=e,this.a=1,this.b=1}function uGe(e){Yq(),TBe(this),this.Ff(e)}function TAt(e,t,n){EL(),e.pf(t)&&n.Cd(e)}function IAt(e,t,n){return je(t,Cnt(e,n))}function $b(e,t,n){return e.a+=t,e.b+=n,e}function MAt(e,t,n){return e.a*=t,e.b*=n,e}function ece(e,t){return e.a=t.a,e.b=t.b,e}function gA(e){return e.a=-e.a,e.b=-e.b,e}function BC(e,t,n){return e.a-=t,e.b-=n,e}function aGe(e){Zr.call(this),aS(this,e)}function fGe(){Fn.call(this,"GROW_TREE",0)}function dGe(){Fn.call(this,"POLYOMINO",0)}function Su(e,t,n){jc.call(this,e,t,n,2)}function PAt(e,t,n){ES(Il(e.a),t,OXe(n))}function hGe(e,t){wC(),FT.call(this,e,t)}function tce(e,t){H1(),pA.call(this,e,t)}function pGe(e,t){H1(),tce.call(this,e,t)}function gGe(e,t){H1(),pA.call(this,e,t)}function OAt(e,t){return e.c.Fc(u(t,136))}function _At(e,t,n){ES(uu(e.a),t,_Xe(n))}function bGe(e){this.c=e,oc(e,0),sc(e,0)}function IU(e,t){na(),LA.call(this,e,t)}function wGe(e,t){na(),IU.call(this,e,t)}function nce(e,t){na(),IU.call(this,e,t)}function rce(e,t){na(),LA.call(this,e,t)}function mGe(e,t){na(),nce.call(this,e,t)}function vGe(e,t){na(),rce.call(this,e,t)}function yGe(e,t){na(),LA.call(this,e,t)}function RAt(e,t,n){return t.zl(e.e,e.c,n)}function AAt(e,t,n){return t.Al(e.e,e.c,n)}function ice(e,t,n){return b$(TI(e,t),n)}function MU(e,t){return sg(e.e,u(t,54))}function LAt(e){return e==null?null:oun(e)}function jAt(e){return e==null?null:QQt(e)}function $At(e){return e==null?null:Ks(e)}function DAt(e){return e==null?null:Ks(e)}function Ve(e){return HC(e==null||ym(e)),e}function pe(e){return HC(e==null||km(e)),e}function Jn(e){return HC(e==null||lo(e)),e}function Zh(e){e.o==null&&Otn(e)}function oce(e){if(!e)throw B(new fT)}function NAt(e){if(!e)throw B(new iK)}function yn(e){if(!e)throw B(new qs)}function Sm(e){if(!e)throw B(new Pc)}function kGe(e){if(!e)throw B(new ea)}function R5(){R5=U,TO=new iFe,new oFe}function Oy(){Oy=U,$2=new Br("root")}function sce(){ret.call(this),this.Bb|=es}function BAt(e,t){this.d=e,r$e(this),this.b=t}function lce(e,t){tW.call(this,e),this.a=t}function cce(e,t){tW.call(this,e),this.a=t}function uce(e,t,n){kL.call(this,e,t,n,null)}function CGe(e,t,n){kL.call(this,e,t,n,null)}function KT(e,t){this.c=e,x5.call(this,e,t)}function FC(e,t){this.a=e,KT.call(this,e,t)}function ace(e){this.q=new w.Date(m0(e))}function SGe(e){return e>8?0:e+1}function xGe(e,t){pd||je(e.a,t)}function FAt(e,t){return kT(),fk(t.d.i,e)}function zAt(e,t){return y4(),new nct(t,e)}function HAt(e,t,n){return e.Ne(t,n)<=0?n:t}function KAt(e,t,n){return e.Ne(t,n)<=0?t:n}function UAt(e,t){return u(id(e.b,t),143)}function GAt(e,t){return u(id(e.c,t),233)}function PU(e){return u(Ye(e.a,e.b),294)}function EGe(e){return new Pe(e.c,e.d+e.a)}function TGe(e){return sn(e),e?1231:1237}function IGe(e){return Lu(),oUe(u(e,203))}function xm(){xm=U,ove=ht((Iu(),sb))}function WAt(e,t){t.a?Yen(e,t):kU(e.a,t.b)}function UT(e,t,n){++e.j,e.tj(),eW(e,t,n)}function MGe(e,t,n){++e.j,e.qj(t,e.Zi(t,n))}function PGe(e,t,n){var i;i=e.fd(t),i.Rb(n)}function fce(e,t,n){return n=Hu(e,t,6,n),n}function dce(e,t,n){return n=Hu(e,t,3,n),n}function hce(e,t,n){return n=Hu(e,t,9,n),n}function Bd(e,t){return lI(t,Dge),e.f=t,e}function pce(e,t){return(t&Pr)%e.d.length}function OGe(e,t,n){return Vpe(e.c,e.b,t,n)}function _Ge(e,t){this.c=e,Qb.call(this,t)}function RGe(e,t){this.a=e,mBe.call(this,t)}function GT(e,t){this.a=e,mBe.call(this,t)}function ui(e,t){Br.call(this,e),this.a=t}function gce(e,t){Noe.call(this,e),this.a=t}function OU(e,t){Noe.call(this,e),this.a=t}function VAt(e){Xde.call(this,0,0),this.f=e}function AGe(e,t,n){return e.a+=Ud(t,0,n),e}function WT(e){return!e.a&&(e.a=new Be),e.a}function bce(e,t){var n;return n=e.e,e.e=t,n}function wce(e,t){var n;return n=t,!!e.Fe(n)}function qAt(e,t){return Gt(),e==t?0:e?1:-1}function Em(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function VT(e){e.b?VT(e.b):e.f.c.zc(e.e,e.d)}function LGe(e){qc(e.e),e.d.b=e.d,e.d.a=e.d}function XAt(e,t,n){c0(),e$e(e,t.Ve(e.a,n))}function mce(e,t,n){return l4(e,u(t,22),n)}function ef(e,t){return bR(new Array(t),e)}function YAt(e){return Vn(Yp(e,32))^Vn(e)}function _U(e){return String.fromCharCode(e)}function JAt(e){return e==null?null:e.message}function QAt(e,t,n){return e.apply(t,n)}function ZAt(e,t){var n;n=e[OX],n.call(e,t)}function eLt(e,t){var n;n=e[OX],n.call(e,t)}function tLt(e,t){return kT(),!fk(t.d.i,e)}function vce(e,t,n,i){_A.call(this,e,t,n,i)}function jGe(){bA.call(this),this.a=new po}function yce(){this.n=new po,this.o=new po}function $Ge(){this.b=new po,this.c=new Le}function DGe(){this.a=new Le,this.b=new Le}function NGe(){this.a=new Hie,this.b=new $Be}function kce(){this.b=new q1,this.a=new q1}function BGe(){this.b=new _i,this.a=new _i}function FGe(){this.b=new On,this.a=new On}function zGe(){this.b=new hze,this.a=new FPe}function HGe(){this.a=new QLe,this.b=new _Me}function KGe(){this.a=new Le,this.d=new Le}function bA(){this.n=new D3,this.i=new Y3}function UGe(e){this.a=(Nu(e,iv),new ql(e))}function GGe(e){this.a=(Nu(e,iv),new ql(e))}function nLt(e){return e<100?null:new Kp(e)}function rLt(e,t){return e.n.a=(sn(t),t+10)}function iLt(e,t){return e.n.a=(sn(t),t+10)}function oLt(e,t){return t==e||Lk(Zj(t),e)}function WGe(e,t){return vr(e.a,t,"")==null}function sLt(e,t){var n;return n=t.qi(e.a),n}function Or(e,t){return e.a+=t.a,e.b+=t.b,e}function Xi(e,t){return e.a-=t.a,e.b-=t.b,e}function lLt(e){return gm(e.j.c,0),e.a=-1,e}function Cce(e,t,n){return n=Hu(e,t,11,n),n}function cLt(e,t,n){n!=null&&GL(t,jV(e,n))}function uLt(e,t,n){n!=null&&WL(t,jV(e,n))}function e4(e,t,n,i){Se.call(this,e,t,n,i)}function Sce(e,t,n,i){Se.call(this,e,t,n,i)}function VGe(e,t,n,i){Sce.call(this,e,t,n,i)}function qGe(e,t,n,i){zA.call(this,e,t,n,i)}function RU(e,t,n,i){zA.call(this,e,t,n,i)}function xce(e,t,n,i){zA.call(this,e,t,n,i)}function XGe(e,t,n,i){RU.call(this,e,t,n,i)}function Ece(e,t,n,i){RU.call(this,e,t,n,i)}function $t(e,t,n,i){xce.call(this,e,t,n,i)}function YGe(e,t,n,i){Ece.call(this,e,t,n,i)}function JGe(e,t,n,i){Sue.call(this,e,t,n,i)}function Tm(e,t){vs.call(this,E9+e+z0+t)}function Tce(e,t){return e.jk().wi().ri(e,t)}function Ice(e,t){return e.jk().wi().ti(e,t)}function QGe(e,t){return sn(e),fe(e)===fe(t)}function Et(e,t){return sn(e),fe(e)===fe(t)}function aLt(e,t){return e.b.Bd(new kHe(e,t))}function fLt(e,t){return e.b.Bd(new CHe(e,t))}function ZGe(e,t){return e.b.Bd(new SHe(e,t))}function dLt(e,t){return e.e=u(e.d.Kb(t),159)}function Mce(e,t,n){return e.lastIndexOf(t,n)}function hLt(e,t,n){return Kr(e[t.a],e[n.a])}function pLt(e,t){return Ee(t,(Ue(),NP),e)}function gLt(e,t){return vl(t.a.d.p,e.a.d.p)}function bLt(e,t){return vl(e.a.d.p,t.a.d.p)}function wLt(e,t){return Kr(e.c-e.s,t.c-t.s)}function mLt(e,t){return Kr(e.b.e.a,t.b.e.a)}function vLt(e,t){return Kr(e.c.e.a,t.c.e.a)}function eWe(e){return e.c?Ls(e.c.a,e,0):-1}function t4(e){return e==ob||e==Bh||e==Ul}function Pce(e,t){this.c=e,oG.call(this,e,t)}function tWe(e,t,n){this.a=e,Jle.call(this,t,n)}function nWe(e){this.c=e,rA.call(this,DM,0)}function rWe(e,t,n){this.c=t,this.b=n,this.a=e}function qT(e){L5(),this.d=e,this.a=new My}function iWe(e){Fd(),this.a=(Ot(),new m5(e))}function yLt(e,t){Qh(e.f)?Ctn(e,t):ZJt(e,t)}function oWe(e,t){A$t.call(this,e,e.length,t)}function kLt(e,t){pd||t&&(e.d=t)}function sWe(e,t){return te(t,15)&&$lt(e.c,t)}function CLt(e,t,n){return u(e.c,71).Wk(t,n)}function wA(e,t,n){return u(e.c,71).Xk(t,n)}function SLt(e,t,n){return RAt(e,u(t,343),n)}function Oce(e,t,n){return AAt(e,u(t,343),n)}function xLt(e,t,n){return Pit(e,u(t,343),n)}function lWe(e,t,n){return dQt(e,u(t,343),n)}function zC(e,t){return t==null?null:Hm(e.b,t)}function _ce(e){return km(e)?(sn(e),e):e.ue()}function mA(e){return!isNaN(e)&&!isFinite(e)}function AU(e){yUe(this),Au(this),vo(this,e)}function Vc(e){gU(this),Vce(this.c,0,e.Pc())}function ra(e,t,n){this.a=e,this.b=t,this.c=n}function cWe(e,t,n){this.a=e,this.b=t,this.c=n}function uWe(e,t,n){this.d=e,this.b=n,this.a=t}function aWe(e){this.a=e,Jh(),bl(Date.now())}function fWe(e){Eu(e.a),Wae(e.c,e.b),e.b=null}function LU(){LU=U,Rme=new kt,Ipt=new Qe}function dWe(){dWe=U,O4t=be(Ji,Bt,1,0,5,1)}function hWe(){hWe=U,q4t=be(Ji,Bt,1,0,5,1)}function Rce(){Rce=U,X4t=be(Ji,Bt,1,0,5,1)}function Fd(){Fd=U,new zoe((Ot(),Ot(),Yo))}function ELt(e){return Q5(),zn((vQe(),Opt),e)}function TLt(e){return Jc(),zn((uQe(),$pt),e)}function ILt(e){return Ej(),zn((qYe(),Hpt),e)}function MLt(e){return RL(),zn((XYe(),Kpt),e)}function PLt(e){return l$(),zn((Yet(),Upt),e)}function OLt(e){return $f(),zn((lQe(),Vpt),e)}function _Lt(e){return Yc(),zn((sQe(),Xpt),e)}function RLt(e){return vc(),zn((cQe(),Jpt),e)}function ALt(e){return k$(),zn((UKe(),ygt),e)}function LLt(e){return iw(),zn((kQe(),Cgt),e)}function jLt(e){return T4(),zn((SQe(),xgt),e)}function $Lt(e){return RS(),zn((CQe(),Igt),e)}function DLt(e){return ER(),zn((yYe(),Mgt),e)}function NLt(e){return AL(),zn((YYe(),Ggt),e)}function BLt(e){return cS(),zn((aQe(),w0t),e)}function FLt(e){return Lo(),zn((iZe(),k0t),e)}function zLt(e){return pk(),zn((EQe(),T0t),e)}function HLt(e){return M0(),zn((xQe(),R0t),e)}function Ace(e,t){if(!e)throw B(new Qt(t))}function A5(e){if(!e)throw B(new ys(gge))}function jU(e,t){if(e!=t)throw B(new ea)}function pWe(e,t,n){this.a=e,this.b=t,this.c=n}function Lce(e,t,n){this.a=e,this.b=t,this.c=n}function gWe(e,t,n){this.a=e,this.b=t,this.c=n}function vA(e,t,n){this.b=e,this.a=t,this.c=n}function jce(e,t,n){this.b=e,this.c=t,this.a=n}function $ce(e,t,n){this.a=e,this.b=t,this.c=n}function yA(e,t,n){this.e=t,this.b=e,this.d=n}function bWe(e,t,n){this.b=e,this.a=t,this.c=n}function KLt(e,t,n){return c0(),e.a.Yd(t,n),t}function $U(e){var t;return t=new _d,t.e=e,t}function Dce(e){var t;return t=new zBe,t.b=e,t}function XT(){XT=U,JD=new sTe,QD=new lTe}function kA(){kA=U,V0t=new LTe,W0t=new jTe}function tf(){tf=U,Q0t=new KIe,Z0t=new UIe}function ULt(e){return nw(),zn((zJe(),ubt),e)}function GLt(e){return Ko(),zn((GKe(),H0t),e)}function WLt(e){return ij(),zn((IQe(),G0t),e)}function VLt(e){return sd(),zn((TQe(),nbt),e)}function qLt(e){return Vm(),zn((oZe(),ibt),e)}function XLt(e){return o$(),zn((jet(),abt),e)}function YLt(e){return O4(),zn((OZe(),fbt),e)}function JLt(e){return xL(),zn((rJe(),dbt),e)}function QLt(e){return fS(),zn((BJe(),hbt),e)}function ZLt(e){return zL(),zn((FJe(),pbt),e)}function ejt(e){return ip(),zn((sZe(),gbt),e)}function tjt(e){return _I(),zn((ZYe(),bbt),e)}function njt(e){return $k(),zn((AZe(),Cbt),e)}function rjt(e){return cs(),zn((dtt(),Sbt),e)}function ijt(e){return hk(),zn((KJe(),xbt),e)}function ojt(e){return l1(),zn((UJe(),Tbt),e)}function sjt(e){return hL(),zn((QYe(),Ibt),e)}function ljt(e){return aM(),zn((RZe(),kbt),e)}function cjt(e){return E0(),zn((HJe(),mbt),e)}function ujt(e){return Wj(),zn((_Ze(),vbt),e)}function ajt(e){return xI(),zn((eJe(),ybt),e)}function fjt(e){return pa(),zn((cZe(),Mbt),e)}function djt(e){return up(),zn((Vet(),Qmt),e)}function hjt(e){return kS(),zn((GJe(),Zmt),e)}function pjt(e){return Gm(),zn((MQe(),evt),e)}function gjt(e){return _S(),zn((lZe(),tvt),e)}function bjt(e){return La(),zn((htt(),nvt),e)}function wjt(e){return Gd(),zn((PQe(),rvt),e)}function mjt(e){return PI(),zn((tJe(),ivt),e)}function vjt(e){return ls(),zn((qJe(),svt),e)}function yjt(e){return tj(),zn((WJe(),lvt),e)}function kjt(e){return mS(),zn((VJe(),cvt),e)}function Cjt(e){return kk(),zn((XJe(),uvt),e)}function Sjt(e){return FL(),zn((YJe(),avt),e)}function xjt(e){return oj(),zn((JJe(),fvt),e)}function Ejt(e){return tw(),zn((oQe(),Ivt),e)}function Tjt(e){return oS(),zn((nJe(),Rvt),e)}function Ijt(e){return Hd(),zn((sJe(),Bvt),e)}function Mjt(e){return Zf(),zn((lJe(),zvt),e)}function Pjt(e){return Af(),zn((cJe(),nyt),e)}function Ojt(e){return Xb(),zn((uJe(),uyt),e)}function _jt(e){return P4(),zn(($Qe(),ayt),e)}function Rjt(e){return qS(),zn((WKe(),fyt),e)}function Ajt(e){return vS(),zn((QJe(),dyt),e)}function Ljt(e){return yS(),zn((jQe(),jyt),e)}function jjt(e){return aL(),zn((iJe(),$yt),e)}function $jt(e){return qL(),zn((oJe(),zyt),e)}function Djt(e){return Hj(),zn((uZe(),Kyt),e)}function Njt(e){return GI(),zn((ZJe(),Gyt),e)}function Bjt(e){return TL(),zn((aJe(),Uyt),e)}function Fjt(e){return jj(),zn((LQe(),f2t),e)}function zjt(e){return ej(),zn((eQe(),d2t),e)}function Hjt(e){return yj(),zn((tQe(),h2t),e)}function Kjt(e){return _j(),zn((nQe(),g2t),e)}function Ujt(e){return pj(),zn((rQe(),m2t),e)}function Gjt(e){return mL(),zn((fJe(),B2t),e)}function Wjt(e){return ck(),zn((JYe(),z0t),e)}function Vjt(e){return nn(),zn((LZe(),$0t),e)}function qjt(e){return IL(),zn((iQe(),F2t),e)}function Xjt(e){return RW(),zn((dJe(),z2t),e)}function Yjt(e){return US(),zn((aZe(),K2t),e)}function Jjt(e){return MR(),zn((MYe(),G2t),e)}function Qjt(e){return JI(),zn((dQe(),U2t),e)}function Zjt(e){return PR(),zn((PYe(),V2t),e)}function e$t(e){return vI(),zn((hJe(),q2t),e)}function t$t(e){return dM(),zn((fZe(),X2t),e)}function n$t(e){return pC(),zn((OYe(),f3t),e)}function r$t(e){return zI(),zn((pJe(),d3t),e)}function i$t(e){return Nf(),zn((hZe(),m3t),e)}function o$t(e){return cp(),zn((Aet(),y3t),e)}function s$t(e){return Ch(),zn((jZe(),k3t),e)}function l$t(e){return O0(),zn(($Ze(),I3t),e)}function c$t(e){return $i(),zn((dZe(),W3t),e)}function u$t(e){return od(),zn((hQe(),V3t),e)}function a$t(e){return f1(),zn((DQe(),q3t),e)}function f$t(e){return Uj(),zn((DZe(),X3t),e)}function d$t(e){return a1(),zn((fQe(),J3t),e)}function h$t(e){return Fu(),zn((NQe(),Z3t),e)}function p$t(e){return Jm(),zn((Xet(),e4t),e)}function g$t(e){return Hy(),zn((pZe(),t4t),e)}function b$t(e){return fo(),zn((NZe(),n4t),e)}function w$t(e){return Qc(),zn((BZe(),r4t),e)}function m$t(e){return ze(),zn((gZe(),i4t),e)}function v$t(e){return Iu(),zn((BQe(),u4t),e)}function y$t(e){return du(),zn((qet(),a4t),e)}function k$t(e){return S4(),zn((pQe(),f4t),e)}function C$t(e,t){return sn(e),e+(sn(t),t)}function S$t(e){return DU(),zn((gJe(),d4t),e)}function x$t(e){return bj(),zn((FQe(),h4t),e)}function E$t(e){return sj(),zn((zQe(),b4t),e)}function L5(){L5=U,r4e=(ze(),rn),rB=fn}function DU(){DU=U,yke=new WWe,kke=new _Ve}function T$t(e){return!e.e&&(e.e=new Le),e.e}function NU(e,t){this.c=e,this.a=t,this.b=t-e}function wWe(e,t,n){this.a=e,this.b=t,this.c=n}function BU(e,t,n){this.a=e,this.b=t,this.c=n}function Nce(e,t,n){this.a=e,this.b=t,this.c=n}function Bce(e,t,n){this.a=e,this.b=t,this.c=n}function mWe(e,t,n){this.a=e,this.b=t,this.c=n}function vWe(e,t,n){this.a=e,this.b=t,this.c=n}function U1(e,t,n){this.e=e,this.a=t,this.c=n}function yWe(e,t,n){na(),rae.call(this,e,t,n)}function FU(e,t,n){na(),Fue.call(this,e,t,n)}function Fce(e,t,n){na(),Fue.call(this,e,t,n)}function zce(e,t,n){na(),Fue.call(this,e,t,n)}function kWe(e,t,n){na(),FU.call(this,e,t,n)}function Hce(e,t,n){na(),FU.call(this,e,t,n)}function CWe(e,t,n){na(),Hce.call(this,e,t,n)}function SWe(e,t,n){na(),Fce.call(this,e,t,n)}function xWe(e,t,n){na(),zce.call(this,e,t,n)}function zU(e){_A.call(this,e.d,e.c,e.a,e.b)}function Kce(e){_A.call(this,e.d,e.c,e.a,e.b)}function Uce(e){this.d=e,r$e(this),this.b=EDt(e.d)}function I$t(e){return Nk(),zn((Let(),P4t),e)}function YT(e,t){return qn(e),qn(t),new Rze(e,t)}function n4(e,t){return qn(e),qn(t),new DWe(e,t)}function M$t(e,t){return qn(e),qn(t),new NWe(e,t)}function P$t(e,t){return qn(e),qn(t),new zze(e,t)}function HU(e){return yn(e.b!=0),ua(e,e.a.a)}function O$t(e){return yn(e.b!=0),ua(e,e.c.b)}function _$t(e){return!e.c&&(e.c=new u5),e.c}function j5(e){var t;return t=new Le,dW(t,e),t}function R$t(e){var t;return t=new _i,dW(t,e),t}function EWe(e){var t;return t=new Woe,EW(t,e),t}function JT(e){var t;return t=new Zr,EW(t,e),t}function u(e,t){return HC(e==null||xV(e,t)),e}function A$t(e,t,n){xVe.call(this,t,n),this.a=e}function TWe(e,t){this.c=e,this.b=t,this.a=!1}function IWe(){this.a=";,;",this.b="",this.c=""}function MWe(e,t,n){this.b=e,BKe.call(this,t,n)}function Gce(e,t,n){this.c=e,LR.call(this,t,n)}function Wce(e,t,n){I5.call(this,e,t),this.b=n}function Vce(e,t,n){B1e(n,0,e,t,n.length,!1)}function bh(e,t,n,i,s){e.b=t,e.c=n,e.d=i,e.a=s}function qce(e,t,n,i,s){e.d=t,e.c=n,e.a=i,e.b=s}function L$t(e,t){t&&(e.b=t,e.a=(Qp(t),t.a))}function QT(e,t){if(!e)throw B(new Qt(t))}function r4(e,t){if(!e)throw B(new ys(t))}function Xce(e,t){if(!e)throw B(new $Fe(t))}function j$t(e,t){return TR(),vl(e.d.p,t.d.p)}function $$t(e,t){return c1(),Kr(e.e.b,t.e.b)}function D$t(e,t){return c1(),Kr(e.e.a,t.e.a)}function N$t(e,t){return vl(KWe(e.d),KWe(t.d))}function CA(e,t){return t&&WA(e,t.d)?t:null}function B$t(e,t){return t==(ze(),rn)?e.c:e.d}function Yce(e){return rg(NDt(zs(e)?_a(e):e))}function F$t(e){return new Pe(e.c+e.b,e.d+e.a)}function PWe(e){return e!=null&&!uV(e,Bx,Fx)}function z$t(e,t){return(unt(e)<<4|unt(t))&Di}function OWe(e,t,n,i,s){e.c=t,e.d=n,e.b=i,e.a=s}function Jce(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function Qce(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function H$t(e,t){var n;return n=e.c,Ofe(e,t),n}function Zce(e,t){return t<0?e.g=-1:e.g=t,e}function SA(e,t){return YKt(e),e.a*=t,e.b*=t,e}function _We(e,t,n){EZe.call(this,t,n),this.d=e}function ZT(e,t,n){mle.call(this,e,t),this.c=n}function xA(e,t,n){mle.call(this,e,t),this.c=n}function eue(e){Rce(),Q_.call(this),this.ci(e)}function RWe(){X5(),uNt.call(this,(Gp(),Wa))}function AWe(e){return Ir(),new wh(0,e)}function LWe(){LWe=U,Ete=(Ot(),new QH(MJ))}function EA(){EA=U,new fhe((dK(),FJ),(fK(),BJ))}function jWe(){jWe=U,mme=be(Po,_e,17,256,0,1)}function $We(){this.b=le(pe(Ke((uf(),vQ))))}function KU(e){this.b=e,this.a=a0(this.b.a).Od()}function DWe(e,t){this.b=e,this.a=t,KH.call(this)}function NWe(e,t){this.a=e,this.b=t,KH.call(this)}function BWe(e,t,n){this.a=e,ky.call(this,t,n)}function FWe(e,t,n){this.a=e,ky.call(this,t,n)}function $5(e,t,n){var i;i=new Pm(n),jf(e,t,i)}function tue(e,t,n){var i;return i=e[t],e[t]=n,i}function TA(e){var t;return t=e.slice(),oW(t,e)}function IA(e){var t;return t=e.n,e.a.b+t.d+t.a}function zWe(e){var t;return t=e.n,e.e.b+t.d+t.a}function nue(e){var t;return t=e.n,e.e.a+t.b+t.c}function rue(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function ir(e,t){return pi(e,t,e.c.b,e.c),!0}function K$t(e){return e.a?e.a:wG(e)}function U$t(e){return f4(),Sh(e)==ri(ug(e))}function G$t(e){return f4(),ug(e)==ri(Sh(e))}function Db(e,t){return $S(e,new I5(t.a,t.b))}function W$t(e,t){return qA(),RV(e,t),new uqe(e,t)}function V$t(e,t){return e.c=t)throw B(new Zoe)}function Im(e,t){return XI(e,(sn(t),new a$e(t)))}function o4(e,t){return XI(e,(sn(t),new f$e(t)))}function TVe(e,t,n){return van(e,u(t,12),u(n,12))}function IVe(e){return $c(),u(e,12).g.c.length!=0}function MVe(e){return $c(),u(e,12).e.c.length!=0}function _Dt(e,t){return y4(),Kr(t.a.o.a,e.a.o.a)}function RDt(e,t){t.Bb&wl&&!e.a.o&&(e.a.o=t)}function ADt(e,t){t.Ug("General 'Rotator",1),Vcn(e)}function LDt(e,t,n){t.qf(n,le(pe(pn(e.b,n)))*e.a)}function PVe(e,t,n){return Qy(),uk(e,t)&&uk(e,n)}function WC(e){return Qc(),!e.Hc(E1)&&!e.Hc(jg)}function jDt(e){return e.e?Uae(e.e):null}function VC(e){return zs(e)?""+e:jlt(e)}function Cue(e){var t;for(t=e;t.f;)t=t.f;return t}function $Dt(e,t,n){return hi(t,0,cue(t[0],n[0])),t}function G1(e,t,n,i){var s;s=e.i,s.i=t,s.a=n,s.b=i}function Se(e,t,n,i){Ai.call(this,e,t,n),this.b=i}function ro(e,t,n,i,s){rW.call(this,e,t,n,i,s,-1)}function qC(e,t,n,i,s){kI.call(this,e,t,n,i,s,-1)}function zA(e,t,n,i){ZT.call(this,e,t,n),this.b=i}function OVe(e){IKe.call(this,e,!1),this.a=!1}function _Ve(){sKe.call(this,"LOOKAHEAD_LAYOUT",1)}function RVe(e){this.b=e,Q3.call(this,e),DUe(this)}function AVe(e){this.b=e,zT.call(this,e),NUe(this)}function Mm(e,t,n){this.a=e,e4.call(this,t,n,5,6)}function Sue(e,t,n,i){this.b=e,Ai.call(this,t,n,i)}function LVe(e,t){this.b=e,Fje.call(this,e.b),this.a=t}function jVe(e){this.a=yrt(e.a),this.b=new Vc(e.b)}function xue(e,t){Hb(),h_t.call(this,e,aj(new Wc(t)))}function HA(e,t){return Ir(),new Bue(e,t,0)}function nG(e,t){return Ir(),new Bue(6,e,t)}function Eo(e,t){for(sn(t);e.Ob();)t.Cd(e.Pb())}function rc(e,t){return lo(t)?EG(e,t):!!ss(e.f,t)}function rG(e,t){return t.Vh()?sg(e.b,u(t,54)):t}function DDt(e,t){return Et(e.substr(0,t.length),t)}function mh(e){return new gn(new Gle(e.a.length,e.a))}function KA(e){return new Pe(e.c+e.b/2,e.d+e.a/2)}function NDt(e){return nc(~e.l&hu,~e.m&hu,~e.h&m1)}function iG(e){return typeof e===AM||typeof e===Zq}function qc(e){e.f=new tUe(e),e.i=new nUe(e),++e.g}function $Ve(e){if(!e)throw B(new qs);return e.d}function s4(e){var t;return t=wS(e),yn(t!=null),t}function BDt(e){var t;return t=tVt(e),yn(t!=null),t}function N5(e,t){var n;return n=e.a.gc(),Bae(t,n),n-t}function Fi(e,t){var n;return n=e.a.zc(t,e),n==null}function tI(e,t){return e.a.zc(t,(Gt(),kg))==null}function Eue(e){return new xt(null,UDt(e,e.length))}function Tue(e,t,n){return out(e,u(t,42),u(n,176))}function l4(e,t,n){return sf(e.a,t),tue(e.b,t.g,n)}function FDt(e,t,n){D5(n,e.a.c.length),la(e.a,n,t)}function he(e,t,n,i){$tt(t,n,e.length),zDt(e,t,n,i)}function zDt(e,t,n,i){var s;for(s=t;s0?w.Math.log(e/t):-100}function NVe(e,t){return yl(e,t)<0?-1:yl(e,t)>0?1:0}function nI(e,t){PUe(e,te(t,160)?t:u(t,2036).Rl())}function Oue(e,t){if(e==null)throw B(new F3(t))}function UDt(e,t){return WKt(t,e.length),new GWe(e,t)}function _ue(e,t){return t?vo(e,t):!1}function GDt(){return dR(),H(F(spt,1),Te,549,0,[KJ])}function YC(e){return e.e==0?e:new d0(-e.e,e.d,e.a)}function WDt(e,t){return Kr(e.c.c+e.c.b,t.c.c+t.c.b)}function rI(e,t){pi(e.d,t,e.b.b,e.b),++e.a,e.c=null}function BVe(e,t){return e.c?BVe(e.c,t):je(e.b,t),e}function VDt(e,t,n){var i;return i=$m(e,t),zG(e,t,n),i}function FVe(e,t,n){var i;for(i=0;i=e.g}function hi(e,t,n){return NAt(n==null||Ron(e,n)),e[t]=n}function $ue(e,t){return Zt(t,e.length+1),e.substr(t)}function pG(e,t){for(sn(t);e.c=e?new Ase:bUt(e-1)}function To(e){return!e.a&&e.c?e.c.b:e.a}function zue(e){return te(e,616)?e:new oXe(e)}function Qp(e){e.c?Qp(e.c):(lg(e),e.d=!0)}function ZC(e){e.c?e.c.$e():(e.d=!0,Lnn(e))}function sqe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function lqe(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function dNt(e,t){var n;n=e.Ih(t),n>=0?e.ki(n):O1e(e,t)}function cqe(e,t){e.c<0||e.b.b0;)e=e<<1|(e<0?1:0);return e}function bqe(e,t){var n;return n=new Ll(e),Ft(t.c,n),n}function wqe(e,t){e.u.Hc((Qc(),E1))&&wen(e,t),jHt(e,t)}function gl(e,t){return fe(e)===fe(t)||e!=null&&Rr(e,t)}function gs(e,t){return qU(e.a,t)?e.b[u(t,22).g]:null}function ENt(){return ER(),H(F(cve,1),Te,489,0,[dQ])}function TNt(){return MR(),H(F($6e,1),Te,490,0,[$ee])}function INt(){return PR(),H(F(W2t,1),Te,558,0,[Dee])}function MNt(){return pC(),H(F(r5e,1),Te,539,0,[nO])}function XA(e){return!e.n&&(e.n=new Se(ms,e,1,7)),e.n}function bG(e){return!e.c&&(e.c=new Se(ru,e,9,9)),e.c}function Gue(e){return!e.c&&(e.c=new $t(Tn,e,5,8)),e.c}function PNt(e){return!e.b&&(e.b=new $t(Tn,e,4,7)),e.b}function iI(e){return e.j.c.length=0,Vue(e.c),lLt(e.a),e}function K5(e){return e.e==m8&&VPt(e,Sqt(e.g,e.b)),e.e}function oI(e){return e.f==m8&&XPt(e,pYt(e.g,e.b)),e.f}function yr(e,t,n,i){return Het(e,t,n,!1),fj(e,i),e}function mqe(e,t){this.b=e,oG.call(this,e,t),DUe(this)}function vqe(e,t){this.b=e,Pce.call(this,e,t),NUe(this)}function eS(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function Wue(e,t){this.b=e,this.c=t,this.a=new G3(this.b)}function Ao(e,t){return Zt(t,e.length),e.charCodeAt(t)}function ONt(e,t){Ade(e,le(u1(t,"x")),le(u1(t,"y")))}function _Nt(e,t){Ade(e,le(u1(t,"x")),le(u1(t,"y")))}function Ar(e,t){return lg(e),new xt(e,new rfe(t,e.a))}function Rs(e,t){return lg(e),new xt(e,new Hae(t,e.a))}function Om(e,t){return lg(e),new lce(e,new MJe(t,e.a))}function YA(e,t){return lg(e),new cce(e,new PJe(t,e.a))}function RNt(e,t){return new Kqe(u(qn(e),50),u(qn(t),50))}function ANt(e,t){return Kr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function yqe(e,t,n){n.a?sc(e,t.b-e.f/2):oc(e,t.a-e.g/2)}function LNt(e,t){return Kr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function jNt(e,t){return $se(),Kr((sn(e),e),(sn(t),t))}function $Nt(e){return e!=null&&mT(XB,e.toLowerCase())}function Vue(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function _y(e){var t;return t=e.b,!t&&(e.b=t=new Rje(e)),t}function wG(e){var t;return t=yUt(e),t||null}function kqe(e,t){var n,i;return n=e/t,i=Wi(n),n>i&&++i,i}function DNt(e,t,n){var i;i=u(e.d.Kb(n),159),i&&i.Nb(t)}function NNt(e,t,n){Fsn(e.a,n),wGt(n),ltn(e.b,n),sln(t,n)}function JA(e,t,n,i){this.a=e,this.c=t,this.b=n,this.d=i}function que(e,t,n,i){this.c=e,this.b=t,this.a=n,this.d=i}function Cqe(e,t,n,i){this.c=e,this.b=t,this.d=n,this.a=i}function ia(e,t,n,i){this.c=e,this.d=t,this.b=n,this.a=i}function Sqe(e,t,n,i){this.a=e,this.d=t,this.c=n,this.b=i}function mG(e,t,n,i){this.a=e,this.e=t,this.d=n,this.c=i}function xqe(e,t,n,i){this.a=e,this.c=t,this.d=n,this.b=i}function vG(e,t,n){this.a=kge,this.d=e,this.b=t,this.c=n}function u4(e,t,n,i){Fn.call(this,e,t),this.a=n,this.b=i}function Eqe(e,t){this.d=(sn(e),e),this.a=16449,this.c=t}function Tqe(e){this.a=new Le,this.e=be(Bn,_e,53,e,0,2)}function BNt(e){e.Ug("No crossing minimization",1),e.Vg()}function Iqe(){Xs.call(this,"There is no more element.")}function Mqe(e,t,n,i){this.a=e,this.b=t,this.c=n,this.d=i}function Pqe(e,t,n,i){this.a=e,this.b=t,this.c=n,this.d=i}function p0(e,t,n,i){this.e=e,this.a=t,this.c=n,this.d=i}function Oqe(e,t,n,i){this.a=e,this.c=t,this.d=n,this.b=i}function _qe(e,t,n,i){na(),OJe.call(this,t,n,i),this.a=e}function Rqe(e,t,n,i){na(),OJe.call(this,t,n,i),this.a=e}function yG(e,t,n){var i,s;return i=lge(e),s=t.ti(n,i),s}function e1(e){var t,n;return n=(t=new yb,t),ek(n,e),n}function kG(e){var t,n;return n=(t=new yb,t),a1e(n,e),n}function FNt(e,t){var n;return n=pn(e.f,t),Kfe(t,n),null}function Aqe(e){return!e.b&&(e.b=new Se(Ti,e,12,3)),e.b}function Lqe(e){return HC(e==null||iG(e)&&e.Tm!==xe),e}function QA(e){return e.n&&(e.e!==Dat&&e.je(),e.j=null),e}function U5(e){if(au(e.d),e.d.d!=e.c)throw B(new ea)}function Xue(e){return yn(e.b0&&pit(this)}function jqe(e,t){this.a=e,BAt.call(this,e,u(e.d,15).fd(t))}function zNt(e,t){return Kr(Ac(e)*xu(e),Ac(t)*xu(t))}function HNt(e,t){return Kr(Ac(e)*xu(e),Ac(t)*xu(t))}function KNt(e){return fw(e)&&qe(Ve(Ie(e,(Ue(),X0))))}function UNt(e,t){return It(e,u(A(t,(Ue(),N8)),17),t)}function GNt(e,t){return u(A(e,(Oe(),i6)),15).Fc(t),t}function Yue(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function $qe(e,t,n,i){this.b=e,this.c=i,rA.call(this,t,n)}function WNt(e,t,n){e.i=0,e.e=0,t!=n&&ktt(e,t,n)}function VNt(e,t,n){e.i=0,e.e=0,t!=n&&Ctt(e,t,n)}function qNt(e,t,n){return hC(),kVt(u(pn(e.e,t),529),n)}function a4(e){var t;return t=e.f,t||(e.f=new x5(e,e.c))}function Dqe(e,t){return zy(e.j,t.s,t.c)+zy(t.e,e.s,e.c)}function Nqe(e,t){e.e&&!e.e.a&&(EBe(e.e,t),Nqe(e.e,t))}function Bqe(e,t){e.d&&!e.d.a&&(EBe(e.d,t),Bqe(e.d,t))}function XNt(e,t){return-Kr(Ac(e)*xu(e),Ac(t)*xu(t))}function YNt(e){return u(e.ld(),149).Pg()+":"+Ks(e.md())}function Fqe(){eq(this,new coe),this.wb=(Jp(),Wt),k5()}function zqe(e){this.b=new Le,zi(this.b,this.b),this.a=e}function Jue(e,t){new Zr,this.a=new Oc,this.b=e,this.c=t}function Wb(){Wb=U,Ome=new qt,JJ=new qt,_me=new on}function Ot(){Ot=U,Yo=new ft,Rh=new Jt,DD=new un}function Que(){Que=U,Bpt=new _o,zpt=new hue,Fpt=new Ro}function f4(){f4=U,GD=new Le,bQ=new On,gQ=new Le}function ZA(e,t){if(e==null)throw B(new F3(t));return e}function eL(e){return!e.a&&(e.a=new Se(xr,e,10,11)),e.a}function $r(e){return!e.q&&(e.q=new Se(Ga,e,11,10)),e.q}function me(e){return!e.s&&(e.s=new Se(Ec,e,21,17)),e.s}function JNt(e){return qn(e),Ort(new gn(wn(e.a.Kc(),new $)))}function QNt(e,t){return Tu(e),Tu(t),jFe(u(e,22),u(t,22))}function g0(e,t,n){var i,s;i=_ce(n),s=new eR(i),jf(e,t,s)}function SG(e,t,n,i,s,c){kI.call(this,e,t,n,i,s,c?-2:-1)}function Hqe(e,t,n,i){mle.call(this,t,n),this.b=e,this.a=i}function Kqe(e,t){vOt.call(this,new tG(e)),this.a=e,this.b=t}function Zue(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function ZNt(e){tf();var t;t=u(e.g,10),t.n.a=e.d.c+t.d.b}function G5(){G5=U;var e,t;t=!sqt(),e=new wt,WJ=t?new et:e}function xG(e){return Ot(),te(e,59)?new yK(e):new fA(e)}function tL(e){return te(e,16)?new KC(u(e,16)):R$t(e.Kc())}function eBt(e){return new FUe(e,e.e.Rd().gc()*e.c.Rd().gc())}function tBt(e){return new zUe(e,e.e.Rd().gc()*e.c.Rd().gc())}function eae(e){return e&&e.hashCode?e.hashCode():jb(e)}function EG(e,t){return t==null?!!ss(e.f,null):wDt(e.i,t)}function nBt(e,t){var n;return n=$le(e.a,t),n&&(t.d=null),n}function Uqe(e,t,n){return e.f?e.f.ef(t,n):!1}function sI(e,t,n,i){hi(e.c[t.g],n.g,i),hi(e.c[n.g],t.g,i)}function TG(e,t,n,i){hi(e.c[t.g],t.g,n),hi(e.b[t.g],t.g,i)}function rBt(e,t,n){return le(pe(n.a))<=e&&le(pe(n.b))>=t}function Gqe(e,t){this.g=e,this.d=H(F(Lh,1),fp,10,0,[t])}function Wqe(e){this.c=e,this.b=new z1(u(qn(new Fs),50))}function Vqe(e){this.c=e,this.b=new z1(u(qn(new Zxe),50))}function qqe(e){this.b=e,this.a=new z1(u(qn(new ar),50))}function Xqe(){this.b=new _i,this.d=new Zr,this.e=new ese}function tae(){this.c=new po,this.d=new po,this.e=new po}function Vb(){this.a=new Oc,this.b=(Nu(3,iv),new ql(3))}function W1(e,t){this.e=e,this.a=Ji,this.b=Jlt(t),this.c=t}function nL(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function Yqe(e,t,n,i,s,c){this.a=e,mW.call(this,t,n,i,s,c)}function Jqe(e,t,n,i,s,c){this.a=e,mW.call(this,t,n,i,s,c)}function Zp(e,t,n,i,s,c,d){return new KG(e.e,t,n,i,s,c,d)}function iBt(e,t,n){return n>=0&&Et(e.substr(n,t.length),t)}function Qqe(e,t){return te(t,149)&&Et(e.b,u(t,149).Pg())}function oBt(e,t){return e.a?t.Gh().Kc():u(t.Gh(),71).Ii()}function Zqe(e,t){var n;return n=e.b.Qc(t),VYe(n,e.b.gc()),n}function lI(e,t){if(e==null)throw B(new F3(t));return e}function As(e){return e.u||(cu(e),e.u=new RGe(e,e)),e.u}function IG(e){this.a=(Ot(),te(e,59)?new yK(e):new fA(e))}function wc(e){var t;return t=u(Yt(e,16),29),t||e.ii()}function rL(e,t){var n;return n=l0(e.Rm),t==null?n:n+": "+t}function oa(e,t,n){return mo(t,n,e.length),e.substr(t,n-t)}function eXe(e,t){bA.call(this),dfe(this),this.a=e,this.c=t}function sBt(e){e&&rL(e,e.ie())}function lBt(e){gR(),w.setTimeout(function(){throw e},0)}function cBt(){return Ej(),H(F(Bme,1),Te,436,0,[oQ,Nme])}function uBt(){return RL(),H(F(zme,1),Te,435,0,[Fme,sQ])}function aBt(){return AL(),H(F(gve,1),Te,432,0,[wQ,WD])}function fBt(){return ck(),H(F(F0t,1),Te,517,0,[IP,_Q])}function dBt(){return hL(),H(F(Qye,1),Te,429,0,[lZ,Jye])}function hBt(){return _I(),H(F($ye,1),Te,428,0,[CN,jye])}function pBt(){return xL(),H(F(Mye,1),Te,431,0,[Iye,WQ])}function gBt(){return PI(),H(F(U3e,1),Te,430,0,[HZ,KZ])}function bBt(){return oS(),H(F(_vt,1),Te,531,0,[ux,cx])}function wBt(){return qL(),H(F(F4e,1),Te,501,0,[dB,D2])}function mBt(){return Hd(),H(F(Nvt,1),Te,523,0,[Hw,mp])}function vBt(){return Zf(),H(F(Fvt,1),Te,522,0,[eb,wd])}function yBt(){return Af(),H(F(tyt,1),Te,528,0,[Rv,Mg])}function kBt(){return xI(),H(F(Bye,1),Te,488,0,[Nye,xN])}function CBt(){return mL(),H(F(P6e,1),Te,491,0,[Aee,M6e])}function SBt(){return RW(),H(F(j6e,1),Te,492,0,[A6e,L6e])}function xBt(){return aL(),H(F(B4e,1),Te,433,0,[fee,N4e])}function EBt(){return TL(),H(F(H4e,1),Te,434,0,[z4e,wee])}function TBt(){return Xb(),H(F(cyt,1),Te,465,0,[Pg,L2])}function IBt(){return vI(),H(F(D6e,1),Te,438,0,[Nee,SB])}function MBt(){return zI(),H(F(o5e,1),Te,437,0,[EB,i5e])}function PBt(){return DU(),H(F(FB,1),Te,347,0,[yke,kke])}function iL(e,t,n,i){return n>=0?e.Uh(t,n,i):e.Ch(null,n,i)}function cI(e){return e.b.b==0?e.a.sf():HU(e.b)}function OBt(e){if(e.p!=5)throw B(new Pc);return Vn(e.f)}function _Bt(e){if(e.p!=5)throw B(new Pc);return Vn(e.k)}function nae(e){return fe(e.a)===fe((OW(),Cte))&&Pln(e),e.a}function RBt(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=RA(e.c,e.b,e.a))}function ABt(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=RA(e.c,e.b,e.a))}function tXe(e,t){_Pt(this,new Pe(e.a,e.b)),RPt(this,JT(t))}function qb(){yOt.call(this,new U3(Dm(12))),zle(!0),this.a=2}function MG(e,t,n){Ir(),vb.call(this,e),this.b=t,this.a=n}function rae(e,t,n){na(),sR.call(this,t),this.a=e,this.b=n}function nXe(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function LBt(e){return e.b==0?null:(yn(e.b!=0),ua(e,e.a.a))}function jl(e,t){return t==null?_s(ss(e.f,null)):mC(e.i,t)}function rXe(e,t,n,i,s){return new nq(e,(Q5(),tQ),t,n,i,s)}function oL(e,t){return UYe(t),iUt(e,be(Bn,ur,28,t,15,1),t)}function sL(e,t){return ZA(e,"set1"),ZA(t,"set2"),new Wze(e,t)}function jBt(e,t){var n=GJ[e.charCodeAt(0)];return n??e}function iXe(e,t){var n,i;return n=t,i=new Pn,Aut(e,n,i),i.d}function PG(e,t,n,i){var s;s=new jGe,t.a[n.g]=s,l4(e.b,i,s)}function $Bt(e,t){var n;return n=tUt(e.f,t),Or(gA(n),e.f.d)}function uI(e){var t;dUt(e.a),fUe(e.a),t=new rR(e.a),Kde(t)}function DBt(e,t){zlt(e,!0),ic(e.e.Rf(),new jce(e,!0,t))}function NBt(e,t){return f4(),e==ri(Sh(t))||e==ri(ug(t))}function BBt(e,t){return c1(),u(A(t,(sl(),ch)),17).a==e}function Wi(e){return Math.max(Math.min(e,Pr),-2147483648)|0}function oXe(e){this.a=u(qn(e),277),this.b=(Ot(),new qle(e))}function sXe(e,t,n){this.i=new Le,this.b=e,this.g=t,this.a=n}function iae(e,t,n){this.a=new Le,this.e=e,this.f=t,this.c=n}function lL(e,t,n){this.c=new Le,this.e=e,this.f=t,this.b=n}function lXe(e){bA.call(this),dfe(this),this.a=e,this.c=!0}function FBt(e){function t(){}return t.prototype=e||{},new t}function zBt(e){if(e.Ae())return null;var t=e.n;return _D[t]}function aI(e){return e.Db>>16!=3?null:u(e.Cb,27)}function Qf(e){return e.Db>>16!=9?null:u(e.Cb,27)}function cXe(e){return e.Db>>16!=6?null:u(e.Cb,74)}function Xb(){Xb=U,Pg=new sle(F4,0),L2=new sle(z4,1)}function Hd(){Hd=U,Hw=new rle(z4,0),mp=new rle(F4,1)}function Zf(){Zf=U,eb=new ile(BX,0),wd=new ile("UP",1)}function uXe(){uXe=U,lpt=Hn((dR(),H(F(spt,1),Te,549,0,[KJ])))}function aXe(e){var t;return t=new vR(Dm(e.length)),nde(t,e),t}function fXe(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function HBt(e,t){return Zet(e,t)?(VZe(e),!0):!1}function t1(e,t){if(t==null)throw B(new j3);return cqt(e,t)}function fI(e,t){var n;n=e.q.getHours(),e.q.setDate(t),YS(e,n)}function oae(e,t,n){var i;i=e.Ih(t),i>=0?e.bi(i,n):rpe(e,t,n)}function dXe(e,t){var n;return n=e.Ih(t),n>=0?e.Wh(n):cq(e,t)}function hXe(e,t){var n;for(qn(t),n=e.a;n;n=n.c)t.Yd(n.g,n.i)}function OG(e,t,n){var i;i=vtt(e,t,n),e.b=new YL(i.c.length)}function Ry(e,t,n){cL(),e&&vr(vte,e,t),e&&vr(xO,e,n)}function KBt(e,t){return kA(),Gt(),u(t.a,17).a0}function sae(e){var t;return t=e.d,t=e.bj(e.f),Dn(e,t),t.Ob()}function pXe(e,t){var n;return n=new aue(t),zit(n,e),new Vc(n)}function WBt(e){if(e.p!=0)throw B(new Pc);return OC(e.f,0)}function VBt(e){if(e.p!=0)throw B(new Pc);return OC(e.k,0)}function gXe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function W5(e){return e.Db>>16!=6?null:u(e.Cb,241)}function bXe(e){return e.Db>>16!=7?null:u(e.Cb,167)}function ri(e){return e.Db>>16!=11?null:u(e.Cb,27)}function _m(e){return e.Db>>16!=17?null:u(e.Cb,29)}function wXe(e){return e.Db>>16!=3?null:u(e.Cb,155)}function lae(e){var t;return lg(e),t=new _i,Ar(e,new S$e(t))}function mXe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.ve(t))}function qBt(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),YS(e,n)}function vXe(e,t){uA(this),this.f=t,this.g=e,QA(this),this.je()}function yXe(e,t){this.a=e,this.c=xo(this.a),this.b=new nL(t)}function kXe(e,t,n){this.a=t,this.c=e,this.b=(qn(n),new Vc(n))}function CXe(e,t,n){this.a=t,this.c=e,this.b=(qn(n),new Vc(n))}function SXe(e){this.a=e,this.b=be(Mvt,_e,2043,e.e.length,0,2)}function xXe(){this.a=new Dd,this.e=new _i,this.g=0,this.i=0}function cL(){cL=U,vte=new On,xO=new On,H_t(Ept,new hRe)}function EXe(){EXe=U,dvt=Lc(new Li,(Lo(),Ds),(Ko(),MP))}function cae(){cae=U,hvt=Lc(new Li,(Lo(),Ds),(Ko(),MP))}function TXe(){TXe=U,gvt=Lc(new Li,(Lo(),Ds),(Ko(),MP))}function IXe(){IXe=U,Avt=cr(new Li,(Lo(),Ds),(Ko(),z9))}function Lu(){Lu=U,$vt=cr(new Li,(Lo(),Ds),(Ko(),z9))}function MXe(){MXe=U,Dvt=cr(new Li,(Lo(),Ds),(Ko(),z9))}function RG(){RG=U,Hvt=cr(new Li,(Lo(),Ds),(Ko(),z9))}function tS(e,t,n,i,s,c){return new s1(e.e,t,e.Lj(),n,i,s,c)}function ks(e,t,n){return t==null?Jl(e.f,null,n):ow(e.i,t,n)}function Fo(e,t){e.c&&mc(e.c.g,e),e.c=t,e.c&&je(e.c.g,e)}function bo(e,t){e.c&&mc(e.c.a,e),e.c=t,e.c&&je(e.c.a,e)}function Js(e,t){e.i&&mc(e.i.j,e),e.i=t,e.i&&je(e.i.j,e)}function ao(e,t){e.d&&mc(e.d.e,e),e.d=t,e.d&&je(e.d.e,e)}function AG(e,t){e.a&&mc(e.a.k,e),e.a=t,e.a&&je(e.a.k,e)}function LG(e,t){e.b&&mc(e.b.f,e),e.b=t,e.b&&je(e.b.f,e)}function PXe(e,t){sNt(e,e.b,e.c),u(e.b.b,68),t&&u(t.b,68).b}function XBt(e,t){return Kr(u(e.c,65).c.e.b,u(t.c,65).c.e.b)}function YBt(e,t){return Kr(u(e.c,65).c.e.a,u(t.c,65).c.e.a)}function JBt(e){return YW(),Gt(),u(e.a,86).d.e!=0}function uL(e,t){te(e.Cb,184)&&(u(e.Cb,184).tb=null),Xl(e,t)}function jG(e,t){te(e.Cb,90)&&Ym(cu(u(e.Cb,90)),4),Xl(e,t)}function QBt(e,t){Lde(e,t),te(e.Cb,90)&&Ym(cu(u(e.Cb,90)),2)}function ZBt(e,t){var n,i;n=t.c,i=n!=null,i&&c4(e,new Pm(t.c))}function OXe(e){var t,n;return n=(k5(),t=new yb,t),ek(n,e),n}function _Xe(e){var t,n;return n=(k5(),t=new yb,t),ek(n,e),n}function RXe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function eFt(e,t,n){return je(e.a,(qA(),RV(t,n),new Ib(t,n))),e}function $l(e,t){return rs(),aW(t)?new MA(t,e):new $T(t,e)}function dI(e){return Vd(),yl(e,0)>=0?cg(e):YC(cg(J1(e)))}function tFt(e){var t;return t=u(TA(e.b),9),new ra(e.a,t,e.c)}function AXe(e,t){var n;return n=u(Hm(a4(e.a),t),16),n?n.gc():0}function LXe(e,t,n){var i;lnt(t,n,e.c.length),i=n-t,Ose(e.c,t,i)}function V1(e,t,n){lnt(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function d4(e){this.c=new Zr,this.b=e.b,this.d=e.c,this.a=e.a}function $G(e){this.a=w.Math.cos(e),this.b=w.Math.sin(e)}function b0(e,t,n,i){this.c=e,this.d=i,AG(this,t),LG(this,n)}function uae(e,t){mOt.call(this,new U3(Dm(e))),Nu(t,_at),this.a=t}function jXe(e,t,n){return new nq(e,(Q5(),eQ),null,!1,t,n)}function $Xe(e,t,n){return new nq(e,(Q5(),nQ),t,n,null,!1)}function nFt(){return Jc(),H(F(Es,1),Te,108,0,[Dme,Gs,hv])}function rFt(){return vc(),H(F(Ypt,1),Te,472,0,[zf,Sg,df])}function iFt(){return Yc(),H(F(qpt,1),Te,471,0,[oh,Cg,ff])}function oFt(){return $f(),H(F(pv,1),Te,237,0,[ul,Ql,al])}function sFt(){return cS(),H(F(Ove,1),Te,391,0,[kQ,yQ,CQ])}function lFt(){return nw(),H(F(DQ,1),Te,372,0,[Ow,xg,Pw])}function cFt(){return fS(),H(F(Oye,1),Te,322,0,[K9,_P,Pye])}function uFt(){return zL(),H(F(Rye,1),Te,351,0,[_ye,kN,VQ])}function aFt(){return E0(),H(F(wbt,1),Te,460,0,[YQ,R8,C2])}function fFt(){return hk(),H(F(sZ,1),Te,299,0,[iZ,oZ,RP])}function dFt(){return l1(),H(F(Ebt,1),Te,311,0,[AP,x2,t6])}function hFt(){return kS(),H(F(L3e,1),Te,390,0,[jZ,A3e,QN])}function pFt(){return ls(),H(F(ovt,1),Te,463,0,[ox,eu,Zl])}function gFt(){return tj(),H(F(V3e,1),Te,387,0,[G3e,UZ,W3e])}function bFt(){return mS(),H(F(q3e,1),Te,349,0,[WZ,GZ,UP])}function wFt(){return kk(),H(F(Y3e,1),Te,350,0,[VZ,X3e,sx])}function mFt(){return FL(),H(F(Z3e,1),Te,352,0,[Q3e,qZ,J3e])}function vFt(){return oj(),H(F(e4e,1),Te,388,0,[XZ,G8,_v])}function yFt(){return tw(),H(F(Tvt,1),Te,464,0,[GP,lx,nB])}function ed(e){return Zs(H(F(to,1),_e,8,0,[e.i.n,e.n,e.a]))}function kFt(){return vS(),H(F(w4e,1),Te,392,0,[b4e,QZ,VP])}function DXe(){DXe=U,Dyt=Lc(new Li,(P4(),fx),(qS(),l4e))}function aL(){aL=U,fee=new lle("DFS",0),N4e=new lle("BFS",1)}function NXe(e,t,n){var i;i=new kPe,i.b=t,i.a=n,++t.b,je(e.d,i)}function CFt(e,t,n){var i;i=new Wo(n.d),Or(i,e),Ade(t,i.a,i.b)}function SFt(e,t){_Ue(e,Vn(Yi(Bb(t,24),E$)),Vn(Yi(t,E$)))}function Rm(e,t){if(e<0||e>t)throw B(new vs(Oge+e+_ge+t))}function _t(e,t){if(e<0||e>=t)throw B(new vs(Oge+e+_ge+t))}function Zt(e,t){if(e<0||e>=t)throw B(new wse(Oge+e+_ge+t))}function Mt(e,t){this.b=(sn(e),e),this.a=t&ov?t:t|64|Xd}function aae(e){var t;return lg(e),t=(Wb(),Wb(),JJ),$L(e,t)}function xFt(e,t,n){var i;return i=ZS(e,t,!1),i.b<=t&&i.a<=n}function EFt(){return IL(),H(F(R6e,1),Te,439,0,[Lee,_6e,O6e])}function TFt(){return pj(),H(F(h6e,1),Te,394,0,[d6e,Pee,f6e])}function IFt(){return yj(),H(F(a6e,1),Te,445,0,[QP,bB,See])}function MFt(){return _j(),H(F(p2t,1),Te,456,0,[xee,Tee,Eee])}function PFt(){return GI(),H(F(G4e,1),Te,393,0,[hB,K4e,U4e])}function OFt(){return ej(),H(F(u6e,1),Te,300,0,[Cee,c6e,l6e])}function _Ft(){return a1(),H(F(dke,1),Te,346,0,[AB,Cp,Ox])}function RFt(){return JI(),H(F(jee,1),Te,444,0,[yB,kB,CB])}function AFt(){return od(),H(F(eke,1),Te,278,0,[Q8,$v,Z8])}function LFt(){return S4(),H(F(vke,1),Te,280,0,[mke,Nv,BB])}function Yb(e){return qn(e),te(e,16)?new Vc(u(e,16)):j5(e.Kc())}function fae(e,t){return e&&e.equals?e.equals(t):fe(e)===fe(t)}function Yi(e,t){return rg(TDt(zs(e)?_a(e):e,zs(t)?_a(t):t))}function Rf(e,t){return rg(IDt(zs(e)?_a(e):e,zs(t)?_a(t):t))}function DG(e,t){return rg(MDt(zs(e)?_a(e):e,zs(t)?_a(t):t))}function jFt(e,t){var n;return n=(sn(e),e).g,oce(!!n),sn(t),n(t)}function BXe(e,t){var n,i;return i=N5(e,t),n=e.a.fd(i),new Uze(e,n)}function $Ft(e){return e.Db>>16!=6?null:u(fq(e),241)}function DFt(e){if(e.p!=2)throw B(new Pc);return Vn(e.f)&Di}function NFt(e){if(e.p!=2)throw B(new Pc);return Vn(e.k)&Di}function D(e){return yn(e.ai?1:0}function KXe(e,t){var n,i;return n=sW(t),i=n,u(pn(e.c,i),17).a}function NG(e,t,n){var i;i=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=i}function XFt(e,t,n){var i;e.n&&t&&n&&(i=new iRe,je(e.e,i))}function BG(e,t){if(Fi(e.a,t),t.d)throw B(new Xs(eft));t.d=e}function pae(e,t){this.a=new Le,this.d=new Le,this.f=e,this.c=t}function UXe(){this.c=new IUe,this.a=new AJe,this.b=new GBe,uHe()}function GXe(){k4(),this.b=new On,this.a=new On,this.c=new Le}function WXe(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function VXe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function qXe(e,t,n,i,s,c){pfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function XXe(e,t,n,i,s,c){gfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function YXe(e,t,n,i,s,c){Rae.call(this,e,t,n,i,s),c&&(this.o=-2)}function JXe(e,t,n,i,s,c){mfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function QXe(e,t,n,i,s,c){Aae.call(this,e,t,n,i,s),c&&(this.o=-2)}function ZXe(e,t,n,i,s,c){bfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function eYe(e,t,n,i,s,c){wfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function tYe(e,t,n,i,s,c){Lae.call(this,e,t,n,i,s),c&&(this.o=-2)}function nYe(e,t,n,i){sR.call(this,n),this.b=e,this.c=t,this.d=i}function rYe(e,t){this.f=e,this.a=(X5(),QB),this.c=QB,this.b=t}function iYe(e,t){this.g=e,this.d=(X5(),ZB),this.a=ZB,this.b=t}function gae(e,t){!e.c&&(e.c=new mi(e,0)),g$(e.c,(Fr(),Hx),t)}function YFt(e,t){return Rtn(e,t,te(t,102)&&(u(t,19).Bb&es)!=0)}function JFt(e,t){return NVe(bl(e.q.getTime()),bl(t.q.getTime()))}function oYe(e){return GU(e.e.Rd().gc()*e.c.Rd().gc(),16,new Pje(e))}function QFt(e){return!!e.u&&Il(e.u.a).i!=0&&!(e.n&&MV(e.n))}function ZFt(e){return!!e.a&&uu(e.a.a).i!=0&&!(e.b&&PV(e.b))}function bae(e,t){return t==0?!!e.o&&e.o.f!=0:CV(e,t)}function ezt(e,t,n){var i;return i=u(e.Zb().xc(t),16),!!i&&i.Hc(n)}function sYe(e,t,n){var i;return i=u(e.Zb().xc(t),16),!!i&&i.Mc(n)}function lYe(e,t){var n;return n=1-t,e.a[n]=XL(e.a[n],n),XL(e,t)}function cYe(e,t){var n,i;return i=Yi(e,us),n=nf(t,32),Rf(n,i)}function uYe(e,t,n){var i;i=(qn(e),new Vc(e)),nYt(new kXe(i,t,n))}function hI(e,t,n){var i;i=(qn(e),new Vc(e)),rYt(new CXe(i,t,n))}function il(e,t,n,i,s,c){return Het(e,t,n,c),Ede(e,i),Tde(e,s),e}function aYe(e,t,n,i){return e.a+=""+oa(t==null?kc:Ks(t),n,i),e}function wo(e,t){this.a=e,Q7.call(this,e),Rm(t,e.gc()),this.b=t}function fYe(e){this.a=be(Ji,Bt,1,Qfe(w.Math.max(8,e))<<1,5,1)}function pI(e){return u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199)}function Kd(e){return u(ld(e,be(PQ,nY,18,e.c.length,0,1)),483)}function dYe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function nS(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function hYe(e){return yn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function tzt(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Au(e.d),gm(e.e.a.c,0)}function pYe(e,t){var n;e.e=new lse,n=Qm(t),Pi(n,e.c),Olt(e,n,0)}function ji(e,t,n,i){var s;s=new toe,s.a=t,s.b=n,s.c=i,ir(e.a,s)}function Re(e,t,n,i){var s;s=new toe,s.a=t,s.b=n,s.c=i,ir(e.b,s)}function gYe(e,t,n){if(e<0||tn)throw B(new vs(pZt(e,t,n)))}function gI(e,t){if(e<0||e>=t)throw B(new vs(GZt(e,t)));return e}function nzt(e){if(!("stack"in e))try{throw e}catch{}return e}function Ay(e){return hC(),te(e.g,10)?u(e.g,10):null}function rzt(e){return _y(e).dc()?!1:(TRt(e,new ee),!0)}function m0(e){var t;return zs(e)?(t=e,t==-0?0:t):mKt(e)}function bYe(e,t){return te(t,44)?LV(e.a,u(t,44)):!1}function wYe(e,t){return te(t,44)?LV(e.a,u(t,44)):!1}function mYe(e,t){return te(t,44)?LV(e.a,u(t,44)):!1}function wae(e){var t;return Qp(e),t=new Rt,gy(e.a,new y$e(t)),t}function mae(){var e,t,n;return t=(n=(e=new yb,e),n),je(t8e,t),t}function fL(e){var t;return Qp(e),t=new an,gy(e.a,new k$e(t)),t}function izt(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function vYe(e){IW.call(this,e,(Q5(),ZJ),null,!1,null,!1)}function yYe(){yYe=U,Mgt=Hn((ER(),H(F(cve,1),Te,489,0,[dQ])))}function kYe(){kYe=U,n4e=hqe(Ae(1),Ae(4)),t4e=hqe(Ae(1),Ae(2))}function ozt(e,t){return new BU(t,BC(xo(t.e),e,e),(Gt(),!0))}function dL(e){return new ql((Nu(e,rX),LL(zo(zo(5,e),e/10|0))))}function szt(e){return GU(e.e.Rd().gc()*e.c.Rd().gc(),273,new Mje(e))}function CYe(e){return u(ld(e,be(D0t,Rft,12,e.c.length,0,1)),2042)}function lzt(e){return Lu(),!Zo(e)&&!(!Zo(e)&&e.c.i.c==e.d.i.c)}function czt(e,t){return v4(),u(A(t,(sl(),j2)),17).a>=e.gc()}function rS(e,t){Uun(t,e),Jce(e.d),Jce(u(A(e,(Ue(),GN)),214))}function FG(e,t){Gun(t,e),Qce(e.d),Qce(u(A(e,(Ue(),GN)),214))}function uzt(e,t,n){e.d&&mc(e.d.e,e),e.d=t,e.d&&Nb(e.d.e,n,e)}function azt(e,t,n){return n.f.c.length>0?Tue(e.a,t,n):Tue(e.b,t,n)}function fzt(e,t,n){var i;i=Mqt();try{return QAt(e,t,n)}finally{rHt(i)}}function Jb(e,t){var n,i;return n=t1(e,t),i=null,n&&(i=n.pe()),i}function iS(e,t){var n,i;return n=t1(e,t),i=null,n&&(i=n.se()),i}function V5(e,t){var n,i;return n=$m(e,t),i=null,n&&(i=n.se()),i}function n1(e,t){var n,i;return n=t1(e,t),i=null,n&&(i=w1e(n)),i}function dzt(e,t,n){var i;return i=Pk(n),a$(e.g,i,t),a$(e.i,t,n),t}function vae(e,t,n){this.d=new ADe(this),this.e=e,this.i=t,this.f=n}function SYe(e,t,n,i){this.e=null,this.c=e,this.d=t,this.a=n,this.b=i}function xYe(e,t,n,i){kUe(this),this.c=e,this.e=t,this.f=n,this.b=i}function yae(e,t,n,i){this.d=e,this.n=t,this.g=n,this.o=i,this.p=-1}function EYe(e,t,n,i){return te(n,59)?new tGe(e,t,n,i):new yue(e,t,n,i)}function q5(e){return te(e,16)?u(e,16).dc():!e.Kc().Ob()}function TYe(e){if(e.e.g!=e.b)throw B(new ea);return!!e.c&&e.d>0}function _n(e){return yn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function kae(e,t){sn(t),hi(e.a,e.c,t),e.c=e.c+1&e.a.length-1,Yrt(e)}function eg(e,t){sn(t),e.b=e.b-1&e.a.length-1,hi(e.a,e.b,t),Yrt(e)}function IYe(e){var t;t=e.Gh(),this.a=te(t,71)?u(t,71).Ii():t.Kc()}function hzt(e){return new Mt(QKt(u(e.a.md(),16).gc(),e.a.ld()),16)}function MYe(){MYe=U,G2t=Hn((MR(),H(F($6e,1),Te,490,0,[$ee])))}function PYe(){PYe=U,V2t=Hn((PR(),H(F(W2t,1),Te,558,0,[Dee])))}function OYe(){OYe=U,f3t=Hn((pC(),H(F(r5e,1),Te,539,0,[nO])))}function pzt(){return M0(),H(F(Lve,1),Te,389,0,[wv,Ave,IQ,MQ])}function gzt(){return Q5(),H(F(ND,1),Te,304,0,[ZJ,eQ,tQ,nQ])}function bzt(){return T4(),H(F(Sgt,1),Te,332,0,[yP,vP,kP,CP])}function wzt(){return RS(),H(F(Tgt,1),Te,406,0,[SP,HD,KD,xP])}function mzt(){return iw(),H(F(kgt,1),Te,417,0,[mP,wP,aQ,fQ])}function vzt(){return pk(),H(F(E0t,1),Te,416,0,[Mw,bv,gv,w2])}function yzt(){return sd(),H(F(tbt,1),Te,421,0,[e6,E8,T8,$Q])}function kzt(){return ij(),H(F(U0t,1),Te,371,0,[jQ,gN,bN,PP])}function Czt(){return Gm(),H(F(DZ,1),Te,203,0,[ZN,$Z,A2,R2])}function Szt(){return Gd(),H(F(K3e,1),Te,284,0,[wp,H3e,FZ,zZ])}function xzt(e){var t;return e.j==(ze(),Mn)&&(t=mst(e),Rc(t,fn))}function Ezt(e,t){var n;n=t.a,Fo(n,t.c.d),ao(n,t.d.d),Fm(n.a,e.n)}function Cae(e,t){var n;return n=u(id(e.b,t),67),!n&&(n=new Zr),n}function p4(e){return hC(),te(e.g,154)?u(e.g,154):null}function Tzt(e){e.a=null,e.e=null,gm(e.b.c,0),gm(e.f.c,0),e.c=null}function hL(){hL=U,lZ=new ele(r8,0),Jye=new ele("TOP_LEFT",1)}function oS(){oS=U,ux=new nle("UPPER",0),cx=new nle("LOWER",1)}function Izt(e,t){return J3(new Pe(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function _Ye(e,t){return u(Cu(Im(u(Lr(e.k,t),15).Oc(),v2)),113)}function RYe(e,t){return u(Cu(o4(u(Lr(e.k,t),15).Oc(),v2)),113)}function Mzt(){return P4(),H(F(o4e,1),Te,405,0,[sB,ax,fx,dx])}function Pzt(){return yS(),H(F(D4e,1),Te,353,0,[aee,fB,uee,cee])}function Ozt(){return jj(),H(F(s6e,1),Te,354,0,[kee,i6e,o6e,r6e])}function _zt(){return Iu(),H(F(jx,1),Te,386,0,[mO,sb,wO,Dv])}function Rzt(){return Fu(),H(F(Q3t,1),Te,291,0,[pO,Dh,Rg,hO])}function Azt(){return f1(),H(F(ate,1),Te,223,0,[ute,dO,e7,g6])}function Lzt(){return bj(),H(F(Eke,1),Te,320,0,[hte,Cke,xke,Ske])}function jzt(){return sj(),H(F(g4t,1),Te,415,0,[pte,Ike,Tke,Mke])}function $zt(e){return cL(),rc(vte,e)?u(pn(vte,e),341).Qg():null}function sa(e,t,n){return t<0?cq(e,n):u(n,69).wk().Bk(e,e.hi(),t)}function Dzt(e,t,n){var i;return i=Pk(n),a$(e.j,i,t),vr(e.k,t,n),t}function Nzt(e,t,n){var i;return i=Pk(n),a$(e.d,i,t),vr(e.e,t,n),t}function AYe(e){var t,n;return t=(Up(),n=new FH,n),e&&e$(t,e),t}function Sae(e){var t;return t=e.aj(e.i),e.i>0&&Pl(e.g,0,t,0,e.i),t}function LYe(e,t){var n;for(n=e.j.c.length;n>24}function Fzt(e){if(e.p!=1)throw B(new Pc);return Vn(e.k)<<24>>24}function zzt(e){if(e.p!=7)throw B(new Pc);return Vn(e.k)<<16>>16}function Hzt(e){if(e.p!=7)throw B(new Pc);return Vn(e.f)<<16>>16}function Ly(e,t){return t.e==0||e.e==0?$9:(zk(),wq(e,t))}function DYe(e,t){return fe(t)===fe(e)?"(this Map)":t==null?kc:Ks(t)}function Kzt(e,t,n){return eG(pe(_s(ss(e.f,t))),pe(_s(ss(e.f,n))))}function Uzt(e,t,n){var i;i=u(pn(e.g,n),60),je(e.a.c,new Gi(t,i))}function NYe(e,t,n){e.i=0,e.e=0,t!=n&&(Ctt(e,t,n),ktt(e,t,n))}function Gzt(e,t,n,i,s){var c;c=Wtn(s,n,i),je(t,NZt(s,c)),PQt(e,s,t)}function xae(e,t,n,i,s){this.i=e,this.a=t,this.e=n,this.j=i,this.f=s}function BYe(e,t){tae.call(this),this.a=e,this.b=t,je(this.a.b,this)}function FYe(e){this.b=new On,this.c=new On,this.d=new On,this.a=e}function zYe(e,t){var n;return n=new K3,e.Gd(n),n.a+="..",t.Hd(n),n.a}function HYe(e,t){var n;for(n=t;n;)$b(e,n.i,n.j),n=ri(n);return e}function KYe(e,t,n){var i;return i=Pk(n),vr(e.b,i,t),vr(e.c,t,n),t}function r1(e){var t;for(t=0;e.Ob();)e.Pb(),t=zo(t,1);return LL(t)}function yh(e,t){rs();var n;return n=u(e,69).vk(),GQt(n,t),n.xl(t)}function Wzt(e,t,n){if(n){var i=n.oe();e.a[t]=i(n)}else delete e.a[t]}function Eae(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+gg),YS(e,n)}function Vzt(e,t){return u(t==null?_s(ss(e.f,null)):mC(e.i,t),288)}function Tae(e,t){return e==(nn(),Si)&&t==Si?4:e==Si||t==Si?8:32}function pL(e,t,n){return d$(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function qzt(e,t,n){return Gk(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function Xzt(e,t,n){return Btn(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function Iae(e){e.b!=e.c&&(e.a=be(Ji,Bt,1,8,5,1),e.b=0,e.c=0)}function sS(e){return yn(e.a=0&&e.a[n]===t[n];n--);return n<0}function gL(e){var t;return e?new aue(e):(t=new Dd,EW(t,e),t)}function nHt(e,t){var n,i;i=!1;do n=ftt(e,t),i=i|n;while(n);return i}function rHt(e){e&&PKt((hse(),ume)),--RD,e&&AD!=-1&&(q_t(AD),AD=-1)}function bL(e){t1e(),_Ue(this,Vn(Yi(Bb(e,24),E$)),Vn(Yi(e,E$)))}function qYe(){qYe=U,Hpt=Hn((Ej(),H(F(Bme,1),Te,436,0,[oQ,Nme])))}function XYe(){XYe=U,Kpt=Hn((RL(),H(F(zme,1),Te,435,0,[Fme,sQ])))}function YYe(){YYe=U,Ggt=Hn((AL(),H(F(gve,1),Te,432,0,[wQ,WD])))}function JYe(){JYe=U,z0t=Hn((ck(),H(F(F0t,1),Te,517,0,[IP,_Q])))}function QYe(){QYe=U,Ibt=Hn((hL(),H(F(Qye,1),Te,429,0,[lZ,Jye])))}function ZYe(){ZYe=U,bbt=Hn((_I(),H(F($ye,1),Te,428,0,[CN,jye])))}function eJe(){eJe=U,ybt=Hn((xI(),H(F(Bye,1),Te,488,0,[Nye,xN])))}function tJe(){tJe=U,ivt=Hn((PI(),H(F(U3e,1),Te,430,0,[HZ,KZ])))}function nJe(){nJe=U,Rvt=Hn((oS(),H(F(_vt,1),Te,531,0,[ux,cx])))}function rJe(){rJe=U,dbt=Hn((xL(),H(F(Mye,1),Te,431,0,[Iye,WQ])))}function iJe(){iJe=U,$yt=Hn((aL(),H(F(B4e,1),Te,433,0,[fee,N4e])))}function oJe(){oJe=U,zyt=Hn((qL(),H(F(F4e,1),Te,501,0,[dB,D2])))}function sJe(){sJe=U,Bvt=Hn((Hd(),H(F(Nvt,1),Te,523,0,[Hw,mp])))}function lJe(){lJe=U,zvt=Hn((Zf(),H(F(Fvt,1),Te,522,0,[eb,wd])))}function cJe(){cJe=U,nyt=Hn((Af(),H(F(tyt,1),Te,528,0,[Rv,Mg])))}function uJe(){uJe=U,uyt=Hn((Xb(),H(F(cyt,1),Te,465,0,[Pg,L2])))}function aJe(){aJe=U,Uyt=Hn((TL(),H(F(H4e,1),Te,434,0,[z4e,wee])))}function fJe(){fJe=U,B2t=Hn((mL(),H(F(P6e,1),Te,491,0,[Aee,M6e])))}function dJe(){dJe=U,z2t=Hn((RW(),H(F(j6e,1),Te,492,0,[A6e,L6e])))}function hJe(){hJe=U,q2t=Hn((vI(),H(F(D6e,1),Te,438,0,[Nee,SB])))}function pJe(){pJe=U,d3t=Hn((zI(),H(F(o5e,1),Te,437,0,[EB,i5e])))}function gJe(){gJe=U,d4t=Hn((DU(),H(F(FB,1),Te,347,0,[yke,kke])))}function iHt(){return $i(),H(F(Mx,1),Te,88,0,[yd,Ns,Is,vd,Ca])}function oHt(){return ze(),H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn])}function sHt(e,t,n){return u(t==null?Jl(e.f,null,n):ow(e.i,t,n),288)}function lHt(e){return(e.k==(nn(),Si)||e.k==Oi)&&Xr(e,(Oe(),V9))}function GG(e){return e.c&&e.d?hae(e.c)+"->"+hae(e.d):"e_"+jb(e)}function Io(e,t){var n,i;for(sn(t),i=e.Kc();i.Ob();)n=i.Pb(),t.Cd(n)}function cHt(e,t){var n;n=new B3,g0(n,"x",t.a),g0(n,"y",t.b),c4(e,n)}function uHt(e,t){var n;n=new B3,g0(n,"x",t.a),g0(n,"y",t.b),c4(e,n)}function bJe(e,t){var n;for(n=t;n;)$b(e,-n.i,-n.j),n=ri(n);return e}function Pae(e,t){var n,i;for(n=t,i=0;n>0;)i+=e.a[n],n-=n&-n;return i}function la(e,t,n){var i;return i=(_t(t,e.c.length),e.c[t]),e.c[t]=n,i}function Oae(e,t,n){e.a.c.length=0,Lln(e,t,n),e.a.c.length==0||lon(e,t)}function bI(e){e.i=0,CT(e.b,null),CT(e.c,null),e.a=null,e.e=null,++e.g}function wL(){wL=U,pd=!0,Rpt=!1,Apt=!1,jpt=!1,Lpt=!1}function WG(e){wL(),!pd&&(this.c=e,this.e=!0,this.a=new Le)}function wJe(e,t){this.c=0,this.b=t,FKe.call(this,e,17493),this.a=this.c}function mJe(e){Cat(),TBe(this),this.a=new Zr,ude(this,e),ir(this.a,e)}function vJe(){gU(this),this.b=new Pe(ii,ii),this.a=new Pe(Hi,Hi)}function mL(){mL=U,Aee=new ale(s0e,0),M6e=new ale("TARGET_WIDTH",1)}function jy(e,t){return(lg(e),C5(new xt(e,new rfe(t,e.a)))).Bd(J4)}function aHt(){return Lo(),H(F(_ve,1),Te,367,0,[hf,Ah,Ol,zl,Ds])}function fHt(){return Vm(),H(F(rbt,1),Te,375,0,[OP,vN,yN,mN,wN])}function dHt(){return ip(),H(F(Lye,1),Te,348,0,[qQ,Aye,XQ,_8,O8])}function hHt(){return _S(),H(F($3e,1),Te,323,0,[j3e,NZ,BZ,rx,ix])}function pHt(){return pa(),H(F(f2e,1),Te,171,0,[DP,X9,Tg,Y9,Cv])}function gHt(){return Hj(),H(F(Hyt,1),Te,368,0,[gee,dee,bee,hee,pee])}function bHt(){return US(),H(F(H2t,1),Te,373,0,[N2,a6,kx,yx,tO])}function wHt(){return dM(),H(F(z6e,1),Te,324,0,[N6e,Bee,F6e,Fee,B6e])}function mHt(){return Nf(),H(F($h,1),Te,170,0,[Nt,qi,uh,tb,yp])}function vHt(){return Hy(),H(F(Rx,1),Te,256,0,[Ag,gO,hke,_x,pke])}function yHt(e){return gR(),function(){return fzt(e,this,arguments)}}function Zo(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function _ae(e,t){return te(t,143)?Et(e.c,u(t,143).c):!1}function cu(e){return e.t||(e.t=new bBe(e),ES(new RFe(e),0,e.t)),e.t}function yJe(e){this.b=e,hn.call(this,e),this.a=u(Yt(this.b.a,4),129)}function kJe(e){this.b=e,Z3.call(this,e),this.a=u(Yt(this.b.a,4),129)}function rf(e,t,n,i,s){_Je.call(this,t,i,s),this.c=e,this.b=n}function Rae(e,t,n,i,s){WXe.call(this,t,i,s),this.c=e,this.a=n}function Aae(e,t,n,i,s){VXe.call(this,t,i,s),this.c=e,this.a=n}function Lae(e,t,n,i,s){_Je.call(this,t,i,s),this.c=e,this.a=n}function VG(e,t){var n;return n=u(id(e.d,t),23),n||u(id(e.e,t),23)}function CJe(e,t){var n,i;return n=t.ld(),i=e.Fe(n),!!i&&gl(i.e,t.md())}function SJe(e,t){var n;return n=t.ld(),new Ib(n,e.e.pc(n,u(t.md(),16)))}function kHt(e,t){var n;return n=e.a.get(t),n??be(Ji,Bt,1,0,5,1)}function xJe(e){var t;return t=e.length,Et(cn.substr(cn.length-t,t),e)}function Sn(e){if(jn(e))return e.c=e.a,e.a.Pb();throw B(new qs)}function jae(e,t){return t==0||e.e==0?e:t>0?glt(e,t):Bnt(e,-t)}function g4(e,t){return t==0||e.e==0?e:t>0?Bnt(e,t):glt(e,-t)}function $ae(e){R_t.call(this,e==null?kc:Ks(e),te(e,82)?u(e,82):null)}function EJe(e){var t;return e.c||(t=e.r,te(t,90)&&(e.c=u(t,29))),e.c}function qG(e){var t;return t=new Vb,js(t,e),Ee(t,(Ue(),Ts),null),t}function TJe(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(nn(),Oi)&&n.k==Oi}function XG(e){var t,n,i;return t=e&hu,n=e>>22&hu,i=e<0?m1:0,nc(t,n,i)}function CHt(e){var t,n,i,s;for(n=e,i=0,s=n.length;i=0?e.Lh(i,n,!0):dw(e,t,n)}function xHt(e,t,n){return Kr(J3(_k(e),xo(t.b)),J3(_k(e),xo(n.b)))}function EHt(e,t,n){return Kr(J3(_k(e),xo(t.e)),J3(_k(e),xo(n.e)))}function THt(e,t){return w.Math.min(tg(t.a,e.d.d.c),tg(t.b,e.d.d.c))}function wI(e,t){e._i(e.i+1),$C(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function lS(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Oi(n,t),e.Ni()}function IJe(e,t,n){var i;i=new jle(e.a),pS(i,e.a.a),Jl(i.f,t,n),e.a.a=i}function Dae(e,t,n,i){var s;for(s=0;st)throw B(new vs(T1e(e,t,"index")));return e}function X1(e,t){var n;return n=(_t(t,e.c.length),e.c[t]),Ose(e.c,t,1),n}function Fae(e,t){var n,i;return n=(sn(e),e),i=(sn(t),t),n==i?0:nt.p?-1:0}function jJe(e){var t;return e.a||(t=e.r,te(t,156)&&(e.a=u(t,156))),e.a}function RHt(e,t,n){var i;return++e.e,--e.f,i=u(e.d[t].gd(n),136),i.md()}function AHt(e){var t,n;return t=e.ld(),n=u(e.md(),16),YT(n.Nc(),new _je(t))}function $Je(e,t){return rc(e.a,t)?(b4(e.a,t),!0):!1}function w4(e,t,n){return gI(t,e.e.Rd().gc()),gI(n,e.c.Rd().gc()),e.a[t][n]}function yL(e,t,n){this.a=e,this.b=t,this.c=n,je(e.t,this),je(t.i,this)}function kL(e,t,n,i){this.f=e,this.e=t,this.d=n,this.b=i,this.c=i?i.d:null}function mI(){this.b=new Zr,this.a=new Zr,this.b=new Zr,this.a=new Zr}function X5(){X5=U;var e,t;QB=(k5(),t=new uR,t),ZB=(e=new lK,e)}function LHt(e){var t;return lg(e),t=new MWe(e,e.a.e,e.a.d|4),new lce(e,t)}function DJe(e){var t;for(Qp(e),t=0;e.a.Bd(new gt);)t=zo(t,1);return t}function CL(e,t){return sn(t),e.c=0,"Initial capacity must not be negative")}function SL(){SL=U,Cx=new Br("org.eclipse.elk.labels.labelManager")}function NJe(){NJe=U,Cye=new ui("separateLayerConnections",(ij(),jQ))}function Af(){Af=U,Rv=new ole("REGULAR",0),Mg=new ole("CRITICAL",1)}function vI(){vI=U,Nee=new dle("FIXED",0),SB=new dle("CENTER_NODE",1)}function xL(){xL=U,Iye=new Jse("QUADRATIC",0),WQ=new Jse("SCANLINE",1)}function BJe(){BJe=U,hbt=Hn((fS(),H(F(Oye,1),Te,322,0,[K9,_P,Pye])))}function FJe(){FJe=U,pbt=Hn((zL(),H(F(Rye,1),Te,351,0,[_ye,kN,VQ])))}function zJe(){zJe=U,ubt=Hn((nw(),H(F(DQ,1),Te,372,0,[Ow,xg,Pw])))}function HJe(){HJe=U,mbt=Hn((E0(),H(F(wbt,1),Te,460,0,[YQ,R8,C2])))}function KJe(){KJe=U,xbt=Hn((hk(),H(F(sZ,1),Te,299,0,[iZ,oZ,RP])))}function UJe(){UJe=U,Tbt=Hn((l1(),H(F(Ebt,1),Te,311,0,[AP,x2,t6])))}function GJe(){GJe=U,Zmt=Hn((kS(),H(F(L3e,1),Te,390,0,[jZ,A3e,QN])))}function WJe(){WJe=U,lvt=Hn((tj(),H(F(V3e,1),Te,387,0,[G3e,UZ,W3e])))}function VJe(){VJe=U,cvt=Hn((mS(),H(F(q3e,1),Te,349,0,[WZ,GZ,UP])))}function qJe(){qJe=U,svt=Hn((ls(),H(F(ovt,1),Te,463,0,[ox,eu,Zl])))}function XJe(){XJe=U,uvt=Hn((kk(),H(F(Y3e,1),Te,350,0,[VZ,X3e,sx])))}function YJe(){YJe=U,avt=Hn((FL(),H(F(Z3e,1),Te,352,0,[Q3e,qZ,J3e])))}function JJe(){JJe=U,fvt=Hn((oj(),H(F(e4e,1),Te,388,0,[XZ,G8,_v])))}function QJe(){QJe=U,dyt=Hn((vS(),H(F(w4e,1),Te,392,0,[b4e,QZ,VP])))}function ZJe(){ZJe=U,Gyt=Hn((GI(),H(F(G4e,1),Te,393,0,[hB,K4e,U4e])))}function eQe(){eQe=U,d2t=Hn((ej(),H(F(u6e,1),Te,300,0,[Cee,c6e,l6e])))}function tQe(){tQe=U,h2t=Hn((yj(),H(F(a6e,1),Te,445,0,[QP,bB,See])))}function nQe(){nQe=U,g2t=Hn((_j(),H(F(p2t,1),Te,456,0,[xee,Tee,Eee])))}function rQe(){rQe=U,m2t=Hn((pj(),H(F(h6e,1),Te,394,0,[d6e,Pee,f6e])))}function iQe(){iQe=U,F2t=Hn((IL(),H(F(R6e,1),Te,439,0,[Lee,_6e,O6e])))}function oQe(){oQe=U,Ivt=Hn((tw(),H(F(Tvt,1),Te,464,0,[GP,lx,nB])))}function sQe(){sQe=U,Xpt=Hn((Yc(),H(F(qpt,1),Te,471,0,[oh,Cg,ff])))}function lQe(){lQe=U,Vpt=Hn(($f(),H(F(pv,1),Te,237,0,[ul,Ql,al])))}function cQe(){cQe=U,Jpt=Hn((vc(),H(F(Ypt,1),Te,472,0,[zf,Sg,df])))}function uQe(){uQe=U,$pt=Hn((Jc(),H(F(Es,1),Te,108,0,[Dme,Gs,hv])))}function aQe(){aQe=U,w0t=Hn((cS(),H(F(Ove,1),Te,391,0,[kQ,yQ,CQ])))}function fQe(){fQe=U,J3t=Hn((a1(),H(F(dke,1),Te,346,0,[AB,Cp,Ox])))}function dQe(){dQe=U,U2t=Hn((JI(),H(F(jee,1),Te,444,0,[yB,kB,CB])))}function hQe(){hQe=U,V3t=Hn((od(),H(F(eke,1),Te,278,0,[Q8,$v,Z8])))}function pQe(){pQe=U,f4t=Hn((S4(),H(F(vke,1),Te,280,0,[mke,Nv,BB])))}function rd(e,t){return!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),hV(e.o,t)}function jHt(e,t){var n;e.C&&(n=u(gs(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function Gae(e){var t,n,i,s;s=e.d,t=e.a,n=e.b,i=e.c,e.d=n,e.a=i,e.b=s,e.c=t}function $Ht(e){return!e.g&&(e.g=new J_),!e.g.b&&(e.g.b=new dBe(e)),e.g.b}function yI(e){return!e.g&&(e.g=new J_),!e.g.c&&(e.g.c=new gBe(e)),e.g.c}function DHt(e){return!e.g&&(e.g=new J_),!e.g.d&&(e.g.d=new hBe(e)),e.g.d}function NHt(e){return!e.g&&(e.g=new J_),!e.g.a&&(e.g.a=new pBe(e)),e.g.a}function BHt(e,t,n,i){return n&&(i=n.Rh(t,ci(n.Dh(),e.c.uk()),null,i)),i}function FHt(e,t,n,i){return n&&(i=n.Th(t,ci(n.Dh(),e.c.uk()),null,i)),i}function ZG(e,t,n,i){var s;return s=be(Bn,ur,28,t+1,15,1),Uon(s,e,t,n,i),s}function be(e,t,n,i,s,c){var d;return d=zrt(s,i),s!=10&&H(F(e,c),t,n,s,d),d}function zHt(e,t,n){var i,s;for(s=new dk(t,e),i=0;in||t=0?e.Lh(n,!0,!0):dw(e,t,!0)}function iKt(e,t,n){var i;return i=vtt(e,t,n),e.b=new YL(i.c.length),ppe(e,i)}function oKt(e){if(e.b<=0)throw B(new qs);return--e.b,e.a-=e.c.c,Ae(e.a)}function sKt(e){var t;if(!e.a)throw B(new Iqe);return t=e.a,e.a=ri(e.a),t}function lKt(e){for(;!e.a;)if(!ZGe(e.c,new C$e(e)))return!1;return!0}function m4(e){var t;return qn(e),te(e,204)?(t=u(e,204),t):new Bje(e)}function cKt(e){EL(),u(e.of((pr(),jv)),181).Fc((Qc(),bO)),e.qf(ste,null)}function EL(){EL=U,g3t=new k_e,w3t=new C_e,b3t=YGt((pr(),ste),g3t,_g,w3t)}function TL(){TL=U,z4e=new ule("LEAF_NUMBER",0),wee=new ule("NODE_SIZE",1)}function iW(e){e.a=be(Bn,ur,28,e.b+1,15,1),e.c=be(Bn,ur,28,e.b,15,1),e.d=0}function uKt(e,t){e.a.Ne(t.d,e.b)>0&&(je(e.c,new Wce(t.c,t.d,e.d)),e.b=t.d)}function tfe(e,t){if(e.g==null||t>=e.i)throw B(new aU(t,e.i));return e.g[t]}function mQe(e,t,n){if(mk(e,n),n!=null&&!e.fk(n))throw B(new iK);return n}function oW(e,t){return OI(t)!=10&&H(Tu(t),t.Sm,t.__elementTypeId$,OI(t),e),e}function J5(e,t,n,i){var s;i=(Wb(),i||Ome),s=e.slice(t,n),I1e(s,e,t,n,-t,i)}function ca(e,t,n,i,s){return t<0?dw(e,n,i):u(n,69).wk().yk(e,e.hi(),t,i,s)}function aKt(e,t){return Kr(le(pe(A(e,(Oe(),Aw)))),le(pe(A(t,Aw))))}function vQe(){vQe=U,Opt=Hn((Q5(),H(F(ND,1),Te,304,0,[ZJ,eQ,tQ,nQ])))}function Q5(){Q5=U,ZJ=new AR("All",0),eQ=new uUe,tQ=new mUe,nQ=new cUe}function Yc(){Yc=U,oh=new jK(F4,0),Cg=new jK(r8,1),ff=new jK(z4,2)}function yQe(){yQe=U,h$(),u8e=ii,m6t=Hi,a8e=new cT(ii),v6t=new cT(Hi)}function kQe(){kQe=U,Cgt=Hn((iw(),H(F(kgt,1),Te,417,0,[mP,wP,aQ,fQ])))}function CQe(){CQe=U,Igt=Hn((RS(),H(F(Tgt,1),Te,406,0,[SP,HD,KD,xP])))}function SQe(){SQe=U,xgt=Hn((T4(),H(F(Sgt,1),Te,332,0,[yP,vP,kP,CP])))}function xQe(){xQe=U,R0t=Hn((M0(),H(F(Lve,1),Te,389,0,[wv,Ave,IQ,MQ])))}function EQe(){EQe=U,T0t=Hn((pk(),H(F(E0t,1),Te,416,0,[Mw,bv,gv,w2])))}function TQe(){TQe=U,nbt=Hn((sd(),H(F(tbt,1),Te,421,0,[e6,E8,T8,$Q])))}function IQe(){IQe=U,G0t=Hn((ij(),H(F(U0t,1),Te,371,0,[jQ,gN,bN,PP])))}function MQe(){MQe=U,evt=Hn((Gm(),H(F(DZ,1),Te,203,0,[ZN,$Z,A2,R2])))}function PQe(){PQe=U,rvt=Hn((Gd(),H(F(K3e,1),Te,284,0,[wp,H3e,FZ,zZ])))}function xI(){xI=U,Nye=new Zse(eh,0),xN=new Zse("IMPROVE_STRAIGHTNESS",1)}function OQe(e,t){var n,i;return i=t/e.c.Rd().gc()|0,n=t%e.c.Rd().gc(),w4(e,i,n)}function _Qe(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)re(e,t);return Sae(e)}function nfe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function RQe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function fKt(e){return te(e,180)?""+u(e,180).a:e==null?null:Ks(e)}function dKt(e){return te(e,180)?""+u(e,180).a:e==null?null:Ks(e)}function AQe(e,t){if(t.a)throw B(new Xs(eft));Fi(e.a,t),t.a=e,!e.j&&(e.j=t)}function rfe(e,t){rA.call(this,t.zd(),t.yd()&-16449),sn(e),this.a=e,this.c=t}function hKt(e,t){return new BU(t,$b(xo(t.e),t.f.a+e,t.f.b+e),(Gt(),!1))}function pKt(e,t){return L5(),je(e,new Gi(t,Ae(t.e.c.length+t.g.c.length)))}function gKt(e,t){return L5(),je(e,new Gi(t,Ae(t.e.c.length+t.g.c.length)))}function LQe(){LQe=U,f2t=Hn((jj(),H(F(s6e,1),Te,354,0,[kee,i6e,o6e,r6e])))}function jQe(){jQe=U,jyt=Hn((yS(),H(F(D4e,1),Te,353,0,[aee,fB,uee,cee])))}function $Qe(){$Qe=U,ayt=Hn((P4(),H(F(o4e,1),Te,405,0,[sB,ax,fx,dx])))}function DQe(){DQe=U,q3t=Hn((f1(),H(F(ate,1),Te,223,0,[ute,dO,e7,g6])))}function NQe(){NQe=U,Z3t=Hn((Fu(),H(F(Q3t,1),Te,291,0,[pO,Dh,Rg,hO])))}function BQe(){BQe=U,u4t=Hn((Iu(),H(F(jx,1),Te,386,0,[mO,sb,wO,Dv])))}function FQe(){FQe=U,h4t=Hn((bj(),H(F(Eke,1),Te,320,0,[hte,Cke,xke,Ske])))}function zQe(){zQe=U,b4t=Hn((sj(),H(F(g4t,1),Te,415,0,[pte,Ike,Tke,Mke])))}function IL(){IL=U,Lee=new oU(mdt,0),_6e=new oU(Ebe,1),O6e=new oU(eh,2)}function jm(e,t,n,i,s){return sn(e),sn(t),sn(n),sn(i),sn(s),new Mue(e,t,i)}function HQe(e,t){var n;return n=u(b4(e.e,t),400),n?(rue(n),n.e):null}function mc(e,t){var n;return n=Ls(e,t,0),n==-1?!1:(X1(e,n),!0)}function KQe(e,t,n){var i;return Qp(e),i=new X,i.a=t,e.a.Nb(new xHe(i,n)),i.a}function bKt(e){var t;return Qp(e),t=be(uo,ws,28,0,15,1),gy(e.a,new v$e(t)),t}function ife(e){var t;if(!kW(e))throw B(new qs);return e.e=1,t=e.d,e.d=null,t}function J1(e){var t;return zs(e)&&(t=0-e,!isNaN(t))?t:rg(bk(e))}function Ls(e,t,n){for(;n=0?Pj(e,n,!0,!0):dw(e,t,!0)}function sfe(e){var t;return t=y0(Yt(e,32)),t==null&&(lc(e),t=y0(Yt(e,32))),t}function lfe(e){var t;return e.Oh()||(t=Cn(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function XQe(e,t){sve=new Os,Egt=t,N9=e,u(N9.b,68),qae(N9,sve,null),dut(N9)}function cS(){cS=U,kQ=new DK("XY",0),yQ=new DK("X",1),CQ=new DK("Y",2)}function vc(){vc=U,zf=new $K("TOP",0),Sg=new $K(r8,1),df=new $K(Nge,2)}function l1(){l1=U,AP=new KK(eh,0),x2=new KK("TOP",1),t6=new KK(Nge,2)}function PI(){PI=U,HZ=new tle("INPUT_ORDER",0),KZ=new tle("PORT_DEGREE",1)}function Z5(){Z5=U,fme=nc(hu,hu,524287),ppt=nc(0,0,FM),dme=XG(1),XG(2),hme=XG(0)}function aW(e){var t;return e.d!=e.r&&(t=Aa(e),e.e=!!t&&t.lk()==p1t,e.d=t),e.e}function fW(e,t,n){var i;return i=e.g[t],$C(e,t,e.Zi(t,n)),e.Ri(t,n,i),e.Ni(),i}function _L(e,t){var n;return n=e.dd(t),n>=0?(e.gd(n),!0):!1}function dW(e,t){var n;for(qn(e),qn(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function id(e,t){var n;return n=u(pn(e.e,t),400),n?(OUe(e,n),n.e):null}function YQe(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function $m(e,t){var n=e.a[t],i=(NW(),VJ)[typeof n];return i?i(n):bde(typeof n)}function Qs(e,t){var n,i;return lg(e),i=new Hae(t,e.a),n=new nWe(i),new xt(e,n)}function hW(e){var t;return t=e.b.c.length==0?null:Ye(e.b,0),t!=null&&SW(e,0),t}function yKt(e,t){var n,i,s;s=t.c.i,n=u(pn(e.f,s),60),i=n.d.c-n.e.c,Bfe(t.a,i,0)}function cfe(e,t){var n;for(++e.d,++e.c[t],n=t+1;n=0;)++t[0]}function kKt(e,t){oc(e,t==null||mA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function CKt(e,t){sc(e,t==null||mA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function SKt(e,t){ew(e,t==null||mA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function xKt(e,t){Zb(e,t==null||mA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function EKt(e,t,n){return J3(new Pe(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(sn(t),t)}function TKt(e,t){return te(t,102)&&u(t,19).Bb&es?new fU(t,e):new dk(t,e)}function IKt(e,t){return te(t,102)&&u(t,19).Bb&es?new fU(t,e):new dk(t,e)}function OI(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function ZQe(e,t){return t==(LU(),LU(),Ipt)?e.toLocaleLowerCase():e.toLowerCase()}function eZe(e){if(!e.e)throw B(new qs);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function ufe(e){if(!e.c)throw B(new qs);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function tZe(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[i]&&(i=n);return i}function nZe(e){var t;return t=u(A(e,(Oe(),_w)),313),t?t.a==e:!1}function rZe(e){var t;return t=u(A(e,(Oe(),_w)),313),t?t.i==e:!1}function iZe(){iZe=U,k0t=Hn((Lo(),H(F(_ve,1),Te,367,0,[hf,Ah,Ol,zl,Ds])))}function oZe(){oZe=U,ibt=Hn((Vm(),H(F(rbt,1),Te,375,0,[OP,vN,yN,mN,wN])))}function sZe(){sZe=U,gbt=Hn((ip(),H(F(Lye,1),Te,348,0,[qQ,Aye,XQ,_8,O8])))}function lZe(){lZe=U,tvt=Hn((_S(),H(F($3e,1),Te,323,0,[j3e,NZ,BZ,rx,ix])))}function cZe(){cZe=U,Mbt=Hn((pa(),H(F(f2e,1),Te,171,0,[DP,X9,Tg,Y9,Cv])))}function uZe(){uZe=U,Kyt=Hn((Hj(),H(F(Hyt,1),Te,368,0,[gee,dee,bee,hee,pee])))}function aZe(){aZe=U,K2t=Hn((US(),H(F(H2t,1),Te,373,0,[N2,a6,kx,yx,tO])))}function fZe(){fZe=U,X2t=Hn((dM(),H(F(z6e,1),Te,324,0,[N6e,Bee,F6e,Fee,B6e])))}function dZe(){dZe=U,W3t=Hn(($i(),H(F(Mx,1),Te,88,0,[yd,Ns,Is,vd,Ca])))}function hZe(){hZe=U,m3t=Hn((Nf(),H(F($h,1),Te,170,0,[Nt,qi,uh,tb,yp])))}function pZe(){pZe=U,t4t=Hn((Hy(),H(F(Rx,1),Te,256,0,[Ag,gO,hke,_x,pke])))}function gZe(){gZe=U,i4t=Hn((ze(),H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn])))}function RL(){RL=U,Fme=new Gse("BY_SIZE",0),sQ=new Gse("BY_SIZE_AND_SHAPE",1)}function AL(){AL=U,wQ=new qse("EADES",0),WD=new qse("FRUCHTERMAN_REINGOLD",1)}function _I(){_I=U,CN=new Qse("READING_DIRECTION",0),jye=new Qse("ROTATION",1)}function uS(){uS=U,P0t=new nEe,O0t=new oEe,I0t=new sEe,M0t=new iEe,_0t=new lEe}function bZe(e){this.b=new Le,this.a=new Le,this.c=new Le,this.d=new Le,this.e=e}function wZe(e){this.g=e,this.f=new Le,this.a=w.Math.min(this.g.c.c,this.g.d.c)}function mZe(e,t,n){bA.call(this),dfe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function AKt(e,t,n){var i,s;for(s=new N(n);s.a=0&&t0?t-1:t,ZFe(s_t(HZe(Zce(new N3,n),e.n),e.j),e.k)}function Ss(e){var t,n;n=(t=new cK,t),Dn((!e.q&&(e.q=new Se(Ga,e,11,10)),e.q),n)}function afe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(Zh(e),e.o)}function LL(e){return yl(e,Pr)>0?Pr:yl(e,jo)<0?jo:Vn(e)}function Dm(e){return e<3?(Nu(e,jat),e+1):e=-.01&&e.a<=fd&&(e.a=0),e.b>=-.01&&e.b<=fd&&(e.b=0),e}function $y(e){Qy();var t,n;for(n=Mbe,t=0;tn&&(n=e[t]);return n}function CZe(e,t){var n;if(n=kM(e.Dh(),t),!n)throw B(new Qt(vg+t+sJ));return n}function Nm(e,t){var n;for(n=e;ri(n);)if(n=ri(n),n==t)return!0;return!1}function UKt(e,t){var n,i,s;for(i=t.a.ld(),n=u(t.a.md(),16).gc(),s=0;se||e>t)throw B(new mse("fromIndex: 0, toIndex: "+e+Tge+t))}function Qb(e){if(e<0)throw B(new Qt("Illegal Capacity: "+e));this.g=this.aj(e)}function ffe(e,t){return Yf(),of(pg),w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)}function bW(e,t){var n,i,s,c;for(i=e.d,s=0,c=i.length;s0&&(e.a/=t,e.b/=t),e}function $u(e){var t;return e.w?e.w:(t=$Ft(e),t&&!t.Vh()&&(e.w=t),t)}function ek(e,t){var n,i;i=e.a,n=FWt(e,t,null),i!=t&&!e.e&&(n=qk(e,t,n)),n&&n.oj()}function IZe(e,t,n){var i,s;i=t;do s=le(e.p[i.p])+n,e.p[i.p]=s,i=e.a[i.p];while(i!=t)}function MZe(e,t,n){var i=function(){return e.apply(i,arguments)};return t.apply(i,n),i}function JKt(e){var t;return e==null?null:(t=u(e,195),uQt(t,t.length))}function re(e,t){if(e.g==null||t>=e.i)throw B(new aU(t,e.i));return e.Wi(t,e.g[t])}function QKt(e,t){Ot();var n,i;for(i=new Le,n=0;n=14&&t<=16))),e}function zn(e,t){var n;return sn(t),n=e[":"+t],QT(!!n,"Enum constant undefined: "+t),n}function An(e,t,n,i,s,c){var d;return d=dG(e,t),KZe(n,d),d.i=s?8:0,d.f=i,d.e=s,d.g=c,d}function pfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=1,this.c=e,this.a=n}function gfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=2,this.c=e,this.a=n}function bfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=6,this.c=e,this.a=n}function wfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=7,this.c=e,this.a=n}function mfe(e,t,n,i,s){this.d=t,this.j=i,this.e=s,this.o=-1,this.p=4,this.c=e,this.a=n}function UZe(e,t){var n,i,s,c;for(i=t,s=0,c=i.length;s=0))throw B(new Qt("tolerance ("+e+") must be >= 0"));return e}function WZe(e,t){var n;return te(t,44)?e.c.Mc(t):(n=hV(e,t),kj(e,t),n)}function bs(e,t,n){return I0(e,t),Xl(e,n),Q1(e,0),Bm(e,1),rp(e,!0),np(e,!0),e}function AI(e,t){var n;if(n=e.gc(),t<0||t>n)throw B(new Tm(t,n));return new Pce(e,t)}function HL(e,t){e.b=w.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),je(e.a,t)}function VZe(e){Sm(e.c>=0),dqt(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function KL(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=u(n.Pb(),16),t.$b();e.c.$b(),e.d=0}function cUt(e){var t,n,i,s;for(n=e.a,i=0,s=n.length;i=0}function Efe(e,t){e.r>0&&e.c0&&e.g!=0&&Efe(e.i,t/e.r*e.i.d))}function Tfe(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.c))}function vW(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,4,n,e.c))}function lk(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,2,n,e.k))}function yW(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,2,n,e.D))}function GL(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,8,n,e.f))}function WL(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,7,n,e.i))}function Ife(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,8,n,e.a))}function Mfe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,n,e.b))}function Pfe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,n,e.b))}function Ofe(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.c))}function _fe(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.d))}function gUt(e,t,n){var i;e.b=t,e.a=n,i=(e.a&512)==512?new pFe:new ooe,e.c=Prn(i,e.b,e.a)}function oet(e,t){return b1(e.e,t)?(rs(),aW(t)?new MA(t,e):new $T(t,e)):new AKe(t,e)}function bUt(e){var t,n;return 0>e?new Ase:(t=e+1,n=new wJe(t,e),new cce(null,n))}function wUt(e,t){Ot();var n;return n=new U3(1),lo(e)?ks(n,e,t):Jl(n.f,e,t),new ZH(n)}function mUt(e,t){var n,i;return n=e.c,i=t.e[e.p],i>0?u(Ye(n.a,i-1),10):null}function vUt(e,t){var n,i;return n=e.o+e.p,i=t.o+t.p,nt?(t<<=1,t>0?t:r9):t}function kW(e){switch(Hle(e.e!=3),e.e){case 2:return!1;case 0:return!0}return MHt(e)}function cet(e,t){var n;return te(t,8)?(n=u(t,8),e.a==n.a&&e.b==n.b):!1}function kUt(e,t){var n;n=new Os,u(t.b,68),u(t.b,68),u(t.b,68),ic(t.a,new Bce(e,n,t))}function uet(e,t){var n,i;for(i=t.vc().Kc();i.Ob();)n=u(i.Pb(),44),cM(e,n.ld(),n.md())}function Rfe(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,11,n,e.d))}function VL(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,13,n,e.j))}function Afe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,21,n,e.b))}function CUt(e,t){(wL(),pd?null:t.c).length==0&&xGe(t,new ke),ks(e.a,pd?null:t.c,t)}function SUt(e,t){t.Ug("Hierarchical port constraint processing",1),zqt(e),lan(e),t.Vg()}function nw(){nw=U,Ow=new NK("START",0),xg=new NK("MIDDLE",1),Pw=new NK("END",2)}function qL(){qL=U,dB=new cle("P1_NODE_PLACEMENT",0),D2=new cle("P2_EDGE_ROUTING",1)}function ng(){ng=U,Z4=new Br(Jge),XD=new Br(Eft),F9=new Br(Tft),EP=new Br(Ift)}function rw(e){var t;return jU(e.f.g,e.d),yn(e.b),e.c=e.a,t=u(e.a.Pb(),44),e.b=Wfe(e),t}function Lfe(e){var t;return e.b==null?(H1(),H1(),IO):(t=e.ul()?e.tl():e.sl(),t)}function aet(e,t){var n;return n=t==null?-1:Ls(e.b,t,0),n<0?!1:(SW(e,n),!0)}function sf(e,t){var n;return sn(t),n=t.g,e.b[n]?!1:(hi(e.b,n,t),++e.c,!0)}function XL(e,t){var n,i;return n=1-t,i=e.a[n],e.a[n]=i.a[t],i.a[t]=e,e.b=!0,i.b=!1,i}function xUt(e,t){var n,i;for(i=t.Kc();i.Ob();)n=u(i.Pb(),272),e.b=!0,Fi(e.e,n),n.b=e}function EUt(e,t){var n,i;return n=u(A(e,(Ue(),Mv)),8),i=u(A(t,Mv),8),Kr(n.b,i.b)}function CW(e,t,n){var i,s,c;return c=t>>5,s=t&31,i=Yi(Yp(e.n[n][c],Vn(nf(s,1))),3),i}function fet(e,t,n){var i,s,c;for(c=e.a.length-1,s=e.b,i=0;i0?1:0:(!e.c&&(e.c=dI(bl(e.f))),e.c).e}function yet(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function PUt(e,t){return pk(),e==Mw&&t==bv||e==bv&&t==Mw||e==w2&&t==gv||e==gv&&t==w2}function OUt(e,t){return pk(),e==Mw&&t==gv||e==Mw&&t==w2||e==bv&&t==w2||e==bv&&t==gv}function ket(e,t){return Yf(),of(fd),w.Math.abs(0-t)<=fd||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Cet(e,t){return le(pe(Cu(XI(Rs(new xt(null,new Mt(e.c.b,16)),new MDe(e)),t))))}function Nfe(e,t){return le(pe(Cu(XI(Rs(new xt(null,new Mt(e.c.b,16)),new IDe(e)),t))))}function _Ut(){return cs(),H(F(rZ,1),Te,259,0,[TN,ka,G9,IN,j8,S2,W9,A8,L8,MN])}function RUt(){return La(),H(F(z3e,1),Te,243,0,[eB,HP,KP,N3e,B3e,D3e,F3e,tB,zw,Ov])}function AUt(e,t){var n;t.Ug("General Compactor",1),n=NVt(u(Ie(e,(dg(),vee)),393)),n.Cg(e)}function LUt(e,t){var n,i;return n=u(Ie(e,(dg(),pB)),17),i=u(Ie(t,pB),17),vl(n.a,i.a)}function Bfe(e,t,n){var i,s;for(s=Ln(e,0);s.b!=s.d.c;)i=u(_n(s),8),i.a+=t,i.b+=n;return e}function dS(e,t,n){var i;for(i=e.b[n&e.f];i;i=i.b)if(n==i.a&&zd(t,i.g))return i;return null}function hS(e,t,n){var i;for(i=e.c[n&e.f];i;i=i.d)if(n==i.f&&zd(t,i.i))return i;return null}function jUt(e,t,n){var i,s,c;for(i=0,s=0;s>>31;i!=0&&(e[n]=i)}function IW(e,t,n,i,s,c){var d;this.c=e,d=new Le,mhe(e,d,t,e.b,n,i,s,c),this.a=new wo(d,0)}function xet(){this.c=new yR(0),this.b=new yR(Ibe),this.d=new yR(fdt),this.a=new yR(XX)}function aa(e,t,n,i,s,c,d){Fn.call(this,e,t),this.d=n,this.e=i,this.c=s,this.b=c,this.a=td(d)}function ki(e,t,n,i,s,c,d,h,b,m,v,k,T){return Pot(e,t,n,i,s,c,d,h,b,m,v,k,T),sV(e,!1),e}function $Ut(e){return e.b.c.i.k==(nn(),Oi)?u(A(e.b.c.i,(Oe(),jr)),12):e.b.c}function Eet(e){return e.b.d.i.k==(nn(),Oi)?u(A(e.b.d.i,(Oe(),jr)),12):e.b.d}function DUt(e){var t;return t=fL(e),_b(t.a,0)?(xR(),xR(),Mpt):(xR(),new iGe(t.b))}function MW(e){var t;return t=wae(e),_b(t.a,0)?(wm(),wm(),QJ):(wm(),new EU(t.b))}function PW(e){var t;return t=wae(e),_b(t.a,0)?(wm(),wm(),QJ):(wm(),new EU(t.c))}function Tet(e){switch(e.g){case 2:return ze(),rn;case 4:return ze(),fn;default:return e}}function Iet(e){switch(e.g){case 1:return ze(),Mn;case 3:return ze(),en;default:return e}}function Met(e){switch(e.g){case 0:return new c_e;case 1:return new u_e;default:return null}}function y4(){y4=U,LQ=new ui("edgelabelcenterednessanalysis.includelabel",(Gt(),kg))}function Ffe(){Ffe=U,Evt=Wd(VKe(cr(cr(new Li,(Lo(),Ol),(Ko(),lN)),zl,nN),Ds),sN)}function Pet(){Pet=U,Pvt=Wd(VKe(cr(cr(new Li,(Lo(),Ol),(Ko(),lN)),zl,nN),Ds),sN)}function OW(){OW=U,zx=new uFe,Cte=H(F(Ec,1),h2,179,0,[]),Y4t=H(F(Ga,1),Wwe,62,0,[])}function ck(){ck=U,IP=new Xse("TO_INTERNAL_LTR",0),_Q=new Xse("TO_INPUT_DIRECTION",1)}function $c(){$c=U,Fve=new hEe,Nve=new pEe,Bve=new gEe,Dve=new bEe,zve=new wEe,Hve=new mEe}function NUt(e,t){t.Ug(Hft,1),Kde(C_t(new rR((dC(),new mG(e,!1,!1,new Uie))))),t.Vg()}function BUt(e,t,n){n.Ug("DFS Treeifying phase",1),nqt(e,t),ern(e,t),e.a=null,e.b=null,n.Vg()}function LI(e,t){return Gt(),lo(e)?Fae(e,Jn(t)):km(e)?eG(e,pe(t)):ym(e)?PDt(e,Ve(t)):e.Fd(t)}function pS(e,t){var n,i;for(sn(t),i=t.vc().Kc();i.Ob();)n=u(i.Pb(),44),e.zc(n.ld(),n.md())}function FUt(e,t,n){var i;for(i=n.Kc();i.Ob();)if(!pL(e,t,i.Pb()))return!1;return!0}function zUt(e,t,n,i,s){var c;return n&&(c=ci(t.Dh(),e.c),s=n.Rh(t,-1-(c==-1?i:c),null,s)),s}function HUt(e,t,n,i,s){var c;return n&&(c=ci(t.Dh(),e.c),s=n.Th(t,-1-(c==-1?i:c),null,s)),s}function Oet(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 KUt(e){if(sn(e),e.length==0)throw B(new jd("Zero length BigInteger"));qin(this,e)}function zfe(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function _et(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Le,ten(this),Ot(),Pi(this.a,null)}function Hfe(e,t){t.q=e,e.d=w.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),je(e.a,t)}function uk(e,t){var n,i,s,c;return s=e.c,n=e.c+e.b,c=e.d,i=e.d+e.a,t.a>s&&t.ac&&t.bs?n=s:Zt(t,n+1),e.a=oa(e.a,0,t)+(""+i)+$ue(e.a,n)}function Fet(e,t){e.a=zo(e.a,1),e.c=w.Math.min(e.c,t),e.b=w.Math.max(e.b,t),e.d=zo(e.d,t)}function YUt(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw B(new qs)}function Uet(e){switch(e.a.g){case 1:return new VHe;case 3:return new Xrt;default:return new sje}}function Ufe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return bae(e,t)}function bl(e){return zM>22),s=e.h+t.h+(i>>22),nc(n&hu,i&hu,s&m1)}function Qet(e,t){var n,i,s;return n=e.l-t.l,i=e.m-t.m+(n>>22),s=e.h-t.h+(i>>22),nc(n&hu,i&hu,s&m1)}function wGt(e){var t,n;for(aun(e),n=new N(e.d);n.ai)throw B(new Tm(t,i));return e.Si()&&(n=pXe(e,n)),e.Ei(t,n)}function gk(e,t,n,i,s){var c,d;for(d=n;d<=s;d++)for(c=t;c<=i;c++)Uy(e,c,d)||u$(e,c,d,!0,!1)}function _Gt(e){Qy();var t,n,i;for(n=be(to,_e,8,2,0,1),i=0,t=0;t<2;t++)i+=.5,n[t]=xXt(i,e);return n}function bk(e){var t,n,i;return t=~e.l+1&hu,n=~e.m+(t==0?1:0)&hu,i=~e.h+(t==0&&n==0?1:0)&m1,nc(t,n,i)}function Qfe(e){var t;if(e<0)return jo;if(e==0)return 0;for(t=r9;!(t&e);t>>=1);return t}function DW(e,t,n){return e>=128?!1:e<64?OC(Yi(nf(1,e),n),0):OC(Yi(nf(1,e-64),t),0)}function KI(e,t,n){return n==null?(!e.q&&(e.q=new On),b4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n)),e}function Ee(e,t,n){return n==null?(!e.q&&(e.q=new On),b4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n)),e}function utt(e){var t,n;return n=new vL,js(n,e),Ee(n,(ng(),Z4),e),t=new On,ssn(e,n,t),Lcn(e,n,t),n}function att(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function ftt(e,t){var n,i,s,c;for(n=!1,i=e.a[t].length,c=0;c=0,"Negative initial capacity"),QT(t>=0,"Non-positive load factor"),qc(this)}function AGt(e,t,n,i,s){var c,d;if(d=e.length,c=n.length,t<0||i<0||s<0||t+s>d||i+s>c)throw B(new Uoe)}function nde(e,t){Ot();var n,i,s,c,d;for(d=!1,i=t,s=0,c=i.length;s1||t>=0&&e.b<3)}function FW(e){var t,n,i;t=~e.l+1&hu,n=~e.m+(t==0?1:0)&hu,i=~e.h+(t==0&&n==0?1:0)&m1,e.l=t,e.m=n,e.h=i}function ode(e){Ot();var t,n,i;for(i=1,n=e.Kc();n.Ob();)t=n.Pb(),i=31*i+(t!=null?Vr(t):0),i=i|0;return i}function NGt(e,t,n,i,s){var c;return c=q1e(e,t),n&&FW(c),s&&(e=_Xt(e,t),i?yg=bk(e):yg=nc(e.l,e.m,e.h)),c}function ktt(e,t,n){e.g=iq(e,t,(ze(),fn),e.b),e.d=iq(e,n,fn,e.b),!(e.g.c==0||e.d.c==0)&&Qit(e)}function Ctt(e,t,n){e.g=iq(e,t,(ze(),rn),e.j),e.d=iq(e,n,rn,e.j),!(e.g.c==0||e.d.c==0)&&Qit(e)}function sde(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Ude(e,t)}function BGt(e,t){switch(t.g){case 0:te(e.b,641)||(e.b=new Bet);break;case 1:te(e.b,642)||(e.b=new $We)}}function Stt(e){switch(e.g){case 0:return new p_e;default:throw B(new Qt(uD+(e.f!=null?e.f:""+e.g)))}}function xtt(e){switch(e.g){case 0:return new h_e;default:throw B(new Qt(uD+(e.f!=null?e.f:""+e.g)))}}function FGt(e,t,n){return!C5(Ar(new xt(null,new Mt(e.c,16)),new h5(new cKe(t,n)))).Bd((c0(),J4))}function Ett(e,t){return J3(_k(u(A(t,(sl(),Kw)),88)),new Pe(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function zGt(e,t){for(;e.g==null&&!e.c?sae(e):e.g==null||e.i!=0&&u(e.g[e.i-1],51).Ob();)G_t(t,Jj(e))}function T0(e){var t,n;for(n=new N(e.a.b);n.ai?1:0}function UGt(e){return je(e.c,(k4(),p3t)),ffe(e.a,le(pe(Ke((dV(),YN)))))?new eRe:new ANe(e)}function GGt(e){for(;!e.d||!e.d.Ob();)if(e.b&&!cC(e.b))e.d=u(s4(e.b),51);else return null;return e.d}function cde(e){switch(e.g){case 1:return fdt;default:case 2:return 0;case 3:return XX;case 4:return Ibe}}function WGt(){Ir();var e;return Mte||(e=dAt(hg("M",!0)),e=AA(hg("M",!1),e),Mte=e,Mte)}function sj(){sj=U,pte=new JR("ELK",0),Ike=new JR("JSON",1),Tke=new JR("DOT",2),Mke=new JR("SVG",3)}function mS(){mS=U,WZ=new VK("STACKED",0),GZ=new VK("REVERSE_STACKED",1),UP=new VK("SEQUENCED",2)}function vS(){vS=U,b4e=new ZK(eh,0),QZ=new ZK("MIDDLE_TO_MIDDLE",1),VP=new ZK("AVOID_OVERLAP",2)}function vk(){vk=U,xye=new YTe,Eye=new JTe,Y0t=new qTe,X0t=new QTe,q0t=new XTe,Sye=(sn(q0t),new kn)}function lj(){lj=U,fke=new Ab(15),Y3t=new go((pr(),kp),fke),Px=d6,lke=P3t,cke=rb,ake=G2,uke=Lv}function Ny(e,t){var n,i,s,c,d;for(i=t,s=0,c=i.length;s=e.b.c.length||(ade(e,2*t+1),n=2*t+2,n0&&(t.Cd(n),n.i&&qWt(n))}function fde(e,t,n){var i;for(i=n-1;i>=0&&e[i]===t[i];i--);return i<0?0:RK(Yi(e[i],us),Yi(t[i],us))?-1:1}function Mtt(e,t,n){var i,s;this.g=e,this.c=t,this.a=this,this.d=this,s=set(n),i=be(cpt,NM,227,s,0,1),this.b=i}function GW(e,t,n,i,s){var c,d;for(d=n;d<=s;d++)for(c=t;c<=i;c++)if(Uy(e,c,d))return!0;return!1}function QGt(e,t){var n,i;for(i=e.Zb().Cc().Kc();i.Ob();)if(n=u(i.Pb(),16),n.Hc(t))return!0;return!1}function Ptt(e,t,n){var i,s,c,d;for(sn(n),d=!1,c=e.fd(t),s=n.Kc();s.Ob();)i=s.Pb(),c.Rb(i),d=!0;return d}function WW(e,t){var n,i;return i=u(Yt(e.a,4),129),n=be(yte,SJ,424,t,0,1),i!=null&&Pl(i,0,n,0,i.length),n}function Ott(e,t){var n;return n=new yq((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(n.c=e),n}function ZGt(e,t){var n;return e===t?!0:te(t,85)?(n=u(t,85),p1e(a0(e),n.vc())):!1}function _tt(e,t,n){var i,s;for(s=n.Kc();s.Ob();)if(i=u(s.Pb(),44),e.Be(t,i.md()))return!0;return!1}function Rtt(e,t,n){return e.d[t.p][n.p]||(nXt(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function eWt(e,t){var n;return!e||e==t||!Xr(t,(Oe(),Rw))?!1:(n=u(A(t,(Oe(),Rw)),10),n!=e)}function VW(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function Att(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function Ltt(e){vXe.call(this,"The given string does not match the expected format for individual spacings.",e)}function tWt(e,t){var n;t.Ug("Min Size Preprocessing",1),n=S1e(e),Dr(e,(xh(),wx),n.a),Dr(e,wB,n.b),t.Vg()}function nWt(e){var t,n,i;for(t=0,i=be(to,_e,8,e.b,0,1),n=Ln(e,0);n.b!=n.d.c;)i[t++]=u(_n(n),8);return i}function qW(e,t,n){var i,s,c;for(i=new Zr,c=Ln(n,0);c.b!=c.d.c;)s=u(_n(c),8),ir(i,new Wo(s));Ptt(e,t,i)}function rWt(e,t){var n;return n=zo(e,t),RK(DG(e,t),0)|eA(DG(e,n),0)?n:zo(DM,DG(Yp(n,63),1))}function iWt(e,t){var n,i;return n=u(e.d.Bc(t),16),n?(i=e.e.hc(),i.Gc(n),e.e.d-=n.gc(),n.$b(),i):null}function jtt(e){var t;if(t=e.a.c.length,t>0)return D5(t-1,e.a.c.length),X1(e.a,t-1);throw B(new ABe)}function $tt(e,t,n){if(e>t)throw B(new Qt(T$+e+Jat+t));if(e<0||t>n)throw B(new mse(T$+e+Pge+t+Tge+n))}function yk(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),yW(e,t==null?null:(sn(t),t)),e.C&&e.hl(null)}function oWt(e,t){var n;n=Ke((dV(),YN))!=null&&t.Sg()!=null?le(pe(t.Sg()))/le(pe(Ke(YN))):1,vr(e.b,t,n)}function dde(e,t){var n,i;if(i=e.c[t],i!=0)for(e.c[t]=0,e.d-=i,n=t+1;nnD?e-n>nD:n-e>nD}function Vtt(e,t){var n;for(n=0;ns&&(Sit(t.q,s),i=n!=t.q.d)),i}function qtt(e,t){var n,i,s,c,d,h,b,m;return b=t.i,m=t.j,i=e.f,s=i.i,c=i.j,d=b-s,h=m-c,n=w.Math.sqrt(d*d+h*h),n}function mde(e,t){var n,i;return i=Cj(e),i||(n=(Hq(),jst(t)),i=new CBe(n),Dn(i.El(),e)),i}function VI(e,t){var n,i;return n=u(e.c.Bc(t),16),n?(i=e.hc(),i.Gc(n),e.d-=n.gc(),n.$b(),e.mc(i)):e.jc()}function bWt(e,t){var n,i;for(i=fu(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.mg(t.e,i),n=n|CM(e,t,i,!1),i=!i;$fe(e)}function Xtt(e,t,n,i){var s,c;e.a=t,c=i?0:1,e.f=(s=new cot(e.c,e.a,n,c),new Flt(n,e.a,s,e.e,e.b,e.c==(tw(),lx)))}function uj(e){var t;return yn(e.a!=e.b),t=e.d.a[e.a],kGe(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function Ytt(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw B(new qs);return t=e.a,e.a+=e.c.c,++e.b,Ae(t)}function ZW(e){var t;return t=new Ale(e.a),js(t,e),Ee(t,(Oe(),jr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function eV(e){return(ze(),Sc).Hc(e.j)?le(pe(A(e,(Oe(),$8)))):Zs(H(F(to,1),_e,8,0,[e.i.n,e.n,e.a])).b}function mWt(e){var t;return t=oA(xvt),u(A(e,(Oe(),Kl)),21).Hc((cs(),j8))&&cr(t,(Lo(),Ol),(Ko(),aN)),t}function vWt(e){var t,n,i,s;for(s=new _i,i=new N(e);i.a=0?t:-t;i>0;)i%2==0?(n*=n,i=i/2|0):(s*=n,i-=1);return t<0?1/s:s}function xWt(e,t){var n,i,s;for(s=1,n=e,i=t>=0?t:-t;i>0;)i%2==0?(n*=n,i=i/2|0):(s*=n,i-=1);return t<0?1/s:s}function sg(e,t){var n,i,s,c;return c=(s=e?Cj(e):null,_ot((i=t,s&&s.Gl(),i))),c==t&&(n=Cj(e),n&&n.Gl()),c}function Jtt(e,t,n){var i,s;return s=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,0,s,t),n?n.nj(i):n=i),n}function Qtt(e,t,n){var i,s;return s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,3,s,t),n?n.nj(i):n=i),n}function yde(e,t,n){var i,s;return s=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,1,s,t),n?n.nj(i):n=i),n}function Ztt(e){var t,n;if(e!=null)for(n=0;n=i||t-129&&e<128?(jWe(),t=e+128,n=mme[t],!n&&(n=mme[t]=new yoe(e)),n):new yoe(e)}function Ck(e){var t,n;return e>-129&&e<128?(QWe(),t=e+128,n=Cme[t],!n&&(n=Cme[t]=new Coe(e)),n):new Coe(e)}function nnt(e,t){var n;e.a.c.length>0&&(n=u(Ye(e.a,e.a.c.length-1),579),ude(n,t))||je(e.a,new mJe(t))}function OWt(e){tf();var t,n;t=e.d.c-e.e.c,n=u(e.g,154),ic(n.b,new gDe(t)),ic(n.c,new bDe(t)),Io(n.i,new wDe(t))}function rnt(e){var t;return t=new Hp,t.a+="VerticalSegment ",Al(t,e.e),t.a+=" ",lr(t,Fle(new vK,new N(e.k))),t.a}function tV(e,t){var n,i,s;for(n=0,s=el(e,t).Kc();s.Ob();)i=u(s.Pb(),12),n+=A(i,(Oe(),Zc))!=null?1:0;return n}function zy(e,t,n){var i,s,c;for(i=0,c=Ln(e,0);c.b!=c.d.c&&(s=le(pe(_n(c))),!(s>n));)s>=t&&++i;return i}function int(e,t){qn(e);try{return e._b(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function Cde(e,t){qn(e);try{return e.Hc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function _Wt(e,t){qn(e);try{return e.Mc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function Hm(e,t){qn(e);try{return e.xc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return null;throw B(n)}}function RWt(e,t){qn(e);try{return e.Bc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return null;throw B(n)}}function CS(e,t){switch(t.g){case 2:case 1:return el(e,t);case 3:case 4:return ha(el(e,t))}return Ot(),Ot(),Yo}function SS(e){var t;return e.Db&64?lf(e):(t=new Pa(lf(e)),t.a+=" (name: ",ps(t,e.zb),t.a+=")",t.a)}function AWt(e){var t;return t=u(id(e.c.c,""),233),t||(t=new d4(y5(v5(new A3,""),"Other")),op(e.c.c,"",t)),t}function Sde(e,t,n){var i,s;return s=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,4,s,t),n?n.nj(i):n=i),n}function xde(e,t,n){var i,s;return s=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,8,s,e.r),n?n.nj(i):n=i),n}function LWt(e,t,n){var i,s;return i=new s1(e.e,4,13,(s=t.c,s||(Pt(),Sd)),null,sp(e,t),!1),n?n.nj(i):n=i,n}function jWt(e,t,n){var i,s;return i=new s1(e.e,3,13,null,(s=t.c,s||(Pt(),Sd)),sp(e,t),!1),n?n.nj(i):n=i,n}function tp(e,t){var n,i;return n=u(t,691),i=n.el(),!i&&n.fl(i=te(t,90)?new LKe(e,u(t,29)):new rYe(e,u(t,156))),i}function qI(e,t,n){var i;e._i(e.i+1),i=e.Zi(t,n),t!=e.i&&Pl(e.g,t,e.g,t+1,e.i-t),hi(e.g,t,i),++e.i,e.Mi(t,n),e.Ni()}function $Wt(e,t){var n;return t.a&&(n=t.a.a.length,e.a?lr(e.a,e.b):e.a=new Ru(e.d),aYe(e.a,t.a,t.d.length,n)),e}function DWt(e,t){var n;e.c=t,e.a=HVt(t),e.a<54&&(e.f=(n=t.d>1?cYe(t.a[0],t.a[1]):cYe(t.a[0],0),m0(t.e>0?n:J1(n))))}function XI(e,t){var n;return n=new X,e.a.Bd(n)?(M5(),new hK(sn(KQe(e,n.a,t)))):(Qp(e),M5(),M5(),Ame)}function ont(e,t){var n;e.c.length!=0&&(n=u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199),Ele(n,new nTe),Qot(n,t))}function snt(e,t){var n;e.c.length!=0&&(n=u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199),Ele(n,new rTe),Qot(n,t))}function Rr(e,t){return lo(e)?Et(e,t):km(e)?QGe(e,t):ym(e)?(sn(e),fe(e)===fe(t)):mue(e)?e.Fb(t):fue(e)?YKe(e,t):fae(e,t)}function fa(e,t,n){if(t<0)O1e(e,n);else{if(!n.rk())throw B(new Qt(vg+n.xe()+C9));u(n,69).wk().Ek(e,e.hi(),t)}}function lnt(e,t,n){if(e<0||t>n)throw B(new vs(T$+e+Pge+t+", size: "+n));if(e>t)throw B(new Qt(T$+e+Jat+t))}function cnt(e){var t;return e.Db&64?lf(e):(t=new Pa(lf(e)),t.a+=" (source: ",ps(t,e.d),t.a+=")",t.a)}function unt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function NWt(e){k$();var t,n,i,s;for(n=yV(),i=0,s=n.length;i=0?cg(e):YC(cg(J1(e))))}function dnt(e,t,n,i,s,c){this.e=new Le,this.f=(ls(),ox),je(this.e,e),this.d=t,this.a=n,this.b=i,this.f=s,this.c=c}function zWt(e,t,n){e.n=u0(Hg,[_e,TX],[376,28],14,[n,Wi(w.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function hnt(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 pnt(e,t){var n,i;for(i=new hn(e);i.e!=i.i.gc();)if(n=u(mn(i),142),fe(t)===fe(n))return!0;return!1}function HWt(e,t,n){var i,s,c;return c=(s=Bk(e.b,t),s),c&&(i=u(b$(TI(e,c),""),29),i)?Q1e(e,i,t,n):null}function nV(e,t,n){var i,s,c;return c=(s=Bk(e.b,t),s),c&&(i=u(b$(TI(e,c),""),29),i)?Z1e(e,i,t,n):null}function KWt(e,t){var n;if(n=Dy(e.i,t),n==null)throw B(new Ld("Node did not exist in input."));return Kfe(t,n),null}function UWt(e,t){var n;if(n=kM(e,t),te(n,331))return u(n,35);throw B(new Qt(vg+t+"' is not a valid attribute"))}function ES(e,t,n){var i;if(i=e.gc(),t>i)throw B(new Tm(t,i));if(e.Si()&&e.Hc(n))throw B(new Qt(cP));e.Gi(t,n)}function GWt(e,t){t.Ug("Sort end labels",1),yi(Ar(Qs(new xt(null,new Mt(e.b,16)),new FEe),new zEe),new HEe),t.Vg()}function $i(){$i=U,yd=new AT(c9,0),Ns=new AT(z4,1),Is=new AT(F4,2),vd=new AT(BX,3),Ca=new AT("UP",4)}function JI(){JI=U,yB=new sU("P1_STRUCTURE",0),kB=new sU("P2_PROCESSING_ORDER",1),CB=new sU("P3_EXECUTION",2)}function gnt(){gnt=U,Byt=Wd(Wd(bC(Wd(Wd(bC(cr(new Li,(P4(),ax),(qS(),JZ)),fx),d4e),p4e),dx),c4e),g4e)}function WWt(e){switch(u(A(e,(Oe(),W0)),311).g){case 1:Ee(e,W0,(l1(),t6));break;case 2:Ee(e,W0,(l1(),x2))}}function VWt(e){switch(e){case 0:return new nFe;case 1:return new eFe;case 2:return new tFe;default:throw B(new fT)}}function bnt(e){switch(e.g){case 2:return Ns;case 1:return Is;case 4:return vd;case 3:return Ca;default:return yd}}function Mde(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new ia(t.d,0,t.a,t.b);default:return null}}function Pde(e){switch(e.g){case 1:return rn;case 2:return en;case 3:return fn;case 4:return Mn;default:return nl}}function QI(e){switch(e.g){case 1:return Mn;case 2:return rn;case 3:return en;case 4:return fn;default:return nl}}function dj(e){switch(e.g){case 1:return fn;case 2:return Mn;case 3:return rn;case 4:return en;default:return nl}}function Ode(e,t,n,i){switch(t){case 1:return!e.n&&(e.n=new Se(ms,e,1,7)),e.n;case 2:return e.k}return Che(e,t,n,i)}function TS(e,t,n){var i,s;return e.Pj()?(s=e.Qj(),i=uq(e,t,n),e.Jj(e.Ij(7,Ae(n),i,t,s)),i):uq(e,t,n)}function rV(e,t){var n,i,s;e.d==null?(++e.e,--e.f):(s=t.ld(),n=t.Bi(),i=(n&Pr)%e.d.length,RHt(e,i,Bst(e,i,n,s)))}function Sk(e,t){var n;n=(e.Bb&af)!=0,t?e.Bb|=af:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,10,n,t))}function xk(e,t){var n;n=(e.Bb&ov)!=0,t?e.Bb|=ov:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,12,n,t))}function Ek(e,t){var n;n=(e.Bb&Fc)!=0,t?e.Bb|=Fc:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,15,n,t))}function Tk(e,t){var n;n=(e.Bb&dv)!=0,t?e.Bb|=dv:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,11,n,t))}function qWt(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,dpe(t.a,e.o,!0),dpe(t.a,e.o,!1),Ee(e.o,(Ue(),vi),(fo(),ob)))}function XWt(e){var t;if(!e.a)throw B(new ys("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,Bqe(e,t),Nqe(e,t)}function YWt(e,t){var n;if(n=pn(e.k,t),n==null)throw B(new Ld("Port did not exist in input."));return Kfe(t,n),null}function JWt(e){var t,n;for(n=$st($u(e)).Kc();n.Ob();)if(t=Jn(n.Pb()),XS(e,t))return Qzt((bHe(),N4t),t);return null}function wnt(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=u(n.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function QWt(e){var t,n;for(n=h0(new Hp,91),t=!0;e.Ob();)t||(n.a+=qo),t=!1,Al(n,e.Pb());return(n.a+="]",n).a}function ZWt(e){var t,n,i;for(t=new Le,i=new N(e.b);i.at?1:e==t?e==0?Kr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function tVt(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,hi(e.a,e.c,null),t)}function nVt(e){var t,n,i;for(i=0,n=e.length,t=0;t=1?Ns:vd):n}function sVt(e){switch(u(A(e,(Ue(),S1)),223).g){case 1:return new IMe;case 3:return new RMe;default:return new TMe}}function lg(e){if(e.c)lg(e.c);else if(e.d)throw B(new ys("Stream already terminated, can't be modified or used"))}function ow(e,t,n){var i;return i=e.a.get(t),e.a.set(t,n===void 0?null:n),i===void 0?(++e.c,++e.b.g):++e.d,i}function lVt(e,t,n){var i,s;for(s=e.a.ec().Kc();s.Ob();)if(i=u(s.Pb(),10),BI(n,u(Ye(t,i.p),16)))return i;return null}function Rde(e,t,n){var i;return i=0,t&&(Sy(e.a)?i+=t.f.a/2:i+=t.f.b/2),n&&(Sy(e.a)?i+=n.f.a/2:i+=n.f.b/2),i}function cVt(e,t,n){var i;i=n,!i&&(i=Zce(new N3,0)),i.Ug(Pft,2),Crt(e.b,t,i.eh(1)),Sln(e,t,i.eh(1)),Tun(t,i.eh(1)),i.Vg()}function Ade(e,t,n){var i,s;return i=(Up(),s=new q_,s),BL(i,t),NL(i,n),e&&Dn((!e.a&&(e.a=new Ai(Yu,e,5)),e.a),i),i}function oV(e){var t;return e.Db&64?lf(e):(t=new Pa(lf(e)),t.a+=" (identifier: ",ps(t,e.k),t.a+=")",t.a)}function sV(e,t){var n;n=(e.Bb&wl)!=0,t?e.Bb|=wl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,18,n,t))}function Lde(e,t){var n;n=(e.Bb&wl)!=0,t?e.Bb|=wl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,18,n,t))}function Ik(e,t){var n;n=(e.Bb&Xd)!=0,t?e.Bb|=Xd:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,16,n,t))}function jde(e,t){var n;n=(e.Bb&es)!=0,t?e.Bb|=es:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,20,n,t))}function $de(e){var t;return t=be(Ea,Yd,28,2,15,1),e-=es,t[0]=(e>>10)+HM&Di,t[1]=(e&1023)+56320&Di,Ud(t,0,t.length)}function uVt(e){var t;return t=qm(e),t>34028234663852886e22?ii:t<-34028234663852886e22?Hi:t}function zo(e,t){var n;return zs(e)&&zs(t)&&(n=e+t,zM"+w0(t.c):"e_"+Vr(t),e.b&&e.c?w0(e.b)+"->"+w0(e.c):"e_"+Vr(e))}function dVt(e,t){return Et(t.b&&t.c?w0(t.b)+"->"+w0(t.c):"e_"+Vr(t),e.b&&e.c?w0(e.b)+"->"+w0(e.c):"e_"+Vr(e))}function sw(e,t){return Yf(),of(pg),w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t))}function f1(){f1=U,ute=new VR(c9,0),dO=new VR("POLYLINE",1),e7=new VR("ORTHOGONAL",2),g6=new VR("SPLINES",3)}function pj(){pj=U,d6e=new iU("ASPECT_RATIO_DRIVEN",0),Pee=new iU("MAX_SCALE_DRIVEN",1),f6e=new iU("AREA_DRIVEN",2)}function hVt(e,t,n){var i;try{$Gt(e,t,n)}catch(s){throw s=li(s),te(s,606)?(i=s,B(new $ae(i))):B(s)}return t}function pVt(e){var t,n,i;for(n=0,i=e.length;nt&&i.Ne(e[c-1],e[c])>0;--c)d=e[c],hi(e,c,e[c-1]),hi(e,c-1,d)}function at(e,t){var n,i,s,c,d;if(n=t.f,op(e.c.d,n,t),t.g!=null)for(s=t.g,c=0,d=s.length;ct){hYe(n);break}}rI(n,t)}function mVt(e,t){var n,i,s;i=Ay(t),s=le(pe(Um(i,(Ue(),pf)))),n=w.Math.max(0,s/2-.5),jS(t,n,1),je(e,new RHe(t,n))}function vVt(e,t,n){var i;n.Ug("Straight Line Edge Routing",1),n.dh(t,Dbe),i=u(Ie(t,(Oy(),$2)),27),rut(e,i),n.dh(t,oD)}function Dde(e,t){e.n.c.length==0&&je(e.n,new lL(e.s,e.t,e.i)),je(e.b,t),whe(u(Ye(e.n,e.n.c.length-1),209),t),Bct(e,t)}function IS(e){var t;this.a=(t=u(e.e&&e.e(),9),new ra(t,u(ef(t,t.length),9),0)),this.b=be(Ji,Bt,1,this.a.a.length,5,1)}function Ks(e){var t;return Array.isArray(e)&&e.Tm===xe?l0(Tu(e))+"@"+(t=Vr(e)>>>0,t.toString(16)):e.toString()}function yVt(e,t){return e.h==FM&&e.m==0&&e.l==0?(t&&(yg=nc(0,0,0)),QKe((Z5(),dme))):(t&&(yg=nc(e.l,e.m,e.h)),nc(0,0,0))}function kVt(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 knt(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 Nde(e,t,n,i){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return Ode(e,t,n,i)}function gj(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw B(new Qt("Node "+t+" not part of edge "+e))}function CVt(e,t){var n;if(n=kM(e.Dh(),t),te(n,102))return u(n,19);throw B(new Qt(vg+t+"' is not a valid reference"))}function da(e,t,n,i){if(t<0)rpe(e,n,i);else{if(!n.rk())throw B(new Qt(vg+n.xe()+C9));u(n,69).wk().Ck(e,e.hi(),t,i)}}function au(e){var t;if(e.b){if(au(e.b),e.b.d!=e.c)throw B(new ea)}else e.d.dc()&&(t=u(e.f.c.xc(e.e),16),t&&(e.d=t))}function SVt(e){xm();var t,n,i,s;for(t=e.o.b,i=u(u(Lr(e.r,(ze(),Mn)),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s=n.e,s.b+=t}function xVt(e){var t,n,i;for(this.a=new Dd,i=new N(e);i.a=s)return t.c+n;return t.c+t.b.gc()}function TVt(e,t){R5();var n,i,s,c;for(i=_Qe(e),s=t,J5(i,0,i.length,s),n=0;n0&&(i+=s,++n);return n>1&&(i+=e.d*(n-1)),i}function MVt(e){var t,n,i,s,c;return c=n1e(e),n=gT(e.c),i=!n,i&&(s=new t0,jf(c,"knownLayouters",s),t=new uBe(s),Io(e.c,t)),c}function zde(e){var t,n,i;for(i=new B1,i.a+="[",t=0,n=e.gc();t0&&(Zt(t-1,e.length),e.charCodeAt(t-1)==58)&&!uV(e,Bx,Fx))}function Hde(e,t){var n;return fe(e)===fe(t)?!0:te(t,92)?(n=u(t,92),e.e==n.e&&e.d==n.d&&tHt(e,n.a)):!1}function x4(e){switch(ze(),e.g){case 4:return en;case 1:return fn;case 3:return Mn;case 2:return rn;default:return nl}}function RVt(e){var t,n;if(e.b)return e.b;for(n=pd?null:e.d;n;){if(t=pd?null:n.b,t)return t;n=pd?null:n.d}return T5(),$me}function Kde(e){var t,n,i;for(i=le(pe(e.a.of((pr(),OB)))),n=new N(e.a.Sf());n.a>5,t=e&31,i=be(Bn,ur,28,n+1,15,1),i[n]=1<3;)s*=10,--c;e=(e+(s>>1))/s|0}return i.i=e,!0}function ci(e,t){var n,i,s;if(n=(e.i==null&&qd(e),e.i),i=t.Lj(),i!=-1){for(s=n.length;i=0;--i)for(t=n[i],s=0;s>1,this.k=t-1>>1}function VVt(e){EL(),u(e.of((pr(),_g)),181).Hc((du(),DB))&&(u(e.of(jv),181).Fc((Qc(),b6)),u(e.of(_g),181).Mc(DB))}function Mnt(e){var t,n;t=e.d==(O4(),I8),n=Whe(e),t&&!n||!t&&n?Ee(e.a,(Ue(),sh),(Ch(),iO)):Ee(e.a,(Ue(),sh),(Ch(),rO))}function dV(){dV=U,IR(),YN=(Ue(),Fw),Jmt=td(H(F(Gee,1),xbe,149,0,[FP,pf,O2,Bw,Pv,MZ,z8,H8,PZ,tx,P2,Z0,_2]))}function qVt(e,t){var n;return n=u(Hs(e,Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),n.Qc(VWe(n.gc()))}function Pnt(e,t){var n,i;if(i=new d5(e.a.ad(t,!0)),i.a.gc()<=1)throw B(new j3);return n=i.a.ec().Kc(),n.Pb(),u(n.Pb(),40)}function XVt(e,t,n){var i,s;return i=le(e.p[t.i.p])+le(e.d[t.i.p])+t.n.b+t.a.b,s=le(e.p[n.i.p])+le(e.d[n.i.p])+n.n.b+n.a.b,s-i}function Yde(e,t){var n;return e.i>0&&(t.lengthe.i&&hi(t,e.i,null),t}function wj(e){var t;return e.Db&64?SS(e):(t=new Pa(SS(e)),t.a+=" (instanceClassName: ",ps(t,e.D),t.a+=")",t.a)}function mj(e){var t,n,i,s;for(s=0,n=0,i=e.length;n0?(e._j(),i=t==null?0:Vr(t),s=(i&Pr)%e.d.length,n=Bst(e,s,i,t),n!=-1):!1}function Ont(e,t){var n,i;e.a=zo(e.a,1),e.c=w.Math.min(e.c,t),e.b=w.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function Jde(e,t){switch(t){case 3:Zb(e,0);return;case 4:ew(e,0);return;case 5:oc(e,0);return;case 6:sc(e,0);return}kde(e,t)}function lw(e,t){switch(t.g){case 1:return n4(e.j,($c(),Nve));case 2:return n4(e.j,($c(),Fve));default:return Ot(),Ot(),Yo}}function Qde(e){Hb();var t;switch(t=e.Pc(),t.length){case 0:return zJ;case 1:return new WU(qn(t[0]));default:return new IG(pVt(t))}}function _nt(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(n){throw n=li(n),te(n,77)?B(new ea):B(n)}}function pV(){pV=U,xte=new xRe,Vke=new ERe,qke=new TRe,Xke=new IRe,Yke=new MRe,Jke=new PRe,Qke=new ORe,Zke=new _Re,e8e=new RRe}function vj(e,t){kle();var n,i;return n=WT((hR(),hR(),L9)),i=null,t==n&&(i=u(jl(ame,e),624)),i||(i=new qVe(e),t==n&&ks(ame,e,i)),i}function Rnt(e){Gm();var t;return(e.q?e.q:(Ot(),Ot(),Rh))._b((Ue(),Dw))?t=u(A(e,Dw),203):t=u(A(To(e),ex),203),t}function Um(e,t){var n,i;return i=null,Xr(e,(Ue(),qN))&&(n=u(A(e,qN),96),n.pf(t)&&(i=n.of(t))),i==null&&(i=A(To(e),t)),i}function Ant(e,t){var n,i,s;return te(t,44)?(n=u(t,44),i=n.ld(),s=Hm(e.Rc(),i),zd(s,n.md())&&(s!=null||e.Rc()._b(i))):!1}function Df(e,t){var n,i,s;return e.f>0&&(e._j(),i=t==null?0:Vr(t),s=(i&Pr)%e.d.length,n=D1e(e,s,i,t),n)?n.md():null}function Yl(e,t,n){var i,s,c;return e.Pj()?(i=e.i,c=e.Qj(),qI(e,i,t),s=e.Ij(3,null,t,i,c),n?n.nj(s):n=s):qI(e,e.i,t),n}function JVt(e,t,n){var i,s;return i=new s1(e.e,4,10,(s=t.c,te(s,90)?u(s,29):(Pt(),Va)),null,sp(e,t),!1),n?n.nj(i):n=i,n}function QVt(e,t,n){var i,s;return i=new s1(e.e,3,10,null,(s=t.c,te(s,90)?u(s,29):(Pt(),Va)),sp(e,t),!1),n?n.nj(i):n=i,n}function Lnt(e){xm();var t;return t=new Wo(u(e.e.of((pr(),G2)),8)),e.B.Hc((du(),n7))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function cg(e){Vd();var t,n;return n=Vn(e),t=Vn(Yp(e,32)),t!=0?new FXe(n,t):n>10||n<0?new i1(1,n):ypt[n]}function eM(e,t){var n;return zs(e)&&zs(t)&&(n=e%t,zM=0?c=c.a[1]:(s=c,c=c.a[0])}return s}function nM(e,t,n){var i,s,c;for(s=null,c=e.b;c;){if(i=e.a.Ne(t,c.d),n&&i==0)return c;i<=0?c=c.a[0]:(s=c,c=c.a[1])}return s}function iqt(e,t,n,i){var s,c,d;return s=!1,lcn(e.f,n,i)&&(Tqt(e.f,e.a[t][n],e.a[t][i]),c=e.a[t],d=c[i],c[i]=c[n],c[n]=d,s=!0),s}function Nnt(e,t,n){var i,s,c,d;for(s=u(pn(e.b,n),183),i=0,d=new N(t.j);d.a>5,t&=31,s=e.d+n+(t==0?0:1),i=be(Bn,ur,28,s,15,1),nQt(i,e.a,n,t),c=new d0(e.e,s,i),nS(c),c}function oqt(e,t){var n,i,s;for(i=new gn(wn(Mi(e).a.Kc(),new $));jn(i);)if(n=u(Sn(i),18),s=n.d.i,s.c==t)return!1;return!0}function the(e,t,n){var i,s,c,d,h;return d=e.k,h=t.k,i=n[d.g][h.g],s=pe(Um(e,i)),c=pe(Um(t,i)),w.Math.max((sn(s),s),(sn(c),c))}function sqt(){return Error.stackTraceLimit>0?(w.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function lqt(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))>0}function nhe(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))<0}function Fnt(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))<=0}function bV(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var i=t[n++];n0&&this.b>0&&(this.g=RA(this.c,this.b,this.a))}function cqt(e,t){var n=e.a,i;t=String(t),n.hasOwnProperty(t)&&(i=n[t]);var s=(NW(),VJ)[typeof i],c=s?s(i):bde(typeof i);return c}function Pk(e){var t,n,i;if(i=null,t=rh in e.a,n=!t,n)throw B(new Ld("Every element must have an id."));return i=_4(t1(e,rh)),i}function cw(e){var t,n;for(n=dot(e),t=null;e.c==2;)Er(e),t||(t=(Ir(),Ir(),new LC(2)),R0(t,n),n=t),n.Jm(dot(e));return n}function kj(e,t){var n,i,s;return e._j(),i=t==null?0:Vr(t),s=(i&Pr)%e.d.length,n=D1e(e,s,i,t),n?(WZe(e,n),n.md()):null}function Vnt(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+w.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function uqt(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw B(new Qt("Input edge is not connected to the input port."))}function aqt(e){if(Sj(p8,e))return Gt(),k8;if(Sj(rJ,e))return Gt(),kg;throw B(new Qt("Expecting true or false"))}function ohe(e){switch(typeof e){case Qq:return Z1(e);case pge:return X3(e);case j4:return TGe(e);default:return e==null?0:jb(e)}}function Wd(e,t){if(e.a<0)throw B(new ys("Did not call before(...) or after(...) before calling add(...)."));return Zle(e,e.a,t),e}function she(e){return cL(),te(e,162)?u(pn(xO,Ept),295).Rg(e):rc(xO,Tu(e))?u(pn(xO,Tu(e)),295).Rg(e):null}function lc(e){var t,n;return e.Db&32||(n=(t=u(Yt(e,16),29),Cn(t||e.ii())-Cn(e.ii())),n!=0&&E4(e,32,be(Ji,Bt,1,n,5,1))),e}function E4(e,t,n){var i;e.Db&t?n==null?Ven(e,t):(i=DV(e,t),i==-1?e.Eb=n:hi(y0(e.Eb),i,n)):n!=null&&brn(e,t,n)}function fqt(e,t,n,i){var s,c;t.c.length!=0&&(s=snn(n,i),c=len(t),yi($L(new xt(null,new Mt(c,1)),new _Pe),new Sqe(e,n,s,i)))}function dqt(e,t){var n,i,s,c;return i=e.a.length-1,n=t-e.b&i,c=e.c-t&i,s=e.c-e.b&i,kGe(n=c?(aWt(e,t),-1):(uWt(e,t),1)}function Cj(e){var t,n,i;if(i=e.Jh(),!i)for(t=0,n=e.Ph();n;n=n.Ph()){if(++t>IX)return n.Qh();if(i=n.Jh(),i||n==e)break}return i}function Xnt(e,t){var n;return fe(t)===fe(e)?!0:!te(t,21)||(n=u(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function hqt(e,t){return e.et.e?1:e.ft.f?1:Vr(e)-Vr(t)}function Sj(e,t){return sn(e),t==null?!1:Et(e,t)?!0:e.length==t.length&&Et(e.toLowerCase(),t.toLowerCase())}function h1(e){var t,n;return yl(e,-129)>0&&yl(e,128)<0?(JWe(),t=Vn(e)+128,n=vme[t],!n&&(n=vme[t]=new koe(e)),n):new koe(e)}function M0(){M0=U,wv=new BR(eh,0),Ave=new BR("INSIDE_PORT_SIDE_GROUPS",1),IQ=new BR("GROUP_MODEL_ORDER",2),MQ=new BR(r0e,3)}function pqt(e){var t;return e.b||l_t(e,(t=sLt(e.e,e.a),!t||!Et(rJ,Df((!t.b&&(t.b=new Su((Pt(),ns),dl,t)),t.b),"qualified")))),e.c}function gqt(e,t){var n,i;for(n=(Zt(t,e.length),e.charCodeAt(t)),i=t+1;i2e3&&(apt=e,AD=w.setTimeout(d_t,10))),RD++==0?(MKt((hse(),ume)),!0):!1}function Pqt(e,t,n){var i;(Rpt?(RVt(e),!0):Apt||jpt?(T5(),!0):Lpt&&(T5(),!1))&&(i=new aWe(t),i.b=n,DQt(e,i))}function mV(e,t){var n;n=!e.A.Hc((Iu(),sb))||e.q==(fo(),Ul),e.u.Hc((Qc(),E1))?n?mun(e,t):Uut(e,t):e.u.Hc(jg)&&(n?Ncn(e,t):oat(e,t))}function trt(e){var t;fe(Ie(e,(pr(),K2)))===fe((a1(),AB))&&(ri(e)?(t=u(Ie(ri(e),K2),346),Dr(e,K2,t)):Dr(e,K2,Ox))}function Oqt(e){var t,n;return Xr(e.d.i,(Ue(),N8))?(t=u(A(e.c.i,N8),17),n=u(A(e.d.i,N8),17),vl(t.a,n.a)>0):!1}function nrt(e,t,n){return new ia(w.Math.min(e.a,t.a)-n/2,w.Math.min(e.b,t.b)-n/2,w.Math.abs(e.a-t.a)+n,w.Math.abs(e.b-t.b)+n)}function rrt(e){var t;this.d=new Le,this.j=new po,this.g=new po,t=e.g.b,this.f=u(A(To(t),(Ue(),Wu)),88),this.e=le(pe(Ij(t,Pv)))}function irt(e){this.d=new Le,this.e=new q1,this.c=be(Bn,ur,28,(ze(),H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn])).length,15,1),this.b=e}function uhe(e,t,n){var i;switch(i=n[e.g][t],e.g){case 1:case 3:return new Pe(0,i);case 2:case 4:return new Pe(i,0);default:return null}}function ort(e,t,n){var i,s;s=u(cI(t.f),205);try{s.rf(e,n),cqe(t.f,s)}catch(c){throw c=li(c),te(c,103)?(i=c,B(i)):B(c)}}function srt(e,t,n){var i,s,c,d,h,b;return i=null,h=ege(sk(),t),c=null,h&&(s=null,b=Qpe(h,n),d=null,b!=null&&(d=e.qf(h,b)),s=d,c=s),i=c,i}function vV(e,t,n,i){var s;if(s=e.length,t>=s)return s;for(t=t>0?t:0;ti&&hi(t,i,null),t}function lrt(e,t){var n,i;for(i=e.a.length,t.lengthi&&hi(t,i,null),t}function Ok(e,t){var n,i;if(++e.j,t!=null&&(n=(i=e.a.Cb,te(i,99)?u(i,99).th():null),jen(t,n))){E4(e.a,4,n);return}E4(e.a,4,u(t,129))}function _qt(e){var t;if(e==null)return null;if(t=$tn(Nl(e,!0)),t==null)throw B(new mK("Invalid hexBinary value: '"+e+"'"));return t}function xj(e,t,n){var i;t.a.length>0&&(je(e.b,new TWe(t.a,n)),i=t.a.length,0i&&(t.a+=MUe(be(Ea,Yd,28,-i,15,1))))}function crt(e,t,n){var i,s,c;if(!n[t.d])for(n[t.d]=!0,s=new N(Fy(t));s.a=e.b>>1)for(i=e.c,n=e.b;n>t;--n)i=i.b;else for(i=e.a.a,n=0;n=0?e.Wh(s):cq(e,i)):n<0?cq(e,i):u(i,69).wk().Bk(e,e.hi(),n)}function drt(e){var t,n,i;for(i=(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),e.o),n=i.c.Kc();n.e!=n.i.gc();)t=u(n.Yj(),44),t.md();return yI(i)}function Ke(e){var t;if(te(e.a,4)){if(t=she(e.a),t==null)throw B(new ys(Ldt+e.b+"'. "+Adt+(Zh(EO),EO.k)+gwe));return t}else return e.a}function Bqt(e,t){var n,i;if(e.j.length!=t.j.length)return!1;for(n=0,i=e.j.length;n=64&&t<128&&(s=Rf(s,nf(1,t-64)));return s}function Ij(e,t){var n,i;return i=null,Xr(e,(pr(),h6))&&(n=u(A(e,h6),96),n.pf(t)&&(i=n.of(t))),i==null&&To(e)&&(i=A(To(e),t)),i}function Fqt(e,t){var n;return n=u(A(e,(Ue(),Ts)),75),vU(t,A0t)?n?Au(n):(n=new Oc,Ee(e,Ts,n)):n&&Ee(e,Ts,null),n}function OS(){OS=U,hve=(pr(),U5e),pQ=x5e,Rgt=F2,dve=kp,$gt=(Bj(),Gme),jgt=Kme,Dgt=Vme,Lgt=Hme,Agt=(XW(),uve),hQ=Pgt,fve=Ogt,UD=_gt}function Mj(e){switch($se(),this.c=new Le,this.d=e,e.g){case 0:case 2:this.a=Uue(Rve),this.b=ii;break;case 3:case 1:this.a=Rve,this.b=Hi}}function zqt(e){var t;t4(u(A(e,(Ue(),vi)),101))&&(t=e.b,est((_t(0,t.c.length),u(t.c[0],30))),est(u(Ye(t,t.c.length-1),30)))}function Hqt(e,t){t.Ug("Self-Loop post-processing",1),yi(Ar(Ar(Qs(new xt(null,new Mt(e.b,16)),new sIe),new lIe),new cIe),new uIe),t.Vg()}function hrt(e,t,n){var i,s;if(e.c)oc(e.c,e.c.i+t),sc(e.c,e.c.j+n);else for(s=new N(e.b);s.a=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function _S(){_S=U,j3e=new IT(Ebe,0),NZ=new IT(sY,1),BZ=new IT("LINEAR_SEGMENTS",2),rx=new IT("BRANDES_KOEPF",3),ix=new IT(cdt,4)}function RS(){RS=U,SP=new DR(M$,0),HD=new DR(FX,1),KD=new DR(zX,2),xP=new DR(HX,3),SP.a=!1,HD.a=!0,KD.a=!1,xP.a=!0}function T4(){T4=U,yP=new $R(M$,0),vP=new $R(FX,1),kP=new $R(zX,2),CP=new $R(HX,3),yP.a=!1,vP.a=!0,kP.a=!1,CP.a=!0}function I4(e,t,n,i){var s;return n>=0?e.Sh(t,n,i):(e.Ph()&&(i=(s=e.Fh(),s>=0?e.Ah(i):e.Ph().Th(e,-1-s,null,i))),e.Ch(t,n,i))}function ahe(e,t){switch(t){case 7:!e.e&&(e.e=new $t(Ti,e,7,4)),$n(e.e);return;case 8:!e.d&&(e.d=new $t(Ti,e,8,5)),$n(e.d);return}Jde(e,t)}function Dr(e,t,n){return n==null?(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),kj(e.o,t)):(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),cM(e.o,t,n)),e}function wrt(e,t){Ot();var n,i,s,c;for(n=e,c=t,te(e,21)&&!te(t,21)&&(n=t,c=e),s=n.Kc();s.Ob();)if(i=s.Pb(),c.Hc(i))return!1;return!0}function Vqt(e,t,n,i){if(t.an.b)return!0}return!1}function xV(e,t){return lo(e)?!!rpt[t]:e.Sm?!!e.Sm[t]:km(e)?!!npt[t]:ym(e)?!!tpt[t]:!1}function qqt(e){var t;t=e.a;do t=u(Sn(new gn(wn(eo(t).a.Kc(),new $))),18).c.i,t.k==(nn(),io)&&e.b.Fc(t);while(t.k==(nn(),io));e.b=ha(e.b)}function mrt(e,t){var n,i,s;for(s=e,i=new gn(wn(eo(t).a.Kc(),new $));jn(i);)n=u(Sn(i),18),n.c.i.c&&(s=w.Math.max(s,n.c.i.c.p));return s}function Xqt(e,t){var n,i,s;for(s=0,i=u(u(Lr(e.r,t),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s+=n.d.d+n.b.Mf().b+n.d.a,i.Ob()&&(s+=e.w);return s}function Yqt(e,t){var n,i,s;for(s=0,i=u(u(Lr(e.r,t),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s+=n.d.b+n.b.Mf().a+n.d.c,i.Ob()&&(s+=e.w);return s}function vrt(e){var t,n,i,s;if(i=0,s=Qm(e),s.c.length==0)return 1;for(n=new N(s);n.a=0?e.Lh(d,n,!0):dw(e,c,n)):u(c,69).wk().yk(e,e.hi(),s,n,i)}function eXt(e,t,n,i){var s,c;c=t.pf((pr(),U2))?u(t.of(U2),21):e.j,s=NWt(c),s!=(k$(),uQ)&&(n&&!rhe(s)||g1e(Dtn(e,s,i),t))}function tXt(e){switch(e.g){case 1:return iw(),mP;case 3:return iw(),wP;case 2:return iw(),fQ;case 4:return iw(),aQ;default:return null}}function nXt(e,t,n){if(e.e)switch(e.b){case 1:WNt(e.c,t,n);break;case 0:VNt(e.c,t,n)}else NYe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function yrt(e){var t,n;if(e==null)return null;for(n=be(Lh,_e,199,e.length,0,2),t=0;t=0)return s;if(e.ol()){for(i=0;i=s)throw B(new Tm(t,s));if(e.Si()&&(i=e.dd(n),i>=0&&i!=t))throw B(new Qt(cP));return e.Xi(t,n)}function fhe(e,t){if(this.a=u(qn(e),253),this.b=u(qn(t),253),e.Ed(t)>0||e==(fK(),BJ)||t==(dK(),FJ))throw B(new Qt("Invalid range: "+zYe(e,t)))}function krt(e){var t,n;for(this.b=new Le,this.c=e,this.a=!1,n=new N(e.a);n.a0),(t&-t)==t)return Wi(t*fu(e,31)*4656612873077393e-25);do n=fu(e,31),i=n%t;while(n-i+(t-1)<0);return Wi(i)}function cXt(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function rM(e,t,n,i){var s,c;for(s=t;s1&&(c=iXt(e,t)),c}function xrt(e){var t;return t=le(pe(Ie(e,(pr(),fO))))*w.Math.sqrt((!e.a&&(e.a=new Se(xr,e,10,11)),e.a).i),new Pe(t,t/le(pe(Ie(e,_B))))}function TV(e){var t;return e.f&&e.f.Vh()&&(t=u(e.f,54),e.f=u(sg(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,8,t,e.f))),e.f}function IV(e){var t;return e.i&&e.i.Vh()&&(t=u(e.i,54),e.i=u(sg(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,7,t,e.i))),e.i}function is(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=u(sg(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,21,t,e.b))),e.b}function Aj(e,t){var n,i,s;e.d==null?(++e.e,++e.f):(i=t.Bi(),_nn(e,e.f+1),s=(i&Pr)%e.d.length,n=e.d[s],!n&&(n=e.d[s]=e.dk()),n.Fc(t),++e.f)}function phe(e,t,n){var i;return t.tk()?!1:t.Ik()!=-2?(i=t.ik(),i==null?n==null:Rr(i,n)):t.qk()==e.e.Dh()&&n==null}function Lj(){var e;Nu(16,jat),e=set(16),this.b=be(HJ,NM,303,e,0,1),this.c=be(HJ,NM,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function p1(e){yce.call(this),this.k=(nn(),Si),this.j=(Nu(6,iv),new ql(6)),this.b=(Nu(2,iv),new ql(2)),this.d=new sK,this.f=new tse,this.a=e}function aXt(e){var t,n;e.c.length<=1||(t=Mlt(e,(ze(),Mn)),got(e,u(t.a,17).a,u(t.b,17).a),n=Mlt(e,rn),got(e,u(n.a,17).a,u(n.b,17).a))}function fXt(e,t,n){var i,s;for(s=e.a.b,i=s.c.length;i102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function RV(e,t){if(e==null)throw B(new F3("null key in entry: null="+t));if(t==null)throw B(new F3("null value in entry: "+e+"=null"))}function pXt(e,t){for(var n,i;e.Ob();)if(!t.Ob()||(n=e.Pb(),i=t.Pb(),!(fe(n)===fe(i)||n!=null&&Rr(n,i))))return!1;return!t.Ob()}function Irt(e,t){var n;return n=H(F(uo,1),ws,28,15,[JW(e.a[0],t),JW(e.a[1],t),JW(e.a[2],t)]),e.d&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function Mrt(e,t){var n;return n=H(F(uo,1),ws,28,15,[cj(e.a[0],t),cj(e.a[1],t),cj(e.a[2],t)]),e.d&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function bhe(e,t,n){t4(u(A(t,(Ue(),vi)),101))||(Oae(e,t,lp(t,n)),Oae(e,t,lp(t,(ze(),Mn))),Oae(e,t,lp(t,en)),Ot(),Pi(t.j,new RDe(e)))}function Prt(e){var t,n;for(e.c||Aln(e),n=new Oc,t=new N(e.a),D(t);t.a0&&(Zt(0,t.length),t.charCodeAt(0)==43)?(Zt(1,t.length+1),t.substr(1)):t))}function MXt(e){var t;return e==null?null:new qp((t=Nl(e,!0),t.length>0&&(Zt(0,t.length),t.charCodeAt(0)==43)?(Zt(1,t.length+1),t.substr(1)):t))}function mhe(e,t,n,i,s,c,d,h){var b,m;i&&(b=i.a[0],b&&mhe(e,t,n,b,s,c,d,h),zV(e,n,i.d,s,c,d,h)&&t.Fc(i),m=i.a[1],m&&mhe(e,t,n,m,s,c,d,h))}function Uy(e,t,n){try{return _b(CW(e,t,n),1)}catch(i){throw i=li(i),te(i,333)?B(new vs(KX+e.o+"*"+e.p+UX+t+qo+n+GX)):B(i)}}function Lrt(e,t,n){try{return _b(CW(e,t,n),0)}catch(i){throw i=li(i),te(i,333)?B(new vs(KX+e.o+"*"+e.p+UX+t+qo+n+GX)):B(i)}}function jrt(e,t,n){try{return _b(CW(e,t,n),2)}catch(i){throw i=li(i),te(i,333)?B(new vs(KX+e.o+"*"+e.p+UX+t+qo+n+GX)):B(i)}}function $rt(e,t){if(e.g==-1)throw B(new Pc);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(n){throw n=li(n),te(n,77)?B(new ea):B(n)}}function PXt(e){var t,n,i,s,c;for(i=new N(e.b);i.ac&&hi(t,c,null),t}function OXt(e,t){var n,i;if(i=e.gc(),t==null){for(n=0;n0&&(b+=s),m[v]=d,d+=h*(b+i)}function Nrt(e){var t,n,i;for(i=e.f,e.n=be(uo,ws,28,i,15,1),e.d=be(uo,ws,28,i,15,1),t=0;t0?e.c:0),++s;e.b=i,e.d=c}function Krt(e,t){var n;return n=H(F(uo,1),ws,28,15,[hhe(e,($f(),ul),t),hhe(e,Ql,t),hhe(e,al,t)]),e.f&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function NXt(e,t,n){var i;try{u$(e,t+e.j,n+e.k,!1,!0)}catch(s){throw s=li(s),te(s,77)?(i=s,B(new vs(i.g+O$+t+qo+n+")."))):B(s)}}function BXt(e,t,n){var i;try{u$(e,t+e.j,n+e.k,!0,!1)}catch(s){throw s=li(s),te(s,77)?(i=s,B(new vs(i.g+O$+t+qo+n+")."))):B(s)}}function Urt(e){var t;Xr(e,(Ue(),$w))&&(t=u(A(e,$w),21),t.Hc((Jm(),bf))?(t.Mc(bf),t.Fc(wf)):t.Hc(wf)&&(t.Mc(wf),t.Fc(bf)))}function Grt(e){var t;Xr(e,(Ue(),$w))&&(t=u(A(e,$w),21),t.Hc((Jm(),vf))?(t.Mc(vf),t.Fc(Ha)):t.Hc(Ha)&&(t.Mc(Ha),t.Fc(vf)))}function NV(e,t,n,i){var s,c,d,h;return e.a==null&&zQt(e,t),d=t.b.j.c.length,c=n.d.p,h=i.d.p,s=h-1,s<0&&(s=d-1),c<=s?e.a[s]-e.a[c]:e.a[d-1]-e.a[c]+e.a[s]}function FXt(e){var t,n;if(!e.b)for(e.b=dL(u(e.f,27).kh().i),n=new hn(u(e.f,27).kh());n.e!=n.i.gc();)t=u(mn(n),135),je(e.b,new gK(t));return e.b}function zXt(e){var t,n;if(!e.e)for(e.e=dL(bG(u(e.f,27)).i),n=new hn(bG(u(e.f,27)));n.e!=n.i.gc();)t=u(mn(n),123),je(e.e,new $Ne(t));return e.e}function Wrt(e){var t,n;if(!e.a)for(e.a=dL(eL(u(e.f,27)).i),n=new hn(eL(u(e.f,27)));n.e!=n.i.gc();)t=u(mn(n),27),je(e.a,new SU(e,t));return e.a}function aw(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=Mcn(e),t)e.hl(t);else try{e.hl(null)}catch(n){if(n=li(n),!te(n,63))throw B(n)}return e.C}function HXt(e){switch(e.q.g){case 5:bit(e,(ze(),en)),bit(e,Mn);break;case 4:mut(e,(ze(),en)),mut(e,Mn);break;default:kot(e,(ze(),en)),kot(e,Mn)}}function KXt(e){switch(e.q.g){case 5:wit(e,(ze(),fn)),wit(e,rn);break;case 4:vut(e,(ze(),fn)),vut(e,rn);break;default:Cot(e,(ze(),fn)),Cot(e,rn)}}function Gy(e,t){var n,i,s;for(s=new po,i=e.Kc();i.Ob();)n=u(i.Pb(),36),Hk(n,s.a,0),s.a+=n.f.a+t,s.b=w.Math.max(s.b,n.f.b);return s.b>0&&(s.b+=t),s}function Dj(e,t){var n,i,s;for(s=new po,i=e.Kc();i.Ob();)n=u(i.Pb(),36),Hk(n,0,s.b),s.b+=n.f.b+t,s.a=w.Math.max(s.a,n.f.a);return s.a>0&&(s.a+=t),s}function Vrt(e){var t,n,i;for(i=Pr,n=new N(e.a);n.a>16==6?e.Cb.Th(e,5,Uf,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function UXt(e){G5();var t=e.e;if(t&&t.stack){var n=t.stack,i=t+` -`;return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split(` -`)}return[]}function GXt(e){var t;return t=(XZe(),gpt),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 Yrt(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=Qfe(w.Math.max(8,i))<<1,e.b!=0?(t=ef(e.a,n),fet(e,t,i),e.a=t,e.b=0):gm(e.a,n),e.c=i)}function WXt(e,t){var n;return n=e.b,n.pf((pr(),bu))?n.ag()==(ze(),rn)?-n.Mf().a-le(pe(n.of(bu))):t+le(pe(n.of(bu))):n.ag()==(ze(),rn)?-n.Mf().a:t}function oM(e){var t;return e.b.c.length!=0&&u(Ye(e.b,0),72).a?u(Ye(e.b,0),72).a:(t=wG(e),t??""+(e.c?Ls(e.c.a,e,0):-1))}function Nj(e){var t;return e.f.c.length!=0&&u(Ye(e.f,0),72).a?u(Ye(e.f,0),72).a:(t=wG(e),t??""+(e.i?Ls(e.i.j,e,0):-1))}function VXt(e,t){var n,i;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),s=w.Math.max(s,t.d),++i;e.e=c,e.b=s}function XXt(e){var t,n;if(!e.b)for(e.b=dL(u(e.f,123).kh().i),n=new hn(u(e.f,123).kh());n.e!=n.i.gc();)t=u(mn(n),135),je(e.b,new gK(t));return e.b}function YXt(e,t){var n,i,s;if(t.dc())return R5(),R5(),TO;for(n=new _Ge(e,t.gc()),s=new hn(e);s.e!=s.i.gc();)i=mn(s),t.Hc(i)&&Dn(n,i);return n}function Che(e,t,n,i){return t==0?i?(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),e.o):(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),yI(e.o)):Pj(e,t,n,i)}function FV(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),s+=i>>22,s<0)?!1:(e.l=n&hu,e.m=i&hu,e.h=s&m1,!0)}function zV(e,t,n,i,s,c,d){var h,b;return!(t.Te()&&(b=e.a.Ne(n,i),b<0||!s&&b==0)||t.Ue()&&(h=e.a.Ne(n,c),h>0||!d&&h==0))}function eYt(e,t){vk();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return lV(t,Eye)-lV(e,Eye);case 4:return lV(e,xye)-lV(t,xye)}return 0}function tYt(e){switch(e.g){case 0:return JQ;case 1:return QQ;case 2:return ZQ;case 3:return eZ;case 4:return SN;case 5:return tZ;default:return null}}function xs(e,t,n){var i,s;return i=(s=new uK,I0(s,t),Xl(s,n),Dn((!e.c&&(e.c=new Se(Gw,e,12,10)),e.c),s),s),Q1(i,0),Bm(i,1),rp(i,!0),np(i,!0),i}function M4(e,t){var n,i;if(t>=e.i)throw B(new aU(t,e.i));return++e.j,n=e.g[t],i=e.i-t-1,i>0&&Pl(e.g,t+1,e.g,t,i),hi(e.g,--e.i,null),e.Qi(t,n),e.Ni(),n}function Jrt(e,t){var n,i;return e.Db>>16==17?e.Cb.Th(e,21,Ua,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function nYt(e){var t,n,i,s;for(Ot(),Pi(e.c,e.a),s=new N(e.c);s.an.a.c.length))throw B(new Qt("index must be >= 0 and <= layer node count"));e.c&&mc(e.c.a,e),e.c=n,n&&Nb(n.a,t,e)}function nit(e,t){var n,i,s;for(i=new gn(wn(d1(e).a.Kc(),new $));jn(i);)return n=u(Sn(i),18),s=u(t.Kb(n),10),new Z_(qn(s.n.b+s.o.b/2));return oC(),oC(),NJ}function rit(e,t){this.c=new On,this.a=e,this.b=t,this.d=u(A(e,(Oe(),I2)),312),fe(A(e,(Ue(),u3e)))===fe((xI(),xN))?this.e=new YBe:this.e=new XBe}function LS(e,t){var n,i;return i=null,e.pf((pr(),h6))&&(n=u(e.of(h6),96),n.pf(t)&&(i=n.of(t))),i==null&&e.Tf()&&(i=e.Tf().of(t)),i==null&&(i=Ke(t)),i}function HV(e,t){var n,i;n=e.fd(t);try{return i=n.Pb(),n.Qb(),i}catch(s){throw s=li(s),te(s,112)?B(new vs("Can't remove element "+t)):B(s)}}function aYt(e,t){var n,i,s;if(i=new SR,s=new tde(i.q.getFullYear()-gg,i.q.getMonth(),i.q.getDate()),n=ksn(e,t,s),n==0||n0?t:0),++n;return new Pe(i,s)}function Ihe(e,t){var n,i;return e.Db>>16==6?e.Cb.Th(e,6,Ti,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(kl(),zB)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Mhe(e,t){var n,i;return e.Db>>16==7?e.Cb.Th(e,1,kO,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(kl(),Oke)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Phe(e,t){var n,i;return e.Db>>16==9?e.Cb.Th(e,9,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(kl(),Rke)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function sit(e,t){var n,i;return e.Db>>16==5?e.Cb.Th(e,9,YB,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Pt(),Ep)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function lit(e,t){var n,i;return e.Db>>16==7?e.Cb.Th(e,6,Uf,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Pt(),Ip)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Ohe(e,t){var n,i;return e.Db>>16==3?e.Cb.Th(e,0,SO,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Pt(),xp)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function cit(){this.a=new fRe,this.g=new Lj,this.j=new Lj,this.b=new On,this.d=new Lj,this.i=new Lj,this.k=new On,this.c=new On,this.e=new On,this.f=new On}function hYt(e,t,n){var i,s,c;for(n<0&&(n=0),c=e.i,s=n;sIX)return Rk(e,i);if(i==e)return!0}}return!1}function gYt(e){switch(hA(),e.q.g){case 5:Uot(e,(ze(),en)),Uot(e,Mn);break;case 4:Gst(e,(ze(),en)),Gst(e,Mn);break;default:qut(e,(ze(),en)),qut(e,Mn)}}function bYt(e){switch(hA(),e.q.g){case 5:ust(e,(ze(),fn)),ust(e,rn);break;case 4:prt(e,(ze(),fn)),prt(e,rn);break;default:Xut(e,(ze(),fn)),Xut(e,rn)}}function wYt(e){var t,n;t=u(A(e,(uf(),e0t)),17),t?(n=t.a,n==0?Ee(e,(ng(),XD),new fV):Ee(e,(ng(),XD),new bL(n))):Ee(e,(ng(),XD),new bL(1))}function mYt(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function vYt(e,t){switch(e.g){case 0:return t==(pa(),Tg)?gN:bN;case 1:return t==(pa(),Tg)?gN:PP;case 2:return t==(pa(),Tg)?PP:bN;default:return PP}}function lM(e,t){var n,i,s;for(mc(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),s=Nbe,i=new N(e.a);i.a>16==3?e.Cb.Th(e,12,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(kl(),Pke)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Rhe(e,t){var n,i;return e.Db>>16==11?e.Cb.Th(e,10,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(kl(),_ke)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function uit(e,t){var n,i;return e.Db>>16==10?e.Cb.Th(e,11,Ua,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Pt(),Tp)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function ait(e,t){var n,i;return e.Db>>16==10?e.Cb.Th(e,12,Ga,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Pt(),Kv)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Aa(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=u(e.r,54),e.r=u(sg(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,8,t,e.r))),e.r}function KV(e,t,n){var i;return i=H(F(uo,1),ws,28,15,[i1e(e,($f(),ul),t,n),i1e(e,Ql,t,n),i1e(e,al,t,n)]),e.f&&(i[0]=w.Math.max(i[0],i[2]),i[2]=i[0]),i}function yYt(e,t){var n,i,s;if(s=Uqt(e,t),s.c.length!=0)for(Pi(s,new ITe),n=s.c.length,i=0;i>19,m=t.h>>19,b!=m?m-b:(s=e.h,h=t.h,s!=h?s-h:(i=e.m,d=t.m,i!=d?i-d:(n=e.l,c=t.l,n-c)))}function Bj(){Bj=U,qme=(l$(),lQ),Vme=new St(Rge,qme),Wme=(RL(),sQ),Gme=new St(Age,Wme),Ume=(Ej(),oQ),Kme=new St(Lge,Ume),Hme=new St(jge,(Gt(),!0))}function jS(e,t,n){var i,s;i=t*n,te(e.g,154)?(s=p4(e),s.f.d?s.f.a||(e.d.a+=i+fd):(e.d.d-=i+fd,e.d.a+=i+fd)):te(e.g,10)&&(e.d.d-=i,e.d.a+=2*i)}function fit(e,t,n){var i,s,c,d,h;for(s=e[n.g],h=new N(t.d);h.a0?e.b:0),++n;t.b=i,t.e=s}function dit(e){var t,n,i;if(i=e.b,tHe(e.i,i.length)){for(n=i.length*2,e.b=be(HJ,NM,303,n,0,1),e.c=be(HJ,NM,303,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)bM(e,t,t);++e.g}}function IYt(e,t,n,i){var s,c,d,h;for(s=0;sd&&(h=d/i),s>c&&(b=c/s),Nd(e,w.Math.min(h,b)),e}function PYt(){h$();var e,t;try{if(t=u(Khe((Gp(),Wa),b8),2113),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Rue((Yn(),e));else throw B(n)}return new lRe}function OYt(){h$();var e,t;try{if(t=u(Khe((Gp(),Wa),Da),2040),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Rue((Yn(),e));else throw B(n)}return new ARe}function _Yt(){yQe();var e,t;try{if(t=u(Khe((Gp(),Wa),K0),2122),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Rue((Yn(),e));else throw B(n)}return new TAe}function RYt(e,t,n){var i,s;return s=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,4,s,t),n?n.nj(i):n=i),s!=t&&(t?n=qk(e,Qj(e,t),n):n=qk(e,e.a,n)),n}function hit(){SR.call(this),this.e=-1,this.a=!1,this.p=jo,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=jo}function AYt(e,t){var n,i,s;if(i=e.b.d.d,e.a||(i+=e.b.d.a),s=t.b.d.d,t.a||(s+=t.b.d.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function LYt(e,t){var n,i,s;if(i=e.b.b.d,e.a||(i+=e.b.b.a),s=t.b.b.d,t.a||(s+=t.b.b.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function jYt(e,t){var n,i,s;if(i=e.b.g.d,e.a||(i+=e.b.g.a),s=t.b.g.d,t.a||(s+=t.b.g.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Lhe(){Lhe=U,m0t=Lc(cr(cr(cr(new Li,(Lo(),zl),(Ko(),aye)),zl,fye),Ds,dye),Ds,Zve),y0t=cr(cr(new Li,zl,Wve),zl,eye),v0t=Lc(new Li,Ds,nye)}function $Yt(e){var t,n,i,s,c;for(t=u(A(e,(Oe(),V9)),85),c=e.n,i=t.Cc().Kc();i.Ob();)n=u(i.Pb(),314),s=n.i,s.c+=c.a,s.d+=c.b,n.c?Rlt(n):Alt(n);Ee(e,V9,null)}function DYt(e,t,n){var i,s;switch(s=e.b,i=s.d,t.g){case 1:return-i.d-n;case 2:return s.o.a+i.c+n;case 3:return s.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}function NYt(e,t,n){var i,s;for(n.Ug("Interactive node placement",1),e.a=u(A(t,(Oe(),I2)),312),s=new N(t.b);s.a0&&(d=(c&Pr)%e.d.length,s=D1e(e,d,c,t),s)?(h=s.nd(n),h):(i=e.ck(c,t,n),e.c.Fc(i),null)}function Dhe(e,t){var n,i,s,c;switch(tp(e,t).Kl()){case 3:case 2:{for(n=e2(t),s=0,c=n.i;s=0;i--)if(Et(e[i].d,t)||Et(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function uM(e,t){var n;return zs(e)&&zs(t)&&(n=e/t,zM0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=w.Math.min(i,s))}function yit(e){var t;t=u(A(u(ga(e.b,0),40),(sl(),_4e)),107),Ee(e,(Wr(),W8),new Pe(0,0)),fct(new mI,e,t.b+t.c-le(pe(A(e,nee))),t.d+t.a-le(pe(A(e,ree))))}function kit(e,t){var n,i;if(i=!1,lo(t)&&(i=!0,c4(e,new Pm(Jn(t)))),i||te(t,242)&&(i=!0,c4(e,(n=_ce(u(t,242)),new eR(n)))),!i)throw B(new wK(Lwe))}function tJt(e,t,n,i){var s,c,d;return s=new s1(e.e,1,10,(d=t.c,te(d,90)?u(d,29):(Pt(),Va)),(c=n.c,te(c,90)?u(c,29):(Pt(),Va)),sp(e,t),!1),i?i.nj(s):i=s,i}function Fhe(e){var t,n;switch(u(A(To(e),(Ue(),n3e)),429).g){case 0:return t=e.n,n=e.o,new Pe(t.a+n.a/2,t.b+n.b/2);case 1:return new Wo(e.n);default:return null}}function aM(){aM=U,EN=new SC(eh,0),zye=new SC("LEFTUP",1),Kye=new SC("RIGHTUP",2),Fye=new SC("LEFTDOWN",3),Hye=new SC("RIGHTDOWN",4),nZ=new SC("BALANCED",5)}function nJt(e,t,n){var i,s,c;if(i=Kr(e.a[t.p],e.a[n.p]),i==0){if(s=u(A(t,(Oe(),i6)),15),c=u(A(n,i6),15),s.Hc(n))return-1;if(c.Hc(t))return 1}return i}function rJt(e){switch(e.g){case 1:return new HOe;case 2:return new KOe;case 3:return new zOe;case 0:return null;default:throw B(new Qt(KY+(e.f!=null?e.f:""+e.g)))}}function zhe(e,t,n){switch(t){case 1:!e.n&&(e.n=new Se(ms,e,1,7)),$n(e.n),!e.n&&(e.n=new Se(ms,e,1,7)),wi(e.n,u(n,16));return;case 2:lk(e,Jn(n));return}lde(e,t,n)}function Hhe(e,t,n){switch(t){case 3:Zb(e,le(pe(n)));return;case 4:ew(e,le(pe(n)));return;case 5:oc(e,le(pe(n)));return;case 6:sc(e,le(pe(n)));return}zhe(e,t,n)}function Fj(e,t,n){var i,s,c;c=(i=new uK,i),s=cd(c,t,null),s&&s.oj(),Xl(c,n),Dn((!e.c&&(e.c=new Se(Gw,e,12,10)),e.c),c),Q1(c,0),Bm(c,1),rp(c,!0),np(c,!0)}function Khe(e,t){var n,i,s;return n=mC(e.i,t),te(n,241)?(s=u(n,241),s.zi()==null,s.wi()):te(n,507)?(i=u(n,2037),s=i.b,s):null}function iJt(e,t,n,i){var s,c;return qn(t),qn(n),c=u(zC(e.d,t),17),WQe(!!c,"Row %s not in %s",t,e.e),s=u(zC(e.b,n),17),WQe(!!s,"Column %s not in %s",n,e.c),ott(e,c.a,s.a,i)}function Cit(e,t,n,i,s,c,d){var h,b,m,v,k;if(v=s[c],m=c==d-1,h=m?i:0,k=zrt(h,v),i!=10&&H(F(e,d-c),t[c],n[c],h,k),!m)for(++c,b=0;b1||h==-1?(c=u(b,15),s.Wb(zVt(e,c))):s.Wb(Mq(e,u(b,58)))))}function fJt(e,t,n,i){Oze();var s=DJ;function c(){for(var d=0;d0)return!1;return!0}function pJt(e){var t,n,i,s,c;for(i=new S0(new i0(e.b).a);i.b;)n=rw(i),t=u(n.ld(),10),c=u(u(n.md(),42).a,10),s=u(u(n.md(),42).b,8),Or(Of(t.n),Or(xo(c.n),s))}function gJt(e){switch(u(A(e.b,(Ue(),X2e)),387).g){case 1:yi(Rs(Qs(new xt(null,new Mt(e.d,16)),new vMe),new yMe),new kMe);break;case 2:ain(e);break;case 0:HZt(e)}}function bJt(e,t,n){var i,s,c;for(i=n,!i&&(i=new N3),i.Ug("Layout",e.a.c.length),c=new N(e.a);c.aBY)return n;s>-1e-6&&++n}return n}function Ghe(e,t){var n;t!=e.b?(n=null,e.b&&(n=iL(e.b,e,-4,n)),t&&(n=I4(t,e,-4,n)),n=Qtt(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function Eit(e,t){var n;t!=e.f?(n=null,e.f&&(n=iL(e.f,e,-1,n)),t&&(n=I4(t,e,-1,n)),n=Jtt(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,t,t))}function yJt(e,t,n,i){var s,c,d,h;return ku(e.e)&&(s=t.Lk(),h=t.md(),c=n.md(),d=Zp(e,1,s,h,c,s.Jk()?Gk(e,s,c,te(s,102)&&(u(s,19).Bb&es)!=0):-1,!0),i?i.nj(d):i=d),i}function Tit(e){var t,n,i;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(i=new B1,t=n.Kc();t.Ob();)ps(i,(Fr(),Jn(t.Pb()))),i.a+=" ";return dU(i,i.a.length-1)}function Iit(e){var t,n,i;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(i=new B1,t=n.Kc();t.Ob();)ps(i,(Fr(),Jn(t.Pb()))),i.a+=" ";return dU(i,i.a.length-1)}function kJt(e,t,n){var i,s;return i=e.c[t.c.p][t.p],s=e.c[n.c.p][n.p],i.a!=null&&s.a!=null?eG(i.a,s.a):i.a!=null?-1:s.a!=null?1:0}function CJt(e,t,n){return n.Ug("Tree layout",1),iI(e.b),_f(e.b,(P4(),sB),sB),_f(e.b,ax,ax),_f(e.b,fx,fx),_f(e.b,dx,dx),e.a=OM(e.b,t),bJt(e,t,n.eh(1)),n.Vg(),t}function SJt(e,t){var n,i,s,c,d,h;if(t)for(c=t.a.length,n=new f0(c),h=(n.b-n.a)*n.c<0?(Wp(),zg):new Xp(n);h.Ob();)d=u(h.Pb(),17),s=V5(t,d.a),i=new WNe(e),_Nt(i.a,s)}function xJt(e,t){var n,i,s,c,d,h;if(t)for(c=t.a.length,n=new f0(c),h=(n.b-n.a)*n.c<0?(Wp(),zg):new Xp(n);h.Ob();)d=u(h.Pb(),17),s=V5(t,d.a),i=new DNe(e),ONt(i.a,s)}function EJt(e){var t;if(e!=null&&e.length>0&&Ao(e,e.length-1)==33)try{return t=jst(oa(e,0,e.length-1)),t.e==null}catch(n){if(n=li(n),!te(n,33))throw B(n)}return!1}function TJt(e,t,n){var i,s,c;switch(i=To(t),s=hj(i),c=new Ml,Js(c,t),n.g){case 1:Vi(c,QI(x4(s)));break;case 2:Vi(c,x4(s))}return Ee(c,(Ue(),Tv),pe(A(e,Tv))),c}function Whe(e){var t,n;return t=u(Sn(new gn(wn(eo(e.a).a.Kc(),new $))),18),n=u(Sn(new gn(wn(Mi(e.a).a.Kc(),new $))),18),qe(Ve(A(t,(Oe(),bd))))||qe(Ve(A(n,bd)))}function Vm(){Vm=U,OP=new xT("ONE_SIDE",0),vN=new xT("TWO_SIDES_CORNER",1),yN=new xT("TWO_SIDES_OPPOSING",2),mN=new xT("THREE_SIDES",3),wN=new xT("FOUR_SIDES",4)}function Mit(e,t){var n,i,s,c;for(c=new Le,s=0,i=t.Kc();i.Ob();){for(n=Ae(u(i.Pb(),17).a+s);n.a=e.f)break;Ft(c.c,n)}return c}function IJt(e,t){var n,i,s,c,d;for(c=new N(t.a);c.a0&&Qrt(this,this.c-1,(ze(),fn)),this.c0&&e[0].length>0&&(this.c=qe(Ve(A(To(e[0][0]),(Oe(),i2e))))),this.a=be(Cvt,_e,2117,e.length,0,2),this.b=be(Svt,_e,2118,e.length,0,2),this.d=new Wtt}function RJt(e){return e.c.length==0?!1:(_t(0,e.c.length),u(e.c[0],18)).c.i.k==(nn(),io)?!0:jy(Rs(new xt(null,new Mt(e,16)),new ePe),new tPe)}function _it(e,t){var n,i,s,c,d,h,b;for(h=Qm(t),c=t.f,b=t.g,d=w.Math.sqrt(c*c+b*b),s=0,i=new N(h);i.a=0?(n=uM(e,x$),i=eM(e,x$)):(t=Yp(e,1),n=uM(t,5e8),i=eM(t,5e8),i=zo(nf(i,1),Yi(e,1))),Rf(nf(i,32),Yi(n,us))}function Lit(e,t,n){var i,s;switch(i=(yn(t.b!=0),u(ua(t,t.a.a),8)),n.g){case 0:i.b=0;break;case 2:i.b=e.f;break;case 3:i.a=0;break;default:i.a=e.g}return s=Ln(t,0),rI(s,i),t}function jit(e,t,n,i){var s,c,d,h,b;switch(b=e.b,c=t.d,d=c.j,h=uhe(d,b.d[d.g],n),s=Or(xo(c.n),c.a),c.j.g){case 1:case 3:h.a+=s.a;break;case 2:case 4:h.b+=s.b}pi(i,h,i.c.b,i.c)}function UJt(e,t,n){var i,s,c,d;for(d=Ls(e.e,t,0),c=new Qoe,c.b=n,i=new wo(e.e,d);i.b1;t>>=1)t&1&&(i=Ly(i,n)),n.d==1?n=Ly(n,n):n=new Jnt(wct(n.a,n.d,be(Bn,ur,28,n.d<<1,15,1)));return i=Ly(i,n),i}function t1e(){t1e=U;var e,t,n,i;for(Lme=be(uo,ws,28,25,15,1),jme=be(uo,ws,28,33,15,1),i=152587890625e-16,t=32;t>=0;t--)jme[t]=i,i*=.5;for(n=1,e=24;e>=0;e--)Lme[e]=n,n*=.5}function YJt(e){var t,n;if(qe(Ve(Ie(e,(Ue(),Ev))))){for(n=new gn(wn(g1(e).a.Kc(),new $));jn(n);)if(t=u(Sn(n),74),fw(t)&&qe(Ve(Ie(t,X0))))return!0}return!1}function $it(e,t){var n,i,s;Fi(e.f,t)&&(t.b=e,i=t.c,Ls(e.j,i,0)!=-1||je(e.j,i),s=t.d,Ls(e.j,s,0)!=-1||je(e.j,s),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new rrt(e)),tGt(e.i,n)))}function JJt(e){var t,n,i,s,c;return n=e.c.d,i=n.j,s=e.d.d,c=s.j,i==c?n.p=0&&Et(e.substr(t,3),"GMT")||t>=0&&Et(e.substr(t,3),"UTC"))&&(n[0]=t+3),Lpe(e,n,i)}function ZJt(e,t){var n,i,s,c,d;for(c=e.g.a,d=e.g.b,i=new N(e.d);i.an;c--)e[c]|=t[c-n-1]>>>d,e[c-1]=t[c-n-1]<0&&Pl(e.g,t,e.g,t+i,h),d=n.Kc(),e.i+=i,s=0;s>4&15,c=e[i]&15,d[s++]=Ake[n],d[s++]=Ake[c];return Ud(d,0,d.length)}function yc(e){var t,n;return e>=es?(t=HM+(e-es>>10&1023)&Di,n=56320+(e-es&1023)&Di,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&Di)}function aQt(e,t){xm();var n,i,s,c;return s=u(u(Lr(e.r,t),21),87),s.gc()>=2?(i=u(s.Kc().Pb(),117),n=e.u.Hc((Qc(),Lx)),c=e.u.Hc(b6),!i.a&&!n&&(s.gc()==2||c)):!1}function Bit(e,t,n,i,s){var c,d,h;for(c=xlt(e,t,n,i,s),h=!1;!c;)Yj(e,s,!0),h=!0,c=xlt(e,t,n,i,s);h&&Yj(e,s,!1),d=$W(s),d.c.length!=0&&(e.d&&e.d.Gg(d),Bit(e,s,n,i,d))}function Uj(){Uj=U,fte=new IC(eh,0),rke=new IC("DIRECTED",1),oke=new IC("UNDIRECTED",2),tke=new IC("ASSOCIATION",3),ike=new IC("GENERALIZATION",4),nke=new IC("DEPENDENCY",5)}function fQt(e,t){var n;if(!Qf(e))throw B(new ys(tht));switch(n=Qf(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function dQt(e,t,n){var i,s,c;return i=t.Lk(),c=t.md(),s=i.Jk()?Zp(e,4,i,c,null,Gk(e,i,c,te(i,102)&&(u(i,19).Bb&es)!=0),!0):Zp(e,i.tk()?2:1,i,c,i.ik(),-1,!0),n?n.nj(s):n=s,n}function jk(e,t){var n,i;for(sn(t),i=e.b.c.length,je(e.b,t);i>0;){if(n=i,i=(i-1)/2|0,e.a.Ne(Ye(e.b,i),t)<=0)return la(e.b,n,t),!0;la(e.b,n,Ye(e.b,i))}return la(e.b,i,t),!0}function i1e(e,t,n,i){var s,c;if(s=0,n)s=cj(e.a[n.g][t.g],i);else for(c=0;c=h)}function Fit(e){switch(e.g){case 0:return new r_e;case 1:return new i_e;default:throw B(new Qt("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function o1e(e,t,n,i){var s;if(s=!1,lo(i)&&(s=!0,$5(t,n,Jn(i))),s||ym(i)&&(s=!0,o1e(e,t,n,i)),s||te(i,242)&&(s=!0,g0(t,n,u(i,242))),!s)throw B(new wK(Lwe))}function pQt(e,t){var n,i,s;if(n=t.qi(e.a),n&&(s=Df((!n.b&&(n.b=new Su((Pt(),ns),dl,n)),n.b),$a),s!=null)){for(i=1;i<(Dc(),r8e).length;++i)if(Et(r8e[i],s))return i}return 0}function gQt(e,t){var n,i,s;if(n=t.qi(e.a),n&&(s=Df((!n.b&&(n.b=new Su((Pt(),ns),dl,n)),n.b),$a),s!=null)){for(i=1;i<(Dc(),i8e).length;++i)if(Et(i8e[i],s))return i}return 0}function zit(e,t){var n,i,s,c;if(sn(t),c=e.a.gc(),c0?1:0;c.a[s]!=n;)c=c.a[s],s=e.a.Ne(n.d,c.d)>0?1:0;c.a[s]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function mQt(e){var t,n,i,s;for(t=new Le,n=be(wu,Oh,28,e.a.c.length,16,1),Iue(n,n.length),s=new N(e.a);s.a0&&hct((_t(0,n.c.length),u(n.c[0],30)),e),n.c.length>1&&hct(u(Ye(n,n.c.length-1),30),e),t.Vg()}function yQt(e){Qc();var t,n;return t=Yr(E1,H(F(LB,1),Te,279,0,[jg])),!($I(sL(t,e))>1||(n=Yr(Lx,H(F(LB,1),Te,279,0,[Ax,b6])),$I(sL(n,e))>1))}function l1e(e,t){var n;n=jl((Gp(),Wa),e),te(n,507)?ks(Wa,e,new _Ke(this,t)):ks(Wa,e,this),eq(this,t),t==(k5(),Gke)?(this.wb=u(this,2038),u(t,2040)):this.wb=(Jp(),Wt)}function kQt(e){var t,n,i;if(e==null)return null;for(t=null,n=0;n=ap?"error":i>=900?"warn":i>=800?"info":"log"),QVe(n,e.a),e.b&&upe(t,n,e.b,"Exception: ",!0))}function A(e,t){var n,i;return i=(!e.q&&(e.q=new On),pn(e.q,t)),i??(n=t.Sg(),te(n,4)&&(n==null?(!e.q&&(e.q=new On),b4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n))),n)}function Lo(){Lo=U,hf=new ST("P1_CYCLE_BREAKING",0),Ah=new ST("P2_LAYERING",1),Ol=new ST("P3_NODE_ORDERING",2),zl=new ST("P4_NODE_PLACEMENT",3),Ds=new ST("P5_EDGE_ROUTING",4)}function CQt(e,t){uS();var n;if(e.c==t.c){if(e.b==t.b||PUt(e.b,t.b)){if(n=eRt(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return vl(e.b.g,t.b.g)}else return Kr(e.c,t.c)}function Wit(e,t){var n,i,s;if(u1e(e,t))return!0;for(i=new N(t);i.a=s||t<0)throw B(new vs(wJ+t+z0+s));if(n>=s||n<0)throw B(new vs(mJ+n+z0+s));return t!=n?i=(c=e.Cj(n),e.qj(t,c),c):i=e.xj(n),i}function Xit(e){var t,n,i;if(i=e,e)for(t=0,n=e.Eh();n;n=n.Eh()){if(++t>IX)return Xit(n);if(i=n,n==e)throw B(new ys("There is a cycle in the containment hierarchy of "+e))}return i}function ag(e){var t,n,i;for(i=new x0(qo,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),o1(i,fe(t)===fe(e)?"(this Collection)":t==null?kc:Ks(t));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function u1e(e,t){var n,i;if(i=!1,t.gc()<2)return!1;for(n=0;n1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=w.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function fg(){fg=U,sbt=H(F(ts,1),Cl,64,0,[(ze(),en),fn,Mn]),obt=H(F(ts,1),Cl,64,0,[fn,Mn,rn]),lbt=H(F(ts,1),Cl,64,0,[Mn,rn,en]),cbt=H(F(ts,1),Cl,64,0,[rn,en,fn])}function xQt(e,t,n,i){var s,c,d,h,b,m,v;if(d=e.c.d,h=e.d.d,d.j!=h.j)for(v=e.b,s=d.j,b=null;s!=h.j;)b=t==0?dj(s):Pde(s),c=uhe(s,v.d[s.g],n),m=uhe(b,v.d[b.g],n),ir(i,Or(c,m)),s=b}function EQt(e,t,n,i){var s,c,d,h,b;return d=Zrt(e.a,t,n),h=u(d.a,17).a,c=u(d.b,17).a,i&&(b=u(A(t,(Oe(),Zc)),10),s=u(A(n,Zc),10),b&&s&&(NYe(e.b,b,s),h+=e.b.i,c+=e.b.e)),h>c}function Jit(e){var t,n,i,s,c,d,h,b,m;for(this.a=yrt(e),this.b=new Le,n=e,i=0,s=n.length;iPU(e.d).c?(e.i+=e.g.c,gV(e.d)):PU(e.d).c>PU(e.g).c?(e.e+=e.d.c,gV(e.g)):(e.i+=sVe(e.g),e.e+=sVe(e.d),gV(e.g),gV(e.d))}function PQt(e,t,n){var i,s,c,d;for(c=t.q,d=t.r,new b0((Af(),Mg),t,c,1),new b0(Mg,c,d,1),s=new N(n);s.ah&&(b=h/i),s>c&&(m=c/s),d=w.Math.min(b,m),e.a+=d*(t.a-e.a),e.b+=d*(t.b-e.b)}function AQt(e,t,n,i,s){var c,d;for(d=!1,c=u(Ye(n.b,0),27);csn(e,t,c,i,s)&&(d=!0,uJt(n,c),n.b.c.length!=0);)c=u(Ye(n.b,0),27);return n.b.c.length==0&&lM(n.j,n),d&&$j(t.q),d}function LQt(e,t){Qy();var n,i,s,c;if(t.b<2)return!1;for(c=Ln(t,0),n=u(_n(c),8),i=n;c.b!=c.d.c;){if(s=u(_n(c),8),bq(e,i,s))return!0;i=s}return!!bq(e,i,n)}function f1e(e,t,n,i){var s,c;return n==0?(!e.o&&(e.o=new jc((kl(),Fh),Sp,e,0)),wA(e.o,t,i)):(c=u(Dt((s=u(Yt(e,16),29),s||e.ii()),n),69),c.wk().Ak(e,lc(e),n-Cn(e.ii()),t,i))}function eq(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=u(e.sb,54).Th(e,1,Dx,n)),t&&(n=u(t,54).Rh(e,1,Dx,n)),n=Sde(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,4,t,t))}function jQt(e,t){var n,i,s,c;if(t)s=u1(t,"x"),n=new KNe(e),tk(n.a,(sn(s),s)),c=u1(t,"y"),i=new UNe(e),rk(i.a,(sn(c),c));else throw B(new Ld("All edge sections need an end point."))}function $Qt(e,t){var n,i,s,c;if(t)s=u1(t,"x"),n=new FNe(e),nk(n.a,(sn(s),s)),c=u1(t,"y"),i=new zNe(e),ik(i.a,(sn(c),c));else throw B(new Ld("All edge sections need a start point."))}function DQt(e,t){var n,i,s,c,d,h,b;for(i=Itt(e),c=0,h=i.length;c>22-t,s=e.h<>22-t):t<44?(n=0,i=e.l<>44-t):(n=0,i=0,s=e.l<e)throw B(new Qt("k must be smaller than n"));return t==0||t==e?1:e==0?0:Nhe(e)/(Nhe(t)*Nhe(e-t))}function d1e(e,t){var n,i,s,c;for(n=new Mle(e);n.g==null&&!n.c?sae(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)if(c=u(Jj(n),58),te(c,167))for(i=u(c,167),s=0;s>4],t[n*2+1]=tF[c&15];return Ud(t,0,t.length)}function ZQt(e){qA();var t,n,i;switch(i=e.c.length,i){case 0:return ipt;case 1:return t=u(Not(new N(e)),44),W$t(t.ld(),t.md());default:return n=u(ld(e,be(U0,C$,44,e.c.length,0,1)),173),new fse(n)}}function eZt(e){var t,n,i,s,c,d;for(t=new My,n=new My,eg(t,e),eg(n,e);n.b!=n.c;)for(s=u(s4(n),36),d=new N(s.a);d.a0&&xM(e,n,t),s):Hen(e,t,n)}function dg(){dg=U,u2t=(pr(),d6),a2t=ib,o2t=rb,s2t=G2,l2t=_g,i2t=U2,J4e=uO,c2t=jv,mee=(Tpe(),Vyt),vee=qyt,Z4e=Qyt,yee=t2t,e6e=Zyt,t6e=e2t,Q4e=Xyt,pB=Yyt,gB=Jyt,JP=n2t,n6e=r2t,Y4e=Wyt}function oot(e,t){var n,i,s,c,d;if(e.e<=t||xFt(e,e.g,t))return e.g;for(c=e.r,i=e.g,d=e.r,s=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=w.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function oZt(e){var t,n,i,s;switch(s=e.i,t=s.b,i=s.j,n=s.g,s.a.g){case 0:n.a=(e.g.b.o.a-i.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-i.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function sZt(e,t,n){var i,s,c;for(s=new gn(wn(d1(n).a.Kc(),new $));jn(s);)i=u(Sn(s),18),!Zo(i)&&!(!Zo(i)&&i.c.i.c==i.d.i.c)&&(c=Xst(e,i,n,new JBe),c.c.length>1&&Ft(t.c,c))}function lot(e,t,n,i,s){if(ii&&(e.a=i),e.bs&&(e.b=s),e}function lZt(e){if(te(e,143))return Nnn(u(e,143));if(te(e,233))return MVt(u(e,233));if(te(e,23))return BQt(u(e,23));throw B(new Qt(jwe+ag(new Wc(H(F(Ji,1),Bt,1,5,[e])))))}function cZt(e,t,n,i,s){var c,d,h;for(c=!0,d=0;d>>s|n[d+i+1]<>>s,++d}return c}function b1e(e,t,n,i){var s,c,d;if(t.k==(nn(),io)){for(c=new gn(wn(eo(t).a.Kc(),new $));jn(c);)if(s=u(Sn(c),18),d=s.c.i.k,d==io&&e.c.a[s.c.i.c.p]==i&&e.c.a[t.c.p]==n)return!0}return!1}function uZt(e,t){var n,i,s,c;return t&=63,n=e.h&m1,t<22?(c=n>>>t,s=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(c=0,s=n>>>t-22,i=e.m>>t-22|e.h<<44-t):(c=0,s=0,i=n>>>t-44),nc(i&hu,s&hu,c&m1)}function cot(e,t,n,i){var s;this.b=i,this.e=e==(tw(),lx),s=t[n],this.d=u0(wu,[_e,Oh],[183,28],16,[s.length,s.length],2),this.a=u0(Bn,[_e,ur],[53,28],15,[s.length,s.length],2),this.c=new Jhe(t,n)}function aZt(e){var t,n,i;for(e.k=new uae((ze(),H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn])).length,e.j.c.length),i=new N(e.j);i.a=n)return Dk(e,t,i.p),!0;return!1}function qy(e,t,n,i){var s,c,d,h,b,m;for(d=n.length,c=0,s=-1,m=ZQe((Zt(t,e.length+1),e.substr(t)),(LU(),Rme)),h=0;hc&&DDt(m,ZQe(n[h],Rme))&&(s=h,c=b);return s>=0&&(i[0]=t+c),s}function aot(e){var t;return e.Db&64?tq(e):(t=new Ru(xwe),!e.a||lr(lr((t.a+=' "',t),e.a),'"'),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function fot(e,t,n){var i,s,c,d,h;for(h=cc(e.e.Dh(),t),s=u(e.g,124),i=0,d=0;dn?T1e(e,n,"start index"):t<0||t>n?T1e(t,n,"end index"):VS("end index (%s) must not be less than start index (%s)",H(F(Ji,1),Bt,1,5,[Ae(t),Ae(e)]))}function hot(e,t){var n,i,s,c;for(i=0,s=e.length;i0&&pot(e,c,n));t.p=0}function nt(e){var t;this.c=new Zr,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=u(Mf($h),9),new ra(t,u(ef(t,t.length),9),0)),this.g=e.f}function bZt(e){var t,n,i,s;for(t=h0(lr(new Ru("Predicates."),"and"),40),n=!0,s=new Q7(e);s.b0?h[d-1]:be(Lh,fp,10,0,0,1),s=h[d],m=d=0?e.ki(s):O1e(e,i);else throw B(new Qt(vg+i.xe()+C9));else throw B(new Qt(dht+t+hht));else fa(e,n,i)}function w1e(e){var t,n;if(n=null,t=!1,te(e,211)&&(t=!0,n=u(e,211).a),t||te(e,263)&&(t=!0,n=""+u(e,263).a),t||te(e,493)&&(t=!0,n=""+u(e,493).a),!t)throw B(new wK(Lwe));return n}function m1e(e,t,n){var i,s,c,d,h,b;for(b=cc(e.e.Dh(),t),i=0,h=e.i,s=u(e.g,124),d=0;d=e.d.b.c.length&&(t=new Ll(e.d),t.p=i.p-1,je(e.d.b,t),n=new Ll(e.d),n.p=i.p,je(e.d.b,n)),bo(i,u(Ye(e.d.b,i.p),30))}function k1e(e,t,n){var i,s,c;if(!e.b[t.g]){for(e.b[t.g]=!0,i=n,!i&&(i=new mI),ir(i.b,t),c=e.a[t.g].Kc();c.Ob();)s=u(c.Pb(),65),s.b!=t&&k1e(e,s.b,i),s.c!=t&&k1e(e,s.c,i),ir(i.a,s);return i}return null}function yZt(e){switch(e.g){case 0:case 1:case 2:return ze(),en;case 3:case 4:case 5:return ze(),Mn;case 6:case 7:case 8:return ze(),rn;case 9:case 10:case 11:return ze(),fn;default:return ze(),nl}}function kZt(e,t){var n;return e.c.length==0?!1:(n=Rnt((_t(0,e.c.length),u(e.c[0],18)).c.i),Lu(),n==(Gm(),A2)||n==R2?!0:jy(Rs(new xt(null,new Mt(e,16)),new nPe),new YDe(t)))}function oq(e,t){if(te(t,207))return gRt(e,u(t,27));if(te(t,193))return bRt(e,u(t,123));if(te(t,452))return pRt(e,u(t,166));throw B(new Qt(jwe+ag(new Wc(H(F(Ji,1),Bt,1,5,[t])))))}function yot(e,t,n){var i,s;if(this.f=e,i=u(pn(e.b,t),260),s=i?i.a:0,Bae(n,s),n>=(s/2|0))for(this.e=i?i.c:null,this.d=s;n++0;)ufe(this);this.b=t,this.a=null}function CZt(e,t){var n,i;t.a?nrn(e,t):(n=u(MK(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),i=u(IK(e.b,t.b),60),i&&e.a[i.f]==t.b&&i.a&&i.a!=t.b.a&&t.b.c.Fc(i),kU(e.b,t.b))}function kot(e,t){var n,i;if(n=u(gs(e.b,t),127),u(u(Lr(e.r,t),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((Iu(),sb))&&Vlt(e,t),i=Yqt(e,t),mq(e,t)==(Hy(),Ag)&&(i+=2*e.w),n.a.a=i}function Cot(e,t){var n,i;if(n=u(gs(e.b,t),127),u(u(Lr(e.r,t),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((Iu(),sb))&&qlt(e,t),i=Xqt(e,t),mq(e,t)==(Hy(),Ag)&&(i+=2*e.w),n.a.b=i}function SZt(e,t){var n,i,s,c;for(c=new Le,i=new N(t);i.ai&&(Zt(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return i>0||tn.a&&(i.Hc((O0(),Sx))?s=(t.a-n.a)/2:i.Hc(xx)&&(s=t.a-n.a)),t.b>n.b&&(i.Hc((O0(),Tx))?c=(t.b-n.b)/2:i.Hc(Ex)&&(c=t.b-n.b)),s1e(e,s,c)}function Pot(e,t,n,i,s,c,d,h,b,m,v,k,T){te(e.Cb,90)&&Ym(cu(u(e.Cb,90)),4),Xl(e,n),e.f=d,xk(e,h),Tk(e,b),Sk(e,m),Ek(e,v),rp(e,k),Ik(e,T),np(e,!0),Q1(e,s),e.Zk(c),I0(e,t),i!=null&&(e.i=null,VL(e,i))}function T1e(e,t,n){if(e<0)return VS(Tat,H(F(Ji,1),Bt,1,5,[n,Ae(e)]));if(t<0)throw B(new Qt(Iat+t));return VS("%s (%s) must not be greater than size (%s)",H(F(Ji,1),Bt,1,5,[n,Ae(e),Ae(t)]))}function I1e(e,t,n,i,s,c){var d,h,b,m;if(d=i-n,d<7){wVt(t,n,i,c);return}if(b=n+s,h=i+s,m=b+(h-b>>1),I1e(t,e,b,m,-s,c),I1e(t,e,m,h,-s,c),c.Ne(e[m-1],e[m])<=0){for(;n=0?e.bi(c,n):rpe(e,s,n);else throw B(new Qt(vg+s.xe()+C9));else throw B(new Qt(dht+t+hht));else da(e,i,s,n)}function Oot(e){var t,n;if(e.f){for(;e.n>0;){if(t=u(e.k.Xb(e.n-1),76),n=t.Lk(),te(n,102)&&u(n,19).Bb&wl&&(!e.e||n.pk()!=r7||n.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function _ot(e){var t,n,i,s;if(n=u(e,54)._h(),n)try{if(i=null,t=Bk((Gp(),Wa),bct(PVt(n))),t&&(s=t.ai(),s&&(i=s.Fl(OOt(n.e)))),i&&i!=e)return _ot(i)}catch(c){if(c=li(c),!te(c,63))throw B(c)}return e}function BZt(e,t,n){var i,s,c;n.Ug("Remove overlaps",1),n.dh(t,Dbe),i=u(Ie(t,(Oy(),$2)),27),e.f=i,e.a=EV(u(Ie(t,(dg(),JP)),300)),s=pe(Ie(t,(pr(),ib))),voe(e,(sn(s),s)),c=Qm(i),Nut(e,t,c,n),n.dh(t,oD)}function FZt(e){var t,n,i;if(qe(Ve(Ie(e,(pr(),lO))))){for(i=new Le,n=new gn(wn(g1(e).a.Kc(),new $));jn(n);)t=u(Sn(n),74),fw(t)&&qe(Ve(Ie(t,Zee)))&&Ft(i.c,t);return i}else return Ot(),Ot(),Yo}function Rot(e){if(!e)return OFe(),hpt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=VJ[typeof t];return n?n(t):bde(typeof t)}else return e instanceof Array||e instanceof w.Array?new hoe(e):new sT(e)}function Aot(e,t,n){var i,s,c;switch(c=e.o,i=u(gs(e.p,n),252),s=i.i,s.b=FS(i),s.a=BS(i),s.b=w.Math.max(s.b,c.a),s.b>c.a&&!t&&(s.b=c.a),s.c=-(s.b-c.a)/2,n.g){case 1:s.d=-s.a;break;case 3:s.d=c.b}_q(i),Rq(i)}function Lot(e,t,n){var i,s,c;switch(c=e.o,i=u(gs(e.p,n),252),s=i.i,s.b=FS(i),s.a=BS(i),s.a=w.Math.max(s.a,c.b),s.a>c.b&&!t&&(s.a=c.b),s.d=-(s.a-c.b)/2,n.g){case 4:s.c=-s.b;break;case 2:s.c=c.a}_q(i),Rq(i)}function zZt(e,t){var n,i,s,c,d;if(!t.dc()){if(s=u(t.Xb(0),131),t.gc()==1){flt(e,s,s,1,0,t);return}for(n=1;n0)try{s=zu(t,jo,Pr)}catch(c){throw c=li(c),te(c,130)?(i=c,B(new ML(i))):B(c)}return n=(!e.a&&(e.a=new tK(e)),e.a),s=0?u(re(n,s),58):null}function GZt(e,t){if(e<0)return VS(Tat,H(F(Ji,1),Bt,1,5,["index",Ae(e)]));if(t<0)throw B(new Qt(Iat+t));return VS("%s (%s) must be less than size (%s)",H(F(Ji,1),Bt,1,5,["index",Ae(e),Ae(t)]))}function WZt(e){var t,n,i,s,c;if(e==null)return kc;for(c=new x0(qo,"[","]"),n=e,i=0,s=n.length;i=0?e.Lh(n,!0,!0):dw(e,s,!0),160)),u(i,220).Zl(t);else throw B(new Qt(vg+t.xe()+C9))}function _1e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Wi(w.Math.floor(w.Math.log(e)/.6931471805599453)),(!t||e!=w.Math.pow(2,n))&&++n,n):Jet(bl(e))}function len(e){var t,n,i,s,c,d,h;for(c=new Dd,n=new N(e);n.a2&&h.e.b+h.j.b<=2&&(s=h,i=d),c.a.zc(s,c),s.q=i);return c}function cen(e,t,n){n.Ug("Eades radial",1),n.dh(t,oD),e.d=u(Ie(t,(Oy(),$2)),27),e.c=le(pe(Ie(t,(dg(),gB)))),e.e=EV(u(Ie(t,JP),300)),e.a=DVt(u(Ie(t,n6e),434)),e.b=rJt(u(Ie(t,Q4e),354)),BYt(e),n.dh(t,oD)}function uen(e,t){if(t.Ug("Target Width Setter",1),rd(e,(ud(),Ree)))Dr(e,(xh(),Av),pe(Ie(e,Ree)));else throw B(new N1("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Vg()}function Bot(e,t){var n,i,s;return i=new p1(e),js(i,t),Ee(i,(Oe(),RN),t),Ee(i,(Ue(),vi),(fo(),Ul)),Ee(i,sh,(Ch(),IB)),n0(i,(nn(),Oi)),n=new Ml,Js(n,i),Vi(n,(ze(),rn)),s=new Ml,Js(s,i),Vi(s,fn),i}function Fot(e){switch(e.g){case 0:return new pK((tw(),GP));case 1:return new tje;case 2:return new nje;default:throw B(new Qt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function zot(e,t){var n,i,s,c,d;for(e.c[t.p]=!0,je(e.a,t),d=new N(t.j);d.a=c)d.$b();else for(s=d.Kc(),i=0;i0?bse():d<0&&Got(e,t,-d),!0):!1}function BS(e){var t,n,i,s,c,d,h;if(h=0,e.b==0){for(d=Irt(e,!0),t=0,i=d,s=0,c=i.length;s0&&(h+=n,++t);t>1&&(h+=e.c*(t-1))}else h=HFe(MW(Om(Ar(Eue(e.a),new j1),new X7)));return h>0?h+e.n.d+e.n.a:0}function FS(e){var t,n,i,s,c,d,h;if(h=0,e.b==0)h=HFe(MW(Om(Ar(Eue(e.a),new q7),new rT)));else{for(d=Mrt(e,!0),t=0,i=d,s=0,c=i.length;s0&&(h+=n,++t);t>1&&(h+=e.c*(t-1))}return h>0?h+e.n.b+e.n.c:0}function ben(e){var t,n;if(e.c.length!=2)throw B(new ys("Order only allowed for two paths."));t=(_t(0,e.c.length),u(e.c[0],18)),n=(_t(1,e.c.length),u(e.c[1],18)),t.d.i!=n.c.i&&(e.c.length=0,Ft(e.c,n),Ft(e.c,t))}function Wot(e,t,n){var i;for(xy(n,t.g,t.f),ta(n,t.i,t.j),i=0;i<(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i;i++)Wot(e,u(re((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),i),27),u(re((!n.a&&(n.a=new Se(xr,n,10,11)),n.a),i),27))}function wen(e,t){var n,i,s,c;for(c=u(gs(e.b,t),127),n=c.a,s=u(u(Lr(e.r,t),21),87).Kc();s.Ob();)i=u(s.Pb(),117),i.c&&(n.a=w.Math.max(n.a,nue(i.c)));if(n.a>0)switch(t.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function men(e,t){var n,i,s;return n=u(A(t,(uf(),Q4)),17).a-u(A(e,Q4),17).a,n==0?(i=Xi(xo(u(A(e,(ng(),EP)),8)),u(A(e,F9),8)),s=Xi(xo(u(A(t,EP),8)),u(A(t,F9),8)),Kr(i.a*i.b,s.a*s.b)):n}function ven(e,t){var n,i,s;return n=u(A(t,(sl(),aB)),17).a-u(A(e,aB),17).a,n==0?(i=Xi(xo(u(A(e,(Wr(),qP)),8)),u(A(e,W8),8)),s=Xi(xo(u(A(t,qP),8)),u(A(t,W8),8)),Kr(i.a*i.b,s.a*s.b)):n}function Vot(e){var t,n;return n=new Hp,n.a+="e_",t=dGt(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(lr((n.a+=" ",n),Nj(e.c)),lr(Al((n.a+="[",n),e.c.i),"]"),lr((n.a+=tY,n),Nj(e.d)),lr(Al((n.a+="[",n),e.d.i),"]")),n.a}function qot(e){switch(e.g){case 0:return new fje;case 1:return new dje;case 2:return new uje;case 3:return new cje;default:throw B(new Qt("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function L1e(e,t,n,i,s){var c;switch(c=0,s.g){case 1:c=w.Math.max(0,t.b+e.b-(n.b+i));break;case 3:c=w.Math.max(0,-e.b-i);break;case 2:c=w.Math.max(0,-e.a-i);break;case 4:c=w.Math.max(0,t.a+e.a-(n.a+i))}return c}function yen(e,t,n){var i,s,c,d,h;if(n)for(s=n.a.length,i=new f0(s),h=(i.b-i.a)*i.c<0?(Wp(),zg):new Xp(i);h.Ob();)d=u(h.Pb(),17),c=V5(n,d.a),Mwe in c.a||gJ in c.a?Lin(e,c,t):Zun(e,c,t),QRt(u(pn(e.b,Pk(c)),74))}function j1e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=Aa(e),t&&(rs(),t.lk()==p1t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function $1e(e,t){var n,i,s,c;if(Er(e),e.c!=0||e.a!=123)throw B(new er(rr((Yn(),$ht))));if(c=t==112,i=e.d,n=P5(e.i,125,i),n<0)throw B(new er(rr((Yn(),Dht))));return s=oa(e.i,i,n),e.d=n+1,bQe(s,c,(e.e&512)==512)}function Xot(e){var t,n,i,s,c,d,h;if(i=e.a.c.length,i>0)for(d=e.c.d,h=e.d.d,s=Nd(Xi(new Pe(h.a,h.b),d),1/(i+1)),c=new Pe(d.a,d.b),n=new N(e.a);n.a=0&&i=0?e.Lh(n,!0,!0):dw(e,s,!0),160)),u(i,220).Wl(t);throw B(new Qt(vg+t.xe()+sJ))}function xen(){Nse();var e;return Q4t?u(Bk((Gp(),Wa),Da),2038):(wr(U0,new mAe),vcn(),e=u(te(jl((Gp(),Wa),Da),560)?jl(Wa,Da):new aqe,560),Q4t=!0,yan(e),Ian(e),vr((Dse(),Uke),e,new LRe),ks(Wa,Da,e),e)}function Een(e,t){var n,i,s,c;e.j=-1,ku(e.e)?(n=e.i,c=e.i!=0,wI(e,t),i=new s1(e.e,3,e.c,null,t,n,c),s=t.zl(e.e,e.c,null),s=Pit(e,t,s),s?(s.nj(i),s.oj()):_r(e.e,i)):(wI(e,t),s=t.zl(e.e,e.c,null),s&&s.oj())}function qj(e,t){var n,i,s;if(s=0,i=t[0],i>=e.length)return-1;for(n=(Zt(i,e.length),e.charCodeAt(i));n>=48&&n<=57&&(s=s*10+(n-48),++i,!(i>=e.length));)n=(Zt(i,e.length),e.charCodeAt(i));return i>t[0]?t[0]=i:s=-1,s}function Ten(e){var t,n,i,s,c;return s=u(e.a,17).a,c=u(e.b,17).a,n=s,i=c,t=w.Math.max(w.Math.abs(s),w.Math.abs(c)),s<=0&&s==c?(n=0,i=c-1):s==-t&&c!=t?(n=c,i=s,c>=0&&++n):(n=-c,i=s),new Gi(Ae(n),Ae(i))}function Ien(e,t,n,i){var s,c,d,h,b,m;for(s=0;s=0&&m>=0&&b=e.i)throw B(new vs(wJ+t+z0+e.i));if(n>=e.i)throw B(new vs(mJ+n+z0+e.i));return i=e.g[n],t!=n&&(t>16),t=i>>16&16,n=16-t,e=e>>t,i=e-256,t=i>>16&8,n+=t,e<<=t,i=e-ov,t=i>>16&4,n+=t,e<<=t,i=e-Xd,t=i>>16&2,n+=t,e<<=t,i=e>>14,t=i&~(i>>1),n+2-t)}function Pen(e){f4();var t,n,i,s;for(GD=new Le,bQ=new On,gQ=new Le,t=(!e.a&&(e.a=new Se(xr,e,10,11)),e.a),vun(t),s=new hn(t);s.e!=s.i.gc();)i=u(mn(s),27),Ls(GD,i,0)==-1&&(n=new Le,je(gQ,n),Znt(i,n));return gQ}function Oen(e,t,n){var i,s,c,d;e.a=n.b.d,te(t,326)?(s=Jy(u(t,74),!1,!1),c=hM(s),i=new j$e(e),Io(c,i),IM(c,s),t.of((pr(),Uw))!=null&&Io(u(t.of(Uw),75),i)):(d=u(t,422),d.rh(d.nh()+e.a.a),d.sh(d.oh()+e.a.b))}function _en(e,t){var n,i,s;for(s=new Le,i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),n.c.g==e.g&&fe(A(n.b,(sl(),ch)))!==fe(A(n.c,ch))&&!jy(new xt(null,new Mt(s,16)),new cNe(n))&&Ft(s.c,n);return Pi(s,new HPe),s}function Jot(e,t,n){var i,s,c,d;return te(t,153)&&te(n,153)?(c=u(t,153),d=u(n,153),e.a[c.a][d.a]+e.a[d.a][c.a]):te(t,250)&&te(n,250)&&(i=u(t,250),s=u(n,250),i.a==s.a)?u(A(s.a,(uf(),Q4)),17).a:0}function Qot(e,t){var n,i,s,c,d,h,b,m;for(m=le(pe(A(t,(Ue(),tx)))),b=e[0].n.a+e[0].o.a+e[0].d.c+m,h=1;h=0?n:(h=QC(Xi(new Pe(d.c+d.b/2,d.d+d.a/2),new Pe(c.c+c.b/2,c.d+c.a/2))),-(xct(c,d)-1)*h)}function Aen(e,t,n){var i;yi(new xt(null,(!n.a&&(n.a=new Se(ei,n,6,6)),new Mt(n.a,16))),new fKe(e,t)),yi(new xt(null,(!n.n&&(n.n=new Se(ms,n,1,7)),new Mt(n.n,16))),new dKe(e,t)),i=u(Ie(n,(pr(),Uw)),75),i&&Bfe(i,e,t)}function dw(e,t,n){var i,s,c;if(c=t2((Dc(),Oo),e.Dh(),t),c)return rs(),u(c,69).xk()||(c=h4(Cs(Oo,c))),s=(i=e.Ih(c),u(i>=0?e.Lh(i,!0,!0):dw(e,c,!0),160)),u(s,220).Sl(t,n);throw B(new Qt(vg+t.xe()+sJ))}function D1e(e,t,n,i){var s,c,d,h,b;if(s=e.d[t],s){if(c=s.g,b=s.i,i!=null){for(h=0;h=n&&(i=t,m=(b.c+b.a)/2,d=m-n,b.c<=m-n&&(s=new NU(b.c,d),Nb(e,i++,s)),h=m+n,h<=b.a&&(c=new NU(h,b.a),Rm(i,e.c.length),vC(e.c,i,c)))}function tst(e,t,n){var i,s,c,d,h,b;if(!t.dc()){for(s=new Zr,b=t.Kc();b.Ob();)for(h=u(b.Pb(),40),vr(e.a,Ae(h.g),Ae(n)),d=(i=Ln(new Yh(h).a.d,0),new hy(i));hT(d.a);)c=u(_n(d.a),65).c,pi(s,c,s.c.b,s.c);tst(e,s,n+1)}}function N1e(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),Dn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=u(e.g[e.i-1],51)}return t==e.b&&null.Vm>=null.Um()?(Jj(e),N1e(e)):t.Ob()}function nst(e){if(this.a=e,e.c.i.k==(nn(),Oi))this.c=e.c,this.d=u(A(e.c.i,(Oe(),fl)),64);else if(e.d.i.k==Oi)this.c=e.d,this.d=u(A(e.d.i,(Oe(),fl)),64);else throw B(new Qt("Edge "+e+" is not an external edge."))}function rst(e,t){var n,i,s;s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,s,e.b)),t?t!=e&&(Xl(e,t.zb),wW(e,t.d),n=(i=t.c,i??t.zb),vW(e,n==null||Et(n,t.zb)?null:n)):(Xl(e,null),wW(e,0),vW(e,null))}function ist(e,t){var n;this.e=(Hb(),qn(e),Hb(),Qde(e)),this.c=(qn(t),Qde(t)),zle(this.e.Rd().dc()==this.c.Rd().dc()),this.d=vnt(this.e),this.b=vnt(this.c),n=u0(Ji,[_e,Bt],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,cUt(this)}function ost(e){!GJ&&(GJ=_un());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(n){return jBt(n)});return'"'+t+'"'}function B1e(e,t,n,i,s,c){var d,h,b,m,v;if(s!=0)for(fe(e)===fe(n)&&(e=e.slice(t,t+s),t=0),b=n,h=t,m=t+s;h=d)throw B(new Tm(t,d));return s=n[t],d==1?i=null:(i=be(yte,SJ,424,d-1,0,1),Pl(n,0,i,0,t),c=d-t-1,c>0&&Pl(n,t+1,i,t,c)),Ok(e,i),Mot(e,t,s),s}function lst(e){var t,n;if(e.f){for(;e.n0?c=x4(n):c=QI(x4(n))),Dr(t,B8,c)}function Fen(e,t){var n;t.Ug("Partition preprocessing",1),n=u(Hs(Ar(Qs(Ar(new xt(null,new Mt(e.a,16)),new UTe),new GTe),new WTe),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),yi(n.Oc(),new VTe),t.Vg()}function zen(e,t){var n,i,s,c,d;for(d=e.j,t.a!=t.b&&Pi(d,new SMe),s=d.c.length/2|0,i=0;i0&&xM(e,n,t),c):i.a!=null?(xM(e,t,n),-1):s.a!=null?(xM(e,n,t),1):0}function Ken(e,t){var n,i,s,c,d;for(s=t.b.b,e.a=be(ya,sv,15,s,0,1),e.b=be(wu,Oh,28,s,16,1),d=Ln(t.b,0);d.b!=d.d.c;)c=u(_n(d),40),e.a[c.g]=new Zr;for(i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function fst(e,t){var n,i,s,c;e.Pj()?(n=e.Ej(),c=e.Qj(),++e.j,e.qj(n,e.Zi(n,t)),i=e.Ij(3,null,t,n,c),e.Mj()?(s=e.Nj(t,null),s?(s.nj(i),s.oj()):e.Jj(i)):e.Jj(i)):(ZVe(e,t),e.Mj()&&(s=e.Nj(t,null),s&&s.oj()))}function F1e(e,t,n){var i,s,c;e.Pj()?(c=e.Qj(),qI(e,t,n),i=e.Ij(3,null,n,t,c),e.Mj()?(s=e.Nj(n,null),e.Tj()&&(s=e.Uj(n,s)),s?(s.nj(i),s.oj()):e.Jj(i)):e.Jj(i)):(qI(e,t,n),e.Mj()&&(s=e.Nj(n,null),s&&s.oj()))}function Xj(e,t){var n,i,s,c,d;for(d=cc(e.e.Dh(),t),s=new Y_,n=u(e.g,124),c=e.i;--c>=0;)i=n[c],d.am(i.Lk())&&Dn(s,i);!sat(e,s)&&ku(e.e)&&b5(e,t.Jk()?Zp(e,6,t,(Ot(),Yo),null,-1,!1):Zp(e,t.tk()?2:1,t,null,null,-1,!1))}function Uen(e,t){var n,i,s,c,d;return e.a==($k(),U9)?!0:(c=t.a.c,n=t.a.c+t.a.b,!(t.j&&(i=t.A,d=i.c.c.a-i.o.a/2,s=c-(i.n.a+i.o.a),s>d)||t.q&&(i=t.C,d=i.c.c.a-i.o.a/2,s=i.n.a-n,s>d)))}function dst(e){RG();var t,n,i,s,c,d,h;for(n=new q1,s=new N(e.e.b);s.a1?e.e*=le(e.a):e.f/=le(e.a),dWt(e),mqt(e),gin(e),Ee(e.b,(OS(),UD),e.g)}function bst(e,t,n){var i,s,c,d,h,b;for(i=0,b=n,t||(i=n*(e.c.length-1),b*=-1),c=new N(e);c.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(u(s,54),n),i&&i.oj(),e.vh()&&e.wh()&&n>-1&&_r(e,new ro(e,9,n,c,s)),s):c}function K1e(e,t){var n,i,s,c,d;for(c=e.b.Ce(t),i=(n=e.a.get(c),n??be(Ji,Bt,1,0,5,1)),d=0;d>5,s>=e.d)return e.e<0;if(n=e.a[s],t=1<<(t&31),e.e<0){if(i=Oet(e),s>16)),15).dd(c),h0&&(!(Qh(e.a.c)&&t.n.d)&&!(Sy(e.a.c)&&t.n.b)&&(t.g.d+=w.Math.max(0,i/2-.5)),!(Qh(e.a.c)&&t.n.a)&&!(Sy(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function Est(e){var t,n,i,s,c;if(s=new Le,c=yct(e,s),t=u(A(e,(Oe(),Zc)),10),t)for(i=new N(t.j);i.a>t,c=e.m>>t|n<<22-t,s=e.l>>t|e.m<<22-t):t<44?(d=i?m1:0,c=n>>t-22,s=e.m>>t-22|n<<44-t):(d=i?m1:0,c=i?hu:0,s=n>>t-44),nc(s&hu,c&hu,d&m1)}function dq(e){var t,n,i,s,c,d;for(this.c=new Le,this.d=e,i=ii,s=ii,t=Hi,n=Hi,d=Ln(e,0);d.b!=d.d.c;)c=u(_n(d),8),i=w.Math.min(i,c.a),s=w.Math.min(s,c.b),t=w.Math.max(t,c.a),n=w.Math.max(n,c.b);this.a=new ia(i,s,t-i,n-s)}function Ist(e,t){var n,i,s,c,d,h;for(c=new N(e.b);c.a0&&te(t,44)&&(e.a._j(),m=u(t,44),b=m.ld(),c=b==null?0:Vr(b),d=pce(e.a,c),n=e.a.d[d],n)){for(i=u(n.g,379),v=n.i,h=0;h=2)for(n=s.Kc(),t=pe(n.Pb());n.Ob();)c=t,t=pe(n.Pb()),i=w.Math.min(i,(sn(t),t-(sn(c),c)));return i}function dtn(e,t){var n,i,s;for(s=new Le,i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),n.b.g==e.g&&!Et(n.b.c,rD)&&fe(A(n.b,(sl(),ch)))!==fe(A(n.c,ch))&&!jy(new xt(null,new Mt(s,16)),new uNe(n))&&Ft(s.c,n);return Pi(s,new WPe),s}function htn(e,t){var n,i,s;if(fe(t)===fe(qn(e)))return!0;if(!te(t,15)||(i=u(t,15),s=e.gc(),s!=i.gc()))return!1;if(te(i,59)){for(n=0;n0&&(s=n),d=new N(e.f.e);d.a0?(t-=1,n-=1):i>=0&&s<0?(t+=1,n+=1):i>0&&s>=0?(t-=1,n+=1):(t+=1,n-=1),new Gi(Ae(t),Ae(n))}function Itn(e,t){return e.ct.c?1:e.bt.b?1:e.a!=t.a?Vr(e.a)-Vr(t.a):e.d==(oS(),ux)&&t.d==cx?-1:e.d==cx&&t.d==ux?1:0}function Lst(e,t){var n,i,s,c,d;return c=t.a,c.c.i==t.b?d=c.d:d=c.c,c.c.i==t.b?i=c.c:i=c.d,s=XVt(e.a,d,i),s>0&&s0):s<0&&-s0):!1}function Mtn(e,t,n,i){var s,c,d,h,b,m,v,k;for(s=(t-e.d)/e.c.c.length,c=0,e.a+=n,e.d=t,k=new N(e.c);k.a>24;return d}function Otn(e){if(e.ze()){var t=e.c;t.Ae()?e.o="["+t.n:t.ze()?e.o="["+t.xe():e.o="[L"+t.xe()+";",e.b=t.we()+"[]",e.k=t.ye()+"[]";return}var n=e.j,i=e.d;i=i.split("/"),e.o=bV(".",[n,bV("$",i)]),e.b=bV(".",[n,bV(".",i)]),e.k=i[i.length-1]}function _tn(e,t){var n,i,s,c,d;for(d=null,c=new N(e.e.a);c.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(i=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=i,i=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=i);e.c=!0}}function Ltn(e,t){var n,i,s,c,d,h,b,m,v;for(m=-1,v=0,d=e,h=0,b=d.length;h0&&++v;++m}return v}function lf(e){var t,n;return n=new Ru(l0(e.Rm)),n.a+="@",lr(n,(t=Vr(e)>>>0,t.toString(16))),e.Vh()?(n.a+=" (eProxyURI: ",Al(n,e._h()),e.Kh()&&(n.a+=" eClass: ",Al(n,e.Kh())),n.a+=")"):e.Kh()&&(n.a+=" (eClass: ",Al(n,e.Kh()),n.a+=")"),n.a}function KS(e){var t,n,i,s;if(e.e)throw B(new ys((Zh(iQ),jX+iQ.k+$X)));for(e.d==($i(),yd)&&w$(e,Is),n=new N(e.a.a);n.a>24}return n}function Dtn(e,t,n){var i,s,c;if(s=u(gs(e.i,t),314),!s)if(s=new mZe(e.d,t,n),l4(e.i,t,s),rhe(t))zRt(e.a,t.c,t.b,s);else switch(c=yZt(t),i=u(gs(e.p,c),252),c.g){case 1:case 3:s.j=!0,bK(i,t.b,s);break;case 4:case 2:s.k=!0,bK(i,t.c,s)}return s}function Ntn(e,t){var n,i,s,c,d,h,b,m,v;for(b=gh(e.c-e.b&e.a.length-1),m=null,v=null,c=new eS(e);c.a!=c.b;)s=u(uj(c),10),n=(h=u(A(s,(Oe(),Hf)),12),h?h.i:null),i=(d=u(A(s,Fa),12),d?d.i:null),(m!=n||v!=i)&&(wst(b,t),m=n,v=i),Ft(b.c,s);wst(b,t)}function Btn(e,t,n,i){var s,c,d,h,b,m;if(h=new Y_,b=cc(e.e.Dh(),t),s=u(e.g,124),rs(),u(t,69).xk())for(d=0;d=0)return s;for(c=1,h=new N(t.j);h.a=0)return s;for(c=1,h=new N(t.j);h.a0&&t.Ne((_t(s-1,e.c.length),u(e.c[s-1],10)),c)>0;)la(e,s,(_t(s-1,e.c.length),u(e.c[s-1],10))),--s;_t(s,e.c.length),e.c[s]=c}n.a=new On,n.b=new On}function Ftn(e,t,n){var i,s,c,d,h,b,m,v;for(v=(i=u(t.e&&t.e(),9),new ra(i,u(ef(i,i.length),9),0)),b=tv(n,"[\\[\\]\\s,]+"),c=b,d=0,h=c.length;d=0?(t||(t=new uC,i>0&&ps(t,(mo(0,i,e.length),e.substr(0,i)))),t.a+="\\",F5(t,n&Di)):t&&F5(t,n&Di);return t?t.a:e}function Htn(e){var t,n,i;for(n=new N(e.a.a.b);n.a0&&(!(Qh(e.a.c)&&t.n.d)&&!(Sy(e.a.c)&&t.n.b)&&(t.g.d-=w.Math.max(0,i/2-.5)),!(Qh(e.a.c)&&t.n.a)&&!(Sy(e.a.c)&&t.n.c)&&(t.g.a+=w.Math.max(0,i-1)))}function Kst(e,t,n){var i,s;if((e.c-e.b&e.a.length-1)==2)t==(ze(),en)||t==fn?(jL(u(wS(e),15),(Fu(),Dh)),jL(u(wS(e),15),Rg)):(jL(u(wS(e),15),(Fu(),Rg)),jL(u(wS(e),15),Dh));else for(s=new eS(e);s.a!=s.b;)i=u(uj(s),15),jL(i,n)}function Ktn(e,t){var n,i,s,c,d,h,b;for(s=j5(new Doe(e)),h=new wo(s,s.c.length),c=j5(new Doe(t)),b=new wo(c,c.c.length),d=null;h.b>0&&b.b>0&&(n=(yn(h.b>0),u(h.a.Xb(h.c=--h.b),27)),i=(yn(b.b>0),u(b.a.Xb(b.c=--b.b),27)),n==i);)d=n;return d}function Ust(e,t,n){var i,s,c,d;KXe(e,t)>KXe(e,n)?(i=el(n,(ze(),fn)),e.d=i.dc()?0:UU(u(i.Xb(0),12)),d=el(t,rn),e.b=d.dc()?0:UU(u(d.Xb(0),12))):(s=el(n,(ze(),rn)),e.d=s.dc()?0:UU(u(s.Xb(0),12)),c=el(t,fn),e.b=c.dc()?0:UU(u(c.Xb(0),12)))}function Gst(e,t){var n,i,s,c;for(n=e.o.a,c=u(u(Lr(e.r,t),21),87).Kc();c.Ob();)s=u(c.Pb(),117),s.e.a=n*le(pe(s.b.of(zD))),s.e.b=(i=s.b,i.pf((pr(),bu))?i.ag()==(ze(),en)?-i.Mf().b-le(pe(i.of(bu))):le(pe(i.of(bu))):i.ag()==(ze(),en)?-i.Mf().b:0)}function Utn(e,t){var n,i,s,c;for(t.Ug("Self-Loop pre-processing",1),i=new N(e.a);i.ae.c));d++)s.a>=e.s&&(c<0&&(c=d),h=d);return b=(e.s+e.c)/2,c>=0&&(i=Rin(e,t,c,h),b=O_t((_t(i,t.c.length),u(t.c[i],339))),Den(t,i,n)),b}function Un(e,t,n){var i,s,c,d,h,b,m;for(d=(c=new roe,c),_fe(d,(sn(t),t)),m=(!d.b&&(d.b=new Su((Pt(),ns),dl,d)),d.b),b=1;b0&&Mln(this,s)}function epe(e,t,n,i,s,c){var d,h,b;if(!s[t.a]){for(s[t.a]=!0,d=i,!d&&(d=new vL),je(d.e,t),b=c[t.a].Kc();b.Ob();)h=u(b.Pb(),290),!(h.d==n||h.c==n)&&(h.c!=t&&epe(e,h.c,t,d,s,c),h.d!=t&&epe(e,h.d,t,d,s,c),je(d.c,h),zi(d.d,h.b));return d}return null}function Vtn(e){var t,n,i,s,c,d,h;for(t=0,s=new N(e.e);s.a=2}function qtn(e,t,n,i,s){var c,d,h,b,m,v;for(c=e.c.d.j,d=u(ga(n,0),8),v=1;v1||(t=Yr(bf,H(F(ds,1),Te,95,0,[x1,wf])),$I(sL(t,e))>1)||(i=Yr(vf,H(F(ds,1),Te,95,0,[Nh,Ha])),$I(sL(i,e))>1))}function tpe(e,t,n){var i,s,c;for(c=new N(e.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&ir(t,i.b));for(s=new N(e.i);s.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&ir(n,i.a))}function Jj(e){var t,n,i,s,c;if(e.g==null&&(e.d=e.bj(e.f),Dn(e,e.d),e.c))return c=e.f,c;if(t=u(e.g[e.i-1],51),s=t.Pb(),e.e=t,n=e.bj(s),n.Ob())e.d=n,Dn(e,n);else for(e.d=null;!t.Ob()&&(hi(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],51),t=i;return s}function Ytn(e,t){var n,i,s,c,d,h;if(i=t,s=i.Lk(),b1(e.e,s)){if(s.Si()&&pL(e,s,i.md()))return!1}else for(h=cc(e.e.Dh(),s),n=u(e.g,124),c=0;c1||n>1)return 2;return t+n==1?2:0}function fu(e,t){var n,i,s,c,d,h;return c=e.a*_X+e.b*1502,h=e.b*_X+11,n=w.Math.floor(h*UM),c+=n,h-=n*Ege,c%=Ege,e.a=c,e.b=h,t<=24?w.Math.floor(e.a*Lme[t]):(s=e.a*(1<=2147483648&&(i-=4294967296),i)}function Yst(e,t,n){var i,s,c,d,h,b,m;for(c=new Le,m=new Zr,d=new Zr,msn(e,m,d,t),Yln(e,m,d,t,n),b=new N(e);b.ai.b.g&&Ft(c.c,i);return c}function nnn(e,t,n){var i,s,c,d,h,b;for(h=e.c,d=(n.q?n.q:(Ot(),Ot(),Rh)).vc().Kc();d.Ob();)c=u(d.Pb(),44),i=!C5(Ar(new xt(null,new Mt(h,16)),new h5(new iKe(t,c)))).Bd((c0(),J4)),i&&(b=c.md(),te(b,4)&&(s=she(b),s!=null&&(b=s)),t.qf(u(c.ld(),149),b))}function rnn(e,t,n){var i,s;if(iI(e.b),_f(e.b,(JI(),yB),(pC(),nO)),_f(e.b,kB,t.g),_f(e.b,CB,t.a),e.a=OM(e.b,t),n.Ug("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(s=new N(e.a);s.a=0?e.Lh(i,!0,!0):dw(e,c,!0),160)),u(s,220).Xl(t,n)}else throw B(new Qt(vg+t.xe()+C9))}function Qj(e,t){var n,i,s,c,d;if(t){for(c=te(e.Cb,90)||te(e.Cb,102),d=!c&&te(e.Cb,331),i=new hn((!t.a&&(t.a=new UC(t,hs,t)),t.a));i.e!=i.i.gc();)if(n=u(mn(i),89),s=f$(n),c?te(s,90):d?te(s,156):s)return s;return c?(Pt(),Va):(Pt(),Sd)}else return null}function inn(e,t){var n,i,s,c;for(t.Ug("Resize child graph to fit parent.",1),i=new N(e.b);i.a=2*t&&je(n,new NU(d[i-1]+t,d[i]-t));return n}function lnn(e,t,n){var i,s,c,d,h,b,m,v;if(n)for(c=n.a.length,i=new f0(c),h=(i.b-i.a)*i.c<0?(Wp(),zg):new Xp(i);h.Ob();)d=u(h.Pb(),17),s=V5(n,d.a),s&&(b=Dzt(e,(m=(Up(),v=new nse,v),t&&ipe(m,t),m),s),lk(b,n1(s,rh)),Kj(s,b),M1e(s,b),BW(e,s,b))}function Zj(e){var t,n,i,s,c,d;if(!e.j){if(d=new CRe,t=zx,c=t.a.zc(e,t),c==null){for(i=new hn(As(e));i.e!=i.i.gc();)n=u(mn(i),29),s=Zj(n),wi(d,s),Dn(d,n);t.a.Bc(e)!=null}zm(d),e.j=new ky((u(re(me((Jp(),Wt).o),11),19),d.i),d.g),cu(e).b&=-33}return e.j}function cnn(e){var t,n,i,s;if(e==null)return null;if(i=Nl(e,!0),s=pP.length,Et(i.substr(i.length-s,s),pP)){if(n=i.length,n==4){if(t=(Zt(0,i.length),i.charCodeAt(0)),t==43)return a8e;if(t==45)return v6t}else if(n==3)return a8e}return new Goe(i)}function unn(e){var t,n,i;return n=e.l,n&n-1||(i=e.m,i&i-1)||(t=e.h,t&t-1)||t==0&&i==0&&n==0?-1:t==0&&i==0&&n!=0?kfe(n):t==0&&i!=0&&n==0?kfe(i)+22:t!=0&&i==0&&n==0?kfe(t)+44:-1}function Yy(e,t){var n,i,s,c,d;for(s=t.a&e.f,c=null,i=e.b[s];;i=i.b){if(i==t){c?c.b=t.b:e.b[s]=t.b;break}c=i}for(d=t.f&e.f,c=null,n=e.c[d];;n=n.d){if(n==t){c?c.d=t.d:e.c[d]=t.d;break}c=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function ann(e,t){var n;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(n=u(Oa(u(b4(e.b,t.a),260)),260),n.a=0,++e.c):(n=u(Oa(u(pn(e.b,t.a),260)),260),--n.a,t.e?t.e.c=t.c:n.b=u(Oa(t.c),511),t.c?t.c.e=t.e:n.c=u(Oa(t.e),511)),--e.d}function fnn(e){var t,n,i,s,c,d,h,b,m,v;for(n=e.o,t=e.p,d=Pr,s=jo,h=Pr,c=jo,m=0;m0),c.a.Xb(c.c=--c.b),Em(c,s),yn(c.b3&&kh(e,0,t-3))}function hnn(e){var t,n,i,s;return fe(A(e,(Ue(),xv)))===fe((a1(),Cp))?!e.e&&fe(A(e,NP))!==fe((hk(),RP)):(i=u(A(e,vZ),299),s=qe(Ve(A(e,yZ)))||fe(A(e,Q9))===fe((fS(),_P)),t=u(A(e,K2e),17).a,n=e.a.c.length,!s&&i!=(hk(),RP)&&(t==0||t>n))}function pnn(e){var t,n;for(n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(Rk(e,t))throw B(new Qt(S9+hst(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Ihe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=I4(t,e,6,i)),i=fce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,6,t,t))}function e$(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=3&&t){if(Rk(e,t))throw B(new Qt(S9+eut(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?_he(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=I4(t,e,12,i)),i=dce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function ipe(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=9&&t){if(Rk(e,t))throw B(new Qt(S9+Qlt(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Phe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=I4(t,e,9,i)),i=hce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,9,t,t))}function Fk(e){var t,n,i,s,c;if(i=Aa(e),c=e.j,c==null&&i)return e.Jk()?null:i.ik();if(te(i,156)){if(n=i.jk(),n&&(s=n.wi(),s!=e.i)){if(t=u(i,156),t.nk())try{e.g=s.ti(t,c)}catch(d){if(d=li(d),te(d,82))e.g=null;else throw B(d)}e.i=s}return e.g}return null}function elt(e){var t;return t=new Le,je(t,new W3(new Pe(e.c,e.d),new Pe(e.c+e.b,e.d))),je(t,new W3(new Pe(e.c,e.d),new Pe(e.c,e.d+e.a))),je(t,new W3(new Pe(e.c+e.b,e.d+e.a),new Pe(e.c+e.b,e.d))),je(t,new W3(new Pe(e.c+e.b,e.d+e.a),new Pe(e.c,e.d+e.a))),t}function gnn(e){var t,n,i;if(e==null)return kc;try{return Ks(e)}catch(s){if(s=li(s),te(s,103))return t=s,i=l0(Tu(e))+"@"+(n=(Jh(),ohe(e)>>>0),n.toString(16)),Pqt(pGt(),(T5(),"Exception during lenientFormat for "+i),t),"<"+i+" threw "+l0(t.Rm)+">";throw B(s)}}function bnn(e,t,n){var i,s,c;for(c=t.a.ec().Kc();c.Ob();)s=u(c.Pb(),74),i=u(pn(e.b,s),272),!i&&(ri(Sh(s))==ri(ug(s))?rrn(e,s,n):Sh(s)==ri(ug(s))?pn(e.c,s)==null&&pn(e.b,ug(s))!=null&&Rut(e,s,n,!1):pn(e.d,s)==null&&pn(e.b,Sh(s))!=null&&Rut(e,s,n,!0))}function wnn(e,t){var n,i,s,c,d,h,b;for(s=e.Kc();s.Ob();)for(i=u(s.Pb(),10),h=new Ml,Js(h,i),Vi(h,(ze(),fn)),Ee(h,(Oe(),AN),(Gt(),!0)),d=t.Kc();d.Ob();)c=u(d.Pb(),10),b=new Ml,Js(b,c),Vi(b,rn),Ee(b,AN,!0),n=new Vb,Ee(n,AN,!0),Fo(n,h),ao(n,b)}function mnn(e,t,n,i){var s,c,d,h;s=Nnt(e,t,n),c=Nnt(e,n,t),d=u(pn(e.c,t),118),h=u(pn(e.c,n),118),s1)for(t=Lb((n=new s0,++e.b,n),e.d),h=Ln(c,0);h.b!=h.d.c;)d=u(_n(h),125),cf(Ja(Ya(Qa(Xa(new Ma,1),0),t),d))}function knn(e,t,n){var i,s,c,d,h;for(n.Ug("Breaking Point Removing",1),e.a=u(A(t,(Ue(),S1)),223),c=new N(t.b);c.a>16!=11&&t){if(Rk(e,t))throw B(new Qt(S9+xpe(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Rhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=I4(t,e,10,i)),i=Cce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,11,t,t))}function Cnn(e){var t,n,i,s;for(i=new S0(new i0(e.b).a);i.b;)n=rw(i),s=u(n.ld(),12),t=u(n.md(),10),Ee(t,(Oe(),jr),s),Ee(s,Zc,t),Ee(s,jP,(Gt(),!0)),Vi(s,u(A(t,fl),64)),A(t,fl),Ee(s.i,(Ue(),vi),(fo(),t7)),u(A(To(s.i),Kl),21).Fc((cs(),j8))}function Snn(e,t,n){var i,s,c,d,h,b;if(c=0,d=0,e.c)for(b=new N(e.d.i.j);b.ac.a?-1:s.ab){for(v=e.d,e.d=be(jke,Uwe,66,2*b+4,0,1),c=0;c=9223372036854776e3?(Z5(),fme):(s=!1,e<0&&(s=!0,e=-e),i=0,e>=L0&&(i=Wi(e/L0),e-=i*L0),n=0,e>=B4&&(n=Wi(e/B4),e-=n*B4),t=Wi(e),c=nc(t,n,i),s&&FW(c),c)}function Lnn(e){var t,n,i,s,c;if(c=new Le,ic(e.b,new T$e(c)),e.b.c.length=0,c.c.length!=0){for(t=(_t(0,c.c.length),u(c.c[0],82)),n=1,i=c.c.length;n=-t&&i==t?new Gi(Ae(n-1),Ae(i)):new Gi(Ae(n),Ae(i-1))}function rlt(){return Ko(),H(F(Wan,1),Te,81,0,[Qve,Xve,m2,RQ,wye,rN,hN,vv,gye,sye,hye,mv,bye,rye,mye,Kve,lN,AQ,tN,aN,yye,uN,Uve,pye,kye,fN,vye,nN,eye,fye,aye,pN,Vve,eN,oN,Wve,x8,cye,iye,dye,z9,Yve,qve,uye,oye,sN,dN,Gve,cN,lye,iN,tye,Zve,MP,ZD,nye,Jve])}function Dnn(e,t,n){e.d=0,e.b=0,t.k==(nn(),Hl)&&n.k==Hl&&u(A(t,(Oe(),jr)),10)==u(A(n,jr),10)&&(sW(t).j==(ze(),en)?Ust(e,t,n):Ust(e,n,t)),t.k==Hl&&n.k==io?sW(t).j==(ze(),en)?e.d=1:e.b=1:n.k==Hl&&t.k==io&&(sW(n).j==(ze(),en)?e.b=1:e.d=1),kXt(e,t,n)}function Nnn(e){var t,n,i,s,c,d,h,b,m,v,k;return k=n1e(e),t=e.a,b=t!=null,b&&$5(k,"category",e.a),s=gT(new r0(e.d)),d=!s,d&&(m=new t0,jf(k,"knownOptions",m),n=new lBe(m),Io(new r0(e.d),n)),c=gT(e.g),h=!c,h&&(v=new t0,jf(k,"supportedFeatures",v),i=new cBe(v),Io(e.g,i)),k}function Bnn(e){var t,n,i,s,c,d,h,b,m;for(i=!1,t=336,n=0,c=new UGe(e.length),h=e,b=0,m=h.length;b>16!=7&&t){if(Rk(e,t))throw B(new Qt(S9+aot(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Mhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=u(t,54).Rh(e,1,kO,i)),i=gue(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,7,t,t))}function ilt(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=3&&t){if(Rk(e,t))throw B(new Qt(S9+cnt(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Ohe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=u(t,54).Rh(e,0,SO,i)),i=bue(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function wq(e,t){zk();var n,i,s,c,d,h,b,m,v;return t.d>e.d&&(h=e,e=t,t=h),t.d<63?Irn(e,t):(d=(e.d&-2)<<4,m=jae(e,d),v=jae(t,d),i=Dq(e,g4(m,d)),s=Dq(t,g4(v,d)),b=wq(m,v),n=wq(i,s),c=wq(Dq(m,i),Dq(s,v)),c=Uq(Uq(c,b),n),c=g4(c,d),b=g4(b,d<<1),Uq(Uq(b,c),n))}function up(){up=U,LZ=new wy(cdt,0),P3e=new wy("LONGEST_PATH",1),O3e=new wy("LONGEST_PATH_SOURCE",2),AZ=new wy("COFFMAN_GRAHAM",3),M3e=new wy(sY,4),_3e=new wy("STRETCH_WIDTH",5),JN=new wy("MIN_WIDTH",6),K8=new wy("BF_MODEL_ORDER",7),U8=new wy("DF_MODEL_ORDER",8)}function znn(e,t,n){var i,s,c,d,h;for(d=CS(e,n),h=be(Lh,fp,10,t.length,0,1),i=0,c=d.Kc();c.Ob();)s=u(c.Pb(),12),qe(Ve(A(s,(Oe(),jP))))&&(h[i++]=u(A(s,Zc),10));if(i=0;c+=n?1:-1)d=d|t.c.lg(b,c,n,i&&!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,(Oe(),T2))))),d=d|t.q.ug(b,c,n),d=d|Glt(e,b[c],n,i);return Fi(e.c,t),d}function r$(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=CYe(e.j),k=0,T=v.length;k1&&(e.a=!0),yDt(u(n.b,68),Or(xo(u(t.b,68).c),Nd(Xi(xo(u(n.b,68).a),u(t.b,68).a),s))),PXe(e,t),olt(e,n)}function slt(e){var t,n,i,s,c,d,h;for(c=new N(e.a.a);c.a0&&c>0?d.p=t++:i>0?d.p=n++:c>0?d.p=s++:d.p=n++}Ot(),Pi(e.j,new BTe)}function Wnn(e){var t,n;n=null,t=u(Ye(e.g,0),18);do{if(n=t.d.i,Xr(n,(Oe(),Fa)))return u(A(n,Fa),12).i;if(n.k!=(nn(),Si)&&jn(new gn(wn(Mi(n).a.Kc(),new $))))t=u(Sn(new gn(wn(Mi(n).a.Kc(),new $))),18);else if(n.k!=Si)return null}while(n&&n.k!=(nn(),Si));return n}function Vnn(e,t){var n,i,s,c,d,h,b,m,v;for(h=t.j,d=t.g,b=u(Ye(h,h.c.length-1),113),v=(_t(0,h.c.length),u(h.c[0],113)),m=NV(e,d,b,v),c=1;cm&&(b=n,v=s,m=i);t.a=v,t.c=b}function qnn(e,t,n){var i,s,c,d,h,b,m;for(m=new z1(new GDe(e)),d=H(F(D0t,1),Rft,12,0,[t,n]),h=0,b=d.length;hb-e.b&&hb-e.a&&h0?c.a?(h=c.b.Mf().a,n>h&&(s=(n-h)/2,c.d.b=s,c.d.c=s)):c.d.c=e.s+n:WC(e.u)&&(i=r1e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}function frn(e,t){var n,i,s,c,d;d=new Le,n=t;do c=u(pn(e.b,n),131),c.B=n.c,c.D=n.d,Ft(d.c,c),n=u(pn(e.k,n),18);while(n);return i=(_t(0,d.c.length),u(d.c[0],131)),i.j=!0,i.A=u(i.d.a.ec().Kc().Pb(),18).c.i,s=u(Ye(d,d.c.length-1),131),s.q=!0,s.C=u(s.d.a.ec().Kc().Pb(),18).d.i,d}function drn(e){var t,n;if(t=u(e.a,17).a,n=u(e.b,17).a,t>=0){if(t==n)return new Gi(Ae(-t-1),Ae(-t-1));if(t==-n)return new Gi(Ae(-t),Ae(n+1))}return w.Math.abs(t)>w.Math.abs(n)?t<0?new Gi(Ae(-t),Ae(n)):new Gi(Ae(-t),Ae(n+1)):new Gi(Ae(t+1),Ae(n))}function hrn(e){var t,n;n=u(A(e,(Ue(),fc)),171),t=u(A(e,(Oe(),W0)),311),n==(pa(),Tg)?(Ee(e,fc,DP),Ee(e,W0,(l1(),x2))):n==Cv?(Ee(e,fc,DP),Ee(e,W0,(l1(),t6))):t==(l1(),x2)?(Ee(e,fc,Tg),Ee(e,W0,AP)):t==t6&&(Ee(e,fc,Cv),Ee(e,W0,AP))}function i$(){i$=U,WP=new EPe,Yvt=cr(new Li,(Lo(),Ol),(Ko(),tN)),Zvt=Lc(cr(new Li,Ol,uN),Ds,cN),eyt=Wd(Wd(bC(Lc(cr(new Li,hf,hN),Ds,dN),zl),fN),pN),Jvt=Lc(cr(cr(cr(new Li,Ah,rN),zl,oN),zl,x8),Ds,iN),Qvt=Lc(cr(cr(new Li,zl,x8),zl,eN),Ds,ZD)}function WS(){WS=U,ryt=cr(Lc(new Li,(Lo(),Ds),(Ko(),tye)),Ol,tN),lyt=Wd(Wd(bC(Lc(cr(new Li,hf,hN),Ds,dN),zl),fN),pN),iyt=Lc(cr(cr(cr(new Li,Ah,rN),zl,oN),zl,x8),Ds,iN),syt=cr(cr(new Li,Ol,uN),Ds,cN),oyt=Lc(cr(cr(new Li,zl,x8),zl,eN),Ds,ZD)}function prn(e,t,n,i,s){var c,d;(!Zo(t)&&t.c.i.c==t.d.i.c||!cet(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])),n))&&!Zo(t)&&(t.c==s?O5(t.a,0,new Wo(n)):ir(t.a,new Wo(n)),i&&!Pf(e.a,n)&&(d=u(A(t,(Ue(),Ts)),75),d||(d=new Oc,Ee(t,Ts,d)),c=new Wo(n),pi(d,c,d.c.b,d.c),Fi(e.a,c)))}function ult(e,t){var n,i,s,c;for(c=Vn(Ho(Ih,vh(Vn(Ho(t==null?0:Vr(t),Mh)),15))),n=c&e.b.length-1,s=null,i=e.b[n];i;s=i,i=i.a)if(i.d==c&&zd(i.i,t))return s?s.a=i.a:e.b[n]=i.a,NFe(u(Oa(i.c),604),u(Oa(i.f),604)),aT(u(Oa(i.b),227),u(Oa(i.e),227)),--e.f,++e.e,!0;return!1}function grn(e){var t,n;for(n=new gn(wn(eo(e).a.Kc(),new $));jn(n);)if(t=u(Sn(n),18),t.c.i.k!=(nn(),xl))throw B(new N1(oY+oM(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 brn(e,t,n){var i,s,c,d,h,b,m;if(s=hnt(e.Db&254),s==0)e.Eb=n;else{if(s==1)h=be(Ji,Bt,1,2,5,1),c=DV(e,t),c==0?(h[0]=n,h[1]=e.Eb):(h[0]=e.Eb,h[1]=n);else for(h=be(Ji,Bt,1,s+1,5,1),d=y0(e.Eb),i=2,b=0,m=0;i<=128;i<<=1)i==t?h[m++]=n:e.Db&i&&(h[m++]=d[b++]);e.Eb=h}e.Db|=t}function alt(e,t,n){var i,s,c,d;for(this.b=new Le,s=0,i=0,d=new N(e);d.a0&&(c=u(Ye(this.b,0),176),s+=c.o,i+=c.p),s*=2,i*=2,t>1?s=Wi(w.Math.ceil(s*t)):i=Wi(w.Math.ceil(i/t)),this.a=new Xde(s,i)}function flt(e,t,n,i,s,c){var d,h,b,m,v,k,T,M,O,L,j,z;for(v=i,t.j&&t.o?(M=u(pn(e.f,t.A),60),L=M.d.c+M.d.b,--v):L=t.a.c+t.a.b,k=s,n.q&&n.o?(M=u(pn(e.f,n.C),60),m=M.d.c,++k):m=n.a.c,j=m-L,b=w.Math.max(2,k-v),h=j/b,O=L+h,T=v;T=0;d+=s?1:-1){for(h=t[d],b=i==(ze(),fn)?s?el(h,i):ha(el(h,i)):s?ha(el(h,i)):el(h,i),c&&(e.c[h.p]=b.gc()),k=b.Kc();k.Ob();)v=u(k.Pb(),12),e.d[v.p]=m++;zi(n,b)}}function hlt(e,t,n){var i,s,c,d,h,b,m,v;for(c=le(pe(e.b.Kc().Pb())),m=le(pe(hGt(t.b))),i=Nd(xo(e.a),m-n),s=Nd(xo(t.a),n-c),v=Or(i,s),Nd(v,1/(m-c)),this.a=v,this.b=new Le,h=!0,d=e.b.Kc(),d.Pb();d.Ob();)b=le(pe(d.Pb())),h&&b-n>BY&&(this.b.Fc(n),h=!1),this.b.Fc(b);h&&this.b.Fc(n)}function wrn(e){var t,n,i,s;if(jin(e,e.n),e.d.c.length>0){for(lC(e.c);W1e(e,u(D(new N(e.e.a)),125))>5,t&=31,i>=e.d)return e.e<0?(Vd(),vpt):(Vd(),$9);if(c=e.d-i,s=be(Bn,ur,28,c+1,15,1),cZt(s,c,e.a,i,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=t2((Dc(),Oo),s,t),n?(i=n.Ik(),(i>1||i==-1)&&Gb(Cs(Oo,n))!=3):!0)):!1}function krn(e,t,n,i){var s,c,d,h,b;return h=$s(u(re((!t.b&&(t.b=new $t(Tn,t,4,7)),t.b),0),84)),b=$s(u(re((!t.c&&(t.c=new $t(Tn,t,5,8)),t.c),0),84)),ri(h)==ri(b)||Nm(b,h)?null:(d=aI(t),d==n?i:(c=u(pn(e.a,d),10),c&&(s=c.e,s)?s:null))}function Crn(e,t,n){var i,s,c,d,h;for(n.Ug("Longest path to source layering",1),e.a=t,h=e.a.a,e.b=be(Bn,ur,28,h.c.length,15,1),i=0,d=new N(h);d.a0&&(n[0]+=e.d,d-=n[0]),n[2]>0&&(n[2]+=e.d,d-=n[2]),c=w.Math.max(0,d),n[1]=w.Math.max(n[1],d),Dae(e,Ql,s.c+i.b+n[0]-(n[1]-d)/2,n),t==Ql&&(e.c.b=c,e.c.c=s.c+i.b+(c-d)/2)}function Slt(){this.c=be(uo,ws,28,(ze(),H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn])).length,15,1),this.b=be(uo,ws,28,H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn]).length,15,1),this.a=be(uo,ws,28,H(F(ts,1),Cl,64,0,[nl,en,fn,Mn,rn]).length,15,1),Fse(this.c,ii),Fse(this.b,Hi),Fse(this.a,Hi)}function Dl(e,t,n){var i,s,c,d;if(t<=n?(s=t,c=n):(s=n,c=t),i=0,e.b==null)e.b=be(Bn,ur,28,2,15,1),e.b[0]=s,e.b[1]=c,e.c=!0;else{if(i=e.b.length,e.b[i-1]+1==s){e.b[i-1]=c;return}d=be(Bn,ur,28,i+2,15,1),Pl(e.b,0,d,0,i),e.b=d,e.b[i-1]>=s&&(e.c=!1,e.a=!1),e.b[i++]=s,e.b[i]=c,e.c||Xy(e)}}function Mrn(e,t,n){var i,s,c,d,h,b,m;for(m=t.d,e.a=new ql(m.c.length),e.c=new On,h=new N(m);h.a=0?e.Lh(m,!1,!0):dw(e,n,!1),61));e:for(c=k.Kc();c.Ob();){for(s=u(c.Pb(),58),v=0;v1;)Zm(s,s.i-1);return i}function Elt(e,t){var n,i,s,c,d,h,b;for(n=new My,c=new N(e.b);c.ae.d[d.p]&&(n+=Pae(e.b,c),eg(e.a,Ae(c)));for(;!cC(e.a);)cfe(e.b,u(s4(e.a),17).a)}return n}function Lrn(e){var t,n,i,s,c,d,h,b,m;for(e.a=new kce,m=0,s=0,i=new N(e.i.b);i.ah.d&&(v=h.d+h.a+m));n.c.d=v,t.a.zc(n,t),b=w.Math.max(b,n.c.d+n.c.a)}return b}function cs(){cs=U,TN=new mm("COMMENTS",0),ka=new mm("EXTERNAL_PORTS",1),G9=new mm("HYPEREDGES",2),IN=new mm("HYPERNODES",3),j8=new mm("NON_FREE_PORTS",4),S2=new mm("NORTH_SOUTH_PORTS",5),W9=new mm(Yft,6),A8=new mm("CENTER_LABELS",7),L8=new mm("END_LABELS",8),MN=new mm("PARTITIONS",9)}function $rn(e,t,n,i,s){return i<0?(i=qy(e,s,H(F(Je,1),_e,2,6,[sX,lX,cX,uX,D4,aX,fX,dX,hX,pX,gX,bX]),t),i<0&&(i=qy(e,s,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",D4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),i<0?!1:(n.k=i,!0)):i>0?(n.k=i-1,!0):!1}function Drn(e,t,n,i,s){return i<0?(i=qy(e,s,H(F(Je,1),_e,2,6,[sX,lX,cX,uX,D4,aX,fX,dX,hX,pX,gX,bX]),t),i<0&&(i=qy(e,s,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",D4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),i<0?!1:(n.k=i,!0)):i>0?(n.k=i-1,!0):!1}function Nrn(e,t,n,i,s,c){var d,h,b,m;if(h=32,i<0){if(t[0]>=e.length||(h=Ao(e,t[0]),h!=43&&h!=45)||(++t[0],i=qj(e,t),i<0))return!1;h==45&&(i=-i)}return h==32&&t[0]-n==2&&s.b==2&&(b=new SR,m=b.q.getFullYear()-gg+gg-80,d=m%100,c.a=i==d,i+=(m/100|0)*100+(i=0?cg(e):YC(cg(J1(e)))),D9[t]=eA(nf(e,t),0)?cg(nf(e,t)):YC(cg(J1(nf(e,t)))),e=Ho(e,5);for(;t=m&&(b=i);b&&(v=w.Math.max(v,b.a.o.a)),v>T&&(k=m,T=v)}return k}function Urn(e){var t,n,i,s,c,d,h;for(c=new z1(u(qn(new s5),50)),h=Hi,n=new N(e.d);n.aCdt?Pi(b,e.b):i<=Cdt&&i>Sdt?Pi(b,e.d):i<=Sdt&&i>xdt?Pi(b,e.c):i<=xdt&&Pi(b,e.a),c=Olt(e,b,c);return s}function _lt(e,t,n,i){var s,c,d,h,b,m;for(s=(i.c+i.a)/2,Au(t.j),ir(t.j,s),Au(n.e),ir(n.e,s),m=new JFe,h=new N(e.f);h.a1,h&&(i=new Pe(s,n.b),ir(t.a,i)),aS(t.a,H(F(to,1),_e,8,0,[T,k]))}function gpe(e,t,n){var i,s;for(t=48;n--)Gx[n]=n-48<<24>>24;for(i=70;i>=65;i--)Gx[i]=i-65+10<<24>>24;for(s=102;s>=97;s--)Gx[s]=s-97+10<<24>>24;for(c=0;c<10;c++)tF[c]=48+c&Di;for(e=10;e<=15;e++)tF[e]=65+e-10&Di}function qrn(e,t){t.Ug("Process graph bounds",1),Ee(e,(Wr(),nee),MT(PW(Om(new xt(null,new Mt(e.b,16)),new nOe)))),Ee(e,ree,MT(PW(Om(new xt(null,new Mt(e.b,16)),new rOe)))),Ee(e,y4e,MT(MW(Om(new xt(null,new Mt(e.b,16)),new iOe)))),Ee(e,k4e,MT(MW(Om(new xt(null,new Mt(e.b,16)),new oOe)))),t.Vg()}function Xrn(e){var t,n,i,s,c;s=u(A(e,(Ue(),J0)),21),c=u(A(e,VN),21),n=new Pe(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Wo(n),s.Hc((Iu(),Dv))&&(i=u(A(e,D8),8),c.Hc((du(),n7))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=w.Math.max(n.a,i.a),t.b=w.Math.max(n.b,i.b)),qe(Ve(A(e,TZ)))||Esn(e,n,t)}function Yrn(e,t){var n,i,s,c;for(c=el(t,(ze(),Mn)).Kc();c.Ob();)i=u(c.Pb(),12),n=u(A(i,(Oe(),Zc)),10),n&&cf(Ja(Ya(Qa(Xa(new Ma,0),.1),e.i[t.p].d),e.i[n.p].a));for(s=el(t,en).Kc();s.Ob();)i=u(s.Pb(),12),n=u(A(i,(Oe(),Zc)),10),n&&cf(Ja(Ya(Qa(Xa(new Ma,0),.1),e.i[n.p].d),e.i[t.p].a))}function vq(e){var t,n,i,s,c,d;if(!e.c){if(d=new mRe,t=zx,c=t.a.zc(e,t),c==null){for(i=new hn(Il(e));i.e!=i.i.gc();)n=u(mn(i),89),s=f$(n),te(s,90)&&wi(d,vq(u(s,29))),Dn(d,n);t.a.Bc(e)!=null,t.a.gc()==0}GVt(d),zm(d),e.c=new ky((u(re(me((Jp(),Wt).o),15),19),d.i),d.g),cu(e).b&=-33}return e.c}function wpe(e){var t;if(e.c!=10)throw B(new er(rr((Yn(),bD))));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 B(new er(rr((Yn(),va))))}return t}function jlt(e){var t,n,i,s,c;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==FM&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+jlt(bk(e));for(n=e,i="";!(n.l==0&&n.m==0&&n.h==0);){if(s=XG(x$),n=Jpe(n,s,!0),t=""+rze(yg),!(n.l==0&&n.m==0&&n.h==0))for(c=9-t.length;c>0;c--)t="0"+t;i=t+i}return i}function Jrn(e){var t,n,i,s,c,d,h;for(t=!1,n=0,s=new N(e.d.b);s.a=e.a||!Zhe(t,n))return-1;if(q5(u(i.Kb(t),20)))return 1;for(s=0,d=u(i.Kb(t),20).Kc();d.Ob();)if(c=u(d.Pb(),18),b=c.c.i==t?c.d.i:c.c.i,h=mpe(e,b,n,i),h==-1||(s=w.Math.max(s,h),s>e.c-1))return-1;return s+1}function $lt(e,t){var n,i,s,c,d,h;if(fe(t)===fe(e))return!0;if(!te(t,15)||(i=u(t,15),h=e.gc(),i.gc()!=h))return!1;if(d=i.Kc(),e.Yi()){for(n=0;n0){if(e._j(),t!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw B(new jd("Invalid hexadecimal"))}}function l$(){l$=U,nve=new by("SPIRAL",0),Qme=new by("LINE_BY_LINE",1),Zme=new by("MANHATTAN",2),Jme=new by("JITTER",3),lQ=new by("QUADRANTS_LINE_BY_LINE",4),tve=new by("QUADRANTS_MANHATTAN",5),eve=new by("QUADRANTS_JITTER",6),Yme=new by("COMBINE_LINE_BY_LINE_MANHATTAN",7),Xme=new by("COMBINE_JITTER_MANHATTAN",8)}function Nlt(e,t,n,i){var s,c,d,h,b,m;for(b=UV(e,n),m=UV(t,n),s=!1;b&&m&&(i||qXt(b,m,n));)d=UV(b,n),h=UV(m,n),EI(t),EI(e),c=b.c,Gq(b,!1),Gq(m,!1),n?(Wm(t,m.p,c),t.p=m.p,Wm(e,b.p+1,c),e.p=b.p):(Wm(e,b.p,c),e.p=b.p,Wm(t,m.p+1,c),t.p=m.p),bo(b,null),bo(m,null),b=d,m=h,s=!0;return s}function Blt(e){switch(e.g){case 0:return new YLe;case 1:return new qLe;case 3:return new fHe;case 4:return new GMe;case 5:return new BGe;case 6:return new XLe;case 2:return new VLe;case 7:return new zLe;case 8:return new KLe;default:throw B(new Qt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function rin(e,t,n,i){var s,c,d,h,b;for(s=!1,c=!1,h=new N(i.j);h.a=t.length)throw B(new vs("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new qT(i),xW(this.e,this.c,(ze(),rn)),this.i=new qT(i),xW(this.i,this.c,fn),this.f=new nVe(this.c),this.a=!c&&s.i&&!s.s&&this.c[0].k==(nn(),Oi),this.a&&wZt(this,e,t.length)}function zlt(e,t){var n,i,s,c,d,h;c=!e.B.Hc((du(),vO)),d=e.B.Hc(dte),e.a=new Int(d,c,e.c),e.n&&Yue(e.a.n,e.n),bK(e.g,($f(),Ql),e.a),t||(i=new PS(1,c,e.c),i.n.a=e.k,l4(e.p,(ze(),en),i),s=new PS(1,c,e.c),s.n.d=e.k,l4(e.p,Mn,s),h=new PS(0,c,e.c),h.n.c=e.k,l4(e.p,rn,h),n=new PS(0,c,e.c),n.n.b=e.k,l4(e.p,fn,n))}function oin(e){var t,n,i;switch(t=u(A(e.d,(Ue(),S1)),223),t.g){case 2:n=Vun(e);break;case 3:n=(i=new Le,yi(Ar(Rs(Qs(Qs(new xt(null,new Mt(e.d.b,16)),new tMe),new nMe),new rMe),new HIe),new kDe(i)),i);break;default:throw B(new ys("Compaction not supported for "+t+" edges."))}gln(e,n),Io(new r0(e.g),new vDe(e))}function sin(e,t){var n,i,s,c,d,h,b;if(t.Ug("Process directions",1),n=u(A(e,(sl(),Kw)),88),n!=($i(),vd))for(s=Ln(e.b,0);s.b!=s.d.c;){switch(i=u(_n(s),40),h=u(A(i,(Wr(),XP)),17).a,b=u(A(i,YP),17).a,n.g){case 4:b*=-1;break;case 1:c=h,h=b,b=c;break;case 2:d=h,h=-b,b=d}Ee(i,XP,Ae(h)),Ee(i,YP,Ae(b))}t.Vg()}function lin(e,t){var n;return n=new We,t&&js(n,u(pn(e.a,kO),96)),te(t,422)&&js(n,u(pn(e.a,CO),96)),te(t,366)?(js(n,u(pn(e.a,ms),96)),n):(te(t,84)&&js(n,u(pn(e.a,Tn),96)),te(t,207)?(js(n,u(pn(e.a,xr),96)),n):te(t,193)?(js(n,u(pn(e.a,ru),96)),n):(te(t,326)&&js(n,u(pn(e.a,Ti),96)),n))}function cin(e){var t,n,i,s,c,d,h,b;for(b=new vJe,h=new N(e.a);h.a0&&t=0)return!1;if(t.p=n.b,je(n.e,t),s==(nn(),io)||s==Hl){for(d=new N(t.j);d.ae.d[h.p]&&(n+=Pae(e.b,c),eg(e.a,Ae(c)))):++d;for(n+=e.b.d*d;!cC(e.a);)cfe(e.b,u(s4(e.a),17).a)}return n}function Jlt(e){var t,n,i,s,c,d;return c=0,t=Aa(e),t.kk()&&(c|=4),e.Bb&Fc&&(c|=2),te(e,102)?(n=u(e,19),s=is(n),n.Bb&wl&&(c|=32),s&&(Cn(_m(s)),c|=8,d=s.t,(d>1||d==-1)&&(c|=16),s.Bb&wl&&(c|=64)),n.Bb&es&&(c|=dv),c|=af):te(t,469)?c|=512:(i=t.kk(),i&&i.i&1&&(c|=256)),e.Bb&512&&(c|=128),c}function yin(e,t){var n;return e.f==Ete?(n=Gb(Cs((Dc(),Oo),t)),e.e?n==4&&t!=(R4(),v6)&&t!=(R4(),m6)&&t!=(R4(),Tte)&&t!=(R4(),Ite):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(h4(Cs((Dc(),Oo),t)))||e.d.Hc(t2((Dc(),Oo),e.b,t)))?!0:e.f&&ope((Dc(),e.f),oI(Cs(Oo,t)))?(n=Gb(Cs(Oo,t)),e.e?n==4:n==2):!1}function kin(e){var t,n,i,s,c,d,h,b,m,v,k,T,M;for(T=-1,M=0,m=e,v=0,k=m.length;v0&&++M;++T}return M}function Cin(e,t,n,i){var s,c,d,h,b,m,v,k;return d=u(Ie(n,(pr(),d6)),8),b=d.a,v=d.b+e,s=w.Math.atan2(v,b),s<0&&(s+=B0),s+=t,s>B0&&(s-=B0),h=u(Ie(i,d6),8),m=h.a,k=h.b+e,c=w.Math.atan2(k,m),c<0&&(c+=B0),c+=t,c>B0&&(c-=B0),Yf(),of(1e-10),w.Math.abs(s-c)<=1e-10||s==c||isNaN(s)&&isNaN(c)?0:sc?1:Rb(isNaN(s),isNaN(c))}function Cq(e){var t,n,i,s,c,d,h;for(h=new On,i=new N(e.a.b);i.a=e.o)throw B(new Zoe);h=t>>5,d=t&31,c=nf(1,Vn(nf(d,1))),s?e.n[n][h]=Rf(e.n[n][h],c):e.n[n][h]=Yi(e.n[n][h],Yce(c)),c=nf(c,1),i?e.n[n][h]=Rf(e.n[n][h],c):e.n[n][h]=Yi(e.n[n][h],Yce(c))}catch(b){throw b=li(b),te(b,333)?B(new vs(KX+e.o+"*"+e.p+UX+t+qo+n+GX)):B(b)}}function Ein(e,t,n,i){var s,c,d,h,b,m,v,k,T;for(T=new z1(new UDe(e)),h=H(F(Lh,1),fp,10,0,[t,n]),b=0,m=h.length;b0&&(i=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!i||lr(lr((t.a+=' "',t),i),'"'))),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Qlt(e){var t,n,i;return e.Db&64?tq(e):(t=new Ru(Twe),n=e.k,n?lr(lr((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new Se(ms,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!i||lr(lr((t.a+=' "',t),i),'"'))),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Min(e,t){var n,i,s,c,d;for(t==(mS(),GZ)&&pM(u(Lr(e.a,(Vm(),OP)),15)),s=u(Lr(e.a,(Vm(),OP)),15).Kc();s.Ob();)switch(i=u(s.Pb(),105),n=u(Ye(i.j,0),113).d.j,c=new Vc(i.j),Pi(c,new aMe),t.g){case 2:XV(e,c,n,(nw(),xg),1);break;case 1:case 0:d=pnn(c),XV(e,new V1(c,0,d),n,(nw(),xg),0),XV(e,new V1(c,d,c.c.length),n,xg,1)}}function xq(e,t){var n,i,s,c,d,h,b;if(t==null||t.length==0)return null;if(s=u(jl(e.a,t),143),!s){for(i=(h=new Xh(e.b).a.vc().Kc(),new pm(h));i.a.Ob();)if(n=(c=u(i.a.Pb(),44),u(c.md(),143)),d=n.c,b=t.length,Et(d.substr(d.length-b,b),t)&&(t.length==d.length||Ao(d,d.length-t.length-1)==46)){if(s)return null;s=n}s&&ks(e.a,t,s)}return s}function Pin(e,t){var n,i,s,c;return n=new c5,i=u(Hs(Rs(new xt(null,new Mt(e.f,16)),n),jm(new ge,new Ge,new Rn,new gr,H(F(Es,1),Te,108,0,[(Jc(),hv),Gs]))),21),s=i.gc(),i=u(Hs(Rs(new xt(null,new Mt(t.f,16)),n),jm(new ge,new Ge,new Rn,new gr,H(F(Es,1),Te,108,0,[hv,Gs]))),21),c=i.gc(),ss.p?(Vi(c,Mn),c.d&&(h=c.o.b,t=c.a.b,c.a.b=h-t)):c.j==Mn&&s.p>e.p&&(Vi(c,en),c.d&&(h=c.o.b,t=c.a.b,c.a.b=-(h-t)));break}return s}function SM(e,t,n,i,s){var c,d,h,b,m,v,k;if(!(te(t,207)||te(t,366)||te(t,193)))throw B(new Qt("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return d=e.a/2,b=t.i+i-d,v=t.j+s-d,m=b+t.g+e.a,k=v+t.f+e.a,c=new Oc,ir(c,new Pe(b,v)),ir(c,new Pe(b,k)),ir(c,new Pe(m,k)),ir(c,new Pe(m,v)),h=new dq(c),js(h,t),n&&vr(e.b,t,h),h}function Hk(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(c=new Pe(t,n),v=new N(e.a);v.a1,h&&(i=new Pe(s,n.b),ir(t.a,i)),aS(t.a,H(F(to,1),_e,8,0,[T,k]))}function La(){La=U,eB=new vm(eh,0),HP=new vm("NIKOLOV",1),KP=new vm("NIKOLOV_PIXEL",2),N3e=new vm("NIKOLOV_IMPROVED",3),B3e=new vm("NIKOLOV_IMPROVED_PIXEL",4),D3e=new vm("DUMMYNODE_PERCENTAGE",5),F3e=new vm("NODECOUNT_PERCENTAGE",6),tB=new vm("NO_BOUNDARY",7),zw=new vm("MODEL_ORDER_LEFT_TO_RIGHT",8),Ov=new vm("MODEL_ORDER_RIGHT_TO_LEFT",9)}function Bin(e){var t,n,i,s,c;for(i=e.length,t=new uC,c=0;c=40,d&&Fon(e),qsn(e),wrn(e),n=wnt(e),i=0;n&&i0&&ir(e.f,c)):(e.c[d]-=m+1,e.c[d]<=0&&e.a[d]>0&&ir(e.e,c))))}function fct(e,t,n,i){var s,c,d,h,b,m,v;for(b=new Pe(n,i),Xi(b,u(A(t,(Wr(),W8)),8)),v=Ln(t.b,0);v.b!=v.d.c;)m=u(_n(v),40),Or(m.e,b),ir(e.b,m);for(h=u(Hs(lae(new xt(null,new Mt(t.a,16))),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15).Kc();h.Ob();){for(d=u(h.Pb(),65),c=Ln(d.a,0);c.b!=c.d.c;)s=u(_n(c),8),s.a+=b.a,s.b+=b.b;ir(e.a,d)}}function Ape(e,t){var n,i,s,c;if(0<(te(e,16)?u(e,16).gc():r1(e.Kc()))){if(s=t,1=0&&bc*2?(v=new DL(k),m=Ac(d)/xu(d),b=Xq(v,t,new D3,n,i,s,m),Or(Of(v.e),b),k.c.length=0,c=0,Ft(k.c,v),Ft(k.c,d),c=Ac(v)*xu(v)+Ac(d)*xu(d)):(Ft(k.c,d),c+=Ac(d)*xu(d));return k}function hct(e,t){var n,i,s,c,d,h;if(h=u(A(t,(Ue(),vi)),101),h==(fo(),Bh)||h==Ul)for(s=new Pe(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,d=new N(e.a);d.an?t:n;m<=k;++m)m==n?h=i++:(c=s[m],v=O.am(c.Lk()),m==t&&(b=m==k&&!v?i-1:i),v&&++i);return T=u(TS(e,t,n),76),h!=b&&b5(e,new kI(e.e,7,d,Ae(h),M.md(),b)),T}}else return u(uq(e,t,n),76);return u(TS(e,t,n),76)}function ion(e,t){var n,i,s,c,d,h,b;for(t.Ug("Port order processing",1),b=u(A(e,(Ue(),b3e)),430),i=new N(e.b);i.a=0&&(h=ZXt(e,d),!(h&&(m<22?b.l|=1<>>1,d.m=v>>>1|(k&1)<<21,d.l=T>>>1|(v&1)<<21,--m;return n&&FW(b),c&&(i?(yg=bk(e),s&&(yg=Qet(yg,(Z5(),dme)))):yg=nc(e.l,e.m,e.h)),b}function lon(e,t){var n,i,s,c,d,h,b,m,v,k;for(m=e.e[t.c.p][t.p]+1,b=t.c.a.c.length+1,h=new N(e.a);h.a0&&(Zt(0,e.length),e.charCodeAt(0)==45||(Zt(0,e.length),e.charCodeAt(0)==43))?1:0,i=d;in)throw B(new jd(mw+e+'"'));return h}function con(e){var t,n,i,s,c,d,h;for(d=new Zr,c=new N(e.a);c.a1)&&t==1&&u(e.a[e.b],10).k==(nn(),xl)?L4(u(e.a[e.b],10),(Fu(),Dh)):i&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.c-1&e.a.length-1],10).k==(nn(),xl)?L4(u(e.a[e.c-1&e.a.length-1],10),(Fu(),Rg)):(e.c-e.b&e.a.length-1)==2?(L4(u(wS(e),10),(Fu(),Dh)),L4(u(wS(e),10),Rg)):Ntn(e,s),Iae(e)}function fon(e,t,n){var i,s,c,d,h;for(c=0,s=new hn((!e.a&&(e.a=new Se(xr,e,10,11)),e.a));s.e!=s.i.gc();)i=u(mn(s),27),d="",(!i.n&&(i.n=new Se(ms,i,1,7)),i.n).i==0||(d=u(re((!i.n&&(i.n=new Se(ms,i,1,7)),i.n),0),135).a),h=new zW(c++,t,d),js(h,i),Ee(h,(Wr(),px),i),h.e.b=i.j+i.f/2,h.f.a=w.Math.max(i.g,1),h.e.a=i.i+i.g/2,h.f.b=w.Math.max(i.f,1),ir(t.b,h),Jl(n.f,i,h)}function don(e){var t,n,i,s,c;i=u(A(e,(Oe(),jr)),27),c=u(Ie(i,(Ue(),J0)),181).Hc((Iu(),sb)),e.e||(s=u(A(e,Kl),21),t=new Pe(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),s.Hc((cs(),ka))?(Dr(i,vi,(fo(),Ul)),gw(i,t.a,t.b,!1,!0)):qe(Ve(Ie(i,TZ)))||gw(i,t.a,t.b,!0,!0)),c?Dr(i,J0,ht(sb)):Dr(i,J0,(n=u(Mf(jx),9),new ra(n,u(ef(n,n.length),9),0)))}function Lpe(e,t,n){var i,s,c,d;if(t[0]>=e.length)return n.o=0,!0;switch(Ao(e,t[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++t[0],c=t[0],d=qj(e,t),d==0&&t[0]==c)return!1;if(t[0]h&&(h=s,v.c.length=0),s==h&&je(v,new Gi(n.c.i,n)));Ot(),Pi(v,e.c),Nb(e.b,b.p,v)}}function bon(e,t){var n,i,s,c,d,h,b,m,v;for(d=new N(t.b);d.ah&&(h=s,v.c.length=0),s==h&&je(v,new Gi(n.d.i,n)));Ot(),Pi(v,e.c),Nb(e.f,b.p,v)}}function won(e,t){var n,i,s,c,d,h,b,m;if(m=Ve(A(t,(sl(),Oyt))),m==null||(sn(m),m)){for(Ken(e,t),s=new Le,b=Ln(t.b,0);b.b!=b.d.c;)d=u(_n(b),40),n=k1e(e,d,null),n&&(js(n,t),Ft(s.c,n));if(e.a=null,e.b=null,s.c.length>1)for(i=new N(s);i.a=0&&h!=n&&(c=new ro(e,1,h,d,null),i?i.nj(c):i=c),n>=0&&(c=new ro(e,1,n,h==n?d:null,t),i?i.nj(c):i=c)),i}function bct(e){var t,n,i;if(e.b==null){if(i=new B1,e.i!=null&&(ps(i,e.i),i.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&($Nt(e.i)||(i.a+="//"),ps(i,e.a)),e.d!=null&&(i.a+="/",ps(i,e.d)),e.f&16&&(i.a+="/"),t=0,n=e.j.length;tT?!1:(k=(b=ZS(i,T,!1),b.a),v+h+k<=t.b&&(CI(n,c-n.s),n.c=!0,CI(i,c-n.s),iM(i,n.s,n.t+n.d+h),i.k=!0,Hfe(n.q,i),M=!0,s&&(HL(t,i),i.j=t,e.c.length>d&&(lM((_t(d,e.c.length),u(e.c[d],186)),i),(_t(d,e.c.length),u(e.c[d],186)).a.c.length==0&&X1(e,d)))),M)}function xon(e,t){var n,i,s,c,d,h;if(t.Ug("Partition midprocessing",1),s=new qb,yi(Ar(new xt(null,new Mt(e.a,16)),new zTe),new cDe(s)),s.d!=0){for(h=u(Hs(aae((c=s.i,new xt(null,(c||(s.i=new Py(s,s.c))).Nc()))),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),i=h.Kc(),n=u(i.Pb(),17);i.Ob();)d=u(i.Pb(),17),wnn(u(Lr(s,n),21),u(Lr(s,d),21)),n=d;t.Vg()}}function vct(e,t,n){var i,s,c,d,h,b,m,v;if(t.p==0){for(t.p=1,d=n,d||(s=new Le,c=(i=u(Mf(ts),9),new ra(i,u(ef(i,i.length),9),0)),d=new Gi(s,c)),u(d.a,15).Fc(t),t.k==(nn(),Oi)&&u(d.b,21).Fc(u(A(t,(Oe(),fl)),64)),b=new N(t.j);b.a0){if(s=u(e.Ab.g,2033),t==null){for(c=0;cn.s&&hd)return ze(),fn;break;case 4:case 3:if(v<0)return ze(),en;if(v+n>c)return ze(),Mn}return b=(m+h/2)/d,i=(v+n/2)/c,b+i<=1&&b-i<=0?(ze(),rn):b+i>=1&&b-i>=0?(ze(),fn):i<.5?(ze(),en):(ze(),Mn)}function Pon(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L;for(n=!1,v=le(pe(A(t,(Ue(),Fw)))),O=pg*v,s=new N(t.b);s.ab+O&&(L=k.g+T.g,T.a=(T.g*T.a+k.g*k.a)/L,T.g=L,k.f=T,n=!0)),c=h,k=T;return n}function Sct(e,t,n,i,s,c,d){var h,b,m,v,k,T;for(T=new Y3,m=t.Kc();m.Ob();)for(h=u(m.Pb(),853),k=new N(h.Rf());k.a0?h.a?(m=h.b.Mf().b,s>m&&(e.v||h.c.d.c.length==1?(d=(s-m)/2,h.d.d=d,h.d.a=d):(n=u(Ye(h.c.d,0),187).Mf().b,i=(n-m)/2,h.d.d=w.Math.max(0,i),h.d.a=s-i-m))):h.d.a=e.t+s:WC(e.u)&&(c=r1e(h.b),c.d<0&&(h.d.d=-c.d),c.d+c.a>h.b.Mf().b&&(h.d.a=c.d+c.a-h.b.Mf().b))}function uf(){uf=U,Q4=new go((pr(),aO),Ae(1)),qD=new go(ib,80),n0t=new go(G5e,5),Wgt=new go(F2,o8),e0t=new go(lte,Ae(1)),t0t=new go(cte,(Gt(),!0)),vve=new Ab(50),Qgt=new go(kp,vve),bve=cO,yve=Ix,Vgt=new go(Jee,!1),mve=uO,Ygt=Lv,Jgt=_g,Xgt=rb,qgt=U2,Zgt=jv,wve=(h1e(),Bgt),vQ=Kgt,VD=Ngt,mQ=Fgt,kve=Hgt,o0t=J8,s0t=RB,i0t=fO,r0t=_B,Cve=(S4(),Nv),new go(p6,Cve)}function Ron(e,t){var n;switch(OI(e)){case 6:return lo(t);case 7:return km(t);case 8:return ym(t);case 3:return Array.isArray(t)&&(n=OI(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===Zq;case 12:return t!=null&&(typeof t===AM||typeof t==Zq);case 0:return xV(t,e.__elementTypeId$);case 2:return iG(t)&&t.Tm!==xe;case 1:return iG(t)&&t.Tm!==xe||xV(t,e.__elementTypeId$);default:return!0}}function Aon(e){var t,n,i,s;i=e.o,xm(),e.A.dc()||Rr(e.A,ove)?s=i.a:(e.D?s=w.Math.max(i.a,FS(e.f)):s=FS(e.f),e.A.Hc((Iu(),wO))&&!e.B.Hc((du(),$x))&&(s=w.Math.max(s,FS(u(gs(e.p,(ze(),en)),252))),s=w.Math.max(s,FS(u(gs(e.p,Mn),252)))),t=Net(e),t&&(s=w.Math.max(s,t.a))),qe(Ve(e.e.Tf().of((pr(),Lv))))?i.a=w.Math.max(i.a,s):i.a=s,n=e.f.i,n.c=0,n.b=s,_q(e.f)}function xct(e,t){var n,i,s,c;return i=w.Math.min(w.Math.abs(e.c-(t.c+t.b)),w.Math.abs(e.c+e.b-t.c)),c=w.Math.min(w.Math.abs(e.d-(t.d+t.a)),w.Math.abs(e.d+e.a-t.d)),n=w.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(s=w.Math.abs(e.d+e.a/2-(t.d+t.a/2)),s>e.a/2+t.a/2)?1:n==0&&s==0?0:n==0?c/s+1:s==0?i/n+1:w.Math.min(i/n,c/s)+1}function Lon(e,t){var n,i,s,c,d,h,b;for(c=0,h=0,b=0,s=new N(e.f.e);s.a0&&e.d!=(cS(),CQ)&&(h+=d*(i.d.a+e.a[t.a][i.a]*(t.d.a-i.d.a)/n)),n>0&&e.d!=(cS(),yQ)&&(b+=d*(i.d.b+e.a[t.a][i.a]*(t.d.b-i.d.b)/n)));switch(e.d.g){case 1:return new Pe(h/c,t.d.b);case 2:return new Pe(t.d.a,b/c);default:return new Pe(h/c,b/c)}}function Ect(e){var t,n,i,s,c,d;for(n=(!e.a&&(e.a=new Ai(Yu,e,5)),e.a).i+2,d=new ql(n),je(d,new Pe(e.j,e.k)),yi(new xt(null,(!e.a&&(e.a=new Ai(Yu,e,5)),new Mt(e.a,16))),new LNe(d)),je(d,new Pe(e.b,e.c)),t=1;t0&&(HI(b,!1,($i(),Is)),HI(b,!0,Ns)),ic(t.g,new DHe(e,n)),vr(e.g,t,n)}function Mct(){Mct=U;var e;for(yme=H(F(Bn,1),ur,28,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]),qJ=be(Bn,ur,28,37,15,1),bpt=H(F(Bn,1),ur,28,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]),kme=be(Hg,TX,28,37,14,1),e=2;e<=36;e++)qJ[e]=Wi(w.Math.pow(e,yme[e])),kme[e]=uM(DM,qJ[e])}function jon(e){var t;if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i!=1)throw B(new Qt(nht+(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i));return t=new Oc,FI(u(re((!e.b&&(e.b=new $t(Tn,e,4,7)),e.b),0),84))&&vo(t,bat(e,FI(u(re((!e.b&&(e.b=new $t(Tn,e,4,7)),e.b),0),84)),!1)),FI(u(re((!e.c&&(e.c=new $t(Tn,e,5,8)),e.c),0),84))&&vo(t,bat(e,FI(u(re((!e.c&&(e.c=new $t(Tn,e,5,8)),e.c),0),84)),!0)),t}function Pct(e,t){var n,i,s,c,d;for(t.d?s=e.a.c==(Hd(),Hw)?eo(t.b):Mi(t.b):s=e.a.c==(Hd(),mp)?eo(t.b):Mi(t.b),c=!1,i=new gn(wn(s.a.Kc(),new $));jn(i);)if(n=u(Sn(i),18),d=qe(e.a.f[e.a.g[t.b.p].p]),!(!d&&!Zo(n)&&n.c.i.c==n.d.i.c)&&!(qe(e.a.n[e.a.g[t.b.p].p])||qe(e.a.n[e.a.g[t.b.p].p]))&&(c=!0,Pf(e.b,e.a.g[jXt(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=c,t.a=null,t}function $pe(e,t,n){var i,s,c,d,h,b,m;if(i=n.gc(),i==0)return!1;if(e.Pj())if(b=e.Qj(),Gde(e,t,n),d=i==1?e.Ij(3,null,n.Kc().Pb(),t,b):e.Ij(5,null,n,t,b),e.Mj()){for(h=i<100?null:new Kp(i),c=t+i,s=t;s0){for(d=0;d>16==-15&&e.Cb.Yh()&&cW(new rW(e.Cb,9,13,n,e.c,sp(uu(u(e.Cb,62)),e))):te(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,te(t,90)||(t=(Pt(),Va)),te(n,90)||(n=(Pt(),Va)),cW(new rW(e.Cb,9,10,n,t,sp(Il(u(e.Cb,29)),e)))))),e.c}function Non(e,t,n){var i,s,c,d,h,b,m,v,k;for(n.Ug("Hyperedge merging",1),ctn(e,t),b=new wo(t.b,0);b.b0,h=gj(t,c),Xle(n?h.b:h.g,t),Fy(h).c.length==1&&pi(i,h,i.c.b,i.c),s=new Gi(c,t),eg(e.o,s),mc(e.e.a,c))}function $ct(e,t){var n,i,s,c,d,h,b;return i=w.Math.abs(KA(e.b).a-KA(t.b).a),h=w.Math.abs(KA(e.b).b-KA(t.b).b),s=0,b=0,n=1,d=1,i>e.b.b/2+t.b.b/2&&(s=w.Math.min(w.Math.abs(e.b.c-(t.b.c+t.b.b)),w.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-s/i),h>e.b.a/2+t.b.a/2&&(b=w.Math.min(w.Math.abs(e.b.d-(t.b.d+t.b.a)),w.Math.abs(e.b.d+e.b.a-t.b.d)),d=1-b/h),c=w.Math.min(n,d),(1-c)*w.Math.sqrt(i*i+h*h)}function zon(e){var t,n,i,s;for(qq(e,e.e,e.f,(Xb(),Pg),!0,e.c,e.i),qq(e,e.e,e.f,Pg,!1,e.c,e.i),qq(e,e.e,e.f,L2,!0,e.c,e.i),qq(e,e.e,e.f,L2,!1,e.c,e.i),Don(e,e.c,e.e,e.f,e.i),i=new wo(e.i,0);i.b=65;n--)xd[n]=n-65<<24>>24;for(i=122;i>=97;i--)xd[i]=i-97+26<<24>>24;for(s=57;s>=48;s--)xd[s]=s-48+52<<24>>24;for(xd[43]=62,xd[47]=63,c=0;c<=25;c++)Mp[c]=65+c&Di;for(d=26,b=0;d<=51;++d,b++)Mp[d]=97+b&Di;for(e=52,h=0;e<=61;++e,h++)Mp[e]=48+h&Di;Mp[62]=43,Mp[63]=47}function Dct(e,t){var n,i,s,c,d,h;return s=Dfe(e),h=Dfe(t),s==h?e.e==t.e&&e.a<54&&t.a<54?e.ft.f?1:0:(i=e.e-t.e,n=(e.d>0?e.d:w.Math.floor((e.a-1)*Uat)+1)-(t.d>0?t.d:w.Math.floor((t.a-1)*Uat)+1),n>i+1?s:n0&&(d=Ly(d,qct(i))),Vnt(c,d))):sm&&(T=0,M+=b+t,b=0),Hk(d,T,M),n=w.Math.max(n,T+v.a),b=w.Math.max(b,v.b),T+=v.a+t;return new Pe(n+t,M+b+t)}function Fpe(e,t){var n,i,s,c,d,h,b;if(!Qf(e))throw B(new ys(tht));if(i=Qf(e),c=i.g,s=i.f,c<=0&&s<=0)return ze(),nl;switch(h=e.i,b=e.j,t.g){case 2:case 1:if(h<0)return ze(),rn;if(h+e.g>c)return ze(),fn;break;case 4:case 3:if(b<0)return ze(),en;if(b+e.f>s)return ze(),Mn}return d=(h+e.g/2)/c,n=(b+e.f/2)/s,d+n<=1&&d-n<=0?(ze(),rn):d+n>=1&&d-n>=0?(ze(),fn):n<.5?(ze(),en):(ze(),Mn)}function Uon(e,t,n,i,s){var c,d;if(c=zo(Yi(t[0],us),Yi(i[0],us)),e[0]=Vn(c),c=Bb(c,32),n>=s){for(d=1;d0&&(s.b[d++]=0,s.b[d++]=c.b[0]-1),t=1;t0&&(qH(b,b.d-s.d),s.c==(Af(),Mg)&&MPt(b,b.a-s.d),b.d<=0&&b.i>0&&pi(t,b,t.c.b,t.c)));for(c=new N(e.f);c.a0&&(tR(h,h.i-s.d),s.c==(Af(),Mg)&&PPt(h,h.b-s.d),h.i<=0&&h.d>0&&pi(n,h,n.c.b,n.c)))}function Von(e,t,n,i,s){var c,d,h,b,m,v,k,T,M;for(Ot(),Pi(e,new q_e),d=JT(e),M=new Le,T=new Le,h=null,b=0;d.b!=0;)c=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),163),!h||Ac(h)*xu(h)/21&&(b>Ac(h)*xu(h)/2||d.b==0)&&(k=new DL(T),v=Ac(h)/xu(h),m=Xq(k,t,new D3,n,i,s,v),Or(Of(k.e),m),h=k,Ft(M.c,k),b=0,T.c.length=0));return zi(M,T),M}function Pl(e,t,n,i,s){Jh();var c,d,h,b,m,v,k;if(Oue(e,"src"),Oue(n,"dest"),k=Tu(e),b=Tu(n),Xce((k.i&4)!=0,"srcType is not an array"),Xce((b.i&4)!=0,"destType is not an array"),v=k.c,d=b.c,Xce(v.i&1?v==d:(d.i&1)==0,"Array types don't match"),AGt(e,t,n,i,s),!(v.i&1)&&k!=b)if(m=y0(e),c=y0(n),fe(e)===fe(n)&&ti;)hi(c,h,m[--t]);else for(h=i+s;i0),i.a.Xb(i.c=--i.b),k>T+b&&Eu(i);for(d=new N(M);d.a0),i.a.Xb(i.c=--i.b)}}function Xon(){Ir();var e,t,n,i,s,c;if(Pte)return Pte;for(e=new ju(4),nv(e,hg(jJ,!0)),n9(e,hg("M",!0)),n9(e,hg("C",!0)),c=new ju(4),i=0;i<11;i++)Dl(c,i,i);return t=new ju(4),nv(t,hg("M",!0)),Dl(t,4448,4607),Dl(t,65438,65439),s=new LC(2),R0(s,e),R0(s,Vx),n=new LC(2),n.Jm(AA(c,hg("L",!0))),n.Jm(t),n=new Am(3,n),n=new Pue(s,n),Pte=n,Pte}function tv(e,t){var n,i,s,c,d,h,b,m;for(n=new RegExp(t,"g"),b=be(Je,_e,2,0,6,1),i=0,m=e,c=null;;)if(h=n.exec(m),h==null||m==""){b[i]=m;break}else d=h.index,b[i]=(mo(0,d,m.length),m.substr(0,d)),m=oa(m,d+h[0].length,m.length),n.lastIndex=0,c==m&&(b[i]=(mo(0,1,m.length),m.substr(0,1)),m=(Zt(1,m.length+1),m.substr(1))),c=m,++i;if(e.length>0){for(s=b.length;s>0&&b[s-1]=="";)--s;s0&&(k-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(k-=i[2]+e.c),i[1]=w.Math.max(i[1],k),DA(e.a[1],n.c+t.b+i[0]-(i[1]-k)/2,i[1]);for(c=e.a,h=0,m=c.length;h0?(e.n.c.length-1)*e.i:0,i=new N(e.n);i.a1)for(i=Ln(s,0);i.b!=i.d.c;)for(n=u(_n(i),235),c=0,b=new N(n.e);b.a0&&(t[0]+=e.c,k-=t[0]),t[2]>0&&(k-=t[2]+e.c),t[1]=w.Math.max(t[1],k),NA(e.a[1],i.d+n.d+t[0]-(t[1]-k)/2,t[1]);else for(O=i.d+n.d,M=i.a-n.d-n.a,d=e.a,b=0,v=d.length;b0||sw(s.b.d,e.b.d+e.b.a)==0&&i.b<0||sw(s.b.d+s.b.a,e.b.d)==0&&i.b>0){h=0;break}}else h=w.Math.min(h,$ot(e,s,i));h=w.Math.min(h,zct(e,c,h,i))}return h}function IM(e,t){var n,i,s,c,d,h,b;if(e.b<2)throw B(new Qt("The vector chain must contain at least a source and a target point."));for(s=(yn(e.b!=0),u(e.a.a.c,8)),NT(t,s.a,s.b),b=new Q3((!t.a&&(t.a=new Ai(Yu,t,5)),t.a)),d=Ln(e,1);d.a=0&&c!=n))throw B(new Qt(cP));for(s=0,b=0;ble(Jf(d.g,d.d[0]).a)?(yn(b.b>0),b.a.Xb(b.c=--b.b),Em(b,d),s=!0):h.e&&h.e.gc()>0&&(c=(!h.e&&(h.e=new Le),h.e).Mc(t),m=(!h.e&&(h.e=new Le),h.e).Mc(n),(c||m)&&((!h.e&&(h.e=new Le),h.e).Fc(d),++d.c));s||Ft(i.c,d)}function nsn(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z;return k=e.a.i+e.a.g/2,T=e.a.i+e.a.g/2,O=t.i+t.g/2,j=t.j+t.f/2,h=new Pe(O,j),m=u(Ie(t,(pr(),d6)),8),m.a=m.a+k,m.b=m.b+T,c=(h.b-m.b)/(h.a-m.a),i=h.b-c*h.a,L=n.i+n.g/2,z=n.j+n.f/2,b=new Pe(L,z),v=u(Ie(n,d6),8),v.a=v.a+k,v.b=v.b+T,d=(b.b-v.b)/(b.a-v.a),s=b.b-d*b.a,M=(i-s)/(d-c),m.a>>0,"0"+t.toString(16)),i="\\x"+oa(n,n.length-2,n.length)):e>=es?(n=(t=e>>>0,"0"+t.toString(16)),i="\\v"+oa(n,n.length-6,n.length)):i=""+String.fromCharCode(e&Di)}return i}function Gct(e){var t,n,i;if(Cy(u(A(e,(Ue(),vi)),101)))for(n=new N(e.j);n.a=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(d=u(Ye(t.n,t.n.c.length-1),209),d.e+d.d+n.g+s<=i&&(c=u(Ye(t.n,t.n.c.length-1),209),c.f-e.f+n.f<=e.b||e.a.c.length==1))return Dde(t,n),!0;if(t.s+n.g<=i&&(t.t+t.d+n.f+s<=e.b||e.a.c.length==1))return je(t.b,n),h=u(Ye(t.n,t.n.c.length-1),209),je(t.n,new lL(t.s,h.f+h.a+t.i,t.i)),whe(u(Ye(t.n,t.n.c.length-1),209),n),Bct(t,n),!0}return!1}function Vct(e,t,n){var i,s,c,d;return e.Pj()?(s=null,c=e.Qj(),i=e.Ij(1,d=fW(e,t,n),n,t,c),e.Mj()&&!(e.Yi()&&d!=null?Rr(d,n):fe(d)===fe(n))?(d!=null&&(s=e.Oj(d,s)),s=e.Nj(n,s),e.Tj()&&(s=e.Wj(d,n,s)),s?(s.nj(i),s.oj()):e.Jj(i)):(e.Tj()&&(s=e.Wj(d,n,s)),s?(s.nj(i),s.oj()):e.Jj(i)),d):(d=fW(e,t,n),e.Mj()&&!(e.Yi()&&d!=null?Rr(d,n):fe(d)===fe(n))&&(s=null,d!=null&&(s=e.Oj(d,null)),s=e.Nj(n,s),s&&s.oj()),d)}function usn(e,t){var n,i,s,c,d;if(t.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Vg();return}if(s=new V1e(e),d=(s.i==null&&(s.i=Nfe(s,new Xie)),le(s.i)*s.f),n=d/(s.i==null&&(s.i=Nfe(s,new Xie)),le(s.i)),s.b>n){t.Vg();return}switch(u(A(e,(Ue(),_Z)),351).g){case 2:c=new Jie;break;case 0:c=new qie;break;default:c=new Qie}if(i=c.og(e,s),!c.pg())switch(u(A(e,XN),352).g){case 2:i=Dot(s,i);break;case 1:i=Mit(s,i)}iln(e,s,i),t.Vg()}function YS(e,t){var n,i,s,c,d,h,b,m;t%=24,e.q.getHours()!=t&&(i=new w.Date(e.q.getTime()),i.setDate(i.getDate()+1),h=e.q.getTimezoneOffset()-i.getTimezoneOffset(),h>0&&(b=h/60|0,m=h%60,s=e.q.getDate(),n=e.q.getHours(),n+b>=24&&++s,c=new w.Date(e.q.getFullYear(),e.q.getMonth(),s,t+b,e.q.getMinutes()+m,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),d=e.q.getTime(),e.q.setTime(d+36e5),e.q.getHours()!=t&&e.q.setTime(d)}function asn(e,t){var n,i,s,c;if(SFt(e.d,e.e),e.c.a.$b(),le(pe(A(t.j,(Ue(),DN))))!=0||le(pe(A(t.j,DN)))!=0)for(n=l2,fe(A(t.j,jh))!==fe((Gd(),wp))&&Ee(t.j,(Oe(),Eg),(Gt(),!0)),c=u(A(t.j,nx),17).a,s=0;ss&&++m,je(d,(_t(h+m,t.c.length),u(t.c[h+m],17))),b+=(_t(h+m,t.c.length),u(t.c[h+m],17)).a-i,++n;n=j&&e.e[b.p]>O*e.b||ne>=n*j)&&(Ft(T.c,h),h=new Le,vo(d,c),c.a.$b(),m-=v,M=w.Math.max(M,m*e.b+L),m+=ne,Y=ne,ne=0,v=0,L=0);return new Gi(M,T)}function Aq(e){var t,n,i,s,c,d,h;if(!e.d){if(h=new yRe,t=zx,c=t.a.zc(e,t),c==null){for(i=new hn(As(e));i.e!=i.i.gc();)n=u(mn(i),29),wi(h,Aq(n));t.a.Bc(e)!=null,t.a.gc()==0}for(d=h.i,s=(!e.q&&(e.q=new Se(Ga,e,11,10)),new hn(e.q));s.e!=s.i.gc();++d)u(mn(s),411);wi(h,(!e.q&&(e.q=new Se(Ga,e,11,10)),e.q)),zm(h),e.d=new ky((u(re(me((Jp(),Wt).o),9),19),h.i),h.g),e.e=u(h.g,688),e.e==null&&(e.e=Y4t),cu(e).b&=-17}return e.d}function Gk(e,t,n,i){var s,c,d,h,b,m;if(m=cc(e.e.Dh(),t),b=0,s=u(e.g,124),rs(),u(t,69).xk()){for(d=0;d1||O==-1)if(k=u(L,71),T=u(v,71),k.dc())T.$b();else for(d=!!is(t),c=0,h=e.a?k.Kc():k.Ii();h.Ob();)m=u(h.Pb(),58),s=u(id(e,m),58),s?(d?(b=T.dd(s),b==-1?T.Gi(c,s):c!=b&&T.Ui(c,s)):T.Gi(c,s),++c):e.b&&!d&&(T.Gi(c,m),++c);else L==null?v.Wb(null):(s=id(e,L),s==null?e.b&&!is(t)&&v.Wb(L):v.Wb(s))}function gsn(e,t){var n,i,s,c,d,h,b,m;for(n=new oTe,s=new gn(wn(eo(t).a.Kc(),new $));jn(s);)if(i=u(Sn(s),18),!Zo(i)&&(h=i.c.i,Zhe(h,QD))){if(m=mpe(e,h,QD,JD),m==-1)continue;n.b=w.Math.max(n.b,m),!n.a&&(n.a=new Le),je(n.a,h)}for(d=new gn(wn(Mi(t).a.Kc(),new $));jn(d);)if(c=u(Sn(d),18),!Zo(c)&&(b=c.d.i,Zhe(b,JD))){if(m=mpe(e,b,JD,QD),m==-1)continue;n.d=w.Math.max(n.d,m),!n.c&&(n.c=new Le),je(n.c,b)}return n}function bsn(e,t,n,i){var s,c,d,h,b,m,v;if(n.d.i!=t.i){for(s=new p1(e),n0(s,(nn(),io)),Ee(s,(Oe(),jr),n),Ee(s,(Ue(),vi),(fo(),Ul)),Ft(i.c,s),d=new Ml,Js(d,s),Vi(d,(ze(),rn)),h=new Ml,Js(h,s),Vi(h,fn),v=n.d,ao(n,d),c=new Vb,js(c,n),Ee(c,Ts,null),Fo(c,h),ao(c,v),m=new wo(n.b,0);m.b1e6)throw B(new pR("power of ten too big"));if(e<=Pr)return g4(mM(Y4[1],t),t);for(i=mM(Y4[1],Pr),s=i,n=bl(e-Pr),t=Wi(e%Pr);yl(n,Pr)>0;)s=Ly(s,i),n=Ra(n,Pr);for(s=Ly(s,mM(Y4[1],t)),s=g4(s,Pr),n=bl(e-Pr);yl(n,Pr)>0;)s=g4(s,Pr),n=Ra(n,Pr);return s=g4(s,t),s}function Xct(e){var t,n,i,s,c,d,h,b,m,v;for(b=new N(e.a);b.am&&i>m)v=h,m=le(t.p[h.p])+le(t.d[h.p])+h.o.b+h.d.a;else{s=!1,n._g()&&n.bh("bk node placement breaks on "+h+" which should have been after "+v);break}if(!s)break}return n._g()&&n.bh(t+" is feasible: "+s),s}function Upe(e,t,n,i){var s,c,d,h,b,m,v,k,T;if(c=new p1(e),n0(c,(nn(),Hl)),Ee(c,(Ue(),vi),(fo(),Ul)),s=0,t){for(d=new Ml,Ee(d,(Oe(),jr),t),Ee(c,jr,t.i),Vi(d,(ze(),rn)),Js(d,c),T=Kd(t.e),m=T,v=0,k=m.length;v0){if(s<0&&v.a&&(s=b,c=m[0],i=0),s>=0){if(h=v.b,b==s&&(h-=i++,h==0))return 0;if(!Zut(t,m,v,h,d)){b=s-1,m[0]=c;continue}}else if(s=-1,!Zut(t,m,v,0,d))return 0}else{if(s=-1,Ao(v.c,0)==32){if(k=m[0],QQe(t,m),m[0]>k)continue}else if(iBt(t,v.c,m[0])){m[0]+=v.c.length;continue}return 0}return sun(d,n)?m[0]:0}function Csn(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=new FA(new $$e(n)),h=be(wu,Oh,28,e.f.e.c.length,16,1),Iue(h,h.length),n[t.a]=0,m=new N(e.f.e);m.a=0&&!Uy(e,v,k);)--k;s[v]=k}for(M=0;M=0&&!Uy(e,h,O);)--h;c[O]=h}for(b=0;bt[T]&&Ti[b]&&u$(e,b,T,!1,!0)}function Gpe(e){var t,n,i,s,c,d,h,b;n=qe(Ve(A(e,(uf(),Vgt)))),c=e.a.c.d,h=e.a.d.d,n?(d=Nd(Xi(new Pe(h.a,h.b),c),.5),b=Nd(xo(e.e),.5),t=Xi(Or(new Pe(c.a,c.b),d),b),ece(e.d,t)):(s=le(pe(A(e.a,n0t))),i=e.d,c.a>=h.a?c.b>=h.b?(i.a=h.a+(c.a-h.a)/2+s,i.b=h.b+(c.b-h.b)/2-s-e.e.b):(i.a=h.a+(c.a-h.a)/2+s,i.b=c.b+(h.b-c.b)/2+s):c.b>=h.b?(i.a=c.a+(h.a-c.a)/2+s,i.b=h.b+(c.b-h.b)/2+s):(i.a=c.a+(h.a-c.a)/2+s,i.b=c.b+(h.b-c.b)/2-s-e.e.b))}function QS(e){var t,n,i,s,c,d,h,b;if(!e.f){if(b=new ioe,h=new ioe,t=zx,d=t.a.zc(e,t),d==null){for(c=new hn(As(e));c.e!=c.i.gc();)s=u(mn(c),29),wi(b,QS(s));t.a.Bc(e)!=null,t.a.gc()==0}for(i=(!e.s&&(e.s=new Se(Ec,e,21,17)),new hn(e.s));i.e!=i.i.gc();)n=u(mn(i),179),te(n,102)&&Dn(h,u(n,19));zm(h),e.r=new BWe(e,(u(re(me((Jp(),Wt).o),6),19),h.i),h.g),wi(b,e.r),zm(b),e.f=new ky((u(re(me(Wt.o),5),19),b.i),b.g),cu(e).b&=-3}return e.f}function Jct(e){Mb(e,new _0(Eb(Cb(xb(Sb(new e0,D0),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Zg))),Re(e,D0,VX,Ke(hve)),Re(e,D0,qX,Ke(pQ)),Re(e,D0,K4,Ke(Rgt)),Re(e,D0,vw,Ke(dve)),Re(e,D0,Age,Ke($gt)),Re(e,D0,Lge,Ke(jgt)),Re(e,D0,Rge,Ke(Dgt)),Re(e,D0,jge,Ke(Lgt)),Re(e,D0,Hge,Ke(Agt)),Re(e,D0,Kge,Ke(hQ)),Re(e,D0,Uge,Ke(fve)),Re(e,D0,Gge,Ke(UD))}function h$(){h$=U,Ake=H(F(Ea,1),Yd,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),T4t=new RegExp(`[ -\r\f]+`);try{Nx=H(F(ifn,1),Bt,2114,0,[new uT((kle(),vj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",WT((hR(),hR(),L9))))),new uT(vj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",WT(L9))),new uT(vj("yyyy-MM-dd'T'HH:mm:ss",WT(L9))),new uT(vj("yyyy-MM-dd'T'HH:mm",WT(L9))),new uT(vj("yyyy-MM-dd",WT(L9)))])}catch(e){if(e=li(e),!te(e,82))throw B(e)}}function xsn(e,t){var n,i,s,c;if(s=fu(e.d,1)!=0,i=Epe(e,t),i==0&&qe(Ve(A(t.j,(Oe(),Eg)))))return 0;!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,T2)))||fe(A(t.j,(Ue(),jh)))===fe((Gd(),wp))?t.c.mg(t.e,s):s=qe(Ve(A(t.j,Eg))),CM(e,t,s,!0),qe(Ve(A(t.j,T2)))&&Ee(t.j,T2,(Gt(),!1)),qe(Ve(A(t.j,Eg)))&&(Ee(t.j,Eg,(Gt(),!1)),Ee(t.j,T2,!0)),n=Epe(e,t);do{if($fe(e),n==0)return 0;s=!s,c=n,CM(e,t,s,!1),n=Epe(e,t)}while(c>n);return c}function Qct(e,t){var n,i,s,c;if(s=fu(e.d,1)!=0,i=Vj(e,t),i==0&&qe(Ve(A(t.j,(Oe(),Eg)))))return 0;!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,T2)))||fe(A(t.j,(Ue(),jh)))===fe((Gd(),wp))?t.c.mg(t.e,s):s=qe(Ve(A(t.j,Eg))),CM(e,t,s,!0),qe(Ve(A(t.j,T2)))&&Ee(t.j,T2,(Gt(),!1)),qe(Ve(A(t.j,Eg)))&&(Ee(t.j,Eg,(Gt(),!1)),Ee(t.j,T2,!0)),n=Vj(e,t);do{if($fe(e),n==0)return 0;s=!s,c=n,CM(e,t,s,!1),n=Vj(e,t)}while(c>n);return c}function Wpe(e,t,n,i){var s,c,d,h,b,m,v,k,T;return b=Xi(new Pe(n.a,n.b),e),m=b.a*t.b-b.b*t.a,v=t.a*i.b-t.b*i.a,k=(b.a*i.b-b.b*i.a)/v,T=m/v,v==0?m==0?(s=Or(new Pe(n.a,n.b),Nd(new Pe(i.a,i.b),.5)),c=tg(e,s),d=tg(Or(new Pe(e.a,e.b),t),s),h=w.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&k<=1&&T>=0&&T<=1?Or(new Pe(e.a,e.b),Nd(new Pe(t.a,t.b),k)):null}function Esn(e,t,n){var i,s,c,d,h;if(i=u(A(e,(Ue(),mZ)),21),n.a>t.a&&(i.Hc((O0(),Sx))?e.c.a+=(n.a-t.a)/2:i.Hc(xx)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(i.Hc((O0(),Tx))?e.c.b+=(n.b-t.b)/2:i.Hc(Ex)&&(e.c.b+=n.b-t.b)),u(A(e,(Oe(),Kl)),21).Hc((cs(),ka))&&(n.a>t.a||n.b>t.b))for(h=new N(e.a);h.at.a&&(i.Hc((O0(),Sx))?e.c.a+=(n.a-t.a)/2:i.Hc(xx)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(i.Hc((O0(),Tx))?e.c.b+=(n.b-t.b)/2:i.Hc(Ex)&&(e.c.b+=n.b-t.b)),u(A(e,(Oe(),Kl)),21).Hc((cs(),ka))&&(n.a>t.a||n.b>t.b))for(d=new N(e.a);d.a0?e.i:0)>t&&b>0&&(c=0,d+=b+e.i,s=w.Math.max(s,T),i+=b+e.i,b=0,T=0,n&&(++k,je(e.n,new lL(e.s,d,e.i))),h=0),T+=m.g+(h>0?e.i:0),b=w.Math.max(b,m.f),n&&whe(u(Ye(e.n,k),209),m),c+=m.g+(h>0?e.i:0),++h;return s=w.Math.max(s,T),i+=b,n&&(e.r=s,e.d=i,khe(e.j)),new ia(e.s,e.t,s,i)}function Lq(e){var t,n,i,s,c,d,h,b,m,v,k,T;for(e.b=!1,k=ii,b=Hi,T=ii,m=Hi,i=e.e.a.ec().Kc();i.Ob();)for(n=u(i.Pb(),272),s=n.a,k=w.Math.min(k,s.c),b=w.Math.max(b,s.c+s.b),T=w.Math.min(T,s.d),m=w.Math.max(m,s.d+s.a),d=new N(n.c);d.ae.o.a&&(v=(b-e.o.a)/2,h.b=w.Math.max(h.b,v),h.c=w.Math.max(h.c,v))}}function Psn(e){var t,n,i,s,c,d,h,b;for(c=new GXe,sRt(c,(k4(),h3t)),i=(s=TW(e,be(Je,_e,2,0,6,1)),new Q7(new Wc(new TK(e,s).b)));i.bh?1:-1:fde(e.a,t.a,c),s==-1)k=-b,v=d==b?JG(t.a,h,e.a,c):ZG(t.a,h,e.a,c);else if(k=d,d==b){if(s==0)return Vd(),$9;v=JG(e.a,c,t.a,h)}else v=ZG(e.a,c,t.a,h);return m=new d0(k,v.length,v),nS(m),m}function Osn(e,t){var n,i,s,c;if(c=jct(t),!t.c&&(t.c=new Se(ru,t,9,9)),yi(new xt(null,(!t.c&&(t.c=new Se(ru,t,9,9)),new Mt(t.c,16))),new F$e(c)),s=u(A(c,(Oe(),Kl)),21),Ccn(t,s),s.Hc((cs(),ka)))for(i=new hn((!t.c&&(t.c=new Se(ru,t,9,9)),t.c));i.e!=i.i.gc();)n=u(mn(i),123),Jcn(e,t,c,n);return u(Ie(t,(Ue(),J0)),181).gc()!=0&&Ilt(t,c),qe(Ve(A(c,h3e)))&&s.Fc(MN),Xr(c,BP)&&LFe(new qde(le(pe(A(c,BP)))),c),fe(Ie(t,xv))===fe((a1(),Cp))?kan(e,t,c):oan(e,t,c),c}function _sn(e){var t,n,i,s,c,d,h,b;for(s=new N(e.b);s.a0?oa(n.a,0,c-1):""):(mo(0,c-1,e.length),e.substr(0,c-1)):n?n.a:e}function Rsn(e,t){var n,i,s,c,d,h,b;for(t.Ug("Sort By Input Model "+A(e,(Ue(),jh)),1),s=0,i=new N(e.b);i.a=e.b.length?(c[s++]=d.b[i++],c[s++]=d.b[i++]):i>=d.b.length?(c[s++]=e.b[n++],c[s++]=e.b[n++]):d.b[i]0?e.i:0)),++t;for(_de(e.n,b),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=ii,e.p=ii,c=new N(e.b);c.a0&&(s=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!s||lr(lr((t.a+=' "',t),s),'"'))),n=(!e.b&&(e.b=new $t(Tn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new $t(Tn,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",lr(t,Fle(new vK,new hn(e.b))),n&&(t.a+="]"),t.a+=tY,n&&(t.a+="["),lr(t,Fle(new vK,new hn(e.c))),n&&(t.a+="]"),t.a)}function Lsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt;for(ye=e.c,Me=t.c,n=Ls(ye.a,e,0),i=Ls(Me.a,t,0),ne=u(lw(e,(ls(),eu)).Kc().Pb(),12),dt=u(lw(e,Zl).Kc().Pb(),12),se=u(lw(t,eu).Kc().Pb(),12),zt=u(lw(t,Zl).Kc().Pb(),12),z=Kd(ne.e),Fe=Kd(dt.g),Y=Kd(se.e),pt=Kd(zt.g),Wm(e,i,Me),d=Y,v=0,O=d.length;vv?new b0((Af(),Rv),n,t,m-v):m>0&&v>0&&(new b0((Af(),Rv),t,n,0),new b0(Rv,n,t,0))),d)}function Dsn(e,t,n){var i,s,c;for(e.a=new Le,c=Ln(t.b,0);c.b!=c.d.c;){for(s=u(_n(c),40);u(A(s,(sl(),ch)),17).a>e.a.c.length-1;)je(e.a,new Gi(l2,Mbe));i=u(A(s,ch),17).a,n==($i(),Is)||n==Ns?(s.e.ale(pe(u(Ye(e.a,i),42).b))&&YH(u(Ye(e.a,i),42),s.e.a+s.f.a)):(s.e.ble(pe(u(Ye(e.a,i),42).b))&&YH(u(Ye(e.a,i),42),s.e.b+s.f.b))}}function tut(e,t,n,i){var s,c,d,h,b,m,v;if(c=hj(i),h=qe(Ve(A(i,(Ue(),l3e)))),(h||qe(Ve(A(e,HN))))&&!Cy(u(A(e,vi),101)))s=x4(c),b=jpe(e,n,n==(ls(),Zl)?s:QI(s));else switch(b=new Ml,Js(b,e),t?(v=b.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,lot(v,0,0,e.o.a,e.o.b),Vi(b,Cct(b,c))):(s=x4(c),Vi(b,n==(ls(),Zl)?s:QI(s))),d=u(A(i,(Oe(),Kl)),21),m=b.j,c.g){case 2:case 1:(m==(ze(),en)||m==Mn)&&d.Fc((cs(),S2));break;case 4:case 3:(m==(ze(),fn)||m==rn)&&d.Fc((cs(),S2))}return b}function nut(e,t){var n,i,s,c,d,h;for(d=new S0(new i0(e.f.b).a);d.b;){if(c=rw(d),s=u(c.ld(),602),t==1){if(s.Af()!=($i(),Ca)&&s.Af()!=vd)continue}else if(s.Af()!=($i(),Is)&&s.Af()!=Ns)continue;switch(i=u(u(c.md(),42).b,86),h=u(u(c.md(),42).a,194),n=h.c,s.Af().g){case 2:i.g.c=e.e.a,i.g.b=w.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=w.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=w.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=w.Math.max(1,i.g.a-n)}}}function Nsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L;for(h=be(Bn,ur,28,t.b.c.length,15,1),m=be(OQ,Te,273,t.b.c.length,0,1),b=be(Lh,fp,10,t.b.c.length,0,1),k=e.a,T=0,M=k.length;T0&&b[i]&&(O=Ty(e.b,b[i],s)),L=w.Math.max(L,s.c.c.b+O);for(c=new N(v.e);c.a1)throw B(new Qt(hP));b||(c=yh(t,i.Kc().Pb()),d.Fc(c))}return Jfe(e,m1e(e,t,n),d)}function g$(e,t,n){var i,s,c,d,h,b,m,v;if(b1(e.e,t))b=(rs(),u(t,69).xk()?new MA(t,e):new $T(t,e)),Xj(b.c,b.b),jC(b,u(n,16));else{for(v=cc(e.e.Dh(),t),i=u(e.g,124),d=0;d"}b!=null&&(t.a+=""+b)}else e.e?(h=e.e.zb,h!=null&&(t.a+=""+h)):(t.a+="?",e.b?(t.a+=" super ",Bq(e.b,t)):e.f&&(t.a+=" extends ",Bq(e.f,t)))}function Ksn(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 Usn(e){var t,n,i,s;if(i=Jq((!e.c&&(e.c=dI(bl(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=Dfe(e)<0?1:0,n=e.e,s=(i.length+1+w.Math.abs(Wi(e.e)),new K3),t==1&&(s.a+="-"),e.e>0)if(n-=i.length-t,n>=0){for(s.a+="0.";n>G0.length;n-=G0.length)XWe(s,G0);AGe(s,G0,Wi(n)),lr(s,(Zt(t,i.length+1),i.substr(t)))}else n=t-n,lr(s,oa(i,t,Wi(n))),s.a+=".",lr(s,$ue(i,Wi(n)));else{for(lr(s,(Zt(t,i.length+1),i.substr(t)));n<-G0.length;n+=G0.length)XWe(s,G0);AGe(s,G0,Wi(-n))}return s.a}function Fq(e){var t,n,i,s,c,d,h,b,m;return!(e.k!=(nn(),Si)||e.j.c.length<=1||(c=u(A(e,(Ue(),vi)),101),c==(fo(),Ul))||(s=(Gm(),(e.q?e.q:(Ot(),Ot(),Rh))._b(Dw)?i=u(A(e,Dw),203):i=u(A(To(e),ex),203),i),s==ZN)||!(s==A2||s==R2)&&(d=le(pe(Um(e,tx))),t=u(A(e,zP),140),!t&&(t=new vce(d,d,d,d)),m=el(e,(ze(),rn)),b=t.d+t.a+(m.gc()-1)*d,b>e.o.b||(n=el(e,fn),h=t.d+t.a+(n.gc()-1)*d,h>e.o.b)))}function Gsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j;t.Ug("Orthogonal edge routing",1),m=le(pe(A(e,(Ue(),_2)))),n=le(pe(A(e,P2))),i=le(pe(A(e,Z0))),T=new uG(0,n),j=0,d=new wo(e.b,0),h=null,v=null,b=null,k=null;do v=d.b0?(M=(O-1)*n,h&&(M+=i),v&&(M+=i),Mt||qe(Ve(Ie(b,(ud(),eO)))))&&(s=0,c+=v.b+n,Ft(k.c,v),v=new pae(c,n),i=new HW(0,v.f,v,n),HL(v,i),s=0),i.b.c.length==0||!qe(Ve(Ie(ri(b),(ud(),_ee))))&&(b.f>=i.o&&b.f<=i.f||i.a*.5<=b.f&&i.a*1.5>=b.f)?Dde(i,b):(d=new HW(i.s+i.r+n,v.f,v,n),HL(v,d),Dde(d,b)),s=b.i+b.g;return Ft(k.c,v),k}function e9(e){var t,n,i,s;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,s=0;s=e.b[s+1])s+=2;else if(n0)for(i=new Vc(u(Lr(e.a,c),21)),Ot(),Pi(i,new Loe(t)),s=new wo(c.b,0);s.b0&&i>=-6?i>=0?BT(c,n-Wi(e.e),"."):(_W(c,t-1,t-1,"0."),BT(c,t+1,Ud(G0,0,-Wi(i)-1))):(n-t>=1&&(BT(c,t,"."),++n),BT(c,n,"E"),i>0&&BT(c,++n,"+"),BT(c,++n,""+VC(bl(i)))),e.g=c.a,e.g))}function tln(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe;i=le(pe(A(t,(Ue(),a3e)))),ye=u(A(t,nx),17).a,T=4,s=3,Me=20/ye,M=!1,b=0,d=Pr;do{for(c=b!=1,k=b!=0,Fe=0,j=e.a,Y=0,se=j.length;Yye)?(b=2,d=Pr):b==0?(b=1,d=Fe):(b=0,d=Fe)):(M=Fe>=d||d-Fe0?1:Rb(isNaN(i),isNaN(0)))>=0^(of(nh),(w.Math.abs(h)<=nh||h==0||isNaN(h)&&isNaN(0)?0:h<0?-1:h>0?1:Rb(isNaN(h),isNaN(0)))>=0)?w.Math.max(h,i):(of(nh),(w.Math.abs(i)<=nh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Rb(isNaN(i),isNaN(0)))>0?w.Math.sqrt(h*h+i*i):-w.Math.sqrt(h*h+i*i))}function R0(e,t){var n,i,s,c,d,h;if(t){if(!e.a&&(e.a=new fR),e.e==2){aR(e.a,t);return}if(t.e==1){for(s=0;s=es?ps(n,$de(i)):F5(n,i&Di),d=new MG(10,null,0),FDt(e.a,d,h-1)):(n=(d.Mm().length+c,new uC),ps(n,d.Mm())),t.e==0?(i=t.Km(),i>=es?ps(n,$de(i)):F5(n,i&Di)):ps(n,t.Mm()),u(d,530).b=n.a}}function iln(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j;if(!n.dc()){for(h=0,T=0,i=n.Kc(),O=u(i.Pb(),17).a;h1&&(b=m.Hg(b,e.a,h));return b.c.length==1?u(Ye(b,b.c.length-1),238):b.c.length==2?Vsn((_t(0,b.c.length),u(b.c[0],238)),(_t(1,b.c.length),u(b.c[1],238)),d,c):null}function uln(e,t,n){var i,s,c,d,h,b,m;for(n.Ug("Find roots",1),e.a.c.length=0,s=Ln(t.b,0);s.b!=s.d.c;)i=u(_n(s),40),i.b.b==0&&(Ee(i,(Wr(),Og),(Gt(),!0)),je(e.a,i));switch(e.a.c.length){case 0:c=new zW(0,t,"DUMMY_ROOT"),Ee(c,(Wr(),Og),(Gt(),!0)),Ee(c,eee,!0),ir(t.b,c);break;case 1:break;default:for(d=new zW(0,t,rD),b=new N(e.a);b.a=w.Math.abs(i.b)?(i.b=0,c.d+c.a>d.d&&c.dd.c&&c.c0){if(t=new wle(e.i,e.g),n=e.i,c=n<100?null:new Kp(n),e.Tj())for(i=0;i0){for(h=e.g,m=e.i,lS(e),c=m<100?null:new Kp(m),i=0;i>13|(e.m&15)<<9,s=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,d=(e.h&1048320)>>8,h=t.l&8191,b=t.l>>13|(t.m&15)<<9,m=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,k=(t.h&1048320)>>8,pt=n*h,dt=i*h,zt=s*h,Ht=c*h,vn=d*h,b!=0&&(dt+=n*b,zt+=i*b,Ht+=s*b,vn+=c*b),m!=0&&(zt+=n*m,Ht+=i*m,vn+=s*m),v!=0&&(Ht+=n*v,vn+=i*v),k!=0&&(vn+=n*k),M=pt&hu,O=(dt&511)<<13,T=M+O,j=pt>>22,z=dt>>9,Y=(zt&262143)<<4,ne=(Ht&31)<<17,L=j+z+Y+ne,ye=zt>>18,Me=Ht>>5,Fe=(vn&4095)<<8,se=ye+Me+Fe,L+=T>>22,T&=hu,se+=L>>22,L&=hu,se&=m1,nc(T,L,se)}function hut(e){var t,n,i,s,c,d,h;if(h=u(Ye(e.j,0),12),h.g.c.length!=0&&h.e.c.length!=0)throw B(new ys("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(h.g.c.length!=0){for(c=ii,n=new N(h.g);n.a4)if(e.fk(t)){if(e.al()){if(s=u(t,54),i=s.Eh(),b=i==e.e&&(e.ml()?s.yh(s.Fh(),e.il())==e.jl():-1-s.Fh()==e.Lj()),e.nl()&&!b&&!i&&s.Jh()){for(c=0;c0&&pot(e,h,k);for(s=new N(k);s.ae.d[d.p]&&(n+=Pae(e.b,c)*u(b.b,17).a,eg(e.a,Ae(c)));for(;!cC(e.a);)cfe(e.b,u(s4(e.a),17).a)}return n}function pln(e,t){var n,i,s,c,d,h,b,m,v,k;if(v=u(A(e,(Oe(),fl)),64),i=u(Ye(e.j,0),12),v==(ze(),en)?Vi(i,Mn):v==Mn&&Vi(i,en),u(A(t,(Ue(),J0)),181).Hc((Iu(),sb))){if(b=le(pe(A(e,z8))),m=le(pe(A(e,H8))),d=le(pe(A(e,Pv))),h=u(A(t,Iv),21),h.Hc((Qc(),E1)))for(n=m,k=e.o.a/2-i.n.a,c=new N(i.f);c.a0&&(m=e.n.a/c);break;case 2:case 4:s=e.i.o.b,s>0&&(m=e.n.b/s)}Ee(e,(Oe(),Aw),m)}if(b=e.o,d=e.a,i)d.a=i.a,d.b=i.b,e.d=!0;else if(t!=kd&&t!=Lg&&h!=nl)switch(h.g){case 1:d.a=b.a/2;break;case 2:d.a=b.a,d.b=b.b/2;break;case 3:d.a=b.a/2,d.b=b.b;break;case 4:d.b=b.b/2}else d.a=b.a/2,d.b=b.b/2}function t9(e){var t,n,i,s,c,d,h,b,m,v;if(e.Pj())if(v=e.Ej(),b=e.Qj(),v>0)if(t=new zfe(e.pj()),n=v,c=n<100?null:new Kp(n),UT(e,n,t.g),s=n==1?e.Ij(4,re(t,0),null,0,b):e.Ij(6,t,null,-1,b),e.Mj()){for(i=new hn(t);i.e!=i.i.gc();)c=e.Oj(mn(i),c);c?(c.nj(s),c.oj()):e.Jj(s)}else c?(c.nj(s),c.oj()):e.Jj(s);else UT(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Ot(),Yo),null,-1,b));else if(e.Mj())if(v=e.Ej(),v>0){for(h=e.Fj(),m=v,UT(e,v,h),c=m<100?null:new Kp(m),i=0;i1&&Ac(d)*xu(d)/2>h[0]){for(c=0;ch[c];)++c;O=new V1(L,0,c+1),k=new DL(O),v=Ac(d)/xu(d),b=Xq(k,t,new D3,n,i,s,v),Or(Of(k.e),b),r4(jk(T,k),t8),M=new V1(L,c+1,L.c.length),Ehe(T,M),L.c.length=0,m=0,dVe(h,h.length,0)}else j=T.b.c.length==0?null:Ye(T.b,0),j!=null&&SW(T,0),m>0&&(h[m]=h[m-1]),h[m]+=Ac(d)*xu(d),++m,Ft(L.c,d);return L}function yln(e,t){var n,i,s,c;n=t.b,c=new Vc(n.j),s=0,i=n.j,i.c.length=0,Fb(u(C0(e.b,(ze(),en),(nw(),Ow)),15),n),s=rM(c,s,new dMe,i),Fb(u(C0(e.b,en,xg),15),n),s=rM(c,s,new oMe,i),Fb(u(C0(e.b,en,Pw),15),n),Fb(u(C0(e.b,fn,Ow),15),n),Fb(u(C0(e.b,fn,xg),15),n),s=rM(c,s,new hMe,i),Fb(u(C0(e.b,fn,Pw),15),n),Fb(u(C0(e.b,Mn,Ow),15),n),s=rM(c,s,new pMe,i),Fb(u(C0(e.b,Mn,xg),15),n),s=rM(c,s,new gMe,i),Fb(u(C0(e.b,Mn,Pw),15),n),Fb(u(C0(e.b,rn,Ow),15),n),s=rM(c,s,new cMe,i),Fb(u(C0(e.b,rn,xg),15),n),Fb(u(C0(e.b,rn,Pw),15),n)}function kln(e,t,n){var i,s,c,d,h,b,m,v,k,T,M;for(h=new N(t);h.a.5?z-=d*2*(O-.5):O<.5&&(z+=c*2*(.5-O)),s=h.d.b,zj.a-L-v&&(z=j.a-L-v),h.n.a=t+z}}function Eln(e){var t,n,i,s,c;if(i=u(A(e,(Ue(),fc)),171),i==(pa(),Tg)){for(n=new gn(wn(eo(e).a.Kc(),new $));jn(n);)if(t=u(Sn(n),18),!TJe(t))throw B(new N1(oY+oM(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==Cv){for(c=new gn(wn(Mi(e).a.Kc(),new $));jn(c);)if(s=u(Sn(c),18),!TJe(s))throw B(new N1(oY+oM(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 OM(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O;if(e.e&&e.c.c>19&&(t=bk(t),b=!b),d=unn(t),c=!1,s=!1,i=!1,e.h==FM&&e.m==0&&e.l==0)if(s=!0,c=!0,d==-1)e=QKe((Z5(),fme)),i=!0,b=!b;else return h=q1e(e,d),b&&FW(h),n&&(yg=nc(0,0,0)),h;else e.h>>19&&(c=!0,e=bk(e),i=!0,b=!b);return d!=-1?NGt(e,d,b,c,n):Ahe(e,t)<0?(n&&(c?yg=bk(e):yg=nc(e.l,e.m,e.h)),nc(0,0,0)):son(i?e:nc(e.l,e.m,e.h),t,b,c,s,n)}function Uq(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O;if(d=e.e,b=t.e,d==0)return t;if(b==0)return e;if(c=e.d,h=t.d,c+h==2)return n=Yi(e.a[0],us),i=Yi(t.a[0],us),d==b?(v=zo(n,i),O=Vn(v),M=Vn(Yp(v,32)),M==0?new i1(d,O):new d0(d,2,H(F(Bn,1),ur,28,15,[O,M]))):(Vd(),eA(d<0?Ra(i,n):Ra(n,i),0)?cg(d<0?Ra(i,n):Ra(n,i)):YC(cg(J1(d<0?Ra(i,n):Ra(n,i)))));if(d==b)T=d,k=c>=h?ZG(e.a,c,t.a,h):ZG(t.a,h,e.a,c);else{if(s=c!=h?c>h?1:-1:fde(e.a,t.a,c),s==0)return Vd(),$9;s==1?(T=d,k=JG(e.a,c,t.a,h)):(T=b,k=JG(t.a,h,e.a,c))}return m=new d0(T,k.length,k),nS(m),m}function Iln(e,t){var n,i,s,c,d,h,b;if(!(e.g>t.f||t.g>e.f)){for(n=0,i=0,d=e.w.a.ec().Kc();d.Ob();)s=u(d.Pb(),12),QW(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++n;for(h=e.r.a.ec().Kc();h.Ob();)s=u(h.Pb(),12),QW(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--n;for(b=t.w.a.ec().Kc();b.Ob();)s=u(b.Pb(),12),QW(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)s=u(c.Pb(),12),QW(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--i;n=0)return n;switch(Gb(Cs(e,n))){case 2:{if(Et("",tp(e,n.qk()).xe())){if(b=oI(Cs(e,n)),h=K5(Cs(e,n)),v=Q1e(e,t,b,h),v)return v;for(s=Mpe(e,t),d=0,k=s.gc();d1)throw B(new Qt(hP));for(v=cc(e.e.Dh(),t),i=u(e.g,124),d=0;d1,m=new nd(T.b);Ys(m.a)||Ys(m.b);)b=u(Ys(m.a)?D(m.a):D(m.b),18),k=b.c==T?b.d:b.c,w.Math.abs(Zs(H(F(to,1),_e,8,0,[k.i.n,k.n,k.a])).b-d.b)>1&&prn(e,b,d,c,T)}}function Aln(e){var t,n,i,s,c,d;if(s=new wo(e.e,0),i=new wo(e.a,0),e.d)for(n=0;nBY;){for(c=t,d=0;w.Math.abs(t-c)0),s.a.Xb(s.c=--s.b),qon(e,e.b-d,c,i,s),yn(s.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n0?(e.f[v.p]=M/(v.e.c.length+v.g.c.length),e.c=w.Math.min(e.c,e.f[v.p]),e.b=w.Math.max(e.b,e.f[v.p])):h&&(e.f[v.p]=M)}}function jln(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 $ln(e,t,n){var i,s,c,d;for(n.Ug("Graph transformation ("+e.a+")",1),d=Yb(t.a),c=new N(t.b);c.a=h.b.c)&&(h.b=t),(!h.c||t.c<=h.c.c)&&(h.d=h.c,h.c=t),(!h.e||t.d>=h.e.d)&&(h.e=t),(!h.f||t.d<=h.f.d)&&(h.f=t);return i=new Mj((pk(),Mw)),hI(e,O0t,new Wc(H(F(TP,1),Bt,382,0,[i]))),d=new Mj(bv),hI(e,P0t,new Wc(H(F(TP,1),Bt,382,0,[d]))),s=new Mj(gv),hI(e,M0t,new Wc(H(F(TP,1),Bt,382,0,[s]))),c=new Mj(w2),hI(e,I0t,new Wc(H(F(TP,1),Bt,382,0,[c]))),gq(i.c,Mw),gq(s.c,gv),gq(c.c,w2),gq(d.c,bv),h.a.c.length=0,zi(h.a,i.c),zi(h.a,ha(s.c)),zi(h.a,c.c),zi(h.a,ha(d.c)),h}function Bln(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O;for(t.Ug(Mdt,1),M=le(pe(Ie(e,(xh(),Av)))),d=le(pe(Ie(e,(ud(),vx)))),h=u(Ie(e,mx),107),jfe((!e.a&&(e.a=new Se(xr,e,10,11)),e.a)),v=uut((!e.a&&(e.a=new Se(xr,e,10,11)),e.a),M,d),!e.a&&(e.a=new Se(xr,e,10,11)),m=new N(v);m.a0&&(e.a=b+(M-1)*c,t.c.b+=e.a,t.f.b+=e.a)),O.a.gc()!=0&&(T=new uG(1,c),M=tge(T,t,O,L,t.f.b+b-t.c.b),M>0&&(t.f.b+=b+(M-1)*c))}function but(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;for(v=le(pe(A(e,(Ue(),Bw)))),i=le(pe(A(e,y3e))),T=new BH,Ee(T,Bw,v+i),m=t,z=m.d,L=m.c.i,Y=m.d.i,j=xle(L.c),ne=xle(Y.c),s=new Le,k=j;k<=ne;k++)h=new p1(e),n0(h,(nn(),io)),Ee(h,(Oe(),jr),m),Ee(h,vi,(fo(),Ul)),Ee(h,qN,T),M=u(Ye(e.b,k),30),k==j?Wm(h,M.a.c.length-n,M):bo(h,M),se=le(pe(A(m,gp))),se<0&&(se=0,Ee(m,gp,se)),h.o.b=se,O=w.Math.floor(se/2),d=new Ml,Vi(d,(ze(),rn)),Js(d,h),d.n.b=O,b=new Ml,Vi(b,fn),Js(b,h),b.n.b=O,ao(m,d),c=new Vb,js(c,m),Ee(c,Ts,null),Fo(c,b),ao(c,z),MYt(h,m,c),Ft(s.c,c),m=c;return s}function Gq(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne;for(b=u(lp(e,(ze(),rn)).Kc().Pb(),12).e,M=u(lp(e,fn).Kc().Pb(),12).g,h=b.c.length,ne=ed(u(Ye(e.j,0),12));h-- >0;){for(L=(_t(0,b.c.length),u(b.c[0],18)),s=(_t(0,M.c.length),u(M.c[0],18)),Y=s.d.e,c=Ls(Y,s,0),uzt(L,s.d,c),Fo(s,null),ao(s,null),O=L.a,t&&ir(O,new Wo(ne)),i=Ln(s.a,0);i.b!=i.d.c;)n=u(_n(i),8),ir(O,new Wo(n));for(z=L.b,T=new N(s.b);T.ad)&&Fi(e.b,u(j.b,18));++h}c=d}}}function Qpe(e,t){var n;if(t==null||Et(t,kc)||t.length==0&&e.k!=(cp(),f6))return null;switch(e.k.g){case 1:return Sj(t,p8)?(Gt(),k8):Sj(t,rJ)?(Gt(),kg):null;case 2:try{return Ae(zu(t,jo,Pr))}catch(i){if(i=li(i),te(i,130))return null;throw B(i)}case 4:try{return qm(t)}catch(i){if(i=li(i),te(i,130))return null;throw B(i)}case 3:return t;case 5:return Dtt(e),Yot(e,t);case 6:return Dtt(e),Ftn(e,e.a,t);case 7:try{return n=Jen(e),n.cg(t),n}catch(i){if(i=li(i),te(i,33))return null;throw B(i)}default:throw B(new ys("Invalid type set for this layout option."))}}function Zpe(e){var t;switch(e.d){case 1:{if(e.Sj())return e.o!=-2;break}case 2:{if(e.Sj())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.Rj(),e.p){case 0:return t!=null&&qe(Ve(t))!=OC(e.k,0);case 1:return t!=null&&u(t,222).a!=Vn(e.k)<<24>>24;case 2:return t!=null&&u(t,180).a!=(Vn(e.k)&Di);case 6:return t!=null&&OC(u(t,168).a,e.k);case 5:return t!=null&&u(t,17).a!=Vn(e.k);case 7:return t!=null&&u(t,191).a!=Vn(e.k)<<16>>16;case 3:return t!=null&&le(pe(t))!=e.j;case 4:return t!=null&&u(t,161).a!=e.j;default:return t==null?e.n!=null:!Rr(t,e.n)}}function _M(e,t,n){var i,s,c,d;return e.ol()&&e.nl()&&(d=rG(e,u(n,58)),fe(d)!==fe(n))?(e.xj(t),e.Dj(t,mQe(e,t,d)),e.al()&&(c=(s=u(n,54),e.ml()?e.kl()?s.Th(e.b,is(u(Dt(wc(e.b),e.Lj()),19)).n,u(Dt(wc(e.b),e.Lj()).Hk(),29).kk(),null):s.Th(e.b,ci(s.Dh(),is(u(Dt(wc(e.b),e.Lj()),19))),null,null):s.Th(e.b,-1-e.Lj(),null,null)),!u(d,54).Ph()&&(c=(i=u(d,54),e.ml()?e.kl()?i.Rh(e.b,is(u(Dt(wc(e.b),e.Lj()),19)).n,u(Dt(wc(e.b),e.Lj()).Hk(),29).kk(),c):i.Rh(e.b,ci(i.Dh(),is(u(Dt(wc(e.b),e.Lj()),19))),null,c):i.Rh(e.b,-1-e.Lj(),null,c))),c&&c.oj()),ku(e.b)&&e.Jj(e.Ij(9,n,d,t,!1)),d):n}function wut(e){var t,n,i,s,c,d,h,b,m,v;for(i=new Le,d=new N(e.e.a);d.a0&&(d=w.Math.max(d,ket(e.C.b+i.d.b,s))),v=i,k=s,T=c;e.C&&e.C.c>0&&(M=T+e.C.c,m&&(M+=v.d.c),d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(k-1)<=fd||k==1||isNaN(k)&&isNaN(1)?0:M/(1-k)))),n.n.b=0,n.a.a=d}function vut(e,t){var n,i,s,c,d,h,b,m,v,k,T,M;if(n=u(gs(e.b,t),127),b=u(u(Lr(e.r,t),21),87),b.dc()){n.n.d=0,n.n.a=0;return}for(m=e.u.Hc((Qc(),E1)),d=0,e.A.Hc((Iu(),sb))&&qlt(e,t),h=b.Kc(),v=null,T=0,k=0;h.Ob();)i=u(h.Pb(),117),c=le(pe(i.b.of((hA(),zD)))),s=i.b.Mf().b,v?(M=k+v.d.a+e.w+i.d.d,d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(T-c)<=fd||T==c||isNaN(T)&&isNaN(c)?0:M/(c-T)))):e.C&&e.C.d>0&&(d=w.Math.max(d,ket(e.C.d+i.d.d,c))),v=i,T=c,k=s;e.C&&e.C.a>0&&(M=k+e.C.a,m&&(M+=v.d.a),d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(T-1)<=fd||T==1||isNaN(T)&&isNaN(1)?0:M/(1-T)))),n.n.d=0,n.a.b=d}function Hln(e,t,n,i,s,c,d,h){var b,m,v,k,T,M,O,L,j,z;if(O=!1,m=spe(n.q,t.f+t.b-n.q.f),M=i.f>t.b&&h,z=s-(n.q.e+m-d),k=(b=ZS(i,z,!1),b.a),M&&k>i.f)return!1;if(M){for(T=0,j=new N(t.d);j.a=(_t(c,e.c.length),u(e.c[c],186)).e,!M&&k>t.b&&!v)?!1:((v||M||k<=t.b)&&(v&&k>t.b?(n.d=k,CI(n,oot(n,k))):(Sit(n.q,m),n.c=!0),CI(i,s-(n.s+n.r)),iM(i,n.q.e+n.q.d,t.f),HL(t,i),e.c.length>c&&(lM((_t(c,e.c.length),u(e.c[c],186)),i),(_t(c,e.c.length),u(e.c[c],186)).a.c.length==0&&X1(e,c)),O=!0),O)}function yut(e,t,n){var i,s,c,d,h,b;for(this.g=e,h=t.d.length,b=n.d.length,this.d=be(Lh,fp,10,h+b,0,1),d=0;d0?bW(this,this.f/this.a):Jf(t.g,t.d[0]).a!=null&&Jf(n.g,n.d[0]).a!=null?bW(this,(le(Jf(t.g,t.d[0]).a)+le(Jf(n.g,n.d[0]).a))/2):Jf(t.g,t.d[0]).a!=null?bW(this,Jf(t.g,t.d[0]).a):Jf(n.g,n.d[0]).a!=null&&bW(this,Jf(n.g,n.d[0]).a)}function Kln(e,t){var n,i,s,c,d,h,b,m,v,k;for(e.a=new JVe(EGt(Mx)),i=new N(t.a);i.a=1&&(j-d>0&&k>=0?(b.n.a+=L,b.n.b+=c*d):j-d<0&&v>=0&&(b.n.a+=L*j,b.n.b+=c));e.o.a=t.a,e.o.b=t.b,Ee(e,(Ue(),J0),(Iu(),i=u(Mf(jx),9),new ra(i,u(ef(i,i.length),9),0)))}function Wln(e,t,n,i,s,c){var d;if(!(t==null||!uV(t,zke,Hke)))throw B(new Qt("invalid scheme: "+t));if(!e&&!(n!=null&&$d(n,yc(35))==-1&&n.length>0&&(Zt(0,n.length),n.charCodeAt(0)!=47)))throw B(new Qt("invalid opaquePart: "+n));if(e&&!(t!=null&&mT(XB,t.toLowerCase()))&&!(n==null||!uV(n,Bx,Fx)))throw B(new Qt(n1t+n));if(e&&t!=null&&mT(XB,t.toLowerCase())&&!EJt(n))throw B(new Qt(n1t+n));if(!_Vt(i))throw B(new Qt("invalid device: "+i));if(!gWt(s))throw d=s==null?"invalid segments: null":"invalid segment: "+fWt(s),B(new Qt(d));if(!(c==null||$d(c,yc(35))==-1))throw B(new Qt("invalid query: "+c))}function Vln(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z;if(n.Ug("Network simplex layering",1),e.b=t,z=u(A(t,(Ue(),nx)),17).a*4,j=e.b.a,j.c.length<1){n.Vg();return}for(c=Uin(e,j),L=null,s=Ln(c,0);s.b!=s.d.c;){for(i=u(_n(s),15),h=z*Wi(w.Math.sqrt(i.gc())),d=oon(i),Iq(vse(VOt(yse($U(d),h),L),!0),n.eh(1)),T=e.b.b,O=new N(d.a);O.a1)for(L=be(Bn,ur,28,e.b.b.c.length,15,1),k=0,m=new N(e.b.b);m.a0){xj(e,n,0),n.a+=String.fromCharCode(i),s=gqt(t,c),xj(e,n,s),c+=s-1;continue}i==39?c+10&&O.a<=0){b.c.length=0,Ft(b.c,O);break}M=O.i-O.d,M>=h&&(M>h&&(b.c.length=0,h=M),Ft(b.c,O))}b.c.length!=0&&(d=u(Ye(b,Rj(s,b.c.length)),118),ne.a.Bc(d)!=null,d.g=v++,zpe(d,t,n,i),b.c.length=0)}for(j=e.c.length+1,T=new N(e);T.aHi||t.o==eb&&v=h&&s<=b)h<=s&&c<=b?(n[v++]=s,n[v++]=c,i+=2):h<=s?(n[v++]=s,n[v++]=b,e.b[i]=b+1,d+=2):c<=b?(n[v++]=h,n[v++]=c,i+=2):(n[v++]=h,n[v++]=b,e.b[i]=b+1);else if(bpg)&&h<10);Cse(e.c,new Yxe),xut(e),HDt(e.c),Dln(e.f)}function ncn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L;for(n=u(A(e,(Ue(),vi)),101),d=e.f,c=e.d,h=d.a+c.b+c.c,b=0-c.d-e.c.b,v=d.b+c.d+c.a-e.c.b,m=new Le,k=new Le,s=new N(t);s.a=2){for(b=Ln(n,0),d=u(_n(b),8),h=u(_n(b),8);h.a0&&HI(m,!0,($i(),Ns)),h.k==(nn(),Oi)&&sqe(m),vr(e.f,h,t)}}function ocn(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;for(s=u(A(e,(Wr(),px)),27),m=Pr,v=Pr,h=jo,b=jo,ne=Ln(e.b,0);ne.b!=ne.d.c;)z=u(_n(ne),40),M=z.e,O=z.f,m=w.Math.min(m,M.a-O.a/2),v=w.Math.min(v,M.b-O.b/2),h=w.Math.max(h,M.a+O.a/2),b=w.Math.max(b,M.b+O.b/2);for(T=u(Ie(s,(sl(),_4e)),107),Y=Ln(e.b,0);Y.b!=Y.d.c;)z=u(_n(Y),40),k=A(z,px),te(k,207)&&(c=u(k,27),ta(c,z.e.a,z.e.b),yM(c,z));for(j=Ln(e.a,0);j.b!=j.d.c;)L=u(_n(j),65),i=u(A(L,px),74),i&&(t=L.a,n=Jy(i,!0,!0),IM(t,n));se=h-m+(T.b+T.c),d=b-v+(T.d+T.a),qe(Ve(Ie(s,(pr(),Lv))))||gw(s,se,d,!1,!1),Dr(s,H2,se-(T.b+T.c)),Dr(s,z2,d-(T.d+T.a))}function Tut(e,t){var n,i,s,c,d,h,b,m,v,k;for(b=!0,s=0,m=e.g[t.p],v=t.o.b+e.o,n=e.d[t.p][2],la(e.b,m,Ae(u(Ye(e.b,m),17).a-1+n)),la(e.c,m,le(pe(Ye(e.c,m)))-v+n*e.f),++m,m>=e.j?(++e.j,je(e.b,Ae(1)),je(e.c,v)):(i=e.d[t.p][1],la(e.b,m,Ae(u(Ye(e.b,m),17).a+1-i)),la(e.c,m,le(pe(Ye(e.c,m)))+v-i*e.f)),(e.r==(La(),HP)&&(u(Ye(e.b,m),17).a>e.k||u(Ye(e.b,m-1),17).a>e.k)||e.r==KP&&(le(pe(Ye(e.c,m)))>e.n||le(pe(Ye(e.c,m-1)))>e.n))&&(b=!1),d=new gn(wn(eo(t).a.Kc(),new $));jn(d);)c=u(Sn(d),18),h=c.c.i,e.g[h.p]==m&&(k=Tut(e,h),s=s+u(k.a,17).a,b=b&&qe(Ve(k.b)));return e.g[t.p]=m,s=s+e.d[t.p][0],new Gi(Ae(s),(Gt(),!!b))}function Iut(e,t){var n,i,s,c,d;n=le(pe(A(t,(Ue(),pf)))),n<2&&Ee(t,pf,2),i=u(A(t,Wu),88),i==($i(),yd)&&Ee(t,Wu,hj(t)),s=u(A(t,Umt),17),s.a==0?Ee(t,(Oe(),s6),new fV):Ee(t,(Oe(),s6),new bL(s.a)),c=Ve(A(t,Z9)),c==null&&Ee(t,Z9,(Gt(),fe(A(t,S1))===fe((f1(),e7)))),yi(new xt(null,new Mt(t.a,16)),new Roe(e)),yi(Qs(new xt(null,new Mt(t.b,16)),new Kie),new Aoe(e)),d=new kut(t),Ee(t,(Oe(),I2),d),iI(e.a),_f(e.a,(Lo(),hf),u(A(t,q0),188)),_f(e.a,Ah,u(A(t,Y0),188)),_f(e.a,Ol,u(A(t,Q9),188)),_f(e.a,zl,u(A(t,WN),188)),_f(e.a,Ds,oGt(u(A(t,S1),223))),Tle(e.a,ean(t)),Ee(t,hZ,OM(e.a,t))}function tge(e,t,n,i,s){var c,d,h,b,m,v,k,T,M,O,L,j,z;for(k=new On,d=new Le,Tot(e,n,e.d.Ag(),d,k),Tot(e,i,e.d.Bg(),d,k),e.b=.2*(L=_st(Qs(new xt(null,new Mt(d,16)),new jPe)),j=_st(Qs(new xt(null,new Mt(d,16)),new $Pe)),w.Math.min(L,j)),c=0,h=0;h=2&&(z=Yst(d,!0,T),!e.e&&(e.e=new oNe(e)),fqt(e.e,z,d,e.b)),Ait(d,T),fcn(d),M=-1,v=new N(d);v.ah)}function Mut(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y;for(m=ii,v=ii,h=Hi,b=Hi,T=new N(t.i);T.a-1){for(s=Ln(h,0);s.b!=s.d.c;)i=u(_n(s),131),i.v=d;for(;h.b!=0;)for(i=u(HV(h,0),131),n=new N(i.i);n.a-1){for(c=new N(h);c.a0)&&(moe(b,w.Math.min(b.o,s.o-1)),tR(b,b.i-1),b.i==0&&Ft(h.c,b))}}function Out(e,t,n,i,s){var c,d,h,b;return b=ii,d=!1,h=Wpe(e,Xi(new Pe(t.a,t.b),e),Or(new Pe(n.a,n.b),s),Xi(new Pe(i.a,i.b),n)),c=!!h&&!(w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw||w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw),h=Wpe(e,Xi(new Pe(t.a,t.b),e),n,s),h&&((w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw)==(w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw)||c?b=w.Math.min(b,QC(Xi(h,n))):d=!0),h=Wpe(e,Xi(new Pe(t.a,t.b),e),i,s),h&&(d||(w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw)==(w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw)||c)&&(b=w.Math.min(b,QC(Xi(h,i)))),b}function _ut(e){Mb(e,new _0(wR(Eb(Cb(xb(Sb(new e0,bg),Mft),"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 Gxe),uc))),Re(e,bg,f9,Ke(Ive)),Re(e,bg,L$,(Gt(),!0)),Re(e,bg,c2,Ke(h0t)),Re(e,bg,G4,Ke(p0t)),Re(e,bg,U4,Ke(g0t)),Re(e,bg,l8,Ke(d0t)),Re(e,bg,d9,Ke(Pve)),Re(e,bg,c8,Ke(b0t)),Re(e,bg,Qge,Ke(Tve)),Re(e,bg,e0e,Ke(xve)),Re(e,bg,t0e,Ke(Eve)),Re(e,bg,n0e,Ke(Mve)),Re(e,bg,Zge,Ke(YD))}function dcn(e){var t,n,i,s,c,d,h,b;for(t=null,i=new N(e);i.a0&&n.c==0&&(!t&&(t=new Le),Ft(t.c,n));if(t)for(;t.c.length!=0;){if(n=u(X1(t,0),239),n.b&&n.b.c.length>0){for(c=(!n.b&&(n.b=new Le),new N(n.b));c.aLs(e,n,0))return new Gi(s,n)}else if(le(Jf(s.g,s.d[0]).a)>le(Jf(n.g,n.d[0]).a))return new Gi(s,n)}for(h=(!n.e&&(n.e=new Le),n.e).Kc();h.Ob();)d=u(h.Pb(),239),b=(!d.b&&(d.b=new Le),d.b),Rm(0,b.c.length),vC(b.c,0,n),d.c==b.c.length&&Ft(t.c,d)}return null}function hcn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z;for(t.Ug("Interactive crossing minimization",1),d=0,c=new N(e.b);c.a0&&(n+=b.n.a+b.o.a/2,++k),O=new N(b.j);O.a0&&(n/=k),z=be(uo,ws,28,i.a.c.length,15,1),h=0,m=new N(i.a);m.a=h&&s<=b)h<=s&&c<=b?i+=2:h<=s?(e.b[i]=b+1,d+=2):c<=b?(n[v++]=s,n[v++]=h-1,i+=2):(n[v++]=s,n[v++]=h-1,e.b[i]=b+1,d+=2);else if(b2?(v=new Le,zi(v,new V1(z,1,z.b)),c=mat(v,ne+e.a),Y=new dq(c),js(Y,t),Ft(n.c,Y)):i?Y=u(pn(e.b,Sh(t)),272):Y=u(pn(e.b,ug(t)),272),b=Sh(t),i&&(b=ug(t)),d=dZt(j,b),m=ne+e.a,d.a?(m+=w.Math.abs(j.b-k.b),L=new Pe(k.a,(k.b+j.b)/2)):(m+=w.Math.abs(j.a-k.a),L=new Pe((k.a+j.a)/2,k.b)),i?vr(e.d,t,new vhe(Y,d,L,m)):vr(e.c,t,new vhe(Y,d,L,m)),vr(e.b,t,Y),O=(!t.n&&(t.n=new Se(ms,t,1,7)),t.n),M=new hn(O);M.e!=M.i.gc();)T=u(mn(M),135),s=SM(e,T,!0,0,0),Ft(n.c,s)}function pcn(e){var t,n,i,s,c,d,h;if(!e.A.dc()){if(e.A.Hc((Iu(),mO))&&(u(gs(e.b,(ze(),en)),127).k=!0,u(gs(e.b,Mn),127).k=!0,t=e.q!=(fo(),Bh)&&e.q!=Ul,goe(u(gs(e.b,fn),127),t),goe(u(gs(e.b,rn),127),t),goe(e.g,t),e.A.Hc(sb)&&(u(gs(e.b,en),127).j=!0,u(gs(e.b,Mn),127).j=!0,u(gs(e.b,fn),127).k=!0,u(gs(e.b,rn),127).k=!0,e.g.k=!0)),e.A.Hc(wO))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,h=e.B.Hc((du(),$x)),s=yV(),c=0,d=s.length;c0),u(v.a.Xb(v.c=--v.b),18));c!=i&&v.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(yn(v.b>0),u(v.a.Xb(v.c=--v.b),18));v.b>0&&Eu(v)}}function Aut(e,t,n){var i,s,c,d,h,b,m,v,k,T,M;if(!e.b)return!1;for(d=null,T=null,b=new nW(null,null),s=1,b.a[1]=e.b,k=b;k.a[s];)m=s,h=T,T=k,k=k.a[s],i=e.a.Ne(t,k.d),s=i<0?0:1,i==0&&(!n.c||gl(k.e,n.d))&&(d=k),!(k&&k.b)&&!bm(k.a[s])&&(bm(k.a[1-s])?T=T.a[m]=XL(k,s):bm(k.a[1-s])||(M=T.a[1-m],M&&(!bm(M.a[1-m])&&!bm(M.a[m])?(T.b=!1,M.b=!0,k.b=!0):(c=h.a[1]==T?1:0,bm(M.a[m])?h.a[c]=lYe(T,m):bm(M.a[1-m])&&(h.a[c]=XL(T,m)),k.b=h.a[c].b=!0,h.a[c].a[0].b=!1,h.a[c].a[1].b=!1))));return d&&(n.b=!0,n.d=d.e,k!=d&&(v=new nW(k.d,k.e),wQt(e,b,d,v),T==d&&(T=v)),T.a[T.a[1]==k?1:0]=k.a[k.a[0]?0:1],--e.c),e.b=b.a[1],e.b&&(e.b.b=!1),n.b}function wcn(e){var t,n,i,s,c,d,h,b,m,v,k,T;for(s=new N(e.a.a.b);s.a0?s-=864e5:s+=864e5,b=new ace(zo(bl(t.q.getTime()),s))),v=new K3,m=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(d=c+1;d=m)throw B(new Qt("Missing trailing '"));d+1=14&&v<=16))?t.a._b(i)?(n.a?lr(n.a,n.b):n.a=new Ru(n.d),RC(n.a,"[...]")):(h=y0(i),m=new KC(t),o1(n,jut(h,m))):te(i,183)?o1(n,XZt(u(i,183))):te(i,195)?o1(n,LJt(u(i,195))):te(i,201)?o1(n,UQt(u(i,201))):te(i,2111)?o1(n,jJt(u(i,2111))):te(i,53)?o1(n,qZt(u(i,53))):te(i,376)?o1(n,den(u(i,376))):te(i,846)?o1(n,VZt(u(i,846))):te(i,109)&&o1(n,WZt(u(i,109))):o1(n,i==null?kc:Ks(i));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function Vk(e,t){var n,i,s,c;c=e.F,t==null?(e.F=null,yk(e,null)):(e.F=(sn(t),t),i=$d(t,yc(60)),i!=-1?(s=(mo(0,i,t.length),t.substr(0,i)),$d(t,yc(46))==-1&&!Et(s,j4)&&!Et(s,T9)&&!Et(s,mD)&&!Et(s,I9)&&!Et(s,M9)&&!Et(s,P9)&&!Et(s,O9)&&!Et(s,_9)&&(s=g1t),n=aA(t,yc(62)),n!=-1&&(s+=""+(Zt(n+1,t.length+1),t.substr(n+1))),yk(e,s)):(s=t,$d(t,yc(46))==-1&&(i=$d(t,yc(91)),i!=-1&&(s=(mo(0,i,t.length),t.substr(0,i))),!Et(s,j4)&&!Et(s,T9)&&!Et(s,mD)&&!Et(s,I9)&&!Et(s,M9)&&!Et(s,P9)&&!Et(s,O9)&&!Et(s,_9)?(s=g1t,i!=-1&&(s+=""+(Zt(i,t.length+1),t.substr(i)))):s=t),yk(e,s),s==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,5,c,t))}function $ut(e,t){var n,i,s,c,d,h,b,m,v,k;if(b=t.length-1,h=(Zt(b,t.length),t.charCodeAt(b)),h==93){if(d=$d(t,yc(91)),d>=0)return s=CVt(e,(mo(1,d,t.length),t.substr(1,d-1))),v=(mo(d+1,b,t.length),t.substr(d+1,b-(d+1))),qun(e,v,s)}else{if(n=-1,bme==null&&(bme=new RegExp("\\d")),bme.test(String.fromCharCode(h))&&(n=Mce(t,yc(46),b-1),n>=0)){i=u(YG(e,CZe(e,(mo(1,n,t.length),t.substr(1,n-1))),!1),61),m=0;try{m=zu((Zt(n+1,t.length+1),t.substr(n+1)),jo,Pr)}catch(T){throw T=li(T),te(T,130)?(c=T,B(new ML(c))):B(T)}if(m>16==-10?n=u(e.Cb,292).Yk(t,n):e.Db>>16==-15&&(!t&&(t=(Pt(),Sd)),!m&&(m=(Pt(),Sd)),e.Cb.Yh()&&(b=new s1(e.Cb,1,13,m,t,sp(uu(u(e.Cb,62)),e),!1),n?n.nj(b):n=b));else if(te(e.Cb,90))e.Db>>16==-23&&(te(t,90)||(t=(Pt(),Va)),te(m,90)||(m=(Pt(),Va)),e.Cb.Yh()&&(b=new s1(e.Cb,1,10,m,t,sp(Il(u(e.Cb,29)),e),!1),n?n.nj(b):n=b));else if(te(e.Cb,457))for(h=u(e.Cb,850),d=(!h.b&&(h.b=new lR(new aK)),h.b),c=(i=new S0(new i0(d.a).a),new cR(i));c.a.b;)s=u(rw(c.a).ld(),89),n=qk(s,Qj(s,h),n)}return n}function Ccn(e,t){var n,i,s,c,d,h,b,m,v,k,T;for(d=qe(Ve(Ie(e,(Ue(),Ev)))),T=u(Ie(e,Iv),21),b=!1,m=!1,k=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));k.e!=k.i.gc()&&(!b||!m);){for(c=u(mn(k),123),h=0,s=mh(Du(H(F(Gu,1),Bt,20,0,[(!c.d&&(c.d=new $t(Ti,c,8,5)),c.d),(!c.e&&(c.e=new $t(Ti,c,7,4)),c.e)])));jn(s)&&(i=u(Sn(s),74),v=d&&fw(i)&&qe(Ve(Ie(i,X0))),n=put((!i.b&&(i.b=new $t(Tn,i,4,7)),i.b),c)?e==ri($s(u(re((!i.c&&(i.c=new $t(Tn,i,5,8)),i.c),0),84))):e==ri($s(u(re((!i.b&&(i.b=new $t(Tn,i,4,7)),i.b),0),84))),!((v||n)&&(++h,h>1))););(h>0||T.Hc((Qc(),E1))&&(!c.n&&(c.n=new Se(ms,c,1,7)),c.n).i>0)&&(b=!0),h>1&&(m=!0)}b&&t.Fc((cs(),ka)),m&&t.Fc((cs(),G9))}function Dut(e){var t,n,i,s,c,d,h,b,m,v,k,T;if(T=u(Ie(e,(pr(),rb)),21),T.dc())return null;if(h=0,d=0,T.Hc((Iu(),mO))){for(v=u(Ie(e,Ix),101),i=2,n=2,s=2,c=2,t=ri(e)?u(Ie(ri(e),nb),88):u(Ie(e,nb),88),m=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));m.e!=m.i.gc();)if(b=u(mn(m),123),k=u(Ie(b,W2),64),k==(ze(),nl)&&(k=Fpe(b,t),Dr(b,W2,k)),v==(fo(),Ul))switch(k.g){case 1:i=w.Math.max(i,b.i+b.g);break;case 2:n=w.Math.max(n,b.j+b.f);break;case 3:s=w.Math.max(s,b.i+b.g);break;case 4:c=w.Math.max(c,b.j+b.f)}else switch(k.g){case 1:i+=b.g+2;break;case 2:n+=b.f+2;break;case 3:s+=b.g+2;break;case 4:c+=b.f+2}h=w.Math.max(i,s),d=w.Math.max(n,c)}return gw(e,h,d,!0,!0)}function Wq(e,t,n,i,s){var c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;for(Y=u(Hs($L(Ar(new xt(null,new Mt(t.d,16)),new EDe(n)),new TDe(n)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),k=Pr,v=jo,b=new N(t.b.j);b.a0,m?m&&(T=z.p,d?++T:--T,k=u(Ye(z.c.a,T),10),i=ltt(k),M=!(bq(i,Me,n[0])||PVe(i,Me,n[0]))):M=!0),O=!1,ye=t.D.i,ye&&ye.c&&h.e&&(v=d&&ye.p>0||!d&&ye.p=0){for(b=null,h=new wo(v.a,m+1);h.bd?1:Rb(isNaN(0),isNaN(d)))<0&&(of(nh),(w.Math.abs(d-1)<=nh||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:Rb(isNaN(d),isNaN(1)))<0)&&(of(nh),(w.Math.abs(0-h)<=nh||h==0||isNaN(0)&&isNaN(h)?0:0h?1:Rb(isNaN(0),isNaN(h)))<0)&&(of(nh),(w.Math.abs(h-1)<=nh||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:Rb(isNaN(h),isNaN(1)))<0)),c)}function Mcn(e){var t,n,i,s;if(n=e.D!=null?e.D:e.B,t=$d(n,yc(91)),t!=-1){i=(mo(0,t,n.length),n.substr(0,t)),s=new B1;do s.a+="[";while((t=P5(n,91,++t))!=-1);Et(i,j4)?s.a+="Z":Et(i,T9)?s.a+="B":Et(i,mD)?s.a+="C":Et(i,I9)?s.a+="D":Et(i,M9)?s.a+="F":Et(i,P9)?s.a+="I":Et(i,O9)?s.a+="J":Et(i,_9)?s.a+="S":(s.a+="L",s.a+=""+i,s.a+=";");try{return null}catch(c){if(c=li(c),!te(c,63))throw B(c)}}else if($d(n,yc(46))==-1){if(Et(n,j4))return wu;if(Et(n,T9))return Hc;if(Et(n,mD))return Ea;if(Et(n,I9))return uo;if(Et(n,M9))return Gv;if(Et(n,P9))return Bn;if(Et(n,O9))return Hg;if(Et(n,_9))return Q2}return null}function Pcn(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe;for(e.e=t,h=Pen(t),Me=new Le,i=new N(h);i.a=0&&L=m.c.c.length?v=Tae((nn(),Si),io):v=Tae((nn(),io),io),v*=2,c=n.a.g,n.a.g=w.Math.max(c,c+(v-c)),d=n.b.g,n.b.g=w.Math.max(d,d+(v-d)),s=t}}function Acn(e){var t,n,i,s;for(yi(Ar(new xt(null,new Mt(e.a.b,16)),new GIe),new WIe),pJt(e),yi(Ar(new xt(null,new Mt(e.a.b,16)),new VIe),new qIe),e.c==(f1(),g6)&&(yi(Ar(Qs(new xt(null,new Mt(new r0(e.f),1)),new XIe),new YIe),new mDe(e)),yi(Ar(Rs(Qs(Qs(new xt(null,new Mt(e.d.b,16)),new JIe),new QIe),new ZIe),new eMe),new yDe(e))),s=new Pe(ii,ii),t=new Pe(Hi,Hi),i=new N(e.a.b);i.a0&&(t.a+=qo),m$(u(mn(h),167),t);for(t.a+=tY,b=new Q3((!i.c&&(i.c=new $t(Tn,i,5,8)),i.c));b.e!=b.i.gc();)b.e>0&&(t.a+=qo),m$(u(mn(b),167),t);t.a+=")"}}function Lcn(e,t,n){var i,s,c,d,h,b,m,v;for(b=new hn((!e.a&&(e.a=new Se(xr,e,10,11)),e.a));b.e!=b.i.gc();)for(h=u(mn(b),27),s=new gn(wn(g1(h).a.Kc(),new $));jn(s);){if(i=u(Sn(s),74),!i.b&&(i.b=new $t(Tn,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new $t(Tn,i,5,8)),i.c.i<=1)))throw B(new z3("Graph must not contain hyperedges."));if(!HS(i)&&h!=$s(u(re((!i.c&&(i.c=new $t(Tn,i,5,8)),i.c),0),84)))for(m=new DGe,js(m,i),Ee(m,(ng(),Z4),i),kPt(m,u(_s(ss(n.f,h)),153)),xPt(m,u(pn(n,$s(u(re((!i.c&&(i.c=new $t(Tn,i,5,8)),i.c),0),84))),153)),je(t.c,m),d=new hn((!i.n&&(i.n=new Se(ms,i,1,7)),i.n));d.e!=d.i.gc();)c=u(mn(d),135),v=new BYe(m,c.a),js(v,c),Ee(v,Z4,c),v.e.a=w.Math.max(c.g,1),v.e.b=w.Math.max(c.f,1),Gpe(v),je(t.d,v)}}function jcn(e,t,n){var i,s,c,d,h,b,m,v,k,T;switch(n.Ug("Node promotion heuristic",1),e.i=t,e.r=u(A(t,(Ue(),Ig)),243),e.r!=(La(),zw)&&e.r!=Ov?cun(e):Lrn(e),v=u(A(e.i,s3e),17).a,c=new $Te,e.r.g){case 2:case 1:Wk(e,c);break;case 3:for(e.r=tB,Wk(e,c),b=0,h=new N(e.b);h.ae.k&&(e.r=HP,Wk(e,c));break;case 4:for(e.r=tB,Wk(e,c),m=0,s=new N(e.c);s.ae.n&&(e.r=KP,Wk(e,c));break;case 6:T=Wi(w.Math.ceil(e.g.length*v/100)),Wk(e,new sDe(T));break;case 5:k=Wi(w.Math.ceil(e.e*v/100)),Wk(e,new lDe(k));break;case 8:kat(e,!0);break;case 9:kat(e,!1);break;default:Wk(e,c)}e.r!=zw&&e.r!=Ov?irn(e,t):xin(e,t),n.Vg()}function $cn(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne;for(k=e.b,v=new wo(k,0),Em(v,new Ll(e)),Y=!1,d=1;v.b0&&(T.d+=v.n.d,T.d+=v.d),T.a>0&&(T.a+=v.n.a,T.a+=v.d),T.b>0&&(T.b+=v.n.b,T.b+=v.d),T.c>0&&(T.c+=v.n.c,T.c+=v.d),T}function But(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O;for(T=n.d,k=n.c,c=new Pe(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),d=c.b,m=new N(e.a);m.a0&&(e.c[t.c.p][t.p].d+=fu(e.i,24)*UM*.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 Bcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j;for(O=new N(e);O.ai.d,i.d=w.Math.max(i.d,t),h&&n&&(i.d=w.Math.max(i.d,i.a),i.a=i.d+s);break;case 3:n=t>i.a,i.a=w.Math.max(i.a,t),h&&n&&(i.a=w.Math.max(i.a,i.d),i.d=i.a+s);break;case 2:n=t>i.c,i.c=w.Math.max(i.c,t),h&&n&&(i.c=w.Math.max(i.b,i.c),i.b=i.c+s);break;case 4:n=t>i.b,i.b=w.Math.max(i.b,t),h&&n&&(i.b=w.Math.max(i.b,i.c),i.c=i.b+s)}}}function zut(e,t){var n,i,s,c,d,h,b,m,v;return m="",t.length==0?e.ne(kge,iX,-1,-1):(v=Xm(t),Et(v.substr(0,3),"at ")&&(v=(Zt(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),d=v.indexOf("("),d==-1?(d=v.indexOf("@"),d==-1?(m=v,v=""):(m=Xm((Zt(d+1,v.length+1),v.substr(d+1))),v=Xm((mo(0,d,v.length),v.substr(0,d))))):(n=v.indexOf(")",d),m=(mo(d+1,n,v.length),v.substr(d+1,n-(d+1))),v=Xm((mo(0,d,v.length),v.substr(0,d)))),d=$d(v,yc(46)),d!=-1&&(v=(Zt(d+1,v.length+1),v.substr(d+1))),(v.length==0||Et(v,"Anonymous function"))&&(v=iX),h=aA(m,yc(58)),s=Mce(m,yc(58),h-1),b=-1,i=-1,c=kge,h!=-1&&s!=-1&&(c=(mo(0,s,m.length),m.substr(0,s)),b=nGe((mo(s+1,h,m.length),m.substr(s+1,h-(s+1)))),i=nGe((Zt(h+1,m.length+1),m.substr(h+1)))),e.ne(c,v,b,i))}function Hcn(e){var t,n,i,s,c,d,h,b,m,v,k;for(m=new N(e);m.a0||v.j==rn&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(s=new N(v.g);s.a=m&&ye>=j&&(T+=O.n.b+L.n.b+L.a.b-se,++h));if(n)for(d=new N(Y.e);d.a=m&&ye>=j&&(T+=O.n.b+L.n.b+L.a.b-se,++h))}h>0&&(Me+=T/h,++M)}M>0?(t.a=s*Me/M,t.g=M):(t.a=0,t.g=0)}function Ucn(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe;for(c=e.f.b,T=c.a,v=c.b,O=e.e.g,M=e.e.f,xy(e.e,c.a,c.b),Me=T/O,Fe=v/M,m=new hn(XA(e.e));m.e!=m.i.gc();)b=u(mn(m),135),oc(b,b.i*Me),sc(b,b.j*Fe);for(Y=new hn(bG(e.e));Y.e!=Y.i.gc();)z=u(mn(Y),123),se=z.i,ye=z.j,se>0&&oc(z,se*Me),ye>0&&sc(z,ye*Fe);for(gS(e.b,new Hxe),t=new Le,h=new S0(new i0(e.c).a);h.b;)d=rw(h),i=u(d.ld(),74),n=u(d.md(),407).a,s=Jy(i,!1,!1),k=Lit(Sh(i),hM(s),n),IM(k,s),ne=Vit(i),ne&&Ls(t,ne,0)==-1&&(Ft(t.c,ne),yqe(ne,(yn(k.b!=0),u(k.a.a.c,8)),n));for(j=new S0(new i0(e.d).a);j.b;)L=rw(j),i=u(L.ld(),74),n=u(L.md(),407).a,s=Jy(i,!1,!1),k=Lit(ug(i),UI(hM(s)),n),k=UI(k),IM(k,s),ne=qit(i),ne&&Ls(t,ne,0)==-1&&(Ft(t.c,ne),yqe(ne,(yn(k.b!=0),u(k.c.b.c,8)),n))}function Hut(e,t,n,i){var s,c,d,h,b;return h=new oge(t),jnn(h,i),s=!0,e&&e.pf((pr(),nb))&&(c=u(e.of((pr(),nb)),88),s=c==($i(),yd)||c==Is||c==Ns),zlt(h,!1),ic(h.e.Rf(),new jce(h,!1,s)),PG(h,h.f,($f(),ul),(ze(),en)),PG(h,h.f,al,Mn),PG(h,h.g,ul,rn),PG(h,h.g,al,fn),brt(h,en),brt(h,Mn),wqe(h,fn),wqe(h,rn),xm(),d=h.A.Hc((Iu(),Dv))&&h.B.Hc((du(),yO))?Lnt(h):null,d&&UOt(h.a,d),zcn(h),HXt(h),KXt(h),pcn(h),Aon(h),gYt(h),mV(h,en),mV(h,Mn),vin(h),lln(h),n&&(SVt(h),bYt(h),mV(h,fn),mV(h,rn),b=h.B.Hc((du(),$x)),Aot(h,b,en),Aot(h,b,Mn),Lot(h,b,fn),Lot(h,b,rn),yi(new xt(null,new Mt(new Xh(h.i),0)),new Mr),yi(Ar(new xt(null,Aue(h.r).a.oc()),new Cr),new Gr),OJt(h),h.e.Pf(h.o),yi(new xt(null,Aue(h.r).a.oc()),new lu)),h.o}function Gcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L;for(m=ii,i=new N(e.a.b);i.a1)for(M=new Xpe(O,ne,i),Io(ne,new YHe(e,M)),Ft(d.c,M),k=ne.a.ec().Kc();k.Ob();)v=u(k.Pb(),42),mc(c,v.b);if(h.a.gc()>1)for(M=new Xpe(O,h,i),Io(h,new JHe(e,M)),Ft(d.c,M),k=h.a.ec().Kc();k.Ob();)v=u(k.Pb(),42),mc(c,v.b)}}function Xcn(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z;if(L=e.n,j=e.o,T=e.d,k=le(pe(Um(e,(Ue(),IZ)))),t){for(v=k*(t.gc()-1),M=0,b=t.Kc();b.Ob();)d=u(b.Pb(),10),v+=d.o.a,M=w.Math.max(M,d.o.b);for(z=L.a-(v-j.a)/2,c=L.b-T.d+M,i=j.a/(t.gc()+1),s=i,h=t.Kc();h.Ob();)d=u(h.Pb(),10),d.n.a=z,d.n.b=c-d.o.b,z+=d.o.a+k,m=Jst(d),m.n.a=d.o.a/2-m.a.a,m.n.b=d.o.b,O=u(A(d,(Oe(),PN)),12),O.e.c.length+O.g.c.length==1&&(O.n.a=s-O.a.a,O.n.b=0,Js(O,e)),s+=i}if(n){for(v=k*(n.gc()-1),M=0,b=n.Kc();b.Ob();)d=u(b.Pb(),10),v+=d.o.a,M=w.Math.max(M,d.o.b);for(z=L.a-(v-j.a)/2,c=L.b+j.b+T.a-M,i=j.a/(n.gc()+1),s=i,h=n.Kc();h.Ob();)d=u(h.Pb(),10),d.n.a=z,d.n.b=c,z+=d.o.a+k,m=Jst(d),m.n.a=d.o.a/2-m.a.a,m.n.b=0,O=u(A(d,(Oe(),PN)),12),O.e.c.length+O.g.c.length==1&&(O.n.a=s-O.a.a,O.n.b=j.b,Js(O,e)),s+=i}}function Ycn(e,t){var n,i,s,c,d,h;if(u(A(t,(Oe(),Kl)),21).Hc((cs(),ka))){for(h=new N(t.a);h.a=0&&d0&&(u(gs(e.b,t),127).a.b=n)}function tun(e,t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L;if(T=le(pe(A(e,(Ue(),z8)))),M=le(pe(A(e,H8))),k=le(pe(A(e,Pv))),h=e.o,c=u(Ye(e.j,0),12),d=c.n,L=mZt(c,k),!!L){if(t.Hc((Qc(),E1)))switch(u(A(e,(Oe(),fl)),64).g){case 1:L.c=(h.a-L.b)/2-d.a,L.d=M;break;case 3:L.c=(h.a-L.b)/2-d.a,L.d=-M-L.a;break;case 2:n&&c.e.c.length==0&&c.g.c.length==0?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=h.b+M-d.b,L.c=-T-L.b;break;case 4:n&&c.e.c.length==0&&c.g.c.length==0?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=h.b+M-d.b,L.c=T}else if(t.Hc(jg))switch(u(A(e,(Oe(),fl)),64).g){case 1:case 3:L.c=d.a+T;break;case 2:case 4:n&&!c.c?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=d.b+M}for(s=L.d,m=new N(c.f);m.a=t.length)return{done:!0};var s=t[i++];return{value:[s,n.get(s)],done:!1}}}},Qrn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,n){this.obj[":"+t]=n},e.prototype[OX]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var n in this.obj)n.charCodeAt(0)==58&&t.push(n.substring(1));return t}),e}function Wr(){Wr=U,px=new Br(Jge),new ui("DEPTH",Ae(0)),tee=new ui("FAN",Ae(0)),v4e=new ui(pdt,Ae(0)),Og=new ui("ROOT",(Gt(),!1)),iee=new ui("LEFTNEIGHBOR",null),hyt=new ui("RIGHTNEIGHBOR",null),cB=new ui("LEFTSIBLING",null),oee=new ui("RIGHTSIBLING",null),eee=new ui("DUMMY",!1),new ui("LEVEL",Ae(0)),C4e=new ui("REMOVABLE_EDGES",new Zr),XP=new ui("XCOOR",Ae(0)),YP=new ui("YCOOR",Ae(0)),uB=new ui("LEVELHEIGHT",0),Kf=new ui("LEVELMIN",0),gf=new ui("LEVELMAX",0),nee=new ui("GRAPH_XMIN",0),ree=new ui("GRAPH_YMIN",0),y4e=new ui("GRAPH_XMAX",0),k4e=new ui("GRAPH_YMAX",0),m4e=new ui("COMPACT_LEVEL_ASCENSION",!1),ZZ=new ui("COMPACT_CONSTRAINTS",new Le),hx=new ui("ID",""),gx=new ui("POSITION",Ae(0)),vp=new ui("PRELIM",0),V8=new ui("MODIFIER",0),W8=new Br(Tft),qP=new Br(Ift)}function oun(e){Bpe();var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j;if(e==null)return null;if(k=e.length*8,k==0)return"";for(h=k%24,M=k/24|0,T=h!=0?M+1:M,c=null,c=be(Ea,Yd,28,T*4,15,1),m=0,v=0,t=0,n=0,i=0,d=0,s=0,b=0;b>24,m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,L=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,j=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[d++]=Mp[O],c[d++]=Mp[L|m<<4],c[d++]=Mp[v<<2|j],c[d++]=Mp[i&63];return h==8?(t=e[s],m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,c[d++]=Mp[O],c[d++]=Mp[m<<4],c[d++]=61,c[d++]=61):h==16&&(t=e[s],n=e[s+1],v=(n&15)<<24>>24,m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,L=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,c[d++]=Mp[O],c[d++]=Mp[L|m<<4],c[d++]=Mp[v<<2],c[d++]=61),Ud(c,0,c.length)}function sun(e,t){var n,i,s,c,d,h,b;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>jo&&Eae(t,e.p-gg),d=t.q.getDate(),fI(t,1),e.k>=0&&qBt(t,e.k),e.c>=0?fI(t,e.c):e.k>=0?(b=new tde(t.q.getFullYear()-gg,t.q.getMonth(),35),i=35-b.q.getDate(),fI(t,w.Math.min(i,d))):fI(t,d),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),BRt(t,e.f==24&&e.g?0:e.f),e.j>=0&&OHt(t,e.j),e.n>=0&&HHt(t,e.n),e.i>=0&&XKe(t,zo(Ho(uM(bl(t.q.getTime()),ap),ap),e.i)),e.a&&(s=new SR,Eae(s,s.q.getFullYear()-gg-80),RK(bl(t.q.getTime()),bl(s.q.getTime()))&&Eae(t,s.q.getFullYear()-gg+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),h=t.q.getMonth(),fI(t,t.q.getDate()+n),t.q.getMonth()!=h&&fI(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>jo&&(c=t.q.getTimezoneOffset(),XKe(t,zo(bl(t.q.getTime()),(e.o-c)*60*ap))),!0}function Vut(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;if(s=A(t,(Oe(),jr)),!!te(s,207)){for(O=u(s,27),L=t.e,T=new Wo(t.c),c=t.d,T.a+=c.b,T.b+=c.d,se=u(Ie(O,(Ue(),VN)),181),Rc(se,(du(),jB))&&(M=u(Ie(O,f3e),107),gPt(M,c.a),SPt(M,c.d),bPt(M,c.b),CPt(M,c.c)),n=new Le,v=new N(t.a);v.ai.c.length-1;)je(i,new Gi(l2,Mbe));n=u(A(s,ch),17).a,Qh(u(A(e,Kw),88))?(s.e.ale(pe((_t(n,i.c.length),u(i.c[n],42)).b))&&YH((_t(n,i.c.length),u(i.c[n],42)),s.e.a+s.f.a)):(s.e.ble(pe((_t(n,i.c.length),u(i.c[n],42)).b))&&YH((_t(n,i.c.length),u(i.c[n],42)),s.e.b+s.f.b))}for(c=Ln(e.b,0);c.b!=c.d.c;)s=u(_n(c),40),n=u(A(s,(sl(),ch)),17).a,Ee(s,(Wr(),Kf),pe((_t(n,i.c.length),u(i.c[n],42)).a)),Ee(s,gf,pe((_t(n,i.c.length),u(i.c[n],42)).b));t.Vg()}function cun(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L;for(e.o=le(pe(A(e.i,(Ue(),Fw)))),e.f=le(pe(A(e.i,Z0))),e.j=e.i.b.c.length,h=e.j-1,T=0,e.k=0,e.n=0,e.b=td(be(Po,_e,17,e.j,0,1)),e.c=td(be(Bi,_e,345,e.j,7,1)),d=new N(e.i.b);d.a0&&je(e.q,v),je(e.p,v);t-=i,M=b+t,m+=t*e.f,la(e.b,h,Ae(M)),la(e.c,h,m),e.k=w.Math.max(e.k,M),e.n=w.Math.max(e.n,m),e.e+=t,t+=L}}function ze(){ze=U;var e;nl=new jT(c9,0),en=new jT(M$,1),fn=new jT(FX,2),Mn=new jT(zX,3),rn=new jT(HX,4),Cd=(Ot(),new m5((e=u(Mf(ts),9),new ra(e,u(ef(e,e.length),9),0)))),yf=ep(Yr(en,H(F(ts,1),Cl,64,0,[]))),Sa=ep(Yr(fn,H(F(ts,1),Cl,64,0,[]))),qu=ep(Yr(Mn,H(F(ts,1),Cl,64,0,[]))),Ka=ep(Yr(rn,H(F(ts,1),Cl,64,0,[]))),Sc=ep(Yr(en,H(F(ts,1),Cl,64,0,[Mn]))),dc=ep(Yr(fn,H(F(ts,1),Cl,64,0,[rn]))),kf=ep(Yr(en,H(F(ts,1),Cl,64,0,[rn]))),tu=ep(Yr(en,H(F(ts,1),Cl,64,0,[fn]))),Xu=ep(Yr(Mn,H(F(ts,1),Cl,64,0,[rn]))),xa=ep(Yr(fn,H(F(ts,1),Cl,64,0,[Mn]))),nu=ep(Yr(en,H(F(ts,1),Cl,64,0,[fn,rn]))),Cc=ep(Yr(fn,H(F(ts,1),Cl,64,0,[Mn,rn]))),xc=ep(Yr(en,H(F(ts,1),Cl,64,0,[Mn,rn]))),zc=ep(Yr(en,H(F(ts,1),Cl,64,0,[fn,Mn]))),Gl=ep(Yr(en,H(F(ts,1),Cl,64,0,[fn,Mn,rn])))}function uun(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe;for(t.Ug(Vft,1),L=new Le,Me=new Le,m=new N(e.b);m.a0&&(ne-=M),Ype(d,ne),v=0,T=new N(d.a);T.a0),h.a.Xb(h.c=--h.b)),b=.4*i*v,!c&&h.b0&&(b=(Zt(0,t.length),t.charCodeAt(0)),b!=64)){if(b==37&&(k=t.lastIndexOf("%"),m=!1,k!=0&&(k==T-1||(m=(Zt(k+1,t.length),t.charCodeAt(k+1)==46))))){if(d=(mo(1,k,t.length),t.substr(1,k-1)),ne=Et("%",d)?null:lge(d),i=0,m)try{i=zu((Zt(k+2,t.length+1),t.substr(k+2)),jo,Pr)}catch(se){throw se=li(se),te(se,130)?(h=se,B(new ML(h))):B(se)}for(j=Lfe(e.Gh());j.Ob();)if(O=nj(j),te(O,519)&&(s=u(O,598),Y=s.d,(ne==null?Y==null:Et(ne,Y))&&i--==0))return s;return null}if(v=t.lastIndexOf("."),M=v==-1?t:(mo(0,v,t.length),t.substr(0,v)),n=0,v!=-1)try{n=zu((Zt(v+1,t.length+1),t.substr(v+1)),jo,Pr)}catch(se){if(se=li(se),te(se,130))M=t;else throw B(se)}for(M=Et("%",M)?null:lge(M),L=Lfe(e.Gh());L.Ob();)if(O=nj(L),te(O,197)&&(c=u(O,197),z=c.xe(),(M==null?z==null:Et(M,z))&&n--==0))return c;return null}return $ut(e,t)}function wun(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y;for(v=new On,b=new qb,i=new N(e.a.a.b);i.at.d.c){if(M=e.c[t.a.d],j=e.c[k.a.d],M==j)continue;cf(Ja(Ya(Qa(Xa(new Ma,1),100),M),j))}}}}}function mun(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me;if(T=u(u(Lr(e.r,t),21),87),t==(ze(),fn)||t==rn){Uut(e,t);return}for(c=t==en?(iw(),wP):(iw(),mP),se=t==en?(vc(),zf):(vc(),df),n=u(gs(e.b,t),127),i=n.i,s=i.c+$y(H(F(uo,1),ws,28,15,[n.n.b,e.C.b,e.k])),z=i.c+i.b-$y(H(F(uo,1),ws,28,15,[n.n.c,e.C.c,e.k])),d=kse(Dce(c),e.t),Y=t==en?Hi:ii,k=T.Kc();k.Ob();)m=u(k.Pb(),117),!(!m.c||m.c.d.c.length<=0)&&(j=m.b.Mf(),L=m.e,M=m.c,O=M.i,O.b=(b=M.n,M.e.a+b.b+b.c),O.a=(h=M.n,M.e.b+h.d+h.a),lI(se,Dge),M.f=se,Lf(M,(Yc(),ff)),O.c=L.a-(O.b-j.a)/2,ye=w.Math.min(s,L.a),Me=w.Math.max(z,L.a+j.a),O.cMe&&(O.c=Me-O.b),je(d.d,new JU(O,Mde(d,O))),Y=t==en?w.Math.max(Y,L.b+m.b.Mf().b):w.Math.min(Y,L.b));for(Y+=t==en?e.t:-e.t,ne=Vde((d.e=Y,d)),ne>0&&(u(gs(e.b,t),127).a.b=ne),v=T.Kc();v.Ob();)m=u(v.Pb(),117),!(!m.c||m.c.d.c.length<=0)&&(O=m.c.i,O.c-=m.e.a,O.d-=m.e.b)}function vun(e){var t,n,i,s,c,d,h,b,m,v,k,T,M;for(t=new On,b=new hn(e);b.e!=b.i.gc();){for(h=u(mn(b),27),n=new _i,vr(bQ,h,n),M=new LH,s=u(Hs(new xt(null,new zb(new gn(wn(vM(h).a.Kc(),new $)))),fVe(M,Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)])))),85),GZe(n,u(s.xc((Gt(),!0)),16),new Nxe),i=u(Hs(Ar(u(s.xc(!1),15).Lc(),new Bxe),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),15),d=i.Kc();d.Ob();)c=u(d.Pb(),74),T=Vit(c),T&&(m=u(_s(ss(t.f,T)),21),m||(m=blt(T),Jl(t.f,T,m)),vo(n,m));for(s=u(Hs(new xt(null,new zb(new gn(wn(g1(h).a.Kc(),new $)))),fVe(M,Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs])))),85),GZe(n,u(s.xc(!0),16),new Fxe),i=u(Hs(Ar(u(s.xc(!1),15).Lc(),new zxe),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),15),k=i.Kc();k.Ob();)v=u(k.Pb(),74),T=qit(v),T&&(m=u(_s(ss(t.f,T)),21),m||(m=blt(T),Jl(t.f,T,m)),vo(n,m))}}function yun(e,t){$q();var n,i,s,c,d,h,b,m,v,k,T,M,O,L;if(b=yl(e,0)<0,b&&(e=J1(e)),yl(e,0)==0)switch(t){case 0:return"0";case 1:return e8;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 M=new Hp,t<0?M.a+="0E+":M.a+="0E",M.a+=t==jo?"2147483648":""+-t,M.a}v=18,k=be(Ea,Yd,28,v+1,15,1),n=v,L=e;do m=L,L=uM(L,10),k[--n]=Vn(zo(48,Ra(m,Ho(L,10))))&Di;while(yl(L,0)!=0);if(s=Ra(Ra(Ra(v,n),t),1),t==0)return b&&(k[--n]=45),Ud(k,n,v-n);if(t>0&&yl(s,-6)>=0){if(yl(s,0)>=0){for(c=n+Vn(s),h=v-1;h>=c;h--)k[h+1]=k[h];return k[++c]=46,b&&(k[--n]=45),Ud(k,n,v-n+1)}for(d=2;RK(d,zo(J1(s),1));d++)k[--n]=48;return k[--n]=46,k[--n]=48,b&&(k[--n]=45),Ud(k,n,v-n)}return O=n+1,i=v,T=new K3,b&&(T.a+="-"),i-O>=1?(h0(T,k[n]),T.a+=".",T.a+=Ud(k,n+1,v-n-1)):T.a+=Ud(k,n,v-n),T.a+="E",yl(s,0)>0&&(T.a+="+"),T.a+=""+VC(s),T.a}function gw(e,t,n,i,s){var c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me;if(j=new Pe(e.g,e.f),L=S1e(e),L.a=w.Math.max(L.a,t),L.b=w.Math.max(L.b,n),Me=L.a/j.a,v=L.b/j.b,se=L.a-j.a,b=L.b-j.b,i)for(d=ri(e)?u(Ie(ri(e),(pr(),nb)),88):u(Ie(e,(pr(),nb)),88),h=fe(Ie(e,(pr(),Ix)))===fe((fo(),Ul)),Y=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));Y.e!=Y.i.gc();)switch(z=u(mn(Y),123),ne=u(Ie(z,W2),64),ne==(ze(),nl)&&(ne=Fpe(z,d),Dr(z,W2,ne)),ne.g){case 1:h||oc(z,z.i*Me);break;case 2:oc(z,z.i+se),h||sc(z,z.j*v);break;case 3:h||oc(z,z.i*Me),sc(z,z.j+b);break;case 4:h||sc(z,z.j*v)}if(xy(e,L.a,L.b),s)for(T=new hn((!e.n&&(e.n=new Se(ms,e,1,7)),e.n));T.e!=T.i.gc();)k=u(mn(T),135),M=k.i+k.g/2,O=k.j+k.f/2,ye=M/j.a,m=O/j.b,ye+m>=1&&(ye-m>0&&O>=0?(oc(k,k.i+se),sc(k,k.j+b*m)):ye-m<0&&M>=0&&(oc(k,k.i+se*ye),sc(k,k.j+b)));return Dr(e,(pr(),rb),(Iu(),c=u(Mf(jx),9),new ra(c,u(ef(c,c.length),9),0))),new Pe(Me,v)}function Jut(e){Mb(e,new _0(wR(Eb(Cb(xb(Sb(new e0,wa),"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 WOe),wa))),Re(e,wa,Z$,Ke(u2t)),Re(e,wa,lv,Ke(a2t)),Re(e,wa,c2,Ke(o2t)),Re(e,wa,G4,Ke(s2t)),Re(e,wa,U4,Ke(l2t)),Re(e,wa,l8,Ke(i2t)),Re(e,wa,d9,Ke(J4e)),Re(e,wa,c8,Ke(c2t)),Re(e,wa,GY,Ke(mee)),Re(e,wa,UY,Ke(vee)),Re(e,wa,sD,Ke(Z4e)),Re(e,wa,WY,Ke(yee)),Re(e,wa,VY,Ke(e6e)),Re(e,wa,Vbe,Ke(t6e)),Re(e,wa,Wbe,Ke(Q4e)),Re(e,wa,Hbe,Ke(pB)),Re(e,wa,Kbe,Ke(gB)),Re(e,wa,Ube,Ke(JP)),Re(e,wa,Gbe,Ke(n6e)),Re(e,wa,zbe,Ke(Y4e))}function v$(e){var t,n,i,s,c,d,h,b,m,v,k;if(e==null)throw B(new jd(kc));if(m=e,c=e.length,b=!1,c>0&&(t=(Zt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Zt(1,e.length+1),e.substr(1)),--c,b=t==45)),c==0)throw B(new jd(mw+m+'"'));for(;e.length>0&&(Zt(0,e.length),e.charCodeAt(0)==48);)e=(Zt(1,e.length+1),e.substr(1)),--c;if(c>(Mct(),bpt)[10])throw B(new jd(mw+m+'"'));for(s=0;s0&&(k=-parseInt((mo(0,i,e.length),e.substr(0,i)),10),e=(Zt(i,e.length+1),e.substr(i)),c-=i,n=!1);c>=d;){if(i=parseInt((mo(0,d,e.length),e.substr(0,d)),10),e=(Zt(d,e.length+1),e.substr(d)),c-=d,n)n=!1;else{if(yl(k,h)<0)throw B(new jd(mw+m+'"'));k=Ho(k,v)}k=Ra(k,i)}if(yl(k,0)>0)throw B(new jd(mw+m+'"'));if(!b&&(k=J1(k),yl(k,0)<0))throw B(new jd(mw+m+'"'));return k}function lge(e){Hq();var t,n,i,s,c,d,h,b;if(e==null)return null;if(s=$d(e,yc(37)),s<0)return e;for(b=new Ru((mo(0,s,e.length),e.substr(0,s))),t=be(Hc,d2,28,4,15,1),h=0,i=0,d=e.length;ss+2&&DW((Zt(s+1,e.length),e.charCodeAt(s+1)),Bke,Fke)&&DW((Zt(s+2,e.length),e.charCodeAt(s+2)),Bke,Fke))if(n=z$t((Zt(s+1,e.length),e.charCodeAt(s+1)),(Zt(s+2,e.length),e.charCodeAt(s+2))),s+=2,i>0?(n&192)==128?t[h++]=n<<24>>24:i=0:n>=128&&((n&224)==192?(t[h++]=n<<24>>24,i=2):(n&240)==224?(t[h++]=n<<24>>24,i=3):(n&248)==240&&(t[h++]=n<<24>>24,i=4)),i>0){if(h==i){switch(h){case 2:{h0(b,((t[0]&31)<<6|t[1]&63)&Di);break}case 3:{h0(b,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Di);break}}h=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i==0)n=(Up(),s=new X_,s),Dn((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),n);else if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i>1)for(T=new Q3((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));T.e!=T.i.gc();)DS(T);IM(t,u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166))}if(k)for(i=new hn((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));i.e!=i.i.gc();)for(n=u(mn(i),166),m=new hn((!n.a&&(n.a=new Ai(Yu,n,5)),n.a));m.e!=m.i.gc();)b=u(mn(m),377),h.a=w.Math.max(h.a,b.a),h.b=w.Math.max(h.b,b.b);for(d=new hn((!e.n&&(e.n=new Se(ms,e,1,7)),e.n));d.e!=d.i.gc();)c=u(mn(d),135),v=u(Ie(c,Px),8),v&&ta(c,v.a,v.b),k&&(h.a=w.Math.max(h.a,c.i+c.g),h.b=w.Math.max(h.b,c.j+c.f));return h}function Zut(e,t,n,i,s){var c,d,h;if(QQe(e,t),d=t[0],c=Ao(n.c,0),h=-1,ide(n))if(i>0){if(d+i>e.length)return!1;h=qj((mo(0,d+i,e.length),e.substr(0,d+i)),t)}else h=qj(e,t);switch(c){case 71:return h=qy(e,d,H(F(Je,1),_e,2,6,[Nat,Bat]),t),s.e=h,!0;case 77:return $rn(e,t,s,h,d);case 76:return Drn(e,t,s,h,d);case 69:return MZt(e,t,d,s);case 99:return PZt(e,t,d,s);case 97:return h=qy(e,d,H(F(Je,1),_e,2,6,["AM","PM"]),t),s.b=h,!0;case 121:return Nrn(e,t,d,h,n,s);case 100:return h<=0?!1:(s.c=h,!0);case 83:return h<0?!1:UVt(h,d,t[0],s);case 104:h==12&&(h=0);case 75:case 72:return h<0?!1:(s.f=h,s.g=!1,!0);case 107:return h<0?!1:(s.f=h,s.g=!0,!0);case 109:return h<0?!1:(s.j=h,!0);case 115:return h<0?!1:(s.n=h,!0);case 90:if(dpt[b]&&(j=b),k=new N(e.a.b);k.a1;){if(s=Pnn(t),k=c.g,O=u(Ie(t,mx),107),L=le(pe(Ie(t,vB))),(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i>1&&le(pe(Ie(t,(xh(),Mee))))!=ii&&(c.c+(O.b+O.c))/(c.b+(O.d+O.a))1&&le(pe(Ie(t,(xh(),Iee))))!=ii&&(c.c+(O.b+O.c))/(c.b+(O.d+O.a))>L&&Dr(s,(xh(),Av),w.Math.max(le(pe(Ie(t,wx))),le(pe(Ie(s,Av)))-le(pe(Ie(t,Iee))))),M=new ple(i,v),b=vat(M,s,T),m=b.g,m>=k&&m==m){for(d=0;d<(!s.a&&(s.a=new Se(xr,s,10,11)),s.a).i;d++)Wot(e,u(re((!s.a&&(s.a=new Se(xr,s,10,11)),s.a),d),27),u(re((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),d),27));xZe(t,M),ABt(c,b.c),RBt(c,b.b)}--h}Dr(t,(xh(),q8),c.b),Dr(t,u6,c.c),n.Vg()}function xun(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y;for(t.Ug("Interactive node layering",1),n=new Le,T=new N(e.a);T.a=h){yn(Y.b>0),Y.a.Xb(Y.c=--Y.b);break}else j.a>b&&(i?(zi(i.b,j.b),i.a=w.Math.max(i.a,j.a),Eu(Y)):(je(j.b,v),j.c=w.Math.min(j.c,b),j.a=w.Math.max(j.a,h),i=j));i||(i=new WBe,i.c=b,i.a=h,Em(Y,i),je(i.b,v))}for(d=e.b,m=0,z=new N(n);z.aM&&(c&&(Go(Me,T),Go(pt,Ae(m.b-1))),Tr=n.b,ai+=T+t,T=0,v=w.Math.max(v,n.b+n.c+vn)),oc(h,Tr),sc(h,ai),v=w.Math.max(v,Tr+vn+n.c),T=w.Math.max(T,k),Tr+=vn+t;if(v=w.Math.max(v,i),Ht=ai+T+n.a,HtZd,dt=w.Math.abs(T.b-O.b)>Zd,(!n&&pt&&dt||n&&(pt||dt))&&ir(j.a,se)),vo(j.a,i),i.b==0?T=se:T=(yn(i.b!=0),u(i.c.b.c,8)),aGt(M,k,L),Eet(s)==Fe&&(To(Fe.i)!=s.a&&(L=new po,v1e(L,To(Fe.i),Y)),Ee(j,gZ,L)),WQt(M,j,Y),v.a.zc(M,v);Fo(j,ye),ao(j,Fe)}for(m=v.a.ec().Kc();m.Ob();)b=u(m.Pb(),18),Fo(b,null),ao(b,null);t.Vg()}function Iun(e,t){var n,i,s,c,d,h,b,m,v,k,T;for(s=u(A(e,(sl(),Kw)),88),v=s==($i(),Is)||s==Ns?vd:Ns,n=u(Hs(Ar(new xt(null,new Mt(e.b,16)),new QPe),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),b=u(Hs(Rs(n.Oc(),new hNe(t)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),15),b.Gc(u(Hs(Rs(n.Oc(),new pNe(t)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),16)),b.jd(new gNe(v)),T=new z1(new bNe(s)),i=new On,h=b.Kc();h.Ob();)d=u(h.Pb(),240),m=u(d.a,40),qe(Ve(d.c))?(T.a.zc(m,(Gt(),kg))==null,new d5(T.a.Zc(m,!1)).a.gc()>0&&vr(i,m,u(new d5(T.a.Zc(m,!1)).a.Vc(),40)),new d5(T.a.ad(m,!0)).a.gc()>1&&vr(i,Pnt(T,m),m)):(new d5(T.a.Zc(m,!1)).a.gc()>0&&(c=u(new d5(T.a.Zc(m,!1)).a.Vc(),40),fe(c)===fe(_s(ss(i.f,m)))&&u(A(m,(Wr(),ZZ)),15).Fc(c)),new d5(T.a.ad(m,!0)).a.gc()>1&&(k=Pnt(T,m),fe(_s(ss(i.f,k)))===fe(m)&&u(A(k,(Wr(),ZZ)),15).Fc(m)),T.a.Bc(m)!=null)}function eat(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new vL;for(s=e.Kc();s.Ob();){for(n=u(s.Pb(),235),O=0,v=Pr,k=Pr,b=jo,m=jo,M=new N(n.e);M.ah&&(ne=0,se+=d+z,d=0),Zin(L,n,ne,se),t=w.Math.max(t,ne+j.a),d=w.Math.max(d,j.b),ne+=j.a+z;return L}function Mun(e){Bpe();var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j;if(e==null||(c=OL(e),O=nVt(c),O%4!=0))return null;if(L=O/4|0,L==0)return be(Hc,d2,28,0,15,1);for(k=null,t=0,n=0,i=0,s=0,d=0,h=0,b=0,m=0,M=0,T=0,v=0,k=be(Hc,d2,28,L*3,15,1);M>4)<<24>>24,k[T++]=((n&15)<<4|i>>2&15)<<24>>24,k[T++]=(i<<6|s)<<24>>24}return!bT(d=c[v++])||!bT(h=c[v++])?null:(t=xd[d],n=xd[h],b=c[v++],m=c[v++],xd[b]==-1||xd[m]==-1?b==61&&m==61?n&15?null:(j=be(Hc,d2,28,M*3+1,15,1),Pl(k,0,j,0,M*3),j[T]=(t<<2|n>>4)<<24>>24,j):b!=61&&m==61?(i=xd[b],i&3?null:(j=be(Hc,d2,28,M*3+2,15,1),Pl(k,0,j,0,M*3),j[T++]=(t<<2|n>>4)<<24>>24,j[T]=((n&15)<<4|i>>2&15)<<24>>24,j)):null:(i=xd[b],s=xd[m],k[T++]=(t<<2|n>>4)<<24>>24,k[T++]=((n&15)<<4|i>>2&15)<<24>>24,k[T++]=(i<<6|s)<<24>>24,k))}function Pun(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye;for(t.Ug(Vft,1),O=u(A(e,(Ue(),S1)),223),s=new N(e.b);s.a=2){for(L=!0,T=new N(c.j),n=u(D(T),12),M=null;T.a0)if(i=k.gc(),m=Wi(w.Math.floor((i+1)/2))-1,s=Wi(w.Math.ceil((i+1)/2))-1,t.o==wd)for(v=s;v>=m;v--)t.a[se.p]==se&&(L=u(k.Xb(v),42),O=u(L.a,10),!Pf(n,L.b)&&M>e.b.e[O.p]&&(t.a[O.p]=se,t.g[se.p]=t.g[O.p],t.a[se.p]=t.g[se.p],t.f[t.g[se.p].p]=(Gt(),!!(qe(t.f[t.g[se.p].p])&se.k==(nn(),io))),M=e.b.e[O.p]));else for(v=m;v<=s;v++)t.a[se.p]==se&&(z=u(k.Xb(v),42),j=u(z.a,10),!Pf(n,z.b)&&M0&&(s=u(Ye(j.c.a,Me-1),10),d=e.i[s.p],pt=w.Math.ceil(Ty(e.n,s,j)),c=ye.a.e-j.d.d-(d.a.e+s.o.b+s.d.a)-pt),m=ii,Me0&&Fe.a.e.e-Fe.a.a-(Fe.b.e.e-Fe.b.a)<0,O=ne.a.e.e-ne.a.a-(ne.b.e.e-ne.b.a)<0&&Fe.a.e.e-Fe.a.a-(Fe.b.e.e-Fe.b.a)>0,M=ne.a.e.e+ne.b.aFe.b.e.e+Fe.a.a,se=0,!L&&!O&&(T?c+k>0?se=k:m-i>0&&(se=i):M&&(c+h>0?se=h:m-Y>0&&(se=Y))),ye.a.e+=se,ye.b&&(ye.d.e+=se),!1))}function nat(e,t,n){var i,s,c,d,h,b,m,v,k,T;if(i=new ia(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),s=new Y3,e.c)for(d=new N(t.Rf());d.am&&(i.a+=MUe(be(Ea,Yd,28,-m,15,1))),i.a+="Is",$d(b,yc(32))>=0)for(s=0;s=i.o.b/2}else Y=!k;Y?(z=u(A(i,(Oe(),l6)),15),z?T?c=z:(s=u(A(i,n6),15),s?z.gc()<=s.gc()?c=z:c=s:(c=new Le,Ee(i,n6,c))):(c=new Le,Ee(i,l6,c))):(s=u(A(i,(Oe(),n6)),15),s?k?c=s:(z=u(A(i,l6),15),z?s.gc()<=z.gc()?c=s:c=z:(c=new Le,Ee(i,l6,c))):(c=new Le,Ee(i,n6,c))),c.Fc(e),Ee(e,(Oe(),PN),n),t.d==n?(ao(t,null),n.e.c.length+n.g.c.length==0&&Js(n,null),VGt(n)):(Fo(t,null),n.e.c.length+n.g.c.length==0&&Js(n,null)),Au(t.a)}function Aun(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn,Tr,ai;for(n.Ug("MinWidth layering",1),M=t.b,Fe=t.a,ai=u(A(t,(Ue(),i3e)),17).a,h=u(A(t,o3e),17).a,e.b=le(pe(A(t,pf))),e.d=ii,se=new N(Fe);se.a0?(m=0,j&&(m+=h),m+=(dt-1)*d,ne&&(m+=h),pt&&ne&&(m=w.Math.max(m,Znn(ne,d,Y,Fe))),m=e.a&&(i=gsn(e,Y),v=w.Math.max(v,i.b),se=w.Math.max(se,i.d),je(h,new Gi(Y,i)));for(pt=new Le,m=0;m0),j.a.Xb(j.c=--j.b),dt=new Ll(e.b),Em(j,dt),yn(j.b0){for(T=v<100?null:new Kp(v),m=new zfe(t),O=m.g,z=be(Bn,ur,28,v,15,1),i=0,se=new Qb(v),s=0;s=0;)if(M!=null?Rr(M,O[b]):fe(M)===fe(O[b])){z.length<=i&&(j=z,z=be(Bn,ur,28,2*z.length,15,1),Pl(j,0,z,0,i)),z[i++]=s,Dn(se,O[b]);break e}if(M=M,fe(M)===fe(h))break}}if(m=se,O=se.g,v=i,i>z.length&&(j=z,z=be(Bn,ur,28,i,15,1),Pl(j,0,z,0,i)),i>0){for(ne=!0,c=0;c=0;)M4(e,z[d]);if(i!=v){for(s=v;--s>=i;)M4(m,s);j=z,z=be(Bn,ur,28,i,15,1),Pl(j,0,z,0,i)}t=m}}}else for(t=YXt(e,t),s=e.i;--s>=0;)t.Hc(e.g[s])&&(M4(e,s),ne=!0);if(ne){if(z!=null){for(n=t.gc(),k=n==1?tS(e,4,t.Kc().Pb(),null,z[0],L):tS(e,6,t,z,z[0],L),T=n<100?null:new Kp(n),s=t.Kc();s.Ob();)M=s.Pb(),T=Oce(e,u(M,76),T);T?(T.nj(k),T.oj()):_r(e.e,k)}else{for(T=nLt(t.gc()),s=t.Kc();s.Ob();)M=s.Pb(),T=Oce(e,u(M,76),T);T&&T.oj()}return!0}else return!1}function $un(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne;for(n=new krt(t),n.a||aon(t),m=cin(t),b=new qb,j=new Slt,L=new N(t.a);L.a0||n.o==wd&&s=n}function Nun(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn;for(ne=t,Y=new qb,se=new qb,v=Jb(ne,Pwe),i=new Mqe(e,n,Y,se),iZt(i.a,i.b,i.c,i.d,v),b=(Fe=Y.i,Fe||(Y.i=new Py(Y,Y.c))),dt=b.Kc();dt.Ob();)for(pt=u(dt.Pb(),166),s=u(Lr(Y,pt),21),L=s.Kc();L.Ob();)if(O=L.Pb(),ye=u(Dy(e.d,O),166),ye)h=(!pt.e&&(pt.e=new $t(ei,pt,10,9)),pt.e),Dn(h,ye);else throw d=n1(ne,rh),T=yht+O+kht+d,M=T+w8,B(new Ld(M));for(m=(Me=se.i,Me||(se.i=new Py(se,se.c))),Ht=m.Kc();Ht.Ob();)for(zt=u(Ht.Pb(),166),c=u(Lr(se,zt),21),z=c.Kc();z.Ob();)if(j=z.Pb(),ye=u(Dy(e.d,j),166),ye)k=(!zt.g&&(zt.g=new $t(ei,zt,9,10)),zt.g),Dn(k,ye);else throw d=n1(ne,rh),T=yht+j+kht+d,M=T+w8,B(new Ld(M));!n.b&&(n.b=new $t(Tn,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new $t(Tn,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new $t(Tn,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new $t(Tn,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new Se(ei,n,6,6)),n.a).i==1&&(vn=u(re((!n.a&&(n.a=new Se(ei,n,6,6)),n.a),0),166),!TV(vn)&&!IV(vn)&&(GL(vn,u(re((!n.b&&(n.b=new $t(Tn,n,4,7)),n.b),0),84)),WL(vn,u(re((!n.c&&(n.c=new $t(Tn,n,5,8)),n.c),0),84))))}function Bun(e){var t,n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt;for(ne=e.a,se=0,ye=ne.length;se0?(k=u(Ye(T.c.a,d-1),10),pt=Ty(e.b,T,k),j=T.n.b-T.d.d-(k.n.b+k.o.b+k.d.a+pt)):j=T.n.b-T.d.d,m=w.Math.min(j,m),d1&&(d=w.Math.min(d,w.Math.abs(u(ga(h.a,1),8).b-v.b)))));else for(L=new N(t.j);L.as&&(c=T.a-s,d=Pr,i.c.length=0,s=T.a),T.a>=s&&(Ft(i.c,h),h.a.b>1&&(d=w.Math.min(d,w.Math.abs(u(ga(h.a,h.a.b-2),8).b-T.b)))));if(i.c.length!=0&&c>t.o.a/2&&d>t.o.b/2){for(M=new Ml,Js(M,t),Vi(M,(ze(),en)),M.n.a=t.o.a/2,z=new Ml,Js(z,t),Vi(z,Mn),z.n.a=t.o.a/2,z.n.b=t.o.b,b=new N(i);b.a=m.b?Fo(h,z):Fo(h,M)):(m=u(O$t(h.a),8),j=h.a.b==0?ed(h.c):u(Za(h.a),8),j.b>=m.b?ao(h,z):ao(h,M)),k=u(A(h,(Ue(),Ts)),75),k&&Km(k,m,!0);t.n.a=s-t.o.a/2}}function zun(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(h=Ln(e.b,0);h.b!=h.d.c;)if(d=u(_n(h),40),!Et(d.c,rD))for(m=dtn(d,e),t==($i(),Is)||t==Ns?Pi(m,new SOe):Pi(m,new xOe),b=m.c.length,i=0;i=0?M=x4(h):M=QI(x4(h)),e.qf(B8,M)),m=new po,T=!1,e.pf(Nw)?(ece(m,u(e.of(Nw),8)),T=!0):JRt(m,d.a/2,d.b/2),M.g){case 4:Ee(v,fc,(pa(),Tg)),Ee(v,_N,(E0(),C2)),v.o.b=d.b,L<0&&(v.o.a=-L),Vi(k,(ze(),fn)),T||(m.a=d.a),m.a-=d.a;break;case 2:Ee(v,fc,(pa(),Cv)),Ee(v,_N,(E0(),R8)),v.o.b=d.b,L<0&&(v.o.a=-L),Vi(k,(ze(),rn)),T||(m.a=0);break;case 1:Ee(v,W0,(l1(),x2)),v.o.a=d.a,L<0&&(v.o.b=-L),Vi(k,(ze(),Mn)),T||(m.b=d.b),m.b-=d.b;break;case 3:Ee(v,W0,(l1(),t6)),v.o.a=d.a,L<0&&(v.o.b=-L),Vi(k,(ze(),en)),T||(m.b=0)}if(ece(k.n,m),Ee(v,Nw,m),t==ob||t==Bh||t==Ul){if(O=0,t==ob&&e.pf(bp))switch(M.g){case 1:case 2:O=u(e.of(bp),17).a;break;case 3:case 4:O=-u(e.of(bp),17).a}else switch(M.g){case 4:case 2:O=c.b,t==Bh&&(O/=s.b);break;case 1:case 3:O=c.a,t==Bh&&(O/=s.a)}Ee(v,Aw,O)}return Ee(v,fl,M),v}function Hun(){Ese();function e(i){var s=this;this.dispatch=function(c){var d=c.data;switch(d.cmd){case"algorithms":var h=Wde((Ot(),new f5(new Xh(Dg.b))));i.postMessage({id:d.id,data:h});break;case"categories":var b=Wde((Ot(),new f5(new Xh(Dg.c))));i.postMessage({id:d.id,data:b});break;case"options":var m=Wde((Ot(),new f5(new Xh(Dg.d))));i.postMessage({id:d.id,data:m});break;case"register":Gln(d.algorithms),i.postMessage({id:d.id});break;case"layout":ysn(d.graph,d.layoutOptions||{},d.options||{}),i.postMessage({id:d.id,data:d.graph});break}},this.saveDispatch=function(c){try{s.dispatch(c)}catch(d){i.postMessage({id:c.data.id,error:d})}}}function t(i){var s=this;this.dispatcher=new e({postMessage:function(c){s.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){s.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===LX&&typeof self!==LX){var n=new e(self);self.onmessage=n.saveDispatch}else typeof a!==LX&&a.exports&&(Object.defineProperty(p,"__esModule",{value:!0}),a.exports={default:t,Worker:t})}function cat(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=new p1(n),js(v,t),Ee(v,(Oe(),jr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,je(n.a,v),vr(e.a,t,v),((!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i!=0||qe(Ve(Ie(t,(Ue(),Ev)))))&&Ee(v,e2e,(Gt(),!0)),m=u(A(n,Kl),21),k=u(A(v,(Ue(),vi)),101),k==(fo(),Lg)?Ee(v,vi,kd):k!=kd&&m.Fc((cs(),j8)),T=0,i=u(A(n,Wu),88),b=new hn((!t.c&&(t.c=new Se(ru,t,9,9)),t.c));b.e!=b.i.gc();)h=u(mn(b),123),s=ri(t),(fe(Ie(s,jh))!==fe((Gd(),wp))||fe(Ie(s,q0))===fe((ip(),_8))||fe(Ie(s,q0))===fe((ip(),O8))||qe(Ve(Ie(s,jw)))||fe(Ie(s,Sv))!==fe((M0(),wv))||fe(Ie(s,Ig))===fe((La(),zw))||fe(Ie(s,Ig))===fe((La(),Ov))||fe(Ie(s,Y0))===fe((up(),K8))||fe(Ie(s,Y0))===fe((up(),U8)))&&!qe(Ve(Ie(t,NN)))&&Dr(h,zr,Ae(T++)),qe(Ve(Ie(h,Q0)))||Qcn(e,h,v,m,i,k);for(d=new hn((!t.n&&(t.n=new Se(ms,t,1,7)),t.n));d.e!=d.i.gc();)c=u(mn(d),135),!qe(Ve(Ie(c,Q0)))&&c.a&&je(v.b,ZW(c));return qe(Ve(A(v,J9)))&&m.Fc((cs(),TN)),qe(Ve(A(v,HN)))&&(m.Fc((cs(),IN)),m.Fc(G9),Ee(v,vi,kd)),v}function Xq(e,t,n,i,s,c,d){var h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn,Tr,ai;for(L=0,zt=0,m=new N(e.b);m.aL&&(c&&(Go(Me,M),Go(pt,Ae(v.b-1)),je(e.d,O),h.c.length=0),Tr=n.b,ai+=M+t,M=0,k=w.Math.max(k,n.b+n.c+vn)),Ft(h.c,b),hrt(b,Tr,ai),k=w.Math.max(k,Tr+vn+n.c),M=w.Math.max(M,T),Tr+=vn+t,O=b;if(zi(e.a,h),je(e.d,u(Ye(h,h.c.length-1),163)),k=w.Math.max(k,i),Ht=ai+M+n.a,Hts.d.d+s.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),i.b!=i.d.c&&(t=n);v&&(c=u(pn(e.f,d.d.i),60),t.bc.d.d+c.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(h=new gn(wn(eo(M).a.Kc(),new $));jn(h);)d=u(Sn(h),18),d.a.b!=0&&(t=u(Za(d.a),8),d.d.j==(ze(),en)&&(j=new JS(t,new Pe(t.a,s.d.d),s,d),j.f.a=!0,j.a=d.d,Ft(L.c,j)),d.d.j==Mn&&(j=new JS(t,new Pe(t.a,s.d.d+s.d.a),s,d),j.f.d=!0,j.a=d.d,Ft(L.c,j)))}return L}function qun(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(b=new Le,k=t.length,d=rde(n),m=0;m=O&&(Y>O&&(M.c.length=0,O=Y),Ft(M.c,d));M.c.length!=0&&(T=u(Ye(M,Rj(t,M.c.length)),131),Ht.a.Bc(T)!=null,T.s=L++,tpe(T,dt,Me),M.c.length=0)}for(se=e.c.length+1,h=new N(e);h.azt.s&&(Eu(n),mc(zt.i,i),i.c>0&&(i.a=zt,je(zt.t,i),i.b=Fe,je(Fe.i,i)))}function uat(e,t,n,i,s){var c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht;for(L=new ql(t.b),se=new ql(t.b),T=new ql(t.b),pt=new ql(t.b),j=new ql(t.b),Fe=Ln(t,0);Fe.b!=Fe.d.c;)for(ye=u(_n(Fe),12),h=new N(ye.g);h.a0,z=ye.g.c.length>0,m&&z?Ft(T.c,ye):m?Ft(L.c,ye):z&&Ft(se.c,ye);for(O=new N(L);O.aY.nh()-m.b&&(T=Y.nh()-m.b),M>Y.oh()-m.d&&(M=Y.oh()-m.d),v0){for(ne=Ln(e.f,0);ne.b!=ne.d.c;)Y=u(_n(ne),10),Y.p+=T-e.e;y1e(e),Au(e.f),gpe(e,i,M)}else{for(ir(e.f,M),M.p=i,e.e=w.Math.max(e.e,i),c=new gn(wn(eo(M).a.Kc(),new $));jn(c);)s=u(Sn(c),18),!s.c.i.c&&s.c.i.k==(nn(),xl)&&(ir(e.f,s.c.i),s.c.i.p=i-1);e.c=i}else y1e(e),Au(e.f),i=0,jn(new gn(wn(eo(M).a.Kc(),new $)))?(T=0,T=mrt(T,M),i=T+2,gpe(e,i,M)):(ir(e.f,M),M.p=0,e.e=w.Math.max(e.e,0),e.b=u(Ye(e.d.b,0),30),e.c=0);for(e.f.b==0||y1e(e),e.d.a.c.length=0,z=new Le,m=new N(e.d.b);m.a=48&&t<=57){for(i=t-48;s=48&&t<=57;)if(i=i*10+t-48,i<0)throw B(new er(rr((Yn(),Hwe))))}else throw B(new er(rr((Yn(),Vht))));if(n=i,t==44){if(s>=e.j)throw B(new er(rr((Yn(),Xht))));if((t=Ao(e.i,s++))>=48&&t<=57){for(n=t-48;s=48&&t<=57;)if(n=n*10+t-48,n<0)throw B(new er(rr((Yn(),Hwe))));if(i>n)throw B(new er(rr((Yn(),Yht))))}else n=-1}if(t!=125)throw B(new er(rr((Yn(),qht))));e.bm(s)?(c=(Ir(),Ir(),new Am(9,c)),e.d=s+1):(c=(Ir(),Ir(),new Am(3,c)),e.d=s),c.Om(i),c.Nm(n),Er(e)}}return c}function ean(e){var t,n,i,s,c;switch(n=u(A(e,(Oe(),Kl)),21),t=oA(m0t),s=u(A(e,(Ue(),xv)),346),s==(a1(),Cp)&&Bu(t,v0t),qe(Ve(A(e,xZ)))?cr(t,(Lo(),hf),(Ko(),AQ)):cr(t,(Lo(),Ol),(Ko(),AQ)),A(e,(SL(),Cx))!=null&&Bu(t,y0t),(qe(Ve(A(e,t3e)))||qe(Ve(A(e,J2e))))&&Lc(t,(Lo(),Ds),(Ko(),Yve)),u(A(e,Wu),88).g){case 2:case 3:case 4:Lc(cr(t,(Lo(),hf),(Ko(),Qve)),Ds,Jve)}switch(n.Hc((cs(),TN))&&Lc(cr(cr(t,(Lo(),hf),(Ko(),Xve)),zl,Vve),Ds,qve),fe(A(e,Ig))!==fe((La(),eB))&&cr(t,(Lo(),Ol),(Ko(),hye)),n.Hc(MN)&&(cr(t,(Lo(),hf),(Ko(),wye)),cr(t,Ah,gye),cr(t,Ol,bye)),fe(A(e,$N))!==fe(($k(),U9))&&fe(A(e,S1))!==fe((f1(),dO))&&Lc(t,(Lo(),Ds),(Ko(),lye)),qe(Ve(A(e,Z2e)))&&cr(t,(Lo(),Ol),(Ko(),sye)),qe(Ve(A(e,yZ)))&&cr(t,(Lo(),Ol),(Ko(),mye)),hnn(e)&&(fe(A(e,xv))===fe(Cp)?i=u(A(e,NP),299):i=u(A(e,vZ),299),c=i==(hk(),iZ)?(Ko(),pye):(Ko(),kye),cr(t,(Lo(),zl),c)),u(A(e,I3e),388).g){case 1:cr(t,(Lo(),zl),(Ko(),vye));break;case 2:Lc(cr(cr(t,(Lo(),Ol),(Ko(),Kve)),zl,Uve),Ds,Gve)}return fe(A(e,jh))!==fe((Gd(),wp))&&cr(t,(Lo(),Ol),(Ko(),yye)),t}function hat(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne;if(rc(e.a,t)){if(Pf(u(pn(e.a,t),49),n))return 1}else vr(e.a,t,new _i);if(rc(e.a,n)){if(Pf(u(pn(e.a,n),49),t))return-1}else vr(e.a,n,new _i);if(rc(e.e,t)){if(Pf(u(pn(e.e,t),49),n))return-1}else vr(e.e,t,new _i);if(rc(e.e,n)){if(Pf(u(pn(e.a,n),49),t))return 1}else vr(e.e,n,new _i);if(e.c==(Gd(),FZ)||!Xr(t,(Oe(),zr))||!Xr(n,(Oe(),zr))){for(k=null,m=new N(t.j);m.ad?Kk(e,t,n):Kk(e,n,t),sd?1:0}return i=u(A(t,(Oe(),zr)),17).a,c=u(A(n,zr),17).a,i>c?Kk(e,t,n):Kk(e,n,t),ic?1:0}function bw(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j;if(n==null)return null;if(e.a!=t.jk())throw B(new Qt(g8+t.xe()+xw));if(te(t,469)){if(j=Grn(u(t,685),n),!j)throw B(new Qt(lJ+n+"' is not a valid enumerator of '"+t.xe()+"'"));return j}switch(tp((Dc(),Oo),t).Nl()){case 2:{n=Nl(n,!1);break}case 3:{n=Nl(n,!0);break}}if(i=tp(Oo,t).Jl(),i)return i.jk().wi().ti(i,n);if(T=tp(Oo,t).Ll(),T){for(j=new Le,m=UW(n),v=0,k=m.length;v1)for(O=new Q3((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));O.e!=O.i.gc();)DS(O);for(d=u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166),j=Tr,Tr>ye+se?j=ye+se:TrMe+L?z=Me+L:aiye-se&&jMe-L&&zTr+vn?pt=Tr+vn:yeai+Fe?dt=ai+Fe:MeTr-vn&&ptai-Fe&&dtn&&(T=n-1),M=Pp+fu(t,24)*UM*k-k/2,M<0?M=1:M>i&&(M=i-1),s=(Up(),b=new q_,b),BL(s,T),NL(s,M),Dn((!d.a&&(d.a=new Ai(Yu,d,5)),d.a),s)}function pat(e){Mb(e,new _0(Eb(Cb(xb(Sb(new e0,pu),"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 n_e))),Re(e,pu,K4,1.3),Re(e,pu,s8,(Gt(),!1)),Re(e,pu,vw,k6e),Re(e,pu,lv,15),Re(e,pu,Q$,Ke(_2t)),Re(e,pu,c2,Ke(L2t)),Re(e,pu,G4,Ke($2t)),Re(e,pu,U4,Ke(D2t)),Re(e,pu,l8,Ke(A2t)),Re(e,pu,d9,Ke(Oee)),Re(e,pu,c8,Ke(N2t)),Re(e,pu,nwe,Ke(E6e)),Re(e,pu,rwe,Ke(x6e)),Re(e,pu,twe,Ke(Ree)),Re(e,pu,ewe,Ke(T6e)),Re(e,pu,iwe,Ke(y6e)),Re(e,pu,owe,Ke(_ee)),Re(e,pu,swe,Ke(v6e)),Re(e,pu,lwe,Ke(S6e)),Re(e,pu,f9,Ke(m6e)),Re(e,pu,eD,Ke(R2t)),Re(e,pu,Qbe,Ke(ZP)),Re(e,pu,Jbe,Ke(w6e)),Re(e,pu,Zbe,Ke(eO)),Re(e,pu,Ybe,Ke(C6e))}function Jq(e,t){$q();var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe;if(ne=e.e,v=e.d,s=e.a,ne==0)switch(t){case 0:return"0";case 1:return e8;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 z=new Hp,z.a+="0E",z.a+=-t,z.a}if(L=v*10+1+7,j=be(Ea,Yd,28,L+1,15,1),n=L,v==1)if(c=s[0],c<0){Fe=Yi(c,us);do k=Fe,Fe=uM(Fe,10),j[--n]=48+Vn(Ra(k,Ho(Fe,10)))&Di;while(yl(Fe,0)!=0)}else{Fe=c;do k=Fe,Fe=Fe/10|0,j[--n]=48+(k-Fe*10)&Di;while(Fe!=0)}else{se=be(Bn,ur,28,v,15,1),Me=v,Pl(s,0,se,0,Me);e:for(;;){for(Y=0,h=Me-1;h>=0;h--)ye=zo(nf(Y,32),Yi(se[h],us)),M=KJt(ye),se[h]=Vn(M),Y=Vn(Bb(M,32));O=Vn(Y),T=n;do j[--n]=48+O%10&Di;while((O=O/10|0)!=0&&n!=0);for(i=9-T+n,d=0;d0;d++)j[--n]=48;for(b=Me-1;se[b]==0;b--)if(b==0)break e;Me=b+1}for(;j[n]==48;)++n}return m=ne<0,m&&(j[--n]=45),Ud(j,n,L-n)}function gat(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me;switch(e.c=t,e.g=new On,n=(Pb(),new kb(e.c)),i=new rR(n),Kde(i),ne=Jn(Ie(e.c,(fM(),G6e))),b=u(Ie(e.c,Hee),324),ye=u(Ie(e.c,Kee),437),d=u(Ie(e.c,H6e),490),se=u(Ie(e.c,zee),438),e.j=le(pe(Ie(e.c,Q2t))),h=e.a,b.g){case 0:h=e.a;break;case 1:h=e.b;break;case 2:h=e.i;break;case 3:h=e.e;break;case 4:h=e.f;break;default:throw B(new Qt(uD+(b.f!=null?b.f:""+b.g)))}if(e.d=new sXe(h,ye,d),Ee(e.d,(ak(),B9),Ve(Ie(e.c,Y2t))),e.d.c=qe(Ve(Ie(e.c,K6e))),eL(e.c).i==0)return e.d;for(k=new hn(eL(e.c));k.e!=k.i.gc();){for(v=u(mn(k),27),M=v.g/2,T=v.f/2,Me=new Pe(v.i+M,v.j+T);rc(e.g,Me);)$b(Me,(w.Math.random()-.5)*Zd,(w.Math.random()-.5)*Zd);L=u(Ie(v,(pr(),Y8)),140),j=new yXe(Me,new ia(Me.a-M-e.j/2-L.b,Me.b-T-e.j/2-L.d,v.g+e.j+(L.b+L.c),v.f+e.j+(L.d+L.a))),je(e.d.i,j),vr(e.g,Me,new Gi(j,v))}switch(se.g){case 0:if(ne==null)e.d.d=u(Ye(e.d.i,0),68);else for(Y=new N(e.d.i);Y.a0?vn+1:1);for(d=new N(Me.g);d.a0?vn+1:1)}e.c[m]==0?ir(e.e,L):e.a[m]==0&&ir(e.f,L),++m}for(O=-1,M=1,k=new Le,e.d=u(A(t,(Oe(),s6)),234);Ju>0;){for(;e.e.b!=0;)ai=u(HU(e.e),10),e.b[ai.p]=O--,Rpe(e,ai),--Ju;for(;e.f.b!=0;)iu=u(HU(e.f),10),e.b[iu.p]=M++,Rpe(e,iu),--Ju;if(Ju>0){for(T=jo,Y=new N(ne);Y.a=T&&(se>T&&(k.c.length=0,T=se),Ft(k.c,L)));v=e.sg(k),e.b[v.p]=M++,Rpe(e,v),--Ju}}for(Tr=ne.c.length+1,m=0;me.b[Ms]&&(pw(i,!0),Ee(t,LP,(Gt(),!0)));e.a=null,e.c=null,e.b=null,Au(e.f),Au(e.e),n.Vg()}function bat(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me;for(ye=u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166),v=new Oc,se=new On,Me=Ect(ye),Jl(se.f,ye,Me),T=new On,i=new Zr,O=mh(Du(H(F(Gu,1),Bt,20,0,[(!t.d&&(t.d=new $t(Ti,t,8,5)),t.d),(!t.e&&(t.e=new $t(Ti,t,7,4)),t.e)])));jn(O);){if(M=u(Sn(O),74),(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i!=1)throw B(new Qt(nht+(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i));M!=e&&(j=u(re((!M.a&&(M.a=new Se(ei,M,6,6)),M.a),0),166),pi(i,j,i.c.b,i.c),L=u(_s(ss(se.f,j)),13),L||(L=Ect(j),Jl(se.f,j,L)),k=n?Xi(new Wo(u(Ye(Me,Me.c.length-1),8)),u(Ye(L,L.c.length-1),8)):Xi(new Wo((_t(0,Me.c.length),u(Me.c[0],8))),(_t(0,L.c.length),u(L.c[0],8))),Jl(T.f,j,k))}if(i.b!=0)for(z=u(Ye(Me,n?Me.c.length-1:0),8),m=1;m1&&pi(v,z,v.c.b,v.c),gW(s)));z=Y}return v}function wat(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt;for(n.Ug(wdt,1),zt=u(Hs(Ar(new xt(null,new Mt(t,16)),new _Oe),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),v=u(Hs(Ar(new xt(null,new Mt(t,16)),new mNe(t)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),15),O=u(Hs(Ar(new xt(null,new Mt(t,16)),new wNe(t)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[Gs]))),15),L=be(lB,iD,40,t.gc(),0,1),d=0;d=0&&dt=0&&!L[M]){L[M]=s,v.gd(h),--h;break}if(M=dt-T,M=0&&!L[M]){L[M]=s,v.gd(h),--h;break}}for(O.jd(new ROe),b=L.length-1;b>=0;b--)!L[b]&&!O.dc()&&(L[b]=u(O.Xb(0),40),O.gd(0));for(m=0;m=0;b--)ir(n,(_t(b,d.c.length),u(d.c[b],8)));return n}function vat(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;for(ne=le(pe(Ie(t,(xh(),Av)))),M=le(pe(Ie(t,wx))),T=le(pe(Ie(t,wB))),jfe((!t.a&&(t.a=new Se(xr,t,10,11)),t.a)),z=uut((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),ne,e.b),j=0;jT&&lM((_t(T,t.c.length),u(t.c[T],186)),v),v=null;t.c.length>T&&(_t(T,t.c.length),u(t.c[T],186)).a.c.length==0;)mc(t,(_t(T,t.c.length),t.c[T]));if(!v){--d;continue}if(!qe(Ve(u(Ye(v.b,0),27).of((ud(),eO))))&&Son(t,O,c,v,j,n,T,i)){L=!0;continue}if(j){if(M=O.b,k=v.f,!qe(Ve(u(Ye(v.b,0),27).of(eO)))&&Hln(t,O,c,v,n,T,i,s)){if(L=!0,M=e.j){e.a=-1,e.c=1;return}if(t=Ao(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(i=10,e.d>=e.j)throw B(new er(rr((Yn(),bD))));e.a=Ao(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Ao(e.i,e.d)!=63)break;if(++e.d>=e.j)throw B(new er(rr((Yn(),yJ))));switch(t=Ao(e.i,e.d++),t){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(e.d>=e.j)throw B(new er(rr((Yn(),yJ))));if(t=Ao(e.i,e.d++),t==61)i=16;else if(t==33)i=17;else throw B(new er(rr((Yn(),Pht))));break;case 35:for(;e.d=e.j)throw B(new er(rr((Yn(),bD))));e.a=Ao(e.i,e.d++);break;default:i=0}e.c=i}function aan(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j;if(n.Ug("Process compaction",1),!!qe(Ve(A(t,(sl(),T4e))))){for(s=u(A(t,Kw),88),M=le(pe(A(t,lee))),Dsn(e,t,s),Iun(t,M/2/2),O=t.b,k0(O,new aNe(s)),m=Ln(O,0);m.b!=m.d.c;)if(b=u(_n(m),40),!qe(Ve(A(b,(Wr(),Og))))){if(i=uin(b,s),L=isn(b,t),k=0,T=0,i)switch(j=i.e,s.g){case 2:k=j.a-M-b.f.a,L.e.a-M-b.f.ak&&(k=L.e.a+L.f.a+M),T=k+b.f.a;break;case 4:k=j.b-M-b.f.b,L.e.b-M-b.f.bk&&(k=L.e.b+L.f.b+M),T=k+b.f.b}else if(L)switch(s.g){case 2:k=L.e.a-M-b.f.a,T=k+b.f.a;break;case 1:k=L.e.a+L.f.a+M,T=k+b.f.a;break;case 4:k=L.e.b-M-b.f.b,T=k+b.f.b;break;case 3:k=L.e.b+L.f.b+M,T=k+b.f.b}fe(A(t,see))===fe((vS(),VP))?(c=k,d=T,h=wk(Ar(new xt(null,new Mt(e.a,16)),new ZHe(c,d))),h.a!=null?s==($i(),Is)||s==Ns?b.e.a=k:b.e.b=k:(s==($i(),Is)||s==Ca?h=wk(Ar(PZe(new xt(null,new Mt(e.a,16))),new fNe(c))):h=wk(Ar(PZe(new xt(null,new Mt(e.a,16))),new dNe(c))),h.a!=null&&(s==Is||s==Ns?b.e.a=le(pe((yn(h.a!=null),u(h.a,42)).a)):b.e.b=le(pe((yn(h.a!=null),u(h.a,42)).a)))),h.a!=null&&(v=Ls(e.a,(yn(h.a!=null),h.a),0),v>0&&v!=u(A(b,ch),17).a&&(Ee(b,m4e,(Gt(),!0)),Ee(b,ch,Ae(v))))):s==($i(),Is)||s==Ns?b.e.a=k:b.e.b=k}n.Vg()}}function yat(e){var t,n,i,s,c,d,h,b,m;for(e.b=1,Er(e),t=null,e.c==0&&e.a==94?(Er(e),t=(Ir(),Ir(),new ju(4)),Dl(t,0,v8),h=new ju(4)):h=(Ir(),Ir(),new ju(4)),s=!0;(m=e.c)!=1;){if(m==0&&e.a==93&&!s){t&&(n9(t,h),h=t);break}if(n=e.a,i=!1,m==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:nv(h,Uk(n)),i=!0;break;case 105:case 73:case 99:case 67:n=(nv(h,Uk(n)),-1),n<0&&(i=!0);break;case 112:case 80:if(b=$1e(e,n),!b)throw B(new er(rr((Yn(),kJ))));nv(h,b),i=!0;break;default:n=wpe(e)}else if(m==24&&!s){if(t&&(n9(t,h),h=t),c=yat(e),n9(h,c),e.c!=0||e.a!=93)throw B(new er(rr((Yn(),Bht))));break}if(Er(e),!i){if(m==0){if(n==91)throw B(new er(rr((Yn(),Fwe))));if(n==93)throw B(new er(rr((Yn(),zwe))));if(n==45&&!s&&e.a!=93)throw B(new er(rr((Yn(),CJ))))}if(e.c!=0||e.a!=45||n==45&&s)Dl(h,n,n);else{if(Er(e),(m=e.c)==1)throw B(new er(rr((Yn(),wD))));if(m==0&&e.a==93)Dl(h,n,n),Dl(h,45,45);else{if(m==0&&e.a==93||m==24)throw B(new er(rr((Yn(),CJ))));if(d=e.a,m==0){if(d==91)throw B(new er(rr((Yn(),Fwe))));if(d==93)throw B(new er(rr((Yn(),zwe))));if(d==45)throw B(new er(rr((Yn(),CJ))))}else m==10&&(d=wpe(e));if(Er(e),n>d)throw B(new er(rr((Yn(),Hht))));Dl(h,n,d)}}}s=!1}if(e.c==1)throw B(new er(rr((Yn(),wD))));return Xy(h),e9(h),e.b=0,Er(e),h}function fan(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye;if(n.Ug("Coffman-Graham Layering",1),t.a.c.length==0){n.Vg();return}for(ye=u(A(t,(Ue(),r3e)),17).a,b=0,d=0,T=new N(t.a);T.a=ye||!oqt(z,i))&&(i=bqe(t,v)),bo(z,i),c=new gn(wn(eo(z).a.Kc(),new $));jn(c);)s=u(Sn(c),18),!e.a[s.p]&&(L=s.c.i,--e.e[L.p],e.e[L.p]==0&&r4(jk(M,L),t8));for(m=v.c.length-1;m>=0;--m)je(t.b,(_t(m,v.c.length),u(v.c[m],30)));t.a.c.length=0,n.Vg()}function kat(e,t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se;se=!1;do for(se=!1,c=t?new r0(e.a.b).a.gc()-2:1;t?c>=0:cu(A(j,zr),17).a)&&(ne=!1);if(ne){for(b=t?c+1:c-1,h=Cae(e.a,Ae(b)),d=!1,Y=!0,i=!1,v=Ln(h,0);v.b!=v.d.c;)m=u(_n(v),10),Xr(m,zr)?m.p!=k.p&&(d=d|(t?u(A(m,zr),17).au(A(k,zr),17).a),Y=!1):!d&&Y&&m.k==(nn(),xl)&&(i=!0,t?T=u(Sn(new gn(wn(eo(m).a.Kc(),new $))),18).c.i:T=u(Sn(new gn(wn(Mi(m).a.Kc(),new $))),18).d.i,T==k&&(t?n=u(Sn(new gn(wn(Mi(m).a.Kc(),new $))),18).d.i:n=u(Sn(new gn(wn(eo(m).a.Kc(),new $))),18).c.i,(t?u(Cm(e.a,n),17).a-u(Cm(e.a,T),17).a:u(Cm(e.a,T),17).a-u(Cm(e.a,n),17).a)<=2&&(Y=!1)));if(i&&Y&&(t?n=u(Sn(new gn(wn(Mi(k).a.Kc(),new $))),18).d.i:n=u(Sn(new gn(wn(eo(k).a.Kc(),new $))),18).c.i,(t?u(Cm(e.a,n),17).a-u(Cm(e.a,k),17).a:u(Cm(e.a,k),17).a-u(Cm(e.a,n),17).a)<=2&&n.k==(nn(),Si)&&(Y=!1)),d||Y){for(L=Qst(e,k,t);L.a.gc()!=0;)O=u(L.a.ec().Kc().Pb(),10),L.a.Bc(O)!=null,vo(L,Qst(e,O,t));--M,se=!0}}}while(se)}function dan(e){Un(e.c,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#decimal"])),Un(e.d,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#integer"])),Un(e.e,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#boolean"])),Un(e.f,or,H(F(Je,1),_e,2,6,[$o,"EBoolean",Sr,"EBoolean:Object"])),Un(e.i,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#byte"])),Un(e.g,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Un(e.j,or,H(F(Je,1),_e,2,6,[$o,"EByte",Sr,"EByte:Object"])),Un(e.n,or,H(F(Je,1),_e,2,6,[$o,"EChar",Sr,"EChar:Object"])),Un(e.t,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#double"])),Un(e.u,or,H(F(Je,1),_e,2,6,[$o,"EDouble",Sr,"EDouble:Object"])),Un(e.F,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#float"])),Un(e.G,or,H(F(Je,1),_e,2,6,[$o,"EFloat",Sr,"EFloat:Object"])),Un(e.I,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#int"])),Un(e.J,or,H(F(Je,1),_e,2,6,[$o,"EInt",Sr,"EInt:Object"])),Un(e.N,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#long"])),Un(e.O,or,H(F(Je,1),_e,2,6,[$o,"ELong",Sr,"ELong:Object"])),Un(e.Z,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#short"])),Un(e.$,or,H(F(Je,1),_e,2,6,[$o,"EShort",Sr,"EShort:Object"])),Un(e._,or,H(F(Je,1),_e,2,6,[$o,"http://www.w3.org/2001/XMLSchema#string"]))}function han(e,t,n,i,s,c,d){var h,b,m,v,k,T,M,O;return T=u(i.a,17).a,M=u(i.b,17).a,k=e.b,O=e.c,h=0,v=0,t==($i(),Is)||t==Ns?(v=MT(fnt(Om(Rs(new xt(null,new Mt(n.b,16)),new LOe),new bOe))),k.e.b+k.f.b/2>v?(m=++M,h=le(pe(Cu(Im(Rs(new xt(null,new Mt(n.b,16)),new nKe(s,m)),new wOe))))):(b=++T,h=le(pe(Cu(o4(Rs(new xt(null,new Mt(n.b,16)),new rKe(s,b)),new mOe)))))):(v=MT(fnt(Om(Rs(new xt(null,new Mt(n.b,16)),new COe),new gOe))),k.e.a+k.f.a/2>v?(m=++M,h=le(pe(Cu(Im(Rs(new xt(null,new Mt(n.b,16)),new eKe(s,m)),new vOe))))):(b=++T,h=le(pe(Cu(o4(Rs(new xt(null,new Mt(n.b,16)),new tKe(s,b)),new yOe)))))),t==Is?(Go(e.a,new Pe(le(pe(A(k,(Wr(),Kf))))-s,h)),Go(e.a,new Pe(O.e.a+O.f.a+s+c,h)),Go(e.a,new Pe(O.e.a+O.f.a+s+c,O.e.b+O.f.b/2)),Go(e.a,new Pe(O.e.a+O.f.a,O.e.b+O.f.b/2))):t==Ns?(Go(e.a,new Pe(le(pe(A(k,(Wr(),gf))))+s,k.e.b+k.f.b/2)),Go(e.a,new Pe(k.e.a+k.f.a+s,h)),Go(e.a,new Pe(O.e.a-s-c,h)),Go(e.a,new Pe(O.e.a-s-c,O.e.b+O.f.b/2)),Go(e.a,new Pe(O.e.a,O.e.b+O.f.b/2))):t==Ca?(Go(e.a,new Pe(h,le(pe(A(k,(Wr(),Kf))))-s)),Go(e.a,new Pe(h,O.e.b+O.f.b+s+c)),Go(e.a,new Pe(O.e.a+O.f.a/2,O.e.b+O.f.b+s+c)),Go(e.a,new Pe(O.e.a+O.f.a/2,O.e.b+O.f.b+s))):(e.a.b==0||(u(Za(e.a),8).b=le(pe(A(k,(Wr(),gf))))+s*u(d.b,17).a),Go(e.a,new Pe(h,le(pe(A(k,(Wr(),gf))))+s*u(d.b,17).a)),Go(e.a,new Pe(h,O.e.b-s*u(d.a,17).a-c))),new Gi(Ae(T),Ae(M))}function pan(e){var t,n,i,s,c,d,h,b,m,v,k,T,M;if(d=!0,k=null,i=null,s=null,t=!1,M=j4t,m=null,c=null,h=0,b=vV(e,h,zke,Hke),b=0&&Et(e.substr(h,2),"//")?(h+=2,b=vV(e,h,Bx,Fx),i=(mo(h,b,e.length),e.substr(h,b-h)),h=b):k!=null&&(h==e.length||(Zt(h,e.length),e.charCodeAt(h)!=47))&&(d=!1,b=Wle(e,yc(35),h),b==-1&&(b=e.length),i=(mo(h,b,e.length),e.substr(h,b-h)),h=b);if(!n&&h0&&Ao(v,v.length-1)==58&&(s=v,h=b)),hpq(c))&&(k=c);for(!k&&(k=(_t(0,j.c.length),u(j.c[0],185))),L=new N(t.b);L.ak&&(Ht=0,vn+=v+Fe,v=0),fct(ye,d,Ht,vn),t=w.Math.max(t,Ht+Me.a),v=w.Math.max(v,Me.b),Ht+=Me.a+Fe;for(se=new On,n=new On,dt=new N(e);dt.a=-1900?1:0,n>=4?lr(e,H(F(Je,1),_e,2,6,[Nat,Bat])[h]):lr(e,H(F(Je,1),_e,2,6,["BC","AD"])[h]);break;case 121:Lqt(e,n,i);break;case 77:Qin(e,n,i);break;case 107:b=s.q.getHours(),b==0?kh(e,24,n):kh(e,b,n);break;case 83:dnn(e,n,s);break;case 69:v=i.q.getDay(),n==5?lr(e,H(F(Je,1),_e,2,6,["S","M","T","W","T","F","S"])[v]):n==4?lr(e,H(F(Je,1),_e,2,6,[wX,mX,vX,yX,kX,CX,SX])[v]):lr(e,H(F(Je,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?lr(e,H(F(Je,1),_e,2,6,["AM","PM"])[1]):lr(e,H(F(Je,1),_e,2,6,["AM","PM"])[0]);break;case 104:k=s.q.getHours()%12,k==0?kh(e,12,n):kh(e,k,n);break;case 75:T=s.q.getHours()%12,kh(e,T,n);break;case 72:M=s.q.getHours(),kh(e,M,n);break;case 99:O=i.q.getDay(),n==5?lr(e,H(F(Je,1),_e,2,6,["S","M","T","W","T","F","S"])[O]):n==4?lr(e,H(F(Je,1),_e,2,6,[wX,mX,vX,yX,kX,CX,SX])[O]):n==3?lr(e,H(F(Je,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[O]):kh(e,O,1);break;case 76:L=i.q.getMonth(),n==5?lr(e,H(F(Je,1),_e,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[L]):n==4?lr(e,H(F(Je,1),_e,2,6,[sX,lX,cX,uX,D4,aX,fX,dX,hX,pX,gX,bX])[L]):n==3?lr(e,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",D4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[L]):kh(e,L+1,n);break;case 81:j=i.q.getMonth()/3|0,n<4?lr(e,H(F(Je,1),_e,2,6,["Q1","Q2","Q3","Q4"])[j]):lr(e,H(F(Je,1),_e,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[j]);break;case 100:z=i.q.getDate(),kh(e,z,n);break;case 109:m=s.q.getMinutes(),kh(e,m,n);break;case 115:d=s.q.getSeconds(),kh(e,d,n);break;case 122:n<4?lr(e,c.c[0]):lr(e,c.c[1]);break;case 118:lr(e,c.b);break;case 90:n<3?lr(e,oen(c)):n==3?lr(e,aen(c)):lr(e,fen(c.a));break;default:return!1}return!0}function fge(e,t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn,Tr;if(ect(t),b=u(re((!t.b&&(t.b=new $t(Tn,t,4,7)),t.b),0),84),v=u(re((!t.c&&(t.c=new $t(Tn,t,5,8)),t.c),0),84),h=$s(b),m=$s(v),d=(!t.a&&(t.a=new Se(ei,t,6,6)),t.a).i==0?null:u(re((!t.a&&(t.a=new Se(ei,t,6,6)),t.a),0),166),Fe=u(pn(e.a,h),10),Ht=u(pn(e.a,m),10),pt=null,vn=null,te(b,193)&&(Me=u(pn(e.a,b),305),te(Me,12)?pt=u(Me,12):te(Me,10)&&(Fe=u(Me,10),pt=u(Ye(Fe.j,0),12))),te(v,193)&&(zt=u(pn(e.a,v),305),te(zt,12)?vn=u(zt,12):te(zt,10)&&(Ht=u(zt,10),vn=u(Ye(Ht.j,0),12))),!Fe||!Ht)throw B(new z3("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(L=new Vb,js(L,t),Ee(L,(Oe(),jr),t),Ee(L,(Ue(),Ts),null),M=u(A(i,Kl),21),Fe==Ht&&M.Fc((cs(),W9)),pt||(ye=(ls(),Zl),dt=null,d&&Cy(u(A(Fe,vi),101))&&(dt=new Pe(d.j,d.k),HYe(dt,aI(t)),bJe(dt,n),Nm(m,h)&&(ye=eu,Or(dt,Fe.n))),pt=tut(Fe,dt,ye,i)),vn||(ye=(ls(),eu),Tr=null,d&&Cy(u(A(Ht,vi),101))&&(Tr=new Pe(d.b,d.c),HYe(Tr,aI(t)),bJe(Tr,n)),vn=tut(Ht,Tr,ye,To(Ht))),Fo(L,pt),ao(L,vn),(pt.e.c.length>1||pt.g.c.length>1||vn.e.c.length>1||vn.g.c.length>1)&&M.Fc((cs(),G9)),T=new hn((!t.n&&(t.n=new Se(ms,t,1,7)),t.n));T.e!=T.i.gc();)if(k=u(mn(T),135),!qe(Ve(Ie(k,Q0)))&&k.a)switch(j=ZW(k),je(L.b,j),u(A(j,lh),278).g){case 1:case 2:M.Fc((cs(),L8));break;case 0:M.Fc((cs(),A8)),Ee(j,lh,(od(),Q8))}if(c=u(A(i,Q9),322),z=u(A(i,WN),323),s=c==(fS(),_P)||z==(_S(),NZ),d&&(!d.a&&(d.a=new Ai(Yu,d,5)),d.a).i!=0&&s){for(Y=hM(d),O=new Oc,se=Ln(Y,0);se.b!=se.d.c;)ne=u(_n(se),8),ir(O,new Wo(ne));Ee(L,o2e,O)}return L}function man(e,t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn,Tr,ai;for(dt=0,zt=0,Fe=new On,ye=u(Cu(Im(Rs(new xt(null,new Mt(e.b,16)),new kOe),new POe)),17).a+1,pt=be(Bn,ur,28,ye,15,1),j=be(Bn,ur,28,ye,15,1),L=0;L1)for(h=vn+1;hm.b.e.b*(1-z)+m.c.e.b*z));O++);if(Me.gc()>0&&(Tr=m.a.b==0?xo(m.b.e):u(Za(m.a),8),ne=Or(xo(u(Me.Xb(Me.gc()-1),40).e),u(Me.Xb(Me.gc()-1),40).f),T=Or(xo(u(Me.Xb(0),40).e),u(Me.Xb(0),40).f),O>=Me.gc()-1&&Tr.b>ne.b&&m.c.e.b>ne.b||O<=0&&Tr.bm.b.e.a*(1-z)+m.c.e.a*z));O++);if(Me.gc()>0&&(Tr=m.a.b==0?xo(m.b.e):u(Za(m.a),8),ne=Or(xo(u(Me.Xb(Me.gc()-1),40).e),u(Me.Xb(Me.gc()-1),40).f),T=Or(xo(u(Me.Xb(0),40).e),u(Me.Xb(0),40).f),O>=Me.gc()-1&&Tr.a>ne.a&&m.c.e.a>ne.a||O<=0&&Tr.a=le(pe(A(e,(Wr(),k4e))))&&++zt):(M.f&&M.d.e.a<=le(pe(A(e,(Wr(),nee))))&&++dt,M.g&&M.c.e.a+M.c.f.a>=le(pe(A(e,(Wr(),y4e))))&&++zt)}else se==0?A1e(m):se<0&&(++pt[vn],++j[ai],Ht=han(m,t,e,new Gi(Ae(dt),Ae(zt)),n,i,new Gi(Ae(j[ai]),Ae(pt[vn]))),dt=u(Ht.a,17).a,zt=u(Ht.b,17).a)}function van(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y;if(i=t,b=n,e.b&&i.j==(ze(),rn)&&b.j==(ze(),rn)&&(Y=i,i=b,b=Y),rc(e.a,i)){if(Pf(u(pn(e.a,i),49),b))return 1}else vr(e.a,i,new _i);if(rc(e.a,b)){if(Pf(u(pn(e.a,b),49),i))return-1}else vr(e.a,b,new _i);if(rc(e.d,i)){if(Pf(u(pn(e.d,i),49),b))return-1}else vr(e.d,i,new _i);if(rc(e.d,b)){if(Pf(u(pn(e.a,b),49),i))return 1}else vr(e.d,b,new _i);if(i.j!=b.j)return z=lRt(i.j,b.j),z==-1?ba(e,b,i):ba(e,i,b),z;if(i.e.c.length!=0&&b.e.c.length!=0){if(e.b&&(z=Btt(i,b),z!=0))return z==-1?ba(e,b,i):z==1&&ba(e,i,b),z;if(c=u(Ye(i.e,0),18).c.i,v=u(Ye(b.e,0),18).c.i,c==v)return s=u(A(u(Ye(i.e,0),18),(Oe(),zr)),17).a,m=u(A(u(Ye(b.e,0),18),zr),17).a,s>m?ba(e,i,b):ba(e,b,i),sm?1:0;for(O=e.c,L=0,j=O.length;Lm?ba(e,i,b):ba(e,b,i),sm?1:0):e.b&&(z=Btt(i,b),z!=0)?(z==-1?ba(e,b,i):z==1&&ba(e,i,b),z):(d=0,k=0,Xr(u(Ye(i.g,0),18),zr)&&(d=u(A(u(Ye(i.g,0),18),zr),17).a),Xr(u(Ye(b.g,0),18),zr)&&(k=u(A(u(Ye(i.g,0),18),zr),17).a),h&&h==T?qe(Ve(A(u(Ye(i.g,0),18),bd)))&&!qe(Ve(A(u(Ye(b.g,0),18),bd)))?(ba(e,i,b),1):!qe(Ve(A(u(Ye(i.g,0),18),bd)))&&qe(Ve(A(u(Ye(b.g,0),18),bd)))?(ba(e,b,i),-1):(d>k?ba(e,i,b):ba(e,b,i),dk?1:0):(e.f&&(e.f._b(h)&&(d=u(e.f.xc(h),17).a),e.f._b(T)&&(k=u(e.f.xc(T),17).a)),d>k?ba(e,i,b):ba(e,b,i),dk?1:0))):i.e.c.length!=0&&b.g.c.length!=0?(ba(e,i,b),1):i.g.c.length!=0&&b.e.c.length!=0?(ba(e,b,i),-1):Xr(i,(Oe(),zr))&&Xr(b,zr)?(s=u(A(i,zr),17).a,m=u(A(b,zr),17).a,s>m?ba(e,i,b):ba(e,b,i),sm?1:0):(ba(e,b,i),-1)}function yan(e){e.gb||(e.gb=!0,e.b=ol(e,0),gi(e.b,18),Jr(e.b,19),e.a=ol(e,1),gi(e.a,1),Jr(e.a,2),Jr(e.a,3),Jr(e.a,4),Jr(e.a,5),e.o=ol(e,2),gi(e.o,8),gi(e.o,9),Jr(e.o,10),Jr(e.o,11),Jr(e.o,12),Jr(e.o,13),Jr(e.o,14),Jr(e.o,15),Jr(e.o,16),Jr(e.o,17),Jr(e.o,18),Jr(e.o,19),Jr(e.o,20),Jr(e.o,21),Jr(e.o,22),Jr(e.o,23),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),Ss(e.o),e.p=ol(e,3),gi(e.p,2),gi(e.p,3),gi(e.p,4),gi(e.p,5),Jr(e.p,6),Jr(e.p,7),Ss(e.p),Ss(e.p),e.q=ol(e,4),gi(e.q,8),e.v=ol(e,5),Jr(e.v,9),Ss(e.v),Ss(e.v),Ss(e.v),e.w=ol(e,6),gi(e.w,2),gi(e.w,3),gi(e.w,4),Jr(e.w,5),e.B=ol(e,7),Jr(e.B,1),Ss(e.B),Ss(e.B),Ss(e.B),e.Q=ol(e,8),Jr(e.Q,0),Ss(e.Q),e.R=ol(e,9),gi(e.R,1),e.S=ol(e,10),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),Ss(e.S),e.T=ol(e,11),Jr(e.T,10),Jr(e.T,11),Jr(e.T,12),Jr(e.T,13),Jr(e.T,14),Ss(e.T),Ss(e.T),e.U=ol(e,12),gi(e.U,2),gi(e.U,3),Jr(e.U,4),Jr(e.U,5),Jr(e.U,6),Jr(e.U,7),Ss(e.U),e.V=ol(e,13),Jr(e.V,10),e.W=ol(e,14),gi(e.W,18),gi(e.W,19),gi(e.W,20),Jr(e.W,21),Jr(e.W,22),Jr(e.W,23),e.bb=ol(e,15),gi(e.bb,10),gi(e.bb,11),gi(e.bb,12),gi(e.bb,13),gi(e.bb,14),gi(e.bb,15),gi(e.bb,16),Jr(e.bb,17),Ss(e.bb),Ss(e.bb),e.eb=ol(e,16),gi(e.eb,2),gi(e.eb,3),gi(e.eb,4),gi(e.eb,5),gi(e.eb,6),gi(e.eb,7),Jr(e.eb,8),Jr(e.eb,9),e.ab=ol(e,17),gi(e.ab,0),gi(e.ab,1),e.H=ol(e,18),Jr(e.H,0),Jr(e.H,1),Jr(e.H,2),Jr(e.H,3),Jr(e.H,4),Jr(e.H,5),Ss(e.H),e.db=ol(e,19),Jr(e.db,2),e.c=kr(e,20),e.d=kr(e,21),e.e=kr(e,22),e.f=kr(e,23),e.i=kr(e,24),e.g=kr(e,25),e.j=kr(e,26),e.k=kr(e,27),e.n=kr(e,28),e.r=kr(e,29),e.s=kr(e,30),e.t=kr(e,31),e.u=kr(e,32),e.fb=kr(e,33),e.A=kr(e,34),e.C=kr(e,35),e.D=kr(e,36),e.F=kr(e,37),e.G=kr(e,38),e.I=kr(e,39),e.J=kr(e,40),e.L=kr(e,41),e.M=kr(e,42),e.N=kr(e,43),e.O=kr(e,44),e.P=kr(e,45),e.X=kr(e,46),e.Y=kr(e,47),e.Z=kr(e,48),e.$=kr(e,49),e._=kr(e,50),e.cb=kr(e,51),e.K=kr(e,52))}function kan(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn;for(d=new Zr,Me=u(A(n,(Ue(),Wu)),88),L=0,vo(d,(!t.a&&(t.a=new Se(xr,t,10,11)),t.a));d.b!=0;)v=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),27),m=ri(v),(fe(Ie(m,jh))!==fe((Gd(),wp))||fe(Ie(m,q0))===fe((ip(),_8))||fe(Ie(m,q0))===fe((ip(),O8))||qe(Ve(Ie(m,jw)))||fe(Ie(m,Sv))!==fe((M0(),wv))||fe(Ie(m,Ig))===fe((La(),zw))||fe(Ie(m,Ig))===fe((La(),Ov))||fe(Ie(m,Y0))===fe((up(),K8))||fe(Ie(m,Y0))===fe((up(),U8)))&&!qe(Ve(Ie(v,NN)))&&Dr(v,(Oe(),zr),Ae(L++)),z=!qe(Ve(Ie(v,Q0))),z&&(T=(!v.a&&(v.a=new Se(xr,v,10,11)),v.a).i!=0,O=YJt(v),M=fe(Ie(v,xv))===fe((a1(),Cp)),vn=!rd(v,(pr(),X8))||xJe(Jn(Ie(v,X8))),se=null,vn&&M&&(T||O)&&(se=jct(v),Ee(se,Wu,Me),Xr(se,BP)&&LFe(new qde(le(pe(A(se,BP)))),se),u(Ie(v,J0),181).gc()!=0&&(k=se,yi(new xt(null,(!v.c&&(v.c=new Se(ru,v,9,9)),new Mt(v.c,16))),new z$e(k)),Ilt(v,se))),Fe=n,pt=u(pn(e.a,ri(v)),10),pt&&(Fe=pt.e),ne=cat(e,v,Fe),se&&(ne.e=se,se.e=ne,vo(d,(!v.a&&(v.a=new Se(xr,v,10,11)),v.a))));for(L=0,pi(d,t,d.c.b,d.c);d.b!=0;){for(c=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),27),b=new hn((!c.b&&(c.b=new Se(Ti,c,12,3)),c.b));b.e!=b.i.gc();)h=u(mn(b),74),ect(h),(fe(Ie(t,jh))!==fe((Gd(),wp))||fe(Ie(t,q0))===fe((ip(),_8))||fe(Ie(t,q0))===fe((ip(),O8))||qe(Ve(Ie(t,jw)))||fe(Ie(t,Sv))!==fe((M0(),wv))||fe(Ie(t,Ig))===fe((La(),zw))||fe(Ie(t,Ig))===fe((La(),Ov))||fe(Ie(t,Y0))===fe((up(),K8))||fe(Ie(t,Y0))===fe((up(),U8)))&&Dr(h,(Oe(),zr),Ae(L++)),zt=$s(u(re((!h.b&&(h.b=new $t(Tn,h,4,7)),h.b),0),84)),Ht=$s(u(re((!h.c&&(h.c=new $t(Tn,h,5,8)),h.c),0),84)),!(qe(Ve(Ie(h,Q0)))||qe(Ve(Ie(zt,Q0)))||qe(Ve(Ie(Ht,Q0))))&&(j=fw(h)&&qe(Ve(Ie(zt,Ev)))&&qe(Ve(Ie(h,X0))),ye=c,j||Nm(Ht,zt)?ye=zt:Nm(zt,Ht)&&(ye=Ht),Fe=n,pt=u(pn(e.a,ye),10),pt&&(Fe=pt.e),Y=fge(e,h,ye,Fe),Ee(Y,(Oe(),t2e),krn(e,h,t,n)));if(M=fe(Ie(c,xv))===fe((a1(),Cp)),M)for(s=new hn((!c.a&&(c.a=new Se(xr,c,10,11)),c.a));s.e!=s.i.gc();)i=u(mn(s),27),vn=!rd(i,(pr(),X8))||xJe(Jn(Ie(i,X8))),dt=fe(Ie(i,xv))===fe(Cp),vn&&dt&&pi(d,i,d.c.b,d.c)}}function Oe(){Oe=U;var e,t;jr=new Br(Jge),t2e=new Br("coordinateOrigin"),hZ=new Br("processors"),e2e=new ui("compoundNode",(Gt(),!1)),jP=new ui("insideConnections",!1),o2e=new Br("originalBendpoints"),s2e=new Br("originalDummyNodePosition"),l2e=new Br("originalLabelEdge"),q9=new Br("representedLabels"),V9=new Br("endLabels"),r6=new Br("endLabel.origin"),o6=new ui("labelSide",(Fu(),pO)),E2=new ui("maxEdgeThickness",0),bd=new ui("reversed",!1),s6=new Br(Eft),Hf=new ui("longEdgeSource",null),Fa=new ui("longEdgeTarget",null),kv=new ui("longEdgeHasLabelDummies",!1),$P=new ui("longEdgeBeforeLabelDummy",!1),_N=new ui("edgeConstraint",(E0(),YQ)),Rw=new Br("inLayerLayoutUnit"),W0=new ui("inLayerConstraint",(l1(),AP)),i6=new ui("inLayerSuccessorConstraint",new Le),i2e=new ui("inLayerSuccessorConstraintBetweenNonDummies",!1),Zc=new Br("portDummy"),ON=new ui("crossingHint",Ae(0)),Kl=new ui("graphProperties",(t=u(Mf(rZ),9),new ra(t,u(ef(t,t.length),9),0))),fl=new ui("externalPortSide",(ze(),nl)),r2e=new ui("externalPortSize",new po),cZ=new Br("externalPortReplacedDummies"),RN=new Br("externalPortReplacedDummy"),C1=new ui("externalPortConnections",(e=u(Mf(ts),9),new ra(e,u(ef(e,e.length),9),0))),Aw=new ui(bft,0),Zye=new Br("barycenterAssociates"),l6=new Br("TopSideComments"),n6=new Br("BottomSideComments"),PN=new Br("CommentConnectionPort"),aZ=new ui("inputCollect",!1),dZ=new ui("outputCollect",!1),LP=new ui("cyclic",!1),n2e=new Br("crossHierarchyMap"),gZ=new Br("targetOffset"),new ui("splineLabelSize",new po),I2=new Br("spacings"),AN=new ui("partitionConstraint",!1),_w=new Br("breakingPoint.info"),a2e=new Br("splines.survivingEdge"),V0=new Br("splines.route.start"),M2=new Br("splines.edgeChain"),u2e=new Br("originalPortConstraints"),Lw=new Br("selfLoopHolder"),$8=new Br("splines.nsPortY"),zr=new Br("modelOrder"),fZ=new Br("longEdgeTargetNode"),Eg=new ui(Jft,!1),T2=new ui(Jft,!1),uZ=new Br("layerConstraints.hiddenNodes"),c2e=new Br("layerConstraints.opposidePort"),pZ=new Br("targetNode.modelOrder")}function Can(e,t,n,i){var s,c,d,h,b,m,v,k,T,M,O;for(k=Ln(e.b,0);k.b!=k.d.c;)if(v=u(_n(k),40),!Et(v.c,rD))for(c=u(Hs(new xt(null,new Mt(_en(v,e),16)),Xc(new ue,new ie,new dn,H(F(Es,1),Te,108,0,[(Jc(),Gs)]))),15),t==($i(),Is)||t==Ns?c.jd(new EOe):c.jd(new TOe),O=c.gc(),s=0;s0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,M=v.e.b+v.f.b/2,i>0&&w.Math.abs(b-M)/(w.Math.abs(h-T)/40)>50&&(M>b?Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a+i/5.3,v.e.b+v.f.b*d-i/2)):Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a+i/5.3,v.e.b+v.f.b*d+i/2)))),Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a,v.e.b+v.f.b*d))):t==Ns?(m=le(pe(A(v,(Wr(),Kf)))),v.e.a-i>m?Go(u(c.Xb(s),65).a,new Pe(m-n,v.e.b+v.f.b*d)):u(c.Xb(s),65).a.b>0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,M=v.e.b+v.f.b/2,i>0&&w.Math.abs(b-M)/(w.Math.abs(h-T)/40)>50&&(M>b?Go(u(c.Xb(s),65).a,new Pe(v.e.a-i/5.3,v.e.b+v.f.b*d-i/2)):Go(u(c.Xb(s),65).a,new Pe(v.e.a-i/5.3,v.e.b+v.f.b*d+i/2)))),Go(u(c.Xb(s),65).a,new Pe(v.e.a,v.e.b+v.f.b*d))):t==Ca?(m=le(pe(A(v,(Wr(),gf)))),v.e.b+v.f.b+i0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,M=v.e.b+v.f.b/2,i>0&&w.Math.abs(h-T)/(w.Math.abs(b-M)/40)>50&&(T>h?Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d-i/2,v.e.b+i/5.3+v.f.b)):Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d+i/2,v.e.b+i/5.3+v.f.b)))),Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d,v.e.b+v.f.b))):(m=le(pe(A(v,(Wr(),Kf)))),Ett(u(c.Xb(s),65),e)?Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d,u(Za(u(c.Xb(s),65).a),8).b)):v.e.b-i>m?Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d,m-n)):u(c.Xb(s),65).a.b>0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,M=v.e.b+v.f.b/2,i>0&&w.Math.abs(h-T)/(w.Math.abs(b-M)/40)>50&&(T>h?Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d-i/2,v.e.b-i/5.3)):Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d+i/2,v.e.b-i/5.3)))),Go(u(c.Xb(s),65).a,new Pe(v.e.a+v.f.a*d,v.e.b)))}function pr(){pr=U;var e,t;X8=new Br($dt),V2=new Br(Ddt),w5e=(Ch(),Wee),M3t=new St(obe,w5e),F2=new St(K4,null),P3t=new Br(mwe),v5e=(O0(),Yr(Xee,H(F(Yee,1),Te,298,0,[qee]))),oO=new St(Q$,v5e),sO=new St(iP,(Gt(),!1)),y5e=($i(),yd),nb=new St(LY,y5e),S5e=(f1(),ute),C5e=new St(rP,S5e),R3t=new St(bwe,!1),T5e=(a1(),AB),K2=new St(J$,T5e),j5e=new Ab(12),kp=new St(vw,j5e),cO=new St(f9,!1),ete=new St(eD,!1),uO=new St(d9,!1),F5e=(fo(),Lg),Ix=new St(eY,F5e),d6=new Br(Z$),aO=new Br(qM),lte=new Br(A$),cte=new Br(a9),I5e=new Oc,Uw=new St(bbe,I5e),_3t=new St(vbe,!1),A3t=new St(ybe,!1),M5e=new rC,Y8=new St(Cbe,M5e),PB=new St(rbe,!1),D3t=new St(Ndt,1),H2=new Br(Bdt),z2=new Br(Fdt),J8=new St(XM,!1),new St(zdt,!0),Ae(0),new St(Hdt,Ae(100)),new St(Kdt,!1),Ae(0),new St(Udt,Ae(4e3)),Ae(0),new St(Gdt,Ae(400)),new St(Wdt,!1),new St(Vdt,!1),new St(qdt,!0),new St(Xdt,!1),m5e=(bj(),hte),O3t=new St(wwe,m5e),N3t=new St(W0e,10),B3t=new St(V0e,10),U5e=new St(VX,20),F3t=new St(q0e,10),G5e=new St(ZX,2),W5e=new St(AY,10),V5e=new St(X0e,0),OB=new St(Q0e,5),q5e=new St(Y0e,1),X5e=new St(J0e,1),ib=new St(lv,20),z3t=new St(Z0e,10),Q5e=new St(ebe,10),h6=new Br(tbe),J5e=new eUe,Y5e=new St(Sbe,J5e),j3t=new Br($Y),$5e=!1,L3t=new St(jY,$5e),O5e=new Ab(5),P5e=new St(cbe,O5e),_5e=(Jm(),t=u(Mf(ds),9),new ra(t,u(ef(t,t.length),9),0)),U2=new St(l8,_5e),N5e=(Hy(),Ag),D5e=new St(fbe,N5e),nte=new Br(dbe),rte=new Br(hbe),ite=new Br(pbe),tte=new Br(gbe),R5e=(e=u(Mf(jx),9),new ra(e,u(ef(e,e.length),9),0)),rb=new St(c2,R5e),L5e=ht((du(),n7)),_g=new St(U4,L5e),A5e=new Pe(0,0),G2=new St(G4,A5e),Lv=new St(s8,!1),k5e=(od(),Q8),Qee=new St(wbe,k5e),Jee=new St(L$,!1),Ae(1),new St(Ydt,null),B5e=new Br(kbe),ote=new Br(mbe),K5e=(ze(),nl),W2=new St(ibe,K5e),bu=new Br(nbe),z5e=(Qc(),ht(jg)),jv=new St(c8,z5e),ste=new St(ube,!1),H5e=new St(abe,!0),RB=new St(YM,1),Z5e=new St(vwe,null),fO=new St(JM,150),_B=new St(QM,1.414),p6=new St(yw,null),H3t=new St(ywe,1),lO=new St(sbe,!1),Zee=new St(lbe,!1),x5e=new St(qX,1),E5e=(Uj(),fte),new St(Jdt,E5e),$3t=!0,U3t=(S4(),Nv),G3t=Nv,K3t=Nv}function Ko(){Ko=U,Qve=new Ri("DIRECTION_PREPROCESSOR",0),Xve=new Ri("COMMENT_PREPROCESSOR",1),m2=new Ri("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),RQ=new Ri("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),wye=new Ri("PARTITION_PREPROCESSOR",4),rN=new Ri("LABEL_DUMMY_INSERTER",5),hN=new Ri("SELF_LOOP_PREPROCESSOR",6),vv=new Ri("LAYER_CONSTRAINT_PREPROCESSOR",7),gye=new Ri("PARTITION_MIDPROCESSOR",8),sye=new Ri("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),hye=new Ri("NODE_PROMOTION",10),mv=new Ri("LAYER_CONSTRAINT_POSTPROCESSOR",11),bye=new Ri("PARTITION_POSTPROCESSOR",12),rye=new Ri("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),mye=new Ri("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Kve=new Ri("BREAKING_POINT_INSERTER",15),lN=new Ri("LONG_EDGE_SPLITTER",16),AQ=new Ri("PORT_SIDE_PROCESSOR",17),tN=new Ri("INVERTED_PORT_PROCESSOR",18),aN=new Ri("PORT_LIST_SORTER",19),yye=new Ri("SORT_BY_INPUT_ORDER_OF_MODEL",20),uN=new Ri("NORTH_SOUTH_PORT_PREPROCESSOR",21),Uve=new Ri("BREAKING_POINT_PROCESSOR",22),pye=new Ri(Kft,23),kye=new Ri(Uft,24),fN=new Ri("SELF_LOOP_PORT_RESTORER",25),vye=new Ri("SINGLE_EDGE_GRAPH_WRAPPER",26),nN=new Ri("IN_LAYER_CONSTRAINT_PROCESSOR",27),eye=new Ri("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),fye=new Ri("LABEL_AND_NODE_SIZE_PROCESSOR",29),aye=new Ri("INNERMOST_NODE_MARGIN_CALCULATOR",30),pN=new Ri("SELF_LOOP_ROUTER",31),Vve=new Ri("COMMENT_NODE_MARGIN_CALCULATOR",32),eN=new Ri("END_LABEL_PREPROCESSOR",33),oN=new Ri("LABEL_DUMMY_SWITCHER",34),Wve=new Ri("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),x8=new Ri("LABEL_SIDE_SELECTOR",36),cye=new Ri("HYPEREDGE_DUMMY_MERGER",37),iye=new Ri("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),dye=new Ri("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),z9=new Ri("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Yve=new Ri("CONSTRAINTS_POSTPROCESSOR",41),qve=new Ri("COMMENT_POSTPROCESSOR",42),uye=new Ri("HYPERNODE_PROCESSOR",43),oye=new Ri("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),sN=new Ri("LONG_EDGE_JOINER",45),dN=new Ri("SELF_LOOP_POSTPROCESSOR",46),Gve=new Ri("BREAKING_POINT_REMOVER",47),cN=new Ri("NORTH_SOUTH_PORT_POSTPROCESSOR",48),lye=new Ri("HORIZONTAL_COMPACTOR",49),iN=new Ri("LABEL_DUMMY_REMOVER",50),tye=new Ri("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Zve=new Ri("END_LABEL_SORTER",52),MP=new Ri("REVERSED_EDGE_RESTORER",53),ZD=new Ri("END_LABEL_POSTPROCESSOR",54),nye=new Ri("HIERARCHICAL_NODE_RESIZER",55),Jve=new Ri("DIRECTION_POSTPROCESSOR",56)}function dge(){dge=U,k2e=(_I(),CN),rwt=new St(l0e,k2e),gwt=new St(c0e,(Gt(),!1)),I2e=(hL(),lZ),ywt=new St(N$,I2e),jwt=new St(u0e,!1),$wt=new St(a0e,!0),Pbt=new St(f0e,!1),j2e=(PI(),HZ),Jwt=new St(d0e,j2e),Ae(1),omt=new St(h0e,Ae(7)),smt=new St(p0e,!1),bwt=new St(g0e,!1),y2e=(ip(),qQ),nwt=new St(lY,y2e),O2e=(up(),LZ),Lwt=new St(nP,O2e),M2e=(pa(),DP),Twt=new St(b0e,M2e),Ae(-1),Ewt=new St(w0e,null),Ae(-1),Iwt=new St(m0e,Ae(-1)),Ae(-1),Mwt=new St(cY,Ae(4)),Ae(-1),Owt=new St(uY,Ae(2)),P2e=(La(),eB),Awt=new St(aY,P2e),Ae(0),Rwt=new St(fY,Ae(0)),Swt=new St(dY,Ae(Pr)),v2e=(fS(),K9),twt=new St(g9,v2e),Fbt=new St(v0e,!1),Vbt=new St(hY,.1),Zbt=new St(pY,!1),Xbt=new St(y0e,null),Ybt=new St(k0e,null),Ae(-1),Jbt=new St(C0e,null),Ae(-1),Qbt=new St(S0e,Ae(-1)),Ae(0),zbt=new St(x0e,Ae(40)),m2e=(hk(),oZ),Gbt=new St(gY,m2e),w2e=RP,Hbt=new St(B$,w2e),L2e=(_S(),rx),Ywt=new St(u2,L2e),zwt=new Br(F$),_2e=(xI(),xN),Dwt=new St(bY,_2e),R2e=(aM(),EN),Bwt=new St(wY,R2e),Uwt=new St(mY,.3),Wwt=new Br(vY),A2e=(Gm(),ZN),Vwt=new St(yY,A2e),x2e=(tj(),UZ),cwt=new St(E0e,x2e),E2e=(mS(),WZ),uwt=new St(T0e,E2e),T2e=(kk(),sx),awt=new St(z$,T2e),dwt=new St(H$,.2),swt=new St(kY,2),tmt=new St(I0e,null),rmt=new St(M0e,10),nmt=new St(P0e,10),imt=new St(O0e,20),Ae(0),Qwt=new St(_0e,Ae(0)),Ae(0),Zwt=new St(R0e,Ae(0)),Ae(0),emt=new St(A0e,Ae(0)),Obt=new St(CY,!1),h2e=($k(),U9),Rbt=new St(L0e,h2e),d2e=(xL(),WQ),_bt=new St(j0e,d2e),mwt=new St(K$,!1),Ae(0),wwt=new St(SY,Ae(16)),Ae(0),vwt=new St(xY,Ae(5)),N2e=(oj(),XZ),Tmt=new St(v1,N2e),lmt=new St(U$,10),amt=new St(G$,1),D2e=(zL(),kN),wmt=new St(b9,D2e),hmt=new Br(EY),$2e=Ae(1),Ae(0),gmt=new St(TY,$2e),B2e=(FL(),qZ),Omt=new St(W$,B2e),Imt=new Br(V$),Cmt=new St(q$,!0),ymt=new St(X$,2),xmt=new St(IY,!0),S2e=(Wj(),SN),owt=new St($0e,S2e),C2e=(O4(),M8),iwt=new St(D0e,C2e),b2e=(Gd(),wp),Bbt=new St(Y$,b2e),Nbt=new St(N0e,!1),Dbt=new St(B0e,!1),p2e=(M0(),wv),Abt=new St(MY,p2e),g2e=(kS(),jZ),$bt=new St(F0e,g2e),Lbt=new St(PY,0),jbt=new St(OY,0),Cwt=XQ,kwt=_P,Pwt=JN,_wt=JN,xwt=AZ,qbt=(a1(),Cp),ewt=K9,Wbt=K9,Kbt=K9,Ubt=Cp,Hwt=ix,Kwt=rx,Nwt=rx,Fwt=rx,Gwt=BZ,Xwt=ix,qwt=ix,fwt=(f1(),g6),hwt=g6,pwt=sx,lwt=dO,cmt=G8,umt=_v,fmt=G8,dmt=_v,mmt=G8,vmt=_v,pmt=VQ,bmt=kN,_mt=G8,Rmt=_v,Mmt=G8,Pmt=_v,Smt=_v,kmt=_v,Emt=_v}function San(e,t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt,Ht,vn,Tr,ai,iu,Ms,Ju,Z2,Pp,Cf,Sf,cb,k6,Kg,C6,ah,Hh,Xw,S6,e3,fh,ub,I1,R6t,C8e,Yw,qx,Ote,x6,Xx,Wv,Yx,_te,A6t;for(C8e=0,Tr=t,Ms=0,Pp=Tr.length;Ms0&&(e.a[ah.p]=C8e++)}for(Xx=0,ai=n,Ju=0,Cf=ai.length;Ju0;){for(ah=(yn(e3.b>0),u(e3.a.Xb(e3.c=--e3.b),12)),S6=0,h=new N(ah.e);h.a0&&(ah.j==(ze(),en)?(e.a[ah.p]=Xx,++Xx):(e.a[ah.p]=Xx+Sf+k6,++k6))}Xx+=k6}for(Xw=new On,O=new Dd,vn=t,iu=0,Z2=vn.length;ium.b&&(m.b=fh)):ah.i.c==R6t&&(fhm.c&&(m.c=fh));for(J5(L,0,L.length,null),x6=be(Bn,ur,28,L.length,15,1),i=be(Bn,ur,28,Xx+1,15,1),z=0;z0;)Fe%2>0&&(s+=_te[Fe+1]),Fe=(Fe-1)/2|0,++_te[Fe];for(dt=be(Ovt,Bt,374,L.length*2,0,1),se=0;se0&&cI(iu.f),Ie(z,Z5e)!=null&&(h=u(Ie(z,Z5e),347),Xw=h.Tg(z),xy(z,w.Math.max(z.g,Xw.a),w.Math.max(z.f,Xw.b)));if(Cf=u(Ie(t,kp),107),M=t.g-(Cf.b+Cf.c),T=t.f-(Cf.d+Cf.a),fh.bh("Available Child Area: ("+M+"|"+T+")"),Dr(t,F2,M/T),ort(t,s,i.eh(Z2)),u(Ie(t,p6),280)==BB&&(cge(t),xy(t,Cf.b+le(pe(Ie(t,H2)))+Cf.c,Cf.d+le(pe(Ie(t,z2)))+Cf.a)),fh.bh("Executed layout algorithm: "+Jn(Ie(t,X8))+" on node "+t.k),u(Ie(t,p6),280)==Nv){if(M<0||T<0)throw B(new N1("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(rd(t,H2)||rd(t,z2)||cge(t),L=le(pe(Ie(t,H2))),O=le(pe(Ie(t,z2))),fh.bh("Desired Child Area: ("+L+"|"+O+")"),cb=M/L,k6=T/O,Sf=w.Math.min(cb,w.Math.min(k6,le(pe(Ie(t,H3t))))),Dr(t,RB,Sf),fh.bh(t.k+" -- Local Scale Factor (X|Y): ("+cb+"|"+k6+")"),se=u(Ie(t,oO),21),c=0,d=0,Sf'?":Et(Pht,e)?"'(?<' or '(? toIndex: ",Pge=", toIndex: ",Oge="Index: ",_ge=", Size: ",n8="org.eclipse.elk.alg.common",tr={50:1},Qat="org.eclipse.elk.alg.common.compaction",Zat="Scanline/EventHandler",Ph="org.eclipse.elk.alg.common.compaction.oned",eft="CNode belongs to another CGroup.",tft="ISpacingsHandler/1",jX="The ",$X=" instance has been finished already.",nft="The direction ",rft=" is not supported by the CGraph instance.",ift="OneDimensionalCompactor",oft="OneDimensionalCompactor/lambda$0$Type",sft="Quadruplet",lft="ScanlineConstraintCalculator",cft="ScanlineConstraintCalculator/ConstraintsScanlineHandler",uft="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",aft="ScanlineConstraintCalculator/Timestamp",fft="ScanlineConstraintCalculator/lambda$0$Type",Jd={178:1,46:1},DX="org.eclipse.elk.alg.common.compaction.options",tl="org.eclipse.elk.core.data",Rge="org.eclipse.elk.polyomino.traversalStrategy",Age="org.eclipse.elk.polyomino.lowLevelSort",Lge="org.eclipse.elk.polyomino.highLevelSort",jge="org.eclipse.elk.polyomino.fill",ja={134:1},NX="polyomino",l9="org.eclipse.elk.alg.common.networksimplex",Oh={183:1,3:1,4:1},dft="org.eclipse.elk.alg.common.nodespacing",j0="org.eclipse.elk.alg.common.nodespacing.cellsystem",r8="CENTER",hft={217:1,336:1},$ge={3:1,4:1,5:1,603:1},F4="LEFT",z4="RIGHT",Dge="Vertical alignment cannot be null",Nge="BOTTOM",I$="org.eclipse.elk.alg.common.nodespacing.internal",c9="UNDEFINED",fd=.01,GM="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",pft="LabelPlacer/lambda$0$Type",gft="LabelPlacer/lambda$1$Type",bft="portRatioOrPosition",i8="org.eclipse.elk.alg.common.overlaps",BX="DOWN",Qd="org.eclipse.elk.alg.common.polyomino",M$="NORTH",FX="EAST",zX="SOUTH",HX="WEST",P$="org.eclipse.elk.alg.common.polyomino.structures",Bge="Direction",KX="Grid is only of size ",UX=". Requested point (",GX=") is out of bounds.",O$=" Given center based coordinates were (",WM="org.eclipse.elk.graph.properties",wft="IPropertyHolder",Fge={3:1,96:1,137:1},H4="org.eclipse.elk.alg.common.spore",mft="org.eclipse.elk.alg.common.utils",$0={205:1},o2="org.eclipse.elk.core",vft="Connected Components Compaction",yft="org.eclipse.elk.alg.disco",_$="org.eclipse.elk.alg.disco.graph",WX="org.eclipse.elk.alg.disco.options",zge="CompactionStrategy",Hge="org.eclipse.elk.disco.componentCompaction.strategy",Kge="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Uge="org.eclipse.elk.disco.debug.discoGraph",Gge="org.eclipse.elk.disco.debug.discoPolys",kft="componentCompaction",D0="org.eclipse.elk.disco",VX="org.eclipse.elk.spacing.componentComponent",qX="org.eclipse.elk.edge.thickness",K4="org.eclipse.elk.aspectRatio",vw="org.eclipse.elk.padding",s2="org.eclipse.elk.alg.disco.transform",XX=1.5707963267948966,l2=17976931348623157e292,sv={3:1,4:1,5:1,198:1},Cft={3:1,6:1,4:1,5:1,100:1,115:1},YX="org.eclipse.elk.alg.force",Wge="ComponentsProcessor",Sft="ComponentsProcessor/1",Vge="ElkGraphImporter/lambda$0$Type",VM="org.eclipse.elk.alg.force.graph",xft="Component Layout",qge="org.eclipse.elk.alg.force.model",R$="org.eclipse.elk.force.model",Xge="org.eclipse.elk.force.iterations",Yge="org.eclipse.elk.force.repulsivePower",JX="org.eclipse.elk.force.temperature",Zd=.001,QX="org.eclipse.elk.force.repulsion",u9="org.eclipse.elk.alg.force.options",o8=1.600000023841858,uc="org.eclipse.elk.force",qM="org.eclipse.elk.priority",lv="org.eclipse.elk.spacing.nodeNode",ZX="org.eclipse.elk.spacing.edgeLabel",A$="org.eclipse.elk.randomSeed",a9="org.eclipse.elk.separateConnectedComponents",f9="org.eclipse.elk.interactive",eY="org.eclipse.elk.portConstraints",L$="org.eclipse.elk.edgeLabels.inline",d9="org.eclipse.elk.omitNodeMicroLayout",s8="org.eclipse.elk.nodeSize.fixedGraphSize",U4="org.eclipse.elk.nodeSize.options",c2="org.eclipse.elk.nodeSize.constraints",l8="org.eclipse.elk.nodeLabels.placement",c8="org.eclipse.elk.portLabels.placement",XM="org.eclipse.elk.topdownLayout",YM="org.eclipse.elk.topdown.scaleFactor",JM="org.eclipse.elk.topdown.hierarchicalNodeWidth",QM="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",yw="org.eclipse.elk.topdown.nodeType",Jge="origin",Eft="random",Tft="boundingBox.upLeft",Ift="boundingBox.lowRight",Qge="org.eclipse.elk.stress.fixed",Zge="org.eclipse.elk.stress.desiredEdgeLength",e0e="org.eclipse.elk.stress.dimension",t0e="org.eclipse.elk.stress.epsilon",n0e="org.eclipse.elk.stress.iterationLimit",bg="org.eclipse.elk.stress",Mft="ELK Stress",G4="org.eclipse.elk.nodeSize.minimum",j$="org.eclipse.elk.alg.force.stress",Pft="Layered layout",W4="org.eclipse.elk.alg.layered",ZM="org.eclipse.elk.alg.layered.compaction.components",h9="org.eclipse.elk.alg.layered.compaction.oned",$$="org.eclipse.elk.alg.layered.compaction.oned.algs",N0="org.eclipse.elk.alg.layered.compaction.recthull",dd="org.eclipse.elk.alg.layered.components",eh="NONE",r0e="MODEL_ORDER",Cl={3:1,6:1,4:1,9:1,5:1,126:1},Oft={3:1,6:1,4:1,5:1,150:1,100:1,115:1},D$="org.eclipse.elk.alg.layered.compound",qr={47:1},Bl="org.eclipse.elk.alg.layered.graph",tY=" -> ",_ft="Not supported by LGraph",i0e="Port side is undefined",nY={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},fp={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},Rft={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},Aft=`([{"' \r -`,Lft=`)]}"' \r -`,jft="The given string contains parts that cannot be parsed as numbers.",eP="org.eclipse.elk.core.math",$ft={3:1,4:1,140:1,214:1,423:1},Dft={3:1,4:1,107:1,214:1,423:1},dp="org.eclipse.elk.alg.layered.graph.transform",Nft="ElkGraphImporter",Bft="ElkGraphImporter/lambda$1$Type",Fft="ElkGraphImporter/lambda$2$Type",zft="ElkGraphImporter/lambda$4$Type",ln="org.eclipse.elk.alg.layered.intermediate",Hft="Node margin calculation",Kft="ONE_SIDED_GREEDY_SWITCH",Uft="TWO_SIDED_GREEDY_SWITCH",rY="No implementation is available for the layout processor ",iY="IntermediateProcessorStrategy",oY="Node '",Gft="FIRST_SEPARATE",Wft="LAST_SEPARATE",Vft="Odd port side processing",Ui="org.eclipse.elk.alg.layered.intermediate.compaction",p9="org.eclipse.elk.alg.layered.intermediate.greedyswitch",_h="org.eclipse.elk.alg.layered.p3order.counting",tP={230:1},V4="org.eclipse.elk.alg.layered.intermediate.loops",Uu="org.eclipse.elk.alg.layered.intermediate.loops.ordering",wg="org.eclipse.elk.alg.layered.intermediate.loops.routing",o0e="org.eclipse.elk.alg.layered.intermediate.preserveorder",th="org.eclipse.elk.alg.layered.intermediate.wrapping",Sl="org.eclipse.elk.alg.layered.options",sY="INTERACTIVE",s0e="GREEDY",qft="DEPTH_FIRST",Xft="EDGE_LENGTH",Yft="SELF_LOOPS",Jft="firstTryWithInitialOrder",l0e="org.eclipse.elk.layered.directionCongruency",c0e="org.eclipse.elk.layered.feedbackEdges",N$="org.eclipse.elk.layered.interactiveReferencePoint",u0e="org.eclipse.elk.layered.mergeEdges",a0e="org.eclipse.elk.layered.mergeHierarchyEdges",f0e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",d0e="org.eclipse.elk.layered.portSortingStrategy",h0e="org.eclipse.elk.layered.thoroughness",p0e="org.eclipse.elk.layered.unnecessaryBendpoints",g0e="org.eclipse.elk.layered.generatePositionAndLayerIds",lY="org.eclipse.elk.layered.cycleBreaking.strategy",nP="org.eclipse.elk.layered.layering.strategy",b0e="org.eclipse.elk.layered.layering.layerConstraint",w0e="org.eclipse.elk.layered.layering.layerChoiceConstraint",m0e="org.eclipse.elk.layered.layering.layerId",cY="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",uY="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",aY="org.eclipse.elk.layered.layering.nodePromotion.strategy",fY="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",dY="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",g9="org.eclipse.elk.layered.crossingMinimization.strategy",v0e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",hY="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",pY="org.eclipse.elk.layered.crossingMinimization.semiInteractive",y0e="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",k0e="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",C0e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",S0e="org.eclipse.elk.layered.crossingMinimization.positionId",x0e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",gY="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",B$="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",u2="org.eclipse.elk.layered.nodePlacement.strategy",F$="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bY="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",wY="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",mY="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",vY="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",yY="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",E0e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",T0e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",z$="org.eclipse.elk.layered.edgeRouting.splines.mode",H$="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",kY="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",I0e="org.eclipse.elk.layered.spacing.baseValue",M0e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",P0e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",O0e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",_0e="org.eclipse.elk.layered.priority.direction",R0e="org.eclipse.elk.layered.priority.shortness",A0e="org.eclipse.elk.layered.priority.straightness",CY="org.eclipse.elk.layered.compaction.connectedComponents",L0e="org.eclipse.elk.layered.compaction.postCompaction.strategy",j0e="org.eclipse.elk.layered.compaction.postCompaction.constraints",K$="org.eclipse.elk.layered.highDegreeNodes.treatment",SY="org.eclipse.elk.layered.highDegreeNodes.threshold",xY="org.eclipse.elk.layered.highDegreeNodes.treeHeight",v1="org.eclipse.elk.layered.wrapping.strategy",U$="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",G$="org.eclipse.elk.layered.wrapping.correctionFactor",b9="org.eclipse.elk.layered.wrapping.cutting.strategy",EY="org.eclipse.elk.layered.wrapping.cutting.cuts",TY="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",W$="org.eclipse.elk.layered.wrapping.validify.strategy",V$="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",q$="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",X$="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",IY="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",$0e="org.eclipse.elk.layered.edgeLabels.sideSelection",D0e="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",Y$="org.eclipse.elk.layered.considerModelOrder.strategy",N0e="org.eclipse.elk.layered.considerModelOrder.portModelOrder",B0e="org.eclipse.elk.layered.considerModelOrder.noModelOrder",MY="org.eclipse.elk.layered.considerModelOrder.components",F0e="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",PY="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",OY="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",_Y="layering",Qft="layering.minWidth",Zft="layering.nodePromotion",u8="crossingMinimization",J$="org.eclipse.elk.hierarchyHandling",edt="crossingMinimization.greedySwitch",tdt="nodePlacement",ndt="nodePlacement.bk",rdt="edgeRouting",rP="org.eclipse.elk.edgeRouting",hd="spacing",z0e="priority",H0e="compaction",idt="compaction.postCompaction",odt="Specifies whether and how post-process compaction is applied.",K0e="highDegreeNodes",U0e="wrapping",sdt="wrapping.cutting",ldt="wrapping.validify",G0e="wrapping.multiEdge",RY="edgeLabels",w9="considerModelOrder",W0e="org.eclipse.elk.spacing.commentComment",V0e="org.eclipse.elk.spacing.commentNode",q0e="org.eclipse.elk.spacing.edgeEdge",AY="org.eclipse.elk.spacing.edgeNode",X0e="org.eclipse.elk.spacing.labelLabel",Y0e="org.eclipse.elk.spacing.labelPortHorizontal",J0e="org.eclipse.elk.spacing.labelPortVertical",Q0e="org.eclipse.elk.spacing.labelNode",Z0e="org.eclipse.elk.spacing.nodeSelfLoop",ebe="org.eclipse.elk.spacing.portPort",tbe="org.eclipse.elk.spacing.individual",nbe="org.eclipse.elk.port.borderOffset",rbe="org.eclipse.elk.noLayout",ibe="org.eclipse.elk.port.side",iP="org.eclipse.elk.debugMode",obe="org.eclipse.elk.alignment",sbe="org.eclipse.elk.insideSelfLoops.activate",lbe="org.eclipse.elk.insideSelfLoops.yo",LY="org.eclipse.elk.direction",cbe="org.eclipse.elk.nodeLabels.padding",ube="org.eclipse.elk.portLabels.nextToPortIfPossible",abe="org.eclipse.elk.portLabels.treatAsGroup",fbe="org.eclipse.elk.portAlignment.default",dbe="org.eclipse.elk.portAlignment.north",hbe="org.eclipse.elk.portAlignment.south",pbe="org.eclipse.elk.portAlignment.west",gbe="org.eclipse.elk.portAlignment.east",Q$="org.eclipse.elk.contentAlignment",bbe="org.eclipse.elk.junctionPoints",wbe="org.eclipse.elk.edgeLabels.placement",mbe="org.eclipse.elk.port.index",vbe="org.eclipse.elk.commentBox",ybe="org.eclipse.elk.hypernode",kbe="org.eclipse.elk.port.anchor",jY="org.eclipse.elk.partitioning.activate",$Y="org.eclipse.elk.partitioning.partition",Z$="org.eclipse.elk.position",Cbe="org.eclipse.elk.margins",Sbe="org.eclipse.elk.spacing.portsSurrounding",eD="org.eclipse.elk.interactiveLayout",cl="org.eclipse.elk.core.util",xbe={3:1,4:1,5:1,601:1},cdt="NETWORK_SIMPLEX",Ebe="SIMPLE",as={106:1,47:1},tD="org.eclipse.elk.alg.layered.p1cycles",y1="org.eclipse.elk.alg.layered.p2layers",Tbe={413:1,230:1},udt={846:1,3:1,4:1},Bc="org.eclipse.elk.alg.layered.p3order",fs="org.eclipse.elk.alg.layered.p4nodes",adt={3:1,4:1,5:1,854:1},nh=1e-5,mg="org.eclipse.elk.alg.layered.p4nodes.bk",DY="org.eclipse.elk.alg.layered.p5edges",Bf="org.eclipse.elk.alg.layered.p5edges.orthogonal",NY="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",BY=1e-6,cv="org.eclipse.elk.alg.layered.p5edges.splines",FY=.09999999999999998,nD=1e-8,fdt=4.71238898038469,Ibe=3.141592653589793,k1="org.eclipse.elk.alg.mrtree",zY=.10000000149011612,rD="SUPER_ROOT",m9="org.eclipse.elk.alg.mrtree.graph",Mbe=-17976931348623157e292,Fl="org.eclipse.elk.alg.mrtree.intermediate",ddt="Processor compute fanout",iD={3:1,6:1,4:1,5:1,534:1,100:1,115:1},hdt="Set neighbors in level",oP="org.eclipse.elk.alg.mrtree.options",pdt="DESCENDANTS",Pbe="org.eclipse.elk.mrtree.compaction",Obe="org.eclipse.elk.mrtree.edgeEndTextureLength",_be="org.eclipse.elk.mrtree.treeLevel",Rbe="org.eclipse.elk.mrtree.positionConstraint",Abe="org.eclipse.elk.mrtree.weighting",Lbe="org.eclipse.elk.mrtree.edgeRoutingMode",jbe="org.eclipse.elk.mrtree.searchOrder",gdt="Position Constraint",ac="org.eclipse.elk.mrtree",bdt="org.eclipse.elk.tree",wdt="Processor arrange level",a8="org.eclipse.elk.alg.mrtree.p2order",Mu="org.eclipse.elk.alg.mrtree.p4route",$be="org.eclipse.elk.alg.radial",B0=6.283185307179586,Dbe="Before",Nbe=5e-324,oD="After",Bbe="org.eclipse.elk.alg.radial.intermediate",mdt="COMPACTION",HY="org.eclipse.elk.alg.radial.intermediate.compaction",vdt={3:1,4:1,5:1,100:1},Fbe="org.eclipse.elk.alg.radial.intermediate.optimization",KY="No implementation is available for the layout option ",v9="org.eclipse.elk.alg.radial.options",zbe="org.eclipse.elk.radial.centerOnRoot",Hbe="org.eclipse.elk.radial.orderId",Kbe="org.eclipse.elk.radial.radius",sD="org.eclipse.elk.radial.rotate",UY="org.eclipse.elk.radial.compactor",GY="org.eclipse.elk.radial.compactionStepSize",Ube="org.eclipse.elk.radial.sorter",Gbe="org.eclipse.elk.radial.wedgeCriteria",Wbe="org.eclipse.elk.radial.optimizationCriteria",WY="org.eclipse.elk.radial.rotation.targetAngle",VY="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Vbe="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",ydt="Compaction",qbe="rotation",wa="org.eclipse.elk.radial",kdt="org.eclipse.elk.alg.radial.p1position.wedge",Xbe="org.eclipse.elk.alg.radial.sorting",Cdt=5.497787143782138,Sdt=3.9269908169872414,xdt=2.356194490192345,Edt="org.eclipse.elk.alg.rectpacking",lD="org.eclipse.elk.alg.rectpacking.intermediate",qY="org.eclipse.elk.alg.rectpacking.options",Ybe="org.eclipse.elk.rectpacking.trybox",Jbe="org.eclipse.elk.rectpacking.currentPosition",Qbe="org.eclipse.elk.rectpacking.desiredPosition",Zbe="org.eclipse.elk.rectpacking.inNewRow",ewe="org.eclipse.elk.rectpacking.widthApproximation.strategy",twe="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",nwe="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",rwe="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",iwe="org.eclipse.elk.rectpacking.packing.strategy",owe="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",swe="org.eclipse.elk.rectpacking.packing.compaction.iterations",lwe="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",XY="widthApproximation",Tdt="Compaction Strategy",Idt="packing.compaction",pu="org.eclipse.elk.rectpacking",f8="org.eclipse.elk.alg.rectpacking.p1widthapproximation",cD="org.eclipse.elk.alg.rectpacking.p2packing",Mdt="No Compaction",cwe="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",sP="org.eclipse.elk.alg.rectpacking.util",uD="No implementation available for ",uv="org.eclipse.elk.alg.spore",av="org.eclipse.elk.alg.spore.options",kw="org.eclipse.elk.sporeCompaction",YY="org.eclipse.elk.underlyingLayoutAlgorithm",uwe="org.eclipse.elk.processingOrder.treeConstruction",awe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",JY="org.eclipse.elk.processingOrder.preferredRoot",QY="org.eclipse.elk.processingOrder.rootSelection",ZY="org.eclipse.elk.structure.structureExtractionStrategy",fwe="org.eclipse.elk.compaction.compactionStrategy",dwe="org.eclipse.elk.compaction.orthogonal",hwe="org.eclipse.elk.overlapRemoval.maxIterations",pwe="org.eclipse.elk.overlapRemoval.runScanline",eJ="processingOrder",Pdt="overlapRemoval",d8="org.eclipse.elk.sporeOverlap",Odt="org.eclipse.elk.alg.spore.p1structure",tJ="org.eclipse.elk.alg.spore.p2processingorder",nJ="org.eclipse.elk.alg.spore.p3execution",_dt="Topdown Layout",Rdt="Invalid index: ",h8="org.eclipse.elk.core.alg",a2={341:1},fv={295:1},Adt="Make sure its type is registered with the ",gwe=" utility class.",p8="true",rJ="false",Ldt="Couldn't clone property '",Cw=.05,gu="org.eclipse.elk.core.options",jdt=1.2999999523162842,Sw="org.eclipse.elk.box",bwe="org.eclipse.elk.expandNodes",wwe="org.eclipse.elk.box.packingMode",$dt="org.eclipse.elk.algorithm",Ddt="org.eclipse.elk.resolvedAlgorithm",mwe="org.eclipse.elk.bendPoints",Man="org.eclipse.elk.labelManager",Ndt="org.eclipse.elk.scaleFactor",Bdt="org.eclipse.elk.childAreaWidth",Fdt="org.eclipse.elk.childAreaHeight",zdt="org.eclipse.elk.animate",Hdt="org.eclipse.elk.animTimeFactor",Kdt="org.eclipse.elk.layoutAncestors",Udt="org.eclipse.elk.maxAnimTime",Gdt="org.eclipse.elk.minAnimTime",Wdt="org.eclipse.elk.progressBar",Vdt="org.eclipse.elk.validateGraph",qdt="org.eclipse.elk.validateOptions",Xdt="org.eclipse.elk.zoomToFit",Pan="org.eclipse.elk.font.name",Ydt="org.eclipse.elk.font.size",vwe="org.eclipse.elk.topdown.sizeApproximator",ywe="org.eclipse.elk.topdown.scaleCap",Jdt="org.eclipse.elk.edge.type",Qdt="partitioning",Zdt="nodeLabels",aD="portAlignment",iJ="nodeSize",oJ="port",kwe="portLabels",lP="topdown",eht="insideSelfLoops",y9="org.eclipse.elk.fixed",fD="org.eclipse.elk.random",Cwe={3:1,34:1,22:1,347:1},tht="port must have a parent node to calculate the port side",nht="The edge needs to have exactly one edge section. Found: ",k9="org.eclipse.elk.core.util.adapters",ma="org.eclipse.emf.ecore",f2="org.eclipse.elk.graph",rht="EMapPropertyHolder",iht="ElkBendPoint",oht="ElkGraphElement",sht="ElkConnectableShape",Swe="ElkEdge",lht="ElkEdgeSection",cht="EModelElement",uht="ENamedElement",xwe="ElkLabel",Ewe="ElkNode",Twe="ElkPort",aht={94:1,93:1},q4="org.eclipse.emf.common.notify.impl",vg="The feature '",C9="' is not a valid changeable feature",fht="Expecting null",sJ="' is not a valid feature",dht="The feature ID",hht=" is not a valid feature ID",wl=32768,pht={110:1,94:1,93:1,58:1,54:1,99:1},Vt="org.eclipse.emf.ecore.impl",F0="org.eclipse.elk.graph.impl",S9="Recursive containment not allowed for ",g8="The datatype '",xw="' is not a valid classifier",lJ="The value '",d2={195:1,3:1,4:1},cJ="The class '",b8="http://www.eclipse.org/elk/ElkGraph",Iwe="property",x9="value",uJ="source",ght="properties",bht="identifier",aJ="height",fJ="width",dJ="parent",hJ="text",pJ="children",wht="hierarchical",Mwe="sources",gJ="targets",Pwe="sections",dD="bendPoints",Owe="outgoingShape",_we="incomingShape",Rwe="outgoingSections",Awe="incomingSections",Xo="org.eclipse.emf.common.util",Lwe="Severe implementation error in the Json to ElkGraph importer.",rh="id",Mo="org.eclipse.elk.graph.json",jwe="Unhandled parameter types: ",mht="startPoint",vht="An edge must have at least one source and one target (edge id: '",w8="').",yht="Referenced edge section does not exist: ",kht=" (edge id: '",$we="target",Cht="sourcePoint",Sht="targetPoint",hD="group",Sr="name",xht="connectableShape cannot be null",Eht="edge cannot be null",bJ="Passed edge is not 'simple'.",pD="org.eclipse.elk.graph.util",cP="The 'no duplicates' constraint is violated",wJ="targetIndex=",z0=", size=",mJ="sourceIndex=",ih={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},vJ={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},gD="logging",Tht="measureExecutionTime",Iht="parser.parse.1",Mht="parser.parse.2",bD="parser.next.1",yJ="parser.next.2",Pht="parser.next.3",Oht="parser.next.4",H0="parser.factor.1",Dwe="parser.factor.2",_ht="parser.factor.3",Rht="parser.factor.4",Aht="parser.factor.5",Lht="parser.factor.6",jht="parser.atom.1",$ht="parser.atom.2",Dht="parser.atom.3",Nwe="parser.atom.4",kJ="parser.atom.5",Bwe="parser.cc.1",wD="parser.cc.2",Nht="parser.cc.3",Bht="parser.cc.5",Fwe="parser.cc.6",zwe="parser.cc.7",CJ="parser.cc.8",Fht="parser.ope.1",zht="parser.ope.2",Hht="parser.ope.3",hp="parser.descape.1",Kht="parser.descape.2",Uht="parser.descape.3",Ght="parser.descape.4",Wht="parser.descape.5",va="parser.process.1",Vht="parser.quantifier.1",qht="parser.quantifier.2",Xht="parser.quantifier.3",Yht="parser.quantifier.4",Hwe="parser.quantifier.5",Jht="org.eclipse.emf.common.notify",Kwe={424:1,686:1},Qht={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},uP={378:1,152:1},E9="index=",SJ={3:1,4:1,5:1,129:1},Zht={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},Uwe={3:1,6:1,4:1,5:1,198:1},e1t={3:1,4:1,5:1,173:1,379:1},t1t=";/?:@&=+$,",n1t="invalid authority: ",r1t="EAnnotation",i1t="ETypedElement",o1t="EStructuralFeature",s1t="EAttribute",l1t="EClassifier",c1t="EEnumLiteral",u1t="EGenericType",a1t="EOperation",f1t="EParameter",d1t="EReference",h1t="ETypeParameter",ni="org.eclipse.emf.ecore.util",xJ={79:1},Gwe={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},p1t="org.eclipse.emf.ecore.util.FeatureMap$Entry",Fc=8192,dv=2048,T9="byte",mD="char",I9="double",M9="float",P9="int",O9="long",_9="short",g1t="java.lang.Object",h2={3:1,4:1,5:1,254:1},Wwe={3:1,4:1,5:1,688:1},b1t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Us={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},aP="mixed",or="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",$a="kind",w1t={3:1,4:1,5:1,689:1},Vwe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},vD={20:1,31:1,56:1,16:1,15:1,61:1,71:1},yD={51:1,128:1,287:1},kD={76:1,343:1},CD="The value of type '",SD="' must be of type '",p2=1352,Da="http://www.eclipse.org/emf/2002/Ecore",xD=-32768,Ew="constraints",$o="baseType",m1t="getEStructuralFeature",v1t="getFeatureID",R9="feature",y1t="getOperationID",qwe="operation",k1t="defaultValue",C1t="eTypeParameters",S1t="isInstance",x1t="getEEnumLiteral",E1t="eContainingClass",mr={57:1},T1t={3:1,4:1,5:1,124:1},I1t="org.eclipse.emf.ecore.resource",M1t={94:1,93:1,599:1,2034:1},EJ="org.eclipse.emf.ecore.resource.impl",Xwe="unspecified",fP="simple",ED="attribute",P1t="attributeWildcard",TD="element",TJ="elementWildcard",Ff="collapse",IJ="itemType",ID="namespace",dP="##targetNamespace",Na="whiteSpace",Ywe="wildcards",K0="http://www.eclipse.org/emf/2003/XMLType",MJ="##any",m8="uninitialized",hP="The multiplicity constraint is violated",MD="org.eclipse.emf.ecore.xml.type",O1t="ProcessingInstruction",_1t="SimpleAnyType",R1t="XMLTypeDocumentRoot",Ni="org.eclipse.emf.ecore.xml.type.impl",pP="INF",A1t="processing",L1t="ENTITIES_._base",Jwe="minLength",Qwe="ENTITY",PD="NCName",j1t="IDREFS_._base",Zwe="integer",PJ="token",OJ="pattern",$1t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",eme="\\i\\c*",D1t="[\\i-[:]][\\c-[:]]*",N1t="nonPositiveInteger",gP="maxInclusive",tme="NMTOKEN",B1t="NMTOKENS_._base",nme="nonNegativeInteger",bP="minInclusive",F1t="normalizedString",z1t="unsignedByte",H1t="unsignedInt",K1t="18446744073709551615",U1t="unsignedShort",G1t="processingInstruction",pp="org.eclipse.emf.ecore.xml.type.internal",v8=1114111,W1t="Internal Error: shorthands: \\u",A9="xml:isDigit",_J="xml:isWord",RJ="xml:isSpace",AJ="xml:isNameChar",LJ="xml:isInitialNameChar",V1t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",q1t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",X1t="Private Use",jJ="ASSIGNED",$J="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",rme="UNASSIGNED",y8={3:1,122:1},Y1t="org.eclipse.emf.ecore.xml.type.util",OD={3:1,4:1,5:1,381:1},ime="org.eclipse.xtext.xbase.lib",J1t="Cannot add elements to a Range",Q1t="Cannot set elements in a Range",Z1t="Cannot remove elements from a Range",ept="user.agent",f,_D,DJ;w.goog=w.goog||{},w.goog.global=w.goog.global||w,_D={},C(1,null,{},S),f.Fb=function(t){return YKe(this,t)},f.Gb=function(){return this.Rm},f.Hb=function(){return jb(this)},f.Ib=function(){var t;return l0(Tu(this))+"@"+(t=Vr(this)>>>0,t.toString(16))},f.equals=function(e){return this.Fb(e)},f.hashCode=function(){return this.Hb()},f.toString=function(){return this.Ib()};var tpt,npt,rpt;C(297,1,{297:1,2124:1},Zfe),f.ve=function(t){var n;return n=new Zfe,n.i=4,t>1?n.c=mXe(this,t-1):n.c=this,n},f.we=function(){return Zh(this),this.b},f.xe=function(){return l0(this)},f.ye=function(){return Zh(this),this.k},f.ze=function(){return(this.i&4)!=0},f.Ae=function(){return(this.i&1)!=0},f.Ib=function(){return afe(this)},f.i=0;var Ji=x(ll,"Object",1),ome=x(ll,"Class",297);C(2096,1,LM),x(jM,"Optional",2096),C(1191,2096,LM,E),f.Fb=function(t){return t===this},f.Hb=function(){return 2040732332},f.Ib=function(){return"Optional.absent()"},f.Jb=function(t){return qn(t),oC(),NJ};var NJ;x(jM,"Absent",1191),C(636,1,{},vK),x(jM,"Joiner",636);var Oan=fi(jM,"Predicate");C(589,1,{178:1,589:1,3:1,46:1},Eje),f.Mb=function(t){return ytt(this,t)},f.Lb=function(t){return ytt(this,t)},f.Fb=function(t){var n;return te(t,589)?(n=u(t,589),Y1e(this.a,n.a)):!1},f.Hb=function(){return ode(this.a)+306654252},f.Ib=function(){return bZt(this.a)},x(jM,"Predicates/AndPredicate",589),C(419,2096,{419:1,3:1},Z_),f.Fb=function(t){var n;return te(t,419)?(n=u(t,419),Rr(this.a,n.a)):!1},f.Hb=function(){return 1502476572+Vr(this.a)},f.Ib=function(){return Mat+this.a+")"},f.Jb=function(t){return new Z_(ZA(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},x(jM,"Present",419),C(204,1,Xk),f.Nb=function(t){Eo(this,t)},f.Qb=function(){BFe()},x(mt,"UnmodifiableIterator",204),C(2076,204,Yk),f.Qb=function(){BFe()},f.Rb=function(t){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(mt,"UnmodifiableListIterator",2076),C(399,2076,Yk),f.Ob=function(){return this.c0},f.Pb=function(){if(this.c>=this.d)throw B(new qs);return this.Xb(this.c++)},f.Tb=function(){return this.c},f.Ub=function(){if(this.c<=0)throw B(new qs);return this.Xb(--this.c)},f.Vb=function(){return this.c-1},f.c=0,f.d=0,x(mt,"AbstractIndexedListIterator",399),C(713,204,Xk),f.Ob=function(){return kW(this)},f.Pb=function(){return ife(this)},f.e=1,x(mt,"AbstractIterator",713),C(2084,1,{229:1}),f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.Fb=function(t){return KW(this,t)},f.Hb=function(){return Vr(this.Zb())},f.dc=function(){return this.gc()==0},f.ec=function(){return i4(this)},f.Ib=function(){return Ks(this.Zb())},x(mt,"AbstractMultimap",2084),C(742,2084,A0),f.$b=function(){KL(this)},f._b=function(t){return ize(this,t)},f.ac=function(){return new x5(this,this.c)},f.ic=function(t){return this.hc()},f.bc=function(){return new Py(this,this.c)},f.jc=function(){return this.mc(this.hc())},f.kc=function(){return new SFe(this)},f.lc=function(){return QV(this.c.vc().Nc(),new P,64,this.d)},f.cc=function(t){return Lr(this,t)},f.fc=function(t){return VI(this,t)},f.gc=function(){return this.d},f.mc=function(t){return Ot(),new f5(t)},f.nc=function(){return new CFe(this)},f.oc=function(){return QV(this.c.Cc().Nc(),new I,64,this.d)},f.pc=function(t,n){return new kL(this,t,n,null)},f.d=0,x(mt,"AbstractMapBasedMultimap",742),C(1696,742,A0),f.hc=function(){return new ql(this.a)},f.jc=function(){return Ot(),Ot(),Yo},f.cc=function(t){return u(Lr(this,t),15)},f.fc=function(t){return u(VI(this,t),15)},f.Zb=function(){return a4(this)},f.Fb=function(t){return KW(this,t)},f.qc=function(t){return u(Lr(this,t),15)},f.rc=function(t){return u(VI(this,t),15)},f.mc=function(t){return xG(u(t,15))},f.pc=function(t,n){return EYe(this,t,u(n,15),null)},x(mt,"AbstractListMultimap",1696),C(748,1,co),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return this.c.Ob()||this.e.Ob()},f.Pb=function(){var t;return this.e.Ob()||(t=u(this.c.Pb(),44),this.b=t.ld(),this.a=u(t.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},f.Qb=function(){this.e.Qb(),u(Oa(this.a),16).dc()&&this.c.Qb(),--this.d.d},x(mt,"AbstractMapBasedMultimap/Itr",748),C(1129,748,co,CFe),f.sc=function(t,n){return n},x(mt,"AbstractMapBasedMultimap/1",1129),C(1130,1,{},I),f.Kb=function(t){return u(t,16).Nc()},x(mt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),C(1131,748,co,SFe),f.sc=function(t,n){return new Ib(t,n)},x(mt,"AbstractMapBasedMultimap/2",1131);var sme=fi(In,"Map");C(2065,1,ww),f.wc=function(t){gS(this,t)},f.yc=function(t,n,i){return cV(this,t,n,i)},f.$b=function(){this.vc().$b()},f.tc=function(t){return LV(this,t)},f._b=function(t){return!!qhe(this,t,!1)},f.uc=function(t){var n,i,s;for(i=this.vc().Kc();i.Ob();)if(n=u(i.Pb(),44),s=n.md(),fe(t)===fe(s)||t!=null&&Rr(t,s))return!0;return!1},f.Fb=function(t){var n,i,s;if(t===this)return!0;if(!te(t,85)||(s=u(t,85),this.gc()!=s.gc()))return!1;for(i=s.vc().Kc();i.Ob();)if(n=u(i.Pb(),44),!this.tc(n))return!1;return!0},f.xc=function(t){return _s(qhe(this,t,!1))},f.Hb=function(){return Xfe(this.vc())},f.dc=function(){return this.gc()==0},f.ec=function(){return new r0(this)},f.zc=function(t,n){throw B(new D1("Put not supported on this map"))},f.Ac=function(t){pS(this,t)},f.Bc=function(t){return _s(qhe(this,t,!0))},f.gc=function(){return this.vc().gc()},f.Ib=function(){return Rit(this)},f.Cc=function(){return new Xh(this)},x(In,"AbstractMap",2065),C(2085,2065,ww),f.bc=function(){return new kR(this)},f.vc=function(){return kVe(this)},f.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},f.Cc=function(){var t;return t=this.i,t||(this.i=new qze(this))},x(mt,"Maps/ViewCachingAbstractMap",2085),C(402,2085,ww,x5),f.xc=function(t){return jKt(this,t)},f.Bc=function(t){return iWt(this,t)},f.$b=function(){this.d==this.e.c?this.e.$b():OA(new lue(this))},f._b=function(t){return int(this.d,t)},f.Ec=function(){return new Tje(this)},f.Dc=function(){return this.Ec()},f.Fb=function(t){return this===t||Rr(this.d,t)},f.Hb=function(){return Vr(this.d)},f.ec=function(){return this.e.ec()},f.gc=function(){return this.d.gc()},f.Ib=function(){return Ks(this.d)},x(mt,"AbstractMapBasedMultimap/AsMap",402);var Gu=fi(ll,"Iterable");C(31,1,rv),f.Jc=function(t){Io(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Mt(this,0)},f.Oc=function(){return new xt(null,this.Nc())},f.Fc=function(t){throw B(new D1("Add not supported on this collection"))},f.Gc=function(t){return vo(this,t)},f.$b=function(){Vue(this)},f.Hc=function(t){return Km(this,t,!1)},f.Ic=function(t){return BI(this,t)},f.dc=function(){return this.gc()==0},f.Mc=function(t){return Km(this,t,!0)},f.Pc=function(){return wue(this)},f.Qc=function(t){return AS(this,t)},f.Ib=function(){return ag(this)},x(In,"AbstractCollection",31);var Ba=fi(In,"Set");C(ad,31,Nc),f.Nc=function(){return new Mt(this,1)},f.Fb=function(t){return Xnt(this,t)},f.Hb=function(){return Xfe(this)},x(In,"AbstractSet",ad),C(2068,ad,Nc),x(mt,"Sets/ImprovedAbstractSet",2068),C(2069,2068,Nc),f.$b=function(){this.Rc().$b()},f.Hc=function(t){return Ant(this,t)},f.dc=function(){return this.Rc().dc()},f.Mc=function(t){var n;return this.Hc(t)&&te(t,44)?(n=u(t,44),this.Rc().ec().Mc(n.ld())):!1},f.gc=function(){return this.Rc().gc()},x(mt,"Maps/EntrySet",2069),C(1127,2069,Nc,Tje),f.Hc=function(t){return Cde(this.a.d.vc(),t)},f.Kc=function(){return new lue(this.a)},f.Rc=function(){return this.a},f.Mc=function(t){var n;return Cde(this.a.d.vc(),t)?(n=u(Oa(u(t,44)),44),SHt(this.a.e,n.ld()),!0):!1},f.Nc=function(){return YT(this.a.d.vc().Nc(),new Ije(this.a))},x(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),C(1128,1,{},Ije),f.Kb=function(t){return SJe(this.a,u(t,44))},x(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),C(746,1,co,lue),f.Nb=function(t){Eo(this,t)},f.Pb=function(){var t;return t=u(this.b.Pb(),44),this.a=u(t.md(),16),SJe(this.c,t)},f.Ob=function(){return this.b.Ob()},f.Qb=function(){A5(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},x(mt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),C(542,2068,Nc,kR),f.$b=function(){this.b.$b()},f.Hc=function(t){return this.b._b(t)},f.Jc=function(t){qn(t),this.b.wc(new Uje(t))},f.dc=function(){return this.b.dc()},f.Kc=function(){return new sC(this.b.vc().Kc())},f.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},f.gc=function(){return this.b.gc()},x(mt,"Maps/KeySet",542),C(327,542,Nc,Py),f.$b=function(){var t;OA((t=this.b.vc().Kc(),new _se(this,t)))},f.Ic=function(t){return this.b.ec().Ic(t)},f.Fb=function(t){return this===t||Rr(this.b.ec(),t)},f.Hb=function(){return Vr(this.b.ec())},f.Kc=function(){var t;return t=this.b.vc().Kc(),new _se(this,t)},f.Mc=function(t){var n,i;return i=0,n=u(this.b.Bc(t),16),n&&(i=n.gc(),n.$b(),this.a.d-=i),i>0},f.Nc=function(){return this.b.ec().Nc()},x(mt,"AbstractMapBasedMultimap/KeySet",327),C(747,1,co,_se),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return this.c.Ob()},f.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},f.Qb=function(){var t;A5(!!this.a),t=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},x(mt,"AbstractMapBasedMultimap/KeySet/1",747),C(503,402,{85:1,133:1},KT),f.bc=function(){return this.Sc()},f.ec=function(){return this.Uc()},f.Sc=function(){return new wT(this.c,this.Wc())},f.Tc=function(){return this.Wc().Tc()},f.Uc=function(){var t;return t=this.b,t||(this.b=this.Sc())},f.Vc=function(){return this.Wc().Vc()},f.Wc=function(){return u(this.d,133)},x(mt,"AbstractMapBasedMultimap/SortedAsMap",503),C(446,503,bge,FC),f.bc=function(){return new S5(this.a,u(u(this.d,133),139))},f.Sc=function(){return new S5(this.a,u(u(this.d,133),139))},f.ec=function(){var t;return t=this.b,u(t||(this.b=new S5(this.a,u(u(this.d,133),139))),277)},f.Uc=function(){var t;return t=this.b,u(t||(this.b=new S5(this.a,u(u(this.d,133),139))),277)},f.Wc=function(){return u(u(this.d,133),139)},f.Xc=function(t){return u(u(this.d,133),139).Xc(t)},f.Yc=function(t){return u(u(this.d,133),139).Yc(t)},f.Zc=function(t,n){return new FC(this.a,u(u(this.d,133),139).Zc(t,n))},f.$c=function(t){return u(u(this.d,133),139).$c(t)},f._c=function(t){return u(u(this.d,133),139)._c(t)},f.ad=function(t,n){return new FC(this.a,u(u(this.d,133),139).ad(t,n))},x(mt,"AbstractMapBasedMultimap/NavigableAsMap",446),C(502,327,Pat,wT),f.Nc=function(){return this.b.ec().Nc()},x(mt,"AbstractMapBasedMultimap/SortedKeySet",502),C(401,502,wge,S5),x(mt,"AbstractMapBasedMultimap/NavigableKeySet",401),C(551,31,rv,kL),f.Fc=function(t){var n,i;return au(this),i=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,i&&VT(this)),n},f.Gc=function(t){var n,i,s;return t.dc()?!1:(s=(au(this),this.d.gc()),n=this.d.Gc(t),n&&(i=this.d.gc(),this.f.d+=i-s,s==0&&VT(this)),n)},f.$b=function(){var t;t=(au(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,$A(this))},f.Hc=function(t){return au(this),this.d.Hc(t)},f.Ic=function(t){return au(this),this.d.Ic(t)},f.Fb=function(t){return t===this?!0:(au(this),Rr(this.d,t))},f.Hb=function(){return au(this),Vr(this.d)},f.Kc=function(){return au(this),new Uce(this)},f.Mc=function(t){var n;return au(this),n=this.d.Mc(t),n&&(--this.f.d,$A(this)),n},f.gc=function(){return $Ke(this)},f.Nc=function(){return au(this),this.d.Nc()},f.Ib=function(){return au(this),Ks(this.d)},x(mt,"AbstractMapBasedMultimap/WrappedCollection",551);var ya=fi(In,"List");C(744,551,{20:1,31:1,16:1,15:1},yue),f.jd=function(t){k0(this,t)},f.Nc=function(){return au(this),this.d.Nc()},f.bd=function(t,n){var i;au(this),i=this.d.dc(),u(this.d,15).bd(t,n),++this.a.d,i&&VT(this)},f.cd=function(t,n){var i,s,c;return n.dc()?!1:(c=(au(this),this.d.gc()),i=u(this.d,15).cd(t,n),i&&(s=this.d.gc(),this.a.d+=s-c,c==0&&VT(this)),i)},f.Xb=function(t){return au(this),u(this.d,15).Xb(t)},f.dd=function(t){return au(this),u(this.d,15).dd(t)},f.ed=function(){return au(this),new dUe(this)},f.fd=function(t){return au(this),new jqe(this,t)},f.gd=function(t){var n;return au(this),n=u(this.d,15).gd(t),--this.a.d,$A(this),n},f.hd=function(t,n){return au(this),u(this.d,15).hd(t,n)},f.kd=function(t,n){return au(this),EYe(this.a,this.e,u(this.d,15).kd(t,n),this.b?this.b:this)},x(mt,"AbstractMapBasedMultimap/WrappedList",744),C(1126,744,{20:1,31:1,16:1,15:1,59:1},tGe),x(mt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),C(628,1,co,Uce),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return U5(this),this.b.Ob()},f.Pb=function(){return U5(this),this.b.Pb()},f.Qb=function(){BUe(this)},x(mt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),C(745,628,Eh,dUe,jqe),f.Qb=function(){BUe(this)},f.Rb=function(t){var n;n=$Ke(this.a)==0,(U5(this),u(this.b,128)).Rb(t),++this.a.a.d,n&&VT(this.a)},f.Sb=function(){return(U5(this),u(this.b,128)).Sb()},f.Tb=function(){return(U5(this),u(this.b,128)).Tb()},f.Ub=function(){return(U5(this),u(this.b,128)).Ub()},f.Vb=function(){return(U5(this),u(this.b,128)).Vb()},f.Wb=function(t){(U5(this),u(this.b,128)).Wb(t)},x(mt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),C(743,551,Pat,uce),f.Nc=function(){return au(this),this.d.Nc()},x(mt,"AbstractMapBasedMultimap/WrappedSortedSet",743),C(1125,743,wge,lUe),x(mt,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),C(1124,551,Nc,CGe),f.Nc=function(){return au(this),this.d.Nc()},x(mt,"AbstractMapBasedMultimap/WrappedSet",1124),C(1133,1,{},P),f.Kb=function(t){return AHt(u(t,44))},x(mt,"AbstractMapBasedMultimap/lambda$1$Type",1133),C(1132,1,{},_je),f.Kb=function(t){return new Ib(this.a,t)},x(mt,"AbstractMapBasedMultimap/lambda$2$Type",1132);var U0=fi(In,"Map/Entry");C(358,1,eX),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),zd(this.ld(),n.ld())&&zd(this.md(),n.md())):!1},f.Hb=function(){var t,n;return t=this.ld(),n=this.md(),(t==null?0:Vr(t))^(n==null?0:Vr(n))},f.nd=function(t){throw B(new Xn)},f.Ib=function(){return this.ld()+"="+this.md()},x(mt,Oat,358),C(2086,31,rv),f.$b=function(){this.od().$b()},f.Hc=function(t){var n;return te(t,44)?(n=u(t,44),ezt(this.od(),n.ld(),n.md())):!1},f.Mc=function(t){var n;return te(t,44)?(n=u(t,44),sYe(this.od(),n.ld(),n.md())):!1},f.gc=function(){return this.od().d},x(mt,"Multimaps/Entries",2086),C(749,2086,rv,aoe),f.Kc=function(){return this.a.kc()},f.od=function(){return this.a},f.Nc=function(){return this.a.lc()},x(mt,"AbstractMultimap/Entries",749),C(750,749,Nc,cse),f.Nc=function(){return this.a.lc()},f.Fb=function(t){return p1e(this,t)},f.Hb=function(){return met(this)},x(mt,"AbstractMultimap/EntrySet",750),C(751,31,rv,foe),f.$b=function(){this.a.$b()},f.Hc=function(t){return QGt(this.a,t)},f.Kc=function(){return this.a.nc()},f.gc=function(){return this.a.d},f.Nc=function(){return this.a.oc()},x(mt,"AbstractMultimap/Values",751),C(2087,31,{849:1,20:1,31:1,16:1}),f.Jc=function(t){qn(t),_y(this).Jc(new Yje(t))},f.Nc=function(){var t;return t=_y(this).Nc(),QV(t,new J,64|t.yd()&1296,this.a.d)},f.Fc=function(t){return bse(),!0},f.Gc=function(t){return qn(this),qn(t),te(t,552)?rzt(u(t,849)):!t.dc()&&dW(this,t.Kc())},f.Hc=function(t){var n;return n=u(Hm(a4(this.a),t),16),(n?n.gc():0)>0},f.Fb=function(t){return Etn(this,t)},f.Hb=function(){return Vr(_y(this))},f.dc=function(){return _y(this).dc()},f.Mc=function(t){return Got(this,t,1)>0},f.Ib=function(){return Ks(_y(this))},x(mt,"AbstractMultiset",2087),C(2089,2068,Nc),f.$b=function(){KL(this.a.a)},f.Hc=function(t){var n,i;return te(t,504)?(i=u(t,425),u(i.a.md(),16).gc()<=0?!1:(n=AXe(this.a,i.a.ld()),n==u(i.a.md(),16).gc())):!1},f.Mc=function(t){var n,i,s,c;return te(t,504)&&(i=u(t,425),n=i.a.ld(),s=u(i.a.md(),16).gc(),s!=0)?(c=this.a,gen(c,n,s)):!1},x(mt,"Multisets/EntrySet",2089),C(1139,2089,Nc,Rje),f.Kc=function(){return new MFe(kVe(a4(this.a.a)).Kc())},f.gc=function(){return a4(this.a.a).gc()},x(mt,"AbstractMultiset/EntrySet",1139),C(627,742,A0),f.hc=function(){return this.pd()},f.jc=function(){return this.qd()},f.cc=function(t){return this.rd(t)},f.fc=function(t){return this.sd(t)},f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.qd=function(){return Ot(),Ot(),DD},f.Fb=function(t){return KW(this,t)},f.rd=function(t){return u(Lr(this,t),21)},f.sd=function(t){return u(VI(this,t),21)},f.mc=function(t){return Ot(),new m5(u(t,21))},f.pc=function(t,n){return new CGe(this,t,u(n,21))},x(mt,"AbstractSetMultimap",627),C(1723,627,A0),f.hc=function(){return new z1(this.b)},f.pd=function(){return new z1(this.b)},f.jc=function(){return zue(new z1(this.b))},f.qd=function(){return zue(new z1(this.b))},f.cc=function(t){return u(u(Lr(this,t),21),87)},f.rd=function(t){return u(u(Lr(this,t),21),87)},f.fc=function(t){return u(u(VI(this,t),21),87)},f.sd=function(t){return u(u(VI(this,t),21),87)},f.mc=function(t){return te(t,277)?zue(u(t,277)):(Ot(),new qle(u(t,87)))},f.Zb=function(){var t;return t=this.f,t||(this.f=te(this.c,139)?new FC(this,u(this.c,139)):te(this.c,133)?new KT(this,u(this.c,133)):new x5(this,this.c))},f.pc=function(t,n){return te(n,277)?new lUe(this,t,u(n,277)):new uce(this,t,u(n,87))},x(mt,"AbstractSortedSetMultimap",1723),C(1724,1723,A0),f.Zb=function(){var t;return t=this.f,u(u(t||(this.f=te(this.c,139)?new FC(this,u(this.c,139)):te(this.c,133)?new KT(this,u(this.c,133)):new x5(this,this.c)),133),139)},f.ec=function(){var t;return t=this.i,u(u(t||(this.i=te(this.c,139)?new S5(this,u(this.c,139)):te(this.c,133)?new wT(this,u(this.c,133)):new Py(this,this.c)),87),277)},f.bc=function(){return te(this.c,139)?new S5(this,u(this.c,139)):te(this.c,133)?new wT(this,u(this.c,133)):new Py(this,this.c)},x(mt,"AbstractSortedKeySortedSetMultimap",1724),C(2109,1,{2046:1}),f.Fb=function(t){return YYt(this,t)},f.Hb=function(){var t;return Xfe((t=this.g,t||(this.g=new UH(this))))},f.Ib=function(){var t;return Rit((t=this.f,t||(this.f=new Ule(this))))},x(mt,"AbstractTable",2109),C(679,ad,Nc,UH),f.$b=function(){FFe()},f.Hc=function(t){var n,i;return te(t,479)?(n=u(t,697),i=u(Hm(GVe(this.a),Vp(n.c.e,n.b)),85),!!i&&Cde(i.vc(),new Ib(Vp(n.c.c,n.a),w4(n.c,n.b,n.a)))):!1},f.Kc=function(){return eBt(this.a)},f.Mc=function(t){var n,i;return te(t,479)?(n=u(t,697),i=u(Hm(GVe(this.a),Vp(n.c.e,n.b)),85),!!i&&_Wt(i.vc(),new Ib(Vp(n.c.c,n.a),w4(n.c,n.b,n.a)))):!1},f.gc=function(){return qWe(this.a)},f.Nc=function(){return szt(this.a)},x(mt,"AbstractTable/CellSet",679),C(2025,31,rv,Lje),f.$b=function(){FFe()},f.Hc=function(t){return HJt(this.a,t)},f.Kc=function(){return tBt(this.a)},f.gc=function(){return qWe(this.a)},f.Nc=function(){return oYe(this.a)},x(mt,"AbstractTable/Values",2025),C(1697,1696,A0),x(mt,"ArrayListMultimapGwtSerializationDependencies",1697),C(520,1697,A0,CK,uae),f.hc=function(){return new ql(this.a)},f.a=0,x(mt,"ArrayListMultimap",520),C(678,2109,{678:1,2046:1,3:1},ist),x(mt,"ArrayTable",678),C(2021,399,Yk,FUe),f.Xb=function(t){return new ede(this.a,t)},x(mt,"ArrayTable/1",2021),C(2022,1,{},Mje),f.td=function(t){return new ede(this.a,t)},x(mt,"ArrayTable/1methodref$getCell$Type",2022),C(2110,1,{697:1}),f.Fb=function(t){var n;return t===this?!0:te(t,479)?(n=u(t,697),zd(Vp(this.c.e,this.b),Vp(n.c.e,n.b))&&zd(Vp(this.c.c,this.a),Vp(n.c.c,n.a))&&zd(w4(this.c,this.b,this.a),w4(n.c,n.b,n.a))):!1},f.Hb=function(){return WI(H(F(Ji,1),Bt,1,5,[Vp(this.c.e,this.b),Vp(this.c.c,this.a),w4(this.c,this.b,this.a)]))},f.Ib=function(){return"("+Vp(this.c.e,this.b)+","+Vp(this.c.c,this.a)+")="+w4(this.c,this.b,this.a)},x(mt,"Tables/AbstractCell",2110),C(479,2110,{479:1,697:1},ede),f.a=0,f.b=0,f.d=0,x(mt,"ArrayTable/2",479),C(2024,1,{},Pje),f.td=function(t){return OQe(this.a,t)},x(mt,"ArrayTable/2methodref$getValue$Type",2024),C(2023,399,Yk,zUe),f.Xb=function(t){return OQe(this.a,t)},x(mt,"ArrayTable/3",2023),C(2077,2065,ww),f.$b=function(){OA(this.kc())},f.vc=function(){return new Kje(this)},f.lc=function(){return new Eqe(this.kc(),this.gc())},x(mt,"Maps/IteratorBasedAbstractMap",2077),C(842,2077,ww),f.$b=function(){throw B(new Xn)},f._b=function(t){return oze(this.c,t)},f.kc=function(){return new HUe(this,this.c.b.c.gc())},f.lc=function(){return GU(this.c.b.c.gc(),16,new Oje(this))},f.xc=function(t){var n;return n=u(zC(this.c,t),17),n?this.vd(n.a):null},f.dc=function(){return this.c.b.c.dc()},f.ec=function(){return ZU(this.c)},f.zc=function(t,n){var i;if(i=u(zC(this.c,t),17),!i)throw B(new Qt(this.ud()+" "+t+" not in "+ZU(this.c)));return this.wd(i.a,n)},f.Bc=function(t){throw B(new Xn)},f.gc=function(){return this.c.b.c.gc()},x(mt,"ArrayTable/ArrayMap",842),C(2020,1,{},Oje),f.td=function(t){return VVe(this.a,t)},x(mt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),C(2018,358,eX,_ze),f.ld=function(){return pAt(this.a,this.b)},f.md=function(){return this.a.vd(this.b)},f.nd=function(t){return this.a.wd(this.b,t)},f.b=0,x(mt,"ArrayTable/ArrayMap/1",2018),C(2019,399,Yk,HUe),f.Xb=function(t){return VVe(this.a,t)},x(mt,"ArrayTable/ArrayMap/2",2019),C(2017,842,ww,LVe),f.ud=function(){return"Column"},f.vd=function(t){return w4(this.b,this.a,t)},f.wd=function(t,n){return ott(this.b,this.a,t,n)},f.a=0,x(mt,"ArrayTable/Row",2017),C(843,842,ww,Ule),f.vd=function(t){return new LVe(this.a,t)},f.zc=function(t,n){return u(n,85),jOt()},f.wd=function(t,n){return u(n,85),$Ot()},f.ud=function(){return"Row"},x(mt,"ArrayTable/RowMap",843),C(1157,1,Ku,Rze),f.Ad=function(t){return(this.a.yd()&-262&t)!=0},f.yd=function(){return this.a.yd()&-262},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Nb(new Lze(t,this.b))},f.Bd=function(t){return this.a.Bd(new Aze(t,this.b))},x(mt,"CollectSpliterators/1",1157),C(1158,1,bn,Aze),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},x(mt,"CollectSpliterators/1/lambda$0$Type",1158),C(1159,1,bn,Lze),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},x(mt,"CollectSpliterators/1/lambda$1$Type",1159),C(1154,1,Ku,rWe),f.Ad=function(t){return((16464|this.b)&t)!=0},f.yd=function(){return 16464|this.b},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Qe(new $ze(t,this.c))},f.Bd=function(t){return this.a.Re(new jze(t,this.c))},f.b=0,x(mt,"CollectSpliterators/1WithCharacteristics",1154),C(1155,1,$M,jze),f.Dd=function(t){this.a.Cd(this.b.td(t))},x(mt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),C(1156,1,$M,$ze),f.Dd=function(t){this.a.Cd(this.b.td(t))},x(mt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),C(1150,1,Ku),f.Ad=function(t){return(this.a&t)!=0},f.yd=function(){return this.a},f.zd=function(){return this.e&&(this.b=Rle(this.b,this.e.zd())),Rle(this.b,0)},f.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new Dze(this,t)),this.b=0},f.Bd=function(t){for(;;){if(this.e&&this.e.Bd(t))return OC(this.b,DM)&&(this.b=Ra(this.b,1)),!0;if(this.e=null,!this.c.Bd(new jje(this)))return!1}},f.a=0,f.b=0,x(mt,"CollectSpliterators/FlatMapSpliterator",1150),C(1152,1,bn,jje),f.Cd=function(t){dLt(this.a,t)},x(mt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),C(1153,1,bn,Dze),f.Cd=function(t){DNt(this.a,this.b,t)},x(mt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),C(1151,1150,Ku,SYe),x(mt,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),C(253,1,tX),f.Fd=function(t){return this.Ed(u(t,253))},f.Ed=function(t){var n;return t==(dK(),FJ)?1:t==(fK(),BJ)?-1:(n=(EA(),LI(this.a,t.a)),n!=0?n:te(this,526)==te(t,526)?0:te(this,526)?1:-1)},f.Id=function(){return this.a},f.Fb=function(t){return yhe(this,t)},x(mt,"Cut",253),C(1823,253,tX,kFe),f.Ed=function(t){return t==this?0:1},f.Gd=function(t){throw B(new Koe)},f.Hd=function(t){t.a+="+∞)"},f.Id=function(){throw B(new ys(Rat))},f.Hb=function(){return Jh(),ohe(this)},f.Jd=function(t){return!1},f.Ib=function(){return"+∞"};var BJ;x(mt,"Cut/AboveAll",1823),C(526,253,{253:1,526:1,3:1,34:1},qUe),f.Gd=function(t){Al((t.a+="(",t),this.a)},f.Hd=function(t){h0(Al(t,this.a),93)},f.Hb=function(){return~Vr(this.a)},f.Jd=function(t){return EA(),LI(this.a,t)<0},f.Ib=function(){return"/"+this.a+"\\"},x(mt,"Cut/AboveValue",526),C(1822,253,tX,yFe),f.Ed=function(t){return t==this?0:-1},f.Gd=function(t){t.a+="(-∞"},f.Hd=function(t){throw B(new Koe)},f.Id=function(){throw B(new ys(Rat))},f.Hb=function(){return Jh(),ohe(this)},f.Jd=function(t){return!0},f.Ib=function(){return"-∞"};var FJ;x(mt,"Cut/BelowAll",1822),C(1824,253,tX,XUe),f.Gd=function(t){Al((t.a+="[",t),this.a)},f.Hd=function(t){h0(Al(t,this.a),41)},f.Hb=function(){return Vr(this.a)},f.Jd=function(t){return EA(),LI(this.a,t)<=0},f.Ib=function(){return"\\"+this.a+"/"},x(mt,"Cut/BelowValue",1824),C(547,1,Th),f.Jc=function(t){Io(this,t)},f.Ib=function(){return QWt(u(ZA(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},x(mt,"FluentIterable",547),C(442,547,Th,AC),f.Kc=function(){return new gn(wn(this.a.Kc(),new $))},x(mt,"FluentIterable/2",442),C(1059,547,Th,rUe),f.Kc=function(){return mh(this)},x(mt,"FluentIterable/3",1059),C(724,399,Yk,Gle),f.Xb=function(t){return this.a[t].Kc()},x(mt,"FluentIterable/3/1",724),C(2070,1,{}),f.Ib=function(){return Ks(this.Kd().b)},x(mt,"ForwardingObject",2070),C(2071,2070,Aat),f.Kd=function(){return this.Ld()},f.Jc=function(t){Io(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Mt(this,0)},f.Oc=function(){return new xt(null,this.Nc())},f.Fc=function(t){return this.Ld(),lze()},f.Gc=function(t){return this.Ld(),cze()},f.$b=function(){this.Ld(),uze()},f.Hc=function(t){return this.Ld().Hc(t)},f.Ic=function(t){return this.Ld().Ic(t)},f.dc=function(){return this.Ld().b.dc()},f.Kc=function(){return this.Ld().Kc()},f.Mc=function(t){return this.Ld(),aze()},f.gc=function(){return this.Ld().b.gc()},f.Pc=function(){return this.Ld().Pc()},f.Qc=function(t){return this.Ld().Qc(t)},x(mt,"ForwardingCollection",2071),C(2078,31,mge),f.Kc=function(){return this.Od()},f.Fc=function(t){throw B(new Xn)},f.Gc=function(t){throw B(new Xn)},f.Md=function(){var t;return t=this.c,t||(this.c=this.Nd())},f.$b=function(){throw B(new Xn)},f.Hc=function(t){return t!=null&&Km(this,t,!1)},f.Nd=function(){switch(this.gc()){case 0:return Hb(),Hb(),zJ;case 1:return Hb(),new WU(qn(this.Od().Pb()));default:return new xue(this,this.Pc())}},f.Mc=function(t){throw B(new Xn)},x(mt,"ImmutableCollection",2078),C(727,2078,mge,zoe),f.Kc=function(){return m4(this.a.Kc())},f.Hc=function(t){return t!=null&&this.a.Hc(t)},f.Ic=function(t){return this.a.Ic(t)},f.dc=function(){return this.a.dc()},f.Od=function(){return m4(this.a.Kc())},f.gc=function(){return this.a.gc()},f.Pc=function(){return this.a.Pc()},f.Qc=function(t){return this.a.Qc(t)},f.Ib=function(){return Ks(this.a)},x(mt,"ForwardingImmutableCollection",727),C(307,2078,Jk),f.Kc=function(){return this.Od()},f.ed=function(){return this.Pd(0)},f.fd=function(t){return this.Pd(t)},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Mt(this,16)},f.kd=function(t,n){return this.Qd(t,n)},f.bd=function(t,n){throw B(new Xn)},f.cd=function(t,n){throw B(new Xn)},f.Md=function(){return this},f.Fb=function(t){return htn(this,t)},f.Hb=function(){return lGt(this)},f.dd=function(t){return t==null?-1:OXt(this,t)},f.Od=function(){return this.Pd(0)},f.Pd=function(t){return xU(this,t)},f.gd=function(t){throw B(new Xn)},f.hd=function(t,n){throw B(new Xn)},f.Qd=function(t,n){var i;return aj((i=new Vze(this),new V1(i,t,n)))};var zJ;x(mt,"ImmutableList",307),C(2105,307,Jk),f.Kc=function(){return m4(this.Rd().Kc())},f.kd=function(t,n){return aj(this.Rd().kd(t,n))},f.Hc=function(t){return t!=null&&this.Rd().Hc(t)},f.Ic=function(t){return this.Rd().Ic(t)},f.Fb=function(t){return Rr(this.Rd(),t)},f.Xb=function(t){return Vp(this,t)},f.Hb=function(){return Vr(this.Rd())},f.dd=function(t){return this.Rd().dd(t)},f.dc=function(){return this.Rd().dc()},f.Od=function(){return m4(this.Rd().Kc())},f.gc=function(){return this.Rd().gc()},f.Qd=function(t,n){return aj(this.Rd().kd(t,n))},f.Pc=function(){return this.Rd().Qc(be(Ji,Bt,1,this.Rd().gc(),5,1))},f.Qc=function(t){return this.Rd().Qc(t)},f.Ib=function(){return Ks(this.Rd())},x(mt,"ForwardingImmutableList",2105),C(729,1,Qk),f.vc=function(){return a0(this)},f.wc=function(t){gS(this,t)},f.ec=function(){return ZU(this)},f.yc=function(t,n,i){return cV(this,t,n,i)},f.Cc=function(){return this.Vd()},f.$b=function(){throw B(new Xn)},f._b=function(t){return this.xc(t)!=null},f.uc=function(t){return this.Vd().Hc(t)},f.Td=function(){return new PBe(this)},f.Ud=function(){return new OBe(this)},f.Fb=function(t){return ZGt(this,t)},f.Hb=function(){return a0(this).Hb()},f.dc=function(){return this.gc()==0},f.zc=function(t,n){return LOt()},f.Bc=function(t){throw B(new Xn)},f.Ib=function(){return FQt(this)},f.Vd=function(){return this.e?this.e:this.e=this.Ud()},f.c=null,f.d=null,f.e=null;var ipt;x(mt,"ImmutableMap",729),C(730,729,Qk),f._b=function(t){return oze(this,t)},f.uc=function(t){return Zze(this.b,t)},f.Sd=function(){return tnt(new Aje(this))},f.Td=function(){return tnt(gqe(this.b))},f.Ud=function(){return Fd(),new zoe(pqe(this.b))},f.Fb=function(t){return eHe(this.b,t)},f.xc=function(t){return zC(this,t)},f.Hb=function(){return Vr(this.b.c)},f.dc=function(){return this.b.c.dc()},f.gc=function(){return this.b.c.gc()},f.Ib=function(){return Ks(this.b.c)},x(mt,"ForwardingImmutableMap",730),C(2072,2071,nX),f.Kd=function(){return this.Wd()},f.Ld=function(){return this.Wd()},f.Nc=function(){return new Mt(this,1)},f.Fb=function(t){return t===this||this.Wd().Fb(t)},f.Hb=function(){return this.Wd().Hb()},x(mt,"ForwardingSet",2072),C(1085,2072,nX,Aje),f.Kd=function(){return H5(this.a.b)},f.Ld=function(){return H5(this.a.b)},f.Hc=function(t){if(te(t,44)&&u(t,44).ld()==null)return!1;try{return Qze(H5(this.a.b),t)}catch(n){if(n=li(n),te(n,212))return!1;throw B(n)}},f.Wd=function(){return H5(this.a.b)},f.Qc=function(t){var n;return n=Zqe(H5(this.a.b),t),H5(this.a.b).b.gc()=0?"+":"")+(i/60|0),n=iA(w.Math.abs(i)%60),(Uit(),Spt)[this.q.getDay()]+" "+xpt[this.q.getMonth()]+" "+iA(this.q.getDate())+" "+iA(this.q.getHours())+":"+iA(this.q.getMinutes())+":"+iA(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var LD=x(In,"Date",206);C(2015,206,Hat,hit),f.a=!1,f.b=0,f.c=0,f.d=0,f.e=0,f.f=0,f.g=!1,f.i=0,f.j=0,f.k=0,f.n=0,f.o=0,f.p=0,x("com.google.gwt.i18n.shared.impl","DateRecord",2015),C(2064,1,{}),f.pe=function(){return null},f.qe=function(){return null},f.re=function(){return null},f.se=function(){return null},f.te=function(){return null},x(N4,"JSONValue",2064),C(221,2064,{221:1},t0,hoe),f.Fb=function(t){return te(t,221)?fae(this.a,u(t,221).a):!1},f.oe=function(){return oOt},f.Hb=function(){return eae(this.a)},f.pe=function(){return this},f.Ib=function(){var t,n,i;for(i=new Ru("["),n=0,t=this.a.length;n0&&(i.a+=","),Al(i,$m(this,n));return i.a+="]",i.a},x(N4,"JSONArray",221),C(493,2064,{493:1},poe),f.oe=function(){return sOt},f.qe=function(){return this},f.Ib=function(){return Gt(),""+this.a},f.a=!1;var fpt,dpt;x(N4,"JSONBoolean",493),C(997,63,w1,PFe),x(N4,"JSONException",997),C(1036,2064,{},ae),f.oe=function(){return lOt},f.Ib=function(){return kc};var hpt;x(N4,"JSONNull",1036),C(263,2064,{263:1},eR),f.Fb=function(t){return te(t,263)?this.a==u(t,263).a:!1},f.oe=function(){return rOt},f.Hb=function(){return X3(this.a)},f.re=function(){return this},f.Ib=function(){return this.a+""},f.a=0,x(N4,"JSONNumber",263),C(190,2064,{190:1},B3,sT),f.Fb=function(t){return te(t,190)?fae(this.a,u(t,190).a):!1},f.oe=function(){return iOt},f.Hb=function(){return eae(this.a)},f.se=function(){return this},f.Ib=function(){var t,n,i,s,c,d,h;for(h=new Ru("{"),t=!0,d=TW(this,be(Je,_e,2,0,6,1)),i=d,s=0,c=i.length;s=0?":"+this.c:"")+")"},f.c=0;var Sme=x(ll,"StackTraceElement",319);rpt={3:1,484:1,34:1,2:1};var Je=x(ll,vge,2);C(111,427,{484:1},B1,uC,Pa),x(ll,"StringBuffer",111),C(104,427,{484:1},Hp,K3,Ru),x(ll,"StringBuilder",104),C(702,77,EX,wse),x(ll,"StringIndexOutOfBoundsException",702),C(2145,1,{});var wpt;C(48,63,{3:1,103:1,63:1,82:1,48:1},Xn,D1),x(ll,"UnsupportedOperationException",48),C(247,242,{3:1,34:1,242:1,247:1},YI,Mse),f.Fd=function(t){return Dct(this,u(t,247))},f.ue=function(){return qm(fut(this))},f.Fb=function(t){var n;return this===t?!0:te(t,247)?(n=u(t,247),this.e==n.e&&Dct(this,n)==0):!1},f.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=bl(this.f),this.b=Vn(Yi(t,-1)),this.b=33*this.b+Vn(Yi(Bb(t,32),-1)),this.b=17*this.b+Wi(this.e),this.b):(this.b=17*Ytt(this.c)+Wi(this.e),this.b)},f.Ib=function(){return fut(this)},f.a=0,f.b=0,f.d=0,f.e=0,f.f=0;var mpt,G0,xme,Eme,Tme,Ime,Mme,Pme,XJ=x("java.math","BigDecimal",247);C(92,242,{3:1,34:1,242:1,92:1},i1,FXe,d0,Jnt,qp),f.Fd=function(t){return Vnt(this,u(t,92))},f.ue=function(){return qm(Jq(this,0))},f.Fb=function(t){return Hde(this,t)},f.Hb=function(){return Ytt(this)},f.Ib=function(){return Jq(this,0)},f.b=-2,f.c=0,f.d=0,f.e=0;var vpt,jD,ypt,YJ,$D,$9,g2=x("java.math","BigInteger",92),kpt,Cpt,Y4,D9;C(498,2065,ww),f.$b=function(){qc(this)},f._b=function(t){return rc(this,t)},f.uc=function(t){return _tt(this,t,this.i)||_tt(this,t,this.f)},f.vc=function(){return new i0(this)},f.xc=function(t){return pn(this,t)},f.zc=function(t,n){return vr(this,t,n)},f.Bc=function(t){return b4(this,t)},f.gc=function(){return fC(this)},f.g=0,x(In,"AbstractHashMap",498),C(267,ad,Nc,i0),f.$b=function(){this.a.$b()},f.Hc=function(t){return bYe(this,t)},f.Kc=function(){return new S0(this.a)},f.Mc=function(t){var n;return bYe(this,t)?(n=u(t,44).ld(),this.a.Bc(n),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractHashMap/EntrySet",267),C(268,1,co,S0),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return rw(this)},f.Ob=function(){return this.b},f.Qb=function(){GQe(this)},f.b=!1,f.d=0,x(In,"AbstractHashMap/EntrySetIterator",268),C(426,1,co,Q7),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return OK(this)},f.Pb=function(){return Xue(this)},f.Qb=function(){Eu(this)},f.b=0,f.c=-1,x(In,"AbstractList/IteratorImpl",426),C(98,426,Eh,wo),f.Qb=function(){Eu(this)},f.Rb=function(t){Em(this,t)},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Ub=function(){return yn(this.b>0),this.a.Xb(this.c=--this.b)},f.Vb=function(){return this.b-1},f.Wb=function(t){Sm(this.c!=-1),this.a.hd(this.c,t)},x(In,"AbstractList/ListIteratorImpl",98),C(244,56,Zk,V1),f.bd=function(t,n){Rm(t,this.b),this.c.bd(this.a+t,n),++this.b},f.Xb=function(t){return _t(t,this.b),this.c.Xb(this.a+t)},f.gd=function(t){var n;return _t(t,this.b),n=this.c.gd(this.a+t),--this.b,n},f.hd=function(t,n){return _t(t,this.b),this.c.hd(this.a+t,n)},f.gc=function(){return this.b},f.a=0,f.b=0,x(In,"AbstractList/SubList",244),C(266,ad,Nc,r0),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new nR(t)},f.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractMap/1",266),C(541,1,co,nR),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.ld()},f.Qb=function(){this.a.Qb()},x(In,"AbstractMap/1/1",541),C(231,31,rv,Xh),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a.uc(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new pm(t)},f.gc=function(){return this.a.gc()},x(In,"AbstractMap/2",231),C(301,1,co,pm),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.md()},f.Qb=function(){this.a.Qb()},x(In,"AbstractMap/2/1",301),C(494,1,{494:1,44:1}),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),gl(this.d,n.ld())&&gl(this.e,n.md())):!1},f.ld=function(){return this.d},f.md=function(){return this.e},f.Hb=function(){return Ey(this.d)^Ey(this.e)},f.nd=function(t){return bce(this,t)},f.Ib=function(){return this.d+"="+this.e},x(In,"AbstractMap/AbstractEntry",494),C(397,494,{494:1,397:1,44:1},LR),x(In,"AbstractMap/SimpleEntry",397),C(2082,1,MX),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),gl(this.ld(),n.ld())&&gl(this.md(),n.md())):!1},f.Hb=function(){return Ey(this.ld())^Ey(this.md())},f.Ib=function(){return this.ld()+"="+this.md()},x(In,Oat,2082),C(2090,2065,bge),f.Xc=function(t){return SK(this.Ee(t))},f.tc=function(t){return CJe(this,t)},f._b=function(t){return wce(this,t)},f.vc=function(){return new JH(this)},f.Tc=function(){return $Ve(this.Ge())},f.Yc=function(t){return SK(this.He(t))},f.xc=function(t){var n;return n=t,_s(this.Fe(n))},f.$c=function(t){return SK(this.Ie(t))},f.ec=function(){return new o$e(this)},f.Vc=function(){return $Ve(this.Je())},f._c=function(t){return SK(this.Ke(t))},x(In,"AbstractNavigableMap",2090),C(629,ad,Nc,JH),f.Hc=function(t){return te(t,44)&&CJe(this.b,u(t,44))},f.Kc=function(){return this.b.De()},f.Mc=function(t){var n;return te(t,44)?(n=u(t,44),this.b.Le(n)):!1},f.gc=function(){return this.b.gc()},x(In,"AbstractNavigableMap/EntrySet",629),C(1146,ad,wge,o$e),f.Nc=function(){return new RR(this)},f.$b=function(){this.a.$b()},f.Hc=function(t){return wce(this.a,t)},f.Kc=function(){var t;return t=this.a.vc().b.De(),new s$e(t)},f.Mc=function(t){return wce(this.a,t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractNavigableMap/NavigableKeySet",1146),C(1147,1,co,s$e),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return OK(this.a.a)},f.Pb=function(){var t;return t=oGe(this.a),t.ld()},f.Qb=function(){fWe(this.a)},x(In,"AbstractNavigableMap/NavigableKeySet/1",1147),C(2103,31,rv),f.Fc=function(t){return r4(jk(this,t),t8),!0},f.Gc=function(t){return sn(t),QT(t!=this,"Can't add a queue to itself"),vo(this,t)},f.$b=function(){for(;hW(this)!=null;);},x(In,"AbstractQueue",2103),C(310,31,{4:1,20:1,31:1,16:1},My,fYe),f.Fc=function(t){return kae(this,t),!0},f.$b=function(){Iae(this)},f.Hc=function(t){return Zet(new eS(this),t)},f.dc=function(){return cC(this)},f.Kc=function(){return new eS(this)},f.Mc=function(t){return HBt(new eS(this),t)},f.gc=function(){return this.c-this.b&this.a.length-1},f.Nc=function(){return new Mt(this,272)},f.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.lengthn&&hi(t,n,null),t},f.b=0,f.c=0,x(In,"ArrayDeque",310),C(459,1,co,eS),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return this.a!=this.b},f.Pb=function(){return uj(this)},f.Qb=function(){VZe(this)},f.a=0,f.b=0,f.c=-1,x(In,"ArrayDeque/IteratorImpl",459),C(13,56,Gat,Le,ql,Vc),f.bd=function(t,n){Nb(this,t,n)},f.Fc=function(t){return je(this,t)},f.cd=function(t,n){return pde(this,t,n)},f.Gc=function(t){return zi(this,t)},f.$b=function(){gm(this.c,0)},f.Hc=function(t){return Ls(this,t,0)!=-1},f.Jc=function(t){ic(this,t)},f.Xb=function(t){return Ye(this,t)},f.dd=function(t){return Ls(this,t,0)},f.dc=function(){return this.c.length==0},f.Kc=function(){return new N(this)},f.gd=function(t){return X1(this,t)},f.Mc=function(t){return mc(this,t)},f.ce=function(t,n){LXe(this,t,n)},f.hd=function(t,n){return la(this,t,n)},f.gc=function(){return this.c.length},f.jd=function(t){Pi(this,t)},f.Pc=function(){return TA(this.c)},f.Qc=function(t){return ld(this,t)};var _an=x(In,"ArrayList",13);C(7,1,co,N),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return Ys(this)},f.Pb=function(){return D(this)},f.Qb=function(){XC(this)},f.a=0,f.b=-1,x(In,"ArrayList/1",7),C(2112,w.Function,{},yt),f.Me=function(t,n){return Kr(t,n)},C(151,56,Wat,Wc),f.Hc=function(t){return qZe(this,t)!=-1},f.Jc=function(t){var n,i,s,c;for(sn(t),i=this.a,s=0,c=i.length;s0)throw B(new Qt(Ige+t+" greater than "+this.e));return this.f.Te()?rXe(this.c,this.b,this.a,t,n):jXe(this.c,t,n)},f.zc=function(t,n){if(!zV(this.c,this.f,t,this.b,this.a,this.e,this.d))throw B(new Qt(t+" outside the range "+this.b+" to "+this.e));return btt(this.c,t,n)},f.Bc=function(t){var n;return n=t,zV(this.c,this.f,n,this.b,this.a,this.e,this.d)?iXe(this.c,n):null},f.Le=function(t){return WA(this,t.ld())&&Wae(this.c,t)},f.gc=function(){var t,n,i;if(this.f.Te()?this.a?n=Mk(this.c,this.b,!0):n=Mk(this.c,this.b,!1):n=nfe(this.c),!(n&&WA(this,n.d)&&n))return 0;for(t=0,i=new IW(this.c,this.f,this.b,this.a,this.e,this.d);OK(i.a);i.b=u(Xue(i.a),44))++t;return t},f.ad=function(t,n){if(this.f.Te()&&this.c.a.Ne(t,this.b)<0)throw B(new Qt(Ige+t+Xat+this.b));return this.f.Ue()?rXe(this.c,t,n,this.e,this.d):$Xe(this.c,t,n)},f.a=!1,f.d=!1,x(In,"TreeMap/SubMap",631),C(304,22,RX,AR),f.Te=function(){return!1},f.Ue=function(){return!1};var ZJ,eQ,tQ,nQ,ND=An(In,"TreeMap/SubMapType",304,Nn,gzt,ELt);C(1143,304,RX,uUe),f.Ue=function(){return!0},An(In,"TreeMap/SubMapType/1",1143,ND,null,null),C(1144,304,RX,mUe),f.Te=function(){return!0},f.Ue=function(){return!0},An(In,"TreeMap/SubMapType/2",1144,ND,null,null),C(1145,304,RX,cUe),f.Te=function(){return!0},An(In,"TreeMap/SubMapType/3",1145,ND,null,null);var Opt;C(157,ad,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},Woe,z1,d5),f.Nc=function(){return new RR(this)},f.Fc=function(t){return tI(this,t)},f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){return this.a.ec().Kc()},f.Mc=function(t){return kU(this,t)},f.gc=function(){return this.a.gc()};var Dan=x(In,"TreeSet",157);C(1082,1,{},a$e),f.Ve=function(t,n){return HAt(this.a,t,n)},x(AX,"BinaryOperator/lambda$0$Type",1082),C(1083,1,{},f$e),f.Ve=function(t,n){return KAt(this.a,t,n)},x(AX,"BinaryOperator/lambda$1$Type",1083),C(952,1,{},hr),f.Kb=function(t){return t},x(AX,"Function/lambda$0$Type",952),C(395,1,Qn,h5),f.Mb=function(t){return!this.a.Mb(t)},x(AX,"Predicate/lambda$2$Type",395),C(581,1,{581:1});var _pt=x(s9,"Handler",581);C(2107,1,LM),f.xe=function(){return"DUMMY"},f.Ib=function(){return this.xe()};var $me;x(s9,"Level",2107),C(1706,2107,LM,ve),f.xe=function(){return"INFO"},x(s9,"Level/LevelInfo",1706),C(1843,1,{},DBe);var rQ;x(s9,"LogManager",1843),C(1896,1,LM,aWe),f.b=null,x(s9,"LogRecord",1896),C(525,1,{525:1},WG),f.e=!1;var Rpt=!1,Apt=!1,pd=!1,Lpt=!1,jpt=!1;x(s9,"Logger",525),C(835,581,{581:1},ke),x(s9,"SimpleConsoleLogHandler",835),C(108,22,{3:1,34:1,22:1,108:1},AK);var Dme,Gs,hv,Es=An(Ki,"Collector/Characteristics",108,Nn,nFt,TLt),$pt;C(758,1,{},Mue),x(Ki,"CollectorImpl",758),C(1074,1,{},Z),f.Ve=function(t,n){return $Wt(u(t,213),u(n,213))},x(Ki,"Collectors/10methodref$merge$Type",1074),C(1075,1,{},V),f.Kb=function(t){return dYe(u(t,213))},x(Ki,"Collectors/11methodref$toString$Type",1075),C(1076,1,{},d$e),f.Kb=function(t){return Gt(),!!Cle(t)},x(Ki,"Collectors/12methodref$test$Type",1076),C(144,1,{},ie),f.Yd=function(t,n){u(t,16).Fc(n)},x(Ki,"Collectors/20methodref$add$Type",144),C(146,1,{},ue),f.Xe=function(){return new Le},x(Ki,"Collectors/21methodref$ctor$Type",146),C(359,1,{},ge),f.Xe=function(){return new _i},x(Ki,"Collectors/23methodref$ctor$Type",359),C(360,1,{},Ge),f.Yd=function(t,n){Fi(u(t,49),n)},x(Ki,"Collectors/24methodref$add$Type",360),C(1069,1,{},jt),f.Ve=function(t,n){return rHe(u(t,15),u(n,16))},x(Ki,"Collectors/4methodref$addAll$Type",1069),C(1073,1,{},Lt),f.Yd=function(t,n){o1(u(t,213),u(n,484))},x(Ki,"Collectors/9methodref$add$Type",1073),C(1072,1,{},IWe),f.Xe=function(){return new x0(this.a,this.b,this.c)},x(Ki,"Collectors/lambda$15$Type",1072),C(1077,1,{},tn),f.Xe=function(){var t;return t=new q1,op(t,(Gt(),!1),new Le),op(t,!0,new Le),t},x(Ki,"Collectors/lambda$22$Type",1077),C(1078,1,{},h$e),f.Xe=function(){return H(F(Ji,1),Bt,1,5,[this.a])},x(Ki,"Collectors/lambda$25$Type",1078),C(1079,1,{},p$e),f.Yd=function(t,n){cDt(this.a,y0(t))},x(Ki,"Collectors/lambda$26$Type",1079),C(1080,1,{},g$e),f.Ve=function(t,n){return $Dt(this.a,y0(t),y0(n))},x(Ki,"Collectors/lambda$27$Type",1080),C(1081,1,{},Ct),f.Kb=function(t){return y0(t)[0]},x(Ki,"Collectors/lambda$28$Type",1081),C(728,1,{},Kn),f.Ve=function(t,n){return cue(t,n)},x(Ki,"Collectors/lambda$4$Type",728),C(145,1,{},dn),f.Ve=function(t,n){return w_t(u(t,16),u(n,16))},x(Ki,"Collectors/lambda$42$Type",145),C(361,1,{},Rn),f.Ve=function(t,n){return m_t(u(t,49),u(n,49))},x(Ki,"Collectors/lambda$50$Type",361),C(362,1,{},gr),f.Kb=function(t){return u(t,49)},x(Ki,"Collectors/lambda$51$Type",362),C(1068,1,{},b$e),f.Yd=function(t,n){HGt(this.a,u(t,85),n)},x(Ki,"Collectors/lambda$7$Type",1068),C(1070,1,{},de),f.Ve=function(t,n){return mGt(u(t,85),u(n,85),new jt)},x(Ki,"Collectors/lambda$8$Type",1070),C(1071,1,{},w$e),f.Kb=function(t){return gVt(this.a,u(t,85))},x(Ki,"Collectors/lambda$9$Type",1071),C(550,1,{}),f.$e=function(){ZC(this)},f.d=!1,x(Ki,"TerminatableStream",550),C(827,550,Mge,lce),f.$e=function(){ZC(this)},x(Ki,"DoubleStreamImpl",827),C(1847,736,Ku,MWe),f.Re=function(t){return mXt(this,u(t,189))},f.a=null,x(Ki,"DoubleStreamImpl/2",1847),C(1848,1,KM,m$e),f.Pe=function(t){fRt(this.a,t)},x(Ki,"DoubleStreamImpl/2/lambda$0$Type",1848),C(1845,1,KM,v$e),f.Pe=function(t){aRt(this.a,t)},x(Ki,"DoubleStreamImpl/lambda$0$Type",1845),C(1846,1,KM,y$e),f.Pe=function(t){Ont(this.a,t)},x(Ki,"DoubleStreamImpl/lambda$2$Type",1846),C(1397,735,Ku,wJe),f.Re=function(t){return izt(this,u(t,202))},f.a=0,f.b=0,f.c=0,x(Ki,"IntStream/5",1397),C(806,550,Mge,cce),f.$e=function(){ZC(this)},f._e=function(){return Qp(this),this.a},x(Ki,"IntStreamImpl",806),C(807,550,Mge,Ase),f.$e=function(){ZC(this)},f._e=function(){return Qp(this),Kle(),Ppt},x(Ki,"IntStreamImpl/Empty",807),C(1687,1,$M,k$e),f.Dd=function(t){Fet(this.a,t)},x(Ki,"IntStreamImpl/lambda$4$Type",1687);var Nan=fi(Ki,"Stream");C(26,550,{533:1,687:1,848:1},xt),f.$e=function(){ZC(this)};var J4;x(Ki,"StreamImpl",26),C(1102,500,Ku,nWe),f.Bd=function(t){for(;lKt(this);){if(this.a.Bd(t))return!0;ZC(this.b),this.b=null,this.a=null}return!1},x(Ki,"StreamImpl/1",1102),C(1103,1,bn,C$e),f.Cd=function(t){L$t(this.a,u(t,848))},x(Ki,"StreamImpl/1/lambda$0$Type",1103),C(1104,1,Qn,S$e),f.Mb=function(t){return Fi(this.a,t)},x(Ki,"StreamImpl/1methodref$add$Type",1104),C(1105,500,Ku,$qe),f.Bd=function(t){var n;return this.a||(n=new Le,this.b.a.Nb(new x$e(n)),Ot(),Pi(n,this.c),this.a=new Mt(n,16)),vZe(this.a,t)},f.a=null,x(Ki,"StreamImpl/5",1105),C(1106,1,bn,x$e),f.Cd=function(t){je(this.a,t)},x(Ki,"StreamImpl/5/2methodref$add$Type",1106),C(737,500,Ku,rfe),f.Bd=function(t){for(this.b=!1;!this.b&&this.c.Bd(new yHe(this,t)););return this.b},f.b=!1,x(Ki,"StreamImpl/FilterSpliterator",737),C(1096,1,bn,yHe),f.Cd=function(t){ODt(this.a,this.b,t)},x(Ki,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),C(1091,736,Ku,MJe),f.Re=function(t){return aLt(this,u(t,189))},x(Ki,"StreamImpl/MapToDoubleSpliterator",1091),C(1095,1,bn,kHe),f.Cd=function(t){L_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),C(1090,735,Ku,PJe),f.Re=function(t){return fLt(this,u(t,202))},x(Ki,"StreamImpl/MapToIntSpliterator",1090),C(1094,1,bn,CHe),f.Cd=function(t){j_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),C(734,500,Ku,Hae),f.Bd=function(t){return ZGe(this,t)},x(Ki,"StreamImpl/MapToObjSpliterator",734),C(1093,1,bn,SHe),f.Cd=function(t){$_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),C(1092,500,Ku,iet),f.Bd=function(t){for(;_K(this.b,0);){if(!this.a.Bd(new G))return!1;this.b=Ra(this.b,1)}return this.a.Bd(t)},f.b=0,x(Ki,"StreamImpl/SkipSpliterator",1092),C(1097,1,bn,G),f.Cd=function(t){},x(Ki,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),C(626,1,bn,X),f.Cd=function(t){e$e(this,t)},x(Ki,"StreamImpl/ValueConsumer",626),C(1098,1,bn,De),f.Cd=function(t){c0()},x(Ki,"StreamImpl/lambda$0$Type",1098),C(1099,1,bn,gt),f.Cd=function(t){c0()},x(Ki,"StreamImpl/lambda$1$Type",1099),C(1100,1,{},E$e),f.Ve=function(t,n){return KLt(this.a,t,n)},x(Ki,"StreamImpl/lambda$4$Type",1100),C(1101,1,bn,xHe),f.Cd=function(t){XAt(this.b,this.a,t)},x(Ki,"StreamImpl/lambda$5$Type",1101),C(1107,1,bn,T$e),f.Cd=function(t){sGt(this.a,u(t,380))},x(Ki,"TerminatableStream/lambda$0$Type",1107),C(2142,1,{}),C(2014,1,{},Kt),x("javaemul.internal","ConsoleLogger",2014);var Ban=0;C(2134,1,{}),C(1830,1,bn,Ut),f.Cd=function(t){u(t,317)},x(n8,"BowyerWatsonTriangulation/lambda$0$Type",1830),C(1831,1,bn,I$e),f.Cd=function(t){vo(this.a,u(t,317).e)},x(n8,"BowyerWatsonTriangulation/lambda$1$Type",1831),C(1832,1,bn,so),f.Cd=function(t){u(t,177)},x(n8,"BowyerWatsonTriangulation/lambda$2$Type",1832),C(1827,1,tr,M$e),f.Ne=function(t,n){return Kzt(this.a,u(t,177),u(n,177))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(n8,"NaiveMinST/lambda$0$Type",1827),C(449,1,{},Z7),x(n8,"NodeMicroLayout",449),C(177,1,{177:1},W3),f.Fb=function(t){var n;return te(t,177)?(n=u(t,177),gl(this.a,n.a)&&gl(this.b,n.b)||gl(this.a,n.b)&&gl(this.b,n.a)):!1},f.Hb=function(){return Ey(this.a)+Ey(this.b)};var Fan=x(n8,"TEdge",177);C(317,1,{317:1},Hpe),f.Fb=function(t){var n;return te(t,317)?(n=u(t,317),PL(this,n.a)&&PL(this,n.b)&&PL(this,n.c)):!1},f.Hb=function(){return Ey(this.a)+Ey(this.b)+Ey(this.c)},x(n8,"TTriangle",317),C(225,1,{225:1},sA),x(n8,"Tree",225),C(1218,1,{},kXe),x(Qat,"Scanline",1218);var Dpt=fi(Qat,Zat);C(1758,1,{},bZe),x(Ph,"CGraph",1758),C(316,1,{316:1},xXe),f.b=0,f.c=0,f.d=0,f.g=0,f.i=0,f.k=Hi,x(Ph,"CGroup",316),C(830,1,{},Xoe),x(Ph,"CGroup/CGroupBuilder",830),C(60,1,{60:1},$Ge),f.Ib=function(){var t;return this.j?Jn(this.j.Kb(this)):(Zh(BD),BD.o+"@"+(t=jb(this)>>>0,t.toString(16)))},f.f=0,f.i=Hi;var BD=x(Ph,"CNode",60);C(829,1,{},Yoe),x(Ph,"CNode/CNodeBuilder",829);var Npt;C(1590,1,{},rl),f.ff=function(t,n){return 0},f.gf=function(t,n){return 0},x(Ph,tft,1590),C(1853,1,{},_o),f.cf=function(t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j;for(v=ii,s=new N(t.a.b);s.as.d.c||s.d.c==d.d.c&&s.d.b0?t+this.n.d+this.n.a:0},f.kf=function(){var t,n,i,s,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=Fde(this,KV(this,null,!0));else for(n=($f(),H(F(pv,1),Te,237,0,[ul,Ql,al])),i=0,s=n.length;i0?c+this.n.b+this.n.c:0},f.lf=function(){var t,n,i,s,c;if(this.g)for(t=KV(this,null,!1),i=($f(),H(F(pv,1),Te,237,0,[ul,Ql,al])),s=0,c=i.length;s0&&(s[0]+=this.d,i-=s[0]),s[2]>0&&(s[2]+=this.d,i-=s[2]),this.c.a=w.Math.max(0,i),this.c.d=n.d+t.d+(this.c.a-i)/2,s[1]=w.Math.max(s[1],i),Nae(this,Ql,n.d+t.d+s[0]-(s[1]-i)/2,s)},f.b=null,f.d=0,f.e=!1,f.f=!1,f.g=!1;var cQ=0,FD=0;x(j0,"GridContainerCell",1538),C(471,22,{3:1,34:1,22:1,471:1},jK);var Cg,oh,ff,qpt=An(j0,"HorizontalLabelAlignment",471,Nn,iFt,_Lt),Xpt;C(314,217,{217:1,314:1},lXe,mZe,eXe),f.jf=function(){return zWe(this)},f.kf=function(){return nue(this)},f.a=0,f.c=!1;var zan=x(j0,"LabelCell",314);C(252,336,{217:1,336:1,252:1},PS),f.jf=function(){return BS(this)},f.kf=function(){return FS(this)},f.lf=function(){_q(this)},f.mf=function(){Rq(this)},f.b=0,f.c=0,f.d=!1,x(j0,"StripContainerCell",252),C(1691,1,Qn,q7),f.Mb=function(t){return _Ot(u(t,217))},x(j0,"StripContainerCell/lambda$0$Type",1691),C(1692,1,{},rT),f.Ye=function(t){return u(t,217).kf()},x(j0,"StripContainerCell/lambda$1$Type",1692),C(1693,1,Qn,j1),f.Mb=function(t){return ROt(u(t,217))},x(j0,"StripContainerCell/lambda$2$Type",1693),C(1694,1,{},X7),f.Ye=function(t){return u(t,217).jf()},x(j0,"StripContainerCell/lambda$3$Type",1694),C(472,22,{3:1,34:1,22:1,472:1},$K);var df,Sg,zf,Ypt=An(j0,"VerticalLabelAlignment",472,Nn,rFt,RLt),Jpt;C(800,1,{},oge),f.c=0,f.d=0,f.k=0,f.s=0,f.t=0,f.v=!1,f.w=0,f.D=!1,f.F=!1,x(I$,"NodeContext",800),C(1536,1,tr,Ne),f.Ne=function(t,n){return ZKe(u(t,64),u(n,64))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(I$,"NodeContext/0methodref$comparePortSides$Type",1536),C(1537,1,tr,Xe),f.Ne=function(t,n){return lQt(u(t,117),u(n,117))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(I$,"NodeContext/1methodref$comparePortContexts$Type",1537),C(164,22,{3:1,34:1,22:1,164:1},aa);var Qpt,Zpt,egt,tgt,ngt,rgt,igt,ogt,sgt,lgt,cgt,ugt,agt,fgt,dgt,hgt,pgt,ggt,bgt,wgt,mgt,uQ,vgt=An(I$,"NodeLabelLocation",164,Nn,yV,ALt),ygt;C(117,1,{117:1},cst),f.a=!1,x(I$,"PortContext",117),C(1541,1,bn,Mr),f.Cd=function(t){mze(u(t,314))},x(GM,pft,1541),C(1542,1,Qn,Cr),f.Mb=function(t){return!!u(t,117).c},x(GM,gft,1542),C(1543,1,bn,Gr),f.Cd=function(t){mze(u(t,117).c)},x(GM,"LabelPlacer/lambda$2$Type",1543);var ove;C(1540,1,bn,lu),f.Cd=function(t){xm(),aOt(u(t,117))},x(GM,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),C(801,1,bn,jce),f.Cd=function(t){x_t(this.b,this.c,this.a,u(t,187))},f.a=!1,f.c=!1,x(GM,"NodeLabelCellCreator/lambda$0$Type",801),C(1539,1,bn,_$e),f.Cd=function(t){hOt(this.a,u(t,187))},x(GM,"PortContextCreator/lambda$0$Type",1539);var zD;C(1902,1,{},Rd),x(i8,"GreedyRectangleStripOverlapRemover",1902),C(1903,1,tr,Jg),f.Ne=function(t,n){return nAt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(i8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),C(1849,1,{},zBe),f.a=5,f.e=0,x(i8,"RectangleStripOverlapRemover",1849),C(1850,1,tr,mb),f.Ne=function(t,n){return rAt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(i8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),C(1852,1,tr,s5),f.Ne=function(t,n){return WDt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(i8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),C(417,22,{3:1,34:1,22:1,417:1},jR);var wP,aQ,fQ,mP,kgt=An(i8,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Nn,mzt,LLt),Cgt;C(226,1,{226:1},JU),x(i8,"RectangleStripOverlapRemover/RectangleNode",226),C(1851,1,bn,R$e),f.Cd=function(t){AXt(this.a,u(t,226))},x(i8,"RectangleStripOverlapRemover/lambda$1$Type",1851),C(1323,1,tr,_3),f.Ne=function(t,n){return Qsn(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),C(1326,1,{},$1),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),C(1327,1,Qn,dy),f.Mb=function(t){return u(t,332).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),C(1328,1,Qn,l5),f.Mb=function(t){return u(t,332).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),C(1321,1,tr,R3),f.Ne=function(t,n){return Pin(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),C(1324,1,{},c5),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),C(781,1,tr,Fp),f.Ne=function(t,n){return fGt(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinNumOfExtensionsComparator",781),C(1319,1,tr,Qg),f.Ne=function(t,n){return vUt(u(t,330),u(n,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinPerimeterComparator",1319),C(1320,1,tr,zp),f.Ne=function(t,n){return rXt(u(t,330),u(n,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),C(1322,1,tr,iT),f.Ne=function(t,n){return Xin(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),C(1325,1,{},AH),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),C(782,1,{},Wse),f.Ve=function(t,n){return azt(this,u(t,42),u(n,176))},x(Qd,"SuccessorCombination",782),C(649,1,{},Y7),f.Ve=function(t,n){var i;return Ten((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorJitter",649),C(648,1,{},oT),f.Ve=function(t,n){var i;return drn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorLineByLine",648),C(573,1,{},J7),f.Ve=function(t,n){var i;return Ttn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorManhattan",573),C(1344,1,{},V_),f.Ve=function(t,n){var i;return $nn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorMaxNormWindingInMathPosSense",1344),C(409,1,{},p5),f.Ve=function(t,n){return Tue(this,t,n)},f.c=!1,f.d=!1,f.e=!1,f.f=!1,x(Qd,"SuccessorQuadrantsGeneric",409),C(1345,1,{},we),f.Kb=function(t){return u(t,334).a},x(Qd,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),C(332,22,{3:1,34:1,22:1,332:1},$R),f.a=!1;var vP,yP,kP,CP,Sgt=An(P$,Bge,332,Nn,bzt,jLt),xgt;C(1317,1,{}),f.Ib=function(){var t,n,i,s,c,d;for(i=" ",t=Ae(0),c=0;c=0?"b"+t+"["+GG(this.a)+"]":"b["+GG(this.a)+"]"):"b_"+jb(this)},x(VM,"FBendpoint",250),C(290,137,{3:1,290:1,96:1,137:1},DGe),f.Ib=function(){return GG(this)},x(VM,"FEdge",290),C(235,137,{3:1,235:1,96:1,137:1},vL);var Kan=x(VM,"FGraph",235);C(454,309,{3:1,454:1,309:1,96:1,137:1},BYe),f.Ib=function(){return this.b==null||this.b.length==0?"l["+GG(this.a)+"]":"l_"+this.b},x(VM,"FLabel",454),C(153,309,{3:1,153:1,309:1,96:1,137:1},wUe),f.Ib=function(){return hae(this)},f.a=0,x(VM,"FNode",153),C(2100,1,{}),f.vf=function(t){Dpe(this,t)},f.wf=function(){Hrt(this)},f.d=0,x(qge,"AbstractForceModel",2100),C(641,2100,{641:1},Bet),f.uf=function(t,n){var i,s,c,d,h;return gut(this.f,t,n),c=Xi(xo(n.d),t.d),h=w.Math.sqrt(c.a*c.a+c.b*c.b),s=w.Math.max(0,h-QC(t.e)/2-QC(n.e)/2),i=Jot(this.e,t,n),i>0?d=-KDt(s,this.c)*i:d=mAt(s,this.b)*u(A(t,(uf(),Q4)),17).a,Nd(c,d/h),c},f.vf=function(t){Dpe(this,t),this.a=u(A(t,(uf(),VD)),17).a,this.c=le(pe(A(t,qD))),this.b=le(pe(A(t,mQ)))},f.xf=function(t){return t0&&(d-=IOt(s,this.a)*i),Nd(c,d*this.b/h),c},f.vf=function(t){var n,i,s,c,d,h,b;for(Dpe(this,t),this.b=le(pe(A(t,(uf(),vQ)))),this.c=this.b/u(A(t,VD),17).a,s=t.e.c.length,d=0,c=0,b=new N(t.e);b.a0},f.a=0,f.b=0,f.c=0,x(qge,"FruchtermanReingoldModel",642),C(860,1,ja,RLe),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,R$),""),"Force Model"),"Determines the model for force calculation."),pve),(cp(),oi)),gve),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Xge),""),"Iterations"),"The number of iterations on the force model."),Ae(300)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Yge),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Ae(0)),Ws),Po),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,JX),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Zd),Do),Bi),ht(Nt)))),ji(t,JX,R$,Ugt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,QX),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Do),Bi),ht(Nt)))),ji(t,QX,R$,zgt),rat((new ALe,t))};var Ngt,Bgt,pve,Fgt,zgt,Hgt,Kgt,Ugt;x(u9,"ForceMetaDataProvider",860),C(432,22,{3:1,34:1,22:1,432:1},qse);var wQ,WD,gve=An(u9,"ForceModelStrategy",432,Nn,aBt,NLt),Ggt;C(ap,1,ja,ALe),f.hf=function(t){rat(t)};var Wgt,Vgt,bve,VD,wve,qgt,Xgt,Ygt,Jgt,mve,Qgt,vve,yve,Zgt,Q4,e0t,mQ,kve,t0t,n0t,qD,vQ,r0t,i0t,o0t,Cve,s0t;x(u9,"ForceOptions",ap),C(1001,1,{},Vxe),f.sf=function(){var t;return t=new qoe,t},f.tf=function(t){},x(u9,"ForceOptions/ForceFactory",1001);var EP,F9,Z4,XD;C(861,1,ja,LLe),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Qge),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Gt(),!1)),(cp(),Qi)),Ci),ht((Nf(),qi))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Zge),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Do),Bi),Yr(Nt,H(F($h,1),Te,170,0,[uh]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,e0e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Sve),oi),Ove),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,t0e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Zd),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,n0e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Ae(Pr)),Ws),Po),ht(Nt)))),_ut((new jLe,t))};var l0t,c0t,Sve,u0t,a0t,f0t;x(u9,"StressMetaDataProvider",861),C(1004,1,ja,jLe),f.hf=function(t){_ut(t)};var YD,xve,Eve,Tve,Ive,Mve,d0t,h0t,p0t,g0t,Pve,b0t;x(u9,"StressOptions",1004),C(1005,1,{},Gxe),f.sf=function(){var t;return t=new NGe,t},f.tf=function(t){},x(u9,"StressOptions/StressFactory",1005),C(1110,205,$0,NGe),f.rf=function(t,n){var i,s,c,d,h;for(n.Ug(Mft,1),qe(Ve(Ie(t,(sM(),Ive))))?qe(Ve(Ie(t,Pve)))||uI((i=new Z7((Pb(),new kb(t))),i)):qst(new qoe,t,n.eh(1)),c=utt(t),s=Fct(this.a,c),h=s.Kc();h.Ob();)d=u(h.Pb(),235),!(d.e.c.length<=1)&&(Xsn(this.b,d),ktn(this.b),ic(d.d,new Wxe));c=eat(s),aat(c),n.Vg()},x(j$,"StressLayoutProvider",1110),C(1111,1,bn,Wxe),f.Cd=function(t){Gpe(u(t,454))},x(j$,"StressLayoutProvider/lambda$0$Type",1111),C(1002,1,{},$Be),f.c=0,f.e=0,f.g=0,x(j$,"StressMajorization",1002),C(391,22,{3:1,34:1,22:1,391:1},DK);var yQ,kQ,CQ,Ove=An(j$,"StressMajorization/Dimension",391,Nn,sFt,BLt),w0t;C(1003,1,tr,$$e),f.Ne=function(t,n){return hLt(this.a,u(t,153),u(n,153))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(j$,"StressMajorization/lambda$0$Type",1003),C(1192,1,{},UXe),x(W4,"ElkLayered",1192),C(1193,1,bn,D$e),f.Cd=function(t){YZt(this.a,u(t,36))},x(W4,"ElkLayered/lambda$0$Type",1193),C(1194,1,bn,N$e),f.Cd=function(t){pLt(this.a,u(t,36))},x(W4,"ElkLayered/lambda$1$Type",1194),C(1281,1,{},IUe);var m0t,v0t,y0t;x(W4,"GraphConfigurator",1281),C(770,1,bn,Roe),f.Cd=function(t){tot(this.a,u(t,10))},x(W4,"GraphConfigurator/lambda$0$Type",770),C(771,1,{},Kie),f.Kb=function(t){return Lhe(),new xt(null,new Mt(u(t,30).a,16))},x(W4,"GraphConfigurator/lambda$1$Type",771),C(772,1,bn,Aoe),f.Cd=function(t){tot(this.a,u(t,10))},x(W4,"GraphConfigurator/lambda$2$Type",772),C(1109,205,$0,HBe),f.rf=function(t,n){var i;i=Osn(new UBe,t),fe(Ie(t,(Ue(),xv)))===fe((a1(),Cp))?cVt(this.a,i,n):wtn(this.a,i,n),n.$g()||Vut(new $Le,i)},x(W4,"LayeredLayoutProvider",1109),C(367,22,{3:1,34:1,22:1,367:1},ST);var hf,Ah,Ol,zl,Ds,_ve=An(W4,"LayeredPhases",367,Nn,aHt,FLt),k0t;C(1717,1,{},tet),f.i=0;var C0t;x(ZM,"ComponentsToCGraphTransformer",1717);var S0t;C(1718,1,{},Uxe),f.yf=function(t,n){return w.Math.min(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},f.zf=function(t,n){return w.Math.min(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},x(ZM,"ComponentsToCGraphTransformer/1",1718),C(86,1,{86:1}),f.i=0,f.k=!0,f.o=Hi;var SQ=x(h9,"CNode",86);C(470,86,{470:1,86:1},Qle,che),f.Ib=function(){return""},x(ZM,"ComponentsToCGraphTransformer/CRectNode",470),C(1688,1,{},qxe);var xQ,EQ;x(ZM,"OneDimensionalComponentsCompaction",1688),C(1689,1,{},Xxe),f.Kb=function(t){return JBt(u(t,42))},f.Fb=function(t){return this===t},x(ZM,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),C(1690,1,{},Yxe),f.Kb=function(t){return aVt(u(t,42))},f.Fb=function(t){return this===t},x(ZM,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),C(1720,1,{},JVe),x(h9,"CGraph",1720),C(194,1,{194:1},wV),f.b=0,f.c=0,f.e=0,f.g=!0,f.i=Hi,x(h9,"CGroup",194),C(1719,1,{},Jxe),f.yf=function(t,n){return w.Math.max(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},f.zf=function(t,n){return w.Math.max(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},x(h9,tft,1719),C(1721,1,{},Zot),f.d=!1;var x0t,TQ=x(h9,ift,1721);C(1722,1,{},Qxe),f.Kb=function(t){return jse(),Gt(),u(u(t,42).a,86).d.e!=0},f.Fb=function(t){return this===t},x(h9,oft,1722),C(833,1,{},uue),f.a=!1,f.b=!1,f.c=!1,f.d=!1,x(h9,sft,833),C(1898,1,{},hVe),x($$,lft,1898);var TP=fi(N0,Zat);C(1899,1,{382:1},Vqe),f.bf=function(t){Ern(this,u(t,476))},x($$,cft,1899),C(gg,1,tr,Zxe),f.Ne=function(t,n){return LNt(u(t,86),u(n,86))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x($$,uft,gg),C(476,1,{476:1},Yse),f.a=!1,x($$,aft,476),C(1901,1,tr,eEe),f.Ne=function(t,n){return jYt(u(t,476),u(n,476))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x($$,fft,1901),C(148,1,{148:1},I5,Wce),f.Fb=function(t){var n;return t==null||Uan!=Tu(t)?!1:(n=u(t,148),gl(this.c,n.c)&&gl(this.d,n.d))},f.Hb=function(){return WI(H(F(Ji,1),Bt,1,5,[this.c,this.d]))},f.Ib=function(){return"("+this.c+qo+this.d+(this.a?"cx":"")+this.b+")"},f.a=!0,f.c=0,f.d=0;var Uan=x(N0,"Point",148);C(416,22,{3:1,34:1,22:1,416:1},NR);var Mw,gv,w2,bv,E0t=An(N0,"Point/Quadrant",416,Nn,vzt,zLt),T0t;C(1708,1,{},FBe),f.b=null,f.c=null,f.d=null,f.e=null,f.f=null;var I0t,M0t,P0t,O0t,_0t;x(N0,"RectilinearConvexHull",1708),C(583,1,{382:1},Mj),f.bf=function(t){uKt(this,u(t,148))},f.b=0;var Rve;x(N0,"RectilinearConvexHull/MaximalElementsEventHandler",583),C(1710,1,tr,tEe),f.Ne=function(t,n){return jNt(pe(t),pe(n))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),C(1709,1,{382:1},wZe),f.bf=function(t){Fnn(this,u(t,148))},f.a=0,f.b=null,f.c=null,f.d=null,f.e=null,x(N0,"RectilinearConvexHull/RectangleEventHandler",1709),C(1711,1,tr,nEe),f.Ne=function(t,n){return KFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$0$Type",1711),C(1712,1,tr,oEe),f.Ne=function(t,n){return UFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$1$Type",1712),C(1713,1,tr,sEe),f.Ne=function(t,n){return HFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$2$Type",1713),C(1714,1,tr,iEe),f.Ne=function(t,n){return GFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$3$Type",1714),C(1715,1,tr,lEe),f.Ne=function(t,n){return CQt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$4$Type",1715),C(1716,1,{},CXe),x(N0,"Scanline",1716),C(2104,1,{}),x(dd,"AbstractGraphPlacer",2104),C(335,1,{335:1},uGe),f.Ff=function(t){return this.Gf(t)?(It(this.b,u(A(t,(Oe(),C1)),21),t),!0):!1},f.Gf=function(t){var n,i,s,c;for(n=u(A(t,(Oe(),C1)),21),c=u(Lr(Ur,n),21),s=c.Kc();s.Ob();)if(i=u(s.Pb(),21),!u(Lr(this.b,i),15).dc())return!1;return!0};var Ur;x(dd,"ComponentGroup",335),C(779,2104,{},Joe),f.Hf=function(t){var n,i;for(i=new N(this.a);i.ai&&(k=0,T+=b+s,b=0),m=d.c,Hk(d,k+m.a,T+m.b),Of(m),c=w.Math.max(c,k+v.a),b=w.Math.max(b,v.b),k+=v.a+s;n.f.a=c,n.f.b=T+b},f.Jf=function(t,n){var i,s,c,d,h;if(fe(A(n,(Ue(),Sv)))===fe((M0(),wv))){for(s=t.Kc();s.Ob();){for(i=u(s.Pb(),36),h=0,d=new N(i.a);d.ai&&!u(A(d,(Oe(),C1)),21).Hc((ze(),en))||m&&u(A(m,(Oe(),C1)),21).Hc((ze(),fn))||u(A(d,(Oe(),C1)),21).Hc((ze(),rn)))&&(M=T,O+=b+s,b=0),v=d.c,u(A(d,(Oe(),C1)),21).Hc((ze(),en))&&(M=c+s),Hk(d,M+v.a,O+v.b),c=w.Math.max(c,M+k.a),u(A(d,C1),21).Hc(Mn)&&(T=w.Math.max(T,M+k.a+s)),Of(v),b=w.Math.max(b,k.b),M+=k.a+s,m=d;n.f.a=c,n.f.b=O+b},f.Jf=function(t,n){},x(dd,"ModelOrderRowGraphPlacer",1313),C(1311,1,tr,aEe),f.Ne=function(t,n){return cGt(u(t,36),u(n,36))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(dd,"SimpleRowGraphPlacer/1",1311);var A0t;C(1280,1,Jd,fEe),f.Lb=function(t){var n;return n=u(A(u(t,249).b,(Ue(),Ts)),75),!!n&&n.b!=0},f.Fb=function(t){return this===t},f.Mb=function(t){var n;return n=u(A(u(t,249).b,(Ue(),Ts)),75),!!n&&n.b!=0},x(D$,"CompoundGraphPostprocessor/1",1280),C(1279,1,qr,GBe),f.Kf=function(t,n){Crt(this,u(t,36),n)},x(D$,"CompoundGraphPreprocessor",1279),C(453,1,{453:1},dnt),f.c=!1,x(D$,"CompoundGraphPreprocessor/ExternalPort",453),C(249,1,{249:1},vA),f.Ib=function(){return TU(this.c)+":"+Vot(this.b)},x(D$,"CrossHierarchyEdge",249),C(777,1,tr,Loe),f.Ne=function(t,n){return uYt(this,u(t,249),u(n,249))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(D$,"CrossHierarchyEdgeComparator",777),C(305,137,{3:1,305:1,96:1,137:1}),f.p=0,x(Bl,"LGraphElement",305),C(18,305,{3:1,18:1,305:1,96:1,137:1},Vb),f.Ib=function(){return Vot(this)};var PQ=x(Bl,"LEdge",18);C(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},xfe),f.Jc=function(t){Io(this,t)},f.Kc=function(){return new N(this.b)},f.Ib=function(){return this.b.c.length==0?"G-unlayered"+ag(this.a):this.a.c.length==0?"G-layered"+ag(this.b):"G[layerless"+ag(this.a)+", layers"+ag(this.b)+"]"};var L0t=x(Bl,"LGraph",36),j0t;C(666,1,{}),f.Lf=function(){return this.e.n},f.of=function(t){return A(this.e,t)},f.Mf=function(){return this.e.o},f.Nf=function(){return this.e.p},f.pf=function(t){return Xr(this.e,t)},f.Of=function(t){this.e.n.a=t.a,this.e.n.b=t.b},f.Pf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},f.Qf=function(t){this.e.p=t},x(Bl,"LGraphAdapters/AbstractLShapeAdapter",666),C(474,1,{853:1},eC),f.Rf=function(){var t,n;if(!this.b)for(this.b=gh(this.a.b.c.length),n=new N(this.a.b);n.a0&&Ktt((Zt(n-1,t.length),t.charCodeAt(n-1)),Lft);)--n;if(d> ",t),Nj(i)),lr(Al((t.a+="[",t),i.i),"]")),t.a},f.c=!0,f.d=!1;var Dve,Nve,Bve,Fve,zve,Hve,D0t=x(Bl,"LPort",12);C(408,1,Th,g5),f.Jc=function(t){Io(this,t)},f.Kc=function(){var t;return t=new N(this.a.e),new B$e(t)},x(Bl,"LPort/1",408),C(1309,1,co,B$e),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return u(D(this.a),18).c},f.Ob=function(){return Ys(this.a)},f.Qb=function(){XC(this.a)},x(Bl,"LPort/1/1",1309),C(369,1,Th,L3),f.Jc=function(t){Io(this,t)},f.Kc=function(){var t;return t=new N(this.a.g),new joe(t)},x(Bl,"LPort/2",369),C(776,1,co,joe),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return u(D(this.a),18).d},f.Ob=function(){return Ys(this.a)},f.Qb=function(){XC(this.a)},x(Bl,"LPort/2/1",776),C(1302,1,Th,MHe),f.Jc=function(t){Io(this,t)},f.Kc=function(){return new nd(this)},x(Bl,"LPort/CombineIter",1302),C(208,1,co,nd),f.Nb=function(t){Eo(this,t)},f.Qb=function(){sze()},f.Ob=function(){return NC(this)},f.Pb=function(){return Ys(this.a)?D(this.a):D(this.b)},x(Bl,"LPort/CombineIter/1",208),C(1303,1,Jd,hEe),f.Lb=function(t){return IVe(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).g.c.length!=0},x(Bl,"LPort/lambda$0$Type",1303),C(1304,1,Jd,pEe),f.Lb=function(t){return MVe(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).e.c.length!=0},x(Bl,"LPort/lambda$1$Type",1304),C(1305,1,Jd,gEe),f.Lb=function(t){return $c(),u(t,12).j==(ze(),en)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).j==(ze(),en)},x(Bl,"LPort/lambda$2$Type",1305),C(1306,1,Jd,bEe),f.Lb=function(t){return $c(),u(t,12).j==(ze(),fn)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).j==(ze(),fn)},x(Bl,"LPort/lambda$3$Type",1306),C(1307,1,Jd,wEe),f.Lb=function(t){return $c(),u(t,12).j==(ze(),Mn)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).j==(ze(),Mn)},x(Bl,"LPort/lambda$4$Type",1307),C(1308,1,Jd,mEe),f.Lb=function(t){return $c(),u(t,12).j==(ze(),rn)},f.Fb=function(t){return this===t},f.Mb=function(t){return $c(),u(t,12).j==(ze(),rn)},x(Bl,"LPort/lambda$5$Type",1308),C(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},Ll),f.Jc=function(t){Io(this,t)},f.Kc=function(){return new N(this.a)},f.Ib=function(){return"L_"+Ls(this.b.b,this,0)+ag(this.a)},x(Bl,"Layer",30),C(1330,1,{},UBe),x(dp,Nft,1330),C(1334,1,{},vEe),f.Kb=function(t){return $s(u(t,84))},x(dp,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),C(1337,1,{},yEe),f.Kb=function(t){return $s(u(t,84))},x(dp,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),C(1331,1,bn,F$e),f.Cd=function(t){ast(this.a,u(t,123))},x(dp,Vge,1331),C(1332,1,bn,z$e),f.Cd=function(t){ast(this.a,u(t,123))},x(dp,Bft,1332),C(1333,1,{},kEe),f.Kb=function(t){return new xt(null,new Mt(Gue(u(t,74)),16))},x(dp,Fft,1333),C(1335,1,Qn,H$e),f.Mb=function(t){return dRt(this.a,u(t,27))},x(dp,zft,1335),C(1336,1,{},CEe),f.Kb=function(t){return new xt(null,new Mt(PNt(u(t,74)),16))},x(dp,"ElkGraphImporter/lambda$5$Type",1336),C(1338,1,Qn,K$e),f.Mb=function(t){return hRt(this.a,u(t,27))},x(dp,"ElkGraphImporter/lambda$7$Type",1338),C(1339,1,Qn,SEe),f.Mb=function(t){return KNt(u(t,74))},x(dp,"ElkGraphImporter/lambda$8$Type",1339),C(1297,1,{},$Le);var N0t;x(dp,"ElkGraphLayoutTransferrer",1297),C(1298,1,Qn,U$e),f.Mb=function(t){return tLt(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),C(1299,1,bn,G$e),f.Cd=function(t){kT(),je(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),C(1300,1,Qn,W$e),f.Mb=function(t){return FAt(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),C(1301,1,bn,V$e),f.Cd=function(t){kT(),je(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),C(819,1,{},kce),x(ln,"BiLinkedHashMultiMap",819),C(1550,1,qr,xEe),f.Kf=function(t,n){MUt(u(t,36),n)},x(ln,"CommentNodeMarginCalculator",1550),C(1551,1,{},EEe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"CommentNodeMarginCalculator/lambda$0$Type",1551),C(1552,1,bn,TEe),f.Cd=function(t){Msn(u(t,10))},x(ln,"CommentNodeMarginCalculator/lambda$1$Type",1552),C(1553,1,qr,IEe),f.Kf=function(t,n){Rrn(u(t,36),n)},x(ln,"CommentPostprocessor",1553),C(1554,1,qr,MEe),f.Kf=function(t,n){eun(u(t,36),n)},x(ln,"CommentPreprocessor",1554),C(1555,1,qr,PEe),f.Kf=function(t,n){Xnn(u(t,36),n)},x(ln,"ConstraintsPostprocessor",1555),C(1556,1,qr,OEe),f.Kf=function(t,n){nGt(u(t,36),n)},x(ln,"EdgeAndLayerConstraintEdgeReverser",1556),C(1557,1,qr,_Ee),f.Kf=function(t,n){WVt(u(t,36),n)},x(ln,"EndLabelPostprocessor",1557),C(1558,1,{},REe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"EndLabelPostprocessor/lambda$0$Type",1558),C(1559,1,Qn,AEe),f.Mb=function(t){return lHt(u(t,10))},x(ln,"EndLabelPostprocessor/lambda$1$Type",1559),C(1560,1,bn,LEe),f.Cd=function(t){$Yt(u(t,10))},x(ln,"EndLabelPostprocessor/lambda$2$Type",1560),C(1561,1,qr,jEe),f.Kf=function(t,n){xZt(u(t,36),n)},x(ln,"EndLabelPreprocessor",1561),C(1562,1,{},$Ee),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"EndLabelPreprocessor/lambda$0$Type",1562),C(1563,1,bn,gWe),f.Cd=function(t){E_t(this.a,this.b,this.c,u(t,10))},f.a=0,f.b=0,f.c=!1,x(ln,"EndLabelPreprocessor/lambda$1$Type",1563),C(1564,1,Qn,DEe),f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),Z8))},x(ln,"EndLabelPreprocessor/lambda$2$Type",1564),C(1565,1,bn,q$e),f.Cd=function(t){ir(this.a,u(t,72))},x(ln,"EndLabelPreprocessor/lambda$3$Type",1565),C(1566,1,Qn,NEe),f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),$v))},x(ln,"EndLabelPreprocessor/lambda$4$Type",1566),C(1567,1,bn,X$e),f.Cd=function(t){ir(this.a,u(t,72))},x(ln,"EndLabelPreprocessor/lambda$5$Type",1567),C(1615,1,qr,MLe),f.Kf=function(t,n){GWt(u(t,36),n)};var B0t;x(ln,"EndLabelSorter",1615),C(1616,1,tr,BEe),f.Ne=function(t,n){return xqt(u(t,466),u(n,466))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"EndLabelSorter/1",1616),C(466,1,{466:1},zqe),x(ln,"EndLabelSorter/LabelGroup",466),C(1617,1,{},FEe),f.Kb=function(t){return yT(),new xt(null,new Mt(u(t,30).a,16))},x(ln,"EndLabelSorter/lambda$0$Type",1617),C(1618,1,Qn,zEe),f.Mb=function(t){return yT(),u(t,10).k==(nn(),Si)},x(ln,"EndLabelSorter/lambda$1$Type",1618),C(1619,1,bn,HEe),f.Cd=function(t){NQt(u(t,10))},x(ln,"EndLabelSorter/lambda$2$Type",1619),C(1620,1,Qn,KEe),f.Mb=function(t){return yT(),fe(A(u(t,72),(Ue(),lh)))===fe((od(),$v))},x(ln,"EndLabelSorter/lambda$3$Type",1620),C(1621,1,Qn,UEe),f.Mb=function(t){return yT(),fe(A(u(t,72),(Ue(),lh)))===fe((od(),Z8))},x(ln,"EndLabelSorter/lambda$4$Type",1621),C(1568,1,qr,GEe),f.Kf=function(t,n){Hsn(this,u(t,36))},f.b=0,f.c=0,x(ln,"FinalSplineBendpointsCalculator",1568),C(1569,1,{},WEe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),C(1570,1,{},VEe),f.Kb=function(t){return new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(ln,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),C(1571,1,Qn,qEe),f.Mb=function(t){return!Zo(u(t,18))},x(ln,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),C(1572,1,Qn,XEe),f.Mb=function(t){return Xr(u(t,18),(Oe(),V0))},x(ln,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),C(1573,1,bn,Y$e),f.Cd=function(t){Jin(this.a,u(t,131))},x(ln,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),C(1574,1,bn,YEe),f.Cd=function(t){pM(u(t,18).a)},x(ln,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),C(803,1,qr,$oe),f.Kf=function(t,n){$ln(this,u(t,36),n)},x(ln,"GraphTransformer",803),C(517,22,{3:1,34:1,22:1,517:1},Xse);var _Q,IP,F0t=An(ln,"GraphTransformer/Mode",517,Nn,fBt,Wjt),z0t;C(1575,1,qr,JEe),f.Kf=function(t,n){inn(u(t,36),n)},x(ln,"HierarchicalNodeResizingProcessor",1575),C(1576,1,qr,QEe),f.Kf=function(t,n){SUt(u(t,36),n)},x(ln,"HierarchicalPortConstraintProcessor",1576),C(1577,1,tr,ZEe),f.Ne=function(t,n){return Gqt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortConstraintProcessor/NodeComparator",1577),C(1578,1,qr,eTe),f.Kf=function(t,n){Won(u(t,36),n)},x(ln,"HierarchicalPortDummySizeProcessor",1578),C(1579,1,qr,tTe),f.Kf=function(t,n){nin(this,u(t,36),n)},f.a=0,x(ln,"HierarchicalPortOrthogonalEdgeRouter",1579),C(1580,1,tr,nTe),f.Ne=function(t,n){return iAt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortOrthogonalEdgeRouter/1",1580),C(1581,1,tr,rTe),f.Ne=function(t,n){return aKt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortOrthogonalEdgeRouter/2",1581),C(1582,1,qr,iTe),f.Kf=function(t,n){vQt(u(t,36),n)},x(ln,"HierarchicalPortPositionProcessor",1582),C(1583,1,qr,DLe),f.Kf=function(t,n){jun(this,u(t,36))},f.a=0,f.c=0;var JD,QD;x(ln,"HighDegreeNodeLayeringProcessor",1583),C(580,1,{580:1},oTe),f.b=-1,f.d=-1,x(ln,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),C(1584,1,{},sTe),f.Kb=function(t){return XT(),eo(u(t,10))},f.Fb=function(t){return this===t},x(ln,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),C(1585,1,{},lTe),f.Kb=function(t){return XT(),Mi(u(t,10))},f.Fb=function(t){return this===t},x(ln,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),C(1591,1,qr,cTe),f.Kf=function(t,n){Non(this,u(t,36),n)},x(ln,"HyperedgeDummyMerger",1591),C(804,1,{},$ce),f.a=!1,f.b=!1,f.c=!1,x(ln,"HyperedgeDummyMerger/MergeState",804),C(1592,1,{},uTe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"HyperedgeDummyMerger/lambda$0$Type",1592),C(1593,1,{},aTe),f.Kb=function(t){return new xt(null,new Mt(u(t,10).j,16))},x(ln,"HyperedgeDummyMerger/lambda$1$Type",1593),C(1594,1,bn,fTe),f.Cd=function(t){u(t,12).p=-1},x(ln,"HyperedgeDummyMerger/lambda$2$Type",1594),C(1595,1,qr,dTe),f.Kf=function(t,n){$on(u(t,36),n)},x(ln,"HypernodesProcessor",1595),C(1596,1,qr,hTe),f.Kf=function(t,n){Gon(u(t,36),n)},x(ln,"InLayerConstraintProcessor",1596),C(1597,1,qr,pTe),f.Kf=function(t,n){NUt(u(t,36),n)},x(ln,"InnermostNodeMarginCalculator",1597),C(1598,1,qr,gTe),f.Kf=function(t,n){Ycn(this,u(t,36))},f.a=Hi,f.b=Hi,f.c=ii,f.d=ii;var Gan=x(ln,"InteractiveExternalPortPositioner",1598);C(1599,1,{},bTe),f.Kb=function(t){return u(t,18).d.i},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$0$Type",1599),C(1600,1,{},J$e),f.Kb=function(t){return oAt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$1$Type",1600),C(1601,1,{},wTe),f.Kb=function(t){return u(t,18).c.i},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$2$Type",1601),C(1602,1,{},Q$e),f.Kb=function(t){return sAt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$3$Type",1602),C(1603,1,{},Z$e),f.Kb=function(t){return rLt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$4$Type",1603),C(1604,1,{},eDe),f.Kb=function(t){return iLt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$5$Type",1604),C(81,22,{3:1,34:1,22:1,81:1,196:1},Ri),f.dg=function(){switch(this.g){case 15:return new LMe;case 22:return new jMe;case 47:return new NMe;case 28:case 35:return new MTe;case 32:return new xEe;case 42:return new IEe;case 1:return new MEe;case 41:return new PEe;case 56:return new $oe((ck(),IP));case 0:return new $oe((ck(),_Q));case 2:return new OEe;case 54:return new _Ee;case 33:return new jEe;case 51:return new GEe;case 55:return new JEe;case 13:return new QEe;case 38:return new eTe;case 44:return new tTe;case 40:return new iTe;case 9:return new DLe;case 49:return new eGe;case 37:return new cTe;case 43:return new dTe;case 27:return new hTe;case 30:return new pTe;case 3:return new gTe;case 18:return new vTe;case 29:return new yTe;case 5:return new NLe;case 50:return new mTe;case 34:return new BLe;case 36:return new PTe;case 52:return new MLe;case 11:return new OTe;case 7:return new FLe;case 39:return new _Te;case 45:return new RTe;case 16:return new ATe;case 10:return new WHe;case 48:return new DTe;case 21:return new NTe;case 23:return new pK((tw(),lx));case 8:return new FTe;case 12:return new HTe;case 4:return new KTe;case 19:return new WLe;case 17:return new ZTe;case 53:return new eIe;case 6:return new dIe;case 25:return new VBe;case 46:return new oIe;case 31:return new HGe;case 14:return new yIe;case 26:return new zMe;case 20:return new EIe;case 24:return new pK((tw(),nB));default:throw B(new Qt(rY+(this.f!=null?this.f:""+this.g)))}};var Kve,Uve,Gve,Wve,Vve,qve,Xve,Yve,Jve,Qve,m2,ZD,eN,Zve,eye,tye,nye,rye,iye,oye,z9,sye,lye,cye,uye,aye,RQ,tN,nN,fye,rN,iN,oN,x8,mv,vv,dye,sN,lN,hye,cN,uN,pye,gye,bye,wye,aN,AQ,MP,fN,dN,hN,pN,mye,vye,yye,kye,Wan=An(ln,iY,81,Nn,rlt,GLt),H0t;C(1605,1,qr,vTe),f.Kf=function(t,n){qcn(u(t,36),n)},x(ln,"InvertedPortProcessor",1605),C(1606,1,qr,yTe),f.Kf=function(t,n){Kin(u(t,36),n)},x(ln,"LabelAndNodeSizeProcessor",1606),C(1607,1,Qn,kTe),f.Mb=function(t){return u(t,10).k==(nn(),Si)},x(ln,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),C(1608,1,Qn,CTe),f.Mb=function(t){return u(t,10).k==(nn(),Oi)},x(ln,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),C(1609,1,bn,bWe),f.Cd=function(t){T_t(this.b,this.a,this.c,u(t,10))},f.a=!1,f.c=!1,x(ln,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),C(1610,1,qr,NLe),f.Kf=function(t,n){ycn(u(t,36),n)};var K0t;x(ln,"LabelDummyInserter",1610),C(1611,1,Jd,STe),f.Lb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),Q8))},f.Fb=function(t){return this===t},f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),Q8))},x(ln,"LabelDummyInserter/1",1611),C(1612,1,qr,mTe),f.Kf=function(t,n){ccn(u(t,36),n)},x(ln,"LabelDummyRemover",1612),C(1613,1,Qn,xTe),f.Mb=function(t){return qe(Ve(A(u(t,72),(Ue(),kZ))))},x(ln,"LabelDummyRemover/lambda$0$Type",1613),C(1378,1,qr,BLe),f.Kf=function(t,n){ecn(this,u(t,36),n)},f.a=null;var LQ;x(ln,"LabelDummySwitcher",1378),C(293,1,{293:1},nct),f.c=0,f.d=null,f.f=0,x(ln,"LabelDummySwitcher/LabelDummyInfo",293),C(1379,1,{},ETe),f.Kb=function(t){return y4(),new xt(null,new Mt(u(t,30).a,16))},x(ln,"LabelDummySwitcher/lambda$0$Type",1379),C(1380,1,Qn,TTe),f.Mb=function(t){return y4(),u(t,10).k==(nn(),xl)},x(ln,"LabelDummySwitcher/lambda$1$Type",1380),C(1381,1,{},tDe),f.Kb=function(t){return zAt(this.a,u(t,10))},x(ln,"LabelDummySwitcher/lambda$2$Type",1381),C(1382,1,bn,nDe),f.Cd=function(t){lNt(this.a,u(t,293))},x(ln,"LabelDummySwitcher/lambda$3$Type",1382),C(1383,1,tr,ITe),f.Ne=function(t,n){return _Dt(u(t,293),u(n,293))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"LabelDummySwitcher/lambda$4$Type",1383),C(802,1,qr,MTe),f.Kf=function(t,n){KHt(u(t,36),n)},x(ln,"LabelManagementProcessor",802),C(1614,1,qr,PTe),f.Kf=function(t,n){yrn(u(t,36),n)},x(ln,"LabelSideSelector",1614),C(1622,1,qr,OTe),f.Kf=function(t,n){lsn(u(t,36),n)},x(ln,"LayerConstraintPostprocessor",1622),C(1623,1,qr,FLe),f.Kf=function(t,n){ntn(u(t,36),n)};var Cye;x(ln,"LayerConstraintPreprocessor",1623),C(371,22,{3:1,34:1,22:1,371:1},FR);var PP,gN,bN,jQ,U0t=An(ln,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Nn,kzt,WLt),G0t;C(1624,1,qr,_Te),f.Kf=function(t,n){xln(u(t,36),n)},x(ln,"LayerSizeAndGraphHeightCalculator",1624),C(1625,1,qr,RTe),f.Kf=function(t,n){onn(u(t,36),n)},x(ln,"LongEdgeJoiner",1625),C(1626,1,qr,ATe),f.Kf=function(t,n){Zsn(u(t,36),n)},x(ln,"LongEdgeSplitter",1626),C(1627,1,qr,WHe),f.Kf=function(t,n){jcn(this,u(t,36),n)},f.e=0,f.f=0,f.j=0,f.k=0,f.n=0,f.o=0;var W0t,V0t;x(ln,"NodePromotion",1627),C(1628,1,tr,LTe),f.Ne=function(t,n){return qGt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NodePromotion/1",1628),C(1629,1,tr,jTe),f.Ne=function(t,n){return XGt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NodePromotion/2",1629),C(1630,1,{},$Te),f.Kb=function(t){return u(t,42),kA(),Gt(),!0},f.Fb=function(t){return this===t},x(ln,"NodePromotion/lambda$0$Type",1630),C(1631,1,{},sDe),f.Kb=function(t){return UBt(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,x(ln,"NodePromotion/lambda$1$Type",1631),C(1632,1,{},lDe),f.Kb=function(t){return KBt(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,x(ln,"NodePromotion/lambda$2$Type",1632),C(1633,1,qr,DTe),f.Kf=function(t,n){Pun(u(t,36),n)},x(ln,"NorthSouthPortPostprocessor",1633),C(1634,1,qr,NTe),f.Kf=function(t,n){uun(u(t,36),n)},x(ln,"NorthSouthPortPreprocessor",1634),C(1635,1,tr,BTe),f.Ne=function(t,n){return uGt(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NorthSouthPortPreprocessor/lambda$0$Type",1635),C(1636,1,qr,FTe),f.Kf=function(t,n){xon(u(t,36),n)},x(ln,"PartitionMidprocessor",1636),C(1637,1,Qn,zTe),f.Mb=function(t){return Xr(u(t,10),(Ue(),N8))},x(ln,"PartitionMidprocessor/lambda$0$Type",1637),C(1638,1,bn,cDe),f.Cd=function(t){UNt(this.a,u(t,10))},x(ln,"PartitionMidprocessor/lambda$1$Type",1638),C(1639,1,qr,HTe),f.Kf=function(t,n){Tnn(u(t,36),n)},x(ln,"PartitionPostprocessor",1639),C(1640,1,qr,KTe),f.Kf=function(t,n){Fen(u(t,36),n)},x(ln,"PartitionPreprocessor",1640),C(1641,1,Qn,UTe),f.Mb=function(t){return Xr(u(t,10),(Ue(),N8))},x(ln,"PartitionPreprocessor/lambda$0$Type",1641),C(1642,1,{},GTe),f.Kb=function(t){return new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(ln,"PartitionPreprocessor/lambda$1$Type",1642),C(1643,1,Qn,WTe),f.Mb=function(t){return Oqt(u(t,18))},x(ln,"PartitionPreprocessor/lambda$2$Type",1643),C(1644,1,bn,VTe),f.Cd=function(t){TGt(u(t,18))},x(ln,"PartitionPreprocessor/lambda$3$Type",1644),C(1645,1,qr,WLe),f.Kf=function(t,n){ion(u(t,36),n)};var Sye,q0t,X0t,Y0t,xye,Eye;x(ln,"PortListSorter",1645),C(1648,1,tr,qTe),f.Ne=function(t,n){return GYe(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$0$Type",1648),C(1650,1,tr,XTe),f.Ne=function(t,n){return Tct(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$1$Type",1650),C(1646,1,{},YTe),f.Kb=function(t){return vk(),u(t,12).e},x(ln,"PortListSorter/lambda$2$Type",1646),C(1647,1,{},JTe),f.Kb=function(t){return vk(),u(t,12).g},x(ln,"PortListSorter/lambda$3$Type",1647),C(1649,1,tr,QTe),f.Ne=function(t,n){return eYt(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$4$Type",1649),C(1651,1,qr,ZTe),f.Kf=function(t,n){gtn(u(t,36),n)},x(ln,"PortSideProcessor",1651),C(1652,1,qr,eIe),f.Kf=function(t,n){bin(u(t,36),n)},x(ln,"ReversedEdgeRestorer",1652),C(1657,1,qr,VBe),f.Kf=function(t,n){$Xt(this,u(t,36),n)},x(ln,"SelfLoopPortRestorer",1657),C(1658,1,{},tIe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"SelfLoopPortRestorer/lambda$0$Type",1658),C(1659,1,Qn,nIe),f.Mb=function(t){return u(t,10).k==(nn(),Si)},x(ln,"SelfLoopPortRestorer/lambda$1$Type",1659),C(1660,1,Qn,rIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopPortRestorer/lambda$2$Type",1660),C(1661,1,{},iIe),f.Kb=function(t){return u(A(u(t,10),(Oe(),Lw)),337)},x(ln,"SelfLoopPortRestorer/lambda$3$Type",1661),C(1662,1,bn,iDe),f.Cd=function(t){JQt(this.a,u(t,337))},x(ln,"SelfLoopPortRestorer/lambda$4$Type",1662),C(805,1,bn,Wie),f.Cd=function(t){aZt(u(t,105))},x(ln,"SelfLoopPortRestorer/lambda$5$Type",805),C(1663,1,qr,oIe),f.Kf=function(t,n){Hqt(u(t,36),n)},x(ln,"SelfLoopPostProcessor",1663),C(1664,1,{},sIe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"SelfLoopPostProcessor/lambda$0$Type",1664),C(1665,1,Qn,lIe),f.Mb=function(t){return u(t,10).k==(nn(),Si)},x(ln,"SelfLoopPostProcessor/lambda$1$Type",1665),C(1666,1,Qn,cIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopPostProcessor/lambda$2$Type",1666),C(1667,1,bn,uIe),f.Cd=function(t){ZYt(u(t,10))},x(ln,"SelfLoopPostProcessor/lambda$3$Type",1667),C(1668,1,{},aIe),f.Kb=function(t){return new xt(null,new Mt(u(t,105).f,1))},x(ln,"SelfLoopPostProcessor/lambda$4$Type",1668),C(1669,1,bn,rDe),f.Cd=function(t){Ezt(this.a,u(t,340))},x(ln,"SelfLoopPostProcessor/lambda$5$Type",1669),C(1670,1,Qn,fIe),f.Mb=function(t){return!!u(t,105).i},x(ln,"SelfLoopPostProcessor/lambda$6$Type",1670),C(1671,1,bn,oDe),f.Cd=function(t){EOt(this.a,u(t,105))},x(ln,"SelfLoopPostProcessor/lambda$7$Type",1671),C(1653,1,qr,dIe),f.Kf=function(t,n){Utn(u(t,36),n)},x(ln,"SelfLoopPreProcessor",1653),C(1654,1,{},hIe),f.Kb=function(t){return new xt(null,new Mt(u(t,105).f,1))},x(ln,"SelfLoopPreProcessor/lambda$0$Type",1654),C(1655,1,{},pIe),f.Kb=function(t){return u(t,340).a},x(ln,"SelfLoopPreProcessor/lambda$1$Type",1655),C(1656,1,bn,gIe),f.Cd=function(t){MRt(u(t,18))},x(ln,"SelfLoopPreProcessor/lambda$2$Type",1656),C(1672,1,qr,HGe),f.Kf=function(t,n){RQt(this,u(t,36),n)},x(ln,"SelfLoopRouter",1672),C(1673,1,{},bIe),f.Kb=function(t){return new xt(null,new Mt(u(t,30).a,16))},x(ln,"SelfLoopRouter/lambda$0$Type",1673),C(1674,1,Qn,wIe),f.Mb=function(t){return u(t,10).k==(nn(),Si)},x(ln,"SelfLoopRouter/lambda$1$Type",1674),C(1675,1,Qn,mIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopRouter/lambda$2$Type",1675),C(1676,1,{},vIe),f.Kb=function(t){return u(A(u(t,10),(Oe(),Lw)),337)},x(ln,"SelfLoopRouter/lambda$3$Type",1676),C(1677,1,bn,THe),f.Cd=function(t){NNt(this.a,this.b,u(t,337))},x(ln,"SelfLoopRouter/lambda$4$Type",1677),C(1678,1,qr,yIe),f.Kf=function(t,n){crn(u(t,36),n)},x(ln,"SemiInteractiveCrossMinProcessor",1678),C(1679,1,Qn,kIe),f.Mb=function(t){return u(t,10).k==(nn(),Si)},x(ln,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),C(1680,1,Qn,CIe),f.Mb=function(t){return oVe(u(t,10))._b((Ue(),Mv))},x(ln,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),C(1681,1,tr,SIe),f.Ne=function(t,n){return EUt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),C(1682,1,{},xIe),f.Ve=function(t,n){return GNt(u(t,10),u(n,10))},x(ln,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),C(1684,1,qr,EIe),f.Kf=function(t,n){Rsn(u(t,36),n)},x(ln,"SortByInputModelProcessor",1684),C(1685,1,Qn,TIe),f.Mb=function(t){return u(t,12).g.c.length!=0},x(ln,"SortByInputModelProcessor/lambda$0$Type",1685),C(1686,1,bn,uDe),f.Cd=function(t){gZt(this.a,u(t,12))},x(ln,"SortByInputModelProcessor/lambda$1$Type",1686),C(1759,817,{},bet),f.df=function(t){var n,i,s,c;switch(this.c=t,this.a.g){case 2:n=new Le,yi(Ar(new xt(null,new Mt(this.c.a.b,16)),new FIe),new jHe(this,n)),gM(this,new MIe),ic(n,new PIe),n.c.length=0,yi(Ar(new xt(null,new Mt(this.c.a.b,16)),new OIe),new fDe(n)),gM(this,new _Ie),ic(n,new RIe),n.c.length=0,i=bUe(PW(Om(new xt(null,new Mt(this.c.a.b,16)),new dDe(this))),new AIe),yi(new xt(null,new Mt(this.c.a.a,16)),new PHe(i,n)),gM(this,new jIe),ic(n,new $Ie),n.c.length=0;break;case 3:s=new Le,gM(this,new IIe),c=bUe(PW(Om(new xt(null,new Mt(this.c.a.b,16)),new aDe(this))),new LIe),yi(Ar(new xt(null,new Mt(this.c.a.b,16)),new DIe),new _He(c,s)),gM(this,new NIe),ic(s,new BIe),s.c.length=0;break;default:throw B(new LBe)}},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation",1759),C(1760,1,Jd,IIe),f.Lb=function(t){return te(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),C(1761,1,{},aDe),f.Ye=function(t){return QZt(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),C(1769,1,S$,IHe),f.de=function(){jS(this.a,this.b,-1)},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),C(1771,1,Jd,MIe),f.Lb=function(t){return te(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),C(1772,1,bn,PIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),C(1773,1,Qn,OIe),f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),C(1775,1,bn,fDe),f.Cd=function(t){mVt(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),C(1774,1,S$,RHe),f.de=function(){jS(this.b,this.a,-1)},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),C(1776,1,Jd,_Ie),f.Lb=function(t){return te(u(t,60).g,10)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),C(1777,1,bn,RIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),C(1778,1,{},dDe),f.Ye=function(t){return ZZt(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),C(1779,1,{},AIe),f.We=function(){return 0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),C(1762,1,{},LIe),f.We=function(){return 0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),C(1781,1,bn,PHe),f.Cd=function(t){SDt(this.a,this.b,u(t,316))},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),C(1780,1,S$,OHe),f.de=function(){Rst(this.a,this.b,-1)},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),C(1782,1,Jd,jIe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),C(1783,1,bn,$Ie),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),C(1763,1,Qn,DIe),f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),C(1765,1,bn,_He),f.Cd=function(t){xDt(this.a,this.b,u(t,60))},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),C(1764,1,S$,AHe),f.de=function(){jS(this.b,this.a,-1)},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),C(1766,1,Jd,NIe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),C(1767,1,bn,BIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),C(1768,1,Qn,FIe),f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),C(1770,1,bn,jHe),f.Cd=function(t){HKt(this.a,this.b,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),C(1586,1,qr,eGe),f.Kf=function(t,n){oln(this,u(t,36),n)};var J0t;x(Ui,"HorizontalGraphCompactor",1586),C(1587,1,{},hDe),f.ff=function(t,n){var i,s,c;return ofe(t,n)||(i=Ay(t),s=Ay(n),i&&i.k==(nn(),Oi)||s&&s.k==(nn(),Oi))?0:(c=u(A(this.a.a,(Oe(),I2)),312),aAt(c,i?i.k:(nn(),io),s?s.k:(nn(),io)))},f.gf=function(t,n){var i,s,c;return ofe(t,n)?1:(i=Ay(t),s=Ay(n),c=u(A(this.a.a,(Oe(),I2)),312),Yle(c,i?i.k:(nn(),io),s?s.k:(nn(),io)))},x(Ui,"HorizontalGraphCompactor/1",1587),C(1588,1,{},zIe),f.ef=function(t,n){return hC(),t.a.i==0},x(Ui,"HorizontalGraphCompactor/lambda$0$Type",1588),C(1589,1,{},pDe),f.ef=function(t,n){return qNt(this.a,t,n)},x(Ui,"HorizontalGraphCompactor/lambda$1$Type",1589),C(1730,1,{},UQe);var Q0t,Z0t;x(Ui,"LGraphToCGraphTransformer",1730),C(1738,1,Qn,HIe),f.Mb=function(t){return t!=null},x(Ui,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),C(1731,1,{},KIe),f.Kb=function(t){return tf(),Ks(A(u(u(t,60).g,10),(Oe(),jr)))},x(Ui,"LGraphToCGraphTransformer/lambda$0$Type",1731),C(1732,1,{},UIe),f.Kb=function(t){return tf(),rnt(u(u(t,60).g,154))},x(Ui,"LGraphToCGraphTransformer/lambda$1$Type",1732),C(1741,1,Qn,GIe),f.Mb=function(t){return tf(),te(u(t,60).g,10)},x(Ui,"LGraphToCGraphTransformer/lambda$10$Type",1741),C(1742,1,bn,WIe),f.Cd=function(t){ZNt(u(t,60))},x(Ui,"LGraphToCGraphTransformer/lambda$11$Type",1742),C(1743,1,Qn,VIe),f.Mb=function(t){return tf(),te(u(t,60).g,154)},x(Ui,"LGraphToCGraphTransformer/lambda$12$Type",1743),C(1747,1,bn,qIe),f.Cd=function(t){OWt(u(t,60))},x(Ui,"LGraphToCGraphTransformer/lambda$13$Type",1747),C(1744,1,bn,gDe),f.Cd=function(t){rRt(this.a,u(t,8))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$14$Type",1744),C(1745,1,bn,bDe),f.Cd=function(t){oRt(this.a,u(t,116))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$15$Type",1745),C(1746,1,bn,wDe),f.Cd=function(t){iRt(this.a,u(t,8))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$16$Type",1746),C(1748,1,{},XIe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(Ui,"LGraphToCGraphTransformer/lambda$17$Type",1748),C(1749,1,Qn,YIe),f.Mb=function(t){return tf(),Zo(u(t,18))},x(Ui,"LGraphToCGraphTransformer/lambda$18$Type",1749),C(1750,1,bn,mDe),f.Cd=function(t){yKt(this.a,u(t,18))},x(Ui,"LGraphToCGraphTransformer/lambda$19$Type",1750),C(1734,1,bn,vDe),f.Cd=function(t){VFt(this.a,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$2$Type",1734),C(1751,1,{},JIe),f.Kb=function(t){return tf(),new xt(null,new Mt(u(t,30).a,16))},x(Ui,"LGraphToCGraphTransformer/lambda$20$Type",1751),C(1752,1,{},QIe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(Ui,"LGraphToCGraphTransformer/lambda$21$Type",1752),C(1753,1,{},ZIe),f.Kb=function(t){return tf(),u(A(u(t,18),(Oe(),V0)),15)},x(Ui,"LGraphToCGraphTransformer/lambda$22$Type",1753),C(1754,1,Qn,eMe),f.Mb=function(t){return fAt(u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$23$Type",1754),C(1755,1,bn,yDe),f.Cd=function(t){zZt(this.a,u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$24$Type",1755),C(1733,1,bn,$He),f.Cd=function(t){Uzt(this.a,this.b,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$3$Type",1733),C(1735,1,{},tMe),f.Kb=function(t){return tf(),new xt(null,new Mt(u(t,30).a,16))},x(Ui,"LGraphToCGraphTransformer/lambda$4$Type",1735),C(1736,1,{},nMe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(Ui,"LGraphToCGraphTransformer/lambda$5$Type",1736),C(1737,1,{},rMe),f.Kb=function(t){return tf(),u(A(u(t,18),(Oe(),V0)),15)},x(Ui,"LGraphToCGraphTransformer/lambda$6$Type",1737),C(1739,1,bn,kDe),f.Cd=function(t){een(this.a,u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$8$Type",1739),C(1740,1,bn,DHe),f.Cd=function(t){PRt(this.a,this.b,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$9$Type",1740),C(1729,1,{},iMe),f.cf=function(t){var n,i,s,c,d;for(this.a=t,this.d=new oK,this.c=be(ive,Bt,125,this.a.a.a.c.length,0,1),this.b=0,i=new N(this.a.a.a);i.a=j&&(je(d,Ae(k)),ne=w.Math.max(ne,se[k-1]-T),b+=L,z+=se[k-1]-z,T=se[k-1],L=m[k]),L=w.Math.max(L,m[k]),++k;b+=L}O=w.Math.min(1/ne,1/n.b/b),O>s&&(s=O,i=d)}return i},f.pg=function(){return!1},x(th,"MSDCutIndexHeuristic",816),C(1683,1,qr,zMe),f.Kf=function(t,n){usn(u(t,36),n)},x(th,"SingleEdgeGraphWrapper",1683),C(232,22,{3:1,34:1,22:1,232:1},kC);var y2,I8,M8,yv,H9,k2,P8=An(Sl,"CenterEdgeLabelPlacementStrategy",232,Nn,qHt,YLt),fbt;C(431,22,{3:1,34:1,22:1,431:1},Jse);var Iye,WQ,Mye=An(Sl,"ConstraintCalculationStrategy",431,Nn,pBt,JLt),dbt;C(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},BK),f.dg=function(){return Fot(this)},f.qg=function(){return Fot(this)};var _P,K9,Pye,Oye=An(Sl,"CrossingMinimizationStrategy",322,Nn,cFt,QLt),hbt;C(351,22,{3:1,34:1,22:1,351:1},FK);var _ye,VQ,kN,Rye=An(Sl,"CuttingStrategy",351,Nn,uFt,ZLt),pbt;C(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},ET),f.dg=function(){return Ost(this)},f.qg=function(){return Ost(this)};var Aye,qQ,O8,XQ,_8,Lye=An(Sl,"CycleBreakingStrategy",348,Nn,dHt,ejt),gbt;C(428,22,{3:1,34:1,22:1,428:1},Qse);var CN,jye,$ye=An(Sl,"DirectionCongruency",428,Nn,hBt,tjt),bbt;C(460,22,{3:1,34:1,22:1,460:1},zK);var R8,YQ,C2,wbt=An(Sl,"EdgeConstraint",460,Nn,aFt,cjt),mbt;C(283,22,{3:1,34:1,22:1,283:1},CC);var JQ,QQ,ZQ,eZ,SN,tZ,Dye=An(Sl,"EdgeLabelSideSelection",283,Nn,GHt,ujt),vbt;C(488,22,{3:1,34:1,22:1,488:1},Zse);var xN,Nye,Bye=An(Sl,"EdgeStraighteningStrategy",488,Nn,kBt,ajt),ybt;C(281,22,{3:1,34:1,22:1,281:1},SC);var nZ,Fye,zye,EN,Hye,Kye,Uye=An(Sl,"FixedAlignment",281,Nn,WHt,ljt),kbt;C(282,22,{3:1,34:1,22:1,282:1},xC);var Gye,Wye,Vye,qye,U9,Xye,Yye=An(Sl,"GraphCompactionStrategy",282,Nn,VHt,njt),Cbt;C(259,22,{3:1,34:1,22:1,259:1},mm);var A8,TN,L8,ka,G9,IN,j8,S2,MN,W9,rZ=An(Sl,"GraphProperties",259,Nn,_Ut,rjt),Sbt;C(299,22,{3:1,34:1,22:1,299:1},HK);var RP,iZ,oZ,sZ=An(Sl,"GreedySwitchType",299,Nn,fFt,ijt),xbt;C(311,22,{3:1,34:1,22:1,311:1},KK);var t6,AP,x2,Ebt=An(Sl,"InLayerConstraint",311,Nn,dFt,ojt),Tbt;C(429,22,{3:1,34:1,22:1,429:1},ele);var lZ,Jye,Qye=An(Sl,"InteractiveReferencePoint",429,Nn,dBt,sjt),Ibt,Zye,n6,_w,PN,e2e,t2e,ON,n2e,LP,_N,V9,r6,C1,cZ,RN,fl,r2e,Eg,Kl,uZ,aZ,jP,W0,Rw,i6,i2e,o6,$P,kv,Hf,Fa,fZ,E2,zr,jr,o2e,s2e,l2e,c2e,u2e,dZ,AN,Zc,Aw,hZ,s6,q9,bd,T2,Lw,I2,M2,$8,V0,a2e,pZ,gZ,l6;C(171,22,{3:1,34:1,22:1,171:1},TT);var X9,Tg,Y9,Cv,DP,f2e=An(Sl,"LayerConstraint",171,Nn,pHt,fjt),Mbt;C(859,1,ja,ZLe),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,l0e),""),"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."),k2e),(cp(),oi)),$ye),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,c0e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Gt(),!1)),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,N$),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),I2e),oi),Qye),ht(Nt)))),ji(t,N$,lY,Cwt),ji(t,N$,g9,kwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,u0e),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,a0e),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(r_t(ct(lt(ut(Tt(rt(st(it(ot(new tt,f0e),""),"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),Qi),Ci),ht(tb)),H(F(Je,1),_e,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,d0e),""),"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."),j2e),oi),U3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,h0e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Ae(7)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,p0e),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,g0e),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,lY),"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)."),y2e),oi),Lye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,nP),_Y),"Node Layering Strategy"),"Strategy for node layering."),O2e),oi),R3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,b0e),_Y),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),M2e),oi),f2e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,w0e),_Y),"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),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,m0e),_Y),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Ae(-1)),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,cY),Qft),"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."),Ae(4)),Ws),Po),ht(Nt)))),ji(t,cY,nP,Pwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,uY),Qft),"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."),Ae(2)),Ws),Po),ht(Nt)))),ji(t,uY,nP,_wt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,aY),Zft),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),P2e),oi),z3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,fY),Zft),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Ae(0)),Ws),Po),ht(Nt)))),ji(t,fY,aY,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,dY),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Ae(Pr)),Ws),Po),ht(Nt)))),ji(t,dY,nP,xwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,g9),u8),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),v2e),oi),Oye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,v0e),u8),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,hY),u8),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Do),Bi),ht(Nt)))),ji(t,hY,J$,qbt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,pY),u8),"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),Qi),Ci),ht(Nt)))),ji(t,pY,g9,ewt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,y0e),u8),"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),B2),Je),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,k0e),u8),"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),B2),Je),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,C0e),u8),"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),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,S0e),u8),"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."),Ae(-1)),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,x0e),edt),"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."),Ae(40)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,gY),edt),"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."),m2e),oi),sZ),ht(Nt)))),ji(t,gY,g9,Wbt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,B$),"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."),w2e),oi),sZ),ht(Nt)))),ji(t,B$,g9,Kbt),ji(t,B$,J$,Ubt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,u2),tdt),"Node Placement Strategy"),"Strategy for node placement."),L2e),oi),$3e),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,F$),tdt),"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."),Qi),Ci),ht(Nt)))),ji(t,F$,u2,Hwt),ji(t,F$,u2,Kwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,bY),ndt),"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."),_2e),oi),Bye),ht(Nt)))),ji(t,bY,u2,Nwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,wY),ndt),"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."),R2e),oi),Uye),ht(Nt)))),ji(t,wY,u2,Fwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,mY),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Do),Bi),ht(Nt)))),ji(t,mY,u2,Gwt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,vY),"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."),oi),DZ),ht(qi)))),ji(t,vY,u2,Xwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,yY),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),A2e),oi),DZ),ht(Nt)))),ji(t,yY,u2,qwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,E0e),rdt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),x2e),oi),V3e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,T0e),rdt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),E2e),oi),q3e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,z$),"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."),T2e),oi),Y3e),ht(Nt)))),ji(t,z$,rP,fwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,H$),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Do),Bi),ht(Nt)))),ji(t,H$,rP,hwt),ji(t,H$,z$,pwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,kY),"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),Do),Bi),ht(Nt)))),ji(t,kY,rP,lwt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,I0e),hd),"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."),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,M0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,P0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,O0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,_0e),z0e),"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."),Ae(0)),Ws),Po),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,R0e),z0e),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Ae(0)),Ws),Po),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,A0e),z0e),"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."),Ae(0)),Ws),Po),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,CY),H0e),vft),"Tries to further compact components (disconnected sub-graphs)."),!1),Qi),Ci),ht(Nt)))),ji(t,CY,a9,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,L0e),idt),"Post Compaction Strategy"),odt),h2e),oi),Yye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,j0e),idt),"Post Compaction Constraint Calculation"),odt),d2e),oi),Mye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,K$),K0e),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,SY),K0e),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Ae(16)),Ws),Po),ht(Nt)))),ji(t,SY,K$,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,xY),K0e),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Ae(5)),Ws),Po),ht(Nt)))),ji(t,xY,K$,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,v1),U0e),"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'."),N2e),oi),e4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,U$),U0e),"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),Do),Bi),ht(Nt)))),ji(t,U$,v1,cmt),ji(t,U$,v1,umt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,G$),U0e),"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),Do),Bi),ht(Nt)))),ji(t,G$,v1,fmt),ji(t,G$,v1,dmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,b9),sdt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),D2e),oi),Rye),ht(Nt)))),ji(t,b9,v1,mmt),ji(t,b9,v1,vmt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,EY),sdt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),md),ya),ht(Nt)))),ji(t,EY,b9,pmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,TY),"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."),$2e),Ws),Po),ht(Nt)))),ji(t,TY,b9,bmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,W$),ldt),"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."),B2e),oi),Z3e),ht(Nt)))),ji(t,W$,v1,_mt),ji(t,W$,v1,Rmt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,V$),ldt),"Valid Indices for Wrapping"),null),md),ya),ht(Nt)))),ji(t,V$,v1,Mmt),ji(t,V$,v1,Pmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,q$),G0e),"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),Qi),Ci),ht(Nt)))),ji(t,q$,v1,Smt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,X$),G0e),"Distance Penalty When Improving Cuts"),null),2),Do),Bi),ht(Nt)))),ji(t,X$,v1,kmt),ji(t,X$,q$,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,IY),G0e),"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),Qi),Ci),ht(Nt)))),ji(t,IY,v1,Emt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,$0e),RY),"Edge Label Side Selection"),"Method to decide on edge label sides."),S2e),oi),Dye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,D0e),RY),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),C2e),oi),P8),Yr(Nt,H(F($h,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Y$),w9),"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."),b2e),oi),K3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,N0e),w9),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,B0e),w9),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,MY),w9),"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."),p2e),oi),Lve),ht(Nt)))),ji(t,MY,a9,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,F0e),w9),"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."),g2e),oi),L3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,PY),w9),"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),Do),Bi),ht(Nt)))),ji(t,PY,Y$,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,OY),w9),"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),Do),Bi),ht(Nt)))),ji(t,OY,Y$,null),xat((new eje,t))};var Pbt,Obt,_bt,d2e,Rbt,h2e,Abt,p2e,Lbt,jbt,$bt,g2e,Dbt,Nbt,Bbt,b2e,Fbt,zbt,Hbt,w2e,Kbt,Ubt,Gbt,m2e,Wbt,Vbt,qbt,Xbt,Ybt,Jbt,Qbt,Zbt,ewt,twt,v2e,nwt,y2e,rwt,k2e,iwt,C2e,owt,S2e,swt,lwt,cwt,x2e,uwt,E2e,awt,T2e,fwt,dwt,hwt,pwt,gwt,bwt,wwt,mwt,vwt,ywt,I2e,kwt,Cwt,Swt,xwt,Ewt,Twt,M2e,Iwt,Mwt,Pwt,Owt,_wt,Rwt,Awt,P2e,Lwt,O2e,jwt,$wt,Dwt,_2e,Nwt,Bwt,R2e,Fwt,zwt,Hwt,Kwt,Uwt,Gwt,Wwt,Vwt,A2e,qwt,Xwt,Ywt,L2e,Jwt,j2e,Qwt,Zwt,emt,tmt,nmt,rmt,imt,omt,smt,lmt,cmt,umt,amt,fmt,dmt,hmt,pmt,gmt,$2e,bmt,wmt,D2e,mmt,vmt,ymt,kmt,Cmt,Smt,xmt,Emt,Tmt,N2e,Imt,Mmt,Pmt,Omt,B2e,_mt,Rmt;x(Sl,"LayeredMetaDataProvider",859),C(998,1,ja,eje),f.hf=function(t){xat(t)};var sh,bZ,LN,J9,jN,F2e,$N,Sv,DN,z2e,H2e,NN,wZ,jh,mZ,jw,K2e,NP,vZ,U2e,Amt,Lmt,jmt,BN,yZ,Q9,q0,$mt,Wu,G2e,W2e,FN,kZ,lh,zN,S1,V2e,q2e,X2e,CZ,SZ,Y2e,gp,xZ,J2e,xv,Q2e,Z2e,e3e,HN,Ev,X0,t3e,n3e,Ts,r3e,Dmt,fc,KN,i3e,o3e,s3e,Ig,Y0,UN,l3e,c3e,GN,$w,u3e,EZ,Z9,a3e,Dw,ex,WN,J0,TZ,D8,VN,Q0,f3e,d3e,h3e,N8,p3e,Nmt,Bmt,Fmt,zmt,Nw,Tv,vi,bp,Hmt,Iv,g3e,B8,b3e,Mv,Kmt,F8,w3e,c6,Umt,Gmt,BP,IZ,m3e,FP,pf,P2,O2,Bw,Z0,qN,Pv,MZ,z8,H8,Fw,_2,PZ,zP,tx,nx,Wmt,Vmt,qmt,v3e,Xmt,OZ,y3e,k3e,C3e,S3e,_Z,x3e,E3e,T3e,I3e,RZ,XN;x(Sl,"LayeredOptions",998),C(999,1,{},HMe),f.sf=function(){var t;return t=new HBe,t},f.tf=function(t){},x(Sl,"LayeredOptions/LayeredFactory",999),C(1391,1,{}),f.a=0;var Ymt;x(cl,"ElkSpacings/AbstractSpacingsBuilder",1391),C(792,1391,{},qde);var YN,Jmt;x(Sl,"LayeredSpacings/LayeredSpacingsBuilder",792),C(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},wy),f.dg=function(){return Blt(this)},f.qg=function(){return Blt(this)};var K8,AZ,U8,M3e,P3e,O3e,JN,LZ,_3e,R3e=An(Sl,"LayeringStrategy",265,Nn,lUt,djt),Qmt;C(390,22,{3:1,34:1,22:1,390:1},UK);var jZ,A3e,QN,L3e=An(Sl,"LongEdgeOrderingStrategy",390,Nn,hFt,hjt),Zmt;C(203,22,{3:1,34:1,22:1,203:1},HR);var R2,A2,ZN,$Z,DZ=An(Sl,"NodeFlexibility",203,Nn,Czt,pjt),evt;C(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},IT),f.dg=function(){return Pst(this)},f.qg=function(){return Pst(this)};var rx,NZ,BZ,ix,j3e,$3e=An(Sl,"NodePlacementStrategy",323,Nn,hHt,gjt),tvt;C(243,22,{3:1,34:1,22:1,243:1},vm);var D3e,zw,Ov,HP,N3e,B3e,KP,F3e,eB,tB,z3e=An(Sl,"NodePromotionStrategy",243,Nn,RUt,bjt),nvt;C(284,22,{3:1,34:1,22:1,284:1},KR);var H3e,wp,FZ,zZ,K3e=An(Sl,"OrderingStrategy",284,Nn,Szt,wjt),rvt;C(430,22,{3:1,34:1,22:1,430:1},tle);var HZ,KZ,U3e=An(Sl,"PortSortingStrategy",430,Nn,gBt,mjt),ivt;C(463,22,{3:1,34:1,22:1,463:1},GK);var eu,Zl,ox,ovt=An(Sl,"PortType",463,Nn,pFt,vjt),svt;C(387,22,{3:1,34:1,22:1,387:1},WK);var G3e,UZ,W3e,V3e=An(Sl,"SelfLoopDistributionStrategy",387,Nn,gFt,yjt),lvt;C(349,22,{3:1,34:1,22:1,349:1},VK);var GZ,UP,WZ,q3e=An(Sl,"SelfLoopOrderingStrategy",349,Nn,bFt,kjt),cvt;C(312,1,{312:1},kut),x(Sl,"Spacings",312),C(350,22,{3:1,34:1,22:1,350:1},qK);var VZ,X3e,sx,Y3e=An(Sl,"SplineRoutingMode",350,Nn,wFt,Cjt),uvt;C(352,22,{3:1,34:1,22:1,352:1},XK);var qZ,J3e,Q3e,Z3e=An(Sl,"ValidifyStrategy",352,Nn,mFt,Sjt),avt;C(388,22,{3:1,34:1,22:1,388:1},YK);var _v,XZ,G8,e4e=An(Sl,"WrappingStrategy",388,Nn,vFt,xjt),fvt;C(1398,1,as,GLe),f.rg=function(t){return u(t,36),dvt},f.Kf=function(t,n){nln(this,u(t,36),n)};var dvt;x(tD,"DepthFirstCycleBreaker",1398),C(793,1,as,pue),f.rg=function(t){return u(t,36),hvt},f.Kf=function(t,n){san(this,u(t,36),n)},f.sg=function(t){return u(Ye(t,Rj(this.d,t.c.length)),10)};var hvt;x(tD,"GreedyCycleBreaker",793),C(1401,793,as,NKe),f.sg=function(t){var n,i,s,c;for(c=null,n=Pr,s=new N(t);s.a1&&(qe(Ve(A(To((_t(0,t.c.length),u(t.c[0],10))),(Ue(),jw))))?Hst(t,this.d,u(this,669)):(Ot(),Pi(t,this.d)),Ket(this.e,t))},f.lg=function(t,n,i,s){var c,d,h,b,m,v,k;for(n!=iVe(i,t.length)&&(d=t[n-(i?1:-1)],Kae(this.f,d,i?(ls(),Zl):(ls(),eu))),c=t[n][0],k=!s||c.k==(nn(),Oi),v=td(t[n]),this.vg(v,k,!1,i),h=0,m=new N(v);m.a"),t0?OG(this.a,t[n-1],t[n]):!i&&n1&&(qe(Ve(A(To((_t(0,t.c.length),u(t.c[0],10))),(Ue(),jw))))?Hst(t,this.d,this):(Ot(),Pi(t,this.d)),qe(Ve(A(To((_t(0,t.c.length),u(t.c[0],10))),jw)))||Ket(this.e,t))},x(Bc,"ModelOrderBarycenterHeuristic",669),C(1866,1,tr,zDe),f.Ne=function(t,n){return nZt(this.a,u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Bc,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),C(1423,1,as,nje),f.rg=function(t){var n;return u(t,36),n=oA(Pvt),cr(n,(Lo(),Ol),(Ko(),aN)),n},f.Kf=function(t,n){BNt((u(t,36),n))};var Pvt;x(Bc,"NoCrossingMinimizer",1423),C(809,413,Tbe,xse),f.tg=function(t,n,i){var s,c,d,h,b,m,v,k,T,M,O;switch(T=this.g,i.g){case 1:{for(c=0,d=0,k=new N(t.j);k.a1&&(c.j==(ze(),fn)?this.b[t]=!0:c.j==rn&&t>0&&(this.b[t-1]=!0))},f.f=0,x(_h,"AllCrossingsCounter",1861),C(595,1,{},YL),f.b=0,f.d=0,x(_h,"BinaryIndexedTree",595),C(532,1,{},qT);var r4e,rB;x(_h,"CrossingsCounter",532),C(1950,1,tr,HDe),f.Ne=function(t,n){return fDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$0$Type",1950),C(1951,1,tr,KDe),f.Ne=function(t,n){return dDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$1$Type",1951),C(1952,1,tr,UDe),f.Ne=function(t,n){return hDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$2$Type",1952),C(1953,1,tr,GDe),f.Ne=function(t,n){return pDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$3$Type",1953),C(1954,1,bn,WDe),f.Cd=function(t){pKt(this.a,u(t,12))},x(_h,"CrossingsCounter/lambda$4$Type",1954),C(1955,1,Qn,VDe),f.Mb=function(t){return B_t(this.a,u(t,12))},x(_h,"CrossingsCounter/lambda$5$Type",1955),C(1956,1,bn,qDe),f.Cd=function(t){PKe(this,t)},x(_h,"CrossingsCounter/lambda$6$Type",1956),C(1957,1,bn,FHe),f.Cd=function(t){var n;L5(),eg(this.b,(n=this.a,u(t,12),n))},x(_h,"CrossingsCounter/lambda$7$Type",1957),C(839,1,Jd,Zie),f.Lb=function(t){return L5(),Xr(u(t,12),(Oe(),Zc))},f.Fb=function(t){return this===t},f.Mb=function(t){return L5(),Xr(u(t,12),(Oe(),Zc))},x(_h,"CrossingsCounter/lambda$8$Type",839),C(1949,1,{},XDe),x(_h,"HyperedgeCrossingsCounter",1949),C(478,1,{34:1,478:1},KGe),f.Fd=function(t){return hqt(this,u(t,478))},f.b=0,f.c=0,f.e=0,f.f=0;var Van=x(_h,"HyperedgeCrossingsCounter/Hyperedge",478);C(374,1,{34:1,374:1},JA),f.Fd=function(t){return Itn(this,u(t,374))},f.b=0,f.c=0;var Ovt=x(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",374);C(531,22,{3:1,34:1,22:1,531:1},nle);var cx,ux,_vt=An(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Nn,bBt,Tjt),Rvt;C(1425,1,as,rje),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Avt:null},f.Kf=function(t,n){NYt(this,u(t,36),n)};var Avt;x(fs,"InteractiveNodePlacer",1425),C(1426,1,as,ije),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Lvt:null},f.Kf=function(t,n){CXt(this,u(t,36),n)};var Lvt,iB,oB;x(fs,"LinearSegmentsNodePlacer",1426),C(261,1,{34:1,261:1},Qoe),f.Fd=function(t){return JOt(this,u(t,261))},f.Fb=function(t){var n;return te(t,261)?(n=u(t,261),this.b==n.b):!1},f.Hb=function(){return this.b},f.Ib=function(){return"ls"+ag(this.e)},f.a=0,f.b=0,f.c=-1,f.d=-1,f.g=0;var jvt=x(fs,"LinearSegmentsNodePlacer/LinearSegment",261);C(1428,1,as,pVe),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?$vt:null},f.Kf=function(t,n){Jun(this,u(t,36),n)},f.b=0,f.g=0;var $vt;x(fs,"NetworkSimplexPlacer",1428),C(1447,1,tr,QMe),f.Ne=function(t,n){return vl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(fs,"NetworkSimplexPlacer/0methodref$compare$Type",1447),C(1449,1,tr,ZMe),f.Ne=function(t,n){return vl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(fs,"NetworkSimplexPlacer/1methodref$compare$Type",1449),C(655,1,{655:1},zHe);var qan=x(fs,"NetworkSimplexPlacer/EdgeRep",655);C(412,1,{412:1},que),f.b=!1;var Xan=x(fs,"NetworkSimplexPlacer/NodeRep",412);C(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},JBe),x(fs,"NetworkSimplexPlacer/Path",515),C(1429,1,{},ePe),f.Kb=function(t){return u(t,18).d.i.k},x(fs,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),C(1430,1,Qn,tPe),f.Mb=function(t){return u(t,273)==(nn(),io)},x(fs,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),C(1431,1,{},nPe),f.Kb=function(t){return u(t,18).d.i},x(fs,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),C(1432,1,Qn,YDe),f.Mb=function(t){return IGe(Rnt(u(t,10)))},x(fs,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),C(1433,1,Qn,rPe),f.Mb=function(t){return X$t(u(t,12))},x(fs,"NetworkSimplexPlacer/lambda$0$Type",1433),C(1434,1,bn,HHe),f.Cd=function(t){ORt(this.a,this.b,u(t,12))},x(fs,"NetworkSimplexPlacer/lambda$1$Type",1434),C(1443,1,bn,JDe),f.Cd=function(t){nen(this.a,u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$10$Type",1443),C(1444,1,{},iPe),f.Kb=function(t){return Lu(),new xt(null,new Mt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$11$Type",1444),C(1445,1,bn,QDe),f.Cd=function(t){Yrn(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$12$Type",1445),C(1446,1,{},oPe),f.Kb=function(t){return Lu(),Ae(u(t,125).e)},x(fs,"NetworkSimplexPlacer/lambda$13$Type",1446),C(1448,1,{},sPe),f.Kb=function(t){return Lu(),Ae(u(t,125).e)},x(fs,"NetworkSimplexPlacer/lambda$15$Type",1448),C(1450,1,Qn,lPe),f.Mb=function(t){return Lu(),u(t,412).c.k==(nn(),Si)},x(fs,"NetworkSimplexPlacer/lambda$17$Type",1450),C(1451,1,Qn,cPe),f.Mb=function(t){return Lu(),u(t,412).c.j.c.length>1},x(fs,"NetworkSimplexPlacer/lambda$18$Type",1451),C(1452,1,bn,Cqe),f.Cd=function(t){jVt(this.c,this.b,this.d,this.a,u(t,412))},f.c=0,f.d=0,x(fs,"NetworkSimplexPlacer/lambda$19$Type",1452),C(1435,1,{},uPe),f.Kb=function(t){return Lu(),new xt(null,new Mt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$2$Type",1435),C(1453,1,bn,ZDe),f.Cd=function(t){RRt(this.a,u(t,12))},f.a=0,x(fs,"NetworkSimplexPlacer/lambda$20$Type",1453),C(1454,1,{},aPe),f.Kb=function(t){return Lu(),new xt(null,new Mt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$21$Type",1454),C(1455,1,bn,eNe),f.Cd=function(t){URt(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$22$Type",1455),C(1456,1,Qn,fPe),f.Mb=function(t){return IGe(t)},x(fs,"NetworkSimplexPlacer/lambda$23$Type",1456),C(1457,1,{},dPe),f.Kb=function(t){return Lu(),new xt(null,new Mt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$24$Type",1457),C(1458,1,Qn,tNe),f.Mb=function(t){return Z_t(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$25$Type",1458),C(1459,1,bn,KHe),f.Cd=function(t){sZt(this.a,this.b,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$26$Type",1459),C(1460,1,Qn,hPe),f.Mb=function(t){return Lu(),!Zo(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$27$Type",1460),C(1461,1,Qn,pPe),f.Mb=function(t){return Lu(),!Zo(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$28$Type",1461),C(1462,1,{},nNe),f.Ve=function(t,n){return _Rt(this.a,u(t,30),u(n,30))},x(fs,"NetworkSimplexPlacer/lambda$29$Type",1462),C(1436,1,{},gPe),f.Kb=function(t){return Lu(),new xt(null,new zb(new gn(wn(Mi(u(t,10)).a.Kc(),new $))))},x(fs,"NetworkSimplexPlacer/lambda$3$Type",1436),C(1437,1,Qn,bPe),f.Mb=function(t){return Lu(),lzt(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$4$Type",1437),C(1438,1,bn,rNe),f.Cd=function(t){osn(this.a,u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$5$Type",1438),C(1439,1,{},wPe),f.Kb=function(t){return Lu(),new xt(null,new Mt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$6$Type",1439),C(1440,1,Qn,mPe),f.Mb=function(t){return Lu(),u(t,10).k==(nn(),Si)},x(fs,"NetworkSimplexPlacer/lambda$7$Type",1440),C(1441,1,{},vPe),f.Kb=function(t){return Lu(),new xt(null,new zb(new gn(wn(d1(u(t,10)).a.Kc(),new $))))},x(fs,"NetworkSimplexPlacer/lambda$8$Type",1441),C(1442,1,Qn,yPe),f.Mb=function(t){return Lu(),q$t(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$9$Type",1442),C(1424,1,as,oje),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Dvt:null},f.Kf=function(t,n){Bsn(u(t,36),n)};var Dvt;x(fs,"SimpleNodePlacer",1424),C(185,1,{185:1},Zy),f.Ib=function(){var t;return t="",this.c==(Hd(),Hw)?t+=z4:this.c==mp&&(t+=F4),this.o==(Zf(),eb)?t+=BX:this.o==wd?t+="UP":t+="BALANCED",t},x(mg,"BKAlignedLayout",185),C(523,22,{3:1,34:1,22:1,523:1},rle);var mp,Hw,Nvt=An(mg,"BKAlignedLayout/HDirection",523,Nn,mBt,Ijt),Bvt;C(522,22,{3:1,34:1,22:1,522:1},ile);var eb,wd,Fvt=An(mg,"BKAlignedLayout/VDirection",522,Nn,vBt,Mjt),zvt;C(1699,1,{},UHe),x(mg,"BKAligner",1699),C(1702,1,{},rit),x(mg,"BKCompactor",1702),C(663,1,{663:1},kPe),f.a=0,x(mg,"BKCompactor/ClassEdge",663),C(467,1,{467:1},qBe),f.a=null,f.b=0,x(mg,"BKCompactor/ClassNode",467),C(1427,1,as,qHe),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Hvt:null},f.Kf=function(t,n){gan(this,u(t,36),n)},f.d=!1;var Hvt;x(mg,"BKNodePlacer",1427),C(1700,1,{},CPe),f.d=0,x(mg,"NeighborhoodInformation",1700),C(1701,1,tr,iNe),f.Ne=function(t,n){return KKt(this,u(t,42),u(n,42))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(mg,"NeighborhoodInformation/NeighborComparator",1701),C(823,1,{}),x(mg,"ThresholdStrategy",823),C(1825,823,{},XBe),f.wg=function(t,n,i){return this.a.o==(Zf(),wd)?ii:Hi},f.xg=function(){},x(mg,"ThresholdStrategy/NullThresholdStrategy",1825),C(587,1,{587:1},XHe),f.c=!1,f.d=!1,x(mg,"ThresholdStrategy/Postprocessable",587),C(1826,823,{},YBe),f.wg=function(t,n,i){var s,c,d;return c=n==i,s=this.a.a[i.p]==n,c||s?(d=t,this.a.c==(Hd(),Hw)?(c&&(d=Nq(this,n,!0)),!isNaN(d)&&!isFinite(d)&&s&&(d=Nq(this,i,!1))):(c&&(d=Nq(this,n,!0)),!isNaN(d)&&!isFinite(d)&&s&&(d=Nq(this,i,!1))),d):t},f.xg=function(){for(var t,n,i,s,c;this.d.b!=0;)c=u(LBt(this.d),587),s=Pct(this,c),s.a&&(t=s.a,i=qe(this.a.f[this.a.g[c.b.p].p]),!(!i&&!Zo(t)&&t.c.i.c==t.d.i.c)&&(n=Lst(this,c),n||nRt(this.e,c)));for(;this.e.a.c.length!=0;)Lst(this,u(jtt(this.e),587))},x(mg,"ThresholdStrategy/SimpleThresholdStrategy",1826),C(645,1,{645:1,188:1,196:1},SPe),f.dg=function(){return Uet(this)},f.qg=function(){return Uet(this)};var YZ;x(DY,"EdgeRouterFactory",645),C(1485,1,as,sje),f.rg=function(t){return Trn(u(t,36))},f.Kf=function(t,n){Gsn(u(t,36),n)};var Kvt,Uvt,Gvt,Wvt,Vvt,i4e,qvt,Xvt;x(DY,"OrthogonalEdgeRouter",1485),C(1478,1,as,VHe),f.rg=function(t){return qYt(u(t,36))},f.Kf=function(t,n){gun(this,u(t,36),n)};var Yvt,Jvt,Qvt,Zvt,WP,eyt;x(DY,"PolylineEdgeRouter",1478),C(1479,1,Jd,EPe),f.Lb=function(t){return Gfe(u(t,10))},f.Fb=function(t){return this===t},f.Mb=function(t){return Gfe(u(t,10))},x(DY,"PolylineEdgeRouter/1",1479),C(1872,1,Qn,TPe),f.Mb=function(t){return u(t,132).c==(Af(),Mg)},x(Bf,"HyperEdgeCycleDetector/lambda$0$Type",1872),C(1873,1,{},IPe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$1$Type",1873),C(1874,1,Qn,MPe),f.Mb=function(t){return u(t,132).c==(Af(),Mg)},x(Bf,"HyperEdgeCycleDetector/lambda$2$Type",1874),C(1875,1,{},PPe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$3$Type",1875),C(1876,1,{},OPe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$4$Type",1876),C(1877,1,{},xPe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$5$Type",1877),C(118,1,{34:1,118:1},DI),f.Fd=function(t){return QOt(this,u(t,118))},f.Fb=function(t){var n;return te(t,118)?(n=u(t,118),this.g==n.g):!1},f.Hb=function(){return this.g},f.Ib=function(){var t,n,i,s;for(t=new Ru("{"),s=new N(this.n);s.a"+this.b+" ("+wAt(this.c)+")"},f.d=0,x(Bf,"HyperEdgeSegmentDependency",132),C(528,22,{3:1,34:1,22:1,528:1},ole);var Mg,Rv,tyt=An(Bf,"HyperEdgeSegmentDependency/DependencyType",528,Nn,yBt,Pjt),nyt;C(1878,1,{},oNe),x(Bf,"HyperEdgeSegmentSplitter",1878),C(1879,1,{},JFe),f.a=0,f.b=0,x(Bf,"HyperEdgeSegmentSplitter/AreaRating",1879),C(339,1,{339:1},NU),f.a=0,f.b=0,f.c=0,x(Bf,"HyperEdgeSegmentSplitter/FreeArea",339),C(1880,1,tr,_Pe),f.Ne=function(t,n){return wLt(u(t,118),u(n,118))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Bf,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),C(1881,1,bn,Sqe),f.Cd=function(t){Gzt(this.a,this.d,this.c,this.b,u(t,118))},f.b=0,x(Bf,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),C(1882,1,{},RPe),f.Kb=function(t){return new xt(null,new Mt(u(t,118).e,16))},x(Bf,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),C(1883,1,{},APe),f.Kb=function(t){return new xt(null,new Mt(u(t,118).j,16))},x(Bf,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),C(1884,1,{},LPe),f.Ye=function(t){return le(pe(t))},x(Bf,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),C(664,1,{},uG),f.a=0,f.b=0,f.c=0,x(Bf,"OrthogonalRoutingGenerator",664),C(1703,1,{},jPe),f.Kb=function(t){return new xt(null,new Mt(u(t,118).e,16))},x(Bf,"OrthogonalRoutingGenerator/lambda$0$Type",1703),C(1704,1,{},$Pe),f.Kb=function(t){return new xt(null,new Mt(u(t,118).j,16))},x(Bf,"OrthogonalRoutingGenerator/lambda$1$Type",1704),C(670,1,{}),x(NY,"BaseRoutingDirectionStrategy",670),C(1870,670,{},eFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L,j;if(!(t.r&&!t.q))for(k=n+t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Pe(T,d),ir(h.a,s),hw(this,h,c,s,!1),M=t.r,M&&(O=le(pe(ga(M.e,0))),s=new Pe(O,d),ir(h.a,s),hw(this,h,c,s,!1),d=n+M.o*i,c=M,s=new Pe(O,d),ir(h.a,s),hw(this,h,c,s,!1)),s=new Pe(j,d),ir(h.a,s),hw(this,h,c,s,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ze(),Mn},f.Bg=function(){return ze(),en},x(NY,"NorthToSouthRoutingStrategy",1870),C(1871,670,{},tFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L,j;if(!(t.r&&!t.q))for(k=n-t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Pe(T,d),ir(h.a,s),hw(this,h,c,s,!1),M=t.r,M&&(O=le(pe(ga(M.e,0))),s=new Pe(O,d),ir(h.a,s),hw(this,h,c,s,!1),d=n-M.o*i,c=M,s=new Pe(O,d),ir(h.a,s),hw(this,h,c,s,!1)),s=new Pe(j,d),ir(h.a,s),hw(this,h,c,s,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ze(),en},f.Bg=function(){return ze(),Mn},x(NY,"SouthToNorthRoutingStrategy",1871),C(1869,670,{},nFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,M,O,L,j;if(!(t.r&&!t.q))for(k=n+t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Pe(d,T),ir(h.a,s),hw(this,h,c,s,!0),M=t.r,M&&(O=le(pe(ga(M.e,0))),s=new Pe(d,O),ir(h.a,s),hw(this,h,c,s,!0),d=n+M.o*i,c=M,s=new Pe(d,O),ir(h.a,s),hw(this,h,c,s,!0)),s=new Pe(d,j),ir(h.a,s),hw(this,h,c,s,!0)))},f.zg=function(t){return t.i.n.b+t.n.b+t.a.b},f.Ag=function(){return ze(),fn},f.Bg=function(){return ze(),rn},x(NY,"WestToEastRoutingStrategy",1869),C(828,1,{},Kpe),f.Ib=function(){return ag(this.a)},f.b=0,f.c=!1,f.d=!1,f.f=0,x(cv,"NubSpline",828),C(418,1,{418:1},hlt,tXe),x(cv,"NubSpline/PolarCP",418),C(1480,1,as,Xrt),f.rg=function(t){return DJt(u(t,36))},f.Kf=function(t,n){Lun(this,u(t,36),n)};var ryt,iyt,oyt,syt,lyt;x(cv,"SplineEdgeRouter",1480),C(274,1,{274:1},yL),f.Ib=function(){return this.a+" ->("+this.c+") "+this.b},f.c=0,x(cv,"SplineEdgeRouter/Dependency",274),C(465,22,{3:1,34:1,22:1,465:1},sle);var Pg,L2,cyt=An(cv,"SplineEdgeRouter/SideToProcess",465,Nn,TBt,Ojt),uyt;C(1481,1,Qn,DPe),f.Mb=function(t){return WS(),!u(t,131).o},x(cv,"SplineEdgeRouter/lambda$0$Type",1481),C(1482,1,{},NPe),f.Ze=function(t){return WS(),u(t,131).v+1},x(cv,"SplineEdgeRouter/lambda$1$Type",1482),C(1483,1,bn,YHe),f.Cd=function(t){Q$t(this.a,this.b,u(t,42))},x(cv,"SplineEdgeRouter/lambda$2$Type",1483),C(1484,1,bn,JHe),f.Cd=function(t){Z$t(this.a,this.b,u(t,42))},x(cv,"SplineEdgeRouter/lambda$3$Type",1484),C(131,1,{34:1,131:1},Iot,Xpe),f.Fd=function(t){return t_t(this,u(t,131))},f.b=0,f.e=!1,f.f=0,f.g=0,f.j=!1,f.k=!1,f.n=0,f.o=!1,f.p=!1,f.q=!1,f.s=0,f.u=0,f.v=0,f.F=0,x(cv,"SplineSegment",131),C(468,1,{468:1},BPe),f.a=0,f.b=!1,f.c=!1,f.d=!1,f.e=!1,f.f=0,x(cv,"SplineSegment/EdgeInformation",468),C(1198,1,{},FPe),x(k1,Wge,1198),C(1199,1,tr,zPe),f.Ne=function(t,n){return ven(u(t,121),u(n,121))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(k1,Sft,1199),C(1197,1,{},hze),x(k1,"MrTree",1197),C(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},UR),f.dg=function(){return qot(this)},f.qg=function(){return qot(this)};var sB,ax,fx,dx,o4e=An(k1,"TreeLayoutPhases",405,Nn,Mzt,_jt),ayt;C(1112,205,$0,zGe),f.rf=function(t,n){var i,s,c,d,h,b,m,v;for(qe(Ve(Ie(t,(sl(),O4e))))||uI((i=new Z7((Pb(),new kb(t))),i)),h=n.eh(zY),h.Ug("build tGraph",1),b=(m=new mI,js(m,t),Ee(m,(Wr(),px),t),v=new On,fon(t,m,v),Oon(t,m,v),m),h.Vg(),h=n.eh(zY),h.Ug("Split graph",1),d=won(this.a,b),h.Vg(),c=new N(d);c.a"+w0(this.c):"e_"+Vr(this)},x(m9,"TEdge",65),C(121,137,{3:1,121:1,96:1,137:1},mI),f.Ib=function(){var t,n,i,s,c;for(c=null,s=Ln(this.b,0);s.b!=s.d.c;)i=u(_n(s),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` -`;for(n=Ln(this.a,0);n.b!=n.d.c;)t=u(_n(n),65),c+=(t.b&&t.c?w0(t.b)+"->"+w0(t.c):"e_"+Vr(t))+` -`;return c};var Yan=x(m9,"TGraph",121);C(643,508,{3:1,508:1,643:1,96:1,137:1}),x(m9,"TShape",643),C(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},zW),f.Ib=function(){return w0(this)};var lB=x(m9,"TNode",40);C(236,1,Th,Yh),f.Jc=function(t){Io(this,t)},f.Kc=function(){var t;return t=Ln(this.a.d,0),new hy(t)},x(m9,"TNode/2",236),C(329,1,co,hy),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return u(_n(this.a),65).c},f.Ob=function(){return hT(this.a)},f.Qb=function(){gW(this.a)},x(m9,"TNode/2/1",329),C(1923,1,qr,qPe),f.Kf=function(t,n){aan(this,u(t,121),n)},x(Fl,"CompactionProcessor",1923),C(1924,1,tr,aNe),f.Ne=function(t,n){return JUt(this.a,u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$0$Type",1924),C(1925,1,Qn,ZHe),f.Mb=function(t){return rBt(this.b,this.a,u(t,42))},f.a=0,f.b=0,x(Fl,"CompactionProcessor/lambda$1$Type",1925),C(1934,1,tr,XPe),f.Ne=function(t,n){return qDt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$10$Type",1934),C(1935,1,tr,YPe),f.Ne=function(t,n){return cAt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$11$Type",1935),C(1936,1,tr,JPe),f.Ne=function(t,n){return XDt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$12$Type",1936),C(1926,1,Qn,fNe),f.Mb=function(t){return GRt(this.a,u(t,42))},f.a=0,x(Fl,"CompactionProcessor/lambda$2$Type",1926),C(1927,1,Qn,dNe),f.Mb=function(t){return WRt(this.a,u(t,42))},f.a=0,x(Fl,"CompactionProcessor/lambda$3$Type",1927),C(1928,1,Qn,QPe),f.Mb=function(t){return u(t,40).c.indexOf(rD)==-1},x(Fl,"CompactionProcessor/lambda$4$Type",1928),C(1929,1,{},hNe),f.Kb=function(t){return ozt(this.a,u(t,40))},f.a=0,x(Fl,"CompactionProcessor/lambda$5$Type",1929),C(1930,1,{},pNe),f.Kb=function(t){return hKt(this.a,u(t,40))},f.a=0,x(Fl,"CompactionProcessor/lambda$6$Type",1930),C(1931,1,tr,gNe),f.Ne=function(t,n){return xHt(this.a,u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$7$Type",1931),C(1932,1,tr,bNe),f.Ne=function(t,n){return EHt(this.a,u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$8$Type",1932),C(1933,1,tr,ZPe),f.Ne=function(t,n){return uAt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$9$Type",1933),C(1921,1,qr,eOe),f.Kf=function(t,n){sin(u(t,121),n)},x(Fl,"DirectionProcessor",1921),C(1913,1,qr,FGe),f.Kf=function(t,n){Mon(this,u(t,121),n)},x(Fl,"FanProcessor",1913),C(1937,1,qr,tOe),f.Kf=function(t,n){qrn(u(t,121),n)},x(Fl,"GraphBoundsProcessor",1937),C(1938,1,{},nOe),f.Ye=function(t){return u(t,40).e.a},x(Fl,"GraphBoundsProcessor/lambda$0$Type",1938),C(1939,1,{},rOe),f.Ye=function(t){return u(t,40).e.b},x(Fl,"GraphBoundsProcessor/lambda$1$Type",1939),C(1940,1,{},iOe),f.Ye=function(t){return M_t(u(t,40))},x(Fl,"GraphBoundsProcessor/lambda$2$Type",1940),C(1941,1,{},oOe),f.Ye=function(t){return I_t(u(t,40))},x(Fl,"GraphBoundsProcessor/lambda$3$Type",1941),C(262,22,{3:1,34:1,22:1,262:1,196:1},Ob),f.dg=function(){switch(this.g){case 0:return new bFe;case 1:return new FGe;case 2:return new gFe;case 3:return new aOe;case 4:return new lOe;case 8:return new sOe;case 5:return new eOe;case 6:return new dOe;case 7:return new qPe;case 9:return new tOe;case 10:return new hOe;default:throw B(new Qt(rY+(this.f!=null?this.f:""+this.g)))}};var s4e,l4e,c4e,u4e,a4e,f4e,d4e,h4e,p4e,g4e,JZ,Jan=An(Fl,iY,262,Nn,$et,Rjt),fyt;C(1920,1,qr,sOe),f.Kf=function(t,n){lun(u(t,121),n)},x(Fl,"LevelCoordinatesProcessor",1920),C(1918,1,qr,lOe),f.Kf=function(t,n){Mnn(this,u(t,121),n)},f.a=0,x(Fl,"LevelHeightProcessor",1918),C(1919,1,Th,cOe),f.Jc=function(t){Io(this,t)},f.Kc=function(){return Ot(),E5(),S8},x(Fl,"LevelHeightProcessor/1",1919),C(1914,1,qr,gFe),f.Kf=function(t,n){Hrn(this,u(t,121),n)},x(Fl,"LevelProcessor",1914),C(1915,1,Qn,uOe),f.Mb=function(t){return qe(Ve(A(u(t,40),(Wr(),Og))))},x(Fl,"LevelProcessor/lambda$0$Type",1915),C(1916,1,qr,aOe),f.Kf=function(t,n){EZt(this,u(t,121),n)},f.a=0,x(Fl,"NeighborsProcessor",1916),C(1917,1,Th,fOe),f.Jc=function(t){Io(this,t)},f.Kc=function(){return Ot(),E5(),S8},x(Fl,"NeighborsProcessor/1",1917),C(1922,1,qr,dOe),f.Kf=function(t,n){Ion(this,u(t,121),n)},f.a=0,x(Fl,"NodePositionProcessor",1922),C(1912,1,qr,bFe),f.Kf=function(t,n){uln(this,u(t,121),n)},x(Fl,"RootProcessor",1912),C(1942,1,qr,hOe),f.Kf=function(t,n){oXt(u(t,121),n)},x(Fl,"Untreeifyer",1942),C(392,22,{3:1,34:1,22:1,392:1},ZK);var VP,QZ,b4e,w4e=An(oP,"EdgeRoutingMode",392,Nn,kFt,Ajt),dyt,qP,W8,ZZ,m4e,v4e,eee,tee,y4e,nee,k4e,ree,hx,iee,cB,uB,gf,Kf,V8,px,gx,vp,C4e,hyt,oee,Og,XP,YP;C(862,1,ja,lje),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Pbe),""),gdt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Gt(),!1)),(cp(),Qi)),Ci),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Obe),""),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,_be),""),"Tree Level"),"The index for the tree level the node is in"),Ae(0)),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Rbe),""),gdt),"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"),Ae(-1)),Ws),Po),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Abe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),E4e),oi),D4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Lbe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),S4e),oi),w4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,jbe),""),"Search Order"),"Which search order to use when computing a spanning tree."),x4e),oi),B4e),ht(Nt)))),iat((new aje,t))};var pyt,gyt,byt,S4e,wyt,myt,x4e,vyt,yyt,E4e;x(oP,"MrTreeMetaDataProvider",862),C(1006,1,ja,aje),f.hf=function(t){iat(t)};var kyt,T4e,I4e,Kw,M4e,P4e,see,Cyt,Syt,xyt,Eyt,Tyt,Iyt,Myt,O4e,_4e,R4e,Pyt,j2,aB,A4e,Oyt,L4e,lee,_yt,Ryt,Ayt,j4e,Lyt,ch,$4e;x(oP,"MrTreeOptions",1006),C(1007,1,{},pOe),f.sf=function(){var t;return t=new zGe,t},f.tf=function(t){},x(oP,"MrTreeOptions/MrtreeFactory",1007),C(353,22,{3:1,34:1,22:1,353:1},GR);var cee,fB,uee,aee,D4e=An(oP,"OrderWeighting",353,Nn,Pzt,Ljt),jyt;C(433,22,{3:1,34:1,22:1,433:1},lle);var N4e,fee,B4e=An(oP,"TreeifyingOrder",433,Nn,xBt,jjt),$yt;C(1486,1,as,fje),f.rg=function(t){return u(t,121),Dyt},f.Kf=function(t,n){BUt(this,u(t,121),n)};var Dyt;x("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),C(1487,1,as,dje),f.rg=function(t){return u(t,121),Nyt},f.Kf=function(t,n){Wrn(this,u(t,121),n)};var Nyt;x(a8,"NodeOrderer",1487),C(1494,1,{},dPt),f.td=function(t){return VWe(t)},x(a8,"NodeOrderer/0methodref$lambda$6$Type",1494),C(1488,1,Qn,OOe),f.Mb=function(t){return v4(),qe(Ve(A(u(t,40),(Wr(),Og))))},x(a8,"NodeOrderer/lambda$0$Type",1488),C(1489,1,Qn,_Oe),f.Mb=function(t){return v4(),u(A(u(t,40),(sl(),j2)),17).a<0},x(a8,"NodeOrderer/lambda$1$Type",1489),C(1490,1,Qn,mNe),f.Mb=function(t){return pUt(this.a,u(t,40))},x(a8,"NodeOrderer/lambda$2$Type",1490),C(1491,1,Qn,wNe),f.Mb=function(t){return czt(this.a,u(t,40))},x(a8,"NodeOrderer/lambda$3$Type",1491),C(1492,1,tr,ROe),f.Ne=function(t,n){return DKt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(a8,"NodeOrderer/lambda$4$Type",1492),C(1493,1,Qn,AOe),f.Mb=function(t){return v4(),u(A(u(t,40),(Wr(),tee)),17).a!=0},x(a8,"NodeOrderer/lambda$5$Type",1493),C(1495,1,as,uje),f.rg=function(t){return u(t,121),Byt},f.Kf=function(t,n){eon(this,u(t,121),n)},f.b=0;var Byt;x("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),C(1496,1,as,cje),f.rg=function(t){return u(t,121),Fyt},f.Kf=function(t,n){$in(u(t,121),n)};var Fyt,Qan=x(Mu,"EdgeRouter",1496);C(1498,1,tr,POe),f.Ne=function(t,n){return vl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/0methodref$compare$Type",1498),C(1503,1,{},bOe),f.Ye=function(t){return le(pe(t))},x(Mu,"EdgeRouter/1methodref$doubleValue$Type",1503),C(1505,1,tr,wOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/2methodref$compare$Type",1505),C(1507,1,tr,mOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/3methodref$compare$Type",1507),C(1509,1,{},gOe),f.Ye=function(t){return le(pe(t))},x(Mu,"EdgeRouter/4methodref$doubleValue$Type",1509),C(1511,1,tr,vOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/5methodref$compare$Type",1511),C(1513,1,tr,yOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/6methodref$compare$Type",1513),C(1497,1,{},kOe),f.Kb=function(t){return c1(),u(A(u(t,40),(sl(),ch)),17)},x(Mu,"EdgeRouter/lambda$0$Type",1497),C(1508,1,{},COe),f.Kb=function(t){return CAt(u(t,40))},x(Mu,"EdgeRouter/lambda$11$Type",1508),C(1510,1,{},eKe),f.Kb=function(t){return Y$t(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Mu,"EdgeRouter/lambda$13$Type",1510),C(1512,1,{},tKe),f.Kb=function(t){return SAt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Mu,"EdgeRouter/lambda$15$Type",1512),C(1514,1,tr,SOe),f.Ne=function(t,n){return jqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$17$Type",1514),C(1515,1,tr,xOe),f.Ne=function(t,n){return $qt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$18$Type",1515),C(1516,1,tr,EOe),f.Ne=function(t,n){return Nqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$19$Type",1516),C(1499,1,Qn,vNe),f.Mb=function(t){return BBt(this.a,u(t,40))},f.a=0,x(Mu,"EdgeRouter/lambda$2$Type",1499),C(1517,1,tr,TOe),f.Ne=function(t,n){return Dqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$20$Type",1517),C(1500,1,tr,IOe),f.Ne=function(t,n){return $$t(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$3$Type",1500),C(1501,1,tr,MOe),f.Ne=function(t,n){return D$t(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"EdgeRouter/lambda$4$Type",1501),C(1502,1,{},LOe),f.Kb=function(t){return xAt(u(t,40))},x(Mu,"EdgeRouter/lambda$5$Type",1502),C(1504,1,{},nKe),f.Kb=function(t){return J$t(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Mu,"EdgeRouter/lambda$7$Type",1504),C(1506,1,{},rKe),f.Kb=function(t){return EAt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Mu,"EdgeRouter/lambda$9$Type",1506),C(675,1,{675:1},Drt),f.e=0,f.f=!1,f.g=!1,x(Mu,"MultiLevelEdgeNodeNodeGap",675),C(1943,1,tr,jOe),f.Ne=function(t,n){return XBt(u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),C(1944,1,tr,$Oe),f.Ne=function(t,n){return YBt(u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Mu,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var $2;C(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},cle),f.dg=function(){return Snt(this)},f.qg=function(){return Snt(this)};var dB,D2,F4e=An($be,"RadialLayoutPhases",501,Nn,wBt,$jt),zyt;C(1113,205,$0,dze),f.rf=function(t,n){var i,s,c,d,h,b;if(i=clt(this,t),n.Ug("Radial layout",i.c.length),qe(Ve(Ie(t,(dg(),J4e))))||uI((s=new Z7((Pb(),new kb(t))),s)),b=FJt(t),Dr(t,(Oy(),$2),b),!b)throw B(new Qt("The given graph is not a tree!"));for(c=le(pe(Ie(t,gB))),c==0&&(c=Hot(t)),Dr(t,gB,c),h=new N(clt(this,t));h.a=3)for(Me=u(re(se,0),27),Fe=u(re(se,1),27),d=0;d+2=Me.f+Fe.f+k||Fe.f>=ye.f+Me.f+k){pt=!0;break}else++d;else pt=!0;if(!pt){for(M=se.i,b=new hn(se);b.e!=b.i.gc();)h=u(mn(b),27),Dr(h,(pr(),aO),Ae(M)),--M;Nct(t,new N3),n.Vg();return}for(i=(iI(this.a),_f(this.a,(yj(),QP),u(Ie(t,T6e),188)),_f(this.a,bB,u(Ie(t,y6e),188)),_f(this.a,See,u(Ie(t,S6e),188)),Tle(this.a,(zt=new Li,cr(zt,QP,(_j(),Tee)),cr(zt,bB,Eee),qe(Ve(Ie(t,m6e)))&&cr(zt,QP,xee),zt)),OM(this.a,t)),v=1/i.c.length,L=new N(i);L.a0&&Vtt((Zt(n-1,t.length),t.charCodeAt(n-1)),Lft);)--n;if(s>=n)throw B(new Qt("The given string does not contain any numbers."));if(c=tv((mo(s,n,t.length),t.substr(s,n-s)),`,|;|\r| -`),c.length!=2)throw B(new Qt("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=qm(Xm(c[0])),this.b=qm(Xm(c[1]))}catch(d){throw d=li(d),te(d,130)?(i=d,B(new Qt(jft+i))):B(d)}},f.Ib=function(){return"("+this.a+","+this.b+")"},f.a=0,f.b=0;var to=x(eP,"KVector",8);C(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Oc,mR,aGe),f.Pc=function(){return nWt(this)},f.cg=function(t){var n,i,s,c,d,h;s=tv(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),Au(this);try{for(i=0,d=0,c=0,h=0;i0&&(d%2==0?c=qm(s[i]):h=qm(s[i]),d>0&&d%2!=0&&ir(this,new Pe(c,h)),++d),++i}catch(b){throw b=li(b),te(b,130)?(n=b,B(new Qt("The given string does not match the expected format for vectors."+n))):B(b)}},f.Ib=function(){var t,n,i;for(t=new Ru("("),n=Ln(this,0);n.b!=n.d.c;)i=u(_n(n),8),lr(t,i.a+","+i.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var u5e=x(eP,"KVectorChain",75);C(255,22,{3:1,34:1,22:1,255:1},EC);var Wee,TB,IB,rO,iO,MB,a5e=An(gu,"Alignment",255,Nn,ZHt,s$t),k3t;C(991,1,ja,kje),f.hf=function(t){kct(t)};var f5e,Vee,C3t,d5e,h5e,S3t,p5e,x3t,E3t,g5e,b5e,T3t;x(gu,"BoxLayouterOptions",991),C(992,1,{},U_e),f.sf=function(){var t;return t=new V_e,t},f.tf=function(t){},x(gu,"BoxLayouterOptions/BoxFactory",992),C(298,22,{3:1,34:1,22:1,298:1},TC);var Sx,qee,xx,Ex,Tx,Xee,Yee=An(gu,"ContentAlignment",298,Nn,eKt,l$t),I3t;C(699,1,ja,soe),f.hf=function(t){at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,$dt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(cp(),B2)),Je),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Ddt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),md),tfn),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,obe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),w5e),oi),a5e),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,K4),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,mwe),""),"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."),md),u5e),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Q$),""),"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."),v5e),f6),Yee),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,iP),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Gt(),!1)),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,LY),""),Bge),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),y5e),oi),Mx),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rP),""),"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."),S5e),oi),ate),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,bwe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,J$),""),"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`."),T5e),oi),dke),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,vw),""),"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."),j5e),md),$ve),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,f9),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eD),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,d9),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eY),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),F5e),oi),gke),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Z$),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),md),to),Yr(qi,H(F($h,1),Te,170,0,[tb,yp]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,qM),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Ws),Po),Yr(qi,H(F($h,1),Te,170,0,[uh]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,A$),""),"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)."),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,a9),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,bbe),""),"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."),I5e),md),u5e),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,vbe),""),"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),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ybe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Man),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),md),sfn),Yr(Nt,H(F($h,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Cbe),""),"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."),M5e),md),jve),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rbe),""),"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),Qi),Ci),Yr(qi,H(F($h,1),Te,170,0,[uh,tb,yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Ndt),""),"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),Do),Bi),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Bdt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Fdt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,XM),""),_dt),"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),Qi),Ci),ht(Nt)))),ji(t,XM,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,zdt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Hdt),""),"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'."),Ae(100)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Kdt),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Udt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Ae(4e3)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Gdt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Ae(400)),Ws),Po),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Wdt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Vdt),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,qdt),""),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Xdt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,wwe),"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."),m5e),oi),Eke),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,W0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,V0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,VX),hd),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,q0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ZX),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,AY),hd),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,X0e),hd),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Q0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Y0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,J0e),hd),"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),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,lv),hd),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Z0e),hd),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Do),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ebe),hd),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Do),Bi),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,tbe),hd),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),md),p4t),Yr(qi,H(F($h,1),Te,170,0,[uh,tb,yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Sbe),hd),"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."),J5e),md),jve),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,$Y),Qdt),"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)."),Ws),Po),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),ji(t,$Y,jY,$3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,jY),Qdt),"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."),$5e),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,cbe),Zdt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),O5e),md),$ve),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,l8),Zdt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),_5e),f6),ds),Yr(qi,H(F($h,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,fbe),aD),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),N5e),oi),Rx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,dbe),aD),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),oi),Rx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,hbe),aD),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),oi),Rx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,pbe),aD),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),oi),Rx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,gbe),aD),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),oi),Rx),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,c2),iJ),"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."),R5e),f6),jx),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,U4),iJ),"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."),L5e),f6),wke),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,G4),iJ),"Node Size Minimum"),"The minimal size to which a node can be reduced."),A5e),md),to),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,s8),iJ),"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),Qi),Ci),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,wbe),RY),"Edge Label Placement"),"Gives a hint on where to put edge labels."),k5e),oi),eke),ht(yp)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,L$),RY),"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),Qi),Ci),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Pan),"font"),"Font Name"),"Font name used for a label."),B2),Je),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Ydt),"font"),"Font Size"),"Font size used for a label."),Ws),Po),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,kbe),oJ),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),md),to),ht(tb)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,mbe),oJ),"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."),Ws),Po),ht(tb)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ibe),oJ),"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."),K5e),oi),ts),ht(tb)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,nbe),oJ),"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."),Do),Bi),ht(tb)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,c8),kwe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),z5e),f6),LB),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ube),kwe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,abe),kwe),"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),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,YM),lP),"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),Do),Bi),ht(Nt)))),ji(t,YM,yw,U3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,vwe),lP),"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),oi),FB),ht(qi)))),ji(t,vwe,yw,G3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,JM),lP),"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),Do),Bi),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),ji(t,JM,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,QM),lP),"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),Do),Bi),Yr(Nt,H(F($h,1),Te,170,0,[qi]))))),ji(t,QM,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,yw),lP),"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),oi),vke),ht(qi)))),ji(t,yw,s8,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ywe),lP),"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),Do),Bi),ht(Nt)))),ji(t,ywe,yw,K3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,sbe),eht),"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),Qi),Ci),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,lbe),eht),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Qi),Ci),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,qX),"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),Do),Bi),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Jdt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),E5e),oi),ske),ht(uh)))),gC(t,new d4(aC(y5(v5(new A3,cn),"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.'))),gC(t,new d4(aC(y5(v5(new A3,"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.`))),gC(t,new d4(aC(y5(v5(new A3,uc),"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."))),gC(t,new d4(aC(y5(v5(new A3,"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."))),gC(t,new d4(aC(y5(v5(new A3,bdt),"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."))),gC(t,new d4(aC(y5(v5(new A3,"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."))),gC(t,new d4(aC(y5(v5(new A3,wa),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),sct((new Cje,t)),kct((new kje,t)),Llt((new Sje,t))};var X8,M3t,w5e,F2,P3t,O3t,m5e,z2,H2,_3t,oO,v5e,sO,nb,y5e,Jee,Qee,k5e,C5e,S5e,x5e,E5e,R3t,K2,T5e,A3t,lO,Zee,cO,ete,Uw,I5e,Y8,M5e,P5e,O5e,U2,_5e,rb,R5e,Lv,G2,A5e,_g,L5e,PB,uO,kp,j5e,L3t,$5e,j3t,$3t,D5e,N5e,tte,nte,rte,ite,B5e,bu,Ix,F5e,ote,ste,jv,z5e,H5e,W2,K5e,d6,aO,lte,V2,D3t,cte,N3t,B3t,U5e,F3t,G5e,W5e,h6,V5e,OB,q5e,X5e,ib,z3t,Y5e,J5e,Q5e,_B,fO,J8,p6,H3t,K3t,RB,U3t,Z5e,G3t;x(gu,"CoreOptions",699),C(88,22,{3:1,34:1,22:1,88:1},AT);var vd,Is,Ns,yd,Ca,Mx=An(gu,Bge,88,Nn,iHt,c$t),W3t;C(278,22,{3:1,34:1,22:1,278:1},lU);var Q8,$v,Z8,eke=An(gu,"EdgeLabelPlacement",278,Nn,AFt,u$t),V3t;C(223,22,{3:1,34:1,22:1,223:1},VR);var e7,dO,g6,ute,ate=An(gu,"EdgeRouting",223,Nn,Azt,a$t),q3t;C(321,22,{3:1,34:1,22:1,321:1},IC);var tke,nke,rke,ike,fte,oke,ske=An(gu,"EdgeType",321,Nn,QHt,f$t),X3t;C(989,1,ja,Cje),f.hf=function(t){sct(t)};var lke,cke,uke,ake,Y3t,fke,Px;x(gu,"FixedLayouterOptions",989),C(990,1,{},G_e),f.sf=function(){var t;return t=new nRe,t},f.tf=function(t){},x(gu,"FixedLayouterOptions/FixedFactory",990),C(346,22,{3:1,34:1,22:1,346:1},cU);var Cp,AB,Ox,dke=An(gu,"HierarchyHandling",346,Nn,_Ft,d$t),J3t;C(291,22,{3:1,34:1,22:1,291:1},qR);var Dh,Rg,hO,pO,Q3t=An(gu,"LabelSide",291,Nn,Rzt,h$t),Z3t;C(95,22,{3:1,34:1,22:1,95:1},my);var x1,bf,za,wf,Vu,mf,Ha,Nh,vf,ds=An(gu,"NodeLabelPlacement",95,Nn,ZKt,p$t),e4t;C(256,22,{3:1,34:1,22:1,256:1},LT);var hke,_x,Ag,pke,gO,Rx=An(gu,"PortAlignment",256,Nn,vHt,g$t),t4t;C(101,22,{3:1,34:1,22:1,101:1},MC);var ob,Ul,Bh,t7,kd,Lg,gke=An(gu,"PortConstraints",101,Nn,JHt,b$t),n4t;C(279,22,{3:1,34:1,22:1,279:1},PC);var Ax,Lx,E1,bO,jg,b6,LB=An(gu,"PortLabelPlacement",279,Nn,YHt,w$t),r4t;C(64,22,{3:1,34:1,22:1,64:1},jT);var fn,en,Sa,xa,Cc,dc,Cd,yf,tu,zc,Gl,nu,Sc,xc,kf,qu,Xu,Ka,Mn,nl,rn,ts=An(gu,"PortSide",64,Nn,oHt,m$t),i4t;C(993,1,ja,Sje),f.hf=function(t){Llt(t)};var o4t,s4t,bke,l4t,c4t;x(gu,"RandomLayouterOptions",993),C(994,1,{},W_e),f.sf=function(){var t;return t=new Z_e,t},f.tf=function(t){},x(gu,"RandomLayouterOptions/RandomFactory",994),C(386,22,{3:1,34:1,22:1,386:1},XR);var Dv,wO,mO,sb,jx=An(gu,"SizeConstraint",386,Nn,_zt,v$t),u4t;C(264,22,{3:1,34:1,22:1,264:1},vy);var vO,jB,n7,dte,yO,$x,$B,DB,NB,wke=An(gu,"SizeOptions",264,Nn,fUt,y$t),a4t;C(280,22,{3:1,34:1,22:1,280:1},uU);var Nv,mke,BB,vke=An(gu,"TopdownNodeTypes",280,Nn,LFt,k$t),f4t;C(347,22,Cwe);var yke,kke,FB=An(gu,"TopdownSizeApproximator",347,Nn,PBt,S$t);C(987,347,Cwe,WWe),f.Tg=function(t){return xrt(t)},An(gu,"TopdownSizeApproximator/1",987,FB,null,null),C(988,347,Cwe,_Ve),f.Tg=function(t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt,zt;for(n=u(Ie(t,(pr(),V2)),143),Fe=(Up(),O=new iC,O),yM(Fe,t),pt=new On,d=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));d.e!=d.i.gc();)s=u(mn(d),27),ne=(M=new iC,M),t$(ne,Fe),yM(ne,s),zt=xrt(s),xy(ne,w.Math.max(s.g,zt.a),w.Math.max(s.f,zt.b)),Jl(pt.f,s,ne);for(c=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));c.e!=c.i.gc();)for(s=u(mn(c),27),k=new hn((!s.e&&(s.e=new $t(Ti,s,7,4)),s.e));k.e!=k.i.gc();)v=u(mn(k),74),ye=u(_s(ss(pt.f,s)),27),Me=u(pn(pt,re((!v.c&&(v.c=new $t(Tn,v,5,8)),v.c),0)),27),se=(T=new FH,T),Dn((!se.b&&(se.b=new $t(Tn,se,4,7)),se.b),ye),Dn((!se.c&&(se.c=new $t(Tn,se,5,8)),se.c),Me),e$(se,ri(ye)),yM(se,v);j=u(cI(n.f),205);try{j.rf(Fe,new oRe),cqe(n.f,j)}catch(Ht){throw Ht=li(Ht),te(Ht,103)?(L=Ht,B(L)):B(Ht)}return rd(Fe,H2)||rd(Fe,z2)||cge(Fe),m=le(pe(Ie(Fe,H2))),b=le(pe(Ie(Fe,z2))),h=m/b,i=le(pe(Ie(Fe,fO)))*w.Math.sqrt((!Fe.a&&(Fe.a=new Se(xr,Fe,10,11)),Fe.a).i),dt=u(Ie(Fe,kp),107),Y=dt.b+dt.c+1,z=dt.d+dt.a+1,new Pe(w.Math.max(Y,i),w.Math.max(z,i/h))},An(gu,"TopdownSizeApproximator/2",988,FB,null,null);var d4t;C(344,1,{871:1},N3),f.Ug=function(t,n){return Dit(this,t,n)},f.Vg=function(){sot(this)},f.Wg=function(){return this.q},f.Xg=function(){return this.f?xG(this.f):null},f.Yg=function(){return xG(this.a)},f.Zg=function(){return this.p},f.$g=function(){return!1},f._g=function(){return this.n},f.ah=function(){return this.p!=null&&!this.b},f.bh=function(t){var n;this.n&&(n=t,je(this.f,n))},f.dh=function(t,n){var i,s;this.n&&t&&XFt(this,(i=new KVe,s=Mq(i,t),Ocn(i),s),(sj(),pte))},f.eh=function(t){var n;return this.b?null:(n=LKt(this,this.g),ir(this.a,n),n.i=this,this.d=t,n)},f.fh=function(t){t>0&&!this.b&&Efe(this,t)},f.b=!1,f.c=0,f.d=-1,f.e=null,f.f=null,f.g=-1,f.j=!1,f.k=!1,f.n=!1,f.o=0,f.q=0,f.r=0,x(cl,"BasicProgressMonitor",344),C(717,205,$0,V_e),f.rf=function(t,n){Nct(t,n)},x(cl,"BoxLayoutProvider",717),C(983,1,tr,_Ne),f.Ne=function(t,n){return Onn(this,u(t,27),u(n,27))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},f.a=!1,x(cl,"BoxLayoutProvider/1",983),C(163,1,{163:1},DL,bGe),f.Ib=function(){return this.c?xpe(this.c):ag(this.b)},x(cl,"BoxLayoutProvider/Group",163),C(320,22,{3:1,34:1,22:1,320:1},YR);var Cke,Ske,xke,hte,Eke=An(cl,"BoxLayoutProvider/PackingMode",320,Nn,Lzt,x$t),h4t;C(984,1,tr,q_e),f.Ne=function(t,n){return XNt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$0$Type",984),C(985,1,tr,X_e),f.Ne=function(t,n){return zNt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$1$Type",985),C(986,1,tr,Y_e),f.Ne=function(t,n){return HNt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$2$Type",986),C(1384,1,{845:1},J_e),f.Mg=function(t,n){return IR(),!te(n,167)||wze((k4(),u(t,167)),n)},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),C(1385,1,bn,RNe),f.Cd=function(t){oWt(this.a,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),C(1386,1,bn,eRe),f.Cd=function(t){u(t,96),IR()},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),C(1390,1,bn,ANe),f.Cd=function(t){IUt(this.a,u(t,96))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),C(1388,1,Qn,lKe),f.Mb=function(t){return FGt(this.a,this.b,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),C(1387,1,Qn,cKe),f.Mb=function(t){return kAt(this.a,this.b,u(t,845))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),C(1389,1,bn,uKe),f.Cd=function(t){LDt(this.a,this.b,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),C(947,1,{},tRe),f.Kb=function(t){return iUe(t)},f.Fb=function(t){return this===t},x(cl,"ElkUtil/lambda$0$Type",947),C(948,1,bn,aKe),f.Cd=function(t){Aen(this.a,this.b,u(t,74))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$1$Type",948),C(949,1,bn,fKe),f.Cd=function(t){xOt(this.a,this.b,u(t,166))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$2$Type",949),C(950,1,bn,dKe),f.Cd=function(t){vRt(this.a,this.b,u(t,135))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$3$Type",950),C(951,1,bn,LNe),f.Cd=function(t){tDt(this.a,u(t,377))},x(cl,"ElkUtil/lambda$4$Type",951),C(325,1,{34:1,325:1},eOt),f.Fd=function(t){return qRt(this,u(t,242))},f.Fb=function(t){var n;return te(t,325)?(n=u(t,325),this.a==n.a):!1},f.Hb=function(){return Wi(this.a)},f.Ib=function(){return this.a+" (exclusive)"},f.a=0,x(cl,"ExclusiveBounds/ExclusiveLowerBound",325),C(1119,205,$0,nRe),f.rf=function(t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y,ne,se,ye,Me,Fe,pt,dt;for(n.Ug("Fixed Layout",1),d=u(Ie(t,(pr(),C5e)),223),T=0,M=0,ne=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));ne.e!=ne.i.gc();){for(z=u(mn(ne),27),dt=u(Ie(z,(lj(),Px)),8),dt&&(ta(z,dt.a,dt.b),u(Ie(z,cke),181).Hc((Iu(),Dv))&&(O=u(Ie(z,ake),8),O.a>0&&O.b>0&&gw(z,O.a,O.b,!0,!0))),T=w.Math.max(T,z.i+z.g),M=w.Math.max(M,z.j+z.f),v=new hn((!z.n&&(z.n=new Se(ms,z,1,7)),z.n));v.e!=v.i.gc();)b=u(mn(v),135),dt=u(Ie(b,Px),8),dt&&ta(b,dt.a,dt.b),T=w.Math.max(T,z.i+b.i+b.g),M=w.Math.max(M,z.j+b.j+b.f);for(Me=new hn((!z.c&&(z.c=new Se(ru,z,9,9)),z.c));Me.e!=Me.i.gc();)for(ye=u(mn(Me),123),dt=u(Ie(ye,Px),8),dt&&ta(ye,dt.a,dt.b),Fe=z.i+ye.i,pt=z.j+ye.j,T=w.Math.max(T,Fe+ye.g),M=w.Math.max(M,pt+ye.f),m=new hn((!ye.n&&(ye.n=new Se(ms,ye,1,7)),ye.n));m.e!=m.i.gc();)b=u(mn(m),135),dt=u(Ie(b,Px),8),dt&&ta(b,dt.a,dt.b),T=w.Math.max(T,Fe+b.i+b.g),M=w.Math.max(M,pt+b.j+b.f);for(c=new gn(wn(g1(z).a.Kc(),new $));jn(c);)i=u(Sn(c),74),k=Qut(i),T=w.Math.max(T,k.a),M=w.Math.max(M,k.b);for(s=new gn(wn(vM(z).a.Kc(),new $));jn(s);)i=u(Sn(s),74),ri(Sh(i))!=t&&(k=Qut(i),T=w.Math.max(T,k.a),M=w.Math.max(M,k.b))}if(d==(f1(),e7))for(Y=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));Y.e!=Y.i.gc();)for(z=u(mn(Y),27),s=new gn(wn(g1(z).a.Kc(),new $));jn(s);)i=u(Sn(s),74),h=jon(i),h.b==0?Dr(i,Uw,null):Dr(i,Uw,h);qe(Ve(Ie(t,(lj(),uke))))||(se=u(Ie(t,Y3t),107),j=T+se.b+se.c,L=M+se.d+se.a,gw(t,j,L,!0,!0)),n.Vg()},x(cl,"FixedLayoutProvider",1119),C(385,137,{3:1,423:1,385:1,96:1,137:1},BH,qQe),f.cg=function(t){var n,i,s,c,d,h,b,m,v;if(t)try{for(m=tv(t,";,;"),d=m,h=0,b=d.length;h>16&Di|n^s<<16},f.Kc=function(){return new jNe(this)},f.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Ks(this.b)+")":this.b==null?"pair("+Ks(this.a)+",null)":"pair("+Ks(this.a)+","+Ks(this.b)+")"},x(cl,"Pair",42),C(995,1,co,jNe),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},f.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 B(new qs)},f.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),B(new Pc)},f.b=!1,f.c=!1,x(cl,"Pair/1",995),C(455,1,{455:1},xqe),f.Fb=function(t){return gl(this.a,u(t,455).a)&&gl(this.c,u(t,455).c)&&gl(this.d,u(t,455).d)&&gl(this.b,u(t,455).b)},f.Hb=function(){return WI(H(F(Ji,1),Bt,1,5,[this.a,this.c,this.d,this.b]))},f.Ib=function(){return"("+this.a+qo+this.c+qo+this.d+qo+this.b+")"},x(cl,"Quadruple",455),C(1108,205,$0,Z_e),f.rf=function(t,n){var i,s,c,d,h;if(n.Ug("Random Layout",1),(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i==0){n.Vg();return}d=u(Ie(t,(Zde(),l4t)),17),d&&d.a!=0?c=new bL(d.a):c=new fV,i=dT(pe(Ie(t,o4t))),h=dT(pe(Ie(t,c4t))),s=u(Ie(t,s4t),107),Zcn(t,c,i,h,s),n.Vg()},x(cl,"RandomLayoutProvider",1108),C(240,1,{240:1},BU),f.Fb=function(t){return gl(this.a,u(t,240).a)&&gl(this.b,u(t,240).b)&&gl(this.c,u(t,240).c)},f.Hb=function(){return WI(H(F(Ji,1),Bt,1,5,[this.a,this.b,this.c]))},f.Ib=function(){return"("+this.a+qo+this.b+qo+this.c+")"},x(cl,"Triple",240);var w4t;C(562,1,{}),f.Lf=function(){return new Pe(this.f.i,this.f.j)},f.of=function(t){return Qqe(t,(pr(),bu))?Ie(this.f,m4t):Ie(this.f,t)},f.Mf=function(){return new Pe(this.f.g,this.f.f)},f.Nf=function(){return this.g},f.pf=function(t){return rd(this.f,t)},f.Of=function(t){oc(this.f,t.a),sc(this.f,t.b)},f.Pf=function(t){ew(this.f,t.a),Zb(this.f,t.b)},f.Qf=function(t){this.g=t},f.g=0;var m4t;x(k9,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),C(563,1,{853:1},oR),f.Rf=function(){var t,n;if(!this.b)for(this.b=dL(XA(this.a).i),n=new hn(XA(this.a));n.e!=n.i.gc();)t=u(mn(n),135),je(this.b,new gK(t));return this.b},f.b=null,x(k9,"ElkGraphAdapters/ElkEdgeAdapter",563),C(289,562,{},kb),f.Sf=function(){return Wrt(this)},f.a=null,x(k9,"ElkGraphAdapters/ElkGraphAdapter",289),C(640,562,{187:1},gK),x(k9,"ElkGraphAdapters/ElkLabelAdapter",640),C(639,562,{695:1},SU),f.Rf=function(){return FXt(this)},f.Vf=function(){var t;return t=u(Ie(this.f,(pr(),Y8)),140),!t&&(t=new rC),t},f.Xf=function(){return zXt(this)},f.Zf=function(t){var n;n=new zU(t),Dr(this.f,(pr(),Y8),n)},f.$f=function(t){Dr(this.f,(pr(),kp),new Kce(t))},f.Tf=function(){return this.d},f.Uf=function(){var t,n;if(!this.a)for(this.a=new Le,n=new gn(wn(vM(u(this.f,27)).a.Kc(),new $));jn(n);)t=u(Sn(n),74),je(this.a,new oR(t));return this.a},f.Wf=function(){var t,n;if(!this.c)for(this.c=new Le,n=new gn(wn(g1(u(this.f,27)).a.Kc(),new $));jn(n);)t=u(Sn(n),74),je(this.c,new oR(t));return this.c},f.Yf=function(){return eL(u(this.f,27)).i!=0||qe(Ve(u(this.f,27).of((pr(),lO))))},f._f=function(){vKt(this,(Pb(),w4t))},f.a=null,f.b=null,f.c=null,f.d=null,f.e=null,x(k9,"ElkGraphAdapters/ElkNodeAdapter",639),C(1284,562,{852:1},$Ne),f.Rf=function(){return XXt(this)},f.Uf=function(){var t,n;if(!this.a)for(this.a=gh(u(this.f,123).hh().i),n=new hn(u(this.f,123).hh());n.e!=n.i.gc();)t=u(mn(n),74),je(this.a,new oR(t));return this.a},f.Wf=function(){var t,n;if(!this.c)for(this.c=gh(u(this.f,123).ih().i),n=new hn(u(this.f,123).ih());n.e!=n.i.gc();)t=u(mn(n),74),je(this.c,new oR(t));return this.c},f.ag=function(){return u(u(this.f,123).of((pr(),W2)),64)},f.bg=function(){var t,n,i,s,c,d,h,b;for(s=Qf(u(this.f,123)),i=new hn(u(this.f,123).ih());i.e!=i.i.gc();)for(t=u(mn(i),74),b=new hn((!t.c&&(t.c=new $t(Tn,t,5,8)),t.c));b.e!=b.i.gc();){if(h=u(mn(b),84),Nm($s(h),s))return!0;if($s(h)==s&&qe(Ve(Ie(t,(pr(),Zee)))))return!0}for(n=new hn(u(this.f,123).hh());n.e!=n.i.gc();)for(t=u(mn(n),74),d=new hn((!t.b&&(t.b=new $t(Tn,t,4,7)),t.b));d.e!=d.i.gc();)if(c=u(mn(d),84),Nm($s(c),s))return!0;return!1},f.a=null,f.b=null,f.c=null,x(k9,"ElkGraphAdapters/ElkPortAdapter",1284),C(1285,1,tr,Q_e),f.Ne=function(t,n){return Iin(u(t,123),u(n,123))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(k9,"ElkGraphAdapters/PortComparator",1285);var $g=fi(ma,"EObject"),r7=fi(f2,rht),Yu=fi(f2,iht),kO=fi(f2,oht),CO=fi(f2,"ElkShape"),Tn=fi(f2,sht),Ti=fi(f2,Swe),ei=fi(f2,lht),SO=fi(ma,cht),Dx=fi(ma,"EFactory"),v4t,gte=fi(ma,uht),Uf=fi(ma,"EPackage"),oo,y4t,k4t,Pke,zB,C4t,Oke,_ke,Rke,Fh,S4t,x4t,ms=fi(f2,xwe),xr=fi(f2,Ewe),ru=fi(f2,Twe);C(93,1,aht),f.th=function(){return this.uh(),null},f.uh=function(){return null},f.vh=function(){return this.uh(),!1},f.wh=function(){return!1},f.xh=function(t){_r(this,t)},x(q4,"BasicNotifierImpl",93),C(99,93,pht),f.Yh=function(){return ku(this)},f.yh=function(t,n){return t},f.zh=function(){throw B(new Xn)},f.Ah=function(t){var n;return n=is(u(Dt(this.Dh(),this.Fh()),19)),this.Ph().Th(this,n.n,n.f,t)},f.Bh=function(t,n){throw B(new Xn)},f.Ch=function(t,n,i){return Hu(this,t,n,i)},f.Dh=function(){var t;return this.zh()&&(t=this.zh().Nk(),t)?t:this.ii()},f.Eh=function(){return fq(this)},f.Fh=function(){throw B(new Xn)},f.Gh=function(){var t,n;return n=this.$h().Ok(),!n&&this.zh().Tk(n=(wC(),t=nae(qd(this.Dh())),t==null?Ste:new FT(this,t))),n},f.Hh=function(t,n){return t},f.Ih=function(t){var n;return n=t.pk(),n?t.Lj():ci(this.Dh(),t)},f.Jh=function(){var t;return t=this.zh(),t?t.Qk():null},f.Kh=function(){return this.zh()?this.zh().Nk():null},f.Lh=function(t,n,i){return Pj(this,t,n,i)},f.Mh=function(t){return Y5(this,t)},f.Nh=function(t,n){return YG(this,t,n)},f.Oh=function(){var t;return t=this.zh(),!!t&&t.Rk()},f.Ph=function(){throw B(new Xn)},f.Qh=function(){return Cj(this)},f.Rh=function(t,n,i,s){return I4(this,t,n,s)},f.Sh=function(t,n,i){var s;return s=u(Dt(this.Dh(),n),69),s.wk().zk(this,this.hi(),n-this.ji(),t,i)},f.Th=function(t,n,i,s){return iL(this,t,n,s)},f.Uh=function(t,n,i){var s;return s=u(Dt(this.Dh(),n),69),s.wk().Ak(this,this.hi(),n-this.ji(),t,i)},f.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},f.Wh=function(t){return CV(this,t)},f.Xh=function(t){return dXe(this,t)},f.Zh=function(t){return $ut(this,t)},f.$h=function(){throw B(new Xn)},f._h=function(){return this.zh()?this.zh().Pk():null},f.ai=function(){return Cj(this)},f.bi=function(t,n){sq(this,t,n)},f.ci=function(t){this.$h().Sk(t)},f.di=function(t){this.$h().Vk(t)},f.ei=function(t){this.$h().Uk(t)},f.fi=function(t,n){var i,s,c,d;return d=this.Jh(),d&&t&&(n=Vo(d.El(),this,n),d.Il(this)),s=this.Ph(),s&&(Eq(this,this.Ph(),this.Fh()).Bb&es?(c=s.Qh(),c&&(t?!d&&c.Il(this):c.Hl(this))):(n=(i=this.Fh(),i>=0?this.Ah(n):this.Ph().Th(this,-1-i,null,n)),n=this.Ch(null,-1,n))),this.di(t),n},f.gi=function(t){var n,i,s,c,d,h,b,m;if(i=this.Dh(),d=ci(i,t),n=this.ji(),d>=n)return u(t,69).wk().Dk(this,this.hi(),d-n);if(d<=-1)if(h=t2((Dc(),Oo),i,t),h){if(rs(),u(h,69).xk()||(h=h4(Cs(Oo,h))),c=(s=this.Ih(h),u(s>=0?this.Lh(s,!0,!0):dw(this,h,!0),160)),m=h.Ik(),m>1||m==-1)return u(u(c,220).Sl(t,!1),79)}else throw B(new Qt(vg+t.xe()+sJ));else if(t.Jk())return s=this.Ih(t),u(s>=0?this.Lh(s,!1,!0):dw(this,t,!1),79);return b=new OKe(this,t),b},f.hi=function(){return lfe(this)},f.ii=function(){return(Jp(),Wt).S},f.ji=function(){return Cn(this.ii())},f.ki=function(t){rq(this,t)},f.Ib=function(){return lf(this)},x(Vt,"BasicEObjectImpl",99);var E4t;C(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),f.li=function(t){var n;return n=sfe(this),n[t]},f.mi=function(t,n){var i;i=sfe(this),hi(i,t,n)},f.ni=function(t){var n;n=sfe(this),hi(n,t,null)},f.th=function(){return u(Yt(this,4),129)},f.uh=function(){throw B(new Xn)},f.vh=function(){return(this.Db&4)!=0},f.zh=function(){throw B(new Xn)},f.oi=function(t){E4(this,2,t)},f.Bh=function(t,n){this.Db=n<<16|this.Db&255,this.oi(t)},f.Dh=function(){return wc(this)},f.Fh=function(){return this.Db>>16},f.Gh=function(){var t,n;return wC(),n=nae(qd((t=u(Yt(this,16),29),t||this.ii()))),n==null?Ste:new FT(this,n)},f.wh=function(){return(this.Db&1)==0},f.Jh=function(){return u(Yt(this,128),2034)},f.Kh=function(){return u(Yt(this,16),29)},f.Oh=function(){return(this.Db&32)!=0},f.Ph=function(){return u(Yt(this,2),54)},f.Vh=function(){return(this.Db&64)!=0},f.$h=function(){throw B(new Xn)},f._h=function(){return u(Yt(this,64),288)},f.ci=function(t){E4(this,16,t)},f.di=function(t){E4(this,128,t)},f.ei=function(t){E4(this,64,t)},f.hi=function(){return lc(this)},f.Db=0,x(Vt,"MinimalEObjectImpl",119),C(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.oi=function(t){this.Cb=t},f.Ph=function(){return this.Cb},x(Vt,"MinimalEObjectImpl/Container",120),C(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return Che(this,t,n,i)},f.Uh=function(t,n,i){return f1e(this,t,n,i)},f.Wh=function(t){return bae(this,t)},f.bi=function(t,n){lde(this,t,n)},f.ii=function(){return kl(),x4t},f.ki=function(t){Yfe(this,t)},f.nf=function(){return drt(this)},f.gh=function(){return!this.o&&(this.o=new jc((kl(),Fh),Sp,this,0)),this.o},f.of=function(t){return Ie(this,t)},f.pf=function(t){return rd(this,t)},f.qf=function(t,n){return Dr(this,t,n)},x(F0,"EMapPropertyHolderImpl",2083),C(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},q_),f.Lh=function(t,n,i){switch(t){case 0:return this.a;case 1:return this.b}return Pj(this,t,n,i)},f.Wh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return CV(this,t)},f.bi=function(t,n){switch(t){case 0:BL(this,le(pe(n)));return;case 1:NL(this,le(pe(n)));return}sq(this,t,n)},f.ii=function(){return kl(),y4t},f.ki=function(t){switch(t){case 0:BL(this,0);return;case 1:NL(this,0);return}rq(this,t)},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Pa(lf(this)),t.a+=" (x: ",py(t,this.a),t.a+=", y: ",py(t,this.b),t.a+=")",t.a)},f.a=0,f.b=0,x(F0,"ElkBendPointImpl",572),C(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return Ode(this,t,n,i)},f.Sh=function(t,n,i){return YV(this,t,n,i)},f.Uh=function(t,n,i){return AW(this,t,n,i)},f.Wh=function(t){return Ufe(this,t)},f.bi=function(t,n){zhe(this,t,n)},f.ii=function(){return kl(),C4t},f.ki=function(t){kde(this,t)},f.jh=function(){return this.k},f.kh=function(){return XA(this)},f.Ib=function(){return oV(this)},f.k=null,x(F0,"ElkGraphElementImpl",739),C(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return Nde(this,t,n,i)},f.Wh=function(t){return Ude(this,t)},f.bi=function(t,n){Hhe(this,t,n)},f.ii=function(){return kl(),S4t},f.ki=function(t){Jde(this,t)},f.lh=function(){return this.f},f.mh=function(){return this.g},f.nh=function(){return this.i},f.oh=function(){return this.j},f.ph=function(t,n){xy(this,t,n)},f.qh=function(t,n){ta(this,t,n)},f.rh=function(t){oc(this,t)},f.sh=function(t){sc(this,t)},f.Ib=function(){return tq(this)},f.f=0,f.g=0,f.i=0,f.j=0,x(F0,"ElkShapeImpl",740),C(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return ghe(this,t,n,i)},f.Sh=function(t,n,i){return jhe(this,t,n,i)},f.Uh=function(t,n,i){return $he(this,t,n,i)},f.Wh=function(t){return sde(this,t)},f.bi=function(t,n){X1e(this,t,n)},f.ii=function(){return kl(),k4t},f.ki=function(t){ahe(this,t)},f.hh=function(){return!this.d&&(this.d=new $t(Ti,this,8,5)),this.d},f.ih=function(){return!this.e&&(this.e=new $t(Ti,this,7,4)),this.e},x(F0,"ElkConnectableShapeImpl",741),C(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},FH),f.Ah=function(t){return _he(this,t)},f.Lh=function(t,n,i){switch(t){case 3:return aI(this);case 4:return!this.b&&(this.b=new $t(Tn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $t(Tn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),this.a;case 7:return Gt(),!this.b&&(this.b=new $t(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $t(Tn,this,5,8)),this.c.i<=1));case 8:return Gt(),!!HS(this);case 9:return Gt(),!!fw(this);case 10:return Gt(),!this.b&&(this.b=new $t(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new $t(Tn,this,5,8)),this.c.i!=0)}return Ode(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 3:return this.Cb&&(i=(s=this.Db>>16,s>=0?_he(this,i):this.Cb.Th(this,-1-s,null,i))),dce(this,u(t,27),i);case 4:return!this.b&&(this.b=new $t(Tn,this,4,7)),Yl(this.b,t,i);case 5:return!this.c&&(this.c=new $t(Tn,this,5,8)),Yl(this.c,t,i);case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),Yl(this.a,t,i)}return YV(this,t,n,i)},f.Uh=function(t,n,i){switch(n){case 3:return dce(this,null,i);case 4:return!this.b&&(this.b=new $t(Tn,this,4,7)),Vo(this.b,t,i);case 5:return!this.c&&(this.c=new $t(Tn,this,5,8)),Vo(this.c,t,i);case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),Vo(this.a,t,i)}return AW(this,t,n,i)},f.Wh=function(t){switch(t){case 3:return!!aI(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 $t(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $t(Tn,this,5,8)),this.c.i<=1));case 8:return HS(this);case 9:return fw(this);case 10:return!this.b&&(this.b=new $t(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new $t(Tn,this,5,8)),this.c.i!=0)}return Ufe(this,t)},f.bi=function(t,n){switch(t){case 3:e$(this,u(n,27));return;case 4:!this.b&&(this.b=new $t(Tn,this,4,7)),$n(this.b),!this.b&&(this.b=new $t(Tn,this,4,7)),wi(this.b,u(n,16));return;case 5:!this.c&&(this.c=new $t(Tn,this,5,8)),$n(this.c),!this.c&&(this.c=new $t(Tn,this,5,8)),wi(this.c,u(n,16));return;case 6:!this.a&&(this.a=new Se(ei,this,6,6)),$n(this.a),!this.a&&(this.a=new Se(ei,this,6,6)),wi(this.a,u(n,16));return}zhe(this,t,n)},f.ii=function(){return kl(),Pke},f.ki=function(t){switch(t){case 3:e$(this,null);return;case 4:!this.b&&(this.b=new $t(Tn,this,4,7)),$n(this.b);return;case 5:!this.c&&(this.c=new $t(Tn,this,5,8)),$n(this.c);return;case 6:!this.a&&(this.a=new Se(ei,this,6,6)),$n(this.a);return}kde(this,t)},f.Ib=function(){return eut(this)},x(F0,"ElkEdgeImpl",326),C(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},X_),f.Ah=function(t){return Ihe(this,t)},f.Lh=function(t,n,i){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 Ai(Yu,this,5)),this.a;case 6:return cXe(this);case 7:return n?IV(this):this.i;case 8:return n?TV(this):this.f;case 9:return!this.g&&(this.g=new $t(ei,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $t(ei,this,10,9)),this.e;case 11:return this.d}return Che(this,t,n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Ihe(this,i):this.Cb.Th(this,-1-c,null,i))),fce(this,u(t,74),i);case 9:return!this.g&&(this.g=new $t(ei,this,9,10)),Yl(this.g,t,i);case 10:return!this.e&&(this.e=new $t(ei,this,10,9)),Yl(this.e,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(kl(),zB)),n),69),d.wk().zk(this,lc(this),n-Cn((kl(),zB)),t,i)},f.Uh=function(t,n,i){switch(n){case 5:return!this.a&&(this.a=new Ai(Yu,this,5)),Vo(this.a,t,i);case 6:return fce(this,null,i);case 9:return!this.g&&(this.g=new $t(ei,this,9,10)),Vo(this.g,t,i);case 10:return!this.e&&(this.e=new $t(ei,this,10,9)),Vo(this.e,t,i)}return f1e(this,t,n,i)},f.Wh=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!!cXe(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 bae(this,t)},f.bi=function(t,n){switch(t){case 1:nk(this,le(pe(n)));return;case 2:ik(this,le(pe(n)));return;case 3:tk(this,le(pe(n)));return;case 4:rk(this,le(pe(n)));return;case 5:!this.a&&(this.a=new Ai(Yu,this,5)),$n(this.a),!this.a&&(this.a=new Ai(Yu,this,5)),wi(this.a,u(n,16));return;case 6:Zst(this,u(n,74));return;case 7:WL(this,u(n,84));return;case 8:GL(this,u(n,84));return;case 9:!this.g&&(this.g=new $t(ei,this,9,10)),$n(this.g),!this.g&&(this.g=new $t(ei,this,9,10)),wi(this.g,u(n,16));return;case 10:!this.e&&(this.e=new $t(ei,this,10,9)),$n(this.e),!this.e&&(this.e=new $t(ei,this,10,9)),wi(this.e,u(n,16));return;case 11:Rfe(this,Jn(n));return}lde(this,t,n)},f.ii=function(){return kl(),zB},f.ki=function(t){switch(t){case 1:nk(this,0);return;case 2:ik(this,0);return;case 3:tk(this,0);return;case 4:rk(this,0);return;case 5:!this.a&&(this.a=new Ai(Yu,this,5)),$n(this.a);return;case 6:Zst(this,null);return;case 7:WL(this,null);return;case 8:GL(this,null);return;case 9:!this.g&&(this.g=new $t(ei,this,9,10)),$n(this.g);return;case 10:!this.e&&(this.e=new $t(ei,this,10,9)),$n(this.e);return;case 11:Rfe(this,null);return}Yfe(this,t)},f.Ib=function(){return hst(this)},f.b=0,f.c=0,f.d=null,f.j=0,f.k=0,x(F0,"ElkEdgeSectionImpl",452),C(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Lh=function(t,n,i){var s;return t==0?(!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab):ca(this,t-Cn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c;return n==0?(!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i)):(c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().zk(this,lc(this),n-Cn(this.ii()),t,i))},f.Uh=function(t,n,i){var s,c;return n==0?(!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i)):(c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Cn(this.ii()),t,i))},f.Wh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:sa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.Zh=function(t){return sge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return}da(this,t-Cn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.di=function(t){E4(this,128,t)},f.ii=function(){return Pt(),K4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return}fa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){this.Bb|=1},f.qi=function(t){return XS(this,t)},f.Bb=0,x(Vt,"EModelElementImpl",158),C(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},coe),f.ri=function(t,n){return Put(this,t,n)},f.si=function(t){var n,i,s,c,d;if(this.a!=$u(t)||t.Bb&256)throw B(new Qt(cJ+t.zb+xw));for(s=As(t);Il(s.a).i!=0;){if(i=u(_M(s,0,(n=u(re(Il(s.a),0),89),d=n.c,te(d,90)?u(d,29):(Pt(),Va))),29),aw(i))return c=$u(i).wi().si(i),u(c,54).ci(t),c;s=As(i)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new UWe(t):new eue(t)},f.ti=function(t,n){return bw(this,t,n)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.a}return ca(this,t-Cn((Pt(),Fg)),Dt((s=u(Yt(this,16),29),s||Fg),t),n,i)},f.Sh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 1:return this.a&&(i=u(this.a,54).Th(this,4,Uf,i)),yde(this,u(t,241),i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Fg)),n),69),c.wk().zk(this,lc(this),n-Cn((Pt(),Fg)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 1:return yde(this,null,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Fg)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Fg)),t,i)},f.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return sa(this,t-Cn((Pt(),Fg)),Dt((n=u(Yt(this,16),29),n||Fg),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:Yit(this,u(n,241));return}da(this,t-Cn((Pt(),Fg)),Dt((i=u(Yt(this,16),29),i||Fg),t),n)},f.ii=function(){return Pt(),Fg},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:Yit(this,null);return}fa(this,t-Cn((Pt(),Fg)),Dt((n=u(Yt(this,16),29),n||Fg),t))};var Nx,Ake,T4t;x(Vt,"EFactoryImpl",720),C(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},lRe),f.ri=function(t,n){switch(t.hk()){case 12:return u(n,149).Pg();case 13:return Ks(n);default:throw B(new Qt(g8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d,h,b,m;switch(t.G==-1&&(t.G=(n=$u(t),n?sp(n.vi(),t):-1)),t.G){case 4:return d=new noe,d;case 6:return h=new iC,h;case 7:return b=new nse,b;case 8:return s=new FH,s;case 9:return i=new q_,i;case 10:return c=new X_,c;case 11:return m=new cRe,m;default:throw B(new Qt(cJ+t.zb+xw))}},f.ti=function(t,n){switch(t.hk()){case 13:case 12:return null;default:throw B(new Qt(g8+t.xe()+xw))}},x(F0,"ElkGraphFactoryImpl",1037),C(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Gh=function(){var t,n;return n=(t=u(Yt(this,16),29),nae(qd(t||this.ii()))),n==null?(wC(),wC(),Ste):new hGe(this,n)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.xe()}return ca(this,t-Cn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return sa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:this.ui(Jn(n));return}da(this,t-Cn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Pt(),U4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:this.ui(null);return}fa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.xe=function(){return this.zb},f.ui=function(t){Xl(this,t)},f.Ib=function(){return SS(this)},f.zb=null,x(Vt,"ENamedElementImpl",448),C(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Fqe),f.Ah=function(t){return lit(this,t)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,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 Mm(this,Gf,this)),this.rb;case 6:return!this.vb&&(this.vb=new e4(Uf,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?u(this.Cb,241):null:gXe(this)}return ca(this,t-Cn((Pt(),Ip)),Dt((s=u(Yt(this,16),29),s||Ip),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 4:return this.sb&&(i=u(this.sb,54).Th(this,1,Dx,i)),Sde(this,u(t,480),i);case 5:return!this.rb&&(this.rb=new Mm(this,Gf,this)),Yl(this.rb,t,i);case 6:return!this.vb&&(this.vb=new e4(Uf,this,6,7)),Yl(this.vb,t,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?lit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,7,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ip)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Ip)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 4:return Sde(this,null,i);case 5:return!this.rb&&(this.rb=new Mm(this,Gf,this)),Vo(this.rb,t,i);case 6:return!this.vb&&(this.vb=new e4(Uf,this,6,7)),Vo(this.vb,t,i);case 7:return Hu(this,null,7,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ip)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Ip)),t,i)},f.Wh=function(t){var n;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!!gXe(this)}return sa(this,t-Cn((Pt(),Ip)),Dt((n=u(Yt(this,16),29),n||Ip),t))},f.Zh=function(t){var n;return n=Hnn(this,t),n||sge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:QL(this,Jn(n));return;case 3:JL(this,Jn(n));return;case 4:eq(this,u(n,480));return;case 5:!this.rb&&(this.rb=new Mm(this,Gf,this)),$n(this.rb),!this.rb&&(this.rb=new Mm(this,Gf,this)),wi(this.rb,u(n,16));return;case 6:!this.vb&&(this.vb=new e4(Uf,this,6,7)),$n(this.vb),!this.vb&&(this.vb=new e4(Uf,this,6,7)),wi(this.vb,u(n,16));return}da(this,t-Cn((Pt(),Ip)),Dt((i=u(Yt(this,16),29),i||Ip),t),n)},f.ei=function(t){var n,i;if(t&&this.rb)for(i=new hn(this.rb);i.e!=i.i.gc();)n=mn(i),te(n,364)&&(u(n,364).w=null);E4(this,64,t)},f.ii=function(){return Pt(),Ip},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:Xl(this,null);return;case 2:QL(this,null);return;case 3:JL(this,null);return;case 4:eq(this,null);return;case 5:!this.rb&&(this.rb=new Mm(this,Gf,this)),$n(this.rb);return;case 6:!this.vb&&(this.vb=new e4(Uf,this,6,7)),$n(this.vb);return}fa(this,t-Cn((Pt(),Ip)),Dt((n=u(Yt(this,16),29),n||Ip),t))},f.pi=function(){FV(this)},f.vi=function(){return!this.rb&&(this.rb=new Mm(this,Gf,this)),this.rb},f.wi=function(){return this.sb},f.xi=function(){return this.ub},f.yi=function(){return this.xb},f.zi=function(){return this.yb},f.Ai=function(t){this.ub=t},f.Ib=function(){var t;return this.Db&64?SS(this):(t=new Pa(SS(this)),t.a+=" (nsURI: ",ps(t,this.yb),t.a+=", nsPrefix: ",ps(t,this.xb),t.a+=")",t.a)},f.xb=null,f.yb=null,x(Vt,"EPackageImpl",184),C(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Cst),f.q=!1,f.r=!1;var I4t=!1;x(F0,"ElkGraphPackageImpl",569),C(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},noe),f.Ah=function(t){return Mhe(this,t)},f.Lh=function(t,n,i){switch(t){case 7:return bXe(this);case 8:return this.a}return Nde(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 7:return this.Cb&&(i=(s=this.Db>>16,s>=0?Mhe(this,i):this.Cb.Th(this,-1-s,null,i))),gue(this,u(t,167),i)}return YV(this,t,n,i)},f.Uh=function(t,n,i){return n==7?gue(this,null,i):AW(this,t,n,i)},f.Wh=function(t){switch(t){case 7:return!!bXe(this);case 8:return!Et("",this.a)}return Ude(this,t)},f.bi=function(t,n){switch(t){case 7:cpe(this,u(n,167));return;case 8:Ife(this,Jn(n));return}Hhe(this,t,n)},f.ii=function(){return kl(),Oke},f.ki=function(t){switch(t){case 7:cpe(this,null);return;case 8:Ife(this,"");return}Jde(this,t)},f.Ib=function(){return aot(this)},f.a="",x(F0,"ElkLabelImpl",366),C(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},iC),f.Ah=function(t){return Rhe(this,t)},f.Lh=function(t,n,i){switch(t){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),this.c;case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),this.a;case 11:return ri(this);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),this.b;case 13:return Gt(),!this.a&&(this.a=new Se(xr,this,10,11)),this.a.i>0}return ghe(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),Yl(this.c,t,i);case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),Yl(this.a,t,i);case 11:return this.Cb&&(i=(s=this.Db>>16,s>=0?Rhe(this,i):this.Cb.Th(this,-1-s,null,i))),Cce(this,u(t,27),i);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),Yl(this.b,t,i)}return jhe(this,t,n,i)},f.Uh=function(t,n,i){switch(n){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),Vo(this.c,t,i);case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),Vo(this.a,t,i);case 11:return Cce(this,null,i);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),Vo(this.b,t,i)}return $he(this,t,n,i)},f.Wh=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!!ri(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new Se(xr,this,10,11)),this.a.i>0}return sde(this,t)},f.bi=function(t,n){switch(t){case 9:!this.c&&(this.c=new Se(ru,this,9,9)),$n(this.c),!this.c&&(this.c=new Se(ru,this,9,9)),wi(this.c,u(n,16));return;case 10:!this.a&&(this.a=new Se(xr,this,10,11)),$n(this.a),!this.a&&(this.a=new Se(xr,this,10,11)),wi(this.a,u(n,16));return;case 11:t$(this,u(n,27));return;case 12:!this.b&&(this.b=new Se(Ti,this,12,3)),$n(this.b),!this.b&&(this.b=new Se(Ti,this,12,3)),wi(this.b,u(n,16));return}X1e(this,t,n)},f.ii=function(){return kl(),_ke},f.ki=function(t){switch(t){case 9:!this.c&&(this.c=new Se(ru,this,9,9)),$n(this.c);return;case 10:!this.a&&(this.a=new Se(xr,this,10,11)),$n(this.a);return;case 11:t$(this,null);return;case 12:!this.b&&(this.b=new Se(Ti,this,12,3)),$n(this.b);return}ahe(this,t)},f.Ib=function(){return xpe(this)},x(F0,"ElkNodeImpl",207),C(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},nse),f.Ah=function(t){return Phe(this,t)},f.Lh=function(t,n,i){return t==9?Qf(this):ghe(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 9:return this.Cb&&(i=(s=this.Db>>16,s>=0?Phe(this,i):this.Cb.Th(this,-1-s,null,i))),hce(this,u(t,27),i)}return jhe(this,t,n,i)},f.Uh=function(t,n,i){return n==9?hce(this,null,i):$he(this,t,n,i)},f.Wh=function(t){return t==9?!!Qf(this):sde(this,t)},f.bi=function(t,n){switch(t){case 9:ipe(this,u(n,27));return}X1e(this,t,n)},f.ii=function(){return kl(),Rke},f.ki=function(t){switch(t){case 9:ipe(this,null);return}ahe(this,t)},f.Ib=function(){return Qlt(this)},x(F0,"ElkPortImpl",193);var M4t=fi(Xo,"BasicEMap/Entry");C(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},cRe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.Hb=function(){return jb(this)},f.Di=function(t){Mfe(this,u(t,149))},f.Lh=function(t,n,i){switch(t){case 0:return this.b;case 1:return this.c}return Pj(this,t,n,i)},f.Wh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return CV(this,t)},f.bi=function(t,n){switch(t){case 0:Mfe(this,u(n,149));return;case 1:Tfe(this,n);return}sq(this,t,n)},f.ii=function(){return kl(),Fh},f.ki=function(t){switch(t){case 0:Mfe(this,null);return;case 1:Tfe(this,null);return}rq(this,t)},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Vr(t):0),this.a},f.md=function(){return this.c},f.Ci=function(t){this.a=t},f.nd=function(t){var n;return n=this.c,Tfe(this,t),n},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Hp,lr(lr(lr(t,this.b?this.b.Pg():kc),tY),DC(this.c)),t.a)},f.a=-1,f.c=null;var Sp=x(F0,"ElkPropertyToValueMapEntryImpl",1122);C(996,1,{},fRe),x(Mo,"JsonAdapter",996),C(216,63,w1,Ld),x(Mo,"JsonImportException",216),C(868,1,{},cit),x(Mo,"JsonImporter",868),C(903,1,{},hKe),x(Mo,"JsonImporter/lambda$0$Type",903),C(904,1,{},pKe),x(Mo,"JsonImporter/lambda$1$Type",904),C(912,1,{},DNe),x(Mo,"JsonImporter/lambda$10$Type",912),C(914,1,{},gKe),x(Mo,"JsonImporter/lambda$11$Type",914),C(915,1,{},bKe),x(Mo,"JsonImporter/lambda$12$Type",915),C(921,1,{},Mqe),x(Mo,"JsonImporter/lambda$13$Type",921),C(920,1,{},Pqe),x(Mo,"JsonImporter/lambda$14$Type",920),C(916,1,{},wKe),x(Mo,"JsonImporter/lambda$15$Type",916),C(917,1,{},mKe),x(Mo,"JsonImporter/lambda$16$Type",917),C(918,1,{},vKe),x(Mo,"JsonImporter/lambda$17$Type",918),C(919,1,{},yKe),x(Mo,"JsonImporter/lambda$18$Type",919),C(924,1,{},NNe),x(Mo,"JsonImporter/lambda$19$Type",924),C(905,1,{},BNe),x(Mo,"JsonImporter/lambda$2$Type",905),C(922,1,{},FNe),x(Mo,"JsonImporter/lambda$20$Type",922),C(923,1,{},zNe),x(Mo,"JsonImporter/lambda$21$Type",923),C(927,1,{},HNe),x(Mo,"JsonImporter/lambda$22$Type",927),C(925,1,{},KNe),x(Mo,"JsonImporter/lambda$23$Type",925),C(926,1,{},UNe),x(Mo,"JsonImporter/lambda$24$Type",926),C(929,1,{},GNe),x(Mo,"JsonImporter/lambda$25$Type",929),C(928,1,{},WNe),x(Mo,"JsonImporter/lambda$26$Type",928),C(930,1,bn,kKe),f.Cd=function(t){nKt(this.b,this.a,Jn(t))},x(Mo,"JsonImporter/lambda$27$Type",930),C(931,1,bn,CKe),f.Cd=function(t){rKt(this.b,this.a,Jn(t))},x(Mo,"JsonImporter/lambda$28$Type",931),C(932,1,{},SKe),x(Mo,"JsonImporter/lambda$29$Type",932),C(908,1,{},VNe),x(Mo,"JsonImporter/lambda$3$Type",908),C(933,1,{},xKe),x(Mo,"JsonImporter/lambda$30$Type",933),C(934,1,{},qNe),x(Mo,"JsonImporter/lambda$31$Type",934),C(935,1,{},XNe),x(Mo,"JsonImporter/lambda$32$Type",935),C(936,1,{},YNe),x(Mo,"JsonImporter/lambda$33$Type",936),C(937,1,{},JNe),x(Mo,"JsonImporter/lambda$34$Type",937),C(870,1,{},QNe),x(Mo,"JsonImporter/lambda$35$Type",870),C(941,1,{},mWe),x(Mo,"JsonImporter/lambda$36$Type",941),C(938,1,bn,ZNe),f.Cd=function(t){cHt(this.a,u(t,377))},x(Mo,"JsonImporter/lambda$37$Type",938),C(939,1,bn,EKe),f.Cd=function(t){K_t(this.a,this.b,u(t,166))},x(Mo,"JsonImporter/lambda$38$Type",939),C(940,1,bn,TKe),f.Cd=function(t){U_t(this.a,this.b,u(t,166))},x(Mo,"JsonImporter/lambda$39$Type",940),C(906,1,{},eBe),x(Mo,"JsonImporter/lambda$4$Type",906),C(942,1,bn,tBe),f.Cd=function(t){uHt(this.a,u(t,8))},x(Mo,"JsonImporter/lambda$40$Type",942),C(907,1,{},nBe),x(Mo,"JsonImporter/lambda$5$Type",907),C(911,1,{},rBe),x(Mo,"JsonImporter/lambda$6$Type",911),C(909,1,{},iBe),x(Mo,"JsonImporter/lambda$7$Type",909),C(910,1,{},oBe),x(Mo,"JsonImporter/lambda$8$Type",910),C(913,1,{},sBe),x(Mo,"JsonImporter/lambda$9$Type",913),C(961,1,bn,lBe),f.Cd=function(t){c4(this.a,new Pm(Jn(t)))},x(Mo,"JsonMetaDataConverter/lambda$0$Type",961),C(962,1,bn,cBe),f.Cd=function(t){eNt(this.a,u(t,245))},x(Mo,"JsonMetaDataConverter/lambda$1$Type",962),C(963,1,bn,uBe),f.Cd=function(t){ZBt(this.a,u(t,143))},x(Mo,"JsonMetaDataConverter/lambda$2$Type",963),C(964,1,bn,aBe),f.Cd=function(t){tNt(this.a,u(t,170))},x(Mo,"JsonMetaDataConverter/lambda$3$Type",964),C(245,22,{3:1,34:1,22:1,245:1},q3);var HB,KB,bte,UB,GB,WB,wte,mte,VB=An(WM,"GraphFeature",245,Nn,NKt,I$t),P4t;C(11,1,{34:1,149:1},Br,ui,St,go),f.Fd=function(t){return XRt(this,u(t,149))},f.Fb=function(t){return Qqe(this,t)},f.Sg=function(){return Ke(this)},f.Pg=function(){return this.b},f.Hb=function(){return Z1(this.b)},f.Ib=function(){return this.b},x(WM,"Property",11),C(671,1,tr,eK),f.Ne=function(t,n){return oVt(this,u(t,96),u(n,96))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(WM,"PropertyHolderComparator",671),C(709,1,co,Doe),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return sKt(this)},f.Qb=function(){sze()},f.Ob=function(){return!!this.a},x(pD,"ElkGraphUtil/AncestorIterator",709);var Lke=fi(Xo,"EList");C(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),f.bd=function(t,n){ES(this,t,n)},f.Fc=function(t){return Dn(this,t)},f.cd=function(t,n){return Jfe(this,t,n)},f.Gc=function(t){return wi(this,t)},f.Ii=function(){return new Z3(this)},f.Ji=function(){return new zT(this)},f.Ki=function(t){return AI(this,t)},f.Li=function(){return!0},f.Mi=function(t,n){},f.Ni=function(){},f.Oi=function(t,n){eW(this,t,n)},f.Pi=function(t,n,i){},f.Qi=function(t,n){},f.Ri=function(t,n,i){},f.Fb=function(t){return $lt(this,t)},f.Hb=function(){return Vfe(this)},f.Si=function(){return!1},f.Kc=function(){return new hn(this)},f.ed=function(){return new Q3(this)},f.fd=function(t){var n;if(n=this.gc(),t<0||t>n)throw B(new Tm(t,n));return new oG(this,t)},f.Ui=function(t,n){this.Ti(t,this.dd(n))},f.Mc=function(t){return _L(this,t)},f.Wi=function(t,n){return n},f.hd=function(t,n){return Ky(this,t,n)},f.Ib=function(){return zde(this)},f.Yi=function(){return!0},f.Zi=function(t,n){return mk(this,n)},x(Xo,"AbstractEList",70),C(66,70,ih,Y_,Qb,zfe),f.Ei=function(t,n){return JV(this,t,n)},f.Fi=function(t){return Art(this,t)},f.Gi=function(t,n){qI(this,t,n)},f.Hi=function(t){wI(this,t)},f.$i=function(t){return tfe(this,t)},f.$b=function(){lS(this)},f.Hc=function(t){return Lk(this,t)},f.Xb=function(t){return re(this,t)},f._i=function(t){var n,i,s;++this.j,i=this.g==null?0:this.g.length,t>i&&(s=this.g,n=i+(i/2|0)+4,n=0?(this.gd(n),!0):!1},f.Xi=function(t,n){return this.Dj(t,this.Zi(t,n))},f.gc=function(){return this.Ej()},f.Pc=function(){return this.Fj()},f.Qc=function(t){return this.Gj(t)},f.Ib=function(){return this.Hj()},x(Xo,"DelegatingEList",2093),C(2094,2093,Qht),f.Ei=function(t,n){return $pe(this,t,n)},f.Fi=function(t){return this.Ei(this.Ej(),t)},f.Gi=function(t,n){Sst(this,t,n)},f.Hi=function(t){fst(this,t)},f.Li=function(){return!this.Mj()},f.$b=function(){t9(this)},f.Ij=function(t,n,i,s,c){return new Jqe(this,t,n,i,s,c)},f.Jj=function(t){_r(this.jj(),t)},f.Kj=function(){return null},f.Lj=function(){return-1},f.jj=function(){return null},f.Mj=function(){return!1},f.Nj=function(t,n){return n},f.Oj=function(t,n){return n},f.Pj=function(){return!1},f.Qj=function(){return!this.Aj()},f.Ti=function(t,n){var i,s;return this.Pj()?(s=this.Qj(),i=c1e(this,t,n),this.Jj(this.Ij(7,Ae(n),i,t,s)),i):c1e(this,t,n)},f.gd=function(t){var n,i,s,c;return this.Pj()?(i=null,s=this.Qj(),n=this.Ij(4,c=PA(this,t),null,t,s),this.Mj()&&c?(i=this.Oj(c,i),i?(i.nj(n),i.oj()):this.Jj(n)):i?(i.nj(n),i.oj()):this.Jj(n),c):(c=PA(this,t),this.Mj()&&c&&(i=this.Oj(c,null),i&&i.oj()),c)},f.Xi=function(t,n){return Oct(this,t,n)},x(q4,"DelegatingNotifyingListImpl",2094),C(152,1,uP),f.nj=function(t){return Vhe(this,t)},f.oj=function(){cW(this)},f.gj=function(){return this.d},f.Kj=function(){return null},f.Rj=function(){return null},f.hj=function(t){return-1},f.ij=function(){return wlt(this)},f.jj=function(){return null},f.kj=function(){return hpe(this)},f.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},f.Sj=function(){return!1},f.mj=function(t){var n,i,s,c,d,h,b,m,v,k,T;switch(this.d){case 1:case 2:switch(c=t.gj(),c){case 1:case 2:if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0}case 4:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null))return v=Zpe(this),m=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,h=t.lj(),this.d=6,T=new Qb(2),m<=h?(Dn(T,this.n),Dn(T,t.kj()),this.g=H(F(Bn,1),ur,28,15,[this.o=m,h+1])):(Dn(T,t.kj()),Dn(T,this.n),this.g=H(F(Bn,1),ur,28,15,[this.o=h,m])),this.n=T,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null)){for(v=Zpe(this),h=t.lj(),k=u(this.g,53),s=be(Bn,ur,28,k.length+1,15,1),n=0;n>>0,n.toString(16))),s.a+=" (eventType: ",this.d){case 1:{s.a+="SET";break}case 2:{s.a+="UNSET";break}case 3:{s.a+="ADD";break}case 5:{s.a+="ADD_MANY";break}case 4:{s.a+="REMOVE";break}case 6:{s.a+="REMOVE_MANY";break}case 7:{s.a+="MOVE";break}case 8:{s.a+="REMOVING_ADAPTER";break}case 9:{s.a+="RESOLVE";break}default:{xK(s,this.d);break}}if(ict(this)&&(s.a+=", touch: true"),s.a+=", position: ",xK(s,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),s.a+=", notifier: ",_C(s,this.jj()),s.a+=", feature: ",_C(s,this.Kj()),s.a+=", oldValue: ",_C(s,hpe(this)),s.a+=", newValue: ",this.d==6&&te(this.g,53)){for(i=u(this.g,53),s.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new KC(this),this.a=this.j),Pf(this.b,t)):Lk(this,t)},f.Yi=function(){return!0},f.a=0,x(Xo,"AbstractEList/1",966),C(302,77,EX,Tm),x(Xo,"AbstractEList/BasicIndexOutOfBoundsException",302),C(37,1,co,hn),f.Nb=function(t){Eo(this,t)},f.Xj=function(){if(this.i.j!=this.f)throw B(new ea)},f.Yj=function(){return mn(this)},f.Ob=function(){return this.e!=this.i.gc()},f.Pb=function(){return this.Yj()},f.Qb=function(){DS(this)},f.e=0,f.f=0,f.g=-1,x(Xo,"AbstractEList/EIterator",37),C(286,37,Eh,Q3,oG),f.Qb=function(){DS(this)},f.Rb=function(t){_nt(this,t)},f.Zj=function(){var t;try{return t=this.d.Xb(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.$j=function(t){$rt(this,t)},f.Sb=function(){return this.e!=0},f.Tb=function(){return this.e},f.Ub=function(){return this.Zj()},f.Vb=function(){return this.e-1},f.Wb=function(t){this.$j(t)},x(Xo,"AbstractEList/EListIterator",286),C(355,37,co,Z3),f.Yj=function(){return SV(this)},f.Qb=function(){throw B(new Xn)},x(Xo,"AbstractEList/NonResolvingEIterator",355),C(398,286,Eh,zT,Pce),f.Rb=function(t){throw B(new Xn)},f.Yj=function(){var t;try{return t=this.c.Vi(this.e),this.Xj(),this.g=this.e++,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.Zj=function(){var t;try{return t=this.c.Vi(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.Qb=function(){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(Xo,"AbstractEList/NonResolvingEListIterator",398),C(2080,70,Zht),f.Ei=function(t,n){var i,s,c,d,h,b,m,v,k,T,M;if(c=n.gc(),c!=0){for(v=u(Yt(this.a,4),129),k=v==null?0:v.length,M=k+c,s=WW(this,M),T=k-t,T>0&&Pl(v,t,s,t+c,T),m=n.Kc(),h=0;hi)throw B(new Tm(t,i));return new vqe(this,t)},f.$b=function(){var t,n;++this.j,t=u(Yt(this.a,4),129),n=t==null?0:t.length,Ok(this,null),eW(this,n,t)},f.Hc=function(t){var n,i,s,c,d;if(n=u(Yt(this.a,4),129),n!=null){if(t!=null){for(s=n,c=0,d=s.length;c=i)throw B(new Tm(t,i));return n[t]},f.dd=function(t){var n,i,s;if(n=u(Yt(this.a,4),129),n!=null){if(t!=null){for(i=0,s=n.length;ii)throw B(new Tm(t,i));return new mqe(this,t)},f.Ti=function(t,n){var i,s,c;if(i=znt(this),c=i==null?0:i.length,t>=c)throw B(new vs(wJ+t+z0+c));if(n>=c)throw B(new vs(mJ+n+z0+c));return s=i[n],t!=n&&(t0&&Pl(t,0,n,0,i),n},f.Qc=function(t){var n,i,s;return n=u(Yt(this.a,4),129),s=n==null?0:n.length,s>0&&(t.lengths&&hi(t,s,null),t};var O4t;x(Xo,"ArrayDelegatingEList",2080),C(1051,37,co,yJe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},f.Qb=function(){DS(this),this.a=u(Yt(this.b.a,4),129)},x(Xo,"ArrayDelegatingEList/EIterator",1051),C(722,286,Eh,RVe,mqe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},f.$j=function(t){$rt(this,t),this.a=u(Yt(this.b.a,4),129)},f.Qb=function(){DS(this),this.a=u(Yt(this.b.a,4),129)},x(Xo,"ArrayDelegatingEList/EListIterator",722),C(1052,355,co,kJe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},x(Xo,"ArrayDelegatingEList/NonResolvingEIterator",1052),C(723,398,Eh,AVe,vqe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},x(Xo,"ArrayDelegatingEList/NonResolvingEListIterator",723),C(615,302,EX,aU),x(Xo,"BasicEList/BasicIndexOutOfBoundsException",615),C(710,66,ih,wle),f.bd=function(t,n){throw B(new Xn)},f.Fc=function(t){throw B(new Xn)},f.cd=function(t,n){throw B(new Xn)},f.Gc=function(t){throw B(new Xn)},f.$b=function(){throw B(new Xn)},f._i=function(t){throw B(new Xn)},f.Kc=function(){return this.Ii()},f.ed=function(){return this.Ji()},f.fd=function(t){return this.Ki(t)},f.Ti=function(t,n){throw B(new Xn)},f.Ui=function(t,n){throw B(new Xn)},f.gd=function(t){throw B(new Xn)},f.Mc=function(t){throw B(new Xn)},f.hd=function(t,n){throw B(new Xn)},x(Xo,"BasicEList/UnmodifiableEList",710),C(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),f.bd=function(t,n){DRt(this,t,u(n,44))},f.Fc=function(t){return OAt(this,u(t,44))},f.Jc=function(t){Io(this,t)},f.Xb=function(t){return u(re(this.c,t),136)},f.Ti=function(t,n){return u(this.c.Ti(t,n),44)},f.Ui=function(t,n){NRt(this,t,u(n,44))},f.Lc=function(){return new xt(null,new Mt(this,16))},f.gd=function(t){return u(this.c.gd(t),44)},f.hd=function(t,n){return ZDt(this,t,u(n,44))},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Mt(this,16)},f.Oc=function(){return new xt(null,new Mt(this,16))},f.cd=function(t,n){return this.c.cd(t,n)},f.Gc=function(t){return this.c.Gc(t)},f.$b=function(){this.c.$b()},f.Hc=function(t){return this.c.Hc(t)},f.Ic=function(t){return BI(this.c,t)},f._j=function(){var t,n,i;if(this.d==null){for(this.d=be(jke,Uwe,66,2*this.f+1,0,1),i=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=u(n.Yj(),136),Aj(this,t);this.e=i}},f.Fb=function(t){return sWe(this,t)},f.Hb=function(){return Vfe(this.c)},f.dd=function(t){return this.c.dd(t)},f.ak=function(){this.c=new fBe(this)},f.dc=function(){return this.f==0},f.Kc=function(){return this.c.Kc()},f.ed=function(){return this.c.ed()},f.fd=function(t){return this.c.fd(t)},f.bk=function(){return yI(this)},f.ck=function(t,n,i){return new vWe(t,n,i)},f.dk=function(){return new gRe},f.Mc=function(t){return WZe(this,t)},f.gc=function(){return this.f},f.kd=function(t,n){return new V1(this.c,t,n)},f.Pc=function(){return this.c.Pc()},f.Qc=function(t){return this.c.Qc(t)},f.Ib=function(){return zde(this.c)},f.e=0,f.f=0,x(Xo,"BasicEMap",721),C(1046,66,ih,fBe),f.Mi=function(t,n){gOt(this,u(n,136))},f.Pi=function(t,n,i){var s;++(s=this,u(n,136),s).a.e},f.Qi=function(t,n){bOt(this,u(n,136))},f.Ri=function(t,n,i){gAt(this,u(n,136),u(i,136))},f.Oi=function(t,n){zet(this.a)},x(Xo,"BasicEMap/1",1046),C(1047,66,ih,gRe),f.aj=function(t){return be(rfn,e1t,621,t,0,1)},x(Xo,"BasicEMap/2",1047),C(1048,ad,Nc,dBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return hV(this.a,t)},f.Kc=function(){return this.a.f==0?(R5(),TO.a):new qFe(this.a)},f.Mc=function(t){var n;return n=this.a.f,kj(this.a,t),this.a.f!=n},f.gc=function(){return this.a.f},x(Xo,"BasicEMap/3",1048),C(1049,31,rv,hBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return Dlt(this.a,t)},f.Kc=function(){return this.a.f==0?(R5(),TO.a):new XFe(this.a)},f.gc=function(){return this.a.f},x(Xo,"BasicEMap/4",1049),C(1050,ad,Nc,pBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){var n,i,s,c,d,h,b,m,v;if(this.a.f>0&&te(t,44)&&(this.a._j(),m=u(t,44),b=m.ld(),c=b==null?0:Vr(b),d=pce(this.a,c),n=this.a.d[d],n)){for(i=u(n.g,379),v=n.i,h=0;h"+this.c},f.a=0;var rfn=x(Xo,"BasicEMap/EntryImpl",621);C(546,1,{},J_),x(Xo,"BasicEMap/View",546);var TO;C(783,1,{}),f.Fb=function(t){return Y1e((Ot(),Yo),t)},f.Hb=function(){return ode((Ot(),Yo))},f.Ib=function(){return ag((Ot(),Yo))},x(Xo,"ECollections/BasicEmptyUnmodifiableEList",783),C(1348,1,Eh,bRe),f.Nb=function(t){Eo(this,t)},f.Rb=function(t){throw B(new Xn)},f.Ob=function(){return!1},f.Sb=function(){return!1},f.Pb=function(){throw B(new qs)},f.Tb=function(){return 0},f.Ub=function(){throw B(new qs)},f.Vb=function(){return-1},f.Qb=function(){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(Xo,"ECollections/BasicEmptyUnmodifiableEList/1",1348),C(1346,783,{20:1,16:1,15:1,61:1},iFe),f.bd=function(t,n){vze()},f.Fc=function(t){return yze()},f.cd=function(t,n){return kze()},f.Gc=function(t){return Cze()},f.$b=function(){Sze()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){Io(this,t)},f.Xb=function(t){return yle((Ot(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,n){return xze()},f.Ui=function(t,n){Eze()},f.Lc=function(){return new xt(null,new Mt(this,16))},f.gd=function(t){return Tze()},f.Mc=function(t){return Ize()},f.hd=function(t,n){return Mze()},f.gc=function(){return 0},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Mt(this,16)},f.Oc=function(){return new xt(null,new Mt(this,16))},f.kd=function(t,n){return Ot(),new V1(Yo,t,n)},f.Pc=function(){return wue((Ot(),Yo))},f.Qc=function(t){return Ot(),AS(Yo,t)},x(Xo,"ECollections/EmptyUnmodifiableEList",1346),C(1347,783,{20:1,16:1,15:1,61:1,597:1},oFe),f.bd=function(t,n){vze()},f.Fc=function(t){return yze()},f.cd=function(t,n){return kze()},f.Gc=function(t){return Cze()},f.$b=function(){Sze()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){Io(this,t)},f.Xb=function(t){return yle((Ot(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,n){return xze()},f.Ui=function(t,n){Eze()},f.Lc=function(){return new xt(null,new Mt(this,16))},f.gd=function(t){return Tze()},f.Mc=function(t){return Ize()},f.hd=function(t,n){return Mze()},f.gc=function(){return 0},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Mt(this,16)},f.Oc=function(){return new xt(null,new Mt(this,16))},f.kd=function(t,n){return Ot(),new V1(Yo,t,n)},f.Pc=function(){return wue((Ot(),Yo))},f.Qc=function(t){return Ot(),AS(Yo,t)},f.bk=function(){return Ot(),Ot(),Rh},x(Xo,"ECollections/EmptyUnmodifiableEMap",1347);var Dke=fi(Xo,"Enumerator"),qB;C(288,1,{288:1},yq),f.Fb=function(t){var n;return this===t?!0:te(t,288)?(n=u(t,288),this.f==n.f&&gDt(this.i,n.i)&&VU(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&VU(this.d,n.d)&&VU(this.g,n.g)&&VU(this.e,n.e)&&Bqt(this,n)):!1},f.Hb=function(){return this.f},f.Ib=function(){return bct(this)},f.f=0;var _4t=0,R4t=0,A4t=0,L4t=0,Nke=0,Bke=0,Fke=0,zke=0,Hke=0,j4t,Bx=0,Fx=0,$4t=0,D4t=0,XB,Kke;x(Xo,"URI",288),C(1121,45,i2,sFe),f.zc=function(t,n){return u(ks(this,Jn(t),u(n,288)),288)},x(Xo,"URI/URICache",1121),C(506,66,ih,aRe,jA),f.Si=function(){return!0},x(Xo,"UniqueEList",506),C(590,63,w1,ML),x(Xo,"WrappedException",590);var dr=fi(ma,r1t),Bv=fi(ma,i1t),Ec=fi(ma,o1t),Fv=fi(ma,s1t),Gf=fi(ma,l1t),Ua=fi(ma,"EClass"),kte=fi(ma,"EDataType"),N4t;C(1233,45,i2,lFe),f.xc=function(t){return lo(t)?jl(this,t):_s(ss(this.f,t))},x(ma,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var YB=fi(ma,"EEnum"),T1=fi(ma,c1t),hs=fi(ma,u1t),Ga=fi(ma,a1t),Wa,Gw=fi(ma,f1t),zv=fi(ma,d1t);C(1042,1,{},uRe),f.Ib=function(){return"NIL"},x(ma,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var B4t;C(1041,45,i2,cFe),f.xc=function(t){return lo(t)?jl(this,t):_s(ss(this.f,t))},x(ma,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var hc=fi(ma,h1t),w6=fi(ma,"EValidator/PatternMatcher"),Uke,Gke,Wt,xp,Hv,Ng,F4t,z4t,H4t,Bg,Ep,Fg,Ww,Sd,K4t,U4t,Va,Tp,G4t,Ip,Kv,q2,ns,W4t,V4t,Vw,JB=fi(ni,"FeatureMap/Entry");C(545,1,{76:1},QR),f.Lk=function(){return this.a},f.md=function(){return this.b},x(Vt,"BasicEObjectImpl/1",545),C(1040,1,xJ,OKe),f.Fk=function(t){return YG(this.a,this.b,t)},f.Qj=function(){return dXe(this.a,this.b)},f.Wb=function(t){oae(this.a,this.b,t)},f.Gk=function(){dNt(this.a,this.b)},x(Vt,"BasicEObjectImpl/4",1040),C(2081,1,{114:1}),f.Mk=function(t){this.e=t==0?q4t:be(Ji,Bt,1,t,5,1)},f.li=function(t){return this.e[t]},f.mi=function(t,n){this.e[t]=n},f.ni=function(t){this.e[t]=null},f.Nk=function(){return this.c},f.Ok=function(){throw B(new Xn)},f.Pk=function(){throw B(new Xn)},f.Qk=function(){return this.d},f.Rk=function(){return this.e!=null},f.Sk=function(t){this.c=t},f.Tk=function(t){throw B(new Xn)},f.Uk=function(t){throw B(new Xn)},f.Vk=function(t){this.d=t};var q4t;x(Vt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),C(192,2081,{114:1},If),f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},x(Vt,"BasicEObjectImpl/EPropertiesHolderImpl",192),C(516,99,pht,Q_),f.uh=function(){return this.f},f.zh=function(){return this.k},f.Bh=function(t,n){this.g=t,this.i=n},f.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},f.Fh=function(){return this.i},f.wh=function(){return(this.j&1)!=0},f.Ph=function(){return this.g},f.Vh=function(){return(this.j&4)!=0},f.$h=function(){return!this.k&&(this.k=new If),this.k},f.ci=function(t){this.$h().Sk(t),t?this.j|=2:this.j&=-3},f.ei=function(t){this.$h().Uk(t),t?this.j|=4:this.j&=-5},f.ii=function(){return(Jp(),Wt).S},f.i=0,f.j=1,x(Vt,"EObjectImpl",516),C(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},eue),f.li=function(t){return this.e[t]},f.mi=function(t,n){this.e[t]=n},f.ni=function(t){this.e[t]=null},f.Dh=function(){return this.d},f.Ih=function(t){return ci(this.d,t)},f.Kh=function(){return this.d},f.Oh=function(){return this.e!=null},f.$h=function(){return!this.k&&(this.k=new wRe),this.k},f.ci=function(t){this.d=t},f.hi=function(){var t;return this.e==null&&(t=Cn(this.d),this.e=t==0?X4t:be(Ji,Bt,1,t,5,1)),this},f.ji=function(){return 0};var X4t;x(Vt,"DynamicEObjectImpl",798),C(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},UWe),f.Fb=function(t){return this===t},f.Hb=function(){return jb(this)},f.ci=function(t){this.d=t,this.b=kM(t,"key"),this.c=kM(t,x9)},f.Bi=function(){var t;return this.a==-1&&(t=uW(this,this.b),this.a=t==null?0:Vr(t)),this.a},f.ld=function(){return uW(this,this.b)},f.md=function(){return uW(this,this.c)},f.Ci=function(t){this.a=t},f.Di=function(t){oae(this,this.b,t)},f.nd=function(t){var n;return n=uW(this,this.c),oae(this,this.c,t),n},f.a=0,x(Vt,"DynamicEObjectImpl/BasicEMapEntry",1522),C(1523,1,{114:1},wRe),f.Mk=function(t){throw B(new Xn)},f.li=function(t){throw B(new Xn)},f.mi=function(t,n){throw B(new Xn)},f.ni=function(t){throw B(new Xn)},f.Nk=function(){throw B(new Xn)},f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Qk=function(){return this.c},f.Rk=function(){throw B(new Xn)},f.Sk=function(t){throw B(new Xn)},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},f.Vk=function(t){this.c=t},x(Vt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),C(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},roe),f.Ah=function(t){return Ohe(this,t)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Su((Pt(),ns),dl,this)),this.b):(!this.b&&(this.b=new Su((Pt(),ns),dl,this)),yI(this.b));case 3:return wXe(this);case 4:return!this.a&&(this.a=new Ai($g,this,4)),this.a;case 5:return!this.c&&(this.c=new Iy($g,this,5)),this.c}return ca(this,t-Cn((Pt(),xp)),Dt((s=u(Yt(this,16),29),s||xp),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?Ohe(this,i):this.Cb.Th(this,-1-c,null,i))),bue(this,u(t,155),i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),xp)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),xp)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 2:return!this.b&&(this.b=new Su((Pt(),ns),dl,this)),wA(this.b,t,i);case 3:return bue(this,null,i);case 4:return!this.a&&(this.a=new Ai($g,this,4)),Vo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),xp)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),xp)),t,i)},f.Wh=function(t){var n;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!!wXe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return sa(this,t-Cn((Pt(),xp)),Dt((n=u(Yt(this,16),29),n||xp),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:nDt(this,Jn(n));return;case 2:!this.b&&(this.b=new Su((Pt(),ns),dl,this)),ZL(this.b,n);return;case 3:ilt(this,u(n,155));return;case 4:!this.a&&(this.a=new Ai($g,this,4)),$n(this.a),!this.a&&(this.a=new Ai($g,this,4)),wi(this.a,u(n,16));return;case 5:!this.c&&(this.c=new Iy($g,this,5)),$n(this.c),!this.c&&(this.c=new Iy($g,this,5)),wi(this.c,u(n,16));return}da(this,t-Cn((Pt(),xp)),Dt((i=u(Yt(this,16),29),i||xp),t),n)},f.ii=function(){return Pt(),xp},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:_fe(this,null);return;case 2:!this.b&&(this.b=new Su((Pt(),ns),dl,this)),this.b.c.$b();return;case 3:ilt(this,null);return;case 4:!this.a&&(this.a=new Ai($g,this,4)),$n(this.a);return;case 5:!this.c&&(this.c=new Iy($g,this,5)),$n(this.c);return}fa(this,t-Cn((Pt(),xp)),Dt((n=u(Yt(this,16),29),n||xp),t))},f.Ib=function(){return cnt(this)},f.d=null,x(Vt,"EAnnotationImpl",519),C(141,721,Gwe,jc),f.Gi=function(t,n){yRt(this,t,u(n,44))},f.Wk=function(t,n){return CLt(this,u(t,44),n)},f.$i=function(t){return u(u(this.c,71).$i(t),136)},f.Ii=function(){return u(this.c,71).Ii()},f.Ji=function(){return u(this.c,71).Ji()},f.Ki=function(t){return u(this.c,71).Ki(t)},f.Xk=function(t,n){return wA(this,t,n)},f.Fk=function(t){return u(this.c,79).Fk(t)},f.ak=function(){},f.Qj=function(){return u(this.c,79).Qj()},f.ck=function(t,n,i){var s;return s=u($u(this.b).wi().si(this.b),136),s.Ci(t),s.Di(n),s.nd(i),s},f.dk=function(){return new Boe(this)},f.Wb=function(t){ZL(this,t)},f.Gk=function(){u(this.c,79).Gk()},x(ni,"EcoreEMap",141),C(165,141,Gwe,Su),f._j=function(){var t,n,i,s,c,d;if(this.d==null){for(d=be(jke,Uwe,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)n=u(i.Yj(),136),s=n.Bi(),c=(s&Pr)%d.length,t=d[c],!t&&(t=d[c]=new Boe(this)),t.Fc(n);this.d=d}},x(Vt,"EAnnotationImpl/1",165),C(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!this.Jk();case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q}return ca(this,t-Cn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 9:return cG(this,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Cn(this.ii()),t,i)},f.Wh=function(t){var n,i;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.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0)}return sa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:this.ui(Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:this.Zk(u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return}da(this,t-Cn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Pt(),V4t},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:this.ui(null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.Zk(1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return}fa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){Aa(this),this.Bb|=1},f.Hk=function(){return Aa(this)},f.Ik=function(){return this.t},f.Jk=function(){var t;return t=this.t,t>1||t==-1},f.Si=function(){return(this.Bb&512)!=0},f.Yk=function(t,n){return xde(this,t,n)},f.Zk=function(t){Bm(this,t)},f.Ib=function(){return z1e(this)},f.s=0,f.t=1,x(Vt,"ETypedElementImpl",292),C(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),f.Ah=function(t){return Jrt(this,t)},f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!this.Jk();case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&dv);case 12:return Gt(),!!(this.Bb&ov);case 13:return this.j;case 14:return Fk(this);case 15:return Gt(),!!(this.Bb&Fc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return _m(this)}return ca(this,t-Cn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?Jrt(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,17,i)}return d=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),d.wk().zk(this,lc(this),n-Cn(this.ii()),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 9:return cG(this,i);case 17:return Hu(this,null,17,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Cn(this.ii()),t,i)},f.Wh=function(t){var n,i;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.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&dv)!=0;case 12:return(this.Bb&ov)!=0;case 13:return this.j!=null;case 14:return Fk(this)!=null;case 15:return(this.Bb&Fc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!_m(this)}return sa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:jG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:this.Zk(u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:Sk(this,qe(Ve(n)));return;case 11:Tk(this,qe(Ve(n)));return;case 12:xk(this,qe(Ve(n)));return;case 13:ble(this,Jn(n));return;case 15:Ek(this,qe(Ve(n)));return;case 16:Ik(this,qe(Ve(n)));return}da(this,t-Cn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Pt(),W4t},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,90)&&Ym(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.Zk(1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:Sk(this,!0);return;case 11:Tk(this,!1);return;case 12:xk(this,!1);return;case 13:this.i=null,VL(this,null);return;case 15:Ek(this,!1);return;case 16:Ik(this,!1);return}fa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){K5(Cs((Dc(),Oo),this)),Aa(this),this.Bb|=1},f.pk=function(){return this.f},f.ik=function(){return Fk(this)},f.qk=function(){return _m(this)},f.uk=function(){return null},f.$k=function(){return this.k},f.Lj=function(){return this.n},f.vk=function(){return zj(this)},f.wk=function(){var t,n,i,s,c,d,h,b,m;return this.p||(i=_m(this),(i.i==null&&qd(i),i.i).length,s=this.uk(),s&&Cn(_m(s)),c=Aa(this),h=c.kk(),t=h?h.i&1?h==wu?Ci:h==Bn?Po:h==Gv?C8:h==uo?Bi:h==Hg?Tw:h==Q2?Iw:h==Hc?X4:j9:h:null,n=Fk(this),b=c.ik(),bVt(this),this.Bb&Xd&&((d=Dhe((Dc(),Oo),i))&&d!=this||(d=h4(Cs(Oo,this))))?this.p=new RKe(this,d):this.Jk()?this.al()?s?this.Bb&Fc?t?this.bl()?this.p=new p0(47,t,this,s):this.p=new p0(5,t,this,s):this.bl()?this.p=new v0(46,this,s):this.p=new v0(4,this,s):t?this.bl()?this.p=new p0(49,t,this,s):this.p=new p0(7,t,this,s):this.bl()?this.p=new v0(48,this,s):this.p=new v0(6,this,s):this.Bb&Fc?t?t==U0?this.p=new U1(50,M4t,this):this.bl()?this.p=new U1(43,t,this):this.p=new U1(1,t,this):this.bl()?this.p=new W1(42,this):this.p=new W1(0,this):t?t==U0?this.p=new U1(41,M4t,this):this.bl()?this.p=new U1(45,t,this):this.p=new U1(3,t,this):this.bl()?this.p=new W1(44,this):this.p=new W1(2,this):te(c,156)?t==JB?this.p=new W1(40,this):this.Bb&512?this.Bb&Fc?t?this.p=new U1(9,t,this):this.p=new W1(8,this):t?this.p=new U1(11,t,this):this.p=new W1(10,this):this.Bb&Fc?t?this.p=new U1(13,t,this):this.p=new W1(12,this):t?this.p=new U1(15,t,this):this.p=new W1(14,this):s?(m=s.t,m>1||m==-1?this.bl()?this.Bb&Fc?t?this.p=new p0(25,t,this,s):this.p=new v0(24,this,s):t?this.p=new p0(27,t,this,s):this.p=new v0(26,this,s):this.Bb&Fc?t?this.p=new p0(29,t,this,s):this.p=new v0(28,this,s):t?this.p=new p0(31,t,this,s):this.p=new v0(30,this,s):this.bl()?this.Bb&Fc?t?this.p=new p0(33,t,this,s):this.p=new v0(32,this,s):t?this.p=new p0(35,t,this,s):this.p=new v0(34,this,s):this.Bb&Fc?t?this.p=new p0(37,t,this,s):this.p=new v0(36,this,s):t?this.p=new p0(39,t,this,s):this.p=new v0(38,this,s)):this.bl()?this.Bb&Fc?t?this.p=new U1(17,t,this):this.p=new W1(16,this):t?this.p=new U1(19,t,this):this.p=new W1(18,this):this.Bb&Fc?t?this.p=new U1(21,t,this):this.p=new W1(20,this):t?this.p=new U1(23,t,this):this.p=new W1(22,this):this._k()?this.bl()?this.p=new yWe(u(c,29),this,s):this.p=new rae(u(c,29),this,s):te(c,156)?t==JB?this.p=new W1(40,this):this.Bb&Fc?t?this.p=new vVe(n,b,this,(pV(),h==Bn?Qke:h==wu?Vke:h==Hg?Zke:h==Gv?Jke:h==uo?Yke:h==Q2?e8e:h==Hc?qke:h==Ea?Xke:xte)):this.p=new Rqe(u(c,156),n,b,this):t?this.p=new mVe(n,b,this,(pV(),h==Bn?Qke:h==wu?Vke:h==Hg?Zke:h==Gv?Jke:h==uo?Yke:h==Q2?e8e:h==Hc?qke:h==Ea?Xke:xte)):this.p=new _qe(u(c,156),n,b,this):this.al()?s?this.Bb&Fc?this.bl()?this.p=new CWe(u(c,29),this,s):this.p=new Hce(u(c,29),this,s):this.bl()?this.p=new kWe(u(c,29),this,s):this.p=new FU(u(c,29),this,s):this.Bb&Fc?this.bl()?this.p=new mGe(u(c,29),this):this.p=new nce(u(c,29),this):this.bl()?this.p=new wGe(u(c,29),this):this.p=new IU(u(c,29),this):this.bl()?s?this.Bb&Fc?this.p=new SWe(u(c,29),this,s):this.p=new Fce(u(c,29),this,s):this.Bb&Fc?this.p=new vGe(u(c,29),this):this.p=new rce(u(c,29),this):s?this.Bb&Fc?this.p=new xWe(u(c,29),this,s):this.p=new zce(u(c,29),this,s):this.Bb&Fc?this.p=new yGe(u(c,29),this):this.p=new LA(u(c,29),this)),this.p},f.rk=function(){return(this.Bb&af)!=0},f._k=function(){return!1},f.al=function(){return!1},f.sk=function(){return(this.Bb&Xd)!=0},f.xk=function(){return aW(this)},f.bl=function(){return!1},f.tk=function(){return(this.Bb&Fc)!=0},f.cl=function(t){this.k=t},f.ui=function(t){jG(this,t)},f.Ib=function(){return c$(this)},f.e=!1,f.n=0,x(Vt,"EStructuralFeatureImpl",462),C(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},lK),f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!j1e(this);case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&dv);case 12:return Gt(),!!(this.Bb&ov);case 13:return this.j;case 14:return Fk(this);case 15:return Gt(),!!(this.Bb&Fc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return _m(this);case 18:return Gt(),!!(this.Bb&wl);case 19:return n?LW(this):jJe(this)}return ca(this,t-Cn((Pt(),Hv)),Dt((s=u(Yt(this,16),29),s||Hv),t),n,i)},f.Wh=function(t){var n,i;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 j1e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&dv)!=0;case 12:return(this.Bb&ov)!=0;case 13:return this.j!=null;case 14:return Fk(this)!=null;case 15:return(this.Bb&Fc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!_m(this);case 18:return(this.Bb&wl)!=0;case 19:return!!jJe(this)}return sa(this,t-Cn((Pt(),Hv)),Dt((n=u(Yt(this,16),29),n||Hv),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:jG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:QFe(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:Sk(this,qe(Ve(n)));return;case 11:Tk(this,qe(Ve(n)));return;case 12:xk(this,qe(Ve(n)));return;case 13:ble(this,Jn(n));return;case 15:Ek(this,qe(Ve(n)));return;case 16:Ik(this,qe(Ve(n)));return;case 18:sV(this,qe(Ve(n)));return}da(this,t-Cn((Pt(),Hv)),Dt((i=u(Yt(this,16),29),i||Hv),t),n)},f.ii=function(){return Pt(),Hv},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,90)&&Ym(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.b=0,Bm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:Sk(this,!0);return;case 11:Tk(this,!1);return;case 12:xk(this,!1);return;case 13:this.i=null,VL(this,null);return;case 15:Ek(this,!1);return;case 16:Ik(this,!1);return;case 18:sV(this,!1);return}fa(this,t-Cn((Pt(),Hv)),Dt((n=u(Yt(this,16),29),n||Hv),t))},f.pi=function(){LW(this),K5(Cs((Dc(),Oo),this)),Aa(this),this.Bb|=1},f.Jk=function(){return j1e(this)},f.Yk=function(t,n){return this.b=0,this.a=null,xde(this,t,n)},f.Zk=function(t){QFe(this,t)},f.Ib=function(){var t;return this.Db&64?c$(this):(t=new Pa(c$(this)),t.a+=" (iD: ",F1(t,(this.Bb&wl)!=0),t.a+=")",t.a)},f.b=0,x(Vt,"EAttributeImpl",331),C(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),f.dl=function(t){return t.Dh()==this},f.Ah=function(t){return BV(this,t)},f.Bh=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return this.ik();case 5:return this.F;case 6:return n?$u(this):W5(this);case 7:return!this.A&&(this.A=new _c(hc,this,7)),this.A}return ca(this,t-Cn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?BV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i)}return d=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),d.wk().zk(this,lc(this),n-Cn(this.ii()),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new _c(hc,this,7)),Vo(this.A,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Cn(this.ii()),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!W5(this);case 7:return!!this.A&&this.A.i!=0}return sa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:uL(this,Jn(n));return;case 2:hU(this,Jn(n));return;case 5:Vk(this,Jn(n));return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A),!this.A&&(this.A=new _c(hc,this,7)),wi(this.A,u(n,16));return}da(this,t-Cn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Pt(),F4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:yk(this,null),ok(this,this.D);return;case 5:Vk(this,null);return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A);return}fa(this,t-Cn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.hk=function(){var t;return this.G==-1&&(this.G=(t=$u(this),t?sp(t.vi(),this):-1)),this.G},f.ik=function(){return null},f.jk=function(){return $u(this)},f.el=function(){return this.v},f.kk=function(){return aw(this)},f.lk=function(){return this.D!=null?this.D:this.B},f.mk=function(){return this.F},f.fk=function(t){return Pq(this,t)},f.fl=function(t){this.v=t},f.gl=function(t){yet(this,t)},f.hl=function(t){this.C=t},f.ui=function(t){uL(this,t)},f.Ib=function(){return wj(this)},f.C=null,f.D=null,f.G=-1,x(Vt,"EClassifierImpl",364),C(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},loe),f.dl=function(t){return oLt(this,t.Dh())},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return null;case 5:return this.F;case 6:return n?$u(this):W5(this);case 7:return!this.A&&(this.A=new _c(hc,this,7)),this.A;case 8:return Gt(),!!(this.Bb&256);case 9:return Gt(),!!(this.Bb&512);case 10:return As(this);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),this.q;case 12:return e2(this);case 13:return QS(this);case 14:return QS(this),this.r;case 15:return e2(this),this.k;case 16:return x1e(this);case 17:return Aq(this);case 18:return qd(this);case 19:return Zj(this);case 20:return e2(this),this.o;case 21:return!this.s&&(this.s=new Se(Ec,this,21,17)),this.s;case 22:return Il(this);case 23:return vq(this)}return ca(this,t-Cn((Pt(),Ng)),Dt((s=u(Yt(this,16),29),s||Ng),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?BV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),Yl(this.q,t,i);case 21:return!this.s&&(this.s=new Se(Ec,this,21,17)),Yl(this.s,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ng)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Ng)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new _c(hc,this,7)),Vo(this.A,t,i);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),Vo(this.q,t,i);case 21:return!this.s&&(this.s=new Se(Ec,this,21,17)),Vo(this.s,t,i);case 22:return Vo(Il(this),t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ng)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Ng)),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!W5(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&&Il(this.u.a).i!=0&&!(this.n&&MV(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return e2(this).i!=0;case 13:return QS(this).i!=0;case 14:return QS(this),this.r.i!=0;case 15:return e2(this),this.k.i!=0;case 16:return x1e(this).i!=0;case 17:return Aq(this).i!=0;case 18:return qd(this).i!=0;case 19:return Zj(this).i!=0;case 20:return e2(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&MV(this.n);case 23:return vq(this).i!=0}return sa(this,t-Cn((Pt(),Ng)),Dt((n=u(Yt(this,16),29),n||Ng),t))},f.Zh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:kM(this,t),n||sge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:uL(this,Jn(n));return;case 2:hU(this,Jn(n));return;case 5:Vk(this,Jn(n));return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A),!this.A&&(this.A=new _c(hc,this,7)),wi(this.A,u(n,16));return;case 8:Ede(this,qe(Ve(n)));return;case 9:Tde(this,qe(Ve(n)));return;case 10:t9(As(this)),wi(As(this),u(n,16));return;case 11:!this.q&&(this.q=new Se(Ga,this,11,10)),$n(this.q),!this.q&&(this.q=new Se(Ga,this,11,10)),wi(this.q,u(n,16));return;case 21:!this.s&&(this.s=new Se(Ec,this,21,17)),$n(this.s),!this.s&&(this.s=new Se(Ec,this,21,17)),wi(this.s,u(n,16));return;case 22:$n(Il(this)),wi(Il(this),u(n,16));return}da(this,t-Cn((Pt(),Ng)),Dt((i=u(Yt(this,16),29),i||Ng),t),n)},f.ii=function(){return Pt(),Ng},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:yk(this,null),ok(this,this.D);return;case 5:Vk(this,null);return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A);return;case 8:Ede(this,!1);return;case 9:Tde(this,!1);return;case 10:this.u&&t9(this.u);return;case 11:!this.q&&(this.q=new Se(Ga,this,11,10)),$n(this.q);return;case 21:!this.s&&(this.s=new Se(Ec,this,21,17)),$n(this.s);return;case 22:this.n&&$n(this.n);return}fa(this,t-Cn((Pt(),Ng)),Dt((n=u(Yt(this,16),29),n||Ng),t))},f.pi=function(){var t,n;if(e2(this),QS(this),x1e(this),Aq(this),qd(this),Zj(this),vq(this),lS(_$t(cu(this))),this.s)for(t=0,n=this.s.i;t=0;--n)re(this,n);return Yde(this,t)},f.Gk=function(){$n(this)},f.Zi=function(t,n){return zZe(this,t,n)},x(ni,"EcoreEList",632),C(505,632,Us,ZT),f.Li=function(){return!1},f.Lj=function(){return this.c},f.Mj=function(){return!1},f.ol=function(){return!0},f.Si=function(){return!0},f.Wi=function(t,n){return n},f.Yi=function(){return!1},f.c=0,x(ni,"EObjectEList",505),C(83,505,Us,Ai),f.Mj=function(){return!0},f.ml=function(){return!1},f.al=function(){return!0},x(ni,"EObjectContainmentEList",83),C(555,83,Us,cA),f.Ni=function(){this.b=!0},f.Qj=function(){return this.b},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.b,this.b=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.b=!1},f.b=!1,x(ni,"EObjectContainmentEList/Unsettable",555),C(1161,555,Us,bVe),f.Ti=function(t,n){var i,s;return i=u(TS(this,t,n),89),ku(this.e)&&b5(this,new kI(this.a,7,(Pt(),z4t),Ae(n),(s=i.c,te(s,90)?u(s,29):Va),t)),i},f.Uj=function(t,n){return QVt(this,u(t,89),n)},f.Vj=function(t,n){return JVt(this,u(t,89),n)},f.Wj=function(t,n,i){return tJt(this,u(t,89),u(n,89),i)},f.Ij=function(t,n,i,s,c){switch(t){case 3:return tS(this,t,n,i,s,this.i>1);case 5:return tS(this,t,n,i,s,this.i-u(i,15).gc()>0);default:return new s1(this.e,t,this.c,n,i,s,!0)}},f.Tj=function(){return!0},f.Qj=function(){return MV(this)},f.Gk=function(){$n(this)},x(Vt,"EClassImpl/1",1161),C(1175,1174,Kwe),f.dj=function(t){var n,i,s,c,d,h,b;if(i=t.gj(),i!=8){if(s=Aqt(t),s==0)switch(i){case 1:case 9:{b=t.kj(),b!=null&&(n=cu(u(b,482)),!n.c&&(n.c=new u5),_L(n.c,t.jj())),h=t.ij(),h!=null&&(c=u(h,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new u5),Dn(n.c,u(t.jj(),29))));break}case 3:{h=t.ij(),h!=null&&(c=u(h,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new u5),Dn(n.c,u(t.jj(),29))));break}case 5:{if(h=t.ij(),h!=null)for(d=u(h,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new u5),Dn(n.c,u(t.jj(),29)));break}case 4:{b=t.kj(),b!=null&&(c=u(b,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new u5),_L(n.c,t.jj())));break}case 6:{if(b=t.kj(),b!=null)for(d=u(b,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new u5),_L(n.c,t.jj()));break}}this.ql(s)}},f.ql=function(t){Ult(this,t)},f.b=63,x(Vt,"ESuperAdapter",1175),C(1176,1175,Kwe,bBe),f.ql=function(t){Ym(this,t)},x(Vt,"EClassImpl/10",1176),C(1165,710,Us),f.Ei=function(t,n){return JV(this,t,n)},f.Fi=function(t){return Art(this,t)},f.Gi=function(t,n){qI(this,t,n)},f.Hi=function(t){wI(this,t)},f.$i=function(t){return tfe(this,t)},f.Xi=function(t,n){return fW(this,t,n)},f.Wk=function(t,n){throw B(new Xn)},f.Ii=function(){return new Z3(this)},f.Ji=function(){return new zT(this)},f.Ki=function(t){return AI(this,t)},f.Xk=function(t,n){throw B(new Xn)},f.Fk=function(t){return this},f.Qj=function(){return this.i!=0},f.Wb=function(t){throw B(new Xn)},f.Gk=function(){throw B(new Xn)},x(ni,"EcoreEList/UnmodifiableEList",1165),C(328,1165,Us,ky),f.Yi=function(){return!1},x(ni,"EcoreEList/UnmodifiableEList/FastCompare",328),C(1168,328,Us,ptt),f.dd=function(t){var n,i,s;if(te(t,179)&&(n=u(t,179),i=n.Lj(),i!=-1)){for(s=this.i;i4)if(this.fk(t)){if(this.al()){if(s=u(t,54),i=s.Eh(),b=i==this.b&&(this.ml()?s.yh(s.Fh(),u(Dt(wc(this.b),this.Lj()).Hk(),29).kk())==is(u(Dt(wc(this.b),this.Lj()),19)).n:-1-s.Fh()==this.Lj()),this.nl()&&!b&&!i&&s.Jh()){for(c=0;c1||s==-1)):!1},f.ml=function(){var t,n,i;return n=Dt(wc(this.b),this.Lj()),te(n,102)?(t=u(n,19),i=is(t),!!i):!1},f.nl=function(){var t,n;return n=Dt(wc(this.b),this.Lj()),te(n,102)?(t=u(n,19),(t.Bb&es)!=0):!1},f.dd=function(t){var n,i,s,c;if(s=this.zj(t),s>=0)return s;if(this.ol()){for(i=0,c=this.Ej();i=0;--t)_M(this,t,this.xj(t));return this.Fj()},f.Qc=function(t){var n;if(this.nl())for(n=this.Ej()-1;n>=0;--n)_M(this,n,this.xj(n));return this.Gj(t)},f.Gk=function(){t9(this)},f.Zi=function(t,n){return mQe(this,t,n)},x(ni,"DelegatingEcoreEList",756),C(1171,756,Vwe,RGe),f.qj=function(t,n){PAt(this,t,u(n,29))},f.rj=function(t){wRt(this,u(t,29))},f.xj=function(t){var n,i;return n=u(re(Il(this.a),t),89),i=n.c,te(i,90)?u(i,29):(Pt(),Va)},f.Cj=function(t){var n,i;return n=u(Zm(Il(this.a),t),89),i=n.c,te(i,90)?u(i,29):(Pt(),Va)},f.Dj=function(t,n){return TXt(this,t,u(n,29))},f.Li=function(){return!1},f.Ij=function(t,n,i,s,c){return null},f.sj=function(){return new vBe(this)},f.tj=function(){$n(Il(this.a))},f.uj=function(t){return ant(this,t)},f.vj=function(t){var n,i;for(i=t.Kc();i.Ob();)if(n=i.Pb(),!ant(this,n))return!1;return!0},f.wj=function(t){var n,i,s;if(te(t,15)&&(s=u(t,15),s.gc()==Il(this.a).i)){for(n=s.Kc(),i=new hn(this);n.Ob();)if(fe(n.Pb())!==fe(mn(i)))return!1;return!0}return!1},f.yj=function(){var t,n,i,s,c;for(i=1,n=new hn(Il(this.a));n.e!=n.i.gc();)t=u(mn(n),89),s=(c=t.c,te(c,90)?u(c,29):(Pt(),Va)),i=31*i+(s?jb(s):0);return i},f.zj=function(t){var n,i,s,c;for(s=0,i=new hn(Il(this.a));i.e!=i.i.gc();){if(n=u(mn(i),89),fe(t)===fe((c=n.c,te(c,90)?u(c,29):(Pt(),Va))))return s;++s}return-1},f.Aj=function(){return Il(this.a).i==0},f.Bj=function(){return null},f.Ej=function(){return Il(this.a).i},f.Fj=function(){var t,n,i,s,c,d;for(d=Il(this.a).i,c=be(Ji,Bt,1,d,5,1),i=0,n=new hn(Il(this.a));n.e!=n.i.gc();)t=u(mn(n),89),c[i++]=(s=t.c,te(s,90)?u(s,29):(Pt(),Va));return c},f.Gj=function(t){var n,i,s,c,d,h,b;for(b=Il(this.a).i,t.lengthb&&hi(t,b,null),s=0,i=new hn(Il(this.a));i.e!=i.i.gc();)n=u(mn(i),89),d=(h=n.c,te(h,90)?u(h,29):(Pt(),Va)),hi(t,s++,d);return t},f.Hj=function(){var t,n,i,s,c;for(c=new B1,c.a+="[",t=Il(this.a),n=0,s=Il(this.a).i;n>16,c>=0?BV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i);case 9:return!this.a&&(this.a=new Se(T1,this,9,5)),Yl(this.a,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Bg)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Bg)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new _c(hc,this,7)),Vo(this.A,t,i);case 9:return!this.a&&(this.a=new Se(T1,this,9,5)),Vo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Bg)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Bg)),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return!!hde(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!W5(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 sa(this,t-Cn((Pt(),Bg)),Dt((n=u(Yt(this,16),29),n||Bg),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:uL(this,Jn(n));return;case 2:hU(this,Jn(n));return;case 5:Vk(this,Jn(n));return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A),!this.A&&(this.A=new _c(hc,this,7)),wi(this.A,u(n,16));return;case 8:fj(this,qe(Ve(n)));return;case 9:!this.a&&(this.a=new Se(T1,this,9,5)),$n(this.a),!this.a&&(this.a=new Se(T1,this,9,5)),wi(this.a,u(n,16));return}da(this,t-Cn((Pt(),Bg)),Dt((i=u(Yt(this,16),29),i||Bg),t),n)},f.ii=function(){return Pt(),Bg},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:yk(this,null),ok(this,this.D);return;case 5:Vk(this,null);return;case 7:!this.A&&(this.A=new _c(hc,this,7)),$n(this.A);return;case 8:fj(this,!0);return;case 9:!this.a&&(this.a=new Se(T1,this,9,5)),$n(this.a);return}fa(this,t-Cn((Pt(),Bg)),Dt((n=u(Yt(this,16),29),n||Bg),t))},f.pi=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t>16==5?u(this.Cb,685):null}return ca(this,t-Cn((Pt(),Ep)),Dt((s=u(Yt(this,16),29),s||Ep),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?sit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,5,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ep)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Ep)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 5:return Hu(this,null,5,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ep)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Ep)),t,i)},f.Wh=function(t){var n;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&&u(this.Cb,685))}return sa(this,t-Cn((Pt(),Ep)),Dt((n=u(Yt(this,16),29),n||Ep),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:wW(this,u(n,17).a);return;case 3:rst(this,u(n,2039));return;case 4:vW(this,Jn(n));return}da(this,t-Cn((Pt(),Ep)),Dt((i=u(Yt(this,16),29),i||Ep),t),n)},f.ii=function(){return Pt(),Ep},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:Xl(this,null);return;case 2:wW(this,0);return;case 3:rst(this,null);return;case 4:vW(this,null);return}fa(this,t-Cn((Pt(),Ep)),Dt((n=u(Yt(this,16),29),n||Ep),t))},f.Ib=function(){var t;return t=this.c,t??this.zb},f.b=null,f.c=null,f.d=0,x(Vt,"EEnumLiteralImpl",582);var ifn=fi(Vt,"EFactoryImpl/InternalEDateTimeFormat");C(499,1,{2114:1},uT),x(Vt,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),C(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},yb),f.Ch=function(t,n,i){var s;return i=Hu(this,t,n,i),this.e&&te(t,179)&&(s=Qj(this,this.e),s!=this.c&&(i=qk(this,s,i))),i},f.Lh=function(t,n,i){var s;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ai(hs,this,1)),this.d;case 2:return n?f$(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?_V(this):this.a}return ca(this,t-Cn((Pt(),Ww)),Dt((s=u(Yt(this,16),29),s||Ww),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return Jtt(this,null,i);case 1:return!this.d&&(this.d=new Ai(hs,this,1)),Vo(this.d,t,i);case 3:return Qtt(this,null,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Ww)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Ww)),t,i)},f.Wh=function(t){var n;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 sa(this,t-Cn((Pt(),Ww)),Dt((n=u(Yt(this,16),29),n||Ww),t))},f.bi=function(t,n){var i;switch(t){case 0:Eit(this,u(n,89));return;case 1:!this.d&&(this.d=new Ai(hs,this,1)),$n(this.d),!this.d&&(this.d=new Ai(hs,this,1)),wi(this.d,u(n,16));return;case 3:Ghe(this,u(n,89));return;case 4:a1e(this,u(n,850));return;case 5:ek(this,u(n,142));return}da(this,t-Cn((Pt(),Ww)),Dt((i=u(Yt(this,16),29),i||Ww),t),n)},f.ii=function(){return Pt(),Ww},f.ki=function(t){var n;switch(t){case 0:Eit(this,null);return;case 1:!this.d&&(this.d=new Ai(hs,this,1)),$n(this.d);return;case 3:Ghe(this,null);return;case 4:a1e(this,null);return;case 5:ek(this,null);return}fa(this,t-Cn((Pt(),Ww)),Dt((n=u(Yt(this,16),29),n||Ww),t))},f.Ib=function(){var t;return t=new Ru(lf(this)),t.a+=" (expression: ",Bq(this,t),t.a+=")",t.a};var Wke;x(Vt,"EGenericTypeImpl",248),C(2067,2062,vD),f.Gi=function(t,n){PGe(this,t,n)},f.Wk=function(t,n){return PGe(this,this.gc(),t),n},f.$i=function(t){return ga(this.pj(),t)},f.Ii=function(){return this.Ji()},f.pj=function(){return new SBe(this)},f.Ji=function(){return this.Ki(0)},f.Ki=function(t){return this.pj().fd(t)},f.Xk=function(t,n){return Km(this,t,!0),n},f.Ti=function(t,n){var i,s;return s=HV(this,n),i=this.fd(t),i.Rb(s),s},f.Ui=function(t,n){var i;Km(this,n,!0),i=this.fd(t),i.Rb(n)},x(ni,"AbstractSequentialInternalEList",2067),C(496,2067,vD,FT),f.$i=function(t){return ga(this.pj(),t)},f.Ii=function(){return this.b==null?(H1(),H1(),IO):this.sl()},f.pj=function(){return new qKe(this.a,this.b)},f.Ji=function(){return this.b==null?(H1(),H1(),IO):this.sl()},f.Ki=function(t){var n,i;if(this.b==null){if(t<0||t>1)throw B(new vs(E9+t+", size=0"));return H1(),H1(),IO}for(i=this.sl(),n=0;n0;)if(n=this.c[--this.d],(!this.e||n.pk()!=r7||n.Lj()!=0)&&(!this.vl()||this.b.Xh(n))){if(d=this.b.Nh(n,this.ul()),this.f=(rs(),u(n,69).xk()),this.f||n.Jk()){if(this.ul()?(s=u(d,15),this.k=s):(s=u(d,71),this.k=this.j=s),te(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?vot(this,this.p):Oot(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),i=t.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(d!=null)return this.k=null,this.p=null,i=d,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),i=t.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},f.Pb=function(){return nj(this)},f.Tb=function(){return this.a},f.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw B(new qs)},f.Vb=function(){return this.a-1},f.Qb=function(){throw B(new Xn)},f.ul=function(){return!1},f.Wb=function(t){throw B(new Xn)},f.vl=function(){return!0},f.a=0,f.d=0,f.f=!1,f.g=0,f.n=0,f.o=0;var IO;x(ni,"EContentsEList/FeatureIteratorImpl",287),C(711,287,yD,tce),f.ul=function(){return!0},x(ni,"EContentsEList/ResolvingFeatureIteratorImpl",711),C(1178,711,yD,pGe),f.vl=function(){return!1},x(Vt,"ENamedElementImpl/1/1",1178),C(1179,287,yD,gGe),f.vl=function(){return!1},x(Vt,"ENamedElementImpl/1/2",1179),C(39,152,uP,Lm,HG,ro,rW,s1,rf,pfe,qXe,gfe,XXe,Rae,YXe,mfe,JXe,Aae,QXe,bfe,ZXe,qC,kI,SG,wfe,eYe,Lae,tYe),f.Kj=function(){return Jae(this)},f.Rj=function(){var t;return t=Jae(this),t?t.ik():null},f.hj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,t)},f.jj=function(){return this.c},f.Sj=function(){var t;return t=Jae(this),t?t.tk():!1},f.b=-1,x(Vt,"ENotificationImpl",39),C(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},cK),f.Ah=function(t){return uit(this,t)},f.Lh=function(t,n,i){var s,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),d=this.t,d>1||d==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new _c(hc,this,11)),this.d;case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new GT(this,this)),this.a;case 14:return uu(this)}return ca(this,t-Cn((Pt(),Tp)),Dt((s=u(Yt(this,16),29),s||Tp),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?uit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,10,i);case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),Yl(this.c,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Tp)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Tp)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 9:return cG(this,i);case 10:return Hu(this,null,10,i);case 11:return!this.d&&(this.d=new _c(hc,this,11)),Vo(this.d,t,i);case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),Vo(this.c,t,i);case 14:return Vo(uu(this),t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Tp)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Tp)),t,i)},f.Wh=function(t){var n,i,s;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 s=this.t,s>1||s==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(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&&uu(this.a.a).i!=0&&!(this.b&&PV(this.b));case 14:return!!this.b&&PV(this.b)}return sa(this,t-Cn((Pt(),Tp)),Dt((n=u(Yt(this,16),29),n||Tp),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:Bm(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 11:!this.d&&(this.d=new _c(hc,this,11)),$n(this.d),!this.d&&(this.d=new _c(hc,this,11)),wi(this.d,u(n,16));return;case 12:!this.c&&(this.c=new Se(Gw,this,12,10)),$n(this.c),!this.c&&(this.c=new Se(Gw,this,12,10)),wi(this.c,u(n,16));return;case 13:!this.a&&(this.a=new GT(this,this)),t9(this.a),!this.a&&(this.a=new GT(this,this)),wi(this.a,u(n,16));return;case 14:$n(uu(this)),wi(uu(this),u(n,16));return}da(this,t-Cn((Pt(),Tp)),Dt((i=u(Yt(this,16),29),i||Tp),t),n)},f.ii=function(){return Pt(),Tp},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:Bm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 11:!this.d&&(this.d=new _c(hc,this,11)),$n(this.d);return;case 12:!this.c&&(this.c=new Se(Gw,this,12,10)),$n(this.c);return;case 13:this.a&&t9(this.a);return;case 14:this.b&&$n(this.b);return}fa(this,t-Cn((Pt(),Tp)),Dt((n=u(Yt(this,16),29),n||Tp),t))},f.pi=function(){var t,n;if(this.c)for(t=0,n=this.c.i;tb&&hi(t,b,null),s=0,i=new hn(uu(this.a));i.e!=i.i.gc();)n=u(mn(i),89),d=(h=n.c,h||(Pt(),Sd)),hi(t,s++,d);return t},f.Hj=function(){var t,n,i,s,c;for(c=new B1,c.a+="[",t=uu(this.a),n=0,s=uu(this.a).i;n1);case 5:return tS(this,t,n,i,s,this.i-u(i,15).gc()>0);default:return new s1(this.e,t,this.c,n,i,s,!0)}},f.Tj=function(){return!0},f.Qj=function(){return PV(this)},f.Gk=function(){$n(this)},x(Vt,"EOperationImpl/2",1377),C(507,1,{2037:1,507:1},_Ke),x(Vt,"EPackageImpl/1",507),C(14,83,Us,Se),f.il=function(){return this.d},f.jl=function(){return this.b},f.ml=function(){return!0},f.b=0,x(ni,"EObjectContainmentWithInverseEList",14),C(365,14,Us,e4),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectContainmentWithInverseEList/Resolving",365),C(308,365,Us,Mm),f.Ni=function(){this.a.tb=null},x(Vt,"EPackageImpl/2",308),C(1278,1,{},pPt),x(Vt,"EPackageImpl/3",1278),C(733,45,i2,rse),f._b=function(t){return lo(t)?EG(this,t):!!ss(this.f,t)},x(Vt,"EPackageRegistryImpl",733),C(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},uK),f.Ah=function(t){return ait(this,t)},f.Lh=function(t,n,i){var s,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),d=this.t,d>1||d==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return ca(this,t-Cn((Pt(),Kv)),Dt((s=u(Yt(this,16),29),s||Kv),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Yl(this.Ab,t,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?ait(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,10,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Kv)),n),69),d.wk().zk(this,lc(this),n-Cn((Pt(),Kv)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 9:return cG(this,i);case 10:return Hu(this,null,10,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Kv)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Kv)),t,i)},f.Wh=function(t){var n,i,s;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 s=this.t,s>1||s==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return sa(this,t-Cn((Pt(),Kv)),Dt((n=u(Yt(this,16),29),n||Kv),t))},f.ii=function(){return Pt(),Kv},x(Vt,"EParameterImpl",518),C(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},sce),f.Lh=function(t,n,i){var s,c,d,h;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),h=this.t,h>1||h==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&dv);case 12:return Gt(),!!(this.Bb&ov);case 13:return this.j;case 14:return Fk(this);case 15:return Gt(),!!(this.Bb&Fc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return _m(this);case 18:return Gt(),!!(this.Bb&wl);case 19:return Gt(),d=is(this),!!(d&&d.Bb&wl);case 20:return Gt(),!!(this.Bb&es);case 21:return n?is(this):this.b;case 22:return n?rde(this):EJe(this);case 23:return!this.a&&(this.a=new Iy(Fv,this,23)),this.a}return ca(this,t-Cn((Pt(),q2)),Dt((s=u(Yt(this,16),29),s||q2),t),n,i)},f.Wh=function(t){var n,i,s,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 i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&dv)!=0;case 12:return(this.Bb&ov)!=0;case 13:return this.j!=null;case 14:return Fk(this)!=null;case 15:return(this.Bb&Fc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!_m(this);case 18:return(this.Bb&wl)!=0;case 19:return s=is(this),!!s&&(s.Bb&wl)!=0;case 20:return(this.Bb&es)==0;case 21:return!!this.b;case 22:return!!EJe(this);case 23:return!!this.a&&this.a.i!=0}return sa(this,t-Cn((Pt(),q2)),Dt((n=u(Yt(this,16),29),n||q2),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:jG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:Bm(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:Sk(this,qe(Ve(n)));return;case 11:Tk(this,qe(Ve(n)));return;case 12:xk(this,qe(Ve(n)));return;case 13:ble(this,Jn(n));return;case 15:Ek(this,qe(Ve(n)));return;case 16:Ik(this,qe(Ve(n)));return;case 18:QBt(this,qe(Ve(n)));return;case 20:jde(this,qe(Ve(n)));return;case 21:Afe(this,u(n,19));return;case 23:!this.a&&(this.a=new Iy(Fv,this,23)),$n(this.a),!this.a&&(this.a=new Iy(Fv,this,23)),wi(this.a,u(n,16));return}da(this,t-Cn((Pt(),q2)),Dt((i=u(Yt(this,16),29),i||q2),t),n)},f.ii=function(){return Pt(),q2},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:te(this.Cb,90)&&Ym(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:Bm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:Sk(this,!0);return;case 11:Tk(this,!1);return;case 12:xk(this,!1);return;case 13:this.i=null,VL(this,null);return;case 15:Ek(this,!1);return;case 16:Ik(this,!1);return;case 18:Lde(this,!1),te(this.Cb,90)&&Ym(cu(u(this.Cb,90)),2);return;case 20:jde(this,!0);return;case 21:Afe(this,null);return;case 23:!this.a&&(this.a=new Iy(Fv,this,23)),$n(this.a);return}fa(this,t-Cn((Pt(),q2)),Dt((n=u(Yt(this,16),29),n||q2),t))},f.pi=function(){rde(this),K5(Cs((Dc(),Oo),this)),Aa(this),this.Bb|=1},f.uk=function(){return is(this)},f._k=function(){var t;return t=is(this),!!t&&(t.Bb&wl)!=0},f.al=function(){return(this.Bb&wl)!=0},f.bl=function(){return(this.Bb&es)!=0},f.Yk=function(t,n){return this.c=null,xde(this,t,n)},f.Ib=function(){var t;return this.Db&64?c$(this):(t=new Pa(c$(this)),t.a+=" (containment: ",F1(t,(this.Bb&wl)!=0),t.a+=", resolveProxies: ",F1(t,(this.Bb&es)!=0),t.a+=")",t.a)},x(Vt,"EReferenceImpl",102),C(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},SRe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.md=function(){return this.c},f.Hb=function(){return jb(this)},f.Di=function(t){rDt(this,Jn(t))},f.nd=function(t){return H$t(this,Jn(t))},f.Lh=function(t,n,i){var s;switch(t){case 0:return this.b;case 1:return this.c}return ca(this,t-Cn((Pt(),ns)),Dt((s=u(Yt(this,16),29),s||ns),t),n,i)},f.Wh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return sa(this,t-Cn((Pt(),ns)),Dt((n=u(Yt(this,16),29),n||ns),t))},f.bi=function(t,n){var i;switch(t){case 0:iDt(this,Jn(n));return;case 1:Ofe(this,Jn(n));return}da(this,t-Cn((Pt(),ns)),Dt((i=u(Yt(this,16),29),i||ns),t),n)},f.ii=function(){return Pt(),ns},f.ki=function(t){var n;switch(t){case 0:Pfe(this,null);return;case 1:Ofe(this,null);return}fa(this,t-Cn((Pt(),ns)),Dt((n=u(Yt(this,16),29),n||ns),t))},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Z1(t)),this.a},f.Ci=function(t){this.a=t},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Pa(lf(this)),t.a+=" (key: ",ps(t,this.b),t.a+=", value: ",ps(t,this.c),t.a+=")",t.a)},f.a=-1,f.b=null,f.c=null;var dl=x(Vt,"EStringToStringMapEntryImpl",561),J4t=fi(ni,"FeatureMap/Entry/Internal");C(576,1,kD),f.xl=function(t){return this.yl(u(t,54))},f.yl=function(t){return this.xl(t)},f.Fb=function(t){var n,i;return this===t?!0:te(t,76)?(n=u(t,76),n.Lk()==this.c?(i=this.md(),i==null?n.md()==null:Rr(i,n.md())):!1):!1},f.Lk=function(){return this.c},f.Hb=function(){var t;return t=this.md(),Vr(this.c)^(t==null?0:Vr(t))},f.Ib=function(){var t,n;return t=this.c,n=$u(t.qk()).yi(),t.xe(),(n!=null&&n.length!=0?n+":"+t.xe():t.xe())+"="+this.md()},x(Vt,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),C(791,576,kD,gce),f.yl=function(t){return new gce(this.c,t)},f.md=function(){return this.a},f.zl=function(t,n,i){return zUt(this,t,this.a,n,i)},f.Al=function(t,n,i){return HUt(this,t,this.a,n,i)},x(Vt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),C(1350,1,{},RKe),f.yk=function(t,n,i,s,c){var d;return d=u(Y5(t,this.b),220),d.Yl(this.a).Fk(s)},f.zk=function(t,n,i,s,c){var d;return d=u(Y5(t,this.b),220),d.Pl(this.a,s,c)},f.Ak=function(t,n,i,s,c){var d;return d=u(Y5(t,this.b),220),d.Ql(this.a,s,c)},f.Bk=function(t,n,i){var s;return s=u(Y5(t,this.b),220),s.Yl(this.a).Qj()},f.Ck=function(t,n,i,s){var c;c=u(Y5(t,this.b),220),c.Yl(this.a).Wb(s)},f.Dk=function(t,n,i){return u(Y5(t,this.b),220).Yl(this.a)},f.Ek=function(t,n,i){var s;s=u(Y5(t,this.b),220),s.Yl(this.a).Gk()},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),C(91,1,{},U1,p0,W1,v0),f.yk=function(t,n,i,s,c){var d;if(d=n.li(i),d==null&&n.mi(i,d=y$(this,t)),!c)switch(this.e){case 50:case 41:return u(d,597).bk();case 40:return u(d,220).Vl()}return d},f.zk=function(t,n,i,s,c){var d,h;return h=n.li(i),h==null&&n.mi(i,h=y$(this,t)),d=u(h,71).Wk(s,c),d},f.Ak=function(t,n,i,s,c){var d;return d=n.li(i),d!=null&&(c=u(d,71).Xk(s,c)),c},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null&&u(s,79).Qj()},f.Ck=function(t,n,i,s){var c;c=u(n.li(i),79),!c&&n.mi(i,c=y$(this,t)),c.Wb(s)},f.Dk=function(t,n,i){var s,c;return c=n.li(i),c==null&&n.mi(i,c=y$(this,t)),te(c,79)?u(c,79):(s=u(n.li(i),15),new kBe(s))},f.Ek=function(t,n,i){var s;s=u(n.li(i),79),!s&&n.mi(i,s=y$(this,t)),s.Gk()},f.b=0,f.e=0,x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),C(512,1,{}),f.zk=function(t,n,i,s,c){throw B(new Xn)},f.Ak=function(t,n,i,s,c){throw B(new Xn)},f.Dk=function(t,n,i){return new Oqe(this,t,n,i)};var zh;x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),C(1367,1,xJ,Oqe),f.Fk=function(t){return this.a.yk(this.c,this.d,this.b,t,!0)},f.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},f.Wb=function(t){this.a.Ck(this.c,this.d,this.b,t)},f.Gk=function(){this.a.Ek(this.c,this.d,this.b)},f.b=0,x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),C(784,512,{},rae),f.yk=function(t,n,i,s,c){return Eq(t,t.Ph(),t.Fh())==this.b?this.bl()&&s?fq(t):t.Ph():null},f.zk=function(t,n,i,s,c){var d,h;return t.Ph()&&(c=(d=t.Fh(),d>=0?t.Ah(c):t.Ph().Th(t,-1-d,null,c))),h=ci(t.Dh(),this.e),t.Ch(s,h,c)},f.Ak=function(t,n,i,s,c){var d;return d=ci(t.Dh(),this.e),t.Ch(null,d,c)},f.Bk=function(t,n,i){var s;return s=ci(t.Dh(),this.e),!!t.Ph()&&t.Fh()==s},f.Ck=function(t,n,i,s){var c,d,h,b,m;if(s!=null&&!Pq(this.a,s))throw B(new w5(CD+(te(s,58)?Uhe(u(s,58).Dh()):afe(Tu(s)))+SD+this.a+"'"));if(c=t.Ph(),h=ci(t.Dh(),this.e),fe(s)!==fe(c)||t.Fh()!=h&&s!=null){if(Rk(t,u(s,58)))throw B(new Qt(S9+t.Ib()));m=null,c&&(m=(d=t.Fh(),d>=0?t.Ah(m):t.Ph().Th(t,-1-d,null,m))),b=u(s,54),b&&(m=b.Rh(t,ci(b.Dh(),this.b),null,m)),m=t.Ch(b,h,m),m&&m.oj()}else t.vh()&&t.wh()&&_r(t,new ro(t,1,h,s,s))},f.Ek=function(t,n,i){var s,c,d,h;s=t.Ph(),s?(h=(c=t.Fh(),c>=0?t.Ah(null):t.Ph().Th(t,-1-c,null,null)),d=ci(t.Dh(),this.e),h=t.Ch(null,d,h),h&&h.oj()):t.vh()&&t.wh()&&_r(t,new qC(t,1,this.e,null,null))},f.bl=function(){return!1},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),C(1351,784,{},yWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),C(574,512,{}),f.yk=function(t,n,i,s,c){var d;return d=n.li(i),d==null?this.b:fe(d)===fe(zh)?null:d},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null&&(fe(s)===fe(zh)||!Rr(s,this.b))},f.Ck=function(t,n,i,s){var c,d;t.vh()&&t.wh()?(c=(d=n.li(i),d==null?this.b:fe(d)===fe(zh)?null:d),s==null?this.c!=null?(n.mi(i,null),s=this.b):this.b!=null?n.mi(i,zh):n.mi(i,null):(this.Bl(s),n.mi(i,s)),_r(t,this.d.Cl(t,1,this.e,c,s))):s==null?this.c!=null?n.mi(i,null):this.b!=null?n.mi(i,zh):n.mi(i,null):(this.Bl(s),n.mi(i,s))},f.Ek=function(t,n,i){var s,c;t.vh()&&t.wh()?(s=(c=n.li(i),c==null?this.b:fe(c)===fe(zh)?null:c),n.ni(i),_r(t,this.d.Cl(t,1,this.e,s,this.b))):n.ni(i)},f.Bl=function(t){throw B(new RBe)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),C(p2,1,{},xRe),f.Cl=function(t,n,i,s,c){return new qC(t,n,i,s,c)},f.Dl=function(t,n,i,s,c,d){return new SG(t,n,i,s,c,d)};var Vke,qke,Xke,Yke,Jke,Qke,Zke,xte,e8e;x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",p2),C(1368,p2,{},ERe),f.Cl=function(t,n,i,s,c){return new Lae(t,n,i,qe(Ve(s)),qe(Ve(c)))},f.Dl=function(t,n,i,s,c,d){return new tYe(t,n,i,qe(Ve(s)),qe(Ve(c)),d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),C(1369,p2,{},TRe),f.Cl=function(t,n,i,s,c){return new pfe(t,n,i,u(s,222).a,u(c,222).a)},f.Dl=function(t,n,i,s,c,d){return new qXe(t,n,i,u(s,222).a,u(c,222).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),C(1370,p2,{},IRe),f.Cl=function(t,n,i,s,c){return new gfe(t,n,i,u(s,180).a,u(c,180).a)},f.Dl=function(t,n,i,s,c,d){return new XXe(t,n,i,u(s,180).a,u(c,180).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),C(1371,p2,{},MRe),f.Cl=function(t,n,i,s,c){return new Rae(t,n,i,le(pe(s)),le(pe(c)))},f.Dl=function(t,n,i,s,c,d){return new YXe(t,n,i,le(pe(s)),le(pe(c)),d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),C(1372,p2,{},PRe),f.Cl=function(t,n,i,s,c){return new mfe(t,n,i,u(s,161).a,u(c,161).a)},f.Dl=function(t,n,i,s,c,d){return new JXe(t,n,i,u(s,161).a,u(c,161).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),C(1373,p2,{},ORe),f.Cl=function(t,n,i,s,c){return new Aae(t,n,i,u(s,17).a,u(c,17).a)},f.Dl=function(t,n,i,s,c,d){return new QXe(t,n,i,u(s,17).a,u(c,17).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),C(1374,p2,{},_Re),f.Cl=function(t,n,i,s,c){return new bfe(t,n,i,u(s,168).a,u(c,168).a)},f.Dl=function(t,n,i,s,c,d){return new ZXe(t,n,i,u(s,168).a,u(c,168).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),C(1375,p2,{},RRe),f.Cl=function(t,n,i,s,c){return new wfe(t,n,i,u(s,191).a,u(c,191).a)},f.Dl=function(t,n,i,s,c,d){return new eYe(t,n,i,u(s,191).a,u(c,191).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),C(1353,574,{},_qe),f.Bl=function(t){if(!this.a.fk(t))throw B(new w5(CD+Tu(t)+SD+this.a+"'"))},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),C(1354,574,{},mVe),f.Bl=function(t){},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),C(785,574,{}),f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null},f.Ck=function(t,n,i,s){var c,d;t.vh()&&t.wh()?(c=!0,d=n.li(i),d==null?(c=!1,d=this.b):fe(d)===fe(zh)&&(d=null),s==null?this.c!=null?(n.mi(i,null),s=this.b):n.mi(i,zh):(this.Bl(s),n.mi(i,s)),_r(t,this.d.Dl(t,1,this.e,d,s,!c))):s==null?this.c!=null?n.mi(i,null):n.mi(i,zh):(this.Bl(s),n.mi(i,s))},f.Ek=function(t,n,i){var s,c;t.vh()&&t.wh()?(s=!0,c=n.li(i),c==null?(s=!1,c=this.b):fe(c)===fe(zh)&&(c=null),n.ni(i),_r(t,this.d.Dl(t,2,this.e,c,this.b,s))):n.ni(i)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),C(1355,785,{},Rqe),f.Bl=function(t){if(!this.a.fk(t))throw B(new w5(CD+Tu(t)+SD+this.a+"'"))},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),C(1356,785,{},vVe),f.Bl=function(t){},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),C(410,512,{},LA),f.yk=function(t,n,i,s,c){var d,h,b,m,v;if(v=n.li(i),this.tk()&&fe(v)===fe(zh))return null;if(this.bl()&&s&&v!=null){if(b=u(v,54),b.Vh()&&(m=sg(t,b),b!=m)){if(!Pq(this.a,m))throw B(new w5(CD+Tu(m)+SD+this.a+"'"));n.mi(i,v=m),this.al()&&(d=u(m,54),h=b.Th(t,this.b?ci(b.Dh(),this.b):-1-ci(t.Dh(),this.e),null,null),!d.Ph()&&(h=d.Rh(t,this.b?ci(d.Dh(),this.b):-1-ci(t.Dh(),this.e),null,h)),h&&h.oj()),t.vh()&&t.wh()&&_r(t,new qC(t,9,this.e,b,m))}return v}else return v},f.zk=function(t,n,i,s,c){var d,h;return h=n.li(i),fe(h)===fe(zh)&&(h=null),n.mi(i,s),this.Mj()?fe(h)!==fe(s)&&h!=null&&(d=u(h,54),c=d.Th(t,ci(d.Dh(),this.b),null,c)):this.al()&&h!=null&&(c=u(h,54).Th(t,-1-ci(t.Dh(),this.e),null,c)),t.vh()&&t.wh()&&(!c&&(c=new Kp(4)),c.nj(new qC(t,1,this.e,h,s))),c},f.Ak=function(t,n,i,s,c){var d;return d=n.li(i),fe(d)===fe(zh)&&(d=null),n.ni(i),t.vh()&&t.wh()&&(!c&&(c=new Kp(4)),this.tk()?c.nj(new qC(t,2,this.e,d,null)):c.nj(new qC(t,1,this.e,d,null))),c},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null},f.Ck=function(t,n,i,s){var c,d,h,b,m;if(s!=null&&!Pq(this.a,s))throw B(new w5(CD+(te(s,58)?Uhe(u(s,58).Dh()):afe(Tu(s)))+SD+this.a+"'"));m=n.li(i),b=m!=null,this.tk()&&fe(m)===fe(zh)&&(m=null),h=null,this.Mj()?fe(m)!==fe(s)&&(m!=null&&(c=u(m,54),h=c.Th(t,ci(c.Dh(),this.b),null,h)),s!=null&&(c=u(s,54),h=c.Rh(t,ci(c.Dh(),this.b),null,h))):this.al()&&fe(m)!==fe(s)&&(m!=null&&(h=u(m,54).Th(t,-1-ci(t.Dh(),this.e),null,h)),s!=null&&(h=u(s,54).Rh(t,-1-ci(t.Dh(),this.e),null,h))),s==null&&this.tk()?n.mi(i,zh):n.mi(i,s),t.vh()&&t.wh()?(d=new SG(t,1,this.e,m,s,this.tk()&&!b),h?(h.nj(d),h.oj()):_r(t,d)):h&&h.oj()},f.Ek=function(t,n,i){var s,c,d,h,b;b=n.li(i),h=b!=null,this.tk()&&fe(b)===fe(zh)&&(b=null),d=null,b!=null&&(this.Mj()?(s=u(b,54),d=s.Th(t,ci(s.Dh(),this.b),null,d)):this.al()&&(d=u(b,54).Th(t,-1-ci(t.Dh(),this.e),null,d))),n.ni(i),t.vh()&&t.wh()?(c=new SG(t,this.tk()?2:1,this.e,b,null,h),d?(d.nj(c),d.oj()):_r(t,c)):d&&d.oj()},f.Mj=function(){return!1},f.al=function(){return!1},f.bl=function(){return!1},f.tk=function(){return!1},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),C(575,410,{},IU),f.al=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),C(1359,575,{},wGe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),C(787,575,{},nce),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),C(1361,787,{},mGe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),C(650,575,{},FU),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),C(1360,650,{},kWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),C(788,650,{},Hce),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),C(1362,788,{},CWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),C(651,410,{},rce),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),C(1363,651,{},vGe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),C(789,651,{},Fce),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),C(1364,789,{},SWe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),C(1357,410,{},yGe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),C(786,410,{},zce),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),C(1358,786,{},xWe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),C(790,576,kD,Nue),f.yl=function(t){return new Nue(this.a,this.c,t)},f.md=function(){return this.b},f.zl=function(t,n,i){return BHt(this,t,this.b,i)},f.Al=function(t,n,i){return FHt(this,t,this.b,i)},x(Vt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),C(1365,1,xJ,kBe),f.Fk=function(t){return this.a},f.Qj=function(){return te(this.a,97)?u(this.a,97).Qj():!this.a.dc()},f.Wb=function(t){this.a.$b(),this.a.Gc(u(t,15))},f.Gk=function(){te(this.a,97)?u(this.a,97).Gk():this.a.$b()},x(Vt,"EStructuralFeatureImpl/SettingMany",1365),C(1366,576,kD,WYe),f.xl=function(t){return new OU((Fr(),Ux),this.b.ri(this.a,t))},f.md=function(){return null},f.zl=function(t,n,i){return i},f.Al=function(t,n,i){return i},x(Vt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),C(652,576,kD,OU),f.xl=function(t){return new OU(this.c,t)},f.md=function(){return this.a},f.zl=function(t,n,i){return i},f.Al=function(t,n,i){return i},x(Vt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),C(403,506,ih,u5),f.aj=function(t){return be(Ua,Bt,29,t,0,1)},f.Yi=function(){return!1},x(Vt,"ESuperAdapter/1",403),C(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},HH),f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new UC(this,hs,this)),this.a}return ca(this,t-Cn((Pt(),Vw)),Dt((s=u(Yt(this,16),29),s||Vw),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(dr,this,0,3)),Vo(this.Ab,t,i);case 2:return!this.a&&(this.a=new UC(this,hs,this)),Vo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Pt(),Vw)),n),69),c.wk().Ak(this,lc(this),n-Cn((Pt(),Vw)),t,i)},f.Wh=function(t){var n;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 sa(this,t-Cn((Pt(),Vw)),Dt((n=u(Yt(this,16),29),n||Vw),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab),!this.Ab&&(this.Ab=new Se(dr,this,0,3)),wi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:!this.a&&(this.a=new UC(this,hs,this)),$n(this.a),!this.a&&(this.a=new UC(this,hs,this)),wi(this.a,u(n,16));return}da(this,t-Cn((Pt(),Vw)),Dt((i=u(Yt(this,16),29),i||Vw),t),n)},f.ii=function(){return Pt(),Vw},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(dr,this,0,3)),$n(this.Ab);return;case 1:Xl(this,null);return;case 2:!this.a&&(this.a=new UC(this,hs,this)),$n(this.a);return}fa(this,t-Cn((Pt(),Vw)),Dt((n=u(Yt(this,16),29),n||Vw),t))},x(Vt,"ETypeParameterImpl",457),C(458,83,Us,UC),f.Nj=function(t,n){return eQt(this,u(t,89),n)},f.Oj=function(t,n){return tQt(this,u(t,89),n)},x(Vt,"ETypeParameterImpl/1",458),C(647,45,i2,aK),f.ec=function(){return new lR(this)},x(Vt,"ETypeParameterImpl/2",647),C(570,ad,Nc,lR),f.Fc=function(t){return WGe(this,u(t,89))},f.Gc=function(t){var n,i,s;for(s=!1,i=t.Kc();i.Ob();)n=u(i.Pb(),89),vr(this.a,n,"")==null&&(s=!0);return s},f.$b=function(){qc(this.a)},f.Hc=function(t){return rc(this.a,t)},f.Kc=function(){var t;return t=new S0(new i0(this.a).a),new cR(t)},f.Mc=function(t){return $Je(this,t)},f.gc=function(){return fC(this.a)},x(Vt,"ETypeParameterImpl/2/1",570),C(571,1,co,cR),f.Nb=function(t){Eo(this,t)},f.Pb=function(){return u(rw(this.a).ld(),89)},f.Ob=function(){return this.a.b},f.Qb=function(){GQe(this.a)},x(Vt,"ETypeParameterImpl/2/1/1",571),C(1329,45,i2,fFe),f._b=function(t){return lo(t)?EG(this,t):!!ss(this.f,t)},f.xc=function(t){var n,i;return n=lo(t)?jl(this,t):_s(ss(this.f,t)),te(n,851)?(i=u(n,851),n=i.Kk(),vr(this,u(t,241),n),n):n??(t==null?(PK(),Z4t):null)},x(Vt,"EValidatorRegistryImpl",1329),C(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},ARe),f.ri=function(t,n){switch(t.hk()){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 n==null?null:Ks(n);case 25:return JKt(n);case 27:return fKt(n);case 28:return dKt(n);case 29:return n==null?null:SUe(Nx[0],u(n,206));case 41:return n==null?"":l0(u(n,297));case 42:return Ks(n);case 50:return Jn(n);default:throw B(new Qt(g8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d,h,b,m,v,k,T,M,O,L,j,z;switch(t.G==-1&&(t.G=(M=$u(t),M?sp(M.vi(),t):-1)),t.G){case 0:return i=new lK,i;case 1:return n=new roe,n;case 2:return s=new loe,s;case 4:return c=new uR,c;case 5:return d=new aFe,d;case 6:return h=new jBe,h;case 7:return b=new coe,b;case 10:return v=new Q_,v;case 11:return k=new cK,k;case 12:return T=new Fqe,T;case 13:return O=new uK,O;case 14:return L=new sce,L;case 17:return j=new SRe,j;case 18:return m=new yb,m;case 19:return z=new HH,z;default:throw B(new Qt(cJ+t.zb+xw))}},f.ti=function(t,n){switch(t.hk()){case 20:return n==null?null:new Mse(n);case 21:return n==null?null:new qp(n);case 23:case 22:return n==null?null:aqt(n);case 26:case 24:return n==null?null:MI(zu(n,-128,127)<<24>>24);case 25:return Ptn(n);case 27:return JXt(n);case 28:return QXt(n);case 29:return kQt(n);case 32:case 31:return n==null?null:qm(n);case 38:case 37:return n==null?null:new Goe(n);case 40:case 39:return n==null?null:Ae(zu(n,jo,Pr));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:h1(v$(n));case 49:case 48:return n==null?null:Ck(zu(n,xD,32767)<<16>>16);case 50:return n;default:throw B(new Qt(g8+t.xe()+xw))}},x(Vt,"EcoreFactoryImpl",1349),C(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},aqe),f.gb=!1,f.hb=!1;var t8e,Q4t=!1;x(Vt,"EcorePackageImpl",560),C(1234,1,{851:1},LRe),f.Kk=function(){return $Ue(),e6t},x(Vt,"EcorePackageImpl/1",1234),C(1243,1,mr,jRe),f.fk=function(t){return te(t,155)},f.gk=function(t){return be(SO,Bt,155,t,0,1)},x(Vt,"EcorePackageImpl/10",1243),C(1244,1,mr,$Re),f.fk=function(t){return te(t,197)},f.gk=function(t){return be(gte,Bt,197,t,0,1)},x(Vt,"EcorePackageImpl/11",1244),C(1245,1,mr,DRe),f.fk=function(t){return te(t,58)},f.gk=function(t){return be($g,Bt,58,t,0,1)},x(Vt,"EcorePackageImpl/12",1245),C(1246,1,mr,NRe),f.fk=function(t){return te(t,411)},f.gk=function(t){return be(Ga,Wwe,62,t,0,1)},x(Vt,"EcorePackageImpl/13",1246),C(1247,1,mr,BRe),f.fk=function(t){return te(t,241)},f.gk=function(t){return be(Uf,Bt,241,t,0,1)},x(Vt,"EcorePackageImpl/14",1247),C(1248,1,mr,FRe),f.fk=function(t){return te(t,518)},f.gk=function(t){return be(Gw,Bt,2116,t,0,1)},x(Vt,"EcorePackageImpl/15",1248),C(1249,1,mr,zRe),f.fk=function(t){return te(t,102)},f.gk=function(t){return be(zv,h2,19,t,0,1)},x(Vt,"EcorePackageImpl/16",1249),C(1250,1,mr,HRe),f.fk=function(t){return te(t,179)},f.gk=function(t){return be(Ec,h2,179,t,0,1)},x(Vt,"EcorePackageImpl/17",1250),C(1251,1,mr,KRe),f.fk=function(t){return te(t,481)},f.gk=function(t){return be(Bv,Bt,481,t,0,1)},x(Vt,"EcorePackageImpl/18",1251),C(1252,1,mr,URe),f.fk=function(t){return te(t,561)},f.gk=function(t){return be(dl,e1t,561,t,0,1)},x(Vt,"EcorePackageImpl/19",1252),C(1235,1,mr,GRe),f.fk=function(t){return te(t,331)},f.gk=function(t){return be(Fv,h2,35,t,0,1)},x(Vt,"EcorePackageImpl/2",1235),C(1253,1,mr,WRe),f.fk=function(t){return te(t,248)},f.gk=function(t){return be(hs,w1t,89,t,0,1)},x(Vt,"EcorePackageImpl/20",1253),C(1254,1,mr,VRe),f.fk=function(t){return te(t,457)},f.gk=function(t){return be(hc,Bt,850,t,0,1)},x(Vt,"EcorePackageImpl/21",1254),C(1255,1,mr,qRe),f.fk=function(t){return ym(t)},f.gk=function(t){return be(Ci,_e,485,t,8,1)},x(Vt,"EcorePackageImpl/22",1255),C(1256,1,mr,XRe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Hc,_e,195,t,0,2)},x(Vt,"EcorePackageImpl/23",1256),C(1257,1,mr,YRe),f.fk=function(t){return te(t,222)},f.gk=function(t){return be(X4,_e,222,t,0,1)},x(Vt,"EcorePackageImpl/24",1257),C(1258,1,mr,JRe),f.fk=function(t){return te(t,180)},f.gk=function(t){return be(j9,_e,180,t,0,1)},x(Vt,"EcorePackageImpl/25",1258),C(1259,1,mr,QRe),f.fk=function(t){return te(t,206)},f.gk=function(t){return be(LD,_e,206,t,0,1)},x(Vt,"EcorePackageImpl/26",1259),C(1260,1,mr,ZRe),f.fk=function(t){return!1},f.gk=function(t){return be(v8e,Bt,2215,t,0,1)},x(Vt,"EcorePackageImpl/27",1260),C(1261,1,mr,eAe),f.fk=function(t){return km(t)},f.gk=function(t){return be(Bi,_e,345,t,7,1)},x(Vt,"EcorePackageImpl/28",1261),C(1262,1,mr,tAe),f.fk=function(t){return te(t,61)},f.gk=function(t){return be(Lke,sv,61,t,0,1)},x(Vt,"EcorePackageImpl/29",1262),C(1236,1,mr,nAe),f.fk=function(t){return te(t,519)},f.gk=function(t){return be(dr,{3:1,4:1,5:1,2033:1},598,t,0,1)},x(Vt,"EcorePackageImpl/3",1236),C(1263,1,mr,rAe),f.fk=function(t){return te(t,582)},f.gk=function(t){return be(Dke,Bt,2039,t,0,1)},x(Vt,"EcorePackageImpl/30",1263),C(1264,1,mr,iAe),f.fk=function(t){return te(t,160)},f.gk=function(t){return be(s8e,sv,160,t,0,1)},x(Vt,"EcorePackageImpl/31",1264),C(1265,1,mr,oAe),f.fk=function(t){return te(t,76)},f.gk=function(t){return be(JB,T1t,76,t,0,1)},x(Vt,"EcorePackageImpl/32",1265),C(1266,1,mr,sAe),f.fk=function(t){return te(t,161)},f.gk=function(t){return be(C8,_e,161,t,0,1)},x(Vt,"EcorePackageImpl/33",1266),C(1267,1,mr,lAe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Po,_e,17,t,0,1)},x(Vt,"EcorePackageImpl/34",1267),C(1268,1,mr,cAe),f.fk=function(t){return te(t,297)},f.gk=function(t){return be(ome,Bt,297,t,0,1)},x(Vt,"EcorePackageImpl/35",1268),C(1269,1,mr,uAe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Vt,"EcorePackageImpl/36",1269),C(1270,1,mr,aAe),f.fk=function(t){return te(t,85)},f.gk=function(t){return be(sme,Bt,85,t,0,1)},x(Vt,"EcorePackageImpl/37",1270),C(1271,1,mr,fAe),f.fk=function(t){return te(t,599)},f.gk=function(t){return be(n8e,Bt,599,t,0,1)},x(Vt,"EcorePackageImpl/38",1271),C(1272,1,mr,dAe),f.fk=function(t){return!1},f.gk=function(t){return be(y8e,Bt,2216,t,0,1)},x(Vt,"EcorePackageImpl/39",1272),C(1237,1,mr,hAe),f.fk=function(t){return te(t,90)},f.gk=function(t){return be(Ua,Bt,29,t,0,1)},x(Vt,"EcorePackageImpl/4",1237),C(1273,1,mr,pAe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Vt,"EcorePackageImpl/40",1273),C(1274,1,mr,gAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Vt,"EcorePackageImpl/41",1274),C(1275,1,mr,bAe),f.fk=function(t){return te(t,596)},f.gk=function(t){return be($ke,Bt,596,t,0,1)},x(Vt,"EcorePackageImpl/42",1275),C(1276,1,mr,wAe),f.fk=function(t){return!1},f.gk=function(t){return be(k8e,_e,2217,t,0,1)},x(Vt,"EcorePackageImpl/43",1276),C(1277,1,mr,mAe),f.fk=function(t){return te(t,44)},f.gk=function(t){return be(U0,C$,44,t,0,1)},x(Vt,"EcorePackageImpl/44",1277),C(1238,1,mr,vAe),f.fk=function(t){return te(t,142)},f.gk=function(t){return be(Gf,Bt,142,t,0,1)},x(Vt,"EcorePackageImpl/5",1238),C(1239,1,mr,yAe),f.fk=function(t){return te(t,156)},f.gk=function(t){return be(kte,Bt,156,t,0,1)},x(Vt,"EcorePackageImpl/6",1239),C(1240,1,mr,kAe),f.fk=function(t){return te(t,469)},f.gk=function(t){return be(YB,Bt,685,t,0,1)},x(Vt,"EcorePackageImpl/7",1240),C(1241,1,mr,CAe),f.fk=function(t){return te(t,582)},f.gk=function(t){return be(T1,Bt,694,t,0,1)},x(Vt,"EcorePackageImpl/8",1241),C(1242,1,mr,SAe),f.fk=function(t){return te(t,480)},f.gk=function(t){return be(Dx,Bt,480,t,0,1)},x(Vt,"EcorePackageImpl/9",1242),C(1038,2080,Zht,RFe),f.Mi=function(t,n){BWt(this,u(n,424))},f.Qi=function(t,n){Mot(this,t,u(n,424))},x(Vt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),C(1039,152,uP,eqe),f.jj=function(){return this.a.a},x(Vt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),C(1067,1066,{},pUe),x("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var n8e=fi(I1t,"Resource");C(799,1524,M1t),f.Hl=function(t){},f.Il=function(t){},f.El=function(){return!this.a&&(this.a=new tK(this)),this.a},f.Fl=function(t){var n,i,s,c,d;if(s=t.length,s>0)if(Zt(0,t.length),t.charCodeAt(0)==47){for(d=new ql(4),c=1,n=1;n0&&(t=(mo(0,i,t.length),t.substr(0,i))));return pen(this,t)},f.Gl=function(){return this.c},f.Ib=function(){var t;return l0(this.Rm)+"@"+(t=Vr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},f.b=!1,x(EJ,"ResourceImpl",799),C(1525,799,M1t,CBe),x(EJ,"BinaryResourceImpl",1525),C(1190,708,vJ),f.bj=function(t){return te(t,58)?oBt(this,u(t,58)):te(t,599)?new hn(u(t,599).El()):fe(t)===fe(this.f)?u(t,16).Kc():(R5(),TO.a)},f.Ob=function(){return N1e(this)},f.a=!1,x(ni,"EcoreUtil/ContentTreeIterator",1190),C(1526,1190,vJ,OVe),f.bj=function(t){return fe(t)===fe(this.f)?u(t,15).Kc():new IYe(u(t,58))},x(EJ,"ResourceImpl/5",1526),C(658,2092,b1t,tK),f.Hc=function(t){return this.i<=4?Lk(this,t):te(t,54)&&u(t,54).Jh()==this.a},f.Mi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},f.Oi=function(t,n){t==0?this.a.b||(this.a.b=!0):eW(this,t,n)},f.Qi=function(t,n){},f.Ri=function(t,n,i){},f.Lj=function(){return 2},f.jj=function(){return this.a},f.Mj=function(){return!0},f.Nj=function(t,n){var i;return i=u(t,54),n=i.fi(this.a,n),n},f.Oj=function(t,n){var i;return i=u(t,54),i.fi(null,n)},f.Pj=function(){return!1},f.Si=function(){return!0},f.aj=function(t){return be($g,Bt,58,t,0,1)},f.Yi=function(){return!1},x(EJ,"ResourceImpl/ContentsEList",658),C(970,2062,Zk,SBe),f.fd=function(t){return this.a.Ki(t)},f.gc=function(){return this.a.gc()},x(ni,"AbstractSequentialInternalEList/1",970);var r8e,i8e,Oo,o8e;C(634,1,{},RWe);var QB,ZB;x(ni,"BasicExtendedMetaData",634),C(1181,1,{},LKe),f.Jl=function(){return null},f.Kl=function(){return this.a==-2&&NPt(this,pQt(this.d,this.b)),this.a},f.Ll=function(){return null},f.Ml=function(){return Ot(),Ot(),Yo},f.xe=function(){return this.c==m8&&BPt(this,Qnt(this.d,this.b)),this.c},f.Nl=function(){return 0},f.a=-2,f.c=m8,x(ni,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),C(1182,1,{},rYe),f.Jl=function(){return this.a==(X5(),QB)&&HPt(this,hin(this.f,this.b)),this.a},f.Kl=function(){return 0},f.Ll=function(){return this.c==(X5(),QB)&&FPt(this,pin(this.f,this.b)),this.c},f.Ml=function(){return!this.d&&UPt(this,Qon(this.f,this.b)),this.d},f.xe=function(){return this.e==m8&&WPt(this,Qnt(this.f,this.b)),this.e},f.Nl=function(){return this.g==-2&&qPt(this,AJt(this.f,this.b)),this.g},f.e=m8,f.g=-2,x(ni,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),C(1180,1,{},jKe),f.b=!1,f.c=!1,x(ni,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),C(1183,1,{},iYe),f.c=-2,f.e=m8,f.f=m8,x(ni,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),C(593,632,Us,xA),f.Lj=function(){return this.c},f.ol=function(){return!1},f.Wi=function(t,n){return n},f.c=0,x(ni,"EDataTypeEList",593);var s8e=fi(ni,"FeatureMap");C(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},mi),f.bd=function(t,n){Rnn(this,t,u(n,76))},f.Fc=function(t){return Ytn(this,u(t,76))},f.Hi=function(t){nNt(this,u(t,76))},f.Nj=function(t,n){return SLt(this,u(t,76),n)},f.Oj=function(t,n){return Oce(this,u(t,76),n)},f.Ti=function(t,n){return ron(this,t,n)},f.Wi=function(t,n){return Uln(this,t,u(n,76))},f.hd=function(t,n){return vrn(this,t,u(n,76))},f.Uj=function(t,n){return xLt(this,u(t,76),n)},f.Vj=function(t,n){return lWe(this,u(t,76),n)},f.Wj=function(t,n,i){return yJt(this,u(t,76),u(n,76),i)},f.Zi=function(t,n){return qV(this,t,u(n,76))},f.Ol=function(t,n){return Ppe(this,t,n)},f.cd=function(t,n){var i,s,c,d,h,b,m,v,k;for(v=new Qb(n.gc()),c=n.Kc();c.Ob();)if(s=u(c.Pb(),76),d=s.Lk(),b1(this.e,d))(!d.Si()||!pL(this,d,s.md())&&!Lk(v,s))&&Dn(v,s);else{for(k=cc(this.e.Dh(),d),i=u(this.g,124),h=!0,b=0;b=0;)if(n=t[this.c],this.k.am(n.Lk()))return this.j=this.f?n:n.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},x(ni,"BasicFeatureMap/FeatureEIterator",420),C(676,420,Eh,fU),f.ul=function(){return!0},x(ni,"BasicFeatureMap/ResolvingFeatureEIterator",676),C(968,496,vD,xUe),f.pj=function(){return this},x(ni,"EContentsEList/1",968),C(969,496,vD,qKe),f.ul=function(){return!1},x(ni,"EContentsEList/2",969),C(967,287,yD,EUe),f.wl=function(t){},f.Ob=function(){return!1},f.Sb=function(){return!1},x(ni,"EContentsEList/FeatureIteratorImpl/1",967),C(840,593,Us,Dle),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EDataTypeEList/Unsettable",840),C(1958,593,Us,RUe),f.Si=function(){return!0},x(ni,"EDataTypeUniqueEList",1958),C(1959,840,Us,AUe),f.Si=function(){return!0},x(ni,"EDataTypeUniqueEList/Unsettable",1959),C(147,83,Us,_c),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectContainmentEList/Resolving",147),C(1184,555,Us,LUe),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectContainmentEList/Unsettable/Resolving",1184),C(766,14,Us,Sce),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectContainmentWithInverseEList/Unsettable",766),C(1222,766,Us,VGe),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),C(757,505,Us,Nle),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectEList/Unsettable",757),C(338,505,Us,Iy),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectResolvingEList",338),C(1844,757,Us,jUe),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectResolvingEList/Unsettable",1844),C(1527,1,{},xAe);var Z4t;x(ni,"EObjectValidator",1527),C(559,505,Us,zA),f.il=function(){return this.d},f.jl=function(){return this.b},f.Mj=function(){return!0},f.ml=function(){return!0},f.b=0,x(ni,"EObjectWithInverseEList",559),C(1225,559,Us,qGe),f.ll=function(){return!0},x(ni,"EObjectWithInverseEList/ManyInverse",1225),C(635,559,Us,RU),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectWithInverseEList/Unsettable",635),C(1224,635,Us,XGe),f.ll=function(){return!0},x(ni,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),C(767,559,Us,xce),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectWithInverseResolvingEList",767),C(32,767,Us,$t),f.ll=function(){return!0},x(ni,"EObjectWithInverseResolvingEList/ManyInverse",32),C(768,635,Us,Ece),f.nl=function(){return!0},f.Wi=function(t,n){return A4(this,t,u(n,58))},x(ni,"EObjectWithInverseResolvingEList/Unsettable",768),C(1223,768,Us,YGe),f.ll=function(){return!0},x(ni,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),C(1185,632,Us),f.Li=function(){return(this.b&1792)==0},f.Ni=function(){this.b|=1},f.kl=function(){return(this.b&4)!=0},f.Mj=function(){return(this.b&40)!=0},f.ll=function(){return(this.b&16)!=0},f.ml=function(){return(this.b&8)!=0},f.nl=function(){return(this.b&dv)!=0},f.al=function(){return(this.b&32)!=0},f.ol=function(){return(this.b&af)!=0},f.fk=function(t){return this.d?$Ye(this.d,t):this.Lk().Hk().fk(t)},f.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},f.Si=function(){return(this.b&128)!=0},f.Gk=function(){var t;$n(this),this.b&2&&(ku(this.e)?(t=(this.b&1)!=0,this.b&=-2,b5(this,new rf(this.e,2,ci(this.e.Dh(),this.Lk()),t,!1))):this.b&=-2)},f.Yi=function(){return(this.b&1536)==0},f.b=0,x(ni,"EcoreEList/Generic",1185),C(1186,1185,Us,Hqe),f.Lk=function(){return this.a},x(ni,"EcoreEList/Dynamic",1186),C(765,66,ih,Boe),f.aj=function(t){return RI(this.a.a,t)},x(ni,"EcoreEMap/1",765),C(764,83,Us,Sue),f.Mi=function(t,n){Aj(this.b,u(n,136))},f.Oi=function(t,n){zet(this.b)},f.Pi=function(t,n,i){var s;++(s=this.b,u(n,136),s).e},f.Qi=function(t,n){rV(this.b,u(n,136))},f.Ri=function(t,n,i){rV(this.b,u(i,136)),fe(i)===fe(n)&&u(i,136).Ci(kRt(u(n,136).ld())),Aj(this.b,u(n,136))},x(ni,"EcoreEMap/DelegateEObjectContainmentEList",764),C(1220,141,Gwe,net),x(ni,"EcoreEMap/Unsettable",1220),C(1221,764,Us,JGe),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;$n(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),C(1189,215,i2,KVe),f.a=!1,f.b=!1,x(ni,"EcoreUtil/Copier",1189),C(759,1,co,IYe),f.Nb=function(t){Eo(this,t)},f.Ob=function(){return Dnt(this)},f.Pb=function(){var t;return Dnt(this),t=this.b,this.b=null,t},f.Qb=function(){this.a.Qb()},x(ni,"EcoreUtil/ProperContentIterator",759),C(1528,1527,{},xje);var e6t;x(ni,"EcoreValidator",1528);var t6t;fi(ni,"FeatureMapUtil/Validator"),C(1295,1,{2041:1},EAe),f.am=function(t){return!0},x(ni,"FeatureMapUtil/1",1295),C(773,1,{2041:1},ige),f.am=function(t){var n;return this.c==t?!0:(n=Ve(pn(this.a,t)),n==null?yin(this,t)?(IJe(this.a,t,(Gt(),k8)),!0):(IJe(this.a,t,(Gt(),kg)),!1):n==(Gt(),k8))},f.e=!1;var Ete;x(ni,"FeatureMapUtil/BasicValidator",773),C(774,45,i2,jle),x(ni,"FeatureMapUtil/BasicValidator/Cache",774),C(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},$T),f.bd=function(t,n){mlt(this.c,this.b,t,n)},f.Fc=function(t){return Ppe(this.c,this.b,t)},f.cd=function(t,n){return zsn(this.c,this.b,t,n)},f.Gc=function(t){return jC(this,t)},f.Gi=function(t,n){$Kt(this.c,this.b,t,n)},f.Wk=function(t,n){return kpe(this.c,this.b,t,n)},f.$i=function(t){return p$(this.c,this.b,t,!1)},f.Ii=function(){return sUe(this.c,this.b)},f.Ji=function(){return cRt(this.c,this.b)},f.Ki=function(t){return zHt(this.c,this.b,t)},f.Xk=function(t,n){return OGe(this,t,n)},f.$b=function(){$3(this)},f.Hc=function(t){return pL(this.c,this.b,t)},f.Ic=function(t){return FUt(this.c,this.b,t)},f.Xb=function(t){return p$(this.c,this.b,t,!0)},f.Fk=function(t){return this},f.dd=function(t){return qzt(this.c,this.b,t)},f.dc=function(){return ZR(this)},f.Qj=function(){return!ZI(this.c,this.b)},f.Kc=function(){return TKt(this.c,this.b)},f.ed=function(){return IKt(this.c,this.b)},f.fd=function(t){return iVt(this.c,this.b,t)},f.Ti=function(t,n){return Act(this.c,this.b,t,n)},f.Ui=function(t,n){UHt(this.c,this.b,t,n)},f.gd=function(t){return fot(this.c,this.b,t)},f.Mc=function(t){return Hin(this.c,this.b,t)},f.hd=function(t,n){return Hct(this.c,this.b,t,n)},f.Wb=function(t){Xj(this.c,this.b),jC(this,u(t,15))},f.gc=function(){return rVt(this.c,this.b)},f.Pc=function(){return YFt(this.c,this.b)},f.Qc=function(t){return Xzt(this.c,this.b,t)},f.Ib=function(){var t,n;for(n=new B1,n.a+="[",t=sUe(this.c,this.b);VW(t);)ps(n,DC(Oj(t))),VW(t)&&(n.a+=qo);return n.a+="]",n.a},f.Gk=function(){Xj(this.c,this.b)},x(ni,"FeatureMapUtil/FeatureEList",509),C(644,39,uP,KG),f.hj=function(t){return xS(this,t)},f.mj=function(t){var n,i,s,c,d,h,b;switch(this.d){case 1:case 2:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0;break}case 3:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return this.d=5,n=new Qb(2),Dn(n,this.g),Dn(n,t.ij()),this.g=n,!0;break}}break}case 5:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return i=u(this.g,16),i.Fc(t.ij()),!0;break}}break}case 4:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return this.d=1,this.g=t.ij(),!0;break}case 4:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return this.d=6,b=new Qb(2),Dn(b,this.n),Dn(b,t.kj()),this.n=b,h=H(F(Bn,1),ur,28,15,[this.o,t.lj()]),this.g=h,!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.c)&&xS(this,null)==t.hj(null))return i=u(this.n,16),i.Fc(t.kj()),h=u(this.g,53),s=be(Bn,ur,28,h.length+1,15,1),Pl(h,0,s,0,h.length),s[h.length]=t.lj(),this.g=s,!0;break}}break}}return!1},x(ni,"FeatureMapUtil/FeatureENotificationImpl",644),C(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},MA),f.Ol=function(t,n){return Ppe(this.c,t,n)},f.Pl=function(t,n,i){return kpe(this.c,t,n,i)},f.Ql=function(t,n,i){return Vpe(this.c,t,n,i)},f.Rl=function(){return this},f.Sl=function(t,n){return PM(this.c,t,n)},f.Tl=function(t){return u(p$(this.c,this.b,t,!1),76).Lk()},f.Ul=function(t){return u(p$(this.c,this.b,t,!1),76).md()},f.Vl=function(){return this.a},f.Wl=function(t){return!ZI(this.c,t)},f.Xl=function(t,n){g$(this.c,t,n)},f.Yl=function(t){return oet(this.c,t)},f.Zl=function(t){Brt(this.c,t)},x(ni,"FeatureMapUtil/FeatureFeatureMap",564),C(1294,1,xJ,AKe),f.Fk=function(t){return p$(this.b,this.a,-1,t)},f.Qj=function(){return!ZI(this.b,this.a)},f.Wb=function(t){g$(this.b,this.a,t)},f.Gk=function(){Xj(this.b,this.a)},x(ni,"FeatureMapUtil/FeatureValue",1294);var m6,Tte,Ite,v6,n6t,MO=fi(MD,"AnyType");C(680,63,w1,mK),x(MD,"InvalidDatatypeValueException",680);var eF=fi(MD,O1t),PO=fi(MD,_1t),l8e=fi(MD,R1t),r6t,ml,c8e,lb,i6t,o6t,s6t,l6t,c6t,u6t,a6t,f6t,d6t,h6t,p6t,X2,g6t,Y2,Hx,b6t,qw,OO,_O,w6t,Kx,Ux;C(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},ise),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.c&&(this.c=new mi(this,0)),this.c):(!this.c&&(this.c=new mi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)):(!this.c&&(this.c=new mi(this,0)),u(u($l(this.c,(Fr(),lb)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new mi(this,2)),this.b):(!this.b&&(this.b=new mi(this,2)),this.b.b)}return ca(this,t-Cn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t),n,i)},f.Uh=function(t,n,i){var s;switch(n){case 0:return!this.c&&(this.c=new mi(this,0)),EM(this.c,t,i);case 1:return(!this.c&&(this.c=new mi(this,0)),u(u($l(this.c,(Fr(),lb)),160),71)).Xk(t,i);case 2:return!this.b&&(this.b=new mi(this,2)),EM(this.b,t,i)}return s=u(Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),n),69),s.wk().Ak(this,lfe(this),n-Cn(this.ii()),t,i)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return sa(this,t-Cn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t))},f.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new mi(this,0)),nI(this.c,n);return;case 1:(!this.c&&(this.c=new mi(this,0)),u(u($l(this.c,(Fr(),lb)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new mi(this,2)),nI(this.b,n);return}da(this,t-Cn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t),n)},f.ii=function(){return Fr(),c8e},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new mi(this,0)),$n(this.c);return;case 1:(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)).$b();return;case 2:!this.b&&(this.b=new mi(this,2)),$n(this.b);return}fa(this,t-Cn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Pa(lf(this)),t.a+=" (mixed: ",_C(t,this.c),t.a+=", anyAttribute: ",_C(t,this.b),t.a+=")",t.a)},x(Ni,"AnyTypeImpl",844),C(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},$Ae),f.Lh=function(t,n,i){switch(t){case 0:return this.a;case 1:return this.b}return ca(this,t-Cn((Fr(),X2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():X2,t),n,i)},f.Wh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return sa(this,t-Cn((Fr(),X2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():X2,t))},f.bi=function(t,n){switch(t){case 0:JPt(this,Jn(n));return;case 1:ZPt(this,Jn(n));return}da(this,t-Cn((Fr(),X2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():X2,t),n)},f.ii=function(){return Fr(),X2},f.ki=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}fa(this,t-Cn((Fr(),X2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():X2,t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Pa(lf(this)),t.a+=" (data: ",ps(t,this.a),t.a+=", target: ",ps(t,this.b),t.a+=")",t.a)},f.a=null,f.b=null,x(Ni,"ProcessingInstructionImpl",681),C(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},dFe),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.c&&(this.c=new mi(this,0)),this.c):(!this.c&&(this.c=new mi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)):(!this.c&&(this.c=new mi(this,0)),u(u($l(this.c,(Fr(),lb)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new mi(this,2)),this.b):(!this.b&&(this.b=new mi(this,2)),this.b.b);case 3:return!this.c&&(this.c=new mi(this,0)),Jn(PM(this.c,(Fr(),Hx),!0));case 4:return Ice(this.a,(!this.c&&(this.c=new mi(this,0)),Jn(PM(this.c,(Fr(),Hx),!0))));case 5:return this.a}return ca(this,t-Cn((Fr(),Y2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():Y2,t),n,i)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new mi(this,0)),Jn(PM(this.c,(Fr(),Hx),!0))!=null;case 4:return Ice(this.a,(!this.c&&(this.c=new mi(this,0)),Jn(PM(this.c,(Fr(),Hx),!0))))!=null;case 5:return!!this.a}return sa(this,t-Cn((Fr(),Y2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():Y2,t))},f.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new mi(this,0)),nI(this.c,n);return;case 1:(!this.c&&(this.c=new mi(this,0)),u(u($l(this.c,(Fr(),lb)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new mi(this,2)),nI(this.b,n);return;case 3:gae(this,Jn(n));return;case 4:gae(this,Tce(this.a,n));return;case 5:QPt(this,u(n,156));return}da(this,t-Cn((Fr(),Y2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():Y2,t),n)},f.ii=function(){return Fr(),Y2},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new mi(this,0)),$n(this.c);return;case 1:(!this.c&&(this.c=new mi(this,0)),u($l(this.c,(Fr(),lb)),160)).$b();return;case 2:!this.b&&(this.b=new mi(this,2)),$n(this.b);return;case 3:!this.c&&(this.c=new mi(this,0)),g$(this.c,(Fr(),Hx),null);return;case 4:gae(this,Tce(this.a,null));return;case 5:this.a=null;return}fa(this,t-Cn((Fr(),Y2)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():Y2,t))},x(Ni,"SimpleAnyTypeImpl",682),C(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},hFe),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.a&&(this.a=new mi(this,0)),this.a):(!this.a&&(this.a=new mi(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new jc((Pt(),ns),dl,this,1)),this.b):(!this.b&&(this.b=new jc((Pt(),ns),dl,this,1)),yI(this.b));case 2:return i?(!this.c&&(this.c=new jc((Pt(),ns),dl,this,2)),this.c):(!this.c&&(this.c=new jc((Pt(),ns),dl,this,2)),yI(this.c));case 3:return!this.a&&(this.a=new mi(this,0)),$l(this.a,(Fr(),OO));case 4:return!this.a&&(this.a=new mi(this,0)),$l(this.a,(Fr(),_O));case 5:return!this.a&&(this.a=new mi(this,0)),$l(this.a,(Fr(),Kx));case 6:return!this.a&&(this.a=new mi(this,0)),$l(this.a,(Fr(),Ux))}return ca(this,t-Cn((Fr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t),n,i)},f.Uh=function(t,n,i){var s;switch(n){case 0:return!this.a&&(this.a=new mi(this,0)),EM(this.a,t,i);case 1:return!this.b&&(this.b=new jc((Pt(),ns),dl,this,1)),wA(this.b,t,i);case 2:return!this.c&&(this.c=new jc((Pt(),ns),dl,this,2)),wA(this.c,t,i);case 5:return!this.a&&(this.a=new mi(this,0)),OGe($l(this.a,(Fr(),Kx)),t,i)}return s=u(Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():(Fr(),qw),n),69),s.wk().Ak(this,lfe(this),n-Cn((Fr(),qw)),t,i)},f.Wh=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 mi(this,0)),!ZR($l(this.a,(Fr(),OO)));case 4:return!this.a&&(this.a=new mi(this,0)),!ZR($l(this.a,(Fr(),_O)));case 5:return!this.a&&(this.a=new mi(this,0)),!ZR($l(this.a,(Fr(),Kx)));case 6:return!this.a&&(this.a=new mi(this,0)),!ZR($l(this.a,(Fr(),Ux)))}return sa(this,t-Cn((Fr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t))},f.bi=function(t,n){switch(t){case 0:!this.a&&(this.a=new mi(this,0)),nI(this.a,n);return;case 1:!this.b&&(this.b=new jc((Pt(),ns),dl,this,1)),ZL(this.b,n);return;case 2:!this.c&&(this.c=new jc((Pt(),ns),dl,this,2)),ZL(this.c,n);return;case 3:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),OO))),!this.a&&(this.a=new mi(this,0)),jC($l(this.a,OO),u(n,16));return;case 4:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),_O))),!this.a&&(this.a=new mi(this,0)),jC($l(this.a,_O),u(n,16));return;case 5:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),Kx))),!this.a&&(this.a=new mi(this,0)),jC($l(this.a,Kx),u(n,16));return;case 6:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),Ux))),!this.a&&(this.a=new mi(this,0)),jC($l(this.a,Ux),u(n,16));return}da(this,t-Cn((Fr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t),n)},f.ii=function(){return Fr(),qw},f.ki=function(t){switch(t){case 0:!this.a&&(this.a=new mi(this,0)),$n(this.a);return;case 1:!this.b&&(this.b=new jc((Pt(),ns),dl,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new jc((Pt(),ns),dl,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),OO)));return;case 4:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),_O)));return;case 5:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),Kx)));return;case 6:!this.a&&(this.a=new mi(this,0)),$3($l(this.a,(Fr(),Ux)));return}fa(this,t-Cn((Fr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Pa(lf(this)),t.a+=" (mixed: ",_C(t,this.a),t.a+=")",t.a)},x(Ni,"XMLTypeDocumentRootImpl",683),C(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},TAe),f.ri=function(t,n){switch(t.hk()){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 n==null?null:Ks(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Jn(n);case 6:return LAt(u(n,195));case 12:case 47:case 49:case 11:return Put(this,t,n);case 13:return n==null?null:Usn(u(n,247));case 15:case 14:return n==null?null:YDt(le(pe(n)));case 17:return Tit((Fr(),n));case 18:return Tit(n);case 21:case 20:return n==null?null:JDt(u(n,161).a);case 27:return jAt(u(n,195));case 30:return Frt((Fr(),u(n,15)));case 31:return Frt(u(n,15));case 40:return DAt((Fr(),n));case 42:return Iit((Fr(),n));case 43:return Iit(n);case 59:case 48:return $At((Fr(),n));default:throw B(new Qt(g8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d;switch(t.G==-1&&(t.G=(i=$u(t),i?sp(i.vi(),t):-1)),t.G){case 0:return n=new ise,n;case 1:return s=new $Ae,s;case 2:return c=new dFe,c;case 3:return d=new hFe,d;default:throw B(new Qt(cJ+t.zb+xw))}},f.ti=function(t,n){var i,s,c,d,h,b,m,v,k,T,M,O,L,j,z,Y;switch(t.hk()){case 5:case 52:case 4:return n;case 6:return Kqt(n);case 8:case 7:return n==null?null:PJt(n);case 9:return n==null?null:MI(zu((s=Nl(n,!0),s.length>0&&(Zt(0,s.length),s.charCodeAt(0)==43)?(Zt(1,s.length+1),s.substr(1)):s),-128,127)<<24>>24);case 10:return n==null?null:MI(zu((c=Nl(n,!0),c.length>0&&(Zt(0,c.length),c.charCodeAt(0)==43)?(Zt(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Jn(bw(this,(Fr(),s6t),n));case 12:return Jn(bw(this,(Fr(),l6t),n));case 13:return n==null?null:new Mse(Nl(n,!0));case 15:case 14:return Qtn(n);case 16:return Jn(bw(this,(Fr(),c6t),n));case 17:return Hnt((Fr(),n));case 18:return Hnt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Nl(n,!0);case 21:case 20:return cnn(n);case 22:return Jn(bw(this,(Fr(),u6t),n));case 23:return Jn(bw(this,(Fr(),a6t),n));case 24:return Jn(bw(this,(Fr(),f6t),n));case 25:return Jn(bw(this,(Fr(),d6t),n));case 26:return Jn(bw(this,(Fr(),h6t),n));case 27:return _qt(n);case 30:return Knt((Fr(),n));case 31:return Knt(n);case 32:return n==null?null:Ae(zu((k=Nl(n,!0),k.length>0&&(Zt(0,k.length),k.charCodeAt(0)==43)?(Zt(1,k.length+1),k.substr(1)):k),jo,Pr));case 33:return n==null?null:new qp((T=Nl(n,!0),T.length>0&&(Zt(0,T.length),T.charCodeAt(0)==43)?(Zt(1,T.length+1),T.substr(1)):T));case 34:return n==null?null:Ae(zu((M=Nl(n,!0),M.length>0&&(Zt(0,M.length),M.charCodeAt(0)==43)?(Zt(1,M.length+1),M.substr(1)):M),jo,Pr));case 36:return n==null?null:h1(v$((O=Nl(n,!0),O.length>0&&(Zt(0,O.length),O.charCodeAt(0)==43)?(Zt(1,O.length+1),O.substr(1)):O)));case 37:return n==null?null:h1(v$((L=Nl(n,!0),L.length>0&&(Zt(0,L.length),L.charCodeAt(0)==43)?(Zt(1,L.length+1),L.substr(1)):L)));case 40:return MXt((Fr(),n));case 42:return Unt((Fr(),n));case 43:return Unt(n);case 44:return n==null?null:new qp((j=Nl(n,!0),j.length>0&&(Zt(0,j.length),j.charCodeAt(0)==43)?(Zt(1,j.length+1),j.substr(1)):j));case 45:return n==null?null:new qp((z=Nl(n,!0),z.length>0&&(Zt(0,z.length),z.charCodeAt(0)==43)?(Zt(1,z.length+1),z.substr(1)):z));case 46:return Nl(n,!1);case 47:return Jn(bw(this,(Fr(),p6t),n));case 59:case 48:return IXt((Fr(),n));case 49:return Jn(bw(this,(Fr(),g6t),n));case 50:return n==null?null:Ck(zu((Y=Nl(n,!0),Y.length>0&&(Zt(0,Y.length),Y.charCodeAt(0)==43)?(Zt(1,Y.length+1),Y.substr(1)):Y),xD,32767)<<16>>16);case 51:return n==null?null:Ck(zu((d=Nl(n,!0),d.length>0&&(Zt(0,d.length),d.charCodeAt(0)==43)?(Zt(1,d.length+1),d.substr(1)):d),xD,32767)<<16>>16);case 53:return Jn(bw(this,(Fr(),b6t),n));case 55:return n==null?null:Ck(zu((h=Nl(n,!0),h.length>0&&(Zt(0,h.length),h.charCodeAt(0)==43)?(Zt(1,h.length+1),h.substr(1)):h),xD,32767)<<16>>16);case 56:return n==null?null:Ck(zu((b=Nl(n,!0),b.length>0&&(Zt(0,b.length),b.charCodeAt(0)==43)?(Zt(1,b.length+1),b.substr(1)):b),xD,32767)<<16>>16);case 57:return n==null?null:h1(v$((m=Nl(n,!0),m.length>0&&(Zt(0,m.length),m.charCodeAt(0)==43)?(Zt(1,m.length+1),m.substr(1)):m)));case 58:return n==null?null:h1(v$((v=Nl(n,!0),v.length>0&&(Zt(0,v.length),v.charCodeAt(0)==43)?(Zt(1,v.length+1),v.substr(1)):v)));case 60:return n==null?null:Ae(zu((i=Nl(n,!0),i.length>0&&(Zt(0,i.length),i.charCodeAt(0)==43)?(Zt(1,i.length+1),i.substr(1)):i),jo,Pr));case 61:return n==null?null:Ae(zu(Nl(n,!0),jo,Pr));default:throw B(new Qt(g8+t.xe()+xw))}};var m6t,u8e,v6t,a8e;x(Ni,"XMLTypeFactoryImpl",2028),C(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},fqe),f.N=!1,f.O=!1;var y6t=!1;x(Ni,"XMLTypePackageImpl",594),C(1961,1,{851:1},IAe),f.Kk=function(){return Npe(),P6t},x(Ni,"XMLTypePackageImpl/1",1961),C(1970,1,mr,MAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/10",1970),C(1971,1,mr,PAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/11",1971),C(1972,1,mr,OAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/12",1972),C(1973,1,mr,_Ae),f.fk=function(t){return km(t)},f.gk=function(t){return be(Bi,_e,345,t,7,1)},x(Ni,"XMLTypePackageImpl/13",1973),C(1974,1,mr,RAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/14",1974),C(1975,1,mr,AAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/15",1975),C(1976,1,mr,LAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/16",1976),C(1977,1,mr,jAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/17",1977),C(1978,1,mr,DAe),f.fk=function(t){return te(t,161)},f.gk=function(t){return be(C8,_e,161,t,0,1)},x(Ni,"XMLTypePackageImpl/18",1978),C(1979,1,mr,NAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/19",1979),C(1962,1,mr,BAe),f.fk=function(t){return te(t,857)},f.gk=function(t){return be(MO,Bt,857,t,0,1)},x(Ni,"XMLTypePackageImpl/2",1962),C(1980,1,mr,FAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/20",1980),C(1981,1,mr,zAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/21",1981),C(1982,1,mr,HAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/22",1982),C(1983,1,mr,KAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/23",1983),C(1984,1,mr,UAe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Hc,_e,195,t,0,2)},x(Ni,"XMLTypePackageImpl/24",1984),C(1985,1,mr,GAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/25",1985),C(1986,1,mr,WAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/26",1986),C(1987,1,mr,VAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/27",1987),C(1988,1,mr,qAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/28",1988),C(1989,1,mr,XAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/29",1989),C(1963,1,mr,YAe),f.fk=function(t){return te(t,681)},f.gk=function(t){return be(eF,Bt,2119,t,0,1)},x(Ni,"XMLTypePackageImpl/3",1963),C(1990,1,mr,JAe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Po,_e,17,t,0,1)},x(Ni,"XMLTypePackageImpl/30",1990),C(1991,1,mr,QAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/31",1991),C(1992,1,mr,ZAe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Ni,"XMLTypePackageImpl/32",1992),C(1993,1,mr,eLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/33",1993),C(1994,1,mr,tLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/34",1994),C(1995,1,mr,nLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/35",1995),C(1996,1,mr,rLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/36",1996),C(1997,1,mr,iLe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/37",1997),C(1998,1,mr,oLe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,sv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/38",1998),C(1999,1,mr,sLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/39",1999),C(1964,1,mr,lLe),f.fk=function(t){return te(t,682)},f.gk=function(t){return be(PO,Bt,2120,t,0,1)},x(Ni,"XMLTypePackageImpl/4",1964),C(2e3,1,mr,cLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/40",2e3),C(2001,1,mr,uLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/41",2001),C(2002,1,mr,aLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/42",2002),C(2003,1,mr,fLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/43",2003),C(2004,1,mr,dLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/44",2004),C(2005,1,mr,hLe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Ni,"XMLTypePackageImpl/45",2005),C(2006,1,mr,pLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/46",2006),C(2007,1,mr,gLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/47",2007),C(2008,1,mr,bLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/48",2008),C(2009,1,mr,wLe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Ni,"XMLTypePackageImpl/49",2009),C(1965,1,mr,mLe),f.fk=function(t){return te(t,683)},f.gk=function(t){return be(l8e,Bt,2121,t,0,1)},x(Ni,"XMLTypePackageImpl/5",1965),C(2010,1,mr,vLe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Ni,"XMLTypePackageImpl/50",2010),C(2011,1,mr,yLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/51",2011),C(2012,1,mr,kLe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Po,_e,17,t,0,1)},x(Ni,"XMLTypePackageImpl/52",2012),C(1966,1,mr,CLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/6",1966),C(1967,1,mr,SLe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Hc,_e,195,t,0,2)},x(Ni,"XMLTypePackageImpl/7",1967),C(1968,1,mr,xLe),f.fk=function(t){return ym(t)},f.gk=function(t){return be(Ci,_e,485,t,8,1)},x(Ni,"XMLTypePackageImpl/8",1968),C(1969,1,mr,ELe),f.fk=function(t){return te(t,222)},f.gk=function(t){return be(X4,_e,222,t,0,1)},x(Ni,"XMLTypePackageImpl/9",1969);var xd,Mp,Gx,tF,W;C(55,63,w1,er),x(pp,"RegEx/ParseException",55),C(836,1,{},ooe),f.bm=function(t){return ti*16)throw B(new er(rr((Yn(),Kht))));i=i*16+c}while(!0);if(this.a!=125)throw B(new er(rr((Yn(),Uht))));if(i>v8)throw B(new er(rr((Yn(),Ght))));t=i}else{if(c=0,this.c!=0||(c=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(i=c,Er(this),this.c!=0||(c=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));i=i*16+c,t=i}break;case 117:if(s=0,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));n=n*16+s,t=n;break;case 118:if(Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=P0(this.a))<0)throw B(new er(rr((Yn(),hp))));if(n=n*16+s,n>v8)throw B(new er(rr((Yn(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw B(new er(rr((Yn(),Wht))))}return t},f.dm=function(t){var n,i;switch(t){case 100:i=(this.e&32)==32?hg("Nd",!0):(Ir(),nF);break;case 68:i=(this.e&32)==32?hg("Nd",!1):(Ir(),b8e);break;case 119:i=(this.e&32)==32?hg("IsWord",!0):(Ir(),s7);break;case 87:i=(this.e&32)==32?hg("IsWord",!1):(Ir(),m8e);break;case 115:i=(this.e&32)==32?hg("IsSpace",!0):(Ir(),y6);break;case 83:i=(this.e&32)==32?hg("IsSpace",!1):(Ir(),w8e);break;default:throw B(new Xs((n=t,W1t+n.toString(16))))}return i},f.em=function(t){var n,i,s,c,d,h,b,m,v,k,T,M;for(this.b=1,Er(this),n=null,this.c==0&&this.a==94?(Er(this),t?k=(Ir(),Ir(),new ju(5)):(n=(Ir(),Ir(),new ju(4)),Dl(n,0,v8),k=new ju(4))):k=(Ir(),Ir(),new ju(4)),c=!0;(M=this.c)!=1&&!(M==0&&this.a==93&&!c);){if(c=!1,i=this.a,s=!1,M==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:nv(k,this.dm(i)),s=!0;break;case 105:case 73:case 99:case 67:i=this.um(k,i),i<0&&(s=!0);break;case 112:case 80:if(T=$1e(this,i),!T)throw B(new er(rr((Yn(),kJ))));nv(k,T),s=!0;break;default:i=this.cm()}else if(M==20){if(h=P5(this.i,58,this.d),h<0)throw B(new er(rr((Yn(),Bwe))));if(b=!0,Ao(this.i,this.d)==94&&(++this.d,b=!1),d=oa(this.i,this.d,h),m=bQe(d,b,(this.e&512)==512),!m)throw B(new er(rr((Yn(),Nht))));if(nv(k,m),s=!0,h+1>=this.j||Ao(this.i,h+1)!=93)throw B(new er(rr((Yn(),Bwe))));this.d=h+2}if(Er(this),!s)if(this.c!=0||this.a!=45)Dl(k,i,i);else{if(Er(this),(M=this.c)==1)throw B(new er(rr((Yn(),wD))));M==0&&this.a==93?(Dl(k,i,i),Dl(k,45,45)):(v=this.a,M==10&&(v=this.cm()),Er(this),Dl(k,i,v))}(this.e&af)==af&&this.c==0&&this.a==44&&Er(this)}if(this.c==1)throw B(new er(rr((Yn(),wD))));return n&&(n9(n,k),k=n),Xy(k),e9(k),this.b=0,Er(this),k},f.fm=function(){var t,n,i,s;for(i=this.em(!1);(s=this.c)!=7;)if(t=this.a,s==0&&(t==45||t==38)||s==4){if(Er(this),this.c!=9)throw B(new er(rr((Yn(),Fht))));if(n=this.em(!1),s==4)nv(i,n);else if(t==45)n9(i,n);else if(t==38)Eut(i,n);else throw B(new Xs("ASSERT"))}else throw B(new er(rr((Yn(),zht))));return Er(this),i},f.gm=function(){var t,n;return t=this.a-48,n=(Ir(),Ir(),new MG(12,null,t)),!this.g&&(this.g=new fR),aR(this.g,new Foe(t)),Er(this),n},f.hm=function(){return Er(this),Ir(),S6t},f.im=function(){return Er(this),Ir(),C6t},f.jm=function(){throw B(new er(rr((Yn(),va))))},f.km=function(){throw B(new er(rr((Yn(),va))))},f.lm=function(){return Er(this),WGt()},f.mm=function(){return Er(this),Ir(),E6t},f.nm=function(){return Er(this),Ir(),I6t},f.om=function(){var t;if(this.d>=this.j||((t=Ao(this.i,this.d++))&65504)!=64)throw B(new er(rr((Yn(),jht))));return Er(this),Ir(),Ir(),new wh(0,t-64)},f.pm=function(){return Er(this),Xon()},f.qm=function(){return Er(this),Ir(),M6t},f.rm=function(){var t;return t=(Ir(),Ir(),new wh(0,105)),Er(this),t},f.sm=function(){return Er(this),Ir(),T6t},f.tm=function(){return Er(this),Ir(),x6t},f.um=function(t,n){return this.cm()},f.vm=function(){return Er(this),Ir(),p8e},f.wm=function(){var t,n,i,s,c;if(this.d+1>=this.j)throw B(new er(rr((Yn(),Rht))));if(s=-1,n=null,t=Ao(this.i,this.d),49<=t&&t<=57){if(s=t-48,!this.g&&(this.g=new fR),aR(this.g,new Foe(s)),++this.d,Ao(this.i,this.d)!=41)throw B(new er(rr((Yn(),H0))));++this.d}else switch(t==63&&--this.d,Er(this),n=uge(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw B(new er(rr((Yn(),H0))));break;default:throw B(new er(rr((Yn(),Aht))))}if(Er(this),c=cw(this),i=null,c.e==2){if(c.Pm()!=2)throw B(new er(rr((Yn(),Lht))));i=c.Lm(1),c=c.Lm(0)}if(this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),Ir(),Ir(),new JQe(s,n,c,i)},f.xm=function(){return Er(this),Ir(),g8e},f.ym=function(){var t;if(Er(this),t=HA(24,cw(this)),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.zm=function(){var t;if(Er(this),t=HA(20,cw(this)),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Am=function(){var t;if(Er(this),t=HA(22,cw(this)),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Bm=function(){var t,n,i,s,c;for(t=0,i=0,n=-1;this.d=this.j)throw B(new er(rr((Yn(),Dwe))));if(n==45){for(++this.d;this.d=this.j)throw B(new er(rr((Yn(),Dwe))))}if(n==58){if(++this.d,Er(this),s=WVe(cw(this),t,i),this.c!=7)throw B(new er(rr((Yn(),H0))));Er(this)}else if(n==41)++this.d,Er(this),s=WVe(cw(this),t,i);else throw B(new er(rr((Yn(),_ht))));return s},f.Cm=function(){var t;if(Er(this),t=HA(21,cw(this)),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Dm=function(){var t;if(Er(this),t=HA(23,cw(this)),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Em=function(){var t,n;if(Er(this),t=this.f++,n=nG(cw(this),t),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),n},f.Fm=function(){var t;if(Er(this),t=nG(cw(this),0),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Gm=function(t){return Er(this),this.c==5?(Er(this),AA(t,(Ir(),Ir(),new Am(9,t)))):AA(t,(Ir(),Ir(),new Am(3,t)))},f.Hm=function(t){var n;return Er(this),n=(Ir(),Ir(),new LC(2)),this.c==5?(Er(this),R0(n,Vx),R0(n,t)):(R0(n,t),R0(n,Vx)),n},f.Im=function(t){return Er(this),this.c==5?(Er(this),Ir(),Ir(),new Am(9,t)):(Ir(),Ir(),new Am(3,t))},f.a=0,f.b=0,f.c=0,f.d=0,f.e=0,f.f=1,f.g=null,f.j=0,x(pp,"RegEx/RegexParser",836),C(1947,836,{},pFe),f.bm=function(t){return!1},f.cm=function(){return wpe(this)},f.dm=function(t){return Uk(t)},f.em=function(t){return yat(this)},f.fm=function(){throw B(new er(rr((Yn(),va))))},f.gm=function(){throw B(new er(rr((Yn(),va))))},f.hm=function(){throw B(new er(rr((Yn(),va))))},f.im=function(){throw B(new er(rr((Yn(),va))))},f.jm=function(){return Er(this),Uk(67)},f.km=function(){return Er(this),Uk(73)},f.lm=function(){throw B(new er(rr((Yn(),va))))},f.mm=function(){throw B(new er(rr((Yn(),va))))},f.nm=function(){throw B(new er(rr((Yn(),va))))},f.om=function(){return Er(this),Uk(99)},f.pm=function(){throw B(new er(rr((Yn(),va))))},f.qm=function(){throw B(new er(rr((Yn(),va))))},f.rm=function(){return Er(this),Uk(105)},f.sm=function(){throw B(new er(rr((Yn(),va))))},f.tm=function(){throw B(new er(rr((Yn(),va))))},f.um=function(t,n){return nv(t,Uk(n)),-1},f.vm=function(){return Er(this),Ir(),Ir(),new wh(0,94)},f.wm=function(){throw B(new er(rr((Yn(),va))))},f.xm=function(){return Er(this),Ir(),Ir(),new wh(0,36)},f.ym=function(){throw B(new er(rr((Yn(),va))))},f.zm=function(){throw B(new er(rr((Yn(),va))))},f.Am=function(){throw B(new er(rr((Yn(),va))))},f.Bm=function(){throw B(new er(rr((Yn(),va))))},f.Cm=function(){throw B(new er(rr((Yn(),va))))},f.Dm=function(){throw B(new er(rr((Yn(),va))))},f.Em=function(){var t;if(Er(this),t=nG(cw(this),0),this.c!=7)throw B(new er(rr((Yn(),H0))));return Er(this),t},f.Fm=function(){throw B(new er(rr((Yn(),va))))},f.Gm=function(t){return Er(this),AA(t,(Ir(),Ir(),new Am(3,t)))},f.Hm=function(t){var n;return Er(this),n=(Ir(),Ir(),new LC(2)),R0(n,t),R0(n,Vx),n},f.Im=function(t){return Er(this),Ir(),Ir(),new Am(3,t)};var J2=null,i7=null;x(pp,"RegEx/ParserForXMLSchema",1947),C(122,1,y8,vb),f.Jm=function(t){throw B(new Xs("Not supported."))},f.Km=function(){return-1},f.Lm=function(t){return null},f.Mm=function(){return null},f.Nm=function(t){},f.Om=function(t){},f.Pm=function(){return 0},f.Ib=function(){return this.Qm(0)},f.Qm=function(t){return this.e==11?".":""},f.e=0;var f8e,o7,Wx,k6t,d8e,Uv=null,nF,Mte=null,h8e,Vx,Pte=null,p8e,g8e,b8e,w8e,m8e,C6t,y6,S6t,x6t,E6t,T6t,s7,I6t,M6t,ofn=x(pp,"RegEx/Token",122);C(138,122,{3:1,138:1,122:1},ju),f.Qm=function(t){var n,i,s;if(this.e==4)if(this==h8e)i=".";else if(this==nF)i="\\d";else if(this==s7)i="\\w";else if(this==y6)i="\\s";else{for(s=new B1,s.a+="[",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?ps(s,MM(this.b[n])):(ps(s,MM(this.b[n])),s.a+="-",ps(s,MM(this.b[n+1])));s.a+="]",i=s.a}else if(this==b8e)i="\\D";else if(this==m8e)i="\\W";else if(this==w8e)i="\\S";else{for(s=new B1,s.a+="[^",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?ps(s,MM(this.b[n])):(ps(s,MM(this.b[n])),s.a+="-",ps(s,MM(this.b[n+1])));s.a+="]",i=s.a}return i},f.a=!1,f.c=!1,x(pp,"RegEx/RangeToken",138),C(592,1,{592:1},Foe),f.a=0,x(pp,"RegEx/RegexParser/ReferencePosition",592),C(591,1,{3:1,591:1},Pze),f.Fb=function(t){var n;return t==null||!te(t,591)?!1:(n=u(t,591),Et(this.b,n.b)&&this.a==n.a)},f.Hb=function(){return Z1(this.b+"/"+ape(this.a))},f.Ib=function(){return this.c.Qm(this.a)},f.a=0,x(pp,"RegEx/RegularExpression",591),C(228,122,y8,wh),f.Km=function(){return this.a},f.Qm=function(t){var n,i,s;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:s="\\"+_U(this.a&Di);break;case 12:s="\\f";break;case 10:s="\\n";break;case 13:s="\\r";break;case 9:s="\\t";break;case 27:s="\\e";break;default:this.a>=es?(i=(n=this.a>>>0,"0"+n.toString(16)),s="\\v"+oa(i,i.length-6,i.length)):s=""+_U(this.a&Di)}break;case 8:this==p8e||this==g8e?s=""+_U(this.a&Di):s="\\"+_U(this.a&Di);break;default:s=null}return s},f.a=0,x(pp,"RegEx/Token/CharToken",228),C(318,122,y8,Am),f.Lm=function(t){return this.a},f.Nm=function(t){this.b=t},f.Om=function(t){this.c=t},f.Pm=function(){return 1},f.Qm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}";else throw B(new Xs("Token#toString(): CLOSURE "+this.c+qo+this.b));else if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*?";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}?";else throw B(new Xs("Token#toString(): NONGREEDYCLOSURE "+this.c+qo+this.b));return n},f.b=0,f.c=0,x(pp,"RegEx/Token/ClosureToken",318),C(837,122,y8,Pue),f.Lm=function(t){return t==0?this.a:this.b},f.Pm=function(){return 2},f.Qm=function(t){var n;return this.b.e==3&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+":this.b.e==9&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+?":n=this.a.Qm(t)+(""+this.b.Qm(t)),n},x(pp,"RegEx/Token/ConcatToken",837),C(1945,122,y8,JQe),f.Lm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw B(new Xs("Internal Error: "+t))},f.Pm=function(){return this.b?2:1},f.Qm=function(t){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},f.c=0,x(pp,"RegEx/Token/ConditionToken",1945),C(1946,122,y8,zXe),f.Lm=function(t){return this.b},f.Pm=function(){return 1},f.Qm=function(t){return"(?"+(this.a==0?"":ape(this.a))+(this.c==0?"":ape(this.c))+":"+this.b.Qm(t)+")"},f.a=0,f.c=0,x(pp,"RegEx/Token/ModifierToken",1946),C(838,122,y8,Bue),f.Lm=function(t){return this.a},f.Pm=function(){return 1},f.Qm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.Qm(t)+")":n="("+this.a.Qm(t)+")";break;case 20:n="(?="+this.a.Qm(t)+")";break;case 21:n="(?!"+this.a.Qm(t)+")";break;case 22:n="(?<="+this.a.Qm(t)+")";break;case 23:n="(?"+this.a.Qm(t)+")"}return n},f.b=0,x(pp,"RegEx/Token/ParenToken",838),C(530,122,{3:1,122:1,530:1},MG),f.Mm=function(){return this.b},f.Qm=function(t){return this.e==12?"\\"+this.a:ztn(this.b)},f.a=0,x(pp,"RegEx/Token/StringToken",530),C(477,122,y8,LC),f.Jm=function(t){R0(this,t)},f.Lm=function(t){return u(Ub(this.a,t),122)},f.Pm=function(){return this.a?this.a.a.c.length:0},f.Qm=function(t){var n,i,s,c,d;if(this.e==1){if(this.a.a.c.length==2)n=u(Ub(this.a,0),122),i=u(Ub(this.a,1),122),i.e==3&&i.Lm(0)==n?c=n.Qm(t)+"+":i.e==9&&i.Lm(0)==n?c=n.Qm(t)+"+?":c=n.Qm(t)+(""+i.Qm(t));else{for(d=new B1,s=0;s=this.c.b:this.a<=this.c.b},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Vb=function(){return this.b-1},f.Qb=function(){throw B(new D1(Z1t))},f.a=0,f.b=0,x(ime,"ExclusiveRange/RangeIterator",258);var Ea=z5(mD,"C"),Bn=z5(P9,"I"),wu=z5(j4,"Z"),Hg=z5(O9,"J"),Hc=z5(T9,"B"),uo=z5(I9,"D"),Gv=z5(M9,"F"),Q2=z5(_9,"S"),sfn=fi("org.eclipse.elk.core.labels","ILabelManager"),v8e=fi(Xo,"DiagnosticChain"),y8e=fi(I1t,"ResourceSet"),k8e=x(Xo,"InvocationTargetException",null),O6t=(gR(),yHt),_6t=_6t=fJt;hUt(uOt),uUt("permProps",[[["locale","default"],[ept,"gecko1_8"]],[["locale","default"],[ept,"safari"]]]),_6t(null,"elk",null)}).call(this)}).call(this,typeof window<"u"?window:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(l,a,p){function g(I,P){if(!(I instanceof P))throw new TypeError("Cannot call a class as a function")}function w(I,P){if(!I)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:I}function y(I,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);I.prototype=Object.create(P&&P.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(I,P):I.__proto__=P)}var S=l("./elk-api.js").default,E=function(I){y(P,I);function P(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};g(this,P);var R=Object.assign({},_),$=!1;try{l.resolve("web-worker"),$=!0}catch{}if(_.workerUrl)if($){var K=l("web-worker");R.workerFactory=function(ee){return new K(ee)}}else console.warn(`Web worker requested but 'web-worker' package not installed. -Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);if(!R.workerFactory){var q=l("./elk-worker.min.js"),Q=q.Worker;R.workerFactory=function(ee){return new Q(ee)}}return w(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,R))}return P}(S);Object.defineProperty(a.exports,"__esModule",{value:!0}),a.exports=E,E.default=E},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(l,a,p){a.exports=Worker},{}]},{},[3])(3)})})(IMt);var rPn=IMt.exports;const iPn=I3(rPn),oPn=76,bCt=52;function sPn(){async function r(o,l){const a={algorithm:"mrtree","org.eclipse.elk.direction":"RIGHT","org.eclipse.elk.spacing.nodeNode":"400","org.eclipse.elk.spacing.edgeEdge":"20","org.eclipse.elk.spacing.edgeNode":"30","org.eclipse.elk.mrtree.spacing.level":"500","org.eclipse.elk.mrtree.compaction.strategy":"DOWN","org.eclipse.elk.mrtree.nodePlacement.strategy":"SIMPLE","org.eclipse.elk.mrtree.nodePlacement.bk.fixedAlignment":"BALANCED"},p=o.map(S=>({id:S.id,width:1e3,height:oPn+bCt*S.data.resource.properties.length,labels:[{text:S.data.resource.name}],properties:S.data.resource.properties.map(E=>({id:E.id,width:1e3,height:bCt,labels:[{text:E.name}]}))})),g=l.map(S=>({id:`${S.source}-${S.target}`,sources:[S.source],targets:[S.target]})),w={id:"root",layoutOptions:a,children:p,edges:g};return new iPn().layout(w).then(S=>{const E=o.map(I=>{const P=S.children.find(_=>_.id===I.id);return I.position={x:P.x,y:P.y},I});for(const I of l){const P=E.find(R=>R.id===I.source),_=E.find(R=>R.id===I.target);if(P.position.x<_.position.x){const R="right",$=I.sourceHandle;$.endsWith(R)||(I.sourceHandle=$.slice(0,-5),I.sourceHandle=`${I.sourceHandle}${R}`)}else{const R="left",$=I.sourceHandle;$.endsWith(R)||(I.sourceHandle=$.slice(0,-5),I.sourceHandle=`${I.sourceHandle}${R}`)}}return{nodes:E,edges:l}}).catch(console.error)}return{elkLayout:r}}const lPn={key:0,style:{color:"grey"}},cPn=Mc({__name:"RdfTerm",props:{term:{}},setup(r){const o=r,l=ho(()=>f_(o.term)),a=ho(()=>o.term.termType!=="Literal"?null:o.term.language??null);function p(g){g.stopPropagation()}return(g,w)=>(Ce(),vt("div",null,[o.term.termType==="NamedNode"?(Ce(),vt("span",{key:0,class:"term",onMousedown:p,style:{cursor:"pointer"}},Rl(l.value),33)):sr("",!0),o.term.termType==="BlankNode"?(Ce(),vt("span",{key:1,class:"term",onMousedown:p,style:{cursor:"pointer"}},"["+Rl(l.value)+"]",33)):sr("",!0),o.term.termType==="Literal"?(Ce(),vt("span",{key:2,class:"term literal",onMousedown:p},[hb(Rl(l.value),1),a.value?(Ce(),vt("small",lPn,"@"+Rl(a.value),1)):sr("",!0)],32)):sr("",!0)]))}}),uPn=Pie(cPn,[["__scopeId","data-v-3bf480c8"]]),aPn={class:"resource-card"},fPn={class:"resource-card-header"},dPn={class:"resource-title"},hPn={class:"table-container"},pPn=["data-id"],gPn={class:"predicate"},bPn={class:"object"},wPn=["onClick"],mPn=Mc({__name:"ResourceNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(r){const{fitView:o,nodeLookup:l}=_u(),a=r;function p(g){if(!(g.termType==="NamedNode"||g.termType==="BlankNode"))return;const w=l.value.get(g.value);w&&o({nodes:[w.id],duration:1e3,padding:.3})}return(g,w)=>(Ce(),vt("div",null,[br("div",aPn,[br("header",fPn,[br("h3",dPn,Rl(a.data.resource.name),1)]),br("div",hPn,[(Ce(!0),vt(si,null,Pu(a.data.resource.properties,(y,S)=>(Ce(),vt("div",{key:S,"data-id":y.id,class:"table-row"},[br("div",null,[(Ce(!0),vt(si,null,Pu(y.values,E=>(Ce(),vt("div",{key:E.value,style:{position:"relative"}},[E.termType==="NamedNode"||E.termType==="BlankNode"?(Ce(),xn(Nr(A_),{key:0,type:"source",position:Nr(bi).Left,id:`${a.data.resource.id}-${y.id}-left`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):sr("",!0)]))),128))]),br("div",gPn,Rl(y.name),1),br("div",bPn,[(Ce(!0),vt(si,null,Pu(y.values,E=>(Ce(),vt("div",{key:E.value,onClick:I=>p(E)},[xi(uPn,{term:E,env:a.data.env},null,8,["term","env"])],8,wPn))),128))]),(Ce(!0),vt(si,null,Pu(y.values,E=>(Ce(),vt("div",{key:E.value,style:{position:"relative"}},[E.termType==="NamedNode"||E.termType==="BlankNode"?(Ce(),xn(Nr(A_),{key:0,type:"source",position:Nr(bi).Right,id:`${a.data.resource.id}-${y.id}-right`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):sr("",!0)]))),128))],8,pPn))),128))])])]))}}),vPn=Pie(mPn,[["__scopeId","data-v-0fcec032"]]),yPn=Mc({__name:"GraphView",props:{dataset:{},env:{}},setup(r){const o=r,{elkLayout:l}=sPn(),{fitView:a,nodeLookup:p}=_u(),g=ho(()=>i9n(o.dataset)),w=ho(()=>o9n(g.value)),y=Qo([]),S=Qo([]);Vs(g,async P=>{const _=P.map(K=>({id:K.id,type:"custom",position:{x:0,y:0},data:{resource:K,env:o.env}})),R=w.value.map(K=>({id:`${K.source}-${K.sourceProperty}-${K.target}`,source:K.source,target:K.target,sourceHandle:`${K.source}-${K.sourceProperty}-right`,animated:!1,data:K,type:"custom",markerEnd:kre.ArrowClosed})),$=await l(_,R);y.value=$.nodes,S.value=$.edges,await rm(),a()});function E(P){const _=P.node;S.value.filter(Q=>Q.source===_.id).flatMap(Q=>p.value.get(Q.target)).forEach(Q=>{(Q==null?void 0:Q.position.x)<_.position.x?S.value.filter(J=>J.source===_.id&&J.target===Q.id).forEach(J=>{var $e;const oe=J.sourceHandle;oe!=null&&oe.endsWith("-right")&&(J.sourceHandle=`${_.id}-${($e=J.data)==null?void 0:$e.sourceProperty}-left`)}):S.value.filter(J=>J.source===_.id&&J.target===Q.id).forEach(J=>{var $e;const oe=J.sourceHandle;oe!=null&&oe.endsWith("-left")&&(J.sourceHandle=`${_.id}-${($e=J.data)==null?void 0:$e.sourceProperty}-right`)})}),S.value.filter(Q=>Q.target===_.id).flatMap(Q=>{const ee=p.value.get(Q.source);return ee?[ee]:[]}).forEach(Q=>{Q.position.x<_.position.x?S.value.filter(J=>J.target===_.id&&J.source===Q.id).forEach(J=>{const oe=J.sourceHandle;oe&&oe.endsWith("-left")&&(J.sourceHandle=`${Q.id}-${J.data.sourceProperty}-right`)}):S.value.filter(J=>J.target===_.id&&J.source===Q.id).forEach(J=>{const oe=J.sourceHandle;oe&&(oe!=null&&oe.endsWith("-right"))&&(J.sourceHandle=`${Q.id}-${J.data.sourceProperty}-left`)})}),S.value=[...S.value]}function I(P){a({nodes:[P.edge.sourceNode.id],duration:1e3,padding:.3})}return(P,_)=>(Ce(),xn(Nr(ePn),{nodes:y.value,edges:S.value,"min-zoom":.05,"max-zoom":10,onNodeDrag:E,onEdgeClick:I},{"node-custom":di(R=>[xi(vPn,b_(iCe(R)),null,16)]),"edge-custom":di(R=>[xi(nPn,b_(iCe(R)),null,16)]),_:1},8,["nodes","edges"]))}});var MMt={name:"ArrowDownIcon",extends:su};function kPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",fill:"currentColor"},null,-1)]),16)}MMt.render=kPn;var PMt={name:"ArrowUpIcon",extends:su};function CPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",fill:"currentColor"},null,-1)]),16)}PMt.render=CPn;function Yz(r){"@babel/helpers - typeof";return Yz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Yz(r)}function SPn(r,o,l){return(o=xPn(o))in r?Object.defineProperty(r,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[o]=l,r}function xPn(r){var o=EPn(r,"string");return Yz(o)=="symbol"?o:o+""}function EPn(r,o){if(Yz(r)!="object"||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var a=l.call(r,o||"default");if(Yz(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}var TPn=function(o){var l=o.dt;return` -.p-paginator { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - background: `.concat(l("paginator.background"),`; - color: `).concat(l("paginator.color"),`; - padding: `).concat(l("paginator.padding"),`; - border-radius: `).concat(l("paginator.border.radius"),`; - gap: `).concat(l("paginator.gap"),`; -} - -.p-paginator-content { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - gap: `).concat(l("paginator.gap"),`; -} - -.p-paginator-content-start { - margin-inline-end: auto; -} - -.p-paginator-content-end { - margin-inline-start: auto; -} - -.p-paginator-page, -.p-paginator-next, -.p-paginator-last, -.p-paginator-first, -.p-paginator-prev { - cursor: pointer; - display: inline-flex; - align-items: center; - justify-content: center; - line-height: 1; - user-select: none; - overflow: hidden; - position: relative; - background: `).concat(l("paginator.nav.button.background"),`; - border: 0 none; - color: `).concat(l("paginator.nav.button.color"),`; - min-width: `).concat(l("paginator.nav.button.width"),`; - height: `).concat(l("paginator.nav.button.height"),`; - transition: background `).concat(l("paginator.transition.duration"),", color ").concat(l("paginator.transition.duration"),", outline-color ").concat(l("paginator.transition.duration"),", box-shadow ").concat(l("paginator.transition.duration"),`; - border-radius: `).concat(l("paginator.nav.button.border.radius"),`; - padding: 0; - margin: 0; -} - -.p-paginator-page:focus-visible, -.p-paginator-next:focus-visible, -.p-paginator-last:focus-visible, -.p-paginator-first:focus-visible, -.p-paginator-prev:focus-visible { - box-shadow: `).concat(l("paginator.nav.button.focus.ring.shadow"),`; - outline: `).concat(l("paginator.nav.button.focus.ring.width")," ").concat(l("paginator.nav.button.focus.ring.style")," ").concat(l("paginator.nav.button.focus.ring.color"),`; - outline-offset: `).concat(l("paginator.nav.button.focus.ring.offset"),`; -} - -.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover, -.p-paginator-first:not(.p-disabled):hover, -.p-paginator-prev:not(.p-disabled):hover, -.p-paginator-next:not(.p-disabled):hover, -.p-paginator-last:not(.p-disabled):hover { - background: `).concat(l("paginator.nav.button.hover.background"),`; - color: `).concat(l("paginator.nav.button.hover.color"),`; -} - -.p-paginator-page.p-paginator-page-selected { - background: `).concat(l("paginator.nav.button.selected.background"),`; - color: `).concat(l("paginator.nav.button.selected.color"),`; -} - -.p-paginator-current { - color: `).concat(l("paginator.current.page.report.color"),`; -} - -.p-paginator-pages { - display: flex; - align-items: center; - gap: `).concat(l("paginator.gap"),`; -} - -.p-paginator-jtp-input .p-inputtext { - max-width: `).concat(l("paginator.jump.to.page.input.max.width"),`; -} - -.p-paginator-first:dir(rtl), -.p-paginator-prev:dir(rtl), -.p-paginator-next:dir(rtl), -.p-paginator-last:dir(rtl) { - transform: rotate(180deg); -} -`)},IPn={paginator:function(o){var l=o.instance,a=o.key;return["p-paginator p-component",SPn({"p-paginator-default":!l.hasBreakpoints()},"p-paginator-".concat(a),l.hasBreakpoints())]},content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:function(o){var l=o.instance;return["p-paginator-first",{"p-disabled":l.$attrs.disabled}]},firstIcon:"p-paginator-first-icon",prev:function(o){var l=o.instance;return["p-paginator-prev",{"p-disabled":l.$attrs.disabled}]},prevIcon:"p-paginator-prev-icon",next:function(o){var l=o.instance;return["p-paginator-next",{"p-disabled":l.$attrs.disabled}]},nextIcon:"p-paginator-next-icon",last:function(o){var l=o.instance;return["p-paginator-last",{"p-disabled":l.$attrs.disabled}]},lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:function(o){var l=o.props,a=o.pageLink;return["p-paginator-page",{"p-paginator-page-selected":a-1===l.page}]},current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInputText:"p-paginator-jtp-input"},MPn=Ps.extend({name:"paginator",theme:TPn,classes:IPn}),OMt={name:"AngleDoubleLeftIcon",extends:su};function PPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",fill:"currentColor"},null,-1)]),16)}OMt.render=PPn;var _Mt={name:"AngleDownIcon",extends:su};function OPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",fill:"currentColor"},null,-1)]),16)}_Mt.render=OPn;var RMt={name:"AngleUpIcon",extends:su};function _Pn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",fill:"currentColor"},null,-1)]),16)}RMt.render=_Pn;var RPn=function(o){var l=o.dt;return` -.p-inputnumber { - display: inline-flex; - position: relative; -} - -.p-inputnumber-button { - display: flex; - align-items: center; - justify-content: center; - flex: 0 0 auto; - cursor: pointer; - background: `.concat(l("inputnumber.button.background"),`; - color: `).concat(l("inputnumber.button.color"),`; - width: `).concat(l("inputnumber.button.width"),`; - transition: background `).concat(l("inputnumber.transition.duration"),", color ").concat(l("inputnumber.transition.duration"),", border-color ").concat(l("inputnumber.transition.duration"),", outline-color ").concat(l("inputnumber.transition.duration"),`; -} - -.p-inputnumber-button:hover { - background: `).concat(l("inputnumber.button.hover.background"),`; - color: `).concat(l("inputnumber.button.hover.color"),`; -} - -.p-inputnumber-button:active { - background: `).concat(l("inputnumber.button.active.background"),`; - color: `).concat(l("inputnumber.button.active.color"),`; -} - -.p-inputnumber-stacked .p-inputnumber-button { - position: relative; - border: 0 none; -} - -.p-inputnumber-stacked .p-inputnumber-button-group { - display: flex; - flex-direction: column; - position: absolute; - inset-block-start: 1px; - inset-inline-end: 1px; - height: calc(100% - 2px); - z-index: 1; -} - -.p-inputnumber-stacked .p-inputnumber-increment-button { - padding: 0; - border-start-end-radius: calc(`).concat(l("inputnumber.button.border.radius"),` - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-decrement-button { - padding: 0; - border-end-end-radius: calc(`).concat(l("inputnumber.button.border.radius"),` - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-button { - flex: 1 1 auto; - border: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-button { - border: 1px solid `).concat(l("inputnumber.button.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-button:hover { - border-color: `).concat(l("inputnumber.button.hover.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-button:active { - border-color: `).concat(l("inputnumber.button.active.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-increment-button { - order: 3; - border-start-end-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-end-end-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-inline-start: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-input { - order: 2; - border-radius: 0; -} - -.p-inputnumber-horizontal .p-inputnumber-decrement-button { - order: 1; - border-start-start-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-end-start-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-inline-end: 0 none; -} - -.p-floatlabel:has(.p-inputnumber-horizontal) label { - margin-inline-start: `).concat(l("inputnumber.button.width"),`; -} - -.p-inputnumber-vertical { - flex-direction: column; -} - -.p-inputnumber-vertical .p-inputnumber-button { - border: 1px solid `).concat(l("inputnumber.button.border.color"),`; - padding: `).concat(l("inputnumber.button.vertical.padding"),`; -} - -.p-inputnumber-vertical .p-inputnumber-button:hover { - border-color: `).concat(l("inputnumber.button.hover.border.color"),`; -} - -.p-inputnumber-vertical .p-inputnumber-button:active { - border-color: `).concat(l("inputnumber.button.active.border.color"),`; -} - -.p-inputnumber-vertical .p-inputnumber-increment-button { - order: 1; - border-start-start-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-start-end-radius: `).concat(l("inputnumber.button.border.radius"),`; - width: 100%; - border-block-end: 0 none; -} - -.p-inputnumber-vertical .p-inputnumber-input { - order: 2; - border-radius: 0; - text-align: center; -} - -.p-inputnumber-vertical .p-inputnumber-decrement-button { - order: 3; - border-end-start-radius: `).concat(l("inputnumber.button.border.radius"),`; - border-end-end-radius: `).concat(l("inputnumber.button.border.radius"),`; - width: 100%; - border-block-start: 0 none; -} - -.p-inputnumber-input { - flex: 1 1 auto; -} - -.p-inputnumber-fluid { - width: 100%; -} - -.p-inputnumber-fluid .p-inputnumber-input { - width: 1%; -} - -.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { - width: 100%; -} - -.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon { - font-size: `).concat(l("form.field.sm.font.size"),`; - width: `).concat(l("form.field.sm.font.size"),`; - height: `).concat(l("form.field.sm.font.size"),`; -} - -.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon { - font-size: `).concat(l("form.field.lg.font.size"),`; - width: `).concat(l("form.field.lg.font.size"),`; - height: `).concat(l("form.field.lg.font.size"),`; -} -`)},APn={root:function(o){var l=o.instance,a=o.props;return["p-inputnumber p-component p-inputwrapper",{"p-inputwrapper-filled":l.$filled||a.allowEmpty===!1,"p-inputwrapper-focus":l.focused,"p-inputnumber-stacked":a.showButtons&&a.buttonLayout==="stacked","p-inputnumber-horizontal":a.showButtons&&a.buttonLayout==="horizontal","p-inputnumber-vertical":a.showButtons&&a.buttonLayout==="vertical","p-inputnumber-fluid":l.$fluid}]},pcInputText:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:function(o){var l=o.instance,a=o.props;return["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":a.showButtons&&a.max!==null&&l.maxBoundry()}]},decrementButton:function(o){var l=o.instance,a=o.props;return["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":a.showButtons&&a.min!==null&&l.minBoundry()}]}},LPn=Ps.extend({name:"inputnumber",theme:RPn,classes:APn}),jPn={name:"BaseInputNumber",extends:gH,props:{format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:"stacked"},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:"decimal"},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:"halfExpand",validator:function(o){return["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"].includes(o)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:LPn,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function Jz(r){"@babel/helpers - typeof";return Jz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Jz(r)}function wCt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function mCt(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l1){var S=this.isNumeralChar(g.charAt(l))?l+1:l+2;this.$refs.input.$el.setSelectionRange(S,S)}else this.isNumeralChar(g.charAt(l-1))||o.preventDefault();break;case"ArrowRight":if(p>1){var E=a-1;this.$refs.input.$el.setSelectionRange(E,E)}else this.isNumeralChar(g.charAt(l))||o.preventDefault();break;case"Tab":case"Enter":case"NumpadEnter":w=this.validateValue(this.parseValue(g)),this.$refs.input.$el.value=this.formatValue(w),this.$refs.input.$el.setAttribute("aria-valuenow",w),this.updateModel(o,w);break;case"Backspace":{if(o.preventDefault(),l===a){var I=g.charAt(l-1),P=this.getDecimalCharIndexes(g),_=P.decimalCharIndex,R=P.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(I)){var $=this.getDecimalLength(g);if(this._group.test(I))this._group.lastIndex=0,w=g.slice(0,l-2)+g.slice(l-1);else if(this._decimal.test(I))this._decimal.lastIndex=0,$?this.$refs.input.$el.setSelectionRange(l-1,l-1):w=g.slice(0,l-1)+g.slice(l);else if(_>0&&l>_){var K=this.isDecimalMode()&&(this.minFractionDigits||0)<$?"":"0";w=g.slice(0,l-1)+K+g.slice(l)}else R===1?(w=g.slice(0,l-1)+"0"+g.slice(l),w=this.parseValue(w)>0?w:""):w=g.slice(0,l-1)+g.slice(l)}this.updateValue(o,w,null,"delete-single")}else w=this.deleteRange(g,l,a),this.updateValue(o,w,null,"delete-range");break}case"Delete":if(o.preventDefault(),l===a){var q=g.charAt(l),Q=this.getDecimalCharIndexes(g),ee=Q.decimalCharIndex,J=Q.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(q)){var oe=this.getDecimalLength(g);if(this._group.test(q))this._group.lastIndex=0,w=g.slice(0,l)+g.slice(l+2);else if(this._decimal.test(q))this._decimal.lastIndex=0,oe?this.$refs.input.$el.setSelectionRange(l+1,l+1):w=g.slice(0,l)+g.slice(l+1);else if(ee>0&&l>ee){var $e=this.isDecimalMode()&&(this.minFractionDigits||0)0?w:""):w=g.slice(0,l)+g.slice(l+1)}this.updateValue(o,w,null,"delete-back-single")}else w=this.deleteRange(g,l,a),this.updateValue(o,w,null,"delete-range");break;case"Home":o.preventDefault(),os(this.min)&&this.updateModel(o,this.min);break;case"End":o.preventDefault(),os(this.max)&&this.updateModel(o,this.max);break}}},onInputKeyPress:function(o){if(!this.readonly){var l=o.key,a=this.isDecimalSign(l),p=this.isMinusSign(l);o.code!=="Enter"&&o.preventDefault(),(Number(l)>=0&&Number(l)<=9||p||a)&&this.insert(o,l,{isDecimalSign:a,isMinusSign:p})}},onPaste:function(o){o.preventDefault();var l=(o.clipboardData||window.clipboardData).getData("Text");if(l){var a=this.parseValue(l);a!=null&&this.insert(o,a.toString())}},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(o){return this._minusSign.test(o)||o==="-"?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(o){return this._decimal.test(o)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode==="decimal"},getDecimalCharIndexes:function(o){var l=o.search(this._decimal);this._decimal.lastIndex=0;var a=o.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,""),p=a.search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:l,decimalCharIndexWithoutPrefix:p}},getCharIndexes:function(o){var l=o.search(this._decimal);this._decimal.lastIndex=0;var a=o.search(this._minusSign);this._minusSign.lastIndex=0;var p=o.search(this._suffix);this._suffix.lastIndex=0;var g=o.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:l,minusCharIndex:a,suffixCharIndex:p,currencyCharIndex:g}},insert:function(o,l){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},p=l.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&p!==-1)){var g=this.$refs.input.$el.selectionStart,w=this.$refs.input.$el.selectionEnd,y=this.$refs.input.$el.value.trim(),S=this.getCharIndexes(y),E=S.decimalCharIndex,I=S.minusCharIndex,P=S.suffixCharIndex,_=S.currencyCharIndex,R;if(a.isMinusSign)g===0&&(R=y,(I===-1||w!==0)&&(R=this.insertText(y,l,0,w)),this.updateValue(o,R,l,"insert"));else if(a.isDecimalSign)E>0&&g===E?this.updateValue(o,y,l,"insert"):E>g&&E0&&g>E){if(g+l.length-(E+1)<=$){var q=_>=g?_-1:P>=g?P:y.length;R=y.slice(0,g)+l+y.slice(g+l.length,q)+y.slice(q),this.updateValue(o,R,l,K)}}else R=this.insertText(y,l,g,w),this.updateValue(o,R,l,K)}}},insertText:function(o,l,a,p){var g=l==="."?l:l.split(".");if(g.length===2){var w=o.slice(a,p).search(this._decimal);return this._decimal.lastIndex=0,w>0?o.slice(0,a)+this.formatValue(l)+o.slice(p):this.formatValue(l)||o}else return p-a===o.length?this.formatValue(l):a===0?l+o.slice(p):p===o.length?o.slice(0,a)+l:o.slice(0,a)+l+o.slice(p)},deleteRange:function(o,l,a){var p;return a-l===o.length?p="":l===0?p=o.slice(a):a===o.length?p=o.slice(0,l):p=o.slice(0,l)+o.slice(a),p},initCursor:function(){var o=this.$refs.input.$el.selectionStart,l=this.$refs.input.$el.value,a=l.length,p=null,g=(this.prefixChar||"").length;l=l.replace(this._prefix,""),o=o-g;var w=l.charAt(o);if(this.isNumeralChar(w))return o+g;for(var y=o-1;y>=0;)if(w=l.charAt(y),this.isNumeralChar(w)){p=y+g;break}else y--;if(p!==null)this.$refs.input.$el.setSelectionRange(p+1,p+1);else{for(y=o;ythis.max?this.max:o},updateInput:function(o,l,a,p){l=l||"";var g=this.$refs.input.$el.value,w=this.formatValue(o),y=g.length;if(w!==p&&(w=this.concatValues(w,p)),y===0){this.$refs.input.$el.value=w,this.$refs.input.$el.setSelectionRange(0,0);var S=this.initCursor(),E=S+l.length;this.$refs.input.$el.setSelectionRange(E,E)}else{var I=this.$refs.input.$el.selectionStart,P=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=w;var _=w.length;if(a==="range-insert"){var R=this.parseValue((g||"").slice(0,I)),$=R!==null?R.toString():"",K=$.split("").join("(".concat(this.groupChar,")?")),q=new RegExp(K,"g");q.test(w);var Q=l.split("").join("(".concat(this.groupChar,")?")),ee=new RegExp(Q,"g");ee.test(w.slice(q.lastIndex)),P=q.lastIndex+ee.lastIndex,this.$refs.input.$el.setSelectionRange(P,P)}else if(_===y)a==="insert"||a==="delete-back-single"?this.$refs.input.$el.setSelectionRange(P+1,P+1):a==="delete-single"?this.$refs.input.$el.setSelectionRange(P-1,P-1):(a==="delete-range"||a==="spin")&&this.$refs.input.$el.setSelectionRange(P,P);else if(a==="delete-back-single"){var J=g.charAt(P-1),oe=g.charAt(P),$e=y-_,et=this._group.test(oe);et&&$e===1?P+=1:!et&&this.isNumeralChar(J)&&(P+=-1*$e+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(P,P)}else if(g==="-"&&a==="insert"){this.$refs.input.$el.setSelectionRange(0,0);var wt=this.initCursor(),bt=wt+l.length+1;this.$refs.input.$el.setSelectionRange(bt,bt)}else P=P+(_-y),this.$refs.input.$el.setSelectionRange(P,P)}this.$refs.input.$el.setAttribute("aria-valuenow",o)},concatValues:function(o,l){if(o&&l){var a=l.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?a!==-1?o.replace(this.suffixChar,"").split(this._decimal)[0]+l.replace(this.suffixChar,"").slice(a)+this.suffixChar:o:a!==-1?o.split(this._decimal)[0]+l.slice(a):o}return o},getDecimalLength:function(o){if(o){var l=o.split(this._decimal);if(l.length===2)return l[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0},updateModel:function(o,l){this.writeValue(l,o)},onInputFocus:function(o){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==O5t()&&this.highlightOnFocus&&o.target.select(),this.$emit("focus",o)},onInputBlur:function(o){var l,a;this.focused=!1;var p=o.target,g=this.validateValue(this.parseValue(p.value));this.$emit("blur",{originalEvent:o,value:p.value}),(l=(a=this.formField).onBlur)===null||l===void 0||l.call(a,o),p.value=this.formatValue(g),p.setAttribute("aria-valuenow",g),this.updateModel(o,g),!this.disabled&&!this.readonly&&this.highlightOnFocus&&bne()},clearTimer:function(){this.timer&&clearInterval(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var o=this;return{mousedown:function(a){return o.onUpButtonMouseDown(a)},mouseup:function(a){return o.onUpButtonMouseUp(a)},mouseleave:function(a){return o.onUpButtonMouseLeave(a)},keydown:function(a){return o.onUpButtonKeyDown(a)},keyup:function(a){return o.onUpButtonKeyUp(a)}}},downButtonListeners:function(){var o=this;return{mousedown:function(a){return o.onDownButtonMouseDown(a)},mouseup:function(a){return o.onDownButtonMouseUp(a)},mouseleave:function(a){return o.onDownButtonMouseLeave(a)},keydown:function(a){return o.onDownButtonKeyDown(a)},keyup:function(a){return o.onDownButtonKeyUp(a)}}},formattedValue:function(){var o=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(o)},getFormatter:function(){return this.numberFormat}},components:{InputText:bE,AngleUpIcon:RMt,AngleDownIcon:_Mt}},UPn=["disabled"],GPn=["disabled"],WPn=["disabled"],VPn=["disabled"];function qPn(r,o,l,a,p,g){var w=Ei("InputText");return Ce(),vt("span",Ze({class:r.cx("root")},r.ptmi("root")),[xi(w,{ref:"input",id:r.inputId,role:"spinbutton",class:yo([r.cx("pcInputText"),r.inputClass]),style:A1(r.inputStyle),value:g.formattedValue,"aria-valuemin":r.min,"aria-valuemax":r.max,"aria-valuenow":r.d_value,inputmode:r.mode==="decimal"&&!r.minFractionDigits?"numeric":"decimal",disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,"aria-labelledby":r.ariaLabelledby,"aria-label":r.ariaLabel,size:r.size,invalid:r.invalid,variant:r.variant,onInput:g.onUserInput,onKeydown:g.onInputKeyDown,onKeypress:g.onInputKeyPress,onPaste:g.onPaste,onClick:g.onInputClick,onFocus:g.onInputFocus,onBlur:g.onInputBlur,pt:r.ptm("pcInputText"),unstyled:r.unstyled},null,8,["id","class","style","value","aria-valuemin","aria-valuemax","aria-valuenow","inputmode","disabled","readonly","placeholder","aria-labelledby","aria-label","size","invalid","variant","onInput","onKeydown","onKeypress","onPaste","onClick","onFocus","onBlur","pt","unstyled"]),r.showButtons&&r.buttonLayout==="stacked"?(Ce(),vt("span",Ze({key:0,class:r.cx("buttonGroup")},r.ptm("buttonGroup")),[Hr(r.$slots,"incrementbutton",{listeners:g.upButtonListeners},function(){return[br("button",Ze({class:[r.cx("incrementButton"),r.incrementButtonClass]},Dte(g.upButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("incrementButton")),[Hr(r.$slots,r.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(Ce(),xn(ko(r.incrementIcon||r.incrementButtonIcon?"span":"AngleUpIcon"),Ze({class:[r.incrementIcon,r.incrementButtonIcon]},r.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,UPn)]}),Hr(r.$slots,"decrementbutton",{listeners:g.downButtonListeners},function(){return[br("button",Ze({class:[r.cx("decrementButton"),r.decrementButtonClass]},Dte(g.downButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("decrementButton")),[Hr(r.$slots,r.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(Ce(),xn(ko(r.decrementIcon||r.decrementButtonIcon?"span":"AngleDownIcon"),Ze({class:[r.decrementIcon,r.decrementButtonIcon]},r.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,GPn)]})],16)):sr("",!0),Hr(r.$slots,"incrementbutton",{listeners:g.upButtonListeners},function(){return[r.showButtons&&r.buttonLayout!=="stacked"?(Ce(),vt("button",Ze({key:0,class:[r.cx("incrementButton"),r.incrementButtonClass]},Dte(g.upButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("incrementButton")),[Hr(r.$slots,r.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(Ce(),xn(ko(r.incrementIcon||r.incrementButtonIcon?"span":"AngleUpIcon"),Ze({class:[r.incrementIcon,r.incrementButtonIcon]},r.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,WPn)):sr("",!0)]}),Hr(r.$slots,"decrementbutton",{listeners:g.downButtonListeners},function(){return[r.showButtons&&r.buttonLayout!=="stacked"?(Ce(),vt("button",Ze({key:0,class:[r.cx("decrementButton"),r.decrementButtonClass]},Dte(g.downButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("decrementButton")),[Hr(r.$slots,r.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(Ce(),xn(ko(r.decrementIcon||r.decrementButtonIcon?"span":"AngleDownIcon"),Ze({class:[r.decrementIcon,r.decrementButtonIcon]},r.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,VPn)):sr("",!0)]})],16)}AMt.render=qPn;var LMt={name:"AngleDoubleRightIcon",extends:su};function XPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z",fill:"currentColor"},null,-1)]),16)}LMt.render=XPn;var jMt={name:"AngleRightIcon",extends:su};function YPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",fill:"currentColor"},null,-1)]),16)}jMt.render=YPn;var $Mt={name:"AngleLeftIcon",extends:su};function JPn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z",fill:"currentColor"},null,-1)]),16)}$Mt.render=JPn;var QPn={name:"BasePaginator",extends:Tl,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:MPn,provide:function(){return{$pcPaginator:this,$parentInstance:this}}},DMt={name:"CurrentPageReport",hostName:"Paginator",extends:Tl,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var o=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return o}}};function ZPn(r,o,l,a,p,g){return Ce(),vt("span",Ze({class:r.cx("current")},r.ptm("current")),Rl(g.text),17)}DMt.render=ZPn;var NMt={name:"FirstPageLink",hostName:"Paginator",extends:Tl,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(o){return this.ptm(o,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:OMt},directives:{ripple:n5}};function eOn(r,o,l,a,p,g){var w=T3("ripple");return E3((Ce(),vt("button",Ze({class:r.cx("first"),type:"button"},g.getPTOptions("first"),{"data-pc-group-section":"pagebutton"}),[(Ce(),xn(ko(l.template||"AngleDoubleLeftIcon"),Ze({class:r.cx("firstIcon")},g.getPTOptions("firstIcon")),null,16,["class"]))],16)),[[w]])}NMt.render=eOn;var BMt={name:"JumpToPageDropdown",hostName:"Paginator",extends:Tl,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(o){this.$emit("page-change",o)}},computed:{pageOptions:function(){for(var o=[],l=0;lr.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&o&&this.d_first>=o&&this.changePage(this.pageCount-1)}},mounted:function(){this.createStyle()},methods:{changePage:function(o){var l=this.pageCount;if(o>=0&&o0?this.page+1:0},last:function(){return Math.min(this.d_first+this.rows,this.totalRecords)}},components:{CurrentPageReport:DMt,FirstPageLink:NMt,LastPageLink:zMt,NextPageLink:HMt,PageLinks:KMt,PrevPageLink:UMt,RowsPerPageDropdown:GMt,JumpToPageDropdown:BMt,JumpToPageInput:FMt}};function hOn(r,o,l,a,p,g){var w=Ei("FirstPageLink"),y=Ei("PrevPageLink"),S=Ei("NextPageLink"),E=Ei("LastPageLink"),I=Ei("PageLinks"),P=Ei("CurrentPageReport"),_=Ei("RowsPerPageDropdown"),R=Ei("JumpToPageDropdown"),$=Ei("JumpToPageInput");return r.alwaysShow||g.pageLinks&&g.pageLinks.length>1?(Ce(),vt("nav",b_(Ze({key:0},r.ptmi("paginatorContainer"))),[(Ce(!0),vt(si,null,Pu(g.templateItems,function(K,q){return Ce(),vt("div",Ze({key:q,ref_for:!0,ref:"paginator",class:r.cx("paginator",{key:q})},r.ptm("root")),[r.$slots.container?Hr(r.$slots,"container",{key:0,first:p.d_first+1,last:g.last,rows:p.d_rows,page:g.page,pageCount:g.pageCount,totalRecords:r.totalRecords,firstPageCallback:g.changePageToFirst,lastPageCallback:g.changePageToLast,prevPageCallback:g.changePageToPrev,nextPageCallback:g.changePageToNext,rowChangeCallback:g.onRowChange}):(Ce(),vt(si,{key:1},[r.$slots.start?(Ce(),vt("div",Ze({key:0,class:r.cx("contentStart"),ref_for:!0},r.ptm("contentStart")),[Hr(r.$slots,"start",{state:g.currentState})],16)):sr("",!0),br("div",Ze({class:r.cx("content"),ref_for:!0},r.ptm("content")),[(Ce(!0),vt(si,null,Pu(K,function(Q){return Ce(),vt(si,{key:Q},[Q==="FirstPageLink"?(Ce(),xn(w,{key:0,"aria-label":g.getAriaLabel("firstPageLabel"),template:r.$slots.firsticon||r.$slots.firstpagelinkicon,onClick:o[0]||(o[0]=function(ee){return g.changePageToFirst(ee)}),disabled:g.isFirstPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="PrevPageLink"?(Ce(),xn(y,{key:1,"aria-label":g.getAriaLabel("prevPageLabel"),template:r.$slots.previcon||r.$slots.prevpagelinkicon,onClick:o[1]||(o[1]=function(ee){return g.changePageToPrev(ee)}),disabled:g.isFirstPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="NextPageLink"?(Ce(),xn(S,{key:2,"aria-label":g.getAriaLabel("nextPageLabel"),template:r.$slots.nexticon||r.$slots.nextpagelinkicon,onClick:o[2]||(o[2]=function(ee){return g.changePageToNext(ee)}),disabled:g.isLastPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="LastPageLink"?(Ce(),xn(E,{key:3,"aria-label":g.getAriaLabel("lastPageLabel"),template:r.$slots.lasticon||r.$slots.lastpagelinkicon,onClick:o[3]||(o[3]=function(ee){return g.changePageToLast(ee)}),disabled:g.isLastPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="PageLinks"?(Ce(),xn(I,{key:4,"aria-label":g.getAriaLabel("pageLabel"),value:g.pageLinks,page:g.page,onClick:o[4]||(o[4]=function(ee){return g.changePageLink(ee)}),unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","value","page","unstyled","pt"])):Q==="CurrentPageReport"?(Ce(),xn(P,{key:5,"aria-live":"polite",template:r.currentPageReportTemplate,currentPage:g.currentPage,page:g.page,pageCount:g.pageCount,first:p.d_first,rows:p.d_rows,totalRecords:r.totalRecords,unstyled:r.unstyled,pt:r.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):Q==="RowsPerPageDropdown"&&r.rowsPerPageOptions?(Ce(),xn(_,{key:6,"aria-label":g.getAriaLabel("rowsPerPageLabel"),rows:p.d_rows,options:r.rowsPerPageOptions,onRowsChange:o[5]||(o[5]=function(ee){return g.onRowChange(ee)}),disabled:g.empty,templates:r.$slots,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):Q==="JumpToPageDropdown"?(Ce(),xn(R,{key:7,"aria-label":g.getAriaLabel("jumpToPageDropdownLabel"),page:g.page,pageCount:g.pageCount,onPageChange:o[6]||(o[6]=function(ee){return g.changePage(ee)}),disabled:g.empty,templates:r.$slots,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):Q==="JumpToPageInput"?(Ce(),xn($,{key:8,page:g.currentPage,onPageChange:o[7]||(o[7]=function(ee){return g.changePage(ee)}),disabled:g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["page","disabled","unstyled","pt"])):sr("",!0)],64)}),128))],16),r.$slots.end?(Ce(),vt("div",Ze({key:1,class:r.cx("contentEnd"),ref_for:!0},r.ptm("contentEnd")),[Hr(r.$slots,"end",{state:g.currentState})],16)):sr("",!0)],64))],16)}),128))],16)):sr("",!0)}WMt.render=hOn;var pOn=function(o){var l=o.dt;return` -.p-datatable { - position: relative; -} - -.p-datatable-table { - border-spacing: 0; - border-collapse: separate; - width: 100%; -} - -.p-datatable-scrollable > .p-datatable-table-container { - position: relative; -} - -.p-datatable-scrollable-table > .p-datatable-thead { - inset-block-start: 0; - z-index: 1; -} - -.p-datatable-scrollable-table > .p-datatable-frozen-tbody { - position: sticky; - z-index: 1; -} - -.p-datatable-scrollable-table > .p-datatable-tfoot { - inset-block-end: 0; - z-index: 1; -} - -.p-datatable-scrollable .p-datatable-frozen-column { - position: sticky; - background: `.concat(l("datatable.header.cell.background"),`; -} - -.p-datatable-scrollable th.p-datatable-frozen-column { - z-index: 1; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead { - background: `).concat(l("datatable.header.cell.background"),`; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot { - background: `).concat(l("datatable.footer.cell.background"),`; -} - -.p-datatable-flex-scrollable { - display: flex; - flex-direction: column; - height: 100%; -} - -.p-datatable-flex-scrollable > .p-datatable-table-container { - display: flex; - flex-direction: column; - flex: 1; - height: 100%; -} - -.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header { - position: sticky; - z-index: 1; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th, -.p-datatable-resizable-table > .p-datatable-tfoot > tr > td, -.p-datatable-resizable-table > .p-datatable-tbody > tr > td { - overflow: hidden; - white-space: nowrap; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) { - background-clip: padding-box; - position: relative; -} - -.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer { - display: none; -} - -.p-datatable-column-resizer { - display: block; - position: absolute; - inset-block-start: 0; - inset-inline-end: 0; - margin: 0; - width: `).concat(l("datatable.column.resizer.width"),`; - height: 100%; - padding: 0; - cursor: col-resize; - border: 1px solid transparent; -} - -.p-datatable-column-header-content { - display: flex; - align-items: center; - gap: `).concat(l("datatable.header.cell.gap"),`; -} - -.p-datatable-column-resize-indicator { - width: `).concat(l("datatable.resize.indicator.width"),`; - position: absolute; - z-index: 10; - display: none; - background: `).concat(l("datatable.resize.indicator.color"),`; -} - -.p-datatable-row-reorder-indicator-up, -.p-datatable-row-reorder-indicator-down { - position: absolute; - display: none; -} - -.p-datatable-reorderable-column, -.p-datatable-reorderable-row-handle { - cursor: move; -} - -.p-datatable-mask { - position: absolute; - display: flex; - align-items: center; - justify-content: center; - z-index: 2; -} - -.p-datatable-inline-filter { - display: flex; - align-items: center; - width: 100%; - gap: `).concat(l("datatable.filter.inline.gap"),`; -} - -.p-datatable-inline-filter .p-datatable-filter-element-container { - flex: 1 1 auto; - width: 1%; -} - -.p-datatable-filter-overlay { - background: `).concat(l("datatable.filter.overlay.select.background"),`; - color: `).concat(l("datatable.filter.overlay.select.color"),`; - border: 1px solid `).concat(l("datatable.filter.overlay.select.border.color"),`; - border-radius: `).concat(l("datatable.filter.overlay.select.border.radius"),`; - box-shadow: `).concat(l("datatable.filter.overlay.select.shadow"),`; - min-width: 12.5rem; -} - -.p-datatable-filter-constraint-list { - margin: 0; - list-style: none; - display: flex; - flex-direction: column; - padding: `).concat(l("datatable.filter.constraint.list.padding"),`; - gap: `).concat(l("datatable.filter.constraint.list.gap"),`; -} - -.p-datatable-filter-constraint { - padding: `).concat(l("datatable.filter.constraint.padding"),`; - color: `).concat(l("datatable.filter.constraint.color"),`; - border-radius: `).concat(l("datatable.filter.constraint.border.radius"),`; - cursor: pointer; - transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, - box-shadow `).concat(l("datatable.transition.duration"),`; -} - -.p-datatable-filter-constraint-selected { - background: `).concat(l("datatable.filter.constraint.selected.background"),`; - color: `).concat(l("datatable.filter.constraint.selected.color"),`; -} - -.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover { - background: `).concat(l("datatable.filter.constraint.focus.background"),`; - color: `).concat(l("datatable.filter.constraint.focus.color"),`; -} - -.p-datatable-filter-constraint:focus-visible { - outline: 0 none; - background: `).concat(l("datatable.filter.constraint.focus.background"),`; - color: `).concat(l("datatable.filter.constraint.focus.color"),`; -} - -.p-datatable-filter-constraint-selected:focus-visible { - outline: 0 none; - background: `).concat(l("datatable.filter.constraint.selected.focus.background"),`; - color: `).concat(l("datatable.filter.constraint.selected.focus.color"),`; -} - -.p-datatable-filter-constraint-separator { - border-block-start: 1px solid `).concat(l("datatable.filter.constraint.separator.border.color"),`; -} - -.p-datatable-popover-filter { - display: inline-flex; - margin-inline-start: auto; -} - -.p-datatable-filter-overlay-popover { - background: `).concat(l("datatable.filter.overlay.popover.background"),`; - color: `).concat(l("datatable.filter.overlay.popover.color"),`; - border: 1px solid `).concat(l("datatable.filter.overlay.popover.border.color"),`; - border-radius: `).concat(l("datatable.filter.overlay.popover.border.radius"),`; - box-shadow: `).concat(l("datatable.filter.overlay.popover.shadow"),`; - min-width: 12.5rem; - padding: `).concat(l("datatable.filter.overlay.popover.padding"),`; - display: flex; - flex-direction: column; - gap: `).concat(l("datatable.filter.overlay.popover.gap"),`; -} - -.p-datatable-filter-operator-dropdown { - width: 100%; -} - -.p-datatable-filter-rule-list, -.p-datatable-filter-rule { - display: flex; - flex-direction: column; - gap: `).concat(l("datatable.filter.overlay.popover.gap"),`; -} - -.p-datatable-filter-rule { - border-block-end: 1px solid `).concat(l("datatable.filter.rule.border.color"),`; - padding-bottom: `).concat(l("datatable.filter.overlay.popover.gap"),`; -} - -.p-datatable-filter-rule:last-child { - border-block-end: 0 none; - padding-bottom: 0; -} - -.p-datatable-filter-add-rule-button { - width: 100%; -} - -.p-datatable-filter-remove-rule-button { - width: 100%; -} - -.p-datatable-filter-buttonbar { - padding: 0; - display: flex; - align-items: center; - justify-content: space-between; -} - -.p-datatable-virtualscroller-spacer { - display: flex; -} - -.p-datatable .p-virtualscroller .p-virtualscroller-loading { - transform: none !important; - min-height: 0; - position: sticky; - inset-block-start: 0; - inset-inline-start: 0; -} - -.p-datatable-paginator-top { - border-color: `).concat(l("datatable.paginator.top.border.color"),`; - border-style: solid; - border-width: `).concat(l("datatable.paginator.top.border.width"),`; -} - -.p-datatable-paginator-bottom { - border-color: `).concat(l("datatable.paginator.bottom.border.color"),`; - border-style: solid; - border-width: `).concat(l("datatable.paginator.bottom.border.width"),`; -} - -.p-datatable-header { - background: `).concat(l("datatable.header.background"),`; - color: `).concat(l("datatable.header.color"),`; - border-color: `).concat(l("datatable.header.border.color"),`; - border-style: solid; - border-width: `).concat(l("datatable.header.border.width"),`; - padding: `).concat(l("datatable.header.padding"),`; -} - -.p-datatable-footer { - background: `).concat(l("datatable.footer.background"),`; - color: `).concat(l("datatable.footer.color"),`; - border-color: `).concat(l("datatable.footer.border.color"),`; - border-style: solid; - border-width: `).concat(l("datatable.footer.border.width"),`; - padding: `).concat(l("datatable.footer.padding"),`; -} - -.p-datatable-header-cell { - padding: `).concat(l("datatable.header.cell.padding"),`; - background: `).concat(l("datatable.header.cell.background"),`; - border-color: `).concat(l("datatable.header.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - color: `).concat(l("datatable.header.cell.color"),`; - font-weight: normal; - text-align: start; - transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, - outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; -} - -.p-datatable-column-title { - font-weight: `).concat(l("datatable.column.title.font.weight"),`; -} - -.p-datatable-tbody > tr { - outline-color: transparent; - background: `).concat(l("datatable.row.background"),`; - color: `).concat(l("datatable.row.color"),`; - transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, - outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; -} - -.p-datatable-tbody > tr > td { - text-align: start; - border-color: `).concat(l("datatable.body.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - padding: `).concat(l("datatable.body.cell.padding"),`; -} - -.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { - background: `).concat(l("datatable.row.hover.background"),`; - color: `).concat(l("datatable.row.hover.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected { - background: `).concat(l("datatable.row.selected.background"),`; - color: `).concat(l("datatable.row.selected.color"),`; -} - -.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td { - border-block-end-color: `).concat(l("datatable.body.cell.selected.border.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected > td { - border-block-end-color: `).concat(l("datatable.body.cell.selected.border.color"),`; -} - -.p-datatable-tbody > tr:focus-visible, -.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected { - box-shadow: `).concat(l("datatable.row.focus.ring.shadow"),`; - outline: `).concat(l("datatable.row.focus.ring.width")," ").concat(l("datatable.row.focus.ring.style")," ").concat(l("datatable.row.focus.ring.color"),`; - outline-offset: `).concat(l("datatable.row.focus.ring.offset"),`; -} - -.p-datatable-tfoot > tr > td { - text-align: start; - padding: `).concat(l("datatable.footer.cell.padding"),`; - border-color: `).concat(l("datatable.footer.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - color: `).concat(l("datatable.footer.cell.color"),`; - background: `).concat(l("datatable.footer.cell.background"),`; -} - -.p-datatable-column-footer { - font-weight: `).concat(l("datatable.column.footer.font.weight"),`; -} - -.p-datatable-sortable-column { - cursor: pointer; - user-select: none; - outline-color: transparent; -} - -.p-datatable-column-title, -.p-datatable-sort-icon, -.p-datatable-sort-badge { - vertical-align: middle; -} - -.p-datatable-sort-icon { - color: `).concat(l("datatable.sort.icon.color"),`; - font-size: `).concat(l("datatable.sort.icon.size"),`; - width: `).concat(l("datatable.sort.icon.size"),`; - height: `).concat(l("datatable.sort.icon.size"),`; - transition: color `).concat(l("datatable.transition.duration"),`; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover { - background: `).concat(l("datatable.header.cell.hover.background"),`; - color: `).concat(l("datatable.header.cell.hover.color"),`; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon { - color: `).concat(l("datatable.sort.icon.hover.color"),`; -} - -.p-datatable-column-sorted { - background: `).concat(l("datatable.header.cell.selected.background"),`; - color: `).concat(l("datatable.header.cell.selected.color"),`; -} - -.p-datatable-column-sorted .p-datatable-sort-icon { - color: `).concat(l("datatable.header.cell.selected.color"),`; -} - -.p-datatable-sortable-column:focus-visible { - box-shadow: `).concat(l("datatable.header.cell.focus.ring.shadow"),`; - outline: `).concat(l("datatable.header.cell.focus.ring.width")," ").concat(l("datatable.header.cell.focus.ring.style")," ").concat(l("datatable.header.cell.focus.ring.color"),`; - outline-offset: `).concat(l("datatable.header.cell.focus.ring.offset"),`; -} - -.p-datatable-hoverable .p-datatable-selectable-row { - cursor: pointer; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-top > td { - box-shadow: inset 0 2px 0 0 `).concat(l("datatable.drop.point.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { - box-shadow: inset 0 -2px 0 0 `).concat(l("datatable.drop.point.color"),`; -} - -.p-datatable-loading-icon { - font-size: `).concat(l("datatable.loading.icon.size"),`; - width: `).concat(l("datatable.loading.icon.size"),`; - height: `).concat(l("datatable.loading.icon.size"),`; -} - -.p-datatable-gridlines .p-datatable-header { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-footer { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-top { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-bottom { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td { - border-width: 1px 0 0 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child { - border-width: 1px 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td { - border-width: 0 0 0 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 0 1px 0 1px; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { - background: `).concat(l("datatable.row.striped.background"),`; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { - background: `).concat(l("datatable.row.selected.background"),`; - color: `).concat(l("datatable.row.selected.color"),`; -} - -.p-datatable-striped.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { - background: `).concat(l("datatable.row.hover.background"),`; - color: `).concat(l("datatable.row.hover.color"),`; -} - -.p-datatable.p-datatable-sm .p-datatable-header { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-thead > tr > th { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-footer { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-lg .p-datatable-header { - padding: 1rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-thead > tr > th { - padding: 1rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td { - padding: 1rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td { - padding: 1rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-footer { - padding: 1rem 1.25rem; -} - -.p-datatable-row-toggle-button { - display: inline-flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; - width: `).concat(l("datatable.row.toggle.button.size"),`; - height: `).concat(l("datatable.row.toggle.button.size"),`; - color: `).concat(l("datatable.row.toggle.button.color"),`; - border: 0 none; - background: transparent; - cursor: pointer; - border-radius: `).concat(l("datatable.row.toggle.button.border.radius"),`; - transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, - outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; - outline-color: transparent; - user-select: none; -} - -.p-datatable-row-toggle-button:enabled:hover { - color: `).concat(l("datatable.row.toggle.button.hover.color"),`; - background: `).concat(l("datatable.row.toggle.button.hover.background"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover { - background: `).concat(l("datatable.row.toggle.button.selected.hover.background"),`; - color: `).concat(l("datatable.row.toggle.button.selected.hover.color"),`; -} - -.p-datatable-row-toggle-button:focus-visible { - box-shadow: `).concat(l("datatable.row.toggle.button.focus.ring.shadow"),`; - outline: `).concat(l("datatable.row.toggle.button.focus.ring.width")," ").concat(l("datatable.row.toggle.button.focus.ring.style")," ").concat(l("datatable.row.toggle.button.focus.ring.color"),`; - outline-offset: `).concat(l("datatable.row.toggle.button.focus.ring.offset"),`; -} - -.p-datatable-row-toggle-icon:dir(rtl) { - transform: rotate(180deg); -} -`)},gOn={root:function(o){var l=o.props;return["p-datatable p-component",{"p-datatable-hoverable":l.rowHover||l.selectionMode,"p-datatable-resizable":l.resizableColumns,"p-datatable-resizable-fit":l.resizableColumns&&l.columnResizeMode==="fit","p-datatable-scrollable":l.scrollable,"p-datatable-flex-scrollable":l.scrollable&&l.scrollHeight==="flex","p-datatable-striped":l.stripedRows,"p-datatable-gridlines":l.showGridlines,"p-datatable-sm":l.size==="small","p-datatable-lg":l.size==="large"}]},mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:function(o){var l=o.position;return"p-datatable-paginator-"+l},tableContainer:"p-datatable-table-container",table:function(o){var l=o.props;return["p-datatable-table",{"p-datatable-scrollable-table":l.scrollable,"p-datatable-resizable-table":l.resizableColumns,"p-datatable-resizable-table-fit":l.resizableColumns&&l.columnResizeMode==="fit"}]},thead:"p-datatable-thead",headerCell:function(o){var l=o.instance,a=o.props,p=o.column;return p&&!l.columnProp(p,"hidden")&&(a.rowGroupMode!=="subheader"||a.groupRowsBy!==l.columnProp(p,"field"))?["p-datatable-header-cell",{"p-datatable-frozen-column":l.columnProp(p,"frozen")}]:["p-datatable-header-cell",{"p-datatable-sortable-column":l.columnProp("sortable"),"p-datatable-resizable-column":l.resizableColumns,"p-datatable-column-sorted":l.isColumnSorted(),"p-datatable-frozen-column":l.columnProp("frozen"),"p-datatable-reorderable-column":a.reorderableColumns}]},columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:function(o){var l=o.props;return["p-datatable-filter",{"p-datatable-inline-filter":l.display==="row","p-datatable-popover-filter":l.display==="menu"}]},filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:function(o){o.instance;var l=o.props;return["p-datatable-filter-overlay p-component",{"p-datatable-filter-overlay-popover":l.display==="menu"}]},filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:function(o){var l=o.instance,a=o.matchMode;return["p-datatable-filter-constraint",{"p-datatable-filter-constraint-selected":a&&l.isRowMatchModeSelected(a.value)}]},filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:function(o){var l=o.props;return l.frozenRow?"p-datatable-tbody p-datatable-frozen-tbody":"p-datatable-tbody"},rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",row:function(o){var l=o.instance,a=o.props,p=o.index,g=o.columnSelectionMode,w=[];return a.selectionMode&&w.push("p-datatable-selectable-row"),a.selection&&w.push({"p-datatable-row-selected":g?l.isSelected&&l.$parentInstance.$parentInstance.highlightOnSelect:l.isSelected}),a.contextMenuSelection&&w.push({"p-datatable-contextmenu-row-selected":l.isSelectedWithContextMenu}),w.push(p%2===0?"p-row-even":"p-row-odd"),w},rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:function(o){var l=o.instance;return[{"p-datatable-frozen-column":l.columnProp("frozen")}]},reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:function(o){var l=o.instance;return[{"p-datatable-frozen-column":l.columnProp("frozen")}]},virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-footer",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down"},bOn={tableContainer:{overflow:"auto"},thead:{position:"sticky"},tfoot:{position:"sticky"}},wOn=Ps.extend({name:"datatable",theme:pOn,classes:gOn,inlineStyles:bOn}),Axe={name:"ChevronRightIcon",extends:su};function mOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1)]),16)}Axe.render=mOn;var VMt={name:"BarsIcon",extends:su};function vOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"},null,-1)]),16)}VMt.render=vOn;var qMt={name:"PencilIcon",extends:su};function yOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",fill:"currentColor"},null,-1)]),16)}qMt.render=yOn;var XMt={name:"MinusIcon",extends:su};function kOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}XMt.render=kOn;var COn=function(o){var l=o.dt;return` -.p-checkbox { - position: relative; - display: inline-flex; - user-select: none; - vertical-align: bottom; - width: `.concat(l("checkbox.width"),`; - height: `).concat(l("checkbox.height"),`; -} - -.p-checkbox-input { - cursor: pointer; - appearance: none; - position: absolute; - inset-block-start: 0; - inset-inline-start: 0; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - opacity: 0; - z-index: 1; - outline: 0 none; - border: 1px solid transparent; - border-radius: `).concat(l("checkbox.border.radius"),`; -} - -.p-checkbox-box { - display: flex; - justify-content: center; - align-items: center; - border-radius: `).concat(l("checkbox.border.radius"),`; - border: 1px solid `).concat(l("checkbox.border.color"),`; - background: `).concat(l("checkbox.background"),`; - width: `).concat(l("checkbox.width"),`; - height: `).concat(l("checkbox.height"),`; - transition: background `).concat(l("checkbox.transition.duration"),", color ").concat(l("checkbox.transition.duration"),", border-color ").concat(l("checkbox.transition.duration"),", box-shadow ").concat(l("checkbox.transition.duration"),", outline-color ").concat(l("checkbox.transition.duration"),`; - outline-color: transparent; - box-shadow: `).concat(l("checkbox.shadow"),`; -} - -.p-checkbox-icon { - transition-duration: `).concat(l("checkbox.transition.duration"),`; - color: `).concat(l("checkbox.icon.color"),`; - font-size: `).concat(l("checkbox.icon.size"),`; - width: `).concat(l("checkbox.icon.size"),`; - height: `).concat(l("checkbox.icon.size"),`; -} - -.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - border-color: `).concat(l("checkbox.hover.border.color"),`; -} - -.p-checkbox-checked .p-checkbox-box { - border-color: `).concat(l("checkbox.checked.border.color"),`; - background: `).concat(l("checkbox.checked.background"),`; -} - -.p-checkbox-checked .p-checkbox-icon { - color: `).concat(l("checkbox.icon.checked.color"),`; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - background: `).concat(l("checkbox.checked.hover.background"),`; - border-color: `).concat(l("checkbox.checked.hover.border.color"),`; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon { - color: `).concat(l("checkbox.icon.checked.hover.color"),`; -} - -.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { - border-color: `).concat(l("checkbox.focus.border.color"),`; - box-shadow: `).concat(l("checkbox.focus.ring.shadow"),`; - outline: `).concat(l("checkbox.focus.ring.width")," ").concat(l("checkbox.focus.ring.style")," ").concat(l("checkbox.focus.ring.color"),`; - outline-offset: `).concat(l("checkbox.focus.ring.offset"),`; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { - border-color: `).concat(l("checkbox.checked.focus.border.color"),`; -} - -.p-checkbox.p-invalid > .p-checkbox-box { - border-color: `).concat(l("checkbox.invalid.border.color"),`; -} - -.p-checkbox.p-variant-filled .p-checkbox-box { - background: `).concat(l("checkbox.filled.background"),`; -} - -.p-checkbox-checked.p-variant-filled .p-checkbox-box { - background: `).concat(l("checkbox.checked.background"),`; -} - -.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - background: `).concat(l("checkbox.checked.hover.background"),`; -} - -.p-checkbox.p-disabled { - opacity: 1; -} - -.p-checkbox.p-disabled .p-checkbox-box { - background: `).concat(l("checkbox.disabled.background"),`; - border-color: `).concat(l("checkbox.checked.disabled.border.color"),`; -} - -.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { - color: `).concat(l("checkbox.icon.disabled.color"),`; -} - -.p-checkbox-sm, -.p-checkbox-sm .p-checkbox-box { - width: `).concat(l("checkbox.sm.width"),`; - height: `).concat(l("checkbox.sm.height"),`; -} - -.p-checkbox-sm .p-checkbox-icon { - font-size: `).concat(l("checkbox.icon.sm.size"),`; - width: `).concat(l("checkbox.icon.sm.size"),`; - height: `).concat(l("checkbox.icon.sm.size"),`; -} - -.p-checkbox-lg, -.p-checkbox-lg .p-checkbox-box { - width: `).concat(l("checkbox.lg.width"),`; - height: `).concat(l("checkbox.lg.height"),`; -} - -.p-checkbox-lg .p-checkbox-icon { - font-size: `).concat(l("checkbox.icon.lg.size"),`; - width: `).concat(l("checkbox.icon.lg.size"),`; - height: `).concat(l("checkbox.icon.lg.size"),`; -} -`)},SOn={root:function(o){var l=o.instance,a=o.props;return["p-checkbox p-component",{"p-checkbox-checked":l.checked,"p-disabled":a.disabled,"p-invalid":l.$pcCheckboxGroup?l.$pcCheckboxGroup.$invalid:l.$invalid,"p-variant-filled":l.$variant==="filled","p-checkbox-sm p-inputfield-sm":a.size==="small","p-checkbox-lg p-inputfield-lg":a.size==="large"}]},box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},xOn=Ps.extend({name:"checkbox",theme:COn,classes:SOn}),EOn={name:"BaseCheckbox",extends:gH,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:xOn,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function TOn(r){return OOn(r)||POn(r)||MOn(r)||IOn()}function IOn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MOn(r,o){if(r){if(typeof r=="string")return kSe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?kSe(r,o):void 0}}function POn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function OOn(r){if(Array.isArray(r))return kSe(r)}function kSe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l .p-radiobutton-box { - border-color: `).concat(l("radiobutton.invalid.border.color"),`; -} - -.p-radiobutton.p-variant-filled .p-radiobutton-box { - background: `).concat(l("radiobutton.filled.background"),`; -} - -.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box { - background: `).concat(l("radiobutton.checked.background"),`; -} - -.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box { - background: `).concat(l("radiobutton.checked.hover.background"),`; -} - -.p-radiobutton.p-disabled { - opacity: 1; -} - -.p-radiobutton.p-disabled .p-radiobutton-box { - background: `).concat(l("radiobutton.disabled.background"),`; - border-color: `).concat(l("radiobutton.checked.disabled.border.color"),`; -} - -.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon { - background: `).concat(l("radiobutton.icon.disabled.color"),`; -} - -.p-radiobutton-sm, -.p-radiobutton-sm .p-radiobutton-box { - width: `).concat(l("radiobutton.sm.width"),`; - height: `).concat(l("radiobutton.sm.height"),`; -} - -.p-radiobutton-sm .p-radiobutton-icon { - font-size: `).concat(l("radiobutton.icon.sm.size"),`; - width: `).concat(l("radiobutton.icon.sm.size"),`; - height: `).concat(l("radiobutton.icon.sm.size"),`; -} - -.p-radiobutton-lg, -.p-radiobutton-lg .p-radiobutton-box { - width: `).concat(l("radiobutton.lg.width"),`; - height: `).concat(l("radiobutton.lg.height"),`; -} - -.p-radiobutton-lg .p-radiobutton-icon { - font-size: `).concat(l("radiobutton.icon.lg.size"),`; - width: `).concat(l("radiobutton.icon.lg.size"),`; - height: `).concat(l("radiobutton.icon.lg.size"),`; -} -`)},jOn={root:function(o){var l=o.instance,a=o.props;return["p-radiobutton p-component",{"p-radiobutton-checked":l.checked,"p-disabled":a.disabled,"p-invalid":l.$pcRadioButtonGroup?l.$pcRadioButtonGroup.$invalid:l.$invalid,"p-variant-filled":l.$variant==="filled","p-radiobutton-sm p-inputfield-sm":a.size==="small","p-radiobutton-lg p-inputfield-lg":a.size==="large"}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},$On=Ps.extend({name:"radiobutton",theme:LOn,classes:jOn}),DOn={name:"BaseRadioButton",extends:gH,props:{value:null,binary:Boolean,readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:$On,provide:function(){return{$pcRadioButton:this,$parentInstance:this}}},YMt={name:"RadioButton",extends:DOn,inheritAttrs:!1,emits:["change","focus","blur"],inject:{$pcRadioButtonGroup:{default:void 0}},methods:{getPTOptions:function(o){var l=o==="root"?this.ptmi:this.ptm;return l(o,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(o){if(!this.disabled&&!this.readonly){var l=this.binary?!this.checked:this.value;this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.writeValue(l,o):this.writeValue(l,o),this.$emit("change",o)}},onFocus:function(o){this.$emit("focus",o)},onBlur:function(o){var l,a;this.$emit("blur",o),(l=(a=this.formField).onBlur)===null||l===void 0||l.call(a,o)}},computed:{groupName:function(){return this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.groupName:this.$formName},checked:function(){var o=this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.d_value:this.d_value;return o!=null&&(this.binary?!!o:UE(o,this.value))}}},NOn=["data-p-checked","data-p-disabled"],BOn=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label","aria-invalid"];function FOn(r,o,l,a,p,g){return Ce(),vt("div",Ze({class:r.cx("root")},g.getPTOptions("root"),{"data-p-checked":g.checked,"data-p-disabled":r.disabled}),[br("input",Ze({id:r.inputId,type:"radio",class:[r.cx("input"),r.inputClass],style:r.inputStyle,value:r.value,name:g.groupName,checked:g.checked,tabindex:r.tabindex,disabled:r.disabled,readonly:r.readonly,"aria-labelledby":r.ariaLabelledby,"aria-label":r.ariaLabel,"aria-invalid":r.invalid||void 0,onFocus:o[0]||(o[0]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[1]||(o[1]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onChange:o[2]||(o[2]=function(){return g.onChange&&g.onChange.apply(g,arguments)})},g.getPTOptions("input")),null,16,BOn),br("div",Ze({class:r.cx("box")},g.getPTOptions("box")),[br("div",Ze({class:r.cx("icon")},g.getPTOptions("icon")),null,16)],16)],16,NOn)}YMt.render=FOn;var JMt={name:"FilterIcon",extends:su};function zOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1)]),16)}JMt.render=zOn;var QMt={name:"FilterSlashIcon",extends:su};function HOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z",fill:"currentColor"},null,-1)]),16)}QMt.render=HOn;var ZMt={name:"PlusIcon",extends:su};function KOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1)]),16)}ZMt.render=KOn;var ePt={name:"TrashIcon",extends:su};function UOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",fill:"currentColor"},null,-1)]),16)}ePt.render=UOn;var CSe={name:"SortAltIcon",extends:su};function GOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z",fill:"currentColor"},null,-1),br("path",{d:"M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z",fill:"currentColor"},null,-1),br("path",{d:"M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z",fill:"currentColor"},null,-1),br("path",{d:"M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",fill:"currentColor"},null,-1)]),16)}CSe.render=GOn;var SSe={name:"SortAmountDownIcon",extends:su};function WOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z",fill:"currentColor"},null,-1)]),16)}SSe.render=WOn;var xSe={name:"SortAmountUpAltIcon",extends:su};function VOn(r,o,l,a,p,g){return Ce(),vt("svg",Ze({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[br("path",{d:"M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",fill:"currentColor"},null,-1)]),16)}xSe.render=VOn;var qOn={name:"BaseDataTable",extends:Tl,props:{value:{type:Array,default:null},dataKey:{type:[String,Function],default:null},rows:{type:Number,default:0},first:{type:Number,default:0},totalRecords:{type:Number,default:0},paginator:{type:Boolean,default:!1},paginatorPosition:{type:String,default:"bottom"},alwaysShowPaginator:{type:Boolean,default:!0},paginatorTemplate:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},currentPageReportTemplate:{type:String,default:"({currentPage} of {totalPages})"},lazy:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},sortField:{type:[String,Function],default:null},sortOrder:{type:Number,default:null},defaultSortOrder:{type:Number,default:1},nullSortOrder:{type:Number,default:1},multiSortMeta:{type:Array,default:null},sortMode:{type:String,default:"single"},removableSort:{type:Boolean,default:!1},filters:{type:Object,default:null},filterDisplay:{type:String,default:null},globalFilterFields:{type:Array,default:null},filterLocale:{type:String,default:void 0},selection:{type:[Array,Object],default:null},selectionMode:{type:String,default:null},compareSelectionBy:{type:String,default:"deepEquals"},metaKeySelection:{type:Boolean,default:!1},contextMenu:{type:Boolean,default:!1},contextMenuSelection:{type:Object,default:null},selectAll:{type:Boolean,default:null},rowHover:{type:Boolean,default:!1},csvSeparator:{type:String,default:","},exportFilename:{type:String,default:"download"},exportFunction:{type:Function,default:null},resizableColumns:{type:Boolean,default:!1},columnResizeMode:{type:String,default:"fit"},reorderableColumns:{type:Boolean,default:!1},expandedRows:{type:[Array,Object],default:null},expandedRowIcon:{type:String,default:void 0},collapsedRowIcon:{type:String,default:void 0},rowGroupMode:{type:String,default:null},groupRowsBy:{type:[Array,String,Function],default:null},expandableRowGroups:{type:Boolean,default:!1},expandedRowGroups:{type:Array,default:null},stateStorage:{type:String,default:"session"},stateKey:{type:String,default:null},editMode:{type:String,default:null},editingRows:{type:Array,default:null},rowClass:{type:Function,default:null},rowStyle:{type:Function,default:null},scrollable:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},scrollHeight:{type:String,default:null},frozenValue:{type:Array,default:null},breakpoint:{type:String,default:"960px"},showHeaders:{type:Boolean,default:!0},showGridlines:{type:Boolean,default:!1},stripedRows:{type:Boolean,default:!1},highlightOnSelect:{type:Boolean,default:!1},size:{type:String,default:null},tableStyle:{type:null,default:null},tableClass:{type:[String,Object],default:null},tableProps:{type:Object,default:null},filterInputProps:{type:null,default:null},filterButtonProps:{type:Object,default:function(){return{filter:{severity:"secondary",text:!0,rounded:!0},inline:{clear:{severity:"secondary",text:!0,rounded:!0}},popover:{addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}}}}},editButtonProps:{type:Object,default:function(){return{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}}}},style:wOn,provide:function(){return{$pcDataTable:this,$parentInstance:this}}},tPt={name:"RowCheckbox",hostName:"DataTable",extends:Tl,emits:["change"],props:{value:null,checked:null,column:null,rowCheckboxIconTemplate:{type:Function,default:null},index:{type:Number,default:null}},methods:{getColumnPT:function(o){var l={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return Ze(this.ptm("column.".concat(o),{column:l}),this.ptm("column.".concat(o),l),this.ptmo(this.getColumnProp(),o,l))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(o){this.$attrs.disabled||this.$emit("change",{originalEvent:o,data:this.value})}},computed:{checkboxAriaLabel:function(){return this.$primevue.config.locale.aria?this.checked?this.$primevue.config.locale.aria.selectRow:this.$primevue.config.locale.aria.unselectRow:void 0}},components:{CheckIcon:$_,Checkbox:Lxe}};function XOn(r,o,l,a,p,g){var w=Ei("CheckIcon"),y=Ei("Checkbox");return Ce(),xn(y,{modelValue:l.checked,binary:!0,disabled:r.$attrs.disabled,"aria-label":g.checkboxAriaLabel,onChange:g.onChange,unstyled:r.unstyled,pt:g.getColumnPT("pcRowCheckbox")},{icon:di(function(S){return[l.rowCheckboxIconTemplate?(Ce(),xn(ko(l.rowCheckboxIconTemplate),{key:0,checked:S.checked,class:yo(S.class)},null,8,["checked","class"])):!l.rowCheckboxIconTemplate&&S.checked?(Ce(),xn(w,Ze({key:1,class:S.class},g.getColumnPT("pcRowCheckbox").icon),null,16,["class"])):sr("",!0)]}),_:1},8,["modelValue","disabled","aria-label","onChange","unstyled","pt"])}tPt.render=XOn;var nPt={name:"RowRadioButton",hostName:"DataTable",extends:Tl,emits:["change"],props:{value:null,checked:null,name:null,column:null,index:{type:Number,default:null}},methods:{getColumnPT:function(o){var l={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return Ze(this.ptm("column.".concat(o),{column:l}),this.ptm("column.".concat(o),l),this.ptmo(this.getColumnProp(),o,l))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(o){this.$attrs.disabled||this.$emit("change",{originalEvent:o,data:this.value})}},components:{RadioButton:YMt}};function YOn(r,o,l,a,p,g){var w=Ei("RadioButton");return Ce(),xn(w,{modelValue:l.checked,binary:!0,disabled:r.$attrs.disabled,name:l.name,onChange:g.onChange,unstyled:r.unstyled,pt:g.getColumnPT("pcRowRadiobutton")},null,8,["modelValue","disabled","name","onChange","unstyled","pt"])}nPt.render=YOn;var rPt={name:"BodyCell",hostName:"DataTable",extends:Tl,emits:["cell-edit-init","cell-edit-complete","cell-edit-cancel","row-edit-init","row-edit-save","row-edit-cancel","row-toggle","radio-change","checkbox-change","editing-meta-change"],props:{rowData:{type:Object,default:null},column:{type:Object,default:null},frozenRow:{type:Boolean,default:!1},rowIndex:{type:Number,default:null},index:{type:Number,default:null},isRowExpanded:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},editing:{type:Boolean,default:!1},editingMeta:{type:Object,default:null},editMode:{type:String,default:null},virtualScrollerContentProps:{type:Object,default:null},ariaControls:{type:String,default:null},name:{type:String,default:null},expandedRowIcon:{type:String,default:null},collapsedRowIcon:{type:String,default:null},editButtonProps:{type:Object,default:null}},documentEditListener:null,selfClick:!1,overlayEventListener:null,data:function(){return{d_editing:this.editing,styleObject:{}}},watch:{editing:function(o){this.d_editing=o},"$data.d_editing":function(o){this.$emit("editing-meta-change",{data:this.rowData,field:this.field||"field_".concat(this.index),index:this.rowIndex,editing:o})}},mounted:function(){this.columnProp("frozen")&&this.updateStickyPosition()},updated:function(){var o=this;this.columnProp("frozen")&&this.updateStickyPosition(),this.d_editing&&(this.editMode==="cell"||this.editMode==="row"&&this.columnProp("rowEditor"))&&setTimeout(function(){var l=dE(o.$el);l&&l.focus()},1)},beforeUnmount:function(){this.overlayEventListener&&(T7.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null)},methods:{columnProp:function(o){return G6(this.column,o)},getColumnPT:function(o){var l,a,p={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,size:(l=this.$parentInstance)===null||l===void 0||(l=l.$parentInstance)===null||l===void 0?void 0:l.size,showGridlines:(a=this.$parentInstance)===null||a===void 0||(a=a.$parentInstance)===null||a===void 0?void 0:a.showGridlines}};return Ze(this.ptm("column.".concat(o),{column:p}),this.ptm("column.".concat(o),p),this.ptmo(this.getColumnProp(),o,p))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},resolveFieldData:function(){return pl(this.rowData,this.field)},toggleRow:function(o){this.$emit("row-toggle",{originalEvent:o,data:this.rowData})},toggleRowWithRadio:function(o,l){this.$emit("radio-change",{originalEvent:o.originalEvent,index:l,data:o.data})},toggleRowWithCheckbox:function(o,l){this.$emit("checkbox-change",{originalEvent:o.originalEvent,index:l,data:o.data})},isEditable:function(){return this.column.children&&this.column.children.editor!=null},bindDocumentEditListener:function(){var o=this;this.documentEditListener||(this.documentEditListener=function(l){o.selfClick||o.completeEdit(l,"outside"),o.selfClick=!1},document.addEventListener("click",this.documentEditListener))},unbindDocumentEditListener:function(){this.documentEditListener&&(document.removeEventListener("click",this.documentEditListener),this.documentEditListener=null,this.selfClick=!1)},switchCellToViewMode:function(){this.d_editing=!1,this.unbindDocumentEditListener(),T7.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null},onClick:function(o){var l=this;this.editMode==="cell"&&this.isEditable()&&(this.selfClick=!0,this.d_editing||(this.d_editing=!0,this.bindDocumentEditListener(),this.$emit("cell-edit-init",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex}),this.overlayEventListener=function(a){l.$el&&l.$el.contains(a.target)&&(l.selfClick=!0)},T7.on("overlay-click",this.overlayEventListener)))},completeEdit:function(o,l){var a={originalEvent:o,data:this.rowData,newData:this.editingRowData,value:this.rowData[this.field],newValue:this.editingRowData[this.field],field:this.field,index:this.rowIndex,type:l,defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0}};this.$emit("cell-edit-complete",a),a.defaultPrevented||this.switchCellToViewMode()},onKeyDown:function(o){if(this.editMode==="cell")switch(o.code){case"Enter":case"NumpadEnter":this.completeEdit(o,"enter");break;case"Escape":this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex});break;case"Tab":this.completeEdit(o,"tab"),o.shiftKey?this.moveToPreviousCell(o):this.moveToNextCell(o);break}},moveToPreviousCell:function(o){var l=this.findCell(o.target),a=this.findPreviousEditableColumn(l);a&&(_5t(a,"click"),o.preventDefault())},moveToNextCell:function(o){var l=this.findCell(o.target),a=this.findNextEditableColumn(l);a&&(_5t(a,"click"),o.preventDefault())},findCell:function(o){if(o){for(var l=o;l&&!dh(l,"data-p-cell-editing");)l=l.parentElement;return l}else return null},findPreviousEditableColumn:function(o){var l=o.previousElementSibling;if(!l){var a=o.parentElement.previousElementSibling;a&&(l=a.lastElementChild)}return l?dh(l,"data-p-editable-column")?l:this.findPreviousEditableColumn(l):null},findNextEditableColumn:function(o){var l=o.nextElementSibling;if(!l){var a=o.parentElement.nextElementSibling;a&&(l=a.firstElementChild)}return l?dh(l,"data-p-editable-column")?l:this.findNextEditableColumn(l):null},onRowEditInit:function(o){this.$emit("row-edit-init",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditSave:function(o){this.$emit("row-edit-save",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditCancel:function(o){this.$emit("row-edit-cancel",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorInitCallback:function(o){this.$emit("row-edit-init",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorSaveCallback:function(o){this.editMode==="row"?this.$emit("row-edit-save",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):this.completeEdit(o,"enter")},editorCancelCallback:function(o){this.editMode==="row"?this.$emit("row-edit-cancel",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):(this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex}))},updateStickyPosition:function(){if(this.columnProp("frozen")){var o=this.columnProp("alignFrozen");if(o==="right"){var l=0,a=YSe(this.$el,'[data-p-frozen-column="true"]');a&&(l=Wh(a)+parseFloat(a.style.right||0)),this.styleObject.insetInlineEnd=l+"px"}else{var p=0,g=JSe(this.$el,'[data-p-frozen-column="true"]');g&&(p=Wh(g)+parseFloat(g.style.left||0)),this.styleObject.insetInlineStart=p+"px"}}},getVirtualScrollerProp:function(o){return this.virtualScrollerContentProps?this.virtualScrollerContentProps[o]:null}},computed:{editingRowData:function(){return this.editingMeta[this.rowIndex]?this.editingMeta[this.rowIndex].data:this.rowData},field:function(){return this.columnProp("field")},containerClass:function(){return[this.columnProp("bodyClass"),this.columnProp("class"),this.cx("bodyCell")]},containerStyle:function(){var o=this.columnProp("bodyStyle"),l=this.columnProp("style");return this.columnProp("frozen")?[l,o,this.styleObject]:[l,o]},loading:function(){return this.getVirtualScrollerProp("loading")},loadingOptions:function(){var o=this.getVirtualScrollerProp("getLoaderOptions");return o&&o(this.rowIndex,{cellIndex:this.index,cellFirst:this.index===0,cellLast:this.index===this.getVirtualScrollerProp("columns").length-1,cellEven:this.index%2===0,cellOdd:this.index%2!==0,column:this.column,field:this.field})},expandButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.isRowExpanded?this.$primevue.config.locale.aria.expandRow:this.$primevue.config.locale.aria.collapseRow:void 0},initButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.editRow:void 0},saveButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.saveEdit:void 0},cancelButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.cancelEdit:void 0}},components:{DTRadioButton:nPt,DTCheckbox:tPt,Button:L6,ChevronDownIcon:Hre,ChevronRightIcon:Axe,BarsIcon:VMt,PencilIcon:qMt,CheckIcon:$_,TimesIcon:Kre},directives:{ripple:n5}};function Qz(r){"@babel/helpers - typeof";return Qz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Qz(r)}function kCt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function cne(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function i_n(r,o){if(r){if(typeof r=="string")return CCt(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?CCt(r,o):void 0}}function CCt(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l-1:this.groupRowsBy===l:!1},findIndexInSelection:function(o){return this.findIndex(o,this.selection)},findIndex:function(o,l){var a=-1;if(l&&l.length){for(var p=0;p-1:!1},isRowGroupExpanded:function(){if(this.expandableRowGroups&&this.expandedRowGroups){var o=pl(this.rowData,this.groupRowsBy);return this.expandedRowGroups.indexOf(o)>-1}return!1},isSelected:function(){return this.rowData&&this.selection?this.dataKey?this.selectionKeys?this.selectionKeys[pl(this.rowData,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(this.rowData)>-1:this.equals(this.rowData,this.selection):!1},isSelectedWithContextMenu:function(){return this.rowData&&this.contextMenuSelection?this.equals(this.rowData,this.contextMenuSelection,this.dataKey):!1},shouldRenderRowGroupHeader:function(){var o=pl(this.rowData,this.groupRowsBy),l=this.value[this.rowIndex-1];if(l){var a=pl(l,this.groupRowsBy);return o!==a}else return!0},shouldRenderRowGroupFooter:function(){if(this.expandableRowGroups&&!this.isRowGroupExpanded)return!1;var o=pl(this.rowData,this.groupRowsBy),l=this.value[this.rowIndex+1];if(l){var a=pl(l,this.groupRowsBy);return o!==a}else return!0},columnsLength:function(){var o=this;if(this.columns){var l=0;return this.columns.forEach(function(a){o.columnProp(a,"selectionMode")==="single"&&l--,o.columnProp(a,"hidden")&&l++}),this.columns.length-l}return 0}},components:{DTBodyCell:rPt,ChevronDownIcon:Hre,ChevronRightIcon:Axe}};function eH(r){"@babel/helpers - typeof";return eH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},eH(r)}function ECt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function a7(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function E_n(r,o){if(r){if(typeof r=="string")return MCt(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?MCt(r,o):void 0}}function MCt(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1},removeRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.removeRule:void 0},addRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.addRule:void 0},isShowAddConstraint:function(){return this.showAddButton&&this.filters[this.field].operator&&this.fieldConstraints&&this.fieldConstraints.length-1?o:o+1},isMultiSorted:function(){return this.sortMode==="multiple"&&this.columnProp("sortable")&&this.getMultiSortMetaIndex()>-1},isColumnSorted:function(){return this.sortMode==="single"?this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")):this.isMultiSorted()},updateStickyPosition:function(){if(this.columnProp("frozen")){var o=this.columnProp("alignFrozen");if(o==="right"){var l=0,a=YSe(this.$el,'[data-p-frozen-column="true"]');a&&(l=Wh(a)+parseFloat(a.style.right||0)),this.styleObject.insetInlineEnd=l+"px"}else{var p=0,g=JSe(this.$el,'[data-p-frozen-column="true"]');g&&(p=Wh(g)+parseFloat(g.style.left||0)),this.styleObject.insetInlineStart=p+"px"}var w=this.$el.parentElement.nextElementSibling;if(w){var y=wne(this.$el);w.children[y]&&(w.children[y].style.left=this.styleObject.left,w.children[y].style.right=this.styleObject.right)}}},onHeaderCheckboxChange:function(o){this.$emit("checkbox-change",o)}},computed:{containerClass:function(){return[this.cx("headerCell"),this.filterColumn?this.columnProp("filterHeaderClass"):this.columnProp("headerClass"),this.columnProp("class")]},containerStyle:function(){var o=this.filterColumn?this.columnProp("filterHeaderStyle"):this.columnProp("headerStyle"),l=this.columnProp("style");return this.columnProp("frozen")?[l,o,this.styleObject]:[l,o]},sortState:function(){var o=!1,l=null;if(this.sortMode==="single")o=this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")),l=o?this.sortOrder:0;else if(this.sortMode==="multiple"){var a=this.getMultiSortMetaIndex();a>-1&&(o=!0,l=this.multiSortMeta[a].order)}return{sorted:o,sortOrder:l}},sortableColumnIcon:function(){var o=this.sortState,l=o.sorted,a=o.sortOrder;if(l){if(l&&a>0)return xSe;if(l&&a<0)return SSe}else return CSe;return null},ariaSort:function(){if(this.columnProp("sortable")){var o=this.sortState,l=o.sorted,a=o.sortOrder;return l&&a<0?"descending":l&&a>0?"ascending":"none"}else return null}},components:{Badge:e9e,DTHeaderCheckbox:$xe,DTColumnFilter:jxe,SortAltIcon:CSe,SortAmountUpAltIcon:xSe,SortAmountDownIcon:SSe}};function oH(r){"@babel/helpers - typeof";return oH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},oH(r)}function RCt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function ACt(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function Qu(r){return sRn(r)||oRn(r)||Dxe(r)||iRn()}function iRn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dxe(r,o){if(r){if(typeof r=="string")return ESe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?ESe(r,o):void 0}}function oRn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function sRn(r){if(Array.isArray(r))return ESe(r)}function ESe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);la?this.multisortField(o,l,a+1):0:x5t(p,g,this.d_multiSortMeta[a].order,w,this.d_nullSortOrder)},addMultiSortField:function(o){var l=this.d_multiSortMeta.findIndex(function(a){return a.field===o});l>=0?this.removableSort&&this.d_multiSortMeta[l].order*-1===this.defaultSortOrder?this.d_multiSortMeta.splice(l,1):this.d_multiSortMeta[l]={field:o,order:this.d_multiSortMeta[l].order*-1}:this.d_multiSortMeta.push({field:o,order:this.defaultSortOrder}),this.d_multiSortMeta=Qu(this.d_multiSortMeta)},getActiveFilters:function(o){var l=function(w){var y=$Ct(w,2),S=y[0],E=y[1];if(E.constraints){var I=E.constraints.filter(function(P){return P.value!==null});if(I.length>0)return[S,ab(ab({},E),{},{constraints:I})]}else if(E.value!==null)return[S,E]},a=function(w){return w!==void 0},p=Object.entries(o).map(l).filter(a);return Object.fromEntries(p)},filter:function(o){var l=this;if(o){this.clearEditingMetaData();var a=this.getActiveFilters(this.filters),p;a.global&&(p=this.globalFilterFields||this.columns.map(function(oe){return l.columnProp(oe,"filterField")||l.columnProp(oe,"field")}));for(var g=[],w=0;w=w.length?w.length-1:a+1;this.onRowClick({originalEvent:o,data:w[y],index:y})}o.preventDefault()},onArrowUpKey:function(o,l,a,p){var g=this.findPrevSelectableRow(l);if(g&&this.focusRowChange(l,g),o.shiftKey){var w=this.dataToRender(p.rows),y=a-1<=0?0:a-1;this.onRowClick({originalEvent:o,data:w[y],index:y})}o.preventDefault()},onHomeKey:function(o,l,a,p){var g=this.findFirstSelectableRow();if(g&&this.focusRowChange(l,g),o.ctrlKey&&o.shiftKey){var w=this.dataToRender(p.rows);this.$emit("update:selection",w.slice(0,a+1))}o.preventDefault()},onEndKey:function(o,l,a,p){var g=this.findLastSelectableRow();if(g&&this.focusRowChange(l,g),o.ctrlKey&&o.shiftKey){var w=this.dataToRender(p.rows);this.$emit("update:selection",w.slice(a,w.length))}o.preventDefault()},onEnterKey:function(o,l,a){this.onRowClick({originalEvent:o,data:l,index:a}),o.preventDefault()},onSpaceKey:function(o,l,a,p){if(this.onEnterKey(o,l,a),o.shiftKey&&this.selection!==null){var g=this.dataToRender(p.rows),w;if(this.selection.length>0){var y,S;y=F8e(this.selection[0],g),S=F8e(this.selection[this.selection.length-1],g),w=a<=y?S:y}else w=F8e(this.selection,g);var E=w!==a?g.slice(Math.min(w,a),Math.max(w,a)+1):l;this.$emit("update:selection",E)}},onTabKey:function(o,l){var a=this.$refs.bodyRef&&this.$refs.bodyRef.$el,p=FO(a,'tr[data-p-selectable-row="true"]');if(o.code==="Tab"&&p&&p.length>0){var g=E7(a,'tr[data-p-selected="true"]'),w=E7(a,'tr[data-p-selectable-row="true"][tabindex="0"]');g?(g.tabIndex="0",w&&w!==g&&(w.tabIndex="-1")):(p[0].tabIndex="0",w!==p[0]&&(p[l].tabIndex="-1"))}},findNextSelectableRow:function(o){var l=o.nextElementSibling;return l?dh(l,"data-p-selectable-row")===!0?l:this.findNextSelectableRow(l):null},findPrevSelectableRow:function(o){var l=o.previousElementSibling;return l?dh(l,"data-p-selectable-row")===!0?l:this.findPrevSelectableRow(l):null},findFirstSelectableRow:function(){var o=E7(this.$refs.table,'tr[data-p-selectable-row="true"]');return o},findLastSelectableRow:function(){var o=FO(this.$refs.table,'tr[data-p-selectable-row="true"]');return o?o[o.length-1]:null},focusRowChange:function(o,l){o.tabIndex="-1",l.tabIndex="0",P1(l)},toggleRowWithRadio:function(o){var l=o.data;this.isSelected(l)?(this.$emit("update:selection",null),this.$emit("row-unselect",{originalEvent:o.originalEvent,data:l,index:o.index,type:"radiobutton"})):(this.$emit("update:selection",l),this.$emit("row-select",{originalEvent:o.originalEvent,data:l,index:o.index,type:"radiobutton"}))},toggleRowWithCheckbox:function(o){var l=o.data;if(this.isSelected(l)){var a=this.findIndexInSelection(l),p=this.selection.filter(function(w,y){return y!=a});this.$emit("update:selection",p),this.$emit("row-unselect",{originalEvent:o.originalEvent,data:l,index:o.index,type:"checkbox"})}else{var g=this.selection?Qu(this.selection):[];g=[].concat(Qu(g),[l]),this.$emit("update:selection",g),this.$emit("row-select",{originalEvent:o.originalEvent,data:l,index:o.index,type:"checkbox"})}},toggleRowsWithCheckbox:function(o){if(this.selectAll!==null)this.$emit("select-all-change",o);else{var l=o.originalEvent,a=o.checked,p=[];a?(p=this.frozenValue?[].concat(Qu(this.frozenValue),Qu(this.processedData)):this.processedData,this.$emit("row-select-all",{originalEvent:l,data:p})):this.$emit("row-unselect-all",{originalEvent:l}),this.$emit("update:selection",p)}},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isSelected:function(o){return o&&this.selection?this.dataKey?this.d_selectionKeys?this.d_selectionKeys[pl(o,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(o)>-1:this.equals(o,this.selection):!1},findIndexInSelection:function(o){return this.findIndex(o,this.selection)},findIndex:function(o,l){var a=-1;if(l&&l.length){for(var p=0;pthis.anchorRowIndex?(l=this.anchorRowIndex,a=this.rangeRowIndex):this.rangeRowIndexparseInt(p,10)){if(this.columnResizeMode==="fit"){var g=this.resizeColumnElement.nextElementSibling,w=g.offsetWidth-o;a>15&&w>15&&this.resizeTableCells(a,w)}else if(this.columnResizeMode==="expand"){var y=this.$refs.table.offsetWidth+o+"px",S=function(_){_&&(_.style.width=_.style.minWidth=y)};if(this.resizeTableCells(a),S(this.$refs.table),!this.virtualScrollerDisabled){var E=this.$refs.bodyRef&&this.$refs.bodyRef.$el,I=this.$refs.frozenBodyRef&&this.$refs.frozenBodyRef.$el;S(E),S(I)}}this.$emit("column-resize-end",{element:this.resizeColumnElement,delta:o})}this.$refs.resizeHelper.style.display="none",this.resizeColumn=null,this.$el.removeAttribute("data-p-unselectable-text"),!this.isUnstyled&&(this.$el.style["user-select"]=""),this.unbindColumnResizeEvents(),this.isStateful()&&this.saveState()},resizeTableCells:function(o,l){var a=wne(this.resizeColumnElement),p=[],g=FO(this.$refs.table,'thead[data-pc-section="thead"] > tr > th');g.forEach(function(S){return p.push(Wh(S))}),this.destroyStyleElement(),this.createStyleElement();var w="",y='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');p.forEach(function(S,E){var I=E===a?o:l&&E===a+1?l:S,P="width: ".concat(I,"px !important; max-width: ").concat(I,"px !important");w+=` - `.concat(y,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(E+1,`), - `).concat(y,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(E+1,`), - `).concat(y,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(E+1,`) { - `).concat(P,` - } - `)}),this.styleElement.innerHTML=w},bindColumnResizeEvents:function(){var o=this;this.documentColumnResizeListener||(this.documentColumnResizeListener=document.addEventListener("mousemove",function(){o.columnResizing&&o.onColumnResize(event)})),this.documentColumnResizeEndListener||(this.documentColumnResizeEndListener=document.addEventListener("mouseup",function(){o.columnResizing&&(o.columnResizing=!1,o.onColumnResizeEnd())}))},unbindColumnResizeEvents:function(){this.documentColumnResizeListener&&(document.removeEventListener("document",this.documentColumnResizeListener),this.documentColumnResizeListener=null),this.documentColumnResizeEndListener&&(document.removeEventListener("document",this.documentColumnResizeEndListener),this.documentColumnResizeEndListener=null)},onColumnHeaderMouseDown:function(o){var l=o.originalEvent,a=o.column;this.reorderableColumns&&this.columnProp(a,"reorderableColumn")!==!1&&(l.target.nodeName==="INPUT"||l.target.nodeName==="TEXTAREA"||dh(l.target,'[data-pc-section="columnresizer"]')?l.currentTarget.draggable=!1:l.currentTarget.draggable=!0)},onColumnHeaderDragStart:function(o){var l=o.originalEvent,a=o.column;if(this.columnResizing){l.preventDefault();return}this.colReorderIconWidth=p1n(this.$refs.reorderIndicatorUp),this.colReorderIconHeight=h1n(this.$refs.reorderIndicatorUp),this.draggedColumn=a,this.draggedColumnElement=this.findParentHeader(l.target),l.dataTransfer.setData("text","b")},onColumnHeaderDragOver:function(o){var l=o.originalEvent,a=o.column,p=this.findParentHeader(l.target);if(this.reorderableColumns&&this.draggedColumnElement&&p&&!this.columnProp(a,"frozen")){l.preventDefault();var g=zO(this.$el),w=zO(p);if(this.draggedColumnElement!==p){var y=w.left-g.left,S=w.left+p.offsetWidth/2;this.$refs.reorderIndicatorUp.style.top=w.top-g.top-(this.colReorderIconHeight-1)+"px",this.$refs.reorderIndicatorDown.style.top=w.top-g.top+p.offsetHeight+"px",l.pageX>S?(this.$refs.reorderIndicatorUp.style.left=y+p.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=y+p.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=1):(this.$refs.reorderIndicatorUp.style.left=y-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=y-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=-1),this.$refs.reorderIndicatorUp.style.display="block",this.$refs.reorderIndicatorDown.style.display="block"}}},onColumnHeaderDragLeave:function(o){var l=o.originalEvent;this.reorderableColumns&&this.draggedColumnElement&&(l.preventDefault(),this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none")},onColumnHeaderDrop:function(o){var l=this,a=o.originalEvent,p=o.column;if(a.preventDefault(),this.draggedColumnElement){var g=wne(this.draggedColumnElement),w=wne(this.findParentHeader(a.target)),y=g!==w;if(y&&(w-g===1&&this.dropPosition===-1||w-g===-1&&this.dropPosition===1)&&(y=!1),y){var S=function(Q,ee){return l.columnProp(Q,"columnKey")||l.columnProp(ee,"columnKey")?l.columnProp(Q,"columnKey")===l.columnProp(ee,"columnKey"):l.columnProp(Q,"field")===l.columnProp(ee,"field")},E=this.columns.findIndex(function(q){return S(q,l.draggedColumn)}),I=this.columns.findIndex(function(q){return S(q,p)}),P=[],_=FO(this.$el,'thead[data-pc-section="thead"] > tr > th');_.forEach(function(q){return P.push(Wh(q))});var R=P.find(function(q,Q){return Q===E}),$=P.filter(function(q,Q){return Q!==E}),K=[].concat(Qu($.slice(0,I)),[R],Qu($.slice(I)));this.addColumnWidthStyles(K),IE&&this.dropPosition===-1&&I--,S5t(this.columns,E,I),this.updateReorderableColumns(),this.$emit("column-reorder",{originalEvent:a,dragIndex:E,dropIndex:I})}this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none",this.draggedColumnElement.draggable=!1,this.draggedColumnElement=null,this.draggedColumn=null,this.dropPosition=null}},findParentHeader:function(o){if(o.nodeName==="TH")return o;for(var l=o.parentElement;l.nodeName!=="TH"&&(l=l.parentElement,!!l););return l},findColumnByKey:function(o,l){if(o&&o.length)for(var a=0;athis.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1,a=Qu(this.processedData);S5t(a,this.draggedRowIndex+this.d_first,l+this.d_first),this.$emit("row-reorder",{originalEvent:o,dragIndex:this.draggedRowIndex,dropIndex:l,value:a})}this.onRowDragLeave(o),this.onRowDragEnd(o),o.preventDefault()},toggleRow:function(o){var l=this,a=o.expanded,p=Y_n(o,X_n),g=o.data,w;if(this.dataKey){var y=pl(g,this.dataKey);w=this.expandedRows?ab({},this.expandedRows):{},a?w[y]=!0:delete w[y]}else w=this.expandedRows?Qu(this.expandedRows):[],a?w.push(g):w=w.filter(function(S){return!l.equals(g,S)});this.$emit("update:expandedRows",w),a?this.$emit("row-expand",p):this.$emit("row-collapse",p)},toggleRowGroup:function(o){var l=o.originalEvent,a=o.data,p=pl(a,this.groupRowsBy),g=this.expandedRowGroups?Qu(this.expandedRowGroups):[];this.isRowGroupExpanded(a)?(g=g.filter(function(w){return w!==p}),this.$emit("update:expandedRowGroups",g),this.$emit("rowgroup-collapse",{originalEvent:l,data:p})):(g.push(p),this.$emit("update:expandedRowGroups",g),this.$emit("rowgroup-expand",{originalEvent:l,data:p}))},isRowGroupExpanded:function(o){if(this.expandableRowGroups&&this.expandedRowGroups){var l=pl(o,this.groupRowsBy);return this.expandedRowGroups.indexOf(l)>-1}return!1},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){var o=this.getStorage(),l={};this.paginator&&(l.first=this.d_first,l.rows=this.d_rows),this.d_sortField&&(l.sortField=this.d_sortField,l.sortOrder=this.d_sortOrder),this.d_multiSortMeta&&(l.multiSortMeta=this.d_multiSortMeta),this.hasFilters&&(l.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(l),this.reorderableColumns&&(l.columnOrder=this.d_columnOrder),this.expandedRows&&(l.expandedRows=this.expandedRows),this.expandedRowGroups&&(l.expandedRowGroups=this.expandedRowGroups),this.selection&&(l.selection=this.selection,l.selectionKeys=this.d_selectionKeys),Object.keys(l).length&&o.setItem(this.stateKey,JSON.stringify(l)),this.$emit("state-save",l)},restoreState:function(){var o=this.getStorage(),l=o.getItem(this.stateKey),a=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,p=function(y,S){return typeof S=="string"&&a.test(S)?new Date(S):S};if(l){var g=JSON.parse(l,p);this.paginator&&(this.d_first=g.first,this.d_rows=g.rows),g.sortField&&(this.d_sortField=g.sortField,this.d_sortOrder=g.sortOrder),g.multiSortMeta&&(this.d_multiSortMeta=g.multiSortMeta),g.filters&&this.$emit("update:filters",g.filters),this.resizableColumns&&(this.columnWidthsState=g.columnWidths,this.tableWidthState=g.tableWidth),this.reorderableColumns&&(this.d_columnOrder=g.columnOrder),g.expandedRows&&this.$emit("update:expandedRows",g.expandedRows),g.expandedRowGroups&&this.$emit("update:expandedRowGroups",g.expandedRowGroups),g.selection&&(this.d_selectionKeys=g.d_selectionKeys,this.$emit("update:selection",g.selection)),this.$emit("state-restore",g)}},saveColumnWidths:function(o){var l=[],a=FO(this.$el,'thead[data-pc-section="thead"] > tr > th');a.forEach(function(p){return l.push(Wh(p))}),o.columnWidths=l.join(","),this.columnResizeMode==="expand"&&(o.tableWidth=Wh(this.$refs.table)+"px")},addColumnWidthStyles:function(o){this.createStyleElement();var l="",a='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');o.forEach(function(p,g){var w="width: ".concat(p,"px !important; max-width: ").concat(p,"px !important");l+=` - `.concat(a,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(g+1,`), - `).concat(a,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(g+1,`), - `).concat(a,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(g+1,`) { - `).concat(w,` - } - `)}),this.styleElement.innerHTML=l},restoreColumnWidths:function(){if(this.columnWidthsState){var o=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),os(o)&&this.addColumnWidthStyles(o)}},onCellEditInit:function(o){this.$emit("cell-edit-init",o)},onCellEditComplete:function(o){this.$emit("cell-edit-complete",o)},onCellEditCancel:function(o){this.$emit("cell-edit-cancel",o)},onRowEditInit:function(o){var l=this.editingRows?Qu(this.editingRows):[];l.push(o.data),this.$emit("update:editingRows",l),this.$emit("row-edit-init",o)},onRowEditSave:function(o){var l=Qu(this.editingRows);l.splice(this.findIndex(o.data,l),1),this.$emit("update:editingRows",l),this.$emit("row-edit-save",o)},onRowEditCancel:function(o){var l=Qu(this.editingRows);l.splice(this.findIndex(o.data,l),1),this.$emit("update:editingRows",l),this.$emit("row-edit-cancel",o)},onEditingMetaChange:function(o){var l=o.data,a=o.field,p=o.index,g=o.editing,w=ab({},this.d_editingMeta),y=w[p];if(g)!y&&(y=w[p]={data:ab({},l),fields:[]}),y.fields.push(a);else if(y){var S=y.fields.filter(function(E){return E!==a});S.length?y.fields=S:delete w[p]}this.d_editingMeta=w},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(o){return{originalEvent:o,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(o){this.d_filters=o},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(){var o={};return this.filters&&Object.entries(this.filters).forEach(function(l){var a=$Ct(l,2),p=a[0],g=a[1];o[p]=g.operator?{operator:g.operator,constraints:g.constraints.map(function(w){return ab({},w)})}:ab({},g)}),o},updateReorderableColumns:function(){var o=this,l=[];this.columns.forEach(function(a){return l.push(o.columnProp(a,"columnKey")||o.columnProp(a,"field"))}),this.d_columnOrder=l},createStyleElement:function(){var o;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",zre(this.styleElement,"nonce",(o=this.$primevue)===null||o===void 0||(o=o.config)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(o){var l=o||this.processedData;if(l&&this.paginator){var a=this.lazy?0:this.d_first;return l.slice(a,a+this.d_rows)}return l},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(o){return os(o)}},computed:{columns:function(){var o=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var l=[],a=pF(this.d_columnOrder),p;try{for(a.s();!(p=a.n()).done;){var g=p.value,w=this.findColumnByKey(o,g);w&&!this.columnProp(w,"hidden")&&l.push(w)}}catch(y){a.e(y)}finally{a.f()}return[].concat(l,Qu(o.filter(function(y){return l.indexOf(y)<0})))}return o},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var o,l=this;return(o=this.columnGroups)===null||o===void 0?void 0:o.find(function(a){return l.columnProp(a,"type")==="header"})},footerColumnGroup:function(){var o,l=this;return(o=this.columnGroups)===null||o===void 0?void 0:o.find(function(a){return l.columnProp(a,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var o,l=this.value||[];return!this.lazy&&!((o=this.virtualScrollerOptions)!==null&&o!==void 0&&o.lazy)&&l&&l.length&&(this.hasFilters&&(l=this.filter(l)),this.sorted&&(this.sortMode==="single"?l=this.sortSingle(l):this.sortMode==="multiple"&&(l=this.sortMultiple(l)))),l},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var o=this.processedData;return o?o.length:0},empty:function(){var o=this.processedData;return!o||o.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var o=this;if(this.selectAll!==null)return this.selectAll;var l=this.frozenValue?[].concat(Qu(this.frozenValue),Qu(this.processedData)):this.processedData;return os(l)&&this.selection&&Array.isArray(this.selection)&&l.every(function(a){return o.selection.some(function(p){return o.equals(p,a)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return ab(ab({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:ab({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:ab({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return ab(ab({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return sm(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:WMt,DTTableHeader:uPt,DTTableBody:oPt,DTTableFooter:lPt,DTVirtualScroller:t9e,ArrowDownIcon:MMt,ArrowUpIcon:PMt,SpinnerIcon:pH}};function cH(r){"@babel/helpers - typeof";return cH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},cH(r)}function DCt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function NCt(r){for(var o=1;o{const S=[];return l.dataset.forEach(E=>{S.push({subject:f_(E.subject),subjectTerm:E.subject,predicate:f_(E.predicate),predicateTerm:E.predicate,object:f_(E.object),objectTerm:E.object,context:E.graph.value})}),S}),g=ho(()=>p.value.some(S=>S.context!=="")),w=Qo({global:{value:null,matchMode:Ta.CONTAINS},subject:{value:null,matchMode:Ta.CONTAINS},predicate:{value:null,matchMode:Ta.CONTAINS},object:{value:null,matchMode:Ta.CONTAINS},context:{value:null,matchMode:Ta.CONTAINS}});function y(S){a("selected",S)}return(S,E)=>(Ce(),xn(Nr(aPt),{filters:w.value,"onUpdate:filters":E[0]||(E[0]=I=>w.value=I),filterDisplay:"row",value:p.value,scrollable:"",scrollHeight:"flex",tableStyle:"min-width: 50rem;"},{default:di(()=>[xi(Nr(ane),{field:"subject",header:"Subject",style:{width:"20%"}},{filter:di(({filterModel:I,filterCallback:P})=>[xi(Nr(bE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>P(),placeholder:"Search Subject"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:di(({data:I})=>[br("span",{onClick:P=>y(I.subjectTerm),class:"node-link"},Rl(I.subject),9,hRn)]),_:1}),xi(Nr(ane),{field:"predicate",header:"Predicate",style:{width:"20%"}},{filter:di(({filterModel:I,filterCallback:P})=>[xi(Nr(bE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>P(),placeholder:"Search Predicate"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:di(({data:I})=>[br("span",{onClick:P=>y(I.subjectTerm),class:"node-link"},Rl(I.predicate),9,pRn)]),_:1}),xi(Nr(ane),{field:"object",header:"Object",style:{width:"20%"}},{filter:di(({filterModel:I,filterCallback:P})=>[xi(Nr(bE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>P(),placeholder:"Search Object"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:di(({data:I})=>[I.predicateTerm.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"||I.objectTerm.termType==="Literal"?(Ce(),vt("span",gRn,Rl(I.object),1)):(Ce(),vt("span",{key:1,onClick:P=>y(I.objectTerm),class:"node-link"},Rl(I.object),9,bRn))]),_:1}),g.value?(Ce(),xn(Nr(ane),{key:0,field:"context",header:"Context",style:{width:"20%"}},{filter:di(({filterModel:I,filterCallback:P})=>[xi(Nr(bE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>P(),placeholder:"Search Context aka Named Graph"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:1})):sr("",!0)]),_:1},8,["filters","value"]))}}),mRn=Pie(wRn,[["__scopeId","data-v-accad2da"]]),vRn=Mc({__name:"App",setup(r){const{fitView:o,nodeLookup:l}=_u(),a=Qo(S7.find(Q=>Q.type===pxe.Turtle)??S7[0]),p=Qo(S7),g=ho(()=>a.value.type),w=Qo(Rne.dataset()),y=Qo(!1),S=Qo(!0),E=Qo(!1);function I(Q){const ee=Rne.dataset(Q.quads);kIt.update(Q.prefix),w.value=ee}function P(){y.value=!0}function _(){y.value=!1}function R(){S.value=!S.value}function $(Q){const ee=S7.find(J=>J.type===Q)??S7[0];a.value=ee}const K=Rne;function q(Q){if(!(Q.termType==="NamedNode"||Q.termType==="BlankNode"))return;const ee=l.value.get(Q.value);ee&&o({nodes:[ee.id],duration:1e3,padding:.3})}return(Q,ee)=>(Ce(),vt(si,null,[xi(Nr(m9t),null,{start:di(()=>[y.value?sr("",!0):(Ce(),xn(Nr(L6),{key:0,icon:"pi pi-file-edit",class:"mr-2",severity:"secondary",onClick:P,text:""})),y.value?(Ce(),xn(Nr(L6),{key:1,icon:"pi pi-file-edit",class:"mr-2",severity:"secondary",onClick:_,text:""})):sr("",!0),xi(Nr(bH),{modelValue:a.value,"onUpdate:modelValue":ee[0]||(ee[0]=J=>a.value=J),options:p.value,optionLabel:"name",placeholder:"Select RDF Serialization",checkmark:"",highlightOnSelect:!1},null,8,["modelValue","options"])]),center:di(()=>ee[3]||(ee[3]=[br("span",null,"Sketch",-1)])),end:di(()=>[xi(Nr(L6),{icon:"pi pi-search",class:"mr-2",severity:"secondary",onClick:R,text:""}),xi(Nr(L6),{icon:"pi pi-lightbulb",class:"mr-2",severity:"secondary",onClick:ee[1]||(ee[1]=J=>E.value=!E.value),text:""}),xi(Nr(L6),{as:"a",icon:"pi pi-github",class:"mr-2",severity:"secondary",href:"https://github.com/zazuko/rdf-sketch",target:"_blank"})]),_:1}),xi(Nr(k9t),{style:{height:"calc(100vh - (67.5px + ( 2 * 8px) + 8px) )","margin-top":"8px"},class:"mb-8"},{default:di(()=>[xi(Nr(mne),{style:A1({display:y.value?"none":"flex"}),class:"flex items-center justify-center"},{default:di(()=>[xi(ACn,{format:g.value,onChange:I,onFormatChange:$},null,8,["format"])]),_:1},8,["style"]),xi(Nr(mne),{class:"flex items-center justify-center"},{default:di(()=>[xi(yPn,{dataset:w.value,env:Nr(K)},null,8,["dataset","env"])]),_:1}),S.value?sr("",!0):(Ce(),xn(Nr(mne),{key:0},{default:di(()=>[xi(mRn,{dataset:w.value,onSelected:q},null,8,["dataset"])]),_:1}))]),_:1}),xi(Nr(_9t),{visible:E.value,"onUpdate:visible":ee[2]||(ee[2]=J=>E.value=J),modal:"",header:"Zazuko RDF Sketch",style:{width:"60rem"}},{default:di(()=>ee[4]||(ee[4]=[br("div",{style:{display:"flex","flex-direction":"row",gap:"24px"}},[br("img",{src:_gn,alt:"Zazuko Logo",style:{width:"100px"}}),br("div",{style:{opacity:"0.8"}},[hb(" Sketch is a simple yet powerful tool for visualizing RDF graphs. It allows you to: "),br("ul",{style:{"padding-left":"20px"}},[br("li",null," Traverse and Explore: Seamlessly navigate through your RDF graphs. "),br("li",null," Search with Ease:Quickly locate nodes and connections. "),br("li",null," Interact Intuitively: Click edges and Objects (SPO) to navigate. ")]),hb(" You can find more tools and resources at "),br("a",{href:"https://zazuko.com",target:"_blank"},"Zazuko.com"),hb(". ")])],-1)])),_:1},8,["visible"])],64))}}),fPt=$hn(vRn);fPt.use(G1n,{theme:{preset:Ogn},options:{darkModeSelector:".my-app-dark",cssLayer:!1}});fPt.mount("#app");export{zCn as I,HCn as M,GCn as N,KCn as P,ZCn as U,kz as a,um as b,xwn as c,K7 as d,D_ as e,Z2n as f,I3 as g,sie as h,Skn as m,Kc as p,y9e as r,Qne as s,d3 as t}; diff --git a/assets/main-BTDzwsVJ.js b/assets/main-Br7cBokn.js similarity index 99% rename from assets/main-BTDzwsVJ.js rename to assets/main-Br7cBokn.js index a442488..fe529f0 100644 --- a/assets/main-BTDzwsVJ.js +++ b/assets/main-Br7cBokn.js @@ -1,4 +1,4 @@ -import{c as As,g as ws,b as Pt,s as $s,m as Ds}from"./main-BG8rCUrd.js";import{m as Ts}from"./main-agd2fCEO.js";function Ns(v,t){for(var n=0;ne[_]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var ut={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(v,t){(function(n,e){e(t)})(As,function(n){function e(){for(var i=arguments.length,s=Array(i),r=0;r1){s[0]=s[0].slice(0,-1);for(var h=s.length-1,l=1;l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Le=x-y,ee=Math.floor,Pe=String.fromCharCode;function xe(i){throw new RangeError(is[i])}function rs(i,s){for(var r=[],h=i.length;h--;)r[h]=s(i[h]);return r}function dt(i,s){var r=i.split("@"),h="";r.length>1&&(h=r[0]+"@",i=r[1]),i=i.replace(ss,".");var l=i.split("."),g=rs(l,s).join(".");return h+g}function pt(i){for(var s=[],r=0,h=i.length;r=55296&&l<=56319&&r>1,s+=ee(s/r);s>Le*S>>1;l+=x)s=ee(s/Le);return ee(l+(Le+1)*s/(s+Q))},bt=function(s){var r=[],h=s.length,l=0,g=V,I=B,w=s.lastIndexOf(K);w<0&&(w=0);for(var N=0;N=128&&xe("not-basic"),r.push(s.charCodeAt(N));for(var U=w>0?w+1:0;U=h&&xe("invalid-input");var j=as(s.charCodeAt(U++));(j>=x||j>ee((f-l)/T))&&xe("overflow"),l+=j*T;var C=M<=I?y:M>=I+S?S:M-I;if(jee(f/H)&&xe("overflow"),T*=H}var L=r.length+1;I=mt(l-A,L,A==0),ee(l/L)>f-g&&xe("overflow"),g+=ee(l/L),l%=L,r.splice(l++,0,g)}return String.fromCodePoint.apply(String,r)},kt=function(s){var r=[];s=pt(s);var h=s.length,l=V,g=0,I=B,w=!0,N=!1,U=void 0;try{for(var A=s[Symbol.iterator](),T;!(w=(T=A.next()).done);w=!0){var M=T.value;M<128&&r.push(Pe(M))}}catch(De){N=!0,U=De}finally{try{!w&&A.return&&A.return()}finally{if(N)throw U}}var j=r.length,C=j;for(j&&r.push(K);C=l&&meee((f-g)/Y)&&xe("overflow"),g+=(H-l)*Y,l=H;var ae=!0,be=!1,he=void 0;try{for(var $e=s[Symbol.iterator](),Nt;!(ae=(Nt=$e.next()).done);ae=!0){var Ot=Nt.value;if(Otf&&xe("overflow"),Ot==l){for(var Ne=g,Oe=x;;Oe+=x){var Ce=Oe<=I?y:Oe>=I+S?S:Oe-I;if(Ne>6|192).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase():r="%"+(s>>12|224).toString(16).toUpperCase()+"%"+(s>>6&63|128).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase(),r}function Ie(i){for(var s="",r=0,h=i.length;r=194&&l<224){if(h-r>=6){var g=parseInt(i.substr(r+4,2),16);s+=String.fromCharCode((l&31)<<6|g&63)}else s+=i.substr(r,6);r+=6}else if(l>=224){if(h-r>=9){var I=parseInt(i.substr(r+4,2),16),w=parseInt(i.substr(r+7,2),16);s+=String.fromCharCode((l&15)<<12|(I&63)<<6|w&63)}else s+=i.substr(r,9);r+=9}else s+=i.substr(r,3),r+=3}return s}function Fe(i,s){function r(h){var l=Ie(h);return l.match(s.UNRESERVED)?l:h}return i.scheme&&(i.scheme=String(i.scheme).replace(s.PCT_ENCODED,r).toLowerCase().replace(s.NOT_SCHEME,"")),i.userinfo!==void 0&&(i.userinfo=String(i.userinfo).replace(s.PCT_ENCODED,r).replace(s.NOT_USERINFO,te).replace(s.PCT_ENCODED,c)),i.host!==void 0&&(i.host=String(i.host).replace(s.PCT_ENCODED,r).toLowerCase().replace(s.NOT_HOST,te).replace(s.PCT_ENCODED,c)),i.path!==void 0&&(i.path=String(i.path).replace(s.PCT_ENCODED,r).replace(i.scheme?s.NOT_PATH:s.NOT_PATH_NOSCHEME,te).replace(s.PCT_ENCODED,c)),i.query!==void 0&&(i.query=String(i.query).replace(s.PCT_ENCODED,r).replace(s.NOT_QUERY,te).replace(s.PCT_ENCODED,c)),i.fragment!==void 0&&(i.fragment=String(i.fragment).replace(s.PCT_ENCODED,r).replace(s.NOT_FRAGMENT,te).replace(s.PCT_ENCODED,c)),i}function Ue(i){return i.replace(/^0*(.*)/,"$1")||"0"}function Me(i,s){var r=i.match(s.IPV4ADDRESS)||[],h=p(r,2),l=h[1];return l?l.split(".").map(Ue).join("."):i}function gt(i,s){var r=i.match(s.IPV6ADDRESS)||[],h=p(r,3),l=h[1],g=h[2];if(l){for(var I=l.toLowerCase().split("::").reverse(),w=p(I,2),N=w[0],U=w[1],A=U?U.split(":").map(Ue):[],T=N.split(":").map(Ue),M=s.IPV4ADDRESS.test(T[T.length-1]),j=M?7:8,C=T.length-j,H=Array(j),L=0;L1){var ye=H.slice(0,re.index),me=H.slice(re.index+re.length);_e=ye.join(":")+"::"+me.join(":")}else _e=H.join(":");return g&&(_e+="%"+g),_e}else return i}var hs=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fs="".match(/(){0}/)[1]===void 0;function ne(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={},h=s.iri!==!1?R:b;s.reference==="suffix"&&(i=(s.scheme?s.scheme+":":"")+"//"+i);var l=i.match(hs);if(l){fs?(r.scheme=l[1],r.userinfo=l[3],r.host=l[4],r.port=parseInt(l[5],10),r.path=l[6]||"",r.query=l[7],r.fragment=l[8],isNaN(r.port)&&(r.port=l[5])):(r.scheme=l[1]||void 0,r.userinfo=i.indexOf("@")!==-1?l[3]:void 0,r.host=i.indexOf("//")!==-1?l[4]:void 0,r.port=parseInt(l[5],10),r.path=l[6]||"",r.query=i.indexOf("?")!==-1?l[7]:void 0,r.fragment=i.indexOf("#")!==-1?l[8]:void 0,isNaN(r.port)&&(r.port=i.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?l[4]:void 0)),r.host&&(r.host=gt(Me(r.host,h),h)),r.scheme===void 0&&r.userinfo===void 0&&r.host===void 0&&r.port===void 0&&!r.path&&r.query===void 0?r.reference="same-document":r.scheme===void 0?r.reference="relative":r.fragment===void 0?r.reference="absolute":r.reference="uri",s.reference&&s.reference!=="suffix"&&s.reference!==r.reference&&(r.error=r.error||"URI is not a "+s.reference+" reference.");var g=W[(s.scheme||r.scheme||"").toLowerCase()];if(!s.unicodeSupport&&(!g||!g.unicodeSupport)){if(r.host&&(s.domainHost||g&&g.domainHost))try{r.host=ge.toASCII(r.host.replace(h.PCT_ENCODED,Ie).toLowerCase())}catch(I){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+I}Fe(r,b)}else Fe(r,h);g&&g.parse&&g.parse(r,s)}else r.error=r.error||"URI can not be parsed.";return r}function cs(i,s){var r=s.iri!==!1?R:b,h=[];return i.userinfo!==void 0&&(h.push(i.userinfo),h.push("@")),i.host!==void 0&&h.push(gt(Me(String(i.host),r),r).replace(r.IPV6ADDRESS,function(l,g,I){return"["+g+(I?"%25"+I:"")+"]"})),(typeof i.port=="number"||typeof i.port=="string")&&(h.push(":"),h.push(String(i.port))),h.length?h.join(""):void 0}var It=/^\.\.?\//,vt=/^\/\.(\/|$)/,Et=/^\/\.\.(\/|$)/,os=/^\/?(?:.|\n)*?(?=\/|$)/;function ve(i){for(var s=[];i.length;)if(i.match(It))i=i.replace(It,"");else if(i.match(vt))i=i.replace(vt,"/");else if(i.match(Et))i=i.replace(Et,"/"),s.pop();else if(i==="."||i==="..")i="";else{var r=i.match(os);if(r){var h=r[0];i=i.slice(h.length),s.push(h)}else throw new Error("Unexpected dot segment condition")}return s.join("")}function se(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=s.iri?R:b,h=[],l=W[(s.scheme||i.scheme||"").toLowerCase()];if(l&&l.serialize&&l.serialize(i,s),i.host&&!r.IPV6ADDRESS.test(i.host)){if(s.domainHost||l&&l.domainHost)try{i.host=s.iri?ge.toUnicode(i.host):ge.toASCII(i.host.replace(r.PCT_ENCODED,Ie).toLowerCase())}catch(w){i.error=i.error||"Host's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+w}}Fe(i,r),s.reference!=="suffix"&&i.scheme&&(h.push(i.scheme),h.push(":"));var g=cs(i,s);if(g!==void 0&&(s.reference!=="suffix"&&h.push("//"),h.push(g),i.path&&i.path.charAt(0)!=="/"&&h.push("/")),i.path!==void 0){var I=i.path;!s.absolutePath&&(!l||!l.absolutePath)&&(I=ve(I)),g===void 0&&(I=I.replace(/^\/\//,"/%2F")),h.push(I)}return i.query!==void 0&&(h.push("?"),h.push(i.query)),i.fragment!==void 0&&(h.push("#"),h.push(i.fragment)),h.join("")}function yt(i,s){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments[3],l={};return h||(i=ne(se(i,r),r),s=ne(se(s,r),r)),r=r||{},!r.tolerant&&s.scheme?(l.scheme=s.scheme,l.userinfo=s.userinfo,l.host=s.host,l.port=s.port,l.path=ve(s.path||""),l.query=s.query):(s.userinfo!==void 0||s.host!==void 0||s.port!==void 0?(l.userinfo=s.userinfo,l.host=s.host,l.port=s.port,l.path=ve(s.path||""),l.query=s.query):(s.path?(s.path.charAt(0)==="/"?l.path=ve(s.path):((i.userinfo!==void 0||i.host!==void 0||i.port!==void 0)&&!i.path?l.path="/"+s.path:i.path?l.path=i.path.slice(0,i.path.lastIndexOf("/")+1)+s.path:l.path=s.path,l.path=ve(l.path)),l.query=s.query):(l.path=i.path,s.query!==void 0?l.query=s.query:l.query=i.query),l.userinfo=i.userinfo,l.host=i.host,l.port=i.port),l.scheme=i.scheme),l.fragment=s.fragment,l}function us(i,s,r){var h=d({scheme:"null"},r);return se(yt(ne(i,h),ne(s,h),h,!0),h)}function ds(i,s){return typeof i=="string"?i=se(ne(i,s),s):a(i)==="object"&&(i=ne(se(i,s),s)),i}function ps(i,s,r){return typeof i=="string"?i=se(ne(i,r),r):a(i)==="object"&&(i=se(i,r)),typeof s=="string"?s=se(ne(s,r),r):a(s)==="object"&&(s=se(s,r)),i===s}function xs(i,s){return i&&i.toString().replace(!s||!s.iri?b.ESCAPE:R.ESCAPE,te)}function le(i,s){return i&&i.toString().replace(!s||!s.iri?b.PCT_ENCODED:R.PCT_ENCODED,Ie)}var Ae={scheme:"http",domainHost:!0,parse:function(s,r){return s.host||(s.error=s.error||"HTTP URIs must have a host."),s},serialize:function(s,r){var h=String(s.scheme).toLowerCase()==="https";return(s.port===(h?443:80)||s.port==="")&&(s.port=void 0),s.path||(s.path="/"),s}},jt={scheme:"https",domainHost:Ae.domainHost,parse:Ae.parse,serialize:Ae.serialize};function Rt(i){return typeof i.secure=="boolean"?i.secure:String(i.scheme).toLowerCase()==="wss"}var we={scheme:"ws",domainHost:!0,parse:function(s,r){var h=s;return h.secure=Rt(h),h.resourceName=(h.path||"/")+(h.query?"?"+h.query:""),h.path=void 0,h.query=void 0,h},serialize:function(s,r){if((s.port===(Rt(s)?443:80)||s.port==="")&&(s.port=void 0),typeof s.secure=="boolean"&&(s.scheme=s.secure?"wss":"ws",s.secure=void 0),s.resourceName){var h=s.resourceName.split("?"),l=p(h,2),g=l[0],I=l[1];s.path=g&&g!=="/"?g:void 0,s.query=I,s.resourceName=void 0}return s.fragment=void 0,s}},St={scheme:"wss",domainHost:we.domainHost,parse:we.parse,serialize:we.serialize},ms={},At="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ie="[0-9A-Fa-f]",bs=_(_("%[EFef]"+ie+"%"+ie+ie+"%"+ie+ie)+"|"+_("%[89A-Fa-f]"+ie+"%"+ie+ie)+"|"+_("%"+ie+ie)),ks="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",gs="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Is=e(gs,'[\\"\\\\]'),vs="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Es=new RegExp(At,"g"),Ee=new RegExp(bs,"g"),ys=new RegExp(e("[^]",ks,"[\\.]",'[\\"]',Is),"g"),wt=new RegExp(e("[^]",At,vs),"g"),js=wt;function He(i){var s=Ie(i);return s.match(Es)?s:i}var $t={scheme:"mailto",parse:function(s,r){var h=s,l=h.to=h.path?h.path.split(","):[];if(h.path=void 0,h.query){for(var g=!1,I={},w=h.query.split("&"),N=0,U=w.length;Nv.then(t).catch(n=>setTimeout(()=>{throw n},0))}catch{}}const P=Os,Cs=$s,qe=Ts,Te=Ds,Ls=v=>Te.quad(v._kt_subject,v._kt_predicate,v._kt_object,v._kt_graph),Ft=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,Ut=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_:0-9]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%])(([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.:]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%])*([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}:]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%]))?$/u,Ps=/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_0-9]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?$/u,ze=/^([^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,Fs=/^([^\0-\x20<>"{}|^`])*$/,z=/\\u([0-9A-Fa-f]{4})|\\U([0-9A-Fa-f]{8})/g,G=(v,t,n)=>String.fromCodePoint(parseInt(t||n,16)),q=Object.prototype.hasOwnProperty,J=/([A-Za-z][A-Za-z0-9_-]*)?:([A-Za-z_0-9:][A-Za-z0-9_:-]*)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,Ge=/([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:[^\s#@<[("'.;,{})\]\\](?:[^\s#@<[("';,{})\]\\]*[^\s#@<[("'.;,{})\]\\])?)?)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,Ve=/([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))(?:(?:[^\s#@<[("';,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))*(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"])))?)?)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,pe=/\\(.)/g,Z=/_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)(?:\s+|(?=[<:{,;\])#]))/y,Be=/_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)(?:\s+|(?=\.?[<:{,;\])#])|(?=\.[\s@#<({[}]))/y,$=/<([^\\>]*)>\s*/y,D=/<([^>]*)>\s*/y,fe=/([+-]?(?:[0-9]+(\.[0-9]+)?|(\.[0-9]+))(\.?[eE][+-]?[0-9]+)?)(?:\s+|(?=\.[^eE0-9]|[;,)\]]))/y,ce=/(?:(true|TRUE)|false|FALSE)\s*/y,Ze=/a(?:\s+|(?=[[("'<#]))/y,Ke=/\^\^/y,m=/\s*/y,Xe=/@([A-Za-z]+(?:-[A-Za-z0-9-]+)*)(?:\s+|(?=[.},;\])#]))/y,We=/(?:(@prefix)|[pP][rR][eE][fF][iI][xX])\s*/y,Ye=/([^#:]*):\s*/iy,Je=/(?:(@base)|[bB][aA][sS][eE])\s*/y,Qe=/(?:graph)?\s*<([^\\>]*)>\s*\{\s*/iy,et=/(?:graph)?\s*([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))(?:(?:[^\s#@<[("';,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))*(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"])))?)?)\s*\{\s*/iy,tt=/(?:graph)?\s*_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)\s*\{\s*/iy,st=/(?:graph)?\s*\[\s*\]\s*\{\s*/iy,it=/(?:graph)?\s*<([^>]*)>\s*\{\s*/iy,rt=/graph(?:\s+|(?=[#<[{]))/iy,k=/(#[^\n]*\n\s*)+/y,F=/^[A-Za-z][A-Za-z0-9.\-+]*:/,_t=/^((([A-Za-z0-9.\-+]*:\/)?\/[^/>]*)?(\/(?:[^/>]*\/)*)?[^>]*)$/,oe=/\[\s*\]\s*/y,je=/\[(?:\s+|(?=[^\]]))/y,Re=/\(\s*/y,at=/\]\s*/y,nt=/\{\s*/y,ue=/\}\s*/y,lt=/\.\s*/y,ht=/[\\"\r\n]/g,ft=/[\\'\r\n]/g,Mt=/"{1,2}$/g,Ht=/'{1,2}$/g,ct=/(\\|""")/g,ot=/(\\|''')/g,Se=(v,t,n,e,_,a)=>{if(t)switch(t){case"t":return" ";case"n":return` +import{c as As,g as ws,b as Pt,s as $s,m as Ds}from"./main-UPTG37W_.js";import{m as Ts}from"./main-DD61z6wK.js";function Ns(v,t){for(var n=0;ne[_]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var ut={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(v,t){(function(n,e){e(t)})(As,function(n){function e(){for(var i=arguments.length,s=Array(i),r=0;r1){s[0]=s[0].slice(0,-1);for(var h=s.length-1,l=1;l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Le=x-y,ee=Math.floor,Pe=String.fromCharCode;function xe(i){throw new RangeError(is[i])}function rs(i,s){for(var r=[],h=i.length;h--;)r[h]=s(i[h]);return r}function dt(i,s){var r=i.split("@"),h="";r.length>1&&(h=r[0]+"@",i=r[1]),i=i.replace(ss,".");var l=i.split("."),g=rs(l,s).join(".");return h+g}function pt(i){for(var s=[],r=0,h=i.length;r=55296&&l<=56319&&r>1,s+=ee(s/r);s>Le*S>>1;l+=x)s=ee(s/Le);return ee(l+(Le+1)*s/(s+Q))},bt=function(s){var r=[],h=s.length,l=0,g=V,I=B,w=s.lastIndexOf(K);w<0&&(w=0);for(var N=0;N=128&&xe("not-basic"),r.push(s.charCodeAt(N));for(var U=w>0?w+1:0;U=h&&xe("invalid-input");var j=as(s.charCodeAt(U++));(j>=x||j>ee((f-l)/T))&&xe("overflow"),l+=j*T;var C=M<=I?y:M>=I+S?S:M-I;if(jee(f/H)&&xe("overflow"),T*=H}var L=r.length+1;I=mt(l-A,L,A==0),ee(l/L)>f-g&&xe("overflow"),g+=ee(l/L),l%=L,r.splice(l++,0,g)}return String.fromCodePoint.apply(String,r)},kt=function(s){var r=[];s=pt(s);var h=s.length,l=V,g=0,I=B,w=!0,N=!1,U=void 0;try{for(var A=s[Symbol.iterator](),T;!(w=(T=A.next()).done);w=!0){var M=T.value;M<128&&r.push(Pe(M))}}catch(De){N=!0,U=De}finally{try{!w&&A.return&&A.return()}finally{if(N)throw U}}var j=r.length,C=j;for(j&&r.push(K);C=l&&meee((f-g)/Y)&&xe("overflow"),g+=(H-l)*Y,l=H;var ae=!0,be=!1,he=void 0;try{for(var $e=s[Symbol.iterator](),Nt;!(ae=(Nt=$e.next()).done);ae=!0){var Ot=Nt.value;if(Otf&&xe("overflow"),Ot==l){for(var Ne=g,Oe=x;;Oe+=x){var Ce=Oe<=I?y:Oe>=I+S?S:Oe-I;if(Ne>6|192).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase():r="%"+(s>>12|224).toString(16).toUpperCase()+"%"+(s>>6&63|128).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase(),r}function Ie(i){for(var s="",r=0,h=i.length;r=194&&l<224){if(h-r>=6){var g=parseInt(i.substr(r+4,2),16);s+=String.fromCharCode((l&31)<<6|g&63)}else s+=i.substr(r,6);r+=6}else if(l>=224){if(h-r>=9){var I=parseInt(i.substr(r+4,2),16),w=parseInt(i.substr(r+7,2),16);s+=String.fromCharCode((l&15)<<12|(I&63)<<6|w&63)}else s+=i.substr(r,9);r+=9}else s+=i.substr(r,3),r+=3}return s}function Fe(i,s){function r(h){var l=Ie(h);return l.match(s.UNRESERVED)?l:h}return i.scheme&&(i.scheme=String(i.scheme).replace(s.PCT_ENCODED,r).toLowerCase().replace(s.NOT_SCHEME,"")),i.userinfo!==void 0&&(i.userinfo=String(i.userinfo).replace(s.PCT_ENCODED,r).replace(s.NOT_USERINFO,te).replace(s.PCT_ENCODED,c)),i.host!==void 0&&(i.host=String(i.host).replace(s.PCT_ENCODED,r).toLowerCase().replace(s.NOT_HOST,te).replace(s.PCT_ENCODED,c)),i.path!==void 0&&(i.path=String(i.path).replace(s.PCT_ENCODED,r).replace(i.scheme?s.NOT_PATH:s.NOT_PATH_NOSCHEME,te).replace(s.PCT_ENCODED,c)),i.query!==void 0&&(i.query=String(i.query).replace(s.PCT_ENCODED,r).replace(s.NOT_QUERY,te).replace(s.PCT_ENCODED,c)),i.fragment!==void 0&&(i.fragment=String(i.fragment).replace(s.PCT_ENCODED,r).replace(s.NOT_FRAGMENT,te).replace(s.PCT_ENCODED,c)),i}function Ue(i){return i.replace(/^0*(.*)/,"$1")||"0"}function Me(i,s){var r=i.match(s.IPV4ADDRESS)||[],h=p(r,2),l=h[1];return l?l.split(".").map(Ue).join("."):i}function gt(i,s){var r=i.match(s.IPV6ADDRESS)||[],h=p(r,3),l=h[1],g=h[2];if(l){for(var I=l.toLowerCase().split("::").reverse(),w=p(I,2),N=w[0],U=w[1],A=U?U.split(":").map(Ue):[],T=N.split(":").map(Ue),M=s.IPV4ADDRESS.test(T[T.length-1]),j=M?7:8,C=T.length-j,H=Array(j),L=0;L1){var ye=H.slice(0,re.index),me=H.slice(re.index+re.length);_e=ye.join(":")+"::"+me.join(":")}else _e=H.join(":");return g&&(_e+="%"+g),_e}else return i}var hs=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fs="".match(/(){0}/)[1]===void 0;function ne(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={},h=s.iri!==!1?R:b;s.reference==="suffix"&&(i=(s.scheme?s.scheme+":":"")+"//"+i);var l=i.match(hs);if(l){fs?(r.scheme=l[1],r.userinfo=l[3],r.host=l[4],r.port=parseInt(l[5],10),r.path=l[6]||"",r.query=l[7],r.fragment=l[8],isNaN(r.port)&&(r.port=l[5])):(r.scheme=l[1]||void 0,r.userinfo=i.indexOf("@")!==-1?l[3]:void 0,r.host=i.indexOf("//")!==-1?l[4]:void 0,r.port=parseInt(l[5],10),r.path=l[6]||"",r.query=i.indexOf("?")!==-1?l[7]:void 0,r.fragment=i.indexOf("#")!==-1?l[8]:void 0,isNaN(r.port)&&(r.port=i.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?l[4]:void 0)),r.host&&(r.host=gt(Me(r.host,h),h)),r.scheme===void 0&&r.userinfo===void 0&&r.host===void 0&&r.port===void 0&&!r.path&&r.query===void 0?r.reference="same-document":r.scheme===void 0?r.reference="relative":r.fragment===void 0?r.reference="absolute":r.reference="uri",s.reference&&s.reference!=="suffix"&&s.reference!==r.reference&&(r.error=r.error||"URI is not a "+s.reference+" reference.");var g=W[(s.scheme||r.scheme||"").toLowerCase()];if(!s.unicodeSupport&&(!g||!g.unicodeSupport)){if(r.host&&(s.domainHost||g&&g.domainHost))try{r.host=ge.toASCII(r.host.replace(h.PCT_ENCODED,Ie).toLowerCase())}catch(I){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+I}Fe(r,b)}else Fe(r,h);g&&g.parse&&g.parse(r,s)}else r.error=r.error||"URI can not be parsed.";return r}function cs(i,s){var r=s.iri!==!1?R:b,h=[];return i.userinfo!==void 0&&(h.push(i.userinfo),h.push("@")),i.host!==void 0&&h.push(gt(Me(String(i.host),r),r).replace(r.IPV6ADDRESS,function(l,g,I){return"["+g+(I?"%25"+I:"")+"]"})),(typeof i.port=="number"||typeof i.port=="string")&&(h.push(":"),h.push(String(i.port))),h.length?h.join(""):void 0}var It=/^\.\.?\//,vt=/^\/\.(\/|$)/,Et=/^\/\.\.(\/|$)/,os=/^\/?(?:.|\n)*?(?=\/|$)/;function ve(i){for(var s=[];i.length;)if(i.match(It))i=i.replace(It,"");else if(i.match(vt))i=i.replace(vt,"/");else if(i.match(Et))i=i.replace(Et,"/"),s.pop();else if(i==="."||i==="..")i="";else{var r=i.match(os);if(r){var h=r[0];i=i.slice(h.length),s.push(h)}else throw new Error("Unexpected dot segment condition")}return s.join("")}function se(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=s.iri?R:b,h=[],l=W[(s.scheme||i.scheme||"").toLowerCase()];if(l&&l.serialize&&l.serialize(i,s),i.host&&!r.IPV6ADDRESS.test(i.host)){if(s.domainHost||l&&l.domainHost)try{i.host=s.iri?ge.toUnicode(i.host):ge.toASCII(i.host.replace(r.PCT_ENCODED,Ie).toLowerCase())}catch(w){i.error=i.error||"Host's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+w}}Fe(i,r),s.reference!=="suffix"&&i.scheme&&(h.push(i.scheme),h.push(":"));var g=cs(i,s);if(g!==void 0&&(s.reference!=="suffix"&&h.push("//"),h.push(g),i.path&&i.path.charAt(0)!=="/"&&h.push("/")),i.path!==void 0){var I=i.path;!s.absolutePath&&(!l||!l.absolutePath)&&(I=ve(I)),g===void 0&&(I=I.replace(/^\/\//,"/%2F")),h.push(I)}return i.query!==void 0&&(h.push("?"),h.push(i.query)),i.fragment!==void 0&&(h.push("#"),h.push(i.fragment)),h.join("")}function yt(i,s){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments[3],l={};return h||(i=ne(se(i,r),r),s=ne(se(s,r),r)),r=r||{},!r.tolerant&&s.scheme?(l.scheme=s.scheme,l.userinfo=s.userinfo,l.host=s.host,l.port=s.port,l.path=ve(s.path||""),l.query=s.query):(s.userinfo!==void 0||s.host!==void 0||s.port!==void 0?(l.userinfo=s.userinfo,l.host=s.host,l.port=s.port,l.path=ve(s.path||""),l.query=s.query):(s.path?(s.path.charAt(0)==="/"?l.path=ve(s.path):((i.userinfo!==void 0||i.host!==void 0||i.port!==void 0)&&!i.path?l.path="/"+s.path:i.path?l.path=i.path.slice(0,i.path.lastIndexOf("/")+1)+s.path:l.path=s.path,l.path=ve(l.path)),l.query=s.query):(l.path=i.path,s.query!==void 0?l.query=s.query:l.query=i.query),l.userinfo=i.userinfo,l.host=i.host,l.port=i.port),l.scheme=i.scheme),l.fragment=s.fragment,l}function us(i,s,r){var h=d({scheme:"null"},r);return se(yt(ne(i,h),ne(s,h),h,!0),h)}function ds(i,s){return typeof i=="string"?i=se(ne(i,s),s):a(i)==="object"&&(i=ne(se(i,s),s)),i}function ps(i,s,r){return typeof i=="string"?i=se(ne(i,r),r):a(i)==="object"&&(i=se(i,r)),typeof s=="string"?s=se(ne(s,r),r):a(s)==="object"&&(s=se(s,r)),i===s}function xs(i,s){return i&&i.toString().replace(!s||!s.iri?b.ESCAPE:R.ESCAPE,te)}function le(i,s){return i&&i.toString().replace(!s||!s.iri?b.PCT_ENCODED:R.PCT_ENCODED,Ie)}var Ae={scheme:"http",domainHost:!0,parse:function(s,r){return s.host||(s.error=s.error||"HTTP URIs must have a host."),s},serialize:function(s,r){var h=String(s.scheme).toLowerCase()==="https";return(s.port===(h?443:80)||s.port==="")&&(s.port=void 0),s.path||(s.path="/"),s}},jt={scheme:"https",domainHost:Ae.domainHost,parse:Ae.parse,serialize:Ae.serialize};function Rt(i){return typeof i.secure=="boolean"?i.secure:String(i.scheme).toLowerCase()==="wss"}var we={scheme:"ws",domainHost:!0,parse:function(s,r){var h=s;return h.secure=Rt(h),h.resourceName=(h.path||"/")+(h.query?"?"+h.query:""),h.path=void 0,h.query=void 0,h},serialize:function(s,r){if((s.port===(Rt(s)?443:80)||s.port==="")&&(s.port=void 0),typeof s.secure=="boolean"&&(s.scheme=s.secure?"wss":"ws",s.secure=void 0),s.resourceName){var h=s.resourceName.split("?"),l=p(h,2),g=l[0],I=l[1];s.path=g&&g!=="/"?g:void 0,s.query=I,s.resourceName=void 0}return s.fragment=void 0,s}},St={scheme:"wss",domainHost:we.domainHost,parse:we.parse,serialize:we.serialize},ms={},At="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ie="[0-9A-Fa-f]",bs=_(_("%[EFef]"+ie+"%"+ie+ie+"%"+ie+ie)+"|"+_("%[89A-Fa-f]"+ie+"%"+ie+ie)+"|"+_("%"+ie+ie)),ks="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",gs="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Is=e(gs,'[\\"\\\\]'),vs="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Es=new RegExp(At,"g"),Ee=new RegExp(bs,"g"),ys=new RegExp(e("[^]",ks,"[\\.]",'[\\"]',Is),"g"),wt=new RegExp(e("[^]",At,vs),"g"),js=wt;function He(i){var s=Ie(i);return s.match(Es)?s:i}var $t={scheme:"mailto",parse:function(s,r){var h=s,l=h.to=h.path?h.path.split(","):[];if(h.path=void 0,h.query){for(var g=!1,I={},w=h.query.split("&"),N=0,U=w.length;Nv.then(t).catch(n=>setTimeout(()=>{throw n},0))}catch{}}const P=Os,Cs=$s,qe=Ts,Te=Ds,Ls=v=>Te.quad(v._kt_subject,v._kt_predicate,v._kt_object,v._kt_graph),Ft=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,Ut=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_:0-9]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%])(([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.:]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%])*([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}:]|%[A-Fa-f0-9]{2}|\\[_~.\-!$&'()*+,;=/?#@%]))?$/u,Ps=/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_0-9]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?$/u,ze=/^([^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,Fs=/^([^\0-\x20<>"{}|^`])*$/,z=/\\u([0-9A-Fa-f]{4})|\\U([0-9A-Fa-f]{8})/g,G=(v,t,n)=>String.fromCodePoint(parseInt(t||n,16)),q=Object.prototype.hasOwnProperty,J=/([A-Za-z][A-Za-z0-9_-]*)?:([A-Za-z_0-9:][A-Za-z0-9_:-]*)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,Ge=/([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:[^\s#@<[("'.;,{})\]\\](?:[^\s#@<[("';,{})\]\\]*[^\s#@<[("'.;,{})\]\\])?)?)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,Ve=/([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))(?:(?:[^\s#@<[("';,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))*(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"])))?)?)(?:\s+|(?=\.?[<[("';,)\]#{}]|\.[\s\0]))/y,pe=/\\(.)/g,Z=/_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)(?:\s+|(?=[<:{,;\])#]))/y,Be=/_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)(?:\s+|(?=\.?[<:{,;\])#])|(?=\.[\s@#<({[}]))/y,$=/<([^\\>]*)>\s*/y,D=/<([^>]*)>\s*/y,fe=/([+-]?(?:[0-9]+(\.[0-9]+)?|(\.[0-9]+))(\.?[eE][+-]?[0-9]+)?)(?:\s+|(?=\.[^eE0-9]|[;,)\]]))/y,ce=/(?:(true|TRUE)|false|FALSE)\s*/y,Ze=/a(?:\s+|(?=[[("'<#]))/y,Ke=/\^\^/y,m=/\s*/y,Xe=/@([A-Za-z]+(?:-[A-Za-z0-9-]+)*)(?:\s+|(?=[.},;\])#]))/y,We=/(?:(@prefix)|[pP][rR][eE][fF][iI][xX])\s*/y,Ye=/([^#:]*):\s*/iy,Je=/(?:(@base)|[bB][aA][sS][eE])\s*/y,Qe=/(?:graph)?\s*<([^\\>]*)>\s*\{\s*/iy,et=/(?:graph)?\s*([^\s#@<[("':_{}][^\s#@<[("':{}]*)?:((?:(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))(?:(?:[^\s#@<[("';,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"]))*(?:[^\s#@<[("'.;,{})\]\\]|\\(?:%[0-9A-Fa-f][0-9A-Fa-f]|[^\s"])))?)?)\s*\{\s*/iy,tt=/(?:graph)?\s*_:(.(?:[^\s:<;,)\]#}]*[^\s:<.;,)\]#}])?)\s*\{\s*/iy,st=/(?:graph)?\s*\[\s*\]\s*\{\s*/iy,it=/(?:graph)?\s*<([^>]*)>\s*\{\s*/iy,rt=/graph(?:\s+|(?=[#<[{]))/iy,k=/(#[^\n]*\n\s*)+/y,F=/^[A-Za-z][A-Za-z0-9.\-+]*:/,_t=/^((([A-Za-z0-9.\-+]*:\/)?\/[^/>]*)?(\/(?:[^/>]*\/)*)?[^>]*)$/,oe=/\[\s*\]\s*/y,je=/\[(?:\s+|(?=[^\]]))/y,Re=/\(\s*/y,at=/\]\s*/y,nt=/\{\s*/y,ue=/\}\s*/y,lt=/\.\s*/y,ht=/[\\"\r\n]/g,ft=/[\\'\r\n]/g,Mt=/"{1,2}$/g,Ht=/'{1,2}$/g,ct=/(\\|""")/g,ot=/(\\|''')/g,Se=(v,t,n,e,_,a)=>{if(t)switch(t){case"t":return" ";case"n":return` `;case"r":return"\r";case"f":return"\f";case"b":return"\b";default:console.assert(`bad regex escape char mapping: '${t}'`)}else{if(n)return n;if(e)return String.fromCodePoint(parseInt(e,16));if(_)return String.fromCodePoint(parseInt(_,16));if(a)throw a[0]==="\\"?new Error(`expected string_literal but invalid escape sequence within contents: '${a}'. failed to parse a valid token`):new Error(`expected string_literal but invalid whitespace character within contents: ${JSON.stringify(a)}. failed to parse a valid token`);console.assert("unexpected no match branch in escape sequence replace callback")}},Us=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|([\r\n]|\\.))/g,qt=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|([\r\n]|\\[^uU]|\\u[^]{4}|\\U[^]{8}))/g,zt=v=>v.replace(Us,Se),Gt=v=>{let t=es.exec(v);if(t){let n=t.index;return[v.slice(0,n).replace(qt,Se),v.slice(n)]}else return[v.replace(qt,Se),""]},Ms=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|(\\.))/g,Vt=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|(\\[^uU]|\\u[^]{4}|\\U[^]{8}))/g,Bt=v=>v.replace(Ms,Se),Zt=v=>{let t=es.exec(v);if(t){let n=t.index;return[v.slice(0,n).replace(Vt,Se),v.slice(n)]}else return[v.replace(Vt,Se),""]},[es,Kt,Xt,Wt,Yt]=(()=>{function v(n){let e=RegExp.prototype.exec.call(this,n);if(e){let _=e[0].length-e[1].length;e.index+=_,e[0]=e[0].slice(_)}return e}let t=(()=>{try{new RegExp("(?(_.exec=a,_)}return n=>n()})();return[t(()=>new RegExp("(?new RegExp('(?new RegExp("(?new RegExp('(?new RegExp("(?(Ge.lastIndex=t,[Ge.exec(v),Ge.lastIndex]),Qt=(v,t)=>(Ve.lastIndex=t,[Ve.exec(v),Ve.lastIndex]);function Hs(v,t,n,e){let _=Math.min(t,Math.abs(t-15)),a=v.s;return v.error(` \`${a.substr(_,_+90).replace(/[\n\t]/g," ")}\` ${" ".repeat(t-_)}^ diff --git a/assets/main-Bda561Bu.js b/assets/main-CQ6G9sma.js similarity index 97% rename from assets/main-Bda561Bu.js rename to assets/main-CQ6G9sma.js index 6ef9ed4..39e5fcb 100644 --- a/assets/main-Bda561Bu.js +++ b/assets/main-CQ6G9sma.js @@ -1,4 +1,4 @@ -import{g,m as z}from"./main-BG8rCUrd.js";import{m as $}from"./main-C1w4gxl4.js";function C(a,s){for(var i=0;ie[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}const b=z,D=$,{c1:c,namedNode:j,$_PREFIX_CACHE:m}=b,v=/[&"<>']/g,M={"&":"&","<":"<",">":">",'"':""","'":"'"},k=/^xml/i,f=a=>a.replace(v,s=>M[s]),L=/([A-Za-z_][A-Za-z_.0-9-]*)$/,X=/([A-Za-z_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][A-Za-z_.0-9\-\u00b7\u203f-\u2040\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*$)/u;function x(a,s,i,e){if(e.isNamedNode)i+=' rdf:resource="'+f(e.value)+'"/>';else if(e.isLiteral)e.isLanguaged?i+=' xml:lang="'+e.language+'"':e.isDatatyped&&(i+=' rdf:datatype="'+f(e.datatype.value)+'"'),i+=">"+f(e.value)+"";else if(e.isBlankNode)i+=' rdf:nodeID="'+f(e.value)+'"/>';else throw new Error(`Not allowed to serialize term type '${e.termType}' as object in XML serializer.`);return i}function F(a,s){let i=a._h_prefixes,e=s.value,r,t;{let u=L.exec(e);if(u)r=e.slice(0,u.index),t=u[1];else if(u=X.exec(e),u)r=e.slice(0,u.index),t=u[1];else throw new Error(`Cannot serialize predicate <${e}> into an XML qname`)}let n,l;e:for(;;){t:for(;;)if(i[m]){let o=i[m]._h_inverse;if(r in o){let _=o[r];n=(_?_+":":"")+t,l="<"+n;break e}else break}else{for(let o in i)if(i[o]===r){n=(o?o+":":"")+t,l="<"+n;break t}break}let u="__g"+a._c_prefixes_tmp++;n=u+":"+t,l="<"+n+" xmlns:"+u+'="'+r+'"';break}return[n,l]}class p extends D{constructor(s={}){let i=s.prefixes;delete s.prefixes,super(s),this._b_prefixes_open=!0,this._c_prefixes_tmp=0,this._kt_subject=null;let e=` +import{g,m as z}from"./main-UPTG37W_.js";import{m as $}from"./main--2A8lBXz.js";function C(a,s){for(var i=0;ie[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}const b=z,D=$,{c1:c,namedNode:j,$_PREFIX_CACHE:m}=b,v=/[&"<>']/g,M={"&":"&","<":"<",">":">",'"':""","'":"'"},k=/^xml/i,f=a=>a.replace(v,s=>M[s]),L=/([A-Za-z_][A-Za-z_.0-9-]*)$/,X=/([A-Za-z_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][A-Za-z_.0-9\-\u00b7\u203f-\u2040\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*$)/u;function x(a,s,i,e){if(e.isNamedNode)i+=' rdf:resource="'+f(e.value)+'"/>';else if(e.isLiteral)e.isLanguaged?i+=' xml:lang="'+e.language+'"':e.isDatatyped&&(i+=' rdf:datatype="'+f(e.datatype.value)+'"'),i+=">"+f(e.value)+"";else if(e.isBlankNode)i+=' rdf:nodeID="'+f(e.value)+'"/>';else throw new Error(`Not allowed to serialize term type '${e.termType}' as object in XML serializer.`);return i}function F(a,s){let i=a._h_prefixes,e=s.value,r,t;{let u=L.exec(e);if(u)r=e.slice(0,u.index),t=u[1];else if(u=X.exec(e),u)r=e.slice(0,u.index),t=u[1];else throw new Error(`Cannot serialize predicate <${e}> into an XML qname`)}let n,l;e:for(;;){t:for(;;)if(i[m]){let o=i[m]._h_inverse;if(r in o){let _=o[r];n=(_?_+":":"")+t,l="<"+n;break e}else break}else{for(let o in i)if(i[o]===r){n=(o?o+":":"")+t,l="<"+n;break t}break}let u="__g"+a._c_prefixes_tmp++;n=u+":"+t,l="<"+n+" xmlns:"+u+'="'+r+'"';break}return[n,l]}class p extends D{constructor(s={}){let i=s.prefixes;delete s.prefixes,super(s),this._b_prefixes_open=!0,this._c_prefixes_tmp=0,this._kt_subject=null;let e=` to <${s[t]}>`)}if(k.test(t))throw new Error(`Cannot serialize prefix '${t}' since it is reserved under the blanket XML namespace.`);r+=` xmlns${t?":"+t:""}="${j(s[t]).value}"`}return r&&this._update_prefixes(s,!0),r}_serialize_c3r(s){let i="";this._b_prefixes_open&&(i+=">",this._b_prefixes_open=!1);let e=this._h_prefixes;this._kt_subject!==null&&(i+=` diff --git a/assets/main-bFWG0oY6.js b/assets/main-CakvuChy.js similarity index 94% rename from assets/main-bFWG0oY6.js rename to assets/main-CakvuChy.js index 30999ae..0a8a59d 100644 --- a/assets/main-bFWG0oY6.js +++ b/assets/main-CakvuChy.js @@ -1,3 +1,3 @@ -import{m as p}from"./main-BG8rCUrd.js";import{m as w}from"./main-C1w4gxl4.js";const _=p,d=w,u=/^`\[[^\]]+\](.*)$/,m=new Map([[Date,a=>_.dateTime(a)],[Number,a=>_.number(a)]]);class g extends d{constructor(e={}){super(e);let{lists:t=null}=e,s=m;if(e.coercions){s=new Map(s);for(let[r,n]of e.coercions)s.set(r,n)}let i={first:">http://www.w3.org/1999/02/22-rdf-syntax-ns#first",rest:">http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",nil:">http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"};if(t){let{first:r=null,rest:n=null,nil:l=null}=t;r&&(i.first=r),n&&(i.rest=n),l&&(i.nil=l)}Object.assign(this,{_xc_state:0,_hm_coercions:s,_g_lists:i})}_serialize_comment(e,t){let s="";if(this._xc_state!==2&&(s+=` +import{m as p}from"./main-UPTG37W_.js";import{m as w}from"./main--2A8lBXz.js";const _=p,d=w,u=/^`\[[^\]]+\](.*)$/,m=new Map([[Date,a=>_.dateTime(a)],[Number,a=>_.number(a)]]);class g extends d{constructor(e={}){super(e);let{lists:t=null}=e,s=m;if(e.coercions){s=new Map(s);for(let[r,n]of e.coercions)s.set(r,n)}let i={first:">http://www.w3.org/1999/02/22-rdf-syntax-ns#first",rest:">http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",nil:">http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"};if(t){let{first:r=null,rest:n=null,nil:l=null}=t;r&&(i.first=r),n&&(i.rest=n),l&&(i.nil=l)}Object.assign(this,{_xc_state:0,_hm_coercions:s,_g_lists:i})}_serialize_comment(e,t){let s="";if(this._xc_state!==2&&(s+=` `,this._xc_state=2),t&&t.width){let i=t.width,r=[];for(;e.length>i;){let n=e.slice(0,i+1),l=/^(.*[^\s])\s+/.exec(n);if(l){let o=l[1];r.push(o),e=e.slice(o.length).replace(/^\s+/,"")}else r.push(e.slice(0,i)),e=e.slice(i)}e=r.join(` `)}return s+(super._serialize_comment(e)||"")}_transcode_list(e,t=this._g_lists){if(e.length){let s=e[0],i=s;return Array.isArray(s)&&(i=this._transcode_list(s,t)),{[t.first]:i,[t.rest]:e.length===1?t.nil:this._transcode_list(e.slice(1),t)}}else return t.nil}_apply_directive(e,t){let s=u.exec(e);if(!s)throw new Error(`Invalid writable data event directive string: "${e}"`);let i;try{i=JSON.parse(s[1])}catch{throw new Error(`Unable to parse JSON in writable data event directive: "${s[1]}"`)}let r=i.type;switch(r){case"comment":{if(this._serialize_comment)return{write:this._serialize_comment(t+"",i)};break}case"newlines":{if(this._serialize_newlines)return{write:this._serialize_newlines(t)};break}case"config":switch(i.value){case"lists":{let n=this._a_list_serializers;n.push(this._serialize_list_object);let l=this._g_lists,o={first:t.first||l.first,rest:t.rest||l.rest,nil:t.nil||l.nil};return this._serialize_list_object=function(c,h){let f=this._transcode_list(c,o);return this._encode_objects(f,h)},{exit:()=>{this._serialize_list_object=n.pop()}}}default:throw new Error(`No such config key '${i.value}'`)}default:throw new Error(`Invalid writable data event directive type: '${r}'`)}return{}}_serialize_c4(e){let t=this._h_prefixes,s=[],i="";for(let r in e)r!=="*"&&s.push(r),i+=this._serialize_c3(e[r]);if(s.length){let r=`Destination format does not support quads; an implicit union into the default graph was performed on the quads contained in graphs: ${s.map(n=>_.c1(n,t).verbose()).join(", ")}`;this.emit("warning",r)||console.warn(r)}return i}}var z=g;export{z as m}; diff --git a/assets/main-CCSMH7eF.css b/assets/main-Cn_tAjBT.css similarity index 98% rename from assets/main-CCSMH7eF.css rename to assets/main-Cn_tAjBT.css index 5c4d247..e48e1fb 100644 --- a/assets/main-CCSMH7eF.css +++ b/assets/main-Cn_tAjBT.css @@ -1 +1 @@ -@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@layer tailwind-base,primevue,tailwind-utilities;@layer tailwind-base{@tailwind base;}@layer tailwind-utilities{@tailwind components;@tailwind utilities;}body{height:100vh;max-height:100vh;overflow:hidden;margin:8px;font-family:Helvetica Neue,sans-serif}a{text-decoration:none}.editor-container[data-v-abcbd41c]{height:100%;width:100%;border-top-left-radius:6px;border-bottom-left-radius:6px;overflow:hidden}rdf-editor[data-v-abcbd41c]{height:100%;width:100%}.term[data-v-3bf480c8]{cursor:default;-webkit-user-select:text;user-select:text}.literal[data-v-3bf480c8]{max-width:300px;text-overflow:ellipsis;overflow:hidden;display:block;white-space:nowrap}.resource-card[data-v-0fcec032]{border-radius:5px;background-color:#fff;box-shadow:0 4px 6px #6b6b6bcc;min-width:500px}.resource-card-header[data-v-0fcec032]{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background-color:gray;border-top-left-radius:5px;border-top-right-radius:5px}.resource-title[data-v-0fcec032]{font-weight:700}table[data-v-0fcec032]{width:100%;border-collapse:collapse;color:gray}tr[data-v-0fcec032]{position:relative}tr[data-v-0fcec032]:not(:last-child){border-bottom:1px solid lightgray!important}.table-container[data-v-0fcec032]{display:table;width:100%}.table-row[data-v-0fcec032]{display:table-row;position:relative!important;border-bottom:1px solid gray;right:0;top:0}.predicate[data-v-0fcec032],.object[data-v-0fcec032]{display:table-cell;padding:16px 8px;text-align:left;color:#000}.predicate[data-v-0fcec032]{padding-left:16px;text-align:left;color:#000;padding-top:16px;padding-bottom:16px}.object[data-v-0fcec032]{padding-right:16px;text-align:left}.vue-flow{position:relative;width:100%;height:100%;overflow:hidden;z-index:0;direction:ltr}.vue-flow__container{position:absolute;height:100%;width:100%;left:0;top:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{border-width:1px;border-style:solid;border-color:#bbb}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid #555}.vue-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.vue-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{left:50%;bottom:0;transform:translate(-50%,50%)}.vue-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{position:absolute;z-index:5;margin:15px}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10}}:root{--vf-node-bg: #fff;--vf-node-text: #222;--vf-connection-path: #b1b1b7;--vf-handle: #555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;text-align:center;border-width:1px;border-style:solid;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-color:var(--vf-node-color)}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color: var(--vf-node-color, #0041d0);--vf-handle: var(--vf-node-color, #0041d0);--vf-box-shadow: var(--vf-node-color, #0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color, #0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{outline:none;border:1px solid var(--vf-node-color, #0041d0)}.vue-flow__node-default{--vf-handle: var(--vf-node-color, #1a192b);--vf-box-shadow: var(--vf-node-color, #1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color, #1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{outline:none;border:1px solid var(--vf-node-color, #1a192b)}.vue-flow__node-output{--vf-handle: var(--vf-node-color, #ff0072);--vf-box-shadow: var(--vf-node-color, #ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color, #ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid var(--vf-node-color, #ff0072)}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{width:6px;height:6px;background:var(--vf-handle);border:1px solid #fff;border-radius:100%}#menu{position:fixed;bottom:20px;right:20px;background-color:#fff;border:1px solid black;padding:10px;pointer-events:auto}.control{display:flex;flex-direction:row;align-items:center;gap:.5rem}.cog{margin-left:auto;margin-right:0;color:#8a9ba1}span[data-v-accad2da]{font-size:12px}.node-link[data-v-accad2da]{cursor:pointer;text-decoration:underline} +@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@layer tailwind-base,primevue,tailwind-utilities;@layer tailwind-base{@tailwind base;}@layer tailwind-utilities{@tailwind components;@tailwind utilities;}body{height:100vh;max-height:100vh;overflow:hidden;margin:8px;font-family:Helvetica Neue,sans-serif}a{text-decoration:none}.editor-container[data-v-abcbd41c]{height:100%;width:100%;border-top-left-radius:6px;border-bottom-left-radius:6px;overflow:hidden}rdf-editor[data-v-abcbd41c]{height:100%;width:100%}.term[data-v-3bf480c8]{cursor:default;-webkit-user-select:text;user-select:text}.literal[data-v-3bf480c8]{max-width:300px;text-overflow:ellipsis;overflow:hidden;display:block;white-space:nowrap}.resource-card[data-v-0fcec032]{border-radius:5px;background-color:#fff;box-shadow:0 4px 6px #6b6b6bcc;min-width:500px}.resource-card-header[data-v-0fcec032]{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background-color:gray;border-top-left-radius:5px;border-top-right-radius:5px}.resource-title[data-v-0fcec032]{font-weight:700}table[data-v-0fcec032]{width:100%;border-collapse:collapse;color:gray}tr[data-v-0fcec032]{position:relative}tr[data-v-0fcec032]:not(:last-child){border-bottom:1px solid lightgray!important}.table-container[data-v-0fcec032]{display:table;width:100%}.table-row[data-v-0fcec032]{display:table-row;position:relative!important;border-bottom:1px solid gray;right:0;top:0}.predicate[data-v-0fcec032],.object[data-v-0fcec032]{display:table-cell;padding:16px 8px;text-align:left;color:#000}.predicate[data-v-0fcec032]{padding-left:16px;text-align:left;color:#000;padding-top:16px;padding-bottom:16px}.object[data-v-0fcec032]{padding-right:16px;text-align:left}.vue-flow{position:relative;width:100%;height:100%;overflow:hidden;z-index:0;direction:ltr}.vue-flow__container{position:absolute;height:100%;width:100%;left:0;top:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{border-width:1px;border-style:solid;border-color:#bbb}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid #555}.vue-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.vue-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{left:50%;bottom:0;transform:translate(-50%,50%)}.vue-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{position:absolute;z-index:5;margin:15px}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10}}:root{--vf-node-bg: #fff;--vf-node-text: #222;--vf-connection-path: #b1b1b7;--vf-handle: #555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;text-align:center;border-width:1px;border-style:solid;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-color:var(--vf-node-color)}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color: var(--vf-node-color, #0041d0);--vf-handle: var(--vf-node-color, #0041d0);--vf-box-shadow: var(--vf-node-color, #0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color, #0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{outline:none;border:1px solid var(--vf-node-color, #0041d0)}.vue-flow__node-default{--vf-handle: var(--vf-node-color, #1a192b);--vf-box-shadow: var(--vf-node-color, #1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color, #1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{outline:none;border:1px solid var(--vf-node-color, #1a192b)}.vue-flow__node-output{--vf-handle: var(--vf-node-color, #ff0072);--vf-box-shadow: var(--vf-node-color, #ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color, #ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid var(--vf-node-color, #ff0072)}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{width:6px;height:6px;background:var(--vf-handle);border:1px solid #fff;border-radius:100%}#menu{position:fixed;bottom:20px;right:20px;background-color:#fff;border:1px solid black;padding:10px;pointer-events:auto}.control{display:flex;flex-direction:row;align-items:center;gap:.5rem}.cog{margin-left:auto;margin-right:0;color:#8a9ba1}span[data-v-accad2da]{font-size:12px}.node-link[data-v-accad2da]{cursor:pointer;text-decoration:underline}.limit[data-v-28872e37]{display:inline-block;white-space:nowrap;width:253px;overflow:hidden}.content[data-v-28872e37]{display:flex;flex-direction:column;gap:1rem;padding:1rem}.group[data-v-28872e37]{display:flex;flex-direction:row;gap:1rem;align-items:center} diff --git a/assets/main-agd2fCEO.js b/assets/main-DD61z6wK.js similarity index 98% rename from assets/main-agd2fCEO.js rename to assets/main-DD61z6wK.js index 94e8356..4dc6e53 100644 --- a/assets/main-agd2fCEO.js +++ b/assets/main-DD61z6wK.js @@ -1,2 +1,2 @@ -import{b as d,p as f,r as b}from"./main-BG8rCUrd.js";const u=b;class c extends u.Readable{constructor(e={}){if(super(e),e.iterator)throw new Error("readable stream iterator shortcut not yet implemented")}until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}}class m extends u.Writable{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}import(e){return e.on("data",s=>this.write(s)).on("end",()=>this.end()).on("error",s=>this.emit("error",s)),this}}class w extends u.Duplex{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}}class h extends u.Transform{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}import(e){return e.on("data",s=>this.write(s)).on("end",()=>this.end()).on("error",s=>this.emit("error",s)),this}demolish(e){if(this.push=s=>{if(s!==null)throw new Error("[ERR_STREAM_DESTROYED]: Cannot push after stream was destroyed")},this.emit=function(s,...i){s!=="end"&&Object.getPrototypeOf(this).emit.apply(this,[s,...i])},e)return u.Transform.prototype.destroy.call(this,e)}}const _=new Function("try {return this===global;}catch(e){return false;}")(),[P,g]=typeof f>"u"?[!0,!1]:f.browser?[!0,!0]:f.versions==="undefined"||f.versions.node==="undefined"?[!0,!1]:[!1,!1];(g||_&&+/^v(\d+)/.exec(f.version)[1]<10)&&(h.prototype.destroy=w.prototype.destroy=function(l,e){this._readableState.destroyed=!0,this._writableState.destroyed=!0;let s=()=>{this._writableState.emitClose&&this._readableState.emitClose&&this.emit("close")};return this._destroy(l||null,i=>{!e&&i?(f.nextTick(()=>{this.emit("error",i),s()}),this._writableState.errorEmitted=!0):(f.nextTick(s),e&&e(i))}),this},h.prototype._destroy=w.prototype._destroy=(l,e)=>e(l));class p extends h{constructor(e={}){super({...e,writableObjectMode:!0,readableObjectMode:!0}),this._as_inputs=new Set,this.on("pipe",s=>{this._as_inputs.add(s),s.on("prefix",(...i)=>{this.emit("prefix",...i)}).on("comment",(...i)=>{this.emit("comment",...i)})}),this.on("unpipe",s=>{this._as_inputs.delete(s)})}_destroy(){for(let e of this._as_inputs)e.destroy()}}class S extends p{_transform(e,s,i){i(null,JSON.stringify(e.isolate())+` +import{b as d,p as f,r as b}from"./main-UPTG37W_.js";const u=b;class c extends u.Readable{constructor(e={}){if(super(e),e.iterator)throw new Error("readable stream iterator shortcut not yet implemented")}until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}}class m extends u.Writable{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}import(e){return e.on("data",s=>this.write(s)).on("end",()=>this.end()).on("error",s=>this.emit("error",s)),this}}class w extends u.Duplex{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}}class h extends u.Transform{until(e,s){return new Promise((i,n)=>{this.on("error",t=>{n(t)}),s?this.once(e,(...t)=>{i(this,...t)}):this.once(e,i)})}bucket(e="utf8"){if(this._readableState.objectMode)return new Promise((i,n)=>{let t=[];this.pipe(new u.Writable({write(r,o,a){t.push(r),a()},writev(r,o){t.push(...r),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="utf8"||e==="utf-8")return new Promise((i,n)=>{let t="";this.setEncoding(e),this.pipe(new u.Writable({decodeStrings:!1,write(r,o,a){t+=r,a()},writev(r,o){t+=r.join(""),o()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})});if(e==="buffer")return new Promise((i,n)=>{let t=d.Buffer.from([]);this.pipe(new u.Writable({decodeStrings:!0,write(r,o,a){t=d.Buffer.concat([t,r],t.length+r.length),a()}})).on("error",r=>{n(r)}).on("finish",()=>{i(t)})})}import(e){return e.on("data",s=>this.write(s)).on("end",()=>this.end()).on("error",s=>this.emit("error",s)),this}demolish(e){if(this.push=s=>{if(s!==null)throw new Error("[ERR_STREAM_DESTROYED]: Cannot push after stream was destroyed")},this.emit=function(s,...i){s!=="end"&&Object.getPrototypeOf(this).emit.apply(this,[s,...i])},e)return u.Transform.prototype.destroy.call(this,e)}}const _=new Function("try {return this===global;}catch(e){return false;}")(),[P,g]=typeof f>"u"?[!0,!1]:f.browser?[!0,!0]:f.versions==="undefined"||f.versions.node==="undefined"?[!0,!1]:[!1,!1];(g||_&&+/^v(\d+)/.exec(f.version)[1]<10)&&(h.prototype.destroy=w.prototype.destroy=function(l,e){this._readableState.destroyed=!0,this._writableState.destroyed=!0;let s=()=>{this._writableState.emitClose&&this._readableState.emitClose&&this.emit("close")};return this._destroy(l||null,i=>{!e&&i?(f.nextTick(()=>{this.emit("error",i),s()}),this._writableState.errorEmitted=!0):(f.nextTick(s),e&&e(i))}),this},h.prototype._destroy=w.prototype._destroy=(l,e)=>e(l));class p extends h{constructor(e={}){super({...e,writableObjectMode:!0,readableObjectMode:!0}),this._as_inputs=new Set,this.on("pipe",s=>{this._as_inputs.add(s),s.on("prefix",(...i)=>{this.emit("prefix",...i)}).on("comment",(...i)=>{this.emit("comment",...i)})}),this.on("unpipe",s=>{this._as_inputs.delete(s)})}_destroy(){for(let e of this._as_inputs)e.destroy()}}class S extends p{_transform(e,s,i){i(null,JSON.stringify(e.isolate())+` `)}}class y extends p{_transform(e,s,i){i(null,{type:"quad",value:e})}}h.QuadsToOther=p;var W={...u,Readable:c,Writable:m,Duplex:w,Transform:h,QuadsToOther:p,quads_to_json(){return new S},quads_to_writable(){return new y},source(l,e=null){return!e&&typeof l=="string"&&(e="utf8"),new c({objectMode:!e&&typeof l!="string"&&!d.Buffer.isBuffer(l),read(){this.push(l,e),this.push(null)}})}};export{W as m}; diff --git a/assets/main-Dth2_RXj.js b/assets/main-DcNn2okZ.js similarity index 99% rename from assets/main-Dth2_RXj.js rename to assets/main-DcNn2okZ.js index 94aaa5f..d642ba0 100644 --- a/assets/main-Dth2_RXj.js +++ b/assets/main-DcNn2okZ.js @@ -1,4 +1,4 @@ -import{g as P,m as U}from"./main-BG8rCUrd.js";import{m as z}from"./main-agd2fCEO.js";function M(o,e){for(var t=0;ts[a]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let o=Promise.resolve();try{queueMicrotask=e=>o.then(e).catch(t=>setTimeout(()=>{throw t},0))}catch{}}const w=z,C=U,G=/^[a-z][a-z0-9+\-.]*:(?:[^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,H=/^[a-z][a-z0-9+\-.]*:[^\0-\x20<>"{}|^`]*$/,B=/^([^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,V=/^([^\0-\x20<>"{}|^`])*$/,b=/\\u([0-9A-Fa-f]{4})|\\U([0-9A-Fa-f]{8})/g,g=(o,e,t)=>String.fromCodePoint(parseInt(e||t,16)),W=/\s*(?:#[^\n]*\n\s*)*\s*/y,Z=/\s*(#[^\n]*\n\s*)*\s*/y,k=/[\\]/,j=/[^\n]+\n/y,Q=/^(?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_0-9])(?:(?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.])*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?$/u,J=/^[a-z]+(-[a-z0-9]+)*$/,S=/[ \t]*/y,T=/@([A-Za-z]+(?:-[A-Za-z0-9-]+)*)(?:\s+|(?=[.,;\])#]))/y,I=/<([^>]*)>\s*/y,$=(o,e,t,s,a,n)=>{if(e)switch(e){case"t":return" ";case"n":return` +import{g as P,m as U}from"./main-UPTG37W_.js";import{m as z}from"./main-DD61z6wK.js";function M(o,e){for(var t=0;ts[a]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let o=Promise.resolve();try{queueMicrotask=e=>o.then(e).catch(t=>setTimeout(()=>{throw t},0))}catch{}}const w=z,C=U,G=/^[a-z][a-z0-9+\-.]*:(?:[^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,H=/^[a-z][a-z0-9+\-.]*:[^\0-\x20<>"{}|^`]*$/,B=/^([^\0-\x20<>"{}|^`\\]|\\u[A-Fa-f0-9]{4}|\\U[A-Fa-f0-9]{8})*$/,V=/^([^\0-\x20<>"{}|^`])*$/,b=/\\u([0-9A-Fa-f]{4})|\\U([0-9A-Fa-f]{8})/g,g=(o,e,t)=>String.fromCodePoint(parseInt(e||t,16)),W=/\s*(?:#[^\n]*\n\s*)*\s*/y,Z=/\s*(#[^\n]*\n\s*)*\s*/y,k=/[\\]/,j=/[^\n]+\n/y,Q=/^(?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_0-9])(?:(?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.])*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?$/u,J=/^[a-z]+(-[a-z0-9]+)*$/,S=/[ \t]*/y,T=/@([A-Za-z]+(?:-[A-Za-z0-9-]+)*)(?:\s+|(?=[.,;\])#]))/y,I=/<([^>]*)>\s*/y,$=(o,e,t,s,a,n)=>{if(e)switch(e){case"t":return" ";case"n":return` `;case"r":return"\r";case"f":return"\f";case"b":return"\b";default:console.assert(`bad regex escape char mapping: '${e}'`)}else{if(t)return t;if(s)return String.fromCodePoint(parseInt(s,16));if(a)return String.fromCodePoint(parseInt(a,16));if(n)throw n[0]==="\\"?new Error(`expected string_literal but invalid escape sequence within contents: '${n}'. failed to parse a valid token`):new Error(`expected string_literal but invalid whitespace character within contents: ${JSON.stringify(n)}. failed to parse a valid token`);console.assert("unexpected no match branch in escape sequence replace callback")}},K=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|([\r\n]|\\.))/g,F=/(?:\\(?:([tnrfb])|([\\"'])|u([0-9A-Fa-f]{4})|U([0-9A-Fa-f]{8}))|([\r\n]|\\[^uU]|\\u[^]{4}|\\U[^]{8}))/g,v=o=>o.replace(K,$),Y=o=>{let e=X.exec(o);if(e){let t=e.index;return[o.slice(0,t).replace(F,$),o.slice(t)]}else return[o.replace(F,$),""]},[X,D]=(()=>{function o(t){let s=RegExp.prototype.exec.call(this,t);if(s){let a=s[0].length-s[1].length;s.index+=a,s[0]=s[0].slice(a)}return s}let e=(()=>{try{new RegExp("(?(a.exec=n,a)}return t=>t()})();return[e(()=>new RegExp("(?new RegExp('(?]*)>|_:([^\x20\t<]+))[\x20\t]*<([^\\>]*)>[\x20\t]*(?:(?:(<[^\\>]*)>|_:([^\x20\t<]+))[\x20\t]*(?:<([^\\>]*)>|_:([^\x20\t<]+)|)[\x20\t]*\.\s*(#[^\n]*\n\s*|\n\s*)+|"([^"\\]*)(?:(")(?:\^\^<([^\\>]*)>|@([^\x20\t.]+)|)[\x20\t]*(?:<([^\\>]*)>|_:([^\x20\t<]+)|)[\x20\t]*\.\s*(#[^\n]*\n\s*|\n\s*)+)?)/y,N=/(?:<([^>]*)>|_:([^\x20\t<]+))[\x20\t]*<([^>]*)>[\x20\t]*(?:(?:(<[^>]*)>|_:([^\x20\t<]+))[\x20\t]*(?:<([^>]*)>|_:([^\x20\t<]+)|)[\x20\t]*\.\s*(#[^\n]*\n\s*|\n\s*)+|"((?:[^"\\]|\\.)*)(?:(")(?:\^\^<([^>]*)>|@([^\x20\t.]+)|)[\x20\t]*(?:<([^>]*)>|_:([^\x20\t<]+)|)[\x20\t]*\.\s*(#[^\n]*\n\s*|\n\s*)+)?)/y,O=/_:([^\x20\t<]+)/y;class ee extends w.Transform{constructor(e){super({decodeStrings:!1,writableObjectMode:!1,readableObjectMode:!0,flush:e.flush,transform:e.transform}),this.on("pipe",t=>{this._ds_input=t,typeof t.setEncoding=="function"&&t.setEncoding("utf8")})}pipe(e){let t=e;return t._writableState.objectMode?e.isGraphyWritable&&(e=w.quads_to_writable()):e=w.quads_to_json(),e!==t?(super.pipe(e),e.pipe(t)):super.pipe(t)}}class te{constructor(e){let{input:t=null,relax:s=!1,debug:a=!1}=e,n=e.allow_relative_iris||e.allowRelativeIRIs||e.allowRelativeIris||!1,d=this._dc_factory=C.adopt(e.dataFactory||e.data_factory||C.unfiltered),u=this._f_quad=d.quad;Object.assign(this,{s:e.prepend||"",n:0,_b_debug:a,_b_relax:s,_b_destroyed:!1,_b_trim_start:!0,_f_state:this.statement,_kt_subject:null,_kt_predicate:null,_kt_object:null,_s_literal:""}),this._kt_default_graph=d.defaultGraph(),this._kt_rdfs_lang_string=d.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString");let x=this._r_clean=W;e.relaxed&&console.warn(new Error("no such option 'relaxed'; did you mean 'relax' ?").stack.replace(/^Error:/,"Warning:")),"validate"in e&&console.warn(new Error("option 'validate' has been removed and validation is now on by default. Use 'relax' option if you wish to disable validation.").stack.replace(/^Error:/,"Warning:"));let E=d.namedNode,A=d.blankNode,_=d.languagedLiteral,l=n?B:G,m=n?V:H,p=this;Object.assign(this,s?{create_named_node:E,create_named_node_escapeless:E,create_blank_node:A,create_languaged_literal:_}:{create_named_node(r){return l.test(r)?E(r):p._error(`invalid IRI: "${r}"`)},create_named_node_escapeless(r){return m.test(r)?E(r):p._error(`invalid IRI: "${r}"`)},create_blank_node(r){return Q.test(r)?A(r):p._error(`Invalid blank node label: "${r}"`)},create_languaged_literal(r,i){return J.test(i)?_(r,i):p._error(`Invalid literal language tag: ${i}`)}});let f,y=!1;if(f=this.transform=new ee({transform:(r,i,c)=>{y||(f.emit("ready"),y=!1);let h=this.s+=r;if(this._b_trim_start){x.lastIndex=0;let R=x.exec(h);this.emit_comments&&this.emit_comments(R[1]),this.i=x.lastIndex}else this.i=0;this.n=h.length;try{this.parse(!0)}catch(R){return f.destroy(R)}f.emit("progress",r.length),c()},flush:r=>{if(this.s.length){if(this.s+=` `,this._b_trim_start){x.lastIndex=0;let i=x.exec(this.s);this.emit_comments&&this.emit_comments(i[1]),this.i=x.lastIndex}else this.i=0;try{this.parse()}catch(i){return f.demolish(i)}if(this.s.length)return f.demolish(new Error(`parsing error occurred in state: statement ${this.s.substr(0,50)} diff --git a/assets/main-UPTG37W_.js b/assets/main-UPTG37W_.js new file mode 100644 index 0000000..2db2285 --- /dev/null +++ b/assets/main-UPTG37W_.js @@ -0,0 +1,3319 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-RV_eTkg7.js","assets/index-BOvYCoiN.js","assets/readable-BmS1kvD9.js","assets/index-BlwBIAJx.js","assets/canonicalize-Bd8h0v92.js","assets/index-BQuzNdW2.js","assets/N3StreamParser-BYVXsYqX.js","assets/CustomRdfXmlParser-j_ZzoDnu.js","assets/index-C7nnL0Je.js","assets/CustomJsonLdSerializer-B2oQjduZ.js","assets/main-zTQ0tXXK.js","assets/main-CakvuChy.js","assets/main--2A8lBXz.js","assets/main-DD61z6wK.js","assets/main-CQ6G9sma.js","assets/main-yWOklOAz.js","assets/main-Br7cBokn.js","assets/main-DcNn2okZ.js","assets/index-DjJhAlRP.js","assets/index-DCe_24Mq.js"])))=>i.map(i=>d[i]); +var pfn=Object.defineProperty;var F6t=r=>{throw TypeError(r)};var gfn=(r,o,l)=>o in r?pfn(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l;var M8e=(r,o,l)=>gfn(r,typeof o!="symbol"?o+"":o,l),O8e=(r,o,l)=>o.has(r)||F6t("Cannot "+l);var Kh=(r,o,l)=>(O8e(r,o,"read from private field"),l?l.call(r):o.get(r)),Zx=(r,o,l)=>o.has(r)?F6t("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(r):o.set(r,l),s3=(r,o,l,a)=>(O8e(r,o,"write to private field"),a?a.call(r,l):o.set(r,l),l),_8e=(r,o,l)=>(O8e(r,o,"access private method"),l);const Kne=Object.freeze(Object.defineProperty({__proto__:null,get _void(){return Nkn},get acl(){return u3n},get as(){return f3n},get bibo(){return h3n},get cc(){return g3n},get cert(){return w3n},get cnt(){return v3n},get constant(){return k3n},get crm(){return S3n},get csvw(){return E3n},get ctag(){return I3n},get dash(){return _3n},get dashSparql(){return M3n},get dbo(){return A3n},get dc11(){return $3n},get dcam(){return D3n},get dcat(){return B3n},get dcmitype(){return z3n},get dcterms(){return K3n},get default(){return tEt},get dig(){return G3n},get discipline(){return V3n},get doap(){return X3n},get dpv(){return J3n},get dqv(){return Z3n},get dtype(){return t4n},get duv(){return r4n},get earl(){return o4n},get ebucore(){return l4n},get exif(){return u4n},get foaf(){return f4n},get frbr(){return h4n},get geo(){return g4n},get geof(){return w4n},get geor(){return v4n},get gml(){return k4n},get gn(){return S4n},get gr(){return E4n},get grddl(){return I4n},get gs1(){return M4n},get gtfs(){return _4n},get http(){return A4n},get hydra(){return $4n},get ical(){return D4n},get la(){return B4n},get ldp(){return z4n},get list(){return K4n},get locn(){return G4n},get log(){return V4n},get lvont(){return X4n},get m4i(){return J4n},get ma(){return Z4n},get mads(){return t6n},get math(){return r6n},get oa(){return o6n},get og(){return l6n},get oidc(){return u6n},get org(){return f6n},get owl(){return h6n},get pim(){return g6n},get prefix(){return w6n},get prov(){return v6n},get qb(){return k6n},get qkdv(){return S6n},get quantitykind(){return E6n},get qudt(){return I6n},get rdau(){return M6n},get rdf(){return Zv},get rdfa(){return R6n},get rdfs(){return L6n},get rev(){return j6n},get rico(){return N6n},get rif(){return Jkn},get rr(){return F6n},get rss(){return H6n},get schema(){return U6n},get sd(){return W6n},get sdmx(){return q6n},get sem(){return Y6n},get set(){return Q6n},get sf(){return ekn},get sh(){return nkn},get shex(){return ikn},get shsh(){return skn},get sioc(){return ckn},get skos(){return akn},get skosxl(){return dkn},get solid(){return pkn},get sosa(){return bkn},get sou(){return mkn},get ssn(){return ykn},get stat(){return Ckn},get string(){return xkn},get test(){return Tkn},get time(){return Pkn},get unit(){return Okn},get v(){return Zkn},get vaem(){return Rkn},get vann(){return Lkn},get vcard(){return jkn},get vs(){return Fkn},get wdr(){return t5n},get wdrs(){return Hkn},get wgs(){return Ukn},get xhv(){return Wkn},get xkos(){return qkn},get xml(){return r5n},get xsd(){return FF}},Symbol.toStringTag,{value:"Module"}));(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))a(p);new MutationObserver(p=>{for(const g of p)if(g.type==="childList")for(const w of g.addedNodes)w.tagName==="LINK"&&w.rel==="modulepreload"&&a(w)}).observe(document,{childList:!0,subtree:!0});function l(p){const g={};return p.integrity&&(g.integrity=p.integrity),p.referrerPolicy&&(g.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?g.credentials="include":p.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function a(p){if(p.ep)return;p.ep=!0;const g=l(p);fetch(p.href,g)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function RSe(r){const o=Object.create(null);for(const l of r.split(","))o[l]=1;return l=>l in o}const ou={},ZO=[],m3=()=>{},bfn=()=>!1,Ore=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),ASe=r=>r.startsWith("onUpdate:"),Xf=Object.assign,LSe=(r,o)=>{const l=r.indexOf(o);l>-1&&r.splice(l,1)},wfn=Object.prototype.hasOwnProperty,pc=(r,o)=>wfn.call(r,o),So=Array.isArray,e_=r=>_re(r)==="[object Map]",V7t=r=>_re(r)==="[object Set]",Go=r=>typeof r=="function",Zu=r=>typeof r=="string",rk=r=>typeof r=="symbol",yu=r=>r!==null&&typeof r=="object",q7t=r=>(yu(r)||Go(r))&&Go(r.then)&&Go(r.catch),X7t=Object.prototype.toString,_re=r=>X7t.call(r),mfn=r=>_re(r).slice(8,-1),Y7t=r=>_re(r)==="[object Object]",$Se=r=>Zu(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,OF=RSe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rre=r=>{const o=Object.create(null);return l=>o[l]||(o[l]=r(l))},vfn=/-(\w)/g,cm=Rre(r=>r.replace(vfn,(o,l)=>l?l.toUpperCase():"")),yfn=/\B([A-Z])/g,zC=Rre(r=>r.replace(yfn,"-$1").toLowerCase()),Are=Rre(r=>r.charAt(0).toUpperCase()+r.slice(1)),wne=Rre(r=>r?`on${Are(r)}`:""),G6=(r,o)=>!Object.is(r,o),R8e=(r,...o)=>{for(let l=0;l{Object.defineProperty(r,o,{configurable:!0,enumerable:!1,writable:a,value:l})},kfn=r=>{const o=parseFloat(r);return isNaN(o)?r:o},Cfn=r=>{const o=Zu(r)?Number(r):NaN;return isNaN(o)?r:o};let z6t;const Lre=()=>z6t||(z6t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"||typeof window<"u"?window:{});function A1(r){if(So(r)){const o={};for(let l=0;l{if(l){const a=l.split(xfn);a.length>1&&(o[a[0].trim()]=a[1].trim())}}),o}function yo(r){let o="";if(Zu(r))o=r;else if(So(r))for(let l=0;l!!(r&&r.__v_isRef===!0),Il=r=>Zu(r)?r:r==null?"":So(r)||yu(r)&&(r.toString===X7t||!Go(r.toString))?Z7t(r)?Il(r.value):JSON.stringify(r,eSt,2):String(r),eSt=(r,o)=>Z7t(o)?eSt(r,o.value):e_(o)?{[`Map(${o.size})`]:[...o.entries()].reduce((l,[a,p],g)=>(l[A8e(a,g)+" =>"]=p,l),{})}:V7t(o)?{[`Set(${o.size})`]:[...o.values()].map(l=>A8e(l))}:rk(o)?A8e(o):yu(o)&&!So(o)&&!Y7t(o)?String(o):o,A8e=(r,o="")=>{var l;return rk(r)?`Symbol(${(l=r.description)!=null?l:o})`:r};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Rp;class tSt{constructor(o=!1){this.detached=o,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Rp,!o&&Rp&&(this.index=(Rp.scopes||(Rp.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let o,l;if(this.scopes)for(o=0,l=this.scopes.length;o0)return;if(AF){let o=AF;for(AF=void 0;o;){const l=o.next;o.next=void 0,o.flags&=-9,o=l}}let r;for(;RF;){let o=RF;for(RF=void 0;o;){const l=o.next;if(o.next=void 0,o.flags&=-9,o.flags&1)try{o.trigger()}catch(a){r||(r=a)}o=l}}if(r)throw r}function sSt(r){for(let o=r.deps;o;o=o.nextDep)o.version=-1,o.prevActiveLink=o.dep.activeLink,o.dep.activeLink=o}function lSt(r){let o,l=r.depsTail,a=l;for(;a;){const p=a.prevDep;a.version===-1?(a===l&&(l=p),NSe(a),Mfn(a)):o=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=p}r.deps=o,r.depsTail=l}function QCe(r){for(let o=r.deps;o;o=o.nextDep)if(o.dep.version!==o.version||o.dep.computed&&(cSt(o.dep.computed)||o.dep.version!==o.version))return!0;return!!r._dirty}function cSt(r){if(r.flags&4&&!(r.flags&16)||(r.flags&=-17,r.globalVersion===tz))return;r.globalVersion=tz;const o=r.dep;if(r.flags|=2,o.version>0&&!r.isSSR&&r.deps&&!QCe(r)){r.flags&=-3;return}const l=mu,a=uy;mu=r,uy=!0;try{sSt(r);const p=r.fn(r._value);(o.version===0||G6(p,r._value))&&(r._value=p,o.version++)}catch(p){throw o.version++,p}finally{mu=l,uy=a,lSt(r),r.flags&=-3}}function NSe(r,o=!1){const{dep:l,prevSub:a,nextSub:p}=r;if(a&&(a.nextSub=p,r.prevSub=void 0),p&&(p.prevSub=a,r.nextSub=void 0),l.subs===r&&(l.subs=a,!a&&l.computed)){l.computed.flags&=-5;for(let g=l.computed.deps;g;g=g.nextDep)NSe(g,!0)}!o&&!--l.sc&&l.map&&l.map.delete(l.key)}function Mfn(r){const{prevDep:o,nextDep:l}=r;o&&(o.nextDep=l,r.prevDep=void 0),l&&(l.prevDep=o,r.nextDep=void 0)}let uy=!0;const uSt=[];function HC(){uSt.push(uy),uy=!1}function KC(){const r=uSt.pop();uy=r===void 0?!0:r}function H6t(r){const{cleanup:o}=r;if(r.cleanup=void 0,o){const l=mu;mu=void 0;try{o()}finally{mu=l}}}let tz=0;class Ofn{constructor(o,l){this.sub=o,this.dep=l,this.version=l.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jre{constructor(o){this.computed=o,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(o){if(!mu||!uy||mu===this.computed)return;let l=this.activeLink;if(l===void 0||l.sub!==mu)l=this.activeLink=new Ofn(mu,this),mu.deps?(l.prevDep=mu.depsTail,mu.depsTail.nextDep=l,mu.depsTail=l):mu.deps=mu.depsTail=l,aSt(l);else if(l.version===-1&&(l.version=this.version,l.nextDep)){const a=l.nextDep;a.prevDep=l.prevDep,l.prevDep&&(l.prevDep.nextDep=a),l.prevDep=mu.depsTail,l.nextDep=void 0,mu.depsTail.nextDep=l,mu.depsTail=l,mu.deps===l&&(mu.deps=a)}return l}trigger(o){this.version++,tz++,this.notify(o)}notify(o){jSe();try{for(let l=this.subs;l;l=l.prevSub)l.sub.notify()&&l.sub.dep.notify()}finally{DSe()}}}function aSt(r){if(r.dep.sc++,r.sub.flags&4){const o=r.dep.computed;if(o&&!r.dep.subs){o.flags|=20;for(let a=o.deps;a;a=a.nextDep)aSt(a)}const l=r.dep.subs;l!==r&&(r.prevSub=l,l&&(l.nextSub=r)),r.dep.subs=r}}const Une=new WeakMap,xE=Symbol(""),ZCe=Symbol(""),nz=Symbol("");function O1(r,o,l){if(uy&&mu){let a=Une.get(r);a||Une.set(r,a=new Map);let p=a.get(l);p||(a.set(l,p=new jre),p.map=a,p.key=l),p.track()}}function $6(r,o,l,a,p,g){const w=Une.get(r);if(!w){tz++;return}const y=S=>{S&&S.trigger()};if(jSe(),o==="clear")w.forEach(y);else{const S=So(r),E=S&&$Se(l);if(S&&l==="length"){const I=Number(a);w.forEach((M,_)=>{(_==="length"||_===nz||!rk(_)&&_>=I)&&y(M)})}else switch((l!==void 0||w.has(void 0))&&y(w.get(l)),E&&y(w.get(nz)),o){case"add":S?E&&y(w.get("length")):(y(w.get(xE)),e_(r)&&y(w.get(ZCe)));break;case"delete":S||(y(w.get(xE)),e_(r)&&y(w.get(ZCe)));break;case"set":e_(r)&&y(w.get(xE));break}}DSe()}function _fn(r,o){const l=Une.get(r);return l&&l.get(o)}function $O(r){const o=Vl(r);return o===r?o:(O1(o,"iterate",nz),im(r)?o:o.map(_1))}function Dre(r){return O1(r=Vl(r),"iterate",nz),r}const Rfn={__proto__:null,[Symbol.iterator](){return $8e(this,Symbol.iterator,_1)},concat(...r){return $O(this).concat(...r.map(o=>So(o)?$O(o):o))},entries(){return $8e(this,"entries",r=>(r[1]=_1(r[1]),r))},every(r,o){return M6(this,"every",r,o,void 0,arguments)},filter(r,o){return M6(this,"filter",r,o,l=>l.map(_1),arguments)},find(r,o){return M6(this,"find",r,o,_1,arguments)},findIndex(r,o){return M6(this,"findIndex",r,o,void 0,arguments)},findLast(r,o){return M6(this,"findLast",r,o,_1,arguments)},findLastIndex(r,o){return M6(this,"findLastIndex",r,o,void 0,arguments)},forEach(r,o){return M6(this,"forEach",r,o,void 0,arguments)},includes(...r){return j8e(this,"includes",r)},indexOf(...r){return j8e(this,"indexOf",r)},join(r){return $O(this).join(r)},lastIndexOf(...r){return j8e(this,"lastIndexOf",r)},map(r,o){return M6(this,"map",r,o,void 0,arguments)},pop(){return sF(this,"pop")},push(...r){return sF(this,"push",r)},reduce(r,...o){return K6t(this,"reduce",r,o)},reduceRight(r,...o){return K6t(this,"reduceRight",r,o)},shift(){return sF(this,"shift")},some(r,o){return M6(this,"some",r,o,void 0,arguments)},splice(...r){return sF(this,"splice",r)},toReversed(){return $O(this).toReversed()},toSorted(r){return $O(this).toSorted(r)},toSpliced(...r){return $O(this).toSpliced(...r)},unshift(...r){return sF(this,"unshift",r)},values(){return $8e(this,"values",_1)}};function $8e(r,o,l){const a=Dre(r),p=a[o]();return a!==r&&!im(r)&&(p._next=p.next,p.next=()=>{const g=p._next();return g.value&&(g.value=l(g.value)),g}),p}const Afn=Array.prototype;function M6(r,o,l,a,p,g){const w=Dre(r),y=w!==r&&!im(r),S=w[o];if(S!==Afn[o]){const M=S.apply(r,g);return y?_1(M):M}let E=l;w!==r&&(y?E=function(M,_){return l.call(this,_1(M),_,r)}:l.length>2&&(E=function(M,_){return l.call(this,M,_,r)}));const I=S.call(w,E,a);return y&&p?p(I):I}function K6t(r,o,l,a){const p=Dre(r);let g=l;return p!==r&&(im(r)?l.length>3&&(g=function(w,y,S){return l.call(this,w,y,S,r)}):g=function(w,y,S){return l.call(this,w,_1(y),S,r)}),p[o](g,...a)}function j8e(r,o,l){const a=Vl(r);O1(a,"iterate",nz);const p=a[o](...l);return(p===-1||p===!1)&&zSe(l[0])?(l[0]=Vl(l[0]),a[o](...l)):p}function sF(r,o,l=[]){HC(),jSe();const a=Vl(r)[o].apply(r,l);return DSe(),KC(),a}const Lfn=RSe("__proto__,__v_isRef,__isVue"),fSt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(rk));function $fn(r){rk(r)||(r=String(r));const o=Vl(this);return O1(o,"has",r),o.hasOwnProperty(r)}class dSt{constructor(o=!1,l=!1){this._isReadonly=o,this._isShallow=l}get(o,l,a){if(l==="__v_skip")return o.__v_skip;const p=this._isReadonly,g=this._isShallow;if(l==="__v_isReactive")return!p;if(l==="__v_isReadonly")return p;if(l==="__v_isShallow")return g;if(l==="__v_raw")return a===(p?g?Gfn:bSt:g?gSt:pSt).get(o)||Object.getPrototypeOf(o)===Object.getPrototypeOf(a)?o:void 0;const w=So(o);if(!p){let S;if(w&&(S=Rfn[l]))return S;if(l==="hasOwnProperty")return $fn}const y=Reflect.get(o,l,Ef(o)?o:a);return(rk(l)?fSt.has(l):Lfn(l))||(p||O1(o,"get",l),g)?y:Ef(y)?w&&$Se(l)?y:y.value:yu(y)?p?hH(y):$E(y):y}}class hSt extends dSt{constructor(o=!1){super(!1,o)}set(o,l,a,p){let g=o[l];if(!this._isShallow){const S=jE(g);if(!im(a)&&!jE(a)&&(g=Vl(g),a=Vl(a)),!So(o)&&Ef(g)&&!Ef(a))return S?!1:(g.value=a,!0)}const w=So(o)&&$Se(l)?Number(l)r,Nte=r=>Reflect.getPrototypeOf(r);function Ffn(r,o,l){return function(...a){const p=this.__v_raw,g=Vl(p),w=e_(g),y=r==="entries"||r===Symbol.iterator&&w,S=r==="keys"&&w,E=p[r](...a),I=l?e7e:o?t7e:_1;return!o&&O1(g,"iterate",S?ZCe:xE),{next(){const{value:M,done:_}=E.next();return _?{value:M,done:_}:{value:y?[I(M[0]),I(M[1])]:I(M),done:_}},[Symbol.iterator](){return this}}}}function Bte(r){return function(...o){return r==="delete"?!1:r==="clear"?void 0:this}}function zfn(r,o){const l={get(p){const g=this.__v_raw,w=Vl(g),y=Vl(p);r||(G6(p,y)&&O1(w,"get",p),O1(w,"get",y));const{has:S}=Nte(w),E=o?e7e:r?t7e:_1;if(S.call(w,p))return E(g.get(p));if(S.call(w,y))return E(g.get(y));g!==w&&g.get(p)},get size(){const p=this.__v_raw;return!r&&O1(Vl(p),"iterate",xE),Reflect.get(p,"size",p)},has(p){const g=this.__v_raw,w=Vl(g),y=Vl(p);return r||(G6(p,y)&&O1(w,"has",p),O1(w,"has",y)),p===y?g.has(p):g.has(p)||g.has(y)},forEach(p,g){const w=this,y=w.__v_raw,S=Vl(y),E=o?e7e:r?t7e:_1;return!r&&O1(S,"iterate",xE),y.forEach((I,M)=>p.call(g,E(I),E(M),w))}};return Xf(l,r?{add:Bte("add"),set:Bte("set"),delete:Bte("delete"),clear:Bte("clear")}:{add(p){!o&&!im(p)&&!jE(p)&&(p=Vl(p));const g=Vl(this);return Nte(g).has.call(g,p)||(g.add(p),$6(g,"add",p,p)),this},set(p,g){!o&&!im(g)&&!jE(g)&&(g=Vl(g));const w=Vl(this),{has:y,get:S}=Nte(w);let E=y.call(w,p);E||(p=Vl(p),E=y.call(w,p));const I=S.call(w,p);return w.set(p,g),E?G6(g,I)&&$6(w,"set",p,g):$6(w,"add",p,g),this},delete(p){const g=Vl(this),{has:w,get:y}=Nte(g);let S=w.call(g,p);S||(p=Vl(p),S=w.call(g,p)),y&&y.call(g,p);const E=g.delete(p);return S&&$6(g,"delete",p,void 0),E},clear(){const p=Vl(this),g=p.size!==0,w=p.clear();return g&&$6(p,"clear",void 0,void 0),w}}),["keys","values","entries",Symbol.iterator].forEach(p=>{l[p]=Ffn(p,r,o)}),l}function BSe(r,o){const l=zfn(r,o);return(a,p,g)=>p==="__v_isReactive"?!r:p==="__v_isReadonly"?r:p==="__v_raw"?a:Reflect.get(pc(l,p)&&p in a?l:a,p,g)}const Hfn={get:BSe(!1,!1)},Kfn={get:BSe(!1,!0)},Ufn={get:BSe(!0,!1)};const pSt=new WeakMap,gSt=new WeakMap,bSt=new WeakMap,Gfn=new WeakMap;function Wfn(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vfn(r){return r.__v_skip||!Object.isExtensible(r)?0:Wfn(mfn(r))}function $E(r){return jE(r)?r:FSe(r,!1,Dfn,Hfn,pSt)}function qfn(r){return FSe(r,!1,Bfn,Kfn,gSt)}function hH(r){return FSe(r,!0,Nfn,Ufn,bSt)}function FSe(r,o,l,a,p){if(!yu(r)||r.__v_raw&&!(o&&r.__v_isReactive))return r;const g=p.get(r);if(g)return g;const w=Vfn(r);if(w===0)return r;const y=new Proxy(r,w===2?a:l);return p.set(r,y),y}function t_(r){return jE(r)?t_(r.__v_raw):!!(r&&r.__v_isReactive)}function jE(r){return!!(r&&r.__v_isReadonly)}function im(r){return!!(r&&r.__v_isShallow)}function zSe(r){return r?!!r.__v_raw:!1}function Vl(r){const o=r&&r.__v_raw;return o?Vl(o):r}function EE(r){return!pc(r,"__v_skip")&&Object.isExtensible(r)&&J7t(r,"__v_skip",!0),r}const _1=r=>yu(r)?$E(r):r,t7e=r=>yu(r)?hH(r):r;function Ef(r){return r?r.__v_isRef===!0:!1}function Co(r){return Xfn(r,!1)}function Xfn(r,o){return Ef(r)?r:new Yfn(r,o)}class Yfn{constructor(o,l){this.dep=new jre,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=l?o:Vl(o),this._value=l?o:_1(o),this.__v_isShallow=l}get value(){return this.dep.track(),this._value}set value(o){const l=this._rawValue,a=this.__v_isShallow||im(o)||jE(o);o=a?o:Vl(o),G6(o,l)&&(this._rawValue=o,this._value=a?o:_1(o),this.dep.trigger())}}function Lr(r){return Ef(r)?r.value:r}function Wl(r){return Go(r)?r():Lr(r)}const Jfn={get:(r,o,l)=>o==="__v_raw"?r:Lr(Reflect.get(r,o,l)),set:(r,o,l,a)=>{const p=r[o];return Ef(p)&&!Ef(l)?(p.value=l,!0):Reflect.set(r,o,l,a)}};function wSt(r){return t_(r)?r:new Proxy(r,Jfn)}class Qfn{constructor(o){this.__v_isRef=!0,this._value=void 0;const l=this.dep=new jre,{get:a,set:p}=o(l.track.bind(l),l.trigger.bind(l));this._get=a,this._set=p}get value(){return this._value=this._get()}set value(o){this._set(o)}}function Zfn(r){return new Qfn(r)}function edn(r){const o=So(r)?new Array(r.length):{};for(const l in r)o[l]=mSt(r,l);return o}class tdn{constructor(o,l,a){this._object=o,this._key=l,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const o=this._object[this._key];return this._value=o===void 0?this._defaultValue:o}set value(o){this._object[this._key]=o}get dep(){return _fn(Vl(this._object),this._key)}}class ndn{constructor(o){this._getter=o,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ia(r,o,l){return Ef(r)?r:Go(r)?new ndn(r):yu(r)&&arguments.length>1?mSt(r,o,l):Co(r)}function mSt(r,o,l){const a=r[o];return Ef(a)?a:new tdn(r,o,l)}class rdn{constructor(o,l,a){this.fn=o,this.setter=l,this._value=void 0,this.dep=new jre(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tz-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!l,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&mu!==this)return oSt(this,!0),!0}get value(){const o=this.dep.track();return cSt(this),o&&(o.version=this.dep.version),this._value}set value(o){this.setter&&this.setter(o)}}function idn(r,o,l=!1){let a,p;return Go(r)?a=r:(a=r.get,p=r.set),new rdn(a,p,l)}const Fte={},Gne=new WeakMap;let fE;function odn(r,o=!1,l=fE){if(l){let a=Gne.get(l);a||Gne.set(l,a=[]),a.push(r)}}function sdn(r,o,l=ou){const{immediate:a,deep:p,once:g,scheduler:w,augmentJob:y,call:S}=l,E=ie=>p?ie:im(ie)||p===!1||p===0?j6(ie,1):j6(ie);let I,M,_,R,j=!1,K=!1;if(Ef(r)?(M=()=>r.value,j=im(r)):t_(r)?(M=()=>E(r),j=!0):So(r)?(K=!0,j=r.some(ie=>t_(ie)||im(ie)),M=()=>r.map(ie=>{if(Ef(ie))return ie.value;if(t_(ie))return E(ie);if(Go(ie))return S?S(ie,2):ie()})):Go(r)?o?M=S?()=>S(r,2):r:M=()=>{if(_){HC();try{_()}finally{KC()}}const ie=fE;fE=I;try{return S?S(r,3,[R]):r(R)}finally{fE=ie}}:M=m3,o&&p){const ie=M,je=p===!0?1/0:p;M=()=>j6(ie(),je)}const q=$re(),Q=()=>{I.stop(),q&&q.active&&LSe(q.effects,I)};if(g&&o){const ie=o;o=(...je)=>{ie(...je),Q()}}let Z=K?new Array(r.length).fill(Fte):Fte;const X=ie=>{if(!(!(I.flags&1)||!I.dirty&&!ie))if(o){const je=I.run();if(p||j||(K?je.some((et,mt)=>G6(et,Z[mt])):G6(je,Z))){_&&_();const et=fE;fE=I;try{const mt=[je,Z===Fte?void 0:K&&Z[0]===Fte?[]:Z,R];S?S(o,3,mt):o(...mt),Z=je}finally{fE=et}}}else I.run()};return y&&y(X),I=new rSt(M),I.scheduler=w?()=>w(X,!1):X,R=ie=>odn(ie,!1,I),_=I.onStop=()=>{const ie=Gne.get(I);if(ie){if(S)S(ie,4);else for(const je of ie)je();Gne.delete(I)}},o?a?X(!0):Z=I.run():w?w(X.bind(null,!0),!0):I.run(),Q.pause=I.pause.bind(I),Q.resume=I.resume.bind(I),Q.stop=Q,Q}function j6(r,o=1/0,l){if(o<=0||!yu(r)||r.__v_skip||(l=l||new Set,l.has(r)))return r;if(l.add(r),o--,Ef(r))j6(r.value,o,l);else if(So(r))for(let a=0;a{j6(a,o,l)});else if(Y7t(r)){for(const a in r)j6(r[a],o,l);for(const a of Object.getOwnPropertySymbols(r))Object.prototype.propertyIsEnumerable.call(r,a)&&j6(r[a],o,l)}return r}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function pH(r,o,l,a){try{return a?r(...a):r()}catch(p){Nre(p,o,l)}}function ay(r,o,l,a){if(Go(r)){const p=pH(r,o,l,a);return p&&q7t(p)&&p.catch(g=>{Nre(g,o,l)}),p}if(So(r)){const p=[];for(let g=0;g>>1,p=Ap[a],g=rz(p);g=rz(l)?Ap.push(r):Ap.splice(cdn(o),0,r),r.flags|=1,ySt()}}function ySt(){Wne||(Wne=vSt.then(CSt))}function udn(r){So(r)?n_.push(...r):pC&&r.id===-1?pC.splice(zO+1,0,r):r.flags&1||(n_.push(r),r.flags|=1),ySt()}function U6t(r,o,l=u3+1){for(;lrz(l)-rz(a));if(n_.length=0,pC){pC.push(...o);return}for(pC=o,zO=0;zOr.id==null?r.flags&2?-1:1/0:r.id;function CSt(r){try{for(u3=0;u3{a._d&&rkt(-1);const g=Vne(o);let w;try{w=r(...p)}finally{Vne(g),a._d&&rkt(1)}return w};return a._n=!0,a._c=!0,a._d=!0,a}function dy(r,o){if(ph===null)return r;const l=Gre(ph),a=r.dirs||(r.dirs=[]);for(let p=0;pr.__isTeleport,LF=r=>r&&(r.disabled||r.disabled===""),G6t=r=>r&&(r.defer||r.defer===""),W6t=r=>typeof SVGElement<"u"&&r instanceof SVGElement,V6t=r=>typeof MathMLElement=="function"&&r instanceof MathMLElement,n7e=(r,o)=>{const l=r&&r.to;return Zu(l)?o?o(l):null:l},TSt={name:"Teleport",__isTeleport:!0,process(r,o,l,a,p,g,w,y,S,E){const{mc:I,pc:M,pbc:_,o:{insert:R,querySelector:j,createText:K,createComment:q}}=E,Q=LF(o.props);let{shapeFlag:Z,children:X,dynamicChildren:ie}=o;if(r==null){const je=o.el=K(""),et=o.anchor=K("");R(je,l,a),R(et,l,a);const mt=(ce,Be)=>{Z&16&&(p&&p.isCE&&(p.ce._teleportTarget=ce),I(X,ce,Be,p,g,w,y,S))},bt=()=>{const ce=o.target=n7e(o.props,j),Be=ISt(ce,o,K,R);ce&&(w!=="svg"&&W6t(ce)?w="svg":w!=="mathml"&&V6t(ce)&&(w="mathml"),Q||(mt(ce,Be),mne(o,!1)))};Q&&(mt(l,et),mne(o,!0)),G6t(o.props)?_p(()=>{bt(),o.el.__isMounted=!0},g):bt()}else{if(G6t(o.props)&&!r.el.__isMounted){_p(()=>{TSt.process(r,o,l,a,p,g,w,y,S,E),delete r.el.__isMounted},g);return}o.el=r.el,o.targetStart=r.targetStart;const je=o.anchor=r.anchor,et=o.target=r.target,mt=o.targetAnchor=r.targetAnchor,bt=LF(r.props),ce=bt?l:et,Be=bt?je:mt;if(w==="svg"||W6t(et)?w="svg":(w==="mathml"||V6t(et))&&(w="mathml"),ie?(_(r.dynamicChildren,ie,ce,p,g,w,y),VSe(r,o,!0)):S||M(r,o,ce,Be,p,g,w,y,!1),Q)bt?o.props&&r.props&&o.props.to!==r.props.to&&(o.props.to=r.props.to):zte(o,l,je,E,1);else if((o.props&&o.props.to)!==(r.props&&r.props.to)){const ae=o.target=n7e(o.props,j);ae&&zte(o,ae,null,E,0)}else bt&&zte(o,et,mt,E,1);mne(o,Q)}},remove(r,o,l,{um:a,o:{remove:p}},g){const{shapeFlag:w,children:y,anchor:S,targetStart:E,targetAnchor:I,target:M,props:_}=r;if(M&&(p(E),p(I)),g&&p(S),w&16){const R=g||!LF(_);for(let j=0;j{r.isMounted=!0}),zre(()=>{r.isUnmounting=!0}),r}const Jw=[Function,Array],PSt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jw,onEnter:Jw,onAfterEnter:Jw,onEnterCancelled:Jw,onBeforeLeave:Jw,onLeave:Jw,onAfterLeave:Jw,onLeaveCancelled:Jw,onBeforeAppear:Jw,onAppear:Jw,onAfterAppear:Jw,onAppearCancelled:Jw},MSt=r=>{const o=r.subTree;return o.component?MSt(o.component):o},hdn={name:"BaseTransition",props:PSt,setup(r,{slots:o}){const l=UC(),a=ddn();return()=>{const p=o.default&&RSt(o.default(),!0);if(!p||!p.length)return;const g=OSt(p),w=Vl(r),{mode:y}=w;if(a.isLeaving)return D8e(g);const S=q6t(g);if(!S)return D8e(g);let E=r7e(S,w,a,l,M=>E=M);S.type!==Lp&&iz(S,E);let I=l.subTree&&q6t(l.subTree);if(I&&I.type!==Lp&&!pE(S,I)&&MSt(l).type!==Lp){let M=r7e(I,w,a,l);if(iz(I,M),y==="out-in"&&S.type!==Lp)return a.isLeaving=!0,M.afterLeave=()=>{a.isLeaving=!1,l.job.flags&8||l.update(),delete M.afterLeave,I=void 0},D8e(g);y==="in-out"&&S.type!==Lp?M.delayLeave=(_,R,j)=>{const K=_St(a,I);K[String(I.key)]=I,_[gC]=()=>{R(),_[gC]=void 0,delete E.delayedLeave,I=void 0},E.delayedLeave=()=>{j(),delete E.delayedLeave,I=void 0}}:I=void 0}else I&&(I=void 0);return g}}};function OSt(r){let o=r[0];if(r.length>1){for(const l of r)if(l.type!==Lp){o=l;break}}return o}const pdn=hdn;function _St(r,o){const{leavingVNodes:l}=r;let a=l.get(o.type);return a||(a=Object.create(null),l.set(o.type,a)),a}function r7e(r,o,l,a,p){const{appear:g,mode:w,persisted:y=!1,onBeforeEnter:S,onEnter:E,onAfterEnter:I,onEnterCancelled:M,onBeforeLeave:_,onLeave:R,onAfterLeave:j,onLeaveCancelled:K,onBeforeAppear:q,onAppear:Q,onAfterAppear:Z,onAppearCancelled:X}=o,ie=String(r.key),je=_St(l,r),et=(ce,Be)=>{ce&&ay(ce,a,9,Be)},mt=(ce,Be)=>{const ae=Be[1];et(ce,Be),So(ce)?ce.every(xe=>xe.length<=1)&&ae():ce.length<=1&&ae()},bt={mode:w,persisted:y,beforeEnter(ce){let Be=S;if(!l.isMounted)if(g)Be=q||S;else return;ce[gC]&&ce[gC](!0);const ae=je[ie];ae&&pE(r,ae)&&ae.el[gC]&&ae.el[gC](),et(Be,[ce])},enter(ce){let Be=E,ae=I,xe=M;if(!l.isMounted)if(g)Be=Q||E,ae=Z||I,xe=X||M;else return;let U=!1;const He=ce[Hte]=yt=>{U||(U=!0,yt?et(xe,[ce]):et(ae,[ce]),bt.delayedLeave&&bt.delayedLeave(),ce[Hte]=void 0)};Be?mt(Be,[ce,He]):He()},leave(ce,Be){const ae=String(r.key);if(ce[Hte]&&ce[Hte](!0),l.isUnmounting)return Be();et(_,[ce]);let xe=!1;const U=ce[gC]=He=>{xe||(xe=!0,Be(),He?et(K,[ce]):et(j,[ce]),ce[gC]=void 0,je[ae]===r&&delete je[ae])};je[ae]=r,R?mt(R,[ce,U]):U()},clone(ce){const Be=r7e(ce,o,l,a,p);return p&&p(Be),Be}};return bt}function D8e(r){if(Bre(r))return r=RC(r),r.children=null,r}function q6t(r){if(!Bre(r))return ESt(r.type)&&r.children?OSt(r.children):r;const{shapeFlag:o,children:l}=r;if(l){if(o&16)return l[0];if(o&32&&Go(l.default))return l.default()}}function iz(r,o){r.shapeFlag&6&&r.component?(r.transition=o,iz(r.component.subTree,o)):r.shapeFlag&128?(r.ssContent.transition=o.clone(r.ssContent),r.ssFallback.transition=o.clone(r.ssFallback)):r.transition=o}function RSt(r,o=!1,l){let a=[],p=0;for(let g=0;g1)for(let g=0;gqne(j,o&&(So(o)?o[K]:o),l,a,p));return}if(r_(a)&&!p){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&qne(r,o,l,a.component.subTree);return}const g=a.shapeFlag&4?Gre(a.component):a.el,w=p?null:g,{i:y,r:S}=r,E=o&&o.r,I=y.refs===ou?y.refs={}:y.refs,M=y.setupState,_=Vl(M),R=M===ou?()=>!1:j=>pc(_,j);if(E!=null&&E!==S&&(Zu(E)?(I[E]=null,R(E)&&(M[E]=null)):Ef(E)&&(E.value=null)),Go(S))pH(S,y,12,[w,I]);else{const j=Zu(S),K=Ef(S);if(j||K){const q=()=>{if(r.f){const Q=j?R(S)?M[S]:I[S]:S.value;p?So(Q)&&LSe(Q,g):So(Q)?Q.includes(g)||Q.push(g):j?(I[S]=[g],R(S)&&(M[S]=I[S])):(S.value=[g],r.k&&(I[r.k]=S.value))}else j?(I[S]=w,R(S)&&(M[S]=w)):K&&(S.value=w,r.k&&(I[r.k]=w))};w?(q.id=-1,_p(q,l)):q()}}}Lre().requestIdleCallback;Lre().cancelIdleCallback;const r_=r=>!!r.type.__asyncLoader,Bre=r=>r.type.__isKeepAlive;function gdn(r,o){LSt(r,"a",o)}function bdn(r,o){LSt(r,"da",o)}function LSt(r,o,l=Gh){const a=r.__wdc||(r.__wdc=()=>{let p=l;for(;p;){if(p.isDeactivated)return;p=p.parent}return r()});if(Fre(o,a,l),l){let p=l.parent;for(;p&&p.parent;)Bre(p.parent.vnode)&&wdn(a,o,l,p),p=p.parent}}function wdn(r,o,l,a){const p=Fre(o,r,a,!0);Hre(()=>{LSe(a[o],p)},l)}function Fre(r,o,l=Gh,a=!1){if(l){const p=l[r]||(l[r]=[]),g=o.__weh||(o.__weh=(...w)=>{HC();const y=gH(l),S=ay(o,l,r,w);return y(),KC(),S});return a?p.unshift(g):p.push(g),g}}const ik=r=>(o,l=Gh)=>{(!lz||r==="sp")&&Fre(r,(...a)=>o(...a),l)},$St=ik("bm"),bb=ik("m"),mdn=ik("bu"),vdn=ik("u"),zre=ik("bum"),Hre=ik("um"),ydn=ik("sp"),kdn=ik("rtg"),Cdn=ik("rtc");function Sdn(r,o=Gh){Fre("ec",r,o)}const KSe="components",xdn="directives";function ki(r,o){return USe(KSe,r,!0,o)||r}const jSt=Symbol.for("v-ndc");function ko(r){return Zu(r)?USe(KSe,r,!1)||r:r||jSt}function hy(r){return USe(xdn,r)}function USe(r,o,l=!0,a=!1){const p=ph||Gh;if(p){const g=p.type;if(r===KSe){const y=uhn(g,!1);if(y&&(y===o||y===cm(o)||y===Are(cm(o))))return g}const w=X6t(p[r]||g[r],o)||X6t(p.appContext[r],o);return!w&&a?g:w}}function X6t(r,o){return r&&(r[o]||r[cm(o)]||r[Are(cm(o))])}function Mu(r,o,l,a){let p;const g=l&&l[a],w=So(r);if(w||Zu(r)){const y=w&&t_(r);let S=!1;y&&(S=!im(r),r=Dre(r)),p=new Array(r.length);for(let E=0,I=r.length;Eo(y,S,void 0,g&&g[S]));else{const y=Object.keys(r);p=new Array(y.length);for(let S=0,E=y.length;S{const g=a.fn(...p);return g&&(g.key=a.key),g}:a.fn)}return r}function Nr(r,o,l={},a,p){if(ph.ce||ph.parent&&r_(ph.parent)&&ph.parent.ce)return o!=="default"&&(l.name=o),ve(),Cn(si,null,[ai("slot",l,a&&a())],64);let g=r[o];g&&g._c&&(g._d=!1),ve();const w=g&&DSt(g(l)),y=l.key||w&&w.key,S=Cn(si,{key:(y&&!rk(y)?y:`_${o}`)+(!w&&a?"_fb":"")},w||(a?a():[]),w&&r._===1?64:-2);return S.scopeId&&(S.slotScopeIds=[S.scopeId+"-s"]),g&&g._c&&(g._d=!0),S}function DSt(r){return r.some(o=>sz(o)?!(o.type===Lp||o.type===si&&!DSt(o.children)):!0)?r:null}function Kte(r,o){const l={};for(const a in r)l[/[A-Z]/.test(a)?`on:${a}`:wne(a)]=r[a];return l}const i7e=r=>r?i9t(r)?Gre(r):i7e(r.parent):null,$F=Xf(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>i7e(r.parent),$root:r=>i7e(r.root),$host:r=>r.ce,$emit:r=>r.emit,$options:r=>GSe(r),$forceUpdate:r=>r.f||(r.f=()=>{HSe(r.update)}),$nextTick:r=>r.n||(r.n=om.bind(r.proxy)),$watch:r=>Vdn.bind(r)}),N8e=(r,o)=>r!==ou&&!r.__isScriptSetup&&pc(r,o),Edn={get({_:r},o){if(o==="__v_skip")return!0;const{ctx:l,setupState:a,data:p,props:g,accessCache:w,type:y,appContext:S}=r;let E;if(o[0]!=="$"){const R=w[o];if(R!==void 0)switch(R){case 1:return a[o];case 2:return p[o];case 4:return l[o];case 3:return g[o]}else{if(N8e(a,o))return w[o]=1,a[o];if(p!==ou&&pc(p,o))return w[o]=2,p[o];if((E=r.propsOptions[0])&&pc(E,o))return w[o]=3,g[o];if(l!==ou&&pc(l,o))return w[o]=4,l[o];o7e&&(w[o]=0)}}const I=$F[o];let M,_;if(I)return o==="$attrs"&&O1(r.attrs,"get",""),I(r);if((M=y.__cssModules)&&(M=M[o]))return M;if(l!==ou&&pc(l,o))return w[o]=4,l[o];if(_=S.config.globalProperties,pc(_,o))return _[o]},set({_:r},o,l){const{data:a,setupState:p,ctx:g}=r;return N8e(p,o)?(p[o]=l,!0):a!==ou&&pc(a,o)?(a[o]=l,!0):pc(r.props,o)||o[0]==="$"&&o.slice(1)in r?!1:(g[o]=l,!0)},has({_:{data:r,setupState:o,accessCache:l,ctx:a,appContext:p,propsOptions:g}},w){let y;return!!l[w]||r!==ou&&pc(r,w)||N8e(o,w)||(y=g[0])&&pc(y,w)||pc(a,w)||pc($F,w)||pc(p.config.globalProperties,w)},defineProperty(r,o,l){return l.get!=null?r._.accessCache[o]=0:pc(l,"value")&&this.set(r,o,l.value,null),Reflect.defineProperty(r,o,l)}};function Tdn(){return NSt().slots}function Idn(){return NSt().attrs}function NSt(){const r=UC();return r.setupContext||(r.setupContext=s9t(r))}function Y6t(r){return So(r)?r.reduce((o,l)=>(o[l]=null,o),{}):r}function BSt(r,o){const l={};for(const a in r)o.includes(a)||Object.defineProperty(l,a,{enumerable:!0,get:()=>r[a]});return l}let o7e=!0;function Pdn(r){const o=GSe(r),l=r.proxy,a=r.ctx;o7e=!1,o.beforeCreate&&J6t(o.beforeCreate,r,"bc");const{data:p,computed:g,methods:w,watch:y,provide:S,inject:E,created:I,beforeMount:M,mounted:_,beforeUpdate:R,updated:j,activated:K,deactivated:q,beforeDestroy:Q,beforeUnmount:Z,destroyed:X,unmounted:ie,render:je,renderTracked:et,renderTriggered:mt,errorCaptured:bt,serverPrefetch:ce,expose:Be,inheritAttrs:ae,components:xe,directives:U,filters:He}=o;if(E&&Mdn(E,a,null),w)for(const At in w){const Jt=w[At];Go(Jt)&&(a[At]=Jt.bind(l))}if(p){const At=p.call(l,l);yu(At)&&(r.data=$E(At))}if(o7e=!0,g)for(const At in g){const Jt=g[At],un=Go(Jt)?Jt.bind(l,l):Go(Jt.get)?Jt.get.bind(l,l):m3,kn=!Go(Jt)&&Go(Jt.set)?Jt.set.bind(l):m3,qt=ho({get:un,set:kn});Object.defineProperty(a,At,{enumerable:!0,configurable:!0,get:()=>qt.value,set:on=>qt.value=on})}if(y)for(const At in y)FSt(y[At],a,l,At);if(S){const At=Go(S)?S.call(l):S;Reflect.ownKeys(At).forEach(Jt=>{DE(Jt,At[Jt])})}I&&J6t(I,r,"c");function ft(At,Jt){So(Jt)?Jt.forEach(un=>At(un.bind(l))):Jt&&At(Jt.bind(l))}if(ft($St,M),ft(bb,_),ft(mdn,R),ft(vdn,j),ft(gdn,K),ft(bdn,q),ft(Sdn,bt),ft(Cdn,et),ft(kdn,mt),ft(zre,Z),ft(Hre,ie),ft(ydn,ce),So(Be))if(Be.length){const At=r.exposed||(r.exposed={});Be.forEach(Jt=>{Object.defineProperty(At,Jt,{get:()=>l[Jt],set:un=>l[Jt]=un})})}else r.exposed||(r.exposed={});je&&r.render===m3&&(r.render=je),ae!=null&&(r.inheritAttrs=ae),xe&&(r.components=xe),U&&(r.directives=U),ce&&ASt(r)}function Mdn(r,o,l=m3){So(r)&&(r=s7e(r));for(const a in r){const p=r[a];let g;yu(p)?"default"in p?g=v3(p.from||a,p.default,!0):g=v3(p.from||a):g=v3(p),Ef(g)?Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>g.value,set:w=>g.value=w}):o[a]=g}}function J6t(r,o,l){ay(So(r)?r.map(a=>a.bind(o.proxy)):r.bind(o.proxy),o,l)}function FSt(r,o,l,a){let p=a.includes(".")?ZSt(l,a):()=>l[a];if(Zu(r)){const g=o[r];Go(g)&&Os(p,g)}else if(Go(r))Os(p,r.bind(l));else if(yu(r))if(So(r))r.forEach(g=>FSt(g,o,l,a));else{const g=Go(r.handler)?r.handler.bind(l):o[r.handler];Go(g)&&Os(p,g,r)}}function GSe(r){const o=r.type,{mixins:l,extends:a}=o,{mixins:p,optionsCache:g,config:{optionMergeStrategies:w}}=r.appContext,y=g.get(o);let S;return y?S=y:!p.length&&!l&&!a?S=o:(S={},p.length&&p.forEach(E=>Xne(S,E,w,!0)),Xne(S,o,w)),yu(o)&&g.set(o,S),S}function Xne(r,o,l,a=!1){const{mixins:p,extends:g}=o;g&&Xne(r,g,l,!0),p&&p.forEach(w=>Xne(r,w,l,!0));for(const w in o)if(!(a&&w==="expose")){const y=Odn[w]||l&&l[w];r[w]=y?y(r[w],o[w]):o[w]}return r}const Odn={data:Q6t,props:Z6t,emits:Z6t,methods:mF,computed:mF,beforeCreate:Op,created:Op,beforeMount:Op,mounted:Op,beforeUpdate:Op,updated:Op,beforeDestroy:Op,beforeUnmount:Op,destroyed:Op,unmounted:Op,activated:Op,deactivated:Op,errorCaptured:Op,serverPrefetch:Op,components:mF,directives:mF,watch:Rdn,provide:Q6t,inject:_dn};function Q6t(r,o){return o?r?function(){return Xf(Go(r)?r.call(this,this):r,Go(o)?o.call(this,this):o)}:o:r}function _dn(r,o){return mF(s7e(r),s7e(o))}function s7e(r){if(So(r)){const o={};for(let l=0;l1)return l&&Go(o)?o.call(a&&a.proxy):o}}const HSt={},KSt=()=>Object.create(HSt),USt=r=>Object.getPrototypeOf(r)===HSt;function $dn(r,o,l,a=!1){const p={},g=KSt();r.propsDefaults=Object.create(null),GSt(r,o,p,g);for(const w in r.propsOptions[0])w in p||(p[w]=void 0);l?r.props=a?p:qfn(p):r.type.props?r.props=p:r.props=g,r.attrs=g}function jdn(r,o,l,a){const{props:p,attrs:g,vnode:{patchFlag:w}}=r,y=Vl(p),[S]=r.propsOptions;let E=!1;if((a||w>0)&&!(w&16)){if(w&8){const I=r.vnode.dynamicProps;for(let M=0;M{S=!0;const[_,R]=WSt(M,o,!0);Xf(w,_),R&&y.push(...R)};!l&&o.mixins.length&&o.mixins.forEach(I),r.extends&&I(r.extends),r.mixins&&r.mixins.forEach(I)}if(!g&&!S)return yu(r)&&a.set(r,ZO),ZO;if(So(g))for(let I=0;Ir[0]==="_"||r==="$stable",WSe=r=>So(r)?r.map(p3):[p3(r)],Ndn=(r,o,l)=>{if(o._n)return o;const a=ui((...p)=>WSe(o(...p)),l);return a._c=!1,a},qSt=(r,o,l)=>{const a=r._ctx;for(const p in r){if(VSt(p))continue;const g=r[p];if(Go(g))o[p]=Ndn(p,g,a);else if(g!=null){const w=WSe(g);o[p]=()=>w}}},XSt=(r,o)=>{const l=WSe(o);r.slots.default=()=>l},YSt=(r,o,l)=>{for(const a in o)(l||a!=="_")&&(r[a]=o[a])},Bdn=(r,o,l)=>{const a=r.slots=KSt();if(r.vnode.shapeFlag&32){const p=o._;p?(YSt(a,o,l),l&&J7t(a,"_",p,!0)):qSt(o,a)}else o&&XSt(r,o)},Fdn=(r,o,l)=>{const{vnode:a,slots:p}=r;let g=!0,w=ou;if(a.shapeFlag&32){const y=o._;y?l&&y===1?g=!1:YSt(p,o,l):(g=!o.$stable,qSt(o,p)),w=o}else o&&(XSt(r,o),w={default:1});if(g)for(const y in p)!VSt(y)&&w[y]==null&&delete p[y]},_p=ehn;function zdn(r){return Hdn(r)}function Hdn(r,o){const l=Lre();l.__VUE__=!0;const{insert:a,remove:p,patchProp:g,createElement:w,createText:y,createComment:S,setText:E,setElementText:I,parentNode:M,nextSibling:_,setScopeId:R=m3,insertStaticContent:j}=r,K=(ee,V,oe,ue=null,ge=null,Ge=null,$t=void 0,Lt=null,tn=!!V.dynamicChildren)=>{if(ee===V)return;ee&&!pE(ee,V)&&(ue=Ze(ee),on(ee,ge,Ge,!0),ee=null),V.patchFlag===-2&&(tn=!1,V.dynamicChildren=null);const{type:Ct,ref:Kn,shapeFlag:dn}=V;switch(Ct){case Ure:q(ee,V,oe,ue);break;case Lp:Q(ee,V,oe,ue);break;case z8e:ee==null&&Z(V,oe,ue,$t);break;case si:xe(ee,V,oe,ue,ge,Ge,$t,Lt,tn);break;default:dn&1?je(ee,V,oe,ue,ge,Ge,$t,Lt,tn):dn&6?U(ee,V,oe,ue,ge,Ge,$t,Lt,tn):(dn&64||dn&128)&&Ct.process(ee,V,oe,ue,ge,Ge,$t,Lt,tn,pr)}Kn!=null&&ge&&qne(Kn,ee&&ee.ref,Ge,V||ee,!V)},q=(ee,V,oe,ue)=>{if(ee==null)a(V.el=y(V.children),oe,ue);else{const ge=V.el=ee.el;V.children!==ee.children&&E(ge,V.children)}},Q=(ee,V,oe,ue)=>{ee==null?a(V.el=S(V.children||""),oe,ue):V.el=ee.el},Z=(ee,V,oe,ue)=>{[ee.el,ee.anchor]=j(ee.children,V,oe,ue,ee.el,ee.anchor)},X=({el:ee,anchor:V},oe,ue)=>{let ge;for(;ee&&ee!==V;)ge=_(ee),a(ee,oe,ue),ee=ge;a(V,oe,ue)},ie=({el:ee,anchor:V})=>{let oe;for(;ee&&ee!==V;)oe=_(ee),p(ee),ee=oe;p(V)},je=(ee,V,oe,ue,ge,Ge,$t,Lt,tn)=>{V.type==="svg"?$t="svg":V.type==="math"&&($t="mathml"),ee==null?et(V,oe,ue,ge,Ge,$t,Lt,tn):ce(ee,V,ge,Ge,$t,Lt,tn)},et=(ee,V,oe,ue,ge,Ge,$t,Lt)=>{let tn,Ct;const{props:Kn,shapeFlag:dn,transition:Rn,dirs:br}=ee;if(tn=ee.el=w(ee.type,Ge,Kn&&Kn.is,Kn),dn&8?I(tn,ee.children):dn&16&&bt(ee.children,tn,null,ue,ge,B8e(ee,Ge),$t,Lt),br&&eE(ee,null,ue,"created"),mt(tn,ee,ee.scopeId,$t,ue),Kn){for(const G in Kn)G!=="value"&&!OF(G)&&g(tn,G,null,Kn[G],Ge,ue);"value"in Kn&&g(tn,"value",null,Kn.value,Ge),(Ct=Kn.onVnodeBeforeMount)&&l3(Ct,ue,ee)}br&&eE(ee,null,ue,"beforeMount");const de=Kdn(ge,Rn);de&&Rn.beforeEnter(tn),a(tn,V,oe),((Ct=Kn&&Kn.onVnodeMounted)||de||br)&&_p(()=>{Ct&&l3(Ct,ue,ee),de&&Rn.enter(tn),br&&eE(ee,null,ue,"mounted")},ge)},mt=(ee,V,oe,ue,ge)=>{if(oe&&R(ee,oe),ue)for(let Ge=0;Ge{for(let Ct=tn;Ct{const Lt=V.el=ee.el;let{patchFlag:tn,dynamicChildren:Ct,dirs:Kn}=V;tn|=ee.patchFlag&16;const dn=ee.props||ou,Rn=V.props||ou;let br;if(oe&&tE(oe,!1),(br=Rn.onVnodeBeforeUpdate)&&l3(br,oe,V,ee),Kn&&eE(V,ee,oe,"beforeUpdate"),oe&&tE(oe,!0),(dn.innerHTML&&Rn.innerHTML==null||dn.textContent&&Rn.textContent==null)&&I(Lt,""),Ct?Be(ee.dynamicChildren,Ct,Lt,oe,ue,B8e(V,ge),Ge):$t||Jt(ee,V,Lt,null,oe,ue,B8e(V,ge),Ge,!1),tn>0){if(tn&16)ae(Lt,dn,Rn,oe,ge);else if(tn&2&&dn.class!==Rn.class&&g(Lt,"class",null,Rn.class,ge),tn&4&&g(Lt,"style",dn.style,Rn.style,ge),tn&8){const de=V.dynamicProps;for(let G=0;G{br&&l3(br,oe,V,ee),Kn&&eE(V,ee,oe,"updated")},ue)},Be=(ee,V,oe,ue,ge,Ge,$t)=>{for(let Lt=0;Lt{if(V!==oe){if(V!==ou)for(const Ge in V)!OF(Ge)&&!(Ge in oe)&&g(ee,Ge,V[Ge],null,ge,ue);for(const Ge in oe){if(OF(Ge))continue;const $t=oe[Ge],Lt=V[Ge];$t!==Lt&&Ge!=="value"&&g(ee,Ge,Lt,$t,ge,ue)}"value"in oe&&g(ee,"value",V.value,oe.value,ge)}},xe=(ee,V,oe,ue,ge,Ge,$t,Lt,tn)=>{const Ct=V.el=ee?ee.el:y(""),Kn=V.anchor=ee?ee.anchor:y("");let{patchFlag:dn,dynamicChildren:Rn,slotScopeIds:br}=V;br&&(Lt=Lt?Lt.concat(br):br),ee==null?(a(Ct,oe,ue),a(Kn,oe,ue),bt(V.children||[],oe,Kn,ge,Ge,$t,Lt,tn)):dn>0&&dn&64&&Rn&&ee.dynamicChildren?(Be(ee.dynamicChildren,Rn,oe,ge,Ge,$t,Lt),(V.key!=null||ge&&V===ge.subTree)&&VSe(ee,V,!0)):Jt(ee,V,oe,Kn,ge,Ge,$t,Lt,tn)},U=(ee,V,oe,ue,ge,Ge,$t,Lt,tn)=>{V.slotScopeIds=Lt,ee==null?V.shapeFlag&512?ge.ctx.activate(V,oe,ue,$t,tn):He(V,oe,ue,ge,Ge,$t,tn):yt(ee,V,tn)},He=(ee,V,oe,ue,ge,Ge,$t)=>{const Lt=ee.component=ohn(ee,ue,ge);if(Bre(ee)&&(Lt.ctx.renderer=pr),shn(Lt,!1,$t),Lt.asyncDep){if(ge&&ge.registerDep(Lt,ft,$t),!ee.el){const tn=Lt.subTree=ai(Lp);Q(null,tn,V,oe)}}else ft(Lt,ee,V,oe,ge,Ge,$t)},yt=(ee,V,oe)=>{const ue=V.component=ee.component;if(Qdn(ee,V,oe))if(ue.asyncDep&&!ue.asyncResolved){At(ue,V,oe);return}else ue.next=V,ue.update();else V.el=ee.el,ue.vnode=V},ft=(ee,V,oe,ue,ge,Ge,$t)=>{const Lt=()=>{if(ee.isMounted){let{next:dn,bu:Rn,u:br,parent:de,vnode:G}=ee;{const Ut=JSt(ee);if(Ut){dn&&(dn.el=G.el,At(ee,dn,$t)),Ut.asyncDep.then(()=>{ee.isUnmounted||Lt()});return}}let Y=dn,De;tE(ee,!1),dn?(dn.el=G.el,At(ee,dn,$t)):dn=G,Rn&&R8e(Rn),(De=dn.props&&dn.props.onVnodeBeforeUpdate)&&l3(De,de,dn,G),tE(ee,!0);const gt=F8e(ee),Kt=ee.subTree;ee.subTree=gt,K(Kt,gt,M(Kt.el),Ze(Kt),ee,ge,Ge),dn.el=gt.el,Y===null&&Zdn(ee,gt.el),br&&_p(br,ge),(De=dn.props&&dn.props.onVnodeUpdated)&&_p(()=>l3(De,de,dn,G),ge)}else{let dn;const{el:Rn,props:br}=V,{bm:de,m:G,parent:Y,root:De,type:gt}=ee,Kt=r_(V);if(tE(ee,!1),de&&R8e(de),!Kt&&(dn=br&&br.onVnodeBeforeMount)&&l3(dn,Y,V),tE(ee,!0),Rn&&Ce){const Ut=()=>{ee.subTree=F8e(ee),Ce(Rn,ee.subTree,ee,ge,null)};Kt&>.__asyncHydrate?gt.__asyncHydrate(Rn,ee,Ut):Ut()}else{De.ce&&De.ce._injectChildStyle(gt);const Ut=ee.subTree=F8e(ee);K(null,Ut,oe,ue,ee,ge,Ge),V.el=Ut.el}if(G&&_p(G,ge),!Kt&&(dn=br&&br.onVnodeMounted)){const Ut=V;_p(()=>l3(dn,Y,Ut),ge)}(V.shapeFlag&256||Y&&r_(Y.vnode)&&Y.vnode.shapeFlag&256)&&ee.a&&_p(ee.a,ge),ee.isMounted=!0,V=oe=ue=null}};ee.scope.on();const tn=ee.effect=new rSt(Lt);ee.scope.off();const Ct=ee.update=tn.run.bind(tn),Kn=ee.job=tn.runIfDirty.bind(tn);Kn.i=ee,Kn.id=ee.uid,tn.scheduler=()=>HSe(Kn),tE(ee,!0),Ct()},At=(ee,V,oe)=>{V.component=ee;const ue=ee.vnode.props;ee.vnode=V,ee.next=null,jdn(ee,V.props,ue,oe),Fdn(ee,V.children,oe),HC(),U6t(ee),KC()},Jt=(ee,V,oe,ue,ge,Ge,$t,Lt,tn=!1)=>{const Ct=ee&&ee.children,Kn=ee?ee.shapeFlag:0,dn=V.children,{patchFlag:Rn,shapeFlag:br}=V;if(Rn>0){if(Rn&128){kn(Ct,dn,oe,ue,ge,Ge,$t,Lt,tn);return}else if(Rn&256){un(Ct,dn,oe,ue,ge,Ge,$t,Lt,tn);return}}br&8?(Kn&16&&kt(Ct,ge,Ge),dn!==Ct&&I(oe,dn)):Kn&16?br&16?kn(Ct,dn,oe,ue,ge,Ge,$t,Lt,tn):kt(Ct,ge,Ge,!0):(Kn&8&&I(oe,""),br&16&&bt(dn,oe,ue,ge,Ge,$t,Lt,tn))},un=(ee,V,oe,ue,ge,Ge,$t,Lt,tn)=>{ee=ee||ZO,V=V||ZO;const Ct=ee.length,Kn=V.length,dn=Math.min(Ct,Kn);let Rn;for(Rn=0;RnKn?kt(ee,ge,Ge,!0,!1,dn):bt(V,oe,ue,ge,Ge,$t,Lt,tn,dn)},kn=(ee,V,oe,ue,ge,Ge,$t,Lt,tn)=>{let Ct=0;const Kn=V.length;let dn=ee.length-1,Rn=Kn-1;for(;Ct<=dn&&Ct<=Rn;){const br=ee[Ct],de=V[Ct]=tn?bC(V[Ct]):p3(V[Ct]);if(pE(br,de))K(br,de,oe,null,ge,Ge,$t,Lt,tn);else break;Ct++}for(;Ct<=dn&&Ct<=Rn;){const br=ee[dn],de=V[Rn]=tn?bC(V[Rn]):p3(V[Rn]);if(pE(br,de))K(br,de,oe,null,ge,Ge,$t,Lt,tn);else break;dn--,Rn--}if(Ct>dn){if(Ct<=Rn){const br=Rn+1,de=brRn)for(;Ct<=dn;)on(ee[Ct],ge,Ge,!0),Ct++;else{const br=Ct,de=Ct,G=new Map;for(Ct=de;Ct<=Rn;Ct++){const Ro=V[Ct]=tn?bC(V[Ct]):p3(V[Ct]);Ro.key!=null&&G.set(Ro.key,Ct)}let Y,De=0;const gt=Rn-de+1;let Kt=!1,Ut=0;const so=new Array(gt);for(Ct=0;Ct=gt){on(Ro,ge,Ge,!0);continue}let Ao;if(Ro.key!=null)Ao=G.get(Ro.key);else for(Y=de;Y<=Rn;Y++)if(so[Y-de]===0&&pE(Ro,V[Y])){Ao=Y;break}Ao===void 0?on(Ro,ge,Ge,!0):(so[Ao-de]=Ct+1,Ao>=Ut?Ut=Ao:Kt=!0,K(Ro,V[Ao],oe,null,ge,Ge,$t,Lt,tn),De++)}const rl=Kt?Udn(so):ZO;for(Y=rl.length-1,Ct=gt-1;Ct>=0;Ct--){const Ro=de+Ct,Ao=V[Ro],zs=Ro+1{const{el:Ge,type:$t,transition:Lt,children:tn,shapeFlag:Ct}=ee;if(Ct&6){qt(ee.component.subTree,V,oe,ue);return}if(Ct&128){ee.suspense.move(V,oe,ue);return}if(Ct&64){$t.move(ee,V,oe,pr);return}if($t===si){a(Ge,V,oe);for(let dn=0;dnLt.enter(Ge),ge);else{const{leave:dn,delayLeave:Rn,afterLeave:br}=Lt,de=()=>a(Ge,V,oe),G=()=>{dn(Ge,()=>{de(),br&&br()})};Rn?Rn(Ge,de,G):G()}else a(Ge,V,oe)},on=(ee,V,oe,ue=!1,ge=!1)=>{const{type:Ge,props:$t,ref:Lt,children:tn,dynamicChildren:Ct,shapeFlag:Kn,patchFlag:dn,dirs:Rn,cacheIndex:br}=ee;if(dn===-2&&(ge=!1),Lt!=null&&qne(Lt,null,oe,ee,!0),br!=null&&(V.renderCache[br]=void 0),Kn&256){V.ctx.deactivate(ee);return}const de=Kn&1&&Rn,G=!r_(ee);let Y;if(G&&(Y=$t&&$t.onVnodeBeforeUnmount)&&l3(Y,V,ee),Kn&6)Zn(ee.component,oe,ue);else{if(Kn&128){ee.suspense.unmount(oe,ue);return}de&&eE(ee,null,V,"beforeUnmount"),Kn&64?ee.type.remove(ee,V,oe,pr,ue):Ct&&!Ct.hasOnce&&(Ge!==si||dn>0&&dn&64)?kt(Ct,V,oe,!1,!0):(Ge===si&&dn&384||!ge&&Kn&16)&&kt(tn,V,oe),ue&&Rt(ee)}(G&&(Y=$t&&$t.onVnodeUnmounted)||de)&&_p(()=>{Y&&l3(Y,V,ee),de&&eE(ee,null,V,"unmounted")},oe)},Rt=ee=>{const{type:V,el:oe,anchor:ue,transition:ge}=ee;if(V===si){an(oe,ue);return}if(V===z8e){ie(ee);return}const Ge=()=>{p(oe),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave()};if(ee.shapeFlag&1&&ge&&!ge.persisted){const{leave:$t,delayLeave:Lt}=ge,tn=()=>$t(oe,Ge);Lt?Lt(ee.el,Ge,tn):tn()}else Ge()},an=(ee,V)=>{let oe;for(;ee!==V;)oe=_(ee),p(ee),ee=oe;p(V)},Zn=(ee,V,oe)=>{const{bum:ue,scope:ge,job:Ge,subTree:$t,um:Lt,m:tn,a:Ct}=ee;tkt(tn),tkt(Ct),ue&&R8e(ue),ge.stop(),Ge&&(Ge.flags|=8,on($t,ee,V,oe)),Lt&&_p(Lt,V),_p(()=>{ee.isUnmounted=!0},V),V&&V.pendingBranch&&!V.isUnmounted&&ee.asyncDep&&!ee.asyncResolved&&ee.suspenseId===V.pendingId&&(V.deps--,V.deps===0&&V.resolve())},kt=(ee,V,oe,ue=!1,ge=!1,Ge=0)=>{for(let $t=Ge;$t{if(ee.shapeFlag&6)return Ze(ee.component.subTree);if(ee.shapeFlag&128)return ee.suspense.next();const V=_(ee.anchor||ee.el),oe=V&&V[xSt];return oe?_(oe):V};let Xt=!1;const Mn=(ee,V,oe)=>{ee==null?V._vnode&&on(V._vnode,null,null,!0):K(V._vnode||null,ee,V,null,null,null,oe),V._vnode=ee,Xt||(Xt=!0,U6t(),kSt(),Xt=!1)},pr={p:K,um:on,m:qt,r:Rt,mt:He,mc:bt,pc:Jt,pbc:Be,n:Ze,o:r};let ye,Ce;return{render:Mn,hydrate:ye,createApp:Ldn(Mn,ye)}}function B8e({type:r,props:o},l){return l==="svg"&&r==="foreignObject"||l==="mathml"&&r==="annotation-xml"&&o&&o.encoding&&o.encoding.includes("html")?void 0:l}function tE({effect:r,job:o},l){l?(r.flags|=32,o.flags|=4):(r.flags&=-33,o.flags&=-5)}function Kdn(r,o){return(!r||r&&!r.pendingBranch)&&o&&!o.persisted}function VSe(r,o,l=!1){const a=r.children,p=o.children;if(So(a)&&So(p))for(let g=0;g>1,r[l[y]]0&&(o[a]=l[g-1]),l[g]=a)}}for(g=l.length,w=l[g-1];g-- >0;)l[g]=w,w=o[w];return l}function JSt(r){const o=r.subTree.component;if(o)return o.asyncDep&&!o.asyncResolved?o:JSt(o)}function tkt(r){if(r)for(let o=0;ov3(Gdn);function Os(r,o,l){return QSt(r,o,l)}function QSt(r,o,l=ou){const{immediate:a,deep:p,flush:g,once:w}=l,y=Xf({},l),S=o&&a||!o&&g!=="post";let E;if(lz){if(g==="sync"){const R=Wdn();E=R.__watcherHandles||(R.__watcherHandles=[])}else if(!S){const R=()=>{};return R.stop=m3,R.resume=m3,R.pause=m3,R}}const I=Gh;y.call=(R,j,K)=>ay(R,I,j,K);let M=!1;g==="post"?y.scheduler=R=>{_p(R,I&&I.suspense)}:g!=="sync"&&(M=!0,y.scheduler=(R,j)=>{j?R():HSe(R)}),y.augmentJob=R=>{o&&(R.flags|=4),M&&(R.flags|=2,I&&(R.id=I.uid,R.i=I))};const _=sdn(r,o,y);return lz&&(E?E.push(_):S&&_()),_}function Vdn(r,o,l){const a=this.proxy,p=Zu(r)?r.includes(".")?ZSt(a,r):()=>a[r]:r.bind(a,a);let g;Go(o)?g=o:(g=o.handler,l=o);const w=gH(this),y=QSt(p,g.bind(a),l);return w(),y}function ZSt(r,o){const l=o.split(".");return()=>{let a=r;for(let p=0;po==="modelValue"||o==="model-value"?r.modelModifiers:r[`${o}Modifiers`]||r[`${cm(o)}Modifiers`]||r[`${zC(o)}Modifiers`];function Xdn(r,o,...l){if(r.isUnmounted)return;const a=r.vnode.props||ou;let p=l;const g=o.startsWith("update:"),w=g&&qdn(a,o.slice(7));w&&(w.trim&&(p=l.map(I=>Zu(I)?I.trim():I)),w.number&&(p=l.map(kfn)));let y,S=a[y=wne(o)]||a[y=wne(cm(o))];!S&&g&&(S=a[y=wne(zC(o))]),S&&ay(S,r,6,p);const E=a[y+"Once"];if(E){if(!r.emitted)r.emitted={};else if(r.emitted[y])return;r.emitted[y]=!0,ay(E,r,6,p)}}function e9t(r,o,l=!1){const a=o.emitsCache,p=a.get(r);if(p!==void 0)return p;const g=r.emits;let w={},y=!1;if(!Go(r)){const S=E=>{const I=e9t(E,o,!0);I&&(y=!0,Xf(w,I))};!l&&o.mixins.length&&o.mixins.forEach(S),r.extends&&S(r.extends),r.mixins&&r.mixins.forEach(S)}return!g&&!y?(yu(r)&&a.set(r,null),null):(So(g)?g.forEach(S=>w[S]=null):Xf(w,g),yu(r)&&a.set(r,w),w)}function Kre(r,o){return!r||!Ore(o)?!1:(o=o.slice(2).replace(/Once$/,""),pc(r,o[0].toLowerCase()+o.slice(1))||pc(r,zC(o))||pc(r,o))}function F8e(r){const{type:o,vnode:l,proxy:a,withProxy:p,propsOptions:[g],slots:w,attrs:y,emit:S,render:E,renderCache:I,props:M,data:_,setupState:R,ctx:j,inheritAttrs:K}=r,q=Vne(r);let Q,Z;try{if(l.shapeFlag&4){const ie=p||a,je=ie;Q=p3(E.call(je,ie,I,M,R,_,j)),Z=y}else{const ie=o;Q=p3(ie.length>1?ie(M,{attrs:y,slots:w,emit:S}):ie(M,null)),Z=o.props?y:Ydn(y)}}catch(ie){jF.length=0,Nre(ie,r,1),Q=ai(Lp)}let X=Q;if(Z&&K!==!1){const ie=Object.keys(Z),{shapeFlag:je}=X;ie.length&&je&7&&(g&&ie.some(ASe)&&(Z=Jdn(Z,g)),X=RC(X,Z,!1,!0))}return l.dirs&&(X=RC(X,null,!1,!0),X.dirs=X.dirs?X.dirs.concat(l.dirs):l.dirs),l.transition&&iz(X,l.transition),Q=X,Vne(q),Q}const Ydn=r=>{let o;for(const l in r)(l==="class"||l==="style"||Ore(l))&&((o||(o={}))[l]=r[l]);return o},Jdn=(r,o)=>{const l={};for(const a in r)(!ASe(a)||!(a.slice(9)in o))&&(l[a]=r[a]);return l};function Qdn(r,o,l){const{props:a,children:p,component:g}=r,{props:w,children:y,patchFlag:S}=o,E=g.emitsOptions;if(o.dirs||o.transition)return!0;if(l&&S>=0){if(S&1024)return!0;if(S&16)return a?nkt(a,w,E):!!w;if(S&8){const I=o.dynamicProps;for(let M=0;Mr.__isSuspense;function ehn(r,o){o&&o.pendingBranch?So(r)?o.effects.push(...r):o.effects.push(r):udn(r)}const si=Symbol.for("v-fgt"),Ure=Symbol.for("v-txt"),Lp=Symbol.for("v-cmt"),z8e=Symbol.for("v-stc"),jF=[];let $p=null;function ve(r=!1){jF.push($p=r?null:[])}function thn(){jF.pop(),$p=jF[jF.length-1]||null}let v_=1;function rkt(r,o=!1){v_+=r,r<0&&$p&&o&&($p.hasOnce=!0)}function n9t(r){return r.dynamicChildren=v_>0?$p||ZO:null,thn(),v_>0&&$p&&$p.push(r),r}function wt(r,o,l,a,p,g){return n9t(ar(r,o,l,a,p,g,!0))}function Cn(r,o,l,a,p){return n9t(ai(r,o,l,a,p,!0))}function sz(r){return r?r.__v_isVNode===!0:!1}function pE(r,o){return r.type===o.type&&r.key===o.key}const r9t=({key:r})=>r??null,vne=({ref:r,ref_key:o,ref_for:l})=>(typeof r=="number"&&(r=""+r),r!=null?Zu(r)||Ef(r)||Go(r)?{i:ph,r,k:o,f:!!l}:r:null);function ar(r,o=null,l=null,a=0,p=null,g=r===si?0:1,w=!1,y=!1){const S={__v_isVNode:!0,__v_skip:!0,type:r,props:o,key:o&&r9t(o),ref:o&&vne(o),scopeId:SSt,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:a,dynamicProps:p,dynamicChildren:null,appContext:null,ctx:ph};return y?(qSe(S,l),g&128&&r.normalize(S)):l&&(S.shapeFlag|=Zu(l)?8:16),v_>0&&!w&&$p&&(S.patchFlag>0||g&6)&&S.patchFlag!==32&&$p.push(S),S}const ai=nhn;function nhn(r,o=null,l=null,a=0,p=null,g=!1){if((!r||r===jSt)&&(r=Lp),sz(r)){const y=RC(r,o,!0);return l&&qSe(y,l),v_>0&&!g&&$p&&(y.shapeFlag&6?$p[$p.indexOf(r)]=y:$p.push(y)),y.patchFlag=-2,y}if(ahn(r)&&(r=r.__vccOpts),o){o=c7e(o);let{class:y,style:S}=o;y&&!Zu(y)&&(o.class=yo(y)),yu(S)&&(zSe(S)&&!So(S)&&(S=Xf({},S)),o.style=A1(S))}const w=Zu(r)?1:t9t(r)?128:ESt(r)?64:yu(r)?4:Go(r)?2:0;return ar(r,o,l,a,p,w,g,!0)}function c7e(r){return r?zSe(r)||USt(r)?Xf({},r):r:null}function RC(r,o,l=!1,a=!1){const{props:p,ref:g,patchFlag:w,children:y,transition:S}=r,E=o?Qe(p||{},o):p,I={__v_isVNode:!0,__v_skip:!0,type:r.type,props:E,key:E&&r9t(E),ref:o&&o.ref?l&&g?So(g)?g.concat(vne(o)):[g,vne(o)]:vne(o):g,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:y,target:r.target,targetStart:r.targetStart,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:o&&r.type!==si?w===-1?16:w|16:w,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:S,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&RC(r.ssContent),ssFallback:r.ssFallback&&RC(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce};return S&&a&&iz(I,S.clone(I)),I}function hb(r=" ",o=0){return ai(Ure,null,r,o)}function rr(r="",o=!1){return o?(ve(),Cn(Lp,null,r)):ai(Lp,null,r)}function p3(r){return r==null||typeof r=="boolean"?ai(Lp):So(r)?ai(si,null,r.slice()):sz(r)?bC(r):ai(Ure,null,String(r))}function bC(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:RC(r)}function qSe(r,o){let l=0;const{shapeFlag:a}=r;if(o==null)o=null;else if(So(o))l=16;else if(typeof o=="object")if(a&65){const p=o.default;p&&(p._c&&(p._d=!1),qSe(r,p()),p._c&&(p._d=!0));return}else{l=32;const p=o._;!p&&!USt(o)?o._ctx=ph:p===3&&ph&&(ph.slots._===1?o._=1:(o._=2,r.patchFlag|=1024))}else Go(o)?(o={default:o,_ctx:ph},l=32):(o=String(o),a&64?(l=16,o=[hb(o)]):l=8);r.children=o,r.shapeFlag|=l}function Qe(...r){const o={};for(let l=0;lGh||ph;let Yne,u7e;{const r=Lre(),o=(l,a)=>{let p;return(p=r[l])||(p=r[l]=[]),p.push(a),g=>{p.length>1?p.forEach(w=>w(g)):p[0](g)}};Yne=o("__VUE_INSTANCE_SETTERS__",l=>Gh=l),u7e=o("__VUE_SSR_SETTERS__",l=>lz=l)}const gH=r=>{const o=Gh;return Yne(r),r.scope.on(),()=>{r.scope.off(),Yne(o)}},ikt=()=>{Gh&&Gh.scope.off(),Yne(null)};function i9t(r){return r.vnode.shapeFlag&4}let lz=!1;function shn(r,o=!1,l=!1){o&&u7e(o);const{props:a,children:p}=r.vnode,g=i9t(r);$dn(r,a,g,o),Bdn(r,p,l);const w=g?lhn(r,o):void 0;return o&&u7e(!1),w}function lhn(r,o){const l=r.type;r.accessCache=Object.create(null),r.proxy=new Proxy(r.ctx,Edn);const{setup:a}=l;if(a){HC();const p=r.setupContext=a.length>1?s9t(r):null,g=gH(r),w=pH(a,r,0,[r.props,p]),y=q7t(w);if(KC(),g(),(y||r.sp)&&!r_(r)&&ASt(r),y){if(w.then(ikt,ikt),o)return w.then(S=>{okt(r,S,o)}).catch(S=>{Nre(S,r,0)});r.asyncDep=w}else okt(r,w,o)}else o9t(r,o)}function okt(r,o,l){Go(o)?r.type.__ssrInlineRender?r.ssrRender=o:r.render=o:yu(o)&&(r.setupState=wSt(o)),o9t(r,l)}let skt;function o9t(r,o,l){const a=r.type;if(!r.render){if(!o&&skt&&!a.render){const p=a.template||GSe(r).template;if(p){const{isCustomElement:g,compilerOptions:w}=r.appContext.config,{delimiters:y,compilerOptions:S}=a,E=Xf(Xf({isCustomElement:g,delimiters:y},w),S);a.render=skt(p,E)}}r.render=a.render||m3}{const p=gH(r);HC();try{Pdn(r)}finally{KC(),p()}}}const chn={get(r,o){return O1(r,"get",""),r[o]}};function s9t(r){const o=l=>{r.exposed=l||{}};return{attrs:new Proxy(r.attrs,chn),slots:r.slots,emit:r.emit,expose:o}}function Gre(r){return r.exposed?r.exposeProxy||(r.exposeProxy=new Proxy(wSt(EE(r.exposed)),{get(o,l){if(l in o)return o[l];if(l in $F)return $F[l](r)},has(o,l){return l in o||l in $F}})):r.proxy}function uhn(r,o=!0){return Go(r)?r.displayName||r.name:r.name||o&&r.__name}function ahn(r){return Go(r)&&"__vccOpts"in r}const ho=(r,o)=>idn(r,o,lz);function Pc(r,o,l){const a=arguments.length;return a===2?yu(o)&&!So(o)?sz(o)?ai(r,null,[o]):ai(r,o):ai(r,null,o):(a>3?l=Array.prototype.slice.call(arguments,2):a===3&&sz(l)&&(l=[l]),ai(r,o,l))}function fhn(r,o){const l=r.memo;if(l.length!=o.length)return!1;for(let a=0;a0&&$p&&$p.push(r),!0}const dhn="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let a7e;const lkt=typeof window<"u"&&window.trustedTypes;if(lkt)try{a7e=lkt.createPolicy("vue",{createHTML:r=>r})}catch{}const l9t=a7e?r=>a7e.createHTML(r):r=>r,hhn="http://www.w3.org/2000/svg",phn="http://www.w3.org/1998/Math/MathML",L6=typeof document<"u"?document:null,ckt=L6&&L6.createElement("template"),ghn={insert:(r,o,l)=>{o.insertBefore(r,l||null)},remove:r=>{const o=r.parentNode;o&&o.removeChild(r)},createElement:(r,o,l,a)=>{const p=o==="svg"?L6.createElementNS(hhn,r):o==="mathml"?L6.createElementNS(phn,r):l?L6.createElement(r,{is:l}):L6.createElement(r);return r==="select"&&a&&a.multiple!=null&&p.setAttribute("multiple",a.multiple),p},createText:r=>L6.createTextNode(r),createComment:r=>L6.createComment(r),setText:(r,o)=>{r.nodeValue=o},setElementText:(r,o)=>{r.textContent=o},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>L6.querySelector(r),setScopeId(r,o){r.setAttribute(o,"")},insertStaticContent(r,o,l,a,p,g){const w=l?l.previousSibling:o.lastChild;if(p&&(p===g||p.nextSibling))for(;o.insertBefore(p.cloneNode(!0),l),!(p===g||!(p=p.nextSibling)););else{ckt.innerHTML=l9t(a==="svg"?`${r}`:a==="mathml"?`${r}`:r);const y=ckt.content;if(a==="svg"||a==="mathml"){const S=y.firstChild;for(;S.firstChild;)y.appendChild(S.firstChild);y.removeChild(S)}o.insertBefore(y,l)}return[w?w.nextSibling:o.firstChild,l?l.previousSibling:o.lastChild]}},uC="transition",lF="animation",cz=Symbol("_vtc"),c9t={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},bhn=Xf({},PSt,c9t),whn=r=>(r.displayName="Transition",r.props=bhn,r),Wre=whn((r,{slots:o})=>Pc(pdn,mhn(r),o)),nE=(r,o=[])=>{So(r)?r.forEach(l=>l(...o)):r&&r(...o)},ukt=r=>r?So(r)?r.some(o=>o.length>1):r.length>1:!1;function mhn(r){const o={};for(const xe in r)xe in c9t||(o[xe]=r[xe]);if(r.css===!1)return o;const{name:l="v",type:a,duration:p,enterFromClass:g=`${l}-enter-from`,enterActiveClass:w=`${l}-enter-active`,enterToClass:y=`${l}-enter-to`,appearFromClass:S=g,appearActiveClass:E=w,appearToClass:I=y,leaveFromClass:M=`${l}-leave-from`,leaveActiveClass:_=`${l}-leave-active`,leaveToClass:R=`${l}-leave-to`}=r,j=vhn(p),K=j&&j[0],q=j&&j[1],{onBeforeEnter:Q,onEnter:Z,onEnterCancelled:X,onLeave:ie,onLeaveCancelled:je,onBeforeAppear:et=Q,onAppear:mt=Z,onAppearCancelled:bt=X}=o,ce=(xe,U,He,yt)=>{xe._enterCancelled=yt,rE(xe,U?I:y),rE(xe,U?E:w),He&&He()},Be=(xe,U)=>{xe._isLeaving=!1,rE(xe,M),rE(xe,R),rE(xe,_),U&&U()},ae=xe=>(U,He)=>{const yt=xe?mt:Z,ft=()=>ce(U,xe,He);nE(yt,[U,ft]),akt(()=>{rE(U,xe?S:g),O6(U,xe?I:y),ukt(yt)||fkt(U,a,K,ft)})};return Xf(o,{onBeforeEnter(xe){nE(Q,[xe]),O6(xe,g),O6(xe,w)},onBeforeAppear(xe){nE(et,[xe]),O6(xe,S),O6(xe,E)},onEnter:ae(!1),onAppear:ae(!0),onLeave(xe,U){xe._isLeaving=!0;const He=()=>Be(xe,U);O6(xe,M),xe._enterCancelled?(O6(xe,_),pkt()):(pkt(),O6(xe,_)),akt(()=>{xe._isLeaving&&(rE(xe,M),O6(xe,R),ukt(ie)||fkt(xe,a,q,He))}),nE(ie,[xe,He])},onEnterCancelled(xe){ce(xe,!1,void 0,!0),nE(X,[xe])},onAppearCancelled(xe){ce(xe,!0,void 0,!0),nE(bt,[xe])},onLeaveCancelled(xe){Be(xe),nE(je,[xe])}})}function vhn(r){if(r==null)return null;if(yu(r))return[H8e(r.enter),H8e(r.leave)];{const o=H8e(r);return[o,o]}}function H8e(r){return Cfn(r)}function O6(r,o){o.split(/\s+/).forEach(l=>l&&r.classList.add(l)),(r[cz]||(r[cz]=new Set)).add(o)}function rE(r,o){o.split(/\s+/).forEach(a=>a&&r.classList.remove(a));const l=r[cz];l&&(l.delete(o),l.size||(r[cz]=void 0))}function akt(r){requestAnimationFrame(()=>{requestAnimationFrame(r)})}let yhn=0;function fkt(r,o,l,a){const p=r._endId=++yhn,g=()=>{p===r._endId&&a()};if(l!=null)return setTimeout(g,l);const{type:w,timeout:y,propCount:S}=khn(r,o);if(!w)return a();const E=w+"end";let I=0;const M=()=>{r.removeEventListener(E,_),g()},_=R=>{R.target===r&&++I>=S&&M()};setTimeout(()=>{I(l[j]||"").split(", "),p=a(`${uC}Delay`),g=a(`${uC}Duration`),w=dkt(p,g),y=a(`${lF}Delay`),S=a(`${lF}Duration`),E=dkt(y,S);let I=null,M=0,_=0;o===uC?w>0&&(I=uC,M=w,_=g.length):o===lF?E>0&&(I=lF,M=E,_=S.length):(M=Math.max(w,E),I=M>0?w>E?uC:lF:null,_=I?I===uC?g.length:S.length:0);const R=I===uC&&/\b(transform|all)(,|$)/.test(a(`${uC}Property`).toString());return{type:I,timeout:M,propCount:_,hasTransform:R}}function dkt(r,o){for(;r.lengthhkt(l)+hkt(r[a])))}function hkt(r){return r==="auto"?0:Number(r.slice(0,-1).replace(",","."))*1e3}function pkt(){return document.body.offsetHeight}function Chn(r,o,l){const a=r[cz];a&&(o=(o?[o,...a]:[...a]).join(" ")),o==null?r.removeAttribute("class"):l?r.setAttribute("class",o):r.className=o}const gkt=Symbol("_vod"),Shn=Symbol("_vsh"),xhn=Symbol(""),Ehn=/(^|;)\s*display\s*:/;function Thn(r,o,l){const a=r.style,p=Zu(l);let g=!1;if(l&&!p){if(o)if(Zu(o))for(const w of o.split(";")){const y=w.slice(0,w.indexOf(":")).trim();l[y]==null&&yne(a,y,"")}else for(const w in o)l[w]==null&&yne(a,w,"");for(const w in l)w==="display"&&(g=!0),yne(a,w,l[w])}else if(p){if(o!==l){const w=a[xhn];w&&(l+=";"+w),a.cssText=l,g=Ehn.test(l)}}else o&&r.removeAttribute("style");gkt in r&&(r[gkt]=g?a.display:"",r[Shn]&&(a.display="none"))}const bkt=/\s*!important$/;function yne(r,o,l){if(So(l))l.forEach(a=>yne(r,o,a));else if(l==null&&(l=""),o.startsWith("--"))r.setProperty(o,l);else{const a=Ihn(r,o);bkt.test(l)?r.setProperty(zC(a),l.replace(bkt,""),"important"):r[a]=l}}const wkt=["Webkit","Moz","ms"],K8e={};function Ihn(r,o){const l=K8e[o];if(l)return l;let a=cm(o);if(a!=="filter"&&a in r)return K8e[o]=a;a=Are(a);for(let p=0;pU8e||(Rhn.then(()=>U8e=0),U8e=Date.now());function Lhn(r,o){const l=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=l.attached)return;ay($hn(a,l.value),o,5,[a])};return l.value=r,l.attached=Ahn(),l}function $hn(r,o){if(So(o)){const l=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{l.call(r),r._stopped=!0},o.map(a=>p=>!p._stopped&&a&&a(p))}else return o}const Skt=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,jhn=(r,o,l,a,p,g)=>{const w=p==="svg";o==="class"?Chn(r,a,w):o==="style"?Thn(r,l,a):Ore(o)?ASe(o)||Ohn(r,o,l,a,g):(o[0]==="."?(o=o.slice(1),!0):o[0]==="^"?(o=o.slice(1),!1):Dhn(r,o,a,w))?(ykt(r,o,a),!r.tagName.includes("-")&&(o==="value"||o==="checked"||o==="selected")&&vkt(r,o,a,w,g,o!=="value")):r._isVueCE&&(/[A-Z]/.test(o)||!Zu(a))?ykt(r,cm(o),a,g,o):(o==="true-value"?r._trueValue=a:o==="false-value"&&(r._falseValue=a),vkt(r,o,a,w))};function Dhn(r,o,l,a){if(a)return!!(o==="innerHTML"||o==="textContent"||o in r&&Skt(o)&&Go(l));if(o==="spellcheck"||o==="draggable"||o==="translate"||o==="form"||o==="list"&&r.tagName==="INPUT"||o==="type"&&r.tagName==="TEXTAREA")return!1;if(o==="width"||o==="height"){const p=r.tagName;if(p==="IMG"||p==="VIDEO"||p==="CANVAS"||p==="SOURCE")return!1}return Skt(o)&&Zu(l)?!1:o in r}const Nhn=["ctrl","shift","alt","meta"],Bhn={stop:r=>r.stopPropagation(),prevent:r=>r.preventDefault(),self:r=>r.target!==r.currentTarget,ctrl:r=>!r.ctrlKey,shift:r=>!r.shiftKey,alt:r=>!r.altKey,meta:r=>!r.metaKey,left:r=>"button"in r&&r.button!==0,middle:r=>"button"in r&&r.button!==1,right:r=>"button"in r&&r.button!==2,exact:(r,o)=>Nhn.some(l=>r[`${l}Key`]&&!o.includes(l))},u9t=(r,o)=>{const l=r._withMods||(r._withMods={}),a=o.join(".");return l[a]||(l[a]=(p,...g)=>{for(let w=0;w{const l=r._withKeys||(r._withKeys={}),a=o.join(".");return l[a]||(l[a]=p=>{if(!("key"in p))return;const g=zC(p.key);if(o.some(w=>w===g||Fhn[w]===g))return r(p)})},zhn=Xf({patchProp:jhn},ghn);let xkt;function Hhn(){return xkt||(xkt=zdn(zhn))}const Khn=(...r)=>{const o=Hhn().createApp(...r),{mount:l}=o;return o.mount=a=>{const p=Ghn(a);if(!p)return;const g=o._component;!Go(g)&&!g.render&&!g.template&&(g.template=p.innerHTML),p.nodeType===1&&(p.textContent="");const w=l(p,!1,Uhn(p));return p instanceof Element&&(p.removeAttribute("v-cloak"),p.setAttribute("data-v-app","")),w},o};function Uhn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function Ghn(r){return Zu(r)?document.querySelector(r):r}var Whn=Object.defineProperty,Ekt=Object.getOwnPropertySymbols,Vhn=Object.prototype.hasOwnProperty,qhn=Object.prototype.propertyIsEnumerable,Tkt=(r,o,l)=>o in r?Whn(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Xhn=(r,o)=>{for(var l in o||(o={}))Vhn.call(o,l)&&Tkt(r,l,o[l]);if(Ekt)for(var l of Ekt(o))qhn.call(o,l)&&Tkt(r,l,o[l]);return r};function um(r){return r==null||r===""||Array.isArray(r)&&r.length===0||!(r instanceof Date)&&typeof r=="object"&&Object.keys(r).length===0}function Yhn(r,o,l,a=1){let p=-1;const g=um(r),w=um(o);return g&&w?p=0:g?p=a:w?p=-a:typeof r=="string"&&typeof o=="string"?p=l(r,o):p=ro?1:0,p}function f7e(r,o,l=new WeakSet){if(r===o)return!0;if(!r||!o||typeof r!="object"||typeof o!="object"||l.has(r)||l.has(o))return!1;l.add(r).add(o);let a=Array.isArray(r),p=Array.isArray(o),g,w,y;if(a&&p){if(w=r.length,w!=o.length)return!1;for(g=w;g--!==0;)if(!f7e(r[g],o[g],l))return!1;return!0}if(a!=p)return!1;let S=r instanceof Date,E=o instanceof Date;if(S!=E)return!1;if(S&&E)return r.getTime()==o.getTime();let I=r instanceof RegExp,M=o instanceof RegExp;if(I!=M)return!1;if(I&&M)return r.toString()==o.toString();let _=Object.keys(r);if(w=_.length,w!==Object.keys(o).length)return!1;for(g=w;g--!==0;)if(!Object.prototype.hasOwnProperty.call(o,_[g]))return!1;for(g=w;g--!==0;)if(y=_[g],!f7e(r[y],o[y],l))return!1;return!0}function Jhn(r,o){return f7e(r,o)}function Vre(r){return!!(r&&r.constructor&&r.call&&r.apply)}function os(r){return!um(r)}function pl(r,o){if(!r||!o)return null;try{const l=r[o];if(os(l))return l}catch{}if(Object.keys(r).length){if(Vre(o))return o(r);if(o.indexOf(".")===-1)return r[o];{let l=o.split("."),a=r;for(let p=0,g=l.length;pry(g)===p)||""],l),a.join("."),l):void 0:tm(r,l)}function bH(r,o=!0){return Array.isArray(r)&&(o||r.length!==0)}function Zhn(r){return os(r)&&!isNaN(r)}function e1n(r=""){return os(r)&&r.length===1&&!!r.match(/\S| /)}function Pkt(){return new Intl.Collator(void 0,{numeric:!0}).compare}function F6(r,o){if(o){const l=o.test(r);return o.lastIndex=0,l}return!1}function t1n(...r){const o=(l={},a={})=>{const p=Xhn({},l);return Object.keys(a).forEach(g=>{S3(a[g])&&g in l&&S3(l[g])?p[g]=o(l[g],a[g]):p[g]=a[g]}),p};return r.reduce((l,a,p)=>p===0?a:o(l,a),{})}function DF(r){return r&&r.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function Qw(r){if(r&&/[\xC0-\xFF\u0100-\u017E]/.test(r)){const l={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let a in l)r=r.replace(l[a],a)}return r}function Mkt(r,o,l){r&&o!==l&&(l>=r.length&&(l%=r.length,o%=r.length),r.splice(l,0,r.splice(o,1)[0]))}function Okt(r,o,l=1,a,p=1){const g=Yhn(r,o,a,l);let w=l;return(um(r)||um(o))&&(w=p===1?l:p),w*g}function n1n(r){return Vg(r,!1)?r[0].toUpperCase()+r.slice(1):r}function a9t(r){return Vg(r)?r.replace(/(_)/g,"-").replace(/[A-Z]/g,(o,l)=>l===0?o:"-"+o.toLowerCase()).toLowerCase():r}function _kt(r){return Vg(r)?r.replace(/[A-Z]/g,(o,l)=>l===0?o:"."+o.toLowerCase()).toLowerCase():r}function YSe(){const r=new Map;return{on(o,l){let a=r.get(o);return a?a.push(l):a=[l],r.set(o,a),this},off(o,l){let a=r.get(o);return a&&a.splice(a.indexOf(l)>>>0,1),this},emit(o,l){let a=r.get(o);a&&a.slice().map(p=>{p(l)})},clear(){r.clear()}}}var r1n=Object.defineProperty,i1n=Object.defineProperties,o1n=Object.getOwnPropertyDescriptors,Jne=Object.getOwnPropertySymbols,f9t=Object.prototype.hasOwnProperty,d9t=Object.prototype.propertyIsEnumerable,Rkt=(r,o,l)=>o in r?r1n(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,iy=(r,o)=>{for(var l in o||(o={}))f9t.call(o,l)&&Rkt(r,l,o[l]);if(Jne)for(var l of Jne(o))d9t.call(o,l)&&Rkt(r,l,o[l]);return r},V8e=(r,o)=>i1n(r,o1n(o)),_6=(r,o)=>{var l={};for(var a in r)f9t.call(r,a)&&o.indexOf(a)<0&&(l[a]=r[a]);if(r!=null&&Jne)for(var a of Jne(r))o.indexOf(a)<0&&d9t.call(r,a)&&(l[a]=r[a]);return l},s1n=YSe(),ny=s1n;function Akt(r,o){bH(r)?r.push(...o||[]):S3(r)&&Object.assign(r,o)}function l1n(r){return S3(r)&&r.hasOwnProperty("value")&&r.hasOwnProperty("type")?r.value:r}function c1n(r){return r.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function d7e(r="",o=""){return c1n(`${Vg(r,!1)&&Vg(o,!1)?`${r}-`:r}${o}`)}function h9t(r="",o=""){return`--${d7e(r,o)}`}function u1n(r=""){const o=(r.match(/{/g)||[]).length,l=(r.match(/}/g)||[]).length;return(o+l)%2!==0}function p9t(r,o="",l="",a=[],p){if(Vg(r)){const g=/{([^}]*)}/g,w=r.trim();if(u1n(w))return;if(F6(w,g)){const y=w.replaceAll(g,I=>{const _=I.replace(/{|}/g,"").split(".").filter(R=>!a.some(j=>F6(R,j)));return`var(${h9t(l,a9t(_.join("-")))}${os(p)?`, ${p}`:""})`}),S=/(\d+\s+[\+\-\*\/]\s+\d+)/g,E=/var\([^)]+\)/g;return F6(y.replace(E,"0"),S)?`calc(${y})`:y}return w}else if(Zhn(r))return r}function a1n(r,o,l){Vg(o,!1)&&r.push(`${o}:${l};`)}function HO(r,o){return r?`${r}{${o}}`:""}var f1n=r=>{var o;const l=Ic.getTheme(),a=h7e(l,r,void 0,"variable"),p=(o=a==null?void 0:a.match(/--[\w-]+/g))==null?void 0:o[0],g=h7e(l,r,void 0,"value");return{name:p,variable:a,value:g}},NF=(...r)=>h7e(Ic.getTheme(),...r),h7e=(r={},o,l,a)=>{if(o){const{variable:p,options:g}=Ic.defaults||{},{prefix:w,transform:y}=(r==null?void 0:r.options)||g||{},E=F6(o,/{([^}]*)}/g)?o:`{${o}}`;return a==="value"||um(a)&&y==="strict"?Ic.getTokenValue(o):p9t(E,void 0,w,[p.excludedKeyRegex],l)}return""};function d1n(r,o={}){const l=Ic.defaults.variable,{prefix:a=l.prefix,selector:p=l.selector,excludedKeyRegex:g=l.excludedKeyRegex}=o,w=(E,I="")=>Object.entries(E).reduce((M,[_,R])=>{const j=F6(_,g)?d7e(I):d7e(I,a9t(_)),K=l1n(R);if(S3(K)){const{variables:q,tokens:Q}=w(K,j);Akt(M.tokens,Q),Akt(M.variables,q)}else M.tokens.push((a?j.replace(`${a}-`,""):j).replaceAll("-",".")),a1n(M.variables,h9t(j),p9t(K,j,a,[g]));return M},{variables:[],tokens:[]}),{variables:y,tokens:S}=w(r,a);return{value:y,tokens:S,declarations:y.join(""),css:HO(p,y.join(""))}}var Yv={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(r){return{type:"class",selector:r,matched:this.pattern.test(r.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(r){return{type:"attr",selector:`:root${r}`,matched:this.pattern.test(r.trim())}}},media:{pattern:/^@media (.*)$/,resolve(r){return{type:"media",selector:`${r}{:root{[CSS]}}`,matched:this.pattern.test(r.trim())}}},system:{pattern:/^system$/,resolve(r){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(r.trim())}}},custom:{resolve(r){return{type:"custom",selector:r,matched:!0}}}},resolve(r){const o=Object.keys(this.rules).filter(l=>l!=="custom").map(l=>this.rules[l]);return[r].flat().map(l=>{var a;return(a=o.map(p=>p.resolve(l)).find(p=>p.matched))!=null?a:this.rules.custom.resolve(l)})}},_toVariables(r,o){return d1n(r,{prefix:o==null?void 0:o.prefix})},getCommon({name:r="",theme:o={},params:l,set:a,defaults:p}){var g,w,y,S,E,I,M;const{preset:_,options:R}=o;let j,K,q,Q,Z,X,ie;if(os(_)&&R.transform!=="strict"){const{primitive:je,semantic:et,extend:mt}=_,bt=et||{},{colorScheme:ce}=bt,Be=_6(bt,["colorScheme"]),ae=mt||{},{colorScheme:xe}=ae,U=_6(ae,["colorScheme"]),He=ce||{},{dark:yt}=He,ft=_6(He,["dark"]),At=xe||{},{dark:Jt}=At,un=_6(At,["dark"]),kn=os(je)?this._toVariables({primitive:je},R):{},qt=os(Be)?this._toVariables({semantic:Be},R):{},on=os(ft)?this._toVariables({light:ft},R):{},Rt=os(yt)?this._toVariables({dark:yt},R):{},an=os(U)?this._toVariables({semantic:U},R):{},Zn=os(un)?this._toVariables({light:un},R):{},kt=os(Jt)?this._toVariables({dark:Jt},R):{},[Ze,Xt]=[(g=kn.declarations)!=null?g:"",kn.tokens],[Mn,pr]=[(w=qt.declarations)!=null?w:"",qt.tokens||[]],[ye,Ce]=[(y=on.declarations)!=null?y:"",on.tokens||[]],[ee,V]=[(S=Rt.declarations)!=null?S:"",Rt.tokens||[]],[oe,ue]=[(E=an.declarations)!=null?E:"",an.tokens||[]],[ge,Ge]=[(I=Zn.declarations)!=null?I:"",Zn.tokens||[]],[$t,Lt]=[(M=kt.declarations)!=null?M:"",kt.tokens||[]];j=this.transformCSS(r,Ze,"light","variable",R,a,p),K=Xt;const tn=this.transformCSS(r,`${Mn}${ye}`,"light","variable",R,a,p),Ct=this.transformCSS(r,`${ee}`,"dark","variable",R,a,p);q=`${tn}${Ct}`,Q=[...new Set([...pr,...Ce,...V])];const Kn=this.transformCSS(r,`${oe}${ge}color-scheme:light`,"light","variable",R,a,p),dn=this.transformCSS(r,`${$t}color-scheme:dark`,"dark","variable",R,a,p);Z=`${Kn}${dn}`,X=[...new Set([...ue,...Ge,...Lt])],ie=tm(_.css,{dt:NF})}return{primitive:{css:j,tokens:K},semantic:{css:q,tokens:Q},global:{css:Z,tokens:X},style:ie}},getPreset({name:r="",preset:o={},options:l,params:a,set:p,defaults:g,selector:w}){var y,S,E;let I,M,_;if(os(o)&&l.transform!=="strict"){const R=r.replace("-directive",""),j=o,{colorScheme:K,extend:q,css:Q}=j,Z=_6(j,["colorScheme","extend","css"]),X=q||{},{colorScheme:ie}=X,je=_6(X,["colorScheme"]),et=K||{},{dark:mt}=et,bt=_6(et,["dark"]),ce=ie||{},{dark:Be}=ce,ae=_6(ce,["dark"]),xe=os(Z)?this._toVariables({[R]:iy(iy({},Z),je)},l):{},U=os(bt)?this._toVariables({[R]:iy(iy({},bt),ae)},l):{},He=os(mt)?this._toVariables({[R]:iy(iy({},mt),Be)},l):{},[yt,ft]=[(y=xe.declarations)!=null?y:"",xe.tokens||[]],[At,Jt]=[(S=U.declarations)!=null?S:"",U.tokens||[]],[un,kn]=[(E=He.declarations)!=null?E:"",He.tokens||[]],qt=this.transformCSS(R,`${yt}${At}`,"light","variable",l,p,g,w),on=this.transformCSS(R,un,"dark","variable",l,p,g,w);I=`${qt}${on}`,M=[...new Set([...ft,...Jt,...kn])],_=tm(Q,{dt:NF})}return{css:I,tokens:M,style:_}},getPresetC({name:r="",theme:o={},params:l,set:a,defaults:p}){var g;const{preset:w,options:y}=o,S=(g=w==null?void 0:w.components)==null?void 0:g[r];return this.getPreset({name:r,preset:S,options:y,params:l,set:a,defaults:p})},getPresetD({name:r="",theme:o={},params:l,set:a,defaults:p}){var g;const w=r.replace("-directive",""),{preset:y,options:S}=o,E=(g=y==null?void 0:y.directives)==null?void 0:g[w];return this.getPreset({name:w,preset:E,options:S,params:l,set:a,defaults:p})},applyDarkColorScheme(r){return!(r.darkModeSelector==="none"||r.darkModeSelector===!1)},getColorSchemeOption(r,o){var l;return this.applyDarkColorScheme(r)?this.regex.resolve(r.darkModeSelector===!0?o.options.darkModeSelector:(l=r.darkModeSelector)!=null?l:o.options.darkModeSelector):[]},getLayerOrder(r,o={},l,a){const{cssLayer:p}=o;return p?`@layer ${tm(p.order||"primeui",l)}`:""},getCommonStyleSheet({name:r="",theme:o={},params:l,props:a={},set:p,defaults:g}){const w=this.getCommon({name:r,theme:o,params:l,set:p,defaults:g}),y=Object.entries(a).reduce((S,[E,I])=>S.push(`${E}="${I}"`)&&S,[]).join(" ");return Object.entries(w||{}).reduce((S,[E,I])=>{if(I!=null&&I.css){const M=DF(I==null?void 0:I.css),_=`${E}-variables`;S.push(``)}return S},[]).join("")},getStyleSheet({name:r="",theme:o={},params:l,props:a={},set:p,defaults:g}){var w;const y={name:r,theme:o,params:l,set:p,defaults:g},S=(w=r.includes("-directive")?this.getPresetD(y):this.getPresetC(y))==null?void 0:w.css,E=Object.entries(a).reduce((I,[M,_])=>I.push(`${M}="${_}"`)&&I,[]).join(" ");return S?``:""},createTokens(r={},o,l="",a="",p={}){return Object.entries(r).forEach(([g,w])=>{const y=F6(g,o.variable.excludedKeyRegex)?l:l?`${l}.${_kt(g)}`:_kt(g),S=a?`${a}.${g}`:g;S3(w)?this.createTokens(w,o,y,S,p):(p[y]||(p[y]={paths:[],computed(E,I={}){var M,_;return this.paths.length===1?(M=this.paths[0])==null?void 0:M.computed(this.paths[0].scheme,I.binding):E&&E!=="none"?(_=this.paths.find(R=>R.scheme===E))==null?void 0:_.computed(E,I.binding):this.paths.map(R=>R.computed(R.scheme,I[R.scheme]))}}),p[y].paths.push({path:S,value:w,scheme:S.includes("colorScheme.light")?"light":S.includes("colorScheme.dark")?"dark":"none",computed(E,I={}){const M=/{([^}]*)}/g;let _=w;if(I.name=this.path,I.binding||(I.binding={}),F6(w,M)){const j=w.trim().replaceAll(M,Q=>{var Z;const X=Q.replace(/{|}/g,""),ie=(Z=p[X])==null?void 0:Z.computed(E,I);return bH(ie)&&ie.length===2?`light-dark(${ie[0].value},${ie[1].value})`:ie==null?void 0:ie.value}),K=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,q=/var\([^)]+\)/g;_=F6(j.replace(q,"0"),K)?`calc(${j})`:j}return um(I.binding)&&delete I.binding,{colorScheme:E,path:this.path,paths:I,value:_.includes("undefined")?void 0:_}}}))}),p},getTokenValue(r,o,l){var a;const g=(S=>S.split(".").filter(I=>!F6(I.toLowerCase(),l.variable.excludedKeyRegex)).join("."))(o),w=o.includes("colorScheme.light")?"light":o.includes("colorScheme.dark")?"dark":void 0,y=[(a=r[g])==null?void 0:a.computed(w)].flat().filter(S=>S);return y.length===1?y[0].value:y.reduce((S={},E)=>{const I=E,{colorScheme:M}=I,_=_6(I,["colorScheme"]);return S[M]=_,S},void 0)},getSelectorRule(r,o,l,a){return l==="class"||l==="attr"?HO(os(o)?`${r}${o},${r} ${o}`:r,a):HO(r,os(o)?HO(o,a):a)},transformCSS(r,o,l,a,p={},g,w,y){if(os(o)){const{cssLayer:S}=p;if(a!=="style"){const E=this.getColorSchemeOption(p,w);o=l==="dark"?E.reduce((I,{type:M,selector:_})=>(os(_)&&(I+=_.includes("[CSS]")?_.replace("[CSS]",o):this.getSelectorRule(_,y,M,o)),I),""):HO(y??":root",o)}if(S){const E={name:"primeui",order:"primeui"};S3(S)&&(E.name=tm(S.name,{name:r,type:a})),os(E.name)&&(o=HO(`@layer ${E.name}`,o),g==null||g.layerNames(E.name))}return o}return""}},Ic={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(r={}){const{theme:o}=r;o&&(this._theme=V8e(iy({},o),{options:iy(iy({},this.defaults.options),o.options)}),this._tokens=Yv.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var r;return((r=this.theme)==null?void 0:r.preset)||{}},get options(){var r;return((r=this.theme)==null?void 0:r.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(r){this.update({theme:r}),ny.emit("theme:change",r)},getPreset(){return this.preset},setPreset(r){this._theme=V8e(iy({},this.theme),{preset:r}),this._tokens=Yv.createTokens(r,this.defaults),this.clearLoadedStyleNames(),ny.emit("preset:change",r),ny.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(r){this._theme=V8e(iy({},this.theme),{options:r}),this.clearLoadedStyleNames(),ny.emit("options:change",r),ny.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(r){this._layerNames.add(r)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(r){return this._loadedStyleNames.has(r)},setLoadedStyleName(r){this._loadedStyleNames.add(r)},deleteLoadedStyleName(r){this._loadedStyleNames.delete(r)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(r){return Yv.getTokenValue(this.tokens,r,this.defaults)},getCommon(r="",o){return Yv.getCommon({name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(r="",o){const l={name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Yv.getPresetC(l)},getDirective(r="",o){const l={name:r,theme:this.theme,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Yv.getPresetD(l)},getCustomPreset(r="",o,l,a){const p={name:r,preset:o,options:this.options,selector:l,params:a,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Yv.getPreset(p)},getLayerOrderCSS(r=""){return Yv.getLayerOrder(r,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(r="",o,l="style",a){return Yv.transformCSS(r,o,a,l,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(r="",o,l={}){return Yv.getCommonStyleSheet({name:r,theme:this.theme,params:o,props:l,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(r,o,l={}){return Yv.getStyleSheet({name:r,theme:this.theme,params:o,props:l,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(r){this._loadingStyles.add(r)},onStyleUpdated(r){this._loadingStyles.add(r)},onStyleLoaded(r,{name:o}){this._loadingStyles.size&&(this._loadingStyles.delete(o),ny.emit(`theme:${o}:load`,r),!this._loadingStyles.size&&ny.emit("theme:load"))}};function h1n(r,o){return r?r.classList?r.classList.contains(o):new RegExp("(^| )"+o+"( |$)","gi").test(r.className):!1}function IC(r,o){if(r&&o){const l=a=>{h1n(r,a)||(r.classList?r.classList.add(a):r.className+=" "+a)};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(l))}}function p1n(){return window.innerWidth-document.documentElement.offsetWidth}function y_(r){for(const o of document==null?void 0:document.styleSheets)try{for(const l of o==null?void 0:o.cssRules)for(const a of l==null?void 0:l.style)if(r.test(a))return{name:a,value:l.style.getPropertyValue(a).trim()}}catch{}return null}function Lkt(r="p-overflow-hidden"){const o=y_(/-scrollbar-width$/);o!=null&&o.name&&document.body.style.setProperty(o.name,p1n()+"px"),IC(document.body,r)}function g1n(r){if(r){let o=document.createElement("a");if(o.download!==void 0){const{name:l,src:a}=r;return o.setAttribute("href",a),o.setAttribute("download",l),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o),!0}}return!1}function b1n(r,o){let l=new Blob([r],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(l,o+".csv"):g1n({name:o+".csv",src:URL.createObjectURL(l)})||(r="data:text/csv;charset=utf-8,"+r,window.open(encodeURI(r)))}function D6(r,o){if(r&&o){const l=a=>{r.classList?r.classList.remove(a):r.className=r.className.replace(new RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(l))}}function $kt(r="p-overflow-hidden"){const o=y_(/-scrollbar-width$/);o!=null&&o.name&&document.body.style.removeProperty(o.name),D6(document.body,r)}function g9t(r){let o={width:0,height:0};return r&&(r.style.visibility="hidden",r.style.display="block",o.width=r.offsetWidth,o.height=r.offsetHeight,r.style.display="none",r.style.visibility="visible"),o}function JSe(){let r=window,o=document,l=o.documentElement,a=o.getElementsByTagName("body")[0],p=r.innerWidth||l.clientWidth||a.clientWidth,g=r.innerHeight||l.clientHeight||a.clientHeight;return{width:p,height:g}}function w1n(){let r=document.documentElement;return(window.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}function m1n(){let r=document.documentElement;return(window.pageYOffset||r.scrollTop)-(r.clientTop||0)}function QSe(r,o,l=!0){var a,p,g,w;if(r){const y=r.offsetParent?{width:r.offsetWidth,height:r.offsetHeight}:g9t(r),S=y.height,E=y.width,I=o.offsetHeight,M=o.offsetWidth,_=o.getBoundingClientRect(),R=m1n(),j=w1n(),K=JSe();let q,Q,Z="top";_.top+I+S>K.height?(q=_.top+R-S,Z="bottom",q<0&&(q=R)):q=I+_.top+R,_.left+E>K.width?Q=Math.max(0,_.left+j+M-E):Q=_.left+j,r.style.top=q+"px",r.style.left=Q+"px",r.style.transformOrigin=Z,l&&(r.style.marginTop=Z==="bottom"?`calc(${(p=(a=y_(/-anchor-gutter$/))==null?void 0:a.value)!=null?p:"2px"} * -1)`:(w=(g=y_(/-anchor-gutter$/))==null?void 0:g.value)!=null?w:"")}}function k_(r,o){r&&(typeof o=="string"?r.style.cssText=o:Object.entries(o||{}).forEach(([l,a])=>r.style[l]=a))}function Vh(r,o){if(r instanceof HTMLElement){let l=r.offsetWidth;if(o){let a=getComputedStyle(r);l+=parseFloat(a.marginLeft)+parseFloat(a.marginRight)}return l}return 0}function v1n(r,o,l=!0){var a,p,g,w;if(r){const y=r.offsetParent?{width:r.offsetWidth,height:r.offsetHeight}:g9t(r),S=o.offsetHeight,E=o.getBoundingClientRect(),I=JSe();let M,_,R="top";E.top+S+y.height>I.height?(M=-1*y.height,R="bottom",E.top+M<0&&(M=-1*E.top)):M=S,y.width>I.width?_=E.left*-1:E.left+y.width>I.width?_=(E.left+y.width-I.width)*-1:_=0,r.style.top=M+"px",r.style.left=_+"px",r.style.transformOrigin=R,l&&(r.style.marginTop=R==="bottom"?`calc(${(p=(a=y_(/-anchor-gutter$/))==null?void 0:a.value)!=null?p:"2px"} * -1)`:(w=(g=y_(/-anchor-gutter$/))==null?void 0:g.value)!=null?w:"")}}function N_(r){return typeof HTMLElement=="object"?r instanceof HTMLElement:r&&typeof r=="object"&&r!==null&&r.nodeType===1&&typeof r.nodeName=="string"}function kne(){if(window.getSelection){const r=window.getSelection()||{};r.empty?r.empty():r.removeAllRanges&&r.rangeCount>0&&r.getRangeAt(0).getClientRects().length>0&&r.removeAllRanges()}}function Qne(r,o={}){if(N_(r)){const l=(a,p)=>{var g,w;const y=(g=r==null?void 0:r.$attrs)!=null&&g[a]?[(w=r==null?void 0:r.$attrs)==null?void 0:w[a]]:[];return[p].flat().reduce((S,E)=>{if(E!=null){const I=typeof E;if(I==="string"||I==="number")S.push(E);else if(I==="object"){const M=Array.isArray(E)?l(a,E):Object.entries(E).map(([_,R])=>a==="style"&&(R||R===0)?`${_.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${R}`:R?_:void 0);S=M.length?S.concat(M.filter(_=>!!_)):S}}return S},y)};Object.entries(o).forEach(([a,p])=>{if(p!=null){const g=a.match(/^on(.+)/);g?r.addEventListener(g[1].toLowerCase(),p):a==="p-bind"||a==="pBind"?Qne(r,p):(p=a==="class"?[...new Set(l("class",p))].join(" ").trim():a==="style"?l("style",p).join(";").trim():p,(r.$attrs=r.$attrs||{})&&(r.$attrs[a]=p),r.setAttribute(a,p))}})}}function b9t(r,o={},...l){{const a=document.createElement(r);return Qne(a,o),a.append(...l),a}}function KO(r,o){return N_(r)?Array.from(r.querySelectorAll(o)):[]}function PC(r,o){return N_(r)?r.matches(o)?r:r.querySelector(o):null}function Uh(r,o){r&&document.activeElement!==r&&r.focus(o)}function dh(r,o){if(N_(r)){const l=r.getAttribute(o);return isNaN(l)?l==="true"||l==="false"?l==="true":l:+l}}function ZSe(r,o=""){let l=KO(r,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}`),a=[];for(let p of l)getComputedStyle(p).display!="none"&&getComputedStyle(p).visibility!="hidden"&&a.push(p);return a}function gE(r,o){const l=ZSe(r,o);return l.length>0?l[0]:null}function kC(r){if(r){let o=r.offsetHeight,l=getComputedStyle(r);return o-=parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)+parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),o}return 0}function y1n(r){if(r){r.style.visibility="hidden",r.style.display="block";let o=r.offsetHeight;return r.style.display="none",r.style.visibility="visible",o}return 0}function k1n(r){if(r){r.style.visibility="hidden",r.style.display="block";let o=r.offsetWidth;return r.style.display="none",r.style.visibility="visible",o}return 0}function e9e(r){if(r){let o=r.parentNode;return o&&o instanceof ShadowRoot&&o.host&&(o=o.host),o}return null}function Cne(r){var o;if(r){let l=(o=e9e(r))==null?void 0:o.childNodes,a=0;if(l)for(let p=0;p0?l[l.length-1]:null}function t9e(r,o){let l=r.nextElementSibling;for(;l;){if(l.matches(o))return l;l=l.nextElementSibling}return null}function CC(r){if(r){let o=r.getBoundingClientRect();return{top:o.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:o.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function z6(r,o){if(r){let l=r.offsetHeight;if(o){let a=getComputedStyle(r);l+=parseFloat(a.marginTop)+parseFloat(a.marginBottom)}return l}return 0}function m9t(r,o=[]){const l=e9e(r);return l===null?o:m9t(l,o.concat([l]))}function n9e(r,o){let l=r.previousElementSibling;for(;l;){if(l.matches(o))return l;l=l.previousElementSibling}return null}function C1n(r){let o=[];if(r){let l=m9t(r);const a=/(auto|scroll)/,p=g=>{try{let w=window.getComputedStyle(g,null);return a.test(w.getPropertyValue("overflow"))||a.test(w.getPropertyValue("overflowX"))||a.test(w.getPropertyValue("overflowY"))}catch{return!1}};for(let g of l){let w=g.nodeType===1&&g.dataset.scrollselectors;if(w){let y=w.split(",");for(let S of y){let E=PC(g,S);E&&p(E)&&o.push(E)}}g.nodeType!==9&&p(g)&&o.push(g)}}return o}function jkt(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function S1n(r){return!!(r!==null&&typeof r<"u"&&r.nodeName&&e9e(r))}function SC(r){if(r){let o=r.offsetWidth,l=getComputedStyle(r);return o-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)+parseFloat(l.borderLeftWidth)+parseFloat(l.borderRightWidth),o}return 0}function Dkt(r,o,l){r[o].apply(r,l)}function x1n(){return/(android)/i.test(navigator.userAgent)}function q8e(r){if(r){const o=r.nodeName,l=r.parentElement&&r.parentElement.nodeName;return o==="INPUT"||o==="TEXTAREA"||o==="BUTTON"||o==="A"||l==="INPUT"||l==="TEXTAREA"||l==="BUTTON"||l==="A"||!!r.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function qre(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Nkt(r,o=""){return N_(r)?r.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o}`):!1}function Zne(r){return!!(r&&r.offsetParent!=null)}function v9t(r){return r?getComputedStyle(r).direction==="rtl":!1}function r9e(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function wH(r,o="",l){N_(r)&&l!==null&&l!==void 0&&r.setAttribute(o,l)}var Ute={};function i9e(r="pui_id_"){return Ute.hasOwnProperty(r)||(Ute[r]=0),Ute[r]++,`${r}${Ute[r]}`}function E1n(){let r=[];const o=(w,y,S=999)=>{const E=p(w,y,S),I=E.value+(E.key===w?0:S)+1;return r.push({key:w,value:I}),I},l=w=>{r=r.filter(y=>y.value!==w)},a=(w,y)=>p(w).value,p=(w,y,S=0)=>[...r].reverse().find(E=>!0)||{key:w,value:S},g=w=>w&&parseInt(w.style.zIndex,10)||0;return{get:g,set:(w,y,S)=>{y&&(y.style.zIndex=String(o(w,!0,S)))},clear:w=>{w&&(l(g(w)),w.style.zIndex="")},getCurrent:w=>a(w)}}var sm=E1n(),Ta={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},ere={AND:"and",OR:"or"};function Bkt(r,o){var l=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!l){if(Array.isArray(r)||(l=T1n(r))||o){l&&(r=l);var a=0,p=function(){};return{s:p,n:function(){return a>=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function T1n(r,o){if(r){if(typeof r=="string")return Fkt(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?Fkt(r,o):void 0}}function Fkt(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);ll.getTime():o>l},gte:function(o,l){return l==null?!0:o==null?!1:o.getTime&&l.getTime?o.getTime()>=l.getTime():o>=l},dateIs:function(o,l){return l==null?!0:o==null?!1:o.toDateString()===l.toDateString()},dateIsNot:function(o,l){return l==null?!0:o==null?!1:o.toDateString()!==l.toDateString()},dateBefore:function(o,l){return l==null?!0:o==null?!1:o.getTime()l.getTime()}},register:function(o,l){this.filters[o]=l}};function uz(r){"@babel/helpers - typeof";return uz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},uz(r)}function zkt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function Hkt(r){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:!0;UC()?bb(r):o?r():om(r)}var _1n=0;function R1n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=Co(!1),a=Co(r),p=Co(null),g=qre()?window.document:void 0,w=o.document,y=w===void 0?g:w,S=o.immediate,E=S===void 0?!0:S,I=o.manual,M=I===void 0?!1:I,_=o.name,R=_===void 0?"style_".concat(++_1n):_,j=o.id,K=j===void 0?void 0:j,q=o.media,Q=q===void 0?void 0:q,Z=o.nonce,X=Z===void 0?void 0:Z,ie=o.first,je=ie===void 0?!1:ie,et=o.onMounted,mt=et===void 0?void 0:et,bt=o.onUpdated,ce=bt===void 0?void 0:bt,Be=o.onLoad,ae=Be===void 0?void 0:Be,xe=o.props,U=xe===void 0?{}:xe,He=function(){},yt=function(Jt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(y){var kn=Hkt(Hkt({},U),un),qt=kn.name||R,on=kn.id||K,Rt=kn.nonce||X;p.value=y.querySelector('style[data-primevue-style-id="'.concat(qt,'"]'))||y.getElementById(on)||y.createElement("style"),p.value.isConnected||(a.value=Jt||r,Qne(p.value,{type:"text/css",id:on,media:Q,nonce:Rt}),je?y.head.prepend(p.value):y.head.appendChild(p.value),wH(p.value,"data-primevue-style-id",qt),Qne(p.value,kn),p.value.onload=function(an){return ae==null?void 0:ae(an,{name:qt})},mt==null||mt(qt)),!l.value&&(He=Os(a,function(an){p.value.textContent=an,ce==null||ce(qt)},{immediate:!0}),l.value=!0)}},ft=function(){!y||!l.value||(He(),S1n(p.value)&&y.head.removeChild(p.value),l.value=!1)};return E&&!M&&O1n(yt),{id:K,name:R,el:p,css:a,unload:ft,load:yt,isLoaded:hH(l)}}function az(r){"@babel/helpers - typeof";return az=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},az(r)}function Kkt(r,o){return j1n(r)||$1n(r,o)||L1n(r,o)||A1n()}function A1n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L1n(r,o){if(r){if(typeof r=="string")return Ukt(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?Ukt(r,o):void 0}}function Ukt(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(g){return g},p=a(tm(o,{dt:NF}));return os(p)?R1n(DF(p),X8e({name:this.name},l)):{}},loadCSS:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,o)},loadTheme:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.theme,l,function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ic.transformCSS(l.name||o.name,"".concat(p).concat(a))})},getCommonTheme:function(o){return Ic.getCommon(this.name,o)},getComponentTheme:function(o){return Ic.getComponent(this.name,o)},getDirectiveTheme:function(o){return Ic.getDirective(this.name,o)},getPresetTheme:function(o,l,a){return Ic.getCustomPreset(this.name,o,l,a)},getLayerOrderThemeCSS:function(){return Ic.getLayerOrderCSS(this.name)},getStyleSheet:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var a=tm(this.css,{dt:NF})||"",p=DF("".concat(a).concat(o)),g=Object.entries(l).reduce(function(w,y){var S=Kkt(y,2),E=S[0],I=S[1];return w.push("".concat(E,'="').concat(I,'"'))&&w},[]).join(" ");return os(p)?'"):""}return""},getCommonThemeStyleSheet:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ic.getCommonStyleSheet(this.name,o,l)},getThemeStyleSheet:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[Ic.getStyleSheet(this.name,o,l)];if(this.theme){var p=this.name==="base"?"global-style":"".concat(this.name,"-style"),g=tm(this.theme,{dt:NF}),w=DF(Ic.transformCSS(p,g)),y=Object.entries(l).reduce(function(S,E){var I=Kkt(E,2),M=I[0],_=I[1];return S.push("".concat(M,'="').concat(_,'"'))&&S},[]).join(" ");os(w)&&a.push('"))}return a.join("")},extend:function(o){return X8e(X8e({},this),{},{css:void 0,theme:void 0},o)}},qO=YSe();function fz(r){"@babel/helpers - typeof";return fz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},fz(r)}function Wkt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function Gte(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l1?l-1:0),p=1;p0&&arguments[0]!==void 0?arguments[0]:function(){};xC.clearLoadedStyleNames(),ny.on("theme:change",o)},_getHostInstance:function(o){return o?this.$options.hostName?o.$.type.name===this.$options.hostName?o:this._getHostInstance(o.$parentInstance):o.$parentInstance:void 0},_getPropValue:function(o){var l;return this[o]||((l=this._getHostInstance(this))===null||l===void 0?void 0:l[o])},_getOptionValue:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return XSe(o,l,a)},_getPTValue:function(){var o,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,w=/./g.test(a)&&!!p[a.split(".")[0]],y=this._getPropValue("ptOptions")||((o=this.$primevueConfig)===null||o===void 0?void 0:o.ptOptions)||{},S=y.mergeSections,E=S===void 0?!0:S,I=y.mergeProps,M=I===void 0?!1:I,_=g?w?this._useGlobalPT(this._getPTClassValue,a,p):this._useDefaultPT(this._getPTClassValue,a,p):void 0,R=w?void 0:this._getPTSelf(l,this._getPTClassValue,a,hl(hl({},p),{},{global:_||{}})),j=this._getPTDatasets(a);return E||!E&&R?M?this._mergeProps(M,_,R,j):hl(hl(hl({},_),R),j):hl(hl({},R),j)},_getPTSelf:function(){for(var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length,a=new Array(l>1?l-1:0),p=1;p0&&arguments[0]!==void 0?arguments[0]:"",p="data-pc-",g=a==="root"&&os((o=this.pt)===null||o===void 0?void 0:o["data-pc-section"]);return a!=="transition"&&hl(hl({},a==="root"&&hl(hl(vF({},"".concat(p,"name"),ry(g?(l=this.pt)===null||l===void 0?void 0:l["data-pc-section"]:this.$.type.name)),g&&vF({},"".concat(p,"extend"),ry(this.$.type.name))),qre()&&vF({},"".concat(this.$attrSelector),""))),{},vF({},"".concat(p,"section"),ry(a)))},_getPTClassValue:function(){var o=this._getOptionValue.apply(this,arguments);return Vg(o)||bH(o)?{class:o}:o},_getPT:function(o){var l=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",p=arguments.length>2?arguments[2]:void 0,g=function(y){var S,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,I=p?p(y):y,M=ry(a),_=ry(l.$name);return(S=E?M!==_?I==null?void 0:I[M]:void 0:I==null?void 0:I[M])!==null&&S!==void 0?S:I};return o!=null&&o.hasOwnProperty("_usept")?{_usept:o._usept,originalValue:g(o.originalValue),value:g(o.value)}:g(o,!0)},_usePT:function(o,l,a,p){var g=function(K){return l(K,a,p)};if(o!=null&&o.hasOwnProperty("_usept")){var w,y=o._usept||((w=this.$primevueConfig)===null||w===void 0?void 0:w.ptOptions)||{},S=y.mergeSections,E=S===void 0?!0:S,I=y.mergeProps,M=I===void 0?!1:I,_=g(o.originalValue),R=g(o.value);return _===void 0&&R===void 0?void 0:Vg(R)?R:Vg(_)?_:E||!E&&R?M?this._mergeProps(M,_,R):hl(hl({},_),R):R}return g(o)},_useGlobalPT:function(o,l,a){return this._usePT(this.globalPT,o,l,a)},_useDefaultPT:function(o,l,a){return this._usePT(this.defaultPT,o,l,a)},ptm:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,o,hl(hl({},this.$params),l))},ptmi:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qe(this.$_attrsWithoutPT,this.ptm(o,l))},ptmo:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(o,l,hl({instance:this},a),!1)},cx:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,o,hl(hl({},this.$params),l))},sx:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(l){var p=this._getOptionValue(this.$style.inlineStyles,o,hl(hl({},this.$params),a)),g=this._getOptionValue(Xkt.inlineStyles,o,hl(hl({},this.$params),a));return[g,p]}}},computed:{globalPT:function(){var o,l=this;return this._getPT((o=this.$primevueConfig)===null||o===void 0?void 0:o.pt,void 0,function(a){return tm(a,{instance:l})})},defaultPT:function(){var o,l=this;return this._getPT((o=this.$primevueConfig)===null||o===void 0?void 0:o.pt,void 0,function(a){return l._getOptionValue(a,l.$name,hl({},l.$params))||tm(a,hl({},l.$params))})},isUnstyled:function(){var o;return this.unstyled!==void 0?this.unstyled:(o=this.$primevueConfig)===null||o===void 0?void 0:o.unstyled},$inProps:function(){var o,l=Object.keys(((o=this.$.vnode)===null||o===void 0?void 0:o.props)||{});return Object.fromEntries(Object.entries(this.$props).filter(function(a){var p=cF(a,1),g=p[0];return l==null?void 0:l.includes(g)}))},$theme:function(){var o;return(o=this.$primevueConfig)===null||o===void 0?void 0:o.theme},$style:function(){return hl(hl({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var o;return{nonce:(o=this.$primevueConfig)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce}},$primevueConfig:function(){var o;return(o=this.$primevue)===null||o===void 0?void 0:o.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var o=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:o,props:o==null?void 0:o.$props,state:o==null?void 0:o.$data,attrs:o==null?void 0:o.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(o){var l=cF(o,1),a=l[0];return a==null?void 0:a.startsWith("pt:")}).reduce(function(o,l){var a=cF(l,2),p=a[0],g=a[1],w=p.split(":"),y=Bgn(w),S=y.slice(1);return S==null||S.reduce(function(E,I,M,_){return!E[I]&&(E[I]=M===_.length-1?g:{}),E[I]},o),o},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(o){var l=cF(o,1),a=l[0];return!(a!=null&&a.startsWith("pt:"))}).reduce(function(o,l){var a=cF(l,2),p=a[0],g=a[1];return o[p]=g,o},{})}}},Ugn=function(o){var l=o.dt;return` +.p-toolbar { + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + padding: `.concat(l("toolbar.padding"),`; + background: `).concat(l("toolbar.background"),`; + border: 1px solid `).concat(l("toolbar.border.color"),`; + color: `).concat(l("toolbar.color"),`; + border-radius: `).concat(l("toolbar.border.radius"),`; + gap: `).concat(l("toolbar.gap"),`; +} + +.p-toolbar-start, +.p-toolbar-center, +.p-toolbar-end { + display: flex; + align-items: center; +} +`)},Ggn={root:"p-toolbar p-component",start:"p-toolbar-start",center:"p-toolbar-center",end:"p-toolbar-end"},Wgn=vs.extend({name:"toolbar",theme:Ugn,classes:Ggn}),Vgn={name:"BaseToolbar",extends:vl,props:{ariaLabelledby:{type:String,default:null}},style:Wgn,provide:function(){return{$pcToolbar:this,$parentInstance:this}}},S9t={name:"Toolbar",extends:Vgn,inheritAttrs:!1},qgn=["aria-labelledby"];function Xgn(r,o,l,a,p,g){return ve(),wt("div",Qe({class:r.cx("root"),role:"toolbar","aria-labelledby":r.ariaLabelledby},r.ptmi("root")),[ar("div",Qe({class:r.cx("start")},r.ptm("start")),[Nr(r.$slots,"start")],16),ar("div",Qe({class:r.cx("center")},r.ptm("center")),[Nr(r.$slots,"center")],16),ar("div",Qe({class:r.cx("end")},r.ptm("end")),[Nr(r.$slots,"end")],16)],16,qgn)}S9t.render=Xgn;var Ygn=` +.p-icon { + display: inline-block; + vertical-align: baseline; +} + +.p-icon-spin { + -webkit-animation: p-icon-spin 2s infinite linear; + animation: p-icon-spin 2s infinite linear; +} + +@-webkit-keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +`,Jgn=vs.extend({name:"baseicon",css:Ygn});function pz(r){"@babel/helpers - typeof";return pz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},pz(r)}function Qkt(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function Zkt(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,S=function(){var Z=Fs._getOptionValue.apply(Fs,arguments);return Vg(Z)||bH(Z)?{class:Z}:Z},E=((o=a.binding)===null||o===void 0||(o=o.value)===null||o===void 0?void 0:o.ptOptions)||((l=a.$primevueConfig)===null||l===void 0?void 0:l.ptOptions)||{},I=E.mergeSections,M=I===void 0?!0:I,_=E.mergeProps,R=_===void 0?!1:_,j=y?Fs._useDefaultPT(a,a.defaultPT(),S,g,w):void 0,K=Fs._usePT(a,Fs._getPT(p,a.$name),S,g,Rl(Rl({},w),{},{global:j||{}})),q=Fs._getPTDatasets(a,g);return M||!M&&K?R?Fs._mergeProps(a,R,j,K,q):Rl(Rl(Rl({},j),K),q):Rl(Rl({},K),q)},_getPTDatasets:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a="data-pc-";return Rl(Rl({},l==="root"&&g7e({},"".concat(a,"name"),ry(o.$name))),{},g7e({},"".concat(a,"section"),ry(l)))},_getPT:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0,p=function(w){var y,S=a?a(w):w,E=ry(l);return(y=S==null?void 0:S[E])!==null&&y!==void 0?y:S};return o!=null&&o.hasOwnProperty("_usept")?{_usept:o._usept,originalValue:p(o.originalValue),value:p(o.value)}:p(o)},_usePT:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,p=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0,w=function(q){return a(q,p,g)};if(l!=null&&l.hasOwnProperty("_usept")){var y,S=l._usept||((y=o.$primevueConfig)===null||y===void 0?void 0:y.ptOptions)||{},E=S.mergeSections,I=E===void 0?!0:E,M=S.mergeProps,_=M===void 0?!1:M,R=w(l.originalValue),j=w(l.value);return R===void 0&&j===void 0?void 0:Vg(j)?j:Vg(R)?R:I||!I&&j?_?Fs._mergeProps(o,_,R,j):Rl(Rl({},R),j):j}return w(l)},_useDefaultPT:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,p=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0;return Fs._usePT(o,l,a,p,g)},_loadStyles:function(o,l,a){var p,g=Fs._getConfig(l,a),w={nonce:g==null||(p=g.csp)===null||p===void 0?void 0:p.nonce};Fs._loadCoreStyles(o.$instance,w),Fs._loadThemeStyles(o.$instance,w),Fs._loadScopedThemeStyles(o.$instance,w),Fs._themeChangeListener(function(){return Fs._loadThemeStyles(o.$instance,w)})},_loadCoreStyles:function(){var o,l,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length>1?arguments[1]:void 0;if(!xC.isStyleNameLoaded((o=a.$style)===null||o===void 0?void 0:o.name)&&(l=a.$style)!==null&&l!==void 0&&l.name){var g;vs.loadCSS(p),(g=a.$style)===null||g===void 0||g.loadCSS(p),xC.setLoadedStyleName(a.$style.name)}},_loadThemeStyles:function(){var o,l,a,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=arguments.length>1?arguments[1]:void 0;if(!(p!=null&&p.isUnstyled()||(p==null||(o=p.theme)===null||o===void 0?void 0:o.call(p))==="none")){if(!Ic.isStyleNameLoaded("common")){var w,y,S=((w=p.$style)===null||w===void 0||(y=w.getCommonTheme)===null||y===void 0?void 0:y.call(w))||{},E=S.primitive,I=S.semantic,M=S.global,_=S.style;vs.load(E==null?void 0:E.css,Rl({name:"primitive-variables"},g)),vs.load(I==null?void 0:I.css,Rl({name:"semantic-variables"},g)),vs.load(M==null?void 0:M.css,Rl({name:"global-variables"},g)),vs.loadTheme(Rl({name:"global-style"},g),_),Ic.setLoadedStyleName("common")}if(!Ic.isStyleNameLoaded((l=p.$style)===null||l===void 0?void 0:l.name)&&(a=p.$style)!==null&&a!==void 0&&a.name){var R,j,K,q,Q=((R=p.$style)===null||R===void 0||(j=R.getDirectiveTheme)===null||j===void 0?void 0:j.call(R))||{},Z=Q.css,X=Q.style;(K=p.$style)===null||K===void 0||K.load(Z,Rl({name:"".concat(p.$style.name,"-variables")},g)),(q=p.$style)===null||q===void 0||q.loadTheme(Rl({name:"".concat(p.$style.name,"-style")},g),X),Ic.setLoadedStyleName(p.$style.name)}if(!Ic.isStyleNameLoaded("layer-order")){var ie,je,et=(ie=p.$style)===null||ie===void 0||(je=ie.getLayerOrderThemeCSS)===null||je===void 0?void 0:je.call(ie);vs.load(et,Rl({name:"layer-order",first:!0},g)),Ic.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,a=o.preset();if(a&&o.$attrSelector){var p,g,w,y=((p=o.$style)===null||p===void 0||(g=p.getPresetTheme)===null||g===void 0?void 0:g.call(p,a,"[".concat(o.$attrSelector,"]")))||{},S=y.css,E=(w=o.$style)===null||w===void 0?void 0:w.load(S,Rl({name:"".concat(o.$attrSelector,"-").concat(o.$style.name)},l));o.scopedStyleEl=E.el}},_themeChangeListener:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};xC.clearLoadedStyleNames(),ny.on("theme:change",o)},_hook:function(o,l,a,p,g,w){var y,S,E="on".concat(n1n(l)),I=Fs._getConfig(p,g),M=a==null?void 0:a.$instance,_=Fs._usePT(M,Fs._getPT(p==null||(y=p.value)===null||y===void 0?void 0:y.pt,o),Fs._getOptionValue,"hooks.".concat(E)),R=Fs._useDefaultPT(M,I==null||(S=I.pt)===null||S===void 0||(S=S.directives)===null||S===void 0?void 0:S[o],Fs._getOptionValue,"hooks.".concat(E)),j={el:a,binding:p,vnode:g,prevVnode:w};_==null||_(M,j),R==null||R(M,j)},_mergeProps:function(){for(var o=arguments.length>1?arguments[1]:void 0,l=arguments.length,a=new Array(l>2?l-2:0),p=2;p1&&arguments[1]!==void 0?arguments[1]:{},a=function(w,y,S,E,I){var M,_,R,j;y._$instances=y._$instances||{};var K=Fs._getConfig(S,E),q=y._$instances[o]||{},Q=um(q)?Rl(Rl({},l),l==null?void 0:l.methods):{};y._$instances[o]=Rl(Rl({},q),{},{$name:o,$host:y,$binding:S,$modifiers:S==null?void 0:S.modifiers,$value:S==null?void 0:S.value,$el:q.$el||y||void 0,$style:Rl({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},l==null?void 0:l.style),$primevueConfig:K,$attrSelector:(M=y.$pd)===null||M===void 0||(M=M[o])===null||M===void 0?void 0:M.attrSelector,defaultPT:function(){return Fs._getPT(K==null?void 0:K.pt,void 0,function(X){var ie;return X==null||(ie=X.directives)===null||ie===void 0?void 0:ie[o]})},isUnstyled:function(){var X,ie;return((X=y.$instance)===null||X===void 0||(X=X.$binding)===null||X===void 0||(X=X.value)===null||X===void 0?void 0:X.unstyled)!==void 0?(ie=y.$instance)===null||ie===void 0||(ie=ie.$binding)===null||ie===void 0||(ie=ie.value)===null||ie===void 0?void 0:ie.unstyled:K==null?void 0:K.unstyled},theme:function(){var X;return(X=y.$instance)===null||X===void 0||(X=X.$primevueConfig)===null||X===void 0?void 0:X.theme},preset:function(){var X;return(X=y.$instance)===null||X===void 0||(X=X.$binding)===null||X===void 0||(X=X.value)===null||X===void 0?void 0:X.dt},ptm:function(){var X,ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fs._getPTValue(y.$instance,(X=y.$instance)===null||X===void 0||(X=X.$binding)===null||X===void 0||(X=X.value)===null||X===void 0?void 0:X.pt,ie,Rl({},je))},ptmo:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Fs._getPTValue(y.$instance,X,ie,je,!1)},cx:function(){var X,ie,je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(X=y.$instance)!==null&&X!==void 0&&X.isUnstyled()?void 0:Fs._getOptionValue((ie=y.$instance)===null||ie===void 0||(ie=ie.$style)===null||ie===void 0?void 0:ie.classes,je,Rl({},et))},sx:function(){var X,ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return je?Fs._getOptionValue((X=y.$instance)===null||X===void 0||(X=X.$style)===null||X===void 0?void 0:X.inlineStyles,ie,Rl({},et)):void 0}},Q),y.$instance=y._$instances[o],(_=(R=y.$instance)[w])===null||_===void 0||_.call(R,y,S,E,I),y["$".concat(o)]=y.$instance,Fs._hook(o,w,y,S,E,I),y.$pd||(y.$pd={}),y.$pd[o]=Rl(Rl({},(j=y.$pd)===null||j===void 0?void 0:j[o]),{},{name:o,instance:y.$instance})},p=function(w){var y,S,E,I,M,_=(y=w.$instance)===null||y===void 0?void 0:y.watch;_==null||(S=_.config)===null||S===void 0||S.call(w.$instance,(E=w.$instance)===null||E===void 0?void 0:E.$primevueConfig),qO.on("config:change",function(R){var j,K=R.newValue,q=R.oldValue;return _==null||(j=_.config)===null||j===void 0?void 0:j.call(w.$instance,K,q)}),_==null||(I=_["config.ripple"])===null||I===void 0||I.call(w.$instance,(M=w.$instance)===null||M===void 0||(M=M.$primevueConfig)===null||M===void 0?void 0:M.ripple),qO.on("config:ripple:change",function(R){var j,K=R.newValue,q=R.oldValue;return _==null||(j=_["config.ripple"])===null||j===void 0?void 0:j.call(w.$instance,K,q)})};return{created:function(w,y,S,E){w.$pd||(w.$pd={}),w.$pd[o]={name:o,attrSelector:i9e("pd")},a("created",w,y,S,E)},beforeMount:function(w,y,S,E){Fs._loadStyles(w,y,S),a("beforeMount",w,y,S,E),p(w)},mounted:function(w,y,S,E){Fs._loadStyles(w,y,S),a("mounted",w,y,S,E)},beforeUpdate:function(w,y,S,E){a("beforeUpdate",w,y,S,E)},updated:function(w,y,S,E){Fs._loadStyles(w,y,S),a("updated",w,y,S,E)},beforeUnmount:function(w,y,S,E){a("beforeUnmount",w,y,S,E)},unmounted:function(w,y,S,E){var I;(I=w.$instance)===null||I===void 0||(I=I.scopedStyleEl)===null||I===void 0||(I=I.value)===null||I===void 0||I.remove(),a("unmounted",w,y,S,E)}}},extend:function(){var o=Fs._getMeta.apply(Fs,arguments),l=e5t(o,2),a=l[0],p=l[1];return Rl({extend:function(){var w=Fs._getMeta.apply(Fs,arguments),y=e5t(w,2),S=y[0],E=y[1];return Fs.extend(S,Rl(Rl(Rl({},p),p==null?void 0:p.methods),E))}},Fs._extend(a,p))}},h0n=function(o){var l=o.dt;return` +.p-ink { + display: block; + position: absolute; + background: `.concat(l("ripple.background"),`; + border-radius: 100%; + transform: scale(0); + pointer-events: none; +} + +.p-ink-active { + animation: ripple 0.4s linear; +} + +@keyframes ripple { + 100% { + opacity: 0; + transform: scale(2.5); + } +} +`)},p0n={root:"p-ink"},g0n=vs.extend({name:"ripple-directive",theme:h0n,classes:p0n}),b0n=Fs.extend({style:g0n});function bz(r){"@babel/helpers - typeof";return bz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},bz(r)}function w0n(r){return k0n(r)||y0n(r)||v0n(r)||m0n()}function m0n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v0n(r,o){if(r){if(typeof r=="string")return b7e(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?b7e(r,o):void 0}}function y0n(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function k0n(r){if(Array.isArray(r))return b7e(r)}function b7e(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1&&arguments[1]!==void 0?arguments[1]:function(){};_0n(this,r),this.element=o,this.listener=l}return A0n(r,[{key:"bindScrollListener",value:function(){this.scrollableParents=C1n(this.element);for(var l=0;lr.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&arguments[0]!==void 0?arguments[0]:[],p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=[];return p.forEach(function(w){w.children instanceof Array?g=g.concat(l._recursive(g,w.children)):w.type.name===l.type?g.push(w):os(w.key)&&(g=g.concat(a.filter(function(y){return l._isMatched(y,w.key)}).map(function(y){return y.vnode})))}),g}}])}();function AC(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return i9e(r)}function q6(r,o){if(r){var l=r.props;if(l){var a=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),p=Object.prototype.hasOwnProperty.call(l,a)?a:o;return r.type.extends.props[o].type===Boolean&&l[p]===""?!0:l[p]}}return null}var G0n=function(o){var l=o.dt;return` +.p-splitter { + display: flex; + flex-wrap: nowrap; + border: 1px solid `.concat(l("splitter.border.color"),`; + background: `).concat(l("splitter.background"),`; + border-radius: `).concat(l("border.radius.md"),`; + color: `).concat(l("splitter.color"),`; +} + +.p-splitter-vertical { + flex-direction: column; +} + +.p-splitter-gutter { + flex-grow: 0; + flex-shrink: 0; + display: flex; + align-items: center; + justify-content: center; + z-index: 1; + background: `).concat(l("splitter.gutter.background"),`; +} + +.p-splitter-gutter-handle { + border-radius: `).concat(l("splitter.handle.border.radius"),`; + background: `).concat(l("splitter.handle.background"),`; + transition: outline-color `).concat(l("splitter.transition.duration"),", box-shadow ").concat(l("splitter.transition.duration"),`; + outline-color: transparent; +} + +.p-splitter-gutter-handle:focus-visible { + box-shadow: `).concat(l("splitter.handle.focus.ring.shadow"),`; + outline: `).concat(l("splitter.handle.focus.ring.width")," ").concat(l("splitter.handle.focus.ring.style")," ").concat(l("splitter.handle.focus.ring.color"),`; + outline-offset: `).concat(l("splitter.handle.focus.ring.offset"),`; +} + +.p-splitter-horizontal.p-splitter-resizing { + cursor: col-resize; + user-select: none; +} + +.p-splitter-vertical.p-splitter-resizing { + cursor: row-resize; + user-select: none; +} + +.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle { + height: `).concat(l("splitter.handle.size"),`; + width: 100%; +} + +.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle { + width: `).concat(l("splitter.handle.size"),`; + height: 100%; +} + +.p-splitter-horizontal > .p-splitter-gutter { + cursor: col-resize; +} + +.p-splitter-vertical > .p-splitter-gutter { + cursor: row-resize; +} + +.p-splitterpanel { + flex-grow: 1; + overflow: hidden; +} + +.p-splitterpanel-nested { + display: flex; +} + +.p-splitterpanel .p-splitter { + flex-grow: 1; + border: 0 none; +} +`)},W0n={root:function(o){var l=o.props;return["p-splitter p-component","p-splitter-"+l.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},V0n={root:function(o){var l=o.props;return[{display:"flex","flex-wrap":"nowrap"},l.layout==="vertical"?{"flex-direction":"column"}:""]}},q0n=vs.extend({name:"splitter",theme:G0n,classes:W0n,inlineStyles:V0n}),X0n={name:"BaseSplitter",extends:vl,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:q0n,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function o5t(r){return Z0n(r)||Q0n(r)||J0n(r)||Y0n()}function Y0n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J0n(r,o){if(r){if(typeof r=="string")return m7e(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?m7e(r,o):void 0}}function Q0n(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Z0n(r){if(Array.isArray(r))return m7e(r)}function m7e(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l100||o<0||l>100||l<0)return!1;var a=q6(this.panels[this.prevPanelIndex],"minSize");if(this.panels[this.prevPanelIndex].props&&a&&a>o)return!1;var p=q6(this.panels[this.prevPanelIndex+1],"minSize");return!(this.panels[this.prevPanelIndex+1].props&&p&&p>l)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){bH(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var o=this,l=this.getStorage(),a=l.getItem(this.stateKey);if(a){this.panelSizes=JSON.parse(a);var p=o5t(this.$el.children).filter(function(g){return g.getAttribute("data-pc-name")==="splitterpanel"});return p.forEach(function(g,w){g.style.flexBasis="calc("+o.panelSizes[w]+"% - "+(o.panels.length-1)*o.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var o=this,l=[];return this.$slots.default().forEach(function(a){o.isSplitterPanel(a)?l.push(a):a.children instanceof Array&&a.children.forEach(function(p){o.isSplitterPanel(p)&&l.push(p)})}),l},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var o;return{context:{nested:(o=this.$parentInstance)===null||o===void 0?void 0:o.nestedState}}}}},ebn=["onMousedown","onTouchstart","onTouchmove","onTouchend"],tbn=["aria-orientation","aria-valuenow","onKeydown"];function nbn(r,o,l,a,p,g){return ve(),wt("div",Qe({class:r.cx("root"),style:r.sx("root"),"data-p-resizing":!1},r.ptmi("root",g.getPTOptions)),[(ve(!0),wt(si,null,Mu(g.panels,function(w,y){return ve(),wt(si,{key:y},[(ve(),Cn(ko(w),{tabindex:"-1"})),y!==g.panels.length-1?(ve(),wt("div",Qe({key:0,ref_for:!0,ref:"gutter",class:r.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(E){return g.onGutterMouseDown(E,y)},onTouchstart:function(E){return g.onGutterTouchStart(E,y)},onTouchmove:function(E){return g.onGutterTouchMove(E,y)},onTouchend:function(E){return g.onGutterTouchEnd(E,y)},"data-p-gutter-resizing":!1},r.ptm("gutter")),[ar("div",Qe({class:r.cx("gutterHandle"),tabindex:"0",style:[g.gutterStyle],"aria-orientation":r.layout,"aria-valuenow":p.prevSize,onKeyup:o[0]||(o[0]=function(){return g.onGutterKeyUp&&g.onGutterKeyUp.apply(g,arguments)}),onKeydown:function(E){return g.onGutterKeyDown(E,y)},ref_for:!0},r.ptm("gutterHandle")),null,16,tbn)],16,ebn)):rr("",!0)],64)}),128))],16)}E9t.render=nbn;var rbn={root:function(o){var l=o.instance;return["p-splitterpanel",{"p-splitterpanel-nested":l.isNested}]}},ibn=vs.extend({name:"splitterpanel",classes:rbn}),obn={name:"BaseSplitterPanel",extends:vl,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:ibn,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},Sne={name:"SplitterPanel",extends:obn,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var o=this;return this.$slots.default().some(function(l){return o.nestedState=l.type.name==="Splitter"?!0:null,o.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function sbn(r,o,l,a,p,g){return ve(),wt("div",Qe({ref:"container",class:r.cx("root")},r.ptmi("root",g.getPTOptions)),[Nr(r.$slots,"default")],16)}Sne.render=sbn;var T9t={name:"BlankIcon",extends:su};function lbn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}T9t.render=lbn;var B_={name:"CheckIcon",extends:su};function cbn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}B_.render=cbn;var Xre={name:"ChevronDownIcon",extends:su};function ubn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1)]),16)}Xre.render=ubn;var I9t={name:"SearchIcon",extends:su};function abn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1)]),16)}I9t.render=abn;var Yre={name:"TimesIcon",extends:su};function fbn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}Yre.render=fbn;var dbn=function(o){var l=o.dt;return` +.p-iconfield { + position: relative; +} + +.p-inputicon { + position: absolute; + top: 50%; + margin-top: calc(-1 * (`.concat(l("icon.size"),` / 2)); + color: `).concat(l("iconfield.icon.color"),`; + line-height: 1; +} + +.p-iconfield .p-inputicon:first-child { + inset-inline-start: `).concat(l("form.field.padding.x"),`; +} + +.p-iconfield .p-inputicon:last-child { + inset-inline-end: `).concat(l("form.field.padding.x"),`; +} + +.p-iconfield .p-inputtext:not(:first-child) { + padding-inline-start: calc((`).concat(l("form.field.padding.x")," * 2) + ").concat(l("icon.size"),`); +} + +.p-iconfield .p-inputtext:not(:last-child) { + padding-inline-end: calc((`).concat(l("form.field.padding.x")," * 2) + ").concat(l("icon.size"),`); +} + +.p-iconfield:has(.p-inputfield-sm) .p-inputicon { + font-size: `).concat(l("form.field.sm.font.size"),`; + width: `).concat(l("form.field.sm.font.size"),`; + height: `).concat(l("form.field.sm.font.size"),`; + margin-top: calc(-1 * (`).concat(l("form.field.sm.font.size"),` / 2)); +} + +.p-iconfield:has(.p-inputfield-lg) .p-inputicon { + font-size: `).concat(l("form.field.lg.font.size"),`; + width: `).concat(l("form.field.lg.font.size"),`; + height: `).concat(l("form.field.lg.font.size"),`; + margin-top: calc(-1 * (`).concat(l("form.field.lg.font.size"),` / 2)); +} +`)},hbn={root:"p-iconfield"},pbn=vs.extend({name:"iconfield",theme:dbn,classes:hbn}),gbn={name:"BaseIconField",extends:vl,style:pbn,provide:function(){return{$pcIconField:this,$parentInstance:this}}},P9t={name:"IconField",extends:gbn,inheritAttrs:!1};function bbn(r,o,l,a,p,g){return ve(),wt("div",Qe({class:r.cx("root")},r.ptmi("root")),[Nr(r.$slots,"default")],16)}P9t.render=bbn;var wbn={root:"p-inputicon"},mbn=vs.extend({name:"inputicon",classes:wbn}),vbn={name:"BaseInputIcon",extends:vl,style:mbn,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},M9t={name:"InputIcon",extends:vbn,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function ybn(r,o,l,a,p,g){return ve(),wt("span",Qe({class:g.containerClass},r.ptmi("root")),[Nr(r.$slots,"default")],16)}M9t.render=ybn;var kbn={name:"BaseEditableHolder",extends:vl,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(o){this.d_value=o},defaultValue:function(o){this.d_value=o},$formName:{immediate:!0,handler:function(o){var l,a;this.formField=((l=this.$pcForm)===null||l===void 0||(a=l.register)===null||a===void 0?void 0:a.call(l,o,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(o){var l,a;this.formField=((l=this.$pcForm)===null||l===void 0||(a=l.register)===null||a===void 0?void 0:a.call(l,this.$formName,o))||{}}},$formDefaultValue:{immediate:!0,handler:function(o){this.d_value!==o&&(this.d_value=o)}}},formField:{},methods:{writeValue:function(o,l){var a,p;this.controlled&&(this.d_value=o,this.$emit("update:modelValue",o)),this.$emit("value-change",o),(a=(p=this.formField).onChange)===null||a===void 0||a.call(p,{originalEvent:l,value:o})}},computed:{$filled:function(){return os(this.d_value)},$invalid:function(){var o,l,a,p;return(o=(l=this.invalid)!==null&&l!==void 0?l:(a=this.$pcFormField)===null||a===void 0||(a=a.$field)===null||a===void 0?void 0:a.invalid)!==null&&o!==void 0?o:(p=this.$pcForm)===null||p===void 0||(p=p.states)===null||p===void 0||(p=p[this.$formName])===null||p===void 0?void 0:p.invalid},$formName:function(){var o;return this.name||((o=this.$formControl)===null||o===void 0?void 0:o.name)},$formControl:function(){var o;return this.formControl||((o=this.$pcFormField)===null||o===void 0?void 0:o.formControl)},$formDefaultValue:function(){var o,l,a,p;return(o=(l=this.d_value)!==null&&l!==void 0?l:(a=this.$pcFormField)===null||a===void 0?void 0:a.initialValue)!==null&&o!==void 0?o:(p=this.$pcForm)===null||p===void 0||(p=p.initialValues)===null||p===void 0?void 0:p[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},vH={name:"BaseInput",extends:kbn,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var o;return(o=this.variant)!==null&&o!==void 0?o:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var o;return(o=this.fluid)!==null&&o!==void 0?o:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},Cbn=function(o){var l=o.dt;return` +.p-inputtext { + font-family: inherit; + font-feature-settings: inherit; + font-size: 1rem; + color: `.concat(l("inputtext.color"),`; + background: `).concat(l("inputtext.background"),`; + padding-block: `).concat(l("inputtext.padding.y"),`; + padding-inline: `).concat(l("inputtext.padding.x"),`; + border: 1px solid `).concat(l("inputtext.border.color"),`; + transition: background `).concat(l("inputtext.transition.duration"),", color ").concat(l("inputtext.transition.duration"),", border-color ").concat(l("inputtext.transition.duration"),", outline-color ").concat(l("inputtext.transition.duration"),", box-shadow ").concat(l("inputtext.transition.duration"),`; + appearance: none; + border-radius: `).concat(l("inputtext.border.radius"),`; + outline-color: transparent; + box-shadow: `).concat(l("inputtext.shadow"),`; +} + +.p-inputtext:enabled:hover { + border-color: `).concat(l("inputtext.hover.border.color"),`; +} + +.p-inputtext:enabled:focus { + border-color: `).concat(l("inputtext.focus.border.color"),`; + box-shadow: `).concat(l("inputtext.focus.ring.shadow"),`; + outline: `).concat(l("inputtext.focus.ring.width")," ").concat(l("inputtext.focus.ring.style")," ").concat(l("inputtext.focus.ring.color"),`; + outline-offset: `).concat(l("inputtext.focus.ring.offset"),`; +} + +.p-inputtext.p-invalid { + border-color: `).concat(l("inputtext.invalid.border.color"),`; +} + +.p-inputtext.p-variant-filled { + background: `).concat(l("inputtext.filled.background"),`; +} + +.p-inputtext.p-variant-filled:enabled:hover { + background: `).concat(l("inputtext.filled.hover.background"),`; +} + +.p-inputtext.p-variant-filled:enabled:focus { + background: `).concat(l("inputtext.filled.focus.background"),`; +} + +.p-inputtext:disabled { + opacity: 1; + background: `).concat(l("inputtext.disabled.background"),`; + color: `).concat(l("inputtext.disabled.color"),`; +} + +.p-inputtext::placeholder { + color: `).concat(l("inputtext.placeholder.color"),`; +} + +.p-inputtext.p-invalid::placeholder { + color: `).concat(l("inputtext.invalid.placeholder.color"),`; +} + +.p-inputtext-sm { + font-size: `).concat(l("inputtext.sm.font.size"),`; + padding-block: `).concat(l("inputtext.sm.padding.y"),`; + padding-inline: `).concat(l("inputtext.sm.padding.x"),`; +} + +.p-inputtext-lg { + font-size: `).concat(l("inputtext.lg.font.size"),`; + padding-block: `).concat(l("inputtext.lg.padding.y"),`; + padding-inline: `).concat(l("inputtext.lg.padding.x"),`; +} + +.p-inputtext-fluid { + width: 100%; +} +`)},Sbn={root:function(o){var l=o.instance,a=o.props;return["p-inputtext p-component",{"p-filled":l.$filled,"p-inputtext-sm p-inputfield-sm":a.size==="small","p-inputtext-lg p-inputfield-lg":a.size==="large","p-invalid":l.$invalid,"p-variant-filled":l.$variant==="filled","p-inputtext-fluid":l.$fluid}]}},xbn=vs.extend({name:"inputtext",theme:Cbn,classes:Sbn}),Ebn={name:"BaseInputText",extends:vH,style:xbn,provide:function(){return{$pcInputText:this,$parentInstance:this}}},mE={name:"InputText",extends:Ebn,inheritAttrs:!1,methods:{onInput:function(o){this.writeValue(o.target.value,o)}},computed:{attrs:function(){return Qe(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},Tbn=["value","disabled","aria-invalid"];function Ibn(r,o,l,a,p,g){return ve(),wt("input",Qe({type:"text",class:r.cx("root"),value:r.d_value,disabled:r.disabled,"aria-invalid":r.$invalid||void 0,onInput:o[0]||(o[0]=function(){return g.onInput&&g.onInput.apply(g,arguments)})},g.attrs),null,16,Tbn)}mE.render=Ibn;var nm=YSe(),yH={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=qre()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function Pbn(r,o,l,a,p,g){return g.inline?Nr(r.$slots,"default",{key:0}):p.mounted?(ve(),Cn(fdn,{key:1,to:l.appendTo},[Nr(r.$slots,"default")],8,["to"])):rr("",!0)}yH.render=Pbn;var Mbn=function(o){var l=o.dt;return` +.p-virtualscroller-loader { + background: `.concat(l("virtualscroller.loader.mask.background"),`; + color: `).concat(l("virtualscroller.loader.mask.color"),`; +} + +.p-virtualscroller-loading-icon { + font-size: `).concat(l("virtualscroller.loader.icon.size"),`; + width: `).concat(l("virtualscroller.loader.icon.size"),`; + height: `).concat(l("virtualscroller.loader.icon.size"),`; +} +`)},Obn=` +.p-virtualscroller { + position: relative; + overflow: auto; + contain: strict; + transform: translateZ(0); + will-change: scroll-position; + outline: 0 none; +} + +.p-virtualscroller-content { + position: absolute; + top: 0; + left: 0; + min-height: 100%; + min-width: 100%; + will-change: transform; +} + +.p-virtualscroller-spacer { + position: absolute; + top: 0; + left: 0; + height: 1px; + width: 1px; + transform-origin: 0 0; + pointer-events: none; +} + +.p-virtualscroller-loader { + position: sticky; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.p-virtualscroller-loader-mask { + display: flex; + align-items: center; + justify-content: center; +} + +.p-virtualscroller-horizontal > .p-virtualscroller-content { + display: flex; +} + +.p-virtualscroller-inline .p-virtualscroller-content { + position: static; +} +`,s5t=vs.extend({name:"virtualscroller",css:Obn,theme:Mbn}),_bn={name:"BaseVirtualScroller",extends:vl,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:s5t,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var o;s5t.loadCSS({nonce:(o=this.$primevueConfig)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce})}};function yz(r){"@babel/helpers - typeof";return yz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},yz(r)}function l5t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function uF(r){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:"auto",p=this.isBoth(),g=this.isHorizontal(),w=p?o.every(function(mt){return mt>-1}):o>-1;if(w){var y=this.first,S=this.element,E=S.scrollTop,I=E===void 0?0:E,M=S.scrollLeft,_=M===void 0?0:M,R=this.calculateNumItems(),j=R.numToleratedItems,K=this.getContentPosition(),q=this.itemSize,Q=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1?arguments[1]:void 0;return bt<=ce?0:bt},Z=function(bt,ce,Be){return bt*ce+Be},X=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return l.scrollTo({left:bt,top:ce,behavior:a})},ie=p?{rows:0,cols:0}:0,je=!1,et=!1;p?(ie={rows:Q(o[0],j[0]),cols:Q(o[1],j[1])},X(Z(ie.cols,q[1],K.left),Z(ie.rows,q[0],K.top)),et=this.lastScrollPos.top!==I||this.lastScrollPos.left!==_,je=ie.rows!==y.rows||ie.cols!==y.cols):(ie=Q(o,j),g?X(Z(ie,q,K.left),I):X(_,Z(ie,q,K.top)),et=this.lastScrollPos!==(g?_:I),je=ie!==y),this.isRangeChanged=je,et&&(this.first=ie)}},scrollInView:function(o,l){var a=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(l){var g=this.isBoth(),w=this.isHorizontal(),y=g?o.every(function(q){return q>-1}):o>-1;if(y){var S=this.getRenderedRange(),E=S.first,I=S.viewport,M=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a.scrollTo({left:Q,top:Z,behavior:p})},_=l==="to-start",R=l==="to-end";if(_){if(g)I.first.rows-E.rows>o[0]?M(I.first.cols*this.itemSize[1],(I.first.rows-1)*this.itemSize[0]):I.first.cols-E.cols>o[1]&&M((I.first.cols-1)*this.itemSize[1],I.first.rows*this.itemSize[0]);else if(I.first-E>o){var j=(I.first-1)*this.itemSize;w?M(j,0):M(0,j)}}else if(R){if(g)I.last.rows-E.rows<=o[0]+1?M(I.first.cols*this.itemSize[1],(I.first.rows+1)*this.itemSize[0]):I.last.cols-E.cols<=o[1]+1&&M((I.first.cols+1)*this.itemSize[1],I.first.rows*this.itemSize[0]);else if(I.last-E<=o+1){var K=(I.first+1)*this.itemSize;w?M(K,0):M(0,K)}}}}else this.scrollToIndex(o,p)},getRenderedRange:function(){var o=function(M,_){return Math.floor(M/(_||M))},l=this.first,a=0;if(this.element){var p=this.isBoth(),g=this.isHorizontal(),w=this.element,y=w.scrollTop,S=w.scrollLeft;if(p)l={rows:o(y,this.itemSize[0]),cols:o(S,this.itemSize[1])},a={rows:l.rows+this.numItemsInViewport.rows,cols:l.cols+this.numItemsInViewport.cols};else{var E=g?S:y;l=o(E,this.itemSize),a=l+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:l,last:a}}},calculateNumItems:function(){var o=this.isBoth(),l=this.isHorizontal(),a=this.itemSize,p=this.getContentPosition(),g=this.element?this.element.offsetWidth-p.left:0,w=this.element?this.element.offsetHeight-p.top:0,y=function(_,R){return Math.ceil(_/(R||_))},S=function(_){return Math.ceil(_/2)},E=o?{rows:y(w,a[0]),cols:y(g,a[1])}:y(l?g:w,a),I=this.d_numToleratedItems||(o?[S(E.rows),S(E.cols)]:S(E));return{numItemsInViewport:E,numToleratedItems:I}},calculateOptions:function(){var o=this,l=this.isBoth(),a=this.first,p=this.calculateNumItems(),g=p.numItemsInViewport,w=p.numToleratedItems,y=function(I,M,_){var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return o.getLast(I+M+(I<_?2:3)*_,R)},S=l?{rows:y(a.rows,g.rows,w[0]),cols:y(a.cols,g.cols,w[1],!0)}:y(a,g,w);this.last=S,this.numItemsInViewport=g,this.d_numToleratedItems=w,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.showLoader&&(this.loaderArr=l?Array.from({length:g.rows}).map(function(){return Array.from({length:g.cols})}):Array.from({length:g})),this.lazy&&Promise.resolve().then(function(){var E;o.lazyLoadState={first:o.step?l?{rows:0,cols:a.cols}:0:a,last:Math.min(o.step?o.step:S,((E=o.items)===null||E===void 0?void 0:E.length)||0)},o.$emit("lazy-load",o.lazyLoadState)})},calculateAutoSize:function(){var o=this;this.autoSize&&!this.d_loading&&Promise.resolve().then(function(){if(o.content){var l=o.isBoth(),a=o.isHorizontal(),p=o.isVertical();o.content.style.minHeight=o.content.style.minWidth="auto",o.content.style.position="relative",o.element.style.contain="none";var g=[SC(o.element),kC(o.element)],w=g[0],y=g[1];(l||a)&&(o.element.style.width=w0&&arguments[0]!==void 0?arguments[0]:0,p=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(p?((o=this.columns||this.items[0])===null||o===void 0?void 0:o.length)||0:((l=this.items)===null||l===void 0?void 0:l.length)||0,a):0},getContentPosition:function(){if(this.content){var o=getComputedStyle(this.content),l=parseFloat(o.paddingLeft)+Math.max(parseFloat(o.left)||0,0),a=parseFloat(o.paddingRight)+Math.max(parseFloat(o.right)||0,0),p=parseFloat(o.paddingTop)+Math.max(parseFloat(o.top)||0,0),g=parseFloat(o.paddingBottom)+Math.max(parseFloat(o.bottom)||0,0);return{left:l,right:a,top:p,bottom:g,x:l+a,y:p+g}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var o=this;if(this.element){var l=this.isBoth(),a=this.isHorizontal(),p=this.element.parentElement,g=this.scrollWidth||"".concat(this.element.offsetWidth||p.offsetWidth,"px"),w=this.scrollHeight||"".concat(this.element.offsetHeight||p.offsetHeight,"px"),y=function(E,I){return o.element.style[E]=I};l||a?(y("height",w),y("width",g)):y("height",w)}},setSpacerSize:function(){var o=this,l=this.items;if(l){var a=this.isBoth(),p=this.isHorizontal(),g=this.getContentPosition(),w=function(S,E,I){var M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return o.spacerStyle=uF(uF({},o.spacerStyle),O9t({},"".concat(S),(E||[]).length*I+M+"px"))};a?(w("height",l,this.itemSize[0],g.y),w("width",this.columns||l[1],this.itemSize[1],g.x)):p?w("width",this.columns||l,this.itemSize,g.x):w("height",l,this.itemSize,g.y)}},setContentPosition:function(o){var l=this;if(this.content&&!this.appendOnly){var a=this.isBoth(),p=this.isHorizontal(),g=o?o.first:this.first,w=function(I,M){return I*M},y=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return l.contentStyle=uF(uF({},l.contentStyle),{transform:"translate3d(".concat(I,"px, ").concat(M,"px, 0)")})};if(a)y(w(g.cols,this.itemSize[1]),w(g.rows,this.itemSize[0]));else{var S=w(g,this.itemSize);p?y(S,0):y(0,S)}}},onScrollPositionChange:function(o){var l=this,a=o.target,p=this.isBoth(),g=this.isHorizontal(),w=this.getContentPosition(),y=function(ae,xe){return ae?ae>xe?ae-xe:ae:0},S=function(ae,xe){return Math.floor(ae/(xe||ae))},E=function(ae,xe,U,He,yt,ft){return ae<=yt?yt:ft?U-He-yt:xe+yt-1},I=function(ae,xe,U,He,yt,ft,At){return ae<=ft?0:Math.max(0,At?aexe?U:ae-2*ft)},M=function(ae,xe,U,He,yt,ft){var At=xe+He+2*yt;return ae>=yt&&(At+=yt+1),l.getLast(At,ft)},_=y(a.scrollTop,w.top),R=y(a.scrollLeft,w.left),j=p?{rows:0,cols:0}:0,K=this.last,q=!1,Q=this.lastScrollPos;if(p){var Z=this.lastScrollPos.top<=_,X=this.lastScrollPos.left<=R;if(!this.appendOnly||this.appendOnly&&(Z||X)){var ie={rows:S(_,this.itemSize[0]),cols:S(R,this.itemSize[1])},je={rows:E(ie.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],Z),cols:E(ie.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],X)};j={rows:I(ie.rows,je.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],Z),cols:I(ie.cols,je.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],X)},K={rows:M(ie.rows,j.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:M(ie.cols,j.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},q=j.rows!==this.first.rows||K.rows!==this.last.rows||j.cols!==this.first.cols||K.cols!==this.last.cols||this.isRangeChanged,Q={top:_,left:R}}}else{var et=g?R:_,mt=this.lastScrollPos<=et;if(!this.appendOnly||this.appendOnly&&mt){var bt=S(et,this.itemSize),ce=E(bt,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,mt);j=I(bt,ce,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,mt),K=M(bt,j,this.last,this.numItemsInViewport,this.d_numToleratedItems),q=j!==this.first||K!==this.last||this.isRangeChanged,Q=et}}return{first:j,last:K,isRangeChanged:q,scrollPos:Q}},onScrollChange:function(o){var l=this.onScrollPositionChange(o),a=l.first,p=l.last,g=l.isRangeChanged,w=l.scrollPos;if(g){var y={first:a,last:p};if(this.setContentPosition(y),this.first=a,this.last=p,this.lastScrollPos=w,this.$emit("scroll-index-change",y),this.lazy&&this.isPageChanged(a)){var S,E,I={first:this.step?Math.min(this.getPageByFirst(a)*this.step,(((S=this.items)===null||S===void 0?void 0:S.length)||0)-this.step):a,last:Math.min(this.step?(this.getPageByFirst(a)+1)*this.step:p,((E=this.items)===null||E===void 0?void 0:E.length)||0)},M=this.lazyLoadState.first!==I.first||this.lazyLoadState.last!==I.last;M&&this.$emit("lazy-load",I),this.lazyLoadState=I}}},onScroll:function(o){var l=this;if(this.$emit("scroll",o),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var a=this.onScrollPositionChange(o),p=a.isRangeChanged,g=p||(this.step?this.isPageChanged():!1);g&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){l.onScrollChange(o),l.d_loading&&l.showLoader&&(!l.lazy||l.loading===void 0)&&(l.d_loading=!1,l.page=l.getPageByFirst())},this.delay)}}else this.onScrollChange(o)},onResize:function(){var o=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(Zne(o.element)){var l=o.isBoth(),a=o.isVertical(),p=o.isHorizontal(),g=[SC(o.element),kC(o.element)],w=g[0],y=g[1],S=w!==o.defaultWidth,E=y!==o.defaultHeight,I=l?S||E:p?S:a?E:!1;I&&(o.d_numToleratedItems=o.numToleratedItems,o.defaultWidth=w,o.defaultHeight=y,o.defaultContentWidth=SC(o.content),o.defaultContentHeight=kC(o.content),o.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(o){var l=(this.items||[]).length,a=this.isBoth()?this.first.rows+o:this.first+o;return{index:a,count:l,first:a===0,last:a===l-1,even:a%2===0,odd:a%2!==0}},getLoaderOptions:function(o,l){var a=this.loaderArr.length;return uF({index:o,count:a,first:o===0,last:o===a-1,even:o%2===0,odd:o%2!==0},l)},getPageByFirst:function(o){return Math.floor(((o??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(o){return this.step&&!this.lazy?this.page!==this.getPageByFirst(o??this.first):!0},setContentEl:function(o){this.content=o||this.content||PC(this.element,'[data-pc-section="content"]')},elementRef:function(o){this.element=o},contentRef:function(o){this.content=o}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var o=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(l){return o.columns?l:l.slice(o.appendOnly?0:o.first.cols,o.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var o=this.isBoth(),l=this.isHorizontal();if(o||l)return this.d_loading&&this.loaderDisabled?o?this.loaderArr[0]:this.loaderArr:this.columns.slice(o?this.first.cols:this.first,o?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:mH}},Lbn=["tabindex"];function $bn(r,o,l,a,p,g){var w=ki("SpinnerIcon");return r.disabled?(ve(),wt(si,{key:1},[Nr(r.$slots,"default"),Nr(r.$slots,"content",{items:r.items,rows:r.items,columns:g.loadedColumns})],64)):(ve(),wt("div",Qe({key:0,ref:g.elementRef,class:g.containerClass,tabindex:r.tabindex,style:r.style,onScroll:o[0]||(o[0]=function(){return g.onScroll&&g.onScroll.apply(g,arguments)})},r.ptmi("root")),[Nr(r.$slots,"content",{styleClass:g.contentClass,items:g.loadedItems,getItemOptions:g.getOptions,loading:p.d_loading,getLoaderOptions:g.getLoaderOptions,itemSize:r.itemSize,rows:g.loadedRows,columns:g.loadedColumns,contentRef:g.contentRef,spacerStyle:p.spacerStyle,contentStyle:p.contentStyle,vertical:g.isVertical(),horizontal:g.isHorizontal(),both:g.isBoth()},function(){return[ar("div",Qe({ref:g.contentRef,class:g.contentClass,style:p.contentStyle},r.ptm("content")),[(ve(!0),wt(si,null,Mu(g.loadedItems,function(y,S){return Nr(r.$slots,"item",{key:S,item:y,options:g.getOptions(S)})}),128))],16)]}),r.showSpacer?(ve(),wt("div",Qe({key:0,class:"p-virtualscroller-spacer",style:p.spacerStyle},r.ptm("spacer")),null,16)):rr("",!0),!r.loaderDisabled&&r.showLoader&&p.d_loading?(ve(),wt("div",Qe({key:1,class:g.loaderClass},r.ptm("loader")),[r.$slots&&r.$slots.loader?(ve(!0),wt(si,{key:0},Mu(p.loaderArr,function(y,S){return Nr(r.$slots,"loader",{key:S,options:g.getLoaderOptions(S,g.isBoth()&&{numCols:r.d_numItemsInViewport.cols})})}),128)):rr("",!0),Nr(r.$slots,"loadingicon",{},function(){return[ai(w,Qe({spin:"",class:"p-virtualscroller-loading-icon"},r.ptm("loadingIcon")),null,16)]})],16)):rr("",!0)],16,Lbn))}l9e.render=$bn;var jbn=function(o){var l=o.dt;return` +.p-select { + display: inline-flex; + cursor: pointer; + position: relative; + user-select: none; + background: `.concat(l("select.background"),`; + border: 1px solid `).concat(l("select.border.color"),`; + transition: background `).concat(l("select.transition.duration"),", color ").concat(l("select.transition.duration"),", border-color ").concat(l("select.transition.duration"),`, + outline-color `).concat(l("select.transition.duration"),", box-shadow ").concat(l("select.transition.duration"),`; + border-radius: `).concat(l("select.border.radius"),`; + outline-color: transparent; + box-shadow: `).concat(l("select.shadow"),`; +} + +.p-select:not(.p-disabled):hover { + border-color: `).concat(l("select.hover.border.color"),`; +} + +.p-select:not(.p-disabled).p-focus { + border-color: `).concat(l("select.focus.border.color"),`; + box-shadow: `).concat(l("select.focus.ring.shadow"),`; + outline: `).concat(l("select.focus.ring.width")," ").concat(l("select.focus.ring.style")," ").concat(l("select.focus.ring.color"),`; + outline-offset: `).concat(l("select.focus.ring.offset"),`; +} + +.p-select.p-variant-filled { + background: `).concat(l("select.filled.background"),`; +} + +.p-select.p-variant-filled:not(.p-disabled):hover { + background: `).concat(l("select.filled.hover.background"),`; +} + +.p-select.p-variant-filled:not(.p-disabled).p-focus { + background: `).concat(l("select.filled.focus.background"),`; +} + +.p-select.p-invalid { + border-color: `).concat(l("select.invalid.border.color"),`; +} + +.p-select.p-disabled { + opacity: 1; + background: `).concat(l("select.disabled.background"),`; +} + +.p-select-clear-icon { + position: absolute; + top: 50%; + margin-top: -0.5rem; + color: `).concat(l("select.clear.icon.color"),`; + inset-inline-end: `).concat(l("select.dropdown.width"),`; +} + +.p-select-dropdown { + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + background: transparent; + color: `).concat(l("select.dropdown.color"),`; + width: `).concat(l("select.dropdown.width"),`; + border-start-end-radius: `).concat(l("select.border.radius"),`; + border-end-end-radius: `).concat(l("select.border.radius"),`; +} + +.p-select-label { + display: block; + white-space: nowrap; + overflow: hidden; + flex: 1 1 auto; + width: 1%; + padding: `).concat(l("select.padding.y")," ").concat(l("select.padding.x"),`; + text-overflow: ellipsis; + cursor: pointer; + color: `).concat(l("select.color"),`; + background: transparent; + border: 0 none; + outline: 0 none; +} + +.p-select-label.p-placeholder { + color: `).concat(l("select.placeholder.color"),`; +} + +.p-select.p-invalid .p-select-label.p-placeholder { + color: `).concat(l("select.invalid.placeholder.color"),`; +} + +.p-select:has(.p-select-clear-icon) .p-select-label { + padding-inline-end: calc(1rem + `).concat(l("select.padding.x"),`); +} + +.p-select.p-disabled .p-select-label { + color: `).concat(l("select.disabled.color"),`; +} + +.p-select-label-empty { + overflow: hidden; + opacity: 0; +} + +input.p-select-label { + cursor: default; +} + +.p-select .p-select-overlay { + min-width: 100%; +} + +.p-select-overlay { + position: absolute; + top: 0; + left: 0; + background: `).concat(l("select.overlay.background"),`; + color: `).concat(l("select.overlay.color"),`; + border: 1px solid `).concat(l("select.overlay.border.color"),`; + border-radius: `).concat(l("select.overlay.border.radius"),`; + box-shadow: `).concat(l("select.overlay.shadow"),`; +} + +.p-select-header { + padding: `).concat(l("select.list.header.padding"),`; +} + +.p-select-filter { + width: 100%; +} + +.p-select-list-container { + overflow: auto; +} + +.p-select-option-group { + cursor: auto; + margin: 0; + padding: `).concat(l("select.option.group.padding"),`; + background: `).concat(l("select.option.group.background"),`; + color: `).concat(l("select.option.group.color"),`; + font-weight: `).concat(l("select.option.group.font.weight"),`; +} + +.p-select-list { + margin: 0; + padding: 0; + list-style-type: none; + padding: `).concat(l("select.list.padding"),`; + gap: `).concat(l("select.list.gap"),`; + display: flex; + flex-direction: column; +} + +.p-select-option { + cursor: pointer; + font-weight: normal; + white-space: nowrap; + position: relative; + overflow: hidden; + display: flex; + align-items: center; + padding: `).concat(l("select.option.padding"),`; + border: 0 none; + color: `).concat(l("select.option.color"),`; + background: transparent; + transition: background `).concat(l("select.transition.duration"),", color ").concat(l("select.transition.duration"),", border-color ").concat(l("select.transition.duration"),`, + box-shadow `).concat(l("select.transition.duration"),", outline-color ").concat(l("select.transition.duration"),`; + border-radius: `).concat(l("select.option.border.radius"),`; +} + +.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { + background: `).concat(l("select.option.focus.background"),`; + color: `).concat(l("select.option.focus.color"),`; +} + +.p-select-option.p-select-option-selected { + background: `).concat(l("select.option.selected.background"),`; + color: `).concat(l("select.option.selected.color"),`; +} + +.p-select-option.p-select-option-selected.p-focus { + background: `).concat(l("select.option.selected.focus.background"),`; + color: `).concat(l("select.option.selected.focus.color"),`; +} + +.p-select-option-check-icon { + position: relative; + margin-inline-start: `).concat(l("select.checkmark.gutter.start"),`; + margin-inline-end: `).concat(l("select.checkmark.gutter.end"),`; + color: `).concat(l("select.checkmark.color"),`; +} + +.p-select-empty-message { + padding: `).concat(l("select.empty.message.padding"),`; +} + +.p-select-fluid { + display: flex; +} + +.p-select-sm .p-select-label { + font-size: `).concat(l("select.sm.font.size"),`; + padding-block: `).concat(l("select.sm.padding.y"),`; + padding-inline: `).concat(l("select.sm.padding.x"),`; +} + +.p-select-sm .p-select-dropdown .p-icon { + font-size: `).concat(l("select.sm.font.size"),`; + width: `).concat(l("select.sm.font.size"),`; + height: `).concat(l("select.sm.font.size"),`; +} + +.p-select-lg .p-select-label { + font-size: `).concat(l("select.lg.font.size"),`; + padding-block: `).concat(l("select.lg.padding.y"),`; + padding-inline: `).concat(l("select.lg.padding.x"),`; +} + +.p-select-lg .p-select-dropdown .p-icon { + font-size: `).concat(l("select.lg.font.size"),`; + width: `).concat(l("select.lg.font.size"),`; + height: `).concat(l("select.lg.font.size"),`; +} +`)},Dbn={root:function(o){var l=o.instance,a=o.props,p=o.state;return["p-select p-component p-inputwrapper",{"p-disabled":a.disabled,"p-invalid":l.$invalid,"p-variant-filled":l.$variant==="filled","p-focus":p.focused,"p-inputwrapper-filled":l.$filled,"p-inputwrapper-focus":p.focused||p.overlayVisible,"p-select-open":p.overlayVisible,"p-select-fluid":l.$fluid,"p-select-sm p-inputfield-sm":a.size==="small","p-select-lg p-inputfield-lg":a.size==="large"}]},label:function(o){var l=o.instance,a=o.props;return["p-select-label",{"p-placeholder":!a.editable&&l.label===a.placeholder,"p-select-label-empty":!a.editable&&!l.$slots.value&&(l.label==="p-emptylabel"||l.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(o){var l=o.instance,a=o.props,p=o.state,g=o.option,w=o.focusedOption;return["p-select-option",{"p-select-option-selected":l.isSelected(g)&&a.highlightOnSelect,"p-focus":p.focusedOptionIndex===w,"p-disabled":l.isOptionDisabled(g)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},Nbn=vs.extend({name:"select",theme:jbn,classes:Dbn}),Bbn={name:"BaseSelect",extends:vH,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Nbn,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function kz(r){"@babel/helpers - typeof";return kz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},kz(r)}function Fbn(r){return Ubn(r)||Kbn(r)||Hbn(r)||zbn()}function zbn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hbn(r,o){if(r){if(typeof r=="string")return v7e(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?v7e(r,o):void 0}}function Kbn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ubn(r){if(Array.isArray(r))return v7e(r)}function v7e(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l2&&arguments[2]!==void 0?arguments[2]:!0,p=this.getOptionValue(l);this.updateModel(o,p),a&&this.hide(!0)},onOptionMouseMove:function(o,l){this.focusOnHover&&this.changeFocusedOptionIndex(o,l)},onFilterChange:function(o){var l=o.target.value;this.filterValue=l,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:o,value:l}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(o){if(!o.isComposing)switch(o.code){case"ArrowDown":this.onArrowDownKey(o);break;case"ArrowUp":this.onArrowUpKey(o,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(o,!0);break;case"Home":this.onHomeKey(o,!0);break;case"End":this.onEndKey(o,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(o);break;case"Escape":this.onEscapeKey(o);break;case"Tab":this.onTabKey(o,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(o){nm.emit("overlay-click",{originalEvent:o,target:this.$el})},onOverlayKeyDown:function(o){switch(o.code){case"Escape":this.onEscapeKey(o);break}},onArrowDownKey:function(o){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(o,this.findSelectedOptionIndex());else{var l=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(o,l)}o.preventDefault()},onArrowUpKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o.altKey&&!l)this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),o.preventDefault();else{var a=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(o,a),!this.overlayVisible&&this.show(),o.preventDefault()}},onArrowLeftKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l&&(this.focusedOptionIndex=-1)},onHomeKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(l){var a=o.currentTarget;o.shiftKey?a.setSelectionRange(0,o.target.selectionStart):(a.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(o,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();o.preventDefault()},onEndKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(l){var a=o.currentTarget;if(o.shiftKey)a.setSelectionRange(o.target.selectionStart,a.value.length);else{var p=a.value.length;a.setSelectionRange(p,p),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(o,this.findLastOptionIndex()),!this.overlayVisible&&this.show();o.preventDefault()},onPageUpKey:function(o){this.scrollInView(0),o.preventDefault()},onPageDownKey:function(o){this.scrollInView(this.visibleOptions.length-1),o.preventDefault()},onEnterKey:function(o){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(o)),o.preventDefault()},onSpaceKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!l&&this.onEnterKey(o)},onEscapeKey:function(o){this.overlayVisible&&this.hide(!0),o.preventDefault(),o.stopPropagation()},onTabKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l||(this.overlayVisible&&this.hasFocusableElements()?(Uh(this.$refs.firstHiddenFocusableElementOnOverlay),o.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(o,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l&&!this.overlayVisible&&this.show()},onOverlayEnter:function(o){var l=this;sm.set("overlay",o,this.$primevue.config.zIndex.overlay),k_(o,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){l.autoFilterFocus&&l.filter&&Uh(l.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var o=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){Uh(o.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(o){sm.clear(o)},alignOverlay:function(){this.appendTo==="self"?v1n(this.overlay,this.$el):(this.overlay.style.minWidth=Vh(this.$el)+"px",QSe(this.overlay,this.$el))},bindOutsideClickListener:function(){var o=this;this.outsideClickListener||(this.outsideClickListener=function(l){o.overlayVisible&&o.overlay&&!o.$el.contains(l.target)&&!o.overlay.contains(l.target)&&o.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var o=this;this.scrollHandler||(this.scrollHandler=new s9e(this.$refs.container,function(){o.overlayVisible&&o.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var o=this;this.resizeListener||(this.resizeListener=function(){o.overlayVisible&&!r9e()&&o.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var o=this;if(!this.editable&&!this.labelClickListener){var l=document.querySelector('label[for="'.concat(this.labelId,'"]'));l&&Zne(l)&&(this.labelClickListener=function(){Uh(o.$refs.focusInput)},l.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var o=document.querySelector('label[for="'.concat(this.labelId,'"]'));o&&Zne(o)&&o.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return ZSe(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(o){var l;return this.isValidOption(o)&&typeof this.getOptionLabel(o)=="string"&&((l=this.getOptionLabel(o))===null||l===void 0?void 0:l.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(o){return os(o)&&!(this.isOptionDisabled(o)||this.isOptionGroup(o))},isValidSelectedOption:function(o){return this.isValidOption(o)&&this.isSelected(o)},isSelected:function(o){return VE(this.d_value,this.getOptionValue(o),this.equalityKey)},findFirstOptionIndex:function(){var o=this;return this.visibleOptions.findIndex(function(l){return o.isValidOption(l)})},findLastOptionIndex:function(){var o=this;return Ikt(this.visibleOptions,function(l){return o.isValidOption(l)})},findNextOptionIndex:function(o){var l=this,a=o-1?a+o+1:o},findPrevOptionIndex:function(o){var l=this,a=o>0?Ikt(this.visibleOptions.slice(0,o),function(p){return l.isValidOption(p)}):-1;return a>-1?a:o},findSelectedOptionIndex:function(){var o=this;return this.$filled?this.visibleOptions.findIndex(function(l){return o.isValidSelectedOption(l)}):-1},findFirstFocusedOptionIndex:function(){var o=this.findSelectedOptionIndex();return o<0?this.findFirstOptionIndex():o},findLastFocusedOptionIndex:function(){var o=this.findSelectedOptionIndex();return o<0?this.findLastOptionIndex():o},searchOptions:function(o,l){var a=this;this.searchValue=(this.searchValue||"")+l;var p=-1,g=!1;return os(this.searchValue)&&(this.focusedOptionIndex!==-1?(p=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(w){return a.isOptionMatched(w)}),p=p===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(w){return a.isOptionMatched(w)}):p+this.focusedOptionIndex):p=this.visibleOptions.findIndex(function(w){return a.isOptionMatched(w)}),p!==-1&&(g=!0),p===-1&&this.focusedOptionIndex===-1&&(p=this.findFirstFocusedOptionIndex()),p!==-1&&this.changeFocusedOptionIndex(o,p)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){a.searchValue="",a.searchTimeout=null},500),g},changeFocusedOptionIndex:function(o,l){this.focusedOptionIndex!==l&&(this.focusedOptionIndex=l,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(o,this.visibleOptions[l],!1))},scrollInView:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var a=l!==-1?"".concat(o.id,"_").concat(l):o.focusedOptionId,p=PC(o.list,'li[id="'.concat(a,'"]'));p?p.scrollIntoView&&p.scrollIntoView({block:"nearest",inline:"start"}):o.virtualScrollerDisabled||o.virtualScroller&&o.virtualScroller.scrollToIndex(l!==-1?l:o.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(o,l){this.writeValue(l,o),this.$emit("change",{originalEvent:o,value:l})},flatOptions:function(o){var l=this;return(o||[]).reduce(function(a,p,g){a.push({optionGroup:p,group:!0,index:g});var w=l.getOptionGroupChildren(p);return w&&w.forEach(function(y){return a.push(y)}),a},[])},overlayRef:function(o){this.overlay=o},listRef:function(o,l){this.list=o,l&&l(o)},virtualScrollerRef:function(o){this.virtualScroller=o}},computed:{visibleOptions:function(){var o=this,l=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var a=p7e.filter(l,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var p=this.options||[],g=[];return p.forEach(function(w){var y=o.getOptionGroupChildren(w),S=y.filter(function(E){return a.includes(E)});S.length>0&&g.push(u5t(u5t({},w),{},_9t({},typeof o.optionGroupChildren=="string"?o.optionGroupChildren:"items",Fbn(S))))}),this.flatOptions(g)}return a}return l},hasSelectedOption:function(){return this.$filled},label:function(){var o=this.findSelectedOptionIndex();return o!==-1?this.getOptionLabel(this.visibleOptions[o]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var o=this.findSelectedOptionIndex();return o!==-1?this.getOptionLabel(this.visibleOptions[o]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return os(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var o=this;return this.visibleOptions.filter(function(l){return!o.isOptionGroup(l)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&os(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:O3},components:{InputText:mE,VirtualScroller:l9e,Portal:yH,InputIcon:M9t,IconField:P9t,TimesIcon:Yre,ChevronDownIcon:Xre,SpinnerIcon:mH,SearchIcon:I9t,CheckIcon:B_,BlankIcon:T9t}},Vbn=["id"],qbn=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],Xbn=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],Ybn=["id"],Jbn=["id"],Qbn=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function Zbn(r,o,l,a,p,g){var w=ki("SpinnerIcon"),y=ki("InputText"),S=ki("SearchIcon"),E=ki("InputIcon"),I=ki("IconField"),M=ki("CheckIcon"),_=ki("BlankIcon"),R=ki("VirtualScroller"),j=ki("Portal"),K=hy("ripple");return ve(),wt("div",Qe({ref:"container",id:p.id,class:r.cx("root"),onClick:o[11]||(o[11]=function(){return g.onContainerClick&&g.onContainerClick.apply(g,arguments)})},r.ptmi("root")),[r.editable?(ve(),wt("input",Qe({key:0,ref:"focusInput",id:r.labelId||r.inputId,type:"text",class:[r.cx("label"),r.inputClass,r.labelClass],style:[r.inputStyle,r.labelStyle],value:g.editableInputValue,placeholder:r.placeholder,tabindex:r.disabled?-1:r.tabindex,disabled:r.disabled,autocomplete:"off",role:"combobox","aria-label":r.ariaLabel,"aria-labelledby":r.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":p.overlayVisible,"aria-controls":p.id+"_list","aria-activedescendant":p.focused?g.focusedOptionId:void 0,"aria-invalid":r.invalid||void 0,onFocus:o[0]||(o[0]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[1]||(o[1]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onKeydown:o[2]||(o[2]=function(){return g.onKeyDown&&g.onKeyDown.apply(g,arguments)}),onInput:o[3]||(o[3]=function(){return g.onEditableInput&&g.onEditableInput.apply(g,arguments)})},r.ptm("label")),null,16,qbn)):(ve(),wt("span",Qe({key:1,ref:"focusInput",id:r.labelId||r.inputId,class:[r.cx("label"),r.inputClass,r.labelClass],style:[r.inputStyle,r.labelStyle],tabindex:r.disabled?-1:r.tabindex,role:"combobox","aria-label":r.ariaLabel||(g.label==="p-emptylabel"?void 0:g.label),"aria-labelledby":r.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":p.overlayVisible,"aria-controls":p.id+"_list","aria-activedescendant":p.focused?g.focusedOptionId:void 0,"aria-disabled":r.disabled,onFocus:o[4]||(o[4]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[5]||(o[5]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onKeydown:o[6]||(o[6]=function(){return g.onKeyDown&&g.onKeyDown.apply(g,arguments)})},r.ptm("label")),[Nr(r.$slots,"value",{value:r.d_value,placeholder:r.placeholder},function(){var q;return[hb(Il(g.label==="p-emptylabel"?" ":(q=g.label)!==null&&q!==void 0?q:"empty"),1)]})],16,Xbn)),g.isClearIconVisible?Nr(r.$slots,"clearicon",{key:2,class:yo(r.cx("clearIcon")),clearCallback:g.onClearClick},function(){return[(ve(),Cn(ko(r.clearIcon?"i":"TimesIcon"),Qe({ref:"clearIcon",class:[r.cx("clearIcon"),r.clearIcon],onClick:g.onClearClick},r.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):rr("",!0),ar("div",Qe({class:r.cx("dropdown")},r.ptm("dropdown")),[r.loading?Nr(r.$slots,"loadingicon",{key:0,class:yo(r.cx("loadingIcon"))},function(){return[r.loadingIcon?(ve(),wt("span",Qe({key:0,class:[r.cx("loadingIcon"),"pi-spin",r.loadingIcon],"aria-hidden":"true"},r.ptm("loadingIcon")),null,16)):(ve(),Cn(w,Qe({key:1,class:r.cx("loadingIcon"),spin:"","aria-hidden":"true"},r.ptm("loadingIcon")),null,16,["class"]))]}):Nr(r.$slots,"dropdownicon",{key:1,class:yo(r.cx("dropdownIcon"))},function(){return[(ve(),Cn(ko(r.dropdownIcon?"span":"ChevronDownIcon"),Qe({class:[r.cx("dropdownIcon"),r.dropdownIcon],"aria-hidden":"true"},r.ptm("dropdownIcon")),null,16,["class"]))]})],16),ai(j,{appendTo:r.appendTo},{default:ui(function(){return[ai(Wre,Qe({name:"p-connected-overlay",onEnter:g.onOverlayEnter,onAfterEnter:g.onOverlayAfterEnter,onLeave:g.onOverlayLeave,onAfterLeave:g.onOverlayAfterLeave},r.ptm("transition")),{default:ui(function(){return[p.overlayVisible?(ve(),wt("div",Qe({key:0,ref:g.overlayRef,class:[r.cx("overlay"),r.panelClass,r.overlayClass],style:[r.panelStyle,r.overlayStyle],onClick:o[9]||(o[9]=function(){return g.onOverlayClick&&g.onOverlayClick.apply(g,arguments)}),onKeydown:o[10]||(o[10]=function(){return g.onOverlayKeyDown&&g.onOverlayKeyDown.apply(g,arguments)})},r.ptm("overlay")),[ar("span",Qe({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:o[7]||(o[7]=function(){return g.onFirstHiddenFocus&&g.onFirstHiddenFocus.apply(g,arguments)})},r.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),Nr(r.$slots,"header",{value:r.d_value,options:g.visibleOptions}),r.filter?(ve(),wt("div",Qe({key:0,class:r.cx("header")},r.ptm("header")),[ai(I,{unstyled:r.unstyled,pt:r.ptm("pcFilterContainer")},{default:ui(function(){return[ai(y,{ref:"filterInput",type:"text",value:p.filterValue,onVnodeMounted:g.onFilterUpdated,onVnodeUpdated:g.onFilterUpdated,class:yo(r.cx("pcFilter")),placeholder:r.filterPlaceholder,variant:r.variant,unstyled:r.unstyled,role:"searchbox",autocomplete:"off","aria-owns":p.id+"_list","aria-activedescendant":g.focusedOptionId,onKeydown:g.onFilterKeyDown,onBlur:g.onFilterBlur,onInput:g.onFilterChange,pt:r.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),ai(E,{unstyled:r.unstyled,pt:r.ptm("pcFilterIconContainer")},{default:ui(function(){return[Nr(r.$slots,"filtericon",{},function(){return[r.filterIcon?(ve(),wt("span",Qe({key:0,class:r.filterIcon},r.ptm("filterIcon")),null,16)):(ve(),Cn(S,m_(Qe({key:1},r.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),ar("span",Qe({role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),Il(g.filterResultMessageText),17)],16)):rr("",!0),ar("div",Qe({class:r.cx("listContainer"),style:{"max-height":g.virtualScrollerDisabled?r.scrollHeight:""}},r.ptm("listContainer")),[ai(R,Qe({ref:g.virtualScrollerRef},r.virtualScrollerOptions,{items:g.visibleOptions,style:{height:r.scrollHeight},tabindex:-1,disabled:g.virtualScrollerDisabled,pt:r.ptm("virtualScroller")}),oz({content:ui(function(q){var Q=q.styleClass,Z=q.contentRef,X=q.items,ie=q.getItemOptions,je=q.contentStyle,et=q.itemSize;return[ar("ul",Qe({ref:function(bt){return g.listRef(bt,Z)},id:p.id+"_list",class:[r.cx("list"),Q],style:je,role:"listbox"},r.ptm("list")),[(ve(!0),wt(si,null,Mu(X,function(mt,bt){return ve(),wt(si,{key:g.getOptionRenderKey(mt,g.getOptionIndex(bt,ie))},[g.isOptionGroup(mt)?(ve(),wt("li",Qe({key:0,id:p.id+"_"+g.getOptionIndex(bt,ie),style:{height:et?et+"px":void 0},class:r.cx("optionGroup"),role:"option",ref_for:!0},r.ptm("optionGroup")),[Nr(r.$slots,"optiongroup",{option:mt.optionGroup,index:g.getOptionIndex(bt,ie)},function(){return[ar("span",Qe({class:r.cx("optionGroupLabel"),ref_for:!0},r.ptm("optionGroupLabel")),Il(g.getOptionGroupLabel(mt.optionGroup)),17)]})],16,Jbn)):dy((ve(),wt("li",Qe({key:1,id:p.id+"_"+g.getOptionIndex(bt,ie),class:r.cx("option",{option:mt,focusedOption:g.getOptionIndex(bt,ie)}),style:{height:et?et+"px":void 0},role:"option","aria-label":g.getOptionLabel(mt),"aria-selected":g.isSelected(mt),"aria-disabled":g.isOptionDisabled(mt),"aria-setsize":g.ariaSetSize,"aria-posinset":g.getAriaPosInset(g.getOptionIndex(bt,ie)),onClick:function(Be){return g.onOptionSelect(Be,mt)},onMousemove:function(Be){return g.onOptionMouseMove(Be,g.getOptionIndex(bt,ie))},"data-p-selected":g.isSelected(mt),"data-p-focused":p.focusedOptionIndex===g.getOptionIndex(bt,ie),"data-p-disabled":g.isOptionDisabled(mt),ref_for:!0},g.getPTItemOptions(mt,ie,bt,"option")),[r.checkmark?(ve(),wt(si,{key:0},[g.isSelected(mt)?(ve(),Cn(M,Qe({key:0,class:r.cx("optionCheckIcon"),ref_for:!0},r.ptm("optionCheckIcon")),null,16,["class"])):(ve(),Cn(_,Qe({key:1,class:r.cx("optionBlankIcon"),ref_for:!0},r.ptm("optionBlankIcon")),null,16,["class"]))],64)):rr("",!0),Nr(r.$slots,"option",{option:mt,selected:g.isSelected(mt),index:g.getOptionIndex(bt,ie)},function(){return[ar("span",Qe({class:r.cx("optionLabel"),ref_for:!0},r.ptm("optionLabel")),Il(g.getOptionLabel(mt)),17)]})],16,Qbn)),[[K]])],64)}),128)),p.filterValue&&(!X||X&&X.length===0)?(ve(),wt("li",Qe({key:0,class:r.cx("emptyMessage"),role:"option"},r.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Nr(r.$slots,"emptyfilter",{},function(){return[hb(Il(g.emptyFilterMessageText),1)]})],16)):!r.options||r.options&&r.options.length===0?(ve(),wt("li",Qe({key:1,class:r.cx("emptyMessage"),role:"option"},r.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Nr(r.$slots,"empty",{},function(){return[hb(Il(g.emptyMessageText),1)]})],16)):rr("",!0)],16,Ybn)]}),_:2},[r.$slots.loader?{name:"loader",fn:ui(function(q){var Q=q.options;return[Nr(r.$slots,"loader",{options:Q})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),Nr(r.$slots,"footer",{value:r.d_value,options:g.visibleOptions}),!r.options||r.options&&r.options.length===0?(ve(),wt("span",Qe({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),Il(g.emptyMessageText),17)):rr("",!0),ar("span",Qe({role:"status","aria-live":"polite",class:"p-hidden-accessible"},r.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),Il(g.selectedMessageText),17),ar("span",Qe({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:o[8]||(o[8]=function(){return g.onLastHiddenFocus&&g.onLastHiddenFocus.apply(g,arguments)})},r.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):rr("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,Vbn)}kH.render=Zbn;var R9t={name:"WindowMaximizeIcon",extends:su};function ewn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}R9t.render=ewn;var A9t={name:"WindowMinimizeIcon",extends:su};function twn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}A9t.render=twn;var nwn=vs.extend({name:"focustrap-directive"}),rwn=Fs.extend({style:nwn});function Cz(r){"@babel/helpers - typeof";return Cz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Cz(r)}function a5t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function f5t(r){for(var o=1;o=o.minX&&S+a=o.minY&&E+p0){document.getElementsByTagName("link");const w=document.querySelector("meta[property=csp-nonce]"),y=(w==null?void 0:w.nonce)||(w==null?void 0:w.getAttribute("nonce"));p=Promise.allSettled(l.map(S=>{if(S=Cwn(S),S in g5t)return;g5t[S]=!0;const E=S.endsWith(".css"),I=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${I}`))return;const M=document.createElement("link");if(M.rel=E?"stylesheet":kwn,E||(M.as="script"),M.crossOrigin="",M.href=S,y&&M.setAttribute("nonce",y),document.head.appendChild(M),E)return new Promise((_,R)=>{M.addEventListener("load",_),M.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${S}`)))})}))}function g(w){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=w,window.dispatchEvent(y),!y.defaultPrevented)throw w}return p.then(w=>{for(const y of w||[])y.status==="rejected"&&g(y.reason);return o().catch(g)})},Swn=(r,o,l,a)=>{if(l==="length"||l==="prototype"||l==="arguments"||l==="caller")return;const p=Object.getOwnPropertyDescriptor(r,l),g=Object.getOwnPropertyDescriptor(o,l);!xwn(p,g)&&a||Object.defineProperty(r,l,g)},xwn=function(r,o){return r===void 0||r.configurable||r.writable===o.writable&&r.enumerable===o.enumerable&&r.configurable===o.configurable&&(r.writable||r.value===o.value)},Ewn=(r,o)=>{const l=Object.getPrototypeOf(o);l!==Object.getPrototypeOf(r)&&Object.setPrototypeOf(r,l)},Twn=(r,o)=>`/* Wrapped ${r}*/ +${o}`,Iwn=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),Pwn=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),Mwn=(r,o,l)=>{const a=l===""?"":`with ${l.trim()}() `,p=Twn.bind(null,a,o.toString());Object.defineProperty(p,"name",Pwn),Object.defineProperty(r,"toString",{...Iwn,value:p})};function Own(r,o,{ignoreNonConfigurable:l=!1}={}){const{name:a}=r;for(const p of Reflect.ownKeys(o))Swn(r,o,p,l);return Ewn(r,o),Mwn(r,o,a),r}const nre=new WeakMap,F9t=(r,o={})=>{if(typeof r!="function")throw new TypeError("Expected a function");let l,a=0;const p=r.displayName||r.name||"",g=function(...w){if(nre.set(g,++a),a===1)l=r.apply(this,w),r=null;else if(o.throw===!0)throw new Error(`Function \`${p}\` can only be called once`);return l};return Own(g,r),nre.set(g,a),g};F9t.callCount=r=>{if(!nre.has(r))throw new Error(`The given function \`${r.name}\` is not wrapped by the \`onetime\` package`);return nre.get(r)};var _wn=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function _3(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Rwn(r){if(r.__esModule)return r;var o=r.default;if(typeof o=="function"){var l=function a(){return this instanceof a?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};l.prototype=o.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var p=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(l,a,p.get?p:{enumerable:!0,get:function(){return r[a]}})}),l}var z9t={exports:{}},Y8e={exports:{}},dm={},Qre={};Qre.byteLength=$wn;Qre.toByteArray=Dwn;Qre.fromByteArray=Fwn;var b3=[],Zw=[],Awn=typeof Uint8Array<"u"?Uint8Array:Array,J8e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var jO=0,Lwn=J8e.length;jO0)throw new Error("Invalid string. Length must be a multiple of 4");var l=r.indexOf("=");l===-1&&(l=o);var a=l===o?0:4-l%4;return[l,a]}function $wn(r){var o=H9t(r),l=o[0],a=o[1];return(l+a)*3/4-a}function jwn(r,o,l){return(o+l)*3/4-l}function Dwn(r){var o,l=H9t(r),a=l[0],p=l[1],g=new Awn(jwn(r,a,p)),w=0,y=p>0?a-4:a,S;for(S=0;S>16&255,g[w++]=o>>8&255,g[w++]=o&255;return p===2&&(o=Zw[r.charCodeAt(S)]<<2|Zw[r.charCodeAt(S+1)]>>4,g[w++]=o&255),p===1&&(o=Zw[r.charCodeAt(S)]<<10|Zw[r.charCodeAt(S+1)]<<4|Zw[r.charCodeAt(S+2)]>>2,g[w++]=o>>8&255,g[w++]=o&255),g}function Nwn(r){return b3[r>>18&63]+b3[r>>12&63]+b3[r>>6&63]+b3[r&63]}function Bwn(r,o,l){for(var a,p=[],g=o;gy?y:w+g));return a===1?(o=r[l-1],p.push(b3[o>>2]+b3[o<<4&63]+"==")):a===2&&(o=(r[l-2]<<8)+r[l-1],p.push(b3[o>>10]+b3[o>>4&63]+b3[o<<2&63]+"=")),p.join("")}var d9e={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */d9e.read=function(r,o,l,a,p){var g,w,y=p*8-a-1,S=(1<>1,I=-7,M=l?p-1:0,_=l?-1:1,R=r[o+M];for(M+=_,g=R&(1<<-I)-1,R>>=-I,I+=y;I>0;g=g*256+r[o+M],M+=_,I-=8);for(w=g&(1<<-I)-1,g>>=-I,I+=a;I>0;w=w*256+r[o+M],M+=_,I-=8);if(g===0)g=1-E;else{if(g===S)return w?NaN:(R?-1:1)*(1/0);w=w+Math.pow(2,a),g=g-E}return(R?-1:1)*w*Math.pow(2,g-a)};d9e.write=function(r,o,l,a,p,g){var w,y,S,E=g*8-p-1,I=(1<>1,_=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=a?0:g-1,j=a?1:-1,K=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(y=isNaN(o)?1:0,w=I):(w=Math.floor(Math.log(o)/Math.LN2),o*(S=Math.pow(2,-w))<1&&(w--,S*=2),w+M>=1?o+=_/S:o+=_*Math.pow(2,1-M),o*S>=2&&(w++,S/=2),w+M>=I?(y=0,w=I):w+M>=1?(y=(o*S-1)*Math.pow(2,p),w=w+M):(y=o*Math.pow(2,M-1)*Math.pow(2,p),w=0));p>=8;r[l+R]=y&255,R+=j,y/=256,p-=8);for(w=w<0;r[l+R]=w&255,R+=j,w/=256,E-=8);r[l+R-j]|=K*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(r){const o=Qre,l=d9e,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=y,r.SlowBuffer=Z,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,y.TYPED_ARRAY_SUPPORT=g(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function g(){try{const de=new Uint8Array(1),G={foo:function(){return 42}};return Object.setPrototypeOf(G,Uint8Array.prototype),Object.setPrototypeOf(de,G),de.foo()===42}catch{return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}});function w(de){if(de>p)throw new RangeError('The value "'+de+'" is invalid for option "size"');const G=new Uint8Array(de);return Object.setPrototypeOf(G,y.prototype),G}function y(de,G,Y){if(typeof de=="number"){if(typeof G=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return M(de)}return S(de,G,Y)}y.poolSize=8192;function S(de,G,Y){if(typeof de=="string")return _(de,G);if(ArrayBuffer.isView(de))return j(de);if(de==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de);if(Ct(de,ArrayBuffer)||de&&Ct(de.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ct(de,SharedArrayBuffer)||de&&Ct(de.buffer,SharedArrayBuffer)))return K(de,G,Y);if(typeof de=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const De=de.valueOf&&de.valueOf();if(De!=null&&De!==de)return y.from(De,G,Y);const gt=q(de);if(gt)return gt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof de[Symbol.toPrimitive]=="function")return y.from(de[Symbol.toPrimitive]("string"),G,Y);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de)}y.from=function(de,G,Y){return S(de,G,Y)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array);function E(de){if(typeof de!="number")throw new TypeError('"size" argument must be of type number');if(de<0)throw new RangeError('The value "'+de+'" is invalid for option "size"')}function I(de,G,Y){return E(de),de<=0?w(de):G!==void 0?typeof Y=="string"?w(de).fill(G,Y):w(de).fill(G):w(de)}y.alloc=function(de,G,Y){return I(de,G,Y)};function M(de){return E(de),w(de<0?0:Q(de)|0)}y.allocUnsafe=function(de){return M(de)},y.allocUnsafeSlow=function(de){return M(de)};function _(de,G){if((typeof G!="string"||G==="")&&(G="utf8"),!y.isEncoding(G))throw new TypeError("Unknown encoding: "+G);const Y=X(de,G)|0;let De=w(Y);const gt=De.write(de,G);return gt!==Y&&(De=De.slice(0,gt)),De}function R(de){const G=de.length<0?0:Q(de.length)|0,Y=w(G);for(let De=0;De=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return de|0}function Z(de){return+de!=de&&(de=0),y.alloc(+de)}y.isBuffer=function(G){return G!=null&&G._isBuffer===!0&&G!==y.prototype},y.compare=function(G,Y){if(Ct(G,Uint8Array)&&(G=y.from(G,G.offset,G.byteLength)),Ct(Y,Uint8Array)&&(Y=y.from(Y,Y.offset,Y.byteLength)),!y.isBuffer(G)||!y.isBuffer(Y))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(G===Y)return 0;let De=G.length,gt=Y.length;for(let Kt=0,Ut=Math.min(De,gt);Ktgt.length?(y.isBuffer(Ut)||(Ut=y.from(Ut)),Ut.copy(gt,Kt)):Uint8Array.prototype.set.call(gt,Ut,Kt);else if(y.isBuffer(Ut))Ut.copy(gt,Kt);else throw new TypeError('"list" argument must be an Array of Buffers');Kt+=Ut.length}return gt};function X(de,G){if(y.isBuffer(de))return de.length;if(ArrayBuffer.isView(de)||Ct(de,ArrayBuffer))return de.byteLength;if(typeof de!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof de);const Y=de.length,De=arguments.length>2&&arguments[2]===!0;if(!De&&Y===0)return 0;let gt=!1;for(;;)switch(G){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return ge(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y*2;case"hex":return Y>>>1;case"base64":return Lt(de).length;default:if(gt)return De?-1:ge(de).length;G=(""+G).toLowerCase(),gt=!0}}y.byteLength=X;function ie(de,G,Y){let De=!1;if((G===void 0||G<0)&&(G=0),G>this.length||((Y===void 0||Y>this.length)&&(Y=this.length),Y<=0)||(Y>>>=0,G>>>=0,Y<=G))return"";for(de||(de="utf8");;)switch(de){case"hex":return un(this,G,Y);case"utf8":case"utf-8":return He(this,G,Y);case"ascii":return At(this,G,Y);case"latin1":case"binary":return Jt(this,G,Y);case"base64":return U(this,G,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kn(this,G,Y);default:if(De)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),De=!0}}y.prototype._isBuffer=!0;function je(de,G,Y){const De=de[G];de[G]=de[Y],de[Y]=De}y.prototype.swap16=function(){const G=this.length;if(G%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Y=0;YY&&(G+=" ... "),""},a&&(y.prototype[a]=y.prototype.inspect),y.prototype.compare=function(G,Y,De,gt,Kt){if(Ct(G,Uint8Array)&&(G=y.from(G,G.offset,G.byteLength)),!y.isBuffer(G))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof G);if(Y===void 0&&(Y=0),De===void 0&&(De=G?G.length:0),gt===void 0&&(gt=0),Kt===void 0&&(Kt=this.length),Y<0||De>G.length||gt<0||Kt>this.length)throw new RangeError("out of range index");if(gt>=Kt&&Y>=De)return 0;if(gt>=Kt)return-1;if(Y>=De)return 1;if(Y>>>=0,De>>>=0,gt>>>=0,Kt>>>=0,this===G)return 0;let Ut=Kt-gt,so=De-Y;const rl=Math.min(Ut,so),Ro=this.slice(gt,Kt),Ao=G.slice(Y,De);for(let zs=0;zs2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),Y=+Y,Kn(Y)&&(Y=gt?0:de.length-1),Y<0&&(Y=de.length+Y),Y>=de.length){if(gt)return-1;Y=de.length-1}else if(Y<0)if(gt)Y=0;else return-1;if(typeof G=="string"&&(G=y.from(G,De)),y.isBuffer(G))return G.length===0?-1:mt(de,G,Y,De,gt);if(typeof G=="number")return G=G&255,typeof Uint8Array.prototype.indexOf=="function"?gt?Uint8Array.prototype.indexOf.call(de,G,Y):Uint8Array.prototype.lastIndexOf.call(de,G,Y):mt(de,[G],Y,De,gt);throw new TypeError("val must be string, number or Buffer")}function mt(de,G,Y,De,gt){let Kt=1,Ut=de.length,so=G.length;if(De!==void 0&&(De=String(De).toLowerCase(),De==="ucs2"||De==="ucs-2"||De==="utf16le"||De==="utf-16le")){if(de.length<2||G.length<2)return-1;Kt=2,Ut/=2,so/=2,Y/=2}function rl(Ao,zs){return Kt===1?Ao[zs]:Ao.readUInt16BE(zs*Kt)}let Ro;if(gt){let Ao=-1;for(Ro=Y;RoUt&&(Y=Ut-so),Ro=Y;Ro>=0;Ro--){let Ao=!0;for(let zs=0;zsgt&&(De=gt)):De=gt;const Kt=G.length;De>Kt/2&&(De=Kt/2);let Ut;for(Ut=0;Ut>>0,isFinite(De)?(De=De>>>0,gt===void 0&&(gt="utf8")):(gt=De,De=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Kt=this.length-Y;if((De===void 0||De>Kt)&&(De=Kt),G.length>0&&(De<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");gt||(gt="utf8");let Ut=!1;for(;;)switch(gt){case"hex":return bt(this,G,Y,De);case"utf8":case"utf-8":return ce(this,G,Y,De);case"ascii":case"latin1":case"binary":return Be(this,G,Y,De);case"base64":return ae(this,G,Y,De);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,G,Y,De);default:if(Ut)throw new TypeError("Unknown encoding: "+gt);gt=(""+gt).toLowerCase(),Ut=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(de,G,Y){return G===0&&Y===de.length?o.fromByteArray(de):o.fromByteArray(de.slice(G,Y))}function He(de,G,Y){Y=Math.min(de.length,Y);const De=[];let gt=G;for(;gt239?4:Kt>223?3:Kt>191?2:1;if(gt+so<=Y){let rl,Ro,Ao,zs;switch(so){case 1:Kt<128&&(Ut=Kt);break;case 2:rl=de[gt+1],(rl&192)===128&&(zs=(Kt&31)<<6|rl&63,zs>127&&(Ut=zs));break;case 3:rl=de[gt+1],Ro=de[gt+2],(rl&192)===128&&(Ro&192)===128&&(zs=(Kt&15)<<12|(rl&63)<<6|Ro&63,zs>2047&&(zs<55296||zs>57343)&&(Ut=zs));break;case 4:rl=de[gt+1],Ro=de[gt+2],Ao=de[gt+3],(rl&192)===128&&(Ro&192)===128&&(Ao&192)===128&&(zs=(Kt&15)<<18|(rl&63)<<12|(Ro&63)<<6|Ao&63,zs>65535&&zs<1114112&&(Ut=zs))}}Ut===null?(Ut=65533,so=1):Ut>65535&&(Ut-=65536,De.push(Ut>>>10&1023|55296),Ut=56320|Ut&1023),De.push(Ut),gt+=so}return ft(De)}const yt=4096;function ft(de){const G=de.length;if(G<=yt)return String.fromCharCode.apply(String,de);let Y="",De=0;for(;DeDe)&&(Y=De);let gt="";for(let Kt=G;KtDe&&(G=De),Y<0?(Y+=De,Y<0&&(Y=0)):Y>De&&(Y=De),YY)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(G,Y,De){G=G>>>0,Y=Y>>>0,De||qt(G,Y,this.length);let gt=this[G],Kt=1,Ut=0;for(;++Ut>>0,Y=Y>>>0,De||qt(G,Y,this.length);let gt=this[G+--Y],Kt=1;for(;Y>0&&(Kt*=256);)gt+=this[G+--Y]*Kt;return gt},y.prototype.readUint8=y.prototype.readUInt8=function(G,Y){return G=G>>>0,Y||qt(G,1,this.length),this[G]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(G,Y){return G=G>>>0,Y||qt(G,2,this.length),this[G]|this[G+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(G,Y){return G=G>>>0,Y||qt(G,2,this.length),this[G]<<8|this[G+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(G,Y){return G=G>>>0,Y||qt(G,4,this.length),(this[G]|this[G+1]<<8|this[G+2]<<16)+this[G+3]*16777216},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(G,Y){return G=G>>>0,Y||qt(G,4,this.length),this[G]*16777216+(this[G+1]<<16|this[G+2]<<8|this[G+3])},y.prototype.readBigUInt64LE=Rn(function(G){G=G>>>0,ee(G,"offset");const Y=this[G],De=this[G+7];(Y===void 0||De===void 0)&&V(G,this.length-8);const gt=Y+this[++G]*2**8+this[++G]*2**16+this[++G]*2**24,Kt=this[++G]+this[++G]*2**8+this[++G]*2**16+De*2**24;return BigInt(gt)+(BigInt(Kt)<>>0,ee(G,"offset");const Y=this[G],De=this[G+7];(Y===void 0||De===void 0)&&V(G,this.length-8);const gt=Y*2**24+this[++G]*2**16+this[++G]*2**8+this[++G],Kt=this[++G]*2**24+this[++G]*2**16+this[++G]*2**8+De;return(BigInt(gt)<>>0,Y=Y>>>0,De||qt(G,Y,this.length);let gt=this[G],Kt=1,Ut=0;for(;++Ut=Kt&&(gt-=Math.pow(2,8*Y)),gt},y.prototype.readIntBE=function(G,Y,De){G=G>>>0,Y=Y>>>0,De||qt(G,Y,this.length);let gt=Y,Kt=1,Ut=this[G+--gt];for(;gt>0&&(Kt*=256);)Ut+=this[G+--gt]*Kt;return Kt*=128,Ut>=Kt&&(Ut-=Math.pow(2,8*Y)),Ut},y.prototype.readInt8=function(G,Y){return G=G>>>0,Y||qt(G,1,this.length),this[G]&128?(255-this[G]+1)*-1:this[G]},y.prototype.readInt16LE=function(G,Y){G=G>>>0,Y||qt(G,2,this.length);const De=this[G]|this[G+1]<<8;return De&32768?De|4294901760:De},y.prototype.readInt16BE=function(G,Y){G=G>>>0,Y||qt(G,2,this.length);const De=this[G+1]|this[G]<<8;return De&32768?De|4294901760:De},y.prototype.readInt32LE=function(G,Y){return G=G>>>0,Y||qt(G,4,this.length),this[G]|this[G+1]<<8|this[G+2]<<16|this[G+3]<<24},y.prototype.readInt32BE=function(G,Y){return G=G>>>0,Y||qt(G,4,this.length),this[G]<<24|this[G+1]<<16|this[G+2]<<8|this[G+3]},y.prototype.readBigInt64LE=Rn(function(G){G=G>>>0,ee(G,"offset");const Y=this[G],De=this[G+7];(Y===void 0||De===void 0)&&V(G,this.length-8);const gt=this[G+4]+this[G+5]*2**8+this[G+6]*2**16+(De<<24);return(BigInt(gt)<>>0,ee(G,"offset");const Y=this[G],De=this[G+7];(Y===void 0||De===void 0)&&V(G,this.length-8);const gt=(Y<<24)+this[++G]*2**16+this[++G]*2**8+this[++G];return(BigInt(gt)<>>0,Y||qt(G,4,this.length),l.read(this,G,!0,23,4)},y.prototype.readFloatBE=function(G,Y){return G=G>>>0,Y||qt(G,4,this.length),l.read(this,G,!1,23,4)},y.prototype.readDoubleLE=function(G,Y){return G=G>>>0,Y||qt(G,8,this.length),l.read(this,G,!0,52,8)},y.prototype.readDoubleBE=function(G,Y){return G=G>>>0,Y||qt(G,8,this.length),l.read(this,G,!1,52,8)};function on(de,G,Y,De,gt,Kt){if(!y.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(G>gt||Gde.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(G,Y,De,gt){if(G=+G,Y=Y>>>0,De=De>>>0,!gt){const so=Math.pow(2,8*De)-1;on(this,G,Y,De,so,0)}let Kt=1,Ut=0;for(this[Y]=G&255;++Ut>>0,De=De>>>0,!gt){const so=Math.pow(2,8*De)-1;on(this,G,Y,De,so,0)}let Kt=De-1,Ut=1;for(this[Y+Kt]=G&255;--Kt>=0&&(Ut*=256);)this[Y+Kt]=G/Ut&255;return Y+De},y.prototype.writeUint8=y.prototype.writeUInt8=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,1,255,0),this[Y]=G&255,Y+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,2,65535,0),this[Y]=G&255,this[Y+1]=G>>>8,Y+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,2,65535,0),this[Y]=G>>>8,this[Y+1]=G&255,Y+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,4,4294967295,0),this[Y+3]=G>>>24,this[Y+2]=G>>>16,this[Y+1]=G>>>8,this[Y]=G&255,Y+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,4,4294967295,0),this[Y]=G>>>24,this[Y+1]=G>>>16,this[Y+2]=G>>>8,this[Y+3]=G&255,Y+4};function Rt(de,G,Y,De,gt){Ce(G,De,gt,de,Y,7);let Kt=Number(G&BigInt(4294967295));de[Y++]=Kt,Kt=Kt>>8,de[Y++]=Kt,Kt=Kt>>8,de[Y++]=Kt,Kt=Kt>>8,de[Y++]=Kt;let Ut=Number(G>>BigInt(32)&BigInt(4294967295));return de[Y++]=Ut,Ut=Ut>>8,de[Y++]=Ut,Ut=Ut>>8,de[Y++]=Ut,Ut=Ut>>8,de[Y++]=Ut,Y}function an(de,G,Y,De,gt){Ce(G,De,gt,de,Y,7);let Kt=Number(G&BigInt(4294967295));de[Y+7]=Kt,Kt=Kt>>8,de[Y+6]=Kt,Kt=Kt>>8,de[Y+5]=Kt,Kt=Kt>>8,de[Y+4]=Kt;let Ut=Number(G>>BigInt(32)&BigInt(4294967295));return de[Y+3]=Ut,Ut=Ut>>8,de[Y+2]=Ut,Ut=Ut>>8,de[Y+1]=Ut,Ut=Ut>>8,de[Y]=Ut,Y+8}y.prototype.writeBigUInt64LE=Rn(function(G,Y=0){return Rt(this,G,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=Rn(function(G,Y=0){return an(this,G,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(G,Y,De,gt){if(G=+G,Y=Y>>>0,!gt){const rl=Math.pow(2,8*De-1);on(this,G,Y,De,rl-1,-rl)}let Kt=0,Ut=1,so=0;for(this[Y]=G&255;++Kt>0)-so&255;return Y+De},y.prototype.writeIntBE=function(G,Y,De,gt){if(G=+G,Y=Y>>>0,!gt){const rl=Math.pow(2,8*De-1);on(this,G,Y,De,rl-1,-rl)}let Kt=De-1,Ut=1,so=0;for(this[Y+Kt]=G&255;--Kt>=0&&(Ut*=256);)G<0&&so===0&&this[Y+Kt+1]!==0&&(so=1),this[Y+Kt]=(G/Ut>>0)-so&255;return Y+De},y.prototype.writeInt8=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,1,127,-128),G<0&&(G=255+G+1),this[Y]=G&255,Y+1},y.prototype.writeInt16LE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,2,32767,-32768),this[Y]=G&255,this[Y+1]=G>>>8,Y+2},y.prototype.writeInt16BE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,2,32767,-32768),this[Y]=G>>>8,this[Y+1]=G&255,Y+2},y.prototype.writeInt32LE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,4,2147483647,-2147483648),this[Y]=G&255,this[Y+1]=G>>>8,this[Y+2]=G>>>16,this[Y+3]=G>>>24,Y+4},y.prototype.writeInt32BE=function(G,Y,De){return G=+G,Y=Y>>>0,De||on(this,G,Y,4,2147483647,-2147483648),G<0&&(G=4294967295+G+1),this[Y]=G>>>24,this[Y+1]=G>>>16,this[Y+2]=G>>>8,this[Y+3]=G&255,Y+4},y.prototype.writeBigInt64LE=Rn(function(G,Y=0){return Rt(this,G,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=Rn(function(G,Y=0){return an(this,G,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Zn(de,G,Y,De,gt,Kt){if(Y+De>de.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function kt(de,G,Y,De,gt){return G=+G,Y=Y>>>0,gt||Zn(de,G,Y,4),l.write(de,G,Y,De,23,4),Y+4}y.prototype.writeFloatLE=function(G,Y,De){return kt(this,G,Y,!0,De)},y.prototype.writeFloatBE=function(G,Y,De){return kt(this,G,Y,!1,De)};function Ze(de,G,Y,De,gt){return G=+G,Y=Y>>>0,gt||Zn(de,G,Y,8),l.write(de,G,Y,De,52,8),Y+8}y.prototype.writeDoubleLE=function(G,Y,De){return Ze(this,G,Y,!0,De)},y.prototype.writeDoubleBE=function(G,Y,De){return Ze(this,G,Y,!1,De)},y.prototype.copy=function(G,Y,De,gt){if(!y.isBuffer(G))throw new TypeError("argument should be a Buffer");if(De||(De=0),!gt&>!==0&&(gt=this.length),Y>=G.length&&(Y=G.length),Y||(Y=0),gt>0&>=this.length)throw new RangeError("Index out of range");if(gt<0)throw new RangeError("sourceEnd out of bounds");gt>this.length&&(gt=this.length),G.length-Y>>0,De=De===void 0?this.length:De>>>0,G||(G=0);let Kt;if(typeof G=="number")for(Kt=Y;Kt2**32?gt=pr(String(Y)):typeof Y=="bigint"&&(gt=String(Y),(Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))&&(gt=pr(gt)),gt+="n"),De+=` It must be ${G}. Received ${gt}`,De},RangeError);function pr(de){let G="",Y=de.length;const De=de[0]==="-"?1:0;for(;Y>=De+4;Y-=3)G=`_${de.slice(Y-3,Y)}${G}`;return`${de.slice(0,Y)}${G}`}function ye(de,G,Y){ee(G,"offset"),(de[G]===void 0||de[G+Y]===void 0)&&V(G,de.length-(Y+1))}function Ce(de,G,Y,De,gt,Kt){if(de>Y||de= 0${Ut} and < 2${Ut} ** ${(Kt+1)*8}${Ut}`:so=`>= -(2${Ut} ** ${(Kt+1)*8-1}${Ut}) and < 2 ** ${(Kt+1)*8-1}${Ut}`,new Xt.ERR_OUT_OF_RANGE("value",so,de)}ye(De,gt,Kt)}function ee(de,G){if(typeof de!="number")throw new Xt.ERR_INVALID_ARG_TYPE(G,"number",de)}function V(de,G,Y){throw Math.floor(de)!==de?(ee(de,Y),new Xt.ERR_OUT_OF_RANGE("offset","an integer",de)):G<0?new Xt.ERR_BUFFER_OUT_OF_BOUNDS:new Xt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${G}`,de)}const oe=/[^+/0-9A-Za-z-_]/g;function ue(de){if(de=de.split("=")[0],de=de.trim().replace(oe,""),de.length<2)return"";for(;de.length%4!==0;)de=de+"=";return de}function ge(de,G){G=G||1/0;let Y;const De=de.length;let gt=null;const Kt=[];for(let Ut=0;Ut55295&&Y<57344){if(!gt){if(Y>56319){(G-=3)>-1&&Kt.push(239,191,189);continue}else if(Ut+1===De){(G-=3)>-1&&Kt.push(239,191,189);continue}gt=Y;continue}if(Y<56320){(G-=3)>-1&&Kt.push(239,191,189),gt=Y;continue}Y=(gt-55296<<10|Y-56320)+65536}else gt&&(G-=3)>-1&&Kt.push(239,191,189);if(gt=null,Y<128){if((G-=1)<0)break;Kt.push(Y)}else if(Y<2048){if((G-=2)<0)break;Kt.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((G-=3)<0)break;Kt.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((G-=4)<0)break;Kt.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw new Error("Invalid code point")}return Kt}function Ge(de){const G=[];for(let Y=0;Y>8,gt=Y%256,Kt.push(gt),Kt.push(De);return Kt}function Lt(de){return o.toByteArray(ue(de))}function tn(de,G,Y,De){let gt;for(gt=0;gt=G.length||gt>=de.length);++gt)G[gt+Y]=de[gt];return gt}function Ct(de,G){return de instanceof G||de!=null&&de.constructor!=null&&de.constructor.name!=null&&de.constructor.name===G.name}function Kn(de){return de!==de}const dn=function(){const de="0123456789abcdef",G=new Array(256);for(let Y=0;Y<16;++Y){const De=Y*16;for(let gt=0;gt<16;++gt)G[De+gt]=de[Y]+de[gt]}return G}();function Rn(de){return typeof BigInt>"u"?br:de}function br(){throw new Error("BigInt not supported")}})(dm);var qa={ArrayIsArray(r){return Array.isArray(r)},ArrayPrototypeIncludes(r,o){return r.includes(o)},ArrayPrototypeIndexOf(r,o){return r.indexOf(o)},ArrayPrototypeJoin(r,o){return r.join(o)},ArrayPrototypeMap(r,o){return r.map(o)},ArrayPrototypePop(r,o){return r.pop(o)},ArrayPrototypePush(r,o){return r.push(o)},ArrayPrototypeSlice(r,o,l){return r.slice(o,l)},Error,FunctionPrototypeCall(r,o,...l){return r.call(o,...l)},FunctionPrototypeSymbolHasInstance(r,o){return Function.prototype[Symbol.hasInstance].call(r,o)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(r,o){return Object.defineProperties(r,o)},ObjectDefineProperty(r,o,l){return Object.defineProperty(r,o,l)},ObjectGetOwnPropertyDescriptor(r,o){return Object.getOwnPropertyDescriptor(r,o)},ObjectKeys(r){return Object.keys(r)},ObjectSetPrototypeOf(r,o){return Object.setPrototypeOf(r,o)},Promise,PromisePrototypeCatch(r,o){return r.catch(o)},PromisePrototypeThen(r,o,l){return r.then(o,l)},PromiseReject(r){return Promise.reject(r)},PromiseResolve(r){return Promise.resolve(r)},ReflectApply:Reflect.apply,RegExpPrototypeTest(r,o){return r.test(o)},SafeSet:Set,String,StringPrototypeSlice(r,o,l){return r.slice(o,l)},StringPrototypeToLowerCase(r){return r.toLowerCase()},StringPrototypeToUpperCase(r){return r.toUpperCase()},StringPrototypeTrim(r){return r.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(r,o,l){return r.set(o,l)},Boolean,Uint8Array},K9t={exports:{}},aF={exports:{}},b5t;function xz(){if(b5t)return aF.exports;b5t=1;const{AbortController:r,AbortSignal:o}=typeof self<"u"?self:typeof window<"u"?window:void 0;return aF.exports=r,aF.exports.AbortSignal=o,aF.exports.default=r,aF.exports}var h9e={exports:{}},o_=typeof Reflect=="object"?Reflect:null,w5t=o_&&typeof o_.apply=="function"?o_.apply:function(o,l,a){return Function.prototype.apply.call(o,l,a)},xne;o_&&typeof o_.ownKeys=="function"?xne=o_.ownKeys:Object.getOwnPropertySymbols?xne=function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:xne=function(o){return Object.getOwnPropertyNames(o)};function zwn(r){console&&console.warn&&console.warn(r)}var U9t=Number.isNaN||function(o){return o!==o};function Gc(){Gc.init.call(this)}h9e.exports=Gc;h9e.exports.once=Gwn;Gc.EventEmitter=Gc;Gc.prototype._events=void 0;Gc.prototype._eventsCount=0;Gc.prototype._maxListeners=void 0;var m5t=10;function Zre(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(Gc,"defaultMaxListeners",{enumerable:!0,get:function(){return m5t},set:function(r){if(typeof r!="number"||r<0||U9t(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");m5t=r}});Gc.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Gc.prototype.setMaxListeners=function(o){if(typeof o!="number"||o<0||U9t(o))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+o+".");return this._maxListeners=o,this};function G9t(r){return r._maxListeners===void 0?Gc.defaultMaxListeners:r._maxListeners}Gc.prototype.getMaxListeners=function(){return G9t(this)};Gc.prototype.emit=function(o){for(var l=[],a=1;a0&&(w=l[0]),w instanceof Error)throw w;var y=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw y.context=w,y}var S=g[o];if(S===void 0)return!1;if(typeof S=="function")w5t(S,this,l);else for(var E=S.length,I=Y9t(S,E),a=0;a0&&w.length>p&&!w.warned){w.warned=!0;var y=new Error("Possible EventEmitter memory leak detected. "+w.length+" "+String(o)+" listeners added. Use emitter.setMaxListeners() to increase limit");y.name="MaxListenersExceededWarning",y.emitter=r,y.type=o,y.count=w.length,zwn(y)}return r}Gc.prototype.addListener=function(o,l){return W9t(this,o,l,!1)};Gc.prototype.on=Gc.prototype.addListener;Gc.prototype.prependListener=function(o,l){return W9t(this,o,l,!0)};function Hwn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function V9t(r,o,l){var a={fired:!1,wrapFn:void 0,target:r,type:o,listener:l},p=Hwn.bind(a);return p.listener=l,a.wrapFn=p,p}Gc.prototype.once=function(o,l){return Zre(l),this.on(o,V9t(this,o,l)),this};Gc.prototype.prependOnceListener=function(o,l){return Zre(l),this.prependListener(o,V9t(this,o,l)),this};Gc.prototype.removeListener=function(o,l){var a,p,g,w,y;if(Zre(l),p=this._events,p===void 0)return this;if(a=p[o],a===void 0)return this;if(a===l||a.listener===l)--this._eventsCount===0?this._events=Object.create(null):(delete p[o],p.removeListener&&this.emit("removeListener",o,a.listener||l));else if(typeof a!="function"){for(g=-1,w=a.length-1;w>=0;w--)if(a[w]===l||a[w].listener===l){y=a[w].listener,g=w;break}if(g<0)return this;g===0?a.shift():Kwn(a,g),a.length===1&&(p[o]=a[0]),p.removeListener!==void 0&&this.emit("removeListener",o,y||l)}return this};Gc.prototype.off=Gc.prototype.removeListener;Gc.prototype.removeAllListeners=function(o){var l,a,p;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[o]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[o]),this;if(arguments.length===0){var g=Object.keys(a),w;for(p=0;p=0;p--)this.removeListener(o,l[p]);return this};function q9t(r,o,l){var a=r._events;if(a===void 0)return[];var p=a[o];return p===void 0?[]:typeof p=="function"?l?[p.listener||p]:[p]:l?Uwn(p):Y9t(p,p.length)}Gc.prototype.listeners=function(o){return q9t(this,o,!0)};Gc.prototype.rawListeners=function(o){return q9t(this,o,!1)};Gc.listenerCount=function(r,o){return typeof r.listenerCount=="function"?r.listenerCount(o):X9t.call(r,o)};Gc.prototype.listenerCount=X9t;function X9t(r){var o=this._events;if(o!==void 0){var l=o[r];if(typeof l=="function")return 1;if(l!==void 0)return l.length}return 0}Gc.prototype.eventNames=function(){return this._eventsCount>0?xne(this._events):[]};function Y9t(r,o){for(var l=new Array(o),a=0;a{if(_!==void 0&&(_===null||typeof _!="object"||!("aborted"in _)))throw new ERR_INVALID_ARG_TYPE(R,"AbortSignal",_)},I=(_,R)=>{if(typeof _!="function")throw new ERR_INVALID_ARG_TYPE(R,"Function",_)};class M extends Error{constructor(R){if(!Array.isArray(R))throw new TypeError(`Expected input to be an Array, got ${typeof R}`);let j="";for(let K=0;K{_=K,R=q}),resolve:_,reject:R}},promisify(_){return new Promise((R,j)=>{_((K,...q)=>K?j(K):R(...q))})},debuglog(){return function(){}},format(_,...R){return _.replace(/%([sdifj])/g,function(...[j,K]){const q=R.shift();return K==="f"?q.toFixed(6):K==="j"?JSON.stringify(q):K==="s"&&typeof q=="object"?`${q.constructor!==Object?q.constructor.name:""} {}`.trim():q.toString()})},inspect(_){switch(typeof _){case"string":if(_.includes("'"))if(_.includes('"')){if(!_.includes("`")&&!_.includes("${"))return`\`${_}\``}else return`"${_}"`;return`'${_}'`;case"number":return isNaN(_)?"NaN":Object.is(_,-0)?String(_):_;case"bigint":return`${String(_)}n`;case"boolean":case"undefined":return String(_);case"object":return"{}"}},types:{isAsyncFunction(_){return _ instanceof w},isArrayBufferView(_){return ArrayBuffer.isView(_)}},isBlob:S,deprecate(_,R){return _},addAbortListener:F_.addAbortListener||function(R,j){if(R===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",R);E(R,"signal"),I(j,"listener");let K;return R.aborted?queueMicrotask(()=>j()):(R.addEventListener("abort",j,{__proto__:null,once:!0,[l]:!0}),K=()=>{R.removeEventListener("abort",j)}),{__proto__:null,[a](){var q;(q=K)===null||q===void 0||q()}}},AbortSignalAny:p.any||function(R){if(R.length===1)return R[0];const j=new g,K=()=>j.abort();return R.forEach(q=>{E(q,"signals"),q.addEventListener("abort",K,{once:!0})}),j.signal.addEventListener("abort",()=>{R.forEach(q=>q.removeEventListener("abort",K))},{once:!0}),j.signal}},r.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(K9t);var Np=K9t.exports,p9e={};const{format:Vwn,inspect:rre,AggregateError:qwn}=Np,Xwn=globalThis.AggregateError||qwn,Ywn=Symbol("kIsNodeError"),Jwn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Qwn=/^([A-Z][a-z0-9]*)+$/,Zwn="__node_internal_",eie={};function TE(r,o){if(!r)throw new eie.ERR_INTERNAL_ASSERTION(o)}function v5t(r){let o="",l=r.length;const a=r[0]==="-"?1:0;for(;l>=a+4;l-=3)o=`_${r.slice(l-3,l)}${o}`;return`${r.slice(0,l)}${o}`}function emn(r,o,l){if(typeof o=="function")return TE(o.length<=l.length,`Code: ${r}; The provided arguments length (${l.length}) does not match the required ones (${o.length}).`),o(...l);const a=(o.match(/%[dfijoOs]/g)||[]).length;return TE(a===l.length,`Code: ${r}; The provided arguments length (${l.length}) does not match the required ones (${a}).`),l.length===0?o:Vwn(o,...l)}function Xh(r,o,l){l||(l=Error);class a extends l{constructor(...g){super(emn(r,o,g))}toString(){return`${this.name} [${r}]: ${this.message}`}}Object.defineProperties(a.prototype,{name:{value:l.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${r}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),a.prototype.code=r,a.prototype[Ywn]=!0,eie[r]=a}function y5t(r){const o=Zwn+r.name;return Object.defineProperty(r,"name",{value:o}),r}function tmn(r,o){if(r&&o&&r!==o){if(Array.isArray(o.errors))return o.errors.push(r),o;const l=new Xwn([o,r],o.message);return l.code=o.code,l}return r||o}let nmn=class extends Error{constructor(o="The operation was aborted",l=void 0){if(l!==void 0&&typeof l!="object")throw new eie.ERR_INVALID_ARG_TYPE("options","Object",l);super(o,l),this.code="ABORT_ERR",this.name="AbortError"}};Xh("ERR_ASSERTION","%s",Error);Xh("ERR_INVALID_ARG_TYPE",(r,o,l)=>{TE(typeof r=="string","'name' must be a string"),Array.isArray(o)||(o=[o]);let a="The ";r.endsWith(" argument")?a+=`${r} `:a+=`"${r}" ${r.includes(".")?"property":"argument"} `,a+="must be ";const p=[],g=[],w=[];for(const S of o)TE(typeof S=="string","All expected entries have to be of type string"),Jwn.includes(S)?p.push(S.toLowerCase()):Qwn.test(S)?g.push(S):(TE(S!=="object",'The value "object" should be written as "Object"'),w.push(S));if(g.length>0){const S=p.indexOf("object");S!==-1&&(p.splice(p,S,1),g.push("Object"))}if(p.length>0){switch(p.length){case 1:a+=`of type ${p[0]}`;break;case 2:a+=`one of type ${p[0]} or ${p[1]}`;break;default:{const S=p.pop();a+=`one of type ${p.join(", ")}, or ${S}`}}(g.length>0||w.length>0)&&(a+=" or ")}if(g.length>0){switch(g.length){case 1:a+=`an instance of ${g[0]}`;break;case 2:a+=`an instance of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();a+=`an instance of ${g.join(", ")}, or ${S}`}}w.length>0&&(a+=" or ")}switch(w.length){case 0:break;case 1:w[0].toLowerCase()!==w[0]&&(a+="an "),a+=`${w[0]}`;break;case 2:a+=`one of ${w[0]} or ${w[1]}`;break;default:{const S=w.pop();a+=`one of ${w.join(", ")}, or ${S}`}}if(l==null)a+=`. Received ${l}`;else if(typeof l=="function"&&l.name)a+=`. Received function ${l.name}`;else if(typeof l=="object"){var y;if((y=l.constructor)!==null&&y!==void 0&&y.name)a+=`. Received an instance of ${l.constructor.name}`;else{const S=rre(l,{depth:-1});a+=`. Received ${S}`}}else{let S=rre(l,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),a+=`. Received type ${typeof l} (${S})`}return a},TypeError);Xh("ERR_INVALID_ARG_VALUE",(r,o,l="is invalid")=>{let a=rre(o);return a.length>128&&(a=a.slice(0,128)+"..."),`The ${r.includes(".")?"property":"argument"} '${r}' ${l}. Received ${a}`},TypeError);Xh("ERR_INVALID_RETURN_VALUE",(r,o,l)=>{var a;const p=l!=null&&(a=l.constructor)!==null&&a!==void 0&&a.name?`instance of ${l.constructor.name}`:`type ${typeof l}`;return`Expected ${r} to be returned from the "${o}" function but got ${p}.`},TypeError);Xh("ERR_MISSING_ARGS",(...r)=>{TE(r.length>0,"At least one arg needs to be specified");let o;const l=r.length;switch(r=(Array.isArray(r)?r:[r]).map(a=>`"${a}"`).join(" or "),l){case 1:o+=`The ${r[0]} argument`;break;case 2:o+=`The ${r[0]} and ${r[1]} arguments`;break;default:{const a=r.pop();o+=`The ${r.join(", ")}, and ${a} arguments`}break}return`${o} must be specified`},TypeError);Xh("ERR_OUT_OF_RANGE",(r,o,l)=>{TE(o,'Missing "range" argument');let a;return Number.isInteger(l)&&Math.abs(l)>2**32?a=v5t(String(l)):typeof l=="bigint"?(a=String(l),(l>2n**32n||l<-(2n**32n))&&(a=v5t(a)),a+="n"):a=rre(l),`The value of "${r}" is out of range. It must be ${o}. Received ${a}`},RangeError);Xh("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Xh("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Xh("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Xh("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Xh("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Xh("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Xh("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Xh("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Xh("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Xh("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Xh("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var Yg={AbortError:nmn,aggregateTwoErrors:y5t(tmn),hideStackFrames:y5t,codes:eie};const{ArrayIsArray:g9e,ArrayPrototypeIncludes:Q9t,ArrayPrototypeJoin:Z9t,ArrayPrototypeMap:rmn,NumberIsInteger:b9e,NumberIsNaN:imn,NumberMAX_SAFE_INTEGER:omn,NumberMIN_SAFE_INTEGER:smn,NumberParseInt:lmn,ObjectPrototypeHasOwnProperty:cmn,RegExpPrototypeExec:ext,String:umn,StringPrototypeToUpperCase:amn,StringPrototypeTrim:fmn}=qa,{hideStackFrames:hm,codes:{ERR_SOCKET_BAD_PORT:dmn,ERR_INVALID_ARG_TYPE:L1,ERR_INVALID_ARG_VALUE:z_,ERR_OUT_OF_RANGE:NE,ERR_UNKNOWN_SIGNAL:k5t}}=Yg,{normalizeEncoding:hmn}=Np,{isAsyncFunction:pmn,isArrayBufferView:gmn}=Np.types,C5t={};function bmn(r){return r===(r|0)}function wmn(r){return r===r>>>0}const mmn=/^[0-7]+$/,vmn="must be a 32-bit unsigned integer or an octal string";function ymn(r,o,l){if(typeof r>"u"&&(r=l),typeof r=="string"){if(ext(mmn,r)===null)throw new z_(o,r,vmn);r=lmn(r,8)}return txt(r,o),r}const kmn=hm((r,o,l=smn,a=omn)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!b9e(r))throw new NE(o,"an integer",r);if(ra)throw new NE(o,`>= ${l} && <= ${a}`,r)}),Cmn=hm((r,o,l=-2147483648,a=2147483647)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!b9e(r))throw new NE(o,"an integer",r);if(ra)throw new NE(o,`>= ${l} && <= ${a}`,r)}),txt=hm((r,o,l=!1)=>{if(typeof r!="number")throw new L1(o,"number",r);if(!b9e(r))throw new NE(o,"an integer",r);const a=l?1:0,p=4294967295;if(rp)throw new NE(o,`>= ${a} && <= ${p}`,r)});function w9e(r,o){if(typeof r!="string")throw new L1(o,"string",r)}function Smn(r,o,l=void 0,a){if(typeof r!="number")throw new L1(o,"number",r);if(l!=null&&ra||(l!=null||a!=null)&&imn(r))throw new NE(o,`${l!=null?`>= ${l}`:""}${l!=null&&a!=null?" && ":""}${a!=null?`<= ${a}`:""}`,r)}const xmn=hm((r,o,l)=>{if(!Q9t(l,r)){const p="must be one of: "+Z9t(rmn(l,g=>typeof g=="string"?`'${g}'`:umn(g)),", ");throw new z_(o,r,p)}});function nxt(r,o){if(typeof r!="boolean")throw new L1(o,"boolean",r)}function Q8e(r,o,l){return r==null||!cmn(r,o)?l:r[o]}const Emn=hm((r,o,l=null)=>{const a=Q8e(l,"allowArray",!1),p=Q8e(l,"allowFunction",!1);if(!Q8e(l,"nullable",!1)&&r===null||!a&&g9e(r)||typeof r!="object"&&(!p||typeof r!="function"))throw new L1(o,"Object",r)}),Tmn=hm((r,o)=>{if(r!=null&&typeof r!="object"&&typeof r!="function")throw new L1(o,"a dictionary",r)}),tie=hm((r,o,l=0)=>{if(!g9e(r))throw new L1(o,"Array",r);if(r.length{if(!gmn(r))throw new L1(o,["Buffer","TypedArray","DataView"],r)});function Rmn(r,o){const l=hmn(o),a=r.length;if(l==="hex"&&a%2!==0)throw new z_("encoding",o,`is invalid for data of length ${a}`)}function Amn(r,o="Port",l=!0){if(typeof r!="number"&&typeof r!="string"||typeof r=="string"&&fmn(r).length===0||+r!==+r>>>0||r>65535||r===0&&!l)throw new dmn(o,r,l);return r|0}const rxt=hm((r,o)=>{if(r!==void 0&&(r===null||typeof r!="object"||!("aborted"in r)))throw new L1(o,"AbortSignal",r)}),Lmn=hm((r,o)=>{if(typeof r!="function")throw new L1(o,"Function",r)}),$mn=hm((r,o)=>{if(typeof r!="function"||pmn(r))throw new L1(o,"Function",r)}),jmn=hm((r,o)=>{if(r!==void 0)throw new L1(o,"undefined",r)});function Dmn(r,o,l){if(!Q9t(l,r))throw new L1(o,`('${Z9t(l,"|")}')`,r)}const Nmn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function S5t(r,o){if(typeof r>"u"||!ext(Nmn,r))throw new z_(o,r,'must be an array or string of format "; rel=preload; as=style"')}function Bmn(r){if(typeof r=="string")return S5t(r,"hints"),r;if(g9e(r)){const o=r.length;let l="";if(o===0)return l;for(let a=0;a; rel=preload; as=style"')}var SH={isInt32:bmn,isUint32:wmn,parseFileMode:ymn,validateArray:tie,validateStringArray:Imn,validateBooleanArray:Pmn,validateAbortSignalArray:Mmn,validateBoolean:nxt,validateBuffer:_mn,validateDictionary:Tmn,validateEncoding:Rmn,validateFunction:Lmn,validateInt32:Cmn,validateInteger:kmn,validateNumber:Smn,validateObject:Emn,validateOneOf:xmn,validatePlainFunction:$mn,validatePort:Amn,validateSignalName:Omn,validateString:w9e,validateUint32:txt,validateUndefined:jmn,validateUnion:Dmn,validateAbortSignal:rxt,validateLinkHeaderValue:Bmn},m9e={exports:{}},ixt={exports:{}},Tf=ixt.exports={},a3,f3;function k7e(){throw new Error("setTimeout has not been defined")}function C7e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?a3=setTimeout:a3=k7e}catch{a3=k7e}try{typeof clearTimeout=="function"?f3=clearTimeout:f3=C7e}catch{f3=C7e}})();function oxt(r){if(a3===setTimeout)return setTimeout(r,0);if((a3===k7e||!a3)&&setTimeout)return a3=setTimeout,setTimeout(r,0);try{return a3(r,0)}catch{try{return a3.call(null,r,0)}catch{return a3.call(this,r,0)}}}function Fmn(r){if(f3===clearTimeout)return clearTimeout(r);if((f3===C7e||!f3)&&clearTimeout)return f3=clearTimeout,clearTimeout(r);try{return f3(r)}catch{try{return f3.call(null,r)}catch{return f3.call(this,r)}}}var H6=[],s_=!1,vE,Ene=-1;function zmn(){!s_||!vE||(s_=!1,vE.length?H6=vE.concat(H6):Ene=-1,H6.length&&sxt())}function sxt(){if(!s_){var r=oxt(zmn);s_=!0;for(var o=H6.length;o;){for(vE=H6,H6=[];++Ene1)for(var l=1;l{};function Cxt(r,o,l){var a,p;if(arguments.length===2?(l=o,o=E7e):o==null?o=E7e:lvn(o,"options"),svn(l,"callback"),ovn(o.signal,"options.signal"),l=T7e(l),dvn(r)||hvn(r))return mvn(r,o,l);if(!pvn(r))throw new ivn("stream",["ReadableStream","WritableStream","Stream"],r);const g=(a=o.readable)!==null&&a!==void 0?a:Z8e(r),w=(p=o.writable)!==null&&p!==void 0?p:_5t(r),y=r._writableState,S=r._readableState,E=()=>{r.writable||_()};let I=gvn(r)&&Z8e(r)===g&&_5t(r)===w,M=R5t(r,!1);const _=()=>{M=!0,r.destroyed&&(I=!1),!(I&&(!r.readable||g))&&(!g||R)&&l.call(r)};let R=P5t(r,!1);const j=()=>{R=!0,r.destroyed&&(I=!1),!(I&&(!r.writable||w))&&(!w||M)&&l.call(r)},K=je=>{l.call(r,je)};let q=fvn(r);const Q=()=>{q=!0;const je=A5t(r)||M5t(r);if(je&&typeof je!="boolean")return l.call(r,je);if(g&&!R&&Z8e(r,!0)&&!P5t(r,!1))return l.call(r,new T5t);if(w&&!M&&!R5t(r,!1))return l.call(r,new T5t);l.call(r)},Z=()=>{q=!0;const je=A5t(r)||M5t(r);if(je&&typeof je!="boolean")return l.call(r,je);l.call(r)},X=()=>{r.req.on("finish",_)};wvn(r)?(r.on("complete",_),I||r.on("abort",Q),r.req?X():r.on("request",X)):w&&!y&&(r.on("end",E),r.on("close",E)),!I&&typeof r.aborted=="boolean"&&r.on("aborted",Q),r.on("end",j),r.on("finish",_),o.error!==!1&&r.on("error",K),r.on("close",Q),q?wC.nextTick(Q):y!=null&&y.errorEmitted||S!=null&&S.errorEmitted?I||wC.nextTick(Z):(!g&&(!I||I5t(r))&&(M||O5t(r)===!1)||!w&&(!I||O5t(r))&&(R||I5t(r)===!1)||S&&r.req&&r.aborted)&&wC.nextTick(Z);const ie=()=>{l=I7e,r.removeListener("aborted",Q),r.removeListener("complete",_),r.removeListener("abort",Q),r.removeListener("request",X),r.req&&r.req.removeListener("finish",_),r.removeListener("end",E),r.removeListener("close",E),r.removeListener("finish",_),r.removeListener("end",j),r.removeListener("error",K),r.removeListener("close",Q)};if(o.signal&&!q){const je=()=>{const et=l;ie(),et.call(r,new yxt(void 0,{cause:o.signal.reason}))};if(o.signal.aborted)wC.nextTick(je);else{l_=l_||Np.addAbortListener;const et=l_(o.signal,je),mt=l;l=T7e((...bt)=>{et[kxt](),mt.apply(r,bt)})}}return ie}function mvn(r,o,l){let a=!1,p=I7e;if(o.signal)if(p=()=>{a=!0,l.call(r,new yxt(void 0,{cause:o.signal.reason}))},o.signal.aborted)wC.nextTick(p);else{l_=l_||Np.addAbortListener;const w=l_(o.signal,p),y=l;l=T7e((...S)=>{w[kxt](),y.apply(r,S)})}const g=(...w)=>{a||wC.nextTick(()=>l.apply(r,w))};return avn(r[bvn].promise,g,g),I7e}function vvn(r,o){var l;let a=!1;return o===null&&(o=E7e),(l=o)!==null&&l!==void 0&&l.cleanup&&(cvn(o.cleanup,"cleanup"),a=o.cleanup),new uvn((p,g)=>{const w=Cxt(r,o,y=>{a&&w(),y?g(y):p()})})}m9e.exports=Cxt;m9e.exports.finished=vvn;var WC=m9e.exports;const y3=GC,{aggregateTwoErrors:yvn,codes:{ERR_MULTIPLE_CALLBACK:kvn},AbortError:Cvn}=Yg,{Symbol:Sxt}=qa,{kIsDestroyed:Svn,isDestroyed:xvn,isFinished:Evn,isServerRequest:Tvn}=sk,xxt=Sxt("kDestroy"),P7e=Sxt("kConstruct");function Ext(r,o,l){r&&(r.stack,o&&!o.errored&&(o.errored=r),l&&!l.errored&&(l.errored=r))}function Ivn(r,o){const l=this._readableState,a=this._writableState,p=a||l;return a!=null&&a.destroyed||l!=null&&l.destroyed?(typeof o=="function"&&o(),this):(Ext(r,a,l),a&&(a.destroyed=!0),l&&(l.destroyed=!0),p.constructed?L5t(this,r,o):this.once(xxt,function(g){L5t(this,yvn(g,r),o)}),this)}function L5t(r,o,l){let a=!1;function p(g){if(a)return;a=!0;const w=r._readableState,y=r._writableState;Ext(g,y,w),y&&(y.closed=!0),w&&(w.closed=!0),typeof l=="function"&&l(g),g?y3.nextTick(Pvn,r,g):y3.nextTick(Txt,r)}try{r._destroy(o||null,p)}catch(g){p(g)}}function Pvn(r,o){M7e(r,o),Txt(r)}function Txt(r){const o=r._readableState,l=r._writableState;l&&(l.closeEmitted=!0),o&&(o.closeEmitted=!0),(l!=null&&l.emitClose||o!=null&&o.emitClose)&&r.emit("close")}function M7e(r,o){const l=r._readableState,a=r._writableState;a!=null&&a.errorEmitted||l!=null&&l.errorEmitted||(a&&(a.errorEmitted=!0),l&&(l.errorEmitted=!0),r.emit("error",o))}function Mvn(){const r=this._readableState,o=this._writableState;r&&(r.constructed=!0,r.closed=!1,r.closeEmitted=!1,r.destroyed=!1,r.errored=null,r.errorEmitted=!1,r.reading=!1,r.ended=r.readable===!1,r.endEmitted=r.readable===!1),o&&(o.constructed=!0,o.destroyed=!1,o.closed=!1,o.closeEmitted=!1,o.errored=null,o.errorEmitted=!1,o.finalCalled=!1,o.prefinished=!1,o.ended=o.writable===!1,o.ending=o.writable===!1,o.finished=o.writable===!1)}function O7e(r,o,l){const a=r._readableState,p=r._writableState;if(p!=null&&p.destroyed||a!=null&&a.destroyed)return this;a!=null&&a.autoDestroy||p!=null&&p.autoDestroy?r.destroy(o):o&&(o.stack,p&&!p.errored&&(p.errored=o),a&&!a.errored&&(a.errored=o),l?y3.nextTick(M7e,r,o):M7e(r,o))}function Ovn(r,o){if(typeof r._construct!="function")return;const l=r._readableState,a=r._writableState;l&&(l.constructed=!1),a&&(a.constructed=!1),r.once(P7e,o),!(r.listenerCount(P7e)>1)&&y3.nextTick(_vn,r)}function _vn(r){let o=!1;function l(a){if(o){O7e(r,a??new kvn);return}o=!0;const p=r._readableState,g=r._writableState,w=g||p;p&&(p.constructed=!0),g&&(g.constructed=!0),w.destroyed?r.emit(xxt,a):a?O7e(r,a,!0):y3.nextTick(Rvn,r)}try{r._construct(a=>{y3.nextTick(l,a)})}catch(a){y3.nextTick(l,a)}}function Rvn(r){r.emit(P7e)}function $5t(r){return(r==null?void 0:r.setHeader)&&typeof r.abort=="function"}function Ixt(r){r.emit("close")}function Avn(r,o){r.emit("error",o),y3.nextTick(Ixt,r)}function Lvn(r,o){!r||xvn(r)||(!o&&!Evn(r)&&(o=new Cvn),Tvn(r)?(r.socket=null,r.destroy(o)):$5t(r)?r.abort():$5t(r.req)?r.req.abort():typeof r.destroy=="function"?r.destroy(o):typeof r.close=="function"?r.close():o?y3.nextTick(Avn,r,o):y3.nextTick(Ixt,r),r.destroyed||(r[Svn]=!0))}var H_={construct:Ovn,destroyer:Lvn,destroy:Ivn,undestroy:Mvn,errorOrDestroy:O7e};const{ArrayIsArray:$vn,ObjectSetPrototypeOf:Pxt}=qa,{EventEmitter:oie}=F_;function sie(r){oie.call(this,r)}Pxt(sie.prototype,oie.prototype);Pxt(sie,oie);sie.prototype.pipe=function(r,o){const l=this;function a(I){r.writable&&r.write(I)===!1&&l.pause&&l.pause()}l.on("data",a);function p(){l.readable&&l.resume&&l.resume()}r.on("drain",p),!r._isStdio&&(!o||o.end!==!1)&&(l.on("end",w),l.on("close",y));let g=!1;function w(){g||(g=!0,r.end())}function y(){g||(g=!0,typeof r.destroy=="function"&&r.destroy())}function S(I){E(),oie.listenerCount(this,"error")===0&&this.emit("error",I)}_7e(l,"error",S),_7e(r,"error",S);function E(){l.removeListener("data",a),r.removeListener("drain",p),l.removeListener("end",w),l.removeListener("close",y),l.removeListener("error",S),r.removeListener("error",S),l.removeListener("end",E),l.removeListener("close",E),r.removeListener("close",E)}return l.on("end",E),l.on("close",E),r.on("close",E),r.emit("pipe",l),r};function _7e(r,o,l){if(typeof r.prependListener=="function")return r.prependListener(o,l);!r._events||!r._events[o]?r.on(o,l):$vn(r._events[o])?r._events[o].unshift(l):r._events[o]=[l,r._events[o]]}var v9e={Stream:sie,prependListener:_7e},Mxt={exports:{}};(function(r){const{SymbolDispose:o}=qa,{AbortError:l,codes:a}=Yg,{isNodeStream:p,isWebStream:g,kControllerErrorFunction:w}=sk,y=WC,{ERR_INVALID_ARG_TYPE:S}=a;let E;const I=(M,_)=>{if(typeof M!="object"||!("aborted"in M))throw new S(_,"AbortSignal",M)};r.exports.addAbortSignal=function(_,R){if(I(_,"signal"),!p(R)&&!g(R))throw new S("stream",["ReadableStream","WritableStream","Stream"],R);return r.exports.addAbortSignalNoValidate(_,R)},r.exports.addAbortSignalNoValidate=function(M,_){if(typeof M!="object"||!("aborted"in M))return _;const R=p(_)?()=>{_.destroy(new l(void 0,{cause:M.reason}))}:()=>{_[w](new l(void 0,{cause:M.reason}))};if(M.aborted)R();else{E=E||Np.addAbortListener;const j=E(M,R);y(_,j[o])}return _}})(Mxt);var lie=Mxt.exports;const{StringPrototypeSlice:j5t,SymbolIterator:jvn,TypedArrayPrototypeSet:Wte,Uint8Array:Dvn}=qa,{Buffer:eCe}=dm,{inspect:Nvn}=Np;var Bvn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(o){const l={data:o,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length}unshift(o){const l={data:o,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length}shift(){if(this.length===0)return;const o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}clear(){this.head=this.tail=null,this.length=0}join(o){if(this.length===0)return"";let l=this.head,a=""+l.data;for(;(l=l.next)!==null;)a+=o+l.data;return a}concat(o){if(this.length===0)return eCe.alloc(0);const l=eCe.allocUnsafe(o>>>0);let a=this.head,p=0;for(;a;)Wte(l,a.data,p),p+=a.data.length,a=a.next;return l}consume(o,l){const a=this.head.data;if(og.length)l+=g,o-=g.length;else{o===g.length?(l+=g,++p,a.next?this.head=a.next:this.head=this.tail=null):(l+=j5t(g,0,o),this.head=a,a.data=j5t(g,o));break}++p}while((a=a.next)!==null);return this.length-=p,l}_getBuffer(o){const l=eCe.allocUnsafe(o),a=o;let p=this.head,g=0;do{const w=p.data;if(o>w.length)Wte(l,w,a-o),o-=w.length;else{o===w.length?(Wte(l,w,a-o),++g,p.next?this.head=p.next:this.head=this.tail=null):(Wte(l,new Dvn(w.buffer,w.byteOffset,o),a-o),this.head=p,p.data=w.slice(o));break}++g}while((p=p.next)!==null);return this.length-=g,l}[Symbol.for("nodejs.util.inspect.custom")](o,l){return Nvn(this,{...l,depth:0,customInspect:!1})}};const{MathFloor:Fvn,NumberIsInteger:zvn}=qa,{validateInteger:Hvn}=SH,{ERR_INVALID_ARG_VALUE:Kvn}=Yg.codes;let Oxt=16*1024,_xt=16;function Uvn(r,o,l){return r.highWaterMark!=null?r.highWaterMark:o?r[l]:null}function Rxt(r){return r?_xt:Oxt}function Gvn(r,o){Hvn(o,"value",0),r?_xt=o:Oxt=o}function Wvn(r,o,l,a){const p=Uvn(o,a,l);if(p!=null){if(!zvn(p)||p<0){const g=a?`options.${l}`:"options.highWaterMark";throw new Kvn(g,p)}return Fvn(p)}return Rxt(r.objectMode)}var cie={getHighWaterMark:Wvn,getDefaultHighWaterMark:Rxt,setDefaultHighWaterMark:Gvn},ire={},R7e={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(r,o){var l=dm,a=l.Buffer;function p(w,y){for(var S in w)y[S]=w[S]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=l:(p(l,o),o.Buffer=g);function g(w,y,S){return a(w,y,S)}g.prototype=Object.create(a.prototype),p(a,g),g.from=function(w,y,S){if(typeof w=="number")throw new TypeError("Argument must not be a number");return a(w,y,S)},g.alloc=function(w,y,S){if(typeof w!="number")throw new TypeError("Argument must be a number");var E=a(w);return y!==void 0?typeof S=="string"?E.fill(y,S):E.fill(y):E.fill(0),E},g.allocUnsafe=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return a(w)},g.allocUnsafeSlow=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return l.SlowBuffer(w)}})(R7e,R7e.exports);var Vvn=R7e.exports,y9e=Vvn.Buffer,D5t=y9e.isEncoding||function(r){switch(r=""+r,r&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function qvn(r){if(!r)return"utf8";for(var o;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(o)return;r=(""+r).toLowerCase(),o=!0}}function Xvn(r){var o=qvn(r);if(typeof o!="string"&&(y9e.isEncoding===D5t||!D5t(r)))throw new Error("Unknown encoding: "+r);return o||r}ire.StringDecoder=xH;function xH(r){this.encoding=Xvn(r);var o;switch(this.encoding){case"utf16le":this.text=tyn,this.end=nyn,o=4;break;case"utf8":this.fillLast=Qvn,o=4;break;case"base64":this.text=ryn,this.end=iyn,o=3;break;default:this.write=oyn,this.end=syn;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=y9e.allocUnsafe(o)}xH.prototype.write=function(r){if(r.length===0)return"";var o,l;if(this.lastNeed){if(o=this.fillLast(r),o===void 0)return"";l=this.lastNeed,this.lastNeed=0}else l=0;return l>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function Yvn(r,o,l){var a=o.length-1;if(a=0?(p>0&&(r.lastNeed=p-1),p):--a=0?(p>0&&(r.lastNeed=p-2),p):--a=0?(p>0&&(p===2?p=0:r.lastNeed=p-3),p):0))}function Jvn(r,o,l){if((o[0]&192)!==128)return r.lastNeed=0,"�";if(r.lastNeed>1&&o.length>1){if((o[1]&192)!==128)return r.lastNeed=1,"�";if(r.lastNeed>2&&o.length>2&&(o[2]&192)!==128)return r.lastNeed=2,"�"}}function Qvn(r){var o=this.lastTotal-this.lastNeed,l=Jvn(this,r);if(l!==void 0)return l;if(this.lastNeed<=r.length)return r.copy(this.lastChar,o,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,o,0,r.length),this.lastNeed-=r.length}function Zvn(r,o){var l=Yvn(this,r,o);if(!this.lastNeed)return r.toString("utf8",o);this.lastTotal=l;var a=r.length-(l-this.lastNeed);return r.copy(this.lastChar,0,a),r.toString("utf8",o,a)}function eyn(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+"�":o}function tyn(r,o){if((r.length-o)%2===0){var l=r.toString("utf16le",o);if(l){var a=l.charCodeAt(l.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],l.slice(0,-1)}return l}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",o,r.length-1)}function nyn(r){var o=r&&r.length?this.write(r):"";if(this.lastNeed){var l=this.lastTotal-this.lastNeed;return o+this.lastChar.toString("utf16le",0,l)}return o}function ryn(r,o){var l=(r.length-o)%3;return l===0?r.toString("base64",o):(this.lastNeed=3-l,this.lastTotal=3,l===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",o,r.length-l))}function iyn(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+this.lastChar.toString("base64",0,3-this.lastNeed):o}function oyn(r){return r.toString(this.encoding)}function syn(r){return r&&r.length?this.write(r):""}const N5t=GC,{PromisePrototypeThen:lyn,SymbolAsyncIterator:B5t,SymbolIterator:F5t}=qa,{Buffer:cyn}=dm,{ERR_INVALID_ARG_TYPE:uyn,ERR_STREAM_NULL_VALUES:ayn}=Yg.codes;function fyn(r,o,l){let a;if(typeof o=="string"||o instanceof cyn)return new r({objectMode:!0,...l,read(){this.push(o),this.push(null)}});let p;if(o&&o[B5t])p=!0,a=o[B5t]();else if(o&&o[F5t])p=!1,a=o[F5t]();else throw new uyn("iterable",["Iterable"],o);const g=new r({objectMode:!0,highWaterMark:1,...l});let w=!1;g._read=function(){w||(w=!0,S())},g._destroy=function(E,I){lyn(y(E),()=>N5t.nextTick(I,E),M=>N5t.nextTick(I,M||E))};async function y(E){const I=E!=null,M=typeof a.throw=="function";if(I&&M){const{value:_,done:R}=await a.throw(E);if(await _,R)return}if(typeof a.return=="function"){const{value:_}=await a.return();await _}}async function S(){for(;;){try{const{value:E,done:I}=p?await a.next():a.next();if(I)g.push(null);else{const M=E&&typeof E.then=="function"?await E:E;if(M===null)throw w=!1,new ayn;if(g.push(M))continue;w=!1}}catch(E){g.destroy(E)}break}}return g}var Axt=fyn,nCe,z5t;function uie(){if(z5t)return nCe;z5t=1;const r=GC,{ArrayPrototypeIndexOf:o,NumberIsInteger:l,NumberIsNaN:a,NumberParseInt:p,ObjectDefineProperties:g,ObjectKeys:w,ObjectSetPrototypeOf:y,Promise:S,SafeSet:E,SymbolAsyncDispose:I,SymbolAsyncIterator:M,Symbol:_}=qa;nCe=Ct,Ct.ReadableState=tn;const{EventEmitter:R}=F_,{Stream:j,prependListener:K}=v9e,{Buffer:q}=dm,{addAbortSignal:Q}=lie,Z=WC;let X=Np.debuglog("stream",Ne=>{X=Ne});const ie=Bvn,je=H_,{getHighWaterMark:et,getDefaultHighWaterMark:mt}=cie,{aggregateTwoErrors:bt,codes:{ERR_INVALID_ARG_TYPE:ce,ERR_METHOD_NOT_IMPLEMENTED:Be,ERR_OUT_OF_RANGE:ae,ERR_STREAM_PUSH_AFTER_EOF:xe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:U},AbortError:He}=Yg,{validateObject:yt}=SH,ft=_("kPaused"),{StringDecoder:At}=ire,Jt=Axt;y(Ct.prototype,j.prototype),y(Ct,j);const un=()=>{},{errorOrDestroy:kn}=je,qt=1,on=2,Rt=4,an=8,Zn=16,kt=32,Ze=64,Xt=128,Mn=256,pr=512,ye=1024,Ce=2048,ee=4096,V=8192,oe=16384,ue=32768,ge=65536,Ge=1<<17,$t=1<<18;function Lt(Ne){return{enumerable:!1,get(){return(this.state&Ne)!==0},set(Xe){Xe?this.state|=Ne:this.state&=~Ne}}}g(tn.prototype,{objectMode:Lt(qt),ended:Lt(on),endEmitted:Lt(Rt),reading:Lt(an),constructed:Lt(Zn),sync:Lt(kt),needReadable:Lt(Ze),emittedReadable:Lt(Xt),readableListening:Lt(Mn),resumeScheduled:Lt(pr),errorEmitted:Lt(ye),emitClose:Lt(Ce),autoDestroy:Lt(ee),destroyed:Lt(V),closed:Lt(oe),closeEmitted:Lt(ue),multiAwaitDrain:Lt(ge),readingMore:Lt(Ge),dataEmitted:Lt($t)});function tn(Ne,Xe,Pr){typeof Pr!="boolean"&&(Pr=Xe instanceof X6()),this.state=Ce|ee|Zn|kt,Ne&&Ne.objectMode&&(this.state|=qt),Pr&&Ne&&Ne.readableObjectMode&&(this.state|=qt),this.highWaterMark=Ne?et(this,Ne,"readableHighWaterMark",Pr):mt(!1),this.buffer=new ie,this.length=0,this.pipes=[],this.flowing=null,this[ft]=null,Ne&&Ne.emitClose===!1&&(this.state&=~Ce),Ne&&Ne.autoDestroy===!1&&(this.state&=~ee),this.errored=null,this.defaultEncoding=Ne&&Ne.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,Ne&&Ne.encoding&&(this.decoder=new At(Ne.encoding),this.encoding=Ne.encoding)}function Ct(Ne){if(!(this instanceof Ct))return new Ct(Ne);const Xe=this instanceof X6();this._readableState=new tn(Ne,this,Xe),Ne&&(typeof Ne.read=="function"&&(this._read=Ne.read),typeof Ne.destroy=="function"&&(this._destroy=Ne.destroy),typeof Ne.construct=="function"&&(this._construct=Ne.construct),Ne.signal&&!Xe&&Q(Ne.signal,this)),j.call(this,Ne),je.construct(this,()=>{this._readableState.needReadable&>(this,this._readableState)})}Ct.prototype.destroy=je.destroy,Ct.prototype._undestroy=je.undestroy,Ct.prototype._destroy=function(Ne,Xe){Xe(Ne)},Ct.prototype[R.captureRejectionSymbol]=function(Ne){this.destroy(Ne)},Ct.prototype[I]=function(){let Ne;return this.destroyed||(Ne=this.readableEnded?null:new He,this.destroy(Ne)),new S((Xe,Pr)=>Z(this,Cr=>Cr&&Cr!==Ne?Pr(Cr):Xe(null)))},Ct.prototype.push=function(Ne,Xe){return Kn(this,Ne,Xe,!1)},Ct.prototype.unshift=function(Ne,Xe){return Kn(this,Ne,Xe,!0)};function Kn(Ne,Xe,Pr,Cr){X("readableAddChunk",Xe);const Gr=Ne._readableState;let lu;if(Gr.state&qt||(typeof Xe=="string"?(Pr=Pr||Gr.defaultEncoding,Gr.encoding!==Pr&&(Cr&&Gr.encoding?Xe=q.from(Xe,Pr).toString(Gr.encoding):(Xe=q.from(Xe,Pr),Pr=""))):Xe instanceof q?Pr="":j._isUint8Array(Xe)?(Xe=j._uint8ArrayToBuffer(Xe),Pr=""):Xe!=null&&(lu=new ce("chunk",["string","Buffer","Uint8Array"],Xe))),lu)kn(Ne,lu);else if(Xe===null)Gr.state&=~an,G(Ne,Gr);else if(Gr.state&qt||Xe&&Xe.length>0)if(Cr)if(Gr.state&Rt)kn(Ne,new U);else{if(Gr.destroyed||Gr.errored)return!1;dn(Ne,Gr,Xe,!0)}else if(Gr.ended)kn(Ne,new xe);else{if(Gr.destroyed||Gr.errored)return!1;Gr.state&=~an,Gr.decoder&&!Pr?(Xe=Gr.decoder.write(Xe),Gr.objectMode||Xe.length!==0?dn(Ne,Gr,Xe,!1):gt(Ne,Gr)):dn(Ne,Gr,Xe,!1)}else Cr||(Gr.state&=~an,gt(Ne,Gr));return!Gr.ended&&(Gr.length0?(Xe.state&ge?Xe.awaitDrainWriters.clear():Xe.awaitDrainWriters=null,Xe.dataEmitted=!0,Ne.emit("data",Pr)):(Xe.length+=Xe.objectMode?1:Pr.length,Cr?Xe.buffer.unshift(Pr):Xe.buffer.push(Pr),Xe.state&Ze&&Y(Ne)),gt(Ne,Xe)}Ct.prototype.isPaused=function(){const Ne=this._readableState;return Ne[ft]===!0||Ne.flowing===!1},Ct.prototype.setEncoding=function(Ne){const Xe=new At(Ne);this._readableState.decoder=Xe,this._readableState.encoding=this._readableState.decoder.encoding;const Pr=this._readableState.buffer;let Cr="";for(const Gr of Pr)Cr+=Xe.write(Gr);return Pr.clear(),Cr!==""&&Pr.push(Cr),this._readableState.length=Cr.length,this};const Rn=1073741824;function br(Ne){if(Ne>Rn)throw new ae("size","<= 1GiB",Ne);return Ne--,Ne|=Ne>>>1,Ne|=Ne>>>2,Ne|=Ne>>>4,Ne|=Ne>>>8,Ne|=Ne>>>16,Ne++,Ne}function de(Ne,Xe){return Ne<=0||Xe.length===0&&Xe.ended?0:Xe.state&qt?1:a(Ne)?Xe.flowing&&Xe.length?Xe.buffer.first().length:Xe.length:Ne<=Xe.length?Ne:Xe.ended?Xe.length:0}Ct.prototype.read=function(Ne){X("read",Ne),Ne===void 0?Ne=NaN:l(Ne)||(Ne=p(Ne,10));const Xe=this._readableState,Pr=Ne;if(Ne>Xe.highWaterMark&&(Xe.highWaterMark=br(Ne)),Ne!==0&&(Xe.state&=~Xt),Ne===0&&Xe.needReadable&&((Xe.highWaterMark!==0?Xe.length>=Xe.highWaterMark:Xe.length>0)||Xe.ended))return X("read: emitReadable",Xe.length,Xe.ended),Xe.length===0&&Xe.ended?_d(this):Y(this),null;if(Ne=de(Ne,Xe),Ne===0&&Xe.ended)return Xe.length===0&&_d(this),null;let Cr=(Xe.state&Ze)!==0;if(X("need readable",Cr),(Xe.length===0||Xe.length-Ne0?Gr=L3(Ne,Xe):Gr=null,Gr===null?(Xe.needReadable=Xe.length<=Xe.highWaterMark,Ne=0):(Xe.length-=Ne,Xe.multiAwaitDrain?Xe.awaitDrainWriters.clear():Xe.awaitDrainWriters=null),Xe.length===0&&(Xe.ended||(Xe.needReadable=!0),Pr!==Ne&&Xe.ended&&_d(this)),Gr!==null&&!Xe.errorEmitted&&!Xe.closeEmitted&&(Xe.dataEmitted=!0,this.emit("data",Gr)),Gr};function G(Ne,Xe){if(X("onEofChunk"),!Xe.ended){if(Xe.decoder){const Pr=Xe.decoder.end();Pr&&Pr.length&&(Xe.buffer.push(Pr),Xe.length+=Xe.objectMode?1:Pr.length)}Xe.ended=!0,Xe.sync?Y(Ne):(Xe.needReadable=!1,Xe.emittedReadable=!0,De(Ne))}}function Y(Ne){const Xe=Ne._readableState;X("emitReadable",Xe.needReadable,Xe.emittedReadable),Xe.needReadable=!1,Xe.emittedReadable||(X("emitReadable",Xe.flowing),Xe.emittedReadable=!0,r.nextTick(De,Ne))}function De(Ne){const Xe=Ne._readableState;X("emitReadable_",Xe.destroyed,Xe.length,Xe.ended),!Xe.destroyed&&!Xe.errored&&(Xe.length||Xe.ended)&&(Ne.emit("readable"),Xe.emittedReadable=!1),Xe.needReadable=!Xe.flowing&&!Xe.ended&&Xe.length<=Xe.highWaterMark,zs(Ne)}function gt(Ne,Xe){!Xe.readingMore&&Xe.constructed&&(Xe.readingMore=!0,r.nextTick(Kt,Ne,Xe))}function Kt(Ne,Xe){for(;!Xe.reading&&!Xe.ended&&(Xe.length1&&Cr.pipes.includes(Ne)&&(X("false write response, pause",Cr.awaitDrainWriters.size),Cr.awaitDrainWriters.add(Ne)),Pr.pause()),mb||(mb=Ut(Pr,Ne),Ne.on("drain",mb))}Pr.on("data",wy);function wy(Qg){X("ondata");const zp=Ne.write(Qg);X("dest.write",zp),zp===!1&&j1()}function uk(Qg){if(X("onerror",Qg),Fp(),Ne.removeListener("error",uk),Ne.listenerCount("error")===0){const zp=Ne._writableState||Ne._readableState;zp&&!zp.errorEmitted?kn(Ne,Qg):Ne.emit("error",Qg)}}K(Ne,"error",uk);function j3(){Ne.removeListener("finish",ak),Fp()}Ne.once("close",j3);function ak(){X("onfinish"),Ne.removeListener("close",j3),Fp()}Ne.once("finish",ak);function Fp(){X("unpipe"),Pr.unpipe(Ne)}return Ne.emit("pipe",Pr),Ne.writableNeedDrain===!0?j1():Cr.flowing||(X("pipe resume"),Pr.resume()),Ne};function Ut(Ne,Xe){return function(){const Cr=Ne._readableState;Cr.awaitDrainWriters===Xe?(X("pipeOnDrain",1),Cr.awaitDrainWriters=null):Cr.multiAwaitDrain&&(X("pipeOnDrain",Cr.awaitDrainWriters.size),Cr.awaitDrainWriters.delete(Xe)),(!Cr.awaitDrainWriters||Cr.awaitDrainWriters.size===0)&&Ne.listenerCount("data")&&Ne.resume()}}Ct.prototype.unpipe=function(Ne){const Xe=this._readableState,Pr={hasUnpiped:!1};if(Xe.pipes.length===0)return this;if(!Ne){const Gr=Xe.pipes;Xe.pipes=[],this.pause();for(let lu=0;lu0,Cr.flowing!==!1&&this.resume()):Ne==="readable"&&!Cr.endEmitted&&!Cr.readableListening&&(Cr.readableListening=Cr.needReadable=!0,Cr.flowing=!1,Cr.emittedReadable=!1,X("on readable",Cr.length,Cr.reading),Cr.length?Y(this):Cr.reading||r.nextTick(rl,this)),Pr},Ct.prototype.addListener=Ct.prototype.on,Ct.prototype.removeListener=function(Ne,Xe){const Pr=j.prototype.removeListener.call(this,Ne,Xe);return Ne==="readable"&&r.nextTick(so,this),Pr},Ct.prototype.off=Ct.prototype.removeListener,Ct.prototype.removeAllListeners=function(Ne){const Xe=j.prototype.removeAllListeners.apply(this,arguments);return(Ne==="readable"||Ne===void 0)&&r.nextTick(so,this),Xe};function so(Ne){const Xe=Ne._readableState;Xe.readableListening=Ne.listenerCount("readable")>0,Xe.resumeScheduled&&Xe[ft]===!1?Xe.flowing=!0:Ne.listenerCount("data")>0?Ne.resume():Xe.readableListening||(Xe.flowing=null)}function rl(Ne){X("readable nexttick read 0"),Ne.read(0)}Ct.prototype.resume=function(){const Ne=this._readableState;return Ne.flowing||(X("resume"),Ne.flowing=!Ne.readableListening,Ro(this,Ne)),Ne[ft]=!1,this};function Ro(Ne,Xe){Xe.resumeScheduled||(Xe.resumeScheduled=!0,r.nextTick(Ao,Ne,Xe))}function Ao(Ne,Xe){X("resume",Xe.reading),Xe.reading||Ne.read(0),Xe.resumeScheduled=!1,Ne.emit("resume"),zs(Ne),Xe.flowing&&!Xe.reading&&Ne.read(0)}Ct.prototype.pause=function(){return X("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(X("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ft]=!0,this};function zs(Ne){const Xe=Ne._readableState;for(X("flow",Xe.flowing);Xe.flowing&&Ne.read()!==null;);}Ct.prototype.wrap=function(Ne){let Xe=!1;Ne.on("data",Cr=>{!this.push(Cr)&&Ne.pause&&(Xe=!0,Ne.pause())}),Ne.on("end",()=>{this.push(null)}),Ne.on("error",Cr=>{kn(this,Cr)}),Ne.on("close",()=>{this.destroy()}),Ne.on("destroy",()=>{this.destroy()}),this._read=()=>{Xe&&Ne.resume&&(Xe=!1,Ne.resume())};const Pr=w(Ne);for(let Cr=1;Cr{Gr=Rd?bt(Gr,Rd):null,Pr(),Pr=un});try{for(;;){const Rd=Ne.destroyed?null:Ne.read();if(Rd!==null)yield Rd;else{if(Gr)throw Gr;if(Gr===null)return;await new S(Cr)}}}catch(Rd){throw Gr=bt(Gr,Rd),Gr}finally{(Gr||(Xe==null?void 0:Xe.destroyOnReturn)!==!1)&&(Gr===void 0||Ne._readableState.autoDestroy)?je.destroyer(Ne,null):(Ne.off("readable",Cr),lu())}}g(Ct.prototype,{readable:{__proto__:null,get(){const Ne=this._readableState;return!!Ne&&Ne.readable!==!1&&!Ne.destroyed&&!Ne.errorEmitted&&!Ne.endEmitted},set(Ne){this._readableState&&(this._readableState.readable=!!Ne)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ne){this._readableState&&(this._readableState.flowing=Ne)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(Ne){this._readableState&&(this._readableState.destroyed=Ne)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),g(tn.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ft]!==!1},set(Ne){this[ft]=!!Ne}}}),Ct._fromList=L3;function L3(Ne,Xe){if(Xe.length===0)return null;let Pr;return Xe.objectMode?Pr=Xe.buffer.shift():!Ne||Ne>=Xe.length?(Xe.decoder?Pr=Xe.buffer.join(""):Xe.buffer.length===1?Pr=Xe.buffer.first():Pr=Xe.buffer.concat(Xe.length),Xe.buffer.clear()):Pr=Xe.buffer.consume(Ne,Xe.decoder),Pr}function _d(Ne){const Xe=Ne._readableState;X("endReadable",Xe.endEmitted),Xe.endEmitted||(Xe.ended=!0,r.nextTick(YC,Xe,Ne))}function YC(Ne,Xe){if(X("endReadableNT",Ne.endEmitted,Ne.length),!Ne.errored&&!Ne.closeEmitted&&!Ne.endEmitted&&Ne.length===0){if(Ne.endEmitted=!0,Xe.emit("end"),Xe.writable&&Xe.allowHalfOpen===!1)r.nextTick(sT,Xe);else if(Ne.autoDestroy){const Pr=Xe._writableState;(!Pr||Pr.autoDestroy&&(Pr.finished||Pr.writable===!1))&&Xe.destroy()}}}function sT(Ne){Ne.writable&&!Ne.writableEnded&&!Ne.destroyed&&Ne.end()}Ct.from=function(Ne,Xe){return Jt(Ct,Ne,Xe)};let $1;function JC(){return $1===void 0&&($1={}),$1}return Ct.fromWeb=function(Ne,Xe){return JC().newStreamReadableFromReadableStream(Ne,Xe)},Ct.toWeb=function(Ne,Xe){return JC().newReadableStreamFromStreamReadable(Ne,Xe)},Ct.wrap=function(Ne,Xe){var Pr,Cr;return new Ct({objectMode:(Pr=(Cr=Ne.readableObjectMode)!==null&&Cr!==void 0?Cr:Ne.objectMode)!==null&&Pr!==void 0?Pr:!0,...Xe,destroy(Gr,lu){je.destroyer(Ne,Gr),lu(Gr)}}).wrap(Ne)},nCe}var rCe,H5t;function k9e(){if(H5t)return rCe;H5t=1;const r=GC,{ArrayPrototypeSlice:o,Error:l,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:p,ObjectDefineProperties:g,ObjectSetPrototypeOf:w,StringPrototypeToLowerCase:y,Symbol:S,SymbolHasInstance:E}=qa;rCe=yt,yt.WritableState=U;const{EventEmitter:I}=F_,M=v9e.Stream,{Buffer:_}=dm,R=H_,{addAbortSignal:j}=lie,{getHighWaterMark:K,getDefaultHighWaterMark:q}=cie,{ERR_INVALID_ARG_TYPE:Q,ERR_METHOD_NOT_IMPLEMENTED:Z,ERR_MULTIPLE_CALLBACK:X,ERR_STREAM_CANNOT_PIPE:ie,ERR_STREAM_DESTROYED:je,ERR_STREAM_ALREADY_FINISHED:et,ERR_STREAM_NULL_VALUES:mt,ERR_STREAM_WRITE_AFTER_END:bt,ERR_UNKNOWN_ENCODING:ce}=Yg.codes,{errorOrDestroy:Be}=R;w(yt.prototype,M.prototype),w(yt,M);function ae(){}const xe=S("kOnFinished");function U(ee,V,oe){typeof oe!="boolean"&&(oe=V instanceof X6()),this.objectMode=!!(ee&&ee.objectMode),oe&&(this.objectMode=this.objectMode||!!(ee&&ee.writableObjectMode)),this.highWaterMark=ee?K(this,ee,"writableHighWaterMark",oe):q(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const ue=!!(ee&&ee.decodeStrings===!1);this.decodeStrings=!ue,this.defaultEncoding=ee&&ee.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=kn.bind(void 0,V),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,He(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!ee||ee.emitClose!==!1,this.autoDestroy=!ee||ee.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[xe]=[]}function He(ee){ee.buffered=[],ee.bufferedIndex=0,ee.allBuffers=!0,ee.allNoop=!0}U.prototype.getBuffer=function(){return o(this.buffered,this.bufferedIndex)},p(U.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function yt(ee){const V=this instanceof X6();if(!V&&!a(yt,this))return new yt(ee);this._writableState=new U(ee,this,V),ee&&(typeof ee.write=="function"&&(this._write=ee.write),typeof ee.writev=="function"&&(this._writev=ee.writev),typeof ee.destroy=="function"&&(this._destroy=ee.destroy),typeof ee.final=="function"&&(this._final=ee.final),typeof ee.construct=="function"&&(this._construct=ee.construct),ee.signal&&j(ee.signal,this)),M.call(this,ee),R.construct(this,()=>{const oe=this._writableState;oe.writing||an(this,oe),Xt(this,oe)})}p(yt,E,{__proto__:null,value:function(ee){return a(this,ee)?!0:this!==yt?!1:ee&&ee._writableState instanceof U}}),yt.prototype.pipe=function(){Be(this,new ie)};function ft(ee,V,oe,ue){const ge=ee._writableState;if(typeof oe=="function")ue=oe,oe=ge.defaultEncoding;else{if(!oe)oe=ge.defaultEncoding;else if(oe!=="buffer"&&!_.isEncoding(oe))throw new ce(oe);typeof ue!="function"&&(ue=ae)}if(V===null)throw new mt;if(!ge.objectMode)if(typeof V=="string")ge.decodeStrings!==!1&&(V=_.from(V,oe),oe="buffer");else if(V instanceof _)oe="buffer";else if(M._isUint8Array(V))V=M._uint8ArrayToBuffer(V),oe="buffer";else throw new Q("chunk",["string","Buffer","Uint8Array"],V);let Ge;return ge.ending?Ge=new bt:ge.destroyed&&(Ge=new je("write")),Ge?(r.nextTick(ue,Ge),Be(ee,Ge,!0),Ge):(ge.pendingcb++,At(ee,ge,V,oe,ue))}yt.prototype.write=function(ee,V,oe){return ft(this,ee,V,oe)===!0},yt.prototype.cork=function(){this._writableState.corked++},yt.prototype.uncork=function(){const ee=this._writableState;ee.corked&&(ee.corked--,ee.writing||an(this,ee))},yt.prototype.setDefaultEncoding=function(V){if(typeof V=="string"&&(V=y(V)),!_.isEncoding(V))throw new ce(V);return this._writableState.defaultEncoding=V,this};function At(ee,V,oe,ue,ge){const Ge=V.objectMode?1:oe.length;V.length+=Ge;const $t=V.lengthoe.bufferedIndex&&an(ee,oe),ue?oe.afterWriteTickInfo!==null&&oe.afterWriteTickInfo.cb===ge?oe.afterWriteTickInfo.count++:(oe.afterWriteTickInfo={count:1,cb:ge,stream:ee,state:oe},r.nextTick(qt,oe.afterWriteTickInfo)):on(ee,oe,1,ge))}function qt({stream:ee,state:V,count:oe,cb:ue}){return V.afterWriteTickInfo=null,on(ee,V,oe,ue)}function on(ee,V,oe,ue){for(!V.ending&&!ee.destroyed&&V.length===0&&V.needDrain&&(V.needDrain=!1,ee.emit("drain"));oe-- >0;)V.pendingcb--,ue();V.destroyed&&Rt(V),Xt(ee,V)}function Rt(ee){if(ee.writing)return;for(let ge=ee.bufferedIndex;ge1&&ee._writev){V.pendingcb-=Ge-1;const Lt=V.allNoop?ae:Ct=>{for(let Kn=$t;Kn256?(oe.splice(0,$t),V.bufferedIndex=0):V.bufferedIndex=$t}V.bufferProcessing=!1}yt.prototype._write=function(ee,V,oe){if(this._writev)this._writev([{chunk:ee,encoding:V}],oe);else throw new Z("_write()")},yt.prototype._writev=null,yt.prototype.end=function(ee,V,oe){const ue=this._writableState;typeof ee=="function"?(oe=ee,ee=null,V=null):typeof V=="function"&&(oe=V,V=null);let ge;if(ee!=null){const Ge=ft(this,ee,V);Ge instanceof l&&(ge=Ge)}return ue.corked&&(ue.corked=1,this.uncork()),ge||(!ue.errored&&!ue.ending?(ue.ending=!0,Xt(this,ue,!0),ue.ended=!0):ue.finished?ge=new et("end"):ue.destroyed&&(ge=new je("end"))),typeof oe=="function"&&(ge||ue.finished?r.nextTick(oe,ge):ue[xe].push(oe)),this};function Zn(ee){return ee.ending&&!ee.destroyed&&ee.constructed&&ee.length===0&&!ee.errored&&ee.buffered.length===0&&!ee.finished&&!ee.writing&&!ee.errorEmitted&&!ee.closeEmitted}function kt(ee,V){let oe=!1;function ue(ge){if(oe){Be(ee,ge??X());return}if(oe=!0,V.pendingcb--,ge){const Ge=V[xe].splice(0);for(let $t=0;$t{Zn(ge)?Mn(ue,ge):ge.pendingcb--},ee,V)):Zn(V)&&(V.pendingcb++,Mn(ee,V))))}function Mn(ee,V){V.pendingcb--,V.finished=!0;const oe=V[xe].splice(0);for(let ue=0;ue{if(Rt!=null)throw new j("nully","body",Rt)},Rt=>{K(qt,Rt)});return qt=new ce({objectMode:!0,readable:!1,write:At,final(Rt){Jt(async()=>{try{await on,r.nextTick(Rt,null)}catch(an){r.nextTick(Rt,an)}})},destroy:un})}throw new j("Iterable, AsyncIterable or AsyncFunction",He,ft)}if(et(U))return xe(U.arrayBuffer());if(p(U))return ie(ce,U,{objectMode:!0,writable:!1});if(E(U==null?void 0:U.readable)&&I(U==null?void 0:U.writable))return ce.fromWeb(U);if(typeof(U==null?void 0:U.writable)=="object"||typeof(U==null?void 0:U.readable)=="object"){const ft=U!=null&&U.readable?w(U==null?void 0:U.readable)?U==null?void 0:U.readable:xe(U.readable):void 0,At=U!=null&&U.writable?y(U==null?void 0:U.writable)?U==null?void 0:U.writable:xe(U.writable):void 0;return ae({readable:ft,writable:At})}const yt=U==null?void 0:U.then;if(typeof yt=="function"){let ft;return bt(yt,U,At=>{At!=null&&ft.push(At),ft.push(null)},At=>{K(ft,At)}),ft=new ce({objectMode:!0,writable:!1,read(){}})}throw new R(He,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],U)};function Be(xe){let{promise:U,resolve:He}=X();const yt=new mt,ft=yt.signal;return{value:xe(async function*(){for(;;){const Jt=U;U=null;const{chunk:un,done:kn,cb:qt}=await Jt;if(r.nextTick(qt),kn)return;if(ft.aborted)throw new _(void 0,{cause:ft.reason});({promise:U,resolve:He}=X()),yield un}}(),{signal:ft}),write(Jt,un,kn){const qt=He;He=null,qt({chunk:Jt,done:!1,cb:kn})},final(Jt){const un=He;He=null,un({done:!0,cb:Jt})},destroy(Jt,un){yt.abort(),un(Jt)}}}function ae(xe){const U=xe.readable&&typeof xe.readable.read!="function"?Q.wrap(xe.readable):xe.readable,He=xe.writable;let yt=!!l(U),ft=!!a(He),At,Jt,un,kn,qt;function on(Rt){const an=kn;kn=null,an?an(Rt):Rt&&qt.destroy(Rt)}return qt=new ce({readableObjectMode:!!(U!=null&&U.readableObjectMode),writableObjectMode:!!(He!=null&&He.writableObjectMode),readable:yt,writable:ft}),ft&&(M(He,Rt=>{ft=!1,Rt&&K(U,Rt),on(Rt)}),qt._write=function(Rt,an,Zn){He.write(Rt,an)?Zn():At=Zn},qt._final=function(Rt){He.end(),Jt=Rt},He.on("drain",function(){if(At){const Rt=At;At=null,Rt()}}),He.on("finish",function(){if(Jt){const Rt=Jt;Jt=null,Rt()}})),yt&&(M(U,Rt=>{yt=!1,Rt&&K(U,Rt),on(Rt)}),U.on("readable",function(){if(un){const Rt=un;un=null,Rt()}}),U.on("end",function(){qt.push(null)}),qt._read=function(){for(;;){const Rt=U.read();if(Rt===null){un=qt._read;return}if(!qt.push(Rt))return}}),qt._destroy=function(Rt,an){!Rt&&kn!==null&&(Rt=new _),un=null,At=null,Jt=null,kn===null?an(Rt):(kn=an,K(He,Rt),K(U,Rt))},qt}return iCe}var oCe,U5t;function X6(){if(U5t)return oCe;U5t=1;const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:o,ObjectKeys:l,ObjectSetPrototypeOf:a}=qa;oCe=w;const p=uie(),g=k9e();a(w.prototype,p.prototype),a(w,p);{const I=l(g.prototype);for(let M=0;M{if(o){r?r(o):this.destroy(o);return}l!=null&&this.push(l),this.push(null),r&&r()}):(this.push(null),r&&r())}function byn(){this._final!==A7e&&A7e.call(this)}Y6.prototype._final=A7e;Y6.prototype._transform=function(r,o,l){throw new pyn("_transform()")};Y6.prototype._write=function(r,o,l){const a=this._readableState,p=this._writableState,g=a.length;this._transform(r,o,(w,y)=>{if(w){l(w);return}y!=null&&this.push(y),p.ended||g===a.length||a.length{a=!0});const p=ore(r,{readable:o,writable:l},g=>{a=!g});return{destroy:g=>{a||(a=!0,Cyn.destroyer(r,g||new Eyn("pipe")))},cleanup:p}}function Ayn(r){return Pyn(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function dCe(r){if(dE(r))return r;if(Tne(r))return Lyn(r);throw new L7e("val",["Readable","Iterable","AsyncIterable"],r)}async function*Lyn(r){aCe||(aCe=uie()),yield*aCe.prototype[vyn].call(r)}async function Vte(r,o,l,{end:a}){let p,g=null;const w=E=>{if(E&&(p=E),g){const I=g;g=null,I()}},y=()=>new myn((E,I)=>{p?I(p):g=()=>{p?I(p):E()}});o.on("drain",w);const S=ore(o,{readable:!1},w);try{o.writableNeedDrain&&await y();for await(const E of r)o.write(E)||await y();a&&(o.end(),await y()),l()}catch(E){l(p!==E?Syn(p,E):E)}finally{S(),o.off("drain",w)}}async function hCe(r,o,l,{end:a}){UO(o)&&(o=o.writable);const p=o.getWriter();try{for await(const g of r)await p.ready,p.write(g).catch(()=>{});await p.ready,a&&await p.close(),l()}catch(g){try{await p.abort(g),l(g)}catch(w){l(w)}}}function $yn(...r){return Nxt(r,kyn(Ayn(r)))}function Nxt(r,o,l){if(r.length===1&&wyn(r[0])&&(r=r[0]),r.length<2)throw new xyn("streams");const a=new Ryn,p=a.signal,g=l==null?void 0:l.signal,w=[];Myn(g,"options.signal");function y(){j(new Iyn)}fCe=fCe||Np.addAbortListener;let S;g&&(S=fCe(g,y));let E,I;const M=[];let _=0;function R(Z){j(Z,--_===0)}function j(Z,X){var ie;if(Z&&(!E||E.code==="ERR_STREAM_PREMATURE_CLOSE")&&(E=Z),!(!E&&!X)){for(;M.length;)M.shift()(E);(ie=S)===null||ie===void 0||ie[yyn](),a.abort(),X&&(E||w.forEach(je=>je()),yF.nextTick(o,E,I))}}let K;for(let Z=0;Z0,et=ie||(l==null?void 0:l.end)!==!1,mt=Z===r.length-1;if(W5t(X)){let bt=function(ce){ce&&ce.name!=="AbortError"&&ce.code!=="ERR_STREAM_PREMATURE_CLOSE"&&R(ce)};if(et){const{destroy:ce,cleanup:Be}=V5t(X,ie,je);M.push(ce),lCe(X)&&mt&&w.push(Be)}X.on("error",bt),lCe(X)&&mt&&w.push(()=>{X.removeListener("error",bt)})}if(Z===0)if(typeof X=="function"){if(K=X({signal:p}),!dE(K))throw new sCe("Iterable, AsyncIterable or Stream","source",K)}else dE(X)||Tne(X)||UO(X)?K=X:K=G5t.from(X);else if(typeof X=="function"){if(UO(K)){var q;K=dCe((q=K)===null||q===void 0?void 0:q.readable)}else K=dCe(K);if(K=X(K,{signal:p}),ie){if(!dE(K,!0))throw new sCe("AsyncIterable",`transform[${Z-1}]`,K)}else{var Q;uCe||(uCe=Dxt);const bt=new uCe({objectMode:!0}),ce=(Q=K)===null||Q===void 0?void 0:Q.then;if(typeof ce=="function")_++,ce.call(K,xe=>{I=xe,xe!=null&&bt.write(xe),et&&bt.end(),yF.nextTick(R)},xe=>{bt.destroy(xe),yF.nextTick(R,xe)});else if(dE(K,!0))_++,Vte(K,bt,R,{end:et});else if(cCe(K)||UO(K)){const xe=K.readable||K;_++,Vte(xe,bt,R,{end:et})}else throw new sCe("AsyncIterable or Promise","destination",K);K=bt;const{destroy:Be,cleanup:ae}=V5t(K,!1,!0);M.push(Be),mt&&w.push(ae)}}else if(W5t(X)){if(Tne(K)){_+=2;const bt=jyn(K,X,R,{end:et});lCe(X)&&mt&&w.push(bt)}else if(UO(K)||cCe(K)){const bt=K.readable||K;_++,Vte(bt,X,R,{end:et})}else if(dE(K))_++,Vte(K,X,R,{end:et});else throw new L7e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],K);K=X}else if(Oyn(X)){if(Tne(K))_++,hCe(dCe(K),X,R,{end:et});else if(cCe(K)||dE(K))_++,hCe(K,X,R,{end:et});else if(UO(K))_++,hCe(K.readable,X,R,{end:et});else throw new L7e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],K);K=X}else K=G5t.from(X)}return(p!=null&&p.aborted||g!=null&&g.aborted)&&yF.nextTick(y),K}function jyn(r,o,l,{end:a}){let p=!1;if(o.on("close",()=>{p||l(new Tyn)}),r.pipe(o,{end:!1}),a){let g=function(){p=!0,o.end()};_yn(r)?yF.nextTick(g):r.once("end",g)}else l();return ore(r,{readable:!0,writable:!1},g=>{const w=r._readableState;g&&g.code==="ERR_STREAM_PREMATURE_CLOSE"&&w&&w.ended&&!w.errored&&!w.errorEmitted?r.once("end",l).once("error",l):l(g)}),ore(o,{readable:!1,writable:!0},l)}var x9e={pipelineImpl:Nxt,pipeline:$yn};const{pipeline:Dyn}=x9e,qte=X6(),{destroyer:Nyn}=H_,{isNodeStream:Xte,isReadable:q5t,isWritable:X5t,isWebStream:pCe,isTransformStream:iE,isWritableStream:Y5t,isReadableStream:J5t}=sk,{AbortError:Byn,codes:{ERR_INVALID_ARG_VALUE:Q5t,ERR_MISSING_ARGS:Fyn}}=Yg,zyn=WC;var Bxt=function(...o){if(o.length===0)throw new Fyn("streams");if(o.length===1)return qte.from(o[0]);const l=[...o];if(typeof o[0]=="function"&&(o[0]=qte.from(o[0])),typeof o[o.length-1]=="function"){const R=o.length-1;o[R]=qte.from(o[R])}for(let R=0;R0&&!(X5t(o[R])||Y5t(o[R])||iE(o[R])))throw new Q5t(`streams[${R}]`,l[R],"must be writable")}let a,p,g,w,y;function S(R){const j=w;w=null,j?j(R):R?y.destroy(R):!_&&!M&&y.destroy()}const E=o[0],I=Dyn(o,S),M=!!(X5t(E)||Y5t(E)||iE(E)),_=!!(q5t(I)||J5t(I)||iE(I));if(y=new qte({writableObjectMode:!!(E!=null&&E.writableObjectMode),readableObjectMode:!!(I!=null&&I.readableObjectMode),writable:M,readable:_}),M){if(Xte(E))y._write=function(j,K,q){E.write(j,K)?q():a=q},y._final=function(j){E.end(),p=j},E.on("drain",function(){if(a){const j=a;a=null,j()}});else if(pCe(E)){const K=(iE(E)?E.writable:E).getWriter();y._write=async function(q,Q,Z){try{await K.ready,K.write(q).catch(()=>{}),Z()}catch(X){Z(X)}},y._final=async function(q){try{await K.ready,K.close().catch(()=>{}),p=q}catch(Q){q(Q)}}}const R=iE(I)?I.readable:I;zyn(R,()=>{if(p){const j=p;p=null,j()}})}if(_){if(Xte(I))I.on("readable",function(){if(g){const R=g;g=null,R()}}),I.on("end",function(){y.push(null)}),y._read=function(){for(;;){const R=I.read();if(R===null){g=y._read;return}if(!y.push(R))return}};else if(pCe(I)){const j=(iE(I)?I.readable:I).getReader();y._read=async function(){for(;;)try{const{value:K,done:q}=await j.read();if(!y.push(K))return;if(q){y.push(null);return}}catch{return}}}}return y._destroy=function(R,j){!R&&w!==null&&(R=new Byn),g=null,a=null,p=null,w===null?j(R):(w=j,Xte(I)&&Nyn(I,R))},y};const Hyn=globalThis.AbortController||xz().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Kyn,ERR_INVALID_ARG_TYPE:EH,ERR_MISSING_ARGS:Uyn,ERR_OUT_OF_RANGE:Gyn},AbortError:x3}=Yg,{validateAbortSignal:XE,validateInteger:Z5t,validateObject:YE}=SH,Wyn=qa.Symbol("kWeak"),Vyn=qa.Symbol("kResistStopPropagation"),{finished:qyn}=WC,Xyn=Bxt,{addAbortSignalNoValidate:Yyn}=lie,{isWritable:Jyn,isNodeStream:Qyn}=sk,{deprecate:Zyn}=Np,{ArrayPrototypePush:e2n,Boolean:t2n,MathFloor:e8t,Number:n2n,NumberIsNaN:r2n,Promise:t8t,PromiseReject:n8t,PromiseResolve:i2n,PromisePrototypeThen:r8t,Symbol:Fxt}=qa,sre=Fxt("kEmpty"),i8t=Fxt("kEof");function o2n(r,o){if(o!=null&&YE(o,"options"),(o==null?void 0:o.signal)!=null&&XE(o.signal,"options.signal"),Qyn(r)&&!Jyn(r))throw new Kyn("stream",r,"must be writable");const l=Xyn(this,r);return o!=null&&o.signal&&Yyn(o.signal,l),l}function aie(r,o){if(typeof r!="function")throw new EH("fn",["Function","AsyncFunction"],r);o!=null&&YE(o,"options"),(o==null?void 0:o.signal)!=null&&XE(o.signal,"options.signal");let l=1;(o==null?void 0:o.concurrency)!=null&&(l=e8t(o.concurrency));let a=l-1;return(o==null?void 0:o.highWaterMark)!=null&&(a=e8t(o.highWaterMark)),Z5t(l,"options.concurrency",1),Z5t(a,"options.highWaterMark",0),a+=l,(async function*(){const g=Np.AbortSignalAny([o==null?void 0:o.signal].filter(t2n)),w=this,y=[],S={signal:g};let E,I,M=!1,_=0;function R(){M=!0,j()}function j(){_-=1,K()}function K(){I&&!M&&_=a||_>=l)&&await new t8t(Z=>{I=Z})}y.push(i8t)}catch(Q){const Z=n8t(Q);r8t(Z,j,R),y.push(Z)}finally{M=!0,E&&(E(),E=null)}}q();try{for(;;){for(;y.length>0;){const Q=await y[0];if(Q===i8t)return;if(g.aborted)throw new x3;Q!==sre&&(yield Q),y.shift(),K()}await new t8t(Q=>{E=Q})}}finally{M=!0,I&&(I(),I=null)}}).call(this)}function s2n(r=void 0){return r!=null&&YE(r,"options"),(r==null?void 0:r.signal)!=null&&XE(r.signal,"options.signal"),(async function*(){let l=0;for await(const p of this){var a;if(r!=null&&(a=r.signal)!==null&&a!==void 0&&a.aborted)throw new x3({cause:r.signal.reason});yield[l++,p]}}).call(this)}async function zxt(r,o=void 0){for await(const l of E9e.call(this,r,o))return!0;return!1}async function l2n(r,o=void 0){if(typeof r!="function")throw new EH("fn",["Function","AsyncFunction"],r);return!await zxt.call(this,async(...l)=>!await r(...l),o)}async function c2n(r,o){for await(const l of E9e.call(this,r,o))return l}async function u2n(r,o){if(typeof r!="function")throw new EH("fn",["Function","AsyncFunction"],r);async function l(a,p){return await r(a,p),sre}for await(const a of aie.call(this,l,o));}function E9e(r,o){if(typeof r!="function")throw new EH("fn",["Function","AsyncFunction"],r);async function l(a,p){return await r(a,p)?a:sre}return aie.call(this,l,o)}class a2n extends Uyn{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function f2n(r,o,l){var a;if(typeof r!="function")throw new EH("reducer",["Function","AsyncFunction"],r);l!=null&&YE(l,"options"),(l==null?void 0:l.signal)!=null&&XE(l.signal,"options.signal");let p=arguments.length>1;if(l!=null&&(a=l.signal)!==null&&a!==void 0&&a.aborted){const E=new x3(void 0,{cause:l.signal.reason});throw this.once("error",()=>{}),await qyn(this.destroy(E)),E}const g=new Hyn,w=g.signal;if(l!=null&&l.signal){const E={once:!0,[Wyn]:this,[Vyn]:!0};l.signal.addEventListener("abort",()=>g.abort(),E)}let y=!1;try{for await(const E of this){var S;if(y=!0,l!=null&&(S=l.signal)!==null&&S!==void 0&&S.aborted)throw new x3;p?o=await r(o,E,{signal:w}):(o=E,p=!0)}if(!y&&!p)throw new a2n}finally{g.abort()}return o}async function d2n(r){r!=null&&YE(r,"options"),(r==null?void 0:r.signal)!=null&&XE(r.signal,"options.signal");const o=[];for await(const a of this){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new x3(void 0,{cause:r.signal.reason});e2n(o,a)}return o}function h2n(r,o){const l=aie.call(this,r,o);return(async function*(){for await(const p of l)yield*p}).call(this)}function Hxt(r){if(r=n2n(r),r2n(r))return 0;if(r<0)throw new Gyn("number",">= 0",r);return r}function p2n(r,o=void 0){return o!=null&&YE(o,"options"),(o==null?void 0:o.signal)!=null&&XE(o.signal,"options.signal"),r=Hxt(r),(async function*(){var a;if(o!=null&&(a=o.signal)!==null&&a!==void 0&&a.aborted)throw new x3;for await(const g of this){var p;if(o!=null&&(p=o.signal)!==null&&p!==void 0&&p.aborted)throw new x3;r--<=0&&(yield g)}}).call(this)}function g2n(r,o=void 0){return o!=null&&YE(o,"options"),(o==null?void 0:o.signal)!=null&&XE(o.signal,"options.signal"),r=Hxt(r),(async function*(){var a;if(o!=null&&(a=o.signal)!==null&&a!==void 0&&a.aborted)throw new x3;for await(const g of this){var p;if(o!=null&&(p=o.signal)!==null&&p!==void 0&&p.aborted)throw new x3;if(r-- >0&&(yield g),r<=0)return}}).call(this)}p9e.streamReturningOperators={asIndexedPairs:Zyn(s2n,"readable.asIndexedPairs will be removed in a future version."),drop:p2n,filter:E9e,flatMap:h2n,map:aie,take:g2n,compose:o2n};p9e.promiseReturningOperators={every:l2n,forEach:u2n,reduce:f2n,toArray:d2n,some:zxt,find:c2n};var gCe,o8t;function Kxt(){if(o8t)return gCe;o8t=1;const{ArrayPrototypePop:r,Promise:o}=qa,{isIterable:l,isNodeStream:a,isWebStream:p}=sk,{pipelineImpl:g}=x9e,{finished:w}=WC;Uxt();function y(...S){return new o((E,I)=>{let M,_;const R=S[S.length-1];if(R&&typeof R=="object"&&!a(R)&&!l(R)&&!p(R)){const j=r(S);M=j.signal,_=j.end}g(S,(j,K)=>{j?I(j):E(K)},{signal:M,end:_})})}return gCe={finished:w,pipeline:y},gCe}var s8t;function Uxt(){if(s8t)return Y8e.exports;s8t=1;const{Buffer:r}=dm,{ObjectDefineProperty:o,ObjectKeys:l,ReflectApply:a}=qa,{promisify:{custom:p}}=Np,{streamReturningOperators:g,promiseReturningOperators:w}=p9e,{codes:{ERR_ILLEGAL_CONSTRUCTOR:y}}=Yg,S=Bxt,{setDefaultHighWaterMark:E,getDefaultHighWaterMark:I}=cie,{pipeline:M}=x9e,{destroyer:_}=H_,R=WC,j=Kxt(),K=sk,q=Y8e.exports=v9e.Stream;q.isDestroyed=K.isDestroyed,q.isDisturbed=K.isDisturbed,q.isErrored=K.isErrored,q.isReadable=K.isReadable,q.isWritable=K.isWritable,q.Readable=uie();for(const Z of l(g)){let ie=function(...je){if(new.target)throw y();return q.Readable.from(a(X,this,je))};const X=g[Z];o(ie,"name",{__proto__:null,value:X.name}),o(ie,"length",{__proto__:null,value:X.length}),o(q.Readable.prototype,Z,{__proto__:null,value:ie,enumerable:!1,configurable:!0,writable:!0})}for(const Z of l(w)){let ie=function(...je){if(new.target)throw y();return a(X,this,je)};const X=w[Z];o(ie,"name",{__proto__:null,value:X.name}),o(ie,"length",{__proto__:null,value:X.length}),o(q.Readable.prototype,Z,{__proto__:null,value:ie,enumerable:!1,configurable:!0,writable:!0})}q.Writable=k9e(),q.Duplex=X6(),q.Transform=$xt,q.PassThrough=Dxt,q.pipeline=M;const{addAbortSignal:Q}=lie;return q.addAbortSignal=Q,q.finished=R,q.destroy=_,q.compose=S,q.setDefaultHighWaterMark=E,q.getDefaultHighWaterMark=I,o(q,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return j}}),o(M,p,{__proto__:null,enumerable:!0,get(){return j.pipeline}}),o(R,p,{__proto__:null,enumerable:!0,get(){return j.finished}}),q.Stream=q,q._isUint8Array=function(X){return X instanceof Uint8Array},q._uint8ArrayToBuffer=function(X){return r.from(X.buffer,X.byteOffset,X.byteLength)},Y8e.exports}(function(r){const o=Uxt(),l=Kxt(),a=o.Readable.destroy;r.exports=o.Readable,r.exports._uint8ArrayToBuffer=o._uint8ArrayToBuffer,r.exports._isUint8Array=o._isUint8Array,r.exports.isDisturbed=o.isDisturbed,r.exports.isErrored=o.isErrored,r.exports.isReadable=o.isReadable,r.exports.Readable=o.Readable,r.exports.Writable=o.Writable,r.exports.Duplex=o.Duplex,r.exports.Transform=o.Transform,r.exports.PassThrough=o.PassThrough,r.exports.addAbortSignal=o.addAbortSignal,r.exports.finished=o.finished,r.exports.destroy=o.destroy,r.exports.destroy=a,r.exports.pipeline=o.pipeline,r.exports.compose=o.compose,Object.defineProperty(o,"promises",{configurable:!0,enumerable:!0,get(){return l}}),r.exports.Stream=o.Stream,r.exports.default=r.exports})(z9t);var b2n=z9t.exports;class w2n{constructor(o,...l){this.load=F9t(async()=>{const a=await o();return new a(...l)})}import(o,l){const a=new b2n.PassThrough({objectMode:!0});return Promise.resolve().then(async()=>{const g=(await this.load()).import(o,l);g.on("prefix",(w,y)=>{a.emit("prefix",w,y)}),g.on("error",w=>{a.emit("error",w),a.emit("end")}),g.pipe(a)}),a}}function pm(r){return class extends w2n{constructor(...o){super(r,...o)}}}const m2n=new tre,v2n=new tre,wb={parsers:m2n,serializers:v2n},y2n=pm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-RV_eTkg7.js");return{default:r}},__vite__mapDeps([0,1,2,3,4]))).default),TH=pm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-BQuzNdW2.js");return{default:r}},__vite__mapDeps([5,1,2,6]))).default),k2n=pm(async()=>(await Xg(async()=>{const{default:r}=await import("./CustomRdfXmlParser-j_ZzoDnu.js");return{default:r}},__vite__mapDeps([7,3]))).default),fie=pm(async()=>(await Xg(async()=>{const{default:r}=await import("./index-C7nnL0Je.js");return{default:r}},__vite__mapDeps([8,1,2]))).default),C2n=pm(async()=>(await Xg(async()=>{const{default:r}=await import("./CustomJsonLdSerializer-B2oQjduZ.js");return{default:r}},__vite__mapDeps([9,1]))).default);wb.parsers.set("application/ld+json",new y2n);wb.parsers.set("application/trig",new TH);wb.parsers.set("application/n-quads",new TH);wb.parsers.set("application/n-triples",new TH);wb.parsers.set("text/n3",new TH);wb.parsers.set("text/turtle",new TH);wb.parsers.set("application/rdf+xml",new k2n);wb.serializers.set("application/ld+json",new C2n);wb.serializers.set("application/n-quads",new fie);wb.serializers.set("application/n-triples",new fie);wb.serializers.set("text/n3",new fie);wb.serializers.set("text/turtle",new fie);var $7e={exports:{}},Gxt=F_.EventEmitter;const S2n={},x2n=Object.freeze(Object.defineProperty({__proto__:null,default:S2n},Symbol.toStringTag,{value:"Module"})),die=Rwn(x2n);var bCe,l8t;function E2n(){if(l8t)return bCe;l8t=1;function r(j,K){var q=Object.keys(j);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(j);K&&(Q=Q.filter(function(Z){return Object.getOwnPropertyDescriptor(j,Z).enumerable})),q.push.apply(q,Q)}return q}function o(j){for(var K=1;K0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(q){var Q={data:q,next:this.head};this.length===0&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(this.length!==0){var q=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,q}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(q){if(this.length===0)return"";for(var Q=this.head,Z=""+Q.data;Q=Q.next;)Z+=q+Q.data;return Z}},{key:"concat",value:function(q){if(this.length===0)return E.alloc(0);for(var Q=E.allocUnsafe(q>>>0),Z=this.head,X=0;Z;)R(Z.data,Q,X),X+=Z.data.length,Z=Z.next;return Q}},{key:"consume",value:function(q,Q){var Z;return qie.length?ie.length:q;if(je===ie.length?X+=ie:X+=ie.slice(0,q),q-=je,q===0){je===ie.length?(++Z,Q.next?this.head=Q.next:this.head=this.tail=null):(this.head=Q,Q.data=ie.slice(je));break}++Z}return this.length-=Z,X}},{key:"_getBuffer",value:function(q){var Q=E.allocUnsafe(q),Z=this.head,X=1;for(Z.data.copy(Q),q-=Z.data.length;Z=Z.next;){var ie=Z.data,je=q>ie.length?ie.length:q;if(ie.copy(Q,Q.length-q,0,je),q-=je,q===0){je===ie.length?(++X,Z.next?this.head=Z.next:this.head=this.tail=null):(this.head=Z,Z.data=ie.slice(je));break}++X}return this.length-=X,Q}},{key:_,value:function(q,Q){return M(this,o(o({},Q),{},{depth:0,customInspect:!1}))}}]),j}(),bCe}function T2n(r,o){var l=this,a=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return a||p?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Uc.nextTick(j7e,this,r)):Uc.nextTick(j7e,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(g){!o&&g?l._writableState?l._writableState.errorEmitted?Uc.nextTick(Ine,l):(l._writableState.errorEmitted=!0,Uc.nextTick(c8t,l,g)):Uc.nextTick(c8t,l,g):o?(Uc.nextTick(Ine,l),o(g)):Uc.nextTick(Ine,l)}),this)}function c8t(r,o){j7e(r,o),Ine(r)}function Ine(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function I2n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function j7e(r,o){r.emit("error",o)}function P2n(r,o){var l=r._readableState,a=r._writableState;l&&l.autoDestroy||a&&a.autoDestroy?r.destroy(o):r.emit("error",o)}var Wxt={destroy:T2n,undestroy:I2n,errorOrDestroy:P2n},JE={};function M2n(r,o){r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o}var Vxt={};function gm(r,o,l){l||(l=Error);function a(g,w,y){return typeof o=="string"?o:o(g,w,y)}var p=function(g){M2n(w,g);function w(y,S,E){return g.call(this,a(y,S,E))||this}return w}(l);p.prototype.name=l.name,p.prototype.code=r,Vxt[r]=p}function u8t(r,o){if(Array.isArray(r)){var l=r.length;return r=r.map(function(a){return String(a)}),l>2?"one of ".concat(o," ").concat(r.slice(0,l-1).join(", "),", or ")+r[l-1]:l===2?"one of ".concat(o," ").concat(r[0]," or ").concat(r[1]):"of ".concat(o," ").concat(r[0])}else return"of ".concat(o," ").concat(String(r))}function O2n(r,o,l){return r.substr(0,o.length)===o}function _2n(r,o,l){return(l===void 0||l>r.length)&&(l=r.length),r.substring(l-o.length,l)===o}function R2n(r,o,l){return typeof l!="number"&&(l=0),l+o.length>r.length?!1:r.indexOf(o,l)!==-1}gm("ERR_INVALID_OPT_VALUE",function(r,o){return'The value "'+o+'" is invalid for option "'+r+'"'},TypeError);gm("ERR_INVALID_ARG_TYPE",function(r,o,l){var a;typeof o=="string"&&O2n(o,"not ")?(a="must not be",o=o.replace(/^not /,"")):a="must be";var p;if(_2n(r," argument"))p="The ".concat(r," ").concat(a," ").concat(u8t(o,"type"));else{var g=R2n(r,".")?"property":"argument";p='The "'.concat(r,'" ').concat(g," ").concat(a," ").concat(u8t(o,"type"))}return p+=". Received type ".concat(typeof l),p},TypeError);gm("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");gm("ERR_METHOD_NOT_IMPLEMENTED",function(r){return"The "+r+" method is not implemented"});gm("ERR_STREAM_PREMATURE_CLOSE","Premature close");gm("ERR_STREAM_DESTROYED",function(r){return"Cannot call "+r+" after a stream was destroyed"});gm("ERR_MULTIPLE_CALLBACK","Callback called multiple times");gm("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");gm("ERR_STREAM_WRITE_AFTER_END","write after end");gm("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);gm("ERR_UNKNOWN_ENCODING",function(r){return"Unknown encoding: "+r},TypeError);gm("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");JE.codes=Vxt;var A2n=JE.codes.ERR_INVALID_OPT_VALUE;function L2n(r,o,l){return r.highWaterMark!=null?r.highWaterMark:o?r[l]:null}function $2n(r,o,l,a){var p=L2n(o,a,l);if(p!=null){if(!(isFinite(p)&&Math.floor(p)===p)||p<0){var g=a?l:"highWaterMark";throw new A2n(g,p)}return Math.floor(p)}return r.objectMode?16:16*1024}var qxt={getHighWaterMark:$2n},D7e={exports:{}};typeof Object.create=="function"?D7e.exports=function(o,l){l&&(o.super_=l,o.prototype=Object.create(l.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:D7e.exports=function(o,l){if(l){o.super_=l;var a=function(){};a.prototype=l.prototype,o.prototype=new a,o.prototype.constructor=o}};var IH=D7e.exports,j2n=D2n;function D2n(r,o){if(wCe("noDeprecation"))return r;var l=!1;function a(){if(!l){if(wCe("throwDeprecation"))throw new Error(o);wCe("traceDeprecation")?console.trace(o):console.warn(o),l=!0}return r.apply(this,arguments)}return a}function wCe(r){try{if(!window.localStorage)return!1}catch{return!1}var o=window.localStorage[r];return o==null?!1:String(o).toLowerCase()==="true"}var mCe,a8t;function Xxt(){if(a8t)return mCe;a8t=1,mCe=bt;function r(kt){var Ze=this;this.next=null,this.entry=null,this.finish=function(){Zn(Ze,kt)}}var o;bt.WritableState=et;var l={deprecate:j2n},a=Gxt,p=dm.Buffer,g=(typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function w(kt){return p.from(kt)}function y(kt){return p.isBuffer(kt)||kt instanceof g}var S=Wxt,E=qxt,I=E.getHighWaterMark,M=JE.codes,_=M.ERR_INVALID_ARG_TYPE,R=M.ERR_METHOD_NOT_IMPLEMENTED,j=M.ERR_MULTIPLE_CALLBACK,K=M.ERR_STREAM_CANNOT_PIPE,q=M.ERR_STREAM_DESTROYED,Q=M.ERR_STREAM_NULL_VALUES,Z=M.ERR_STREAM_WRITE_AFTER_END,X=M.ERR_UNKNOWN_ENCODING,ie=S.errorOrDestroy;IH(bt,a);function je(){}function et(kt,Ze,Xt){o=o||x_(),kt=kt||{},typeof Xt!="boolean"&&(Xt=Ze instanceof o),this.objectMode=!!kt.objectMode,Xt&&(this.objectMode=this.objectMode||!!kt.writableObjectMode),this.highWaterMark=I(this,kt,"writableHighWaterMark",Xt),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Mn=kt.decodeStrings===!1;this.decodeStrings=!Mn,this.defaultEncoding=kt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(pr){ft(Ze,pr)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=kt.emitClose!==!1,this.autoDestroy=!!kt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}et.prototype.getBuffer=function(){for(var Ze=this.bufferedRequest,Xt=[];Ze;)Xt.push(Ze),Ze=Ze.next;return Xt},function(){try{Object.defineProperty(et.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var mt;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(mt=Function.prototype[Symbol.hasInstance],Object.defineProperty(bt,Symbol.hasInstance,{value:function(Ze){return mt.call(this,Ze)?!0:this!==bt?!1:Ze&&Ze._writableState instanceof et}})):mt=function(Ze){return Ze instanceof this};function bt(kt){o=o||x_();var Ze=this instanceof o;if(!Ze&&!mt.call(bt,this))return new bt(kt);this._writableState=new et(kt,this,Ze),this.writable=!0,kt&&(typeof kt.write=="function"&&(this._write=kt.write),typeof kt.writev=="function"&&(this._writev=kt.writev),typeof kt.destroy=="function"&&(this._destroy=kt.destroy),typeof kt.final=="function"&&(this._final=kt.final)),a.call(this)}bt.prototype.pipe=function(){ie(this,new K)};function ce(kt,Ze){var Xt=new Z;ie(kt,Xt),Uc.nextTick(Ze,Xt)}function Be(kt,Ze,Xt,Mn){var pr;return Xt===null?pr=new Q:typeof Xt!="string"&&!Ze.objectMode&&(pr=new _("chunk",["string","Buffer"],Xt)),pr?(ie(kt,pr),Uc.nextTick(Mn,pr),!1):!0}bt.prototype.write=function(kt,Ze,Xt){var Mn=this._writableState,pr=!1,ye=!Mn.objectMode&&y(kt);return ye&&!p.isBuffer(kt)&&(kt=w(kt)),typeof Ze=="function"&&(Xt=Ze,Ze=null),ye?Ze="buffer":Ze||(Ze=Mn.defaultEncoding),typeof Xt!="function"&&(Xt=je),Mn.ending?ce(this,Xt):(ye||Be(this,Mn,kt,Xt))&&(Mn.pendingcb++,pr=xe(this,Mn,ye,kt,Ze,Xt)),pr},bt.prototype.cork=function(){this._writableState.corked++},bt.prototype.uncork=function(){var kt=this._writableState;kt.corked&&(kt.corked--,!kt.writing&&!kt.corked&&!kt.bufferProcessing&&kt.bufferedRequest&&un(this,kt))},bt.prototype.setDefaultEncoding=function(Ze){if(typeof Ze=="string"&&(Ze=Ze.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ze+"").toLowerCase())>-1))throw new X(Ze);return this._writableState.defaultEncoding=Ze,this},Object.defineProperty(bt.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ae(kt,Ze,Xt){return!kt.objectMode&&kt.decodeStrings!==!1&&typeof Ze=="string"&&(Ze=p.from(Ze,Xt)),Ze}Object.defineProperty(bt.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function xe(kt,Ze,Xt,Mn,pr,ye){if(!Xt){var Ce=ae(Ze,Mn,pr);Mn!==Ce&&(Xt=!0,pr="buffer",Mn=Ce)}var ee=Ze.objectMode?1:Mn.length;Ze.length+=ee;var V=Ze.length0)if(typeof Ce!="string"&&!ue.objectMode&&Object.getPrototypeOf(Ce)!==a.prototype&&(Ce=g(Ce)),V)ue.endEmitted?je(ye,new Q):ae(ye,ue,Ce,!0);else if(ue.ended)je(ye,new K);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!ee?(Ce=ue.decoder.write(Ce),ue.objectMode||Ce.length!==0?ae(ye,ue,Ce,!1):un(ye,ue)):ae(ye,ue,Ce,!1)}else V||(ue.reading=!1,un(ye,ue))}return!ue.ended&&(ue.length=U?ye=U:(ye--,ye|=ye>>>1,ye|=ye>>>2,ye|=ye>>>4,ye|=ye>>>8,ye|=ye>>>16,ye++),ye}function yt(ye,Ce){return ye<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:ye!==ye?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(ye>Ce.highWaterMark&&(Ce.highWaterMark=He(ye)),ye<=Ce.length?ye:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}ce.prototype.read=function(ye){S("read",ye),ye=parseInt(ye,10);var Ce=this._readableState,ee=ye;if(ye!==0&&(Ce.emittedReadable=!1),ye===0&&Ce.needReadable&&((Ce.highWaterMark!==0?Ce.length>=Ce.highWaterMark:Ce.length>0)||Ce.ended))return S("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?Xt(this):At(this),null;if(ye=yt(ye,Ce),ye===0&&Ce.ended)return Ce.length===0&&Xt(this),null;var V=Ce.needReadable;S("need readable",V),(Ce.length===0||Ce.length-ye0?oe=Ze(ye,Ce):oe=null,oe===null?(Ce.needReadable=Ce.length<=Ce.highWaterMark,ye=0):(Ce.length-=ye,Ce.awaitDrain=0),Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),ee!==ye&&Ce.ended&&Xt(this)),oe!==null&&this.emit("data",oe),oe};function ft(ye,Ce){if(S("onEofChunk"),!Ce.ended){if(Ce.decoder){var ee=Ce.decoder.end();ee&&ee.length&&(Ce.buffer.push(ee),Ce.length+=Ce.objectMode?1:ee.length)}Ce.ended=!0,Ce.sync?At(ye):(Ce.needReadable=!1,Ce.emittedReadable||(Ce.emittedReadable=!0,Jt(ye)))}}function At(ye){var Ce=ye._readableState;S("emitReadable",Ce.needReadable,Ce.emittedReadable),Ce.needReadable=!1,Ce.emittedReadable||(S("emitReadable",Ce.flowing),Ce.emittedReadable=!0,Uc.nextTick(Jt,ye))}function Jt(ye){var Ce=ye._readableState;S("emitReadable_",Ce.destroyed,Ce.length,Ce.ended),!Ce.destroyed&&(Ce.length||Ce.ended)&&(ye.emit("readable"),Ce.emittedReadable=!1),Ce.needReadable=!Ce.flowing&&!Ce.ended&&Ce.length<=Ce.highWaterMark,kt(ye)}function un(ye,Ce){Ce.readingMore||(Ce.readingMore=!0,Uc.nextTick(kn,ye,Ce))}function kn(ye,Ce){for(;!Ce.reading&&!Ce.ended&&(Ce.length1&&pr(V.pipes,ye)!==-1)&&!Lt&&(S("false write response, pause",V.awaitDrain),V.awaitDrain++),ee.pause())}function Kn(de){S("onerror",de),br(),ye.removeListener("error",Kn),o(ye,"error")===0&&je(ye,de)}mt(ye,"error",Kn);function dn(){ye.removeListener("finish",Rn),br()}ye.once("close",dn);function Rn(){S("onfinish"),ye.removeListener("close",dn),br()}ye.once("finish",Rn);function br(){S("unpipe"),ee.unpipe(ye)}return ye.emit("pipe",ee),V.flowing||(S("pipe resume"),ee.resume()),ye};function qt(ye){return function(){var ee=ye._readableState;S("pipeOnDrain",ee.awaitDrain),ee.awaitDrain&&ee.awaitDrain--,ee.awaitDrain===0&&o(ye,"data")&&(ee.flowing=!0,kt(ye))}}ce.prototype.unpipe=function(ye){var Ce=this._readableState,ee={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return ye&&ye!==Ce.pipes?this:(ye||(ye=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,ye&&ye.emit("unpipe",this,ee),this);if(!ye){var V=Ce.pipes,oe=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var ue=0;ue0,V.flowing!==!1&&this.resume()):ye==="readable"&&!V.endEmitted&&!V.readableListening&&(V.readableListening=V.needReadable=!0,V.flowing=!1,V.emittedReadable=!1,S("on readable",V.length,V.reading),V.length?At(this):V.reading||Uc.nextTick(Rt,this)),ee},ce.prototype.addListener=ce.prototype.on,ce.prototype.removeListener=function(ye,Ce){var ee=l.prototype.removeListener.call(this,ye,Ce);return ye==="readable"&&Uc.nextTick(on,this),ee},ce.prototype.removeAllListeners=function(ye){var Ce=l.prototype.removeAllListeners.apply(this,arguments);return(ye==="readable"||ye===void 0)&&Uc.nextTick(on,this),Ce};function on(ye){var Ce=ye._readableState;Ce.readableListening=ye.listenerCount("readable")>0,Ce.resumeScheduled&&!Ce.paused?Ce.flowing=!0:ye.listenerCount("data")>0&&ye.resume()}function Rt(ye){S("readable nexttick read 0"),ye.read(0)}ce.prototype.resume=function(){var ye=this._readableState;return ye.flowing||(S("resume"),ye.flowing=!ye.readableListening,an(this,ye)),ye.paused=!1,this};function an(ye,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,Uc.nextTick(Zn,ye,Ce))}function Zn(ye,Ce){S("resume",Ce.reading),Ce.reading||ye.read(0),Ce.resumeScheduled=!1,ye.emit("resume"),kt(ye),Ce.flowing&&!Ce.reading&&ye.read(0)}ce.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function kt(ye){var Ce=ye._readableState;for(S("flow",Ce.flowing);Ce.flowing&&ye.read()!==null;);}ce.prototype.wrap=function(ye){var Ce=this,ee=this._readableState,V=!1;ye.on("end",function(){if(S("wrapped end"),ee.decoder&&!ee.ended){var ge=ee.decoder.end();ge&&ge.length&&Ce.push(ge)}Ce.push(null)}),ye.on("data",function(ge){if(S("wrapped data"),ee.decoder&&(ge=ee.decoder.write(ge)),!(ee.objectMode&&ge==null)&&!(!ee.objectMode&&(!ge||!ge.length))){var Ge=Ce.push(ge);Ge||(V=!0,ye.pause())}});for(var oe in ye)this[oe]===void 0&&typeof ye[oe]=="function"&&(this[oe]=function(Ge){return function(){return ye[Ge].apply(ye,arguments)}}(oe));for(var ue=0;ue=Ce.length?(Ce.decoder?ee=Ce.buffer.join(""):Ce.buffer.length===1?ee=Ce.buffer.first():ee=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):ee=Ce.buffer.consume(ye,Ce.decoder),ee}function Xt(ye){var Ce=ye._readableState;S("endReadable",Ce.endEmitted),Ce.endEmitted||(Ce.ended=!0,Uc.nextTick(Mn,Ce,ye))}function Mn(ye,Ce){if(S("endReadableNT",ye.endEmitted,ye.length),!ye.endEmitted&&ye.length===0&&(ye.endEmitted=!0,Ce.readable=!1,Ce.emit("end"),ye.autoDestroy)){var ee=Ce._writableState;(!ee||ee.autoDestroy&&ee.finished)&&Ce.destroy()}}typeof Symbol=="function"&&(ce.from=function(ye,Ce){return ie===void 0&&(ie=H2n()),ie(ce,ye,Ce)});function pr(ye,Ce){for(var ee=0,V=ye.length;ee0;return e3n(w,S,E,function(I){p||(p=I),I&&g.forEach(m8t),!S&&(g.forEach(m8t),a(p))})});return o.reduce(t3n)}var i3n=r3n;(function(r,o){o=r.exports=Jxt(),o.Stream=o,o.Readable=o,o.Writable=Xxt(),o.Duplex=x_(),o.Transform=Qxt,o.PassThrough=X2n,o.finished=T9e,o.pipeline=i3n})($7e,$7e.exports);var I9e=$7e.exports;const o3n=_3(I9e);class tEt{init(){this.ns=Kne}}const s3n=new CH,l3n={apply:(r,o,l)=>r(l[0]),get:(r,o)=>r(o)};function Gn(r,{factory:o=s3n}={}){const l=(a="")=>o.namedNode(`${r}${a.raw||a}`);return typeof Proxy>"u"?l:new Proxy(l,l3n)}const c3n=Gn("http://www.w3.org/ns/auth/acl#"),u3n=c3n,a3n=Gn("https://www.w3.org/ns/activitystreams#"),f3n=a3n,d3n=Gn("http://purl.org/ontology/bibo/"),h3n=d3n,p3n=Gn("http://creativecommons.org/ns#"),g3n=p3n,b3n=Gn("http://www.w3.org/ns/auth/cert#"),w3n=b3n,m3n=Gn("http://www.w3.org/2011/content#"),v3n=m3n,y3n=Gn("http://qudt.org/vocab/constant/"),k3n=y3n,C3n=Gn("http://www.cidoc-crm.org/cidoc-crm/"),S3n=C3n,x3n=Gn("http://www.w3.org/ns/csvw#"),E3n=x3n,T3n=Gn("http://commontag.org/ns#"),I3n=T3n,P3n=Gn("http://datashapes.org/sparql#"),M3n=P3n,O3n=Gn("http://datashapes.org/dash#"),_3n=O3n,R3n=Gn("http://dbpedia.org/ontology/"),A3n=R3n,L3n=Gn("http://purl.org/dc/elements/1.1/"),$3n=L3n,j3n=Gn("http://purl.org/dc/dcam/"),D3n=j3n,N3n=Gn("http://www.w3.org/ns/dcat#"),B3n=N3n,F3n=Gn("http://purl.org/dc/dcmitype/"),z3n=F3n,H3n=Gn("http://purl.org/dc/terms/"),K3n=H3n,U3n=Gn("http://www.ics.forth.gr/isl/CRMdig/"),G3n=U3n,W3n=Gn("http://qudt.org/vocab/discipline/"),V3n=W3n,q3n=Gn("http://usefulinc.com/ns/doap#"),X3n=q3n,Y3n=Gn("http://www.w3.org/ns/dpv#"),J3n=Y3n,Q3n=Gn("http://www.w3.org/ns/dqv#"),Z3n=Q3n,e4n=Gn("http://www.linkedmodel.org/schema/dtype#"),t4n=e4n,n4n=Gn("http://www.w3.org/ns/duv#"),r4n=n4n,i4n=Gn("http://www.w3.org/ns/earl#"),o4n=i4n,s4n=Gn("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#"),l4n=s4n,c4n=Gn("http://www.w3.org/2003/12/exif/ns#"),u4n=c4n,a4n=Gn("http://xmlns.com/foaf/0.1/"),f4n=a4n,d4n=Gn("http://purl.org/vocab/frbr/core#"),h4n=d4n,p4n=Gn("http://www.opengis.net/ont/geosparql#"),g4n=p4n,b4n=Gn("http://www.opengis.net/def/function/geosparql/"),w4n=b4n,m4n=Gn("http://www.opengis.net/def/rule/geosparql/"),v4n=m4n,y4n=Gn("http://www.opengis.net/ont/gml#"),k4n=y4n,C4n=Gn("http://www.geonames.org/ontology#"),S4n=C4n,x4n=Gn("http://purl.org/goodrelations/v1#"),E4n=x4n,T4n=Gn("http://www.w3.org/2003/g/data-view#"),I4n=T4n,P4n=Gn("https://gs1.org/voc/"),M4n=P4n,O4n=Gn("http://vocab.gtfs.org/terms#"),_4n=O4n,R4n=Gn("http://www.w3.org/2011/http#"),A4n=R4n,L4n=Gn("http://www.w3.org/ns/hydra/core#"),$4n=L4n,j4n=Gn("http://www.w3.org/2002/12/cal/icaltzd#"),D4n=j4n,N4n=Gn("https://linked.art/ns/terms/"),B4n=N4n,F4n=Gn("http://www.w3.org/ns/ldp#"),z4n=F4n,H4n=Gn("http://www.w3.org/2000/10/swap/list#"),K4n=H4n,U4n=Gn("http://www.w3.org/ns/locn#"),G4n=U4n,W4n=Gn("http://www.w3.org/2000/10/swap/log#"),V4n=W4n,q4n=Gn("http://lexvo.org/ontology#"),X4n=q4n,Y4n=Gn("http://w3id.org/nfdi4ing/metadata4ing#"),J4n=Y4n,Q4n=Gn("http://www.w3.org/ns/ma-ont#"),Z4n=Q4n,e6n=Gn("http://www.loc.gov/mads/rdf/v1#"),t6n=e6n,n6n=Gn("http://www.w3.org/2000/10/swap/math#"),r6n=n6n,i6n=Gn("http://www.w3.org/ns/oa#"),o6n=i6n,s6n=Gn("http://ogp.me/ns#"),l6n=s6n,c6n=Gn("http://www.w3.org/ns/solid/oidc#"),u6n=c6n,a6n=Gn("http://www.w3.org/ns/org#"),f6n=a6n,d6n=Gn("http://www.w3.org/2002/07/owl#"),h6n=d6n,p6n=Gn("http://www.w3.org/ns/pim/space#"),g6n=p6n,b6n=Gn("http://qudt.org/vocab/prefix/"),w6n=b6n,m6n=Gn("http://www.w3.org/ns/prov#"),v6n=m6n,y6n=Gn("http://purl.org/linked-data/cube#"),k6n=y6n,C6n=Gn("http://qudt.org/vocab/dimensionvector/"),S6n=C6n,x6n=Gn("http://qudt.org/vocab/quantitykind/"),E6n=x6n,T6n=Gn("http://qudt.org/schema/qudt/"),I6n=T6n,P6n=Gn("http://rdaregistry.info/Elements/u/"),M6n=P6n,O6n=Gn("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),Zv=O6n,_6n=Gn("http://www.w3.org/ns/rdfa#"),R6n=_6n,A6n=Gn("http://www.w3.org/2000/01/rdf-schema#"),L6n=A6n,$6n=Gn("http://purl.org/stuff/rev#"),j6n=$6n,D6n=Gn("https://www.ica.org/standards/RiC/ontology#"),N6n=D6n,B6n=Gn("http://www.w3.org/ns/r2rml#"),F6n=B6n,z6n=Gn("http://purl.org/rss/1.0/"),H6n=z6n,K6n=Gn("http://schema.org/"),U6n=K6n,G6n=Gn("http://www.w3.org/ns/sparql-service-description#"),W6n=G6n,V6n=Gn("http://purl.org/linked-data/sdmx#"),q6n=V6n,X6n=Gn("http://semanticweb.cs.vu.nl/2009/11/sem/"),Y6n=X6n,J6n=Gn("http://www.w3.org/2000/10/swap/set#"),Q6n=J6n,Z6n=Gn("http://www.opengis.net/ont/sf#"),ekn=Z6n,tkn=Gn("http://www.w3.org/ns/shacl#"),nkn=tkn,rkn=Gn("http://www.w3.org/ns/shex#"),ikn=rkn,okn=Gn("https://www.w3.org/ns/shacl-shacl#"),skn=okn,lkn=Gn("http://rdfs.org/sioc/ns#"),ckn=lkn,ukn=Gn("http://www.w3.org/2004/02/skos/core#"),akn=ukn,fkn=Gn("http://www.w3.org/2008/05/skos-xl#"),dkn=fkn,hkn=Gn("http://www.w3.org/ns/solid/terms#"),pkn=hkn,gkn=Gn("http://www.w3.org/ns/sosa/"),bkn=gkn,wkn=Gn("http://qudt.org/vocab/sou/"),mkn=wkn,vkn=Gn("http://www.w3.org/ns/ssn/"),ykn=vkn,kkn=Gn("http://www.w3.org/ns/posix/stat#"),Ckn=kkn,Skn=Gn("http://www.w3.org/2000/10/swap/string#"),xkn=Skn,Ekn=Gn("http://www.w3.org/2006/03/test-description#"),Tkn=Ekn,Ikn=Gn("http://www.w3.org/2006/time#"),Pkn=Ikn,Mkn=Gn("http://qudt.org/vocab/unit/"),Okn=Mkn,_kn=Gn("http://www.linkedmodel.org/schema/vaem#"),Rkn=_kn,Akn=Gn("http://purl.org/vocab/vann/"),Lkn=Akn,$kn=Gn("http://www.w3.org/2006/vcard/ns#"),jkn=$kn,Dkn=Gn("http://rdfs.org/ns/void#"),Nkn=Dkn,Bkn=Gn("http://www.w3.org/2003/06/sw-vocab-status/ns#"),Fkn=Bkn,zkn=Gn("http://www.w3.org/2007/05/powder-s#"),Hkn=zkn,Kkn=Gn("http://www.w3.org/2003/01/geo/wgs84_pos#"),Ukn=Kkn,Gkn=Gn("http://www.w3.org/1999/xhtml/vocab#"),Wkn=Gkn,Vkn=Gn("http://rdf-vocabulary.ddialliance.org/xkos#"),qkn=Vkn,Xkn=Gn("http://www.w3.org/2001/XMLSchema#"),FF=Xkn,Ykn=Gn("http://www.w3.org/2007/rif#"),Jkn=Ykn,Qkn=Gn("http://rdf.data-vocabulary.org/#"),Zkn=Qkn,e5n=Gn("http://www.w3.org/2007/05/powder#"),t5n=e5n,n5n=Gn("http://www.w3.org/XML/1998/namespace/"),r5n=n5n;function i5n(r){return"_:"+r.value}function o5n(r,o){return[...r].map(l=>o(l)).join(` +`)+` +`}function s5n(){return""}function nEt(r){return"<"+r.value+">"}const l5n=/["\\\\\n\r]/,c5n=/["\\\\\n\r]/g,u5n={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function a5n(r){return u5n[r]}function f5n(r){return l5n.test(r)?r.replace(c5n,a5n):r}function d5n(r){const o=f5n(r.value);return r.datatype.value==="http://www.w3.org/2001/XMLSchema#string"?'"'+o+'"':r.datatype.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"?'"'+o+'"@'+r.language:'"'+o+'"^^'+nEt(r.datatype)}function h5n(r,o){const l=o(r.subject),a=o(r.predicate),p=o(r.object),g=o(r.graph);return`${l} ${a} ${p} ${g?g+" ":""}.`}function p5n(r){return"?"+r.value}function w3(r){if(!r)return null;if(r.termType==="BlankNode")return i5n(r);if(r.termType==="DefaultGraph")return s5n();if(r.termType==="Literal")return d5n(r);if(r.termType==="NamedNode")return nEt(r);if(r.termType==="Quad"||r.subject&&r.predicate&&r.object&&r.graph)return h5n(r,w3);if(r.termType==="Variable")return p5n(r);if(r[Symbol.iterator])return o5n(r,w3);throw new Error(`unknown termType ${r.termType}`)}class kF{constructor(o){if(this.index=new Map,o)for(const[l,a]of o)this.set(l,a)}get size(){return this.index.size}clear(){this.index.clear()}delete(o){return this.index.delete(w3(o))}*entries(){for(const[,{term:o,value:l}]of this.index)yield[o,l]}forEach(o,l){for(const a of this.entries())o.call(l,a[1],a[0],this)}get(o){const l=this.index.get(w3(o));return l&&l.value}has(o){return this.index.has(w3(o))}*keys(){for(const[,{term:o}]of this.index)yield o}set(o,l){const a=w3(o);return this.index.set(a,{term:o,value:l}),this}*values(){for(const[,{value:o}]of this.index)yield o}[Symbol.iterator](){return this.entries()[Symbol.iterator]()}}var rEt={exports:{}};const g5n=die,b5n=/([\x00-\x20<>"{}|^`\\]|%(?![0-9A-F][0-9A-F]))/g,w5n=(r,o)=>{let l=o.codePointAt(0).toString(16)+"";return l.length>4?"\\U"+l.padStart(8,"0"):"\\u"+l.padStart(4,"0")},lre=r=>r.replace(b5n,w5n),P9e=/^(?:[\u0000-@[-`{-\u00bf\u00d7\u00f7\u0300-\u306f\u037e\u2000-\u200b\u200e-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].+|(?:.+?[\u0000-,\/:-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].*)|.+\.)$/,iEt=/^(?:\\|[\u0000-\/;-@[-^`{-\u00bf\u00d7\u00f7\u0300-\u306f\u037e\u2000-\u200b\u200e-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff].+|(?:.+?(?:\\|[\u0000-,\/;-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff]).+)|(?:.+?(?:\\|[\u0000-,.\/;-@[-^`{-\u00b6\u00b8-\u00bf\u00d7\u00f7\u037e\u2000-\u200b\u200e-\u203e\u2041-\u206f\u2190-\u2bff\u2ff0-\u3000\ud800-\uf8ff\ufdd0-\ufddf\ufffe\uffff])))$/,m5n=/^([Tt](rue)?|TRUE)$/,v5n=/^([Ff](alse)?|FALSE)$/,y5n="xxxxxxxx_xxxx_4xxx_yxxx_xxxxxxxxxxxx",k5n=/[xy]/g,CF=()=>{let r=Date.now();return typeof performance<"u"&&(r+=performance.now()),y5n.replace(k5n,o=>{let l=(r+Math.random()*16)%16|0;return r=Math.floor(r/16),(o==="x"?l:l&3|8).toString(16)})},gie=Symbol("prefix-cache"),C5n=/[$^*()+[\\{}|.?]/g,S5n="((?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_:0-9]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%])(?:(?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_\\-0-9\\xb7\\u{0300}-\\u{036f}\\u{203f}-\\u{2040}.:]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%])*(?:[A-Za-z\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u{02ff}\\u{0370}-\\u{037d}\\u{037f}-\\u{1fff}\\u{200c}-\\u{200d}\\u{2070}-\\u{218f}\\u{2c00}-\\u{2fef}\\u{3001}-\\u{d7ff}\\u{f900}-\\u{fdcf}\\u{fdf0}-\\u{fffd}\\u{10000}-\\u{effff}_\\-0-9\\xb7\\u{0300}-\\u{036f}\\u{203f}-\\u{2040}:]|%[A-Fa-f0-9]{2}|\\\\[_~.\\-!$&'()*+,;=/?#@%]))?)$";function v8t(r,o=!1){let l=[],a={};for(let p in r){let g=r[p];o&&P9e.test(p)||(a[g]=p,l.push(g.replace(C5n,"\\$&")))}return l.length?(r[gie]={_r_iris:new RegExp(`^(${l.join("|")})${S5n}`,"u"),_h_inverse:a},Object.freeze(r)):r}const oEt=(r,o)=>{let l=o[gie];if(l){let a=l._r_iris.exec(r);if(a)return l._h_inverse[a[1]]+":"+a[2]}else{let a="",p="",g=-1;for(let w in o){let y=o[w];if(r.indexOf(y)===0&&y.length>g&&!P9e.test(w)){let S=r.slice(y.length);iEt.test(S)||(p=S,a=w,g=y.length)}}if(g!==-1)return a+":"+p}return"<"+r+">"},PH=(r,o={})=>{let l=o[gie];if(l){let a=l._r_iris.exec(r);if(a)return l._h_inverse[a[1]]+":"+a[2]}else{let a="",p=-1;for(let g in o){let w=o[g];r.startsWith(w)&&w.length>p&&(a=g,p=w.length)}if(p!==-1)return a+":"+r.slice(p)}return">"+r},x5n=/^([^:]*):(.*)$/;function sEt(r,o={},l=!1){switch(r[0]){case">":return"<"+r.slice(1)+">";case"_":return r.length<=2||r[2]==="#"?new Tz()[l?"verbose":"terse"]():r;case'"':return JSON.stringify(r.slice(1));case"@":{let a=r.indexOf('"');return JSON.stringify(r.slice(a+1))+r.slice(0,a)}case"^":{let a=r.indexOf('"');return JSON.stringify(r.slice(a+1))+"^^"+sEt(r.slice(1,a),o,l)}case"*":return"";case"<":case"`":return Qo.c1(r).terse(o);default:{if(r==="a")return l?"":"a";let[,a,p]=x5n.exec(r);return l||iEt.test(p)||P9e.test(a)?"<"+o[a]+p+">":r}}}class VC{valueOf(){return this.concise()}toString(){return this.concise()}equals(o){return o?this===o||o.termType===this.termType&&o.value===this.value:!1}}Object.assign(VC.prototype,{isGraphyTerm:!0});class Id extends VC{constructor(o){super(),this.value=o}concise(o={}){return PH(this.value,o)}terse(o={},l=!1){return oEt(lre(this.value),o)}verbose(){return"<"+lre(this.value)+">"}isolate(){return{termType:"NamedNode",value:this.value}}}Object.assign(Id.prototype,{termType:"NamedNode",isNamedNode:!0});const N7e=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");N7e.isRdfTypeAlias=!0;const lEt=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),E5n=lEt.isolate(),T5n=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#first"),y8t=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"),I5n=new Id("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"),P5n=new Id("http://www.w3.org/2001/XMLSchema#date"),M5n=new Id("http://www.w3.org/2001/XMLSchema#dateTime"),MC=new Id("http://www.w3.org/2001/XMLSchema#string");class bie extends VC{equals(o){return o?this===o||o.termType==="Literal"&&o.value===this.value&&this.datatype.equals(o.datatype)&&o.language===this.language:!1}verbose(){return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+this.datatype.verbose())}concise(o){return this.language?"@"+this.language+'"'+this.value:"^"+PH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+l)}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(bie.prototype,{datatype:MC,language:"",termType:"Literal",isLiteral:!0,isSimple:!1});class SF extends bie{constructor(o,l){super(),this.value=o,this.language=(l[0]==="@"?l.slice(1):l).toLowerCase()}verbose(){return JSON.stringify(this.value)+"@"+this.language}concise(){return"@"+this.language+'"'+this.value}terse(){return JSON.stringify(this.value)+"@"+this.language}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:E5n}}}Object.assign(SF.prototype,{datatype:lEt,isLanguaged:!0});class K_ extends bie{verbose(){return JSON.stringify(this.value)+"^^"+this.datatype.verbose()}concise(o){return"^"+PH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+"^^"+l}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(K_.prototype,{isDatatyped:!0});class Yte extends K_{constructor(o,l){super(),this.value=o,this.datatype=l}}class cEt extends VC{constructor(o){super(),this.value=o}get isSimple(){return!this.language&&!this.datatype.equals(MC)}get isLanguaged(){return!!this.language}get isDatatyped(){return MC.equals(this.datatype)}equals(o){return o?this===o||o.termType==="Literal"&&o.value===this.value&&this.datatype.equals(o.datatype)&&o.language===this.language:!1}verbose(){return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+this.datatype.verbose())}concise(o){return this.language?"@"+this.language+'"'+this.value:"^"+PH(this.datatype.value,o)+'"'+this.value}terse(o={}){let l=this.datatype.terse(o);return JSON.stringify(this.value)+(this.language?"@"+this.language:"^^"+l)}isolate(){return{termType:"Literal",value:this.value,language:this.language,datatype:this.datatype.isolate()}}}Object.assign(cEt.prototype,{datatype:MC,language:"",termType:"Literal",isLiteral:!0});class hE extends bie{constructor(o){super(),this.value=o}verbose(){return JSON.stringify(this.value)}concise(){return'"'+this.value}terse(){return JSON.stringify(this.value)}}Object.assign(hE.prototype,{isSimple:!0});const uEt=new Id("http://www.w3.org/2001/XMLSchema#integer");class IE extends K_{static from(o){let l=new IE(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+uEt.concise(o)+'"'+this.value}terse(){return this.value.includes("e")?`"${this.value}"^^`:this.value}}Object.assign(IE.prototype,{datatype:uEt,isNumeric:!0,isInteger:!0});const MH=new Id("http://www.w3.org/2001/XMLSchema#double");class k3 extends K_{static from(o){let l=new k3(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+MH.concise(o)+'"'+this.value}terse(){return this.number.toExponential()}}Object.assign(k3.prototype,{datatype:MH,isNumeric:!0,isDouble:!0});const aEt=new Id("http://www.w3.org/2001/XMLSchema#decimal");class PE extends K_{static from(o){let l=new PE(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.number=o}concise(o={}){return"^"+aEt.concise(o)+'"'+this.value}terse(){return this.value.includes("e")?`"${this.value}"^^`:this.value+(this.value.includes(".")?"":".0")}}Object.assign(PE.prototype,{datatype:aEt,isNumeric:!0,isDecimal:!0});const fEt=new Id("http://www.w3.org/2001/XMLSchema#boolean");class g3 extends K_{static from(o){let l=new g3(+o);return l.value=o,l}constructor(o){super(),this.value=o+"",this.boolean=o}concise(o={}){return"^"+fEt.concise(o)+'"'+this.value}terse(){return this.value+""}}Object.assign(g3.prototype,{datatype:fEt,isBoolean:!0});class dEt extends k3{constructor(){super(1/0),this.value="INF"}terse(o){return'"INF"^^'+MH.terse(o)}}Object.assign(dEt.prototype,{isInfinite:!0});class hEt extends k3{constructor(){super(-1/0),this.value="-INF"}terse(o){return'"-INF"^^'+MH.terse(o)}}Object.assign(hEt.prototype,{isInfinite:!0});class pEt extends k3{constructor(){super(NaN),this.value="NaN"}terse(o){return'"NaN"^^'+MH.terse(o)}}Object.assign(pEt.prototype,{isNaN:!0});function yE(r,o=!1){this.value=r,this.isAnonymous=o}yE.prototype=Object.assign(Object.create(VC.prototype),{termType:"BlankNode",isBlankNode:!0,concise(){return"_:"+this.value},terse(){return"_:"+this.value},verbose(){return"_:"+this.value},isolate(){return{termType:"BlankNode",value:this.value}}});function Tz(){}Tz.prototype=Object.assign(Object.create(yE.prototype),{isAnonymous:!0,isEphemeral:!0,concise(){return"_:#"+this.value},terse(){return"[]"},verbose(){return"_:"+this.value},isolate(){return{termType:"BlankNode",value:this.value}},equals(){return!1}});Object.defineProperty(Tz.prototype,"value",{get(){return"_"+CF()}});class gEt extends VC{constructor(o){super(),this.value=o}concise(){return"?"+this.value}terse(){throw new Error("Cannot call .terse() on 'Variable' term type")}verbose(){throw new Error("Cannot call .verbose() on 'Variable' term type")}isolate(){return{termType:"Variable",value:this.value}}}Object.assign(gEt.prototype,{termType:"Variable",isVariable:!0});function Iz(){}Iz.prototype=Object.assign(Object.create(VC.prototype),{value:"",termType:"DefaultGraph",isDefaultGraph:!0,concise(){return"*"},terse(){return""},verbose(){return""},isolate(){return{termType:"DefaultGraph",value:""}}});Object.assign(Object.create(VC.prototype),{value:"",termType:"NoGraph",concise(){return""},terse(){return""},verbose(){return""},isolate(){return{termType:"NoGraph",value:""}}});const cre=new Iz;function Qv(r,o,l,a=cre){this.subject=r,this.predicate=o,this.object=l,this.graph=a}Object.assign(Qv.prototype,{isGraphyQuad:!0,equals(r){return r?this===r||this.object.equals(r.object)&&this.subject.equals(r.subject)&&this.predicate.equals(r.predicate)&&this.graph.equals(r.graph):!1},valueOf(){return this.verbose()},concise(r={}){return[this.subject.concise(r),this.predicate.concise(r),this.object.concise(r),this.graph.concise(r)]},terse(r){let o=this.graph.isDefaultGraph;return(o?"":this.graph.terse(r)+" { ")+this.subject.terse(r)+" "+this.predicate.terse(r)+" "+this.object.terse(r)+" ."+(o?"":" }")},verbose(){return this.subject.verbose()+" "+this.predicate.verbose()+" "+this.object.verbose()+" "+(this.graph.isDefaultGraph?"":this.graph.verbose()+" ")+"."},isolate(){return{subject:this.subject.isolate(),predicate:this.predicate.isolate(),object:this.object.isolate(),graph:this.graph.isolate()}}});let k8t={namedNode(r){return new Id(r)},blankNode(r,o){return new yE(r,o)},literal(r){return new cEt(r)},defaultGraph(){return new Iz},quad(r,o,l,a){return new Qv(r,o,l,a||cre)},integer(r){return IE.from(r)},double(r){return k3.from(r)},decimal(r){return PE.from(r)},boolean(r){return new g3(r)}};const Qo=rEt.exports={concise:PH,adopt(r){let o=Object.create(r),l=!1;if(typeof r.boolean!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#boolean");o.boolean=p=>r.literal(p+"",a),l=!0}if(typeof r.double!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#double");o.double=p=>r.literal(p+"",a),l=!0}if(typeof r.decimal!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#decimal");o.decimal=p=>r.literal(p+"",a),l=!0}if(typeof r.integer!="function"){let a=r.namedNode("http://www.w3.org/2001/XMLSchema#integer");o.integer=p=>r.literal(p+"",a),l=!0}return typeof r.simpleLiteral!="function"&&(o.simpleLiteral=a=>r.literal(a),l=!0),typeof r.languagedLiteral!="function"&&(o.languagedLiteral=(a,p)=>r.literal(a,p),l=!0),typeof r.datatypedLiteral!="function"&&(o.datatypedLiteral=(a,p)=>r.literal(a,p),l=!0),l?o:r},raw:k8t,unfiltered:{...k8t,literal(r,o){return!o||MC.equals(o)?new hE(r):typeof o=="string"?new SF(r,o):MC.equals(o)?new hE(r):new Yte(r,o)},simpleLiteral(r){return new hE(r)},languagedLiteral(r,o){return new SF(r,o)},datatypedLiteral(r,o){return MC.equals(o)?new hE(r):new Yte(r,o)}},number(r){return typeof r=="number"&&(!Number.isFinite(r)||Number.isNaN(r))?Qo.double(r):Number.isInteger(r)||typeof r=="bigint"?Qo.integer(r):Qo.decimal(r)},date(r){return Qo.literal(r.toISOString().replace(/T.+$/,"Z"),P5n)},dateTime(r){return Qo.literal(r.toISOString(),M5n)},namedNode(r){return new Id(r)},ephemeral(){return new Tz},anonymous(){return new Tz},blankNode(r){if(r){if(typeof r=="string")return new yE(r)}else return new yE("_"+CF(),!0);throw new TypeError(`factory.blankNode(label) expects 'label' parameter to be falsy or a string; instead found: ${r}`)},literal(r,o){return!o||MC.equals(o)?new hE(r):typeof o=="string"?new SF(r,o):new Yte(r,o)},integer(r){let o=typeof r;if(o==="number"){if(Number.isFinite(r)){if(!Number.isInteger(r))throw new Error("Number is not an integer: "+r)}else throw Number.isNaN(r)?new Error("XSD integer cannot encode NaN. Try using double"):new Error("XSD integer cannot encode +/-infinity. Try using double");return new IE(r)}else if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:integer");let l=+r;if(Number.isNaN(l)||!Number.isInteger(l))throw new Error("Invalid integer string: "+r);return new IE(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:integer"):r===null?new Error("Refusing to serialize null value as xsd:integer"):new Error("XSD integer expects a number type or integer string")},double(r){let o=typeof r;if(o==="number")return Number.isFinite(r)?new k3(r):Number.isNaN(r)?new pEt:r>0?new dEt:new hEt;if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:double");let l=+r;if(Number.isNaN(l))throw new Error("Invalid decimal string: "+r);return new k3(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:double"):r===null?new Error("Refusing to serialize null value as xsd:double"):new Error("XSD double expects a number type or double string")},decimal(r){let o=typeof r;if(o==="number"){if(!Number.isFinite(r))throw Number.isNaN(r)?new Error("XSD decimal cannot encode NaN. Try using double"):new Error("XSD decimal cannot encode +/-infinity. Try using double");return new PE(r)}else if(o==="string"){if(r==="")throw new Error("Refusing to serialize empty string as xsd:decimal");let l=+r;if(Number.isNaN(l))throw new Error("Invalid decimal string: "+r);return new PE(l)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:decimal"):r===null?new Error("Refusing to serialize null value as xsd:decimal"):new Error("XSD decimal expects a number type or decimal string")},boolean(r){let o=typeof r;if(o==="boolean")return new g3(r);if(o==="number"){if(r===1)return new g3(!0);if(r===0)return new g3(!1);throw new Error("Boolean value 'w_value' must be either a '1' or '0' if using numbers")}else if(o==="string"){if(m5n.test(r))return new g3(!0);if(v5n.test(r))return new g3(!1);throw r===""?new Error("Refusing to serialize empty string as xsd:boolean"):new Error("Invalid boolean string: "+r)}else throw o==="undefined"?new Error("Refusing to serialize undefined value as xsd:boolean"):r===null?new Error("Refusing to serialize null value as xsd:boolean"):new Error("XSD boolean expects a boolean type or boolean string")},defaultGraph(){return new Iz},variable(r){return new gEt(r)},triple(r,o,l){let a=new Error("It is strongly encouraged to use .quad() instead of .triple()");return console.warn(a.stack.replace(/^(\s*)Error:/,"$1Warning:")),new Qv(r,o,l)},quad(r,o,l,a){return new Qv(r,o,l,a||cre)},term(r,o){return typeof r=="string"?Qo.c1(r,o):Qo.from.rdfjs_term(r)},c1(r,o={}){switch(r[0]){case"^":{let l=r.indexOf('"');if(l===-1)throw new Error(`Invalid concise-term string, no content literal delimiter found: '${r}'`);let a=r.slice(1,l);return Qo.literal(r.slice(l+1),Qo.c1_node_explicit(a,o))}case"@":{let l=r.indexOf('"');if(l===-1)throw new Error(`Invalid concise-term string, no content literal delimiter found: '${r}'`);let a=r.slice(1,l);return Qo.literal(r.slice(l+1),a)}case'"':return Qo.literal(r.slice(1));default:return Qo.c1_node(r,o)}},c1_node(r,o={}){if(r==="a")return N7e;if(r==="*")return Qo.defaultGraph();if(r[0]==="_"){if(r[1]!==":")throw new Error(`Invliad concise-term string, prefixes are not allowed to start with an underscore: '${r}'`);return r[2]==="#"||r.length===2?Qo.ephemeral():Qo.blankNode(r.slice(2))}return Qo.c1_node_explicit(r,o)},c1_named_node(r,o={}){return r==="a"?N7e:Qo.c1_node_explicit(r,o)},c1_node_explicit(r,o={}){switch(r[0]){case">":return Qo.namedNode(r.slice(1));case"<":throw new Error(`Whoops! It looks like this concise-term string starts with a '<' character. Remember to use '>' if you are trying to make an absolute IRI reference. +Invalid concise-term string '${r}'`);case"`":throw new Error(`The backtick character '\`' is reserved for concise-struct key directives and should not be used in the object position. +Invalid concise-term string '${r}'`);default:return this.c1_prefixed_node(r,o)}},c1_prefixed_node(r,o={}){let l=r.indexOf(":");if(l===-1)throw new Error(`A relative or prefixed node must include a ':' character. +Invalid concise-term string for node: '${r}'`);let a=r.slice(0,l),p=r.slice(l+1);if(a in o)return Qo.namedNode(o[a]+p);throw new Error(`Prefix not defined: '${a}'`)},c1_to_nt:sEt,*quads(r,o={}){for(let l in r)yield*Qo.triples(r[l],o,l)},*triples(r,o={},l="*"){let a=Qo.c1(l,o);for(let p in r){let g=Qo.c1(p,o),w=r[p];yield*Qo.pairs(a,g,w,o)}},*pairs(r,o,l,a={}){for(let p in l){let g=Qo.c1(p,a),w=l[p];yield*Qo.objects(r,o,g,w,a)}},*collection(r,o,l,a={}){yield*Qo.objects(r,o,T5n,l[0],a);let p=l.slice(1);if(!p.length)yield new Qv(o,y8t,I5n,r);else{let g=Qo.blankNode();yield new Qv(o,y8t,g,r),yield*Qo.collection(r,g,p,a)}},*objects(r,o,l,a,p,g=!1){switch(typeof a){case"string":{yield new Qv(o,l,Qo.c1(a,p),r);break}case"number":{yield new Qv(o,l,Qo.number(a),r);break}case"object":{if(Array.isArray(a))if(g){let y=Qo.blankNode();yield new Qv(o,l,y,r),yield*Qo.collection(r,y,a,p)}else for(let y of a)yield*Qo.objects(r,o,l,y,p,!0);else{let y=Qo.blankNode();yield new Qv(o,l,y,r),yield*Qo.pairs(r,y,a,p)}break}default:throw new Error(`invalid object type: ${typeof a}`)}},from:{term(r){return r===null||r.isGraphyTerm?r:Qo.from.rdfjs_term(r)},quad(r){if(r===null||r.isGraphyQuad)return r;let o=Qo.from;return new Qv(o.rdfjs_term(r.subject),o.rdfjs_term(r.predicate),o.rdfjs_term(r.object),r.graph?o.rdfjs_term(r.graph):cre)},rdfjs_term(r){switch(r.termType){case"NamedNode":return new Id(r.value);case"BlankNode":return new yE(r.value);case"Literal":return Qo.literal(r.value,r.language?r.language:r.datatype?new Id(r.datatype.value):null);case"DefaultGraph":return new Iz;default:throw new TypeError(`invalid termType: ${r.termType}`)}},sparql_result(r){switch(r.type){case"uri":return new Id(r.value);case"literal":case"typed-literal":return"xml:lang"in r?new SF(r.value,r["xml:lang"]):"datatype"in r&&r.datatype!=="http://www.w3.org/2001/XMLSchema#string"?new Yte(r.value,new Id(r.datatype)):new hE(r.value);case"bnode":return new yE(r.value);default:throw new Error(`unexpected SPARQL Result JSON Format Term type: ${r.type}`)}}},to:{boolean:r=>g3.from(r),integer:r=>IE.from(r),decimal:r=>PE.from(r),double:r=>k3.from(r)},comment(r={}){return`\`[${CF()}]${JSON.stringify({...r,type:"comment"})}`},newlines(){return`\`[${CF()}]{"type":"newlines"}`},config(r){if(typeof r!="string")throw new TypeError(`Expected 'key' argument to be a string, instead found ${typeof r}`);return`\`[${CF()}]{"type":"config","value":${JSON.stringify(r)}}`},hash(r){let o=Qo.from.quad(r),l=g5n.createHash("sha256");return l.update(o.verbose()),l.digest("hex")},cache_prefixes:v8t,cachePrefixes:v8t,terse:oEt,clean_iri:lre,cleanIri:lre,$_PREFIX_CACHE:gie};Object.assign(Qo,{c3:Qo.triples,c4:Qo.quads,fromTerm:Qo.from.term,fromQuad:Qo.from.quad});var O5n=rEt.exports;const C8t=_3(O5n),_5n={rif:"http://www.w3.org/2007/rif#",v:"http://rdf.data-vocabulary.org/#",wdr:"http://www.w3.org/2007/05/powder#",xml:"http://www.w3.org/XML/1998/namespace/"},R5n={acl:"http://www.w3.org/ns/auth/acl#",as:"https://www.w3.org/ns/activitystreams#",bibo:"http://purl.org/ontology/bibo/",cc:"http://creativecommons.org/ns#",cert:"http://www.w3.org/ns/auth/cert#",cnt:"http://www.w3.org/2011/content#",constant:"http://qudt.org/vocab/constant/",crm:"http://www.cidoc-crm.org/cidoc-crm/",csvw:"http://www.w3.org/ns/csvw#",ctag:"http://commontag.org/ns#","dash-sparql":"http://datashapes.org/sparql#",dash:"http://datashapes.org/dash#",dbo:"http://dbpedia.org/ontology/",dc11:"http://purl.org/dc/elements/1.1/",dcam:"http://purl.org/dc/dcam/",dcat:"http://www.w3.org/ns/dcat#",dcmitype:"http://purl.org/dc/dcmitype/",dcterms:"http://purl.org/dc/terms/",dig:"http://www.ics.forth.gr/isl/CRMdig/",discipline:"http://qudt.org/vocab/discipline/",doap:"http://usefulinc.com/ns/doap#",dpv:"http://www.w3.org/ns/dpv#",dqv:"http://www.w3.org/ns/dqv#",dtype:"http://www.linkedmodel.org/schema/dtype#",duv:"http://www.w3.org/ns/duv#",earl:"http://www.w3.org/ns/earl#",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",exif:"http://www.w3.org/2003/12/exif/ns#",foaf:"http://xmlns.com/foaf/0.1/",frbr:"http://purl.org/vocab/frbr/core#",geo:"http://www.opengis.net/ont/geosparql#",geof:"http://www.opengis.net/def/function/geosparql/",geor:"http://www.opengis.net/def/rule/geosparql/",gml:"http://www.opengis.net/ont/gml#",gn:"http://www.geonames.org/ontology#",gr:"http://purl.org/goodrelations/v1#",grddl:"http://www.w3.org/2003/g/data-view#",gs1:"https://gs1.org/voc/",gtfs:"http://vocab.gtfs.org/terms#",http:"http://www.w3.org/2011/http#",hydra:"http://www.w3.org/ns/hydra/core#",ical:"http://www.w3.org/2002/12/cal/icaltzd#",la:"https://linked.art/ns/terms/",ldp:"http://www.w3.org/ns/ldp#",list:"http://www.w3.org/2000/10/swap/list#",locn:"http://www.w3.org/ns/locn#",log:"http://www.w3.org/2000/10/swap/log#",lvont:"http://lexvo.org/ontology#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",ma:"http://www.w3.org/ns/ma-ont#",mads:"http://www.loc.gov/mads/rdf/v1#",math:"http://www.w3.org/2000/10/swap/math#",oa:"http://www.w3.org/ns/oa#",og:"http://ogp.me/ns#",oidc:"http://www.w3.org/ns/solid/oidc#",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pim:"http://www.w3.org/ns/pim/space#",prefix:"http://qudt.org/vocab/prefix/",prov:"http://www.w3.org/ns/prov#",qb:"http://purl.org/linked-data/cube#",qkdv:"http://qudt.org/vocab/dimensionvector/",quantitykind:"http://qudt.org/vocab/quantitykind/",qudt:"http://qudt.org/schema/qudt/",rdau:"http://rdaregistry.info/Elements/u/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfa:"http://www.w3.org/ns/rdfa#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rev:"http://purl.org/stuff/rev#",rico:"https://www.ica.org/standards/RiC/ontology#",rr:"http://www.w3.org/ns/r2rml#",rss:"http://purl.org/rss/1.0/",schema:"http://schema.org/",sd:"http://www.w3.org/ns/sparql-service-description#",sdmx:"http://purl.org/linked-data/sdmx#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",set:"http://www.w3.org/2000/10/swap/set#",sf:"http://www.opengis.net/ont/sf#",sh:"http://www.w3.org/ns/shacl#",shex:"http://www.w3.org/ns/shex#",shsh:"http://www.w3.org/ns/shacl-shacl#",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",skosxl:"http://www.w3.org/2008/05/skos-xl#",solid:"http://www.w3.org/ns/solid/terms#",sosa:"http://www.w3.org/ns/sosa/",sou:"http://qudt.org/vocab/sou/",ssn:"http://www.w3.org/ns/ssn/",stat:"http://www.w3.org/ns/posix/stat#",string:"http://www.w3.org/2000/10/swap/string#",test:"http://www.w3.org/2006/03/test-description#",time:"http://www.w3.org/2006/time#",unit:"http://qudt.org/vocab/unit/",vaem:"http://www.linkedmodel.org/schema/vaem#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",void:"http://rdfs.org/ns/void#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",vso:"http://purl.org/vso/ns#",wdrs:"http://www.w3.org/2007/05/powder-s#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",xhv:"http://www.w3.org/1999/xhtml/vocab#",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",xsd:"http://www.w3.org/2001/XMLSchema#"},B7e={...R5n,..._5n};function bEt(r,o={}){const l={...B7e,...o},a=Array.from(Object.entries(l)).filter(([,p])=>r.startsWith(p));if(a.length){a.sort(([,g],[,w])=>w.length-g.length);const p=a[0];return r.replace(new RegExp(`^${p[1]}`),`${p[0]}:`)}return""}class wEt{constructor(o){this.term=o}toTerm(){const o=`"""${this.term.value.replace(/"$/,'\\"')}"""`;return{terse:l=>o+this.langOrDatatype(l),verbose:l=>o+this.langOrDatatype(l)}}langOrDatatype(o){if(this.term.language)return`@${this.term.language}`;if(this.term.datatype.equals(FF.string))return"";const l=bEt(this.term.datatype.value,o);return l?`^^${l}`:`^^<${this.term.datatype.value}>`}}const mEt=new Map([[wEt,r=>r.toTerm()]]);function A5n(r){return r.has(Zv.first)&&r.has(Zv.rest)}class L5n extends o3n.Transform{constructor({prefixes:o={},strict:l=!1,preserveListNodeProperties:a=!1}={}){super({objectMode:!0}),this.prefixes=o,this.graphs=new kF,this.blankNodes=new kF,this.strict=l,this.preserveListNodeProperties=a}_transform({subject:o,predicate:l,object:a,graph:p},g,w){const y=this.getGraph(p),S=y.get(o)||{predicates:new kF},E=S.predicates.get(l)||[];if(S.predicates.set(l,[...E,a]),a.termType==="BlankNode"){const I=this.blankNodes.get(a)||0;this.blankNodes.set(a,I+1)}y.set(o,S),w()}_flush(){const o=[...this.graphs].reduce((l,[a,p])=>{const g=this.toHashKey(a);let w=l[g]||{};return w=[...p].reduce(this.toConciseHash(a).bind(this),w),{...l,[g]:w}},{});this.push({type:this.strict?"c4r":"c4",value:o}),this.push(null)}toConciseHash(o){return(l,[a,{predicates:p}])=>{if(!this.strict&&this.blankNodes.get(a)===1)return l;const g=this.toHashKey(a);return{...l,[g]:this.createPropertyMap(o,p)}}}createPropertyMap(o,l,a=0){const p=g=>{if(!this.strict&&this.blankNodes.get(g)===1){const w=this.graphs.get(o).get(g);if(w)return this.createPropertyMap(o,w.predicates,a+1)}return this.toHashKey(g)};if(!this.strict&&A5n(l)&&!this.preserveListNodeProperties){const[g]=l.get(Zv.first),[w]=l.get(Zv.rest);if(a===0){let S;if(w.equals(Zv.nil))S=this.toHashKey(Zv.nil);else{const E=p(w);S=Array.isArray(E)?[...E]:[E]}return{[this.toHashKey(Zv.first)]:[p(g)],[this.toHashKey(Zv.rest)]:[S]}}if(w.equals(Zv.nil))return[p(g)];const y=p(w);return[p(g),...y]}return[...l].reduce((g,[w,y])=>{const S=this.toHashKey(w),E=y.map(p.bind(this));return{...g,[S]:E}},{})}getGraph(o){const l=this.graphs.get(o)||new kF;return this.graphs.set(o,l),l}literalHash(o){if(o.datatype&&!this.strict)switch(o.datatype.value){case FF.integer.value:{const l=+o.value;if(Number.isInteger(l))return l;break}case FF.decimal.value:{const l=+o.value;if(!Number.isNaN(l)&&!Number.isInteger(l))return l;break}case FF.boolean.value:{if(o.value==="true")return!0;if(o.value==="false")return!1;break}}return o.value.includes(` +`)?new wEt(o):C8t.fromTerm(o).concise(this.prefixes)}toHashKey(o){return o.termType==="Literal"?this.literalHash(o):o.equals(Zv.type)?"a":C8t.fromTerm(o).concise(this.prefixes)}}async function M9e(r,o={}){const l=(await r).default;return class{constructor(a={}){this.defaults=a}import(a,{preserveListNodeProperties:p,...g}={}){const w={...this.defaults.prefixes||{},...g.prefixes||{}},y=l({prefixes:w,coercions:o.coercions});return a.pipe(new L5n({prefixes:w,strict:o.strict,preserveListNodeProperties:p})).pipe(y),y}}}const vEt=pm(()=>M9e(Xg(()=>import("./main-zTQ0tXXK.js").then(r=>r.m),__vite__mapDeps([10,11,12,13])),{coercions:mEt})),$5n=pm(()=>M9e(Xg(()=>import("./main-CQ6G9sma.js").then(r=>r.m),__vite__mapDeps([14,12,13])),{strict:!0})),j5n=pm(()=>M9e(Xg(()=>import("./main-yWOklOAz.js").then(r=>r.m),__vite__mapDeps([15,11,12,13])),{strict:!0,coercions:mEt}));async function yEt(r){const o=(await r).default;return class{import(l,a){return l.pipe(a?o(a):o())}}}const kEt=pm(()=>yEt(Xg(()=>import("./main-Br7cBokn.js").then(r=>r.m),__vite__mapDeps([16,13])))),CEt=pm(()=>yEt(Xg(()=>import("./main-DcNn2okZ.js").then(r=>r.m),__vite__mapDeps([17,13])))),D5n=pm(async()=>{const r=(await Xg(async()=>{const{default:o}=await import("./index-DjJhAlRP.js");return{default:o}},__vite__mapDeps([18,1,4]))).default;return class extends r{constructor({prefixes:l={},...a}={}){super({compact:!0,skipGraphProperty:!0,encoding:"string",...a}),this.prefixes=l}import(l,{prefixes:a={}}={}){const p={...this.prefixes,...a};return super.import(l,{context:p})}}}),N5n=pm(async()=>{const r=await Xg(()=>import("./index-DCe_24Mq.js"),__vite__mapDeps([19,6]));return class{import(o,l){return new r.StreamParser({format:"text/n3"}).import(o,{...l})}}}),bm=new j9t({});bm.import(wb);const py={jsonLd:"application/ld+json",ntriples:"application/n-triples",nquads:"application/n-quads",notation3:"text/n3",rdfXml:"application/rdf+xml",trig:"application/trig",turtle:"text/turtle"};bm.serializers.set(py.jsonLd,new D5n);bm.serializers.set(py.notation3,new vEt);bm.serializers.set(py.turtle,new vEt);bm.serializers.set(py.trig,new j5n);bm.serializers.set(py.rdfXml,new $5n);bm.parsers.set(py.notation3,new N5n);bm.parsers.set(py.turtle,new kEt);bm.parsers.set(py.trig,new kEt);bm.parsers.set(py.ntriples,new CEt);bm.parsers.set(py.nquads,new CEt);/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Pne=globalThis,O9e=Pne.ShadowRoot&&(Pne.ShadyCSS===void 0||Pne.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_9e=Symbol(),S8t=new WeakMap;let SEt=class{constructor(o,l,a){if(this._$cssResult$=!0,a!==_9e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=l}get styleSheet(){let o=this.o;const l=this.t;if(O9e&&o===void 0){const a=l!==void 0&&l.length===1;a&&(o=S8t.get(l)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),a&&S8t.set(l,o))}return o}toString(){return this.cssText}};const B5n=r=>new SEt(typeof r=="string"?r:r+"",void 0,_9e),F5n=(r,...o)=>{const l=r.length===1?r[0]:o.reduce((a,p,g)=>a+(w=>{if(w._$cssResult$===!0)return w.cssText;if(typeof w=="number")return w;throw Error("Value passed to 'css' function must be a 'css' function result: "+w+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(p)+r[g+1],r[0]);return new SEt(l,r,_9e)},z5n=(r,o)=>{if(O9e)r.adoptedStyleSheets=o.map(l=>l instanceof CSSStyleSheet?l:l.styleSheet);else for(const l of o){const a=document.createElement("style"),p=Pne.litNonce;p!==void 0&&a.setAttribute("nonce",p),a.textContent=l.cssText,r.appendChild(a)}},x8t=O9e?r=>r:r=>r instanceof CSSStyleSheet?(o=>{let l="";for(const a of o.cssRules)l+=a.cssText;return B5n(l)})(r):r;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:H5n,defineProperty:K5n,getOwnPropertyDescriptor:U5n,getOwnPropertyNames:G5n,getOwnPropertySymbols:W5n,getPrototypeOf:V5n}=Object,OC=globalThis,E8t=OC.trustedTypes,q5n=E8t?E8t.emptyScript:"",xCe=OC.reactiveElementPolyfillSupport,zF=(r,o)=>r,F7e={toAttribute(r,o){switch(o){case Boolean:r=r?q5n:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,o){let l=r;switch(o){case Boolean:l=r!==null;break;case Number:l=r===null?null:Number(r);break;case Object:case Array:try{l=JSON.parse(r)}catch{l=null}}return l}},xEt=(r,o)=>!H5n(r,o),T8t={attribute:!0,type:String,converter:F7e,reflect:!1,hasChanged:xEt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),OC.litPropertyMetadata??(OC.litPropertyMetadata=new WeakMap);class GO extends HTMLElement{static addInitializer(o){this._$Ei(),(this.l??(this.l=[])).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,l=T8t){if(l.state&&(l.attribute=!1),this._$Ei(),this.elementProperties.set(o,l),!l.noAccessor){const a=Symbol(),p=this.getPropertyDescriptor(o,a,l);p!==void 0&&K5n(this.prototype,o,p)}}static getPropertyDescriptor(o,l,a){const{get:p,set:g}=U5n(this.prototype,o)??{get(){return this[l]},set(w){this[l]=w}};return{get(){return p==null?void 0:p.call(this)},set(w){const y=p==null?void 0:p.call(this);g.call(this,w),this.requestUpdate(o,y,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){return this.elementProperties.get(o)??T8t}static _$Ei(){if(this.hasOwnProperty(zF("elementProperties")))return;const o=V5n(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(zF("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zF("properties"))){const l=this.properties,a=[...G5n(l),...W5n(l)];for(const p of a)this.createProperty(p,l[p])}const o=this[Symbol.metadata];if(o!==null){const l=litPropertyMetadata.get(o);if(l!==void 0)for(const[a,p]of l)this.elementProperties.set(a,p)}this._$Eh=new Map;for(const[l,a]of this.elementProperties){const p=this._$Eu(l,a);p!==void 0&&this._$Eh.set(p,l)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){const l=[];if(Array.isArray(o)){const a=new Set(o.flat(1/0).reverse());for(const p of a)l.unshift(x8t(p))}else o!==void 0&&l.push(x8t(o));return l}static _$Eu(o,l){const a=l.attribute;return a===!1?void 0:typeof a=="string"?a:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(l=>this.enableUpdating=l),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(l=>l(this))}addController(o){var l;(this._$EO??(this._$EO=new Set)).add(o),this.renderRoot!==void 0&&this.isConnected&&((l=o.hostConnected)==null||l.call(o))}removeController(o){var l;(l=this._$EO)==null||l.delete(o)}_$E_(){const o=new Map,l=this.constructor.elementProperties;for(const a of l.keys())this.hasOwnProperty(a)&&(o.set(a,this[a]),delete this[a]);o.size>0&&(this._$Ep=o)}createRenderRoot(){const o=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return z5n(o,this.constructor.elementStyles),o}connectedCallback(){var o;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(o=this._$EO)==null||o.forEach(l=>{var a;return(a=l.hostConnected)==null?void 0:a.call(l)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(l=>{var a;return(a=l.hostDisconnected)==null?void 0:a.call(l)})}attributeChangedCallback(o,l,a){this._$AK(o,a)}_$EC(o,l){var g;const a=this.constructor.elementProperties.get(o),p=this.constructor._$Eu(o,a);if(p!==void 0&&a.reflect===!0){const w=(((g=a.converter)==null?void 0:g.toAttribute)!==void 0?a.converter:F7e).toAttribute(l,a.type);this._$Em=o,w==null?this.removeAttribute(p):this.setAttribute(p,w),this._$Em=null}}_$AK(o,l){var g;const a=this.constructor,p=a._$Eh.get(o);if(p!==void 0&&this._$Em!==p){const w=a.getPropertyOptions(p),y=typeof w.converter=="function"?{fromAttribute:w.converter}:((g=w.converter)==null?void 0:g.fromAttribute)!==void 0?w.converter:F7e;this._$Em=p,this[p]=y.fromAttribute(l,w.type),this._$Em=null}}requestUpdate(o,l,a){if(o!==void 0){if(a??(a=this.constructor.getPropertyOptions(o)),!(a.hasChanged??xEt)(this[o],l))return;this.P(o,l,a)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,l,a){this._$AL.has(o)||this._$AL.set(o,l),a.reflect===!0&&this._$Em!==o&&(this._$Ej??(this._$Ej=new Set)).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(l){Promise.reject(l)}const o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[g,w]of this._$Ep)this[g]=w;this._$Ep=void 0}const p=this.constructor.elementProperties;if(p.size>0)for(const[g,w]of p)w.wrapped!==!0||this._$AL.has(g)||this[g]===void 0||this.P(g,this[g],w)}let o=!1;const l=this._$AL;try{o=this.shouldUpdate(l),o?(this.willUpdate(l),(a=this._$EO)==null||a.forEach(p=>{var g;return(g=p.hostUpdate)==null?void 0:g.call(p)}),this.update(l)):this._$EU()}catch(p){throw o=!1,this._$EU(),p}o&&this._$AE(l)}willUpdate(o){}_$AE(o){var l;(l=this._$EO)==null||l.forEach(a=>{var p;return(p=a.hostUpdated)==null?void 0:p.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(l=>this._$EC(l,this[l]))),this._$EU()}updated(o){}firstUpdated(o){}}GO.elementStyles=[],GO.shadowRootOptions={mode:"open"},GO[zF("elementProperties")]=new Map,GO[zF("finalized")]=new Map,xCe==null||xCe({ReactiveElement:GO}),(OC.reactiveElementVersions??(OC.reactiveElementVersions=[])).push("2.0.4");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const HF=globalThis,ure=HF.trustedTypes,I8t=ure?ure.createPolicy("lit-html",{createHTML:r=>r}):void 0,EEt="$lit$",EC=`lit$${Math.random().toFixed(9).slice(2)}$`,TEt="?"+EC,X5n=`<${TEt}>`,BE=document,Pz=()=>BE.createComment(""),Mz=r=>r===null||typeof r!="object"&&typeof r!="function",R9e=Array.isArray,Y5n=r=>R9e(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",ECe=`[ +\f\r]`,fF=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P8t=/-->/g,M8t=/>/g,oE=RegExp(`>|${ECe}(?:([^\\s"'>=/]+)(${ECe}*=${ECe}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),O8t=/'/g,_8t=/"/g,IEt=/^(?:script|style|textarea|title)$/i,J5n=r=>(o,...l)=>({_$litType$:r,strings:o,values:l}),Q5n=J5n(1),E_=Symbol.for("lit-noChange"),hh=Symbol.for("lit-nothing"),R8t=new WeakMap,kE=BE.createTreeWalker(BE,129);function PEt(r,o){if(!R9e(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return I8t!==void 0?I8t.createHTML(o):o}const Z5n=(r,o)=>{const l=r.length-1,a=[];let p,g=o===2?"":o===3?"":"",w=fF;for(let y=0;y"?(w=p??fF,M=-1):I[1]===void 0?M=-2:(M=w.lastIndex-I[2].length,E=I[1],w=I[3]===void 0?oE:I[3]==='"'?_8t:O8t):w===_8t||w===O8t?w=oE:w===P8t||w===M8t?w=fF:(w=oE,p=void 0);const R=w===oE&&r[y+1].startsWith("/>")?" ":"";g+=w===fF?S+X5n:M>=0?(a.push(E),S.slice(0,M)+EEt+S.slice(M)+EC+R):S+EC+(M===-2?y:R)}return[PEt(r,g+(r[l]||"")+(o===2?"":o===3?"":"")),a]};class Oz{constructor({strings:o,_$litType$:l},a){let p;this.parts=[];let g=0,w=0;const y=o.length-1,S=this.parts,[E,I]=Z5n(o,l);if(this.el=Oz.createElement(E,a),kE.currentNode=this.el.content,l===2||l===3){const M=this.el.content.firstChild;M.replaceWith(...M.childNodes)}for(;(p=kE.nextNode())!==null&&S.length0){p.textContent=ure?ure.emptyScript:"";for(let R=0;R<_;R++)p.append(M[R],Pz()),kE.nextNode(),S.push({type:2,index:++g});p.append(M[_],Pz())}}}else if(p.nodeType===8)if(p.data===TEt)S.push({type:2,index:g});else{let M=-1;for(;(M=p.data.indexOf(EC,M+1))!==-1;)S.push({type:7,index:g}),M+=EC.length-1}g++}}static createElement(o,l){const a=BE.createElement("template");return a.innerHTML=o,a}}function T_(r,o,l=r,a){var w,y;if(o===E_)return o;let p=a!==void 0?(w=l._$Co)==null?void 0:w[a]:l._$Cl;const g=Mz(o)?void 0:o._$litDirective$;return(p==null?void 0:p.constructor)!==g&&((y=p==null?void 0:p._$AO)==null||y.call(p,!1),g===void 0?p=void 0:(p=new g(r),p._$AT(r,l,a)),a!==void 0?(l._$Co??(l._$Co=[]))[a]=p:l._$Cl=p),p!==void 0&&(o=T_(r,p._$AS(r,o.values),p,a)),o}class e8n{constructor(o,l){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=l}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){const{el:{content:l},parts:a}=this._$AD,p=((o==null?void 0:o.creationScope)??BE).importNode(l,!0);kE.currentNode=p;let g=kE.nextNode(),w=0,y=0,S=a[0];for(;S!==void 0;){if(w===S.index){let E;S.type===2?E=new OH(g,g.nextSibling,this,o):S.type===1?E=new S.ctor(g,S.name,S.strings,this,o):S.type===6&&(E=new i8n(g,this,o)),this._$AV.push(E),S=a[++y]}w!==(S==null?void 0:S.index)&&(g=kE.nextNode(),w++)}return kE.currentNode=BE,p}p(o){let l=0;for(const a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(o,a,l),l+=a.strings.length-2):a._$AI(o[l])),l++}}class OH{get _$AU(){var o;return((o=this._$AM)==null?void 0:o._$AU)??this._$Cv}constructor(o,l,a,p){this.type=2,this._$AH=hh,this._$AN=void 0,this._$AA=o,this._$AB=l,this._$AM=a,this.options=p,this._$Cv=(p==null?void 0:p.isConnected)??!0}get parentNode(){let o=this._$AA.parentNode;const l=this._$AM;return l!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=l.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,l=this){o=T_(this,o,l),Mz(o)?o===hh||o==null||o===""?(this._$AH!==hh&&this._$AR(),this._$AH=hh):o!==this._$AH&&o!==E_&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Y5n(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==hh&&Mz(this._$AH)?this._$AA.nextSibling.data=o:this.T(BE.createTextNode(o)),this._$AH=o}$(o){var g;const{values:l,_$litType$:a}=o,p=typeof a=="number"?this._$AC(o):(a.el===void 0&&(a.el=Oz.createElement(PEt(a.h,a.h[0]),this.options)),a);if(((g=this._$AH)==null?void 0:g._$AD)===p)this._$AH.p(l);else{const w=new e8n(p,this),y=w.u(this.options);w.p(l),this.T(y),this._$AH=w}}_$AC(o){let l=R8t.get(o.strings);return l===void 0&&R8t.set(o.strings,l=new Oz(o)),l}k(o){R9e(this._$AH)||(this._$AH=[],this._$AR());const l=this._$AH;let a,p=0;for(const g of o)p===l.length?l.push(a=new OH(this.O(Pz()),this.O(Pz()),this,this.options)):a=l[p],a._$AI(g),p++;p2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=hh}_$AI(o,l=this,a,p){const g=this.strings;let w=!1;if(g===void 0)o=T_(this,o,l,0),w=!Mz(o)||o!==this._$AH&&o!==E_,w&&(this._$AH=o);else{const y=o;let S,E;for(o=g[0],S=0;S{const a=(l==null?void 0:l.renderBefore)??o;let p=a._$litPart$;if(p===void 0){const g=(l==null?void 0:l.renderBefore)??null;a._$litPart$=p=new OH(o.insertBefore(Pz(),g),g,void 0,l??{})}return p._$AI(r),p};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */class KF extends GO{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var l;const o=super.createRenderRoot();return(l=this.renderOptions).renderBefore??(l.renderBefore=o.firstChild),o}update(o){const l=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this._$Do=o8n(l,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this._$Do)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this._$Do)==null||o.setConnected(!1)}render(){return E_}}var W7t;KF._$litElement$=!0,KF.finalized=!0,(W7t=globalThis.litElementHydrateSupport)==null||W7t.call(globalThis,{LitElement:KF});const ICe=globalThis.litElementPolyfillSupport;ICe==null||ICe({LitElement:KF});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");var Bp=navigator.userAgent,MEt=navigator.platform,Q6=/gecko\/\d/i.test(Bp),OEt=/MSIE \d/.test(Bp),_Et=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bp),mie=/Edge\/(\d+)/.exec(Bp),Tl=OEt||_Et||mie,vu=Tl&&(OEt?document.documentMode||6:+(mie||_Et)[1]),R1=!mie&&/WebKit\//.test(Bp),s8n=R1&&/Qt\/\d+\.\d+/.test(Bp),vie=!mie&&/Chrome\//.test(Bp),fy=/Opera\//.test(Bp),yie=/Apple Computer/.test(navigator.vendor),l8n=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Bp),c8n=/PhantomJS/.test(Bp),_H=yie&&(/Mobile\/\w+/.test(Bp)||navigator.maxTouchPoints>2),kie=/Android/.test(Bp),_z=_H||kie||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Bp),am=_H||/Mac/.test(MEt),u8n=/\bCrOS\b/.test(Bp),a8n=/win/i.test(MEt),ME=fy&&Bp.match(/Version\/(\d*\.\d*)/);ME&&(ME=Number(ME[1]));ME&&ME>=15&&(fy=!1,R1=!0);var A8t=am&&(s8n||fy&&(ME==null||ME<12.11)),A9e=Q6||Tl&&vu>=9;function I_(r){return new RegExp("(^|\\s)"+r+"(?:$|\\s)\\s*")}var QE=function(r,o){let l=r.className,a=I_(o).exec(l);if(a){let p=l.slice(a.index+a[0].length);r.className=l.slice(0,a.index)+(p?a[1]+p:"")}};function LC(r){for(let o=r.childNodes.length;o>0;--o)r.removeChild(r.firstChild);return r}function pb(r,o){return LC(r).appendChild(o)}function Zi(r,o,l,a){let p=document.createElement(r);if(l&&(p.className=l),a&&(p.style.cssText=a),typeof o=="string")p.appendChild(document.createTextNode(o));else if(o)for(let g=0;g=o)return w+(o-g);w+=y-g,w+=l-w%l,g=y+1}}var P_=class{constructor(){this.id=null,this.f=null,this.time=0,this.handler=L9e(this.onTimeout,this)}onTimeout(r){r.id=0,r.time<=+new Date?r.f():setTimeout(r.handler,r.time-+new Date)}set(r,o){this.f=o;const l=+new Date+r;(!this.id||l=o)return a+Math.min(w,o-p);if(p+=g-a,p+=l-p%l,a=g+1,p>=o)return a}}var Jte=[""];function $9e(r){for(;Jte.length<=r;)Jte.push(ec(Jte)+" ");return Jte[r]}function ec(r){return r[r.length-1]}function Sie(r,o){let l=[];for(let a=0;a"€"&&(r.toUpperCase()!=r.toLowerCase()||d8n.test(r))}function Mne(r,o){return o?o.source.indexOf("\\w")>-1&&H7e(r)?!0:o.test(r):H7e(r)}function $8t(r){for(let o in r)if(r.hasOwnProperty(o)&&r[o])return!1;return!0}var h8n=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function K7e(r){return r.charCodeAt(0)>=768&&h8n.test(r)}function LEt(r,o,l){for(;(l<0?o>0:ol?-1:1;for(;;){if(o==l)return o;let p=(o+l)/2,g=a<0?Math.ceil(p):Math.floor(p);if(g==o)return r(g)?o:l;r(g)?l=g:o=g+a}}function p8n(r,o,l,a){if(!r)return a(o,l,"ltr",0);let p=!1;for(let g=0;go||o==l&&w.to==o)&&(a(Math.max(w.from,o),Math.min(w.to,l),w.level==1?"rtl":"ltr",g),p=!0)}p||a(o,l,"ltr")}var xF=null;function Lz(r,o,l){let a;xF=null;for(let p=0;po)return p;g.to==o&&(g.from!=g.to&&l=="before"?a=p:xF=p),g.from==o&&(g.from!=g.to&&l!="before"?a=p:xF=p)}return a??xF}var g8n=function(){let r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",o="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function l(E){return E<=247?r.charAt(E):1424<=E&&E<=1524?"R":1536<=E&&E<=1785?o.charAt(E-1536):1774<=E&&E<=2220?"r":8192<=E&&E<=8203?"w":E==8204?"b":"L"}let a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,p=/[stwN]/,g=/[LRr]/,w=/[Lb1n]/,y=/[1n]/;function S(E,I,M){this.level=E,this.from=I,this.to=M}return function(E,I){let M=I=="ltr"?"L":"R";if(E.length==0||I=="ltr"&&!a.test(E))return!1;let _=E.length,R=[];for(let q=0;q<_;++q)R.push(l(E.charCodeAt(q)));for(let q=0,Q=M;q<_;++q){let Z=R[q];Z=="m"?R[q]=Q:Q=Z}for(let q=0,Q=M;q<_;++q){let Z=R[q];Z=="1"&&Q=="r"?R[q]="n":g.test(Z)&&(Q=Z,Z=="r"&&(R[q]="R"))}for(let q=1,Q=R[0];q<_-1;++q){let Z=R[q];Z=="+"&&Q=="1"&&R[q+1]=="1"?R[q]="1":Z==","&&Q==R[q+1]&&(Q=="1"||Q=="n")&&(R[q]=Q),Q=Z}for(let q=0;q<_;++q){let Q=R[q];if(Q==",")R[q]="N";else if(Q=="%"){let Z;for(Z=q+1;Z<_&&R[Z]=="%";++Z);let X=q&&R[q-1]=="!"||Z<_&&R[Z]=="1"?"1":"N";for(let ie=q;ie-1&&(a[o]=p.slice(0,g).concat(p.slice(g+1)))}}}function xf(r,o){let l=j9e(r,o);if(!l.length)return;let a=Array.prototype.slice.call(arguments,2);for(let p=0;p0}function U_(r){r.prototype.on=function(o,l){no(this,o,l)},r.prototype.off=function(o,l){db(this,o,l)}}function jp(r){r.preventDefault?r.preventDefault():r.returnValue=!1}function DEt(r){r.stopPropagation?r.stopPropagation():r.cancelBubble=!0}function U7e(r){return r.defaultPrevented!=null?r.defaultPrevented:r.returnValue==!1}function $z(r){jp(r),DEt(r)}function D9e(r){return r.target||r.srcElement}function NEt(r){let o=r.which;return o==null&&(r.button&1?o=1:r.button&2?o=3:r.button&4&&(o=2)),am&&r.ctrlKey&&o==1&&(o=3),o}var b8n=function(){if(Tl&&vu<9)return!1;let r=Zi("div");return"draggable"in r||"dragDrop"in r}(),OCe;function w8n(r){if(OCe==null){let l=Zi("span","​");pb(r,Zi("span",[l,document.createTextNode("x")])),r.firstChild.offsetHeight!=0&&(OCe=l.offsetWidth<=1&&l.offsetHeight>2&&!(Tl&&vu<8))}let o=OCe?Zi("span","​"):Zi("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var _Ce;function m8n(r){if(_Ce!=null)return _Ce;let o=pb(r,document.createTextNode("AخA")),l=FE(o,0,1).getBoundingClientRect(),a=FE(o,1,2).getBoundingClientRect();return LC(r),!l||l.left==l.right?!1:_Ce=a.right-l.right<3}var N9e=` + +b`.split(/\n/).length!=3?r=>{let o=0,l=[],a=r.length;for(;o<=a;){let p=r.indexOf(` +`,o);p==-1&&(p=r.length);let g=r.slice(o,r.charAt(p-1)=="\r"?p-1:p),w=g.indexOf("\r");w!=-1?(l.push(g.slice(0,w)),o+=w+1):(l.push(g),o=p+1)}return l}:r=>r.split(/\r\n?|\n/),v8n=window.getSelection?r=>{try{return r.selectionStart!=r.selectionEnd}catch{return!1}}:r=>{let o;try{o=r.ownerDocument.selection.createRange()}catch{}return!o||o.parentElement()!=r?!1:o.compareEndPoints("StartToEnd",o)!=0},y8n=(()=>{let r=Zi("div");return"oncopy"in r?!0:(r.setAttribute("oncopy","return;"),typeof r.oncopy=="function")})(),RCe=null;function k8n(r){if(RCe!=null)return RCe;let o=pb(r,Zi("span","x")),l=o.getBoundingClientRect(),a=FE(o,0,1).getBoundingClientRect();return RCe=Math.abs(l.left-a.left)>1}var B9e={},YO={};function C8n(r,o){arguments.length>2&&(o.dependencies=Array.prototype.slice.call(arguments,2)),B9e[r]=o}function S8n(r,o){YO[r]=o}function are(r){if(typeof r=="string"&&YO.hasOwnProperty(r))r=YO[r];else if(r&&typeof r.name=="string"&&YO.hasOwnProperty(r.name)){let o=YO[r.name];typeof o=="string"&&(o={name:o}),r=AEt(o,r),r.name=o.name}else{if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(r))return are("application/xml");if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(r))return are("application/json")}return typeof r=="string"?{name:r}:r||{name:"null"}}function F9e(r,o){o=are(o);let l=B9e[o.name];if(!l)return F9e(r,"text/plain");let a=l(r,o);if(u_.hasOwnProperty(o.name)){let p=u_[o.name];for(let g in p)p.hasOwnProperty(g)&&(a.hasOwnProperty(g)&&(a["_"+g]=a[g]),a[g]=p[g])}if(a.name=o.name,o.helperType&&(a.helperType=o.helperType),o.modeProps)for(let p in o.modeProps)a[p]=o.modeProps[p];return a}var u_={};function x8n(r,o){let l=u_.hasOwnProperty(r)?u_[r]:u_[r]={};zE(o,l)}function OE(r,o){if(o===!0)return o;if(r.copyState)return r.copyState(o);let l={};for(let a in o){let p=o[a];p instanceof Array&&(p=p.concat([])),l[a]=p}return l}function z9e(r,o){let l;for(;r.innerMode&&(l=r.innerMode(o),!(!l||l.mode==r));)o=l.state,r=l.mode;return l||{mode:r,state:o}}function BEt(r,o,l){return r.startState?r.startState(o,l):!0}var E8n=class{constructor(r,o,l){this.pos=this.start=0,this.string=r,this.tabSize=o||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=l}eol(){return this.pos>=this.string.length}sol(){return this.pos==this.lineStart}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.poso}eatSpace(){let r=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>r}skipToEnd(){this.pos=this.string.length}skipTo(r){let o=this.string.indexOf(r,this.pos);if(o>-1)return this.pos=o,!0}backUp(r){this.pos-=r}column(){return this.lastColumnPosl?g.toLowerCase():g,p=this.string.substr(this.pos,r.length);if(a(p)==a(r))return o!==!1&&(this.pos+=r.length),!0}else{let a=this.string.slice(this.pos).match(r);return a&&a.index>0?null:(a&&o!==!1&&(this.pos+=a[0].length),a)}}current(){return this.string.slice(this.start,this.pos)}hideFirstChars(r,o){this.lineStart+=r;try{return o()}finally{this.lineStart-=r}}lookAhead(r){let o=this.lineOracle;return o&&o.lookAhead(r)}baseToken(){let r=this.lineOracle;return r&&r.baseToken(this.pos)}},xie=E8n;function Ii(r,o){if(o-=r.first,o<0||o>=r.size)throw new Error("There is no line "+(o+r.first)+" in the document.");let l=r;for(;!l.lines;)for(let a=0;;++a){let p=l.children[a],g=p.chunkSize();if(o{let w=g.text;p==l.line&&(w=w.slice(0,l.ch)),p==o.line&&(w=w.slice(o.ch)),a.push(w),++p}),a}function ACe(r,o,l){let a=[];return r.iter(o,l,p=>{a.push(p.text)}),a}function T3(r,o){let l=o-r.height;if(l)for(let a=r;a;a=a.parent)a.height+=l}function gc(r){if(r.parent==null)return null;let o=r.parent,l=qh(o.lines,r);for(let a=o.parent;a;o=a,a=a.parent)for(let p=0;a.children[p]!=o;++p)l+=a.children[p].chunkSize();return l+o.first}function CE(r,o){let l=r.first;e:do{for(let p=0;p=r.first&&ol?nr(l,Ii(r,l).text.length):T8n(o,Ii(r,o.line).text.length)}function T8n(r,o){let l=r.ch;return l==null||l>o?nr(r.line,o):l<0?nr(r.line,0):r}function j8t(r,o){let l=[];for(let a=0;athis.maxLookAhead&&(this.maxLookAhead=o),l}baseToken(o){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=o;)this.baseTokenPos+=2;let l=this.baseTokens[this.baseTokenPos+1];return{type:l&&l.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-o}}nextLine(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--}static fromSaved(o,l,a){return l instanceof fre?new GF(o,OE(o.mode,l.state),a,l.lookAhead):new GF(o,OE(o.mode,l),a)}save(o){let l=o!==!1?OE(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new fre(l,this.maxLookAhead):l}};function zEt(r,o,l,a){let p=[r.state.modeGen],g={};F8t(r,o.text,r.doc.mode,l,(y,S)=>p.push(y,S),g,a);let w=l.state;for(let y=0;y{let R=E;for(;IM&&p.splice(E,1,M,p[E+1],j),E+=2,I=Math.min(M,j)}if(_)if(S.opaque)p.splice(R,E-R,M,"overlay "+_),E=R+2;else for(;Rr.options.maxHighlightLength&&OE(r.doc.mode,a.state),g=zEt(r,o,a);p&&(a.state=p),o.stateAfter=a.save(!p),o.styles=g.styles,g.classes?o.styleClasses=g.classes:o.styleClasses&&(o.styleClasses=null),l===r.doc.highlightFrontier&&(r.doc.modeFrontier=Math.max(r.doc.modeFrontier,++r.doc.highlightFrontier))}return o.styles}function RH(r,o,l){let a=r.doc,p=r.display;if(!a.mode.startState)return new GF(a,!0,o);let g=I8n(r,o,l),w=g>a.first&&Ii(a,g-1).stateAfter,y=w?GF.fromSaved(a,w,g):new GF(a,BEt(a.mode),g);return a.iter(g,o,S=>{K9e(r,S.text,y);let E=y.line;S.stateAfter=E==o-1||E%5==0||E>=p.viewFrom&&Eo.start)return g}throw new Error("Mode "+r.name+" failed to advance stream.")}var D8t=class{constructor(r,o,l){this.start=r.start,this.end=r.pos,this.string=r.current(),this.type=o||null,this.state=l}};function N8t(r,o,l,a){let p=r.doc,g=p.mode,w;o=Bo(p,o);let y=Ii(p,o.line),S=RH(r,o.line,l),E=new xie(y.text,r.options.tabSize,S),I;for(a&&(I=[]);(a||E.posr.options.maxHighlightLength?(y=!1,w&&K9e(r,o,a,I.pos),I.pos=o.length,M=null):M=B8t(U9e(l,I,a.state,_),g),_){let R=_[0].name;R&&(M="m-"+(M?R+" "+M:R))}if(!y||E!=M){for(;Sw;--y){if(y<=g.first)return g.first;let S=Ii(g,y-1),E=S.stateAfter;if(E&&(!l||y+(E instanceof fre?E.lookAhead:0)<=g.modeFrontier))return y;let I=rm(S.text,null,r.options.tabSize);(p==null||a>I)&&(p=y-1,a=I)}return p}function P8n(r,o){if(r.modeFrontier=Math.min(r.modeFrontier,o),r.highlightFrontierl;a--){let p=Ii(r,a).stateAfter;if(p&&(!(p instanceof fre)||a+p.lookAhead=o:g.to>o);(a||(a=[])).push(new Iie(w,g.from,S?null:g.to))}}return a}function L8n(r,o,l){let a;if(r)for(let p=0;p=o:g.to>o)||g.from==o&&w.type=="bookmark"&&(!l||g.marker.insertLeft)){let S=g.from==null||(w.inclusiveLeft?g.from<=o:g.from0&&y)for(let j=0;j{if(g.markedSpans)for(let w=0;w0)continue;let I=[S,1],M=Fo(E.from,y.from),_=Fo(E.to,y.to);(M<0||!w.inclusiveLeft&&!M)&&I.push({from:E.from,to:y.from}),(_>0||!w.inclusiveRight&&!_)&&I.push({from:y.to,to:E.to}),p.splice.apply(p,I),S+=I.length-3}}return p}function GEt(r){let o=r.markedSpans;if(o){for(let l=0;lo)&&(!a||G9e(a,g.marker)<0)&&(a=g.marker)}return a}function H8t(r,o,l,a,p){let g=Ii(r,o),w=Z6&&g.markedSpans;if(w)for(let y=0;y=0&&M<=0||I<=0&&M>=0)&&(I<=0&&(S.marker.inclusiveRight&&p.inclusiveLeft?Fo(E.to,l)>=0:Fo(E.to,l)>0)||I>=0&&(S.marker.inclusiveRight&&p.inclusiveLeft?Fo(E.from,a)<=0:Fo(E.from,a)<0)))return!0}}function I3(r){let o;for(;o=qEt(r);)r=o.find(-1,!0).line;return r}function D8n(r){let o;for(;o=Pie(r);)r=o.find(1,!0).line;return r}function N8n(r){let o,l;for(;o=Pie(r);)r=o.find(1,!0).line,(l||(l=[])).push(r);return l}function W9e(r,o){let l=Ii(r,o),a=I3(l);return l==a?o:gc(a)}function XEt(r,o){if(o>r.lastLine())return o;let l=Ii(r,o),a;if(!jC(r,l))return o;for(;a=Pie(l);)l=a.find(1,!0).line;return gc(l)+1}function jC(r,o){let l=Z6&&o.markedSpans;if(l){for(let a,p=0;p{let p=pre(a);p>o.maxLineLength&&(o.maxLineLength=p,o.maxLine=a)})}var Nz=class{constructor(r,o,l){this.text=r,WEt(this,o),this.height=l?l(this):1}lineNo(){return gc(this)}};U_(Nz);function B8n(r,o,l,a){r.text=o,r.stateAfter&&(r.stateAfter=null),r.styles&&(r.styles=null),r.order!=null&&(r.order=null),GEt(r),WEt(r,l);let p=a?a(r):1;p!=r.height&&T3(r,p)}function F8n(r){r.parent=null,GEt(r)}var z8n={},H8n={};function K8t(r,o){if(!r||/^\s*$/.test(r))return null;let l=o.addModeClass?H8n:z8n;return l[r]||(l[r]=r.replace(/\S+/g,"cm-$&"))}function YEt(r,o){let l=c_("span",null,null,R1?"padding-right: .1px":null),a={pre:c_("pre",[l],"CodeMirror-line"),content:l,col:0,pos:0,cm:r,trailingSpace:!1,splitSpaces:r.getOption("lineWrapping")};o.measure={};for(let p=0;p<=(o.rest?o.rest.length:0);p++){let g=p?o.rest[p-1]:o.line,w;a.pos=0,a.addToken=U8n,m8n(r.display.measure)&&(w=lk(g,r.doc.direction))&&(a.addToken=W8n(a.addToken,w)),a.map=[];let y=o!=r.display.externalMeasured&&gc(g);V8n(g,a,HEt(r,g,y)),g.styleClasses&&(g.styleClasses.bgClass&&(a.bgClass=PCe(g.styleClasses.bgClass,a.bgClass||"")),g.styleClasses.textClass&&(a.textClass=PCe(g.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(w8n(r.display.measure))),p==0?(o.measure.map=a.map,o.measure.cache={}):((o.measure.maps||(o.measure.maps=[])).push(a.map),(o.measure.caches||(o.measure.caches=[])).push({}))}if(R1){let p=a.content.lastChild;(/\bcm-tab\b/.test(p.className)||p.querySelector&&p.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return xf(r,"renderLine",r,o.line,a.pre),a.pre.className&&(a.textClass=PCe(a.pre.className,a.textClass||"")),a}function K8n(r){let o=Zi("span","•","cm-invalidchar");return o.title="\\u"+r.charCodeAt(0).toString(16),o.setAttribute("aria-label",o.title),o}function U8n(r,o,l,a,p,g,w){if(!o)return;let y=r.splitSpaces?G8n(o,r.trailingSpace):o,S=r.cm.state.specialChars,E=!1,I;if(!S.test(o))r.col+=o.length,I=document.createTextNode(y),r.map.push(r.pos,r.pos+o.length,I),Tl&&vu<9&&(E=!0),r.pos+=o.length;else{I=document.createDocumentFragment();let M=0;for(;;){S.lastIndex=M;let _=S.exec(o),R=_?_.index-M:o.length-M;if(R){let K=document.createTextNode(y.slice(M,M+R));Tl&&vu<9?I.appendChild(Zi("span",[K])):I.appendChild(K),r.map.push(r.pos,r.pos+R,K),r.col+=R,r.pos+=R}if(!_)break;M+=R+1;let j;if(_[0]==" "){let K=r.cm.options.tabSize,q=K-r.col%K;j=I.appendChild(Zi("span",$9e(q),"cm-tab")),j.setAttribute("role","presentation"),j.setAttribute("cm-text"," "),r.col+=q}else _[0]=="\r"||_[0]==` +`?(j=I.appendChild(Zi("span",_[0]=="\r"?"␍":"␤","cm-invalidchar")),j.setAttribute("cm-text",_[0]),r.col+=1):(j=r.cm.options.specialCharPlaceholder(_[0]),j.setAttribute("cm-text",_[0]),Tl&&vu<9?I.appendChild(Zi("span",[j])):I.appendChild(j),r.col+=1);r.map.push(r.pos,r.pos+1,j),r.pos++}}if(r.trailingSpace=y.charCodeAt(o.length-1)==32,l||a||p||E||g||w){let M=l||"";a&&(M+=a),p&&(M+=p);let _=Zi("span",[I],M,g);if(w)for(let R in w)w.hasOwnProperty(R)&&R!="style"&&R!="class"&&_.setAttribute(R,w[R]);return r.content.appendChild(_)}r.content.appendChild(I)}function G8n(r,o){if(r.length>1&&!/ /.test(r))return r;let l=o,a="";for(let p=0;p{p=p?p+" cm-force-border":"cm-force-border";let E=l.pos,I=E+a.length;for(;;){let M;for(let _=0;_E&&M.from<=E));_++);if(M.to>=I)return r(l,a,p,g,w,y,S);r(l,a.slice(0,M.to-E),p,g,null,y,S),g=null,a=a.slice(M.to-E),E=M.to}}}function U8t(r,o,l,a){let p=!a&&l.widgetNode;p&&r.map.push(r.pos,r.pos+o,p),!a&&r.cm.display.input.needsContentAttribute&&(p||(p=r.content.appendChild(document.createElement("span"))),p.setAttribute("cm-marker",l.id)),p&&(r.cm.display.input.setUneditable(p),r.content.appendChild(p)),r.pos+=o,r.trailingSpace=!1}function V8n(r,o,l){let a=r.markedSpans,p=r.text,g=0;if(!a){for(let Z=1;Zy||mt.collapsed&&et.to==y&&et.from==y)){if(et.to!=null&&et.to!=y&&_>et.to&&(_=et.to,j=""),mt.className&&(R+=" "+mt.className),mt.css&&(M=(M?M+";":"")+mt.css),mt.startStyle&&et.from==y&&(K+=" "+mt.startStyle),mt.endStyle&&et.to==_&&(ie||(ie=[])).push(mt.endStyle,et.to),mt.title&&((Q||(Q={})).title=mt.title),mt.attributes)for(let bt in mt.attributes)(Q||(Q={}))[bt]=mt.attributes[bt];mt.collapsed&&(!q||G9e(q.marker,mt)<0)&&(q=et)}else et.from>y&&_>et.from&&(_=et.from)}if(ie)for(let je=0;je=w)break;let Z=Math.min(w,_);for(;;){if(E){let X=y+E.length;if(!q){let ie=X>Z?E.slice(0,Z-y):E;o.addToken(o,ie,I?I+R:R,K,y+ie.length==_?j:"",M,Q)}if(X>=Z){E=E.slice(Z-y),y=Z;break}y=X,K=""}E=p.slice(g,g=l[S++]),I=K8t(l[S++],o.cm.options)}}}function JEt(r,o,l){this.line=o,this.rest=N8n(o),this.size=this.rest?gc(ec(this.rest))-l+1:1,this.node=this.text=null,this.hidden=jC(r,o)}function One(r,o,l){let a=[],p;for(let g=o;gl[g].apply(null,a))}function J8n(){let r=WF;WF=null;for(let o=0;o2&&g.push((S.bottom+E.top)/2-l.top)}}g.push(l.bottom-l.top)}}function rTt(r,o,l){if(r.line==o)return{map:r.measure.map,cache:r.measure.cache};for(let a=0;al)return{map:r.measure.maps[a],cache:r.measure.caches[a],before:!0}}function iCn(r,o){o=I3(o);let l=gc(o),a=r.display.externalMeasured=new JEt(r.doc,o,l);a.lineN=l;let p=a.built=YEt(r,a);return a.text=p.pre,pb(r.display.lineMeasure,p.pre),a}function iTt(r,o,l,a){return M3(r,G_(r,o),l,a)}function J9e(r,o){if(o>=r.display.viewFrom&&o=l.lineN&&oo)&&(g=S-y,p=g-1,o>=S&&(w="right")),p!=null){if(a=r[E+2],y==S&&l==(a.insertLeft?"left":"right")&&(w=l),l=="left"&&p==0)for(;E&&r[E-2]==r[E-3]&&r[E-1].insertLeft;)a=r[(E-=3)+2],w="left";if(l=="right"&&p==S-y)for(;E=0&&(l=r[a]).left==l.right;a--);return l}function sCn(r,o,l,a){let p=sTt(o.map,l,a),g=p.node,w=p.start,y=p.end,S=p.collapse,E;if(g.nodeType==3){for(let Z=0;Z<4;Z++){for(;w&&K7e(o.line.text.charAt(p.coverStart+w));)--w;for(;p.coverStart+y0&&(S=a="right");let Z;r.options.lineWrapping&&(Z=g.getClientRects()).length>1?E=Z[a=="right"?Z.length-1:0]:E=g.getBoundingClientRect()}if(Tl&&vu<9&&!w&&(!E||!E.left&&!E.right)){let Z=g.parentNode.getClientRects()[0];Z?E={left:Z.left,right:Z.left+W_(r.display),top:Z.top,bottom:Z.bottom}:E=oTt}let I=E.top-o.rect.top,M=E.bottom-o.rect.top,_=(I+M)/2,R=o.view.measure.heights,j=0;for(;j=a.text.length?(S=a.text.length,E="before"):S<=0&&(S=0,E="after"),!y)return w(E=="before"?S-1:S,E=="before");function I(j,K,q){let Q=y[K],Z=Q.level==1;return w(q?j-1:j,Z!=q)}let M=Lz(y,S,E),_=xF,R=I(S,M,E=="before");return _!=null&&(R.other=I(S,_,E!="before")),R}function V8t(r,o){let l=0;o=Bo(r.doc,o),r.options.lineWrapping||(l=W_(r.display)*o.ch);let a=Ii(r.doc,o.line),p=ek(a)+Mie(r.display);return{left:l,right:l,top:p,bottom:p+a.height}}function Y7e(r,o,l,a,p){let g=nr(r,o,l);return g.xRel=p,a&&(g.outside=a),g}function Z9e(r,o,l){let a=r.doc;if(l+=r.display.viewOffset,l<0)return Y7e(a.first,0,null,-1,-1);let p=CE(a,l),g=a.first+a.size-1;if(p>g)return Y7e(a.first+a.size-1,Ii(a,g).text.length,null,1,1);o<0&&(o=0);let w=Ii(a,p);for(;;){let y=cCn(r,w,p,o,l),S=j8n(w,y.ch+(y.xRel>0||y.outside>0?1:0));if(!S)return y;let E=S.find(1);if(E.line==p)return E;w=Ii(a,p=E.line)}}function fTt(r,o,l,a){a-=Q9e(o);let p=o.text.length,g=Az(w=>M3(r,l,w-1).bottom<=a,p,0);return p=Az(w=>M3(r,l,w).top>a,g,p),{begin:g,end:p}}function dTt(r,o,l,a){l||(l=G_(r,o));let p=Oie(r,o,M3(r,l,a),"line").top;return fTt(r,o,l,p)}function J7e(r,o,l,a){return r.bottom<=l?!1:r.top>l?!0:(a?r.left:r.right)>o}function cCn(r,o,l,a,p){p-=ek(o);let g=G_(r,o),w=Q9e(o),y=0,S=o.text.length,E=!0,I=lk(o,r.doc.direction);if(I){let Q=(r.options.lineWrapping?aCn:uCn)(r,o,l,g,I,a,p);E=Q.level!=1,y=E?Q.from:Q.to-1,S=E?Q.to:Q.from-1}let M=null,_=null,R=Az(Q=>{let Z=M3(r,g,Q);return Z.top+=w,Z.bottom+=w,J7e(Z,a,p,!1)?(Z.top<=p&&Z.left<=a&&(M=Q,_=Z),!0):!1},y,S),j,K,q=!1;if(_){let Q=a-_.left<_.right-a,Z=Q==E;R=M+(Z?0:1),K=Z?"after":"before",j=Q?_.left:_.right}else{!E&&(R==S||R==y)&&R++,K=R==0?"after":R==o.text.length?"before":M3(r,g,R-(E?1:0)).bottom+w<=p==E?"after":"before";let Q=ly(r,nr(l,R,K),"line",o,g);j=Q.left,q=p=Q.bottom?1:0}return R=LEt(o.text,R,1),Y7e(l,R,K,q,a-j)}function uCn(r,o,l,a,p,g,w){let y=Az(E=>{let I=p[E],M=I.level!=1;return J7e(ly(r,nr(l,M?I.to:I.from,M?"before":"after"),"line",o,a),g,w,!0)},0,p.length-1),S=p[y];if(y>0){let E=S.level!=1,I=ly(r,nr(l,E?S.from:S.to,E?"after":"before"),"line",o,a);J7e(I,g,w,!0)&&I.top>w&&(S=p[y-1])}return S}function aCn(r,o,l,a,p,g,w){let{begin:y,end:S}=fTt(r,o,a,w);/\s/.test(o.text.charAt(S-1))&&S--;let E=null,I=null;for(let M=0;M=S||_.to<=y)continue;let R=_.level!=1,j=M3(r,a,R?Math.min(S,_.to)-1:Math.max(y,_.from)).right,K=jK)&&(E=_,I=K)}return E||(E=p[p.length-1]),E.fromS&&(E={from:E.from,to:S,level:E.level}),E}var sE;function M_(r){if(r.cachedTextHeight!=null)return r.cachedTextHeight;if(sE==null){sE=Zi("pre",null,"CodeMirror-line-like");for(let l=0;l<49;++l)sE.appendChild(document.createTextNode("x")),sE.appendChild(Zi("br"));sE.appendChild(document.createTextNode("x"))}pb(r.measure,sE);let o=sE.offsetHeight/50;return o>3&&(r.cachedTextHeight=o),LC(r.measure),o||1}function W_(r){if(r.cachedCharWidth!=null)return r.cachedCharWidth;let o=Zi("span","xxxxxxxxxx"),l=Zi("pre",[o],"CodeMirror-line-like");pb(r.measure,l);let a=o.getBoundingClientRect(),p=(a.right-a.left)/10;return p>2&&(r.cachedCharWidth=p),p||10}function exe(r){let o=r.display,l={},a={},p=o.gutters.clientLeft;for(let g=o.gutters.firstChild,w=0;g;g=g.nextSibling,++w){let y=r.display.gutterSpecs[w].className;l[y]=g.offsetLeft+g.clientLeft+p,a[y]=g.clientWidth}return{fixedPos:txe(o),gutterTotalWidth:o.gutters.offsetWidth,gutterLeft:l,gutterWidth:a,wrapperWidth:o.wrapper.clientWidth}}function txe(r){return r.scroller.getBoundingClientRect().left-r.sizer.getBoundingClientRect().left}function hTt(r){let o=M_(r.display),l=r.options.lineWrapping,a=l&&Math.max(5,r.display.scroller.clientWidth/W_(r.display)-3);return p=>{if(jC(r.doc,p))return 0;let g=0;if(p.widgets)for(let w=0;w{let p=l(a);p!=a.height&&T3(a,p)})}function HE(r,o,l,a){let p=r.display;if(!l&&D9e(o).getAttribute("cm-not-content")=="true")return null;let g,w,y=p.lineSpace.getBoundingClientRect();try{g=o.clientX-y.left,w=o.clientY-y.top}catch{return null}let S=Z9e(r,g,w),E;if(a&&S.xRel>0&&(E=Ii(r.doc,S.line).text).length==S.ch){let I=rm(E,E.length,r.options.tabSize)-E.length;S=nr(S.line,Math.max(0,Math.round((g-nTt(r.display).left)/W_(r.display))-I))}return S}function KE(r,o){if(o>=r.display.viewTo||(o-=r.display.viewFrom,o<0))return null;let l=r.display.view;for(let a=0;ao)&&(p.updateLineNumbers=o),r.curOp.viewChanged=!0,o>=p.viewTo)Z6&&W9e(r.doc,o)p.viewFrom?mC(r):(p.viewFrom+=a,p.viewTo+=a);else if(o<=p.viewFrom&&l>=p.viewTo)mC(r);else if(o<=p.viewFrom){let w=Qte(r,l,l+a,1);w?(p.view=p.view.slice(w.index),p.viewFrom=w.lineN,p.viewTo+=a):mC(r)}else if(l>=p.viewTo){let w=Qte(r,o,o,-1);w?(p.view=p.view.slice(0,w.index),p.viewTo=w.lineN):mC(r)}else{let w=Qte(r,o,o,-1),y=Qte(r,l,l+a,1);w&&y?(p.view=p.view.slice(0,w.index).concat(One(r,w.lineN,y.lineN)).concat(p.view.slice(y.index)),p.viewTo+=a):mC(r)}let g=p.externalMeasured;g&&(l=p.lineN&&o=a.viewTo)return;let g=a.view[KE(r,o)];if(g.node==null)return;let w=g.changes||(g.changes=[]);qh(w,l)==-1&&w.push(l)}function mC(r){r.display.viewFrom=r.display.viewTo=r.doc.first,r.display.view=[],r.display.viewOffset=0}function Qte(r,o,l,a){let p=KE(r,o),g,w=r.display.view;if(!Z6||l==r.doc.first+r.doc.size)return{index:p,lineN:l};let y=r.display.viewFrom;for(let S=0;S0){if(p==w.length-1)return null;g=y+w[p].size-o,p++}else g=y-o;o+=g,l+=g}for(;W9e(r.doc,l)!=l;){if(p==(a<0?0:w.length-1))return null;l+=a*w[p-(a<0?1:0)].size,p+=a}return{index:p,lineN:l}}function fCn(r,o,l){let a=r.display;a.view.length==0||o>=a.viewTo||l<=a.viewFrom?(a.view=One(r,o,l),a.viewFrom=o):(a.viewFrom>o?a.view=One(r,o,a.viewFrom).concat(a.view):a.viewFroml&&(a.view=a.view.slice(0,KE(r,l)))),a.viewTo=l}function q8t(r){let o=r.display.view,l=0;for(let a=0;a=r.display.viewTo||y.to().line{let xe=Be=="ltr",U=je(bt,xe?"left":"right"),He=je(ce-1,xe?"right":"left"),yt=K==null&&bt==0,ft=q==null&&ce==Z,At=ae==0,Jt=!mt||ae==mt.length-1;if(He.top-U.top<=3){let un=(E?yt:ft)&&At,kn=(E?ft:yt)&&Jt,qt=un?y:(xe?U:He).left,on=kn?S:(xe?He:U).right;I(qt,U.top,on-qt,U.bottom)}else{let un,kn,qt,on;xe?(un=E&&yt&&At?y:U.left,kn=E?S:et(bt,Be,"before"),qt=E?y:et(ce,Be,"after"),on=E&&ft&&Jt?S:He.right):(un=E?et(bt,Be,"before"):y,kn=!E&&yt&&At?S:U.right,qt=!E&&ft&&Jt?y:He.left,on=E?et(ce,Be,"after"):S),I(un,U.top,kn-un,U.bottom),U.bottom0?o.blinker=setInterval(()=>{r.hasFocus()||V_(r),o.cursorDiv.style.visibility=(l=!l)?"":"hidden"},r.options.cursorBlinkRate):r.options.cursorBlinkRate<0&&(o.cursorDiv.style.visibility="hidden")}function bTt(r){r.hasFocus()||(r.display.input.focus(),r.state.focused||oxe(r))}function ixe(r){r.state.delayingBlurEvent=!0,setTimeout(()=>{r.state.delayingBlurEvent&&(r.state.delayingBlurEvent=!1,r.state.focused&&V_(r))},100)}function oxe(r,o){r.state.delayingBlurEvent&&!r.state.draggingText&&(r.state.delayingBlurEvent=!1),r.options.readOnly!="nocursor"&&(r.state.focused||(xf(r,"focus",r,o),r.state.focused=!0,ZE(r.display.wrapper,"CodeMirror-focused"),!r.curOp&&r.display.selForContextMenu!=r.doc.sel&&(r.display.input.reset(),R1&&setTimeout(()=>r.display.input.reset(!0),20)),r.display.input.receivedFocus()),rxe(r))}function V_(r,o){r.state.delayingBlurEvent||(r.state.focused&&(xf(r,"blur",r,o),r.state.focused=!1,QE(r.display.wrapper,"CodeMirror-focused")),clearInterval(r.display.blinker),setTimeout(()=>{r.state.focused||(r.display.shift=!1)},150))}function _ie(r){let o=r.display,l=o.lineDiv.offsetTop;for(let a=0;a.005||S<-.005)&&(T3(p.line,w),X8t(p.line),p.rest))for(let E=0;Er.display.sizerWidth){let E=Math.ceil(y/W_(r.display));E>r.display.maxLineLength&&(r.display.maxLineLength=E,r.display.maxLine=p.line,r.display.maxLineChanged=!0)}}}function X8t(r){if(r.widgets)for(let o=0;o=w&&(g=CE(o,ek(Ii(o,S))-r.wrapper.clientHeight),w=S)}return{from:g,to:Math.max(w,g+1)}}function hCn(r,o){if(Td(r,"scrollCursorIntoView"))return;let l=r.display,a=l.sizer.getBoundingClientRect(),p=null;if(o.top+a.top<0?p=!0:o.bottom+a.top>(window.innerHeight||document.documentElement.clientHeight)&&(p=!1),p!=null&&!c8n){let g=Zi("div","​",null,`position: absolute; + top: ${o.top-l.viewOffset-Mie(r.display)}px; + height: ${o.bottom-o.top+P3(r)+l.barHeight}px; + left: ${o.left}px; width: ${Math.max(2,o.right-o.left)}px;`);r.display.lineSpace.appendChild(g),g.scrollIntoView(p),r.display.lineSpace.removeChild(g)}}function pCn(r,o,l,a){a==null&&(a=0);let p;!r.options.lineWrapping&&o==l&&(o=o.ch?nr(o.line,o.sticky=="before"?o.ch-1:o.ch,"after"):o,l=o.sticky=="before"?nr(o.line,o.ch+1,"before"):o);for(let g=0;g<5;g++){let w=!1,y=ly(r,o),S=!l||l==o?y:ly(r,l);p={left:Math.min(y.left,S.left),top:Math.min(y.top,S.top)-a,right:Math.max(y.left,S.left),bottom:Math.max(y.bottom,S.bottom)+a};let E=sxe(r,p),I=r.doc.scrollTop,M=r.doc.scrollLeft;if(E.scrollTop!=null&&(AH(r,E.scrollTop),Math.abs(r.doc.scrollTop-I)>1&&(w=!0)),E.scrollLeft!=null&&(tT(r,E.scrollLeft),Math.abs(r.doc.scrollLeft-M)>1&&(w=!0)),!w)break}return p}function gCn(r,o){let l=sxe(r,o);l.scrollTop!=null&&AH(r,l.scrollTop),l.scrollLeft!=null&&tT(r,l.scrollLeft)}function sxe(r,o){let l=r.display,a=M_(r.display);o.top<0&&(o.top=0);let p=r.curOp&&r.curOp.scrollTop!=null?r.curOp.scrollTop:l.scroller.scrollTop,g=Y9e(r),w={};o.bottom-o.top>g&&(o.bottom=o.top+g);let y=r.doc.height+X9e(l),S=o.topy-a;if(o.topp+g){let j=Math.min(o.top,(E?y:o.bottom)-g);j!=p&&(w.scrollTop=j)}let I=r.options.fixedGutter?0:l.gutters.offsetWidth,M=r.curOp&&r.curOp.scrollLeft!=null?r.curOp.scrollLeft:l.scroller.scrollLeft-I,_=eT(r)-l.gutters.offsetWidth,R=o.right-o.left>_;return R&&(o.right=o.left+_),o.left<10?w.scrollLeft=0:o.left_+M-3&&(w.scrollLeft=o.right+(R?0:10)-_),w}function lxe(r,o){o!=null&&(Rie(r),r.curOp.scrollTop=(r.curOp.scrollTop==null?r.doc.scrollTop:r.curOp.scrollTop)+o)}function q_(r){Rie(r);let o=r.getCursor();r.curOp.scrollToPos={from:o,to:o,margin:r.options.cursorScrollMargin}}function qF(r,o,l){(o!=null||l!=null)&&Rie(r),o!=null&&(r.curOp.scrollLeft=o),l!=null&&(r.curOp.scrollTop=l)}function bCn(r,o){Rie(r),r.curOp.scrollToPos=o}function Rie(r){let o=r.curOp.scrollToPos;if(o){r.curOp.scrollToPos=null;let l=V8t(r,o.from),a=V8t(r,o.to);wTt(r,l,a,o.margin)}}function wTt(r,o,l,a){let p=sxe(r,{left:Math.min(o.left,l.left),top:Math.min(o.top,l.top)-a,right:Math.max(o.right,l.right),bottom:Math.max(o.bottom,l.bottom)+a});qF(r,p.scrollLeft,p.scrollTop)}function AH(r,o){Math.abs(r.doc.scrollTop-o)<2||(Q6||Q7e(r,{top:o}),mTt(r,o,!0),Q6&&Q7e(r),LH(r,100))}function mTt(r,o,l){o=Math.max(0,Math.min(r.display.scroller.scrollHeight-r.display.scroller.clientHeight,o)),!(r.display.scroller.scrollTop==o&&!l)&&(r.doc.scrollTop=o,r.display.scrollbars.setScrollTop(o),r.display.scroller.scrollTop!=o&&(r.display.scroller.scrollTop=o))}function tT(r,o,l,a){o=Math.max(0,Math.min(o,r.display.scroller.scrollWidth-r.display.scroller.clientWidth)),!((l?o==r.doc.scrollLeft:Math.abs(r.doc.scrollLeft-o)<2)&&!a)&&(r.doc.scrollLeft=o,STt(r),r.display.scroller.scrollLeft!=o&&(r.display.scroller.scrollLeft=o),r.display.scrollbars.setScrollLeft(o))}function Hz(r){let o=r.display,l=o.gutters.offsetWidth,a=Math.round(r.doc.height+X9e(r.display));return{clientHeight:o.scroller.clientHeight,viewHeight:o.wrapper.clientHeight,scrollWidth:o.scroller.scrollWidth,clientWidth:o.scroller.clientWidth,viewWidth:o.wrapper.clientWidth,barLeft:r.options.fixedGutter?l:0,docHeight:a,scrollHeight:a+P3(r)+o.barHeight,nativeBarWidth:o.nativeBarWidth,gutterWidth:l}}var wCn=class{constructor(r,o,l){this.cm=l;let a=this.vert=Zi("div",[Zi("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),p=this.horiz=Zi("div",[Zi("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a.tabIndex=p.tabIndex=-1,r(a),r(p),no(a,"scroll",()=>{a.clientHeight&&o(a.scrollTop,"vertical")}),no(p,"scroll",()=>{p.clientWidth&&o(p.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Tl&&vu<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}update(r){let o=r.scrollWidth>r.clientWidth+1,l=r.scrollHeight>r.clientHeight+1,a=r.nativeBarWidth;if(l){this.vert.style.display="block",this.vert.style.bottom=o?a+"px":"0";let p=r.viewHeight-(o?a:0);this.vert.firstChild.style.height=Math.max(0,r.scrollHeight-r.clientHeight+p)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(o){this.horiz.style.display="block",this.horiz.style.right=l?a+"px":"0",this.horiz.style.left=r.barLeft+"px";let p=r.viewWidth-r.barLeft-(l?a:0);this.horiz.firstChild.style.width=Math.max(0,r.scrollWidth-r.clientWidth+p)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&r.clientHeight>0&&(a==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:l?a:0,bottom:o?a:0}}setScrollLeft(r){this.horiz.scrollLeft!=r&&(this.horiz.scrollLeft=r),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")}setScrollTop(r){this.vert.scrollTop!=r&&(this.vert.scrollTop=r),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")}zeroWidthHack(){let r=am&&!l8n?"12px":"18px";this.horiz.style.height=this.vert.style.width=r,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new P_,this.disableVert=new P_}enableZeroWidthBar(r,o,l){r.style.pointerEvents="auto";function a(){let p=r.getBoundingClientRect();(l=="vert"?document.elementFromPoint(p.right-1,(p.top+p.bottom)/2):document.elementFromPoint((p.right+p.left)/2,p.bottom-1))!=r?r.style.pointerEvents="none":o.set(1e3,a)}o.set(1e3,a)}clear(){let r=this.horiz.parentNode;r.removeChild(this.horiz),r.removeChild(this.vert)}},mCn=class{update(){return{bottom:0,right:0}}setScrollLeft(){}setScrollTop(){}clear(){}};function O_(r,o){o||(o=Hz(r));let l=r.display.barWidth,a=r.display.barHeight;Y8t(r,o);for(let p=0;p<4&&l!=r.display.barWidth||a!=r.display.barHeight;p++)l!=r.display.barWidth&&r.options.lineWrapping&&_ie(r),Y8t(r,Hz(r)),l=r.display.barWidth,a=r.display.barHeight}function Y8t(r,o){let l=r.display,a=l.scrollbars.update(o);l.sizer.style.paddingRight=(l.barWidth=a.right)+"px",l.sizer.style.paddingBottom=(l.barHeight=a.bottom)+"px",l.heightForcer.style.borderBottom=a.bottom+"px solid transparent",a.right&&a.bottom?(l.scrollbarFiller.style.display="block",l.scrollbarFiller.style.height=a.bottom+"px",l.scrollbarFiller.style.width=a.right+"px"):l.scrollbarFiller.style.display="",a.bottom&&r.options.coverGutterNextToScrollbar&&r.options.fixedGutter?(l.gutterFiller.style.display="block",l.gutterFiller.style.height=a.bottom+"px",l.gutterFiller.style.width=o.gutterWidth+"px"):l.gutterFiller.style.display=""}var vTt={native:wCn,null:mCn};function yTt(r){r.display.scrollbars&&(r.display.scrollbars.clear(),r.display.scrollbars.addClass&&QE(r.display.wrapper,r.display.scrollbars.addClass)),r.display.scrollbars=new vTt[r.options.scrollbarStyle](o=>{r.display.wrapper.insertBefore(o,r.display.scrollbarFiller),no(o,"mousedown",()=>{r.state.focused&&setTimeout(()=>r.display.input.focus(),0)}),o.setAttribute("cm-not-content","true")},(o,l)=>{l=="horizontal"?tT(r,o):AH(r,o)},r),r.display.scrollbars.addClass&&ZE(r.display.wrapper,r.display.scrollbars.addClass)}var vCn=0;function nT(r){r.curOp={cm:r,viewChanged:!1,startHeight:r.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++vCn},q8n(r.curOp)}function rT(r){let o=r.curOp;o&&Y8n(o,l=>{for(let a=0;a=l.viewTo)||l.maxLineChanged&&o.options.lineWrapping,r.update=r.mustUpdate&&new kTt(o,r.mustUpdate&&{top:r.scrollTop,ensure:r.scrollToPos},r.forceUpdate)}function CCn(r){r.updatedDisplay=r.mustUpdate&&cxe(r.cm,r.update)}function SCn(r){let o=r.cm,l=o.display;r.updatedDisplay&&_ie(o),r.barMeasure=Hz(o),l.maxLineChanged&&!o.options.lineWrapping&&(r.adjustWidthTo=iTt(o,l.maxLine,l.maxLine.text.length).left+3,o.display.sizerWidth=r.adjustWidthTo,r.barMeasure.scrollWidth=Math.max(l.scroller.clientWidth,l.sizer.offsetLeft+r.adjustWidthTo+P3(o)+o.display.barWidth),r.maxScrollLeft=Math.max(0,l.sizer.offsetLeft+r.adjustWidthTo-eT(o))),(r.updatedDisplay||r.selectionChanged)&&(r.preparedSelection=l.input.prepareSelection())}function xCn(r){let o=r.cm;r.adjustWidthTo!=null&&(o.display.sizer.style.minWidth=r.adjustWidthTo+"px",r.maxScrollLeft=r.display.viewTo)return;let l=+new Date+r.options.workTime,a=RH(r,o.highlightFrontier),p=[];o.iter(a.line,Math.min(o.first+o.size,r.display.viewTo+500),g=>{if(a.line>=r.display.viewFrom){let w=g.styles,y=g.text.length>r.options.maxHighlightLength?OE(o.mode,a.state):null,S=zEt(r,g,a,!0);y&&(a.state=y),g.styles=S.styles;let E=g.styleClasses,I=S.classes;I?g.styleClasses=I:E&&(g.styleClasses=null);let M=!w||w.length!=g.styles.length||E!=I&&(!E||!I||E.bgClass!=I.bgClass||E.textClass!=I.textClass);for(let _=0;!M&&_l)return LH(r,r.options.workDelay),!0}),o.highlightFrontier=a.line,o.modeFrontier=Math.max(o.modeFrontier,a.line),p.length&&qg(r,()=>{for(let g=0;g=l.viewFrom&&o.visible.to<=l.viewTo&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo)&&l.renderedView==l.view&&q8t(r)==0)return!1;xTt(r)&&(mC(r),o.dims=exe(r));let p=a.first+a.size,g=Math.max(o.visible.from-r.options.viewportMargin,a.first),w=Math.min(p,o.visible.to+r.options.viewportMargin);l.viewFromw&&l.viewTo-w<20&&(w=Math.min(p,l.viewTo)),Z6&&(g=W9e(r.doc,g),w=XEt(r.doc,w));let y=g!=l.viewFrom||w!=l.viewTo||l.lastWrapHeight!=o.wrapperHeight||l.lastWrapWidth!=o.wrapperWidth;fCn(r,g,w),l.viewOffset=ek(Ii(r.doc,l.viewFrom)),r.display.mover.style.top=l.viewOffset+"px";let S=q8t(r);if(!y&&S==0&&!o.force&&l.renderedView==l.view&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo))return!1;let E=PCn(r);return S>4&&(l.lineDiv.style.display="none"),OCn(r,l.updateLineNumbers,o.dims),S>4&&(l.lineDiv.style.display=""),l.renderedView=l.view,MCn(E),LC(l.cursorDiv),LC(l.selectionDiv),l.gutters.style.height=l.sizer.style.minHeight=0,y&&(l.lastWrapHeight=o.wrapperHeight,l.lastWrapWidth=o.wrapperWidth,LH(r,400)),l.updateLineNumbers=null,!0}function CTt(r,o){let l=o.viewport;for(let a=!0;;a=!1){if(!a||!r.options.lineWrapping||o.oldDisplayWidth==eT(r)){if(l&&l.top!=null&&(l={top:Math.min(r.doc.height+X9e(r.display)-Y9e(r),l.top)}),o.visible=gre(r.display,r.doc,l),o.visible.from>=r.display.viewFrom&&o.visible.to<=r.display.viewTo)break}else a&&(o.visible=gre(r.display,r.doc,l));if(!cxe(r,o))break;_ie(r);let p=Hz(r);VF(r),O_(r,p),axe(r,p),o.force=!1}o.signal(r,"update",r),(r.display.viewFrom!=r.display.reportedViewFrom||r.display.viewTo!=r.display.reportedViewTo)&&(o.signal(r,"viewportChange",r,r.display.viewFrom,r.display.viewTo),r.display.reportedViewFrom=r.display.viewFrom,r.display.reportedViewTo=r.display.viewTo)}function Q7e(r,o){let l=new kTt(r,o);if(cxe(r,l)){_ie(r),CTt(r,l);let a=Hz(r);VF(r),O_(r,a),axe(r,a),l.finish()}}function OCn(r,o,l){let a=r.display,p=r.options.lineNumbers,g=a.lineDiv,w=g.firstChild;function y(I){let M=I.nextSibling;return R1&&am&&r.display.currentWheelTarget==I?I.style.display="none":I.parentNode.removeChild(I),M}let S=a.view,E=a.viewFrom;for(let I=0;I-1&&(_=!1),QEt(r,M,E,l)),_&&(LC(M.lineNumber),M.lineNumber.appendChild(document.createTextNode(H9e(r.options,E)))),w=M.node.nextSibling}E+=M.size}for(;w;)w=y(w)}function uxe(r){let o=r.gutters.offsetWidth;r.sizer.style.marginLeft=o+"px",Od(r,"gutterChanged",r)}function axe(r,o){r.display.sizer.style.minHeight=o.docHeight+"px",r.display.heightForcer.style.top=o.docHeight+"px",r.display.gutters.style.height=o.docHeight+r.display.barHeight+P3(r)+"px"}function STt(r){let o=r.display,l=o.view;if(!o.alignWidgets&&(!o.gutters.firstChild||!r.options.fixedGutter))return;let a=txe(o)-o.scroller.scrollLeft+r.doc.scrollLeft,p=o.gutters.offsetWidth,g=a+"px";for(let w=0;ww.clientWidth,S=w.scrollHeight>w.clientHeight;if(a&&y||p&&S){if(p&&am&&R1){e:for(let E=o.target,I=g.view;E!=w;E=E.parentNode)for(let M=0;M{if(g.wheelStartX==null)return;let E=w.scrollLeft-g.wheelStartX,I=w.scrollTop-g.wheelStartY,M=I&&g.wheelDY&&I/g.wheelDY||E&&g.wheelDX&&E/g.wheelDX;g.wheelStartX=g.wheelStartY=null,M&&(fb=(fb*ene+M)/(ene+1),++ene)},200)):(g.wheelDX+=a,g.wheelDY+=p))}}var XC=class{constructor(o,l){this.ranges=o,this.primIndex=l}primary(){return this.ranges[this.primIndex]}equals(o){if(o==this)return!0;if(o.primIndex!=this.primIndex||o.ranges.length!=this.ranges.length)return!1;for(let l=0;l=0&&Fo(o,p.to())<=0)return a}return-1}},Mc=class{constructor(r,o){this.anchor=r,this.head=o}from(){return Tie(this.anchor,this.head)}to(){return Eie(this.anchor,this.head)}empty(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};function cy(r,o,l){let a=r&&r.options.selectionsMayTouch,p=o[l];o.sort((g,w)=>Fo(g.from(),w.from())),l=qh(o,p);for(let g=1;g0:S>=0){let E=Tie(y.from(),w.from()),I=Eie(y.to(),w.to()),M=y.empty()?w.from()==w.head:y.from()==y.head;g<=l&&--l,o.splice(--g,2,new Mc(M?I:E,M?E:I))}}return new XC(o,l)}function DC(r,o){return new XC([new Mc(r,o||r)],0)}function NC(r){return r.text?nr(r.from.line+r.text.length-1,ec(r.text).length+(r.text.length==1?r.from.ch:0)):r.to}function Q8t(r,o){if(Fo(r,o.from)<0)return r;if(Fo(r,o.to)<=0)return NC(o);let l=r.line+o.text.length-(o.to.line-o.from.line)-1,a=r.ch;return r.line==o.to.line&&(a+=NC(o).ch-o.to.ch),nr(l,a)}function fxe(r,o){let l=[];for(let a=0;a{o.stateAfter&&(o.stateAfter=null),o.styles&&(o.styles=null)}),r.doc.modeFrontier=r.doc.highlightFrontier=r.doc.first,LH(r,100),r.state.modeGen++,r.curOp&&Dp(r)}function ITt(r,o){return o.from.ch==0&&o.to.ch==0&&ec(o.text)==""&&(!r.cm||r.cm.options.wholeLineUpdateBefore)}function dxe(r,o,l,a){function p(K){return l?l[K]:null}function g(K,q,Q){B8n(K,q,Q,a),Od(K,"change",K,o)}function w(K,q){let Q=[];for(let Z=K;Z1&&r.remove(y.line+1,j-1),r.insert(y.line+1,K)}Od(r,"change",r,o)}function _C(r,o,l){function a(p,g,w){if(p.linked)for(let y=0;y{MTt(r),Dp(r)})}function _ne(r){this.done=[],this.undone=[],this.undoDepth=r?r.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=r?r.maxGeneration:1}function tSe(r,o){let l={from:W7e(o.from),to:NC(o),text:_E(r,o.from,o.to)};return eCt(r,l,o.from.line,o.to.line+1),_C(r,a=>eCt(a,l,o.from.line,o.to.line+1),!0),l}function OTt(r){for(;r.length&&ec(r).ranges;)r.pop()}function $Cn(r,o){if(o)return OTt(r.done),ec(r.done);if(r.done.length&&!ec(r.done).ranges)return ec(r.done);if(r.done.length>1&&!r.done[r.done.length-2].ranges)return r.done.pop(),ec(r.done)}function _Tt(r,o,l,a){let p=r.history;p.undone.length=0;let g=+new Date,w,y;if((p.lastOp==a||p.lastOrigin==o.origin&&o.origin&&(o.origin.charAt(0)=="+"&&p.lastModTime>g-(r.cm?r.cm.options.historyEventDelay:500)||o.origin.charAt(0)=="*"))&&(w=$Cn(p,p.lastOp==a)))y=ec(w.changes),Fo(o.from,o.to)==0&&Fo(o.from,y.to)==0?y.to=NC(o):w.changes.push(tSe(r,o));else{let S=ec(p.done);for((!S||!S.ranges)&&bre(r.sel,p.done),w={changes:[tSe(r,o)],generation:p.generation},p.done.push(w);p.done.length>p.undoDepth;)p.done.shift(),p.done[0].ranges||p.done.shift()}p.done.push(l),p.generation=++p.maxGeneration,p.lastModTime=p.lastSelTime=g,p.lastOp=p.lastSelOp=a,p.lastOrigin=p.lastSelOrigin=o.origin,y||xf(r,"historyAdded")}function jCn(r,o,l,a){let p=o.charAt(0);return p=="*"||p=="+"&&l.ranges.length==a.ranges.length&&l.somethingSelected()==a.somethingSelected()&&new Date-r.history.lastSelTime<=(r.cm?r.cm.options.historyEventDelay:500)}function DCn(r,o,l,a){let p=r.history,g=a&&a.origin;l==p.lastSelOp||g&&p.lastSelOrigin==g&&(p.lastModTime==p.lastSelTime&&p.lastOrigin==g||jCn(r,g,ec(p.done),o))?p.done[p.done.length-1]=o:bre(o,p.done),p.lastSelTime=+new Date,p.lastSelOrigin=g,p.lastSelOp=l,a&&a.clearRedo!==!1&&OTt(p.undone)}function bre(r,o){let l=ec(o);l&&l.ranges&&l.equals(r)||o.push(r)}function eCt(r,o,l,a){let p=o["spans_"+r.id],g=0;r.iter(Math.max(r.first,l),Math.min(r.first+r.size,a),w=>{w.markedSpans&&((p||(p=o["spans_"+r.id]={}))[g]=w.markedSpans),++g})}function NCn(r){if(!r)return null;let o;for(let l=0;l-1&&(ec(S)[p]=I[p],delete I[p])}}return a}function hxe(r,o,l,a){if(a){let p=r.anchor;if(l){let g=Fo(o,p)<0;g!=Fo(l,p)<0?(p=o,o=l):g!=Fo(o,l)<0&&(o=l)}return new Mc(p,o)}else return new Mc(l||o,o)}function Aie(r,o,l,a,p){p==null&&(p=r.cm&&(r.cm.display.shift||r.extend)),Wh(r,new XC([hxe(r.sel.primary(),o,l,p)],0),a)}function nCt(r,o,l){let a=[],p=r.cm&&(r.cm.display.shift||r.extend);for(let w=0;w=o.ch:y.to>o.ch))){if(p&&(xf(S,"beforeCursorEnter"),S.explicitlyCleared))if(g.markedSpans){--w;continue}else break;if(!S.atomic)continue;if(l){let _=S.find(a<0?1:-1),R;if((a<0?I:E)&&(_=iCt(r,_,-a,_&&_.line==o.line?g:null)),_&&_.line==o.line&&(R=Fo(_,l))&&(a<0?R<0:R>0))return JO(r,_,o,a,p)}let M=S.find(a<0?-1:1);return(a<0?E:I)&&(M=iCt(r,M,a,M.line==o.line?g:null)),M?JO(r,M,o,a,p):null}}return o}function wre(r,o,l,a,p){let g=a||1,w=JO(r,o,l,g,p)||!p&&JO(r,o,l,g,!0)||JO(r,o,l,-g,p)||!p&&JO(r,o,l,-g,!0);return w||(r.cantEdit=!0,nr(r.first,0))}function iCt(r,o,l,a){return l<0&&o.ch==0?o.line>r.first?Bo(r,nr(o.line-1)):null:l>0&&o.ch==(a||Ii(r,o.line)).text.length?o.linea.canceled=!0};return l&&(a.update=(p,g,w,y)=>{p&&(a.from=Bo(r,p)),g&&(a.to=Bo(r,g)),w&&(a.text=w),y!==void 0&&(a.origin=y)}),xf(r,"beforeChange",r,a),r.cm&&xf(r.cm,"beforeChange",r.cm,a),a.canceled?(r.cm&&(r.cm.curOp.updateInput=2),null):{from:a.from,to:a.to,text:a.text,origin:a.origin}}function __(r,o,l){if(r.cm){if(!r.cm.curOp)return Pd(r.cm,__)(r,o,l);if(r.cm.state.suppressEdits)return}if((fm(r,"beforeChange")||r.cm&&fm(r.cm,"beforeChange"))&&(o=DTt(r,o,!0),!o))return;let a=UEt&&!l&&$8n(r,o.from,o.to);if(a)for(let p=a.length-1;p>=0;--p)oCt(r,{from:a[p].from,to:a[p].to,text:p?[""]:o.text,origin:o.origin});else oCt(r,o)}function oCt(r,o){if(o.text.length==1&&o.text[0]==""&&Fo(o.from,o.to)==0)return;let l=fxe(r,o);_Tt(r,o,l,r.cm?r.cm.curOp.id:NaN),Kz(r,o,l,V7e(r,o));let a=[];_C(r,(p,g)=>{!g&&qh(a,p.history)==-1&&(NTt(p.history,o),a.push(p.history)),Kz(p,o,null,V7e(p,o))})}function tne(r,o,l){let a=r.cm&&r.cm.state.suppressEdits;if(a&&!l)return;let p=r.history,g,w=r.sel,y=o=="undo"?p.done:p.undone,S=o=="undo"?p.undone:p.done,E=0;for(;E=0;--_){let R=g.changes[_];if(R.origin=o,M&&!DTt(r,R,!1)){y.length=0;return}I.push(tSe(r,R));let j=_?fxe(r,R):ec(y);Kz(r,R,j,tCt(r,R)),!_&&r.cm&&r.cm.scrollIntoView({from:R.from,to:NC(R)});let K=[];_C(r,(q,Q)=>{!Q&&qh(K,q.history)==-1&&(NTt(q.history,R),K.push(q.history)),Kz(q,R,null,tCt(q,R))})}}function sCt(r,o){if(o!=0&&(r.first+=o,r.sel=new XC(Sie(r.sel.ranges,l=>new Mc(nr(l.anchor.line+o,l.anchor.ch),nr(l.head.line+o,l.head.ch))),r.sel.primIndex),r.cm)){Dp(r.cm,r.first,r.first-o,o);for(let l=r.cm.display,a=l.viewFrom;ar.lastLine())return;if(o.from.linep&&(o={from:o.from,to:nr(p,Ii(r,p).text.length),text:[o.text[0]],origin:o.origin}),o.removed=_E(r,o.from,o.to),l||(l=fxe(r,o)),r.cm?zCn(r.cm,o,a):dxe(r,o,a),Lie(r,l,E3),r.cantEdit&&wre(r,nr(r.firstLine(),0))&&(r.cantEdit=!1)}function zCn(r,o,l){let a=r.doc,p=r.display,g=o.from,w=o.to,y=!1,S=g.line;r.options.lineWrapping||(S=gc(I3(Ii(a,g.line))),a.iter(S,w.line+1,_=>{if(_==p.maxLine)return y=!0,!0})),a.sel.contains(o.from,o.to)>-1&&jEt(r),dxe(a,o,l,hTt(r)),r.options.lineWrapping||(a.iter(S,g.line+o.text.length,_=>{let R=pre(_);R>p.maxLineLength&&(p.maxLine=_,p.maxLineLength=R,p.maxLineChanged=!0,y=!1)}),y&&(r.curOp.updateMaxLine=!0)),P8n(a,g.line),LH(r,400);let E=o.text.length-(w.line-g.line)-1;o.full?Dp(r):g.line==w.line&&o.text.length==1&&!ITt(r.doc,o)?qC(r,g.line,"text"):Dp(r,g.line,w.line+1,E);let I=fm(r,"changes"),M=fm(r,"change");if(M||I){let _={from:g,to:w,text:o.text,removed:o.removed,origin:o.origin};M&&Od(r,"change",r,_),I&&(r.curOp.changeObjs||(r.curOp.changeObjs=[])).push(_)}r.display.selForContextMenu=null}function X_(r,o,l,a,p){a||(a=l),Fo(a,l)<0&&([l,a]=[a,l]),typeof o=="string"&&(o=r.splitLines(o)),__(r,{from:l,to:a,text:o,origin:p})}function lCt(r,o,l,a){l1||!(this.children[0]instanceof XF))){let l=[];this.collapse(l),this.children=[new XF(l)],this.children[0].parent=this}},collapse(r){for(let o=0;o50){let w=p.lines.length%25+25;for(let y=w;y10);r.parent.maybeSpill()},iterN(r,o,l){for(let a=0;a{uCt(r,l,-p),qC(r,a,"widget")}),Od(r,"lineWidgetCleared",r,this,a))}changed(){let r=this.height,o=this.doc.cm,l=this.line;this.height=null;let a=Fz(this)-r;a&&(jC(this.doc,l)||T3(l,l.height+a),o&&qg(o,()=>{o.curOp.forceUpdate=!0,uCt(o,l,a),Od(o,"lineWidgetChanged",o,this,gc(l))}))}};U_(gxe);function uCt(r,o,l){ek(o)<(r.curOp&&r.curOp.scrollTop||r.doc.scrollTop)&&lxe(r,l)}function HCn(r,o,l,a){let p=new gxe(r,l,a),g=r.cm;return g&&p.noHScroll&&(g.display.alignWidgets=!0),TF(r,o,"widget",w=>{let y=w.widgets||(w.widgets=[]);if(p.insertAt==null?y.push(p):y.splice(Math.min(y.length,Math.max(0,p.insertAt)),0,p),p.line=w,g&&!jC(r,w)){let S=ek(w)r.display.maxLineLength&&(r.display.maxLine=g,r.display.maxLineLength=w,r.display.maxLineChanged=!0)}l!=null&&r&&this.collapsed&&Dp(r,l,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,r&<t(r.doc)),r&&Od(r,"markerCleared",r,this,l,a),o&&rT(r),this.parent&&this.parent.clear()}find(r,o){r==null&&this.type=="bookmark"&&(r=1);let l,a;for(let p=0;p{let a=r.line,p=gc(r.line),g=J9e(l,p);if(g&&(lTt(g),l.curOp.selectionChanged=l.curOp.forceUpdate=!0),l.curOp.updateMaxLine=!0,!jC(o.doc,a)&&o.height!=null){let w=o.height;o.height=null;let y=Fz(o)-w;y&&T3(a,a.height+y)}Od(l,"markerChanged",l,this)})}attachLine(r){if(!this.lines.length&&this.doc.cm){let o=this.doc.cm.curOp;(!o.maybeHiddenMarkers||qh(o.maybeHiddenMarkers,this)==-1)&&(o.maybeUnhiddenMarkers||(o.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(r)}detachLine(r){if(this.lines.splice(qh(this.lines,r),1),!this.lines.length&&this.doc.cm){let o=this.doc.cm.curOp;(o.maybeHiddenMarkers||(o.maybeHiddenMarkers=[])).push(this)}}};U_(bxe);function R_(r,o,l,a,p){if(a&&a.shared)return KCn(r,o,l,a,p);if(r.cm&&!r.cm.curOp)return Pd(r.cm,R_)(r,o,l,a,p);let g=new bxe(r,p),w=Fo(o,l);if(a&&zE(a,g,!1),w>0||w==0&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=c_("span",[g.replacedWith],"CodeMirror-widget"),a.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),a.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if(H8t(r,o.line,o,l,g)||o.line!=l.line&&H8t(r,l.line,o,l,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");O8n()}g.addToHistory&&_Tt(r,{from:o,to:l,origin:"markText"},r.sel,NaN);let y=o.line,S=r.cm,E;if(r.iter(y,l.line+1,I=>{S&&g.collapsed&&!S.options.lineWrapping&&I3(I)==S.display.maxLine&&(E=!0),g.collapsed&&y!=o.line&&T3(I,0),R8n(I,new Iie(g,y==o.line?o.ch:null,y==l.line?l.ch:null)),++y}),g.collapsed&&r.iter(o.line,l.line+1,I=>{jC(r,I)&&T3(I,0)}),g.clearOnEnter&&no(g,"beforeCursorEnter",()=>g.clear()),g.readOnly&&(M8n(),(r.history.done.length||r.history.undone.length)&&r.clearHistory()),g.collapsed&&(g.id=++BTt,g.atomic=!0),S){if(E&&(S.curOp.updateMaxLine=!0),g.collapsed)Dp(S,o.line,l.line+1);else if(g.className||g.startStyle||g.endStyle||g.css||g.attributes||g.title)for(let I=o.line;I<=l.line;I++)qC(S,I,"text");g.atomic&<t(S.doc),Od(S,"markerAdded",S,g)}return g}var wxe=class{constructor(r,o){this.markers=r,this.primary=o;for(let l=0;l{y&&(a.widgetNode=y.cloneNode(!0)),g.push(R_(S,Bo(S,o),Bo(S,l),a,p));for(let E=0;Eo.parent)}function UCn(r,o){for(let l=0;la.push(p));for(let p=0;p=0;w--)__(this,a[w]);g?RTt(this,g):this.cm&&q_(this.cm)}),undo:Ed(function(){tne(this,"undo")}),redo:Ed(function(){tne(this,"redo")}),undoSelection:Ed(function(){tne(this,"undo",!0)}),redoSelection:Ed(function(){tne(this,"redo",!0)}),setExtending:function(r){this.extend=r},getExtending:function(){return this.extend},historySize:function(){let r=this.history,o=0,l=0;for(let a=0;ar.history=this.history,!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(r){return r&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(r){return this.history.generation==(r||this.cleanGeneration)},getHistory:function(){return{done:DO(this.history.done),undone:DO(this.history.undone)}},setHistory:function(r){let o=this.history=new _ne(this.history);o.done=DO(r.done.slice(0),null,!0),o.undone=DO(r.undone.slice(0),null,!0)},setGutterMarker:Ed(function(r,o,l){return TF(this,r,"gutter",a=>{let p=a.gutterMarkers||(a.gutterMarkers={});return p[o]=l,!l&&$8t(p)&&(a.gutterMarkers=null),!0})}),clearGutter:Ed(function(r){this.iter(o=>{o.gutterMarkers&&o.gutterMarkers[r]&&TF(this,o,"gutter",()=>(o.gutterMarkers[r]=null,$8t(o.gutterMarkers)&&(o.gutterMarkers=null),!0))})}),lineInfo:function(r){let o;if(typeof r=="number"){if(!jz(this,r)||(o=r,r=Ii(this,r),!r))return null}else if(o=gc(r),o==null)return null;return{line:o,handle:r,text:r.text,gutterMarkers:r.gutterMarkers,textClass:r.textClass,bgClass:r.bgClass,wrapClass:r.wrapClass,widgets:r.widgets}},addLineClass:Ed(function(r,o,l){return TF(this,r,o=="gutter"?"gutter":"class",a=>{let p=o=="text"?"textClass":o=="background"?"bgClass":o=="gutter"?"gutterClass":"wrapClass";if(!a[p])a[p]=l;else{if(I_(l).test(a[p]))return!1;a[p]+=" "+l}return!0})}),removeLineClass:Ed(function(r,o,l){return TF(this,r,o=="gutter"?"gutter":"class",a=>{let p=o=="text"?"textClass":o=="background"?"bgClass":o=="gutter"?"gutterClass":"wrapClass",g=a[p];if(g)if(l==null)a[p]=null;else{let w=g.match(I_(l));if(!w)return!1;let y=w.index+w[0].length;a[p]=g.slice(0,w.index)+(!w.index||y==g.length?"":" ")+g.slice(y)||null}else return!1;return!0})}),addLineWidget:Ed(function(r,o,l){return HCn(this,r,o,l)}),removeLineWidget:function(r){r.clear()},markText:function(r,o,l){return R_(this,Bo(this,r),Bo(this,o),l,l&&l.type||"range")},setBookmark:function(r,o){let l={replacedWith:o&&(o.nodeType==null?o.widget:o),insertLeft:o&&o.insertLeft,clearWhenEmpty:!1,shared:o&&o.shared,handleMouseEvents:o&&o.handleMouseEvents};return r=Bo(this,r),R_(this,r,r,l,"bookmark")},findMarksAt:function(r){r=Bo(this,r);let o=[],l=Ii(this,r.line).markedSpans;if(l)for(let a=0;a=r.ch)&&o.push(p.marker.parent||p.marker)}return o},findMarks:function(r,o,l){r=Bo(this,r),o=Bo(this,o);let a=[],p=r.line;return this.iter(r.line,o.line+1,g=>{let w=g.markedSpans;if(w)for(let y=0;y=S.to||S.from==null&&p!=r.line||S.from!=null&&p==o.line&&S.from>=o.ch)&&(!l||l(S.marker))&&a.push(S.marker.parent||S.marker)}++p}),a},getAllMarks:function(){let r=[];return this.iter(o=>{let l=o.markedSpans;if(l)for(let a=0;a{let g=p.text.length+a;if(g>r)return o=r,!0;r-=g,++l}),Bo(this,nr(l,o))},indexFromPos:function(r){r=Bo(this,r);let o=r.ch;if(r.line{o+=a.text.length+l}),o},copy:function(r){let o=new K6(ACe(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return o.scrollTop=this.scrollTop,o.scrollLeft=this.scrollLeft,o.sel=this.sel,o.extend=!1,r&&(o.history.undoDepth=this.history.undoDepth,o.setHistory(this.getHistory())),o},linkedDoc:function(r){r||(r={});let o=this.first,l=this.first+this.size;r.from!=null&&r.from>o&&(o=r.from),r.to!=null&&r.too.push(l.id),!0),r.history=new _ne(null),r.history.done=DO(this.history.done,o),r.history.undone=DO(this.history.undone,o)}},iterLinkedDocs:function(r){_C(this,r)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(r){return this.lineSep?r.split(this.lineSep):N9e(r)},lineSeparator:function(){return this.lineSep||` +`},setDirection:Ed(function(r){r!="rtl"&&(r="ltr"),r!=this.direction&&(this.direction=r,this.iter(o=>o.order=null),this.cm&&LCn(this.cm))})});K6.prototype.eachLine=K6.prototype.iter;var RE=K6,FTt=0;function VCn(r){let o=this;if(zTt(o),Td(o,r)||tk(o.display,r))return;jp(r),Tl&&(FTt=+new Date);let l=HE(o,r,!0),a=r.dataTransfer.files;if(!(!l||o.isReadOnly()))if(a&&a.length&&window.FileReader&&window.File){let p=a.length,g=Array(p),w=0;const y=()=>{++w==p&&Pd(o,()=>{l=Bo(o.doc,l);let E={from:l,to:l,text:o.doc.splitLines(g.filter(I=>I!=null).join(o.doc.lineSeparator())),origin:"paste"};__(o.doc,E),RTt(o.doc,DC(Bo(o.doc,l),Bo(o.doc,NC(E))))})()},S=(E,I)=>{if(o.options.allowDropFileTypes&&qh(o.options.allowDropFileTypes,E.type)==-1){y();return}let M=new FileReader;M.onerror=()=>y(),M.onload=()=>{let _=M.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(_)){y();return}g[I]=_,y()},M.readAsText(E)};for(let E=0;E-1){o.state.draggingText(r),setTimeout(()=>o.display.input.focus(),20);return}try{let p=r.dataTransfer.getData("Text");if(p){let g;if(o.state.draggingText&&!o.state.draggingText.copy&&(g=o.listSelections()),Lie(o.doc,DC(l,l)),g)for(let w=0;w{for(let a=0;a{r==null&&(r=setTimeout(()=>{r=null,fCt(QCn)},100))}),no(window,"blur",()=>fCt(V_))}function QCn(r){let o=r.display;o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.scrollbarsClipped=!1,r.setSize()}var BC={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};for(let r=0;r<10;r++)BC[r+48]=BC[r+96]=String(r);for(let r=65;r<=90;r++)BC[r]=String.fromCharCode(r);for(let r=1;r<=12;r++)BC[r+111]=BC[r+63235]="F"+r;var W6={};W6.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"};W6.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"};W6.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"};W6.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]};W6.default=am?W6.macDefault:W6.pcDefault;function ZCn(r){let o=r.split(/-(?!$)/);r=o[o.length-1];let l,a,p,g;for(let w=0;w{for(let p=a.length-1;p>=0;p--)X_(r.doc,"",a[p].from,a[p].to,"+delete");q_(r)})}function mxe(r,o,l){let a=LEt(r.text,o+l,l);return a<0||a>r.text.length?null:a}function nSe(r,o,l){let a=mxe(r,o.ch,l);return a==null?null:new nr(o.line,a,l<0?"after":"before")}function vxe(r,o,l,a,p){if(r){o.doc.direction=="rtl"&&(p=-p);let g=lk(l,o.doc.direction);if(g){let w=p<0?ec(g):g[0],S=p<0==(w.level==1)?"after":"before",E;if(w.level>0||o.doc.direction=="rtl"){let I=G_(o,l);E=p<0?l.text.length-1:0;let M=M3(o,I,E).top;E=Az(_=>M3(o,I,_).top==M,p<0==(w.level==1)?w.from:w.to-1,E),S=="before"&&(E=mxe(l,E,1))}else E=p<0?w.to:w.from;return new nr(a,E,S)}}return new nr(a,p<0?l.text.length:0,p<0?"before":"after")}function t7n(r,o,l,a){let p=lk(o,r.doc.direction);if(!p)return nSe(o,l,a);l.ch>=o.text.length?(l.ch=o.text.length,l.sticky="before"):l.ch<=0&&(l.ch=0,l.sticky="after");let g=Lz(p,l.ch,l.sticky),w=p[g];if(r.doc.direction=="ltr"&&w.level%2==0&&(a>0?w.to>l.ch:w.frommxe(o,j instanceof nr?j.ch:j,K),S,E=j=>r.options.lineWrapping?(S=S||G_(r,o),dTt(r,o,S,j)):{begin:0,end:o.text.length},I=E(l.sticky=="before"?y(l,-1):l.ch);if(r.doc.direction=="rtl"||w.level==1){let j=w.level==1==a<0,K=y(l,j?1:-1);if(K!=null&&(j?K<=w.to&&K<=I.end:K>=w.from&&K>=I.begin)){let q=j?"before":"after";return new nr(l.line,K,q)}}let M=(j,K,q)=>{let Q=(Z,X)=>X?new nr(l.line,y(Z,1),"before"):new nr(l.line,Z,"after");for(;j>=0&&j0==(Z.level!=1),ie=X?q.begin:y(q.end,-1);if(Z.from<=ie&&ie0?I.end:y(I.begin,-1);return R!=null&&!(a>0&&R==o.text.length)&&(_=M(a>0?0:p.length-1,a,E(R)),_)?_:null}var Uz={selectAll:jTt,singleSelection:r=>r.setSelection(r.getCursor("anchor"),r.getCursor("head"),E3),killLine:r=>WO(r,o=>{if(o.empty()){let l=Ii(r.doc,o.head.line).text.length;return o.head.ch==l&&o.head.lineWO(r,o=>({from:nr(o.from().line,0),to:Bo(r.doc,nr(o.to().line+1,0))})),delLineLeft:r=>WO(r,o=>({from:nr(o.from().line,0),to:o.from()})),delWrappedLineLeft:r=>WO(r,o=>{let l=r.charCoords(o.head,"div").top+5;return{from:r.coordsChar({left:0,top:l},"div"),to:o.from()}}),delWrappedLineRight:r=>WO(r,o=>{let l=r.charCoords(o.head,"div").top+5,a=r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:l},"div");return{from:o.from(),to:a}}),undo:r=>r.undo(),redo:r=>r.redo(),undoSelection:r=>r.undoSelection(),redoSelection:r=>r.redoSelection(),goDocStart:r=>r.extendSelection(nr(r.firstLine(),0)),goDocEnd:r=>r.extendSelection(nr(r.lastLine())),goLineStart:r=>r.extendSelectionsBy(o=>GTt(r,o.head.line),{origin:"+move",bias:1}),goLineStartSmart:r=>r.extendSelectionsBy(o=>hCt(r,o.head),{origin:"+move",bias:1}),goLineEnd:r=>r.extendSelectionsBy(o=>n7n(r,o.head.line),{origin:"+move",bias:-1}),goLineRight:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5;return r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:l},"div")},UF),goLineLeft:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5;return r.coordsChar({left:0,top:l},"div")},UF),goLineLeftSmart:r=>r.extendSelectionsBy(o=>{let l=r.cursorCoords(o.head,"div").top+5,a=r.coordsChar({left:0,top:l},"div");return a.chr.moveV(-1,"line"),goLineDown:r=>r.moveV(1,"line"),goPageUp:r=>r.moveV(-1,"page"),goPageDown:r=>r.moveV(1,"page"),goCharLeft:r=>r.moveH(-1,"char"),goCharRight:r=>r.moveH(1,"char"),goColumnLeft:r=>r.moveH(-1,"column"),goColumnRight:r=>r.moveH(1,"column"),goWordLeft:r=>r.moveH(-1,"word"),goGroupRight:r=>r.moveH(1,"group"),goGroupLeft:r=>r.moveH(-1,"group"),goWordRight:r=>r.moveH(1,"word"),delCharBefore:r=>r.deleteH(-1,"codepoint"),delCharAfter:r=>r.deleteH(1,"char"),delWordBefore:r=>r.deleteH(-1,"word"),delWordAfter:r=>r.deleteH(1,"word"),delGroupBefore:r=>r.deleteH(-1,"group"),delGroupAfter:r=>r.deleteH(1,"group"),indentAuto:r=>r.indentSelection("smart"),indentMore:r=>r.indentSelection("add"),indentLess:r=>r.indentSelection("subtract"),insertTab:r=>r.replaceSelection(" "),insertSoftTab:r=>{let o=[],l=r.listSelections(),a=r.options.tabSize;for(let p=0;p{r.somethingSelected()?r.indentSelection("add"):r.execCommand("insertTab")},transposeChars:r=>qg(r,()=>{let o=r.listSelections(),l=[];for(let a=0;a0)p=new nr(p.line,p.ch+1),r.replaceRange(g.charAt(p.ch-1)+g.charAt(p.ch-2),nr(p.line,p.ch-2),p,"+transpose");else if(p.line>r.doc.first){let w=Ii(r.doc,p.line-1).text;w&&(p=new nr(p.line,1),r.replaceRange(g.charAt(0)+r.doc.lineSeparator()+w.charAt(w.length-1),nr(p.line-1,w.length-1),p,"+transpose"))}}l.push(new Mc(p,p))}r.setSelections(l)}),newlineAndIndent:r=>qg(r,()=>{let o=r.listSelections();for(let l=o.length-1;l>=0;l--)r.replaceRange(r.doc.lineSeparator(),o[l].anchor,o[l].head,"+input");o=r.listSelections();for(let l=0;lr.replaceSelection(` +`,"start"),toggleOverwrite:r=>r.toggleOverwrite()};function GTt(r,o){let l=Ii(r.doc,o),a=I3(l);return a!=l&&(o=gc(a)),vxe(!0,r,a,o,1)}function n7n(r,o){let l=Ii(r.doc,o),a=D8n(l);return a!=l&&(o=gc(a)),vxe(!0,r,l,o,-1)}function hCt(r,o){let l=GTt(r,o.line),a=Ii(r.doc,l.line),p=lk(a,r.doc.direction);if(!p||p[0].level==0){let g=Math.max(l.ch,a.text.search(/\S/)),w=o.line==l.line&&o.ch<=g&&o.ch;return nr(l.line,w?0:g,l.sticky)}return l}function Rne(r,o,l){if(typeof o=="string"&&(o=Uz[o],!o))return!1;r.display.input.ensurePolled();let a=r.display.shift,p=!1;try{r.isReadOnly()&&(r.state.suppressEdits=!0),l&&(r.display.shift=!1),p=o(r)!=Cie}finally{r.display.shift=a,r.state.suppressEdits=!1}return p}function r7n(r,o,l){for(let a=0;a{r.state.keySeq==p&&(r.state.keySeq=null,r.display.input.reset())}),pCt(r,p+" "+o,l,a))return!0}return pCt(r,o,l,a)}function pCt(r,o,l,a){let p=r7n(r,o,a);return p=="multi"&&(r.state.keySeq=o),p=="handled"&&Od(r,"keyHandled",r,o,l),(p=="handled"||p=="multi")&&(jp(l),rxe(r)),!!p}function WTt(r,o){let l=UTt(o,!0);return l?o.shiftKey&&!r.state.keySeq?JF(r,"Shift-"+l,o,a=>Rne(r,a,!0))||JF(r,l,o,a=>{if(typeof a=="string"?/^go[A-Z]/.test(a):a.motion)return Rne(r,a)}):JF(r,l,o,a=>Rne(r,a)):!1}function o7n(r,o,l){return JF(r,"'"+l+"'",o,a=>Rne(r,a,!0))}var rSe=null;function VTt(r){let o=this;if(r.target&&r.target!=o.display.input.getField()||(o.curOp.focus=lm(),Td(o,r)))return;Tl&&vu<11&&r.keyCode==27&&(r.returnValue=!1);let l=r.keyCode;o.display.shift=l==16||r.shiftKey;let a=WTt(o,r);fy&&(rSe=a?l:null,!a&&l==88&&!y8n&&(am?r.metaKey:r.ctrlKey)&&o.replaceSelection("",null,"cut")),Q6&&!am&&!a&&l==46&&r.shiftKey&&!r.ctrlKey&&document.execCommand&&document.execCommand("cut"),l==18&&!/\bCodeMirror-crosshair\b/.test(o.display.lineDiv.className)&&s7n(o)}function s7n(r){let o=r.display.lineDiv;ZE(o,"CodeMirror-crosshair");function l(a){(a.keyCode==18||!a.altKey)&&(QE(o,"CodeMirror-crosshair"),db(document,"keyup",l),db(document,"mouseover",l))}no(document,"keyup",l),no(document,"mouseover",l)}function qTt(r){r.keyCode==16&&(this.doc.sel.shift=!1),Td(this,r)}function XTt(r){let o=this;if(r.target&&r.target!=o.display.input.getField()||tk(o.display,r)||Td(o,r)||r.ctrlKey&&!r.altKey||am&&r.metaKey)return;let l=r.keyCode,a=r.charCode;if(fy&&l==rSe){rSe=null,jp(r);return}if(fy&&(!r.which||r.which<10)&&WTt(o,r))return;let p=String.fromCharCode(a??l);p!="\b"&&(o7n(o,r,p)||o.display.input.onKeyPress(r))}var l7n=400,gCt=class{constructor(r,o,l){this.time=r,this.pos=o,this.button=l}compare(r,o,l){return this.time+l7n>r&&Fo(o,this.pos)==0&&l==this.button}},hF,pF;function c7n(r,o){let l=+new Date;return pF&&pF.compare(l,r,o)?(hF=pF=null,"triple"):hF&&hF.compare(l,r,o)?(pF=new gCt(l,r,o),hF=null,"double"):(hF=new gCt(l,r,o),pF=null,"single")}function YTt(r){let o=this,l=o.display;if(Td(o,r)||l.activeTouch&&l.input.supportsTouch())return;if(l.input.ensurePolled(),l.shift=r.shiftKey,tk(l,r)){R1||(l.scroller.draggable=!1,setTimeout(()=>l.scroller.draggable=!0,100));return}if(iSe(o,r))return;let a=HE(o,r),p=NEt(r),g=a?c7n(a,p):"single";window.focus(),p==1&&o.state.selectingText&&o.state.selectingText(r),!(a&&u7n(o,p,a,g,r))&&(p==1?a?f7n(o,a,g,r):D9e(r)==l.scroller&&jp(r):p==2?(a&&Aie(o.doc,a),setTimeout(()=>l.input.focus(),20)):p==3&&(A9e?o.display.input.onContextMenu(r):ixe(o)))}function u7n(r,o,l,a,p){let g="Click";return a=="double"?g="Double"+g:a=="triple"&&(g="Triple"+g),g=(o==1?"Left":o==2?"Middle":"Right")+g,JF(r,KTt(g,p),p,w=>{if(typeof w=="string"&&(w=Uz[w]),!w)return!1;let y=!1;try{r.isReadOnly()&&(r.state.suppressEdits=!0),y=w(r,l)!=Cie}finally{r.state.suppressEdits=!1}return y})}function a7n(r,o,l){let a=r.getOption("configureMouse"),p=a?a(r,o,l):{};if(p.unit==null){let g=u8n?l.shiftKey&&l.metaKey:l.altKey;p.unit=g?"rectangle":o=="single"?"char":o=="double"?"word":"line"}return(p.extend==null||r.doc.extend)&&(p.extend=r.doc.extend||l.shiftKey),p.addNew==null&&(p.addNew=am?l.metaKey:l.ctrlKey),p.moveOnDrag==null&&(p.moveOnDrag=!(am?l.altKey:l.ctrlKey)),p}function f7n(r,o,l,a){Tl?setTimeout(L9e(bTt,r),0):r.curOp.focus=lm();let p=a7n(r,l,a),g=r.doc.sel,w;r.options.dragDrop&&b8n&&!r.isReadOnly()&&l=="single"&&(w=g.contains(o))>-1&&(Fo((w=g.ranges[w]).from(),o)<0||o.xRel>0)&&(Fo(w.to(),o)>0||o.xRel<0)?d7n(r,a,o,p):h7n(r,a,o,p)}function d7n(r,o,l,a){let p=r.display,g=!1,w=Pd(r,E=>{R1&&(p.scroller.draggable=!1),r.state.draggingText=!1,r.state.delayingBlurEvent&&(r.hasFocus()?r.state.delayingBlurEvent=!1:ixe(r)),db(p.wrapper.ownerDocument,"mouseup",w),db(p.wrapper.ownerDocument,"mousemove",y),db(p.scroller,"dragstart",S),db(p.scroller,"drop",w),g||(jp(E),a.addNew||Aie(r.doc,l,null,null,a.extend),R1&&!yie||Tl&&vu==9?setTimeout(()=>{p.wrapper.ownerDocument.body.focus({preventScroll:!0}),p.input.focus()},20):p.input.focus())}),y=function(E){g=g||Math.abs(o.clientX-E.clientX)+Math.abs(o.clientY-E.clientY)>=10},S=()=>g=!0;R1&&(p.scroller.draggable=!0),r.state.draggingText=w,w.copy=!a.moveOnDrag,no(p.wrapper.ownerDocument,"mouseup",w),no(p.wrapper.ownerDocument,"mousemove",y),no(p.scroller,"dragstart",S),no(p.scroller,"drop",w),r.state.delayingBlurEvent=!0,setTimeout(()=>p.input.focus(),20),p.scroller.dragDrop&&p.scroller.dragDrop()}function bCt(r,o,l){if(l=="char")return new Mc(o,o);if(l=="word")return r.findWordAt(o);if(l=="line")return new Mc(nr(o.line,0),Bo(r.doc,nr(o.line+1,0)));let a=l(r,o);return new Mc(a.from,a.to)}function h7n(r,o,l,a){Tl&&ixe(r);let p=r.display,g=r.doc;jp(o);let w,y,S=g.sel,E=S.ranges;if(a.addNew&&!a.extend?(y=g.sel.contains(l),y>-1?w=E[y]:w=new Mc(l,l)):(w=g.sel.primary(),y=g.sel.primIndex),a.unit=="rectangle")a.addNew||(w=new Mc(l,l)),l=HE(r,o,!0,!0),y=-1;else{let Z=bCt(r,l,a.unit);a.extend?w=hxe(w,Z.anchor,Z.head,a.extend):w=Z}a.addNew?y==-1?(y=E.length,Wh(g,cy(r,E.concat([w]),y),{scroll:!1,origin:"*mouse"})):E.length>1&&E[y].empty()&&a.unit=="char"&&!a.extend?(Wh(g,cy(r,E.slice(0,y).concat(E.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),S=g.sel):pxe(g,y,w,MCe):(y=0,Wh(g,new XC([w],0),MCe),S=g.sel);let I=l;function M(Z){if(Fo(I,Z)!=0)if(I=Z,a.unit=="rectangle"){let X=[],ie=r.options.tabSize,je=rm(Ii(g,l.line).text,l.ch,ie),et=rm(Ii(g,Z.line).text,Z.ch,ie),mt=Math.min(je,et),bt=Math.max(je,et);for(let ce=Math.min(l.line,Z.line),Be=Math.min(r.lastLine(),Math.max(l.line,Z.line));ce<=Be;ce++){let ae=Ii(g,ce).text,xe=z7e(ae,mt,ie);mt==bt?X.push(new Mc(nr(ce,xe),nr(ce,xe))):ae.length>xe&&X.push(new Mc(nr(ce,xe),nr(ce,z7e(ae,bt,ie))))}X.length||X.push(new Mc(l,l)),Wh(g,cy(r,S.ranges.slice(0,y).concat(X),y),{origin:"*mouse",scroll:!1}),r.scrollIntoView(Z)}else{let X=w,ie=bCt(r,Z,a.unit),je=X.anchor,et;Fo(ie.anchor,je)>0?(et=ie.head,je=Tie(X.from(),ie.anchor)):(et=ie.anchor,je=Eie(X.to(),ie.head));let mt=S.ranges.slice(0);mt[y]=p7n(r,new Mc(Bo(g,je),et)),Wh(g,cy(r,mt,y),MCe)}}let _=p.wrapper.getBoundingClientRect(),R=0;function j(Z){let X=++R,ie=HE(r,Z,!0,a.unit=="rectangle");if(ie)if(Fo(ie,I)!=0){r.curOp.focus=lm(),M(ie);let je=gre(p,g);(ie.line>=je.to||ie.line{R==X&&j(Z)}),150)}else{let je=Z.clientY<_.top?-20:Z.clientY>_.bottom?20:0;je&&setTimeout(Pd(r,()=>{R==X&&(p.scroller.scrollTop+=je,j(Z))}),50)}}function K(Z){r.state.selectingText=!1,R=1/0,Z&&(jp(Z),p.input.focus()),db(p.wrapper.ownerDocument,"mousemove",q),db(p.wrapper.ownerDocument,"mouseup",Q),g.history.lastSelOrigin=null}let q=Pd(r,Z=>{Z.buttons===0||!NEt(Z)?K(Z):j(Z)}),Q=Pd(r,K);r.state.selectingText=Q,no(p.wrapper.ownerDocument,"mousemove",q),no(p.wrapper.ownerDocument,"mouseup",Q)}function p7n(r,o){let{anchor:l,head:a}=o,p=Ii(r.doc,l.line);if(Fo(l,a)==0&&l.sticky==a.sticky)return o;let g=lk(p);if(!g)return o;let w=Lz(g,l.ch,l.sticky),y=g[w];if(y.from!=l.ch&&y.to!=l.ch)return o;let S=w+(y.from==l.ch==(y.level!=1)?0:1);if(S==0||S==g.length)return o;let E;if(a.line!=l.line)E=(a.line-l.line)*(r.doc.direction=="ltr"?1:-1)>0;else{let j=Lz(g,a.ch,a.sticky),K=j-w||(a.ch-l.ch)*(y.level==1?-1:1);j==S-1||j==S?E=K<0:E=K>0}let I=g[S+(E?-1:0)],M=E==(I.level==1),_=M?I.from:I.to,R=M?"after":"before";return l.ch==_&&l.sticky==R?o:new Mc(new nr(l.line,_,R),a)}function JTt(r,o,l,a){let p,g;if(o.touches)p=o.touches[0].clientX,g=o.touches[0].clientY;else try{p=o.clientX,g=o.clientY}catch{return!1}if(p>=Math.floor(r.display.gutters.getBoundingClientRect().right))return!1;a&&jp(o);let w=r.display,y=w.lineDiv.getBoundingClientRect();if(g>y.bottom||!fm(r,l))return U7e(o);g-=y.top-w.viewOffset;for(let S=0;S=p){let I=CE(r.doc,g),M=r.display.gutterSpecs[S];return xf(r,l,r,I,M.className,o),U7e(o)}}}function iSe(r,o){return JTt(r,o,"gutterClick",!0)}function wCt(r,o){tk(r.display,o)||g7n(r,o)||Td(r,o,"contextmenu")||A9e||r.display.input.onContextMenu(o)}function g7n(r,o){return fm(r,"gutterContextMenu")?JTt(r,o,"gutterContextMenu",!1):!1}function QTt(r){r.display.wrapper.className=r.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+r.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zz(r)}var QO={toString:function(){return"CodeMirror.Init"}},ZTt={},Ane={};function b7n(r){let o=r.optionHandlers;function l(a,p,g,w){r.defaults[a]=p,g&&(o[a]=w?(y,S,E)=>{E!=QO&&g(y,S,E)}:g)}r.defineOption=l,r.Init=QO,l("value","",(a,p)=>a.setValue(p),!0),l("mode",null,(a,p)=>{a.doc.modeOption=p,eSe(a)},!0),l("indentUnit",2,eSe,!0),l("indentWithTabs",!1),l("smartIndent",!0),l("tabSize",4,a=>{EF(a),zz(a),Dp(a)},!0),l("lineSeparator",null,(a,p)=>{if(a.doc.lineSep=p,!p)return;let g=[],w=a.doc.first;a.doc.iter(y=>{for(let S=0;;){let E=y.text.indexOf(p,S);if(E==-1)break;S=E+p.length,g.push(nr(w,E))}w++});for(let y=g.length-1;y>=0;y--)X_(a.doc,p,g[y],nr(g[y].line,g[y].ch+p.length))}),l("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(a,p,g)=>{a.state.specialChars=new RegExp(p.source+(p.test(" ")?"":"| "),"g"),g!=QO&&a.refresh()}),l("specialCharPlaceholder",K8n,a=>a.refresh(),!0),l("electricChars",!0),l("inputStyle",_z?"contenteditable":"textarea",()=>{throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),l("spellcheck",!1,(a,p)=>a.getInputField().spellcheck=p,!0),l("autocorrect",!1,(a,p)=>a.getInputField().autocorrect=p,!0),l("autocapitalize",!1,(a,p)=>a.getInputField().autocapitalize=p,!0),l("rtlMoveVisually",!a8n),l("wholeLineUpdateBefore",!0),l("theme","default",a=>{QTt(a),dF(a)},!0),l("keyMap","default",(a,p,g)=>{let w=mre(p),y=g!=QO&&mre(g);y&&y.detach&&y.detach(a,w),w.attach&&w.attach(a,y||null)}),l("extraKeys",null),l("configureMouse",null),l("lineWrapping",!1,m7n,!0),l("gutters",[],(a,p)=>{a.display.gutterSpecs=Z7e(p,a.options.lineNumbers),dF(a)},!0),l("fixedGutter",!0,(a,p)=>{a.display.gutters.style.left=p?txe(a.display)+"px":"0",a.refresh()},!0),l("coverGutterNextToScrollbar",!1,a=>O_(a),!0),l("scrollbarStyle","native",a=>{yTt(a),O_(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),l("lineNumbers",!1,(a,p)=>{a.display.gutterSpecs=Z7e(a.options.gutters,p),dF(a)},!0),l("firstLineNumber",1,dF,!0),l("lineNumberFormatter",a=>a,dF,!0),l("showCursorWhenSelecting",!1,VF,!0),l("resetSelectionOnContextMenu",!0),l("lineWiseCopyCut",!0),l("pasteLinesPerSelection",!0),l("selectionsMayTouch",!1),l("readOnly",!1,(a,p)=>{p=="nocursor"&&(V_(a),a.display.input.blur()),a.display.input.readOnlyChanged(p)}),l("screenReaderLabel",null,(a,p)=>{p=p===""?null:p,a.display.input.screenReaderLabelChanged(p)}),l("disableInput",!1,(a,p)=>{p||a.display.input.reset()},!0),l("dragDrop",!0,w7n),l("allowDropFileTypes",null),l("cursorBlinkRate",530),l("cursorScrollMargin",0),l("cursorHeight",1,VF,!0),l("singleCursorHeightPerLine",!0,VF,!0),l("workTime",100),l("workDelay",100),l("flattenSpans",!0,EF,!0),l("addModeClass",!1,EF,!0),l("pollInterval",100),l("undoDepth",200,(a,p)=>a.doc.history.undoDepth=p),l("historyEventDelay",1250),l("viewportMargin",10,a=>a.refresh(),!0),l("maxHighlightLength",1e4,EF,!0),l("moveInputWithCursor",!0,(a,p)=>{p||a.display.input.resetPosition()}),l("tabindex",null,(a,p)=>a.display.input.getField().tabIndex=p||""),l("autofocus",null),l("direction","ltr",(a,p)=>a.doc.setDirection(p),!0),l("phrases",null)}function w7n(r,o,l){let a=l&&l!=QO;if(!o!=!a){let p=r.display.dragFunctions,g=o?no:db;g(r.display.scroller,"dragstart",p.start),g(r.display.scroller,"dragenter",p.enter),g(r.display.scroller,"dragover",p.over),g(r.display.scroller,"dragleave",p.leave),g(r.display.scroller,"drop",p.drop)}}function m7n(r){r.options.lineWrapping?(ZE(r.display.wrapper,"CodeMirror-wrap"),r.display.sizer.style.minWidth="",r.display.sizerWidth=null):(QE(r.display.wrapper,"CodeMirror-wrap"),V9e(r)),nxe(r),Dp(r),zz(r),setTimeout(()=>O_(r),100)}function Ou(r,o){if(!(this instanceof Ou))return new Ou(r,o);this.options=o=o?zE(o):{},zE(ZTt,o,!1);let l=o.value;typeof l=="string"?l=new RE(l,o.mode,null,o.lineSeparator,o.direction):o.mode&&(l.modeOption=o.mode),this.doc=l;let a=new Ou.inputStyles[o.inputStyle](this),p=this.display=new _Cn(r,l,a,o);p.wrapper.CodeMirror=this,QTt(this),o.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),yTt(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new P_,keySeq:null,specialChars:null},o.autofocus&&!_z&&p.input.focus(),Tl&&vu<11&&setTimeout(()=>this.display.input.reset(!0),20),y7n(this),YCn(),nT(this),this.curOp.forceUpdate=!0,PTt(this,l),o.autofocus&&!_z||this.hasFocus()?setTimeout(()=>{this.hasFocus()&&!this.state.focused&&oxe(this)},20):V_(this);for(let g in Ane)Ane.hasOwnProperty(g)&&Ane[g](this,o[g],QO);xTt(this),o.finishInit&&o.finishInit(this);for(let g=0;g{if(Td(r,S))return;let E=HE(r,S);if(!E||iSe(r,S)||tk(r.display,S))return;jp(S);let I=r.findWordAt(E);Aie(r.doc,I.anchor,I.head)})):no(o.scroller,"dblclick",S=>Td(r,S)||jp(S)),no(o.scroller,"contextmenu",S=>wCt(r,S)),no(o.input.getField(),"contextmenu",S=>{o.scroller.contains(S.target)||wCt(r,S)});let l,a={end:0};function p(){o.activeTouch&&(l=setTimeout(()=>o.activeTouch=null,1e3),a=o.activeTouch,a.end=+new Date)}function g(S){if(S.touches.length!=1)return!1;let E=S.touches[0];return E.radiusX<=1&&E.radiusY<=1}function w(S,E){if(E.left==null)return!0;let I=E.left-S.left,M=E.top-S.top;return I*I+M*M>20*20}no(o.scroller,"touchstart",S=>{if(!Td(r,S)&&!g(S)&&!iSe(r,S)){o.input.ensurePolled(),clearTimeout(l);let E=+new Date;o.activeTouch={start:E,moved:!1,prev:E-a.end<=300?a:null},S.touches.length==1&&(o.activeTouch.left=S.touches[0].pageX,o.activeTouch.top=S.touches[0].pageY)}}),no(o.scroller,"touchmove",()=>{o.activeTouch&&(o.activeTouch.moved=!0)}),no(o.scroller,"touchend",S=>{let E=o.activeTouch;if(E&&!tk(o,S)&&E.left!=null&&!E.moved&&new Date-E.start<300){let I=r.coordsChar(o.activeTouch,"page"),M;!E.prev||w(E,E.prev)?M=new Mc(I,I):!E.prev.prev||w(E,E.prev.prev)?M=r.findWordAt(I):M=new Mc(nr(I.line,0),Bo(r.doc,nr(I.line+1,0))),r.setSelection(M.anchor,M.head),r.focus(),jp(S)}p()}),no(o.scroller,"touchcancel",p),no(o.scroller,"scroll",()=>{o.scroller.clientHeight&&(AH(r,o.scroller.scrollTop),tT(r,o.scroller.scrollLeft,!0),xf(r,"scroll",r))}),no(o.scroller,"mousewheel",S=>J8t(r,S)),no(o.scroller,"DOMMouseScroll",S=>J8t(r,S)),no(o.wrapper,"scroll",()=>o.wrapper.scrollTop=o.wrapper.scrollLeft=0),o.dragFunctions={enter:S=>{Td(r,S)||$z(S)},over:S=>{Td(r,S)||(XCn(r,S),$z(S))},start:S=>qCn(r,S),drop:Pd(r,VCn),leave:S=>{Td(r,S)||zTt(r)}};let y=o.input.getField();no(y,"keyup",S=>qTt.call(r,S)),no(y,"keydown",Pd(r,VTt)),no(y,"keypress",Pd(r,XTt)),no(y,"focus",S=>oxe(r,S)),no(y,"blur",S=>V_(r,S))}var oSe=[];Ou.defineInitHook=r=>oSe.push(r);function QF(r,o,l,a){let p=r.doc,g;l==null&&(l="add"),l=="smart"&&(p.mode.indent?g=RH(r,o).state:l="prev");let w=r.options.tabSize,y=Ii(p,o),S=rm(y.text,null,w);y.stateAfter&&(y.stateAfter=null);let E=y.text.match(/^\s*/)[0],I;if(!a&&!/\S/.test(y.text))I=0,l="not";else if(l=="smart"&&(I=p.mode.indent(g,y.text.slice(E.length),y.text),I==Cie||I>150)){if(!a)return;l="prev"}l=="prev"?o>p.first?I=rm(Ii(p,o-1).text,null,w):I=0:l=="add"?I=S+r.options.indentUnit:l=="subtract"?I=S-r.options.indentUnit:typeof l=="number"&&(I=S+l),I=Math.max(0,I);let M="",_=0;if(r.options.indentWithTabs)for(let R=Math.floor(I/w);R;--R)_+=w,M+=" ";if(_w,S=N9e(o),E=null;if(y&&a.ranges.length>1)if(ey&&ey.text.join(` +`)==o){if(a.ranges.length%ey.text.length==0){E=[];for(let M=0;M[M]));let I=r.curOp.updateInput;for(let M=a.ranges.length-1;M>=0;M--){let _=a.ranges[M],R=_.from(),j=_.to();_.empty()&&(l&&l>0?R=nr(R.line,R.ch-l):r.state.overwrite&&!y?j=nr(j.line,Math.min(Ii(g,j.line).text.length,j.ch+ec(S).length)):y&&ey&&ey.lineWise&&ey.text.join(` +`)==S.join(` +`)&&(R=j=nr(R.line,0)));let K={from:R,to:j,text:E?E[M%E.length]:S,origin:p||(y?"paste":r.state.cutIncoming>w?"cut":"+input")};__(r.doc,K),Od(r,"inputRead",r,K)}o&&!y&&tIt(r,o),q_(r),r.curOp.updateInput<2&&(r.curOp.updateInput=I),r.curOp.typing=!0,r.state.pasteIncoming=r.state.cutIncoming=-1}function eIt(r,o){let l=r.clipboardData&&r.clipboardData.getData("Text");if(l)return r.preventDefault(),!o.isReadOnly()&&!o.options.disableInput&&qg(o,()=>yxe(o,l,0,null,"paste")),!0}function tIt(r,o){if(!r.options.electricChars||!r.options.smartIndent)return;let l=r.doc.sel;for(let a=l.ranges.length-1;a>=0;a--){let p=l.ranges[a];if(p.head.ch>100||a&&l.ranges[a-1].head.line==p.head.line)continue;let g=r.getModeAt(p.head),w=!1;if(g.electricChars){for(let y=0;y-1){w=QF(r,p.head.line,"smart");break}}else g.electricInput&&g.electricInput.test(Ii(r.doc,p.head.line).text.slice(0,p.head.ch))&&(w=QF(r,p.head.line,"smart"));w&&Od(r,"electricInput",r,p.head.line)}}function nIt(r){let o=[],l=[];for(let a=0;aw.priority),this.state.modeGen++,Dp(this)}),removeOverlay:M1(function(a){let p=this.state.overlays;for(let g=0;gg&&(QF(this,y.head.line,a,!0),g=y.head.line,w==this.doc.sel.primIndex&&q_(this));else{let S=y.from(),E=y.to(),I=Math.max(g,S.line);g=Math.min(this.lastLine(),E.line-(E.ch?0:1))+1;for(let _=I;_0&&pxe(this.doc,w,new Mc(S,M[w].to()),E3)}}}),getTokenAt:function(a,p){return N8t(this,a,p)},getLineTokens:function(a,p){return N8t(this,nr(a),p,!0)},getTokenTypeAt:function(a){a=Bo(this.doc,a);let p=HEt(this,Ii(this.doc,a.line)),g=0,w=(p.length-1)/2,y=a.ch,S;if(y==0)S=p[2];else for(;;){let I=g+w>>1;if((I?p[I*2-1]:0)>=y)w=I;else if(p[I*2+1]S&&(a=S,w=!0),y=Ii(this.doc,a)}else y=a;return Oie(this,y,{top:0,left:0},p||"page",g||w).top+(w?this.doc.height-ek(y):0)},defaultTextHeight:function(){return M_(this.display)},defaultCharWidth:function(){return W_(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,p,g,w,y){let S=this.display;a=ly(this,Bo(this.doc,a));let E=a.bottom,I=a.left;if(p.style.position="absolute",p.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(p),S.sizer.appendChild(p),w=="over")E=a.top;else if(w=="above"||w=="near"){let M=Math.max(S.wrapper.clientHeight,this.doc.height),_=Math.max(S.sizer.clientWidth,S.lineSpace.clientWidth);(w=="above"||a.bottom+p.offsetHeight>M)&&a.top>p.offsetHeight?E=a.top-p.offsetHeight:a.bottom+p.offsetHeight<=M&&(E=a.bottom),I+p.offsetWidth>_&&(I=_-p.offsetWidth)}p.style.top=E+"px",p.style.left=p.style.right="",y=="right"?(I=S.sizer.clientWidth-p.offsetWidth,p.style.right="0px"):(y=="left"?I=0:y=="middle"&&(I=(S.sizer.clientWidth-p.offsetWidth)/2),p.style.left=I+"px"),g&&gCn(this,{left:I,top:E,right:I+p.offsetWidth,bottom:E+p.offsetHeight})},triggerOnKeyDown:M1(VTt),triggerOnKeyPress:M1(XTt),triggerOnKeyUp:qTt,triggerOnMouseDown:M1(YTt),execCommand:function(a){if(Uz.hasOwnProperty(a))return Uz[a].call(null,this)},triggerElectric:M1(function(a){tIt(this,a)}),findPosH:function(a,p,g,w){let y=1;p<0&&(y=-1,p=-p);let S=Bo(this.doc,a);for(let E=0;Ethis.display.shift||this.doc.extend||g.empty()?LCe(this.doc,g.head,a,p,this.options.rtlMoveVisually):a<0?g.from():g.to(),UF)}),deleteH:M1(function(a,p){let g=this.doc.sel,w=this.doc;g.somethingSelected()?w.replaceSelection("",null,"+delete"):WO(this,y=>{let S=LCe(w,y.head,a,p,!1);return a<0?{from:S,to:y.head}:{from:y.head,to:S}})}),findPosV:function(a,p,g,w){let y=1,S=w;p<0&&(y=-1,p=-p);let E=Bo(this.doc,a);for(let I=0;I{if(y)return a<0?S.from():S.to();let E=ly(this,S.head,"div");S.goalColumn!=null&&(E.left=S.goalColumn),w.push(E.left);let I=mCt(this,E,a,p);return p=="page"&&S==g.sel.primary()&&lxe(this,X7e(this,I,"div").top-E.top),I},UF),w.length)for(let S=0;SMne(M,S):/\s/.test(E)?M=>/\s/.test(M):M=>!/\s/.test(M)&&!Mne(M);for(;w>0&&I(g.charAt(w-1));)--w;for(;ytypeof y=="number"||/^\d+$/.test(String(y))?y+"px":y;a!=null&&(this.display.wrapper.style.width=g(a)),p!=null&&(this.display.wrapper.style.height=g(p)),this.options.lineWrapping&&cTt(this);let w=this.display.viewFrom;this.doc.iter(w,this.display.viewTo,y=>{if(y.widgets){for(let S=0;S.5||this.options.lineWrapping)&&nxe(this),xf(this,"refresh",this)}),swapDoc:M1(function(a){let p=this.doc;return p.cm=null,this.state.selectingText&&this.state.selectingText(),PTt(this,a),zz(this),this.display.input.reset(),qF(this,a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,Od(this,"swapDoc",this,p),p}),phrase:function(a){let p=this.options.phrases;return p&&Object.prototype.hasOwnProperty.call(p,a)?p[a]:a},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},U_(r),r.registerHelper=function(a,p,g){l.hasOwnProperty(a)||(l[a]=r[a]={_global:[]}),l[a][p]=g},r.registerGlobalHelper=function(a,p,g,w){r.registerHelper(a,p,w),l[a]._global.push({pred:g,val:w})}}function LCe(r,o,l,a,p){let g=o,w=l,y=Ii(r,o.line),S=p&&r.direction=="rtl"?-l:l;function E(){let _=o.line+S;return _=r.first+r.size?!1:(o=new nr(_,o.ch,o.sticky),y=Ii(r,_))}function I(_){let R;if(a=="codepoint"){let j=y.text.charCodeAt(o.ch+(l>0?0:-1));if(isNaN(j))R=null;else{let K=l>0?j>=55296&&j<56320:j>=56320&&j<57343;R=new nr(o.line,Math.max(0,Math.min(y.text.length,o.ch+l*(K?2:1))),-l)}}else p?R=t7n(r.cm,y,o,l):R=nSe(y,o,l);if(R==null)if(!_&&E())o=vxe(p,r.cm,y,o.line,S);else return!1;else o=R;return!0}if(a=="char"||a=="codepoint")I();else if(a=="column")I(!0);else if(a=="word"||a=="group"){let _=null,R=a=="group",j=r.cm&&r.cm.getHelper(o,"wordChars");for(let K=!0;!(l<0&&!I(!K));K=!1){let q=y.text.charAt(o.ch)||` +`,Q=Mne(q,j)?"w":R&&q==` +`?"n":!R||/\s/.test(q)?null:"p";if(R&&!K&&!Q&&(Q="s"),_&&_!=Q){l<0&&(l=1,I(),o.sticky="after");break}if(Q&&(_=Q),l>0&&!I(!K))break}}let M=wre(r,o,g,w,!0);return G7e(g,M)&&(M.hitSide=!0),M}function mCt(r,o,l,a){let p=r.doc,g=o.left,w;if(a=="page"){let S=Math.min(r.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),E=Math.max(S-.5*M_(r.display),3);w=(l>0?o.bottom:o.top)+l*E}else a=="line"&&(w=l>0?o.bottom+3:o.top-3);let y;for(;y=Z9e(r,g,w),!!y.outside;){if(l<0?w<=0:w>=p.height){y.hitSide=!0;break}w+=l*5}return y}var oIt=class{constructor(r){this.cm=r,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new P_,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}init(r){let o=this,l=o.cm,a=o.div=r.lineDiv;a.contentEditable=!0,rIt(a,l.options.spellcheck,l.options.autocorrect,l.options.autocapitalize);function p(w){for(let y=w.target;y;y=y.parentNode){if(y==a)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(y.className))break}return!1}no(a,"paste",w=>{!p(w)||Td(l,w)||eIt(w,l)||vu<=11&&setTimeout(Pd(l,()=>this.updateFromDOM()),20)}),no(a,"compositionstart",w=>{this.composing={data:w.data,done:!1}}),no(a,"compositionupdate",w=>{this.composing||(this.composing={data:w.data,done:!1})}),no(a,"compositionend",w=>{this.composing&&(w.data!=this.composing.data&&this.readFromDOMSoon(),this.composing.done=!0)}),no(a,"touchstart",()=>o.forceCompositionEnd()),no(a,"input",()=>{this.composing||this.readFromDOMSoon()});function g(w){if(!p(w)||Td(l,w))return;if(l.somethingSelected())vre({lineWise:!1,text:l.getSelections()}),w.type=="cut"&&l.replaceSelection("",null,"cut");else if(l.options.lineWiseCopyCut){let I=nIt(l);vre({lineWise:!0,text:I.text}),w.type=="cut"&&l.operation(()=>{l.setSelections(I.ranges,0,E3),l.replaceSelection("",null,"cut")})}else return;if(w.clipboardData){w.clipboardData.clearData();let I=ey.text.join(` +`);if(w.clipboardData.setData("Text",I),w.clipboardData.getData("Text")==I){w.preventDefault();return}}let y=iIt(),S=y.firstChild;l.display.lineSpace.insertBefore(y,l.display.lineSpace.firstChild),S.value=ey.text.join(` +`);let E=lm();Rz(S),setTimeout(()=>{l.display.lineSpace.removeChild(y),E.focus(),E==a&&o.showPrimarySelection()},50)}no(a,"copy",g),no(a,"cut",g)}screenReaderLabelChanged(r){r?this.div.setAttribute("aria-label",r):this.div.removeAttribute("aria-label")}prepareSelection(){let r=pTt(this.cm,!1);return r.focus=lm()==this.div,r}showSelection(r,o){!r||!this.cm.display.view.length||((r.focus||o)&&this.showPrimarySelection(),this.showMultipleSelections(r))}getSelection(){return this.cm.display.wrapper.ownerDocument.getSelection()}showPrimarySelection(){let r=this.getSelection(),o=this.cm,l=o.doc.sel.primary(),a=l.from(),p=l.to();if(o.display.viewTo==o.display.viewFrom||a.line>=o.display.viewTo||p.line=o.display.viewFrom&&vCt(o,a)||{node:y[0].measure.map[2],offset:0},E=p.line{this.gracePeriod=!1,this.selectionChanged()&&this.cm.operation(()=>this.cm.curOp.selectionChanged=!0)},20)}showMultipleSelections(r){pb(this.cm.display.cursorDiv,r.cursors),pb(this.cm.display.selectionDiv,r.selection)}rememberSelection(){let r=this.getSelection();this.lastAnchorNode=r.anchorNode,this.lastAnchorOffset=r.anchorOffset,this.lastFocusNode=r.focusNode,this.lastFocusOffset=r.focusOffset}selectionInEditor(){let r=this.getSelection();if(!r.rangeCount)return!1;let o=r.getRangeAt(0).commonAncestorContainer;return $C(this.div,o)}focus(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||lm()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())}blur(){this.div.blur()}getField(){return this.div}supportsTouch(){return!0}receivedFocus(){let r=this;this.selectionInEditor()?this.pollSelection():qg(this.cm,()=>r.cm.curOp.selectionChanged=!0);function o(){r.cm.state.focused&&(r.pollSelection(),r.polling.set(r.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)}selectionChanged(){let r=this.getSelection();return r.anchorNode!=this.lastAnchorNode||r.anchorOffset!=this.lastAnchorOffset||r.focusNode!=this.lastFocusNode||r.focusOffset!=this.lastFocusOffset}pollSelection(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;let r=this.getSelection(),o=this.cm;if(kie&&vie&&this.cm.display.gutterSpecs.length&&S7n(r.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();let l=nne(o,r.anchorNode,r.anchorOffset),a=nne(o,r.focusNode,r.focusOffset);l&&a&&qg(o,()=>{Wh(o.doc,DC(l,a),E3),(l.bad||a.bad)&&(o.curOp.selectionChanged=!0)})}pollContent(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);let r=this.cm,o=r.display,l=r.doc.sel.primary(),a=l.from(),p=l.to();if(a.ch==0&&a.line>r.firstLine()&&(a=nr(a.line-1,Ii(r.doc,a.line-1).length)),p.ch==Ii(r.doc,p.line).text.length&&p.lineo.viewTo-1)return!1;let g,w,y;a.line==o.viewFrom||(g=KE(r,a.line))==0?(w=gc(o.view[0].line),y=o.view[0].node):(w=gc(o.view[g].line),y=o.view[g-1].node.nextSibling);let S=KE(r,p.line),E,I;if(S==o.view.length-1?(E=o.viewTo-1,I=o.lineDiv.lastChild):(E=gc(o.view[S+1].line)-1,I=o.view[S+1].node.previousSibling),!y)return!1;let M=r.doc.splitLines(x7n(r,y,I,w,E)),_=_E(r.doc,nr(w,0),nr(E,Ii(r.doc,E).text.length));for(;M.length>1&&_.length>1;)if(ec(M)==ec(_))M.pop(),_.pop(),E--;else if(M[0]==_[0])M.shift(),_.shift(),w++;else break;let R=0,j=0,K=M[0],q=_[0],Q=Math.min(K.length,q.length);for(;Ra.ch&&Z.charCodeAt(Z.length-j-1)==X.charCodeAt(X.length-j-1);)R--,j++;M[M.length-1]=Z.slice(0,Z.length-j).replace(/^\u200b+/,""),M[0]=M[0].slice(R).replace(/\u200b+$/,"");let je=nr(w,R),et=nr(E,_.length?ec(_).length-j:0);if(M.length>1||M[0]||Fo(je,et))return X_(r.doc,M,je,et,"+input"),!0}ensurePolled(){this.forceCompositionEnd()}reset(){this.forceCompositionEnd()}forceCompositionEnd(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())}readFromDOMSoon(){this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(()=>{if(this.readDOMTimeout=null,this.composing)if(this.composing.done)this.composing=null;else return;this.updateFromDOM()},80))}updateFromDOM(){(this.cm.isReadOnly()||!this.pollContent())&&qg(this.cm,()=>Dp(this.cm))}setUneditable(r){r.contentEditable="false"}onKeyPress(r){r.charCode==0||this.composing||(r.preventDefault(),this.cm.isReadOnly()||Pd(this.cm,yxe)(this.cm,String.fromCharCode(r.charCode==null?r.keyCode:r.charCode),0))}readOnlyChanged(r){this.div.contentEditable=String(r!="nocursor")}onContextMenu(){}resetPosition(){}},C7n=oIt;oIt.prototype.needsContentAttribute=!0;function vCt(r,o){let l=J9e(r,o.line);if(!l||l.hidden)return null;let a=Ii(r.doc,o.line),p=rTt(l,a,o.line),g=lk(a,r.doc.direction),w="left";g&&(w=Lz(g,o.ch)%2?"right":"left");let y=sTt(p.map,o.ch,w);return y.offset=y.collapse=="right"?y.end:y.start,y}function S7n(r){for(let o=r;o;o=o.parentNode)if(/CodeMirror-gutter-wrapper/.test(o.className))return!0;return!1}function VO(r,o){return o&&(r.bad=!0),r}function x7n(r,o,l,a,p){let g="",w=!1,y=r.doc.lineSeparator(),S=!1;function E(R){return j=>j.id==R}function I(){w&&(g+=y,S&&(g+=y),w=S=!1)}function M(R){R&&(I(),g+=R)}function _(R){if(R.nodeType==1){let j=R.getAttribute("cm-text");if(j){M(j);return}let K=R.getAttribute("cm-marker"),q;if(K){let Z=r.findMarks(nr(a,0),nr(p+1,0),E(+K));Z.length&&(q=Z[0].find(0))&&M(_E(r.doc,q.from,q.to).join(y));return}if(R.getAttribute("contenteditable")=="false")return;let Q=/^(pre|div|p|li|table|br)$/i.test(R.nodeName);if(!/^br$/i.test(R.nodeName)&&R.textContent.length==0)return;Q&&I();for(let Z=0;Z{Tl&&vu>=9&&this.hasSelection&&(this.hasSelection=null),o.poll()}),no(a,"paste",g=>{Td(l,g)||eIt(g,l)||(l.state.pasteIncoming=+new Date,o.fastPoll())});function p(g){if(!Td(l,g)){if(l.somethingSelected())vre({lineWise:!1,text:l.getSelections()});else if(l.options.lineWiseCopyCut){let w=nIt(l);vre({lineWise:!0,text:w.text}),g.type=="cut"?l.setSelections(w.ranges,null,E3):(o.prevInput="",a.value=w.text.join(` +`),Rz(a))}else return;g.type=="cut"&&(l.state.cutIncoming=+new Date)}}no(a,"cut",p),no(a,"copy",p),no(r.scroller,"paste",g=>{if(tk(r,g)||Td(l,g))return;if(!a.dispatchEvent){l.state.pasteIncoming=+new Date,o.focus();return}const w=new Event("paste");w.clipboardData=g.clipboardData,a.dispatchEvent(w)}),no(r.lineSpace,"selectstart",g=>{tk(r,g)||jp(g)}),no(a,"compositionstart",()=>{let g=l.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:g,range:l.markText(g,l.getCursor("to"),{className:"CodeMirror-composing"})}}),no(a,"compositionend",()=>{o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})}createField(r){this.wrapper=iIt(),this.textarea=this.wrapper.firstChild}screenReaderLabelChanged(r){r?this.textarea.setAttribute("aria-label",r):this.textarea.removeAttribute("aria-label")}prepareSelection(){let r=this.cm,o=r.display,l=r.doc,a=pTt(r);if(r.options.moveInputWithCursor){let p=ly(r,l.sel.primary().head,"div"),g=o.wrapper.getBoundingClientRect(),w=o.lineDiv.getBoundingClientRect();a.teTop=Math.max(0,Math.min(o.wrapper.clientHeight-10,p.top+w.top-g.top)),a.teLeft=Math.max(0,Math.min(o.wrapper.clientWidth-10,p.left+w.left-g.left))}return a}showSelection(r){let o=this.cm,l=o.display;pb(l.cursorDiv,r.cursors),pb(l.selectionDiv,r.selection),r.teTop!=null&&(this.wrapper.style.top=r.teTop+"px",this.wrapper.style.left=r.teLeft+"px")}reset(r){if(this.contextMenuPending||this.composing)return;let o=this.cm;if(o.somethingSelected()){this.prevInput="";let l=o.getSelection();this.textarea.value=l,o.state.focused&&Rz(this.textarea),Tl&&vu>=9&&(this.hasSelection=l)}else r||(this.prevInput=this.textarea.value="",Tl&&vu>=9&&(this.hasSelection=null))}getField(){return this.textarea}supportsTouch(){return!1}focus(){if(this.cm.options.readOnly!="nocursor"&&(!_z||lm()!=this.textarea))try{this.textarea.focus()}catch{}}blur(){this.textarea.blur()}resetPosition(){this.wrapper.style.top=this.wrapper.style.left=0}receivedFocus(){this.slowPoll()}slowPoll(){this.pollingFast||this.polling.set(this.cm.options.pollInterval,()=>{this.poll(),this.cm.state.focused&&this.slowPoll()})}fastPoll(){let r=!1,o=this;o.pollingFast=!0;function l(){!o.poll()&&!r?(r=!0,o.polling.set(60,l)):(o.pollingFast=!1,o.slowPoll())}o.polling.set(20,l)}poll(){let r=this.cm,o=this.textarea,l=this.prevInput;if(this.contextMenuPending||!r.state.focused||v8n(o)&&!l&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;let a=o.value;if(a==l&&!r.somethingSelected())return!1;if(Tl&&vu>=9&&this.hasSelection===a||am&&/[\uf700-\uf7ff]/.test(a))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){let w=a.charCodeAt(0);if(w==8203&&!l&&(l="​"),w==8666)return this.reset(),this.cm.execCommand("undo")}let p=0,g=Math.min(l.length,a.length);for(;p{yxe(r,a.slice(p),l.length-p,null,this.composing?"*compose":null),a.length>1e3||a.indexOf(` +`)>-1?o.value=this.prevInput="":this.prevInput=a,this.composing&&(this.composing.range.clear(),this.composing.range=r.markText(this.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0}ensurePolled(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)}onKeyPress(){Tl&&vu>=9&&(this.hasSelection=null),this.fastPoll()}onContextMenu(r){let o=this,l=o.cm,a=l.display,p=o.textarea;o.contextMenuPending&&o.contextMenuPending();let g=HE(l,r),w=a.scroller.scrollTop;if(!g||fy)return;l.options.resetSelectionOnContextMenu&&l.doc.sel.contains(g)==-1&&Pd(l,Wh)(l.doc,DC(g),E3);let S=p.style.cssText,E=o.wrapper.style.cssText,I=o.wrapper.offsetParent.getBoundingClientRect();o.wrapper.style.cssText="position: static",p.style.cssText=`position: absolute; width: 30px; height: 30px; + top: ${r.clientY-I.top-5}px; left: ${r.clientX-I.left-5}px; + z-index: 1000; background: ${Tl?"rgba(255, 255, 255, .05)":"transparent"}; + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;let M;R1&&(M=window.scrollY),a.input.focus(),R1&&window.scrollTo(null,M),a.input.reset(),l.somethingSelected()||(p.value=o.prevInput=" "),o.contextMenuPending=R,a.selForContextMenu=l.doc.sel,clearTimeout(a.detectingSelectAll);function _(){if(p.selectionStart!=null){let j=l.somethingSelected(),K="​"+(j?p.value:"");p.value="⇚",p.value=K,o.prevInput=j?"":"​",p.selectionStart=1,p.selectionEnd=K.length,a.selForContextMenu=l.doc.sel}}function R(){if(o.contextMenuPending==R&&(o.contextMenuPending=!1,o.wrapper.style.cssText=E,p.style.cssText=S,Tl&&vu<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=w),p.selectionStart!=null)){(!Tl||Tl&&vu<9)&&_();let j=0,K=()=>{a.selForContextMenu==l.doc.sel&&p.selectionStart==0&&p.selectionEnd>0&&o.prevInput=="​"?Pd(l,jTt)(l):j++<10?a.detectingSelectAll=setTimeout(K,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(K,200)}}if(Tl&&vu>=9&&_(),A9e){$z(r);let j=()=>{db(window,"mouseup",j),setTimeout(R,20)};no(window,"mouseup",j)}else setTimeout(R,50)}readOnlyChanged(r){r||this.reset(),this.textarea.disabled=r=="nocursor",this.textarea.readOnly=!!r}setUneditable(){}},T7n=sIt;sIt.prototype.needsContentAttribute=!1;function I7n(r,o){if(o=o?zE(o):{},o.value=r.value,!o.tabindex&&r.tabIndex&&(o.tabindex=r.tabIndex),!o.placeholder&&r.placeholder&&(o.placeholder=r.placeholder),o.autofocus==null){let g=lm();o.autofocus=g==r||r.getAttribute("autofocus")!=null&&g==document.body}function l(){r.value=p.getValue()}let a;if(r.form&&(no(r.form,"submit",l),!o.leaveSubmitMethodAlone)){let g=r.form;a=g.submit;try{let w=g.submit=()=>{l(),g.submit=a,g.submit(),g.submit=w}}catch{}}o.finishInit=g=>{g.save=l,g.getTextArea=()=>r,g.toTextArea=()=>{g.toTextArea=isNaN,l(),r.parentNode.removeChild(g.getWrapperElement()),r.style.display="",r.form&&(db(r.form,"submit",l),!o.leaveSubmitMethodAlone&&typeof r.form.submit=="function"&&(r.form.submit=a))}},r.style.display="none";let p=Ou(g=>r.parentNode.insertBefore(g,r.nextSibling),o);return p}function P7n(r){r.off=db,r.on=no,r.wheelEventPixels=RCn,r.Doc=RE,r.splitLines=N9e,r.countColumn=rm,r.findColumn=z7e,r.isWordChar=H7e,r.Pass=Cie,r.signal=xf,r.Line=Nz,r.changeEnd=NC,r.scrollbarModel=vTt,r.Pos=nr,r.cmpPos=Fo,r.modes=B9e,r.mimeModes=YO,r.resolveMode=are,r.getMode=F9e,r.modeExtensions=u_,r.extendMode=x8n,r.copyState=OE,r.startState=BEt,r.innerMode=z9e,r.commands=Uz,r.keyMap=W6,r.keyName=UTt,r.isModifierKey=HTt,r.lookupKey=f_,r.normalizeKeyMap=e7n,r.StringStream=xie,r.SharedTextMarker=wxe,r.TextMarker=bxe,r.LineWidget=gxe,r.e_preventDefault=jp,r.e_stopPropagation=DEt,r.e_stop=$z,r.addClass=ZE,r.contains=$C,r.rmClass=QE,r.keyNames=BC}b7n(Ou);k7n(Ou);var M7n="iter insert remove copy getEditor constructor".split(" ");for(let r in RE.prototype)RE.prototype.hasOwnProperty(r)&&qh(M7n,r)<0&&(Ou.prototype[r]=function(o){return function(){return o.apply(this.doc,arguments)}}(RE.prototype[r]));U_(RE);Ou.inputStyles={textarea:T7n,contenteditable:C7n};Ou.defineMode=function(r){!Ou.defaults.mode&&r!="null"&&(Ou.defaults.mode=r),C8n.apply(this,arguments)};Ou.defineMIME=S8n;Ou.defineMode("null",()=>({token:r=>r.skipToEnd()}));Ou.defineMIME("text/plain","null");Ou.defineExtension=(r,o)=>{Ou.prototype[r]=o};Ou.defineDocExtension=(r,o)=>{RE.prototype[r]=o};Ou.fromTextArea=I7n;P7n(Ou);Ou.version="5.61.0";var Lne=Ou;document.body.insertAdjacentHTML("beforeend",` + +`);self.CodeMirror=Lne;var sSe=class extends HTMLElement{static get observedAttributes(){return["src","readonly","mode","theme"]}attributeChangedCallback(r,o,l){this.__initialized&&o!==l&&(r==="readonly"?this[r]=l!==null:this[r]=l)}get readonly(){return this.editor.getOption("readOnly")}set readonly(r){this.editor.setOption("readOnly",r)}get mode(){return this.editor.getOption("mode")}set mode(r){this.editor.setOption("mode",r)}get theme(){return this.editor.getOption("theme")}set theme(r){this.editor.setOption("theme",r)}get src(){return this.getAttribute("src")}set src(r){this.setAttribute("src",r),this.setSrc()}get value(){return this.editor.getValue()}set value(r){this.setValue(r)}constructor(){super(),this.__initialized=!1,this.__element=null,this.editor=null}async connectedCallback(){const r=document.createElement("template");r.innerHTML=sSe.template(),this.appendChild(r.content.cloneNode(!0)),this.style.display="block",this.__element=this.querySelector("textarea");const o=this.hasAttribute("mode")?this.getAttribute("mode"):"null",l=this.hasAttribute("theme")?this.getAttribute("theme"):"default";let a=this.getAttribute("readonly");a===""?a=!0:a!=="nocursor"&&(a=!1);let p="";const g=this.querySelector("script");g&&g.getAttribute("type")==="wc-content"&&(p=sSe.dedentText(g.innerHTML),p=p.replace(/<(\/?script)(.*?)>/g,"<$1$2>"));let w=Lne.defaults.viewportMargin;if(this.hasAttribute("viewport-margin")){const y=this.getAttribute("viewport-margin").toLowerCase();w=y==="infinity"?1/0:parseInt(y)}this.editor=Lne.fromTextArea(this.__element,{lineNumbers:!0,readOnly:a,mode:o,theme:l,viewportMargin:w}),this.hasAttribute("src")?this.setSrc(this.getAttribute("src")):(await new Promise(y=>setTimeout(y,50)),this.value=p),this.__initialized=!0}disconnectedCallback(){this.editor&&this.editor.toTextArea(),this.editor=null,this.__initialized=!1}async setSrc(){const r=this.getAttribute("src"),o=await this.fetchSrc(r);this.value=o}async setValue(r){this.editor.swapDoc(Lne.Doc(r,this.getAttribute("mode"))),this.editor.refresh()}async fetchSrc(r){return(await fetch(r)).text()}static template(){return` + + `}static dedentText(r){const o=r.split(` +`);o[0]===""&&o.splice(0,1);const l=o[0];let a=0;const g=l[0]===" "?" ":" ";for(;l[a]===g;)a+=1;const w=[];for(const y of o){let S=y;for(let E=0;Er?K():o!==!0&&(p=setTimeout(a?q:K,a===void 0?r-j:r))}return E.cancel=S,E}function O7n(r,o,l){return l===void 0?yCt(r,o,!1):yCt(r,l,o!==!1)}const aC=Symbol("Initial value"),$Ce=Symbol("Editor dirty"),R6=Symbol("ParseHandler");function _7n(r){let a=0;return new Promise((p,g)=>{const w=setInterval(()=>{if(r()){clearInterval(w),p();return}a+=1,a===100&&(clearInterval(w),g(new Error("Value did not become truthy in time")))},10)})}class R7n extends KF{static get styles(){return F5n` + :host { + display: block; + text-align: left; + } + + [part='error'] { + text-decoration: underline; + text-decoration-color: red; + text-decoration-style: wavy; + } + + wc-codemirror, + #wrapper { + width: 100%; + height: 100%; + } + + :host(:not([ready])) #wrapper { + display: none; + } + `}static get properties(){return{value:{type:String,noAccessor:!0},readonly:{type:Boolean,reflect:!0},prefixes:{type:String,attribute:"prefixes"},isParsing:{type:Boolean,attribute:"is-parsing",reflect:!0},autoParse:{type:Boolean,attribute:"auto-parse"},parseDelay:{type:Number},customPrefixes:{type:Object}}}constructor(){super(),this.parseDelay=250,this[aC]="",this.customPrefixes={},navigator.onLine&&(this.__style=document.createElement("link"),this.__style.rel="stylesheet",this.__style.href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.61.1/codemirror.min.css")}connectedCallback(){const o=new Promise(l=>{this.__style.onload=l});super.connectedCallback(),this.ready=Promise.resolve().then(async()=>{await o,await this.requestUpdate(),await _7n(()=>this.codeMirror&&this.codeMirror.editor&&this.codeMirror.__initialized),await this._initializeCodeMirror(),[...this.renderRoot.querySelectorAll("[class^=CodeMirror]")].forEach(l=>{l.classList.forEach(a=>{a.match(/^CodeMirror/)&&l.setAttribute("part",a)})}),this.setAttribute("ready",""),this.codeMirror.editor.refresh(),this[aC]&&this.codeMirror.editor.setValue(this[aC])})}get _prefixes(){return async()=>(this.prefixes||"").split(",").map(l=>l.trim()).reduce((l,a)=>a in Kne?{...l,[a]:Kne[a]().value}:l,{})}get codeMirror(){return this.renderRoot.querySelector("wc-codemirror")}get value(){return this.hasAttribute("ready")?this.codeMirror.editor.getValue():this[aC]||""}set value(o){typeof o=="string"&&(this.hasAttribute("ready")?this.value!==o&&(this.codeMirror.editor.setValue(o),this[R6]()):this[aC]=o)}async firstUpdated(o){super.firstUpdated(o),this[aC]&&(await this.ready,this.codeMirror.editor.setValue(this[aC]),this[R6](),this[aC]=void 0)}updated(o){super.updated(o),(o.has("autoParse")||o.has("parseDelay"))&&this.__setParseHandler()}render(){return Q5n`${this.__style} +
+ + +
`}async parse(){if(!this.isParsing){this.__errorMarker&&this.__errorMarker.clear(),this.isParsing=!0;try{await this._parse()}catch(o){typeof this._errorLine=="function"&&await this.__highlightError(this._errorLine(o)),this.dispatchEvent(new CustomEvent("parsing-failed",{detail:{error:o}}))}finally{this.isParsing=!1}}}async _initializeCodeMirror(){this.codeMirror.editor.setSize("100%","100%"),this.__setParseHandler(),this.codeMirror.editor.on("change",()=>{this[$Ce]=!0})}__setParseHandler(){this.codeMirror.editor&&(this[R6]&&(this.codeMirror.editor.off("blur",this[R6]),this.codeMirror.editor.off("change",this[R6])),this.autoParse?(this[R6]=O7n(this.parseDelay,this.__beginParse.bind(this)),this.codeMirror.editor.on("change",this[R6])):(this[R6]=this.__beginParse.bind(this),this.codeMirror.editor.on("blur",this[R6])))}async __beginParse(){this[$Ce]&&await this.parse(),this[$Ce]=!1}async __highlightError(o){if(!this.ready)return;let l={line:0,ch:0},a={line:0,ch:Number.MAX_SAFE_INTEGER};o&&o.from&&(l=o.from,this.codeMirror.editor.scrollIntoView(l)),o&&o.to&&(a=o.to);const p=o?o.message:"";await this.ready,this.__errorMarker=this.codeMirror.editor.getDoc().markText(l,a,{attributes:{part:"error",title:p}})}async _combinePrefixes(){return Object.entries(this.customPrefixes).reduce((o,[l,a])=>!a||!l||typeof a!="string"||typeof l!="string"?o:{...o,[l]:a},await this._prefixes())}}window.CodeMirror.defineMode("javascript",function(r,o){var l=r.indentUnit,a=o.statementIndent,p=o.jsonld,g=o.json||p,w=o.typescript,y=o.wordCharacters||/[\w$\xa1-\uffff]/,S=function(){function we(Ad){return{type:Ad,style:"keyword"}}var We=we("keyword a"),En=we("keyword b"),fr=we("keyword c"),xo=we("keyword d"),_s=we("operator"),tc={type:"atom",style:"atom"};return{if:we("if"),while:We,with:We,else:En,do:En,try:En,finally:En,return:xo,break:xo,continue:xo,new:we("new"),delete:fr,void:fr,throw:fr,debugger:we("debugger"),var:we("var"),const:we("var"),let:we("var"),function:we("function"),catch:we("catch"),for:we("for"),switch:we("switch"),case:we("case"),default:we("default"),in:_s,typeof:_s,instanceof:_s,true:tc,false:tc,null:tc,undefined:tc,NaN:tc,Infinity:tc,this:we("this"),class:we("class"),super:we("atom"),yield:fr,export:we("export"),import:we("import"),extends:fr,await:fr}}(),E=/[+\-*&%=<>!?|~^@]/,I=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function M(we){for(var We=!1,En,fr=!1;(En=we.next())!=null;){if(!We){if(En=="/"&&!fr)return;En=="["?fr=!0:fr&&En=="]"&&(fr=!1)}We=!We&&En=="\\"}}var _,R;function j(we,We,En){return _=we,R=En,We}function K(we,We){var En=we.next();if(En=='"'||En=="'")return We.tokenize=q(En),We.tokenize(we,We);if(En=="."&&we.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return j("number","number");if(En=="."&&we.match(".."))return j("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(En))return j(En);if(En=="="&&we.eat(">"))return j("=>","operator");if(En=="0"&&we.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return j("number","number");if(/\d/.test(En))return we.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),j("number","number");if(En=="/")return we.eat("*")?(We.tokenize=Q,Q(we,We)):we.eat("/")?(we.skipToEnd(),j("comment","comment")):Y_(we,We,1)?(M(we),we.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),j("regexp","string-2")):(we.eat("="),j("operator","operator",we.current()));if(En=="`")return We.tokenize=Z,Z(we,We);if(En=="#")return we.skipToEnd(),j("error","error");if(En=="<"&&we.match("!--")||En=="-"&&we.match("->"))return we.skipToEnd(),j("comment","comment");if(E.test(En))return(En!=">"||!We.lexical||We.lexical.type!=">")&&(we.eat("=")?(En=="!"||En=="=")&&we.eat("="):/[<>*+\-]/.test(En)&&(we.eat(En),En==">"&&we.eat(En))),j("operator","operator",we.current());if(y.test(En)){we.eatWhile(y);var fr=we.current();if(We.lastType!="."){if(S.propertyIsEnumerable(fr)){var xo=S[fr];return j(xo.type,xo.style,fr)}if(fr=="async"&&we.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return j("async","keyword",fr)}return j("variable","variable",fr)}}function q(we){return function(We,En){var fr=!1,xo;if(p&&We.peek()=="@"&&We.match(I))return En.tokenize=K,j("jsonld-keyword","meta");for(;(xo=We.next())!=null&&!(xo==we&&!fr);)fr=!fr&&xo=="\\";return fr||(En.tokenize=K),j("string","string")}}function Q(we,We){for(var En=!1,fr;fr=we.next();){if(fr=="/"&&En){We.tokenize=K;break}En=fr=="*"}return j("comment","comment")}function Z(we,We){for(var En=!1,fr;(fr=we.next())!=null;){if(!En&&(fr=="`"||fr=="$"&&we.eat("{"))){We.tokenize=K;break}En=!En&&fr=="\\"}return j("quasi","string-2",we.current())}var X="([{}])";function ie(we,We){We.fatArrowAt&&(We.fatArrowAt=null);var En=we.string.indexOf("=>",we.start);if(!(En<0)){if(w){var fr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(we.string.slice(we.start,En));fr&&(En=fr.index)}for(var xo=0,_s=!1,tc=En-1;tc>=0;--tc){var Ad=we.string.charAt(tc),Zg=X.indexOf(Ad);if(Zg>=0&&Zg<3){if(!xo){++tc;break}if(--xo==0){Ad=="("&&(_s=!0);break}}else if(Zg>=3&&Zg<6)++xo;else if(y.test(Ad))_s=!0;else if(/["'\/`]/.test(Ad))for(;;--tc){if(tc==0)return;var FH=we.string.charAt(tc-1);if(FH==Ad&&we.string.charAt(tc-2)!="\\"){tc--;break}}else if(_s&&!xo){++tc;break}}_s&&!xo&&(We.fatArrowAt=tc)}}var je={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function et(we,We,En,fr,xo,_s){this.indented=we,this.column=We,this.type=En,this.prev=xo,this.info=_s,fr!=null&&(this.align=fr)}function mt(we,We){for(var En=we.localVars;En;En=En.next)if(En.name==We)return!0;for(var fr=we.context;fr;fr=fr.prev)for(var En=fr.vars;En;En=En.next)if(En.name==We)return!0}function bt(we,We,En,fr,xo){var _s=we.cc;for(ce.state=we,ce.stream=xo,ce.marked=null,ce.cc=_s,ce.style=We,we.lexical.hasOwnProperty("align")||(we.lexical.align=!0);;){var tc=_s.length?_s.pop():g?Ze:Zn;if(tc(En,fr)){for(;_s.length&&_s[_s.length-1].lex;)_s.pop()();return ce.marked?ce.marked:En=="variable"&&mt(we,fr)?"variable-2":We}}}var ce={state:null,column:null,marked:null,cc:null};function Be(){for(var we=arguments.length-1;we>=0;we--)ce.cc.push(arguments[we])}function ae(){return Be.apply(null,arguments),!0}function xe(we,We){for(var En=We;En;En=En.next)if(En.name==we)return!0;return!1}function U(we){var We=ce.state;if(ce.marked="def",We.context){if(We.lexical.info=="var"&&We.context&&We.context.block){var En=He(we,We.context);if(En!=null){We.context=En;return}}else if(!xe(we,We.localVars)){We.localVars=new At(we,We.localVars);return}}o.globalVars&&!xe(we,We.globalVars)&&(We.globalVars=new At(we,We.globalVars))}function He(we,We){if(We)if(We.block){var En=He(we,We.prev);return En?En==We.prev?We:new ft(En,We.vars,!0):null}else return xe(we,We.vars)?We:new ft(We.prev,new At(we,We.vars),!1);else return null}function yt(we){return we=="public"||we=="private"||we=="protected"||we=="abstract"||we=="readonly"}function ft(we,We,En){this.prev=we,this.vars=We,this.block=En}function At(we,We){this.name=we,this.next=We}var Jt=new At("this",new At("arguments",null));function un(){ce.state.context=new ft(ce.state.context,ce.state.localVars,!1),ce.state.localVars=Jt}function kn(){ce.state.context=new ft(ce.state.context,ce.state.localVars,!0),ce.state.localVars=null}function qt(){ce.state.localVars=ce.state.context.vars,ce.state.context=ce.state.context.prev}qt.lex=!0;function on(we,We){var En=function(){var fr=ce.state,xo=fr.indented;if(fr.lexical.type=="stat")xo=fr.lexical.indented;else for(var _s=fr.lexical;_s&&_s.type==")"&&_s.align;_s=_s.prev)xo=_s.indented;fr.lexical=new et(xo,ce.stream.column(),we,null,fr.lexical,We)};return En.lex=!0,En}function Rt(){var we=ce.state;we.lexical.prev&&(we.lexical.type==")"&&(we.indented=we.lexical.indented),we.lexical=we.lexical.prev)}Rt.lex=!0;function an(we){function We(En){return En==we?ae():we==";"||En=="}"||En==")"||En=="]"?Be():ae(We)}return We}function Zn(we,We){return we=="var"?ae(on("vardef",We),L3,an(";"),Rt):we=="keyword a"?ae(on("form"),Mn,Zn,Rt):we=="keyword b"?ae(on("form"),Zn,Rt):we=="keyword d"?ce.stream.match(/^\s*$/,!1)?ae():ae(on("stat"),ye,an(";"),Rt):we=="debugger"?ae(an(";")):we=="{"?ae(on("}"),kn,G,Rt,qt):we==";"?ae():we=="if"?(ce.state.lexical.info=="else"&&ce.state.cc[ce.state.cc.length-1]==Rt&&ce.state.cc.pop()(),ae(on("form"),Mn,Zn,Rt,Ne)):we=="function"?ae(Gr):we=="for"?ae(on("form"),Xe,Zn,Rt):we=="class"||w&&We=="interface"?(ce.marked="keyword",ae(on("form",we=="class"?we:We),ck,Rt)):we=="variable"?w&&We=="declare"?(ce.marked="keyword",ae(Zn)):w&&(We=="module"||We=="enum"||We=="type")&&ce.stream.match(/^\s*\w/,!1)?(ce.marked="keyword",We=="enum"?ae(QC):We=="type"?ae(Rd,an("operator"),Ut,an(";")):ae(on("form"),_d,an("{"),on("}"),G,Rt,Rt)):w&&We=="namespace"?(ce.marked="keyword",ae(on("form"),Ze,Zn,Rt)):w&&We=="abstract"?(ce.marked="keyword",ae(Zn)):ae(on("stat"),tn):we=="switch"?ae(on("form"),Mn,an("{"),on("}","switch"),kn,G,Rt,Rt,qt):we=="case"?ae(Ze,an(":")):we=="default"?ae(an(":")):we=="catch"?ae(on("form"),un,kt,Zn,Rt,qt):we=="export"?ae(on("stat"),uk,Rt):we=="import"?ae(on("stat"),ak,Rt):we=="async"?ae(Zn):We=="@"?ae(Ze,Zn):Be(on("stat"),Ze,an(";"),Rt)}function kt(we){if(we=="(")return ae(Jg,an(")"))}function Ze(we,We){return pr(we,We,!1)}function Xt(we,We){return pr(we,We,!0)}function Mn(we){return we!="("?Be():ae(on(")"),Ze,an(")"),Rt)}function pr(we,We,En){if(ce.state.fatArrowAt==ce.stream.start){var fr=En?ge:ue;if(we=="(")return ae(un,on(")"),br(Jg,")"),Rt,an("=>"),fr,qt);if(we=="variable")return Be(un,_d,an("=>"),fr,qt)}var xo=En?ee:Ce;return je.hasOwnProperty(we)?ae(xo):we=="function"?ae(Gr,xo):we=="class"||w&&We=="interface"?(ce.marked="keyword",ae(on("form"),mb,Rt)):we=="keyword c"||we=="async"?ae(En?Xt:Ze):we=="("?ae(on(")"),ye,an(")"),Rt,xo):we=="operator"||we=="spread"?ae(En?Xt:Ze):we=="["?ae(on("]"),BH,Rt,xo):we=="{"?de(Kn,"}",null,xo):we=="quasi"?Be(V,xo):we=="new"?ae(Ge(En)):we=="import"?ae(Ze):ae()}function ye(we){return we.match(/[;\}\)\],]/)?Be():Be(Ze)}function Ce(we,We){return we==","?ae(Ze):ee(we,We,!1)}function ee(we,We,En){var fr=En==!1?Ce:ee,xo=En==!1?Ze:Xt;if(we=="=>")return ae(un,En?ge:ue,qt);if(we=="operator")return/\+\+|--/.test(We)||w&&We=="!"?ae(fr):w&&We=="<"&&ce.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?ae(on(">"),br(Ut,">"),Rt,fr):We=="?"?ae(Ze,an(":"),xo):ae(xo);if(we=="quasi")return Be(V,fr);if(we!=";"){if(we=="(")return de(Xt,")","call",fr);if(we==".")return ae(Ct,fr);if(we=="[")return ae(on("]"),ye,an("]"),Rt,fr);if(w&&We=="as")return ce.marked="keyword",ae(Ut,fr);if(we=="regexp")return ce.state.lastType=ce.marked="operator",ce.stream.backUp(ce.stream.pos-ce.stream.start-1),ae(xo)}}function V(we,We){return we!="quasi"?Be():We.slice(We.length-2)!="${"?ae(V):ae(Ze,oe)}function oe(we){if(we=="}")return ce.marked="string-2",ce.state.tokenize=Z,ae(V)}function ue(we){return ie(ce.stream,ce.state),Be(we=="{"?Zn:Ze)}function ge(we){return ie(ce.stream,ce.state),Be(we=="{"?Zn:Xt)}function Ge(we){return function(We){return We=="."?ae(we?Lt:$t):We=="variable"&&w?ae(zs,we?ee:Ce):Be(we?Xt:Ze)}}function $t(we,We){if(We=="target")return ce.marked="keyword",ae(Ce)}function Lt(we,We){if(We=="target")return ce.marked="keyword",ae(ee)}function tn(we){return we==":"?ae(Rt,Zn):Be(Ce,an(";"),Rt)}function Ct(we){if(we=="variable")return ce.marked="property",ae()}function Kn(we,We){if(we=="async")return ce.marked="property",ae(Kn);if(we=="variable"||ce.style=="keyword"){if(ce.marked="property",We=="get"||We=="set")return ae(dn);var En;return w&&ce.state.fatArrowAt==ce.stream.start&&(En=ce.stream.match(/^\s*:\s*/,!1))&&(ce.state.fatArrowAt=ce.stream.pos+En[0].length),ae(Rn)}else{if(we=="number"||we=="string")return ce.marked=p?"property":ce.style+" property",ae(Rn);if(we=="jsonld-keyword")return ae(Rn);if(w&&yt(We))return ce.marked="keyword",ae(Kn);if(we=="[")return ae(Ze,Y,an("]"),Rn);if(we=="spread")return ae(Xt,Rn);if(We=="*")return ce.marked="keyword",ae(Kn);if(we==":")return Be(Rn)}}function dn(we){return we!="variable"?Be(Rn):(ce.marked="property",ae(Gr))}function Rn(we){if(we==":")return ae(Xt);if(we=="(")return Be(Gr)}function br(we,We,En){function fr(xo,_s){if(En?En.indexOf(xo)>-1:xo==","){var tc=ce.state.lexical;return tc.info=="call"&&(tc.pos=(tc.pos||0)+1),ae(function(Ad,Zg){return Ad==We||Zg==We?Be():Be(we)},fr)}return xo==We||_s==We?ae():En&&En.indexOf(";")>-1?Be(we):ae(an(We))}return function(xo,_s){return xo==We||_s==We?ae():Be(we,fr)}}function de(we,We,En){for(var fr=3;fr"),Ut)}function so(we){if(we=="=>")return ae(Ut)}function rl(we,We){if(we=="variable"||ce.style=="keyword")return ce.marked="property",ae(rl);if(We=="?"||we=="number"||we=="string")return ae(rl);if(we==":")return ae(Ut);if(we=="[")return ae(an("variable"),De,an("]"),rl);if(we=="(")return Be(lu,rl)}function Ro(we,We){return we=="variable"&&ce.stream.match(/^\s*[?:]/,!1)||We=="?"?ae(Ro):we==":"?ae(Ut):we=="spread"?ae(Ro):Be(Ut)}function Ao(we,We){if(We=="<")return ae(on(">"),br(Ut,">"),Rt,Ao);if(We=="|"||we=="."||We=="&")return ae(Ut);if(we=="[")return ae(Ut,an("]"),Ao);if(We=="extends"||We=="implements")return ce.marked="keyword",ae(Ut);if(We=="?")return ae(Ut,an(":"),Ut)}function zs(we,We){if(We=="<")return ae(on(">"),br(Ut,">"),Rt,Ao)}function by(){return Be(Ut,oT)}function oT(we,We){if(We=="=")return ae(Ut)}function L3(we,We){return We=="enum"?(ce.marked="keyword",ae(QC)):Be(_d,Y,$1,JC)}function _d(we,We){if(w&&yt(We))return ce.marked="keyword",ae(_d);if(we=="variable")return U(We),ae();if(we=="spread")return ae(_d);if(we=="[")return de(sT,"]");if(we=="{")return de(YC,"}")}function YC(we,We){return we=="variable"&&!ce.stream.match(/^\s*:/,!1)?(U(We),ae($1)):(we=="variable"&&(ce.marked="property"),we=="spread"?ae(_d):we=="}"?Be():we=="["?ae(Ze,an("]"),an(":"),YC):ae(an(":"),_d,$1))}function sT(){return Be(_d,$1)}function $1(we,We){if(We=="=")return ae(Xt)}function JC(we){if(we==",")return ae(L3)}function Ne(we,We){if(we=="keyword b"&&We=="else")return ae(on("form","else"),Zn,Rt)}function Xe(we,We){if(We=="await")return ae(Xe);if(we=="(")return ae(on(")"),Pr,Rt)}function Pr(we){return we=="var"?ae(L3,Cr):we=="variable"?ae(Cr):Be(Cr)}function Cr(we,We){return we==")"?ae():we==";"?ae(Cr):We=="in"||We=="of"?(ce.marked="keyword",ae(Ze,Cr)):Be(Ze,Cr)}function Gr(we,We){if(We=="*")return ce.marked="keyword",ae(Gr);if(we=="variable")return U(We),ae(Gr);if(we=="(")return ae(un,on(")"),br(Jg,")"),Rt,gt,Zn,qt);if(w&&We=="<")return ae(on(">"),br(by,">"),Rt,Gr)}function lu(we,We){if(We=="*")return ce.marked="keyword",ae(lu);if(we=="variable")return U(We),ae(lu);if(we=="(")return ae(un,on(")"),br(Jg,")"),Rt,gt,qt);if(w&&We=="<")return ae(on(">"),br(by,">"),Rt,lu)}function Rd(we,We){if(we=="keyword"||we=="variable")return ce.marked="type",ae(Rd);if(We=="<")return ae(on(">"),br(by,">"),Rt)}function Jg(we,We){return We=="@"&&ae(Ze,Jg),we=="spread"?ae(Jg):w&&yt(We)?(ce.marked="keyword",ae(Jg)):w&&we=="this"?ae(Y,$1):Be(_d,Y,$1)}function mb(we,We){return we=="variable"?ck(we,We):$3(we,We)}function ck(we,We){if(we=="variable")return U(We),ae($3)}function $3(we,We){if(We=="<")return ae(on(">"),br(by,">"),Rt,$3);if(We=="extends"||We=="implements"||w&&we==",")return We=="implements"&&(ce.marked="keyword"),ae(w?Ut:Ze,$3);if(we=="{")return ae(on("}"),j1,Rt)}function j1(we,We){if(we=="async"||we=="variable"&&(We=="static"||We=="get"||We=="set"||w&&yt(We))&&ce.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return ce.marked="keyword",ae(j1);if(we=="variable"||ce.style=="keyword")return ce.marked="property",ae(w?wy:Gr,j1);if(we=="number"||we=="string")return ae(w?wy:Gr,j1);if(we=="[")return ae(Ze,Y,an("]"),w?wy:Gr,j1);if(We=="*")return ce.marked="keyword",ae(j1);if(w&&we=="(")return Be(lu,j1);if(we==";"||we==",")return ae(j1);if(we=="}")return ae();if(We=="@")return ae(Ze,j1)}function wy(we,We){if(We=="?")return ae(wy);if(we==":")return ae(Ut,$1);if(We=="=")return ae(Xt);var En=ce.state.lexical.prev,fr=En&&En.info=="interface";return Be(fr?lu:Gr)}function uk(we,We){return We=="*"?(ce.marked="keyword",ae(lT,an(";"))):We=="default"?(ce.marked="keyword",ae(Ze,an(";"))):we=="{"?ae(br(j3,"}"),lT,an(";")):Be(Zn)}function j3(we,We){if(We=="as")return ce.marked="keyword",ae(an("variable"));if(we=="variable")return Be(Xt,j3)}function ak(we){return we=="string"?ae():we=="("?Be(Ze):Be(Fp,Qg,lT)}function Fp(we,We){return we=="{"?de(Fp,"}"):(we=="variable"&&U(We),We=="*"&&(ce.marked="keyword"),ae(zp))}function Qg(we){if(we==",")return ae(Fp,Qg)}function zp(we,We){if(We=="as")return ce.marked="keyword",ae(Fp)}function lT(we,We){if(We=="from")return ce.marked="keyword",ae(Ze)}function BH(we){return we=="]"?ae():Be(br(Xt,"]"))}function QC(){return Be(on("form"),_d,an("{"),on("}"),br(cT,"}"),Rt,Rt)}function cT(){return Be(_d,$1)}function ZC(we,We){return we.lastType=="operator"||we.lastType==","||E.test(We.charAt(0))||/[,.]/.test(We.charAt(0))}function Y_(we,We,En){return We.tokenize==K&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(We.lastType)||We.lastType=="quasi"&&/\{\s*$/.test(we.string.slice(0,we.pos-(En||0)))}return{startState:function(we){var We={tokenize:K,lastType:"sof",cc:[],lexical:new et((we||0)-l,0,"block",!1),localVars:o.localVars,context:o.localVars&&new ft(null,null,!1),indented:we||0};return o.globalVars&&typeof o.globalVars=="object"&&(We.globalVars=o.globalVars),We},token:function(we,We){if(we.sol()&&(We.lexical.hasOwnProperty("align")||(We.lexical.align=!1),We.indented=we.indentation(),ie(we,We)),We.tokenize!=Q&&we.eatSpace())return null;var En=We.tokenize(we,We);return _=="comment"?En:(We.lastType=_=="operator"&&(R=="++"||R=="--")?"incdec":_,bt(We,En,_,R,we))},indent:function(we,We){if(we.tokenize==Q)return CodeMirror.Pass;if(we.tokenize!=K)return 0;var En=We&&We.charAt(0),fr=we.lexical,xo;if(!/^\s*else\b/.test(We))for(var _s=we.cc.length-1;_s>=0;--_s){var tc=we.cc[_s];if(tc==Rt)fr=fr.prev;else if(tc!=Ne)break}for(;(fr.type=="stat"||fr.type=="form")&&(En=="}"||(xo=we.cc[we.cc.length-1])&&(xo==Ce||xo==ee)&&!/^[,\.=+\-*:?[\(]/.test(We));)fr=fr.prev;a&&fr.type==")"&&fr.prev.type=="stat"&&(fr=fr.prev);var Ad=fr.type,Zg=En==Ad;return Ad=="vardef"?fr.indented+(we.lastType=="operator"||we.lastType==","?fr.info.length+1:0):Ad=="form"&&En=="{"?fr.indented:Ad=="form"?fr.indented+l:Ad=="stat"?fr.indented+(ZC(we,We)?a||l:0):fr.info=="switch"&&!Zg&&o.doubleIndentSwitch!=!1?fr.indented+(/^(?:case|default)\b/.test(We)?l:2*l):fr.align?fr.column+(Zg?0:1):fr.indented+(Zg?0:l)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:g?null:"/*",blockCommentEnd:g?null:"*/",blockCommentContinue:g?null:" * ",lineComment:g?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:g?"json":"javascript",jsonldMode:p,jsonMode:g,expressionAllowed:Y_,skipExpression:function(we){var We=we.cc[we.cc.length-1];(We==Ze||We==Xt)&&we.cc.pop()}}});CodeMirror.registerHelper("wordChars","javascript",/[\w$]/);CodeMirror.defineMIME("text/javascript","javascript");CodeMirror.defineMIME("text/ecmascript","javascript");CodeMirror.defineMIME("application/javascript","javascript");CodeMirror.defineMIME("application/x-javascript","javascript");CodeMirror.defineMIME("application/ecmascript","javascript");CodeMirror.defineMIME("application/json",{name:"javascript",json:!0});CodeMirror.defineMIME("application/x-json",{name:"javascript",json:!0});CodeMirror.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});CodeMirror.defineMIME("text/typescript",{name:"javascript",typescript:!0});CodeMirror.defineMIME("application/typescript",{name:"javascript",typescript:!0});window.CodeMirror.defineMode("turtle",function(r){var o=r.indentUnit,l;function a(I){return new RegExp("^(?:"+I.join("|")+")$","i")}a([]);var p=a(["@prefix","@base","a"]),g=/[*+\-<>=&|]/;function w(I,M){var _=I.next();if(l=null,_=="<"&&!I.match(/^[\s\u00a0=]/,!1))return I.match(/^[^\s\u00a0>]*>?/),"atom";if(_=='"'||_=="'")return M.tokenize=y(_),M.tokenize(I,M);if(/[{}\(\),\.;\[\]]/.test(_))return l=_,null;if(_=="#")return I.skipToEnd(),"comment";if(g.test(_))return I.eatWhile(g),null;if(_==":")return"operator";if(I.eatWhile(/[_\w\d]/),I.peek()==":")return"variable-3";var R=I.current();return p.test(R)?"meta":_>="A"&&_<="Z"?"comment":"keyword";var R=I.current()}function y(I){return function(M,_){for(var R=!1,j;(j=M.next())!=null;){if(j==I&&!R){_.tokenize=w;break}R=!R&&j=="\\"}return"string"}}function S(I,M,_){I.context={prev:I.context,indent:I.indent,col:_,type:M}}function E(I){I.indent=I.context.indent,I.context=I.context.prev}return{startState:function(){return{tokenize:w,context:null,indent:0,col:0}},token:function(I,M){if(I.sol()&&(M.context&&M.context.align==null&&(M.context.align=!1),M.indent=I.indentation()),I.eatSpace())return null;var _=M.tokenize(I,M);if(_!="comment"&&M.context&&M.context.align==null&&M.context.type!="pattern"&&(M.context.align=!0),l=="(")S(M,")",I.column());else if(l=="[")S(M,"]",I.column());else if(l=="{")S(M,"}",I.column());else if(/[\]\}\)]/.test(l)){for(;M.context&&M.context.type=="pattern";)E(M);M.context&&l==M.context.type&&E(M)}else l=="."&&M.context&&M.context.type=="pattern"?E(M):/atom|string|variable/.test(_)&&M.context&&(/[\}\]]/.test(M.context.type)?S(M,"pattern",I.column()):M.context.type=="pattern"&&!M.context.align&&(M.context.align=!0,M.context.col=I.column()));return _},indent:function(I,M){var _=M&&M.charAt(0),R=I.context;if(/[\]\}]/.test(_))for(;R&&R.type=="pattern";)R=R.prev;var j=R&&_==R.type;return R?R.type=="pattern"?R.col:R.align?R.col+(j?0:1):R.indent+(j?0:o):0},lineComment:"#"}});CodeMirror.defineMIME("text/turtle","turtle");CodeMirror.defineMIME("text/n3","turtle");CodeMirror.defineMIME("application/trig","turtle");window.CodeMirror.defineMode("ntriples",function(){var r={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function o(l,a){var p=l.location,g;p==r.PRE_SUBJECT&&a=="<"?g=r.WRITING_SUB_URI:p==r.PRE_SUBJECT&&a=="_"?g=r.WRITING_BNODE_URI:p==r.PRE_PRED&&a=="<"?g=r.WRITING_PRED_URI:p==r.PRE_OBJ&&a=="<"?g=r.WRITING_OBJ_URI:p==r.PRE_OBJ&&a=="_"?g=r.WRITING_OBJ_BNODE:p==r.PRE_OBJ&&a=='"'?g=r.WRITING_OBJ_LITERAL:p==r.WRITING_SUB_URI&&a==">"||p==r.WRITING_BNODE_URI&&a==" "?g=r.PRE_PRED:p==r.WRITING_PRED_URI&&a==">"?g=r.PRE_OBJ:p==r.WRITING_OBJ_URI&&a==">"||p==r.WRITING_OBJ_BNODE&&a==" "||p==r.WRITING_OBJ_LITERAL&&a=='"'||p==r.WRITING_LIT_LANG&&a==" "||p==r.WRITING_LIT_TYPE&&a==">"?g=r.POST_OBJ:p==r.WRITING_OBJ_LITERAL&&a=="@"?g=r.WRITING_LIT_LANG:p==r.WRITING_OBJ_LITERAL&&a=="^"?g=r.WRITING_LIT_TYPE:a==" "&&(p==r.PRE_SUBJECT||p==r.PRE_PRED||p==r.PRE_OBJ||p==r.POST_OBJ)?g=p:p==r.POST_OBJ&&a=="."?g=r.PRE_SUBJECT:g=r.ERROR,l.location=g}return{startState:function(){return{location:r.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(l,a){var p=l.next();if(p=="<"){o(a,p);var g="";return l.eatWhile(function(I){return I!="#"&&I!=">"?(g+=I,!0):!1}),a.uris.push(g),l.match("#",!1)||(l.next(),o(a,">")),"variable"}if(p=="#"){var w="";return l.eatWhile(function(I){return I!=">"&&I!=" "?(w+=I,!0):!1}),a.anchors.push(w),"variable-2"}if(p==">")return o(a,">"),"variable";if(p=="_"){o(a,p);var y="";return l.eatWhile(function(I){return I!=" "?(y+=I,!0):!1}),a.bnodes.push(y),l.next(),o(a," "),"builtin"}if(p=='"')return o(a,p),l.eatWhile(function(I){return I!='"'}),l.next(),l.peek()!="@"&&l.peek()!="^"&&o(a,'"'),"string";if(p=="@"){o(a,"@");var S="";return l.eatWhile(function(I){return I!=" "?(S+=I,!0):!1}),a.langs.push(S),l.next(),o(a," "),"string-2"}if(p=="^"){l.next(),o(a,"^");var E="";return l.eatWhile(function(I){return I!=">"?(E+=I,!0):!1}),a.types.push(E),l.next(),o(a,">"),"variable"}p==" "&&o(a,p),p=="."&&o(a,p)}}});CodeMirror.defineMIME("application/n-triples","ntriples");CodeMirror.defineMIME("application/n-quads","ntriples");CodeMirror.defineMIME("text/n-triples","ntriples");var A7n={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},L7n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};window.CodeMirror.defineMode("xml",function(r,o){var l=r.indentUnit,a={},p=o.htmlMode?A7n:L7n;for(var g in p)a[g]=p[g];for(var g in o)a[g]=o[g];var w,y;function S(ce,Be){function ae(He){return Be.tokenize=He,He(ce,Be)}var xe=ce.next();if(xe=="<")return ce.eat("!")?ce.eat("[")?ce.match("CDATA[")?ae(M("atom","]]>")):null:ce.match("--")?ae(M("comment","-->")):ce.match("DOCTYPE",!0,!0)?(ce.eatWhile(/[\w\._\-]/),ae(_(1))):null:ce.eat("?")?(ce.eatWhile(/[\w\._\-]/),Be.tokenize=M("meta","?>"),"meta"):(w=ce.eat("/")?"closeTag":"openTag",Be.tokenize=E,"tag bracket");if(xe=="&"){var U;return ce.eat("#")?ce.eat("x")?U=ce.eatWhile(/[a-fA-F\d]/)&&ce.eat(";"):U=ce.eatWhile(/[\d]/)&&ce.eat(";"):U=ce.eatWhile(/[\w\.\-:]/)&&ce.eat(";"),U?"atom":"error"}else return ce.eatWhile(/[^&<]/),null}S.isInText=!0;function E(ce,Be){var ae=ce.next();if(ae==">"||ae=="/"&&ce.eat(">"))return Be.tokenize=S,w=ae==">"?"endTag":"selfcloseTag","tag bracket";if(ae=="=")return w="equals",null;if(ae=="<"){Be.tokenize=S,Be.state=q,Be.tagName=Be.tagStart=null;var xe=Be.tokenize(ce,Be);return xe?xe+" tag error":"tag error"}else return/[\'\"]/.test(ae)?(Be.tokenize=I(ae),Be.stringStartCol=ce.column(),Be.tokenize(ce,Be)):(ce.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function I(ce){var Be=function(ae,xe){for(;!ae.eol();)if(ae.next()==ce){xe.tokenize=E;break}return"string"};return Be.isInAttribute=!0,Be}function M(ce,Be){return function(ae,xe){for(;!ae.eol();){if(ae.match(Be)){xe.tokenize=S;break}ae.next()}return ce}}function _(ce){return function(Be,ae){for(var xe;(xe=Be.next())!=null;){if(xe=="<")return ae.tokenize=_(ce+1),ae.tokenize(Be,ae);if(xe==">")if(ce==1){ae.tokenize=S;break}else return ae.tokenize=_(ce-1),ae.tokenize(Be,ae)}return"meta"}}function R(ce,Be,ae){this.prev=ce.context,this.tagName=Be,this.indent=ce.indented,this.startOfLine=ae,(a.doNotIndent.hasOwnProperty(Be)||ce.context&&ce.context.noIndent)&&(this.noIndent=!0)}function j(ce){ce.context&&(ce.context=ce.context.prev)}function K(ce,Be){for(var ae;;){if(!ce.context||(ae=ce.context.tagName,!a.contextGrabbers.hasOwnProperty(ae)||!a.contextGrabbers[ae].hasOwnProperty(Be)))return;j(ce)}}function q(ce,Be,ae){return ce=="openTag"?(ae.tagStart=Be.column(),Q):ce=="closeTag"?Z:q}function Q(ce,Be,ae){return ce=="word"?(ae.tagName=Be.current(),y="tag",je):a.allowMissingTagName&&ce=="endTag"?(y="tag bracket",je(ce,Be,ae)):(y="error",Q)}function Z(ce,Be,ae){if(ce=="word"){var xe=Be.current();return ae.context&&ae.context.tagName!=xe&&a.implicitlyClosed.hasOwnProperty(ae.context.tagName)&&j(ae),ae.context&&ae.context.tagName==xe||a.matchClosing===!1?(y="tag",X):(y="tag error",ie)}else return a.allowMissingTagName&&ce=="endTag"?(y="tag bracket",X(ce,Be,ae)):(y="error",ie)}function X(ce,Be,ae){return ce!="endTag"?(y="error",X):(j(ae),q)}function ie(ce,Be,ae){return y="error",X(ce,Be,ae)}function je(ce,Be,ae){if(ce=="word")return y="attribute",et;if(ce=="endTag"||ce=="selfcloseTag"){var xe=ae.tagName,U=ae.tagStart;return ae.tagName=ae.tagStart=null,ce=="selfcloseTag"||a.autoSelfClosers.hasOwnProperty(xe)?K(ae,xe):(K(ae,xe),ae.context=new R(ae,xe,U==ae.indented)),q}return y="error",je}function et(ce,Be,ae){return ce=="equals"?mt:(a.allowMissing||(y="error"),je(ce,Be,ae))}function mt(ce,Be,ae){return ce=="string"?bt:ce=="word"&&a.allowUnquoted?(y="string",je):(y="error",je(ce,Be,ae))}function bt(ce,Be,ae){return ce=="string"?bt:je(ce,Be,ae)}return{startState:function(ce){var Be={tokenize:S,state:q,indented:ce||0,tagName:null,tagStart:null,context:null};return ce!=null&&(Be.baseIndent=ce),Be},token:function(ce,Be){if(!Be.tagName&&ce.sol()&&(Be.indented=ce.indentation()),ce.eatSpace())return null;w=null;var ae=Be.tokenize(ce,Be);return(ae||w)&&ae!="comment"&&(y=null,Be.state=Be.state(w||ae,ce,Be),y&&(ae=y=="error"?ae+" error":y)),ae},indent:function(ce,Be,ae){var xe=ce.context;if(ce.tokenize.isInAttribute)return ce.tagStart==ce.indented?ce.stringStartCol+1:ce.indented+l;if(xe&&xe.noIndent)return CodeMirror.Pass;if(ce.tokenize!=E&&ce.tokenize!=S)return ae?ae.match(/^(\s*)/)[0].length:0;if(ce.tagName)return a.multilineTagIndentPastTag!==!1?ce.tagStart+ce.tagName.length+2:ce.tagStart+l*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(ce){ce.state==mt&&(ce.state=je)},xmlCurrentTag:function(ce){return ce.tagName?{name:ce.tagName,close:ce.type=="closeTag"}:null},xmlCurrentContext:function(ce){for(var Be=[],ae=ce.context;ae;ae=ae.prev)ae.tagName&&Be.push(ae.tagName);return Be.reverse()}}});CodeMirror.defineMIME("text/xml","xml");CodeMirror.defineMIME("application/xml","xml");CodeMirror.mimeModes.hasOwnProperty("text/html")||CodeMirror.defineMIME("text/html",{name:"xml",htmlMode:!0});const rne=Symbol("parsed quads");let $7n=class extends R7n{static get properties(){return{format:{type:String,reflect:!0},quads:{type:Array},noReserialize:{type:Boolean,attribute:"no-reserialize"}}}constructor(){super(),this.isParsing=!1,this.noReserialize=!1}disconnectedCallback(){super.disconnectedCallback(),this.ready=null}get quads(){return this[rne]}set quads(o){if(typeof o>"u"||o===null)return;const l=this[rne];this[rne]=o,this.requestUpdate("quads",l)}async updated(o){super.updated(o);let l=!1,a=!1;const p=this.quads&&this.quads.length>0;o.has("format")&&(l=p&&!this.noReserialize,a=!l),o.has("quads")&&(l=!0),(o.has("prefixes")||o.has("customPrefixes"))&&(l=p),a?this.parse():l&&this.__serialize()}async _parse(){const{toStream:o}=await Xg(async()=>{const{toStream:w}=await import("./stream-C3gkHwb7.js");return{toStream:w}},[]),l=o(this.value),a=[],p={},g=this.$rdf.formats.parsers.import(this.format,l);if(!g){this.dispatchEvent(new CustomEvent("parsing-failed",{detail:{notFound:!0}}));return}g.on("prefix",(w,y)=>{p[w]=y});for await(const w of g)a.push(w);this[rne]=a,this.dispatchEvent(new CustomEvent("quads-changed",{detail:{value:a}})),this.__notifyParsedPrefixes(p)}async __serialize(){if(!this.format)return;await this.ready;const{Readable:o}=await Xg(async()=>{const{Readable:w}=await import("./stream-C3gkHwb7.js");return{Readable:w}},[]),l=[...this.quads||[]],a=new o({objectMode:!0,read(){if(l.length===0){this.push(null);return}this.push(l.shift())}}),p=this.$rdf.formats.serializers.import(this.format,a,{prefixes:await this._combinePrefixes()});if(!p){this.value=`No serializer found for media type ${this.format}`;return}let g="";for await(const w of p)g+=w;this.format===py.jsonLd&&(g=JSON.stringify(JSON.parse(g),null,2)),this.value=g,this.dispatchEvent(new CustomEvent("serialized",{detail:{value:g}}))}_errorLine(o){const l={message:o.message};return o.context&&o.context.line&&(l.from={line:o.context.line-1,ch:0},l.to={line:o.context.line-1,ch:Number.MAX_SAFE_INTEGER}),l}__notifyParsedPrefixes(o){const l={},a={...o};for(const[p,g]of Object.entries(o))p in Kne&&(l[p]=g,delete a[p]);this.dispatchEvent(new CustomEvent("prefixes-parsed",{detail:{prefixes:{...l,...a}}}))}};const lIt=new u9e([D9t,CH]);lIt.formats.import(bm);window.customElements.define("rdf-editor",class extends mwn($7n,lIt){});var $ie=(r=>(r.JsonLD="application/ld+json",r.Trig="application/trig",r.NQuads="application/n-quads",r.NTriples="application/n-triples",r.Turtle="text/turtle",r.RdfXML="application/rdf+xml",r))($ie||{});const N6=[{contentType:"text/turtle",name:"Turtle",type:"text/turtle"},{contentType:"application/ld+json",name:"JSON-LD",type:"application/ld+json"},{contentType:"application/trig",name:"TriG",type:"application/trig"},{contentType:"application/n-quads",name:"N-Quads",type:"application/n-quads"},{contentType:"application/n-triples",name:"N-Triples",type:"application/n-triples"},{contentType:"application/rdf+xml",name:"RDF/XML",type:"application/rdf+xml"}],kxe="com.zazuko.sketch",$ne=`${kxe}.text`,jne=`${kxe}.format`,jCe=`${kxe}.prefix`,j7n=5e3,D7n={class:"editor-container"},N7n=[".value","format","customPrefixes"],kCt="rdf,rdfs,sh",B7n=bc({__name:"RdfEditor",props:{format:{}},emits:["change","format-change"],setup(r,{emit:o}){const l=r,a=o,p=Co([]),g=Co(null),w=Co($ie.Turtle);Os(()=>l.format,_=>{_!==w.value&&(w.value=_)});const y=Co("");function S(_){console.error("Parsing failed",_.detail)}function E(_){var q,Q;const R=(Q=(q=g.value)==null?void 0:q.codeMirror)==null?void 0:Q.value,j=_.detail.value,K={quads:j,rdfText:R,serializationFormat:l.format,prefix:p.value};j.length{const _={};return p.value.forEach(R=>{typeof R.uri=="string"?_[R.prefix]=R.uri:_[R.prefix]=R.uri.value}),kCt.split(",").forEach(R=>{delete _[R]}),_});return bb(()=>{const _=localStorage.getItem($ne),R=localStorage.getItem(jne),j=JSON.parse(localStorage.getItem(jCe)??"[]");_&&R&&N6.find(K=>K.type===R)&&Array.isArray(j)?(y.value=_,w.value=(N6.find(K=>K.type===R)??N6[0]).type,p.value=j,a("format-change",w.value)):(localStorage.removeItem($ne),localStorage.removeItem(jne),localStorage.removeItem(jCe))}),(_,R)=>(ve(),wt("div",D7n,[ar("rdf-editor",{".value":y.value,format:w.value,ref_key:"editorElement",ref:g,prefixes:kCt,customPrefixes:M.value,"auto-parse":"",parseDelay:"1000",onParsingFailed:S,onQuadsChanged:E,onPrefixesParsed:I},null,40,N7n)]))}}),$H=(r,o)=>{const l=r.__vccOpts||r;for(const[a,p]of o)l[a]=p;return l},F7n=$H(B7n,[["__scopeId","data-v-abcbd41c"]]);function CCt({parent:r,child:o}){return new Proxy({},{get(a,p){return o[p]||r[p]},set(a,p,g){return o[p]=g,!0},has(a,p){return p in o||p in r},ownKeys(){const a=Object.getOwnPropertyNames(r),p=Object.getOwnPropertyNames(o);return[...new Set([...a,...p]).values()]},getOwnPropertyDescriptor(a,p){return{enumerable:!p.toString().startsWith("_"),configurable:!0}}})}class Gz{constructor(o,{parent:l,bind:a=!1}={}){if(this._parent=l,o instanceof u9e||o instanceof Gz)return CCt({parent:l,child:o});this._factories=o.slice();const p=l?CCt({parent:l,child:this}):this;for(const g of this._factories){typeof g.prototype.init=="function"&&g.prototype.init.call(p);for(const w of g.exports||[])a?this[w]=g.prototype[w].bind(p):this[w]=g.prototype[w]}return p}clone(){const o=new Gz(this._factories,this._parent);for(const l of o._factories)typeof l.prototype.clone=="function"&&l.prototype.clone.call(o,this);return o}}const{Readable:z7n}=I9e;function H7n(r){const o=r[Symbol.iterator](),l=new z7n({objectMode:!0,read:()=>{for(;;){const a=o.next().value;if(!a){l.push(null);return}if(!l.push(a))return}}});return l}var K7n=H7n;const cIt=_3(K7n),{promisify:U7n}=die,{finished:G7n}=I9e;async function W7n(r,o){return o.on("data",l=>r.add(l)),await U7n(G7n)(o),r}var V7n=W7n;const uIt=_3(V7n);var q7n=class aIt{constructor(o,l=new Map,a=0){this.prefix=o,this._existing=l,this.counter=a}clone(){const{prefix:o,_existing:l,counter:a}=this;return new aIt(o,new Map(l),a)}getId(o){const l=o&&this._existing.get(o);if(l)return l;const a=this.prefix+this.counter;return this.counter++,o&&this._existing.set(o,a),a}hasId(o){return this._existing.has(o)}getOldIds(){return[...this._existing.keys()]}};(function(r,o){if(r.setImmediate)return;var l=1,a={},p=!1,g=r.document,w;function y(Z){typeof Z!="function"&&(Z=new Function(""+Z));for(var X=new Array(arguments.length-1),ie=0;ie"u"?typeof window>"u"?_wn:window:self);/*! + * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. + */const DCe=self.crypto||self.msCrypto;var X7n=class{constructor(o){if(!(DCe&&DCe.subtle))throw new Error("crypto.subtle not found.");if(o==="sha256")this.algorithm={name:"SHA-256"};else if(o==="sha1")this.algorithm={name:"SHA-1"};else throw new Error(`Unsupported algorithm "${o}".`);this._content=""}update(o){this._content+=o}async digest(){const o=new TextEncoder().encode(this._content),l=new Uint8Array(await DCe.subtle.digest(this.algorithm,o));let a="";for(let p=0;pp)&&(E&&y>0&&S>o[y-1]||!E&&yo[y+1])&&(p=S,g=y)}if(p===null)this.done=!0;else{const y=l.get(p)?g-1:g+1;o[g]=o[y],o[y]=p;for(const S of o)S>p&&l.set(S,!l.get(S))}return a}};/*! + * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. + */const J7n="http://www.w3.org/1999/02/22-rdf-syntax-ns#",NCe=J7n+"langString",BCe="http://www.w3.org/2001/XMLSchema#string",Jv="NamedNode",lE="BlankNode",Dne="Literal",SCt="DefaultGraph",d_={};(()=>{const r="(?:<([^:]+:[^>]*)>)",l="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"+"_",a=l+"0-9-·̀-ͯ‿-⁀",g="(_:(?:["+l+"0-9])(?:(?:["+a+".])*(?:["+a+"]))?)",w='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"',y="(?:\\^\\^"+r+")",E="(?:"+w+"(?:"+y+"|"+"(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"+")?)",I="[ \\t]+",M="[ \\t]*",_="(?:"+r+"|"+g+")"+I,R=r+I,j="(?:"+r+"|"+g+"|"+E+")"+M,K="(?:\\.|(?:(?:"+r+"|"+g+")"+M+"\\.))";d_.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,d_.empty=new RegExp("^"+M+"$"),d_.quad=new RegExp("^"+M+_+R+j+K+M+"$")})();var Q7n=class Nne{static parse(o){const l=[],a={},p=o.split(d_.eoln);let g=0;for(const w of p){if(g++,d_.empty.test(w))continue;const y=w.match(d_.quad);if(y===null)throw new Error("N-Quads parse error on line "+g+".");const S={subject:null,predicate:null,object:null,graph:null};if(y[1]!==void 0?S.subject={termType:Jv,value:y[1]}:S.subject={termType:lE,value:y[2]},S.predicate={termType:Jv,value:y[3]},y[4]!==void 0?S.object={termType:Jv,value:y[4]}:y[5]!==void 0?S.object={termType:lE,value:y[5]}:(S.object={termType:Dne,value:void 0,datatype:{termType:Jv}},y[7]!==void 0?S.object.datatype.value=y[7]:y[8]!==void 0?(S.object.datatype.value=NCe,S.object.language=y[8]):S.object.datatype.value=BCe,S.object.value=rSn(y[6])),y[9]!==void 0?S.graph={termType:Jv,value:y[9]}:y[10]!==void 0?S.graph={termType:lE,value:y[10]}:S.graph={termType:SCt,value:""},!(S.graph.value in a))a[S.graph.value]=[S],l.push(S);else{let E=!0;const I=a[S.graph.value];for(const M of I)if(Z7n(M,S)){E=!1;break}E&&(I.push(S),l.push(S))}}return l}static serialize(o){Array.isArray(o)||(o=Nne.legacyDatasetToQuads(o));const l=[];for(const a of o)l.push(Nne.serializeQuad(a));return l.sort().join("")}static serializeQuadComponents(o,l,a,p){let g="";return o.termType===Jv?g+=`<${o.value}>`:g+=`${o.value}`,g+=` <${l.value}> `,a.termType===Jv?g+=`<${a.value}>`:a.termType===lE?g+=a.value:(g+=`"${tSn(a.value)}"`,a.datatype.value===NCe?a.language&&(g+=`@${a.language}`):a.datatype.value!==BCe&&(g+=`^^<${a.datatype.value}>`)),p.termType===Jv?g+=` <${p.value}>`:p.termType===lE&&(g+=` ${p.value}`),g+=` . +`,g}static serializeQuad(o){return Nne.serializeQuadComponents(o.subject,o.predicate,o.object,o.graph)}static legacyDatasetToQuads(o){const l=[],a={"blank node":lE,IRI:Jv,literal:Dne};for(const p in o)o[p].forEach(w=>{const y={};for(const S in w){const E=w[S],I={termType:a[E.type],value:E.value};I.termType===Dne&&(I.datatype={termType:Jv},"datatype"in E&&(I.datatype.value=E.datatype),"language"in E?("datatype"in E||(I.datatype.value=NCe),I.language=E.language):"datatype"in E||(I.datatype.value=BCe)),y[S]=I}p==="@default"?y.graph={termType:SCt,value:""}:y.graph={termType:p.startsWith("_:")?lE:Jv,value:p},l.push(y)});return l}};function Z7n(r,o){return!(r.subject.termType===o.subject.termType&&r.object.termType===o.object.termType)||!(r.subject.value===o.subject.value&&r.predicate.value===o.predicate.value&&r.object.value===o.object.value)?!1:r.object.termType!==Dne?!0:r.object.datatype.termType===o.object.datatype.termType&&r.object.language===o.object.language&&r.object.datatype.value===o.object.datatype.value}const eSn=/["\\\n\r]/g;function tSn(r){return r.replace(eSn,function(o){switch(o){case'"':return'\\"';case"\\":return"\\\\";case` +`:return"\\n";case"\r":return"\\r"}})}const nSn=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function rSn(r){return r.replace(nSn,function(o,l,a,p){if(l)switch(l){case"t":return" ";case"b":return"\b";case"n":return` +`;case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(a)return String.fromCharCode(parseInt(a,16));if(p)throw new Error("Unsupported U escape")})}/*! + * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. + */const xCt=q7n,iSn=X7n,oSn=Y7n,ECt=Q7n;var sSn=class{constructor({createMessageDigest:o=()=>new iSn("sha256"),canonicalIdMap:l=new Map,maxDeepIterations:a=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new xCt("_:c14n",l),this.createMessageDigest=o,this.maxDeepIterations=a,this.quads=null,this.deepIterations=null}main(o){this.deepIterations=new Map,this.quads=o;for(const y of o)this._addBlankNodeQuadInfo({quad:y,component:y.subject}),this._addBlankNodeQuadInfo({quad:y,component:y.object}),this._addBlankNodeQuadInfo({quad:y,component:y.graph});const l=new Map,a=[...this.blankNodeInfo.keys()];for(const y of a)this._hashAndTrackBlankNode({id:y,hashToBlankNodes:l});const p=[...l.keys()].sort(),g=[];for(const y of p){const S=l.get(y);if(S.length>1){g.push(S);continue}const E=S[0];this.canonicalIssuer.getId(E)}for(const y of g){const S=[];for(const E of y){if(this.canonicalIssuer.hasId(E))continue;const I=new xCt("_:b");I.getId(E);const M=this.hashNDegreeQuads(E,I);S.push(M)}S.sort(lSn);for(const E of S){const I=E.issuer.getOldIds();for(const M of I)this.canonicalIssuer.getId(M)}}const w=[];for(const y of this.quads){const S=ECt.serializeQuadComponents(this._componentWithCanonicalId({component:y.subject}),y.predicate,this._componentWithCanonicalId({component:y.object}),this._componentWithCanonicalId({component:y.graph}));w.push(S)}return w.sort(),w.join("")}hashFirstDegreeQuads(o){const l=[],a=this.blankNodeInfo.get(o),p=a.quads;for(const w of p){const y={subject:null,predicate:w.predicate,object:null,graph:null};y.subject=this.modifyFirstDegreeComponent(o,w.subject,"subject"),y.object=this.modifyFirstDegreeComponent(o,w.object,"object"),y.graph=this.modifyFirstDegreeComponent(o,w.graph,"graph"),l.push(ECt.serializeQuad(y))}l.sort();const g=this.createMessageDigest();for(const w of l)g.update(w);return a.hash=g.digest(),a.hash}hashRelatedBlankNode(o,l,a,p){let g;this.canonicalIssuer.hasId(o)?g=this.canonicalIssuer.getId(o):a.hasId(o)?g=a.getId(o):g=this.blankNodeInfo.get(o).hash;const w=this.createMessageDigest();return w.update(p),p!=="g"&&w.update(this.getRelatedPredicate(l)),w.update(g),w.digest()}hashNDegreeQuads(o,l){const a=this.deepIterations.get(o)||0;if(a>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(o,a+1);const p=this.createMessageDigest(),g=this.createHashToRelated(o,l),w=[...g.keys()].sort();for(const y of w){p.update(y);let S="",E;const I=new oSn(g.get(y));for(;I.hasNext();){const M=I.next();let _=l.clone(),R="";const j=[];let K=!1;for(const q of M)if(this.canonicalIssuer.hasId(q)?R+=this.canonicalIssuer.getId(q):(_.hasId(q)||j.push(q),R+=_.getId(q)),S.length!==0&&R>S){K=!0;break}if(!K){for(const q of j){const Q=this.hashNDegreeQuads(q,_);if(R+=_.getId(q),R+=`<${Q.hash}>`,_=Q.issuer,S.length!==0&&R>S){K=!0;break}}K||(S.length===0||R`}createHashToRelated(o,l){const a=new Map,p=this.blankNodeInfo.get(o).quads;for(const g of p)this._addRelatedBlankNodeHash({quad:g,component:g.subject,position:"s",id:o,issuer:l,hashToRelated:a}),this._addRelatedBlankNodeHash({quad:g,component:g.object,position:"o",id:o,issuer:l,hashToRelated:a}),this._addRelatedBlankNodeHash({quad:g,component:g.graph,position:"g",id:o,issuer:l,hashToRelated:a});return a}_hashAndTrackBlankNode({id:o,hashToBlankNodes:l}){const a=this.hashFirstDegreeQuads(o),p=l.get(a);p?p.push(o):l.set(a,[o])}_addBlankNodeQuadInfo({quad:o,component:l}){if(l.termType!=="BlankNode")return;const a=l.value,p=this.blankNodeInfo.get(a);p?p.quads.add(o):this.blankNodeInfo.set(a,{quads:new Set([o]),hash:null})}_addRelatedBlankNodeHash({quad:o,component:l,position:a,id:p,issuer:g,hashToRelated:w}){if(!(l.termType==="BlankNode"&&l.value!==p))return;const y=l.value,S=this.hashRelatedBlankNode(y,o,g,a),E=w.get(S);E?E.push(y):w.set(S,[y])}_componentWithCanonicalId({component:o}){return o.termType==="BlankNode"&&!o.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(o.value)}:o}};function lSn(r,o){return r.hasho.hash?1:0}const cSn=sSn;function uSn(r){return new cSn().main(r)}var aSn=uSn;const fIt=_3(aSn);function fSn(r,o){for(const l of o)r.add(l);return r}var dSn=fSn;const lSe=_3(dSn);function hSn(r,o,l,a,p){const g=r.match(o,l,a,p);for(const w of g)r.delete(w);return r}var pSn=hSn;const dIt=_3(pSn);function gSn(r,o){if(r.size!==o.size)return!1;for(const l of r)if(!o.has(l))return!1;return!0}var bSn=gSn;const hIt=_3(bSn),wSn=r=>class{constructor(){M8e(this,"dataset")}init(){const o=r(this);this.dataset=(l=[])=>new o([...l]),this.dataset.Class=o,this.dataset.addAll=lSe,this.dataset.deleteMatch=dIt,this.dataset.equals=hIt}},mSn=r=>class extends wSn(r){init(){super.init(),this.dataset.toCanonical=fIt,this.dataset.toStream=cIt,this.dataset.fromStream=o=>uIt(this.dataset(),o)}};let Cxe=class{namespace(o){return Gn(o,{factory:this})}};Cxe.exports=["namespace"];const Sxe=r=>{const o=r.namespace("http://www.w3.org/2001/XMLSchema#"),l=r.namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#");return{first:l.first,nil:l.nil,rest:l.rest,langString:l.langString,xsd:o}};function Gg(r,o){return typeof r>"u"||r===null?o:Array.isArray(r)?r:typeof r!="string"&&r[Symbol.iterator]?[...r]:[r]}const iT=new u9e([Cxe,CH]),{xsd:cSe}=Sxe(iT);function vSn(r,o=iT){return typeof r!="boolean"?null:o.literal(r.toString(),cSe("boolean"))}function ySn(r,o=iT){return typeof r!="number"?null:Number.isInteger(r)?o.literal(r.toString(10),cSe("integer")):o.literal(r.toString(10),cSe("double"))}function kSn(r,o=iT){return typeof r!="string"?null:o.literal(r)}function CSn(r,o=iT){return vSn(r,o)||ySn(r,o)||kSn(r,o)}function SSn(r,o){if(r&&typeof r!="string")throw new Error("Blank node identifier must be a string");return o.blankNode(r)}function xSn(r,o,l){if(typeof r=="string")return o=o&&(o.value||o.toString()),o&&o.indexOf(":")!==-1&&(o=l.namedNode(o)),l.literal(r.toString(),o);const a=CSn(r,l);if(!a)throw new Error("The value cannot be converted to a literal node");return a}function TCt(r,o){if(typeof r!="string")throw new Error("Named node must be an IRI string");return o.namedNode(r)}function pIt(r,o="Literal",l,a){if(r&&typeof r=="object"&&r.termType)return r;if(r&&r.constructor.name==="URL")return TCt(r.toString(),a);if(o==="BlankNode")return SSn(r,a);if(!(r===null||typeof r>"u")){if(o==="Literal")return xSn(r,l,a);if(o==="NamedNode")return TCt(r,a);throw new Error("unknown type")}}function ESn(r,o,l,a){return(typeof r>"u"||r===null)&&!o?r:(Gg(r)||[void 0]).reduce((p,g)=>typeof g=="object"&&g.terms?p.concat(g.terms):(p.push(pIt(g,o,l,a)),p),[])}const ICt=Sxe(iT);function TSn(r,o){const l=o.termType!=="Literal",a=ICt.langString.equals(o.datatype)||ICt.xsd.string.equals(o.datatype);if(l||!a)return r;const p=o.language.toLowerCase();return r.has(p)?r.get(p).push(o):r.set(p,[o]),r}function ISn(r){const o=r.reduce(TSn,new Map),l=[...o.entries()];return a=>{const p=a.toLowerCase();if(p==="*")return l[0]&&l[0][1];const g=o.get(p);if(g)return g;const w=l.find(([y])=>y.startsWith(p));return w&&w[1]}}function PSn(r,{language:o}){const l=typeof o=="string"?[o]:o,a=ISn(r);return l.map(a).find(Boolean)||[]}class xxe{constructor({dataset:o,graph:l,value:a,factory:p,namespace:g}){this.dataset=o,this.graph=l,this.factory=p,this.namespace=g,this.term=pIt(a,void 0,void 0,p)}clone({dataset:o=this.dataset,graph:l=this.graph,value:a,factory:p=this.factory,namespace:g=this.namespace}){return new xxe({dataset:o,graph:l,value:a,factory:p,namespace:g})}has(o,l){return this.matchProperty(Gg(this.term),o,l,Gg(this.graph),"subject").map(a=>this.clone({value:a}))}in(o){return this.matchProperty(null,o,Gg(this.term),Gg(this.graph),"subject").map(l=>this.clone({value:l}))}out(o,{language:l}={}){let a=this.matchProperty(Gg(this.term),o,null,Gg(this.graph),"object");return typeof l<"u"&&(a=PSn(a,{language:l})),a.map(p=>this.clone({value:p}))}addIn(o,l){const a=[];return this.term&&l.forEach(p=>{o.forEach(g=>{this.dataset.add(this.factory.quad(p,g,this.term,this.graph))}),a.push(this.clone({value:p}))}),a}addOut(o,l){const a=[];return this.term&&l.forEach(p=>{o.forEach(g=>{this.dataset.add(this.factory.quad(this.term,g,p,this.graph))}),a.push(this.clone({value:p}))}),a}addList(o,l){this.term&&o.forEach(a=>{const p=l.map(()=>this.factory.blankNode());this.dataset.add(this.factory.quad(this.term,a,p[0]||this.namespace.nil,this.graph));for(let g=0;g{for(const a of this.dataset.match(this.term,l))this.deleteItems(a)})}deleteItems(o){let l=[o];for(;!l[l.length-1].object.equals(this.namespace.nil);){const a=l[l.length-1].object;l=l.concat([...this.dataset.match(a)])}l.forEach(a=>{this.dataset.delete(a)})}match(o,l,a,p){if(!o&&!l&&!a&&!p)return[...this.dataset];o=o||[null],l=l||[null],a=a||[null],p=p||[null];const g=[];for(const w of p)for(const y of o)for(const S of l)for(const E of a)for(const I of this.dataset.match(y,S,E,w))g.push(I);return g}matchProperty(o,l,a,p,g){return this.match(o,l,a,p).map(w=>w[g])}deleteMatch(o,l,a,p){this.match(o,l,a,p).forEach(g=>{this.dataset.delete(g)})}}class Ug{constructor({dataset:o,graph:l,term:a,value:p,factory:g,_context:w}){if(this.factory=g,this.namespace=Sxe(g),w){this._context=w;return}const y=a&&Gg(a)||p&&Gg(p)||[null];this._context=y.map(S=>new xxe({dataset:o,graph:l,value:S,factory:this.factory,namespace:this.namespace}))}get term(){const o=this.terms;if(o.length===1)return o[0]}get terms(){return this._context.map(o=>o.term).filter(Boolean)}get value(){const o=this.term;return o&&o.value}get values(){return this.terms.map(o=>o.value)}get dataset(){const o=this.datasets;if(o.length===1)return o[0]}get datasets(){return this._context.map(o=>o.dataset).filter(Boolean)}any(){return Ug.fromContext(this._context.map(o=>o.clone({})),this)}isList(){return this.term?!!(this.term.equals(this.namespace.nil)||this.out(this.namespace.first).term):!1}list(){if(this.terms.length>1)throw new Error("iterator over multiple terms is not supported");if(this.term&&(this.term.termType!=="NamedNode"&&this.term.termType!=="BlankNode"||!this.term.equals(this.namespace.nil)&&!this.out(this.namespace.first).term))return null;let o=this;return{[Symbol.iterator]:()=>({next:()=>{if(!o.term||o.term.equals(this.namespace.nil))return{done:!0};const l=o.out(this.namespace.first);if(l.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:first on ${o.value}`);const a=o.out(this.namespace.rest);if(a.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:rest on ${o.value}`);return o=a,{done:!1,value:l}}})}}toArray(){return this._context.map(o=>Ug.fromContext(o,this)).filter(o=>o.terms.some(Boolean))}filter(o){const l=this._context.map(a=>Ug.fromContext(a,this));return Ug.fromContext(this._context.filter((a,p)=>o(Ug.fromContext(a,this),p,l)),this)}forEach(o){return this.toArray().forEach(o),this}map(o){return this.toArray().map(o)}toString(){return this.values.join()}node(o,{type:l,datatype:a,language:p}={}){o=this._toTermArray(o,l,a||p)||[null];const g=o.reduce((w,y)=>w.concat(this._context.reduce((S,E)=>S.concat([E.clone({value:y})]),[])),[]);return Ug.fromContext(g,{factory:this.factory})}blankNode(o){return this.node(o,{type:"BlankNode"})}literal(o,l){return this.node(o,{type:"Literal",datatype:l})}namedNode(o){return this.node(o,{type:"NamedNode"})}in(o){o=this._toTermArray(o);const l=this._context.reduce((a,p)=>a.concat(p.in(o)),[]);return Ug.fromContext(l,this)}out(o,l={}){o=this._toTermArray(o);const a=this._context.reduce((p,g)=>p.concat(g.out(o,l)),[]);return Ug.fromContext(a,this)}has(o,l){o=this._toTermArray(o),l=this._toTermArray(l);const a=this._context.reduce((p,g)=>p.concat(g.has(o,l)),[]);return Ug.fromContext(a,this)}addIn(o,l,a){if(!o)throw new Error("predicate parameter is required");typeof l=="function"&&(a=l,l=null),o=this._toTermArray(o),l=this._toTermArray(l)||[this.factory.blankNode()];const p=this._context.map(g=>g.addIn(o,l));return a&&Ug.fromContext(p,this).forEach(a),this}addOut(o,l,a){if(!o)throw new Error("predicate parameter is required");typeof l=="function"&&(a=l,l=null),o=this._toTermArray(o),l=this._toTermArray(l)||[this.factory.blankNode()];const p=this._context.map(g=>g.addOut(o,l));return a&&Ug.fromContext(p,this).forEach(a),this}addList(o,l){if(!o||!l)throw new Error("predicate and items parameter is required");return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.addList(o,l)),this}deleteIn(o,l){return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.deleteIn(o,l)),this}deleteOut(o,l){return o=this._toTermArray(o),l=this._toTermArray(l),this._context.forEach(a=>a.deleteOut(o,l)),this}deleteList(o){if(!o)throw new Error("predicate parameter is required");return o=this._toTermArray(o),this._context.forEach(l=>l.deleteList(o)),this}_toTermArray(o,l,a){return ESn(o,l,a,this.factory)}static fromContext(o,{factory:l}){return new Ug({_context:Gg(o),factory:l})}}function MSn({dataset:r,graph:o,term:l,value:a,factory:p=iT,_context:g}){return new Ug({dataset:r,graph:o,term:l,value:a,factory:p,_context:g})}class gIt{clownface({...o}={}){return!o.dataset&&typeof this.dataset=="function"&&(o.dataset=this.dataset()),MSn({...o,factory:this})}}gIt.exports=["clownface"];let bIt=class{termMap(o){return new kF(o)}};bIt.exports=["termMap"];function PCt(r){try{return w3(r)}catch{return null}}class yre{constructor(o){if(this.index=new Map,o)for(const l of o)this.add(l)}get size(){return this.index.size}add(o){const l=w3(o);return this.index.has(l)||this.index.set(l,o),this}clear(){this.index.clear()}delete(o){return o?this.index.delete(PCt(o)):!1}entries(){return this.values().entries()}forEach(o,l){return this.values().forEach(o,l)}has(o){return o?this.index.has(PCt(o)):!1}values(){return new Set(this.index.values())}keys(){return this.values()}[Symbol.iterator](){return this.index.values()}}let wIt=class{termSet(o){return new yre(o)}};wIt.exports=["termSet"];class OSn{constructor(){this.quadLevel=new Map}add(o,l){this.quadLevel.set(w3(o),l)}has(o,l){const a=this.quadLevel.get(w3(o));return a===void 0?!1:a<=l}}function FCe({backward:r,callback:o,dataset:l,filter:a,forward:p,term:g,visited:w=new OSn}){const y=(S,E)=>{const I=M=>{for(const _ of M){if(w.has(_,E))continue;w.add(_,E);const R={dataset:l,level:E,quad:_};a(R)&&(o(R),p&&y(_.object,E+1),r&&y(_.subject,E+1))}};p&&I(l.match(S)),r&&I(l.match(null,null,S))};y(g,0)}class _Sn{constructor(o,{backward:l=!1,factory:a,forward:p=!0}){this.backward=l,this.factory=a,this.filter=o,this.forward=p}forEach({term:o,dataset:l},a){FCe({backward:this.backward,callback:a,dataset:l,filter:this.filter,forward:this.forward,term:o})}match({term:o,dataset:l}){const a=this.factory.dataset();return FCe({backward:this.backward,callback:({quad:p})=>a.add(p),dataset:l,filter:this.filter,forward:this.forward,term:o}),a}reduce({term:o,dataset:l},a,p){let g=p;return FCe({backward:this.backward,callback:w=>{g=a(w,g)},dataset:l,filter:this.filter,forward:this.forward,term:o}),g}}class mIt{traverser(o,{backward:l=!1,forward:a=!0}={}){return new _Sn(o,{backward:l,factory:this,forward:a})}}mIt.exports=["traverser"];const RSn=new Gz([CH,D9t,Cxe,tEt,gIt,bIt,wIt,mIt]);function ASn(r,{checkOpen:o=!0}={}){return r!==null&&typeof r=="object"&&(r.writable||r.readable||!o||r.writable===void 0&&r.readable===void 0)&&typeof r.pipe=="function"}function LSn(r,{checkOpen:o=!0}={}){return ASn(r,{checkOpen:o})&&(r.readable||!o)&&typeof r.read=="function"&&typeof r.readable=="boolean"&&typeof r.readableObjectMode=="boolean"&&typeof r.destroy=="function"&&typeof r.destroyed=="boolean"}const $Sn=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);var h3,dH,TC,ty,D_,vIt,yIt;class jSn{constructor(o,l){Zx(this,D_);Zx(this,h3);Zx(this,dH);Zx(this,TC,!1);Zx(this,ty);s3(this,h3,o),s3(this,dH,l)}next(){const o=()=>_8e(this,D_,vIt).call(this);return s3(this,ty,Kh(this,ty)?Kh(this,ty).then(o,o):o()),Kh(this,ty)}return(o){const l=()=>_8e(this,D_,yIt).call(this,o);return Kh(this,ty)?Kh(this,ty).then(l,l):l()}}h3=new WeakMap,dH=new WeakMap,TC=new WeakMap,ty=new WeakMap,D_=new WeakSet,vIt=async function(){if(Kh(this,TC))return{done:!0,value:void 0};let o;try{o=await Kh(this,h3).read()}catch(l){throw s3(this,ty,void 0),s3(this,TC,!0),Kh(this,h3).releaseLock(),l}return o.done&&(s3(this,ty,void 0),s3(this,TC,!0),Kh(this,h3).releaseLock()),o},yIt=async function(o){if(Kh(this,TC))return{done:!0,value:o};if(s3(this,TC,!0),!Kh(this,dH)){const l=Kh(this,h3).cancel(o);return Kh(this,h3).releaseLock(),await l,{done:!0,value:o}}return Kh(this,h3).releaseLock(),{done:!0,value:o}};const Exe=Symbol();function kIt(){return this[Exe].next()}Object.defineProperty(kIt,"name",{value:"next"});function CIt(r){return this[Exe].return(r)}Object.defineProperty(CIt,"name",{value:"return"});const DSn=Object.create($Sn,{next:{enumerable:!0,configurable:!0,writable:!0,value:kIt},return:{enumerable:!0,configurable:!0,writable:!0,value:CIt}});function NSn({preventCancel:r=!1}={}){const o=this.getReader(),l=new jSn(o,r),a=Object.create(DSn);return a[Exe]=l,a}const BSn=r=>{if(LSn(r,{checkOpen:!1})&&Txe.on!==void 0)return zSn(r);if(typeof(r==null?void 0:r[Symbol.asyncIterator])=="function")return r;if(FSn.call(r)==="[object ReadableStream]")return NSn.call(r);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:FSn}=Object.prototype,zSn=async function*(r){const o=new AbortController,l={};HSn(r,o,l);try{for await(const[a]of Txe.on(r,"data",{signal:o.signal}))yield a}catch(a){if(l.error!==void 0)throw l.error;if(!o.signal.aborted)throw a}finally{r.destroy()}},HSn=async(r,o,l)=>{try{await Txe.finished(r,{cleanup:!0,readable:!0,writable:!1,error:!1})}catch(a){l.error=a}finally{o.abort()}},Txe={},KSn=async(r,{init:o,convertChunk:l,getSize:a,truncateChunk:p,addChunk:g,getFinalChunk:w,finalize:y},{maxBuffer:S=Number.POSITIVE_INFINITY}={})=>{const E=BSn(r),I=o();I.length=0;try{for await(const M of E){const _=GSn(M),R=l[_](M,I);SIt({convertedChunk:R,state:I,getSize:a,truncateChunk:p,addChunk:g,maxBuffer:S})}return USn({state:I,convertChunk:l,getSize:a,truncateChunk:p,addChunk:g,getFinalChunk:w,maxBuffer:S}),y(I)}catch(M){const _=typeof M=="object"&&M!==null?M:new Error(M);throw _.bufferedData=y(I),_}},USn=({state:r,getSize:o,truncateChunk:l,addChunk:a,getFinalChunk:p,maxBuffer:g})=>{const w=p(r);w!==void 0&&SIt({convertedChunk:w,state:r,getSize:o,truncateChunk:l,addChunk:a,maxBuffer:g})},SIt=({convertedChunk:r,state:o,getSize:l,truncateChunk:a,addChunk:p,maxBuffer:g})=>{const w=l(r),y=o.length+w;if(y<=g){MCt(r,o,p,y);return}const S=a(r,g-o.length);throw S!==void 0&&MCt(S,o,p,g),new WSn},MCt=(r,o,l,a)=>{o.contents=l(r,o,a),o.length=a},GSn=r=>{var a;const o=typeof r;if(o==="string")return"string";if(o!=="object"||r===null)return"others";if((a=globalThis.Buffer)!=null&&a.isBuffer(r))return"buffer";const l=OCt.call(r);return l==="[object ArrayBuffer]"?"arrayBuffer":l==="[object DataView]"?"dataView":Number.isInteger(r.byteLength)&&Number.isInteger(r.byteOffset)&&OCt.call(r.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:OCt}=Object.prototype;class WSn extends Error{constructor(){super("maxBuffer exceeded");M8e(this,"name","MaxBufferError")}}const VSn=r=>r,qSn=({contents:r})=>r,XSn=r=>{throw new Error(`Streams in object mode are not supported: ${String(r)}`)},YSn=r=>r.length;async function JSn(r,o){return KSn(r,n9n,o)}const QSn=()=>({contents:"",textDecoder:new TextDecoder}),ine=(r,{textDecoder:o})=>o.decode(r,{stream:!0}),ZSn=(r,{contents:o})=>o+r,e9n=(r,o)=>r.slice(0,o),t9n=({textDecoder:r})=>{const o=r.decode();return o===""?void 0:o},n9n={init:QSn,convertChunk:{string:VSn,buffer:ine,arrayBuffer:ine,dataView:ine,typedArray:ine,others:XSn},getSize:YSn,truncateChunk:e9n,addChunk:ZSn,getFinalChunk:t9n,finalize:qSn};function cE(r){return typeof r=="string"||r instanceof String}const r9n="http://www.w3.org/2001/XMLSchema#string";function Wf(r){if(typeof r=="string")return r;if(!r)return"";if(typeof r.id<"u"&&r.termType!=="Quad")return r.id;let o,l,a,p;switch(r.termType){case"NamedNode":return r.value;case"BlankNode":return`_:${r.value}`;case"Variable":return`?${r.value}`;case"DefaultGraph":return"";case"Literal":return r.language?`"${r.value}"@${r.language}`:`"${r.value}"${r.datatype&&r.datatype.value!==r9n?`^^${r.datatype.value}`:""}`;case"Quad":return o=zCe(Wf(r.subject)),l=zCe(Wf(r.predicate)),a=zCe(Wf(r.object)),p=r.graph.termType==="DefaultGraph"?"":` ${Wf(r.graph)}`,`<<${o} ${l} ${a}${p}>>`;default:throw new Error(`Unexpected termType: ${r.termType}`)}}const i9n=/^"(.*".*)(?="[^"]*$)/;function zCe(r){return r.replace(i9n,(o,l)=>`"${l.replace(/"/g,'""')}`)}class o9n{constructor(o){if(this._size=0,this._graphs=Object.create(null),this._id=0,this._ids=Object.create(null),this._ids["><"]=0,this._entities=Object.create(null),this._quads=new Map,o)for(const l of o)this.add(l)}get size(){let o=this._size;if(o!==null)return o;o=0;const l=this._graphs;let a,p;for(const g in l)for(const w in a=l[g].subjects)for(const y in p=a[w])o+=Object.keys(p[y]).length;return this._size=o,this._size}add(o){let l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object);const g=Wf(o.graph);let w=this._graphs[g];w||(w=this._graphs[g]={subjects:{},predicates:{},objects:{}},Object.freeze(w));const y=this._ids,S=this._entities;return l=y[l]||(y[S[++this._id]=l]=this._id),a=y[a]||(y[S[++this._id]=a]=this._id),p=y[p]||(y[S[++this._id]=p]=this._id),this._addToIndex(w.subjects,l,a,p),this._addToIndex(w.predicates,a,p,l),this._addToIndex(w.objects,p,l,a),this._setQuad(l,a,p,g,o),this._size=null,this}delete(o){let l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object);const g=Wf(o.graph),w=this._ids,y=this._graphs;let S,E,I;if(!(l=w[l])||!(a=w[a])||!(p=w[p])||!(S=y[g])||!(E=S.subjects[l])||!(I=E[a])||!(p in I))return this;this._removeFromIndex(S.subjects,l,a,p),this._removeFromIndex(S.predicates,a,p,l),this._removeFromIndex(S.objects,p,l,a),this._size!==null&&this._size--,this._deleteQuad(l,a,p,g);for(l in S.subjects)return this;return delete y[g],this}has(o){const l=Wf(o.subject),a=Wf(o.predicate),p=Wf(o.object),g=Wf(o.graph),w=this._graphs[g];if(!w)return!1;const y=this._ids;let S,E,I;return cE(l)&&!(S=y[l])||cE(a)&&!(E=y[a])||cE(p)&&!(I=y[p])?!1:this._countInIndex(w.objects,I,S,E)===1}match(o,l,a,p){return this._createDataset(this._match(o,l,a,p))}[Symbol.iterator](){return this._match()[Symbol.iterator]()}_addToIndex(o,l,a,p){const g=o[l]||(o[l]={}),w=g[a]||(g[a]={}),y=p in w;return y||(w[p]=null),!y}_removeFromIndex(o,l,a,p){const g=o[l],w=g[a];delete w[p];for(const y in w)return;delete g[a];for(const y in g)return;delete o[l]}_findInIndex(o,l,a,p,g,w,y,S,E,I){let M,_,R;l&&((M=o,o={})[l]=M[l]);for(const j in o)if(_=o[j],_){a&&((M=_,_={})[a]=M[a]);for(const K in _)if(R=_[K],R){const q=p?p in R?[p]:[]:Object.keys(R);for(let Q=0;Qo(l,this))}filter(o){return new this.constructor([...this].filter(l=>o(l,this)))}map(o){return new this.constructor([...this].map(l=>o(l,this)))}match(...o){return super.match(...o)}merge(...[o]){return lSe(new this.constructor([...this]),o)}}function l9n(r){return class extends s9n{import(...[o]){return uIt(this,o)}toCanonical(){return fIt(this)}toStream(){return cIt(this)}async serialize({format:o,prefixes:l=[]}){const a=r.formats.serializers.get(o);return a?JSn(a.import(this.toStream(),{prefixes:l.reduce((p,g)=>Array.isArray(g)?{...p,[g[0]]:g[1]}:g in B7e?{...p,[g]:B7e[g]}:p,{})})):this.toCanonical()}}}function c9n(){return new Gz([mSn(l9n)],{parent:RSn})}const u9n=c9n(),uSe=u9n;var w_;class a9n{constructor(){Zx(this,w_,{})}update(o){s3(this,w_,{}),o.forEach(l=>{Kh(this,w_)[l.prefix]=l.uri})}get prefixes(){return Kh(this,w_)}}w_=new WeakMap;const xIt=new a9n;function h_(r){if(r.termType==="NamedNode"){const o=bEt(r.value,xIt.prefixes);return o||r.value}return r.value}function f9n(r){const o=[...r].map(g=>g.subject),l=[...r].filter(g=>!g.predicate.equals(uSe.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))).map(g=>g.object).filter(g=>g.termType==="BlankNode"||g.termType==="NamedNode");return[...new yre([...o,...l])].map(g=>{const S=[...[...r.match(g)].reduce((E,{predicate:I,object:M})=>{if(!E.has(I.value)){const _={id:I.value,term:I,name:h_(I),values:new yre};E.set(I.value,_)}return E.get(I.value).values.add(M),E},new Map).values()].sort((E,I)=>E.name==="rdf:type"?-1:I.name==="rdf:type"?1:E.name.localeCompare(I.name));return{id:g.value,term:g,name:h_(g),properties:S}})}function d9n(r){const o=new yre(r.map(a=>a.term));return r.flatMap(a=>a.properties.map(p=>({...p,resource:a}))).reduce((a,p)=>(p.values.forEach(g=>{const w=p.resource.term,y=g;o.has(y)&&a.push({source:w.value,target:y.value,sourceProperty:p.id,label:p.name})}),a),[])}function jie(r){return $re()?(_F(r),!0):!1}function B6(r){return typeof r=="function"?r():Lr(r)}const h9n=typeof window<"u"&&typeof document<"u",p9n=r=>typeof r<"u",g9n=Object.prototype.toString,b9n=r=>g9n.call(r)==="[object Object]",w9n=()=>{};function m9n(r,o){function l(...a){return new Promise((p,g)=>{Promise.resolve(r(()=>o.apply(this,a),{fn:o,thisArg:this,args:a})).then(p).catch(g)})}return l}const EIt=r=>r();function v9n(r=EIt){const o=Co(!0);function l(){o.value=!1}function a(){o.value=!0}const p=(...g)=>{o.value&&r(...g)};return{isActive:hH(o),pause:l,resume:a,eventFilter:p}}function _Ct(r,o=!1,l="Timeout"){return new Promise((a,p)=>{setTimeout(o?()=>p(l):a,r)})}function y9n(r,o,l={}){const{eventFilter:a=EIt,...p}=l;return Os(r,m9n(a,o),p)}function NO(r,o,l={}){const{eventFilter:a,...p}=l,{eventFilter:g,pause:w,resume:y,isActive:S}=v9n(a);return{stop:y9n(r,o,{...p,eventFilter:g}),pause:w,resume:y,isActive:S}}function k9n(r,o={}){if(!Ef(r))return edn(r);const l=Array.isArray(r.value)?Array.from({length:r.value.length}):{};for(const a in r.value)l[a]=Zfn(()=>({get(){return r.value[a]},set(p){var g;if((g=B6(o.replaceRef))!=null?g:!0)if(Array.isArray(r.value)){const y=[...r.value];y[a]=p,r.value=y}else{const y={...r.value,[a]:p};Object.setPrototypeOf(y,Object.getPrototypeOf(r.value)),r.value=y}else r.value[a]=p}}));return l}function aSe(r,o=!1){function l(M,{flush:_="sync",deep:R=!1,timeout:j,throwOnTimeout:K}={}){let q=null;const Z=[new Promise(X=>{q=Os(r,ie=>{M(ie)!==o&&(q==null||q(),X(ie))},{flush:_,deep:R,immediate:!0})})];return j!=null&&Z.push(_Ct(j,K).then(()=>B6(r)).finally(()=>q==null?void 0:q())),Promise.race(Z)}function a(M,_){if(!Ef(M))return l(ie=>ie===M,_);const{flush:R="sync",deep:j=!1,timeout:K,throwOnTimeout:q}=_??{};let Q=null;const X=[new Promise(ie=>{Q=Os([r,M],([je,et])=>{o!==(je===et)&&(Q==null||Q(),ie(je))},{flush:R,deep:j,immediate:!0})})];return K!=null&&X.push(_Ct(K,q).then(()=>B6(r)).finally(()=>(Q==null||Q(),B6(r)))),Promise.race(X)}function p(M){return l(_=>!!_,M)}function g(M){return a(null,M)}function w(M){return a(void 0,M)}function y(M){return l(Number.isNaN,M)}function S(M,_){return l(R=>{const j=Array.from(R);return j.includes(M)||j.includes(B6(M))},_)}function E(M){return I(1,M)}function I(M=1,_){let R=-1;return l(()=>(R+=1,R>=M),_)}return Array.isArray(B6(r))?{toMatch:l,toContains:S,changed:E,changedTimes:I,get not(){return aSe(r,!o)}}:{toMatch:l,toBe:a,toBeTruthy:p,toBeNull:g,toBeNaN:y,toBeUndefined:w,changed:E,changedTimes:I,get not(){return aSe(r,!o)}}}function fSe(r){return aSe(r)}function C9n(r){var o;const l=B6(r);return(o=l==null?void 0:l.$el)!=null?o:l}const TIt=h9n?window:void 0;function IIt(...r){let o,l,a,p;if(typeof r[0]=="string"||Array.isArray(r[0])?([l,a,p]=r,o=TIt):[o,l,a,p]=r,!o)return w9n;Array.isArray(l)||(l=[l]),Array.isArray(a)||(a=[a]);const g=[],w=()=>{g.forEach(I=>I()),g.length=0},y=(I,M,_,R)=>(I.addEventListener(M,_,R),()=>I.removeEventListener(M,_,R)),S=Os(()=>[C9n(o),B6(p)],([I,M])=>{if(w(),!I)return;const _=b9n(M)?{...M}:M;g.push(...l.flatMap(R=>a.map(j=>y(I,R,j,_))))},{immediate:!0,flush:"post"}),E=()=>{S(),w()};return jie(E),E}function S9n(r){return typeof r=="function"?r:typeof r=="string"?o=>o.key===r:Array.isArray(r)?o=>r.includes(o.key):()=>!0}function RCt(...r){let o,l,a={};r.length===3?(o=r[0],l=r[1],a=r[2]):r.length===2?typeof r[1]=="object"?(o=!0,l=r[0],a=r[1]):(o=r[0],l=r[1]):(o=!0,l=r[0]);const{target:p=TIt,eventName:g="keydown",passive:w=!1,dedupe:y=!1}=a,S=S9n(o);return IIt(p,g,I=>{I.repeat&&B6(y)||S(I)&&l(I)},w)}function x9n(r){return JSON.parse(JSON.stringify(r))}function HCe(r,o,l,a={}){var p,g,w;const{clone:y=!1,passive:S=!1,eventName:E,deep:I=!1,defaultValue:M,shouldEmit:_}=a,R=UC(),j=l||(R==null?void 0:R.emit)||((p=R==null?void 0:R.$emit)==null?void 0:p.bind(R))||((w=(g=R==null?void 0:R.proxy)==null?void 0:g.$emit)==null?void 0:w.bind(R==null?void 0:R.proxy));let K=E;o||(o="modelValue"),K=K||`update:${o.toString()}`;const q=X=>y?typeof y=="function"?y(X):x9n(X):X,Q=()=>p9n(r[o])?q(r[o]):M,Z=X=>{_?_(X)&&j(K,X):j(K,X)};if(S){const X=Q(),ie=Co(X);let je=!1;return Os(()=>r[o],et=>{je||(je=!0,ie.value=q(et),om(()=>je=!1))}),Os(ie,et=>{!je&&(et!==r[o]||I)&&Z(et)},{deep:I}),ie}else return ho({get(){return Q()},set(X){Z(X)}})}var E9n={value:()=>{}};function Die(){for(var r=0,o=arguments.length,l={},a;r=0&&(a=l.slice(p+1),l=l.slice(0,p)),l&&!o.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:a}})}Bne.prototype=Die.prototype={constructor:Bne,on:function(r,o){var l=this._,a=T9n(r+"",l),p,g=-1,w=a.length;if(arguments.length<2){for(;++g0)for(var l=new Array(p),a=0,p,g;a=0&&(o=r.slice(0,l))!=="xmlns"&&(r=r.slice(l+1)),LCt.hasOwnProperty(o)?{space:LCt[o],local:r}:r}function P9n(r){return function(){var o=this.ownerDocument,l=this.namespaceURI;return l===dSe&&o.documentElement.namespaceURI===dSe?o.createElement(r):o.createElementNS(l,r)}}function M9n(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function PIt(r){var o=Nie(r);return(o.local?M9n:P9n)(o)}function O9n(){}function Ixe(r){return r==null?O9n:function(){return this.querySelector(r)}}function _9n(r){typeof r!="function"&&(r=Ixe(r));for(var o=this._groups,l=o.length,a=new Array(l),p=0;p=X&&(X=Z+1);!(je=q[X])&&++X=0;)(w=a[p])&&(g&&w.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(w,g),g=w);return this}function nxn(r){r||(r=rxn);function o(M,_){return M&&_?r(M.__data__,_.__data__):!M-!_}for(var l=this._groups,a=l.length,p=new Array(a),g=0;go?1:r>=o?0:NaN}function ixn(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function oxn(){return Array.from(this)}function sxn(){for(var r=this._groups,o=0,l=r.length;o1?this.each((o==null?wxn:typeof o=="function"?vxn:mxn)(r,o,l??"")):A_(this.node(),r)}function A_(r,o){return r.style.getPropertyValue(o)||AIt(r).getComputedStyle(r,null).getPropertyValue(o)}function kxn(r){return function(){delete this[r]}}function Cxn(r,o){return function(){this[r]=o}}function Sxn(r,o){return function(){var l=o.apply(this,arguments);l==null?delete this[r]:this[r]=l}}function xxn(r,o){return arguments.length>1?this.each((o==null?kxn:typeof o=="function"?Sxn:Cxn)(r,o)):this.node()[r]}function LIt(r){return r.trim().split(/^|\s+/)}function Pxe(r){return r.classList||new $It(r)}function $It(r){this._node=r,this._names=LIt(r.getAttribute("class")||"")}$It.prototype={add:function(r){var o=this._names.indexOf(r);o<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var o=this._names.indexOf(r);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function jIt(r,o){for(var l=Pxe(r),a=-1,p=o.length;++a=0&&(l=o.slice(a+1),o=o.slice(0,a)),{type:o,name:l}})}function Qxn(r){return function(){var o=this.__on;if(o){for(var l=0,a=-1,p=o.length,g;l()=>r;function hSe(r,{sourceEvent:o,subject:l,target:a,identifier:p,active:g,x:w,y,dx:S,dy:E,dispatch:I}){Object.defineProperties(this,{type:{value:r,enumerable:!0,configurable:!0},sourceEvent:{value:o,enumerable:!0,configurable:!0},subject:{value:l,enumerable:!0,configurable:!0},target:{value:a,enumerable:!0,configurable:!0},identifier:{value:p,enumerable:!0,configurable:!0},active:{value:g,enumerable:!0,configurable:!0},x:{value:w,enumerable:!0,configurable:!0},y:{value:y,enumerable:!0,configurable:!0},dx:{value:S,enumerable:!0,configurable:!0},dy:{value:E,enumerable:!0,configurable:!0},_:{value:I}})}hSe.prototype.on=function(){var r=this._.on.apply(this._,arguments);return r===this._?this:r};function cEn(r){return!r.ctrlKey&&!r.button}function uEn(){return this.parentNode}function aEn(r,o){return o??{x:r.x,y:r.y}}function fEn(){return navigator.maxTouchPoints||"ontouchstart"in this}function dEn(){var r=cEn,o=uEn,l=aEn,a=fEn,p={},g=Die("start","drag","end"),w=0,y,S,E,I,M=0;function _(ie){ie.on("mousedown.drag",R).filter(a).on("touchstart.drag",q).on("touchmove.drag",Q,lEn).on("touchend.drag touchcancel.drag",Z).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(ie,je){if(!(I||!r.call(this,ie,je))){var et=X(this,o.call(this,ie,je),ie,je,"mouse");et&&(oy(ie.view).on("mousemove.drag",j,Wz).on("mouseup.drag",K,Wz),FIt(ie.view),KCe(ie),E=!1,y=ie.clientX,S=ie.clientY,et("start",ie))}}function j(ie){if(p_(ie),!E){var je=ie.clientX-y,et=ie.clientY-S;E=je*je+et*et>M}p.mouse("drag",ie)}function K(ie){oy(ie.view).on("mousemove.drag mouseup.drag",null),zIt(ie.view,E),p_(ie),p.mouse("end",ie)}function q(ie,je){if(r.call(this,ie,je)){var et=ie.changedTouches,mt=o.call(this,ie,je),bt=et.length,ce,Be;for(ce=0;ce>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):l===8?sne(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):l===4?sne(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=pEn.exec(r))?new Wg(o[1],o[2],o[3],1):(o=gEn.exec(r))?new Wg(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=bEn.exec(r))?sne(o[1],o[2],o[3],o[4]):(o=wEn.exec(r))?sne(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=mEn.exec(r))?zCt(o[1],o[2]/100,o[3]/100,1):(o=vEn.exec(r))?zCt(o[1],o[2]/100,o[3]/100,o[4]):$Ct.hasOwnProperty(r)?NCt($Ct[r]):r==="transparent"?new Wg(NaN,NaN,NaN,0):null}function NCt(r){return new Wg(r>>16&255,r>>8&255,r&255,1)}function sne(r,o,l,a){return a<=0&&(r=o=l=NaN),new Wg(r,o,l,a)}function CEn(r){return r instanceof DH||(r=Xz(r)),r?(r=r.rgb(),new Wg(r.r,r.g,r.b,r.opacity)):new Wg}function pSe(r,o,l,a){return arguments.length===1?CEn(r):new Wg(r,o,l,a??1)}function Wg(r,o,l,a){this.r=+r,this.g=+o,this.b=+l,this.opacity=+a}Mxe(Wg,pSe,HIt(DH,{brighter(r){return r=r==null?Cre:Math.pow(Cre,r),new Wg(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?Vz:Math.pow(Vz,r),new Wg(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new Wg(AE(this.r),AE(this.g),AE(this.b),Sre(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:BCt,formatHex:BCt,formatHex8:SEn,formatRgb:FCt,toString:FCt}));function BCt(){return`#${SE(this.r)}${SE(this.g)}${SE(this.b)}`}function SEn(){return`#${SE(this.r)}${SE(this.g)}${SE(this.b)}${SE((isNaN(this.opacity)?1:this.opacity)*255)}`}function FCt(){const r=Sre(this.opacity);return`${r===1?"rgb(":"rgba("}${AE(this.r)}, ${AE(this.g)}, ${AE(this.b)}${r===1?")":`, ${r})`}`}function Sre(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function AE(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function SE(r){return r=AE(r),(r<16?"0":"")+r.toString(16)}function zCt(r,o,l,a){return a<=0?r=o=l=NaN:l<=0||l>=1?r=o=NaN:o<=0&&(r=NaN),new sy(r,o,l,a)}function KIt(r){if(r instanceof sy)return new sy(r.h,r.s,r.l,r.opacity);if(r instanceof DH||(r=Xz(r)),!r)return new sy;if(r instanceof sy)return r;r=r.rgb();var o=r.r/255,l=r.g/255,a=r.b/255,p=Math.min(o,l,a),g=Math.max(o,l,a),w=NaN,y=g-p,S=(g+p)/2;return y?(o===g?w=(l-a)/y+(l0&&S<1?0:w,new sy(w,y,S,r.opacity)}function xEn(r,o,l,a){return arguments.length===1?KIt(r):new sy(r,o,l,a??1)}function sy(r,o,l,a){this.h=+r,this.s=+o,this.l=+l,this.opacity=+a}Mxe(sy,xEn,HIt(DH,{brighter(r){return r=r==null?Cre:Math.pow(Cre,r),new sy(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?Vz:Math.pow(Vz,r),new sy(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,o=isNaN(r)||isNaN(this.s)?0:this.s,l=this.l,a=l+(l<.5?l:1-l)*o,p=2*l-a;return new Wg(UCe(r>=240?r-240:r+120,p,a),UCe(r,p,a),UCe(r<120?r+240:r-120,p,a),this.opacity)},clamp(){return new sy(HCt(this.h),lne(this.s),lne(this.l),Sre(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 r=Sre(this.opacity);return`${r===1?"hsl(":"hsla("}${HCt(this.h)}, ${lne(this.s)*100}%, ${lne(this.l)*100}%${r===1?")":`, ${r})`}`}}));function HCt(r){return r=(r||0)%360,r<0?r+360:r}function lne(r){return Math.max(0,Math.min(1,r||0))}function UCe(r,o,l){return(r<60?o+(l-o)*r/60:r<180?l:r<240?o+(l-o)*(240-r)/60:o)*255}const UIt=r=>()=>r;function EEn(r,o){return function(l){return r+l*o}}function TEn(r,o,l){return r=Math.pow(r,l),o=Math.pow(o,l)-r,l=1/l,function(a){return Math.pow(r+a*o,l)}}function IEn(r){return(r=+r)==1?GIt:function(o,l){return l-o?TEn(o,l,r):UIt(isNaN(o)?l:o)}}function GIt(r,o){var l=o-r;return l?EEn(r,l):UIt(isNaN(r)?o:r)}const KCt=function r(o){var l=IEn(o);function a(p,g){var w=l((p=pSe(p)).r,(g=pSe(g)).r),y=l(p.g,g.g),S=l(p.b,g.b),E=GIt(p.opacity,g.opacity);return function(I){return p.r=w(I),p.g=y(I),p.b=S(I),p.opacity=E(I),p+""}}return a.gamma=r,a}(1);function vC(r,o){return r=+r,o=+o,function(l){return r*(1-l)+o*l}}var gSe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,GCe=new RegExp(gSe.source,"g");function PEn(r){return function(){return r}}function MEn(r){return function(o){return r(o)+""}}function OEn(r,o){var l=gSe.lastIndex=GCe.lastIndex=0,a,p,g,w=-1,y=[],S=[];for(r=r+"",o=o+"";(a=gSe.exec(r))&&(p=GCe.exec(o));)(g=p.index)>l&&(g=o.slice(l,g),y[w]?y[w]+=g:y[++w]=g),(a=a[0])===(p=p[0])?y[w]?y[w]+=p:y[++w]=p:(y[++w]=null,S.push({i:w,x:vC(a,p)})),l=GCe.lastIndex;return l180?I+=360:I-E>180&&(E+=360),_.push({i:M.push(p(M)+"rotate(",null,a)-2,x:vC(E,I)})):I&&M.push(p(M)+"rotate("+I+a)}function y(E,I,M,_){E!==I?_.push({i:M.push(p(M)+"skewX(",null,a)-2,x:vC(E,I)}):I&&M.push(p(M)+"skewX("+I+a)}function S(E,I,M,_,R,j){if(E!==M||I!==_){var K=R.push(p(R)+"scale(",null,",",null,")");j.push({i:K-4,x:vC(E,M)},{i:K-2,x:vC(I,_)})}else(M!==1||_!==1)&&R.push(p(R)+"scale("+M+","+_+")")}return function(E,I){var M=[],_=[];return E=r(E),I=r(I),g(E.translateX,E.translateY,I.translateX,I.translateY,M,_),w(E.rotate,I.rotate,M,_),y(E.skewX,I.skewX,M,_),S(E.scaleX,E.scaleY,I.scaleX,I.scaleY,M,_),E=I=null,function(R){for(var j=-1,K=_.length,q;++j=0&&r._call.call(void 0,o),r=r._next;--L_}function WCt(){UE=(Ere=Yz.now())+Bie,L_=IF=0;try{FEn()}finally{L_=0,HEn(),UE=0}}function zEn(){var r=Yz.now(),o=r-Ere;o>qIt&&(Bie-=o,Ere=r)}function HEn(){for(var r,o=xre,l,a=1/0;o;)o._call?(a>o._time&&(a=o._time),r=o,o=o._next):(l=o._next,o._next=null,o=r?r._next=l:xre=l);PF=r,wSe(a)}function wSe(r){if(!L_){IF&&(IF=clearTimeout(IF));var o=r-UE;o>24?(r<1/0&&(IF=setTimeout(WCt,r-Yz.now()-Bie)),gF&&(gF=clearInterval(gF))):(gF||(Ere=Yz.now(),gF=setInterval(zEn,qIt)),L_=1,XIt(WCt))}}function VCt(r,o,l){var a=new Tre;return o=o==null?0:+o,a.restart(p=>{a.stop(),r(p+o)},o,l),a}var KEn=Die("start","end","cancel","interrupt"),UEn=[],JIt=0,qCt=1,mSe=2,Fne=3,XCt=4,vSe=5,zne=6;function Fie(r,o,l,a,p,g){var w=r.__transition;if(!w)r.__transition={};else if(l in w)return;GEn(r,l,{name:o,index:a,group:p,on:KEn,tween:UEn,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:JIt})}function _xe(r,o){var l=gy(r,o);if(l.state>JIt)throw new Error("too late; already scheduled");return l}function A3(r,o){var l=gy(r,o);if(l.state>Fne)throw new Error("too late; already running");return l}function gy(r,o){var l=r.__transition;if(!l||!(l=l[o]))throw new Error("transition not found");return l}function GEn(r,o,l){var a=r.__transition,p;a[o]=l,l.timer=YIt(g,0,l.time);function g(E){l.state=qCt,l.timer.restart(w,l.delay,l.time),l.delay<=E&&w(E-l.delay)}function w(E){var I,M,_,R;if(l.state!==qCt)return S();for(I in a)if(R=a[I],R.name===l.name){if(R.state===Fne)return VCt(w);R.state===XCt?(R.state=zne,R.timer.stop(),R.on.call("interrupt",r,r.__data__,R.index,R.group),delete a[I]):+ImSe&&a.state=0&&(o=o.slice(0,l)),!o||o==="start"})}function kTn(r,o,l){var a,p,g=yTn(o)?_xe:A3;return function(){var w=g(this,r),y=w.on;y!==a&&(p=(a=y).copy()).on(o,l),w.on=p}}function CTn(r,o){var l=this._id;return arguments.length<2?gy(this.node(),l).on.on(r):this.each(kTn(l,r,o))}function STn(r){return function(){var o=this.parentNode;for(var l in this.__transition)if(+l!==r)return;o&&o.removeChild(this)}}function xTn(){return this.on("end.remove",STn(this._id))}function ETn(r){var o=this._name,l=this._id;typeof r!="function"&&(r=Ixe(r));for(var a=this._groups,p=a.length,g=new Array(p),w=0;w()=>r;function YTn(r,{sourceEvent:o,target:l,transform:a,dispatch:p}){Object.defineProperties(this,{type:{value:r,enumerable:!0,configurable:!0},sourceEvent:{value:o,enumerable:!0,configurable:!0},target:{value:l,enumerable:!0,configurable:!0},transform:{value:a,enumerable:!0,configurable:!0},_:{value:p}})}function U6(r,o,l){this.k=r,this.x=o,this.y=l}U6.prototype={constructor:U6,scale:function(r){return r===1?this:new U6(this.k*r,this.x,this.y)},translate:function(r,o){return r===0&o===0?this:new U6(this.k,this.x+this.k*r,this.y+this.k*o)},apply:function(r){return[r[0]*this.k+this.x,r[1]*this.k+this.y]},applyX:function(r){return r*this.k+this.x},applyY:function(r){return r*this.k+this.y},invert:function(r){return[(r[0]-this.x)/this.k,(r[1]-this.y)/this.k]},invertX:function(r){return(r-this.x)/this.k},invertY:function(r){return(r-this.y)/this.k},rescaleX:function(r){return r.copy().domain(r.range().map(this.invertX,this).map(r.invert,r))},rescaleY:function(r){return r.copy().domain(r.range().map(this.invertY,this).map(r.invert,r))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var $_=new U6(1,0,0);U6.prototype;function WCe(r){r.stopImmediatePropagation()}function bF(r){r.preventDefault(),r.stopImmediatePropagation()}function JTn(r){return(!r.ctrlKey||r.type==="wheel")&&!r.button}function QTn(){var r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r,r.hasAttribute("viewBox")?(r=r.viewBox.baseVal,[[r.x,r.y],[r.x+r.width,r.y+r.height]]):[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]):[[0,0],[r.clientWidth,r.clientHeight]]}function YCt(){return this.__zoom||$_}function ZTn(r){return-r.deltaY*(r.deltaMode===1?.05:r.deltaMode?1:.002)*(r.ctrlKey?10:1)}function eIn(){return navigator.maxTouchPoints||"ontouchstart"in this}function tIn(r,o,l){var a=r.invertX(o[0][0])-l[0][0],p=r.invertX(o[1][0])-l[1][0],g=r.invertY(o[0][1])-l[0][1],w=r.invertY(o[1][1])-l[1][1];return r.translate(p>a?(a+p)/2:Math.min(0,a)||Math.max(0,p),w>g?(g+w)/2:Math.min(0,g)||Math.max(0,w))}function nIn(){var r=JTn,o=QTn,l=tIn,a=ZTn,p=eIn,g=[0,1/0],w=[[-1/0,-1/0],[1/0,1/0]],y=250,S=NEn,E=Die("start","zoom","end"),I,M,_,R=500,j=150,K=0,q=10;function Q(He){He.property("__zoom",YCt).on("wheel.zoom",bt,{passive:!1}).on("mousedown.zoom",ce).on("dblclick.zoom",Be).filter(p).on("touchstart.zoom",ae).on("touchmove.zoom",xe).on("touchend.zoom touchcancel.zoom",U).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Q.transform=function(He,yt,ft,At){var Jt=He.selection?He.selection():He;Jt.property("__zoom",YCt),He!==Jt?je(He,yt,ft,At):Jt.interrupt().each(function(){et(this,arguments).event(At).start().zoom(null,typeof yt=="function"?yt.apply(this,arguments):yt).end()})},Q.scaleBy=function(He,yt,ft,At){Q.scaleTo(He,function(){var Jt=this.__zoom.k,un=typeof yt=="function"?yt.apply(this,arguments):yt;return Jt*un},ft,At)},Q.scaleTo=function(He,yt,ft,At){Q.transform(He,function(){var Jt=o.apply(this,arguments),un=this.__zoom,kn=ft==null?ie(Jt):typeof ft=="function"?ft.apply(this,arguments):ft,qt=un.invert(kn),on=typeof yt=="function"?yt.apply(this,arguments):yt;return l(X(Z(un,on),kn,qt),Jt,w)},ft,At)},Q.translateBy=function(He,yt,ft,At){Q.transform(He,function(){return l(this.__zoom.translate(typeof yt=="function"?yt.apply(this,arguments):yt,typeof ft=="function"?ft.apply(this,arguments):ft),o.apply(this,arguments),w)},null,At)},Q.translateTo=function(He,yt,ft,At,Jt){Q.transform(He,function(){var un=o.apply(this,arguments),kn=this.__zoom,qt=At==null?ie(un):typeof At=="function"?At.apply(this,arguments):At;return l($_.translate(qt[0],qt[1]).scale(kn.k).translate(typeof yt=="function"?-yt.apply(this,arguments):-yt,typeof ft=="function"?-ft.apply(this,arguments):-ft),un,w)},At,Jt)};function Z(He,yt){return yt=Math.max(g[0],Math.min(g[1],yt)),yt===He.k?He:new U6(yt,He.x,He.y)}function X(He,yt,ft){var At=yt[0]-ft[0]*He.k,Jt=yt[1]-ft[1]*He.k;return At===He.x&&Jt===He.y?He:new U6(He.k,At,Jt)}function ie(He){return[(+He[0][0]+ +He[1][0])/2,(+He[0][1]+ +He[1][1])/2]}function je(He,yt,ft,At){He.on("start.zoom",function(){et(this,arguments).event(At).start()}).on("interrupt.zoom end.zoom",function(){et(this,arguments).event(At).end()}).tween("zoom",function(){var Jt=this,un=arguments,kn=et(Jt,un).event(At),qt=o.apply(Jt,un),on=ft==null?ie(qt):typeof ft=="function"?ft.apply(Jt,un):ft,Rt=Math.max(qt[1][0]-qt[0][0],qt[1][1]-qt[0][1]),an=Jt.__zoom,Zn=typeof yt=="function"?yt.apply(Jt,un):yt,kt=S(an.invert(on).concat(Rt/an.k),Zn.invert(on).concat(Rt/Zn.k));return function(Ze){if(Ze===1)Ze=Zn;else{var Xt=kt(Ze),Mn=Rt/Xt[2];Ze=new U6(Mn,on[0]-Xt[0]*Mn,on[1]-Xt[1]*Mn)}kn.zoom(null,Ze)}})}function et(He,yt,ft){return!ft&&He.__zooming||new mt(He,yt)}function mt(He,yt){this.that=He,this.args=yt,this.active=0,this.sourceEvent=null,this.extent=o.apply(He,yt),this.taps=0}mt.prototype={event:function(He){return He&&(this.sourceEvent=He),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(He,yt){return this.mouse&&He!=="mouse"&&(this.mouse[1]=yt.invert(this.mouse[0])),this.touch0&&He!=="touch"&&(this.touch0[1]=yt.invert(this.touch0[0])),this.touch1&&He!=="touch"&&(this.touch1[1]=yt.invert(this.touch1[0])),this.that.__zoom=yt,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(He){var yt=oy(this.that).datum();E.call(He,this.that,new YTn(He,{sourceEvent:this.sourceEvent,target:Q,type:He,transform:this.that.__zoom,dispatch:E}),yt)}};function bt(He,...yt){if(!r.apply(this,arguments))return;var ft=et(this,yt).event(He),At=this.__zoom,Jt=Math.max(g[0],Math.min(g[1],At.k*Math.pow(2,a.apply(this,arguments)))),un=d3(He);if(ft.wheel)(ft.mouse[0][0]!==un[0]||ft.mouse[0][1]!==un[1])&&(ft.mouse[1]=At.invert(ft.mouse[0]=un)),clearTimeout(ft.wheel);else{if(At.k===Jt)return;ft.mouse=[un,At.invert(un)],Hne(this),ft.start()}bF(He),ft.wheel=setTimeout(kn,j),ft.zoom("mouse",l(X(Z(At,Jt),ft.mouse[0],ft.mouse[1]),ft.extent,w));function kn(){ft.wheel=null,ft.end()}}function ce(He,...yt){if(_||!r.apply(this,arguments))return;var ft=He.currentTarget,At=et(this,yt,!0).event(He),Jt=oy(He.view).on("mousemove.zoom",on,!0).on("mouseup.zoom",Rt,!0),un=d3(He,ft),kn=He.clientX,qt=He.clientY;FIt(He.view),WCe(He),At.mouse=[un,this.__zoom.invert(un)],Hne(this),At.start();function on(an){if(bF(an),!At.moved){var Zn=an.clientX-kn,kt=an.clientY-qt;At.moved=Zn*Zn+kt*kt>K}At.event(an).zoom("mouse",l(X(At.that.__zoom,At.mouse[0]=d3(an,ft),At.mouse[1]),At.extent,w))}function Rt(an){Jt.on("mousemove.zoom mouseup.zoom",null),zIt(an.view,At.moved),bF(an),At.event(an).end()}}function Be(He,...yt){if(r.apply(this,arguments)){var ft=this.__zoom,At=d3(He.changedTouches?He.changedTouches[0]:He,this),Jt=ft.invert(At),un=ft.k*(He.shiftKey?.5:2),kn=l(X(Z(ft,un),At,Jt),o.apply(this,yt),w);bF(He),y>0?oy(this).transition().duration(y).call(je,kn,At,He):oy(this).call(Q.transform,kn,At,He)}}function ae(He,...yt){if(r.apply(this,arguments)){var ft=He.touches,At=ft.length,Jt=et(this,yt,He.changedTouches.length===At).event(He),un,kn,qt,on;for(WCe(He),kn=0;kn(r.Left="left",r.Top="top",r.Right="right",r.Bottom="bottom",r))(wi||{}),Axe=(r=>(r.Partial="partial",r.Full="full",r))(Axe||{}),bE=(r=>(r.Bezier="default",r.SimpleBezier="simple-bezier",r.Straight="straight",r.Step="step",r.SmoothStep="smoothstep",r))(bE||{}),GE=(r=>(r.Strict="strict",r.Loose="loose",r))(GE||{}),Ire=(r=>(r.Arrow="arrow",r.ArrowClosed="arrowclosed",r))(Ire||{}),ZF=(r=>(r.Free="free",r.Vertical="vertical",r.Horizontal="horizontal",r))(ZF||{});function ySe(r){var o,l;const a=((l=(o=r.composedPath)==null?void 0:o.call(r))==null?void 0:l[0])||r.target,p=typeof(a==null?void 0:a.hasAttribute)=="function"?a.hasAttribute("contenteditable"):!1,g=typeof(a==null?void 0:a.closest)=="function"?a.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(a==null?void 0:a.nodeName)||p||!!g}function rIn(r){return r.ctrlKey||r.metaKey||r.shiftKey}function JCt(r,o,l,a){const p=o.replace("+",` +`).replace(` + +`,` ++`).split(` +`).map(w=>w.trim().toLowerCase());if(p.length===1)return r.toLowerCase()===o.toLowerCase();a||l.add(r.toLowerCase());const g=p.every((w,y)=>l.has(w)&&Array.from(l.values())[y]===p[y]);return a&&l.delete(r.toLowerCase()),g}function iIn(r,o){return l=>{if(!l.code&&!l.key)return!1;const a=oIn(l.code,r);return Array.isArray(r)?r.some(p=>JCt(l[a],p,o,l.type==="keyup")):JCt(l[a],r,o,l.type==="keyup")}}function oIn(r,o){return o.includes(r)?"code":"key"}function ez(r,o){const l=Ia(()=>Wl(o==null?void 0:o.actInsideInputWithModifier)??!1),a=Ia(()=>Wl(o==null?void 0:o.target)??window),p=Co(Wl(r)===!0);let g=!1;const w=new Set;let y=E(Wl(r));Os(()=>Wl(r),(I,M)=>{typeof M=="boolean"&&typeof I!="boolean"&&S(),y=E(I)},{immediate:!0}),bb(()=>{IIt(window,["blur","contextmenu"],S)}),RCt((...I)=>y(...I),I=>{g=rIn(I),!((!g||g&&!l.value)&&ySe(I))&&(I.preventDefault(),p.value=!0)},{eventName:"keydown",target:a}),RCt((...I)=>y(...I),I=>{if(p.value){if((!g||g&&!l.value)&&ySe(I))return;g=!1,p.value=!1}},{eventName:"keyup",target:a});function S(){g=!1,w.clear(),p.value=Wl(r)===!0}function E(I){return I===null?(S(),()=>!1):typeof I=="boolean"?(S(),p.value=I,()=>!1):Array.isArray(I)||typeof I=="string"?iIn(I,w):I}return p}const tPt="vue-flow__node-desc",nPt="vue-flow__edge-desc",sIn="vue-flow__aria-live",rPt=["Enter"," ","Escape"],b_={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function kSe(r){return{...r.computedPosition||{x:0,y:0},width:r.dimensions.width||0,height:r.dimensions.height||0}}function CSe(r,o){const l=Math.max(0,Math.min(r.x+r.width,o.x+o.width)-Math.max(r.x,o.x)),a=Math.max(0,Math.min(r.y+r.height,o.y+o.height)-Math.max(r.y,o.y));return Math.ceil(l*a)}function zie(r){return{width:r.offsetWidth,height:r.offsetHeight}}function WE(r,o=0,l=1){return Math.min(Math.max(r,o),l)}function iPt(r,o){return{x:WE(r.x,o[0][0],o[1][0]),y:WE(r.y,o[0][1],o[1][1])}}function QCt(r){const o=r.getRootNode();return"elementFromPoint"in o?o:window.document}function FC(r){return r&&typeof r=="object"&&"id"in r&&"source"in r&&"target"in r}function LE(r){return r&&typeof r=="object"&&"id"in r&&"position"in r&&!FC(r)}function MF(r){return LE(r)&&"computedPosition"in r}function ane(r){return!Number.isNaN(r)&&Number.isFinite(r)}function lIn(r){return ane(r.width)&&ane(r.height)&&ane(r.x)&&ane(r.y)}function cIn(r,o,l){const a={id:r.id.toString(),type:r.type??"default",dimensions:EE({width:0,height:0}),computedPosition:EE({z:0,...r.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Vf(r.data)?r.data:{},events:EE(Vf(r.events)?r.events:{})};return Object.assign(o??a,r,{id:r.id.toString(),parentNode:l})}function oPt(r,o,l){var a,p;const g={id:r.id.toString(),type:r.type??(o==null?void 0:o.type)??"default",source:r.source.toString(),target:r.target.toString(),sourceHandle:(a=r.sourceHandle)==null?void 0:a.toString(),targetHandle:(p=r.targetHandle)==null?void 0:p.toString(),updatable:r.updatable??(l==null?void 0:l.updatable),selectable:r.selectable??(l==null?void 0:l.selectable),focusable:r.focusable??(l==null?void 0:l.focusable),data:Vf(r.data)?r.data:{},events:EE(Vf(r.events)?r.events:{}),label:r.label??"",interactionWidth:r.interactionWidth??(l==null?void 0:l.interactionWidth),...l??{}};return Object.assign(o??g,r,{id:r.id.toString()})}function sPt(r,o,l,a){const p=typeof r=="string"?r:r.id,g=new Set,w=a==="source"?"target":"source";for(const y of l)y[w]===p&&g.add(y[a]);return o.filter(y=>g.has(y.id))}function uIn(...r){if(r.length===3){const[g,w,y]=r;return sPt(g,w,y,"target")}const[o,l]=r,a=typeof o=="string"?o:o.id;return l.filter(g=>FC(g)&&g.source===a).map(g=>l.find(w=>LE(w)&&w.id===g.target))}function aIn(...r){if(r.length===3){const[g,w,y]=r;return sPt(g,w,y,"source")}const[o,l]=r,a=typeof o=="string"?o:o.id;return l.filter(g=>FC(g)&&g.target===a).map(g=>l.find(w=>LE(w)&&w.id===g.source))}function lPt({source:r,sourceHandle:o,target:l,targetHandle:a}){return`vueflow__edge-${r}${o??""}-${l}${a??""}`}function fIn(r,o){return o.some(l=>FC(l)&&l.source===r.source&&l.target===r.target&&(l.sourceHandle===r.sourceHandle||!l.sourceHandle&&!r.sourceHandle)&&(l.targetHandle===r.targetHandle||!l.targetHandle&&!r.targetHandle))}function cPt({x:r,y:o},{x:l,y:a,zoom:p}){return{x:r*p+l,y:o*p+a}}function Jz({x:r,y:o},{x:l,y:a,zoom:p},g=!1,w=[1,1]){const y={x:(r-l)/p,y:(o-a)/p};return g?Hie(y,w):y}function dIn(r,o){return{x:Math.min(r.x,o.x),y:Math.min(r.y,o.y),x2:Math.max(r.x2,o.x2),y2:Math.max(r.y2,o.y2)}}function uPt({x:r,y:o,width:l,height:a}){return{x:r,y:o,x2:r+l,y2:o+a}}function hIn({x:r,y:o,x2:l,y2:a}){return{x:r,y:o,width:l-r,height:a-o}}function aPt(r){let o={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let l=0;l0,q=(M??0)*(_??0);(j||K||R>=q||y.dragging)&&w.push(y)}return w}function dPt(r,o){const l=new Set;if(typeof r=="string")l.add(r);else if(r.length>=1)for(const a of r)l.add(a.id);return o.filter(a=>l.has(a.source)||l.has(a.target))}function ZCt(r,o,l,a,p,g=.1,w={x:0,y:0}){const y=o/(r.width*(1+g)),S=l/(r.height*(1+g)),E=Math.min(y,S),I=WE(E,a,p),M=r.x+r.width/2,_=r.y+r.height/2,R=o/2-M*I+(w.x??0),j=l/2-_*I+(w.y??0);return{x:R,y:j,zoom:I}}function pIn(r,o){return{x:o.x+r.x,y:o.y+r.y,z:(r.z>o.z?r.z:o.z)+1}}function hPt(r,o){if(!r.parentNode)return!1;const l=o(r.parentNode);return l?l.selected?!0:hPt(l,o):!1}function Qz(r,o){return typeof r>"u"?"":typeof r=="string"?r:`${o?`${o}__`:""}${Object.keys(r).sort().map(a=>`${a}=${r[a]}`).join("&")}`}function e7t(r,o,l){return rl?-WE(Math.abs(r-l),1,o)/o:0}function pPt(r,o,l=15,a=40){const p=e7t(r.x,a,o.width-a)*l,g=e7t(r.y,a,o.height-a)*l;return[p,g]}function VCe(r,o){if(o){const l=r.position.x+r.dimensions.width-o.dimensions.width,a=r.position.y+r.dimensions.height-o.dimensions.height;if(l>0||a>0||r.position.x<0||r.position.y<0){let p={};if(typeof o.style=="function"?p={...o.style(o)}:o.style&&(p={...o.style}),p.width=p.width??`${o.dimensions.width}px`,p.height=p.height??`${o.dimensions.height}px`,l>0)if(typeof p.width=="string"){const g=Number(p.width.replace("px",""));p.width=`${g+l}px`}else p.width+=l;if(a>0)if(typeof p.height=="string"){const g=Number(p.height.replace("px",""));p.height=`${g+a}px`}else p.height+=a;if(r.position.x<0){const g=Math.abs(r.position.x);if(o.position.x=o.position.x-g,typeof p.width=="string"){const w=Number(p.width.replace("px",""));p.width=`${w+g}px`}else p.width+=g;r.position.x=0}if(r.position.y<0){const g=Math.abs(r.position.y);if(o.position.y=o.position.y-g,typeof p.height=="string"){const w=Number(p.height.replace("px",""));p.height=`${w+g}px`}else p.height+=g;r.position.y=0}o.dimensions.width=Number(p.width.toString().replace("px","")),o.dimensions.height=Number(p.height.toString().replace("px","")),typeof o.style=="function"?o.style=g=>{const w=o.style;return{...w(g),...p}}:o.style={...o.style,...p}}}}function t7t(r,o){var l,a;const p=r.filter(w=>w.type==="add"||w.type==="remove");for(const w of p)if(w.type==="add")o.findIndex(S=>S.id===w.item.id)===-1&&o.push(w.item);else if(w.type==="remove"){const y=o.findIndex(S=>S.id===w.id);y!==-1&&o.splice(y,1)}const g=o.map(w=>w.id);for(const w of o)for(const y of r)if(y.id===w.id)switch(y.type){case"select":w.selected=y.selected;break;case"position":if(MF(w)&&(typeof y.position<"u"&&(w.position=y.position),typeof y.dragging<"u"&&(w.dragging=y.dragging),w.expandParent&&w.parentNode)){const S=o[g.indexOf(w.parentNode)];S&&MF(S)&&VCe(w,S)}break;case"dimensions":if(MF(w)&&(typeof y.dimensions<"u"&&(w.dimensions=y.dimensions),typeof y.updateStyle<"u"&&y.updateStyle&&(w.style={...w.style||{},width:`${(l=y.dimensions)==null?void 0:l.width}px`,height:`${(a=y.dimensions)==null?void 0:a.height}px`}),typeof y.resizing<"u"&&(w.resizing=y.resizing),w.expandParent&&w.parentNode)){const S=o[g.indexOf(w.parentNode)];S&&MF(S)&&(!!S.dimensions.width&&!!S.dimensions.height?VCe(w,S):om(()=>{VCe(w,S)}))}break}return o}function hC(r,o){return{id:r,type:"select",selected:o}}function n7t(r){return{item:r,type:"add"}}function r7t(r){return{id:r,type:"remove"}}function i7t(r,o,l,a,p){return{id:r,source:o,target:l,sourceHandle:a||null,targetHandle:p||null,type:"remove"}}function yC(r,o=new Set,l=!1){const a=[];for(const[p,g]of r){const w=o.has(p);!(g.selected===void 0&&!w)&&g.selected!==w&&(l&&(g.selected=w),a.push(hC(g.id,w)))}return a}function ti(r){const o=new Set;let l=!1;const a=()=>o.size>0;r&&(l=!0,o.add(r));const p=y=>{o.delete(y)};return{on:y=>{r&&l&&o.delete(r),o.add(y);const S=()=>{p(y),r&&l&&o.add(r)};return jie(S),{off:S}},off:p,trigger:y=>Promise.all(Array.from(o).map(S=>S(y))),hasListeners:a,fns:o}}function o7t(r,o,l){let a=r;do{if(a&&a.matches(o))return!0;if(a===l)return!1;a=a.parentElement}while(a);return!1}function gIn(r,o,l,a,p){var g,w;const y=[];for(const S of r)(S.selected||S.id===p)&&(!S.parentNode||!hPt(S,a))&&(S.draggable||o&&typeof S.draggable>"u")&&y.push(EE({id:S.id,position:S.position||{x:0,y:0},distance:{x:l.x-((g=S.computedPosition)==null?void 0:g.x)||0,y:l.y-((w=S.computedPosition)==null?void 0:w.y)||0},from:S.computedPosition,extent:S.extent,parentNode:S.parentNode,dimensions:S.dimensions,expandParent:S.expandParent}));return y}function qCe({id:r,dragItems:o,findNode:l}){const a=[];for(const p of o){const g=l(p.id);g&&a.push(g)}return[r?a.find(p=>p.id===r):a[0],a]}function gPt(r){if(Array.isArray(r))switch(r.length){case 1:return[r[0],r[0],r[0],r[0]];case 2:return[r[0],r[1],r[0],r[1]];case 3:return[r[0],r[1],r[2],r[1]];case 4:return r;default:return[0,0,0,0]}return[r,r,r,r]}function bIn(r,o,l){const[a,p,g,w]=typeof r!="string"?gPt(r.padding):[0,0,0,0];return l&&typeof l.computedPosition.x<"u"&&typeof l.computedPosition.y<"u"&&typeof l.dimensions.width<"u"&&typeof l.dimensions.height<"u"?[[l.computedPosition.x+w,l.computedPosition.y+a],[l.computedPosition.x+l.dimensions.width-p,l.computedPosition.y+l.dimensions.height-g]]:!1}function wIn(r,o,l,a){let p=r.extent||l;if((p==="parent"||!Array.isArray(p)&&(p==null?void 0:p.range)==="parent")&&!r.expandParent)if(r.parentNode&&a&&r.dimensions.width&&r.dimensions.height){const g=bIn(p,r,a);g&&(p=g)}else o(new Md(qf.NODE_EXTENT_INVALID,r.id)),p=l;else if(Array.isArray(p)){const g=(a==null?void 0:a.computedPosition.x)||0,w=(a==null?void 0:a.computedPosition.y)||0;p=[[p[0][0]+g,p[0][1]+w],[p[1][0]+g,p[1][1]+w]]}else if(p!=="parent"&&(p!=null&&p.range)&&Array.isArray(p.range)){const[g,w,y,S]=gPt(p.padding),E=(a==null?void 0:a.computedPosition.x)||0,I=(a==null?void 0:a.computedPosition.y)||0;p=[[p.range[0][0]+E+S,p.range[0][1]+I+g],[p.range[1][0]+E-w,p.range[1][1]+I-y]]}return p==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:p}function mIn({width:r,height:o},l){return[l[0],[l[1][0]-(r||0),l[1][1]-(o||0)]]}function Lxe(r,o,l,a,p){const g=mIn(r.dimensions,wIn(r,l,a,p)),w=iPt(o,g);return{position:{x:w.x-((p==null?void 0:p.computedPosition.x)||0),y:w.y-((p==null?void 0:p.computedPosition.y)||0)},computedPosition:w}}function Pre(r,o,l=wi.Left){const a=((o==null?void 0:o.x)??0)+r.computedPosition.x,p=((o==null?void 0:o.y)??0)+r.computedPosition.y,{width:g,height:w}=o??kIn(r);switch((o==null?void 0:o.position)??l){case wi.Top:return{x:a+g/2,y:p};case wi.Right:return{x:a+g,y:p+w/2};case wi.Bottom:return{x:a+g/2,y:p+w};case wi.Left:return{x:a,y:p+w/2}}}function s7t(r=[],o){return r.length&&(o?r.find(l=>l.id===o):r[0])||null}function vIn({sourcePos:r,targetPos:o,sourceWidth:l,sourceHeight:a,targetWidth:p,targetHeight:g,width:w,height:y,viewport:S}){const E={x:Math.min(r.x,o.x),y:Math.min(r.y,o.y),x2:Math.max(r.x+l,o.x+p),y2:Math.max(r.y+a,o.y+g)};E.x===E.x2&&(E.x2+=1),E.y===E.y2&&(E.y2+=1);const I=uPt({x:(0-S.x)/S.zoom,y:(0-S.y)/S.zoom,width:w/S.zoom,height:y/S.zoom}),M=Math.max(0,Math.min(I.x2,E.x2)-Math.max(I.x,E.x)),_=Math.max(0,Math.min(I.y2,E.y2)-Math.max(I.y,E.y));return Math.ceil(M*_)>0}function yIn(r,o,l=!1){const a=typeof r.zIndex=="number";let p=a?r.zIndex:0;const g=o(r.source),w=o(r.target);return!g||!w?0:(l&&(p=a?r.zIndex:Math.max(g.computedPosition.z||0,w.computedPosition.z||0)),p)}var qf=(r=>(r.MISSING_STYLES="MISSING_STYLES",r.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",r.NODE_INVALID="NODE_INVALID",r.NODE_NOT_FOUND="NODE_NOT_FOUND",r.NODE_MISSING_PARENT="NODE_MISSING_PARENT",r.NODE_TYPE_MISSING="NODE_TYPE_MISSING",r.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",r.EDGE_INVALID="EDGE_INVALID",r.EDGE_NOT_FOUND="EDGE_NOT_FOUND",r.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",r.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",r.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",r.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",r.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",r.EDGE_ORPHANED="EDGE_ORPHANED",r.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",r))(qf||{});const l7t={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:r=>`Node is invalid +Node: ${r}`,NODE_NOT_FOUND:r=>`Node not found +Node: ${r}`,NODE_MISSING_PARENT:(r,o)=>`Node is missing a parent +Node: ${r} +Parent: ${o}`,NODE_TYPE_MISSING:r=>`Node type is missing +Type: ${r}`,NODE_EXTENT_INVALID:r=>`Only child nodes can use a parent extent +Node: ${r}`,EDGE_INVALID:r=>`An edge needs a source and a target +Edge: ${r}`,EDGE_SOURCE_MISSING:(r,o)=>`Edge source is missing +Edge: ${r} +Source: ${o}`,EDGE_TARGET_MISSING:(r,o)=>`Edge target is missing +Edge: ${r} +Target: ${o}`,EDGE_TYPE_MISSING:r=>`Edge type is missing +Type: ${r}`,EDGE_SOURCE_TARGET_SAME:(r,o,l)=>`Edge source and target are the same +Edge: ${r} +Source: ${o} +Target: ${l}`,EDGE_SOURCE_TARGET_MISSING:(r,o,l)=>`Edge source or target is missing +Edge: ${r} +Source: ${o} +Target: ${l}`,EDGE_ORPHANED:r=>`Edge was orphaned (suddenly missing source or target) and has been removed +Edge: ${r}`,EDGE_NOT_FOUND:r=>`Edge not found +Edge: ${r}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class Md extends Error{constructor(o,...l){var a;super((a=l7t[o])==null?void 0:a.call(l7t,...l)),this.name="VueFlowError",this.code=o,this.args=l}}function $xe(r){return"clientX"in r}function bPt(r){return"sourceEvent"in r}function V6(r,o){var l,a;const p=$xe(r),g=p?r.clientX:(l=r.touches)==null?void 0:l[0].clientX,w=p?r.clientY:(a=r.touches)==null?void 0:a[0].clientY;return{x:g-((o==null?void 0:o.left)??0),y:w-((o==null?void 0:o.top)??0)}}const Mre=()=>{var r;return typeof navigator<"u"&&((r=navigator==null?void 0:navigator.userAgent)==null?void 0:r.indexOf("Mac"))>=0};function kIn(r){var o,l;return{width:((o=r.dimensions)==null?void 0:o.width)??r.width??0,height:((l=r.dimensions)==null?void 0:l.height)??r.height??0}}function Hie(r,o=[1,1]){return{x:o[0]*Math.round(r.x/o[0]),y:o[1]*Math.round(r.y/o[1])}}function wPt(){return{handleDomNode:null,isValid:!1,connection:{source:"",target:"",sourceHandle:null,targetHandle:null},endHandle:null}}function XCe(r){r==null||r.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting")}function c7t(r,o,l,a){const p=[];for(const g of o[l]||[])if(`${r.id}-${g.id}-${l}`!==a){const{x:w,y}=Pre(r,g);p.push({id:g.id||null,type:l,nodeId:r.id,x:w,y})}return p}function CIn(r,o,l,a,p,g){const{x:w,y}=V6(r),E=o.elementsFromPoint(w,y).find(j=>j.classList.contains("vue-flow__handle"));if(E){const j=E.getAttribute("data-nodeid");if(j){const K=jxe(void 0,E),q=E.getAttribute("data-handleid"),Q=g({nodeId:j,id:q,type:K});if(Q){const Z=p.find(X=>X.nodeId===j&&X.type===K&&X.id===q);return{handle:{id:q,type:K,nodeId:j,x:(Z==null?void 0:Z.x)||l.x,y:(Z==null?void 0:Z.y)||l.y},validHandleResult:Q}}}}let I=[],M=Number.POSITIVE_INFINITY;for(const j of p){const K=Math.sqrt((j.x-l.x)**2+(j.y-l.y)**2);if(K<=a){const q=g(j);K<=M&&(Kj.isValid),R=I.some(({handle:j})=>j.type==="target");return I.find(({handle:j,validHandleResult:K})=>R?j.type==="target":_?K.isValid:!0)||I[0]}function u7t(r,o,l,a,p,g,w,y,S,E,I){const M=g==="target",_=y.querySelector(`.vue-flow__handle[data-id="${o==null?void 0:o.nodeId}-${o==null?void 0:o.id}-${o==null?void 0:o.type}"]`),{x:R,y:j}=V6(r),K=y.elementFromPoint(R,j),q=K!=null&&K.classList.contains("vue-flow__handle")?K:_,Q=wPt();if(q){Q.handleDomNode=q;const Z=jxe(void 0,q),X=q.getAttribute("data-nodeid"),ie=q.getAttribute("data-handleid"),je=q.classList.contains("connectable"),et=q.classList.contains("connectableend"),mt={source:M?X:a,sourceHandle:M?ie:p,target:M?a:X,targetHandle:M?p:ie};Q.connection=mt,je&&et&&(l===GE.Strict?M&&Z==="source"||!M&&Z==="target":X!==a||ie!==p)&&(Q.isValid=w(mt,{edges:S,nodes:E,sourceNode:I(mt.source),targetNode:I(mt.target)}),Q.endHandle={nodeId:X,handleId:ie,type:Z,position:Q.isValid?q.getAttribute("data-handlepos"):null})}return Q}function SIn({nodes:r,nodeId:o,handleId:l,handleType:a}){const p=[];for(let g=0;g{const y=w.getBoundingClientRect();return{id:w.getAttribute("data-handleid"),position:w.getAttribute("data-handlepos"),x:(y.left-l.left)/a,y:(y.top-l.top)/a,...zie(w)}})}function SSe(r,o,l,a,p,g=!1,w){p.value=!1,r.selected?(g||r.selected&&o)&&(a([r]),om(()=>{w.blur()})):l([r])}function Vf(r){return typeof Lr(r)<"u"}function TIn(r,o,l,a){if(!r||!r.source||!r.target)return l(new Md(qf.EDGE_INVALID,(r==null?void 0:r.id)??"[ID UNKNOWN]")),!1;let p;return FC(r)?p=r:p={...r,id:lPt(r)},p=oPt(p,void 0,a),fIn(p,o)?!1:p}function IIn(r,o,l,a,p,g){if(!o.source||!o.target)return g(new Md(qf.EDGE_INVALID,r.id)),!1;const w=a(r.id);if(!w)return g(new Md(qf.EDGE_NOT_FOUND,r.id)),!1;const{id:y,...S}=r,E={...S,id:p?lPt(o):y,source:o.source,target:o.target,sourceHandle:o.sourceHandle,targetHandle:o.targetHandle};return l.splice(l.indexOf(w),1,E),E}function f7t(r,o,l){const a={},p=[];for(let g=0;gy.id===g.parentNode);g.parentNode&&!w&&l(new Md(qf.NODE_MISSING_PARENT,g.id,g.parentNode)),(g.parentNode||a[g.id])&&(a[g.id]&&(g.isParent=!0),w&&(w.isParent=!0))}return p}function d7t(r,o){r.clear();for(const l of o){const{id:a,source:p,target:g,sourceHandle:w=null,targetHandle:y=null}=l,S=`${p}-source-${w}`,E=`${g}-target-${y}`,I=r.get(S)||new Map,M=r.get(E)||new Map,_=EE({edgeId:a,source:p,target:g,sourceHandle:w,targetHandle:y});r.set(S,I.set(`${g}-${y}`,_)),r.set(E,M.set(`${p}-${w}`,_))}}function h7t(r,o,l,a,p,g,w,y){const S=[];for(const E of r){const I=FC(E)?E:TIn(E,y,p,g);if(!I)continue;const M=l(I.source),_=l(I.target);if(!M||!_){p(new Md(qf.EDGE_SOURCE_TARGET_MISSING,I.id,I.source,I.target));continue}if(!M){p(new Md(qf.EDGE_SOURCE_MISSING,I.id,I.source));continue}if(!_){p(new Md(qf.EDGE_TARGET_MISSING,I.id,I.target));continue}if(o&&!o(I,{edges:y,nodes:w,sourceNode:M,targetNode:_})){p(new Md(qf.EDGE_INVALID,I.id));continue}const R=a(I.id);S.push({...oPt(I,R,g),sourceNode:M,targetNode:_})}return S}const p7t=Symbol("vueFlow"),vPt=Symbol("nodeId"),yPt=Symbol("nodeRef"),PIn=Symbol("edgeId"),MIn=Symbol("edgeRef"),Uie=Symbol("slots");function kPt(r){const{vueFlowRef:o,snapToGrid:l,snapGrid:a,noDragClassName:p,nodes:g,nodeExtent:w,nodeDragThreshold:y,viewport:S,autoPanOnNodeDrag:E,autoPanSpeed:I,nodesDraggable:M,panBy:_,findNode:R,multiSelectionActive:j,nodesSelectionActive:K,selectNodesOnDrag:q,removeSelectedElements:Q,addSelectedNodes:Z,updateNodePositions:X,emits:ie}=_u(),{onStart:je,onDrag:et,onStop:mt,onClick:bt,el:ce,disabled:Be,id:ae,selectable:xe,dragHandle:U}=r,He=Co(!1);let yt=[],ft,At=null,Jt={x:void 0,y:void 0},un={x:0,y:0},kn=null,qt=!1,on=0,Rt=!1;const an=RIn(),Zn=({x:ye,y:Ce})=>{Jt={x:ye,y:Ce};let ee=!1;if(yt=yt.map(V=>{const oe={x:ye-V.distance.x,y:Ce-V.distance.y},{computedPosition:ue}=Lxe(V,l.value?Hie(oe,a.value):oe,ie.error,w.value,V.parentNode?R(V.parentNode):void 0);return ee=ee||V.position.x!==ue.x||V.position.y!==ue.y,V.position=ue,V}),!!ee&&(X(yt,!0,!0),He.value=!0,kn)){const[V,oe]=qCe({id:ae,dragItems:yt,findNode:R});et({event:kn,node:V,nodes:oe})}},kt=()=>{if(!At)return;const[ye,Ce]=pPt(un,At,I.value);if(ye!==0||Ce!==0){const ee={x:(Jt.x??0)-ye/S.value.zoom,y:(Jt.y??0)-Ce/S.value.zoom};_({x:ye,y:Ce})&&Zn(ee)}on=requestAnimationFrame(kt)},Ze=(ye,Ce)=>{qt=!0;const ee=R(ae);!q.value&&!j.value&&ee&&(ee.selected||Q()),ee&&Wl(xe)&&q.value&&SSe(ee,j.value,Z,Q,K,!1,Ce);const V=an(ye.sourceEvent);if(Jt=V,yt=gIn(g.value,M.value,V,R,ae),yt.length){const[oe,ue]=qCe({id:ae,dragItems:yt,findNode:R});je({event:ye.sourceEvent,node:oe,nodes:ue})}},Xt=(ye,Ce)=>{var ee;ye.sourceEvent.type==="touchmove"&&ye.sourceEvent.touches.length>1||(y.value===0&&Ze(ye,Ce),Jt=an(ye.sourceEvent),At=((ee=o.value)==null?void 0:ee.getBoundingClientRect())||null,un=V6(ye.sourceEvent,At))},Mn=(ye,Ce)=>{const ee=an(ye.sourceEvent);if(!Rt&&qt&&E.value&&(Rt=!0,kt()),!qt){const V=ee.xSnapped-(Jt.x??0),oe=ee.ySnapped-(Jt.y??0);Math.sqrt(V*V+oe*oe)>y.value&&Ze(ye,Ce)}(Jt.x!==ee.xSnapped||Jt.y!==ee.ySnapped)&&yt.length&&qt&&(kn=ye.sourceEvent,un=V6(ye.sourceEvent,At),Zn(ee))},pr=ye=>{if(!bPt(ye)&&!qt&&!He.value&&!j.value){const Ce=ye,ee=an(Ce),V=ee.xSnapped-(Jt.x??0),oe=ee.ySnapped-(Jt.y??0),ue=Math.sqrt(V*V+oe*oe);ue!==0&&ue<=y.value&&(bt==null||bt(Ce));return}if(He.value=!1,Rt=!1,qt=!1,Jt={x:void 0,y:void 0},cancelAnimationFrame(on),yt.length){X(yt,!1,!1);const[Ce,ee]=qCe({id:ae,dragItems:yt,findNode:R});mt({event:ye.sourceEvent,node:Ce,nodes:ee})}};return Os([()=>Wl(Be),ce],([ye,Ce],ee,V)=>{if(Ce){const oe=oy(Ce);ye||(ft=dEn().on("start",ue=>Xt(ue,Ce)).on("drag",ue=>Mn(ue,Ce)).on("end",ue=>pr(ue)).filter(ue=>{const ge=ue.target,Ge=Wl(U);return!ue.button&&(!p.value||!o7t(ge,`.${p.value}`,Ce)&&(!Ge||o7t(ge,Ge,Ce)))}),oe.call(ft)),V(()=>{oe.on(".drag",null),ft&&(ft.on("start",null),ft.on("drag",null),ft.on("end",null))})}}),He}function OIn(){return{doubleClick:ti(),click:ti(),mouseEnter:ti(),mouseMove:ti(),mouseLeave:ti(),contextMenu:ti(),updateStart:ti(),update:ti(),updateEnd:ti()}}function _In(r,o){const l=OIn();return l.doubleClick.on(a=>{var p,g;o.edgeDoubleClick(a),(g=(p=r.events)==null?void 0:p.doubleClick)==null||g.call(p,a)}),l.click.on(a=>{var p,g;o.edgeClick(a),(g=(p=r.events)==null?void 0:p.click)==null||g.call(p,a)}),l.mouseEnter.on(a=>{var p,g;o.edgeMouseEnter(a),(g=(p=r.events)==null?void 0:p.mouseEnter)==null||g.call(p,a)}),l.mouseMove.on(a=>{var p,g;o.edgeMouseMove(a),(g=(p=r.events)==null?void 0:p.mouseMove)==null||g.call(p,a)}),l.mouseLeave.on(a=>{var p,g;o.edgeMouseLeave(a),(g=(p=r.events)==null?void 0:p.mouseLeave)==null||g.call(p,a)}),l.contextMenu.on(a=>{var p,g;o.edgeContextMenu(a),(g=(p=r.events)==null?void 0:p.contextMenu)==null||g.call(p,a)}),l.updateStart.on(a=>{var p,g;o.edgeUpdateStart(a),(g=(p=r.events)==null?void 0:p.updateStart)==null||g.call(p,a)}),l.update.on(a=>{var p,g;o.edgeUpdate(a),(g=(p=r.events)==null?void 0:p.update)==null||g.call(p,a)}),l.updateEnd.on(a=>{var p,g;o.edgeUpdateEnd(a),(g=(p=r.events)==null?void 0:p.updateEnd)==null||g.call(p,a)}),Object.entries(l).reduce((a,[p,g])=>(a.emit[p]=g.trigger,a.on[p]=g.on,a),{emit:{},on:{}})}function RIn(){const{viewport:r,snapGrid:o,snapToGrid:l}=_u();return a=>{const p=bPt(a)?a.sourceEvent:a,{x:g,y:w}=V6(p),y=Jz({x:g,y:w},r.value),{x:S,y:E}=l.value?Hie(y,o.value):y;return{xSnapped:S,ySnapped:E,...y}}}function fne(){return!0}function CPt({handleId:r,nodeId:o,type:l,isValidConnection:a,edgeUpdaterType:p,onEdgeUpdate:g,onEdgeUpdateEnd:w}){const{vueFlowRef:y,connectionMode:S,connectionRadius:E,connectOnClick:I,connectionClickStartHandle:M,nodesConnectable:_,autoPanOnConnect:R,autoPanSpeed:j,findNode:K,panBy:q,startConnection:Q,updateConnection:Z,endConnection:X,emits:ie,viewport:je,edges:et,nodes:mt,isValidConnection:bt}=_u();let ce=null,Be=!1,ae=null,xe=null;function U(yt){var ft;const At=Wl(l)==="target",Jt=$xe(yt),un=QCt(yt.target);if(Jt&&yt.button===0||!Jt){let kn=function(ue){Ce=V6(ue,pr);const{handle:ge,validHandleResult:Ge}=CIn(ue,un,Jz(Ce,je.value,!1,[1,1]),E.value,V,$t=>u7t(ue,$t,S.value,Wl(o),Wl(r),At?"target":"source",Rt,un,et.value,mt.value,K));if(an=ge,ee||(oe(),ee=!0),ce=Ge.connection,Be=Ge.isValid,ae=Ge.handleDomNode,!(Be&&an&&(xe!=null&&xe.endHandle)&&Ge.endHandle&&xe.endHandle.type===Ge.endHandle.type&&xe.endHandle.nodeId===Ge.endHandle.nodeId&&xe.endHandle.handleId===Ge.endHandle.handleId)){if(Z(an&&Be?cPt({x:an.x,y:an.y},je.value):Ce,Ge.endHandle,xIn(!!an,Be)),xe=Ge,!an&&!Be&&!ae)return XCe(ye);ce&&ce.source!==ce.target&&ae&&(XCe(ye),ye=ae,ae.classList.add("connecting","vue-flow__handle-connecting"),ae.classList.toggle("valid",Be),ae.classList.toggle("vue-flow__handle-valid",Be))}},qt=function(ue){(an||ae)&&ce&&Be&&(g?g(ue,ce):ie.connect(ce)),ie.connectEnd(ue),p&&(w==null||w(ue)),XCe(ye),cancelAnimationFrame(Zn),X(ue),ee=!1,Be=!1,ce=null,ae=null,un.removeEventListener("mousemove",kn),un.removeEventListener("mouseup",qt),un.removeEventListener("touchmove",kn),un.removeEventListener("touchend",qt)};const on=K(Wl(o));let Rt=Wl(a)||bt.value||fne;!Rt&&on&&(Rt=(At?on.isValidSourcePos:on.isValidTargetPos)||fne);let an,Zn=0;const{x:kt,y:Ze}=V6(yt),Xt=un==null?void 0:un.elementFromPoint(kt,Ze),Mn=jxe(Wl(p),Xt),pr=(ft=y.value)==null?void 0:ft.getBoundingClientRect();if(!pr||!Mn)return;let ye,Ce=V6(yt,pr),ee=!1;const V=SIn({nodes:mt.value,nodeId:Wl(o),handleId:Wl(r),handleType:Mn}),oe=()=>{if(!R.value)return;const[ue,ge]=pPt(Ce,pr,j.value);q({x:ue,y:ge}),Zn=requestAnimationFrame(oe)};Q({nodeId:Wl(o),handleId:Wl(r),type:Mn,position:(Xt==null?void 0:Xt.getAttribute("data-handlepos"))||wi.Top},{x:kt-pr.left,y:Ze-pr.top}),ie.connectStart({event:yt,nodeId:Wl(o),handleId:Wl(r),handleType:Mn}),un.addEventListener("mousemove",kn),un.addEventListener("mouseup",qt),un.addEventListener("touchmove",kn),un.addEventListener("touchend",qt)}}function He(yt){if(!I.value)return;const ft=Wl(l)==="target";if(!M.value)ie.clickConnectStart({event:yt,nodeId:Wl(o),handleId:Wl(r)}),Q({nodeId:Wl(o),type:Wl(l),handleId:Wl(r)},void 0,!0);else{let At=Wl(a)||bt.value||fne;const Jt=K(Wl(o));if(!At&&Jt&&(At=(ft?Jt.isValidSourcePos:Jt.isValidTargetPos)||fne),Jt&&(typeof Jt.connectable>"u"?_.value:Jt.connectable)===!1)return;const un=QCt(yt.target),{connection:kn,isValid:qt}=u7t(yt,{nodeId:Wl(o),id:Wl(r),type:Wl(l)},S.value,M.value.nodeId,M.value.handleId||null,M.value.type,At,un,et.value,mt.value,K),on=kn.source===kn.target;qt&&!on&&ie.connect(kn),ie.clickConnectEnd(yt),X(yt,!0)}}return{handlePointerDown:U,handleClick:He}}function AIn(){return v3(vPt,"")}function SPt(r){const o=r??AIn()??"",l=v3(yPt,Co(null)),{findNode:a,edges:p,emits:g}=_u(),w=a(o);return w||g.error(new Md(qf.NODE_NOT_FOUND,o)),{id:o,nodeEl:l,node:w,parentNode:ho(()=>a(w.parentNode)),connectedEdges:ho(()=>dPt([w],p.value))}}function LIn(){return{doubleClick:ti(),click:ti(),mouseEnter:ti(),mouseMove:ti(),mouseLeave:ti(),contextMenu:ti(),dragStart:ti(),drag:ti(),dragStop:ti()}}function $In(r,o){const l=LIn();return l.doubleClick.on(a=>{var p,g;o.nodeDoubleClick(a),(g=(p=r.events)==null?void 0:p.doubleClick)==null||g.call(p,a)}),l.click.on(a=>{var p,g;o.nodeClick(a),(g=(p=r.events)==null?void 0:p.click)==null||g.call(p,a)}),l.mouseEnter.on(a=>{var p,g;o.nodeMouseEnter(a),(g=(p=r.events)==null?void 0:p.mouseEnter)==null||g.call(p,a)}),l.mouseMove.on(a=>{var p,g;o.nodeMouseMove(a),(g=(p=r.events)==null?void 0:p.mouseMove)==null||g.call(p,a)}),l.mouseLeave.on(a=>{var p,g;o.nodeMouseLeave(a),(g=(p=r.events)==null?void 0:p.mouseLeave)==null||g.call(p,a)}),l.contextMenu.on(a=>{var p,g;o.nodeContextMenu(a),(g=(p=r.events)==null?void 0:p.contextMenu)==null||g.call(p,a)}),l.dragStart.on(a=>{var p,g;o.nodeDragStart(a),(g=(p=r.events)==null?void 0:p.dragStart)==null||g.call(p,a)}),l.drag.on(a=>{var p,g;o.nodeDrag(a),(g=(p=r.events)==null?void 0:p.drag)==null||g.call(p,a)}),l.dragStop.on(a=>{var p,g;o.nodeDragStop(a),(g=(p=r.events)==null?void 0:p.dragStop)==null||g.call(p,a)}),Object.entries(l).reduce((a,[p,g])=>(a.emit[p]=g.trigger,a.on[p]=g.on,a),{emit:{},on:{}})}function xPt(){const{getSelectedNodes:r,nodeExtent:o,updateNodePositions:l,findNode:a,snapGrid:p,snapToGrid:g,nodesDraggable:w,emits:y}=_u();return(S,E=!1)=>{const I=g.value?p.value[0]:5,M=g.value?p.value[1]:5,_=E?4:1,R=S.x*I*_,j=S.y*M*_,K=[];for(const q of r.value)if(q.draggable||w&&typeof q.draggable>"u"){const Q={x:q.computedPosition.x+R,y:q.computedPosition.y+j},{computedPosition:Z}=Lxe(q,Q,y.error,o.value,q.parentNode?a(q.parentNode):void 0);K.push({id:q.id,position:Z,from:q.position,distance:{x:S.x,y:S.y},dimensions:q.dimensions})}l(K,!0,!1)}}const YCe=.1;function fC(){return Kie("Viewport not initialized yet."),Promise.resolve(!1)}const jIn={zoomIn:fC,zoomOut:fC,zoomTo:fC,fitView:fC,setCenter:fC,fitBounds:fC,project:r=>r,screenToFlowCoordinate:r=>r,flowToScreenCoordinate:r=>r,setViewport:fC,setTransform:fC,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function DIn(r){function o(a,p){return new Promise(g=>{r.d3Selection&&r.d3Zoom?r.d3Zoom.scaleBy(JCe(r.d3Selection,p,()=>{g(!0)}),a):g(!1)})}function l(a,p,g,w){return new Promise(y=>{const{x:S,y:E}=iPt({x:-a,y:-p},r.translateExtent),I=$_.translate(-S,-E).scale(g);r.d3Selection&&r.d3Zoom?r.d3Zoom.transform(JCe(r.d3Selection,w,()=>{y(!0)}),I):y(!1)})}return ho(()=>r.d3Zoom&&r.d3Selection&&r.dimensions.width&&r.dimensions.height?{viewportInitialized:!0,zoomIn:p=>o(1.2,p==null?void 0:p.duration),zoomOut:p=>o(1/1.2,p==null?void 0:p.duration),zoomTo:(p,g)=>new Promise(w=>{r.d3Selection&&r.d3Zoom?r.d3Zoom.scaleTo(JCe(r.d3Selection,g==null?void 0:g.duration,()=>{w(!0)}),p):w(!1)}),setViewport:(p,g)=>l(p.x,p.y,p.zoom,g==null?void 0:g.duration),setTransform:(p,g)=>l(p.x,p.y,p.zoom,g==null?void 0:g.duration),getViewport:()=>({x:r.viewport.x,y:r.viewport.y,zoom:r.viewport.zoom}),getTransform:()=>({x:r.viewport.x,y:r.viewport.y,zoom:r.viewport.zoom}),fitView:(p={padding:YCe,includeHiddenNodes:!1,duration:0})=>{var g,w;const y=[];for(const _ of r.nodes)_.dimensions.width&&_.dimensions.height&&((p==null?void 0:p.includeHiddenNodes)||!_.hidden)&&(!((g=p.nodes)!=null&&g.length)||(w=p.nodes)!=null&&w.length&&p.nodes.includes(_.id))&&y.push(_);if(!y.length)return Promise.resolve(!1);const S=aPt(y),{x:E,y:I,zoom:M}=ZCt(S,r.dimensions.width,r.dimensions.height,p.minZoom??r.minZoom,p.maxZoom??r.maxZoom,p.padding??YCe,p.offset);return l(E,I,M,p==null?void 0:p.duration)},setCenter:(p,g,w)=>{const y=typeof(w==null?void 0:w.zoom)<"u"?w.zoom:r.maxZoom,S=r.dimensions.width/2-p*y,E=r.dimensions.height/2-g*y;return l(S,E,y,w==null?void 0:w.duration)},fitBounds:(p,g={padding:YCe})=>{const{x:w,y,zoom:S}=ZCt(p,r.dimensions.width,r.dimensions.height,r.minZoom,r.maxZoom,g.padding);return l(w,y,S,g==null?void 0:g.duration)},project:p=>Jz(p,r.viewport,r.snapToGrid,r.snapGrid),screenToFlowCoordinate:p=>{if(r.vueFlowRef){const{x:g,y:w}=r.vueFlowRef.getBoundingClientRect(),y={x:p.x-g,y:p.y-w};return Jz(y,r.viewport,r.snapToGrid,r.snapGrid)}return{x:0,y:0}},flowToScreenCoordinate:p=>{if(r.vueFlowRef){const{x:g,y:w}=r.vueFlowRef.getBoundingClientRect(),y={x:p.x+g,y:p.y+w};return cPt(y,r.viewport)}return{x:0,y:0}}}:jIn)}function JCe(r,o=0,l){return r.transition().duration(o).on("end",l)}function NIn(r,o,l){const a=nSt(!0);return a.run(()=>{const p=()=>{a.run(()=>{let K,q,Q=!!(l.nodes.value.length||l.edges.value.length);K=NO([r.modelValue,()=>{var Z,X;return(X=(Z=r.modelValue)==null?void 0:Z.value)==null?void 0:X.length}],([Z])=>{Z&&Array.isArray(Z)&&(q==null||q.pause(),l.setElements(Z),!q&&!Q&&Z.length?Q=!0:q==null||q.resume())}),q=NO([l.nodes,l.edges,()=>l.edges.value.length,()=>l.nodes.value.length],([Z,X])=>{var ie;(ie=r.modelValue)!=null&&ie.value&&Array.isArray(r.modelValue.value)&&(K==null||K.pause(),r.modelValue.value=[...Z,...X],om(()=>{K==null||K.resume()}))},{immediate:Q}),_F(()=>{K==null||K.stop(),q==null||q.stop()})})},g=()=>{a.run(()=>{let K,q,Q=!!l.nodes.value.length;K=NO([r.nodes,()=>{var Z,X;return(X=(Z=r.nodes)==null?void 0:Z.value)==null?void 0:X.length}],([Z])=>{Z&&Array.isArray(Z)&&(q==null||q.pause(),l.setNodes(Z),!q&&!Q&&Z.length?Q=!0:q==null||q.resume())}),q=NO([l.nodes,()=>l.nodes.value.length],([Z])=>{var X;(X=r.nodes)!=null&&X.value&&Array.isArray(r.nodes.value)&&(K==null||K.pause(),r.nodes.value=[...Z],om(()=>{K==null||K.resume()}))},{immediate:Q}),_F(()=>{K==null||K.stop(),q==null||q.stop()})})},w=()=>{a.run(()=>{let K,q,Q=!!l.edges.value.length;K=NO([r.edges,()=>{var Z,X;return(X=(Z=r.edges)==null?void 0:Z.value)==null?void 0:X.length}],([Z])=>{Z&&Array.isArray(Z)&&(q==null||q.pause(),l.setEdges(Z),!q&&!Q&&Z.length?Q=!0:q==null||q.resume())}),q=NO([l.edges,()=>l.edges.value.length],([Z])=>{var X;(X=r.edges)!=null&&X.value&&Array.isArray(r.edges.value)&&(K==null||K.pause(),r.edges.value=[...Z],om(()=>{K==null||K.resume()}))},{immediate:Q}),_F(()=>{K==null||K.stop(),q==null||q.stop()})})},y=()=>{a.run(()=>{Os(()=>o.maxZoom,()=>{o.maxZoom&&Vf(o.maxZoom)&&l.setMaxZoom(o.maxZoom)},{immediate:!0})})},S=()=>{a.run(()=>{Os(()=>o.minZoom,()=>{o.minZoom&&Vf(o.minZoom)&&l.setMinZoom(o.minZoom)},{immediate:!0})})},E=()=>{a.run(()=>{Os(()=>o.translateExtent,()=>{o.translateExtent&&Vf(o.translateExtent)&&l.setTranslateExtent(o.translateExtent)},{immediate:!0})})},I=()=>{a.run(()=>{Os(()=>o.nodeExtent,()=>{o.nodeExtent&&Vf(o.nodeExtent)&&l.setNodeExtent(o.nodeExtent)},{immediate:!0})})},M=()=>{a.run(()=>{Os(()=>o.applyDefault,()=>{Vf(o.applyDefault)&&(l.applyDefault.value=o.applyDefault)},{immediate:!0})})},_=()=>{a.run(()=>{const K=async q=>{let Q=q;typeof o.autoConnect=="function"&&(Q=await o.autoConnect(q)),Q!==!1&&l.addEdges([Q])};Os(()=>o.autoConnect,()=>{Vf(o.autoConnect)&&(l.autoConnect.value=o.autoConnect)},{immediate:!0}),Os(l.autoConnect,(q,Q,Z)=>{q?l.onConnect(K):l.hooks.value.connect.off(K),Z(()=>{l.hooks.value.connect.off(K)})},{immediate:!0})})},R=()=>{const K=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const q of Object.keys(o)){const Q=q;if(!K.includes(Q)){const Z=Ia(()=>o[Q]),X=l[Q];Ef(X)&&a.run(()=>{Os(Z,ie=>{Vf(ie)&&(X.value=ie)},{immediate:!0})})}}};(()=>{p(),g(),w(),S(),y(),E(),I(),M(),_(),R()})()}),()=>a.stop()}function BIn(){return{edgesChange:ti(),nodesChange:ti(),nodeDoubleClick:ti(),nodeClick:ti(),nodeMouseEnter:ti(),nodeMouseMove:ti(),nodeMouseLeave:ti(),nodeContextMenu:ti(),nodeDragStart:ti(),nodeDrag:ti(),nodeDragStop:ti(),nodesInitialized:ti(),miniMapNodeClick:ti(),miniMapNodeDoubleClick:ti(),miniMapNodeMouseEnter:ti(),miniMapNodeMouseMove:ti(),miniMapNodeMouseLeave:ti(),connect:ti(),connectStart:ti(),connectEnd:ti(),clickConnectStart:ti(),clickConnectEnd:ti(),paneReady:ti(),init:ti(),move:ti(),moveStart:ti(),moveEnd:ti(),selectionDragStart:ti(),selectionDrag:ti(),selectionDragStop:ti(),selectionContextMenu:ti(),selectionStart:ti(),selectionEnd:ti(),viewportChangeStart:ti(),viewportChange:ti(),viewportChangeEnd:ti(),paneScroll:ti(),paneClick:ti(),paneContextMenu:ti(),paneMouseEnter:ti(),paneMouseMove:ti(),paneMouseLeave:ti(),edgeContextMenu:ti(),edgeMouseEnter:ti(),edgeMouseMove:ti(),edgeMouseLeave:ti(),edgeDoubleClick:ti(),edgeClick:ti(),edgeUpdateStart:ti(),edgeUpdate:ti(),edgeUpdateEnd:ti(),updateNodeInternals:ti(),error:ti(r=>Kie(r.message))}}function FIn(r,o){$St(()=>{for(const[l,a]of Object.entries(o.value)){const p=g=>{r(l,g)};a.fns.add(p),jie(()=>{a.off(p)})}})}function EPt(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:Axe.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:ZF.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:bE.Bezier,style:{}},connectionMode:GE.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:Mre()?"Meta":"Control",zoomActivationKeyCode:Mre()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:BIn(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""}}const zIn=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function HIn(r,o,l){const a=DIn(r),p=V=>{const oe=V??[];r.hooks.updateNodeInternals.trigger(oe)},g=V=>aIn(V,r.nodes,r.edges),w=V=>uIn(V,r.nodes,r.edges),y=V=>dPt(V,r.edges),S=({id:V,type:oe,nodeId:ue})=>{var ge;return Array.from(((ge=r.connectionLookup.get(`${ue}-${oe}-${V??null}`))==null?void 0:ge.values())??[])},E=V=>{if(V)return o.value.get(V)},I=V=>{if(V)return l.value.get(V)},M=(V,oe,ue)=>{var ge,Ge;const $t=[];for(const Lt of V){const tn={id:Lt.id,type:"position",dragging:ue,from:Lt.from};if(oe&&(tn.position=Lt.position,Lt.parentNode)){const Ct=E(Lt.parentNode);tn.position={x:tn.position.x-(((ge=Ct==null?void 0:Ct.computedPosition)==null?void 0:ge.x)??0),y:tn.position.y-(((Ge=Ct==null?void 0:Ct.computedPosition)==null?void 0:Ge.y)??0)}}$t.push(tn)}$t!=null&&$t.length&&r.hooks.nodesChange.trigger($t)},_=V=>{if(!r.vueFlowRef)return;const oe=r.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!oe)return;const ue=window.getComputedStyle(oe),{m22:ge}=new window.DOMMatrixReadOnly(ue.transform),Ge=[];for(let $t=0;$t{r.fitViewOnInitDone=!0}),Ge.length&&r.hooks.nodesChange.trigger(Ge)},R=(V,oe)=>{const ue=new Set,ge=new Set;for(const Lt of V)LE(Lt)?ue.add(Lt.id):FC(Lt)&&ge.add(Lt.id);const Ge=yC(o.value,ue,!0),$t=yC(l.value,ge);if(r.multiSelectionActive){for(const Lt of ue)Ge.push(hC(Lt,oe));for(const Lt of ge)$t.push(hC(Lt,oe))}Ge.length&&r.hooks.nodesChange.trigger(Ge),$t.length&&r.hooks.edgesChange.trigger($t)},j=V=>{if(r.multiSelectionActive){const oe=V.map(ue=>hC(ue.id,!0));r.hooks.nodesChange.trigger(oe);return}r.hooks.nodesChange.trigger(yC(o.value,new Set(V.map(oe=>oe.id)),!0)),r.hooks.edgesChange.trigger(yC(l.value))},K=V=>{if(r.multiSelectionActive){const oe=V.map(ue=>hC(ue.id,!0));r.hooks.edgesChange.trigger(oe);return}r.hooks.edgesChange.trigger(yC(l.value,new Set(V.map(oe=>oe.id)))),r.hooks.nodesChange.trigger(yC(o.value,new Set,!0))},q=V=>{R(V,!0)},Q=V=>{const ue=(V||r.nodes).map(ge=>(ge.selected=!1,hC(ge.id,!1)));r.hooks.nodesChange.trigger(ue)},Z=V=>{const ue=(V||r.edges).map(ge=>(ge.selected=!1,hC(ge.id,!1)));r.hooks.edgesChange.trigger(ue)},X=V=>{if(!V||!V.length)return R([],!1);const oe=V.reduce((ue,ge)=>{const Ge=hC(ge.id,!1);return LE(ge)?ue.nodes.push(Ge):ue.edges.push(Ge),ue},{nodes:[],edges:[]});oe.nodes.length&&r.hooks.nodesChange.trigger(oe.nodes),oe.edges.length&&r.hooks.edgesChange.trigger(oe.edges)},ie=V=>{var oe;(oe=r.d3Zoom)==null||oe.scaleExtent([V,r.maxZoom]),r.minZoom=V},je=V=>{var oe;(oe=r.d3Zoom)==null||oe.scaleExtent([r.minZoom,V]),r.maxZoom=V},et=V=>{var oe;(oe=r.d3Zoom)==null||oe.translateExtent(V),r.translateExtent=V},mt=V=>{r.nodeExtent=V,p()},bt=V=>{var oe;(oe=r.d3Zoom)==null||oe.clickDistance(V)},ce=V=>{r.nodesDraggable=V,r.nodesConnectable=V,r.elementsSelectable=V},Be=V=>{const oe=V instanceof Function?V(r.nodes):V;!r.initialized&&!oe.length||(r.nodes=f7t(oe,E,r.hooks.error.trigger))},ae=V=>{const oe=V instanceof Function?V(r.edges):V;if(!r.initialized&&!oe.length)return;const ue=h7t(oe,r.isValidConnection,E,I,r.hooks.error.trigger,r.defaultEdgeOptions,r.nodes,r.edges);d7t(r.connectionLookup,ue),r.edges=ue},xe=V=>{const oe=V instanceof Function?V([...r.nodes,...r.edges]):V;!r.initialized&&!oe.length||(Be(oe.filter(LE)),ae(oe.filter(FC)))},U=V=>{let oe=V instanceof Function?V(r.nodes):V;oe=Array.isArray(oe)?oe:[oe];const ue=f7t(oe,E,r.hooks.error.trigger),ge=[];for(const Ge of ue)ge.push(n7t(Ge));ge.length&&r.hooks.nodesChange.trigger(ge)},He=V=>{let oe=V instanceof Function?V(r.edges):V;oe=Array.isArray(oe)?oe:[oe];const ue=h7t(oe,r.isValidConnection,E,I,r.hooks.error.trigger,r.defaultEdgeOptions,r.nodes,r.edges),ge=[];for(const Ge of ue)ge.push(n7t(Ge));ge.length&&r.hooks.edgesChange.trigger(ge)},yt=(V,oe=!0,ue=!1)=>{const ge=V instanceof Function?V(r.nodes):V,Ge=Array.isArray(ge)?ge:[ge],$t=[],Lt=[];function tn(Kn){const dn=y(Kn);for(const Rn of dn)(!Vf(Rn.deletable)||Rn.deletable)&&Lt.push(i7t(Rn.id,Rn.source,Rn.target,Rn.sourceHandle,Rn.targetHandle))}function Ct(Kn){const dn=[];for(const Rn of r.nodes)Rn.parentNode===Kn&&dn.push(Rn);if(dn.length){for(const Rn of dn)$t.push(r7t(Rn.id));oe&&tn(dn);for(const Rn of dn)Ct(Rn.id)}}for(const Kn of Ge){const dn=typeof Kn=="string"?E(Kn):Kn;dn&&(Vf(dn.deletable)&&!dn.deletable||($t.push(r7t(dn.id)),oe&&tn([dn]),ue&&Ct(dn.id)))}Lt.length&&r.hooks.edgesChange.trigger(Lt),$t.length&&r.hooks.nodesChange.trigger($t)},ft=V=>{const oe=V instanceof Function?V(r.edges):V,ue=Array.isArray(oe)?oe:[oe],ge=[];for(const Ge of ue){const $t=typeof Ge=="string"?I(Ge):Ge;$t&&(Vf($t.deletable)&&!$t.deletable||ge.push(i7t(typeof Ge=="string"?Ge:Ge.id,$t.source,$t.target,$t.sourceHandle,$t.targetHandle)))}r.hooks.edgesChange.trigger(ge)},At=(V,oe,ue=!0)=>IIn(V,oe,r.edges,I,ue,r.hooks.error.trigger),Jt=(V,oe,ue={replace:!1})=>{const ge=I(V);if(!ge)return;const Ge=typeof oe=="function"?oe(ge):oe;ge.data=ue.replace?Ge:{...ge.data,...Ge}},un=V=>t7t(V,r.nodes),kn=V=>{const oe=t7t(V,r.edges);return d7t(r.connectionLookup,oe),oe},qt=(V,oe,ue={replace:!1})=>{const ge=E(V);if(!ge)return;const Ge=typeof oe=="function"?oe(ge):oe;ue.replace?r.nodes.splice(r.nodes.indexOf(ge),1,Ge):Object.assign(ge,Ge)},on=(V,oe,ue={replace:!1})=>{const ge=E(V);if(!ge)return;const Ge=typeof oe=="function"?oe(ge):oe;ge.data=ue.replace?Ge:{...ge.data,...Ge}},Rt=(V,oe,ue=!1)=>{ue?r.connectionClickStartHandle=V:r.connectionStartHandle=V,r.connectionEndHandle=null,r.connectionStatus=null,oe&&(r.connectionPosition=oe)},an=(V,oe=null,ue=null)=>{r.connectionStartHandle&&(r.connectionPosition=V,r.connectionEndHandle=oe,r.connectionStatus=ue)},Zn=(V,oe)=>{r.connectionPosition={x:Number.NaN,y:Number.NaN},r.connectionEndHandle=null,r.connectionStatus=null,oe?r.connectionClickStartHandle=null:r.connectionStartHandle=null},kt=V=>{const oe=lIn(V),ue=oe?null:MF(V)?V:E(V.id);return!oe&&!ue?[null,null,oe]:[oe?V:kSe(ue),ue,oe]},Ze=(V,oe=!0,ue=r.nodes)=>{const[ge,Ge,$t]=kt(V);if(!ge)return[];const Lt=[];for(const tn of ue||r.nodes){if(!$t&&(tn.id===Ge.id||!tn.computedPosition))continue;const Ct=kSe(tn),Kn=CSe(Ct,ge);(oe&&Kn>0||Kn>=Number(ge.width)*Number(ge.height))&&Lt.push(tn)}return Lt},Xt=(V,oe,ue=!0)=>{const[ge]=kt(V);if(!ge)return!1;const Ge=CSe(ge,oe);return ue&&Ge>0||Ge>=Number(ge.width)*Number(ge.height)},Mn=V=>{const{viewport:oe,dimensions:ue,d3Zoom:ge,d3Selection:Ge,translateExtent:$t}=r;if(!ge||!Ge||!V.x&&!V.y)return!1;const Lt=$_.translate(oe.x+V.x,oe.y+V.y).scale(oe.zoom),tn=[[0,0],[ue.width,ue.height]],Ct=ge.constrain()(Lt,tn,$t),Kn=r.viewport.x!==Ct.x||r.viewport.y!==Ct.y||r.viewport.zoom!==Ct.k;return ge.transform(Ge,Ct),Kn},pr=V=>{const oe=V instanceof Function?V(r):V,ue=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Vf(oe.defaultEdgeOptions)&&(r.defaultEdgeOptions=oe.defaultEdgeOptions);const ge=oe.modelValue||oe.nodes||oe.edges?[]:void 0;ge&&(oe.modelValue&&ge.push(...oe.modelValue),oe.nodes&&ge.push(...oe.nodes),oe.edges&&ge.push(...oe.edges),xe(ge));const Ge=()=>{Vf(oe.maxZoom)&&je(oe.maxZoom),Vf(oe.minZoom)&&ie(oe.minZoom),Vf(oe.translateExtent)&&et(oe.translateExtent)};for(const $t of Object.keys(oe)){const Lt=$t,tn=oe[Lt];![...zIn,...ue].includes(Lt)&&Vf(tn)&&(r[Lt]=tn)}fSe(()=>r.d3Zoom).not.toBeNull().then(Ge),r.initialized||(r.initialized=!0)};return{updateNodePositions:M,updateNodeDimensions:_,setElements:xe,setNodes:Be,setEdges:ae,addNodes:U,addEdges:He,removeNodes:yt,removeEdges:ft,findNode:E,findEdge:I,updateEdge:At,updateEdgeData:Jt,updateNode:qt,updateNodeData:on,applyEdgeChanges:kn,applyNodeChanges:un,addSelectedElements:q,addSelectedNodes:j,addSelectedEdges:K,setMinZoom:ie,setMaxZoom:je,setTranslateExtent:et,setNodeExtent:mt,setPaneClickDistance:bt,removeSelectedElements:X,removeSelectedNodes:Q,removeSelectedEdges:Z,startConnection:Rt,updateConnection:an,endConnection:Zn,setInteractive:ce,setState:pr,getIntersectingNodes:Ze,getIncomers:g,getOutgoers:w,getConnectedEdges:y,getHandleConnections:S,isNodeIntersecting:Xt,panBy:Mn,fitView:V=>a.value.fitView(V),zoomIn:V=>a.value.zoomIn(V),zoomOut:V=>a.value.zoomOut(V),zoomTo:(V,oe)=>a.value.zoomTo(V,oe),setViewport:(V,oe)=>a.value.setViewport(V,oe),setTransform:(V,oe)=>a.value.setTransform(V,oe),getViewport:()=>a.value.getViewport(),getTransform:()=>a.value.getTransform(),setCenter:(V,oe,ue)=>a.value.setCenter(V,oe,ue),fitBounds:(V,oe)=>a.value.fitBounds(V,oe),project:V=>a.value.project(V),screenToFlowCoordinate:V=>a.value.screenToFlowCoordinate(V),flowToScreenCoordinate:V=>a.value.flowToScreenCoordinate(V),toObject:()=>{const V=[],oe=[];for(const ue of r.nodes){const{computedPosition:ge,handleBounds:Ge,selected:$t,dimensions:Lt,isParent:tn,resizing:Ct,dragging:Kn,events:dn,...Rn}=ue;V.push(Rn)}for(const ue of r.edges){const{selected:ge,sourceNode:Ge,targetNode:$t,events:Lt,...tn}=ue;oe.push(tn)}return JSON.parse(JSON.stringify({nodes:V,edges:oe,position:[r.viewport.x,r.viewport.y],zoom:r.viewport.zoom,viewport:r.viewport}))},fromObject:V=>new Promise(oe=>{const{nodes:ue,edges:ge,position:Ge,zoom:$t,viewport:Lt}=V;if(ue&&Be(ue),ge&&ae(ge),Lt!=null&&Lt.x&&(Lt!=null&&Lt.y)||Ge){const tn=(Lt==null?void 0:Lt.x)||Ge[0],Ct=(Lt==null?void 0:Lt.y)||Ge[1],Kn=(Lt==null?void 0:Lt.zoom)||$t||r.viewport.zoom;return fSe(()=>a.value.viewportInitialized).toBe(!0).then(()=>{a.value.setViewport({x:tn,y:Ct,zoom:Kn}).then(()=>{oe(!0)})})}else oe(!0)}),updateNodeInternals:p,viewportHelper:a,$reset:()=>{const V=EPt();if(r.edges=[],r.nodes=[],r.d3Zoom&&r.d3Selection){const oe=$_.translate(V.defaultViewport.x??0,V.defaultViewport.y??0).scale(WE(V.defaultViewport.zoom??1,V.minZoom,V.maxZoom)),ue=r.viewportRef.getBoundingClientRect(),ge=[[0,0],[ue.width,ue.height]],Ge=r.d3Zoom.constrain()(oe,ge,V.translateExtent);r.d3Zoom.transform(r.d3Selection,Ge)}pr(V)},$destroy:()=>{}}}const KIn=["data-id","data-handleid","data-nodeid","data-handlepos"],UIn={name:"Handle",compatConfig:{MODE:3}},j_=bc({...UIn,props:{id:{default:null},type:{},position:{default:()=>wi.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(r,{expose:o}){const l=BSt(r,["position","connectable","connectableStart","connectableEnd","id"]),a=Ia(()=>l.type??"source"),p=Ia(()=>l.isValidConnection??null),{connectionStartHandle:g,connectionClickStartHandle:w,connectionEndHandle:y,vueFlowRef:S,nodesConnectable:E,noDragClassName:I,noPanClassName:M}=_u(),{id:_,node:R,nodeEl:j,connectedEdges:K}=SPt(),q=Co(),Q=Ia(()=>typeof r.connectableStart<"u"?r.connectableStart:!0),Z=Ia(()=>typeof r.connectableEnd<"u"?r.connectableEnd:!0),X=Ia(()=>{var Be,ae,xe,U,He,yt;return((Be=g.value)==null?void 0:Be.nodeId)===_&&((ae=g.value)==null?void 0:ae.handleId)===r.id&&((xe=g.value)==null?void 0:xe.type)===a.value||((U=y.value)==null?void 0:U.nodeId)===_&&((He=y.value)==null?void 0:He.handleId)===r.id&&((yt=y.value)==null?void 0:yt.type)===a.value}),ie=Ia(()=>{var Be,ae,xe;return((Be=w.value)==null?void 0:Be.nodeId)===_&&((ae=w.value)==null?void 0:ae.handleId)===r.id&&((xe=w.value)==null?void 0:xe.type)===a.value}),{handlePointerDown:je,handleClick:et}=CPt({nodeId:_,handleId:r.id,isValidConnection:p,type:a}),mt=ho(()=>typeof r.connectable=="string"&&r.connectable==="single"?!K.value.some(Be=>{const ae=Be[`${a.value}Handle`];return Be[a.value]!==_?!1:ae?ae===r.id:!0}):typeof r.connectable=="number"?K.value.filter(Be=>{const ae=Be[`${a.value}Handle`];return Be[a.value]!==_?!1:ae?ae===r.id:!0}).length{var Be;if(!R.dimensions.width||!R.dimensions.height)return;const ae=(Be=R.handleBounds[a.value])==null?void 0:Be.find(Jt=>Jt.id===r.id);if(!S.value||ae)return;const xe=S.value.querySelector(".vue-flow__transformationpane");if(!j.value||!q.value||!xe||!r.id)return;const U=j.value.getBoundingClientRect(),He=q.value.getBoundingClientRect(),yt=window.getComputedStyle(xe),{m22:ft}=new window.DOMMatrixReadOnly(yt.transform),At={id:r.id,position:r.position,x:(He.left-U.left)/ft,y:(He.top-U.top)/ft,...zie(q.value)};R.handleBounds[a.value]=[...R.handleBounds[a.value]??[],At]}),Hre(()=>{const Be=R.handleBounds[a.value];Be&&(R.handleBounds[a.value]=Be.filter(ae=>ae.id!==r.id))});function bt(Be){const ae=$xe(Be);mt.value&&Q.value&&(ae&&Be.button===0||!ae)&&je(Be)}function ce(Be){!_||!w.value&&!Q.value||mt.value&&et(Be)}return o({handleClick:et,handlePointerDown:je,onClick:ce,onPointerDown:bt}),(Be,ae)=>(ve(),wt("div",{ref_key:"handle",ref:q,"data-id":`${Lr(_)}-${r.id}-${a.value}`,"data-handleid":r.id,"data-nodeid":Lr(_),"data-handlepos":Be.position,class:yo(["vue-flow__handle",[`vue-flow__handle-${Be.position}`,`vue-flow__handle-${r.id}`,Lr(I),Lr(M),a.value,{connectable:mt.value,connecting:ie.value,connectablestart:Q.value,connectableend:Z.value,connectionindicator:mt.value&&(Q.value&&!X.value||Z.value&&X.value)}]]),onMousedown:bt,onTouchstartPassive:bt,onClick:ce},[Nr(Be.$slots,"default",{id:Be.id})],42,KIn))}}),Gie=function({sourcePosition:r=wi.Bottom,targetPosition:o=wi.Top,label:l,connectable:a=!0,isValidTargetPos:p,isValidSourcePos:g,data:w}){const y=w.label||l;return[Pc(j_,{type:"target",position:o,connectable:a,isValidConnection:p}),typeof y!="string"&&y?Pc(y):Pc(si,[y]),Pc(j_,{type:"source",position:r,connectable:a,isValidConnection:g})]};Gie.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];Gie.inheritAttrs=!1;Gie.compatConfig={MODE:3};const GIn=Gie,Wie=function({targetPosition:r=wi.Top,label:o,connectable:l=!0,isValidTargetPos:a,data:p}){const g=p.label||o;return[Pc(j_,{type:"target",position:r,connectable:l,isValidConnection:a}),typeof g!="string"&&g?Pc(g):Pc(si,[g])]};Wie.props=["targetPosition","label","isValidTargetPos","connectable","data"];Wie.inheritAttrs=!1;Wie.compatConfig={MODE:3};const WIn=Wie,Vie=function({sourcePosition:r=wi.Bottom,label:o,connectable:l=!0,isValidSourcePos:a,data:p}){const g=p.label||o;return[typeof g!="string"&&g?Pc(g):Pc(si,[g]),Pc(j_,{type:"source",position:r,connectable:l,isValidConnection:a})]};Vie.props=["sourcePosition","label","isValidSourcePos","connectable","data"];Vie.inheritAttrs=!1;Vie.compatConfig={MODE:3};const VIn=Vie,qIn=["transform"],XIn=["width","height","x","y","rx","ry"],YIn=["y"],JIn={name:"EdgeText",compatConfig:{MODE:3}},QIn=bc({...JIn,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(r){const o=Co({x:0,y:0,width:0,height:0}),l=Co(null),a=ho(()=>`translate(${r.x-o.value.width/2} ${r.y-o.value.height/2})`);bb(p),Os([()=>r.x,()=>r.y,l,()=>r.label],p);function p(){if(!l.value)return;const g=l.value.getBBox();(g.width!==o.value.width||g.height!==o.value.height)&&(o.value=g)}return(g,w)=>(ve(),wt("g",{transform:a.value,class:"vue-flow__edge-textwrapper"},[g.labelShowBg?(ve(),wt("rect",{key:0,class:"vue-flow__edge-textbg",width:`${o.value.width+2*g.labelBgPadding[0]}px`,height:`${o.value.height+2*g.labelBgPadding[1]}px`,x:-g.labelBgPadding[0],y:-g.labelBgPadding[1],style:A1(g.labelBgStyle),rx:g.labelBgBorderRadius,ry:g.labelBgBorderRadius},null,12,XIn)):rr("",!0),ar("text",Qe(g.$attrs,{ref_key:"el",ref:l,class:"vue-flow__edge-text",y:o.value.height/2,dy:"0.3em",style:g.labelStyle}),[Nr(g.$slots,"default",{},()=>[typeof g.label!="string"?(ve(),Cn(ko(g.label),{key:0})):(ve(),wt(si,{key:1},[hb(Il(g.label),1)],64))])],16,YIn)],8,qIn))}}),ZIn=["id","d","marker-end","marker-start"],ePn=["d","stroke-width"],tPn={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},NH=bc({...tPn,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},style:{},labelStyle:{},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(r,{expose:o}){const l=BSt(r,["interactionWidth","labelShowBg"]),a=Co(null),p=Co(null),g=Co(null),w=Idn();return o({pathEl:a,interactionEl:p,labelEl:g}),(y,S)=>(ve(),wt(si,null,[ar("path",{id:y.id,ref_key:"pathEl",ref:a,d:y.path,style:A1(l.style),class:yo(["vue-flow__edge-path",Lr(w).class]),"marker-end":y.markerEnd,"marker-start":y.markerStart},null,14,ZIn),y.interactionWidth?(ve(),wt("path",{key:0,ref_key:"interactionEl",ref:p,fill:"none",d:y.path,"stroke-width":y.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,ePn)):rr("",!0),y.label&&y.labelX&&y.labelY?(ve(),Cn(QIn,{key:1,ref_key:"labelEl",ref:g,x:y.labelX,y:y.labelY,label:y.label,"label-show-bg":y.labelShowBg,"label-bg-style":y.labelBgStyle,"label-bg-padding":y.labelBgPadding,"label-bg-border-radius":y.labelBgBorderRadius,"label-style":y.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):rr("",!0)],64))}});function TPt({sourceX:r,sourceY:o,targetX:l,targetY:a}){const p=Math.abs(l-r)/2,g=l=0?.5*r:o*25*Math.sqrt(-r)}function g7t({pos:r,x1:o,y1:l,x2:a,y2:p,c:g}){let w,y;switch(r){case wi.Left:w=o-dne(o-a,g),y=l;break;case wi.Right:w=o+dne(a-o,g),y=l;break;case wi.Top:w=o,y=l-dne(l-p,g);break;case wi.Bottom:w=o,y=l+dne(p-l,g);break}return[w,y]}function Dxe(r){const{sourceX:o,sourceY:l,sourcePosition:a=wi.Bottom,targetX:p,targetY:g,targetPosition:w=wi.Top,curvature:y=.25}=r,[S,E]=g7t({pos:a,x1:o,y1:l,x2:p,y2:g,c:y}),[I,M]=g7t({pos:w,x1:p,y1:g,x2:o,y2:l,c:y}),[_,R,j,K]=IPt({sourceX:o,sourceY:l,targetX:p,targetY:g,sourceControlX:S,sourceControlY:E,targetControlX:I,targetControlY:M});return[`M${o},${l} C${S},${E} ${I},${M} ${p},${g}`,_,R,j,K]}function b7t({pos:r,x1:o,y1:l,x2:a,y2:p}){let g,w;switch(r){case wi.Left:case wi.Right:g=.5*(o+a),w=l;break;case wi.Top:case wi.Bottom:g=o,w=.5*(l+p);break}return[g,w]}function PPt(r){const{sourceX:o,sourceY:l,sourcePosition:a=wi.Bottom,targetX:p,targetY:g,targetPosition:w=wi.Top}=r,[y,S]=b7t({pos:a,x1:o,y1:l,x2:p,y2:g}),[E,I]=b7t({pos:w,x1:p,y1:g,x2:o,y2:l}),[M,_,R,j]=IPt({sourceX:o,sourceY:l,targetX:p,targetY:g,sourceControlX:y,sourceControlY:S,targetControlX:E,targetControlY:I});return[`M${o},${l} C${y},${S} ${E},${I} ${p},${g}`,M,_,R,j]}const w7t={[wi.Left]:{x:-1,y:0},[wi.Right]:{x:1,y:0},[wi.Top]:{x:0,y:-1},[wi.Bottom]:{x:0,y:1}};function nPn({source:r,sourcePosition:o=wi.Bottom,target:l}){return o===wi.Left||o===wi.Right?r.xr[M]?-1:1)*He:Q[M]=(E[M]>l[M]?-1:1)*He}}if(o!==a){const U=M==="x"?"y":"x",He=w[M]===y[U],yt=S[U]>E[U],ft=S[U]=xe?(j=(ce.x+Be.x)/2,K=R[0].y):(j=R[0].x,K=(ce.y+Be.y)/2)}return[[r,{x:S.x+q.x,y:S.y+q.y},...R,{x:E.x+Q.x,y:E.y+Q.y},l],j,K,ie,je]}function iPn(r,o,l,a){const p=Math.min(m7t(r,o)/2,m7t(o,l)/2,a),{x:g,y:w}=o;if(r.x===g&&g===l.x||r.y===w&&w===l.y)return`L${g} ${w}`;if(r.y===w){const E=r.x{let ie;return X>0&&X{const[l,a,p]=oPn(r);return Pc(NH,{path:l,labelX:a,labelY:p,...o,...r})}}}),lPn=sPn,cPn=bc({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=xSe({...r,sourcePosition:r.sourcePosition??wi.Bottom,targetPosition:r.targetPosition??wi.Top});return Pc(NH,{path:l,labelX:a,labelY:p,...o,...r})}}}),MPt=cPn,uPn=bc({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(r,{attrs:o}){return()=>Pc(MPt,{...r,...o,borderRadius:0})}}),aPn=uPn,fPn=bc({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=Dxe({...r,sourcePosition:r.sourcePosition??wi.Bottom,targetPosition:r.targetPosition??wi.Top});return Pc(NH,{path:l,labelX:a,labelY:p,...o,...r})}}}),dPn=fPn,hPn=bc({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(r,{attrs:o}){return()=>{const[l,a,p]=PPt({...r,sourcePosition:r.sourcePosition??wi.Bottom,targetPosition:r.targetPosition??wi.Top});return Pc(NH,{path:l,labelX:a,labelY:p,...o,...r})}}}),pPn=hPn,gPn={input:VIn,default:GIn,output:WIn},bPn={default:dPn,straight:lPn,step:aPn,smoothstep:MPt,simplebezier:pPn};function wPn(r,o,l){const a=ho(()=>K=>o.value.get(K)),p=ho(()=>K=>l.value.get(K)),g=ho(()=>{const K={...bPn,...r.edgeTypes},q=Object.keys(K);for(const Q of r.edges)Q.type&&!q.includes(Q.type)&&(K[Q.type]=Q.type);return K}),w=ho(()=>{const K={...gPn,...r.nodeTypes},q=Object.keys(K);for(const Q of r.nodes)Q.type&&!q.includes(Q.type)&&(K[Q.type]=Q.type);return K}),y=ho(()=>r.onlyRenderVisibleElements?fPt(r.nodes,{x:0,y:0,width:r.dimensions.width,height:r.dimensions.height},r.viewport,!0):r.nodes),S=ho(()=>{if(r.onlyRenderVisibleElements){const K=[];for(const q of r.edges){const Q=o.value.get(q.source),Z=o.value.get(q.target);vIn({sourcePos:Q.computedPosition||{x:0,y:0},targetPos:Z.computedPosition||{x:0,y:0},sourceWidth:Q.dimensions.width,sourceHeight:Q.dimensions.height,targetWidth:Z.dimensions.width,targetHeight:Z.dimensions.height,width:r.dimensions.width,height:r.dimensions.height,viewport:r.viewport})&&K.push(q)}return K}return r.edges}),E=ho(()=>[...y.value,...S.value]),I=ho(()=>{const K=[];for(const q of r.nodes)q.selected&&K.push(q);return K}),M=ho(()=>{const K=[];for(const q of r.edges)q.selected&&K.push(q);return K}),_=ho(()=>[...I.value,...M.value]),R=ho(()=>{const K=[];for(const q of r.nodes)q.dimensions.width&&q.dimensions.height&&q.handleBounds!==void 0&&K.push(q);return K}),j=ho(()=>y.value.length>0&&R.value.length===y.value.length);return{getNode:a,getEdge:p,getElements:E,getEdgeTypes:g,getNodeTypes:w,getEdges:S,getNodes:y,getSelectedElements:_,getSelectedNodes:I,getSelectedEdges:M,getNodesInitialized:R,areNodesInitialized:j}}class wE{constructor(){this.currentId=0,this.flows=new Map}static getInstance(){var o;const l=(o=UC())==null?void 0:o.appContext.app,a=(l==null?void 0:l.config.globalProperties.$vueFlowStorage)??wE.instance;return wE.instance=a??new wE,l&&(l.config.globalProperties.$vueFlowStorage=wE.instance),wE.instance}set(o,l){return this.flows.set(o,l)}get(o){return this.flows.get(o)}remove(o){return this.flows.delete(o)}create(o,l){const a=EPt(),p=$E(a),g={};for(const[_,R]of Object.entries(p.hooks)){const j=`on${_.charAt(0).toUpperCase()+_.slice(1)}`;g[j]=R.on}const w={};for(const[_,R]of Object.entries(p.hooks))w[_]=R.trigger;const y=ho(()=>{const _=new Map;for(const R of p.nodes)_.set(R.id,R);return _}),S=ho(()=>{const _=new Map;for(const R of p.edges)_.set(R.id,R);return _}),E=wPn(p,y,S),I=HIn(p,y,S);I.setState({...p,...l});const M={...g,...E,...I,...k9n(p),nodeLookup:y,edgeLookup:S,emits:w,id:o,vueFlowVersion:"1.41.5",$destroy:()=>{this.remove(o)}};return this.set(o,M),M}getId(){return`vue-flow-${this.currentId++}`}}function _u(r){const o=wE.getInstance(),l=$re(),a=typeof r=="object",p=a?r:{id:r},g=p.id,w=g??(l==null?void 0:l.vueFlowId);let y;if(l){const S=v3(p7t,null);typeof S<"u"&&S!==null&&(!w||S.id===w)&&(y=S)}if(y||w&&(y=o.get(w)),!y||w&&y.id!==w){const S=g??o.getId(),E=o.create(S,p);y=E,(l??nSt(!0)).run(()=>{Os(E.applyDefault,(M,_,R)=>{const j=q=>{E.applyNodeChanges(q)},K=q=>{E.applyEdgeChanges(q)};M?(E.onNodesChange(j),E.onEdgesChange(K)):(E.hooks.value.nodesChange.off(j),E.hooks.value.edgesChange.off(K)),R(()=>{E.hooks.value.nodesChange.off(j),E.hooks.value.edgesChange.off(K)})},{immediate:!0}),jie(()=>{if(y){const M=o.get(y.id);M?M.$destroy():Kie(`No store instance found for id ${y.id} in storage.`)}})})}else a&&y.setState(p);if(l&&(DE(p7t,y),l.vueFlowId=y.id),a){const S=UC();(S==null?void 0:S.type.name)!=="VueFlow"&&y.emits.error(new Md(qf.USEVUEFLOW_OPTIONS))}return y}function mPn(r){const{emits:o,dimensions:l}=_u();let a;bb(()=>{const p=r.value,g=()=>{if(!p)return;const w=zie(p);(w.width===0||w.height===0)&&o.error(new Md(qf.MISSING_VIEWPORT_DIMENSIONS)),l.value={width:w.width||500,height:w.height||500}};g(),window.addEventListener("resize",g),p&&(a=new ResizeObserver(()=>g()),a.observe(p)),zre(()=>{window.removeEventListener("resize",g),a&&p&&a.unobserve(p)})})}const vPn={name:"UserSelection",compatConfig:{MODE:3}},yPn=bc({...vPn,props:{userSelectionRect:{}},setup(r){return(o,l)=>(ve(),wt("div",{class:"vue-flow__selection vue-flow__container",style:A1({width:`${o.userSelectionRect.width}px`,height:`${o.userSelectionRect.height}px`,transform:`translate(${o.userSelectionRect.x}px, ${o.userSelectionRect.y}px)`})},null,4))}}),kPn=["tabIndex"],CPn={name:"NodesSelection",compatConfig:{MODE:3}},SPn=bc({...CPn,setup(r){const{emits:o,viewport:l,getSelectedNodes:a,noPanClassName:p,disableKeyboardA11y:g,userSelectionActive:w}=_u(),y=xPt(),S=Co(null),E=kPt({el:S,onStart(j){o.selectionDragStart(j)},onDrag(j){o.selectionDrag(j)},onStop(j){o.selectionDragStop(j)}});bb(()=>{var j;g.value||(j=S.value)==null||j.focus({preventScroll:!0})});const I=ho(()=>aPt(a.value)),M=ho(()=>({width:`${I.value.width}px`,height:`${I.value.height}px`,top:`${I.value.y}px`,left:`${I.value.x}px`}));function _(j){o.selectionContextMenu({event:j,nodes:a.value})}function R(j){g||b_[j.key]&&y({x:b_[j.key].x,y:b_[j.key].y},j.shiftKey)}return(j,K)=>!Lr(w)&&I.value.width&&I.value.height?(ve(),wt("div",{key:0,class:yo(["vue-flow__nodesselection vue-flow__container",Lr(p)]),style:A1({transform:`translate(${Lr(l).x}px,${Lr(l).y}px) scale(${Lr(l).zoom})`})},[ar("div",{ref_key:"el",ref:S,class:yo([{dragging:Lr(E)},"vue-flow__nodesselection-rect"]),style:A1(M.value),tabIndex:Lr(g)?void 0:-1,onContextmenu:_,onKeydown:R},null,46,kPn)],6)):rr("",!0)}});function xPn(r,o){return{x:r.clientX-o.left,y:r.clientY-o.top}}const EPn={name:"Pane",compatConfig:{MODE:3}},TPn=bc({...EPn,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(r){const{vueFlowRef:o,nodes:l,viewport:a,emits:p,userSelectionActive:g,removeSelectedElements:w,panOnDrag:y,userSelectionRect:S,elementsSelectable:E,nodesSelectionActive:I,getSelectedEdges:M,getSelectedNodes:_,removeNodes:R,removeEdges:j,selectionMode:K,deleteKeyCode:q,multiSelectionKeyCode:Q,multiSelectionActive:Z,edgeLookup:X,nodeLookup:ie}=_u(),je=Co(null),et=Co(0),mt=Co(0),bt=Co(),ce=Co(new Map),Be=Ia(()=>E.value&&(r.isSelecting||g.value));let ae=!1,xe=!1;const U=ez(q,{actInsideInputWithModifier:!1}),He=ez(Q);Os(U,Rt=>{Rt&&(R(_.value),j(M.value),I.value=!1)}),Os(He,Rt=>{Z.value=Rt});function yt(Rt,an){return Zn=>{Zn.target===an&&(Rt==null||Rt(Zn))}}function ft(){g.value=!1,S.value=null,et.value=0,mt.value=0}function At(Rt){if(ae){ae=!1;return}p.paneClick(Rt),w(),I.value=!1}function Jt(Rt){var an;if(Array.isArray(y.value)&&((an=y.value)!=null&&an.includes(2))){Rt.preventDefault();return}p.paneContextMenu(Rt)}function un(Rt){p.paneScroll(Rt)}function kn(Rt){var an,Zn,kt,Ze,Xt;if(bt.value=(an=o.value)==null?void 0:an.getBoundingClientRect(),!E.value||!r.isSelecting||Rt.button!==0||Rt.target!==je.value||!bt.value)return;(kt=(Zn=Rt.target)==null?void 0:Zn.setPointerCapture)==null||kt.call(Zn,Rt.pointerId);const{x:Mn,y:pr}=xPn(Rt,bt.value);xe=!0,ae=!1,ce.value=new Map;for(const[ye,Ce]of X.value)ce.value.set(Ce.source,((Ze=ce.value.get(Ce.source))==null?void 0:Ze.add(ye))||new Set([ye])),ce.value.set(Ce.target,((Xt=ce.value.get(Ce.target))==null?void 0:Xt.add(ye))||new Set([ye]));w(),S.value={width:0,height:0,startX:Mn,startY:pr,x:Mn,y:pr},p.selectionStart(Rt)}function qt(Rt){if(!bt.value||!S.value)return;ae=!0;const{x:an,y:Zn}=V6(Rt,bt.value),{startX:kt=0,startY:Ze=0}=S.value,Xt={startX:kt,startY:Ze,x:an0&&(I.value=!0),ft(),p.selectionEnd(Rt),r.selectionKeyPressed&&(ae=!1),xe=!1)}return(Rt,an)=>(ve(),wt("div",{ref_key:"container",ref:je,class:yo(["vue-flow__pane vue-flow__container",{selection:Rt.isSelecting}]),onClick:an[0]||(an[0]=Zn=>Be.value?void 0:yt(At,je.value)(Zn)),onContextmenu:an[1]||(an[1]=Zn=>yt(Jt,je.value)(Zn)),onWheelPassive:an[2]||(an[2]=Zn=>yt(un,je.value)(Zn)),onPointerenter:an[3]||(an[3]=Zn=>Be.value?void 0:Lr(p).paneMouseEnter(Zn)),onPointerdown:an[4]||(an[4]=Zn=>Be.value?kn(Zn):Lr(p).paneMouseMove(Zn)),onPointermove:an[5]||(an[5]=Zn=>Be.value?qt(Zn):Lr(p).paneMouseMove(Zn)),onPointerup:an[6]||(an[6]=Zn=>Be.value?on(Zn):void 0),onPointerleave:an[7]||(an[7]=Zn=>Lr(p).paneMouseLeave(Zn))},[Nr(Rt.$slots,"default"),Lr(g)&&Lr(S)?(ve(),Cn(yPn,{key:0,"user-selection-rect":Lr(S)},null,8,["user-selection-rect"])):rr("",!0),Lr(I)&&Lr(_).length?(ve(),Cn(SPn,{key:1})):rr("",!0)],34))}}),IPn={name:"Transform",compatConfig:{MODE:3}},PPn=bc({...IPn,setup(r){const{viewport:o,fitViewOnInit:l,fitViewOnInitDone:a}=_u(),p=ho(()=>l.value?!a.value:!1),g=ho(()=>`translate(${o.value.x}px,${o.value.y}px) scale(${o.value.zoom})`);return(w,y)=>(ve(),wt("div",{class:"vue-flow__transformationpane vue-flow__container",style:A1({transform:g.value,opacity:p.value?0:void 0})},[Nr(w.$slots,"default")],4))}}),MPn={name:"Viewport",compatConfig:{MODE:3}},OPn=bc({...MPn,setup(r){const{minZoom:o,maxZoom:l,defaultViewport:a,translateExtent:p,zoomActivationKeyCode:g,selectionKeyCode:w,panActivationKeyCode:y,panOnScroll:S,panOnScrollMode:E,panOnScrollSpeed:I,panOnDrag:M,zoomOnDoubleClick:_,zoomOnPinch:R,zoomOnScroll:j,preventScrolling:K,noWheelClassName:q,noPanClassName:Q,emits:Z,connectionStartHandle:X,userSelectionActive:ie,paneDragging:je,d3Zoom:et,d3Selection:mt,d3ZoomHandler:bt,viewport:ce,viewportRef:Be,paneClickDistance:ae}=_u();mPn(Be);const xe=Co(!1),U=Co(!1);let He=null,yt=!1,ft=0,At={x:0,y:0,zoom:0};const Jt=ez(y),un=ez(w),kn=ez(g),qt=Ia(()=>(!un.value||un.value&&w.value===!0)&&(Jt.value||M.value)),on=Ia(()=>Jt.value||S.value),Rt=Ia(()=>un.value||w.value===!0&&qt.value!==!0);bb(()=>{if(!Be.value){Kie("Viewport element is missing");return}const Mn=Be.value,pr=Mn.getBoundingClientRect(),ye=nIn().clickDistance(ae.value).scaleExtent([o.value,l.value]).translateExtent(p.value),Ce=oy(Mn).call(ye),ee=Ce.on("wheel.zoom"),V=$_.translate(a.value.x??0,a.value.y??0).scale(WE(a.value.zoom??1,o.value,l.value)),oe=[[0,0],[pr.width,pr.height]],ue=ye.constrain()(V,oe,p.value);ye.transform(Ce,ue),ye.wheelDelta(Zn),et.value=ye,mt.value=Ce,bt.value=ee,ce.value={x:ue.x,y:ue.y,zoom:ue.k},ye.on("start",ge=>{var Ge;if(!ge.sourceEvent)return null;ft=ge.sourceEvent.button,xe.value=!0;const $t=Ze(ge.transform);((Ge=ge.sourceEvent)==null?void 0:Ge.type)==="mousedown"&&(je.value=!0),At=$t,Z.viewportChangeStart($t),Z.moveStart({event:ge,flowTransform:$t})}),ye.on("end",ge=>{if(!ge.sourceEvent)return null;if(xe.value=!1,je.value=!1,an(qt.value,ft??0)&&!yt&&Z.paneContextMenu(ge.sourceEvent),yt=!1,kt(At,ge.transform)){const Ge=Ze(ge.transform);At=Ge,Z.viewportChangeEnd(Ge),Z.moveEnd({event:ge,flowTransform:Ge})}}),ye.filter(ge=>{var Ge,$t,Lt;const tn=kn.value||j.value,Ct=R.value&&ge.ctrlKey,Kn=ge.button;if((qt.value===!0||Array.isArray(qt.value)&&qt.value.includes(1))&&Kn===1&&ge.type==="mousedown"&&((Ge=ge.target)!=null&&Ge.closest(".vue-flow__node")||($t=ge.target)!=null&&$t.closest(".vue-flow__edge")))return!0;if(!qt.value&&!tn&&!on.value&&!_.value&&!R.value||ie.value||!_.value&&ge.type==="dblclick"||Xt(ge,q.value)&&ge.type==="wheel"||Xt(ge,Q.value)&&(ge.type!=="wheel"||on.value&&ge.type==="wheel"&&!kn.value)||!R.value&&ge.ctrlKey&&ge.type==="wheel"||!tn&&!on.value&&!Ct&&ge.type==="wheel")return!1;if(!R&&ge.type==="touchstart"&&((Lt=ge.touches)==null?void 0:Lt.length)>1)return ge.preventDefault(),!1;if(!qt.value&&(ge.type==="mousedown"||ge.type==="touchstart")||w.value===!0&&Array.isArray(M.value)&&M.value.includes(0)&&Kn===0||Array.isArray(qt.value)&&!qt.value.includes(Kn)&&(ge.type==="mousedown"||ge.type==="touchstart"))return!1;const dn=Array.isArray(qt.value)&&qt.value.includes(Kn)||w.value===!0&&Array.isArray(qt.value)&&!qt.value.includes(0)||!Kn||Kn<=1;return(!ge.ctrlKey||ge.type==="wheel")&&dn}),Os([ie,qt],()=>{ie.value&&!xe.value?ye.on("zoom",null):ie.value||ye.on("zoom",ge=>{ce.value={x:ge.transform.x,y:ge.transform.y,zoom:ge.transform.k};const Ge=Ze(ge.transform);yt=an(qt.value,ft??0),Z.viewportChange(Ge),Z.move({event:ge,flowTransform:Ge})})},{immediate:!0}),Os([ie,on,E,kn,R,K,q],()=>{on.value&&!kn.value&&!ie.value?Ce.on("wheel.zoom",ge=>{if(Xt(ge,q.value))return!1;const Ge=kn.value||j.value,$t=R.value&&ge.ctrlKey;if(!(!K.value||on.value||Ge||$t))return!1;ge.preventDefault(),ge.stopImmediatePropagation();const tn=Ce.property("__zoom").k||1,Ct=Mre();if(ge.ctrlKey&&R.value&&Ct){const de=d3(ge),G=Zn(ge),Y=tn*2**G;ye.scaleTo(Ce,Y,de,ge);return}const Kn=ge.deltaMode===1?20:1;let dn=E.value===ZF.Vertical?0:ge.deltaX*Kn,Rn=E.value===ZF.Horizontal?0:ge.deltaY*Kn;!Ct&&ge.shiftKey&&E.value!==ZF.Vertical&&!dn&&Rn&&(dn=Rn,Rn=0),ye.translateBy(Ce,-(dn/tn)*I.value,-(Rn/tn)*I.value);const br=Ze(Ce.property("__zoom"));He&&clearTimeout(He),U.value?(Z.move({event:ge,flowTransform:br}),Z.viewportChange(br),He=setTimeout(()=>{Z.moveEnd({event:ge,flowTransform:br}),Z.viewportChangeEnd(br),U.value=!1},150)):(U.value=!0,Z.moveStart({event:ge,flowTransform:br}),Z.viewportChangeStart(br))},{passive:!1}):typeof ee<"u"&&Ce.on("wheel.zoom",function(ge,Ge){const $t=!K.value&&ge.type==="wheel"&&!ge.ctrlKey,Lt=kn.value||j.value,tn=R.value&&ge.ctrlKey;if(!Lt&&!S.value&&!tn&&ge.type==="wheel"||$t||Xt(ge,q.value))return null;ge.preventDefault(),ee.call(this,ge,Ge)},{passive:!1})},{immediate:!0})});function an(Mn,pr){return pr===2&&Array.isArray(Mn)&&Mn.includes(2)}function Zn(Mn){const pr=Mn.ctrlKey&&Mre()?10:1;return-Mn.deltaY*(Mn.deltaMode===1?.05:Mn.deltaMode?1:.002)*pr}function kt(Mn,pr){return Mn.x!==pr.x&&!Number.isNaN(pr.x)||Mn.y!==pr.y&&!Number.isNaN(pr.y)||Mn.zoom!==pr.k&&!Number.isNaN(pr.k)}function Ze(Mn){return{x:Mn.x,y:Mn.y,zoom:Mn.k}}function Xt(Mn,pr){return Mn.target.closest(`.${pr}`)}return(Mn,pr)=>(ve(),wt("div",{ref_key:"viewportRef",ref:Be,class:"vue-flow__viewport vue-flow__container"},[ai(TPn,{"is-selecting":Rt.value,"selection-key-pressed":Lr(un),class:yo({connecting:!!Lr(X),dragging:Lr(je),draggable:Lr(M)===!0||Array.isArray(Lr(M))&&Lr(M).includes(0)})},{default:ui(()=>[ai(PPn,null,{default:ui(()=>[Nr(Mn.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512))}}),_Pn=["id"],RPn=["id"],APn=["id"],LPn={name:"A11yDescriptions",compatConfig:{MODE:3}},$Pn=bc({...LPn,setup(r){const{id:o,disableKeyboardA11y:l,ariaLiveMessage:a}=_u();return(p,g)=>(ve(),wt(si,null,[ar("div",{id:`${Lr(tPt)}-${Lr(o)}`,style:{display:"none"}}," Press enter or space to select a node. "+Il(Lr(l)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,_Pn),ar("div",{id:`${Lr(nPt)}-${Lr(o)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,RPn),Lr(l)?rr("",!0):(ve(),wt("div",{key:0,id:`${Lr(sIn)}-${Lr(o)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},Il(Lr(a)),9,APn))],64))}});function jPn(){const r=_u();Os(()=>r.viewportHelper.value.viewportInitialized,o=>{o&&setTimeout(()=>{r.emits.init(r),r.emits.paneReady(r)},1)})}function DPn(r,o,l){return l===wi.Left?r-o:l===wi.Right?r+o:r}function NPn(r,o,l){return l===wi.Top?r-o:l===wi.Bottom?r+o:r}const Nxe=function({radius:r=10,centerX:o=0,centerY:l=0,position:a=wi.Top,type:p}){return Pc("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${p}`,cx:DPn(o,r,a),cy:NPn(l,r,a),r,stroke:"transparent",fill:"transparent"})};Nxe.props=["radius","centerX","centerY","position","type"];Nxe.compatConfig={MODE:3};const v7t=Nxe,BPn=bc({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(r){const{id:o,addSelectedEdges:l,connectionMode:a,edgeUpdaterRadius:p,emits:g,nodesSelectionActive:w,noPanClassName:y,getEdgeTypes:S,removeSelectedEdges:E,findEdge:I,findNode:M,isValidConnection:_,multiSelectionActive:R,disableKeyboardA11y:j,elementsSelectable:K,edgesUpdatable:q,edgesFocusable:Q,hooks:Z}=_u(),X=ho(()=>I(r.id)),{emit:ie,on:je}=_In(X.value,g),et=v3(Uie),mt=UC(),bt=Co(!1),ce=Co(!1),Be=Co(""),ae=Co(null),xe=Co("source"),U=Co(null),He=Ia(()=>typeof X.value.selectable>"u"?K.value:X.value.selectable),yt=Ia(()=>typeof X.value.updatable>"u"?q.value:X.value.updatable),ft=Ia(()=>typeof X.value.focusable>"u"?Q.value:X.value.focusable);DE(PIn,r.id),DE(MIn,U);const At=ho(()=>X.value.class instanceof Function?X.value.class(X.value):X.value.class),Jt=ho(()=>X.value.style instanceof Function?X.value.style(X.value):X.value.style),un=ho(()=>{const oe=X.value.type||"default",ue=et==null?void 0:et[`edge-${oe}`];if(ue)return ue;let ge=X.value.template??S.value[oe];if(typeof ge=="string"&&mt){const Ge=Object.keys(mt.appContext.components);Ge&&Ge.includes(oe)&&(ge=ki(oe,!1))}return ge&&typeof ge!="string"?ge:(g.error(new Md(qf.EDGE_TYPE_MISSING,ge)),!1)}),{handlePointerDown:kn}=CPt({nodeId:Be,handleId:ae,type:xe,isValidConnection:_,edgeUpdaterType:xe,onEdgeUpdate:Rt,onEdgeUpdateEnd:an});return()=>{const oe=M(X.value.source),ue=M(X.value.target),ge="pathOptions"in X.value?X.value.pathOptions:{};if(!oe&&!ue)return g.error(new Md(qf.EDGE_SOURCE_TARGET_MISSING,X.value.id,X.value.source,X.value.target)),null;if(!oe)return g.error(new Md(qf.EDGE_SOURCE_MISSING,X.value.id,X.value.source)),null;if(!ue)return g.error(new Md(qf.EDGE_TARGET_MISSING,X.value.id,X.value.target)),null;if(!X.value||X.value.hidden||oe.hidden||ue.hidden)return null;let Ge;a.value===GE.Strict?Ge=oe.handleBounds.source:Ge=[...oe.handleBounds.source||[],...oe.handleBounds.target||[]];const $t=s7t(Ge,X.value.sourceHandle);let Lt;a.value===GE.Strict?Lt=ue.handleBounds.target:Lt=[...ue.handleBounds.target||[],...ue.handleBounds.source||[]];const tn=s7t(Lt,X.value.targetHandle),Ct=($t==null?void 0:$t.position)||wi.Bottom,Kn=(tn==null?void 0:tn.position)||wi.Top,{x:dn,y:Rn}=Pre(oe,$t,Ct),{x:br,y:de}=Pre(ue,tn,Kn);return X.value.sourceX=dn,X.value.sourceY=Rn,X.value.targetX=br,X.value.targetY=de,Pc("g",{ref:U,key:r.id,"data-id":r.id,class:["vue-flow__edge",`vue-flow__edge-${un.value===!1?"default":X.value.type||"default"}`,y.value,At.value,{updating:bt.value,selected:X.value.selected,animated:X.value.animated,inactive:!He.value&&!Z.value.edgeClick.hasListeners()}],onClick:kt,onContextmenu:Ze,onDblclick:Xt,onMouseenter:Mn,onMousemove:pr,onMouseleave:ye,onKeyDown:ft.value?V:void 0,tabIndex:ft.value?0:void 0,"aria-label":X.value.ariaLabel===null?void 0:X.value.ariaLabel||`Edge from ${X.value.source} to ${X.value.target}`,"aria-describedby":ft.value?`${nPt}-${o}`:void 0,role:ft.value?"button":"img"},[ce.value?null:Pc(un.value===!1?S.value.default:un.value,{id:r.id,sourceNode:oe,targetNode:ue,source:X.value.source,target:X.value.target,type:X.value.type,updatable:yt.value,selected:X.value.selected,animated:X.value.animated,label:X.value.label,labelStyle:X.value.labelStyle,labelShowBg:X.value.labelShowBg,labelBgStyle:X.value.labelBgStyle,labelBgPadding:X.value.labelBgPadding,labelBgBorderRadius:X.value.labelBgBorderRadius,data:X.value.data,events:{...X.value.events,...je},style:Jt.value,markerStart:`url('#${Qz(X.value.markerStart,o)}')`,markerEnd:`url('#${Qz(X.value.markerEnd,o)}')`,sourcePosition:Ct,targetPosition:Kn,sourceX:dn,sourceY:Rn,targetX:br,targetY:de,sourceHandleId:X.value.sourceHandle,targetHandleId:X.value.targetHandle,interactionWidth:X.value.interactionWidth,...ge}),[yt.value==="source"||yt.value===!0?[Pc("g",{onMousedown:Ce,onMouseenter:qt,onMouseout:on},Pc(v7t,{position:Ct,centerX:dn,centerY:Rn,radius:p.value,type:"source","data-type":"source"}))]:null,yt.value==="target"||yt.value===!0?[Pc("g",{onMousedown:ee,onMouseenter:qt,onMouseout:on},Pc(v7t,{position:Kn,centerX:br,centerY:de,radius:p.value,type:"target","data-type":"target"}))]:null]])};function qt(){bt.value=!0}function on(){bt.value=!1}function Rt(oe,ue){ie.update({event:oe,edge:X.value,connection:ue})}function an(oe){ie.updateEnd({event:oe,edge:X.value}),ce.value=!1}function Zn(oe,ue){oe.button===0&&(ce.value=!0,Be.value=ue?X.value.target:X.value.source,ae.value=(ue?X.value.targetHandle:X.value.sourceHandle)??"",xe.value=ue?"target":"source",ie.updateStart({event:oe,edge:X.value}),kn(oe))}function kt(oe){var ue;const ge={event:oe,edge:X.value};He.value&&(w.value=!1,X.value.selected&&R.value?(E([X.value]),(ue=U.value)==null||ue.blur()):l([X.value])),ie.click(ge)}function Ze(oe){ie.contextMenu({event:oe,edge:X.value})}function Xt(oe){ie.doubleClick({event:oe,edge:X.value})}function Mn(oe){ie.mouseEnter({event:oe,edge:X.value})}function pr(oe){ie.mouseMove({event:oe,edge:X.value})}function ye(oe){ie.mouseLeave({event:oe,edge:X.value})}function Ce(oe){Zn(oe,!0)}function ee(oe){Zn(oe,!1)}function V(oe){var ue;!j.value&&rPt.includes(oe.key)&&He.value&&(oe.key==="Escape"?((ue=U.value)==null||ue.blur(),E([I(r.id)])):l([I(r.id)]))}}}),FPn=BPn,zPn={[wi.Left]:wi.Right,[wi.Right]:wi.Left,[wi.Top]:wi.Bottom,[wi.Bottom]:wi.Top},HPn=bc({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var r;const{id:o,connectionMode:l,connectionStartHandle:a,connectionEndHandle:p,connectionPosition:g,connectionLineType:w,connectionLineStyle:y,connectionLineOptions:S,connectionStatus:E,viewport:I,findNode:M}=_u(),_=(r=v3(Uie))==null?void 0:r["connection-line"],R=ho(()=>{var Z;return M((Z=a.value)==null?void 0:Z.nodeId)}),j=ho(()=>{var Z;return M((Z=p.value)==null?void 0:Z.nodeId)??null}),K=ho(()=>({x:(g.value.x-I.value.x)/I.value.zoom,y:(g.value.y-I.value.y)/I.value.zoom})),q=ho(()=>S.value.markerStart?`url(#${Qz(S.value.markerStart,o)})`:""),Q=ho(()=>S.value.markerEnd?`url(#${Qz(S.value.markerEnd,o)})`:"");return()=>{var Z,X,ie,je;if(!R.value||!a.value)return null;const et=a.value.handleId,mt=a.value.type,bt=R.value.handleBounds;let ce=(bt==null?void 0:bt[mt])||[];if(l.value===GE.Loose){const un=(bt==null?void 0:bt[mt==="source"?"target":"source"])||[];ce=[...ce,...un]}if(!ce)return null;const Be=(et?ce.find(un=>un.id===et):ce[0])??null,ae=(Be==null?void 0:Be.position)||wi.Top,{x:xe,y:U}=Pre(R.value,Be,ae);let He=null;j.value&&((Z=p.value)!=null&&Z.handleId)&&(l.value===GE.Strict?He=((X=j.value.handleBounds[mt==="source"?"target":"source"])==null?void 0:X.find(un=>{var kn;return un.id===((kn=p.value)==null?void 0:kn.handleId)}))||null:He=((ie=[...j.value.handleBounds.source||[],...j.value.handleBounds.target||[]])==null?void 0:ie.find(un=>{var kn;return un.id===((kn=p.value)==null?void 0:kn.handleId)}))||null);const yt=((je=p.value)==null?void 0:je.position)??(ae?zPn[ae]:null);if(!ae||!yt)return null;const ft=w.value??S.value.type??bE.Bezier;let At="";const Jt={sourceX:xe,sourceY:U,sourcePosition:ae,targetX:K.value.x,targetY:K.value.y,targetPosition:yt};return ft===bE.Bezier?[At]=Dxe(Jt):ft===bE.Step?[At]=xSe({...Jt,borderRadius:0}):ft===bE.SmoothStep?[At]=xSe(Jt):ft===bE.SimpleBezier?[At]=PPt(Jt):At=`M${xe},${U} ${K.value.x},${K.value.y}`,Pc("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},Pc("g",{class:"vue-flow__connection"},_?Pc(_,{sourceX:xe,sourceY:U,sourcePosition:ae,targetX:K.value.x,targetY:K.value.y,targetPosition:yt,sourceNode:R.value,sourceHandle:Be,targetNode:j.value,targetHandle:He,markerEnd:Q.value,markerStart:q.value,connectionStatus:E.value}):Pc("path",{d:At,class:[S.value.class,E,"vue-flow__connection-path"],style:{...y.value,...S.value.style},"marker-end":Q.value,"marker-start":q.value})))}}}),KPn=HPn,UPn=["id","markerWidth","markerHeight","markerUnits","orient"],GPn={name:"MarkerType",compatConfig:{MODE:3}},WPn=bc({...GPn,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(r){return(o,l)=>(ve(),wt("marker",{id:o.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${o.width}`,markerHeight:`${o.height}`,markerUnits:o.markerUnits,orient:o.orient},[o.type===Lr(Ire).ArrowClosed?(ve(),wt("polyline",{key:0,style:A1({stroke:o.color,fill:o.color,strokeWidth:o.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):rr("",!0),o.type===Lr(Ire).Arrow?(ve(),wt("polyline",{key:1,style:A1({stroke:o.color,strokeWidth:o.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):rr("",!0)],8,UPn))}}),VPn={class:"vue-flow__marker vue-flow__container"},qPn={name:"MarkerDefinitions",compatConfig:{MODE:3}},XPn=bc({...qPn,setup(r){const{id:o,edges:l,connectionLineOptions:a,defaultMarkerColor:p}=_u(),g=ho(()=>{const w=new Set,y=[],S=E=>{if(E){const I=Qz(E,o);w.has(I)||(typeof E=="object"?y.push({...E,id:I,color:E.color||p.value}):y.push({id:I,color:p.value,type:E}),w.add(I))}};for(const E of[a.value.markerEnd,a.value.markerStart])S(E);for(const E of l.value)for(const I of[E.markerStart,E.markerEnd])S(I);return y.sort((E,I)=>E.id.localeCompare(I.id))});return(w,y)=>(ve(),wt("svg",VPn,[ar("defs",null,[(ve(!0),wt(si,null,Mu(g.value,S=>(ve(),Cn(WPn,{id:S.id,key:S.id,type:S.type,color:S.color,width:S.width,height:S.height,markerUnits:S.markerUnits,"stroke-width":S.strokeWidth,orient:S.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]))}}),YPn={name:"Edges",compatConfig:{MODE:3}},JPn=bc({...YPn,setup(r){const{findNode:o,getEdges:l,elevateEdgesOnSelect:a}=_u();return(p,g)=>(ve(),wt(si,null,[ai(XPn),(ve(!0),wt(si,null,Mu(Lr(l),w=>(ve(),wt("svg",{key:w.id,class:"vue-flow__edges vue-flow__container",style:A1({zIndex:Lr(yIn)(w,Lr(o),Lr(a))})},[ai(Lr(FPn),{id:w.id},null,8,["id"])],4))),128)),ai(Lr(KPn))],64))}}),QPn=bc({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(r){const{id:o,noPanClassName:l,selectNodesOnDrag:a,nodesSelectionActive:p,multiSelectionActive:g,emits:w,removeSelectedNodes:y,addSelectedNodes:S,updateNodeDimensions:E,onUpdateNodeInternals:I,getNodeTypes:M,nodeExtent:_,elevateNodesOnSelect:R,disableKeyboardA11y:j,ariaLiveMessage:K,snapToGrid:q,snapGrid:Q,nodeDragThreshold:Z,nodesDraggable:X,elementsSelectable:ie,nodesConnectable:je,nodesFocusable:et,hooks:mt}=_u(),bt=Co(null);DE(yPt,bt),DE(vPt,r.id);const ce=v3(Uie),Be=UC(),ae=xPt(),{node:xe,parentNode:U}=SPt(r.id),{emit:He,on:yt}=$In(xe,w),ft=Ia(()=>typeof xe.draggable>"u"?X.value:xe.draggable),At=Ia(()=>typeof xe.selectable>"u"?ie.value:xe.selectable),Jt=Ia(()=>typeof xe.connectable>"u"?je.value:xe.connectable),un=Ia(()=>typeof xe.focusable>"u"?et.value:xe.focusable),kn=Ia(()=>At.value||ft.value||mt.value.nodeClick.hasListeners()||mt.value.nodeDoubleClick.hasListeners()||mt.value.nodeMouseEnter.hasListeners()||mt.value.nodeMouseMove.hasListeners()||mt.value.nodeMouseLeave.hasListeners()),qt=Ia(()=>!!xe.dimensions.width&&!!xe.dimensions.height),on=ho(()=>{const ue=xe.type||"default",ge=ce==null?void 0:ce[`node-${ue}`];if(ge)return ge;let Ge=xe.template||M.value[ue];if(typeof Ge=="string"&&Be){const $t=Object.keys(Be.appContext.components);$t&&$t.includes(ue)&&(Ge=ki(ue,!1))}return Ge&&typeof Ge!="string"?Ge:(w.error(new Md(qf.NODE_TYPE_MISSING,Ge)),!1)}),Rt=kPt({id:r.id,el:bt,disabled:()=>!ft.value,selectable:At,dragHandle:()=>xe.dragHandle,onStart(ue){He.dragStart(ue)},onDrag(ue){He.drag(ue)},onStop(ue){He.dragStop(ue)},onClick(ue){V(ue)}}),an=ho(()=>xe.class instanceof Function?xe.class(xe):xe.class),Zn=ho(()=>{const ue=(xe.style instanceof Function?xe.style(xe):xe.style)||{},ge=xe.width instanceof Function?xe.width(xe):xe.width,Ge=xe.height instanceof Function?xe.height(xe):xe.height;return!ue.width&&ge&&(ue.width=typeof ge=="string"?ge:`${ge}px`),!ue.height&&Ge&&(ue.height=typeof Ge=="string"?Ge:`${Ge}px`),ue}),kt=Ia(()=>Number(xe.zIndex??Zn.value.zIndex??0));return I(ue=>{(ue.includes(r.id)||!ue.length)&&Xt()}),bb(()=>{Os(()=>xe.hidden,(ue=!1,ge,Ge)=>{!ue&&bt.value&&(r.resizeObserver.observe(bt.value),Ge(()=>{bt.value&&r.resizeObserver.unobserve(bt.value)}))},{immediate:!0,flush:"post"})}),Os([()=>xe.type,()=>xe.sourcePosition,()=>xe.targetPosition],()=>{om(()=>{E([{id:r.id,nodeElement:bt.value,forceUpdate:!0}])})}),Os([()=>xe.position.x,()=>xe.position.y,()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.x},()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.y},()=>{var ue;return(ue=U.value)==null?void 0:ue.computedPosition.z},kt,()=>xe.selected,()=>xe.dimensions.height,()=>xe.dimensions.width,()=>{var ue;return(ue=U.value)==null?void 0:ue.dimensions.height},()=>{var ue;return(ue=U.value)==null?void 0:ue.dimensions.width}],([ue,ge,Ge,$t,Lt,tn])=>{const Ct={x:ue,y:ge,z:tn+(R.value&&xe.selected?1e3:0)};typeof Ge<"u"&&typeof $t<"u"?xe.computedPosition=pIn({x:Ge,y:$t,z:Lt},Ct):xe.computedPosition=Ct},{flush:"post",immediate:!0}),Os([()=>xe.extent,_],([ue,ge],[Ge,$t])=>{(ue!==Ge||ge!==$t)&&Ze()}),xe.extent==="parent"||typeof xe.extent=="object"&&"range"in xe.extent&&xe.extent.range==="parent"?fSe(()=>qt).toBe(!0).then(Ze):Ze(),()=>xe.hidden?null:Pc("div",{ref:bt,"data-id":xe.id,class:["vue-flow__node",`vue-flow__node-${on.value===!1?"default":xe.type||"default"}`,{[l.value]:ft.value,dragging:Rt==null?void 0:Rt.value,draggable:ft.value,selected:xe.selected,selectable:At.value,parent:xe.isParent},an.value],style:{visibility:qt.value?"visible":"hidden",zIndex:xe.computedPosition.z??kt.value,transform:`translate(${xe.computedPosition.x}px,${xe.computedPosition.y}px)`,pointerEvents:kn.value?"all":"none",...Zn.value},tabIndex:un.value?0:void 0,role:un.value?"button":void 0,"aria-describedby":j.value?void 0:`${tPt}-${o}`,"aria-label":xe.ariaLabel,onMouseenter:Mn,onMousemove:pr,onMouseleave:ye,onContextmenu:Ce,onClick:V,onDblclick:ee,onKeydown:oe},[Pc(on.value===!1?M.value.default:on.value,{id:xe.id,type:xe.type,data:xe.data,events:{...xe.events,...yt},selected:xe.selected,resizing:xe.resizing,dragging:Rt.value,connectable:Jt.value,position:xe.computedPosition,dimensions:xe.dimensions,isValidTargetPos:xe.isValidTargetPos,isValidSourcePos:xe.isValidSourcePos,parent:xe.parentNode,parentNodeId:xe.parentNode,zIndex:xe.computedPosition.z??kt.value,targetPosition:xe.targetPosition,sourcePosition:xe.sourcePosition,label:xe.label,dragHandle:xe.dragHandle,onUpdateNodeInternals:Xt})]);function Ze(){const ue=xe.computedPosition,{computedPosition:ge,position:Ge}=Lxe(xe,q.value?Hie(ue,Q.value):ue,w.error,_.value,U.value);(xe.computedPosition.x!==ge.x||xe.computedPosition.y!==ge.y)&&(xe.computedPosition={...xe.computedPosition,...ge}),(xe.position.x!==Ge.x||xe.position.y!==Ge.y)&&(xe.position=Ge)}function Xt(){bt.value&&E([{id:r.id,nodeElement:bt.value,forceUpdate:!0}])}function Mn(ue){Rt!=null&&Rt.value||He.mouseEnter({event:ue,node:xe})}function pr(ue){Rt!=null&&Rt.value||He.mouseMove({event:ue,node:xe})}function ye(ue){Rt!=null&&Rt.value||He.mouseLeave({event:ue,node:xe})}function Ce(ue){return He.contextMenu({event:ue,node:xe})}function ee(ue){return He.doubleClick({event:ue,node:xe})}function V(ue){At.value&&(!a.value||!ft.value||Z.value>0)&&SSe(xe,g.value,S,y,p,!1,bt.value),He.click({event:ue,node:xe})}function oe(ue){if(!(ySe(ue)||j.value))if(rPt.includes(ue.key)&&At.value){const ge=ue.key==="Escape";SSe(xe,g.value,S,y,p,ge,bt.value)}else ft.value&&xe.selected&&b_[ue.key]&&(K.value=`Moved selected node ${ue.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~xe.position.x}, y: ${~~xe.position.y}`,ae({x:b_[ue.key].x,y:b_[ue.key].y},ue.shiftKey))}}}),ZPn=QPn;function eMn(r={includeHiddenNodes:!1}){const{nodes:o}=_u();return ho(()=>{if(o.value.length===0)return!1;for(const l of o.value)if((r.includeHiddenNodes||!l.hidden)&&((l==null?void 0:l.handleBounds)===void 0||l.dimensions.width===0||l.dimensions.height===0))return!1;return!0})}const tMn={class:"vue-flow__nodes vue-flow__container"},nMn={name:"Nodes",compatConfig:{MODE:3}},rMn=bc({...nMn,setup(r){const{getNodes:o,updateNodeDimensions:l,emits:a}=_u(),p=eMn(),g=Co();return Os(p,w=>{w&&om(()=>{a.nodesInitialized(o.value)})},{immediate:!0}),bb(()=>{g.value=new ResizeObserver(w=>{const y=w.map(S=>({id:S.target.getAttribute("data-id"),nodeElement:S.target,forceUpdate:!0}));om(()=>l(y))})}),zre(()=>{var w;return(w=g.value)==null?void 0:w.disconnect()}),(w,y)=>(ve(),wt("div",tMn,[g.value?(ve(!0),wt(si,{key:0},Mu(Lr(o),(S,E,I,M)=>{const _=[S.id];if(M&&M.key===S.id&&fhn(M,_))return M;const R=(ve(),Cn(Lr(ZPn),{id:S.id,key:S.id,"resize-observer":g.value},null,8,["id","resize-observer"]));return R.memo=_,R},y,0),128)):rr("",!0)]))}});function iMn(){const{emits:r}=_u();bb(()=>{if(mPt()){const o=document.querySelector(".vue-flow__pane");o&&window.getComputedStyle(o).zIndex!=="1"&&r.error(new Md(qf.MISSING_STYLES))}})}const oMn=ar("div",{class:"vue-flow__edge-labels"},null,-1),sMn={name:"VueFlow",compatConfig:{MODE:3}},lMn=bc({...sMn,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(r,{expose:o,emit:l}){const a=r,p=Tdn(),g=HCe(a,"modelValue",l),w=HCe(a,"nodes",l),y=HCe(a,"edges",l),S=_u(a),E=NIn({modelValue:g,nodes:w,edges:y},a,S);return FIn(l,S.hooks),jPn(),iMn(),DE(Uie,p),Hre(()=>{E()}),o(S),(I,M)=>(ve(),wt("div",{ref:Lr(S).vueFlowRef,class:"vue-flow"},[ai(OPn,null,{default:ui(()=>[ai(JPn),oMn,ai(rMn),Nr(I.$slots,"zoom-pane")]),_:3}),Nr(I.$slots,"default"),ai($Pn)],512))}});function y7t(r,o){const{dimensions:{width:l,height:a},computedPosition:p}=r,g=o.computedPosition,w=l/2,y=a/2,S=p.x+w,E=p.y+y,I=g.x+w,M=g.y+y,_=(I-S)/(2*w)-(M-E)/(2*y),R=(I-S)/(2*w)+(M-E)/(2*y),j=1/(Math.abs(_)+Math.abs(R)),K=j*_,q=j*R,Q=w*(K+q)+S,Z=y*(-K+q)+E;return{x:Q,y:Z}}function k7t(r,o){const l={...r.computedPosition,...r.dimensions},a=Math.round(l.x),p=Math.round(l.y),g=Math.round(o.x),w=Math.round(o.y);return g<=a+1?wi.Left:g>=a+l.width-1?wi.Right:w<=p+1?wi.Top:w>=l.y+l.height-1?wi.Bottom:wi.Top}function cMn(r,o){const l=y7t(r,o),a=y7t(o,r),p=k7t(r,l),g=k7t(o,a);return{sx:l.x,sy:l.y,tx:a.x,ty:a.y,sourcePos:p,targetPos:g}}const uMn=bc({__name:"FloatingEdge",props:{id:{},source:{},target:{},markerEndId:{},sourceNode:{},targetNode:{},style:{},markerEnd:{},markerStart:{},type:{},label:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(r){const o=r,l=ho(()=>cMn(o.sourceNode,o.targetNode)),a=ho(()=>{if(!l.value.sx)return"";const p=o.sourceX(ve(),Cn(Lr(NH),{id:p.id,path:a.value[0],"marker-start":p.markerStart,"marker-end":p.markerEnd,style:A1(p.style)},null,8,["id","path","marker-start","marker-end","style"]))}});function hne(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var OPt={exports:{}};(function(r,o){(function(l){r.exports=l()})(function(){return function(){function l(a,p,g){function w(E,I){if(!p[E]){if(!a[E]){var M=typeof hne=="function"&&hne;if(!I&&M)return M(E,!0);if(y)return y(E,!0);var _=new Error("Cannot find module '"+E+"'");throw _.code="MODULE_NOT_FOUND",_}var R=p[E]={exports:{}};a[E][0].call(R.exports,function(j){var K=a[E][1][j];return w(K||j)},R,R.exports,l,a,p,g)}return p[E].exports}for(var y=typeof hne=="function"&&hne,S=0;S0&&arguments[0]!==void 0?arguments[0]:{},_=M.defaultLayoutOptions,R=_===void 0?{}:_,j=M.algorithms,K=j===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:j,q=M.workerFactory,Q=M.workerUrl;if(w(this,E),this.defaultLayoutOptions=R,this.initialized=!1,typeof Q>"u"&&typeof q>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Z=q;typeof Q<"u"&&typeof q>"u"&&(Z=function(je){return new Worker(je)});var X=Z(Q);if(typeof X.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new S(X),this.worker.postMessage({cmd:"register",algorithms:K}).then(function(ie){return I.initialized=!0}).catch(console.err)}return g(E,[{key:"layout",value:function(M){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=_.layoutOptions,j=R===void 0?this.defaultLayoutOptions:R,K=_.logging,q=K===void 0?!1:K,Q=_.measureExecutionTime,Z=Q===void 0?!1:Q;return M?this.worker.postMessage({cmd:"layout",graph:M,layoutOptions:j,options:{logging:q,measureExecutionTime:Z}}):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()}}]),E}();p.default=y;var S=function(){function E(I){var M=this;if(w(this,E),I===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=I,this.worker.onmessage=function(_){setTimeout(function(){M.receive(M,_)},0)}}return g(E,[{key:"postMessage",value:function(M){var _=this.id||0;this.id=_+1,M.id=_;var R=this;return new Promise(function(j,K){R.resolvers[_]=function(q,Q){q?(R.convertGwtStyleError(q),K(q)):j(Q)},R.worker.postMessage(M)})}},{key:"receive",value:function(M,_){var R=_.data,j=M.resolvers[R.id];j&&(delete M.resolvers[R.id],R.error?j(R.error):j(null,R.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(M){if(M){var _=M.__java$exception;_&&(_.cause&&_.cause.backingJsObject&&(M.cause=_.cause.backingJsObject,this.convertGwtStyleError(M.cause)),delete M.__java$exception)}}}]),E}()},{}],2:[function(l,a,p){(function(g){(function(){var w;typeof window<"u"?w=window:typeof g<"u"?w=g:typeof self<"u"&&(w=self);var y;function S(){}function E(){}function I(){}function M(){}function _(){}function R(){}function j(){}function K(){}function q(){}function Q(){}function Z(){}function X(){}function ie(){}function je(){}function et(){}function mt(){}function bt(){}function ce(){}function Be(){}function ae(){}function xe(){}function U(){}function He(){}function yt(){}function ft(){}function At(){}function Jt(){}function un(){}function kn(){}function qt(){}function on(){}function Rt(){}function an(){}function Zn(){}function kt(){}function Ze(){}function Xt(){}function Mn(){}function pr(){}function ye(){}function Ce(){}function ee(){}function V(){}function oe(){}function ue(){}function ge(){}function Ge(){}function $t(){}function Lt(){}function tn(){}function Ct(){}function Kn(){}function dn(){}function Rn(){}function br(){}function de(){}function G(){}function Y(){}function De(){}function gt(){}function Kt(){}function Ut(){}function so(){}function rl(){}function Ro(){}function Ao(){}function zs(){}function by(){}function oT(){}function L3(){}function _d(){}function YC(){}function sT(){}function $1(){}function JC(){}function Ne(){}function Xe(){}function Pr(){}function Cr(){}function Gr(){}function lu(){}function Rd(){}function Jg(){}function mb(){}function ck(){}function $3(){}function j1(){}function wy(){}function uk(){}function j3(){}function ak(){}function Fp(){}function Qg(){}function zp(){}function lT(){}function BH(){}function QC(){}function cT(){}function ZC(){}function Y_(){}function we(){}function We(){}function En(){}function fr(){}function xo(){}function _s(){}function tc(){}function Ad(){}function Zg(){}function FH(){}function Uxe(){}function Gxe(){}function Wxe(){}function Vxe(){}function qxe(){}function qie(){}function Xxe(){}function Yxe(){}function Xie(){}function Jxe(){}function Qxe(){}function Zxe(){}function eEe(){}function tEe(){}function nEe(){}function rEe(){}function iEe(){}function oEe(){}function sEe(){}function lEe(){}function cEe(){}function uEe(){}function zH(){}function aEe(){}function fEe(){}function dEe(){}function hEe(){}function pEe(){}function gEe(){}function bEe(){}function wEe(){}function mEe(){}function Yie(){}function Jie(){}function vEe(){}function yEe(){}function kEe(){}function CEe(){}function SEe(){}function xEe(){}function EEe(){}function TEe(){}function IEe(){}function PEe(){}function MEe(){}function OEe(){}function _Ee(){}function REe(){}function AEe(){}function LEe(){}function $Ee(){}function jEe(){}function DEe(){}function NEe(){}function BEe(){}function FEe(){}function zEe(){}function HEe(){}function KEe(){}function UEe(){}function GEe(){}function WEe(){}function VEe(){}function qEe(){}function XEe(){}function YEe(){}function JEe(){}function QEe(){}function ZEe(){}function eTe(){}function tTe(){}function nTe(){}function rTe(){}function iTe(){}function oTe(){}function sTe(){}function lTe(){}function cTe(){}function uTe(){}function aTe(){}function fTe(){}function dTe(){}function hTe(){}function pTe(){}function gTe(){}function bTe(){}function wTe(){}function mTe(){}function vTe(){}function yTe(){}function kTe(){}function CTe(){}function STe(){}function xTe(){}function ETe(){}function TTe(){}function ITe(){}function PTe(){}function MTe(){}function OTe(){}function _Te(){}function RTe(){}function ATe(){}function LTe(){}function $Te(){}function jTe(){}function DTe(){}function NTe(){}function BTe(){}function FTe(){}function zTe(){}function HTe(){}function KTe(){}function UTe(){}function GTe(){}function WTe(){}function VTe(){}function qTe(){}function XTe(){}function YTe(){}function JTe(){}function QTe(){}function ZTe(){}function eIe(){}function tIe(){}function nIe(){}function rIe(){}function iIe(){}function oIe(){}function sIe(){}function lIe(){}function cIe(){}function uIe(){}function aIe(){}function Qie(){}function fIe(){}function dIe(){}function hIe(){}function pIe(){}function gIe(){}function bIe(){}function wIe(){}function mIe(){}function vIe(){}function yIe(){}function kIe(){}function CIe(){}function SIe(){}function xIe(){}function EIe(){}function TIe(){}function IIe(){}function PIe(){}function MIe(){}function OIe(){}function _Ie(){}function RIe(){}function AIe(){}function LIe(){}function $Ie(){}function jIe(){}function DIe(){}function NIe(){}function BIe(){}function FIe(){}function zIe(){}function HIe(){}function KIe(){}function UIe(){}function GIe(){}function WIe(){}function VIe(){}function qIe(){}function XIe(){}function YIe(){}function JIe(){}function QIe(){}function ZIe(){}function ePe(){}function tPe(){}function nPe(){}function rPe(){}function iPe(){}function oPe(){}function sPe(){}function lPe(){}function cPe(){}function uPe(){}function aPe(){}function fPe(){}function dPe(){}function hPe(){}function pPe(){}function gPe(){}function bPe(){}function wPe(){}function mPe(){}function vPe(){}function yPe(){}function kPe(){}function CPe(){}function SPe(){}function xPe(){}function EPe(){}function TPe(){}function IPe(){}function PPe(){}function MPe(){}function Zie(){}function OPe(){}function _Pe(){}function RPe(){}function APe(){}function LPe(){}function $Pe(){}function jPe(){}function DPe(){}function NPe(){}function BPe(){}function eoe(){}function FPe(){}function zPe(){}function HPe(){}function KPe(){}function UPe(){}function GPe(){}function toe(){}function noe(){}function WPe(){}function roe(){}function ioe(){}function VPe(){}function qPe(){}function XPe(){}function YPe(){}function JPe(){}function QPe(){}function ZPe(){}function eMe(){}function tMe(){}function nMe(){}function rMe(){}function ooe(){}function iMe(){}function oMe(){}function sMe(){}function lMe(){}function cMe(){}function uMe(){}function aMe(){}function fMe(){}function dMe(){}function hMe(){}function pMe(){}function gMe(){}function bMe(){}function wMe(){}function mMe(){}function vMe(){}function yMe(){}function kMe(){}function CMe(){}function SMe(){}function xMe(){}function EMe(){}function TMe(){}function IMe(){}function PMe(){}function MMe(){}function OMe(){}function _Me(){}function RMe(){}function AMe(){}function LMe(){}function $Me(){}function jMe(){}function DMe(){}function NMe(){}function BMe(){}function FMe(){}function zMe(){}function HMe(){}function KMe(){}function UMe(){}function GMe(){}function WMe(){}function VMe(){}function qMe(){}function XMe(){}function YMe(){}function JMe(){}function QMe(){}function ZMe(){}function eOe(){}function tOe(){}function nOe(){}function rOe(){}function iOe(){}function oOe(){}function sOe(){}function lOe(){}function cOe(){}function uOe(){}function aOe(){}function fOe(){}function dOe(){}function hOe(){}function pOe(){}function gOe(){}function bOe(){}function wOe(){}function mOe(){}function vOe(){}function yOe(){}function kOe(){}function COe(){}function SOe(){}function xOe(){}function EOe(){}function TOe(){}function IOe(){}function POe(){}function MOe(){}function OOe(){}function _Oe(){}function ROe(){}function AOe(){}function LOe(){}function $Oe(){}function vMt(){}function jOe(){}function DOe(){}function NOe(){}function BOe(){}function FOe(){}function zOe(){}function HOe(){}function KOe(){}function UOe(){}function GOe(){}function WOe(){}function VOe(){}function qOe(){}function XOe(){}function YOe(){}function JOe(){}function QOe(){}function ZOe(){}function e_e(){}function t_e(){}function n_e(){}function r_e(){}function i_e(){}function o_e(){}function s_e(){}function l_e(){}function c_e(){}function HH(){}function KH(){}function u_e(){}function UH(){}function a_e(){}function f_e(){}function d_e(){}function h_e(){}function p_e(){}function g_e(){}function b_e(){}function w_e(){}function m_e(){}function v_e(){}function soe(){}function y_e(){}function k_e(){}function C_e(){}function yMt(){}function S_e(){}function x_e(){}function E_e(){}function T_e(){}function I_e(){}function P_e(){}function M_e(){}function e0(){}function O_e(){}function D3(){}function loe(){}function __e(){}function R_e(){}function A_e(){}function L_e(){}function $_e(){}function j_e(){}function D_e(){}function N_e(){}function B_e(){}function F_e(){}function z_e(){}function H_e(){}function K_e(){}function U_e(){}function G_e(){}function W_e(){}function V_e(){}function q_e(){}function X_e(){}function tt(){}function Y_e(){}function J_e(){}function Q_e(){}function Z_e(){}function eRe(){}function tRe(){}function nRe(){}function rRe(){}function iRe(){}function oRe(){}function sRe(){}function lRe(){}function cRe(){}function GH(){}function uRe(){}function aRe(){}function fRe(){}function J_(){}function dRe(){}function WH(){}function Q_(){}function hRe(){}function coe(){}function pRe(){}function gRe(){}function bRe(){}function wRe(){}function mRe(){}function vRe(){}function Z_(){}function yRe(){}function kRe(){}function eR(){}function CRe(){}function tR(){}function SRe(){}function uoe(){}function xRe(){}function VH(){}function aoe(){}function ERe(){}function TRe(){}function IRe(){}function PRe(){}function kMt(){}function MRe(){}function ORe(){}function _Re(){}function RRe(){}function ARe(){}function LRe(){}function $Re(){}function jRe(){}function DRe(){}function NRe(){}function fk(){}function qH(){}function BRe(){}function FRe(){}function zRe(){}function HRe(){}function KRe(){}function URe(){}function GRe(){}function WRe(){}function VRe(){}function qRe(){}function XRe(){}function YRe(){}function JRe(){}function QRe(){}function ZRe(){}function eAe(){}function tAe(){}function nAe(){}function rAe(){}function iAe(){}function oAe(){}function sAe(){}function lAe(){}function cAe(){}function uAe(){}function aAe(){}function fAe(){}function dAe(){}function hAe(){}function pAe(){}function gAe(){}function bAe(){}function wAe(){}function mAe(){}function vAe(){}function yAe(){}function kAe(){}function CAe(){}function SAe(){}function xAe(){}function EAe(){}function TAe(){}function IAe(){}function PAe(){}function MAe(){}function OAe(){}function _Ae(){}function RAe(){}function AAe(){}function LAe(){}function $Ae(){}function jAe(){}function DAe(){}function NAe(){}function BAe(){}function FAe(){}function zAe(){}function HAe(){}function KAe(){}function UAe(){}function GAe(){}function WAe(){}function VAe(){}function qAe(){}function XAe(){}function YAe(){}function JAe(){}function QAe(){}function ZAe(){}function eLe(){}function tLe(){}function nLe(){}function rLe(){}function iLe(){}function oLe(){}function sLe(){}function lLe(){}function cLe(){}function uLe(){}function aLe(){}function fLe(){}function dLe(){}function hLe(){}function pLe(){}function gLe(){}function bLe(){}function wLe(){}function mLe(){}function vLe(){}function yLe(){}function kLe(){}function CLe(){}function SLe(){}function xLe(){}function ELe(){}function TLe(){}function ILe(){}function PLe(){}function MLe(){}function OLe(){}function _Le(){}function foe(){}function RLe(){}function ALe(){}function XH(){l7()}function LLe(){ST()}function $Le(){H$()}function jLe(){tV()}function DLe(){RS()}function NLe(){v1e()}function BLe(){uf()}function FLe(){Mhe()}function zLe(){uP()}function HLe(){xT()}function KLe(){QT()}function ULe(){bHe()}function GLe(){x4()}function WLe(){UJe()}function VLe(){Pfe()}function qLe(){RXe()}function XLe(){Mfe()}function YLe(){kQe()}function JLe(){_Xe()}function QLe(){k5()}function ZLe(){iet()}function e$e(){ret()}function t$e(){IYe()}function n$e(){oet()}function r$e(){fg()}function i$e(){MR()}function o$e(){mge()}function s$e(){Ue()}function l$e(){set()}function c$e(){$et()}function u$e(){AXe()}function a$e(){sit()}function f$e(){LXe()}function d$e(){yct()}function h$e(){Y1e()}function p$e(){u1()}function g$e(){knt()}function b$e(){sl()}function w$e(){KXe()}function m$e(){S4()}function v$e(){Rpe()}function y$e(){dg()}function k$e(){Ape()}function C$e(){ud()}function S$e(){pP()}function x$e(){Iq()}function E$e(){jV()}function If(){vWe()}function T$e(){PL()}function I$e(){q$()}function doe(){gr()}function P$e(){a$()}function M$e(){ohe()}function hoe(){jW()}function poe(){bj()}function O$e(){Upe()}function goe(e){sn(e)}function _$e(e){this.a=e}function nR(e){this.a=e}function R$e(e){this.a=e}function A$e(e){this.a=e}function L$e(e){this.a=e}function $$e(e){this.a=e}function j$e(e){this.a=e}function D$e(e){this.a=e}function boe(e){this.a=e}function woe(e){this.a=e}function N$e(e){this.a=e}function B$e(e){this.a=e}function YH(e){this.a=e}function F$e(e){this.a=e}function z$e(e){this.a=e}function JH(e){this.a=e}function QH(e){this.a=e}function H$e(e){this.a=e}function ZH(e){this.a=e}function K$e(e){this.a=e}function U$e(e){this.a=e}function G$e(e){this.a=e}function moe(e){this.b=e}function W$e(e){this.c=e}function V$e(e){this.a=e}function q$e(e){this.a=e}function X$e(e){this.a=e}function Y$e(e){this.a=e}function J$e(e){this.a=e}function Q$e(e){this.a=e}function Z$e(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 voe(e){this.a=e}function yoe(e){this.a=e}function rR(e){this.a=e}function uT(e){this.a=e}function t0(){this.a=[]}function sje(e,t){e.a=t}function CMt(e,t){e.a=t}function SMt(e,t){e.b=t}function xMt(e,t){e.b=t}function EMt(e,t){e.b=t}function koe(e,t){e.j=t}function TMt(e,t){e.g=t}function IMt(e,t){e.i=t}function PMt(e,t){e.c=t}function MMt(e,t){e.c=t}function OMt(e,t){e.d=t}function _Mt(e,t){e.d=t}function n0(e,t){e.k=t}function RMt(e,t){e.c=t}function Coe(e,t){e.c=t}function Soe(e,t){e.a=t}function AMt(e,t){e.a=t}function LMt(e,t){e.f=t}function $Mt(e,t){e.a=t}function jMt(e,t){e.b=t}function eK(e,t){e.d=t}function iR(e,t){e.i=t}function xoe(e,t){e.o=t}function DMt(e,t){e.r=t}function NMt(e,t){e.a=t}function BMt(e,t){e.b=t}function lje(e,t){e.e=t}function FMt(e,t){e.f=t}function Eoe(e,t){e.g=t}function zMt(e,t){e.e=t}function HMt(e,t){e.f=t}function KMt(e,t){e.f=t}function tK(e,t){e.a=t}function nK(e,t){e.b=t}function UMt(e,t){e.n=t}function GMt(e,t){e.a=t}function WMt(e,t){e.c=t}function VMt(e,t){e.c=t}function qMt(e,t){e.c=t}function XMt(e,t){e.a=t}function YMt(e,t){e.a=t}function JMt(e,t){e.d=t}function QMt(e,t){e.d=t}function ZMt(e,t){e.e=t}function eOt(e,t){e.e=t}function tOt(e,t){e.g=t}function nOt(e,t){e.f=t}function rOt(e,t){e.j=t}function iOt(e,t){e.a=t}function oOt(e,t){e.a=t}function sOt(e,t){e.b=t}function cje(e){e.b=e.a}function uje(e){e.c=e.d.d}function Toe(e){this.a=e}function Ioe(e){this.a=e}function Poe(e){this.a=e}function r0(e){this.a=e}function i0(e){this.a=e}function aT(e){this.a=e}function aje(e){this.a=e}function Moe(e){this.a=e}function fT(e){this.a=e}function oR(e){this.a=e}function Yh(e){this.a=e}function wm(e){this.a=e}function fje(e){this.a=e}function dje(e){this.a=e}function rK(e){this.b=e}function dk(e){this.b=e}function hk(e){this.b=e}function iK(e){this.a=e}function hje(e){this.a=e}function oK(e){this.c=e}function N(e){this.c=e}function pje(e){this.c=e}function e7(e){this.d=e}function Ooe(e){this.a=e}function Wn(e){this.a=e}function gje(e){this.a=e}function _oe(e){this.a=e}function Roe(e){this.a=e}function Aoe(e){this.a=e}function Loe(e){this.a=e}function $oe(e){this.a=e}function joe(e){this.a=e}function pk(e){this.a=e}function bje(e){this.a=e}function wje(e){this.a=e}function gk(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function Cje(e){this.a=e}function Sje(e){this.a=e}function xje(e){this.a=e}function Eje(e){this.a=e}function Tje(e){this.a=e}function Ije(e){this.a=e}function Pje(e){this.a=e}function Mje(e){this.a=e}function Oje(e){this.a=e}function _je(e){this.a=e}function Rje(e){this.a=e}function t7(e){this.a=e}function Aje(e){this.a=e}function Lje(e){this.a=e}function $je(e){this.a=e}function jje(e){this.a=e}function sR(e){this.a=e}function Dje(e){this.a=e}function Nje(e){this.a=e}function bk(e){this.a=e}function Doe(e){this.a=e}function Bje(e){this.a=e}function Fje(e){this.a=e}function zje(e){this.a=e}function Hje(e){this.a=e}function Kje(e){this.a=e}function Uje(e){this.a=e}function Noe(e){this.a=e}function Boe(e){this.a=e}function Foe(e){this.a=e}function n7(e){this.a=e}function lR(e){this.e=e}function wk(e){this.a=e}function Gje(e){this.a=e}function N3(e){this.a=e}function zoe(e){this.a=e}function Wje(e){this.a=e}function Vje(e){this.a=e}function qje(e){this.a=e}function Xje(e){this.a=e}function Yje(e){this.a=e}function Jje(e){this.a=e}function Qje(e){this.a=e}function Zje(e){this.a=e}function eDe(e){this.a=e}function tDe(e){this.a=e}function nDe(e){this.a=e}function Hoe(e){this.a=e}function rDe(e){this.a=e}function iDe(e){this.a=e}function oDe(e){this.a=e}function sDe(e){this.a=e}function lDe(e){this.a=e}function cDe(e){this.a=e}function uDe(e){this.a=e}function aDe(e){this.a=e}function fDe(e){this.a=e}function dDe(e){this.a=e}function hDe(e){this.a=e}function pDe(e){this.a=e}function gDe(e){this.a=e}function bDe(e){this.a=e}function wDe(e){this.a=e}function mDe(e){this.a=e}function vDe(e){this.a=e}function yDe(e){this.a=e}function kDe(e){this.a=e}function CDe(e){this.a=e}function SDe(e){this.a=e}function xDe(e){this.a=e}function EDe(e){this.a=e}function TDe(e){this.a=e}function IDe(e){this.a=e}function PDe(e){this.a=e}function MDe(e){this.a=e}function ODe(e){this.a=e}function _De(e){this.a=e}function RDe(e){this.a=e}function ADe(e){this.a=e}function LDe(e){this.a=e}function $De(e){this.a=e}function jDe(e){this.a=e}function DDe(e){this.a=e}function NDe(e){this.a=e}function BDe(e){this.a=e}function FDe(e){this.a=e}function zDe(e){this.c=e}function HDe(e){this.b=e}function KDe(e){this.a=e}function UDe(e){this.a=e}function GDe(e){this.a=e}function WDe(e){this.a=e}function VDe(e){this.a=e}function qDe(e){this.a=e}function XDe(e){this.a=e}function YDe(e){this.a=e}function JDe(e){this.a=e}function QDe(e){this.a=e}function ZDe(e){this.a=e}function eNe(e){this.a=e}function tNe(e){this.a=e}function nNe(e){this.a=e}function rNe(e){this.a=e}function iNe(e){this.a=e}function oNe(e){this.a=e}function sNe(e){this.a=e}function lNe(e){this.a=e}function cNe(e){this.a=e}function uNe(e){this.a=e}function aNe(e){this.a=e}function fNe(e){this.a=e}function dNe(e){this.a=e}function hNe(e){this.a=e}function pNe(e){this.a=e}function gNe(e){this.a=e}function Jh(e){this.a=e}function my(e){this.a=e}function bNe(e){this.a=e}function wNe(e){this.a=e}function mNe(e){this.a=e}function vNe(e){this.a=e}function yNe(e){this.a=e}function kNe(e){this.a=e}function CNe(e){this.a=e}function SNe(e){this.a=e}function xNe(e){this.a=e}function ENe(e){this.a=e}function TNe(e){this.a=e}function INe(e){this.a=e}function PNe(e){this.a=e}function MNe(e){this.a=e}function ONe(e){this.a=e}function _Ne(e){this.a=e}function RNe(e){this.a=e}function ANe(e){this.a=e}function LNe(e){this.a=e}function $Ne(e){this.a=e}function jNe(e){this.a=e}function DNe(e){this.a=e}function NNe(e){this.a=e}function BNe(e){this.a=e}function FNe(e){this.a=e}function zNe(e){this.a=e}function cR(e){this.a=e}function HNe(e){this.f=e}function KNe(e){this.a=e}function UNe(e){this.a=e}function GNe(e){this.a=e}function WNe(e){this.a=e}function VNe(e){this.a=e}function qNe(e){this.a=e}function XNe(e){this.a=e}function YNe(e){this.a=e}function JNe(e){this.a=e}function QNe(e){this.a=e}function ZNe(e){this.a=e}function eBe(e){this.a=e}function tBe(e){this.a=e}function nBe(e){this.a=e}function rBe(e){this.a=e}function iBe(e){this.a=e}function oBe(e){this.a=e}function sBe(e){this.a=e}function lBe(e){this.a=e}function cBe(e){this.a=e}function uBe(e){this.a=e}function aBe(e){this.a=e}function fBe(e){this.a=e}function dBe(e){this.a=e}function hBe(e){this.a=e}function pBe(e){this.a=e}function gBe(e){this.a=e}function bBe(e){this.a=e}function sK(e){this.a=e}function Koe(e){this.a=e}function Fr(e){this.b=e}function wBe(e){this.a=e}function mBe(e){this.a=e}function vBe(e){this.a=e}function yBe(e){this.a=e}function kBe(e){this.a=e}function CBe(e){this.a=e}function SBe(e){this.a=e}function xBe(e){this.b=e}function EBe(e){this.a=e}function dT(e){this.a=e}function TBe(e){this.a=e}function IBe(e){this.a=e}function Uoe(e){this.c=e}function uR(e){this.e=e}function aR(e){this.a=e}function fR(e){this.a=e}function lK(e){this.a=e}function PBe(e){this.d=e}function MBe(e){this.a=e}function Goe(e){this.a=e}function Woe(e){this.a=e}function vb(e){this.e=e}function lOt(){this.a=0}function On(){qc(this)}function Le(){kU(this)}function cK(){dqe(this)}function OBe(){}function yb(){this.c=Q5e}function _Be(e,t){e.b+=t}function cOt(e,t){t.Wb(e)}function uOt(e){return e.a}function aOt(e){return e.a}function fOt(e){return e.a}function dOt(e){return e.a}function hOt(e){return e.a}function B(e){return e.e}function pOt(){return null}function gOt(){return null}function bOt(){_se(),Xun()}function wOt(e){e.b.Of(e.e)}function RBe(e){e.b=new PK}function r7(e,t){e.b=t-e.b}function i7(e,t){e.a=t-e.a}function Ft(e,t){e.push(t)}function ABe(e,t){e.sort(t)}function LBe(e,t){t.jd(e.a)}function mOt(e,t){Vi(t,e)}function vOt(e,t,n){e.Yd(n,t)}function hT(e,t){e.e=t,t.b=e}function Voe(e){Fd(),this.a=e}function $Be(e){Fd(),this.a=e}function jBe(e){Fd(),this.a=e}function uK(e){Hb(),this.a=e}function DBe(e){Vk(),QJ.le(e)}function qoe(){qoe=U,new On}function o0(){nGe.call(this)}function Xoe(){nGe.call(this)}function Yoe(){o0.call(this)}function aK(){o0.call(this)}function NBe(){o0.call(this)}function pT(){o0.call(this)}function Oc(){o0.call(this)}function B3(){o0.call(this)}function Xn(){o0.call(this)}function ea(){o0.call(this)}function BBe(){o0.call(this)}function qs(){o0.call(this)}function FBe(){o0.call(this)}function zBe(){this.a=this}function dR(){this.Bb|=256}function HBe(){this.b=new XKe}function mm(e,t){e.length=t}function hR(e,t){$e(e.a,t)}function yOt(e,t){k1e(e.c,t)}function kOt(e,t){Fi(e.b,t)}function COt(e,t){j$(e.a,t)}function SOt(e,t){uV(e.a,t)}function mk(e,t){_r(e.e,t)}function F3(e){Q$(e.c,e.b)}function xOt(e,t){e.kc().Nb(t)}function Joe(e){this.a=bVt(e)}function _i(){this.a=new On}function KBe(){this.a=new On}function Qoe(){this.a=new cHe}function pR(){this.a=new Le}function fK(){this.a=new Le}function Zoe(){this.a=new Le}function Pa(){this.a=new L3}function s0(){this.a=new NJe}function ese(){this.a=new qie}function tse(){this.a=new OXe}function nse(){this.a=new HGe}function UBe(){this.a=new Le}function GBe(){this.a=new Le}function WBe(){this.a=new Le}function rse(){this.a=new Le}function VBe(){this.d=new Le}function qBe(){this.a=new YXe}function XBe(){this.a=new _i}function YBe(){this.a=new On}function JBe(){this.b=new On}function QBe(){this.b=new Le}function ise(){this.e=new Le}function ZBe(){this.a=new r$e}function eFe(){this.d=new Le}function tFe(){tXe.call(this)}function nFe(){tXe.call(this)}function rFe(){Le.call(this)}function ose(){Yoe.call(this)}function sse(){pR.call(this)}function iFe(){vA.call(this)}function oFe(){rse.call(this)}function o7(){OBe.call(this)}function dK(){o7.call(this)}function z3(){OBe.call(this)}function lse(){z3.call(this)}function sFe(){fse.call(this)}function lFe(){fse.call(this)}function cFe(){fse.call(this)}function uFe(){dse.call(this)}function s7(){dRe.call(this)}function cse(){dRe.call(this)}function _c(){Zr.call(this)}function aFe(){EFe.call(this)}function fFe(){EFe.call(this)}function dFe(){On.call(this)}function hFe(){On.call(this)}function pFe(){On.call(this)}function hK(){aet.call(this)}function gFe(){_i.call(this)}function bFe(){dR.call(this)}function pK(){Gle.call(this)}function use(){On.call(this)}function gK(){Gle.call(this)}function bK(){On.call(this)}function wFe(){On.call(this)}function ase(){tR.call(this)}function mFe(){ase.call(this)}function vFe(){tR.call(this)}function yFe(){foe.call(this)}function fse(){this.a=new _i}function kFe(){this.a=new On}function CFe(){this.a=new Le}function dse(){this.a=new On}function H3(){this.a=new Zr}function SFe(){this.j=new Le}function xFe(){this.a=new Cze}function EFe(){this.a=new CRe}function hse(){this.a=new r_e}function l7(){l7=U,UJ=new E}function wK(){wK=U,GJ=new IFe}function mK(){mK=U,WJ=new TFe}function TFe(){JH.call(this,"")}function IFe(){JH.call(this,"")}function PFe(e){RZe.call(this,e)}function MFe(e){RZe.call(this,e)}function pse(e){boe.call(this,e)}function gse(e){Jze.call(this,e)}function EOt(e){Jze.call(this,e)}function TOt(e){gse.call(this,e)}function IOt(e){gse.call(this,e)}function POt(e){gse.call(this,e)}function OFe(e){YG.call(this,e)}function _Fe(e){YG.call(this,e)}function RFe(e){aWe.call(this,e)}function AFe(e){Nse.call(this,e)}function c7(e){ER.call(this,e)}function bse(e){ER.call(this,e)}function LFe(e){ER.call(this,e)}function wse(e){YQt.call(this,e)}function mse(e){wse.call(this,e)}function Xs(e){_Ve.call(this,e)}function $Fe(e){Xs.call(this,e)}function K3(){uT.call(this,{})}function jFe(){jFe=U,vpt=new ae}function gR(){gR=U,XJ=new RUe}function DFe(){DFe=U,pme=new S}function vse(){vse=U,gme=new je}function bR(){bR=U,j9=new bt}function vK(e){Ok(),this.a=e}function yK(e){Wfe(),this.a=e}function kb(e){iG(),this.f=e}function kK(e){iG(),this.f=e}function NFe(e){mWe(),this.a=e}function BFe(e){e.b=null,e.c=0}function MOt(e,t){e.e=t,ylt(e,t)}function OOt(e,t){e.a=t,DZt(e)}function CK(e,t,n){e.a[t.g]=n}function _Ot(e,t,n){QYt(n,e,t)}function ROt(e,t){ILt(t.i,e.n)}function FFe(e,t){JGt(e).Cd(t)}function AOt(e,t){e.a.ec().Mc(t)}function zFe(e,t){return e.g-t.g}function LOt(e,t){return e*e/t}function qe(e){return sn(e),e}function le(e){return sn(e),e}function gT(e){return sn(e),e}function $Ot(e){return new rR(e)}function jOt(e){return new Rm(e)}function yse(e){return sn(e),e}function DOt(e){return sn(e),e}function wR(e){Xs.call(this,e)}function ys(e){Xs.call(this,e)}function HFe(e){Xs.call(this,e)}function SK(e){_Ve.call(this,e)}function vk(e){Xs.call(this,e)}function Qt(e){Xs.call(this,e)}function ks(e){Xs.call(this,e)}function KFe(e){Xs.call(this,e)}function U3(e){Xs.call(this,e)}function D1(e){Xs.call(this,e)}function N1(e){Xs.call(this,e)}function G3(e){Xs.call(this,e)}function Ld(e){Xs.call(this,e)}function xK(e){Xs.call(this,e)}function er(e){Xs.call(this,e)}function Wc(e){sn(e),this.a=e}function kse(e){return T0(e),e}function u7(e){Aue(e,e.length)}function a7(e){return e.b==e.c}function vm(e){return!!e&&e.b}function NOt(e){return!!e&&e.k}function BOt(e){return!!e&&e.j}function FOt(e,t,n){e.c.Ef(t,n)}function UFe(e,t){e.be(t),t.ae(e)}function W3(e){Fd(),this.a=qn(e)}function EK(){this.a=Jn(qn(Xo))}function GFe(){throw B(new Xn)}function zOt(){throw B(new Xn)}function Cse(){throw B(new Xn)}function WFe(){throw B(new Xn)}function HOt(){throw B(new Xn)}function KOt(){throw B(new Xn)}function mR(){mR=U,Vk()}function B1(){aT.call(this,"")}function f7(){aT.call(this,"")}function Hp(){aT.call(this,"")}function V3(){aT.call(this,"")}function Sse(e){ys.call(this,e)}function xse(e){ys.call(this,e)}function $d(e){Qt.call(this,e)}function yk(e){hk.call(this,e)}function VFe(e){yk.call(this,e)}function TK(e){pA.call(this,e)}function IK(e){rce.call(this,e,0)}function PK(){gae.call(this,12,3)}function F(e,t){return xXe(e,t)}function vR(e,t){return fW(e,t)}function UOt(e,t){return e.a-t.a}function GOt(e,t){return e.a-t.a}function WOt(e,t){return e.a-t.a}function VOt(e,t){return t in e.a}function qFe(e){return e.a?e.b:0}function qOt(e){return e.a?e.b:0}function XOt(e,t,n){t.Cd(e.a[n])}function YOt(e,t,n){t.Pe(e.a[n])}function JOt(e,t){e.b=new Vo(t)}function QOt(e,t){return e.b=t,e}function XFe(e,t){return e.c=t,e}function YFe(e,t){return e.f=t,e}function ZOt(e,t){return e.g=t,e}function Ese(e,t){return e.a=t,e}function Tse(e,t){return e.f=t,e}function e_t(e,t){return e.k=t,e}function Ise(e,t){return e.a=t,e}function t_t(e,t){return e.e=t,e}function Pse(e,t){return e.e=t,e}function n_t(e,t){return e.f=t,e}function r_t(e,t){e.b=!0,e.d=t}function i_t(e,t){return e.b-t.b}function o_t(e,t){return e.g-t.g}function s_t(e,t){return e?0:t-1}function JFe(e,t){return e?0:t-1}function l_t(e,t){return e?t-1:0}function c_t(e,t){return e.s-t.s}function u_t(e,t){return t.rg(e)}function Cb(e,t){return e.b=t,e}function yR(e,t){return e.a=t,e}function Sb(e,t){return e.c=t,e}function xb(e,t){return e.d=t,e}function Eb(e,t){return e.e=t,e}function Mse(e,t){return e.f=t,e}function d7(e,t){return e.a=t,e}function kk(e,t){return e.b=t,e}function Ck(e,t){return e.c=t,e}function rt(e,t){return e.c=t,e}function Tt(e,t){return e.b=t,e}function it(e,t){return e.d=t,e}function ot(e,t){return e.e=t,e}function a_t(e,t){return e.f=t,e}function st(e,t){return e.g=t,e}function lt(e,t){return e.a=t,e}function ct(e,t){return e.i=t,e}function ut(e,t){return e.j=t,e}function f_t(e,t){fg(),Js(t,e)}function d_t(e,t,n){PDt(e.a,t,n)}function kR(e){BU.call(this,e)}function QFe(e){_Vt.call(this,e)}function ZFe(e){Rqe.call(this,e)}function Ose(e){Rqe.call(this,e)}function Kp(e){Qb.call(this,e)}function eze(e){PG.call(this,e)}function tze(e){PG.call(this,e)}function nze(){Ble.call(this,"")}function po(){this.a=0,this.b=0}function rze(){this.b=0,this.a=0}function ize(e,t){e.b=0,Hm(e,t)}function oze(e,t){return e.k=t,e}function h_t(e,t){return e.j=t,e}function p_t(e,t){e.c=t,e.b=!0}function sze(){sze=U,Rpt=EJt()}function Up(){Up=U,E4t=jYt()}function lze(){lze=U,oo=qJt()}function _se(){_se=U,Dg=c5()}function Sk(){Sk=U,J5e=DYt()}function cze(){cze=U,u6t=NYt()}function Rse(){Rse=U,ml=LZt()}function Pf(e){return e.e&&e.e()}function uze(e){return e.l|e.m<<22}function aze(e,t){return e.c._b(t)}function fze(e,t){return ant(e.b,t)}function MK(e){return e?e.d:null}function g_t(e){return e?e.g:null}function b_t(e){return e?e.i:null}function l0(e){return e1(e),e.o}function vy(e,t){return e.a+=t,e}function OK(e,t){return e.a+=t,e}function F1(e,t){return e.a+=t,e}function Tb(e,t){return e.a+=t,e}function Ase(e,t){for(;e.Bd(t););}function CR(e){this.a=new q3(e)}function dze(){throw B(new Xn)}function hze(){throw B(new Xn)}function pze(){throw B(new Xn)}function gze(){throw B(new Xn)}function bze(){throw B(new Xn)}function wze(){throw B(new Xn)}function z1(e){this.a=new lG(e)}function mze(){this.a=new VS(W4e)}function vze(){this.b=new VS(f4e)}function yze(){this.a=new VS(b6e)}function kze(){this.b=new VS(zee)}function Cze(){this.b=new VS(zee)}function SR(e){this.a=0,this.b=e}function Lse(e){Qut(),can(this,e)}function xk(e){return Qp(e),e.a}function bT(e){return e.b!=e.d.c}function $se(e,t){return e.d[t.p]}function Sze(e,t){return Ern(e,t)}function jse(e,t,n){e.splice(t,n)}function yy(e,t){for(;e.Re(t););}function xze(e){e.c?Nlt(e):Blt(e)}function Eze(){throw B(new Xn)}function Tze(){throw B(new Xn)}function Ize(){throw B(new Xn)}function Pze(){throw B(new Xn)}function Mze(){throw B(new Xn)}function Oze(){throw B(new Xn)}function _ze(){throw B(new Xn)}function Rze(){throw B(new Xn)}function Aze(){throw B(new Xn)}function Lze(){throw B(new Xn)}function w_t(){throw B(new qs)}function m_t(){throw B(new qs)}function wT(e){this.a=new $ze(e)}function $ze(e){CUt(this,e,eZt())}function mT(e){return!e||fqe(e)}function vT(e){return xd[e]!=-1}function v_t(){$D!=0&&($D=0),jD=-1}function jze(){KJ==null&&(KJ=[])}function yT(e,t){Ly.call(this,e,t)}function Ek(e,t){yT.call(this,e,t)}function Dze(e,t){this.a=e,this.b=t}function Nze(e,t){this.a=e,this.b=t}function Bze(e,t){this.a=e,this.b=t}function Fze(e,t){this.a=e,this.b=t}function zze(e,t){this.a=e,this.b=t}function Hze(e,t){this.a=e,this.b=t}function Kze(e,t){this.a=e,this.b=t}function Tk(e,t){this.e=e,this.d=t}function Dse(e,t){this.b=e,this.c=t}function Uze(e,t){this.b=e,this.a=t}function Gze(e,t){this.b=e,this.a=t}function Wze(e,t){this.b=e,this.a=t}function Vze(e,t){this.b=e,this.a=t}function qze(e,t){this.a=e,this.b=t}function _K(e,t){this.a=e,this.b=t}function Xze(e,t){this.a=e,this.f=t}function Ib(e,t){this.g=e,this.i=t}function Fn(e,t){this.f=e,this.g=t}function Yze(e,t){this.b=e,this.c=t}function Jze(e){Vle(e.dc()),this.c=e}function y_t(e,t){this.a=e,this.b=t}function Qze(e,t){this.a=e,this.b=t}function Zze(e){this.a=u(qn(e),15)}function Nse(e){this.a=u(qn(e),15)}function eHe(e){this.a=u(qn(e),85)}function xR(e){this.b=u(qn(e),85)}function ER(e){this.b=u(qn(e),51)}function TR(){this.q=new w.Date}function RK(e,t){this.a=e,this.b=t}function tHe(e,t){return rc(e.b,t)}function kT(e,t){return e.b.Hc(t)}function nHe(e,t){return e.b.Ic(t)}function rHe(e,t){return e.b.Qc(t)}function iHe(e,t){return e.b.Hc(t)}function oHe(e,t){return e.c.uc(t)}function sHe(e,t){return Rr(e.c,t)}function Mf(e,t){return e.a._b(t)}function lHe(e,t){return e>t&&t0}function NK(e,t){return kl(e,t)<0}function SHe(e,t){return eG(e.a,t)}function B_t(e,t){EXe.call(this,e,t)}function Gse(e){vG(),aWe.call(this,e)}function Wse(e,t){mVe(e,e.length,t)}function ET(e,t){WVe(e,e.length,t)}function y7(e,t){return e.a.get(t)}function xHe(e,t){return rc(e.e,t)}function Vse(e){return sn(e),!1}function qse(e){this.a=u(qn(e),229)}function $R(e){Pt.call(this,e,21)}function jR(e,t){Fn.call(this,e,t)}function BK(e,t){Fn.call(this,e,t)}function EHe(e,t){this.b=e,this.a=t}function DR(e,t){this.d=e,this.e=t}function THe(e,t){this.a=e,this.b=t}function IHe(e,t){this.a=e,this.b=t}function PHe(e,t){this.a=e,this.b=t}function MHe(e,t){this.a=e,this.b=t}function Y3(e,t){this.a=e,this.b=t}function OHe(e,t){this.b=e,this.a=t}function Xse(e,t){this.b=e,this.a=t}function Yse(e,t){Fn.call(this,e,t)}function Jse(e,t){Fn.call(this,e,t)}function ky(e,t){Fn.call(this,e,t)}function FK(e,t){Fn.call(this,e,t)}function zK(e,t){Fn.call(this,e,t)}function HK(e,t){Fn.call(this,e,t)}function NR(e,t){Fn.call(this,e,t)}function Qse(e,t){this.b=e,this.a=t}function BR(e,t){Fn.call(this,e,t)}function Zse(e,t){this.b=e,this.a=t}function FR(e,t){Fn.call(this,e,t)}function _He(e,t){this.b=e,this.a=t}function ele(e,t){Fn.call(this,e,t)}function KK(e,t){Fn.call(this,e,t)}function TT(e,t){Fn.call(this,e,t)}function k7(e,t,n){e.splice(t,0,n)}function F_t(e,t,n){e.Mb(n)&&t.Cd(n)}function z_t(e,t,n){t.Pe(e.a.Ye(n))}function H_t(e,t,n){t.Dd(e.a.Ze(n))}function K_t(e,t,n){t.Cd(e.a.Kb(n))}function U_t(e,t){return Ac(e.c,t)}function G_t(e,t){return Ac(e.e,t)}function zR(e,t){Fn.call(this,e,t)}function HR(e,t){Fn.call(this,e,t)}function C7(e,t){Fn.call(this,e,t)}function tle(e,t){Fn.call(this,e,t)}function Ri(e,t){Fn.call(this,e,t)}function KR(e,t){Fn.call(this,e,t)}function RHe(e,t){this.a=e,this.b=t}function AHe(e,t){this.a=e,this.b=t}function LHe(e,t){this.a=e,this.b=t}function $He(e,t){this.a=e,this.b=t}function jHe(e,t){this.a=e,this.b=t}function DHe(e,t){this.a=e,this.b=t}function NHe(e,t){this.b=e,this.a=t}function BHe(e,t){this.b=e,this.a=t}function nle(e,t){this.b=e,this.a=t}function Mk(e,t){this.c=e,this.d=t}function FHe(e,t){this.e=e,this.d=t}function zHe(e,t){this.a=e,this.b=t}function HHe(e,t){this.a=e,this.b=t}function KHe(e,t){this.a=e,this.b=t}function UHe(e,t){this.b=e,this.a=t}function GHe(e,t){this.b=t,this.c=e}function UR(e,t){Fn.call(this,e,t)}function IT(e,t){Fn.call(this,e,t)}function UK(e,t){Fn.call(this,e,t)}function rle(e,t){Fn.call(this,e,t)}function S7(e,t){Fn.call(this,e,t)}function GK(e,t){Fn.call(this,e,t)}function WK(e,t){Fn.call(this,e,t)}function PT(e,t){Fn.call(this,e,t)}function ile(e,t){Fn.call(this,e,t)}function VK(e,t){Fn.call(this,e,t)}function x7(e,t){Fn.call(this,e,t)}function ole(e,t){Fn.call(this,e,t)}function E7(e,t){Fn.call(this,e,t)}function T7(e,t){Fn.call(this,e,t)}function km(e,t){Fn.call(this,e,t)}function qK(e,t){Fn.call(this,e,t)}function XK(e,t){Fn.call(this,e,t)}function sle(e,t){Fn.call(this,e,t)}function MT(e,t){Fn.call(this,e,t)}function Cy(e,t){Fn.call(this,e,t)}function YK(e,t){Fn.call(this,e,t)}function GR(e,t){Fn.call(this,e,t)}function OT(e,t){Fn.call(this,e,t)}function Cm(e,t){Fn.call(this,e,t)}function WR(e,t){Fn.call(this,e,t)}function lle(e,t){Fn.call(this,e,t)}function JK(e,t){Fn.call(this,e,t)}function QK(e,t){Fn.call(this,e,t)}function ZK(e,t){Fn.call(this,e,t)}function eU(e,t){Fn.call(this,e,t)}function tU(e,t){Fn.call(this,e,t)}function nU(e,t){Fn.call(this,e,t)}function rU(e,t){Fn.call(this,e,t)}function WHe(e,t){this.b=e,this.a=t}function cle(e,t){Fn.call(this,e,t)}function VHe(e,t){this.a=e,this.b=t}function qHe(e,t){this.a=e,this.b=t}function XHe(e,t){this.a=e,this.b=t}function ule(e,t){Fn.call(this,e,t)}function ale(e,t){Fn.call(this,e,t)}function YHe(e,t){this.a=e,this.b=t}function W_t(e,t){return jk(),t!=e}function _T(e){return yn(e.a),e.b}function iU(e){return Zen(e,e.c),e}function JHe(){return sze(),new Rpt}function QHe(){xA(),this.a=new Ice}function ZHe(){lj(),this.a=new _i}function eKe(){NG(),this.b=new _i}function tKe(e,t){this.b=e,this.d=t}function nKe(e,t){this.a=e,this.b=t}function rKe(e,t){this.a=e,this.b=t}function iKe(e,t){this.a=e,this.b=t}function oKe(e,t){this.b=e,this.a=t}function fle(e,t){Fn.call(this,e,t)}function dle(e,t){Fn.call(this,e,t)}function VR(e,t){Fn.call(this,e,t)}function Ob(e,t){Fn.call(this,e,t)}function oU(e,t){Fn.call(this,e,t)}function qR(e,t){Fn.call(this,e,t)}function hle(e,t){Fn.call(this,e,t)}function ple(e,t){Fn.call(this,e,t)}function RT(e,t){Fn.call(this,e,t)}function gle(e,t){Fn.call(this,e,t)}function sU(e,t){Fn.call(this,e,t)}function XR(e,t){Fn.call(this,e,t)}function lU(e,t){Fn.call(this,e,t)}function cU(e,t){Fn.call(this,e,t)}function uU(e,t){Fn.call(this,e,t)}function aU(e,t){Fn.call(this,e,t)}function ble(e,t){Fn.call(this,e,t)}function fU(e,t){Fn.call(this,e,t)}function wle(e,t){Fn.call(this,e,t)}function AT(e,t){Fn.call(this,e,t)}function dU(e,t){Fn.call(this,e,t)}function mle(e,t){Fn.call(this,e,t)}function LT(e,t){Fn.call(this,e,t)}function vle(e,t){Fn.call(this,e,t)}function sKe(e,t){this.b=e,this.a=t}function lKe(e,t){this.b=e,this.a=t}function cKe(e,t){this.b=e,this.a=t}function uKe(e,t){this.b=e,this.a=t}function yle(e,t){this.a=e,this.b=t}function aKe(e,t){this.a=e,this.b=t}function fKe(e,t){this.a=e,this.b=t}function Me(e,t){this.a=e,this.b=t}function I7(e,t){Fn.call(this,e,t)}function $T(e,t){Fn.call(this,e,t)}function J3(e,t){Fn.call(this,e,t)}function P7(e,t){Fn.call(this,e,t)}function jT(e,t){Fn.call(this,e,t)}function hU(e,t){Fn.call(this,e,t)}function YR(e,t){Fn.call(this,e,t)}function M7(e,t){Fn.call(this,e,t)}function pU(e,t){Fn.call(this,e,t)}function JR(e,t){Fn.call(this,e,t)}function Sy(e,t){Fn.call(this,e,t)}function DT(e,t){Fn.call(this,e,t)}function O7(e,t){Fn.call(this,e,t)}function _7(e,t){Fn.call(this,e,t)}function NT(e,t){Fn.call(this,e,t)}function QR(e,t){Fn.call(this,e,t)}function xy(e,t){Fn.call(this,e,t)}function gU(e,t){Fn.call(this,e,t)}function dKe(e,t){Fn.call(this,e,t)}function ZR(e,t){Fn.call(this,e,t)}function hKe(e,t){this.a=e,this.b=t}function pKe(e,t){this.a=e,this.b=t}function gKe(e,t){this.a=e,this.b=t}function bKe(e,t){this.a=e,this.b=t}function wKe(e,t){this.a=e,this.b=t}function mKe(e,t){this.a=e,this.b=t}function Gi(e,t){this.a=e,this.b=t}function vKe(e,t){this.a=e,this.b=t}function yKe(e,t){this.a=e,this.b=t}function kKe(e,t){this.a=e,this.b=t}function CKe(e,t){this.a=e,this.b=t}function SKe(e,t){this.a=e,this.b=t}function xKe(e,t){this.a=e,this.b=t}function EKe(e,t){this.b=e,this.a=t}function TKe(e,t){this.b=e,this.a=t}function IKe(e,t){this.b=e,this.a=t}function PKe(e,t){this.b=e,this.a=t}function MKe(e,t){this.a=e,this.b=t}function OKe(e,t){this.a=e,this.b=t}function eA(e,t){Fn.call(this,e,t)}function _Ke(e,t){this.a=e,this.b=t}function RKe(e,t){this.a=e,this.b=t}function Q3(e,t){Fn.call(this,e,t)}function AKe(e,t){this.f=e,this.c=t}function kle(e,t){return Ac(e.g,t)}function V_t(e,t){return Ac(t.b,e)}function LKe(e,t){return vV(e.a,t)}function q_t(e,t){return-e.b.af(t)}function X_t(e,t){e&&vr(IO,e,t)}function Cle(e,t){e.i=null,YL(e,t)}function Y_t(e,t,n){Iit(t,fq(e,n))}function J_t(e,t,n){Iit(t,fq(e,n))}function Q_t(e,t){Tnn(e.a,u(t,58))}function $Ke(e,t){CKt(e.a,u(t,12))}function tA(e,t){this.a=e,this.b=t}function jKe(e,t){this.a=e,this.b=t}function DKe(e,t){this.a=e,this.b=t}function NKe(e,t){this.a=e,this.b=t}function BKe(e,t){this.a=e,this.b=t}function FKe(e,t){this.d=e,this.b=t}function zKe(e,t){this.e=e,this.a=t}function BT(e,t){this.b=e,this.c=t}function Sle(e,t){this.i=e,this.g=t}function xle(e,t){this.d=e,this.e=t}function Z_t(e,t){DKt(new hn(e),t)}function nA(e){return nP(e.c,e.b)}function Rs(e){return e?e.md():null}function fe(e){return e??null}function lo(e){return typeof e===iX}function Sm(e){return typeof e===B4}function xm(e){return typeof e===yge}function _b(e,t){return kl(e,t)==0}function rA(e,t){return kl(e,t)>=0}function R7(e,t){return kl(e,t)!=0}function iA(e,t){return eGt(e.Kc(),t)}function Vp(e,t){return e.Rd().Xb(t)}function HKe(e){return au(e),e.d.gc()}function oA(e){return U7(e==null),e}function A7(e,t){return e.a+=""+t,e}function ps(e,t){return e.a+=""+t,e}function L7(e,t){return e.a+=""+t,e}function Al(e,t){return e.a+=""+t,e}function lr(e,t){return e.a+=""+t,e}function Ele(e,t){return e.a+=""+t,e}function eRt(e){return""+(sn(e),e)}function KKe(e){qc(this),bS(this,e)}function UKe(){pae(),yue.call(this)}function GKe(e,t){Eue.call(this,e,t)}function WKe(e,t){Eue.call(this,e,t)}function sA(e,t){Eue.call(this,e,t)}function Wo(e,t){gi(e,t,e.c.b,e.c)}function Ey(e,t){gi(e,t,e.a,e.a.a)}function Tle(e){return _t(e,0),null}function VKe(){this.b=0,this.a=!1}function qKe(){this.b=0,this.a=!1}function XKe(){this.b=new q3(Fm(12))}function YKe(){YKe=U,Tgt=Hn(TV())}function JKe(){JKe=U,q0t=Hn(ult())}function QKe(){QKe=U,wyt=Hn(Het())}function Ile(){Ile=U,qoe(),bme=new On}function Of(e){return e.a=0,e.b=0,e}function ZKe(e,t){return e.a=t.g+1,e}function bU(e,t){Mm.call(this,e,t)}function St(e,t){fi.call(this,e,t)}function Ty(e,t){Sle.call(this,e,t)}function eUe(e,t){KT.call(this,e,t)}function wU(e,t){p5.call(this,e,t)}function wr(e,t){AR(),vr(JB,e,t)}function tUe(e,t){e.q.setTime(m0(t))}function tRt(e){w.clearTimeout(e)}function nRt(e){return qn(e),new $7(e)}function nUe(e,t){return fe(e)===fe(t)}function rUe(e,t){return e.a.a.a.cc(t)}function mU(e,t){return oa(e.a,0,t)}function Ple(e){return oNt(u(e,74))}function Z3(e){return Wi((sn(e),e))}function rRt(e){return Wi((sn(e),e))}function iUe(e){return nc(e.l,e.m,e.h)}function Mle(e,t){return yl(e.a,t.a)}function iRt(e,t){return UVe(e.a,t.a)}function oRt(e,t){return Kr(e.a,t.a)}function jd(e,t){return e.indexOf(t)}function sRt(e,t){return e.j[t.p]==2}function Rb(e,t){return e==t?0:e?1:-1}function lA(e){return e<10?"0"+e:""+e}function Hs(e){return typeof e===yge}function lRt(e){return e==Pw||e==vv}function cRt(e){return e==Pw||e==mv}function oUe(e,t){return yl(e.g,t.g)}function Ole(e){return $s(e.b.b,e,0)}function sUe(){LA.call(this,0,0,0,0)}function Dd(){_oe.call(this,new q1)}function _le(e,t){Zk(e,0,e.length,t)}function uRt(e,t){return $e(e.a,t),t}function aRt(e,t){return tf(),t.a+=e}function fRt(e,t){return tf(),t.a+=e}function dRt(e,t){return tf(),t.c+=e}function hRt(e,t){return $e(e.c,t),e}function Rle(e,t){return Bu(e.a,t),e}function lUe(e){this.a=JHe(),this.b=e}function cUe(e){this.a=JHe(),this.b=e}function Vo(e){this.a=e.a,this.b=e.b}function $7(e){this.a=e,XH.call(this)}function uUe(e){this.a=e,XH.call(this)}function e4(){ia.call(this,0,0,0,0)}function cA(e){return Bu(new Li,e)}function aUe(e){return QA(u(e,123))}function ku(e){return e.vh()&&e.wh()}function Iy(e){return e!=kd&&e!=Lg}function Zh(e){return e==Ps||e==Bs}function Py(e){return e==Ca||e==vd}function fUe(e){return e==N2||e==D2}function pRt(e,t){return yl(e.g,t.g)}function dUe(e,t){return new p5(t,e)}function gRt(e,t){return new p5(t,e)}function Ale(e){return jjt(e.b.Kc(),e.a)}function vU(e,t){C5(e,t),l5(e,e.D)}function yU(e,t,n){HL(e,t),zL(e,n)}function My(e,t,n){ew(e,t),Zb(e,n)}function ta(e,t,n){oc(e,t),sc(e,n)}function FT(e,t,n){r5(e,t),o5(e,n)}function zT(e,t,n){i5(e,t),s5(e,n)}function hUe(e,t,n){gce.call(this,e,t,n)}function Lle(e){AKe.call(this,e,!0)}function pUe(){jR.call(this,"Tail",3)}function gUe(){jR.call(this,"Head",1)}function qp(e){Vd(),YUt.call(this,e)}function Ab(e){LA.call(this,e,e,e,e)}function kU(e){e.c=be(Ji,Bt,1,0,5,1)}function $le(e){return e.b&&Fq(e),e.a}function jle(e){return e.b&&Fq(e),e.c}function bRt(e,t){pd||(e.b=t)}function wRt(e,t){return e[e.length]=t}function mRt(e,t){return e[e.length]=t}function vRt(e,t){return zm(t,Qf(e))}function yRt(e,t){return zm(t,Qf(e))}function kRt(e,t){return VL(wG(e.d),t)}function CRt(e,t){return VL(wG(e.g),t)}function SRt(e,t){return VL(wG(e.j),t)}function go(e,t){fi.call(this,e.b,t)}function xRt(e,t){Dn(Pl(e.a),jXe(t))}function ERt(e,t){Dn(uu(e.a),DXe(t))}function TRt(e,t,n){ta(n,n.i+e,n.j+t)}function bUe(e,t,n){pi(e.c[t.g],t.g,n)}function IRt(e,t,n){u(e.c,71).Gi(t,n)}function CU(e,t,n){return pi(e,t,n),n}function wUe(e){ic(e.Sf(),new jje(e))}function Oy(e){return e!=null?Vr(e):0}function PRt(e){return e==null?0:Vr(e)}function j7(e){Ir(),vb.call(this,e)}function mUe(e){this.a=e,Yce.call(this,e)}function Yf(){Yf=U,w.Math.log(2)}function na(){na=U,zh=(kHe(),_4t)}function vUe(){vUe=U,nee=new MS(bte)}function Yn(){Yn=U,new yUe,new Le}function yUe(){new On,new On,new On}function MRt(){throw B(new D1(rpt))}function ORt(){throw B(new D1(rpt))}function _Rt(){throw B(new D1(ipt))}function RRt(){throw B(new D1(ipt))}function SU(e){this.a=e,xR.call(this,e)}function xU(e){this.a=e,xR.call(this,e)}function kUe(e,t){Hb(),this.a=e,this.b=t}function ARt(e,t){qn(t),jy(e).Jc(new Q)}function Mi(e,t){tG(e.c,e.c.length,t)}function Ys(e){return e.at?1:0}function Nle(e,t){return kl(e,t)>0?e:t}function nc(e,t,n){return{l:e,m:t,h:n}}function LRt(e,t){e.a!=null&&$Ke(t,e.a)}function $Rt(e){zo(e,null),ao(e,null)}function jRt(e,t,n){return vr(e.g,n,t)}function _y(e,t,n){return lhe(t,n,e.c)}function DRt(e,t,n){return vr(e.k,n,t)}function NRt(e,t,n){return Scn(e,t,n),n}function BRt(e,t){return Lu(),t.n.b+=e}function SUe(e){lae.call(this),this.b=e}function Ble(e){Tce.call(this),this.a=e}function xUe(){jR.call(this,"Range",2)}function uA(e){this.b=e,this.a=new Le}function EUe(e){this.b=new xo,this.a=e}function TUe(e){e.a=new Zn,e.c=new Zn}function IUe(e){e.a=new On,e.d=new On}function PUe(e){BG(e,null),FG(e,null)}function MUe(e,t){return Ecn(e.a,t,null)}function FRt(e,t){return vr(e.a,t.a,t)}function Eo(e){return new Me(e.a,e.b)}function Fle(e){return new Me(e.c,e.d)}function zRt(e){return new Me(e.c,e.d)}function D7(e,t){return Dln(e.c,e.b,t)}function te(e,t){return e!=null&&OV(e,t)}function EU(e,t){return OGt(e.Kc(),t)!=-1}function aA(e){return e.Ob()?e.Pb():null}function HRt(e){this.b=(Ot(),new oK(e))}function zle(e){this.a=e,On.call(this)}function OUe(){KT.call(this,null,null)}function _Ue(){wA.call(this,null,null)}function RUe(){Fn.call(this,"INSTANCE",0)}function AUe(){Fhe(),this.a=new VS(Dve)}function LUe(e){return Ud(e,0,e.length)}function KRt(e,t){return new QUe(e.Kc(),t)}function Hle(e,t){return e.a.Bc(t)!=null}function $Ue(e,t){jn(e),e.Gc(u(t,15))}function URt(e,t,n){e.c.bd(t,u(n,136))}function GRt(e,t,n){e.c.Ui(t,u(n,136))}function jUe(e,t){e.c&&(uue(t),cXe(t))}function WRt(e,t){e.q.setHours(t),QS(e,t)}function VRt(e,t){jb(t,e.a.a.a,e.a.a.b)}function qRt(e,t,n,i){pi(e.a[t.g],n.g,i)}function TU(e,t,n){return e.a[t.g][n.g]}function XRt(e,t){return e.e[t.c.p][t.p]}function YRt(e,t){return e.c[t.c.p][t.p]}function Jf(e,t){return e.a[t.c.p][t.p]}function JRt(e,t){return e.j[t.p]=cnn(t)}function IU(e,t){return e.a.Bc(t)!=null}function QRt(e,t){return le(pe(t.a))<=e}function ZRt(e,t){return le(pe(t.a))>=e}function eAt(e,t){return Wae(e.f,t.Pg())}function t4(e,t){return e.a*t.a+e.b*t.b}function tAt(e,t){return e.a0?t/(e*e):t*100}function TAt(e,t){return e>0?t*t/e:t*t*100}function Em(e,t){return u(id(e.a,t),34)}function IAt(e,t){return fg(),It(e,t.e,t)}function PAt(e,t,n){return OR(),n.Mg(e,t)}function MAt(e){return u1(),e.e.a+e.f.a/2}function OAt(e,t,n){return u1(),n.e.a-e*t}function _At(e){return u1(),e.e.b+e.f.b/2}function RAt(e,t,n){return u1(),n.e.b-e*t}function dGe(e){e.d=new uGe(e),e.e=new On}function hGe(){this.a=new qb,this.b=new qb}function pGe(e){this.c=e,this.a=1,this.b=1}function gGe(e){nX(),RBe(this),this.Ff(e)}function AAt(e,t,n){PL(),e.pf(t)&&n.Cd(e)}function LAt(e,t,n){return $e(t,Pnt(e,n))}function jb(e,t,n){return e.a+=t,e.b+=n,e}function $At(e,t,n){return e.a*=t,e.b*=n,e}function sce(e,t){return e.a=t.a,e.b=t.b,e}function mA(e){return e.a=-e.a,e.b=-e.b,e}function z7(e,t,n){return e.a-=t,e.b-=n,e}function bGe(e){Zr.call(this),dS(this,e)}function wGe(){Fn.call(this,"GROW_TREE",0)}function mGe(){Fn.call(this,"POLYOMINO",0)}function Su(e,t,n){jc.call(this,e,t,n,2)}function jAt(e,t,n){IS(Pl(e.a),t,jXe(n))}function vGe(e,t){v7(),KT.call(this,e,t)}function lce(e,t){H1(),wA.call(this,e,t)}function yGe(e,t){H1(),lce.call(this,e,t)}function kGe(e,t){H1(),wA.call(this,e,t)}function DAt(e,t){return e.c.Fc(u(t,136))}function NAt(e,t,n){IS(uu(e.a),t,DXe(n))}function CGe(e){this.c=e,oc(e,0),sc(e,0)}function AU(e,t){na(),DA.call(this,e,t)}function SGe(e,t){na(),AU.call(this,e,t)}function cce(e,t){na(),AU.call(this,e,t)}function uce(e,t){na(),DA.call(this,e,t)}function xGe(e,t){na(),cce.call(this,e,t)}function EGe(e,t){na(),uce.call(this,e,t)}function TGe(e,t){na(),DA.call(this,e,t)}function BAt(e,t,n){return t.zl(e.e,e.c,n)}function FAt(e,t,n){return t.Al(e.e,e.c,n)}function ace(e,t,n){return vj(MI(e,t),n)}function LU(e,t){return sg(e.e,u(t,54))}function zAt(e){return e==null?null:dun(e)}function HAt(e){return e==null?null:oZt(e)}function KAt(e){return e==null?null:Us(e)}function UAt(e){return e==null?null:Us(e)}function Ve(e){return U7(e==null||Sm(e)),e}function pe(e){return U7(e==null||xm(e)),e}function Jn(e){return U7(e==null||lo(e)),e}function e1(e){e.o==null&&Dtn(e)}function fce(e){if(!e)throw B(new pT)}function GAt(e){if(!e)throw B(new aK)}function yn(e){if(!e)throw B(new qs)}function Tm(e){if(!e)throw B(new Oc)}function IGe(e){if(!e)throw B(new ea)}function Lk(){Lk=U,MO=new aFe,new fFe}function $y(){$y=U,z2=new Fr("root")}function dce(){aet.call(this),this.Bb|=es}function WAt(e,t){this.d=e,uje(this),this.b=t}function hce(e,t){lW.call(this,e),this.a=t}function pce(e,t){lW.call(this,e),this.a=t}function gce(e,t,n){xL.call(this,e,t,n,null)}function PGe(e,t,n){xL.call(this,e,t,n,null)}function WT(e,t){this.c=e,Tk.call(this,e,t)}function H7(e,t){this.a=e,WT.call(this,e,t)}function bce(e){this.q=new w.Date(m0(e))}function MGe(e){return e>8?0:e+1}function OGe(e,t){pd||$e(e.a,t)}function VAt(e,t){return xT(),h5(t.d.i,e)}function qAt(e,t){return x4(),new cct(t,e)}function XAt(e,t,n){return e.Ne(t,n)<=0?n:t}function YAt(e,t,n){return e.Ne(t,n)<=0?t:n}function JAt(e,t){return u(id(e.b,t),143)}function QAt(e,t){return u(id(e.c,t),233)}function $U(e){return u(Ye(e.a,e.b),294)}function _Ge(e){return new Me(e.c,e.d+e.a)}function RGe(e){return sn(e),e?1231:1237}function AGe(e){return Lu(),fUe(u(e,203))}function Im(){Im=U,fve=ht((Iu(),sb))}function ZAt(e,t){t.a?rtn(e,t):IU(e.a,t.b)}function VT(e,t,n){++e.j,e.tj(),sW(e,t,n)}function LGe(e,t,n){++e.j,e.qj(t,e.Zi(t,n))}function $Ge(e,t,n){var i;i=e.fd(t),i.Rb(n)}function wce(e,t,n){return n=Hu(e,t,6,n),n}function mce(e,t,n){return n=Hu(e,t,3,n),n}function vce(e,t,n){return n=Hu(e,t,9,n),n}function Bd(e,t){return aI(t,Kge),e.f=t,e}function yce(e,t){return(t&Mr)%e.d.length}function jGe(e,t,n){return Zpe(e.c,e.b,t,n)}function DGe(e,t){this.c=e,Qb.call(this,t)}function NGe(e,t){this.a=e,xBe.call(this,t)}function qT(e,t){this.a=e,xBe.call(this,t)}function fi(e,t){Fr.call(this,e),this.a=t}function kce(e,t){Uoe.call(this,e),this.a=t}function jU(e,t){Uoe.call(this,e),this.a=t}function eLt(e){the.call(this,0,0),this.f=e}function BGe(e,t,n){return e.a+=Ud(t,0,n),e}function XT(e){return!e.a&&(e.a=new Be),e.a}function Cce(e,t){var n;return n=e.e,e.e=t,n}function Sce(e,t){var n;return n=t,!!e.Fe(n)}function tLt(e,t){return Gt(),e==t?0:e?1:-1}function Pm(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function YT(e){e.b?YT(e.b):e.f.c.zc(e.e,e.d)}function FGe(e){qc(e.e),e.d.b=e.d,e.d.a=e.d}function nLt(e,t,n){c0(),sje(e,t.Ve(e.a,n))}function xce(e,t,n){return f4(e,u(t,22),n)}function ef(e,t){return vR(new Array(t),e)}function rLt(e){return Vn(Yp(e,32))^Vn(e)}function DU(e){return String.fromCharCode(e)}function iLt(e){return e==null?null:e.message}function oLt(e,t,n){return e.apply(t,n)}function sLt(e,t){var n;n=e[jX],n.call(e,t)}function lLt(e,t){var n;n=e[jX],n.call(e,t)}function cLt(e,t){return xT(),!h5(t.d.i,e)}function Ece(e,t,n,i){LA.call(this,e,t,n,i)}function zGe(){vA.call(this),this.a=new po}function Tce(){this.n=new po,this.o=new po}function HGe(){this.b=new po,this.c=new Le}function KGe(){this.a=new Le,this.b=new Le}function UGe(){this.a=new qie,this.b=new HBe}function Ice(){this.b=new q1,this.a=new q1}function GGe(){this.b=new _i,this.a=new _i}function WGe(){this.b=new On,this.a=new On}function VGe(){this.b=new vze,this.a=new WMe}function qGe(){this.a=new i$e,this.b=new DPe}function XGe(){this.a=new Le,this.d=new Le}function vA(){this.n=new z3,this.i=new e4}function YGe(e){this.a=(Nu(e,lv),new ql(e))}function JGe(e){this.a=(Nu(e,lv),new ql(e))}function uLt(e){return e<100?null:new Kp(e)}function aLt(e,t){return e.n.a=(sn(t),t+10)}function fLt(e,t){return e.n.a=(sn(t),t+10)}function dLt(e,t){return t==e||j5(nj(t),e)}function QGe(e,t){return vr(e.a,t,"")==null}function hLt(e,t){var n;return n=t.qi(e.a),n}function Or(e,t){return e.a+=t.a,e.b+=t.b,e}function Xi(e,t){return e.a-=t.a,e.b-=t.b,e}function pLt(e){return mm(e.j.c,0),e.a=-1,e}function Pce(e,t,n){return n=Hu(e,t,11,n),n}function gLt(e,t,n){n!=null&&qL(t,zV(e,n))}function bLt(e,t,n){n!=null&&XL(t,zV(e,n))}function i4(e,t,n,i){Se.call(this,e,t,n,i)}function Mce(e,t,n,i){Se.call(this,e,t,n,i)}function ZGe(e,t,n,i){Mce.call(this,e,t,n,i)}function eWe(e,t,n,i){UA.call(this,e,t,n,i)}function NU(e,t,n,i){UA.call(this,e,t,n,i)}function Oce(e,t,n,i){UA.call(this,e,t,n,i)}function tWe(e,t,n,i){NU.call(this,e,t,n,i)}function _ce(e,t,n,i){NU.call(this,e,t,n,i)}function jt(e,t,n,i){Oce.call(this,e,t,n,i)}function nWe(e,t,n,i){_ce.call(this,e,t,n,i)}function rWe(e,t,n,i){Mue.call(this,e,t,n,i)}function Mm(e,t){ys.call(this,I9+e+z0+t)}function Rce(e,t){return e.jk().wi().ri(e,t)}function Ace(e,t){return e.jk().wi().ti(e,t)}function iWe(e,t){return sn(e),fe(e)===fe(t)}function Et(e,t){return sn(e),fe(e)===fe(t)}function wLt(e,t){return e.b.Bd(new IHe(e,t))}function mLt(e,t){return e.b.Bd(new PHe(e,t))}function oWe(e,t){return e.b.Bd(new MHe(e,t))}function vLt(e,t){return e.e=u(e.d.Kb(t),159)}function Lce(e,t,n){return e.lastIndexOf(t,n)}function yLt(e,t,n){return Kr(e[t.a],e[n.a])}function kLt(e,t){return Ee(t,(Ue(),zM),e)}function CLt(e,t){return yl(t.a.d.p,e.a.d.p)}function SLt(e,t){return yl(e.a.d.p,t.a.d.p)}function xLt(e,t){return Kr(e.c-e.s,t.c-t.s)}function ELt(e,t){return Kr(e.b.e.a,t.b.e.a)}function TLt(e,t){return Kr(e.c.e.a,t.c.e.a)}function sWe(e){return e.c?$s(e.c.a,e,0):-1}function o4(e){return e==ob||e==Bh||e==Ul}function $ce(e,t){this.c=e,fG.call(this,e,t)}function lWe(e,t,n){this.a=e,rce.call(this,t,n)}function cWe(e){this.c=e,sA.call(this,FP,0)}function uWe(e,t,n){this.c=t,this.b=n,this.a=e}function JT(e){jk(),this.d=e,this.a=new Ay}function aWe(e){Fd(),this.a=(Ot(),new yk(e))}function ILt(e,t){Zh(e.f)?Mtn(e,t):sQt(e,t)}function fWe(e,t){Fjt.call(this,e,e.length,t)}function PLt(e,t){pd||t&&(e.d=t)}function dWe(e,t){return te(t,15)&&Hlt(e.c,t)}function MLt(e,t,n){return u(e.c,71).Wk(t,n)}function yA(e,t,n){return u(e.c,71).Xk(t,n)}function OLt(e,t,n){return BAt(e,u(t,343),n)}function jce(e,t,n){return FAt(e,u(t,343),n)}function _Lt(e,t,n){return $it(e,u(t,343),n)}function hWe(e,t,n){return vQt(e,u(t,343),n)}function K7(e,t){return t==null?null:Gm(e.b,t)}function Dce(e){return xm(e)?(sn(e),e):e.ue()}function kA(e){return!isNaN(e)&&!isFinite(e)}function BU(e){TUe(this),Au(this),vo(this,e)}function Vc(e){kU(this),Zce(this.c,0,e.Pc())}function ra(e,t,n){this.a=e,this.b=t,this.c=n}function pWe(e,t,n){this.a=e,this.b=t,this.c=n}function gWe(e,t,n){this.d=e,this.b=n,this.a=t}function bWe(e){this.a=e,Qh(),bl(Date.now())}function wWe(e){Eu(e.a),Qae(e.c,e.b),e.b=null}function FU(){FU=U,Nme=new kt,Apt=new Ze}function mWe(){mWe=U,j4t=be(Ji,Bt,1,0,5,1)}function vWe(){vWe=U,e6t=be(Ji,Bt,1,0,5,1)}function Nce(){Nce=U,t6t=be(Ji,Bt,1,0,5,1)}function Fd(){Fd=U,new Voe((Ot(),Ot(),Jo))}function RLt(e){return e5(),zn((EQe(),jpt),e)}function ALt(e){return Jc(),zn((gQe(),Hpt),e)}function LLt(e){return P$(),zn((eJe(),qpt),e)}function $Lt(e){return $L(),zn((tJe(),Xpt),e)}function jLt(e){return aj(),zn((ntt(),Ypt),e)}function DLt(e){return jf(),zn((hQe(),Zpt),e)}function NLt(e){return Yc(),zn((dQe(),tgt),e)}function BLt(e){return yc(),zn((pQe(),rgt),e)}function FLt(e){return xj(),zn((YKe(),Tgt),e)}function zLt(e){return iw(),zn((IQe(),Pgt),e)}function HLt(e){return O4(),zn((MQe(),Ogt),e)}function KLt(e){return LS(),zn((PQe(),Agt),e)}function ULt(e){return PR(),zn((TYe(),Lgt),e)}function GLt(e){return jL(),zn((nJe(),Jgt),e)}function WLt(e){return aS(),zn((bQe(),S0t),e)}function VLt(e){return $o(),zn((aZe(),I0t),e)}function qLt(e){return b5(),zn((_Qe(),R0t),e)}function XLt(e){return P0(),zn((OQe(),N0t),e)}function Bce(e,t){if(!e)throw B(new Qt(t))}function $k(e){if(!e)throw B(new ks(kge))}function zU(e,t){if(e!=t)throw B(new ea)}function yWe(e,t,n){this.a=e,this.b=t,this.c=n}function Fce(e,t,n){this.a=e,this.b=t,this.c=n}function kWe(e,t,n){this.a=e,this.b=t,this.c=n}function CA(e,t,n){this.b=e,this.a=t,this.c=n}function zce(e,t,n){this.b=e,this.c=t,this.a=n}function Hce(e,t,n){this.a=e,this.b=t,this.c=n}function SA(e,t,n){this.e=t,this.b=e,this.d=n}function CWe(e,t,n){this.b=e,this.a=t,this.c=n}function YLt(e,t,n){return c0(),e.a.Yd(t,n),t}function HU(e){var t;return t=new _d,t.e=e,t}function Kce(e){var t;return t=new VBe,t.b=e,t}function QT(){QT=U,eN=new dTe,tN=new hTe}function xA(){xA=U,Z0t=new FTe,Q0t=new zTe}function tf(){tf=U,ibt=new XIe,obt=new YIe}function JLt(e){return nw(),zn((VJe(),gbt),e)}function QLt(e){return Uo(),zn((JKe(),q0t),e)}function ZLt(e){return l$(),zn((AQe(),J0t),e)}function e$t(e){return sd(),zn((RQe(),cbt),e)}function t$t(e){return Ym(),zn((fZe(),abt),e)}function n$t(e){return cj(),zn((zet(),bbt),e)}function r$t(e){return L4(),zn((jZe(),wbt),e)}function i$t(e){return IL(),zn((uJe(),mbt),e)}function o$t(e){return hS(),zn((GJe(),vbt),e)}function s$t(e){return UL(),zn((WJe(),ybt),e)}function l$t(e){return ip(),zn((dZe(),kbt),e)}function c$t(e){return LI(),zn((oJe(),Cbt),e)}function u$t(e){return N5(),zn((BZe(),Pbt),e)}function a$t(e){return cs(),zn((mtt(),Mbt),e)}function f$t(e){return g5(),zn((XJe(),Obt),e)}function d$t(e){return c1(),zn((YJe(),Rbt),e)}function h$t(e){return bL(),zn((iJe(),Abt),e)}function p$t(e){return hP(),zn((NZe(),Ibt),e)}function g$t(e){return E0(),zn((qJe(),xbt),e)}function b$t(e){return X$(),zn((DZe(),Ebt),e)}function w$t(e){return II(),zn((sJe(),Tbt),e)}function m$t(e){return pa(),zn((pZe(),Lbt),e)}function v$t(e){return up(),zn((Zet(),ivt),e)}function y$t(e){return SS(),zn((JJe(),ovt),e)}function k$t(e){return qm(),zn((LQe(),svt),e)}function C$t(e){return AS(),zn((hZe(),lvt),e)}function S$t(e){return La(),zn((vtt(),cvt),e)}function x$t(e){return Gd(),zn(($Qe(),uvt),e)}function E$t(e){return RI(),zn((lJe(),avt),e)}function T$t(e){return ls(),zn((eQe(),dvt),e)}function I$t(e){return i$(),zn((QJe(),hvt),e)}function P$t(e){return yS(),zn((ZJe(),pvt),e)}function M$t(e){return S5(),zn((tQe(),gvt),e)}function O$t(e){return KL(),zn((nQe(),bvt),e)}function _$t(e){return c$(),zn((rQe(),wvt),e)}function R$t(e){return tw(),zn((fQe(),Avt),e)}function A$t(e){return lS(),zn((cJe(),Nvt),e)}function L$t(e){return Hd(),zn((dJe(),Gvt),e)}function $$t(e){return Zf(),zn((hJe(),Vvt),e)}function j$t(e){return Af(),zn((pJe(),cyt),e)}function D$t(e){return Xb(),zn((gJe(),gyt),e)}function N$t(e){return A4(),zn((HQe(),byt),e)}function B$t(e){return YS(),zn((QKe(),wyt),e)}function F$t(e){return kS(),zn((iQe(),myt),e)}function z$t(e){return CS(),zn((zQe(),zyt),e)}function H$t(e){return hL(),zn((aJe(),Hyt),e)}function K$t(e){return JL(),zn((fJe(),Vyt),e)}function U$t(e){return G$(),zn((gZe(),Xyt),e)}function G$t(e){return qI(),zn((oQe(),Jyt),e)}function W$t(e){return ML(),zn((bJe(),Yyt),e)}function V$t(e){return N$(),zn((FQe(),w2t),e)}function q$t(e){return r$(),zn((sQe(),m2t),e)}function X$t(e){return S$(),zn((lQe(),v2t),e)}function Y$t(e){return L$(),zn((cQe(),k2t),e)}function J$t(e){return w$(),zn((uQe(),x2t),e)}function Q$t(e){return kL(),zn((wJe(),G2t),e)}function Z$t(e){return a5(),zn((rJe(),V0t),e)}function ejt(e){return nn(),zn((FZe(),H0t),e)}function tjt(e){return OL(),zn((aQe(),W2t),e)}function njt(e){return NW(),zn((mJe(),V2t),e)}function rjt(e){return WS(),zn((bZe(),X2t),e)}function ijt(e){return _R(),zn((LYe(),J2t),e)}function ojt(e){return eP(),zn((mQe(),Y2t),e)}function sjt(e){return RR(),zn(($Ye(),Z2t),e)}function ljt(e){return CI(),zn((vJe(),e3t),e)}function cjt(e){return gP(),zn((wZe(),t3t),e)}function ujt(e){return b7(),zn((jYe(),w3t),e)}function ajt(e){return UI(),zn((yJe(),m3t),e)}function fjt(e){return Nf(),zn((vZe(),x3t),e)}function djt(e){return cp(),zn((Bet(),T3t),e)}function hjt(e){return Ch(),zn((zZe(),I3t),e)}function pjt(e){return O0(),zn((HZe(),A3t),e)}function gjt(e){return ji(),zn((mZe(),Q3t),e)}function bjt(e){return od(),zn((vQe(),Z3t),e)}function wjt(e){return d1(),zn((KQe(),e4t),e)}function mjt(e){return V$(),zn((KZe(),t4t),e)}function vjt(e){return f1(),zn((wQe(),r4t),e)}function yjt(e){return Fu(),zn((UQe(),o4t),e)}function kjt(e){return ev(),zn((ttt(),s4t),e)}function Cjt(e){return Vy(),zn((yZe(),l4t),e)}function Sjt(e){return fo(),zn((UZe(),c4t),e)}function xjt(e){return Qc(),zn((GZe(),u4t),e)}function Ejt(e){return ze(),zn((kZe(),a4t),e)}function Tjt(e){return Iu(),zn((GQe(),g4t),e)}function Ijt(e){return du(),zn((ett(),b4t),e)}function Pjt(e){return I4(),zn((yQe(),w4t),e)}function Mjt(e,t){return sn(e),e+(sn(t),t)}function Ojt(e){return KU(),zn((kJe(),m4t),e)}function _jt(e){return v$(),zn((WQe(),v4t),e)}function Rjt(e){return u$(),zn((VQe(),C4t),e)}function jk(){jk=U,u4e=(ze(),rn),sB=fn}function KU(){KU=U,T5e=new QWe,I5e=new DVe}function Ajt(e){return!e.e&&(e.e=new Le),e.e}function UU(e,t){this.c=e,this.a=t,this.b=t-e}function SWe(e,t,n){this.a=e,this.b=t,this.c=n}function GU(e,t,n){this.a=e,this.b=t,this.c=n}function Uce(e,t,n){this.a=e,this.b=t,this.c=n}function Gce(e,t,n){this.a=e,this.b=t,this.c=n}function xWe(e,t,n){this.a=e,this.b=t,this.c=n}function EWe(e,t,n){this.a=e,this.b=t,this.c=n}function U1(e,t,n){this.e=e,this.a=t,this.c=n}function TWe(e,t,n){na(),uae.call(this,e,t,n)}function WU(e,t,n){na(),Wue.call(this,e,t,n)}function Wce(e,t,n){na(),Wue.call(this,e,t,n)}function Vce(e,t,n){na(),Wue.call(this,e,t,n)}function IWe(e,t,n){na(),WU.call(this,e,t,n)}function qce(e,t,n){na(),WU.call(this,e,t,n)}function PWe(e,t,n){na(),qce.call(this,e,t,n)}function MWe(e,t,n){na(),Wce.call(this,e,t,n)}function OWe(e,t,n){na(),Vce.call(this,e,t,n)}function VU(e){LA.call(this,e.d,e.c,e.a,e.b)}function Xce(e){LA.call(this,e.d,e.c,e.a,e.b)}function Yce(e){this.d=e,uje(this),this.b=RDt(e.d)}function Ljt(e){return F5(),zn((Fet(),$4t),e)}function ZT(e,t){return qn(e),qn(t),new Nze(e,t)}function s4(e,t){return qn(e),qn(t),new KWe(e,t)}function $jt(e,t){return qn(e),qn(t),new UWe(e,t)}function jjt(e,t){return qn(e),qn(t),new Vze(e,t)}function qU(e){return yn(e.b!=0),ua(e,e.a.a)}function Djt(e){return yn(e.b!=0),ua(e,e.c.b)}function Njt(e){return!e.c&&(e.c=new fk),e.c}function Dk(e){var t;return t=new Le,mW(t,e),t}function Bjt(e){var t;return t=new _i,mW(t,e),t}function _We(e){var t;return t=new Qoe,_W(t,e),t}function eI(e){var t;return t=new Zr,_W(t,e),t}function u(e,t){return U7(e==null||OV(e,t)),e}function Fjt(e,t,n){OVe.call(this,t,n),this.a=e}function RWe(e,t){this.c=e,this.b=t,this.a=!1}function AWe(){this.a=";,;",this.b="",this.c=""}function LWe(e,t,n){this.b=e,GKe.call(this,t,n)}function Jce(e,t,n){this.c=e,DR.call(this,t,n)}function Qce(e,t,n){Mk.call(this,e,t),this.b=n}function Zce(e,t,n){G1e(n,0,e,t,n.length,!1)}function bh(e,t,n,i,s){e.b=t,e.c=n,e.d=i,e.a=s}function eue(e,t,n,i,s){e.d=t,e.c=n,e.a=i,e.b=s}function zjt(e,t){t&&(e.b=t,e.a=(Qp(t),t.a))}function tI(e,t){if(!e)throw B(new Qt(t))}function l4(e,t){if(!e)throw B(new ks(t))}function tue(e,t){if(!e)throw B(new HFe(t))}function Hjt(e,t){return MR(),yl(e.d.p,t.d.p)}function Kjt(e,t){return u1(),Kr(e.e.b,t.e.b)}function Ujt(e,t){return u1(),Kr(e.e.a,t.e.a)}function Gjt(e,t){return yl(XWe(e.d),XWe(t.d))}function EA(e,t){return t&&XA(e,t.d)?t:null}function Wjt(e,t){return t==(ze(),rn)?e.c:e.d}function nue(e){return rg(GDt(Hs(e)?_a(e):e))}function Vjt(e){return new Me(e.c+e.b,e.d+e.a)}function $We(e){return e!=null&&!gV(e,zx,Hx)}function qjt(e,t){return(gnt(e)<<4|gnt(t))&Di}function jWe(e,t,n,i,s){e.c=t,e.d=n,e.b=i,e.a=s}function rue(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function iue(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function Xjt(e,t){var n;return n=e.c,jfe(e,t),n}function oue(e,t){return t<0?e.g=-1:e.g=t,e}function TA(e,t){return rUt(e),e.a*=t,e.b*=t,e}function DWe(e,t,n){_Ze.call(this,t,n),this.d=e}function nI(e,t,n){xle.call(this,e,t),this.c=n}function IA(e,t,n){xle.call(this,e,t),this.c=n}function sue(e){Nce(),tR.call(this),this.ci(e)}function NWe(){Jk(),bNt.call(this,(Gp(),Wa))}function BWe(e){return Ir(),new wh(0,e)}function FWe(){FWe=U,_te=(Ot(),new iK(LJ))}function PA(){PA=U,new whe((mK(),WJ),(wK(),GJ))}function zWe(){zWe=U,xme=be(Oo,_e,17,256,0,1)}function HWe(){this.b=le(pe(Ke((uf(),EQ))))}function XU(e){this.b=e,this.a=a0(this.b.a).Od()}function KWe(e,t){this.b=e,this.a=t,XH.call(this)}function UWe(e,t){this.a=e,this.b=t,XH.call(this)}function GWe(e,t,n){this.a=e,Ty.call(this,t,n)}function WWe(e,t,n){this.a=e,Ty.call(this,t,n)}function Nk(e,t,n){var i;i=new Rm(n),$f(e,t,i)}function lue(e,t,n){var i;return i=e[t],e[t]=n,i}function MA(e){var t;return t=e.slice(),fW(t,e)}function OA(e){var t;return t=e.n,e.a.b+t.d+t.a}function VWe(e){var t;return t=e.n,e.e.b+t.d+t.a}function cue(e){var t;return t=e.n,e.e.a+t.b+t.c}function uue(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function or(e,t){return gi(e,t,e.c.b,e.c),!0}function Yjt(e){return e.a?e.a:SG(e)}function Jjt(e){return g4(),Sh(e)==ri(ug(e))}function Qjt(e){return g4(),ug(e)==ri(Sh(e))}function Db(e,t){return NS(e,new Mk(t.a,t.b))}function Zjt(e,t){return JA(),NV(e,t),new gqe(e,t)}function eDt(e,t){return e.c=t)throw B(new ose)}function Om(e,t){return QI(e,(sn(t),new bje(t)))}function u4(e,t){return QI(e,(sn(t),new wje(t)))}function RVe(e,t,n){return Tan(e,u(t,12),u(n,12))}function AVe(e){return Dc(),u(e,12).g.c.length!=0}function LVe(e){return Dc(),u(e,12).e.c.length!=0}function NDt(e,t){return x4(),Kr(t.a.o.a,e.a.o.a)}function BDt(e,t){t.Bb&wl&&!e.a.o&&(e.a.o=t)}function FDt(e,t){t.Ug("General 'Rotator",1),eun(e)}function zDt(e,t,n){t.qf(n,le(pe(pn(e.b,n)))*e.a)}function $Ve(e,t,n){return r2(),f5(e,t)&&f5(e,n)}function q7(e){return Qc(),!e.Hc(T1)&&!e.Hc($g)}function HDt(e){return e.e?Yae(e.e):null}function X7(e){return Hs(e)?""+e:zlt(e)}function Pue(e){var t;for(t=e;t.f;)t=t.f;return t}function KDt(e,t,n){return pi(t,0,pue(t[0],n[0])),t}function G1(e,t,n,i){var s;s=e.i,s.i=t,s.a=n,s.b=i}function Se(e,t,n,i){Ai.call(this,e,t,n),this.b=i}function ro(e,t,n,i,s){uW.call(this,e,t,n,i,s,-1)}function Y7(e,t,n,i,s){xI.call(this,e,t,n,i,s,-1)}function UA(e,t,n,i){nI.call(this,e,t,n),this.b=i}function jVe(e){AKe.call(this,e,!1),this.a=!1}function DVe(){dKe.call(this,"LOOKAHEAD_LAYOUT",1)}function NVe(e){this.b=e,n4.call(this,e),KUe(this)}function BVe(e){this.b=e,UT.call(this,e),UUe(this)}function _m(e,t,n){this.a=e,i4.call(this,t,n,5,6)}function Mue(e,t,n,i){this.b=e,Ai.call(this,t,n,i)}function FVe(e,t){this.b=e,W$e.call(this,e.b),this.a=t}function zVe(e){this.a=Trt(e.a),this.b=new Vc(e.b)}function Oue(e,t){Hb(),y_t.call(this,e,h$(new Wc(t)))}function GA(e,t){return Ir(),new Gue(e,t,0)}function cG(e,t){return Ir(),new Gue(6,e,t)}function To(e,t){for(sn(t);e.Ob();)t.Cd(e.Pb())}function rc(e,t){return lo(t)?_G(e,t):!!ss(e.f,t)}function uG(e,t){return t.Vh()?sg(e.b,u(t,54)):t}function UDt(e,t){return Et(e.substr(0,t.length),t)}function mh(e){return new gn(new Jle(e.a.length,e.a))}function WA(e){return new Me(e.c+e.b/2,e.d+e.a/2)}function GDt(e){return nc(~e.l&hu,~e.m&hu,~e.h&v1)}function aG(e){return typeof e===jP||typeof e===oX}function qc(e){e.f=new lUe(e),e.i=new cUe(e),++e.g}function HVe(e){if(!e)throw B(new qs);return e.d}function a4(e){var t;return t=vS(e),yn(t!=null),t}function WDt(e){var t;return t=cVt(e),yn(t!=null),t}function Fk(e,t){var n;return n=e.a.gc(),Gae(t,n),n-t}function Fi(e,t){var n;return n=e.a.zc(t,e),n==null}function iI(e,t){return e.a.zc(t,(Gt(),kg))==null}function _ue(e){return new xt(null,JDt(e,e.length))}function Rue(e,t,n){return fut(e,u(t,42),u(n,176))}function f4(e,t,n){return sf(e.a,t),lue(e.b,t.g,n)}function VDt(e,t,n){Bk(n,e.a.c.length),la(e.a,n,t)}function he(e,t,n,i){Htt(t,n,e.length),qDt(e,t,n,i)}function qDt(e,t,n,i){var s;for(s=t;s0?w.Math.log(e/t):-100}function UVe(e,t){return kl(e,t)<0?-1:kl(e,t)>0?1:0}function oI(e,t){$Ue(e,te(t,160)?t:u(t,2036).Rl())}function jue(e,t){if(e==null)throw B(new U3(t))}function JDt(e,t){return ZKt(t,e.length),new JWe(e,t)}function Due(e,t){return t?vo(e,t):!1}function QDt(){return gR(),H(F(dpt,1),Te,549,0,[XJ])}function Q7(e){return e.e==0?e:new d0(-e.e,e.d,e.a)}function ZDt(e,t){return Kr(e.c.c+e.c.b,t.c.c+t.c.b)}function sI(e,t){gi(e.d,t,e.b.b,e.b),++e.a,e.c=null}function GVe(e,t){return e.c?GVe(e.c,t):$e(e.b,t),e}function eNt(e,t,n){var i;return i=Bm(e,t),VG(e,t,n),i}function WVe(e,t,n){var i;for(i=0;i=e.g}function pi(e,t,n){return GAt(n==null||Bon(e,n)),e[t]=n}function Hue(e,t){return Zt(t,e.length+1),e.substr(t)}function yG(e,t){for(sn(t);e.c=e?new Bse:SUt(e-1)}function Io(e){return!e.a&&e.c?e.c.b:e.a}function Vue(e){return te(e,616)?e:new fXe(e)}function Qp(e){e.c?Qp(e.c):(lg(e),e.d=!0)}function tS(e){e.c?e.c.$e():(e.d=!0,znn(e))}function dqe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function hqe(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function vNt(e,t){var n;n=e.Ih(t),n>=0?e.ki(n):j1e(e,t)}function pqe(e,t){e.c<0||e.b.b0;)e=e<<1|(e<0?1:0);return e}function Cqe(e,t){var n;return n=new Ll(e),Ft(t.c,n),n}function Sqe(e,t){e.u.Hc((Qc(),T1))&&xen(e,t),HHt(e,t)}function gl(e,t){return fe(e)===fe(t)||e!=null&&Rr(e,t)}function gs(e,t){return eG(e.a,t)?e.b[u(t,22).g]:null}function RNt(){return PR(),H(F(pve,1),Te,489,0,[mQ])}function ANt(){return _R(),H(F(H6e,1),Te,490,0,[Hee])}function LNt(){return RR(),H(F(Q2t,1),Te,558,0,[Kee])}function $Nt(){return b7(),H(F(uke,1),Te,539,0,[oO])}function QA(e){return!e.n&&(e.n=new Se(ms,e,1,7)),e.n}function CG(e){return!e.c&&(e.c=new Se(ru,e,9,9)),e.c}function Jue(e){return!e.c&&(e.c=new jt(Tn,e,5,8)),e.c}function jNt(e){return!e.b&&(e.b=new jt(Tn,e,4,7)),e.b}function lI(e){return e.j.c.length=0,Zue(e.c),pLt(e.a),e}function Gk(e){return e.e==y8&&eOt(e,Oqt(e.g,e.b)),e.e}function cI(e){return e.f==y8&&nOt(e,kYt(e.g,e.b)),e.f}function yr(e,t,n,i){return qet(e,t,n,!1),p$(e,i),e}function xqe(e,t){this.b=e,fG.call(this,e,t),KUe(this)}function Eqe(e,t){this.b=e,$ce.call(this,e,t),UUe(this)}function nS(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function Que(e,t){this.b=e,this.c=t,this.a=new X3(this.b)}function Lo(e,t){return Zt(t,e.length),e.charCodeAt(t)}function DNt(e,t){Bde(e,le(a1(t,"x")),le(a1(t,"y")))}function NNt(e,t){Bde(e,le(a1(t,"x")),le(a1(t,"y")))}function Ar(e,t){return lg(e),new xt(e,new ufe(t,e.a))}function As(e,t){return lg(e),new xt(e,new qae(t,e.a))}function Am(e,t){return lg(e),new hce(e,new LJe(t,e.a))}function ZA(e,t){return lg(e),new pce(e,new $Je(t,e.a))}function BNt(e,t){return new Xqe(u(qn(e),50),u(qn(t),50))}function FNt(e,t){return Kr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function Tqe(e,t,n){n.a?sc(e,t.b-e.f/2):oc(e,t.a-e.g/2)}function zNt(e,t){return Kr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function HNt(e,t){return Hse(),Kr((sn(e),e),(sn(t),t))}function KNt(e){return e!=null&&kT(QB,e.toLowerCase())}function Zue(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function jy(e){var t;return t=e.b,!t&&(e.b=t=new N$e(e)),t}function SG(e){var t;return t=IUt(e),t||null}function Iqe(e,t){var n,i;return n=e/t,i=Wi(n),n>i&&++i,i}function UNt(e,t,n){var i;i=u(e.d.Kb(n),159),i&&i.Nb(t)}function GNt(e,t,n){Vsn(e.a,n),xGt(n),ptn(e.b,n),hln(t,n)}function eL(e,t,n,i){this.a=e,this.c=t,this.b=n,this.d=i}function eae(e,t,n,i){this.c=e,this.b=t,this.a=n,this.d=i}function Pqe(e,t,n,i){this.c=e,this.b=t,this.d=n,this.a=i}function ia(e,t,n,i){this.c=e,this.d=t,this.b=n,this.a=i}function Mqe(e,t,n,i){this.a=e,this.d=t,this.c=n,this.b=i}function xG(e,t,n,i){this.a=e,this.e=t,this.d=n,this.c=i}function Oqe(e,t,n,i){this.a=e,this.c=t,this.d=n,this.b=i}function EG(e,t,n){this.a=Ige,this.d=e,this.b=t,this.c=n}function h4(e,t,n,i){Fn.call(this,e,t),this.a=n,this.b=i}function _qe(e,t){this.d=(sn(e),e),this.a=16449,this.c=t}function Rqe(e){this.a=new Le,this.e=be(Bn,_e,53,e,0,2)}function WNt(e){e.Ug("No crossing minimization",1),e.Vg()}function Aqe(){Xs.call(this,"There is no more element.")}function Lqe(e,t,n,i){this.a=e,this.b=t,this.c=n,this.d=i}function $qe(e,t,n,i){this.a=e,this.b=t,this.c=n,this.d=i}function p0(e,t,n,i){this.e=e,this.a=t,this.c=n,this.d=i}function jqe(e,t,n,i){this.a=e,this.c=t,this.d=n,this.b=i}function Dqe(e,t,n,i){na(),jJe.call(this,t,n,i),this.a=e}function Nqe(e,t,n,i){na(),jJe.call(this,t,n,i),this.a=e}function TG(e,t,n){var i,s;return i=hge(e),s=t.ti(n,i),s}function t1(e){var t,n;return n=(t=new yb,t),n5(n,e),n}function IG(e){var t,n;return n=(t=new yb,t),b1e(n,e),n}function VNt(e,t){var n;return n=pn(e.f,t),Xfe(t,n),null}function Bqe(e){return!e.b&&(e.b=new Se(Ti,e,12,3)),e.b}function Fqe(e){return U7(e==null||aG(e)&&e.Tm!==xe),e}function tL(e){return e.n&&(e.e!==Kat&&e.je(),e.j=null),e}function Wk(e){if(au(e.d),e.d.d!=e.c)throw B(new ea)}function tae(e){return yn(e.b0&&yit(this)}function zqe(e,t){this.a=e,WAt.call(this,e,u(e.d,15).fd(t))}function qNt(e,t){return Kr(Lc(e)*xu(e),Lc(t)*xu(t))}function XNt(e,t){return Kr(Lc(e)*xu(e),Lc(t)*xu(t))}function YNt(e){return fw(e)&&qe(Ve(Ie(e,(Ue(),X0))))}function JNt(e,t){return It(e,u(A(t,(Ue(),F8)),17),t)}function QNt(e,t){return u(A(e,(Oe(),c6)),15).Fc(t),t}function nae(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function Hqe(e,t,n,i){this.b=e,this.c=i,sA.call(this,t,n)}function ZNt(e,t,n){e.i=0,e.e=0,t!=n&&Itt(e,t,n)}function eBt(e,t,n){e.i=0,e.e=0,t!=n&&Ptt(e,t,n)}function tBt(e,t,n){return g7(),PVt(u(pn(e.e,t),529),n)}function p4(e){var t;return t=e.f,t||(e.f=new Tk(e,e.c))}function Kqe(e,t){return Wy(e.j,t.s,t.c)+Wy(t.e,e.s,e.c)}function Uqe(e,t){e.e&&!e.e.a&&(_Be(e.e,t),Uqe(e.e,t))}function Gqe(e,t){e.d&&!e.d.a&&(_Be(e.d,t),Gqe(e.d,t))}function nBt(e,t){return-Kr(Lc(e)*xu(e),Lc(t)*xu(t))}function rBt(e){return u(e.ld(),149).Pg()+":"+Us(e.md())}function Wqe(){sq(this,new poe),this.wb=(Jp(),Wt),Sk()}function Vqe(e){this.b=new Le,zi(this.b,this.b),this.a=e}function rae(e,t){new Zr,this.a=new _c,this.b=e,this.c=t}function Wb(){Wb=U,jme=new qt,rQ=new qt,Dme=new on}function Ot(){Ot=U,Jo=new ft,Rh=new Jt,FD=new un}function iae(){iae=U,Gpt=new Ro,Vpt=new vue,Wpt=new Ao}function g4(){g4=U,qD=new Le,CQ=new On,kQ=new Le}function nL(e,t){if(e==null)throw B(new U3(t));return e}function rL(e){return!e.a&&(e.a=new Se(xr,e,10,11)),e.a}function Dr(e){return!e.q&&(e.q=new Se(Ga,e,11,10)),e.q}function me(e){return!e.s&&(e.s=new Se(Tc,e,21,17)),e.s}function iBt(e){return qn(e),jrt(new gn(wn(e.a.Kc(),new j)))}function oBt(e,t){return Tu(e),Tu(t),zFe(u(e,22),u(t,22))}function g0(e,t,n){var i,s;i=Dce(n),s=new rR(i),$f(e,t,s)}function MG(e,t,n,i,s,c){xI.call(this,e,t,n,i,s,c?-2:-1)}function qqe(e,t,n,i){xle.call(this,t,n),this.b=e,this.a=i}function Xqe(e,t){TOt.call(this,new lG(e)),this.a=e,this.b=t}function oae(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function sBt(e){tf();var t;t=u(e.g,10),t.n.a=e.d.c+t.d.b}function Vk(){Vk=U;var e,t;t=!hqt(),e=new mt,QJ=t?new et:e}function OG(e){return Ot(),te(e,59)?new TK(e):new pA(e)}function iL(e){return te(e,16)?new G7(u(e,16)):Bjt(e.Kc())}function lBt(e){return new WUe(e,e.e.Rd().gc()*e.c.Rd().gc())}function cBt(e){return new VUe(e,e.e.Rd().gc()*e.c.Rd().gc())}function sae(e){return e&&e.hashCode?e.hashCode():$b(e)}function _G(e,t){return t==null?!!ss(e.f,null):xDt(e.i,t)}function uBt(e,t){var n;return n=Hle(e.a,t),n&&(t.d=null),n}function Yqe(e,t,n){return e.f?e.f.ef(t,n):!1}function uI(e,t,n,i){pi(e.c[t.g],n.g,i),pi(e.c[n.g],t.g,i)}function RG(e,t,n,i){pi(e.c[t.g],t.g,n),pi(e.b[t.g],t.g,i)}function aBt(e,t,n){return le(pe(n.a))<=e&&le(pe(n.b))>=t}function Jqe(e,t){this.g=e,this.d=H(F(Lh,1),fp,10,0,[t])}function Qqe(e){this.c=e,this.b=new z1(u(qn(new zs),50))}function Zqe(e){this.c=e,this.b=new z1(u(qn(new oEe),50))}function eXe(e){this.b=e,this.a=new z1(u(qn(new fr),50))}function tXe(){this.b=new _i,this.d=new Zr,this.e=new sse}function lae(){this.c=new po,this.d=new po,this.e=new po}function Vb(){this.a=new _c,this.b=(Nu(3,lv),new ql(3))}function W1(e,t){this.e=e,this.a=Ji,this.b=rct(t),this.c=t}function oL(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function nXe(e,t,n,i,s,c){this.a=e,xW.call(this,t,n,i,s,c)}function rXe(e,t,n,i,s,c){this.a=e,xW.call(this,t,n,i,s,c)}function Zp(e,t,n,i,s,c,d){return new XG(e.e,t,n,i,s,c,d)}function fBt(e,t,n){return n>=0&&Et(e.substr(n,t.length),t)}function iXe(e,t){return te(t,149)&&Et(e.b,u(t,149).Pg())}function dBt(e,t){return e.a?t.Gh().Kc():u(t.Gh(),71).Ii()}function oXe(e,t){var n;return n=e.b.Qc(t),ZYe(n,e.b.gc()),n}function aI(e,t){if(e==null)throw B(new U3(t));return e}function Ls(e){return e.u||(cu(e),e.u=new NGe(e,e)),e.u}function AG(e){this.a=(Ot(),te(e,59)?new TK(e):new pA(e))}function mc(e){var t;return t=u(Yt(e,16),29),t||e.ii()}function sL(e,t){var n;return n=l0(e.Rm),t==null?n:n+": "+t}function oa(e,t,n){return mo(t,n,e.length),e.substr(t,n-t)}function sXe(e,t){vA.call(this),mfe(this),this.a=e,this.c=t}function hBt(e){e&&sL(e,e.ie())}function pBt(e){mR(),w.setTimeout(function(){throw e},0)}function gBt(){return P$(),H(F(Gme,1),Te,436,0,[fQ,Ume])}function bBt(){return $L(),H(F(Vme,1),Te,435,0,[Wme,dQ])}function wBt(){return jL(),H(F(kve,1),Te,432,0,[SQ,XD])}function mBt(){return a5(),H(F(W0t,1),Te,517,0,[OM,DQ])}function vBt(){return bL(),H(F(i2e,1),Te,429,0,[hZ,r2e])}function yBt(){return LI(),H(F(Hye,1),Te,428,0,[EN,zye])}function kBt(){return IL(),H(F(Lye,1),Te,431,0,[Aye,QQ])}function CBt(){return RI(),H(F(Y3e,1),Te,430,0,[qZ,XZ])}function SBt(){return lS(),H(F(Dvt,1),Te,531,0,[fx,ax])}function xBt(){return JL(),H(F(W4e,1),Te,501,0,[gB,H2])}function EBt(){return Hd(),H(F(Uvt,1),Te,523,0,[Hw,mp])}function TBt(){return Zf(),H(F(Wvt,1),Te,522,0,[eb,wd])}function IBt(){return Af(),H(F(lyt,1),Te,528,0,[$v,Pg])}function PBt(){return II(),H(F(Gye,1),Te,488,0,[Uye,IN])}function MBt(){return kL(),H(F($6e,1),Te,491,0,[Bee,L6e])}function OBt(){return NW(),H(F(z6e,1),Te,492,0,[B6e,F6e])}function _Bt(){return hL(),H(F(G4e,1),Te,433,0,[wee,U4e])}function RBt(){return ML(),H(F(q4e,1),Te,434,0,[V4e,See])}function ABt(){return Xb(),H(F(pyt,1),Te,465,0,[Mg,B2])}function LBt(){return CI(),H(F(K6e,1),Te,438,0,[Uee,TB])}function $Bt(){return UI(),H(F(fke,1),Te,437,0,[PB,ake])}function jBt(){return KU(),H(F(KB,1),Te,347,0,[T5e,I5e])}function lL(e,t,n,i){return n>=0?e.Uh(t,n,i):e.Ch(null,n,i)}function fI(e){return e.b.b==0?e.a.sf():qU(e.b)}function DBt(e){if(e.p!=5)throw B(new Oc);return Vn(e.f)}function NBt(e){if(e.p!=5)throw B(new Oc);return Vn(e.k)}function cae(e){return fe(e.a)===fe((jW(),Pte))&&jln(e),e.a}function BBt(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=$A(e.c,e.b,e.a))}function FBt(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=$A(e.c,e.b,e.a))}function lXe(e,t){NMt(this,new Me(e.a,e.b)),BMt(this,eI(t))}function qb(){IOt.call(this,new q3(Fm(12))),Vle(!0),this.a=2}function LG(e,t,n){Ir(),vb.call(this,e),this.b=t,this.a=n}function uae(e,t,n){na(),uR.call(this,t),this.a=e,this.b=n}function cXe(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function zBt(e){return e.b==0?null:(yn(e.b!=0),ua(e,e.a.a))}function $l(e,t){return t==null?Rs(ss(e.f,null)):y7(e.i,t)}function uXe(e,t,n,i,s){return new cq(e,(e5(),lQ),t,n,i,s)}function cL(e,t){return YYe(t),fUt(e,be(Bn,ur,28,t,15,1),t)}function uL(e,t){return nL(e,"set1"),nL(t,"set2"),new Qze(e,t)}function HBt(e,t){var n=JJ[e.charCodeAt(0)];return n??e}function aXe(e,t){var n,i;return n=t,i=new Mn,But(e,n,i),i.d}function $G(e,t,n,i){var s;s=new zGe,t.a[n.g]=s,f4(e.b,i,s)}function KBt(e,t){var n;return n=cUt(e.f,t),Or(mA(n),e.f.d)}function dI(e){var t;vUt(e.a),wUe(e.a),t=new sR(e.a),Xde(t)}function UBt(e,t){Vlt(e,!0),ic(e.e.Rf(),new zce(e,!0,t))}function GBt(e,t){return g4(),e==ri(Sh(t))||e==ri(ug(t))}function WBt(e,t){return u1(),u(A(t,(sl(),ch)),17).a==e}function Wi(e){return Math.max(Math.min(e,Mr),-2147483648)|0}function fXe(e){this.a=u(qn(e),277),this.b=(Ot(),new ece(e))}function dXe(e,t,n){this.i=new Le,this.b=e,this.g=t,this.a=n}function aae(e,t,n){this.a=new Le,this.e=e,this.f=t,this.c=n}function aL(e,t,n){this.c=new Le,this.e=e,this.f=t,this.b=n}function hXe(e){vA.call(this),mfe(this),this.a=e,this.c=!0}function VBt(e){function t(){}return t.prototype=e||{},new t}function qBt(e){if(e.Ae())return null;var t=e.n;return LD[t]}function hI(e){return e.Db>>16!=3?null:u(e.Cb,27)}function Qf(e){return e.Db>>16!=9?null:u(e.Cb,27)}function pXe(e){return e.Db>>16!=6?null:u(e.Cb,74)}function Xb(){Xb=U,Mg=new dle(U4,0),B2=new dle(G4,1)}function Hd(){Hd=U,Hw=new ule(G4,0),mp=new ule(U4,1)}function Zf(){Zf=U,eb=new ale(GX,0),wd=new ale("UP",1)}function gXe(){gXe=U,hpt=Hn((gR(),H(F(dpt,1),Te,549,0,[XJ])))}function bXe(e){var t;return t=new CR(Fm(e.length)),cde(t,e),t}function wXe(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function XBt(e,t){return ott(e,t)?(ZZe(e),!0):!1}function n1(e,t){if(t==null)throw B(new B3);return gqt(e,t)}function pI(e,t){var n;n=e.q.getHours(),e.q.setDate(t),QS(e,n)}function fae(e,t,n){var i;i=e.Ih(t),i>=0?e.bi(i,n):upe(e,t,n)}function mXe(e,t){var n;return n=e.Ih(t),n>=0?e.Wh(n):pq(e,t)}function vXe(e,t){var n;for(qn(t),n=e.a;n;n=n.c)t.Yd(n.g,n.i)}function jG(e,t,n){var i;i=Ett(e,t,n),e.b=new ZL(i.c.length)}function Dy(e,t,n){fL(),e&&vr(Ete,e,t),e&&vr(IO,e,n)}function YBt(e,t){return xA(),Gt(),u(t.a,17).a0}function dae(e){var t;return t=e.d,t=e.bj(e.f),Dn(e,t),t.Ob()}function yXe(e,t){var n;return n=new bue(t),Vit(n,e),new Vc(n)}function ZBt(e){if(e.p!=0)throw B(new Oc);return R7(e.f,0)}function eFt(e){if(e.p!=0)throw B(new Oc);return R7(e.k,0)}function kXe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function qk(e){return e.Db>>16!=6?null:u(e.Cb,241)}function CXe(e){return e.Db>>16!=7?null:u(e.Cb,167)}function ri(e){return e.Db>>16!=11?null:u(e.Cb,27)}function Lm(e){return e.Db>>16!=17?null:u(e.Cb,29)}function SXe(e){return e.Db>>16!=3?null:u(e.Cb,155)}function hae(e){var t;return lg(e),t=new _i,Ar(e,new Mje(t))}function xXe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.ve(t))}function tFt(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),QS(e,n)}function EXe(e,t){dA(this),this.f=t,this.g=e,tL(this),this.je()}function TXe(e,t){this.a=e,this.c=Eo(this.a),this.b=new oL(t)}function IXe(e,t,n){this.a=t,this.c=e,this.b=(qn(n),new Vc(n))}function PXe(e,t,n){this.a=t,this.c=e,this.b=(qn(n),new Vc(n))}function MXe(e){this.a=e,this.b=be(Lvt,_e,2043,e.e.length,0,2)}function OXe(){this.a=new Dd,this.e=new _i,this.g=0,this.i=0}function fL(){fL=U,Ete=new On,IO=new On,X_t(_pt,new vRe)}function _Xe(){_Xe=U,mvt=$c(new Li,($o(),Ns),(Uo(),_M))}function pae(){pae=U,vvt=$c(new Li,($o(),Ns),(Uo(),_M))}function RXe(){RXe=U,kvt=$c(new Li,($o(),Ns),(Uo(),_M))}function AXe(){AXe=U,Bvt=cr(new Li,($o(),Ns),(Uo(),K9))}function Lu(){Lu=U,Hvt=cr(new Li,($o(),Ns),(Uo(),K9))}function LXe(){LXe=U,Kvt=cr(new Li,($o(),Ns),(Uo(),K9))}function NG(){NG=U,qvt=cr(new Li,($o(),Ns),(Uo(),K9))}function rS(e,t,n,i,s,c){return new l1(e.e,t,e.Lj(),n,i,s,c)}function Cs(e,t,n){return t==null?Jl(e.f,null,n):ow(e.i,t,n)}function zo(e,t){e.c&&vc(e.c.g,e),e.c=t,e.c&&$e(e.c.g,e)}function bo(e,t){e.c&&vc(e.c.a,e),e.c=t,e.c&&$e(e.c.a,e)}function Js(e,t){e.i&&vc(e.i.j,e),e.i=t,e.i&&$e(e.i.j,e)}function ao(e,t){e.d&&vc(e.d.e,e),e.d=t,e.d&&$e(e.d.e,e)}function BG(e,t){e.a&&vc(e.a.k,e),e.a=t,e.a&&$e(e.a.k,e)}function FG(e,t){e.b&&vc(e.b.f,e),e.b=t,e.b&&$e(e.b.f,e)}function $Xe(e,t){hNt(e,e.b,e.c),u(e.b.b,68),t&&u(t.b,68).b}function nFt(e,t){return Kr(u(e.c,65).c.e.b,u(t.c,65).c.e.b)}function rFt(e,t){return Kr(u(e.c,65).c.e.a,u(t.c,65).c.e.a)}function iFt(e){return nV(),Gt(),u(e.a,86).d.e!=0}function dL(e,t){te(e.Cb,184)&&(u(e.Cb,184).tb=null),Xl(e,t)}function zG(e,t){te(e.Cb,90)&&Zm(cu(u(e.Cb,90)),4),Xl(e,t)}function oFt(e,t){Fde(e,t),te(e.Cb,90)&&Zm(cu(u(e.Cb,90)),2)}function sFt(e,t){var n,i;n=t.c,i=n!=null,i&&d4(e,new Rm(t.c))}function jXe(e){var t,n;return n=(Sk(),t=new yb,t),n5(n,e),n}function DXe(e){var t,n;return n=(Sk(),t=new yb,t),n5(n,e),n}function NXe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function lFt(e,t,n){return $e(e.a,(JA(),NV(t,n),new Ib(t,n))),e}function jl(e,t){return rs(),bW(t)?new _A(t,e):new BT(t,e)}function gI(e){return Vd(),kl(e,0)>=0?cg(e):Q7(cg(J1(e)))}function cFt(e){var t;return t=u(MA(e.b),9),new ra(e.a,t,e.c)}function BXe(e,t){var n;return n=u(Gm(p4(e.a),t),16),n?n.gc():0}function FXe(e,t,n){var i;hnt(t,n,e.c.length),i=n-t,jse(e.c,t,i)}function V1(e,t,n){hnt(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function b4(e){this.c=new Zr,this.b=e.b,this.d=e.c,this.a=e.a}function HG(e){this.a=w.Math.cos(e),this.b=w.Math.sin(e)}function b0(e,t,n,i){this.c=e,this.d=i,BG(this,t),FG(this,n)}function gae(e,t){EOt.call(this,new q3(Fm(e))),Nu(t,Dat),this.a=t}function zXe(e,t,n){return new cq(e,(e5(),sQ),null,!1,t,n)}function HXe(e,t,n){return new cq(e,(e5(),cQ),t,n,null,!1)}function uFt(){return Jc(),H(F(Ts,1),Te,108,0,[Kme,Ws,bv])}function aFt(){return yc(),H(F(ngt,1),Te,472,0,[zf,Sg,df])}function fFt(){return Yc(),H(F(egt,1),Te,471,0,[oh,Cg,ff])}function dFt(){return jf(),H(F(wv,1),Te,237,0,[ul,Ql,al])}function hFt(){return aS(),H(F(jve,1),Te,391,0,[IQ,TQ,PQ])}function pFt(){return nw(),H(F(KQ,1),Te,372,0,[Ow,xg,Mw])}function gFt(){return hS(),H(F(jye,1),Te,322,0,[G9,LM,$ye])}function bFt(){return UL(),H(F(Nye,1),Te,351,0,[Dye,xN,ZQ])}function wFt(){return E0(),H(F(Sbt,1),Te,460,0,[nZ,L8,I2])}function mFt(){return g5(),H(F(dZ,1),Te,299,0,[aZ,fZ,$M])}function vFt(){return c1(),H(F(_bt,1),Te,311,0,[jM,M2,o6])}function yFt(){return SS(),H(F(F3e,1),Te,390,0,[zZ,B3e,tB])}function kFt(){return ls(),H(F(fvt,1),Te,463,0,[lx,eu,Zl])}function CFt(){return i$(),H(F(Z3e,1),Te,387,0,[J3e,YZ,Q3e])}function SFt(){return yS(),H(F(e4e,1),Te,349,0,[QZ,JZ,VM])}function xFt(){return S5(),H(F(n4e,1),Te,350,0,[ZZ,t4e,cx])}function EFt(){return KL(),H(F(o4e,1),Te,352,0,[i4e,eee,r4e])}function TFt(){return c$(),H(F(s4e,1),Te,388,0,[tee,V8,Lv])}function IFt(){return tw(),H(F(Rvt,1),Te,464,0,[qM,ux,oB])}function ed(e){return Zs(H(F(to,1),_e,8,0,[e.i.n,e.n,e.a]))}function PFt(){return kS(),H(F(S4e,1),Te,392,0,[C4e,iee,YM])}function KXe(){KXe=U,Kyt=$c(new Li,(A4(),hx),(YS(),h4e))}function hL(){hL=U,wee=new hle("DFS",0),U4e=new hle("BFS",1)}function UXe(e,t,n){var i;i=new IMe,i.b=t,i.a=n,++t.b,$e(e.d,i)}function MFt(e,t,n){var i;i=new Vo(n.d),Or(i,e),Bde(t,i.a,i.b)}function OFt(e,t){DUe(e,Vn(Yi(Bb(t,24),Pj)),Vn(Yi(t,Pj)))}function $m(e,t){if(e<0||e>t)throw B(new ys(jge+e+Dge+t))}function _t(e,t){if(e<0||e>=t)throw B(new ys(jge+e+Dge+t))}function Zt(e,t){if(e<0||e>=t)throw B(new Sse(jge+e+Dge+t))}function Pt(e,t){this.b=(sn(e),e),this.a=t&cv?t:t|64|Xd}function bae(e){var t;return lg(e),t=(Wb(),Wb(),rQ),BL(e,t)}function _Ft(e,t,n){var i;return i=t9(e,t,!1),i.b<=t&&i.a<=n}function RFt(){return OL(),H(F(N6e,1),Te,439,0,[Fee,D6e,j6e])}function AFt(){return w$(),H(F(v6e,1),Te,394,0,[m6e,$ee,w6e])}function LFt(){return S$(),H(F(b6e,1),Te,445,0,[tO,vB,Mee])}function $Ft(){return L$(),H(F(y2t,1),Te,456,0,[Oee,Ree,_ee])}function jFt(){return qI(),H(F(J4e,1),Te,393,0,[bB,X4e,Y4e])}function DFt(){return r$(),H(F(g6e,1),Te,300,0,[Pee,p6e,h6e])}function NFt(){return f1(),H(F(m5e,1),Te,346,0,[jB,Cp,Rx])}function BFt(){return eP(),H(F(zee,1),Te,444,0,[SB,xB,EB])}function FFt(){return od(),H(F(s5e,1),Te,278,0,[eC,Bv,tC])}function zFt(){return I4(),H(F(E5e,1),Te,280,0,[x5e,zv,HB])}function Yb(e){return qn(e),te(e,16)?new Vc(u(e,16)):Dk(e.Kc())}function wae(e,t){return e&&e.equals?e.equals(t):fe(e)===fe(t)}function Yi(e,t){return rg(ADt(Hs(e)?_a(e):e,Hs(t)?_a(t):t))}function Rf(e,t){return rg(LDt(Hs(e)?_a(e):e,Hs(t)?_a(t):t))}function KG(e,t){return rg($Dt(Hs(e)?_a(e):e,Hs(t)?_a(t):t))}function HFt(e,t){var n;return n=(sn(e),e).g,fce(!!n),sn(t),n(t)}function GXe(e,t){var n,i;return i=Fk(e,t),n=e.a.fd(i),new Yze(e,n)}function KFt(e){return e.Db>>16!=6?null:u(wq(e),241)}function UFt(e){if(e.p!=2)throw B(new Oc);return Vn(e.f)&Di}function GFt(e){if(e.p!=2)throw B(new Oc);return Vn(e.k)&Di}function D(e){return yn(e.ai?1:0}function XXe(e,t){var n,i;return n=dW(t),i=n,u(pn(e.c,i),17).a}function UG(e,t,n){var i;i=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=i}function nzt(e,t,n){var i;e.n&&t&&n&&(i=new aRe,$e(e.e,i))}function GG(e,t){if(Fi(e.a,t),t.d)throw B(new Xs(sft));t.d=e}function yae(e,t){this.a=new Le,this.d=new Le,this.f=e,this.c=t}function YXe(){this.c=new AUe,this.a=new BJe,this.b=new JBe,gHe()}function JXe(){E4(),this.b=new On,this.a=new On,this.c=new Le}function QXe(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function ZXe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function eYe(e,t,n,i,s,c){yfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function tYe(e,t,n,i,s,c){kfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function nYe(e,t,n,i,s,c){Nae.call(this,e,t,n,i,s),c&&(this.o=-2)}function rYe(e,t,n,i,s,c){xfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function iYe(e,t,n,i,s,c){Bae.call(this,e,t,n,i,s),c&&(this.o=-2)}function oYe(e,t,n,i,s,c){Cfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function sYe(e,t,n,i,s,c){Sfe.call(this,e,t,n,i,s),c&&(this.o=-2)}function lYe(e,t,n,i,s,c){Fae.call(this,e,t,n,i,s),c&&(this.o=-2)}function cYe(e,t,n,i){uR.call(this,n),this.b=e,this.c=t,this.d=i}function uYe(e,t){this.f=e,this.a=(Jk(),tF),this.c=tF,this.b=t}function aYe(e,t){this.g=e,this.d=(Jk(),nF),this.a=nF,this.b=t}function kae(e,t){!e.c&&(e.c=new vi(e,0)),mj(e.c,(zr(),Ux),t)}function rzt(e,t){return Btn(e,t,te(t,102)&&(u(t,19).Bb&es)!=0)}function izt(e,t){return UVe(bl(e.q.getTime()),bl(t.q.getTime()))}function fYe(e){return JU(e.e.Rd().gc()*e.c.Rd().gc(),16,new $$e(e))}function ozt(e){return!!e.u&&Pl(e.u.a).i!=0&&!(e.n&&LV(e.n))}function szt(e){return!!e.a&&uu(e.a.a).i!=0&&!(e.b&&$V(e.b))}function Cae(e,t){return t==0?!!e.o&&e.o.f!=0:PV(e,t)}function lzt(e,t,n){var i;return i=u(e.Zb().xc(t),16),!!i&&i.Hc(n)}function dYe(e,t,n){var i;return i=u(e.Zb().xc(t),16),!!i&&i.Mc(n)}function hYe(e,t){var n;return n=1-t,e.a[n]=QL(e.a[n],n),QL(e,t)}function pYe(e,t){var n,i;return i=Yi(e,us),n=nf(t,32),Rf(n,i)}function gYe(e,t,n){var i;i=(qn(e),new Vc(e)),uYt(new IXe(i,t,n))}function bI(e,t,n){var i;i=(qn(e),new Vc(e)),aYt(new PXe(i,t,n))}function il(e,t,n,i,s,c){return qet(e,t,n,c),_de(e,i),Rde(e,s),e}function bYe(e,t,n,i){return e.a+=""+oa(t==null?Cc:Us(t),n,i),e}function wo(e,t){this.a=e,e7.call(this,e),$m(t,e.gc()),this.b=t}function wYe(e){this.a=be(Ji,Bt,1,ide(w.Math.max(8,e))<<1,5,1)}function wI(e){return u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199)}function Kd(e){return u(ld(e,be($Q,cY,18,e.c.length,0,1)),483)}function mYe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function iS(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function vYe(e){return yn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function czt(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Au(e.d),mm(e.e.a.c,0)}function yYe(e,t){var n;e.e=new hse,n=tv(t),Mi(n,e.c),jlt(e,n,0)}function $i(e,t,n,i){var s;s=new loe,s.a=t,s.b=n,s.c=i,or(e.a,s)}function Re(e,t,n,i){var s;s=new loe,s.a=t,s.b=n,s.c=i,or(e.b,s)}function kYe(e,t,n){if(e<0||tn)throw B(new ys(kZt(e,t,n)))}function mI(e,t){if(e<0||e>=t)throw B(new ys(QZt(e,t)));return e}function uzt(e){if(!("stack"in e))try{throw e}catch{}return e}function Ny(e){return g7(),te(e.g,10)?u(e.g,10):null}function azt(e){return jy(e).dc()?!1:(ARt(e,new Z),!0)}function m0(e){var t;return Hs(e)?(t=e,t==-0?0:t):EKt(e)}function CYe(e,t){return te(t,44)?FV(e.a,u(t,44)):!1}function SYe(e,t){return te(t,44)?FV(e.a,u(t,44)):!1}function xYe(e,t){return te(t,44)?FV(e.a,u(t,44)):!1}function Sae(e){var t;return Qp(e),t=new Rt,yy(e.a,new Tje(t)),t}function xae(){var e,t,n;return t=(n=(e=new yb,e),n),$e(l8e,t),t}function pL(e){var t;return Qp(e),t=new an,yy(e.a,new Ije(t)),t}function fzt(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function EYe(e){AW.call(this,e,(e5(),oQ),null,!1,null,!1)}function TYe(){TYe=U,Lgt=Hn((PR(),H(F(pve,1),Te,489,0,[mQ])))}function IYe(){IYe=U,c4e=vqe(Ae(1),Ae(4)),l4e=vqe(Ae(1),Ae(2))}function dzt(e,t){return new GU(t,z7(Eo(t.e),e,e),(Gt(),!0))}function gL(e){return new ql((Nu(e,uX),DL(Ho(Ho(5,e),e/10|0))))}function hzt(e){return JU(e.e.Rd().gc()*e.c.Rd().gc(),273,new L$e(e))}function PYe(e){return u(ld(e,be(K0t,Nft,12,e.c.length,0,1)),2042)}function pzt(e){return Lu(),!Zo(e)&&!(!Zo(e)&&e.c.i.c==e.d.i.c)}function gzt(e,t){return S4(),u(A(t,(sl(),F2)),17).a>=e.gc()}function oS(e,t){Jun(t,e),rue(e.d),rue(u(A(e,(Ue(),qN)),214))}function WG(e,t){Qun(t,e),iue(e.d),iue(u(A(e,(Ue(),qN)),214))}function bzt(e,t,n){e.d&&vc(e.d.e,e),e.d=t,e.d&&Nb(e.d.e,n,e)}function wzt(e,t,n){return n.f.c.length>0?Rue(e.a,t,n):Rue(e.b,t,n)}function mzt(e,t,n){var i;i=$qt();try{return oLt(e,t,n)}finally{aHt(i)}}function Jb(e,t){var n,i;return n=n1(e,t),i=null,n&&(i=n.pe()),i}function sS(e,t){var n,i;return n=n1(e,t),i=null,n&&(i=n.se()),i}function Xk(e,t){var n,i;return n=Bm(e,t),i=null,n&&(i=n.se()),i}function r1(e,t){var n,i;return n=n1(e,t),i=null,n&&(i=S1e(n)),i}function vzt(e,t,n){var i;return i=_5(n),hj(e.g,i,t),hj(e.i,t,n),t}function Eae(e,t,n){this.d=new BDe(this),this.e=e,this.i=t,this.f=n}function MYe(e,t,n,i){this.e=null,this.c=e,this.d=t,this.a=n,this.b=i}function OYe(e,t,n,i){IUe(this),this.c=e,this.e=t,this.f=n,this.b=i}function Tae(e,t,n,i){this.d=e,this.n=t,this.g=n,this.o=i,this.p=-1}function _Ye(e,t,n,i){return te(n,59)?new lGe(e,t,n,i):new Tue(e,t,n,i)}function Yk(e){return te(e,16)?u(e,16).dc():!e.Kc().Ob()}function RYe(e){if(e.e.g!=e.b)throw B(new ea);return!!e.c&&e.d>0}function _n(e){return yn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function Iae(e,t){sn(t),pi(e.a,e.c,t),e.c=e.c+1&e.a.length-1,nit(e)}function eg(e,t){sn(t),e.b=e.b-1&e.a.length-1,pi(e.a,e.b,t),nit(e)}function AYe(e){var t;t=e.Gh(),this.a=te(t,71)?u(t,71).Ii():t.Kc()}function yzt(e){return new Pt(oUt(u(e.a.md(),16).gc(),e.a.ld()),16)}function LYe(){LYe=U,J2t=Hn((_R(),H(F(H6e,1),Te,490,0,[Hee])))}function $Ye(){$Ye=U,Z2t=Hn((RR(),H(F(Q2t,1),Te,558,0,[Kee])))}function jYe(){jYe=U,w3t=Hn((b7(),H(F(uke,1),Te,539,0,[oO])))}function kzt(){return P0(),H(F(Fve,1),Te,389,0,[yv,Bve,AQ,LQ])}function Czt(){return e5(),H(F(zD,1),Te,304,0,[oQ,sQ,lQ,cQ])}function Szt(){return O4(),H(F(Mgt,1),Te,332,0,[SM,CM,xM,EM])}function xzt(){return LS(),H(F(Rgt,1),Te,406,0,[TM,GD,WD,IM])}function Ezt(){return iw(),H(F(Igt,1),Te,417,0,[kM,yM,bQ,wQ])}function Tzt(){return b5(),H(F(_0t,1),Te,416,0,[Pw,vv,mv,C2])}function Izt(){return sd(),H(F(lbt,1),Te,421,0,[i6,I8,P8,HQ])}function Pzt(){return l$(),H(F(Y0t,1),Te,371,0,[zQ,mN,vN,RM])}function Mzt(){return qm(),H(F(KZ,1),Te,203,0,[nB,HZ,N2,D2])}function Ozt(){return Gd(),H(F(X3e,1),Te,284,0,[wp,q3e,WZ,VZ])}function _zt(e){var t;return e.j==(ze(),Pn)&&(t=xst(e),Ac(t,fn))}function Rzt(e,t){var n;n=t.a,zo(n,t.c.d),ao(n,t.d.d),Km(n.a,e.n)}function Pae(e,t){var n;return n=u(id(e.b,t),67),!n&&(n=new Zr),n}function m4(e){return g7(),te(e.g,154)?u(e.g,154):null}function Azt(e){e.a=null,e.e=null,mm(e.b.c,0),mm(e.f.c,0),e.c=null}function bL(){bL=U,hZ=new sle(o8,0),r2e=new sle("TOP_LEFT",1)}function lS(){lS=U,fx=new cle("UPPER",0),ax=new cle("LOWER",1)}function Lzt(e,t){return t4(new Me(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function DYe(e,t){return u(Cu(Om(u($r(e.k,t),15).Oc(),x2)),113)}function NYe(e,t){return u(Cu(u4(u($r(e.k,t),15).Oc(),x2)),113)}function $zt(){return A4(),H(F(f4e,1),Te,405,0,[uB,dx,hx,px])}function jzt(){return CS(),H(F(K4e,1),Te,353,0,[bee,pB,gee,pee])}function Dzt(){return N$(),H(F(d6e,1),Te,354,0,[Iee,a6e,f6e,u6e])}function Nzt(){return Iu(),H(F(Dx,1),Te,386,0,[kO,sb,yO,Fv])}function Bzt(){return Fu(),H(F(i4t,1),Te,291,0,[wO,Dh,Rg,bO])}function Fzt(){return d1(),H(F(bte,1),Te,223,0,[gte,gO,nC,v6])}function zzt(){return v$(),H(F(_5e,1),Te,320,0,[vte,P5e,O5e,M5e])}function Hzt(){return u$(),H(F(k4t,1),Te,415,0,[yte,A5e,R5e,L5e])}function Kzt(e){return fL(),rc(Ete,e)?u(pn(Ete,e),341).Qg():null}function sa(e,t,n){return t<0?pq(e,n):u(n,69).wk().Bk(e,e.hi(),t)}function Uzt(e,t,n){var i;return i=_5(n),hj(e.j,i,t),vr(e.k,t,n),t}function Gzt(e,t,n){var i;return i=_5(n),hj(e.d,i,t),vr(e.e,t,n),t}function BYe(e){var t,n;return t=(Up(),n=new WH,n),e&&rj(t,e),t}function Mae(e){var t;return t=e.aj(e.i),e.i>0&&Ol(e.g,0,t,0,e.i),t}function FYe(e,t){var n;for(n=e.j.c.length;n>24}function Vzt(e){if(e.p!=1)throw B(new Oc);return Vn(e.k)<<24>>24}function qzt(e){if(e.p!=7)throw B(new Oc);return Vn(e.k)<<16>>16}function Xzt(e){if(e.p!=7)throw B(new Oc);return Vn(e.f)<<16>>16}function By(e,t){return t.e==0||e.e==0?N9:(K5(),Sq(e,t))}function KYe(e,t){return fe(t)===fe(e)?"(this Map)":t==null?Cc:Us(t)}function Yzt(e,t,n){return sG(pe(Rs(ss(e.f,t))),pe(Rs(ss(e.f,n))))}function Jzt(e,t,n){var i;i=u(pn(e.g,n),60),$e(e.a.c,new Gi(t,i))}function UYe(e,t,n){e.i=0,e.e=0,t!=n&&(Ptt(e,t,n),Itt(e,t,n))}function Qzt(e,t,n,i,s){var c;c=Ztn(s,n,i),$e(t,GZt(s,c)),jQt(e,s,t)}function Oae(e,t,n,i,s){this.i=e,this.a=t,this.e=n,this.j=i,this.f=s}function GYe(e,t){lae.call(this),this.a=e,this.b=t,$e(this.a.b,this)}function WYe(e){this.b=new On,this.c=new On,this.d=new On,this.a=e}function VYe(e,t){var n;return n=new V3,e.Gd(n),n.a+="..",t.Hd(n),n.a}function qYe(e,t){var n;for(n=t;n;)jb(e,n.i,n.j),n=ri(n);return e}function XYe(e,t,n){var i;return i=_5(n),vr(e.b,i,t),vr(e.c,t,n),t}function i1(e){var t;for(t=0;e.Ob();)e.Pb(),t=Ho(t,1);return DL(t)}function yh(e,t){rs();var n;return n=u(e,69).vk(),QQt(n,t),n.xl(t)}function Zzt(e,t,n){if(n){var i=n.oe();e.a[t]=i(n)}else delete e.a[t]}function _ae(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+gg),QS(e,n)}function eHt(e,t){return u(t==null?Rs(ss(e.f,null)):y7(e.i,t),288)}function Rae(e,t){return e==(nn(),Ei)&&t==Ei?4:e==Ei||t==Ei?8:32}function wL(e,t,n){return gj(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function tHt(e,t,n){return V5(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function nHt(e,t,n){return Wtn(e,t,n,te(t,102)&&(u(t,19).Bb&es)!=0)}function Aae(e){e.b!=e.c&&(e.a=be(Ji,Bt,1,8,5,1),e.b=0,e.c=0)}function cS(e){return yn(e.a=0&&e.a[n]===t[n];n--);return n<0}function mL(e){var t;return e?new bue(e):(t=new Dd,_W(t,e),t)}function uHt(e,t){var n,i;i=!1;do n=wtt(e,t),i=i|n;while(n);return i}function aHt(e){e&&jKt((vse(),gme)),--$D,e&&jD!=-1&&(tRt(jD),jD=-1)}function vL(e){l1e(),DUe(this,Vn(Yi(Bb(e,24),Pj)),Vn(Yi(e,Pj)))}function eJe(){eJe=U,qpt=Hn((P$(),H(F(Gme,1),Te,436,0,[fQ,Ume])))}function tJe(){tJe=U,Xpt=Hn(($L(),H(F(Vme,1),Te,435,0,[Wme,dQ])))}function nJe(){nJe=U,Jgt=Hn((jL(),H(F(kve,1),Te,432,0,[SQ,XD])))}function rJe(){rJe=U,V0t=Hn((a5(),H(F(W0t,1),Te,517,0,[OM,DQ])))}function iJe(){iJe=U,Abt=Hn((bL(),H(F(i2e,1),Te,429,0,[hZ,r2e])))}function oJe(){oJe=U,Cbt=Hn((LI(),H(F(Hye,1),Te,428,0,[EN,zye])))}function sJe(){sJe=U,Tbt=Hn((II(),H(F(Gye,1),Te,488,0,[Uye,IN])))}function lJe(){lJe=U,avt=Hn((RI(),H(F(Y3e,1),Te,430,0,[qZ,XZ])))}function cJe(){cJe=U,Nvt=Hn((lS(),H(F(Dvt,1),Te,531,0,[fx,ax])))}function uJe(){uJe=U,mbt=Hn((IL(),H(F(Lye,1),Te,431,0,[Aye,QQ])))}function aJe(){aJe=U,Hyt=Hn((hL(),H(F(G4e,1),Te,433,0,[wee,U4e])))}function fJe(){fJe=U,Vyt=Hn((JL(),H(F(W4e,1),Te,501,0,[gB,H2])))}function dJe(){dJe=U,Gvt=Hn((Hd(),H(F(Uvt,1),Te,523,0,[Hw,mp])))}function hJe(){hJe=U,Vvt=Hn((Zf(),H(F(Wvt,1),Te,522,0,[eb,wd])))}function pJe(){pJe=U,cyt=Hn((Af(),H(F(lyt,1),Te,528,0,[$v,Pg])))}function gJe(){gJe=U,gyt=Hn((Xb(),H(F(pyt,1),Te,465,0,[Mg,B2])))}function bJe(){bJe=U,Yyt=Hn((ML(),H(F(q4e,1),Te,434,0,[V4e,See])))}function wJe(){wJe=U,G2t=Hn((kL(),H(F($6e,1),Te,491,0,[Bee,L6e])))}function mJe(){mJe=U,V2t=Hn((NW(),H(F(z6e,1),Te,492,0,[B6e,F6e])))}function vJe(){vJe=U,e3t=Hn((CI(),H(F(K6e,1),Te,438,0,[Uee,TB])))}function yJe(){yJe=U,m3t=Hn((UI(),H(F(fke,1),Te,437,0,[PB,ake])))}function kJe(){kJe=U,m4t=Hn((KU(),H(F(KB,1),Te,347,0,[T5e,I5e])))}function fHt(){return ji(),H(F(Ox,1),Te,88,0,[yd,Bs,Ps,vd,Ca])}function dHt(){return ze(),H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn])}function hHt(e,t,n){return u(t==null?Jl(e.f,null,n):ow(e.i,t,n),288)}function pHt(e){return(e.k==(nn(),Ei)||e.k==Oi)&&Xr(e,(Oe(),X9))}function JG(e){return e.c&&e.d?vae(e.c)+"->"+vae(e.d):"e_"+$b(e)}function Po(e,t){var n,i;for(sn(t),i=e.Kc();i.Ob();)n=i.Pb(),t.Cd(n)}function gHt(e,t){var n;n=new K3,g0(n,"x",t.a),g0(n,"y",t.b),d4(e,n)}function bHt(e,t){var n;n=new K3,g0(n,"x",t.a),g0(n,"y",t.b),d4(e,n)}function CJe(e,t){var n;for(n=t;n;)jb(e,-n.i,-n.j),n=ri(n);return e}function $ae(e,t){var n,i;for(n=t,i=0;n>0;)i+=e.a[n],n-=n&-n;return i}function la(e,t,n){var i;return i=(_t(t,e.c.length),e.c[t]),e.c[t]=n,i}function jae(e,t,n){e.a.c.length=0,zln(e,t,n),e.a.c.length==0||pon(e,t)}function vI(e){e.i=0,ET(e.b,null),ET(e.c,null),e.a=null,e.e=null,++e.g}function yL(){yL=U,pd=!0,Npt=!1,Bpt=!1,zpt=!1,Fpt=!1}function QG(e){yL(),!pd&&(this.c=e,this.e=!0,this.a=new Le)}function SJe(e,t){this.c=0,this.b=t,WKe.call(this,e,17493),this.a=this.c}function xJe(e){Pat(),RBe(this),this.a=new Zr,gde(this,e),or(this.a,e)}function EJe(){kU(this),this.b=new Me(ii,ii),this.a=new Me(Hi,Hi)}function kL(){kL=U,Bee=new ble(d0e,0),L6e=new ble("TARGET_WIDTH",1)}function Fy(e,t){return(lg(e),xk(new xt(e,new ufe(t,e.a)))).Bd(t6)}function wHt(){return $o(),H(F(Dve,1),Te,367,0,[hf,Ah,_l,zl,Ns])}function mHt(){return Ym(),H(F(ubt,1),Te,375,0,[AM,CN,SN,kN,yN])}function vHt(){return ip(),H(F(Fye,1),Te,348,0,[eZ,Bye,tZ,A8,R8])}function yHt(){return AS(),H(F(H3e,1),Te,323,0,[z3e,UZ,GZ,ox,sx])}function kHt(){return pa(),H(F(w2e,1),Te,171,0,[FM,J9,Tg,Q9,Ev])}function CHt(){return G$(),H(F(qyt,1),Te,368,0,[kee,mee,Cee,vee,yee])}function SHt(){return WS(),H(F(q2t,1),Te,373,0,[K2,p6,Sx,Cx,iO])}function xHt(){return gP(),H(F(V6e,1),Te,324,0,[U6e,Gee,W6e,Wee,G6e])}function EHt(){return Nf(),H(F(jh,1),Te,170,0,[Nt,qi,uh,tb,yp])}function THt(){return Vy(),H(F(Lx,1),Te,256,0,[Ag,mO,v5e,Ax,y5e])}function IHt(e){return mR(),function(){return mzt(e,this,arguments)}}function Zo(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function Dae(e,t){return te(t,143)?Et(e.c,u(t,143).c):!1}function cu(e){return e.t||(e.t=new CBe(e),IS(new NFe(e),0,e.t)),e.t}function TJe(e){this.b=e,hn.call(this,e),this.a=u(Yt(this.b.a,4),129)}function IJe(e){this.b=e,r4.call(this,e),this.a=u(Yt(this.b.a,4),129)}function rf(e,t,n,i,s){DJe.call(this,t,i,s),this.c=e,this.b=n}function Nae(e,t,n,i,s){QXe.call(this,t,i,s),this.c=e,this.a=n}function Bae(e,t,n,i,s){ZXe.call(this,t,i,s),this.c=e,this.a=n}function Fae(e,t,n,i,s){DJe.call(this,t,i,s),this.c=e,this.a=n}function ZG(e,t){var n;return n=u(id(e.d,t),23),n||u(id(e.e,t),23)}function PJe(e,t){var n,i;return n=t.ld(),i=e.Fe(n),!!i&&gl(i.e,t.md())}function MJe(e,t){var n;return n=t.ld(),new Ib(n,e.e.pc(n,u(t.md(),16)))}function PHt(e,t){var n;return n=e.a.get(t),n??be(Ji,Bt,1,0,5,1)}function OJe(e){var t;return t=e.length,Et(cn.substr(cn.length-t,t),e)}function xn(e){if($n(e))return e.c=e.a,e.a.Pb();throw B(new qs)}function zae(e,t){return t==0||e.e==0?e:t>0?klt(e,t):Gnt(e,-t)}function v4(e,t){return t==0||e.e==0?e:t>0?Gnt(e,t):klt(e,-t)}function Hae(e){B_t.call(this,e==null?Cc:Us(e),te(e,82)?u(e,82):null)}function _Je(e){var t;return e.c||(t=e.r,te(t,90)&&(e.c=u(t,29))),e.c}function eW(e){var t;return t=new Vb,js(t,e),Ee(t,(Ue(),Is),null),t}function RJe(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(nn(),Oi)&&n.k==Oi}function tW(e){var t,n,i;return t=e&hu,n=e>>22&hu,i=e<0?v1:0,nc(t,n,i)}function MHt(e){var t,n,i,s;for(n=e,i=0,s=n.length;i=0?e.Lh(i,n,!0):dw(e,t,n)}function _Ht(e,t,n){return Kr(t4(A5(e),Eo(t.b)),t4(A5(e),Eo(n.b)))}function RHt(e,t,n){return Kr(t4(A5(e),Eo(t.e)),t4(A5(e),Eo(n.e)))}function AHt(e,t){return w.Math.min(tg(t.a,e.d.d.c),tg(t.b,e.d.d.c))}function yI(e,t){e._i(e.i+1),N7(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function uS(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Oi(n,t),e.Ni()}function AJe(e,t,n){var i;i=new zle(e.a),bS(i,e.a.a),Jl(i.f,t,n),e.a.a=i}function Kae(e,t,n,i){var s;for(s=0;st)throw B(new ys(R1e(e,t,"index")));return e}function X1(e,t){var n;return n=(_t(t,e.c.length),e.c[t]),jse(e.c,t,1),n}function Wae(e,t){var n,i;return n=(sn(e),e),i=(sn(t),t),n==i?0:nt.p?-1:0}function zJe(e){var t;return e.a||(t=e.r,te(t,156)&&(e.a=u(t,156))),e.a}function BHt(e,t,n){var i;return++e.e,--e.f,i=u(e.d[t].gd(n),136),i.md()}function FHt(e){var t,n;return t=e.ld(),n=u(e.md(),16),ZT(n.Nc(),new D$e(t))}function HJe(e,t){return rc(e.a,t)?(y4(e.a,t),!0):!1}function k4(e,t,n){return mI(t,e.e.Rd().gc()),mI(n,e.c.Rd().gc()),e.a[t][n]}function SL(e,t,n){this.a=e,this.b=t,this.c=n,$e(e.t,this),$e(t.i,this)}function xL(e,t,n,i){this.f=e,this.e=t,this.d=n,this.b=i,this.c=i?i.d:null}function kI(){this.b=new Zr,this.a=new Zr,this.b=new Zr,this.a=new Zr}function Jk(){Jk=U;var e,t;tF=(Sk(),t=new dR,t),nF=(e=new hK,e)}function zHt(e){var t;return lg(e),t=new LWe(e,e.a.e,e.a.d|4),new hce(e,t)}function KJe(e){var t;for(Qp(e),t=0;e.a.Bd(new gt);)t=Ho(t,1);return t}function EL(e,t){return sn(t),e.c=0,"Initial capacity must not be negative")}function TL(){TL=U,xx=new Fr("org.eclipse.elk.labels.labelManager")}function UJe(){UJe=U,Pye=new fi("separateLayerConnections",(l$(),zQ))}function Af(){Af=U,$v=new fle("REGULAR",0),Pg=new fle("CRITICAL",1)}function CI(){CI=U,Uee=new mle("FIXED",0),TB=new mle("CENTER_NODE",1)}function IL(){IL=U,Aye=new rle("QUADRATIC",0),QQ=new rle("SCANLINE",1)}function GJe(){GJe=U,vbt=Hn((hS(),H(F(jye,1),Te,322,0,[G9,LM,$ye])))}function WJe(){WJe=U,ybt=Hn((UL(),H(F(Nye,1),Te,351,0,[Dye,xN,ZQ])))}function VJe(){VJe=U,gbt=Hn((nw(),H(F(KQ,1),Te,372,0,[Ow,xg,Mw])))}function qJe(){qJe=U,xbt=Hn((E0(),H(F(Sbt,1),Te,460,0,[nZ,L8,I2])))}function XJe(){XJe=U,Obt=Hn((g5(),H(F(dZ,1),Te,299,0,[aZ,fZ,$M])))}function YJe(){YJe=U,Rbt=Hn((c1(),H(F(_bt,1),Te,311,0,[jM,M2,o6])))}function JJe(){JJe=U,ovt=Hn((SS(),H(F(F3e,1),Te,390,0,[zZ,B3e,tB])))}function QJe(){QJe=U,hvt=Hn((i$(),H(F(Z3e,1),Te,387,0,[J3e,YZ,Q3e])))}function ZJe(){ZJe=U,pvt=Hn((yS(),H(F(e4e,1),Te,349,0,[QZ,JZ,VM])))}function eQe(){eQe=U,dvt=Hn((ls(),H(F(fvt,1),Te,463,0,[lx,eu,Zl])))}function tQe(){tQe=U,gvt=Hn((S5(),H(F(n4e,1),Te,350,0,[ZZ,t4e,cx])))}function nQe(){nQe=U,bvt=Hn((KL(),H(F(o4e,1),Te,352,0,[i4e,eee,r4e])))}function rQe(){rQe=U,wvt=Hn((c$(),H(F(s4e,1),Te,388,0,[tee,V8,Lv])))}function iQe(){iQe=U,myt=Hn((kS(),H(F(S4e,1),Te,392,0,[C4e,iee,YM])))}function oQe(){oQe=U,Jyt=Hn((qI(),H(F(J4e,1),Te,393,0,[bB,X4e,Y4e])))}function sQe(){sQe=U,m2t=Hn((r$(),H(F(g6e,1),Te,300,0,[Pee,p6e,h6e])))}function lQe(){lQe=U,v2t=Hn((S$(),H(F(b6e,1),Te,445,0,[tO,vB,Mee])))}function cQe(){cQe=U,k2t=Hn((L$(),H(F(y2t,1),Te,456,0,[Oee,Ree,_ee])))}function uQe(){uQe=U,x2t=Hn((w$(),H(F(v6e,1),Te,394,0,[m6e,$ee,w6e])))}function aQe(){aQe=U,W2t=Hn((OL(),H(F(N6e,1),Te,439,0,[Fee,D6e,j6e])))}function fQe(){fQe=U,Avt=Hn((tw(),H(F(Rvt,1),Te,464,0,[qM,ux,oB])))}function dQe(){dQe=U,tgt=Hn((Yc(),H(F(egt,1),Te,471,0,[oh,Cg,ff])))}function hQe(){hQe=U,Zpt=Hn((jf(),H(F(wv,1),Te,237,0,[ul,Ql,al])))}function pQe(){pQe=U,rgt=Hn((yc(),H(F(ngt,1),Te,472,0,[zf,Sg,df])))}function gQe(){gQe=U,Hpt=Hn((Jc(),H(F(Ts,1),Te,108,0,[Kme,Ws,bv])))}function bQe(){bQe=U,S0t=Hn((aS(),H(F(jve,1),Te,391,0,[IQ,TQ,PQ])))}function wQe(){wQe=U,r4t=Hn((f1(),H(F(m5e,1),Te,346,0,[jB,Cp,Rx])))}function mQe(){mQe=U,Y2t=Hn((eP(),H(F(zee,1),Te,444,0,[SB,xB,EB])))}function vQe(){vQe=U,Z3t=Hn((od(),H(F(s5e,1),Te,278,0,[eC,Bv,tC])))}function yQe(){yQe=U,w4t=Hn((I4(),H(F(E5e,1),Te,280,0,[x5e,zv,HB])))}function rd(e,t){return!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),vV(e.o,t)}function HHt(e,t){var n;e.C&&(n=u(gs(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function Jae(e){var t,n,i,s;s=e.d,t=e.a,n=e.b,i=e.c,e.d=n,e.a=i,e.b=s,e.c=t}function KHt(e){return!e.g&&(e.g=new eR),!e.g.b&&(e.g.b=new mBe(e)),e.g.b}function SI(e){return!e.g&&(e.g=new eR),!e.g.c&&(e.g.c=new kBe(e)),e.g.c}function UHt(e){return!e.g&&(e.g=new eR),!e.g.d&&(e.g.d=new vBe(e)),e.g.d}function GHt(e){return!e.g&&(e.g=new eR),!e.g.a&&(e.g.a=new yBe(e)),e.g.a}function WHt(e,t,n,i){return n&&(i=n.Rh(t,ci(n.Dh(),e.c.uk()),null,i)),i}function VHt(e,t,n,i){return n&&(i=n.Th(t,ci(n.Dh(),e.c.uk()),null,i)),i}function oW(e,t,n,i){var s;return s=be(Bn,ur,28,t+1,15,1),Jon(s,e,t,n,i),s}function be(e,t,n,i,s,c){var d;return d=Vrt(s,i),s!=10&&H(F(e,c),t,n,s,d),d}function qHt(e,t,n){var i,s;for(s=new p5(t,e),i=0;in||t=0?e.Lh(n,!0,!0):dw(e,t,!0)}function fKt(e,t,n){var i;return i=Ett(e,t,n),e.b=new ZL(i.c.length),ype(e,i)}function dKt(e){if(e.b<=0)throw B(new qs);return--e.b,e.a-=e.c.c,Ae(e.a)}function hKt(e){var t;if(!e.a)throw B(new Aqe);return t=e.a,e.a=ri(e.a),t}function pKt(e){for(;!e.a;)if(!oWe(e.c,new Pje(e)))return!1;return!0}function C4(e){var t;return qn(e),te(e,204)?(t=u(e,204),t):new G$e(e)}function gKt(e){PL(),u(e.of((gr(),Nv)),181).Fc((Qc(),vO)),e.qf(dte,null)}function PL(){PL=U,k3t=new I_e,S3t=new P_e,C3t=rWt((gr(),dte),k3t,_g,S3t)}function ML(){ML=U,V4e=new gle("LEAF_NUMBER",0),See=new gle("NODE_SIZE",1)}function aW(e){e.a=be(Bn,ur,28,e.b+1,15,1),e.c=be(Bn,ur,28,e.b,15,1),e.d=0}function bKt(e,t){e.a.Ne(t.d,e.b)>0&&($e(e.c,new Qce(t.c,t.d,e.d)),e.b=t.d)}function lfe(e,t){if(e.g==null||t>=e.i)throw B(new bU(t,e.i));return e.g[t]}function xQe(e,t,n){if(y5(e,n),n!=null&&!e.fk(n))throw B(new aK);return n}function fW(e,t){return AI(t)!=10&&H(Tu(t),t.Sm,t.__elementTypeId$,AI(t),e),e}function Zk(e,t,n,i){var s;i=(Wb(),i||jme),s=e.slice(t,n),A1e(s,e,t,n,-t,i)}function ca(e,t,n,i,s){return t<0?dw(e,n,i):u(n,69).wk().yk(e,e.hi(),t,i,s)}function wKt(e,t){return Kr(le(pe(A(e,(Oe(),Aw)))),le(pe(A(t,Aw))))}function EQe(){EQe=U,jpt=Hn((e5(),H(F(zD,1),Te,304,0,[oQ,sQ,lQ,cQ])))}function e5(){e5=U,oQ=new jR("All",0),sQ=new gUe,lQ=new xUe,cQ=new pUe}function Yc(){Yc=U,oh=new zK(U4,0),Cg=new zK(o8,1),ff=new zK(G4,2)}function TQe(){TQe=U,bj(),g8e=ii,x6t=Hi,b8e=new fT(ii),E6t=new fT(Hi)}function IQe(){IQe=U,Pgt=Hn((iw(),H(F(Igt,1),Te,417,0,[kM,yM,bQ,wQ])))}function PQe(){PQe=U,Agt=Hn((LS(),H(F(Rgt,1),Te,406,0,[TM,GD,WD,IM])))}function MQe(){MQe=U,Ogt=Hn((O4(),H(F(Mgt,1),Te,332,0,[SM,CM,xM,EM])))}function OQe(){OQe=U,N0t=Hn((P0(),H(F(Fve,1),Te,389,0,[yv,Bve,AQ,LQ])))}function _Qe(){_Qe=U,R0t=Hn((b5(),H(F(_0t,1),Te,416,0,[Pw,vv,mv,C2])))}function RQe(){RQe=U,cbt=Hn((sd(),H(F(lbt,1),Te,421,0,[i6,I8,P8,HQ])))}function AQe(){AQe=U,J0t=Hn((l$(),H(F(Y0t,1),Te,371,0,[zQ,mN,vN,RM])))}function LQe(){LQe=U,svt=Hn((qm(),H(F(KZ,1),Te,203,0,[nB,HZ,N2,D2])))}function $Qe(){$Qe=U,uvt=Hn((Gd(),H(F(X3e,1),Te,284,0,[wp,q3e,WZ,VZ])))}function II(){II=U,Uye=new ole(eh,0),IN=new ole("IMPROVE_STRAIGHTNESS",1)}function jQe(e,t){var n,i;return i=t/e.c.Rd().gc()|0,n=t%e.c.Rd().gc(),k4(e,i,n)}function DQe(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)re(e,t);return Mae(e)}function cfe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function NQe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function mKt(e){return te(e,180)?""+u(e,180).a:e==null?null:Us(e)}function vKt(e){return te(e,180)?""+u(e,180).a:e==null?null:Us(e)}function BQe(e,t){if(t.a)throw B(new Xs(sft));Fi(e.a,t),t.a=e,!e.j&&(e.j=t)}function ufe(e,t){sA.call(this,t.zd(),t.yd()&-16449),sn(e),this.a=e,this.c=t}function yKt(e,t){return new GU(t,jb(Eo(t.e),t.f.a+e,t.f.b+e),(Gt(),!1))}function kKt(e,t){return jk(),$e(e,new Gi(t,Ae(t.e.c.length+t.g.c.length)))}function CKt(e,t){return jk(),$e(e,new Gi(t,Ae(t.e.c.length+t.g.c.length)))}function FQe(){FQe=U,w2t=Hn((N$(),H(F(d6e,1),Te,354,0,[Iee,a6e,f6e,u6e])))}function zQe(){zQe=U,zyt=Hn((CS(),H(F(K4e,1),Te,353,0,[bee,pB,gee,pee])))}function HQe(){HQe=U,byt=Hn((A4(),H(F(f4e,1),Te,405,0,[uB,dx,hx,px])))}function KQe(){KQe=U,e4t=Hn((d1(),H(F(bte,1),Te,223,0,[gte,gO,nC,v6])))}function UQe(){UQe=U,o4t=Hn((Fu(),H(F(i4t,1),Te,291,0,[wO,Dh,Rg,bO])))}function GQe(){GQe=U,g4t=Hn((Iu(),H(F(Dx,1),Te,386,0,[kO,sb,yO,Fv])))}function WQe(){WQe=U,v4t=Hn((v$(),H(F(_5e,1),Te,320,0,[vte,P5e,O5e,M5e])))}function VQe(){VQe=U,C4t=Hn((u$(),H(F(k4t,1),Te,415,0,[yte,A5e,R5e,L5e])))}function OL(){OL=U,Fee=new fU(xdt,0),D6e=new fU(_be,1),j6e=new fU(eh,2)}function Nm(e,t,n,i,s){return sn(e),sn(t),sn(n),sn(i),sn(s),new Lue(e,t,i)}function qQe(e,t){var n;return n=u(y4(e.e,t),400),n?(uue(n),n.e):null}function vc(e,t){var n;return n=$s(e,t,0),n==-1?!1:(X1(e,n),!0)}function XQe(e,t,n){var i;return Qp(e),i=new Y,i.a=t,e.a.Nb(new OHe(i,n)),i.a}function SKt(e){var t;return Qp(e),t=be(uo,ws,28,0,15,1),yy(e.a,new Eje(t)),t}function afe(e){var t;if(!IW(e))throw B(new qs);return e.e=1,t=e.d,e.d=null,t}function J1(e){var t;return Hs(e)&&(t=0-e,!isNaN(t))?t:rg(m5(e))}function $s(e,t,n){for(;n=0?R$(e,n,!0,!0):dw(e,t,!0)}function dfe(e){var t;return t=y0(Yt(e,32)),t==null&&(lc(e),t=y0(Yt(e,32))),t}function hfe(e){var t;return e.Oh()||(t=Sn(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function tZe(e,t){dve=new _s,_gt=t,F9=e,u(F9.b,68),efe(F9,dve,null),mut(F9)}function aS(){aS=U,IQ=new KK("XY",0),TQ=new KK("X",1),PQ=new KK("Y",2)}function yc(){yc=U,zf=new HK("TOP",0),Sg=new HK(o8,1),df=new HK(Uge,2)}function c1(){c1=U,jM=new XK(eh,0),M2=new XK("TOP",1),o6=new XK(Uge,2)}function RI(){RI=U,qZ=new lle("INPUT_ORDER",0),XZ=new lle("PORT_DEGREE",1)}function t5(){t5=U,wme=nc(hu,hu,524287),ypt=nc(0,0,KP),mme=tW(1),tW(2),vme=tW(0)}function bW(e){var t;return e.d!=e.r&&(t=Aa(e),e.e=!!t&&t.lk()==y1t,e.d=t),e.e}function wW(e,t,n){var i;return i=e.g[t],N7(e,t,e.Zi(t,n)),e.Ri(t,n,i),e.Ni(),i}function LL(e,t){var n;return n=e.dd(t),n>=0?(e.gd(n),!0):!1}function mW(e,t){var n;for(qn(e),qn(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function id(e,t){var n;return n=u(pn(e.e,t),400),n?(jUe(e,n),n.e):null}function nZe(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function Bm(e,t){var n=e.a[t],i=(UW(),ZJ)[typeof n];return i?i(n):Cde(typeof n)}function Qs(e,t){var n,i;return lg(e),i=new qae(t,e.a),n=new cWe(i),new xt(e,n)}function vW(e){var t;return t=e.b.c.length==0?null:Ye(e.b,0),t!=null&&MW(e,0),t}function IKt(e,t){var n,i,s;s=t.c.i,n=u(pn(e.f,s),60),i=n.d.c-n.e.c,Gfe(t.a,i,0)}function pfe(e,t){var n;for(++e.d,++e.c[t],n=t+1;n=0;)++t[0]}function PKt(e,t){oc(e,t==null||kA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function MKt(e,t){sc(e,t==null||kA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function OKt(e,t){ew(e,t==null||kA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function _Kt(e,t){Zb(e,t==null||kA((sn(t),t))||isNaN((sn(t),t))?0:(sn(t),t))}function RKt(e,t,n){return t4(new Me(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(sn(t),t)}function AKt(e,t){return te(t,102)&&u(t,19).Bb&es?new wU(t,e):new p5(t,e)}function LKt(e,t){return te(t,102)&&u(t,19).Bb&es?new wU(t,e):new p5(t,e)}function AI(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function oZe(e,t){return t==(FU(),FU(),Apt)?e.toLocaleLowerCase():e.toLowerCase()}function sZe(e){if(!e.e)throw B(new qs);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function gfe(e){if(!e.c)throw B(new qs);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function lZe(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[i]&&(i=n);return i}function cZe(e){var t;return t=u(A(e,(Oe(),_w)),313),t?t.a==e:!1}function uZe(e){var t;return t=u(A(e,(Oe(),_w)),313),t?t.i==e:!1}function aZe(){aZe=U,I0t=Hn(($o(),H(F(Dve,1),Te,367,0,[hf,Ah,_l,zl,Ns])))}function fZe(){fZe=U,abt=Hn((Ym(),H(F(ubt,1),Te,375,0,[AM,CN,SN,kN,yN])))}function dZe(){dZe=U,kbt=Hn((ip(),H(F(Fye,1),Te,348,0,[eZ,Bye,tZ,A8,R8])))}function hZe(){hZe=U,lvt=Hn((AS(),H(F(H3e,1),Te,323,0,[z3e,UZ,GZ,ox,sx])))}function pZe(){pZe=U,Lbt=Hn((pa(),H(F(w2e,1),Te,171,0,[FM,J9,Tg,Q9,Ev])))}function gZe(){gZe=U,Xyt=Hn((G$(),H(F(qyt,1),Te,368,0,[kee,mee,Cee,vee,yee])))}function bZe(){bZe=U,X2t=Hn((WS(),H(F(q2t,1),Te,373,0,[K2,p6,Sx,Cx,iO])))}function wZe(){wZe=U,t3t=Hn((gP(),H(F(V6e,1),Te,324,0,[U6e,Gee,W6e,Wee,G6e])))}function mZe(){mZe=U,Q3t=Hn((ji(),H(F(Ox,1),Te,88,0,[yd,Bs,Ps,vd,Ca])))}function vZe(){vZe=U,x3t=Hn((Nf(),H(F(jh,1),Te,170,0,[Nt,qi,uh,tb,yp])))}function yZe(){yZe=U,l4t=Hn((Vy(),H(F(Lx,1),Te,256,0,[Ag,mO,v5e,Ax,y5e])))}function kZe(){kZe=U,a4t=Hn((ze(),H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn])))}function $L(){$L=U,Wme=new Jse("BY_SIZE",0),dQ=new Jse("BY_SIZE_AND_SHAPE",1)}function jL(){jL=U,SQ=new ele("EADES",0),XD=new ele("FRUCHTERMAN_REINGOLD",1)}function LI(){LI=U,EN=new ile("READING_DIRECTION",0),zye=new ile("ROTATION",1)}function fS(){fS=U,$0t=new cEe,j0t=new fEe,A0t=new dEe,L0t=new aEe,D0t=new hEe}function CZe(e){this.b=new Le,this.a=new Le,this.c=new Le,this.d=new Le,this.e=e}function SZe(e){this.g=e,this.f=new Le,this.a=w.Math.min(this.g.c.c,this.g.d.c)}function xZe(e,t,n){vA.call(this),mfe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function FKt(e,t,n){var i,s;for(s=new N(n);s.a=0&&t0?t-1:t,oze(h_t(qZe(oue(new H3,n),e.n),e.j),e.k)}function xs(e){var t,n;n=(t=new pK,t),Dn((!e.q&&(e.q=new Se(Ga,e,11,10)),e.q),n)}function bfe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(e1(e),e.o)}function DL(e){return kl(e,Mr)>0?Mr:kl(e,jo)<0?jo:Vn(e)}function Fm(e){return e<3?(Nu(e,zat),e+1):e=-.01&&e.a<=fd&&(e.a=0),e.b>=-.01&&e.b<=fd&&(e.b=0),e}function zy(e){r2();var t,n;for(n=Lbe,t=0;tn&&(n=e[t]);return n}function PZe(e,t){var n;if(n=xP(e.Dh(),t),!n)throw B(new Qt(vg+t+dJ));return n}function zm(e,t){var n;for(n=e;ri(n);)if(n=ri(n),n==t)return!0;return!1}function JKt(e,t){var n,i,s;for(i=t.a.ld(),n=u(t.a.md(),16).gc(),s=0;se||e>t)throw B(new xse("fromIndex: 0, toIndex: "+e+Rge+t))}function Qb(e){if(e<0)throw B(new Qt("Illegal Capacity: "+e));this.g=this.aj(e)}function wfe(e,t){return Yf(),of(pg),w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)}function CW(e,t){var n,i,s,c;for(i=e.d,s=0,c=i.length;s0&&(e.a/=t,e.b/=t),e}function ju(e){var t;return e.w?e.w:(t=KFt(e),t&&!t.Vh()&&(e.w=t),t)}function n5(e,t){var n,i;i=e.a,n=VWt(e,t,null),i!=t&&!e.e&&(n=Y5(e,t,n)),n&&n.oj()}function AZe(e,t,n){var i,s;i=t;do s=le(e.p[i.p])+n,e.p[i.p]=s,i=e.a[i.p];while(i!=t)}function LZe(e,t,n){var i=function(){return e.apply(i,arguments)};return t.apply(i,n),i}function iUt(e){var t;return e==null?null:(t=u(e,195),bQt(t,t.length))}function re(e,t){if(e.g==null||t>=e.i)throw B(new bU(t,e.i));return e.Wi(t,e.g[t])}function oUt(e,t){Ot();var n,i;for(i=new Le,n=0;n=14&&t<=16))),e}function zn(e,t){var n;return sn(t),n=e[":"+t],tI(!!n,"Enum constant undefined: "+t),n}function An(e,t,n,i,s,c){var d;return d=mG(e,t),XZe(n,d),d.i=s?8:0,d.f=i,d.e=s,d.g=c,d}function yfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=1,this.c=e,this.a=n}function kfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=2,this.c=e,this.a=n}function Cfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=6,this.c=e,this.a=n}function Sfe(e,t,n,i,s){this.d=t,this.k=i,this.f=s,this.o=-1,this.p=7,this.c=e,this.a=n}function xfe(e,t,n,i,s){this.d=t,this.j=i,this.e=s,this.o=-1,this.p=4,this.c=e,this.a=n}function YZe(e,t){var n,i,s,c;for(i=t,s=0,c=i.length;s=0))throw B(new Qt("tolerance ("+e+") must be >= 0"));return e}function QZe(e,t){var n;return te(t,44)?e.c.Mc(t):(n=vV(e,t),x$(e,t),n)}function bs(e,t,n){return I0(e,t),Xl(e,n),Q1(e,0),Hm(e,1),rp(e,!0),np(e,!0),e}function jI(e,t){var n;if(n=e.gc(),t<0||t>n)throw B(new Mm(t,n));return new $ce(e,t)}function GL(e,t){e.b=w.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),$e(e.a,t)}function ZZe(e){Tm(e.c>=0),vqt(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function WL(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=u(n.Pb(),16),t.$b();e.c.$b(),e.d=0}function gUt(e){var t,n,i,s;for(n=e.a,i=0,s=n.length;i=0}function _fe(e,t){e.r>0&&e.c0&&e.g!=0&&_fe(e.i,t/e.r*e.i.d))}function Rfe(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.c))}function EW(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,4,n,e.c))}function u5(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,2,n,e.k))}function TW(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,2,n,e.D))}function qL(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,8,n,e.f))}function XL(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,7,n,e.i))}function Afe(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,8,n,e.a))}function Lfe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,n,e.b))}function $fe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,n,e.b))}function jfe(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.c))}function Dfe(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,1,n,e.d))}function CUt(e,t,n){var i;e.b=t,e.a=n,i=(e.a&512)==512?new yFe:new foe,e.c=jrn(i,e.b,e.a)}function det(e,t){return w1(e.e,t)?(rs(),bW(t)?new _A(t,e):new BT(t,e)):new BKe(t,e)}function SUt(e){var t,n;return 0>e?new Bse:(t=e+1,n=new SJe(t,e),new pce(null,n))}function xUt(e,t){Ot();var n;return n=new q3(1),lo(e)?Cs(n,e,t):Jl(n.f,e,t),new oK(n)}function EUt(e,t){var n,i;return n=e.c,i=t.e[e.p],i>0?u(Ye(n.a,i-1),10):null}function TUt(e,t){var n,i;return n=e.o+e.p,i=t.o+t.p,nt?(t<<=1,t>0?t:o9):t}function IW(e){switch(qle(e.e!=3),e.e){case 2:return!1;case 0:return!0}return $Ht(e)}function pet(e,t){var n;return te(t,8)?(n=u(t,8),e.a==n.a&&e.b==n.b):!1}function PUt(e,t){var n;n=new _s,u(t.b,68),u(t.b,68),u(t.b,68),ic(t.a,new Gce(e,n,t))}function get(e,t){var n,i;for(i=t.vc().Kc();i.Ob();)n=u(i.Pb(),44),fP(e,n.ld(),n.md())}function Nfe(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,11,n,e.d))}function YL(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,13,n,e.j))}function Bfe(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,21,n,e.b))}function MUt(e,t){(yL(),pd?null:t.c).length==0&&OGe(t,new Ce),Cs(e.a,pd?null:t.c,t)}function OUt(e,t){t.Ug("Hierarchical port constraint processing",1),qqt(e),pan(e),t.Vg()}function nw(){nw=U,Ow=new UK("START",0),xg=new UK("MIDDLE",1),Mw=new UK("END",2)}function JL(){JL=U,gB=new ple("P1_NODE_PLACEMENT",0),H2=new ple("P2_EDGE_ROUTING",1)}function ng(){ng=U,r6=new Fr(r0e),QD=new Fr(_ft),H9=new Fr(Rft),PM=new Fr(Aft)}function rw(e){var t;return zU(e.f.g,e.d),yn(e.b),e.c=e.a,t=u(e.a.Pb(),44),e.b=Qfe(e),t}function Ffe(e){var t;return e.b==null?(H1(),H1(),OO):(t=e.ul()?e.tl():e.sl(),t)}function bet(e,t){var n;return n=t==null?-1:$s(e.b,t,0),n<0?!1:(MW(e,n),!0)}function sf(e,t){var n;return sn(t),n=t.g,e.b[n]?!1:(pi(e.b,n,t),++e.c,!0)}function QL(e,t){var n,i;return n=1-t,i=e.a[n],e.a[n]=i.a[t],i.a[t]=e,e.b=!0,i.b=!1,i}function _Ut(e,t){var n,i;for(i=t.Kc();i.Ob();)n=u(i.Pb(),272),e.b=!0,Fi(e.e,n),n.b=e}function RUt(e,t){var n,i;return n=u(A(e,(Ue(),_v)),8),i=u(A(t,_v),8),Kr(n.b,i.b)}function PW(e,t,n){var i,s,c;return c=t>>5,s=t&31,i=Yi(Yp(e.n[n][c],Vn(nf(s,1))),3),i}function wet(e,t,n){var i,s,c;for(c=e.a.length-1,s=e.b,i=0;i0?1:0:(!e.c&&(e.c=gI(bl(e.f))),e.c).e}function Iet(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function jUt(e,t){return b5(),e==Pw&&t==vv||e==vv&&t==Pw||e==C2&&t==mv||e==mv&&t==C2}function DUt(e,t){return b5(),e==Pw&&t==mv||e==Pw&&t==C2||e==vv&&t==C2||e==vv&&t==mv}function Pet(e,t){return Yf(),of(fd),w.Math.abs(0-t)<=fd||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Met(e,t){return le(pe(Cu(QI(As(new xt(null,new Pt(e.c.b,16)),new LDe(e)),t))))}function Ufe(e,t){return le(pe(Cu(QI(As(new xt(null,new Pt(e.c.b,16)),new ADe(e)),t))))}function NUt(){return cs(),H(F(uZ,1),Te,259,0,[MN,ka,V9,ON,D8,P2,q9,$8,j8,_N])}function BUt(){return La(),H(F(V3e,1),Te,243,0,[rB,GM,WM,U3e,G3e,K3e,W3e,iB,zw,Av])}function FUt(e,t){var n;t.Ug("General Compactor",1),n=GVt(u(Ie(e,(dg(),Eee)),393)),n.Cg(e)}function zUt(e,t){var n,i;return n=u(Ie(e,(dg(),wB)),17),i=u(Ie(t,wB),17),yl(n.a,i.a)}function Gfe(e,t,n){var i,s;for(s=Ln(e,0);s.b!=s.d.c;)i=u(_n(s),8),i.a+=t,i.b+=n;return e}function pS(e,t,n){var i;for(i=e.b[n&e.f];i;i=i.b)if(n==i.a&&zd(t,i.g))return i;return null}function gS(e,t,n){var i;for(i=e.c[n&e.f];i;i=i.d)if(n==i.f&&zd(t,i.i))return i;return null}function HUt(e,t,n){var i,s,c;for(i=0,s=0;s>>31;i!=0&&(e[n]=i)}function AW(e,t,n,i,s,c){var d;this.c=e,d=new Le,xhe(e,d,t,e.b,n,i,s,c),this.a=new wo(d,0)}function Oet(){this.c=new SR(0),this.b=new SR(Abe),this.d=new SR(wdt),this.a=new SR(tY)}function aa(e,t,n,i,s,c,d){Fn.call(this,e,t),this.d=n,this.e=i,this.c=s,this.b=c,this.a=td(d)}function Si(e,t,n,i,s,c,d,h,b,m,v,k,T){return $ot(e,t,n,i,s,c,d,h,b,m,v,k,T),dV(e,!1),e}function KUt(e){return e.b.c.i.k==(nn(),Oi)?u(A(e.b.c.i,(Oe(),jr)),12):e.b.c}function _et(e){return e.b.d.i.k==(nn(),Oi)?u(A(e.b.d.i,(Oe(),jr)),12):e.b.d}function UUt(e){var t;return t=pL(e),_b(t.a,0)?(IR(),IR(),Lpt):(IR(),new aGe(t.b))}function LW(e){var t;return t=Sae(e),_b(t.a,0)?(ym(),ym(),iQ):(ym(),new _U(t.b))}function $W(e){var t;return t=Sae(e),_b(t.a,0)?(ym(),ym(),iQ):(ym(),new _U(t.c))}function Ret(e){switch(e.g){case 2:return ze(),rn;case 4:return ze(),fn;default:return e}}function Aet(e){switch(e.g){case 1:return ze(),Pn;case 3:return ze(),en;default:return e}}function Let(e){switch(e.g){case 0:return new p_e;case 1:return new g_e;default:return null}}function x4(){x4=U,FQ=new fi("edgelabelcenterednessanalysis.includelabel",(Gt(),kg))}function Wfe(){Wfe=U,_vt=Wd(ZKe(cr(cr(new Li,($o(),_l),(Uo(),aN)),zl,oN),Ns),uN)}function $et(){$et=U,$vt=Wd(ZKe(cr(cr(new Li,($o(),_l),(Uo(),aN)),zl,oN),Ns),uN)}function jW(){jW=U,Kx=new gFe,Pte=H(F(Tc,1),m2,179,0,[]),n6t=H(F(Ga,1),Qwe,62,0,[])}function a5(){a5=U,OM=new tle("TO_INTERNAL_LTR",0),DQ=new tle("TO_INPUT_DIRECTION",1)}function Dc(){Dc=U,Wve=new vEe,Uve=new yEe,Gve=new kEe,Kve=new CEe,Vve=new SEe,qve=new xEe}function GUt(e,t){t.Ug(qft,1),Xde(M_t(new sR((p7(),new xG(e,!1,!1,new Yie))))),t.Vg()}function WUt(e,t,n){n.Ug("DFS Treeifying phase",1),uqt(e,t),lrn(e,t),e.a=null,e.b=null,n.Vg()}function DI(e,t){return Gt(),lo(e)?Wae(e,Jn(t)):xm(e)?sG(e,pe(t)):Sm(e)?jDt(e,Ve(t)):e.Fd(t)}function bS(e,t){var n,i;for(sn(t),i=t.vc().Kc();i.Ob();)n=u(i.Pb(),44),e.zc(n.ld(),n.md())}function VUt(e,t,n){var i;for(i=n.Kc();i.Ob();)if(!wL(e,t,i.Pb()))return!1;return!0}function qUt(e,t,n,i,s){var c;return n&&(c=ci(t.Dh(),e.c),s=n.Rh(t,-1-(c==-1?i:c),null,s)),s}function XUt(e,t,n,i,s){var c;return n&&(c=ci(t.Dh(),e.c),s=n.Th(t,-1-(c==-1?i:c),null,s)),s}function jet(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 YUt(e){if(sn(e),e.length==0)throw B(new $d("Zero length BigInteger"));ton(this,e)}function Vfe(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function Det(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Le,cen(this),Ot(),Mi(this.a,null)}function qfe(e,t){t.q=e,e.d=w.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),$e(e.a,t)}function f5(e,t){var n,i,s,c;return s=e.c,n=e.c+e.b,c=e.d,i=e.d+e.a,t.a>s&&t.ac&&t.bs?n=s:Zt(t,n+1),e.a=oa(e.a,0,t)+(""+i)+Hue(e.a,n)}function Wet(e,t){e.a=Ho(e.a,1),e.c=w.Math.min(e.c,t),e.b=w.Math.max(e.b,t),e.d=Ho(e.d,t)}function rGt(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw B(new qs)}function Yet(e){switch(e.a.g){case 1:return new ZHe;case 3:return new tit;default:return new d$e}}function Yfe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Cae(e,t)}function bl(e){return UP>22),s=e.h+t.h+(i>>22),nc(n&hu,i&hu,s&v1)}function itt(e,t){var n,i,s;return n=e.l-t.l,i=e.m-t.m+(n>>22),s=e.h-t.h+(i>>22),nc(n&hu,i&hu,s&v1)}function xGt(e){var t,n;for(wun(e),n=new N(e.d);n.ai)throw B(new Mm(t,i));return e.Si()&&(n=yXe(e,n)),e.Ei(t,n)}function w5(e,t,n,i,s){var c,d;for(d=n;d<=s;d++)for(c=t;c<=i;c++)Xy(e,c,d)||dj(e,c,d,!0,!1)}function NGt(e){r2();var t,n,i;for(n=be(to,_e,8,2,0,1),i=0,t=0;t<2;t++)i+=.5,n[t]=_Xt(i,e);return n}function m5(e){var t,n,i;return t=~e.l+1&hu,n=~e.m+(t==0?1:0)&hu,i=~e.h+(t==0&&n==0?1:0)&v1,nc(t,n,i)}function ide(e){var t;if(e<0)return jo;if(e==0)return 0;for(t=o9;!(t&e);t>>=1);return t}function KW(e,t,n){return e>=128?!1:e<64?R7(Yi(nf(1,e),n),0):R7(Yi(nf(1,e-64),t),0)}function WI(e,t,n){return n==null?(!e.q&&(e.q=new On),y4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n)),e}function Ee(e,t,n){return n==null?(!e.q&&(e.q=new On),y4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n)),e}function gtt(e){var t,n;return n=new CL,js(n,e),Ee(n,(ng(),r6),e),t=new On,hsn(e,n,t),zcn(e,n,t),n}function btt(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function wtt(e,t){var n,i,s,c;for(n=!1,i=e.a[t].length,c=0;c=0,"Negative initial capacity"),tI(t>=0,"Non-positive load factor"),qc(this)}function FGt(e,t,n,i,s){var c,d;if(d=e.length,c=n.length,t<0||i<0||s<0||t+s>d||i+s>c)throw B(new Yoe)}function cde(e,t){Ot();var n,i,s,c,d;for(d=!1,i=t,s=0,c=i.length;s1||t>=0&&e.b<3)}function WW(e){var t,n,i;t=~e.l+1&hu,n=~e.m+(t==0?1:0)&hu,i=~e.h+(t==0&&n==0?1:0)&v1,e.l=t,e.m=n,e.h=i}function fde(e){Ot();var t,n,i;for(i=1,n=e.Kc();n.Ob();)t=n.Pb(),i=31*i+(t!=null?Vr(t):0),i=i|0;return i}function GGt(e,t,n,i,s){var c;return c=epe(e,t),n&&WW(c),s&&(e=NXt(e,t),i?yg=m5(e):yg=nc(e.l,e.m,e.h)),c}function Itt(e,t,n){e.g=aq(e,t,(ze(),fn),e.b),e.d=aq(e,n,fn,e.b),!(e.g.c==0||e.d.c==0)&&iot(e)}function Ptt(e,t,n){e.g=aq(e,t,(ze(),rn),e.j),e.d=aq(e,n,rn,e.j),!(e.g.c==0||e.d.c==0)&&iot(e)}function dde(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Yde(e,t)}function WGt(e,t){switch(t.g){case 0:te(e.b,641)||(e.b=new Get);break;case 1:te(e.b,642)||(e.b=new HWe)}}function Mtt(e){switch(e.g){case 0:return new y_e;default:throw B(new Qt(dD+(e.f!=null?e.f:""+e.g)))}}function Ott(e){switch(e.g){case 0:return new v_e;default:throw B(new Qt(dD+(e.f!=null?e.f:""+e.g)))}}function VGt(e,t,n){return!xk(Ar(new xt(null,new Pt(e.c,16)),new gk(new pKe(t,n)))).Bd((c0(),t6))}function _tt(e,t){return t4(A5(u(A(t,(sl(),Kw)),88)),new Me(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function qGt(e,t){for(;e.g==null&&!e.c?dae(e):e.g==null||e.i!=0&&u(e.g[e.i-1],51).Ob();)Q_t(t,ej(e))}function T0(e){var t,n;for(n=new N(e.a.b);n.ai?1:0}function JGt(e){return $e(e.c,(E4(),y3t)),wfe(e.a,le(pe(Ke((mV(),ZN)))))?new sRe:new BNe(e)}function QGt(e){for(;!e.d||!e.d.Ob();)if(e.b&&!a7(e.b))e.d=u(a4(e.b),51);else return null;return e.d}function pde(e){switch(e.g){case 1:return wdt;default:case 2:return 0;case 3:return tY;case 4:return Abe}}function ZGt(){Ir();var e;return Lte||(e=vAt(hg("M",!0)),e=jA(hg("M",!1),e),Lte=e,Lte)}function u$(){u$=U,yte=new eA("ELK",0),A5e=new eA("JSON",1),R5e=new eA("DOT",2),L5e=new eA("SVG",3)}function yS(){yS=U,QZ=new ZK("STACKED",0),JZ=new ZK("REVERSE_STACKED",1),VM=new ZK("SEQUENCED",2)}function kS(){kS=U,C4e=new oU(eh,0),iee=new oU("MIDDLE_TO_MIDDLE",1),YM=new oU("AVOID_OVERLAP",2)}function k5(){k5=U,Oye=new nIe,_ye=new rIe,nbt=new eIe,tbt=new iIe,ebt=new tIe,Mye=(sn(ebt),new kn)}function a$(){a$=U,w5e=new Ab(15),n4t=new go((gr(),kp),w5e),_x=b6,h5e=$3t,p5e=rb,b5e=Y2,g5e=Dv}function Ky(e,t){var n,i,s,c,d;for(i=t,s=0,c=i.length;s=e.b.c.length||(bde(e,2*t+1),n=2*t+2,n0&&(t.Cd(n),n.i&&tVt(n))}function wde(e,t,n){var i;for(i=n-1;i>=0&&e[i]===t[i];i--);return i<0?0:NK(Yi(e[i],us),Yi(t[i],us))?-1:1}function Ltt(e,t,n){var i,s;this.g=e,this.c=t,this.a=this,this.d=this,s=het(n),i=be(ppt,zP,227,s,0,1),this.b=i}function JW(e,t,n,i,s){var c,d;for(d=n;d<=s;d++)for(c=t;c<=i;c++)if(Xy(e,c,d))return!0;return!1}function oWt(e,t){var n,i;for(i=e.Zb().Cc().Kc();i.Ob();)if(n=u(i.Pb(),16),n.Hc(t))return!0;return!1}function $tt(e,t,n){var i,s,c,d;for(sn(n),d=!1,c=e.fd(t),s=n.Kc();s.Ob();)i=s.Pb(),c.Rb(i),d=!0;return d}function QW(e,t){var n,i;return i=u(Yt(e.a,4),129),n=be(Tte,MJ,424,t,0,1),i!=null&&Ol(i,0,n,0,i.length),n}function jtt(e,t){var n;return n=new Tq((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(n.c=e),n}function sWt(e,t){var n;return e===t?!0:te(t,85)?(n=u(t,85),y1e(a0(e),n.vc())):!1}function Dtt(e,t,n){var i,s;for(s=n.Kc();s.Ob();)if(i=u(s.Pb(),44),e.Be(t,i.md()))return!0;return!1}function Ntt(e,t,n){return e.d[t.p][n.p]||(uXt(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function lWt(e,t){var n;return!e||e==t||!Xr(t,(Oe(),Rw))?!1:(n=u(A(t,(Oe(),Rw)),10),n!=e)}function ZW(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function Btt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function Ftt(e){EXe.call(this,"The given string does not match the expected format for individual spacings.",e)}function cWt(e,t){var n;t.Ug("Min Size Preprocessing",1),n=M1e(e),Br(e,(xh(),vx),n.a),Br(e,yB,n.b),t.Vg()}function uWt(e){var t,n,i;for(t=0,i=be(to,_e,8,e.b,0,1),n=Ln(e,0);n.b!=n.d.c;)i[t++]=u(_n(n),8);return i}function eV(e,t,n){var i,s,c;for(i=new Zr,c=Ln(n,0);c.b!=c.d.c;)s=u(_n(c),8),or(i,new Vo(s));$tt(e,t,i)}function aWt(e,t){var n;return n=Ho(e,t),NK(KG(e,t),0)|rA(KG(e,n),0)?n:Ho(FP,KG(Yp(n,63),1))}function fWt(e,t){var n,i;return n=u(e.d.Bc(t),16),n?(i=e.e.hc(),i.Gc(n),e.e.d-=n.gc(),n.$b(),i):null}function ztt(e){var t;if(t=e.a.c.length,t>0)return Bk(t-1,e.a.c.length),X1(e.a,t-1);throw B(new BBe)}function Htt(e,t,n){if(e>t)throw B(new Qt(Mj+e+rft+t));if(e<0||t>n)throw B(new xse(Mj+e+$ge+t+Rge+n))}function C5(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),TW(e,t==null?null:(sn(t),t)),e.C&&e.hl(null)}function dWt(e,t){var n;n=Ke((mV(),ZN))!=null&&t.Sg()!=null?le(pe(t.Sg()))/le(pe(Ke(ZN))):1,vr(e.b,t,n)}function mde(e,t){var n,i;if(i=e.c[t],i!=0)for(e.c[t]=0,e.d-=i,n=t+1;noD?e-n>oD:n-e>oD}function Ztt(e,t){var n;for(n=0;ns&&(Mit(t.q,s),i=n!=t.q.d)),i}function ent(e,t){var n,i,s,c,d,h,b,m;return b=t.i,m=t.j,i=e.f,s=i.i,c=i.j,d=b-s,h=m-c,n=w.Math.sqrt(d*d+h*h),n}function xde(e,t){var n,i;return i=E$(e),i||(n=(qq(),zst(t)),i=new PBe(n),Dn(i.El(),e)),i}function YI(e,t){var n,i;return n=u(e.c.Bc(t),16),n?(i=e.hc(),i.Gc(n),e.d-=n.gc(),n.$b(),e.mc(i)):e.jc()}function SWt(e,t){var n,i;for(i=fu(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.mg(t.e,i),n=n|EP(e,t,i,!1),i=!i;Hfe(e)}function tnt(e,t,n,i){var s,c;e.a=t,c=i?0:1,e.f=(s=new pot(e.c,e.a,n,c),new Wlt(n,e.a,s,e.e,e.b,e.c==(tw(),ux)))}function d$(e){var t;return yn(e.a!=e.b),t=e.d.a[e.a],IGe(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function nnt(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw B(new qs);return t=e.a,e.a+=e.c.c,++e.b,Ae(t)}function oV(e){var t;return t=new Ble(e.a),js(t,e),Ee(t,(Oe(),jr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function sV(e){return(ze(),xc).Hc(e.j)?le(pe(A(e,(Oe(),N8)))):Zs(H(F(to,1),_e,8,0,[e.i.n,e.n,e.a])).b}function EWt(e){var t;return t=cA(Ovt),u(A(e,(Oe(),Kl)),21).Hc((cs(),D8))&&cr(t,($o(),_l),(Uo(),hN)),t}function TWt(e){var t,n,i,s;for(s=new _i,i=new N(e);i.a=0?t:-t;i>0;)i%2==0?(n*=n,i=i/2|0):(s*=n,i-=1);return t<0?1/s:s}function _Wt(e,t){var n,i,s;for(s=1,n=e,i=t>=0?t:-t;i>0;)i%2==0?(n*=n,i=i/2|0):(s*=n,i-=1);return t<0?1/s:s}function sg(e,t){var n,i,s,c;return c=(s=e?E$(e):null,Dot((i=t,s&&s.Gl(),i))),c==t&&(n=E$(e),n&&n.Gl()),c}function rnt(e,t,n){var i,s;return s=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,0,s,t),n?n.nj(i):n=i),n}function int(e,t,n){var i,s;return s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,3,s,t),n?n.nj(i):n=i),n}function Tde(e,t,n){var i,s;return s=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,1,s,t),n?n.nj(i):n=i),n}function ont(e){var t,n;if(e!=null)for(n=0;n=i||t-129&&e<128?(zWe(),t=e+128,n=xme[t],!n&&(n=xme[t]=new Toe(e)),n):new Toe(e)}function x5(e){var t,n;return e>-129&&e<128?(iVe(),t=e+128,n=Pme[t],!n&&(n=Pme[t]=new Poe(e)),n):new Poe(e)}function cnt(e,t){var n;e.a.c.length>0&&(n=u(Ye(e.a,e.a.c.length-1),579),gde(n,t))||$e(e.a,new xJe(t))}function DWt(e){tf();var t,n;t=e.d.c-e.e.c,n=u(e.g,154),ic(n.b,new kDe(t)),ic(n.c,new CDe(t)),Po(n.i,new SDe(t))}function unt(e){var t;return t=new Hp,t.a+="VerticalSegment ",Al(t,e.e),t.a+=" ",lr(t,Wle(new EK,new N(e.k))),t.a}function lV(e,t){var n,i,s;for(n=0,s=el(e,t).Kc();s.Ob();)i=u(s.Pb(),12),n+=A(i,(Oe(),Zc))!=null?1:0;return n}function Wy(e,t,n){var i,s,c;for(i=0,c=Ln(e,0);c.b!=c.d.c&&(s=le(pe(_n(c))),!(s>n));)s>=t&&++i;return i}function ant(e,t){qn(e);try{return e._b(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function Pde(e,t){qn(e);try{return e.Hc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function NWt(e,t){qn(e);try{return e.Mc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return!1;throw B(n)}}function Gm(e,t){qn(e);try{return e.xc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return null;throw B(n)}}function BWt(e,t){qn(e);try{return e.Bc(t)}catch(n){if(n=li(n),te(n,212)||te(n,169))return null;throw B(n)}}function xS(e,t){switch(t.g){case 2:case 1:return el(e,t);case 3:case 4:return ha(el(e,t))}return Ot(),Ot(),Jo}function ES(e){var t;return e.Db&64?lf(e):(t=new Ma(lf(e)),t.a+=" (name: ",ps(t,e.zb),t.a+=")",t.a)}function FWt(e){var t;return t=u(id(e.c.c,""),233),t||(t=new b4(Ck(kk(new D3,""),"Other")),op(e.c.c,"",t)),t}function Mde(e,t,n){var i,s;return s=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,4,s,t),n?n.nj(i):n=i),n}function Ode(e,t,n){var i,s;return s=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,8,s,e.r),n?n.nj(i):n=i),n}function zWt(e,t,n){var i,s;return i=new l1(e.e,4,13,(s=t.c,s||(Mt(),Sd)),null,sp(e,t),!1),n?n.nj(i):n=i,n}function HWt(e,t,n){var i,s;return i=new l1(e.e,3,13,null,(s=t.c,s||(Mt(),Sd)),sp(e,t),!1),n?n.nj(i):n=i,n}function tp(e,t){var n,i;return n=u(t,691),i=n.el(),!i&&n.fl(i=te(t,90)?new FKe(e,u(t,29)):new uYe(e,u(t,156))),i}function JI(e,t,n){var i;e._i(e.i+1),i=e.Zi(t,n),t!=e.i&&Ol(e.g,t,e.g,t+1,e.i-t),pi(e.g,t,i),++e.i,e.Mi(t,n),e.Ni()}function KWt(e,t){var n;return t.a&&(n=t.a.a.length,e.a?lr(e.a,e.b):e.a=new Ru(e.d),bYe(e.a,t.a,t.d.length,n)),e}function UWt(e,t){var n;e.c=t,e.a=XVt(t),e.a<54&&(e.f=(n=t.d>1?pYe(t.a[0],t.a[1]):pYe(t.a[0],0),m0(t.e>0?n:J1(n))))}function QI(e,t){var n;return n=new Y,e.a.Bd(n)?(Ok(),new vK(sn(XQe(e,n.a,t)))):(Qp(e),Ok(),Ok(),Bme)}function fnt(e,t){var n;e.c.length!=0&&(n=u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199),_le(n,new cTe),ist(n,t))}function dnt(e,t){var n;e.c.length!=0&&(n=u(ld(e,be(Lh,fp,10,e.c.length,0,1)),199),_le(n,new uTe),ist(n,t))}function Rr(e,t){return lo(e)?Et(e,t):xm(e)?iWe(e,t):Sm(e)?(sn(e),fe(e)===fe(t)):xue(e)?e.Fb(t):wue(e)?nUe(e,t):wae(e,t)}function fa(e,t,n){if(t<0)j1e(e,n);else{if(!n.rk())throw B(new Qt(vg+n.xe()+x9));u(n,69).wk().Ek(e,e.hi(),t)}}function hnt(e,t,n){if(e<0||t>n)throw B(new ys(Mj+e+$ge+t+", size: "+n));if(e>t)throw B(new Qt(Mj+e+rft+t))}function pnt(e){var t;return e.Db&64?lf(e):(t=new Ma(lf(e)),t.a+=" (source: ",ps(t,e.d),t.a+=")",t.a)}function gnt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function GWt(e){xj();var t,n,i,s;for(n=TV(),i=0,s=n.length;i=0?cg(e):Q7(cg(J1(e))))}function mnt(e,t,n,i,s,c){this.e=new Le,this.f=(ls(),lx),$e(this.e,e),this.d=t,this.a=n,this.b=i,this.f=s,this.c=c}function qWt(e,t,n){e.n=u0(Hg,[_e,RX],[376,28],14,[n,Wi(w.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function vnt(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 ynt(e,t){var n,i;for(i=new hn(e);i.e!=i.i.gc();)if(n=u(mn(i),142),fe(t)===fe(n))return!0;return!1}function XWt(e,t,n){var i,s,c;return c=(s=z5(e.b,t),s),c&&(i=u(vj(MI(e,c),""),29),i)?ipe(e,i,t,n):null}function cV(e,t,n){var i,s,c;return c=(s=z5(e.b,t),s),c&&(i=u(vj(MI(e,c),""),29),i)?ope(e,i,t,n):null}function YWt(e,t){var n;if(n=Hy(e.i,t),n==null)throw B(new Ld("Node did not exist in input."));return Xfe(t,n),null}function JWt(e,t){var n;if(n=xP(e,t),te(n,331))return u(n,35);throw B(new Qt(vg+t+"' is not a valid attribute"))}function IS(e,t,n){var i;if(i=e.gc(),t>i)throw B(new Mm(t,i));if(e.Si()&&e.Hc(n))throw B(new Qt(fM));e.Gi(t,n)}function QWt(e,t){t.Ug("Sort end labels",1),Ci(Ar(Qs(new xt(null,new Pt(e.b,16)),new WEe),new VEe),new qEe),t.Vg()}function ji(){ji=U,yd=new jT(a9,0),Bs=new jT(G4,1),Ps=new jT(U4,2),vd=new jT(GX,3),Ca=new jT("UP",4)}function eP(){eP=U,SB=new dU("P1_STRUCTURE",0),xB=new dU("P2_PROCESSING_ORDER",1),EB=new dU("P3_EXECUTION",2)}function knt(){knt=U,Gyt=Wd(Wd(m7(Wd(Wd(m7(cr(new Li,(A4(),dx),(YS(),ree)),hx),m4e),y4e),px),p4e),k4e)}function ZWt(e){switch(u(A(e,(Oe(),W0)),311).g){case 1:Ee(e,W0,(c1(),o6));break;case 2:Ee(e,W0,(c1(),M2))}}function eVt(e){switch(e){case 0:return new cFe;case 1:return new sFe;case 2:return new lFe;default:throw B(new pT)}}function Cnt(e){switch(e.g){case 2:return Bs;case 1:return Ps;case 4:return vd;case 3:return Ca;default:return yd}}function Lde(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new ia(t.d,0,t.a,t.b);default:return null}}function $de(e){switch(e.g){case 1:return rn;case 2:return en;case 3:return fn;case 4:return Pn;default:return nl}}function tP(e){switch(e.g){case 1:return Pn;case 2:return rn;case 3:return en;case 4:return fn;default:return nl}}function g$(e){switch(e.g){case 1:return fn;case 2:return Pn;case 3:return rn;case 4:return en;default:return nl}}function jde(e,t,n,i){switch(t){case 1:return!e.n&&(e.n=new Se(ms,e,1,7)),e.n;case 2:return e.k}return Phe(e,t,n,i)}function PS(e,t,n){var i,s;return e.Pj()?(s=e.Qj(),i=gq(e,t,n),e.Jj(e.Ij(7,Ae(n),i,t,s)),i):gq(e,t,n)}function uV(e,t){var n,i,s;e.d==null?(++e.e,--e.f):(s=t.ld(),n=t.Bi(),i=(n&Mr)%e.d.length,BHt(e,i,Gst(e,i,n,s)))}function E5(e,t){var n;n=(e.Bb&af)!=0,t?e.Bb|=af:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,10,n,t))}function T5(e,t){var n;n=(e.Bb&cv)!=0,t?e.Bb|=cv:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,12,n,t))}function I5(e,t){var n;n=(e.Bb&zc)!=0,t?e.Bb|=zc:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,15,n,t))}function P5(e,t){var n;n=(e.Bb&gv)!=0,t?e.Bb|=gv:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,11,n,t))}function tVt(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,mpe(t.a,e.o,!0),mpe(t.a,e.o,!1),Ee(e.o,(Ue(),yi),(fo(),ob)))}function nVt(e){var t;if(!e.a)throw B(new ks("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,Gqe(e,t),Uqe(e,t)}function rVt(e,t){var n;if(n=pn(e.k,t),n==null)throw B(new Ld("Port did not exist in input."));return Xfe(t,n),null}function iVt(e){var t,n;for(n=Hst(ju(e)).Kc();n.Ob();)if(t=Jn(n.Pb()),JS(e,t))return oHt((CHe(),U4t),t);return null}function Snt(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=u(n.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function oVt(e){var t,n;for(n=h0(new Hp,91),t=!0;e.Ob();)t||(n.a+=Xo),t=!1,Al(n,e.Pb());return(n.a+="]",n).a}function sVt(e){var t,n,i;for(t=new Le,i=new N(e.b);i.at?1:e==t?e==0?Kr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function cVt(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,pi(e.a,e.c,null),t)}function uVt(e){var t,n,i;for(i=0,n=e.length,t=0;t=1?Bs:vd):n}function hVt(e){switch(u(A(e,(Ue(),x1)),223).g){case 1:return new APe;case 3:return new NPe;default:return new RPe}}function lg(e){if(e.c)lg(e.c);else if(e.d)throw B(new ks("Stream already terminated, can't be modified or used"))}function ow(e,t,n){var i;return i=e.a.get(t),e.a.set(t,n===void 0?null:n),i===void 0?(++e.c,++e.b.g):++e.d,i}function pVt(e,t,n){var i,s;for(s=e.a.ec().Kc();s.Ob();)if(i=u(s.Pb(),10),HI(n,u(Ye(t,i.p),16)))return i;return null}function Nde(e,t,n){var i;return i=0,t&&(Py(e.a)?i+=t.f.a/2:i+=t.f.b/2),n&&(Py(e.a)?i+=n.f.a/2:i+=n.f.b/2),i}function gVt(e,t,n){var i;i=n,!i&&(i=oue(new H3,0)),i.Ug($ft,2),Prt(e.b,t,i.eh(1)),Oln(e,t,i.eh(1)),Aun(t,i.eh(1)),i.Vg()}function Bde(e,t,n){var i,s;return i=(Up(),s=new J_,s),HL(i,t),zL(i,n),e&&Dn((!e.a&&(e.a=new Ai(Yu,e,5)),e.a),i),i}function fV(e){var t;return e.Db&64?lf(e):(t=new Ma(lf(e)),t.a+=" (identifier: ",ps(t,e.k),t.a+=")",t.a)}function dV(e,t){var n;n=(e.Bb&wl)!=0,t?e.Bb|=wl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,18,n,t))}function Fde(e,t){var n;n=(e.Bb&wl)!=0,t?e.Bb|=wl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,18,n,t))}function M5(e,t){var n;n=(e.Bb&Xd)!=0,t?e.Bb|=Xd:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,16,n,t))}function zde(e,t){var n;n=(e.Bb&es)!=0,t?e.Bb|=es:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&_r(e,new rf(e,1,20,n,t))}function Hde(e){var t;return t=be(Ea,Yd,28,2,15,1),e-=es,t[0]=(e>>10)+GP&Di,t[1]=(e&1023)+56320&Di,Ud(t,0,t.length)}function bVt(e){var t;return t=Jm(e),t>34028234663852886e22?ii:t<-34028234663852886e22?Hi:t}function Ho(e,t){var n;return Hs(e)&&Hs(t)&&(n=e+t,UP"+w0(t.c):"e_"+Vr(t),e.b&&e.c?w0(e.b)+"->"+w0(e.c):"e_"+Vr(e))}function vVt(e,t){return Et(t.b&&t.c?w0(t.b)+"->"+w0(t.c):"e_"+Vr(t),e.b&&e.c?w0(e.b)+"->"+w0(e.c):"e_"+Vr(e))}function sw(e,t){return Yf(),of(pg),w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t))}function d1(){d1=U,gte=new YR(a9,0),gO=new YR("POLYLINE",1),nC=new YR("ORTHOGONAL",2),v6=new YR("SPLINES",3)}function w$(){w$=U,m6e=new aU("ASPECT_RATIO_DRIVEN",0),$ee=new aU("MAX_SCALE_DRIVEN",1),w6e=new aU("AREA_DRIVEN",2)}function yVt(e,t,n){var i;try{KGt(e,t,n)}catch(s){throw s=li(s),te(s,606)?(i=s,B(new Hae(i))):B(s)}return t}function kVt(e){var t,n,i;for(n=0,i=e.length;nt&&i.Ne(e[c-1],e[c])>0;--c)d=e[c],pi(e,c,e[c-1]),pi(e,c-1,d)}function at(e,t){var n,i,s,c,d;if(n=t.f,op(e.c.d,n,t),t.g!=null)for(s=t.g,c=0,d=s.length;ct){vYe(n);break}}sI(n,t)}function EVt(e,t){var n,i,s;i=Ny(t),s=le(pe(Vm(i,(Ue(),pf)))),n=w.Math.max(0,s/2-.5),DS(t,n,1),$e(e,new NHe(t,n))}function TVt(e,t,n){var i;n.Ug("Straight Line Edge Routing",1),n.dh(t,Kbe),i=u(Ie(t,($y(),z2)),27),uut(e,i),n.dh(t,cD)}function Kde(e,t){e.n.c.length==0&&$e(e.n,new aL(e.s,e.t,e.i)),$e(e.b,t),She(u(Ye(e.n,e.n.c.length-1),209),t),Gct(e,t)}function MS(e){var t;this.a=(t=u(e.e&&e.e(),9),new ra(t,u(ef(t,t.length),9),0)),this.b=be(Ji,Bt,1,this.a.a.length,5,1)}function Us(e){var t;return Array.isArray(e)&&e.Tm===xe?l0(Tu(e))+"@"+(t=Vr(e)>>>0,t.toString(16)):e.toString()}function IVt(e,t){return e.h==KP&&e.m==0&&e.l==0?(t&&(yg=nc(0,0,0)),iUe((t5(),mme))):(t&&(yg=nc(e.l,e.m,e.h)),nc(0,0,0))}function PVt(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 Int(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 Ude(e,t,n,i){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return jde(e,t,n,i)}function m$(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw B(new Qt("Node "+t+" not part of edge "+e))}function MVt(e,t){var n;if(n=xP(e.Dh(),t),te(n,102))return u(n,19);throw B(new Qt(vg+t+"' is not a valid reference"))}function da(e,t,n,i){if(t<0)upe(e,n,i);else{if(!n.rk())throw B(new Qt(vg+n.xe()+x9));u(n,69).wk().Ck(e,e.hi(),t,i)}}function au(e){var t;if(e.b){if(au(e.b),e.b.d!=e.c)throw B(new ea)}else e.d.dc()&&(t=u(e.f.c.xc(e.e),16),t&&(e.d=t))}function OVt(e){Im();var t,n,i,s;for(t=e.o.b,i=u(u($r(e.r,(ze(),Pn)),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s=n.e,s.b+=t}function _Vt(e){var t,n,i;for(this.a=new Dd,i=new N(e);i.a=s)return t.c+n;return t.c+t.b.gc()}function AVt(e,t){Lk();var n,i,s,c;for(i=DQe(e),s=t,Zk(i,0,i.length,s),n=0;n0&&(i+=s,++n);return n>1&&(i+=e.d*(n-1)),i}function $Vt(e){var t,n,i,s,c;return c=c1e(e),n=mT(e.c),i=!n,i&&(s=new t0,$f(c,"knownLayouters",s),t=new gBe(s),Po(e.c,t)),c}function Vde(e){var t,n,i;for(i=new B1,i.a+="[",t=0,n=e.gc();t0&&(Zt(t-1,e.length),e.charCodeAt(t-1)==58)&&!gV(e,zx,Hx))}function qde(e,t){var n;return fe(e)===fe(t)?!0:te(t,92)?(n=u(t,92),e.e==n.e&&e.d==n.d&&cHt(e,n.a)):!1}function P4(e){switch(ze(),e.g){case 4:return en;case 1:return fn;case 3:return Pn;case 2:return rn;default:return nl}}function BVt(e){var t,n;if(e.b)return e.b;for(n=pd?null:e.d;n;){if(t=pd?null:n.b,t)return t;n=pd?null:n.d}return Pk(),Hme}function Xde(e){var t,n,i;for(i=le(pe(e.a.of((gr(),AB)))),n=new N(e.a.Sf());n.a>5,t=e&31,i=be(Bn,ur,28,n+1,15,1),i[n]=1<3;)s*=10,--c;e=(e+(s>>1))/s|0}return i.i=e,!0}function ci(e,t){var n,i,s;if(n=(e.i==null&&qd(e),e.i),i=t.Lj(),i!=-1){for(s=n.length;i=0;--i)for(t=n[i],s=0;s>1,this.k=t-1>>1}function eqt(e){PL(),u(e.of((gr(),_g)),181).Hc((du(),FB))&&(u(e.of(Nv),181).Fc((Qc(),y6)),u(e.of(_g),181).Mc(FB))}function Lnt(e){var t,n;t=e.d==(L4(),M8),n=Qhe(e),t&&!n||!t&&n?Ee(e.a,(Ue(),sh),(Ch(),lO)):Ee(e.a,(Ue(),sh),(Ch(),sO))}function mV(){mV=U,OR(),ZN=(Ue(),Fw),rvt=td(H(F(Jee,1),Obe,149,0,[KM,pf,$2,Bw,Rv,LZ,K8,U8,$Z,rx,L2,Z0,j2]))}function tqt(e,t){var n;return n=u(Ks(e,Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),n.Qc(ZWe(n.gc()))}function $nt(e,t){var n,i;if(i=new pk(e.a.ad(t,!0)),i.a.gc()<=1)throw B(new B3);return n=i.a.ec().Kc(),n.Pb(),u(n.Pb(),40)}function nqt(e,t,n){var i,s;return i=le(e.p[t.i.p])+le(e.d[t.i.p])+t.n.b+t.a.b,s=le(e.p[n.i.p])+le(e.d[n.i.p])+n.n.b+n.a.b,s-i}function nhe(e,t){var n;return e.i>0&&(t.lengthe.i&&pi(t,e.i,null),t}function y$(e){var t;return e.Db&64?ES(e):(t=new Ma(ES(e)),t.a+=" (instanceClassName: ",ps(t,e.D),t.a+=")",t.a)}function k$(e){var t,n,i,s;for(s=0,n=0,i=e.length;n0?(e._j(),i=t==null?0:Vr(t),s=(i&Mr)%e.d.length,n=Gst(e,s,i,t),n!=-1):!1}function jnt(e,t){var n,i;e.a=Ho(e.a,1),e.c=w.Math.min(e.c,t),e.b=w.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function rhe(e,t){switch(t){case 3:Zb(e,0);return;case 4:ew(e,0);return;case 5:oc(e,0);return;case 6:sc(e,0);return}Ide(e,t)}function lw(e,t){switch(t.g){case 1:return s4(e.j,(Dc(),Uve));case 2:return s4(e.j,(Dc(),Wve));default:return Ot(),Ot(),Jo}}function ihe(e){Hb();var t;switch(t=e.Pc(),t.length){case 0:return VJ;case 1:return new QU(qn(t[0]));default:return new AG(kVt(t))}}function Dnt(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(n){throw n=li(n),te(n,77)?B(new ea):B(n)}}function yV(){yV=U,Ote=new ORe,Z5e=new _Re,e8e=new RRe,t8e=new ARe,n8e=new LRe,r8e=new $Re,i8e=new jRe,o8e=new DRe,s8e=new NRe}function C$(e,t){Ile();var n,i;return n=XT((bR(),bR(),j9)),i=null,t==n&&(i=u($l(bme,e),624)),i||(i=new eqe(e),t==n&&Cs(bme,e,i)),i}function Nnt(e){qm();var t;return(e.q?e.q:(Ot(),Ot(),Rh))._b((Ue(),Dw))?t=u(A(e,Dw),203):t=u(A(Io(e),nx),203),t}function Vm(e,t){var n,i;return i=null,Xr(e,(Ue(),JN))&&(n=u(A(e,JN),96),n.pf(t)&&(i=n.of(t))),i==null&&(i=A(Io(e),t)),i}function Bnt(e,t){var n,i,s;return te(t,44)?(n=u(t,44),i=n.ld(),s=Gm(e.Rc(),i),zd(s,n.md())&&(s!=null||e.Rc()._b(i))):!1}function Df(e,t){var n,i,s;return e.f>0&&(e._j(),i=t==null?0:Vr(t),s=(i&Mr)%e.d.length,n=K1e(e,s,i,t),n)?n.md():null}function Yl(e,t,n){var i,s,c;return e.Pj()?(i=e.i,c=e.Qj(),JI(e,i,t),s=e.Ij(3,null,t,i,c),n?n.nj(s):n=s):JI(e,e.i,t),n}function iqt(e,t,n){var i,s;return i=new l1(e.e,4,10,(s=t.c,te(s,90)?u(s,29):(Mt(),Va)),null,sp(e,t),!1),n?n.nj(i):n=i,n}function oqt(e,t,n){var i,s;return i=new l1(e.e,3,10,null,(s=t.c,te(s,90)?u(s,29):(Mt(),Va)),sp(e,t),!1),n?n.nj(i):n=i,n}function Fnt(e){Im();var t;return t=new Vo(u(e.e.of((gr(),Y2)),8)),e.B.Hc((du(),iC))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function cg(e){Vd();var t,n;return n=Vn(e),t=Vn(Yp(e,32)),t!=0?new WXe(n,t):n>10||n<0?new o1(1,n):Tpt[n]}function rP(e,t){var n;return Hs(e)&&Hs(t)&&(n=e%t,UP=0?c=c.a[1]:(s=c,c=c.a[0])}return s}function oP(e,t,n){var i,s,c;for(s=null,c=e.b;c;){if(i=e.a.Ne(t,c.d),n&&i==0)return c;i<=0?c=c.a[0]:(s=c,c=c.a[1])}return s}function fqt(e,t,n,i){var s,c,d;return s=!1,pcn(e.f,n,i)&&(Aqt(e.f,e.a[t][n],e.a[t][i]),c=e.a[t],d=c[i],c[i]=c[n],c[n]=d,s=!0),s}function Unt(e,t,n){var i,s,c,d;for(s=u(pn(e.b,n),183),i=0,d=new N(t.j);d.a>5,t&=31,s=e.d+n+(t==0?0:1),i=be(Bn,ur,28,s,15,1),uQt(i,e.a,n,t),c=new d0(e.e,s,i),iS(c),c}function dqt(e,t){var n,i,s;for(i=new gn(wn(Pi(e).a.Kc(),new j));$n(i);)if(n=u(xn(i),18),s=n.d.i,s.c==t)return!1;return!0}function lhe(e,t,n){var i,s,c,d,h;return d=e.k,h=t.k,i=n[d.g][h.g],s=pe(Vm(e,i)),c=pe(Vm(t,i)),w.Math.max((sn(s),s),(sn(c),c))}function hqt(){return Error.stackTraceLimit>0?(w.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function pqt(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))>0}function che(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))<0}function Wnt(e,t){return Yf(),Yf(),of(pg),(w.Math.abs(e-t)<=pg||e==t||isNaN(e)&&isNaN(t)?0:et?1:Rb(isNaN(e),isNaN(t)))<=0}function CV(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var i=t[n++];n0&&this.b>0&&(this.g=$A(this.c,this.b,this.a))}function gqt(e,t){var n=e.a,i;t=String(t),n.hasOwnProperty(t)&&(i=n[t]);var s=(UW(),ZJ)[typeof i],c=s?s(i):Cde(typeof i);return c}function _5(e){var t,n,i;if(i=null,t=rh in e.a,n=!t,n)throw B(new Ld("Every element must have an id."));return i=$4(n1(e,rh)),i}function cw(e){var t,n;for(n=mot(e),t=null;e.c==2;)Er(e),t||(t=(Ir(),Ir(),new j7(2)),R0(t,n),n=t),n.Jm(mot(e));return n}function x$(e,t){var n,i,s;return e._j(),i=t==null?0:Vr(t),s=(i&Mr)%e.d.length,n=K1e(e,s,i,t),n?(QZe(e,n),n.md()):null}function Znt(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+w.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function bqt(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw B(new Qt("Input edge is not connected to the input port."))}function wqt(e){if(T$(b8,e))return Gt(),S8;if(T$(uJ,e))return Gt(),kg;throw B(new Qt("Expecting true or false"))}function fhe(e){switch(typeof e){case iX:return Z1(e);case yge:return Z3(e);case B4:return RGe(e);default:return e==null?0:$b(e)}}function Wd(e,t){if(e.a<0)throw B(new ks("Did not call before(...) or after(...) before calling add(...)."));return oce(e,e.a,t),e}function dhe(e){return fL(),te(e,162)?u(pn(IO,_pt),295).Rg(e):rc(IO,Tu(e))?u(pn(IO,Tu(e)),295).Rg(e):null}function lc(e){var t,n;return e.Db&32||(n=(t=u(Yt(e,16),29),Sn(t||e.ii())-Sn(e.ii())),n!=0&&M4(e,32,be(Ji,Bt,1,n,5,1))),e}function M4(e,t,n){var i;e.Db&t?n==null?etn(e,t):(i=KV(e,t),i==-1?e.Eb=n:pi(y0(e.Eb),i,n)):n!=null&&Srn(e,t,n)}function mqt(e,t,n,i){var s,c;t.c.length!=0&&(s=hnn(n,i),c=pen(t),Ci(BL(new xt(null,new Pt(c,1)),new DMe),new Mqe(e,n,s,i)))}function vqt(e,t){var n,i,s,c;return i=e.a.length-1,n=t-e.b&i,c=e.c-t&i,s=e.c-e.b&i,IGe(n=c?(wWt(e,t),-1):(bWt(e,t),1)}function E$(e){var t,n,i;if(i=e.Jh(),!i)for(t=0,n=e.Ph();n;n=n.Ph()){if(++t>AX)return n.Qh();if(i=n.Jh(),i||n==e)break}return i}function trt(e,t){var n;return fe(t)===fe(e)?!0:!te(t,21)||(n=u(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function yqt(e,t){return e.et.e?1:e.ft.f?1:Vr(e)-Vr(t)}function T$(e,t){return sn(e),t==null?!1:Et(e,t)?!0:e.length==t.length&&Et(e.toLowerCase(),t.toLowerCase())}function p1(e){var t,n;return kl(e,-129)>0&&kl(e,128)<0?(rVe(),t=Vn(e)+128,n=Eme[t],!n&&(n=Eme[t]=new Ioe(e)),n):new Ioe(e)}function P0(){P0=U,yv=new HR(eh,0),Bve=new HR("INSIDE_PORT_SIDE_GROUPS",1),AQ=new HR("GROUP_MODEL_ORDER",2),LQ=new HR(u0e,3)}function kqt(e){var t;return e.b||p_t(e,(t=hLt(e.e,e.a),!t||!Et(uJ,Df((!t.b&&(t.b=new Su((Mt(),ns),dl,t)),t.b),"qualified")))),e.c}function Cqt(e,t){var n,i;for(n=(Zt(t,e.length),e.charCodeAt(t)),i=t+1;i2e3&&(bpt=e,jD=w.setTimeout(v_t,10))),$D++==0?($Kt((vse(),gme)),!0):!1}function jqt(e,t,n){var i;(Npt?(BVt(e),!0):Bpt||zpt?(Pk(),!0):Fpt&&(Pk(),!1))&&(i=new bWe(t),i.b=n,UQt(e,i))}function xV(e,t){var n;n=!e.A.Hc((Iu(),sb))||e.q==(fo(),Ul),e.u.Hc((Qc(),T1))?n?Eun(e,t):Yut(e,t):e.u.Hc($g)&&(n?Gcn(e,t):fat(e,t))}function lrt(e){var t;fe(Ie(e,(gr(),q2)))===fe((f1(),jB))&&(ri(e)?(t=u(Ie(ri(e),q2),346),Br(e,q2,t)):Br(e,q2,Rx))}function Dqt(e){var t,n;return Xr(e.d.i,(Ue(),F8))?(t=u(A(e.c.i,F8),17),n=u(A(e.d.i,F8),17),yl(t.a,n.a)>0):!1}function crt(e,t,n){return new ia(w.Math.min(e.a,t.a)-n/2,w.Math.min(e.b,t.b)-n/2,w.Math.abs(e.a-t.a)+n,w.Math.abs(e.b-t.b)+n)}function urt(e){var t;this.d=new Le,this.j=new po,this.g=new po,t=e.g.b,this.f=u(A(Io(t),(Ue(),Wu)),88),this.e=le(pe(O$(t,Rv)))}function art(e){this.d=new Le,this.e=new q1,this.c=be(Bn,ur,28,(ze(),H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn])).length,15,1),this.b=e}function ghe(e,t,n){var i;switch(i=n[e.g][t],e.g){case 1:case 3:return new Me(0,i);case 2:case 4:return new Me(i,0);default:return null}}function frt(e,t,n){var i,s;s=u(fI(t.f),205);try{s.rf(e,n),pqe(t.f,s)}catch(c){throw c=li(c),te(c,103)?(i=c,B(i)):B(c)}}function drt(e,t,n){var i,s,c,d,h,b;return i=null,h=sge(c5(),t),c=null,h&&(s=null,b=ige(h,n),d=null,b!=null&&(d=e.qf(h,b)),s=d,c=s),i=c,i}function EV(e,t,n,i){var s;if(s=e.length,t>=s)return s;for(t=t>0?t:0;ti&&pi(t,i,null),t}function hrt(e,t){var n,i;for(i=e.a.length,t.lengthi&&pi(t,i,null),t}function R5(e,t){var n,i;if(++e.j,t!=null&&(n=(i=e.a.Cb,te(i,99)?u(i,99).th():null),Hen(t,n))){M4(e.a,4,n);return}M4(e.a,4,u(t,129))}function Nqt(e){var t;if(e==null)return null;if(t=Ktn(Nl(e,!0)),t==null)throw B(new xK("Invalid hexBinary value: '"+e+"'"));return t}function I$(e,t,n){var i;t.a.length>0&&($e(e.b,new RWe(t.a,n)),i=t.a.length,0i&&(t.a+=LUe(be(Ea,Yd,28,-i,15,1))))}function prt(e,t,n){var i,s,c;if(!n[t.d])for(n[t.d]=!0,s=new N(Gy(t));s.a=e.b>>1)for(i=e.c,n=e.b;n>t;--n)i=i.b;else for(i=e.a.a,n=0;n=0?e.Wh(s):pq(e,i)):n<0?pq(e,i):u(i,69).wk().Bk(e,e.hi(),n)}function mrt(e){var t,n,i;for(i=(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),e.o),n=i.c.Kc();n.e!=n.i.gc();)t=u(n.Yj(),44),t.md();return SI(i)}function Ke(e){var t;if(te(e.a,4)){if(t=dhe(e.a),t==null)throw B(new ks(Fdt+e.b+"'. "+Bdt+(e1(PO),PO.k)+kwe));return t}else return e.a}function Wqt(e,t){var n,i;if(e.j.length!=t.j.length)return!1;for(n=0,i=e.j.length;n=64&&t<128&&(s=Rf(s,nf(1,t-64)));return s}function O$(e,t){var n,i;return i=null,Xr(e,(gr(),w6))&&(n=u(A(e,w6),96),n.pf(t)&&(i=n.of(t))),i==null&&Io(e)&&(i=A(Io(e),t)),i}function Vqt(e,t){var n;return n=u(A(e,(Ue(),Is)),75),EU(t,B0t)?n?Au(n):(n=new _c,Ee(e,Is,n)):n&&Ee(e,Is,null),n}function RS(){RS=U,vve=(gr(),Yke),yQ=Oke,Ngt=G2,mve=kp,Hgt=(H$(),Jme),zgt=Xme,Kgt=Zme,Fgt=qme,Bgt=(tV(),gve),vQ=$gt,wve=jgt,VD=Dgt}function _$(e){switch(Hse(),this.c=new Le,this.d=e,e.g){case 0:case 2:this.a=Yue(Nve),this.b=ii;break;case 3:case 1:this.a=Nve,this.b=Hi}}function qqt(e){var t;o4(u(A(e,(Ue(),yi)),101))&&(t=e.b,sst((_t(0,t.c.length),u(t.c[0],30))),sst(u(Ye(t,t.c.length-1),30)))}function Xqt(e,t){t.Ug("Self-Loop post-processing",1),Ci(Ar(Ar(Qs(new xt(null,new Pt(e.b,16)),new dIe),new hIe),new pIe),new gIe),t.Vg()}function vrt(e,t,n){var i,s;if(e.c)oc(e.c,e.c.i+t),sc(e.c,e.c.j+n);else for(s=new N(e.b);s.a=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function AS(){AS=U,z3e=new OT(_be,0),UZ=new OT(dY,1),GZ=new OT("LINEAR_SEGMENTS",2),ox=new OT("BRANDES_KOEPF",3),sx=new OT(pdt,4)}function LS(){LS=U,TM=new FR(_j,0),GD=new FR(WX,1),WD=new FR(VX,2),IM=new FR(qX,3),TM.a=!1,GD.a=!0,WD.a=!1,IM.a=!0}function O4(){O4=U,SM=new BR(_j,0),CM=new BR(WX,1),xM=new BR(VX,2),EM=new BR(qX,3),SM.a=!1,CM.a=!0,xM.a=!1,EM.a=!0}function _4(e,t,n,i){var s;return n>=0?e.Sh(t,n,i):(e.Ph()&&(i=(s=e.Fh(),s>=0?e.Ah(i):e.Ph().Th(e,-1-s,null,i))),e.Ch(t,n,i))}function bhe(e,t){switch(t){case 7:!e.e&&(e.e=new jt(Ti,e,7,4)),jn(e.e);return;case 8:!e.d&&(e.d=new jt(Ti,e,8,5)),jn(e.d);return}rhe(e,t)}function Br(e,t,n){return n==null?(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),x$(e.o,t)):(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),fP(e.o,t,n)),e}function Srt(e,t){Ot();var n,i,s,c;for(n=e,c=t,te(e,21)&&!te(t,21)&&(n=t,c=e),s=n.Kc();s.Ob();)if(i=s.Pb(),c.Hc(i))return!1;return!0}function eXt(e,t,n,i){if(t.an.b)return!0}return!1}function OV(e,t){return lo(e)?!!upt[t]:e.Sm?!!e.Sm[t]:xm(e)?!!cpt[t]:Sm(e)?!!lpt[t]:!1}function tXt(e){var t;t=e.a;do t=u(xn(new gn(wn(eo(t).a.Kc(),new j))),18).c.i,t.k==(nn(),io)&&e.b.Fc(t);while(t.k==(nn(),io));e.b=ha(e.b)}function xrt(e,t){var n,i,s;for(s=e,i=new gn(wn(eo(t).a.Kc(),new j));$n(i);)n=u(xn(i),18),n.c.i.c&&(s=w.Math.max(s,n.c.i.c.p));return s}function nXt(e,t){var n,i,s;for(s=0,i=u(u($r(e.r,t),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s+=n.d.d+n.b.Mf().b+n.d.a,i.Ob()&&(s+=e.w);return s}function rXt(e,t){var n,i,s;for(s=0,i=u(u($r(e.r,t),21),87).Kc();i.Ob();)n=u(i.Pb(),117),s+=n.d.b+n.b.Mf().a+n.d.c,i.Ob()&&(s+=e.w);return s}function Ert(e){var t,n,i,s;if(i=0,s=tv(e),s.c.length==0)return 1;for(n=new N(s);n.a=0?e.Lh(d,n,!0):dw(e,c,n)):u(c,69).wk().yk(e,e.hi(),s,n,i)}function lXt(e,t,n,i){var s,c;c=t.pf((gr(),X2))?u(t.of(X2),21):e.j,s=GWt(c),s!=(xj(),gQ)&&(n&&!uhe(s)||k1e(Utn(e,s,i),t))}function cXt(e){switch(e.g){case 1:return iw(),kM;case 3:return iw(),yM;case 2:return iw(),wQ;case 4:return iw(),bQ;default:return null}}function uXt(e,t,n){if(e.e)switch(e.b){case 1:ZNt(e.c,t,n);break;case 0:eBt(e.c,t,n)}else UYe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function Trt(e){var t,n;if(e==null)return null;for(n=be(Lh,_e,199,e.length,0,2),t=0;t=0)return s;if(e.ol()){for(i=0;i=s)throw B(new Mm(t,s));if(e.Si()&&(i=e.dd(n),i>=0&&i!=t))throw B(new Qt(fM));return e.Xi(t,n)}function whe(e,t){if(this.a=u(qn(e),253),this.b=u(qn(t),253),e.Ed(t)>0||e==(wK(),GJ)||t==(mK(),WJ))throw B(new Qt("Invalid range: "+VYe(e,t)))}function Irt(e){var t,n;for(this.b=new Le,this.c=e,this.a=!1,n=new N(e.a);n.a0),(t&-t)==t)return Wi(t*fu(e,31)*4656612873077393e-25);do n=fu(e,31),i=n%t;while(n-i+(t-1)<0);return Wi(i)}function gXt(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function sP(e,t,n,i){var s,c;for(s=t;s1&&(c=fXt(e,t)),c}function Ort(e){var t;return t=le(pe(Ie(e,(gr(),pO))))*w.Math.sqrt((!e.a&&(e.a=new Se(xr,e,10,11)),e.a).i),new Me(t,t/le(pe(Ie(e,LB))))}function RV(e){var t;return e.f&&e.f.Vh()&&(t=u(e.f,54),e.f=u(sg(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,8,t,e.f))),e.f}function AV(e){var t;return e.i&&e.i.Vh()&&(t=u(e.i,54),e.i=u(sg(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,7,t,e.i))),e.i}function is(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=u(sg(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,21,t,e.b))),e.b}function j$(e,t){var n,i,s;e.d==null?(++e.e,++e.f):(i=t.Bi(),Nnn(e,e.f+1),s=(i&Mr)%e.d.length,n=e.d[s],!n&&(n=e.d[s]=e.dk()),n.Fc(t),++e.f)}function yhe(e,t,n){var i;return t.tk()?!1:t.Ik()!=-2?(i=t.ik(),i==null?n==null:Rr(i,n)):t.qk()==e.e.Dh()&&n==null}function D$(){var e;Nu(16,zat),e=het(16),this.b=be(qJ,zP,303,e,0,1),this.c=be(qJ,zP,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function g1(e){Tce.call(this),this.k=(nn(),Ei),this.j=(Nu(6,lv),new ql(6)),this.b=(Nu(2,lv),new ql(2)),this.d=new dK,this.f=new lse,this.a=e}function wXt(e){var t,n;e.c.length<=1||(t=Llt(e,(ze(),Pn)),kot(e,u(t.a,17).a,u(t.b,17).a),n=Llt(e,rn),kot(e,u(n.a,17).a,u(n.b,17).a))}function mXt(e,t,n){var i,s;for(s=e.a.b,i=s.c.length;i102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function NV(e,t){if(e==null)throw B(new U3("null key in entry: null="+t));if(t==null)throw B(new U3("null value in entry: "+e+"=null"))}function kXt(e,t){for(var n,i;e.Ob();)if(!t.Ob()||(n=e.Pb(),i=t.Pb(),!(fe(n)===fe(i)||n!=null&&Rr(n,i))))return!1;return!t.Ob()}function Art(e,t){var n;return n=H(F(uo,1),ws,28,15,[rV(e.a[0],t),rV(e.a[1],t),rV(e.a[2],t)]),e.d&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function Lrt(e,t){var n;return n=H(F(uo,1),ws,28,15,[f$(e.a[0],t),f$(e.a[1],t),f$(e.a[2],t)]),e.d&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function Che(e,t,n){o4(u(A(t,(Ue(),yi)),101))||(jae(e,t,lp(t,n)),jae(e,t,lp(t,(ze(),Pn))),jae(e,t,lp(t,en)),Ot(),Mi(t.j,new NDe(e)))}function $rt(e){var t,n;for(e.c||Fln(e),n=new _c,t=new N(e.a),D(t);t.a0&&(Zt(0,t.length),t.charCodeAt(0)==43)?(Zt(1,t.length+1),t.substr(1)):t))}function $Xt(e){var t;return e==null?null:new qp((t=Nl(e,!0),t.length>0&&(Zt(0,t.length),t.charCodeAt(0)==43)?(Zt(1,t.length+1),t.substr(1)):t))}function xhe(e,t,n,i,s,c,d,h){var b,m;i&&(b=i.a[0],b&&xhe(e,t,n,b,s,c,d,h),VV(e,n,i.d,s,c,d,h)&&t.Fc(i),m=i.a[1],m&&xhe(e,t,n,m,s,c,d,h))}function Xy(e,t,n){try{return _b(PW(e,t,n),1)}catch(i){throw i=li(i),te(i,333)?B(new ys(XX+e.o+"*"+e.p+YX+t+Xo+n+JX)):B(i)}}function Frt(e,t,n){try{return _b(PW(e,t,n),0)}catch(i){throw i=li(i),te(i,333)?B(new ys(XX+e.o+"*"+e.p+YX+t+Xo+n+JX)):B(i)}}function zrt(e,t,n){try{return _b(PW(e,t,n),2)}catch(i){throw i=li(i),te(i,333)?B(new ys(XX+e.o+"*"+e.p+YX+t+Xo+n+JX)):B(i)}}function Hrt(e,t){if(e.g==-1)throw B(new Oc);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(n){throw n=li(n),te(n,77)?B(new ea):B(n)}}function jXt(e){var t,n,i,s,c;for(i=new N(e.b);i.ac&&pi(t,c,null),t}function DXt(e,t){var n,i;if(i=e.gc(),t==null){for(n=0;n0&&(b+=s),m[v]=d,d+=h*(b+i)}function Urt(e){var t,n,i;for(i=e.f,e.n=be(uo,ws,28,i,15,1),e.d=be(uo,ws,28,i,15,1),t=0;t0?e.c:0),++s;e.b=i,e.d=c}function Xrt(e,t){var n;return n=H(F(uo,1),ws,28,15,[vhe(e,(jf(),ul),t),vhe(e,Ql,t),vhe(e,al,t)]),e.f&&(n[0]=w.Math.max(n[0],n[2]),n[2]=n[0]),n}function GXt(e,t,n){var i;try{dj(e,t+e.j,n+e.k,!1,!0)}catch(s){throw s=li(s),te(s,77)?(i=s,B(new ys(i.g+Aj+t+Xo+n+")."))):B(s)}}function WXt(e,t,n){var i;try{dj(e,t+e.j,n+e.k,!0,!1)}catch(s){throw s=li(s),te(s,77)?(i=s,B(new ys(i.g+Aj+t+Xo+n+")."))):B(s)}}function Yrt(e){var t;Xr(e,(Ue(),jw))&&(t=u(A(e,jw),21),t.Hc((ev(),bf))?(t.Mc(bf),t.Fc(wf)):t.Hc(wf)&&(t.Mc(wf),t.Fc(bf)))}function Jrt(e){var t;Xr(e,(Ue(),jw))&&(t=u(A(e,jw),21),t.Hc((ev(),vf))?(t.Mc(vf),t.Fc(Ha)):t.Hc(Ha)&&(t.Mc(Ha),t.Fc(vf)))}function UV(e,t,n,i){var s,c,d,h;return e.a==null&&qQt(e,t),d=t.b.j.c.length,c=n.d.p,h=i.d.p,s=h-1,s<0&&(s=d-1),c<=s?e.a[s]-e.a[c]:e.a[d-1]-e.a[c]+e.a[s]}function VXt(e){var t,n;if(!e.b)for(e.b=gL(u(e.f,27).kh().i),n=new hn(u(e.f,27).kh());n.e!=n.i.gc();)t=u(mn(n),135),$e(e.b,new kK(t));return e.b}function qXt(e){var t,n;if(!e.e)for(e.e=gL(CG(u(e.f,27)).i),n=new hn(CG(u(e.f,27)));n.e!=n.i.gc();)t=u(mn(n),123),$e(e.e,new HNe(t));return e.e}function Qrt(e){var t,n;if(!e.a)for(e.a=gL(rL(u(e.f,27)).i),n=new hn(rL(u(e.f,27)));n.e!=n.i.gc();)t=u(mn(n),27),$e(e.a,new MU(e,t));return e.a}function aw(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=$cn(e),t)e.hl(t);else try{e.hl(null)}catch(n){if(n=li(n),!te(n,63))throw B(n)}return e.C}function XXt(e){switch(e.q.g){case 5:Cit(e,(ze(),en)),Cit(e,Pn);break;case 4:xut(e,(ze(),en)),xut(e,Pn);break;default:Iot(e,(ze(),en)),Iot(e,Pn)}}function YXt(e){switch(e.q.g){case 5:Sit(e,(ze(),fn)),Sit(e,rn);break;case 4:Eut(e,(ze(),fn)),Eut(e,rn);break;default:Pot(e,(ze(),fn)),Pot(e,rn)}}function Yy(e,t){var n,i,s;for(s=new po,i=e.Kc();i.Ob();)n=u(i.Pb(),36),U5(n,s.a,0),s.a+=n.f.a+t,s.b=w.Math.max(s.b,n.f.b);return s.b>0&&(s.b+=t),s}function F$(e,t){var n,i,s;for(s=new po,i=e.Kc();i.Ob();)n=u(i.Pb(),36),U5(n,0,s.b),s.b+=n.f.b+t,s.a=w.Math.max(s.a,n.f.a);return s.a>0&&(s.a+=t),s}function Zrt(e){var t,n,i;for(i=Mr,n=new N(e.a);n.a>16==6?e.Cb.Th(e,5,Uf,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function JXt(e){Vk();var t=e.e;if(t&&t.stack){var n=t.stack,i=t+` +`;return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split(` +`)}return[]}function QXt(e){var t;return t=(tet(),kpt),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 nit(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=ide(w.Math.max(8,i))<<1,e.b!=0?(t=ef(e.a,n),wet(e,t,i),e.a=t,e.b=0):mm(e.a,n),e.c=i)}function ZXt(e,t){var n;return n=e.b,n.pf((gr(),bu))?n.ag()==(ze(),rn)?-n.Mf().a-le(pe(n.of(bu))):t+le(pe(n.of(bu))):n.ag()==(ze(),rn)?-n.Mf().a:t}function cP(e){var t;return e.b.c.length!=0&&u(Ye(e.b,0),72).a?u(Ye(e.b,0),72).a:(t=SG(e),t??""+(e.c?$s(e.c.a,e,0):-1))}function z$(e){var t;return e.f.c.length!=0&&u(Ye(e.f,0),72).a?u(Ye(e.f,0),72).a:(t=SG(e),t??""+(e.i?$s(e.i.j,e,0):-1))}function eYt(e,t){var n,i;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),s=w.Math.max(s,t.d),++i;e.e=c,e.b=s}function nYt(e){var t,n;if(!e.b)for(e.b=gL(u(e.f,123).kh().i),n=new hn(u(e.f,123).kh());n.e!=n.i.gc();)t=u(mn(n),135),$e(e.b,new kK(t));return e.b}function rYt(e,t){var n,i,s;if(t.dc())return Lk(),Lk(),MO;for(n=new DGe(e,t.gc()),s=new hn(e);s.e!=s.i.gc();)i=mn(s),t.Hc(i)&&Dn(n,i);return n}function Phe(e,t,n,i){return t==0?i?(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),e.o):(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),SI(e.o)):R$(e,t,n,i)}function WV(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),s+=i>>22,s<0)?!1:(e.l=n&hu,e.m=i&hu,e.h=s&v1,!0)}function VV(e,t,n,i,s,c,d){var h,b;return!(t.Te()&&(b=e.a.Ne(n,i),b<0||!s&&b==0)||t.Ue()&&(h=e.a.Ne(n,c),h>0||!d&&h==0))}function lYt(e,t){k5();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return hV(t,_ye)-hV(e,_ye);case 4:return hV(e,Oye)-hV(t,Oye)}return 0}function cYt(e){switch(e.g){case 0:return rZ;case 1:return iZ;case 2:return oZ;case 3:return sZ;case 4:return TN;case 5:return lZ;default:return null}}function Es(e,t,n){var i,s;return i=(s=new gK,I0(s,t),Xl(s,n),Dn((!e.c&&(e.c=new Se(Gw,e,12,10)),e.c),s),s),Q1(i,0),Hm(i,1),rp(i,!0),np(i,!0),i}function R4(e,t){var n,i;if(t>=e.i)throw B(new bU(t,e.i));return++e.j,n=e.g[t],i=e.i-t-1,i>0&&Ol(e.g,t+1,e.g,t,i),pi(e.g,--e.i,null),e.Qi(t,n),e.Ni(),n}function rit(e,t){var n,i;return e.Db>>16==17?e.Cb.Th(e,21,Ua,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function uYt(e){var t,n,i,s;for(Ot(),Mi(e.c,e.a),s=new N(e.c);s.an.a.c.length))throw B(new Qt("index must be >= 0 and <= layer node count"));e.c&&vc(e.c.a,e),e.c=n,n&&Nb(n.a,t,e)}function cit(e,t){var n,i,s;for(i=new gn(wn(h1(e).a.Kc(),new j));$n(i);)return n=u(xn(i),18),s=u(t.Kb(n),10),new nR(qn(s.n.b+s.o.b/2));return l7(),l7(),UJ}function uit(e,t){this.c=new On,this.a=e,this.b=t,this.d=u(A(e,(Oe(),R2)),312),fe(A(e,(Ue(),g3e)))===fe((II(),IN))?this.e=new nFe:this.e=new tFe}function jS(e,t){var n,i;return i=null,e.pf((gr(),w6))&&(n=u(e.of(w6),96),n.pf(t)&&(i=n.of(t))),i==null&&e.Tf()&&(i=e.Tf().of(t)),i==null&&(i=Ke(t)),i}function qV(e,t){var n,i;n=e.fd(t);try{return i=n.Pb(),n.Qb(),i}catch(s){throw s=li(s),te(s,112)?B(new ys("Can't remove element "+t)):B(s)}}function wYt(e,t){var n,i,s;if(i=new TR,s=new lde(i.q.getFullYear()-gg,i.q.getMonth(),i.q.getDate()),n=Psn(e,t,s),n==0||n0?t:0),++n;return new Me(i,s)}function Ahe(e,t){var n,i;return e.Db>>16==6?e.Cb.Th(e,6,Ti,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Cl(),UB)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Lhe(e,t){var n,i;return e.Db>>16==7?e.Cb.Th(e,1,xO,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Cl(),j5e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function $he(e,t){var n,i;return e.Db>>16==9?e.Cb.Th(e,9,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Cl(),N5e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function dit(e,t){var n,i;return e.Db>>16==5?e.Cb.Th(e,9,ZB,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Mt(),Ep)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function hit(e,t){var n,i;return e.Db>>16==7?e.Cb.Th(e,6,Uf,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Mt(),Ip)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function jhe(e,t){var n,i;return e.Db>>16==3?e.Cb.Th(e,0,TO,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Mt(),xp)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function pit(){this.a=new wRe,this.g=new D$,this.j=new D$,this.b=new On,this.d=new D$,this.i=new D$,this.k=new On,this.c=new On,this.e=new On,this.f=new On}function yYt(e,t,n){var i,s,c;for(n<0&&(n=0),c=e.i,s=n;sAX)return L5(e,i);if(i==e)return!0}}return!1}function CYt(e){switch(bA(),e.q.g){case 5:Yot(e,(ze(),en)),Yot(e,Pn);break;case 4:Jst(e,(ze(),en)),Jst(e,Pn);break;default:eat(e,(ze(),en)),eat(e,Pn)}}function SYt(e){switch(bA(),e.q.g){case 5:gst(e,(ze(),fn)),gst(e,rn);break;case 4:yrt(e,(ze(),fn)),yrt(e,rn);break;default:tat(e,(ze(),fn)),tat(e,rn)}}function xYt(e){var t,n;t=u(A(e,(uf(),s0t)),17),t?(n=t.a,n==0?Ee(e,(ng(),QD),new wV):Ee(e,(ng(),QD),new vL(n))):Ee(e,(ng(),QD),new vL(1))}function EYt(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function TYt(e,t){switch(e.g){case 0:return t==(pa(),Tg)?mN:vN;case 1:return t==(pa(),Tg)?mN:RM;case 2:return t==(pa(),Tg)?RM:vN;default:return RM}}function aP(e,t){var n,i,s;for(vc(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),s=Ube,i=new N(e.a);i.a>16==3?e.Cb.Th(e,12,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Cl(),$5e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Nhe(e,t){var n,i;return e.Db>>16==11?e.Cb.Th(e,10,xr,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Cl(),D5e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function git(e,t){var n,i;return e.Db>>16==10?e.Cb.Th(e,11,Ua,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Mt(),Tp)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function bit(e,t){var n,i;return e.Db>>16==10?e.Cb.Th(e,12,Ga,t):(i=is(u(Dt((n=u(Yt(e,16),29),n||(Mt(),Wv)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,t))}function Aa(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=u(e.r,54),e.r=u(sg(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,9,8,t,e.r))),e.r}function XV(e,t,n){var i;return i=H(F(uo,1),ws,28,15,[a1e(e,(jf(),ul),t,n),a1e(e,Ql,t,n),a1e(e,al,t,n)]),e.f&&(i[0]=w.Math.max(i[0],i[2]),i[2]=i[0]),i}function IYt(e,t){var n,i,s;if(s=Jqt(e,t),s.c.length!=0)for(Mi(s,new ATe),n=s.c.length,i=0;i>19,m=t.h>>19,b!=m?m-b:(s=e.h,h=t.h,s!=h?s-h:(i=e.m,d=t.m,i!=d?i-d:(n=e.l,c=t.l,n-c)))}function H$(){H$=U,eve=(aj(),hQ),Zme=new St(Nge,eve),Qme=($L(),dQ),Jme=new St(Bge,Qme),Yme=(P$(),fQ),Xme=new St(Fge,Yme),qme=new St(zge,(Gt(),!0))}function DS(e,t,n){var i,s;i=t*n,te(e.g,154)?(s=m4(e),s.f.d?s.f.a||(e.d.a+=i+fd):(e.d.d-=i+fd,e.d.a+=i+fd)):te(e.g,10)&&(e.d.d-=i,e.d.a+=2*i)}function wit(e,t,n){var i,s,c,d,h;for(s=e[n.g],h=new N(t.d);h.a0?e.b:0),++n;t.b=i,t.e=s}function mit(e){var t,n,i;if(i=e.b,lHe(e.i,i.length)){for(n=i.length*2,e.b=be(qJ,zP,303,n,0,1),e.c=be(qJ,zP,303,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)vP(e,t,t);++e.g}}function LYt(e,t,n,i){var s,c,d,h;for(s=0;sd&&(h=d/i),s>c&&(b=c/s),Nd(e,w.Math.min(h,b)),e}function jYt(){bj();var e,t;try{if(t=u(Xhe((Gp(),Wa),m8),2113),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Nue((Yn(),e));else throw B(n)}return new hRe}function DYt(){bj();var e,t;try{if(t=u(Xhe((Gp(),Wa),Da),2040),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Nue((Yn(),e));else throw B(n)}return new BRe}function NYt(){TQe();var e,t;try{if(t=u(Xhe((Gp(),Wa),K0),2122),t)return t}catch(n){if(n=li(n),te(n,103))e=n,Nue((Yn(),e));else throw B(n)}return new RAe}function BYt(e,t,n){var i,s;return s=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(i=new ro(e,1,4,s,t),n?n.nj(i):n=i),s!=t&&(t?n=Y5(e,tj(e,t),n):n=Y5(e,e.a,n)),n}function vit(){TR.call(this),this.e=-1,this.a=!1,this.p=jo,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=jo}function FYt(e,t){var n,i,s;if(i=e.b.d.d,e.a||(i+=e.b.d.a),s=t.b.d.d,t.a||(s+=t.b.d.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function zYt(e,t){var n,i,s;if(i=e.b.b.d,e.a||(i+=e.b.b.a),s=t.b.b.d,t.a||(s+=t.b.b.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function HYt(e,t){var n,i,s;if(i=e.b.g.d,e.a||(i+=e.b.g.a),s=t.b.g.d,t.a||(s+=t.b.g.a),n=Kr(i,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Fhe(){Fhe=U,x0t=$c(cr(cr(cr(new Li,($o(),zl),(Uo(),bye)),zl,wye),Ns,mye),Ns,oye),T0t=cr(cr(new Li,zl,Qve),zl,sye),E0t=$c(new Li,Ns,cye)}function KYt(e){var t,n,i,s,c;for(t=u(A(e,(Oe(),X9)),85),c=e.n,i=t.Cc().Kc();i.Ob();)n=u(i.Pb(),314),s=n.i,s.c+=c.a,s.d+=c.b,n.c?Nlt(n):Blt(n);Ee(e,X9,null)}function UYt(e,t,n){var i,s;switch(s=e.b,i=s.d,t.g){case 1:return-i.d-n;case 2:return s.o.a+i.c+n;case 3:return s.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}function GYt(e,t,n){var i,s;for(n.Ug("Interactive node placement",1),e.a=u(A(t,(Oe(),R2)),312),s=new N(t.b);s.a0&&(d=(c&Mr)%e.d.length,s=K1e(e,d,c,t),s)?(h=s.nd(n),h):(i=e.ck(c,t,n),e.c.Fc(i),null)}function Khe(e,t){var n,i,s,c;switch(tp(e,t).Kl()){case 3:case 2:{for(n=o2(t),s=0,c=n.i;s=0;i--)if(Et(e[i].d,t)||Et(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function dP(e,t){var n;return Hs(e)&&Hs(t)&&(n=e/t,UP0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=w.Math.min(i,s))}function Tit(e){var t;t=u(A(u(ga(e.b,0),40),(sl(),D4e)),107),Ee(e,(Wr(),q8),new Me(0,0)),wct(new kI,e,t.b+t.c-le(pe(A(e,cee))),t.d+t.a-le(pe(A(e,uee))))}function Iit(e,t){var n,i;if(i=!1,lo(t)&&(i=!0,d4(e,new Rm(Jn(t)))),i||te(t,242)&&(i=!0,d4(e,(n=Dce(u(t,242)),new rR(n)))),!i)throw B(new SK(Fwe))}function cJt(e,t,n,i){var s,c,d;return s=new l1(e.e,1,10,(d=t.c,te(d,90)?u(d,29):(Mt(),Va)),(c=n.c,te(c,90)?u(c,29):(Mt(),Va)),sp(e,t),!1),i?i.nj(s):i=s,i}function Whe(e){var t,n;switch(u(A(Io(e),(Ue(),c3e)),429).g){case 0:return t=e.n,n=e.o,new Me(t.a+n.a/2,t.b+n.b/2);case 1:return new Vo(e.n);default:return null}}function hP(){hP=U,PN=new E7(eh,0),Vye=new E7("LEFTUP",1),Xye=new E7("RIGHTUP",2),Wye=new E7("LEFTDOWN",3),qye=new E7("RIGHTDOWN",4),cZ=new E7("BALANCED",5)}function uJt(e,t,n){var i,s,c;if(i=Kr(e.a[t.p],e.a[n.p]),i==0){if(s=u(A(t,(Oe(),c6)),15),c=u(A(n,c6),15),s.Hc(n))return-1;if(c.Hc(t))return 1}return i}function aJt(e){switch(e.g){case 1:return new qOe;case 2:return new XOe;case 3:return new VOe;case 0:return null;default:throw B(new Qt(XY+(e.f!=null?e.f:""+e.g)))}}function Vhe(e,t,n){switch(t){case 1:!e.n&&(e.n=new Se(ms,e,1,7)),jn(e.n),!e.n&&(e.n=new Se(ms,e,1,7)),mi(e.n,u(n,16));return;case 2:u5(e,Jn(n));return}hde(e,t,n)}function qhe(e,t,n){switch(t){case 3:Zb(e,le(pe(n)));return;case 4:ew(e,le(pe(n)));return;case 5:oc(e,le(pe(n)));return;case 6:sc(e,le(pe(n)));return}Vhe(e,t,n)}function K$(e,t,n){var i,s,c;c=(i=new gK,i),s=cd(c,t,null),s&&s.oj(),Xl(c,n),Dn((!e.c&&(e.c=new Se(Gw,e,12,10)),e.c),c),Q1(c,0),Hm(c,1),rp(c,!0),np(c,!0)}function Xhe(e,t){var n,i,s;return n=y7(e.i,t),te(n,241)?(s=u(n,241),s.zi()==null,s.wi()):te(n,507)?(i=u(n,2037),s=i.b,s):null}function fJt(e,t,n,i){var s,c;return qn(t),qn(n),c=u(K7(e.d,t),17),QQe(!!c,"Row %s not in %s",t,e.e),s=u(K7(e.b,n),17),QQe(!!s,"Column %s not in %s",n,e.c),ftt(e,c.a,s.a,i)}function Pit(e,t,n,i,s,c,d){var h,b,m,v,k;if(v=s[c],m=c==d-1,h=m?i:0,k=Vrt(h,v),i!=10&&H(F(e,d-c),t[c],n[c],h,k),!m)for(++c,b=0;b1||h==-1?(c=u(b,15),s.Wb(qVt(e,c))):s.Wb(Lq(e,u(b,58)))))}function mJt(e,t,n,i){jze();var s=KJ;function c(){for(var d=0;d0)return!1;return!0}function kJt(e){var t,n,i,s,c;for(i=new S0(new i0(e.b).a);i.b;)n=rw(i),t=u(n.ld(),10),c=u(u(n.md(),42).a,10),s=u(u(n.md(),42).b,8),Or(Of(t.n),Or(Eo(c.n),s))}function CJt(e){switch(u(A(e.b,(Ue(),t3e)),387).g){case 1:Ci(As(Qs(new xt(null,new Pt(e.d,16)),new EPe),new TPe),new IPe);break;case 2:win(e);break;case 0:XZt(e)}}function SJt(e,t,n){var i,s,c;for(i=n,!i&&(i=new H3),i.Ug("Layout",e.a.c.length),c=new N(e.a);c.aGY)return n;s>-1e-6&&++n}return n}function Jhe(e,t){var n;t!=e.b?(n=null,e.b&&(n=lL(e.b,e,-4,n)),t&&(n=_4(t,e,-4,n)),n=int(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function _it(e,t){var n;t!=e.f?(n=null,e.f&&(n=lL(e.f,e,-1,n)),t&&(n=_4(t,e,-1,n)),n=rnt(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,0,t,t))}function IJt(e,t,n,i){var s,c,d,h;return ku(e.e)&&(s=t.Lk(),h=t.md(),c=n.md(),d=Zp(e,1,s,h,c,s.Jk()?V5(e,s,c,te(s,102)&&(u(s,19).Bb&es)!=0):-1,!0),i?i.nj(d):i=d),i}function Rit(e){var t,n,i;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(i=new B1,t=n.Kc();t.Ob();)ps(i,(zr(),Jn(t.Pb()))),i.a+=" ";return mU(i,i.a.length-1)}function Ait(e){var t,n,i;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(i=new B1,t=n.Kc();t.Ob();)ps(i,(zr(),Jn(t.Pb()))),i.a+=" ";return mU(i,i.a.length-1)}function PJt(e,t,n){var i,s;return i=e.c[t.c.p][t.p],s=e.c[n.c.p][n.p],i.a!=null&&s.a!=null?sG(i.a,s.a):i.a!=null?-1:s.a!=null?1:0}function MJt(e,t,n){return n.Ug("Tree layout",1),lI(e.b),_f(e.b,(A4(),uB),uB),_f(e.b,dx,dx),_f(e.b,hx,hx),_f(e.b,px,px),e.a=AP(e.b,t),SJt(e,t,n.eh(1)),n.Vg(),t}function OJt(e,t){var n,i,s,c,d,h;if(t)for(c=t.a.length,n=new f0(c),h=(n.b-n.a)*n.c<0?(Wp(),zg):new Xp(n);h.Ob();)d=u(h.Pb(),17),s=Xk(t,d.a),i=new QNe(e),NNt(i.a,s)}function _Jt(e,t){var n,i,s,c,d,h;if(t)for(c=t.a.length,n=new f0(c),h=(n.b-n.a)*n.c<0?(Wp(),zg):new Xp(n);h.Ob();)d=u(h.Pb(),17),s=Xk(t,d.a),i=new KNe(e),DNt(i.a,s)}function RJt(e){var t;if(e!=null&&e.length>0&&Lo(e,e.length-1)==33)try{return t=zst(oa(e,0,e.length-1)),t.e==null}catch(n){if(n=li(n),!te(n,33))throw B(n)}return!1}function AJt(e,t,n){var i,s,c;switch(i=Io(t),s=b$(i),c=new Ml,Js(c,t),n.g){case 1:Vi(c,tP(P4(s)));break;case 2:Vi(c,P4(s))}return Ee(c,(Ue(),Mv),pe(A(e,Mv))),c}function Qhe(e){var t,n;return t=u(xn(new gn(wn(eo(e.a).a.Kc(),new j))),18),n=u(xn(new gn(wn(Pi(e.a).a.Kc(),new j))),18),qe(Ve(A(t,(Oe(),bd))))||qe(Ve(A(n,bd)))}function Ym(){Ym=U,AM=new IT("ONE_SIDE",0),CN=new IT("TWO_SIDES_CORNER",1),SN=new IT("TWO_SIDES_OPPOSING",2),kN=new IT("THREE_SIDES",3),yN=new IT("FOUR_SIDES",4)}function Lit(e,t){var n,i,s,c;for(c=new Le,s=0,i=t.Kc();i.Ob();){for(n=Ae(u(i.Pb(),17).a+s);n.a=e.f)break;Ft(c.c,n)}return c}function LJt(e,t){var n,i,s,c,d;for(c=new N(t.a);c.a0&&iit(this,this.c-1,(ze(),fn)),this.c0&&e[0].length>0&&(this.c=qe(Ve(A(Io(e[0][0]),(Oe(),a2e))))),this.a=be(Pvt,_e,2117,e.length,0,2),this.b=be(Mvt,_e,2118,e.length,0,2),this.d=new Qtt}function BJt(e){return e.c.length==0?!1:(_t(0,e.c.length),u(e.c[0],18)).c.i.k==(nn(),io)?!0:Fy(As(new xt(null,new Pt(e,16)),new sMe),new lMe)}function Dit(e,t){var n,i,s,c,d,h,b;for(h=tv(t),c=t.f,b=t.g,d=w.Math.sqrt(c*c+b*b),s=0,i=new N(h);i.a=0?(n=dP(e,Ij),i=rP(e,Ij)):(t=Yp(e,1),n=dP(t,5e8),i=rP(t,5e8),i=Ho(nf(i,1),Yi(e,1))),Rf(nf(i,32),Yi(n,us))}function Fit(e,t,n){var i,s;switch(i=(yn(t.b!=0),u(ua(t,t.a.a),8)),n.g){case 0:i.b=0;break;case 2:i.b=e.f;break;case 3:i.a=0;break;default:i.a=e.g}return s=Ln(t,0),sI(s,i),t}function zit(e,t,n,i){var s,c,d,h,b;switch(b=e.b,c=t.d,d=c.j,h=ghe(d,b.d[d.g],n),s=Or(Eo(c.n),c.a),c.j.g){case 1:case 3:h.a+=s.a;break;case 2:case 4:h.b+=s.b}gi(i,h,i.c.b,i.c)}function JJt(e,t,n){var i,s,c,d;for(d=$s(e.e,t,0),c=new ise,c.b=n,i=new wo(e.e,d);i.b1;t>>=1)t&1&&(i=By(i,n)),n.d==1?n=By(n,n):n=new rrt(Sct(n.a,n.d,be(Bn,ur,28,n.d<<1,15,1)));return i=By(i,n),i}function l1e(){l1e=U;var e,t,n,i;for(Fme=be(uo,ws,28,25,15,1),zme=be(uo,ws,28,33,15,1),i=152587890625e-16,t=32;t>=0;t--)zme[t]=i,i*=.5;for(n=1,e=24;e>=0;e--)Fme[e]=n,n*=.5}function rQt(e){var t,n;if(qe(Ve(Ie(e,(Ue(),Pv))))){for(n=new gn(wn(b1(e).a.Kc(),new j));$n(n);)if(t=u(xn(n),74),fw(t)&&qe(Ve(Ie(t,X0))))return!0}return!1}function Hit(e,t){var n,i,s;Fi(e.f,t)&&(t.b=e,i=t.c,$s(e.j,i,0)!=-1||$e(e.j,i),s=t.d,$s(e.j,s,0)!=-1||$e(e.j,s),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new urt(e)),cGt(e.i,n)))}function iQt(e){var t,n,i,s,c;return n=e.c.d,i=n.j,s=e.d.d,c=s.j,i==c?n.p=0&&Et(e.substr(t,3),"GMT")||t>=0&&Et(e.substr(t,3),"UTC"))&&(n[0]=t+3),Fpe(e,n,i)}function sQt(e,t){var n,i,s,c,d;for(c=e.g.a,d=e.g.b,i=new N(e.d);i.an;c--)e[c]|=t[c-n-1]>>>d,e[c-1]=t[c-n-1]<0&&Ol(e.g,t,e.g,t+i,h),d=n.Kc(),e.i+=i,s=0;s>4&15,c=e[i]&15,d[s++]=B5e[n],d[s++]=B5e[c];return Ud(d,0,d.length)}function kc(e){var t,n;return e>=es?(t=GP+(e-es>>10&1023)&Di,n=56320+(e-es&1023)&Di,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&Di)}function wQt(e,t){Im();var n,i,s,c;return s=u(u($r(e.r,t),21),87),s.gc()>=2?(i=u(s.Kc().Pb(),117),n=e.u.Hc((Qc(),jx)),c=e.u.Hc(y6),!i.a&&!n&&(s.gc()==2||c)):!1}function Git(e,t,n,i,s){var c,d,h;for(c=Olt(e,t,n,i,s),h=!1;!c;)Z$(e,s,!0),h=!0,c=Olt(e,t,n,i,s);h&&Z$(e,s,!1),d=HW(s),d.c.length!=0&&(e.d&&e.d.Gg(d),Git(e,s,n,i,d))}function V$(){V$=U,wte=new M7(eh,0),u5e=new M7("DIRECTED",1),f5e=new M7("UNDIRECTED",2),l5e=new M7("ASSOCIATION",3),a5e=new M7("GENERALIZATION",4),c5e=new M7("DEPENDENCY",5)}function mQt(e,t){var n;if(!Qf(e))throw B(new ks(lht));switch(n=Qf(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function vQt(e,t,n){var i,s,c;return i=t.Lk(),c=t.md(),s=i.Jk()?Zp(e,4,i,c,null,V5(e,i,c,te(i,102)&&(u(i,19).Bb&es)!=0),!0):Zp(e,i.tk()?2:1,i,c,i.ik(),-1,!0),n?n.nj(s):n=s,n}function D5(e,t){var n,i;for(sn(t),i=e.b.c.length,$e(e.b,t);i>0;){if(n=i,i=(i-1)/2|0,e.a.Ne(Ye(e.b,i),t)<=0)return la(e.b,n,t),!0;la(e.b,n,Ye(e.b,i))}return la(e.b,i,t),!0}function a1e(e,t,n,i){var s,c;if(s=0,n)s=f$(e.a[n.g][t.g],i);else for(c=0;c=h)}function Wit(e){switch(e.g){case 0:return new u_e;case 1:return new a_e;default:throw B(new Qt("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function f1e(e,t,n,i){var s;if(s=!1,lo(i)&&(s=!0,Nk(t,n,Jn(i))),s||Sm(i)&&(s=!0,f1e(e,t,n,i)),s||te(i,242)&&(s=!0,g0(t,n,u(i,242))),!s)throw B(new SK(Fwe))}function kQt(e,t){var n,i,s;if(n=t.qi(e.a),n&&(s=Df((!n.b&&(n.b=new Su((Mt(),ns),dl,n)),n.b),ja),s!=null)){for(i=1;i<(Nc(),u8e).length;++i)if(Et(u8e[i],s))return i}return 0}function CQt(e,t){var n,i,s;if(n=t.qi(e.a),n&&(s=Df((!n.b&&(n.b=new Su((Mt(),ns),dl,n)),n.b),ja),s!=null)){for(i=1;i<(Nc(),a8e).length;++i)if(Et(a8e[i],s))return i}return 0}function Vit(e,t){var n,i,s,c;if(sn(t),c=e.a.gc(),c0?1:0;c.a[s]!=n;)c=c.a[s],s=e.a.Ne(n.d,c.d)>0?1:0;c.a[s]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function EQt(e){var t,n,i,s;for(t=new Le,n=be(wu,Oh,28,e.a.c.length,16,1),Aue(n,n.length),s=new N(e.a);s.a0&&vct((_t(0,n.c.length),u(n.c[0],30)),e),n.c.length>1&&vct(u(Ye(n,n.c.length-1),30),e),t.Vg()}function IQt(e){Qc();var t,n;return t=Yr(T1,H(F(DB,1),Te,279,0,[$g])),!(BI(uL(t,e))>1||(n=Yr(jx,H(F(DB,1),Te,279,0,[$x,y6])),BI(uL(n,e))>1))}function h1e(e,t){var n;n=$l((Gp(),Wa),e),te(n,507)?Cs(Wa,e,new DKe(this,t)):Cs(Wa,e,this),sq(this,t),t==(Sk(),J5e)?(this.wb=u(this,2038),u(t,2040)):this.wb=(Jp(),Wt)}function PQt(e){var t,n,i;if(e==null)return null;for(t=null,n=0;n=ap?"error":i>=900?"warn":i>=800?"info":"log"),iqe(n,e.a),e.b&&gpe(t,n,e.b,"Exception: ",!0))}function A(e,t){var n,i;return i=(!e.q&&(e.q=new On),pn(e.q,t)),i??(n=t.Sg(),te(n,4)&&(n==null?(!e.q&&(e.q=new On),y4(e.q,t)):(!e.q&&(e.q=new On),vr(e.q,t,n))),n)}function $o(){$o=U,hf=new TT("P1_CYCLE_BREAKING",0),Ah=new TT("P2_LAYERING",1),_l=new TT("P3_NODE_ORDERING",2),zl=new TT("P4_NODE_PLACEMENT",3),Ns=new TT("P5_EDGE_ROUTING",4)}function MQt(e,t){fS();var n;if(e.c==t.c){if(e.b==t.b||jUt(e.b,t.b)){if(n=lRt(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return yl(e.b.g,t.b.g)}else return Kr(e.c,t.c)}function Qit(e,t){var n,i,s;if(g1e(e,t))return!0;for(i=new N(t);i.a=s||t<0)throw B(new ys(SJ+t+z0+s));if(n>=s||n<0)throw B(new ys(xJ+n+z0+s));return t!=n?i=(c=e.Cj(n),e.qj(t,c),c):i=e.xj(n),i}function tot(e){var t,n,i;if(i=e,e)for(t=0,n=e.Eh();n;n=n.Eh()){if(++t>AX)return tot(n);if(i=n,n==e)throw B(new ks("There is a cycle in the containment hierarchy of "+e))}return i}function ag(e){var t,n,i;for(i=new x0(Xo,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),s1(i,fe(t)===fe(e)?"(this Collection)":t==null?Cc:Us(t));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function g1e(e,t){var n,i;if(i=!1,t.gc()<2)return!1;for(n=0;n1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=w.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function fg(){fg=U,dbt=H(F(ts,1),Sl,64,0,[(ze(),en),fn,Pn]),fbt=H(F(ts,1),Sl,64,0,[fn,Pn,rn]),hbt=H(F(ts,1),Sl,64,0,[Pn,rn,en]),pbt=H(F(ts,1),Sl,64,0,[rn,en,fn])}function _Qt(e,t,n,i){var s,c,d,h,b,m,v;if(d=e.c.d,h=e.d.d,d.j!=h.j)for(v=e.b,s=d.j,b=null;s!=h.j;)b=t==0?g$(s):$de(s),c=ghe(s,v.d[s.g],n),m=ghe(b,v.d[b.g],n),or(i,Or(c,m)),s=b}function RQt(e,t,n,i){var s,c,d,h,b;return d=oit(e.a,t,n),h=u(d.a,17).a,c=u(d.b,17).a,i&&(b=u(A(t,(Oe(),Zc)),10),s=u(A(n,Zc),10),b&&s&&(UYe(e.b,b,s),h+=e.b.i,c+=e.b.e)),h>c}function rot(e){var t,n,i,s,c,d,h,b,m;for(this.a=Trt(e),this.b=new Le,n=e,i=0,s=n.length;i$U(e.d).c?(e.i+=e.g.c,kV(e.d)):$U(e.d).c>$U(e.g).c?(e.e+=e.d.c,kV(e.g)):(e.i+=dVe(e.g),e.e+=dVe(e.d),kV(e.g),kV(e.d))}function jQt(e,t,n){var i,s,c,d;for(c=t.q,d=t.r,new b0((Af(),Pg),t,c,1),new b0(Pg,c,d,1),s=new N(n);s.ah&&(b=h/i),s>c&&(m=c/s),d=w.Math.min(b,m),e.a+=d*(t.a-e.a),e.b+=d*(t.b-e.b)}function FQt(e,t,n,i,s){var c,d;for(d=!1,c=u(Ye(n.b,0),27);gsn(e,t,c,i,s)&&(d=!0,bJt(n,c),n.b.c.length!=0);)c=u(Ye(n.b,0),27);return n.b.c.length==0&&aP(n.j,n),d&&B$(t.q),d}function zQt(e,t){r2();var n,i,s,c;if(t.b<2)return!1;for(c=Ln(t,0),n=u(_n(c),8),i=n;c.b!=c.d.c;){if(s=u(_n(c),8),Cq(e,i,s))return!0;i=s}return!!Cq(e,i,n)}function w1e(e,t,n,i){var s,c;return n==0?(!e.o&&(e.o=new jc((Cl(),Fh),Sp,e,0)),yA(e.o,t,i)):(c=u(Dt((s=u(Yt(e,16),29),s||e.ii()),n),69),c.wk().Ak(e,lc(e),n-Sn(e.ii()),t,i))}function sq(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=u(e.sb,54).Th(e,1,Bx,n)),t&&(n=u(t,54).Rh(e,1,Bx,n)),n=Mde(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,4,t,t))}function HQt(e,t){var n,i,s,c;if(t)s=a1(t,"x"),n=new XNe(e),r5(n.a,(sn(s),s)),c=a1(t,"y"),i=new YNe(e),o5(i.a,(sn(c),c));else throw B(new Ld("All edge sections need an end point."))}function KQt(e,t){var n,i,s,c;if(t)s=a1(t,"x"),n=new WNe(e),i5(n.a,(sn(s),s)),c=a1(t,"y"),i=new VNe(e),s5(i.a,(sn(c),c));else throw B(new Ld("All edge sections need a start point."))}function UQt(e,t){var n,i,s,c,d,h,b;for(i=Att(e),c=0,h=i.length;c>22-t,s=e.h<>22-t):t<44?(n=0,i=e.l<>44-t):(n=0,i=0,s=e.l<e)throw B(new Qt("k must be smaller than n"));return t==0||t==e?1:e==0?0:Uhe(e)/(Uhe(t)*Uhe(e-t))}function m1e(e,t){var n,i,s,c;for(n=new Lle(e);n.g==null&&!n.c?dae(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)if(c=u(ej(n),58),te(c,167))for(i=u(c,167),s=0;s>4],t[n*2+1]=iF[c&15];return Ud(t,0,t.length)}function sZt(e){JA();var t,n,i;switch(i=e.c.length,i){case 0:return apt;case 1:return t=u(Uot(new N(e)),44),Zjt(t.ld(),t.md());default:return n=u(ld(e,be(U0,Ej,44,e.c.length,0,1)),173),new wse(n)}}function lZt(e){var t,n,i,s,c,d;for(t=new Ay,n=new Ay,eg(t,e),eg(n,e);n.b!=n.c;)for(s=u(a4(n),36),d=new N(s.a);d.a0&&IP(e,n,t),s):Xen(e,t,n)}function dg(){dg=U,g2t=(gr(),b6),b2t=ib,f2t=rb,d2t=Y2,h2t=_g,a2t=X2,r6e=dO,p2t=Nv,xee=(Rpe(),Zyt),Eee=e2t,o6e=i2t,Tee=l2t,s6e=o2t,l6e=s2t,i6e=t2t,wB=n2t,mB=r2t,eO=c2t,c6e=u2t,n6e=Qyt}function fot(e,t){var n,i,s,c,d;if(e.e<=t||_Ft(e,e.g,t))return e.g;for(c=e.r,i=e.g,d=e.r,s=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=w.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function dZt(e){var t,n,i,s;switch(s=e.i,t=s.b,i=s.j,n=s.g,s.a.g){case 0:n.a=(e.g.b.o.a-i.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-i.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function hZt(e,t,n){var i,s,c;for(s=new gn(wn(h1(n).a.Kc(),new j));$n(s);)i=u(xn(s),18),!Zo(i)&&!(!Zo(i)&&i.c.i.c==i.d.i.c)&&(c=tlt(e,i,n,new rFe),c.c.length>1&&Ft(t.c,c))}function hot(e,t,n,i,s){if(ii&&(e.a=i),e.bs&&(e.b=s),e}function pZt(e){if(te(e,143))return Gnn(u(e,143));if(te(e,233))return $Vt(u(e,233));if(te(e,23))return WQt(u(e,23));throw B(new Qt(zwe+ag(new Wc(H(F(Ji,1),Bt,1,5,[e])))))}function gZt(e,t,n,i,s){var c,d,h;for(c=!0,d=0;d>>s|n[d+i+1]<>>s,++d}return c}function C1e(e,t,n,i){var s,c,d;if(t.k==(nn(),io)){for(c=new gn(wn(eo(t).a.Kc(),new j));$n(c);)if(s=u(xn(c),18),d=s.c.i.k,d==io&&e.c.a[s.c.i.c.p]==i&&e.c.a[t.c.p]==n)return!0}return!1}function bZt(e,t){var n,i,s,c;return t&=63,n=e.h&v1,t<22?(c=n>>>t,s=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(c=0,s=n>>>t-22,i=e.m>>t-22|e.h<<44-t):(c=0,s=0,i=n>>>t-44),nc(i&hu,s&hu,c&v1)}function pot(e,t,n,i){var s;this.b=i,this.e=e==(tw(),ux),s=t[n],this.d=u0(wu,[_e,Oh],[183,28],16,[s.length,s.length],2),this.a=u0(Bn,[_e,ur],[53,28],15,[s.length,s.length],2),this.c=new r1e(t,n)}function wZt(e){var t,n,i;for(e.k=new gae((ze(),H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn])).length,e.j.c.length),i=new N(e.j);i.a=n)return B5(e,t,i.p),!0;return!1}function Zy(e,t,n,i){var s,c,d,h,b,m;for(d=n.length,c=0,s=-1,m=oZe((Zt(t,e.length+1),e.substr(t)),(FU(),Nme)),h=0;hc&&UDt(m,oZe(n[h],Nme))&&(s=h,c=b);return s>=0&&(i[0]=t+c),s}function bot(e){var t;return e.Db&64?lq(e):(t=new Ru(Owe),!e.a||lr(lr((t.a+=' "',t),e.a),'"'),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function wot(e,t,n){var i,s,c,d,h;for(h=cc(e.e.Dh(),t),s=u(e.g,124),i=0,d=0;dn?R1e(e,n,"start index"):t<0||t>n?R1e(t,n,"end index"):XS("end index (%s) must not be less than start index (%s)",H(F(Ji,1),Bt,1,5,[Ae(t),Ae(e)]))}function vot(e,t){var n,i,s,c;for(i=0,s=e.length;i0&&yot(e,c,n));t.p=0}function nt(e){var t;this.c=new Zr,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=u(Pf(jh),9),new ra(t,u(ef(t,t.length),9),0)),this.g=e.f}function SZt(e){var t,n,i,s;for(t=h0(lr(new Ru("Predicates."),"and"),40),n=!0,s=new e7(e);s.b0?h[d-1]:be(Lh,fp,10,0,0,1),s=h[d],m=d=0?e.ki(s):j1e(e,i);else throw B(new Qt(vg+i.xe()+x9));else throw B(new Qt(mht+t+vht));else fa(e,n,i)}function S1e(e){var t,n;if(n=null,t=!1,te(e,211)&&(t=!0,n=u(e,211).a),t||te(e,263)&&(t=!0,n=""+u(e,263).a),t||te(e,493)&&(t=!0,n=""+u(e,493).a),!t)throw B(new SK(Fwe));return n}function x1e(e,t,n){var i,s,c,d,h,b;for(b=cc(e.e.Dh(),t),i=0,h=e.i,s=u(e.g,124),d=0;d=e.d.b.c.length&&(t=new Ll(e.d),t.p=i.p-1,$e(e.d.b,t),n=new Ll(e.d),n.p=i.p,$e(e.d.b,n)),bo(i,u(Ye(e.d.b,i.p),30))}function I1e(e,t,n){var i,s,c;if(!e.b[t.g]){for(e.b[t.g]=!0,i=n,!i&&(i=new kI),or(i.b,t),c=e.a[t.g].Kc();c.Ob();)s=u(c.Pb(),65),s.b!=t&&I1e(e,s.b,i),s.c!=t&&I1e(e,s.c,i),or(i.a,s);return i}return null}function IZt(e){switch(e.g){case 0:case 1:case 2:return ze(),en;case 3:case 4:case 5:return ze(),Pn;case 6:case 7:case 8:return ze(),rn;case 9:case 10:case 11:return ze(),fn;default:return ze(),nl}}function PZt(e,t){var n;return e.c.length==0?!1:(n=Nnt((_t(0,e.c.length),u(e.c[0],18)).c.i),Lu(),n==(qm(),N2)||n==D2?!0:Fy(As(new xt(null,new Pt(e,16)),new cMe),new nNe(t)))}function fq(e,t){if(te(t,207))return CRt(e,u(t,27));if(te(t,193))return SRt(e,u(t,123));if(te(t,452))return kRt(e,u(t,166));throw B(new Qt(zwe+ag(new Wc(H(F(Ji,1),Bt,1,5,[t])))))}function Tot(e,t,n){var i,s;if(this.f=e,i=u(pn(e.b,t),260),s=i?i.a:0,Gae(n,s),n>=(s/2|0))for(this.e=i?i.c:null,this.d=s;n++0;)gfe(this);this.b=t,this.a=null}function MZt(e,t){var n,i;t.a?urn(e,t):(n=u(LK(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),i=u(AK(e.b,t.b),60),i&&e.a[i.f]==t.b&&i.a&&i.a!=t.b.a&&t.b.c.Fc(i),IU(e.b,t.b))}function Iot(e,t){var n,i;if(n=u(gs(e.b,t),127),u(u($r(e.r,t),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((Iu(),sb))&&Zlt(e,t),i=rXt(e,t),xq(e,t)==(Vy(),Ag)&&(i+=2*e.w),n.a.a=i}function Pot(e,t){var n,i;if(n=u(gs(e.b,t),127),u(u($r(e.r,t),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((Iu(),sb))&&ect(e,t),i=nXt(e,t),xq(e,t)==(Vy(),Ag)&&(i+=2*e.w),n.a.b=i}function OZt(e,t){var n,i,s,c;for(c=new Le,i=new N(t);i.ai&&(Zt(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return i>0||tn.a&&(i.Hc((O0(),Ex))?s=(t.a-n.a)/2:i.Hc(Tx)&&(s=t.a-n.a)),t.b>n.b&&(i.Hc((O0(),Px))?c=(t.b-n.b)/2:i.Hc(Ix)&&(c=t.b-n.b)),d1e(e,s,c)}function $ot(e,t,n,i,s,c,d,h,b,m,v,k,T){te(e.Cb,90)&&Zm(cu(u(e.Cb,90)),4),Xl(e,n),e.f=d,T5(e,h),P5(e,b),E5(e,m),I5(e,v),rp(e,k),M5(e,T),np(e,!0),Q1(e,s),e.Zk(c),I0(e,t),i!=null&&(e.i=null,YL(e,i))}function R1e(e,t,n){if(e<0)return XS(Rat,H(F(Ji,1),Bt,1,5,[n,Ae(e)]));if(t<0)throw B(new Qt(Aat+t));return XS("%s (%s) must not be greater than size (%s)",H(F(Ji,1),Bt,1,5,[n,Ae(e),Ae(t)]))}function A1e(e,t,n,i,s,c){var d,h,b,m;if(d=i-n,d<7){xVt(t,n,i,c);return}if(b=n+s,h=i+s,m=b+(h-b>>1),A1e(t,e,b,m,-s,c),A1e(t,e,m,h,-s,c),c.Ne(e[m-1],e[m])<=0){for(;n=0?e.bi(c,n):upe(e,s,n);else throw B(new Qt(vg+s.xe()+x9));else throw B(new Qt(mht+t+vht));else da(e,i,s,n)}function jot(e){var t,n;if(e.f){for(;e.n>0;){if(t=u(e.k.Xb(e.n-1),76),n=t.Lk(),te(n,102)&&u(n,19).Bb&wl&&(!e.e||n.pk()!=oC||n.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function Dot(e){var t,n,i,s;if(n=u(e,54)._h(),n)try{if(i=null,t=z5((Gp(),Wa),Cct(jVt(n))),t&&(s=t.ai(),s&&(i=s.Fl(DOt(n.e)))),i&&i!=e)return Dot(i)}catch(c){if(c=li(c),!te(c,63))throw B(c)}return e}function WZt(e,t,n){var i,s,c;n.Ug("Remove overlaps",1),n.dh(t,Kbe),i=u(Ie(t,($y(),z2)),27),e.f=i,e.a=_V(u(Ie(t,(dg(),eO)),300)),s=pe(Ie(t,(gr(),ib))),Eoe(e,(sn(s),s)),c=tv(i),Uut(e,t,c,n),n.dh(t,cD)}function VZt(e){var t,n,i;if(qe(Ve(Ie(e,(gr(),aO))))){for(i=new Le,n=new gn(wn(b1(e).a.Kc(),new j));$n(n);)t=u(xn(n),74),fw(t)&&qe(Ve(Ie(t,ote)))&&Ft(i.c,t);return i}else return Ot(),Ot(),Jo}function Not(e){if(!e)return jFe(),vpt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=ZJ[typeof t];return n?n(t):Cde(typeof t)}else return e instanceof Array||e instanceof w.Array?new voe(e):new uT(e)}function Bot(e,t,n){var i,s,c;switch(c=e.o,i=u(gs(e.p,n),252),s=i.i,s.b=HS(i),s.a=zS(i),s.b=w.Math.max(s.b,c.a),s.b>c.a&&!t&&(s.b=c.a),s.c=-(s.b-c.a)/2,n.g){case 1:s.d=-s.a;break;case 3:s.d=c.b}Dq(i),Nq(i)}function Fot(e,t,n){var i,s,c;switch(c=e.o,i=u(gs(e.p,n),252),s=i.i,s.b=HS(i),s.a=zS(i),s.a=w.Math.max(s.a,c.b),s.a>c.b&&!t&&(s.a=c.b),s.d=-(s.a-c.b)/2,n.g){case 4:s.c=-s.b;break;case 2:s.c=c.a}Dq(i),Nq(i)}function qZt(e,t){var n,i,s,c,d;if(!t.dc()){if(s=u(t.Xb(0),131),t.gc()==1){wlt(e,s,s,1,0,t);return}for(n=1;n0)try{s=zu(t,jo,Mr)}catch(c){throw c=li(c),te(c,130)?(i=c,B(new _L(i))):B(c)}return n=(!e.a&&(e.a=new lK(e)),e.a),s=0?u(re(n,s),58):null}function QZt(e,t){if(e<0)return XS(Rat,H(F(Ji,1),Bt,1,5,["index",Ae(e)]));if(t<0)throw B(new Qt(Aat+t));return XS("%s (%s) must be less than size (%s)",H(F(Ji,1),Bt,1,5,["index",Ae(e),Ae(t)]))}function ZZt(e){var t,n,i,s,c;if(e==null)return Cc;for(c=new x0(Xo,"[","]"),n=e,i=0,s=n.length;i=0?e.Lh(n,!0,!0):dw(e,s,!0),160)),u(i,220).Zl(t);else throw B(new Qt(vg+t.xe()+x9))}function D1e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Wi(w.Math.floor(w.Math.log(e)/.6931471805599453)),(!t||e!=w.Math.pow(2,n))&&++n,n):rtt(bl(e))}function pen(e){var t,n,i,s,c,d,h;for(c=new Dd,n=new N(e);n.a2&&h.e.b+h.j.b<=2&&(s=h,i=d),c.a.zc(s,c),s.q=i);return c}function gen(e,t,n){n.Ug("Eades radial",1),n.dh(t,cD),e.d=u(Ie(t,($y(),z2)),27),e.c=le(pe(Ie(t,(dg(),mB)))),e.e=_V(u(Ie(t,eO),300)),e.a=UVt(u(Ie(t,c6e),434)),e.b=aJt(u(Ie(t,i6e),354)),WYt(e),n.dh(t,cD)}function ben(e,t){if(t.Ug("Target Width Setter",1),rd(e,(ud(),Nee)))Br(e,(xh(),jv),pe(Ie(e,Nee)));else throw B(new N1("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Vg()}function Got(e,t){var n,i,s;return i=new g1(e),js(i,t),Ee(i,(Oe(),$N),t),Ee(i,(Ue(),yi),(fo(),Ul)),Ee(i,sh,(Ch(),OB)),n0(i,(nn(),Oi)),n=new Ml,Js(n,i),Vi(n,(ze(),rn)),s=new Ml,Js(s,i),Vi(s,fn),i}function Wot(e){switch(e.g){case 0:return new yK((tw(),qM));case 1:return new l$e;case 2:return new c$e;default:throw B(new Qt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function Vot(e,t){var n,i,s,c,d;for(e.c[t.p]=!0,$e(e.a,t),d=new N(t.j);d.a=c)d.$b();else for(s=d.Kc(),i=0;i0?Cse():d<0&&Jot(e,t,-d),!0):!1}function zS(e){var t,n,i,s,c,d,h;if(h=0,e.b==0){for(d=Art(e,!0),t=0,i=d,s=0,c=i.length;s0&&(h+=n,++t);t>1&&(h+=e.c*(t-1))}else h=qFe(LW(Am(Ar(_ue(e.a),new $1),new JC)));return h>0?h+e.n.d+e.n.a:0}function HS(e){var t,n,i,s,c,d,h;if(h=0,e.b==0)h=qFe(LW(Am(Ar(_ue(e.a),new YC),new sT)));else{for(d=Lrt(e,!0),t=0,i=d,s=0,c=i.length;s0&&(h+=n,++t);t>1&&(h+=e.c*(t-1))}return h>0?h+e.n.b+e.n.c:0}function Sen(e){var t,n;if(e.c.length!=2)throw B(new ks("Order only allowed for two paths."));t=(_t(0,e.c.length),u(e.c[0],18)),n=(_t(1,e.c.length),u(e.c[1],18)),t.d.i!=n.c.i&&(e.c.length=0,Ft(e.c,n),Ft(e.c,t))}function Qot(e,t,n){var i;for(My(n,t.g,t.f),ta(n,t.i,t.j),i=0;i<(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i;i++)Qot(e,u(re((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),i),27),u(re((!n.a&&(n.a=new Se(xr,n,10,11)),n.a),i),27))}function xen(e,t){var n,i,s,c;for(c=u(gs(e.b,t),127),n=c.a,s=u(u($r(e.r,t),21),87).Kc();s.Ob();)i=u(s.Pb(),117),i.c&&(n.a=w.Math.max(n.a,cue(i.c)));if(n.a>0)switch(t.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function Een(e,t){var n,i,s;return n=u(A(t,(uf(),n6)),17).a-u(A(e,n6),17).a,n==0?(i=Xi(Eo(u(A(e,(ng(),PM)),8)),u(A(e,H9),8)),s=Xi(Eo(u(A(t,PM),8)),u(A(t,H9),8)),Kr(i.a*i.b,s.a*s.b)):n}function Ten(e,t){var n,i,s;return n=u(A(t,(sl(),hB)),17).a-u(A(e,hB),17).a,n==0?(i=Xi(Eo(u(A(e,(Wr(),JM)),8)),u(A(e,q8),8)),s=Xi(Eo(u(A(t,JM),8)),u(A(t,q8),8)),Kr(i.a*i.b,s.a*s.b)):n}function Zot(e){var t,n;return n=new Hp,n.a+="e_",t=vGt(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(lr((n.a+=" ",n),z$(e.c)),lr(Al((n.a+="[",n),e.c.i),"]"),lr((n.a+=lY,n),z$(e.d)),lr(Al((n.a+="[",n),e.d.i),"]")),n.a}function est(e){switch(e.g){case 0:return new w$e;case 1:return new m$e;case 2:return new g$e;case 3:return new p$e;default:throw B(new Qt("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function F1e(e,t,n,i,s){var c;switch(c=0,s.g){case 1:c=w.Math.max(0,t.b+e.b-(n.b+i));break;case 3:c=w.Math.max(0,-e.b-i);break;case 2:c=w.Math.max(0,-e.a-i);break;case 4:c=w.Math.max(0,t.a+e.a-(n.a+i))}return c}function Ien(e,t,n){var i,s,c,d,h;if(n)for(s=n.a.length,i=new f0(s),h=(i.b-i.a)*i.c<0?(Wp(),zg):new Xp(i);h.Ob();)d=u(h.Pb(),17),c=Xk(n,d.a),Lwe in c.a||kJ in c.a?zin(e,c,t):san(e,c,t),oAt(u(pn(e.b,_5(c)),74))}function z1e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=Aa(e),t&&(rs(),t.lk()==y1t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function H1e(e,t){var n,i,s,c;if(Er(e),e.c!=0||e.a!=123)throw B(new er(ir((Yn(),Hht))));if(c=t==112,i=e.d,n=_k(e.i,125,i),n<0)throw B(new er(ir((Yn(),Kht))));return s=oa(e.i,i,n),e.d=n+1,CQe(s,c,(e.e&512)==512)}function tst(e){var t,n,i,s,c,d,h;if(i=e.a.c.length,i>0)for(d=e.c.d,h=e.d.d,s=Nd(Xi(new Me(h.a,h.b),d),1/(i+1)),c=new Me(d.a,d.b),n=new N(e.a);n.a=0&&i=0?e.Lh(n,!0,!0):dw(e,s,!0),160)),u(i,220).Wl(t);throw B(new Qt(vg+t.xe()+dJ))}function _en(){Use();var e;return i6t?u(z5((Gp(),Wa),Da),2038):(wr(U0,new xAe),Tcn(),e=u(te($l((Gp(),Wa),Da),560)?$l(Wa,Da):new bqe,560),i6t=!0,Ian(e),Lan(e),vr((Kse(),Y5e),e,new FRe),Cs(Wa,Da,e),e)}function Ren(e,t){var n,i,s,c;e.j=-1,ku(e.e)?(n=e.i,c=e.i!=0,yI(e,t),i=new l1(e.e,3,e.c,null,t,n,c),s=t.zl(e.e,e.c,null),s=$it(e,t,s),s?(s.nj(i),s.oj()):_r(e.e,i)):(yI(e,t),s=t.zl(e.e,e.c,null),s&&s.oj())}function J$(e,t){var n,i,s;if(s=0,i=t[0],i>=e.length)return-1;for(n=(Zt(i,e.length),e.charCodeAt(i));n>=48&&n<=57&&(s=s*10+(n-48),++i,!(i>=e.length));)n=(Zt(i,e.length),e.charCodeAt(i));return i>t[0]?t[0]=i:s=-1,s}function Aen(e){var t,n,i,s,c;return s=u(e.a,17).a,c=u(e.b,17).a,n=s,i=c,t=w.Math.max(w.Math.abs(s),w.Math.abs(c)),s<=0&&s==c?(n=0,i=c-1):s==-t&&c!=t?(n=c,i=s,c>=0&&++n):(n=-c,i=s),new Gi(Ae(n),Ae(i))}function Len(e,t,n,i){var s,c,d,h,b,m;for(s=0;s=0&&m>=0&&b=e.i)throw B(new ys(SJ+t+z0+e.i));if(n>=e.i)throw B(new ys(xJ+n+z0+e.i));return i=e.g[n],t!=n&&(t>16),t=i>>16&16,n=16-t,e=e>>t,i=e-256,t=i>>16&8,n+=t,e<<=t,i=e-cv,t=i>>16&4,n+=t,e<<=t,i=e-Xd,t=i>>16&2,n+=t,e<<=t,i=e>>14,t=i&~(i>>1),n+2-t)}function jen(e){g4();var t,n,i,s;for(qD=new Le,CQ=new On,kQ=new Le,t=(!e.a&&(e.a=new Se(xr,e,10,11)),e.a),Tun(t),s=new hn(t);s.e!=s.i.gc();)i=u(mn(s),27),$s(qD,i,0)==-1&&(n=new Le,$e(kQ,n),ort(i,n));return kQ}function Den(e,t,n){var i,s,c,d;e.a=n.b.d,te(t,326)?(s=n2(u(t,74),!1,!1),c=bP(s),i=new zje(e),Po(c,i),OP(c,s),t.of((gr(),Uw))!=null&&Po(u(t.of(Uw),75),i)):(d=u(t,422),d.rh(d.nh()+e.a.a),d.sh(d.oh()+e.a.b))}function Nen(e,t){var n,i,s;for(s=new Le,i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),n.c.g==e.g&&fe(A(n.b,(sl(),ch)))!==fe(A(n.c,ch))&&!Fy(new xt(null,new Pt(s,16)),new pNe(n))&&Ft(s.c,n);return Mi(s,new qMe),s}function rst(e,t,n){var i,s,c,d;return te(t,153)&&te(n,153)?(c=u(t,153),d=u(n,153),e.a[c.a][d.a]+e.a[d.a][c.a]):te(t,250)&&te(n,250)&&(i=u(t,250),s=u(n,250),i.a==s.a)?u(A(s.a,(uf(),n6)),17).a:0}function ist(e,t){var n,i,s,c,d,h,b,m;for(m=le(pe(A(t,(Ue(),rx)))),b=e[0].n.a+e[0].o.a+e[0].d.c+m,h=1;h=0?n:(h=eS(Xi(new Me(d.c+d.b/2,d.d+d.a/2),new Me(c.c+c.b/2,c.d+c.a/2))),-(Oct(c,d)-1)*h)}function Fen(e,t,n){var i;Ci(new xt(null,(!n.a&&(n.a=new Se(ei,n,6,6)),new Pt(n.a,16))),new wKe(e,t)),Ci(new xt(null,(!n.n&&(n.n=new Se(ms,n,1,7)),new Pt(n.n,16))),new mKe(e,t)),i=u(Ie(n,(gr(),Uw)),75),i&&Gfe(i,e,t)}function dw(e,t,n){var i,s,c;if(c=s2((Nc(),_o),e.Dh(),t),c)return rs(),u(c,69).xk()||(c=w4(Ss(_o,c))),s=(i=e.Ih(c),u(i>=0?e.Lh(i,!0,!0):dw(e,c,!0),160)),u(s,220).Sl(t,n);throw B(new Qt(vg+t.xe()+dJ))}function K1e(e,t,n,i){var s,c,d,h,b;if(s=e.d[t],s){if(c=s.g,b=s.i,i!=null){for(h=0;h=n&&(i=t,m=(b.c+b.a)/2,d=m-n,b.c<=m-n&&(s=new UU(b.c,d),Nb(e,i++,s)),h=m+n,h<=b.a&&(c=new UU(h,b.a),$m(i,e.c.length),k7(e.c,i,c)))}function lst(e,t,n){var i,s,c,d,h,b;if(!t.dc()){for(s=new Zr,b=t.Kc();b.Ob();)for(h=u(b.Pb(),40),vr(e.a,Ae(h.g),Ae(n)),d=(i=Ln(new Jh(h).a.d,0),new my(i));bT(d.a);)c=u(_n(d.a),65).c,gi(s,c,s.c.b,s.c);lst(e,s,n+1)}}function U1e(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),Dn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=u(e.g[e.i-1],51)}return t==e.b&&null.Vm>=null.Um()?(ej(e),U1e(e)):t.Ob()}function cst(e){if(this.a=e,e.c.i.k==(nn(),Oi))this.c=e.c,this.d=u(A(e.c.i,(Oe(),fl)),64);else if(e.d.i.k==Oi)this.c=e.d,this.d=u(A(e.d.i,(Oe(),fl)),64);else throw B(new Qt("Edge "+e+" is not an external edge."))}function ust(e,t){var n,i,s;s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,s,e.b)),t?t!=e&&(Xl(e,t.zb),SW(e,t.d),n=(i=t.c,i??t.zb),EW(e,n==null||Et(n,t.zb)?null:n)):(Xl(e,null),SW(e,0),EW(e,null))}function ast(e,t){var n;this.e=(Hb(),qn(e),Hb(),ihe(e)),this.c=(qn(t),ihe(t)),Vle(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Ent(this.e),this.b=Ent(this.c),n=u0(Ji,[_e,Bt],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,gUt(this)}function fst(e){!JJ&&(JJ=Nun());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(n){return HBt(n)});return'"'+t+'"'}function G1e(e,t,n,i,s,c){var d,h,b,m,v;if(s!=0)for(fe(e)===fe(n)&&(e=e.slice(t,t+s),t=0),b=n,h=t,m=t+s;h=d)throw B(new Mm(t,d));return s=n[t],d==1?i=null:(i=be(Tte,MJ,424,d-1,0,1),Ol(n,0,i,0,t),c=d-t-1,c>0&&Ol(n,t+1,i,t,c)),R5(e,i),Lot(e,t,s),s}function hst(e){var t,n;if(e.f){for(;e.n0?c=P4(n):c=tP(P4(n))),Br(t,z8,c)}function Ven(e,t){var n;t.Ug("Partition preprocessing",1),n=u(Ks(Ar(Qs(Ar(new xt(null,new Pt(e.a,16)),new YTe),new JTe),new QTe),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),Ci(n.Oc(),new ZTe),t.Vg()}function qen(e,t){var n,i,s,c,d;for(d=e.j,t.a!=t.b&&Mi(d,new MPe),s=d.c.length/2|0,i=0;i0&&IP(e,n,t),c):i.a!=null?(IP(e,t,n),-1):s.a!=null?(IP(e,n,t),1):0}function Yen(e,t){var n,i,s,c,d;for(s=t.b.b,e.a=be(ya,uv,15,s,0,1),e.b=be(wu,Oh,28,s,16,1),d=Ln(t.b,0);d.b!=d.d.c;)c=u(_n(d),40),e.a[c.g]=new Zr;for(i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function wst(e,t){var n,i,s,c;e.Pj()?(n=e.Ej(),c=e.Qj(),++e.j,e.qj(n,e.Zi(n,t)),i=e.Ij(3,null,t,n,c),e.Mj()?(s=e.Nj(t,null),s?(s.nj(i),s.oj()):e.Jj(i)):e.Jj(i)):(oqe(e,t),e.Mj()&&(s=e.Nj(t,null),s&&s.oj()))}function W1e(e,t,n){var i,s,c;e.Pj()?(c=e.Qj(),JI(e,t,n),i=e.Ij(3,null,n,t,c),e.Mj()?(s=e.Nj(n,null),e.Tj()&&(s=e.Uj(n,s)),s?(s.nj(i),s.oj()):e.Jj(i)):e.Jj(i)):(JI(e,t,n),e.Mj()&&(s=e.Nj(n,null),s&&s.oj()))}function Q$(e,t){var n,i,s,c,d;for(d=cc(e.e.Dh(),t),s=new Z_,n=u(e.g,124),c=e.i;--c>=0;)i=n[c],d.am(i.Lk())&&Dn(s,i);!dat(e,s)&&ku(e.e)&&mk(e,t.Jk()?Zp(e,6,t,(Ot(),Jo),null,-1,!1):Zp(e,t.tk()?2:1,t,null,null,-1,!1))}function Jen(e,t){var n,i,s,c,d;return e.a==(N5(),W9)?!0:(c=t.a.c,n=t.a.c+t.a.b,!(t.j&&(i=t.A,d=i.c.c.a-i.o.a/2,s=c-(i.n.a+i.o.a),s>d)||t.q&&(i=t.C,d=i.c.c.a-i.o.a/2,s=i.n.a-n,s>d)))}function mst(e){NG();var t,n,i,s,c,d,h;for(n=new q1,s=new N(e.e.b);s.a1?e.e*=le(e.a):e.f/=le(e.a),vWt(e),Eqt(e),Cin(e),Ee(e.b,(RS(),VD),e.g)}function Cst(e,t,n){var i,s,c,d,h,b;for(i=0,b=n,t||(i=n*(e.c.length-1),b*=-1),c=new N(e);c.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(u(s,54),n),i&&i.oj(),e.vh()&&e.wh()&&n>-1&&_r(e,new ro(e,9,n,c,s)),s):c}function X1e(e,t){var n,i,s,c,d;for(c=e.b.Ce(t),i=(n=e.a.get(c),n??be(Ji,Bt,1,0,5,1)),d=0;d>5,s>=e.d)return e.e<0;if(n=e.a[s],t=1<<(t&31),e.e<0){if(i=jet(e),s>16)),15).dd(c),h0&&(!(Zh(e.a.c)&&t.n.d)&&!(Py(e.a.c)&&t.n.b)&&(t.g.d+=w.Math.max(0,i/2-.5)),!(Zh(e.a.c)&&t.n.a)&&!(Py(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function _st(e){var t,n,i,s,c;if(s=new Le,c=Tct(e,s),t=u(A(e,(Oe(),Zc)),10),t)for(i=new N(t.j);i.a>t,c=e.m>>t|n<<22-t,s=e.l>>t|e.m<<22-t):t<44?(d=i?v1:0,c=n>>t-22,s=e.m>>t-22|n<<44-t):(d=i?v1:0,c=i?hu:0,s=n>>t-44),nc(s&hu,c&hu,d&v1)}function mq(e){var t,n,i,s,c,d;for(this.c=new Le,this.d=e,i=ii,s=ii,t=Hi,n=Hi,d=Ln(e,0);d.b!=d.d.c;)c=u(_n(d),8),i=w.Math.min(i,c.a),s=w.Math.min(s,c.b),t=w.Math.max(t,c.a),n=w.Math.max(n,c.b);this.a=new ia(i,s,t-i,n-s)}function Ast(e,t){var n,i,s,c,d,h;for(c=new N(e.b);c.a0&&te(t,44)&&(e.a._j(),m=u(t,44),b=m.ld(),c=b==null?0:Vr(b),d=yce(e.a,c),n=e.a.d[d],n)){for(i=u(n.g,379),v=n.i,h=0;h=2)for(n=s.Kc(),t=pe(n.Pb());n.Ob();)c=t,t=pe(n.Pb()),i=w.Math.min(i,(sn(t),t-(sn(c),c)));return i}function vtn(e,t){var n,i,s;for(s=new Le,i=Ln(t.a,0);i.b!=i.d.c;)n=u(_n(i),65),n.b.g==e.g&&!Et(n.b.c,sD)&&fe(A(n.b,(sl(),ch)))!==fe(A(n.c,ch))&&!Fy(new xt(null,new Pt(s,16)),new gNe(n))&&Ft(s.c,n);return Mi(s,new QMe),s}function ytn(e,t){var n,i,s;if(fe(t)===fe(qn(e)))return!0;if(!te(t,15)||(i=u(t,15),s=e.gc(),s!=i.gc()))return!1;if(te(i,59)){for(n=0;n0&&(s=n),d=new N(e.f.e);d.a0?(t-=1,n-=1):i>=0&&s<0?(t+=1,n+=1):i>0&&s>=0?(t-=1,n+=1):(t+=1,n-=1),new Gi(Ae(t),Ae(n))}function Ltn(e,t){return e.ct.c?1:e.bt.b?1:e.a!=t.a?Vr(e.a)-Vr(t.a):e.d==(lS(),fx)&&t.d==ax?-1:e.d==ax&&t.d==fx?1:0}function Fst(e,t){var n,i,s,c,d;return c=t.a,c.c.i==t.b?d=c.d:d=c.c,c.c.i==t.b?i=c.c:i=c.d,s=nqt(e.a,d,i),s>0&&s0):s<0&&-s0):!1}function $tn(e,t,n,i){var s,c,d,h,b,m,v,k;for(s=(t-e.d)/e.c.c.length,c=0,e.a+=n,e.d=t,k=new N(e.c);k.a>24;return d}function Dtn(e){if(e.ze()){var t=e.c;t.Ae()?e.o="["+t.n:t.ze()?e.o="["+t.xe():e.o="[L"+t.xe()+";",e.b=t.we()+"[]",e.k=t.ye()+"[]";return}var n=e.j,i=e.d;i=i.split("/"),e.o=CV(".",[n,CV("$",i)]),e.b=CV(".",[n,CV(".",i)]),e.k=i[i.length-1]}function Ntn(e,t){var n,i,s,c,d;for(d=null,c=new N(e.e.a);c.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(i=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=i,i=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=i);e.c=!0}}function ztn(e,t){var n,i,s,c,d,h,b,m,v;for(m=-1,v=0,d=e,h=0,b=d.length;h0&&++v;++m}return v}function lf(e){var t,n;return n=new Ru(l0(e.Rm)),n.a+="@",lr(n,(t=Vr(e)>>>0,t.toString(16))),e.Vh()?(n.a+=" (eProxyURI: ",Al(n,e._h()),e.Kh()&&(n.a+=" eClass: ",Al(n,e.Kh())),n.a+=")"):e.Kh()&&(n.a+=" (eClass: ",Al(n,e.Kh()),n.a+=")"),n.a}function GS(e){var t,n,i,s;if(e.e)throw B(new ks((e1(aQ),zX+aQ.k+HX)));for(e.d==(ji(),yd)&&yj(e,Ps),n=new N(e.a.a);n.a>24}return n}function Utn(e,t,n){var i,s,c;if(s=u(gs(e.i,t),314),!s)if(s=new xZe(e.d,t,n),f4(e.i,t,s),uhe(t))qRt(e.a,t.c,t.b,s);else switch(c=IZt(t),i=u(gs(e.p,c),252),c.g){case 1:case 3:s.j=!0,CK(i,t.b,s);break;case 4:case 2:s.k=!0,CK(i,t.c,s)}return s}function Gtn(e,t){var n,i,s,c,d,h,b,m,v;for(b=gh(e.c-e.b&e.a.length-1),m=null,v=null,c=new nS(e);c.a!=c.b;)s=u(d$(c),10),n=(h=u(A(s,(Oe(),Hf)),12),h?h.i:null),i=(d=u(A(s,Fa),12),d?d.i:null),(m!=n||v!=i)&&(Sst(b,t),m=n,v=i),Ft(b.c,s);Sst(b,t)}function Wtn(e,t,n,i){var s,c,d,h,b,m;if(h=new Z_,b=cc(e.e.Dh(),t),s=u(e.g,124),rs(),u(t,69).xk())for(d=0;d=0)return s;for(c=1,h=new N(t.j);h.a=0)return s;for(c=1,h=new N(t.j);h.a0&&t.Ne((_t(s-1,e.c.length),u(e.c[s-1],10)),c)>0;)la(e,s,(_t(s-1,e.c.length),u(e.c[s-1],10))),--s;_t(s,e.c.length),e.c[s]=c}n.a=new On,n.b=new On}function Vtn(e,t,n){var i,s,c,d,h,b,m,v;for(v=(i=u(t.e&&t.e(),9),new ra(i,u(ef(i,i.length),9),0)),b=iv(n,"[\\[\\]\\s,]+"),c=b,d=0,h=c.length;d=0?(t||(t=new f7,i>0&&ps(t,(mo(0,i,e.length),e.substr(0,i)))),t.a+="\\",Hk(t,n&Di)):t&&Hk(t,n&Di);return t?t.a:e}function Xtn(e){var t,n,i;for(n=new N(e.a.a.b);n.a0&&(!(Zh(e.a.c)&&t.n.d)&&!(Py(e.a.c)&&t.n.b)&&(t.g.d-=w.Math.max(0,i/2-.5)),!(Zh(e.a.c)&&t.n.a)&&!(Py(e.a.c)&&t.n.c)&&(t.g.a+=w.Math.max(0,i-1)))}function Xst(e,t,n){var i,s;if((e.c-e.b&e.a.length-1)==2)t==(ze(),en)||t==fn?(NL(u(vS(e),15),(Fu(),Dh)),NL(u(vS(e),15),Rg)):(NL(u(vS(e),15),(Fu(),Rg)),NL(u(vS(e),15),Dh));else for(s=new nS(e);s.a!=s.b;)i=u(d$(s),15),NL(i,n)}function Ytn(e,t){var n,i,s,c,d,h,b;for(s=Dk(new Koe(e)),h=new wo(s,s.c.length),c=Dk(new Koe(t)),b=new wo(c,c.c.length),d=null;h.b>0&&b.b>0&&(n=(yn(h.b>0),u(h.a.Xb(h.c=--h.b),27)),i=(yn(b.b>0),u(b.a.Xb(b.c=--b.b),27)),n==i);)d=n;return d}function Yst(e,t,n){var i,s,c,d;XXe(e,t)>XXe(e,n)?(i=el(n,(ze(),fn)),e.d=i.dc()?0:YU(u(i.Xb(0),12)),d=el(t,rn),e.b=d.dc()?0:YU(u(d.Xb(0),12))):(s=el(n,(ze(),rn)),e.d=s.dc()?0:YU(u(s.Xb(0),12)),c=el(t,fn),e.b=c.dc()?0:YU(u(c.Xb(0),12)))}function Jst(e,t){var n,i,s,c;for(n=e.o.a,c=u(u($r(e.r,t),21),87).Kc();c.Ob();)s=u(c.Pb(),117),s.e.a=n*le(pe(s.b.of(UD))),s.e.b=(i=s.b,i.pf((gr(),bu))?i.ag()==(ze(),en)?-i.Mf().b-le(pe(i.of(bu))):le(pe(i.of(bu))):i.ag()==(ze(),en)?-i.Mf().b:0)}function Jtn(e,t){var n,i,s,c;for(t.Ug("Self-Loop pre-processing",1),i=new N(e.a);i.ae.c));d++)s.a>=e.s&&(c<0&&(c=d),h=d);return b=(e.s+e.c)/2,c>=0&&(i=Bin(e,t,c,h),b=D_t((_t(i,t.c.length),u(t.c[i],339))),Uen(t,i,n)),b}function Un(e,t,n){var i,s,c,d,h,b,m;for(d=(c=new uoe,c),Dfe(d,(sn(t),t)),m=(!d.b&&(d.b=new Su((Mt(),ns),dl,d)),d.b),b=1;b0&&$ln(this,s)}function spe(e,t,n,i,s,c){var d,h,b;if(!s[t.a]){for(s[t.a]=!0,d=i,!d&&(d=new CL),$e(d.e,t),b=c[t.a].Kc();b.Ob();)h=u(b.Pb(),290),!(h.d==n||h.c==n)&&(h.c!=t&&spe(e,h.c,t,d,s,c),h.d!=t&&spe(e,h.d,t,d,s,c),$e(d.c,h),zi(d.d,h.b));return d}return null}function enn(e){var t,n,i,s,c,d,h;for(t=0,s=new N(e.e);s.a=2}function tnn(e,t,n,i,s){var c,d,h,b,m,v;for(c=e.c.d.j,d=u(ga(n,0),8),v=1;v1||(t=Yr(bf,H(F(ds,1),Te,95,0,[E1,wf])),BI(uL(t,e))>1)||(i=Yr(vf,H(F(ds,1),Te,95,0,[Nh,Ha])),BI(uL(i,e))>1))}function lpe(e,t,n){var i,s,c;for(c=new N(e.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&or(t,i.b));for(s=new N(e.i);s.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&or(n,i.a))}function ej(e){var t,n,i,s,c;if(e.g==null&&(e.d=e.bj(e.f),Dn(e,e.d),e.c))return c=e.f,c;if(t=u(e.g[e.i-1],51),s=t.Pb(),e.e=t,n=e.bj(s),n.Ob())e.d=n,Dn(e,n);else for(e.d=null;!t.Ob()&&(pi(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],51),t=i;return s}function rnn(e,t){var n,i,s,c,d,h;if(i=t,s=i.Lk(),w1(e.e,s)){if(s.Si()&&wL(e,s,i.md()))return!1}else for(h=cc(e.e.Dh(),s),n=u(e.g,124),c=0;c1||n>1)return 2;return t+n==1?2:0}function fu(e,t){var n,i,s,c,d,h;return c=e.a*DX+e.b*1502,h=e.b*DX+11,n=w.Math.floor(h*VP),c+=n,h-=n*_ge,c%=_ge,e.a=c,e.b=h,t<=24?w.Math.floor(e.a*Fme[t]):(s=e.a*(1<=2147483648&&(i-=4294967296),i)}function nlt(e,t,n){var i,s,c,d,h,b,m;for(c=new Le,m=new Zr,d=new Zr,Esn(e,m,d,t),rcn(e,m,d,t,n),b=new N(e);b.ai.b.g&&Ft(c.c,i);return c}function unn(e,t,n){var i,s,c,d,h,b;for(h=e.c,d=(n.q?n.q:(Ot(),Ot(),Rh)).vc().Kc();d.Ob();)c=u(d.Pb(),44),i=!xk(Ar(new xt(null,new Pt(h,16)),new gk(new aKe(t,c)))).Bd((c0(),t6)),i&&(b=c.md(),te(b,4)&&(s=dhe(b),s!=null&&(b=s)),t.qf(u(c.ld(),149),b))}function ann(e,t,n){var i,s;if(lI(e.b),_f(e.b,(eP(),SB),(b7(),oO)),_f(e.b,xB,t.g),_f(e.b,EB,t.a),e.a=AP(e.b,t),n.Ug("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(s=new N(e.a);s.a=0?e.Lh(i,!0,!0):dw(e,c,!0),160)),u(s,220).Xl(t,n)}else throw B(new Qt(vg+t.xe()+x9))}function tj(e,t){var n,i,s,c,d;if(t){for(c=te(e.Cb,90)||te(e.Cb,102),d=!c&&te(e.Cb,331),i=new hn((!t.a&&(t.a=new W7(t,hs,t)),t.a));i.e!=i.i.gc();)if(n=u(mn(i),89),s=pj(n),c?te(s,90):d?te(s,156):s)return s;return c?(Mt(),Va):(Mt(),Sd)}else return null}function fnn(e,t){var n,i,s,c;for(t.Ug("Resize child graph to fit parent.",1),i=new N(e.b);i.a=2*t&&$e(n,new UU(d[i-1]+t,d[i]-t));return n}function pnn(e,t,n){var i,s,c,d,h,b,m,v;if(n)for(c=n.a.length,i=new f0(c),h=(i.b-i.a)*i.c<0?(Wp(),zg):new Xp(i);h.Ob();)d=u(h.Pb(),17),s=Xk(n,d.a),s&&(b=Uzt(e,(m=(Up(),v=new cse,v),t&&ape(m,t),m),s),u5(b,r1(s,rh)),W$(s,b),L1e(s,b),GW(e,s,b))}function nj(e){var t,n,i,s,c,d;if(!e.j){if(d=new PRe,t=Kx,c=t.a.zc(e,t),c==null){for(i=new hn(Ls(e));i.e!=i.i.gc();)n=u(mn(i),29),s=nj(n),mi(d,s),Dn(d,n);t.a.Bc(e)!=null}Um(d),e.j=new Ty((u(re(me((Jp(),Wt).o),11),19),d.i),d.g),cu(e).b&=-33}return e.j}function gnn(e){var t,n,i,s;if(e==null)return null;if(i=Nl(e,!0),s=wM.length,Et(i.substr(i.length-s,s),wM)){if(n=i.length,n==4){if(t=(Zt(0,i.length),i.charCodeAt(0)),t==43)return b8e;if(t==45)return E6t}else if(n==3)return b8e}return new Joe(i)}function bnn(e){var t,n,i;return n=e.l,n&n-1||(i=e.m,i&i-1)||(t=e.h,t&t-1)||t==0&&i==0&&n==0?-1:t==0&&i==0&&n!=0?Ife(n):t==0&&i!=0&&n==0?Ife(i)+22:t!=0&&i==0&&n==0?Ife(t)+44:-1}function t2(e,t){var n,i,s,c,d;for(s=t.a&e.f,c=null,i=e.b[s];;i=i.b){if(i==t){c?c.b=t.b:e.b[s]=t.b;break}c=i}for(d=t.f&e.f,c=null,n=e.c[d];;n=n.d){if(n==t){c?c.d=t.d:e.c[d]=t.d;break}c=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function wnn(e,t){var n;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(n=u(Oa(u(y4(e.b,t.a),260)),260),n.a=0,++e.c):(n=u(Oa(u(pn(e.b,t.a),260)),260),--n.a,t.e?t.e.c=t.c:n.b=u(Oa(t.c),511),t.c?t.c.e=t.e:n.c=u(Oa(t.e),511)),--e.d}function mnn(e){var t,n,i,s,c,d,h,b,m,v;for(n=e.o,t=e.p,d=Mr,s=jo,h=Mr,c=jo,m=0;m0),c.a.Xb(c.c=--c.b),Pm(c,s),yn(c.b3&&kh(e,0,t-3))}function ynn(e){var t,n,i,s;return fe(A(e,(Ue(),Iv)))===fe((f1(),Cp))?!e.e&&fe(A(e,zM))!==fe((g5(),$M)):(i=u(A(e,EZ),299),s=qe(Ve(A(e,TZ)))||fe(A(e,ex))===fe((hS(),LM)),t=u(A(e,X2e),17).a,n=e.a.c.length,!s&&i!=(g5(),$M)&&(t==0||t>n))}function knn(e){var t,n;for(n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(L5(e,t))throw B(new Qt(E9+vst(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Ahe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=_4(t,e,6,i)),i=wce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,6,t,t))}function rj(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=3&&t){if(L5(e,t))throw B(new Qt(E9+sut(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Dhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=_4(t,e,12,i)),i=mce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function ape(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=9&&t){if(L5(e,t))throw B(new Qt(E9+ict(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?$he(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=_4(t,e,9,i)),i=vce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,9,t,t))}function H5(e){var t,n,i,s,c;if(i=Aa(e),c=e.j,c==null&&i)return e.Jk()?null:i.ik();if(te(i,156)){if(n=i.jk(),n&&(s=n.wi(),s!=e.i)){if(t=u(i,156),t.nk())try{e.g=s.ti(t,c)}catch(d){if(d=li(d),te(d,82))e.g=null;else throw B(d)}e.i=s}return e.g}return null}function slt(e){var t;return t=new Le,$e(t,new Y3(new Me(e.c,e.d),new Me(e.c+e.b,e.d))),$e(t,new Y3(new Me(e.c,e.d),new Me(e.c,e.d+e.a))),$e(t,new Y3(new Me(e.c+e.b,e.d+e.a),new Me(e.c+e.b,e.d))),$e(t,new Y3(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a))),t}function Cnn(e){var t,n,i;if(e==null)return Cc;try{return Us(e)}catch(s){if(s=li(s),te(s,103))return t=s,i=l0(Tu(e))+"@"+(n=(Qh(),fhe(e)>>>0),n.toString(16)),jqt(kGt(),(Pk(),"Exception during lenientFormat for "+i),t),"<"+i+" threw "+l0(t.Rm)+">";throw B(s)}}function Snn(e,t,n){var i,s,c;for(c=t.a.ec().Kc();c.Ob();)s=u(c.Pb(),74),i=u(pn(e.b,s),272),!i&&(ri(Sh(s))==ri(ug(s))?arn(e,s,n):Sh(s)==ri(ug(s))?pn(e.c,s)==null&&pn(e.b,ug(s))!=null&&Nut(e,s,n,!1):pn(e.d,s)==null&&pn(e.b,Sh(s))!=null&&Nut(e,s,n,!0))}function xnn(e,t){var n,i,s,c,d,h,b;for(s=e.Kc();s.Ob();)for(i=u(s.Pb(),10),h=new Ml,Js(h,i),Vi(h,(ze(),fn)),Ee(h,(Oe(),jN),(Gt(),!0)),d=t.Kc();d.Ob();)c=u(d.Pb(),10),b=new Ml,Js(b,c),Vi(b,rn),Ee(b,jN,!0),n=new Vb,Ee(n,jN,!0),zo(n,h),ao(n,b)}function Enn(e,t,n,i){var s,c,d,h;s=Unt(e,t,n),c=Unt(e,n,t),d=u(pn(e.c,t),118),h=u(pn(e.c,n),118),s1)for(t=Lb((n=new s0,++e.b,n),e.d),h=Ln(c,0);h.b!=h.d.c;)d=u(_n(h),125),cf(Ja(Ya(Qa(Xa(new Pa,1),0),t),d))}function Pnn(e,t,n){var i,s,c,d,h;for(n.Ug("Breaking Point Removing",1),e.a=u(A(t,(Ue(),x1)),223),c=new N(t.b);c.a>16!=11&&t){if(L5(e,t))throw B(new Qt(E9+Ope(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Nhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=_4(t,e,10,i)),i=Pce(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,11,t,t))}function Mnn(e){var t,n,i,s;for(i=new S0(new i0(e.b).a);i.b;)n=rw(i),s=u(n.ld(),12),t=u(n.md(),10),Ee(t,(Oe(),jr),s),Ee(s,Zc,t),Ee(s,NM,(Gt(),!0)),Vi(s,u(A(t,fl),64)),A(t,fl),Ee(s.i,(Ue(),yi),(fo(),rC)),u(A(Io(s.i),Kl),21).Fc((cs(),D8))}function Onn(e,t,n){var i,s,c,d,h,b;if(c=0,d=0,e.c)for(b=new N(e.d.i.j);b.ac.a?-1:s.ab){for(v=e.d,e.d=be(z5e,Ywe,66,2*b+4,0,1),c=0;c=9223372036854776e3?(t5(),wme):(s=!1,e<0&&(s=!0,e=-e),i=0,e>=L0&&(i=Wi(e/L0),e-=i*L0),n=0,e>=K4&&(n=Wi(e/K4),e-=n*K4),t=Wi(e),c=nc(t,n,i),s&&WW(c),c)}function znn(e){var t,n,i,s,c;if(c=new Le,ic(e.b,new Rje(c)),e.b.c.length=0,c.c.length!=0){for(t=(_t(0,c.c.length),u(c.c[0],82)),n=1,i=c.c.length;n=-t&&i==t?new Gi(Ae(n-1),Ae(i)):new Gi(Ae(n),Ae(i-1))}function ult(){return Uo(),H(F(Zan,1),Te,81,0,[iye,tye,S2,NQ,Sye,sN,bN,Cv,kye,dye,vye,kv,Cye,uye,xye,Xve,aN,BQ,iN,hN,Tye,dN,Yve,yye,Iye,pN,Eye,oN,sye,wye,bye,wN,Zve,rN,cN,Qve,T8,pye,aye,mye,K9,nye,eye,gye,fye,uN,gN,Jve,fN,hye,lN,lye,oye,_M,nN,cye,rye])}function Unn(e,t,n){e.d=0,e.b=0,t.k==(nn(),Hl)&&n.k==Hl&&u(A(t,(Oe(),jr)),10)==u(A(n,jr),10)&&(dW(t).j==(ze(),en)?Yst(e,t,n):Yst(e,n,t)),t.k==Hl&&n.k==io?dW(t).j==(ze(),en)?e.d=1:e.b=1:n.k==Hl&&t.k==io&&(dW(n).j==(ze(),en)?e.b=1:e.d=1),PXt(e,t,n)}function Gnn(e){var t,n,i,s,c,d,h,b,m,v,k;return k=c1e(e),t=e.a,b=t!=null,b&&Nk(k,"category",e.a),s=mT(new r0(e.d)),d=!s,d&&(m=new t0,$f(k,"knownOptions",m),n=new hBe(m),Po(new r0(e.d),n)),c=mT(e.g),h=!c,h&&(v=new t0,$f(k,"supportedFeatures",v),i=new pBe(v),Po(e.g,i)),k}function Wnn(e){var t,n,i,s,c,d,h,b,m;for(i=!1,t=336,n=0,c=new YGe(e.length),h=e,b=0,m=h.length;b>16!=7&&t){if(L5(e,t))throw B(new Qt(E9+bot(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?Lhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=u(t,54).Rh(e,1,xO,i)),i=kue(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,7,t,t))}function alt(e,t){var n,i;if(t!=e.Cb||e.Db>>16!=3&&t){if(L5(e,t))throw B(new Qt(E9+pnt(e)));i=null,e.Cb&&(i=(n=e.Db>>16,n>=0?jhe(e,i):e.Cb.Th(e,-1-n,null,i))),t&&(i=u(t,54).Rh(e,0,TO,i)),i=Cue(e,t,i),i&&i.oj()}else e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,3,t,t))}function Sq(e,t){K5();var n,i,s,c,d,h,b,m,v;return t.d>e.d&&(h=e,e=t,t=h),t.d<63?Lrn(e,t):(d=(e.d&-2)<<4,m=zae(e,d),v=zae(t,d),i=Kq(e,v4(m,d)),s=Kq(t,v4(v,d)),b=Sq(m,v),n=Sq(i,s),c=Sq(Kq(m,i),Kq(s,v)),c=Yq(Yq(c,b),n),c=v4(c,d),b=v4(b,d<<1),Yq(Yq(b,c),n))}function up(){up=U,FZ=new Cy(pdt,0),$3e=new Cy("LONGEST_PATH",1),j3e=new Cy("LONGEST_PATH_SOURCE",2),BZ=new Cy("COFFMAN_GRAHAM",3),L3e=new Cy(dY,4),D3e=new Cy("STRETCH_WIDTH",5),eB=new Cy("MIN_WIDTH",6),G8=new Cy("BF_MODEL_ORDER",7),W8=new Cy("DF_MODEL_ORDER",8)}function qnn(e,t,n){var i,s,c,d,h;for(d=xS(e,n),h=be(Lh,fp,10,t.length,0,1),i=0,c=d.Kc();c.Ob();)s=u(c.Pb(),12),qe(Ve(A(s,(Oe(),NM))))&&(h[i++]=u(A(s,Zc),10));if(i=0;c+=n?1:-1)d=d|t.c.lg(b,c,n,i&&!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,(Oe(),_2))))),d=d|t.q.ug(b,c,n),d=d|Jlt(e,b[c],n,i);return Fi(e.c,t),d}function sj(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=PYe(e.j),k=0,T=v.length;k1&&(e.a=!0),IDt(u(n.b,68),Or(Eo(u(t.b,68).c),Nd(Xi(Eo(u(n.b,68).a),u(t.b,68).a),s))),$Xe(e,t),flt(e,n)}function dlt(e){var t,n,i,s,c,d,h;for(c=new N(e.a.a);c.a0&&c>0?d.p=t++:i>0?d.p=n++:c>0?d.p=s++:d.p=n++}Ot(),Mi(e.j,new GTe)}function Znn(e){var t,n;n=null,t=u(Ye(e.g,0),18);do{if(n=t.d.i,Xr(n,(Oe(),Fa)))return u(A(n,Fa),12).i;if(n.k!=(nn(),Ei)&&$n(new gn(wn(Pi(n).a.Kc(),new j))))t=u(xn(new gn(wn(Pi(n).a.Kc(),new j))),18);else if(n.k!=Ei)return null}while(n&&n.k!=(nn(),Ei));return n}function ern(e,t){var n,i,s,c,d,h,b,m,v;for(h=t.j,d=t.g,b=u(Ye(h,h.c.length-1),113),v=(_t(0,h.c.length),u(h.c[0],113)),m=UV(e,d,b,v),c=1;cm&&(b=n,v=s,m=i);t.a=v,t.c=b}function trn(e,t,n){var i,s,c,d,h,b,m;for(m=new z1(new JDe(e)),d=H(F(K0t,1),Nft,12,0,[t,n]),h=0,b=d.length;hb-e.b&&hb-e.a&&h0?c.a?(h=c.b.Mf().a,n>h&&(s=(n-h)/2,c.d.b=s,c.d.c=s)):c.d.c=e.s+n:q7(e.u)&&(i=u1e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}function mrn(e,t){var n,i,s,c,d;d=new Le,n=t;do c=u(pn(e.b,n),131),c.B=n.c,c.D=n.d,Ft(d.c,c),n=u(pn(e.k,n),18);while(n);return i=(_t(0,d.c.length),u(d.c[0],131)),i.j=!0,i.A=u(i.d.a.ec().Kc().Pb(),18).c.i,s=u(Ye(d,d.c.length-1),131),s.q=!0,s.C=u(s.d.a.ec().Kc().Pb(),18).d.i,d}function vrn(e){var t,n;if(t=u(e.a,17).a,n=u(e.b,17).a,t>=0){if(t==n)return new Gi(Ae(-t-1),Ae(-t-1));if(t==-n)return new Gi(Ae(-t),Ae(n+1))}return w.Math.abs(t)>w.Math.abs(n)?t<0?new Gi(Ae(-t),Ae(n)):new Gi(Ae(-t),Ae(n+1)):new Gi(Ae(t+1),Ae(n))}function yrn(e){var t,n;n=u(A(e,(Ue(),fc)),171),t=u(A(e,(Oe(),W0)),311),n==(pa(),Tg)?(Ee(e,fc,FM),Ee(e,W0,(c1(),M2))):n==Ev?(Ee(e,fc,FM),Ee(e,W0,(c1(),o6))):t==(c1(),M2)?(Ee(e,fc,Tg),Ee(e,W0,jM)):t==o6&&(Ee(e,fc,Ev),Ee(e,W0,jM))}function lj(){lj=U,XM=new _Me,nyt=cr(new Li,($o(),_l),(Uo(),iN)),oyt=$c(cr(new Li,_l,dN),Ns,fN),syt=Wd(Wd(m7($c(cr(new Li,hf,bN),Ns,gN),zl),pN),wN),ryt=$c(cr(cr(cr(new Li,Ah,sN),zl,cN),zl,T8),Ns,lN),iyt=$c(cr(cr(new Li,zl,T8),zl,rN),Ns,nN)}function qS(){qS=U,uyt=cr($c(new Li,($o(),Ns),(Uo(),lye)),_l,iN),hyt=Wd(Wd(m7($c(cr(new Li,hf,bN),Ns,gN),zl),pN),wN),ayt=$c(cr(cr(cr(new Li,Ah,sN),zl,cN),zl,T8),Ns,lN),dyt=cr(cr(new Li,_l,dN),Ns,fN),fyt=$c(cr(cr(new Li,zl,T8),zl,rN),Ns,nN)}function krn(e,t,n,i,s){var c,d;(!Zo(t)&&t.c.i.c==t.d.i.c||!pet(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])),n))&&!Zo(t)&&(t.c==s?Rk(t.a,0,new Vo(n)):or(t.a,new Vo(n)),i&&!Mf(e.a,n)&&(d=u(A(t,(Ue(),Is)),75),d||(d=new _c,Ee(t,Is,d)),c=new Vo(n),gi(d,c,d.c.b,d.c),Fi(e.a,c)))}function glt(e,t){var n,i,s,c;for(c=Vn(Ko(Ih,vh(Vn(Ko(t==null?0:Vr(t),Ph)),15))),n=c&e.b.length-1,s=null,i=e.b[n];i;s=i,i=i.a)if(i.d==c&&zd(i.i,t))return s?s.a=i.a:e.b[n]=i.a,UFe(u(Oa(i.c),604),u(Oa(i.f),604)),hT(u(Oa(i.b),227),u(Oa(i.e),227)),--e.f,++e.e,!0;return!1}function Crn(e){var t,n;for(n=new gn(wn(eo(e).a.Kc(),new j));$n(n);)if(t=u(xn(n),18),t.c.i.k!=(nn(),El))throw B(new N1(fY+cP(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 Srn(e,t,n){var i,s,c,d,h,b,m;if(s=vnt(e.Db&254),s==0)e.Eb=n;else{if(s==1)h=be(Ji,Bt,1,2,5,1),c=KV(e,t),c==0?(h[0]=n,h[1]=e.Eb):(h[0]=e.Eb,h[1]=n);else for(h=be(Ji,Bt,1,s+1,5,1),d=y0(e.Eb),i=2,b=0,m=0;i<=128;i<<=1)i==t?h[m++]=n:e.Db&i&&(h[m++]=d[b++]);e.Eb=h}e.Db|=t}function blt(e,t,n){var i,s,c,d;for(this.b=new Le,s=0,i=0,d=new N(e);d.a0&&(c=u(Ye(this.b,0),176),s+=c.o,i+=c.p),s*=2,i*=2,t>1?s=Wi(w.Math.ceil(s*t)):i=Wi(w.Math.ceil(i/t)),this.a=new the(s,i)}function wlt(e,t,n,i,s,c){var d,h,b,m,v,k,T,P,O,L,$,z;for(v=i,t.j&&t.o?(P=u(pn(e.f,t.A),60),L=P.d.c+P.d.b,--v):L=t.a.c+t.a.b,k=s,n.q&&n.o?(P=u(pn(e.f,n.C),60),m=P.d.c,++k):m=n.a.c,$=m-L,b=w.Math.max(2,k-v),h=$/b,O=L+h,T=v;T=0;d+=s?1:-1){for(h=t[d],b=i==(ze(),fn)?s?el(h,i):ha(el(h,i)):s?ha(el(h,i)):el(h,i),c&&(e.c[h.p]=b.gc()),k=b.Kc();k.Ob();)v=u(k.Pb(),12),e.d[v.p]=m++;zi(n,b)}}function vlt(e,t,n){var i,s,c,d,h,b,m,v;for(c=le(pe(e.b.Kc().Pb())),m=le(pe(yGt(t.b))),i=Nd(Eo(e.a),m-n),s=Nd(Eo(t.a),n-c),v=Or(i,s),Nd(v,1/(m-c)),this.a=v,this.b=new Le,h=!0,d=e.b.Kc(),d.Pb();d.Ob();)b=le(pe(d.Pb())),h&&b-n>GY&&(this.b.Fc(n),h=!1),this.b.Fc(b);h&&this.b.Fc(n)}function xrn(e){var t,n,i,s;if(Hin(e,e.n),e.d.c.length>0){for(u7(e.c);Q1e(e,u(D(new N(e.e.a)),125))>5,t&=31,i>=e.d)return e.e<0?(Vd(),Ept):(Vd(),N9);if(c=e.d-i,s=be(Bn,ur,28,c+1,15,1),gZt(s,c,e.a,i,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=s2((Nc(),_o),s,t),n?(i=n.Ik(),(i>1||i==-1)&&Gb(Ss(_o,n))!=3):!0)):!1}function Prn(e,t,n,i){var s,c,d,h,b;return h=Ds(u(re((!t.b&&(t.b=new jt(Tn,t,4,7)),t.b),0),84)),b=Ds(u(re((!t.c&&(t.c=new jt(Tn,t,5,8)),t.c),0),84)),ri(h)==ri(b)||zm(b,h)?null:(d=hI(t),d==n?i:(c=u(pn(e.a,d),10),c&&(s=c.e,s)?s:null))}function Mrn(e,t,n){var i,s,c,d,h;for(n.Ug("Longest path to source layering",1),e.a=t,h=e.a.a,e.b=be(Bn,ur,28,h.c.length,15,1),i=0,d=new N(h);d.a0&&(n[0]+=e.d,d-=n[0]),n[2]>0&&(n[2]+=e.d,d-=n[2]),c=w.Math.max(0,d),n[1]=w.Math.max(n[1],d),Kae(e,Ql,s.c+i.b+n[0]-(n[1]-d)/2,n),t==Ql&&(e.c.b=c,e.c.c=s.c+i.b+(c-d)/2)}function Mlt(){this.c=be(uo,ws,28,(ze(),H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn])).length,15,1),this.b=be(uo,ws,28,H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn]).length,15,1),this.a=be(uo,ws,28,H(F(ts,1),Sl,64,0,[nl,en,fn,Pn,rn]).length,15,1),Wse(this.c,ii),Wse(this.b,Hi),Wse(this.a,Hi)}function Dl(e,t,n){var i,s,c,d;if(t<=n?(s=t,c=n):(s=n,c=t),i=0,e.b==null)e.b=be(Bn,ur,28,2,15,1),e.b[0]=s,e.b[1]=c,e.c=!0;else{if(i=e.b.length,e.b[i-1]+1==s){e.b[i-1]=c;return}d=be(Bn,ur,28,i+2,15,1),Ol(e.b,0,d,0,i),e.b=d,e.b[i-1]>=s&&(e.c=!1,e.a=!1),e.b[i++]=s,e.b[i]=c,e.c||e2(e)}}function $rn(e,t,n){var i,s,c,d,h,b,m;for(m=t.d,e.a=new ql(m.c.length),e.c=new On,h=new N(m);h.a=0?e.Lh(m,!1,!0):dw(e,n,!1),61));e:for(c=k.Kc();c.Ob();){for(s=u(c.Pb(),58),v=0;v1;)nv(s,s.i-1);return i}function _lt(e,t){var n,i,s,c,d,h,b;for(n=new Ay,c=new N(e.b);c.ae.d[d.p]&&(n+=$ae(e.b,c),eg(e.a,Ae(c)));for(;!a7(e.a);)pfe(e.b,u(a4(e.a),17).a)}return n}function zrn(e){var t,n,i,s,c,d,h,b,m;for(e.a=new Ice,m=0,s=0,i=new N(e.i.b);i.ah.d&&(v=h.d+h.a+m));n.c.d=v,t.a.zc(n,t),b=w.Math.max(b,n.c.d+n.c.a)}return b}function cs(){cs=U,MN=new km("COMMENTS",0),ka=new km("EXTERNAL_PORTS",1),V9=new km("HYPEREDGES",2),ON=new km("HYPERNODES",3),D8=new km("NON_FREE_PORTS",4),P2=new km("NORTH_SOUTH_PORTS",5),q9=new km(ndt,6),$8=new km("CENTER_LABELS",7),j8=new km("END_LABELS",8),_N=new km("PARTITIONS",9)}function Krn(e,t,n,i,s){return i<0?(i=Zy(e,s,H(F(Je,1),_e,2,6,[dX,hX,pX,gX,z4,bX,wX,mX,vX,yX,kX,CX]),t),i<0&&(i=Zy(e,s,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",z4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),i<0?!1:(n.k=i,!0)):i>0?(n.k=i-1,!0):!1}function Urn(e,t,n,i,s){return i<0?(i=Zy(e,s,H(F(Je,1),_e,2,6,[dX,hX,pX,gX,z4,bX,wX,mX,vX,yX,kX,CX]),t),i<0&&(i=Zy(e,s,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",z4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),i<0?!1:(n.k=i,!0)):i>0?(n.k=i-1,!0):!1}function Grn(e,t,n,i,s,c){var d,h,b,m;if(h=32,i<0){if(t[0]>=e.length||(h=Lo(e,t[0]),h!=43&&h!=45)||(++t[0],i=J$(e,t),i<0))return!1;h==45&&(i=-i)}return h==32&&t[0]-n==2&&s.b==2&&(b=new TR,m=b.q.getFullYear()-gg+gg-80,d=m%100,c.a=i==d,i+=(m/100|0)*100+(i=0?cg(e):Q7(cg(J1(e)))),B9[t]=rA(nf(e,t),0)?cg(nf(e,t)):Q7(cg(J1(nf(e,t)))),e=Ko(e,5);for(;t=m&&(b=i);b&&(v=w.Math.max(v,b.a.o.a)),v>T&&(k=m,T=v)}return k}function Jrn(e){var t,n,i,s,c,d,h;for(c=new z1(u(qn(new ck),50)),h=Hi,n=new N(e.d);n.aPdt?Mi(b,e.b):i<=Pdt&&i>Mdt?Mi(b,e.d):i<=Mdt&&i>Odt?Mi(b,e.c):i<=Odt&&Mi(b,e.a),c=jlt(e,b,c);return s}function Dlt(e,t,n,i){var s,c,d,h,b,m;for(s=(i.c+i.a)/2,Au(t.j),or(t.j,s),Au(n.e),or(n.e,s),m=new rze,h=new N(e.f);h.a1,h&&(i=new Me(s,n.b),or(t.a,i)),dS(t.a,H(F(to,1),_e,8,0,[T,k]))}function kpe(e,t,n){var i,s;for(t=48;n--)Vx[n]=n-48<<24>>24;for(i=70;i>=65;i--)Vx[i]=i-65+10<<24>>24;for(s=102;s>=97;s--)Vx[s]=s-97+10<<24>>24;for(c=0;c<10;c++)iF[c]=48+c&Di;for(e=10;e<=15;e++)iF[e]=65+e-10&Di}function tin(e,t){t.Ug("Process graph bounds",1),Ee(e,(Wr(),cee),_T($W(Am(new xt(null,new Pt(e.b,16)),new cOe)))),Ee(e,uee,_T($W(Am(new xt(null,new Pt(e.b,16)),new uOe)))),Ee(e,T4e,_T(LW(Am(new xt(null,new Pt(e.b,16)),new aOe)))),Ee(e,I4e,_T(LW(Am(new xt(null,new Pt(e.b,16)),new fOe)))),t.Vg()}function nin(e){var t,n,i,s,c;s=u(A(e,(Ue(),J0)),21),c=u(A(e,YN),21),n=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Vo(n),s.Hc((Iu(),Fv))&&(i=u(A(e,B8),8),c.Hc((du(),iC))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=w.Math.max(n.a,i.a),t.b=w.Math.max(n.b,i.b)),qe(Ve(A(e,RZ)))||Rsn(e,n,t)}function rin(e,t){var n,i,s,c;for(c=el(t,(ze(),Pn)).Kc();c.Ob();)i=u(c.Pb(),12),n=u(A(i,(Oe(),Zc)),10),n&&cf(Ja(Ya(Qa(Xa(new Pa,0),.1),e.i[t.p].d),e.i[n.p].a));for(s=el(t,en).Kc();s.Ob();)i=u(s.Pb(),12),n=u(A(i,(Oe(),Zc)),10),n&&cf(Ja(Ya(Qa(Xa(new Pa,0),.1),e.i[n.p].d),e.i[t.p].a))}function Eq(e){var t,n,i,s,c,d;if(!e.c){if(d=new xRe,t=Kx,c=t.a.zc(e,t),c==null){for(i=new hn(Pl(e));i.e!=i.i.gc();)n=u(mn(i),89),s=pj(n),te(s,90)&&mi(d,Eq(u(s,29))),Dn(d,n);t.a.Bc(e)!=null,t.a.gc()==0}QVt(d),Um(d),e.c=new Ty((u(re(me((Jp(),Wt).o),15),19),d.i),d.g),cu(e).b&=-33}return e.c}function Spe(e){var t;if(e.c!=10)throw B(new er(ir((Yn(),vD))));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 B(new er(ir((Yn(),va))))}return t}function zlt(e){var t,n,i,s,c;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==KP&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+zlt(m5(e));for(n=e,i="";!(n.l==0&&n.m==0&&n.h==0);){if(s=tW(Ij),n=rge(n,s,!0),t=""+uze(yg),!(n.l==0&&n.m==0&&n.h==0))for(c=9-t.length;c>0;c--)t="0"+t;i=t+i}return i}function iin(e){var t,n,i,s,c,d,h;for(t=!1,n=0,s=new N(e.d.b);s.a=e.a||!o1e(t,n))return-1;if(Yk(u(i.Kb(t),20)))return 1;for(s=0,d=u(i.Kb(t),20).Kc();d.Ob();)if(c=u(d.Pb(),18),b=c.c.i==t?c.d.i:c.c.i,h=xpe(e,b,n,i),h==-1||(s=w.Math.max(s,h),s>e.c-1))return-1;return s+1}function Hlt(e,t){var n,i,s,c,d,h;if(fe(t)===fe(e))return!0;if(!te(t,15)||(i=u(t,15),h=e.gc(),i.gc()!=h))return!1;if(d=i.Kc(),e.Yi()){for(n=0;n0){if(e._j(),t!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw B(new $d("Invalid hexadecimal"))}}function aj(){aj=U,cve=new ky("SPIRAL",0),ive=new ky("LINE_BY_LINE",1),ove=new ky("MANHATTAN",2),rve=new ky("JITTER",3),hQ=new ky("QUADRANTS_LINE_BY_LINE",4),lve=new ky("QUADRANTS_MANHATTAN",5),sve=new ky("QUADRANTS_JITTER",6),nve=new ky("COMBINE_LINE_BY_LINE_MANHATTAN",7),tve=new ky("COMBINE_JITTER_MANHATTAN",8)}function Ult(e,t,n,i){var s,c,d,h,b,m;for(b=YV(e,n),m=YV(t,n),s=!1;b&&m&&(i||tYt(b,m,n));)d=YV(b,n),h=YV(m,n),PI(t),PI(e),c=b.c,Jq(b,!1),Jq(m,!1),n?(Xm(t,m.p,c),t.p=m.p,Xm(e,b.p+1,c),e.p=b.p):(Xm(e,b.p,c),e.p=b.p,Xm(t,m.p+1,c),t.p=m.p),bo(b,null),bo(m,null),b=d,m=h,s=!0;return s}function Glt(e){switch(e.g){case 0:return new n$e;case 1:return new e$e;case 3:return new wHe;case 4:return new JPe;case 5:return new GGe;case 6:return new t$e;case 2:return new ZLe;case 7:return new VLe;case 8:return new XLe;default:throw B(new Qt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function ain(e,t,n,i){var s,c,d,h,b;for(s=!1,c=!1,h=new N(i.j);h.a=t.length)throw B(new ys("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new JT(i),OW(this.e,this.c,(ze(),rn)),this.i=new JT(i),OW(this.i,this.c,fn),this.f=new cVe(this.c),this.a=!c&&s.i&&!s.s&&this.c[0].k==(nn(),Oi),this.a&&xZt(this,e,t.length)}function Vlt(e,t){var n,i,s,c,d,h;c=!e.B.Hc((du(),CO)),d=e.B.Hc(mte),e.a=new Ant(d,c,e.c),e.n&&nae(e.a.n,e.n),CK(e.g,(jf(),Ql),e.a),t||(i=new _S(1,c,e.c),i.n.a=e.k,f4(e.p,(ze(),en),i),s=new _S(1,c,e.c),s.n.d=e.k,f4(e.p,Pn,s),h=new _S(0,c,e.c),h.n.c=e.k,f4(e.p,rn,h),n=new _S(0,c,e.c),n.n.b=e.k,f4(e.p,fn,n))}function din(e){var t,n,i;switch(t=u(A(e.d,(Ue(),x1)),223),t.g){case 2:n=ean(e);break;case 3:n=(i=new Le,Ci(Ar(As(Qs(Qs(new xt(null,new Pt(e.d.b,16)),new lPe),new cPe),new uPe),new qIe),new IDe(i)),i);break;default:throw B(new ks("Compaction not supported for "+t+" edges."))}Cln(e,n),Po(new r0(e.g),new EDe(e))}function hin(e,t){var n,i,s,c,d,h,b;if(t.Ug("Process directions",1),n=u(A(e,(sl(),Kw)),88),n!=(ji(),vd))for(s=Ln(e.b,0);s.b!=s.d.c;){switch(i=u(_n(s),40),h=u(A(i,(Wr(),QM)),17).a,b=u(A(i,ZM),17).a,n.g){case 4:b*=-1;break;case 1:c=h,h=b,b=c;break;case 2:d=h,h=-b,b=d}Ee(i,QM,Ae(h)),Ee(i,ZM,Ae(b))}t.Vg()}function pin(e,t){var n;return n=new We,t&&js(n,u(pn(e.a,xO),96)),te(t,422)&&js(n,u(pn(e.a,EO),96)),te(t,366)?(js(n,u(pn(e.a,ms),96)),n):(te(t,84)&&js(n,u(pn(e.a,Tn),96)),te(t,207)?(js(n,u(pn(e.a,xr),96)),n):te(t,193)?(js(n,u(pn(e.a,ru),96)),n):(te(t,326)&&js(n,u(pn(e.a,Ti),96)),n))}function gin(e){var t,n,i,s,c,d,h,b;for(b=new EJe,h=new N(e.a);h.a0&&t=0)return!1;if(t.p=n.b,$e(n.e,t),s==(nn(),io)||s==Hl){for(d=new N(t.j);d.ae.d[h.p]&&(n+=$ae(e.b,c),eg(e.a,Ae(c)))):++d;for(n+=e.b.d*d;!a7(e.a);)pfe(e.b,u(a4(e.a),17).a)}return n}function rct(e){var t,n,i,s,c,d;return c=0,t=Aa(e),t.kk()&&(c|=4),e.Bb&zc&&(c|=2),te(e,102)?(n=u(e,19),s=is(n),n.Bb&wl&&(c|=32),s&&(Sn(Lm(s)),c|=8,d=s.t,(d>1||d==-1)&&(c|=16),s.Bb&wl&&(c|=64)),n.Bb&es&&(c|=gv),c|=af):te(t,469)?c|=512:(i=t.kk(),i&&i.i&1&&(c|=256)),e.Bb&512&&(c|=128),c}function Iin(e,t){var n;return e.f==_te?(n=Gb(Ss((Nc(),_o),t)),e.e?n==4&&t!=(j4(),S6)&&t!=(j4(),C6)&&t!=(j4(),Rte)&&t!=(j4(),Ate):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(w4(Ss((Nc(),_o),t)))||e.d.Hc(s2((Nc(),_o),e.b,t)))?!0:e.f&&fpe((Nc(),e.f),cI(Ss(_o,t)))?(n=Gb(Ss(_o,t)),e.e?n==4:n==2):!1}function Pin(e){var t,n,i,s,c,d,h,b,m,v,k,T,P;for(T=-1,P=0,m=e,v=0,k=m.length;v0&&++P;++T}return P}function Min(e,t,n,i){var s,c,d,h,b,m,v,k;return d=u(Ie(n,(gr(),b6)),8),b=d.a,v=d.b+e,s=w.Math.atan2(v,b),s<0&&(s+=B0),s+=t,s>B0&&(s-=B0),h=u(Ie(i,b6),8),m=h.a,k=h.b+e,c=w.Math.atan2(k,m),c<0&&(c+=B0),c+=t,c>B0&&(c-=B0),Yf(),of(1e-10),w.Math.abs(s-c)<=1e-10||s==c||isNaN(s)&&isNaN(c)?0:sc?1:Rb(isNaN(s),isNaN(c))}function Pq(e){var t,n,i,s,c,d,h;for(h=new On,i=new N(e.a.b);i.a=e.o)throw B(new ose);h=t>>5,d=t&31,c=nf(1,Vn(nf(d,1))),s?e.n[n][h]=Rf(e.n[n][h],c):e.n[n][h]=Yi(e.n[n][h],nue(c)),c=nf(c,1),i?e.n[n][h]=Rf(e.n[n][h],c):e.n[n][h]=Yi(e.n[n][h],nue(c))}catch(b){throw b=li(b),te(b,333)?B(new ys(XX+e.o+"*"+e.p+YX+t+Xo+n+JX)):B(b)}}function Rin(e,t,n,i){var s,c,d,h,b,m,v,k,T;for(T=new z1(new YDe(e)),h=H(F(Lh,1),fp,10,0,[t,n]),b=0,m=h.length;b0&&(i=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!i||lr(lr((t.a+=' "',t),i),'"'))),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function ict(e){var t,n,i;return e.Db&64?lq(e):(t=new Ru(Rwe),n=e.k,n?lr(lr((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new Se(ms,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!i||lr(lr((t.a+=' "',t),i),'"'))),lr(Tb(lr(Tb(lr(Tb(lr(Tb((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function $in(e,t){var n,i,s,c,d;for(t==(yS(),JZ)&&wP(u($r(e.a,(Ym(),AM)),15)),s=u($r(e.a,(Ym(),AM)),15).Kc();s.Ob();)switch(i=u(s.Pb(),105),n=u(Ye(i.j,0),113).d.j,c=new Vc(i.j),Mi(c,new bPe),t.g){case 2:tq(e,c,n,(nw(),xg),1);break;case 1:case 0:d=knn(c),tq(e,new V1(c,0,d),n,(nw(),xg),0),tq(e,new V1(c,d,c.c.length),n,xg,1)}}function Oq(e,t){var n,i,s,c,d,h,b;if(t==null||t.length==0)return null;if(s=u($l(e.a,t),143),!s){for(i=(h=new Yh(e.b).a.vc().Kc(),new wm(h));i.a.Ob();)if(n=(c=u(i.a.Pb(),44),u(c.md(),143)),d=n.c,b=t.length,Et(d.substr(d.length-b,b),t)&&(t.length==d.length||Lo(d,d.length-t.length-1)==46)){if(s)return null;s=n}s&&Cs(e.a,t,s)}return s}function jin(e,t){var n,i,s,c;return n=new ak,i=u(Ks(As(new xt(null,new Pt(e.f,16)),n),Nm(new ge,new Ge,new Rn,new br,H(F(Ts,1),Te,108,0,[(Jc(),bv),Ws]))),21),s=i.gc(),i=u(Ks(As(new xt(null,new Pt(t.f,16)),n),Nm(new ge,new Ge,new Rn,new br,H(F(Ts,1),Te,108,0,[bv,Ws]))),21),c=i.gc(),ss.p?(Vi(c,Pn),c.d&&(h=c.o.b,t=c.a.b,c.a.b=h-t)):c.j==Pn&&s.p>e.p&&(Vi(c,en),c.d&&(h=c.o.b,t=c.a.b,c.a.b=-(h-t)));break}return s}function TP(e,t,n,i,s){var c,d,h,b,m,v,k;if(!(te(t,207)||te(t,366)||te(t,193)))throw B(new Qt("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return d=e.a/2,b=t.i+i-d,v=t.j+s-d,m=b+t.g+e.a,k=v+t.f+e.a,c=new _c,or(c,new Me(b,v)),or(c,new Me(b,k)),or(c,new Me(m,k)),or(c,new Me(m,v)),h=new mq(c),js(h,t),n&&vr(e.b,t,h),h}function U5(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(c=new Me(t,n),v=new N(e.a);v.a1,h&&(i=new Me(s,n.b),or(t.a,i)),dS(t.a,H(F(to,1),_e,8,0,[T,k]))}function La(){La=U,rB=new Cm(eh,0),GM=new Cm("NIKOLOV",1),WM=new Cm("NIKOLOV_PIXEL",2),U3e=new Cm("NIKOLOV_IMPROVED",3),G3e=new Cm("NIKOLOV_IMPROVED_PIXEL",4),K3e=new Cm("DUMMYNODE_PERCENTAGE",5),W3e=new Cm("NODECOUNT_PERCENTAGE",6),iB=new Cm("NO_BOUNDARY",7),zw=new Cm("MODEL_ORDER_LEFT_TO_RIGHT",8),Av=new Cm("MODEL_ORDER_RIGHT_TO_LEFT",9)}function Win(e){var t,n,i,s,c;for(i=e.length,t=new f7,c=0;c=40,d&&Von(e),tln(e),xrn(e),n=Snt(e),i=0;n&&i0&&or(e.f,c)):(e.c[d]-=m+1,e.c[d]<=0&&e.a[d]>0&&or(e.e,c))))}function wct(e,t,n,i){var s,c,d,h,b,m,v;for(b=new Me(n,i),Xi(b,u(A(t,(Wr(),q8)),8)),v=Ln(t.b,0);v.b!=v.d.c;)m=u(_n(v),40),Or(m.e,b),or(e.b,m);for(h=u(Ks(hae(new xt(null,new Pt(t.a,16))),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15).Kc();h.Ob();){for(d=u(h.Pb(),65),c=Ln(d.a,0);c.b!=c.d.c;)s=u(_n(c),8),s.a+=b.a,s.b+=b.b;or(e.a,d)}}function Bpe(e,t){var n,i,s,c;if(0<(te(e,16)?u(e,16).gc():i1(e.Kc()))){if(s=t,1=0&&bc*2?(v=new FL(k),m=Lc(d)/xu(d),b=tX(v,t,new z3,n,i,s,m),Or(Of(v.e),b),k.c.length=0,c=0,Ft(k.c,v),Ft(k.c,d),c=Lc(v)*xu(v)+Lc(d)*xu(d)):(Ft(k.c,d),c+=Lc(d)*xu(d));return k}function vct(e,t){var n,i,s,c,d,h;if(h=u(A(t,(Ue(),yi)),101),h==(fo(),Bh)||h==Ul)for(s=new Me(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,d=new N(e.a);d.an?t:n;m<=k;++m)m==n?h=i++:(c=s[m],v=O.am(c.Lk()),m==t&&(b=m==k&&!v?i-1:i),v&&++i);return T=u(PS(e,t,n),76),h!=b&&mk(e,new xI(e.e,7,d,Ae(h),P.md(),b)),T}}else return u(gq(e,t,n),76);return u(PS(e,t,n),76)}function fon(e,t){var n,i,s,c,d,h,b;for(t.Ug("Port order processing",1),b=u(A(e,(Ue(),C3e)),430),i=new N(e.b);i.a=0&&(h=sYt(e,d),!(h&&(m<22?b.l|=1<>>1,d.m=v>>>1|(k&1)<<21,d.l=T>>>1|(v&1)<<21,--m;return n&&WW(b),c&&(i?(yg=m5(e),s&&(yg=itt(yg,(t5(),mme)))):yg=nc(e.l,e.m,e.h)),b}function pon(e,t){var n,i,s,c,d,h,b,m,v,k;for(m=e.e[t.c.p][t.p]+1,b=t.c.a.c.length+1,h=new N(e.a);h.a0&&(Zt(0,e.length),e.charCodeAt(0)==45||(Zt(0,e.length),e.charCodeAt(0)==43))?1:0,i=d;in)throw B(new $d(mw+e+'"'));return h}function gon(e){var t,n,i,s,c,d,h;for(d=new Zr,c=new N(e.a);c.a1)&&t==1&&u(e.a[e.b],10).k==(nn(),El)?N4(u(e.a[e.b],10),(Fu(),Dh)):i&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.c-1&e.a.length-1],10).k==(nn(),El)?N4(u(e.a[e.c-1&e.a.length-1],10),(Fu(),Rg)):(e.c-e.b&e.a.length-1)==2?(N4(u(vS(e),10),(Fu(),Dh)),N4(u(vS(e),10),Rg)):Gtn(e,s),Aae(e)}function mon(e,t,n){var i,s,c,d,h;for(c=0,s=new hn((!e.a&&(e.a=new Se(xr,e,10,11)),e.a));s.e!=s.i.gc();)i=u(mn(s),27),d="",(!i.n&&(i.n=new Se(ms,i,1,7)),i.n).i==0||(d=u(re((!i.n&&(i.n=new Se(ms,i,1,7)),i.n),0),135).a),h=new VW(c++,t,d),js(h,i),Ee(h,(Wr(),bx),i),h.e.b=i.j+i.f/2,h.f.a=w.Math.max(i.g,1),h.e.a=i.i+i.g/2,h.f.b=w.Math.max(i.f,1),or(t.b,h),Jl(n.f,i,h)}function von(e){var t,n,i,s,c;i=u(A(e,(Oe(),jr)),27),c=u(Ie(i,(Ue(),J0)),181).Hc((Iu(),sb)),e.e||(s=u(A(e,Kl),21),t=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),s.Hc((cs(),ka))?(Br(i,yi,(fo(),Ul)),gw(i,t.a,t.b,!1,!0)):qe(Ve(Ie(i,RZ)))||gw(i,t.a,t.b,!0,!0)),c?Br(i,J0,ht(sb)):Br(i,J0,(n=u(Pf(Dx),9),new ra(n,u(ef(n,n.length),9),0)))}function Fpe(e,t,n){var i,s,c,d;if(t[0]>=e.length)return n.o=0,!0;switch(Lo(e,t[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++t[0],c=t[0],d=J$(e,t),d==0&&t[0]==c)return!1;if(t[0]h&&(h=s,v.c.length=0),s==h&&$e(v,new Gi(n.c.i,n)));Ot(),Mi(v,e.c),Nb(e.b,b.p,v)}}function Son(e,t){var n,i,s,c,d,h,b,m,v;for(d=new N(t.b);d.ah&&(h=s,v.c.length=0),s==h&&$e(v,new Gi(n.d.i,n)));Ot(),Mi(v,e.c),Nb(e.f,b.p,v)}}function xon(e,t){var n,i,s,c,d,h,b,m;if(m=Ve(A(t,(sl(),jyt))),m==null||(sn(m),m)){for(Yen(e,t),s=new Le,b=Ln(t.b,0);b.b!=b.d.c;)d=u(_n(b),40),n=I1e(e,d,null),n&&(js(n,t),Ft(s.c,n));if(e.a=null,e.b=null,s.c.length>1)for(i=new N(s);i.a=0&&h!=n&&(c=new ro(e,1,h,d,null),i?i.nj(c):i=c),n>=0&&(c=new ro(e,1,n,h==n?d:null,t),i?i.nj(c):i=c)),i}function Cct(e){var t,n,i;if(e.b==null){if(i=new B1,e.i!=null&&(ps(i,e.i),i.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(KNt(e.i)||(i.a+="//"),ps(i,e.a)),e.d!=null&&(i.a+="/",ps(i,e.d)),e.f&16&&(i.a+="/"),t=0,n=e.j.length;tT?!1:(k=(b=t9(i,T,!1),b.a),v+h+k<=t.b&&(EI(n,c-n.s),n.c=!0,EI(i,c-n.s),lP(i,n.s,n.t+n.d+h),i.k=!0,qfe(n.q,i),P=!0,s&&(GL(t,i),i.j=t,e.c.length>d&&(aP((_t(d,e.c.length),u(e.c[d],186)),i),(_t(d,e.c.length),u(e.c[d],186)).a.c.length==0&&X1(e,d)))),P)}function _on(e,t){var n,i,s,c,d,h;if(t.Ug("Partition midprocessing",1),s=new qb,Ci(Ar(new xt(null,new Pt(e.a,16)),new VTe),new pDe(s)),s.d!=0){for(h=u(Ks(bae((c=s.i,new xt(null,(c||(s.i=new Ly(s,s.c))).Nc()))),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),i=h.Kc(),n=u(i.Pb(),17);i.Ob();)d=u(i.Pb(),17),xnn(u($r(s,n),21),u($r(s,d),21)),n=d;t.Vg()}}function Ect(e,t,n){var i,s,c,d,h,b,m,v;if(t.p==0){for(t.p=1,d=n,d||(s=new Le,c=(i=u(Pf(ts),9),new ra(i,u(ef(i,i.length),9),0)),d=new Gi(s,c)),u(d.a,15).Fc(t),t.k==(nn(),Oi)&&u(d.b,21).Fc(u(A(t,(Oe(),fl)),64)),b=new N(t.j);b.a0){if(s=u(e.Ab.g,2033),t==null){for(c=0;cn.s&&hd)return ze(),fn;break;case 4:case 3:if(v<0)return ze(),en;if(v+n>c)return ze(),Pn}return b=(m+h/2)/d,i=(v+n/2)/c,b+i<=1&&b-i<=0?(ze(),rn):b+i>=1&&b-i>=0?(ze(),fn):i<.5?(ze(),en):(ze(),Pn)}function jon(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L;for(n=!1,v=le(pe(A(t,(Ue(),Fw)))),O=pg*v,s=new N(t.b);s.ab+O&&(L=k.g+T.g,T.a=(T.g*T.a+k.g*k.a)/L,T.g=L,k.f=T,n=!0)),c=h,k=T;return n}function Mct(e,t,n,i,s,c,d){var h,b,m,v,k,T;for(T=new e4,m=t.Kc();m.Ob();)for(h=u(m.Pb(),853),k=new N(h.Rf());k.a0?h.a?(m=h.b.Mf().b,s>m&&(e.v||h.c.d.c.length==1?(d=(s-m)/2,h.d.d=d,h.d.a=d):(n=u(Ye(h.c.d,0),187).Mf().b,i=(n-m)/2,h.d.d=w.Math.max(0,i),h.d.a=s-i-m))):h.d.a=e.t+s:q7(e.u)&&(c=u1e(h.b),c.d<0&&(h.d.d=-c.d),c.d+c.a>h.b.Mf().b&&(h.d.a=c.d+c.a-h.b.Mf().b))}function uf(){uf=U,n6=new go((gr(),hO),Ae(1)),JD=new go(ib,80),c0t=new go(Jke,5),Qgt=new go(G2,l8),s0t=new go(hte,Ae(1)),l0t=new go(pte,(Gt(),!0)),Eve=new Ab(50),i0t=new go(kp,Eve),Cve=fO,Tve=Mx,Zgt=new go(rte,!1),xve=dO,n0t=Dv,r0t=_g,t0t=rb,e0t=X2,o0t=Nv,Sve=(v1e(),Ggt),EQ=Xgt,YD=Ugt,xQ=Wgt,Ive=qgt,f0t=Z8,d0t=$B,a0t=pO,u0t=LB,Pve=(I4(),zv),new go(m6,Pve)}function Bon(e,t){var n;switch(AI(e)){case 6:return lo(t);case 7:return xm(t);case 8:return Sm(t);case 3:return Array.isArray(t)&&(n=AI(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===oX;case 12:return t!=null&&(typeof t===jP||typeof t==oX);case 0:return OV(t,e.__elementTypeId$);case 2:return aG(t)&&t.Tm!==xe;case 1:return aG(t)&&t.Tm!==xe||OV(t,e.__elementTypeId$);default:return!0}}function Fon(e){var t,n,i,s;i=e.o,Im(),e.A.dc()||Rr(e.A,fve)?s=i.a:(e.D?s=w.Math.max(i.a,HS(e.f)):s=HS(e.f),e.A.Hc((Iu(),yO))&&!e.B.Hc((du(),Nx))&&(s=w.Math.max(s,HS(u(gs(e.p,(ze(),en)),252))),s=w.Math.max(s,HS(u(gs(e.p,Pn),252)))),t=Uet(e),t&&(s=w.Math.max(s,t.a))),qe(Ve(e.e.Tf().of((gr(),Dv))))?i.a=w.Math.max(i.a,s):i.a=s,n=e.f.i,n.c=0,n.b=s,Dq(e.f)}function Oct(e,t){var n,i,s,c;return i=w.Math.min(w.Math.abs(e.c-(t.c+t.b)),w.Math.abs(e.c+e.b-t.c)),c=w.Math.min(w.Math.abs(e.d-(t.d+t.a)),w.Math.abs(e.d+e.a-t.d)),n=w.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(s=w.Math.abs(e.d+e.a/2-(t.d+t.a/2)),s>e.a/2+t.a/2)?1:n==0&&s==0?0:n==0?c/s+1:s==0?i/n+1:w.Math.min(i/n,c/s)+1}function zon(e,t){var n,i,s,c,d,h,b;for(c=0,h=0,b=0,s=new N(e.f.e);s.a0&&e.d!=(aS(),PQ)&&(h+=d*(i.d.a+e.a[t.a][i.a]*(t.d.a-i.d.a)/n)),n>0&&e.d!=(aS(),TQ)&&(b+=d*(i.d.b+e.a[t.a][i.a]*(t.d.b-i.d.b)/n)));switch(e.d.g){case 1:return new Me(h/c,t.d.b);case 2:return new Me(t.d.a,b/c);default:return new Me(h/c,b/c)}}function _ct(e){var t,n,i,s,c,d;for(n=(!e.a&&(e.a=new Ai(Yu,e,5)),e.a).i+2,d=new ql(n),$e(d,new Me(e.j,e.k)),Ci(new xt(null,(!e.a&&(e.a=new Ai(Yu,e,5)),new Pt(e.a,16))),new FNe(d)),$e(d,new Me(e.b,e.c)),t=1;t0&&(GI(b,!1,(ji(),Ps)),GI(b,!0,Bs)),ic(t.g,new KHe(e,n)),vr(e.g,t,n)}function Lct(){Lct=U;var e;for(Tme=H(F(Bn,1),ur,28,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]),eQ=be(Bn,ur,28,37,15,1),Cpt=H(F(Bn,1),ur,28,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]),Ime=be(Hg,RX,28,37,14,1),e=2;e<=36;e++)eQ[e]=Wi(w.Math.pow(e,Tme[e])),Ime[e]=dP(FP,eQ[e])}function Hon(e){var t;if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i!=1)throw B(new Qt(cht+(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i));return t=new _c,KI(u(re((!e.b&&(e.b=new jt(Tn,e,4,7)),e.b),0),84))&&vo(t,Cat(e,KI(u(re((!e.b&&(e.b=new jt(Tn,e,4,7)),e.b),0),84)),!1)),KI(u(re((!e.c&&(e.c=new jt(Tn,e,5,8)),e.c),0),84))&&vo(t,Cat(e,KI(u(re((!e.c&&(e.c=new jt(Tn,e,5,8)),e.c),0),84)),!0)),t}function $ct(e,t){var n,i,s,c,d;for(t.d?s=e.a.c==(Hd(),Hw)?eo(t.b):Pi(t.b):s=e.a.c==(Hd(),mp)?eo(t.b):Pi(t.b),c=!1,i=new gn(wn(s.a.Kc(),new j));$n(i);)if(n=u(xn(i),18),d=qe(e.a.f[e.a.g[t.b.p].p]),!(!d&&!Zo(n)&&n.c.i.c==n.d.i.c)&&!(qe(e.a.n[e.a.g[t.b.p].p])||qe(e.a.n[e.a.g[t.b.p].p]))&&(c=!0,Mf(e.b,e.a.g[HXt(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=c,t.a=null,t}function Hpe(e,t,n){var i,s,c,d,h,b,m;if(i=n.gc(),i==0)return!1;if(e.Pj())if(b=e.Qj(),Jde(e,t,n),d=i==1?e.Ij(3,null,n.Kc().Pb(),t,b):e.Ij(5,null,n,t,b),e.Mj()){for(h=i<100?null:new Kp(i),c=t+i,s=t;s0){for(d=0;d>16==-15&&e.Cb.Yh()&&pW(new uW(e.Cb,9,13,n,e.c,sp(uu(u(e.Cb,62)),e))):te(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,te(t,90)||(t=(Mt(),Va)),te(n,90)||(n=(Mt(),Va)),pW(new uW(e.Cb,9,10,n,t,sp(Pl(u(e.Cb,29)),e)))))),e.c}function Gon(e,t,n){var i,s,c,d,h,b,m,v,k;for(n.Ug("Hyperedge merging",1),gtn(e,t),b=new wo(t.b,0);b.b0,h=m$(t,c),tce(n?h.b:h.g,t),Gy(h).c.length==1&&gi(i,h,i.c.b,i.c),s=new Gi(c,t),eg(e.o,s),vc(e.e.a,c))}function Hct(e,t){var n,i,s,c,d,h,b;return i=w.Math.abs(WA(e.b).a-WA(t.b).a),h=w.Math.abs(WA(e.b).b-WA(t.b).b),s=0,b=0,n=1,d=1,i>e.b.b/2+t.b.b/2&&(s=w.Math.min(w.Math.abs(e.b.c-(t.b.c+t.b.b)),w.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-s/i),h>e.b.a/2+t.b.a/2&&(b=w.Math.min(w.Math.abs(e.b.d-(t.b.d+t.b.a)),w.Math.abs(e.b.d+e.b.a-t.b.d)),d=1-b/h),c=w.Math.min(n,d),(1-c)*w.Math.sqrt(i*i+h*h)}function qon(e){var t,n,i,s;for(eX(e,e.e,e.f,(Xb(),Mg),!0,e.c,e.i),eX(e,e.e,e.f,Mg,!1,e.c,e.i),eX(e,e.e,e.f,B2,!0,e.c,e.i),eX(e,e.e,e.f,B2,!1,e.c,e.i),Uon(e,e.c,e.e,e.f,e.i),i=new wo(e.i,0);i.b=65;n--)xd[n]=n-65<<24>>24;for(i=122;i>=97;i--)xd[i]=i-97+26<<24>>24;for(s=57;s>=48;s--)xd[s]=s-48+52<<24>>24;for(xd[43]=62,xd[47]=63,c=0;c<=25;c++)Pp[c]=65+c&Di;for(d=26,b=0;d<=51;++d,b++)Pp[d]=97+b&Di;for(e=52,h=0;e<=61;++e,h++)Pp[e]=48+h&Di;Pp[62]=43,Pp[63]=47}function Kct(e,t){var n,i,s,c,d,h;return s=Kfe(e),h=Kfe(t),s==h?e.e==t.e&&e.a<54&&t.a<54?e.ft.f?1:0:(i=e.e-t.e,n=(e.d>0?e.d:w.Math.floor((e.a-1)*Yat)+1)-(t.d>0?t.d:w.Math.floor((t.a-1)*Yat)+1),n>i+1?s:n0&&(d=By(d,eut(i))),Znt(c,d))):sm&&(T=0,P+=b+t,b=0),U5(d,T,P),n=w.Math.max(n,T+v.a),b=w.Math.max(b,v.b),T+=v.a+t;return new Me(n+t,P+b+t)}function Wpe(e,t){var n,i,s,c,d,h,b;if(!Qf(e))throw B(new ks(lht));if(i=Qf(e),c=i.g,s=i.f,c<=0&&s<=0)return ze(),nl;switch(h=e.i,b=e.j,t.g){case 2:case 1:if(h<0)return ze(),rn;if(h+e.g>c)return ze(),fn;break;case 4:case 3:if(b<0)return ze(),en;if(b+e.f>s)return ze(),Pn}return d=(h+e.g/2)/c,n=(b+e.f/2)/s,d+n<=1&&d-n<=0?(ze(),rn):d+n>=1&&d-n>=0?(ze(),fn):n<.5?(ze(),en):(ze(),Pn)}function Jon(e,t,n,i,s){var c,d;if(c=Ho(Yi(t[0],us),Yi(i[0],us)),e[0]=Vn(c),c=Bb(c,32),n>=s){for(d=1;d0&&(s.b[d++]=0,s.b[d++]=c.b[0]-1),t=1;t0&&(eK(b,b.d-s.d),s.c==(Af(),Pg)&&$Mt(b,b.a-s.d),b.d<=0&&b.i>0&&gi(t,b,t.c.b,t.c)));for(c=new N(e.f);c.a0&&(iR(h,h.i-s.d),s.c==(Af(),Pg)&&jMt(h,h.b-s.d),h.i<=0&&h.d>0&&gi(n,h,n.c.b,n.c)))}function esn(e,t,n,i,s){var c,d,h,b,m,v,k,T,P;for(Ot(),Mi(e,new eRe),d=eI(e),P=new Le,T=new Le,h=null,b=0;d.b!=0;)c=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),163),!h||Lc(h)*xu(h)/21&&(b>Lc(h)*xu(h)/2||d.b==0)&&(k=new FL(T),v=Lc(h)/xu(h),m=tX(k,t,new z3,n,i,s,v),Or(Of(k.e),m),h=k,Ft(P.c,k),b=0,T.c.length=0));return zi(P,T),P}function Ol(e,t,n,i,s){Qh();var c,d,h,b,m,v,k;if(jue(e,"src"),jue(n,"dest"),k=Tu(e),b=Tu(n),tue((k.i&4)!=0,"srcType is not an array"),tue((b.i&4)!=0,"destType is not an array"),v=k.c,d=b.c,tue(v.i&1?v==d:(d.i&1)==0,"Array types don't match"),FGt(e,t,n,i,s),!(v.i&1)&&k!=b)if(m=y0(e),c=y0(n),fe(e)===fe(n)&&ti;)pi(c,h,m[--t]);else for(h=i+s;i0),i.a.Xb(i.c=--i.b),k>T+b&&Eu(i);for(d=new N(P);d.a0),i.a.Xb(i.c=--i.b)}}function nsn(){Ir();var e,t,n,i,s,c;if($te)return $te;for(e=new $u(4),ov(e,hg(zJ,!0)),i9(e,hg("M",!0)),i9(e,hg("C",!0)),c=new $u(4),i=0;i<11;i++)Dl(c,i,i);return t=new $u(4),ov(t,hg("M",!0)),Dl(t,4448,4607),Dl(t,65438,65439),s=new j7(2),R0(s,e),R0(s,Xx),n=new j7(2),n.Jm(jA(c,hg("L",!0))),n.Jm(t),n=new jm(3,n),n=new $ue(s,n),$te=n,$te}function iv(e,t){var n,i,s,c,d,h,b,m;for(n=new RegExp(t,"g"),b=be(Je,_e,2,0,6,1),i=0,m=e,c=null;;)if(h=n.exec(m),h==null||m==""){b[i]=m;break}else d=h.index,b[i]=(mo(0,d,m.length),m.substr(0,d)),m=oa(m,d+h[0].length,m.length),n.lastIndex=0,c==m&&(b[i]=(mo(0,1,m.length),m.substr(0,1)),m=(Zt(1,m.length+1),m.substr(1))),c=m,++i;if(e.length>0){for(s=b.length;s>0&&b[s-1]=="";)--s;s0&&(k-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(k-=i[2]+e.c),i[1]=w.Math.max(i[1],k),FA(e.a[1],n.c+t.b+i[0]-(i[1]-k)/2,i[1]);for(c=e.a,h=0,m=c.length;h0?(e.n.c.length-1)*e.i:0,i=new N(e.n);i.a1)for(i=Ln(s,0);i.b!=i.d.c;)for(n=u(_n(i),235),c=0,b=new N(n.e);b.a0&&(t[0]+=e.c,k-=t[0]),t[2]>0&&(k-=t[2]+e.c),t[1]=w.Math.max(t[1],k),zA(e.a[1],i.d+n.d+t[0]-(t[1]-k)/2,t[1]);else for(O=i.d+n.d,P=i.a-n.d-n.a,d=e.a,b=0,v=d.length;b0||sw(s.b.d,e.b.d+e.b.a)==0&&i.b<0||sw(s.b.d+s.b.a,e.b.d)==0&&i.b>0){h=0;break}}else h=w.Math.min(h,Hot(e,s,i));h=w.Math.min(h,Vct(e,c,h,i))}return h}function OP(e,t){var n,i,s,c,d,h,b;if(e.b<2)throw B(new Qt("The vector chain must contain at least a source and a target point."));for(s=(yn(e.b!=0),u(e.a.a.c,8)),zT(t,s.a,s.b),b=new n4((!t.a&&(t.a=new Ai(Yu,t,5)),t.a)),d=Ln(e,1);d.a=0&&c!=n))throw B(new Qt(fM));for(s=0,b=0;ble(Jf(d.g,d.d[0]).a)?(yn(b.b>0),b.a.Xb(b.c=--b.b),Pm(b,d),s=!0):h.e&&h.e.gc()>0&&(c=(!h.e&&(h.e=new Le),h.e).Mc(t),m=(!h.e&&(h.e=new Le),h.e).Mc(n),(c||m)&&((!h.e&&(h.e=new Le),h.e).Fc(d),++d.c));s||Ft(i.c,d)}function usn(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z;return k=e.a.i+e.a.g/2,T=e.a.i+e.a.g/2,O=t.i+t.g/2,$=t.j+t.f/2,h=new Me(O,$),m=u(Ie(t,(gr(),b6)),8),m.a=m.a+k,m.b=m.b+T,c=(h.b-m.b)/(h.a-m.a),i=h.b-c*h.a,L=n.i+n.g/2,z=n.j+n.f/2,b=new Me(L,z),v=u(Ie(n,b6),8),v.a=v.a+k,v.b=v.b+T,d=(b.b-v.b)/(b.a-v.a),s=b.b-d*b.a,P=(i-s)/(d-c),m.a>>0,"0"+t.toString(16)),i="\\x"+oa(n,n.length-2,n.length)):e>=es?(n=(t=e>>>0,"0"+t.toString(16)),i="\\v"+oa(n,n.length-6,n.length)):i=""+String.fromCharCode(e&Di)}return i}function Jct(e){var t,n,i;if(Iy(u(A(e,(Ue(),yi)),101)))for(n=new N(e.j);n.a=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(d=u(Ye(t.n,t.n.c.length-1),209),d.e+d.d+n.g+s<=i&&(c=u(Ye(t.n,t.n.c.length-1),209),c.f-e.f+n.f<=e.b||e.a.c.length==1))return Kde(t,n),!0;if(t.s+n.g<=i&&(t.t+t.d+n.f+s<=e.b||e.a.c.length==1))return $e(t.b,n),h=u(Ye(t.n,t.n.c.length-1),209),$e(t.n,new aL(t.s,h.f+h.a+t.i,t.i)),She(u(Ye(t.n,t.n.c.length-1),209),n),Gct(t,n),!0}return!1}function Zct(e,t,n){var i,s,c,d;return e.Pj()?(s=null,c=e.Qj(),i=e.Ij(1,d=wW(e,t,n),n,t,c),e.Mj()&&!(e.Yi()&&d!=null?Rr(d,n):fe(d)===fe(n))?(d!=null&&(s=e.Oj(d,s)),s=e.Nj(n,s),e.Tj()&&(s=e.Wj(d,n,s)),s?(s.nj(i),s.oj()):e.Jj(i)):(e.Tj()&&(s=e.Wj(d,n,s)),s?(s.nj(i),s.oj()):e.Jj(i)),d):(d=wW(e,t,n),e.Mj()&&!(e.Yi()&&d!=null?Rr(d,n):fe(d)===fe(n))&&(s=null,d!=null&&(s=e.Oj(d,null)),s=e.Nj(n,s),s&&s.oj()),d)}function bsn(e,t){var n,i,s,c,d;if(t.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Vg();return}if(s=new Z1e(e),d=(s.i==null&&(s.i=Ufe(s,new toe)),le(s.i)*s.f),n=d/(s.i==null&&(s.i=Ufe(s,new toe)),le(s.i)),s.b>n){t.Vg();return}switch(u(A(e,(Ue(),DZ)),351).g){case 2:c=new roe;break;case 0:c=new eoe;break;default:c=new ioe}if(i=c.og(e,s),!c.pg())switch(u(A(e,QN),352).g){case 2:i=Kot(s,i);break;case 1:i=Lit(s,i)}fln(e,s,i),t.Vg()}function QS(e,t){var n,i,s,c,d,h,b,m;t%=24,e.q.getHours()!=t&&(i=new w.Date(e.q.getTime()),i.setDate(i.getDate()+1),h=e.q.getTimezoneOffset()-i.getTimezoneOffset(),h>0&&(b=h/60|0,m=h%60,s=e.q.getDate(),n=e.q.getHours(),n+b>=24&&++s,c=new w.Date(e.q.getFullYear(),e.q.getMonth(),s,t+b,e.q.getMinutes()+m,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),d=e.q.getTime(),e.q.setTime(d+36e5),e.q.getHours()!=t&&e.q.setTime(d)}function wsn(e,t){var n,i,s,c;if(OFt(e.d,e.e),e.c.a.$b(),le(pe(A(t.j,(Ue(),FN))))!=0||le(pe(A(t.j,FN)))!=0)for(n=d2,fe(A(t.j,$h))!==fe((Gd(),wp))&&Ee(t.j,(Oe(),Eg),(Gt(),!0)),c=u(A(t.j,ix),17).a,s=0;ss&&++m,$e(d,(_t(h+m,t.c.length),u(t.c[h+m],17))),b+=(_t(h+m,t.c.length),u(t.c[h+m],17)).a-i,++n;n=$&&e.e[b.p]>O*e.b||ne>=n*$)&&(Ft(T.c,h),h=new Le,vo(d,c),c.a.$b(),m-=v,P=w.Math.max(P,m*e.b+L),m+=ne,J=ne,ne=0,v=0,L=0);return new Gi(P,T)}function Bq(e){var t,n,i,s,c,d,h;if(!e.d){if(h=new TRe,t=Kx,c=t.a.zc(e,t),c==null){for(i=new hn(Ls(e));i.e!=i.i.gc();)n=u(mn(i),29),mi(h,Bq(n));t.a.Bc(e)!=null,t.a.gc()==0}for(d=h.i,s=(!e.q&&(e.q=new Se(Ga,e,11,10)),new hn(e.q));s.e!=s.i.gc();++d)u(mn(s),411);mi(h,(!e.q&&(e.q=new Se(Ga,e,11,10)),e.q)),Um(h),e.d=new Ty((u(re(me((Jp(),Wt).o),9),19),h.i),h.g),e.e=u(h.g,688),e.e==null&&(e.e=n6t),cu(e).b&=-17}return e.d}function V5(e,t,n,i){var s,c,d,h,b,m;if(m=cc(e.e.Dh(),t),b=0,s=u(e.g,124),rs(),u(t,69).xk()){for(d=0;d1||O==-1)if(k=u(L,71),T=u(v,71),k.dc())T.$b();else for(d=!!is(t),c=0,h=e.a?k.Kc():k.Ii();h.Ob();)m=u(h.Pb(),58),s=u(id(e,m),58),s?(d?(b=T.dd(s),b==-1?T.Gi(c,s):c!=b&&T.Ui(c,s)):T.Gi(c,s),++c):e.b&&!d&&(T.Gi(c,m),++c);else L==null?v.Wb(null):(s=id(e,L),s==null?e.b&&!is(t)&&v.Wb(L):v.Wb(s))}function Csn(e,t){var n,i,s,c,d,h,b,m;for(n=new fTe,s=new gn(wn(eo(t).a.Kc(),new j));$n(s);)if(i=u(xn(s),18),!Zo(i)&&(h=i.c.i,o1e(h,tN))){if(m=xpe(e,h,tN,eN),m==-1)continue;n.b=w.Math.max(n.b,m),!n.a&&(n.a=new Le),$e(n.a,h)}for(d=new gn(wn(Pi(t).a.Kc(),new j));$n(d);)if(c=u(xn(d),18),!Zo(c)&&(b=c.d.i,o1e(b,eN))){if(m=xpe(e,b,eN,tN),m==-1)continue;n.d=w.Math.max(n.d,m),!n.c&&(n.c=new Le),$e(n.c,b)}return n}function Ssn(e,t,n,i){var s,c,d,h,b,m,v;if(n.d.i!=t.i){for(s=new g1(e),n0(s,(nn(),io)),Ee(s,(Oe(),jr),n),Ee(s,(Ue(),yi),(fo(),Ul)),Ft(i.c,s),d=new Ml,Js(d,s),Vi(d,(ze(),rn)),h=new Ml,Js(h,s),Vi(h,fn),v=n.d,ao(n,d),c=new Vb,js(c,n),Ee(c,Is,null),zo(c,h),ao(c,v),m=new wo(n.b,0);m.b1e6)throw B(new wR("power of ten too big"));if(e<=Mr)return v4(kP(e6[1],t),t);for(i=kP(e6[1],Mr),s=i,n=bl(e-Mr),t=Wi(e%Mr);kl(n,Mr)>0;)s=By(s,i),n=Ra(n,Mr);for(s=By(s,kP(e6[1],t)),s=v4(s,Mr),n=bl(e-Mr);kl(n,Mr)>0;)s=v4(s,Mr),n=Ra(n,Mr);return s=v4(s,t),s}function tut(e){var t,n,i,s,c,d,h,b,m,v;for(b=new N(e.a);b.am&&i>m)v=h,m=le(t.p[h.p])+le(t.d[h.p])+h.o.b+h.d.a;else{s=!1,n._g()&&n.bh("bk node placement breaks on "+h+" which should have been after "+v);break}if(!s)break}return n._g()&&n.bh(t+" is feasible: "+s),s}function Ype(e,t,n,i){var s,c,d,h,b,m,v,k,T;if(c=new g1(e),n0(c,(nn(),Hl)),Ee(c,(Ue(),yi),(fo(),Ul)),s=0,t){for(d=new Ml,Ee(d,(Oe(),jr),t),Ee(c,jr,t.i),Vi(d,(ze(),rn)),Js(d,c),T=Kd(t.e),m=T,v=0,k=m.length;v0){if(s<0&&v.a&&(s=b,c=m[0],i=0),s>=0){if(h=v.b,b==s&&(h-=i++,h==0))return 0;if(!oat(t,m,v,h,d)){b=s-1,m[0]=c;continue}}else if(s=-1,!oat(t,m,v,0,d))return 0}else{if(s=-1,Lo(v.c,0)==32){if(k=m[0],iZe(t,m),m[0]>k)continue}else if(fBt(t,v.c,m[0])){m[0]+=v.c.length;continue}return 0}return hun(d,n)?m[0]:0}function Msn(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=new KA(new Hje(n)),h=be(wu,Oh,28,e.f.e.c.length,16,1),Aue(h,h.length),n[t.a]=0,m=new N(e.f.e);m.a=0&&!Xy(e,v,k);)--k;s[v]=k}for(P=0;P=0&&!Xy(e,h,O);)--h;c[O]=h}for(b=0;bt[T]&&Ti[b]&&dj(e,b,T,!1,!0)}function Jpe(e){var t,n,i,s,c,d,h,b;n=qe(Ve(A(e,(uf(),Zgt)))),c=e.a.c.d,h=e.a.d.d,n?(d=Nd(Xi(new Me(h.a,h.b),c),.5),b=Nd(Eo(e.e),.5),t=Xi(Or(new Me(c.a,c.b),d),b),sce(e.d,t)):(s=le(pe(A(e.a,c0t))),i=e.d,c.a>=h.a?c.b>=h.b?(i.a=h.a+(c.a-h.a)/2+s,i.b=h.b+(c.b-h.b)/2-s-e.e.b):(i.a=h.a+(c.a-h.a)/2+s,i.b=c.b+(h.b-c.b)/2+s):c.b>=h.b?(i.a=c.a+(h.a-c.a)/2+s,i.b=h.b+(c.b-h.b)/2+s):(i.a=c.a+(h.a-c.a)/2+s,i.b=c.b+(h.b-c.b)/2-s-e.e.b))}function e9(e){var t,n,i,s,c,d,h,b;if(!e.f){if(b=new aoe,h=new aoe,t=Kx,d=t.a.zc(e,t),d==null){for(c=new hn(Ls(e));c.e!=c.i.gc();)s=u(mn(c),29),mi(b,e9(s));t.a.Bc(e)!=null,t.a.gc()==0}for(i=(!e.s&&(e.s=new Se(Tc,e,21,17)),new hn(e.s));i.e!=i.i.gc();)n=u(mn(i),179),te(n,102)&&Dn(h,u(n,19));Um(h),e.r=new GWe(e,(u(re(me((Jp(),Wt).o),6),19),h.i),h.g),mi(b,e.r),Um(b),e.f=new Ty((u(re(me(Wt.o),5),19),b.i),b.g),cu(e).b&=-3}return e.f}function rut(e){Pb(e,new _0(Eb(Cb(xb(Sb(new e0,D0),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Zg))),Re(e,D0,ZX,Ke(vve)),Re(e,D0,eY,Ke(yQ)),Re(e,D0,V4,Ke(Ngt)),Re(e,D0,vw,Ke(mve)),Re(e,D0,Bge,Ke(Hgt)),Re(e,D0,Fge,Ke(zgt)),Re(e,D0,Nge,Ke(Kgt)),Re(e,D0,zge,Ke(Fgt)),Re(e,D0,qge,Ke(Bgt)),Re(e,D0,Xge,Ke(vQ)),Re(e,D0,Yge,Ke(wve)),Re(e,D0,Jge,Ke(VD))}function bj(){bj=U,B5e=H(F(Ea,1),Yd,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),R4t=new RegExp(`[ +\r\f]+`);try{Fx=H(F(ffn,1),Bt,2114,0,[new dT((Ile(),C$("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",XT((bR(),bR(),j9))))),new dT(C$("yyyy-MM-dd'T'HH:mm:ss'.'SSS",XT(j9))),new dT(C$("yyyy-MM-dd'T'HH:mm:ss",XT(j9))),new dT(C$("yyyy-MM-dd'T'HH:mm",XT(j9))),new dT(C$("yyyy-MM-dd",XT(j9)))])}catch(e){if(e=li(e),!te(e,82))throw B(e)}}function _sn(e,t){var n,i,s,c;if(s=fu(e.d,1)!=0,i=_pe(e,t),i==0&&qe(Ve(A(t.j,(Oe(),Eg)))))return 0;!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,_2)))||fe(A(t.j,(Ue(),$h)))===fe((Gd(),wp))?t.c.mg(t.e,s):s=qe(Ve(A(t.j,Eg))),EP(e,t,s,!0),qe(Ve(A(t.j,_2)))&&Ee(t.j,_2,(Gt(),!1)),qe(Ve(A(t.j,Eg)))&&(Ee(t.j,Eg,(Gt(),!1)),Ee(t.j,_2,!0)),n=_pe(e,t);do{if(Hfe(e),n==0)return 0;s=!s,c=n,EP(e,t,s,!1),n=_pe(e,t)}while(c>n);return c}function iut(e,t){var n,i,s,c;if(s=fu(e.d,1)!=0,i=Y$(e,t),i==0&&qe(Ve(A(t.j,(Oe(),Eg)))))return 0;!qe(Ve(A(t.j,(Oe(),Eg))))&&!qe(Ve(A(t.j,_2)))||fe(A(t.j,(Ue(),$h)))===fe((Gd(),wp))?t.c.mg(t.e,s):s=qe(Ve(A(t.j,Eg))),EP(e,t,s,!0),qe(Ve(A(t.j,_2)))&&Ee(t.j,_2,(Gt(),!1)),qe(Ve(A(t.j,Eg)))&&(Ee(t.j,Eg,(Gt(),!1)),Ee(t.j,_2,!0)),n=Y$(e,t);do{if(Hfe(e),n==0)return 0;s=!s,c=n,EP(e,t,s,!1),n=Y$(e,t)}while(c>n);return c}function Qpe(e,t,n,i){var s,c,d,h,b,m,v,k,T;return b=Xi(new Me(n.a,n.b),e),m=b.a*t.b-b.b*t.a,v=t.a*i.b-t.b*i.a,k=(b.a*i.b-b.b*i.a)/v,T=m/v,v==0?m==0?(s=Or(new Me(n.a,n.b),Nd(new Me(i.a,i.b),.5)),c=tg(e,s),d=tg(Or(new Me(e.a,e.b),t),s),h=w.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&k<=1&&T>=0&&T<=1?Or(new Me(e.a,e.b),Nd(new Me(t.a,t.b),k)):null}function Rsn(e,t,n){var i,s,c,d,h;if(i=u(A(e,(Ue(),xZ)),21),n.a>t.a&&(i.Hc((O0(),Ex))?e.c.a+=(n.a-t.a)/2:i.Hc(Tx)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(i.Hc((O0(),Px))?e.c.b+=(n.b-t.b)/2:i.Hc(Ix)&&(e.c.b+=n.b-t.b)),u(A(e,(Oe(),Kl)),21).Hc((cs(),ka))&&(n.a>t.a||n.b>t.b))for(h=new N(e.a);h.at.a&&(i.Hc((O0(),Ex))?e.c.a+=(n.a-t.a)/2:i.Hc(Tx)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(i.Hc((O0(),Px))?e.c.b+=(n.b-t.b)/2:i.Hc(Ix)&&(e.c.b+=n.b-t.b)),u(A(e,(Oe(),Kl)),21).Hc((cs(),ka))&&(n.a>t.a||n.b>t.b))for(d=new N(e.a);d.a0?e.i:0)>t&&b>0&&(c=0,d+=b+e.i,s=w.Math.max(s,T),i+=b+e.i,b=0,T=0,n&&(++k,$e(e.n,new aL(e.s,d,e.i))),h=0),T+=m.g+(h>0?e.i:0),b=w.Math.max(b,m.f),n&&She(u(Ye(e.n,k),209),m),c+=m.g+(h>0?e.i:0),++h;return s=w.Math.max(s,T),i+=b,n&&(e.r=s,e.d=i,Ihe(e.j)),new ia(e.s,e.t,s,i)}function Fq(e){var t,n,i,s,c,d,h,b,m,v,k,T;for(e.b=!1,k=ii,b=Hi,T=ii,m=Hi,i=e.e.a.ec().Kc();i.Ob();)for(n=u(i.Pb(),272),s=n.a,k=w.Math.min(k,s.c),b=w.Math.max(b,s.c+s.b),T=w.Math.min(T,s.d),m=w.Math.max(m,s.d+s.a),d=new N(n.c);d.ae.o.a&&(v=(b-e.o.a)/2,h.b=w.Math.max(h.b,v),h.c=w.Math.max(h.c,v))}}function jsn(e){var t,n,i,s,c,d,h,b;for(c=new JXe,hRt(c,(E4(),v3t)),i=(s=RW(e,be(Je,_e,2,0,6,1)),new e7(new Wc(new RK(e,s).b)));i.bh?1:-1:wde(e.a,t.a,c),s==-1)k=-b,v=d==b?rW(t.a,h,e.a,c):oW(t.a,h,e.a,c);else if(k=d,d==b){if(s==0)return Vd(),N9;v=rW(e.a,c,t.a,h)}else v=oW(e.a,c,t.a,h);return m=new d0(k,v.length,v),iS(m),m}function Dsn(e,t){var n,i,s,c;if(c=zct(t),!t.c&&(t.c=new Se(ru,t,9,9)),Ci(new xt(null,(!t.c&&(t.c=new Se(ru,t,9,9)),new Pt(t.c,16))),new Wje(c)),s=u(A(c,(Oe(),Kl)),21),Mcn(t,s),s.Hc((cs(),ka)))for(i=new hn((!t.c&&(t.c=new Se(ru,t,9,9)),t.c));i.e!=i.i.gc();)n=u(mn(i),123),iun(e,t,c,n);return u(Ie(t,(Ue(),J0)),181).gc()!=0&&Alt(t,c),qe(Ve(A(c,v3e)))&&s.Fc(_N),Xr(c,HM)&&FFe(new ehe(le(pe(A(c,HM)))),c),fe(Ie(t,Iv))===fe((f1(),Cp))?Pan(e,t,c):dan(e,t,c),c}function Nsn(e){var t,n,i,s,c,d,h,b;for(s=new N(e.b);s.a0?oa(n.a,0,c-1):""):(mo(0,c-1,e.length),e.substr(0,c-1)):n?n.a:e}function Bsn(e,t){var n,i,s,c,d,h,b;for(t.Ug("Sort By Input Model "+A(e,(Ue(),$h)),1),s=0,i=new N(e.b);i.a=e.b.length?(c[s++]=d.b[i++],c[s++]=d.b[i++]):i>=d.b.length?(c[s++]=e.b[n++],c[s++]=e.b[n++]):d.b[i]0?e.i:0)),++t;for(Dde(e.n,b),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=ii,e.p=ii,c=new N(e.b);c.a0&&(s=(!e.n&&(e.n=new Se(ms,e,1,7)),u(re(e.n,0),135)).a,!s||lr(lr((t.a+=' "',t),s),'"'))),n=(!e.b&&(e.b=new jt(Tn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new jt(Tn,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",lr(t,Wle(new EK,new hn(e.b))),n&&(t.a+="]"),t.a+=lY,n&&(t.a+="["),lr(t,Wle(new EK,new hn(e.c))),n&&(t.a+="]"),t.a)}function zsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt;for(ke=e.c,Pe=t.c,n=$s(ke.a,e,0),i=$s(Pe.a,t,0),ne=u(lw(e,(ls(),eu)).Kc().Pb(),12),dt=u(lw(e,Zl).Kc().Pb(),12),se=u(lw(t,eu).Kc().Pb(),12),zt=u(lw(t,Zl).Kc().Pb(),12),z=Kd(ne.e),Fe=Kd(dt.g),J=Kd(se.e),pt=Kd(zt.g),Xm(e,i,Pe),d=J,v=0,O=d.length;vv?new b0((Af(),$v),n,t,m-v):m>0&&v>0&&(new b0((Af(),$v),t,n,0),new b0($v,n,t,0))),d)}function Usn(e,t,n){var i,s,c;for(e.a=new Le,c=Ln(t.b,0);c.b!=c.d.c;){for(s=u(_n(c),40);u(A(s,(sl(),ch)),17).a>e.a.c.length-1;)$e(e.a,new Gi(d2,Lbe));i=u(A(s,ch),17).a,n==(ji(),Ps)||n==Bs?(s.e.ale(pe(u(Ye(e.a,i),42).b))&&nK(u(Ye(e.a,i),42),s.e.a+s.f.a)):(s.e.ble(pe(u(Ye(e.a,i),42).b))&&nK(u(Ye(e.a,i),42),s.e.b+s.f.b))}}function lut(e,t,n,i){var s,c,d,h,b,m,v;if(c=b$(i),h=qe(Ve(A(i,(Ue(),h3e)))),(h||qe(Ve(A(e,GN))))&&!Iy(u(A(e,yi),101)))s=P4(c),b=zpe(e,n,n==(ls(),Zl)?s:tP(s));else switch(b=new Ml,Js(b,e),t?(v=b.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,hot(v,0,0,e.o.a,e.o.b),Vi(b,Pct(b,c))):(s=P4(c),Vi(b,n==(ls(),Zl)?s:tP(s))),d=u(A(i,(Oe(),Kl)),21),m=b.j,c.g){case 2:case 1:(m==(ze(),en)||m==Pn)&&d.Fc((cs(),P2));break;case 4:case 3:(m==(ze(),fn)||m==rn)&&d.Fc((cs(),P2))}return b}function cut(e,t){var n,i,s,c,d,h;for(d=new S0(new i0(e.f.b).a);d.b;){if(c=rw(d),s=u(c.ld(),602),t==1){if(s.Af()!=(ji(),Ca)&&s.Af()!=vd)continue}else if(s.Af()!=(ji(),Ps)&&s.Af()!=Bs)continue;switch(i=u(u(c.md(),42).b,86),h=u(u(c.md(),42).a,194),n=h.c,s.Af().g){case 2:i.g.c=e.e.a,i.g.b=w.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=w.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=w.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=w.Math.max(1,i.g.a-n)}}}function Gsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L;for(h=be(Bn,ur,28,t.b.c.length,15,1),m=be(jQ,Te,273,t.b.c.length,0,1),b=be(Lh,fp,10,t.b.c.length,0,1),k=e.a,T=0,P=k.length;T0&&b[i]&&(O=_y(e.b,b[i],s)),L=w.Math.max(L,s.c.c.b+O);for(c=new N(v.e);c.a1)throw B(new Qt(bM));b||(c=yh(t,i.Kc().Pb()),d.Fc(c))}return rde(e,x1e(e,t,n),d)}function mj(e,t,n){var i,s,c,d,h,b,m,v;if(w1(e.e,t))b=(rs(),u(t,69).xk()?new _A(t,e):new BT(t,e)),Q$(b.c,b.b),D7(b,u(n,16));else{for(v=cc(e.e.Dh(),t),i=u(e.g,124),d=0;d"}b!=null&&(t.a+=""+b)}else e.e?(h=e.e.zb,h!=null&&(t.a+=""+h)):(t.a+="?",e.b?(t.a+=" super ",Gq(e.b,t)):e.f&&(t.a+=" extends ",Gq(e.f,t)))}function Ysn(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 Jsn(e){var t,n,i,s;if(i=rX((!e.c&&(e.c=gI(bl(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=Kfe(e)<0?1:0,n=e.e,s=(i.length+1+w.Math.abs(Wi(e.e)),new V3),t==1&&(s.a+="-"),e.e>0)if(n-=i.length-t,n>=0){for(s.a+="0.";n>G0.length;n-=G0.length)tVe(s,G0);BGe(s,G0,Wi(n)),lr(s,(Zt(t,i.length+1),i.substr(t)))}else n=t-n,lr(s,oa(i,t,Wi(n))),s.a+=".",lr(s,Hue(i,Wi(n)));else{for(lr(s,(Zt(t,i.length+1),i.substr(t)));n<-G0.length;n+=G0.length)tVe(s,G0);BGe(s,G0,Wi(-n))}return s.a}function Wq(e){var t,n,i,s,c,d,h,b,m;return!(e.k!=(nn(),Ei)||e.j.c.length<=1||(c=u(A(e,(Ue(),yi)),101),c==(fo(),Ul))||(s=(qm(),(e.q?e.q:(Ot(),Ot(),Rh))._b(Dw)?i=u(A(e,Dw),203):i=u(A(Io(e),nx),203),i),s==nB)||!(s==N2||s==D2)&&(d=le(pe(Vm(e,rx))),t=u(A(e,UM),140),!t&&(t=new Ece(d,d,d,d)),m=el(e,(ze(),rn)),b=t.d+t.a+(m.gc()-1)*d,b>e.o.b||(n=el(e,fn),h=t.d+t.a+(n.gc()-1)*d,h>e.o.b)))}function Qsn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$;t.Ug("Orthogonal edge routing",1),m=le(pe(A(e,(Ue(),j2)))),n=le(pe(A(e,L2))),i=le(pe(A(e,Z0))),T=new gG(0,n),$=0,d=new wo(e.b,0),h=null,v=null,b=null,k=null;do v=d.b0?(P=(O-1)*n,h&&(P+=i),v&&(P+=i),Pt||qe(Ve(Ie(b,(ud(),rO)))))&&(s=0,c+=v.b+n,Ft(k.c,v),v=new yae(c,n),i=new qW(0,v.f,v,n),GL(v,i),s=0),i.b.c.length==0||!qe(Ve(Ie(ri(b),(ud(),Dee))))&&(b.f>=i.o&&b.f<=i.f||i.a*.5<=b.f&&i.a*1.5>=b.f)?Kde(i,b):(d=new qW(i.s+i.r+n,v.f,v,n),GL(v,d),Kde(d,b)),s=b.i+b.g;return Ft(k.c,v),k}function n9(e){var t,n,i,s;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,s=0;s=e.b[s+1])s+=2;else if(n0)for(i=new Vc(u($r(e.a,c),21)),Ot(),Mi(i,new Foe(t)),s=new wo(c.b,0);s.b0&&i>=-6?i>=0?HT(c,n-Wi(e.e),"."):(DW(c,t-1,t-1,"0."),HT(c,t+1,Ud(G0,0,-Wi(i)-1))):(n-t>=1&&(HT(c,t,"."),++n),HT(c,n,"E"),i>0&&HT(c,++n,"+"),HT(c,++n,""+X7(bl(i)))),e.g=c.a,e.g))}function cln(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe;i=le(pe(A(t,(Ue(),b3e)))),ke=u(A(t,ix),17).a,T=4,s=3,Pe=20/ke,P=!1,b=0,d=Mr;do{for(c=b!=1,k=b!=0,Fe=0,$=e.a,J=0,se=$.length;Jke)?(b=2,d=Mr):b==0?(b=1,d=Fe):(b=0,d=Fe)):(P=Fe>=d||d-Fe0?1:Rb(isNaN(i),isNaN(0)))>=0^(of(nh),(w.Math.abs(h)<=nh||h==0||isNaN(h)&&isNaN(0)?0:h<0?-1:h>0?1:Rb(isNaN(h),isNaN(0)))>=0)?w.Math.max(h,i):(of(nh),(w.Math.abs(i)<=nh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Rb(isNaN(i),isNaN(0)))>0?w.Math.sqrt(h*h+i*i):-w.Math.sqrt(h*h+i*i))}function R0(e,t){var n,i,s,c,d,h;if(t){if(!e.a&&(e.a=new pR),e.e==2){hR(e.a,t);return}if(t.e==1){for(s=0;s=es?ps(n,Hde(i)):Hk(n,i&Di),d=new LG(10,null,0),VDt(e.a,d,h-1)):(n=(d.Mm().length+c,new f7),ps(n,d.Mm())),t.e==0?(i=t.Km(),i>=es?ps(n,Hde(i)):Hk(n,i&Di)):ps(n,t.Mm()),u(d,530).b=n.a}}function fln(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$;if(!n.dc()){for(h=0,T=0,i=n.Kc(),O=u(i.Pb(),17).a;h1&&(b=m.Hg(b,e.a,h));return b.c.length==1?u(Ye(b,b.c.length-1),238):b.c.length==2?eln((_t(0,b.c.length),u(b.c[0],238)),(_t(1,b.c.length),u(b.c[1],238)),d,c):null}function bln(e,t,n){var i,s,c,d,h,b,m;for(n.Ug("Find roots",1),e.a.c.length=0,s=Ln(t.b,0);s.b!=s.d.c;)i=u(_n(s),40),i.b.b==0&&(Ee(i,(Wr(),Og),(Gt(),!0)),$e(e.a,i));switch(e.a.c.length){case 0:c=new VW(0,t,"DUMMY_ROOT"),Ee(c,(Wr(),Og),(Gt(),!0)),Ee(c,see,!0),or(t.b,c);break;case 1:break;default:for(d=new VW(0,t,sD),b=new N(e.a);b.a=w.Math.abs(i.b)?(i.b=0,c.d+c.a>d.d&&c.dd.c&&c.c0){if(t=new Sle(e.i,e.g),n=e.i,c=n<100?null:new Kp(n),e.Tj())for(i=0;i0){for(h=e.g,m=e.i,uS(e),c=m<100?null:new Kp(m),i=0;i>13|(e.m&15)<<9,s=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,d=(e.h&1048320)>>8,h=t.l&8191,b=t.l>>13|(t.m&15)<<9,m=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,k=(t.h&1048320)>>8,pt=n*h,dt=i*h,zt=s*h,Ht=c*h,vn=d*h,b!=0&&(dt+=n*b,zt+=i*b,Ht+=s*b,vn+=c*b),m!=0&&(zt+=n*m,Ht+=i*m,vn+=s*m),v!=0&&(Ht+=n*v,vn+=i*v),k!=0&&(vn+=n*k),P=pt&hu,O=(dt&511)<<13,T=P+O,$=pt>>22,z=dt>>9,J=(zt&262143)<<4,ne=(Ht&31)<<17,L=$+z+J+ne,ke=zt>>18,Pe=Ht>>5,Fe=(vn&4095)<<8,se=ke+Pe+Fe,L+=T>>22,T&=hu,se+=L>>22,L&=hu,se&=v1,nc(T,L,se)}function vut(e){var t,n,i,s,c,d,h;if(h=u(Ye(e.j,0),12),h.g.c.length!=0&&h.e.c.length!=0)throw B(new ks("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(h.g.c.length!=0){for(c=ii,n=new N(h.g);n.a4)if(e.fk(t)){if(e.al()){if(s=u(t,54),i=s.Eh(),b=i==e.e&&(e.ml()?s.yh(s.Fh(),e.il())==e.jl():-1-s.Fh()==e.Lj()),e.nl()&&!b&&!i&&s.Jh()){for(c=0;c0&&yot(e,h,k);for(s=new N(k);s.ae.d[d.p]&&(n+=$ae(e.b,c)*u(b.b,17).a,eg(e.a,Ae(c)));for(;!a7(e.a);)pfe(e.b,u(a4(e.a),17).a)}return n}function kln(e,t){var n,i,s,c,d,h,b,m,v,k;if(v=u(A(e,(Oe(),fl)),64),i=u(Ye(e.j,0),12),v==(ze(),en)?Vi(i,Pn):v==Pn&&Vi(i,en),u(A(t,(Ue(),J0)),181).Hc((Iu(),sb))){if(b=le(pe(A(e,K8))),m=le(pe(A(e,U8))),d=le(pe(A(e,Rv))),h=u(A(t,Ov),21),h.Hc((Qc(),T1)))for(n=m,k=e.o.a/2-i.n.a,c=new N(i.f);c.a0&&(m=e.n.a/c);break;case 2:case 4:s=e.i.o.b,s>0&&(m=e.n.b/s)}Ee(e,(Oe(),Aw),m)}if(b=e.o,d=e.a,i)d.a=i.a,d.b=i.b,e.d=!0;else if(t!=kd&&t!=Lg&&h!=nl)switch(h.g){case 1:d.a=b.a/2;break;case 2:d.a=b.a,d.b=b.b/2;break;case 3:d.a=b.a/2,d.b=b.b;break;case 4:d.b=b.b/2}else d.a=b.a/2,d.b=b.b/2}function r9(e){var t,n,i,s,c,d,h,b,m,v;if(e.Pj())if(v=e.Ej(),b=e.Qj(),v>0)if(t=new Vfe(e.pj()),n=v,c=n<100?null:new Kp(n),VT(e,n,t.g),s=n==1?e.Ij(4,re(t,0),null,0,b):e.Ij(6,t,null,-1,b),e.Mj()){for(i=new hn(t);i.e!=i.i.gc();)c=e.Oj(mn(i),c);c?(c.nj(s),c.oj()):e.Jj(s)}else c?(c.nj(s),c.oj()):e.Jj(s);else VT(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Ot(),Jo),null,-1,b));else if(e.Mj())if(v=e.Ej(),v>0){for(h=e.Fj(),m=v,VT(e,v,h),c=m<100?null:new Kp(m),i=0;i1&&Lc(d)*xu(d)/2>h[0]){for(c=0;ch[c];)++c;O=new V1(L,0,c+1),k=new FL(O),v=Lc(d)/xu(d),b=tX(k,t,new z3,n,i,s,v),Or(Of(k.e),b),l4(D5(T,k),r8),P=new V1(L,c+1,L.c.length),_he(T,P),L.c.length=0,m=0,mVe(h,h.length,0)}else $=T.b.c.length==0?null:Ye(T.b,0),$!=null&&MW(T,0),m>0&&(h[m]=h[m-1]),h[m]+=Lc(d)*xu(d),++m,Ft(L.c,d);return L}function Iln(e,t){var n,i,s,c;n=t.b,c=new Vc(n.j),s=0,i=n.j,i.c.length=0,Fb(u(C0(e.b,(ze(),en),(nw(),Ow)),15),n),s=sP(c,s,new mPe,i),Fb(u(C0(e.b,en,xg),15),n),s=sP(c,s,new fPe,i),Fb(u(C0(e.b,en,Mw),15),n),Fb(u(C0(e.b,fn,Ow),15),n),Fb(u(C0(e.b,fn,xg),15),n),s=sP(c,s,new vPe,i),Fb(u(C0(e.b,fn,Mw),15),n),Fb(u(C0(e.b,Pn,Ow),15),n),s=sP(c,s,new yPe,i),Fb(u(C0(e.b,Pn,xg),15),n),s=sP(c,s,new kPe,i),Fb(u(C0(e.b,Pn,Mw),15),n),Fb(u(C0(e.b,rn,Ow),15),n),s=sP(c,s,new pPe,i),Fb(u(C0(e.b,rn,xg),15),n),Fb(u(C0(e.b,rn,Mw),15),n)}function Pln(e,t,n){var i,s,c,d,h,b,m,v,k,T,P;for(h=new N(t);h.a.5?z-=d*2*(O-.5):O<.5&&(z+=c*2*(.5-O)),s=h.d.b,z$.a-L-v&&(z=$.a-L-v),h.n.a=t+z}}function Rln(e){var t,n,i,s,c;if(i=u(A(e,(Ue(),fc)),171),i==(pa(),Tg)){for(n=new gn(wn(eo(e).a.Kc(),new j));$n(n);)if(t=u(xn(n),18),!RJe(t))throw B(new N1(fY+cP(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==Ev){for(c=new gn(wn(Pi(e).a.Kc(),new j));$n(c);)if(s=u(xn(c),18),!RJe(s))throw B(new N1(fY+cP(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 AP(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O;if(e.e&&e.c.c>19&&(t=m5(t),b=!b),d=bnn(t),c=!1,s=!1,i=!1,e.h==KP&&e.m==0&&e.l==0)if(s=!0,c=!0,d==-1)e=iUe((t5(),wme)),i=!0,b=!b;else return h=epe(e,d),b&&WW(h),n&&(yg=nc(0,0,0)),h;else e.h>>19&&(c=!0,e=m5(e),i=!0,b=!b);return d!=-1?GGt(e,d,b,c,n):Bhe(e,t)<0?(n&&(c?yg=m5(e):yg=nc(e.l,e.m,e.h)),nc(0,0,0)):hon(i?e:nc(e.l,e.m,e.h),t,b,c,s,n)}function Yq(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O;if(d=e.e,b=t.e,d==0)return t;if(b==0)return e;if(c=e.d,h=t.d,c+h==2)return n=Yi(e.a[0],us),i=Yi(t.a[0],us),d==b?(v=Ho(n,i),O=Vn(v),P=Vn(Yp(v,32)),P==0?new o1(d,O):new d0(d,2,H(F(Bn,1),ur,28,15,[O,P]))):(Vd(),rA(d<0?Ra(i,n):Ra(n,i),0)?cg(d<0?Ra(i,n):Ra(n,i)):Q7(cg(J1(d<0?Ra(i,n):Ra(n,i)))));if(d==b)T=d,k=c>=h?oW(e.a,c,t.a,h):oW(t.a,h,e.a,c);else{if(s=c!=h?c>h?1:-1:wde(e.a,t.a,c),s==0)return Vd(),N9;s==1?(T=d,k=rW(e.a,c,t.a,h)):(T=b,k=rW(t.a,h,e.a,c))}return m=new d0(T,k.length,k),iS(m),m}function Lln(e,t){var n,i,s,c,d,h,b;if(!(e.g>t.f||t.g>e.f)){for(n=0,i=0,d=e.w.a.ec().Kc();d.Ob();)s=u(d.Pb(),12),iV(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++n;for(h=e.r.a.ec().Kc();h.Ob();)s=u(h.Pb(),12),iV(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--n;for(b=t.w.a.ec().Kc();b.Ob();)s=u(b.Pb(),12),iV(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)s=u(c.Pb(),12),iV(Zs(H(F(to,1),_e,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--i;n=0)return n;switch(Gb(Ss(e,n))){case 2:{if(Et("",tp(e,n.qk()).xe())){if(b=cI(Ss(e,n)),h=Gk(Ss(e,n)),v=ipe(e,t,b,h),v)return v;for(s=Lpe(e,t),d=0,k=s.gc();d1)throw B(new Qt(bM));for(v=cc(e.e.Dh(),t),i=u(e.g,124),d=0;d1,m=new nd(T.b);Ys(m.a)||Ys(m.b);)b=u(Ys(m.a)?D(m.a):D(m.b),18),k=b.c==T?b.d:b.c,w.Math.abs(Zs(H(F(to,1),_e,8,0,[k.i.n,k.n,k.a])).b-d.b)>1&&krn(e,b,d,c,T)}}function Fln(e){var t,n,i,s,c,d;if(s=new wo(e.e,0),i=new wo(e.a,0),e.d)for(n=0;nGY;){for(c=t,d=0;w.Math.abs(t-c)0),s.a.Xb(s.c=--s.b),tsn(e,e.b-d,c,i,s),yn(s.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n0?(e.f[v.p]=P/(v.e.c.length+v.g.c.length),e.c=w.Math.min(e.c,e.f[v.p]),e.b=w.Math.max(e.b,e.f[v.p])):h&&(e.f[v.p]=P)}}function Hln(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 Kln(e,t,n){var i,s,c,d;for(n.Ug("Graph transformation ("+e.a+")",1),d=Yb(t.a),c=new N(t.b);c.a=h.b.c)&&(h.b=t),(!h.c||t.c<=h.c.c)&&(h.d=h.c,h.c=t),(!h.e||t.d>=h.e.d)&&(h.e=t),(!h.f||t.d<=h.f.d)&&(h.f=t);return i=new _$((b5(),Pw)),bI(e,j0t,new Wc(H(F(MM,1),Bt,382,0,[i]))),d=new _$(vv),bI(e,$0t,new Wc(H(F(MM,1),Bt,382,0,[d]))),s=new _$(mv),bI(e,L0t,new Wc(H(F(MM,1),Bt,382,0,[s]))),c=new _$(C2),bI(e,A0t,new Wc(H(F(MM,1),Bt,382,0,[c]))),kq(i.c,Pw),kq(s.c,mv),kq(c.c,C2),kq(d.c,vv),h.a.c.length=0,zi(h.a,i.c),zi(h.a,ha(s.c)),zi(h.a,c.c),zi(h.a,ha(d.c)),h}function Wln(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O;for(t.Ug(Ldt,1),P=le(pe(Ie(e,(xh(),jv)))),d=le(pe(Ie(e,(ud(),kx)))),h=u(Ie(e,yx),107),zfe((!e.a&&(e.a=new Se(xr,e,10,11)),e.a)),v=gut((!e.a&&(e.a=new Se(xr,e,10,11)),e.a),P,d),!e.a&&(e.a=new Se(xr,e,10,11)),m=new N(v);m.a0&&(e.a=b+(P-1)*c,t.c.b+=e.a,t.f.b+=e.a)),O.a.gc()!=0&&(T=new gG(1,c),P=lge(T,t,O,L,t.f.b+b-t.c.b),P>0&&(t.f.b+=b+(P-1)*c))}function Cut(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;for(v=le(pe(A(e,(Ue(),Bw)))),i=le(pe(A(e,T3e))),T=new GH,Ee(T,Bw,v+i),m=t,z=m.d,L=m.c.i,J=m.d.i,$=Ole(L.c),ne=Ole(J.c),s=new Le,k=$;k<=ne;k++)h=new g1(e),n0(h,(nn(),io)),Ee(h,(Oe(),jr),m),Ee(h,yi,(fo(),Ul)),Ee(h,JN,T),P=u(Ye(e.b,k),30),k==$?Xm(h,P.a.c.length-n,P):bo(h,P),se=le(pe(A(m,gp))),se<0&&(se=0,Ee(m,gp,se)),h.o.b=se,O=w.Math.floor(se/2),d=new Ml,Vi(d,(ze(),rn)),Js(d,h),d.n.b=O,b=new Ml,Vi(b,fn),Js(b,h),b.n.b=O,ao(m,d),c=new Vb,js(c,m),Ee(c,Is,null),zo(c,b),ao(c,z),$Yt(h,m,c),Ft(s.c,c),m=c;return s}function Jq(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne;for(b=u(lp(e,(ze(),rn)).Kc().Pb(),12).e,P=u(lp(e,fn).Kc().Pb(),12).g,h=b.c.length,ne=ed(u(Ye(e.j,0),12));h-- >0;){for(L=(_t(0,b.c.length),u(b.c[0],18)),s=(_t(0,P.c.length),u(P.c[0],18)),J=s.d.e,c=$s(J,s,0),bzt(L,s.d,c),zo(s,null),ao(s,null),O=L.a,t&&or(O,new Vo(ne)),i=Ln(s.a,0);i.b!=i.d.c;)n=u(_n(i),8),or(O,new Vo(n));for(z=L.b,T=new N(s.b);T.ad)&&Fi(e.b,u($.b,18));++h}c=d}}}function ige(e,t){var n;if(t==null||Et(t,Cc)||t.length==0&&e.k!=(cp(),g6))return null;switch(e.k.g){case 1:return T$(t,b8)?(Gt(),S8):T$(t,uJ)?(Gt(),kg):null;case 2:try{return Ae(zu(t,jo,Mr))}catch(i){if(i=li(i),te(i,130))return null;throw B(i)}case 4:try{return Jm(t)}catch(i){if(i=li(i),te(i,130))return null;throw B(i)}case 3:return t;case 5:return Ktt(e),nst(e,t);case 6:return Ktt(e),Vtn(e,e.a,t);case 7:try{return n=itn(e),n.cg(t),n}catch(i){if(i=li(i),te(i,33))return null;throw B(i)}default:throw B(new ks("Invalid type set for this layout option."))}}function oge(e){var t;switch(e.d){case 1:{if(e.Sj())return e.o!=-2;break}case 2:{if(e.Sj())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.Rj(),e.p){case 0:return t!=null&&qe(Ve(t))!=R7(e.k,0);case 1:return t!=null&&u(t,222).a!=Vn(e.k)<<24>>24;case 2:return t!=null&&u(t,180).a!=(Vn(e.k)&Di);case 6:return t!=null&&R7(u(t,168).a,e.k);case 5:return t!=null&&u(t,17).a!=Vn(e.k);case 7:return t!=null&&u(t,191).a!=Vn(e.k)<<16>>16;case 3:return t!=null&&le(pe(t))!=e.j;case 4:return t!=null&&u(t,161).a!=e.j;default:return t==null?e.n!=null:!Rr(t,e.n)}}function LP(e,t,n){var i,s,c,d;return e.ol()&&e.nl()&&(d=uG(e,u(n,58)),fe(d)!==fe(n))?(e.xj(t),e.Dj(t,xQe(e,t,d)),e.al()&&(c=(s=u(n,54),e.ml()?e.kl()?s.Th(e.b,is(u(Dt(mc(e.b),e.Lj()),19)).n,u(Dt(mc(e.b),e.Lj()).Hk(),29).kk(),null):s.Th(e.b,ci(s.Dh(),is(u(Dt(mc(e.b),e.Lj()),19))),null,null):s.Th(e.b,-1-e.Lj(),null,null)),!u(d,54).Ph()&&(c=(i=u(d,54),e.ml()?e.kl()?i.Rh(e.b,is(u(Dt(mc(e.b),e.Lj()),19)).n,u(Dt(mc(e.b),e.Lj()).Hk(),29).kk(),c):i.Rh(e.b,ci(i.Dh(),is(u(Dt(mc(e.b),e.Lj()),19))),null,c):i.Rh(e.b,-1-e.Lj(),null,c))),c&&c.oj()),ku(e.b)&&e.Jj(e.Ij(9,n,d,t,!1)),d):n}function Sut(e){var t,n,i,s,c,d,h,b,m,v;for(i=new Le,d=new N(e.e.a);d.a0&&(d=w.Math.max(d,Pet(e.C.b+i.d.b,s))),v=i,k=s,T=c;e.C&&e.C.c>0&&(P=T+e.C.c,m&&(P+=v.d.c),d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(k-1)<=fd||k==1||isNaN(k)&&isNaN(1)?0:P/(1-k)))),n.n.b=0,n.a.a=d}function Eut(e,t){var n,i,s,c,d,h,b,m,v,k,T,P;if(n=u(gs(e.b,t),127),b=u(u($r(e.r,t),21),87),b.dc()){n.n.d=0,n.n.a=0;return}for(m=e.u.Hc((Qc(),T1)),d=0,e.A.Hc((Iu(),sb))&&ect(e,t),h=b.Kc(),v=null,T=0,k=0;h.Ob();)i=u(h.Pb(),117),c=le(pe(i.b.of((bA(),UD)))),s=i.b.Mf().b,v?(P=k+v.d.a+e.w+i.d.d,d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(T-c)<=fd||T==c||isNaN(T)&&isNaN(c)?0:P/(c-T)))):e.C&&e.C.d>0&&(d=w.Math.max(d,Pet(e.C.d+i.d.d,c))),v=i,T=c,k=s;e.C&&e.C.a>0&&(P=k+e.C.a,m&&(P+=v.d.a),d=w.Math.max(d,(Yf(),of(fd),w.Math.abs(T-1)<=fd||T==1||isNaN(T)&&isNaN(1)?0:P/(1-T)))),n.n.d=0,n.a.b=d}function Xln(e,t,n,i,s,c,d,h){var b,m,v,k,T,P,O,L,$,z;if(O=!1,m=dpe(n.q,t.f+t.b-n.q.f),P=i.f>t.b&&h,z=s-(n.q.e+m-d),k=(b=t9(i,z,!1),b.a),P&&k>i.f)return!1;if(P){for(T=0,$=new N(t.d);$.a<$.c.c.length;)L=u(D($),315),T+=dpe(L,i.f)+d;z=s-T}return z=(_t(c,e.c.length),u(e.c[c],186)).e,!P&&k>t.b&&!v)?!1:((v||P||k<=t.b)&&(v&&k>t.b?(n.d=k,EI(n,fot(n,k))):(Mit(n.q,m),n.c=!0),EI(i,s-(n.s+n.r)),lP(i,n.q.e+n.q.d,t.f),GL(t,i),e.c.length>c&&(aP((_t(c,e.c.length),u(e.c[c],186)),i),(_t(c,e.c.length),u(e.c[c],186)).a.c.length==0&&X1(e,c)),O=!0),O)}function Tut(e,t,n){var i,s,c,d,h,b;for(this.g=e,h=t.d.length,b=n.d.length,this.d=be(Lh,fp,10,h+b,0,1),d=0;d0?CW(this,this.f/this.a):Jf(t.g,t.d[0]).a!=null&&Jf(n.g,n.d[0]).a!=null?CW(this,(le(Jf(t.g,t.d[0]).a)+le(Jf(n.g,n.d[0]).a))/2):Jf(t.g,t.d[0]).a!=null?CW(this,Jf(t.g,t.d[0]).a):Jf(n.g,n.d[0]).a!=null&&CW(this,Jf(n.g,n.d[0]).a)}function Yln(e,t){var n,i,s,c,d,h,b,m,v,k;for(e.a=new rqe(RGt(Ox)),i=new N(t.a);i.a=1&&($-d>0&&k>=0?(b.n.a+=L,b.n.b+=c*d):$-d<0&&v>=0&&(b.n.a+=L*$,b.n.b+=c));e.o.a=t.a,e.o.b=t.b,Ee(e,(Ue(),J0),(Iu(),i=u(Pf(Dx),9),new ra(i,u(ef(i,i.length),9),0)))}function Zln(e,t,n,i,s,c){var d;if(!(t==null||!gV(t,V5e,q5e)))throw B(new Qt("invalid scheme: "+t));if(!e&&!(n!=null&&jd(n,kc(35))==-1&&n.length>0&&(Zt(0,n.length),n.charCodeAt(0)!=47)))throw B(new Qt("invalid opaquePart: "+n));if(e&&!(t!=null&&kT(QB,t.toLowerCase()))&&!(n==null||!gV(n,zx,Hx)))throw B(new Qt(c1t+n));if(e&&t!=null&&kT(QB,t.toLowerCase())&&!RJt(n))throw B(new Qt(c1t+n));if(!NVt(i))throw B(new Qt("invalid device: "+i));if(!CWt(s))throw d=s==null?"invalid segments: null":"invalid segment: "+mWt(s),B(new Qt(d));if(!(c==null||jd(c,kc(35))==-1))throw B(new Qt("invalid query: "+c))}function ecn(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z;if(n.Ug("Network simplex layering",1),e.b=t,z=u(A(t,(Ue(),ix)),17).a*4,$=e.b.a,$.c.length<1){n.Vg();return}for(c=Jin(e,$),L=null,s=Ln(c,0);s.b!=s.d.c;){for(i=u(_n(s),15),h=z*Wi(w.Math.sqrt(i.gc())),d=don(i),Aq(Ese(e_t(Tse(HU(d),h),L),!0),n.eh(1)),T=e.b.b,O=new N(d.a);O.a1)for(L=be(Bn,ur,28,e.b.b.c.length,15,1),k=0,m=new N(e.b.b);m.a0){I$(e,n,0),n.a+=String.fromCharCode(i),s=Cqt(t,c),I$(e,n,s),c+=s-1;continue}i==39?c+10&&O.a<=0){b.c.length=0,Ft(b.c,O);break}P=O.i-O.d,P>=h&&(P>h&&(b.c.length=0,h=P),Ft(b.c,O))}b.c.length!=0&&(d=u(Ye(b,$$(s,b.c.length)),118),ne.a.Bc(d)!=null,d.g=v++,Vpe(d,t,n,i),b.c.length=0)}for($=e.c.length+1,T=new N(e);T.aHi||t.o==eb&&v=h&&s<=b)h<=s&&c<=b?(n[v++]=s,n[v++]=c,i+=2):h<=s?(n[v++]=s,n[v++]=b,e.b[i]=b+1,d+=2):c<=b?(n[v++]=h,n[v++]=c,i+=2):(n[v++]=h,n[v++]=b,e.b[i]=b+1);else if(bpg)&&h<10);Pse(e.c,new nEe),Out(e),XDt(e.c),Uln(e.f)}function ucn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L;for(n=u(A(e,(Ue(),yi)),101),d=e.f,c=e.d,h=d.a+c.b+c.c,b=0-c.d-e.c.b,v=d.b+c.d+c.a-e.c.b,m=new Le,k=new Le,s=new N(t);s.a=2){for(b=Ln(n,0),d=u(_n(b),8),h=u(_n(b),8);h.a0&&GI(m,!0,(ji(),Bs)),h.k==(nn(),Oi)&&dqe(m),vr(e.f,h,t)}}function dcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;for(s=u(A(e,(Wr(),bx)),27),m=Mr,v=Mr,h=jo,b=jo,ne=Ln(e.b,0);ne.b!=ne.d.c;)z=u(_n(ne),40),P=z.e,O=z.f,m=w.Math.min(m,P.a-O.a/2),v=w.Math.min(v,P.b-O.b/2),h=w.Math.max(h,P.a+O.a/2),b=w.Math.max(b,P.b+O.b/2);for(T=u(Ie(s,(sl(),D4e)),107),J=Ln(e.b,0);J.b!=J.d.c;)z=u(_n(J),40),k=A(z,bx),te(k,207)&&(c=u(k,27),ta(c,z.e.a,z.e.b),SP(c,z));for($=Ln(e.a,0);$.b!=$.d.c;)L=u(_n($),65),i=u(A(L,bx),74),i&&(t=L.a,n=n2(i,!0,!0),OP(t,n));se=h-m+(T.b+T.c),d=b-v+(T.d+T.a),qe(Ve(Ie(s,(gr(),Dv))))||gw(s,se,d,!1,!1),Br(s,V2,se-(T.b+T.c)),Br(s,W2,d-(T.d+T.a))}function Rut(e,t){var n,i,s,c,d,h,b,m,v,k;for(b=!0,s=0,m=e.g[t.p],v=t.o.b+e.o,n=e.d[t.p][2],la(e.b,m,Ae(u(Ye(e.b,m),17).a-1+n)),la(e.c,m,le(pe(Ye(e.c,m)))-v+n*e.f),++m,m>=e.j?(++e.j,$e(e.b,Ae(1)),$e(e.c,v)):(i=e.d[t.p][1],la(e.b,m,Ae(u(Ye(e.b,m),17).a+1-i)),la(e.c,m,le(pe(Ye(e.c,m)))+v-i*e.f)),(e.r==(La(),GM)&&(u(Ye(e.b,m),17).a>e.k||u(Ye(e.b,m-1),17).a>e.k)||e.r==WM&&(le(pe(Ye(e.c,m)))>e.n||le(pe(Ye(e.c,m-1)))>e.n))&&(b=!1),d=new gn(wn(eo(t).a.Kc(),new j));$n(d);)c=u(xn(d),18),h=c.c.i,e.g[h.p]==m&&(k=Rut(e,h),s=s+u(k.a,17).a,b=b&&qe(Ve(k.b)));return e.g[t.p]=m,s=s+e.d[t.p][0],new Gi(Ae(s),(Gt(),!!b))}function Aut(e,t){var n,i,s,c,d;n=le(pe(A(t,(Ue(),pf)))),n<2&&Ee(t,pf,2),i=u(A(t,Wu),88),i==(ji(),yd)&&Ee(t,Wu,b$(t)),s=u(A(t,Ymt),17),s.a==0?Ee(t,(Oe(),a6),new wV):Ee(t,(Oe(),a6),new vL(s.a)),c=Ve(A(t,tx)),c==null&&Ee(t,tx,(Gt(),fe(A(t,x1))===fe((d1(),nC)))),Ci(new xt(null,new Pt(t.a,16)),new Noe(e)),Ci(Qs(new xt(null,new Pt(t.b,16)),new Xie),new Boe(e)),d=new Iut(t),Ee(t,(Oe(),R2),d),lI(e.a),_f(e.a,($o(),hf),u(A(t,q0),188)),_f(e.a,Ah,u(A(t,Y0),188)),_f(e.a,_l,u(A(t,ex),188)),_f(e.a,zl,u(A(t,XN),188)),_f(e.a,Ns,dGt(u(A(t,x1),223))),Rle(e.a,lan(t)),Ee(t,vZ,AP(e.a,t))}function lge(e,t,n,i,s){var c,d,h,b,m,v,k,T,P,O,L,$,z;for(k=new On,d=new Le,Rot(e,n,e.d.Ag(),d,k),Rot(e,i,e.d.Bg(),d,k),e.b=.2*(L=Dst(Qs(new xt(null,new Pt(d,16)),new zMe)),$=Dst(Qs(new xt(null,new Pt(d,16)),new HMe)),w.Math.min(L,$)),c=0,h=0;h=2&&(z=nlt(d,!0,T),!e.e&&(e.e=new fNe(e)),mqt(e.e,z,d,e.b)),Bit(d,T),mcn(d),P=-1,v=new N(d);v.ah)}function Lut(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J;for(m=ii,v=ii,h=Hi,b=Hi,T=new N(t.i);T.a-1){for(s=Ln(h,0);s.b!=s.d.c;)i=u(_n(s),131),i.v=d;for(;h.b!=0;)for(i=u(qV(h,0),131),n=new N(i.i);n.a-1){for(c=new N(h);c.a0)&&(xoe(b,w.Math.min(b.o,s.o-1)),iR(b,b.i-1),b.i==0&&Ft(h.c,b))}}function jut(e,t,n,i,s){var c,d,h,b;return b=ii,d=!1,h=Qpe(e,Xi(new Me(t.a,t.b),e),Or(new Me(n.a,n.b),s),Xi(new Me(i.a,i.b),n)),c=!!h&&!(w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw||w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw),h=Qpe(e,Xi(new Me(t.a,t.b),e),n,s),h&&((w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw)==(w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw)||c?b=w.Math.min(b,eS(Xi(h,n))):d=!0),h=Qpe(e,Xi(new Me(t.a,t.b),e),i,s),h&&(d||(w.Math.abs(h.a-e.a)<=Cw&&w.Math.abs(h.b-e.b)<=Cw)==(w.Math.abs(h.a-t.a)<=Cw&&w.Math.abs(h.b-t.b)<=Cw)||c)&&(b=w.Math.min(b,eS(Xi(h,i)))),b}function Dut(e){Pb(e,new _0(yR(Eb(Cb(xb(Sb(new e0,bg),Lft),"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 Jxe),uc))),Re(e,bg,h9,Ke(Ave)),Re(e,bg,Dj,(Gt(),!0)),Re(e,bg,h2,Ke(v0t)),Re(e,bg,X4,Ke(y0t)),Re(e,bg,q4,Ke(k0t)),Re(e,bg,u8,Ke(m0t)),Re(e,bg,p9,Ke($ve)),Re(e,bg,a8,Ke(C0t)),Re(e,bg,i0e,Ke(Rve)),Re(e,bg,s0e,Ke(Ove)),Re(e,bg,l0e,Ke(_ve)),Re(e,bg,c0e,Ke(Lve)),Re(e,bg,o0e,Ke(ZD))}function vcn(e){var t,n,i,s,c,d,h,b;for(t=null,i=new N(e);i.a0&&n.c==0&&(!t&&(t=new Le),Ft(t.c,n));if(t)for(;t.c.length!=0;){if(n=u(X1(t,0),239),n.b&&n.b.c.length>0){for(c=(!n.b&&(n.b=new Le),new N(n.b));c.a$s(e,n,0))return new Gi(s,n)}else if(le(Jf(s.g,s.d[0]).a)>le(Jf(n.g,n.d[0]).a))return new Gi(s,n)}for(h=(!n.e&&(n.e=new Le),n.e).Kc();h.Ob();)d=u(h.Pb(),239),b=(!d.b&&(d.b=new Le),d.b),$m(0,b.c.length),k7(b.c,0,n),d.c==b.c.length&&Ft(t.c,d)}return null}function ycn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z;for(t.Ug("Interactive crossing minimization",1),d=0,c=new N(e.b);c.a0&&(n+=b.n.a+b.o.a/2,++k),O=new N(b.j);O.a0&&(n/=k),z=be(uo,ws,28,i.a.c.length,15,1),h=0,m=new N(i.a);m.a=h&&s<=b)h<=s&&c<=b?i+=2:h<=s?(e.b[i]=b+1,d+=2):c<=b?(n[v++]=s,n[v++]=h-1,i+=2):(n[v++]=s,n[v++]=h-1,e.b[i]=b+1,d+=2);else if(b2?(v=new Le,zi(v,new V1(z,1,z.b)),c=xat(v,ne+e.a),J=new mq(c),js(J,t),Ft(n.c,J)):i?J=u(pn(e.b,Sh(t)),272):J=u(pn(e.b,ug(t)),272),b=Sh(t),i&&(b=ug(t)),d=vZt($,b),m=ne+e.a,d.a?(m+=w.Math.abs($.b-k.b),L=new Me(k.a,(k.b+$.b)/2)):(m+=w.Math.abs($.a-k.a),L=new Me((k.a+$.a)/2,k.b)),i?vr(e.d,t,new Ehe(J,d,L,m)):vr(e.c,t,new Ehe(J,d,L,m)),vr(e.b,t,J),O=(!t.n&&(t.n=new Se(ms,t,1,7)),t.n),P=new hn(O);P.e!=P.i.gc();)T=u(mn(P),135),s=TP(e,T,!0,0,0),Ft(n.c,s)}function kcn(e){var t,n,i,s,c,d,h;if(!e.A.dc()){if(e.A.Hc((Iu(),kO))&&(u(gs(e.b,(ze(),en)),127).k=!0,u(gs(e.b,Pn),127).k=!0,t=e.q!=(fo(),Bh)&&e.q!=Ul,koe(u(gs(e.b,fn),127),t),koe(u(gs(e.b,rn),127),t),koe(e.g,t),e.A.Hc(sb)&&(u(gs(e.b,en),127).j=!0,u(gs(e.b,Pn),127).j=!0,u(gs(e.b,fn),127).k=!0,u(gs(e.b,rn),127).k=!0,e.g.k=!0)),e.A.Hc(yO))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,h=e.B.Hc((du(),Nx)),s=TV(),c=0,d=s.length;c0),u(v.a.Xb(v.c=--v.b),18));c!=i&&v.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(yn(v.b>0),u(v.a.Xb(v.c=--v.b),18));v.b>0&&Eu(v)}}function But(e,t,n){var i,s,c,d,h,b,m,v,k,T,P;if(!e.b)return!1;for(d=null,T=null,b=new cW(null,null),s=1,b.a[1]=e.b,k=b;k.a[s];)m=s,h=T,T=k,k=k.a[s],i=e.a.Ne(t,k.d),s=i<0?0:1,i==0&&(!n.c||gl(k.e,n.d))&&(d=k),!(k&&k.b)&&!vm(k.a[s])&&(vm(k.a[1-s])?T=T.a[m]=QL(k,s):vm(k.a[1-s])||(P=T.a[1-m],P&&(!vm(P.a[1-m])&&!vm(P.a[m])?(T.b=!1,P.b=!0,k.b=!0):(c=h.a[1]==T?1:0,vm(P.a[m])?h.a[c]=hYe(T,m):vm(P.a[1-m])&&(h.a[c]=QL(T,m)),k.b=h.a[c].b=!0,h.a[c].a[0].b=!1,h.a[c].a[1].b=!1))));return d&&(n.b=!0,n.d=d.e,k!=d&&(v=new cW(k.d,k.e),xQt(e,b,d,v),T==d&&(T=v)),T.a[T.a[1]==k?1:0]=k.a[k.a[0]?0:1],--e.c),e.b=b.a[1],e.b&&(e.b.b=!1),n.b}function xcn(e){var t,n,i,s,c,d,h,b,m,v,k,T;for(s=new N(e.a.a.b);s.a0?s-=864e5:s+=864e5,b=new bce(Ho(bl(t.q.getTime()),s))),v=new V3,m=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(d=c+1;d=m)throw B(new Qt("Missing trailing '"));d+1=14&&v<=16))?t.a._b(i)?(n.a?lr(n.a,n.b):n.a=new Ru(n.d),L7(n.a,"[...]")):(h=y0(i),m=new G7(t),s1(n,zut(h,m))):te(i,183)?s1(n,nen(u(i,183))):te(i,195)?s1(n,zJt(u(i,195))):te(i,201)?s1(n,JQt(u(i,201))):te(i,2111)?s1(n,HJt(u(i,2111))):te(i,53)?s1(n,ten(u(i,53))):te(i,376)?s1(n,ven(u(i,376))):te(i,846)?s1(n,een(u(i,846))):te(i,109)&&s1(n,ZZt(u(i,109))):s1(n,i==null?Cc:Us(i));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function X5(e,t){var n,i,s,c;c=e.F,t==null?(e.F=null,C5(e,null)):(e.F=(sn(t),t),i=jd(t,kc(60)),i!=-1?(s=(mo(0,i,t.length),t.substr(0,i)),jd(t,kc(46))==-1&&!Et(s,B4)&&!Et(s,P9)&&!Et(s,kD)&&!Et(s,M9)&&!Et(s,O9)&&!Et(s,_9)&&!Et(s,R9)&&!Et(s,A9)&&(s=k1t),n=hA(t,kc(62)),n!=-1&&(s+=""+(Zt(n+1,t.length+1),t.substr(n+1))),C5(e,s)):(s=t,jd(t,kc(46))==-1&&(i=jd(t,kc(91)),i!=-1&&(s=(mo(0,i,t.length),t.substr(0,i))),!Et(s,B4)&&!Et(s,P9)&&!Et(s,kD)&&!Et(s,M9)&&!Et(s,O9)&&!Et(s,_9)&&!Et(s,R9)&&!Et(s,A9)?(s=k1t,i!=-1&&(s+=""+(Zt(i,t.length+1),t.substr(i)))):s=t),C5(e,s),s==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&_r(e,new ro(e,1,5,c,t))}function Hut(e,t){var n,i,s,c,d,h,b,m,v,k;if(b=t.length-1,h=(Zt(b,t.length),t.charCodeAt(b)),h==93){if(d=jd(t,kc(91)),d>=0)return s=MVt(e,(mo(1,d,t.length),t.substr(1,d-1))),v=(mo(d+1,b,t.length),t.substr(d+1,b-(d+1))),tan(e,v,s)}else{if(n=-1,Cme==null&&(Cme=new RegExp("\\d")),Cme.test(String.fromCharCode(h))&&(n=Lce(t,kc(46),b-1),n>=0)){i=u(nW(e,PZe(e,(mo(1,n,t.length),t.substr(1,n-1))),!1),61),m=0;try{m=zu((Zt(n+1,t.length+1),t.substr(n+1)),jo,Mr)}catch(T){throw T=li(T),te(T,130)?(c=T,B(new _L(c))):B(T)}if(m>16==-10?n=u(e.Cb,292).Yk(t,n):e.Db>>16==-15&&(!t&&(t=(Mt(),Sd)),!m&&(m=(Mt(),Sd)),e.Cb.Yh()&&(b=new l1(e.Cb,1,13,m,t,sp(uu(u(e.Cb,62)),e),!1),n?n.nj(b):n=b));else if(te(e.Cb,90))e.Db>>16==-23&&(te(t,90)||(t=(Mt(),Va)),te(m,90)||(m=(Mt(),Va)),e.Cb.Yh()&&(b=new l1(e.Cb,1,10,m,t,sp(Pl(u(e.Cb,29)),e),!1),n?n.nj(b):n=b));else if(te(e.Cb,457))for(h=u(e.Cb,850),d=(!h.b&&(h.b=new aR(new bK)),h.b),c=(i=new S0(new i0(d.a).a),new fR(i));c.a.b;)s=u(rw(c.a).ld(),89),n=Y5(s,tj(s,h),n)}return n}function Mcn(e,t){var n,i,s,c,d,h,b,m,v,k,T;for(d=qe(Ve(Ie(e,(Ue(),Pv)))),T=u(Ie(e,Ov),21),b=!1,m=!1,k=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));k.e!=k.i.gc()&&(!b||!m);){for(c=u(mn(k),123),h=0,s=mh(Du(H(F(Gu,1),Bt,20,0,[(!c.d&&(c.d=new jt(Ti,c,8,5)),c.d),(!c.e&&(c.e=new jt(Ti,c,7,4)),c.e)])));$n(s)&&(i=u(xn(s),74),v=d&&fw(i)&&qe(Ve(Ie(i,X0))),n=yut((!i.b&&(i.b=new jt(Tn,i,4,7)),i.b),c)?e==ri(Ds(u(re((!i.c&&(i.c=new jt(Tn,i,5,8)),i.c),0),84))):e==ri(Ds(u(re((!i.b&&(i.b=new jt(Tn,i,4,7)),i.b),0),84))),!((v||n)&&(++h,h>1))););(h>0||T.Hc((Qc(),T1))&&(!c.n&&(c.n=new Se(ms,c,1,7)),c.n).i>0)&&(b=!0),h>1&&(m=!0)}b&&t.Fc((cs(),ka)),m&&t.Fc((cs(),V9))}function Kut(e){var t,n,i,s,c,d,h,b,m,v,k,T;if(T=u(Ie(e,(gr(),rb)),21),T.dc())return null;if(h=0,d=0,T.Hc((Iu(),kO))){for(v=u(Ie(e,Mx),101),i=2,n=2,s=2,c=2,t=ri(e)?u(Ie(ri(e),nb),88):u(Ie(e,nb),88),m=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));m.e!=m.i.gc();)if(b=u(mn(m),123),k=u(Ie(b,J2),64),k==(ze(),nl)&&(k=Wpe(b,t),Br(b,J2,k)),v==(fo(),Ul))switch(k.g){case 1:i=w.Math.max(i,b.i+b.g);break;case 2:n=w.Math.max(n,b.j+b.f);break;case 3:s=w.Math.max(s,b.i+b.g);break;case 4:c=w.Math.max(c,b.j+b.f)}else switch(k.g){case 1:i+=b.g+2;break;case 2:n+=b.f+2;break;case 3:s+=b.g+2;break;case 4:c+=b.f+2}h=w.Math.max(i,s),d=w.Math.max(n,c)}return gw(e,h,d,!0,!0)}function Qq(e,t,n,i,s){var c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;for(J=u(Ks(BL(Ar(new xt(null,new Pt(t.d,16)),new _De(n)),new RDe(n)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),k=Mr,v=jo,b=new N(t.b.j);b.a0,m?m&&(T=z.p,d?++T:--T,k=u(Ye(z.c.a,T),10),i=htt(k),P=!(Cq(i,Pe,n[0])||$Ve(i,Pe,n[0]))):P=!0),O=!1,ke=t.D.i,ke&&ke.c&&h.e&&(v=d&&ke.p>0||!d&&ke.p=0){for(b=null,h=new wo(v.a,m+1);h.bd?1:Rb(isNaN(0),isNaN(d)))<0&&(of(nh),(w.Math.abs(d-1)<=nh||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:Rb(isNaN(d),isNaN(1)))<0)&&(of(nh),(w.Math.abs(0-h)<=nh||h==0||isNaN(0)&&isNaN(h)?0:0h?1:Rb(isNaN(0),isNaN(h)))<0)&&(of(nh),(w.Math.abs(h-1)<=nh||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:Rb(isNaN(h),isNaN(1)))<0)),c)}function $cn(e){var t,n,i,s;if(n=e.D!=null?e.D:e.B,t=jd(n,kc(91)),t!=-1){i=(mo(0,t,n.length),n.substr(0,t)),s=new B1;do s.a+="[";while((t=_k(n,91,++t))!=-1);Et(i,B4)?s.a+="Z":Et(i,P9)?s.a+="B":Et(i,kD)?s.a+="C":Et(i,M9)?s.a+="D":Et(i,O9)?s.a+="F":Et(i,_9)?s.a+="I":Et(i,R9)?s.a+="J":Et(i,A9)?s.a+="S":(s.a+="L",s.a+=""+i,s.a+=";");try{return null}catch(c){if(c=li(c),!te(c,63))throw B(c)}}else if(jd(n,kc(46))==-1){if(Et(n,B4))return wu;if(Et(n,P9))return Kc;if(Et(n,kD))return Ea;if(Et(n,M9))return uo;if(Et(n,O9))return qv;if(Et(n,_9))return Bn;if(Et(n,R9))return Hg;if(Et(n,A9))return r3}return null}function jcn(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe;for(e.e=t,h=jen(t),Pe=new Le,i=new N(h);i.a=0&&L=m.c.c.length?v=Rae((nn(),Ei),io):v=Rae((nn(),io),io),v*=2,c=n.a.g,n.a.g=w.Math.max(c,c+(v-c)),d=n.b.g,n.b.g=w.Math.max(d,d+(v-d)),s=t}}function Fcn(e){var t,n,i,s;for(Ci(Ar(new xt(null,new Pt(e.a.b,16)),new JIe),new QIe),kJt(e),Ci(Ar(new xt(null,new Pt(e.a.b,16)),new ZIe),new ePe),e.c==(d1(),v6)&&(Ci(Ar(Qs(new xt(null,new Pt(new r0(e.f),1)),new tPe),new nPe),new xDe(e)),Ci(Ar(As(Qs(Qs(new xt(null,new Pt(e.d.b,16)),new rPe),new iPe),new oPe),new sPe),new TDe(e))),s=new Me(ii,ii),t=new Me(Hi,Hi),i=new N(e.a.b);i.a0&&(t.a+=Xo),kj(u(mn(h),167),t);for(t.a+=lY,b=new n4((!i.c&&(i.c=new jt(Tn,i,5,8)),i.c));b.e!=b.i.gc();)b.e>0&&(t.a+=Xo),kj(u(mn(b),167),t);t.a+=")"}}function zcn(e,t,n){var i,s,c,d,h,b,m,v;for(b=new hn((!e.a&&(e.a=new Se(xr,e,10,11)),e.a));b.e!=b.i.gc();)for(h=u(mn(b),27),s=new gn(wn(b1(h).a.Kc(),new j));$n(s);){if(i=u(xn(s),74),!i.b&&(i.b=new jt(Tn,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new jt(Tn,i,5,8)),i.c.i<=1)))throw B(new G3("Graph must not contain hyperedges."));if(!US(i)&&h!=Ds(u(re((!i.c&&(i.c=new jt(Tn,i,5,8)),i.c),0),84)))for(m=new KGe,js(m,i),Ee(m,(ng(),r6),i),PMt(m,u(Rs(ss(n.f,h)),153)),_Mt(m,u(pn(n,Ds(u(re((!i.c&&(i.c=new jt(Tn,i,5,8)),i.c),0),84))),153)),$e(t.c,m),d=new hn((!i.n&&(i.n=new Se(ms,i,1,7)),i.n));d.e!=d.i.gc();)c=u(mn(d),135),v=new GYe(m,c.a),js(v,c),Ee(v,r6,c),v.e.a=w.Math.max(c.g,1),v.e.b=w.Math.max(c.f,1),Jpe(v),$e(t.d,v)}}function Hcn(e,t,n){var i,s,c,d,h,b,m,v,k,T;switch(n.Ug("Node promotion heuristic",1),e.i=t,e.r=u(A(t,(Ue(),Ig)),243),e.r!=(La(),zw)&&e.r!=Av?gun(e):zrn(e),v=u(A(e.i,d3e),17).a,c=new HTe,e.r.g){case 2:case 1:q5(e,c);break;case 3:for(e.r=iB,q5(e,c),b=0,h=new N(e.b);h.ae.k&&(e.r=GM,q5(e,c));break;case 4:for(e.r=iB,q5(e,c),m=0,s=new N(e.c);s.ae.n&&(e.r=WM,q5(e,c));break;case 6:T=Wi(w.Math.ceil(e.g.length*v/100)),q5(e,new dDe(T));break;case 5:k=Wi(w.Math.ceil(e.e*v/100)),q5(e,new hDe(k));break;case 8:Iat(e,!0);break;case 9:Iat(e,!1);break;default:q5(e,c)}e.r!=zw&&e.r!=Av?frn(e,t):_in(e,t),n.Vg()}function Kcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne;for(k=e.b,v=new wo(k,0),Pm(v,new Ll(e)),J=!1,d=1;v.b0&&(T.d+=v.n.d,T.d+=v.d),T.a>0&&(T.a+=v.n.a,T.a+=v.d),T.b>0&&(T.b+=v.n.b,T.b+=v.d),T.c>0&&(T.c+=v.n.c,T.c+=v.d),T}function Gut(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O;for(T=n.d,k=n.c,c=new Me(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),d=c.b,m=new N(e.a);m.a0&&(e.c[t.c.p][t.p].d+=fu(e.i,24)*VP*.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 Wcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$;for(O=new N(e);O.ai.d,i.d=w.Math.max(i.d,t),h&&n&&(i.d=w.Math.max(i.d,i.a),i.a=i.d+s);break;case 3:n=t>i.a,i.a=w.Math.max(i.a,t),h&&n&&(i.a=w.Math.max(i.a,i.d),i.d=i.a+s);break;case 2:n=t>i.c,i.c=w.Math.max(i.c,t),h&&n&&(i.c=w.Math.max(i.b,i.c),i.b=i.c+s);break;case 4:n=t>i.b,i.b=w.Math.max(i.b,t),h&&n&&(i.b=w.Math.max(i.b,i.c),i.c=i.b+s)}}}function Vut(e,t){var n,i,s,c,d,h,b,m,v;return m="",t.length==0?e.ne(Ige,aX,-1,-1):(v=Qm(t),Et(v.substr(0,3),"at ")&&(v=(Zt(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),d=v.indexOf("("),d==-1?(d=v.indexOf("@"),d==-1?(m=v,v=""):(m=Qm((Zt(d+1,v.length+1),v.substr(d+1))),v=Qm((mo(0,d,v.length),v.substr(0,d))))):(n=v.indexOf(")",d),m=(mo(d+1,n,v.length),v.substr(d+1,n-(d+1))),v=Qm((mo(0,d,v.length),v.substr(0,d)))),d=jd(v,kc(46)),d!=-1&&(v=(Zt(d+1,v.length+1),v.substr(d+1))),(v.length==0||Et(v,"Anonymous function"))&&(v=aX),h=hA(m,kc(58)),s=Lce(m,kc(58),h-1),b=-1,i=-1,c=Ige,h!=-1&&s!=-1&&(c=(mo(0,s,m.length),m.substr(0,s)),b=cGe((mo(s+1,h,m.length),m.substr(s+1,h-(s+1)))),i=cGe((Zt(h+1,m.length+1),m.substr(h+1)))),e.ne(c,v,b,i))}function Xcn(e){var t,n,i,s,c,d,h,b,m,v,k;for(m=new N(e);m.a0||v.j==rn&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(s=new N(v.g);s.a=m&&ke>=$&&(T+=O.n.b+L.n.b+L.a.b-se,++h));if(n)for(d=new N(J.e);d.a=m&&ke>=$&&(T+=O.n.b+L.n.b+L.a.b-se,++h))}h>0&&(Pe+=T/h,++P)}P>0?(t.a=s*Pe/P,t.g=P):(t.a=0,t.g=0)}function Jcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe;for(c=e.f.b,T=c.a,v=c.b,O=e.e.g,P=e.e.f,My(e.e,c.a,c.b),Pe=T/O,Fe=v/P,m=new hn(QA(e.e));m.e!=m.i.gc();)b=u(mn(m),135),oc(b,b.i*Pe),sc(b,b.j*Fe);for(J=new hn(CG(e.e));J.e!=J.i.gc();)z=u(mn(J),123),se=z.i,ke=z.j,se>0&&oc(z,se*Pe),ke>0&&sc(z,ke*Fe);for(wS(e.b,new qxe),t=new Le,h=new S0(new i0(e.c).a);h.b;)d=rw(h),i=u(d.ld(),74),n=u(d.md(),407).a,s=n2(i,!1,!1),k=Fit(Sh(i),bP(s),n),OP(k,s),ne=Zit(i),ne&&$s(t,ne,0)==-1&&(Ft(t.c,ne),Tqe(ne,(yn(k.b!=0),u(k.a.a.c,8)),n));for($=new S0(new i0(e.d).a);$.b;)L=rw($),i=u(L.ld(),74),n=u(L.md(),407).a,s=n2(i,!1,!1),k=Fit(ug(i),VI(bP(s)),n),k=VI(k),OP(k,s),ne=eot(i),ne&&$s(t,ne,0)==-1&&(Ft(t.c,ne),Tqe(ne,(yn(k.b!=0),u(k.c.b.c,8)),n))}function qut(e,t,n,i){var s,c,d,h,b;return h=new fge(t),Hnn(h,i),s=!0,e&&e.pf((gr(),nb))&&(c=u(e.of((gr(),nb)),88),s=c==(ji(),yd)||c==Ps||c==Bs),Vlt(h,!1),ic(h.e.Rf(),new zce(h,!1,s)),$G(h,h.f,(jf(),ul),(ze(),en)),$G(h,h.f,al,Pn),$G(h,h.g,ul,rn),$G(h,h.g,al,fn),Crt(h,en),Crt(h,Pn),Sqe(h,fn),Sqe(h,rn),Im(),d=h.A.Hc((Iu(),Fv))&&h.B.Hc((du(),SO))?Fnt(h):null,d&&JOt(h.a,d),qcn(h),XXt(h),YXt(h),kcn(h),Fon(h),CYt(h),xV(h,en),xV(h,Pn),Tin(h),pln(h),n&&(OVt(h),SYt(h),xV(h,fn),xV(h,rn),b=h.B.Hc((du(),Nx)),Bot(h,b,en),Bot(h,b,Pn),Fot(h,b,fn),Fot(h,b,rn),Ci(new xt(null,new Pt(new Yh(h.i),0)),new Pr),Ci(Ar(new xt(null,Bue(h.r).a.oc()),new Cr),new Gr),DJt(h),h.e.Pf(h.o),Ci(new xt(null,Bue(h.r).a.oc()),new lu)),h.o}function Qcn(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L;for(m=ii,i=new N(e.a.b);i.a1)for(P=new tge(O,ne,i),Po(ne,new nKe(e,P)),Ft(d.c,P),k=ne.a.ec().Kc();k.Ob();)v=u(k.Pb(),42),vc(c,v.b);if(h.a.gc()>1)for(P=new tge(O,h,i),Po(h,new rKe(e,P)),Ft(d.c,P),k=h.a.ec().Kc();k.Ob();)v=u(k.Pb(),42),vc(c,v.b)}}function nun(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z;if(L=e.n,$=e.o,T=e.d,k=le(pe(Vm(e,(Ue(),AZ)))),t){for(v=k*(t.gc()-1),P=0,b=t.Kc();b.Ob();)d=u(b.Pb(),10),v+=d.o.a,P=w.Math.max(P,d.o.b);for(z=L.a-(v-$.a)/2,c=L.b-T.d+P,i=$.a/(t.gc()+1),s=i,h=t.Kc();h.Ob();)d=u(h.Pb(),10),d.n.a=z,d.n.b=c-d.o.b,z+=d.o.a+k,m=rlt(d),m.n.a=d.o.a/2-m.a.a,m.n.b=d.o.b,O=u(A(d,(Oe(),RN)),12),O.e.c.length+O.g.c.length==1&&(O.n.a=s-O.a.a,O.n.b=0,Js(O,e)),s+=i}if(n){for(v=k*(n.gc()-1),P=0,b=n.Kc();b.Ob();)d=u(b.Pb(),10),v+=d.o.a,P=w.Math.max(P,d.o.b);for(z=L.a-(v-$.a)/2,c=L.b+$.b+T.a-P,i=$.a/(n.gc()+1),s=i,h=n.Kc();h.Ob();)d=u(h.Pb(),10),d.n.a=z,d.n.b=c,z+=d.o.a+k,m=rlt(d),m.n.a=d.o.a/2-m.a.a,m.n.b=0,O=u(A(d,(Oe(),RN)),12),O.e.c.length+O.g.c.length==1&&(O.n.a=s-O.a.a,O.n.b=$.b,Js(O,e)),s+=i}}function run(e,t){var n,i,s,c,d,h;if(u(A(t,(Oe(),Kl)),21).Hc((cs(),ka))){for(h=new N(t.a);h.a=0&&d0&&(u(gs(e.b,t),127).a.b=n)}function cun(e,t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L;if(T=le(pe(A(e,(Ue(),K8)))),P=le(pe(A(e,U8))),k=le(pe(A(e,Rv))),h=e.o,c=u(Ye(e.j,0),12),d=c.n,L=EZt(c,k),!!L){if(t.Hc((Qc(),T1)))switch(u(A(e,(Oe(),fl)),64).g){case 1:L.c=(h.a-L.b)/2-d.a,L.d=P;break;case 3:L.c=(h.a-L.b)/2-d.a,L.d=-P-L.a;break;case 2:n&&c.e.c.length==0&&c.g.c.length==0?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=h.b+P-d.b,L.c=-T-L.b;break;case 4:n&&c.e.c.length==0&&c.g.c.length==0?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=h.b+P-d.b,L.c=T}else if(t.Hc($g))switch(u(A(e,(Oe(),fl)),64).g){case 1:case 3:L.c=d.a+T;break;case 2:case 4:n&&!c.c?(v=i?L.a:u(Ye(c.f,0),72).o.b,L.d=(h.b-v)/2-d.b):L.d=d.b+P}for(s=L.d,m=new N(c.f);m.a=t.length)return{done:!0};var s=t[i++];return{value:[s,n.get(s)],done:!1}}}},oin()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,n){this.obj[":"+t]=n},e.prototype[jX]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var n in this.obj)n.charCodeAt(0)==58&&t.push(n.substring(1));return t}),e}function Wr(){Wr=U,bx=new Fr(r0e),new fi("DEPTH",Ae(0)),lee=new fi("FAN",Ae(0)),E4e=new fi(ydt,Ae(0)),Og=new fi("ROOT",(Gt(),!1)),aee=new fi("LEFTNEIGHBOR",null),vyt=new fi("RIGHTNEIGHBOR",null),fB=new fi("LEFTSIBLING",null),fee=new fi("RIGHTSIBLING",null),see=new fi("DUMMY",!1),new fi("LEVEL",Ae(0)),P4e=new fi("REMOVABLE_EDGES",new Zr),QM=new fi("XCOOR",Ae(0)),ZM=new fi("YCOOR",Ae(0)),dB=new fi("LEVELHEIGHT",0),Kf=new fi("LEVELMIN",0),gf=new fi("LEVELMAX",0),cee=new fi("GRAPH_XMIN",0),uee=new fi("GRAPH_YMIN",0),T4e=new fi("GRAPH_XMAX",0),I4e=new fi("GRAPH_YMAX",0),x4e=new fi("COMPACT_LEVEL_ASCENSION",!1),oee=new fi("COMPACT_CONSTRAINTS",new Le),gx=new fi("ID",""),wx=new fi("POSITION",Ae(0)),vp=new fi("PRELIM",0),X8=new fi("MODIFIER",0),q8=new Fr(Rft),JM=new Fr(Aft)}function dun(e){Gpe();var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$;if(e==null)return null;if(k=e.length*8,k==0)return"";for(h=k%24,P=k/24|0,T=h!=0?P+1:P,c=null,c=be(Ea,Yd,28,T*4,15,1),m=0,v=0,t=0,n=0,i=0,d=0,s=0,b=0;b>24,m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,L=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,$=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[d++]=Pp[O],c[d++]=Pp[L|m<<4],c[d++]=Pp[v<<2|$],c[d++]=Pp[i&63];return h==8?(t=e[s],m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,c[d++]=Pp[O],c[d++]=Pp[m<<4],c[d++]=61,c[d++]=61):h==16&&(t=e[s],n=e[s+1],v=(n&15)<<24>>24,m=(t&3)<<24>>24,O=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,L=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,c[d++]=Pp[O],c[d++]=Pp[L|m<<4],c[d++]=Pp[v<<2],c[d++]=61),Ud(c,0,c.length)}function hun(e,t){var n,i,s,c,d,h,b;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>jo&&_ae(t,e.p-gg),d=t.q.getDate(),pI(t,1),e.k>=0&&tFt(t,e.k),e.c>=0?pI(t,e.c):e.k>=0?(b=new lde(t.q.getFullYear()-gg,t.q.getMonth(),35),i=35-b.q.getDate(),pI(t,w.Math.min(i,d))):pI(t,d),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),WRt(t,e.f==24&&e.g?0:e.f),e.j>=0&&DHt(t,e.j),e.n>=0&&XHt(t,e.n),e.i>=0&&tUe(t,Ho(Ko(dP(bl(t.q.getTime()),ap),ap),e.i)),e.a&&(s=new TR,_ae(s,s.q.getFullYear()-gg-80),NK(bl(t.q.getTime()),bl(s.q.getTime()))&&_ae(t,s.q.getFullYear()-gg+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),h=t.q.getMonth(),pI(t,t.q.getDate()+n),t.q.getMonth()!=h&&pI(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>jo&&(c=t.q.getTimezoneOffset(),tUe(t,Ho(bl(t.q.getTime()),(e.o-c)*60*ap))),!0}function Zut(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;if(s=A(t,(Oe(),jr)),!!te(s,207)){for(O=u(s,27),L=t.e,T=new Vo(t.c),c=t.d,T.a+=c.b,T.b+=c.d,se=u(Ie(O,(Ue(),YN)),181),Ac(se,(du(),NB))&&(P=u(Ie(O,w3e),107),CMt(P,c.a),OMt(P,c.d),SMt(P,c.b),MMt(P,c.c)),n=new Le,v=new N(t.a);v.ai.c.length-1;)$e(i,new Gi(d2,Lbe));n=u(A(s,ch),17).a,Zh(u(A(e,Kw),88))?(s.e.ale(pe((_t(n,i.c.length),u(i.c[n],42)).b))&&nK((_t(n,i.c.length),u(i.c[n],42)),s.e.a+s.f.a)):(s.e.ble(pe((_t(n,i.c.length),u(i.c[n],42)).b))&&nK((_t(n,i.c.length),u(i.c[n],42)),s.e.b+s.f.b))}for(c=Ln(e.b,0);c.b!=c.d.c;)s=u(_n(c),40),n=u(A(s,(sl(),ch)),17).a,Ee(s,(Wr(),Kf),pe((_t(n,i.c.length),u(i.c[n],42)).a)),Ee(s,gf,pe((_t(n,i.c.length),u(i.c[n],42)).b));t.Vg()}function gun(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L;for(e.o=le(pe(A(e.i,(Ue(),Fw)))),e.f=le(pe(A(e.i,Z0))),e.j=e.i.b.c.length,h=e.j-1,T=0,e.k=0,e.n=0,e.b=td(be(Oo,_e,17,e.j,0,1)),e.c=td(be(Bi,_e,345,e.j,7,1)),d=new N(e.i.b);d.a0&&$e(e.q,v),$e(e.p,v);t-=i,P=b+t,m+=t*e.f,la(e.b,h,Ae(P)),la(e.c,h,m),e.k=w.Math.max(e.k,P),e.n=w.Math.max(e.n,m),e.e+=t,t+=L}}function ze(){ze=U;var e;nl=new NT(a9,0),en=new NT(_j,1),fn=new NT(WX,2),Pn=new NT(VX,3),rn=new NT(qX,4),Cd=(Ot(),new yk((e=u(Pf(ts),9),new ra(e,u(ef(e,e.length),9),0)))),yf=ep(Yr(en,H(F(ts,1),Sl,64,0,[]))),Sa=ep(Yr(fn,H(F(ts,1),Sl,64,0,[]))),qu=ep(Yr(Pn,H(F(ts,1),Sl,64,0,[]))),Ka=ep(Yr(rn,H(F(ts,1),Sl,64,0,[]))),xc=ep(Yr(en,H(F(ts,1),Sl,64,0,[Pn]))),dc=ep(Yr(fn,H(F(ts,1),Sl,64,0,[rn]))),kf=ep(Yr(en,H(F(ts,1),Sl,64,0,[rn]))),tu=ep(Yr(en,H(F(ts,1),Sl,64,0,[fn]))),Xu=ep(Yr(Pn,H(F(ts,1),Sl,64,0,[rn]))),xa=ep(Yr(fn,H(F(ts,1),Sl,64,0,[Pn]))),nu=ep(Yr(en,H(F(ts,1),Sl,64,0,[fn,rn]))),Sc=ep(Yr(fn,H(F(ts,1),Sl,64,0,[Pn,rn]))),Ec=ep(Yr(en,H(F(ts,1),Sl,64,0,[Pn,rn]))),Hc=ep(Yr(en,H(F(ts,1),Sl,64,0,[fn,Pn]))),Gl=ep(Yr(en,H(F(ts,1),Sl,64,0,[fn,Pn,rn])))}function bun(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe;for(t.Ug(Zft,1),L=new Le,Pe=new Le,m=new N(e.b);m.a0&&(ne-=P),nge(d,ne),v=0,T=new N(d.a);T.a0),h.a.Xb(h.c=--h.b)),b=.4*i*v,!c&&h.b0&&(b=(Zt(0,t.length),t.charCodeAt(0)),b!=64)){if(b==37&&(k=t.lastIndexOf("%"),m=!1,k!=0&&(k==T-1||(m=(Zt(k+1,t.length),t.charCodeAt(k+1)==46))))){if(d=(mo(1,k,t.length),t.substr(1,k-1)),ne=Et("%",d)?null:hge(d),i=0,m)try{i=zu((Zt(k+2,t.length+1),t.substr(k+2)),jo,Mr)}catch(se){throw se=li(se),te(se,130)?(h=se,B(new _L(h))):B(se)}for($=Ffe(e.Gh());$.Ob();)if(O=o$($),te(O,519)&&(s=u(O,598),J=s.d,(ne==null?J==null:Et(ne,J))&&i--==0))return s;return null}if(v=t.lastIndexOf("."),P=v==-1?t:(mo(0,v,t.length),t.substr(0,v)),n=0,v!=-1)try{n=zu((Zt(v+1,t.length+1),t.substr(v+1)),jo,Mr)}catch(se){if(se=li(se),te(se,130))P=t;else throw B(se)}for(P=Et("%",P)?null:hge(P),L=Ffe(e.Gh());L.Ob();)if(O=o$(L),te(O,197)&&(c=u(O,197),z=c.xe(),(P==null?z==null:Et(P,z))&&n--==0))return c;return null}return Hut(e,t)}function xun(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J;for(v=new On,b=new qb,i=new N(e.a.a.b);i.at.d.c){if(P=e.c[t.a.d],$=e.c[k.a.d],P==$)continue;cf(Ja(Ya(Qa(Xa(new Pa,1),100),P),$))}}}}}function Eun(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe;if(T=u(u($r(e.r,t),21),87),t==(ze(),fn)||t==rn){Yut(e,t);return}for(c=t==en?(iw(),yM):(iw(),kM),se=t==en?(yc(),zf):(yc(),df),n=u(gs(e.b,t),127),i=n.i,s=i.c+zy(H(F(uo,1),ws,28,15,[n.n.b,e.C.b,e.k])),z=i.c+i.b-zy(H(F(uo,1),ws,28,15,[n.n.c,e.C.c,e.k])),d=Ise(Kce(c),e.t),J=t==en?Hi:ii,k=T.Kc();k.Ob();)m=u(k.Pb(),117),!(!m.c||m.c.d.c.length<=0)&&($=m.b.Mf(),L=m.e,P=m.c,O=P.i,O.b=(b=P.n,P.e.a+b.b+b.c),O.a=(h=P.n,P.e.b+h.d+h.a),aI(se,Kge),P.f=se,Lf(P,(Yc(),ff)),O.c=L.a-(O.b-$.a)/2,ke=w.Math.min(s,L.a),Pe=w.Math.max(z,L.a+$.a),O.cPe&&(O.c=Pe-O.b),$e(d.d,new rG(O,Lde(d,O))),J=t==en?w.Math.max(J,L.b+m.b.Mf().b):w.Math.min(J,L.b));for(J+=t==en?e.t:-e.t,ne=Zde((d.e=J,d)),ne>0&&(u(gs(e.b,t),127).a.b=ne),v=T.Kc();v.Ob();)m=u(v.Pb(),117),!(!m.c||m.c.d.c.length<=0)&&(O=m.c.i,O.c-=m.e.a,O.d-=m.e.b)}function Tun(e){var t,n,i,s,c,d,h,b,m,v,k,T,P;for(t=new On,b=new hn(e);b.e!=b.i.gc();){for(h=u(mn(b),27),n=new _i,vr(CQ,h,n),P=new FH,s=u(Ks(new xt(null,new zb(new gn(wn(CP(h).a.Kc(),new j)))),wVe(P,Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)])))),85),JZe(n,u(s.xc((Gt(),!0)),16),new Uxe),i=u(Ks(Ar(u(s.xc(!1),15).Lc(),new Gxe),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),15),d=i.Kc();d.Ob();)c=u(d.Pb(),74),T=Zit(c),T&&(m=u(Rs(ss(t.f,T)),21),m||(m=Clt(T),Jl(t.f,T,m)),vo(n,m));for(s=u(Ks(new xt(null,new zb(new gn(wn(b1(h).a.Kc(),new j)))),wVe(P,Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws])))),85),JZe(n,u(s.xc(!0),16),new Wxe),i=u(Ks(Ar(u(s.xc(!1),15).Lc(),new Vxe),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),15),k=i.Kc();k.Ob();)v=u(k.Pb(),74),T=eot(v),T&&(m=u(Rs(ss(t.f,T)),21),m||(m=Clt(T),Jl(t.f,T,m)),vo(n,m))}}function Iun(e,t){Hq();var n,i,s,c,d,h,b,m,v,k,T,P,O,L;if(b=kl(e,0)<0,b&&(e=J1(e)),kl(e,0)==0)switch(t){case 0:return"0";case 1:return n8;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return P=new Hp,t<0?P.a+="0E+":P.a+="0E",P.a+=t==jo?"2147483648":""+-t,P.a}v=18,k=be(Ea,Yd,28,v+1,15,1),n=v,L=e;do m=L,L=dP(L,10),k[--n]=Vn(Ho(48,Ra(m,Ko(L,10))))&Di;while(kl(L,0)!=0);if(s=Ra(Ra(Ra(v,n),t),1),t==0)return b&&(k[--n]=45),Ud(k,n,v-n);if(t>0&&kl(s,-6)>=0){if(kl(s,0)>=0){for(c=n+Vn(s),h=v-1;h>=c;h--)k[h+1]=k[h];return k[++c]=46,b&&(k[--n]=45),Ud(k,n,v-n+1)}for(d=2;NK(d,Ho(J1(s),1));d++)k[--n]=48;return k[--n]=46,k[--n]=48,b&&(k[--n]=45),Ud(k,n,v-n)}return O=n+1,i=v,T=new V3,b&&(T.a+="-"),i-O>=1?(h0(T,k[n]),T.a+=".",T.a+=Ud(k,n+1,v-n-1)):T.a+=Ud(k,n,v-n),T.a+="E",kl(s,0)>0&&(T.a+="+"),T.a+=""+X7(s),T.a}function gw(e,t,n,i,s){var c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe;if($=new Me(e.g,e.f),L=M1e(e),L.a=w.Math.max(L.a,t),L.b=w.Math.max(L.b,n),Pe=L.a/$.a,v=L.b/$.b,se=L.a-$.a,b=L.b-$.b,i)for(d=ri(e)?u(Ie(ri(e),(gr(),nb)),88):u(Ie(e,(gr(),nb)),88),h=fe(Ie(e,(gr(),Mx)))===fe((fo(),Ul)),J=new hn((!e.c&&(e.c=new Se(ru,e,9,9)),e.c));J.e!=J.i.gc();)switch(z=u(mn(J),123),ne=u(Ie(z,J2),64),ne==(ze(),nl)&&(ne=Wpe(z,d),Br(z,J2,ne)),ne.g){case 1:h||oc(z,z.i*Pe);break;case 2:oc(z,z.i+se),h||sc(z,z.j*v);break;case 3:h||oc(z,z.i*Pe),sc(z,z.j+b);break;case 4:h||sc(z,z.j*v)}if(My(e,L.a,L.b),s)for(T=new hn((!e.n&&(e.n=new Se(ms,e,1,7)),e.n));T.e!=T.i.gc();)k=u(mn(T),135),P=k.i+k.g/2,O=k.j+k.f/2,ke=P/$.a,m=O/$.b,ke+m>=1&&(ke-m>0&&O>=0?(oc(k,k.i+se),sc(k,k.j+b*m)):ke-m<0&&P>=0&&(oc(k,k.i+se*ke),sc(k,k.j+b)));return Br(e,(gr(),rb),(Iu(),c=u(Pf(Dx),9),new ra(c,u(ef(c,c.length),9),0))),new Me(Pe,v)}function rat(e){Pb(e,new _0(yR(Eb(Cb(xb(Sb(new e0,wa),"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 QOe),wa))),Re(e,wa,nD,Ke(g2t)),Re(e,wa,av,Ke(b2t)),Re(e,wa,h2,Ke(f2t)),Re(e,wa,X4,Ke(d2t)),Re(e,wa,q4,Ke(h2t)),Re(e,wa,u8,Ke(a2t)),Re(e,wa,p9,Ke(r6e)),Re(e,wa,a8,Ke(p2t)),Re(e,wa,JY,Ke(xee)),Re(e,wa,YY,Ke(Eee)),Re(e,wa,uD,Ke(o6e)),Re(e,wa,QY,Ke(Tee)),Re(e,wa,ZY,Ke(s6e)),Re(e,wa,Zbe,Ke(l6e)),Re(e,wa,Qbe,Ke(i6e)),Re(e,wa,qbe,Ke(wB)),Re(e,wa,Xbe,Ke(mB)),Re(e,wa,Ybe,Ke(eO)),Re(e,wa,Jbe,Ke(c6e)),Re(e,wa,Vbe,Ke(n6e))}function Cj(e){var t,n,i,s,c,d,h,b,m,v,k;if(e==null)throw B(new $d(Cc));if(m=e,c=e.length,b=!1,c>0&&(t=(Zt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Zt(1,e.length+1),e.substr(1)),--c,b=t==45)),c==0)throw B(new $d(mw+m+'"'));for(;e.length>0&&(Zt(0,e.length),e.charCodeAt(0)==48);)e=(Zt(1,e.length+1),e.substr(1)),--c;if(c>(Lct(),Cpt)[10])throw B(new $d(mw+m+'"'));for(s=0;s0&&(k=-parseInt((mo(0,i,e.length),e.substr(0,i)),10),e=(Zt(i,e.length+1),e.substr(i)),c-=i,n=!1);c>=d;){if(i=parseInt((mo(0,d,e.length),e.substr(0,d)),10),e=(Zt(d,e.length+1),e.substr(d)),c-=d,n)n=!1;else{if(kl(k,h)<0)throw B(new $d(mw+m+'"'));k=Ko(k,v)}k=Ra(k,i)}if(kl(k,0)>0)throw B(new $d(mw+m+'"'));if(!b&&(k=J1(k),kl(k,0)<0))throw B(new $d(mw+m+'"'));return k}function hge(e){qq();var t,n,i,s,c,d,h,b;if(e==null)return null;if(s=jd(e,kc(37)),s<0)return e;for(b=new Ru((mo(0,s,e.length),e.substr(0,s))),t=be(Kc,w2,28,4,15,1),h=0,i=0,d=e.length;ss+2&&KW((Zt(s+1,e.length),e.charCodeAt(s+1)),G5e,W5e)&&KW((Zt(s+2,e.length),e.charCodeAt(s+2)),G5e,W5e))if(n=qjt((Zt(s+1,e.length),e.charCodeAt(s+1)),(Zt(s+2,e.length),e.charCodeAt(s+2))),s+=2,i>0?(n&192)==128?t[h++]=n<<24>>24:i=0:n>=128&&((n&224)==192?(t[h++]=n<<24>>24,i=2):(n&240)==224?(t[h++]=n<<24>>24,i=3):(n&248)==240&&(t[h++]=n<<24>>24,i=4)),i>0){if(h==i){switch(h){case 2:{h0(b,((t[0]&31)<<6|t[1]&63)&Di);break}case 3:{h0(b,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Di);break}}h=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i==0)n=(Up(),s=new Q_,s),Dn((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),n);else if((!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i>1)for(T=new n4((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));T.e!=T.i.gc();)BS(T);OP(t,u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166))}if(k)for(i=new hn((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));i.e!=i.i.gc();)for(n=u(mn(i),166),m=new hn((!n.a&&(n.a=new Ai(Yu,n,5)),n.a));m.e!=m.i.gc();)b=u(mn(m),377),h.a=w.Math.max(h.a,b.a),h.b=w.Math.max(h.b,b.b);for(d=new hn((!e.n&&(e.n=new Se(ms,e,1,7)),e.n));d.e!=d.i.gc();)c=u(mn(d),135),v=u(Ie(c,_x),8),v&&ta(c,v.a,v.b),k&&(h.a=w.Math.max(h.a,c.i+c.g),h.b=w.Math.max(h.b,c.j+c.f));return h}function oat(e,t,n,i,s){var c,d,h;if(iZe(e,t),d=t[0],c=Lo(n.c,0),h=-1,ade(n))if(i>0){if(d+i>e.length)return!1;h=J$((mo(0,d+i,e.length),e.substr(0,d+i)),t)}else h=J$(e,t);switch(c){case 71:return h=Zy(e,d,H(F(Je,1),_e,2,6,[Uat,Gat]),t),s.e=h,!0;case 77:return Krn(e,t,s,h,d);case 76:return Urn(e,t,s,h,d);case 69:return $Zt(e,t,d,s);case 99:return jZt(e,t,d,s);case 97:return h=Zy(e,d,H(F(Je,1),_e,2,6,["AM","PM"]),t),s.b=h,!0;case 121:return Grn(e,t,d,h,n,s);case 100:return h<=0?!1:(s.c=h,!0);case 83:return h<0?!1:JVt(h,d,t[0],s);case 104:h==12&&(h=0);case 75:case 72:return h<0?!1:(s.f=h,s.g=!1,!0);case 107:return h<0?!1:(s.f=h,s.g=!0,!0);case 109:return h<0?!1:(s.j=h,!0);case 115:return h<0?!1:(s.n=h,!0);case 90:if(dpt[b]&&($=b),k=new N(e.a.b);k.a1;){if(s=jnn(t),k=c.g,O=u(Ie(t,yx),107),L=le(pe(Ie(t,CB))),(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i>1&&le(pe(Ie(t,(xh(),Lee))))!=ii&&(c.c+(O.b+O.c))/(c.b+(O.d+O.a))1&&le(pe(Ie(t,(xh(),Aee))))!=ii&&(c.c+(O.b+O.c))/(c.b+(O.d+O.a))>L&&Br(s,(xh(),jv),w.Math.max(le(pe(Ie(t,vx))),le(pe(Ie(s,jv)))-le(pe(Ie(t,Aee))))),P=new yle(i,v),b=Eat(P,s,T),m=b.g,m>=k&&m==m){for(d=0;d<(!s.a&&(s.a=new Se(xr,s,10,11)),s.a).i;d++)Qot(e,u(re((!s.a&&(s.a=new Se(xr,s,10,11)),s.a),d),27),u(re((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),d),27));OZe(t,P),FBt(c,b.c),BBt(c,b.b)}--h}Br(t,(xh(),Y8),c.b),Br(t,h6,c.c),n.Vg()}function _un(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J;for(t.Ug("Interactive node layering",1),n=new Le,T=new N(e.a);T.a=h){yn(J.b>0),J.a.Xb(J.c=--J.b);break}else $.a>b&&(i?(zi(i.b,$.b),i.a=w.Math.max(i.a,$.a),Eu(J)):($e($.b,v),$.c=w.Math.min($.c,b),$.a=w.Math.max($.a,h),i=$));i||(i=new QBe,i.c=b,i.a=h,Pm(J,i),$e(i.b,v))}for(d=e.b,m=0,z=new N(n);z.aP&&(c&&(Wo(Pe,T),Wo(pt,Ae(m.b-1))),Tr=n.b,di+=T+t,T=0,v=w.Math.max(v,n.b+n.c+vn)),oc(h,Tr),sc(h,di),v=w.Math.max(v,Tr+vn+n.c),T=w.Math.max(T,k),Tr+=vn+t;if(v=w.Math.max(v,i),Ht=di+T+n.a,HtZd,dt=w.Math.abs(T.b-O.b)>Zd,(!n&&pt&&dt||n&&(pt||dt))&&or($.a,se)),vo($.a,i),i.b==0?T=se:T=(yn(i.b!=0),u(i.c.b.c,8)),wGt(P,k,L),_et(s)==Fe&&(Io(Fe.i)!=s.a&&(L=new po,E1e(L,Io(Fe.i),J)),Ee($,kZ,L)),ZQt(P,$,J),v.a.zc(P,v);zo($,ke),ao($,Fe)}for(m=v.a.ec().Kc();m.Ob();)b=u(m.Pb(),18),zo(b,null),ao(b,null);t.Vg()}function Lun(e,t){var n,i,s,c,d,h,b,m,v,k,T;for(s=u(A(e,(sl(),Kw)),88),v=s==(ji(),Ps)||s==Bs?vd:Bs,n=u(Ks(Ar(new xt(null,new Pt(e.b,16)),new iOe),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),b=u(Ks(As(n.Oc(),new vNe(t)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),15),b.Gc(u(Ks(As(n.Oc(),new yNe(t)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),16)),b.jd(new kNe(v)),T=new z1(new CNe(s)),i=new On,h=b.Kc();h.Ob();)d=u(h.Pb(),240),m=u(d.a,40),qe(Ve(d.c))?(T.a.zc(m,(Gt(),kg))==null,new pk(T.a.Zc(m,!1)).a.gc()>0&&vr(i,m,u(new pk(T.a.Zc(m,!1)).a.Vc(),40)),new pk(T.a.ad(m,!0)).a.gc()>1&&vr(i,$nt(T,m),m)):(new pk(T.a.Zc(m,!1)).a.gc()>0&&(c=u(new pk(T.a.Zc(m,!1)).a.Vc(),40),fe(c)===fe(Rs(ss(i.f,m)))&&u(A(m,(Wr(),oee)),15).Fc(c)),new pk(T.a.ad(m,!0)).a.gc()>1&&(k=$nt(T,m),fe(Rs(ss(i.f,k)))===fe(m)&&u(A(k,(Wr(),oee)),15).Fc(m)),T.a.Bc(m)!=null)}function sat(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new CL;for(s=e.Kc();s.Ob();){for(n=u(s.Pb(),235),O=0,v=Mr,k=Mr,b=jo,m=jo,P=new N(n.e);P.ah&&(ne=0,se+=d+z,d=0),son(L,n,ne,se),t=w.Math.max(t,ne+$.a),d=w.Math.max(d,$.b),ne+=$.a+z;return L}function $un(e){Gpe();var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$;if(e==null||(c=AL(e),O=uVt(c),O%4!=0))return null;if(L=O/4|0,L==0)return be(Kc,w2,28,0,15,1);for(k=null,t=0,n=0,i=0,s=0,d=0,h=0,b=0,m=0,P=0,T=0,v=0,k=be(Kc,w2,28,L*3,15,1);P>4)<<24>>24,k[T++]=((n&15)<<4|i>>2&15)<<24>>24,k[T++]=(i<<6|s)<<24>>24}return!vT(d=c[v++])||!vT(h=c[v++])?null:(t=xd[d],n=xd[h],b=c[v++],m=c[v++],xd[b]==-1||xd[m]==-1?b==61&&m==61?n&15?null:($=be(Kc,w2,28,P*3+1,15,1),Ol(k,0,$,0,P*3),$[T]=(t<<2|n>>4)<<24>>24,$):b!=61&&m==61?(i=xd[b],i&3?null:($=be(Kc,w2,28,P*3+2,15,1),Ol(k,0,$,0,P*3),$[T++]=(t<<2|n>>4)<<24>>24,$[T]=((n&15)<<4|i>>2&15)<<24>>24,$)):null:(i=xd[b],s=xd[m],k[T++]=(t<<2|n>>4)<<24>>24,k[T++]=((n&15)<<4|i>>2&15)<<24>>24,k[T++]=(i<<6|s)<<24>>24,k))}function jun(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke;for(t.Ug(Zft,1),O=u(A(e,(Ue(),x1)),223),s=new N(e.b);s.a=2){for(L=!0,T=new N(c.j),n=u(D(T),12),P=null;T.a0)if(i=k.gc(),m=Wi(w.Math.floor((i+1)/2))-1,s=Wi(w.Math.ceil((i+1)/2))-1,t.o==wd)for(v=s;v>=m;v--)t.a[se.p]==se&&(L=u(k.Xb(v),42),O=u(L.a,10),!Mf(n,L.b)&&P>e.b.e[O.p]&&(t.a[O.p]=se,t.g[se.p]=t.g[O.p],t.a[se.p]=t.g[se.p],t.f[t.g[se.p].p]=(Gt(),!!(qe(t.f[t.g[se.p].p])&se.k==(nn(),io))),P=e.b.e[O.p]));else for(v=m;v<=s;v++)t.a[se.p]==se&&(z=u(k.Xb(v),42),$=u(z.a,10),!Mf(n,z.b)&&P0&&(s=u(Ye($.c.a,Pe-1),10),d=e.i[s.p],pt=w.Math.ceil(_y(e.n,s,$)),c=ke.a.e-$.d.d-(d.a.e+s.o.b+s.d.a)-pt),m=ii,Pe<$.c.a.c.length-1&&(b=u(Ye($.c.a,Pe+1),10),v=e.i[b.p],pt=w.Math.ceil(_y(e.n,b,$)),m=v.a.e-b.d.d-(ke.a.e+$.o.b+$.d.a)-pt),n&&(Yf(),of(nh),w.Math.abs(c-m)<=nh||c==m||isNaN(c)&&isNaN(m))?!0:(i=hG(ne.a),h=-hG(ne.b),k=-hG(Fe.a),J=hG(Fe.b),L=ne.a.e.e-ne.a.a-(ne.b.e.e-ne.b.a)>0&&Fe.a.e.e-Fe.a.a-(Fe.b.e.e-Fe.b.a)<0,O=ne.a.e.e-ne.a.a-(ne.b.e.e-ne.b.a)<0&&Fe.a.e.e-Fe.a.a-(Fe.b.e.e-Fe.b.a)>0,P=ne.a.e.e+ne.b.aFe.b.e.e+Fe.a.a,se=0,!L&&!O&&(T?c+k>0?se=k:m-i>0&&(se=i):P&&(c+h>0?se=h:m-J>0&&(se=J))),ke.a.e+=se,ke.b&&(ke.d.e+=se),!1))}function cat(e,t,n){var i,s,c,d,h,b,m,v,k,T;if(i=new ia(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),s=new e4,e.c)for(d=new N(t.Rf());d.am&&(i.a+=LUe(be(Ea,Yd,28,-m,15,1))),i.a+="Is",jd(b,kc(32))>=0)for(s=0;s=i.o.b/2}else J=!k;J?(z=u(A(i,(Oe(),f6)),15),z?T?c=z:(s=u(A(i,s6),15),s?z.gc()<=s.gc()?c=z:c=s:(c=new Le,Ee(i,s6,c))):(c=new Le,Ee(i,f6,c))):(s=u(A(i,(Oe(),s6)),15),s?k?c=s:(z=u(A(i,f6),15),z?s.gc()<=z.gc()?c=s:c=z:(c=new Le,Ee(i,f6,c))):(c=new Le,Ee(i,s6,c))),c.Fc(e),Ee(e,(Oe(),RN),n),t.d==n?(ao(t,null),n.e.c.length+n.g.c.length==0&&Js(n,null),eWt(n)):(zo(t,null),n.e.c.length+n.g.c.length==0&&Js(n,null)),Au(t.a)}function Fun(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn,Tr,di;for(n.Ug("MinWidth layering",1),P=t.b,Fe=t.a,di=u(A(t,(Ue(),a3e)),17).a,h=u(A(t,f3e),17).a,e.b=le(pe(A(t,pf))),e.d=ii,se=new N(Fe);se.a0?(m=0,$&&(m+=h),m+=(dt-1)*d,ne&&(m+=h),pt&&ne&&(m=w.Math.max(m,srn(ne,d,J,Fe))),m=e.a&&(i=Csn(e,J),v=w.Math.max(v,i.b),se=w.Math.max(se,i.d),$e(h,new Gi(J,i)));for(pt=new Le,m=0;m0),$.a.Xb($.c=--$.b),dt=new Ll(e.b),Pm($,dt),yn($.b<$.d.gc()),$.d.Xb($.c=$.b++),dt));for(d=new N(h);d.a0){for(T=v<100?null:new Kp(v),m=new Vfe(t),O=m.g,z=be(Bn,ur,28,v,15,1),i=0,se=new Qb(v),s=0;s=0;)if(P!=null?Rr(P,O[b]):fe(P)===fe(O[b])){z.length<=i&&($=z,z=be(Bn,ur,28,2*z.length,15,1),Ol($,0,z,0,i)),z[i++]=s,Dn(se,O[b]);break e}if(P=P,fe(P)===fe(h))break}}if(m=se,O=se.g,v=i,i>z.length&&($=z,z=be(Bn,ur,28,i,15,1),Ol($,0,z,0,i)),i>0){for(ne=!0,c=0;c=0;)R4(e,z[d]);if(i!=v){for(s=v;--s>=i;)R4(m,s);$=z,z=be(Bn,ur,28,i,15,1),Ol($,0,z,0,i)}t=m}}}else for(t=rYt(e,t),s=e.i;--s>=0;)t.Hc(e.g[s])&&(R4(e,s),ne=!0);if(ne){if(z!=null){for(n=t.gc(),k=n==1?rS(e,4,t.Kc().Pb(),null,z[0],L):rS(e,6,t,z,z[0],L),T=n<100?null:new Kp(n),s=t.Kc();s.Ob();)P=s.Pb(),T=jce(e,u(P,76),T);T?(T.nj(k),T.oj()):_r(e.e,k)}else{for(T=uLt(t.gc()),s=t.Kc();s.Ob();)P=s.Pb(),T=jce(e,u(P,76),T);T&&T.oj()}return!0}else return!1}function Kun(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne;for(n=new Irt(t),n.a||won(t),m=gin(t),b=new qb,$=new Mlt,L=new N(t.a);L.a0||n.o==wd&&s=n}function Gun(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn;for(ne=t,J=new qb,se=new qb,v=Jb(ne,$we),i=new Lqe(e,n,J,se),fZt(i.a,i.b,i.c,i.d,v),b=(Fe=J.i,Fe||(J.i=new Ly(J,J.c))),dt=b.Kc();dt.Ob();)for(pt=u(dt.Pb(),166),s=u($r(J,pt),21),L=s.Kc();L.Ob();)if(O=L.Pb(),ke=u(Hy(e.d,O),166),ke)h=(!pt.e&&(pt.e=new jt(ei,pt,10,9)),pt.e),Dn(h,ke);else throw d=r1(ne,rh),T=Tht+O+Iht+d,P=T+v8,B(new Ld(P));for(m=(Pe=se.i,Pe||(se.i=new Ly(se,se.c))),Ht=m.Kc();Ht.Ob();)for(zt=u(Ht.Pb(),166),c=u($r(se,zt),21),z=c.Kc();z.Ob();)if($=z.Pb(),ke=u(Hy(e.d,$),166),ke)k=(!zt.g&&(zt.g=new jt(ei,zt,9,10)),zt.g),Dn(k,ke);else throw d=r1(ne,rh),T=Tht+$+Iht+d,P=T+v8,B(new Ld(P));!n.b&&(n.b=new jt(Tn,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new jt(Tn,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new jt(Tn,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new jt(Tn,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new Se(ei,n,6,6)),n.a).i==1&&(vn=u(re((!n.a&&(n.a=new Se(ei,n,6,6)),n.a),0),166),!RV(vn)&&!AV(vn)&&(qL(vn,u(re((!n.b&&(n.b=new jt(Tn,n,4,7)),n.b),0),84)),XL(vn,u(re((!n.c&&(n.c=new jt(Tn,n,5,8)),n.c),0),84))))}function Wun(e){var t,n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt;for(ne=e.a,se=0,ke=ne.length;se0?(k=u(Ye(T.c.a,d-1),10),pt=_y(e.b,T,k),$=T.n.b-T.d.d-(k.n.b+k.o.b+k.d.a+pt)):$=T.n.b-T.d.d,m=w.Math.min($,m),d1&&(d=w.Math.min(d,w.Math.abs(u(ga(h.a,1),8).b-v.b)))));else for(L=new N(t.j);L.as&&(c=T.a-s,d=Mr,i.c.length=0,s=T.a),T.a>=s&&(Ft(i.c,h),h.a.b>1&&(d=w.Math.min(d,w.Math.abs(u(ga(h.a,h.a.b-2),8).b-T.b)))));if(i.c.length!=0&&c>t.o.a/2&&d>t.o.b/2){for(P=new Ml,Js(P,t),Vi(P,(ze(),en)),P.n.a=t.o.a/2,z=new Ml,Js(z,t),Vi(z,Pn),z.n.a=t.o.a/2,z.n.b=t.o.b,b=new N(i);b.a=m.b?zo(h,z):zo(h,P)):(m=u(Djt(h.a),8),$=h.a.b==0?ed(h.c):u(Za(h.a),8),$.b>=m.b?ao(h,z):ao(h,P)),k=u(A(h,(Ue(),Is)),75),k&&Wm(k,m,!0);t.n.a=s-t.o.a/2}}function qun(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(h=Ln(e.b,0);h.b!=h.d.c;)if(d=u(_n(h),40),!Et(d.c,sD))for(m=vtn(d,e),t==(ji(),Ps)||t==Bs?Mi(m,new MOe):Mi(m,new OOe),b=m.c.length,i=0;i=0?P=P4(h):P=tP(P4(h)),e.qf(z8,P)),m=new po,T=!1,e.pf(Nw)?(sce(m,u(e.of(Nw),8)),T=!0):iAt(m,d.a/2,d.b/2),P.g){case 4:Ee(v,fc,(pa(),Tg)),Ee(v,LN,(E0(),I2)),v.o.b=d.b,L<0&&(v.o.a=-L),Vi(k,(ze(),fn)),T||(m.a=d.a),m.a-=d.a;break;case 2:Ee(v,fc,(pa(),Ev)),Ee(v,LN,(E0(),L8)),v.o.b=d.b,L<0&&(v.o.a=-L),Vi(k,(ze(),rn)),T||(m.a=0);break;case 1:Ee(v,W0,(c1(),M2)),v.o.a=d.a,L<0&&(v.o.b=-L),Vi(k,(ze(),Pn)),T||(m.b=d.b),m.b-=d.b;break;case 3:Ee(v,W0,(c1(),o6)),v.o.a=d.a,L<0&&(v.o.b=-L),Vi(k,(ze(),en)),T||(m.b=0)}if(sce(k.n,m),Ee(v,Nw,m),t==ob||t==Bh||t==Ul){if(O=0,t==ob&&e.pf(bp))switch(P.g){case 1:case 2:O=u(e.of(bp),17).a;break;case 3:case 4:O=-u(e.of(bp),17).a}else switch(P.g){case 4:case 2:O=c.b,t==Bh&&(O/=s.b);break;case 1:case 3:O=c.a,t==Bh&&(O/=s.a)}Ee(v,Aw,O)}return Ee(v,fl,P),v}function Xun(){_se();function e(i){var s=this;this.dispatch=function(c){var d=c.data;switch(d.cmd){case"algorithms":var h=Qde((Ot(),new hk(new Yh(Dg.b))));i.postMessage({id:d.id,data:h});break;case"categories":var b=Qde((Ot(),new hk(new Yh(Dg.c))));i.postMessage({id:d.id,data:b});break;case"options":var m=Qde((Ot(),new hk(new Yh(Dg.d))));i.postMessage({id:d.id,data:m});break;case"register":Qln(d.algorithms),i.postMessage({id:d.id});break;case"layout":Isn(d.graph,d.layoutOptions||{},d.options||{}),i.postMessage({id:d.id,data:d.graph});break}},this.saveDispatch=function(c){try{s.dispatch(c)}catch(d){i.postMessage({id:c.data.id,error:d})}}}function t(i){var s=this;this.dispatcher=new e({postMessage:function(c){s.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){s.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===FX&&typeof self!==FX){var n=new e(self);self.onmessage=n.saveDispatch}else typeof a!==FX&&a.exports&&(Object.defineProperty(p,"__esModule",{value:!0}),a.exports={default:t,Worker:t})}function pat(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(v=new g1(n),js(v,t),Ee(v,(Oe(),jr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,$e(n.a,v),vr(e.a,t,v),((!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i!=0||qe(Ve(Ie(t,(Ue(),Pv)))))&&Ee(v,s2e,(Gt(),!0)),m=u(A(n,Kl),21),k=u(A(v,(Ue(),yi)),101),k==(fo(),Lg)?Ee(v,yi,kd):k!=kd&&m.Fc((cs(),D8)),T=0,i=u(A(n,Wu),88),b=new hn((!t.c&&(t.c=new Se(ru,t,9,9)),t.c));b.e!=b.i.gc();)h=u(mn(b),123),s=ri(t),(fe(Ie(s,$h))!==fe((Gd(),wp))||fe(Ie(s,q0))===fe((ip(),A8))||fe(Ie(s,q0))===fe((ip(),R8))||qe(Ve(Ie(s,$w)))||fe(Ie(s,Tv))!==fe((P0(),yv))||fe(Ie(s,Ig))===fe((La(),zw))||fe(Ie(s,Ig))===fe((La(),Av))||fe(Ie(s,Y0))===fe((up(),G8))||fe(Ie(s,Y0))===fe((up(),W8)))&&!qe(Ve(Ie(t,zN)))&&Br(h,Hr,Ae(T++)),qe(Ve(Ie(h,Q0)))||oun(e,h,v,m,i,k);for(d=new hn((!t.n&&(t.n=new Se(ms,t,1,7)),t.n));d.e!=d.i.gc();)c=u(mn(d),135),!qe(Ve(Ie(c,Q0)))&&c.a&&$e(v.b,oV(c));return qe(Ve(A(v,Z9)))&&m.Fc((cs(),MN)),qe(Ve(A(v,GN)))&&(m.Fc((cs(),ON)),m.Fc(V9),Ee(v,yi,kd)),v}function tX(e,t,n,i,s,c,d){var h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn,Tr,di;for(L=0,zt=0,m=new N(e.b);m.aL&&(c&&(Wo(Pe,P),Wo(pt,Ae(v.b-1)),$e(e.d,O),h.c.length=0),Tr=n.b,di+=P+t,P=0,k=w.Math.max(k,n.b+n.c+vn)),Ft(h.c,b),vrt(b,Tr,di),k=w.Math.max(k,Tr+vn+n.c),P=w.Math.max(P,T),Tr+=vn+t,O=b;if(zi(e.a,h),$e(e.d,u(Ye(h,h.c.length-1),163)),k=w.Math.max(k,i),Ht=di+P+n.a,Hts.d.d+s.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),i.b!=i.d.c&&(t=n);v&&(c=u(pn(e.f,d.d.i),60),t.bc.d.d+c.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(h=new gn(wn(eo(P).a.Kc(),new j));$n(h);)d=u(xn(h),18),d.a.b!=0&&(t=u(Za(d.a),8),d.d.j==(ze(),en)&&($=new ZS(t,new Me(t.a,s.d.d),s,d),$.f.a=!0,$.a=d.d,Ft(L.c,$)),d.d.j==Pn&&($=new ZS(t,new Me(t.a,s.d.d+s.d.a),s,d),$.f.d=!0,$.a=d.d,Ft(L.c,$)))}return L}function tan(e,t,n){var i,s,c,d,h,b,m,v,k,T;for(b=new Le,k=t.length,d=ude(n),m=0;m=O&&(J>O&&(P.c.length=0,O=J),Ft(P.c,d));P.c.length!=0&&(T=u(Ye(P,$$(t,P.c.length)),131),Ht.a.Bc(T)!=null,T.s=L++,lpe(T,dt,Pe),P.c.length=0)}for(se=e.c.length+1,h=new N(e);h.azt.s&&(Eu(n),vc(zt.i,i),i.c>0&&(i.a=zt,$e(zt.t,i),i.b=Fe,$e(Fe.i,i)))}function gat(e,t,n,i,s){var c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht;for(L=new ql(t.b),se=new ql(t.b),T=new ql(t.b),pt=new ql(t.b),$=new ql(t.b),Fe=Ln(t,0);Fe.b!=Fe.d.c;)for(ke=u(_n(Fe),12),h=new N(ke.g);h.a0,z=ke.g.c.length>0,m&&z?Ft(T.c,ke):m?Ft(L.c,ke):z&&Ft(se.c,ke);for(O=new N(L);O.aJ.nh()-m.b&&(T=J.nh()-m.b),P>J.oh()-m.d&&(P=J.oh()-m.d),v0){for(ne=Ln(e.f,0);ne.b!=ne.d.c;)J=u(_n(ne),10),J.p+=T-e.e;T1e(e),Au(e.f),kpe(e,i,P)}else{for(or(e.f,P),P.p=i,e.e=w.Math.max(e.e,i),c=new gn(wn(eo(P).a.Kc(),new j));$n(c);)s=u(xn(c),18),!s.c.i.c&&s.c.i.k==(nn(),El)&&(or(e.f,s.c.i),s.c.i.p=i-1);e.c=i}else T1e(e),Au(e.f),i=0,$n(new gn(wn(eo(P).a.Kc(),new j)))?(T=0,T=xrt(T,P),i=T+2,kpe(e,i,P)):(or(e.f,P),P.p=0,e.e=w.Math.max(e.e,0),e.b=u(Ye(e.d.b,0),30),e.c=0);for(e.f.b==0||T1e(e),e.d.a.c.length=0,z=new Le,m=new N(e.d.b);m.a=48&&t<=57){for(i=t-48;s=48&&t<=57;)if(i=i*10+t-48,i<0)throw B(new er(ir((Yn(),qwe))))}else throw B(new er(ir((Yn(),Zht))));if(n=i,t==44){if(s>=e.j)throw B(new er(ir((Yn(),t1t))));if((t=Lo(e.i,s++))>=48&&t<=57){for(n=t-48;s=48&&t<=57;)if(n=n*10+t-48,n<0)throw B(new er(ir((Yn(),qwe))));if(i>n)throw B(new er(ir((Yn(),n1t))))}else n=-1}if(t!=125)throw B(new er(ir((Yn(),e1t))));e.bm(s)?(c=(Ir(),Ir(),new jm(9,c)),e.d=s+1):(c=(Ir(),Ir(),new jm(3,c)),e.d=s),c.Om(i),c.Nm(n),Er(e)}}return c}function lan(e){var t,n,i,s,c;switch(n=u(A(e,(Oe(),Kl)),21),t=cA(x0t),s=u(A(e,(Ue(),Iv)),346),s==(f1(),Cp)&&Bu(t,E0t),qe(Ve(A(e,OZ)))?cr(t,($o(),hf),(Uo(),BQ)):cr(t,($o(),_l),(Uo(),BQ)),A(e,(TL(),xx))!=null&&Bu(t,T0t),(qe(Ve(A(e,l3e)))||qe(Ve(A(e,r3e))))&&$c(t,($o(),Ns),(Uo(),nye)),u(A(e,Wu),88).g){case 2:case 3:case 4:$c(cr(t,($o(),hf),(Uo(),iye)),Ns,rye)}switch(n.Hc((cs(),MN))&&$c(cr(cr(t,($o(),hf),(Uo(),tye)),zl,Zve),Ns,eye),fe(A(e,Ig))!==fe((La(),rB))&&cr(t,($o(),_l),(Uo(),vye)),n.Hc(_N)&&(cr(t,($o(),hf),(Uo(),Sye)),cr(t,Ah,kye),cr(t,_l,Cye)),fe(A(e,BN))!==fe((N5(),W9))&&fe(A(e,x1))!==fe((d1(),gO))&&$c(t,($o(),Ns),(Uo(),hye)),qe(Ve(A(e,o3e)))&&cr(t,($o(),_l),(Uo(),dye)),qe(Ve(A(e,TZ)))&&cr(t,($o(),_l),(Uo(),xye)),ynn(e)&&(fe(A(e,Iv))===fe(Cp)?i=u(A(e,zM),299):i=u(A(e,EZ),299),c=i==(g5(),aZ)?(Uo(),yye):(Uo(),Iye),cr(t,($o(),zl),c)),u(A(e,A3e),388).g){case 1:cr(t,($o(),zl),(Uo(),Eye));break;case 2:$c(cr(cr(t,($o(),_l),(Uo(),Xve)),zl,Yve),Ns,Jve)}return fe(A(e,$h))!==fe((Gd(),wp))&&cr(t,($o(),_l),(Uo(),Tye)),t}function vat(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne;if(rc(e.a,t)){if(Mf(u(pn(e.a,t),49),n))return 1}else vr(e.a,t,new _i);if(rc(e.a,n)){if(Mf(u(pn(e.a,n),49),t))return-1}else vr(e.a,n,new _i);if(rc(e.e,t)){if(Mf(u(pn(e.e,t),49),n))return-1}else vr(e.e,t,new _i);if(rc(e.e,n)){if(Mf(u(pn(e.a,n),49),t))return 1}else vr(e.e,n,new _i);if(e.c==(Gd(),WZ)||!Xr(t,(Oe(),Hr))||!Xr(n,(Oe(),Hr))){for(k=null,m=new N(t.j);m.ad?G5(e,t,n):G5(e,n,t),sd?1:0}return i=u(A(t,(Oe(),Hr)),17).a,c=u(A(n,Hr),17).a,i>c?G5(e,t,n):G5(e,n,t),ic?1:0}function bw(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$;if(n==null)return null;if(e.a!=t.jk())throw B(new Qt(w8+t.xe()+xw));if(te(t,469)){if($=Qrn(u(t,685),n),!$)throw B(new Qt(hJ+n+"' is not a valid enumerator of '"+t.xe()+"'"));return $}switch(tp((Nc(),_o),t).Nl()){case 2:{n=Nl(n,!1);break}case 3:{n=Nl(n,!0);break}}if(i=tp(_o,t).Jl(),i)return i.jk().wi().ti(i,n);if(T=tp(_o,t).Ll(),T){for($=new Le,m=YW(n),v=0,k=m.length;v1)for(O=new n4((!e.a&&(e.a=new Se(ei,e,6,6)),e.a));O.e!=O.i.gc();)BS(O);for(d=u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166),$=Tr,Tr>ke+se?$=ke+se:TrPe+L?z=Pe+L:dike-se&&$Pe-L&&zTr+vn?pt=Tr+vn:kedi+Fe?dt=di+Fe:PeTr-vn&&ptdi-Fe&&dtn&&(T=n-1),P=Mp+fu(t,24)*VP*k-k/2,P<0?P=1:P>i&&(P=i-1),s=(Up(),b=new J_,b),HL(s,T),zL(s,P),Dn((!d.a&&(d.a=new Ai(Yu,d,5)),d.a),s)}function yat(e){Pb(e,new _0(Eb(Cb(xb(Sb(new e0,pu),"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 c_e))),Re(e,pu,V4,1.3),Re(e,pu,c8,(Gt(),!1)),Re(e,pu,vw,I6e),Re(e,pu,av,15),Re(e,pu,tD,Ke(D2t)),Re(e,pu,h2,Ke(F2t)),Re(e,pu,X4,Ke(H2t)),Re(e,pu,q4,Ke(K2t)),Re(e,pu,u8,Ke(B2t)),Re(e,pu,p9,Ke(jee)),Re(e,pu,a8,Ke(U2t)),Re(e,pu,cwe,Ke(_6e)),Re(e,pu,uwe,Ke(O6e)),Re(e,pu,lwe,Ke(Nee)),Re(e,pu,swe,Ke(R6e)),Re(e,pu,awe,Ke(T6e)),Re(e,pu,fwe,Ke(Dee)),Re(e,pu,dwe,Ke(E6e)),Re(e,pu,hwe,Ke(M6e)),Re(e,pu,h9,Ke(x6e)),Re(e,pu,rD,Ke(N2t)),Re(e,pu,iwe,Ke(nO)),Re(e,pu,rwe,Ke(S6e)),Re(e,pu,owe,Ke(rO)),Re(e,pu,nwe,Ke(P6e))}function rX(e,t){Hq();var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe;if(ne=e.e,v=e.d,s=e.a,ne==0)switch(t){case 0:return"0";case 1:return n8;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 z=new Hp,z.a+="0E",z.a+=-t,z.a}if(L=v*10+1+7,$=be(Ea,Yd,28,L+1,15,1),n=L,v==1)if(c=s[0],c<0){Fe=Yi(c,us);do k=Fe,Fe=dP(Fe,10),$[--n]=48+Vn(Ra(k,Ko(Fe,10)))&Di;while(kl(Fe,0)!=0)}else{Fe=c;do k=Fe,Fe=Fe/10|0,$[--n]=48+(k-Fe*10)&Di;while(Fe!=0)}else{se=be(Bn,ur,28,v,15,1),Pe=v,Ol(s,0,se,0,Pe);e:for(;;){for(J=0,h=Pe-1;h>=0;h--)ke=Ho(nf(J,32),Yi(se[h],us)),P=YJt(ke),se[h]=Vn(P),J=Vn(Bb(P,32));O=Vn(J),T=n;do $[--n]=48+O%10&Di;while((O=O/10|0)!=0&&n!=0);for(i=9-T+n,d=0;d0;d++)$[--n]=48;for(b=Pe-1;se[b]==0;b--)if(b==0)break e;Pe=b+1}for(;$[n]==48;)++n}return m=ne<0,m&&($[--n]=45),Ud($,n,L-n)}function kat(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe;switch(e.c=t,e.g=new On,n=(Mb(),new kb(e.c)),i=new sR(n),Xde(i),ne=Jn(Ie(e.c,(pP(),J6e))),b=u(Ie(e.c,qee),324),ke=u(Ie(e.c,Xee),437),d=u(Ie(e.c,q6e),490),se=u(Ie(e.c,Vee),438),e.j=le(pe(Ie(e.c,i3t))),h=e.a,b.g){case 0:h=e.a;break;case 1:h=e.b;break;case 2:h=e.i;break;case 3:h=e.e;break;case 4:h=e.f;break;default:throw B(new Qt(dD+(b.f!=null?b.f:""+b.g)))}if(e.d=new dXe(h,ke,d),Ee(e.d,(d5(),z9),Ve(Ie(e.c,n3t))),e.d.c=qe(Ve(Ie(e.c,X6e))),rL(e.c).i==0)return e.d;for(k=new hn(rL(e.c));k.e!=k.i.gc();){for(v=u(mn(k),27),P=v.g/2,T=v.f/2,Pe=new Me(v.i+P,v.j+T);rc(e.g,Pe);)jb(Pe,(w.Math.random()-.5)*Zd,(w.Math.random()-.5)*Zd);L=u(Ie(v,(gr(),Q8)),140),$=new TXe(Pe,new ia(Pe.a-P-e.j/2-L.b,Pe.b-T-e.j/2-L.d,v.g+e.j+(L.b+L.c),v.f+e.j+(L.d+L.a))),$e(e.d.i,$),vr(e.g,Pe,new Gi($,v))}switch(se.g){case 0:if(ne==null)e.d.d=u(Ye(e.d.i,0),68);else for(J=new N(e.d.i);J.a0?vn+1:1);for(d=new N(Pe.g);d.a0?vn+1:1)}e.c[m]==0?or(e.e,L):e.a[m]==0&&or(e.f,L),++m}for(O=-1,P=1,k=new Le,e.d=u(A(t,(Oe(),a6)),234);Ju>0;){for(;e.e.b!=0;)di=u(qU(e.e),10),e.b[di.p]=O--,Npe(e,di),--Ju;for(;e.f.b!=0;)iu=u(qU(e.f),10),e.b[iu.p]=P++,Npe(e,iu),--Ju;if(Ju>0){for(T=jo,J=new N(ne);J.a=T&&(se>T&&(k.c.length=0,T=se),Ft(k.c,L)));v=e.sg(k),e.b[v.p]=P++,Npe(e,v),--Ju}}for(Tr=ne.c.length+1,m=0;me.b[Ms]&&(pw(i,!0),Ee(t,DM,(Gt(),!0)));e.a=null,e.c=null,e.b=null,Au(e.f),Au(e.e),n.Vg()}function Cat(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe;for(ke=u(re((!e.a&&(e.a=new Se(ei,e,6,6)),e.a),0),166),v=new _c,se=new On,Pe=_ct(ke),Jl(se.f,ke,Pe),T=new On,i=new Zr,O=mh(Du(H(F(Gu,1),Bt,20,0,[(!t.d&&(t.d=new jt(Ti,t,8,5)),t.d),(!t.e&&(t.e=new jt(Ti,t,7,4)),t.e)])));$n(O);){if(P=u(xn(O),74),(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i!=1)throw B(new Qt(cht+(!e.a&&(e.a=new Se(ei,e,6,6)),e.a).i));P!=e&&($=u(re((!P.a&&(P.a=new Se(ei,P,6,6)),P.a),0),166),gi(i,$,i.c.b,i.c),L=u(Rs(ss(se.f,$)),13),L||(L=_ct($),Jl(se.f,$,L)),k=n?Xi(new Vo(u(Ye(Pe,Pe.c.length-1),8)),u(Ye(L,L.c.length-1),8)):Xi(new Vo((_t(0,Pe.c.length),u(Pe.c[0],8))),(_t(0,L.c.length),u(L.c[0],8))),Jl(T.f,$,k))}if(i.b!=0)for(z=u(Ye(Pe,n?Pe.c.length-1:0),8),m=1;m1&&gi(v,z,v.c.b,v.c),kW(s)));z=J}return v}function Sat(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt;for(n.Ug(Sdt,1),zt=u(Ks(Ar(new xt(null,new Pt(t,16)),new DOe),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),v=u(Ks(Ar(new xt(null,new Pt(t,16)),new xNe(t)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),15),O=u(Ks(Ar(new xt(null,new Pt(t,16)),new SNe(t)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[Ws]))),15),L=be(aB,lD,40,t.gc(),0,1),d=0;d=0&&dt=0&&!L[P]){L[P]=s,v.gd(h),--h;break}if(P=dt-T,P=0&&!L[P]){L[P]=s,v.gd(h),--h;break}}for(O.jd(new NOe),b=L.length-1;b>=0;b--)!L[b]&&!O.dc()&&(L[b]=u(O.Xb(0),40),O.gd(0));for(m=0;m=0;b--)or(n,(_t(b,d.c.length),u(d.c[b],8)));return n}function Eat(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;for(ne=le(pe(Ie(t,(xh(),jv)))),P=le(pe(Ie(t,vx))),T=le(pe(Ie(t,yB))),zfe((!t.a&&(t.a=new Se(xr,t,10,11)),t.a)),z=gut((!t.a&&(t.a=new Se(xr,t,10,11)),t.a),ne,e.b),$=0;$T&&aP((_t(T,t.c.length),u(t.c[T],186)),v),v=null;t.c.length>T&&(_t(T,t.c.length),u(t.c[T],186)).a.c.length==0;)vc(t,(_t(T,t.c.length),t.c[T]));if(!v){--d;continue}if(!qe(Ve(u(Ye(v.b,0),27).of((ud(),rO))))&&Oon(t,O,c,v,$,n,T,i)){L=!0;continue}if($){if(P=O.b,k=v.f,!qe(Ve(u(Ye(v.b,0),27).of(rO)))&&Xln(t,O,c,v,n,T,i,s)){if(L=!0,P=e.j){e.a=-1,e.c=1;return}if(t=Lo(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(i=10,e.d>=e.j)throw B(new er(ir((Yn(),vD))));e.a=Lo(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Lo(e.i,e.d)!=63)break;if(++e.d>=e.j)throw B(new er(ir((Yn(),TJ))));switch(t=Lo(e.i,e.d++),t){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(e.d>=e.j)throw B(new er(ir((Yn(),TJ))));if(t=Lo(e.i,e.d++),t==61)i=16;else if(t==33)i=17;else throw B(new er(ir((Yn(),$ht))));break;case 35:for(;e.d=e.j)throw B(new er(ir((Yn(),vD))));e.a=Lo(e.i,e.d++);break;default:i=0}e.c=i}function wan(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$;if(n.Ug("Process compaction",1),!!qe(Ve(A(t,(sl(),R4e))))){for(s=u(A(t,Kw),88),P=le(pe(A(t,hee))),Usn(e,t,s),Lun(t,P/2/2),O=t.b,k0(O,new bNe(s)),m=Ln(O,0);m.b!=m.d.c;)if(b=u(_n(m),40),!qe(Ve(A(b,(Wr(),Og))))){if(i=bin(b,s),L=fsn(b,t),k=0,T=0,i)switch($=i.e,s.g){case 2:k=$.a-P-b.f.a,L.e.a-P-b.f.ak&&(k=L.e.a+L.f.a+P),T=k+b.f.a;break;case 4:k=$.b-P-b.f.b,L.e.b-P-b.f.bk&&(k=L.e.b+L.f.b+P),T=k+b.f.b}else if(L)switch(s.g){case 2:k=L.e.a-P-b.f.a,T=k+b.f.a;break;case 1:k=L.e.a+L.f.a+P,T=k+b.f.a;break;case 4:k=L.e.b-P-b.f.b,T=k+b.f.b;break;case 3:k=L.e.b+L.f.b+P,T=k+b.f.b}fe(A(t,dee))===fe((kS(),YM))?(c=k,d=T,h=v5(Ar(new xt(null,new Pt(e.a,16)),new oKe(c,d))),h.a!=null?s==(ji(),Ps)||s==Bs?b.e.a=k:b.e.b=k:(s==(ji(),Ps)||s==Ca?h=v5(Ar($Ze(new xt(null,new Pt(e.a,16))),new wNe(c))):h=v5(Ar($Ze(new xt(null,new Pt(e.a,16))),new mNe(c))),h.a!=null&&(s==Ps||s==Bs?b.e.a=le(pe((yn(h.a!=null),u(h.a,42)).a)):b.e.b=le(pe((yn(h.a!=null),u(h.a,42)).a)))),h.a!=null&&(v=$s(e.a,(yn(h.a!=null),h.a),0),v>0&&v!=u(A(b,ch),17).a&&(Ee(b,x4e,(Gt(),!0)),Ee(b,ch,Ae(v))))):s==(ji(),Ps)||s==Bs?b.e.a=k:b.e.b=k}n.Vg()}}function Tat(e){var t,n,i,s,c,d,h,b,m;for(e.b=1,Er(e),t=null,e.c==0&&e.a==94?(Er(e),t=(Ir(),Ir(),new $u(4)),Dl(t,0,k8),h=new $u(4)):h=(Ir(),Ir(),new $u(4)),s=!0;(m=e.c)!=1;){if(m==0&&e.a==93&&!s){t&&(i9(t,h),h=t);break}if(n=e.a,i=!1,m==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:ov(h,W5(n)),i=!0;break;case 105:case 73:case 99:case 67:n=(ov(h,W5(n)),-1),n<0&&(i=!0);break;case 112:case 80:if(b=H1e(e,n),!b)throw B(new er(ir((Yn(),IJ))));ov(h,b),i=!0;break;default:n=Spe(e)}else if(m==24&&!s){if(t&&(i9(t,h),h=t),c=Tat(e),i9(h,c),e.c!=0||e.a!=93)throw B(new er(ir((Yn(),Ght))));break}if(Er(e),!i){if(m==0){if(n==91)throw B(new er(ir((Yn(),Wwe))));if(n==93)throw B(new er(ir((Yn(),Vwe))));if(n==45&&!s&&e.a!=93)throw B(new er(ir((Yn(),PJ))))}if(e.c!=0||e.a!=45||n==45&&s)Dl(h,n,n);else{if(Er(e),(m=e.c)==1)throw B(new er(ir((Yn(),yD))));if(m==0&&e.a==93)Dl(h,n,n),Dl(h,45,45);else{if(m==0&&e.a==93||m==24)throw B(new er(ir((Yn(),PJ))));if(d=e.a,m==0){if(d==91)throw B(new er(ir((Yn(),Wwe))));if(d==93)throw B(new er(ir((Yn(),Vwe))));if(d==45)throw B(new er(ir((Yn(),PJ))))}else m==10&&(d=Spe(e));if(Er(e),n>d)throw B(new er(ir((Yn(),qht))));Dl(h,n,d)}}}s=!1}if(e.c==1)throw B(new er(ir((Yn(),yD))));return e2(h),n9(h),e.b=0,Er(e),h}function man(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke;if(n.Ug("Coffman-Graham Layering",1),t.a.c.length==0){n.Vg();return}for(ke=u(A(t,(Ue(),u3e)),17).a,b=0,d=0,T=new N(t.a);T.a=ke||!dqt(z,i))&&(i=Cqe(t,v)),bo(z,i),c=new gn(wn(eo(z).a.Kc(),new j));$n(c);)s=u(xn(c),18),!e.a[s.p]&&(L=s.c.i,--e.e[L.p],e.e[L.p]==0&&l4(D5(P,L),r8));for(m=v.c.length-1;m>=0;--m)$e(t.b,(_t(m,v.c.length),u(v.c[m],30)));t.a.c.length=0,n.Vg()}function Iat(e,t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se;se=!1;do for(se=!1,c=t?new r0(e.a.b).a.gc()-2:1;t?c>=0:cu(A($,Hr),17).a)&&(ne=!1);if(ne){for(b=t?c+1:c-1,h=Pae(e.a,Ae(b)),d=!1,J=!0,i=!1,v=Ln(h,0);v.b!=v.d.c;)m=u(_n(v),10),Xr(m,Hr)?m.p!=k.p&&(d=d|(t?u(A(m,Hr),17).au(A(k,Hr),17).a),J=!1):!d&&J&&m.k==(nn(),El)&&(i=!0,t?T=u(xn(new gn(wn(eo(m).a.Kc(),new j))),18).c.i:T=u(xn(new gn(wn(Pi(m).a.Kc(),new j))),18).d.i,T==k&&(t?n=u(xn(new gn(wn(Pi(m).a.Kc(),new j))),18).d.i:n=u(xn(new gn(wn(eo(m).a.Kc(),new j))),18).c.i,(t?u(Em(e.a,n),17).a-u(Em(e.a,T),17).a:u(Em(e.a,T),17).a-u(Em(e.a,n),17).a)<=2&&(J=!1)));if(i&&J&&(t?n=u(xn(new gn(wn(Pi(k).a.Kc(),new j))),18).d.i:n=u(xn(new gn(wn(eo(k).a.Kc(),new j))),18).c.i,(t?u(Em(e.a,n),17).a-u(Em(e.a,k),17).a:u(Em(e.a,k),17).a-u(Em(e.a,n),17).a)<=2&&n.k==(nn(),Ei)&&(J=!1)),d||J){for(L=ilt(e,k,t);L.a.gc()!=0;)O=u(L.a.ec().Kc().Pb(),10),L.a.Bc(O)!=null,vo(L,ilt(e,O,t));--P,se=!0}}}while(se)}function van(e){Un(e.c,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#decimal"])),Un(e.d,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#integer"])),Un(e.e,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#boolean"])),Un(e.f,sr,H(F(Je,1),_e,2,6,[Do,"EBoolean",Sr,"EBoolean:Object"])),Un(e.i,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#byte"])),Un(e.g,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Un(e.j,sr,H(F(Je,1),_e,2,6,[Do,"EByte",Sr,"EByte:Object"])),Un(e.n,sr,H(F(Je,1),_e,2,6,[Do,"EChar",Sr,"EChar:Object"])),Un(e.t,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#double"])),Un(e.u,sr,H(F(Je,1),_e,2,6,[Do,"EDouble",Sr,"EDouble:Object"])),Un(e.F,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#float"])),Un(e.G,sr,H(F(Je,1),_e,2,6,[Do,"EFloat",Sr,"EFloat:Object"])),Un(e.I,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#int"])),Un(e.J,sr,H(F(Je,1),_e,2,6,[Do,"EInt",Sr,"EInt:Object"])),Un(e.N,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#long"])),Un(e.O,sr,H(F(Je,1),_e,2,6,[Do,"ELong",Sr,"ELong:Object"])),Un(e.Z,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#short"])),Un(e.$,sr,H(F(Je,1),_e,2,6,[Do,"EShort",Sr,"EShort:Object"])),Un(e._,sr,H(F(Je,1),_e,2,6,[Do,"http://www.w3.org/2001/XMLSchema#string"]))}function yan(e,t,n,i,s,c,d){var h,b,m,v,k,T,P,O;return T=u(i.a,17).a,P=u(i.b,17).a,k=e.b,O=e.c,h=0,v=0,t==(ji(),Ps)||t==Bs?(v=_T(wnt(Am(As(new xt(null,new Pt(n.b,16)),new FOe),new COe))),k.e.b+k.f.b/2>v?(m=++P,h=le(pe(Cu(Om(As(new xt(null,new Pt(n.b,16)),new cKe(s,m)),new SOe))))):(b=++T,h=le(pe(Cu(u4(As(new xt(null,new Pt(n.b,16)),new uKe(s,b)),new xOe)))))):(v=_T(wnt(Am(As(new xt(null,new Pt(n.b,16)),new POe),new kOe))),k.e.a+k.f.a/2>v?(m=++P,h=le(pe(Cu(Om(As(new xt(null,new Pt(n.b,16)),new sKe(s,m)),new EOe))))):(b=++T,h=le(pe(Cu(u4(As(new xt(null,new Pt(n.b,16)),new lKe(s,b)),new TOe)))))),t==Ps?(Wo(e.a,new Me(le(pe(A(k,(Wr(),Kf))))-s,h)),Wo(e.a,new Me(O.e.a+O.f.a+s+c,h)),Wo(e.a,new Me(O.e.a+O.f.a+s+c,O.e.b+O.f.b/2)),Wo(e.a,new Me(O.e.a+O.f.a,O.e.b+O.f.b/2))):t==Bs?(Wo(e.a,new Me(le(pe(A(k,(Wr(),gf))))+s,k.e.b+k.f.b/2)),Wo(e.a,new Me(k.e.a+k.f.a+s,h)),Wo(e.a,new Me(O.e.a-s-c,h)),Wo(e.a,new Me(O.e.a-s-c,O.e.b+O.f.b/2)),Wo(e.a,new Me(O.e.a,O.e.b+O.f.b/2))):t==Ca?(Wo(e.a,new Me(h,le(pe(A(k,(Wr(),Kf))))-s)),Wo(e.a,new Me(h,O.e.b+O.f.b+s+c)),Wo(e.a,new Me(O.e.a+O.f.a/2,O.e.b+O.f.b+s+c)),Wo(e.a,new Me(O.e.a+O.f.a/2,O.e.b+O.f.b+s))):(e.a.b==0||(u(Za(e.a),8).b=le(pe(A(k,(Wr(),gf))))+s*u(d.b,17).a),Wo(e.a,new Me(h,le(pe(A(k,(Wr(),gf))))+s*u(d.b,17).a)),Wo(e.a,new Me(h,O.e.b-s*u(d.a,17).a-c))),new Gi(Ae(T),Ae(P))}function kan(e){var t,n,i,s,c,d,h,b,m,v,k,T,P;if(d=!0,k=null,i=null,s=null,t=!1,P=z4t,m=null,c=null,h=0,b=EV(e,h,V5e,q5e),b=0&&Et(e.substr(h,2),"//")?(h+=2,b=EV(e,h,zx,Hx),i=(mo(h,b,e.length),e.substr(h,b-h)),h=b):k!=null&&(h==e.length||(Zt(h,e.length),e.charCodeAt(h)!=47))&&(d=!1,b=Qle(e,kc(35),h),b==-1&&(b=e.length),i=(mo(h,b,e.length),e.substr(h,b-h)),h=b);if(!n&&h0&&Lo(v,v.length-1)==58&&(s=v,h=b)),hyq(c))&&(k=c);for(!k&&(k=(_t(0,$.c.length),u($.c[0],185))),L=new N(t.b);L.ak&&(Ht=0,vn+=v+Fe,v=0),wct(ke,d,Ht,vn),t=w.Math.max(t,Ht+Pe.a),v=w.Math.max(v,Pe.b),Ht+=Pe.a+Fe;for(se=new On,n=new On,dt=new N(e);dt.a=-1900?1:0,n>=4?lr(e,H(F(Je,1),_e,2,6,[Uat,Gat])[h]):lr(e,H(F(Je,1),_e,2,6,["BC","AD"])[h]);break;case 121:zqt(e,n,i);break;case 77:oon(e,n,i);break;case 107:b=s.q.getHours(),b==0?kh(e,24,n):kh(e,b,n);break;case 83:vnn(e,n,s);break;case 69:v=i.q.getDay(),n==5?lr(e,H(F(Je,1),_e,2,6,["S","M","T","W","T","F","S"])[v]):n==4?lr(e,H(F(Je,1),_e,2,6,[SX,xX,EX,TX,IX,PX,MX])[v]):lr(e,H(F(Je,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?lr(e,H(F(Je,1),_e,2,6,["AM","PM"])[1]):lr(e,H(F(Je,1),_e,2,6,["AM","PM"])[0]);break;case 104:k=s.q.getHours()%12,k==0?kh(e,12,n):kh(e,k,n);break;case 75:T=s.q.getHours()%12,kh(e,T,n);break;case 72:P=s.q.getHours(),kh(e,P,n);break;case 99:O=i.q.getDay(),n==5?lr(e,H(F(Je,1),_e,2,6,["S","M","T","W","T","F","S"])[O]):n==4?lr(e,H(F(Je,1),_e,2,6,[SX,xX,EX,TX,IX,PX,MX])[O]):n==3?lr(e,H(F(Je,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[O]):kh(e,O,1);break;case 76:L=i.q.getMonth(),n==5?lr(e,H(F(Je,1),_e,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[L]):n==4?lr(e,H(F(Je,1),_e,2,6,[dX,hX,pX,gX,z4,bX,wX,mX,vX,yX,kX,CX])[L]):n==3?lr(e,H(F(Je,1),_e,2,6,["Jan","Feb","Mar","Apr",z4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[L]):kh(e,L+1,n);break;case 81:$=i.q.getMonth()/3|0,n<4?lr(e,H(F(Je,1),_e,2,6,["Q1","Q2","Q3","Q4"])[$]):lr(e,H(F(Je,1),_e,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[$]);break;case 100:z=i.q.getDate(),kh(e,z,n);break;case 109:m=s.q.getMinutes(),kh(e,m,n);break;case 115:d=s.q.getSeconds(),kh(e,d,n);break;case 122:n<4?lr(e,c.c[0]):lr(e,c.c[1]);break;case 118:lr(e,c.b);break;case 90:n<3?lr(e,den(c)):n==3?lr(e,wen(c)):lr(e,men(c.a));break;default:return!1}return!0}function wge(e,t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn,Tr;if(sct(t),b=u(re((!t.b&&(t.b=new jt(Tn,t,4,7)),t.b),0),84),v=u(re((!t.c&&(t.c=new jt(Tn,t,5,8)),t.c),0),84),h=Ds(b),m=Ds(v),d=(!t.a&&(t.a=new Se(ei,t,6,6)),t.a).i==0?null:u(re((!t.a&&(t.a=new Se(ei,t,6,6)),t.a),0),166),Fe=u(pn(e.a,h),10),Ht=u(pn(e.a,m),10),pt=null,vn=null,te(b,193)&&(Pe=u(pn(e.a,b),305),te(Pe,12)?pt=u(Pe,12):te(Pe,10)&&(Fe=u(Pe,10),pt=u(Ye(Fe.j,0),12))),te(v,193)&&(zt=u(pn(e.a,v),305),te(zt,12)?vn=u(zt,12):te(zt,10)&&(Ht=u(zt,10),vn=u(Ye(Ht.j,0),12))),!Fe||!Ht)throw B(new G3("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(L=new Vb,js(L,t),Ee(L,(Oe(),jr),t),Ee(L,(Ue(),Is),null),P=u(A(i,Kl),21),Fe==Ht&&P.Fc((cs(),q9)),pt||(ke=(ls(),Zl),dt=null,d&&Iy(u(A(Fe,yi),101))&&(dt=new Me(d.j,d.k),qYe(dt,hI(t)),CJe(dt,n),zm(m,h)&&(ke=eu,Or(dt,Fe.n))),pt=lut(Fe,dt,ke,i)),vn||(ke=(ls(),eu),Tr=null,d&&Iy(u(A(Ht,yi),101))&&(Tr=new Me(d.b,d.c),qYe(Tr,hI(t)),CJe(Tr,n)),vn=lut(Ht,Tr,ke,Io(Ht))),zo(L,pt),ao(L,vn),(pt.e.c.length>1||pt.g.c.length>1||vn.e.c.length>1||vn.g.c.length>1)&&P.Fc((cs(),V9)),T=new hn((!t.n&&(t.n=new Se(ms,t,1,7)),t.n));T.e!=T.i.gc();)if(k=u(mn(T),135),!qe(Ve(Ie(k,Q0)))&&k.a)switch($=oV(k),$e(L.b,$),u(A($,lh),278).g){case 1:case 2:P.Fc((cs(),j8));break;case 0:P.Fc((cs(),$8)),Ee($,lh,(od(),eC))}if(c=u(A(i,ex),322),z=u(A(i,XN),323),s=c==(hS(),LM)||z==(AS(),UZ),d&&(!d.a&&(d.a=new Ai(Yu,d,5)),d.a).i!=0&&s){for(J=bP(d),O=new _c,se=Ln(J,0);se.b!=se.d.c;)ne=u(_n(se),8),or(O,new Vo(ne));Ee(L,f2e,O)}return L}function Ean(e,t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn,Tr,di;for(dt=0,zt=0,Fe=new On,ke=u(Cu(Om(As(new xt(null,new Pt(e.b,16)),new IOe),new $Oe)),17).a+1,pt=be(Bn,ur,28,ke,15,1),$=be(Bn,ur,28,ke,15,1),L=0;L1)for(h=vn+1;hm.b.e.b*(1-z)+m.c.e.b*z));O++);if(Pe.gc()>0&&(Tr=m.a.b==0?Eo(m.b.e):u(Za(m.a),8),ne=Or(Eo(u(Pe.Xb(Pe.gc()-1),40).e),u(Pe.Xb(Pe.gc()-1),40).f),T=Or(Eo(u(Pe.Xb(0),40).e),u(Pe.Xb(0),40).f),O>=Pe.gc()-1&&Tr.b>ne.b&&m.c.e.b>ne.b||O<=0&&Tr.bm.b.e.a*(1-z)+m.c.e.a*z));O++);if(Pe.gc()>0&&(Tr=m.a.b==0?Eo(m.b.e):u(Za(m.a),8),ne=Or(Eo(u(Pe.Xb(Pe.gc()-1),40).e),u(Pe.Xb(Pe.gc()-1),40).f),T=Or(Eo(u(Pe.Xb(0),40).e),u(Pe.Xb(0),40).f),O>=Pe.gc()-1&&Tr.a>ne.a&&m.c.e.a>ne.a||O<=0&&Tr.a=le(pe(A(e,(Wr(),I4e))))&&++zt):(P.f&&P.d.e.a<=le(pe(A(e,(Wr(),cee))))&&++dt,P.g&&P.c.e.a+P.c.f.a>=le(pe(A(e,(Wr(),T4e))))&&++zt)}else se==0?B1e(m):se<0&&(++pt[vn],++$[di],Ht=yan(m,t,e,new Gi(Ae(dt),Ae(zt)),n,i,new Gi(Ae($[di]),Ae(pt[vn]))),dt=u(Ht.a,17).a,zt=u(Ht.b,17).a)}function Tan(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J;if(i=t,b=n,e.b&&i.j==(ze(),rn)&&b.j==(ze(),rn)&&(J=i,i=b,b=J),rc(e.a,i)){if(Mf(u(pn(e.a,i),49),b))return 1}else vr(e.a,i,new _i);if(rc(e.a,b)){if(Mf(u(pn(e.a,b),49),i))return-1}else vr(e.a,b,new _i);if(rc(e.d,i)){if(Mf(u(pn(e.d,i),49),b))return-1}else vr(e.d,i,new _i);if(rc(e.d,b)){if(Mf(u(pn(e.a,b),49),i))return 1}else vr(e.d,b,new _i);if(i.j!=b.j)return z=pRt(i.j,b.j),z==-1?ba(e,b,i):ba(e,i,b),z;if(i.e.c.length!=0&&b.e.c.length!=0){if(e.b&&(z=Gtt(i,b),z!=0))return z==-1?ba(e,b,i):z==1&&ba(e,i,b),z;if(c=u(Ye(i.e,0),18).c.i,v=u(Ye(b.e,0),18).c.i,c==v)return s=u(A(u(Ye(i.e,0),18),(Oe(),Hr)),17).a,m=u(A(u(Ye(b.e,0),18),Hr),17).a,s>m?ba(e,i,b):ba(e,b,i),sm?1:0;for(O=e.c,L=0,$=O.length;L<$;++L){if(P=O[L],P==c)return ba(e,i,b),1;if(P==v)return ba(e,b,i),-1}}return i.g.c.length!=0&&b.g.c.length!=0?(h=u(A(i,(Oe(),wZ)),10),T=u(A(b,wZ),10),e.e==(Gd(),VZ)&&h&&T&&Xr(h,Hr)&&Xr(T,Hr)?(s=u(A(h,Hr),17).a,m=u(A(T,Hr),17).a,s>m?ba(e,i,b):ba(e,b,i),sm?1:0):e.b&&(z=Gtt(i,b),z!=0)?(z==-1?ba(e,b,i):z==1&&ba(e,i,b),z):(d=0,k=0,Xr(u(Ye(i.g,0),18),Hr)&&(d=u(A(u(Ye(i.g,0),18),Hr),17).a),Xr(u(Ye(b.g,0),18),Hr)&&(k=u(A(u(Ye(i.g,0),18),Hr),17).a),h&&h==T?qe(Ve(A(u(Ye(i.g,0),18),bd)))&&!qe(Ve(A(u(Ye(b.g,0),18),bd)))?(ba(e,i,b),1):!qe(Ve(A(u(Ye(i.g,0),18),bd)))&&qe(Ve(A(u(Ye(b.g,0),18),bd)))?(ba(e,b,i),-1):(d>k?ba(e,i,b):ba(e,b,i),dk?1:0):(e.f&&(e.f._b(h)&&(d=u(e.f.xc(h),17).a),e.f._b(T)&&(k=u(e.f.xc(T),17).a)),d>k?ba(e,i,b):ba(e,b,i),dk?1:0))):i.e.c.length!=0&&b.g.c.length!=0?(ba(e,i,b),1):i.g.c.length!=0&&b.e.c.length!=0?(ba(e,b,i),-1):Xr(i,(Oe(),Hr))&&Xr(b,Hr)?(s=u(A(i,Hr),17).a,m=u(A(b,Hr),17).a,s>m?ba(e,i,b):ba(e,b,i),sm?1:0):(ba(e,b,i),-1)}function Ian(e){e.gb||(e.gb=!0,e.b=ol(e,0),bi(e.b,18),Jr(e.b,19),e.a=ol(e,1),bi(e.a,1),Jr(e.a,2),Jr(e.a,3),Jr(e.a,4),Jr(e.a,5),e.o=ol(e,2),bi(e.o,8),bi(e.o,9),Jr(e.o,10),Jr(e.o,11),Jr(e.o,12),Jr(e.o,13),Jr(e.o,14),Jr(e.o,15),Jr(e.o,16),Jr(e.o,17),Jr(e.o,18),Jr(e.o,19),Jr(e.o,20),Jr(e.o,21),Jr(e.o,22),Jr(e.o,23),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),xs(e.o),e.p=ol(e,3),bi(e.p,2),bi(e.p,3),bi(e.p,4),bi(e.p,5),Jr(e.p,6),Jr(e.p,7),xs(e.p),xs(e.p),e.q=ol(e,4),bi(e.q,8),e.v=ol(e,5),Jr(e.v,9),xs(e.v),xs(e.v),xs(e.v),e.w=ol(e,6),bi(e.w,2),bi(e.w,3),bi(e.w,4),Jr(e.w,5),e.B=ol(e,7),Jr(e.B,1),xs(e.B),xs(e.B),xs(e.B),e.Q=ol(e,8),Jr(e.Q,0),xs(e.Q),e.R=ol(e,9),bi(e.R,1),e.S=ol(e,10),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),xs(e.S),e.T=ol(e,11),Jr(e.T,10),Jr(e.T,11),Jr(e.T,12),Jr(e.T,13),Jr(e.T,14),xs(e.T),xs(e.T),e.U=ol(e,12),bi(e.U,2),bi(e.U,3),Jr(e.U,4),Jr(e.U,5),Jr(e.U,6),Jr(e.U,7),xs(e.U),e.V=ol(e,13),Jr(e.V,10),e.W=ol(e,14),bi(e.W,18),bi(e.W,19),bi(e.W,20),Jr(e.W,21),Jr(e.W,22),Jr(e.W,23),e.bb=ol(e,15),bi(e.bb,10),bi(e.bb,11),bi(e.bb,12),bi(e.bb,13),bi(e.bb,14),bi(e.bb,15),bi(e.bb,16),Jr(e.bb,17),xs(e.bb),xs(e.bb),e.eb=ol(e,16),bi(e.eb,2),bi(e.eb,3),bi(e.eb,4),bi(e.eb,5),bi(e.eb,6),bi(e.eb,7),Jr(e.eb,8),Jr(e.eb,9),e.ab=ol(e,17),bi(e.ab,0),bi(e.ab,1),e.H=ol(e,18),Jr(e.H,0),Jr(e.H,1),Jr(e.H,2),Jr(e.H,3),Jr(e.H,4),Jr(e.H,5),xs(e.H),e.db=ol(e,19),Jr(e.db,2),e.c=kr(e,20),e.d=kr(e,21),e.e=kr(e,22),e.f=kr(e,23),e.i=kr(e,24),e.g=kr(e,25),e.j=kr(e,26),e.k=kr(e,27),e.n=kr(e,28),e.r=kr(e,29),e.s=kr(e,30),e.t=kr(e,31),e.u=kr(e,32),e.fb=kr(e,33),e.A=kr(e,34),e.C=kr(e,35),e.D=kr(e,36),e.F=kr(e,37),e.G=kr(e,38),e.I=kr(e,39),e.J=kr(e,40),e.L=kr(e,41),e.M=kr(e,42),e.N=kr(e,43),e.O=kr(e,44),e.P=kr(e,45),e.X=kr(e,46),e.Y=kr(e,47),e.Z=kr(e,48),e.$=kr(e,49),e._=kr(e,50),e.cb=kr(e,51),e.K=kr(e,52))}function Pan(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn;for(d=new Zr,Pe=u(A(n,(Ue(),Wu)),88),L=0,vo(d,(!t.a&&(t.a=new Se(xr,t,10,11)),t.a));d.b!=0;)v=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),27),m=ri(v),(fe(Ie(m,$h))!==fe((Gd(),wp))||fe(Ie(m,q0))===fe((ip(),A8))||fe(Ie(m,q0))===fe((ip(),R8))||qe(Ve(Ie(m,$w)))||fe(Ie(m,Tv))!==fe((P0(),yv))||fe(Ie(m,Ig))===fe((La(),zw))||fe(Ie(m,Ig))===fe((La(),Av))||fe(Ie(m,Y0))===fe((up(),G8))||fe(Ie(m,Y0))===fe((up(),W8)))&&!qe(Ve(Ie(v,zN)))&&Br(v,(Oe(),Hr),Ae(L++)),z=!qe(Ve(Ie(v,Q0))),z&&(T=(!v.a&&(v.a=new Se(xr,v,10,11)),v.a).i!=0,O=rQt(v),P=fe(Ie(v,Iv))===fe((f1(),Cp)),vn=!rd(v,(gr(),J8))||OJe(Jn(Ie(v,J8))),se=null,vn&&P&&(T||O)&&(se=zct(v),Ee(se,Wu,Pe),Xr(se,HM)&&FFe(new ehe(le(pe(A(se,HM)))),se),u(Ie(v,J0),181).gc()!=0&&(k=se,Ci(new xt(null,(!v.c&&(v.c=new Se(ru,v,9,9)),new Pt(v.c,16))),new Vje(k)),Alt(v,se))),Fe=n,pt=u(pn(e.a,ri(v)),10),pt&&(Fe=pt.e),ne=pat(e,v,Fe),se&&(ne.e=se,se.e=ne,vo(d,(!v.a&&(v.a=new Se(xr,v,10,11)),v.a))));for(L=0,gi(d,t,d.c.b,d.c);d.b!=0;){for(c=u(d.b==0?null:(yn(d.b!=0),ua(d,d.a.a)),27),b=new hn((!c.b&&(c.b=new Se(Ti,c,12,3)),c.b));b.e!=b.i.gc();)h=u(mn(b),74),sct(h),(fe(Ie(t,$h))!==fe((Gd(),wp))||fe(Ie(t,q0))===fe((ip(),A8))||fe(Ie(t,q0))===fe((ip(),R8))||qe(Ve(Ie(t,$w)))||fe(Ie(t,Tv))!==fe((P0(),yv))||fe(Ie(t,Ig))===fe((La(),zw))||fe(Ie(t,Ig))===fe((La(),Av))||fe(Ie(t,Y0))===fe((up(),G8))||fe(Ie(t,Y0))===fe((up(),W8)))&&Br(h,(Oe(),Hr),Ae(L++)),zt=Ds(u(re((!h.b&&(h.b=new jt(Tn,h,4,7)),h.b),0),84)),Ht=Ds(u(re((!h.c&&(h.c=new jt(Tn,h,5,8)),h.c),0),84)),!(qe(Ve(Ie(h,Q0)))||qe(Ve(Ie(zt,Q0)))||qe(Ve(Ie(Ht,Q0))))&&($=fw(h)&&qe(Ve(Ie(zt,Pv)))&&qe(Ve(Ie(h,X0))),ke=c,$||zm(Ht,zt)?ke=zt:zm(zt,Ht)&&(ke=Ht),Fe=n,pt=u(pn(e.a,ke),10),pt&&(Fe=pt.e),J=wge(e,h,ke,Fe),Ee(J,(Oe(),l2e),Prn(e,h,t,n)));if(P=fe(Ie(c,Iv))===fe((f1(),Cp)),P)for(s=new hn((!c.a&&(c.a=new Se(xr,c,10,11)),c.a));s.e!=s.i.gc();)i=u(mn(s),27),vn=!rd(i,(gr(),J8))||OJe(Jn(Ie(i,J8))),dt=fe(Ie(i,Iv))===fe(Cp),vn&&dt&&gi(d,i,d.c.b,d.c)}}function Oe(){Oe=U;var e,t;jr=new Fr(r0e),l2e=new Fr("coordinateOrigin"),vZ=new Fr("processors"),s2e=new fi("compoundNode",(Gt(),!1)),NM=new fi("insideConnections",!1),f2e=new Fr("originalBendpoints"),d2e=new Fr("originalDummyNodePosition"),h2e=new Fr("originalLabelEdge"),Y9=new Fr("representedLabels"),X9=new Fr("endLabels"),l6=new Fr("endLabel.origin"),u6=new fi("labelSide",(Fu(),wO)),O2=new fi("maxEdgeThickness",0),bd=new fi("reversed",!1),a6=new Fr(_ft),Hf=new fi("longEdgeSource",null),Fa=new fi("longEdgeTarget",null),xv=new fi("longEdgeHasLabelDummies",!1),BM=new fi("longEdgeBeforeLabelDummy",!1),LN=new fi("edgeConstraint",(E0(),nZ)),Rw=new Fr("inLayerLayoutUnit"),W0=new fi("inLayerConstraint",(c1(),jM)),c6=new fi("inLayerSuccessorConstraint",new Le),a2e=new fi("inLayerSuccessorConstraintBetweenNonDummies",!1),Zc=new Fr("portDummy"),AN=new fi("crossingHint",Ae(0)),Kl=new fi("graphProperties",(t=u(Pf(uZ),9),new ra(t,u(ef(t,t.length),9),0))),fl=new fi("externalPortSide",(ze(),nl)),u2e=new fi("externalPortSize",new po),pZ=new Fr("externalPortReplacedDummies"),$N=new Fr("externalPortReplacedDummy"),S1=new fi("externalPortConnections",(e=u(Pf(ts),9),new ra(e,u(ef(e,e.length),9),0))),Aw=new fi(Cft,0),o2e=new Fr("barycenterAssociates"),f6=new Fr("TopSideComments"),s6=new Fr("BottomSideComments"),RN=new Fr("CommentConnectionPort"),bZ=new fi("inputCollect",!1),mZ=new fi("outputCollect",!1),DM=new fi("cyclic",!1),c2e=new Fr("crossHierarchyMap"),kZ=new Fr("targetOffset"),new fi("splineLabelSize",new po),R2=new Fr("spacings"),jN=new fi("partitionConstraint",!1),_w=new Fr("breakingPoint.info"),b2e=new Fr("splines.survivingEdge"),V0=new Fr("splines.route.start"),A2=new Fr("splines.edgeChain"),g2e=new Fr("originalPortConstraints"),Lw=new Fr("selfLoopHolder"),N8=new Fr("splines.nsPortY"),Hr=new Fr("modelOrder"),wZ=new Fr("longEdgeTargetNode"),Eg=new fi(rdt,!1),_2=new fi(rdt,!1),gZ=new Fr("layerConstraints.hiddenNodes"),p2e=new Fr("layerConstraints.opposidePort"),yZ=new Fr("targetNode.modelOrder")}function Man(e,t,n,i){var s,c,d,h,b,m,v,k,T,P,O;for(k=Ln(e.b,0);k.b!=k.d.c;)if(v=u(_n(k),40),!Et(v.c,sD))for(c=u(Ks(new xt(null,new Pt(Nen(v,e),16)),Xc(new ue,new oe,new dn,H(F(Ts,1),Te,108,0,[(Jc(),Ws)]))),15),t==(ji(),Ps)||t==Bs?c.jd(new _Oe):c.jd(new ROe),O=c.gc(),s=0;s0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,P=v.e.b+v.f.b/2,i>0&&w.Math.abs(b-P)/(w.Math.abs(h-T)/40)>50&&(P>b?Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a+i/5.3,v.e.b+v.f.b*d-i/2)):Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a+i/5.3,v.e.b+v.f.b*d+i/2)))),Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a,v.e.b+v.f.b*d))):t==Bs?(m=le(pe(A(v,(Wr(),Kf)))),v.e.a-i>m?Wo(u(c.Xb(s),65).a,new Me(m-n,v.e.b+v.f.b*d)):u(c.Xb(s),65).a.b>0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,P=v.e.b+v.f.b/2,i>0&&w.Math.abs(b-P)/(w.Math.abs(h-T)/40)>50&&(P>b?Wo(u(c.Xb(s),65).a,new Me(v.e.a-i/5.3,v.e.b+v.f.b*d-i/2)):Wo(u(c.Xb(s),65).a,new Me(v.e.a-i/5.3,v.e.b+v.f.b*d+i/2)))),Wo(u(c.Xb(s),65).a,new Me(v.e.a,v.e.b+v.f.b*d))):t==Ca?(m=le(pe(A(v,(Wr(),gf)))),v.e.b+v.f.b+i0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,P=v.e.b+v.f.b/2,i>0&&w.Math.abs(h-T)/(w.Math.abs(b-P)/40)>50&&(T>h?Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d-i/2,v.e.b+i/5.3+v.f.b)):Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d+i/2,v.e.b+i/5.3+v.f.b)))),Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d,v.e.b+v.f.b))):(m=le(pe(A(v,(Wr(),Kf)))),_tt(u(c.Xb(s),65),e)?Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d,u(Za(u(c.Xb(s),65).a),8).b)):v.e.b-i>m?Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d,m-n)):u(c.Xb(s),65).a.b>0&&(h=u(Za(u(c.Xb(s),65).a),8).a,T=v.e.a+v.f.a/2,b=u(Za(u(c.Xb(s),65).a),8).b,P=v.e.b+v.f.b/2,i>0&&w.Math.abs(h-T)/(w.Math.abs(b-P)/40)>50&&(T>h?Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d-i/2,v.e.b-i/5.3)):Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d+i/2,v.e.b-i/5.3)))),Wo(u(c.Xb(s),65).a,new Me(v.e.a+v.f.a*d,v.e.b)))}function gr(){gr=U;var e,t;J8=new Fr(Hdt),Q2=new Fr(Kdt),Ske=(Ch(),Qee),L3t=new St(fbe,Ske),G2=new St(V4,null),$3t=new Fr(xwe),Eke=(O0(),Yr(tte,H(F(nte,1),Te,298,0,[ete]))),cO=new St(tD,Eke),uO=new St(lM,(Gt(),!1)),Tke=(ji(),yd),nb=new St(FY,Tke),Mke=(d1(),gte),Pke=new St(sM,Mke),N3t=new St(Cwe,!1),Rke=(f1(),jB),q2=new St(eD,Rke),zke=new Ab(12),kp=new St(vw,zke),fO=new St(h9,!1),ste=new St(rD,!1),dO=new St(p9,!1),Wke=(fo(),Lg),Mx=new St(sY,Wke),b6=new Fr(nD),hO=new Fr(JP),hte=new Fr(jj),pte=new Fr(d9),Ake=new _c,Uw=new St(Cbe,Ake),D3t=new St(Ebe,!1),B3t=new St(Tbe,!1),Lke=new o7,Q8=new St(Pbe,Lke),RB=new St(ube,!1),K3t=new St(Udt,1),V2=new Fr(Gdt),W2=new Fr(Wdt),Z8=new St(QP,!1),new St(Vdt,!0),Ae(0),new St(qdt,Ae(100)),new St(Xdt,!1),Ae(0),new St(Ydt,Ae(4e3)),Ae(0),new St(Jdt,Ae(400)),new St(Qdt,!1),new St(Zdt,!1),new St(eht,!0),new St(tht,!1),xke=(v$(),vte),j3t=new St(Swe,xke),U3t=new St(Q0e,10),G3t=new St(Z0e,10),Yke=new St(ZX,20),W3t=new St(ebe,10),Jke=new St(oY,2),Qke=new St(BY,10),Zke=new St(tbe,0),AB=new St(ibe,5),e5e=new St(nbe,1),t5e=new St(rbe,1),ib=new St(av,20),V3t=new St(obe,10),i5e=new St(sbe,10),w6=new Fr(lbe),r5e=new sUe,n5e=new St(Mbe,r5e),z3t=new Fr(HY),Hke=!1,F3t=new St(zY,Hke),jke=new Ab(5),$ke=new St(pbe,jke),Dke=(ev(),t=u(Pf(ds),9),new ra(t,u(ef(t,t.length),9),0)),X2=new St(u8,Dke),Uke=(Vy(),Ag),Kke=new St(wbe,Uke),cte=new Fr(mbe),ute=new Fr(vbe),ate=new Fr(ybe),lte=new Fr(kbe),Nke=(e=u(Pf(Dx),9),new ra(e,u(ef(e,e.length),9),0)),rb=new St(h2,Nke),Fke=ht((du(),iC)),_g=new St(q4,Fke),Bke=new Me(0,0),Y2=new St(X4,Bke),Dv=new St(c8,!1),Ike=(od(),eC),ite=new St(Sbe,Ike),rte=new St(Dj,!1),Ae(1),new St(nht,null),Gke=new Fr(Ibe),fte=new Fr(xbe),Xke=(ze(),nl),J2=new St(abe,Xke),bu=new Fr(cbe),Vke=(Qc(),ht($g)),Nv=new St(a8,Vke),dte=new St(gbe,!1),qke=new St(bbe,!0),$B=new St(ZP,1),o5e=new St(Ewe,null),pO=new St(eM,150),LB=new St(tM,1.414),m6=new St(yw,null),q3t=new St(Twe,1),aO=new St(dbe,!1),ote=new St(hbe,!1),Oke=new St(eY,1),_ke=(V$(),wte),new St(rht,_ke),H3t=!0,Y3t=(I4(),zv),J3t=zv,X3t=zv}function Uo(){Uo=U,iye=new Ri("DIRECTION_PREPROCESSOR",0),tye=new Ri("COMMENT_PREPROCESSOR",1),S2=new Ri("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),NQ=new Ri("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Sye=new Ri("PARTITION_PREPROCESSOR",4),sN=new Ri("LABEL_DUMMY_INSERTER",5),bN=new Ri("SELF_LOOP_PREPROCESSOR",6),Cv=new Ri("LAYER_CONSTRAINT_PREPROCESSOR",7),kye=new Ri("PARTITION_MIDPROCESSOR",8),dye=new Ri("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),vye=new Ri("NODE_PROMOTION",10),kv=new Ri("LAYER_CONSTRAINT_POSTPROCESSOR",11),Cye=new Ri("PARTITION_POSTPROCESSOR",12),uye=new Ri("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),xye=new Ri("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Xve=new Ri("BREAKING_POINT_INSERTER",15),aN=new Ri("LONG_EDGE_SPLITTER",16),BQ=new Ri("PORT_SIDE_PROCESSOR",17),iN=new Ri("INVERTED_PORT_PROCESSOR",18),hN=new Ri("PORT_LIST_SORTER",19),Tye=new Ri("SORT_BY_INPUT_ORDER_OF_MODEL",20),dN=new Ri("NORTH_SOUTH_PORT_PREPROCESSOR",21),Yve=new Ri("BREAKING_POINT_PROCESSOR",22),yye=new Ri(Xft,23),Iye=new Ri(Yft,24),pN=new Ri("SELF_LOOP_PORT_RESTORER",25),Eye=new Ri("SINGLE_EDGE_GRAPH_WRAPPER",26),oN=new Ri("IN_LAYER_CONSTRAINT_PROCESSOR",27),sye=new Ri("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),wye=new Ri("LABEL_AND_NODE_SIZE_PROCESSOR",29),bye=new Ri("INNERMOST_NODE_MARGIN_CALCULATOR",30),wN=new Ri("SELF_LOOP_ROUTER",31),Zve=new Ri("COMMENT_NODE_MARGIN_CALCULATOR",32),rN=new Ri("END_LABEL_PREPROCESSOR",33),cN=new Ri("LABEL_DUMMY_SWITCHER",34),Qve=new Ri("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),T8=new Ri("LABEL_SIDE_SELECTOR",36),pye=new Ri("HYPEREDGE_DUMMY_MERGER",37),aye=new Ri("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),mye=new Ri("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),K9=new Ri("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),nye=new Ri("CONSTRAINTS_POSTPROCESSOR",41),eye=new Ri("COMMENT_POSTPROCESSOR",42),gye=new Ri("HYPERNODE_PROCESSOR",43),fye=new Ri("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),uN=new Ri("LONG_EDGE_JOINER",45),gN=new Ri("SELF_LOOP_POSTPROCESSOR",46),Jve=new Ri("BREAKING_POINT_REMOVER",47),fN=new Ri("NORTH_SOUTH_PORT_POSTPROCESSOR",48),hye=new Ri("HORIZONTAL_COMPACTOR",49),lN=new Ri("LABEL_DUMMY_REMOVER",50),lye=new Ri("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),oye=new Ri("END_LABEL_SORTER",52),_M=new Ri("REVERSED_EDGE_RESTORER",53),nN=new Ri("END_LABEL_POSTPROCESSOR",54),cye=new Ri("HIERARCHICAL_NODE_RESIZER",55),rye=new Ri("DIRECTION_POSTPROCESSOR",56)}function mge(){mge=U,I2e=(LI(),EN),uwt=new St(h0e,I2e),kwt=new St(p0e,(Gt(),!1)),A2e=(bL(),hZ),Twt=new St(zj,A2e),zwt=new St(g0e,!1),Hwt=new St(b0e,!0),$bt=new St(w0e,!1),z2e=(RI(),qZ),rmt=new St(m0e,z2e),Ae(1),fmt=new St(v0e,Ae(7)),dmt=new St(y0e,!1),Cwt=new St(k0e,!1),T2e=(ip(),eZ),cwt=new St(hY,T2e),j2e=(up(),FZ),Fwt=new St(oM,j2e),L2e=(pa(),FM),Rwt=new St(C0e,L2e),Ae(-1),_wt=new St(S0e,null),Ae(-1),Awt=new St(x0e,Ae(-1)),Ae(-1),Lwt=new St(pY,Ae(4)),Ae(-1),jwt=new St(gY,Ae(2)),$2e=(La(),rB),Bwt=new St(bY,$2e),Ae(0),Nwt=new St(wY,Ae(0)),Mwt=new St(mY,Ae(Mr)),E2e=(hS(),G9),lwt=new St(w9,E2e),Wbt=new St(E0e,!1),Zbt=new St(vY,.1),owt=new St(yY,!1),twt=new St(T0e,null),nwt=new St(I0e,null),Ae(-1),rwt=new St(P0e,null),Ae(-1),iwt=new St(M0e,Ae(-1)),Ae(0),Vbt=new St(O0e,Ae(40)),x2e=(g5(),fZ),Jbt=new St(kY,x2e),S2e=$M,qbt=new St(Hj,S2e),F2e=(AS(),ox),nmt=new St(p2,F2e),Vwt=new Fr(Kj),D2e=(II(),IN),Kwt=new St(CY,D2e),N2e=(hP(),PN),Gwt=new St(SY,N2e),Ywt=new St(xY,.3),Qwt=new Fr(EY),B2e=(qm(),nB),Zwt=new St(TY,B2e),O2e=(i$(),YZ),pwt=new St(_0e,O2e),_2e=(yS(),QZ),gwt=new St(R0e,_2e),R2e=(S5(),cx),bwt=new St(Uj,R2e),mwt=new St(Gj,.2),dwt=new St(IY,2),lmt=new St(A0e,null),umt=new St(L0e,10),cmt=new St($0e,10),amt=new St(j0e,20),Ae(0),imt=new St(D0e,Ae(0)),Ae(0),omt=new St(N0e,Ae(0)),Ae(0),smt=new St(B0e,Ae(0)),jbt=new St(PY,!1),v2e=(N5(),W9),Nbt=new St(F0e,v2e),m2e=(IL(),QQ),Dbt=new St(z0e,m2e),xwt=new St(Wj,!1),Ae(0),Swt=new St(MY,Ae(16)),Ae(0),Ewt=new St(OY,Ae(5)),U2e=(c$(),tee),Rmt=new St(y1,U2e),hmt=new St(Vj,10),bmt=new St(qj,1),K2e=(UL(),xN),Smt=new St(m9,K2e),vmt=new Fr(_Y),H2e=Ae(1),Ae(0),kmt=new St(RY,H2e),G2e=(KL(),eee),jmt=new St(Xj,G2e),Amt=new Fr(Yj),Pmt=new St(Jj,!0),Tmt=new St(Qj,2),Omt=new St(AY,!0),M2e=(X$(),TN),fwt=new St(H0e,M2e),P2e=(L4(),O8),awt=new St(K0e,P2e),C2e=(Gd(),wp),Gbt=new St(Zj,C2e),Ubt=new St(U0e,!1),Kbt=new St(G0e,!1),y2e=(P0(),yv),Bbt=new St(LY,y2e),k2e=(SS(),zZ),Hbt=new St(W0e,k2e),Fbt=new St($Y,0),zbt=new St(jY,0),Pwt=tZ,Iwt=LM,$wt=eB,Dwt=eB,Owt=BZ,ewt=(f1(),Cp),swt=G9,Qbt=G9,Xbt=G9,Ybt=Cp,qwt=sx,Xwt=ox,Uwt=ox,Wwt=ox,Jwt=GZ,tmt=sx,emt=sx,wwt=(d1(),v6),vwt=v6,ywt=cx,hwt=gO,pmt=V8,gmt=Lv,wmt=V8,mmt=Lv,xmt=V8,Emt=Lv,ymt=ZQ,Cmt=xN,Dmt=V8,Nmt=Lv,Lmt=V8,$mt=Lv,Mmt=Lv,Imt=Lv,_mt=Lv}function Oan(e,t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt,Ht,vn,Tr,di,iu,Ms,Ju,i3,Mp,Cf,Sf,cb,E6,Kg,T6,ah,Hh,Xw,I6,o3,fh,ub,P1,N6t,P8e,Yw,Yx,jte,P6,Jx,Xv,Qx,Dte,B6t;for(P8e=0,Tr=t,Ms=0,Mp=Tr.length;Ms0&&(e.a[ah.p]=P8e++)}for(Jx=0,di=n,Ju=0,Cf=di.length;Ju0;){for(ah=(yn(o3.b>0),u(o3.a.Xb(o3.c=--o3.b),12)),I6=0,h=new N(ah.e);h.a0&&(ah.j==(ze(),en)?(e.a[ah.p]=Jx,++Jx):(e.a[ah.p]=Jx+Sf+E6,++E6))}Jx+=E6}for(Xw=new On,O=new Dd,vn=t,iu=0,i3=vn.length;ium.b&&(m.b=fh)):ah.i.c==N6t&&(fhm.c&&(m.c=fh));for(Zk(L,0,L.length,null),P6=be(Bn,ur,28,L.length,15,1),i=be(Bn,ur,28,Jx+1,15,1),z=0;z0;)Fe%2>0&&(s+=Dte[Fe+1]),Fe=(Fe-1)/2|0,++Dte[Fe];for(dt=be(jvt,Bt,374,L.length*2,0,1),se=0;se0&&fI(iu.f),Ie(z,o5e)!=null&&(h=u(Ie(z,o5e),347),Xw=h.Tg(z),My(z,w.Math.max(z.g,Xw.a),w.Math.max(z.f,Xw.b)));if(Cf=u(Ie(t,kp),107),P=t.g-(Cf.b+Cf.c),T=t.f-(Cf.d+Cf.a),fh.bh("Available Child Area: ("+P+"|"+T+")"),Br(t,G2,P/T),frt(t,s,i.eh(i3)),u(Ie(t,m6),280)==HB&&(pge(t),My(t,Cf.b+le(pe(Ie(t,V2)))+Cf.c,Cf.d+le(pe(Ie(t,W2)))+Cf.a)),fh.bh("Executed layout algorithm: "+Jn(Ie(t,J8))+" on node "+t.k),u(Ie(t,m6),280)==zv){if(P<0||T<0)throw B(new N1("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(rd(t,V2)||rd(t,W2)||pge(t),L=le(pe(Ie(t,V2))),O=le(pe(Ie(t,W2))),fh.bh("Desired Child Area: ("+L+"|"+O+")"),cb=P/L,E6=T/O,Sf=w.Math.min(cb,w.Math.min(E6,le(pe(Ie(t,q3t))))),Br(t,$B,Sf),fh.bh(t.k+" -- Local Scale Factor (X|Y): ("+cb+"|"+E6+")"),se=u(Ie(t,cO),21),c=0,d=0,Sf'?":Et($ht,e)?"'(?<' or '(? toIndex: ",$ge=", toIndex: ",jge="Index: ",Dge=", Size: ",i8="org.eclipse.elk.alg.common",tr={50:1},ift="org.eclipse.elk.alg.common.compaction",oft="Scanline/EventHandler",Mh="org.eclipse.elk.alg.common.compaction.oned",sft="CNode belongs to another CGroup.",lft="ISpacingsHandler/1",zX="The ",HX=" instance has been finished already.",cft="The direction ",uft=" is not supported by the CGraph instance.",aft="OneDimensionalCompactor",fft="OneDimensionalCompactor/lambda$0$Type",dft="Quadruplet",hft="ScanlineConstraintCalculator",pft="ScanlineConstraintCalculator/ConstraintsScanlineHandler",gft="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",bft="ScanlineConstraintCalculator/Timestamp",wft="ScanlineConstraintCalculator/lambda$0$Type",Jd={178:1,46:1},KX="org.eclipse.elk.alg.common.compaction.options",tl="org.eclipse.elk.core.data",Nge="org.eclipse.elk.polyomino.traversalStrategy",Bge="org.eclipse.elk.polyomino.lowLevelSort",Fge="org.eclipse.elk.polyomino.highLevelSort",zge="org.eclipse.elk.polyomino.fill",$a={134:1},UX="polyomino",u9="org.eclipse.elk.alg.common.networksimplex",Oh={183:1,3:1,4:1},mft="org.eclipse.elk.alg.common.nodespacing",$0="org.eclipse.elk.alg.common.nodespacing.cellsystem",o8="CENTER",vft={217:1,336:1},Hge={3:1,4:1,5:1,603:1},U4="LEFT",G4="RIGHT",Kge="Vertical alignment cannot be null",Uge="BOTTOM",Oj="org.eclipse.elk.alg.common.nodespacing.internal",a9="UNDEFINED",fd=.01,qP="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",yft="LabelPlacer/lambda$0$Type",kft="LabelPlacer/lambda$1$Type",Cft="portRatioOrPosition",s8="org.eclipse.elk.alg.common.overlaps",GX="DOWN",Qd="org.eclipse.elk.alg.common.polyomino",_j="NORTH",WX="EAST",VX="SOUTH",qX="WEST",Rj="org.eclipse.elk.alg.common.polyomino.structures",Gge="Direction",XX="Grid is only of size ",YX=". Requested point (",JX=") is out of bounds.",Aj=" Given center based coordinates were (",XP="org.eclipse.elk.graph.properties",Sft="IPropertyHolder",Wge={3:1,96:1,137:1},W4="org.eclipse.elk.alg.common.spore",xft="org.eclipse.elk.alg.common.utils",j0={205:1},a2="org.eclipse.elk.core",Eft="Connected Components Compaction",Tft="org.eclipse.elk.alg.disco",Lj="org.eclipse.elk.alg.disco.graph",QX="org.eclipse.elk.alg.disco.options",Vge="CompactionStrategy",qge="org.eclipse.elk.disco.componentCompaction.strategy",Xge="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Yge="org.eclipse.elk.disco.debug.discoGraph",Jge="org.eclipse.elk.disco.debug.discoPolys",Ift="componentCompaction",D0="org.eclipse.elk.disco",ZX="org.eclipse.elk.spacing.componentComponent",eY="org.eclipse.elk.edge.thickness",V4="org.eclipse.elk.aspectRatio",vw="org.eclipse.elk.padding",f2="org.eclipse.elk.alg.disco.transform",tY=1.5707963267948966,d2=17976931348623157e292,uv={3:1,4:1,5:1,198:1},Pft={3:1,6:1,4:1,5:1,100:1,115:1},nY="org.eclipse.elk.alg.force",Qge="ComponentsProcessor",Mft="ComponentsProcessor/1",Zge="ElkGraphImporter/lambda$0$Type",YP="org.eclipse.elk.alg.force.graph",Oft="Component Layout",e0e="org.eclipse.elk.alg.force.model",$j="org.eclipse.elk.force.model",t0e="org.eclipse.elk.force.iterations",n0e="org.eclipse.elk.force.repulsivePower",rY="org.eclipse.elk.force.temperature",Zd=.001,iY="org.eclipse.elk.force.repulsion",f9="org.eclipse.elk.alg.force.options",l8=1.600000023841858,uc="org.eclipse.elk.force",JP="org.eclipse.elk.priority",av="org.eclipse.elk.spacing.nodeNode",oY="org.eclipse.elk.spacing.edgeLabel",jj="org.eclipse.elk.randomSeed",d9="org.eclipse.elk.separateConnectedComponents",h9="org.eclipse.elk.interactive",sY="org.eclipse.elk.portConstraints",Dj="org.eclipse.elk.edgeLabels.inline",p9="org.eclipse.elk.omitNodeMicroLayout",c8="org.eclipse.elk.nodeSize.fixedGraphSize",q4="org.eclipse.elk.nodeSize.options",h2="org.eclipse.elk.nodeSize.constraints",u8="org.eclipse.elk.nodeLabels.placement",a8="org.eclipse.elk.portLabels.placement",QP="org.eclipse.elk.topdownLayout",ZP="org.eclipse.elk.topdown.scaleFactor",eM="org.eclipse.elk.topdown.hierarchicalNodeWidth",tM="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",yw="org.eclipse.elk.topdown.nodeType",r0e="origin",_ft="random",Rft="boundingBox.upLeft",Aft="boundingBox.lowRight",i0e="org.eclipse.elk.stress.fixed",o0e="org.eclipse.elk.stress.desiredEdgeLength",s0e="org.eclipse.elk.stress.dimension",l0e="org.eclipse.elk.stress.epsilon",c0e="org.eclipse.elk.stress.iterationLimit",bg="org.eclipse.elk.stress",Lft="ELK Stress",X4="org.eclipse.elk.nodeSize.minimum",Nj="org.eclipse.elk.alg.force.stress",$ft="Layered layout",Y4="org.eclipse.elk.alg.layered",nM="org.eclipse.elk.alg.layered.compaction.components",g9="org.eclipse.elk.alg.layered.compaction.oned",Bj="org.eclipse.elk.alg.layered.compaction.oned.algs",N0="org.eclipse.elk.alg.layered.compaction.recthull",dd="org.eclipse.elk.alg.layered.components",eh="NONE",u0e="MODEL_ORDER",Sl={3:1,6:1,4:1,9:1,5:1,126:1},jft={3:1,6:1,4:1,5:1,150:1,100:1,115:1},Fj="org.eclipse.elk.alg.layered.compound",qr={47:1},Bl="org.eclipse.elk.alg.layered.graph",lY=" -> ",Dft="Not supported by LGraph",a0e="Port side is undefined",cY={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},fp={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},Nft={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},Bft=`([{"' \r +`,Fft=`)]}"' \r +`,zft="The given string contains parts that cannot be parsed as numbers.",rM="org.eclipse.elk.core.math",Hft={3:1,4:1,140:1,214:1,423:1},Kft={3:1,4:1,107:1,214:1,423:1},dp="org.eclipse.elk.alg.layered.graph.transform",Uft="ElkGraphImporter",Gft="ElkGraphImporter/lambda$1$Type",Wft="ElkGraphImporter/lambda$2$Type",Vft="ElkGraphImporter/lambda$4$Type",ln="org.eclipse.elk.alg.layered.intermediate",qft="Node margin calculation",Xft="ONE_SIDED_GREEDY_SWITCH",Yft="TWO_SIDED_GREEDY_SWITCH",uY="No implementation is available for the layout processor ",aY="IntermediateProcessorStrategy",fY="Node '",Jft="FIRST_SEPARATE",Qft="LAST_SEPARATE",Zft="Odd port side processing",Ui="org.eclipse.elk.alg.layered.intermediate.compaction",b9="org.eclipse.elk.alg.layered.intermediate.greedyswitch",_h="org.eclipse.elk.alg.layered.p3order.counting",iM={230:1},J4="org.eclipse.elk.alg.layered.intermediate.loops",Uu="org.eclipse.elk.alg.layered.intermediate.loops.ordering",wg="org.eclipse.elk.alg.layered.intermediate.loops.routing",f0e="org.eclipse.elk.alg.layered.intermediate.preserveorder",th="org.eclipse.elk.alg.layered.intermediate.wrapping",xl="org.eclipse.elk.alg.layered.options",dY="INTERACTIVE",d0e="GREEDY",edt="DEPTH_FIRST",tdt="EDGE_LENGTH",ndt="SELF_LOOPS",rdt="firstTryWithInitialOrder",h0e="org.eclipse.elk.layered.directionCongruency",p0e="org.eclipse.elk.layered.feedbackEdges",zj="org.eclipse.elk.layered.interactiveReferencePoint",g0e="org.eclipse.elk.layered.mergeEdges",b0e="org.eclipse.elk.layered.mergeHierarchyEdges",w0e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",m0e="org.eclipse.elk.layered.portSortingStrategy",v0e="org.eclipse.elk.layered.thoroughness",y0e="org.eclipse.elk.layered.unnecessaryBendpoints",k0e="org.eclipse.elk.layered.generatePositionAndLayerIds",hY="org.eclipse.elk.layered.cycleBreaking.strategy",oM="org.eclipse.elk.layered.layering.strategy",C0e="org.eclipse.elk.layered.layering.layerConstraint",S0e="org.eclipse.elk.layered.layering.layerChoiceConstraint",x0e="org.eclipse.elk.layered.layering.layerId",pY="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",gY="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",bY="org.eclipse.elk.layered.layering.nodePromotion.strategy",wY="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",mY="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",w9="org.eclipse.elk.layered.crossingMinimization.strategy",E0e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",vY="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",yY="org.eclipse.elk.layered.crossingMinimization.semiInteractive",T0e="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",I0e="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",P0e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",M0e="org.eclipse.elk.layered.crossingMinimization.positionId",O0e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",kY="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",Hj="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",p2="org.eclipse.elk.layered.nodePlacement.strategy",Kj="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",CY="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",SY="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",xY="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",EY="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",TY="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",_0e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",R0e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",Uj="org.eclipse.elk.layered.edgeRouting.splines.mode",Gj="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",IY="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",A0e="org.eclipse.elk.layered.spacing.baseValue",L0e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",$0e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",j0e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",D0e="org.eclipse.elk.layered.priority.direction",N0e="org.eclipse.elk.layered.priority.shortness",B0e="org.eclipse.elk.layered.priority.straightness",PY="org.eclipse.elk.layered.compaction.connectedComponents",F0e="org.eclipse.elk.layered.compaction.postCompaction.strategy",z0e="org.eclipse.elk.layered.compaction.postCompaction.constraints",Wj="org.eclipse.elk.layered.highDegreeNodes.treatment",MY="org.eclipse.elk.layered.highDegreeNodes.threshold",OY="org.eclipse.elk.layered.highDegreeNodes.treeHeight",y1="org.eclipse.elk.layered.wrapping.strategy",Vj="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",qj="org.eclipse.elk.layered.wrapping.correctionFactor",m9="org.eclipse.elk.layered.wrapping.cutting.strategy",_Y="org.eclipse.elk.layered.wrapping.cutting.cuts",RY="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Xj="org.eclipse.elk.layered.wrapping.validify.strategy",Yj="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",Jj="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",Qj="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",AY="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",H0e="org.eclipse.elk.layered.edgeLabels.sideSelection",K0e="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",Zj="org.eclipse.elk.layered.considerModelOrder.strategy",U0e="org.eclipse.elk.layered.considerModelOrder.portModelOrder",G0e="org.eclipse.elk.layered.considerModelOrder.noModelOrder",LY="org.eclipse.elk.layered.considerModelOrder.components",W0e="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",$Y="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",jY="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",DY="layering",idt="layering.minWidth",odt="layering.nodePromotion",f8="crossingMinimization",eD="org.eclipse.elk.hierarchyHandling",sdt="crossingMinimization.greedySwitch",ldt="nodePlacement",cdt="nodePlacement.bk",udt="edgeRouting",sM="org.eclipse.elk.edgeRouting",hd="spacing",V0e="priority",q0e="compaction",adt="compaction.postCompaction",fdt="Specifies whether and how post-process compaction is applied.",X0e="highDegreeNodes",Y0e="wrapping",ddt="wrapping.cutting",hdt="wrapping.validify",J0e="wrapping.multiEdge",NY="edgeLabels",v9="considerModelOrder",Q0e="org.eclipse.elk.spacing.commentComment",Z0e="org.eclipse.elk.spacing.commentNode",ebe="org.eclipse.elk.spacing.edgeEdge",BY="org.eclipse.elk.spacing.edgeNode",tbe="org.eclipse.elk.spacing.labelLabel",nbe="org.eclipse.elk.spacing.labelPortHorizontal",rbe="org.eclipse.elk.spacing.labelPortVertical",ibe="org.eclipse.elk.spacing.labelNode",obe="org.eclipse.elk.spacing.nodeSelfLoop",sbe="org.eclipse.elk.spacing.portPort",lbe="org.eclipse.elk.spacing.individual",cbe="org.eclipse.elk.port.borderOffset",ube="org.eclipse.elk.noLayout",abe="org.eclipse.elk.port.side",lM="org.eclipse.elk.debugMode",fbe="org.eclipse.elk.alignment",dbe="org.eclipse.elk.insideSelfLoops.activate",hbe="org.eclipse.elk.insideSelfLoops.yo",FY="org.eclipse.elk.direction",pbe="org.eclipse.elk.nodeLabels.padding",gbe="org.eclipse.elk.portLabels.nextToPortIfPossible",bbe="org.eclipse.elk.portLabels.treatAsGroup",wbe="org.eclipse.elk.portAlignment.default",mbe="org.eclipse.elk.portAlignment.north",vbe="org.eclipse.elk.portAlignment.south",ybe="org.eclipse.elk.portAlignment.west",kbe="org.eclipse.elk.portAlignment.east",tD="org.eclipse.elk.contentAlignment",Cbe="org.eclipse.elk.junctionPoints",Sbe="org.eclipse.elk.edgeLabels.placement",xbe="org.eclipse.elk.port.index",Ebe="org.eclipse.elk.commentBox",Tbe="org.eclipse.elk.hypernode",Ibe="org.eclipse.elk.port.anchor",zY="org.eclipse.elk.partitioning.activate",HY="org.eclipse.elk.partitioning.partition",nD="org.eclipse.elk.position",Pbe="org.eclipse.elk.margins",Mbe="org.eclipse.elk.spacing.portsSurrounding",rD="org.eclipse.elk.interactiveLayout",cl="org.eclipse.elk.core.util",Obe={3:1,4:1,5:1,601:1},pdt="NETWORK_SIMPLEX",_be="SIMPLE",as={106:1,47:1},iD="org.eclipse.elk.alg.layered.p1cycles",k1="org.eclipse.elk.alg.layered.p2layers",Rbe={413:1,230:1},gdt={846:1,3:1,4:1},Fc="org.eclipse.elk.alg.layered.p3order",fs="org.eclipse.elk.alg.layered.p4nodes",bdt={3:1,4:1,5:1,854:1},nh=1e-5,mg="org.eclipse.elk.alg.layered.p4nodes.bk",KY="org.eclipse.elk.alg.layered.p5edges",Bf="org.eclipse.elk.alg.layered.p5edges.orthogonal",UY="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",GY=1e-6,fv="org.eclipse.elk.alg.layered.p5edges.splines",WY=.09999999999999998,oD=1e-8,wdt=4.71238898038469,Abe=3.141592653589793,C1="org.eclipse.elk.alg.mrtree",VY=.10000000149011612,sD="SUPER_ROOT",y9="org.eclipse.elk.alg.mrtree.graph",Lbe=-17976931348623157e292,Fl="org.eclipse.elk.alg.mrtree.intermediate",mdt="Processor compute fanout",lD={3:1,6:1,4:1,5:1,534:1,100:1,115:1},vdt="Set neighbors in level",cM="org.eclipse.elk.alg.mrtree.options",ydt="DESCENDANTS",$be="org.eclipse.elk.mrtree.compaction",jbe="org.eclipse.elk.mrtree.edgeEndTextureLength",Dbe="org.eclipse.elk.mrtree.treeLevel",Nbe="org.eclipse.elk.mrtree.positionConstraint",Bbe="org.eclipse.elk.mrtree.weighting",Fbe="org.eclipse.elk.mrtree.edgeRoutingMode",zbe="org.eclipse.elk.mrtree.searchOrder",kdt="Position Constraint",ac="org.eclipse.elk.mrtree",Cdt="org.eclipse.elk.tree",Sdt="Processor arrange level",d8="org.eclipse.elk.alg.mrtree.p2order",Pu="org.eclipse.elk.alg.mrtree.p4route",Hbe="org.eclipse.elk.alg.radial",B0=6.283185307179586,Kbe="Before",Ube=5e-324,cD="After",Gbe="org.eclipse.elk.alg.radial.intermediate",xdt="COMPACTION",qY="org.eclipse.elk.alg.radial.intermediate.compaction",Edt={3:1,4:1,5:1,100:1},Wbe="org.eclipse.elk.alg.radial.intermediate.optimization",XY="No implementation is available for the layout option ",k9="org.eclipse.elk.alg.radial.options",Vbe="org.eclipse.elk.radial.centerOnRoot",qbe="org.eclipse.elk.radial.orderId",Xbe="org.eclipse.elk.radial.radius",uD="org.eclipse.elk.radial.rotate",YY="org.eclipse.elk.radial.compactor",JY="org.eclipse.elk.radial.compactionStepSize",Ybe="org.eclipse.elk.radial.sorter",Jbe="org.eclipse.elk.radial.wedgeCriteria",Qbe="org.eclipse.elk.radial.optimizationCriteria",QY="org.eclipse.elk.radial.rotation.targetAngle",ZY="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Zbe="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",Tdt="Compaction",ewe="rotation",wa="org.eclipse.elk.radial",Idt="org.eclipse.elk.alg.radial.p1position.wedge",twe="org.eclipse.elk.alg.radial.sorting",Pdt=5.497787143782138,Mdt=3.9269908169872414,Odt=2.356194490192345,_dt="org.eclipse.elk.alg.rectpacking",aD="org.eclipse.elk.alg.rectpacking.intermediate",eJ="org.eclipse.elk.alg.rectpacking.options",nwe="org.eclipse.elk.rectpacking.trybox",rwe="org.eclipse.elk.rectpacking.currentPosition",iwe="org.eclipse.elk.rectpacking.desiredPosition",owe="org.eclipse.elk.rectpacking.inNewRow",swe="org.eclipse.elk.rectpacking.widthApproximation.strategy",lwe="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",cwe="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",uwe="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",awe="org.eclipse.elk.rectpacking.packing.strategy",fwe="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",dwe="org.eclipse.elk.rectpacking.packing.compaction.iterations",hwe="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",tJ="widthApproximation",Rdt="Compaction Strategy",Adt="packing.compaction",pu="org.eclipse.elk.rectpacking",h8="org.eclipse.elk.alg.rectpacking.p1widthapproximation",fD="org.eclipse.elk.alg.rectpacking.p2packing",Ldt="No Compaction",pwe="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",uM="org.eclipse.elk.alg.rectpacking.util",dD="No implementation available for ",dv="org.eclipse.elk.alg.spore",hv="org.eclipse.elk.alg.spore.options",kw="org.eclipse.elk.sporeCompaction",nJ="org.eclipse.elk.underlyingLayoutAlgorithm",gwe="org.eclipse.elk.processingOrder.treeConstruction",bwe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",rJ="org.eclipse.elk.processingOrder.preferredRoot",iJ="org.eclipse.elk.processingOrder.rootSelection",oJ="org.eclipse.elk.structure.structureExtractionStrategy",wwe="org.eclipse.elk.compaction.compactionStrategy",mwe="org.eclipse.elk.compaction.orthogonal",vwe="org.eclipse.elk.overlapRemoval.maxIterations",ywe="org.eclipse.elk.overlapRemoval.runScanline",sJ="processingOrder",$dt="overlapRemoval",p8="org.eclipse.elk.sporeOverlap",jdt="org.eclipse.elk.alg.spore.p1structure",lJ="org.eclipse.elk.alg.spore.p2processingorder",cJ="org.eclipse.elk.alg.spore.p3execution",Ddt="Topdown Layout",Ndt="Invalid index: ",g8="org.eclipse.elk.core.alg",g2={341:1},pv={295:1},Bdt="Make sure its type is registered with the ",kwe=" utility class.",b8="true",uJ="false",Fdt="Couldn't clone property '",Cw=.05,gu="org.eclipse.elk.core.options",zdt=1.2999999523162842,Sw="org.eclipse.elk.box",Cwe="org.eclipse.elk.expandNodes",Swe="org.eclipse.elk.box.packingMode",Hdt="org.eclipse.elk.algorithm",Kdt="org.eclipse.elk.resolvedAlgorithm",xwe="org.eclipse.elk.bendPoints",$an="org.eclipse.elk.labelManager",Udt="org.eclipse.elk.scaleFactor",Gdt="org.eclipse.elk.childAreaWidth",Wdt="org.eclipse.elk.childAreaHeight",Vdt="org.eclipse.elk.animate",qdt="org.eclipse.elk.animTimeFactor",Xdt="org.eclipse.elk.layoutAncestors",Ydt="org.eclipse.elk.maxAnimTime",Jdt="org.eclipse.elk.minAnimTime",Qdt="org.eclipse.elk.progressBar",Zdt="org.eclipse.elk.validateGraph",eht="org.eclipse.elk.validateOptions",tht="org.eclipse.elk.zoomToFit",jan="org.eclipse.elk.font.name",nht="org.eclipse.elk.font.size",Ewe="org.eclipse.elk.topdown.sizeApproximator",Twe="org.eclipse.elk.topdown.scaleCap",rht="org.eclipse.elk.edge.type",iht="partitioning",oht="nodeLabels",hD="portAlignment",aJ="nodeSize",fJ="port",Iwe="portLabels",aM="topdown",sht="insideSelfLoops",C9="org.eclipse.elk.fixed",pD="org.eclipse.elk.random",Pwe={3:1,34:1,22:1,347:1},lht="port must have a parent node to calculate the port side",cht="The edge needs to have exactly one edge section. Found: ",S9="org.eclipse.elk.core.util.adapters",ma="org.eclipse.emf.ecore",b2="org.eclipse.elk.graph",uht="EMapPropertyHolder",aht="ElkBendPoint",fht="ElkGraphElement",dht="ElkConnectableShape",Mwe="ElkEdge",hht="ElkEdgeSection",pht="EModelElement",ght="ENamedElement",Owe="ElkLabel",_we="ElkNode",Rwe="ElkPort",bht={94:1,93:1},Q4="org.eclipse.emf.common.notify.impl",vg="The feature '",x9="' is not a valid changeable feature",wht="Expecting null",dJ="' is not a valid feature",mht="The feature ID",vht=" is not a valid feature ID",wl=32768,yht={110:1,94:1,93:1,58:1,54:1,99:1},Vt="org.eclipse.emf.ecore.impl",F0="org.eclipse.elk.graph.impl",E9="Recursive containment not allowed for ",w8="The datatype '",xw="' is not a valid classifier",hJ="The value '",w2={195:1,3:1,4:1},pJ="The class '",m8="http://www.eclipse.org/elk/ElkGraph",Awe="property",T9="value",gJ="source",kht="properties",Cht="identifier",bJ="height",wJ="width",mJ="parent",vJ="text",yJ="children",Sht="hierarchical",Lwe="sources",kJ="targets",$we="sections",gD="bendPoints",jwe="outgoingShape",Dwe="incomingShape",Nwe="outgoingSections",Bwe="incomingSections",Yo="org.eclipse.emf.common.util",Fwe="Severe implementation error in the Json to ElkGraph importer.",rh="id",Mo="org.eclipse.elk.graph.json",zwe="Unhandled parameter types: ",xht="startPoint",Eht="An edge must have at least one source and one target (edge id: '",v8="').",Tht="Referenced edge section does not exist: ",Iht=" (edge id: '",Hwe="target",Pht="sourcePoint",Mht="targetPoint",bD="group",Sr="name",Oht="connectableShape cannot be null",_ht="edge cannot be null",CJ="Passed edge is not 'simple'.",wD="org.eclipse.elk.graph.util",fM="The 'no duplicates' constraint is violated",SJ="targetIndex=",z0=", size=",xJ="sourceIndex=",ih={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},EJ={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},mD="logging",Rht="measureExecutionTime",Aht="parser.parse.1",Lht="parser.parse.2",vD="parser.next.1",TJ="parser.next.2",$ht="parser.next.3",jht="parser.next.4",H0="parser.factor.1",Kwe="parser.factor.2",Dht="parser.factor.3",Nht="parser.factor.4",Bht="parser.factor.5",Fht="parser.factor.6",zht="parser.atom.1",Hht="parser.atom.2",Kht="parser.atom.3",Uwe="parser.atom.4",IJ="parser.atom.5",Gwe="parser.cc.1",yD="parser.cc.2",Uht="parser.cc.3",Ght="parser.cc.5",Wwe="parser.cc.6",Vwe="parser.cc.7",PJ="parser.cc.8",Wht="parser.ope.1",Vht="parser.ope.2",qht="parser.ope.3",hp="parser.descape.1",Xht="parser.descape.2",Yht="parser.descape.3",Jht="parser.descape.4",Qht="parser.descape.5",va="parser.process.1",Zht="parser.quantifier.1",e1t="parser.quantifier.2",t1t="parser.quantifier.3",n1t="parser.quantifier.4",qwe="parser.quantifier.5",r1t="org.eclipse.emf.common.notify",Xwe={424:1,686:1},i1t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},dM={378:1,152:1},I9="index=",MJ={3:1,4:1,5:1,129:1},o1t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},Ywe={3:1,6:1,4:1,5:1,198:1},s1t={3:1,4:1,5:1,173:1,379:1},l1t=";/?:@&=+$,",c1t="invalid authority: ",u1t="EAnnotation",a1t="ETypedElement",f1t="EStructuralFeature",d1t="EAttribute",h1t="EClassifier",p1t="EEnumLiteral",g1t="EGenericType",b1t="EOperation",w1t="EParameter",m1t="EReference",v1t="ETypeParameter",ni="org.eclipse.emf.ecore.util",OJ={79:1},Jwe={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},y1t="org.eclipse.emf.ecore.util.FeatureMap$Entry",zc=8192,gv=2048,P9="byte",kD="char",M9="double",O9="float",_9="int",R9="long",A9="short",k1t="java.lang.Object",m2={3:1,4:1,5:1,254:1},Qwe={3:1,4:1,5:1,688:1},C1t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Gs={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},hM="mixed",sr="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",ja="kind",S1t={3:1,4:1,5:1,689:1},Zwe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},CD={20:1,31:1,56:1,16:1,15:1,61:1,71:1},SD={51:1,128:1,287:1},xD={76:1,343:1},ED="The value of type '",TD="' must be of type '",v2=1352,Da="http://www.eclipse.org/emf/2002/Ecore",ID=-32768,Ew="constraints",Do="baseType",x1t="getEStructuralFeature",E1t="getFeatureID",L9="feature",T1t="getOperationID",eme="operation",I1t="defaultValue",P1t="eTypeParameters",M1t="isInstance",O1t="getEEnumLiteral",_1t="eContainingClass",mr={57:1},R1t={3:1,4:1,5:1,124:1},A1t="org.eclipse.emf.ecore.resource",L1t={94:1,93:1,599:1,2034:1},_J="org.eclipse.emf.ecore.resource.impl",tme="unspecified",pM="simple",PD="attribute",$1t="attributeWildcard",MD="element",RJ="elementWildcard",Ff="collapse",AJ="itemType",OD="namespace",gM="##targetNamespace",Na="whiteSpace",nme="wildcards",K0="http://www.eclipse.org/emf/2003/XMLType",LJ="##any",y8="uninitialized",bM="The multiplicity constraint is violated",_D="org.eclipse.emf.ecore.xml.type",j1t="ProcessingInstruction",D1t="SimpleAnyType",N1t="XMLTypeDocumentRoot",Ni="org.eclipse.emf.ecore.xml.type.impl",wM="INF",B1t="processing",F1t="ENTITIES_._base",rme="minLength",ime="ENTITY",RD="NCName",z1t="IDREFS_._base",ome="integer",$J="token",jJ="pattern",H1t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",sme="\\i\\c*",K1t="[\\i-[:]][\\c-[:]]*",U1t="nonPositiveInteger",mM="maxInclusive",lme="NMTOKEN",G1t="NMTOKENS_._base",cme="nonNegativeInteger",vM="minInclusive",W1t="normalizedString",V1t="unsignedByte",q1t="unsignedInt",X1t="18446744073709551615",Y1t="unsignedShort",J1t="processingInstruction",pp="org.eclipse.emf.ecore.xml.type.internal",k8=1114111,Q1t="Internal Error: shorthands: \\u",$9="xml:isDigit",DJ="xml:isWord",NJ="xml:isSpace",BJ="xml:isNameChar",FJ="xml:isInitialNameChar",Z1t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",ept="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",tpt="Private Use",zJ="ASSIGNED",HJ="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",ume="UNASSIGNED",C8={3:1,122:1},npt="org.eclipse.emf.ecore.xml.type.util",AD={3:1,4:1,5:1,381:1},ame="org.eclipse.xtext.xbase.lib",rpt="Cannot add elements to a Range",ipt="Cannot set elements in a Range",opt="Cannot remove elements from a Range",spt="user.agent",f,LD,KJ;w.goog=w.goog||{},w.goog.global=w.goog.global||w,LD={},C(1,null,{},S),f.Fb=function(t){return nUe(this,t)},f.Gb=function(){return this.Rm},f.Hb=function(){return $b(this)},f.Ib=function(){var t;return l0(Tu(this))+"@"+(t=Vr(this)>>>0,t.toString(16))},f.equals=function(e){return this.Fb(e)},f.hashCode=function(){return this.Hb()},f.toString=function(){return this.Ib()};var lpt,cpt,upt;C(297,1,{297:1,2124:1},ode),f.ve=function(t){var n;return n=new ode,n.i=4,t>1?n.c=xXe(this,t-1):n.c=this,n},f.we=function(){return e1(this),this.b},f.xe=function(){return l0(this)},f.ye=function(){return e1(this),this.k},f.ze=function(){return(this.i&4)!=0},f.Ae=function(){return(this.i&1)!=0},f.Ib=function(){return bfe(this)},f.i=0;var Ji=x(ll,"Object",1),fme=x(ll,"Class",297);C(2096,1,DP),x(NP,"Optional",2096),C(1191,2096,DP,E),f.Fb=function(t){return t===this},f.Hb=function(){return 2040732332},f.Ib=function(){return"Optional.absent()"},f.Jb=function(t){return qn(t),l7(),UJ};var UJ;x(NP,"Absent",1191),C(636,1,{},EK),x(NP,"Joiner",636);var Dan=hi(NP,"Predicate");C(589,1,{178:1,589:1,3:1,46:1},_$e),f.Mb=function(t){return Ttt(this,t)},f.Lb=function(t){return Ttt(this,t)},f.Fb=function(t){var n;return te(t,589)?(n=u(t,589),npe(this.a,n.a)):!1},f.Hb=function(){return fde(this.a)+306654252},f.Ib=function(){return SZt(this.a)},x(NP,"Predicates/AndPredicate",589),C(419,2096,{419:1,3:1},nR),f.Fb=function(t){var n;return te(t,419)?(n=u(t,419),Rr(this.a,n.a)):!1},f.Hb=function(){return 1502476572+Vr(this.a)},f.Ib=function(){return Lat+this.a+")"},f.Jb=function(t){return new nR(nL(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},x(NP,"Present",419),C(204,1,J5),f.Nb=function(t){To(this,t)},f.Qb=function(){GFe()},x(vt,"UnmodifiableIterator",204),C(2076,204,Q5),f.Qb=function(){GFe()},f.Rb=function(t){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(vt,"UnmodifiableListIterator",2076),C(399,2076,Q5),f.Ob=function(){return this.c0},f.Pb=function(){if(this.c>=this.d)throw B(new qs);return this.Xb(this.c++)},f.Tb=function(){return this.c},f.Ub=function(){if(this.c<=0)throw B(new qs);return this.Xb(--this.c)},f.Vb=function(){return this.c-1},f.c=0,f.d=0,x(vt,"AbstractIndexedListIterator",399),C(713,204,J5),f.Ob=function(){return IW(this)},f.Pb=function(){return afe(this)},f.e=1,x(vt,"AbstractIterator",713),C(2084,1,{229:1}),f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.Fb=function(t){return XW(this,t)},f.Hb=function(){return Vr(this.Zb())},f.dc=function(){return this.gc()==0},f.ec=function(){return c4(this)},f.Ib=function(){return Us(this.Zb())},x(vt,"AbstractMultimap",2084),C(742,2084,A0),f.$b=function(){WL(this)},f._b=function(t){return aze(this,t)},f.ac=function(){return new Tk(this,this.c)},f.ic=function(t){return this.hc()},f.bc=function(){return new Ly(this,this.c)},f.jc=function(){return this.mc(this.hc())},f.kc=function(){return new MFe(this)},f.lc=function(){return iq(this.c.vc().Nc(),new M,64,this.d)},f.cc=function(t){return $r(this,t)},f.fc=function(t){return YI(this,t)},f.gc=function(){return this.d},f.mc=function(t){return Ot(),new hk(t)},f.nc=function(){return new PFe(this)},f.oc=function(){return iq(this.c.Cc().Nc(),new I,64,this.d)},f.pc=function(t,n){return new xL(this,t,n,null)},f.d=0,x(vt,"AbstractMapBasedMultimap",742),C(1696,742,A0),f.hc=function(){return new ql(this.a)},f.jc=function(){return Ot(),Ot(),Jo},f.cc=function(t){return u($r(this,t),15)},f.fc=function(t){return u(YI(this,t),15)},f.Zb=function(){return p4(this)},f.Fb=function(t){return XW(this,t)},f.qc=function(t){return u($r(this,t),15)},f.rc=function(t){return u(YI(this,t),15)},f.mc=function(t){return OG(u(t,15))},f.pc=function(t,n){return _Ye(this,t,u(n,15),null)},x(vt,"AbstractListMultimap",1696),C(748,1,co),f.Nb=function(t){To(this,t)},f.Ob=function(){return this.c.Ob()||this.e.Ob()},f.Pb=function(){var t;return this.e.Ob()||(t=u(this.c.Pb(),44),this.b=t.ld(),this.a=u(t.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},f.Qb=function(){this.e.Qb(),u(Oa(this.a),16).dc()&&this.c.Qb(),--this.d.d},x(vt,"AbstractMapBasedMultimap/Itr",748),C(1129,748,co,PFe),f.sc=function(t,n){return n},x(vt,"AbstractMapBasedMultimap/1",1129),C(1130,1,{},I),f.Kb=function(t){return u(t,16).Nc()},x(vt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),C(1131,748,co,MFe),f.sc=function(t,n){return new Ib(t,n)},x(vt,"AbstractMapBasedMultimap/2",1131);var dme=hi(In,"Map");C(2065,1,ww),f.wc=function(t){wS(this,t)},f.yc=function(t,n,i){return pV(this,t,n,i)},f.$b=function(){this.vc().$b()},f.tc=function(t){return FV(this,t)},f._b=function(t){return!!e1e(this,t,!1)},f.uc=function(t){var n,i,s;for(i=this.vc().Kc();i.Ob();)if(n=u(i.Pb(),44),s=n.md(),fe(t)===fe(s)||t!=null&&Rr(t,s))return!0;return!1},f.Fb=function(t){var n,i,s;if(t===this)return!0;if(!te(t,85)||(s=u(t,85),this.gc()!=s.gc()))return!1;for(i=s.vc().Kc();i.Ob();)if(n=u(i.Pb(),44),!this.tc(n))return!1;return!0},f.xc=function(t){return Rs(e1e(this,t,!1))},f.Hb=function(){return tde(this.vc())},f.dc=function(){return this.gc()==0},f.ec=function(){return new r0(this)},f.zc=function(t,n){throw B(new D1("Put not supported on this map"))},f.Ac=function(t){bS(this,t)},f.Bc=function(t){return Rs(e1e(this,t,!0))},f.gc=function(){return this.vc().gc()},f.Ib=function(){return Nit(this)},f.Cc=function(){return new Yh(this)},x(In,"AbstractMap",2065),C(2085,2065,ww),f.bc=function(){return new xR(this)},f.vc=function(){return IVe(this)},f.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},f.Cc=function(){var t;return t=this.i,t||(this.i=new eHe(this))},x(vt,"Maps/ViewCachingAbstractMap",2085),C(402,2085,ww,Tk),f.xc=function(t){return HKt(this,t)},f.Bc=function(t){return fWt(this,t)},f.$b=function(){this.d==this.e.c?this.e.$b():AA(new hue(this))},f._b=function(t){return ant(this.d,t)},f.Ec=function(){return new R$e(this)},f.Dc=function(){return this.Ec()},f.Fb=function(t){return this===t||Rr(this.d,t)},f.Hb=function(){return Vr(this.d)},f.ec=function(){return this.e.ec()},f.gc=function(){return this.d.gc()},f.Ib=function(){return Us(this.d)},x(vt,"AbstractMapBasedMultimap/AsMap",402);var Gu=hi(ll,"Iterable");C(31,1,sv),f.Jc=function(t){Po(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Pt(this,0)},f.Oc=function(){return new xt(null,this.Nc())},f.Fc=function(t){throw B(new D1("Add not supported on this collection"))},f.Gc=function(t){return vo(this,t)},f.$b=function(){Zue(this)},f.Hc=function(t){return Wm(this,t,!1)},f.Ic=function(t){return HI(this,t)},f.dc=function(){return this.gc()==0},f.Mc=function(t){return Wm(this,t,!0)},f.Pc=function(){return Sue(this)},f.Qc=function(t){return $S(this,t)},f.Ib=function(){return ag(this)},x(In,"AbstractCollection",31);var Ba=hi(In,"Set");C(ad,31,Bc),f.Nc=function(){return new Pt(this,1)},f.Fb=function(t){return trt(this,t)},f.Hb=function(){return tde(this)},x(In,"AbstractSet",ad),C(2068,ad,Bc),x(vt,"Sets/ImprovedAbstractSet",2068),C(2069,2068,Bc),f.$b=function(){this.Rc().$b()},f.Hc=function(t){return Bnt(this,t)},f.dc=function(){return this.Rc().dc()},f.Mc=function(t){var n;return this.Hc(t)&&te(t,44)?(n=u(t,44),this.Rc().ec().Mc(n.ld())):!1},f.gc=function(){return this.Rc().gc()},x(vt,"Maps/EntrySet",2069),C(1127,2069,Bc,R$e),f.Hc=function(t){return Pde(this.a.d.vc(),t)},f.Kc=function(){return new hue(this.a)},f.Rc=function(){return this.a},f.Mc=function(t){var n;return Pde(this.a.d.vc(),t)?(n=u(Oa(u(t,44)),44),OHt(this.a.e,n.ld()),!0):!1},f.Nc=function(){return ZT(this.a.d.vc().Nc(),new A$e(this.a))},x(vt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),C(1128,1,{},A$e),f.Kb=function(t){return MJe(this.a,u(t,44))},x(vt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),C(746,1,co,hue),f.Nb=function(t){To(this,t)},f.Pb=function(){var t;return t=u(this.b.Pb(),44),this.a=u(t.md(),16),MJe(this.c,t)},f.Ob=function(){return this.b.Ob()},f.Qb=function(){$k(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},x(vt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),C(542,2068,Bc,xR),f.$b=function(){this.b.$b()},f.Hc=function(t){return this.b._b(t)},f.Jc=function(t){qn(t),this.b.wc(new Y$e(t))},f.dc=function(){return this.b.dc()},f.Kc=function(){return new c7(this.b.vc().Kc())},f.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},f.gc=function(){return this.b.gc()},x(vt,"Maps/KeySet",542),C(327,542,Bc,Ly),f.$b=function(){var t;AA((t=this.b.vc().Kc(),new Dse(this,t)))},f.Ic=function(t){return this.b.ec().Ic(t)},f.Fb=function(t){return this===t||Rr(this.b.ec(),t)},f.Hb=function(){return Vr(this.b.ec())},f.Kc=function(){var t;return t=this.b.vc().Kc(),new Dse(this,t)},f.Mc=function(t){var n,i;return i=0,n=u(this.b.Bc(t),16),n&&(i=n.gc(),n.$b(),this.a.d-=i),i>0},f.Nc=function(){return this.b.ec().Nc()},x(vt,"AbstractMapBasedMultimap/KeySet",327),C(747,1,co,Dse),f.Nb=function(t){To(this,t)},f.Ob=function(){return this.c.Ob()},f.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},f.Qb=function(){var t;$k(!!this.a),t=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},x(vt,"AbstractMapBasedMultimap/KeySet/1",747),C(503,402,{85:1,133:1},WT),f.bc=function(){return this.Sc()},f.ec=function(){return this.Uc()},f.Sc=function(){return new yT(this.c,this.Wc())},f.Tc=function(){return this.Wc().Tc()},f.Uc=function(){var t;return t=this.b,t||(this.b=this.Sc())},f.Vc=function(){return this.Wc().Vc()},f.Wc=function(){return u(this.d,133)},x(vt,"AbstractMapBasedMultimap/SortedAsMap",503),C(446,503,Cge,H7),f.bc=function(){return new Ek(this.a,u(u(this.d,133),139))},f.Sc=function(){return new Ek(this.a,u(u(this.d,133),139))},f.ec=function(){var t;return t=this.b,u(t||(this.b=new Ek(this.a,u(u(this.d,133),139))),277)},f.Uc=function(){var t;return t=this.b,u(t||(this.b=new Ek(this.a,u(u(this.d,133),139))),277)},f.Wc=function(){return u(u(this.d,133),139)},f.Xc=function(t){return u(u(this.d,133),139).Xc(t)},f.Yc=function(t){return u(u(this.d,133),139).Yc(t)},f.Zc=function(t,n){return new H7(this.a,u(u(this.d,133),139).Zc(t,n))},f.$c=function(t){return u(u(this.d,133),139).$c(t)},f._c=function(t){return u(u(this.d,133),139)._c(t)},f.ad=function(t,n){return new H7(this.a,u(u(this.d,133),139).ad(t,n))},x(vt,"AbstractMapBasedMultimap/NavigableAsMap",446),C(502,327,$at,yT),f.Nc=function(){return this.b.ec().Nc()},x(vt,"AbstractMapBasedMultimap/SortedKeySet",502),C(401,502,Sge,Ek),x(vt,"AbstractMapBasedMultimap/NavigableKeySet",401),C(551,31,sv,xL),f.Fc=function(t){var n,i;return au(this),i=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,i&&YT(this)),n},f.Gc=function(t){var n,i,s;return t.dc()?!1:(s=(au(this),this.d.gc()),n=this.d.Gc(t),n&&(i=this.d.gc(),this.f.d+=i-s,s==0&&YT(this)),n)},f.$b=function(){var t;t=(au(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,BA(this))},f.Hc=function(t){return au(this),this.d.Hc(t)},f.Ic=function(t){return au(this),this.d.Ic(t)},f.Fb=function(t){return t===this?!0:(au(this),Rr(this.d,t))},f.Hb=function(){return au(this),Vr(this.d)},f.Kc=function(){return au(this),new Yce(this)},f.Mc=function(t){var n;return au(this),n=this.d.Mc(t),n&&(--this.f.d,BA(this)),n},f.gc=function(){return HKe(this)},f.Nc=function(){return au(this),this.d.Nc()},f.Ib=function(){return au(this),Us(this.d)},x(vt,"AbstractMapBasedMultimap/WrappedCollection",551);var ya=hi(In,"List");C(744,551,{20:1,31:1,16:1,15:1},Tue),f.jd=function(t){k0(this,t)},f.Nc=function(){return au(this),this.d.Nc()},f.bd=function(t,n){var i;au(this),i=this.d.dc(),u(this.d,15).bd(t,n),++this.a.d,i&&YT(this)},f.cd=function(t,n){var i,s,c;return n.dc()?!1:(c=(au(this),this.d.gc()),i=u(this.d,15).cd(t,n),i&&(s=this.d.gc(),this.a.d+=s-c,c==0&&YT(this)),i)},f.Xb=function(t){return au(this),u(this.d,15).Xb(t)},f.dd=function(t){return au(this),u(this.d,15).dd(t)},f.ed=function(){return au(this),new mUe(this)},f.fd=function(t){return au(this),new zqe(this,t)},f.gd=function(t){var n;return au(this),n=u(this.d,15).gd(t),--this.a.d,BA(this),n},f.hd=function(t,n){return au(this),u(this.d,15).hd(t,n)},f.kd=function(t,n){return au(this),_Ye(this.a,this.e,u(this.d,15).kd(t,n),this.b?this.b:this)},x(vt,"AbstractMapBasedMultimap/WrappedList",744),C(1126,744,{20:1,31:1,16:1,15:1,59:1},lGe),x(vt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),C(628,1,co,Yce),f.Nb=function(t){To(this,t)},f.Ob=function(){return Wk(this),this.b.Ob()},f.Pb=function(){return Wk(this),this.b.Pb()},f.Qb=function(){GUe(this)},x(vt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),C(745,628,Eh,mUe,zqe),f.Qb=function(){GUe(this)},f.Rb=function(t){var n;n=HKe(this.a)==0,(Wk(this),u(this.b,128)).Rb(t),++this.a.a.d,n&&YT(this.a)},f.Sb=function(){return(Wk(this),u(this.b,128)).Sb()},f.Tb=function(){return(Wk(this),u(this.b,128)).Tb()},f.Ub=function(){return(Wk(this),u(this.b,128)).Ub()},f.Vb=function(){return(Wk(this),u(this.b,128)).Vb()},f.Wb=function(t){(Wk(this),u(this.b,128)).Wb(t)},x(vt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),C(743,551,$at,gce),f.Nc=function(){return au(this),this.d.Nc()},x(vt,"AbstractMapBasedMultimap/WrappedSortedSet",743),C(1125,743,Sge,hUe),x(vt,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),C(1124,551,Bc,PGe),f.Nc=function(){return au(this),this.d.Nc()},x(vt,"AbstractMapBasedMultimap/WrappedSet",1124),C(1133,1,{},M),f.Kb=function(t){return FHt(u(t,44))},x(vt,"AbstractMapBasedMultimap/lambda$1$Type",1133),C(1132,1,{},D$e),f.Kb=function(t){return new Ib(this.a,t)},x(vt,"AbstractMapBasedMultimap/lambda$2$Type",1132);var U0=hi(In,"Map/Entry");C(358,1,sX),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),zd(this.ld(),n.ld())&&zd(this.md(),n.md())):!1},f.Hb=function(){var t,n;return t=this.ld(),n=this.md(),(t==null?0:Vr(t))^(n==null?0:Vr(n))},f.nd=function(t){throw B(new Xn)},f.Ib=function(){return this.ld()+"="+this.md()},x(vt,jat,358),C(2086,31,sv),f.$b=function(){this.od().$b()},f.Hc=function(t){var n;return te(t,44)?(n=u(t,44),lzt(this.od(),n.ld(),n.md())):!1},f.Mc=function(t){var n;return te(t,44)?(n=u(t,44),dYe(this.od(),n.ld(),n.md())):!1},f.gc=function(){return this.od().d},x(vt,"Multimaps/Entries",2086),C(749,2086,sv,boe),f.Kc=function(){return this.a.kc()},f.od=function(){return this.a},f.Nc=function(){return this.a.lc()},x(vt,"AbstractMultimap/Entries",749),C(750,749,Bc,pse),f.Nc=function(){return this.a.lc()},f.Fb=function(t){return y1e(this,t)},f.Hb=function(){return Eet(this)},x(vt,"AbstractMultimap/EntrySet",750),C(751,31,sv,woe),f.$b=function(){this.a.$b()},f.Hc=function(t){return oWt(this.a,t)},f.Kc=function(){return this.a.nc()},f.gc=function(){return this.a.d},f.Nc=function(){return this.a.oc()},x(vt,"AbstractMultimap/Values",751),C(2087,31,{849:1,20:1,31:1,16:1}),f.Jc=function(t){qn(t),jy(this).Jc(new nje(t))},f.Nc=function(){var t;return t=jy(this).Nc(),iq(t,new X,64|t.yd()&1296,this.a.d)},f.Fc=function(t){return Cse(),!0},f.Gc=function(t){return qn(this),qn(t),te(t,552)?azt(u(t,849)):!t.dc()&&mW(this,t.Kc())},f.Hc=function(t){var n;return n=u(Gm(p4(this.a),t),16),(n?n.gc():0)>0},f.Fb=function(t){return Rtn(this,t)},f.Hb=function(){return Vr(jy(this))},f.dc=function(){return jy(this).dc()},f.Mc=function(t){return Jot(this,t,1)>0},f.Ib=function(){return Us(jy(this))},x(vt,"AbstractMultiset",2087),C(2089,2068,Bc),f.$b=function(){WL(this.a.a)},f.Hc=function(t){var n,i;return te(t,504)?(i=u(t,425),u(i.a.md(),16).gc()<=0?!1:(n=BXe(this.a,i.a.ld()),n==u(i.a.md(),16).gc())):!1},f.Mc=function(t){var n,i,s,c;return te(t,504)&&(i=u(t,425),n=i.a.ld(),s=u(i.a.md(),16).gc(),s!=0)?(c=this.a,Cen(c,n,s)):!1},x(vt,"Multisets/EntrySet",2089),C(1139,2089,Bc,N$e),f.Kc=function(){return new LFe(IVe(p4(this.a.a)).Kc())},f.gc=function(){return p4(this.a.a).gc()},x(vt,"AbstractMultiset/EntrySet",1139),C(627,742,A0),f.hc=function(){return this.pd()},f.jc=function(){return this.qd()},f.cc=function(t){return this.rd(t)},f.fc=function(t){return this.sd(t)},f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.qd=function(){return Ot(),Ot(),FD},f.Fb=function(t){return XW(this,t)},f.rd=function(t){return u($r(this,t),21)},f.sd=function(t){return u(YI(this,t),21)},f.mc=function(t){return Ot(),new yk(u(t,21))},f.pc=function(t,n){return new PGe(this,t,u(n,21))},x(vt,"AbstractSetMultimap",627),C(1723,627,A0),f.hc=function(){return new z1(this.b)},f.pd=function(){return new z1(this.b)},f.jc=function(){return Vue(new z1(this.b))},f.qd=function(){return Vue(new z1(this.b))},f.cc=function(t){return u(u($r(this,t),21),87)},f.rd=function(t){return u(u($r(this,t),21),87)},f.fc=function(t){return u(u(YI(this,t),21),87)},f.sd=function(t){return u(u(YI(this,t),21),87)},f.mc=function(t){return te(t,277)?Vue(u(t,277)):(Ot(),new ece(u(t,87)))},f.Zb=function(){var t;return t=this.f,t||(this.f=te(this.c,139)?new H7(this,u(this.c,139)):te(this.c,133)?new WT(this,u(this.c,133)):new Tk(this,this.c))},f.pc=function(t,n){return te(n,277)?new hUe(this,t,u(n,277)):new gce(this,t,u(n,87))},x(vt,"AbstractSortedSetMultimap",1723),C(1724,1723,A0),f.Zb=function(){var t;return t=this.f,u(u(t||(this.f=te(this.c,139)?new H7(this,u(this.c,139)):te(this.c,133)?new WT(this,u(this.c,133)):new Tk(this,this.c)),133),139)},f.ec=function(){var t;return t=this.i,u(u(t||(this.i=te(this.c,139)?new Ek(this,u(this.c,139)):te(this.c,133)?new yT(this,u(this.c,133)):new Ly(this,this.c)),87),277)},f.bc=function(){return te(this.c,139)?new Ek(this,u(this.c,139)):te(this.c,133)?new yT(this,u(this.c,133)):new Ly(this,this.c)},x(vt,"AbstractSortedKeySortedSetMultimap",1724),C(2109,1,{2046:1}),f.Fb=function(t){return rJt(this,t)},f.Hb=function(){var t;return tde((t=this.g,t||(this.g=new YH(this))))},f.Ib=function(){var t;return Nit((t=this.f,t||(this.f=new Yle(this))))},x(vt,"AbstractTable",2109),C(679,ad,Bc,YH),f.$b=function(){WFe()},f.Hc=function(t){var n,i;return te(t,479)?(n=u(t,697),i=u(Gm(JVe(this.a),Vp(n.c.e,n.b)),85),!!i&&Pde(i.vc(),new Ib(Vp(n.c.c,n.a),k4(n.c,n.b,n.a)))):!1},f.Kc=function(){return lBt(this.a)},f.Mc=function(t){var n,i;return te(t,479)?(n=u(t,697),i=u(Gm(JVe(this.a),Vp(n.c.e,n.b)),85),!!i&&NWt(i.vc(),new Ib(Vp(n.c.c,n.a),k4(n.c,n.b,n.a)))):!1},f.gc=function(){return eVe(this.a)},f.Nc=function(){return hzt(this.a)},x(vt,"AbstractTable/CellSet",679),C(2025,31,sv,F$e),f.$b=function(){WFe()},f.Hc=function(t){return XJt(this.a,t)},f.Kc=function(){return cBt(this.a)},f.gc=function(){return eVe(this.a)},f.Nc=function(){return fYe(this.a)},x(vt,"AbstractTable/Values",2025),C(1697,1696,A0),x(vt,"ArrayListMultimapGwtSerializationDependencies",1697),C(520,1697,A0,PK,gae),f.hc=function(){return new ql(this.a)},f.a=0,x(vt,"ArrayListMultimap",520),C(678,2109,{678:1,2046:1,3:1},ast),x(vt,"ArrayTable",678),C(2021,399,Q5,WUe),f.Xb=function(t){return new sde(this.a,t)},x(vt,"ArrayTable/1",2021),C(2022,1,{},L$e),f.td=function(t){return new sde(this.a,t)},x(vt,"ArrayTable/1methodref$getCell$Type",2022),C(2110,1,{697:1}),f.Fb=function(t){var n;return t===this?!0:te(t,479)?(n=u(t,697),zd(Vp(this.c.e,this.b),Vp(n.c.e,n.b))&&zd(Vp(this.c.c,this.a),Vp(n.c.c,n.a))&&zd(k4(this.c,this.b,this.a),k4(n.c,n.b,n.a))):!1},f.Hb=function(){return XI(H(F(Ji,1),Bt,1,5,[Vp(this.c.e,this.b),Vp(this.c.c,this.a),k4(this.c,this.b,this.a)]))},f.Ib=function(){return"("+Vp(this.c.e,this.b)+","+Vp(this.c.c,this.a)+")="+k4(this.c,this.b,this.a)},x(vt,"Tables/AbstractCell",2110),C(479,2110,{479:1,697:1},sde),f.a=0,f.b=0,f.d=0,x(vt,"ArrayTable/2",479),C(2024,1,{},$$e),f.td=function(t){return jQe(this.a,t)},x(vt,"ArrayTable/2methodref$getValue$Type",2024),C(2023,399,Q5,VUe),f.Xb=function(t){return jQe(this.a,t)},x(vt,"ArrayTable/3",2023),C(2077,2065,ww),f.$b=function(){AA(this.kc())},f.vc=function(){return new X$e(this)},f.lc=function(){return new _qe(this.kc(),this.gc())},x(vt,"Maps/IteratorBasedAbstractMap",2077),C(842,2077,ww),f.$b=function(){throw B(new Xn)},f._b=function(t){return fze(this.c,t)},f.kc=function(){return new qUe(this,this.c.b.c.gc())},f.lc=function(){return JU(this.c.b.c.gc(),16,new j$e(this))},f.xc=function(t){var n;return n=u(K7(this.c,t),17),n?this.vd(n.a):null},f.dc=function(){return this.c.b.c.dc()},f.ec=function(){return oG(this.c)},f.zc=function(t,n){var i;if(i=u(K7(this.c,t),17),!i)throw B(new Qt(this.ud()+" "+t+" not in "+oG(this.c)));return this.wd(i.a,n)},f.Bc=function(t){throw B(new Xn)},f.gc=function(){return this.c.b.c.gc()},x(vt,"ArrayTable/ArrayMap",842),C(2020,1,{},j$e),f.td=function(t){return ZVe(this.a,t)},x(vt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),C(2018,358,sX,Dze),f.ld=function(){return kAt(this.a,this.b)},f.md=function(){return this.a.vd(this.b)},f.nd=function(t){return this.a.wd(this.b,t)},f.b=0,x(vt,"ArrayTable/ArrayMap/1",2018),C(2019,399,Q5,qUe),f.Xb=function(t){return ZVe(this.a,t)},x(vt,"ArrayTable/ArrayMap/2",2019),C(2017,842,ww,FVe),f.ud=function(){return"Column"},f.vd=function(t){return k4(this.b,this.a,t)},f.wd=function(t,n){return ftt(this.b,this.a,t,n)},f.a=0,x(vt,"ArrayTable/Row",2017),C(843,842,ww,Yle),f.vd=function(t){return new FVe(this.a,t)},f.zc=function(t,n){return u(n,85),HOt()},f.wd=function(t,n){return u(n,85),KOt()},f.ud=function(){return"Row"},x(vt,"ArrayTable/RowMap",843),C(1157,1,Ku,Nze),f.Ad=function(t){return(this.a.yd()&-262&t)!=0},f.yd=function(){return this.a.yd()&-262},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Nb(new Fze(t,this.b))},f.Bd=function(t){return this.a.Bd(new Bze(t,this.b))},x(vt,"CollectSpliterators/1",1157),C(1158,1,bn,Bze),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},x(vt,"CollectSpliterators/1/lambda$0$Type",1158),C(1159,1,bn,Fze),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},x(vt,"CollectSpliterators/1/lambda$1$Type",1159),C(1154,1,Ku,uWe),f.Ad=function(t){return((16464|this.b)&t)!=0},f.yd=function(){return 16464|this.b},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Qe(new Hze(t,this.c))},f.Bd=function(t){return this.a.Re(new zze(t,this.c))},f.b=0,x(vt,"CollectSpliterators/1WithCharacteristics",1154),C(1155,1,BP,zze),f.Dd=function(t){this.a.Cd(this.b.td(t))},x(vt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),C(1156,1,BP,Hze),f.Dd=function(t){this.a.Cd(this.b.td(t))},x(vt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),C(1150,1,Ku),f.Ad=function(t){return(this.a&t)!=0},f.yd=function(){return this.a},f.zd=function(){return this.e&&(this.b=Nle(this.b,this.e.zd())),Nle(this.b,0)},f.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new Kze(this,t)),this.b=0},f.Bd=function(t){for(;;){if(this.e&&this.e.Bd(t))return R7(this.b,FP)&&(this.b=Ra(this.b,1)),!0;if(this.e=null,!this.c.Bd(new z$e(this)))return!1}},f.a=0,f.b=0,x(vt,"CollectSpliterators/FlatMapSpliterator",1150),C(1152,1,bn,z$e),f.Cd=function(t){vLt(this.a,t)},x(vt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),C(1153,1,bn,Kze),f.Cd=function(t){UNt(this.a,this.b,t)},x(vt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),C(1151,1150,Ku,MYe),x(vt,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),C(253,1,lX),f.Fd=function(t){return this.Ed(u(t,253))},f.Ed=function(t){var n;return t==(mK(),WJ)?1:t==(wK(),GJ)?-1:(n=(PA(),DI(this.a,t.a)),n!=0?n:te(this,526)==te(t,526)?0:te(this,526)?1:-1)},f.Id=function(){return this.a},f.Fb=function(t){return The(this,t)},x(vt,"Cut",253),C(1823,253,lX,IFe),f.Ed=function(t){return t==this?0:1},f.Gd=function(t){throw B(new Xoe)},f.Hd=function(t){t.a+="+∞)"},f.Id=function(){throw B(new ks(Nat))},f.Hb=function(){return Qh(),fhe(this)},f.Jd=function(t){return!1},f.Ib=function(){return"+∞"};var GJ;x(vt,"Cut/AboveAll",1823),C(526,253,{253:1,526:1,3:1,34:1},eGe),f.Gd=function(t){Al((t.a+="(",t),this.a)},f.Hd=function(t){h0(Al(t,this.a),93)},f.Hb=function(){return~Vr(this.a)},f.Jd=function(t){return PA(),DI(this.a,t)<0},f.Ib=function(){return"/"+this.a+"\\"},x(vt,"Cut/AboveValue",526),C(1822,253,lX,TFe),f.Ed=function(t){return t==this?0:-1},f.Gd=function(t){t.a+="(-∞"},f.Hd=function(t){throw B(new Xoe)},f.Id=function(){throw B(new ks(Nat))},f.Hb=function(){return Qh(),fhe(this)},f.Jd=function(t){return!0},f.Ib=function(){return"-∞"};var WJ;x(vt,"Cut/BelowAll",1822),C(1824,253,lX,tGe),f.Gd=function(t){Al((t.a+="[",t),this.a)},f.Hd=function(t){h0(Al(t,this.a),41)},f.Hb=function(){return Vr(this.a)},f.Jd=function(t){return PA(),DI(this.a,t)<=0},f.Ib=function(){return"\\"+this.a+"/"},x(vt,"Cut/BelowValue",1824),C(547,1,Th),f.Jc=function(t){Po(this,t)},f.Ib=function(){return oVt(u(nL(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},x(vt,"FluentIterable",547),C(442,547,Th,$7),f.Kc=function(){return new gn(wn(this.a.Kc(),new j))},x(vt,"FluentIterable/2",442),C(1059,547,Th,uUe),f.Kc=function(){return mh(this)},x(vt,"FluentIterable/3",1059),C(724,399,Q5,Jle),f.Xb=function(t){return this.a[t].Kc()},x(vt,"FluentIterable/3/1",724),C(2070,1,{}),f.Ib=function(){return Us(this.Kd().b)},x(vt,"ForwardingObject",2070),C(2071,2070,Bat),f.Kd=function(){return this.Ld()},f.Jc=function(t){Po(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Pt(this,0)},f.Oc=function(){return new xt(null,this.Nc())},f.Fc=function(t){return this.Ld(),hze()},f.Gc=function(t){return this.Ld(),pze()},f.$b=function(){this.Ld(),gze()},f.Hc=function(t){return this.Ld().Hc(t)},f.Ic=function(t){return this.Ld().Ic(t)},f.dc=function(){return this.Ld().b.dc()},f.Kc=function(){return this.Ld().Kc()},f.Mc=function(t){return this.Ld(),bze()},f.gc=function(){return this.Ld().b.gc()},f.Pc=function(){return this.Ld().Pc()},f.Qc=function(t){return this.Ld().Qc(t)},x(vt,"ForwardingCollection",2071),C(2078,31,xge),f.Kc=function(){return this.Od()},f.Fc=function(t){throw B(new Xn)},f.Gc=function(t){throw B(new Xn)},f.Md=function(){var t;return t=this.c,t||(this.c=this.Nd())},f.$b=function(){throw B(new Xn)},f.Hc=function(t){return t!=null&&Wm(this,t,!1)},f.Nd=function(){switch(this.gc()){case 0:return Hb(),Hb(),VJ;case 1:return Hb(),new QU(qn(this.Od().Pb()));default:return new Oue(this,this.Pc())}},f.Mc=function(t){throw B(new Xn)},x(vt,"ImmutableCollection",2078),C(727,2078,xge,Voe),f.Kc=function(){return C4(this.a.Kc())},f.Hc=function(t){return t!=null&&this.a.Hc(t)},f.Ic=function(t){return this.a.Ic(t)},f.dc=function(){return this.a.dc()},f.Od=function(){return C4(this.a.Kc())},f.gc=function(){return this.a.gc()},f.Pc=function(){return this.a.Pc()},f.Qc=function(t){return this.a.Qc(t)},f.Ib=function(){return Us(this.a)},x(vt,"ForwardingImmutableCollection",727),C(307,2078,Z5),f.Kc=function(){return this.Od()},f.ed=function(){return this.Pd(0)},f.fd=function(t){return this.Pd(t)},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Pt(this,16)},f.kd=function(t,n){return this.Qd(t,n)},f.bd=function(t,n){throw B(new Xn)},f.cd=function(t,n){throw B(new Xn)},f.Md=function(){return this},f.Fb=function(t){return ytn(this,t)},f.Hb=function(){return pGt(this)},f.dd=function(t){return t==null?-1:DXt(this,t)},f.Od=function(){return this.Pd(0)},f.Pd=function(t){return OU(this,t)},f.gd=function(t){throw B(new Xn)},f.hd=function(t,n){throw B(new Xn)},f.Qd=function(t,n){var i;return h$((i=new Zze(this),new V1(i,t,n)))};var VJ;x(vt,"ImmutableList",307),C(2105,307,Z5),f.Kc=function(){return C4(this.Rd().Kc())},f.kd=function(t,n){return h$(this.Rd().kd(t,n))},f.Hc=function(t){return t!=null&&this.Rd().Hc(t)},f.Ic=function(t){return this.Rd().Ic(t)},f.Fb=function(t){return Rr(this.Rd(),t)},f.Xb=function(t){return Vp(this,t)},f.Hb=function(){return Vr(this.Rd())},f.dd=function(t){return this.Rd().dd(t)},f.dc=function(){return this.Rd().dc()},f.Od=function(){return C4(this.Rd().Kc())},f.gc=function(){return this.Rd().gc()},f.Qd=function(t,n){return h$(this.Rd().kd(t,n))},f.Pc=function(){return this.Rd().Qc(be(Ji,Bt,1,this.Rd().gc(),5,1))},f.Qc=function(t){return this.Rd().Qc(t)},f.Ib=function(){return Us(this.Rd())},x(vt,"ForwardingImmutableList",2105),C(729,1,e8),f.vc=function(){return a0(this)},f.wc=function(t){wS(this,t)},f.ec=function(){return oG(this)},f.yc=function(t,n,i){return pV(this,t,n,i)},f.Cc=function(){return this.Vd()},f.$b=function(){throw B(new Xn)},f._b=function(t){return this.xc(t)!=null},f.uc=function(t){return this.Vd().Hc(t)},f.Td=function(){return new $Be(this)},f.Ud=function(){return new jBe(this)},f.Fb=function(t){return sWt(this,t)},f.Hb=function(){return a0(this).Hb()},f.dc=function(){return this.gc()==0},f.zc=function(t,n){return zOt()},f.Bc=function(t){throw B(new Xn)},f.Ib=function(){return VQt(this)},f.Vd=function(){return this.e?this.e:this.e=this.Ud()},f.c=null,f.d=null,f.e=null;var apt;x(vt,"ImmutableMap",729),C(730,729,e8),f._b=function(t){return fze(this,t)},f.uc=function(t){return oHe(this.b,t)},f.Sd=function(){return lnt(new B$e(this))},f.Td=function(){return lnt(kqe(this.b))},f.Ud=function(){return Fd(),new Voe(yqe(this.b))},f.Fb=function(t){return sHe(this.b,t)},f.xc=function(t){return K7(this,t)},f.Hb=function(){return Vr(this.b.c)},f.dc=function(){return this.b.c.dc()},f.gc=function(){return this.b.c.gc()},f.Ib=function(){return Us(this.b.c)},x(vt,"ForwardingImmutableMap",730),C(2072,2071,cX),f.Kd=function(){return this.Wd()},f.Ld=function(){return this.Wd()},f.Nc=function(){return new Pt(this,1)},f.Fb=function(t){return t===this||this.Wd().Fb(t)},f.Hb=function(){return this.Wd().Hb()},x(vt,"ForwardingSet",2072),C(1085,2072,cX,B$e),f.Kd=function(){return Uk(this.a.b)},f.Ld=function(){return Uk(this.a.b)},f.Hc=function(t){if(te(t,44)&&u(t,44).ld()==null)return!1;try{return iHe(Uk(this.a.b),t)}catch(n){if(n=li(n),te(n,212))return!1;throw B(n)}},f.Wd=function(){return Uk(this.a.b)},f.Qc=function(t){var n;return n=oXe(Uk(this.a.b),t),Uk(this.a.b).b.gc()=0?"+":"")+(i/60|0),n=lA(w.Math.abs(i)%60),(Yit(),Mpt)[this.q.getDay()]+" "+Opt[this.q.getMonth()]+" "+lA(this.q.getDate())+" "+lA(this.q.getHours())+":"+lA(this.q.getMinutes())+":"+lA(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var DD=x(In,"Date",206);C(2015,206,qat,vit),f.a=!1,f.b=0,f.c=0,f.d=0,f.e=0,f.f=0,f.g=!1,f.i=0,f.j=0,f.k=0,f.n=0,f.o=0,f.p=0,x("com.google.gwt.i18n.shared.impl","DateRecord",2015),C(2064,1,{}),f.pe=function(){return null},f.qe=function(){return null},f.re=function(){return null},f.se=function(){return null},f.te=function(){return null},x(H4,"JSONValue",2064),C(221,2064,{221:1},t0,voe),f.Fb=function(t){return te(t,221)?wae(this.a,u(t,221).a):!1},f.oe=function(){return dOt},f.Hb=function(){return sae(this.a)},f.pe=function(){return this},f.Ib=function(){var t,n,i;for(i=new Ru("["),n=0,t=this.a.length;n0&&(i.a+=","),Al(i,Bm(this,n));return i.a+="]",i.a},x(H4,"JSONArray",221),C(493,2064,{493:1},yoe),f.oe=function(){return hOt},f.qe=function(){return this},f.Ib=function(){return Gt(),""+this.a},f.a=!1;var wpt,mpt;x(H4,"JSONBoolean",493),C(997,63,m1,$Fe),x(H4,"JSONException",997),C(1036,2064,{},ae),f.oe=function(){return pOt},f.Ib=function(){return Cc};var vpt;x(H4,"JSONNull",1036),C(263,2064,{263:1},rR),f.Fb=function(t){return te(t,263)?this.a==u(t,263).a:!1},f.oe=function(){return aOt},f.Hb=function(){return Z3(this.a)},f.re=function(){return this},f.Ib=function(){return this.a+""},f.a=0,x(H4,"JSONNumber",263),C(190,2064,{190:1},K3,uT),f.Fb=function(t){return te(t,190)?wae(this.a,u(t,190).a):!1},f.oe=function(){return fOt},f.Hb=function(){return sae(this.a)},f.se=function(){return this},f.Ib=function(){var t,n,i,s,c,d,h;for(h=new Ru("{"),t=!0,d=RW(this,be(Je,_e,2,0,6,1)),i=d,s=0,c=i.length;s=0?":"+this.c:"")+")"},f.c=0;var Mme=x(ll,"StackTraceElement",319);upt={3:1,484:1,34:1,2:1};var Je=x(ll,Ege,2);C(111,427,{484:1},B1,f7,Ma),x(ll,"StringBuffer",111),C(104,427,{484:1},Hp,V3,Ru),x(ll,"StringBuilder",104),C(702,77,_X,Sse),x(ll,"StringIndexOutOfBoundsException",702),C(2145,1,{});var Spt;C(48,63,{3:1,103:1,63:1,82:1,48:1},Xn,D1),x(ll,"UnsupportedOperationException",48),C(247,242,{3:1,34:1,242:1,247:1},ZI,Lse),f.Fd=function(t){return Kct(this,u(t,247))},f.ue=function(){return Jm(wut(this))},f.Fb=function(t){var n;return this===t?!0:te(t,247)?(n=u(t,247),this.e==n.e&&Kct(this,n)==0):!1},f.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=bl(this.f),this.b=Vn(Yi(t,-1)),this.b=33*this.b+Vn(Yi(Bb(t,32),-1)),this.b=17*this.b+Wi(this.e),this.b):(this.b=17*nnt(this.c)+Wi(this.e),this.b)},f.Ib=function(){return wut(this)},f.a=0,f.b=0,f.d=0,f.e=0,f.f=0;var xpt,G0,Ome,_me,Rme,Ame,Lme,$me,tQ=x("java.math","BigDecimal",247);C(92,242,{3:1,34:1,242:1,92:1},o1,WXe,d0,rrt,qp),f.Fd=function(t){return Znt(this,u(t,92))},f.ue=function(){return Jm(rX(this,0))},f.Fb=function(t){return qde(this,t)},f.Hb=function(){return nnt(this)},f.Ib=function(){return rX(this,0)},f.b=-2,f.c=0,f.d=0,f.e=0;var Ept,ND,Tpt,nQ,BD,N9,y2=x("java.math","BigInteger",92),Ipt,Ppt,e6,B9;C(498,2065,ww),f.$b=function(){qc(this)},f._b=function(t){return rc(this,t)},f.uc=function(t){return Dtt(this,t,this.i)||Dtt(this,t,this.f)},f.vc=function(){return new i0(this)},f.xc=function(t){return pn(this,t)},f.zc=function(t,n){return vr(this,t,n)},f.Bc=function(t){return y4(this,t)},f.gc=function(){return h7(this)},f.g=0,x(In,"AbstractHashMap",498),C(267,ad,Bc,i0),f.$b=function(){this.a.$b()},f.Hc=function(t){return CYe(this,t)},f.Kc=function(){return new S0(this.a)},f.Mc=function(t){var n;return CYe(this,t)?(n=u(t,44).ld(),this.a.Bc(n),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractHashMap/EntrySet",267),C(268,1,co,S0),f.Nb=function(t){To(this,t)},f.Pb=function(){return rw(this)},f.Ob=function(){return this.b},f.Qb=function(){JQe(this)},f.b=!1,f.d=0,x(In,"AbstractHashMap/EntrySetIterator",268),C(426,1,co,e7),f.Nb=function(t){To(this,t)},f.Ob=function(){return jK(this)},f.Pb=function(){return tae(this)},f.Qb=function(){Eu(this)},f.b=0,f.c=-1,x(In,"AbstractList/IteratorImpl",426),C(98,426,Eh,wo),f.Qb=function(){Eu(this)},f.Rb=function(t){Pm(this,t)},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Ub=function(){return yn(this.b>0),this.a.Xb(this.c=--this.b)},f.Vb=function(){return this.b-1},f.Wb=function(t){Tm(this.c!=-1),this.a.hd(this.c,t)},x(In,"AbstractList/ListIteratorImpl",98),C(244,56,t8,V1),f.bd=function(t,n){$m(t,this.b),this.c.bd(this.a+t,n),++this.b},f.Xb=function(t){return _t(t,this.b),this.c.Xb(this.a+t)},f.gd=function(t){var n;return _t(t,this.b),n=this.c.gd(this.a+t),--this.b,n},f.hd=function(t,n){return _t(t,this.b),this.c.hd(this.a+t,n)},f.gc=function(){return this.b},f.a=0,f.b=0,x(In,"AbstractList/SubList",244),C(266,ad,Bc,r0),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new oR(t)},f.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractMap/1",266),C(541,1,co,oR),f.Nb=function(t){To(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.ld()},f.Qb=function(){this.a.Qb()},x(In,"AbstractMap/1/1",541),C(231,31,sv,Yh),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a.uc(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new wm(t)},f.gc=function(){return this.a.gc()},x(In,"AbstractMap/2",231),C(301,1,co,wm),f.Nb=function(t){To(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.md()},f.Qb=function(){this.a.Qb()},x(In,"AbstractMap/2/1",301),C(494,1,{494:1,44:1}),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),gl(this.d,n.ld())&&gl(this.e,n.md())):!1},f.ld=function(){return this.d},f.md=function(){return this.e},f.Hb=function(){return Oy(this.d)^Oy(this.e)},f.nd=function(t){return Cce(this,t)},f.Ib=function(){return this.d+"="+this.e},x(In,"AbstractMap/AbstractEntry",494),C(397,494,{494:1,397:1,44:1},DR),x(In,"AbstractMap/SimpleEntry",397),C(2082,1,LX),f.Fb=function(t){var n;return te(t,44)?(n=u(t,44),gl(this.ld(),n.ld())&&gl(this.md(),n.md())):!1},f.Hb=function(){return Oy(this.ld())^Oy(this.md())},f.Ib=function(){return this.ld()+"="+this.md()},x(In,jat,2082),C(2090,2065,Cge),f.Xc=function(t){return MK(this.Ee(t))},f.tc=function(t){return PJe(this,t)},f._b=function(t){return Sce(this,t)},f.vc=function(){return new rK(this)},f.Tc=function(){return HVe(this.Ge())},f.Yc=function(t){return MK(this.He(t))},f.xc=function(t){var n;return n=t,Rs(this.Fe(n))},f.$c=function(t){return MK(this.Ie(t))},f.ec=function(){return new fje(this)},f.Vc=function(){return HVe(this.Je())},f._c=function(t){return MK(this.Ke(t))},x(In,"AbstractNavigableMap",2090),C(629,ad,Bc,rK),f.Hc=function(t){return te(t,44)&&PJe(this.b,u(t,44))},f.Kc=function(){return this.b.De()},f.Mc=function(t){var n;return te(t,44)?(n=u(t,44),this.b.Le(n)):!1},f.gc=function(){return this.b.gc()},x(In,"AbstractNavigableMap/EntrySet",629),C(1146,ad,Sge,fje),f.Nc=function(){return new $R(this)},f.$b=function(){this.a.$b()},f.Hc=function(t){return Sce(this.a,t)},f.Kc=function(){var t;return t=this.a.vc().b.De(),new dje(t)},f.Mc=function(t){return Sce(this.a,t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},x(In,"AbstractNavigableMap/NavigableKeySet",1146),C(1147,1,co,dje),f.Nb=function(t){To(this,t)},f.Ob=function(){return jK(this.a.a)},f.Pb=function(){var t;return t=fGe(this.a),t.ld()},f.Qb=function(){wWe(this.a)},x(In,"AbstractNavigableMap/NavigableKeySet/1",1147),C(2103,31,sv),f.Fc=function(t){return l4(D5(this,t),r8),!0},f.Gc=function(t){return sn(t),tI(t!=this,"Can't add a queue to itself"),vo(this,t)},f.$b=function(){for(;vW(this)!=null;);},x(In,"AbstractQueue",2103),C(310,31,{4:1,20:1,31:1,16:1},Ay,wYe),f.Fc=function(t){return Iae(this,t),!0},f.$b=function(){Aae(this)},f.Hc=function(t){return ott(new nS(this),t)},f.dc=function(){return a7(this)},f.Kc=function(){return new nS(this)},f.Mc=function(t){return XBt(new nS(this),t)},f.gc=function(){return this.c-this.b&this.a.length-1},f.Nc=function(){return new Pt(this,272)},f.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.lengthn&&pi(t,n,null),t},f.b=0,f.c=0,x(In,"ArrayDeque",310),C(459,1,co,nS),f.Nb=function(t){To(this,t)},f.Ob=function(){return this.a!=this.b},f.Pb=function(){return d$(this)},f.Qb=function(){ZZe(this)},f.a=0,f.b=0,f.c=-1,x(In,"ArrayDeque/IteratorImpl",459),C(13,56,Jat,Le,ql,Vc),f.bd=function(t,n){Nb(this,t,n)},f.Fc=function(t){return $e(this,t)},f.cd=function(t,n){return yde(this,t,n)},f.Gc=function(t){return zi(this,t)},f.$b=function(){mm(this.c,0)},f.Hc=function(t){return $s(this,t,0)!=-1},f.Jc=function(t){ic(this,t)},f.Xb=function(t){return Ye(this,t)},f.dd=function(t){return $s(this,t,0)},f.dc=function(){return this.c.length==0},f.Kc=function(){return new N(this)},f.gd=function(t){return X1(this,t)},f.Mc=function(t){return vc(this,t)},f.ce=function(t,n){FXe(this,t,n)},f.hd=function(t,n){return la(this,t,n)},f.gc=function(){return this.c.length},f.jd=function(t){Mi(this,t)},f.Pc=function(){return MA(this.c)},f.Qc=function(t){return ld(this,t)};var Nan=x(In,"ArrayList",13);C(7,1,co,N),f.Nb=function(t){To(this,t)},f.Ob=function(){return Ys(this)},f.Pb=function(){return D(this)},f.Qb=function(){J7(this)},f.a=0,f.b=-1,x(In,"ArrayList/1",7),C(2112,w.Function,{},yt),f.Me=function(t,n){return Kr(t,n)},C(151,56,Qat,Wc),f.Hc=function(t){return eet(this,t)!=-1},f.Jc=function(t){var n,i,s,c;for(sn(t),i=this.a,s=0,c=i.length;s0)throw B(new Qt(Age+t+" greater than "+this.e));return this.f.Te()?uXe(this.c,this.b,this.a,t,n):zXe(this.c,t,n)},f.zc=function(t,n){if(!VV(this.c,this.f,t,this.b,this.a,this.e,this.d))throw B(new Qt(t+" outside the range "+this.b+" to "+this.e));return Ctt(this.c,t,n)},f.Bc=function(t){var n;return n=t,VV(this.c,this.f,n,this.b,this.a,this.e,this.d)?aXe(this.c,n):null},f.Le=function(t){return XA(this,t.ld())&&Qae(this.c,t)},f.gc=function(){var t,n,i;if(this.f.Te()?this.a?n=O5(this.c,this.b,!0):n=O5(this.c,this.b,!1):n=cfe(this.c),!(n&&XA(this,n.d)&&n))return 0;for(t=0,i=new AW(this.c,this.f,this.b,this.a,this.e,this.d);jK(i.a);i.b=u(tae(i.a),44))++t;return t},f.ad=function(t,n){if(this.f.Te()&&this.c.a.Ne(t,this.b)<0)throw B(new Qt(Age+t+tft+this.b));return this.f.Ue()?uXe(this.c,t,n,this.e,this.d):HXe(this.c,t,n)},f.a=!1,f.d=!1,x(In,"TreeMap/SubMap",631),C(304,22,NX,jR),f.Te=function(){return!1},f.Ue=function(){return!1};var oQ,sQ,lQ,cQ,zD=An(In,"TreeMap/SubMapType",304,Nn,Czt,RLt);C(1143,304,NX,gUe),f.Ue=function(){return!0},An(In,"TreeMap/SubMapType/1",1143,zD,null,null),C(1144,304,NX,xUe),f.Te=function(){return!0},f.Ue=function(){return!0},An(In,"TreeMap/SubMapType/2",1144,zD,null,null),C(1145,304,NX,pUe),f.Te=function(){return!0},An(In,"TreeMap/SubMapType/3",1145,zD,null,null);var jpt;C(157,ad,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},Qoe,z1,pk),f.Nc=function(){return new $R(this)},f.Fc=function(t){return iI(this,t)},f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){return this.a.ec().Kc()},f.Mc=function(t){return IU(this,t)},f.gc=function(){return this.a.gc()};var Uan=x(In,"TreeSet",157);C(1082,1,{},bje),f.Ve=function(t,n){return XAt(this.a,t,n)},x(BX,"BinaryOperator/lambda$0$Type",1082),C(1083,1,{},wje),f.Ve=function(t,n){return YAt(this.a,t,n)},x(BX,"BinaryOperator/lambda$1$Type",1083),C(952,1,{},pr),f.Kb=function(t){return t},x(BX,"Function/lambda$0$Type",952),C(395,1,Qn,gk),f.Mb=function(t){return!this.a.Mb(t)},x(BX,"Predicate/lambda$2$Type",395),C(581,1,{581:1});var Dpt=x(c9,"Handler",581);C(2107,1,DP),f.xe=function(){return"DUMMY"},f.Ib=function(){return this.xe()};var Hme;x(c9,"Level",2107),C(1706,2107,DP,ye),f.xe=function(){return"INFO"},x(c9,"Level/LevelInfo",1706),C(1843,1,{},KBe);var uQ;x(c9,"LogManager",1843),C(1896,1,DP,bWe),f.b=null,x(c9,"LogRecord",1896),C(525,1,{525:1},QG),f.e=!1;var Npt=!1,Bpt=!1,pd=!1,Fpt=!1,zpt=!1;x(c9,"Logger",525),C(835,581,{581:1},Ce),x(c9,"SimpleConsoleLogHandler",835),C(108,22,{3:1,34:1,22:1,108:1},BK);var Kme,Ws,bv,Ts=An(Ki,"Collector/Characteristics",108,Nn,uFt,ALt),Hpt;C(758,1,{},Lue),x(Ki,"CollectorImpl",758),C(1074,1,{},ee),f.Ve=function(t,n){return KWt(u(t,213),u(n,213))},x(Ki,"Collectors/10methodref$merge$Type",1074),C(1075,1,{},V),f.Kb=function(t){return mYe(u(t,213))},x(Ki,"Collectors/11methodref$toString$Type",1075),C(1076,1,{},mje),f.Kb=function(t){return Gt(),!!Ple(t)},x(Ki,"Collectors/12methodref$test$Type",1076),C(144,1,{},oe),f.Yd=function(t,n){u(t,16).Fc(n)},x(Ki,"Collectors/20methodref$add$Type",144),C(146,1,{},ue),f.Xe=function(){return new Le},x(Ki,"Collectors/21methodref$ctor$Type",146),C(359,1,{},ge),f.Xe=function(){return new _i},x(Ki,"Collectors/23methodref$ctor$Type",359),C(360,1,{},Ge),f.Yd=function(t,n){Fi(u(t,49),n)},x(Ki,"Collectors/24methodref$add$Type",360),C(1069,1,{},$t),f.Ve=function(t,n){return uHe(u(t,15),u(n,16))},x(Ki,"Collectors/4methodref$addAll$Type",1069),C(1073,1,{},Lt),f.Yd=function(t,n){s1(u(t,213),u(n,484))},x(Ki,"Collectors/9methodref$add$Type",1073),C(1072,1,{},AWe),f.Xe=function(){return new x0(this.a,this.b,this.c)},x(Ki,"Collectors/lambda$15$Type",1072),C(1077,1,{},tn),f.Xe=function(){var t;return t=new q1,op(t,(Gt(),!1),new Le),op(t,!0,new Le),t},x(Ki,"Collectors/lambda$22$Type",1077),C(1078,1,{},vje),f.Xe=function(){return H(F(Ji,1),Bt,1,5,[this.a])},x(Ki,"Collectors/lambda$25$Type",1078),C(1079,1,{},yje),f.Yd=function(t,n){gDt(this.a,y0(t))},x(Ki,"Collectors/lambda$26$Type",1079),C(1080,1,{},kje),f.Ve=function(t,n){return KDt(this.a,y0(t),y0(n))},x(Ki,"Collectors/lambda$27$Type",1080),C(1081,1,{},Ct),f.Kb=function(t){return y0(t)[0]},x(Ki,"Collectors/lambda$28$Type",1081),C(728,1,{},Kn),f.Ve=function(t,n){return pue(t,n)},x(Ki,"Collectors/lambda$4$Type",728),C(145,1,{},dn),f.Ve=function(t,n){return x_t(u(t,16),u(n,16))},x(Ki,"Collectors/lambda$42$Type",145),C(361,1,{},Rn),f.Ve=function(t,n){return E_t(u(t,49),u(n,49))},x(Ki,"Collectors/lambda$50$Type",361),C(362,1,{},br),f.Kb=function(t){return u(t,49)},x(Ki,"Collectors/lambda$51$Type",362),C(1068,1,{},Cje),f.Yd=function(t,n){XGt(this.a,u(t,85),n)},x(Ki,"Collectors/lambda$7$Type",1068),C(1070,1,{},de),f.Ve=function(t,n){return EGt(u(t,85),u(n,85),new $t)},x(Ki,"Collectors/lambda$8$Type",1070),C(1071,1,{},Sje),f.Kb=function(t){return CVt(this.a,u(t,85))},x(Ki,"Collectors/lambda$9$Type",1071),C(550,1,{}),f.$e=function(){tS(this)},f.d=!1,x(Ki,"TerminatableStream",550),C(827,550,Lge,hce),f.$e=function(){tS(this)},x(Ki,"DoubleStreamImpl",827),C(1847,736,Ku,LWe),f.Re=function(t){return EXt(this,u(t,189))},f.a=null,x(Ki,"DoubleStreamImpl/2",1847),C(1848,1,WP,xje),f.Pe=function(t){mRt(this.a,t)},x(Ki,"DoubleStreamImpl/2/lambda$0$Type",1848),C(1845,1,WP,Eje),f.Pe=function(t){wRt(this.a,t)},x(Ki,"DoubleStreamImpl/lambda$0$Type",1845),C(1846,1,WP,Tje),f.Pe=function(t){jnt(this.a,t)},x(Ki,"DoubleStreamImpl/lambda$2$Type",1846),C(1397,735,Ku,SJe),f.Re=function(t){return fzt(this,u(t,202))},f.a=0,f.b=0,f.c=0,x(Ki,"IntStream/5",1397),C(806,550,Lge,pce),f.$e=function(){tS(this)},f._e=function(){return Qp(this),this.a},x(Ki,"IntStreamImpl",806),C(807,550,Lge,Bse),f.$e=function(){tS(this)},f._e=function(){return Qp(this),Xle(),$pt},x(Ki,"IntStreamImpl/Empty",807),C(1687,1,BP,Ije),f.Dd=function(t){Wet(this.a,t)},x(Ki,"IntStreamImpl/lambda$4$Type",1687);var Gan=hi(Ki,"Stream");C(26,550,{533:1,687:1,848:1},xt),f.$e=function(){tS(this)};var t6;x(Ki,"StreamImpl",26),C(1102,500,Ku,cWe),f.Bd=function(t){for(;pKt(this);){if(this.a.Bd(t))return!0;tS(this.b),this.b=null,this.a=null}return!1},x(Ki,"StreamImpl/1",1102),C(1103,1,bn,Pje),f.Cd=function(t){zjt(this.a,u(t,848))},x(Ki,"StreamImpl/1/lambda$0$Type",1103),C(1104,1,Qn,Mje),f.Mb=function(t){return Fi(this.a,t)},x(Ki,"StreamImpl/1methodref$add$Type",1104),C(1105,500,Ku,Hqe),f.Bd=function(t){var n;return this.a||(n=new Le,this.b.a.Nb(new Oje(n)),Ot(),Mi(n,this.c),this.a=new Pt(n,16)),EZe(this.a,t)},f.a=null,x(Ki,"StreamImpl/5",1105),C(1106,1,bn,Oje),f.Cd=function(t){$e(this.a,t)},x(Ki,"StreamImpl/5/2methodref$add$Type",1106),C(737,500,Ku,ufe),f.Bd=function(t){for(this.b=!1;!this.b&&this.c.Bd(new THe(this,t)););return this.b},f.b=!1,x(Ki,"StreamImpl/FilterSpliterator",737),C(1096,1,bn,THe),f.Cd=function(t){DDt(this.a,this.b,t)},x(Ki,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),C(1091,736,Ku,LJe),f.Re=function(t){return wLt(this,u(t,189))},x(Ki,"StreamImpl/MapToDoubleSpliterator",1091),C(1095,1,bn,IHe),f.Cd=function(t){z_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),C(1090,735,Ku,$Je),f.Re=function(t){return mLt(this,u(t,202))},x(Ki,"StreamImpl/MapToIntSpliterator",1090),C(1094,1,bn,PHe),f.Cd=function(t){H_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),C(734,500,Ku,qae),f.Bd=function(t){return oWe(this,t)},x(Ki,"StreamImpl/MapToObjSpliterator",734),C(1093,1,bn,MHe),f.Cd=function(t){K_t(this.a,this.b,t)},x(Ki,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),C(1092,500,Ku,fet),f.Bd=function(t){for(;DK(this.b,0);){if(!this.a.Bd(new G))return!1;this.b=Ra(this.b,1)}return this.a.Bd(t)},f.b=0,x(Ki,"StreamImpl/SkipSpliterator",1092),C(1097,1,bn,G),f.Cd=function(t){},x(Ki,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),C(626,1,bn,Y),f.Cd=function(t){sje(this,t)},x(Ki,"StreamImpl/ValueConsumer",626),C(1098,1,bn,De),f.Cd=function(t){c0()},x(Ki,"StreamImpl/lambda$0$Type",1098),C(1099,1,bn,gt),f.Cd=function(t){c0()},x(Ki,"StreamImpl/lambda$1$Type",1099),C(1100,1,{},_je),f.Ve=function(t,n){return YLt(this.a,t,n)},x(Ki,"StreamImpl/lambda$4$Type",1100),C(1101,1,bn,OHe),f.Cd=function(t){nLt(this.b,this.a,t)},x(Ki,"StreamImpl/lambda$5$Type",1101),C(1107,1,bn,Rje),f.Cd=function(t){hGt(this.a,u(t,380))},x(Ki,"TerminatableStream/lambda$0$Type",1107),C(2142,1,{}),C(2014,1,{},Kt),x("javaemul.internal","ConsoleLogger",2014);var Wan=0;C(2134,1,{}),C(1830,1,bn,Ut),f.Cd=function(t){u(t,317)},x(i8,"BowyerWatsonTriangulation/lambda$0$Type",1830),C(1831,1,bn,Aje),f.Cd=function(t){vo(this.a,u(t,317).e)},x(i8,"BowyerWatsonTriangulation/lambda$1$Type",1831),C(1832,1,bn,so),f.Cd=function(t){u(t,177)},x(i8,"BowyerWatsonTriangulation/lambda$2$Type",1832),C(1827,1,tr,Lje),f.Ne=function(t,n){return Yzt(this.a,u(t,177),u(n,177))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(i8,"NaiveMinST/lambda$0$Type",1827),C(449,1,{},t7),x(i8,"NodeMicroLayout",449),C(177,1,{177:1},Y3),f.Fb=function(t){var n;return te(t,177)?(n=u(t,177),gl(this.a,n.a)&&gl(this.b,n.b)||gl(this.a,n.b)&&gl(this.b,n.a)):!1},f.Hb=function(){return Oy(this.a)+Oy(this.b)};var Van=x(i8,"TEdge",177);C(317,1,{317:1},qpe),f.Fb=function(t){var n;return te(t,317)?(n=u(t,317),RL(this,n.a)&&RL(this,n.b)&&RL(this,n.c)):!1},f.Hb=function(){return Oy(this.a)+Oy(this.b)+Oy(this.c)},x(i8,"TTriangle",317),C(225,1,{225:1},uA),x(i8,"Tree",225),C(1218,1,{},IXe),x(ift,"Scanline",1218);var Kpt=hi(ift,oft);C(1758,1,{},CZe),x(Mh,"CGraph",1758),C(316,1,{316:1},OXe),f.b=0,f.c=0,f.d=0,f.g=0,f.i=0,f.k=Hi,x(Mh,"CGroup",316),C(830,1,{},tse),x(Mh,"CGroup/CGroupBuilder",830),C(60,1,{60:1},HGe),f.Ib=function(){var t;return this.j?Jn(this.j.Kb(this)):(e1(HD),HD.o+"@"+(t=$b(this)>>>0,t.toString(16)))},f.f=0,f.i=Hi;var HD=x(Mh,"CNode",60);C(829,1,{},nse),x(Mh,"CNode/CNodeBuilder",829);var Upt;C(1590,1,{},rl),f.ff=function(t,n){return 0},f.gf=function(t,n){return 0},x(Mh,lft,1590),C(1853,1,{},Ro),f.cf=function(t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$;for(v=ii,s=new N(t.a.b);s.as.d.c||s.d.c==d.d.c&&s.d.b0?t+this.n.d+this.n.a:0},f.kf=function(){var t,n,i,s,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=Wde(this,XV(this,null,!0));else for(n=(jf(),H(F(wv,1),Te,237,0,[ul,Ql,al])),i=0,s=n.length;i0?c+this.n.b+this.n.c:0},f.lf=function(){var t,n,i,s,c;if(this.g)for(t=XV(this,null,!1),i=(jf(),H(F(wv,1),Te,237,0,[ul,Ql,al])),s=0,c=i.length;s0&&(s[0]+=this.d,i-=s[0]),s[2]>0&&(s[2]+=this.d,i-=s[2]),this.c.a=w.Math.max(0,i),this.c.d=n.d+t.d+(this.c.a-i)/2,s[1]=w.Math.max(s[1],i),Uae(this,Ql,n.d+t.d+s[0]-(s[1]-i)/2,s)},f.b=null,f.d=0,f.e=!1,f.f=!1,f.g=!1;var pQ=0,KD=0;x($0,"GridContainerCell",1538),C(471,22,{3:1,34:1,22:1,471:1},zK);var Cg,oh,ff,egt=An($0,"HorizontalLabelAlignment",471,Nn,fFt,NLt),tgt;C(314,217,{217:1,314:1},hXe,xZe,sXe),f.jf=function(){return VWe(this)},f.kf=function(){return cue(this)},f.a=0,f.c=!1;var qan=x($0,"LabelCell",314);C(252,336,{217:1,336:1,252:1},_S),f.jf=function(){return zS(this)},f.kf=function(){return HS(this)},f.lf=function(){Dq(this)},f.mf=function(){Nq(this)},f.b=0,f.c=0,f.d=!1,x($0,"StripContainerCell",252),C(1691,1,Qn,YC),f.Mb=function(t){return NOt(u(t,217))},x($0,"StripContainerCell/lambda$0$Type",1691),C(1692,1,{},sT),f.Ye=function(t){return u(t,217).kf()},x($0,"StripContainerCell/lambda$1$Type",1692),C(1693,1,Qn,$1),f.Mb=function(t){return BOt(u(t,217))},x($0,"StripContainerCell/lambda$2$Type",1693),C(1694,1,{},JC),f.Ye=function(t){return u(t,217).jf()},x($0,"StripContainerCell/lambda$3$Type",1694),C(472,22,{3:1,34:1,22:1,472:1},HK);var df,Sg,zf,ngt=An($0,"VerticalLabelAlignment",472,Nn,aFt,BLt),rgt;C(800,1,{},fge),f.c=0,f.d=0,f.k=0,f.s=0,f.t=0,f.v=!1,f.w=0,f.D=!1,f.F=!1,x(Oj,"NodeContext",800),C(1536,1,tr,Ne),f.Ne=function(t,n){return oUe(u(t,64),u(n,64))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Oj,"NodeContext/0methodref$comparePortSides$Type",1536),C(1537,1,tr,Xe),f.Ne=function(t,n){return pQt(u(t,117),u(n,117))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Oj,"NodeContext/1methodref$comparePortContexts$Type",1537),C(164,22,{3:1,34:1,22:1,164:1},aa);var igt,ogt,sgt,lgt,cgt,ugt,agt,fgt,dgt,hgt,pgt,ggt,bgt,wgt,mgt,vgt,ygt,kgt,Cgt,Sgt,xgt,gQ,Egt=An(Oj,"NodeLabelLocation",164,Nn,TV,FLt),Tgt;C(117,1,{117:1},pst),f.a=!1,x(Oj,"PortContext",117),C(1541,1,bn,Pr),f.Cd=function(t){xze(u(t,314))},x(qP,yft,1541),C(1542,1,Qn,Cr),f.Mb=function(t){return!!u(t,117).c},x(qP,kft,1542),C(1543,1,bn,Gr),f.Cd=function(t){xze(u(t,117).c)},x(qP,"LabelPlacer/lambda$2$Type",1543);var fve;C(1540,1,bn,lu),f.Cd=function(t){Im(),wOt(u(t,117))},x(qP,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),C(801,1,bn,zce),f.Cd=function(t){__t(this.b,this.c,this.a,u(t,187))},f.a=!1,f.c=!1,x(qP,"NodeLabelCellCreator/lambda$0$Type",801),C(1539,1,bn,Dje),f.Cd=function(t){yOt(this.a,u(t,187))},x(qP,"PortContextCreator/lambda$0$Type",1539);var UD;C(1902,1,{},Rd),x(s8,"GreedyRectangleStripOverlapRemover",1902),C(1903,1,tr,Jg),f.Ne=function(t,n){return uAt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(s8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),C(1849,1,{},VBe),f.a=5,f.e=0,x(s8,"RectangleStripOverlapRemover",1849),C(1850,1,tr,mb),f.Ne=function(t,n){return aAt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(s8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),C(1852,1,tr,ck),f.Ne=function(t,n){return ZDt(u(t,226),u(n,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(s8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),C(417,22,{3:1,34:1,22:1,417:1},NR);var yM,bQ,wQ,kM,Igt=An(s8,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Nn,Ezt,zLt),Pgt;C(226,1,{226:1},rG),x(s8,"RectangleStripOverlapRemover/RectangleNode",226),C(1851,1,bn,Nje),f.Cd=function(t){FXt(this.a,u(t,226))},x(s8,"RectangleStripOverlapRemover/lambda$1$Type",1851),C(1323,1,tr,$3),f.Ne=function(t,n){return oln(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),C(1326,1,{},j1),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),C(1327,1,Qn,wy),f.Mb=function(t){return u(t,332).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),C(1328,1,Qn,uk),f.Mb=function(t){return u(t,332).a},x(Qd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),C(1321,1,tr,j3),f.Ne=function(t,n){return jin(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),C(1324,1,{},ak),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),C(781,1,tr,Fp),f.Ne=function(t,n){return mGt(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinNumOfExtensionsComparator",781),C(1319,1,tr,Qg),f.Ne=function(t,n){return TUt(u(t,330),u(n,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinPerimeterComparator",1319),C(1320,1,tr,zp),f.Ne=function(t,n){return aXt(u(t,330),u(n,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),C(1322,1,tr,lT),f.Ne=function(t,n){return non(u(t,176),u(n,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Qd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),C(1325,1,{},BH),f.Kb=function(t){return u(t,334).a},x(Qd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),C(782,1,{},Qse),f.Ve=function(t,n){return wzt(this,u(t,42),u(n,176))},x(Qd,"SuccessorCombination",782),C(649,1,{},QC),f.Ve=function(t,n){var i;return Aen((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorJitter",649),C(648,1,{},cT),f.Ve=function(t,n){var i;return vrn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorLineByLine",648),C(573,1,{},ZC),f.Ve=function(t,n){var i;return Atn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorManhattan",573),C(1344,1,{},Y_),f.Ve=function(t,n){var i;return Knn((i=u(t,42),u(n,176),i))},x(Qd,"SuccessorMaxNormWindingInMathPosSense",1344),C(409,1,{},bk),f.Ve=function(t,n){return Rue(this,t,n)},f.c=!1,f.d=!1,f.e=!1,f.f=!1,x(Qd,"SuccessorQuadrantsGeneric",409),C(1345,1,{},we),f.Kb=function(t){return u(t,334).a},x(Qd,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),C(332,22,{3:1,34:1,22:1,332:1},BR),f.a=!1;var CM,SM,xM,EM,Mgt=An(Rj,Gge,332,Nn,Szt,HLt),Ogt;C(1317,1,{}),f.Ib=function(){var t,n,i,s,c,d;for(i=" ",t=Ae(0),c=0;c=0?"b"+t+"["+JG(this.a)+"]":"b["+JG(this.a)+"]"):"b_"+$b(this)},x(YP,"FBendpoint",250),C(290,137,{3:1,290:1,96:1,137:1},KGe),f.Ib=function(){return JG(this)},x(YP,"FEdge",290),C(235,137,{3:1,235:1,96:1,137:1},CL);var Yan=x(YP,"FGraph",235);C(454,309,{3:1,454:1,309:1,96:1,137:1},GYe),f.Ib=function(){return this.b==null||this.b.length==0?"l["+JG(this.a)+"]":"l_"+this.b},x(YP,"FLabel",454),C(153,309,{3:1,153:1,309:1,96:1,137:1},SUe),f.Ib=function(){return vae(this)},f.a=0,x(YP,"FNode",153),C(2100,1,{}),f.vf=function(t){Kpe(this,t)},f.wf=function(){qrt(this)},f.d=0,x(e0e,"AbstractForceModel",2100),C(641,2100,{641:1},Get),f.uf=function(t,n){var i,s,c,d,h;return kut(this.f,t,n),c=Xi(Eo(n.d),t.d),h=w.Math.sqrt(c.a*c.a+c.b*c.b),s=w.Math.max(0,h-eS(t.e)/2-eS(n.e)/2),i=rst(this.e,t,n),i>0?d=-YDt(s,this.c)*i:d=EAt(s,this.b)*u(A(t,(uf(),n6)),17).a,Nd(c,d/h),c},f.vf=function(t){Kpe(this,t),this.a=u(A(t,(uf(),YD)),17).a,this.c=le(pe(A(t,JD))),this.b=le(pe(A(t,xQ)))},f.xf=function(t){return t0&&(d-=LOt(s,this.a)*i),Nd(c,d*this.b/h),c},f.vf=function(t){var n,i,s,c,d,h,b;for(Kpe(this,t),this.b=le(pe(A(t,(uf(),EQ)))),this.c=this.b/u(A(t,YD),17).a,s=t.e.c.length,d=0,c=0,b=new N(t.e);b.a0},f.a=0,f.b=0,f.c=0,x(e0e,"FruchtermanReingoldModel",642),C(860,1,$a,NLe),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,$j),""),"Force Model"),"Determines the model for force calculation."),yve),(cp(),oi)),kve),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,t0e),""),"Iterations"),"The number of iterations on the force model."),Ae(300)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,n0e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Ae(0)),Vs),Oo),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rY),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Zd),No),Bi),ht(Nt)))),$i(t,rY,$j,Ygt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,iY),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),No),Bi),ht(Nt)))),$i(t,iY,$j,Vgt),uat((new BLe,t))};var Ugt,Ggt,yve,Wgt,Vgt,qgt,Xgt,Ygt;x(f9,"ForceMetaDataProvider",860),C(432,22,{3:1,34:1,22:1,432:1},ele);var SQ,XD,kve=An(f9,"ForceModelStrategy",432,Nn,wBt,GLt),Jgt;C(ap,1,$a,BLe),f.hf=function(t){uat(t)};var Qgt,Zgt,Cve,YD,Sve,e0t,t0t,n0t,r0t,xve,i0t,Eve,Tve,o0t,n6,s0t,xQ,Ive,l0t,c0t,JD,EQ,u0t,a0t,f0t,Pve,d0t;x(f9,"ForceOptions",ap),C(1001,1,{},Zxe),f.sf=function(){var t;return t=new ese,t},f.tf=function(t){},x(f9,"ForceOptions/ForceFactory",1001);var PM,H9,r6,QD;C(861,1,$a,FLe),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,i0e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Gt(),!1)),(cp(),Qi)),xi),ht((Nf(),qi))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,o0e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),No),Bi),Yr(Nt,H(F(jh,1),Te,170,0,[uh]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,s0e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Mve),oi),jve),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,l0e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Zd),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,c0e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Ae(Mr)),Vs),Oo),ht(Nt)))),Dut((new zLe,t))};var h0t,p0t,Mve,g0t,b0t,w0t;x(f9,"StressMetaDataProvider",861),C(1004,1,$a,zLe),f.hf=function(t){Dut(t)};var ZD,Ove,_ve,Rve,Ave,Lve,m0t,v0t,y0t,k0t,$ve,C0t;x(f9,"StressOptions",1004),C(1005,1,{},Jxe),f.sf=function(){var t;return t=new UGe,t},f.tf=function(t){},x(f9,"StressOptions/StressFactory",1005),C(1110,205,j0,UGe),f.rf=function(t,n){var i,s,c,d,h;for(n.Ug(Lft,1),qe(Ve(Ie(t,(uP(),Ave))))?qe(Ve(Ie(t,$ve)))||dI((i=new t7((Mb(),new kb(t))),i)):elt(new ese,t,n.eh(1)),c=gtt(t),s=Wct(this.a,c),h=s.Kc();h.Ob();)d=u(h.Pb(),235),!(d.e.c.length<=1)&&(nln(this.b,d),Ptn(this.b),ic(d.d,new Qxe));c=sat(s),bat(c),n.Vg()},x(Nj,"StressLayoutProvider",1110),C(1111,1,bn,Qxe),f.Cd=function(t){Jpe(u(t,454))},x(Nj,"StressLayoutProvider/lambda$0$Type",1111),C(1002,1,{},HBe),f.c=0,f.e=0,f.g=0,x(Nj,"StressMajorization",1002),C(391,22,{3:1,34:1,22:1,391:1},KK);var TQ,IQ,PQ,jve=An(Nj,"StressMajorization/Dimension",391,Nn,hFt,WLt),S0t;C(1003,1,tr,Hje),f.Ne=function(t,n){return yLt(this.a,u(t,153),u(n,153))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Nj,"StressMajorization/lambda$0$Type",1003),C(1192,1,{},YXe),x(Y4,"ElkLayered",1192),C(1193,1,bn,Kje),f.Cd=function(t){ren(this.a,u(t,36))},x(Y4,"ElkLayered/lambda$0$Type",1193),C(1194,1,bn,Uje),f.Cd=function(t){kLt(this.a,u(t,36))},x(Y4,"ElkLayered/lambda$1$Type",1194),C(1281,1,{},AUe);var x0t,E0t,T0t;x(Y4,"GraphConfigurator",1281),C(770,1,bn,Noe),f.Cd=function(t){lot(this.a,u(t,10))},x(Y4,"GraphConfigurator/lambda$0$Type",770),C(771,1,{},Xie),f.Kb=function(t){return Fhe(),new xt(null,new Pt(u(t,30).a,16))},x(Y4,"GraphConfigurator/lambda$1$Type",771),C(772,1,bn,Boe),f.Cd=function(t){lot(this.a,u(t,10))},x(Y4,"GraphConfigurator/lambda$2$Type",772),C(1109,205,j0,qBe),f.rf=function(t,n){var i;i=Dsn(new YBe,t),fe(Ie(t,(Ue(),Iv)))===fe((f1(),Cp))?gVt(this.a,i,n):xtn(this.a,i,n),n.$g()||Zut(new HLe,i)},x(Y4,"LayeredLayoutProvider",1109),C(367,22,{3:1,34:1,22:1,367:1},TT);var hf,Ah,_l,zl,Ns,Dve=An(Y4,"LayeredPhases",367,Nn,wHt,VLt),I0t;C(1717,1,{},cet),f.i=0;var P0t;x(nM,"ComponentsToCGraphTransformer",1717);var M0t;C(1718,1,{},Yxe),f.yf=function(t,n){return w.Math.min(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},f.zf=function(t,n){return w.Math.min(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},x(nM,"ComponentsToCGraphTransformer/1",1718),C(86,1,{86:1}),f.i=0,f.k=!0,f.o=Hi;var MQ=x(g9,"CNode",86);C(470,86,{470:1,86:1},ice,phe),f.Ib=function(){return""},x(nM,"ComponentsToCGraphTransformer/CRectNode",470),C(1688,1,{},eEe);var OQ,_Q;x(nM,"OneDimensionalComponentsCompaction",1688),C(1689,1,{},tEe),f.Kb=function(t){return iFt(u(t,42))},f.Fb=function(t){return this===t},x(nM,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),C(1690,1,{},nEe),f.Kb=function(t){return wVt(u(t,42))},f.Fb=function(t){return this===t},x(nM,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),C(1720,1,{},rqe),x(g9,"CGraph",1720),C(194,1,{194:1},SV),f.b=0,f.c=0,f.e=0,f.g=!0,f.i=Hi,x(g9,"CGroup",194),C(1719,1,{},rEe),f.yf=function(t,n){return w.Math.max(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},f.zf=function(t,n){return w.Math.max(t.a!=null?le(t.a):t.c.i,n.a!=null?le(n.a):n.c.i)},x(g9,lft,1719),C(1721,1,{},ost),f.d=!1;var O0t,RQ=x(g9,aft,1721);C(1722,1,{},iEe),f.Kb=function(t){return zse(),Gt(),u(u(t,42).a,86).d.e!=0},f.Fb=function(t){return this===t},x(g9,fft,1722),C(833,1,{},gue),f.a=!1,f.b=!1,f.c=!1,f.d=!1,x(g9,dft,833),C(1898,1,{},vVe),x(Bj,hft,1898);var MM=hi(N0,oft);C(1899,1,{382:1},Zqe),f.bf=function(t){Rrn(this,u(t,476))},x(Bj,pft,1899),C(gg,1,tr,oEe),f.Ne=function(t,n){return zNt(u(t,86),u(n,86))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Bj,gft,gg),C(476,1,{476:1},nle),f.a=!1,x(Bj,bft,476),C(1901,1,tr,sEe),f.Ne=function(t,n){return HYt(u(t,476),u(n,476))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Bj,wft,1901),C(148,1,{148:1},Mk,Qce),f.Fb=function(t){var n;return t==null||Jan!=Tu(t)?!1:(n=u(t,148),gl(this.c,n.c)&&gl(this.d,n.d))},f.Hb=function(){return XI(H(F(Ji,1),Bt,1,5,[this.c,this.d]))},f.Ib=function(){return"("+this.c+Xo+this.d+(this.a?"cx":"")+this.b+")"},f.a=!0,f.c=0,f.d=0;var Jan=x(N0,"Point",148);C(416,22,{3:1,34:1,22:1,416:1},zR);var Pw,mv,C2,vv,_0t=An(N0,"Point/Quadrant",416,Nn,Tzt,qLt),R0t;C(1708,1,{},WBe),f.b=null,f.c=null,f.d=null,f.e=null,f.f=null;var A0t,L0t,$0t,j0t,D0t;x(N0,"RectilinearConvexHull",1708),C(583,1,{382:1},_$),f.bf=function(t){bKt(this,u(t,148))},f.b=0;var Nve;x(N0,"RectilinearConvexHull/MaximalElementsEventHandler",583),C(1710,1,tr,lEe),f.Ne=function(t,n){return HNt(pe(t),pe(n))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),C(1709,1,{382:1},SZe),f.bf=function(t){Vnn(this,u(t,148))},f.a=0,f.b=null,f.c=null,f.d=null,f.e=null,x(N0,"RectilinearConvexHull/RectangleEventHandler",1709),C(1711,1,tr,cEe),f.Ne=function(t,n){return YFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$0$Type",1711),C(1712,1,tr,fEe),f.Ne=function(t,n){return JFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$1$Type",1712),C(1713,1,tr,dEe),f.Ne=function(t,n){return XFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$2$Type",1713),C(1714,1,tr,aEe),f.Ne=function(t,n){return QFt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$3$Type",1714),C(1715,1,tr,hEe),f.Ne=function(t,n){return MQt(u(t,148),u(n,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(N0,"RectilinearConvexHull/lambda$4$Type",1715),C(1716,1,{},PXe),x(N0,"Scanline",1716),C(2104,1,{}),x(dd,"AbstractGraphPlacer",2104),C(335,1,{335:1},gGe),f.Ff=function(t){return this.Gf(t)?(It(this.b,u(A(t,(Oe(),S1)),21),t),!0):!1},f.Gf=function(t){var n,i,s,c;for(n=u(A(t,(Oe(),S1)),21),c=u($r(Ur,n),21),s=c.Kc();s.Ob();)if(i=u(s.Pb(),21),!u($r(this.b,i),15).dc())return!1;return!0};var Ur;x(dd,"ComponentGroup",335),C(779,2104,{},rse),f.Hf=function(t){var n,i;for(i=new N(this.a);i.ai&&(k=0,T+=b+s,b=0),m=d.c,U5(d,k+m.a,T+m.b),Of(m),c=w.Math.max(c,k+v.a),b=w.Math.max(b,v.b),k+=v.a+s;n.f.a=c,n.f.b=T+b},f.Jf=function(t,n){var i,s,c,d,h;if(fe(A(n,(Ue(),Tv)))===fe((P0(),yv))){for(s=t.Kc();s.Ob();){for(i=u(s.Pb(),36),h=0,d=new N(i.a);d.ai&&!u(A(d,(Oe(),S1)),21).Hc((ze(),en))||m&&u(A(m,(Oe(),S1)),21).Hc((ze(),fn))||u(A(d,(Oe(),S1)),21).Hc((ze(),rn)))&&(P=T,O+=b+s,b=0),v=d.c,u(A(d,(Oe(),S1)),21).Hc((ze(),en))&&(P=c+s),U5(d,P+v.a,O+v.b),c=w.Math.max(c,P+k.a),u(A(d,S1),21).Hc(Pn)&&(T=w.Math.max(T,P+k.a+s)),Of(v),b=w.Math.max(b,k.b),P+=k.a+s,m=d;n.f.a=c,n.f.b=O+b},f.Jf=function(t,n){},x(dd,"ModelOrderRowGraphPlacer",1313),C(1311,1,tr,bEe),f.Ne=function(t,n){return gGt(u(t,36),u(n,36))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(dd,"SimpleRowGraphPlacer/1",1311);var B0t;C(1280,1,Jd,wEe),f.Lb=function(t){var n;return n=u(A(u(t,249).b,(Ue(),Is)),75),!!n&&n.b!=0},f.Fb=function(t){return this===t},f.Mb=function(t){var n;return n=u(A(u(t,249).b,(Ue(),Is)),75),!!n&&n.b!=0},x(Fj,"CompoundGraphPostprocessor/1",1280),C(1279,1,qr,JBe),f.Kf=function(t,n){Prt(this,u(t,36),n)},x(Fj,"CompoundGraphPreprocessor",1279),C(453,1,{453:1},mnt),f.c=!1,x(Fj,"CompoundGraphPreprocessor/ExternalPort",453),C(249,1,{249:1},CA),f.Ib=function(){return RU(this.c)+":"+Zot(this.b)},x(Fj,"CrossHierarchyEdge",249),C(777,1,tr,Foe),f.Ne=function(t,n){return bYt(this,u(t,249),u(n,249))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fj,"CrossHierarchyEdgeComparator",777),C(305,137,{3:1,305:1,96:1,137:1}),f.p=0,x(Bl,"LGraphElement",305),C(18,305,{3:1,18:1,305:1,96:1,137:1},Vb),f.Ib=function(){return Zot(this)};var $Q=x(Bl,"LEdge",18);C(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},Ofe),f.Jc=function(t){Po(this,t)},f.Kc=function(){return new N(this.b)},f.Ib=function(){return this.b.c.length==0?"G-unlayered"+ag(this.a):this.a.c.length==0?"G-layered"+ag(this.b):"G[layerless"+ag(this.a)+", layers"+ag(this.b)+"]"};var F0t=x(Bl,"LGraph",36),z0t;C(666,1,{}),f.Lf=function(){return this.e.n},f.of=function(t){return A(this.e,t)},f.Mf=function(){return this.e.o},f.Nf=function(){return this.e.p},f.pf=function(t){return Xr(this.e,t)},f.Of=function(t){this.e.n.a=t.a,this.e.n.b=t.b},f.Pf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},f.Qf=function(t){this.e.p=t},x(Bl,"LGraphAdapters/AbstractLShapeAdapter",666),C(474,1,{853:1},n7),f.Rf=function(){var t,n;if(!this.b)for(this.b=gh(this.a.b.c.length),n=new N(this.a.b);n.a0&&Xtt((Zt(n-1,t.length),t.charCodeAt(n-1)),Fft);)--n;if(d> ",t),z$(i)),lr(Al((t.a+="[",t),i.i),"]")),t.a},f.c=!0,f.d=!1;var Kve,Uve,Gve,Wve,Vve,qve,K0t=x(Bl,"LPort",12);C(408,1,Th,wk),f.Jc=function(t){Po(this,t)},f.Kc=function(){var t;return t=new N(this.a.e),new Gje(t)},x(Bl,"LPort/1",408),C(1309,1,co,Gje),f.Nb=function(t){To(this,t)},f.Pb=function(){return u(D(this.a),18).c},f.Ob=function(){return Ys(this.a)},f.Qb=function(){J7(this.a)},x(Bl,"LPort/1/1",1309),C(369,1,Th,N3),f.Jc=function(t){Po(this,t)},f.Kc=function(){var t;return t=new N(this.a.g),new zoe(t)},x(Bl,"LPort/2",369),C(776,1,co,zoe),f.Nb=function(t){To(this,t)},f.Pb=function(){return u(D(this.a),18).d},f.Ob=function(){return Ys(this.a)},f.Qb=function(){J7(this.a)},x(Bl,"LPort/2/1",776),C(1302,1,Th,LHe),f.Jc=function(t){Po(this,t)},f.Kc=function(){return new nd(this)},x(Bl,"LPort/CombineIter",1302),C(208,1,co,nd),f.Nb=function(t){To(this,t)},f.Qb=function(){dze()},f.Ob=function(){return F7(this)},f.Pb=function(){return Ys(this.a)?D(this.a):D(this.b)},x(Bl,"LPort/CombineIter/1",208),C(1303,1,Jd,vEe),f.Lb=function(t){return AVe(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).g.c.length!=0},x(Bl,"LPort/lambda$0$Type",1303),C(1304,1,Jd,yEe),f.Lb=function(t){return LVe(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).e.c.length!=0},x(Bl,"LPort/lambda$1$Type",1304),C(1305,1,Jd,kEe),f.Lb=function(t){return Dc(),u(t,12).j==(ze(),en)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).j==(ze(),en)},x(Bl,"LPort/lambda$2$Type",1305),C(1306,1,Jd,CEe),f.Lb=function(t){return Dc(),u(t,12).j==(ze(),fn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).j==(ze(),fn)},x(Bl,"LPort/lambda$3$Type",1306),C(1307,1,Jd,SEe),f.Lb=function(t){return Dc(),u(t,12).j==(ze(),Pn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).j==(ze(),Pn)},x(Bl,"LPort/lambda$4$Type",1307),C(1308,1,Jd,xEe),f.Lb=function(t){return Dc(),u(t,12).j==(ze(),rn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Dc(),u(t,12).j==(ze(),rn)},x(Bl,"LPort/lambda$5$Type",1308),C(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},Ll),f.Jc=function(t){Po(this,t)},f.Kc=function(){return new N(this.a)},f.Ib=function(){return"L_"+$s(this.b.b,this,0)+ag(this.a)},x(Bl,"Layer",30),C(1330,1,{},YBe),x(dp,Uft,1330),C(1334,1,{},EEe),f.Kb=function(t){return Ds(u(t,84))},x(dp,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),C(1337,1,{},TEe),f.Kb=function(t){return Ds(u(t,84))},x(dp,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),C(1331,1,bn,Wje),f.Cd=function(t){bst(this.a,u(t,123))},x(dp,Zge,1331),C(1332,1,bn,Vje),f.Cd=function(t){bst(this.a,u(t,123))},x(dp,Gft,1332),C(1333,1,{},IEe),f.Kb=function(t){return new xt(null,new Pt(Jue(u(t,74)),16))},x(dp,Wft,1333),C(1335,1,Qn,qje),f.Mb=function(t){return vRt(this.a,u(t,27))},x(dp,Vft,1335),C(1336,1,{},PEe),f.Kb=function(t){return new xt(null,new Pt(jNt(u(t,74)),16))},x(dp,"ElkGraphImporter/lambda$5$Type",1336),C(1338,1,Qn,Xje),f.Mb=function(t){return yRt(this.a,u(t,27))},x(dp,"ElkGraphImporter/lambda$7$Type",1338),C(1339,1,Qn,MEe),f.Mb=function(t){return YNt(u(t,74))},x(dp,"ElkGraphImporter/lambda$8$Type",1339),C(1297,1,{},HLe);var U0t;x(dp,"ElkGraphLayoutTransferrer",1297),C(1298,1,Qn,Yje),f.Mb=function(t){return cLt(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),C(1299,1,bn,Jje),f.Cd=function(t){xT(),$e(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),C(1300,1,Qn,Qje),f.Mb=function(t){return VAt(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),C(1301,1,bn,Zje),f.Cd=function(t){xT(),$e(this.a,u(t,18))},x(dp,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),C(819,1,{},Ice),x(ln,"BiLinkedHashMultiMap",819),C(1550,1,qr,OEe),f.Kf=function(t,n){$Ut(u(t,36),n)},x(ln,"CommentNodeMarginCalculator",1550),C(1551,1,{},_Ee),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"CommentNodeMarginCalculator/lambda$0$Type",1551),C(1552,1,bn,REe),f.Cd=function(t){$sn(u(t,10))},x(ln,"CommentNodeMarginCalculator/lambda$1$Type",1552),C(1553,1,qr,AEe),f.Kf=function(t,n){Brn(u(t,36),n)},x(ln,"CommentPostprocessor",1553),C(1554,1,qr,LEe),f.Kf=function(t,n){lun(u(t,36),n)},x(ln,"CommentPreprocessor",1554),C(1555,1,qr,$Ee),f.Kf=function(t,n){nrn(u(t,36),n)},x(ln,"ConstraintsPostprocessor",1555),C(1556,1,qr,jEe),f.Kf=function(t,n){uGt(u(t,36),n)},x(ln,"EdgeAndLayerConstraintEdgeReverser",1556),C(1557,1,qr,DEe),f.Kf=function(t,n){ZVt(u(t,36),n)},x(ln,"EndLabelPostprocessor",1557),C(1558,1,{},NEe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"EndLabelPostprocessor/lambda$0$Type",1558),C(1559,1,Qn,BEe),f.Mb=function(t){return pHt(u(t,10))},x(ln,"EndLabelPostprocessor/lambda$1$Type",1559),C(1560,1,bn,FEe),f.Cd=function(t){KYt(u(t,10))},x(ln,"EndLabelPostprocessor/lambda$2$Type",1560),C(1561,1,qr,zEe),f.Kf=function(t,n){_Zt(u(t,36),n)},x(ln,"EndLabelPreprocessor",1561),C(1562,1,{},HEe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"EndLabelPreprocessor/lambda$0$Type",1562),C(1563,1,bn,kWe),f.Cd=function(t){R_t(this.a,this.b,this.c,u(t,10))},f.a=0,f.b=0,f.c=!1,x(ln,"EndLabelPreprocessor/lambda$1$Type",1563),C(1564,1,Qn,KEe),f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),tC))},x(ln,"EndLabelPreprocessor/lambda$2$Type",1564),C(1565,1,bn,eDe),f.Cd=function(t){or(this.a,u(t,72))},x(ln,"EndLabelPreprocessor/lambda$3$Type",1565),C(1566,1,Qn,UEe),f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),Bv))},x(ln,"EndLabelPreprocessor/lambda$4$Type",1566),C(1567,1,bn,tDe),f.Cd=function(t){or(this.a,u(t,72))},x(ln,"EndLabelPreprocessor/lambda$5$Type",1567),C(1615,1,qr,LLe),f.Kf=function(t,n){QWt(u(t,36),n)};var G0t;x(ln,"EndLabelSorter",1615),C(1616,1,tr,GEe),f.Ne=function(t,n){return _qt(u(t,466),u(n,466))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"EndLabelSorter/1",1616),C(466,1,{466:1},Vqe),x(ln,"EndLabelSorter/LabelGroup",466),C(1617,1,{},WEe),f.Kb=function(t){return ST(),new xt(null,new Pt(u(t,30).a,16))},x(ln,"EndLabelSorter/lambda$0$Type",1617),C(1618,1,Qn,VEe),f.Mb=function(t){return ST(),u(t,10).k==(nn(),Ei)},x(ln,"EndLabelSorter/lambda$1$Type",1618),C(1619,1,bn,qEe),f.Cd=function(t){GQt(u(t,10))},x(ln,"EndLabelSorter/lambda$2$Type",1619),C(1620,1,Qn,XEe),f.Mb=function(t){return ST(),fe(A(u(t,72),(Ue(),lh)))===fe((od(),Bv))},x(ln,"EndLabelSorter/lambda$3$Type",1620),C(1621,1,Qn,YEe),f.Mb=function(t){return ST(),fe(A(u(t,72),(Ue(),lh)))===fe((od(),tC))},x(ln,"EndLabelSorter/lambda$4$Type",1621),C(1568,1,qr,JEe),f.Kf=function(t,n){Xsn(this,u(t,36))},f.b=0,f.c=0,x(ln,"FinalSplineBendpointsCalculator",1568),C(1569,1,{},QEe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),C(1570,1,{},ZEe),f.Kb=function(t){return new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(ln,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),C(1571,1,Qn,eTe),f.Mb=function(t){return!Zo(u(t,18))},x(ln,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),C(1572,1,Qn,tTe),f.Mb=function(t){return Xr(u(t,18),(Oe(),V0))},x(ln,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),C(1573,1,bn,nDe),f.Cd=function(t){ion(this.a,u(t,131))},x(ln,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),C(1574,1,bn,nTe),f.Cd=function(t){wP(u(t,18).a)},x(ln,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),C(803,1,qr,Hoe),f.Kf=function(t,n){Kln(this,u(t,36),n)},x(ln,"GraphTransformer",803),C(517,22,{3:1,34:1,22:1,517:1},tle);var DQ,OM,W0t=An(ln,"GraphTransformer/Mode",517,Nn,mBt,Z$t),V0t;C(1575,1,qr,rTe),f.Kf=function(t,n){fnn(u(t,36),n)},x(ln,"HierarchicalNodeResizingProcessor",1575),C(1576,1,qr,iTe),f.Kf=function(t,n){OUt(u(t,36),n)},x(ln,"HierarchicalPortConstraintProcessor",1576),C(1577,1,tr,oTe),f.Ne=function(t,n){return Qqt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortConstraintProcessor/NodeComparator",1577),C(1578,1,qr,sTe),f.Kf=function(t,n){Zon(u(t,36),n)},x(ln,"HierarchicalPortDummySizeProcessor",1578),C(1579,1,qr,lTe),f.Kf=function(t,n){uin(this,u(t,36),n)},f.a=0,x(ln,"HierarchicalPortOrthogonalEdgeRouter",1579),C(1580,1,tr,cTe),f.Ne=function(t,n){return fAt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortOrthogonalEdgeRouter/1",1580),C(1581,1,tr,uTe),f.Ne=function(t,n){return wKt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"HierarchicalPortOrthogonalEdgeRouter/2",1581),C(1582,1,qr,aTe),f.Kf=function(t,n){TQt(u(t,36),n)},x(ln,"HierarchicalPortPositionProcessor",1582),C(1583,1,qr,KLe),f.Kf=function(t,n){Hun(this,u(t,36))},f.a=0,f.c=0;var eN,tN;x(ln,"HighDegreeNodeLayeringProcessor",1583),C(580,1,{580:1},fTe),f.b=-1,f.d=-1,x(ln,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),C(1584,1,{},dTe),f.Kb=function(t){return QT(),eo(u(t,10))},f.Fb=function(t){return this===t},x(ln,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),C(1585,1,{},hTe),f.Kb=function(t){return QT(),Pi(u(t,10))},f.Fb=function(t){return this===t},x(ln,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),C(1591,1,qr,pTe),f.Kf=function(t,n){Gon(this,u(t,36),n)},x(ln,"HyperedgeDummyMerger",1591),C(804,1,{},Hce),f.a=!1,f.b=!1,f.c=!1,x(ln,"HyperedgeDummyMerger/MergeState",804),C(1592,1,{},gTe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"HyperedgeDummyMerger/lambda$0$Type",1592),C(1593,1,{},bTe),f.Kb=function(t){return new xt(null,new Pt(u(t,10).j,16))},x(ln,"HyperedgeDummyMerger/lambda$1$Type",1593),C(1594,1,bn,wTe),f.Cd=function(t){u(t,12).p=-1},x(ln,"HyperedgeDummyMerger/lambda$2$Type",1594),C(1595,1,qr,mTe),f.Kf=function(t,n){Kon(u(t,36),n)},x(ln,"HypernodesProcessor",1595),C(1596,1,qr,vTe),f.Kf=function(t,n){Qon(u(t,36),n)},x(ln,"InLayerConstraintProcessor",1596),C(1597,1,qr,yTe),f.Kf=function(t,n){GUt(u(t,36),n)},x(ln,"InnermostNodeMarginCalculator",1597),C(1598,1,qr,kTe),f.Kf=function(t,n){run(this,u(t,36))},f.a=Hi,f.b=Hi,f.c=ii,f.d=ii;var Qan=x(ln,"InteractiveExternalPortPositioner",1598);C(1599,1,{},CTe),f.Kb=function(t){return u(t,18).d.i},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$0$Type",1599),C(1600,1,{},rDe),f.Kb=function(t){return dAt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$1$Type",1600),C(1601,1,{},STe),f.Kb=function(t){return u(t,18).c.i},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$2$Type",1601),C(1602,1,{},iDe),f.Kb=function(t){return hAt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$3$Type",1602),C(1603,1,{},oDe),f.Kb=function(t){return aLt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$4$Type",1603),C(1604,1,{},sDe),f.Kb=function(t){return fLt(this.a,pe(t))},f.Fb=function(t){return this===t},x(ln,"InteractiveExternalPortPositioner/lambda$5$Type",1604),C(81,22,{3:1,34:1,22:1,81:1,196:1},Ri),f.dg=function(){switch(this.g){case 15:return new FPe;case 22:return new zPe;case 47:return new UPe;case 28:case 35:return new LTe;case 32:return new OEe;case 42:return new AEe;case 1:return new LEe;case 41:return new $Ee;case 56:return new Hoe((a5(),OM));case 0:return new Hoe((a5(),DQ));case 2:return new jEe;case 54:return new DEe;case 33:return new zEe;case 51:return new JEe;case 55:return new rTe;case 13:return new iTe;case 38:return new sTe;case 44:return new lTe;case 40:return new aTe;case 9:return new KLe;case 49:return new sGe;case 37:return new pTe;case 43:return new mTe;case 27:return new vTe;case 30:return new yTe;case 3:return new kTe;case 18:return new ETe;case 29:return new TTe;case 5:return new ULe;case 50:return new xTe;case 34:return new GLe;case 36:return new $Te;case 52:return new LLe;case 11:return new jTe;case 7:return new WLe;case 39:return new DTe;case 45:return new NTe;case 16:return new BTe;case 10:return new QHe;case 48:return new KTe;case 21:return new UTe;case 23:return new yK((tw(),ux));case 8:return new WTe;case 12:return new qTe;case 4:return new XTe;case 19:return new QLe;case 17:return new oIe;case 53:return new sIe;case 6:return new mIe;case 25:return new ZBe;case 46:return new fIe;case 31:return new qGe;case 14:return new TIe;case 26:return new VPe;case 20:return new _Ie;case 24:return new yK((tw(),oB));default:throw B(new Qt(uY+(this.f!=null?this.f:""+this.g)))}};var Xve,Yve,Jve,Qve,Zve,eye,tye,nye,rye,iye,S2,nN,rN,oye,sye,lye,cye,uye,aye,fye,K9,dye,hye,pye,gye,bye,NQ,iN,oN,wye,sN,lN,cN,T8,kv,Cv,mye,uN,aN,vye,fN,dN,yye,kye,Cye,Sye,hN,BQ,_M,pN,gN,bN,wN,xye,Eye,Tye,Iye,Zan=An(ln,aY,81,Nn,ult,QLt),q0t;C(1605,1,qr,ETe),f.Kf=function(t,n){tun(u(t,36),n)},x(ln,"InvertedPortProcessor",1605),C(1606,1,qr,TTe),f.Kf=function(t,n){Yin(u(t,36),n)},x(ln,"LabelAndNodeSizeProcessor",1606),C(1607,1,Qn,ITe),f.Mb=function(t){return u(t,10).k==(nn(),Ei)},x(ln,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),C(1608,1,Qn,PTe),f.Mb=function(t){return u(t,10).k==(nn(),Oi)},x(ln,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),C(1609,1,bn,CWe),f.Cd=function(t){A_t(this.b,this.a,this.c,u(t,10))},f.a=!1,f.c=!1,x(ln,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),C(1610,1,qr,ULe),f.Kf=function(t,n){Icn(u(t,36),n)};var X0t;x(ln,"LabelDummyInserter",1610),C(1611,1,Jd,MTe),f.Lb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),eC))},f.Fb=function(t){return this===t},f.Mb=function(t){return fe(A(u(t,72),(Ue(),lh)))===fe((od(),eC))},x(ln,"LabelDummyInserter/1",1611),C(1612,1,qr,xTe),f.Kf=function(t,n){gcn(u(t,36),n)},x(ln,"LabelDummyRemover",1612),C(1613,1,Qn,OTe),f.Mb=function(t){return qe(Ve(A(u(t,72),(Ue(),IZ))))},x(ln,"LabelDummyRemover/lambda$0$Type",1613),C(1378,1,qr,GLe),f.Kf=function(t,n){lcn(this,u(t,36),n)},f.a=null;var FQ;x(ln,"LabelDummySwitcher",1378),C(293,1,{293:1},cct),f.c=0,f.d=null,f.f=0,x(ln,"LabelDummySwitcher/LabelDummyInfo",293),C(1379,1,{},_Te),f.Kb=function(t){return x4(),new xt(null,new Pt(u(t,30).a,16))},x(ln,"LabelDummySwitcher/lambda$0$Type",1379),C(1380,1,Qn,RTe),f.Mb=function(t){return x4(),u(t,10).k==(nn(),El)},x(ln,"LabelDummySwitcher/lambda$1$Type",1380),C(1381,1,{},lDe),f.Kb=function(t){return qAt(this.a,u(t,10))},x(ln,"LabelDummySwitcher/lambda$2$Type",1381),C(1382,1,bn,cDe),f.Cd=function(t){pNt(this.a,u(t,293))},x(ln,"LabelDummySwitcher/lambda$3$Type",1382),C(1383,1,tr,ATe),f.Ne=function(t,n){return NDt(u(t,293),u(n,293))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"LabelDummySwitcher/lambda$4$Type",1383),C(802,1,qr,LTe),f.Kf=function(t,n){YHt(u(t,36),n)},x(ln,"LabelManagementProcessor",802),C(1614,1,qr,$Te),f.Kf=function(t,n){Irn(u(t,36),n)},x(ln,"LabelSideSelector",1614),C(1622,1,qr,jTe),f.Kf=function(t,n){psn(u(t,36),n)},x(ln,"LayerConstraintPostprocessor",1622),C(1623,1,qr,WLe),f.Kf=function(t,n){utn(u(t,36),n)};var Pye;x(ln,"LayerConstraintPreprocessor",1623),C(371,22,{3:1,34:1,22:1,371:1},KR);var RM,mN,vN,zQ,Y0t=An(ln,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Nn,Pzt,ZLt),J0t;C(1624,1,qr,DTe),f.Kf=function(t,n){_ln(u(t,36),n)},x(ln,"LayerSizeAndGraphHeightCalculator",1624),C(1625,1,qr,NTe),f.Kf=function(t,n){dnn(u(t,36),n)},x(ln,"LongEdgeJoiner",1625),C(1626,1,qr,BTe),f.Kf=function(t,n){sln(u(t,36),n)},x(ln,"LongEdgeSplitter",1626),C(1627,1,qr,QHe),f.Kf=function(t,n){Hcn(this,u(t,36),n)},f.e=0,f.f=0,f.j=0,f.k=0,f.n=0,f.o=0;var Q0t,Z0t;x(ln,"NodePromotion",1627),C(1628,1,tr,FTe),f.Ne=function(t,n){return tWt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NodePromotion/1",1628),C(1629,1,tr,zTe),f.Ne=function(t,n){return nWt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NodePromotion/2",1629),C(1630,1,{},HTe),f.Kb=function(t){return u(t,42),xA(),Gt(),!0},f.Fb=function(t){return this===t},x(ln,"NodePromotion/lambda$0$Type",1630),C(1631,1,{},dDe),f.Kb=function(t){return JBt(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,x(ln,"NodePromotion/lambda$1$Type",1631),C(1632,1,{},hDe),f.Kb=function(t){return YBt(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,x(ln,"NodePromotion/lambda$2$Type",1632),C(1633,1,qr,KTe),f.Kf=function(t,n){jun(u(t,36),n)},x(ln,"NorthSouthPortPostprocessor",1633),C(1634,1,qr,UTe),f.Kf=function(t,n){bun(u(t,36),n)},x(ln,"NorthSouthPortPreprocessor",1634),C(1635,1,tr,GTe),f.Ne=function(t,n){return bGt(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"NorthSouthPortPreprocessor/lambda$0$Type",1635),C(1636,1,qr,WTe),f.Kf=function(t,n){_on(u(t,36),n)},x(ln,"PartitionMidprocessor",1636),C(1637,1,Qn,VTe),f.Mb=function(t){return Xr(u(t,10),(Ue(),F8))},x(ln,"PartitionMidprocessor/lambda$0$Type",1637),C(1638,1,bn,pDe),f.Cd=function(t){JNt(this.a,u(t,10))},x(ln,"PartitionMidprocessor/lambda$1$Type",1638),C(1639,1,qr,qTe),f.Kf=function(t,n){Ann(u(t,36),n)},x(ln,"PartitionPostprocessor",1639),C(1640,1,qr,XTe),f.Kf=function(t,n){Ven(u(t,36),n)},x(ln,"PartitionPreprocessor",1640),C(1641,1,Qn,YTe),f.Mb=function(t){return Xr(u(t,10),(Ue(),F8))},x(ln,"PartitionPreprocessor/lambda$0$Type",1641),C(1642,1,{},JTe),f.Kb=function(t){return new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(ln,"PartitionPreprocessor/lambda$1$Type",1642),C(1643,1,Qn,QTe),f.Mb=function(t){return Dqt(u(t,18))},x(ln,"PartitionPreprocessor/lambda$2$Type",1643),C(1644,1,bn,ZTe),f.Cd=function(t){AGt(u(t,18))},x(ln,"PartitionPreprocessor/lambda$3$Type",1644),C(1645,1,qr,QLe),f.Kf=function(t,n){fon(u(t,36),n)};var Mye,ebt,tbt,nbt,Oye,_ye;x(ln,"PortListSorter",1645),C(1648,1,tr,eIe),f.Ne=function(t,n){return JYe(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$0$Type",1648),C(1650,1,tr,tIe),f.Ne=function(t,n){return Rct(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$1$Type",1650),C(1646,1,{},nIe),f.Kb=function(t){return k5(),u(t,12).e},x(ln,"PortListSorter/lambda$2$Type",1646),C(1647,1,{},rIe),f.Kb=function(t){return k5(),u(t,12).g},x(ln,"PortListSorter/lambda$3$Type",1647),C(1649,1,tr,iIe),f.Ne=function(t,n){return lYt(u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"PortListSorter/lambda$4$Type",1649),C(1651,1,qr,oIe),f.Kf=function(t,n){Ctn(u(t,36),n)},x(ln,"PortSideProcessor",1651),C(1652,1,qr,sIe),f.Kf=function(t,n){Sin(u(t,36),n)},x(ln,"ReversedEdgeRestorer",1652),C(1657,1,qr,ZBe),f.Kf=function(t,n){KXt(this,u(t,36),n)},x(ln,"SelfLoopPortRestorer",1657),C(1658,1,{},lIe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"SelfLoopPortRestorer/lambda$0$Type",1658),C(1659,1,Qn,cIe),f.Mb=function(t){return u(t,10).k==(nn(),Ei)},x(ln,"SelfLoopPortRestorer/lambda$1$Type",1659),C(1660,1,Qn,uIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopPortRestorer/lambda$2$Type",1660),C(1661,1,{},aIe),f.Kb=function(t){return u(A(u(t,10),(Oe(),Lw)),337)},x(ln,"SelfLoopPortRestorer/lambda$3$Type",1661),C(1662,1,bn,aDe),f.Cd=function(t){iZt(this.a,u(t,337))},x(ln,"SelfLoopPortRestorer/lambda$4$Type",1662),C(805,1,bn,Qie),f.Cd=function(t){wZt(u(t,105))},x(ln,"SelfLoopPortRestorer/lambda$5$Type",805),C(1663,1,qr,fIe),f.Kf=function(t,n){Xqt(u(t,36),n)},x(ln,"SelfLoopPostProcessor",1663),C(1664,1,{},dIe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"SelfLoopPostProcessor/lambda$0$Type",1664),C(1665,1,Qn,hIe),f.Mb=function(t){return u(t,10).k==(nn(),Ei)},x(ln,"SelfLoopPostProcessor/lambda$1$Type",1665),C(1666,1,Qn,pIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopPostProcessor/lambda$2$Type",1666),C(1667,1,bn,gIe),f.Cd=function(t){sJt(u(t,10))},x(ln,"SelfLoopPostProcessor/lambda$3$Type",1667),C(1668,1,{},bIe),f.Kb=function(t){return new xt(null,new Pt(u(t,105).f,1))},x(ln,"SelfLoopPostProcessor/lambda$4$Type",1668),C(1669,1,bn,uDe),f.Cd=function(t){Rzt(this.a,u(t,340))},x(ln,"SelfLoopPostProcessor/lambda$5$Type",1669),C(1670,1,Qn,wIe),f.Mb=function(t){return!!u(t,105).i},x(ln,"SelfLoopPostProcessor/lambda$6$Type",1670),C(1671,1,bn,fDe),f.Cd=function(t){ROt(this.a,u(t,105))},x(ln,"SelfLoopPostProcessor/lambda$7$Type",1671),C(1653,1,qr,mIe),f.Kf=function(t,n){Jtn(u(t,36),n)},x(ln,"SelfLoopPreProcessor",1653),C(1654,1,{},vIe),f.Kb=function(t){return new xt(null,new Pt(u(t,105).f,1))},x(ln,"SelfLoopPreProcessor/lambda$0$Type",1654),C(1655,1,{},yIe),f.Kb=function(t){return u(t,340).a},x(ln,"SelfLoopPreProcessor/lambda$1$Type",1655),C(1656,1,bn,kIe),f.Cd=function(t){$Rt(u(t,18))},x(ln,"SelfLoopPreProcessor/lambda$2$Type",1656),C(1672,1,qr,qGe),f.Kf=function(t,n){BQt(this,u(t,36),n)},x(ln,"SelfLoopRouter",1672),C(1673,1,{},CIe),f.Kb=function(t){return new xt(null,new Pt(u(t,30).a,16))},x(ln,"SelfLoopRouter/lambda$0$Type",1673),C(1674,1,Qn,SIe),f.Mb=function(t){return u(t,10).k==(nn(),Ei)},x(ln,"SelfLoopRouter/lambda$1$Type",1674),C(1675,1,Qn,xIe),f.Mb=function(t){return Xr(u(t,10),(Oe(),Lw))},x(ln,"SelfLoopRouter/lambda$2$Type",1675),C(1676,1,{},EIe),f.Kb=function(t){return u(A(u(t,10),(Oe(),Lw)),337)},x(ln,"SelfLoopRouter/lambda$3$Type",1676),C(1677,1,bn,RHe),f.Cd=function(t){GNt(this.a,this.b,u(t,337))},x(ln,"SelfLoopRouter/lambda$4$Type",1677),C(1678,1,qr,TIe),f.Kf=function(t,n){grn(u(t,36),n)},x(ln,"SemiInteractiveCrossMinProcessor",1678),C(1679,1,Qn,IIe),f.Mb=function(t){return u(t,10).k==(nn(),Ei)},x(ln,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),C(1680,1,Qn,PIe),f.Mb=function(t){return fVe(u(t,10))._b((Ue(),_v))},x(ln,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),C(1681,1,tr,MIe),f.Ne=function(t,n){return RUt(u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(ln,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),C(1682,1,{},OIe),f.Ve=function(t,n){return QNt(u(t,10),u(n,10))},x(ln,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),C(1684,1,qr,_Ie),f.Kf=function(t,n){Bsn(u(t,36),n)},x(ln,"SortByInputModelProcessor",1684),C(1685,1,Qn,RIe),f.Mb=function(t){return u(t,12).g.c.length!=0},x(ln,"SortByInputModelProcessor/lambda$0$Type",1685),C(1686,1,bn,gDe),f.Cd=function(t){CZt(this.a,u(t,12))},x(ln,"SortByInputModelProcessor/lambda$1$Type",1686),C(1759,817,{},Cet),f.df=function(t){var n,i,s,c;switch(this.c=t,this.a.g){case 2:n=new Le,Ci(Ar(new xt(null,new Pt(this.c.a.b,16)),new WIe),new zHe(this,n)),mP(this,new LIe),ic(n,new $Ie),n.c.length=0,Ci(Ar(new xt(null,new Pt(this.c.a.b,16)),new jIe),new wDe(n)),mP(this,new DIe),ic(n,new NIe),n.c.length=0,i=CUe($W(Am(new xt(null,new Pt(this.c.a.b,16)),new mDe(this))),new BIe),Ci(new xt(null,new Pt(this.c.a.a,16)),new $He(i,n)),mP(this,new zIe),ic(n,new HIe),n.c.length=0;break;case 3:s=new Le,mP(this,new AIe),c=CUe($W(Am(new xt(null,new Pt(this.c.a.b,16)),new bDe(this))),new FIe),Ci(Ar(new xt(null,new Pt(this.c.a.b,16)),new KIe),new DHe(c,s)),mP(this,new UIe),ic(s,new GIe),s.c.length=0;break;default:throw B(new FBe)}},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation",1759),C(1760,1,Jd,AIe),f.Lb=function(t){return te(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),C(1761,1,{},bDe),f.Ye=function(t){return oen(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),C(1769,1,Tj,AHe),f.de=function(){DS(this.a,this.b,-1)},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),C(1771,1,Jd,LIe),f.Lb=function(t){return te(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),C(1772,1,bn,$Ie),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),C(1773,1,Qn,jIe),f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),C(1775,1,bn,wDe),f.Cd=function(t){EVt(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),C(1774,1,Tj,NHe),f.de=function(){DS(this.b,this.a,-1)},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),C(1776,1,Jd,DIe),f.Lb=function(t){return te(u(t,60).g,10)},f.Fb=function(t){return this===t},f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),C(1777,1,bn,NIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),C(1778,1,{},mDe),f.Ye=function(t){return sen(this.a,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),C(1779,1,{},BIe),f.We=function(){return 0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),C(1762,1,{},FIe),f.We=function(){return 0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),C(1781,1,bn,$He),f.Cd=function(t){ODt(this.a,this.b,u(t,316))},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),C(1780,1,Tj,jHe),f.de=function(){Nst(this.a,this.b,-1)},f.b=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),C(1782,1,Jd,zIe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),C(1783,1,bn,HIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),C(1763,1,Qn,KIe),f.Mb=function(t){return te(u(t,60).g,10)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),C(1765,1,bn,DHe),f.Cd=function(t){_Dt(this.a,this.b,u(t,60))},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),C(1764,1,Tj,BHe),f.de=function(){DS(this.b,this.a,-1)},f.a=0,x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),C(1766,1,Jd,UIe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),C(1767,1,bn,GIe),f.Cd=function(t){u(t,380).de()},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),C(1768,1,Qn,WIe),f.Mb=function(t){return te(u(t,60).g,154)},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),C(1770,1,bn,zHe),f.Cd=function(t){XKt(this.a,this.b,u(t,60))},x(Ui,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),C(1586,1,qr,sGe),f.Kf=function(t,n){dln(this,u(t,36),n)};var rbt;x(Ui,"HorizontalGraphCompactor",1586),C(1587,1,{},vDe),f.ff=function(t,n){var i,s,c;return ffe(t,n)||(i=Ny(t),s=Ny(n),i&&i.k==(nn(),Oi)||s&&s.k==(nn(),Oi))?0:(c=u(A(this.a.a,(Oe(),R2)),312),wAt(c,i?i.k:(nn(),io),s?s.k:(nn(),io)))},f.gf=function(t,n){var i,s,c;return ffe(t,n)?1:(i=Ny(t),s=Ny(n),c=u(A(this.a.a,(Oe(),R2)),312),nce(c,i?i.k:(nn(),io),s?s.k:(nn(),io)))},x(Ui,"HorizontalGraphCompactor/1",1587),C(1588,1,{},VIe),f.ef=function(t,n){return g7(),t.a.i==0},x(Ui,"HorizontalGraphCompactor/lambda$0$Type",1588),C(1589,1,{},yDe),f.ef=function(t,n){return tBt(this.a,t,n)},x(Ui,"HorizontalGraphCompactor/lambda$1$Type",1589),C(1730,1,{},YQe);var ibt,obt;x(Ui,"LGraphToCGraphTransformer",1730),C(1738,1,Qn,qIe),f.Mb=function(t){return t!=null},x(Ui,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),C(1731,1,{},XIe),f.Kb=function(t){return tf(),Us(A(u(u(t,60).g,10),(Oe(),jr)))},x(Ui,"LGraphToCGraphTransformer/lambda$0$Type",1731),C(1732,1,{},YIe),f.Kb=function(t){return tf(),unt(u(u(t,60).g,154))},x(Ui,"LGraphToCGraphTransformer/lambda$1$Type",1732),C(1741,1,Qn,JIe),f.Mb=function(t){return tf(),te(u(t,60).g,10)},x(Ui,"LGraphToCGraphTransformer/lambda$10$Type",1741),C(1742,1,bn,QIe),f.Cd=function(t){sBt(u(t,60))},x(Ui,"LGraphToCGraphTransformer/lambda$11$Type",1742),C(1743,1,Qn,ZIe),f.Mb=function(t){return tf(),te(u(t,60).g,154)},x(Ui,"LGraphToCGraphTransformer/lambda$12$Type",1743),C(1747,1,bn,ePe),f.Cd=function(t){DWt(u(t,60))},x(Ui,"LGraphToCGraphTransformer/lambda$13$Type",1747),C(1744,1,bn,kDe),f.Cd=function(t){aRt(this.a,u(t,8))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$14$Type",1744),C(1745,1,bn,CDe),f.Cd=function(t){dRt(this.a,u(t,116))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$15$Type",1745),C(1746,1,bn,SDe),f.Cd=function(t){fRt(this.a,u(t,8))},f.a=0,x(Ui,"LGraphToCGraphTransformer/lambda$16$Type",1746),C(1748,1,{},tPe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(Ui,"LGraphToCGraphTransformer/lambda$17$Type",1748),C(1749,1,Qn,nPe),f.Mb=function(t){return tf(),Zo(u(t,18))},x(Ui,"LGraphToCGraphTransformer/lambda$18$Type",1749),C(1750,1,bn,xDe),f.Cd=function(t){IKt(this.a,u(t,18))},x(Ui,"LGraphToCGraphTransformer/lambda$19$Type",1750),C(1734,1,bn,EDe),f.Cd=function(t){ezt(this.a,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$2$Type",1734),C(1751,1,{},rPe),f.Kb=function(t){return tf(),new xt(null,new Pt(u(t,30).a,16))},x(Ui,"LGraphToCGraphTransformer/lambda$20$Type",1751),C(1752,1,{},iPe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(Ui,"LGraphToCGraphTransformer/lambda$21$Type",1752),C(1753,1,{},oPe),f.Kb=function(t){return tf(),u(A(u(t,18),(Oe(),V0)),15)},x(Ui,"LGraphToCGraphTransformer/lambda$22$Type",1753),C(1754,1,Qn,sPe),f.Mb=function(t){return mAt(u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$23$Type",1754),C(1755,1,bn,TDe),f.Cd=function(t){qZt(this.a,u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$24$Type",1755),C(1733,1,bn,HHe),f.Cd=function(t){Jzt(this.a,this.b,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$3$Type",1733),C(1735,1,{},lPe),f.Kb=function(t){return tf(),new xt(null,new Pt(u(t,30).a,16))},x(Ui,"LGraphToCGraphTransformer/lambda$4$Type",1735),C(1736,1,{},cPe),f.Kb=function(t){return tf(),new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(Ui,"LGraphToCGraphTransformer/lambda$5$Type",1736),C(1737,1,{},uPe),f.Kb=function(t){return tf(),u(A(u(t,18),(Oe(),V0)),15)},x(Ui,"LGraphToCGraphTransformer/lambda$6$Type",1737),C(1739,1,bn,IDe),f.Cd=function(t){len(this.a,u(t,15))},x(Ui,"LGraphToCGraphTransformer/lambda$8$Type",1739),C(1740,1,bn,KHe),f.Cd=function(t){jRt(this.a,this.b,u(t,154))},x(Ui,"LGraphToCGraphTransformer/lambda$9$Type",1740),C(1729,1,{},aPe),f.cf=function(t){var n,i,s,c,d;for(this.a=t,this.d=new fK,this.c=be(ave,Bt,125,this.a.a.a.c.length,0,1),this.b=0,i=new N(this.a.a.a);i.a=$&&($e(d,Ae(k)),ne=w.Math.max(ne,se[k-1]-T),b+=L,z+=se[k-1]-z,T=se[k-1],L=m[k]),L=w.Math.max(L,m[k]),++k;b+=L}O=w.Math.min(1/ne,1/n.b/b),O>s&&(s=O,i=d)}return i},f.pg=function(){return!1},x(th,"MSDCutIndexHeuristic",816),C(1683,1,qr,VPe),f.Kf=function(t,n){bsn(u(t,36),n)},x(th,"SingleEdgeGraphWrapper",1683),C(232,22,{3:1,34:1,22:1,232:1},S7);var E2,M8,O8,Sv,U9,T2,_8=An(xl,"CenterEdgeLabelPlacementStrategy",232,Nn,tKt,r$t),wbt;C(431,22,{3:1,34:1,22:1,431:1},rle);var Aye,QQ,Lye=An(xl,"ConstraintCalculationStrategy",431,Nn,kBt,i$t),mbt;C(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},GK),f.dg=function(){return Wot(this)},f.qg=function(){return Wot(this)};var LM,G9,$ye,jye=An(xl,"CrossingMinimizationStrategy",322,Nn,gFt,o$t),vbt;C(351,22,{3:1,34:1,22:1,351:1},WK);var Dye,ZQ,xN,Nye=An(xl,"CuttingStrategy",351,Nn,bFt,s$t),ybt;C(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},PT),f.dg=function(){return jst(this)},f.qg=function(){return jst(this)};var Bye,eZ,R8,tZ,A8,Fye=An(xl,"CycleBreakingStrategy",348,Nn,vHt,l$t),kbt;C(428,22,{3:1,34:1,22:1,428:1},ile);var EN,zye,Hye=An(xl,"DirectionCongruency",428,Nn,yBt,c$t),Cbt;C(460,22,{3:1,34:1,22:1,460:1},VK);var L8,nZ,I2,Sbt=An(xl,"EdgeConstraint",460,Nn,wFt,g$t),xbt;C(283,22,{3:1,34:1,22:1,283:1},x7);var rZ,iZ,oZ,sZ,TN,lZ,Kye=An(xl,"EdgeLabelSideSelection",283,Nn,QHt,b$t),Ebt;C(488,22,{3:1,34:1,22:1,488:1},ole);var IN,Uye,Gye=An(xl,"EdgeStraighteningStrategy",488,Nn,PBt,w$t),Tbt;C(281,22,{3:1,34:1,22:1,281:1},E7);var cZ,Wye,Vye,PN,qye,Xye,Yye=An(xl,"FixedAlignment",281,Nn,ZHt,p$t),Ibt;C(282,22,{3:1,34:1,22:1,282:1},T7);var Jye,Qye,Zye,e2e,W9,t2e,n2e=An(xl,"GraphCompactionStrategy",282,Nn,eKt,u$t),Pbt;C(259,22,{3:1,34:1,22:1,259:1},km);var $8,MN,j8,ka,V9,ON,D8,P2,_N,q9,uZ=An(xl,"GraphProperties",259,Nn,NUt,a$t),Mbt;C(299,22,{3:1,34:1,22:1,299:1},qK);var $M,aZ,fZ,dZ=An(xl,"GreedySwitchType",299,Nn,mFt,f$t),Obt;C(311,22,{3:1,34:1,22:1,311:1},XK);var o6,jM,M2,_bt=An(xl,"InLayerConstraint",311,Nn,vFt,d$t),Rbt;C(429,22,{3:1,34:1,22:1,429:1},sle);var hZ,r2e,i2e=An(xl,"InteractiveReferencePoint",429,Nn,vBt,h$t),Abt,o2e,s6,_w,RN,s2e,l2e,AN,c2e,DM,LN,X9,l6,S1,pZ,$N,fl,u2e,Eg,Kl,gZ,bZ,NM,W0,Rw,c6,a2e,u6,BM,xv,Hf,Fa,wZ,O2,Hr,jr,f2e,d2e,h2e,p2e,g2e,mZ,jN,Zc,Aw,vZ,a6,Y9,bd,_2,Lw,R2,A2,N8,V0,b2e,yZ,kZ,f6;C(171,22,{3:1,34:1,22:1,171:1},MT);var J9,Tg,Q9,Ev,FM,w2e=An(xl,"LayerConstraint",171,Nn,kHt,m$t),Lbt;C(859,1,$a,o$e),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,h0e),""),"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."),I2e),(cp(),oi)),Hye),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,p0e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Gt(),!1)),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,zj),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),A2e),oi),i2e),ht(Nt)))),$i(t,zj,hY,Pwt),$i(t,zj,w9,Iwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,g0e),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,b0e),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(a_t(ct(lt(ut(Tt(rt(st(it(ot(new tt,w0e),""),"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),Qi),xi),ht(tb)),H(F(Je,1),_e,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,m0e),""),"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."),z2e),oi),Y3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,v0e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Ae(7)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,y0e),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,k0e),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,hY),"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)."),T2e),oi),Fye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,oM),DY),"Node Layering Strategy"),"Strategy for node layering."),j2e),oi),N3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,C0e),DY),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),L2e),oi),w2e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,S0e),DY),"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),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,x0e),DY),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Ae(-1)),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,pY),idt),"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."),Ae(4)),Vs),Oo),ht(Nt)))),$i(t,pY,oM,$wt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,gY),idt),"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."),Ae(2)),Vs),Oo),ht(Nt)))),$i(t,gY,oM,Dwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,bY),odt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),$2e),oi),V3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,wY),odt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Ae(0)),Vs),Oo),ht(Nt)))),$i(t,wY,bY,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,mY),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Ae(Mr)),Vs),Oo),ht(Nt)))),$i(t,mY,oM,Owt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,w9),f8),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),E2e),oi),jye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,E0e),f8),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,vY),f8),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),No),Bi),ht(Nt)))),$i(t,vY,eD,ewt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,yY),f8),"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),Qi),xi),ht(Nt)))),$i(t,yY,w9,swt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,T0e),f8),"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),U2),Je),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,I0e),f8),"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),U2),Je),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,P0e),f8),"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),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,M0e),f8),"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."),Ae(-1)),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,O0e),sdt),"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."),Ae(40)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,kY),sdt),"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."),x2e),oi),dZ),ht(Nt)))),$i(t,kY,w9,Qbt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Hj),"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."),S2e),oi),dZ),ht(Nt)))),$i(t,Hj,w9,Xbt),$i(t,Hj,eD,Ybt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,p2),ldt),"Node Placement Strategy"),"Strategy for node placement."),F2e),oi),H3e),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Kj),ldt),"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."),Qi),xi),ht(Nt)))),$i(t,Kj,p2,qwt),$i(t,Kj,p2,Xwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,CY),cdt),"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."),D2e),oi),Gye),ht(Nt)))),$i(t,CY,p2,Uwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,SY),cdt),"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."),N2e),oi),Yye),ht(Nt)))),$i(t,SY,p2,Wwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,xY),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),No),Bi),ht(Nt)))),$i(t,xY,p2,Jwt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,EY),"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."),oi),KZ),ht(qi)))),$i(t,EY,p2,tmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,TY),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),B2e),oi),KZ),ht(Nt)))),$i(t,TY,p2,emt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,_0e),udt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),O2e),oi),Z3e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,R0e),udt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),_2e),oi),e4e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Uj),"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."),R2e),oi),n4e),ht(Nt)))),$i(t,Uj,sM,wwt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Gj),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),No),Bi),ht(Nt)))),$i(t,Gj,sM,vwt),$i(t,Gj,Uj,ywt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,IY),"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),No),Bi),ht(Nt)))),$i(t,IY,sM,hwt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,A0e),hd),"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."),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,L0e),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,$0e),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,j0e),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,D0e),V0e),"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."),Ae(0)),Vs),Oo),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,N0e),V0e),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Ae(0)),Vs),Oo),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,B0e),V0e),"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."),Ae(0)),Vs),Oo),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,PY),q0e),Eft),"Tries to further compact components (disconnected sub-graphs)."),!1),Qi),xi),ht(Nt)))),$i(t,PY,d9,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,F0e),adt),"Post Compaction Strategy"),fdt),v2e),oi),n2e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,z0e),adt),"Post Compaction Constraint Calculation"),fdt),m2e),oi),Lye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Wj),X0e),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,MY),X0e),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Ae(16)),Vs),Oo),ht(Nt)))),$i(t,MY,Wj,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,OY),X0e),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Ae(5)),Vs),Oo),ht(Nt)))),$i(t,OY,Wj,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,y1),Y0e),"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'."),U2e),oi),s4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Vj),Y0e),"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),No),Bi),ht(Nt)))),$i(t,Vj,y1,pmt),$i(t,Vj,y1,gmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,qj),Y0e),"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),No),Bi),ht(Nt)))),$i(t,qj,y1,wmt),$i(t,qj,y1,mmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,m9),ddt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),K2e),oi),Nye),ht(Nt)))),$i(t,m9,y1,xmt),$i(t,m9,y1,Emt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,_Y),ddt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),md),ya),ht(Nt)))),$i(t,_Y,m9,ymt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,RY),"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."),H2e),Vs),Oo),ht(Nt)))),$i(t,RY,m9,Cmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Xj),hdt),"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."),G2e),oi),o4e),ht(Nt)))),$i(t,Xj,y1,Dmt),$i(t,Xj,y1,Nmt),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Yj),hdt),"Valid Indices for Wrapping"),null),md),ya),ht(Nt)))),$i(t,Yj,y1,Lmt),$i(t,Yj,y1,$mt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Jj),J0e),"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),Qi),xi),ht(Nt)))),$i(t,Jj,y1,Mmt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Qj),J0e),"Distance Penalty When Improving Cuts"),null),2),No),Bi),ht(Nt)))),$i(t,Qj,y1,Imt),$i(t,Qj,Jj,!0),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,AY),J0e),"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),Qi),xi),ht(Nt)))),$i(t,AY,y1,_mt),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,H0e),NY),"Edge Label Side Selection"),"Method to decide on edge label sides."),M2e),oi),Kye),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,K0e),NY),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),P2e),oi),_8),Yr(Nt,H(F(jh,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Zj),v9),"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."),C2e),oi),X3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,U0e),v9),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,G0e),v9),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,LY),v9),"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."),y2e),oi),Fve),ht(Nt)))),$i(t,LY,d9,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,W0e),v9),"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."),k2e),oi),F3e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,$Y),v9),"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),No),Bi),ht(Nt)))),$i(t,$Y,Zj,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,jY),v9),"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),No),Bi),ht(Nt)))),$i(t,jY,Zj,null),Oat((new s$e,t))};var $bt,jbt,Dbt,m2e,Nbt,v2e,Bbt,y2e,Fbt,zbt,Hbt,k2e,Kbt,Ubt,Gbt,C2e,Wbt,Vbt,qbt,S2e,Xbt,Ybt,Jbt,x2e,Qbt,Zbt,ewt,twt,nwt,rwt,iwt,owt,swt,lwt,E2e,cwt,T2e,uwt,I2e,awt,P2e,fwt,M2e,dwt,hwt,pwt,O2e,gwt,_2e,bwt,R2e,wwt,mwt,vwt,ywt,kwt,Cwt,Swt,xwt,Ewt,Twt,A2e,Iwt,Pwt,Mwt,Owt,_wt,Rwt,L2e,Awt,Lwt,$wt,jwt,Dwt,Nwt,Bwt,$2e,Fwt,j2e,zwt,Hwt,Kwt,D2e,Uwt,Gwt,N2e,Wwt,Vwt,qwt,Xwt,Ywt,Jwt,Qwt,Zwt,B2e,emt,tmt,nmt,F2e,rmt,z2e,imt,omt,smt,lmt,cmt,umt,amt,fmt,dmt,hmt,pmt,gmt,bmt,wmt,mmt,vmt,ymt,kmt,H2e,Cmt,Smt,K2e,xmt,Emt,Tmt,Imt,Pmt,Mmt,Omt,_mt,Rmt,U2e,Amt,Lmt,$mt,jmt,G2e,Dmt,Nmt;x(xl,"LayeredMetaDataProvider",859),C(998,1,$a,s$e),f.hf=function(t){Oat(t)};var sh,CZ,DN,Z9,NN,W2e,BN,Tv,FN,V2e,q2e,zN,SZ,$h,xZ,$w,X2e,zM,EZ,Y2e,Bmt,Fmt,zmt,HN,TZ,ex,q0,Hmt,Wu,J2e,Q2e,KN,IZ,lh,UN,x1,Z2e,e3e,t3e,PZ,MZ,n3e,gp,OZ,r3e,Iv,i3e,o3e,s3e,GN,Pv,X0,l3e,c3e,Is,u3e,Kmt,fc,WN,a3e,f3e,d3e,Ig,Y0,VN,h3e,p3e,qN,jw,g3e,_Z,tx,b3e,Dw,nx,XN,J0,RZ,B8,YN,Q0,w3e,m3e,v3e,F8,y3e,Umt,Gmt,Wmt,Vmt,Nw,Mv,yi,bp,qmt,Ov,k3e,z8,C3e,_v,Xmt,H8,S3e,d6,Ymt,Jmt,HM,AZ,x3e,KM,pf,L2,$2,Bw,Z0,JN,Rv,LZ,K8,U8,Fw,j2,$Z,UM,rx,ix,Qmt,Zmt,evt,E3e,tvt,jZ,T3e,I3e,P3e,M3e,DZ,O3e,_3e,R3e,A3e,NZ,QN;x(xl,"LayeredOptions",998),C(999,1,{},qPe),f.sf=function(){var t;return t=new qBe,t},f.tf=function(t){},x(xl,"LayeredOptions/LayeredFactory",999),C(1391,1,{}),f.a=0;var nvt;x(cl,"ElkSpacings/AbstractSpacingsBuilder",1391),C(792,1391,{},ehe);var ZN,rvt;x(xl,"LayeredSpacings/LayeredSpacingsBuilder",792),C(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},Cy),f.dg=function(){return Glt(this)},f.qg=function(){return Glt(this)};var G8,BZ,W8,L3e,$3e,j3e,eB,FZ,D3e,N3e=An(xl,"LayeringStrategy",265,Nn,pUt,v$t),ivt;C(390,22,{3:1,34:1,22:1,390:1},YK);var zZ,B3e,tB,F3e=An(xl,"LongEdgeOrderingStrategy",390,Nn,yFt,y$t),ovt;C(203,22,{3:1,34:1,22:1,203:1},GR);var D2,N2,nB,HZ,KZ=An(xl,"NodeFlexibility",203,Nn,Mzt,k$t),svt;C(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},OT),f.dg=function(){return $st(this)},f.qg=function(){return $st(this)};var ox,UZ,GZ,sx,z3e,H3e=An(xl,"NodePlacementStrategy",323,Nn,yHt,C$t),lvt;C(243,22,{3:1,34:1,22:1,243:1},Cm);var K3e,zw,Av,GM,U3e,G3e,WM,W3e,rB,iB,V3e=An(xl,"NodePromotionStrategy",243,Nn,BUt,S$t),cvt;C(284,22,{3:1,34:1,22:1,284:1},WR);var q3e,wp,WZ,VZ,X3e=An(xl,"OrderingStrategy",284,Nn,Ozt,x$t),uvt;C(430,22,{3:1,34:1,22:1,430:1},lle);var qZ,XZ,Y3e=An(xl,"PortSortingStrategy",430,Nn,CBt,E$t),avt;C(463,22,{3:1,34:1,22:1,463:1},JK);var eu,Zl,lx,fvt=An(xl,"PortType",463,Nn,kFt,T$t),dvt;C(387,22,{3:1,34:1,22:1,387:1},QK);var J3e,YZ,Q3e,Z3e=An(xl,"SelfLoopDistributionStrategy",387,Nn,CFt,I$t),hvt;C(349,22,{3:1,34:1,22:1,349:1},ZK);var JZ,VM,QZ,e4e=An(xl,"SelfLoopOrderingStrategy",349,Nn,SFt,P$t),pvt;C(312,1,{312:1},Iut),x(xl,"Spacings",312),C(350,22,{3:1,34:1,22:1,350:1},eU);var ZZ,t4e,cx,n4e=An(xl,"SplineRoutingMode",350,Nn,xFt,M$t),gvt;C(352,22,{3:1,34:1,22:1,352:1},tU);var eee,r4e,i4e,o4e=An(xl,"ValidifyStrategy",352,Nn,EFt,O$t),bvt;C(388,22,{3:1,34:1,22:1,388:1},nU);var Lv,tee,V8,s4e=An(xl,"WrappingStrategy",388,Nn,TFt,_$t),wvt;C(1398,1,as,JLe),f.rg=function(t){return u(t,36),mvt},f.Kf=function(t,n){uln(this,u(t,36),n)};var mvt;x(iD,"DepthFirstCycleBreaker",1398),C(793,1,as,yue),f.rg=function(t){return u(t,36),vvt},f.Kf=function(t,n){han(this,u(t,36),n)},f.sg=function(t){return u(Ye(t,$$(this.d,t.c.length)),10)};var vvt;x(iD,"GreedyCycleBreaker",793),C(1401,793,as,UKe),f.sg=function(t){var n,i,s,c;for(c=null,n=Mr,s=new N(t);s.a1&&(qe(Ve(A(Io((_t(0,t.c.length),u(t.c[0],10))),(Ue(),$w))))?qst(t,this.d,u(this,669)):(Ot(),Mi(t,this.d)),Xet(this.e,t))},f.lg=function(t,n,i,s){var c,d,h,b,m,v,k;for(n!=aVe(i,t.length)&&(d=t[n-(i?1:-1)],Xae(this.f,d,i?(ls(),Zl):(ls(),eu))),c=t[n][0],k=!s||c.k==(nn(),Oi),v=td(t[n]),this.vg(v,k,!1,i),h=0,m=new N(v);m.a"),t0?jG(this.a,t[n-1],t[n]):!i&&n1&&(qe(Ve(A(Io((_t(0,t.c.length),u(t.c[0],10))),(Ue(),$w))))?qst(t,this.d,this):(Ot(),Mi(t,this.d)),qe(Ve(A(Io((_t(0,t.c.length),u(t.c[0],10))),$w)))||Xet(this.e,t))},x(Fc,"ModelOrderBarycenterHeuristic",669),C(1866,1,tr,VDe),f.Ne=function(t,n){return uZt(this.a,u(t,10),u(n,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fc,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),C(1423,1,as,c$e),f.rg=function(t){var n;return u(t,36),n=cA($vt),cr(n,($o(),_l),(Uo(),hN)),n},f.Kf=function(t,n){WNt((u(t,36),n))};var $vt;x(Fc,"NoCrossingMinimizer",1423),C(809,413,Rbe,Ose),f.tg=function(t,n,i){var s,c,d,h,b,m,v,k,T,P,O;switch(T=this.g,i.g){case 1:{for(c=0,d=0,k=new N(t.j);k.a1&&(c.j==(ze(),fn)?this.b[t]=!0:c.j==rn&&t>0&&(this.b[t-1]=!0))},f.f=0,x(_h,"AllCrossingsCounter",1861),C(595,1,{},ZL),f.b=0,f.d=0,x(_h,"BinaryIndexedTree",595),C(532,1,{},JT);var u4e,sB;x(_h,"CrossingsCounter",532),C(1950,1,tr,qDe),f.Ne=function(t,n){return mDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$0$Type",1950),C(1951,1,tr,XDe),f.Ne=function(t,n){return vDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$1$Type",1951),C(1952,1,tr,YDe),f.Ne=function(t,n){return yDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$2$Type",1952),C(1953,1,tr,JDe),f.Ne=function(t,n){return kDt(this.a,u(t,12),u(n,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(_h,"CrossingsCounter/lambda$3$Type",1953),C(1954,1,bn,QDe),f.Cd=function(t){kKt(this.a,u(t,12))},x(_h,"CrossingsCounter/lambda$4$Type",1954),C(1955,1,Qn,ZDe),f.Mb=function(t){return W_t(this.a,u(t,12))},x(_h,"CrossingsCounter/lambda$5$Type",1955),C(1956,1,bn,eNe),f.Cd=function(t){$Ke(this,t)},x(_h,"CrossingsCounter/lambda$6$Type",1956),C(1957,1,bn,WHe),f.Cd=function(t){var n;jk(),eg(this.b,(n=this.a,u(t,12),n))},x(_h,"CrossingsCounter/lambda$7$Type",1957),C(839,1,Jd,ooe),f.Lb=function(t){return jk(),Xr(u(t,12),(Oe(),Zc))},f.Fb=function(t){return this===t},f.Mb=function(t){return jk(),Xr(u(t,12),(Oe(),Zc))},x(_h,"CrossingsCounter/lambda$8$Type",839),C(1949,1,{},tNe),x(_h,"HyperedgeCrossingsCounter",1949),C(478,1,{34:1,478:1},XGe),f.Fd=function(t){return yqt(this,u(t,478))},f.b=0,f.c=0,f.e=0,f.f=0;var efn=x(_h,"HyperedgeCrossingsCounter/Hyperedge",478);C(374,1,{34:1,374:1},eL),f.Fd=function(t){return Ltn(this,u(t,374))},f.b=0,f.c=0;var jvt=x(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",374);C(531,22,{3:1,34:1,22:1,531:1},cle);var ax,fx,Dvt=An(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Nn,SBt,A$t),Nvt;C(1425,1,as,u$e),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Bvt:null},f.Kf=function(t,n){GYt(this,u(t,36),n)};var Bvt;x(fs,"InteractiveNodePlacer",1425),C(1426,1,as,a$e),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Fvt:null},f.Kf=function(t,n){MXt(this,u(t,36),n)};var Fvt,lB,cB;x(fs,"LinearSegmentsNodePlacer",1426),C(261,1,{34:1,261:1},ise),f.Fd=function(t){return i_t(this,u(t,261))},f.Fb=function(t){var n;return te(t,261)?(n=u(t,261),this.b==n.b):!1},f.Hb=function(){return this.b},f.Ib=function(){return"ls"+ag(this.e)},f.a=0,f.b=0,f.c=-1,f.d=-1,f.g=0;var zvt=x(fs,"LinearSegmentsNodePlacer/LinearSegment",261);C(1428,1,as,yVe),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Hvt:null},f.Kf=function(t,n){ian(this,u(t,36),n)},f.b=0,f.g=0;var Hvt;x(fs,"NetworkSimplexPlacer",1428),C(1447,1,tr,iMe),f.Ne=function(t,n){return yl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(fs,"NetworkSimplexPlacer/0methodref$compare$Type",1447),C(1449,1,tr,oMe),f.Ne=function(t,n){return yl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(fs,"NetworkSimplexPlacer/1methodref$compare$Type",1449),C(655,1,{655:1},VHe);var tfn=x(fs,"NetworkSimplexPlacer/EdgeRep",655);C(412,1,{412:1},eae),f.b=!1;var nfn=x(fs,"NetworkSimplexPlacer/NodeRep",412);C(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},rFe),x(fs,"NetworkSimplexPlacer/Path",515),C(1429,1,{},sMe),f.Kb=function(t){return u(t,18).d.i.k},x(fs,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),C(1430,1,Qn,lMe),f.Mb=function(t){return u(t,273)==(nn(),io)},x(fs,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),C(1431,1,{},cMe),f.Kb=function(t){return u(t,18).d.i},x(fs,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),C(1432,1,Qn,nNe),f.Mb=function(t){return AGe(Nnt(u(t,10)))},x(fs,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),C(1433,1,Qn,uMe),f.Mb=function(t){return nDt(u(t,12))},x(fs,"NetworkSimplexPlacer/lambda$0$Type",1433),C(1434,1,bn,qHe),f.Cd=function(t){DRt(this.a,this.b,u(t,12))},x(fs,"NetworkSimplexPlacer/lambda$1$Type",1434),C(1443,1,bn,rNe),f.Cd=function(t){uen(this.a,u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$10$Type",1443),C(1444,1,{},aMe),f.Kb=function(t){return Lu(),new xt(null,new Pt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$11$Type",1444),C(1445,1,bn,iNe),f.Cd=function(t){rin(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$12$Type",1445),C(1446,1,{},fMe),f.Kb=function(t){return Lu(),Ae(u(t,125).e)},x(fs,"NetworkSimplexPlacer/lambda$13$Type",1446),C(1448,1,{},dMe),f.Kb=function(t){return Lu(),Ae(u(t,125).e)},x(fs,"NetworkSimplexPlacer/lambda$15$Type",1448),C(1450,1,Qn,hMe),f.Mb=function(t){return Lu(),u(t,412).c.k==(nn(),Ei)},x(fs,"NetworkSimplexPlacer/lambda$17$Type",1450),C(1451,1,Qn,pMe),f.Mb=function(t){return Lu(),u(t,412).c.j.c.length>1},x(fs,"NetworkSimplexPlacer/lambda$18$Type",1451),C(1452,1,bn,Pqe),f.Cd=function(t){HVt(this.c,this.b,this.d,this.a,u(t,412))},f.c=0,f.d=0,x(fs,"NetworkSimplexPlacer/lambda$19$Type",1452),C(1435,1,{},gMe),f.Kb=function(t){return Lu(),new xt(null,new Pt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$2$Type",1435),C(1453,1,bn,oNe),f.Cd=function(t){BRt(this.a,u(t,12))},f.a=0,x(fs,"NetworkSimplexPlacer/lambda$20$Type",1453),C(1454,1,{},bMe),f.Kb=function(t){return Lu(),new xt(null,new Pt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$21$Type",1454),C(1455,1,bn,sNe),f.Cd=function(t){JRt(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$22$Type",1455),C(1456,1,Qn,wMe),f.Mb=function(t){return AGe(t)},x(fs,"NetworkSimplexPlacer/lambda$23$Type",1456),C(1457,1,{},mMe),f.Kb=function(t){return Lu(),new xt(null,new Pt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$24$Type",1457),C(1458,1,Qn,lNe),f.Mb=function(t){return sRt(this.a,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$25$Type",1458),C(1459,1,bn,XHe),f.Cd=function(t){hZt(this.a,this.b,u(t,10))},x(fs,"NetworkSimplexPlacer/lambda$26$Type",1459),C(1460,1,Qn,vMe),f.Mb=function(t){return Lu(),!Zo(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$27$Type",1460),C(1461,1,Qn,yMe),f.Mb=function(t){return Lu(),!Zo(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$28$Type",1461),C(1462,1,{},cNe),f.Ve=function(t,n){return NRt(this.a,u(t,30),u(n,30))},x(fs,"NetworkSimplexPlacer/lambda$29$Type",1462),C(1436,1,{},kMe),f.Kb=function(t){return Lu(),new xt(null,new zb(new gn(wn(Pi(u(t,10)).a.Kc(),new j))))},x(fs,"NetworkSimplexPlacer/lambda$3$Type",1436),C(1437,1,Qn,CMe),f.Mb=function(t){return Lu(),pzt(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$4$Type",1437),C(1438,1,bn,uNe),f.Cd=function(t){dsn(this.a,u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$5$Type",1438),C(1439,1,{},SMe),f.Kb=function(t){return Lu(),new xt(null,new Pt(u(t,30).a,16))},x(fs,"NetworkSimplexPlacer/lambda$6$Type",1439),C(1440,1,Qn,xMe),f.Mb=function(t){return Lu(),u(t,10).k==(nn(),Ei)},x(fs,"NetworkSimplexPlacer/lambda$7$Type",1440),C(1441,1,{},EMe),f.Kb=function(t){return Lu(),new xt(null,new zb(new gn(wn(h1(u(t,10)).a.Kc(),new j))))},x(fs,"NetworkSimplexPlacer/lambda$8$Type",1441),C(1442,1,Qn,TMe),f.Mb=function(t){return Lu(),tDt(u(t,18))},x(fs,"NetworkSimplexPlacer/lambda$9$Type",1442),C(1424,1,as,f$e),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?Kvt:null},f.Kf=function(t,n){Wsn(u(t,36),n)};var Kvt;x(fs,"SimpleNodePlacer",1424),C(185,1,{185:1},i2),f.Ib=function(){var t;return t="",this.c==(Hd(),Hw)?t+=G4:this.c==mp&&(t+=U4),this.o==(Zf(),eb)?t+=GX:this.o==wd?t+="UP":t+="BALANCED",t},x(mg,"BKAlignedLayout",185),C(523,22,{3:1,34:1,22:1,523:1},ule);var mp,Hw,Uvt=An(mg,"BKAlignedLayout/HDirection",523,Nn,EBt,L$t),Gvt;C(522,22,{3:1,34:1,22:1,522:1},ale);var eb,wd,Wvt=An(mg,"BKAlignedLayout/VDirection",522,Nn,TBt,$$t),Vvt;C(1699,1,{},YHe),x(mg,"BKAligner",1699),C(1702,1,{},uit),x(mg,"BKCompactor",1702),C(663,1,{663:1},IMe),f.a=0,x(mg,"BKCompactor/ClassEdge",663),C(467,1,{467:1},eFe),f.a=null,f.b=0,x(mg,"BKCompactor/ClassNode",467),C(1427,1,as,eKe),f.rg=function(t){return u(A(u(t,36),(Oe(),Kl)),21).Hc((cs(),ka))?qvt:null},f.Kf=function(t,n){Can(this,u(t,36),n)},f.d=!1;var qvt;x(mg,"BKNodePlacer",1427),C(1700,1,{},PMe),f.d=0,x(mg,"NeighborhoodInformation",1700),C(1701,1,tr,aNe),f.Ne=function(t,n){return YKt(this,u(t,42),u(n,42))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(mg,"NeighborhoodInformation/NeighborComparator",1701),C(823,1,{}),x(mg,"ThresholdStrategy",823),C(1825,823,{},tFe),f.wg=function(t,n,i){return this.a.o==(Zf(),wd)?ii:Hi},f.xg=function(){},x(mg,"ThresholdStrategy/NullThresholdStrategy",1825),C(587,1,{587:1},tKe),f.c=!1,f.d=!1,x(mg,"ThresholdStrategy/Postprocessable",587),C(1826,823,{},nFe),f.wg=function(t,n,i){var s,c,d;return c=n==i,s=this.a.a[i.p]==n,c||s?(d=t,this.a.c==(Hd(),Hw)?(c&&(d=Uq(this,n,!0)),!isNaN(d)&&!isFinite(d)&&s&&(d=Uq(this,i,!1))):(c&&(d=Uq(this,n,!0)),!isNaN(d)&&!isFinite(d)&&s&&(d=Uq(this,i,!1))),d):t},f.xg=function(){for(var t,n,i,s,c;this.d.b!=0;)c=u(zBt(this.d),587),s=$ct(this,c),s.a&&(t=s.a,i=qe(this.a.f[this.a.g[c.b.p].p]),!(!i&&!Zo(t)&&t.c.i.c==t.d.i.c)&&(n=Fst(this,c),n||uRt(this.e,c)));for(;this.e.a.c.length!=0;)Fst(this,u(ztt(this.e),587))},x(mg,"ThresholdStrategy/SimpleThresholdStrategy",1826),C(645,1,{645:1,188:1,196:1},MMe),f.dg=function(){return Yet(this)},f.qg=function(){return Yet(this)};var nee;x(KY,"EdgeRouterFactory",645),C(1485,1,as,d$e),f.rg=function(t){return Arn(u(t,36))},f.Kf=function(t,n){Qsn(u(t,36),n)};var Xvt,Yvt,Jvt,Qvt,Zvt,a4e,eyt,tyt;x(KY,"OrthogonalEdgeRouter",1485),C(1478,1,as,ZHe),f.rg=function(t){return tJt(u(t,36))},f.Kf=function(t,n){Cun(this,u(t,36),n)};var nyt,ryt,iyt,oyt,XM,syt;x(KY,"PolylineEdgeRouter",1478),C(1479,1,Jd,_Me),f.Lb=function(t){return Jfe(u(t,10))},f.Fb=function(t){return this===t},f.Mb=function(t){return Jfe(u(t,10))},x(KY,"PolylineEdgeRouter/1",1479),C(1872,1,Qn,RMe),f.Mb=function(t){return u(t,132).c==(Af(),Pg)},x(Bf,"HyperEdgeCycleDetector/lambda$0$Type",1872),C(1873,1,{},AMe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$1$Type",1873),C(1874,1,Qn,LMe),f.Mb=function(t){return u(t,132).c==(Af(),Pg)},x(Bf,"HyperEdgeCycleDetector/lambda$2$Type",1874),C(1875,1,{},$Me),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$3$Type",1875),C(1876,1,{},jMe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$4$Type",1876),C(1877,1,{},OMe),f.Ze=function(t){return u(t,132).d},x(Bf,"HyperEdgeCycleDetector/lambda$5$Type",1877),C(118,1,{34:1,118:1},FI),f.Fd=function(t){return o_t(this,u(t,118))},f.Fb=function(t){var n;return te(t,118)?(n=u(t,118),this.g==n.g):!1},f.Hb=function(){return this.g},f.Ib=function(){var t,n,i,s;for(t=new Ru("{"),s=new N(this.n);s.a"+this.b+" ("+xAt(this.c)+")"},f.d=0,x(Bf,"HyperEdgeSegmentDependency",132),C(528,22,{3:1,34:1,22:1,528:1},fle);var Pg,$v,lyt=An(Bf,"HyperEdgeSegmentDependency/DependencyType",528,Nn,IBt,j$t),cyt;C(1878,1,{},fNe),x(Bf,"HyperEdgeSegmentSplitter",1878),C(1879,1,{},rze),f.a=0,f.b=0,x(Bf,"HyperEdgeSegmentSplitter/AreaRating",1879),C(339,1,{339:1},UU),f.a=0,f.b=0,f.c=0,x(Bf,"HyperEdgeSegmentSplitter/FreeArea",339),C(1880,1,tr,DMe),f.Ne=function(t,n){return xLt(u(t,118),u(n,118))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Bf,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),C(1881,1,bn,Mqe),f.Cd=function(t){Qzt(this.a,this.d,this.c,this.b,u(t,118))},f.b=0,x(Bf,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),C(1882,1,{},NMe),f.Kb=function(t){return new xt(null,new Pt(u(t,118).e,16))},x(Bf,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),C(1883,1,{},BMe),f.Kb=function(t){return new xt(null,new Pt(u(t,118).j,16))},x(Bf,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),C(1884,1,{},FMe),f.Ye=function(t){return le(pe(t))},x(Bf,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),C(664,1,{},gG),f.a=0,f.b=0,f.c=0,x(Bf,"OrthogonalRoutingGenerator",664),C(1703,1,{},zMe),f.Kb=function(t){return new xt(null,new Pt(u(t,118).e,16))},x(Bf,"OrthogonalRoutingGenerator/lambda$0$Type",1703),C(1704,1,{},HMe),f.Kb=function(t){return new xt(null,new Pt(u(t,118).j,16))},x(Bf,"OrthogonalRoutingGenerator/lambda$1$Type",1704),C(670,1,{}),x(UY,"BaseRoutingDirectionStrategy",670),C(1870,670,{},sFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L,$;if(!(t.r&&!t.q))for(k=n+t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Me(T,d),or(h.a,s),hw(this,h,c,s,!1),P=t.r,P&&(O=le(pe(ga(P.e,0))),s=new Me(O,d),or(h.a,s),hw(this,h,c,s,!1),d=n+P.o*i,c=P,s=new Me(O,d),or(h.a,s),hw(this,h,c,s,!1)),s=new Me($,d),or(h.a,s),hw(this,h,c,s,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ze(),Pn},f.Bg=function(){return ze(),en},x(UY,"NorthToSouthRoutingStrategy",1870),C(1871,670,{},lFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L,$;if(!(t.r&&!t.q))for(k=n-t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Me(T,d),or(h.a,s),hw(this,h,c,s,!1),P=t.r,P&&(O=le(pe(ga(P.e,0))),s=new Me(O,d),or(h.a,s),hw(this,h,c,s,!1),d=n-P.o*i,c=P,s=new Me(O,d),or(h.a,s),hw(this,h,c,s,!1)),s=new Me($,d),or(h.a,s),hw(this,h,c,s,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ze(),en},f.Bg=function(){return ze(),Pn},x(UY,"SouthToNorthRoutingStrategy",1871),C(1869,670,{},cFe),f.yg=function(t,n,i){var s,c,d,h,b,m,v,k,T,P,O,L,$;if(!(t.r&&!t.q))for(k=n+t.o*i,v=new N(t.n);v.aZd&&(d=k,c=t,s=new Me(d,T),or(h.a,s),hw(this,h,c,s,!0),P=t.r,P&&(O=le(pe(ga(P.e,0))),s=new Me(d,O),or(h.a,s),hw(this,h,c,s,!0),d=n+P.o*i,c=P,s=new Me(d,O),or(h.a,s),hw(this,h,c,s,!0)),s=new Me(d,$),or(h.a,s),hw(this,h,c,s,!0)))},f.zg=function(t){return t.i.n.b+t.n.b+t.a.b},f.Ag=function(){return ze(),fn},f.Bg=function(){return ze(),rn},x(UY,"WestToEastRoutingStrategy",1869),C(828,1,{},Xpe),f.Ib=function(){return ag(this.a)},f.b=0,f.c=!1,f.d=!1,f.f=0,x(fv,"NubSpline",828),C(418,1,{418:1},vlt,lXe),x(fv,"NubSpline/PolarCP",418),C(1480,1,as,tit),f.rg=function(t){return UJt(u(t,36))},f.Kf=function(t,n){zun(this,u(t,36),n)};var uyt,ayt,fyt,dyt,hyt;x(fv,"SplineEdgeRouter",1480),C(274,1,{274:1},SL),f.Ib=function(){return this.a+" ->("+this.c+") "+this.b},f.c=0,x(fv,"SplineEdgeRouter/Dependency",274),C(465,22,{3:1,34:1,22:1,465:1},dle);var Mg,B2,pyt=An(fv,"SplineEdgeRouter/SideToProcess",465,Nn,ABt,D$t),gyt;C(1481,1,Qn,KMe),f.Mb=function(t){return qS(),!u(t,131).o},x(fv,"SplineEdgeRouter/lambda$0$Type",1481),C(1482,1,{},UMe),f.Ze=function(t){return qS(),u(t,131).v+1},x(fv,"SplineEdgeRouter/lambda$1$Type",1482),C(1483,1,bn,nKe),f.Cd=function(t){oDt(this.a,this.b,u(t,42))},x(fv,"SplineEdgeRouter/lambda$2$Type",1483),C(1484,1,bn,rKe),f.Cd=function(t){sDt(this.a,this.b,u(t,42))},x(fv,"SplineEdgeRouter/lambda$3$Type",1484),C(131,1,{34:1,131:1},Aot,tge),f.Fd=function(t){return c_t(this,u(t,131))},f.b=0,f.e=!1,f.f=0,f.g=0,f.j=!1,f.k=!1,f.n=0,f.o=!1,f.p=!1,f.q=!1,f.s=0,f.u=0,f.v=0,f.F=0,x(fv,"SplineSegment",131),C(468,1,{468:1},GMe),f.a=0,f.b=!1,f.c=!1,f.d=!1,f.e=!1,f.f=0,x(fv,"SplineSegment/EdgeInformation",468),C(1198,1,{},WMe),x(C1,Qge,1198),C(1199,1,tr,VMe),f.Ne=function(t,n){return Ten(u(t,121),u(n,121))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(C1,Mft,1199),C(1197,1,{},vze),x(C1,"MrTree",1197),C(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},VR),f.dg=function(){return est(this)},f.qg=function(){return est(this)};var uB,dx,hx,px,f4e=An(C1,"TreeLayoutPhases",405,Nn,$zt,N$t),byt;C(1112,205,j0,VGe),f.rf=function(t,n){var i,s,c,d,h,b,m,v;for(qe(Ve(Ie(t,(sl(),j4e))))||dI((i=new t7((Mb(),new kb(t))),i)),h=n.eh(VY),h.Ug("build tGraph",1),b=(m=new kI,js(m,t),Ee(m,(Wr(),bx),t),v=new On,mon(t,m,v),Don(t,m,v),m),h.Vg(),h=n.eh(VY),h.Ug("Split graph",1),d=xon(this.a,b),h.Vg(),c=new N(d);c.a"+w0(this.c):"e_"+Vr(this)},x(y9,"TEdge",65),C(121,137,{3:1,121:1,96:1,137:1},kI),f.Ib=function(){var t,n,i,s,c;for(c=null,s=Ln(this.b,0);s.b!=s.d.c;)i=u(_n(s),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` +`;for(n=Ln(this.a,0);n.b!=n.d.c;)t=u(_n(n),65),c+=(t.b&&t.c?w0(t.b)+"->"+w0(t.c):"e_"+Vr(t))+` +`;return c};var rfn=x(y9,"TGraph",121);C(643,508,{3:1,508:1,643:1,96:1,137:1}),x(y9,"TShape",643),C(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},VW),f.Ib=function(){return w0(this)};var aB=x(y9,"TNode",40);C(236,1,Th,Jh),f.Jc=function(t){Po(this,t)},f.Kc=function(){var t;return t=Ln(this.a.d,0),new my(t)},x(y9,"TNode/2",236),C(329,1,co,my),f.Nb=function(t){To(this,t)},f.Pb=function(){return u(_n(this.a),65).c},f.Ob=function(){return bT(this.a)},f.Qb=function(){kW(this.a)},x(y9,"TNode/2/1",329),C(1923,1,qr,eOe),f.Kf=function(t,n){wan(this,u(t,121),n)},x(Fl,"CompactionProcessor",1923),C(1924,1,tr,bNe),f.Ne=function(t,n){return iGt(this.a,u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$0$Type",1924),C(1925,1,Qn,oKe),f.Mb=function(t){return aBt(this.b,this.a,u(t,42))},f.a=0,f.b=0,x(Fl,"CompactionProcessor/lambda$1$Type",1925),C(1934,1,tr,tOe),f.Ne=function(t,n){return tNt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$10$Type",1934),C(1935,1,tr,nOe),f.Ne=function(t,n){return gAt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$11$Type",1935),C(1936,1,tr,rOe),f.Ne=function(t,n){return nNt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$12$Type",1936),C(1926,1,Qn,wNe),f.Mb=function(t){return QRt(this.a,u(t,42))},f.a=0,x(Fl,"CompactionProcessor/lambda$2$Type",1926),C(1927,1,Qn,mNe),f.Mb=function(t){return ZRt(this.a,u(t,42))},f.a=0,x(Fl,"CompactionProcessor/lambda$3$Type",1927),C(1928,1,Qn,iOe),f.Mb=function(t){return u(t,40).c.indexOf(sD)==-1},x(Fl,"CompactionProcessor/lambda$4$Type",1928),C(1929,1,{},vNe),f.Kb=function(t){return dzt(this.a,u(t,40))},f.a=0,x(Fl,"CompactionProcessor/lambda$5$Type",1929),C(1930,1,{},yNe),f.Kb=function(t){return yKt(this.a,u(t,40))},f.a=0,x(Fl,"CompactionProcessor/lambda$6$Type",1930),C(1931,1,tr,kNe),f.Ne=function(t,n){return _Ht(this.a,u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$7$Type",1931),C(1932,1,tr,CNe),f.Ne=function(t,n){return RHt(this.a,u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$8$Type",1932),C(1933,1,tr,oOe),f.Ne=function(t,n){return bAt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Fl,"CompactionProcessor/lambda$9$Type",1933),C(1921,1,qr,sOe),f.Kf=function(t,n){hin(u(t,121),n)},x(Fl,"DirectionProcessor",1921),C(1913,1,qr,WGe),f.Kf=function(t,n){$on(this,u(t,121),n)},x(Fl,"FanProcessor",1913),C(1937,1,qr,lOe),f.Kf=function(t,n){tin(u(t,121),n)},x(Fl,"GraphBoundsProcessor",1937),C(1938,1,{},cOe),f.Ye=function(t){return u(t,40).e.a},x(Fl,"GraphBoundsProcessor/lambda$0$Type",1938),C(1939,1,{},uOe),f.Ye=function(t){return u(t,40).e.b},x(Fl,"GraphBoundsProcessor/lambda$1$Type",1939),C(1940,1,{},aOe),f.Ye=function(t){return $_t(u(t,40))},x(Fl,"GraphBoundsProcessor/lambda$2$Type",1940),C(1941,1,{},fOe),f.Ye=function(t){return L_t(u(t,40))},x(Fl,"GraphBoundsProcessor/lambda$3$Type",1941),C(262,22,{3:1,34:1,22:1,262:1,196:1},Ob),f.dg=function(){switch(this.g){case 0:return new CFe;case 1:return new WGe;case 2:return new kFe;case 3:return new bOe;case 4:return new hOe;case 8:return new dOe;case 5:return new sOe;case 6:return new mOe;case 7:return new eOe;case 9:return new lOe;case 10:return new vOe;default:throw B(new Qt(uY+(this.f!=null?this.f:""+this.g)))}};var d4e,h4e,p4e,g4e,b4e,w4e,m4e,v4e,y4e,k4e,ree,ifn=An(Fl,aY,262,Nn,Het,B$t),wyt;C(1920,1,qr,dOe),f.Kf=function(t,n){pun(u(t,121),n)},x(Fl,"LevelCoordinatesProcessor",1920),C(1918,1,qr,hOe),f.Kf=function(t,n){$nn(this,u(t,121),n)},f.a=0,x(Fl,"LevelHeightProcessor",1918),C(1919,1,Th,pOe),f.Jc=function(t){Po(this,t)},f.Kc=function(){return Ot(),Ik(),E8},x(Fl,"LevelHeightProcessor/1",1919),C(1914,1,qr,kFe),f.Kf=function(t,n){Xrn(this,u(t,121),n)},x(Fl,"LevelProcessor",1914),C(1915,1,Qn,gOe),f.Mb=function(t){return qe(Ve(A(u(t,40),(Wr(),Og))))},x(Fl,"LevelProcessor/lambda$0$Type",1915),C(1916,1,qr,bOe),f.Kf=function(t,n){RZt(this,u(t,121),n)},f.a=0,x(Fl,"NeighborsProcessor",1916),C(1917,1,Th,wOe),f.Jc=function(t){Po(this,t)},f.Kc=function(){return Ot(),Ik(),E8},x(Fl,"NeighborsProcessor/1",1917),C(1922,1,qr,mOe),f.Kf=function(t,n){Lon(this,u(t,121),n)},f.a=0,x(Fl,"NodePositionProcessor",1922),C(1912,1,qr,CFe),f.Kf=function(t,n){bln(this,u(t,121),n)},x(Fl,"RootProcessor",1912),C(1942,1,qr,vOe),f.Kf=function(t,n){dXt(u(t,121),n)},x(Fl,"Untreeifyer",1942),C(392,22,{3:1,34:1,22:1,392:1},oU);var YM,iee,C4e,S4e=An(cM,"EdgeRoutingMode",392,Nn,PFt,F$t),myt,JM,q8,oee,x4e,E4e,see,lee,T4e,cee,I4e,uee,gx,aee,fB,dB,gf,Kf,X8,bx,wx,vp,P4e,vyt,fee,Og,QM,ZM;C(862,1,$a,h$e),f.hf=function(t){at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,$be),""),kdt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Gt(),!1)),(cp(),Qi)),xi),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,jbe),""),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Dbe),""),"Tree Level"),"The index for the tree level the node is in"),Ae(0)),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Nbe),""),kdt),"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"),Ae(-1)),Vs),Oo),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Bbe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),_4e),oi),K4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Fbe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),M4e),oi),S4e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,zbe),""),"Search Order"),"Which search order to use when computing a spanning tree."),O4e),oi),G4e),ht(Nt)))),aat((new b$e,t))};var yyt,kyt,Cyt,M4e,Syt,xyt,O4e,Eyt,Tyt,_4e;x(cM,"MrTreeMetaDataProvider",862),C(1006,1,$a,b$e),f.hf=function(t){aat(t)};var Iyt,R4e,A4e,Kw,L4e,$4e,dee,Pyt,Myt,Oyt,_yt,Ryt,Ayt,Lyt,j4e,D4e,N4e,$yt,F2,hB,B4e,jyt,F4e,hee,Dyt,Nyt,Byt,z4e,Fyt,ch,H4e;x(cM,"MrTreeOptions",1006),C(1007,1,{},yOe),f.sf=function(){var t;return t=new VGe,t},f.tf=function(t){},x(cM,"MrTreeOptions/MrtreeFactory",1007),C(353,22,{3:1,34:1,22:1,353:1},qR);var pee,pB,gee,bee,K4e=An(cM,"OrderWeighting",353,Nn,jzt,z$t),zyt;C(433,22,{3:1,34:1,22:1,433:1},hle);var U4e,wee,G4e=An(cM,"TreeifyingOrder",433,Nn,_Bt,H$t),Hyt;C(1486,1,as,w$e),f.rg=function(t){return u(t,121),Kyt},f.Kf=function(t,n){WUt(this,u(t,121),n)};var Kyt;x("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),C(1487,1,as,m$e),f.rg=function(t){return u(t,121),Uyt},f.Kf=function(t,n){Zrn(this,u(t,121),n)};var Uyt;x(d8,"NodeOrderer",1487),C(1494,1,{},vMt),f.td=function(t){return ZWe(t)},x(d8,"NodeOrderer/0methodref$lambda$6$Type",1494),C(1488,1,Qn,jOe),f.Mb=function(t){return S4(),qe(Ve(A(u(t,40),(Wr(),Og))))},x(d8,"NodeOrderer/lambda$0$Type",1488),C(1489,1,Qn,DOe),f.Mb=function(t){return S4(),u(A(u(t,40),(sl(),F2)),17).a<0},x(d8,"NodeOrderer/lambda$1$Type",1489),C(1490,1,Qn,xNe),f.Mb=function(t){return kUt(this.a,u(t,40))},x(d8,"NodeOrderer/lambda$2$Type",1490),C(1491,1,Qn,SNe),f.Mb=function(t){return gzt(this.a,u(t,40))},x(d8,"NodeOrderer/lambda$3$Type",1491),C(1492,1,tr,NOe),f.Ne=function(t,n){return UKt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(d8,"NodeOrderer/lambda$4$Type",1492),C(1493,1,Qn,BOe),f.Mb=function(t){return S4(),u(A(u(t,40),(Wr(),lee)),17).a!=0},x(d8,"NodeOrderer/lambda$5$Type",1493),C(1495,1,as,g$e),f.rg=function(t){return u(t,121),Gyt},f.Kf=function(t,n){lon(this,u(t,121),n)},f.b=0;var Gyt;x("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),C(1496,1,as,p$e),f.rg=function(t){return u(t,121),Wyt},f.Kf=function(t,n){Kin(u(t,121),n)};var Wyt,ofn=x(Pu,"EdgeRouter",1496);C(1498,1,tr,$Oe),f.Ne=function(t,n){return yl(u(t,17).a,u(n,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/0methodref$compare$Type",1498),C(1503,1,{},COe),f.Ye=function(t){return le(pe(t))},x(Pu,"EdgeRouter/1methodref$doubleValue$Type",1503),C(1505,1,tr,SOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/2methodref$compare$Type",1505),C(1507,1,tr,xOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/3methodref$compare$Type",1507),C(1509,1,{},kOe),f.Ye=function(t){return le(pe(t))},x(Pu,"EdgeRouter/4methodref$doubleValue$Type",1509),C(1511,1,tr,EOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/5methodref$compare$Type",1511),C(1513,1,tr,TOe),f.Ne=function(t,n){return Kr(le(pe(t)),le(pe(n)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/6methodref$compare$Type",1513),C(1497,1,{},IOe),f.Kb=function(t){return u1(),u(A(u(t,40),(sl(),ch)),17)},x(Pu,"EdgeRouter/lambda$0$Type",1497),C(1508,1,{},POe),f.Kb=function(t){return MAt(u(t,40))},x(Pu,"EdgeRouter/lambda$11$Type",1508),C(1510,1,{},sKe),f.Kb=function(t){return rDt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Pu,"EdgeRouter/lambda$13$Type",1510),C(1512,1,{},lKe),f.Kb=function(t){return OAt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Pu,"EdgeRouter/lambda$15$Type",1512),C(1514,1,tr,MOe),f.Ne=function(t,n){return Hqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$17$Type",1514),C(1515,1,tr,OOe),f.Ne=function(t,n){return Kqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$18$Type",1515),C(1516,1,tr,_Oe),f.Ne=function(t,n){return Gqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$19$Type",1516),C(1499,1,Qn,ENe),f.Mb=function(t){return WBt(this.a,u(t,40))},f.a=0,x(Pu,"EdgeRouter/lambda$2$Type",1499),C(1517,1,tr,ROe),f.Ne=function(t,n){return Uqt(u(t,65),u(n,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$20$Type",1517),C(1500,1,tr,AOe),f.Ne=function(t,n){return Kjt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$3$Type",1500),C(1501,1,tr,LOe),f.Ne=function(t,n){return Ujt(u(t,40),u(n,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"EdgeRouter/lambda$4$Type",1501),C(1502,1,{},FOe),f.Kb=function(t){return _At(u(t,40))},x(Pu,"EdgeRouter/lambda$5$Type",1502),C(1504,1,{},cKe),f.Kb=function(t){return iDt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Pu,"EdgeRouter/lambda$7$Type",1504),C(1506,1,{},uKe),f.Kb=function(t){return RAt(this.b,this.a,u(t,40))},f.a=0,f.b=0,x(Pu,"EdgeRouter/lambda$9$Type",1506),C(675,1,{675:1},Krt),f.e=0,f.f=!1,f.g=!1,x(Pu,"MultiLevelEdgeNodeNodeGap",675),C(1943,1,tr,zOe),f.Ne=function(t,n){return nFt(u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),C(1944,1,tr,HOe),f.Ne=function(t,n){return rFt(u(t,240),u(n,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(Pu,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var z2;C(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},ple),f.dg=function(){return Mnt(this)},f.qg=function(){return Mnt(this)};var gB,H2,W4e=An(Hbe,"RadialLayoutPhases",501,Nn,xBt,K$t),Vyt;C(1113,205,j0,mze),f.rf=function(t,n){var i,s,c,d,h,b;if(i=plt(this,t),n.Ug("Radial layout",i.c.length),qe(Ve(Ie(t,(dg(),r6e))))||dI((s=new t7((Mb(),new kb(t))),s)),b=VJt(t),Br(t,($y(),z2),b),!b)throw B(new Qt("The given graph is not a tree!"));for(c=le(pe(Ie(t,mB))),c==0&&(c=qot(t)),Br(t,mB,c),h=new N(plt(this,t));h.a=3)for(Pe=u(re(se,0),27),Fe=u(re(se,1),27),d=0;d+2=Pe.f+Fe.f+k||Fe.f>=ke.f+Pe.f+k){pt=!0;break}else++d;else pt=!0;if(!pt){for(P=se.i,b=new hn(se);b.e!=b.i.gc();)h=u(mn(b),27),Br(h,(gr(),hO),Ae(P)),--P;Uct(t,new H3),n.Vg();return}for(i=(lI(this.a),_f(this.a,(S$(),tO),u(Ie(t,R6e),188)),_f(this.a,vB,u(Ie(t,T6e),188)),_f(this.a,Mee,u(Ie(t,M6e),188)),Rle(this.a,(zt=new Li,cr(zt,tO,(L$(),Ree)),cr(zt,vB,_ee),qe(Ve(Ie(t,x6e)))&&cr(zt,tO,Oee),zt)),AP(this.a,t)),v=1/i.c.length,L=new N(i);L.a0&&Ztt((Zt(n-1,t.length),t.charCodeAt(n-1)),Fft);)--n;if(s>=n)throw B(new Qt("The given string does not contain any numbers."));if(c=iv((mo(s,n,t.length),t.substr(s,n-s)),`,|;|\r| +`),c.length!=2)throw B(new Qt("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Jm(Qm(c[0])),this.b=Jm(Qm(c[1]))}catch(d){throw d=li(d),te(d,130)?(i=d,B(new Qt(zft+i))):B(d)}},f.Ib=function(){return"("+this.a+","+this.b+")"},f.a=0,f.b=0;var to=x(rM,"KVector",8);C(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},_c,kR,bGe),f.Pc=function(){return uWt(this)},f.cg=function(t){var n,i,s,c,d,h;s=iv(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),Au(this);try{for(i=0,d=0,c=0,h=0;i0&&(d%2==0?c=Jm(s[i]):h=Jm(s[i]),d>0&&d%2!=0&&or(this,new Me(c,h)),++d),++i}catch(b){throw b=li(b),te(b,130)?(n=b,B(new Qt("The given string does not match the expected format for vectors."+n))):B(b)}},f.Ib=function(){var t,n,i;for(t=new Ru("("),n=Ln(this,0);n.b!=n.d.c;)i=u(_n(n),8),lr(t,i.a+","+i.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var gke=x(rM,"KVectorChain",75);C(255,22,{3:1,34:1,22:1,255:1},I7);var Qee,MB,OB,sO,lO,_B,bke=An(gu,"Alignment",255,Nn,sKt,hjt),I3t;C(991,1,$a,I$e),f.hf=function(t){Ict(t)};var wke,Zee,P3t,mke,vke,M3t,yke,O3t,_3t,kke,Cke,R3t;x(gu,"BoxLayouterOptions",991),C(992,1,{},Y_e),f.sf=function(){var t;return t=new Z_e,t},f.tf=function(t){},x(gu,"BoxLayouterOptions/BoxFactory",992),C(298,22,{3:1,34:1,22:1,298:1},P7);var Ex,ete,Tx,Ix,Px,tte,nte=An(gu,"ContentAlignment",298,Nn,lKt,pjt),A3t;C(699,1,$a,doe),f.hf=function(t){at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Hdt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(cp(),U2)),Je),ht((Nf(),Nt))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Kdt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),md),cfn),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,fbe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Ske),oi),bke),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,V4),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,xwe),""),"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."),md),gke),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,tD),""),"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."),Eke),g6),nte),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,lM),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Gt(),!1)),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,FY),""),Gge),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Tke),oi),Ox),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,sM),""),"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."),Mke),oi),bte),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Cwe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eD),""),"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`."),Rke),oi),m5e),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,vw),""),"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."),zke),md),Hve),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,h9),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rD),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,p9),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,sY),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Wke),oi),k5e),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,nD),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),md),to),Yr(qi,H(F(jh,1),Te,170,0,[tb,yp]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,JP),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Vs),Oo),Yr(qi,H(F(jh,1),Te,170,0,[uh]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,jj),""),"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)."),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,d9),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Cbe),""),"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."),Ake),md),gke),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Ebe),""),"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),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Tbe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,$an),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),md),hfn),Yr(Nt,H(F(jh,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Pbe),""),"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."),Lke),md),zve),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ube),""),"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),Qi),xi),Yr(qi,H(F(jh,1),Te,170,0,[uh,tb,yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Udt),""),"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),No),Bi),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Gdt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Wdt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,QP),""),Ddt),"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),Qi),xi),ht(Nt)))),$i(t,QP,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Vdt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,qdt),""),"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'."),Ae(100)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Xdt),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Ydt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Ae(4e3)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Jdt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Ae(400)),Vs),Oo),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Qdt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Zdt),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eht),""),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,tht),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Swe),"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),oi),_5e),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Q0e),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Z0e),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ZX),hd),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ebe),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,oY),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,BY),hd),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,tbe),hd),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ibe),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,nbe),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rbe),hd),"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),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,av),hd),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,obe),hd),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),No),Bi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,sbe),hd),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),No),Bi),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,lbe),hd),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),md),y4t),Yr(qi,H(F(jh,1),Te,170,0,[uh,tb,yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Mbe),hd),"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."),r5e),md),zve),ht(Nt)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,HY),iht),"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)."),Vs),Oo),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),$i(t,HY,zY,H3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,zY),iht),"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."),Hke),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,pbe),oht),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),jke),md),Hve),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,u8),oht),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Dke),g6),ds),Yr(qi,H(F(jh,1),Te,170,0,[yp]))))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,wbe),hD),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Uke),oi),Lx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,mbe),hD),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),oi),Lx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,vbe),hD),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),oi),Lx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,ybe),hD),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),oi),Lx),ht(qi)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,kbe),hD),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),oi),Lx),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,h2),aJ),"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."),Nke),g6),Dx),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,q4),aJ),"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."),Fke),g6),S5e),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,X4),aJ),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Bke),md),to),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,c8),aJ),"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),Qi),xi),ht(Nt)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Sbe),NY),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Ike),oi),s5e),ht(yp)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Dj),NY),"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),Qi),xi),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,jan),"font"),"Font Name"),"Font name used for a label."),U2),Je),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,nht),"font"),"Font Size"),"Font size used for a label."),Vs),Oo),ht(yp)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,Ibe),fJ),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),md),to),ht(tb)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,xbe),fJ),"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."),Vs),Oo),ht(tb)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,abe),fJ),"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."),Xke),oi),ts),ht(tb)))),at(t,new nt(ct(lt(ut(rt(st(it(ot(new tt,cbe),fJ),"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."),No),Bi),ht(tb)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,a8),Iwe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Vke),g6),DB),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,gbe),Iwe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,bbe),Iwe),"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),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,ZP),aM),"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),No),Bi),ht(Nt)))),$i(t,ZP,yw,Y3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Ewe),aM),"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),oi),KB),ht(qi)))),$i(t,Ewe,yw,J3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eM),aM),"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),No),Bi),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),$i(t,eM,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,tM),aM),"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),No),Bi),Yr(Nt,H(F(jh,1),Te,170,0,[qi]))))),$i(t,tM,yw,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,yw),aM),"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),oi),E5e),ht(qi)))),$i(t,yw,c8,null),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,Twe),aM),"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),No),Bi),ht(Nt)))),$i(t,Twe,yw,X3t),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,dbe),sht),"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),Qi),xi),ht(qi)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,hbe),sht),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Qi),xi),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,eY),"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),No),Bi),ht(uh)))),at(t,new nt(ct(lt(ut(Tt(rt(st(it(ot(new tt,rht),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),_ke),oi),d5e),ht(uh)))),w7(t,new b4(d7(Ck(kk(new D3,cn),"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.'))),w7(t,new b4(d7(Ck(kk(new D3,"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.`))),w7(t,new b4(d7(Ck(kk(new D3,uc),"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."))),w7(t,new b4(d7(Ck(kk(new D3,"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."))),w7(t,new b4(d7(Ck(kk(new D3,Cdt),"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."))),w7(t,new b4(d7(Ck(kk(new D3,"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."))),w7(t,new b4(d7(Ck(kk(new D3,wa),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),dct((new P$e,t)),Ict((new I$e,t)),Flt((new M$e,t))};var J8,L3t,Ske,G2,$3t,j3t,xke,W2,V2,D3t,cO,Eke,uO,nb,Tke,rte,ite,Ike,Pke,Mke,Oke,_ke,N3t,q2,Rke,B3t,aO,ote,fO,ste,Uw,Ake,Q8,Lke,$ke,jke,X2,Dke,rb,Nke,Dv,Y2,Bke,_g,Fke,RB,dO,kp,zke,F3t,Hke,z3t,H3t,Kke,Uke,lte,cte,ute,ate,Gke,bu,Mx,Wke,fte,dte,Nv,Vke,qke,J2,Xke,b6,hO,hte,Q2,K3t,pte,U3t,G3t,Yke,W3t,Jke,Qke,w6,Zke,AB,e5e,t5e,ib,V3t,n5e,r5e,i5e,LB,pO,Z8,m6,q3t,X3t,$B,Y3t,o5e,J3t;x(gu,"CoreOptions",699),C(88,22,{3:1,34:1,22:1,88:1},jT);var vd,Ps,Bs,yd,Ca,Ox=An(gu,Gge,88,Nn,fHt,gjt),Q3t;C(278,22,{3:1,34:1,22:1,278:1},hU);var eC,Bv,tC,s5e=An(gu,"EdgeLabelPlacement",278,Nn,FFt,bjt),Z3t;C(223,22,{3:1,34:1,22:1,223:1},YR);var nC,gO,v6,gte,bte=An(gu,"EdgeRouting",223,Nn,Fzt,wjt),e4t;C(321,22,{3:1,34:1,22:1,321:1},M7);var l5e,c5e,u5e,a5e,wte,f5e,d5e=An(gu,"EdgeType",321,Nn,oKt,mjt),t4t;C(989,1,$a,P$e),f.hf=function(t){dct(t)};var h5e,p5e,g5e,b5e,n4t,w5e,_x;x(gu,"FixedLayouterOptions",989),C(990,1,{},J_e),f.sf=function(){var t;return t=new cRe,t},f.tf=function(t){},x(gu,"FixedLayouterOptions/FixedFactory",990),C(346,22,{3:1,34:1,22:1,346:1},pU);var Cp,jB,Rx,m5e=An(gu,"HierarchyHandling",346,Nn,NFt,vjt),r4t;C(291,22,{3:1,34:1,22:1,291:1},JR);var Dh,Rg,bO,wO,i4t=An(gu,"LabelSide",291,Nn,Bzt,yjt),o4t;C(95,22,{3:1,34:1,22:1,95:1},Sy);var E1,bf,za,wf,Vu,mf,Ha,Nh,vf,ds=An(gu,"NodeLabelPlacement",95,Nn,sUt,kjt),s4t;C(256,22,{3:1,34:1,22:1,256:1},DT);var v5e,Ax,Ag,y5e,mO,Lx=An(gu,"PortAlignment",256,Nn,THt,Cjt),l4t;C(101,22,{3:1,34:1,22:1,101:1},O7);var ob,Ul,Bh,rC,kd,Lg,k5e=An(gu,"PortConstraints",101,Nn,iKt,Sjt),c4t;C(279,22,{3:1,34:1,22:1,279:1},_7);var $x,jx,T1,vO,$g,y6,DB=An(gu,"PortLabelPlacement",279,Nn,rKt,xjt),u4t;C(64,22,{3:1,34:1,22:1,64:1},NT);var fn,en,Sa,xa,Sc,dc,Cd,yf,tu,Hc,Gl,nu,xc,Ec,kf,qu,Xu,Ka,Pn,nl,rn,ts=An(gu,"PortSide",64,Nn,dHt,Ejt),a4t;C(993,1,$a,M$e),f.hf=function(t){Flt(t)};var f4t,d4t,C5e,h4t,p4t;x(gu,"RandomLayouterOptions",993),C(994,1,{},Q_e),f.sf=function(){var t;return t=new oRe,t},f.tf=function(t){},x(gu,"RandomLayouterOptions/RandomFactory",994),C(386,22,{3:1,34:1,22:1,386:1},QR);var Fv,yO,kO,sb,Dx=An(gu,"SizeConstraint",386,Nn,Nzt,Tjt),g4t;C(264,22,{3:1,34:1,22:1,264:1},xy);var CO,NB,iC,mte,SO,Nx,BB,FB,zB,S5e=An(gu,"SizeOptions",264,Nn,mUt,Ijt),b4t;C(280,22,{3:1,34:1,22:1,280:1},gU);var zv,x5e,HB,E5e=An(gu,"TopdownNodeTypes",280,Nn,zFt,Pjt),w4t;C(347,22,Pwe);var T5e,I5e,KB=An(gu,"TopdownSizeApproximator",347,Nn,jBt,Ojt);C(987,347,Pwe,QWe),f.Tg=function(t){return Ort(t)},An(gu,"TopdownSizeApproximator/1",987,KB,null,null),C(988,347,Pwe,DVe),f.Tg=function(t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt,zt;for(n=u(Ie(t,(gr(),Q2)),143),Fe=(Up(),O=new s7,O),SP(Fe,t),pt=new On,d=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));d.e!=d.i.gc();)s=u(mn(d),27),ne=(P=new s7,P),ij(ne,Fe),SP(ne,s),zt=Ort(s),My(ne,w.Math.max(s.g,zt.a),w.Math.max(s.f,zt.b)),Jl(pt.f,s,ne);for(c=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));c.e!=c.i.gc();)for(s=u(mn(c),27),k=new hn((!s.e&&(s.e=new jt(Ti,s,7,4)),s.e));k.e!=k.i.gc();)v=u(mn(k),74),ke=u(Rs(ss(pt.f,s)),27),Pe=u(pn(pt,re((!v.c&&(v.c=new jt(Tn,v,5,8)),v.c),0)),27),se=(T=new WH,T),Dn((!se.b&&(se.b=new jt(Tn,se,4,7)),se.b),ke),Dn((!se.c&&(se.c=new jt(Tn,se,5,8)),se.c),Pe),rj(se,ri(ke)),SP(se,v);$=u(fI(n.f),205);try{$.rf(Fe,new fRe),pqe(n.f,$)}catch(Ht){throw Ht=li(Ht),te(Ht,103)?(L=Ht,B(L)):B(Ht)}return rd(Fe,V2)||rd(Fe,W2)||pge(Fe),m=le(pe(Ie(Fe,V2))),b=le(pe(Ie(Fe,W2))),h=m/b,i=le(pe(Ie(Fe,pO)))*w.Math.sqrt((!Fe.a&&(Fe.a=new Se(xr,Fe,10,11)),Fe.a).i),dt=u(Ie(Fe,kp),107),J=dt.b+dt.c+1,z=dt.d+dt.a+1,new Me(w.Math.max(J,i),w.Math.max(z,i/h))},An(gu,"TopdownSizeApproximator/2",988,KB,null,null);var m4t;C(344,1,{871:1},H3),f.Ug=function(t,n){return Kit(this,t,n)},f.Vg=function(){dot(this)},f.Wg=function(){return this.q},f.Xg=function(){return this.f?OG(this.f):null},f.Yg=function(){return OG(this.a)},f.Zg=function(){return this.p},f.$g=function(){return!1},f._g=function(){return this.n},f.ah=function(){return this.p!=null&&!this.b},f.bh=function(t){var n;this.n&&(n=t,$e(this.f,n))},f.dh=function(t,n){var i,s;this.n&&t&&nzt(this,(i=new XVe,s=Lq(i,t),Dcn(i),s),(u$(),yte))},f.eh=function(t){var n;return this.b?null:(n=zKt(this,this.g),or(this.a,n),n.i=this,this.d=t,n)},f.fh=function(t){t>0&&!this.b&&_fe(this,t)},f.b=!1,f.c=0,f.d=-1,f.e=null,f.f=null,f.g=-1,f.j=!1,f.k=!1,f.n=!1,f.o=0,f.q=0,f.r=0,x(cl,"BasicProgressMonitor",344),C(717,205,j0,Z_e),f.rf=function(t,n){Uct(t,n)},x(cl,"BoxLayoutProvider",717),C(983,1,tr,DNe),f.Ne=function(t,n){return Dnn(this,u(t,27),u(n,27))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},f.a=!1,x(cl,"BoxLayoutProvider/1",983),C(163,1,{163:1},FL,CGe),f.Ib=function(){return this.c?Ope(this.c):ag(this.b)},x(cl,"BoxLayoutProvider/Group",163),C(320,22,{3:1,34:1,22:1,320:1},ZR);var P5e,M5e,O5e,vte,_5e=An(cl,"BoxLayoutProvider/PackingMode",320,Nn,zzt,_jt),v4t;C(984,1,tr,eRe),f.Ne=function(t,n){return nBt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$0$Type",984),C(985,1,tr,tRe),f.Ne=function(t,n){return qNt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$1$Type",985),C(986,1,tr,nRe),f.Ne=function(t,n){return XNt(u(t,163),u(n,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(cl,"BoxLayoutProvider/lambda$2$Type",986),C(1384,1,{845:1},rRe),f.Mg=function(t,n){return OR(),!te(n,167)||Sze((E4(),u(t,167)),n)},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),C(1385,1,bn,NNe),f.Cd=function(t){dWt(this.a,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),C(1386,1,bn,sRe),f.Cd=function(t){u(t,96),OR()},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),C(1390,1,bn,BNe),f.Cd=function(t){LUt(this.a,u(t,96))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),C(1388,1,Qn,hKe),f.Mb=function(t){return VGt(this.a,this.b,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),C(1387,1,Qn,pKe),f.Mb=function(t){return PAt(this.a,this.b,u(t,845))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),C(1389,1,bn,gKe),f.Cd=function(t){zDt(this.a,this.b,u(t,149))},x(cl,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),C(947,1,{},lRe),f.Kb=function(t){return aUe(t)},f.Fb=function(t){return this===t},x(cl,"ElkUtil/lambda$0$Type",947),C(948,1,bn,bKe),f.Cd=function(t){Fen(this.a,this.b,u(t,74))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$1$Type",948),C(949,1,bn,wKe),f.Cd=function(t){_Ot(this.a,this.b,u(t,166))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$2$Type",949),C(950,1,bn,mKe),f.Cd=function(t){TRt(this.a,this.b,u(t,135))},f.a=0,f.b=0,x(cl,"ElkUtil/lambda$3$Type",950),C(951,1,bn,FNe),f.Cd=function(t){cDt(this.a,u(t,377))},x(cl,"ElkUtil/lambda$4$Type",951),C(325,1,{34:1,325:1},lOt),f.Fd=function(t){return tAt(this,u(t,242))},f.Fb=function(t){var n;return te(t,325)?(n=u(t,325),this.a==n.a):!1},f.Hb=function(){return Wi(this.a)},f.Ib=function(){return this.a+" (exclusive)"},f.a=0,x(cl,"ExclusiveBounds/ExclusiveLowerBound",325),C(1119,205,j0,cRe),f.rf=function(t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J,ne,se,ke,Pe,Fe,pt,dt;for(n.Ug("Fixed Layout",1),d=u(Ie(t,(gr(),Pke)),223),T=0,P=0,ne=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));ne.e!=ne.i.gc();){for(z=u(mn(ne),27),dt=u(Ie(z,(a$(),_x)),8),dt&&(ta(z,dt.a,dt.b),u(Ie(z,p5e),181).Hc((Iu(),Fv))&&(O=u(Ie(z,b5e),8),O.a>0&&O.b>0&&gw(z,O.a,O.b,!0,!0))),T=w.Math.max(T,z.i+z.g),P=w.Math.max(P,z.j+z.f),v=new hn((!z.n&&(z.n=new Se(ms,z,1,7)),z.n));v.e!=v.i.gc();)b=u(mn(v),135),dt=u(Ie(b,_x),8),dt&&ta(b,dt.a,dt.b),T=w.Math.max(T,z.i+b.i+b.g),P=w.Math.max(P,z.j+b.j+b.f);for(Pe=new hn((!z.c&&(z.c=new Se(ru,z,9,9)),z.c));Pe.e!=Pe.i.gc();)for(ke=u(mn(Pe),123),dt=u(Ie(ke,_x),8),dt&&ta(ke,dt.a,dt.b),Fe=z.i+ke.i,pt=z.j+ke.j,T=w.Math.max(T,Fe+ke.g),P=w.Math.max(P,pt+ke.f),m=new hn((!ke.n&&(ke.n=new Se(ms,ke,1,7)),ke.n));m.e!=m.i.gc();)b=u(mn(m),135),dt=u(Ie(b,_x),8),dt&&ta(b,dt.a,dt.b),T=w.Math.max(T,Fe+b.i+b.g),P=w.Math.max(P,pt+b.j+b.f);for(c=new gn(wn(b1(z).a.Kc(),new j));$n(c);)i=u(xn(c),74),k=iat(i),T=w.Math.max(T,k.a),P=w.Math.max(P,k.b);for(s=new gn(wn(CP(z).a.Kc(),new j));$n(s);)i=u(xn(s),74),ri(Sh(i))!=t&&(k=iat(i),T=w.Math.max(T,k.a),P=w.Math.max(P,k.b))}if(d==(d1(),nC))for(J=new hn((!t.a&&(t.a=new Se(xr,t,10,11)),t.a));J.e!=J.i.gc();)for(z=u(mn(J),27),s=new gn(wn(b1(z).a.Kc(),new j));$n(s);)i=u(xn(s),74),h=Hon(i),h.b==0?Br(i,Uw,null):Br(i,Uw,h);qe(Ve(Ie(t,(a$(),g5e))))||(se=u(Ie(t,n4t),107),$=T+se.b+se.c,L=P+se.d+se.a,gw(t,$,L,!0,!0)),n.Vg()},x(cl,"FixedLayoutProvider",1119),C(385,137,{3:1,423:1,385:1,96:1,137:1},GH,eZe),f.cg=function(t){var n,i,s,c,d,h,b,m,v;if(t)try{for(m=iv(t,";,;"),d=m,h=0,b=d.length;h>16&Di|n^s<<16},f.Kc=function(){return new zNe(this)},f.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Us(this.b)+")":this.b==null?"pair("+Us(this.a)+",null)":"pair("+Us(this.a)+","+Us(this.b)+")"},x(cl,"Pair",42),C(995,1,co,zNe),f.Nb=function(t){To(this,t)},f.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},f.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 B(new qs)},f.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),B(new Oc)},f.b=!1,f.c=!1,x(cl,"Pair/1",995),C(455,1,{455:1},Oqe),f.Fb=function(t){return gl(this.a,u(t,455).a)&&gl(this.c,u(t,455).c)&&gl(this.d,u(t,455).d)&&gl(this.b,u(t,455).b)},f.Hb=function(){return XI(H(F(Ji,1),Bt,1,5,[this.a,this.c,this.d,this.b]))},f.Ib=function(){return"("+this.a+Xo+this.c+Xo+this.d+Xo+this.b+")"},x(cl,"Quadruple",455),C(1108,205,j0,oRe),f.rf=function(t,n){var i,s,c,d,h;if(n.Ug("Random Layout",1),(!t.a&&(t.a=new Se(xr,t,10,11)),t.a).i==0){n.Vg();return}d=u(Ie(t,(ohe(),h4t)),17),d&&d.a!=0?c=new vL(d.a):c=new wV,i=gT(pe(Ie(t,f4t))),h=gT(pe(Ie(t,p4t))),s=u(Ie(t,d4t),107),sun(t,c,i,h,s),n.Vg()},x(cl,"RandomLayoutProvider",1108),C(240,1,{240:1},GU),f.Fb=function(t){return gl(this.a,u(t,240).a)&&gl(this.b,u(t,240).b)&&gl(this.c,u(t,240).c)},f.Hb=function(){return XI(H(F(Ji,1),Bt,1,5,[this.a,this.b,this.c]))},f.Ib=function(){return"("+this.a+Xo+this.b+Xo+this.c+")"},x(cl,"Triple",240);var S4t;C(562,1,{}),f.Lf=function(){return new Me(this.f.i,this.f.j)},f.of=function(t){return iXe(t,(gr(),bu))?Ie(this.f,x4t):Ie(this.f,t)},f.Mf=function(){return new Me(this.f.g,this.f.f)},f.Nf=function(){return this.g},f.pf=function(t){return rd(this.f,t)},f.Of=function(t){oc(this.f,t.a),sc(this.f,t.b)},f.Pf=function(t){ew(this.f,t.a),Zb(this.f,t.b)},f.Qf=function(t){this.g=t},f.g=0;var x4t;x(S9,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),C(563,1,{853:1},cR),f.Rf=function(){var t,n;if(!this.b)for(this.b=gL(QA(this.a).i),n=new hn(QA(this.a));n.e!=n.i.gc();)t=u(mn(n),135),$e(this.b,new kK(t));return this.b},f.b=null,x(S9,"ElkGraphAdapters/ElkEdgeAdapter",563),C(289,562,{},kb),f.Sf=function(){return Qrt(this)},f.a=null,x(S9,"ElkGraphAdapters/ElkGraphAdapter",289),C(640,562,{187:1},kK),x(S9,"ElkGraphAdapters/ElkLabelAdapter",640),C(639,562,{695:1},MU),f.Rf=function(){return VXt(this)},f.Vf=function(){var t;return t=u(Ie(this.f,(gr(),Q8)),140),!t&&(t=new o7),t},f.Xf=function(){return qXt(this)},f.Zf=function(t){var n;n=new VU(t),Br(this.f,(gr(),Q8),n)},f.$f=function(t){Br(this.f,(gr(),kp),new Xce(t))},f.Tf=function(){return this.d},f.Uf=function(){var t,n;if(!this.a)for(this.a=new Le,n=new gn(wn(CP(u(this.f,27)).a.Kc(),new j));$n(n);)t=u(xn(n),74),$e(this.a,new cR(t));return this.a},f.Wf=function(){var t,n;if(!this.c)for(this.c=new Le,n=new gn(wn(b1(u(this.f,27)).a.Kc(),new j));$n(n);)t=u(xn(n),74),$e(this.c,new cR(t));return this.c},f.Yf=function(){return rL(u(this.f,27)).i!=0||qe(Ve(u(this.f,27).of((gr(),aO))))},f._f=function(){TKt(this,(Mb(),S4t))},f.a=null,f.b=null,f.c=null,f.d=null,f.e=null,x(S9,"ElkGraphAdapters/ElkNodeAdapter",639),C(1284,562,{852:1},HNe),f.Rf=function(){return nYt(this)},f.Uf=function(){var t,n;if(!this.a)for(this.a=gh(u(this.f,123).hh().i),n=new hn(u(this.f,123).hh());n.e!=n.i.gc();)t=u(mn(n),74),$e(this.a,new cR(t));return this.a},f.Wf=function(){var t,n;if(!this.c)for(this.c=gh(u(this.f,123).ih().i),n=new hn(u(this.f,123).ih());n.e!=n.i.gc();)t=u(mn(n),74),$e(this.c,new cR(t));return this.c},f.ag=function(){return u(u(this.f,123).of((gr(),J2)),64)},f.bg=function(){var t,n,i,s,c,d,h,b;for(s=Qf(u(this.f,123)),i=new hn(u(this.f,123).ih());i.e!=i.i.gc();)for(t=u(mn(i),74),b=new hn((!t.c&&(t.c=new jt(Tn,t,5,8)),t.c));b.e!=b.i.gc();){if(h=u(mn(b),84),zm(Ds(h),s))return!0;if(Ds(h)==s&&qe(Ve(Ie(t,(gr(),ote)))))return!0}for(n=new hn(u(this.f,123).hh());n.e!=n.i.gc();)for(t=u(mn(n),74),d=new hn((!t.b&&(t.b=new jt(Tn,t,4,7)),t.b));d.e!=d.i.gc();)if(c=u(mn(d),84),zm(Ds(c),s))return!0;return!1},f.a=null,f.b=null,f.c=null,x(S9,"ElkGraphAdapters/ElkPortAdapter",1284),C(1285,1,tr,iRe),f.Ne=function(t,n){return Lin(u(t,123),u(n,123))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(S9,"ElkGraphAdapters/PortComparator",1285);var jg=hi(ma,"EObject"),oC=hi(b2,uht),Yu=hi(b2,aht),xO=hi(b2,fht),EO=hi(b2,"ElkShape"),Tn=hi(b2,dht),Ti=hi(b2,Mwe),ei=hi(b2,hht),TO=hi(ma,pht),Bx=hi(ma,"EFactory"),E4t,kte=hi(ma,ght),Uf=hi(ma,"EPackage"),oo,T4t,I4t,$5e,UB,P4t,j5e,D5e,N5e,Fh,M4t,O4t,ms=hi(b2,Owe),xr=hi(b2,_we),ru=hi(b2,Rwe);C(93,1,bht),f.th=function(){return this.uh(),null},f.uh=function(){return null},f.vh=function(){return this.uh(),!1},f.wh=function(){return!1},f.xh=function(t){_r(this,t)},x(Q4,"BasicNotifierImpl",93),C(99,93,yht),f.Yh=function(){return ku(this)},f.yh=function(t,n){return t},f.zh=function(){throw B(new Xn)},f.Ah=function(t){var n;return n=is(u(Dt(this.Dh(),this.Fh()),19)),this.Ph().Th(this,n.n,n.f,t)},f.Bh=function(t,n){throw B(new Xn)},f.Ch=function(t,n,i){return Hu(this,t,n,i)},f.Dh=function(){var t;return this.zh()&&(t=this.zh().Nk(),t)?t:this.ii()},f.Eh=function(){return wq(this)},f.Fh=function(){throw B(new Xn)},f.Gh=function(){var t,n;return n=this.$h().Ok(),!n&&this.zh().Tk(n=(v7(),t=cae(qd(this.Dh())),t==null?Mte:new KT(this,t))),n},f.Hh=function(t,n){return t},f.Ih=function(t){var n;return n=t.pk(),n?t.Lj():ci(this.Dh(),t)},f.Jh=function(){var t;return t=this.zh(),t?t.Qk():null},f.Kh=function(){return this.zh()?this.zh().Nk():null},f.Lh=function(t,n,i){return R$(this,t,n,i)},f.Mh=function(t){return Qk(this,t)},f.Nh=function(t,n){return nW(this,t,n)},f.Oh=function(){var t;return t=this.zh(),!!t&&t.Rk()},f.Ph=function(){throw B(new Xn)},f.Qh=function(){return E$(this)},f.Rh=function(t,n,i,s){return _4(this,t,n,s)},f.Sh=function(t,n,i){var s;return s=u(Dt(this.Dh(),n),69),s.wk().zk(this,this.hi(),n-this.ji(),t,i)},f.Th=function(t,n,i,s){return lL(this,t,n,s)},f.Uh=function(t,n,i){var s;return s=u(Dt(this.Dh(),n),69),s.wk().Ak(this,this.hi(),n-this.ji(),t,i)},f.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},f.Wh=function(t){return PV(this,t)},f.Xh=function(t){return mXe(this,t)},f.Zh=function(t){return Hut(this,t)},f.$h=function(){throw B(new Xn)},f._h=function(){return this.zh()?this.zh().Pk():null},f.ai=function(){return E$(this)},f.bi=function(t,n){dq(this,t,n)},f.ci=function(t){this.$h().Sk(t)},f.di=function(t){this.$h().Vk(t)},f.ei=function(t){this.$h().Uk(t)},f.fi=function(t,n){var i,s,c,d;return d=this.Jh(),d&&t&&(n=qo(d.El(),this,n),d.Il(this)),s=this.Ph(),s&&(_q(this,this.Ph(),this.Fh()).Bb&es?(c=s.Qh(),c&&(t?!d&&c.Il(this):c.Hl(this))):(n=(i=this.Fh(),i>=0?this.Ah(n):this.Ph().Th(this,-1-i,null,n)),n=this.Ch(null,-1,n))),this.di(t),n},f.gi=function(t){var n,i,s,c,d,h,b,m;if(i=this.Dh(),d=ci(i,t),n=this.ji(),d>=n)return u(t,69).wk().Dk(this,this.hi(),d-n);if(d<=-1)if(h=s2((Nc(),_o),i,t),h){if(rs(),u(h,69).xk()||(h=w4(Ss(_o,h))),c=(s=this.Ih(h),u(s>=0?this.Lh(s,!0,!0):dw(this,h,!0),160)),m=h.Ik(),m>1||m==-1)return u(u(c,220).Sl(t,!1),79)}else throw B(new Qt(vg+t.xe()+dJ));else if(t.Jk())return s=this.Ih(t),u(s>=0?this.Lh(s,!1,!0):dw(this,t,!1),79);return b=new jKe(this,t),b},f.hi=function(){return hfe(this)},f.ii=function(){return(Jp(),Wt).S},f.ji=function(){return Sn(this.ii())},f.ki=function(t){uq(this,t)},f.Ib=function(){return lf(this)},x(Vt,"BasicEObjectImpl",99);var _4t;C(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),f.li=function(t){var n;return n=dfe(this),n[t]},f.mi=function(t,n){var i;i=dfe(this),pi(i,t,n)},f.ni=function(t){var n;n=dfe(this),pi(n,t,null)},f.th=function(){return u(Yt(this,4),129)},f.uh=function(){throw B(new Xn)},f.vh=function(){return(this.Db&4)!=0},f.zh=function(){throw B(new Xn)},f.oi=function(t){M4(this,2,t)},f.Bh=function(t,n){this.Db=n<<16|this.Db&255,this.oi(t)},f.Dh=function(){return mc(this)},f.Fh=function(){return this.Db>>16},f.Gh=function(){var t,n;return v7(),n=cae(qd((t=u(Yt(this,16),29),t||this.ii()))),n==null?Mte:new KT(this,n)},f.wh=function(){return(this.Db&1)==0},f.Jh=function(){return u(Yt(this,128),2034)},f.Kh=function(){return u(Yt(this,16),29)},f.Oh=function(){return(this.Db&32)!=0},f.Ph=function(){return u(Yt(this,2),54)},f.Vh=function(){return(this.Db&64)!=0},f.$h=function(){throw B(new Xn)},f._h=function(){return u(Yt(this,64),288)},f.ci=function(t){M4(this,16,t)},f.di=function(t){M4(this,128,t)},f.ei=function(t){M4(this,64,t)},f.hi=function(){return lc(this)},f.Db=0,x(Vt,"MinimalEObjectImpl",119),C(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.oi=function(t){this.Cb=t},f.Ph=function(){return this.Cb},x(Vt,"MinimalEObjectImpl/Container",120),C(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return Phe(this,t,n,i)},f.Uh=function(t,n,i){return w1e(this,t,n,i)},f.Wh=function(t){return Cae(this,t)},f.bi=function(t,n){hde(this,t,n)},f.ii=function(){return Cl(),O4t},f.ki=function(t){nde(this,t)},f.nf=function(){return mrt(this)},f.gh=function(){return!this.o&&(this.o=new jc((Cl(),Fh),Sp,this,0)),this.o},f.of=function(t){return Ie(this,t)},f.pf=function(t){return rd(this,t)},f.qf=function(t,n){return Br(this,t,n)},x(F0,"EMapPropertyHolderImpl",2083),C(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},J_),f.Lh=function(t,n,i){switch(t){case 0:return this.a;case 1:return this.b}return R$(this,t,n,i)},f.Wh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return PV(this,t)},f.bi=function(t,n){switch(t){case 0:HL(this,le(pe(n)));return;case 1:zL(this,le(pe(n)));return}dq(this,t,n)},f.ii=function(){return Cl(),T4t},f.ki=function(t){switch(t){case 0:HL(this,0);return;case 1:zL(this,0);return}uq(this,t)},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Ma(lf(this)),t.a+=" (x: ",vy(t,this.a),t.a+=", y: ",vy(t,this.b),t.a+=")",t.a)},f.a=0,f.b=0,x(F0,"ElkBendPointImpl",572),C(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return jde(this,t,n,i)},f.Sh=function(t,n,i){return nq(this,t,n,i)},f.Uh=function(t,n,i){return BW(this,t,n,i)},f.Wh=function(t){return Yfe(this,t)},f.bi=function(t,n){Vhe(this,t,n)},f.ii=function(){return Cl(),P4t},f.ki=function(t){Ide(this,t)},f.jh=function(){return this.k},f.kh=function(){return QA(this)},f.Ib=function(){return fV(this)},f.k=null,x(F0,"ElkGraphElementImpl",739),C(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return Ude(this,t,n,i)},f.Wh=function(t){return Yde(this,t)},f.bi=function(t,n){qhe(this,t,n)},f.ii=function(){return Cl(),M4t},f.ki=function(t){rhe(this,t)},f.lh=function(){return this.f},f.mh=function(){return this.g},f.nh=function(){return this.i},f.oh=function(){return this.j},f.ph=function(t,n){My(this,t,n)},f.qh=function(t,n){ta(this,t,n)},f.rh=function(t){oc(this,t)},f.sh=function(t){sc(this,t)},f.Ib=function(){return lq(this)},f.f=0,f.g=0,f.i=0,f.j=0,x(F0,"ElkShapeImpl",740),C(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,n,i){return khe(this,t,n,i)},f.Sh=function(t,n,i){return zhe(this,t,n,i)},f.Uh=function(t,n,i){return Hhe(this,t,n,i)},f.Wh=function(t){return dde(this,t)},f.bi=function(t,n){tpe(this,t,n)},f.ii=function(){return Cl(),I4t},f.ki=function(t){bhe(this,t)},f.hh=function(){return!this.d&&(this.d=new jt(Ti,this,8,5)),this.d},f.ih=function(){return!this.e&&(this.e=new jt(Ti,this,7,4)),this.e},x(F0,"ElkConnectableShapeImpl",741),C(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},WH),f.Ah=function(t){return Dhe(this,t)},f.Lh=function(t,n,i){switch(t){case 3:return hI(this);case 4:return!this.b&&(this.b=new jt(Tn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new jt(Tn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),this.a;case 7:return Gt(),!this.b&&(this.b=new jt(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new jt(Tn,this,5,8)),this.c.i<=1));case 8:return Gt(),!!US(this);case 9:return Gt(),!!fw(this);case 10:return Gt(),!this.b&&(this.b=new jt(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new jt(Tn,this,5,8)),this.c.i!=0)}return jde(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 3:return this.Cb&&(i=(s=this.Db>>16,s>=0?Dhe(this,i):this.Cb.Th(this,-1-s,null,i))),mce(this,u(t,27),i);case 4:return!this.b&&(this.b=new jt(Tn,this,4,7)),Yl(this.b,t,i);case 5:return!this.c&&(this.c=new jt(Tn,this,5,8)),Yl(this.c,t,i);case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),Yl(this.a,t,i)}return nq(this,t,n,i)},f.Uh=function(t,n,i){switch(n){case 3:return mce(this,null,i);case 4:return!this.b&&(this.b=new jt(Tn,this,4,7)),qo(this.b,t,i);case 5:return!this.c&&(this.c=new jt(Tn,this,5,8)),qo(this.c,t,i);case 6:return!this.a&&(this.a=new Se(ei,this,6,6)),qo(this.a,t,i)}return BW(this,t,n,i)},f.Wh=function(t){switch(t){case 3:return!!hI(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 jt(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new jt(Tn,this,5,8)),this.c.i<=1));case 8:return US(this);case 9:return fw(this);case 10:return!this.b&&(this.b=new jt(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new jt(Tn,this,5,8)),this.c.i!=0)}return Yfe(this,t)},f.bi=function(t,n){switch(t){case 3:rj(this,u(n,27));return;case 4:!this.b&&(this.b=new jt(Tn,this,4,7)),jn(this.b),!this.b&&(this.b=new jt(Tn,this,4,7)),mi(this.b,u(n,16));return;case 5:!this.c&&(this.c=new jt(Tn,this,5,8)),jn(this.c),!this.c&&(this.c=new jt(Tn,this,5,8)),mi(this.c,u(n,16));return;case 6:!this.a&&(this.a=new Se(ei,this,6,6)),jn(this.a),!this.a&&(this.a=new Se(ei,this,6,6)),mi(this.a,u(n,16));return}Vhe(this,t,n)},f.ii=function(){return Cl(),$5e},f.ki=function(t){switch(t){case 3:rj(this,null);return;case 4:!this.b&&(this.b=new jt(Tn,this,4,7)),jn(this.b);return;case 5:!this.c&&(this.c=new jt(Tn,this,5,8)),jn(this.c);return;case 6:!this.a&&(this.a=new Se(ei,this,6,6)),jn(this.a);return}Ide(this,t)},f.Ib=function(){return sut(this)},x(F0,"ElkEdgeImpl",326),C(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Q_),f.Ah=function(t){return Ahe(this,t)},f.Lh=function(t,n,i){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 Ai(Yu,this,5)),this.a;case 6:return pXe(this);case 7:return n?AV(this):this.i;case 8:return n?RV(this):this.f;case 9:return!this.g&&(this.g=new jt(ei,this,9,10)),this.g;case 10:return!this.e&&(this.e=new jt(ei,this,10,9)),this.e;case 11:return this.d}return Phe(this,t,n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Ahe(this,i):this.Cb.Th(this,-1-c,null,i))),wce(this,u(t,74),i);case 9:return!this.g&&(this.g=new jt(ei,this,9,10)),Yl(this.g,t,i);case 10:return!this.e&&(this.e=new jt(ei,this,10,9)),Yl(this.e,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Cl(),UB)),n),69),d.wk().zk(this,lc(this),n-Sn((Cl(),UB)),t,i)},f.Uh=function(t,n,i){switch(n){case 5:return!this.a&&(this.a=new Ai(Yu,this,5)),qo(this.a,t,i);case 6:return wce(this,null,i);case 9:return!this.g&&(this.g=new jt(ei,this,9,10)),qo(this.g,t,i);case 10:return!this.e&&(this.e=new jt(ei,this,10,9)),qo(this.e,t,i)}return w1e(this,t,n,i)},f.Wh=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!!pXe(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 Cae(this,t)},f.bi=function(t,n){switch(t){case 1:i5(this,le(pe(n)));return;case 2:s5(this,le(pe(n)));return;case 3:r5(this,le(pe(n)));return;case 4:o5(this,le(pe(n)));return;case 5:!this.a&&(this.a=new Ai(Yu,this,5)),jn(this.a),!this.a&&(this.a=new Ai(Yu,this,5)),mi(this.a,u(n,16));return;case 6:olt(this,u(n,74));return;case 7:XL(this,u(n,84));return;case 8:qL(this,u(n,84));return;case 9:!this.g&&(this.g=new jt(ei,this,9,10)),jn(this.g),!this.g&&(this.g=new jt(ei,this,9,10)),mi(this.g,u(n,16));return;case 10:!this.e&&(this.e=new jt(ei,this,10,9)),jn(this.e),!this.e&&(this.e=new jt(ei,this,10,9)),mi(this.e,u(n,16));return;case 11:Nfe(this,Jn(n));return}hde(this,t,n)},f.ii=function(){return Cl(),UB},f.ki=function(t){switch(t){case 1:i5(this,0);return;case 2:s5(this,0);return;case 3:r5(this,0);return;case 4:o5(this,0);return;case 5:!this.a&&(this.a=new Ai(Yu,this,5)),jn(this.a);return;case 6:olt(this,null);return;case 7:XL(this,null);return;case 8:qL(this,null);return;case 9:!this.g&&(this.g=new jt(ei,this,9,10)),jn(this.g);return;case 10:!this.e&&(this.e=new jt(ei,this,10,9)),jn(this.e);return;case 11:Nfe(this,null);return}nde(this,t)},f.Ib=function(){return vst(this)},f.b=0,f.c=0,f.d=null,f.j=0,f.k=0,x(F0,"ElkEdgeSectionImpl",452),C(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Lh=function(t,n,i){var s;return t==0?(!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab):ca(this,t-Sn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c;return n==0?(!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i)):(c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().zk(this,lc(this),n-Sn(this.ii()),t,i))},f.Uh=function(t,n,i){var s,c;return n==0?(!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i)):(c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Sn(this.ii()),t,i))},f.Wh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:sa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.Zh=function(t){return dge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return}da(this,t-Sn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.di=function(t){M4(this,128,t)},f.ii=function(){return Mt(),X4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return}fa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){this.Bb|=1},f.qi=function(t){return JS(this,t)},f.Bb=0,x(Vt,"EModelElementImpl",158),C(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},poe),f.ri=function(t,n){return $ut(this,t,n)},f.si=function(t){var n,i,s,c,d;if(this.a!=ju(t)||t.Bb&256)throw B(new Qt(pJ+t.zb+xw));for(s=Ls(t);Pl(s.a).i!=0;){if(i=u(LP(s,0,(n=u(re(Pl(s.a),0),89),d=n.c,te(d,90)?u(d,29):(Mt(),Va))),29),aw(i))return c=ju(i).wi().si(i),u(c,54).ci(t),c;s=Ls(i)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new YWe(t):new sue(t)},f.ti=function(t,n){return bw(this,t,n)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.a}return ca(this,t-Sn((Mt(),Fg)),Dt((s=u(Yt(this,16),29),s||Fg),t),n,i)},f.Sh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 1:return this.a&&(i=u(this.a,54).Th(this,4,Uf,i)),Tde(this,u(t,241),i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Fg)),n),69),c.wk().zk(this,lc(this),n-Sn((Mt(),Fg)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 1:return Tde(this,null,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Fg)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Fg)),t,i)},f.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return sa(this,t-Sn((Mt(),Fg)),Dt((n=u(Yt(this,16),29),n||Fg),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:not(this,u(n,241));return}da(this,t-Sn((Mt(),Fg)),Dt((i=u(Yt(this,16),29),i||Fg),t),n)},f.ii=function(){return Mt(),Fg},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:not(this,null);return}fa(this,t-Sn((Mt(),Fg)),Dt((n=u(Yt(this,16),29),n||Fg),t))};var Fx,B5e,R4t;x(Vt,"EFactoryImpl",720),C(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},hRe),f.ri=function(t,n){switch(t.hk()){case 12:return u(n,149).Pg();case 13:return Us(n);default:throw B(new Qt(w8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d,h,b,m;switch(t.G==-1&&(t.G=(n=ju(t),n?sp(n.vi(),t):-1)),t.G){case 4:return d=new coe,d;case 6:return h=new s7,h;case 7:return b=new cse,b;case 8:return s=new WH,s;case 9:return i=new J_,i;case 10:return c=new Q_,c;case 11:return m=new pRe,m;default:throw B(new Qt(pJ+t.zb+xw))}},f.ti=function(t,n){switch(t.hk()){case 13:case 12:return null;default:throw B(new Qt(w8+t.xe()+xw))}},x(F0,"ElkGraphFactoryImpl",1037),C(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Gh=function(){var t,n;return n=(t=u(Yt(this,16),29),cae(qd(t||this.ii()))),n==null?(v7(),v7(),Mte):new vGe(this,n)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.xe()}return ca(this,t-Sn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return sa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:this.ui(Jn(n));return}da(this,t-Sn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Mt(),Y4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:this.ui(null);return}fa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.xe=function(){return this.zb},f.ui=function(t){Xl(this,t)},f.Ib=function(){return ES(this)},f.zb=null,x(Vt,"ENamedElementImpl",448),C(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Wqe),f.Ah=function(t){return hit(this,t)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,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 _m(this,Gf,this)),this.rb;case 6:return!this.vb&&(this.vb=new i4(Uf,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?u(this.Cb,241):null:kXe(this)}return ca(this,t-Sn((Mt(),Ip)),Dt((s=u(Yt(this,16),29),s||Ip),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 4:return this.sb&&(i=u(this.sb,54).Th(this,1,Bx,i)),Mde(this,u(t,480),i);case 5:return!this.rb&&(this.rb=new _m(this,Gf,this)),Yl(this.rb,t,i);case 6:return!this.vb&&(this.vb=new i4(Uf,this,6,7)),Yl(this.vb,t,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?hit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,7,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ip)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Ip)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 4:return Mde(this,null,i);case 5:return!this.rb&&(this.rb=new _m(this,Gf,this)),qo(this.rb,t,i);case 6:return!this.vb&&(this.vb=new i4(Uf,this,6,7)),qo(this.vb,t,i);case 7:return Hu(this,null,7,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ip)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Ip)),t,i)},f.Wh=function(t){var n;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!!kXe(this)}return sa(this,t-Sn((Mt(),Ip)),Dt((n=u(Yt(this,16),29),n||Ip),t))},f.Zh=function(t){var n;return n=Xnn(this,t),n||dge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:t$(this,Jn(n));return;case 3:e$(this,Jn(n));return;case 4:sq(this,u(n,480));return;case 5:!this.rb&&(this.rb=new _m(this,Gf,this)),jn(this.rb),!this.rb&&(this.rb=new _m(this,Gf,this)),mi(this.rb,u(n,16));return;case 6:!this.vb&&(this.vb=new i4(Uf,this,6,7)),jn(this.vb),!this.vb&&(this.vb=new i4(Uf,this,6,7)),mi(this.vb,u(n,16));return}da(this,t-Sn((Mt(),Ip)),Dt((i=u(Yt(this,16),29),i||Ip),t),n)},f.ei=function(t){var n,i;if(t&&this.rb)for(i=new hn(this.rb);i.e!=i.i.gc();)n=mn(i),te(n,364)&&(u(n,364).w=null);M4(this,64,t)},f.ii=function(){return Mt(),Ip},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:Xl(this,null);return;case 2:t$(this,null);return;case 3:e$(this,null);return;case 4:sq(this,null);return;case 5:!this.rb&&(this.rb=new _m(this,Gf,this)),jn(this.rb);return;case 6:!this.vb&&(this.vb=new i4(Uf,this,6,7)),jn(this.vb);return}fa(this,t-Sn((Mt(),Ip)),Dt((n=u(Yt(this,16),29),n||Ip),t))},f.pi=function(){WV(this)},f.vi=function(){return!this.rb&&(this.rb=new _m(this,Gf,this)),this.rb},f.wi=function(){return this.sb},f.xi=function(){return this.ub},f.yi=function(){return this.xb},f.zi=function(){return this.yb},f.Ai=function(t){this.ub=t},f.Ib=function(){var t;return this.Db&64?ES(this):(t=new Ma(ES(this)),t.a+=" (nsURI: ",ps(t,this.yb),t.a+=", nsPrefix: ",ps(t,this.xb),t.a+=")",t.a)},f.xb=null,f.yb=null,x(Vt,"EPackageImpl",184),C(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Pst),f.q=!1,f.r=!1;var A4t=!1;x(F0,"ElkGraphPackageImpl",569),C(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},coe),f.Ah=function(t){return Lhe(this,t)},f.Lh=function(t,n,i){switch(t){case 7:return CXe(this);case 8:return this.a}return Ude(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 7:return this.Cb&&(i=(s=this.Db>>16,s>=0?Lhe(this,i):this.Cb.Th(this,-1-s,null,i))),kue(this,u(t,167),i)}return nq(this,t,n,i)},f.Uh=function(t,n,i){return n==7?kue(this,null,i):BW(this,t,n,i)},f.Wh=function(t){switch(t){case 7:return!!CXe(this);case 8:return!Et("",this.a)}return Yde(this,t)},f.bi=function(t,n){switch(t){case 7:ppe(this,u(n,167));return;case 8:Afe(this,Jn(n));return}qhe(this,t,n)},f.ii=function(){return Cl(),j5e},f.ki=function(t){switch(t){case 7:ppe(this,null);return;case 8:Afe(this,"");return}rhe(this,t)},f.Ib=function(){return bot(this)},f.a="",x(F0,"ElkLabelImpl",366),C(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},s7),f.Ah=function(t){return Nhe(this,t)},f.Lh=function(t,n,i){switch(t){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),this.c;case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),this.a;case 11:return ri(this);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),this.b;case 13:return Gt(),!this.a&&(this.a=new Se(xr,this,10,11)),this.a.i>0}return khe(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),Yl(this.c,t,i);case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),Yl(this.a,t,i);case 11:return this.Cb&&(i=(s=this.Db>>16,s>=0?Nhe(this,i):this.Cb.Th(this,-1-s,null,i))),Pce(this,u(t,27),i);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),Yl(this.b,t,i)}return zhe(this,t,n,i)},f.Uh=function(t,n,i){switch(n){case 9:return!this.c&&(this.c=new Se(ru,this,9,9)),qo(this.c,t,i);case 10:return!this.a&&(this.a=new Se(xr,this,10,11)),qo(this.a,t,i);case 11:return Pce(this,null,i);case 12:return!this.b&&(this.b=new Se(Ti,this,12,3)),qo(this.b,t,i)}return Hhe(this,t,n,i)},f.Wh=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!!ri(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new Se(xr,this,10,11)),this.a.i>0}return dde(this,t)},f.bi=function(t,n){switch(t){case 9:!this.c&&(this.c=new Se(ru,this,9,9)),jn(this.c),!this.c&&(this.c=new Se(ru,this,9,9)),mi(this.c,u(n,16));return;case 10:!this.a&&(this.a=new Se(xr,this,10,11)),jn(this.a),!this.a&&(this.a=new Se(xr,this,10,11)),mi(this.a,u(n,16));return;case 11:ij(this,u(n,27));return;case 12:!this.b&&(this.b=new Se(Ti,this,12,3)),jn(this.b),!this.b&&(this.b=new Se(Ti,this,12,3)),mi(this.b,u(n,16));return}tpe(this,t,n)},f.ii=function(){return Cl(),D5e},f.ki=function(t){switch(t){case 9:!this.c&&(this.c=new Se(ru,this,9,9)),jn(this.c);return;case 10:!this.a&&(this.a=new Se(xr,this,10,11)),jn(this.a);return;case 11:ij(this,null);return;case 12:!this.b&&(this.b=new Se(Ti,this,12,3)),jn(this.b);return}bhe(this,t)},f.Ib=function(){return Ope(this)},x(F0,"ElkNodeImpl",207),C(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},cse),f.Ah=function(t){return $he(this,t)},f.Lh=function(t,n,i){return t==9?Qf(this):khe(this,t,n,i)},f.Sh=function(t,n,i){var s;switch(n){case 9:return this.Cb&&(i=(s=this.Db>>16,s>=0?$he(this,i):this.Cb.Th(this,-1-s,null,i))),vce(this,u(t,27),i)}return zhe(this,t,n,i)},f.Uh=function(t,n,i){return n==9?vce(this,null,i):Hhe(this,t,n,i)},f.Wh=function(t){return t==9?!!Qf(this):dde(this,t)},f.bi=function(t,n){switch(t){case 9:ape(this,u(n,27));return}tpe(this,t,n)},f.ii=function(){return Cl(),N5e},f.ki=function(t){switch(t){case 9:ape(this,null);return}bhe(this,t)},f.Ib=function(){return ict(this)},x(F0,"ElkPortImpl",193);var L4t=hi(Yo,"BasicEMap/Entry");C(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},pRe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.Hb=function(){return $b(this)},f.Di=function(t){Lfe(this,u(t,149))},f.Lh=function(t,n,i){switch(t){case 0:return this.b;case 1:return this.c}return R$(this,t,n,i)},f.Wh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return PV(this,t)},f.bi=function(t,n){switch(t){case 0:Lfe(this,u(n,149));return;case 1:Rfe(this,n);return}dq(this,t,n)},f.ii=function(){return Cl(),Fh},f.ki=function(t){switch(t){case 0:Lfe(this,null);return;case 1:Rfe(this,null);return}uq(this,t)},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Vr(t):0),this.a},f.md=function(){return this.c},f.Ci=function(t){this.a=t},f.nd=function(t){var n;return n=this.c,Rfe(this,t),n},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Hp,lr(lr(lr(t,this.b?this.b.Pg():Cc),lY),B7(this.c)),t.a)},f.a=-1,f.c=null;var Sp=x(F0,"ElkPropertyToValueMapEntryImpl",1122);C(996,1,{},wRe),x(Mo,"JsonAdapter",996),C(216,63,m1,Ld),x(Mo,"JsonImportException",216),C(868,1,{},pit),x(Mo,"JsonImporter",868),C(903,1,{},vKe),x(Mo,"JsonImporter/lambda$0$Type",903),C(904,1,{},yKe),x(Mo,"JsonImporter/lambda$1$Type",904),C(912,1,{},KNe),x(Mo,"JsonImporter/lambda$10$Type",912),C(914,1,{},kKe),x(Mo,"JsonImporter/lambda$11$Type",914),C(915,1,{},CKe),x(Mo,"JsonImporter/lambda$12$Type",915),C(921,1,{},Lqe),x(Mo,"JsonImporter/lambda$13$Type",921),C(920,1,{},$qe),x(Mo,"JsonImporter/lambda$14$Type",920),C(916,1,{},SKe),x(Mo,"JsonImporter/lambda$15$Type",916),C(917,1,{},xKe),x(Mo,"JsonImporter/lambda$16$Type",917),C(918,1,{},EKe),x(Mo,"JsonImporter/lambda$17$Type",918),C(919,1,{},TKe),x(Mo,"JsonImporter/lambda$18$Type",919),C(924,1,{},UNe),x(Mo,"JsonImporter/lambda$19$Type",924),C(905,1,{},GNe),x(Mo,"JsonImporter/lambda$2$Type",905),C(922,1,{},WNe),x(Mo,"JsonImporter/lambda$20$Type",922),C(923,1,{},VNe),x(Mo,"JsonImporter/lambda$21$Type",923),C(927,1,{},qNe),x(Mo,"JsonImporter/lambda$22$Type",927),C(925,1,{},XNe),x(Mo,"JsonImporter/lambda$23$Type",925),C(926,1,{},YNe),x(Mo,"JsonImporter/lambda$24$Type",926),C(929,1,{},JNe),x(Mo,"JsonImporter/lambda$25$Type",929),C(928,1,{},QNe),x(Mo,"JsonImporter/lambda$26$Type",928),C(930,1,bn,IKe),f.Cd=function(t){uKt(this.b,this.a,Jn(t))},x(Mo,"JsonImporter/lambda$27$Type",930),C(931,1,bn,PKe),f.Cd=function(t){aKt(this.b,this.a,Jn(t))},x(Mo,"JsonImporter/lambda$28$Type",931),C(932,1,{},MKe),x(Mo,"JsonImporter/lambda$29$Type",932),C(908,1,{},ZNe),x(Mo,"JsonImporter/lambda$3$Type",908),C(933,1,{},OKe),x(Mo,"JsonImporter/lambda$30$Type",933),C(934,1,{},eBe),x(Mo,"JsonImporter/lambda$31$Type",934),C(935,1,{},tBe),x(Mo,"JsonImporter/lambda$32$Type",935),C(936,1,{},nBe),x(Mo,"JsonImporter/lambda$33$Type",936),C(937,1,{},rBe),x(Mo,"JsonImporter/lambda$34$Type",937),C(870,1,{},iBe),x(Mo,"JsonImporter/lambda$35$Type",870),C(941,1,{},xWe),x(Mo,"JsonImporter/lambda$36$Type",941),C(938,1,bn,oBe),f.Cd=function(t){gHt(this.a,u(t,377))},x(Mo,"JsonImporter/lambda$37$Type",938),C(939,1,bn,_Ke),f.Cd=function(t){Y_t(this.a,this.b,u(t,166))},x(Mo,"JsonImporter/lambda$38$Type",939),C(940,1,bn,RKe),f.Cd=function(t){J_t(this.a,this.b,u(t,166))},x(Mo,"JsonImporter/lambda$39$Type",940),C(906,1,{},sBe),x(Mo,"JsonImporter/lambda$4$Type",906),C(942,1,bn,lBe),f.Cd=function(t){bHt(this.a,u(t,8))},x(Mo,"JsonImporter/lambda$40$Type",942),C(907,1,{},cBe),x(Mo,"JsonImporter/lambda$5$Type",907),C(911,1,{},uBe),x(Mo,"JsonImporter/lambda$6$Type",911),C(909,1,{},aBe),x(Mo,"JsonImporter/lambda$7$Type",909),C(910,1,{},fBe),x(Mo,"JsonImporter/lambda$8$Type",910),C(913,1,{},dBe),x(Mo,"JsonImporter/lambda$9$Type",913),C(961,1,bn,hBe),f.Cd=function(t){d4(this.a,new Rm(Jn(t)))},x(Mo,"JsonMetaDataConverter/lambda$0$Type",961),C(962,1,bn,pBe),f.Cd=function(t){lNt(this.a,u(t,245))},x(Mo,"JsonMetaDataConverter/lambda$1$Type",962),C(963,1,bn,gBe),f.Cd=function(t){sFt(this.a,u(t,143))},x(Mo,"JsonMetaDataConverter/lambda$2$Type",963),C(964,1,bn,bBe),f.Cd=function(t){cNt(this.a,u(t,170))},x(Mo,"JsonMetaDataConverter/lambda$3$Type",964),C(245,22,{3:1,34:1,22:1,245:1},Q3);var GB,WB,Cte,VB,qB,XB,Ste,xte,YB=An(XP,"GraphFeature",245,Nn,GKt,Ljt),$4t;C(11,1,{34:1,149:1},Fr,fi,St,go),f.Fd=function(t){return nAt(this,u(t,149))},f.Fb=function(t){return iXe(this,t)},f.Sg=function(){return Ke(this)},f.Pg=function(){return this.b},f.Hb=function(){return Z1(this.b)},f.Ib=function(){return this.b},x(XP,"Property",11),C(671,1,tr,sK),f.Ne=function(t,n){return dVt(this,u(t,96),u(n,96))},f.Fb=function(t){return this===t},f.Oe=function(){return new Wn(this)},x(XP,"PropertyHolderComparator",671),C(709,1,co,Koe),f.Nb=function(t){To(this,t)},f.Pb=function(){return hKt(this)},f.Qb=function(){dze()},f.Ob=function(){return!!this.a},x(wD,"ElkGraphUtil/AncestorIterator",709);var F5e=hi(Yo,"EList");C(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),f.bd=function(t,n){IS(this,t,n)},f.Fc=function(t){return Dn(this,t)},f.cd=function(t,n){return rde(this,t,n)},f.Gc=function(t){return mi(this,t)},f.Ii=function(){return new r4(this)},f.Ji=function(){return new UT(this)},f.Ki=function(t){return jI(this,t)},f.Li=function(){return!0},f.Mi=function(t,n){},f.Ni=function(){},f.Oi=function(t,n){sW(this,t,n)},f.Pi=function(t,n,i){},f.Qi=function(t,n){},f.Ri=function(t,n,i){},f.Fb=function(t){return Hlt(this,t)},f.Hb=function(){return Zfe(this)},f.Si=function(){return!1},f.Kc=function(){return new hn(this)},f.ed=function(){return new n4(this)},f.fd=function(t){var n;if(n=this.gc(),t<0||t>n)throw B(new Mm(t,n));return new fG(this,t)},f.Ui=function(t,n){this.Ti(t,this.dd(n))},f.Mc=function(t){return LL(this,t)},f.Wi=function(t,n){return n},f.hd=function(t,n){return qy(this,t,n)},f.Ib=function(){return Vde(this)},f.Yi=function(){return!0},f.Zi=function(t,n){return y5(this,n)},x(Yo,"AbstractEList",70),C(66,70,ih,Z_,Qb,Vfe),f.Ei=function(t,n){return rq(this,t,n)},f.Fi=function(t){return Brt(this,t)},f.Gi=function(t,n){JI(this,t,n)},f.Hi=function(t){yI(this,t)},f.$i=function(t){return lfe(this,t)},f.$b=function(){uS(this)},f.Hc=function(t){return j5(this,t)},f.Xb=function(t){return re(this,t)},f._i=function(t){var n,i,s;++this.j,i=this.g==null?0:this.g.length,t>i&&(s=this.g,n=i+(i/2|0)+4,n=0?(this.gd(n),!0):!1},f.Xi=function(t,n){return this.Dj(t,this.Zi(t,n))},f.gc=function(){return this.Ej()},f.Pc=function(){return this.Fj()},f.Qc=function(t){return this.Gj(t)},f.Ib=function(){return this.Hj()},x(Yo,"DelegatingEList",2093),C(2094,2093,i1t),f.Ei=function(t,n){return Hpe(this,t,n)},f.Fi=function(t){return this.Ei(this.Ej(),t)},f.Gi=function(t,n){Mst(this,t,n)},f.Hi=function(t){wst(this,t)},f.Li=function(){return!this.Mj()},f.$b=function(){r9(this)},f.Ij=function(t,n,i,s,c){return new rXe(this,t,n,i,s,c)},f.Jj=function(t){_r(this.jj(),t)},f.Kj=function(){return null},f.Lj=function(){return-1},f.jj=function(){return null},f.Mj=function(){return!1},f.Nj=function(t,n){return n},f.Oj=function(t,n){return n},f.Pj=function(){return!1},f.Qj=function(){return!this.Aj()},f.Ti=function(t,n){var i,s;return this.Pj()?(s=this.Qj(),i=p1e(this,t,n),this.Jj(this.Ij(7,Ae(n),i,t,s)),i):p1e(this,t,n)},f.gd=function(t){var n,i,s,c;return this.Pj()?(i=null,s=this.Qj(),n=this.Ij(4,c=RA(this,t),null,t,s),this.Mj()&&c?(i=this.Oj(c,i),i?(i.nj(n),i.oj()):this.Jj(n)):i?(i.nj(n),i.oj()):this.Jj(n),c):(c=RA(this,t),this.Mj()&&c&&(i=this.Oj(c,null),i&&i.oj()),c)},f.Xi=function(t,n){return jct(this,t,n)},x(Q4,"DelegatingNotifyingListImpl",2094),C(152,1,dM),f.nj=function(t){return Zhe(this,t)},f.oj=function(){pW(this)},f.gj=function(){return this.d},f.Kj=function(){return null},f.Rj=function(){return null},f.hj=function(t){return-1},f.ij=function(){return Slt(this)},f.jj=function(){return null},f.kj=function(){return vpe(this)},f.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},f.Sj=function(){return!1},f.mj=function(t){var n,i,s,c,d,h,b,m,v,k,T;switch(this.d){case 1:case 2:switch(c=t.gj(),c){case 1:case 2:if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0}case 4:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null))return v=oge(this),m=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,h=t.lj(),this.d=6,T=new Qb(2),m<=h?(Dn(T,this.n),Dn(T,t.kj()),this.g=H(F(Bn,1),ur,28,15,[this.o=m,h+1])):(Dn(T,t.kj()),Dn(T,this.n),this.g=H(F(Bn,1),ur,28,15,[this.o=h,m])),this.n=T,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.jj())&&this.hj(null)==t.hj(null)){for(v=oge(this),h=t.lj(),k=u(this.g,53),s=be(Bn,ur,28,k.length+1,15,1),n=0;n>>0,n.toString(16))),s.a+=" (eventType: ",this.d){case 1:{s.a+="SET";break}case 2:{s.a+="UNSET";break}case 3:{s.a+="ADD";break}case 5:{s.a+="ADD_MANY";break}case 4:{s.a+="REMOVE";break}case 6:{s.a+="REMOVE_MANY";break}case 7:{s.a+="MOVE";break}case 8:{s.a+="REMOVING_ADAPTER";break}case 9:{s.a+="RESOLVE";break}default:{OK(s,this.d);break}}if(act(this)&&(s.a+=", touch: true"),s.a+=", position: ",OK(s,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),s.a+=", notifier: ",A7(s,this.jj()),s.a+=", feature: ",A7(s,this.Kj()),s.a+=", oldValue: ",A7(s,vpe(this)),s.a+=", newValue: ",this.d==6&&te(this.g,53)){for(i=u(this.g,53),s.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new G7(this),this.a=this.j),Mf(this.b,t)):j5(this,t)},f.Yi=function(){return!0},f.a=0,x(Yo,"AbstractEList/1",966),C(302,77,_X,Mm),x(Yo,"AbstractEList/BasicIndexOutOfBoundsException",302),C(37,1,co,hn),f.Nb=function(t){To(this,t)},f.Xj=function(){if(this.i.j!=this.f)throw B(new ea)},f.Yj=function(){return mn(this)},f.Ob=function(){return this.e!=this.i.gc()},f.Pb=function(){return this.Yj()},f.Qb=function(){BS(this)},f.e=0,f.f=0,f.g=-1,x(Yo,"AbstractEList/EIterator",37),C(286,37,Eh,n4,fG),f.Qb=function(){BS(this)},f.Rb=function(t){Dnt(this,t)},f.Zj=function(){var t;try{return t=this.d.Xb(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.$j=function(t){Hrt(this,t)},f.Sb=function(){return this.e!=0},f.Tb=function(){return this.e},f.Ub=function(){return this.Zj()},f.Vb=function(){return this.e-1},f.Wb=function(t){this.$j(t)},x(Yo,"AbstractEList/EListIterator",286),C(355,37,co,r4),f.Yj=function(){return MV(this)},f.Qb=function(){throw B(new Xn)},x(Yo,"AbstractEList/NonResolvingEIterator",355),C(398,286,Eh,UT,$ce),f.Rb=function(t){throw B(new Xn)},f.Yj=function(){var t;try{return t=this.c.Vi(this.e),this.Xj(),this.g=this.e++,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.Zj=function(){var t;try{return t=this.c.Vi(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=li(n),te(n,77)?(this.Xj(),B(new qs)):B(n)}},f.Qb=function(){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(Yo,"AbstractEList/NonResolvingEListIterator",398),C(2080,70,o1t),f.Ei=function(t,n){var i,s,c,d,h,b,m,v,k,T,P;if(c=n.gc(),c!=0){for(v=u(Yt(this.a,4),129),k=v==null?0:v.length,P=k+c,s=QW(this,P),T=k-t,T>0&&Ol(v,t,s,t+c,T),m=n.Kc(),h=0;hi)throw B(new Mm(t,i));return new Eqe(this,t)},f.$b=function(){var t,n;++this.j,t=u(Yt(this.a,4),129),n=t==null?0:t.length,R5(this,null),sW(this,n,t)},f.Hc=function(t){var n,i,s,c,d;if(n=u(Yt(this.a,4),129),n!=null){if(t!=null){for(s=n,c=0,d=s.length;c=i)throw B(new Mm(t,i));return n[t]},f.dd=function(t){var n,i,s;if(n=u(Yt(this.a,4),129),n!=null){if(t!=null){for(i=0,s=n.length;ii)throw B(new Mm(t,i));return new xqe(this,t)},f.Ti=function(t,n){var i,s,c;if(i=Vnt(this),c=i==null?0:i.length,t>=c)throw B(new ys(SJ+t+z0+c));if(n>=c)throw B(new ys(xJ+n+z0+c));return s=i[n],t!=n&&(t0&&Ol(t,0,n,0,i),n},f.Qc=function(t){var n,i,s;return n=u(Yt(this.a,4),129),s=n==null?0:n.length,s>0&&(t.lengths&&pi(t,s,null),t};var j4t;x(Yo,"ArrayDelegatingEList",2080),C(1051,37,co,TJe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},f.Qb=function(){BS(this),this.a=u(Yt(this.b.a,4),129)},x(Yo,"ArrayDelegatingEList/EIterator",1051),C(722,286,Eh,NVe,xqe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},f.$j=function(t){Hrt(this,t),this.a=u(Yt(this.b.a,4),129)},f.Qb=function(){BS(this),this.a=u(Yt(this.b.a,4),129)},x(Yo,"ArrayDelegatingEList/EListIterator",722),C(1052,355,co,IJe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},x(Yo,"ArrayDelegatingEList/NonResolvingEIterator",1052),C(723,398,Eh,BVe,Eqe),f.Xj=function(){if(this.b.j!=this.f||fe(u(Yt(this.b.a,4),129))!==fe(this.a))throw B(new ea)},x(Yo,"ArrayDelegatingEList/NonResolvingEListIterator",723),C(615,302,_X,bU),x(Yo,"BasicEList/BasicIndexOutOfBoundsException",615),C(710,66,ih,Sle),f.bd=function(t,n){throw B(new Xn)},f.Fc=function(t){throw B(new Xn)},f.cd=function(t,n){throw B(new Xn)},f.Gc=function(t){throw B(new Xn)},f.$b=function(){throw B(new Xn)},f._i=function(t){throw B(new Xn)},f.Kc=function(){return this.Ii()},f.ed=function(){return this.Ji()},f.fd=function(t){return this.Ki(t)},f.Ti=function(t,n){throw B(new Xn)},f.Ui=function(t,n){throw B(new Xn)},f.gd=function(t){throw B(new Xn)},f.Mc=function(t){throw B(new Xn)},f.hd=function(t,n){throw B(new Xn)},x(Yo,"BasicEList/UnmodifiableEList",710),C(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),f.bd=function(t,n){URt(this,t,u(n,44))},f.Fc=function(t){return DAt(this,u(t,44))},f.Jc=function(t){Po(this,t)},f.Xb=function(t){return u(re(this.c,t),136)},f.Ti=function(t,n){return u(this.c.Ti(t,n),44)},f.Ui=function(t,n){GRt(this,t,u(n,44))},f.Lc=function(){return new xt(null,new Pt(this,16))},f.gd=function(t){return u(this.c.gd(t),44)},f.hd=function(t,n){return sNt(this,t,u(n,44))},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Pt(this,16)},f.Oc=function(){return new xt(null,new Pt(this,16))},f.cd=function(t,n){return this.c.cd(t,n)},f.Gc=function(t){return this.c.Gc(t)},f.$b=function(){this.c.$b()},f.Hc=function(t){return this.c.Hc(t)},f.Ic=function(t){return HI(this.c,t)},f._j=function(){var t,n,i;if(this.d==null){for(this.d=be(z5e,Ywe,66,2*this.f+1,0,1),i=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=u(n.Yj(),136),j$(this,t);this.e=i}},f.Fb=function(t){return dWe(this,t)},f.Hb=function(){return Zfe(this.c)},f.dd=function(t){return this.c.dd(t)},f.ak=function(){this.c=new wBe(this)},f.dc=function(){return this.f==0},f.Kc=function(){return this.c.Kc()},f.ed=function(){return this.c.ed()},f.fd=function(t){return this.c.fd(t)},f.bk=function(){return SI(this)},f.ck=function(t,n,i){return new EWe(t,n,i)},f.dk=function(){return new kRe},f.Mc=function(t){return QZe(this,t)},f.gc=function(){return this.f},f.kd=function(t,n){return new V1(this.c,t,n)},f.Pc=function(){return this.c.Pc()},f.Qc=function(t){return this.c.Qc(t)},f.Ib=function(){return Vde(this.c)},f.e=0,f.f=0,x(Yo,"BasicEMap",721),C(1046,66,ih,wBe),f.Mi=function(t,n){COt(this,u(n,136))},f.Pi=function(t,n,i){var s;++(s=this,u(n,136),s).a.e},f.Qi=function(t,n){SOt(this,u(n,136))},f.Ri=function(t,n,i){CAt(this,u(n,136),u(i,136))},f.Oi=function(t,n){Vet(this.a)},x(Yo,"BasicEMap/1",1046),C(1047,66,ih,kRe),f.aj=function(t){return be(afn,s1t,621,t,0,1)},x(Yo,"BasicEMap/2",1047),C(1048,ad,Bc,mBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return vV(this.a,t)},f.Kc=function(){return this.a.f==0?(Lk(),MO.a):new eze(this.a)},f.Mc=function(t){var n;return n=this.a.f,x$(this.a,t),this.a.f!=n},f.gc=function(){return this.a.f},x(Yo,"BasicEMap/3",1048),C(1049,31,sv,vBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return Klt(this.a,t)},f.Kc=function(){return this.a.f==0?(Lk(),MO.a):new tze(this.a)},f.gc=function(){return this.a.f},x(Yo,"BasicEMap/4",1049),C(1050,ad,Bc,yBe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){var n,i,s,c,d,h,b,m,v;if(this.a.f>0&&te(t,44)&&(this.a._j(),m=u(t,44),b=m.ld(),c=b==null?0:Vr(b),d=yce(this.a,c),n=this.a.d[d],n)){for(i=u(n.g,379),v=n.i,h=0;h"+this.c},f.a=0;var afn=x(Yo,"BasicEMap/EntryImpl",621);C(546,1,{},eR),x(Yo,"BasicEMap/View",546);var MO;C(783,1,{}),f.Fb=function(t){return npe((Ot(),Jo),t)},f.Hb=function(){return fde((Ot(),Jo))},f.Ib=function(){return ag((Ot(),Jo))},x(Yo,"ECollections/BasicEmptyUnmodifiableEList",783),C(1348,1,Eh,CRe),f.Nb=function(t){To(this,t)},f.Rb=function(t){throw B(new Xn)},f.Ob=function(){return!1},f.Sb=function(){return!1},f.Pb=function(){throw B(new qs)},f.Tb=function(){return 0},f.Ub=function(){throw B(new qs)},f.Vb=function(){return-1},f.Qb=function(){throw B(new Xn)},f.Wb=function(t){throw B(new Xn)},x(Yo,"ECollections/BasicEmptyUnmodifiableEList/1",1348),C(1346,783,{20:1,16:1,15:1,61:1},aFe),f.bd=function(t,n){Eze()},f.Fc=function(t){return Tze()},f.cd=function(t,n){return Ize()},f.Gc=function(t){return Pze()},f.$b=function(){Mze()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){Po(this,t)},f.Xb=function(t){return Tle((Ot(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,n){return Oze()},f.Ui=function(t,n){_ze()},f.Lc=function(){return new xt(null,new Pt(this,16))},f.gd=function(t){return Rze()},f.Mc=function(t){return Aze()},f.hd=function(t,n){return Lze()},f.gc=function(){return 0},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Pt(this,16)},f.Oc=function(){return new xt(null,new Pt(this,16))},f.kd=function(t,n){return Ot(),new V1(Jo,t,n)},f.Pc=function(){return Sue((Ot(),Jo))},f.Qc=function(t){return Ot(),$S(Jo,t)},x(Yo,"ECollections/EmptyUnmodifiableEList",1346),C(1347,783,{20:1,16:1,15:1,61:1,597:1},fFe),f.bd=function(t,n){Eze()},f.Fc=function(t){return Tze()},f.cd=function(t,n){return Ize()},f.Gc=function(t){return Pze()},f.$b=function(){Mze()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){Po(this,t)},f.Xb=function(t){return Tle((Ot(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,n){return Oze()},f.Ui=function(t,n){_ze()},f.Lc=function(){return new xt(null,new Pt(this,16))},f.gd=function(t){return Rze()},f.Mc=function(t){return Aze()},f.hd=function(t,n){return Lze()},f.gc=function(){return 0},f.jd=function(t){k0(this,t)},f.Nc=function(){return new Pt(this,16)},f.Oc=function(){return new xt(null,new Pt(this,16))},f.kd=function(t,n){return Ot(),new V1(Jo,t,n)},f.Pc=function(){return Sue((Ot(),Jo))},f.Qc=function(t){return Ot(),$S(Jo,t)},f.bk=function(){return Ot(),Ot(),Rh},x(Yo,"ECollections/EmptyUnmodifiableEMap",1347);var K5e=hi(Yo,"Enumerator"),JB;C(288,1,{288:1},Tq),f.Fb=function(t){var n;return this===t?!0:te(t,288)?(n=u(t,288),this.f==n.f&&CDt(this.i,n.i)&&ZU(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&ZU(this.d,n.d)&&ZU(this.g,n.g)&&ZU(this.e,n.e)&&Wqt(this,n)):!1},f.Hb=function(){return this.f},f.Ib=function(){return Cct(this)},f.f=0;var D4t=0,N4t=0,B4t=0,F4t=0,U5e=0,G5e=0,W5e=0,V5e=0,q5e=0,z4t,zx=0,Hx=0,H4t=0,K4t=0,QB,X5e;x(Yo,"URI",288),C(1121,45,u2,dFe),f.zc=function(t,n){return u(Cs(this,Jn(t),u(n,288)),288)},x(Yo,"URI/URICache",1121),C(506,66,ih,bRe,NA),f.Si=function(){return!0},x(Yo,"UniqueEList",506),C(590,63,m1,_L),x(Yo,"WrappedException",590);var hr=hi(ma,u1t),Hv=hi(ma,a1t),Tc=hi(ma,f1t),Kv=hi(ma,d1t),Gf=hi(ma,h1t),Ua=hi(ma,"EClass"),Ite=hi(ma,"EDataType"),U4t;C(1233,45,u2,hFe),f.xc=function(t){return lo(t)?$l(this,t):Rs(ss(this.f,t))},x(ma,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var ZB=hi(ma,"EEnum"),I1=hi(ma,p1t),hs=hi(ma,g1t),Ga=hi(ma,b1t),Wa,Gw=hi(ma,w1t),Uv=hi(ma,m1t);C(1042,1,{},gRe),f.Ib=function(){return"NIL"},x(ma,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var G4t;C(1041,45,u2,pFe),f.xc=function(t){return lo(t)?$l(this,t):Rs(ss(this.f,t))},x(ma,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var hc=hi(ma,v1t),k6=hi(ma,"EValidator/PatternMatcher"),Y5e,J5e,Wt,xp,Gv,Ng,W4t,V4t,q4t,Bg,Ep,Fg,Ww,Sd,X4t,Y4t,Va,Tp,J4t,Ip,Wv,Z2,ns,Q4t,Z4t,Vw,eF=hi(ni,"FeatureMap/Entry");C(545,1,{76:1},tA),f.Lk=function(){return this.a},f.md=function(){return this.b},x(Vt,"BasicEObjectImpl/1",545),C(1040,1,OJ,jKe),f.Fk=function(t){return nW(this.a,this.b,t)},f.Qj=function(){return mXe(this.a,this.b)},f.Wb=function(t){fae(this.a,this.b,t)},f.Gk=function(){vNt(this.a,this.b)},x(Vt,"BasicEObjectImpl/4",1040),C(2081,1,{114:1}),f.Mk=function(t){this.e=t==0?e6t:be(Ji,Bt,1,t,5,1)},f.li=function(t){return this.e[t]},f.mi=function(t,n){this.e[t]=n},f.ni=function(t){this.e[t]=null},f.Nk=function(){return this.c},f.Ok=function(){throw B(new Xn)},f.Pk=function(){throw B(new Xn)},f.Qk=function(){return this.d},f.Rk=function(){return this.e!=null},f.Sk=function(t){this.c=t},f.Tk=function(t){throw B(new Xn)},f.Uk=function(t){throw B(new Xn)},f.Vk=function(t){this.d=t};var e6t;x(Vt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),C(192,2081,{114:1},If),f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},x(Vt,"BasicEObjectImpl/EPropertiesHolderImpl",192),C(516,99,yht,tR),f.uh=function(){return this.f},f.zh=function(){return this.k},f.Bh=function(t,n){this.g=t,this.i=n},f.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},f.Fh=function(){return this.i},f.wh=function(){return(this.j&1)!=0},f.Ph=function(){return this.g},f.Vh=function(){return(this.j&4)!=0},f.$h=function(){return!this.k&&(this.k=new If),this.k},f.ci=function(t){this.$h().Sk(t),t?this.j|=2:this.j&=-3},f.ei=function(t){this.$h().Uk(t),t?this.j|=4:this.j&=-5},f.ii=function(){return(Jp(),Wt).S},f.i=0,f.j=1,x(Vt,"EObjectImpl",516),C(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},sue),f.li=function(t){return this.e[t]},f.mi=function(t,n){this.e[t]=n},f.ni=function(t){this.e[t]=null},f.Dh=function(){return this.d},f.Ih=function(t){return ci(this.d,t)},f.Kh=function(){return this.d},f.Oh=function(){return this.e!=null},f.$h=function(){return!this.k&&(this.k=new SRe),this.k},f.ci=function(t){this.d=t},f.hi=function(){var t;return this.e==null&&(t=Sn(this.d),this.e=t==0?t6t:be(Ji,Bt,1,t,5,1)),this},f.ji=function(){return 0};var t6t;x(Vt,"DynamicEObjectImpl",798),C(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},YWe),f.Fb=function(t){return this===t},f.Hb=function(){return $b(this)},f.ci=function(t){this.d=t,this.b=xP(t,"key"),this.c=xP(t,T9)},f.Bi=function(){var t;return this.a==-1&&(t=gW(this,this.b),this.a=t==null?0:Vr(t)),this.a},f.ld=function(){return gW(this,this.b)},f.md=function(){return gW(this,this.c)},f.Ci=function(t){this.a=t},f.Di=function(t){fae(this,this.b,t)},f.nd=function(t){var n;return n=gW(this,this.c),fae(this,this.c,t),n},f.a=0,x(Vt,"DynamicEObjectImpl/BasicEMapEntry",1522),C(1523,1,{114:1},SRe),f.Mk=function(t){throw B(new Xn)},f.li=function(t){throw B(new Xn)},f.mi=function(t,n){throw B(new Xn)},f.ni=function(t){throw B(new Xn)},f.Nk=function(){throw B(new Xn)},f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Qk=function(){return this.c},f.Rk=function(){throw B(new Xn)},f.Sk=function(t){throw B(new Xn)},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},f.Vk=function(t){this.c=t},x(Vt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),C(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},uoe),f.Ah=function(t){return jhe(this,t)},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Su((Mt(),ns),dl,this)),this.b):(!this.b&&(this.b=new Su((Mt(),ns),dl,this)),SI(this.b));case 3:return SXe(this);case 4:return!this.a&&(this.a=new Ai(jg,this,4)),this.a;case 5:return!this.c&&(this.c=new Ry(jg,this,5)),this.c}return ca(this,t-Sn((Mt(),xp)),Dt((s=u(Yt(this,16),29),s||xp),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?jhe(this,i):this.Cb.Th(this,-1-c,null,i))),Cue(this,u(t,155),i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),xp)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),xp)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 2:return!this.b&&(this.b=new Su((Mt(),ns),dl,this)),yA(this.b,t,i);case 3:return Cue(this,null,i);case 4:return!this.a&&(this.a=new Ai(jg,this,4)),qo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),xp)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),xp)),t,i)},f.Wh=function(t){var n;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!!SXe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return sa(this,t-Sn((Mt(),xp)),Dt((n=u(Yt(this,16),29),n||xp),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:uDt(this,Jn(n));return;case 2:!this.b&&(this.b=new Su((Mt(),ns),dl,this)),n$(this.b,n);return;case 3:alt(this,u(n,155));return;case 4:!this.a&&(this.a=new Ai(jg,this,4)),jn(this.a),!this.a&&(this.a=new Ai(jg,this,4)),mi(this.a,u(n,16));return;case 5:!this.c&&(this.c=new Ry(jg,this,5)),jn(this.c),!this.c&&(this.c=new Ry(jg,this,5)),mi(this.c,u(n,16));return}da(this,t-Sn((Mt(),xp)),Dt((i=u(Yt(this,16),29),i||xp),t),n)},f.ii=function(){return Mt(),xp},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:Dfe(this,null);return;case 2:!this.b&&(this.b=new Su((Mt(),ns),dl,this)),this.b.c.$b();return;case 3:alt(this,null);return;case 4:!this.a&&(this.a=new Ai(jg,this,4)),jn(this.a);return;case 5:!this.c&&(this.c=new Ry(jg,this,5)),jn(this.c);return}fa(this,t-Sn((Mt(),xp)),Dt((n=u(Yt(this,16),29),n||xp),t))},f.Ib=function(){return pnt(this)},f.d=null,x(Vt,"EAnnotationImpl",519),C(141,721,Jwe,jc),f.Gi=function(t,n){IRt(this,t,u(n,44))},f.Wk=function(t,n){return MLt(this,u(t,44),n)},f.$i=function(t){return u(u(this.c,71).$i(t),136)},f.Ii=function(){return u(this.c,71).Ii()},f.Ji=function(){return u(this.c,71).Ji()},f.Ki=function(t){return u(this.c,71).Ki(t)},f.Xk=function(t,n){return yA(this,t,n)},f.Fk=function(t){return u(this.c,79).Fk(t)},f.ak=function(){},f.Qj=function(){return u(this.c,79).Qj()},f.ck=function(t,n,i){var s;return s=u(ju(this.b).wi().si(this.b),136),s.Ci(t),s.Di(n),s.nd(i),s},f.dk=function(){return new Goe(this)},f.Wb=function(t){n$(this,t)},f.Gk=function(){u(this.c,79).Gk()},x(ni,"EcoreEMap",141),C(165,141,Jwe,Su),f._j=function(){var t,n,i,s,c,d;if(this.d==null){for(d=be(z5e,Ywe,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)n=u(i.Yj(),136),s=n.Bi(),c=(s&Mr)%d.length,t=d[c],!t&&(t=d[c]=new Goe(this)),t.Fc(n);this.d=d}},x(Vt,"EAnnotationImpl/1",165),C(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!this.Jk();case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q}return ca(this,t-Sn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 9:return pG(this,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Sn(this.ii()),t,i)},f.Wh=function(t){var n,i;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.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0)}return sa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:this.ui(Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:this.Zk(u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return}da(this,t-Sn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Mt(),Z4t},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:this.ui(null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.Zk(1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return}fa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){Aa(this),this.Bb|=1},f.Hk=function(){return Aa(this)},f.Ik=function(){return this.t},f.Jk=function(){var t;return t=this.t,t>1||t==-1},f.Si=function(){return(this.Bb&512)!=0},f.Yk=function(t,n){return Ode(this,t,n)},f.Zk=function(t){Hm(this,t)},f.Ib=function(){return V1e(this)},f.s=0,f.t=1,x(Vt,"ETypedElementImpl",292),C(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),f.Ah=function(t){return rit(this,t)},f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!this.Jk();case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&gv);case 12:return Gt(),!!(this.Bb&cv);case 13:return this.j;case 14:return H5(this);case 15:return Gt(),!!(this.Bb&zc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return Lm(this)}return ca(this,t-Sn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?rit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,17,i)}return d=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),d.wk().zk(this,lc(this),n-Sn(this.ii()),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 9:return pG(this,i);case 17:return Hu(this,null,17,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Sn(this.ii()),t,i)},f.Wh=function(t){var n,i;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.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&gv)!=0;case 12:return(this.Bb&cv)!=0;case 13:return this.j!=null;case 14:return H5(this)!=null;case 15:return(this.Bb&zc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!Lm(this)}return sa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:zG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:this.Zk(u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:E5(this,qe(Ve(n)));return;case 11:P5(this,qe(Ve(n)));return;case 12:T5(this,qe(Ve(n)));return;case 13:Cle(this,Jn(n));return;case 15:I5(this,qe(Ve(n)));return;case 16:M5(this,qe(Ve(n)));return}da(this,t-Sn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Mt(),Q4t},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,90)&&Zm(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.Zk(1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:E5(this,!0);return;case 11:P5(this,!1);return;case 12:T5(this,!1);return;case 13:this.i=null,YL(this,null);return;case 15:I5(this,!1);return;case 16:M5(this,!1);return}fa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.pi=function(){Gk(Ss((Nc(),_o),this)),Aa(this),this.Bb|=1},f.pk=function(){return this.f},f.ik=function(){return H5(this)},f.qk=function(){return Lm(this)},f.uk=function(){return null},f.$k=function(){return this.k},f.Lj=function(){return this.n},f.vk=function(){return U$(this)},f.wk=function(){var t,n,i,s,c,d,h,b,m;return this.p||(i=Lm(this),(i.i==null&&qd(i),i.i).length,s=this.uk(),s&&Sn(Lm(s)),c=Aa(this),h=c.kk(),t=h?h.i&1?h==wu?xi:h==Bn?Oo:h==qv?x8:h==uo?Bi:h==Hg?Tw:h==r3?Iw:h==Kc?Z4:D9:h:null,n=H5(this),b=c.ik(),SVt(this),this.Bb&Xd&&((d=Khe((Nc(),_o),i))&&d!=this||(d=w4(Ss(_o,this))))?this.p=new NKe(this,d):this.Jk()?this.al()?s?this.Bb&zc?t?this.bl()?this.p=new p0(47,t,this,s):this.p=new p0(5,t,this,s):this.bl()?this.p=new v0(46,this,s):this.p=new v0(4,this,s):t?this.bl()?this.p=new p0(49,t,this,s):this.p=new p0(7,t,this,s):this.bl()?this.p=new v0(48,this,s):this.p=new v0(6,this,s):this.Bb&zc?t?t==U0?this.p=new U1(50,L4t,this):this.bl()?this.p=new U1(43,t,this):this.p=new U1(1,t,this):this.bl()?this.p=new W1(42,this):this.p=new W1(0,this):t?t==U0?this.p=new U1(41,L4t,this):this.bl()?this.p=new U1(45,t,this):this.p=new U1(3,t,this):this.bl()?this.p=new W1(44,this):this.p=new W1(2,this):te(c,156)?t==eF?this.p=new W1(40,this):this.Bb&512?this.Bb&zc?t?this.p=new U1(9,t,this):this.p=new W1(8,this):t?this.p=new U1(11,t,this):this.p=new W1(10,this):this.Bb&zc?t?this.p=new U1(13,t,this):this.p=new W1(12,this):t?this.p=new U1(15,t,this):this.p=new W1(14,this):s?(m=s.t,m>1||m==-1?this.bl()?this.Bb&zc?t?this.p=new p0(25,t,this,s):this.p=new v0(24,this,s):t?this.p=new p0(27,t,this,s):this.p=new v0(26,this,s):this.Bb&zc?t?this.p=new p0(29,t,this,s):this.p=new v0(28,this,s):t?this.p=new p0(31,t,this,s):this.p=new v0(30,this,s):this.bl()?this.Bb&zc?t?this.p=new p0(33,t,this,s):this.p=new v0(32,this,s):t?this.p=new p0(35,t,this,s):this.p=new v0(34,this,s):this.Bb&zc?t?this.p=new p0(37,t,this,s):this.p=new v0(36,this,s):t?this.p=new p0(39,t,this,s):this.p=new v0(38,this,s)):this.bl()?this.Bb&zc?t?this.p=new U1(17,t,this):this.p=new W1(16,this):t?this.p=new U1(19,t,this):this.p=new W1(18,this):this.Bb&zc?t?this.p=new U1(21,t,this):this.p=new W1(20,this):t?this.p=new U1(23,t,this):this.p=new W1(22,this):this._k()?this.bl()?this.p=new TWe(u(c,29),this,s):this.p=new uae(u(c,29),this,s):te(c,156)?t==eF?this.p=new W1(40,this):this.Bb&zc?t?this.p=new EVe(n,b,this,(yV(),h==Bn?i8e:h==wu?Z5e:h==Hg?o8e:h==qv?r8e:h==uo?n8e:h==r3?s8e:h==Kc?e8e:h==Ea?t8e:Ote)):this.p=new Nqe(u(c,156),n,b,this):t?this.p=new xVe(n,b,this,(yV(),h==Bn?i8e:h==wu?Z5e:h==Hg?o8e:h==qv?r8e:h==uo?n8e:h==r3?s8e:h==Kc?e8e:h==Ea?t8e:Ote)):this.p=new Dqe(u(c,156),n,b,this):this.al()?s?this.Bb&zc?this.bl()?this.p=new PWe(u(c,29),this,s):this.p=new qce(u(c,29),this,s):this.bl()?this.p=new IWe(u(c,29),this,s):this.p=new WU(u(c,29),this,s):this.Bb&zc?this.bl()?this.p=new xGe(u(c,29),this):this.p=new cce(u(c,29),this):this.bl()?this.p=new SGe(u(c,29),this):this.p=new AU(u(c,29),this):this.bl()?s?this.Bb&zc?this.p=new MWe(u(c,29),this,s):this.p=new Wce(u(c,29),this,s):this.Bb&zc?this.p=new EGe(u(c,29),this):this.p=new uce(u(c,29),this):s?this.Bb&zc?this.p=new OWe(u(c,29),this,s):this.p=new Vce(u(c,29),this,s):this.Bb&zc?this.p=new TGe(u(c,29),this):this.p=new DA(u(c,29),this)),this.p},f.rk=function(){return(this.Bb&af)!=0},f._k=function(){return!1},f.al=function(){return!1},f.sk=function(){return(this.Bb&Xd)!=0},f.xk=function(){return bW(this)},f.bl=function(){return!1},f.tk=function(){return(this.Bb&zc)!=0},f.cl=function(t){this.k=t},f.ui=function(t){zG(this,t)},f.Ib=function(){return fj(this)},f.e=!1,f.n=0,x(Vt,"EStructuralFeatureImpl",462),C(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},hK),f.Lh=function(t,n,i){var s,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),!!z1e(this);case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&gv);case 12:return Gt(),!!(this.Bb&cv);case 13:return this.j;case 14:return H5(this);case 15:return Gt(),!!(this.Bb&zc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return Lm(this);case 18:return Gt(),!!(this.Bb&wl);case 19:return n?FW(this):zJe(this)}return ca(this,t-Sn((Mt(),Gv)),Dt((s=u(Yt(this,16),29),s||Gv),t),n,i)},f.Wh=function(t){var n,i;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 z1e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&gv)!=0;case 12:return(this.Bb&cv)!=0;case 13:return this.j!=null;case 14:return H5(this)!=null;case 15:return(this.Bb&zc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!Lm(this);case 18:return(this.Bb&wl)!=0;case 19:return!!zJe(this)}return sa(this,t-Sn((Mt(),Gv)),Dt((n=u(Yt(this,16),29),n||Gv),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:zG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:ize(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:E5(this,qe(Ve(n)));return;case 11:P5(this,qe(Ve(n)));return;case 12:T5(this,qe(Ve(n)));return;case 13:Cle(this,Jn(n));return;case 15:I5(this,qe(Ve(n)));return;case 16:M5(this,qe(Ve(n)));return;case 18:dV(this,qe(Ve(n)));return}da(this,t-Sn((Mt(),Gv)),Dt((i=u(Yt(this,16),29),i||Gv),t),n)},f.ii=function(){return Mt(),Gv},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,90)&&Zm(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:this.b=0,Hm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:E5(this,!0);return;case 11:P5(this,!1);return;case 12:T5(this,!1);return;case 13:this.i=null,YL(this,null);return;case 15:I5(this,!1);return;case 16:M5(this,!1);return;case 18:dV(this,!1);return}fa(this,t-Sn((Mt(),Gv)),Dt((n=u(Yt(this,16),29),n||Gv),t))},f.pi=function(){FW(this),Gk(Ss((Nc(),_o),this)),Aa(this),this.Bb|=1},f.Jk=function(){return z1e(this)},f.Yk=function(t,n){return this.b=0,this.a=null,Ode(this,t,n)},f.Zk=function(t){ize(this,t)},f.Ib=function(){var t;return this.Db&64?fj(this):(t=new Ma(fj(this)),t.a+=" (iD: ",F1(t,(this.Bb&wl)!=0),t.a+=")",t.a)},f.b=0,x(Vt,"EAttributeImpl",331),C(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),f.dl=function(t){return t.Dh()==this},f.Ah=function(t){return GV(this,t)},f.Bh=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return this.ik();case 5:return this.F;case 6:return n?ju(this):qk(this);case 7:return!this.A&&(this.A=new Rc(hc,this,7)),this.A}return ca(this,t-Sn(this.ii()),Dt((s=u(Yt(this,16),29),s||this.ii()),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?GV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i)}return d=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),d.wk().zk(this,lc(this),n-Sn(this.ii()),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new Rc(hc,this,7)),qo(this.A,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||this.ii()),n),69),c.wk().Ak(this,lc(this),n-Sn(this.ii()),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!qk(this);case 7:return!!this.A&&this.A.i!=0}return sa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:dL(this,Jn(n));return;case 2:vU(this,Jn(n));return;case 5:X5(this,Jn(n));return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A),!this.A&&(this.A=new Rc(hc,this,7)),mi(this.A,u(n,16));return}da(this,t-Sn(this.ii()),Dt((i=u(Yt(this,16),29),i||this.ii()),t),n)},f.ii=function(){return Mt(),W4t},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:C5(this,null),l5(this,this.D);return;case 5:X5(this,null);return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A);return}fa(this,t-Sn(this.ii()),Dt((n=u(Yt(this,16),29),n||this.ii()),t))},f.hk=function(){var t;return this.G==-1&&(this.G=(t=ju(this),t?sp(t.vi(),this):-1)),this.G},f.ik=function(){return null},f.jk=function(){return ju(this)},f.el=function(){return this.v},f.kk=function(){return aw(this)},f.lk=function(){return this.D!=null?this.D:this.B},f.mk=function(){return this.F},f.fk=function(t){return $q(this,t)},f.fl=function(t){this.v=t},f.gl=function(t){Iet(this,t)},f.hl=function(t){this.C=t},f.ui=function(t){dL(this,t)},f.Ib=function(){return y$(this)},f.C=null,f.D=null,f.G=-1,x(Vt,"EClassifierImpl",364),C(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},hoe),f.dl=function(t){return dLt(this,t.Dh())},f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return null;case 5:return this.F;case 6:return n?ju(this):qk(this);case 7:return!this.A&&(this.A=new Rc(hc,this,7)),this.A;case 8:return Gt(),!!(this.Bb&256);case 9:return Gt(),!!(this.Bb&512);case 10:return Ls(this);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),this.q;case 12:return o2(this);case 13:return e9(this);case 14:return e9(this),this.r;case 15:return o2(this),this.k;case 16:return O1e(this);case 17:return Bq(this);case 18:return qd(this);case 19:return nj(this);case 20:return o2(this),this.o;case 21:return!this.s&&(this.s=new Se(Tc,this,21,17)),this.s;case 22:return Pl(this);case 23:return Eq(this)}return ca(this,t-Sn((Mt(),Ng)),Dt((s=u(Yt(this,16),29),s||Ng),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?GV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),Yl(this.q,t,i);case 21:return!this.s&&(this.s=new Se(Tc,this,21,17)),Yl(this.s,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ng)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Ng)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new Rc(hc,this,7)),qo(this.A,t,i);case 11:return!this.q&&(this.q=new Se(Ga,this,11,10)),qo(this.q,t,i);case 21:return!this.s&&(this.s=new Se(Tc,this,21,17)),qo(this.s,t,i);case 22:return qo(Pl(this),t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ng)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Ng)),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!qk(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&&Pl(this.u.a).i!=0&&!(this.n&&LV(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return o2(this).i!=0;case 13:return e9(this).i!=0;case 14:return e9(this),this.r.i!=0;case 15:return o2(this),this.k.i!=0;case 16:return O1e(this).i!=0;case 17:return Bq(this).i!=0;case 18:return qd(this).i!=0;case 19:return nj(this).i!=0;case 20:return o2(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&LV(this.n);case 23:return Eq(this).i!=0}return sa(this,t-Sn((Mt(),Ng)),Dt((n=u(Yt(this,16),29),n||Ng),t))},f.Zh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:xP(this,t),n||dge(this,t)},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:dL(this,Jn(n));return;case 2:vU(this,Jn(n));return;case 5:X5(this,Jn(n));return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A),!this.A&&(this.A=new Rc(hc,this,7)),mi(this.A,u(n,16));return;case 8:_de(this,qe(Ve(n)));return;case 9:Rde(this,qe(Ve(n)));return;case 10:r9(Ls(this)),mi(Ls(this),u(n,16));return;case 11:!this.q&&(this.q=new Se(Ga,this,11,10)),jn(this.q),!this.q&&(this.q=new Se(Ga,this,11,10)),mi(this.q,u(n,16));return;case 21:!this.s&&(this.s=new Se(Tc,this,21,17)),jn(this.s),!this.s&&(this.s=new Se(Tc,this,21,17)),mi(this.s,u(n,16));return;case 22:jn(Pl(this)),mi(Pl(this),u(n,16));return}da(this,t-Sn((Mt(),Ng)),Dt((i=u(Yt(this,16),29),i||Ng),t),n)},f.ii=function(){return Mt(),Ng},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:C5(this,null),l5(this,this.D);return;case 5:X5(this,null);return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A);return;case 8:_de(this,!1);return;case 9:Rde(this,!1);return;case 10:this.u&&r9(this.u);return;case 11:!this.q&&(this.q=new Se(Ga,this,11,10)),jn(this.q);return;case 21:!this.s&&(this.s=new Se(Tc,this,21,17)),jn(this.s);return;case 22:this.n&&jn(this.n);return}fa(this,t-Sn((Mt(),Ng)),Dt((n=u(Yt(this,16),29),n||Ng),t))},f.pi=function(){var t,n;if(o2(this),e9(this),O1e(this),Bq(this),qd(this),nj(this),Eq(this),uS(Njt(cu(this))),this.s)for(t=0,n=this.s.i;t=0;--n)re(this,n);return nhe(this,t)},f.Gk=function(){jn(this)},f.Zi=function(t,n){return VZe(this,t,n)},x(ni,"EcoreEList",632),C(505,632,Gs,nI),f.Li=function(){return!1},f.Lj=function(){return this.c},f.Mj=function(){return!1},f.ol=function(){return!0},f.Si=function(){return!0},f.Wi=function(t,n){return n},f.Yi=function(){return!1},f.c=0,x(ni,"EObjectEList",505),C(83,505,Gs,Ai),f.Mj=function(){return!0},f.ml=function(){return!1},f.al=function(){return!0},x(ni,"EObjectContainmentEList",83),C(555,83,Gs,fA),f.Ni=function(){this.b=!0},f.Qj=function(){return this.b},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.b,this.b=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.b=!1},f.b=!1,x(ni,"EObjectContainmentEList/Unsettable",555),C(1161,555,Gs,CVe),f.Ti=function(t,n){var i,s;return i=u(PS(this,t,n),89),ku(this.e)&&mk(this,new xI(this.a,7,(Mt(),V4t),Ae(n),(s=i.c,te(s,90)?u(s,29):Va),t)),i},f.Uj=function(t,n){return oqt(this,u(t,89),n)},f.Vj=function(t,n){return iqt(this,u(t,89),n)},f.Wj=function(t,n,i){return cJt(this,u(t,89),u(n,89),i)},f.Ij=function(t,n,i,s,c){switch(t){case 3:return rS(this,t,n,i,s,this.i>1);case 5:return rS(this,t,n,i,s,this.i-u(i,15).gc()>0);default:return new l1(this.e,t,this.c,n,i,s,!0)}},f.Tj=function(){return!0},f.Qj=function(){return LV(this)},f.Gk=function(){jn(this)},x(Vt,"EClassImpl/1",1161),C(1175,1174,Xwe),f.dj=function(t){var n,i,s,c,d,h,b;if(i=t.gj(),i!=8){if(s=Fqt(t),s==0)switch(i){case 1:case 9:{b=t.kj(),b!=null&&(n=cu(u(b,482)),!n.c&&(n.c=new fk),LL(n.c,t.jj())),h=t.ij(),h!=null&&(c=u(h,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new fk),Dn(n.c,u(t.jj(),29))));break}case 3:{h=t.ij(),h!=null&&(c=u(h,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new fk),Dn(n.c,u(t.jj(),29))));break}case 5:{if(h=t.ij(),h!=null)for(d=u(h,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new fk),Dn(n.c,u(t.jj(),29)));break}case 4:{b=t.kj(),b!=null&&(c=u(b,482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new fk),LL(n.c,t.jj())));break}case 6:{if(b=t.kj(),b!=null)for(d=u(b,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(n=cu(c),!n.c&&(n.c=new fk),LL(n.c,t.jj()));break}}this.ql(s)}},f.ql=function(t){Ylt(this,t)},f.b=63,x(Vt,"ESuperAdapter",1175),C(1176,1175,Xwe,CBe),f.ql=function(t){Zm(this,t)},x(Vt,"EClassImpl/10",1176),C(1165,710,Gs),f.Ei=function(t,n){return rq(this,t,n)},f.Fi=function(t){return Brt(this,t)},f.Gi=function(t,n){JI(this,t,n)},f.Hi=function(t){yI(this,t)},f.$i=function(t){return lfe(this,t)},f.Xi=function(t,n){return wW(this,t,n)},f.Wk=function(t,n){throw B(new Xn)},f.Ii=function(){return new r4(this)},f.Ji=function(){return new UT(this)},f.Ki=function(t){return jI(this,t)},f.Xk=function(t,n){throw B(new Xn)},f.Fk=function(t){return this},f.Qj=function(){return this.i!=0},f.Wb=function(t){throw B(new Xn)},f.Gk=function(){throw B(new Xn)},x(ni,"EcoreEList/UnmodifiableEList",1165),C(328,1165,Gs,Ty),f.Yi=function(){return!1},x(ni,"EcoreEList/UnmodifiableEList/FastCompare",328),C(1168,328,Gs,ytt),f.dd=function(t){var n,i,s;if(te(t,179)&&(n=u(t,179),i=n.Lj(),i!=-1)){for(s=this.i;i4)if(this.fk(t)){if(this.al()){if(s=u(t,54),i=s.Eh(),b=i==this.b&&(this.ml()?s.yh(s.Fh(),u(Dt(mc(this.b),this.Lj()).Hk(),29).kk())==is(u(Dt(mc(this.b),this.Lj()),19)).n:-1-s.Fh()==this.Lj()),this.nl()&&!b&&!i&&s.Jh()){for(c=0;c1||s==-1)):!1},f.ml=function(){var t,n,i;return n=Dt(mc(this.b),this.Lj()),te(n,102)?(t=u(n,19),i=is(t),!!i):!1},f.nl=function(){var t,n;return n=Dt(mc(this.b),this.Lj()),te(n,102)?(t=u(n,19),(t.Bb&es)!=0):!1},f.dd=function(t){var n,i,s,c;if(s=this.zj(t),s>=0)return s;if(this.ol()){for(i=0,c=this.Ej();i=0;--t)LP(this,t,this.xj(t));return this.Fj()},f.Qc=function(t){var n;if(this.nl())for(n=this.Ej()-1;n>=0;--n)LP(this,n,this.xj(n));return this.Gj(t)},f.Gk=function(){r9(this)},f.Zi=function(t,n){return xQe(this,t,n)},x(ni,"DelegatingEcoreEList",756),C(1171,756,Zwe,NGe),f.qj=function(t,n){jAt(this,t,u(n,29))},f.rj=function(t){xRt(this,u(t,29))},f.xj=function(t){var n,i;return n=u(re(Pl(this.a),t),89),i=n.c,te(i,90)?u(i,29):(Mt(),Va)},f.Cj=function(t){var n,i;return n=u(nv(Pl(this.a),t),89),i=n.c,te(i,90)?u(i,29):(Mt(),Va)},f.Dj=function(t,n){return AXt(this,t,u(n,29))},f.Li=function(){return!1},f.Ij=function(t,n,i,s,c){return null},f.sj=function(){return new EBe(this)},f.tj=function(){jn(Pl(this.a))},f.uj=function(t){return bnt(this,t)},f.vj=function(t){var n,i;for(i=t.Kc();i.Ob();)if(n=i.Pb(),!bnt(this,n))return!1;return!0},f.wj=function(t){var n,i,s;if(te(t,15)&&(s=u(t,15),s.gc()==Pl(this.a).i)){for(n=s.Kc(),i=new hn(this);n.Ob();)if(fe(n.Pb())!==fe(mn(i)))return!1;return!0}return!1},f.yj=function(){var t,n,i,s,c;for(i=1,n=new hn(Pl(this.a));n.e!=n.i.gc();)t=u(mn(n),89),s=(c=t.c,te(c,90)?u(c,29):(Mt(),Va)),i=31*i+(s?$b(s):0);return i},f.zj=function(t){var n,i,s,c;for(s=0,i=new hn(Pl(this.a));i.e!=i.i.gc();){if(n=u(mn(i),89),fe(t)===fe((c=n.c,te(c,90)?u(c,29):(Mt(),Va))))return s;++s}return-1},f.Aj=function(){return Pl(this.a).i==0},f.Bj=function(){return null},f.Ej=function(){return Pl(this.a).i},f.Fj=function(){var t,n,i,s,c,d;for(d=Pl(this.a).i,c=be(Ji,Bt,1,d,5,1),i=0,n=new hn(Pl(this.a));n.e!=n.i.gc();)t=u(mn(n),89),c[i++]=(s=t.c,te(s,90)?u(s,29):(Mt(),Va));return c},f.Gj=function(t){var n,i,s,c,d,h,b;for(b=Pl(this.a).i,t.lengthb&&pi(t,b,null),s=0,i=new hn(Pl(this.a));i.e!=i.i.gc();)n=u(mn(i),89),d=(h=n.c,te(h,90)?u(h,29):(Mt(),Va)),pi(t,s++,d);return t},f.Hj=function(){var t,n,i,s,c;for(c=new B1,c.a+="[",t=Pl(this.a),n=0,s=Pl(this.a).i;n>16,c>=0?GV(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,6,i);case 9:return!this.a&&(this.a=new Se(I1,this,9,5)),Yl(this.a,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Bg)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Bg)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 6:return Hu(this,null,6,i);case 7:return!this.A&&(this.A=new Rc(hc,this,7)),qo(this.A,t,i);case 9:return!this.a&&(this.a=new Se(I1,this,9,5)),qo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Bg)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Bg)),t,i)},f.Wh=function(t){var n;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!!aw(this);case 4:return!!vde(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!qk(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 sa(this,t-Sn((Mt(),Bg)),Dt((n=u(Yt(this,16),29),n||Bg),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:dL(this,Jn(n));return;case 2:vU(this,Jn(n));return;case 5:X5(this,Jn(n));return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A),!this.A&&(this.A=new Rc(hc,this,7)),mi(this.A,u(n,16));return;case 8:p$(this,qe(Ve(n)));return;case 9:!this.a&&(this.a=new Se(I1,this,9,5)),jn(this.a),!this.a&&(this.a=new Se(I1,this,9,5)),mi(this.a,u(n,16));return}da(this,t-Sn((Mt(),Bg)),Dt((i=u(Yt(this,16),29),i||Bg),t),n)},f.ii=function(){return Mt(),Bg},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,184)&&(u(this.Cb,184).tb=null),Xl(this,null);return;case 2:C5(this,null),l5(this,this.D);return;case 5:X5(this,null);return;case 7:!this.A&&(this.A=new Rc(hc,this,7)),jn(this.A);return;case 8:p$(this,!0);return;case 9:!this.a&&(this.a=new Se(I1,this,9,5)),jn(this.a);return}fa(this,t-Sn((Mt(),Bg)),Dt((n=u(Yt(this,16),29),n||Bg),t))},f.pi=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t>16==5?u(this.Cb,685):null}return ca(this,t-Sn((Mt(),Ep)),Dt((s=u(Yt(this,16),29),s||Ep),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?dit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,5,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ep)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Ep)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 5:return Hu(this,null,5,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ep)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Ep)),t,i)},f.Wh=function(t){var n;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&&u(this.Cb,685))}return sa(this,t-Sn((Mt(),Ep)),Dt((n=u(Yt(this,16),29),n||Ep),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:SW(this,u(n,17).a);return;case 3:ust(this,u(n,2039));return;case 4:EW(this,Jn(n));return}da(this,t-Sn((Mt(),Ep)),Dt((i=u(Yt(this,16),29),i||Ep),t),n)},f.ii=function(){return Mt(),Ep},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:Xl(this,null);return;case 2:SW(this,0);return;case 3:ust(this,null);return;case 4:EW(this,null);return}fa(this,t-Sn((Mt(),Ep)),Dt((n=u(Yt(this,16),29),n||Ep),t))},f.Ib=function(){var t;return t=this.c,t??this.zb},f.b=null,f.c=null,f.d=0,x(Vt,"EEnumLiteralImpl",582);var ffn=hi(Vt,"EFactoryImpl/InternalEDateTimeFormat");C(499,1,{2114:1},dT),x(Vt,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),C(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},yb),f.Ch=function(t,n,i){var s;return i=Hu(this,t,n,i),this.e&&te(t,179)&&(s=tj(this,this.e),s!=this.c&&(i=Y5(this,s,i))),i},f.Lh=function(t,n,i){var s;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ai(hs,this,1)),this.d;case 2:return n?pj(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?DV(this):this.a}return ca(this,t-Sn((Mt(),Ww)),Dt((s=u(Yt(this,16),29),s||Ww),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return rnt(this,null,i);case 1:return!this.d&&(this.d=new Ai(hs,this,1)),qo(this.d,t,i);case 3:return int(this,null,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Ww)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Ww)),t,i)},f.Wh=function(t){var n;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 sa(this,t-Sn((Mt(),Ww)),Dt((n=u(Yt(this,16),29),n||Ww),t))},f.bi=function(t,n){var i;switch(t){case 0:_it(this,u(n,89));return;case 1:!this.d&&(this.d=new Ai(hs,this,1)),jn(this.d),!this.d&&(this.d=new Ai(hs,this,1)),mi(this.d,u(n,16));return;case 3:Jhe(this,u(n,89));return;case 4:b1e(this,u(n,850));return;case 5:n5(this,u(n,142));return}da(this,t-Sn((Mt(),Ww)),Dt((i=u(Yt(this,16),29),i||Ww),t),n)},f.ii=function(){return Mt(),Ww},f.ki=function(t){var n;switch(t){case 0:_it(this,null);return;case 1:!this.d&&(this.d=new Ai(hs,this,1)),jn(this.d);return;case 3:Jhe(this,null);return;case 4:b1e(this,null);return;case 5:n5(this,null);return}fa(this,t-Sn((Mt(),Ww)),Dt((n=u(Yt(this,16),29),n||Ww),t))},f.Ib=function(){var t;return t=new Ru(lf(this)),t.a+=" (expression: ",Gq(this,t),t.a+=")",t.a};var Q5e;x(Vt,"EGenericTypeImpl",248),C(2067,2062,CD),f.Gi=function(t,n){$Ge(this,t,n)},f.Wk=function(t,n){return $Ge(this,this.gc(),t),n},f.$i=function(t){return ga(this.pj(),t)},f.Ii=function(){return this.Ji()},f.pj=function(){return new MBe(this)},f.Ji=function(){return this.Ki(0)},f.Ki=function(t){return this.pj().fd(t)},f.Xk=function(t,n){return Wm(this,t,!0),n},f.Ti=function(t,n){var i,s;return s=qV(this,n),i=this.fd(t),i.Rb(s),s},f.Ui=function(t,n){var i;Wm(this,n,!0),i=this.fd(t),i.Rb(n)},x(ni,"AbstractSequentialInternalEList",2067),C(496,2067,CD,KT),f.$i=function(t){return ga(this.pj(),t)},f.Ii=function(){return this.b==null?(H1(),H1(),OO):this.sl()},f.pj=function(){return new eUe(this.a,this.b)},f.Ji=function(){return this.b==null?(H1(),H1(),OO):this.sl()},f.Ki=function(t){var n,i;if(this.b==null){if(t<0||t>1)throw B(new ys(I9+t+", size=0"));return H1(),H1(),OO}for(i=this.sl(),n=0;n0;)if(n=this.c[--this.d],(!this.e||n.pk()!=oC||n.Lj()!=0)&&(!this.vl()||this.b.Xh(n))){if(d=this.b.Nh(n,this.ul()),this.f=(rs(),u(n,69).xk()),this.f||n.Jk()){if(this.ul()?(s=u(d,15),this.k=s):(s=u(d,71),this.k=this.j=s),te(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?Eot(this,this.p):jot(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),i=t.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(d!=null)return this.k=null,this.p=null,i=d,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),i=t.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},f.Pb=function(){return o$(this)},f.Tb=function(){return this.a},f.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw B(new qs)},f.Vb=function(){return this.a-1},f.Qb=function(){throw B(new Xn)},f.ul=function(){return!1},f.Wb=function(t){throw B(new Xn)},f.vl=function(){return!0},f.a=0,f.d=0,f.f=!1,f.g=0,f.n=0,f.o=0;var OO;x(ni,"EContentsEList/FeatureIteratorImpl",287),C(711,287,SD,lce),f.ul=function(){return!0},x(ni,"EContentsEList/ResolvingFeatureIteratorImpl",711),C(1178,711,SD,yGe),f.vl=function(){return!1},x(Vt,"ENamedElementImpl/1/1",1178),C(1179,287,SD,kGe),f.vl=function(){return!1},x(Vt,"ENamedElementImpl/1/2",1179),C(39,152,dM,Dm,qG,ro,uW,l1,rf,yfe,eYe,kfe,tYe,Nae,nYe,xfe,rYe,Bae,iYe,Cfe,oYe,Y7,xI,MG,Sfe,sYe,Fae,lYe),f.Kj=function(){return rfe(this)},f.Rj=function(){var t;return t=rfe(this),t?t.ik():null},f.hj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,t)},f.jj=function(){return this.c},f.Sj=function(){var t;return t=rfe(this),t?t.tk():!1},f.b=-1,x(Vt,"ENotificationImpl",39),C(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},pK),f.Ah=function(t){return git(this,t)},f.Lh=function(t,n,i){var s,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),d=this.t,d>1||d==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Rc(hc,this,11)),this.d;case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new qT(this,this)),this.a;case 14:return uu(this)}return ca(this,t-Sn((Mt(),Tp)),Dt((s=u(Yt(this,16),29),s||Tp),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?git(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,10,i);case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),Yl(this.c,t,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Tp)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Tp)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 9:return pG(this,i);case 10:return Hu(this,null,10,i);case 11:return!this.d&&(this.d=new Rc(hc,this,11)),qo(this.d,t,i);case 12:return!this.c&&(this.c=new Se(Gw,this,12,10)),qo(this.c,t,i);case 14:return qo(uu(this),t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Tp)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Tp)),t,i)},f.Wh=function(t){var n,i,s;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 s=this.t,s>1||s==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(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&&uu(this.a.a).i!=0&&!(this.b&&$V(this.b));case 14:return!!this.b&&$V(this.b)}return sa(this,t-Sn((Mt(),Tp)),Dt((n=u(Yt(this,16),29),n||Tp),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:Hm(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 11:!this.d&&(this.d=new Rc(hc,this,11)),jn(this.d),!this.d&&(this.d=new Rc(hc,this,11)),mi(this.d,u(n,16));return;case 12:!this.c&&(this.c=new Se(Gw,this,12,10)),jn(this.c),!this.c&&(this.c=new Se(Gw,this,12,10)),mi(this.c,u(n,16));return;case 13:!this.a&&(this.a=new qT(this,this)),r9(this.a),!this.a&&(this.a=new qT(this,this)),mi(this.a,u(n,16));return;case 14:jn(uu(this)),mi(uu(this),u(n,16));return}da(this,t-Sn((Mt(),Tp)),Dt((i=u(Yt(this,16),29),i||Tp),t),n)},f.ii=function(){return Mt(),Tp},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:Hm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 11:!this.d&&(this.d=new Rc(hc,this,11)),jn(this.d);return;case 12:!this.c&&(this.c=new Se(Gw,this,12,10)),jn(this.c);return;case 13:this.a&&r9(this.a);return;case 14:this.b&&jn(this.b);return}fa(this,t-Sn((Mt(),Tp)),Dt((n=u(Yt(this,16),29),n||Tp),t))},f.pi=function(){var t,n;if(this.c)for(t=0,n=this.c.i;tb&&pi(t,b,null),s=0,i=new hn(uu(this.a));i.e!=i.i.gc();)n=u(mn(i),89),d=(h=n.c,h||(Mt(),Sd)),pi(t,s++,d);return t},f.Hj=function(){var t,n,i,s,c;for(c=new B1,c.a+="[",t=uu(this.a),n=0,s=uu(this.a).i;n1);case 5:return rS(this,t,n,i,s,this.i-u(i,15).gc()>0);default:return new l1(this.e,t,this.c,n,i,s,!0)}},f.Tj=function(){return!0},f.Qj=function(){return $V(this)},f.Gk=function(){jn(this)},x(Vt,"EOperationImpl/2",1377),C(507,1,{2037:1,507:1},DKe),x(Vt,"EPackageImpl/1",507),C(14,83,Gs,Se),f.il=function(){return this.d},f.jl=function(){return this.b},f.ml=function(){return!0},f.b=0,x(ni,"EObjectContainmentWithInverseEList",14),C(365,14,Gs,i4),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectContainmentWithInverseEList/Resolving",365),C(308,365,Gs,_m),f.Ni=function(){this.a.tb=null},x(Vt,"EPackageImpl/2",308),C(1278,1,{},kMt),x(Vt,"EPackageImpl/3",1278),C(733,45,u2,use),f._b=function(t){return lo(t)?_G(this,t):!!ss(this.f,t)},x(Vt,"EPackageRegistryImpl",733),C(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},gK),f.Ah=function(t){return bit(this,t)},f.Lh=function(t,n,i){var s,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),d=this.t,d>1||d==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return ca(this,t-Sn((Mt(),Wv)),Dt((s=u(Yt(this,16),29),s||Wv),t),n,i)},f.Sh=function(t,n,i){var s,c,d;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),Yl(this.Ab,t,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?bit(this,i):this.Cb.Th(this,-1-c,null,i))),Hu(this,t,10,i)}return d=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Wv)),n),69),d.wk().zk(this,lc(this),n-Sn((Mt(),Wv)),t,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 9:return pG(this,i);case 10:return Hu(this,null,10,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Wv)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Wv)),t,i)},f.Wh=function(t){var n,i,s;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 s=this.t,s>1||s==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return sa(this,t-Sn((Mt(),Wv)),Dt((n=u(Yt(this,16),29),n||Wv),t))},f.ii=function(){return Mt(),Wv},x(Vt,"EParameterImpl",518),C(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},dce),f.Lh=function(t,n,i){var s,c,d,h;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Gt(),!!(this.Bb&256);case 3:return Gt(),!!(this.Bb&512);case 4:return Ae(this.s);case 5:return Ae(this.t);case 6:return Gt(),h=this.t,h>1||h==-1;case 7:return Gt(),c=this.s,c>=1;case 8:return n?Aa(this):this.r;case 9:return this.q;case 10:return Gt(),!!(this.Bb&af);case 11:return Gt(),!!(this.Bb&gv);case 12:return Gt(),!!(this.Bb&cv);case 13:return this.j;case 14:return H5(this);case 15:return Gt(),!!(this.Bb&zc);case 16:return Gt(),!!(this.Bb&Xd);case 17:return Lm(this);case 18:return Gt(),!!(this.Bb&wl);case 19:return Gt(),d=is(this),!!(d&&d.Bb&wl);case 20:return Gt(),!!(this.Bb&es);case 21:return n?is(this):this.b;case 22:return n?ude(this):_Je(this);case 23:return!this.a&&(this.a=new Ry(Kv,this,23)),this.a}return ca(this,t-Sn((Mt(),Z2)),Dt((s=u(Yt(this,16),29),s||Z2),t),n,i)},f.Wh=function(t){var n,i,s,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 i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Kb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Kb(this.q).i==0);case 10:return(this.Bb&af)==0;case 11:return(this.Bb&gv)!=0;case 12:return(this.Bb&cv)!=0;case 13:return this.j!=null;case 14:return H5(this)!=null;case 15:return(this.Bb&zc)!=0;case 16:return(this.Bb&Xd)!=0;case 17:return!!Lm(this);case 18:return(this.Bb&wl)!=0;case 19:return s=is(this),!!s&&(s.Bb&wl)!=0;case 20:return(this.Bb&es)==0;case 21:return!!this.b;case 22:return!!_Je(this);case 23:return!!this.a&&this.a.i!=0}return sa(this,t-Sn((Mt(),Z2)),Dt((n=u(Yt(this,16),29),n||Z2),t))},f.bi=function(t,n){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:zG(this,Jn(n));return;case 2:np(this,qe(Ve(n)));return;case 3:rp(this,qe(Ve(n)));return;case 4:Q1(this,u(n,17).a);return;case 5:Hm(this,u(n,17).a);return;case 8:I0(this,u(n,142));return;case 9:s=cd(this,u(n,89),null),s&&s.oj();return;case 10:E5(this,qe(Ve(n)));return;case 11:P5(this,qe(Ve(n)));return;case 12:T5(this,qe(Ve(n)));return;case 13:Cle(this,Jn(n));return;case 15:I5(this,qe(Ve(n)));return;case 16:M5(this,qe(Ve(n)));return;case 18:oFt(this,qe(Ve(n)));return;case 20:zde(this,qe(Ve(n)));return;case 21:Bfe(this,u(n,19));return;case 23:!this.a&&(this.a=new Ry(Kv,this,23)),jn(this.a),!this.a&&(this.a=new Ry(Kv,this,23)),mi(this.a,u(n,16));return}da(this,t-Sn((Mt(),Z2)),Dt((i=u(Yt(this,16),29),i||Z2),t),n)},f.ii=function(){return Mt(),Z2},f.ki=function(t){var n,i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:te(this.Cb,90)&&Zm(cu(u(this.Cb,90)),4),Xl(this,null);return;case 2:np(this,!0);return;case 3:rp(this,!0);return;case 4:Q1(this,0);return;case 5:Hm(this,1);return;case 8:I0(this,null);return;case 9:i=cd(this,null,null),i&&i.oj();return;case 10:E5(this,!0);return;case 11:P5(this,!1);return;case 12:T5(this,!1);return;case 13:this.i=null,YL(this,null);return;case 15:I5(this,!1);return;case 16:M5(this,!1);return;case 18:Fde(this,!1),te(this.Cb,90)&&Zm(cu(u(this.Cb,90)),2);return;case 20:zde(this,!0);return;case 21:Bfe(this,null);return;case 23:!this.a&&(this.a=new Ry(Kv,this,23)),jn(this.a);return}fa(this,t-Sn((Mt(),Z2)),Dt((n=u(Yt(this,16),29),n||Z2),t))},f.pi=function(){ude(this),Gk(Ss((Nc(),_o),this)),Aa(this),this.Bb|=1},f.uk=function(){return is(this)},f._k=function(){var t;return t=is(this),!!t&&(t.Bb&wl)!=0},f.al=function(){return(this.Bb&wl)!=0},f.bl=function(){return(this.Bb&es)!=0},f.Yk=function(t,n){return this.c=null,Ode(this,t,n)},f.Ib=function(){var t;return this.Db&64?fj(this):(t=new Ma(fj(this)),t.a+=" (containment: ",F1(t,(this.Bb&wl)!=0),t.a+=", resolveProxies: ",F1(t,(this.Bb&es)!=0),t.a+=")",t.a)},x(Vt,"EReferenceImpl",102),C(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},MRe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.md=function(){return this.c},f.Hb=function(){return $b(this)},f.Di=function(t){aDt(this,Jn(t))},f.nd=function(t){return Xjt(this,Jn(t))},f.Lh=function(t,n,i){var s;switch(t){case 0:return this.b;case 1:return this.c}return ca(this,t-Sn((Mt(),ns)),Dt((s=u(Yt(this,16),29),s||ns),t),n,i)},f.Wh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return sa(this,t-Sn((Mt(),ns)),Dt((n=u(Yt(this,16),29),n||ns),t))},f.bi=function(t,n){var i;switch(t){case 0:fDt(this,Jn(n));return;case 1:jfe(this,Jn(n));return}da(this,t-Sn((Mt(),ns)),Dt((i=u(Yt(this,16),29),i||ns),t),n)},f.ii=function(){return Mt(),ns},f.ki=function(t){var n;switch(t){case 0:$fe(this,null);return;case 1:jfe(this,null);return}fa(this,t-Sn((Mt(),ns)),Dt((n=u(Yt(this,16),29),n||ns),t))},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Z1(t)),this.a},f.Ci=function(t){this.a=t},f.Ib=function(){var t;return this.Db&64?lf(this):(t=new Ma(lf(this)),t.a+=" (key: ",ps(t,this.b),t.a+=", value: ",ps(t,this.c),t.a+=")",t.a)},f.a=-1,f.b=null,f.c=null;var dl=x(Vt,"EStringToStringMapEntryImpl",561),r6t=hi(ni,"FeatureMap/Entry/Internal");C(576,1,xD),f.xl=function(t){return this.yl(u(t,54))},f.yl=function(t){return this.xl(t)},f.Fb=function(t){var n,i;return this===t?!0:te(t,76)?(n=u(t,76),n.Lk()==this.c?(i=this.md(),i==null?n.md()==null:Rr(i,n.md())):!1):!1},f.Lk=function(){return this.c},f.Hb=function(){var t;return t=this.md(),Vr(this.c)^(t==null?0:Vr(t))},f.Ib=function(){var t,n;return t=this.c,n=ju(t.qk()).yi(),t.xe(),(n!=null&&n.length!=0?n+":"+t.xe():t.xe())+"="+this.md()},x(Vt,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),C(791,576,xD,kce),f.yl=function(t){return new kce(this.c,t)},f.md=function(){return this.a},f.zl=function(t,n,i){return qUt(this,t,this.a,n,i)},f.Al=function(t,n,i){return XUt(this,t,this.a,n,i)},x(Vt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),C(1350,1,{},NKe),f.yk=function(t,n,i,s,c){var d;return d=u(Qk(t,this.b),220),d.Yl(this.a).Fk(s)},f.zk=function(t,n,i,s,c){var d;return d=u(Qk(t,this.b),220),d.Pl(this.a,s,c)},f.Ak=function(t,n,i,s,c){var d;return d=u(Qk(t,this.b),220),d.Ql(this.a,s,c)},f.Bk=function(t,n,i){var s;return s=u(Qk(t,this.b),220),s.Yl(this.a).Qj()},f.Ck=function(t,n,i,s){var c;c=u(Qk(t,this.b),220),c.Yl(this.a).Wb(s)},f.Dk=function(t,n,i){return u(Qk(t,this.b),220).Yl(this.a)},f.Ek=function(t,n,i){var s;s=u(Qk(t,this.b),220),s.Yl(this.a).Gk()},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),C(91,1,{},U1,p0,W1,v0),f.yk=function(t,n,i,s,c){var d;if(d=n.li(i),d==null&&n.mi(i,d=Sj(this,t)),!c)switch(this.e){case 50:case 41:return u(d,597).bk();case 40:return u(d,220).Vl()}return d},f.zk=function(t,n,i,s,c){var d,h;return h=n.li(i),h==null&&n.mi(i,h=Sj(this,t)),d=u(h,71).Wk(s,c),d},f.Ak=function(t,n,i,s,c){var d;return d=n.li(i),d!=null&&(c=u(d,71).Xk(s,c)),c},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null&&u(s,79).Qj()},f.Ck=function(t,n,i,s){var c;c=u(n.li(i),79),!c&&n.mi(i,c=Sj(this,t)),c.Wb(s)},f.Dk=function(t,n,i){var s,c;return c=n.li(i),c==null&&n.mi(i,c=Sj(this,t)),te(c,79)?u(c,79):(s=u(n.li(i),15),new IBe(s))},f.Ek=function(t,n,i){var s;s=u(n.li(i),79),!s&&n.mi(i,s=Sj(this,t)),s.Gk()},f.b=0,f.e=0,x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),C(512,1,{}),f.zk=function(t,n,i,s,c){throw B(new Xn)},f.Ak=function(t,n,i,s,c){throw B(new Xn)},f.Dk=function(t,n,i){return new jqe(this,t,n,i)};var zh;x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),C(1367,1,OJ,jqe),f.Fk=function(t){return this.a.yk(this.c,this.d,this.b,t,!0)},f.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},f.Wb=function(t){this.a.Ck(this.c,this.d,this.b,t)},f.Gk=function(){this.a.Ek(this.c,this.d,this.b)},f.b=0,x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),C(784,512,{},uae),f.yk=function(t,n,i,s,c){return _q(t,t.Ph(),t.Fh())==this.b?this.bl()&&s?wq(t):t.Ph():null},f.zk=function(t,n,i,s,c){var d,h;return t.Ph()&&(c=(d=t.Fh(),d>=0?t.Ah(c):t.Ph().Th(t,-1-d,null,c))),h=ci(t.Dh(),this.e),t.Ch(s,h,c)},f.Ak=function(t,n,i,s,c){var d;return d=ci(t.Dh(),this.e),t.Ch(null,d,c)},f.Bk=function(t,n,i){var s;return s=ci(t.Dh(),this.e),!!t.Ph()&&t.Fh()==s},f.Ck=function(t,n,i,s){var c,d,h,b,m;if(s!=null&&!$q(this.a,s))throw B(new vk(ED+(te(s,58)?Yhe(u(s,58).Dh()):bfe(Tu(s)))+TD+this.a+"'"));if(c=t.Ph(),h=ci(t.Dh(),this.e),fe(s)!==fe(c)||t.Fh()!=h&&s!=null){if(L5(t,u(s,58)))throw B(new Qt(E9+t.Ib()));m=null,c&&(m=(d=t.Fh(),d>=0?t.Ah(m):t.Ph().Th(t,-1-d,null,m))),b=u(s,54),b&&(m=b.Rh(t,ci(b.Dh(),this.b),null,m)),m=t.Ch(b,h,m),m&&m.oj()}else t.vh()&&t.wh()&&_r(t,new ro(t,1,h,s,s))},f.Ek=function(t,n,i){var s,c,d,h;s=t.Ph(),s?(h=(c=t.Fh(),c>=0?t.Ah(null):t.Ph().Th(t,-1-c,null,null)),d=ci(t.Dh(),this.e),h=t.Ch(null,d,h),h&&h.oj()):t.vh()&&t.wh()&&_r(t,new Y7(t,1,this.e,null,null))},f.bl=function(){return!1},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),C(1351,784,{},TWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),C(574,512,{}),f.yk=function(t,n,i,s,c){var d;return d=n.li(i),d==null?this.b:fe(d)===fe(zh)?null:d},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null&&(fe(s)===fe(zh)||!Rr(s,this.b))},f.Ck=function(t,n,i,s){var c,d;t.vh()&&t.wh()?(c=(d=n.li(i),d==null?this.b:fe(d)===fe(zh)?null:d),s==null?this.c!=null?(n.mi(i,null),s=this.b):this.b!=null?n.mi(i,zh):n.mi(i,null):(this.Bl(s),n.mi(i,s)),_r(t,this.d.Cl(t,1,this.e,c,s))):s==null?this.c!=null?n.mi(i,null):this.b!=null?n.mi(i,zh):n.mi(i,null):(this.Bl(s),n.mi(i,s))},f.Ek=function(t,n,i){var s,c;t.vh()&&t.wh()?(s=(c=n.li(i),c==null?this.b:fe(c)===fe(zh)?null:c),n.ni(i),_r(t,this.d.Cl(t,1,this.e,s,this.b))):n.ni(i)},f.Bl=function(t){throw B(new NBe)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),C(v2,1,{},ORe),f.Cl=function(t,n,i,s,c){return new Y7(t,n,i,s,c)},f.Dl=function(t,n,i,s,c,d){return new MG(t,n,i,s,c,d)};var Z5e,e8e,t8e,n8e,r8e,i8e,o8e,Ote,s8e;x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",v2),C(1368,v2,{},_Re),f.Cl=function(t,n,i,s,c){return new Fae(t,n,i,qe(Ve(s)),qe(Ve(c)))},f.Dl=function(t,n,i,s,c,d){return new lYe(t,n,i,qe(Ve(s)),qe(Ve(c)),d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),C(1369,v2,{},RRe),f.Cl=function(t,n,i,s,c){return new yfe(t,n,i,u(s,222).a,u(c,222).a)},f.Dl=function(t,n,i,s,c,d){return new eYe(t,n,i,u(s,222).a,u(c,222).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),C(1370,v2,{},ARe),f.Cl=function(t,n,i,s,c){return new kfe(t,n,i,u(s,180).a,u(c,180).a)},f.Dl=function(t,n,i,s,c,d){return new tYe(t,n,i,u(s,180).a,u(c,180).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),C(1371,v2,{},LRe),f.Cl=function(t,n,i,s,c){return new Nae(t,n,i,le(pe(s)),le(pe(c)))},f.Dl=function(t,n,i,s,c,d){return new nYe(t,n,i,le(pe(s)),le(pe(c)),d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),C(1372,v2,{},$Re),f.Cl=function(t,n,i,s,c){return new xfe(t,n,i,u(s,161).a,u(c,161).a)},f.Dl=function(t,n,i,s,c,d){return new rYe(t,n,i,u(s,161).a,u(c,161).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),C(1373,v2,{},jRe),f.Cl=function(t,n,i,s,c){return new Bae(t,n,i,u(s,17).a,u(c,17).a)},f.Dl=function(t,n,i,s,c,d){return new iYe(t,n,i,u(s,17).a,u(c,17).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),C(1374,v2,{},DRe),f.Cl=function(t,n,i,s,c){return new Cfe(t,n,i,u(s,168).a,u(c,168).a)},f.Dl=function(t,n,i,s,c,d){return new oYe(t,n,i,u(s,168).a,u(c,168).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),C(1375,v2,{},NRe),f.Cl=function(t,n,i,s,c){return new Sfe(t,n,i,u(s,191).a,u(c,191).a)},f.Dl=function(t,n,i,s,c,d){return new sYe(t,n,i,u(s,191).a,u(c,191).a,d)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),C(1353,574,{},Dqe),f.Bl=function(t){if(!this.a.fk(t))throw B(new vk(ED+Tu(t)+TD+this.a+"'"))},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),C(1354,574,{},xVe),f.Bl=function(t){},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),C(785,574,{}),f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null},f.Ck=function(t,n,i,s){var c,d;t.vh()&&t.wh()?(c=!0,d=n.li(i),d==null?(c=!1,d=this.b):fe(d)===fe(zh)&&(d=null),s==null?this.c!=null?(n.mi(i,null),s=this.b):n.mi(i,zh):(this.Bl(s),n.mi(i,s)),_r(t,this.d.Dl(t,1,this.e,d,s,!c))):s==null?this.c!=null?n.mi(i,null):n.mi(i,zh):(this.Bl(s),n.mi(i,s))},f.Ek=function(t,n,i){var s,c;t.vh()&&t.wh()?(s=!0,c=n.li(i),c==null?(s=!1,c=this.b):fe(c)===fe(zh)&&(c=null),n.ni(i),_r(t,this.d.Dl(t,2,this.e,c,this.b,s))):n.ni(i)},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),C(1355,785,{},Nqe),f.Bl=function(t){if(!this.a.fk(t))throw B(new vk(ED+Tu(t)+TD+this.a+"'"))},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),C(1356,785,{},EVe),f.Bl=function(t){},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),C(410,512,{},DA),f.yk=function(t,n,i,s,c){var d,h,b,m,v;if(v=n.li(i),this.tk()&&fe(v)===fe(zh))return null;if(this.bl()&&s&&v!=null){if(b=u(v,54),b.Vh()&&(m=sg(t,b),b!=m)){if(!$q(this.a,m))throw B(new vk(ED+Tu(m)+TD+this.a+"'"));n.mi(i,v=m),this.al()&&(d=u(m,54),h=b.Th(t,this.b?ci(b.Dh(),this.b):-1-ci(t.Dh(),this.e),null,null),!d.Ph()&&(h=d.Rh(t,this.b?ci(d.Dh(),this.b):-1-ci(t.Dh(),this.e),null,h)),h&&h.oj()),t.vh()&&t.wh()&&_r(t,new Y7(t,9,this.e,b,m))}return v}else return v},f.zk=function(t,n,i,s,c){var d,h;return h=n.li(i),fe(h)===fe(zh)&&(h=null),n.mi(i,s),this.Mj()?fe(h)!==fe(s)&&h!=null&&(d=u(h,54),c=d.Th(t,ci(d.Dh(),this.b),null,c)):this.al()&&h!=null&&(c=u(h,54).Th(t,-1-ci(t.Dh(),this.e),null,c)),t.vh()&&t.wh()&&(!c&&(c=new Kp(4)),c.nj(new Y7(t,1,this.e,h,s))),c},f.Ak=function(t,n,i,s,c){var d;return d=n.li(i),fe(d)===fe(zh)&&(d=null),n.ni(i),t.vh()&&t.wh()&&(!c&&(c=new Kp(4)),this.tk()?c.nj(new Y7(t,2,this.e,d,null)):c.nj(new Y7(t,1,this.e,d,null))),c},f.Bk=function(t,n,i){var s;return s=n.li(i),s!=null},f.Ck=function(t,n,i,s){var c,d,h,b,m;if(s!=null&&!$q(this.a,s))throw B(new vk(ED+(te(s,58)?Yhe(u(s,58).Dh()):bfe(Tu(s)))+TD+this.a+"'"));m=n.li(i),b=m!=null,this.tk()&&fe(m)===fe(zh)&&(m=null),h=null,this.Mj()?fe(m)!==fe(s)&&(m!=null&&(c=u(m,54),h=c.Th(t,ci(c.Dh(),this.b),null,h)),s!=null&&(c=u(s,54),h=c.Rh(t,ci(c.Dh(),this.b),null,h))):this.al()&&fe(m)!==fe(s)&&(m!=null&&(h=u(m,54).Th(t,-1-ci(t.Dh(),this.e),null,h)),s!=null&&(h=u(s,54).Rh(t,-1-ci(t.Dh(),this.e),null,h))),s==null&&this.tk()?n.mi(i,zh):n.mi(i,s),t.vh()&&t.wh()?(d=new MG(t,1,this.e,m,s,this.tk()&&!b),h?(h.nj(d),h.oj()):_r(t,d)):h&&h.oj()},f.Ek=function(t,n,i){var s,c,d,h,b;b=n.li(i),h=b!=null,this.tk()&&fe(b)===fe(zh)&&(b=null),d=null,b!=null&&(this.Mj()?(s=u(b,54),d=s.Th(t,ci(s.Dh(),this.b),null,d)):this.al()&&(d=u(b,54).Th(t,-1-ci(t.Dh(),this.e),null,d))),n.ni(i),t.vh()&&t.wh()?(c=new MG(t,this.tk()?2:1,this.e,b,null,h),d?(d.nj(c),d.oj()):_r(t,c)):d&&d.oj()},f.Mj=function(){return!1},f.al=function(){return!1},f.bl=function(){return!1},f.tk=function(){return!1},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),C(575,410,{},AU),f.al=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),C(1359,575,{},SGe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),C(787,575,{},cce),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),C(1361,787,{},xGe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),C(650,575,{},WU),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),C(1360,650,{},IWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),C(788,650,{},qce),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),C(1362,788,{},PWe),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),C(651,410,{},uce),f.bl=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),C(1363,651,{},EGe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),C(789,651,{},Wce),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),C(1364,789,{},MWe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),C(1357,410,{},TGe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),C(786,410,{},Vce),f.Mj=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),C(1358,786,{},OWe),f.tk=function(){return!0},x(Vt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),C(790,576,xD,Uue),f.yl=function(t){return new Uue(this.a,this.c,t)},f.md=function(){return this.b},f.zl=function(t,n,i){return WHt(this,t,this.b,i)},f.Al=function(t,n,i){return VHt(this,t,this.b,i)},x(Vt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),C(1365,1,OJ,IBe),f.Fk=function(t){return this.a},f.Qj=function(){return te(this.a,97)?u(this.a,97).Qj():!this.a.dc()},f.Wb=function(t){this.a.$b(),this.a.Gc(u(t,15))},f.Gk=function(){te(this.a,97)?u(this.a,97).Gk():this.a.$b()},x(Vt,"EStructuralFeatureImpl/SettingMany",1365),C(1366,576,xD,QYe),f.xl=function(t){return new jU((zr(),Wx),this.b.ri(this.a,t))},f.md=function(){return null},f.zl=function(t,n,i){return i},f.Al=function(t,n,i){return i},x(Vt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),C(652,576,xD,jU),f.xl=function(t){return new jU(this.c,t)},f.md=function(){return this.a},f.zl=function(t,n,i){return i},f.Al=function(t,n,i){return i},x(Vt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),C(403,506,ih,fk),f.aj=function(t){return be(Ua,Bt,29,t,0,1)},f.Yi=function(){return!1},x(Vt,"ESuperAdapter/1",403),C(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},qH),f.Lh=function(t,n,i){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new W7(this,hs,this)),this.a}return ca(this,t-Sn((Mt(),Vw)),Dt((s=u(Yt(this,16),29),s||Vw),t),n,i)},f.Uh=function(t,n,i){var s,c;switch(n){case 0:return!this.Ab&&(this.Ab=new Se(hr,this,0,3)),qo(this.Ab,t,i);case 2:return!this.a&&(this.a=new W7(this,hs,this)),qo(this.a,t,i)}return c=u(Dt((s=u(Yt(this,16),29),s||(Mt(),Vw)),n),69),c.wk().Ak(this,lc(this),n-Sn((Mt(),Vw)),t,i)},f.Wh=function(t){var n;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 sa(this,t-Sn((Mt(),Vw)),Dt((n=u(Yt(this,16),29),n||Vw),t))},f.bi=function(t,n){var i;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab),!this.Ab&&(this.Ab=new Se(hr,this,0,3)),mi(this.Ab,u(n,16));return;case 1:Xl(this,Jn(n));return;case 2:!this.a&&(this.a=new W7(this,hs,this)),jn(this.a),!this.a&&(this.a=new W7(this,hs,this)),mi(this.a,u(n,16));return}da(this,t-Sn((Mt(),Vw)),Dt((i=u(Yt(this,16),29),i||Vw),t),n)},f.ii=function(){return Mt(),Vw},f.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new Se(hr,this,0,3)),jn(this.Ab);return;case 1:Xl(this,null);return;case 2:!this.a&&(this.a=new W7(this,hs,this)),jn(this.a);return}fa(this,t-Sn((Mt(),Vw)),Dt((n=u(Yt(this,16),29),n||Vw),t))},x(Vt,"ETypeParameterImpl",457),C(458,83,Gs,W7),f.Nj=function(t,n){return lQt(this,u(t,89),n)},f.Oj=function(t,n){return cQt(this,u(t,89),n)},x(Vt,"ETypeParameterImpl/1",458),C(647,45,u2,bK),f.ec=function(){return new aR(this)},x(Vt,"ETypeParameterImpl/2",647),C(570,ad,Bc,aR),f.Fc=function(t){return QGe(this,u(t,89))},f.Gc=function(t){var n,i,s;for(s=!1,i=t.Kc();i.Ob();)n=u(i.Pb(),89),vr(this.a,n,"")==null&&(s=!0);return s},f.$b=function(){qc(this.a)},f.Hc=function(t){return rc(this.a,t)},f.Kc=function(){var t;return t=new S0(new i0(this.a).a),new fR(t)},f.Mc=function(t){return HJe(this,t)},f.gc=function(){return h7(this.a)},x(Vt,"ETypeParameterImpl/2/1",570),C(571,1,co,fR),f.Nb=function(t){To(this,t)},f.Pb=function(){return u(rw(this.a).ld(),89)},f.Ob=function(){return this.a.b},f.Qb=function(){JQe(this.a)},x(Vt,"ETypeParameterImpl/2/1/1",571),C(1329,45,u2,wFe),f._b=function(t){return lo(t)?_G(this,t):!!ss(this.f,t)},f.xc=function(t){var n,i;return n=lo(t)?$l(this,t):Rs(ss(this.f,t)),te(n,851)?(i=u(n,851),n=i.Kk(),vr(this,u(t,241),n),n):n??(t==null?($K(),o6t):null)},x(Vt,"EValidatorRegistryImpl",1329),C(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},BRe),f.ri=function(t,n){switch(t.hk()){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 n==null?null:Us(n);case 25:return iUt(n);case 27:return mKt(n);case 28:return vKt(n);case 29:return n==null?null:MUe(Fx[0],u(n,206));case 41:return n==null?"":l0(u(n,297));case 42:return Us(n);case 50:return Jn(n);default:throw B(new Qt(w8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d,h,b,m,v,k,T,P,O,L,$,z;switch(t.G==-1&&(t.G=(P=ju(t),P?sp(P.vi(),t):-1)),t.G){case 0:return i=new hK,i;case 1:return n=new uoe,n;case 2:return s=new hoe,s;case 4:return c=new dR,c;case 5:return d=new bFe,d;case 6:return h=new zBe,h;case 7:return b=new poe,b;case 10:return v=new tR,v;case 11:return k=new pK,k;case 12:return T=new Wqe,T;case 13:return O=new gK,O;case 14:return L=new dce,L;case 17:return $=new MRe,$;case 18:return m=new yb,m;case 19:return z=new qH,z;default:throw B(new Qt(pJ+t.zb+xw))}},f.ti=function(t,n){switch(t.hk()){case 20:return n==null?null:new Lse(n);case 21:return n==null?null:new qp(n);case 23:case 22:return n==null?null:wqt(n);case 26:case 24:return n==null?null:_I(zu(n,-128,127)<<24>>24);case 25:return jtn(n);case 27:return iYt(n);case 28:return oYt(n);case 29:return PQt(n);case 32:case 31:return n==null?null:Jm(n);case 38:case 37:return n==null?null:new Joe(n);case 40:case 39:return n==null?null:Ae(zu(n,jo,Mr));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:p1(Cj(n));case 49:case 48:return n==null?null:x5(zu(n,ID,32767)<<16>>16);case 50:return n;default:throw B(new Qt(w8+t.xe()+xw))}},x(Vt,"EcoreFactoryImpl",1349),C(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},bqe),f.gb=!1,f.hb=!1;var l8e,i6t=!1;x(Vt,"EcorePackageImpl",560),C(1234,1,{851:1},FRe),f.Kk=function(){return HUe(),s6t},x(Vt,"EcorePackageImpl/1",1234),C(1243,1,mr,zRe),f.fk=function(t){return te(t,155)},f.gk=function(t){return be(TO,Bt,155,t,0,1)},x(Vt,"EcorePackageImpl/10",1243),C(1244,1,mr,HRe),f.fk=function(t){return te(t,197)},f.gk=function(t){return be(kte,Bt,197,t,0,1)},x(Vt,"EcorePackageImpl/11",1244),C(1245,1,mr,KRe),f.fk=function(t){return te(t,58)},f.gk=function(t){return be(jg,Bt,58,t,0,1)},x(Vt,"EcorePackageImpl/12",1245),C(1246,1,mr,URe),f.fk=function(t){return te(t,411)},f.gk=function(t){return be(Ga,Qwe,62,t,0,1)},x(Vt,"EcorePackageImpl/13",1246),C(1247,1,mr,GRe),f.fk=function(t){return te(t,241)},f.gk=function(t){return be(Uf,Bt,241,t,0,1)},x(Vt,"EcorePackageImpl/14",1247),C(1248,1,mr,WRe),f.fk=function(t){return te(t,518)},f.gk=function(t){return be(Gw,Bt,2116,t,0,1)},x(Vt,"EcorePackageImpl/15",1248),C(1249,1,mr,VRe),f.fk=function(t){return te(t,102)},f.gk=function(t){return be(Uv,m2,19,t,0,1)},x(Vt,"EcorePackageImpl/16",1249),C(1250,1,mr,qRe),f.fk=function(t){return te(t,179)},f.gk=function(t){return be(Tc,m2,179,t,0,1)},x(Vt,"EcorePackageImpl/17",1250),C(1251,1,mr,XRe),f.fk=function(t){return te(t,481)},f.gk=function(t){return be(Hv,Bt,481,t,0,1)},x(Vt,"EcorePackageImpl/18",1251),C(1252,1,mr,YRe),f.fk=function(t){return te(t,561)},f.gk=function(t){return be(dl,s1t,561,t,0,1)},x(Vt,"EcorePackageImpl/19",1252),C(1235,1,mr,JRe),f.fk=function(t){return te(t,331)},f.gk=function(t){return be(Kv,m2,35,t,0,1)},x(Vt,"EcorePackageImpl/2",1235),C(1253,1,mr,QRe),f.fk=function(t){return te(t,248)},f.gk=function(t){return be(hs,S1t,89,t,0,1)},x(Vt,"EcorePackageImpl/20",1253),C(1254,1,mr,ZRe),f.fk=function(t){return te(t,457)},f.gk=function(t){return be(hc,Bt,850,t,0,1)},x(Vt,"EcorePackageImpl/21",1254),C(1255,1,mr,eAe),f.fk=function(t){return Sm(t)},f.gk=function(t){return be(xi,_e,485,t,8,1)},x(Vt,"EcorePackageImpl/22",1255),C(1256,1,mr,tAe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Kc,_e,195,t,0,2)},x(Vt,"EcorePackageImpl/23",1256),C(1257,1,mr,nAe),f.fk=function(t){return te(t,222)},f.gk=function(t){return be(Z4,_e,222,t,0,1)},x(Vt,"EcorePackageImpl/24",1257),C(1258,1,mr,rAe),f.fk=function(t){return te(t,180)},f.gk=function(t){return be(D9,_e,180,t,0,1)},x(Vt,"EcorePackageImpl/25",1258),C(1259,1,mr,iAe),f.fk=function(t){return te(t,206)},f.gk=function(t){return be(DD,_e,206,t,0,1)},x(Vt,"EcorePackageImpl/26",1259),C(1260,1,mr,oAe),f.fk=function(t){return!1},f.gk=function(t){return be(E8e,Bt,2215,t,0,1)},x(Vt,"EcorePackageImpl/27",1260),C(1261,1,mr,sAe),f.fk=function(t){return xm(t)},f.gk=function(t){return be(Bi,_e,345,t,7,1)},x(Vt,"EcorePackageImpl/28",1261),C(1262,1,mr,lAe),f.fk=function(t){return te(t,61)},f.gk=function(t){return be(F5e,uv,61,t,0,1)},x(Vt,"EcorePackageImpl/29",1262),C(1236,1,mr,cAe),f.fk=function(t){return te(t,519)},f.gk=function(t){return be(hr,{3:1,4:1,5:1,2033:1},598,t,0,1)},x(Vt,"EcorePackageImpl/3",1236),C(1263,1,mr,uAe),f.fk=function(t){return te(t,582)},f.gk=function(t){return be(K5e,Bt,2039,t,0,1)},x(Vt,"EcorePackageImpl/30",1263),C(1264,1,mr,aAe),f.fk=function(t){return te(t,160)},f.gk=function(t){return be(d8e,uv,160,t,0,1)},x(Vt,"EcorePackageImpl/31",1264),C(1265,1,mr,fAe),f.fk=function(t){return te(t,76)},f.gk=function(t){return be(eF,R1t,76,t,0,1)},x(Vt,"EcorePackageImpl/32",1265),C(1266,1,mr,dAe),f.fk=function(t){return te(t,161)},f.gk=function(t){return be(x8,_e,161,t,0,1)},x(Vt,"EcorePackageImpl/33",1266),C(1267,1,mr,hAe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Oo,_e,17,t,0,1)},x(Vt,"EcorePackageImpl/34",1267),C(1268,1,mr,pAe),f.fk=function(t){return te(t,297)},f.gk=function(t){return be(fme,Bt,297,t,0,1)},x(Vt,"EcorePackageImpl/35",1268),C(1269,1,mr,gAe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Vt,"EcorePackageImpl/36",1269),C(1270,1,mr,bAe),f.fk=function(t){return te(t,85)},f.gk=function(t){return be(dme,Bt,85,t,0,1)},x(Vt,"EcorePackageImpl/37",1270),C(1271,1,mr,wAe),f.fk=function(t){return te(t,599)},f.gk=function(t){return be(c8e,Bt,599,t,0,1)},x(Vt,"EcorePackageImpl/38",1271),C(1272,1,mr,mAe),f.fk=function(t){return!1},f.gk=function(t){return be(T8e,Bt,2216,t,0,1)},x(Vt,"EcorePackageImpl/39",1272),C(1237,1,mr,vAe),f.fk=function(t){return te(t,90)},f.gk=function(t){return be(Ua,Bt,29,t,0,1)},x(Vt,"EcorePackageImpl/4",1237),C(1273,1,mr,yAe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Vt,"EcorePackageImpl/40",1273),C(1274,1,mr,kAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Vt,"EcorePackageImpl/41",1274),C(1275,1,mr,CAe),f.fk=function(t){return te(t,596)},f.gk=function(t){return be(H5e,Bt,596,t,0,1)},x(Vt,"EcorePackageImpl/42",1275),C(1276,1,mr,SAe),f.fk=function(t){return!1},f.gk=function(t){return be(I8e,_e,2217,t,0,1)},x(Vt,"EcorePackageImpl/43",1276),C(1277,1,mr,xAe),f.fk=function(t){return te(t,44)},f.gk=function(t){return be(U0,Ej,44,t,0,1)},x(Vt,"EcorePackageImpl/44",1277),C(1238,1,mr,EAe),f.fk=function(t){return te(t,142)},f.gk=function(t){return be(Gf,Bt,142,t,0,1)},x(Vt,"EcorePackageImpl/5",1238),C(1239,1,mr,TAe),f.fk=function(t){return te(t,156)},f.gk=function(t){return be(Ite,Bt,156,t,0,1)},x(Vt,"EcorePackageImpl/6",1239),C(1240,1,mr,IAe),f.fk=function(t){return te(t,469)},f.gk=function(t){return be(ZB,Bt,685,t,0,1)},x(Vt,"EcorePackageImpl/7",1240),C(1241,1,mr,PAe),f.fk=function(t){return te(t,582)},f.gk=function(t){return be(I1,Bt,694,t,0,1)},x(Vt,"EcorePackageImpl/8",1241),C(1242,1,mr,MAe),f.fk=function(t){return te(t,480)},f.gk=function(t){return be(Bx,Bt,480,t,0,1)},x(Vt,"EcorePackageImpl/9",1242),C(1038,2080,o1t,NFe),f.Mi=function(t,n){WWt(this,u(n,424))},f.Qi=function(t,n){Lot(this,t,u(n,424))},x(Vt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),C(1039,152,dM,sqe),f.jj=function(){return this.a.a},x(Vt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),C(1067,1066,{},yUe),x("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var c8e=hi(A1t,"Resource");C(799,1524,L1t),f.Hl=function(t){},f.Il=function(t){},f.El=function(){return!this.a&&(this.a=new lK(this)),this.a},f.Fl=function(t){var n,i,s,c,d;if(s=t.length,s>0)if(Zt(0,t.length),t.charCodeAt(0)==47){for(d=new ql(4),c=1,n=1;n0&&(t=(mo(0,i,t.length),t.substr(0,i))));return ken(this,t)},f.Gl=function(){return this.c},f.Ib=function(){var t;return l0(this.Rm)+"@"+(t=Vr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},f.b=!1,x(_J,"ResourceImpl",799),C(1525,799,L1t,PBe),x(_J,"BinaryResourceImpl",1525),C(1190,708,EJ),f.bj=function(t){return te(t,58)?dBt(this,u(t,58)):te(t,599)?new hn(u(t,599).El()):fe(t)===fe(this.f)?u(t,16).Kc():(Lk(),MO.a)},f.Ob=function(){return U1e(this)},f.a=!1,x(ni,"EcoreUtil/ContentTreeIterator",1190),C(1526,1190,EJ,jVe),f.bj=function(t){return fe(t)===fe(this.f)?u(t,15).Kc():new AYe(u(t,58))},x(_J,"ResourceImpl/5",1526),C(658,2092,C1t,lK),f.Hc=function(t){return this.i<=4?j5(this,t):te(t,54)&&u(t,54).Jh()==this.a},f.Mi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},f.Oi=function(t,n){t==0?this.a.b||(this.a.b=!0):sW(this,t,n)},f.Qi=function(t,n){},f.Ri=function(t,n,i){},f.Lj=function(){return 2},f.jj=function(){return this.a},f.Mj=function(){return!0},f.Nj=function(t,n){var i;return i=u(t,54),n=i.fi(this.a,n),n},f.Oj=function(t,n){var i;return i=u(t,54),i.fi(null,n)},f.Pj=function(){return!1},f.Si=function(){return!0},f.aj=function(t){return be(jg,Bt,58,t,0,1)},f.Yi=function(){return!1},x(_J,"ResourceImpl/ContentsEList",658),C(970,2062,t8,MBe),f.fd=function(t){return this.a.Ki(t)},f.gc=function(){return this.a.gc()},x(ni,"AbstractSequentialInternalEList/1",970);var u8e,a8e,_o,f8e;C(634,1,{},NWe);var tF,nF;x(ni,"BasicExtendedMetaData",634),C(1181,1,{},FKe),f.Jl=function(){return null},f.Kl=function(){return this.a==-2&&GMt(this,kQt(this.d,this.b)),this.a},f.Ll=function(){return null},f.Ml=function(){return Ot(),Ot(),Jo},f.xe=function(){return this.c==y8&&WMt(this,irt(this.d,this.b)),this.c},f.Nl=function(){return 0},f.a=-2,f.c=y8,x(ni,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),C(1182,1,{},uYe),f.Jl=function(){return this.a==(Jk(),tF)&&XMt(this,yin(this.f,this.b)),this.a},f.Kl=function(){return 0},f.Ll=function(){return this.c==(Jk(),tF)&&VMt(this,kin(this.f,this.b)),this.c},f.Ml=function(){return!this.d&&JMt(this,osn(this.f,this.b)),this.d},f.xe=function(){return this.e==y8&&ZMt(this,irt(this.f,this.b)),this.e},f.Nl=function(){return this.g==-2&&tOt(this,FJt(this.f,this.b)),this.g},f.e=y8,f.g=-2,x(ni,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),C(1180,1,{},zKe),f.b=!1,f.c=!1,x(ni,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),C(1183,1,{},aYe),f.c=-2,f.e=y8,f.f=y8,x(ni,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),C(593,632,Gs,IA),f.Lj=function(){return this.c},f.ol=function(){return!1},f.Wi=function(t,n){return n},f.c=0,x(ni,"EDataTypeEList",593);var d8e=hi(ni,"FeatureMap");C(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},vi),f.bd=function(t,n){Bnn(this,t,u(n,76))},f.Fc=function(t){return rnn(this,u(t,76))},f.Hi=function(t){uNt(this,u(t,76))},f.Nj=function(t,n){return OLt(this,u(t,76),n)},f.Oj=function(t,n){return jce(this,u(t,76),n)},f.Ti=function(t,n){return aon(this,t,n)},f.Wi=function(t,n){return Jln(this,t,u(n,76))},f.hd=function(t,n){return Trn(this,t,u(n,76))},f.Uj=function(t,n){return _Lt(this,u(t,76),n)},f.Vj=function(t,n){return hWe(this,u(t,76),n)},f.Wj=function(t,n,i){return IJt(this,u(t,76),u(n,76),i)},f.Zi=function(t,n){return eq(this,t,u(n,76))},f.Ol=function(t,n){return $pe(this,t,n)},f.cd=function(t,n){var i,s,c,d,h,b,m,v,k;for(v=new Qb(n.gc()),c=n.Kc();c.Ob();)if(s=u(c.Pb(),76),d=s.Lk(),w1(this.e,d))(!d.Si()||!wL(this,d,s.md())&&!j5(v,s))&&Dn(v,s);else{for(k=cc(this.e.Dh(),d),i=u(this.g,124),h=!0,b=0;b=0;)if(n=t[this.c],this.k.am(n.Lk()))return this.j=this.f?n:n.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},x(ni,"BasicFeatureMap/FeatureEIterator",420),C(676,420,Eh,wU),f.ul=function(){return!0},x(ni,"BasicFeatureMap/ResolvingFeatureEIterator",676),C(968,496,CD,OUe),f.pj=function(){return this},x(ni,"EContentsEList/1",968),C(969,496,CD,eUe),f.ul=function(){return!1},x(ni,"EContentsEList/2",969),C(967,287,SD,_Ue),f.wl=function(t){},f.Ob=function(){return!1},f.Sb=function(){return!1},x(ni,"EContentsEList/FeatureIteratorImpl/1",967),C(840,593,Gs,Kle),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EDataTypeEList/Unsettable",840),C(1958,593,Gs,NUe),f.Si=function(){return!0},x(ni,"EDataTypeUniqueEList",1958),C(1959,840,Gs,BUe),f.Si=function(){return!0},x(ni,"EDataTypeUniqueEList/Unsettable",1959),C(147,83,Gs,Rc),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectContainmentEList/Resolving",147),C(1184,555,Gs,FUe),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectContainmentEList/Unsettable/Resolving",1184),C(766,14,Gs,Mce),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectContainmentWithInverseEList/Unsettable",766),C(1222,766,Gs,ZGe),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),C(757,505,Gs,Ule),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectEList/Unsettable",757),C(338,505,Gs,Ry),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectResolvingEList",338),C(1844,757,Gs,zUe),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectResolvingEList/Unsettable",1844),C(1527,1,{},OAe);var o6t;x(ni,"EObjectValidator",1527),C(559,505,Gs,UA),f.il=function(){return this.d},f.jl=function(){return this.b},f.Mj=function(){return!0},f.ml=function(){return!0},f.b=0,x(ni,"EObjectWithInverseEList",559),C(1225,559,Gs,eWe),f.ll=function(){return!0},x(ni,"EObjectWithInverseEList/ManyInverse",1225),C(635,559,Gs,NU),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EObjectWithInverseEList/Unsettable",635),C(1224,635,Gs,tWe),f.ll=function(){return!0},x(ni,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),C(767,559,Gs,Oce),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectWithInverseResolvingEList",767),C(32,767,Gs,jt),f.ll=function(){return!0},x(ni,"EObjectWithInverseResolvingEList/ManyInverse",32),C(768,635,Gs,_ce),f.nl=function(){return!0},f.Wi=function(t,n){return D4(this,t,u(n,58))},x(ni,"EObjectWithInverseResolvingEList/Unsettable",768),C(1223,768,Gs,nWe),f.ll=function(){return!0},x(ni,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),C(1185,632,Gs),f.Li=function(){return(this.b&1792)==0},f.Ni=function(){this.b|=1},f.kl=function(){return(this.b&4)!=0},f.Mj=function(){return(this.b&40)!=0},f.ll=function(){return(this.b&16)!=0},f.ml=function(){return(this.b&8)!=0},f.nl=function(){return(this.b&gv)!=0},f.al=function(){return(this.b&32)!=0},f.ol=function(){return(this.b&af)!=0},f.fk=function(t){return this.d?HYe(this.d,t):this.Lk().Hk().fk(t)},f.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},f.Si=function(){return(this.b&128)!=0},f.Gk=function(){var t;jn(this),this.b&2&&(ku(this.e)?(t=(this.b&1)!=0,this.b&=-2,mk(this,new rf(this.e,2,ci(this.e.Dh(),this.Lk()),t,!1))):this.b&=-2)},f.Yi=function(){return(this.b&1536)==0},f.b=0,x(ni,"EcoreEList/Generic",1185),C(1186,1185,Gs,qqe),f.Lk=function(){return this.a},x(ni,"EcoreEList/Dynamic",1186),C(765,66,ih,Goe),f.aj=function(t){return $I(this.a.a,t)},x(ni,"EcoreEMap/1",765),C(764,83,Gs,Mue),f.Mi=function(t,n){j$(this.b,u(n,136))},f.Oi=function(t,n){Vet(this.b)},f.Pi=function(t,n,i){var s;++(s=this.b,u(n,136),s).e},f.Qi=function(t,n){uV(this.b,u(n,136))},f.Ri=function(t,n,i){uV(this.b,u(i,136)),fe(i)===fe(n)&&u(i,136).Ci(PRt(u(n,136).ld())),j$(this.b,u(n,136))},x(ni,"EcoreEMap/DelegateEObjectContainmentEList",764),C(1220,141,Jwe,uet),x(ni,"EcoreEMap/Unsettable",1220),C(1221,764,Gs,rWe),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;jn(this),ku(this.e)?(t=this.a,this.a=!1,_r(this.e,new rf(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,x(ni,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),C(1189,215,u2,XVe),f.a=!1,f.b=!1,x(ni,"EcoreUtil/Copier",1189),C(759,1,co,AYe),f.Nb=function(t){To(this,t)},f.Ob=function(){return Knt(this)},f.Pb=function(){var t;return Knt(this),t=this.b,this.b=null,t},f.Qb=function(){this.a.Qb()},x(ni,"EcoreUtil/ProperContentIterator",759),C(1528,1527,{},O$e);var s6t;x(ni,"EcoreValidator",1528);var l6t;hi(ni,"FeatureMapUtil/Validator"),C(1295,1,{2041:1},_Ae),f.am=function(t){return!0},x(ni,"FeatureMapUtil/1",1295),C(773,1,{2041:1},age),f.am=function(t){var n;return this.c==t?!0:(n=Ve(pn(this.a,t)),n==null?Iin(this,t)?(AJe(this.a,t,(Gt(),S8)),!0):(AJe(this.a,t,(Gt(),kg)),!1):n==(Gt(),S8))},f.e=!1;var _te;x(ni,"FeatureMapUtil/BasicValidator",773),C(774,45,u2,zle),x(ni,"FeatureMapUtil/BasicValidator/Cache",774),C(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},BT),f.bd=function(t,n){xlt(this.c,this.b,t,n)},f.Fc=function(t){return $pe(this.c,this.b,t)},f.cd=function(t,n){return qsn(this.c,this.b,t,n)},f.Gc=function(t){return D7(this,t)},f.Gi=function(t,n){KKt(this.c,this.b,t,n)},f.Wk=function(t,n){return Ipe(this.c,this.b,t,n)},f.$i=function(t){return wj(this.c,this.b,t,!1)},f.Ii=function(){return dUe(this.c,this.b)},f.Ji=function(){return gRt(this.c,this.b)},f.Ki=function(t){return qHt(this.c,this.b,t)},f.Xk=function(t,n){return jGe(this,t,n)},f.$b=function(){F3(this)},f.Hc=function(t){return wL(this.c,this.b,t)},f.Ic=function(t){return VUt(this.c,this.b,t)},f.Xb=function(t){return wj(this.c,this.b,t,!0)},f.Fk=function(t){return this},f.dd=function(t){return tHt(this.c,this.b,t)},f.dc=function(){return nA(this)},f.Qj=function(){return!nP(this.c,this.b)},f.Kc=function(){return AKt(this.c,this.b)},f.ed=function(){return LKt(this.c,this.b)},f.fd=function(t){return fVt(this.c,this.b,t)},f.Ti=function(t,n){return Bct(this.c,this.b,t,n)},f.Ui=function(t,n){JHt(this.c,this.b,t,n)},f.gd=function(t){return wot(this.c,this.b,t)},f.Mc=function(t){return Xin(this.c,this.b,t)},f.hd=function(t,n){return qct(this.c,this.b,t,n)},f.Wb=function(t){Q$(this.c,this.b),D7(this,u(t,15))},f.gc=function(){return aVt(this.c,this.b)},f.Pc=function(){return rzt(this.c,this.b)},f.Qc=function(t){return nHt(this.c,this.b,t)},f.Ib=function(){var t,n;for(n=new B1,n.a+="[",t=dUe(this.c,this.b);ZW(t);)ps(n,B7(A$(t))),ZW(t)&&(n.a+=Xo);return n.a+="]",n.a},f.Gk=function(){Q$(this.c,this.b)},x(ni,"FeatureMapUtil/FeatureEList",509),C(644,39,dM,XG),f.hj=function(t){return TS(this,t)},f.mj=function(t){var n,i,s,c,d,h,b;switch(this.d){case 1:case 2:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0;break}case 3:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return this.d=5,n=new Qb(2),Dn(n,this.g),Dn(n,t.ij()),this.g=n,!0;break}}break}case 5:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return i=u(this.g,16),i.Fc(t.ij()),!0;break}}break}case 4:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return this.d=1,this.g=t.ij(),!0;break}case 4:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return this.d=6,b=new Qb(2),Dn(b,this.n),Dn(b,t.kj()),this.n=b,h=H(F(Bn,1),ur,28,15,[this.o,t.lj()]),this.g=h,!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),fe(d)===fe(this.c)&&TS(this,null)==t.hj(null))return i=u(this.n,16),i.Fc(t.kj()),h=u(this.g,53),s=be(Bn,ur,28,h.length+1,15,1),Ol(h,0,s,0,h.length),s[h.length]=t.lj(),this.g=s,!0;break}}break}}return!1},x(ni,"FeatureMapUtil/FeatureENotificationImpl",644),C(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},_A),f.Ol=function(t,n){return $pe(this.c,t,n)},f.Pl=function(t,n,i){return Ipe(this.c,t,n,i)},f.Ql=function(t,n,i){return Zpe(this.c,t,n,i)},f.Rl=function(){return this},f.Sl=function(t,n){return RP(this.c,t,n)},f.Tl=function(t){return u(wj(this.c,this.b,t,!1),76).Lk()},f.Ul=function(t){return u(wj(this.c,this.b,t,!1),76).md()},f.Vl=function(){return this.a},f.Wl=function(t){return!nP(this.c,t)},f.Xl=function(t,n){mj(this.c,t,n)},f.Yl=function(t){return det(this.c,t)},f.Zl=function(t){Grt(this.c,t)},x(ni,"FeatureMapUtil/FeatureFeatureMap",564),C(1294,1,OJ,BKe),f.Fk=function(t){return wj(this.b,this.a,-1,t)},f.Qj=function(){return!nP(this.b,this.a)},f.Wb=function(t){mj(this.b,this.a,t)},f.Gk=function(){Q$(this.b,this.a)},x(ni,"FeatureMapUtil/FeatureValue",1294);var C6,Rte,Ate,S6,c6t,_O=hi(_D,"AnyType");C(680,63,m1,xK),x(_D,"InvalidDatatypeValueException",680);var rF=hi(_D,j1t),RO=hi(_D,D1t),h8e=hi(_D,N1t),u6t,ml,p8e,lb,a6t,f6t,d6t,h6t,p6t,g6t,b6t,w6t,m6t,v6t,y6t,e3,k6t,t3,Ux,C6t,qw,AO,LO,S6t,Gx,Wx;C(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},ase),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.c&&(this.c=new vi(this,0)),this.c):(!this.c&&(this.c=new vi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)):(!this.c&&(this.c=new vi(this,0)),u(u(jl(this.c,(zr(),lb)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new vi(this,2)),this.b):(!this.b&&(this.b=new vi(this,2)),this.b.b)}return ca(this,t-Sn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t),n,i)},f.Uh=function(t,n,i){var s;switch(n){case 0:return!this.c&&(this.c=new vi(this,0)),PP(this.c,t,i);case 1:return(!this.c&&(this.c=new vi(this,0)),u(u(jl(this.c,(zr(),lb)),160),71)).Xk(t,i);case 2:return!this.b&&(this.b=new vi(this,2)),PP(this.b,t,i)}return s=u(Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),n),69),s.wk().Ak(this,hfe(this),n-Sn(this.ii()),t,i)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return sa(this,t-Sn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t))},f.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new vi(this,0)),oI(this.c,n);return;case 1:(!this.c&&(this.c=new vi(this,0)),u(u(jl(this.c,(zr(),lb)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new vi(this,2)),oI(this.b,n);return}da(this,t-Sn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t),n)},f.ii=function(){return zr(),p8e},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new vi(this,0)),jn(this.c);return;case 1:(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)).$b();return;case 2:!this.b&&(this.b=new vi(this,2)),jn(this.b);return}fa(this,t-Sn(this.ii()),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():this.ii(),t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Ma(lf(this)),t.a+=" (mixed: ",A7(t,this.c),t.a+=", anyAttribute: ",A7(t,this.b),t.a+=")",t.a)},x(Ni,"AnyTypeImpl",844),C(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},HAe),f.Lh=function(t,n,i){switch(t){case 0:return this.a;case 1:return this.b}return ca(this,t-Sn((zr(),e3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():e3,t),n,i)},f.Wh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return sa(this,t-Sn((zr(),e3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():e3,t))},f.bi=function(t,n){switch(t){case 0:iOt(this,Jn(n));return;case 1:sOt(this,Jn(n));return}da(this,t-Sn((zr(),e3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():e3,t),n)},f.ii=function(){return zr(),e3},f.ki=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}fa(this,t-Sn((zr(),e3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():e3,t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Ma(lf(this)),t.a+=" (data: ",ps(t,this.a),t.a+=", target: ",ps(t,this.b),t.a+=")",t.a)},f.a=null,f.b=null,x(Ni,"ProcessingInstructionImpl",681),C(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},mFe),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.c&&(this.c=new vi(this,0)),this.c):(!this.c&&(this.c=new vi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)):(!this.c&&(this.c=new vi(this,0)),u(u(jl(this.c,(zr(),lb)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new vi(this,2)),this.b):(!this.b&&(this.b=new vi(this,2)),this.b.b);case 3:return!this.c&&(this.c=new vi(this,0)),Jn(RP(this.c,(zr(),Ux),!0));case 4:return Ace(this.a,(!this.c&&(this.c=new vi(this,0)),Jn(RP(this.c,(zr(),Ux),!0))));case 5:return this.a}return ca(this,t-Sn((zr(),t3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():t3,t),n,i)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new vi(this,0)),Jn(RP(this.c,(zr(),Ux),!0))!=null;case 4:return Ace(this.a,(!this.c&&(this.c=new vi(this,0)),Jn(RP(this.c,(zr(),Ux),!0))))!=null;case 5:return!!this.a}return sa(this,t-Sn((zr(),t3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():t3,t))},f.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new vi(this,0)),oI(this.c,n);return;case 1:(!this.c&&(this.c=new vi(this,0)),u(u(jl(this.c,(zr(),lb)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new vi(this,2)),oI(this.b,n);return;case 3:kae(this,Jn(n));return;case 4:kae(this,Rce(this.a,n));return;case 5:oOt(this,u(n,156));return}da(this,t-Sn((zr(),t3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():t3,t),n)},f.ii=function(){return zr(),t3},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new vi(this,0)),jn(this.c);return;case 1:(!this.c&&(this.c=new vi(this,0)),u(jl(this.c,(zr(),lb)),160)).$b();return;case 2:!this.b&&(this.b=new vi(this,2)),jn(this.b);return;case 3:!this.c&&(this.c=new vi(this,0)),mj(this.c,(zr(),Ux),null);return;case 4:kae(this,Rce(this.a,null));return;case 5:this.a=null;return}fa(this,t-Sn((zr(),t3)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():t3,t))},x(Ni,"SimpleAnyTypeImpl",682),C(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},vFe),f.Lh=function(t,n,i){switch(t){case 0:return i?(!this.a&&(this.a=new vi(this,0)),this.a):(!this.a&&(this.a=new vi(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new jc((Mt(),ns),dl,this,1)),this.b):(!this.b&&(this.b=new jc((Mt(),ns),dl,this,1)),SI(this.b));case 2:return i?(!this.c&&(this.c=new jc((Mt(),ns),dl,this,2)),this.c):(!this.c&&(this.c=new jc((Mt(),ns),dl,this,2)),SI(this.c));case 3:return!this.a&&(this.a=new vi(this,0)),jl(this.a,(zr(),AO));case 4:return!this.a&&(this.a=new vi(this,0)),jl(this.a,(zr(),LO));case 5:return!this.a&&(this.a=new vi(this,0)),jl(this.a,(zr(),Gx));case 6:return!this.a&&(this.a=new vi(this,0)),jl(this.a,(zr(),Wx))}return ca(this,t-Sn((zr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t),n,i)},f.Uh=function(t,n,i){var s;switch(n){case 0:return!this.a&&(this.a=new vi(this,0)),PP(this.a,t,i);case 1:return!this.b&&(this.b=new jc((Mt(),ns),dl,this,1)),yA(this.b,t,i);case 2:return!this.c&&(this.c=new jc((Mt(),ns),dl,this,2)),yA(this.c,t,i);case 5:return!this.a&&(this.a=new vi(this,0)),jGe(jl(this.a,(zr(),Gx)),t,i)}return s=u(Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():(zr(),qw),n),69),s.wk().Ak(this,hfe(this),n-Sn((zr(),qw)),t,i)},f.Wh=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 vi(this,0)),!nA(jl(this.a,(zr(),AO)));case 4:return!this.a&&(this.a=new vi(this,0)),!nA(jl(this.a,(zr(),LO)));case 5:return!this.a&&(this.a=new vi(this,0)),!nA(jl(this.a,(zr(),Gx)));case 6:return!this.a&&(this.a=new vi(this,0)),!nA(jl(this.a,(zr(),Wx)))}return sa(this,t-Sn((zr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t))},f.bi=function(t,n){switch(t){case 0:!this.a&&(this.a=new vi(this,0)),oI(this.a,n);return;case 1:!this.b&&(this.b=new jc((Mt(),ns),dl,this,1)),n$(this.b,n);return;case 2:!this.c&&(this.c=new jc((Mt(),ns),dl,this,2)),n$(this.c,n);return;case 3:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),AO))),!this.a&&(this.a=new vi(this,0)),D7(jl(this.a,AO),u(n,16));return;case 4:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),LO))),!this.a&&(this.a=new vi(this,0)),D7(jl(this.a,LO),u(n,16));return;case 5:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),Gx))),!this.a&&(this.a=new vi(this,0)),D7(jl(this.a,Gx),u(n,16));return;case 6:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),Wx))),!this.a&&(this.a=new vi(this,0)),D7(jl(this.a,Wx),u(n,16));return}da(this,t-Sn((zr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t),n)},f.ii=function(){return zr(),qw},f.ki=function(t){switch(t){case 0:!this.a&&(this.a=new vi(this,0)),jn(this.a);return;case 1:!this.b&&(this.b=new jc((Mt(),ns),dl,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new jc((Mt(),ns),dl,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),AO)));return;case 4:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),LO)));return;case 5:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),Gx)));return;case 6:!this.a&&(this.a=new vi(this,0)),F3(jl(this.a,(zr(),Wx)));return}fa(this,t-Sn((zr(),qw)),Dt(this.j&2?(!this.k&&(this.k=new If),this.k).Nk():qw,t))},f.Ib=function(){var t;return this.j&4?lf(this):(t=new Ma(lf(this)),t.a+=" (mixed: ",A7(t,this.a),t.a+=")",t.a)},x(Ni,"XMLTypeDocumentRootImpl",683),C(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},RAe),f.ri=function(t,n){switch(t.hk()){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 n==null?null:Us(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Jn(n);case 6:return zAt(u(n,195));case 12:case 47:case 49:case 11:return $ut(this,t,n);case 13:return n==null?null:Jsn(u(n,247));case 15:case 14:return n==null?null:rNt(le(pe(n)));case 17:return Rit((zr(),n));case 18:return Rit(n);case 21:case 20:return n==null?null:iNt(u(n,161).a);case 27:return HAt(u(n,195));case 30:return Wrt((zr(),u(n,15)));case 31:return Wrt(u(n,15));case 40:return UAt((zr(),n));case 42:return Ait((zr(),n));case 43:return Ait(n);case 59:case 48:return KAt((zr(),n));default:throw B(new Qt(w8+t.xe()+xw))}},f.si=function(t){var n,i,s,c,d;switch(t.G==-1&&(t.G=(i=ju(t),i?sp(i.vi(),t):-1)),t.G){case 0:return n=new ase,n;case 1:return s=new HAe,s;case 2:return c=new mFe,c;case 3:return d=new vFe,d;default:throw B(new Qt(pJ+t.zb+xw))}},f.ti=function(t,n){var i,s,c,d,h,b,m,v,k,T,P,O,L,$,z,J;switch(t.hk()){case 5:case 52:case 4:return n;case 6:return Yqt(n);case 8:case 7:return n==null?null:jJt(n);case 9:return n==null?null:_I(zu((s=Nl(n,!0),s.length>0&&(Zt(0,s.length),s.charCodeAt(0)==43)?(Zt(1,s.length+1),s.substr(1)):s),-128,127)<<24>>24);case 10:return n==null?null:_I(zu((c=Nl(n,!0),c.length>0&&(Zt(0,c.length),c.charCodeAt(0)==43)?(Zt(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Jn(bw(this,(zr(),d6t),n));case 12:return Jn(bw(this,(zr(),h6t),n));case 13:return n==null?null:new Lse(Nl(n,!0));case 15:case 14:return onn(n);case 16:return Jn(bw(this,(zr(),p6t),n));case 17:return qnt((zr(),n));case 18:return qnt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Nl(n,!0);case 21:case 20:return gnn(n);case 22:return Jn(bw(this,(zr(),g6t),n));case 23:return Jn(bw(this,(zr(),b6t),n));case 24:return Jn(bw(this,(zr(),w6t),n));case 25:return Jn(bw(this,(zr(),m6t),n));case 26:return Jn(bw(this,(zr(),v6t),n));case 27:return Nqt(n);case 30:return Xnt((zr(),n));case 31:return Xnt(n);case 32:return n==null?null:Ae(zu((k=Nl(n,!0),k.length>0&&(Zt(0,k.length),k.charCodeAt(0)==43)?(Zt(1,k.length+1),k.substr(1)):k),jo,Mr));case 33:return n==null?null:new qp((T=Nl(n,!0),T.length>0&&(Zt(0,T.length),T.charCodeAt(0)==43)?(Zt(1,T.length+1),T.substr(1)):T));case 34:return n==null?null:Ae(zu((P=Nl(n,!0),P.length>0&&(Zt(0,P.length),P.charCodeAt(0)==43)?(Zt(1,P.length+1),P.substr(1)):P),jo,Mr));case 36:return n==null?null:p1(Cj((O=Nl(n,!0),O.length>0&&(Zt(0,O.length),O.charCodeAt(0)==43)?(Zt(1,O.length+1),O.substr(1)):O)));case 37:return n==null?null:p1(Cj((L=Nl(n,!0),L.length>0&&(Zt(0,L.length),L.charCodeAt(0)==43)?(Zt(1,L.length+1),L.substr(1)):L)));case 40:return $Xt((zr(),n));case 42:return Ynt((zr(),n));case 43:return Ynt(n);case 44:return n==null?null:new qp(($=Nl(n,!0),$.length>0&&(Zt(0,$.length),$.charCodeAt(0)==43)?(Zt(1,$.length+1),$.substr(1)):$));case 45:return n==null?null:new qp((z=Nl(n,!0),z.length>0&&(Zt(0,z.length),z.charCodeAt(0)==43)?(Zt(1,z.length+1),z.substr(1)):z));case 46:return Nl(n,!1);case 47:return Jn(bw(this,(zr(),y6t),n));case 59:case 48:return LXt((zr(),n));case 49:return Jn(bw(this,(zr(),k6t),n));case 50:return n==null?null:x5(zu((J=Nl(n,!0),J.length>0&&(Zt(0,J.length),J.charCodeAt(0)==43)?(Zt(1,J.length+1),J.substr(1)):J),ID,32767)<<16>>16);case 51:return n==null?null:x5(zu((d=Nl(n,!0),d.length>0&&(Zt(0,d.length),d.charCodeAt(0)==43)?(Zt(1,d.length+1),d.substr(1)):d),ID,32767)<<16>>16);case 53:return Jn(bw(this,(zr(),C6t),n));case 55:return n==null?null:x5(zu((h=Nl(n,!0),h.length>0&&(Zt(0,h.length),h.charCodeAt(0)==43)?(Zt(1,h.length+1),h.substr(1)):h),ID,32767)<<16>>16);case 56:return n==null?null:x5(zu((b=Nl(n,!0),b.length>0&&(Zt(0,b.length),b.charCodeAt(0)==43)?(Zt(1,b.length+1),b.substr(1)):b),ID,32767)<<16>>16);case 57:return n==null?null:p1(Cj((m=Nl(n,!0),m.length>0&&(Zt(0,m.length),m.charCodeAt(0)==43)?(Zt(1,m.length+1),m.substr(1)):m)));case 58:return n==null?null:p1(Cj((v=Nl(n,!0),v.length>0&&(Zt(0,v.length),v.charCodeAt(0)==43)?(Zt(1,v.length+1),v.substr(1)):v)));case 60:return n==null?null:Ae(zu((i=Nl(n,!0),i.length>0&&(Zt(0,i.length),i.charCodeAt(0)==43)?(Zt(1,i.length+1),i.substr(1)):i),jo,Mr));case 61:return n==null?null:Ae(zu(Nl(n,!0),jo,Mr));default:throw B(new Qt(w8+t.xe()+xw))}};var x6t,g8e,E6t,b8e;x(Ni,"XMLTypeFactoryImpl",2028),C(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},wqe),f.N=!1,f.O=!1;var T6t=!1;x(Ni,"XMLTypePackageImpl",594),C(1961,1,{851:1},AAe),f.Kk=function(){return Upe(),$6t},x(Ni,"XMLTypePackageImpl/1",1961),C(1970,1,mr,LAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/10",1970),C(1971,1,mr,$Ae),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/11",1971),C(1972,1,mr,jAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/12",1972),C(1973,1,mr,DAe),f.fk=function(t){return xm(t)},f.gk=function(t){return be(Bi,_e,345,t,7,1)},x(Ni,"XMLTypePackageImpl/13",1973),C(1974,1,mr,NAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/14",1974),C(1975,1,mr,BAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/15",1975),C(1976,1,mr,FAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/16",1976),C(1977,1,mr,zAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/17",1977),C(1978,1,mr,KAe),f.fk=function(t){return te(t,161)},f.gk=function(t){return be(x8,_e,161,t,0,1)},x(Ni,"XMLTypePackageImpl/18",1978),C(1979,1,mr,UAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/19",1979),C(1962,1,mr,GAe),f.fk=function(t){return te(t,857)},f.gk=function(t){return be(_O,Bt,857,t,0,1)},x(Ni,"XMLTypePackageImpl/2",1962),C(1980,1,mr,WAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/20",1980),C(1981,1,mr,VAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/21",1981),C(1982,1,mr,qAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/22",1982),C(1983,1,mr,XAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/23",1983),C(1984,1,mr,YAe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Kc,_e,195,t,0,2)},x(Ni,"XMLTypePackageImpl/24",1984),C(1985,1,mr,JAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/25",1985),C(1986,1,mr,QAe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/26",1986),C(1987,1,mr,ZAe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/27",1987),C(1988,1,mr,eLe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/28",1988),C(1989,1,mr,tLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/29",1989),C(1963,1,mr,nLe),f.fk=function(t){return te(t,681)},f.gk=function(t){return be(rF,Bt,2119,t,0,1)},x(Ni,"XMLTypePackageImpl/3",1963),C(1990,1,mr,rLe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Oo,_e,17,t,0,1)},x(Ni,"XMLTypePackageImpl/30",1990),C(1991,1,mr,iLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/31",1991),C(1992,1,mr,oLe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Ni,"XMLTypePackageImpl/32",1992),C(1993,1,mr,sLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/33",1993),C(1994,1,mr,lLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/34",1994),C(1995,1,mr,cLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/35",1995),C(1996,1,mr,uLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/36",1996),C(1997,1,mr,aLe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/37",1997),C(1998,1,mr,fLe),f.fk=function(t){return te(t,15)},f.gk=function(t){return be(ya,uv,15,t,0,1)},x(Ni,"XMLTypePackageImpl/38",1998),C(1999,1,mr,dLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/39",1999),C(1964,1,mr,hLe),f.fk=function(t){return te(t,682)},f.gk=function(t){return be(RO,Bt,2120,t,0,1)},x(Ni,"XMLTypePackageImpl/4",1964),C(2e3,1,mr,pLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/40",2e3),C(2001,1,mr,gLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/41",2001),C(2002,1,mr,bLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/42",2002),C(2003,1,mr,wLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/43",2003),C(2004,1,mr,mLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/44",2004),C(2005,1,mr,vLe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Ni,"XMLTypePackageImpl/45",2005),C(2006,1,mr,yLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/46",2006),C(2007,1,mr,kLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/47",2007),C(2008,1,mr,CLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/48",2008),C(2009,1,mr,SLe),f.fk=function(t){return te(t,191)},f.gk=function(t){return be(Iw,_e,191,t,0,1)},x(Ni,"XMLTypePackageImpl/49",2009),C(1965,1,mr,xLe),f.fk=function(t){return te(t,683)},f.gk=function(t){return be(h8e,Bt,2121,t,0,1)},x(Ni,"XMLTypePackageImpl/5",1965),C(2010,1,mr,ELe),f.fk=function(t){return te(t,168)},f.gk=function(t){return be(Tw,_e,168,t,0,1)},x(Ni,"XMLTypePackageImpl/50",2010),C(2011,1,mr,TLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/51",2011),C(2012,1,mr,ILe),f.fk=function(t){return te(t,17)},f.gk=function(t){return be(Oo,_e,17,t,0,1)},x(Ni,"XMLTypePackageImpl/52",2012),C(1966,1,mr,PLe),f.fk=function(t){return lo(t)},f.gk=function(t){return be(Je,_e,2,t,6,1)},x(Ni,"XMLTypePackageImpl/6",1966),C(1967,1,mr,MLe),f.fk=function(t){return te(t,195)},f.gk=function(t){return be(Kc,_e,195,t,0,2)},x(Ni,"XMLTypePackageImpl/7",1967),C(1968,1,mr,OLe),f.fk=function(t){return Sm(t)},f.gk=function(t){return be(xi,_e,485,t,8,1)},x(Ni,"XMLTypePackageImpl/8",1968),C(1969,1,mr,_Le),f.fk=function(t){return te(t,222)},f.gk=function(t){return be(Z4,_e,222,t,0,1)},x(Ni,"XMLTypePackageImpl/9",1969);var xd,Pp,Vx,iF,W;C(55,63,m1,er),x(pp,"RegEx/ParseException",55),C(836,1,{},foe),f.bm=function(t){return ti*16)throw B(new er(ir((Yn(),Xht))));i=i*16+c}while(!0);if(this.a!=125)throw B(new er(ir((Yn(),Yht))));if(i>k8)throw B(new er(ir((Yn(),Jht))));t=i}else{if(c=0,this.c!=0||(c=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(i=c,Er(this),this.c!=0||(c=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));i=i*16+c,t=i}break;case 117:if(s=0,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));n=n*16+s,t=n;break;case 118:if(Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,Er(this),this.c!=0||(s=M0(this.a))<0)throw B(new er(ir((Yn(),hp))));if(n=n*16+s,n>k8)throw B(new er(ir((Yn(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw B(new er(ir((Yn(),Qht))))}return t},f.dm=function(t){var n,i;switch(t){case 100:i=(this.e&32)==32?hg("Nd",!0):(Ir(),oF);break;case 68:i=(this.e&32)==32?hg("Nd",!1):(Ir(),C8e);break;case 119:i=(this.e&32)==32?hg("IsWord",!0):(Ir(),cC);break;case 87:i=(this.e&32)==32?hg("IsWord",!1):(Ir(),x8e);break;case 115:i=(this.e&32)==32?hg("IsSpace",!0):(Ir(),x6);break;case 83:i=(this.e&32)==32?hg("IsSpace",!1):(Ir(),S8e);break;default:throw B(new Xs((n=t,Q1t+n.toString(16))))}return i},f.em=function(t){var n,i,s,c,d,h,b,m,v,k,T,P;for(this.b=1,Er(this),n=null,this.c==0&&this.a==94?(Er(this),t?k=(Ir(),Ir(),new $u(5)):(n=(Ir(),Ir(),new $u(4)),Dl(n,0,k8),k=new $u(4))):k=(Ir(),Ir(),new $u(4)),c=!0;(P=this.c)!=1&&!(P==0&&this.a==93&&!c);){if(c=!1,i=this.a,s=!1,P==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:ov(k,this.dm(i)),s=!0;break;case 105:case 73:case 99:case 67:i=this.um(k,i),i<0&&(s=!0);break;case 112:case 80:if(T=H1e(this,i),!T)throw B(new er(ir((Yn(),IJ))));ov(k,T),s=!0;break;default:i=this.cm()}else if(P==20){if(h=_k(this.i,58,this.d),h<0)throw B(new er(ir((Yn(),Gwe))));if(b=!0,Lo(this.i,this.d)==94&&(++this.d,b=!1),d=oa(this.i,this.d,h),m=CQe(d,b,(this.e&512)==512),!m)throw B(new er(ir((Yn(),Uht))));if(ov(k,m),s=!0,h+1>=this.j||Lo(this.i,h+1)!=93)throw B(new er(ir((Yn(),Gwe))));this.d=h+2}if(Er(this),!s)if(this.c!=0||this.a!=45)Dl(k,i,i);else{if(Er(this),(P=this.c)==1)throw B(new er(ir((Yn(),yD))));P==0&&this.a==93?(Dl(k,i,i),Dl(k,45,45)):(v=this.a,P==10&&(v=this.cm()),Er(this),Dl(k,i,v))}(this.e&af)==af&&this.c==0&&this.a==44&&Er(this)}if(this.c==1)throw B(new er(ir((Yn(),yD))));return n&&(i9(n,k),k=n),e2(k),n9(k),this.b=0,Er(this),k},f.fm=function(){var t,n,i,s;for(i=this.em(!1);(s=this.c)!=7;)if(t=this.a,s==0&&(t==45||t==38)||s==4){if(Er(this),this.c!=9)throw B(new er(ir((Yn(),Wht))));if(n=this.em(!1),s==4)ov(i,n);else if(t==45)i9(i,n);else if(t==38)_ut(i,n);else throw B(new Xs("ASSERT"))}else throw B(new er(ir((Yn(),Vht))));return Er(this),i},f.gm=function(){var t,n;return t=this.a-48,n=(Ir(),Ir(),new LG(12,null,t)),!this.g&&(this.g=new pR),hR(this.g,new Woe(t)),Er(this),n},f.hm=function(){return Er(this),Ir(),M6t},f.im=function(){return Er(this),Ir(),P6t},f.jm=function(){throw B(new er(ir((Yn(),va))))},f.km=function(){throw B(new er(ir((Yn(),va))))},f.lm=function(){return Er(this),ZGt()},f.mm=function(){return Er(this),Ir(),_6t},f.nm=function(){return Er(this),Ir(),A6t},f.om=function(){var t;if(this.d>=this.j||((t=Lo(this.i,this.d++))&65504)!=64)throw B(new er(ir((Yn(),zht))));return Er(this),Ir(),Ir(),new wh(0,t-64)},f.pm=function(){return Er(this),nsn()},f.qm=function(){return Er(this),Ir(),L6t},f.rm=function(){var t;return t=(Ir(),Ir(),new wh(0,105)),Er(this),t},f.sm=function(){return Er(this),Ir(),R6t},f.tm=function(){return Er(this),Ir(),O6t},f.um=function(t,n){return this.cm()},f.vm=function(){return Er(this),Ir(),y8e},f.wm=function(){var t,n,i,s,c;if(this.d+1>=this.j)throw B(new er(ir((Yn(),Nht))));if(s=-1,n=null,t=Lo(this.i,this.d),49<=t&&t<=57){if(s=t-48,!this.g&&(this.g=new pR),hR(this.g,new Woe(s)),++this.d,Lo(this.i,this.d)!=41)throw B(new er(ir((Yn(),H0))));++this.d}else switch(t==63&&--this.d,Er(this),n=gge(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw B(new er(ir((Yn(),H0))));break;default:throw B(new er(ir((Yn(),Bht))))}if(Er(this),c=cw(this),i=null,c.e==2){if(c.Pm()!=2)throw B(new er(ir((Yn(),Fht))));i=c.Lm(1),c=c.Lm(0)}if(this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),Ir(),Ir(),new rZe(s,n,c,i)},f.xm=function(){return Er(this),Ir(),k8e},f.ym=function(){var t;if(Er(this),t=GA(24,cw(this)),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.zm=function(){var t;if(Er(this),t=GA(20,cw(this)),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Am=function(){var t;if(Er(this),t=GA(22,cw(this)),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Bm=function(){var t,n,i,s,c;for(t=0,i=0,n=-1;this.d=this.j)throw B(new er(ir((Yn(),Kwe))));if(n==45){for(++this.d;this.d=this.j)throw B(new er(ir((Yn(),Kwe))))}if(n==58){if(++this.d,Er(this),s=QVe(cw(this),t,i),this.c!=7)throw B(new er(ir((Yn(),H0))));Er(this)}else if(n==41)++this.d,Er(this),s=QVe(cw(this),t,i);else throw B(new er(ir((Yn(),Dht))));return s},f.Cm=function(){var t;if(Er(this),t=GA(21,cw(this)),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Dm=function(){var t;if(Er(this),t=GA(23,cw(this)),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Em=function(){var t,n;if(Er(this),t=this.f++,n=cG(cw(this),t),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),n},f.Fm=function(){var t;if(Er(this),t=cG(cw(this),0),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Gm=function(t){return Er(this),this.c==5?(Er(this),jA(t,(Ir(),Ir(),new jm(9,t)))):jA(t,(Ir(),Ir(),new jm(3,t)))},f.Hm=function(t){var n;return Er(this),n=(Ir(),Ir(),new j7(2)),this.c==5?(Er(this),R0(n,Xx),R0(n,t)):(R0(n,t),R0(n,Xx)),n},f.Im=function(t){return Er(this),this.c==5?(Er(this),Ir(),Ir(),new jm(9,t)):(Ir(),Ir(),new jm(3,t))},f.a=0,f.b=0,f.c=0,f.d=0,f.e=0,f.f=1,f.g=null,f.j=0,x(pp,"RegEx/RegexParser",836),C(1947,836,{},yFe),f.bm=function(t){return!1},f.cm=function(){return Spe(this)},f.dm=function(t){return W5(t)},f.em=function(t){return Tat(this)},f.fm=function(){throw B(new er(ir((Yn(),va))))},f.gm=function(){throw B(new er(ir((Yn(),va))))},f.hm=function(){throw B(new er(ir((Yn(),va))))},f.im=function(){throw B(new er(ir((Yn(),va))))},f.jm=function(){return Er(this),W5(67)},f.km=function(){return Er(this),W5(73)},f.lm=function(){throw B(new er(ir((Yn(),va))))},f.mm=function(){throw B(new er(ir((Yn(),va))))},f.nm=function(){throw B(new er(ir((Yn(),va))))},f.om=function(){return Er(this),W5(99)},f.pm=function(){throw B(new er(ir((Yn(),va))))},f.qm=function(){throw B(new er(ir((Yn(),va))))},f.rm=function(){return Er(this),W5(105)},f.sm=function(){throw B(new er(ir((Yn(),va))))},f.tm=function(){throw B(new er(ir((Yn(),va))))},f.um=function(t,n){return ov(t,W5(n)),-1},f.vm=function(){return Er(this),Ir(),Ir(),new wh(0,94)},f.wm=function(){throw B(new er(ir((Yn(),va))))},f.xm=function(){return Er(this),Ir(),Ir(),new wh(0,36)},f.ym=function(){throw B(new er(ir((Yn(),va))))},f.zm=function(){throw B(new er(ir((Yn(),va))))},f.Am=function(){throw B(new er(ir((Yn(),va))))},f.Bm=function(){throw B(new er(ir((Yn(),va))))},f.Cm=function(){throw B(new er(ir((Yn(),va))))},f.Dm=function(){throw B(new er(ir((Yn(),va))))},f.Em=function(){var t;if(Er(this),t=cG(cw(this),0),this.c!=7)throw B(new er(ir((Yn(),H0))));return Er(this),t},f.Fm=function(){throw B(new er(ir((Yn(),va))))},f.Gm=function(t){return Er(this),jA(t,(Ir(),Ir(),new jm(3,t)))},f.Hm=function(t){var n;return Er(this),n=(Ir(),Ir(),new j7(2)),R0(n,t),R0(n,Xx),n},f.Im=function(t){return Er(this),Ir(),Ir(),new jm(3,t)};var n3=null,sC=null;x(pp,"RegEx/ParserForXMLSchema",1947),C(122,1,C8,vb),f.Jm=function(t){throw B(new Xs("Not supported."))},f.Km=function(){return-1},f.Lm=function(t){return null},f.Mm=function(){return null},f.Nm=function(t){},f.Om=function(t){},f.Pm=function(){return 0},f.Ib=function(){return this.Qm(0)},f.Qm=function(t){return this.e==11?".":""},f.e=0;var w8e,lC,qx,I6t,m8e,Vv=null,oF,Lte=null,v8e,Xx,$te=null,y8e,k8e,C8e,S8e,x8e,P6t,x6,M6t,O6t,_6t,R6t,cC,A6t,L6t,dfn=x(pp,"RegEx/Token",122);C(138,122,{3:1,138:1,122:1},$u),f.Qm=function(t){var n,i,s;if(this.e==4)if(this==v8e)i=".";else if(this==oF)i="\\d";else if(this==cC)i="\\w";else if(this==x6)i="\\s";else{for(s=new B1,s.a+="[",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?ps(s,_P(this.b[n])):(ps(s,_P(this.b[n])),s.a+="-",ps(s,_P(this.b[n+1])));s.a+="]",i=s.a}else if(this==C8e)i="\\D";else if(this==x8e)i="\\W";else if(this==S8e)i="\\S";else{for(s=new B1,s.a+="[^",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?ps(s,_P(this.b[n])):(ps(s,_P(this.b[n])),s.a+="-",ps(s,_P(this.b[n+1])));s.a+="]",i=s.a}return i},f.a=!1,f.c=!1,x(pp,"RegEx/RangeToken",138),C(592,1,{592:1},Woe),f.a=0,x(pp,"RegEx/RegexParser/ReferencePosition",592),C(591,1,{3:1,591:1},$ze),f.Fb=function(t){var n;return t==null||!te(t,591)?!1:(n=u(t,591),Et(this.b,n.b)&&this.a==n.a)},f.Hb=function(){return Z1(this.b+"/"+bpe(this.a))},f.Ib=function(){return this.c.Qm(this.a)},f.a=0,x(pp,"RegEx/RegularExpression",591),C(228,122,C8,wh),f.Km=function(){return this.a},f.Qm=function(t){var n,i,s;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:s="\\"+DU(this.a&Di);break;case 12:s="\\f";break;case 10:s="\\n";break;case 13:s="\\r";break;case 9:s="\\t";break;case 27:s="\\e";break;default:this.a>=es?(i=(n=this.a>>>0,"0"+n.toString(16)),s="\\v"+oa(i,i.length-6,i.length)):s=""+DU(this.a&Di)}break;case 8:this==y8e||this==k8e?s=""+DU(this.a&Di):s="\\"+DU(this.a&Di);break;default:s=null}return s},f.a=0,x(pp,"RegEx/Token/CharToken",228),C(318,122,C8,jm),f.Lm=function(t){return this.a},f.Nm=function(t){this.b=t},f.Om=function(t){this.c=t},f.Pm=function(){return 1},f.Qm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}";else throw B(new Xs("Token#toString(): CLOSURE "+this.c+Xo+this.b));else if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*?";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}?";else throw B(new Xs("Token#toString(): NONGREEDYCLOSURE "+this.c+Xo+this.b));return n},f.b=0,f.c=0,x(pp,"RegEx/Token/ClosureToken",318),C(837,122,C8,$ue),f.Lm=function(t){return t==0?this.a:this.b},f.Pm=function(){return 2},f.Qm=function(t){var n;return this.b.e==3&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+":this.b.e==9&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+?":n=this.a.Qm(t)+(""+this.b.Qm(t)),n},x(pp,"RegEx/Token/ConcatToken",837),C(1945,122,C8,rZe),f.Lm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw B(new Xs("Internal Error: "+t))},f.Pm=function(){return this.b?2:1},f.Qm=function(t){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},f.c=0,x(pp,"RegEx/Token/ConditionToken",1945),C(1946,122,C8,VXe),f.Lm=function(t){return this.b},f.Pm=function(){return 1},f.Qm=function(t){return"(?"+(this.a==0?"":bpe(this.a))+(this.c==0?"":bpe(this.c))+":"+this.b.Qm(t)+")"},f.a=0,f.c=0,x(pp,"RegEx/Token/ModifierToken",1946),C(838,122,C8,Gue),f.Lm=function(t){return this.a},f.Pm=function(){return 1},f.Qm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.Qm(t)+")":n="("+this.a.Qm(t)+")";break;case 20:n="(?="+this.a.Qm(t)+")";break;case 21:n="(?!"+this.a.Qm(t)+")";break;case 22:n="(?<="+this.a.Qm(t)+")";break;case 23:n="(?"+this.a.Qm(t)+")"}return n},f.b=0,x(pp,"RegEx/Token/ParenToken",838),C(530,122,{3:1,122:1,530:1},LG),f.Mm=function(){return this.b},f.Qm=function(t){return this.e==12?"\\"+this.a:qtn(this.b)},f.a=0,x(pp,"RegEx/Token/StringToken",530),C(477,122,C8,j7),f.Jm=function(t){R0(this,t)},f.Lm=function(t){return u(Ub(this.a,t),122)},f.Pm=function(){return this.a?this.a.a.c.length:0},f.Qm=function(t){var n,i,s,c,d;if(this.e==1){if(this.a.a.c.length==2)n=u(Ub(this.a,0),122),i=u(Ub(this.a,1),122),i.e==3&&i.Lm(0)==n?c=n.Qm(t)+"+":i.e==9&&i.Lm(0)==n?c=n.Qm(t)+"+?":c=n.Qm(t)+(""+i.Qm(t));else{for(d=new B1,s=0;s=this.c.b:this.a<=this.c.b},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Vb=function(){return this.b-1},f.Qb=function(){throw B(new D1(opt))},f.a=0,f.b=0,x(ame,"ExclusiveRange/RangeIterator",258);var Ea=Kk(kD,"C"),Bn=Kk(_9,"I"),wu=Kk(B4,"Z"),Hg=Kk(R9,"J"),Kc=Kk(P9,"B"),uo=Kk(M9,"D"),qv=Kk(O9,"F"),r3=Kk(A9,"S"),hfn=hi("org.eclipse.elk.core.labels","ILabelManager"),E8e=hi(Yo,"DiagnosticChain"),T8e=hi(A1t,"ResourceSet"),I8e=x(Yo,"InvocationTargetException",null),j6t=(mR(),IHt),D6t=D6t=mJt;yUt(bOt),bUt("permProps",[[["locale","default"],[spt,"gecko1_8"]],[["locale","default"],[spt,"safari"]]]),D6t(null,"elk",null)}).call(this)}).call(this,typeof window<"u"?window:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(l,a,p){function g(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")}function w(I,M){if(!I)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:I}function y(I,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);I.prototype=Object.create(M&&M.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(I,M):I.__proto__=M)}var S=l("./elk-api.js").default,E=function(I){y(M,I);function M(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};g(this,M);var R=Object.assign({},_),j=!1;try{l.resolve("web-worker"),j=!0}catch{}if(_.workerUrl)if(j){var K=l("web-worker");R.workerFactory=function(Z){return new K(Z)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!R.workerFactory){var q=l("./elk-worker.min.js"),Q=q.Worker;R.workerFactory=function(Z){return new Q(Z)}}return w(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,R))}return M}(S);Object.defineProperty(a.exports,"__esModule",{value:!0}),a.exports=E,E.default=E},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(l,a,p){a.exports=Worker},{}]},{},[3])(3)})})(OPt);var aMn=OPt.exports;const fMn=_3(aMn),dMn=76,C7t=52;function hMn(){async function r(o,l){const a={algorithm:"mrtree","org.eclipse.elk.direction":"RIGHT","org.eclipse.elk.spacing.nodeNode":"400","org.eclipse.elk.spacing.edgeEdge":"20","org.eclipse.elk.spacing.edgeNode":"30","org.eclipse.elk.mrtree.spacing.level":"500","org.eclipse.elk.mrtree.compaction.strategy":"DOWN","org.eclipse.elk.mrtree.nodePlacement.strategy":"SIMPLE","org.eclipse.elk.mrtree.nodePlacement.bk.fixedAlignment":"BALANCED"},p=o.map(S=>({id:S.id,width:1e3,height:dMn+C7t*S.data.resource.properties.length,labels:[{text:S.data.resource.name}],properties:S.data.resource.properties.map(E=>({id:E.id,width:1e3,height:C7t,labels:[{text:E.name}]}))})),g=l.map(S=>({id:`${S.source}-${S.target}`,sources:[S.source],targets:[S.target]})),w={id:"root",layoutOptions:a,children:p,edges:g};return new fMn().layout(w).then(S=>{const E=o.map(I=>{const M=S.children.find(_=>_.id===I.id);return I.position={x:M.x,y:M.y},I});for(const I of l){const M=E.find(R=>R.id===I.source),_=E.find(R=>R.id===I.target);if(M.position.x<_.position.x){const R="right",j=I.sourceHandle;j.endsWith(R)||(I.sourceHandle=j.slice(0,-5),I.sourceHandle=`${I.sourceHandle}${R}`)}else{const R="left",j=I.sourceHandle;j.endsWith(R)||(I.sourceHandle=j.slice(0,-5),I.sourceHandle=`${I.sourceHandle}${R}`)}}return{nodes:E,edges:l}}).catch(console.error)}return{elkLayout:r}}const pMn={key:0,style:{color:"grey"}},gMn=bc({__name:"RdfTerm",props:{term:{}},setup(r){const o=r,l=ho(()=>h_(o.term)),a=ho(()=>o.term.termType!=="Literal"?null:o.term.language??null);function p(g){g.stopPropagation()}return(g,w)=>(ve(),wt("div",null,[o.term.termType==="NamedNode"?(ve(),wt("span",{key:0,class:"term",onMousedown:p,style:{cursor:"pointer"}},Il(l.value),33)):rr("",!0),o.term.termType==="BlankNode"?(ve(),wt("span",{key:1,class:"term",onMousedown:p,style:{cursor:"pointer"}},"["+Il(l.value)+"]",33)):rr("",!0),o.term.termType==="Literal"?(ve(),wt("span",{key:2,class:"term literal",onMousedown:p},[hb(Il(l.value),1),a.value?(ve(),wt("small",pMn,"@"+Il(a.value),1)):rr("",!0)],32)):rr("",!0)]))}}),bMn=$H(gMn,[["__scopeId","data-v-3bf480c8"]]),wMn={class:"resource-card"},mMn={class:"resource-card-header"},vMn={class:"resource-title"},yMn={class:"table-container"},kMn=["data-id"],CMn={class:"predicate"},SMn={class:"object"},xMn=["onClick"],EMn=bc({__name:"ResourceNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(r){const{fitView:o,nodeLookup:l}=_u(),a=r;function p(g){if(!(g.termType==="NamedNode"||g.termType==="BlankNode"))return;const w=l.value.get(g.value);w&&o({nodes:[w.id],duration:1e3,padding:.3})}return(g,w)=>(ve(),wt("div",null,[ar("div",wMn,[ar("header",mMn,[ar("h3",vMn,Il(a.data.resource.name),1)]),ar("div",yMn,[(ve(!0),wt(si,null,Mu(a.data.resource.properties,(y,S)=>(ve(),wt("div",{key:S,"data-id":y.id,class:"table-row"},[ar("div",null,[(ve(!0),wt(si,null,Mu(y.values,E=>(ve(),wt("div",{key:E.value,style:{position:"relative"}},[E.termType==="NamedNode"||E.termType==="BlankNode"?(ve(),Cn(Lr(j_),{key:0,type:"source",position:Lr(wi).Left,id:`${a.data.resource.id}-${y.id}-left`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):rr("",!0)]))),128))]),ar("div",CMn,Il(y.name),1),ar("div",SMn,[(ve(!0),wt(si,null,Mu(y.values,E=>(ve(),wt("div",{key:E.value,onClick:I=>p(E)},[ai(bMn,{term:E,env:a.data.env},null,8,["term","env"])],8,xMn))),128))]),(ve(!0),wt(si,null,Mu(y.values,E=>(ve(),wt("div",{key:E.value,style:{position:"relative"}},[E.termType==="NamedNode"||E.termType==="BlankNode"?(ve(),Cn(Lr(j_),{key:0,type:"source",position:Lr(wi).Right,id:`${a.data.resource.id}-${y.id}-right`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):rr("",!0)]))),128))],8,kMn))),128))])])]))}}),TMn=$H(EMn,[["__scopeId","data-v-0fcec032"]]),IMn=bc({__name:"GraphView",props:{dataset:{}},setup(r){const o=r,{elkLayout:l}=hMn(),{fitView:a,nodeLookup:p}=_u(),g=ho(()=>f9n(o.dataset)),w=ho(()=>d9n(g.value)),y=Co([]),S=Co([]);Os(g,async M=>{const _=M.map(K=>({id:K.id,type:"custom",position:{x:0,y:0},data:{resource:K}})),R=w.value.map(K=>({id:`${K.source}-${K.sourceProperty}-${K.target}`,source:K.source,target:K.target,sourceHandle:`${K.source}-${K.sourceProperty}-right`,animated:!1,data:K,type:"custom",markerEnd:Ire.ArrowClosed})),j=await l(_,R);y.value=j.nodes,S.value=j.edges,await om(),a()});function E(M){const _=M.node;S.value.filter(Q=>Q.source===_.id).flatMap(Q=>p.value.get(Q.target)).forEach(Q=>{(Q==null?void 0:Q.position.x)<_.position.x?S.value.filter(X=>X.source===_.id&&X.target===Q.id).forEach(X=>{var je;const ie=X.sourceHandle;ie!=null&&ie.endsWith("-right")&&(X.sourceHandle=`${_.id}-${(je=X.data)==null?void 0:je.sourceProperty}-left`)}):S.value.filter(X=>X.source===_.id&&X.target===Q.id).forEach(X=>{var je;const ie=X.sourceHandle;ie!=null&&ie.endsWith("-left")&&(X.sourceHandle=`${_.id}-${(je=X.data)==null?void 0:je.sourceProperty}-right`)})}),S.value.filter(Q=>Q.target===_.id).flatMap(Q=>{const Z=p.value.get(Q.source);return Z?[Z]:[]}).forEach(Q=>{Q.position.x<_.position.x?S.value.filter(X=>X.target===_.id&&X.source===Q.id).forEach(X=>{const ie=X.sourceHandle;ie&&ie.endsWith("-left")&&(X.sourceHandle=`${Q.id}-${X.data.sourceProperty}-right`)}):S.value.filter(X=>X.target===_.id&&X.source===Q.id).forEach(X=>{const ie=X.sourceHandle;ie&&(ie!=null&&ie.endsWith("-right"))&&(X.sourceHandle=`${Q.id}-${X.data.sourceProperty}-left`)})}),S.value=[...S.value]}function I(M){a({nodes:[M.edge.sourceNode.id],duration:1e3,padding:.3})}return(M,_)=>(ve(),Cn(Lr(lMn),{nodes:y.value,edges:S.value,"min-zoom":.05,"max-zoom":10,onNodeDrag:E,onEdgeClick:I},{"node-custom":ui(R=>[ai(TMn,m_(c7e(R)),null,16)]),"edge-custom":ui(R=>[ai(uMn,m_(c7e(R)),null,16)]),_:1},8,["nodes","edges"]))}});var _Pt={name:"ArrowDownIcon",extends:su};function PMn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",fill:"currentColor"},null,-1)]),16)}_Pt.render=PMn;var RPt={name:"ArrowUpIcon",extends:su};function MMn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",fill:"currentColor"},null,-1)]),16)}RPt.render=MMn;function Zz(r){"@babel/helpers - typeof";return Zz=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Zz(r)}function OMn(r,o,l){return(o=_Mn(o))in r?Object.defineProperty(r,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[o]=l,r}function _Mn(r){var o=RMn(r,"string");return Zz(o)=="symbol"?o:o+""}function RMn(r,o){if(Zz(r)!="object"||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var a=l.call(r,o||"default");if(Zz(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}var AMn=function(o){var l=o.dt;return` +.p-paginator { + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + background: `.concat(l("paginator.background"),`; + color: `).concat(l("paginator.color"),`; + padding: `).concat(l("paginator.padding"),`; + border-radius: `).concat(l("paginator.border.radius"),`; + gap: `).concat(l("paginator.gap"),`; +} + +.p-paginator-content { + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + gap: `).concat(l("paginator.gap"),`; +} + +.p-paginator-content-start { + margin-inline-end: auto; +} + +.p-paginator-content-end { + margin-inline-start: auto; +} + +.p-paginator-page, +.p-paginator-next, +.p-paginator-last, +.p-paginator-first, +.p-paginator-prev { + cursor: pointer; + display: inline-flex; + align-items: center; + justify-content: center; + line-height: 1; + user-select: none; + overflow: hidden; + position: relative; + background: `).concat(l("paginator.nav.button.background"),`; + border: 0 none; + color: `).concat(l("paginator.nav.button.color"),`; + min-width: `).concat(l("paginator.nav.button.width"),`; + height: `).concat(l("paginator.nav.button.height"),`; + transition: background `).concat(l("paginator.transition.duration"),", color ").concat(l("paginator.transition.duration"),", outline-color ").concat(l("paginator.transition.duration"),", box-shadow ").concat(l("paginator.transition.duration"),`; + border-radius: `).concat(l("paginator.nav.button.border.radius"),`; + padding: 0; + margin: 0; +} + +.p-paginator-page:focus-visible, +.p-paginator-next:focus-visible, +.p-paginator-last:focus-visible, +.p-paginator-first:focus-visible, +.p-paginator-prev:focus-visible { + box-shadow: `).concat(l("paginator.nav.button.focus.ring.shadow"),`; + outline: `).concat(l("paginator.nav.button.focus.ring.width")," ").concat(l("paginator.nav.button.focus.ring.style")," ").concat(l("paginator.nav.button.focus.ring.color"),`; + outline-offset: `).concat(l("paginator.nav.button.focus.ring.offset"),`; +} + +.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover, +.p-paginator-first:not(.p-disabled):hover, +.p-paginator-prev:not(.p-disabled):hover, +.p-paginator-next:not(.p-disabled):hover, +.p-paginator-last:not(.p-disabled):hover { + background: `).concat(l("paginator.nav.button.hover.background"),`; + color: `).concat(l("paginator.nav.button.hover.color"),`; +} + +.p-paginator-page.p-paginator-page-selected { + background: `).concat(l("paginator.nav.button.selected.background"),`; + color: `).concat(l("paginator.nav.button.selected.color"),`; +} + +.p-paginator-current { + color: `).concat(l("paginator.current.page.report.color"),`; +} + +.p-paginator-pages { + display: flex; + align-items: center; + gap: `).concat(l("paginator.gap"),`; +} + +.p-paginator-jtp-input .p-inputtext { + max-width: `).concat(l("paginator.jump.to.page.input.max.width"),`; +} + +.p-paginator-first:dir(rtl), +.p-paginator-prev:dir(rtl), +.p-paginator-next:dir(rtl), +.p-paginator-last:dir(rtl) { + transform: rotate(180deg); +} +`)},LMn={paginator:function(o){var l=o.instance,a=o.key;return["p-paginator p-component",OMn({"p-paginator-default":!l.hasBreakpoints()},"p-paginator-".concat(a),l.hasBreakpoints())]},content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:function(o){var l=o.instance;return["p-paginator-first",{"p-disabled":l.$attrs.disabled}]},firstIcon:"p-paginator-first-icon",prev:function(o){var l=o.instance;return["p-paginator-prev",{"p-disabled":l.$attrs.disabled}]},prevIcon:"p-paginator-prev-icon",next:function(o){var l=o.instance;return["p-paginator-next",{"p-disabled":l.$attrs.disabled}]},nextIcon:"p-paginator-next-icon",last:function(o){var l=o.instance;return["p-paginator-last",{"p-disabled":l.$attrs.disabled}]},lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:function(o){var l=o.props,a=o.pageLink;return["p-paginator-page",{"p-paginator-page-selected":a-1===l.page}]},current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInputText:"p-paginator-jtp-input"},$Mn=vs.extend({name:"paginator",theme:AMn,classes:LMn}),APt={name:"AngleDoubleLeftIcon",extends:su};function jMn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",fill:"currentColor"},null,-1)]),16)}APt.render=jMn;var LPt={name:"AngleDownIcon",extends:su};function DMn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",fill:"currentColor"},null,-1)]),16)}LPt.render=DMn;var $Pt={name:"AngleUpIcon",extends:su};function NMn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",fill:"currentColor"},null,-1)]),16)}$Pt.render=NMn;var BMn=function(o){var l=o.dt;return` +.p-inputnumber { + display: inline-flex; + position: relative; +} + +.p-inputnumber-button { + display: flex; + align-items: center; + justify-content: center; + flex: 0 0 auto; + cursor: pointer; + background: `.concat(l("inputnumber.button.background"),`; + color: `).concat(l("inputnumber.button.color"),`; + width: `).concat(l("inputnumber.button.width"),`; + transition: background `).concat(l("inputnumber.transition.duration"),", color ").concat(l("inputnumber.transition.duration"),", border-color ").concat(l("inputnumber.transition.duration"),", outline-color ").concat(l("inputnumber.transition.duration"),`; +} + +.p-inputnumber-button:hover { + background: `).concat(l("inputnumber.button.hover.background"),`; + color: `).concat(l("inputnumber.button.hover.color"),`; +} + +.p-inputnumber-button:active { + background: `).concat(l("inputnumber.button.active.background"),`; + color: `).concat(l("inputnumber.button.active.color"),`; +} + +.p-inputnumber-stacked .p-inputnumber-button { + position: relative; + border: 0 none; +} + +.p-inputnumber-stacked .p-inputnumber-button-group { + display: flex; + flex-direction: column; + position: absolute; + inset-block-start: 1px; + inset-inline-end: 1px; + height: calc(100% - 2px); + z-index: 1; +} + +.p-inputnumber-stacked .p-inputnumber-increment-button { + padding: 0; + border-start-end-radius: calc(`).concat(l("inputnumber.button.border.radius"),` - 1px); +} + +.p-inputnumber-stacked .p-inputnumber-decrement-button { + padding: 0; + border-end-end-radius: calc(`).concat(l("inputnumber.button.border.radius"),` - 1px); +} + +.p-inputnumber-stacked .p-inputnumber-button { + flex: 1 1 auto; + border: 0 none; +} + +.p-inputnumber-horizontal .p-inputnumber-button { + border: 1px solid `).concat(l("inputnumber.button.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-button:hover { + border-color: `).concat(l("inputnumber.button.hover.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-button:active { + border-color: `).concat(l("inputnumber.button.active.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-increment-button { + order: 3; + border-start-end-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-end-end-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-inline-start: 0 none; +} + +.p-inputnumber-horizontal .p-inputnumber-input { + order: 2; + border-radius: 0; +} + +.p-inputnumber-horizontal .p-inputnumber-decrement-button { + order: 1; + border-start-start-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-end-start-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-inline-end: 0 none; +} + +.p-floatlabel:has(.p-inputnumber-horizontal) label { + margin-inline-start: `).concat(l("inputnumber.button.width"),`; +} + +.p-inputnumber-vertical { + flex-direction: column; +} + +.p-inputnumber-vertical .p-inputnumber-button { + border: 1px solid `).concat(l("inputnumber.button.border.color"),`; + padding: `).concat(l("inputnumber.button.vertical.padding"),`; +} + +.p-inputnumber-vertical .p-inputnumber-button:hover { + border-color: `).concat(l("inputnumber.button.hover.border.color"),`; +} + +.p-inputnumber-vertical .p-inputnumber-button:active { + border-color: `).concat(l("inputnumber.button.active.border.color"),`; +} + +.p-inputnumber-vertical .p-inputnumber-increment-button { + order: 1; + border-start-start-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-start-end-radius: `).concat(l("inputnumber.button.border.radius"),`; + width: 100%; + border-block-end: 0 none; +} + +.p-inputnumber-vertical .p-inputnumber-input { + order: 2; + border-radius: 0; + text-align: center; +} + +.p-inputnumber-vertical .p-inputnumber-decrement-button { + order: 3; + border-end-start-radius: `).concat(l("inputnumber.button.border.radius"),`; + border-end-end-radius: `).concat(l("inputnumber.button.border.radius"),`; + width: 100%; + border-block-start: 0 none; +} + +.p-inputnumber-input { + flex: 1 1 auto; +} + +.p-inputnumber-fluid { + width: 100%; +} + +.p-inputnumber-fluid .p-inputnumber-input { + width: 1%; +} + +.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { + width: 100%; +} + +.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon { + font-size: `).concat(l("form.field.sm.font.size"),`; + width: `).concat(l("form.field.sm.font.size"),`; + height: `).concat(l("form.field.sm.font.size"),`; +} + +.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon { + font-size: `).concat(l("form.field.lg.font.size"),`; + width: `).concat(l("form.field.lg.font.size"),`; + height: `).concat(l("form.field.lg.font.size"),`; +} +`)},FMn={root:function(o){var l=o.instance,a=o.props;return["p-inputnumber p-component p-inputwrapper",{"p-inputwrapper-filled":l.$filled||a.allowEmpty===!1,"p-inputwrapper-focus":l.focused,"p-inputnumber-stacked":a.showButtons&&a.buttonLayout==="stacked","p-inputnumber-horizontal":a.showButtons&&a.buttonLayout==="horizontal","p-inputnumber-vertical":a.showButtons&&a.buttonLayout==="vertical","p-inputnumber-fluid":l.$fluid}]},pcInputText:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:function(o){var l=o.instance,a=o.props;return["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":a.showButtons&&a.max!==null&&l.maxBoundry()}]},decrementButton:function(o){var l=o.instance,a=o.props;return["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":a.showButtons&&a.min!==null&&l.minBoundry()}]}},zMn=vs.extend({name:"inputnumber",theme:BMn,classes:FMn}),HMn={name:"BaseInputNumber",extends:vH,props:{format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:"stacked"},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:"decimal"},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:"halfExpand",validator:function(o){return["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"].includes(o)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:zMn,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function eH(r){"@babel/helpers - typeof";return eH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},eH(r)}function S7t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function x7t(r){for(var o=1;or.length)&&(o=r.length);for(var l=0,a=Array(o);l1){var S=this.isNumeralChar(g.charAt(l))?l+1:l+2;this.$refs.input.$el.setSelectionRange(S,S)}else this.isNumeralChar(g.charAt(l-1))||o.preventDefault();break;case"ArrowRight":if(p>1){var E=a-1;this.$refs.input.$el.setSelectionRange(E,E)}else this.isNumeralChar(g.charAt(l))||o.preventDefault();break;case"Tab":case"Enter":case"NumpadEnter":w=this.validateValue(this.parseValue(g)),this.$refs.input.$el.value=this.formatValue(w),this.$refs.input.$el.setAttribute("aria-valuenow",w),this.updateModel(o,w);break;case"Backspace":{if(o.preventDefault(),l===a){var I=g.charAt(l-1),M=this.getDecimalCharIndexes(g),_=M.decimalCharIndex,R=M.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(I)){var j=this.getDecimalLength(g);if(this._group.test(I))this._group.lastIndex=0,w=g.slice(0,l-2)+g.slice(l-1);else if(this._decimal.test(I))this._decimal.lastIndex=0,j?this.$refs.input.$el.setSelectionRange(l-1,l-1):w=g.slice(0,l-1)+g.slice(l);else if(_>0&&l>_){var K=this.isDecimalMode()&&(this.minFractionDigits||0)0?w:""):w=g.slice(0,l-1)+g.slice(l)}this.updateValue(o,w,null,"delete-single")}else w=this.deleteRange(g,l,a),this.updateValue(o,w,null,"delete-range");break}case"Delete":if(o.preventDefault(),l===a){var q=g.charAt(l),Q=this.getDecimalCharIndexes(g),Z=Q.decimalCharIndex,X=Q.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(q)){var ie=this.getDecimalLength(g);if(this._group.test(q))this._group.lastIndex=0,w=g.slice(0,l)+g.slice(l+2);else if(this._decimal.test(q))this._decimal.lastIndex=0,ie?this.$refs.input.$el.setSelectionRange(l+1,l+1):w=g.slice(0,l)+g.slice(l+1);else if(Z>0&&l>Z){var je=this.isDecimalMode()&&(this.minFractionDigits||0)0?w:""):w=g.slice(0,l)+g.slice(l+1)}this.updateValue(o,w,null,"delete-back-single")}else w=this.deleteRange(g,l,a),this.updateValue(o,w,null,"delete-range");break;case"Home":o.preventDefault(),os(this.min)&&this.updateModel(o,this.min);break;case"End":o.preventDefault(),os(this.max)&&this.updateModel(o,this.max);break}}},onInputKeyPress:function(o){if(!this.readonly){var l=o.key,a=this.isDecimalSign(l),p=this.isMinusSign(l);o.code!=="Enter"&&o.preventDefault(),(Number(l)>=0&&Number(l)<=9||p||a)&&this.insert(o,l,{isDecimalSign:a,isMinusSign:p})}},onPaste:function(o){o.preventDefault();var l=(o.clipboardData||window.clipboardData).getData("Text");if(l){var a=this.parseValue(l);a!=null&&this.insert(o,a.toString())}},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(o){return this._minusSign.test(o)||o==="-"?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(o){return this._decimal.test(o)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode==="decimal"},getDecimalCharIndexes:function(o){var l=o.search(this._decimal);this._decimal.lastIndex=0;var a=o.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,""),p=a.search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:l,decimalCharIndexWithoutPrefix:p}},getCharIndexes:function(o){var l=o.search(this._decimal);this._decimal.lastIndex=0;var a=o.search(this._minusSign);this._minusSign.lastIndex=0;var p=o.search(this._suffix);this._suffix.lastIndex=0;var g=o.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:l,minusCharIndex:a,suffixCharIndex:p,currencyCharIndex:g}},insert:function(o,l){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},p=l.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&p!==-1)){var g=this.$refs.input.$el.selectionStart,w=this.$refs.input.$el.selectionEnd,y=this.$refs.input.$el.value.trim(),S=this.getCharIndexes(y),E=S.decimalCharIndex,I=S.minusCharIndex,M=S.suffixCharIndex,_=S.currencyCharIndex,R;if(a.isMinusSign)g===0&&(R=y,(I===-1||w!==0)&&(R=this.insertText(y,l,0,w)),this.updateValue(o,R,l,"insert"));else if(a.isDecimalSign)E>0&&g===E?this.updateValue(o,y,l,"insert"):E>g&&E0&&g>E){if(g+l.length-(E+1)<=j){var q=_>=g?_-1:M>=g?M:y.length;R=y.slice(0,g)+l+y.slice(g+l.length,q)+y.slice(q),this.updateValue(o,R,l,K)}}else R=this.insertText(y,l,g,w),this.updateValue(o,R,l,K)}}},insertText:function(o,l,a,p){var g=l==="."?l:l.split(".");if(g.length===2){var w=o.slice(a,p).search(this._decimal);return this._decimal.lastIndex=0,w>0?o.slice(0,a)+this.formatValue(l)+o.slice(p):this.formatValue(l)||o}else return p-a===o.length?this.formatValue(l):a===0?l+o.slice(p):p===o.length?o.slice(0,a)+l:o.slice(0,a)+l+o.slice(p)},deleteRange:function(o,l,a){var p;return a-l===o.length?p="":l===0?p=o.slice(a):a===o.length?p=o.slice(0,l):p=o.slice(0,l)+o.slice(a),p},initCursor:function(){var o=this.$refs.input.$el.selectionStart,l=this.$refs.input.$el.value,a=l.length,p=null,g=(this.prefixChar||"").length;l=l.replace(this._prefix,""),o=o-g;var w=l.charAt(o);if(this.isNumeralChar(w))return o+g;for(var y=o-1;y>=0;)if(w=l.charAt(y),this.isNumeralChar(w)){p=y+g;break}else y--;if(p!==null)this.$refs.input.$el.setSelectionRange(p+1,p+1);else{for(y=o;ythis.max?this.max:o},updateInput:function(o,l,a,p){l=l||"";var g=this.$refs.input.$el.value,w=this.formatValue(o),y=g.length;if(w!==p&&(w=this.concatValues(w,p)),y===0){this.$refs.input.$el.value=w,this.$refs.input.$el.setSelectionRange(0,0);var S=this.initCursor(),E=S+l.length;this.$refs.input.$el.setSelectionRange(E,E)}else{var I=this.$refs.input.$el.selectionStart,M=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=w;var _=w.length;if(a==="range-insert"){var R=this.parseValue((g||"").slice(0,I)),j=R!==null?R.toString():"",K=j.split("").join("(".concat(this.groupChar,")?")),q=new RegExp(K,"g");q.test(w);var Q=l.split("").join("(".concat(this.groupChar,")?")),Z=new RegExp(Q,"g");Z.test(w.slice(q.lastIndex)),M=q.lastIndex+Z.lastIndex,this.$refs.input.$el.setSelectionRange(M,M)}else if(_===y)a==="insert"||a==="delete-back-single"?this.$refs.input.$el.setSelectionRange(M+1,M+1):a==="delete-single"?this.$refs.input.$el.setSelectionRange(M-1,M-1):(a==="delete-range"||a==="spin")&&this.$refs.input.$el.setSelectionRange(M,M);else if(a==="delete-back-single"){var X=g.charAt(M-1),ie=g.charAt(M),je=y-_,et=this._group.test(ie);et&&je===1?M+=1:!et&&this.isNumeralChar(X)&&(M+=-1*je+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(M,M)}else if(g==="-"&&a==="insert"){this.$refs.input.$el.setSelectionRange(0,0);var mt=this.initCursor(),bt=mt+l.length+1;this.$refs.input.$el.setSelectionRange(bt,bt)}else M=M+(_-y),this.$refs.input.$el.setSelectionRange(M,M)}this.$refs.input.$el.setAttribute("aria-valuenow",o)},concatValues:function(o,l){if(o&&l){var a=l.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?a!==-1?o.replace(this.suffixChar,"").split(this._decimal)[0]+l.replace(this.suffixChar,"").slice(a)+this.suffixChar:o:a!==-1?o.split(this._decimal)[0]+l.slice(a):o}return o},getDecimalLength:function(o){if(o){var l=o.split(this._decimal);if(l.length===2)return l[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0},updateModel:function(o,l){this.writeValue(l,o)},onInputFocus:function(o){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==jkt()&&this.highlightOnFocus&&o.target.select(),this.$emit("focus",o)},onInputBlur:function(o){var l,a;this.focused=!1;var p=o.target,g=this.validateValue(this.parseValue(p.value));this.$emit("blur",{originalEvent:o,value:p.value}),(l=(a=this.formField).onBlur)===null||l===void 0||l.call(a,o),p.value=this.formatValue(g),p.setAttribute("aria-valuenow",g),this.updateModel(o,g),!this.disabled&&!this.readonly&&this.highlightOnFocus&&kne()},clearTimer:function(){this.timer&&clearInterval(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var o=this;return{mousedown:function(a){return o.onUpButtonMouseDown(a)},mouseup:function(a){return o.onUpButtonMouseUp(a)},mouseleave:function(a){return o.onUpButtonMouseLeave(a)},keydown:function(a){return o.onUpButtonKeyDown(a)},keyup:function(a){return o.onUpButtonKeyUp(a)}}},downButtonListeners:function(){var o=this;return{mousedown:function(a){return o.onDownButtonMouseDown(a)},mouseup:function(a){return o.onDownButtonMouseUp(a)},mouseleave:function(a){return o.onDownButtonMouseLeave(a)},keydown:function(a){return o.onDownButtonKeyDown(a)},keyup:function(a){return o.onDownButtonKeyUp(a)}}},formattedValue:function(){var o=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(o)},getFormatter:function(){return this.numberFormat}},components:{InputText:mE,AngleUpIcon:$Pt,AngleDownIcon:LPt}},JMn=["disabled"],QMn=["disabled"],ZMn=["disabled"],eOn=["disabled"];function tOn(r,o,l,a,p,g){var w=ki("InputText");return ve(),wt("span",Qe({class:r.cx("root")},r.ptmi("root")),[ai(w,{ref:"input",id:r.inputId,role:"spinbutton",class:yo([r.cx("pcInputText"),r.inputClass]),style:A1(r.inputStyle),value:g.formattedValue,"aria-valuemin":r.min,"aria-valuemax":r.max,"aria-valuenow":r.d_value,inputmode:r.mode==="decimal"&&!r.minFractionDigits?"numeric":"decimal",disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,"aria-labelledby":r.ariaLabelledby,"aria-label":r.ariaLabel,size:r.size,invalid:r.invalid,variant:r.variant,onInput:g.onUserInput,onKeydown:g.onInputKeyDown,onKeypress:g.onInputKeyPress,onPaste:g.onPaste,onClick:g.onInputClick,onFocus:g.onInputFocus,onBlur:g.onInputBlur,pt:r.ptm("pcInputText"),unstyled:r.unstyled},null,8,["id","class","style","value","aria-valuemin","aria-valuemax","aria-valuenow","inputmode","disabled","readonly","placeholder","aria-labelledby","aria-label","size","invalid","variant","onInput","onKeydown","onKeypress","onPaste","onClick","onFocus","onBlur","pt","unstyled"]),r.showButtons&&r.buttonLayout==="stacked"?(ve(),wt("span",Qe({key:0,class:r.cx("buttonGroup")},r.ptm("buttonGroup")),[Nr(r.$slots,"incrementbutton",{listeners:g.upButtonListeners},function(){return[ar("button",Qe({class:[r.cx("incrementButton"),r.incrementButtonClass]},Kte(g.upButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("incrementButton")),[Nr(r.$slots,r.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(ve(),Cn(ko(r.incrementIcon||r.incrementButtonIcon?"span":"AngleUpIcon"),Qe({class:[r.incrementIcon,r.incrementButtonIcon]},r.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,JMn)]}),Nr(r.$slots,"decrementbutton",{listeners:g.downButtonListeners},function(){return[ar("button",Qe({class:[r.cx("decrementButton"),r.decrementButtonClass]},Kte(g.downButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("decrementButton")),[Nr(r.$slots,r.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(ve(),Cn(ko(r.decrementIcon||r.decrementButtonIcon?"span":"AngleDownIcon"),Qe({class:[r.decrementIcon,r.decrementButtonIcon]},r.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,QMn)]})],16)):rr("",!0),Nr(r.$slots,"incrementbutton",{listeners:g.upButtonListeners},function(){return[r.showButtons&&r.buttonLayout!=="stacked"?(ve(),wt("button",Qe({key:0,class:[r.cx("incrementButton"),r.incrementButtonClass]},Kte(g.upButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("incrementButton")),[Nr(r.$slots,r.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(ve(),Cn(ko(r.incrementIcon||r.incrementButtonIcon?"span":"AngleUpIcon"),Qe({class:[r.incrementIcon,r.incrementButtonIcon]},r.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,ZMn)):rr("",!0)]}),Nr(r.$slots,"decrementbutton",{listeners:g.downButtonListeners},function(){return[r.showButtons&&r.buttonLayout!=="stacked"?(ve(),wt("button",Qe({key:0,class:[r.cx("decrementButton"),r.decrementButtonClass]},Kte(g.downButtonListeners),{disabled:r.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},r.ptm("decrementButton")),[Nr(r.$slots,r.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(ve(),Cn(ko(r.decrementIcon||r.decrementButtonIcon?"span":"AngleDownIcon"),Qe({class:[r.decrementIcon,r.decrementButtonIcon]},r.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,eOn)):rr("",!0)]})],16)}jPt.render=tOn;var DPt={name:"AngleDoubleRightIcon",extends:su};function nOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z",fill:"currentColor"},null,-1)]),16)}DPt.render=nOn;var NPt={name:"AngleRightIcon",extends:su};function rOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",fill:"currentColor"},null,-1)]),16)}NPt.render=rOn;var BPt={name:"AngleLeftIcon",extends:su};function iOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z",fill:"currentColor"},null,-1)]),16)}BPt.render=iOn;var oOn={name:"BasePaginator",extends:vl,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:$Mn,provide:function(){return{$pcPaginator:this,$parentInstance:this}}},FPt={name:"CurrentPageReport",hostName:"Paginator",extends:vl,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var o=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return o}}};function sOn(r,o,l,a,p,g){return ve(),wt("span",Qe({class:r.cx("current")},r.ptm("current")),Il(g.text),17)}FPt.render=sOn;var zPt={name:"FirstPageLink",hostName:"Paginator",extends:vl,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(o){return this.ptm(o,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:APt},directives:{ripple:O3}};function lOn(r,o,l,a,p,g){var w=hy("ripple");return dy((ve(),wt("button",Qe({class:r.cx("first"),type:"button"},g.getPTOptions("first"),{"data-pc-group-section":"pagebutton"}),[(ve(),Cn(ko(l.template||"AngleDoubleLeftIcon"),Qe({class:r.cx("firstIcon")},g.getPTOptions("firstIcon")),null,16,["class"]))],16)),[[w]])}zPt.render=lOn;var HPt={name:"JumpToPageDropdown",hostName:"Paginator",extends:vl,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(o){this.$emit("page-change",o)}},computed:{pageOptions:function(){for(var o=[],l=0;lr.length)&&(o=r.length);for(var l=0,a=Array(o);l0&&o&&this.d_first>=o&&this.changePage(this.pageCount-1)}},mounted:function(){this.createStyle()},methods:{changePage:function(o){var l=this.pageCount;if(o>=0&&o0?this.page+1:0},last:function(){return Math.min(this.d_first+this.rows,this.totalRecords)}},components:{CurrentPageReport:FPt,FirstPageLink:zPt,LastPageLink:UPt,NextPageLink:GPt,PageLinks:WPt,PrevPageLink:VPt,RowsPerPageDropdown:qPt,JumpToPageDropdown:HPt,JumpToPageInput:KPt}};function yOn(r,o,l,a,p,g){var w=ki("FirstPageLink"),y=ki("PrevPageLink"),S=ki("NextPageLink"),E=ki("LastPageLink"),I=ki("PageLinks"),M=ki("CurrentPageReport"),_=ki("RowsPerPageDropdown"),R=ki("JumpToPageDropdown"),j=ki("JumpToPageInput");return r.alwaysShow||g.pageLinks&&g.pageLinks.length>1?(ve(),wt("nav",m_(Qe({key:0},r.ptmi("paginatorContainer"))),[(ve(!0),wt(si,null,Mu(g.templateItems,function(K,q){return ve(),wt("div",Qe({key:q,ref_for:!0,ref:"paginator",class:r.cx("paginator",{key:q})},r.ptm("root")),[r.$slots.container?Nr(r.$slots,"container",{key:0,first:p.d_first+1,last:g.last,rows:p.d_rows,page:g.page,pageCount:g.pageCount,totalRecords:r.totalRecords,firstPageCallback:g.changePageToFirst,lastPageCallback:g.changePageToLast,prevPageCallback:g.changePageToPrev,nextPageCallback:g.changePageToNext,rowChangeCallback:g.onRowChange}):(ve(),wt(si,{key:1},[r.$slots.start?(ve(),wt("div",Qe({key:0,class:r.cx("contentStart"),ref_for:!0},r.ptm("contentStart")),[Nr(r.$slots,"start",{state:g.currentState})],16)):rr("",!0),ar("div",Qe({class:r.cx("content"),ref_for:!0},r.ptm("content")),[(ve(!0),wt(si,null,Mu(K,function(Q){return ve(),wt(si,{key:Q},[Q==="FirstPageLink"?(ve(),Cn(w,{key:0,"aria-label":g.getAriaLabel("firstPageLabel"),template:r.$slots.firsticon||r.$slots.firstpagelinkicon,onClick:o[0]||(o[0]=function(Z){return g.changePageToFirst(Z)}),disabled:g.isFirstPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="PrevPageLink"?(ve(),Cn(y,{key:1,"aria-label":g.getAriaLabel("prevPageLabel"),template:r.$slots.previcon||r.$slots.prevpagelinkicon,onClick:o[1]||(o[1]=function(Z){return g.changePageToPrev(Z)}),disabled:g.isFirstPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="NextPageLink"?(ve(),Cn(S,{key:2,"aria-label":g.getAriaLabel("nextPageLabel"),template:r.$slots.nexticon||r.$slots.nextpagelinkicon,onClick:o[2]||(o[2]=function(Z){return g.changePageToNext(Z)}),disabled:g.isLastPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="LastPageLink"?(ve(),Cn(E,{key:3,"aria-label":g.getAriaLabel("lastPageLabel"),template:r.$slots.lasticon||r.$slots.lastpagelinkicon,onClick:o[3]||(o[3]=function(Z){return g.changePageToLast(Z)}),disabled:g.isLastPage||g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):Q==="PageLinks"?(ve(),Cn(I,{key:4,"aria-label":g.getAriaLabel("pageLabel"),value:g.pageLinks,page:g.page,onClick:o[4]||(o[4]=function(Z){return g.changePageLink(Z)}),unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","value","page","unstyled","pt"])):Q==="CurrentPageReport"?(ve(),Cn(M,{key:5,"aria-live":"polite",template:r.currentPageReportTemplate,currentPage:g.currentPage,page:g.page,pageCount:g.pageCount,first:p.d_first,rows:p.d_rows,totalRecords:r.totalRecords,unstyled:r.unstyled,pt:r.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):Q==="RowsPerPageDropdown"&&r.rowsPerPageOptions?(ve(),Cn(_,{key:6,"aria-label":g.getAriaLabel("rowsPerPageLabel"),rows:p.d_rows,options:r.rowsPerPageOptions,onRowsChange:o[5]||(o[5]=function(Z){return g.onRowChange(Z)}),disabled:g.empty,templates:r.$slots,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):Q==="JumpToPageDropdown"?(ve(),Cn(R,{key:7,"aria-label":g.getAriaLabel("jumpToPageDropdownLabel"),page:g.page,pageCount:g.pageCount,onPageChange:o[6]||(o[6]=function(Z){return g.changePage(Z)}),disabled:g.empty,templates:r.$slots,unstyled:r.unstyled,pt:r.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):Q==="JumpToPageInput"?(ve(),Cn(j,{key:8,page:g.currentPage,onPageChange:o[7]||(o[7]=function(Z){return g.changePage(Z)}),disabled:g.empty,unstyled:r.unstyled,pt:r.pt},null,8,["page","disabled","unstyled","pt"])):rr("",!0)],64)}),128))],16),r.$slots.end?(ve(),wt("div",Qe({key:1,class:r.cx("contentEnd"),ref_for:!0},r.ptm("contentEnd")),[Nr(r.$slots,"end",{state:g.currentState})],16)):rr("",!0)],64))],16)}),128))],16)):rr("",!0)}XPt.render=yOn;var kOn=function(o){var l=o.dt;return` +.p-datatable { + position: relative; +} + +.p-datatable-table { + border-spacing: 0; + border-collapse: separate; + width: 100%; +} + +.p-datatable-scrollable > .p-datatable-table-container { + position: relative; +} + +.p-datatable-scrollable-table > .p-datatable-thead { + inset-block-start: 0; + z-index: 1; +} + +.p-datatable-scrollable-table > .p-datatable-frozen-tbody { + position: sticky; + z-index: 1; +} + +.p-datatable-scrollable-table > .p-datatable-tfoot { + inset-block-end: 0; + z-index: 1; +} + +.p-datatable-scrollable .p-datatable-frozen-column { + position: sticky; + background: `.concat(l("datatable.header.cell.background"),`; +} + +.p-datatable-scrollable th.p-datatable-frozen-column { + z-index: 1; +} + +.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead, +.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead { + background: `).concat(l("datatable.header.cell.background"),`; +} + +.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot, +.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot { + background: `).concat(l("datatable.footer.cell.background"),`; +} + +.p-datatable-flex-scrollable { + display: flex; + flex-direction: column; + height: 100%; +} + +.p-datatable-flex-scrollable > .p-datatable-table-container { + display: flex; + flex-direction: column; + flex: 1; + height: 100%; +} + +.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header { + position: sticky; + z-index: 1; +} + +.p-datatable-resizable-table > .p-datatable-thead > tr > th, +.p-datatable-resizable-table > .p-datatable-tfoot > tr > td, +.p-datatable-resizable-table > .p-datatable-tbody > tr > td { + overflow: hidden; + white-space: nowrap; +} + +.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) { + background-clip: padding-box; + position: relative; +} + +.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer { + display: none; +} + +.p-datatable-column-resizer { + display: block; + position: absolute; + inset-block-start: 0; + inset-inline-end: 0; + margin: 0; + width: `).concat(l("datatable.column.resizer.width"),`; + height: 100%; + padding: 0; + cursor: col-resize; + border: 1px solid transparent; +} + +.p-datatable-column-header-content { + display: flex; + align-items: center; + gap: `).concat(l("datatable.header.cell.gap"),`; +} + +.p-datatable-column-resize-indicator { + width: `).concat(l("datatable.resize.indicator.width"),`; + position: absolute; + z-index: 10; + display: none; + background: `).concat(l("datatable.resize.indicator.color"),`; +} + +.p-datatable-row-reorder-indicator-up, +.p-datatable-row-reorder-indicator-down { + position: absolute; + display: none; +} + +.p-datatable-reorderable-column, +.p-datatable-reorderable-row-handle { + cursor: move; +} + +.p-datatable-mask { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + z-index: 2; +} + +.p-datatable-inline-filter { + display: flex; + align-items: center; + width: 100%; + gap: `).concat(l("datatable.filter.inline.gap"),`; +} + +.p-datatable-inline-filter .p-datatable-filter-element-container { + flex: 1 1 auto; + width: 1%; +} + +.p-datatable-filter-overlay { + background: `).concat(l("datatable.filter.overlay.select.background"),`; + color: `).concat(l("datatable.filter.overlay.select.color"),`; + border: 1px solid `).concat(l("datatable.filter.overlay.select.border.color"),`; + border-radius: `).concat(l("datatable.filter.overlay.select.border.radius"),`; + box-shadow: `).concat(l("datatable.filter.overlay.select.shadow"),`; + min-width: 12.5rem; +} + +.p-datatable-filter-constraint-list { + margin: 0; + list-style: none; + display: flex; + flex-direction: column; + padding: `).concat(l("datatable.filter.constraint.list.padding"),`; + gap: `).concat(l("datatable.filter.constraint.list.gap"),`; +} + +.p-datatable-filter-constraint { + padding: `).concat(l("datatable.filter.constraint.padding"),`; + color: `).concat(l("datatable.filter.constraint.color"),`; + border-radius: `).concat(l("datatable.filter.constraint.border.radius"),`; + cursor: pointer; + transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, + box-shadow `).concat(l("datatable.transition.duration"),`; +} + +.p-datatable-filter-constraint-selected { + background: `).concat(l("datatable.filter.constraint.selected.background"),`; + color: `).concat(l("datatable.filter.constraint.selected.color"),`; +} + +.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover { + background: `).concat(l("datatable.filter.constraint.focus.background"),`; + color: `).concat(l("datatable.filter.constraint.focus.color"),`; +} + +.p-datatable-filter-constraint:focus-visible { + outline: 0 none; + background: `).concat(l("datatable.filter.constraint.focus.background"),`; + color: `).concat(l("datatable.filter.constraint.focus.color"),`; +} + +.p-datatable-filter-constraint-selected:focus-visible { + outline: 0 none; + background: `).concat(l("datatable.filter.constraint.selected.focus.background"),`; + color: `).concat(l("datatable.filter.constraint.selected.focus.color"),`; +} + +.p-datatable-filter-constraint-separator { + border-block-start: 1px solid `).concat(l("datatable.filter.constraint.separator.border.color"),`; +} + +.p-datatable-popover-filter { + display: inline-flex; + margin-inline-start: auto; +} + +.p-datatable-filter-overlay-popover { + background: `).concat(l("datatable.filter.overlay.popover.background"),`; + color: `).concat(l("datatable.filter.overlay.popover.color"),`; + border: 1px solid `).concat(l("datatable.filter.overlay.popover.border.color"),`; + border-radius: `).concat(l("datatable.filter.overlay.popover.border.radius"),`; + box-shadow: `).concat(l("datatable.filter.overlay.popover.shadow"),`; + min-width: 12.5rem; + padding: `).concat(l("datatable.filter.overlay.popover.padding"),`; + display: flex; + flex-direction: column; + gap: `).concat(l("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-operator-dropdown { + width: 100%; +} + +.p-datatable-filter-rule-list, +.p-datatable-filter-rule { + display: flex; + flex-direction: column; + gap: `).concat(l("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-rule { + border-block-end: 1px solid `).concat(l("datatable.filter.rule.border.color"),`; + padding-bottom: `).concat(l("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-rule:last-child { + border-block-end: 0 none; + padding-bottom: 0; +} + +.p-datatable-filter-add-rule-button { + width: 100%; +} + +.p-datatable-filter-remove-rule-button { + width: 100%; +} + +.p-datatable-filter-buttonbar { + padding: 0; + display: flex; + align-items: center; + justify-content: space-between; +} + +.p-datatable-virtualscroller-spacer { + display: flex; +} + +.p-datatable .p-virtualscroller .p-virtualscroller-loading { + transform: none !important; + min-height: 0; + position: sticky; + inset-block-start: 0; + inset-inline-start: 0; +} + +.p-datatable-paginator-top { + border-color: `).concat(l("datatable.paginator.top.border.color"),`; + border-style: solid; + border-width: `).concat(l("datatable.paginator.top.border.width"),`; +} + +.p-datatable-paginator-bottom { + border-color: `).concat(l("datatable.paginator.bottom.border.color"),`; + border-style: solid; + border-width: `).concat(l("datatable.paginator.bottom.border.width"),`; +} + +.p-datatable-header { + background: `).concat(l("datatable.header.background"),`; + color: `).concat(l("datatable.header.color"),`; + border-color: `).concat(l("datatable.header.border.color"),`; + border-style: solid; + border-width: `).concat(l("datatable.header.border.width"),`; + padding: `).concat(l("datatable.header.padding"),`; +} + +.p-datatable-footer { + background: `).concat(l("datatable.footer.background"),`; + color: `).concat(l("datatable.footer.color"),`; + border-color: `).concat(l("datatable.footer.border.color"),`; + border-style: solid; + border-width: `).concat(l("datatable.footer.border.width"),`; + padding: `).concat(l("datatable.footer.padding"),`; +} + +.p-datatable-header-cell { + padding: `).concat(l("datatable.header.cell.padding"),`; + background: `).concat(l("datatable.header.cell.background"),`; + border-color: `).concat(l("datatable.header.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + color: `).concat(l("datatable.header.cell.color"),`; + font-weight: normal; + text-align: start; + transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, + outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; +} + +.p-datatable-column-title { + font-weight: `).concat(l("datatable.column.title.font.weight"),`; +} + +.p-datatable-tbody > tr { + outline-color: transparent; + background: `).concat(l("datatable.row.background"),`; + color: `).concat(l("datatable.row.color"),`; + transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, + outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; +} + +.p-datatable-tbody > tr > td { + text-align: start; + border-color: `).concat(l("datatable.body.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + padding: `).concat(l("datatable.body.cell.padding"),`; +} + +.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { + background: `).concat(l("datatable.row.hover.background"),`; + color: `).concat(l("datatable.row.hover.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected { + background: `).concat(l("datatable.row.selected.background"),`; + color: `).concat(l("datatable.row.selected.color"),`; +} + +.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td { + border-block-end-color: `).concat(l("datatable.body.cell.selected.border.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected > td { + border-block-end-color: `).concat(l("datatable.body.cell.selected.border.color"),`; +} + +.p-datatable-tbody > tr:focus-visible, +.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected { + box-shadow: `).concat(l("datatable.row.focus.ring.shadow"),`; + outline: `).concat(l("datatable.row.focus.ring.width")," ").concat(l("datatable.row.focus.ring.style")," ").concat(l("datatable.row.focus.ring.color"),`; + outline-offset: `).concat(l("datatable.row.focus.ring.offset"),`; +} + +.p-datatable-tfoot > tr > td { + text-align: start; + padding: `).concat(l("datatable.footer.cell.padding"),`; + border-color: `).concat(l("datatable.footer.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + color: `).concat(l("datatable.footer.cell.color"),`; + background: `).concat(l("datatable.footer.cell.background"),`; +} + +.p-datatable-column-footer { + font-weight: `).concat(l("datatable.column.footer.font.weight"),`; +} + +.p-datatable-sortable-column { + cursor: pointer; + user-select: none; + outline-color: transparent; +} + +.p-datatable-column-title, +.p-datatable-sort-icon, +.p-datatable-sort-badge { + vertical-align: middle; +} + +.p-datatable-sort-icon { + color: `).concat(l("datatable.sort.icon.color"),`; + font-size: `).concat(l("datatable.sort.icon.size"),`; + width: `).concat(l("datatable.sort.icon.size"),`; + height: `).concat(l("datatable.sort.icon.size"),`; + transition: color `).concat(l("datatable.transition.duration"),`; +} + +.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover { + background: `).concat(l("datatable.header.cell.hover.background"),`; + color: `).concat(l("datatable.header.cell.hover.color"),`; +} + +.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon { + color: `).concat(l("datatable.sort.icon.hover.color"),`; +} + +.p-datatable-column-sorted { + background: `).concat(l("datatable.header.cell.selected.background"),`; + color: `).concat(l("datatable.header.cell.selected.color"),`; +} + +.p-datatable-column-sorted .p-datatable-sort-icon { + color: `).concat(l("datatable.header.cell.selected.color"),`; +} + +.p-datatable-sortable-column:focus-visible { + box-shadow: `).concat(l("datatable.header.cell.focus.ring.shadow"),`; + outline: `).concat(l("datatable.header.cell.focus.ring.width")," ").concat(l("datatable.header.cell.focus.ring.style")," ").concat(l("datatable.header.cell.focus.ring.color"),`; + outline-offset: `).concat(l("datatable.header.cell.focus.ring.offset"),`; +} + +.p-datatable-hoverable .p-datatable-selectable-row { + cursor: pointer; +} + +.p-datatable-tbody > tr.p-datatable-dragpoint-top > td { + box-shadow: inset 0 2px 0 0 `).concat(l("datatable.drop.point.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { + box-shadow: inset 0 -2px 0 0 `).concat(l("datatable.drop.point.color"),`; +} + +.p-datatable-loading-icon { + font-size: `).concat(l("datatable.loading.icon.size"),`; + width: `).concat(l("datatable.loading.icon.size"),`; + height: `).concat(l("datatable.loading.icon.size"),`; +} + +.p-datatable-gridlines .p-datatable-header { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-footer { + border-width: 0 1px 1px 1px; +} + +.p-datatable-gridlines .p-datatable-paginator-top { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-paginator-bottom { + border-width: 0 1px 1px 1px; +} + +.p-datatable-gridlines .p-datatable-thead > tr > th { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-thead > tr > th:last-child { + border-width: 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr > td { + border-width: 1px 0 0 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child { + border-width: 1px; +} + +.p-datatable-gridlines .p-datatable-tfoot > tr > td { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child { + border-width: 1px 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td { + border-width: 0 0 1px 1px; +} + +.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child { + border-width: 0 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td { + border-width: 0 0 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child { + border-width: 0 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td { + border-width: 0 0 0 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { + border-width: 0 1px 0 1px; +} + +.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { + background: `).concat(l("datatable.row.striped.background"),`; +} + +.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { + background: `).concat(l("datatable.row.selected.background"),`; + color: `).concat(l("datatable.row.selected.color"),`; +} + +.p-datatable-striped.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { + background: `).concat(l("datatable.row.hover.background"),`; + color: `).concat(l("datatable.row.hover.color"),`; +} + +.p-datatable.p-datatable-sm .p-datatable-header { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-thead > tr > th { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-footer { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-lg .p-datatable-header { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-thead > tr > th { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-footer { + padding: 1rem 1.25rem; +} + +.p-datatable-row-toggle-button { + display: inline-flex; + align-items: center; + justify-content: center; + overflow: hidden; + position: relative; + width: `).concat(l("datatable.row.toggle.button.size"),`; + height: `).concat(l("datatable.row.toggle.button.size"),`; + color: `).concat(l("datatable.row.toggle.button.color"),`; + border: 0 none; + background: transparent; + cursor: pointer; + border-radius: `).concat(l("datatable.row.toggle.button.border.radius"),`; + transition: background `).concat(l("datatable.transition.duration"),", color ").concat(l("datatable.transition.duration"),", border-color ").concat(l("datatable.transition.duration"),`, + outline-color `).concat(l("datatable.transition.duration"),", box-shadow ").concat(l("datatable.transition.duration"),`; + outline-color: transparent; + user-select: none; +} + +.p-datatable-row-toggle-button:enabled:hover { + color: `).concat(l("datatable.row.toggle.button.hover.color"),`; + background: `).concat(l("datatable.row.toggle.button.hover.background"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover { + background: `).concat(l("datatable.row.toggle.button.selected.hover.background"),`; + color: `).concat(l("datatable.row.toggle.button.selected.hover.color"),`; +} + +.p-datatable-row-toggle-button:focus-visible { + box-shadow: `).concat(l("datatable.row.toggle.button.focus.ring.shadow"),`; + outline: `).concat(l("datatable.row.toggle.button.focus.ring.width")," ").concat(l("datatable.row.toggle.button.focus.ring.style")," ").concat(l("datatable.row.toggle.button.focus.ring.color"),`; + outline-offset: `).concat(l("datatable.row.toggle.button.focus.ring.offset"),`; +} + +.p-datatable-row-toggle-icon:dir(rtl) { + transform: rotate(180deg); +} +`)},COn={root:function(o){var l=o.props;return["p-datatable p-component",{"p-datatable-hoverable":l.rowHover||l.selectionMode,"p-datatable-resizable":l.resizableColumns,"p-datatable-resizable-fit":l.resizableColumns&&l.columnResizeMode==="fit","p-datatable-scrollable":l.scrollable,"p-datatable-flex-scrollable":l.scrollable&&l.scrollHeight==="flex","p-datatable-striped":l.stripedRows,"p-datatable-gridlines":l.showGridlines,"p-datatable-sm":l.size==="small","p-datatable-lg":l.size==="large"}]},mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:function(o){var l=o.position;return"p-datatable-paginator-"+l},tableContainer:"p-datatable-table-container",table:function(o){var l=o.props;return["p-datatable-table",{"p-datatable-scrollable-table":l.scrollable,"p-datatable-resizable-table":l.resizableColumns,"p-datatable-resizable-table-fit":l.resizableColumns&&l.columnResizeMode==="fit"}]},thead:"p-datatable-thead",headerCell:function(o){var l=o.instance,a=o.props,p=o.column;return p&&!l.columnProp(p,"hidden")&&(a.rowGroupMode!=="subheader"||a.groupRowsBy!==l.columnProp(p,"field"))?["p-datatable-header-cell",{"p-datatable-frozen-column":l.columnProp(p,"frozen")}]:["p-datatable-header-cell",{"p-datatable-sortable-column":l.columnProp("sortable"),"p-datatable-resizable-column":l.resizableColumns,"p-datatable-column-sorted":l.isColumnSorted(),"p-datatable-frozen-column":l.columnProp("frozen"),"p-datatable-reorderable-column":a.reorderableColumns}]},columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:function(o){var l=o.props;return["p-datatable-filter",{"p-datatable-inline-filter":l.display==="row","p-datatable-popover-filter":l.display==="menu"}]},filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:function(o){o.instance;var l=o.props;return["p-datatable-filter-overlay p-component",{"p-datatable-filter-overlay-popover":l.display==="menu"}]},filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:function(o){var l=o.instance,a=o.matchMode;return["p-datatable-filter-constraint",{"p-datatable-filter-constraint-selected":a&&l.isRowMatchModeSelected(a.value)}]},filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:function(o){var l=o.props;return l.frozenRow?"p-datatable-tbody p-datatable-frozen-tbody":"p-datatable-tbody"},rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",row:function(o){var l=o.instance,a=o.props,p=o.index,g=o.columnSelectionMode,w=[];return a.selectionMode&&w.push("p-datatable-selectable-row"),a.selection&&w.push({"p-datatable-row-selected":g?l.isSelected&&l.$parentInstance.$parentInstance.highlightOnSelect:l.isSelected}),a.contextMenuSelection&&w.push({"p-datatable-contextmenu-row-selected":l.isSelectedWithContextMenu}),w.push(p%2===0?"p-row-even":"p-row-odd"),w},rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:function(o){var l=o.instance;return[{"p-datatable-frozen-column":l.columnProp("frozen")}]},reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:function(o){var l=o.instance;return[{"p-datatable-frozen-column":l.columnProp("frozen")}]},virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-footer",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down"},SOn={tableContainer:{overflow:"auto"},thead:{position:"sticky"},tfoot:{position:"sticky"}},xOn=vs.extend({name:"datatable",theme:kOn,classes:COn,inlineStyles:SOn}),Bxe={name:"ChevronRightIcon",extends:su};function EOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1)]),16)}Bxe.render=EOn;var YPt={name:"BarsIcon",extends:su};function TOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"},null,-1)]),16)}YPt.render=TOn;var JPt={name:"PencilIcon",extends:su};function IOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",fill:"currentColor"},null,-1)]),16)}JPt.render=IOn;var QPt={name:"MinusIcon",extends:su};function POn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}QPt.render=POn;var MOn=function(o){var l=o.dt;return` +.p-checkbox { + position: relative; + display: inline-flex; + user-select: none; + vertical-align: bottom; + width: `.concat(l("checkbox.width"),`; + height: `).concat(l("checkbox.height"),`; +} + +.p-checkbox-input { + cursor: pointer; + appearance: none; + position: absolute; + inset-block-start: 0; + inset-inline-start: 0; + width: 100%; + height: 100%; + padding: 0; + margin: 0; + opacity: 0; + z-index: 1; + outline: 0 none; + border: 1px solid transparent; + border-radius: `).concat(l("checkbox.border.radius"),`; +} + +.p-checkbox-box { + display: flex; + justify-content: center; + align-items: center; + border-radius: `).concat(l("checkbox.border.radius"),`; + border: 1px solid `).concat(l("checkbox.border.color"),`; + background: `).concat(l("checkbox.background"),`; + width: `).concat(l("checkbox.width"),`; + height: `).concat(l("checkbox.height"),`; + transition: background `).concat(l("checkbox.transition.duration"),", color ").concat(l("checkbox.transition.duration"),", border-color ").concat(l("checkbox.transition.duration"),", box-shadow ").concat(l("checkbox.transition.duration"),", outline-color ").concat(l("checkbox.transition.duration"),`; + outline-color: transparent; + box-shadow: `).concat(l("checkbox.shadow"),`; +} + +.p-checkbox-icon { + transition-duration: `).concat(l("checkbox.transition.duration"),`; + color: `).concat(l("checkbox.icon.color"),`; + font-size: `).concat(l("checkbox.icon.size"),`; + width: `).concat(l("checkbox.icon.size"),`; + height: `).concat(l("checkbox.icon.size"),`; +} + +.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + border-color: `).concat(l("checkbox.hover.border.color"),`; +} + +.p-checkbox-checked .p-checkbox-box { + border-color: `).concat(l("checkbox.checked.border.color"),`; + background: `).concat(l("checkbox.checked.background"),`; +} + +.p-checkbox-checked .p-checkbox-icon { + color: `).concat(l("checkbox.icon.checked.color"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + background: `).concat(l("checkbox.checked.hover.background"),`; + border-color: `).concat(l("checkbox.checked.hover.border.color"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon { + color: `).concat(l("checkbox.icon.checked.hover.color"),`; +} + +.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { + border-color: `).concat(l("checkbox.focus.border.color"),`; + box-shadow: `).concat(l("checkbox.focus.ring.shadow"),`; + outline: `).concat(l("checkbox.focus.ring.width")," ").concat(l("checkbox.focus.ring.style")," ").concat(l("checkbox.focus.ring.color"),`; + outline-offset: `).concat(l("checkbox.focus.ring.offset"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { + border-color: `).concat(l("checkbox.checked.focus.border.color"),`; +} + +.p-checkbox.p-invalid > .p-checkbox-box { + border-color: `).concat(l("checkbox.invalid.border.color"),`; +} + +.p-checkbox.p-variant-filled .p-checkbox-box { + background: `).concat(l("checkbox.filled.background"),`; +} + +.p-checkbox-checked.p-variant-filled .p-checkbox-box { + background: `).concat(l("checkbox.checked.background"),`; +} + +.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + background: `).concat(l("checkbox.checked.hover.background"),`; +} + +.p-checkbox.p-disabled { + opacity: 1; +} + +.p-checkbox.p-disabled .p-checkbox-box { + background: `).concat(l("checkbox.disabled.background"),`; + border-color: `).concat(l("checkbox.checked.disabled.border.color"),`; +} + +.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { + color: `).concat(l("checkbox.icon.disabled.color"),`; +} + +.p-checkbox-sm, +.p-checkbox-sm .p-checkbox-box { + width: `).concat(l("checkbox.sm.width"),`; + height: `).concat(l("checkbox.sm.height"),`; +} + +.p-checkbox-sm .p-checkbox-icon { + font-size: `).concat(l("checkbox.icon.sm.size"),`; + width: `).concat(l("checkbox.icon.sm.size"),`; + height: `).concat(l("checkbox.icon.sm.size"),`; +} + +.p-checkbox-lg, +.p-checkbox-lg .p-checkbox-box { + width: `).concat(l("checkbox.lg.width"),`; + height: `).concat(l("checkbox.lg.height"),`; +} + +.p-checkbox-lg .p-checkbox-icon { + font-size: `).concat(l("checkbox.icon.lg.size"),`; + width: `).concat(l("checkbox.icon.lg.size"),`; + height: `).concat(l("checkbox.icon.lg.size"),`; +} +`)},OOn={root:function(o){var l=o.instance,a=o.props;return["p-checkbox p-component",{"p-checkbox-checked":l.checked,"p-disabled":a.disabled,"p-invalid":l.$pcCheckboxGroup?l.$pcCheckboxGroup.$invalid:l.$invalid,"p-variant-filled":l.$variant==="filled","p-checkbox-sm p-inputfield-sm":a.size==="small","p-checkbox-lg p-inputfield-lg":a.size==="large"}]},box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},_On=vs.extend({name:"checkbox",theme:MOn,classes:OOn}),ROn={name:"BaseCheckbox",extends:vH,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:_On,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function AOn(r){return DOn(r)||jOn(r)||$On(r)||LOn()}function LOn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $On(r,o){if(r){if(typeof r=="string")return ISe(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?ISe(r,o):void 0}}function jOn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function DOn(r){if(Array.isArray(r))return ISe(r)}function ISe(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l .p-radiobutton-box { + border-color: `).concat(l("radiobutton.invalid.border.color"),`; +} + +.p-radiobutton.p-variant-filled .p-radiobutton-box { + background: `).concat(l("radiobutton.filled.background"),`; +} + +.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box { + background: `).concat(l("radiobutton.checked.background"),`; +} + +.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box { + background: `).concat(l("radiobutton.checked.hover.background"),`; +} + +.p-radiobutton.p-disabled { + opacity: 1; +} + +.p-radiobutton.p-disabled .p-radiobutton-box { + background: `).concat(l("radiobutton.disabled.background"),`; + border-color: `).concat(l("radiobutton.checked.disabled.border.color"),`; +} + +.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon { + background: `).concat(l("radiobutton.icon.disabled.color"),`; +} + +.p-radiobutton-sm, +.p-radiobutton-sm .p-radiobutton-box { + width: `).concat(l("radiobutton.sm.width"),`; + height: `).concat(l("radiobutton.sm.height"),`; +} + +.p-radiobutton-sm .p-radiobutton-icon { + font-size: `).concat(l("radiobutton.icon.sm.size"),`; + width: `).concat(l("radiobutton.icon.sm.size"),`; + height: `).concat(l("radiobutton.icon.sm.size"),`; +} + +.p-radiobutton-lg, +.p-radiobutton-lg .p-radiobutton-box { + width: `).concat(l("radiobutton.lg.width"),`; + height: `).concat(l("radiobutton.lg.height"),`; +} + +.p-radiobutton-lg .p-radiobutton-icon { + font-size: `).concat(l("radiobutton.icon.lg.size"),`; + width: `).concat(l("radiobutton.icon.lg.size"),`; + height: `).concat(l("radiobutton.icon.lg.size"),`; +} +`)},HOn={root:function(o){var l=o.instance,a=o.props;return["p-radiobutton p-component",{"p-radiobutton-checked":l.checked,"p-disabled":a.disabled,"p-invalid":l.$pcRadioButtonGroup?l.$pcRadioButtonGroup.$invalid:l.$invalid,"p-variant-filled":l.$variant==="filled","p-radiobutton-sm p-inputfield-sm":a.size==="small","p-radiobutton-lg p-inputfield-lg":a.size==="large"}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},KOn=vs.extend({name:"radiobutton",theme:zOn,classes:HOn}),UOn={name:"BaseRadioButton",extends:vH,props:{value:null,binary:Boolean,readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:KOn,provide:function(){return{$pcRadioButton:this,$parentInstance:this}}},ZPt={name:"RadioButton",extends:UOn,inheritAttrs:!1,emits:["change","focus","blur"],inject:{$pcRadioButtonGroup:{default:void 0}},methods:{getPTOptions:function(o){var l=o==="root"?this.ptmi:this.ptm;return l(o,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(o){if(!this.disabled&&!this.readonly){var l=this.binary?!this.checked:this.value;this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.writeValue(l,o):this.writeValue(l,o),this.$emit("change",o)}},onFocus:function(o){this.$emit("focus",o)},onBlur:function(o){var l,a;this.$emit("blur",o),(l=(a=this.formField).onBlur)===null||l===void 0||l.call(a,o)}},computed:{groupName:function(){return this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.groupName:this.$formName},checked:function(){var o=this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.d_value:this.d_value;return o!=null&&(this.binary?!!o:VE(o,this.value))}}},GOn=["data-p-checked","data-p-disabled"],WOn=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label","aria-invalid"];function VOn(r,o,l,a,p,g){return ve(),wt("div",Qe({class:r.cx("root")},g.getPTOptions("root"),{"data-p-checked":g.checked,"data-p-disabled":r.disabled}),[ar("input",Qe({id:r.inputId,type:"radio",class:[r.cx("input"),r.inputClass],style:r.inputStyle,value:r.value,name:g.groupName,checked:g.checked,tabindex:r.tabindex,disabled:r.disabled,readonly:r.readonly,"aria-labelledby":r.ariaLabelledby,"aria-label":r.ariaLabel,"aria-invalid":r.invalid||void 0,onFocus:o[0]||(o[0]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:o[1]||(o[1]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onChange:o[2]||(o[2]=function(){return g.onChange&&g.onChange.apply(g,arguments)})},g.getPTOptions("input")),null,16,WOn),ar("div",Qe({class:r.cx("box")},g.getPTOptions("box")),[ar("div",Qe({class:r.cx("icon")},g.getPTOptions("icon")),null,16)],16)],16,GOn)}ZPt.render=VOn;var eMt={name:"FilterIcon",extends:su};function qOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1)]),16)}eMt.render=qOn;var tMt={name:"FilterSlashIcon",extends:su};function XOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z",fill:"currentColor"},null,-1)]),16)}tMt.render=XOn;var nMt={name:"PlusIcon",extends:su};function YOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1)]),16)}nMt.render=YOn;var rMt={name:"TrashIcon",extends:su};function JOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",fill:"currentColor"},null,-1)]),16)}rMt.render=JOn;var PSe={name:"SortAltIcon",extends:su};function QOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z",fill:"currentColor"},null,-1),ar("path",{d:"M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z",fill:"currentColor"},null,-1),ar("path",{d:"M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z",fill:"currentColor"},null,-1),ar("path",{d:"M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",fill:"currentColor"},null,-1)]),16)}PSe.render=QOn;var MSe={name:"SortAmountDownIcon",extends:su};function ZOn(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z",fill:"currentColor"},null,-1)]),16)}MSe.render=ZOn;var OSe={name:"SortAmountUpAltIcon",extends:su};function e_n(r,o,l,a,p,g){return ve(),wt("svg",Qe({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.pti()),o[0]||(o[0]=[ar("path",{d:"M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",fill:"currentColor"},null,-1)]),16)}OSe.render=e_n;var t_n={name:"BaseDataTable",extends:vl,props:{value:{type:Array,default:null},dataKey:{type:[String,Function],default:null},rows:{type:Number,default:0},first:{type:Number,default:0},totalRecords:{type:Number,default:0},paginator:{type:Boolean,default:!1},paginatorPosition:{type:String,default:"bottom"},alwaysShowPaginator:{type:Boolean,default:!0},paginatorTemplate:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},currentPageReportTemplate:{type:String,default:"({currentPage} of {totalPages})"},lazy:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},sortField:{type:[String,Function],default:null},sortOrder:{type:Number,default:null},defaultSortOrder:{type:Number,default:1},nullSortOrder:{type:Number,default:1},multiSortMeta:{type:Array,default:null},sortMode:{type:String,default:"single"},removableSort:{type:Boolean,default:!1},filters:{type:Object,default:null},filterDisplay:{type:String,default:null},globalFilterFields:{type:Array,default:null},filterLocale:{type:String,default:void 0},selection:{type:[Array,Object],default:null},selectionMode:{type:String,default:null},compareSelectionBy:{type:String,default:"deepEquals"},metaKeySelection:{type:Boolean,default:!1},contextMenu:{type:Boolean,default:!1},contextMenuSelection:{type:Object,default:null},selectAll:{type:Boolean,default:null},rowHover:{type:Boolean,default:!1},csvSeparator:{type:String,default:","},exportFilename:{type:String,default:"download"},exportFunction:{type:Function,default:null},resizableColumns:{type:Boolean,default:!1},columnResizeMode:{type:String,default:"fit"},reorderableColumns:{type:Boolean,default:!1},expandedRows:{type:[Array,Object],default:null},expandedRowIcon:{type:String,default:void 0},collapsedRowIcon:{type:String,default:void 0},rowGroupMode:{type:String,default:null},groupRowsBy:{type:[Array,String,Function],default:null},expandableRowGroups:{type:Boolean,default:!1},expandedRowGroups:{type:Array,default:null},stateStorage:{type:String,default:"session"},stateKey:{type:String,default:null},editMode:{type:String,default:null},editingRows:{type:Array,default:null},rowClass:{type:Function,default:null},rowStyle:{type:Function,default:null},scrollable:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},scrollHeight:{type:String,default:null},frozenValue:{type:Array,default:null},breakpoint:{type:String,default:"960px"},showHeaders:{type:Boolean,default:!0},showGridlines:{type:Boolean,default:!1},stripedRows:{type:Boolean,default:!1},highlightOnSelect:{type:Boolean,default:!1},size:{type:String,default:null},tableStyle:{type:null,default:null},tableClass:{type:[String,Object],default:null},tableProps:{type:Object,default:null},filterInputProps:{type:null,default:null},filterButtonProps:{type:Object,default:function(){return{filter:{severity:"secondary",text:!0,rounded:!0},inline:{clear:{severity:"secondary",text:!0,rounded:!0}},popover:{addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}}}}},editButtonProps:{type:Object,default:function(){return{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}}}},style:xOn,provide:function(){return{$pcDataTable:this,$parentInstance:this}}},iMt={name:"RowCheckbox",hostName:"DataTable",extends:vl,emits:["change"],props:{value:null,checked:null,column:null,rowCheckboxIconTemplate:{type:Function,default:null},index:{type:Number,default:null}},methods:{getColumnPT:function(o){var l={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return Qe(this.ptm("column.".concat(o),{column:l}),this.ptm("column.".concat(o),l),this.ptmo(this.getColumnProp(),o,l))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(o){this.$attrs.disabled||this.$emit("change",{originalEvent:o,data:this.value})}},computed:{checkboxAriaLabel:function(){return this.$primevue.config.locale.aria?this.checked?this.$primevue.config.locale.aria.selectRow:this.$primevue.config.locale.aria.unselectRow:void 0}},components:{CheckIcon:B_,Checkbox:Fxe}};function n_n(r,o,l,a,p,g){var w=ki("CheckIcon"),y=ki("Checkbox");return ve(),Cn(y,{modelValue:l.checked,binary:!0,disabled:r.$attrs.disabled,"aria-label":g.checkboxAriaLabel,onChange:g.onChange,unstyled:r.unstyled,pt:g.getColumnPT("pcRowCheckbox")},{icon:ui(function(S){return[l.rowCheckboxIconTemplate?(ve(),Cn(ko(l.rowCheckboxIconTemplate),{key:0,checked:S.checked,class:yo(S.class)},null,8,["checked","class"])):!l.rowCheckboxIconTemplate&&S.checked?(ve(),Cn(w,Qe({key:1,class:S.class},g.getColumnPT("pcRowCheckbox").icon),null,16,["class"])):rr("",!0)]}),_:1},8,["modelValue","disabled","aria-label","onChange","unstyled","pt"])}iMt.render=n_n;var oMt={name:"RowRadioButton",hostName:"DataTable",extends:vl,emits:["change"],props:{value:null,checked:null,name:null,column:null,index:{type:Number,default:null}},methods:{getColumnPT:function(o){var l={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return Qe(this.ptm("column.".concat(o),{column:l}),this.ptm("column.".concat(o),l),this.ptmo(this.getColumnProp(),o,l))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(o){this.$attrs.disabled||this.$emit("change",{originalEvent:o,data:this.value})}},components:{RadioButton:ZPt}};function r_n(r,o,l,a,p,g){var w=ki("RadioButton");return ve(),Cn(w,{modelValue:l.checked,binary:!0,disabled:r.$attrs.disabled,name:l.name,onChange:g.onChange,unstyled:r.unstyled,pt:g.getColumnPT("pcRowRadiobutton")},null,8,["modelValue","disabled","name","onChange","unstyled","pt"])}oMt.render=r_n;var sMt={name:"BodyCell",hostName:"DataTable",extends:vl,emits:["cell-edit-init","cell-edit-complete","cell-edit-cancel","row-edit-init","row-edit-save","row-edit-cancel","row-toggle","radio-change","checkbox-change","editing-meta-change"],props:{rowData:{type:Object,default:null},column:{type:Object,default:null},frozenRow:{type:Boolean,default:!1},rowIndex:{type:Number,default:null},index:{type:Number,default:null},isRowExpanded:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},editing:{type:Boolean,default:!1},editingMeta:{type:Object,default:null},editMode:{type:String,default:null},virtualScrollerContentProps:{type:Object,default:null},ariaControls:{type:String,default:null},name:{type:String,default:null},expandedRowIcon:{type:String,default:null},collapsedRowIcon:{type:String,default:null},editButtonProps:{type:Object,default:null}},documentEditListener:null,selfClick:!1,overlayEventListener:null,data:function(){return{d_editing:this.editing,styleObject:{}}},watch:{editing:function(o){this.d_editing=o},"$data.d_editing":function(o){this.$emit("editing-meta-change",{data:this.rowData,field:this.field||"field_".concat(this.index),index:this.rowIndex,editing:o})}},mounted:function(){this.columnProp("frozen")&&this.updateStickyPosition()},updated:function(){var o=this;this.columnProp("frozen")&&this.updateStickyPosition(),this.d_editing&&(this.editMode==="cell"||this.editMode==="row"&&this.columnProp("rowEditor"))&&setTimeout(function(){var l=gE(o.$el);l&&l.focus()},1)},beforeUnmount:function(){this.overlayEventListener&&(nm.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null)},methods:{columnProp:function(o){return q6(this.column,o)},getColumnPT:function(o){var l,a,p={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,size:(l=this.$parentInstance)===null||l===void 0||(l=l.$parentInstance)===null||l===void 0?void 0:l.size,showGridlines:(a=this.$parentInstance)===null||a===void 0||(a=a.$parentInstance)===null||a===void 0?void 0:a.showGridlines}};return Qe(this.ptm("column.".concat(o),{column:p}),this.ptm("column.".concat(o),p),this.ptmo(this.getColumnProp(),o,p))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},resolveFieldData:function(){return pl(this.rowData,this.field)},toggleRow:function(o){this.$emit("row-toggle",{originalEvent:o,data:this.rowData})},toggleRowWithRadio:function(o,l){this.$emit("radio-change",{originalEvent:o.originalEvent,index:l,data:o.data})},toggleRowWithCheckbox:function(o,l){this.$emit("checkbox-change",{originalEvent:o.originalEvent,index:l,data:o.data})},isEditable:function(){return this.column.children&&this.column.children.editor!=null},bindDocumentEditListener:function(){var o=this;this.documentEditListener||(this.documentEditListener=function(l){o.selfClick||o.completeEdit(l,"outside"),o.selfClick=!1},document.addEventListener("click",this.documentEditListener))},unbindDocumentEditListener:function(){this.documentEditListener&&(document.removeEventListener("click",this.documentEditListener),this.documentEditListener=null,this.selfClick=!1)},switchCellToViewMode:function(){this.d_editing=!1,this.unbindDocumentEditListener(),nm.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null},onClick:function(o){var l=this;this.editMode==="cell"&&this.isEditable()&&(this.selfClick=!0,this.d_editing||(this.d_editing=!0,this.bindDocumentEditListener(),this.$emit("cell-edit-init",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex}),this.overlayEventListener=function(a){l.$el&&l.$el.contains(a.target)&&(l.selfClick=!0)},nm.on("overlay-click",this.overlayEventListener)))},completeEdit:function(o,l){var a={originalEvent:o,data:this.rowData,newData:this.editingRowData,value:this.rowData[this.field],newValue:this.editingRowData[this.field],field:this.field,index:this.rowIndex,type:l,defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0}};this.$emit("cell-edit-complete",a),a.defaultPrevented||this.switchCellToViewMode()},onKeyDown:function(o){if(this.editMode==="cell")switch(o.code){case"Enter":case"NumpadEnter":this.completeEdit(o,"enter");break;case"Escape":this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex});break;case"Tab":this.completeEdit(o,"tab"),o.shiftKey?this.moveToPreviousCell(o):this.moveToNextCell(o);break}},moveToPreviousCell:function(o){var l=this.findCell(o.target),a=this.findPreviousEditableColumn(l);a&&(Dkt(a,"click"),o.preventDefault())},moveToNextCell:function(o){var l=this.findCell(o.target),a=this.findNextEditableColumn(l);a&&(Dkt(a,"click"),o.preventDefault())},findCell:function(o){if(o){for(var l=o;l&&!dh(l,"data-p-cell-editing");)l=l.parentElement;return l}else return null},findPreviousEditableColumn:function(o){var l=o.previousElementSibling;if(!l){var a=o.parentElement.previousElementSibling;a&&(l=a.lastElementChild)}return l?dh(l,"data-p-editable-column")?l:this.findPreviousEditableColumn(l):null},findNextEditableColumn:function(o){var l=o.nextElementSibling;if(!l){var a=o.parentElement.nextElementSibling;a&&(l=a.firstElementChild)}return l?dh(l,"data-p-editable-column")?l:this.findNextEditableColumn(l):null},onRowEditInit:function(o){this.$emit("row-edit-init",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditSave:function(o){this.$emit("row-edit-save",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditCancel:function(o){this.$emit("row-edit-cancel",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorInitCallback:function(o){this.$emit("row-edit-init",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorSaveCallback:function(o){this.editMode==="row"?this.$emit("row-edit-save",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):this.completeEdit(o,"enter")},editorCancelCallback:function(o){this.editMode==="row"?this.$emit("row-edit-cancel",{originalEvent:o,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):(this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:o,data:this.rowData,field:this.field,index:this.rowIndex}))},updateStickyPosition:function(){if(this.columnProp("frozen")){var o=this.columnProp("alignFrozen");if(o==="right"){var l=0,a=t9e(this.$el,'[data-p-frozen-column="true"]');a&&(l=Vh(a)+parseFloat(a.style.right||0)),this.styleObject.insetInlineEnd=l+"px"}else{var p=0,g=n9e(this.$el,'[data-p-frozen-column="true"]');g&&(p=Vh(g)+parseFloat(g.style.left||0)),this.styleObject.insetInlineStart=p+"px"}}},getVirtualScrollerProp:function(o){return this.virtualScrollerContentProps?this.virtualScrollerContentProps[o]:null}},computed:{editingRowData:function(){return this.editingMeta[this.rowIndex]?this.editingMeta[this.rowIndex].data:this.rowData},field:function(){return this.columnProp("field")},containerClass:function(){return[this.columnProp("bodyClass"),this.columnProp("class"),this.cx("bodyCell")]},containerStyle:function(){var o=this.columnProp("bodyStyle"),l=this.columnProp("style");return this.columnProp("frozen")?[l,o,this.styleObject]:[l,o]},loading:function(){return this.getVirtualScrollerProp("loading")},loadingOptions:function(){var o=this.getVirtualScrollerProp("getLoaderOptions");return o&&o(this.rowIndex,{cellIndex:this.index,cellFirst:this.index===0,cellLast:this.index===this.getVirtualScrollerProp("columns").length-1,cellEven:this.index%2===0,cellOdd:this.index%2!==0,column:this.column,field:this.field})},expandButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.isRowExpanded?this.$primevue.config.locale.aria.expandRow:this.$primevue.config.locale.aria.collapseRow:void 0},initButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.editRow:void 0},saveButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.saveEdit:void 0},cancelButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.cancelEdit:void 0}},components:{DTRadioButton:oMt,DTCheckbox:iMt,Button:em,ChevronDownIcon:Xre,ChevronRightIcon:Bxe,BarsIcon:YPt,PencilIcon:JPt,CheckIcon:B_,TimesIcon:Yre},directives:{ripple:O3}};function tH(r){"@babel/helpers - typeof";return tH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},tH(r)}function I7t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function pne(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function f_n(r,o){if(r){if(typeof r=="string")return P7t(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?P7t(r,o):void 0}}function P7t(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l-1:this.groupRowsBy===l:!1},findIndexInSelection:function(o){return this.findIndex(o,this.selection)},findIndex:function(o,l){var a=-1;if(l&&l.length){for(var p=0;p-1:!1},isRowGroupExpanded:function(){if(this.expandableRowGroups&&this.expandedRowGroups){var o=pl(this.rowData,this.groupRowsBy);return this.expandedRowGroups.indexOf(o)>-1}return!1},isSelected:function(){return this.rowData&&this.selection?this.dataKey?this.selectionKeys?this.selectionKeys[pl(this.rowData,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(this.rowData)>-1:this.equals(this.rowData,this.selection):!1},isSelectedWithContextMenu:function(){return this.rowData&&this.contextMenuSelection?this.equals(this.rowData,this.contextMenuSelection,this.dataKey):!1},shouldRenderRowGroupHeader:function(){var o=pl(this.rowData,this.groupRowsBy),l=this.value[this.rowIndex-1];if(l){var a=pl(l,this.groupRowsBy);return o!==a}else return!0},shouldRenderRowGroupFooter:function(){if(this.expandableRowGroups&&!this.isRowGroupExpanded)return!1;var o=pl(this.rowData,this.groupRowsBy),l=this.value[this.rowIndex+1];if(l){var a=pl(l,this.groupRowsBy);return o!==a}else return!0},columnsLength:function(){var o=this;if(this.columns){var l=0;return this.columns.forEach(function(a){o.columnProp(a,"selectionMode")==="single"&&l--,o.columnProp(a,"hidden")&&l++}),this.columns.length-l}return 0}},components:{DTBodyCell:sMt,ChevronDownIcon:Xre,ChevronRightIcon:Bxe}};function rH(r){"@babel/helpers - typeof";return rH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},rH(r)}function _7t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function dC(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function R_n(r,o){if(r){if(typeof r=="string")return L7t(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?L7t(r,o):void 0}}function L7t(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);l1},removeRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.removeRule:void 0},addRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.addRule:void 0},isShowAddConstraint:function(){return this.showAddButton&&this.filters[this.field].operator&&this.fieldConstraints&&this.fieldConstraints.length-1?o:o+1},isMultiSorted:function(){return this.sortMode==="multiple"&&this.columnProp("sortable")&&this.getMultiSortMetaIndex()>-1},isColumnSorted:function(){return this.sortMode==="single"?this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")):this.isMultiSorted()},updateStickyPosition:function(){if(this.columnProp("frozen")){var o=this.columnProp("alignFrozen");if(o==="right"){var l=0,a=t9e(this.$el,'[data-p-frozen-column="true"]');a&&(l=Vh(a)+parseFloat(a.style.right||0)),this.styleObject.insetInlineEnd=l+"px"}else{var p=0,g=n9e(this.$el,'[data-p-frozen-column="true"]');g&&(p=Vh(g)+parseFloat(g.style.left||0)),this.styleObject.insetInlineStart=p+"px"}var w=this.$el.parentElement.nextElementSibling;if(w){var y=Cne(this.$el);w.children[y]&&(w.children[y].style.left=this.styleObject.left,w.children[y].style.right=this.styleObject.right)}}},onHeaderCheckboxChange:function(o){this.$emit("checkbox-change",o)}},computed:{containerClass:function(){return[this.cx("headerCell"),this.filterColumn?this.columnProp("filterHeaderClass"):this.columnProp("headerClass"),this.columnProp("class")]},containerStyle:function(){var o=this.filterColumn?this.columnProp("filterHeaderStyle"):this.columnProp("headerStyle"),l=this.columnProp("style");return this.columnProp("frozen")?[l,o,this.styleObject]:[l,o]},sortState:function(){var o=!1,l=null;if(this.sortMode==="single")o=this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")),l=o?this.sortOrder:0;else if(this.sortMode==="multiple"){var a=this.getMultiSortMetaIndex();a>-1&&(o=!0,l=this.multiSortMeta[a].order)}return{sorted:o,sortOrder:l}},sortableColumnIcon:function(){var o=this.sortState,l=o.sorted,a=o.sortOrder;if(l){if(l&&a>0)return OSe;if(l&&a<0)return MSe}else return PSe;return null},ariaSort:function(){if(this.columnProp("sortable")){var o=this.sortState,l=o.sorted,a=o.sortOrder;return l&&a<0?"descending":l&&a>0?"ascending":"none"}else return null}},components:{Badge:o9e,DTHeaderCheckbox:Hxe,DTColumnFilter:zxe,SortAltIcon:PSe,SortAmountUpAltIcon:OSe,SortAmountDownIcon:MSe}};function cH(r){"@babel/helpers - typeof";return cH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},cH(r)}function N7t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function B7t(r){for(var o=1;o=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(E){throw E},f:p}}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 g,w=!0,y=!1;return{s:function(){l=l.call(r)},n:function(){var E=l.next();return w=E.done,E},e:function(E){y=!0,g=E},f:function(){try{w||l.return==null||l.return()}finally{if(y)throw g}}}}function Qu(r){return hRn(r)||dRn(r)||Kxe(r)||fRn()}function fRn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kxe(r,o){if(r){if(typeof r=="string")return _Se(r,o);var l={}.toString.call(r).slice(8,-1);return l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set"?Array.from(r):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_Se(r,o):void 0}}function dRn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function hRn(r){if(Array.isArray(r))return _Se(r)}function _Se(r,o){(o==null||o>r.length)&&(o=r.length);for(var l=0,a=Array(o);la?this.multisortField(o,l,a+1):0:Okt(p,g,this.d_multiSortMeta[a].order,w,this.d_nullSortOrder)},addMultiSortField:function(o){var l=this.d_multiSortMeta.findIndex(function(a){return a.field===o});l>=0?this.removableSort&&this.d_multiSortMeta[l].order*-1===this.defaultSortOrder?this.d_multiSortMeta.splice(l,1):this.d_multiSortMeta[l]={field:o,order:this.d_multiSortMeta[l].order*-1}:this.d_multiSortMeta.push({field:o,order:this.defaultSortOrder}),this.d_multiSortMeta=Qu(this.d_multiSortMeta)},getActiveFilters:function(o){var l=function(w){var y=H7t(w,2),S=y[0],E=y[1];if(E.constraints){var I=E.constraints.filter(function(M){return M.value!==null});if(I.length>0)return[S,ab(ab({},E),{},{constraints:I})]}else if(E.value!==null)return[S,E]},a=function(w){return w!==void 0},p=Object.entries(o).map(l).filter(a);return Object.fromEntries(p)},filter:function(o){var l=this;if(o){this.clearEditingMetaData();var a=this.getActiveFilters(this.filters),p;a.global&&(p=this.globalFilterFields||this.columns.map(function(ie){return l.columnProp(ie,"filterField")||l.columnProp(ie,"field")}));for(var g=[],w=0;w=w.length?w.length-1:a+1;this.onRowClick({originalEvent:o,data:w[y],index:y})}o.preventDefault()},onArrowUpKey:function(o,l,a,p){var g=this.findPrevSelectableRow(l);if(g&&this.focusRowChange(l,g),o.shiftKey){var w=this.dataToRender(p.rows),y=a-1<=0?0:a-1;this.onRowClick({originalEvent:o,data:w[y],index:y})}o.preventDefault()},onHomeKey:function(o,l,a,p){var g=this.findFirstSelectableRow();if(g&&this.focusRowChange(l,g),o.ctrlKey&&o.shiftKey){var w=this.dataToRender(p.rows);this.$emit("update:selection",w.slice(0,a+1))}o.preventDefault()},onEndKey:function(o,l,a,p){var g=this.findLastSelectableRow();if(g&&this.focusRowChange(l,g),o.ctrlKey&&o.shiftKey){var w=this.dataToRender(p.rows);this.$emit("update:selection",w.slice(a,w.length))}o.preventDefault()},onEnterKey:function(o,l,a){this.onRowClick({originalEvent:o,data:l,index:a}),o.preventDefault()},onSpaceKey:function(o,l,a,p){if(this.onEnterKey(o,l,a),o.shiftKey&&this.selection!==null){var g=this.dataToRender(p.rows),w;if(this.selection.length>0){var y,S;y=W8e(this.selection[0],g),S=W8e(this.selection[this.selection.length-1],g),w=a<=y?S:y}else w=W8e(this.selection,g);var E=w!==a?g.slice(Math.min(w,a),Math.max(w,a)+1):l;this.$emit("update:selection",E)}},onTabKey:function(o,l){var a=this.$refs.bodyRef&&this.$refs.bodyRef.$el,p=KO(a,'tr[data-p-selectable-row="true"]');if(o.code==="Tab"&&p&&p.length>0){var g=PC(a,'tr[data-p-selected="true"]'),w=PC(a,'tr[data-p-selectable-row="true"][tabindex="0"]');g?(g.tabIndex="0",w&&w!==g&&(w.tabIndex="-1")):(p[0].tabIndex="0",w!==p[0]&&(p[l].tabIndex="-1"))}},findNextSelectableRow:function(o){var l=o.nextElementSibling;return l?dh(l,"data-p-selectable-row")===!0?l:this.findNextSelectableRow(l):null},findPrevSelectableRow:function(o){var l=o.previousElementSibling;return l?dh(l,"data-p-selectable-row")===!0?l:this.findPrevSelectableRow(l):null},findFirstSelectableRow:function(){var o=PC(this.$refs.table,'tr[data-p-selectable-row="true"]');return o},findLastSelectableRow:function(){var o=KO(this.$refs.table,'tr[data-p-selectable-row="true"]');return o?o[o.length-1]:null},focusRowChange:function(o,l){o.tabIndex="-1",l.tabIndex="0",Uh(l)},toggleRowWithRadio:function(o){var l=o.data;this.isSelected(l)?(this.$emit("update:selection",null),this.$emit("row-unselect",{originalEvent:o.originalEvent,data:l,index:o.index,type:"radiobutton"})):(this.$emit("update:selection",l),this.$emit("row-select",{originalEvent:o.originalEvent,data:l,index:o.index,type:"radiobutton"}))},toggleRowWithCheckbox:function(o){var l=o.data;if(this.isSelected(l)){var a=this.findIndexInSelection(l),p=this.selection.filter(function(w,y){return y!=a});this.$emit("update:selection",p),this.$emit("row-unselect",{originalEvent:o.originalEvent,data:l,index:o.index,type:"checkbox"})}else{var g=this.selection?Qu(this.selection):[];g=[].concat(Qu(g),[l]),this.$emit("update:selection",g),this.$emit("row-select",{originalEvent:o.originalEvent,data:l,index:o.index,type:"checkbox"})}},toggleRowsWithCheckbox:function(o){if(this.selectAll!==null)this.$emit("select-all-change",o);else{var l=o.originalEvent,a=o.checked,p=[];a?(p=this.frozenValue?[].concat(Qu(this.frozenValue),Qu(this.processedData)):this.processedData,this.$emit("row-select-all",{originalEvent:l,data:p})):this.$emit("row-unselect-all",{originalEvent:l}),this.$emit("update:selection",p)}},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isSelected:function(o){return o&&this.selection?this.dataKey?this.d_selectionKeys?this.d_selectionKeys[pl(o,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(o)>-1:this.equals(o,this.selection):!1},findIndexInSelection:function(o){return this.findIndex(o,this.selection)},findIndex:function(o,l){var a=-1;if(l&&l.length){for(var p=0;pthis.anchorRowIndex?(l=this.anchorRowIndex,a=this.rangeRowIndex):this.rangeRowIndexparseInt(p,10)){if(this.columnResizeMode==="fit"){var g=this.resizeColumnElement.nextElementSibling,w=g.offsetWidth-o;a>15&&w>15&&this.resizeTableCells(a,w)}else if(this.columnResizeMode==="expand"){var y=this.$refs.table.offsetWidth+o+"px",S=function(_){_&&(_.style.width=_.style.minWidth=y)};if(this.resizeTableCells(a),S(this.$refs.table),!this.virtualScrollerDisabled){var E=this.$refs.bodyRef&&this.$refs.bodyRef.$el,I=this.$refs.frozenBodyRef&&this.$refs.frozenBodyRef.$el;S(E),S(I)}}this.$emit("column-resize-end",{element:this.resizeColumnElement,delta:o})}this.$refs.resizeHelper.style.display="none",this.resizeColumn=null,this.$el.removeAttribute("data-p-unselectable-text"),!this.isUnstyled&&(this.$el.style["user-select"]=""),this.unbindColumnResizeEvents(),this.isStateful()&&this.saveState()},resizeTableCells:function(o,l){var a=Cne(this.resizeColumnElement),p=[],g=KO(this.$refs.table,'thead[data-pc-section="thead"] > tr > th');g.forEach(function(S){return p.push(Vh(S))}),this.destroyStyleElement(),this.createStyleElement();var w="",y='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');p.forEach(function(S,E){var I=E===a?o:l&&E===a+1?l:S,M="width: ".concat(I,"px !important; max-width: ").concat(I,"px !important");w+=` + `.concat(y,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(E+1,`), + `).concat(y,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(E+1,`), + `).concat(y,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(E+1,`) { + `).concat(M,` + } + `)}),this.styleElement.innerHTML=w},bindColumnResizeEvents:function(){var o=this;this.documentColumnResizeListener||(this.documentColumnResizeListener=document.addEventListener("mousemove",function(){o.columnResizing&&o.onColumnResize(event)})),this.documentColumnResizeEndListener||(this.documentColumnResizeEndListener=document.addEventListener("mouseup",function(){o.columnResizing&&(o.columnResizing=!1,o.onColumnResizeEnd())}))},unbindColumnResizeEvents:function(){this.documentColumnResizeListener&&(document.removeEventListener("document",this.documentColumnResizeListener),this.documentColumnResizeListener=null),this.documentColumnResizeEndListener&&(document.removeEventListener("document",this.documentColumnResizeEndListener),this.documentColumnResizeEndListener=null)},onColumnHeaderMouseDown:function(o){var l=o.originalEvent,a=o.column;this.reorderableColumns&&this.columnProp(a,"reorderableColumn")!==!1&&(l.target.nodeName==="INPUT"||l.target.nodeName==="TEXTAREA"||dh(l.target,'[data-pc-section="columnresizer"]')?l.currentTarget.draggable=!1:l.currentTarget.draggable=!0)},onColumnHeaderDragStart:function(o){var l=o.originalEvent,a=o.column;if(this.columnResizing){l.preventDefault();return}this.colReorderIconWidth=k1n(this.$refs.reorderIndicatorUp),this.colReorderIconHeight=y1n(this.$refs.reorderIndicatorUp),this.draggedColumn=a,this.draggedColumnElement=this.findParentHeader(l.target),l.dataTransfer.setData("text","b")},onColumnHeaderDragOver:function(o){var l=o.originalEvent,a=o.column,p=this.findParentHeader(l.target);if(this.reorderableColumns&&this.draggedColumnElement&&p&&!this.columnProp(a,"frozen")){l.preventDefault();var g=CC(this.$el),w=CC(p);if(this.draggedColumnElement!==p){var y=w.left-g.left,S=w.left+p.offsetWidth/2;this.$refs.reorderIndicatorUp.style.top=w.top-g.top-(this.colReorderIconHeight-1)+"px",this.$refs.reorderIndicatorDown.style.top=w.top-g.top+p.offsetHeight+"px",l.pageX>S?(this.$refs.reorderIndicatorUp.style.left=y+p.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=y+p.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=1):(this.$refs.reorderIndicatorUp.style.left=y-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=y-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=-1),this.$refs.reorderIndicatorUp.style.display="block",this.$refs.reorderIndicatorDown.style.display="block"}}},onColumnHeaderDragLeave:function(o){var l=o.originalEvent;this.reorderableColumns&&this.draggedColumnElement&&(l.preventDefault(),this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none")},onColumnHeaderDrop:function(o){var l=this,a=o.originalEvent,p=o.column;if(a.preventDefault(),this.draggedColumnElement){var g=Cne(this.draggedColumnElement),w=Cne(this.findParentHeader(a.target)),y=g!==w;if(y&&(w-g===1&&this.dropPosition===-1||w-g===-1&&this.dropPosition===1)&&(y=!1),y){var S=function(Q,Z){return l.columnProp(Q,"columnKey")||l.columnProp(Z,"columnKey")?l.columnProp(Q,"columnKey")===l.columnProp(Z,"columnKey"):l.columnProp(Q,"field")===l.columnProp(Z,"field")},E=this.columns.findIndex(function(q){return S(q,l.draggedColumn)}),I=this.columns.findIndex(function(q){return S(q,p)}),M=[],_=KO(this.$el,'thead[data-pc-section="thead"] > tr > th');_.forEach(function(q){return M.push(Vh(q))});var R=M.find(function(q,Q){return Q===E}),j=M.filter(function(q,Q){return Q!==E}),K=[].concat(Qu(j.slice(0,I)),[R],Qu(j.slice(I)));this.addColumnWidthStyles(K),IE&&this.dropPosition===-1&&I--,Mkt(this.columns,E,I),this.updateReorderableColumns(),this.$emit("column-reorder",{originalEvent:a,dragIndex:E,dropIndex:I})}this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none",this.draggedColumnElement.draggable=!1,this.draggedColumnElement=null,this.draggedColumn=null,this.dropPosition=null}},findParentHeader:function(o){if(o.nodeName==="TH")return o;for(var l=o.parentElement;l.nodeName!=="TH"&&(l=l.parentElement,!!l););return l},findColumnByKey:function(o,l){if(o&&o.length)for(var a=0;athis.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1,a=Qu(this.processedData);Mkt(a,this.draggedRowIndex+this.d_first,l+this.d_first),this.$emit("row-reorder",{originalEvent:o,dragIndex:this.draggedRowIndex,dropIndex:l,value:a})}this.onRowDragLeave(o),this.onRowDragEnd(o),o.preventDefault()},toggleRow:function(o){var l=this,a=o.expanded,p=rRn(o,nRn),g=o.data,w;if(this.dataKey){var y=pl(g,this.dataKey);w=this.expandedRows?ab({},this.expandedRows):{},a?w[y]=!0:delete w[y]}else w=this.expandedRows?Qu(this.expandedRows):[],a?w.push(g):w=w.filter(function(S){return!l.equals(g,S)});this.$emit("update:expandedRows",w),a?this.$emit("row-expand",p):this.$emit("row-collapse",p)},toggleRowGroup:function(o){var l=o.originalEvent,a=o.data,p=pl(a,this.groupRowsBy),g=this.expandedRowGroups?Qu(this.expandedRowGroups):[];this.isRowGroupExpanded(a)?(g=g.filter(function(w){return w!==p}),this.$emit("update:expandedRowGroups",g),this.$emit("rowgroup-collapse",{originalEvent:l,data:p})):(g.push(p),this.$emit("update:expandedRowGroups",g),this.$emit("rowgroup-expand",{originalEvent:l,data:p}))},isRowGroupExpanded:function(o){if(this.expandableRowGroups&&this.expandedRowGroups){var l=pl(o,this.groupRowsBy);return this.expandedRowGroups.indexOf(l)>-1}return!1},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){var o=this.getStorage(),l={};this.paginator&&(l.first=this.d_first,l.rows=this.d_rows),this.d_sortField&&(l.sortField=this.d_sortField,l.sortOrder=this.d_sortOrder),this.d_multiSortMeta&&(l.multiSortMeta=this.d_multiSortMeta),this.hasFilters&&(l.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(l),this.reorderableColumns&&(l.columnOrder=this.d_columnOrder),this.expandedRows&&(l.expandedRows=this.expandedRows),this.expandedRowGroups&&(l.expandedRowGroups=this.expandedRowGroups),this.selection&&(l.selection=this.selection,l.selectionKeys=this.d_selectionKeys),Object.keys(l).length&&o.setItem(this.stateKey,JSON.stringify(l)),this.$emit("state-save",l)},restoreState:function(){var o=this.getStorage(),l=o.getItem(this.stateKey),a=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,p=function(y,S){return typeof S=="string"&&a.test(S)?new Date(S):S};if(l){var g=JSON.parse(l,p);this.paginator&&(this.d_first=g.first,this.d_rows=g.rows),g.sortField&&(this.d_sortField=g.sortField,this.d_sortOrder=g.sortOrder),g.multiSortMeta&&(this.d_multiSortMeta=g.multiSortMeta),g.filters&&this.$emit("update:filters",g.filters),this.resizableColumns&&(this.columnWidthsState=g.columnWidths,this.tableWidthState=g.tableWidth),this.reorderableColumns&&(this.d_columnOrder=g.columnOrder),g.expandedRows&&this.$emit("update:expandedRows",g.expandedRows),g.expandedRowGroups&&this.$emit("update:expandedRowGroups",g.expandedRowGroups),g.selection&&(this.d_selectionKeys=g.d_selectionKeys,this.$emit("update:selection",g.selection)),this.$emit("state-restore",g)}},saveColumnWidths:function(o){var l=[],a=KO(this.$el,'thead[data-pc-section="thead"] > tr > th');a.forEach(function(p){return l.push(Vh(p))}),o.columnWidths=l.join(","),this.columnResizeMode==="expand"&&(o.tableWidth=Vh(this.$refs.table)+"px")},addColumnWidthStyles:function(o){this.createStyleElement();var l="",a='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');o.forEach(function(p,g){var w="width: ".concat(p,"px !important; max-width: ").concat(p,"px !important");l+=` + `.concat(a,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(g+1,`), + `).concat(a,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(g+1,`), + `).concat(a,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(g+1,`) { + `).concat(w,` + } + `)}),this.styleElement.innerHTML=l},restoreColumnWidths:function(){if(this.columnWidthsState){var o=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),os(o)&&this.addColumnWidthStyles(o)}},onCellEditInit:function(o){this.$emit("cell-edit-init",o)},onCellEditComplete:function(o){this.$emit("cell-edit-complete",o)},onCellEditCancel:function(o){this.$emit("cell-edit-cancel",o)},onRowEditInit:function(o){var l=this.editingRows?Qu(this.editingRows):[];l.push(o.data),this.$emit("update:editingRows",l),this.$emit("row-edit-init",o)},onRowEditSave:function(o){var l=Qu(this.editingRows);l.splice(this.findIndex(o.data,l),1),this.$emit("update:editingRows",l),this.$emit("row-edit-save",o)},onRowEditCancel:function(o){var l=Qu(this.editingRows);l.splice(this.findIndex(o.data,l),1),this.$emit("update:editingRows",l),this.$emit("row-edit-cancel",o)},onEditingMetaChange:function(o){var l=o.data,a=o.field,p=o.index,g=o.editing,w=ab({},this.d_editingMeta),y=w[p];if(g)!y&&(y=w[p]={data:ab({},l),fields:[]}),y.fields.push(a);else if(y){var S=y.fields.filter(function(E){return E!==a});S.length?y.fields=S:delete w[p]}this.d_editingMeta=w},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(o){return{originalEvent:o,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(o){this.d_filters=o},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(){var o={};return this.filters&&Object.entries(this.filters).forEach(function(l){var a=H7t(l,2),p=a[0],g=a[1];o[p]=g.operator?{operator:g.operator,constraints:g.constraints.map(function(w){return ab({},w)})}:ab({},g)}),o},updateReorderableColumns:function(){var o=this,l=[];this.columns.forEach(function(a){return l.push(o.columnProp(a,"columnKey")||o.columnProp(a,"field"))}),this.d_columnOrder=l},createStyleElement:function(){var o;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",wH(this.styleElement,"nonce",(o=this.$primevue)===null||o===void 0||(o=o.config)===null||o===void 0||(o=o.csp)===null||o===void 0?void 0:o.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(o){var l=o||this.processedData;if(l&&this.paginator){var a=this.lazy?0:this.d_first;return l.slice(a,a+this.d_rows)}return l},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(o){return os(o)}},computed:{columns:function(){var o=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var l=[],a=wF(this.d_columnOrder),p;try{for(a.s();!(p=a.n()).done;){var g=p.value,w=this.findColumnByKey(o,g);w&&!this.columnProp(w,"hidden")&&l.push(w)}}catch(y){a.e(y)}finally{a.f()}return[].concat(l,Qu(o.filter(function(y){return l.indexOf(y)<0})))}return o},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var o,l=this;return(o=this.columnGroups)===null||o===void 0?void 0:o.find(function(a){return l.columnProp(a,"type")==="header"})},footerColumnGroup:function(){var o,l=this;return(o=this.columnGroups)===null||o===void 0?void 0:o.find(function(a){return l.columnProp(a,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var o,l=this.value||[];return!this.lazy&&!((o=this.virtualScrollerOptions)!==null&&o!==void 0&&o.lazy)&&l&&l.length&&(this.hasFilters&&(l=this.filter(l)),this.sorted&&(this.sortMode==="single"?l=this.sortSingle(l):this.sortMode==="multiple"&&(l=this.sortMultiple(l)))),l},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var o=this.processedData;return o?o.length:0},empty:function(){var o=this.processedData;return!o||o.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var o=this;if(this.selectAll!==null)return this.selectAll;var l=this.frozenValue?[].concat(Qu(this.frozenValue),Qu(this.processedData)):this.processedData;return os(l)&&this.selection&&Array.isArray(this.selection)&&l.every(function(a){return o.selection.some(function(p){return o.equals(p,a)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return ab(ab({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:ab({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:ab({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return ab(ab({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return um(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:XPt,DTTableHeader:dMt,DTTableBody:cMt,DTTableFooter:aMt,DTVirtualScroller:l9e,ArrowDownIcon:_Pt,ArrowUpIcon:RPt,SpinnerIcon:mH}};function fH(r){"@babel/helpers - typeof";return fH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},fH(r)}function K7t(r,o){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),l.push.apply(l,a)}return l}function U7t(r){for(var o=1;o{const S=[];return l.dataset.forEach(E=>{S.push({subject:h_(E.subject),subjectTerm:E.subject,predicate:h_(E.predicate),predicateTerm:E.predicate,object:h_(E.object),objectTerm:E.object,context:E.graph.value})}),S}),g=ho(()=>p.value.some(S=>S.context!=="")),w=Co({global:{value:null,matchMode:Ta.CONTAINS},subject:{value:null,matchMode:Ta.CONTAINS},predicate:{value:null,matchMode:Ta.CONTAINS},object:{value:null,matchMode:Ta.CONTAINS},context:{value:null,matchMode:Ta.CONTAINS}});function y(S){a("selected",S)}return(S,E)=>(ve(),Cn(Lr(hMt),{filters:w.value,"onUpdate:filters":E[0]||(E[0]=I=>w.value=I),filterDisplay:"row",value:p.value,scrollable:"",scrollHeight:"flex",tableStyle:"min-width: 50rem;"},{default:ui(()=>[ai(Lr(bne),{field:"subject",header:"Subject",style:{width:"20%"}},{filter:ui(({filterModel:I,filterCallback:M})=>[ai(Lr(mE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>M(),placeholder:"Search Subject"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:ui(({data:I})=>[ar("span",{onClick:M=>y(I.subjectTerm),class:"node-link"},Il(I.subject),9,yRn)]),_:1}),ai(Lr(bne),{field:"predicate",header:"Predicate",style:{width:"20%"}},{filter:ui(({filterModel:I,filterCallback:M})=>[ai(Lr(mE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>M(),placeholder:"Search Predicate"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:ui(({data:I})=>[ar("span",{onClick:M=>y(I.subjectTerm),class:"node-link"},Il(I.predicate),9,kRn)]),_:1}),ai(Lr(bne),{field:"object",header:"Object",style:{width:"20%"}},{filter:ui(({filterModel:I,filterCallback:M})=>[ai(Lr(mE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>M(),placeholder:"Search Object"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:ui(({data:I})=>[I.predicateTerm.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"||I.objectTerm.termType==="Literal"?(ve(),wt("span",CRn,Il(I.object),1)):(ve(),wt("span",{key:1,onClick:M=>y(I.objectTerm),class:"node-link"},Il(I.object),9,SRn))]),_:1}),g.value?(ve(),Cn(Lr(bne),{key:0,field:"context",header:"Context",style:{width:"20%"}},{filter:ui(({filterModel:I,filterCallback:M})=>[ai(Lr(mE),{modelValue:I.value,"onUpdate:modelValue":_=>I.value=_,type:"text",onInput:_=>M(),placeholder:"Search Context aka Named Graph"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:1})):rr("",!0)]),_:1},8,["filters","value"]))}}),ERn=$H(xRn,[["__scopeId","data-v-accad2da"]]);var TRn=function(o){var l=o.dt;return` +.p-popover { + margin-block-start: `.concat(l("popover.gutter"),`; + background: `).concat(l("popover.background"),`; + color: `).concat(l("popover.color"),`; + border: 1px solid `).concat(l("popover.border.color"),`; + border-radius: `).concat(l("popover.border.radius"),`; + box-shadow: `).concat(l("popover.shadow"),`; +} + +.p-popover-content { + padding: `).concat(l("popover.content.padding"),`; +} + +.p-popover-flipped { + margin-block-start: calc(`).concat(l("popover.gutter"),` * -1); + margin-block-end: `).concat(l("popover.gutter"),`; +} + +.p-popover-enter-from { + opacity: 0; + transform: scaleY(0.8); +} + +.p-popover-leave-to { + opacity: 0; +} + +.p-popover-enter-active { + transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1); +} + +.p-popover-leave-active { + transition: opacity 0.1s linear; +} + +.p-popover:after, +.p-popover:before { + bottom: 100%; + left: calc(`).concat(l("popover.arrow.offset")," + ").concat(l("popover.arrow.left"),`); + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} + +.p-popover:after { + border-width: calc(`).concat(l("popover.gutter"),` - 2px); + margin-left: calc(-1 * (`).concat(l("popover.gutter"),` - 2px)); + border-style: solid; + border-color: transparent; + border-bottom-color: `).concat(l("popover.background"),`; +} + +.p-popover:before { + border-width: `).concat(l("popover.gutter"),`; + margin-left: calc(-1 * `).concat(l("popover.gutter"),`); + border-style: solid; + border-color: transparent; + border-bottom-color: `).concat(l("popover.border.color"),`; +} + +.p-popover-flipped:after, +.p-popover-flipped:before { + bottom: auto; + top: 100%; +} + +.p-popover.p-popover-flipped:after { + border-bottom-color: transparent; + border-top-color: `).concat(l("popover.background"),`; +} + +.p-popover.p-popover-flipped:before { + border-bottom-color: transparent; + border-top-color: `).concat(l("popover.border.color"),`; +} +`)},IRn={root:"p-popover p-component",content:"p-popover-content"},PRn=vs.extend({name:"popover",theme:TRn,classes:IRn}),MRn={name:"BasePopover",extends:vl,props:{dismissable:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},breakpoints:{type:Object,default:null},closeOnEscape:{type:Boolean,default:!0}},style:PRn,provide:function(){return{$pcPopover:this,$parentInstance:this}}},pMt={name:"Popover",extends:MRn,inheritAttrs:!1,emits:["show","hide"],data:function(){return{visible:!1}},watch:{dismissable:{immediate:!0,handler:function(o){o?this.bindOutsideClickListener():this.unbindOutsideClickListener()}}},selfClick:!1,target:null,eventTarget:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,styleElement:null,overlayEventListener:null,documentKeydownListener:null,beforeUnmount:function(){this.dismissable&&this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.destroyStyle(),this.unbindResizeListener(),this.target=null,this.container&&this.autoZIndex&&sm.clear(this.container),this.overlayEventListener&&(nm.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null),this.container=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{toggle:function(o,l){this.visible?this.hide():this.show(o,l)},show:function(o,l){this.visible=!0,this.eventTarget=o.currentTarget,this.target=l||o.currentTarget},hide:function(){this.visible=!1},onContentClick:function(){this.selfClick=!0},onEnter:function(o){var l=this;k_(o,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.dismissable&&this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&sm.set("overlay",o,this.baseZIndex+this.$primevue.config.zIndex.overlay),this.overlayEventListener=function(a){l.container.contains(a.target)&&(l.selfClick=!0)},this.focus(),nm.on("overlay-click",this.overlayEventListener),this.$emit("show"),this.closeOnEscape&&this.bindDocumentKeyDownListener()},onLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.unbindDocumentKeyDownListener(),nm.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null,this.$emit("hide")},onAfterLeave:function(o){this.autoZIndex&&sm.clear(o)},alignOverlay:function(){QSe(this.container,this.target,!1);var o=CC(this.container),l=CC(this.target),a=0;o.left2e3&&w(p.value),l.value.toggle(S))}async function w(S){const E=new URLSearchParams({url:S}),I=await fetch("https://s.zazuko.com/api/v1/shorten/",{method:"POST",body:E}),M=await I;M.status<200||M.status>=300?console.error("shortener error",M.status):p.value=await I.text()}function y(S){navigator.clipboard.writeText(S).then(()=>{l.value&&l.value.hide()}).catch(E=>{console.error("copy failed",E),l.value&&l.value.hide()})}return(S,E)=>(ve(),wt("div",RRn,[ai(Lr(em),{icon:"pi pi-share-alt",onClick:g,severity:"secondary",text:""}),ai(Lr(pMt),{ref_key:"popoverElement",ref:l},{default:ui(()=>[ar("div",ARn,[ar("div",LRn,[ar("div",$Rn,[ar("div",jRn,Il(p.value),1),p.value.startsWith("https://s.zazuko.com/")?rr("",!0):(ve(),wt("div",DRn,"..."))]),ai(Lr(em),{icon:"pi pi-clipboard",onClick:E[0]||(E[0]=I=>y(p.value)),variant:"text",rounded:"","aria-label":"Copy to Clipboard"})]),ai(Lr(em),{disabled:p.value.startsWith("https://s.zazuko.com/"),type:"button",severity:"secondary",onClick:E[1]||(E[1]=I=>w(p.value)),label:"Shorten"},null,8,["disabled"])])]),_:1},512)]))}}),BRn=$H(NRn,[["__scopeId","data-v-28872e37"]]),FRn=bc({__name:"App",setup(r){const{fitView:o,nodeLookup:l}=_u(),a=Co(N6.find(Q=>Q.type===$ie.Turtle)??N6[0]),p=Co(N6),g=Co(""),w=ho(()=>a.value.type),y=Co(uSe.dataset()),S=Co(!1),E=Co(!0),I=Co(!1);function M(Q){const Z=uSe.dataset(Q.quads);xIt.update(Q.prefix),g.value=Q.rdfText,y.value=Z}function _(){S.value=!0}function R(){S.value=!1}function j(){E.value=!E.value}function K(Q){const Z=N6.find(X=>X.type===Q)??N6[0];a.value=Z}function q(Q){if(!(Q.termType==="NamedNode"||Q.termType==="BlankNode"))return;const Z=l.value.get(Q.value);Z&&o({nodes:[Z.id],duration:1e3,padding:.3})}return(Q,Z)=>(ve(),wt(si,null,[ai(Lr(S9t),null,{start:ui(()=>[S.value?rr("",!0):(ve(),Cn(Lr(em),{key:0,icon:"pi pi-file-edit",class:"mr-2",severity:"secondary",onClick:_,text:""})),S.value?(ve(),Cn(Lr(em),{key:1,icon:"pi pi-file-edit",class:"mr-2",severity:"secondary",onClick:R,text:""})):rr("",!0),ai(Lr(kH),{modelValue:a.value,"onUpdate:modelValue":Z[0]||(Z[0]=X=>a.value=X),options:p.value,optionLabel:"name",placeholder:"Select RDF Serialization",checkmark:"",highlightOnSelect:!1},null,8,["modelValue","options"])]),center:ui(()=>Z[3]||(Z[3]=[ar("span",null,"Sketch",-1)])),end:ui(()=>[ai(Lr(em),{icon:"pi pi-search",class:"mr-2",severity:"secondary",onClick:j,text:""}),ai(BRn,{format:w.value,"rdf-text":g.value},null,8,["format","rdf-text"]),ai(Lr(em),{icon:"pi pi-lightbulb",class:"mr-2",severity:"secondary",onClick:Z[1]||(Z[1]=X=>I.value=!I.value),text:""}),ai(Lr(em),{as:"a",icon:"pi pi-github",class:"mr-2",severity:"secondary",href:"https://github.com/zazuko/rdf-sketch",target:"_blank",text:""})]),_:1}),ai(Lr(E9t),{style:{height:"calc(100vh - (67.5px + ( 2 * 8px) + 8px) )","margin-top":"8px"},class:"mb-8"},{default:ui(()=>[ai(Lr(Sne),{style:A1({display:S.value?"none":"flex"}),class:"flex items-center justify-center"},{default:ui(()=>[ai(F7n,{format:w.value,onChange:M,onFormatChange:K},null,8,["format"])]),_:1},8,["style"]),ai(Lr(Sne),{class:"flex items-center justify-center"},{default:ui(()=>[ai(IMn,{dataset:y.value},null,8,["dataset"])]),_:1}),E.value?rr("",!0):(ve(),Cn(Lr(Sne),{key:0},{default:ui(()=>[ai(ERn,{dataset:y.value,onSelected:q},null,8,["dataset"])]),_:1}))]),_:1}),ai(Lr(L9t),{visible:I.value,"onUpdate:visible":Z[2]||(Z[2]=X=>I.value=X),modal:"",header:"Zazuko RDF Sketch",style:{width:"60rem"}},{default:ui(()=>Z[4]||(Z[4]=[ar("div",{style:{display:"flex","flex-direction":"row",gap:"24px"}},[ar("img",{src:Ngn,alt:"Zazuko Logo",style:{width:"100px"}}),ar("div",{style:{opacity:"0.8"}},[hb(" Sketch is a simple yet powerful tool for visualizing RDF graphs. It allows you to: "),ar("ul",{style:{"padding-left":"20px"}},[ar("li",null," Traverse and Explore: Seamlessly navigate through your RDF graphs. "),ar("li",null," Search with Ease:Quickly locate nodes and connections. "),ar("li",null," Interact Intuitively: Click edges and Objects (SPO) to navigate. ")]),hb(" You can find more tools and resources at "),ar("a",{href:"https://zazuko.com",target:"_blank"},"Zazuko.com"),hb(". ")])],-1)])),_:1},8,["visible"])],64))}});function zRn(r){return $re()?(_F(r),!0):!1}function gMt(r){return typeof r=="function"?r():Lr(r)}const HRn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const KRn=Object.prototype.toString,URn=r=>KRn.call(r)==="[object Object]",GRn=()=>{};function WRn(r,o){function l(...a){return new Promise((p,g)=>{Promise.resolve(r(()=>o.apply(this,a),{fn:o,thisArg:this,args:a})).then(p).catch(g)})}return l}const bMt=r=>r();function VRn(r=bMt){const o=Co(!0);function l(){o.value=!1}function a(){o.value=!0}const p=(...g)=>{o.value&&r(...g)};return{isActive:hH(o),pause:l,resume:a,eventFilter:p}}function qRn(r,o,l={}){const{eventFilter:a=bMt,...p}=l;return Os(r,WRn(a,o),p)}function XRn(r,o,l={}){const{eventFilter:a,...p}=l,{eventFilter:g,pause:w,resume:y,isActive:S}=VRn(a);return{stop:qRn(r,o,{...p,eventFilter:g}),pause:w,resume:y,isActive:S}}function YRn(r){var o;const l=gMt(r);return(o=l==null?void 0:l.$el)!=null?o:l}const wMt=HRn?window:void 0;function G7t(...r){let o,l,a,p;if(typeof r[0]=="string"||Array.isArray(r[0])?([l,a,p]=r,o=wMt):[o,l,a,p]=r,!o)return GRn;Array.isArray(l)||(l=[l]),Array.isArray(a)||(a=[a]);const g=[],w=()=>{g.forEach(I=>I()),g.length=0},y=(I,M,_,R)=>(I.addEventListener(M,_,R),()=>I.removeEventListener(M,_,R)),S=Os(()=>[YRn(o),gMt(p)],([I,M])=>{if(w(),!I)return;const _=URn(M)?{...M}:M;g.push(...l.flatMap(R=>a.map(j=>y(I,R,j,_))))},{immediate:!0,flush:"post"}),E=()=>{S(),w()};return zRn(E),E}function JRn(r="history",o={}){const{initialValue:l={},removeNullishValues:a=!0,removeFalsyValues:p=!1,write:g=!0,window:w=wMt}=o;if(!w)return $E(l);const y=$E({});function S(){if(r==="history")return w.location.search||"";if(r==="hash"){const Q=w.location.hash||"",Z=Q.indexOf("?");return Z>0?Q.slice(Z):""}else return(w.location.hash||"").replace(/^#/,"")}function E(Q){const Z=Q.toString();if(r==="history")return`${Z?`?${Z}`:""}${w.location.hash||""}`;if(r==="hash-params")return`${w.location.search||""}${Z?`#${Z}`:""}`;const X=w.location.hash||"#",ie=X.indexOf("?");return ie>0?`${X.slice(0,ie)}${Z?`?${Z}`:""}`:`${X}${Z?`?${Z}`:""}`}function I(){return new URLSearchParams(S())}function M(Q){const Z=new Set(Object.keys(y));for(const X of Q.keys()){const ie=Q.getAll(X);y[X]=ie.length>1?ie:Q.get(X)||"",Z.delete(X)}Array.from(Z).forEach(X=>delete y[X])}const{pause:_,resume:R}=XRn(y,()=>{const Q=new URLSearchParams("");Object.keys(y).forEach(Z=>{const X=y[Z];Array.isArray(X)?X.forEach(ie=>Q.append(Z,ie)):a&&X==null||p&&!X?Q.delete(Z):Q.set(Z,X)}),j(Q)},{deep:!0});function j(Q,Z){_(),Z&&M(Q),w.history.replaceState(w.history.state,w.document.title,w.location.pathname+E(Q)),R()}function K(){g&&j(I(),!0)}G7t(w,"popstate",K,!1),r!=="history"&&G7t(w,"hashchange",K,!1);const q=I();return q.keys().next().value?M(q):Object.assign(y,l),y}const aE=JRn("hash-params"),mMt=Khn(FRn);mMt.use(Q1n,{theme:{preset:Dgn},options:{darkModeSelector:".my-app-dark",cssLayer:!1}});QRn();mMt.mount("#app");function QRn(){if(aE.rdf){const r=(Array.isArray(aE.rdf)?aE.rdf[0]:aE.rdf)??"",o=((Array.isArray(aE.format)?aE.format[0]:aE.format)??$ie.Turtle).replace(" ","+");r.length>0&&N6.find(l=>l.type===o)&&(localStorage.setItem($ne,r),localStorage.setItem(jne,o))}}export{q7n as I,X7n as M,Q7n as N,Y7n as P,sSn as U,xz as a,dm as b,_wn as c,GC as d,F_ as e,s3n as f,_3 as g,die as h,O5n as m,Uc as p,I9e as r,ire as s,w3 as t}; diff --git a/assets/main-GxnDfcg-.js b/assets/main-yWOklOAz.js similarity index 98% rename from assets/main-GxnDfcg-.js rename to assets/main-yWOklOAz.js index 8baf553..79d4808 100644 --- a/assets/main-GxnDfcg-.js +++ b/assets/main-yWOklOAz.js @@ -1,4 +1,4 @@ -import{g as z,m as O}from"./main-BG8rCUrd.js";import{m as F}from"./main-bFWG0oY6.js";function G(x,e){for(var i=0;is[t]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let x=Promise.resolve();try{queueMicrotask=e=>x.then(e).catch(i=>setTimeout(()=>{throw i},0))}catch{}}const p=O,I=F,j=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,k=1,T=2,C=4;class E extends I{constructor(e={}){super(e);let{prefixes:i={},lists:s=null,debug:t=!1,style:r=null}=e;Object.assign(this,{_b_debug:t,_s_indent:" ",_b_simplify_default_graph:!1,_xc_directives:0,_s_token_prefix:"@prefix"});let f="";if(r){let _=r.graph_keyword||r.graphKeyword||r["graph-keyword"];if(_)if(_===!0)f="GRAPH ";else{if(typeof _!="string")throw new TypeError(`Invalid argument type given for 'graph' token: ${_}`);if(/^graph$/i.test(_))f=_+" ";else throw new Error(`Graph token must equal case-insensitive "GRAPH"; found: "${_}"`)}let d=r.simplify_default_graph||r.simplifyDefaultGraph||r["simplify-default-graph"];d&&(this._b_simplify_default_graph=!!d),r.indent&&(this._s_indent=r.indent.replace(/[^\s]/g,""));let h=r.directives||r.directives;if(h)switch(h){case"sparql":{this._xc_directives=k,this._s_token_prefix="prefix";break}case"Sparql":{this._xc_directives=k|T,this._s_token_prefix="Prefix";break}case"SPARQL":{this._xc_directives=k|C,this._s_token_prefix="PREFIX";break}case"turtle":break;case"Turtle":{this._xc_directives=T,this._s_token_prefix="@Prefix";break}case"TURTLE":{this._xc_directives=C,this._s_token_prefix="@PREFIX";break}default:throw new Error(`Value not understood for 'directives' option: ${h}`)}}this._s_graph_keyword=f,s&&(this._serialize_list_object=function(_,d){let h=this._transcode_list(_);return this._encode_objects(h,d)});let a=this._s_token_prefix,l=this._xc_directives&k?` +import{g as z,m as O}from"./main-UPTG37W_.js";import{m as F}from"./main-CakvuChy.js";function G(x,e){for(var i=0;is[t]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let x=Promise.resolve();try{queueMicrotask=e=>x.then(e).catch(i=>setTimeout(()=>{throw i},0))}catch{}}const p=O,I=F,j=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,k=1,T=2,C=4;class E extends I{constructor(e={}){super(e);let{prefixes:i={},lists:s=null,debug:t=!1,style:r=null}=e;Object.assign(this,{_b_debug:t,_s_indent:" ",_b_simplify_default_graph:!1,_xc_directives:0,_s_token_prefix:"@prefix"});let f="";if(r){let _=r.graph_keyword||r.graphKeyword||r["graph-keyword"];if(_)if(_===!0)f="GRAPH ";else{if(typeof _!="string")throw new TypeError(`Invalid argument type given for 'graph' token: ${_}`);if(/^graph$/i.test(_))f=_+" ";else throw new Error(`Graph token must equal case-insensitive "GRAPH"; found: "${_}"`)}let d=r.simplify_default_graph||r.simplifyDefaultGraph||r["simplify-default-graph"];d&&(this._b_simplify_default_graph=!!d),r.indent&&(this._s_indent=r.indent.replace(/[^\s]/g,""));let h=r.directives||r.directives;if(h)switch(h){case"sparql":{this._xc_directives=k,this._s_token_prefix="prefix";break}case"Sparql":{this._xc_directives=k|T,this._s_token_prefix="Prefix";break}case"SPARQL":{this._xc_directives=k|C,this._s_token_prefix="PREFIX";break}case"turtle":break;case"Turtle":{this._xc_directives=T,this._s_token_prefix="@Prefix";break}case"TURTLE":{this._xc_directives=C,this._s_token_prefix="@PREFIX";break}default:throw new Error(`Value not understood for 'directives' option: ${h}`)}}this._s_graph_keyword=f,s&&(this._serialize_list_object=function(_,d){let h=this._transcode_list(_);return this._encode_objects(h,d)});let a=this._s_token_prefix,l=this._xc_directives&k?` `:` . `,n="";try{for(let _ in i){if(!j.test(_))throw new Error(`Invlalid prefix id for application/trig RDF serialization format: '${_}'`);n+=`${a} ${_}: ${p.namedNode(i[_]).verbose()}${l}`}}catch(_){queueMicrotask(()=>{this.emit("error",_)})}n&&this.push(n)}_serialize_prefixes(e){let i=this._xc_state===2?` diff --git a/assets/main-KIe0bCZV.js b/assets/main-zTQ0tXXK.js similarity index 97% rename from assets/main-KIe0bCZV.js rename to assets/main-zTQ0tXXK.js index 8aba6fc..2325dd0 100644 --- a/assets/main-KIe0bCZV.js +++ b/assets/main-zTQ0tXXK.js @@ -1,4 +1,4 @@ -import{g as T,m as S}from"./main-BG8rCUrd.js";import{m as C}from"./main-bFWG0oY6.js";function I(l,e){for(var t=0;ti[r]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let l=Promise.resolve();try{queueMicrotask=e=>l.then(e).catch(t=>setTimeout(()=>{throw t},0))}catch{}}const u=S,A=C,k=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,p=1,w=2,E=4;class h extends A{constructor(e={}){super(e);let{prefixes:t={},lists:i=null,debug:r=!1,style:s=null}=e;if(Object.assign(this,{_b_debug:r,_s_indent:" ",_b_simplify_default_graph:!1,_xc_directives:0,_s_token_prefix:"@prefix"}),s){s.indent&&(this._s_indent=s.indent.replace(/[^\s]/g,""));let f=s.directives||s.directives;if(f)switch(f){case"sparql":{this._xc_directives=p,this._s_token_prefix="prefix";break}case"Sparql":{this._xc_directives=p|w,this._s_token_prefix="Prefix";break}case"SPARQL":{this._xc_directives=p|E,this._s_token_prefix="PREFIX";break}case"turtle":break;case"Turtle":{this._xc_directives=w,this._s_token_prefix="@Prefix";break}case"TURTLE":{this._xc_directives=E,this._s_token_prefix="@PREFIX";break}default:throw new Error(`Value not understood for 'directives' option: ${f}`)}}i&&(this._serialize_list_object=function(f,a){let d=this._transcode_list(f);return this._encode_objects(d,a)});let _=this._s_token_prefix,n=this._xc_directives&p?` +import{g as T,m as S}from"./main-UPTG37W_.js";import{m as C}from"./main-CakvuChy.js";function I(l,e){for(var t=0;ti[r]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}if(typeof queueMicrotask!="function"){let l=Promise.resolve();try{queueMicrotask=e=>l.then(e).catch(t=>setTimeout(()=>{throw t},0))}catch{}}const u=S,A=C,k=/^([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}]([A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}.]*[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u{02ff}\u{0370}-\u{037d}\u{037f}-\u{1fff}\u{200c}-\u{200d}\u{2070}-\u{218f}\u{2c00}-\u{2fef}\u{3001}-\u{d7ff}\u{f900}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{effff}_\-0-9\xb7\u{0300}-\u{036f}\u{203f}-\u{2040}])?)?$/u,p=1,w=2,E=4;class h extends A{constructor(e={}){super(e);let{prefixes:t={},lists:i=null,debug:r=!1,style:s=null}=e;if(Object.assign(this,{_b_debug:r,_s_indent:" ",_b_simplify_default_graph:!1,_xc_directives:0,_s_token_prefix:"@prefix"}),s){s.indent&&(this._s_indent=s.indent.replace(/[^\s]/g,""));let f=s.directives||s.directives;if(f)switch(f){case"sparql":{this._xc_directives=p,this._s_token_prefix="prefix";break}case"Sparql":{this._xc_directives=p|w,this._s_token_prefix="Prefix";break}case"SPARQL":{this._xc_directives=p|E,this._s_token_prefix="PREFIX";break}case"turtle":break;case"Turtle":{this._xc_directives=w,this._s_token_prefix="@Prefix";break}case"TURTLE":{this._xc_directives=E,this._s_token_prefix="@PREFIX";break}default:throw new Error(`Value not understood for 'directives' option: ${f}`)}}i&&(this._serialize_list_object=function(f,a){let d=this._transcode_list(f);return this._encode_objects(d,a)});let _=this._s_token_prefix,n=this._xc_directives&p?` `:` . `,o="";try{for(let f in t){if(!k.test(f))throw new Error(`Invlalid prefix id for text/turtle RDF serialization format: '${f}'`);o+=`${_} ${f}: ${u.namedNode(t[f]).verbose()}${n}`}}catch(f){queueMicrotask(()=>{this.emit("error",f)})}o&&this.push(o)}_serialize_prefixes(e){let t=this._xc_state===2?` diff --git a/assets/stream-DelwVIKy.js b/assets/stream-C3gkHwb7.js similarity index 83% rename from assets/stream-DelwVIKy.js rename to assets/stream-C3gkHwb7.js index be3de96..ddaf35b 100644 --- a/assets/stream-DelwVIKy.js +++ b/assets/stream-C3gkHwb7.js @@ -1 +1 @@ -import{p as a,b as n,g as o,r}from"./main-BG8rCUrd.js";var i=u;const c=r;class d extends c.Readable{constructor(t,s){super(),this._str=t,this._encoding=s||"utf8"}_read(){this.ended||(a.nextTick(()=>{this.push(n.Buffer.from(this._str,this._encoding)),this.push(null)}),this.ended=!0)}}function u(e,t){return new d(e,t)}const f=o(i),m=f,p=r.Readable;export{p as Readable,m as toStream}; +import{p as a,b as n,g as o,r}from"./main-UPTG37W_.js";var i=u;const c=r;class d extends c.Readable{constructor(t,s){super(),this._str=t,this._encoding=s||"utf8"}_read(){this.ended||(a.nextTick(()=>{this.push(n.Buffer.from(this._str,this._encoding)),this.push(null)}),this.ended=!0)}}function u(e,t){return new d(e,t)}const f=o(i),m=f,p=r.Readable;export{p as Readable,m as toStream}; diff --git a/index.html b/index.html index 1cbb593..5cc5c09 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ Zazuko RDF Sketch - - + + diff --git a/service-worker.js b/service-worker.js index 2fcd89f..18b4411 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1 +1 @@ -if(!self.define){let s,e={};const i=(i,n)=>(i=new URL(i+".js",n).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(n,r)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let a={};const u=s=>i(s,l),o={module:{uri:l},exports:a,require:u};e[l]=Promise.all(n.map((s=>o[s]||u(s)))).then((s=>(r(...s),a)))}}define(["./workbox-5ffe50d4"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"apple-touch-icon.png",revision:"45a9d073e13dc6da956715f9e81ed6fc"},{url:"assets/canonicalize-Bd8h0v92.js",revision:null},{url:"assets/CustomJsonLdSerializer-CsefpH21.js",revision:null},{url:"assets/CustomRdfXmlParser-wBGJPuYp.js",revision:null},{url:"assets/index-BOvYCoiN.js",revision:null},{url:"assets/index-BwoghzZ2.js",revision:null},{url:"assets/index-C_aFKQUK.js",revision:null},{url:"assets/index-CkGRNAr4.js",revision:null},{url:"assets/index-D0g9tKlA.js",revision:null},{url:"assets/index-DaLBP2NZ.js",revision:null},{url:"assets/index-DwdYNYJQ.js",revision:null},{url:"assets/main-agd2fCEO.js",revision:null},{url:"assets/main-Bda561Bu.js",revision:null},{url:"assets/main-bFWG0oY6.js",revision:null},{url:"assets/main-BG8rCUrd.js",revision:null},{url:"assets/main-BTDzwsVJ.js",revision:null},{url:"assets/main-C1w4gxl4.js",revision:null},{url:"assets/main-CCSMH7eF.css",revision:null},{url:"assets/main-Dth2_RXj.js",revision:null},{url:"assets/main-GxnDfcg-.js",revision:null},{url:"assets/main-KIe0bCZV.js",revision:null},{url:"assets/N3StreamParser-B-f1M1sF.js",revision:null},{url:"assets/primeicons-C6QP2o4f.woff2",revision:null},{url:"assets/primeicons-Dr5RGzOO.svg",revision:null},{url:"assets/primeicons-WjwUDZjB.woff",revision:null},{url:"assets/readable-BmS1kvD9.js",revision:null},{url:"assets/stream-DelwVIKy.js",revision:null},{url:"favicon-96x96.png",revision:"275ecb711d5bfd9651ebfd68fac51322"},{url:"favicon.ico",revision:"873abf72f4f693cf67266d7caf42f2a6"},{url:"favicon.svg",revision:"f06571cc81d76ad5f8e281def81a4549"},{url:"img/icons/zazuko_icon.svg",revision:"049394536d76b8e49af24ecc352f1996"},{url:"index.html",revision:"32540f8aa6f1641cab450c71f2e18aa6"},{url:"manifest.webmanifest",revision:"8a9fe5d65c729a2210be1dfc77392944"},{url:"registerSW.js",revision:"38013143dc2183340ede8bc1c5124507"},{url:"site.webmanifest",revision:"881827f24d54a9791bca578c6dbaba49"},{url:"web-app-manifest-192x192.png",revision:"5e22dba4727f0d17032d5dbbc20623db"},{url:"web-app-manifest-512x512.png",revision:"cfdf277a5514f2744218fb81ca27266c"},{url:"manifest.webmanifest",revision:"8a9fe5d65c729a2210be1dfc77392944"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); +if(!self.define){let s,e={};const i=(i,n)=>(i=new URL(i+".js",n).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(n,l)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const o=s=>i(s,r),a={module:{uri:r},exports:u,require:o};e[r]=Promise.all(n.map((s=>a[s]||o(s)))).then((s=>(l(...s),u)))}}define(["./workbox-5ffe50d4"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"apple-touch-icon.png",revision:"45a9d073e13dc6da956715f9e81ed6fc"},{url:"assets/canonicalize-Bd8h0v92.js",revision:null},{url:"assets/CustomJsonLdSerializer-B2oQjduZ.js",revision:null},{url:"assets/CustomRdfXmlParser-j_ZzoDnu.js",revision:null},{url:"assets/index-BlwBIAJx.js",revision:null},{url:"assets/index-BOvYCoiN.js",revision:null},{url:"assets/index-BQuzNdW2.js",revision:null},{url:"assets/index-C7nnL0Je.js",revision:null},{url:"assets/index-DCe_24Mq.js",revision:null},{url:"assets/index-DjJhAlRP.js",revision:null},{url:"assets/index-RV_eTkg7.js",revision:null},{url:"assets/main--2A8lBXz.js",revision:null},{url:"assets/main-Br7cBokn.js",revision:null},{url:"assets/main-CakvuChy.js",revision:null},{url:"assets/main-Cn_tAjBT.css",revision:null},{url:"assets/main-CQ6G9sma.js",revision:null},{url:"assets/main-DcNn2okZ.js",revision:null},{url:"assets/main-DD61z6wK.js",revision:null},{url:"assets/main-UPTG37W_.js",revision:null},{url:"assets/main-yWOklOAz.js",revision:null},{url:"assets/main-zTQ0tXXK.js",revision:null},{url:"assets/N3StreamParser-BYVXsYqX.js",revision:null},{url:"assets/primeicons-C6QP2o4f.woff2",revision:null},{url:"assets/primeicons-Dr5RGzOO.svg",revision:null},{url:"assets/primeicons-WjwUDZjB.woff",revision:null},{url:"assets/readable-BmS1kvD9.js",revision:null},{url:"assets/stream-C3gkHwb7.js",revision:null},{url:"favicon-96x96.png",revision:"275ecb711d5bfd9651ebfd68fac51322"},{url:"favicon.ico",revision:"873abf72f4f693cf67266d7caf42f2a6"},{url:"favicon.svg",revision:"f06571cc81d76ad5f8e281def81a4549"},{url:"img/icons/zazuko_icon.svg",revision:"049394536d76b8e49af24ecc352f1996"},{url:"index.html",revision:"daf7a420f53b5f149d54fed22e412d27"},{url:"manifest.webmanifest",revision:"8a9fe5d65c729a2210be1dfc77392944"},{url:"registerSW.js",revision:"38013143dc2183340ede8bc1c5124507"},{url:"site.webmanifest",revision:"881827f24d54a9791bca578c6dbaba49"},{url:"web-app-manifest-192x192.png",revision:"5e22dba4727f0d17032d5dbbc20623db"},{url:"web-app-manifest-512x512.png",revision:"cfdf277a5514f2744218fb81ca27266c"},{url:"manifest.webmanifest",revision:"8a9fe5d65c729a2210be1dfc77392944"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));