@hpcc-js/preact-shim
Advanced tools
var PKG_NAME = "@hpcc-js/preact-shim"; | ||
var PKG_VERSION = "2.16.1"; | ||
var BUILD_VERSION = "2.104.2"; | ||
var PKG_VERSION = "2.16.2"; | ||
var BUILD_VERSION = "2.104.5"; | ||
var n,l$1,u$1,t$1,o$1,f$1={},e$1=[],c$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function h$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$1(l,f,t,o,null)}function v$1(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function p$1(n){return n.children}function d$1(n,l){this.props=n,this.context=l;}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+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?_(n):null}function k$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 k$1(n)}}function b$1(n){(!n.__d&&(n.__d=!0)&&t$1.push(n)&&!g$1.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(g$1);}function g$1(){for(var n;g$1.__r=t$1.length;)n=t$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),t$1=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s({},t)).__v=t.__v+1,j$1(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),z$1(u,t),t.__e!=o&&k$1(t)));});}function w$1(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e$1,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$1(null,k,null,null,k):Array.isArray(k)?v$1(p$1,{children:k},null,null,null):k.__b>0?v$1(k.type,k.props,k.key,null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null;}j$1(n,k,d=d||f$1,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m$1(k,s,n):s=A(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&("function"==typeof u.type&&null!=x[h].__e&&x[h].__e==u.__d&&(u.__d=_(i,h+1)),N(x[h],x[h]));if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h]);}function m$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m$1(i,l,u):A(u,i,i,t,i.__e,l));return l}function A(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$1.test(l)?u:u+"px";}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I,o):n.removeEventListener(l,o?T$1:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function T$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function j$1(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,m=(a=H.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in H&&H.prototype.render?u.__c=h=new H(g,x):(u.__c=h=new d$1(g,x),h.constructor=H,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,H.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k);});}if(h.context=x,h.props=g,h.__v=u,h.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)h.state=h.__s,h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),$=null!=a&&a.type===p$1&&null==a.key?a.props.children:a,w$1(n,Array.isArray($)?$:[$],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,i);}}function z$1(n,u){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 L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),h=(y=i.props||f$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w$1(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1));}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function N(n,u,i){var t,o;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||a$1(n.__e),n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l$1.__&&l$1.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j$1(i,u=(!o&&t||i).__k=h$1(p$1,null,[u]),r||f$1,f$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z$1(e,u);}n=e$1.slice,l$1={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,d$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),b$1(this));},d$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b$1(this));},d$1.prototype.render=p$1,t$1=[],g$1.__r=0; | ||
var t,r,u,i,o=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:f}),i.__[t]}function p(n){return o=1,y(z,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):z(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var c=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});return u.every(function(n){return !n.__N})?!c||c.call(this,n,t,r):!u.every(function(n){if(!n.__N)return !0;var t=n.__[0];return n.__=n.__N,n.__N=void 0,t===n.__[0]})&&(!c||c.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function F(n,r){var u=d(t++,7);return w(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function b(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=f,n.__N=n.i=void 0;})):(i.__h.forEach(j),i.__h.forEach(k),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==c.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||function(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));})(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==f&&(n.__=n.__V),n.i=void 0,n.__V=f;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{j(n);}catch(n){r=n;}}),r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function k(n){var t=r;n.__c=n.__(),r=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function z(n,t){return "function"==typeof t?t(n):t} | ||
var t,r,u,i,o=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:f}),i.__[t]}function p(n){return o=1,y(z,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):z(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var c=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!!i&&(!c||c.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function F(n,r){var u=d(t++,7);return w(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function b(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=f,n.__N=n.i=void 0;})):(i.__h.forEach(j),i.__h.forEach(k),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==c.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||function(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));})(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==f&&(n.__=n.__V),n.i=void 0,n.__V=f;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{j(n);}catch(n){r=n;}}),r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function k(n){var t=r;n.__c=n.__(),r=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function z(n,t){return "function"==typeof t?t(n):t} | ||
export { BUILD_VERSION, d$1 as Component, p$1 as Fragment, PKG_NAME, PKG_VERSION, h$1 as createElement, h$1 as h, P as render, T as useCallback, h as useEffect, F as useMemo, y as useReducer, p as useState }; | ||
//# sourceMappingURL=index.es6.js.map |
@@ -8,8 +8,8 @@ (function (global, factory) { | ||
var PKG_NAME = "@hpcc-js/preact-shim"; | ||
var PKG_VERSION = "2.16.1"; | ||
var BUILD_VERSION = "2.104.2"; | ||
var PKG_VERSION = "2.16.2"; | ||
var BUILD_VERSION = "2.104.5"; | ||
var n,l$1,u$1,t$1,o$1,f$1={},e$1=[],c$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function h$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$1(l,f,t,o,null)}function v$1(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function p$1(n){return n.children}function d$1(n,l){this.props=n,this.context=l;}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+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?_(n):null}function k$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 k$1(n)}}function b$1(n){(!n.__d&&(n.__d=!0)&&t$1.push(n)&&!g$1.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(g$1);}function g$1(){for(var n;g$1.__r=t$1.length;)n=t$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),t$1=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s({},t)).__v=t.__v+1,j$1(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),z$1(u,t),t.__e!=o&&k$1(t)));});}function w$1(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e$1,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$1(null,k,null,null,k):Array.isArray(k)?v$1(p$1,{children:k},null,null,null):k.__b>0?v$1(k.type,k.props,k.key,null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null;}j$1(n,k,d=d||f$1,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m$1(k,s,n):s=A(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&("function"==typeof u.type&&null!=x[h].__e&&x[h].__e==u.__d&&(u.__d=_(i,h+1)),N(x[h],x[h]));if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h]);}function m$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m$1(i,l,u):A(u,i,i,t,i.__e,l));return l}function A(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$1.test(l)?u:u+"px";}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I,o):n.removeEventListener(l,o?T$1:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function T$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function j$1(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,m=(a=H.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in H&&H.prototype.render?u.__c=h=new H(g,x):(u.__c=h=new d$1(g,x),h.constructor=H,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,H.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k);});}if(h.context=x,h.props=g,h.__v=u,h.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)h.state=h.__s,h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),$=null!=a&&a.type===p$1&&null==a.key?a.props.children:a,w$1(n,Array.isArray($)?$:[$],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,i);}}function z$1(n,u){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 L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),h=(y=i.props||f$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w$1(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1));}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function N(n,u,i){var t,o;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||a$1(n.__e),n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l$1.__&&l$1.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j$1(i,u=(!o&&t||i).__k=h$1(p$1,null,[u]),r||f$1,f$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z$1(e,u);}n=e$1.slice,l$1={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,d$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),b$1(this));},d$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b$1(this));},d$1.prototype.render=p$1,t$1=[],g$1.__r=0; | ||
var t,r,u,i,o=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:f}),i.__[t]}function p(n){return o=1,y(z,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):z(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var c=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});return u.every(function(n){return !n.__N})?!c||c.call(this,n,t,r):!u.every(function(n){if(!n.__N)return !0;var t=n.__[0];return n.__=n.__N,n.__N=void 0,t===n.__[0]})&&(!c||c.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function F(n,r){var u=d(t++,7);return w(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function b(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=f,n.__N=n.i=void 0;})):(i.__h.forEach(j),i.__h.forEach(k),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==c.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||function(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));})(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==f&&(n.__=n.__V),n.i=void 0,n.__V=f;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{j(n);}catch(n){r=n;}}),r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function k(n){var t=r;n.__c=n.__(),r=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function z(n,t){return "function"==typeof t?t(n):t} | ||
var t,r,u,i,o=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:f}),i.__[t]}function p(n){return o=1,y(z,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):z(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var c=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!!i&&(!c||c.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&w(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function F(n,r){var u=d(t++,7);return w(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function b(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=f,n.__N=n.i=void 0;})):(i.__h.forEach(j),i.__h.forEach(k),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==c.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||function(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));})(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==f&&(n.__=n.__V),n.i=void 0,n.__V=f;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{j(n);}catch(n){r=n;}}),r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function k(n){var t=r;n.__c=n.__(),r=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function z(n,t){return "function"==typeof t?t(n):t} | ||
@@ -16,0 +16,0 @@ exports.BUILD_VERSION = BUILD_VERSION; |
@@ -1,2 +0,2 @@ | ||
!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((_="undefined"!=typeof globalThis?globalThis:_||self)["@hpcc-js/preact-shim"]={})}(this,(function(_){"use strict";var e,n,t,o,r,l={},i=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(_,e){for(var n in e)_[n]=e[n];return _}function f(_){var e=_.parentNode;e&&e.removeChild(_)}function s(_,n,t){var o,r,l,i={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):t),"function"==typeof _&&null!=_.defaultProps)for(l in _.defaultProps)void 0===i[l]&&(i[l]=_.defaultProps[l]);return a(_,i,o,r,null)}function a(_,e,o,r,l){var i={type:_,props:e,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++t:l};return null==l&&null!=n.vnode&&n.vnode(i),i}function p(_){return _.children}function h(_,e){this.props=_,this.context=e}function d(_,e){if(null==e)return _.__?d(_.__,_.__.__k.indexOf(_)+1):null;for(var n;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof _.type?d(_):null}function v(_){var e,n;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e){_.__e=_.__c.base=n.__e;break}return v(_)}}function y(_){(!_.__d&&(_.__d=!0)&&o.push(_)&&!m.__r++||r!==n.debounceRendering)&&((r=n.debounceRendering)||setTimeout)(m)}function m(){for(var _;m.__r=o.length;)_=o.sort((function(_,e){return _.__v.__b-e.__v.__b})),o=[],_.some((function(_){var e,n,t,o,r,l;_.__d&&(r=(o=(e=_).__v).__e,(l=e.__P)&&(n=[],(t=c({},o)).__v=o.__v+1,S(l,o,t,e.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,n,null==r?d(o):r,o.__h),C(n,o),o.__e!=r&&v(o)))}))}function g(_,e,n,t,o,r,u,c,f,s){var h,v,y,m,g,E,H,N=t&&t.__k||i,x=N.length;for(n.__k=[],h=0;h<e.length;h++)if(null!=(m=n.__k[h]=null==(m=e[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?a(null,m,null,null,m):Array.isArray(m)?a(p,{children:m},null,null,null):m.__b>0?a(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(y=N[h])||y&&m.key==y.key&&m.type===y.type)N[h]=void 0;else for(v=0;v<x;v++){if((y=N[v])&&m.key==y.key&&m.type===y.type){N[v]=void 0;break}y=null}S(_,m,y=y||l,o,r,u,c,f,s),g=m.__e,(v=m.ref)&&y.ref!=v&&(H||(H=[]),y.ref&&H.push(y.ref,null,m),H.push(v,m.__c||g,m)),null!=g?(null==E&&(E=g),"function"==typeof m.type&&m.__k===y.__k?m.__d=f=k(m,f,_):f=b(_,m,y,N,g,f),"function"==typeof n.type&&(n.__d=f)):f&&y.__e==f&&f.parentNode!=_&&(f=d(y))}for(n.__e=E,h=x;h--;)null!=N[h]&&("function"==typeof n.type&&null!=N[h].__e&&N[h].__e==n.__d&&(n.__d=d(t,h+1)),w(N[h],N[h]));if(H)for(h=0;h<H.length;h++)T(H[h],H[++h],H[++h])}function k(_,e,n){for(var t,o=_.__k,r=0;o&&r<o.length;r++)(t=o[r])&&(t.__=_,e="function"==typeof t.type?k(t,e,n):b(n,t,t,o,t.__e,e));return e}function b(_,e,n,t,o,r){var l,i,u;if(void 0!==e.__d)l=e.__d,e.__d=void 0;else if(null==n||o!=r||null==o.parentNode)_:if(null==r||r.parentNode!==_)_.appendChild(o),l=null;else{for(i=r,u=0;(i=i.nextSibling)&&u<t.length;u+=2)if(i==o)break _;_.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function E(_,e,n){"-"===e[0]?_.setProperty(e,n):_[e]=null==n?"":"number"!=typeof n||u.test(e)?n:n+"px"}function H(_,e,n,t,o){var r;_:if("style"===e)if("string"==typeof n)_.style.cssText=n;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(e in t)n&&e in n||E(_.style,e,"");if(n)for(e in n)t&&n[e]===t[e]||E(_.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])r=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in _?e.toLowerCase().slice(2):e.slice(2),_.l||(_.l={}),_.l[e+r]=n,n?t||_.addEventListener(e,r?x:N,r):_.removeEventListener(e,r?x:N,r);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in _)try{_[e]=null==n?"":n;break _}catch(_){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?_.setAttribute(e,n):_.removeAttribute(e))}}function N(_){this.l[_.type+!1](n.event?n.event(_):_)}function x(_){this.l[_.type+!0](n.event?n.event(_):_)}function S(_,e,t,o,r,l,i,u,f){var s,a,d,v,y,m,k,b,E,H,N,x,S,C=e.type;if(void 0!==e.constructor)return null;null!=t.__h&&(f=t.__h,u=e.__e=t.__e,e.__h=null,l=[u]),(s=n.__b)&&s(e);try{_:if("function"==typeof C){if(b=e.props,E=(s=C.contextType)&&o[s.__c],H=s?E?E.props.value:s.__:o,t.__c?k=(a=e.__c=t.__c).__=a.__E:("prototype"in C&&C.prototype.render?e.__c=a=new C(b,H):(e.__c=a=new h(b,H),a.constructor=C,a.render=A),E&&E.sub(a),a.props=b,a.state||(a.state={}),a.context=H,a.__n=o,d=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=c({},a.__s)),c(a.__s,C.getDerivedStateFromProps(b,a.__s))),v=a.props,y=a.state,d)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,H),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,H)||e.__v===t.__v){a.props=b,a.state=a.__s,e.__v!==t.__v&&(a.__d=!1),a.__v=e,e.__e=t.__e,e.__k=t.__k,e.__k.forEach((function(_){_&&(_.__=e)})),a.__h.length&&i.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,H),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(v,y,m)}))}if(a.context=H,a.props=b,a.__v=e,a.__P=_,N=n.__r,x=0,"prototype"in C&&C.prototype.render)a.state=a.__s,a.__d=!1,N&&N(e),s=a.render(a.props,a.state,a.context);else do{a.__d=!1,N&&N(e),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++x<25);a.state=a.__s,null!=a.getChildContext&&(o=c(c({},o),a.getChildContext())),d||null==a.getSnapshotBeforeUpdate||(m=a.getSnapshotBeforeUpdate(v,y)),S=null!=s&&s.type===p&&null==s.key?s.props.children:s,g(_,Array.isArray(S)?S:[S],e,t,o,r,l,i,u,f),a.base=e.__e,e.__h=null,a.__h.length&&i.push(a),k&&(a.__E=a.__=null),a.__e=!1}else null==l&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=P(t.__e,e,t,o,r,l,i,f);(s=n.diffed)&&s(e)}catch(_){e.__v=null,(f||null!=l)&&(e.__e=u,e.__h=!!f,l[l.indexOf(u)]=null),n.__e(_,e,t)}}function C(_,e){n.__c&&n.__c(e,_),_.some((function(e){try{_=e.__h,e.__h=[],_.some((function(_){_.call(e)}))}catch(_){n.__e(_,e.__v)}}))}function P(_,n,t,o,r,i,u,c){var s,a,p,h=t.props,v=n.props,y=n.type,m=0;if("svg"===y&&(r=!0),null!=i)for(;m<i.length;m++)if((s=i[m])&&"setAttribute"in s==!!y&&(y?s.localName===y:3===s.nodeType)){_=s,i[m]=null;break}if(null==_){if(null===y)return document.createTextNode(v);_=r?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,v.is&&v),i=null,c=!1}if(null===y)h===v||c&&_.data===v||(_.data=v);else{if(i=i&&e.call(_.childNodes),a=(h=t.props||l).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!c){if(null!=i)for(h={},m=0;m<_.attributes.length;m++)h[_.attributes[m].name]=_.attributes[m].value;(p||a)&&(p&&(a&&p.__html==a.__html||p.__html===_.innerHTML)||(_.innerHTML=p&&p.__html||""))}if(function(_,e,n,t,o){var r;for(r in n)"children"===r||"key"===r||r in e||H(_,r,null,n[r],t);for(r in e)o&&"function"!=typeof e[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===e[r]||H(_,r,e[r],n[r],t)}(_,v,h,r,c),p)n.__k=[];else if(m=n.props.children,g(_,Array.isArray(m)?m:[m],n,t,o,r&&"foreignObject"!==y,i,u,i?i[0]:t.__k&&d(t,0),c),null!=i)for(m=i.length;m--;)null!=i[m]&&f(i[m]);c||("value"in v&&void 0!==(m=v.value)&&(m!==_.value||"progress"===y&&!m||"option"===y&&m!==h.value)&&H(_,"value",m,h.value,!1),"checked"in v&&void 0!==(m=v.checked)&&m!==_.checked&&H(_,"checked",m,h.checked,!1))}return _}function T(_,e,t){try{"function"==typeof _?_(e):_.current=e}catch(_){n.__e(_,t)}}function w(_,e,t){var o,r;if(n.unmount&&n.unmount(_),(o=_.ref)&&(o.current&&o.current!==_.__e||T(o,null,e)),null!=(o=_.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(_){n.__e(_,e)}o.base=o.__P=null}if(o=_.__k)for(r=0;r<o.length;r++)o[r]&&w(o[r],e,"function"!=typeof _.type);t||null==_.__e||f(_.__e),_.__e=_.__d=void 0}function A(_,e,n){return this.constructor(_,n)}e=i.slice,n={__e:function(_,e,n,t){for(var o,r,l;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),l=o.__d),l)return o.__E=o}catch(e){_=e}throw _}},t=0,h.prototype.setState=function(_,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof _&&(_=_(c({},n),this.props)),_&&c(n,_),null!=_&&this.__v&&(e&&this.__h.push(e),y(this))},h.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),y(this))},h.prototype.render=p,o=[],m.__r=0;var U,D,F,M,V=0,L=[],W=[],I=n.__b,R=n.__r,O=n.diffed,j=n.__c,q=n.unmount;function B(_,e){n.__h&&n.__h(D,_,V||e),V=0;var t=D.__H||(D.__H={__:[],__h:[]});return _>=t.__.length&&t.__.push({__V:W}),t.__[_]}function G(_,e,n){var t=B(U++,2);if(t.t=_,!t.__c&&(t.__=[n?n(e):Y(void 0,e),function(_){var e=t.__N?t.__N[0]:t.__[0],n=t.t(e,_);e!==n&&(t.__N=[n,t.__[1]],t.__c.setState({}))}],t.__c=D,!D.u)){D.u=!0;var o=D.shouldComponentUpdate;D.shouldComponentUpdate=function(_,e,n){if(!t.__c.__H)return!0;var r=t.__c.__H.__.filter((function(_){return _.__c}));return(r.every((function(_){return!_.__N}))||!r.every((function(_){if(!_.__N)return!0;var e=_.__[0];return _.__=_.__N,_.__N=void 0,e===_.__[0]})))&&(!o||o.call(this,_,e,n))}}return t.__N||t.__}function $(_,e){var n=B(U++,7);return X(n.__H,e)?(n.__V=_(),n.i=e,n.__h=_,n.__V):n.__}function K(){for(var _;_=L.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(J),_.__H.__h.forEach(Q),_.__H.__h=[]}catch(e){_.__H.__h=[],n.__e(e,_.__v)}}n.__b=function(_){D=null,I&&I(_)},n.__r=function(_){R&&R(_),U=0;var e=(D=_.__c).__H;e&&(F===D?(e.__h=[],D.__h=[],e.__.forEach((function(_){_.__N&&(_.__=_.__N),_.__V=W,_.__N=_.i=void 0}))):(e.__h.forEach(J),e.__h.forEach(Q),e.__h=[])),F=D},n.diffed=function(_){O&&O(_);var e=_.__c;e&&e.__H&&(e.__H.__h.length&&(1!==L.push(e)&&M===n.requestAnimationFrame||((M=n.requestAnimationFrame)||function(_){var e,n=function(){clearTimeout(t),z&&cancelAnimationFrame(e),setTimeout(_)},t=setTimeout(n,100);z&&(e=requestAnimationFrame(n))})(K)),e.__H.__.forEach((function(_){_.i&&(_.__H=_.i),_.__V!==W&&(_.__=_.__V),_.i=void 0,_.__V=W}))),F=D=null},n.__c=function(_,e){e.some((function(_){try{_.__h.forEach(J),_.__h=_.__h.filter((function(_){return!_.__||Q(_)}))}catch(t){e.some((function(_){_.__h&&(_.__h=[])})),e=[],n.__e(t,_.__v)}})),j&&j(_,e)},n.unmount=function(_){q&&q(_);var e,t=_.__c;t&&t.__H&&(t.__H.__.forEach((function(_){try{J(_)}catch(_){e=_}})),e&&n.__e(e,t.__v))};var z="function"==typeof requestAnimationFrame;function J(_){var e=D,n=_.__c;"function"==typeof n&&(_.__c=void 0,n()),D=e}function Q(_){var e=D;_.__c=_.__(),D=e}function X(_,e){return!_||_.length!==e.length||e.some((function(e,n){return e!==_[n]}))}function Y(_,e){return"function"==typeof e?e(_):e}_.BUILD_VERSION="2.104.2",_.Component=h,_.Fragment=p,_.PKG_NAME="@hpcc-js/preact-shim",_.PKG_VERSION="2.16.1",_.createElement=s,_.h=s,_.render=function(_,t,o){var r,i,u;n.__&&n.__(_,t),i=(r="function"==typeof o)?null:o&&o.__k||t.__k,u=[],S(t,_=(!r&&o||t).__k=s(p,null,[_]),i||l,l,void 0!==t.ownerSVGElement,!r&&o?[o]:i?null:t.firstChild?e.call(t.childNodes):null,u,!r&&o?o:i?i.__e:t.firstChild,r),C(u,_)},_.useCallback=function(_,e){return V=8,$((function(){return _}),e)},_.useEffect=function(_,e){var t=B(U++,3);!n.__s&&X(t.__H,e)&&(t.__=_,t.i=e,D.__H.__h.push(t))},_.useMemo=$,_.useReducer=G,_.useState=function(_){return V=1,G(Y,_)},Object.defineProperty(_,"__esModule",{value:!0})})); | ||
!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((_="undefined"!=typeof globalThis?globalThis:_||self)["@hpcc-js/preact-shim"]={})}(this,(function(_){"use strict";var e,n,t,o,r,l={},i=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(_,e){for(var n in e)_[n]=e[n];return _}function f(_){var e=_.parentNode;e&&e.removeChild(_)}function s(_,n,t){var o,r,l,i={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):t),"function"==typeof _&&null!=_.defaultProps)for(l in _.defaultProps)void 0===i[l]&&(i[l]=_.defaultProps[l]);return a(_,i,o,r,null)}function a(_,e,o,r,l){var i={type:_,props:e,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++t:l};return null==l&&null!=n.vnode&&n.vnode(i),i}function p(_){return _.children}function h(_,e){this.props=_,this.context=e}function d(_,e){if(null==e)return _.__?d(_.__,_.__.__k.indexOf(_)+1):null;for(var n;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof _.type?d(_):null}function v(_){var e,n;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e){_.__e=_.__c.base=n.__e;break}return v(_)}}function y(_){(!_.__d&&(_.__d=!0)&&o.push(_)&&!m.__r++||r!==n.debounceRendering)&&((r=n.debounceRendering)||setTimeout)(m)}function m(){for(var _;m.__r=o.length;)_=o.sort((function(_,e){return _.__v.__b-e.__v.__b})),o=[],_.some((function(_){var e,n,t,o,r,l;_.__d&&(r=(o=(e=_).__v).__e,(l=e.__P)&&(n=[],(t=c({},o)).__v=o.__v+1,S(l,o,t,e.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,n,null==r?d(o):r,o.__h),C(n,o),o.__e!=r&&v(o)))}))}function g(_,e,n,t,o,r,u,c,f,s){var h,v,y,m,g,E,H,N=t&&t.__k||i,x=N.length;for(n.__k=[],h=0;h<e.length;h++)if(null!=(m=n.__k[h]=null==(m=e[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?a(null,m,null,null,m):Array.isArray(m)?a(p,{children:m},null,null,null):m.__b>0?a(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(y=N[h])||y&&m.key==y.key&&m.type===y.type)N[h]=void 0;else for(v=0;v<x;v++){if((y=N[v])&&m.key==y.key&&m.type===y.type){N[v]=void 0;break}y=null}S(_,m,y=y||l,o,r,u,c,f,s),g=m.__e,(v=m.ref)&&y.ref!=v&&(H||(H=[]),y.ref&&H.push(y.ref,null,m),H.push(v,m.__c||g,m)),null!=g?(null==E&&(E=g),"function"==typeof m.type&&m.__k===y.__k?m.__d=f=k(m,f,_):f=b(_,m,y,N,g,f),"function"==typeof n.type&&(n.__d=f)):f&&y.__e==f&&f.parentNode!=_&&(f=d(y))}for(n.__e=E,h=x;h--;)null!=N[h]&&("function"==typeof n.type&&null!=N[h].__e&&N[h].__e==n.__d&&(n.__d=d(t,h+1)),w(N[h],N[h]));if(H)for(h=0;h<H.length;h++)T(H[h],H[++h],H[++h])}function k(_,e,n){for(var t,o=_.__k,r=0;o&&r<o.length;r++)(t=o[r])&&(t.__=_,e="function"==typeof t.type?k(t,e,n):b(n,t,t,o,t.__e,e));return e}function b(_,e,n,t,o,r){var l,i,u;if(void 0!==e.__d)l=e.__d,e.__d=void 0;else if(null==n||o!=r||null==o.parentNode)_:if(null==r||r.parentNode!==_)_.appendChild(o),l=null;else{for(i=r,u=0;(i=i.nextSibling)&&u<t.length;u+=2)if(i==o)break _;_.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function E(_,e,n){"-"===e[0]?_.setProperty(e,n):_[e]=null==n?"":"number"!=typeof n||u.test(e)?n:n+"px"}function H(_,e,n,t,o){var r;_:if("style"===e)if("string"==typeof n)_.style.cssText=n;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(e in t)n&&e in n||E(_.style,e,"");if(n)for(e in n)t&&n[e]===t[e]||E(_.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])r=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in _?e.toLowerCase().slice(2):e.slice(2),_.l||(_.l={}),_.l[e+r]=n,n?t||_.addEventListener(e,r?x:N,r):_.removeEventListener(e,r?x:N,r);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in _)try{_[e]=null==n?"":n;break _}catch(_){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?_.setAttribute(e,n):_.removeAttribute(e))}}function N(_){this.l[_.type+!1](n.event?n.event(_):_)}function x(_){this.l[_.type+!0](n.event?n.event(_):_)}function S(_,e,t,o,r,l,i,u,f){var s,a,d,v,y,m,k,b,E,H,N,x,S,C=e.type;if(void 0!==e.constructor)return null;null!=t.__h&&(f=t.__h,u=e.__e=t.__e,e.__h=null,l=[u]),(s=n.__b)&&s(e);try{_:if("function"==typeof C){if(b=e.props,E=(s=C.contextType)&&o[s.__c],H=s?E?E.props.value:s.__:o,t.__c?k=(a=e.__c=t.__c).__=a.__E:("prototype"in C&&C.prototype.render?e.__c=a=new C(b,H):(e.__c=a=new h(b,H),a.constructor=C,a.render=A),E&&E.sub(a),a.props=b,a.state||(a.state={}),a.context=H,a.__n=o,d=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=c({},a.__s)),c(a.__s,C.getDerivedStateFromProps(b,a.__s))),v=a.props,y=a.state,d)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,H),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,H)||e.__v===t.__v){a.props=b,a.state=a.__s,e.__v!==t.__v&&(a.__d=!1),a.__v=e,e.__e=t.__e,e.__k=t.__k,e.__k.forEach((function(_){_&&(_.__=e)})),a.__h.length&&i.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,H),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(v,y,m)}))}if(a.context=H,a.props=b,a.__v=e,a.__P=_,N=n.__r,x=0,"prototype"in C&&C.prototype.render)a.state=a.__s,a.__d=!1,N&&N(e),s=a.render(a.props,a.state,a.context);else do{a.__d=!1,N&&N(e),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++x<25);a.state=a.__s,null!=a.getChildContext&&(o=c(c({},o),a.getChildContext())),d||null==a.getSnapshotBeforeUpdate||(m=a.getSnapshotBeforeUpdate(v,y)),S=null!=s&&s.type===p&&null==s.key?s.props.children:s,g(_,Array.isArray(S)?S:[S],e,t,o,r,l,i,u,f),a.base=e.__e,e.__h=null,a.__h.length&&i.push(a),k&&(a.__E=a.__=null),a.__e=!1}else null==l&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=P(t.__e,e,t,o,r,l,i,f);(s=n.diffed)&&s(e)}catch(_){e.__v=null,(f||null!=l)&&(e.__e=u,e.__h=!!f,l[l.indexOf(u)]=null),n.__e(_,e,t)}}function C(_,e){n.__c&&n.__c(e,_),_.some((function(e){try{_=e.__h,e.__h=[],_.some((function(_){_.call(e)}))}catch(_){n.__e(_,e.__v)}}))}function P(_,n,t,o,r,i,u,c){var s,a,p,h=t.props,v=n.props,y=n.type,m=0;if("svg"===y&&(r=!0),null!=i)for(;m<i.length;m++)if((s=i[m])&&"setAttribute"in s==!!y&&(y?s.localName===y:3===s.nodeType)){_=s,i[m]=null;break}if(null==_){if(null===y)return document.createTextNode(v);_=r?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,v.is&&v),i=null,c=!1}if(null===y)h===v||c&&_.data===v||(_.data=v);else{if(i=i&&e.call(_.childNodes),a=(h=t.props||l).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!c){if(null!=i)for(h={},m=0;m<_.attributes.length;m++)h[_.attributes[m].name]=_.attributes[m].value;(p||a)&&(p&&(a&&p.__html==a.__html||p.__html===_.innerHTML)||(_.innerHTML=p&&p.__html||""))}if(function(_,e,n,t,o){var r;for(r in n)"children"===r||"key"===r||r in e||H(_,r,null,n[r],t);for(r in e)o&&"function"!=typeof e[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===e[r]||H(_,r,e[r],n[r],t)}(_,v,h,r,c),p)n.__k=[];else if(m=n.props.children,g(_,Array.isArray(m)?m:[m],n,t,o,r&&"foreignObject"!==y,i,u,i?i[0]:t.__k&&d(t,0),c),null!=i)for(m=i.length;m--;)null!=i[m]&&f(i[m]);c||("value"in v&&void 0!==(m=v.value)&&(m!==_.value||"progress"===y&&!m||"option"===y&&m!==h.value)&&H(_,"value",m,h.value,!1),"checked"in v&&void 0!==(m=v.checked)&&m!==_.checked&&H(_,"checked",m,h.checked,!1))}return _}function T(_,e,t){try{"function"==typeof _?_(e):_.current=e}catch(_){n.__e(_,t)}}function w(_,e,t){var o,r;if(n.unmount&&n.unmount(_),(o=_.ref)&&(o.current&&o.current!==_.__e||T(o,null,e)),null!=(o=_.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(_){n.__e(_,e)}o.base=o.__P=null}if(o=_.__k)for(r=0;r<o.length;r++)o[r]&&w(o[r],e,"function"!=typeof _.type);t||null==_.__e||f(_.__e),_.__e=_.__d=void 0}function A(_,e,n){return this.constructor(_,n)}e=i.slice,n={__e:function(_,e,n,t){for(var o,r,l;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),l=o.__d),l)return o.__E=o}catch(e){_=e}throw _}},t=0,h.prototype.setState=function(_,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof _&&(_=_(c({},n),this.props)),_&&c(n,_),null!=_&&this.__v&&(e&&this.__h.push(e),y(this))},h.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),y(this))},h.prototype.render=p,o=[],m.__r=0;var U,D,F,M,V=0,L=[],W=[],I=n.__b,R=n.__r,O=n.diffed,j=n.__c,q=n.unmount;function B(_,e){n.__h&&n.__h(D,_,V||e),V=0;var t=D.__H||(D.__H={__:[],__h:[]});return _>=t.__.length&&t.__.push({__V:W}),t.__[_]}function G(_,e,n){var t=B(U++,2);if(t.t=_,!t.__c&&(t.__=[n?n(e):Y(void 0,e),function(_){var e=t.__N?t.__N[0]:t.__[0],n=t.t(e,_);e!==n&&(t.__N=[n,t.__[1]],t.__c.setState({}))}],t.__c=D,!D.u)){D.u=!0;var o=D.shouldComponentUpdate;D.shouldComponentUpdate=function(_,e,n){if(!t.__c.__H)return!0;var r=t.__c.__H.__.filter((function(_){return _.__c}));if(r.every((function(_){return!_.__N})))return!o||o.call(this,_,e,n);var l=!1;return r.forEach((function(_){if(_.__N){var e=_.__[0];_.__=_.__N,_.__N=void 0,e!==_.__[0]&&(l=!0)}})),!!l&&(!o||o.call(this,_,e,n))}}return t.__N||t.__}function $(_,e){var n=B(U++,7);return X(n.__H,e)?(n.__V=_(),n.i=e,n.__h=_,n.__V):n.__}function K(){for(var _;_=L.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(J),_.__H.__h.forEach(Q),_.__H.__h=[]}catch(e){_.__H.__h=[],n.__e(e,_.__v)}}n.__b=function(_){D=null,I&&I(_)},n.__r=function(_){R&&R(_),U=0;var e=(D=_.__c).__H;e&&(F===D?(e.__h=[],D.__h=[],e.__.forEach((function(_){_.__N&&(_.__=_.__N),_.__V=W,_.__N=_.i=void 0}))):(e.__h.forEach(J),e.__h.forEach(Q),e.__h=[])),F=D},n.diffed=function(_){O&&O(_);var e=_.__c;e&&e.__H&&(e.__H.__h.length&&(1!==L.push(e)&&M===n.requestAnimationFrame||((M=n.requestAnimationFrame)||function(_){var e,n=function(){clearTimeout(t),z&&cancelAnimationFrame(e),setTimeout(_)},t=setTimeout(n,100);z&&(e=requestAnimationFrame(n))})(K)),e.__H.__.forEach((function(_){_.i&&(_.__H=_.i),_.__V!==W&&(_.__=_.__V),_.i=void 0,_.__V=W}))),F=D=null},n.__c=function(_,e){e.some((function(_){try{_.__h.forEach(J),_.__h=_.__h.filter((function(_){return!_.__||Q(_)}))}catch(t){e.some((function(_){_.__h&&(_.__h=[])})),e=[],n.__e(t,_.__v)}})),j&&j(_,e)},n.unmount=function(_){q&&q(_);var e,t=_.__c;t&&t.__H&&(t.__H.__.forEach((function(_){try{J(_)}catch(_){e=_}})),e&&n.__e(e,t.__v))};var z="function"==typeof requestAnimationFrame;function J(_){var e=D,n=_.__c;"function"==typeof n&&(_.__c=void 0,n()),D=e}function Q(_){var e=D;_.__c=_.__(),D=e}function X(_,e){return!_||_.length!==e.length||e.some((function(e,n){return e!==_[n]}))}function Y(_,e){return"function"==typeof e?e(_):e}_.BUILD_VERSION="2.104.5",_.Component=h,_.Fragment=p,_.PKG_NAME="@hpcc-js/preact-shim",_.PKG_VERSION="2.16.2",_.createElement=s,_.h=s,_.render=function(_,t,o){var r,i,u;n.__&&n.__(_,t),i=(r="function"==typeof o)?null:o&&o.__k||t.__k,u=[],S(t,_=(!r&&o||t).__k=s(p,null,[_]),i||l,l,void 0!==t.ownerSVGElement,!r&&o?[o]:i?null:t.firstChild?e.call(t.childNodes):null,u,!r&&o?o:i?i.__e:t.firstChild,r),C(u,_)},_.useCallback=function(_,e){return V=8,$((function(){return _}),e)},_.useEffect=function(_,e){var t=B(U++,3);!n.__s&&X(t.__H,e)&&(t.__=_,t.i=e,D.__H.__h.push(t))},_.useMemo=$,_.useReducer=G,_.useState=function(_){return V=1,G(Y,_)},Object.defineProperty(_,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=index.min.js.map |
{ | ||
"name": "@hpcc-js/preact-shim", | ||
"version": "2.16.1", | ||
"version": "2.16.2", | ||
"description": "hpcc-js - preact shim", | ||
@@ -41,7 +41,6 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"preact": "10.10.3" | ||
"preact": "10.10.6" | ||
}, | ||
"devDependencies": { | ||
"@hpcc-js/bundle": "^2.11.2", | ||
"rimraf": "2.7.1" | ||
"@hpcc-js/bundle": "^2.11.3" | ||
}, | ||
@@ -59,3 +58,3 @@ "repository": { | ||
"homepage": "https://github.com/hpcc-systems/Visualization", | ||
"gitHead": "e2724f0154c334e8d4cb5a29533b70131ab58938" | ||
"gitHead": "0fd6fdaaa8b870631c36f8f2e80ddf39065127b8" | ||
} |
export const PKG_NAME = "@hpcc-js/preact-shim"; | ||
export const PKG_VERSION = "2.16.1"; | ||
export const BUILD_VERSION = "2.104.2"; | ||
export const PKG_VERSION = "2.16.2"; | ||
export const BUILD_VERSION = "2.104.5"; |
export declare const PKG_NAME = "@hpcc-js/preact-shim"; | ||
export declare const PKG_VERSION = "2.16.1"; | ||
export declare const BUILD_VERSION = "2.104.2"; | ||
export declare const PKG_VERSION = "2.16.2"; | ||
export declare const BUILD_VERSION = "2.104.5"; | ||
//# sourceMappingURL=__package__.d.ts.map |
export declare const PKG_NAME = "@hpcc-js/preact-shim"; | ||
export declare const PKG_VERSION = "2.16.1"; | ||
export declare const BUILD_VERSION = "2.104.2"; | ||
export declare const PKG_VERSION = "2.16.2"; | ||
export declare const BUILD_VERSION = "2.104.5"; | ||
//# 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
334264
0.1%1
-50%0
-100%