diff --git a/asset-manifest.json b/asset-manifest.json index a9c21e6..8d027f3 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { - "main.css": "/embedding-scope/static/css/main.b6a99c83.css", - "main.js": "/embedding-scope/static/js/main.9d070f09.js", - "static/js/453.f3bb842a.chunk.js": "/embedding-scope/static/js/453.f3bb842a.chunk.js", - "index.html": "/embedding-scope/index.html", - "main.b6a99c83.css.map": "/embedding-scope/static/css/main.b6a99c83.css.map", - "main.9d070f09.js.map": "/embedding-scope/static/js/main.9d070f09.js.map", - "453.f3bb842a.chunk.js.map": "/embedding-scope/static/js/453.f3bb842a.chunk.js.map" + "main.css": "/static/css/main.b6a99c83.css", + "main.js": "/static/js/main.096605f1.js", + "static/js/453.f3bb842a.chunk.js": "/static/js/453.f3bb842a.chunk.js", + "index.html": "/index.html", + "main.b6a99c83.css.map": "/static/css/main.b6a99c83.css.map", + "main.096605f1.js.map": "/static/js/main.096605f1.js.map", + "453.f3bb842a.chunk.js.map": "/static/js/453.f3bb842a.chunk.js.map" }, "entrypoints": [ "static/css/main.b6a99c83.css", - "static/js/main.9d070f09.js" + "static/js/main.096605f1.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 7edda2b..e478511 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/static/js/main.096605f1.js b/static/js/main.096605f1.js new file mode 100644 index 0000000..8f608a6 --- /dev/null +++ b/static/js/main.096605f1.js @@ -0,0 +1,3 @@ +/*! For license information please see main.096605f1.js.LICENSE.txt */ +(()=>{var e={9813:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;ra(l,n))ua(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(ua(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],h=1,d=null,f=3,p=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,_="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(g=!1,b(e),!m)if(null!==r(u))m=!0,D(w);else{var t=r(c);null!==t&&U(x,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,y(A),A=-1),p=!0;var a=f;try{for(b(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!P());){var o=d.callback;if("function"===typeof o){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(u)&&i(u),b(n)}else i(u);d=r(u)}if(null!==d)var l=!0;else{var h=r(c);null!==h&&U(x,h.startTime-n),l=!1}return l}finally{d=null,f=a,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,M=null,A=-1,T=5,C=-1;function P(){return!(t.unstable_now()-Ce||125o?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(y(A),A=-1):g=!0,U(x,a-o))):(e.sortIndex=s,n(u,e),m||p||(m=!0,D(w))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},8784:(e,t,n)=>{"use strict";e.exports=n(9813)},6331:e=>{e.exports=function(e,t){var n=t.length;if(0!==n){var r=e.length;e.length+=n;for(var i=0;i{function t(e,t,n){var r,i,a,o,s;function l(){var u=Date.now()-o;u=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(a,i),a=i=null))}null==t&&(t=100);var u=function(){a=this,i=arguments,o=Date.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(a,i),a=i=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(a,i),a=i=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},4425:e=>{"use strict";function t(e,n,r,i){this.message=e,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,n="";for(t=0;t0){for(t=1,r=1;t",!1),V="--",H=Jt("--",!1),W=function(e,t,n){return[{type:"edgeRHS",edgeop:e,id:t}].concat(n||[])},j=function(e,t){return{type:"node_stmt",node_id:e,attr_list:t||[]}},X=function(e,t){return t?{type:"node_id",id:e,port:t}:{type:"node_id",id:e}},q=tn("port"),Y=":",$=Jt(":",!1),Z=function(e,t){return t},K=function(e,t){return{type:"port",id:e,compass_pt:t||null}},Q=function(e){return{type:"port",compass_pt:e||null}},J="subgraph",ee=Jt("subgraph",!0),te=function(e){return e?{type:"subgraph",id:e}:{type:"subgraph"}},ne=function(e,t){return(e=e||{type:"subgraph"}).children=t||[],e},re="n",ie=Jt("n",!1),ae="ne",oe=Jt("ne",!1),se="e",le=Jt("e",!1),ue="se",ce=Jt("se",!1),he="s",de=Jt("s",!1),fe="sw",pe=Jt("sw",!1),me="w",ge=Jt("w",!1),ve="nw",ye=Jt("nw",!1),_e=tn("UNICODE_STRING"),be=function(e,t){return e+t.join("")},xe=function(e,t){return e+t},we="$",Se=Jt("$",!1),Ee="_",Me=Jt("_",!1),Ae=tn("NUMBER"),Te="-",Ce=Jt("-",!1),Pe=".",Re=Jt(".",!1),ke=/^[0-9]/,Le=en([["0","9"]],!1,!1),De=function(e){return parseFloat(Qt())},Ue=function(e){return{type:"id",value:e.slice(1,e.length-1),html:!0}},Oe="<",Ie=Jt("<",!1),Ne=">",Fe=Jt(">",!1),ze=function(e){return"<"+e.join("")+">"},Be={type:"any"},Ge=function(e){return e},Ve=function(e){return e.join("")},He='"',We=Jt('"',!1),je=function(e){return e.join("")},Xe=function(){return Qt()},qe="\\",Ye=Jt("\\",!1),$e=function(e){return'"'===e[1]?'"':e[0]+e[1]},Ze=function(){return""},Ke=/^[\n\r\u2028\u2029]/,Qe=en(["\n","\r","\u2028","\u2029"],!1,!1),Je=tn("end of line"),et="\n",tt=Jt("\n",!1),nt="\r\n",rt=Jt("\r\n",!1),it="\r",at=Jt("\r",!1),ot="\u2028",st=Jt("\u2028",!1),lt="\u2029",ut=Jt("\u2029",!1),ct=(en(['"',"\\",["\0","\x1f"],"\x7f"],!0,!1),Jt('\\"',!1),tn("COMMENT")),ht=tn("BLOCK_COMMENT"),dt="/*",ft=Jt("/*",!1),pt="*/",mt=Jt("*/",!1),gt=function(e){return e},vt=function(e){return e.join("")},yt=tn("C_COMMENT"),_t="//",bt=Jt("//",!1),xt=/^[\n]/,wt=en(["\n"],!1,!1),St=function(e){return e.join("")},Et=tn("MACRO_COMMENT"),Mt="#",At=Jt("#",!1),Tt=tn("WHITESPACE"),Ct=/^[\n\r]/,Pt=en(["\n","\r"],!1,!1),Rt=/^[ \t]/,kt=en([" ","\t"],!1,!1),Lt=/^[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137-\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148-\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C-\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA-\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC-\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF-\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F-\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0-\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB-\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE-\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6-\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FC7\u1FD0-\u1FD3\u1FD6-\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6-\u1FF7\u210A\u210E-\u210F\u2113\u212F\u2134\u2139\u213C-\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65-\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73-\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3-\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]/,Dt=en([["a","z"],"\xb5",["\xdf","\xf6"],["\xf8","\xff"],"\u0101","\u0103","\u0105","\u0107","\u0109","\u010b","\u010d","\u010f","\u0111","\u0113","\u0115","\u0117","\u0119","\u011b","\u011d","\u011f","\u0121","\u0123","\u0125","\u0127","\u0129","\u012b","\u012d","\u012f","\u0131","\u0133","\u0135",["\u0137","\u0138"],"\u013a","\u013c","\u013e","\u0140","\u0142","\u0144","\u0146",["\u0148","\u0149"],"\u014b","\u014d","\u014f","\u0151","\u0153","\u0155","\u0157","\u0159","\u015b","\u015d","\u015f","\u0161","\u0163","\u0165","\u0167","\u0169","\u016b","\u016d","\u016f","\u0171","\u0173","\u0175","\u0177","\u017a","\u017c",["\u017e","\u0180"],"\u0183","\u0185","\u0188",["\u018c","\u018d"],"\u0192","\u0195",["\u0199","\u019b"],"\u019e","\u01a1","\u01a3","\u01a5","\u01a8",["\u01aa","\u01ab"],"\u01ad","\u01b0","\u01b4","\u01b6",["\u01b9","\u01ba"],["\u01bd","\u01bf"],"\u01c6","\u01c9","\u01cc","\u01ce","\u01d0","\u01d2","\u01d4","\u01d6","\u01d8","\u01da",["\u01dc","\u01dd"],"\u01df","\u01e1","\u01e3","\u01e5","\u01e7","\u01e9","\u01eb","\u01ed",["\u01ef","\u01f0"],"\u01f3","\u01f5","\u01f9","\u01fb","\u01fd","\u01ff","\u0201","\u0203","\u0205","\u0207","\u0209","\u020b","\u020d","\u020f","\u0211","\u0213","\u0215","\u0217","\u0219","\u021b","\u021d","\u021f","\u0221","\u0223","\u0225","\u0227","\u0229","\u022b","\u022d","\u022f","\u0231",["\u0233","\u0239"],"\u023c",["\u023f","\u0240"],"\u0242","\u0247","\u0249","\u024b","\u024d",["\u024f","\u0293"],["\u0295","\u02af"],"\u0371","\u0373","\u0377",["\u037b","\u037d"],"\u0390",["\u03ac","\u03ce"],["\u03d0","\u03d1"],["\u03d5","\u03d7"],"\u03d9","\u03db","\u03dd","\u03df","\u03e1","\u03e3","\u03e5","\u03e7","\u03e9","\u03eb","\u03ed",["\u03ef","\u03f3"],"\u03f5","\u03f8",["\u03fb","\u03fc"],["\u0430","\u045f"],"\u0461","\u0463","\u0465","\u0467","\u0469","\u046b","\u046d","\u046f","\u0471","\u0473","\u0475","\u0477","\u0479","\u047b","\u047d","\u047f","\u0481","\u048b","\u048d","\u048f","\u0491","\u0493","\u0495","\u0497","\u0499","\u049b","\u049d","\u049f","\u04a1","\u04a3","\u04a5","\u04a7","\u04a9","\u04ab","\u04ad","\u04af","\u04b1","\u04b3","\u04b5","\u04b7","\u04b9","\u04bb","\u04bd","\u04bf","\u04c2","\u04c4","\u04c6","\u04c8","\u04ca","\u04cc",["\u04ce","\u04cf"],"\u04d1","\u04d3","\u04d5","\u04d7","\u04d9","\u04db","\u04dd","\u04df","\u04e1","\u04e3","\u04e5","\u04e7","\u04e9","\u04eb","\u04ed","\u04ef","\u04f1","\u04f3","\u04f5","\u04f7","\u04f9","\u04fb","\u04fd","\u04ff","\u0501","\u0503","\u0505","\u0507","\u0509","\u050b","\u050d","\u050f","\u0511","\u0513","\u0515","\u0517","\u0519","\u051b","\u051d","\u051f","\u0521","\u0523","\u0525","\u0527",["\u0561","\u0587"],["\u1d00","\u1d2b"],["\u1d6b","\u1d77"],["\u1d79","\u1d9a"],"\u1e01","\u1e03","\u1e05","\u1e07","\u1e09","\u1e0b","\u1e0d","\u1e0f","\u1e11","\u1e13","\u1e15","\u1e17","\u1e19","\u1e1b","\u1e1d","\u1e1f","\u1e21","\u1e23","\u1e25","\u1e27","\u1e29","\u1e2b","\u1e2d","\u1e2f","\u1e31","\u1e33","\u1e35","\u1e37","\u1e39","\u1e3b","\u1e3d","\u1e3f","\u1e41","\u1e43","\u1e45","\u1e47","\u1e49","\u1e4b","\u1e4d","\u1e4f","\u1e51","\u1e53","\u1e55","\u1e57","\u1e59","\u1e5b","\u1e5d","\u1e5f","\u1e61","\u1e63","\u1e65","\u1e67","\u1e69","\u1e6b","\u1e6d","\u1e6f","\u1e71","\u1e73","\u1e75","\u1e77","\u1e79","\u1e7b","\u1e7d","\u1e7f","\u1e81","\u1e83","\u1e85","\u1e87","\u1e89","\u1e8b","\u1e8d","\u1e8f","\u1e91","\u1e93",["\u1e95","\u1e9d"],"\u1e9f","\u1ea1","\u1ea3","\u1ea5","\u1ea7","\u1ea9","\u1eab","\u1ead","\u1eaf","\u1eb1","\u1eb3","\u1eb5","\u1eb7","\u1eb9","\u1ebb","\u1ebd","\u1ebf","\u1ec1","\u1ec3","\u1ec5","\u1ec7","\u1ec9","\u1ecb","\u1ecd","\u1ecf","\u1ed1","\u1ed3","\u1ed5","\u1ed7","\u1ed9","\u1edb","\u1edd","\u1edf","\u1ee1","\u1ee3","\u1ee5","\u1ee7","\u1ee9","\u1eeb","\u1eed","\u1eef","\u1ef1","\u1ef3","\u1ef5","\u1ef7","\u1ef9","\u1efb","\u1efd",["\u1eff","\u1f07"],["\u1f10","\u1f15"],["\u1f20","\u1f27"],["\u1f30","\u1f37"],["\u1f40","\u1f45"],["\u1f50","\u1f57"],["\u1f60","\u1f67"],["\u1f70","\u1f7d"],["\u1f80","\u1f87"],["\u1f90","\u1f97"],["\u1fa0","\u1fa7"],["\u1fb0","\u1fb4"],["\u1fb6","\u1fb7"],"\u1fbe",["\u1fc2","\u1fc4"],["\u1fc6","\u1fc7"],["\u1fd0","\u1fd3"],["\u1fd6","\u1fd7"],["\u1fe0","\u1fe7"],["\u1ff2","\u1ff4"],["\u1ff6","\u1ff7"],"\u210a",["\u210e","\u210f"],"\u2113","\u212f","\u2134","\u2139",["\u213c","\u213d"],["\u2146","\u2149"],"\u214e","\u2184",["\u2c30","\u2c5e"],"\u2c61",["\u2c65","\u2c66"],"\u2c68","\u2c6a","\u2c6c","\u2c71",["\u2c73","\u2c74"],["\u2c76","\u2c7b"],"\u2c81","\u2c83","\u2c85","\u2c87","\u2c89","\u2c8b","\u2c8d","\u2c8f","\u2c91","\u2c93","\u2c95","\u2c97","\u2c99","\u2c9b","\u2c9d","\u2c9f","\u2ca1","\u2ca3","\u2ca5","\u2ca7","\u2ca9","\u2cab","\u2cad","\u2caf","\u2cb1","\u2cb3","\u2cb5","\u2cb7","\u2cb9","\u2cbb","\u2cbd","\u2cbf","\u2cc1","\u2cc3","\u2cc5","\u2cc7","\u2cc9","\u2ccb","\u2ccd","\u2ccf","\u2cd1","\u2cd3","\u2cd5","\u2cd7","\u2cd9","\u2cdb","\u2cdd","\u2cdf","\u2ce1",["\u2ce3","\u2ce4"],"\u2cec","\u2cee","\u2cf3",["\u2d00","\u2d25"],"\u2d27","\u2d2d","\ua641","\ua643","\ua645","\ua647","\ua649","\ua64b","\ua64d","\ua64f","\ua651","\ua653","\ua655","\ua657","\ua659","\ua65b","\ua65d","\ua65f","\ua661","\ua663","\ua665","\ua667","\ua669","\ua66b","\ua66d","\ua681","\ua683","\ua685","\ua687","\ua689","\ua68b","\ua68d","\ua68f","\ua691","\ua693","\ua695","\ua697","\ua723","\ua725","\ua727","\ua729","\ua72b","\ua72d",["\ua72f","\ua731"],"\ua733","\ua735","\ua737","\ua739","\ua73b","\ua73d","\ua73f","\ua741","\ua743","\ua745","\ua747","\ua749","\ua74b","\ua74d","\ua74f","\ua751","\ua753","\ua755","\ua757","\ua759","\ua75b","\ua75d","\ua75f","\ua761","\ua763","\ua765","\ua767","\ua769","\ua76b","\ua76d","\ua76f",["\ua771","\ua778"],"\ua77a","\ua77c","\ua77f","\ua781","\ua783","\ua785","\ua787","\ua78c","\ua78e","\ua791","\ua793","\ua7a1","\ua7a3","\ua7a5","\ua7a7","\ua7a9","\ua7fa",["\ufb00","\ufb06"],["\ufb13","\ufb17"],["\uff41","\uff5a"]],!1,!1),Ut=/^[\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5-\u06E6\u07F4-\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C-\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D-\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA717-\uA71F\uA770\uA788\uA7F8-\uA7F9\uA9CF\uAA70\uAADD\uAAF3-\uAAF4\uFF70\uFF9E-\uFF9F]/,Ot=en([["\u02b0","\u02c1"],["\u02c6","\u02d1"],["\u02e0","\u02e4"],"\u02ec","\u02ee","\u0374","\u037a","\u0559","\u0640",["\u06e5","\u06e6"],["\u07f4","\u07f5"],"\u07fa","\u081a","\u0824","\u0828","\u0971","\u0e46","\u0ec6","\u10fc","\u17d7","\u1843","\u1aa7",["\u1c78","\u1c7d"],["\u1d2c","\u1d6a"],"\u1d78",["\u1d9b","\u1dbf"],"\u2071","\u207f",["\u2090","\u209c"],["\u2c7c","\u2c7d"],"\u2d6f","\u2e2f","\u3005",["\u3031","\u3035"],"\u303b",["\u309d","\u309e"],["\u30fc","\u30fe"],"\ua015",["\ua4f8","\ua4fd"],"\ua60c","\ua67f",["\ua717","\ua71f"],"\ua770","\ua788",["\ua7f8","\ua7f9"],"\ua9cf","\uaa70","\uaadd",["\uaaf3","\uaaf4"],"\uff70",["\uff9e","\uff9f"]],!1,!1),It=/^[\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0977\u0979-\u097F\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58-\u0C59\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A-\uA62B\uA66E\uA6A0-\uA6E5\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,Nt=en(["\xaa","\xba","\u01bb",["\u01c0","\u01c3"],"\u0294",["\u05d0","\u05ea"],["\u05f0","\u05f2"],["\u0620","\u063f"],["\u0641","\u064a"],["\u066e","\u066f"],["\u0671","\u06d3"],"\u06d5",["\u06ee","\u06ef"],["\u06fa","\u06fc"],"\u06ff","\u0710",["\u0712","\u072f"],["\u074d","\u07a5"],"\u07b1",["\u07ca","\u07ea"],["\u0800","\u0815"],["\u0840","\u0858"],"\u08a0",["\u08a2","\u08ac"],["\u0904","\u0939"],"\u093d","\u0950",["\u0958","\u0961"],["\u0972","\u0977"],["\u0979","\u097f"],["\u0985","\u098c"],["\u098f","\u0990"],["\u0993","\u09a8"],["\u09aa","\u09b0"],"\u09b2",["\u09b6","\u09b9"],"\u09bd","\u09ce",["\u09dc","\u09dd"],["\u09df","\u09e1"],["\u09f0","\u09f1"],["\u0a05","\u0a0a"],["\u0a0f","\u0a10"],["\u0a13","\u0a28"],["\u0a2a","\u0a30"],["\u0a32","\u0a33"],["\u0a35","\u0a36"],["\u0a38","\u0a39"],["\u0a59","\u0a5c"],"\u0a5e",["\u0a72","\u0a74"],["\u0a85","\u0a8d"],["\u0a8f","\u0a91"],["\u0a93","\u0aa8"],["\u0aaa","\u0ab0"],["\u0ab2","\u0ab3"],["\u0ab5","\u0ab9"],"\u0abd","\u0ad0",["\u0ae0","\u0ae1"],["\u0b05","\u0b0c"],["\u0b0f","\u0b10"],["\u0b13","\u0b28"],["\u0b2a","\u0b30"],["\u0b32","\u0b33"],["\u0b35","\u0b39"],"\u0b3d",["\u0b5c","\u0b5d"],["\u0b5f","\u0b61"],"\u0b71","\u0b83",["\u0b85","\u0b8a"],["\u0b8e","\u0b90"],["\u0b92","\u0b95"],["\u0b99","\u0b9a"],"\u0b9c",["\u0b9e","\u0b9f"],["\u0ba3","\u0ba4"],["\u0ba8","\u0baa"],["\u0bae","\u0bb9"],"\u0bd0",["\u0c05","\u0c0c"],["\u0c0e","\u0c10"],["\u0c12","\u0c28"],["\u0c2a","\u0c33"],["\u0c35","\u0c39"],"\u0c3d",["\u0c58","\u0c59"],["\u0c60","\u0c61"],["\u0c85","\u0c8c"],["\u0c8e","\u0c90"],["\u0c92","\u0ca8"],["\u0caa","\u0cb3"],["\u0cb5","\u0cb9"],"\u0cbd","\u0cde",["\u0ce0","\u0ce1"],["\u0cf1","\u0cf2"],["\u0d05","\u0d0c"],["\u0d0e","\u0d10"],["\u0d12","\u0d3a"],"\u0d3d","\u0d4e",["\u0d60","\u0d61"],["\u0d7a","\u0d7f"],["\u0d85","\u0d96"],["\u0d9a","\u0db1"],["\u0db3","\u0dbb"],"\u0dbd",["\u0dc0","\u0dc6"],["\u0e01","\u0e30"],["\u0e32","\u0e33"],["\u0e40","\u0e45"],["\u0e81","\u0e82"],"\u0e84",["\u0e87","\u0e88"],"\u0e8a","\u0e8d",["\u0e94","\u0e97"],["\u0e99","\u0e9f"],["\u0ea1","\u0ea3"],"\u0ea5","\u0ea7",["\u0eaa","\u0eab"],["\u0ead","\u0eb0"],["\u0eb2","\u0eb3"],"\u0ebd",["\u0ec0","\u0ec4"],["\u0edc","\u0edf"],"\u0f00",["\u0f40","\u0f47"],["\u0f49","\u0f6c"],["\u0f88","\u0f8c"],["\u1000","\u102a"],"\u103f",["\u1050","\u1055"],["\u105a","\u105d"],"\u1061",["\u1065","\u1066"],["\u106e","\u1070"],["\u1075","\u1081"],"\u108e",["\u10d0","\u10fa"],["\u10fd","\u1248"],["\u124a","\u124d"],["\u1250","\u1256"],"\u1258",["\u125a","\u125d"],["\u1260","\u1288"],["\u128a","\u128d"],["\u1290","\u12b0"],["\u12b2","\u12b5"],["\u12b8","\u12be"],"\u12c0",["\u12c2","\u12c5"],["\u12c8","\u12d6"],["\u12d8","\u1310"],["\u1312","\u1315"],["\u1318","\u135a"],["\u1380","\u138f"],["\u13a0","\u13f4"],["\u1401","\u166c"],["\u166f","\u167f"],["\u1681","\u169a"],["\u16a0","\u16ea"],["\u1700","\u170c"],["\u170e","\u1711"],["\u1720","\u1731"],["\u1740","\u1751"],["\u1760","\u176c"],["\u176e","\u1770"],["\u1780","\u17b3"],"\u17dc",["\u1820","\u1842"],["\u1844","\u1877"],["\u1880","\u18a8"],"\u18aa",["\u18b0","\u18f5"],["\u1900","\u191c"],["\u1950","\u196d"],["\u1970","\u1974"],["\u1980","\u19ab"],["\u19c1","\u19c7"],["\u1a00","\u1a16"],["\u1a20","\u1a54"],["\u1b05","\u1b33"],["\u1b45","\u1b4b"],["\u1b83","\u1ba0"],["\u1bae","\u1baf"],["\u1bba","\u1be5"],["\u1c00","\u1c23"],["\u1c4d","\u1c4f"],["\u1c5a","\u1c77"],["\u1ce9","\u1cec"],["\u1cee","\u1cf1"],["\u1cf5","\u1cf6"],["\u2135","\u2138"],["\u2d30","\u2d67"],["\u2d80","\u2d96"],["\u2da0","\u2da6"],["\u2da8","\u2dae"],["\u2db0","\u2db6"],["\u2db8","\u2dbe"],["\u2dc0","\u2dc6"],["\u2dc8","\u2dce"],["\u2dd0","\u2dd6"],["\u2dd8","\u2dde"],"\u3006","\u303c",["\u3041","\u3096"],"\u309f",["\u30a1","\u30fa"],"\u30ff",["\u3105","\u312d"],["\u3131","\u318e"],["\u31a0","\u31ba"],["\u31f0","\u31ff"],["\u3400","\u4db5"],["\u4e00","\u9fcc"],["\ua000","\ua014"],["\ua016","\ua48c"],["\ua4d0","\ua4f7"],["\ua500","\ua60b"],["\ua610","\ua61f"],["\ua62a","\ua62b"],"\ua66e",["\ua6a0","\ua6e5"],["\ua7fb","\ua801"],["\ua803","\ua805"],["\ua807","\ua80a"],["\ua80c","\ua822"],["\ua840","\ua873"],["\ua882","\ua8b3"],["\ua8f2","\ua8f7"],"\ua8fb",["\ua90a","\ua925"],["\ua930","\ua946"],["\ua960","\ua97c"],["\ua984","\ua9b2"],["\uaa00","\uaa28"],["\uaa40","\uaa42"],["\uaa44","\uaa4b"],["\uaa60","\uaa6f"],["\uaa71","\uaa76"],"\uaa7a",["\uaa80","\uaaaf"],"\uaab1",["\uaab5","\uaab6"],["\uaab9","\uaabd"],"\uaac0","\uaac2",["\uaadb","\uaadc"],["\uaae0","\uaaea"],"\uaaf2",["\uab01","\uab06"],["\uab09","\uab0e"],["\uab11","\uab16"],["\uab20","\uab26"],["\uab28","\uab2e"],["\uabc0","\uabe2"],["\uac00","\ud7a3"],["\ud7b0","\ud7c6"],["\ud7cb","\ud7fb"],["\uf900","\ufa6d"],["\ufa70","\ufad9"],"\ufb1d",["\ufb1f","\ufb28"],["\ufb2a","\ufb36"],["\ufb38","\ufb3c"],"\ufb3e",["\ufb40","\ufb41"],["\ufb43","\ufb44"],["\ufb46","\ufbb1"],["\ufbd3","\ufd3d"],["\ufd50","\ufd8f"],["\ufd92","\ufdc7"],["\ufdf0","\ufdfb"],["\ufe70","\ufe74"],["\ufe76","\ufefc"],["\uff66","\uff6f"],["\uff71","\uff9d"],["\uffa0","\uffbe"],["\uffc2","\uffc7"],["\uffca","\uffcf"],["\uffd2","\uffd7"],["\uffda","\uffdc"]],!1,!1),Ft=/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/,zt=en(["\u01c5","\u01c8","\u01cb","\u01f2",["\u1f88","\u1f8f"],["\u1f98","\u1f9f"],["\u1fa8","\u1faf"],"\u1fbc","\u1fcc","\u1ffc"],!1,!1),Bt=/^[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178-\u0179\u017B\u017D\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018B\u018E-\u0191\u0193-\u0194\u0196-\u0198\u019C-\u019D\u019F-\u01A0\u01A2\u01A4\u01A6-\u01A7\u01A9\u01AC\u01AE-\u01AF\u01B1-\u01B3\u01B5\u01B7-\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A-\u023B\u023D-\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E-\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9-\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0-\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E-\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D-\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A]/,Gt=en([["A","Z"],["\xc0","\xd6"],["\xd8","\xde"],"\u0100","\u0102","\u0104","\u0106","\u0108","\u010a","\u010c","\u010e","\u0110","\u0112","\u0114","\u0116","\u0118","\u011a","\u011c","\u011e","\u0120","\u0122","\u0124","\u0126","\u0128","\u012a","\u012c","\u012e","\u0130","\u0132","\u0134","\u0136","\u0139","\u013b","\u013d","\u013f","\u0141","\u0143","\u0145","\u0147","\u014a","\u014c","\u014e","\u0150","\u0152","\u0154","\u0156","\u0158","\u015a","\u015c","\u015e","\u0160","\u0162","\u0164","\u0166","\u0168","\u016a","\u016c","\u016e","\u0170","\u0172","\u0174","\u0176",["\u0178","\u0179"],"\u017b","\u017d",["\u0181","\u0182"],"\u0184",["\u0186","\u0187"],["\u0189","\u018b"],["\u018e","\u0191"],["\u0193","\u0194"],["\u0196","\u0198"],["\u019c","\u019d"],["\u019f","\u01a0"],"\u01a2","\u01a4",["\u01a6","\u01a7"],"\u01a9","\u01ac",["\u01ae","\u01af"],["\u01b1","\u01b3"],"\u01b5",["\u01b7","\u01b8"],"\u01bc","\u01c4","\u01c7","\u01ca","\u01cd","\u01cf","\u01d1","\u01d3","\u01d5","\u01d7","\u01d9","\u01db","\u01de","\u01e0","\u01e2","\u01e4","\u01e6","\u01e8","\u01ea","\u01ec","\u01ee","\u01f1","\u01f4",["\u01f6","\u01f8"],"\u01fa","\u01fc","\u01fe","\u0200","\u0202","\u0204","\u0206","\u0208","\u020a","\u020c","\u020e","\u0210","\u0212","\u0214","\u0216","\u0218","\u021a","\u021c","\u021e","\u0220","\u0222","\u0224","\u0226","\u0228","\u022a","\u022c","\u022e","\u0230","\u0232",["\u023a","\u023b"],["\u023d","\u023e"],"\u0241",["\u0243","\u0246"],"\u0248","\u024a","\u024c","\u024e","\u0370","\u0372","\u0376","\u0386",["\u0388","\u038a"],"\u038c",["\u038e","\u038f"],["\u0391","\u03a1"],["\u03a3","\u03ab"],"\u03cf",["\u03d2","\u03d4"],"\u03d8","\u03da","\u03dc","\u03de","\u03e0","\u03e2","\u03e4","\u03e6","\u03e8","\u03ea","\u03ec","\u03ee","\u03f4","\u03f7",["\u03f9","\u03fa"],["\u03fd","\u042f"],"\u0460","\u0462","\u0464","\u0466","\u0468","\u046a","\u046c","\u046e","\u0470","\u0472","\u0474","\u0476","\u0478","\u047a","\u047c","\u047e","\u0480","\u048a","\u048c","\u048e","\u0490","\u0492","\u0494","\u0496","\u0498","\u049a","\u049c","\u049e","\u04a0","\u04a2","\u04a4","\u04a6","\u04a8","\u04aa","\u04ac","\u04ae","\u04b0","\u04b2","\u04b4","\u04b6","\u04b8","\u04ba","\u04bc","\u04be",["\u04c0","\u04c1"],"\u04c3","\u04c5","\u04c7","\u04c9","\u04cb","\u04cd","\u04d0","\u04d2","\u04d4","\u04d6","\u04d8","\u04da","\u04dc","\u04de","\u04e0","\u04e2","\u04e4","\u04e6","\u04e8","\u04ea","\u04ec","\u04ee","\u04f0","\u04f2","\u04f4","\u04f6","\u04f8","\u04fa","\u04fc","\u04fe","\u0500","\u0502","\u0504","\u0506","\u0508","\u050a","\u050c","\u050e","\u0510","\u0512","\u0514","\u0516","\u0518","\u051a","\u051c","\u051e","\u0520","\u0522","\u0524","\u0526",["\u0531","\u0556"],["\u10a0","\u10c5"],"\u10c7","\u10cd","\u1e00","\u1e02","\u1e04","\u1e06","\u1e08","\u1e0a","\u1e0c","\u1e0e","\u1e10","\u1e12","\u1e14","\u1e16","\u1e18","\u1e1a","\u1e1c","\u1e1e","\u1e20","\u1e22","\u1e24","\u1e26","\u1e28","\u1e2a","\u1e2c","\u1e2e","\u1e30","\u1e32","\u1e34","\u1e36","\u1e38","\u1e3a","\u1e3c","\u1e3e","\u1e40","\u1e42","\u1e44","\u1e46","\u1e48","\u1e4a","\u1e4c","\u1e4e","\u1e50","\u1e52","\u1e54","\u1e56","\u1e58","\u1e5a","\u1e5c","\u1e5e","\u1e60","\u1e62","\u1e64","\u1e66","\u1e68","\u1e6a","\u1e6c","\u1e6e","\u1e70","\u1e72","\u1e74","\u1e76","\u1e78","\u1e7a","\u1e7c","\u1e7e","\u1e80","\u1e82","\u1e84","\u1e86","\u1e88","\u1e8a","\u1e8c","\u1e8e","\u1e90","\u1e92","\u1e94","\u1e9e","\u1ea0","\u1ea2","\u1ea4","\u1ea6","\u1ea8","\u1eaa","\u1eac","\u1eae","\u1eb0","\u1eb2","\u1eb4","\u1eb6","\u1eb8","\u1eba","\u1ebc","\u1ebe","\u1ec0","\u1ec2","\u1ec4","\u1ec6","\u1ec8","\u1eca","\u1ecc","\u1ece","\u1ed0","\u1ed2","\u1ed4","\u1ed6","\u1ed8","\u1eda","\u1edc","\u1ede","\u1ee0","\u1ee2","\u1ee4","\u1ee6","\u1ee8","\u1eea","\u1eec","\u1eee","\u1ef0","\u1ef2","\u1ef4","\u1ef6","\u1ef8","\u1efa","\u1efc","\u1efe",["\u1f08","\u1f0f"],["\u1f18","\u1f1d"],["\u1f28","\u1f2f"],["\u1f38","\u1f3f"],["\u1f48","\u1f4d"],"\u1f59","\u1f5b","\u1f5d","\u1f5f",["\u1f68","\u1f6f"],["\u1fb8","\u1fbb"],["\u1fc8","\u1fcb"],["\u1fd8","\u1fdb"],["\u1fe8","\u1fec"],["\u1ff8","\u1ffb"],"\u2102","\u2107",["\u210b","\u210d"],["\u2110","\u2112"],"\u2115",["\u2119","\u211d"],"\u2124","\u2126","\u2128",["\u212a","\u212d"],["\u2130","\u2133"],["\u213e","\u213f"],"\u2145","\u2183",["\u2c00","\u2c2e"],"\u2c60",["\u2c62","\u2c64"],"\u2c67","\u2c69","\u2c6b",["\u2c6d","\u2c70"],"\u2c72","\u2c75",["\u2c7e","\u2c80"],"\u2c82","\u2c84","\u2c86","\u2c88","\u2c8a","\u2c8c","\u2c8e","\u2c90","\u2c92","\u2c94","\u2c96","\u2c98","\u2c9a","\u2c9c","\u2c9e","\u2ca0","\u2ca2","\u2ca4","\u2ca6","\u2ca8","\u2caa","\u2cac","\u2cae","\u2cb0","\u2cb2","\u2cb4","\u2cb6","\u2cb8","\u2cba","\u2cbc","\u2cbe","\u2cc0","\u2cc2","\u2cc4","\u2cc6","\u2cc8","\u2cca","\u2ccc","\u2cce","\u2cd0","\u2cd2","\u2cd4","\u2cd6","\u2cd8","\u2cda","\u2cdc","\u2cde","\u2ce0","\u2ce2","\u2ceb","\u2ced","\u2cf2","\ua640","\ua642","\ua644","\ua646","\ua648","\ua64a","\ua64c","\ua64e","\ua650","\ua652","\ua654","\ua656","\ua658","\ua65a","\ua65c","\ua65e","\ua660","\ua662","\ua664","\ua666","\ua668","\ua66a","\ua66c","\ua680","\ua682","\ua684","\ua686","\ua688","\ua68a","\ua68c","\ua68e","\ua690","\ua692","\ua694","\ua696","\ua722","\ua724","\ua726","\ua728","\ua72a","\ua72c","\ua72e","\ua732","\ua734","\ua736","\ua738","\ua73a","\ua73c","\ua73e","\ua740","\ua742","\ua744","\ua746","\ua748","\ua74a","\ua74c","\ua74e","\ua750","\ua752","\ua754","\ua756","\ua758","\ua75a","\ua75c","\ua75e","\ua760","\ua762","\ua764","\ua766","\ua768","\ua76a","\ua76c","\ua76e","\ua779","\ua77b",["\ua77d","\ua77e"],"\ua780","\ua782","\ua784","\ua786","\ua78b","\ua78d","\ua790","\ua792","\ua7a0","\ua7a2","\ua7a4","\ua7a6","\ua7a8","\ua7aa",["\uff21","\uff3a"]],!1,!1),Vt=/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/,Ht=en([["\u16ee","\u16f0"],["\u2160","\u2182"],["\u2185","\u2188"],"\u3007",["\u3021","\u3029"],["\u3038","\u303a"],["\ua6e6","\ua6ef"]],!1,!1),Wt=/^[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/,jt=en([["0","9"],["\u0660","\u0669"],["\u06f0","\u06f9"],["\u07c0","\u07c9"],["\u0966","\u096f"],["\u09e6","\u09ef"],["\u0a66","\u0a6f"],["\u0ae6","\u0aef"],["\u0b66","\u0b6f"],["\u0be6","\u0bef"],["\u0c66","\u0c6f"],["\u0ce6","\u0cef"],["\u0d66","\u0d6f"],["\u0e50","\u0e59"],["\u0ed0","\u0ed9"],["\u0f20","\u0f29"],["\u1040","\u1049"],["\u1090","\u1099"],["\u17e0","\u17e9"],["\u1810","\u1819"],["\u1946","\u194f"],["\u19d0","\u19d9"],["\u1a80","\u1a89"],["\u1a90","\u1a99"],["\u1b50","\u1b59"],["\u1bb0","\u1bb9"],["\u1c40","\u1c49"],["\u1c50","\u1c59"],["\ua620","\ua629"],["\ua8d0","\ua8d9"],["\ua900","\ua909"],["\ua9d0","\ua9d9"],["\uaa50","\uaa59"],["\uabf0","\uabf9"],["\uff10","\uff19"]],!1,!1),Xt=0,qt=0,Yt=[{line:1,column:1}],$t=0,Zt=[],Kt=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');o=a[n.startRule]}function Qt(){return e.substring(qt,Xt)}function Jt(e,t){return{type:"literal",text:e,ignoreCase:t}}function en(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function tn(e){return{type:"other",description:e}}function nn(t){var n,r=Yt[t];if(r)return r;for(n=t-1;!Yt[n];)n--;for(r={line:(r=Yt[n]).line,column:r.column};n$t&&($t=Xt,Zt=[]),Zt.push(e))}function on(e,n,r){return new t(t.buildMessage(e,n),e,n,r)}function sn(){var e,t;if(e=[],(t=ln())!==i)for(;t!==i;)e.push(t),t=ln();else e=i;return e}function ln(){var t,n,r,a,o,y,_;return t=Xt,An()!==i?(e.substr(Xt,6).toLowerCase()===s?(n=e.substr(Xt,6),Xt+=6):(n=i,0===Kt&&an(l)),n===i&&(n=null),n!==i&&An()!==i?(e.substr(Xt,5).toLowerCase()===u?(r=e.substr(Xt,5),Xt+=5):(r=i,0===Kt&&an(c)),r===i&&(e.substr(Xt,7).toLowerCase()===h?(r=e.substr(Xt,7),Xt+=7):(r=i,0===Kt&&an(d))),r!==i&&An()!==i?((a=vn())===i&&(a=null),a!==i&&An()!==i?(123===e.charCodeAt(Xt)?(o=f,Xt++):(o=i,0===Kt&&an(p)),o!==i?((y=un())===i&&(y=null),y!==i&&An()!==i?(125===e.charCodeAt(Xt)?(_=m,Xt++):(_=i,0===Kt&&an(g)),_!==i&&An()!==i?(qt=t,t=v(n,r,a,y)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i),t}function un(){var t,n,r,a,o,s,l;if(t=Xt,An()!==i)if((n=cn())!==i)if(An()!==i)if(59===e.charCodeAt(Xt)?(r=y,Xt++):(r=i,0===Kt&&an(_)),r===i&&(r=null),r!==i){for(a=[],o=Xt,An()!==i&&(s=cn())!==i&&An()!==i?(59===e.charCodeAt(Xt)?(l=y,Xt++):(l=i,0===Kt&&an(_)),l===i&&(l=null),l!==i?(qt=o,o=b(n,s)):(Xt=o,o=i)):(Xt=o,o=i);o!==i;)a.push(o),o=Xt,An()!==i&&(s=cn())!==i&&An()!==i?(59===e.charCodeAt(Xt)?(l=y,Xt++):(l=i,0===Kt&&an(_)),l===i&&(l=null),l!==i?(qt=o,o=b(n,s)):(Xt=o,o=i)):(Xt=o,o=i);a!==i?(qt=t,t=x(n,a)):(Xt=t,t=i)}else Xt=t,t=i;else Xt=t,t=i;else Xt=t,t=i;else Xt=t,t=i;return t}function cn(){var t,n,r,a,o;return t=Xt,(n=vn())!==i&&(r=An())!==i?(61===e.charCodeAt(Xt)?(a=w,Xt++):(a=i,0===Kt&&an(S)),a!==i&&An()!==i&&(o=vn())!==i?(qt=t,t=n=E(n,o)):(Xt=t,t=i)):(Xt=t,t=i),t===i&&(t=function(){var t,n,r;t=Xt,e.substr(Xt,5).toLowerCase()===u?(n=e.substr(Xt,5),Xt+=5):(n=i,0===Kt&&an(c));n===i&&(e.substr(Xt,4).toLowerCase()===M?(n=e.substr(Xt,4),Xt+=4):(n=i,0===Kt&&an(A)),n===i&&(e.substr(Xt,4).toLowerCase()===T?(n=e.substr(Xt,4),Xt+=4):(n=i,0===Kt&&an(C))));n!==i&&(r=hn())!==i?(qt=t,t=n=P(n,r)):(Xt=t,t=i);return t}(),t===i&&(t=function(){var e,t,n,r;e=Xt,t=mn(),t===i&&(t=pn());t!==i&&(n=fn())!==i?((r=hn())===i&&(r=null),r!==i?(qt=e,e=t=z(t,n,r)):(Xt=e,e=i)):(Xt=e,e=i);return e}(),t===i&&(t=mn())===i&&(t=function(){var e,t,n;e=Xt,t=pn(),t!==i?((n=hn())===i&&(n=null),n!==i?(qt=e,e=t=j(t,n)):(Xt=e,e=i)):(Xt=e,e=i);return e}(),t===i&&(t=Xt,(n=vn())!==i?(61===e.charCodeAt(Xt)?(r=w,Xt++):(r=i,0===Kt&&an(S)),r!==i&&(a=vn())!==i?t=n=[n,r,a]:(Xt=t,t=i)):(Xt=t,t=i))))),t}function hn(){var t,n,r,a,o;return t=Xt,An()!==i?(91===e.charCodeAt(Xt)?(n=R,Xt++):(n=i,0===Kt&&an(k)),n!==i&&An()!==i?((r=dn())===i&&(r=null),r!==i&&An()!==i?(93===e.charCodeAt(Xt)?(a=L,Xt++):(a=i,0===Kt&&an(D)),a!==i&&An()!==i?((o=hn())===i&&(o=null),o!==i?(qt=t,t=U(r,o)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i),t}function dn(){var t,n,r,a,o,s;return t=Xt,An()!==i&&(n=vn())!==i?(r=Xt,An()!==i?(61===e.charCodeAt(Xt)?(a=w,Xt++):(a=i,0===Kt&&an(S)),a!==i&&(o=An())!==i&&(s=vn())!==i?(qt=r,r=O(n,s)):(Xt=r,r=i)):(Xt=r,r=i),r===i&&(r=null),r!==i&&An()!==i?(44===e.charCodeAt(Xt)?(a=I,Xt++):(a=i,0===Kt&&an(N)),a===i&&(59===e.charCodeAt(Xt)?(a=y,Xt++):(a=i,0===Kt&&an(_))),a===i&&(a=null),a!==i?((o=dn())===i&&(o=null),o!==i?(qt=t,t=F(n,r,o)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i),t}function fn(){var t,n,r,a;return t=Xt,An()!==i?(e.substr(Xt,2)===B?(n=B,Xt+=2):(n=i,0===Kt&&an(G)),n===i&&(e.substr(Xt,2)===V?(n=V,Xt+=2):(n=i,0===Kt&&an(H))),n!==i&&An()!==i?((r=mn())===i&&(r=pn()),r!==i&&An()!==i?((a=fn())===i&&(a=null),a!==i?(qt=t,t=W(n,r,a)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i),t}function pn(){var t,n,r;return t=Xt,(n=vn())!==i?(r=function(){var t,n,r,a,o,s;Kt++,t=Xt,58===e.charCodeAt(Xt)?(n=Y,Xt++):(n=i,0===Kt&&an($));n!==i&&(r=vn())!==i?(a=Xt,58===e.charCodeAt(Xt)?(o=Y,Xt++):(o=i,0===Kt&&an($)),o!==i&&(s=gn())!==i?(qt=a,a=o=Z(r,s)):(Xt=a,a=i),a===i&&(a=null),a!==i?(qt=t,t=n=K(r,a)):(Xt=t,t=i)):(Xt=t,t=i);t===i&&(t=Xt,58===e.charCodeAt(Xt)?(n=Y,Xt++):(n=i,0===Kt&&an($)),n!==i&&(r=gn())!==i?(qt=t,t=n=Q(r)):(Xt=t,t=i));Kt--,t===i&&(n=i,0===Kt&&an(q));return t}(),r===i&&(r=null),r!==i?(qt=t,t=n=X(n,r)):(Xt=t,t=i)):(Xt=t,t=i),t}function mn(){var t,n,r,a,o,s;return t=Xt,n=Xt,e.substr(Xt,8).toLowerCase()===J?(r=e.substr(Xt,8),Xt+=8):(r=i,0===Kt&&an(ee)),r!==i&&(a=An())!==i?((o=vn())===i&&(o=null),o!==i&&(s=An())!==i?(qt=n,n=r=te(o)):(Xt=n,n=i)):(Xt=n,n=i),n===i&&(n=null),n!==i?(123===e.charCodeAt(Xt)?(r=f,Xt++):(r=i,0===Kt&&an(p)),r!==i?((a=un())===i&&(a=null),a!==i&&(o=An())!==i?(125===e.charCodeAt(Xt)?(s=m,Xt++):(s=i,0===Kt&&an(g)),s!==i?(qt=t,t=n=ne(n,a)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i)):(Xt=t,t=i),t}function gn(){var t;return 110===e.charCodeAt(Xt)?(t=re,Xt++):(t=i,0===Kt&&an(ie)),t===i&&(e.substr(Xt,2)===ae?(t=ae,Xt+=2):(t=i,0===Kt&&an(oe)),t===i&&(101===e.charCodeAt(Xt)?(t=se,Xt++):(t=i,0===Kt&&an(le)),t===i&&(e.substr(Xt,2)===ue?(t=ue,Xt+=2):(t=i,0===Kt&&an(ce)),t===i&&(115===e.charCodeAt(Xt)?(t=he,Xt++):(t=i,0===Kt&&an(de)),t===i&&(e.substr(Xt,2)===fe?(t=fe,Xt+=2):(t=i,0===Kt&&an(pe)),t===i&&(119===e.charCodeAt(Xt)?(t=me,Xt++):(t=i,0===Kt&&an(ge)),t===i&&(e.substr(Xt,2)===ve?(t=ve,Xt+=2):(t=i,0===Kt&&an(ye))))))))),t}function vn(){var t;return(t=yn())===i&&(t=function(){var e,t,n;e=Xt,(t=xn())!==i&&(n=yn())!==i?(qt=e,e=t=xe(t,n)):(Xt=e,e=i);return e}())===i&&(t=xn())===i&&(t=function(){var t,n,r,a;t=Xt,34===e.charCodeAt(Xt)?(n=He,Xt++):(n=i,0===Kt&&an(We));if(n!==i){for(r=[],a=En();a!==i;)r.push(a),a=En();r!==i?(34===e.charCodeAt(Xt)?(a=He,Xt++):(a=i,0===Kt&&an(We)),a!==i?(qt=t,t=n=je(r)):(Xt=t,t=i)):(Xt=t,t=i)}else Xt=t,t=i;return t}())===i&&(t=function(){var e,t;e=Xt,(t=wn())!==i&&(qt=e,t=Ue(t));return e=t,e}()),t}function yn(){var e,t,n,r;if(Kt++,e=Xt,(t=_n())!==i){for(n=[],r=bn();r!==i;)n.push(r),r=bn();n!==i?(qt=e,e=t=be(t,n)):(Xt=e,e=i)}else Xt=e,e=i;return Kt--,e===i&&(t=i,0===Kt&&an(_e)),e}function _n(){var t;return(t=function(){var t;t=function(){var t;Bt.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Gt));return t}(),t===i&&(t=function(){var t;Lt.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Dt));return t}())===i&&(t=function(){var t;Ft.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(zt));return t}())===i&&(t=function(){var t;Ut.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Ot));return t}())===i&&(t=function(){var t;It.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Nt));return t}())===i&&(t=function(){var t;Vt.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Ht));return t}());return t}())===i&&(36===e.charCodeAt(Xt)?(t=we,Xt++):(t=i,0===Kt&&an(Se)),t===i&&(95===e.charCodeAt(Xt)?(t=Ee,Xt++):(t=i,0===Kt&&an(Me)))),t}function bn(){var t;return(t=_n())===i&&(t=function(){var t;Wt.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(jt));return t}()),t}function xn(){var t,n,r,a,o,s,l,u,c;if(Kt++,t=Xt,n=Xt,45===e.charCodeAt(Xt)?(r=Te,Xt++):(r=i,0===Kt&&an(Ce)),r===i&&(r=null),r!==i){if(a=Xt,46===e.charCodeAt(Xt)?(o=Pe,Xt++):(o=i,0===Kt&&an(Re)),o!==i){if(s=[],ke.test(e.charAt(Xt))?(l=e.charAt(Xt),Xt++):(l=i,0===Kt&&an(Le)),l!==i)for(;l!==i;)s.push(l),ke.test(e.charAt(Xt))?(l=e.charAt(Xt),Xt++):(l=i,0===Kt&&an(Le));else s=i;s!==i?a=o=[o,s]:(Xt=a,a=i)}else Xt=a,a=i;if(a===i){if(a=Xt,o=[],ke.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Le)),s!==i)for(;s!==i;)o.push(s),ke.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Le));else o=i;if(o!==i){if(s=Xt,46===e.charCodeAt(Xt)?(l=Pe,Xt++):(l=i,0===Kt&&an(Re)),l!==i){for(u=[],ke.test(e.charAt(Xt))?(c=e.charAt(Xt),Xt++):(c=i,0===Kt&&an(Le));c!==i;)u.push(c),ke.test(e.charAt(Xt))?(c=e.charAt(Xt),Xt++):(c=i,0===Kt&&an(Le));u!==i?s=l=[l,u]:(Xt=s,s=i)}else Xt=s,s=i;s===i&&(s=null),s!==i?a=o=[o,s]:(Xt=a,a=i)}else Xt=a,a=i}a!==i?n=r=[r,a]:(Xt=n,n=i)}else Xt=n,n=i;return n!==i&&(qt=t,n=De(n)),Kt--,(t=n)===i&&(n=i,0===Kt&&an(Ae)),t}function wn(){var t,n,r,a;if(t=Xt,60===e.charCodeAt(Xt)?(n=Oe,Xt++):(n=i,0===Kt&&an(Ie)),n!==i){for(r=[],(a=Sn())===i&&(a=wn());a!==i;)r.push(a),(a=Sn())===i&&(a=wn());r!==i?(62===e.charCodeAt(Xt)?(a=Ne,Xt++):(a=i,0===Kt&&an(Fe)),a!==i?(qt=t,t=n=ze(r)):(Xt=t,t=i)):(Xt=t,t=i)}else Xt=t,t=i;return t}function Sn(){var t,n,r,a,o;if(t=Xt,n=[],r=Xt,a=Xt,Kt++,62===e.charCodeAt(Xt)?(o=Ne,Xt++):(o=i,0===Kt&&an(Fe)),o===i&&(60===e.charCodeAt(Xt)?(o=Oe,Xt++):(o=i,0===Kt&&an(Ie))),Kt--,o===i?a=void 0:(Xt=a,a=i),a!==i?(e.length>Xt?(o=e.charAt(Xt),Xt++):(o=i,0===Kt&&an(Be)),o!==i?(qt=r,r=a=Ge(o)):(Xt=r,r=i)):(Xt=r,r=i),r!==i)for(;r!==i;)n.push(r),r=Xt,a=Xt,Kt++,62===e.charCodeAt(Xt)?(o=Ne,Xt++):(o=i,0===Kt&&an(Fe)),o===i&&(60===e.charCodeAt(Xt)?(o=Oe,Xt++):(o=i,0===Kt&&an(Ie))),Kt--,o===i?a=void 0:(Xt=a,a=i),a!==i?(e.length>Xt?(o=e.charAt(Xt),Xt++):(o=i,0===Kt&&an(Be)),o!==i?(qt=r,r=a=Ge(o)):(Xt=r,r=i)):(Xt=r,r=i);else n=i;return n!==i&&(qt=t,n=Ve(n)),t=n}function En(){var t,n,r;return t=function(){var t,n,r,a;t=Xt,n=Xt,92===e.charCodeAt(Xt)?(r=qe,Xt++):(r=i,0===Kt&&an(Ye));r!==i?(e.length>Xt?(a=e.charAt(Xt),Xt++):(a=i,0===Kt&&an(Be)),a!==i?n=r=[r,a]:(Xt=n,n=i)):(Xt=n,n=i);n!==i&&(qt=t,n=$e(n));return t=n,t}(),t===i&&(t=Xt,n=Xt,Kt++,34===e.charCodeAt(Xt)?(r=He,Xt++):(r=i,0===Kt&&an(We)),r===i&&(r=function(){var t;Ke.test(e.charAt(Xt))?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Qe));return t}()),Kt--,r===i?n=void 0:(Xt=n,n=i),n!==i?(r=function(){var t;e.length>Xt?(t=e.charAt(Xt),Xt++):(t=i,0===Kt&&an(Be));return t}(),r!==i?(qt=t,t=n=Xe()):(Xt=t,t=i)):(Xt=t,t=i),t===i&&(t=function(){var t,n,r;t=Xt,92===e.charCodeAt(Xt)?(n=qe,Xt++):(n=i,0===Kt&&an(Ye));n!==i?(r=function(){var t;Kt++,10===e.charCodeAt(Xt)?(t=et,Xt++):(t=i,0===Kt&&an(tt));t===i&&(e.substr(Xt,2)===nt?(t=nt,Xt+=2):(t=i,0===Kt&&an(rt)),t===i&&(13===e.charCodeAt(Xt)?(t=it,Xt++):(t=i,0===Kt&&an(at)),t===i&&(8232===e.charCodeAt(Xt)?(t=ot,Xt++):(t=i,0===Kt&&an(st)),t===i&&(8233===e.charCodeAt(Xt)?(t=lt,Xt++):(t=i,0===Kt&&an(ut))))));Kt--,t===i&&(0===Kt&&an(Je));return t}(),r!==i?(qt=t,t=n=Ze()):(Xt=t,t=i)):(Xt=t,t=i);return t}())),t}function Mn(){var t;return Kt++,t=function(){var t,n,r,a,o,s;Kt++,t=Xt,e.substr(Xt,2)===dt?(n=dt,Xt+=2):(n=i,0===Kt&&an(ft));if(n!==i){for(r=[],a=Xt,o=Xt,Kt++,e.substr(Xt,2)===pt?(s=pt,Xt+=2):(s=i,0===Kt&&an(mt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=gt(s)):(Xt=a,a=i)):(Xt=a,a=i);a!==i;)r.push(a),a=Xt,o=Xt,Kt++,e.substr(Xt,2)===pt?(s=pt,Xt+=2):(s=i,0===Kt&&an(mt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=gt(s)):(Xt=a,a=i)):(Xt=a,a=i);r!==i?(e.substr(Xt,2)===pt?(a=pt,Xt+=2):(a=i,0===Kt&&an(mt)),a!==i?(qt=t,t=n=vt(r)):(Xt=t,t=i)):(Xt=t,t=i)}else Xt=t,t=i;Kt--,t===i&&(n=i,0===Kt&&an(ht));return t}(),t===i&&(t=function(){var t,n,r,a,o,s;Kt++,t=Xt,e.substr(Xt,2)===_t?(n=_t,Xt+=2):(n=i,0===Kt&&an(bt));if(n!==i){for(r=[],a=Xt,o=Xt,Kt++,xt.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(wt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=Ge(s)):(Xt=a,a=i)):(Xt=a,a=i);a!==i;)r.push(a),a=Xt,o=Xt,Kt++,xt.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(wt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=Ge(s)):(Xt=a,a=i)):(Xt=a,a=i);r!==i?(xt.test(e.charAt(Xt))?(a=e.charAt(Xt),Xt++):(a=i,0===Kt&&an(wt)),a===i&&(a=null),a!==i?(qt=t,t=n=St(r)):(Xt=t,t=i)):(Xt=t,t=i)}else Xt=t,t=i;Kt--,t===i&&(n=i,0===Kt&&an(yt));return t}(),t===i&&(t=function(){var t,n,r,a,o,s;Kt++,t=Xt,35===e.charCodeAt(Xt)?(n=Mt,Xt++):(n=i,0===Kt&&an(At));if(n!==i){for(r=[],a=Xt,o=Xt,Kt++,xt.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(wt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=Ge(s)):(Xt=a,a=i)):(Xt=a,a=i);a!==i;)r.push(a),a=Xt,o=Xt,Kt++,xt.test(e.charAt(Xt))?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(wt)),Kt--,s===i?o=void 0:(Xt=o,o=i),o!==i?(e.length>Xt?(s=e.charAt(Xt),Xt++):(s=i,0===Kt&&an(Be)),s!==i?(qt=a,a=o=Ge(s)):(Xt=a,a=i)):(Xt=a,a=i);r!==i?(xt.test(e.charAt(Xt))?(a=e.charAt(Xt),Xt++):(a=i,0===Kt&&an(wt)),a===i&&(a=null),a!==i?(qt=t,t=n=St(r)):(Xt=t,t=i)):(Xt=t,t=i)}else Xt=t,t=i;Kt--,t===i&&(n=i,0===Kt&&an(Et));return t}())),Kt--,t===i&&(0===Kt&&an(ct)),t}function An(){var e,t;for(Kt++,e=[],(t=Cn())===i&&(t=Mn());t!==i;)e.push(t),(t=Cn())===i&&(t=Mn());return Kt--,e===i&&(t=i,0===Kt&&an(Tt)),e}function Tn(){var t,n;if(t=[],Ct.test(e.charAt(Xt))?(n=e.charAt(Xt),Xt++):(n=i,0===Kt&&an(Pt)),n!==i)for(;n!==i;)t.push(n),Ct.test(e.charAt(Xt))?(n=e.charAt(Xt),Xt++):(n=i,0===Kt&&an(Pt));else t=i;return t}function Cn(){var t,n;if(t=[],Rt.test(e.charAt(Xt))?(n=e.charAt(Xt),Xt++):(n=i,0===Kt&&an(kt)),n===i&&(n=Tn()),n!==i)for(;n!==i;)t.push(n),Rt.test(e.charAt(Xt))?(n=e.charAt(Xt),Xt++):(n=i,0===Kt&&an(kt)),n===i&&(n=Tn());else t=i;return t}if((r=o())!==i&&Xt===e.length)return r;throw r!==i&&Xt{var r=n(4425);e.exports=r.parse},7674:e=>{"use strict";var t={ellipse:"\u2026",chars:[" ","-"],max:140,truncate:!0};function n(e,t,n,r){if(e<=t)return e;if(t<2)return e.slice(0,t-n.length)+n;for(var i=t-n.length,a=Math.floor(i/2),o=a,s=e.length-a,l=0;l{var r=n(393),i=n(3524).Fd;function a(e,t){return"outbound"===e||"inbound"===e?t.directedSize+2*t.undirectedSize:"in"===e||"out"===e||"directed"===e?t.directedSize:2*t.undirectedSize}function o(e,t){var n=e[(t=t||"outbound")+"Neighbors"].bind(e),i=a(t,e),o=r.getPointerArray(i),s=r.getPointerArray(e.order);this.graph=e,this.neighborhood=new s(i),this.starts=new o(e.order+1),this.nodes=e.nodes();var l,u,c,h,d,f={},p=0;for(l=0,u=e.order;l{e.exports={linLogMode:!1,outboundAttractionDistribution:!1,adjustSizes:!1,edgeWeightInfluence:1,scalingRatio:1,strongGravityMode:!1,gravity:1,slowDown:1,barnesHutOptimize:!1,barnesHutTheta:.5}},7889:(e,t)=>{t.assign=function(e){e=e||{};var t,n,r,i=Array.prototype.slice.call(arguments).slice(1);for(t=0,r=i.length;t=0?"strongGravityMode"in e&&"boolean"!==typeof e.strongGravityMode?{message:"the `strongGravityMode` setting should be a boolean."}:!("gravity"in e)||"number"===typeof e.gravity&&e.gravity>=0?"slowDown"in e&&!("number"===typeof e.slowDown||e.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in e&&"boolean"!==typeof e.barnesHutOptimize?{message:"the `barnesHutOptimize` setting should be a boolean."}:!("barnesHutTheta"in e)||"number"===typeof e.barnesHutTheta&&e.barnesHutTheta>=0?null:{message:"the `barnesHutTheta` setting should be a number >= 0."}:{message:"the `gravity` setting should be a number >= 0."}:{message:"the `scalingRatio` setting should be a number >= 0."}},t.graphToByteArrays=function(e,t){var n,r=e.order,i=e.size,a={},o=new Float32Array(10*r),s=new Float32Array(3*i);return n=0,e.forEachNode((function(e,t){a[e]=n,o[n]=t.x,o[n+1]=t.y,o[n+2]=0,o[n+3]=0,o[n+4]=0,o[n+5]=0,o[n+6]=1,o[n+7]=1,o[n+8]=t.size||1,o[n+9]=t.fixed?1:0,n+=10})),n=0,e.forEachEdge((function(e,r,i,l,u,c,h){var d=a[i],f=a[l],p=t(e,r,i,l,u,c,h);o[d+6]+=p,o[f+6]+=p,s[n]=d,s[n+1]=f,s[n+2]=p,n+=3})),{nodes:o,edges:s}},t.assignLayoutChanges=function(e,t,n){var r=0;e.updateEachNodeAttributes((function(e,i){return i.x=t[r],i.y=t[r+1],r+=10,n?n(e,i):i}))},t.readGraphPositions=function(e,t){var n=0;e.forEachNode((function(e,r){t[n]=r.x,t[n+1]=r.y,n+=10}))},t.collectLayoutChanges=function(e,t,n){for(var r=e.nodes(),i={},a=0,o=0,s=t.length;a{var r=n(4223),i=n(3524).Fd,a=n(8090),o=n(7889),s=n(3384);function l(e,t,n){if(!r(t))throw new Error("graphology-layout-forceatlas2: the given graph is not a valid graphology instance.");"number"===typeof n&&(n={iterations:n});var l=n.iterations;if("number"!==typeof l)throw new Error("graphology-layout-forceatlas2: invalid number of iterations.");if(l<=0)throw new Error("graphology-layout-forceatlas2: you should provide a positive number of iterations.");var u=i("getEdgeWeight"in n?n.getEdgeWeight:"weight").fromEntry,c="function"===typeof n.outputReducer?n.outputReducer:null,h=o.assign({},s,n.settings),d=o.validateSettings(h);if(d)throw new Error("graphology-layout-forceatlas2: "+d.message);var f,p=o.graphToByteArrays(t,u);for(f=0;f2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(t)}},e.exports=u},8090:e=>{var t=10;e.exports=function(e,n,r){var i,a,o,s,l,u,c,h,d,f,p,m,g,v,y,_,b,x,w,S,E,M,A,T=n.length,C=r.length,P=e.adjustSizes,R=e.barnesHutTheta*e.barnesHutTheta,k=[];for(o=0;oB?F=(N-=(z-B)/2)+z:I=(O-=(B-z)/2)+B,k[0]=-1,k[1]=(O+I)/2,k[2]=(N+F)/2,k[3]=Math.max(I-O,F-N),k[4]=-1,k[5]=-1,k[6]=0,k[7]=0,k[8]=0,i=1,o=0;o=0)){if(k[a+0]<0){k[a+0]=o;break}if(k[a+5]=9*i,h=k[a+3]/2,k[(d=k[a+5])+0]=-1,k[d+1]=k[a+1]-h,k[d+2]=k[a+2]-h,k[d+3]=h,k[d+4]=d+9,k[d+5]=-1,k[d+6]=0,k[d+7]=0,k[d+8]=0,k[(d+=9)+0]=-1,k[d+1]=k[a+1]-h,k[d+2]=k[a+2]+h,k[d+3]=h,k[d+4]=d+9,k[d+5]=-1,k[d+6]=0,k[d+7]=0,k[d+8]=0,k[(d+=9)+0]=-1,k[d+1]=k[a+1]+h,k[d+2]=k[a+2]-h,k[d+3]=h,k[d+4]=d+9,k[d+5]=-1,k[d+6]=0,k[d+7]=0,k[d+8]=0,k[(d+=9)+0]=-1,k[d+1]=k[a+1]+h,k[d+2]=k[a+2]+h,k[d+3]=h,k[d+4]=k[a+4],k[d+5]=-1,k[d+6]=0,k[d+7]=0,k[d+8]=0,i+=4,L=n[k[a+0]+0]=0){if(_=Math.pow(n[o+0]-k[a+7],2)+Math.pow(n[o+1]-k[a+8],2),4*(f=k[a+3])*f/_0?(b=m*n[o+6]*k[a+6]/_,n[o+2]+=g*b,n[o+3]+=v*b):_<0&&(b=-m*n[o+6]*k[a+6]/Math.sqrt(_),n[o+2]+=g*b,n[o+3]+=v*b):_>0&&(b=m*n[o+6]*k[a+6]/_,n[o+2]+=g*b,n[o+3]+=v*b),(a=k[a+4])<0)break;continue}a=k[a+5]}else if((u=k[a+0])>=0&&u!==o&&(_=(g=n[o+0]-n[u+0])*g+(v=n[o+1]-n[u+1])*v,!0===P?_>0?(b=m*n[o+6]*n[u+6]/_,n[o+2]+=g*b,n[o+3]+=v*b):_<0&&(b=-m*n[o+6]*n[u+6]/Math.sqrt(_),n[o+2]+=g*b,n[o+3]+=v*b):_>0&&(b=m*n[o+6]*n[u+6]/_,n[o+2]+=g*b,n[o+3]+=v*b)),(a=k[a+4])<0)break}else for(m=e.scalingRatio,s=0;s0?(b=m*n[s+6]*n[l+6]/_/_,n[s+2]+=g*b,n[s+3]+=v*b,n[l+2]-=g*b,n[l+3]-=v*b):_<0&&(b=100*m*n[s+6]*n[l+6],n[s+2]+=g*b,n[s+3]+=v*b,n[l+2]-=g*b,n[l+3]-=v*b):(_=Math.sqrt(g*g+v*v))>0&&(b=m*n[s+6]*n[l+6]/_/_,n[s+2]+=g*b,n[s+3]+=v*b,n[l+2]-=g*b,n[l+3]-=v*b);for(d=e.gravity/e.scalingRatio,m=e.scalingRatio,o=0;o0&&(b=m*n[o+6]*d):_>0&&(b=m*n[o+6]*d/_),n[o+2]-=g*b,n[o+3]-=v*b;for(m=1*(e.outboundAttractionDistribution?p:1),c=0;c0&&(b=-m*y*Math.log(1+_)/_/n[s+6]):_>0&&(b=-m*y*Math.log(1+_)/_):e.outboundAttractionDistribution?_>0&&(b=-m*y/n[s+6]):_>0&&(b=-m*y)):(_=Math.sqrt(Math.pow(g,2)+Math.pow(v,2)),e.linLogMode?e.outboundAttractionDistribution?_>0&&(b=-m*y*Math.log(1+_)/_/n[s+6]):_>0&&(b=-m*y*Math.log(1+_)/_):e.outboundAttractionDistribution?(_=1,b=-m*y/n[s+6]):(_=1,b=-m*y)),_>0&&(n[s+2]+=g*b,n[s+3]+=v*b,n[l+2]-=g*b,n[l+3]-=v*b);if(!0===P)for(o=0;o10&&(n[o+2]=10*n[o+2]/x,n[o+3]=10*n[o+3]/x),w=n[o+6]*Math.sqrt((n[o+4]-n[o+2])*(n[o+4]-n[o+2])+(n[o+5]-n[o+3])*(n[o+5]-n[o+3])),S=Math.sqrt((n[o+4]+n[o+2])*(n[o+4]+n[o+2])+(n[o+5]+n[o+3])*(n[o+5]+n[o+3]))/2,E=.1*Math.log(1+S)/(1+Math.sqrt(w)),M=n[o+0]+n[o+2]*(E/e.slowDown),n[o+0]=M,A=n[o+1]+n[o+3]*(E/e.slowDown),n[o+1]=A);else for(o=0;o{e.exports={gridSize:20,margin:5,expansion:1.1,ratio:1,speed:3}},3700:(e,t)=>{t.validateSettings=function(e){return"gridSize"in e&&"number"!==typeof e.gridSize||e.gridSize<=0?{message:"the `gridSize` setting should be a positive number."}:"margin"in e&&"number"!==typeof e.margin||e.margin<0?{message:"the `margin` setting should be 0 or a positive number."}:"expansion"in e&&"number"!==typeof e.expansion||e.expansion<=0?{message:"the `expansion` setting should be a positive number."}:"ratio"in e&&"number"!==typeof e.ratio||e.ratio<=0?{message:"the `ratio` setting should be a positive number."}:"speed"in e&&"number"!==typeof e.speed||e.speed<=0?{message:"the `speed` setting should be a positive number."}:null},t.graphToByteArray=function(e,t){var n=e.order,r=new Float32Array(3*n),i=0;return e.forEachNode((function(e,n){"function"===typeof t&&(n=t(e,n)),r[i]=n.x,r[i+1]=n.y,r[i+2]=n.size||1,i+=3})),r},t.assignLayoutChanges=function(e,t,n){var r=0;e.forEachNode((function(i){var a={x:t[r],y:t[r+1]};"function"===typeof n&&(a=n(i,a)),e.mergeNodeAttributes(i,a),r+=3}))},t.collectLayoutChanges=function(e,t,n){var r={},i=0;return e.forEachNode((function(e){var a={x:t[i],y:t[i+1]};"function"===typeof n&&(a=n(e,a)),r[e]=a,i+=3})),r},t.createWorker=function(e){var t=window.URL||window.webkitURL,n=e.toString(),r=t.createObjectURL(new Blob(["("+n+").call(this);"],{type:"text/javascript"})),i=new Worker(r);return t.revokeObjectURL(r),i}},7241:(e,t,n)=>{var r=n(4223),i=n(915),a=n(3700),o=n(4483);function s(e,t,n){if(!r(t))throw new Error("graphology-layout-noverlap: the given graph is not a valid graphology instance.");var s=(n="number"===typeof n?{maxIterations:n}:n||{}).maxIterations||500;if("number"!==typeof s||s<=0)throw new Error("graphology-layout-force: you should provide a positive number of maximum iterations.");var l=Object.assign({},o,n.settings),u=a.validateSettings(l);if(u)throw new Error("graphology-layout-noverlap: "+u.message);var c,h=a.graphToByteArray(t,n.inputReducer),d=!1;for(c=0;c{function t(){return.01*(.5-Math.random())}e.exports=function(e,n){var r,i,a,o,s,l,u=e.margin,c=e.ratio,h=e.expansion,d=e.gridSize,f=e.speed,p=!0,m=n.length,g=m/3|0,v=new Float32Array(g),y=new Float32Array(g),_=1/0,b=1/0,x=-1/0,w=-1/0;for(r=0;r1&&J.has($)||(B>1&&J.add($),W=n[V+0],X=n[V+1],Y=n[V+2],Z=W-H,K=X-j,(Q=Math.sqrt(Z*Z+K*K))0?(v[V]+=Z/Q*(1+q),y[V]+=K/Q*(1+q)):(v[V]+=S*t(),y[V]+=E*t())));for(r=0,i=0;r{var r=n(6064),i=n(4223),a={dimensions:["x","y"],center:.5,scale:1};function o(e,t,n){if(!i(t))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");var o=(n=r(n,a)).dimensions;if(!Array.isArray(o)||2!==o.length)throw new Error("graphology-layout/random: given dimensions are invalid.");var s=n.center,l=n.scale,u=2*Math.PI,c=(s-.5)*l,h=t.order,d=o[0],f=o[1];function p(e,t){return t[d]=l*Math.cos(e*u/h)+c,t[f]=l*Math.sin(e*u/h)+c,t}var m=0;if(!e){var g={};return t.forEachNode((function(e){g[e]=p(m++,{})})),g}t.updateEachNodeAttributes((function(e,t){return p(m++,t),t}),{attributes:o})}var s=o.bind(null,!1);s.assign=o.bind(null,!0),e.exports=s},3598:(e,t,n)=>{var r=n(6064),i=n(4223),a={dimensions:["x","y"],center:.5,rng:Math.random,scale:1};function o(e,t,n){if(!i(t))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");var o=(n=r(n,a)).dimensions;if(!Array.isArray(o)||o.length<1)throw new Error("graphology-layout/random: given dimensions are invalid.");var s=o.length,l=n.center,u=n.rng,c=n.scale,h=(l-.5)*c;function d(e){for(var t=0;t{var r=n(4223);function i(e,t,n,i){var a=t+"Centrality";if(!r(n))throw new Error("graphology-centrality/"+a+": the given graph is not a valid graphology instance.");if("degree"!==t&&"undirected"===n.type)throw new Error("graphology-centrality/"+a+": cannot compute "+t+" centrality on an undirected graph.");var o=(i=i||{}).nodeCentralityAttribute||a,s=n.order-1,l=n[t].bind(n);if(!e){var u={};return n.forEachNode((function(e){u[e]=l(e)/s})),u}n.updateEachNodeAttributes((function(e,t){return t[o]=l(e)/s,t}),{attributes:[o]})}var a=i.bind(null,!1,"degree"),o=i.bind(null,!1,"inDegree"),s=i.bind(null,!1,"outDegree");a.assign=i.bind(null,!0,"degree"),o.assign=i.bind(null,!0,"inDegree"),s.assign=i.bind(null,!0,"outDegree"),t.gI=a},4033:(e,t,n)=>{var r=n(4223),i=n(6064),a=n(8306).u,o={nodePagerankAttribute:"pagerank",getEdgeWeight:"weight",alpha:.85,maxIterations:100,tolerance:1e-6};function s(e,t,n){if(!r(t))throw new Error("graphology-metrics/centrality/pagerank: the given graph is not a valid graphology instance.");var s,l,u,c,h=(n=i(n,o)).alpha,d=n.maxIterations,f=n.tolerance,p=n.nodePagerankAttribute,m=t.order,g=1/m,v=new a(t,n.getEdgeWeight),y=new Float64Array(t.order),_=new Float64Array(v.weights.length),b=[];for(s=0;s{var r=n(4223),i=n(3524).Fd,a=n(2104);function o(e,t){return e[0]>t[0]?1:e[0]t[1]?1:e[1]{var r=n(4223),i=n(3524).Fd,a=n(2104),o="weight";function s(e,t){return e[0]>t[0]?1:e[0]t[1]?1:e[1]t[2]?1:e[2]t[0]?1:e[0]t[1]?1:e[1]t[2]?1:e[2]t[3]?1:e[3]{var r=n(7153),i=n(4374);n(5937),n(6964),r.bidirectional,r.singleSource,r.singleSourceLength,r.undirectedSingleSourceLength,r.brandes,i.edgePathFromNodePath},7153:(e,t,n)=>{var r=n(4223),i=n(2867),a=n(6331);function o(e,t,n){if(!r(t))throw new Error("graphology-shortest-path: invalid graphology instance.");if(!t.hasNode(n))throw new Error('graphology-shortest-path: the "'+n+'" source node does not exist in the given graph.');n=""+n;var i=new Set,o={},s=0;o[n]=0;for(var l,u,c,h=[n];0!==h.length;){var d=[];for(l=0,u=h.length;l{var n=function(){return!0};t.edgePathFromNodePath=function(e,t){var r,i,a,o,s=t.length;if(s<2)return i=t[0],(o=e.multi?e.findEdge(i,i,n):e.edge(i,i))?[o]:[];s--;var l=new Array(s);for(r=0;r{e.exports=function e(t,n){t=t||{};var r,i={};for(var a in n){var o=t[a],s=n[a];!(r=s)||"object"!==typeof r||"function"===typeof r||Array.isArray(r)||r instanceof Set||r instanceof Map||r instanceof RegExp||r instanceof Date?i[a]=void 0===o?s:o:i[a]=e(o,s)}return i}},3524:(e,t)=>{function n(e){return"number"!==typeof e||isNaN(e)?1:e}function r(e,t){var n={},r=function(e){return"undefined"===typeof e?t:e};"function"===typeof t&&(r=t);var i=function(t){return r(t[e])},a=function(){return r(void 0)};return"string"===typeof e?(n.fromAttributes=i,n.fromGraph=function(e,t){return i(e.getEdgeAttributes(t))},n.fromEntry=function(e,t){return i(t)},n.fromPartialEntry=n.fromEntry,n.fromMinimalEntry=n.fromEntry):"function"===typeof e?(n.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},n.fromGraph=function(t,n){var i=t.extremities(n);return r(e(n,t.getEdgeAttributes(n),i[0],i[1],t.getNodeAttributes(i[0]),t.getNodeAttributes(i[1]),t.isUndirected(n)))},n.fromEntry=function(t,n,i,a,o,s,l){return r(e(t,n,i,a,o,s,l))},n.fromPartialEntry=function(t,n,i,a){return r(e(t,n,i,a))},n.fromMinimalEntry=function(t,n){return r(e(t,n))}):(n.fromAttributes=a,n.fromGraph=a,n.fromEntry=a,n.fromMinimalEntry=a),n}t.Fd=function(e){return r(e,n)}},4223:e=>{e.exports=function(e){return null!==e&&"object"===typeof e&&"function"===typeof e.addUndirectedEdgeWithKey&&"function"===typeof e.dropNode&&"boolean"===typeof e.multi}},7611:function(e){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t,n){return a=i()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},a.apply(null,arguments)}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return a(e,arguments,n(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),r(o,e)},o(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(){for(var e=arguments[0],t=1,n=arguments.length;t0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return e}function M(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=M.bind(r);return i.listener=n,r.wrapFn=i,i}function T(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)y(s,this,t);else{var l=s.length,u=P(s,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},b.prototype.listeners=function(e){return T(this,e,!0)},b.prototype.rawListeners=function(e){return T(this,e,!1)},b.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):C.call(e,t)},b.prototype.listenerCount=C,b.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]},"undefined"!=typeof Symbol&&(k.prototype[Symbol.iterator]=function(){return this}),k.of=function(){var e=arguments,t=e.length,n=0;return new k((function(){return n>=t?{done:!0}:{done:!1,value:e[n++]}}))},k.empty=function(){return new k((function(){return{done:!0}}))},k.fromSequence=function(e){var t=0,n=e.length;return new k((function(){return t>=n?{done:!0}:{done:!1,value:e[t++]}}))},k.is=function(e){return e instanceof k||"object"==typeof e&&null!==e&&"function"==typeof e.next};var L=k,D={};D.ARRAY_BUFFER_SUPPORT="undefined"!=typeof ArrayBuffer,D.SYMBOL_SUPPORT="undefined"!=typeof Symbol;var U=L,O=D,I=O.ARRAY_BUFFER_SUPPORT,N=O.SYMBOL_SUPPORT,F=function(e){var t=function(e){return"string"==typeof e||Array.isArray(e)||I&&ArrayBuffer.isView(e)?U.fromSequence(e):"object"!=typeof e||null===e?null:N&&"function"==typeof e[Symbol.iterator]?e[Symbol.iterator]():"function"==typeof e.next?e:null}(e);if(!t)throw new Error("obliterator: target is not iterable nor a valid iterator.");return t},z=F,B=function(e,t){for(var n,r=arguments.length>1?t:1/0,i=r!==1/0?new Array(r):[],a=0,o=z(e);;){if(a===r)return i;if((n=o.next()).done)return a!==t&&(i.length=a),i;i[a++]=n.value}},G=function(e){function n(t){var n;return(n=e.call(this)||this).name="GraphError",n.message=t,n}return t(n,e),n}(o(Error)),V=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="InvalidArgumentsGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(G),H=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="NotFoundGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(G),W=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="UsageGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(G);function j(e,t){this.key=e,this.attributes=t,this.clear()}function X(e,t){this.key=e,this.attributes=t,this.clear()}function q(e,t){this.key=e,this.attributes=t,this.clear()}function Y(e,t,n,r,i){this.key=t,this.attributes=i,this.undirected=e,this.source=n,this.target=r}function $(e,t,n,r,i,a,o){var s,l,u,c;if(r=""+r,0===n){if(!(s=e._nodes.get(r)))throw new H("Graph.".concat(t,': could not find the "').concat(r,'" node in the graph.'));u=i,c=a}else if(3===n){if(i=""+i,!(l=e._edges.get(i)))throw new H("Graph.".concat(t,': could not find the "').concat(i,'" edge in the graph.'));var h=l.source.key,d=l.target.key;if(r===h)s=l.target;else{if(r!==d)throw new H("Graph.".concat(t,': the "').concat(r,'" node is not attached to the "').concat(i,'" edge (').concat(h,", ").concat(d,")."));s=l.source}u=a,c=o}else{if(!(l=e._edges.get(r)))throw new H("Graph.".concat(t,': could not find the "').concat(r,'" edge in the graph.'));s=1===n?l.source:l.target,u=i,c=a}return[s,u,c]}j.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}},X.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}},q.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}},Y.prototype.attach=function(){var e="out",t="in";this.undirected&&(e=t="undirected");var n=this.source.key,r=this.target.key;this.source[e][r]=this,this.undirected&&n===r||(this.target[t][n]=this)},Y.prototype.attachMulti=function(){var e="out",t="in",n=this.source.key,r=this.target.key;this.undirected&&(e=t="undirected");var i=this.source[e],a=i[r];if(void 0===a)return i[r]=this,void(this.undirected&&n===r||(this.target[t][n]=this));a.previous=this,this.next=a,i[r]=this,this.target[t][n]=this},Y.prototype.detach=function(){var e=this.source.key,t=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),delete this.source[n][t],delete this.target[r][e]},Y.prototype.detachMulti=function(){var e=this.source.key,t=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),void 0===this.previous?void 0===this.next?(delete this.source[n][t],delete this.target[r][e]):(this.next.previous=void 0,this.source[n][t]=this.next,this.target[r][e]=this.next):(this.previous.next=this.next,void 0!==this.next&&(this.next.previous=this.previous))};var Z=[{name:function(e){return"get".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];return o.attributes[s]}}},{name:function(e){return"get".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){return $(this,t,n,e,r)[0].attributes}}},{name:function(e){return"has".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];return o.attributes.hasOwnProperty(s)}}},{name:function(e){return"set".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i,a){var o=$(this,t,n,e,r,i,a),s=o[0],l=o[1],u=o[2];return s.attributes[l]=u,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}},{name:function(e){return"update".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i,a){var o=$(this,t,n,e,r,i,a),s=o[0],l=o[1],u=o[2];if("function"!=typeof u)throw new V("Graph.".concat(t,": updater should be a function."));var c=s.attributes,h=u(c[l]);return c[l]=h,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}},{name:function(e){return"remove".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];return delete o.attributes[s],this.emit("nodeAttributesUpdated",{key:o.key,type:"remove",attributes:o.attributes,name:s}),this}}},{name:function(e){return"replace".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];if(!c(s))throw new V("Graph.".concat(t,": provided attributes are not a plain object."));return o.attributes=s,this.emit("nodeAttributesUpdated",{key:o.key,type:"replace",attributes:o.attributes}),this}}},{name:function(e){return"merge".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];if(!c(s))throw new V("Graph.".concat(t,": provided attributes are not a plain object."));return l(o.attributes,s),this.emit("nodeAttributesUpdated",{key:o.key,type:"merge",attributes:o.attributes,data:s}),this}}},{name:function(e){return"update".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a=$(this,t,n,e,r,i),o=a[0],s=a[1];if("function"!=typeof s)throw new V("Graph.".concat(t,": provided updater is not a function."));return o.attributes=s(o.attributes),this.emit("nodeAttributesUpdated",{key:o.key,type:"update",attributes:o.attributes}),this}}}],K=[{name:function(e){return"get".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return i.attributes[r]}}},{name:function(e){return"get".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e){var r;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>1){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var i=""+e,a=""+arguments[1];if(!(r=u(this,i,a,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(i,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(r=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return r.attributes}}},{name:function(e){return"has".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return i.attributes.hasOwnProperty(r)}}},{name:function(e){return"set".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,s=""+r;if(r=arguments[2],i=arguments[3],!(a=u(this,o,s,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(s,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(a=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return a.attributes[r]=i,this.emit("edgeAttributesUpdated",{key:a.key,type:"set",attributes:a.attributes,name:r}),this}}},{name:function(e){return"update".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var a;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,s=""+r;if(r=arguments[2],i=arguments[3],!(a=u(this,o,s,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(s,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(a=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if("function"!=typeof i)throw new V("Graph.".concat(t,": updater should be a function."));return a.attributes[r]=i(a.attributes[r]),this.emit("edgeAttributesUpdated",{key:a.key,type:"set",attributes:a.attributes,name:r}),this}}},{name:function(e){return"remove".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return delete i.attributes[r],this.emit("edgeAttributesUpdated",{key:i.key,type:"remove",attributes:i.attributes,name:r}),this}}},{name:function(e){return"replace".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if(!c(r))throw new V("Graph.".concat(t,": provided attributes are not a plain object."));return i.attributes=r,this.emit("edgeAttributesUpdated",{key:i.key,type:"replace",attributes:i.attributes}),this}}},{name:function(e){return"merge".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if(!c(r))throw new V("Graph.".concat(t,": provided attributes are not a plain object."));return l(i.attributes,r),this.emit("edgeAttributesUpdated",{key:i.key,type:"merge",attributes:i.attributes,data:r}),this}}},{name:function(e){return"update".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new W("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new W("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,o=""+r;if(r=arguments[2],!(i=u(this,a,o,n)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new W("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new H("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if("function"!=typeof r)throw new V("Graph.".concat(t,": provided updater is not a function."));return i.attributes=r(i.attributes),this.emit("edgeAttributesUpdated",{key:i.key,type:"update",attributes:i.attributes}),this}}}],Q=L,J=F,ee=function(){var e=arguments,t=null,n=-1;return new Q((function(){for(var r=null;;){if(null===t){if(++n>=e.length)return{done:!0};t=J(e[n])}if(!0!==(r=t.next()).done)break;t=null}return r}))},te=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function ne(e,t,n,r){var i=!1;for(var a in t)if(a!==r){var o=t[a];if(i=n(o.key,o.attributes,o.source.key,o.target.key,o.source.attributes,o.target.attributes,o.undirected),e&&i)return o.key}}function re(e,t,n,r){var i,a,o,s=!1;for(var l in t)if(l!==r){i=t[l];do{if(a=i.source,o=i.target,s=n(i.key,i.attributes,a.key,o.key,a.attributes,o.attributes,i.undirected),e&&s)return i.key;i=i.next}while(void 0!==i)}}function ie(e,t){var n,r=Object.keys(e),i=r.length,a=0;return new L((function(){do{if(n)n=n.next;else{if(a>=i)return{done:!0};var o=r[a++];if(o===t){n=void 0;continue}n=e[o]}}while(!n);return{done:!1,value:{edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected}}}))}function ae(e,t,n,r){var i=t[n];if(i){var a=i.source,o=i.target;return r(i.key,i.attributes,a.key,o.key,a.attributes,o.attributes,i.undirected)&&e?i.key:void 0}}function oe(e,t,n,r){var i=t[n];if(i){var a=!1;do{if(a=r(i.key,i.attributes,i.source.key,i.target.key,i.source.attributes,i.target.attributes,i.undirected),e&&a)return i.key;i=i.next}while(void 0!==i)}}function se(e,t){var n=e[t];return void 0!==n.next?new L((function(){if(!n)return{done:!0};var e={edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected};return n=n.next,{done:!1,value:e}})):L.of({edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected})}function le(e,t){if(0===e.size)return[];if("mixed"===t||t===e.type)return"function"==typeof Array.from?Array.from(e._edges.keys()):B(e._edges.keys(),e._edges.size);for(var n,r,i="undirected"===t?e.undirectedSize:e.directedSize,a=new Array(i),o="undirected"===t,s=e._edges.values(),l=0;!0!==(n=s.next()).done;)(r=n.value).undirected===o&&(a[l++]=r.key);return a}function ue(e,t,n,r){if(0!==t.size)for(var i,a,o="mixed"!==n&&n!==t.type,s="undirected"===n,l=!1,u=t._edges.values();!0!==(i=u.next()).done;)if(a=i.value,!o||a.undirected===s){var c=a,h=c.key,d=c.attributes,f=c.source,p=c.target;if(l=r(h,d,f.key,p.key,f.attributes,p.attributes,a.undirected),e&&l)return h}}function ce(e,t){if(0===e.size)return L.empty();var n="mixed"!==t&&t!==e.type,r="undirected"===t,i=e._edges.values();return new L((function(){for(var e,t;;){if((e=i.next()).done)return e;if(t=e.value,!n||t.undirected===r)break}return{value:{edge:t.key,attributes:t.attributes,source:t.source.key,target:t.target.key,sourceAttributes:t.source.attributes,targetAttributes:t.target.attributes,undirected:t.undirected},done:!1}}))}function he(e,t,n,r,i,a){var o,s=t?re:ne;if("undirected"!==n){if("out"!==r&&(o=s(e,i.in,a),e&&o))return o;if("in"!==r&&(o=s(e,i.out,a,r?void 0:i.key),e&&o))return o}if("directed"!==n&&(o=s(e,i.undirected,a),e&&o))return o}function de(e,t,n,r){var i=[];return he(!1,e,t,n,r,(function(e){i.push(e)})),i}function fe(e,t,n){var r=L.empty();return"undirected"!==e&&("out"!==t&&void 0!==n.in&&(r=ee(r,ie(n.in))),"in"!==t&&void 0!==n.out&&(r=ee(r,ie(n.out,t?void 0:n.key)))),"directed"!==e&&void 0!==n.undirected&&(r=ee(r,ie(n.undirected))),r}function pe(e,t,n,r,i,a,o){var s,l=n?oe:ae;if("undirected"!==t){if(void 0!==i.in&&"out"!==r&&(s=l(e,i.in,a,o),e&&s))return s;if(void 0!==i.out&&"in"!==r&&(r||i.key!==a)&&(s=l(e,i.out,a,o),e&&s))return s}if("directed"!==t&&void 0!==i.undirected&&(s=l(e,i.undirected,a,o),e&&s))return s}function me(e,t,n,r,i){var a=[];return pe(!1,e,t,n,r,i,(function(e){a.push(e)})),a}function ge(e,t,n,r){var i=L.empty();return"undirected"!==e&&(void 0!==n.in&&"out"!==t&&r in n.in&&(i=ee(i,se(n.in,r))),void 0!==n.out&&"in"!==t&&r in n.out&&(t||n.key!==r)&&(i=ee(i,se(n.out,r)))),"directed"!==e&&void 0!==n.undirected&&r in n.undirected&&(i=ee(i,se(n.undirected,r))),i}var ve=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function ye(){this.A=null,this.B=null}function _e(e,t,n,r,i){for(var a in r){var o=r[a],s=o.source,l=o.target,u=s===n?l:s;if(!t||!t.has(u.key)){var c=i(u.key,u.attributes);if(e&&c)return u.key}}}function be(e,t,n,r,i){if("mixed"!==t){if("undirected"===t)return _e(e,null,r,r.undirected,i);if("string"==typeof n)return _e(e,null,r,r[n],i)}var a,o=new ye;if("undirected"!==t){if("out"!==n){if(a=_e(e,null,r,r.in,i),e&&a)return a;o.wrap(r.in)}if("in"!==n){if(a=_e(e,o,r,r.out,i),e&&a)return a;o.wrap(r.out)}}if("directed"!==t&&(a=_e(e,o,r,r.undirected,i),e&&a))return a}function xe(e,t,n){var r=Object.keys(n),i=r.length,a=0;return new L((function(){var o=null;do{if(a>=i)return e&&e.wrap(n),{done:!0};var s=n[r[a++]],l=s.source,u=s.target;o=l===t?u:l,e&&e.has(o.key)&&(o=null)}while(null===o);return{done:!1,value:{neighbor:o.key,attributes:o.attributes}}}))}function we(e,t){var n=t.name,r=t.type,i=t.direction;e.prototype[n]=function(e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return[];e=""+e;var t=this._nodes.get(e);if(void 0===t)throw new H("Graph.".concat(n,': could not find the "').concat(e,'" node in the graph.'));return function(e,t,n){if("mixed"!==e){if("undirected"===e)return Object.keys(n.undirected);if("string"==typeof t)return Object.keys(n[t])}var r=[];return be(!1,e,t,n,(function(e){r.push(e)})),r}("mixed"===r?this.type:r,i,t)}}function Se(e,t){var n=t.name,r=t.type,i=t.direction,a=n.slice(0,-1)+"Entries";e.prototype[a]=function(e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return L.empty();e=""+e;var t=this._nodes.get(e);if(void 0===t)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));return function(e,t,n){if("mixed"!==e){if("undirected"===e)return xe(null,n,n.undirected);if("string"==typeof t)return xe(null,n,n[t])}var r=L.empty(),i=new ye;return"undirected"!==e&&("out"!==t&&(r=ee(r,xe(i,n,n.in))),"in"!==t&&(r=ee(r,xe(i,n,n.out)))),"directed"!==e&&(r=ee(r,xe(i,n,n.undirected))),r}("mixed"===r?this.type:r,i,t)}}function Ee(e,t,n,r,i){for(var a,o,s,l,u,c,h,d=r._nodes.values(),f=r.type;!0!==(a=d.next()).done;){var p=!1;if(o=a.value,"undirected"!==f)for(s in l=o.out){u=l[s];do{if(c=u.target,p=!0,h=i(o.key,c.key,o.attributes,c.attributes,u.key,u.attributes,u.undirected),e&&h)return u;u=u.next}while(u)}if("directed"!==f)for(s in l=o.undirected)if(!(t&&o.key>s)){u=l[s];do{if((c=u.target).key!==s&&(c=u.source),p=!0,h=i(o.key,c.key,o.attributes,c.attributes,u.key,u.attributes,u.undirected),e&&h)return u;u=u.next}while(u)}if(n&&!p&&(h=i(o.key,null,o.attributes,null,null,null,null),e&&h))return null}}function Me(e){if(!c(e))throw new V('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in e))throw new V("Graph.import: serialized node is missing its key.");if("attributes"in e&&(!c(e.attributes)||null===e.attributes))throw new V("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function Ae(e){if(!c(e))throw new V('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in e))throw new V("Graph.import: serialized edge is missing its source.");if(!("target"in e))throw new V("Graph.import: serialized edge is missing its target.");if("attributes"in e&&(!c(e.attributes)||null===e.attributes))throw new V("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in e&&"boolean"!=typeof e.undirected)throw new V("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}ye.prototype.wrap=function(e){null===this.A?this.A=e:null===this.B&&(this.B=e)},ye.prototype.has=function(e){return null!==this.A&&e in this.A||null!==this.B&&e in this.B};var Te,Ce=(Te=255&Math.floor(256*Math.random()),function(){return Te++}),Pe=new Set(["directed","undirected","mixed"]),Re=new Set(["domain","_events","_eventsCount","_maxListeners"]),ke={allowSelfLoops:!0,multi:!1,type:"mixed"};function Le(e,t,n){var r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}function De(e,t,n,r,i,a,o,s){if(!r&&"undirected"===e.type)throw new W("Graph.".concat(t,": you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead."));if(r&&"directed"===e.type)throw new W("Graph.".concat(t,": you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead."));if(s&&!c(s))throw new V("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(s,'"'));if(a=""+a,o=""+o,s=s||{},!e.allowSelfLoops&&a===o)throw new W("Graph.".concat(t,': source & target are the same ("').concat(a,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var l=e._nodes.get(a),u=e._nodes.get(o);if(!l)throw new H("Graph.".concat(t,': source node "').concat(a,'" not found.'));if(!u)throw new H("Graph.".concat(t,': target node "').concat(o,'" not found.'));var h={key:null,undirected:r,source:a,target:o,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=""+i,e._edges.has(i))throw new W("Graph.".concat(t,': the "').concat(i,'" edge already exists in the graph.'));if(!e.multi&&(r?void 0!==l.undirected[o]:void 0!==l.out[o]))throw new W("Graph.".concat(t,': an edge linking "').concat(a,'" to "').concat(o,"\" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option."));var d=new Y(r,i,l,u,s);e._edges.set(i,d);var f=a===o;return r?(l.undirectedDegree++,u.undirectedDegree++,f&&(l.undirectedLoops++,e._undirectedSelfLoopCount++)):(l.outDegree++,u.inDegree++,f&&(l.directedLoops++,e._directedSelfLoopCount++)),e.multi?d.attachMulti():d.attach(),r?e._undirectedSize++:e._directedSize++,h.key=i,e.emit("edgeAdded",h),i}function Ue(e,t,n,r,i,a,o,s,u){if(!r&&"undirected"===e.type)throw new W("Graph.".concat(t,": you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead."));if(r&&"directed"===e.type)throw new W("Graph.".concat(t,": you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead."));if(s)if(u){if("function"!=typeof s)throw new V("Graph.".concat(t,': invalid updater function. Expecting a function but got "').concat(s,'"'))}else if(!c(s))throw new V("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(s,'"'));var h;if(a=""+a,o=""+o,u&&(h=s,s=void 0),!e.allowSelfLoops&&a===o)throw new W("Graph.".concat(t,': source & target are the same ("').concat(a,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var d,f,p=e._nodes.get(a),m=e._nodes.get(o);if(!n&&(d=e._edges.get(i))){if(!(d.source.key===a&&d.target.key===o||r&&d.source.key===o&&d.target.key===a))throw new W("Graph.".concat(t,': inconsistency detected when attempting to merge the "').concat(i,'" edge with "').concat(a,'" source & "').concat(o,'" target vs. ("').concat(d.source.key,'", "').concat(d.target.key,'").'));f=d}if(f||e.multi||!p||(f=r?p.undirected[o]:p.out[o]),f){var g=[f.key,!1,!1,!1];if(u?!h:!s)return g;if(u){var v=f.attributes;f.attributes=h(v),e.emit("edgeAttributesUpdated",{type:"replace",key:f.key,attributes:f.attributes})}else l(f.attributes,s),e.emit("edgeAttributesUpdated",{type:"merge",key:f.key,attributes:f.attributes,data:s});return g}s=s||{},u&&h&&(s=h(s));var y={key:null,undirected:r,source:a,target:o,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=""+i,e._edges.has(i))throw new W("Graph.".concat(t,': the "').concat(i,'" edge already exists in the graph.'));var _=!1,b=!1;p||(p=Le(e,a,{}),_=!0,a===o&&(m=p,b=!0)),m||(m=Le(e,o,{}),b=!0),d=new Y(r,i,p,m,s),e._edges.set(i,d);var x=a===o;return r?(p.undirectedDegree++,m.undirectedDegree++,x&&(p.undirectedLoops++,e._undirectedSelfLoopCount++)):(p.outDegree++,m.inDegree++,x&&(p.directedLoops++,e._directedSelfLoopCount++)),e.multi?d.attachMulti():d.attach(),r?e._undirectedSize++:e._directedSize++,y.key=i,e.emit("edgeAdded",y),[i,!0,_,b]}function Oe(e,t){e._edges.delete(t.key);var n=t.source,r=t.target,i=t.attributes,a=t.undirected,o=n===r;a?(n.undirectedDegree--,r.undirectedDegree--,o&&(n.undirectedLoops--,e._undirectedSelfLoopCount--)):(n.outDegree--,r.inDegree--,o&&(n.directedLoops--,e._directedSelfLoopCount--)),e.multi?t.detachMulti():t.detach(),a?e._undirectedSize--:e._directedSize--,e.emit("edgeDropped",{key:t.key,attributes:i,source:n.key,target:r.key,undirected:a})}var Ie=function(n){function r(e){var t;if(t=n.call(this)||this,"boolean"!=typeof(e=l({},ke,e)).multi)throw new V("Graph.constructor: invalid 'multi' option. Expecting a boolean but got \"".concat(e.multi,'".'));if(!Pe.has(e.type))throw new V('Graph.constructor: invalid \'type\' option. Should be one of "mixed", "directed" or "undirected" but got "'.concat(e.type,'".'));if("boolean"!=typeof e.allowSelfLoops)throw new V("Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got \"".concat(e.allowSelfLoops,'".'));var r="mixed"===e.type?j:"directed"===e.type?X:q;d(s(t),"NodeDataClass",r);var i="geid_"+Ce()+"_",a=0;return d(s(t),"_attributes",{}),d(s(t),"_nodes",new Map),d(s(t),"_edges",new Map),d(s(t),"_directedSize",0),d(s(t),"_undirectedSize",0),d(s(t),"_directedSelfLoopCount",0),d(s(t),"_undirectedSelfLoopCount",0),d(s(t),"_edgeKeyGenerator",(function(){var e;do{e=i+a++}while(t._edges.has(e));return e})),d(s(t),"_options",e),Re.forEach((function(e){return d(s(t),e,t[e])})),f(s(t),"order",(function(){return t._nodes.size})),f(s(t),"size",(function(){return t._edges.size})),f(s(t),"directedSize",(function(){return t._directedSize})),f(s(t),"undirectedSize",(function(){return t._undirectedSize})),f(s(t),"selfLoopCount",(function(){return t._directedSelfLoopCount+t._undirectedSelfLoopCount})),f(s(t),"directedSelfLoopCount",(function(){return t._directedSelfLoopCount})),f(s(t),"undirectedSelfLoopCount",(function(){return t._undirectedSelfLoopCount})),f(s(t),"multi",t._options.multi),f(s(t),"type",t._options.type),f(s(t),"allowSelfLoops",t._options.allowSelfLoops),f(s(t),"implementation",(function(){return"graphology"})),t}t(r,n);var i=r.prototype;return i._resetInstanceCounters=function(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0},i.hasNode=function(e){return this._nodes.has(""+e)},i.hasDirectedEdge=function(e,t){if("undirected"===this.type)return!1;if(1===arguments.length){var n=""+e,r=this._edges.get(n);return!!r&&!r.undirected}if(2===arguments.length){e=""+e,t=""+t;var i=this._nodes.get(e);return!!i&&i.out.hasOwnProperty(t)}throw new V("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasUndirectedEdge=function(e,t){if("directed"===this.type)return!1;if(1===arguments.length){var n=""+e,r=this._edges.get(n);return!!r&&r.undirected}if(2===arguments.length){e=""+e,t=""+t;var i=this._nodes.get(e);return!!i&&i.undirected.hasOwnProperty(t)}throw new V("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasEdge=function(e,t){if(1===arguments.length){var n=""+e;return this._edges.has(n)}if(2===arguments.length){e=""+e,t=""+t;var r=this._nodes.get(e);return!!r&&(void 0!==r.out&&r.out.hasOwnProperty(t)||void 0!==r.undirected&&r.undirected.hasOwnProperty(t))}throw new V("Graph.hasEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.directedEdge=function(e,t){if("undirected"!==this.type){if(e=""+e,t=""+t,this.multi)throw new W("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");var n=this._nodes.get(e);if(!n)throw new H('Graph.directedEdge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.directedEdge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.out&&n.out[t]||void 0;return r?r.key:void 0}},i.undirectedEdge=function(e,t){if("directed"!==this.type){if(e=""+e,t=""+t,this.multi)throw new W("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");var n=this._nodes.get(e);if(!n)throw new H('Graph.undirectedEdge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.undirectedEdge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.undirected&&n.undirected[t]||void 0;return r?r.key:void 0}},i.edge=function(e,t){if(this.multi)throw new W("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.edge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.edge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.out&&n.out[t]||n.undirected&&n.undirected[t]||void 0;if(r)return r.key},i.areDirectedNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areDirectedNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&(t in n.in||t in n.out)},i.areOutNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areOutNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.out},i.areInNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areInNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.in},i.areUndirectedNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areUndirectedNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"directed"!==this.type&&t in n.undirected},i.areNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&(t in n.in||t in n.out)||"directed"!==this.type&&t in n.undirected},i.areInboundNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areInboundNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.in||"directed"!==this.type&&t in n.undirected},i.areOutboundNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new H('Graph.areOutboundNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.out||"directed"!==this.type&&t in n.undirected},i.inDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.inDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree},i.outDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.outDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree},i.directedDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.directedDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree},i.undirectedDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.undirectedDegree: could not find the "'.concat(e,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree},i.inboundDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.inboundDegree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.inDegree),n},i.outboundDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.outboundDegree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.outDegree),n},i.degree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.degree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.inDegree+t.outDegree),n},i.inDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.inDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree-t.directedLoops},i.outDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.outDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree-t.directedLoops},i.directedDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.directedDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree-2*t.directedLoops},i.undirectedDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.undirectedDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree-2*t.undirectedLoops},i.inboundDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.inboundDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.inDegree,r+=t.directedLoops),n-r},i.outboundDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.outboundDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.outDegree,r+=t.directedLoops),n-r},i.degreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new H('Graph.degreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.inDegree+t.outDegree,r+=2*t.directedLoops),n-r},i.source=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.source: could not find the "'.concat(e,'" edge in the graph.'));return t.source.key},i.target=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.target: could not find the "'.concat(e,'" edge in the graph.'));return t.target.key},i.extremities=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.extremities: could not find the "'.concat(e,'" edge in the graph.'));return[t.source.key,t.target.key]},i.opposite=function(e,t){e=""+e,t=""+t;var n=this._edges.get(t);if(!n)throw new H('Graph.opposite: could not find the "'.concat(t,'" edge in the graph.'));var r=n.source.key,i=n.target.key;if(e===r)return i;if(e===i)return r;throw new H('Graph.opposite: the "'.concat(e,'" node is not attached to the "').concat(t,'" edge (').concat(r,", ").concat(i,")."))},i.hasExtremity=function(e,t){e=""+e,t=""+t;var n=this._edges.get(e);if(!n)throw new H('Graph.hasExtremity: could not find the "'.concat(e,'" edge in the graph.'));return n.source.key===t||n.target.key===t},i.isUndirected=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.isUndirected: could not find the "'.concat(e,'" edge in the graph.'));return t.undirected},i.isDirected=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.isDirected: could not find the "'.concat(e,'" edge in the graph.'));return!t.undirected},i.isSelfLoop=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new H('Graph.isSelfLoop: could not find the "'.concat(e,'" edge in the graph.'));return t.source===t.target},i.addNode=function(e,t){var n=function(e,t,n){if(n&&!c(n))throw new V('Graph.addNode: invalid attributes. Expecting an object but got "'.concat(n,'"'));if(t=""+t,n=n||{},e._nodes.has(t))throw new W('Graph.addNode: the "'.concat(t,'" node already exist in the graph.'));var r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}(this,e,t);return n.key},i.mergeNode=function(e,t){if(t&&!c(t))throw new V('Graph.mergeNode: invalid attributes. Expecting an object but got "'.concat(t,'"'));e=""+e,t=t||{};var n=this._nodes.get(e);return n?(t&&(l(n.attributes,t),this.emit("nodeAttributesUpdated",{type:"merge",key:e,attributes:n.attributes,data:t})),[e,!1]):(n=new this.NodeDataClass(e,t),this._nodes.set(e,n),this.emit("nodeAdded",{key:e,attributes:t}),[e,!0])},i.updateNode=function(e,t){if(t&&"function"!=typeof t)throw new V('Graph.updateNode: invalid updater function. Expecting a function but got "'.concat(t,'"'));e=""+e;var n=this._nodes.get(e);if(n){if(t){var r=n.attributes;n.attributes=t(r),this.emit("nodeAttributesUpdated",{type:"replace",key:e,attributes:n.attributes})}return[e,!1]}var i=t?t({}):{};return n=new this.NodeDataClass(e,i),this._nodes.set(e,n),this.emit("nodeAdded",{key:e,attributes:i}),[e,!0]},i.dropNode=function(e){e=""+e;var t,n=this._nodes.get(e);if(!n)throw new H('Graph.dropNode: could not find the "'.concat(e,'" node in the graph.'));if("undirected"!==this.type){for(var r in n.out){t=n.out[r];do{Oe(this,t),t=t.next}while(t)}for(var i in n.in){t=n.in[i];do{Oe(this,t),t=t.next}while(t)}}if("directed"!==this.type)for(var a in n.undirected){t=n.undirected[a];do{Oe(this,t),t=t.next}while(t)}this._nodes.delete(e),this.emit("nodeDropped",{key:e,attributes:n.attributes})},i.dropEdge=function(e){var t;if(arguments.length>1){var n=""+arguments[0],r=""+arguments[1];if(!(t=u(this,n,r,this.type)))throw new H('Graph.dropEdge: could not find the "'.concat(n,'" -> "').concat(r,'" edge in the graph.'))}else if(e=""+e,!(t=this._edges.get(e)))throw new H('Graph.dropEdge: could not find the "'.concat(e,'" edge in the graph.'));return Oe(this,t),this},i.dropDirectedEdge=function(e,t){if(arguments.length<2)throw new W("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new W("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=u(this,e=""+e,t=""+t,"directed");if(!n)throw new H('Graph.dropDirectedEdge: could not find a "'.concat(e,'" -> "').concat(t,'" edge in the graph.'));return Oe(this,n),this},i.dropUndirectedEdge=function(e,t){if(arguments.length<2)throw new W("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new W("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=u(this,e,t,"undirected");if(!n)throw new H('Graph.dropUndirectedEdge: could not find a "'.concat(e,'" -> "').concat(t,'" edge in the graph.'));return Oe(this,n),this},i.clear=function(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared")},i.clearEdges=function(){for(var e,t=this._nodes.values();!0!==(e=t.next()).done;)e.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared")},i.getAttribute=function(e){return this._attributes[e]},i.getAttributes=function(){return this._attributes},i.hasAttribute=function(e){return this._attributes.hasOwnProperty(e)},i.setAttribute=function(e,t){return this._attributes[e]=t,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:e}),this},i.updateAttribute=function(e,t){if("function"!=typeof t)throw new V("Graph.updateAttribute: updater should be a function.");var n=this._attributes[e];return this._attributes[e]=t(n),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:e}),this},i.removeAttribute=function(e){return delete this._attributes[e],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:e}),this},i.replaceAttributes=function(e){if(!c(e))throw new V("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=e,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this},i.mergeAttributes=function(e){if(!c(e))throw new V("Graph.mergeAttributes: provided attributes are not a plain object.");return l(this._attributes,e),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:e}),this},i.updateAttributes=function(e){if("function"!=typeof e)throw new V("Graph.updateAttributes: provided updater is not a function.");return this._attributes=e(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this},i.updateEachNodeAttributes=function(e,t){if("function"!=typeof e)throw new V("Graph.updateEachNodeAttributes: expecting an updater function.");if(t&&!p(t))throw new V("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i=this._nodes.values();!0!==(n=i.next()).done;)(r=n.value).attributes=e(r.key,r.attributes);this.emit("eachNodeAttributesUpdated",{hints:t||null})},i.updateEachEdgeAttributes=function(e,t){if("function"!=typeof e)throw new V("Graph.updateEachEdgeAttributes: expecting an updater function.");if(t&&!p(t))throw new V("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i,a,o=this._edges.values();!0!==(n=o.next()).done;)i=(r=n.value).source,a=r.target,r.attributes=e(r.key,r.attributes,i.key,a.key,i.attributes,a.attributes,r.undirected);this.emit("eachEdgeAttributesUpdated",{hints:t||null})},i.forEachAdjacencyEntry=function(e){if("function"!=typeof e)throw new V("Graph.forEachAdjacencyEntry: expecting a callback.");Ee(!1,!1,!1,this,e)},i.forEachAdjacencyEntryWithOrphans=function(e){if("function"!=typeof e)throw new V("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");Ee(!1,!1,!0,this,e)},i.forEachAssymetricAdjacencyEntry=function(e){if("function"!=typeof e)throw new V("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");Ee(!1,!0,!1,this,e)},i.forEachAssymetricAdjacencyEntryWithOrphans=function(e){if("function"!=typeof e)throw new V("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");Ee(!1,!0,!0,this,e)},i.nodes=function(){return"function"==typeof Array.from?Array.from(this._nodes.keys()):B(this._nodes.keys(),this._nodes.size)},i.forEachNode=function(e){if("function"!=typeof e)throw new V("Graph.forEachNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)e((n=t.value).key,n.attributes)},i.findNode=function(e){if("function"!=typeof e)throw new V("Graph.findNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(e((n=t.value).key,n.attributes))return n.key},i.mapNodes=function(e){if("function"!=typeof e)throw new V("Graph.mapNode: expecting a callback.");for(var t,n,r=this._nodes.values(),i=new Array(this.order),a=0;!0!==(t=r.next()).done;)n=t.value,i[a++]=e(n.key,n.attributes);return i},i.someNode=function(e){if("function"!=typeof e)throw new V("Graph.someNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(e((n=t.value).key,n.attributes))return!0;return!1},i.everyNode=function(e){if("function"!=typeof e)throw new V("Graph.everyNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(!e((n=t.value).key,n.attributes))return!1;return!0},i.filterNodes=function(e){if("function"!=typeof e)throw new V("Graph.filterNodes: expecting a callback.");for(var t,n,r=this._nodes.values(),i=[];!0!==(t=r.next()).done;)e((n=t.value).key,n.attributes)&&i.push(n.key);return i},i.reduceNodes=function(e,t){if("function"!=typeof e)throw new V("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new V("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");for(var n,r,i=t,a=this._nodes.values();!0!==(n=a.next()).done;)i=e(i,(r=n.value).key,r.attributes);return i},i.nodeEntries=function(){var e=this._nodes.values();return new L((function(){var t=e.next();if(t.done)return t;var n=t.value;return{value:{node:n.key,attributes:n.attributes},done:!1}}))},i.export=function(){var e=this,t=new Array(this._nodes.size),n=0;this._nodes.forEach((function(e,r){t[n++]=function(e,t){var n={key:e};return h(t.attributes)||(n.attributes=l({},t.attributes)),n}(r,e)}));var r=new Array(this._edges.size);return n=0,this._edges.forEach((function(t,i){r[n++]=function(e,t,n){var r={key:t,source:n.source.key,target:n.target.key};return h(n.attributes)||(r.attributes=l({},n.attributes)),"mixed"===e&&n.undirected&&(r.undirected=!0),r}(e.type,i,t)})),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:t,edges:r}},i.import=function(e){var t,n,i,a,o,s=this,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e instanceof r)return e.forEachNode((function(e,t){l?s.mergeNode(e,t):s.addNode(e,t)})),e.forEachEdge((function(e,t,n,r,i,a,o){l?o?s.mergeUndirectedEdgeWithKey(e,n,r,t):s.mergeDirectedEdgeWithKey(e,n,r,t):o?s.addUndirectedEdgeWithKey(e,n,r,t):s.addDirectedEdgeWithKey(e,n,r,t)})),this;if(!c(e))throw new V("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(e.attributes){if(!c(e.attributes))throw new V("Graph.import: invalid attributes. Expecting a plain object.");l?this.mergeAttributes(e.attributes):this.replaceAttributes(e.attributes)}if(e.nodes){if(i=e.nodes,!Array.isArray(i))throw new V("Graph.import: invalid nodes. Expecting an array.");for(t=0,n=i.length;t",s="",l=e.source.key,u=e.target.key;e.undirected&&l>u&&(a=l,l=u,u=a);var c="(".concat(l,")").concat(o,"(").concat(u,")");n.startsWith("geid_")?t.multi&&(void 0===i[c]?i[c]=0:i[c]++,s+="".concat(i[c],". ")):s+="[".concat(n,"]: "),r[s+=c]=e.attributes}));var a={};for(var o in this)this.hasOwnProperty(o)&&!Re.has(o)&&"function"!=typeof this[o]&&"symbol"!==e(o)&&(a[o]=this[o]);return a.attributes=this._attributes,a.nodes=n,a.edges=r,d(a,"constructor",this.constructor),a},r}(g.exports.EventEmitter);"undefined"!=typeof Symbol&&(Ie.prototype[Symbol.for("nodejs.util.inspect.custom")]=Ie.prototype.inspect),[{name:function(e){return"".concat(e,"Edge")},generateKey:!0},{name:function(e){return"".concat(e,"DirectedEdge")},generateKey:!0,type:"directed"},{name:function(e){return"".concat(e,"UndirectedEdge")},generateKey:!0,type:"undirected"},{name:function(e){return"".concat(e,"EdgeWithKey")}},{name:function(e){return"".concat(e,"DirectedEdgeWithKey")},type:"directed"},{name:function(e){return"".concat(e,"UndirectedEdgeWithKey")},type:"undirected"}].forEach((function(e){["add","merge","update"].forEach((function(t){var n=e.name(t),r="add"===t?De:Ue;e.generateKey?Ie.prototype[n]=function(i,a,o){return r(this,n,!0,"undirected"===(e.type||this.type),null,i,a,o,"update"===t)}:Ie.prototype[n]=function(i,a,o,s){return r(this,n,!1,"undirected"===(e.type||this.type),i,a,o,s,"update"===t)}}))})),function(e){Z.forEach((function(t){var n=t.name,r=t.attacher;r(e,n("Node"),0),r(e,n("Source"),1),r(e,n("Target"),2),r(e,n("Opposite"),3)}))}(Ie),function(e){K.forEach((function(t){var n=t.name,r=t.attacher;r(e,n("Edge"),"mixed"),r(e,n("DirectedEdge"),"directed"),r(e,n("UndirectedEdge"),"undirected")}))}(Ie),function(e){te.forEach((function(t){!function(e,t){var n=t.name,r=t.type,i=t.direction;e.prototype[n]=function(e,t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return[];if(!arguments.length)return le(this,r);if(1===arguments.length){e=""+e;var a=this._nodes.get(e);if(void 0===a)throw new H("Graph.".concat(n,': could not find the "').concat(e,'" node in the graph.'));return de(this.multi,"mixed"===r?this.type:r,i,a)}if(2===arguments.length){e=""+e,t=""+t;var o=this._nodes.get(e);if(!o)throw new H("Graph.".concat(n,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(n,': could not find the "').concat(t,'" target node in the graph.'));return me(r,this.multi,i,o,t)}throw new V("Graph.".concat(n,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,a="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t,n){if("mixed"===r||"mixed"===this.type||r===this.type){if(1===arguments.length)return ue(!1,this,r,n=e);if(2===arguments.length){e=""+e,n=t;var o=this._nodes.get(e);if(void 0===o)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));return he(!1,this.multi,"mixed"===r?this.type:r,i,o,n)}if(3===arguments.length){e=""+e,t=""+t;var s=this._nodes.get(e);if(!s)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(a,': could not find the "').concat(t,'" target node in the graph.'));return pe(!1,r,this.multi,i,s,t,n)}throw new V("Graph.".concat(a,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))}};var o="map"+n[0].toUpperCase()+n.slice(1);e.prototype[o]=function(){var e,t=Array.prototype.slice.call(arguments),n=t.pop();if(0===t.length){var i=0;"directed"!==r&&(i+=this.undirectedSize),"undirected"!==r&&(i+=this.directedSize),e=new Array(i);var o=0;t.push((function(t,r,i,a,s,l,u){e[o++]=n(t,r,i,a,s,l,u)}))}else e=[],t.push((function(t,r,i,a,o,s,l){e.push(n(t,r,i,a,o,s,l))}));return this[a].apply(this,t),e};var s="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=[];return e.push((function(e,r,i,a,o,s,l){t(e,r,i,a,o,s,l)&&n.push(e)})),this[a].apply(this,e),n};var l="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(){var e,t,n=Array.prototype.slice.call(arguments);if(n.length<2||n.length>4)throw new V("Graph.".concat(l,": invalid number of arguments (expecting 2, 3 or 4 and got ").concat(n.length,")."));if("function"==typeof n[n.length-1]&&"function"!=typeof n[n.length-2])throw new V("Graph.".concat(l,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));2===n.length?(e=n[0],t=n[1],n=[]):3===n.length?(e=n[1],t=n[2],n=[n[0]]):4===n.length&&(e=n[2],t=n[3],n=[n[0],n[1]]);var r=t;return n.push((function(t,n,i,a,o,s,l){r=e(r,t,n,i,a,o,s,l)})),this[a].apply(this,n),r}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,a="find"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t,n){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return!1;if(1===arguments.length)return ue(!0,this,r,n=e);if(2===arguments.length){e=""+e,n=t;var o=this._nodes.get(e);if(void 0===o)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));return he(!0,this.multi,"mixed"===r?this.type:r,i,o,n)}if(3===arguments.length){e=""+e,t=""+t;var s=this._nodes.get(e);if(!s)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(a,': could not find the "').concat(t,'" target node in the graph.'));return pe(!0,r,this.multi,i,s,t,n)}throw new V("Graph.".concat(a,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))};var o="some"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((function(e,n,r,i,a,o,s){return t(e,n,r,i,a,o,s)})),!!this[a].apply(this,e)};var s="every"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[s]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((function(e,n,r,i,a,o,s){return!t(e,n,r,i,a,o,s)})),!this[a].apply(this,e)}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,a=n.slice(0,-1)+"Entries";e.prototype[a]=function(e,t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return L.empty();if(!arguments.length)return ce(this,r);if(1===arguments.length){e=""+e;var n=this._nodes.get(e);if(!n)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));return fe(r,i,n)}if(2===arguments.length){e=""+e,t=""+t;var o=this._nodes.get(e);if(!o)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(a,': could not find the "').concat(t,'" target node in the graph.'));return ge(r,i,o,t)}throw new V("Graph.".concat(a,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(e,t)}))}(Ie),function(e){ve.forEach((function(t){we(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,a="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t){if("mixed"===r||"mixed"===this.type||r===this.type){e=""+e;var n=this._nodes.get(e);if(void 0===n)throw new H("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));be(!1,"mixed"===r?this.type:r,i,n,t)}};var o="map"+n[0].toUpperCase()+n.slice(1);e.prototype[o]=function(e,t){var n=[];return this[a](e,(function(e,r){n.push(t(e,r))})),n};var s="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(e,t){var n=[];return this[a](e,(function(e,r){t(e,r)&&n.push(e)})),n};var l="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(e,t,n){if(arguments.length<3)throw new V("Graph.".concat(l,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));var r=n;return this[a](e,(function(e,n){r=t(r,e,n)})),r}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,a=n[0].toUpperCase()+n.slice(1,-1),o="find"+a;e.prototype[o]=function(e,t){if("mixed"===r||"mixed"===this.type||r===this.type){e=""+e;var n=this._nodes.get(e);if(void 0===n)throw new H("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));return be(!0,"mixed"===r?this.type:r,i,n,t)}};var s="some"+a;e.prototype[s]=function(e,t){return!!this[o](e,t)};var l="every"+a;e.prototype[l]=function(e,t){return!this[o](e,(function(e,n){return!t(e,n)}))}}(e,t),Se(e,t)}))}(Ie);var Ne=function(e){function n(t){var n=l({type:"directed"},t);if("multi"in n&&!1!==n.multi)throw new V("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("directed"!==n.type)throw new V('DirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(Ie),Fe=function(e){function n(t){var n=l({type:"undirected"},t);if("multi"in n&&!1!==n.multi)throw new V("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("undirected"!==n.type)throw new V('UndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(Ie),ze=function(e){function n(t){var n=l({multi:!0},t);if("multi"in n&&!0!==n.multi)throw new V("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");return e.call(this,n)||this}return t(n,e),n}(Ie),Be=function(e){function n(t){var n=l({type:"directed",multi:!0},t);if("multi"in n&&!0!==n.multi)throw new V("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("directed"!==n.type)throw new V('MultiDirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(Ie),Ge=function(e){function n(t){var n=l({type:"undirected",multi:!0},t);if("multi"in n&&!0!==n.multi)throw new V("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("undirected"!==n.type)throw new V('MultiUndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(Ie);function Ve(e){e.from=function(t,n){var r=l({},t.options,n),i=new e(r);return i.import(t),i}}return Ve(Ie),Ve(Ne),Ve(Fe),Ve(ze),Ve(Be),Ve(Ge),Ie.Graph=Ie,Ie.DirectedGraph=Ne,Ie.UndirectedGraph=Fe,Ie.MultiGraph=ze,Ie.MultiDirectedGraph=Be,Ie.MultiUndirectedGraph=Ge,Ie.InvalidArgumentsGraphError=V,Ie.NotFoundGraphError=H,Ie.UsageGraphError=W,Ie}()},2104:(e,t,n)=>{var r=n(8771),i=n(5475),a=n(1861),o=i.DEFAULT_COMPARATOR,s=i.reverseComparator;function l(e,t,n,r){for(var i,a,o=t[r];r>n&&e(o,a=t[i=r-1>>1])<0;)t[r]=a,r=i;t[r]=o}function u(e,t,n){for(var r,i=t.length,a=n,o=t[n],s=2*n+1;s=0&&(s=r),t[n]=t[s],s=2*(n=s)+1;t[n]=o,l(e,t,a,n)}function c(e,t,n){t.push(n),l(e,t,0,t.length-1)}function h(e,t){var n=t.pop();if(0!==t.length){var r=t[0];return t[0]=n,u(e,t,0),r}return n}function d(e,t,n){if(0===t.length)throw new Error("mnemonist/heap.replace: cannot pop an empty heap.");var r=t[0];return t[0]=n,u(e,t,0),r}function f(e,t,n){var r;return 0!==t.length&&e(t[0],n)<0&&(r=t[0],t[0]=n,n=r,u(e,t,0)),n}function p(e,t){for(var n=t.length>>1;--n>=0;)u(e,t,n)}function m(e,t){for(var n=t.length,r=0,i=new Array(n);r=n.length)return n.slice().sort(e);for(c=n.slice(0,t),p(h,c),i=t,l=n.length;i0&&d(h,c,n[i]);return c.sort(e)}var m=a.guessLength(n);return null!==m&&m0&&d(h,c,e)),i++})),c.length>i&&(c.length=i),c.sort(e)},g.nlargest=function(e,t,n){2===arguments.length&&(n=t,t=e,e=o);var i,l,u,c,h=s(e),f=-1/0;if(1===t){if(a.isArrayLike(n)){for(i=0,l=n.length;i0)&&(f=u);return(c=new n.constructor(1))[0]=f,c}return r(n,(function(t){(f===-1/0||e(t,f)>0)&&(f=t)})),[f]}if(a.isArrayLike(n)){if(t>=n.length)return n.slice().sort(h);for(c=n.slice(0,t),p(e,c),i=t,l=n.length;i0&&d(e,c,n[i]);return c.sort(h)}var m=a.guessLength(n);return null!==m&&m0&&d(e,c,n)),i++})),c.length>i&&(c.length=i),c.sort(h)},g.MinHeap=g,g.MaxHeap=v,e.exports=g},2867:(e,t,n)=>{var r=n(6823),i=n(8771);function a(){this.clear()}a.prototype.clear=function(){this.items=[],this.offset=0,this.size=0},a.prototype.enqueue=function(e){return this.items.push(e),++this.size},a.prototype.dequeue=function(){if(this.size){var e=this.items[this.offset];return 2*++this.offset>=this.items.length&&(this.items=this.items.slice(this.offset),this.offset=0),this.size--,e}},a.prototype.peek=function(){if(this.size)return this.items[this.offset]},a.prototype.forEach=function(e,t){t=arguments.length>1?t:this;for(var n=this.offset,r=0,i=this.items.length;n=e.length)return{done:!0};var n=e[t];return t++,{value:n,done:!1}}))},a.prototype.entries=function(){var e=this.items,t=this.offset,n=0;return new r((function(){if(t>=e.length)return{done:!0};var r=e[t];return t++,{value:[n++,r],done:!1}}))},"undefined"!==typeof Symbol&&(a.prototype[Symbol.iterator]=a.prototype.values),a.prototype.toString=function(){return this.toArray().join(",")},a.prototype.toJSON=function(){return this.toArray()},a.prototype.inspect=function(){var e=this.toArray();return Object.defineProperty(e,"constructor",{value:a,enumerable:!1}),e},"undefined"!==typeof Symbol&&(a.prototype[Symbol.for("nodejs.util.inspect.custom")]=a.prototype.inspect),a.from=function(e){var t=new a;return i(e,(function(e){t.enqueue(e)})),t},a.of=function(){return a.from(arguments)},e.exports=a},5475:(e,t)=>{t.DEFAULT_COMPARATOR=function(e,t){return et?1:0},t.DEFAULT_REVERSE_COMPARATOR=function(e,t){return et?-1:0},t.reverseComparator=function(e){return function(t,n){return e(n,t)}},t.createTupleComparator=function(e){return 2===e?function(e,t){return e[0]t[0]?1:e[1]t[1]?1:0}:function(t,n){for(var r=0;rn[r])return 1;r++}return 0}}},1861:(e,t,n)=>{var r=n(8771),i=n(393);function a(e){return"number"===typeof e.length?e.length:"number"===typeof e.size?e.size:void 0}t.isArrayLike=function(e){return Array.isArray(e)||i.isTypedArray(e)},t.guessLength=a,t.toArray=function(e){var t=a(e),n="number"===typeof t?new Array(t):[],i=0;return r(e,(function(e){n[i++]=e})),n},t.toArrayWithIndices=function(e){var t=a(e),n="number"===typeof t?i.getPointerArray(t):Array,o="number"===typeof t?new Array(t):[],s="number"===typeof t?new n(t):[],l=0;return r(e,(function(e){o[l]=e,s[l]=l++})),[o,s]}},393:(e,t)=>{var n=Math.pow(2,8)-1,r=Math.pow(2,16)-1,i=Math.pow(2,32)-1,a=Math.pow(2,7)-1,o=Math.pow(2,15)-1,s=Math.pow(2,31)-1;t.getPointerArray=function(e){var t=e-1;if(t<=n)return Uint8Array;if(t<=r)return Uint16Array;if(t<=i)return Uint32Array;throw new Error("mnemonist: Pointer Array of size > 4294967295 is not supported.")},t.getSignedPointerArray=function(e){var t=e-1;return t<=a?Int8Array:t<=o?Int16Array:t<=s?Int32Array:Float64Array},t.getNumberType=function(e){return e===(0|e)?-1===Math.sign(e)?e<=127&&e>=-128?Int8Array:e<=32767&&e>=-32768?Int16Array:Int32Array:e<=255?Uint8Array:e<=65535?Uint16Array:Uint32Array:Float64Array};var l={Uint8Array:1,Int8Array:2,Uint16Array:3,Int16Array:4,Uint32Array:5,Int32Array:6,Float32Array:7,Float64Array:8};t.getMinimalRepresentation=function(e,n){var r,i,a,o,s,u=null,c=0;for(o=0,s=e.length;oc&&(c=r,u=i);return u},t.isTypedArray=function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView(e)},t.concat=function(){var e,t,n,r=0;for(e=0,n=arguments.length;e{var r=n(6010),i=r.ARRAY_BUFFER_SUPPORT,a=r.SYMBOL_SUPPORT;e.exports=function(e,t){var n,r,o,s,l;if(!e)throw new Error("obliterator/forEach: invalid iterable.");if("function"!==typeof t)throw new Error("obliterator/forEach: expecting a callback.");if(Array.isArray(e)||i&&ArrayBuffer.isView(e)||"string"===typeof e||"[object Arguments]"===e.toString())for(o=0,s=e.length;o{function t(e){if("function"!==typeof e)throw new Error("obliterator/iterator: expecting a function!");this.next=e}"undefined"!==typeof Symbol&&(t.prototype[Symbol.iterator]=function(){return this}),t.of=function(){var e=arguments,n=e.length,r=0;return new t((function(){return r>=n?{done:!0}:{done:!1,value:e[r++]}}))},t.empty=function(){return new t((function(){return{done:!0}}))},t.fromSequence=function(e){var n=0,r=e.length;return new t((function(){return n>=r?{done:!0}:{done:!1,value:e[n++]}}))},t.is=function(e){return e instanceof t||"object"===typeof e&&null!==e&&"function"===typeof e.next},e.exports=t},6010:(e,t)=>{t.ARRAY_BUFFER_SUPPORT="undefined"!==typeof ArrayBuffer,t.SYMBOL_SUPPORT="undefined"!==typeof Symbol},2730:(e,t,n)=>{"use strict";var r=n(5043),i=n(8853);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n