1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-VBNYF7ZC_mjs"],{
vendor: 8,121 bytes, line 1
1"./node_modules/dagre-d3-es/src/graphlib/graph.js":function(t,e,r){r.d(e,{T:function(){return P}});var s=r("./node_modules/lodash-es/constant.js"),n=r("./node_modules/lodash-es/isFunction.js"),a=r("./node_modules/lodash-es/keys.js"),o=r("./node_modules/lodash-es/filter.js"),i=r("./node_modules/lodash-es/_baseKeys.js"),d=r("./node_modules/lodash-es/_getTag.js"),l=r("./node_modules/lodash-es/isArguments.js"),c=r("./node_modules/lodash-es/isArray.js"),h=r("./node_modules/lodash-es/isArrayLike.js"),u=r("./node_modules/lodash-es/isBuffer.js"),g=r("./node_modules/lodash-es/_isPrototype.js"),y=r("./node_modules/lodash-es/isTypedArray.js"),p=Object.prototype.hasOwnProperty;var f=function(t){if(null==t)return!0;if((0,h.A)(t)&&((0,c.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.A)(t)||(0,y.A)(t)||(0,l.A)(t)))return!t.length;var e=(0,d.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,g.A)(t))return!(0,i.A)(t).length;for(var r in t)if(p.call(t,r))return!1;return!0},_=r("./node_modules/lodash-es/forEach.js"),b=r("./node_modules/lodash-es/isUndefined.js"),m=r("./node_modules/lodash-es/_baseFlatten.js"),x=r("./node_modules/lodash-es/_baseRest.js"),v=r("./node_modules/lodash-es/_SetCache.js"),w=r("./node_modules/lodash-es/_baseFindIndex.js");var A=function(t){return t!=t};var k=function(t,e,r){for(var s=r-1,n=t.length;++s<n;)if(t[s]===e)return s;return-1};var j=function(t,e,r){return e==e?k(t,e,r):(0,w.A)(t,A,r)};var S=function(t,e){return!!(null==t?0:t.length)&&j(t,e,0)>-1};var L=function(t,e,r){for(var s=-1,n=null==t?0:t.length;++s<n;)if(r(e,t[s]))return!0;return!1},E=r("./node_modules/lodash-es/_cacheHas.js"),O=r("./node_modules/lodash-es/_Set.js");var D=function(){},T=r("./node_modules/lodash-es/_setToArray.js"),C=O.A&&1/(0,T.A)(new O.A([,-0]))[1]==1/0?function(t){return new O.A(t)}:D,R=C;var K=function(t,e,r){var s=-1,n=S,a=t.length,o=!0,i=[],d=i;if(r)o=!1,n=L;else if(a>=200){var l=e?null:R(t);if(l)return(0,T.A)(l);o=!1,n=E.A,d=new v.A}else d=e?[]:i;t:for(;++s<a;){var c=t[s],h=e?e(c):c;if(c=r||0!==c?c:0,o&&h==h){for(var u=d.length;u--;)if(d[u]===h)continue t;e&&d.push(h),i.push(c)}else n(d,h,r)||(d!==i&&d.push(h),i.push(c))}return i},I=r("./node_modules/lodash-es/isArrayLikeObject.js"),N=(0,x.A)(function(t){return K((0,m.A)(t,1,I.A,!0))}),$=r("./node_modules/lodash-es/values.js"),B=r("./node_modules/lodash-es/reduce.js"),z="\0";class P{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=s.A(void 0),this._defaultEdgeLabelFn=s.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[z]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return n.A(t)||(t=s.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return a.A(this._nodes)}sources(){var t=this;return o.A(this.nodes(),function(e){return f(t._in[e])})}sinks(){var t=this;return o.A(this.nodes(),function(e){return f(t._out[e])})}setNodes(t,e){var r=arguments,s=this;return _.A(t,function(t){r.length>1?s.setNode(t,e):s.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=z,this._children[t]={},this._children[z][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],_.A(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),_.A(a.A(this._in[t]),e),delete this._in[t],delete this._preds[t],_.A(a.A(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(b.A(e))e=z;else{for(var r=e+="";!b.A(r);r=this.parent(r))if(r===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==z)return e}}children(t){if(b.A(t)&&(t=z),this._isCompound){var e=this._children[t];if(e)return a.A(e)}else{if(t===z)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return a.A(e)}successors(t){var e=this._sucs[t];if(e)return a.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return N(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;_.A(this._nodes,function(r,s){t(s)&&e.setNode(s,r)}),_.A(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var s={};function n(t){var a=r.parent(t);return void 0===a||e.hasNode(a)?(s[t]=a,a):a in s?s[a]:n(a)}return this._isCompound&&_.A(e.nodes(),function(t){e.setParent(t,n(t))}),e}setDefaultEdgeLabel(t){return n.A(t)||(t=s.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return $.A(this._edgeObjs)}setPath(t,e){var r=this,s=arguments;return B.A(t,function(t,n){return s.length>1?r.setEdge(t,n,e):r.setEdge(t,n),n}),this}setEdge(){var t,e,r,s,n=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,r=a.name,2===arguments.length&&(s=arguments[1],n=!0)):(t=a,e=arguments[1],r=arguments[3],arguments.length>2&&(s=arguments[2],n=!0)),t=""+t,e=""+e,b.A(r)||(r=""+r);var o=Y(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return n&&(this._edgeLabels[o]=s),this;if(!b.A(r)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[o]=n?s:this._defaultEdgeLabelFn(t,e,r);var i=function(t,e,r,s){var n=""+e,a=""+r;if(!t&&n>a){var o=n;n=a,a=o}var i={v:n,w:a};s&&(i.name=s);return i}(this._isDirected,t,e,r);return t=i.v,e=i.w,Object.freeze(i),this._edgeObjs[o]=i,M(this._preds[e],t),M(this._sucs[t],e),this._in[e][o]=i,this._out[t][o]=i,this._edgeCount++,this}edge(t,e,r){var s=1===arguments.length?U(this._isDirected,arguments[0]):Y(this._isDirected,t,e,r);return this._edgeLabels[s]}hasEdge(t,e,r){var s=1===arguments.length?U(this._isDirected,arguments[0]):Y(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,s)}removeEdge(t,e,r){var s=1===arguments.length?U(this._isDirected,arguments[0]):Y(this._isDirected,t,e,r),n=this._edgeObjs[s];return n&&(t=n.v,e=n.w,delete this._edgeLabels[s],delete this._edgeObjs[s],F(this._preds[e],t),F(this._sucs[t],e),delete this._in[e][s],delete this._out[t][s],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var s=$.A(r);return e?o.A(s,function(t){return t.v===e}):s}}outEdges(t,e){var r=this._out[t];if(r){var s=$.A(r);return e?o.A(s,function(t){return t.w===e}):s}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function M(t,e){t[e]?t[e]++:t[e]=1}function F(t,e){--t[e]||delete t[e]}function Y(t,e,r,s){var n=""+e,a=""+r;if(!t&&n>a){var o=n;n=a,a=o}return n+"�"+a+"�"+(b.A(s)?"\0":s)}function U(t,e){return Y(t,e.v,e.w,e.name)}P.prototype._nodeCount=0,P.prototype._edgeCount=0},
vendor: 162 bytes, line 1
1"./node_modules/dagre-d3-es/src/graphlib/index.js":function(t,e,r){r.d(e,{T:function(){return s.T}});var s=r("./node_modules/dagre-d3-es/src/graphlib/graph.js")},
vendor: 210 bytes, line 1
1"./node_modules/khroma/dist/methods/channel.js":function(t,e,r){var s=r("./node_modules/khroma/dist/utils/index.js"),n=r("./node_modules/khroma/dist/color/index.js");e.A=(t,e)=>s.A.lang.round(n.A.parse(t)[e])},
vendor: 830 bytes, line 1
1"./node_modules/lodash-es/_ListCache.js":function(t,e,r){r.d(e,{A:function(){return u}});var s=function(){this.__data__=[],this.size=0},n=r("./node_modules/lodash-es/eq.js");var a=function(t,e){for(var r=t.length;r--;)if((0,n.A)(t[r][0],e))return r;return-1},o=Array.prototype.splice;var i=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)};var d=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]};var l=function(t){return a(this.__data__,t)>-1};var c=function(t,e){var r=this.__data__,s=a(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}h.prototype.clear=s,h.prototype.delete=i,h.prototype.get=d,h.prototype.has=l,h.prototype.set=c;var u=h},
vendor: 170 bytes, line 1
1"./node_modules/lodash-es/_Map.js":function(t,e,r){var s=r("./node_modules/lodash-es/_getNative.js"),n=r("./node_modules/lodash-es/_root.js"),a=(0,s.A)(n.A,"Map");e.A=a},
vendor: 1,756 bytes, line 1
1"./node_modules/lodash-es/_MapCache.js":function(t,e,r){r.d(e,{A:function(){return A}});var s=(0,r("./node_modules/lodash-es/_getNative.js").A)(Object,"create");var n=function(){this.__data__=s?s(null):{},this.size=0};var a=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},o=Object.prototype.hasOwnProperty;var i=function(t){var e=this.__data__;if(s){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0},d=Object.prototype.hasOwnProperty;var l=function(t){var e=this.__data__;return s?void 0!==e[t]:d.call(e,t)};var c=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=s&&void 0===e?"__lodash_hash_undefined__":e,this};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}h.prototype.clear=n,h.prototype.delete=a,h.prototype.get=i,h.prototype.has=l,h.prototype.set=c;var u=h,g=r("./node_modules/lodash-es/_ListCache.js"),y=r("./node_modules/lodash-es/_Map.js");var p=function(){this.size=0,this.__data__={hash:new u,map:new(y.A||g.A),string:new u}};var f=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var _=function(t,e){var r=t.__data__;return f(e)?r["string"==typeof e?"string":"hash"]:r.map};var b=function(t){var e=_(this,t).delete(t);return this.size-=e?1:0,e};var m=function(t){return _(this,t).get(t)};var x=function(t){return _(this,t).has(t)};var v=function(t,e){var r=_(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this};function w(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}w.prototype.clear=p,w.prototype.delete=b,w.prototype.get=m,w.prototype.has=x,w.prototype.set=v;var A=w},
vendor: 170 bytes, line 1
1"./node_modules/lodash-es/_Set.js":function(t,e,r){var s=r("./node_modules/lodash-es/_getNative.js"),n=r("./node_modules/lodash-es/_root.js"),a=(0,s.A)(n.A,"Set");e.A=a},
vendor: 418 bytes, line 1
1"./node_modules/lodash-es/_SetCache.js":function(t,e,r){r.d(e,{A:function(){return i}});var s=r("./node_modules/lodash-es/_MapCache.js");var n=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var a=function(t){return this.__data__.has(t)};function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new s.A;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=n,o.prototype.has=a;var i=o},
vendor: 824 bytes, line 1
1"./node_modules/lodash-es/_Stack.js":function(t,e,r){r.d(e,{A:function(){return u}});var s=r("./node_modules/lodash-es/_ListCache.js");var n=function(){this.__data__=new s.A,this.size=0};var a=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};var o=function(t){return this.__data__.get(t)};var i=function(t){return this.__data__.has(t)},d=r("./node_modules/lodash-es/_Map.js"),l=r("./node_modules/lodash-es/_MapCache.js");var c=function(t,e){var r=this.__data__;if(r instanceof s.A){var n=r.__data__;if(!d.A||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new l.A(n)}return r.set(t,e),this.size=r.size,this};function h(t){var e=this.__data__=new s.A(t);this.size=e.size}h.prototype.clear=n,h.prototype.delete=a,h.prototype.get=o,h.prototype.has=i,h.prototype.set=c;var u=h},
vendor: 115 bytes, line 1
1"./node_modules/lodash-es/_Symbol.js":function(t,e,r){var s=r("./node_modules/lodash-es/_root.js").A.Symbol;e.A=s},
vendor: 123 bytes, line 1
1"./node_modules/lodash-es/_Uint8Array.js":function(t,e,r){var s=r("./node_modules/lodash-es/_root.js").A.Uint8Array;e.A=s},
vendor: 144 bytes, line 1
1"./node_modules/lodash-es/_arrayEach.js":function(t,e){e.A=function(t,e){for(var r=-1,s=null==t?0:t.length;++r<s&&!1!==e(t[r],r,t););return t}},
vendor: 169 bytes, line 1
1"./node_modules/lodash-es/_arrayFilter.js":function(t,e){e.A=function(t,e){for(var r=-1,s=null==t?0:t.length,n=0,a=[];++r<s;){var o=t[r];e(o,r,t)&&(a[n++]=o)}return a}},
vendor: 743 bytes, line 1
1"./node_modules/lodash-es/_arrayLikeKeys.js":function(t,e,r){r.d(e,{A:function(){return c}});var s=function(t,e){for(var r=-1,s=Array(t);++r<t;)s[r]=e(r);return s},n=r("./node_modules/lodash-es/isArguments.js"),a=r("./node_modules/lodash-es/isArray.js"),o=r("./node_modules/lodash-es/isBuffer.js"),i=r("./node_modules/lodash-es/_isIndex.js"),d=r("./node_modules/lodash-es/isTypedArray.js"),l=Object.prototype.hasOwnProperty;var c=function(t,e){var r=(0,a.A)(t),c=!r&&(0,n.A)(t),h=!r&&!c&&(0,o.A)(t),u=!r&&!c&&!h&&(0,d.A)(t),g=r||c||h||u,y=g?s(t.length,String):[],p=y.length;for(var f in t)!e&&!l.call(t,f)||g&&("length"==f||h&&("offset"==f||"parent"==f)||u&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||(0,i.A)(f,p))||y.push(f);return y}},
vendor: 152 bytes, line 1
1"./node_modules/lodash-es/_arrayMap.js":function(t,e){e.A=function(t,e){for(var r=-1,s=null==t?0:t.length,n=Array(s);++r<s;)n[r]=e(t[r],r,t);return n}},
vendor: 138 bytes, line 1
1"./node_modules/lodash-es/_arrayPush.js":function(t,e){e.A=function(t,e){for(var r=-1,s=e.length,n=t.length;++r<s;)t[n+r]=e[r];return t}},
vendor: 367 bytes, line 1
1"./node_modules/lodash-es/_baseEach.js":function(t,e,r){r.d(e,{A:function(){return a}});var s=r("./node_modules/lodash-es/_baseForOwn.js"),n=r("./node_modules/lodash-es/isArrayLike.js");var a=function(t,e){return function(r,s){if(null==r)return r;if(!(0,n.A)(r))return t(r,s);for(var a=r.length,o=e?a:-1,i=Object(r);(e?o--:++o<a)&&!1!==s(i[o],o,i););return r}}(s.A)},
vendor: 161 bytes, line 1
1"./node_modules/lodash-es/_baseFindIndex.js":function(t,e){e.A=function(t,e,r,s){for(var n=t.length,a=r+(s?1:-1);s?a--:++a<n;)if(e(t[a],a,t))return a;return-1}},
vendor: 536 bytes, line 1
1"./node_modules/lodash-es/_baseFlatten.js":function(t,e,r){r.d(e,{A:function(){return l}});var s=r("./node_modules/lodash-es/_arrayPush.js"),n=r("./node_modules/lodash-es/_Symbol.js"),a=r("./node_modules/lodash-es/isArguments.js"),o=r("./node_modules/lodash-es/isArray.js"),i=n.A?n.A.isConcatSpreadable:void 0;var d=function(t){return(0,o.A)(t)||(0,a.A)(t)||!!(i&&t&&t[i])};var l=function t(e,r,n,a,o){var i=-1,l=e.length;for(n||(n=d),o||(o=[]);++i<l;){var c=e[i];r>0&&n(c)?r>1?t(c,r-1,n,a,o):(0,s.A)(o,c):a||(o[o.length]=c)}return o}},
vendor: 234 bytes, line 1
1"./node_modules/lodash-es/_baseFor.js":function(t,e,r){r.d(e,{A:function(){return s}});var s=function(t){return function(e,r,s){for(var n=-1,a=Object(e),o=s(e),i=o.length;i--;){var d=o[t?i:++n];if(!1===r(a[d],d,a))break}return e}}()},
vendor: 193 bytes, line 1
1"./node_modules/lodash-es/_baseForOwn.js":function(t,e,r){var s=r("./node_modules/lodash-es/_baseFor.js"),n=r("./node_modules/lodash-es/keys.js");e.A=function(t,e){return t&&(0,s.A)(t,e,n.A)}},
vendor: 263 bytes, line 1
1"./node_modules/lodash-es/_baseGet.js":function(t,e,r){var s=r("./node_modules/lodash-es/_castPath.js"),n=r("./node_modules/lodash-es/_toKey.js");e.A=function(t,e){for(var r=0,a=(e=(0,s.A)(e,t)).length;null!=t&&r<a;)t=t[(0,n.A)(e[r++])];return r&&r==a?t:void 0}},
vendor: 223 bytes, line 1
1"./node_modules/lodash-es/_baseGetAllKeys.js":function(t,e,r){var s=r("./node_modules/lodash-es/_arrayPush.js"),n=r("./node_modules/lodash-es/isArray.js");e.A=function(t,e,r){var a=e(t);return(0,n.A)(t)?a:(0,s.A)(a,r(t))}},
vendor: 551 bytes, line 1
1"./node_modules/lodash-es/_baseGetTag.js":function(t,e,r){r.d(e,{A:function(){return u}});var s=r("./node_modules/lodash-es/_Symbol.js"),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,i=s.A?s.A.toStringTag:void 0;var d=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var s=!0}catch(t){}var n=o.call(t);return s&&(e?t[i]=r:delete t[i]),n},l=Object.prototype.toString;var c=function(t){return l.call(t)},h=s.A?s.A.toStringTag:void 0;var u=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?d(t):c(t)}},
vendor: 4,918 bytes, line 1
1"./node_modules/lodash-es/_baseIteratee.js":function(t,e,r){r.d(e,{A:function(){return H}});var s=r("./node_modules/lodash-es/_Stack.js"),n=r("./node_modules/lodash-es/_SetCache.js");var a=function(t,e){for(var r=-1,s=null==t?0:t.length;++r<s;)if(e(t[r],r,t))return!0;return!1},o=r("./node_modules/lodash-es/_cacheHas.js");var i=function(t,e,r,s,i,d){var l=1&r,c=t.length,h=e.length;if(c!=h&&!(l&&h>c))return!1;var u=d.get(t),g=d.get(e);if(u&&g)return u==e&&g==t;var y=-1,p=!0,f=2&r?new n.A:void 0;for(d.set(t,e),d.set(e,t);++y<c;){var _=t[y],b=e[y];if(s)var m=l?s(b,_,y,e,t,d):s(_,b,y,t,e,d);if(void 0!==m){if(m)continue;p=!1;break}if(f){if(!a(e,function(t,e){if(!(0,o.A)(f,e)&&(_===t||i(_,t,r,s,d)))return f.push(e)})){p=!1;break}}else if(_!==b&&!i(_,b,r,s,d)){p=!1;break}}return d.delete(t),d.delete(e),p},d=r("./node_modules/lodash-es/_Symbol.js"),l=r("./node_modules/lodash-es/_Uint8Array.js"),c=r("./node_modules/lodash-es/eq.js");var h=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,s){r[++e]=[s,t]}),r},u=r("./node_modules/lodash-es/_setToArray.js"),g=d.A?d.A.prototype:void 0,y=g?g.valueOf:void 0;var p=function(t,e,r,s,n,a,o){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new l.A(t),new l.A(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,c.A)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=h;case"[object Set]":var g=1&s;if(d||(d=u.A),t.size!=e.size&&!g)return!1;var p=o.get(t);if(p)return p==e;s|=2,o.set(t,e);var f=i(d(t),d(e),s,n,a,o);return o.delete(t),f;case"[object Symbol]":if(y)return y.call(t)==y.call(e)}return!1},f=r("./node_modules/lodash-es/_getAllKeys.js"),_=Object.prototype.hasOwnProperty;var b=function(t,e,r,s,n,a){var o=1&r,i=(0,f.A)(t),d=i.length;if(d!=(0,f.A)(e).length&&!o)return!1;for(var l=d;l--;){var c=i[l];if(!(o?c in e:_.call(e,c)))return!1}var h=a.get(t),u=a.get(e);if(h&&u)return h==e&&u==t;var g=!0;a.set(t,e),a.set(e,t);for(var y=o;++l<d;){var p=t[c=i[l]],b=e[c];if(s)var m=o?s(b,p,c,e,t,a):s(p,b,c,t,e,a);if(!(void 0===m?p===b||n(p,b,r,s,a):m)){g=!1;break}y||(y="constructor"==c)}if(g&&!y){var x=t.constructor,v=e.constructor;x==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof v&&v instanceof v||(g=!1)}return a.delete(t),a.delete(e),g},m=r("./node_modules/lodash-es/_getTag.js"),x=r("./node_modules/lodash-es/isArray.js"),v=r("./node_modules/lodash-es/isBuffer.js"),w=r("./node_modules/lodash-es/isTypedArray.js"),A="[object Arguments]",k="[object Array]",j="[object Object]",S=Object.prototype.hasOwnProperty;var L=function(t,e,r,n,a,o){var d=(0,x.A)(t),l=(0,x.A)(e),c=d?k:(0,m.A)(t),h=l?k:(0,m.A)(e),u=(c=c==A?j:c)==j,g=(h=h==A?j:h)==j,y=c==h;if(y&&(0,v.A)(t)){if(!(0,v.A)(e))return!1;d=!0,u=!1}if(y&&!u)return o||(o=new s.A),d||(0,w.A)(t)?i(t,e,r,n,a,o):p(t,e,c,r,n,a,o);if(!(1&r)){var f=u&&S.call(t,"__wrapped__"),_=g&&S.call(e,"__wrapped__");if(f||_){var L=f?t.value():t,E=_?e.value():e;return o||(o=new s.A),a(L,E,r,n,o)}}return!!y&&(o||(o=new s.A),b(t,e,r,n,a,o))},E=r("./node_modules/lodash-es/isObjectLike.js");var O=function t(e,r,s,n,a){return e===r||(null==e||null==r||!(0,E.A)(e)&&!(0,E.A)(r)?e!=e&&r!=r:L(e,r,s,n,t,a))};var D=function(t,e,r,n){var a=r.length,o=a,i=!n;if(null==t)return!o;for(t=Object(t);a--;){var d=r[a];if(i&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++a<o;){var l=(d=r[a])[0],c=t[l],h=d[1];if(i&&d[2]){if(void 0===c&&!(l in t))return!1}else{var u=new s.A;if(n)var g=n(c,h,l,t,e,u);if(!(void 0===g?O(h,c,3,n,u):g))return!1}}return!0},T=r("./node_modules/lodash-es/isObject.js");var C=function(t){return t==t&&!(0,T.A)(t)},R=r("./node_modules/lodash-es/keys.js");var K=function(t){for(var e=(0,R.A)(t),r=e.length;r--;){var s=e[r],n=t[s];e[r]=[s,n,C(n)]}return e};var I=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}};var N=function(t){var e=K(t);return 1==e.length&&e[0][2]?I(e[0][0],e[0][1]):function(r){return r===t||D(r,t,e)}},$=r("./node_modules/lodash-es/_baseGet.js");var B=function(t,e,r){var s=null==t?void 0:(0,$.A)(t,e);return void 0===s?r:s},z=r("./node_modules/lodash-es/hasIn.js"),P=r("./node_modules/lodash-es/_isKey.js"),M=r("./node_modules/lodash-es/_toKey.js");var F=function(t,e){return(0,P.A)(t)&&C(e)?I((0,M.A)(t),e):function(r){var s=B(r,t);return void 0===s&&s===e?(0,z.A)(r,t):O(e,s,3)}},Y=r("./node_modules/lodash-es/identity.js"),U=r("./node_modules/lodash-es/_baseProperty.js");var W=function(t){return function(e){return(0,$.A)(e,t)}};var X=function(t){return(0,P.A)(t)?(0,U.A)((0,M.A)(t)):W(t)};var H=function(t){return"function"==typeof t?t:null==t?Y.A:"object"==typeof t?(0,x.A)(t)?F(t[0],t[1]):N(t):X(t)}},
vendor: 373 bytes, line 1
1"./node_modules/lodash-es/_baseKeys.js":function(t,e,r){r.d(e,{A:function(){return o}});var s=r("./node_modules/lodash-es/_isPrototype.js"),n=(0,r("./node_modules/lodash-es/_overArg.js").A)(Object.keys,Object),a=Object.prototype.hasOwnProperty;var o=function(t){if(!(0,s.A)(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},
vendor: 123 bytes, line 1
1"./node_modules/lodash-es/_baseProperty.js":function(t,e){e.A=function(t){return function(e){return null==e?void 0:e[t]}}},
vendor: 254 bytes, line 1
1"./node_modules/lodash-es/_baseRest.js":function(t,e,r){var s=r("./node_modules/lodash-es/identity.js"),n=r("./node_modules/lodash-es/_overRest.js"),a=r("./node_modules/lodash-es/_setToString.js");e.A=function(t,e){return(0,a.A)((0,n.A)(t,e,s.A),t+"")}},
vendor: 105 bytes, line 1
1"./node_modules/lodash-es/_baseUnary.js":function(t,e){e.A=function(t){return function(e){return t(e)}}},
vendor: 90 bytes, line 1
1"./node_modules/lodash-es/_cacheHas.js":function(t,e){e.A=function(t,e){return t.has(e)}},
vendor: 159 bytes, line 1
1"./node_modules/lodash-es/_castFunction.js":function(t,e,r){var s=r("./node_modules/lodash-es/identity.js");e.A=function(t){return"function"==typeof t?t:s.A}},
vendor: 996 bytes, line 1
1"./node_modules/lodash-es/_castPath.js":function(t,e,r){r.d(e,{A:function(){return u}});var s=r("./node_modules/lodash-es/isArray.js"),n=r("./node_modules/lodash-es/_isKey.js"),a=r("./node_modules/lodash-es/_MapCache.js");function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var s=arguments,n=e?e.apply(this,s):s[0],a=r.cache;if(a.has(n))return a.get(n);var o=t.apply(this,s);return r.cache=a.set(n,o)||a,o};return r.cache=new(o.Cache||a.A),r}o.Cache=a.A;var i=o;var d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,c=function(t){var e=i(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(d,function(t,r,s,n){e.push(s?n.replace(l,"$1"):r||t)}),e}),h=r("./node_modules/lodash-es/toString.js");var u=function(t,e){return(0,s.A)(t)?t:(0,n.A)(t,e)?[t]:c((0,h.A)(t))}},
vendor: 210 bytes, line 1
1"./node_modules/lodash-es/_defineProperty.js":function(t,e,r){var s=r("./node_modules/lodash-es/_getNative.js"),n=function(){try{var t=(0,s.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.A=n},
vendor: 123 bytes, line 1
1"./node_modules/lodash-es/_freeGlobal.js":function(t,e,r){var s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.A=s},
vendor: 243 bytes, line 1
1"./node_modules/lodash-es/_getAllKeys.js":function(t,e,r){var s=r("./node_modules/lodash-es/_baseGetAllKeys.js"),n=r("./node_modules/lodash-es/_getSymbols.js"),a=r("./node_modules/lodash-es/keys.js");e.A=function(t){return(0,s.A)(t,a.A,n.A)}},
vendor: 835 bytes, line 1
1"./node_modules/lodash-es/_getNative.js":function(t,e,r){r.d(e,{A:function(){return b}});var s,n=r("./node_modules/lodash-es/isFunction.js"),a=r("./node_modules/lodash-es/_root.js").A["__core-js_shared__"],o=(s=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";var i=function(t){return!!o&&o in t},d=r("./node_modules/lodash-es/isObject.js"),l=r("./node_modules/lodash-es/_toSource.js"),c=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,g=h.toString,y=u.hasOwnProperty,p=RegExp("^"+g.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var f=function(t){return!(!(0,d.A)(t)||i(t))&&((0,n.A)(t)?p:c).test((0,l.A)(t))};var _=function(t,e){return null==t?void 0:t[e]};var b=function(t,e){var r=_(t,e);return f(r)?r:void 0}},
vendor: 332 bytes, line 1
1"./node_modules/lodash-es/_getSymbols.js":function(t,e,r){var s=r("./node_modules/lodash-es/_arrayFilter.js"),n=r("./node_modules/lodash-es/stubArray.js"),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,i=o?function(t){return null==t?[]:(t=Object(t),(0,s.A)(o(t),function(e){return a.call(t,e)}))}:n.A;e.A=i},
vendor: 923 bytes, line 1
1"./node_modules/lodash-es/_getTag.js":function(t,e,r){r.d(e,{A:function(){return A}});var s=r("./node_modules/lodash-es/_getNative.js"),n=r("./node_modules/lodash-es/_root.js"),a=(0,s.A)(n.A,"DataView"),o=r("./node_modules/lodash-es/_Map.js"),i=(0,s.A)(n.A,"Promise"),d=r("./node_modules/lodash-es/_Set.js"),l=(0,s.A)(n.A,"WeakMap"),c=r("./node_modules/lodash-es/_baseGetTag.js"),h=r("./node_modules/lodash-es/_toSource.js"),u="[object Map]",g="[object Promise]",y="[object Set]",p="[object WeakMap]",f="[object DataView]",_=(0,h.A)(a),b=(0,h.A)(o.A),m=(0,h.A)(i),x=(0,h.A)(d.A),v=(0,h.A)(l),w=c.A;(a&&w(new a(new ArrayBuffer(1)))!=f||o.A&&w(new o.A)!=u||i&&w(i.resolve())!=g||d.A&&w(new d.A)!=y||l&&w(new l)!=p)&&(w=function(t){var e=(0,c.A)(t),r="[object Object]"==e?t.constructor:void 0,s=r?(0,h.A)(r):"";if(s)switch(s){case _:return f;case b:return u;case m:return g;case x:return y;case v:return p}return e});var A=w},
vendor: 551 bytes, line 1
1"./node_modules/lodash-es/_hasPath.js":function(t,e,r){var s=r("./node_modules/lodash-es/_castPath.js"),n=r("./node_modules/lodash-es/isArguments.js"),a=r("./node_modules/lodash-es/isArray.js"),o=r("./node_modules/lodash-es/_isIndex.js"),i=r("./node_modules/lodash-es/isLength.js"),d=r("./node_modules/lodash-es/_toKey.js");e.A=function(t,e,r){for(var l=-1,c=(e=(0,s.A)(e,t)).length,h=!1;++l<c;){var u=(0,d.A)(e[l]);if(!(h=null!=t&&r(t,u)))break;t=t[u]}return h||++l!=c?h:!!(c=null==t?0:t.length)&&(0,i.A)(c)&&(0,o.A)(u,c)&&((0,a.A)(t)||(0,n.A)(t))}},
vendor: 210 bytes, line 1
1"./node_modules/lodash-es/_isIndex.js":function(t,e){var r=/^(?:0|[1-9]\d*)$/;e.A=function(t,e){var s=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==s||"symbol"!=s&&r.test(t))&&t>-1&&t%1==0&&t<e}},
vendor: 385 bytes, line 1
1"./node_modules/lodash-es/_isKey.js":function(t,e,r){var s=r("./node_modules/lodash-es/isArray.js"),n=r("./node_modules/lodash-es/isSymbol.js"),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.A=function(t,e){if((0,s.A)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,n.A)(t))||(o.test(t)||!a.test(t)||null!=e&&t in Object(e))}},
vendor: 171 bytes, line 1
1"./node_modules/lodash-es/_isPrototype.js":function(t,e){var r=Object.prototype;e.A=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},
vendor: 390 bytes, line 1
1"./node_modules/lodash-es/_nodeUtil.js":function(t,e,r){var s=r("./node_modules/lodash-es/_freeGlobal.js"),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n&&s.A.process,i=function(){try{var t=a&&a.require&&a.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();e.A=i},
vendor: 108 bytes, line 1
1"./node_modules/lodash-es/_overArg.js":function(t,e){e.A=function(t,e){return function(r){return t(e(r))}}},
vendor: 504 bytes, line 1
1"./node_modules/lodash-es/_overRest.js":function(t,e,r){r.d(e,{A:function(){return a}});var s=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)},n=Math.max;var a=function(t,e,r){return e=n(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,i=n(a.length-e,0),d=Array(i);++o<i;)d[o]=a[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=a[o];return l[e]=r(d),s(t,this,l)}}},
vendor: 204 bytes, line 1
1"./node_modules/lodash-es/_root.js":function(t,e,r){var s=r("./node_modules/lodash-es/_freeGlobal.js"),n="object"==typeof self&&self&&self.Object===Object&&self,a=s.A||n||Function("return this")();e.A=a},
vendor: 141 bytes, line 1
1"./node_modules/lodash-es/_setToArray.js":function(t,e){e.A=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},
vendor: 524 bytes, line 1
1"./node_modules/lodash-es/_setToString.js":function(t,e,r){r.d(e,{A:function(){return l}});var s=r("./node_modules/lodash-es/constant.js"),n=r("./node_modules/lodash-es/_defineProperty.js"),a=r("./node_modules/lodash-es/identity.js"),o=n.A?function(t,e){return(0,n.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,s.A)(e),writable:!0})}:a.A,i=Date.now;var d=function(t){var e=0,r=0;return function(){var s=i(),n=16-(s-r);if(r=s,n>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},l=d(o)},
vendor: 204 bytes, line 1
1"./node_modules/lodash-es/_toKey.js":function(t,e,r){var s=r("./node_modules/lodash-es/isSymbol.js");e.A=function(t){if("string"==typeof t||(0,s.A)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},
vendor: 185 bytes, line 1
1"./node_modules/lodash-es/_toSource.js":function(t,e){var r=Function.prototype.toString;e.A=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},
vendor: 99 bytes, line 1
1"./node_modules/lodash-es/constant.js":function(t,e){e.A=function(t){return function(){return t}}},
vendor: 92 bytes, line 1
1"./node_modules/lodash-es/eq.js":function(t,e){e.A=function(t,e){return t===e||t!=t&&e!=e}},
vendor: 423 bytes, line 1
1"./node_modules/lodash-es/filter.js":function(t,e,r){r.d(e,{A:function(){return d}});var s=r("./node_modules/lodash-es/_arrayFilter.js"),n=r("./node_modules/lodash-es/_baseEach.js");var a=function(t,e){var r=[];return(0,n.A)(t,function(t,s,n){e(t,s,n)&&r.push(t)}),r},o=r("./node_modules/lodash-es/_baseIteratee.js"),i=r("./node_modules/lodash-es/isArray.js");var d=function(t,e){return((0,i.A)(t)?s.A:a)(t,(0,o.A)(e,3))}},
vendor: 302 bytes, line 1
1"./node_modules/lodash-es/forEach.js":function(t,e,r){var s=r("./node_modules/lodash-es/_arrayEach.js"),n=r("./node_modules/lodash-es/_baseEach.js"),a=r("./node_modules/lodash-es/_castFunction.js"),o=r("./node_modules/lodash-es/isArray.js");e.A=function(t,e){return((0,o.A)(t)?s.A:n.A)(t,(0,a.A)(e))}},
vendor: 233 bytes, line 1
1"./node_modules/lodash-es/hasIn.js":function(t,e,r){r.d(e,{A:function(){return a}});var s=function(t,e){return null!=t&&e in Object(t)},n=r("./node_modules/lodash-es/_hasPath.js");var a=function(t,e){return null!=t&&(0,n.A)(t,e,s)}},
vendor: 80 bytes, line 1
1"./node_modules/lodash-es/identity.js":function(t,e){e.A=function(t){return t}},
vendor: 436 bytes, line 1
1"./node_modules/lodash-es/isArguments.js":function(t,e,r){r.d(e,{A:function(){return c}});var s=r("./node_modules/lodash-es/_baseGetTag.js"),n=r("./node_modules/lodash-es/isObjectLike.js");var a=function(t){return(0,n.A)(t)&&"[object Arguments]"==(0,s.A)(t)},o=Object.prototype,i=o.hasOwnProperty,d=o.propertyIsEnumerable,l=a(function(){return arguments}())?a:function(t){return(0,n.A)(t)&&i.call(t,"callee")&&!d.call(t,"callee")},c=l},
vendor: 79 bytes, line 1
1"./node_modules/lodash-es/isArray.js":function(t,e){var r=Array.isArray;e.A=r},
vendor: 217 bytes, line 1
1"./node_modules/lodash-es/isArrayLike.js":function(t,e,r){var s=r("./node_modules/lodash-es/isFunction.js"),n=r("./node_modules/lodash-es/isLength.js");e.A=function(t){return null!=t&&(0,n.A)(t.length)&&!(0,s.A)(t)}},
vendor: 210 bytes, line 1
1"./node_modules/lodash-es/isArrayLikeObject.js":function(t,e,r){var s=r("./node_modules/lodash-es/isArrayLike.js"),n=r("./node_modules/lodash-es/isObjectLike.js");e.A=function(t){return(0,n.A)(t)&&(0,s.A)(t)}},
vendor: 351 bytes, line 1
1"./node_modules/lodash-es/isBuffer.js":function(t,e,r){r.d(e,{A:function(){return d}});var s=r("./node_modules/lodash-es/_root.js");var n=function(){return!1},a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,i=o&&o.exports===a?s.A.Buffer:void 0,d=(i?i.isBuffer:void 0)||n},
vendor: 323 bytes, line 1
1"./node_modules/lodash-es/isFunction.js":function(t,e,r){var s=r("./node_modules/lodash-es/_baseGetTag.js"),n=r("./node_modules/lodash-es/isObject.js");e.A=function(t){if(!(0,n.A)(t))return!1;var e=(0,s.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},
vendor: 131 bytes, line 1
1"./node_modules/lodash-es/isLength.js":function(t,e){e.A=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},
vendor: 131 bytes, line 1
1"./node_modules/lodash-es/isObject.js":function(t,e){e.A=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},
vendor: 110 bytes, line 1
1"./node_modules/lodash-es/isObjectLike.js":function(t,e){e.A=function(t){return null!=t&&"object"==typeof t}},
vendor: 240 bytes, line 1
1"./node_modules/lodash-es/isSymbol.js":function(t,e,r){var s=r("./node_modules/lodash-es/_baseGetTag.js"),n=r("./node_modules/lodash-es/isObjectLike.js");e.A=function(t){return"symbol"==typeof t||(0,n.A)(t)&&"[object Symbol]"==(0,s.A)(t)}},
vendor: 1,006 bytes, line 1
1"./node_modules/lodash-es/isTypedArray.js":function(t,e,r){r.d(e,{A:function(){return h}});var s=r("./node_modules/lodash-es/_baseGetTag.js"),n=r("./node_modules/lodash-es/isLength.js"),a=r("./node_modules/lodash-es/isObjectLike.js"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var i=function(t){return(0,a.A)(t)&&(0,n.A)(t.length)&&!!o[(0,s.A)(t)]},d=r("./node_modules/lodash-es/_baseUnary.js"),l=r("./node_modules/lodash-es/_nodeUtil.js"),c=l.A&&l.A.isTypedArray,h=c?(0,d.A)(c):i},
vendor: 92 bytes, line 1
1"./node_modules/lodash-es/isUndefined.js":function(t,e){e.A=function(t){return void 0===t}},
vendor: 254 bytes, line 1
1"./node_modules/lodash-es/keys.js":function(t,e,r){var s=r("./node_modules/lodash-es/_arrayLikeKeys.js"),n=r("./node_modules/lodash-es/_baseKeys.js"),a=r("./node_modules/lodash-es/isArrayLike.js");e.A=function(t){return(0,a.A)(t)?(0,s.A)(t):(0,n.A)(t)}},
vendor: 511 bytes, line 1
1"./node_modules/lodash-es/reduce.js":function(t,e,r){r.d(e,{A:function(){return d}});var s=function(t,e,r,s){var n=-1,a=null==t?0:t.length;for(s&&a&&(r=t[++n]);++n<a;)r=e(r,t[n],n,t);return r},n=r("./node_modules/lodash-es/_baseEach.js"),a=r("./node_modules/lodash-es/_baseIteratee.js");var o=function(t,e,r,s,n){return n(t,function(t,n,a){r=s?(s=!1,t):e(r,t,n,a)}),r},i=r("./node_modules/lodash-es/isArray.js");var d=function(t,e,r){var d=(0,i.A)(t)?s:o,l=arguments.length<3;return d(t,(0,a.A)(e,4),r,l,n.A)}},
vendor: 80 bytes, line 1
1"./node_modules/lodash-es/stubArray.js":function(t,e){e.A=function(){return[]}},
vendor: 524 bytes, line 1
1"./node_modules/lodash-es/toString.js":function(t,e,r){r.d(e,{A:function(){return c}});var s=r("./node_modules/lodash-es/_Symbol.js"),n=r("./node_modules/lodash-es/_arrayMap.js"),a=r("./node_modules/lodash-es/isArray.js"),o=r("./node_modules/lodash-es/isSymbol.js"),i=s.A?s.A.prototype:void 0,d=i?i.toString:void 0;var l=function t(e){if("string"==typeof e)return e;if((0,a.A)(e))return(0,n.A)(e,t)+"";if((0,o.A)(e))return d?d.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};var c=function(t){return null==t?"":l(t)}},
vendor: 291 bytes, line 1
1"./node_modules/lodash-es/values.js":function(t,e,r){r.d(e,{A:function(){return o}});var s=r("./node_modules/lodash-es/_arrayMap.js");var n=function(t,e){return(0,s.A)(e,function(e){return t[e]})},a=r("./node_modules/lodash-es/keys.js");var o=function(t){return null==t?[]:n(t,(0,a.A)(t))}},
vendor: 74,160 bytes, line 1
1"./node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.mjs":function(t,e,r){r.d(e,{diagram:function(){return Ee}});var s=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.mjs"),n=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-7BUUIJ7U.mjs"),a=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-UBXNYLIW.mjs"),o=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.mjs"),i=(r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-4I5QYGJK.mjs"),r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.mjs")),d=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-I66GZJ75.mjs"),l=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-X3CZISLH.mjs"),c=r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-Y2CYZVJY.mjs"),h=r("./node_modules/es-toolkit/dist/predicate/isPrimitive.mjs"),u=r("./node_modules/es-toolkit/dist/compat/_internal/getTag.mjs"),g=r("./node_modules/es-toolkit/dist/compat/_internal/tags.mjs");var y=r("./node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs");function p(t){if((0,h.s)(t))return t;const e=(0,u.b)(t);if(!function(t){switch((0,u.b)(t)){case g.R_:case g.Uw:case g.cT:case g.iq:case g.$V:case g.vC:case g.ri:case g.ML:case g.XZ:case g.i1:case g._u:case g.pj:case g.kj:case g.GX:case g.Av:case g.NA:case g.OG:case g.VP:case g.Qb:case g.q:case g.x6:case g.ZR:return!0;default:return!1}}(t))return{};if(r=t,Array.isArray(r)){const e=Array.from(t);return t.length>0&&"string"==typeof t[0]&&Object.hasOwn(t,"index")&&(e.index=t.index,e.input=t.input),e}var r;if((0,y.i)(t)){const e=t;return new(0,e.constructor)(e.buffer,e.byteOffset,e.length)}if(e===g.cT)return new ArrayBuffer(t.byteLength);if(e===g.iq){const e=t,r=e.buffer,s=e.byteOffset,n=e.byteLength,a=new ArrayBuffer(n),o=new Uint8Array(r,s,n);return new Uint8Array(a).set(o),new DataView(a)}if(e===g.$V||e===g.kj||e===g.OG){const r=new(0,t.constructor)(t.valueOf());return e===g.OG?function(t,e){const r=e.valueOf().length;for(const s in e)Object.hasOwn(e,s)&&(Number.isNaN(Number(s))||Number(s)>=r)&&(t[s]=e[s])}(r,t):f(r,t),r}if(e===g.vC)return new Date(Number(t));if(e===g.Av){const e=t,r=new RegExp(e.source,e.flags);return r.lastIndex=e.lastIndex,r}if(e===g.VP)return Object(Symbol.prototype.valueOf.call(t));if(e===g.pj){const e=t,r=new Map;return e.forEach((t,e)=>{r.set(e,t)}),r}if(e===g.NA){const e=t,r=new Set;return e.forEach(t=>{r.add(t)}),r}if(e===g.R_){const e=t,r={};return f(r,e),r.length=e.length,r[Symbol.iterator]=e[Symbol.iterator],r}const s={};return function(t,e){const r=Object.getPrototypeOf(e);if(null!==r){"function"==typeof e.constructor&&Object.setPrototypeOf(t,r)}}(s,t),f(s,t),function(t,e){const r=Object.getOwnPropertySymbols(e);for(let s=0;s<r.length;s++){const n=r[s];Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}}(s,t),s}function f(t,e){for(const r in e)Object.hasOwn(e,r)&&(t[r]=e[r])}var _=r("./node_modules/khroma/dist/methods/channel.js"),b=r("./node_modules/khroma/dist/methods/rgba.js"),m=r("./node_modules/d3/src/index.js"),x=r("./node_modules/dagre-d3-es/src/graphlib/index.js"),v=function(){var t=(0,c.K)(function(t,e,r,s){for(r=r||{},s=t.length;s--;r[t[s]]=e);return r},"o"),e=[1,15],r=[1,7],s=[1,13],n=[1,14],a=[1,19],o=[1,16],i=[1,17],d=[1,18],l=[8,30],h=[8,10,21,28,29,30,31,39,43,46],u=[1,23],g=[1,24],y=[8,10,15,16,21,28,29,30,31,39,43,46],p=[8,10,15,16,21,27,28,29,30,31,39,43,46],f=[1,49],_={trace:(0,c.K)(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,c.K)(function(t,e,r,s,n,a,o){var i=a.length-1;switch(n){case 4:s.getLogger().debug("Rule: separator (NL) ");break;case 5:s.getLogger().debug("Rule: separator (Space) ");break;case 6:s.getLogger().debug("Rule: separator (EOF) ");break;case 7:s.getLogger().debug("Rule: hierarchy: ",a[i-1]),s.setHierarchy(a[i-1]);break;case 8:s.getLogger().debug("Stop NL ");break;case 9:s.getLogger().debug("Stop EOF ");break;case 10:s.getLogger().debug("Stop NL2 ");break;case 11:s.getLogger().debug("Stop EOF2 ");break;case 12:s.getLogger().debug("Rule: statement: ",a[i]),"number"==typeof a[i].length?this.$=a[i]:this.$=[a[i]];break;case 13:s.getLogger().debug("Rule: statement #2: ",a[i-1]),this.$=[a[i-1]].concat(a[i]);break;case 14:s.getLogger().debug("Rule: link: ",a[i],t),this.$={edgeTypeStr:a[i],label:""};break;case 15:s.getLogger().debug("Rule: LABEL link: ",a[i-3],a[i-1],a[i]),this.$={edgeTypeStr:a[i],label:a[i-1]};break;case 18:const e=parseInt(a[i]),r=s.generateId();this.$={id:r,type:"space",label:"",width:e,children:[]};break;case 23:s.getLogger().debug("Rule: (nodeStatement link node) ",a[i-2],a[i-1],a[i]," typestr: ",a[i-1].edgeTypeStr);const n=s.edgeStrToEdgeData(a[i-1].edgeTypeStr),o=s.edgeStrToEdgeStartData(a[i-1].edgeTypeStr),d=s.edgeStrToThickness(a[i-1].edgeTypeStr),l=s.edgeStrToPattern(a[i-1].edgeTypeStr);this.$=[{id:a[i-2].id,label:a[i-2].label,type:a[i-2].type,directions:a[i-2].directions},{id:a[i-2].id+"-"+a[i].id,start:a[i-2].id,end:a[i].id,label:a[i-1].label,type:"edge",thickness:d,pattern:l,directions:a[i].directions,arrowTypeEnd:n,arrowTypeStart:o},{id:a[i].id,label:a[i].label,type:s.typeStr2Type(a[i].typeStr),directions:a[i].directions}];break;case 24:s.getLogger().debug("Rule: nodeStatement (abc88 node size) ",a[i-1],a[i]),this.$={id:a[i-1].id,label:a[i-1].label,type:s.typeStr2Type(a[i-1].typeStr),directions:a[i-1].directions,widthInColumns:parseInt(a[i],10)};break;case 25:s.getLogger().debug("Rule: nodeStatement (node) ",a[i]),this.$={id:a[i].id,label:a[i].label,type:s.typeStr2Type(a[i].typeStr),directions:a[i].directions,widthInColumns:1};break;case 26:s.getLogger().debug("APA123",this?this:"na"),s.getLogger().debug("COLUMNS: ",a[i]),this.$={type:"column-setting",columns:"auto"===a[i]?-1:parseInt(a[i])};break;case 27:s.getLogger().debug("Rule: id-block statement : ",a[i-2],a[i-1]);s.generateId();this.$={...a[i-2],type:"composite",children:a[i-1]};break;case 28:s.getLogger().debug("Rule: blockStatement : ",a[i-2],a[i-1],a[i]);const c=s.generateId();this.$={id:c,type:"composite",label:"",children:a[i-1]};break;case 29:s.getLogger().debug("Rule: node (NODE_ID separator): ",a[i]),this.$={id:a[i]};break;case 30:s.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",a[i-1],a[i]),this.$={id:a[i-1],label:a[i].label,typeStr:a[i].typeStr,directions:a[i].directions};break;case 31:s.getLogger().debug("Rule: dirList: ",a[i]),this.$=[a[i]];break;case 32:s.getLogger().debug("Rule: dirList: ",a[i-1],a[i]),this.$=[a[i-1]].concat(a[i]);break;case 33:s.getLogger().debug("Rule: nodeShapeNLabel: ",a[i-2],a[i-1],a[i]),this.$={typeStr:a[i-2]+a[i],label:a[i-1]};break;case 34:s.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",a[i-3],a[i-2]," #3:",a[i-1],a[i]),this.$={typeStr:a[i-3]+a[i],label:a[i-2],directions:a[i-1]};break;case 35:case 36:this.$={type:"classDef",id:a[i-1].trim(),css:a[i].trim()};break;case 37:this.$={type:"applyClass",id:a[i-1].trim(),styleClass:a[i].trim()};break;case 38:this.$={type:"applyStyles",id:a[i-1].trim(),stylesStr:a[i].trim()}}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:e,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:s,29:n,31:a,39:o,43:i,46:d},{8:[1,20]},t(l,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:e,21:r,28:s,29:n,31:a,39:o,43:i,46:d}),t(h,[2,16],{14:22,15:u,16:g}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(y,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,31:a},{10:e,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:s,29:n,31:a,39:o,43:i,46:d},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(p,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(l,[2,13]),{26:35,31:a},{31:[2,14]},{17:[1,36]},t(y,[2,24]),{10:e,11:37,13:4,14:22,15:u,16:g,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:s,29:n,31:a,39:o,43:i,46:d},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(p,[2,30]),{18:[1,43]},{18:[1,44]},t(y,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{36:[1,47]},{33:48,34:f},{15:[1,50]},t(h,[2,27]),t(p,[2,33]),{38:[1,51]},{33:52,34:f,38:[2,31]},{31:[2,15]},t(p,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,c.K)(function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},"parseError"),parse:(0,c.K)(function(t){var e=this,r=[0],s=[],n=[null],a=[],o=this.table,i="",d=0,l=0,h=0,u=a.slice.call(arguments,1),g=Object.create(this.lexer),y={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y.yy[p]=this.yy[p]);g.setInput(t,y.yy),y.yy.lexer=g,y.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var f=g.yylloc;a.push(f);var _=g.options&&g.options.ranges;function b(){var t;return"number"!=typeof(t=s.pop()||g.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.K)(function(t){r.length=r.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,c.K)(b,"lex");for(var m,x,v,w,A,k,j,S,L,E={};;){if(v=r[r.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==m&&(m=b()),w=o[v]&&o[v][m]),void 0===w||!w.length||!w[0]){var O="";for(k in L=[],o[v])this.terminals_[k]&&k>2&&L.push("'"+this.terminals_[k]+"'");O=g.showPosition?"Parse error on line "+(d+1)+":\n"+g.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(O,{text:g.match,token:this.terminals_[m]||m,line:g.yylineno,loc:f,expected:L})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(w[0]){case 1:r.push(m),n.push(g.yytext),a.push(g.yylloc),r.push(w[1]),m=null,x?(m=x,x=null):(l=g.yyleng,i=g.yytext,d=g.yylineno,f=g.yylloc,h>0&&h--);break;case 2:if(j=this.productions_[w[1]][1],E.$=n[n.length-j],E._$={first_line:a[a.length-(j||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(j||1)].first_column,last_column:a[a.length-1].last_column},_&&(E._$.range=[a[a.length-(j||1)].range[0],a[a.length-1].range[1]]),void 0!==(A=this.performAction.apply(E,[i,l,d,y.yy,w[1],n,a].concat(u))))return A;j&&(r=r.slice(0,-1*j*2),n=n.slice(0,-1*j),a=a.slice(0,-1*j)),r.push(this.productions_[w[1]][0]),n.push(E.$),a.push(E._$),S=o[r[r.length-2]][r[r.length-1]],r.push(S);break;case 3:return!0}}return!0},"parse")},b=function(){return{EOF:1,parseError:(0,c.K)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,c.K)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.K)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,c.K)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===s.length?this.yylloc.first_column:0)+s[s.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.K)(function(){return this._more=!0,this},"more"),reject:(0,c.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,c.K)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.K)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.K)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,c.K)(function(t,e){var r,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},"test_match"),next:(0,c.K)(function(){if(this.done)return this.EOF;var t,e,r,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;a<n.length;a++)if((r=this._input.match(this.rules[n[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,c.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,c.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,c.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,c.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.K)(function(t,e,r,s){switch(r){case 0:return t.getLogger().debug("Found block-beta"),10;case 1:return t.getLogger().debug("Found id-block"),29;case 2:return t.getLogger().debug("Found block"),10;case 3:t.getLogger().debug(".",e.yytext);break;case 4:t.getLogger().debug("_",e.yytext);break;case 5:return 5;case 6:return e.yytext=-1,28;case 7:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 8:case 76:case 77:case 99:this.pushState("md_string");break;case 9:return"MD_STR";case 10:case 34:case 79:this.popState();break;case 11:this.pushState("string");break;case 12:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 13:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 14:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 15:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 21:return this.popState(),this.pushState("CLASSDEFID"),40;case 22:return this.popState(),41;case 23:return this.pushState("CLASS"),43;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;case 25:return this.popState(),45;case 26:return this.pushState("STYLE_STMNT"),46;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;case 28:return this.popState(),48;case 29:return this.pushState("acc_title"),"acc_title";case 30:return this.popState(),"acc_title_value";case 31:return this.pushState("acc_descr"),"acc_descr";case 32:return this.popState(),"acc_descr_value";case 33:this.pushState("acc_descr_multiline");break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:case 38:case 40:case 41:case 44:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 39:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 42:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 45:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 48:case 49:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 50:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 54:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;case 55:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;case 56:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;case 57:case 59:case 60:case 61:case 64:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;case 58:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;case 62:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;case 63:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;case 65:case 66:case 67:case 68:case 69:case 70:case 71:return this.pushState("NODE"),35;case 72:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;case 73:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),37;case 74:return t.getLogger().debug("Lex: NODE_ID",e.yytext),31;case 75:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 78:return"NODE_DESCR";case 80:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 83:t.getLogger().debug("LEX POPPING"),this.popState();break;case 84:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 91:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 92:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 93:case 94:case 95:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 96:case 97:case 98:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 100:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 101:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 102:case 103:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 104:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}}}();function m(){this.yy={}}return _.lexer=b,(0,c.K)(m,"Parser"),m.prototype=_,_.Parser=m,new m}();v.parser=v;var w=v,A=new Map,k=[],j=new Map,S="color",L="fill",E=new Map,O="",D=(0,c.K)(t=>d.Y2.sanitizeText(t,(0,d.D7)()),"sanitizeText"),T=(0,c.K)(function(t,e=""){let r=E.get(t);r||(r={id:t,styles:[],textStyles:[]},E.set(t,r)),null!=e&&e.split(",").forEach(t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(S).exec(t)){const t=e.replace(L,"bgFill").replace(S,L);r.textStyles.push(t)}r.styles.push(e)})},"addStyleClass"),C=(0,c.K)(function(t,e=""){const r=A.get(t);null!=e&&(r.styles=e.split(","))},"addStyle2Node"),R=(0,c.K)(function(t,e){t.split(",").forEach(function(t){let r=A.get(t);if(void 0===r){const e=t.trim();r={id:e,type:"na",children:[]},A.set(e,r)}r.classes||(r.classes=[]),r.classes.push(e)})},"setCssClass"),K=(0,c.K)((t,e)=>{const r=t.flat(),s=[],n=r.find(t=>"column-setting"===t?.type),a=n?.columns??-1;for(const t of r)if("number"==typeof a&&a>0&&"column-setting"!==t.type&&"number"==typeof t.widthInColumns&&t.widthInColumns>a&&l.R.warn(`Block ${t.id} width ${t.widthInColumns} exceeds configured column width ${a}`),t.label&&(t.label=D(t.label)),"classDef"!==t.type)if("applyClass"!==t.type)if("applyStyles"!==t.type)if("column-setting"===t.type)e.columns=t.columns??-1;else if("edge"===t.type){const e=(j.get(t.id)??0)+1;j.set(t.id,e),t.id=e+"-"+t.id,k.push(t)}else{t.label||("composite"===t.type?t.label="":t.label=t.id);const e=A.get(t.id);if(void 0===e?A.set(t.id,t):("na"!==t.type&&(e.type=t.type),t.label!==t.id&&(e.label=t.label)),t.children&&K(t.children,t),"space"===t.type){const e=t.width??1;for(let r=0;r<e;r++){const e=p(t);e.id=e.id+"-"+r,A.set(e.id,e),s.push(e)}}else void 0===e&&s.push(t)}else t?.stylesStr&&C(t.id,t?.stylesStr);else R(t.id,t?.styleClass??"");else T(t.id,t.css);e.children=s},"populateBlockDatabase"),I=[],N={id:"root",type:"composite",children:[],columns:-1},$=(0,c.K)(()=>{l.R.debug("Clear called"),(0,d.IU)(),N={id:"root",type:"composite",children:[],columns:-1},A=new Map([["root",N]]),I=[],E=new Map,k=[],j=new Map,O=""},"clear");function B(t){switch(l.R.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return l.R.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function z(t){return l.R.debug("typeStr2Type",t),"=="===t?"thick":"normal"}function P(t){switch(t.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}function M(t){switch(t.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}function F(t){return t.includes("==")?"thick":"normal"}function Y(t){return t.includes(".-")?"dotted":"solid"}(0,c.K)(B,"typeStr2Type"),(0,c.K)(z,"edgeTypeStr2Type"),(0,c.K)(P,"edgeStrToEdgeData"),(0,c.K)(M,"edgeStrToEdgeStartData"),(0,c.K)(F,"edgeStrToThickness"),(0,c.K)(Y,"edgeStrToPattern");var U=0,W=(0,c.K)(()=>(U++,"id-"+Math.random().toString(36).substr(2,12)+"-"+U),"generateId"),X=(0,c.K)(t=>{N.children=t,K(t,N),I=N.children},"setHierarchy"),H=(0,c.K)(t=>{const e=A.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),G=(0,c.K)(()=>[...A.values()],"getBlocksFlat"),V=(0,c.K)(()=>I||[],"getBlocks"),Z=(0,c.K)(()=>k,"getEdges"),q=(0,c.K)(t=>A.get(t),"getBlock"),J=(0,c.K)(t=>{A.set(t.id,t)},"setBlock"),Q=(0,c.K)(t=>{O=t},"setDiagramId"),tt=(0,c.K)(()=>O,"getDiagramId"),et=(0,c.K)(()=>l.R,"getLogger"),rt=(0,c.K)(function(){return E},"getClasses"),st={getConfig:(0,c.K)(()=>(0,d.zj)().block,"getConfig"),typeStr2Type:B,edgeTypeStr2Type:z,edgeStrToEdgeData:P,edgeStrToEdgeStartData:M,edgeStrToThickness:F,edgeStrToPattern:Y,getLogger:et,getBlocksFlat:G,getBlocks:V,getEdges:Z,setHierarchy:X,getBlock:q,setBlock:J,getColumns:H,getClasses:rt,clear:$,generateId:W,setDiagramId:Q,getDiagramId:tt},nt=(0,c.K)((t,e)=>{const r=_.A,s=r(t,"r"),n=r(t,"g"),a=r(t,"b");return b.A(s,n,a,e)},"fade"),at=(0,c.K)(t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span,p {\n color: ${t.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n /*\n * This is for backward compatibility with existing code that didn't\n * add a \`<p>\` around edge labels.\n *\n * TODO: We should probably remove this in a future release.\n */\n p {\n margin: 0;\n padding: 0;\n display: inline;\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${t.edgeLabelBackground};\n }\n\n .node .cluster {\n // fill: ${nt(t.mainBkg,.5)};\n fill: ${nt(t.clusterBkg,.5)};\n stroke: ${nt(t.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span,p {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n ${(0,s.o)()}\n`,"getStyles"),ot=(0,c.K)((t,e,r,s)=>{e.forEach(e=>{it[e](t,r,s)})},"insertMarkers"),it={extension:(0,c.K)((t,e,r)=>{l.R.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),composition:(0,c.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation:(0,c.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency:(0,c.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop:(0,c.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),point:(0,c.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),circle:(0,c.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),cross:(0,c.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb:(0,c.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},dt=ot;function lt(t,e){if(0===t||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw new Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};return{px:e%t,py:Math.floor(e/t)}}(0,c.K)(lt,"calculateBlockPosition");var ct=(0,c.K)(t=>{let e=0,r=0;for(const s of t.children){const{width:t,height:n,x:a,y:o}=s.size??{width:0,height:0,x:0,y:0};if(l.R.debug("getMaxChildSize abc95 child:",s.id,"width:",t,"height:",n,"x:",a,"y:",o,s.type),"space"===s.type)continue;const i=t/(s.widthInColumns??1);i>e&&(e=i),n>r&&(r=n)}return{width:e,height:r}},"getMaxChildSize");function ht(t,e,r=0,s=0,n=8){l.R.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"siblingWidth",r),t?.size?.width||(t.size={width:r,height:s,x:0,y:0});let a=0,o=0;if(t.children?.length>0){for(const r of t.children)ht(r,e,0,0,n);const i=ct(t);a=i.width,o=i.height,l.R.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",a,o);for(const e of t.children)e.size&&(l.R.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${a} ${o} ${JSON.stringify(e.size)}`),e.size.width=a*(e.widthInColumns??1)+n*((e.widthInColumns??1)-1),e.size.height=o,e.size.x=0,e.size.y=0,l.R.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${a} maxHeight:${o}`));for(const r of t.children)ht(r,e,a,o,n);const d=t.columns??-1;let c=0;for(const e of t.children)c+=e.widthInColumns??1;let h=t.children.length;d>0&&d<c&&(h=d);const u=Math.ceil(c/h);let g=h*(a+n)+n,y=u*(o+n)+n;if(g<r){l.R.debug(`Detected to small sibling: abc95 ${t.id} siblingWidth ${r} siblingHeight ${s} width ${g}`),g=r,y=s;const e=(r-h*n-n)/h,i=(s-u*n-n)/u;l.R.debug("Size indata abc88",t.id,"childWidth",e,"maxWidth",a),l.R.debug("Size indata abc88",t.id,"childHeight",i,"maxHeight",o),l.R.debug("Size indata abc88 xSize",h,"padding",n);for(const r of t.children)r.size&&(r.size.width=e,r.size.height=i,r.size.x=0,r.size.y=0)}if(l.R.debug(`abc95 (finale calc) ${t.id} xSize ${h} ySize ${u} columns ${d}${t.children.length} width=${Math.max(g,t.size?.width||0)}`),g<(t?.size?.width||0)){g=t?.size?.width||0;const e=d>0?Math.min(t.children.length,d):t.children.length;if(e>0){const r=(g-e*n-n)/e;l.R.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r);for(const e of t.children)e.size&&(e.size.width=r)}}t.size={width:g,height:y,x:0,y:0}}l.R.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function ut(t,e,r=8){l.R.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);const s=t.columns??-1;if(l.R.debug("layoutBlocks columns abc95",t.id,"=>",s,t),t.children&&t.children.length>0){const n=t?.children[0]?.size?.width??0,a=t.children.length*n+(t.children.length-1)*r;l.R.debug("widthOfChildren 88",a,"posX");const o=new Map;{let e=0;for(const r of t.children){if(!r.size)continue;const{py:t}=lt(s,e),n=o.get(t)??0;r.size.height>n&&o.set(t,r.size.height);let a=r?.widthInColumns??1;s>0&&(a=Math.min(a,s-e%s)),e+=a}}const i=new Map;{let t=0;const e=[...o.keys()].sort((t,e)=>t-e);for(const s of e)i.set(s,t),t+=(o.get(s)??0)+r}let d=0;l.R.debug("abc91 block?.size?.x",t.id,t?.size?.x);let c=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-r,h=0;for(const n of t.children){const a=t;if(!n.size)continue;const{width:u,height:g}=n.size,{px:y,py:p}=lt(s,d);if(p!=h&&(h=p,c=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-r,l.R.debug("New row in layout for block",t.id," and child ",n.id,h)),l.R.debug(`abc89 layout blocks (child) id: ${n.id} Pos: ${d} (px, py) ${y},${p} (${a?.size?.x},${a?.size?.y}) parent: ${a.id} width: ${u}${r}`),a.size){const t=u/2;n.size.x=c+r+t,l.R.debug(`abc91 layout blocks (calc) px, pyid:${n.id} startingPos=X${c} new startingPosX${n.size.x} ${t} padding=${r} width=${u} halfWidth=${t} => x:${n.size.x} y:${n.size.y} ${n.widthInColumns} (width * (child?.w || 1)) / 2 ${u*(n?.widthInColumns??1)/2}`),c=n.size.x+t;const e=i.get(p)??0,s=o.get(p)??g;n.size.y=a.size.y-a.size.height/2+e+s/2+r,l.R.debug(`abc88 layout blocks (calc) px, pyid:${n.id}startingPosX${c}${r}${t}=>x:${n.size.x}y:${n.size.y}${n.widthInColumns}(width * (child?.w || 1)) / 2${u*(n?.widthInColumns??1)/2}`)}n.children&&ut(n,e,r);let f=n?.widthInColumns??1;s>0&&(f=Math.min(f,s-d%s)),d+=f,l.R.debug("abc88 columnsPos",n,d)}}l.R.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function gt(t,{minX:e,minY:r,maxX:s,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){const{x:a,y:o,width:i,height:d}=t.size;a-i/2<e&&(e=a-i/2),o-d/2<r&&(r=o-d/2),a+i/2>s&&(s=a+i/2),o+d/2>n&&(n=o+d/2)}if(t.children)for(const a of t.children)({minX:e,minY:r,maxX:s,maxY:n}=gt(a,{minX:e,minY:r,maxX:s,maxY:n}));return{minX:e,minY:r,maxX:s,maxY:n}}function yt(t){const e=t.getBlock("root");if(!e)return;const r=(0,d.D7)()?.block?.padding??8;ht(e,t,0,0,r),ut(e,t,r),l.R.debug("getBlocks",JSON.stringify(e,null,2));const{minX:s,minY:n,maxX:a,maxY:o}=gt(e);return{x:s,y:n,width:a-s,height:o-n}}(0,c.K)(ht,"setBlockSizes"),(0,c.K)(ut,"layoutBlocks"),(0,c.K)(gt,"findBounds"),(0,c.K)(yt,"layout");var pt=(0,c.K)(async(t,e,r,s=!1,n=!1)=>{let a=e||"";"object"==typeof a&&(a=a[0]);const i=(0,d.D7)(),l=(0,d.E)(i);return await(0,o.G)(t,a,{style:r,isTitle:s,useHtmlLabels:l,markdown:!1,isNode:n,width:Number.POSITIVE_INFINITY},i)},"createLabel"),ft=(0,c.K)((t,e,r,s,n)=>{e.arrowTypeStart&&bt(t,"start",e.arrowTypeStart,r,s,n),e.arrowTypeEnd&&bt(t,"end",e.arrowTypeEnd,r,s,n)},"addEdgeMarkers"),_t={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},bt=(0,c.K)((t,e,r,s,n,a)=>{const o=_t[r];if(!o)return void l.R.warn(`Unknown arrow type: ${r}`);const i="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${s}#${n}_${a}-${o}${i})`)},"addEdgeMarker"),mt={},xt={},vt=(0,c.K)(async(t,e)=>{const r=(0,d.D7)(),s=(0,d.E)(r),a=t.insert("g").attr("class","edgeLabel"),i=a.insert("g").attr("class","label"),l="markdown"===e.labelType,c=await(0,o.G)(t,e.label,{style:e.labelStyle,useHtmlLabels:s,addSvgBackground:l,isNode:!1,markdown:l,width:l?void 0:Number.POSITIVE_INFINITY},r);i.node().appendChild(c);let h,u=c.getBBox(),g=u;if(s){const t=c.children[0],e=(0,m.Ltv)(c);u=t.getBoundingClientRect(),g=u,e.attr("width",u.width),e.attr("height",u.height)}else{const t=(0,m.Ltv)(c).select("text").node();t&&"function"==typeof t.getBBox&&(g=t.getBBox())}if(i.attr("transform",(0,n.Wg)(g,s)),mt[e.id]=a,e.width=u.width,e.height=u.height,e.startLabelLeft){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),o=await pt(a,e.startLabelLeft,e.labelStyle);h=o;let i=o.getBBox();if(s){const t=o.children[0],e=(0,m.Ltv)(o);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}a.attr("transform",(0,n.Wg)(i,s)),xt[e.id]||(xt[e.id]={}),xt[e.id].startLeft=r,wt(h,e.startLabelLeft)}if(e.startLabelRight){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),o=await pt(a,e.startLabelRight,e.labelStyle);h=o;let i=o.getBBox();if(s){const t=o.children[0],e=(0,m.Ltv)(o);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}a.attr("transform",(0,n.Wg)(i,s)),xt[e.id]||(xt[e.id]={}),xt[e.id].startRight=r,wt(h,e.startLabelRight)}if(e.endLabelLeft){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),o=await pt(r,e.endLabelLeft,e.labelStyle);h=o;let i=o.getBBox();if(s){const t=o.children[0],e=(0,m.Ltv)(o);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}a.attr("transform",(0,n.Wg)(i,s)),xt[e.id]||(xt[e.id]={}),xt[e.id].endLeft=r,wt(h,e.endLabelLeft)}if(e.endLabelRight){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),o=await pt(r,e.endLabelRight,e.labelStyle);h=o;let i=o.getBBox();if(s){const t=o.children[0],e=(0,m.Ltv)(o);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}a.attr("transform",(0,n.Wg)(i,s)),xt[e.id]||(xt[e.id]={}),xt[e.id].endRight=r,wt(h,e.endLabelRight)}return c},"insertEdgeLabel");function wt(t,e){(0,d.E)((0,d.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,c.K)(wt,"setTerminalWidth");var At=(0,c.K)((t,e)=>{l.R.debug("Moving label abc88 ",t.id,t.label,mt[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath;const s=(0,d.D7)(),{subGraphTitleTotalMargin:n}=(0,a.O)(s);if(t.label){const s=mt[t.id];let a=t.x,o=t.y;if(r){const s=i._K.calcLabelPosition(r);l.R.debug("Moving label "+t.label+" from (",a,",",o,") to (",s.x,",",s.y,") abc88"),e.updatedPath&&(a=s.x,o=s.y)}s.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){const e=xt[t.id].startLeft;let s=t.x,n=t.y;if(r){const e=i._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=e.x,n=e.y}e.attr("transform",`translate(${s}, ${n})`)}if(t.startLabelRight){const e=xt[t.id].startRight;let s=t.x,n=t.y;if(r){const e=i._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=e.x,n=e.y}e.attr("transform",`translate(${s}, ${n})`)}if(t.endLabelLeft){const e=xt[t.id].endLeft;let s=t.x,n=t.y;if(r){const e=i._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=e.x,n=e.y}e.attr("transform",`translate(${s}, ${n})`)}if(t.endLabelRight){const e=xt[t.id].endRight;let s=t.x,n=t.y;if(r){const e=i._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=e.x,n=e.y}e.attr("transform",`translate(${s}, ${n})`)}},"positionEdgeLabel"),kt=(0,c.K)((t,e)=>{const r=t.x,s=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-s),o=t.width/2,i=t.height/2;return n>=o||a>=i},"outsideNode"),jt=(0,c.K)((t,e,r)=>{l.R.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const s=t.x,n=t.y,a=Math.abs(s-r.x),o=t.width/2;let i=r.x<e.x?o-a:o+a;const d=t.height/2,c=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);if(Math.abs(n-e.y)*o>Math.abs(s-e.x)*d){let t=r.y<e.y?e.y-d-n:n-d-e.y;i=h*t/c;const s={x:r.x<e.x?r.x+i:r.x-h+i,y:r.y<e.y?r.y+c-t:r.y-c+t};return 0===i&&(s.x=e.x,s.y=e.y),0===h&&(s.x=e.x),0===c&&(s.y=e.y),l.R.debug(`abc89 topp/bott calc, Q ${c}, q ${t}, R ${h}, r ${i}`,s),s}{i=r.x<e.x?e.x-o-s:s-o-e.x;let t=c*i/h,n=r.x<e.x?r.x+h-i:r.x-h+i,a=r.y<e.y?r.y+t:r.y-t;return l.R.debug(`sides calc abc89, Q ${c}, q ${t}, R ${h}, r ${i}`,{_x:n,_y:a}),0===i&&(n=e.x,a=e.y),0===h&&(n=e.x),0===c&&(a=e.y),{x:n,y:a}}},"intersection"),St=(0,c.K)((t,e)=>{l.R.debug("abc88 cutPathAtIntersect",t,e);let r=[],s=t[0],n=!1;return t.forEach(t=>{if(kt(e,t)||n)s=t,n||r.push(t);else{const a=jt(e,s,t);let o=!1;r.forEach(t=>{o=o||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)||r.push(a),n=!0}}),r},"cutPathAtIntersect"),Lt=(0,c.K)(function(t,e,r,s,a,o,i){let c=r.points;l.R.debug("abc88 InsertEdge: edge=",r,"e=",e);let h=!1;const u=o.node(e.v);var g=o.node(e.w);g?.intersect&&u?.intersect&&(c=c.slice(1,r.points.length-1),c.unshift(u.intersect(c[0])),c.push(g.intersect(c[c.length-1]))),r.toCluster&&(l.R.debug("to cluster abc88",s[r.toCluster]),c=St(r.points,s[r.toCluster].node),h=!0),r.fromCluster&&(l.R.debug("from cluster abc88",s[r.fromCluster]),c=St(c.reverse(),s[r.fromCluster].node).reverse(),h=!0);const y=c.filter(t=>!Number.isNaN(t.y));let p=m.qrM;!r.curve||"graph"!==a&&"flowchart"!==a||(p=r.curve);const{x:f,y:_}=(0,n.RI)(r),b=(0,m.n8j)().x(f).y(_).curve(p);let x;switch(r.thickness){case"normal":x="edge-thickness-normal";break;case"thick":case"invisible":x="edge-thickness-thick";break;default:x=""}switch(r.pattern){case"solid":x+=" edge-pattern-solid";break;case"dotted":x+=" edge-pattern-dotted";break;case"dashed":x+=" edge-pattern-dashed"}const v=t.append("path").attr("d",b(y)).attr("id",r.id).attr("class"," "+x+(r.classes?" "+r.classes:"")).attr("style",r.style);let w="";((0,d.D7)().flowchart.arrowMarkerAbsolute||(0,d.D7)().state.arrowMarkerAbsolute)&&(w=(0,d.ID)(!0)),ft(v,r,w,i,a);let A={};return h&&(A.updatedPath=c),A.originalPath=r.points,A},"insertEdge"),Et=(0,c.K)(t=>{const e=new Set;for(const r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e},"expandAndDeduplicateDirections"),Ot=(0,c.K)((t,e,r,s)=>{const n=Et(t),a=e.height+2*r.padding,o=a/2,i=s??e.width+2*o+r.padding,d=r.padding/2;return n.has("right")&&n.has("left")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:o,y:0},{x:i/2,y:2*d},{x:i-o,y:0},{x:i,y:0},{x:i,y:-a/3},{x:i+2*d,y:-a/2},{x:i,y:-2*a/3},{x:i,y:-a},{x:i-o,y:-a},{x:i/2,y:-a-2*d},{x:o,y:-a},{x:0,y:-a},{x:0,y:-2*a/3},{x:-2*d,y:-a/2},{x:0,y:-a/3}]:n.has("right")&&n.has("left")&&n.has("up")?[{x:o,y:0},{x:i-o,y:0},{x:i,y:-a/2},{x:i-o,y:-a},{x:o,y:-a},{x:0,y:-a/2}]:n.has("right")&&n.has("left")&&n.has("down")?[{x:0,y:0},{x:o,y:-a},{x:i-o,y:-a},{x:i,y:0}]:n.has("right")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:i,y:-o},{x:i,y:-a+o},{x:0,y:-a}]:n.has("left")&&n.has("up")&&n.has("down")?[{x:i,y:0},{x:0,y:-o},{x:0,y:-a+o},{x:i,y:-a}]:n.has("right")&&n.has("left")?[{x:o,y:0},{x:o,y:-d},{x:i-o,y:-d},{x:i-o,y:0},{x:i,y:-a/2},{x:i-o,y:-a},{x:i-o,y:-a+d},{x:o,y:-a+d},{x:o,y:-a},{x:0,y:-a/2}]:n.has("up")&&n.has("down")?[{x:i/2,y:0},{x:0,y:-d},{x:o,y:-d},{x:o,y:-a+d},{x:0,y:-a+d},{x:i/2,y:-a},{x:i,y:-a+d},{x:i-o,y:-a+d},{x:i-o,y:-d},{x:i,y:-d}]:n.has("right")&&n.has("up")?[{x:0,y:0},{x:i,y:-o},{x:0,y:-a}]:n.has("right")&&n.has("down")?[{x:0,y:0},{x:i,y:0},{x:0,y:-a}]:n.has("left")&&n.has("up")?[{x:i,y:0},{x:0,y:-o},{x:i,y:-a}]:n.has("left")&&n.has("down")?[{x:i,y:0},{x:0,y:0},{x:i,y:-a}]:n.has("right")?[{x:o,y:-d},{x:o,y:-d},{x:i-o,y:-d},{x:i-o,y:0},{x:i,y:-a/2},{x:i-o,y:-a},{x:i-o,y:-a+d},{x:o,y:-a+d},{x:o,y:-a+d}]:n.has("left")?[{x:o,y:0},{x:o,y:-d},{x:i-o,y:-d},{x:i-o,y:-a+d},{x:o,y:-a+d},{x:o,y:-a},{x:0,y:-a/2}]:n.has("up")?[{x:o,y:-d},{x:o,y:-a+d},{x:0,y:-a+d},{x:i/2,y:-a},{x:i,y:-a+d},{x:i-o,y:-a+d},{x:i-o,y:-d}]:n.has("down")?[{x:i/2,y:0},{x:0,y:-d},{x:o,y:-d},{x:o,y:-a+d},{x:i-o,y:-a+d},{x:i-o,y:-d},{x:i,y:-d}]:[{x:0,y:0}]},"getArrowPoints");function Dt(t,e){return t.intersect(e)}(0,c.K)(Dt,"intersectNode");var Tt=Dt;function Ct(t,e,r,s){var n=t.x,a=t.y,o=n-s.x,i=a-s.y,d=Math.sqrt(e*e*i*i+r*r*o*o),l=Math.abs(e*r*o/d);s.x<n&&(l=-l);var c=Math.abs(e*r*i/d);return s.y<a&&(c=-c),{x:n+l,y:a+c}}(0,c.K)(Ct,"intersectEllipse");var Rt=Ct;function Kt(t,e,r){return Rt(t,e,e,r)}(0,c.K)(Kt,"intersectCircle");var It=Kt;function Nt(t,e,r,s){var n,a,o,i,d,l,c,h,u,g,y,p,f;if(n=e.y-t.y,o=t.x-e.x,d=e.x*t.y-t.x*e.y,u=n*r.x+o*r.y+d,g=n*s.x+o*s.y+d,!(0!==u&&0!==g&&$t(u,g)||(a=s.y-r.y,i=r.x-s.x,l=s.x*r.y-r.x*s.y,c=a*t.x+i*t.y+l,h=a*e.x+i*e.y+l,0!==c&&0!==h&&$t(c,h)||0===(y=n*i-a*o))))return p=Math.abs(y/2),{x:(f=o*l-i*d)<0?(f-p)/y:(f+p)/y,y:(f=a*d-n*l)<0?(f-p)/y:(f+p)/y}}function $t(t,e){return t*e>0}(0,c.K)(Nt,"intersectLine"),(0,c.K)($t,"sameSign");var Bt=Nt,zt=Pt;function Pt(t,e,r){var s=t.x,n=t.y,a=[],o=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach(function(t){o=Math.min(o,t.x),i=Math.min(i,t.y)}):(o=Math.min(o,e.x),i=Math.min(i,e.y));for(var d=s-t.width/2-o,l=n-t.height/2-i,c=0;c<e.length;c++){var h=e[c],u=e[c<e.length-1?c+1:0],g=Bt(t,r,{x:d+h.x,y:l+h.y},{x:d+u.x,y:l+u.y});g&&a.push(g)}return a.length?(a.length>1&&a.sort(function(t,e){var s=t.x-r.x,n=t.y-r.y,a=Math.sqrt(s*s+n*n),o=e.x-r.x,i=e.y-r.y,d=Math.sqrt(o*o+i*i);return a<d?-1:a===d?0:1}),a[0]):t}(0,c.K)(Pt,"intersectPolygon");var Mt={node:Tt,circle:It,ellipse:Rt,polygon:zt,rect:(0,c.K)((t,e)=>{var r,s,n=t.x,a=t.y,o=e.x-n,i=e.y-a,d=t.width/2,l=t.height/2;return Math.abs(i)*d>Math.abs(o)*l?(i<0&&(l=-l),r=0===i?0:l*o/i,s=l):(o<0&&(d=-d),r=d,s=0===o?0:d*i/o),{x:n+r,y:a+s}},"intersectRect")},Ft=(0,c.K)(async(t,e,r,s)=>{const n=(0,d.D7)();let l;const c=e.useHtmlLabels||(0,d.E)(n);l=r||"node default";const h=t.insert("g").attr("class",l).attr("id",e.domId||e.id),u=h.insert("g").attr("class","label").attr("style",e.labelStyle);let g,y;g=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0],y="markdown"===e.labelType?(0,o.G)(u,(0,d.jZ)((0,i.Sm)(g),n),{useHtmlLabels:c,width:e.width||n.flowchart.wrappingWidth,classes:"markdown-node-label"},n):await pt(u,(0,d.jZ)((0,i.Sm)(g),n),e.labelStyle,!1,s);let p=y.getBBox();const f=e.padding/2;if((0,d.E)(n)){const t=y.children[0],e=(0,m.Ltv)(y);await(0,a.X)(t,g),p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}return c?u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):u.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:h,bbox:p,halfPadding:f,label:u}},"labelHelper"),Yt=(0,c.K)((t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");function Ut(t,e,r,s){return t.insert("polygon",":first-child").attr("points",s.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,c.K)(Ut,"insertPolygonShape");var Wt=(0,c.K)(async(t,e)=>{e.useHtmlLabels||(0,d.E)((0,d.D7)())||(e.centerLabel=!0);const{shapeSvg:r,bbox:s,halfPadding:n}=await Ft(t,e,"node "+e.classes,!0);l.R.info("Classes = ",e.classes);const a=r.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-s.width/2-n).attr("y",-s.height/2-n).attr("width",s.width+e.padding).attr("height",s.height+e.padding),Yt(e,a),e.intersect=function(t){return Mt.rect(e,t)},r},"note"),Xt=(0,c.K)(t=>t?" "+t:"","formatClass"),Ht=(0,c.K)((t,e)=>`${e||"node default"}${Xt(t.classes)} ${Xt(t.class)}`,"getClassesFromNode"),Gt=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding+(s.height+e.padding),a=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}];l.R.info("Question main (Circle)");const o=Ut(r,n,n,a);return o.attr("style",e.style),Yt(e,o),e.intersect=function(t){return l.R.warn("Intersect called"),Mt.polygon(e,a,t)},r},"question"),Vt=(0,c.K)((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return r.insert("polygon",":first-child").attr("points",s.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return Mt.circle(e,14,t)},r},"choice"),Zt=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=e.positioned?e.height:s.height+e.padding,a=n/4,o=e.positioned?e.width:s.width+2*a+e.padding,i=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-n/2},{x:o-a,y:-n},{x:a,y:-n},{x:0,y:-n/2}],d=Ut(r,o,n,i);return d.attr("style",e.style),Yt(e,d),e.intersect=function(t){return Mt.polygon(e,i,t)},r},"hexagon"),qt=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,void 0,!0),n=s.height+2*e.padding,a=n/2,o=s.width+2*a+e.padding,i=e.positioned&&(e.widthInColumns??1)>1&&e.width>o?e.width:o,d=Ot(e.directions,s,e,i),l=Ut(r,i,n,d);return l.attr("style",e.style),Yt(e,l),e.intersect=function(t){return Mt.polygon(e,d,t)},r},"block_arrow"),Jt=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return Ut(r,n,a,o).attr("style",e.style),e.width=n+a,e.height=a,e.intersect=function(t){return Mt.polygon(e,o,t)},r},"rect_left_inv_arrow"),Qt=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"lean_right"),te=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"lean_left"),ee=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"trapezoid"),re=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"inv_trapezoid"),se=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"rect_right_inv_arrow"),ne=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=n/2,o=a/(2.5+n/50),i=s.height+o+e.padding,d="M 0,"+o+" a "+a+","+o+" 0,0,0 "+n+" 0 a "+a+","+o+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+o+" 0,0,0 "+n+" 0 l 0,"+-i,l=r.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",d).attr("transform","translate("+-n/2+","+-(i/2+o)+")");return Yt(e,l),e.intersect=function(t){const r=Mt.rect(e,t),s=r.x-e.x;if(0!=a&&(Math.abs(s)<e.width/2||Math.abs(s)==e.width/2&&Math.abs(r.y-e.y)>e.height/2-o)){let n=o*o*(1-s*s/(a*a));0!=n&&(n=Math.sqrt(n)),n=o-n,t.y-e.y>0&&(n=-n),r.y+=n}return r},r},"cylinder"),ae=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:n}=await Ft(t,e,"node "+e.classes+" "+e.class,!0),a=r.insert("rect",":first-child"),o=e.positioned?e.width:s.width+e.padding,i=e.positioned?e.height:s.height+e.padding,d=e.positioned?-o/2:-s.width/2-n,c=e.positioned?-i/2:-s.height/2-n;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",o).attr("height",i),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(de(a,e.props.borders,o,i),t.delete("borders")),t.forEach(t=>{l.R.warn(`Unknown node property ${t}`)})}return Yt(e,a),e.intersect=function(t){return Mt.rect(e,t)},r},"rect"),oe=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:n}=await Ft(t,e,"node "+e.classes,!0),a=r.insert("rect",":first-child"),o=e.positioned?e.width:s.width+e.padding,i=e.positioned?e.height:s.height+e.padding,d=e.positioned?-o/2:-s.width/2-n,c=e.positioned?-i/2:-s.height/2-n;if(a.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",o).attr("height",i),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(de(a,e.props.borders,o,i),t.delete("borders")),t.forEach(t=>{l.R.warn(`Unknown node property ${t}`)})}return Yt(e,a),e.intersect=function(t){return Mt.rect(e,t)},r},"composite"),ie=(0,c.K)(async(t,e)=>{const{shapeSvg:r}=await Ft(t,e,"label",!0);l.R.trace("Classes = ",e.class);const s=r.insert("rect",":first-child");if(s.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(de(s,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{l.R.warn(`Unknown node property ${t}`)})}return Yt(e,s),e.intersect=function(t){return Mt.rect(e,t)},r},"labelRect");function de(t,e,r,s){const n=[],a=(0,c.K)(t=>{n.push(t,0)},"addBorder"),o=(0,c.K)(t=>{n.push(0,t)},"skipBorder");e.includes("t")?(l.R.debug("add top border"),a(r)):o(r),e.includes("r")?(l.R.debug("add right border"),a(s)):o(s),e.includes("b")?(l.R.debug("add bottom border"),a(r)):o(r),e.includes("l")?(l.R.debug("add left border"),a(s)):o(s),t.attr("stroke-dasharray",n.join(" "))}(0,c.K)(de,"applyNodePropertyBorders");var le=(0,c.K)(async(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",r).attr("id",e.domId||e.id),n=s.insert("rect",":first-child"),a=s.insert("line"),o=s.insert("g").attr("class","label"),i=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof i?i[0]:i,l.R.info("Label text abc79",c,i,"object"==typeof i);const h=await pt(o,c,e.labelStyle,!0,!0);let u={width:0,height:0};if((0,d.E)((0,d.D7)())){const t=h.children[0],e=(0,m.Ltv)(h);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}l.R.info("Text 2",i);const g=i.slice(1,i.length);let y=h.getBBox();const p=await pt(o,g.join?g.join("<br/>"):g,e.labelStyle,!0,!0);if((0,d.E)((0,d.D7)())){const t=p.children[0],e=(0,m.Ltv)(p);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}const f=e.padding/2;return(0,m.Ltv)(p).attr("transform","translate( "+(u.width>y.width?0:(y.width-u.width)/2)+", "+(y.height+f+5)+")"),(0,m.Ltv)(h).attr("transform","translate( "+(u.width<y.width?0:-(y.width-u.width)/2)+", 0)"),u=o.node().getBBox(),o.attr("transform","translate("+-u.width/2+", "+(-u.height/2-f+3)+")"),n.attr("class","outer title-state").attr("x",-u.width/2-f).attr("y",-u.height/2-f).attr("width",u.width+e.padding).attr("height",u.height+e.padding),a.attr("class","divider").attr("x1",-u.width/2-f).attr("x2",u.width/2+f).attr("y1",-u.height/2-f+y.height+f).attr("y2",-u.height/2-f+y.height+f),Yt(e,n),e.intersect=function(t){return Mt.rect(e,t)},s},"rectWithTitle"),ce=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.height+e.padding,a=s.width+n/4+e.padding,o=r.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return Yt(e,o),e.intersect=function(t){return Mt.rect(e,t)},r},"stadium"),he=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:n}=await Ft(t,e,Ht(e,void 0),!0),a=r.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+n).attr("width",s.width+e.padding).attr("height",s.height+e.padding),l.R.info("Circle main"),Yt(e,a),e.intersect=function(t){return l.R.info("Circle intersect",e,s.width/2+n,t),Mt.circle(e,s.width/2+n,t)},r},"circle"),ue=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:n}=await Ft(t,e,Ht(e,void 0),!0),a=r.insert("g",":first-child"),o=a.insert("circle"),i=a.insert("circle");return a.attr("class",e.class),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+n+5).attr("width",s.width+e.padding+10).attr("height",s.height+e.padding+10),i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+n).attr("width",s.width+e.padding).attr("height",s.height+e.padding),l.R.info("DoubleCircle main"),Yt(e,o),e.intersect=function(t){return l.R.info("DoubleCircle intersect",e,s.width/2+n+5,t),Mt.circle(e,s.width/2+n+5,t)},r},"doublecircle"),ge=(0,c.K)(async(t,e)=>{const{shapeSvg:r,bbox:s}=await Ft(t,e,Ht(e,void 0),!0),n=s.width+e.padding,a=s.height+e.padding,o=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=Ut(r,n,a,o);return i.attr("style",e.style),Yt(e,i),e.intersect=function(t){return Mt.polygon(e,o,t)},r},"subroutine"),ye=(0,c.K)((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=r.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),Yt(e,s),e.intersect=function(t){return Mt.circle(e,7,t)},r},"start"),pe=(0,c.K)((t,e,r)=>{const s=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,a=10;"LR"===r&&(n=10,a=70);const o=s.append("rect").attr("x",-1*n/2).attr("y",-1*a/2).attr("width",n).attr("height",a).attr("class","fork-join");return Yt(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return Mt.rect(e,t)},s},"forkJoin"),fe={rhombus:Gt,composite:oe,question:Gt,rect:ae,labelRect:ie,rectWithTitle:le,choice:Vt,circle:he,doublecircle:ue,stadium:ce,hexagon:Zt,block_arrow:qt,rect_left_inv_arrow:Jt,lean_right:Qt,lean_left:te,trapezoid:ee,inv_trapezoid:re,rect_right_inv_arrow:se,cylinder:ne,start:ye,end:(0,c.K)((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=r.insert("circle",":first-child"),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),s.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),Yt(e,n),e.intersect=function(t){return Mt.circle(e,7,t)},r},"end"),note:Wt,subroutine:ge,fork:pe,join:pe,class_box:(0,c.K)(async(t,e)=>{const r=e.padding/2;let s;s=e.classes?"node "+e.classes:"node default";const n=t.insert("g").attr("class",s).attr("id",e.domId||e.id),a=n.insert("rect",":first-child"),o=n.insert("line"),i=n.insert("line");let l=0,c=4;const h=n.insert("g").attr("class","label");let u=0;const g=e.classData.annotations?.[0],y=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",p=await pt(h,y,e.labelStyle,!0,!0);let f=p.getBBox();if((0,d.E)((0,d.D7)())){const t=p.children[0],e=(0,m.Ltv)(p);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}e.classData.annotations[0]&&(c+=f.height+4,l+=f.width);let _=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,d.E)((0,d.D7)())?_+="<"+e.classData.type+">":_+="<"+e.classData.type+">");const b=await pt(h,_,e.labelStyle,!0,!0);(0,m.Ltv)(b).attr("class","classTitle");let x=b.getBBox();if((0,d.E)((0,d.D7)())){const t=b.children[0],e=(0,m.Ltv)(b);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}c+=x.height+4,x.width>l&&(l=x.width);const v=[];e.classData.members.forEach(async t=>{const r=t.getDisplayDetails();let s=r.displayText;(0,d.E)((0,d.D7)())&&(s=s.replace(/</g,"<").replace(/>/g,">"));const n=await pt(h,s,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0);let a=n.getBBox();if((0,d.E)((0,d.D7)())){const t=n.children[0],e=(0,m.Ltv)(n);a=t.getBoundingClientRect(),e.attr("width",a.width),e.attr("height",a.height)}a.width>l&&(l=a.width),c+=a.height+4,v.push(n)}),c+=8;const w=[];if(e.classData.methods.forEach(async t=>{const r=t.getDisplayDetails();let s=r.displayText;(0,d.E)((0,d.D7)())&&(s=s.replace(/</g,"<").replace(/>/g,">"));const n=await pt(h,s,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0);let a=n.getBBox();if((0,d.E)((0,d.D7)())){const t=n.children[0],e=(0,m.Ltv)(n);a=t.getBoundingClientRect(),e.attr("width",a.width),e.attr("height",a.height)}a.width>l&&(l=a.width),c+=a.height+4,w.push(n)}),c+=8,g){let t=(l-f.width)/2;(0,m.Ltv)(p).attr("transform","translate( "+(-1*l/2+t)+", "+-1*c/2+")"),u=f.height+4}let A=(l-x.width)/2;return(0,m.Ltv)(b).attr("transform","translate( "+(-1*l/2+A)+", "+(-1*c/2+u)+")"),u+=x.height+4,o.attr("class","divider").attr("x1",-l/2-r).attr("x2",l/2+r).attr("y1",-c/2-r+8+u).attr("y2",-c/2-r+8+u),u+=8,v.forEach(t=>{(0,m.Ltv)(t).attr("transform","translate( "+-l/2+", "+(-1*c/2+u+4)+")");const e=t?.getBBox();u+=(e?.height??0)+4}),u+=8,i.attr("class","divider").attr("x1",-l/2-r).attr("x2",l/2+r).attr("y1",-c/2-r+8+u).attr("y2",-c/2-r+8+u),u+=8,w.forEach(t=>{(0,m.Ltv)(t).attr("transform","translate( "+-l/2+", "+(-1*c/2+u)+")");const e=t?.getBBox();u+=(e?.height??0)+4}),a.attr("style",e.style).attr("class","outer title-state").attr("x",-l/2-r).attr("y",-c/2-r).attr("width",l+e.padding).attr("height",c+e.padding),Yt(e,a),e.intersect=function(t){return Mt.rect(e,t)},n},"class_box")},_e={},be=(0,c.K)(async(t,e,r)=>{let s,n;if(e.link){let a;"sandbox"===(0,d.D7)().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),s=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),n=await fe[e.shape](s,e,r)}else n=await fe[e.shape](t,e,r),s=n;return e.tooltip&&n.attr("title",e.tooltip),e.class&&n.attr("class","node default "+e.class),_e[e.id]=s,e.haveCallback&&_e[e.id].attr("class",_e[e.id].attr("class")+" clickable"),s},"insertNode"),me=(0,c.K)(t=>{const e=_e[t.id];l.R.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode");function xe(t,e,r=!1){const s=t;let n="default";(s?.classes?.length||0)>0&&(n=(s?.classes??[]).join(" ")),n+=" flowchart-label";let a,o=0,l="";switch(s.type){case"round":o=5,l="rect";break;case"composite":o=0,l="composite",a=0;break;case"square":case"group":default:l="rect";break;case"diamond":l="question";break;case"hexagon":l="hexagon";break;case"block_arrow":l="block_arrow";break;case"odd":case"rect_left_inv_arrow":l="rect_left_inv_arrow";break;case"lean_right":l="lean_right";break;case"lean_left":l="lean_left";break;case"trapezoid":l="trapezoid";break;case"inv_trapezoid":l="inv_trapezoid";break;case"circle":l="circle";break;case"ellipse":l="ellipse";break;case"stadium":l="stadium";break;case"subroutine":l="subroutine";break;case"cylinder":l="cylinder";break;case"doublecircle":l="doublecircle"}const c=(0,i.sM)(s?.styles??[]),h=s.label,u=s.size??{width:0,height:0,x:0,y:0},g=e.getDiagramId();return{labelStyle:c.labelStyle,shape:l,labelText:h,rx:o,ry:o,class:n,style:c.style,id:s.id,domId:g?`${g}-${s.id}`:s.id,directions:s.directions,width:u.width,height:u.height,x:u.x,y:u.y,positioned:r,intersect:void 0,type:s.type,padding:a??(0,d.zj)()?.block?.padding??0,widthInColumns:s.widthInColumns??1}}async function ve(t,e,r){const s=xe(e,r,!1);if("group"===s.type)return;const n=(0,d.zj)(),a=await be(t,s,{config:n}),o=a.node().getBBox(),i=r.getBlock(s.id);i.size={width:o.width,height:o.height,x:0,y:0,node:a},r.setBlock(i),a.remove()}async function we(t,e,r){const s=xe(e,r,!0);if("space"!==r.getBlock(s.id).type){const r=(0,d.zj)();await be(t,s,{config:r}),e.intersect=s?.intersect,me(s)}}async function Ae(t,e,r,s){for(const n of e)await s(t,n,r),n.children&&await Ae(t,n.children,r,s)}async function ke(t,e,r){await Ae(t,e,r,ve)}async function je(t,e,r){await Ae(t,e,r,we)}async function Se(t,e,r,s,n){const a=new x.T({multigraph:!0,compound:!0});a.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const t of r)t.size&&a.setNode(t.id,{width:t.size.width,height:t.size.height,intersect:t.intersect});for(const r of e)if(r.start&&r.end){const e=s.getBlock(r.start),o=s.getBlock(r.end);if(e?.size&&o?.size){const s=e.size,i=o.size,d=[{x:s.x,y:s.y},{x:s.x+(i.x-s.x)/2,y:s.y+(i.y-s.y)/2},{x:i.x,y:i.y}],l=n?`${n}-${r.id}`:r.id,c=`${"thick"===r.thickness?"edge-thickness-thick":"edge-thickness-normal"} ${"dotted"===r.pattern?"edge-pattern-dotted":"edge-pattern-solid"} flowchart-link LS-a1 LE-b1`;Lt(t,{v:r.start,w:r.end,name:l},{...r,id:l,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:d,classes:c},void 0,"block",a,n),r.label&&(await vt(t,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:d,classes:c}),At({...r,x:d[1].x,y:d[1].y},{originalPath:d}))}}}(0,c.K)(xe,"getNodeFromBlock"),(0,c.K)(ve,"calculateBlockSize"),(0,c.K)(we,"insertBlockPositioned"),(0,c.K)(Ae,"performOperations"),(0,c.K)(ke,"calculateBlockSizes"),(0,c.K)(je,"insertBlocks"),(0,c.K)(Se,"insertEdges");var Le=(0,c.K)(function(t,e){return e.db.getClasses()},"getClasses"),Ee={parser:w,db:st,renderer:{draw:(0,c.K)(async function(t,e,r,s){const{securityLevel:n,block:a}=(0,d.zj)(),o=s.db;let i;o.setDiagramId(e),"sandbox"===n&&(i=(0,m.Ltv)("#i"+e));const c="sandbox"===n?(0,m.Ltv)(i.nodes()[0].contentDocument.body):(0,m.Ltv)("body"),h="sandbox"===n?c.select(`[id="${e}"]`):(0,m.Ltv)(`[id="${e}"]`);dt(h,["point","circle","cross"],s.type,e);const u=o.getBlocks(),g=o.getBlocksFlat(),y=o.getEdges(),p=h.insert("g").attr("class","block");await ke(p,u,o);const f=yt(o);if(await je(p,u,o),await Se(p,y,g,o,e),f){const t=f,e=Math.max(1,Math.round(t.width/t.height*.125)),r=t.height+e+10,s=t.width+10,{useMaxWidth:n}=a;(0,d.a$)(h,r,s,!!n),l.R.debug("Here Bounds",f,t),h.attr("viewBox",`${t.x-5} ${t.y-5} ${t.width+10} ${t.height+10}`)}},"draw"),getClasses:Le},styles:at}},
vendor: 510 bytes, line 1
1"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.mjs":function(t,e,r){r.d(e,{o:function(){return s}});var s=(0,r("./node_modules/mermaid/dist/chunks/mermaid.core/chunk-Y2CYZVJY.mjs").K)(()=>"\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n","getIconStyles")}
1}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.