New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hpcc-js/react

Package Overview
Dependencies
Maintainers
0
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hpcc-js/react - npm Package Compare versions

Comparing version 2.53.17 to 2.54.0

8

dist/index.es6.js
import { Utility, Palette, publish, HTMLWidget, SVGWidget } from '@hpcc-js/common';
var PKG_NAME$1 = "@hpcc-js/react";
var PKG_VERSION$1 = "2.53.17";
var BUILD_VERSION$1 = "2.105.12";
var PKG_VERSION$1 = "2.54.0";
var BUILD_VERSION$1 = "2.106.0";
var PKG_NAME = "@hpcc-js/preact-shim";
var PKG_VERSION = "2.16.11";
var BUILD_VERSION = "2.105.12";
var PKG_VERSION = "2.17.0";
var BUILD_VERSION = "2.106.0";

@@ -11,0 +11,0 @@ var n,l$1,u$1,i$1,o$1,r$1,f$1,e$1,c$1,s$1,h$1={},p$1=[],v$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y$1=Array.isArray;function d$1(n,l){for(var u in l)n[u]=l[u];return n}function w$1(n){var l=n.parentNode;l&&l.removeChild(n);}function _$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$1:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function k$1(n){return n.children}function b(n,l){this.props=n,this.context=l;}function x$1(n,l){if(null==l)return n.__?x$1(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?x$1(n):null}function C$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C$1(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i$1.push(n)&&!P.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||r$1)(P);}function P(){var n,u,t,o,r,e,c,s;for(i$1.sort(f$1);n=i$1.shift();)n.__d&&(u=i$1.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x$1(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j$1(c,o,s),o.__e!=e&&C$1(o)),i$1.length>u&&i$1.sort(f$1));P.__r=0;}function S(n,l,u,t,i,o,r,f,e,c,s){var a,v,y,d,w,_=t&&t.__k||p$1,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&"boolean"!=typeof y&&"function"!=typeof y&&(v=-1===y.__i?h$1:_[y.__i]||h$1,y.__i=a,O(n,y,v,i,o,r,f,e,c,s),d=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&N(v.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||v.__k===y.__k?(e&&!e.isConnected&&(e=x$1(v)),e=I(y,e,n)):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w;}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y$1(i)?g(k$1,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=L(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r?f==r-1&&(a=f-r):a=0,f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x$1(o)),V(o,o,!1),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x$1(o)),V(o,o));}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8===l.nodeType);return l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++;}}return -1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v$1.test(l)?u:u+"px";}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=e$1,n.addEventListener(l,o?s$1:c$1,o)):n.removeEventListener(l,o?s$1:c$1,o);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u));}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=e$1++;else if(u.t<t.u)return;return t(l$1.event?l$1.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,p,v,w,_,g,m,x,C,M,P,$,I,H,L=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof L)try{if(m=u.props,x=(a=L.contextType)&&i[a.__c],C=a?x?x.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:("prototype"in L&&L.prototype.render?u.__c=h=new L(m,C):(u.__c=h=new b(m,C),h.constructor=L,h.render=q$1),x&&x.sub(h),h.props=m,h.state||(h.state={}),h.context=C,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=L.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d$1({},h.__s)),d$1(h.__s,L.getDerivedStateFromProps(m,h.__s))),v=h.props,w=h.state,h.__v=u,p)null==L.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==L.getDerivedStateFromProps&&m!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,C),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,C)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),M=0;M<h._sb.length;M++)h.__h.push(h._sb[M]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,w,_);});}if(h.context=C,h.props=m,h.__P=n,h.__e=!1,P=l$1.__r,$=0,"prototype"in L&&L.prototype.render){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),I=0;I<h._sb.length;I++)h.__h.push(h._sb[I]);h._sb=[];}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(i=d$1(d$1({},i),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(_=h.getSnapshotBeforeUpdate(v,w)),S(n,y$1(H=null!=a&&a.type===k$1&&null==a.key?a.props.children:a)?H:[H],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null);}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l$1.__e(n,u,t);}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z$1(t.__e,u,t,i,o,r,f,c,s);(a=l$1.diffed)&&a(u);}function j$1(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function z$1(l,u,t,i,o,r,f,e,c){var s,a,p,v,d,_,g,m=t.props,k=u.props,b=u.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(s=0;s<r.length;s++)if((d=r[s])&&"setAttribute"in d==!!b&&(b?d.localName===b:3===d.nodeType)){l=d,r[s]=null;break}if(null==l){if(null===b)return document.createTextNode(k);l=document.createElementNS(o,b,k.is&&k),r=null,e=!1;}if(null===b)m===k||e&&l.data===k||(l.data=k);else {if(r=r&&n.call(l.childNodes),m=t.props||h$1,!e&&null!=r)for(m={},s=0;s<l.attributes.length;s++)m[(d=l.attributes[s]).name]=d.value;for(s in m)if(d=m[s],"children"==s);else if("dangerouslySetInnerHTML"==s)p=d;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;A(l,s,null,d,o);}for(s in k)d=k[s],"children"==s?v=d:"dangerouslySetInnerHTML"==s?a=d:"value"==s?_=d:"checked"==s?g=d:"key"===s||e&&"function"!=typeof d||m[s]===d||A(l,s,d,m[s],o);if(a)e||p&&(a.__html===p.__html||a.__html===l.innerHTML)||(l.innerHTML=a.__html),u.__k=[];else if(p&&(l.innerHTML=""),S(l,y$1(v)?v:[v],u,t,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,r,f,r?r[0]:t.__k&&x$1(t,0),e,c),null!=r)for(s=r.length;s--;)null!=r[s]&&w$1(r[s]);e||(s="value",void 0!==_&&(_!==l[s]||"progress"===b&&!_||"option"===b&&_!==m[s])&&A(l,s,_,m[s],o),s="checked",void 0!==g&&g!==l[s]&&A(l,s,g,m[s],o));}return l}function N(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function V(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||w$1(n.__e),n.__c=n.__=n.__e=n.__d=void 0;}function q$1(n,l,u){return this.constructor(n,u)}function B$1(u,t,i){var o,r,f,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=_$1(k$1,null,[u]),r||h$1,h$1,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j$1(f,u,e);}n=p$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$1=0,b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&d$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this));},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this));},b.prototype.render=k$1,i$1=[],r$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$1=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,e$1=0,c$1=F(!1),s$1=F(!0);

