@hpcc-js/react 2.55.2 → 2.55.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +5 -5
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var n,o,i,r,a,l,_,c,s,d,u,h={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function g(t,e){for(var n in e)t[n]=e[n];return t}function m(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function y(t,e,o){var i,r,a,l={};for(a in e)"key"==a?i=e[a]:"ref"==a?r=e[a]:l[a]=e[a];if(arguments.length>2&&(l.children=arguments.length>3?n.call(arguments,2):o),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return x(t,l,i,r,null)}function x(t,e,n,r,a){var l={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++i:a,__i:-1,__u:0};return null==a&&null!=o.vnode&&o.vnode(l),l}function k(t){return t.children}function F(t,e){this.props=t,this.context=e}function b(t,e){if(null==e)return t.__?b(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?b(t):null}function w(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return w(t)}}function C(t){(!t.__d&&(t.__d=!0)&&r.push(t)&&!S.__r++||a!=o.debounceRendering)&&((a=o.debounceRendering)||l)(S)}function S(){for(var t,e,n,i,a,l,c,s=1;r.length;)r.length>s&&r.sort(_),t=r.shift(),s=r.length,t.__d&&(n=void 0,i=void 0,a=(i=(e=t).__v).__e,l=[],c=[],e.__P&&((n=g({},i)).__v=i.__v+1,o.vnode&&o.vnode(n),D(e.__P,n,i,e.__n,e.__P.namespaceURI,32&i.__u?[a]:null,l,null==a?b(i):a,!!(32&i.__u),c),n.__v=i.__v,n.__.__k[n.__i]=n,U(l,n,c),i.__e=i.__=null,n.__e!=a&&w(n)));S.__r=0}function R(t,e,n,o,i,r,a,l,_,c,s){var d,u,p,g,m,y,F,w=o&&o.__k||f,C=e.length;for(_=function(t,e,n,o,i){var r,a,l,_,c,s=n.length,d=s,u=0;for(t.__k=new Array(i),r=0;r<i;r++)null!=(a=e[r])&&"boolean"!=typeof a&&"function"!=typeof a?(_=r+u,(a=t.__k[r]="string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?x(null,a,null,null,null):v(a)?x(k,{children:a},null,null,null):null==a.constructor&&a.__b>0?x(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=t,a.__b=t.__b+1,l=null,-1!=(c=a.__i=O(a,n,_,d))&&(d--,(l=n[c])&&(l.__u|=2)),null==l||null==l.__v?(-1==c&&(i>s?u--:i<s&&u++),"function"!=typeof a.type&&(a.__u|=4)):c!=_&&(c==_-1?u--:c==_+1?u++:(c>_?u--:u++,a.__u|=4))):t.__k[r]=null;if(d)for(r=0;r<s;r++)null!=(l=n[r])&&!(2&l.__u)&&(l.__e==o&&(o=b(l)),L(l,l));return o}(n,e,w,_,C),d=0;d<C;d++)null!=(p=n.__k[d])&&(u=-1==p.__i?h:w[p.__i]||h,p.__i=d,y=D(t,p,u,i,r,a,l,_,c,s),g=p.__e,p.ref&&u.ref!=p.ref&&(u.ref&&N(u.ref,null,p),s.push(p.ref,p.__c||g,p)),null==m&&null!=g&&(m=g),(F=!!(4&p.__u))||u.__k===p.__k?_=W(p,_,t,F):"function"==typeof p.type&&void 0!==y?_=y:g&&(_=g.nextSibling),p.__u&=-7);return n.__e=m,_}function W(t,e,n,o){var i,r;if("function"==typeof t.type){for(i=t.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=t,e=W(i[r],e,n,o));return e}t.__e!=e&&(o&&(e&&t.type&&!e.parentNode&&(e=b(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function O(t,e,n,o){var i,r,a,l=t.key,_=t.type,c=e[n],s=null!=c&&!(2&c.__u);if(null===c&&null==t.key||s&&l==c.key&&_==c.type)return n;if(o>(s?1:0))for(i=n-1,r=n+1;i>=0||r<e.length;)if(null!=(c=e[a=i>=0?i--:r++])&&!(2&c.__u)&&l==c.key&&_==c.type)return a;return-1}function P(t,e,n){"-"==e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function H(t,e,n,o,i){var r,a;t:if("style"==e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof o&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||P(t.style,e,"");if(n)for(e in n)o&&n[e]==o[e]||P(t.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(c,"$1")),a=e.toLowerCase(),e=a in t||"onFocusOut"==e||"onFocusIn"==e?a.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+r]=n,n?o?n.u=o.u:(n.u=s,t.addEventListener(e,r?u:d,r)):t.removeEventListener(e,r?u:d,r);else{if("http://www.w3.org/2000/svg"==i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function E(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=s++;else if(e.t<n.u)return;return n(o.event?o.event(e):e)}}}function D(t,e,n,i,r,a,l,_,c,s){var d,u,h,f,p,y,x,b,w,C,S,W,O,P,H,E,D,U=e.type;if(null!=e.constructor)return null;128&n.__u&&(c=!!(32&n.__u),a=[_=e.__e=n.__e]),(d=o.__b)&&d(e);t:if("function"==typeof U)try{if(b=e.props,w="prototype"in U&&U.prototype.render,C=(d=U.contextType)&&i[d.__c],S=d?C?C.props.value:d.__:i,n.__c?x=(u=e.__c=n.__c).__=u.__E:(w?e.__c=u=new U(b,S):(e.__c=u=new F(b,S),u.constructor=U,u.render=z),C&&C.sub(u),u.props=b,u.state||(u.state={}),u.context=S,u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),w&&null==u.__s&&(u.__s=u.state),w&&null!=U.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=g({},u.__s)),g(u.__s,U.getDerivedStateFromProps(b,u.__s))),f=u.props,p=u.state,u.__v=e,h)w&&null==U.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),w&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(w&&null==U.getDerivedStateFromProps&&b!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,S),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,S)||e.__v==n.__v){for(e.__v!=n.__v&&(u.props=b,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(t){t&&(t.__=e)}),W=0;W<u._sb.length;W++)u.__h.push(u._sb[W]);u._sb=[],u.__h.length&&l.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,S),w&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(f,p,y)})}if(u.context=S,u.props=b,u.__P=t,u.__e=!1,O=o.__r,P=0,w){for(u.state=u.__s,u.__d=!1,O&&O(e),d=u.render(u.props,u.state,u.context),H=0;H<u._sb.length;H++)u.__h.push(u._sb[H]);u._sb=[]}else do{u.__d=!1,O&&O(e),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++P<25);u.state=u.__s,null!=u.getChildContext&&(i=g(g({},i),u.getChildContext())),w&&!h&&null!=u.getSnapshotBeforeUpdate&&(y=u.getSnapshotBeforeUpdate(f,p)),E=d,null!=d&&d.type===k&&null==d.key&&(E=A(d.props.children)),_=R(t,v(E)?E:[E],e,n,i,r,a,l,_,c,s),u.base=e.__e,e.__u&=-161,u.__h.length&&l.push(u),x&&(u.__E=u.__=null)}catch(t){if(e.__v=null,c||null!=a)if(t.then){for(e.__u|=c?160:128;_&&8==_.nodeType&&_.nextSibling;)_=_.nextSibling;a[a.indexOf(_)]=null,e.__e=_}else{for(D=a.length;D--;)m(a[D]);T(e)}else e.__e=n.__e,e.__k=n.__k,t.then||T(e);o.__e(t,e,n)}else null==a&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):_=e.__e=I(n.__e,e,n,i,r,a,l,c,s);return(d=o.diffed)&&d(e),128&e.__u?void 0:_}function T(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(T)}function U(t,e,n){for(var i=0;i<n.length;i++)N(n[i],n[++i],n[++i]);o.__c&&o.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){o.__e(t,e.__v)}})}function A(t){return"object"!=typeof t||null==t||t.__b&&t.__b>0?t:v(t)?t.map(A):g({},t)}function I(t,e,i,r,a,l,_,c,s){var d,u,f,p,g,y,x,k=i.props,F=e.props,w=e.type;if("svg"==w?a="http://www.w3.org/2000/svg":"math"==w?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=l)for(d=0;d<l.length;d++)if((g=l[d])&&"setAttribute"in g==!!w&&(w?g.localName==w:3==g.nodeType)){t=g,l[d]=null;break}if(null==t){if(null==w)return document.createTextNode(F);t=document.createElementNS(a,w,F.is&&F),c&&(o.__m&&o.__m(e,l),c=!1),l=null}if(null==w)k===F||c&&t.data==F||(t.data=F);else{if(l=l&&n.call(t.childNodes),k=i.props||h,!c&&null!=l)for(k={},d=0;d<t.attributes.length;d++)k[(g=t.attributes[d]).name]=g.value;for(d in k)if(g=k[d],"children"==d);else if("dangerouslySetInnerHTML"==d)f=g;else if(!(d in F)){if("value"==d&&"defaultValue"in F||"checked"==d&&"defaultChecked"in F)continue;H(t,d,null,g,a)}for(d in F)g=F[d],"children"==d?p=g:"dangerouslySetInnerHTML"==d?u=g:"value"==d?y=g:"checked"==d?x=g:c&&"function"!=typeof g||k[d]===g||H(t,d,g,k[d],a);if(u)c||f&&(u.__html==f.__html||u.__html==t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(f&&(t.innerHTML=""),R("template"==e.type?t.content:t,v(p)?p:[p],e,i,r,"foreignObject"==w?"http://www.w3.org/1999/xhtml":a,l,_,l?l[0]:i.__k&&b(i,0),c,s),null!=l)for(d=l.length;d--;)m(l[d]);c||(d="value","progress"==w&&null==y?t.removeAttribute("value"):null!=y&&(y!==t[d]||"progress"==w&&!y||"option"==w&&y!=k[d])&&H(t,d,y,k[d],a),d="checked",null!=x&&x!=t[d]&&H(t,d,x,k[d],a))}return t}function N(t,e,n){try{if("function"==typeof t){var i="function"==typeof t.__u;i&&t.__u(),i&&null==e||(t.__u=t(e))}else t.current=e}catch(t){o.__e(t,n)}}function L(t,e,n){var i,r;if(o.unmount&&o.unmount(t),(i=t.ref)&&(i.current&&i.current!=t.__e||N(i,null,e)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){o.__e(t,e)}i.base=i.__P=null}if(i=t.__k)for(r=0;r<i.length;r++)i[r]&&L(i[r],e,n||"function"!=typeof t.type);n||m(t.__e),t.__c=t.__=t.__e=void 0}function z(t,e,n){return this.constructor(t,n)}function j(t,e,i){var r,a,l,_;e==document&&(e=document.documentElement),o.__&&o.__(t,e),a=(r="function"==typeof i)?null:i&&i.__k||e.__k,l=[],_=[],D(e,t=(!r&&i||e).__k=y(k,null,[t]),a||h,h,e.namespaceURI,!r&&i?[i]:a?null:e.firstChild?n.call(e.childNodes):null,l,!r&&i?i:a?a.__e:e.firstChild,r,_),U(l,t,_)}n=f.slice,o={__e:function(t,e,n,o){for(var i,r,a;e=e.__;)if((i=e.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(t)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t,o||{}),a=i.__d),a)return i.__E=i}catch(e){t=e}throw t}},i=0,F.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state),"function"==typeof t&&(t=t(g({},n),this.props)),t&&g(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),C(this))},F.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),C(this))},F.prototype.render=k,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(t,e){return t.__v.__b-e.__v.__b},S.__r=0,c=/(PointerCapture)$|Capture$/i,s=0,d=E(!1),u=E(!0);var V,M,B,q,G=0,X=[],Y=o,$=Y.__b,J=Y.__r,K=Y.diffed,Q=Y.__c,Z=Y.unmount,tt=Y.__;function et(t,e){Y.__h&&Y.__h(M,t,G||e),G=0;var n=M.__H||(M.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function nt(t){return G=1,ot(ht,t)}function ot(t,e,n){var o=et(V++,2);if(o.t=t,!o.__c&&(o.__=[n?n(e):ht(void 0,e),function(t){var e=o.__N?o.__N[0]:o.__[0],n=o.t(e,t);e!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=M,!M.__f)){var i=function(t,e,n){if(!o.__c.__H)return!0;var i=o.__c.__H.__.filter(function(t){return!!t.__c});if(i.every(function(t){return!t.__N}))return!r||r.call(this,t,e,n);var a=o.__c.props!==t;return i.forEach(function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}}),r&&r.call(this,t,e,n)||a};M.__f=!0;var r=M.shouldComponentUpdate,a=M.componentWillUpdate;M.componentWillUpdate=function(t,e,n){if(this.__e){var o=r;r=void 0,i(t,e,n),r=o}a&&a.call(this,t,e,n)},M.shouldComponentUpdate=i}return o.__N||o.__}function it(t,e){var n=et(V++,3);!Y.__s&&ut(n.__H,e)&&(n.__=t,n.u=e,M.__H.__h.push(n))}function rt(t,e){var n=et(V++,7);return ut(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function at(t,e){return G=8,rt(function(){return t},e)}function lt(){for(var t;t=X.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(st),t.__H.__h.forEach(dt),t.__H.__h=[]}catch(e){t.__H.__h=[],Y.__e(e,t.__v)}}Y.__b=function(t){M=null,$&&$(t)},Y.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),tt&&tt(t,e)},Y.__r=function(t){J&&J(t),V=0;var e=(M=t.__c).__H;e&&(B===M?(e.__h=[],M.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(e.__h.forEach(st),e.__h.forEach(dt),e.__h=[],V=0)),B=M},Y.diffed=function(t){K&&K(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==X.push(e)&&q===Y.requestAnimationFrame||((q=Y.requestAnimationFrame)||ct)(lt)),e.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),B=M=null},Y.__c=function(t,e){e.some(function(t){try{t.__h.forEach(st),t.__h=t.__h.filter(function(t){return!t.__||dt(t)})}catch(n){e.some(function(t){t.__h&&(t.__h=[])}),e=[],Y.__e(n,t.__v)}}),Q&&Q(t,e)},Y.unmount=function(t){Z&&Z(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(t){try{st(t)}catch(t){e=t}}),n.__H=void 0,e&&Y.__e(e,n.__v))};var _t="function"==typeof requestAnimationFrame;function ct(t){var e,n=function(){clearTimeout(o),_t&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,35);_t&&(e=requestAnimationFrame(n))}function st(t){var e=M,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),M=e}function dt(t){var e=M;t.__c=t.__(),M=e}function ut(t,e){return!t||t.length!==e.length||e.some(function(e,n){return e!==t[n]})}function ht(t,e){return"function"==typeof e?e(t):e}var ft=Object.freeze({__proto__:null,BUILD_VERSION:"2.108.6",Component:F,Fragment:k,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.19.0",createElement:y,h:y,render:j,useCallback:at,useEffect:it,useMemo:rt,useReducer:ot,useState:nt}),pt=function(t,e){return pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},pt(t,e)};function vt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}pt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var gt=function(){return gt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},gt.apply(this,arguments)};function mt(t,e,n,o){var i,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function yt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}"function"==typeof SuppressedError&&SuppressedError;var xt=function(t){var e=t.href,n=t.x,o=t.y,i=void 0===o?0:o,r=t.height,a=void 0===r?12:r;return y("image",{href:e,x:n-a/2,y:i-a/2,width:a,height:a})},kt=function(t){var n=t.x,o=t.y,i=void 0===o?0:o,r=t.height,a=void 0===r?12:r,l=t.fill,_=t.stroke,c=t.fontFamily,s=void 0===c?"FontAwesome":c,d=t.char,u=void 0===d?"":d,h=rt(function(){return"FontAwesome"===s?e.Utility.faChar(u):u},[u,s]);return y("text",{x:n,y:i,fill:l,stroke:_,"font-family":s,"font-size":"".concat(a,"px"),"dominant-baseline":"middle",style:"text-anchor: middle;alignment-baseline:middle;"},h)},Ft=function(t){var e=t.radius,n=void 0===e?32:e,o=t.fill,i=void 0===o?"navy":o,r=t.stroke,a=void 0===r?i:r,l=t.strokeWidth;return y("circle",{r:n,fill:i,stroke:a,"stroke-width":void 0===l?1:l,"shape-rendering":t.shapeRendering})},bt=function(t){var e=t.radius,n=void 0===e?30:e,o=t.cornerRadius,i=void 0===o?0:o,r=t.fill,a=void 0===r?"white":r,l=t.stroke,_=t.strokeWidth;return y("rect",{x:-n,y:-n,rx:i,ry:i,width:2*n,height:2*n,fill:a,stroke:l||a,"stroke-width":void 0===_?1:_,"shape-rendering":t.shapeRendering})},wt=function(t){var e=t.width,n=void 0===e?30:e,o=t.height,i=void 0===o?30:o,r=t.cornerRadius,a=void 0===r?0:r,l=t.fill,_=void 0===l?"white":l,c=t.stroke,s=void 0===c?"black":c,d=t.strokeWidth;return y("rect",{x:-n/2,y:-i/2,rx:a,ry:a,width:n,height:i,fill:_,stroke:s||_,"stroke-width":void 0===d?1:d,"shape-rendering":t.shapeRendering})},Ct=function(t){var e=t.shape,n=void 0===e?"circle":e,o=t.height,i=void 0===o?128:o,r=t.width,a=t.fill,l=t.stroke,_=t.strokeWidth,c=void 0===_?1:_,s=t.shapeRendering,d=t.cornerRadius;switch(n){case"square":return y(bt,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});case"rectangle":return y(wt,{width:null!=r?r:i,height:i,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});default:return y(Ft,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s})}},St=function(t){var n=t.shape,o=void 0===n?"circle":n,i=t.width,r=t.height,a=void 0===r?32:r,l=t.fill,_=t.stroke,c=t.strokeWidth,s=void 0===c?0:c,d=t.imageUrl,u=void 0===d?"":d,h=t.imageFontFamily,f=void 0===h?"FontAwesome":h,p=t.imageChar,v=void 0===p?"":p,g=t.imageCharFill,m=void 0===g?e.Palette.textColor(l):g,x=t.padding,F=void 0===x?a/5:x,b=t.xOffset,w=void 0===b?0:b,C=t.yOffset,S=void 0===C?0:C,R=t.cornerRadius,W=t.shapeRendering;return y(k,null,y(Ct,{shape:o,width:i,height:a,fill:l,stroke:_,strokeWidth:s,shapeRendering:W,cornerRadius:R}),u?y(xt,{href:u,x:w,y:S,height:a-F}):y(kt,{x:w,y:S,height:a-F,fontFamily:f,char:v,fill:m,"font-weight":400}))},Rt=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.anchor,r=void 0===i?"middle":i,a=t.baseline,l=void 0===a?"middle":a,_=t.fontFamily,c=void 0===_?"Verdana":_,s=t.fill,d=void 0===s?"black":s;return y("text",{"font-family":c,"font-size":"".concat(o,"px"),"text-anchor":r,"dominant-baseline":l,fill:d},e)},Wt=function(t){var n=t.text,o=t.height,i=void 0===o?12:o,r=t.fontFamily,a=void 0===r?"Verdana":r,l=t.fill,_=void 0===l?"black":l,c=t.onSizeUpdate,s=nt(0),d=s[0],u=s[1],h=nt(0),f=h[0],p=h[1];it(function(){c&&c({width:d,height:f})},[d,f,c]);var v=rt(function(){return n.split("\n")},[n]);u(rt(function(){return e.Utility.textSize(v,a,i)},[a,i,v]).width),p(v.length*(i+2)-2);var g=-f/2+i/2,m=rt(function(){return v.map(function(t,e){return y("g",{key:e,transform:"translate(0 ".concat(g+e*(i+2),")")},y(Rt,{text:t,height:i,fontFamily:a,fill:_}))})},[_,a,i,v,g]);return y(k,null,m)},Ot=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.fontFamily,r=void 0===i?"Verdana":i,a=t.padding,l=void 0===a?4:a,_=t.fill,c=void 0===_?"whitesmoke":_,s=t.stroke,d=void 0===s?"lightgray":s,u=t.textFill,h=void 0===u?"black":u,f=t.strokeWidth,p=void 0===f?1:f,v=t.cornerRadius,g=void 0===v?0:v,m=t.onSizeUpdate,x=nt(0),F=x[0],b=x[1],w=nt(0),C=w[0],S=w[1];it(function(){m&&m({width:F,height:C})},[F,C,m]);var R=at(function(t){b(t.width),S(t.height)},[]),W=F+2*l+p,O=C+2*l+p,P=Math.floor(o/10);return y(k,null,y(wt,{width:W,height:O,fill:c,stroke:d,strokeWidth:p,cornerRadius:g}),y("g",{transform:"translate(0 ".concat(P,")")},y(Wt,{text:e,fontFamily:r,height:o,fill:h,onSizeUpdate:R})))};function Pt(t,e,n,o){j(y(t,e),n,o)}var Ht=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return vt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),yt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Et=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return vt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),yt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Dt=function(t){var e=t.x,n=t.y,o=t.annotationIDs,i=void 0===o?[]:o,r=t.stepSize,a=void 0===r?-16:r,l=i.map(function(t,o){return y("g",{key:t,transform:"translate(".concat(e+o*a," ").concat(n,")")},y("use",{href:"#"+t}))});return y(k,null,l)},Tt=function(t){var n=t.text,o=void 0===n?"":n,i=t.textHeight,r=void 0===i?10:i,a=t.textPadding,l=void 0===a?4:a,_=t.textFill,c=void 0===_?"#287EC4":_,s=t.textboxFill,d=void 0===s?"white":s,u=t.textboxStroke,h=void 0===u?"#CCCCCC":u,f=t.textboxStrokeWidth,p=void 0===f?1:f,v=t.textFontFamily,g=void 0===v?"Verdana":v,m=t.annotationGutter,x=void 0===m?2:m,k=t.annotations,F=void 0===k?[]:k,b=t.cornerRadius,w=void 0===b?3:b,C=t.icon,S=void 0===C?{}:C,R=t.subText,W=void 0===R?{text:""}:R,O=t.showLabel,P=void 0===O||O,H=t.noLabelRadius,E=void 0===H?5:H,D=t.expansionIcon,T=t.scale,U=void 0===T?1:T;S=gt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},S),W=gt({text:"",fill:"white",textFill:"#555555"},W),D=D?gt({height:16,shape:"circle",padding:6,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"black",fill:"whitesmoke",stroke:"whitesmoke",strokeWidth:0},D):void 0;var A=0,I=rt(function(){return e.Utility.textSize(o,g,r,!1).width},[o,g,r]),N=0;""!==o&&(N=I+2*l+2*p);var L=(A+=N+x)-N/2,z=r+2*l+2*p,j=[];F.forEach(function(t,e){var n=t.imageChar,o=(A+=z+x)-z/2;j.push(y("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(0,")")},y(St,gt({},t,{shape:"square",height:z,imageChar:n,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))}),F.length>0&&(A+=x*(F.length-1));var V=y("g",{"data-click":"text",transform:"translate(".concat(L," ").concat(0,")")},P&&""!==o?y(Ot,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:w}):y("circle",{r:E,stroke:h,fill:c})),M=S.height||20,B=S.strokeWidth||0,q=0,G=z+2*x;""!==o||j.length>0?q=-M/2-B-z/2-2*x:""!==W.text&&(G=M/2+B+2*x);var X=""===W.text?null:y("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(G,")")},y(Ot,gt({fill:W.fill||"#FFFFFF",textFill:W.textFill||c},W,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:w})));return y("g",{transform:"scale(".concat(U,")")},y("g",{"data-click":"icon",transform:"translate(".concat(0," ").concat(q,")")},y(St,gt({},S)),D&&y("g",{"data-click":"expanded-icon","data-click-data":JSON.stringify(D),transform:"translate(".concat((S.height+B)/2-D.height/2," ").concat(-(S.height+B)/2+D.height/2,")")},y(St,gt({},D)))),y("g",{transform:"translate(".concat(-A/2," ").concat(0,")")},V,j),X)},Ut=function(t){t.categoryID;var n=t.text,o=void 0===n?"":n,i=t.textHeight,r=void 0===i?10:i,a=t.textPadding,l=void 0===a?4:a,_=t.textFill,c=void 0===_?"#287EC4":_,s=t.textboxFill,d=void 0===s?"white":s,u=t.textboxStroke,h=void 0===u?"#CCCCCC":u,f=t.textboxStrokeWidth,p=void 0===f?1:f,v=t.textFontFamily,g=void 0===v?"Verdana":v,m=t.annotationGutter,x=void 0===m?2:m,k=t.annotations,F=void 0===k?[]:k,b=t.iconAnnotations,w=void 0===b?[]:b,C=t.cornerRadius,S=void 0===C?3:C,R=t.icon,W=void 0===R?{}:R,O=t.subText,P=void 0===O?{}:O,H=t.showLabel,E=void 0===H||H,D=t.noLabelRadius,T=void 0===D?5:D,U=t.iconBorderWidth,A=void 0===U?1:U,I=t.iconBorderColor,N=void 0===I?"#333":I,L=t.iconBackgroundColor,z=void 0===L?"#fff":L,j=t.iconFontColor,V=void 0===j?"#000":j,M=t.iconFontSize,B=void 0===M?20:M,q=t.iconFontFamily,G=void 0===q?"FontAwesome":q,X=t.shapeOffsetX,Y=void 0===X?0:X,$=t.shapeOffsetY,J=void 0===$?0:$,K=t.iconOffsetX,Q=void 0===K?0:K,Z=t.iconOffsetY,tt=void 0===Z?0:Z,et=t.iconPadding,nt=void 0===et?4:et,ot=t.iconText,it=void 0===ot?"?":ot,at=t.shapeRendering,lt=void 0===at?"auto":at;W=gt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},W),P=gt({text:"",fill:"white",textFill:"#555555"},P);var _t=rt(function(){return e.Utility.textSize(o,g,r,!1).width},[o,g,r]),ct=0;""!==o&&(ct=_t+2*l+2*p);var st=ct+x,dt=st-ct/2,ut=r+2*x+2*p,ht=F.map(function(t,n){return e.Utility.textSize(t.imageChar,t.imageFontFamily,t.height,!1).width}),ft=[],pt=st;F.forEach(function(t,e){var n,o=t.imageChar,i=null!==(n=t.height)&&void 0!==n?n:ut,r=(pt+=ht[e]+x)-ht[e]/2;ft.push(y("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(r," ").concat(0,")")},y(St,gt({},t,{shape:"rectangle",width:ht[e],height:i,imageChar:o,imageFontFamily:t.imageFontFamily,cornerRadius:S,strokeWidth:0}))))}),F.length>0&&(st+=x*(F.length-1));var vt=[];w.forEach(function(t,e){var n,o=t.shapeOffsetX,i=t.shapeOffsetY;vt.push(y("g",{key:e,class:"vertex3-iconAnno","data-click":"icon-annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(i,")")},y(St,gt({},t,{shape:null!==(n=t.shape)&&void 0!==n?n:"square",imageChar:t.imageChar,imageFontFamily:t.imageFontFamily,cornerRadius:S,stroke:t.stroke,strokeWidth:t.strokeWidth}))))});var mt=y("g",{"data-click":"text",transform:"translate(".concat(dt," ").concat(0,")")},E&&""!==o?y(Ot,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:S}):y("circle",{r:T,stroke:h,fill:c})),yt=ut+2*x,xt=""===P.text?null:y("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(yt,")")},y(Ot,gt({fill:P.fill||"#FFFFFF",textFill:P.textFill||c},P,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:S})));return y("g",null,y("g",{"data-click":"icon",transform:"translate(".concat(Y," ").concat(J,")")},y(St,gt({},W,{strokeWidth:A,shape:"circle",height:B,fill:z,stroke:N,imageFontFamily:G,imageChar:it,imageCharFill:V,padding:nt,xOffset:Q,yOffset:tt,cornerRadius:S,shapeRendering:lt})),vt),y("g",{transform:"translate(".concat(-st/2," ").concat(0,")")},mt,ft),xt)};t.Annotations=Dt,t.BUILD_VERSION="2.108.6",t.CentroidVertex3=function(t){var e=t.id,n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?10:_,s=t.textFill,d=void 0===s?"#287EC4":s,u=t.textboxFill,h=void 0===u?"white":u,f=t.textboxStroke,p=void 0===f?"#CCCCCC":f,v=t.textboxStrokeWidth,g=void 0===v?1:v,m=t.textFontFamily,x=void 0===m?"Verdana":m,k=t.annotationGutter,F=void 0===k?2:k,b=t.annotations,w=void 0===b?[]:b,C=t.cornerRadius,S=t.icon,R=void 0===S?{}:S,W=t.subText,O=void 0===W?{}:W,P=t.expansionIcon,H=t.scale,E=void 0===H?1:H;return R=gt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},R),O=gt({text:"",fill:"transparent",textFill:"#555555"},O),y(Tt,gt({},{id:e,categoryID:o,text:r,textHeight:l,textPadding:c,textFill:d,textboxFill:h,textboxStroke:p,textboxStrokeWidth:g,textFontFamily:x,annotationGutter:F,annotations:w,cornerRadius:C,icon:R,subText:O,expansionIcon:P,scale:E},{icon:R,subText:O}))},t.CentroidVertex4=function(t){var e=t.id,n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?10:_,s=t.textFill,d=void 0===s?"#287EC4":s,u=t.textboxFill,h=void 0===u?"white":u,f=t.textboxStroke,p=void 0===f?"#CCCCCC":f,v=t.textboxStrokeWidth,g=void 0===v?1:v,m=t.textFontFamily,x=void 0===m?"Verdana":m,k=t.annotationGutter,F=void 0===k?2:k,b=t.annotations,w=void 0===b?[]:b,C=t.iconAnnotations,S=void 0===C?[]:C,R=t.cornerRadius,W=t.icon,O=void 0===W?{}:W,P=t.subText,H=void 0===P?{}:P,E=t.showLabel,D=void 0===E||E,T=t.noLabelRadius,U=void 0===T?5:T,A=t.iconBorderWidth,I=void 0===A?1:A,N=t.iconBorderColor,L=void 0===N?"#333":N,z=t.iconBackgroundColor,j=void 0===z?"#fff":z,V=t.iconFontColor,M=void 0===V?"#000":V,B=t.iconFontSize,q=void 0===B?20:B,G=t.iconFontFamily,X=void 0===G?"FontAwesome":G,Y=t.shapeOffsetX,$=void 0===Y?0:Y,J=t.shapeOffsetY,K=void 0===J?0:J,Q=t.iconOffsetX,Z=void 0===Q?0:Q,tt=t.iconOffsetY,et=void 0===tt?0:tt,nt=t.iconPadding,ot=void 0===nt?4:nt,it=t.iconText,rt=void 0===it?"?":it,at=t.shapeRendering,lt=void 0===at?"auto":at;return O=gt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},O),H=gt({text:"",fill:"transparent",textFill:"#555555"},H),y(Ut,gt({},{id:e,categoryID:o,text:r,textHeight:l,textPadding:c,textFill:d,textboxFill:h,textboxStroke:p,textboxStrokeWidth:g,textFontFamily:x,annotationGutter:F,annotations:w,iconAnnotations:S,cornerRadius:R,icon:O,subText:H,showLabel:D,noLabelRadius:U,iconBorderWidth:I,iconBorderColor:L,iconBackgroundColor:j,iconFontColor:M,iconFontSize:q,iconFontFamily:X,shapeOffsetX:$,shapeOffsetY:K,iconOffsetX:Z,iconOffsetY:et,iconPadding:ot,iconText:rt,shapeRendering:lt},{icon:O,subText:H}))},t.Circle=Ft,t.Edge=function(t){var e=t.label,n=t.labelPos,o=t.labelFill,i=void 0===o?"black":o,r=t.labelHeight,a=void 0===r?12:r;return y(k,null,y("path",{d:t.path,stroke:t.stroke,style:{strokeWidth:t.strokeWidth,strokeDasharray:t.strokeDasharray}}),e&&n&&2===n.length?y("g",{transform:"translate(".concat(n[0]," ").concat(n[1],")")},y(Wt,{text:e,fill:i,height:a})):void 0)},t.HTMLAdapter=Ht,t.Icon=St,t.IconLabelledRect=function(t){var e=t.icon,n=t.iconFontFamily,o=t.text,i=t.height,r=void 0===i?12:i,a=t.width,l=void 0===a?12:a,_=t.fontFamily,c=void 0===_?"Verdana":_,s=t.fontSize,d=void 0===s?10:s,u=t.padding,h=void 0===u?3:u,f=t.fill,p=void 0===f?"whitesmoke":f,v=t.stroke,g=void 0===v?"lightgray":v,m=t.textFill,x=void 0===m?"black":m,F=t.strokeWidth,b=void 0===F?1:F,w=t.cornerRadius,C=void 0===w?0:w;return t.onSizeUpdate,y(k,null,y(wt,{width:l,height:r,fill:p,stroke:g,strokeWidth:b,cornerRadius:C}),y("g",{transform:"translate(".concat(-l/2+h," ").concat(-r/2+h,")")},y(St,{shape:"square",imageFontFamily:n,imageChar:e,height:r,fill:p,imageCharFill:x})),y("g",{transform:"translate(".concat(-l/2+2*h+r," ").concat(-r/2+h,")")},y(Rt,{text:o,fontFamily:c,height:d,fill:x,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map(function(t){return y("g",{key:t.id,id:t.id},y(St,gt({},t)))});return y(k,null,n)},t.ImageChar=kt,t.LabelledRect=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.width,r=void 0===i?12:i,a=t.fontFamily,l=void 0===a?"Verdana":a,_=t.fontSize,c=void 0===_?10:_,s=t.padding,d=void 0===s?3:s,u=t.fill,h=void 0===u?"whitesmoke":u,f=t.stroke,p=void 0===f?"lightgray":f,v=t.textFill,g=void 0===v?"black":v,m=t.strokeWidth,x=void 0===m?1:m,F=t.cornerRadius,b=void 0===F?0:F;return t.onSizeUpdate,y(k,null,y(wt,{width:r,height:o,fill:h,stroke:p,strokeWidth:x,cornerRadius:b}),y("g",{transform:"translate(".concat(-r/2+d," ").concat(-o/2+d,")")},y(Rt,{text:e,fontFamily:l,height:c,fill:g,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.55.2",t.React=ft,t.Rectangle=wt,t.SVGAdapter=Et,t.Shape=Ct,t.Square=bt,t.Subgraph=function(t){var n=t.text,o=t.width,i=void 0===o?100:o,r=t.height,a=void 0===r?100:r,l=t.fill,_=void 0===l?"transparent":l,c=t.stroke,s=void 0===c?"black":c,d=t.fontHeight,u=void 0===d?12:d,h=t.fontFamily,f=e.Utility.textSize(n,h,u,!1);return y(k,null,y(wt,{width:i,height:a,fill:_,stroke:s}),y("g",{transform:"translate(".concat((-i+f.width)/2+4," ").concat((-a+f.height)/2+4,")")},y(Wt,{height:u,text:n,fontFamily:h})))},t.Text=Wt,t.TextBox=Ot,t.TextLine=Rt,t.Vertex=function(t){var e=t.categoryID,n=void 0===e?"":e,o=t.text,i=void 0===o?"":o,r=t.textHeight,a=void 0===r?12:r,l=t.textPadding,_=void 0===l?4:l,c=t.icon,s=void 0===c?{}:c,d=t.annotationsHeight,u=void 0===d?12:d,h=t.annotationIDs,f=void 0===h?[]:h,p=t.textFill,v=t.textboxFill,g=t.textboxStroke,m=t.textFontFamily,x=t.onSizeUpdate,k=t.showLabel,F=void 0===k||k,b=t.scale,w=void 0===b?1:b,C=nt(0),S=C[0],R=C[1],W=nt(0),O=W[0],P=W[1];it(function(){x&&x({width:0,height:0})},[S,O,x]);var H=S;H+=4;var E=-(2*(s=gt({imageChar:"fa-question",height:32,fill:"transparent"},s)).height/6+a+8)/2,D=s.height/3+O/2+_,T=s.height/3+O+_+u/3;F||(E+=(a+8)/2,T-=O+_);var U=at(function(t){R(t.width),P(t.height)},[]),A=F?y("g",{transform:"translate(0 ".concat(D,")")},y(Ot,{text:i,height:a,padding:_,onSizeUpdate:U,textFill:p,fill:v,stroke:g,fontFamily:m})):void 0;return n?y("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},y("use",{href:"#"+n}),A,y(Dt,{x:H/2,y:T,annotationIDs:f})):y("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},y(St,gt({},s)),A)},t.Vertex2=function(t){var n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?4:_,s=t.icon,d=void 0===s?{}:s,u=t.textFill,h=void 0===u?"black":u,f=t.textboxFill,p=void 0===f?"white":f,v=t.textboxStroke,g=void 0===v?"black":v,m=t.textFontFamily,x=t.annotationsHeight,F=void 0===x?12:x,b=t.annotationIDs,w=void 0===b?[]:b;d=gt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},d);var C=l+2*c,S=rt(function(){return e.Utility.textSize(r,m,l,!1)},[r,m,l]).width,R=F,W=C/2,O=-(2*d.height/6+l+8)/2,P=-d.height/2,H=Math.ceil(S/2+c),E=W-d.height/2,D=R/2,T=W;return o?y("g",{transform:"translate(".concat(0," ").concat(O,")")},y("g",{transform:"translate(".concat(P," ").concat(0,")")},y("use",{href:"#"+o})),y("g",{transform:"translate(".concat(H," ").concat(E,")")},y(Ot,{text:r,height:l,padding:c,strokeWidth:1,stroke:g,fill:p,textFill:h,fontFamily:m})),y(Dt,{x:D,y:T,annotationIDs:w,stepSize:R})):y(k,null,y("g",{transform:"translate(".concat(P," ").concat(0,")scale(1.0002)")},y(St,gt({},d,{shape:"square"}))),y("g",{transform:"translate(".concat(H," ").concat(E,")scale(1.0002)")},y(Ot,{text:r,height:l,padding:c,stroke:g,fill:p})))},t.Vertex3=Tt,t.Vertex4=Ut,t.render=Pt,t.svgRender=function(t,e,n,o){j(y("svg",null,y(t,e)),n,o)}});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var n,o,i,r,a,l,_,c,s,d,u,h={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function g(t,e){for(var n in e)t[n]=e[n];return t}function m(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function y(t,e,o){var i,r,a,l={};for(a in e)"key"==a?i=e[a]:"ref"==a?r=e[a]:l[a]=e[a];if(arguments.length>2&&(l.children=arguments.length>3?n.call(arguments,2):o),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return x(t,l,i,r,null)}function x(t,e,n,r,a){var l={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++i:a,__i:-1,__u:0};return null==a&&null!=o.vnode&&o.vnode(l),l}function k(t){return t.children}function F(t,e){this.props=t,this.context=e}function b(t,e){if(null==e)return t.__?b(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?b(t):null}function w(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return w(t)}}function C(t){(!t.__d&&(t.__d=!0)&&r.push(t)&&!S.__r++||a!=o.debounceRendering)&&((a=o.debounceRendering)||l)(S)}function S(){for(var t,e,n,i,a,l,c,s=1;r.length;)r.length>s&&r.sort(_),t=r.shift(),s=r.length,t.__d&&(n=void 0,i=void 0,a=(i=(e=t).__v).__e,l=[],c=[],e.__P&&((n=g({},i)).__v=i.__v+1,o.vnode&&o.vnode(n),D(e.__P,n,i,e.__n,e.__P.namespaceURI,32&i.__u?[a]:null,l,null==a?b(i):a,!!(32&i.__u),c),n.__v=i.__v,n.__.__k[n.__i]=n,U(l,n,c),i.__e=i.__=null,n.__e!=a&&w(n)));S.__r=0}function R(t,e,n,o,i,r,a,l,_,c,s){var d,u,p,g,m,y,F,w=o&&o.__k||f,C=e.length;for(_=function(t,e,n,o,i){var r,a,l,_,c,s=n.length,d=s,u=0;for(t.__k=new Array(i),r=0;r<i;r++)null!=(a=e[r])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=t.__k[r]=x(null,a,null,null,null):v(a)?a=t.__k[r]=x(k,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=t.__k[r]=x(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):t.__k[r]=a,_=r+u,a.__=t,a.__b=t.__b+1,l=null,-1!=(c=a.__i=O(a,n,_,d))&&(d--,(l=n[c])&&(l.__u|=2)),null==l||null==l.__v?(-1==c&&(i>s?u--:i<s&&u++),"function"!=typeof a.type&&(a.__u|=4)):c!=_&&(c==_-1?u--:c==_+1?u++:(c>_?u--:u++,a.__u|=4))):t.__k[r]=null;if(d)for(r=0;r<s;r++)null!=(l=n[r])&&!(2&l.__u)&&(l.__e==o&&(o=b(l)),L(l,l));return o}(n,e,w,_,C),d=0;d<C;d++)null!=(p=n.__k[d])&&(u=-1==p.__i?h:w[p.__i]||h,p.__i=d,y=D(t,p,u,i,r,a,l,_,c,s),g=p.__e,p.ref&&u.ref!=p.ref&&(u.ref&&N(u.ref,null,p),s.push(p.ref,p.__c||g,p)),null==m&&null!=g&&(m=g),(F=!!(4&p.__u))||u.__k===p.__k?_=W(p,_,t,F):"function"==typeof p.type&&void 0!==y?_=y:g&&(_=g.nextSibling),p.__u&=-7);return n.__e=m,_}function W(t,e,n,o){var i,r;if("function"==typeof t.type){for(i=t.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=t,e=W(i[r],e,n,o));return e}t.__e!=e&&(o&&(e&&t.type&&!e.parentNode&&(e=b(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function O(t,e,n,o){var i,r,a,l=t.key,_=t.type,c=e[n],s=null!=c&&!(2&c.__u);if(null===c&&null==l||s&&l==c.key&&_==c.type)return n;if(o>(s?1:0))for(i=n-1,r=n+1;i>=0||r<e.length;)if(null!=(c=e[a=i>=0?i--:r++])&&!(2&c.__u)&&l==c.key&&_==c.type)return a;return-1}function P(t,e,n){"-"==e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function H(t,e,n,o,i){var r,a;t:if("style"==e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof o&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||P(t.style,e,"");if(n)for(e in n)o&&n[e]==o[e]||P(t.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(c,"$1")),a=e.toLowerCase(),e=a in t||"onFocusOut"==e||"onFocusIn"==e?a.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+r]=n,n?o?n.u=o.u:(n.u=s,t.addEventListener(e,r?u:d,r)):t.removeEventListener(e,r?u:d,r);else{if("http://www.w3.org/2000/svg"==i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function E(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=s++;else if(e.t<n.u)return;return n(o.event?o.event(e):e)}}}function D(t,e,n,i,r,a,l,_,c,s){var d,u,h,f,p,y,x,b,w,C,S,W,O,P,H,E,D,U=e.type;if(void 0!==e.constructor)return null;128&n.__u&&(c=!!(32&n.__u),a=[_=e.__e=n.__e]),(d=o.__b)&&d(e);t:if("function"==typeof U)try{if(b=e.props,w="prototype"in U&&U.prototype.render,C=(d=U.contextType)&&i[d.__c],S=d?C?C.props.value:d.__:i,n.__c?x=(u=e.__c=n.__c).__=u.__E:(w?e.__c=u=new U(b,S):(e.__c=u=new F(b,S),u.constructor=U,u.render=z),C&&C.sub(u),u.state||(u.state={}),u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),w&&null==u.__s&&(u.__s=u.state),w&&null!=U.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=g({},u.__s)),g(u.__s,U.getDerivedStateFromProps(b,u.__s))),f=u.props,p=u.state,u.__v=e,h)w&&null==U.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),w&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(w&&null==U.getDerivedStateFromProps&&b!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,S),e.__v==n.__v||!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,S)){for(e.__v!=n.__v&&(u.props=b,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(t){t&&(t.__=e)}),W=0;W<u._sb.length;W++)u.__h.push(u._sb[W]);u._sb=[],u.__h.length&&l.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,S),w&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(f,p,y)})}if(u.context=S,u.props=b,u.__P=t,u.__e=!1,O=o.__r,P=0,w){for(u.state=u.__s,u.__d=!1,O&&O(e),d=u.render(u.props,u.state,u.context),H=0;H<u._sb.length;H++)u.__h.push(u._sb[H]);u._sb=[]}else do{u.__d=!1,O&&O(e),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++P<25);u.state=u.__s,null!=u.getChildContext&&(i=g(g({},i),u.getChildContext())),w&&!h&&null!=u.getSnapshotBeforeUpdate&&(y=u.getSnapshotBeforeUpdate(f,p)),E=d,null!=d&&d.type===k&&null==d.key&&(E=A(d.props.children)),_=R(t,v(E)?E:[E],e,n,i,r,a,l,_,c,s),u.base=e.__e,e.__u&=-161,u.__h.length&&l.push(u),x&&(u.__E=u.__=null)}catch(t){if(e.__v=null,c||null!=a)if(t.then){for(e.__u|=c?160:128;_&&8==_.nodeType&&_.nextSibling;)_=_.nextSibling;a[a.indexOf(_)]=null,e.__e=_}else{for(D=a.length;D--;)m(a[D]);T(e)}else e.__e=n.__e,e.__k=n.__k,t.then||T(e);o.__e(t,e,n)}else null==a&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):_=e.__e=I(n.__e,e,n,i,r,a,l,c,s);return(d=o.diffed)&&d(e),128&e.__u?void 0:_}function T(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(T)}function U(t,e,n){for(var i=0;i<n.length;i++)N(n[i],n[++i],n[++i]);o.__c&&o.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){o.__e(t,e.__v)}})}function A(t){return"object"!=typeof t||null==t||t.__b&&t.__b>0?t:v(t)?t.map(A):g({},t)}function I(t,e,i,r,a,l,_,c,s){var d,u,f,p,g,y,x,k=i.props||h,F=e.props,w=e.type;if("svg"==w?a="http://www.w3.org/2000/svg":"math"==w?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=l)for(d=0;d<l.length;d++)if((g=l[d])&&"setAttribute"in g==!!w&&(w?g.localName==w:3==g.nodeType)){t=g,l[d]=null;break}if(null==t){if(null==w)return document.createTextNode(F);t=document.createElementNS(a,w,F.is&&F),c&&(o.__m&&o.__m(e,l),c=!1),l=null}if(null==w)k===F||c&&t.data==F||(t.data=F);else{if(l=l&&n.call(t.childNodes),!c&&null!=l)for(k={},d=0;d<t.attributes.length;d++)k[(g=t.attributes[d]).name]=g.value;for(d in k)if(g=k[d],"children"==d);else if("dangerouslySetInnerHTML"==d)f=g;else if(!(d in F)){if("value"==d&&"defaultValue"in F||"checked"==d&&"defaultChecked"in F)continue;H(t,d,null,g,a)}for(d in F)g=F[d],"children"==d?p=g:"dangerouslySetInnerHTML"==d?u=g:"value"==d?y=g:"checked"==d?x=g:c&&"function"!=typeof g||k[d]===g||H(t,d,g,k[d],a);if(u)c||f&&(u.__html==f.__html||u.__html==t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(f&&(t.innerHTML=""),R("template"==e.type?t.content:t,v(p)?p:[p],e,i,r,"foreignObject"==w?"http://www.w3.org/1999/xhtml":a,l,_,l?l[0]:i.__k&&b(i,0),c,s),null!=l)for(d=l.length;d--;)m(l[d]);c||(d="value","progress"==w&&null==y?t.removeAttribute("value"):null!=y&&(y!==t[d]||"progress"==w&&!y||"option"==w&&y!=k[d])&&H(t,d,y,k[d],a),d="checked",null!=x&&x!=t[d]&&H(t,d,x,k[d],a))}return t}function N(t,e,n){try{if("function"==typeof t){var i="function"==typeof t.__u;i&&t.__u(),i&&null==e||(t.__u=t(e))}else t.current=e}catch(t){o.__e(t,n)}}function L(t,e,n){var i,r;if(o.unmount&&o.unmount(t),(i=t.ref)&&(i.current&&i.current!=t.__e||N(i,null,e)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){o.__e(t,e)}i.base=i.__P=null}if(i=t.__k)for(r=0;r<i.length;r++)i[r]&&L(i[r],e,n||"function"!=typeof t.type);n||m(t.__e),t.__c=t.__=t.__e=void 0}function z(t,e,n){return this.constructor(t,n)}function j(t,e,i){var r,a,l,_;e==document&&(e=document.documentElement),o.__&&o.__(t,e),a=(r="function"==typeof i)?null:i&&i.__k||e.__k,l=[],_=[],D(e,t=(!r&&i||e).__k=y(k,null,[t]),a||h,h,e.namespaceURI,!r&&i?[i]:a?null:e.firstChild?n.call(e.childNodes):null,l,!r&&i?i:a?a.__e:e.firstChild,r,_),U(l,t,_)}n=f.slice,o={__e:function(t,e,n,o){for(var i,r,a;e=e.__;)if((i=e.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(t)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t,o||{}),a=i.__d),a)return i.__E=i}catch(e){t=e}throw t}},i=0,F.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state),"function"==typeof t&&(t=t(g({},n),this.props)),t&&g(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),C(this))},F.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),C(this))},F.prototype.render=k,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(t,e){return t.__v.__b-e.__v.__b},S.__r=0,c=/(PointerCapture)$|Capture$/i,s=0,d=E(!1),u=E(!0);var V,M,B,q,G=0,X=[],Y=o,$=Y.__b,J=Y.__r,K=Y.diffed,Q=Y.__c,Z=Y.unmount,tt=Y.__;function et(t,e){Y.__h&&Y.__h(M,t,G||e),G=0;var n=M.__H||(M.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function nt(t){return G=1,ot(ht,t)}function ot(t,e,n){var o=et(V++,2);if(o.t=t,!o.__c&&(o.__=[n?n(e):ht(void 0,e),function(t){var e=o.__N?o.__N[0]:o.__[0],n=o.t(e,t);e!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=M,!M.__f)){var i=function(t,e,n){if(!o.__c.__H)return!0;var i=o.__c.__H.__.filter(function(t){return!!t.__c});if(i.every(function(t){return!t.__N}))return!r||r.call(this,t,e,n);var a=o.__c.props!==t;return i.forEach(function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}}),r&&r.call(this,t,e,n)||a};M.__f=!0;var r=M.shouldComponentUpdate,a=M.componentWillUpdate;M.componentWillUpdate=function(t,e,n){if(this.__e){var o=r;r=void 0,i(t,e,n),r=o}a&&a.call(this,t,e,n)},M.shouldComponentUpdate=i}return o.__N||o.__}function it(t,e){var n=et(V++,3);!Y.__s&&ut(n.__H,e)&&(n.__=t,n.u=e,M.__H.__h.push(n))}function rt(t,e){var n=et(V++,7);return ut(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function at(t,e){return G=8,rt(function(){return t},e)}function lt(){for(var t;t=X.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(st),t.__H.__h.forEach(dt),t.__H.__h=[]}catch(e){t.__H.__h=[],Y.__e(e,t.__v)}}Y.__b=function(t){M=null,$&&$(t)},Y.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),tt&&tt(t,e)},Y.__r=function(t){J&&J(t),V=0;var e=(M=t.__c).__H;e&&(B===M?(e.__h=[],M.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(e.__h.forEach(st),e.__h.forEach(dt),e.__h=[],V=0)),B=M},Y.diffed=function(t){K&&K(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==X.push(e)&&q===Y.requestAnimationFrame||((q=Y.requestAnimationFrame)||ct)(lt)),e.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),B=M=null},Y.__c=function(t,e){e.some(function(t){try{t.__h.forEach(st),t.__h=t.__h.filter(function(t){return!t.__||dt(t)})}catch(n){e.some(function(t){t.__h&&(t.__h=[])}),e=[],Y.__e(n,t.__v)}}),Q&&Q(t,e)},Y.unmount=function(t){Z&&Z(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(t){try{st(t)}catch(t){e=t}}),n.__H=void 0,e&&Y.__e(e,n.__v))};var _t="function"==typeof requestAnimationFrame;function ct(t){var e,n=function(){clearTimeout(o),_t&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,35);_t&&(e=requestAnimationFrame(n))}function st(t){var e=M,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),M=e}function dt(t){var e=M;t.__c=t.__(),M=e}function ut(t,e){return!t||t.length!==e.length||e.some(function(e,n){return e!==t[n]})}function ht(t,e){return"function"==typeof e?e(t):e}var ft=Object.freeze({__proto__:null,BUILD_VERSION:"2.108.8",Component:F,Fragment:k,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.19.1",createElement:y,h:y,render:j,useCallback:at,useEffect:it,useMemo:rt,useReducer:ot,useState:nt}),pt=function(t,e){return pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},pt(t,e)};function vt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}pt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var gt=function(){return gt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},gt.apply(this,arguments)};function mt(t,e,n,o){var i,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function yt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}"function"==typeof SuppressedError&&SuppressedError;var xt=function(t){var e=t.href,n=t.x,o=t.y,i=void 0===o?0:o,r=t.height,a=void 0===r?12:r;return y("image",{href:e,x:n-a/2,y:i-a/2,width:a,height:a})},kt=function(t){var n=t.x,o=t.y,i=void 0===o?0:o,r=t.height,a=void 0===r?12:r,l=t.fill,_=t.stroke,c=t.fontFamily,s=void 0===c?"FontAwesome":c,d=t.char,u=void 0===d?"":d,h=rt(function(){return"FontAwesome"===s?e.Utility.faChar(u):u},[u,s]);return y("text",{x:n,y:i,fill:l,stroke:_,"font-family":s,"font-size":"".concat(a,"px"),"dominant-baseline":"middle",style:"text-anchor: middle;alignment-baseline:middle;"},h)},Ft=function(t){var e=t.radius,n=void 0===e?32:e,o=t.fill,i=void 0===o?"navy":o,r=t.stroke,a=void 0===r?i:r,l=t.strokeWidth;return y("circle",{r:n,fill:i,stroke:a,"stroke-width":void 0===l?1:l,"shape-rendering":t.shapeRendering})},bt=function(t){var e=t.radius,n=void 0===e?30:e,o=t.cornerRadius,i=void 0===o?0:o,r=t.fill,a=void 0===r?"white":r,l=t.stroke,_=t.strokeWidth;return y("rect",{x:-n,y:-n,rx:i,ry:i,width:2*n,height:2*n,fill:a,stroke:l||a,"stroke-width":void 0===_?1:_,"shape-rendering":t.shapeRendering})},wt=function(t){var e=t.width,n=void 0===e?30:e,o=t.height,i=void 0===o?30:o,r=t.cornerRadius,a=void 0===r?0:r,l=t.fill,_=void 0===l?"white":l,c=t.stroke,s=void 0===c?"black":c,d=t.strokeWidth;return y("rect",{x:-n/2,y:-i/2,rx:a,ry:a,width:n,height:i,fill:_,stroke:s||_,"stroke-width":void 0===d?1:d,"shape-rendering":t.shapeRendering})},Ct=function(t){var e=t.shape,n=void 0===e?"circle":e,o=t.height,i=void 0===o?128:o,r=t.width,a=t.fill,l=t.stroke,_=t.strokeWidth,c=void 0===_?1:_,s=t.shapeRendering,d=t.cornerRadius;switch(n){case"square":return y(bt,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});case"rectangle":return y(wt,{width:null!=r?r:i,height:i,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});default:return y(Ft,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s})}},St=function(t){var n=t.shape,o=void 0===n?"circle":n,i=t.width,r=t.height,a=void 0===r?32:r,l=t.fill,_=t.stroke,c=t.strokeWidth,s=void 0===c?0:c,d=t.imageUrl,u=void 0===d?"":d,h=t.imageFontFamily,f=void 0===h?"FontAwesome":h,p=t.imageChar,v=void 0===p?"":p,g=t.imageCharFill,m=void 0===g?e.Palette.textColor(l):g,x=t.padding,F=void 0===x?a/5:x,b=t.xOffset,w=void 0===b?0:b,C=t.yOffset,S=void 0===C?0:C,R=t.cornerRadius,W=t.shapeRendering;return y(k,null,y(Ct,{shape:o,width:i,height:a,fill:l,stroke:_,strokeWidth:s,shapeRendering:W,cornerRadius:R}),u?y(xt,{href:u,x:w,y:S,height:a-F}):y(kt,{x:w,y:S,height:a-F,fontFamily:f,char:v,fill:m,"font-weight":400}))},Rt=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.anchor,r=void 0===i?"middle":i,a=t.baseline,l=void 0===a?"middle":a,_=t.fontFamily,c=void 0===_?"Verdana":_,s=t.fill,d=void 0===s?"black":s;return y("text",{"font-family":c,"font-size":"".concat(o,"px"),"text-anchor":r,"dominant-baseline":l,fill:d},e)},Wt=function(t){var n=t.text,o=t.height,i=void 0===o?12:o,r=t.fontFamily,a=void 0===r?"Verdana":r,l=t.fill,_=void 0===l?"black":l,c=t.onSizeUpdate,s=nt(0),d=s[0],u=s[1],h=nt(0),f=h[0],p=h[1];it(function(){c&&c({width:d,height:f})},[d,f,c]);var v=rt(function(){return n.split("\n")},[n]);u(rt(function(){return e.Utility.textSize(v,a,i)},[a,i,v]).width),p(v.length*(i+2)-2);var g=-f/2+i/2,m=rt(function(){return v.map(function(t,e){return y("g",{key:e,transform:"translate(0 ".concat(g+e*(i+2),")")},y(Rt,{text:t,height:i,fontFamily:a,fill:_}))})},[_,a,i,v,g]);return y(k,null,m)},Ot=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.fontFamily,r=void 0===i?"Verdana":i,a=t.padding,l=void 0===a?4:a,_=t.fill,c=void 0===_?"whitesmoke":_,s=t.stroke,d=void 0===s?"lightgray":s,u=t.textFill,h=void 0===u?"black":u,f=t.strokeWidth,p=void 0===f?1:f,v=t.cornerRadius,g=void 0===v?0:v,m=t.onSizeUpdate,x=nt(0),F=x[0],b=x[1],w=nt(0),C=w[0],S=w[1];it(function(){m&&m({width:F,height:C})},[F,C,m]);var R=at(function(t){b(t.width),S(t.height)},[]),W=F+2*l+p,O=C+2*l+p,P=Math.floor(o/10);return y(k,null,y(wt,{width:W,height:O,fill:c,stroke:d,strokeWidth:p,cornerRadius:g}),y("g",{transform:"translate(0 ".concat(P,")")},y(Wt,{text:e,fontFamily:r,height:o,fill:h,onSizeUpdate:R})))};function Pt(t,e,n,o){j(y(t,e),n,o)}var Ht=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return vt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),yt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Et=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return vt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),yt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Dt=function(t){var e=t.x,n=t.y,o=t.annotationIDs,i=void 0===o?[]:o,r=t.stepSize,a=void 0===r?-16:r,l=i.map(function(t,o){return y("g",{key:t,transform:"translate(".concat(e+o*a," ").concat(n,")")},y("use",{href:"#"+t}))});return y(k,null,l)},Tt=function(t){var n=t.text,o=void 0===n?"":n,i=t.textHeight,r=void 0===i?10:i,a=t.textPadding,l=void 0===a?4:a,_=t.textFill,c=void 0===_?"#287EC4":_,s=t.textboxFill,d=void 0===s?"white":s,u=t.textboxStroke,h=void 0===u?"#CCCCCC":u,f=t.textboxStrokeWidth,p=void 0===f?1:f,v=t.textFontFamily,g=void 0===v?"Verdana":v,m=t.annotationGutter,x=void 0===m?2:m,k=t.annotations,F=void 0===k?[]:k,b=t.cornerRadius,w=void 0===b?3:b,C=t.icon,S=void 0===C?{}:C,R=t.subText,W=void 0===R?{text:""}:R,O=t.showLabel,P=void 0===O||O,H=t.noLabelRadius,E=void 0===H?5:H,D=t.expansionIcon,T=t.scale,U=void 0===T?1:T;S=gt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},S),W=gt({text:"",fill:"white",textFill:"#555555"},W),D=D?gt({height:16,shape:"circle",padding:6,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"black",fill:"whitesmoke",stroke:"whitesmoke",strokeWidth:0},D):void 0;var A=0,I=rt(function(){return e.Utility.textSize(o,g,r,!1).width},[o,g,r]),N=0;""!==o&&(N=I+2*l+2*p);var L=(A+=N+x)-N/2,z=r+2*l+2*p,j=[];F.forEach(function(t,e){var n=t.imageChar,o=(A+=z+x)-z/2;j.push(y("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(0,")")},y(St,gt({},t,{shape:"square",height:z,imageChar:n,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))}),F.length>0&&(A+=x*(F.length-1));var V=y("g",{"data-click":"text",transform:"translate(".concat(L," ").concat(0,")")},P&&""!==o?y(Ot,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:w}):y("circle",{r:E,stroke:h,fill:c})),M=S.height||20,B=S.strokeWidth||0,q=0,G=z+2*x;""!==o||j.length>0?q=-M/2-B-z/2-2*x:""!==W.text&&(G=M/2+B+2*x);var X=""===W.text?null:y("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(G,")")},y(Ot,gt({fill:W.fill||"#FFFFFF",textFill:W.textFill||c},W,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:w})));return y("g",{transform:"scale(".concat(U,")")},y("g",{"data-click":"icon",transform:"translate(".concat(0," ").concat(q,")")},y(St,gt({},S)),D&&y("g",{"data-click":"expanded-icon","data-click-data":JSON.stringify(D),transform:"translate(".concat((S.height+B)/2-D.height/2," ").concat(-(S.height+B)/2+D.height/2,")")},y(St,gt({},D)))),y("g",{transform:"translate(".concat(-A/2," ").concat(0,")")},V,j),X)},Ut=function(t){t.categoryID;var n=t.text,o=void 0===n?"":n,i=t.textHeight,r=void 0===i?10:i,a=t.textPadding,l=void 0===a?4:a,_=t.textFill,c=void 0===_?"#287EC4":_,s=t.textboxFill,d=void 0===s?"white":s,u=t.textboxStroke,h=void 0===u?"#CCCCCC":u,f=t.textboxStrokeWidth,p=void 0===f?1:f,v=t.textFontFamily,g=void 0===v?"Verdana":v,m=t.annotationGutter,x=void 0===m?2:m,k=t.annotations,F=void 0===k?[]:k,b=t.iconAnnotations,w=void 0===b?[]:b,C=t.cornerRadius,S=void 0===C?3:C,R=t.icon,W=void 0===R?{}:R,O=t.subText,P=void 0===O?{}:O,H=t.showLabel,E=void 0===H||H,D=t.noLabelRadius,T=void 0===D?5:D,U=t.iconBorderWidth,A=void 0===U?1:U,I=t.iconBorderColor,N=void 0===I?"#333":I,L=t.iconBackgroundColor,z=void 0===L?"#fff":L,j=t.iconFontColor,V=void 0===j?"#000":j,M=t.iconFontSize,B=void 0===M?20:M,q=t.iconFontFamily,G=void 0===q?"FontAwesome":q,X=t.shapeOffsetX,Y=void 0===X?0:X,$=t.shapeOffsetY,J=void 0===$?0:$,K=t.iconOffsetX,Q=void 0===K?0:K,Z=t.iconOffsetY,tt=void 0===Z?0:Z,et=t.iconPadding,nt=void 0===et?4:et,ot=t.iconText,it=void 0===ot?"?":ot,at=t.shapeRendering,lt=void 0===at?"auto":at;W=gt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},W),P=gt({text:"",fill:"white",textFill:"#555555"},P);var _t=rt(function(){return e.Utility.textSize(o,g,r,!1).width},[o,g,r]),ct=0;""!==o&&(ct=_t+2*l+2*p);var st=ct+x,dt=st-ct/2,ut=r+2*x+2*p,ht=F.map(function(t,n){return e.Utility.textSize(t.imageChar,t.imageFontFamily,t.height,!1).width}),ft=[],pt=st;F.forEach(function(t,e){var n,o=t.imageChar,i=null!==(n=t.height)&&void 0!==n?n:ut,r=(pt+=ht[e]+x)-ht[e]/2;ft.push(y("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(r," ").concat(0,")")},y(St,gt({},t,{shape:"rectangle",width:ht[e],height:i,imageChar:o,imageFontFamily:t.imageFontFamily,cornerRadius:S,strokeWidth:0}))))}),F.length>0&&(st+=x*(F.length-1));var vt=[];w.forEach(function(t,e){var n,o=t.shapeOffsetX,i=t.shapeOffsetY;vt.push(y("g",{key:e,class:"vertex3-iconAnno","data-click":"icon-annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(i,")")},y(St,gt({},t,{shape:null!==(n=t.shape)&&void 0!==n?n:"square",imageChar:t.imageChar,imageFontFamily:t.imageFontFamily,cornerRadius:S,stroke:t.stroke,strokeWidth:t.strokeWidth}))))});var mt=y("g",{"data-click":"text",transform:"translate(".concat(dt," ").concat(0,")")},E&&""!==o?y(Ot,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:S}):y("circle",{r:T,stroke:h,fill:c})),yt=ut+2*x,xt=""===P.text?null:y("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(yt,")")},y(Ot,gt({fill:P.fill||"#FFFFFF",textFill:P.textFill||c},P,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:S})));return y("g",null,y("g",{"data-click":"icon",transform:"translate(".concat(Y," ").concat(J,")")},y(St,gt({},W,{strokeWidth:A,shape:"circle",height:B,fill:z,stroke:N,imageFontFamily:G,imageChar:it,imageCharFill:V,padding:nt,xOffset:Q,yOffset:tt,cornerRadius:S,shapeRendering:lt})),vt),y("g",{transform:"translate(".concat(-st/2," ").concat(0,")")},mt,ft),xt)};t.Annotations=Dt,t.BUILD_VERSION="2.108.8",t.CentroidVertex3=function(t){var e=t.id,n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?10:_,s=t.textFill,d=void 0===s?"#287EC4":s,u=t.textboxFill,h=void 0===u?"white":u,f=t.textboxStroke,p=void 0===f?"#CCCCCC":f,v=t.textboxStrokeWidth,g=void 0===v?1:v,m=t.textFontFamily,x=void 0===m?"Verdana":m,k=t.annotationGutter,F=void 0===k?2:k,b=t.annotations,w=void 0===b?[]:b,C=t.cornerRadius,S=t.icon,R=void 0===S?{}:S,W=t.subText,O=void 0===W?{}:W,P=t.expansionIcon,H=t.scale,E=void 0===H?1:H;return R=gt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},R),O=gt({text:"",fill:"transparent",textFill:"#555555"},O),y(Tt,gt({},{id:e,categoryID:o,text:r,textHeight:l,textPadding:c,textFill:d,textboxFill:h,textboxStroke:p,textboxStrokeWidth:g,textFontFamily:x,annotationGutter:F,annotations:w,cornerRadius:C,icon:R,subText:O,expansionIcon:P,scale:E},{icon:R,subText:O}))},t.CentroidVertex4=function(t){var e=t.id,n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?10:_,s=t.textFill,d=void 0===s?"#287EC4":s,u=t.textboxFill,h=void 0===u?"white":u,f=t.textboxStroke,p=void 0===f?"#CCCCCC":f,v=t.textboxStrokeWidth,g=void 0===v?1:v,m=t.textFontFamily,x=void 0===m?"Verdana":m,k=t.annotationGutter,F=void 0===k?2:k,b=t.annotations,w=void 0===b?[]:b,C=t.iconAnnotations,S=void 0===C?[]:C,R=t.cornerRadius,W=t.icon,O=void 0===W?{}:W,P=t.subText,H=void 0===P?{}:P,E=t.showLabel,D=void 0===E||E,T=t.noLabelRadius,U=void 0===T?5:T,A=t.iconBorderWidth,I=void 0===A?1:A,N=t.iconBorderColor,L=void 0===N?"#333":N,z=t.iconBackgroundColor,j=void 0===z?"#fff":z,V=t.iconFontColor,M=void 0===V?"#000":V,B=t.iconFontSize,q=void 0===B?20:B,G=t.iconFontFamily,X=void 0===G?"FontAwesome":G,Y=t.shapeOffsetX,$=void 0===Y?0:Y,J=t.shapeOffsetY,K=void 0===J?0:J,Q=t.iconOffsetX,Z=void 0===Q?0:Q,tt=t.iconOffsetY,et=void 0===tt?0:tt,nt=t.iconPadding,ot=void 0===nt?4:nt,it=t.iconText,rt=void 0===it?"?":it,at=t.shapeRendering,lt=void 0===at?"auto":at;return O=gt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},O),H=gt({text:"",fill:"transparent",textFill:"#555555"},H),y(Ut,gt({},{id:e,categoryID:o,text:r,textHeight:l,textPadding:c,textFill:d,textboxFill:h,textboxStroke:p,textboxStrokeWidth:g,textFontFamily:x,annotationGutter:F,annotations:w,iconAnnotations:S,cornerRadius:R,icon:O,subText:H,showLabel:D,noLabelRadius:U,iconBorderWidth:I,iconBorderColor:L,iconBackgroundColor:j,iconFontColor:M,iconFontSize:q,iconFontFamily:X,shapeOffsetX:$,shapeOffsetY:K,iconOffsetX:Z,iconOffsetY:et,iconPadding:ot,iconText:rt,shapeRendering:lt},{icon:O,subText:H}))},t.Circle=Ft,t.Edge=function(t){var e=t.label,n=t.labelPos,o=t.labelFill,i=void 0===o?"black":o,r=t.labelHeight,a=void 0===r?12:r;return y(k,null,y("path",{d:t.path,stroke:t.stroke,style:{strokeWidth:t.strokeWidth,strokeDasharray:t.strokeDasharray}}),e&&n&&2===n.length?y("g",{transform:"translate(".concat(n[0]," ").concat(n[1],")")},y(Wt,{text:e,fill:i,height:a})):void 0)},t.HTMLAdapter=Ht,t.Icon=St,t.IconLabelledRect=function(t){var e=t.icon,n=t.iconFontFamily,o=t.text,i=t.height,r=void 0===i?12:i,a=t.width,l=void 0===a?12:a,_=t.fontFamily,c=void 0===_?"Verdana":_,s=t.fontSize,d=void 0===s?10:s,u=t.padding,h=void 0===u?3:u,f=t.fill,p=void 0===f?"whitesmoke":f,v=t.stroke,g=void 0===v?"lightgray":v,m=t.textFill,x=void 0===m?"black":m,F=t.strokeWidth,b=void 0===F?1:F,w=t.cornerRadius,C=void 0===w?0:w;return t.onSizeUpdate,y(k,null,y(wt,{width:l,height:r,fill:p,stroke:g,strokeWidth:b,cornerRadius:C}),y("g",{transform:"translate(".concat(-l/2+h," ").concat(-r/2+h,")")},y(St,{shape:"square",imageFontFamily:n,imageChar:e,height:r,fill:p,imageCharFill:x})),y("g",{transform:"translate(".concat(-l/2+2*h+r," ").concat(-r/2+h,")")},y(Rt,{text:o,fontFamily:c,height:d,fill:x,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map(function(t){return y("g",{key:t.id,id:t.id},y(St,gt({},t)))});return y(k,null,n)},t.ImageChar=kt,t.LabelledRect=function(t){var e=t.text,n=t.height,o=void 0===n?12:n,i=t.width,r=void 0===i?12:i,a=t.fontFamily,l=void 0===a?"Verdana":a,_=t.fontSize,c=void 0===_?10:_,s=t.padding,d=void 0===s?3:s,u=t.fill,h=void 0===u?"whitesmoke":u,f=t.stroke,p=void 0===f?"lightgray":f,v=t.textFill,g=void 0===v?"black":v,m=t.strokeWidth,x=void 0===m?1:m,F=t.cornerRadius,b=void 0===F?0:F;return t.onSizeUpdate,y(k,null,y(wt,{width:r,height:o,fill:h,stroke:p,strokeWidth:x,cornerRadius:b}),y("g",{transform:"translate(".concat(-r/2+d," ").concat(-o/2+d,")")},y(Rt,{text:e,fontFamily:l,height:c,fill:g,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.55.4",t.React=ft,t.Rectangle=wt,t.SVGAdapter=Et,t.Shape=Ct,t.Square=bt,t.Subgraph=function(t){var n=t.text,o=t.width,i=void 0===o?100:o,r=t.height,a=void 0===r?100:r,l=t.fill,_=void 0===l?"transparent":l,c=t.stroke,s=void 0===c?"black":c,d=t.fontHeight,u=void 0===d?12:d,h=t.fontFamily,f=e.Utility.textSize(n,h,u,!1);return y(k,null,y(wt,{width:i,height:a,fill:_,stroke:s}),y("g",{transform:"translate(".concat((-i+f.width)/2+4," ").concat((-a+f.height)/2+4,")")},y(Wt,{height:u,text:n,fontFamily:h})))},t.Text=Wt,t.TextBox=Ot,t.TextLine=Rt,t.Vertex=function(t){var e=t.categoryID,n=void 0===e?"":e,o=t.text,i=void 0===o?"":o,r=t.textHeight,a=void 0===r?12:r,l=t.textPadding,_=void 0===l?4:l,c=t.icon,s=void 0===c?{}:c,d=t.annotationsHeight,u=void 0===d?12:d,h=t.annotationIDs,f=void 0===h?[]:h,p=t.textFill,v=t.textboxFill,g=t.textboxStroke,m=t.textFontFamily,x=t.onSizeUpdate,k=t.showLabel,F=void 0===k||k,b=t.scale,w=void 0===b?1:b,C=nt(0),S=C[0],R=C[1],W=nt(0),O=W[0],P=W[1];it(function(){x&&x({width:0,height:0})},[S,O,x]);var H=S;H+=4;var E=-(2*(s=gt({imageChar:"fa-question",height:32,fill:"transparent"},s)).height/6+a+8)/2,D=s.height/3+O/2+_,T=s.height/3+O+_+u/3;F||(E+=(a+8)/2,T-=O+_);var U=at(function(t){R(t.width),P(t.height)},[]),A=F?y("g",{transform:"translate(0 ".concat(D,")")},y(Ot,{text:i,height:a,padding:_,onSizeUpdate:U,textFill:p,fill:v,stroke:g,fontFamily:m})):void 0;return n?y("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},y("use",{href:"#"+n}),A,y(Dt,{x:H/2,y:T,annotationIDs:f})):y("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},y(St,gt({},s)),A)},t.Vertex2=function(t){var n=t.categoryID,o=void 0===n?"":n,i=t.text,r=void 0===i?"":i,a=t.textHeight,l=void 0===a?12:a,_=t.textPadding,c=void 0===_?4:_,s=t.icon,d=void 0===s?{}:s,u=t.textFill,h=void 0===u?"black":u,f=t.textboxFill,p=void 0===f?"white":f,v=t.textboxStroke,g=void 0===v?"black":v,m=t.textFontFamily,x=t.annotationsHeight,F=void 0===x?12:x,b=t.annotationIDs,w=void 0===b?[]:b;d=gt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},d);var C=l+2*c,S=rt(function(){return e.Utility.textSize(r,m,l,!1)},[r,m,l]).width,R=F,W=C/2,O=-(2*d.height/6+l+8)/2,P=-d.height/2,H=Math.ceil(S/2+c),E=W-d.height/2,D=R/2,T=W;return o?y("g",{transform:"translate(".concat(0," ").concat(O,")")},y("g",{transform:"translate(".concat(P," ").concat(0,")")},y("use",{href:"#"+o})),y("g",{transform:"translate(".concat(H," ").concat(E,")")},y(Ot,{text:r,height:l,padding:c,strokeWidth:1,stroke:g,fill:p,textFill:h,fontFamily:m})),y(Dt,{x:D,y:T,annotationIDs:w,stepSize:R})):y(k,null,y("g",{transform:"translate(".concat(P," ").concat(0,")scale(1.0002)")},y(St,gt({},d,{shape:"square"}))),y("g",{transform:"translate(".concat(H," ").concat(E,")scale(1.0002)")},y(Ot,{text:r,height:l,padding:c,stroke:g,fill:p})))},t.Vertex3=Tt,t.Vertex4=Ut,t.render=Pt,t.svgRender=function(t,e,n,o){j(y("svg",null,y(t,e)),n,o)}});
|
|
2
2
|
//# sourceMappingURL=index.min.js.map
|