@@ -8,8 +8,8 @@ (function (global, factory) {

var PKG_NAME$1 = "@hpcc-js/react";
var PKG_VERSION$1 = "2.53.17";
var BUILD_VERSION$1 = "2.105.12";
var PKG_VERSION$1 = "2.54.0";
var BUILD_VERSION$1 = "2.106.0";
var PKG_NAME = "@hpcc-js/preact-shim";
var PKG_VERSION = "2.16.11";
var BUILD_VERSION = "2.105.12";
var PKG_VERSION = "2.17.0";
var BUILD_VERSION = "2.106.0";

@@ -16,0 +16,0 @@ var n,l$1,u$1,i$1,o$1,r$1,f$1,e$1,c$1,s$1,h$1={},p$1=[],v$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y$1=Array.isArray;function d$1(n,l){for(var u in l)n[u]=l[u];return n}function w$1(n){var l=n.parentNode;l&&l.removeChild(n);}function _$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$1:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function k$1(n){return n.children}function b(n,l){this.props=n,this.context=l;}function x$1(n,l){if(null==l)return n.__?x$1(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?x$1(n):null}function C$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C$1(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i$1.push(n)&&!P.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||r$1)(P);}function P(){var n,u,t,o,r,e,c,s;for(i$1.sort(f$1);n=i$1.shift();)n.__d&&(u=i$1.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x$1(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j$1(c,o,s),o.__e!=e&&C$1(o)),i$1.length>u&&i$1.sort(f$1));P.__r=0;}function S(n,l,u,t,i,o,r,f,e,c,s){var a,v,y,d,w,_=t&&t.__k||p$1,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&"boolean"!=typeof y&&"function"!=typeof y&&(v=-1===y.__i?h$1:_[y.__i]||h$1,y.__i=a,O(n,y,v,i,o,r,f,e,c,s),d=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&N(v.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||v.__k===y.__k?(e&&!e.isConnected&&(e=x$1(v)),e=I(y,e,n)):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w;}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y$1(i)?g(k$1,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=L(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r?f==r-1&&(a=f-r):a=0,f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x$1(o)),V(o,o,!1),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x$1(o)),V(o,o));}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8===l.nodeType);return l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++;}}return -1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v$1.test(l)?u:u+"px";}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=e$1,n.addEventListener(l,o?s$1:c$1,o)):n.removeEventListener(l,o?s$1:c$1,o);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u));}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=e$1++;else if(u.t<t.u)return;return t(l$1.event?l$1.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,p,v,w,_,g,m,x,C,M,P,$,I,H,L=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof L)try{if(m=u.props,x=(a=L.contextType)&&i[a.__c],C=a?x?x.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:("prototype"in L&&L.prototype.render?u.__c=h=new L(m,C):(u.__c=h=new b(m,C),h.constructor=L,h.render=q$1),x&&x.sub(h),h.props=m,h.state||(h.state={}),h.context=C,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=L.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d$1({},h.__s)),d$1(h.__s,L.getDerivedStateFromProps(m,h.__s))),v=h.props,w=h.state,h.__v=u,p)null==L.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==L.getDerivedStateFromProps&&m!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,C),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,C)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),M=0;M<h._sb.length;M++)h.__h.push(h._sb[M]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,w,_);});}if(h.context=C,h.props=m,h.__P=n,h.__e=!1,P=l$1.__r,$=0,"prototype"in L&&L.prototype.render){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),I=0;I<h._sb.length;I++)h.__h.push(h._sb[I]);h._sb=[];}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(i=d$1(d$1({},i),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(_=h.getSnapshotBeforeUpdate(v,w)),S(n,y$1(H=null!=a&&a.type===k$1&&null==a.key?a.props.children:a)?H:[H],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null);}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l$1.__e(n,u,t);}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z$1(t.__e,u,t,i,o,r,f,c,s);(a=l$1.diffed)&&a(u);}function j$1(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function z$1(l,u,t,i,o,r,f,e,c){var s,a,p,v,d,_,g,m=t.props,k=u.props,b=u.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(s=0;s<r.length;s++)if((d=r[s])&&"setAttribute"in d==!!b&&(b?d.localName===b:3===d.nodeType)){l=d,r[s]=null;break}if(null==l){if(null===b)return document.createTextNode(k);l=document.createElementNS(o,b,k.is&&k),r=null,e=!1;}if(null===b)m===k||e&&l.data===k||(l.data=k);else {if(r=r&&n.call(l.childNodes),m=t.props||h$1,!e&&null!=r)for(m={},s=0;s<l.attributes.length;s++)m[(d=l.attributes[s]).name]=d.value;for(s in m)if(d=m[s],"children"==s);else if("dangerouslySetInnerHTML"==s)p=d;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;A(l,s,null,d,o);}for(s in k)d=k[s],"children"==s?v=d:"dangerouslySetInnerHTML"==s?a=d:"value"==s?_=d:"checked"==s?g=d:"key"===s||e&&"function"!=typeof d||m[s]===d||A(l,s,d,m[s],o);if(a)e||p&&(a.__html===p.__html||a.__html===l.innerHTML)||(l.innerHTML=a.__html),u.__k=[];else if(p&&(l.innerHTML=""),S(l,y$1(v)?v:[v],u,t,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,r,f,r?r[0]:t.__k&&x$1(t,0),e,c),null!=r)for(s=r.length;s--;)null!=r[s]&&w$1(r[s]);e||(s="value",void 0!==_&&(_!==l[s]||"progress"===b&&!_||"option"===b&&_!==m[s])&&A(l,s,_,m[s],o),s="checked",void 0!==g&&g!==l[s]&&A(l,s,g,m[s],o));}return l}function N(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function V(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||w$1(n.__e),n.__c=n.__=n.__e=n.__d=void 0;}function q$1(n,l,u){return this.constructor(n,u)}function B$1(u,t,i){var o,r,f,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=_$1(k$1,null,[u]),r||h$1,h$1,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j$1(f,u,e);}n=p$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$1=0,b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&d$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this));},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this));},b.prototype.render=k$1,i$1=[],r$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$1=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,e$1=0,c$1=F(!1),s$1=F(!0);

@@ -1,2 +0,2 @@

!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=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function v(t,e){for(var n in e)t[n]=e[n];return t}function g(t){var e=t.parentNode;e&&e.removeChild(t)}function m(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 y(t,l,i,r,null)}function y(t,e,n,r,a){var l={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__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 x(t){return t.children}function k(t,e){this.props=t,this.context=e}function F(t,e){if(null==e)return t.__?F(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?F(t):null}function b(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 b(t)}}function w(t){(!t.__d&&(t.__d=!0)&&r.push(t)&&!C.__r++||a!==o.debounceRendering)&&((a=o.debounceRendering)||l)(C)}function C(){var t,e,n,i,a,l,c,s;for(r.sort(_);t=r.shift();)t.__d&&(e=r.length,i=void 0,l=(a=(n=t).__v).__e,c=[],s=[],n.__P&&((i=v({},a)).__v=a.__v+1,o.vnode&&o.vnode(i),D(n.__P,i,a,n.__n,n.__P.namespaceURI,32&a.__u?[l]:null,c,null==l?F(a):l,!!(32&a.__u),s),i.__v=a.__v,i.__.__k[i.__i]=i,T(c,i,s),i.__e!=l&&b(i)),r.length>e&&r.sort(_));C.__r=0}function S(t,e,n,o,i,r,a,l,_,c,s){var d,f,p,v,g,m=o&&o.__k||h,y=e.length;for(n.__d=_,R(n,e,m),_=n.__d,d=0;d<y;d++)null!=(p=n.__k[d])&&"boolean"!=typeof p&&"function"!=typeof p&&(f=-1===p.__i?u:m[p.__i]||u,p.__i=d,D(t,p,f,i,r,a,l,_,c,s),v=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&I(f.ref,null,p),s.push(p.ref,p.__c||v,p)),null==g&&null!=v&&(g=v),65536&p.__u||f.__k===p.__k?(_&&!_.isConnected&&(_=F(f)),_=W(p,_,t)):"function"==typeof p.type&&void 0!==p.__d?_=p.__d:v&&(_=v.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=_,n.__e=g}function R(t,e,n){var o,i,r,a,l,_=e.length,c=n.length,s=c,d=0;for(t.__k=[],o=0;o<_;o++)a=o+d,null!=(i=t.__k[o]=null==(i=e[o])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?y(null,i,null,null,null):p(i)?y(x,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?y(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=t,i.__b=t.__b+1,l=O(i,n,a,s),i.__i=l,r=null,-1!==l&&(s--,(r=n[l])&&(r.__u|=131072)),null==r||null===r.__v?(-1==l&&d--,"function"!=typeof i.type&&(i.__u|=65536)):l!==a&&(l===a+1?d++:l>a?s>_-a?d+=l-a:d--:l<a?l==a-1&&(d=l-a):d=0,l!==o+d&&(i.__u|=65536))):(r=n[a])&&null==r.key&&r.__e&&!(131072&r.__u)&&(r.__e==t.__d&&(t.__d=F(r)),A(r,r,!1),n[a]=null,s--);if(s)for(o=0;o<c;o++)null!=(r=n[o])&&!(131072&r.__u)&&(r.__e==t.__d&&(t.__d=F(r)),A(r,r))}function W(t,e,n){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,e=W(o[i],e,n));return e}t.__e!=e&&(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=t.key,r=t.type,a=n-1,l=n+1,_=e[n];if(null===_||_&&i==_.key&&r===_.type&&!(131072&_.__u))return n;if(o>(null==_||131072&_.__u?0:1))for(;a>=0||l<e.length;){if(a>=0){if((_=e[a])&&!(131072&_.__u)&&i==_.key&&r===_.type)return a;a--}if(l<e.length){if((_=e[l])&&!(131072&_.__u)&&i==_.key&&r===_.type)return l;l++}}return-1}function P(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||f.test(e)?n:n+"px"}function H(t,e,n,o,i){var r;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(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||"onFocusOut"===e||"onFocusIn"===e?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+r]=n,n?o?n.u=o.u:(n.u=c,t.addEventListener(e,r?d:s,r)):t.removeEventListener(e,r?d:s,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&&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,n))}}function E(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=c++;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,g,m,y,F,b,w,C,R,W,O,P,H=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 H)try{if(F=e.props,b=(d=H.contextType)&&i[d.__c],w=d?b?b.props.value:d.__:i,n.__c?y=(u=e.__c=n.__c).__=u.__E:("prototype"in H&&H.prototype.render?e.__c=u=new H(F,w):(e.__c=u=new k(F,w),u.constructor=H,u.render=V),b&&b.sub(u),u.props=F,u.state||(u.state={}),u.context=w,u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=H.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=v({},u.__s)),v(u.__s,H.getDerivedStateFromProps(F,u.__s))),f=u.props,g=u.state,u.__v=e,h)null==H.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==H.getDerivedStateFromProps&&F!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(F,w),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(F,u.__s,w)||e.__v===n.__v)){for(e.__v!==n.__v&&(u.props=F,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&l.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(F,u.__s,w),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(f,g,m)}))}if(u.context=w,u.props=F,u.__P=t,u.__e=!1,R=o.__r,W=0,"prototype"in H&&H.prototype.render){for(u.state=u.__s,u.__d=!1,R&&R(e),d=u.render(u.props,u.state,u.context),O=0;O<u._sb.length;O++)u.__h.push(u._sb[O]);u._sb=[]}else do{u.__d=!1,R&&R(e),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++W<25);u.state=u.__s,null!=u.getChildContext&&(i=v(v({},i),u.getChildContext())),h||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(f,g)),S(t,p(P=null!=d&&d.type===x&&null==d.key?d.props.children:d)?P:[P],e,n,i,r,a,l,_,c,s),u.base=e.__e,e.__u&=-161,u.__h.length&&l.push(u),y&&(u.__E=u.__=null)}catch(t){e.__v=null,c||null!=a?(e.__e=_,e.__u|=c?160:32,a[a.indexOf(_)]=null):(e.__e=n.__e,e.__k=n.__k),o.__e(t,e,n)}else null==a&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=U(n.__e,e,n,i,r,a,l,c,s);(d=o.diffed)&&d(e)}function T(t,e,n){e.__d=void 0;for(var i=0;i<n.length;i++)I(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 U(t,e,o,i,r,a,l,_,c){var s,d,h,f,v,m,y,x=o.props,k=e.props,b=e.type;if("svg"===b?r="http://www.w3.org/2000/svg":"math"===b?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=a)for(s=0;s<a.length;s++)if((v=a[s])&&"setAttribute"in v==!!b&&(b?v.localName===b:3===v.nodeType)){t=v,a[s]=null;break}if(null==t){if(null===b)return document.createTextNode(k);t=document.createElementNS(r,b,k.is&&k),a=null,_=!1}if(null===b)x===k||_&&t.data===k||(t.data=k);else{if(a=a&&n.call(t.childNodes),x=o.props||u,!_&&null!=a)for(x={},s=0;s<t.attributes.length;s++)x[(v=t.attributes[s]).name]=v.value;for(s in x)if(v=x[s],"children"==s);else if("dangerouslySetInnerHTML"==s)h=v;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;H(t,s,null,v,r)}for(s in k)v=k[s],"children"==s?f=v:"dangerouslySetInnerHTML"==s?d=v:"value"==s?m=v:"checked"==s?y=v:"key"===s||_&&"function"!=typeof v||x[s]===v||H(t,s,v,x[s],r);if(d)_||h&&(d.__html===h.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(h&&(t.innerHTML=""),S(t,p(f)?f:[f],e,o,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":r,a,l,a?a[0]:o.__k&&F(o,0),_,c),null!=a)for(s=a.length;s--;)null!=a[s]&&g(a[s]);_||(s="value",void 0!==m&&(m!==t[s]||"progress"===b&&!m||"option"===b&&m!==x[s])&&H(t,s,m,x[s],r),s="checked",void 0!==y&&y!==t[s]&&H(t,s,y,x[s],r))}return t}function I(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function A(t,e,n){var i,r;if(o.unmount&&o.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||I(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]&&A(i[r],e,n||"function"!=typeof t.type);n||null==t.__e||g(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function V(t,e,n){return this.constructor(t,n)}function N(t,e,i){var r,a,l,_;o.__&&o.__(t,e),a=(r="function"==typeof i)?null:i&&i.__k||e.__k,l=[],_=[],D(e,t=(!r&&i||e).__k=m(x,null,[t]),a||u,u,e.namespaceURI,!r&&i?[i]:a?null:e.firstChild?n.call(e.childNodes):null,l,!r&&i?i:a?a.__e:e.firstChild,r,_),T(l,t,_)}n=h.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,k.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof t&&(t=t(v({},n),this.props)),t&&v(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),w(this))},k.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),w(this))},k.prototype.render=x,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(t,e){return t.__v.__b-e.__v.__b},C.__r=0,c=0,s=E(!1),d=E(!0);var L,z,j,M,B=0,q=[],G=[],X=o,Y=X.__b,$=X.__r,J=X.diffed,K=X.__c,Q=X.unmount,Z=X.__;function tt(t,e){X.__h&&X.__h(z,t,B||e),B=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:G}),n.__[t]}function et(t){return B=1,nt(ut,t)}function nt(t,e,n){var o=tt(L++,2);if(o.t=t,!o.__c&&(o.__=[n?n(e):ut(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=z,!z.u)){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=!1;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}})),!(!a&&o.__c.props===t)&&(!r||r.call(this,t,e,n))};z.u=!0;var r=z.shouldComponentUpdate,a=z.componentWillUpdate;z.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)},z.shouldComponentUpdate=i}return o.__N||o.__}function ot(t,e){var n=tt(L++,3);!X.__s&&dt(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function it(t,e){var n=tt(L++,7);return dt(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function rt(t,e){return B=8,it((function(){return t}),e)}function at(){for(var t;t=q.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ct),t.__H.__h.forEach(st),t.__H.__h=[]}catch(e){t.__H.__h=[],X.__e(e,t.__v)}}X.__b=function(t){z=null,Y&&Y(t)},X.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Z&&Z(t,e)},X.__r=function(t){$&&$(t),L=0;var e=(z=t.__c).__H;e&&(j===z?(e.__h=[],z.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=G,t.__N=t.i=void 0}))):(e.__h.forEach(ct),e.__h.forEach(st),e.__h=[],L=0)),j=z},X.diffed=function(t){J&&J(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==q.push(e)&&M===X.requestAnimationFrame||((M=X.requestAnimationFrame)||_t)(at)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==G&&(t.__=t.__V),t.i=void 0,t.__V=G}))),j=z=null},X.__c=function(t,e){e.some((function(t){try{t.__h.forEach(ct),t.__h=t.__h.filter((function(t){return!t.__||st(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],X.__e(n,t.__v)}})),K&&K(t,e)},X.unmount=function(t){Q&&Q(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{ct(t)}catch(t){e=t}})),n.__H=void 0,e&&X.__e(e,n.__v))};var lt="function"==typeof requestAnimationFrame;function _t(t){var e,n=function(){clearTimeout(o),lt&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,100);lt&&(e=requestAnimationFrame(n))}function ct(t){var e=z,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),z=e}function st(t){var e=z;t.__c=t.__(),z=e}function dt(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function ut(t,e){return"function"==typeof e?e(t):e}var ht=Object.freeze({__proto__:null,BUILD_VERSION:"2.105.12",Component:k,Fragment:x,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.16.11",createElement:m,h:m,render:N,useCallback:rt,useEffect:ot,useMemo:it,useReducer:nt,useState:et}),ft=function(t,e){return ft=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])},ft(t,e)};function pt(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}ft(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var vt=function(){return vt=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},vt.apply(this,arguments)};function gt(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 mt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}"function"==typeof SuppressedError&&SuppressedError;var yt=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 m("image",{href:e,x:n-a/2,y:i-a/2,width:a,height:a})},xt=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=it((function(){return"FontAwesome"===s?e.Utility.faChar(u):u}),[u,s]);return m("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)},kt=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 m("circle",{r:n,fill:i,stroke:a,"stroke-width":void 0===l?1:l,"shape-rendering":t.shapeRendering})},Ft=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 m("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})},bt=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 m("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})},wt=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 m(Ft,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});case"rectangle":return m(bt,{width:null!=r?r:i,height:i,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});default:return m(kt,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s})}},Ct=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,y=void 0===g?e.Palette.textColor(l):g,k=t.padding,F=void 0===k?a/5:k,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 m(x,null,m(wt,{shape:o,width:i,height:a,fill:l,stroke:_,strokeWidth:s,shapeRendering:W,cornerRadius:R}),u?m(yt,{href:u,x:w,y:S,height:a-F}):m(xt,{x:w,y:S,height:a-F,fontFamily:f,char:v,fill:y,"font-weight":400}))},St=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 m("text",{"font-family":c,"font-size":"".concat(o,"px"),"text-anchor":r,"dominant-baseline":l,fill:d},e)},Rt=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=et(0),d=s[0],u=s[1],h=et(0),f=h[0],p=h[1];ot((function(){c&&c({width:d,height:f})}),[d,f,c]);var v=it((function(){return n.split("\n")}),[n]);u(it((function(){return e.Utility.textSize(v,a,i)}),[a,i,v]).width),p(v.length*(i+2)-2);var g=-f/2+i/2,y=it((function(){return v.map((function(t,e){return m("g",{key:e,transform:"translate(0 ".concat(g+e*(i+2),")")},m(St,{text:t,height:i,fontFamily:a,fill:_}))}))}),[_,a,i,v,g]);return m(x,null,y)},Wt=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,y=t.onSizeUpdate,k=et(0),F=k[0],b=k[1],w=et(0),C=w[0],S=w[1];ot((function(){y&&y({width:F,height:C})}),[F,C,y]);var R=rt((function(t){b(t.width),S(t.height)}),[]),W=F+2*l+p,O=C+2*l+p,P=Math.floor(o/10);return m(x,null,m(bt,{width:W,height:O,fill:c,stroke:d,strokeWidth:p,cornerRadius:g}),m("g",{transform:"translate(0 ".concat(P,")")},m(Rt,{text:e,fontFamily:r,height:o,fill:h,onSizeUpdate:R})))};function Ot(t,e,n,o){N(m(t,e),n,o)}var Pt=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return pt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=vt(vt({},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),Ot(this._component,this._props,e)},gt([e.publish({},"object","Properties"),mt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Ht=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return pt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=vt(vt({},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),Ot(this._component,this._props,e)},gt([e.publish({},"object","Properties"),mt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Et=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 m("g",{key:t,transform:"translate(".concat(e+o*a," ").concat(n,")")},m("use",{href:"#"+t}))}));return m(x,null,l)},Dt=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,y=t.annotationGutter,x=void 0===y?2:y,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=vt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},S),W=vt({text:"",fill:"white",textFill:"#555555"},W),D=D?vt({height:16,shape:"circle",padding:6,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"black",fill:"whitesmoke",stroke:"whitesmoke",strokeWidth:0},D):void 0;var I=0,A=it((function(){return e.Utility.textSize(o,g,r,!1).width}),[o,g,r]),V=0;""!==o&&(V=A+2*l+2*p);var N=(I+=V+x)-V/2,L=r+2*l+2*p,z=[];F.forEach((function(t,e){var n=t.imageChar,o=(I+=L+x)-L/2;z.push(m("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(0,")")},m(Ct,vt({},t,{shape:"square",height:L,imageChar:n,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))})),F.length>0&&(I+=x*(F.length-1));var j=m("g",{"data-click":"text",transform:"translate(".concat(N," ").concat(0,")")},P&&""!==o?m(Wt,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:w}):m("circle",{r:E,stroke:h,fill:c})),M=S.height||20,B=S.strokeWidth||0,q=0,G=L+2*x;""!==o||z.length>0?q=-M/2-B-L/2-2*x:""!==W.text&&(G=M/2+B+2*x);var X=""===W.text?null:m("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(G,")")},m(Wt,vt({fill:W.fill||"#FFFFFF",textFill:W.textFill||c},W,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:w})));return m("g",{transform:"scale(".concat(U,")")},m("g",{"data-click":"icon",transform:"translate(".concat(0," ").concat(q,")")},m(Ct,vt({},S)),D&&m("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,")")},m(Ct,vt({},D)))),m("g",{transform:"translate(".concat(-I/2," ").concat(0,")")},j,z),X)},Tt=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,y=t.annotationGutter,x=void 0===y?2:y,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,I=void 0===U?1:U,A=t.iconBorderColor,V=void 0===A?"#333":A,N=t.iconBackgroundColor,L=void 0===N?"#fff":N,z=t.iconFontColor,j=void 0===z?"#000":z,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,rt=void 0===ot?"?":ot,at=t.shapeRendering,lt=void 0===at?"auto":at;W=vt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},W),P=vt({text:"",fill:"white",textFill:"#555555"},P);var _t=it((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(m("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(r," ").concat(0,")")},m(Ct,vt({},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 gt=[];w.forEach((function(t,e){var n,o=t.shapeOffsetX,i=t.shapeOffsetY;gt.push(m("g",{key:e,class:"vertex3-iconAnno","data-click":"icon-annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(i,")")},m(Ct,vt({},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=m("g",{"data-click":"text",transform:"translate(".concat(dt," ").concat(0,")")},E&&""!==o?m(Wt,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:S}):m("circle",{r:T,stroke:h,fill:c})),yt=ut+2*x,xt=""===P.text?null:m("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(yt,")")},m(Wt,vt({fill:P.fill||"#FFFFFF",textFill:P.textFill||c},P,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:S})));return m("g",null,m("g",{"data-click":"icon",transform:"translate(".concat(Y," ").concat(J,")")},m(Ct,vt({},W,{strokeWidth:I,shape:"circle",height:B,fill:L,stroke:V,imageFontFamily:G,imageChar:rt,imageCharFill:j,padding:nt,xOffset:Q,yOffset:tt,cornerRadius:S,shapeRendering:lt})),gt),m("g",{transform:"translate(".concat(-st/2," ").concat(0,")")},mt,ft),xt)};t.Annotations=Et,t.BUILD_VERSION="2.105.12",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,y=t.textFontFamily,x=void 0===y?"Verdana":y,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=vt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},R),O=vt({text:"",fill:"transparent",textFill:"#555555"},O),m(Dt,vt({},{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,y=t.textFontFamily,x=void 0===y?"Verdana":y,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,I=t.iconBorderWidth,A=void 0===I?1:I,V=t.iconBorderColor,N=void 0===V?"#333":V,L=t.iconBackgroundColor,z=void 0===L?"#fff":L,j=t.iconFontColor,M=void 0===j?"#000":j,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=vt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},O),H=vt({text:"",fill:"transparent",textFill:"#555555"},H),m(Tt,vt({},{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:A,iconBorderColor:N,iconBackgroundColor:z,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=kt,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 m(x,null,m("path",{d:t.path,stroke:t.stroke,style:{strokeWidth:t.strokeWidth,strokeDasharray:t.strokeDasharray}}),e&&n&&2===n.length?m("g",{transform:"translate(".concat(n[0]," ").concat(n[1],")")},m(Rt,{text:e,fill:i,height:a})):void 0)},t.HTMLAdapter=Pt,t.Icon=Ct,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,y=t.textFill,k=void 0===y?"black":y,F=t.strokeWidth,b=void 0===F?1:F,w=t.cornerRadius,C=void 0===w?0:w;return t.onSizeUpdate,m(x,null,m(bt,{width:l,height:r,fill:p,stroke:g,strokeWidth:b,cornerRadius:C}),m("g",{transform:"translate(".concat(-l/2+h," ").concat(-r/2+h,")")},m(Ct,{shape:"square",imageFontFamily:n,imageChar:e,height:r,fill:p,imageCharFill:k})),m("g",{transform:"translate(".concat(-l/2+2*h+r," ").concat(-r/2+h,")")},m(St,{text:o,fontFamily:c,height:d,fill:k,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map((function(t){return m("g",{key:t.id,id:t.id},m(Ct,vt({},t)))}));return m(x,null,n)},t.ImageChar=xt,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,y=t.strokeWidth,k=void 0===y?1:y,F=t.cornerRadius,b=void 0===F?0:F;return t.onSizeUpdate,m(x,null,m(bt,{width:r,height:o,fill:h,stroke:p,strokeWidth:k,cornerRadius:b}),m("g",{transform:"translate(".concat(-r/2+d," ").concat(-o/2+d,")")},m(St,{text:e,fontFamily:l,height:c,fill:g,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.53.17",t.React=ht,t.Rectangle=bt,t.SVGAdapter=Ht,t.Shape=wt,t.Square=Ft,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 m(x,null,m(bt,{width:i,height:a,fill:_,stroke:s}),m("g",{transform:"translate(".concat((-i+f.width)/2+4," ").concat((-a+f.height)/2+4,")")},m(Rt,{height:u,text:n,fontFamily:h})))},t.Text=Rt,t.TextBox=Wt,t.TextLine=St,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,y=t.textFontFamily,x=t.onSizeUpdate,k=t.showLabel,F=void 0===k||k,b=t.scale,w=void 0===b?1:b,C=et(0),S=C[0],R=C[1],W=et(0),O=W[0],P=W[1];ot((function(){x&&x({width:0,height:0})}),[S,O,x]);var H=S;H+=4;var E=-(2*(s=vt({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=rt((function(t){R(t.width),P(t.height)}),[]),I=F?m("g",{transform:"translate(0 ".concat(D,")")},m(Wt,{text:i,height:a,padding:_,onSizeUpdate:U,textFill:p,fill:v,stroke:g,fontFamily:y})):void 0;return n?m("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},m("use",{href:"#"+n}),I,m(Et,{x:H/2,y:T,annotationIDs:f})):m("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},m(Ct,vt({},s)),I)},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,y=t.textFontFamily,k=t.annotationsHeight,F=void 0===k?12:k,b=t.annotationIDs,w=void 0===b?[]:b;d=vt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},d);var C=l+2*c,S=it((function(){return e.Utility.textSize(r,y,l,!1)}),[r,y,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?m("g",{transform:"translate(".concat(0," ").concat(O,")")},m("g",{transform:"translate(".concat(P," ").concat(0,")")},m("use",{href:"#"+o})),m("g",{transform:"translate(".concat(H," ").concat(E,")")},m(Wt,{text:r,height:l,padding:c,strokeWidth:1,stroke:g,fill:p,textFill:h,fontFamily:y})),m(Et,{x:D,y:T,annotationIDs:w,stepSize:R})):m(x,null,m("g",{transform:"translate(".concat(P," ").concat(0,")scale(1.0002)")},m(Ct,vt({},d,{shape:"square"}))),m("g",{transform:"translate(".concat(H," ").concat(E,")scale(1.0002)")},m(Wt,{text:r,height:l,padding:c,stroke:g,fill:p})))},t.Vertex3=Dt,t.Vertex4=Tt,t.render=Ot,t.svgRender=function(t,e,n,o){N(m("svg",null,m(t,e)),n,o)}}));
!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=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function v(t,e){for(var n in e)t[n]=e[n];return t}function g(t){var e=t.parentNode;e&&e.removeChild(t)}function m(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 y(t,l,i,r,null)}function y(t,e,n,r,a){var l={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__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 x(t){return t.children}function k(t,e){this.props=t,this.context=e}function F(t,e){if(null==e)return t.__?F(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?F(t):null}function b(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 b(t)}}function w(t){(!t.__d&&(t.__d=!0)&&r.push(t)&&!C.__r++||a!==o.debounceRendering)&&((a=o.debounceRendering)||l)(C)}function C(){var t,e,n,i,a,l,c,s;for(r.sort(_);t=r.shift();)t.__d&&(e=r.length,i=void 0,l=(a=(n=t).__v).__e,c=[],s=[],n.__P&&((i=v({},a)).__v=a.__v+1,o.vnode&&o.vnode(i),D(n.__P,i,a,n.__n,n.__P.namespaceURI,32&a.__u?[l]:null,c,null==l?F(a):l,!!(32&a.__u),s),i.__v=a.__v,i.__.__k[i.__i]=i,T(c,i,s),i.__e!=l&&b(i)),r.length>e&&r.sort(_));C.__r=0}function S(t,e,n,o,i,r,a,l,_,c,s){var d,f,p,v,g,m=o&&o.__k||h,y=e.length;for(n.__d=_,R(n,e,m),_=n.__d,d=0;d<y;d++)null!=(p=n.__k[d])&&"boolean"!=typeof p&&"function"!=typeof p&&(f=-1===p.__i?u:m[p.__i]||u,p.__i=d,D(t,p,f,i,r,a,l,_,c,s),v=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&I(f.ref,null,p),s.push(p.ref,p.__c||v,p)),null==g&&null!=v&&(g=v),65536&p.__u||f.__k===p.__k?(_&&!_.isConnected&&(_=F(f)),_=W(p,_,t)):"function"==typeof p.type&&void 0!==p.__d?_=p.__d:v&&(_=v.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=_,n.__e=g}function R(t,e,n){var o,i,r,a,l,_=e.length,c=n.length,s=c,d=0;for(t.__k=[],o=0;o<_;o++)a=o+d,null!=(i=t.__k[o]=null==(i=e[o])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?y(null,i,null,null,null):p(i)?y(x,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?y(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=t,i.__b=t.__b+1,l=O(i,n,a,s),i.__i=l,r=null,-1!==l&&(s--,(r=n[l])&&(r.__u|=131072)),null==r||null===r.__v?(-1==l&&d--,"function"!=typeof i.type&&(i.__u|=65536)):l!==a&&(l===a+1?d++:l>a?s>_-a?d+=l-a:d--:l<a?l==a-1&&(d=l-a):d=0,l!==o+d&&(i.__u|=65536))):(r=n[a])&&null==r.key&&r.__e&&!(131072&r.__u)&&(r.__e==t.__d&&(t.__d=F(r)),A(r,r,!1),n[a]=null,s--);if(s)for(o=0;o<c;o++)null!=(r=n[o])&&!(131072&r.__u)&&(r.__e==t.__d&&(t.__d=F(r)),A(r,r))}function W(t,e,n){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,e=W(o[i],e,n));return e}t.__e!=e&&(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=t.key,r=t.type,a=n-1,l=n+1,_=e[n];if(null===_||_&&i==_.key&&r===_.type&&!(131072&_.__u))return n;if(o>(null==_||131072&_.__u?0:1))for(;a>=0||l<e.length;){if(a>=0){if((_=e[a])&&!(131072&_.__u)&&i==_.key&&r===_.type)return a;a--}if(l<e.length){if((_=e[l])&&!(131072&_.__u)&&i==_.key&&r===_.type)return l;l++}}return-1}function P(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||f.test(e)?n:n+"px"}function H(t,e,n,o,i){var r;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(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||"onFocusOut"===e||"onFocusIn"===e?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+r]=n,n?o?n.u=o.u:(n.u=c,t.addEventListener(e,r?d:s,r)):t.removeEventListener(e,r?d:s,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&&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,n))}}function E(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=c++;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,g,m,y,F,b,w,C,R,W,O,P,H=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 H)try{if(F=e.props,b=(d=H.contextType)&&i[d.__c],w=d?b?b.props.value:d.__:i,n.__c?y=(u=e.__c=n.__c).__=u.__E:("prototype"in H&&H.prototype.render?e.__c=u=new H(F,w):(e.__c=u=new k(F,w),u.constructor=H,u.render=V),b&&b.sub(u),u.props=F,u.state||(u.state={}),u.context=w,u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=H.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=v({},u.__s)),v(u.__s,H.getDerivedStateFromProps(F,u.__s))),f=u.props,g=u.state,u.__v=e,h)null==H.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==H.getDerivedStateFromProps&&F!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(F,w),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(F,u.__s,w)||e.__v===n.__v)){for(e.__v!==n.__v&&(u.props=F,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&l.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(F,u.__s,w),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(f,g,m)}))}if(u.context=w,u.props=F,u.__P=t,u.__e=!1,R=o.__r,W=0,"prototype"in H&&H.prototype.render){for(u.state=u.__s,u.__d=!1,R&&R(e),d=u.render(u.props,u.state,u.context),O=0;O<u._sb.length;O++)u.__h.push(u._sb[O]);u._sb=[]}else do{u.__d=!1,R&&R(e),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++W<25);u.state=u.__s,null!=u.getChildContext&&(i=v(v({},i),u.getChildContext())),h||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(f,g)),S(t,p(P=null!=d&&d.type===x&&null==d.key?d.props.children:d)?P:[P],e,n,i,r,a,l,_,c,s),u.base=e.__e,e.__u&=-161,u.__h.length&&l.push(u),y&&(u.__E=u.__=null)}catch(t){e.__v=null,c||null!=a?(e.__e=_,e.__u|=c?160:32,a[a.indexOf(_)]=null):(e.__e=n.__e,e.__k=n.__k),o.__e(t,e,n)}else null==a&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=U(n.__e,e,n,i,r,a,l,c,s);(d=o.diffed)&&d(e)}function T(t,e,n){e.__d=void 0;for(var i=0;i<n.length;i++)I(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 U(t,e,o,i,r,a,l,_,c){var s,d,h,f,v,m,y,x=o.props,k=e.props,b=e.type;if("svg"===b?r="http://www.w3.org/2000/svg":"math"===b?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=a)for(s=0;s<a.length;s++)if((v=a[s])&&"setAttribute"in v==!!b&&(b?v.localName===b:3===v.nodeType)){t=v,a[s]=null;break}if(null==t){if(null===b)return document.createTextNode(k);t=document.createElementNS(r,b,k.is&&k),a=null,_=!1}if(null===b)x===k||_&&t.data===k||(t.data=k);else{if(a=a&&n.call(t.childNodes),x=o.props||u,!_&&null!=a)for(x={},s=0;s<t.attributes.length;s++)x[(v=t.attributes[s]).name]=v.value;for(s in x)if(v=x[s],"children"==s);else if("dangerouslySetInnerHTML"==s)h=v;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;H(t,s,null,v,r)}for(s in k)v=k[s],"children"==s?f=v:"dangerouslySetInnerHTML"==s?d=v:"value"==s?m=v:"checked"==s?y=v:"key"===s||_&&"function"!=typeof v||x[s]===v||H(t,s,v,x[s],r);if(d)_||h&&(d.__html===h.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(h&&(t.innerHTML=""),S(t,p(f)?f:[f],e,o,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":r,a,l,a?a[0]:o.__k&&F(o,0),_,c),null!=a)for(s=a.length;s--;)null!=a[s]&&g(a[s]);_||(s="value",void 0!==m&&(m!==t[s]||"progress"===b&&!m||"option"===b&&m!==x[s])&&H(t,s,m,x[s],r),s="checked",void 0!==y&&y!==t[s]&&H(t,s,y,x[s],r))}return t}function I(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function A(t,e,n){var i,r;if(o.unmount&&o.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||I(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]&&A(i[r],e,n||"function"!=typeof t.type);n||null==t.__e||g(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function V(t,e,n){return this.constructor(t,n)}function N(t,e,i){var r,a,l,_;o.__&&o.__(t,e),a=(r="function"==typeof i)?null:i&&i.__k||e.__k,l=[],_=[],D(e,t=(!r&&i||e).__k=m(x,null,[t]),a||u,u,e.namespaceURI,!r&&i?[i]:a?null:e.firstChild?n.call(e.childNodes):null,l,!r&&i?i:a?a.__e:e.firstChild,r,_),T(l,t,_)}n=h.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,k.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof t&&(t=t(v({},n),this.props)),t&&v(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),w(this))},k.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),w(this))},k.prototype.render=x,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(t,e){return t.__v.__b-e.__v.__b},C.__r=0,c=0,s=E(!1),d=E(!0);var L,z,j,M,B=0,q=[],G=[],X=o,Y=X.__b,$=X.__r,J=X.diffed,K=X.__c,Q=X.unmount,Z=X.__;function tt(t,e){X.__h&&X.__h(z,t,B||e),B=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:G}),n.__[t]}function et(t){return B=1,nt(ut,t)}function nt(t,e,n){var o=tt(L++,2);if(o.t=t,!o.__c&&(o.__=[n?n(e):ut(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=z,!z.u)){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=!1;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}})),!(!a&&o.__c.props===t)&&(!r||r.call(this,t,e,n))};z.u=!0;var r=z.shouldComponentUpdate,a=z.componentWillUpdate;z.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)},z.shouldComponentUpdate=i}return o.__N||o.__}function ot(t,e){var n=tt(L++,3);!X.__s&&dt(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function it(t,e){var n=tt(L++,7);return dt(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function rt(t,e){return B=8,it((function(){return t}),e)}function at(){for(var t;t=q.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ct),t.__H.__h.forEach(st),t.__H.__h=[]}catch(e){t.__H.__h=[],X.__e(e,t.__v)}}X.__b=function(t){z=null,Y&&Y(t)},X.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Z&&Z(t,e)},X.__r=function(t){$&&$(t),L=0;var e=(z=t.__c).__H;e&&(j===z?(e.__h=[],z.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=G,t.__N=t.i=void 0}))):(e.__h.forEach(ct),e.__h.forEach(st),e.__h=[],L=0)),j=z},X.diffed=function(t){J&&J(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==q.push(e)&&M===X.requestAnimationFrame||((M=X.requestAnimationFrame)||_t)(at)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==G&&(t.__=t.__V),t.i=void 0,t.__V=G}))),j=z=null},X.__c=function(t,e){e.some((function(t){try{t.__h.forEach(ct),t.__h=t.__h.filter((function(t){return!t.__||st(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],X.__e(n,t.__v)}})),K&&K(t,e)},X.unmount=function(t){Q&&Q(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{ct(t)}catch(t){e=t}})),n.__H=void 0,e&&X.__e(e,n.__v))};var lt="function"==typeof requestAnimationFrame;function _t(t){var e,n=function(){clearTimeout(o),lt&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,100);lt&&(e=requestAnimationFrame(n))}function ct(t){var e=z,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),z=e}function st(t){var e=z;t.__c=t.__(),z=e}function dt(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function ut(t,e){return"function"==typeof e?e(t):e}var ht=Object.freeze({__proto__:null,BUILD_VERSION:"2.106.0",Component:k,Fragment:x,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.17.0",createElement:m,h:m,render:N,useCallback:rt,useEffect:ot,useMemo:it,useReducer:nt,useState:et}),ft=function(t,e){return ft=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])},ft(t,e)};function pt(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}ft(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var vt=function(){return vt=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},vt.apply(this,arguments)};function gt(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 mt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}"function"==typeof SuppressedError&&SuppressedError;var yt=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 m("image",{href:e,x:n-a/2,y:i-a/2,width:a,height:a})},xt=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=it((function(){return"FontAwesome"===s?e.Utility.faChar(u):u}),[u,s]);return m("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)},kt=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 m("circle",{r:n,fill:i,stroke:a,"stroke-width":void 0===l?1:l,"shape-rendering":t.shapeRendering})},Ft=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 m("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})},bt=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 m("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})},wt=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 m(Ft,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});case"rectangle":return m(bt,{width:null!=r?r:i,height:i,fill:a,stroke:l,strokeWidth:c,shapeRendering:s,cornerRadius:d});default:return m(kt,{radius:i/2,fill:a,stroke:l,strokeWidth:c,shapeRendering:s})}},Ct=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,y=void 0===g?e.Palette.textColor(l):g,k=t.padding,F=void 0===k?a/5:k,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 m(x,null,m(wt,{shape:o,width:i,height:a,fill:l,stroke:_,strokeWidth:s,shapeRendering:W,cornerRadius:R}),u?m(yt,{href:u,x:w,y:S,height:a-F}):m(xt,{x:w,y:S,height:a-F,fontFamily:f,char:v,fill:y,"font-weight":400}))},St=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 m("text",{"font-family":c,"font-size":"".concat(o,"px"),"text-anchor":r,"dominant-baseline":l,fill:d},e)},Rt=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=et(0),d=s[0],u=s[1],h=et(0),f=h[0],p=h[1];ot((function(){c&&c({width:d,height:f})}),[d,f,c]);var v=it((function(){return n.split("\n")}),[n]);u(it((function(){return e.Utility.textSize(v,a,i)}),[a,i,v]).width),p(v.length*(i+2)-2);var g=-f/2+i/2,y=it((function(){return v.map((function(t,e){return m("g",{key:e,transform:"translate(0 ".concat(g+e*(i+2),")")},m(St,{text:t,height:i,fontFamily:a,fill:_}))}))}),[_,a,i,v,g]);return m(x,null,y)},Wt=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,y=t.onSizeUpdate,k=et(0),F=k[0],b=k[1],w=et(0),C=w[0],S=w[1];ot((function(){y&&y({width:F,height:C})}),[F,C,y]);var R=rt((function(t){b(t.width),S(t.height)}),[]),W=F+2*l+p,O=C+2*l+p,P=Math.floor(o/10);return m(x,null,m(bt,{width:W,height:O,fill:c,stroke:d,strokeWidth:p,cornerRadius:g}),m("g",{transform:"translate(0 ".concat(P,")")},m(Rt,{text:e,fontFamily:r,height:o,fill:h,onSizeUpdate:R})))};function Ot(t,e,n,o){N(m(t,e),n,o)}var Pt=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return pt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=vt(vt({},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),Ot(this._component,this._props,e)},gt([e.publish({},"object","Properties"),mt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Ht=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return pt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=vt(vt({},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),Ot(this._component,this._props,e)},gt([e.publish({},"object","Properties"),mt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Et=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 m("g",{key:t,transform:"translate(".concat(e+o*a," ").concat(n,")")},m("use",{href:"#"+t}))}));return m(x,null,l)},Dt=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,y=t.annotationGutter,x=void 0===y?2:y,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=vt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},S),W=vt({text:"",fill:"white",textFill:"#555555"},W),D=D?vt({height:16,shape:"circle",padding:6,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"black",fill:"whitesmoke",stroke:"whitesmoke",strokeWidth:0},D):void 0;var I=0,A=it((function(){return e.Utility.textSize(o,g,r,!1).width}),[o,g,r]),V=0;""!==o&&(V=A+2*l+2*p);var N=(I+=V+x)-V/2,L=r+2*l+2*p,z=[];F.forEach((function(t,e){var n=t.imageChar,o=(I+=L+x)-L/2;z.push(m("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(0,")")},m(Ct,vt({},t,{shape:"square",height:L,imageChar:n,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))})),F.length>0&&(I+=x*(F.length-1));var j=m("g",{"data-click":"text",transform:"translate(".concat(N," ").concat(0,")")},P&&""!==o?m(Wt,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:w}):m("circle",{r:E,stroke:h,fill:c})),M=S.height||20,B=S.strokeWidth||0,q=0,G=L+2*x;""!==o||z.length>0?q=-M/2-B-L/2-2*x:""!==W.text&&(G=M/2+B+2*x);var X=""===W.text?null:m("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(G,")")},m(Wt,vt({fill:W.fill||"#FFFFFF",textFill:W.textFill||c},W,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:w})));return m("g",{transform:"scale(".concat(U,")")},m("g",{"data-click":"icon",transform:"translate(".concat(0," ").concat(q,")")},m(Ct,vt({},S)),D&&m("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,")")},m(Ct,vt({},D)))),m("g",{transform:"translate(".concat(-I/2," ").concat(0,")")},j,z),X)},Tt=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,y=t.annotationGutter,x=void 0===y?2:y,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,I=void 0===U?1:U,A=t.iconBorderColor,V=void 0===A?"#333":A,N=t.iconBackgroundColor,L=void 0===N?"#fff":N,z=t.iconFontColor,j=void 0===z?"#000":z,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,rt=void 0===ot?"?":ot,at=t.shapeRendering,lt=void 0===at?"auto":at;W=vt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},W),P=vt({text:"",fill:"white",textFill:"#555555"},P);var _t=it((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(m("g",{key:e,class:"vertex3-anno","data-click":"annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(r," ").concat(0,")")},m(Ct,vt({},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 gt=[];w.forEach((function(t,e){var n,o=t.shapeOffsetX,i=t.shapeOffsetY;gt.push(m("g",{key:e,class:"vertex3-iconAnno","data-click":"icon-annotation","data-click-data":JSON.stringify(t),transform:"translate(".concat(o," ").concat(i,")")},m(Ct,vt({},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=m("g",{"data-click":"text",transform:"translate(".concat(dt," ").concat(0,")")},E&&""!==o?m(Wt,{text:o,height:r,padding:l,strokeWidth:p,stroke:h,fill:d,textFill:c,fontFamily:g,cornerRadius:S}):m("circle",{r:T,stroke:h,fill:c})),yt=ut+2*x,xt=""===P.text?null:m("g",{"data-click":"subtext",transform:"translate(".concat(0," ").concat(yt,")")},m(Wt,vt({fill:P.fill||"#FFFFFF",textFill:P.textFill||c},P,{height:r,padding:l,strokeWidth:0,stroke:h,fontFamily:g,cornerRadius:S})));return m("g",null,m("g",{"data-click":"icon",transform:"translate(".concat(Y," ").concat(J,")")},m(Ct,vt({},W,{strokeWidth:I,shape:"circle",height:B,fill:L,stroke:V,imageFontFamily:G,imageChar:rt,imageCharFill:j,padding:nt,xOffset:Q,yOffset:tt,cornerRadius:S,shapeRendering:lt})),gt),m("g",{transform:"translate(".concat(-st/2," ").concat(0,")")},mt,ft),xt)};t.Annotations=Et,t.BUILD_VERSION="2.106.0",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,y=t.textFontFamily,x=void 0===y?"Verdana":y,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=vt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},R),O=vt({text:"",fill:"transparent",textFill:"#555555"},O),m(Dt,vt({},{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,y=t.textFontFamily,x=void 0===y?"Verdana":y,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,I=t.iconBorderWidth,A=void 0===I?1:I,V=t.iconBorderColor,N=void 0===V?"#333":V,L=t.iconBackgroundColor,z=void 0===L?"#fff":L,j=t.iconFontColor,M=void 0===j?"#000":j,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=vt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},O),H=vt({text:"",fill:"transparent",textFill:"#555555"},H),m(Tt,vt({},{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:A,iconBorderColor:N,iconBackgroundColor:z,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=kt,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 m(x,null,m("path",{d:t.path,stroke:t.stroke,style:{strokeWidth:t.strokeWidth,strokeDasharray:t.strokeDasharray}}),e&&n&&2===n.length?m("g",{transform:"translate(".concat(n[0]," ").concat(n[1],")")},m(Rt,{text:e,fill:i,height:a})):void 0)},t.HTMLAdapter=Pt,t.Icon=Ct,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,y=t.textFill,k=void 0===y?"black":y,F=t.strokeWidth,b=void 0===F?1:F,w=t.cornerRadius,C=void 0===w?0:w;return t.onSizeUpdate,m(x,null,m(bt,{width:l,height:r,fill:p,stroke:g,strokeWidth:b,cornerRadius:C}),m("g",{transform:"translate(".concat(-l/2+h," ").concat(-r/2+h,")")},m(Ct,{shape:"square",imageFontFamily:n,imageChar:e,height:r,fill:p,imageCharFill:k})),m("g",{transform:"translate(".concat(-l/2+2*h+r," ").concat(-r/2+h,")")},m(St,{text:o,fontFamily:c,height:d,fill:k,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map((function(t){return m("g",{key:t.id,id:t.id},m(Ct,vt({},t)))}));return m(x,null,n)},t.ImageChar=xt,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,y=t.strokeWidth,k=void 0===y?1:y,F=t.cornerRadius,b=void 0===F?0:F;return t.onSizeUpdate,m(x,null,m(bt,{width:r,height:o,fill:h,stroke:p,strokeWidth:k,cornerRadius:b}),m("g",{transform:"translate(".concat(-r/2+d," ").concat(-o/2+d,")")},m(St,{text:e,fontFamily:l,height:c,fill:g,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.54.0",t.React=ht,t.Rectangle=bt,t.SVGAdapter=Ht,t.Shape=wt,t.Square=Ft,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 m(x,null,m(bt,{width:i,height:a,fill:_,stroke:s}),m("g",{transform:"translate(".concat((-i+f.width)/2+4," ").concat((-a+f.height)/2+4,")")},m(Rt,{height:u,text:n,fontFamily:h})))},t.Text=Rt,t.TextBox=Wt,t.TextLine=St,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,y=t.textFontFamily,x=t.onSizeUpdate,k=t.showLabel,F=void 0===k||k,b=t.scale,w=void 0===b?1:b,C=et(0),S=C[0],R=C[1],W=et(0),O=W[0],P=W[1];ot((function(){x&&x({width:0,height:0})}),[S,O,x]);var H=S;H+=4;var E=-(2*(s=vt({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=rt((function(t){R(t.width),P(t.height)}),[]),I=F?m("g",{transform:"translate(0 ".concat(D,")")},m(Wt,{text:i,height:a,padding:_,onSizeUpdate:U,textFill:p,fill:v,stroke:g,fontFamily:y})):void 0;return n?m("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},m("use",{href:"#"+n}),I,m(Et,{x:H/2,y:T,annotationIDs:f})):m("g",{transform:"translate(0 ".concat(E,") scale(").concat(w,")")},m(Ct,vt({},s)),I)},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,y=t.textFontFamily,k=t.annotationsHeight,F=void 0===k?12:k,b=t.annotationIDs,w=void 0===b?[]:b;d=vt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},d);var C=l+2*c,S=it((function(){return e.Utility.textSize(r,y,l,!1)}),[r,y,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?m("g",{transform:"translate(".concat(0," ").concat(O,")")},m("g",{transform:"translate(".concat(P," ").concat(0,")")},m("use",{href:"#"+o})),m("g",{transform:"translate(".concat(H," ").concat(E,")")},m(Wt,{text:r,height:l,padding:c,strokeWidth:1,stroke:g,fill:p,textFill:h,fontFamily:y})),m(Et,{x:D,y:T,annotationIDs:w,stepSize:R})):m(x,null,m("g",{transform:"translate(".concat(P," ").concat(0,")scale(1.0002)")},m(Ct,vt({},d,{shape:"square"}))),m("g",{transform:"translate(".concat(H," ").concat(E,")scale(1.0002)")},m(Wt,{text:r,height:l,padding:c,stroke:g,fill:p})))},t.Vertex3=Dt,t.Vertex4=Tt,t.render=Ot,t.svgRender=function(t,e,n,o){N(m("svg",null,m(t,e)),n,o)}}));
//# sourceMappingURL=index.min.js.map
{
"name": "@hpcc-js/react",
"version": "2.53.17",
"version": "2.54.0",
"description": "hpcc-js - Viz React",

@@ -41,7 +41,7 @@ "main": "dist/index.js",

"dependencies": {
"@hpcc-js/common": "^2.71.18",
"@hpcc-js/preact-shim": "^2.16.11"
"@hpcc-js/common": "^2.72.0",
"@hpcc-js/preact-shim": "^2.17.0"
},
"devDependencies": {
"@hpcc-js/bundle": "^2.11.5",
"@hpcc-js/bundle": "^2.12.0",
"tslib": "2.6.3"

@@ -60,3 +60,3 @@ },

"homepage": "https://github.com/hpcc-systems/Visualization",
"gitHead": "af1635cb20805f16790f241a2cf2baeb2ba1ad77"
"gitHead": "99332f074dd1fff0cbb8eae52c5b6c98d6ad5a7a"
}
export const PKG_NAME = "@hpcc-js/react";
export const PKG_VERSION = "2.53.17";
export const BUILD_VERSION = "2.105.12";
export const PKG_VERSION = "2.54.0";
export const BUILD_VERSION = "2.106.0";
export declare const PKG_NAME = "@hpcc-js/react";
export declare const PKG_VERSION = "2.53.17";
export declare const BUILD_VERSION = "2.105.12";
export declare const PKG_VERSION = "2.54.0";
export declare const BUILD_VERSION = "2.106.0";
//# sourceMappingURL=__package__.d.ts.map
export declare const PKG_NAME = "@hpcc-js/react";
export declare const PKG_VERSION = "2.53.17";
export declare const BUILD_VERSION = "2.105.12";
export declare const PKG_VERSION = "2.54.0";
export declare const BUILD_VERSION = "2.106.0";
//# sourceMappingURL=__package__.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc