Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i2ui

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i2ui - npm Package Compare versions

Comparing version 2.0.0-alfa.4 to 2.0.0-alfa.5

2

dist/index.esm.js

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

import React,{useMemo,useCallback,useEffect}from"react";import{emphasizeStyle}from"emphasizer";var __assign=function(){return(__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},NumberUtil=function(){function u(){}return u.toFloat=function(t){var e;return"string"==typeof t?t===(e=parseFloat(t)).toString()?e:void 0:t},u.splitNumber=function(t,e){var r=[];if(void 0!==t){var n=e.decimalDigits,i=e.groupSeparator,a=void 0===i?",":i,i=e.decimalSeparator,e=e.groupDigits,t=t.toFixed(n||0).split(".");if(0<t.length){for(var o=u.toGroups(t[0],e),s=0;s<o.length;s++)r.push({text:o[s],separator:!(0<s)||void 0===a?void 0:a});2===t.length&&(n=t[1])&&r.push({text:n,isFraction:!0,separator:i||"."})}}return r},u.toGroups=function(t,e){return 0===e?[t]:(e=Math.abs(e||3),t.match(new RegExp("(\\d+?)(?=(\\d{".concat(e,"})+(?!\\d)|$)"),"g"))||[])},u}(),rootStyle={display:"inline-block"},defaultContentStyle={display:"flex",flexDirection:"row",alignItems:"flex-end"},numberPartStyle={lineHeight:"1em"},I2Number=function(t){var e=t.fromStyle,r=t.toStyle,n=t.decimalDigits,i=t.verticalAlign,a=t.className,o=t.style,s=t.groupSeparator,u=t.decimalSeparator,c=t.groupDigits,l=t.value,d=t.basicMaxValue,f=t.children,h=useMemo(function(){return{decimalDigits:n,decimalSeparator:u,groupSeparator:s,groupDigits:c}},[n,u,s,c]),p=useMemo(function(){return NumberUtil.splitNumber(NumberUtil.toFloat(f||l),h)},[f,l,h]),_=useMemo(function(){return NumberUtil.splitNumber(NumberUtil.toFloat(d),h)},[d,h]),g=useMemo(function(){return __assign({fontSize:"1em"},e)},[e]),m=useMemo(function(){return __assign({fontSize:"2em"},r)},[r]),t=useMemo(function(){var t=__assign({},defaultContentStyle);return"top"===i?t.alignItems="flex-start":"center"===i&&(t.alignItems="center"),t},[i]);return React.createElement("div",{className:a,style:__assign(__assign({},rootStyle),o)},React.createElement("div",{style:t},p.map(function(t,e){var r=t.text,t=t.separator,n=_.length;return React.createElement("div",{key:e,style:__assign(__assign({},emphasizeStyle(g,m,1,n,p.length-e)),numberPartStyle)},"".concat(t||"").concat(r))})))},TagUtil=function(){function t(){}return t.order=function(t,e,r){var n,i,a;return"desc"===e||"middle"===e?(i=t.sort(function(t,e){return r(t)>r(e)?-1:r(t)<r(e)?1:0}),"middle"===e&&(n=[],i.forEach(function(t,e){e%2==0?n.push(t):n.unshift(t)}),i=n),i):"asc"===e||"edge"===e?(i=t.sort(function(t,e){return r(t)<r(e)?-1:r(t)>r(e)?1:0}),"edge"===e&&(a=[],i.forEach(function(t,e){e%2==0?a.push(t):a.unshift(t)}),i=a),i):t},t}(),TagCloud=function(t){var e=t.data,n=t.fromStyle,i=t.toStyle,r=t.order,a=void 0===r?"middle":r,r=t.className,o=t.style,s=t.render,t=t.dataValueKey,u=void 0===t?"value":t,c=useCallback(function(t){return NumberUtil.toFloat(t[u])||0},[u]),t=useMemo(function(){var t=e.map(function(t){return c(t)});return[Math.min.apply(Math,t),Math.max.apply(Math,t)]},[e,c]),l=t[0],d=t[1],t=useMemo(function(){return TagUtil.order(e,a,c)},[e,a,c]),f=useMemo(function(){return __assign({display:"flex",flexWrap:"wrap",justifyItems:"center",alignItems:"center",justifyContent:"center",alignContent:"center"},o)},[o]);return React.createElement("div",{className:r,style:f},t.map(function(t,e){var r=emphasizeStyle(n,i,l,d,t.rate);return React.createElement(React.Fragment,{key:e},s?s(r,t,e):React.createElement("div",{style:r},t.text))}))},GridRectUtil=function(){function t(){}return t.rect=function(t,e,r,n){return{left:t,top:e,width:r,height:n}},t.split=function(t,e,r){var n=t.width-t.left,i=t.height-t.top,a=n<=i,e=Math.floor(e/(e+r)*(a?i:n));return a?(r=t.top+e,[__assign(__assign({},t),{height:r}),__assign(__assign({},t),{top:r})]):(i=t.left+e,[__assign(__assign({},t),{width:i}),__assign(__assign({},t),{left:i})])},t.square=function(t){return(t.width-t.left)*(t.height-t.top)},t}(),SPLIT_RATIO=.5,TreemapManager=function(){function t(){this._count=0,this._data=[],this._cols=0,this._rows=0,this._baseRate=0,this._cards=[],this._valueDataIndex="",this.rootNode={rate:0,rootRate:0,rootSquare:0,rect:{top:0,left:0,width:100,height:100},record:void 0,children:[]}}return Object.defineProperty(t.prototype,"cards",{get:function(){return this._cards},enumerable:!1,configurable:!0}),t.prototype.init=function(t,e,r,n,i){void 0===n&&(n="rate"),void 0===i&&(i=0),this._count=0,this._cols=t,this._rows=e,this._data=r,this._valueDataIndex=n,this._baseRate=i,this.refresh()},t.prototype.getRecordRate=function(t){t=t[this._valueDataIndex];if("number"==typeof t)return t;if("string"==typeof t){var e=parseFloat(t);if(e.toString()===t.toString())return e}return 0},t.prototype.refresh=function(){var e=this,t=this._data.map(function(t){return __assign(__assign({},t),{__rate:e.getRecordRate(t)+e._baseRate})}).filter(function(t){return 0<t.__rate}).sort(function(t,e){return e.__rate-t.__rate}),r={top:0,left:0,width:this._rows,height:this._cols},n=t.reduce(function(t,e){return t+e.__rate},0);this.rootNode=this.initNode(t,r,n,this._cols*this._rows),this._cards=[],this.initCard(this.rootNode,this._cards)},t.prototype.initNode=function(t,e,r,n){this._count++;var i=t.reduce(function(t,e){return t+e.__rate},0),a=[],o=void 0;if(1===t.length&&(o=t[0]),2===t.length){var s=t[0],u=t[1],c=GridRectUtil.split(e,s.__rate,u.__rate),l=c[0],c=c[1];a.push({rate:s.__rate,rootRate:r,rootSquare:n,rect:l,record:s,children:[]}),a.push({rate:u.__rate,rootRate:r,rootSquare:n,rect:c,record:u,children:[]})}else if(2<t.length){for(var d=0,f=0,h=0,p=t;h<p.length;h++)if(f++,d+=p[h].__rate,i*SPLIT_RATIO<=d)break;s=GridRectUtil.split(e,d,i-d),l=s[0],c=s[1];a.push(this.initNode(t.slice(0,f),l,r,n)),a.push(this.initNode(t.slice(f),c,r,n))}return{rate:i,rootRate:r,rootSquare:n,rect:e,record:o,children:a}},t.prototype.initCard=function(t,e){var r=this;t.record&&e.push({record:t.record,rect:t.rect}),t.children.forEach(function(t){r.initCard(t,e)})},t}(),Treemap=function(t){var e=t.className,r=t.rows,n=void 0===r?100:r,r=t.cols,i=void 0===r?100:r,a=t.gap,r=t.dataValueKey,o=void 0===r?"value":r,s=t.render,u=t.data,c=t.baseRate,r=useMemo(function(){return{display:"grid",gridTemplateColumns:"repeat(".concat(i,", 1fr)"),gridTemplateRows:"repeat(".concat(n,", 1fr)"),gap:a}},[n,i,a]),t=useMemo(function(){var t=new TreemapManager;return t.init(n,i,u,o,c),t.cards},[n,i,u,o,c]);return useEffect(function(){console.info("TREEMAP",e,n,i,a,o,u.length,"baseRate",c)},[e,n,i,a,o,u,c]),React.createElement("div",{style:r,className:e},t.map(function(t,e){var r=t.rect,t=t.record,n=r.left,i=r.top,a=r.width,r=r.height,o={gridColumn:"".concat(n+1," / ").concat(a+1),gridRow:"".concat(i+1," / ").concat(r+1)};return s(o,t,e,{left:n,top:i,width:a,height:r,rootRate:0,rootSquare:0})}))};export{GridRectUtil,I2Number,TagCloud,Treemap,TreemapManager};
var _0x4ccccb=_0x243d;(function(_0x511eb0,_0x6da41d){var _0x70ebb9=_0x243d,_0x2c3d61=_0x511eb0();while(!![]){try{var _0x1b2b4f=parseInt(_0x70ebb9(0x172))/0x1+-parseInt(_0x70ebb9(0x17d))/0x2+-parseInt(_0x70ebb9(0x157))/0x3+parseInt(_0x70ebb9(0x13e))/0x4+-parseInt(_0x70ebb9(0x163))/0x5*(-parseInt(_0x70ebb9(0x156))/0x6)+parseInt(_0x70ebb9(0x142))/0x7*(parseInt(_0x70ebb9(0x11d))/0x8)+parseInt(_0x70ebb9(0x176))/0x9;if(_0x1b2b4f===_0x6da41d)break;else _0x2c3d61['push'](_0x2c3d61['shift']());}catch(_0x1cce18){_0x2c3d61['push'](_0x2c3d61['shift']());}}}(_0x1b25,0x8cca6));import _0x36c89b,{useMemo,useCallback}from'react';function _0x243d(_0x17e0f8,_0xd4cdb3){var _0x1b2563=_0x1b25();return _0x243d=function(_0x243d0c,_0x51a53d){_0x243d0c=_0x243d0c-0x11b;var _0x50e440=_0x1b2563[_0x243d0c];return _0x50e440;},_0x243d(_0x17e0f8,_0xd4cdb3);}import{emphasizeStyle}from'emphasizer';var __assign=function(){var _0x16b594=_0x243d;return __assign=Object['assign']||function _0x29bf23(_0x4dffce){var _0x4bcd9f=_0x243d;for(var _0x21828e,_0x15fa56=0x1,_0x3f3511=arguments[_0x4bcd9f(0x136)];_0x15fa56<_0x3f3511;_0x15fa56++){_0x21828e=arguments[_0x15fa56];for(var _0x32c66c in _0x21828e)if(Object['prototype'][_0x4bcd9f(0x152)][_0x4bcd9f(0x178)](_0x21828e,_0x32c66c))_0x4dffce[_0x32c66c]=_0x21828e[_0x32c66c];}return _0x4dffce;},__assign[_0x16b594(0x14d)](this,arguments);},NumberUtil=(function(){var _0x1ba6d7=_0x243d;function _0x5c0762(){}return _0x5c0762[_0x1ba6d7(0x160)]=function(_0x58e9a1){var _0xbf1d3a=_0x1ba6d7;if(typeof _0x58e9a1===_0xbf1d3a(0x162)){var _0x11a978=parseFloat(_0x58e9a1);return _0x58e9a1===_0x11a978['toString']()?_0x11a978:undefined;}return _0x58e9a1;},_0x5c0762[_0x1ba6d7(0x16d)]=function(_0x29c230,_0x3ba42a){var _0x16904a=_0x1ba6d7,_0xc5d4a4=[];if(_0x29c230!==undefined){var _0x268797=_0x3ba42a[_0x16904a(0x11f)],_0x2bec2e=_0x3ba42a[_0x16904a(0x14b)],_0x57cba4=_0x2bec2e===void 0x0?',':_0x2bec2e,_0x43b651=_0x3ba42a[_0x16904a(0x151)],_0x30669b=_0x3ba42a[_0x16904a(0x153)],_0x4b5f25=_0x29c230[_0x16904a(0x179)](_0x268797||0x0),_0x50c5e7=_0x4b5f25[_0x16904a(0x144)]('.');if(_0x50c5e7[_0x16904a(0x136)]>0x0){var _0x467541=_0x5c0762['toGroups'](_0x50c5e7[0x0],_0x30669b);for(var _0x34f104=0x0;_0x34f104<_0x467541[_0x16904a(0x136)];_0x34f104++){_0xc5d4a4[_0x16904a(0x120)]({'text':_0x467541[_0x34f104],'separator':_0x34f104>0x0?_0x57cba4===undefined?undefined:_0x57cba4:undefined});}if(_0x50c5e7['length']===0x2){var _0x36e1d1=_0x50c5e7[0x1];_0x36e1d1&&_0xc5d4a4[_0x16904a(0x120)]({'text':_0x36e1d1,'isFraction':!![],'separator':_0x43b651||'.'});}}}return _0xc5d4a4;},_0x5c0762[_0x1ba6d7(0x126)]=function(_0x22d2a0,_0x957b22){var _0x24f535=_0x1ba6d7;if(_0x957b22===0x0)return[_0x22d2a0];var _0x5a3dc4=Math[_0x24f535(0x141)](_0x957b22||0x3),_0x186035=_0x22d2a0[_0x24f535(0x150)](new RegExp(_0x24f535(0x11b)[_0x24f535(0x16b)](_0x5a3dc4,_0x24f535(0x175)),'g'));return _0x186035?_0x186035:[];},_0x5c0762;}()),rootStyle={'display':_0x4ccccb(0x129)},defaultContentStyle={'display':_0x4ccccb(0x14f),'flexDirection':_0x4ccccb(0x164),'alignItems':_0x4ccccb(0x155)},numberPartStyle={'lineHeight':_0x4ccccb(0x13f)},I2Number=function(_0x4fff92){var _0x11874f=_0x4ccccb,_0x155ec7=_0x4fff92[_0x11874f(0x16a)],_0x16dfb1=_0x4fff92['toStyle'],_0xcca102=_0x4fff92[_0x11874f(0x11f)],_0x41aa79=_0x4fff92[_0x11874f(0x16c)],_0x27edcf=_0x4fff92['className'],_0x33c0ad=_0x4fff92[_0x11874f(0x15f)],_0x129691=_0x4fff92[_0x11874f(0x14b)],_0xfd59ee=_0x4fff92[_0x11874f(0x151)],_0x323bf4=_0x4fff92['groupDigits'],_0x675253=_0x4fff92[_0x11874f(0x159)],_0x2e131d=_0x4fff92[_0x11874f(0x16f)],_0x219a34=_0x4fff92[_0x11874f(0x173)],_0x71661b=useMemo(function(){return{'decimalDigits':_0xcca102,'decimalSeparator':_0xfd59ee,'groupSeparator':_0x129691,'groupDigits':_0x323bf4};},[_0xcca102,_0xfd59ee,_0x129691,_0x323bf4]),_0x5cf21a=useMemo(function(){var _0x4fa9d4=_0x11874f;return NumberUtil['splitNumber'](NumberUtil[_0x4fa9d4(0x160)](_0x219a34||_0x675253),_0x71661b);},[_0x219a34,_0x675253,_0x71661b]),_0x507040=useMemo(function(){var _0x2d9b46=_0x11874f;return NumberUtil[_0x2d9b46(0x16d)](NumberUtil[_0x2d9b46(0x160)](_0x2e131d),_0x71661b);},[_0x2e131d,_0x71661b]),_0x56535a=useMemo(function(){var _0x181730=_0x11874f;return __assign({'fontSize':_0x181730(0x13f)},_0x155ec7);},[_0x155ec7]),_0x4cbe02=useMemo(function(){var _0x3a59c0=_0x11874f;return __assign({'fontSize':_0x3a59c0(0x168)},_0x16dfb1);},[_0x16dfb1]),_0x58288e=useMemo(function(){var _0x20e052=_0x11874f,_0x422b0e=__assign({},defaultContentStyle);if(_0x41aa79===_0x20e052(0x15e))_0x422b0e[_0x20e052(0x122)]=_0x20e052(0x14e);else _0x41aa79===_0x20e052(0x139)&&(_0x422b0e['alignItems']='center');return _0x422b0e;},[_0x41aa79]);return _0x36c89b['createElement'](_0x11874f(0x15b),{'className':_0x27edcf,'style':__assign(__assign({},rootStyle),_0x33c0ad)},_0x36c89b[_0x11874f(0x17f)](_0x11874f(0x15b),{'style':_0x58288e},_0x5cf21a[_0x11874f(0x166)](function(_0x5a078d,_0x4e16e3){var _0x14efd8=_0x11874f,_0x162f29=_0x5a078d['text'],_0x40a5ef=_0x5a078d['separator'],_0x2da802=_0x507040[_0x14efd8(0x136)];return _0x36c89b['createElement'](_0x14efd8(0x15b),{'key':_0x4e16e3,'style':__assign(__assign({},emphasizeStyle(_0x56535a,_0x4cbe02,0x1,_0x2da802,_0x5cf21a[_0x14efd8(0x136)]-_0x4e16e3)),numberPartStyle)},''[_0x14efd8(0x16b)](_0x40a5ef||'')[_0x14efd8(0x16b)](_0x162f29));})));},TagUtil=(function(){function _0x7e2a98(){}return _0x7e2a98['order']=function(_0x244108,_0x1aee42,_0x10176b){var _0x4778e7=_0x243d;if(_0x1aee42===_0x4778e7(0x12f)||_0x1aee42===_0x4778e7(0x180)){var _0xa8f110=_0x244108[_0x4778e7(0x12e)](function(_0x5459f9,_0x4deabe){if(_0x10176b(_0x5459f9)>_0x10176b(_0x4deabe))return-0x1;else{if(_0x10176b(_0x5459f9)<_0x10176b(_0x4deabe))return 0x1;}return 0x0;});if(_0x1aee42==='middle'){var _0xc1ca98=[];_0xa8f110[_0x4778e7(0x12b)](function(_0x3896f5,_0x103f08){var _0x26108e=_0x4778e7;_0x103f08%0x2===0x0?_0xc1ca98[_0x26108e(0x120)](_0x3896f5):_0xc1ca98[_0x26108e(0x17a)](_0x3896f5);}),_0xa8f110=_0xc1ca98;}return _0xa8f110;}else{if(_0x1aee42==='asc'||_0x1aee42==='edge'){var _0xa8f110=_0x244108['sort'](function(_0x39b7dd,_0xcd4463){if(_0x10176b(_0x39b7dd)<_0x10176b(_0xcd4463))return-0x1;else{if(_0x10176b(_0x39b7dd)>_0x10176b(_0xcd4463))return 0x1;}return 0x0;});if(_0x1aee42===_0x4778e7(0x16e)){var _0x303898=[];_0xa8f110[_0x4778e7(0x12b)](function(_0x5e02c5,_0x3742e1){var _0x3edf71=_0x4778e7;_0x3742e1%0x2===0x0?_0x303898[_0x3edf71(0x120)](_0x5e02c5):_0x303898[_0x3edf71(0x17a)](_0x5e02c5);}),_0xa8f110=_0x303898;}return _0xa8f110;}}return _0x244108;},_0x7e2a98;}()),TagCloud=function(_0x1e42e8){var _0x2bcc3f=_0x4ccccb,_0x932c7a=_0x1e42e8[_0x2bcc3f(0x128)],_0x3510f5=_0x1e42e8['fromStyle'],_0xde4145=_0x1e42e8[_0x2bcc3f(0x12d)],_0x3e097f=_0x1e42e8[_0x2bcc3f(0x130)],_0x3918c2=_0x3e097f===void 0x0?'middle':_0x3e097f,_0x317c2a=_0x1e42e8['className'],_0x58c9ab=_0x1e42e8['style'],_0x4b9f60=_0x1e42e8['render'],_0x5ea0ac=_0x1e42e8[_0x2bcc3f(0x165)],_0x5ea96b=_0x5ea0ac===void 0x0?_0x2bcc3f(0x159):_0x5ea0ac,_0x3bfefd=useCallback(function(_0x348091){var _0x33913f=_0x2bcc3f;return NumberUtil[_0x33913f(0x160)](_0x348091[_0x5ea96b])||0x0;},[_0x5ea96b]),_0x57c03d=useMemo(function(){var _0x477556=_0x2bcc3f,_0x1d3601=_0x932c7a[_0x477556(0x166)](function(_0x6e4bcf){return _0x3bfefd(_0x6e4bcf);}),_0x135b66=Math[_0x477556(0x127)][_0x477556(0x14d)](Math,_0x1d3601),_0x46f966=Math[_0x477556(0x143)][_0x477556(0x14d)](Math,_0x1d3601);return[_0x135b66,_0x46f966];},[_0x932c7a,_0x3bfefd]),_0x303fad=_0x57c03d[0x0],_0x102063=_0x57c03d[0x1],_0x92fcf8=useMemo(function(){var _0x4a018f=_0x2bcc3f;return TagUtil[_0x4a018f(0x130)](_0x932c7a,_0x3918c2,_0x3bfefd);},[_0x932c7a,_0x3918c2,_0x3bfefd]),_0x2753ac=useMemo(function(){var _0x11c6de=_0x2bcc3f;return __assign({'display':_0x11c6de(0x14f),'flexWrap':_0x11c6de(0x154),'justifyItems':'center','alignItems':_0x11c6de(0x139),'justifyContent':_0x11c6de(0x139),'alignContent':_0x11c6de(0x139)},_0x58c9ab);},[_0x58c9ab]);return _0x36c89b[_0x2bcc3f(0x17f)](_0x2bcc3f(0x15b),{'className':_0x317c2a,'style':_0x2753ac},_0x92fcf8['map'](function(_0x469fd5,_0x4328b1){var _0x5e4a07=_0x2bcc3f,_0x1a1508=emphasizeStyle(_0x3510f5,_0xde4145,_0x303fad,_0x102063,_0x469fd5[_0x5e4a07(0x137)]);return _0x36c89b[_0x5e4a07(0x17f)](_0x36c89b['Fragment'],{'key':_0x4328b1},_0x4b9f60?_0x4b9f60(_0x1a1508,_0x469fd5,_0x4328b1):_0x36c89b['createElement'](_0x5e4a07(0x15b),{'style':_0x1a1508},_0x469fd5[_0x5e4a07(0x182)]));}));},GridRectUtil=(function(){var _0x1b74ea=_0x4ccccb;function _0x41c83e(){}return _0x41c83e[_0x1b74ea(0x161)]=function(_0x174a0e,_0x1a54aa,_0x6ba412,_0x3efc7f){return{'left':_0x174a0e,'top':_0x1a54aa,'width':_0x6ba412,'height':_0x3efc7f};},_0x41c83e[_0x1b74ea(0x144)]=function(_0x3da211,_0xaab6d5,_0x388e2a){var _0x315963=_0x1b74ea,_0x19cf6b=_0x3da211[_0x315963(0x123)]-_0x3da211[_0x315963(0x135)],_0xb786aa=_0x3da211[_0x315963(0x13d)]-_0x3da211[_0x315963(0x15e)],_0x48e6b7=_0xb786aa>=_0x19cf6b,_0x2ca584=_0x48e6b7?_0xb786aa:_0x19cf6b,_0x20c4c3=Math[_0x315963(0x11e)](_0x2ca584*(_0xaab6d5/(_0xaab6d5+_0x388e2a)));if(_0x48e6b7){var _0x4a7e74=_0x3da211[_0x315963(0x15e)]+_0x20c4c3,_0x4c719c=[__assign(__assign({},_0x3da211),{'height':_0x4a7e74}),__assign(__assign({},_0x3da211),{'top':_0x4a7e74})];return _0x4c719c;}else{var _0x53a37e=_0x3da211['left']+_0x20c4c3,_0x4c719c=[__assign(__assign({},_0x3da211),{'width':_0x53a37e}),__assign(__assign({},_0x3da211),{'left':_0x53a37e})];return _0x4c719c;}},_0x41c83e[_0x1b74ea(0x14c)]=function(_0x2e83cc){var _0x3cf1d3=_0x1b74ea,_0x5739fe=_0x2e83cc[_0x3cf1d3(0x123)],_0x1d0eff=_0x2e83cc[_0x3cf1d3(0x135)],_0x4e6625=_0x2e83cc[_0x3cf1d3(0x13d)],_0x3269b0=_0x2e83cc[_0x3cf1d3(0x15e)],_0x529aa9=_0x5739fe-_0x1d0eff,_0x2f9985=_0x4e6625-_0x3269b0;return _0x529aa9*_0x2f9985;},_0x41c83e;}()),SPLIT_RATIO=0.5,TreemapManager=(function(){var _0x4c2bc6=_0x4ccccb;function _0x3f766d(){var _0x4965d5=_0x243d;this[_0x4965d5(0x17e)]=0x0,this['_data']=[],this[_0x4965d5(0x125)]=0x0,this[_0x4965d5(0x148)]=0x0,this[_0x4965d5(0x158)]=undefined,this['_maxCells']=undefined,this[_0x4965d5(0x134)]=undefined,this[_0x4965d5(0x15c)]=[],this[_0x4965d5(0x146)]='',this['rootNode']={'rate':0x0,'rootRate':0x0,'rootSquare':0x0,'rect':{'top':0x0,'left':0x0,'width':0x64,'height':0x64},'record':undefined,'children':[]};}return Object[_0x4c2bc6(0x133)](_0x3f766d['prototype'],_0x4c2bc6(0x171),{'get':function(){var _0x2ce9a4=_0x4c2bc6;return this[_0x2ce9a4(0x15c)];},'enumerable':![],'configurable':!![]}),_0x3f766d[_0x4c2bc6(0x167)][_0x4c2bc6(0x11c)]=function(_0x395333,_0x584269,_0x1c2447,_0x2837c2,_0x36d956,_0xe04966,_0x1f9625){var _0x554e03=_0x4c2bc6;_0x2837c2===void 0x0&&(_0x2837c2='rate'),this[_0x554e03(0x17e)]=0x0,this[_0x554e03(0x125)]=_0x395333,this[_0x554e03(0x148)]=_0x584269,this[_0x554e03(0x174)]=_0x1c2447,this[_0x554e03(0x146)]=_0x2837c2,this[_0x554e03(0x158)]=_0x36d956,this[_0x554e03(0x131)]=_0xe04966,this[_0x554e03(0x134)]=_0x1f9625,this[_0x554e03(0x132)]();},_0x3f766d[_0x4c2bc6(0x167)][_0x4c2bc6(0x147)]=function(_0x16b829){var _0x572b3e=_0x4c2bc6,_0x458ea9=_0x16b829[this['_valueDataIndex']];if(typeof _0x458ea9===_0x572b3e(0x170))return _0x458ea9;else{if(typeof _0x458ea9==='string'){var _0x1dec3a=parseFloat(_0x458ea9);if(_0x1dec3a[_0x572b3e(0x13a)]()===_0x458ea9[_0x572b3e(0x13a)]())return _0x1dec3a;}}return 0x0;},_0x3f766d['prototype'][_0x4c2bc6(0x132)]=function(){var _0x15d545=_0x4c2bc6,_0x424355=this,_0x1d0533=this[_0x15d545(0x174)]['map'](function(_0xdf3b00){return __assign(__assign({},_0xdf3b00),{'__rate':_0x424355['getRecordRate'](_0xdf3b00)+(_0x424355['_baseRate']||0x0)});})[_0x15d545(0x181)](function(_0x26c6e9){var _0x1fdc58=_0x15d545;return _0x26c6e9[_0x1fdc58(0x12c)]>0x0;})[_0x15d545(0x12e)](function(_0x4858cd,_0x1b6b1a){var _0x15fc4e=_0x15d545;return _0x1b6b1a[_0x15fc4e(0x12c)]-_0x4858cd[_0x15fc4e(0x12c)];});typeof this['_minCellValue']===_0x15d545(0x170)&&(_0x1d0533=_0x1d0533[_0x15d545(0x181)](function(_0xbdca0b){var _0x5e8abd=_0x15d545;return _0xbdca0b[_0x5e8abd(0x12c)]>=(_0x424355['_minCellValue']||0x0);}));typeof this[_0x15d545(0x131)]===_0x15d545(0x170)&&(_0x1d0533=_0x1d0533['slice'](0x0,this[_0x15d545(0x131)]));var _0x4f274a={'top':0x0,'left':0x0,'width':this[_0x15d545(0x148)],'height':this[_0x15d545(0x125)]},_0x4dc5c8=_0x1d0533['reduce'](function(_0xa55aba,_0x26dd82){var _0x2c87c1=_0x15d545;return _0xa55aba+_0x26dd82[_0x2c87c1(0x12c)];},0x0);this[_0x15d545(0x177)]=this[_0x15d545(0x138)](_0x1d0533,_0x4f274a,_0x4dc5c8,this[_0x15d545(0x125)]*this[_0x15d545(0x148)]),this[_0x15d545(0x15c)]=[],this[_0x15d545(0x17c)](this[_0x15d545(0x177)],this[_0x15d545(0x15c)]);},_0x3f766d[_0x4c2bc6(0x167)][_0x4c2bc6(0x138)]=function(_0x467405,_0x1df5e0,_0x2ac5fc,_0x30b67b){var _0x539470=_0x4c2bc6;this[_0x539470(0x17e)]++;var _0x31396d=_0x467405[_0x539470(0x145)](function(_0x543359,_0x304a7f){var _0x408574=_0x539470;return _0x543359+_0x304a7f[_0x408574(0x12c)];},0x0),_0x3e4f29=[],_0x2f9ea8=undefined;_0x467405['length']===0x1&&(_0x2f9ea8=_0x467405[0x0]);if(_0x467405[_0x539470(0x136)]===0x2){var _0x408e4d=_0x467405[0x0],_0x526996=_0x467405[0x1],_0x3ff4d8=GridRectUtil['split'](_0x1df5e0,_0x408e4d[_0x539470(0x12c)],_0x526996['__rate']),_0x1dad1b=_0x3ff4d8[0x0],_0x115c1d=_0x3ff4d8[0x1];_0x3e4f29[_0x539470(0x120)]({'rate':_0x408e4d[_0x539470(0x12c)],'rootRate':_0x2ac5fc,'rootSquare':_0x30b67b,'rect':_0x1dad1b,'record':_0x408e4d,'children':[]}),_0x3e4f29[_0x539470(0x120)]({'rate':_0x526996[_0x539470(0x12c)],'rootRate':_0x2ac5fc,'rootSquare':_0x30b67b,'rect':_0x115c1d,'record':_0x526996,'children':[]});}else{if(_0x467405['length']>0x2){var _0x2bb31e=0x0,_0x1212ff=0x0;for(var _0x13e070=0x0,_0x59eb13=_0x467405;_0x13e070<_0x59eb13[_0x539470(0x136)];_0x13e070++){var _0x117566=_0x59eb13[_0x13e070];_0x1212ff++,_0x2bb31e+=_0x117566[_0x539470(0x12c)];if(_0x2bb31e>=_0x31396d*SPLIT_RATIO)break;}var _0x21d123=GridRectUtil[_0x539470(0x144)](_0x1df5e0,_0x2bb31e,_0x31396d-_0x2bb31e),_0x1dad1b=_0x21d123[0x0],_0x115c1d=_0x21d123[0x1];_0x3e4f29['push'](this['initNode'](_0x467405[_0x539470(0x149)](0x0,_0x1212ff),_0x1dad1b,_0x2ac5fc,_0x30b67b)),_0x3e4f29[_0x539470(0x120)](this['initNode'](_0x467405[_0x539470(0x149)](_0x1212ff),_0x115c1d,_0x2ac5fc,_0x30b67b));}}return{'rate':_0x31396d,'rootRate':_0x2ac5fc,'rootSquare':_0x30b67b,'rect':_0x1df5e0,'record':_0x2f9ea8,'children':_0x3e4f29};},_0x3f766d[_0x4c2bc6(0x167)]['initCard']=function(_0x2d1ebd,_0x3ee200){var _0x4e6dcb=_0x4c2bc6,_0x5be01f=this;_0x2d1ebd[_0x4e6dcb(0x17b)]&&_0x3ee200[_0x4e6dcb(0x120)]({'record':_0x2d1ebd[_0x4e6dcb(0x17b)],'rect':_0x2d1ebd[_0x4e6dcb(0x161)]}),_0x2d1ebd[_0x4e6dcb(0x173)][_0x4e6dcb(0x12b)](function(_0x4d2b7b){var _0x327c4c=_0x4e6dcb;_0x5be01f[_0x327c4c(0x17c)](_0x4d2b7b,_0x3ee200);});},_0x3f766d;}()),Treemap=function(_0x4ccd7b){var _0x4a9ee6=_0x4ccccb,_0x51553c=_0x4ccd7b[_0x4a9ee6(0x15d)],_0x53a16c=_0x4ccd7b[_0x4a9ee6(0x15a)],_0x189d97=_0x53a16c===void 0x0?0x64:_0x53a16c,_0x3197a7=_0x4ccd7b[_0x4a9ee6(0x121)],_0x170326=_0x3197a7===void 0x0?0x64:_0x3197a7,_0x2a6f5c=_0x4ccd7b[_0x4a9ee6(0x13b)],_0x5bcb29=_0x4ccd7b['dataValueKey'],_0x3245c1=_0x5bcb29===void 0x0?_0x4a9ee6(0x159):_0x5bcb29,_0x3028f2=_0x4ccd7b['render'],_0x1dfff8=_0x4ccd7b[_0x4a9ee6(0x128)],_0x420e29=_0x4ccd7b[_0x4a9ee6(0x12a)],_0x5c5794=_0x4ccd7b['maxCells'],_0x164641=_0x4ccd7b[_0x4a9ee6(0x124)],_0x19fa31=useMemo(function(){var _0x42a7d2=_0x4a9ee6;return{'display':_0x42a7d2(0x13c),'gridTemplateColumns':_0x42a7d2(0x169)[_0x42a7d2(0x16b)](_0x170326,_0x42a7d2(0x140)),'gridTemplateRows':'repeat('[_0x42a7d2(0x16b)](_0x189d97,_0x42a7d2(0x140)),'gap':_0x2a6f5c};},[_0x189d97,_0x170326,_0x2a6f5c]),_0x8eeddc=useMemo(function(){var _0xe9a5e2=_0x4a9ee6,_0x4f7f1b=new TreemapManager();return _0x4f7f1b[_0xe9a5e2(0x11c)](_0x189d97,_0x170326,_0x1dfff8,_0x3245c1,_0x420e29,_0x5c5794,_0x164641),_0x4f7f1b['cards'];},[_0x189d97,_0x170326,_0x1dfff8,_0x3245c1,_0x420e29,_0x5c5794,_0x164641]);return _0x36c89b[_0x4a9ee6(0x17f)](_0x4a9ee6(0x15b),{'style':_0x19fa31,'className':_0x51553c},_0x8eeddc[_0x4a9ee6(0x166)](function(_0x470947,_0x540c23){var _0x5063e6=_0x4a9ee6,_0x433262=_0x470947[_0x5063e6(0x161)],_0x4ba8c0=_0x470947[_0x5063e6(0x17b)],_0x5b5efa=_0x433262['left'],_0x4aac5c=_0x433262[_0x5063e6(0x15e)],_0x290c02=_0x433262['width'],_0x5ab2c7=_0x433262[_0x5063e6(0x13d)],_0xf90ada={'gridColumn':''['concat'](_0x5b5efa+0x1,_0x5063e6(0x14a))[_0x5063e6(0x16b)](_0x290c02+0x1),'gridRow':''['concat'](_0x4aac5c+0x1,_0x5063e6(0x14a))[_0x5063e6(0x16b)](_0x5ab2c7+0x1)};return _0x3028f2(_0xf90ada,_0x4ba8c0,_0x540c23,{'left':_0x5b5efa,'top':_0x4aac5c,'width':_0x290c02,'height':_0x5ab2c7,'rootRate':0x0,'rootSquare':0x0});}));};function _0x1b25(){var _0x531fc3=['defineProperty','_minCellValue','left','length','rate','initNode','center','toString','gap','grid','height','1259644qrVbVA','1em',',\x201fr)','abs','7ajoeks','max','split','reduce','_valueDataIndex','getRecordRate','_rows','slice','\x20/\x20','groupSeparator','square','apply','flex-start','flex','match','decimalSeparator','hasOwnProperty','groupDigits','wrap','flex-end','36690bIeDFv','2632395XXHGqf','_baseRate','value','rows','div','_cards','className','top','style','toFloat','rect','string','420GzzuZD','row','dataValueKey','map','prototype','2em','repeat(','fromStyle','concat','verticalAlign','splitNumber','edge','basicMaxValue','number','cards','441971MWjGfm','children','_data','})+(?!\x5cd)|$)','5460372etiFgU','rootNode','call','toFixed','unshift','record','initCard','1765450CqXxBY','_count','createElement','middle','filter','text','(\x5cd+?)(?=(\x5cd{','init','3676944kZfzEL','floor','decimalDigits','push','cols','alignItems','width','minCellValue','_cols','toGroups','min','data','inline-block','baseRate','forEach','__rate','toStyle','sort','desc','order','_maxCells','refresh'];_0x1b25=function(){return _0x531fc3;};return _0x1b25();}export{GridRectUtil,I2Number,TagCloud,Treemap,TreemapManager};

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

"use strict";var React=require("react"),emphasizer=require("emphasizer"),__assign=function(){return(__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},NumberUtil=function(){function c(){}return c.toFloat=function(t){var e;return"string"==typeof t?t===(e=parseFloat(t)).toString()?e:void 0:t},c.splitNumber=function(t,e){var r=[];if(void 0!==t){var a=e.decimalDigits,i=e.groupSeparator,n=void 0===i?",":i,i=e.decimalSeparator,e=e.groupDigits,t=t.toFixed(a||0).split(".");if(0<t.length){for(var o=c.toGroups(t[0],e),s=0;s<o.length;s++)r.push({text:o[s],separator:!(0<s)||void 0===n?void 0:n});2===t.length&&(a=t[1])&&r.push({text:a,isFraction:!0,separator:i||"."})}}return r},c.toGroups=function(t,e){return 0===e?[t]:(e=Math.abs(e||3),t.match(new RegExp("(\\d+?)(?=(\\d{".concat(e,"})+(?!\\d)|$)"),"g"))||[])},c}(),rootStyle={display:"inline-block"},defaultContentStyle={display:"flex",flexDirection:"row",alignItems:"flex-end"},numberPartStyle={lineHeight:"1em"},I2Number=function(t){var e=t.fromStyle,r=t.toStyle,a=t.decimalDigits,i=t.verticalAlign,n=t.className,o=t.style,s=t.groupSeparator,c=t.decimalSeparator,u=t.groupDigits,l=t.value,d=t.basicMaxValue,f=t.children,h=React.useMemo(function(){return{decimalDigits:a,decimalSeparator:c,groupSeparator:s,groupDigits:u}},[a,c,s,u]),p=React.useMemo(function(){return NumberUtil.splitNumber(NumberUtil.toFloat(f||l),h)},[f,l,h]),g=React.useMemo(function(){return NumberUtil.splitNumber(NumberUtil.toFloat(d),h)},[d,h]),_=React.useMemo(function(){return __assign({fontSize:"1em"},e)},[e]),m=React.useMemo(function(){return __assign({fontSize:"2em"},r)},[r]),t=React.useMemo(function(){var t=__assign({},defaultContentStyle);return"top"===i?t.alignItems="flex-start":"center"===i&&(t.alignItems="center"),t},[i]);return React.createElement("div",{className:n,style:__assign(__assign({},rootStyle),o)},React.createElement("div",{style:t},p.map(function(t,e){var r=t.text,t=t.separator,a=g.length;return React.createElement("div",{key:e,style:__assign(__assign({},emphasizer.emphasizeStyle(_,m,1,a,p.length-e)),numberPartStyle)},"".concat(t||"").concat(r))})))},TagUtil=function(){function t(){}return t.order=function(t,e,r){var a,i,n;return"desc"===e||"middle"===e?(i=t.sort(function(t,e){return r(t)>r(e)?-1:r(t)<r(e)?1:0}),"middle"===e&&(a=[],i.forEach(function(t,e){e%2==0?a.push(t):a.unshift(t)}),i=a),i):"asc"===e||"edge"===e?(i=t.sort(function(t,e){return r(t)<r(e)?-1:r(t)>r(e)?1:0}),"edge"===e&&(n=[],i.forEach(function(t,e){e%2==0?n.push(t):n.unshift(t)}),i=n),i):t},t}(),TagCloud=function(t){var e=t.data,a=t.fromStyle,i=t.toStyle,r=t.order,n=void 0===r?"middle":r,r=t.className,o=t.style,s=t.render,t=t.dataValueKey,c=void 0===t?"value":t,u=React.useCallback(function(t){return NumberUtil.toFloat(t[c])||0},[c]),t=React.useMemo(function(){var t=e.map(function(t){return u(t)});return[Math.min.apply(Math,t),Math.max.apply(Math,t)]},[e,u]),l=t[0],d=t[1],t=React.useMemo(function(){return TagUtil.order(e,n,u)},[e,n,u]),f=React.useMemo(function(){return __assign({display:"flex",flexWrap:"wrap",justifyItems:"center",alignItems:"center",justifyContent:"center",alignContent:"center"},o)},[o]);return React.createElement("div",{className:r,style:f},t.map(function(t,e){var r=emphasizer.emphasizeStyle(a,i,l,d,t.rate);return React.createElement(React.Fragment,{key:e},s?s(r,t,e):React.createElement("div",{style:r},t.text))}))},GridRectUtil=function(){function t(){}return t.rect=function(t,e,r,a){return{left:t,top:e,width:r,height:a}},t.split=function(t,e,r){var a=t.width-t.left,i=t.height-t.top,n=a<=i,e=Math.floor(e/(e+r)*(n?i:a));return n?(r=t.top+e,[__assign(__assign({},t),{height:r}),__assign(__assign({},t),{top:r})]):(i=t.left+e,[__assign(__assign({},t),{width:i}),__assign(__assign({},t),{left:i})])},t.square=function(t){return(t.width-t.left)*(t.height-t.top)},t}(),SPLIT_RATIO=.5,TreemapManager=function(){function t(){this._count=0,this._data=[],this._cols=0,this._rows=0,this._baseRate=0,this._cards=[],this._valueDataIndex="",this.rootNode={rate:0,rootRate:0,rootSquare:0,rect:{top:0,left:0,width:100,height:100},record:void 0,children:[]}}return Object.defineProperty(t.prototype,"cards",{get:function(){return this._cards},enumerable:!1,configurable:!0}),t.prototype.init=function(t,e,r,a,i){void 0===a&&(a="rate"),void 0===i&&(i=0),this._count=0,this._cols=t,this._rows=e,this._data=r,this._valueDataIndex=a,this._baseRate=i,this.refresh()},t.prototype.getRecordRate=function(t){t=t[this._valueDataIndex];if("number"==typeof t)return t;if("string"==typeof t){var e=parseFloat(t);if(e.toString()===t.toString())return e}return 0},t.prototype.refresh=function(){var e=this,t=this._data.map(function(t){return __assign(__assign({},t),{__rate:e.getRecordRate(t)+e._baseRate})}).filter(function(t){return 0<t.__rate}).sort(function(t,e){return e.__rate-t.__rate}),r={top:0,left:0,width:this._rows,height:this._cols},a=t.reduce(function(t,e){return t+e.__rate},0);this.rootNode=this.initNode(t,r,a,this._cols*this._rows),this._cards=[],this.initCard(this.rootNode,this._cards)},t.prototype.initNode=function(t,e,r,a){this._count++;var i=t.reduce(function(t,e){return t+e.__rate},0),n=[],o=void 0;if(1===t.length&&(o=t[0]),2===t.length){var s=t[0],c=t[1],u=GridRectUtil.split(e,s.__rate,c.__rate),l=u[0],u=u[1];n.push({rate:s.__rate,rootRate:r,rootSquare:a,rect:l,record:s,children:[]}),n.push({rate:c.__rate,rootRate:r,rootSquare:a,rect:u,record:c,children:[]})}else if(2<t.length){for(var d=0,f=0,h=0,p=t;h<p.length;h++)if(f++,d+=p[h].__rate,i*SPLIT_RATIO<=d)break;s=GridRectUtil.split(e,d,i-d),l=s[0],u=s[1];n.push(this.initNode(t.slice(0,f),l,r,a)),n.push(this.initNode(t.slice(f),u,r,a))}return{rate:i,rootRate:r,rootSquare:a,rect:e,record:o,children:n}},t.prototype.initCard=function(t,e){var r=this;t.record&&e.push({record:t.record,rect:t.rect}),t.children.forEach(function(t){r.initCard(t,e)})},t}(),Treemap=function(t){var e=t.className,r=t.rows,a=void 0===r?100:r,r=t.cols,i=void 0===r?100:r,n=t.gap,r=t.dataValueKey,o=void 0===r?"value":r,s=t.render,c=t.data,u=t.baseRate,r=React.useMemo(function(){return{display:"grid",gridTemplateColumns:"repeat(".concat(i,", 1fr)"),gridTemplateRows:"repeat(".concat(a,", 1fr)"),gap:n}},[a,i,n]),t=React.useMemo(function(){var t=new TreemapManager;return t.init(a,i,c,o,u),t.cards},[a,i,c,o,u]);return React.useEffect(function(){console.info("TREEMAP",e,a,i,n,o,c.length,"baseRate",u)},[e,a,i,n,o,c,u]),React.createElement("div",{style:r,className:e},t.map(function(t,e){var r=t.rect,t=t.record,a=r.left,i=r.top,n=r.width,r=r.height,o={gridColumn:"".concat(a+1," / ").concat(n+1),gridRow:"".concat(i+1," / ").concat(r+1)};return s(o,t,e,{left:a,top:i,width:n,height:r,rootRate:0,rootSquare:0})}))};exports.GridRectUtil=GridRectUtil,exports.I2Number=I2Number,exports.TagCloud=TagCloud,exports.Treemap=Treemap,exports.TreemapManager=TreemapManager;
'use strict';function _0x3572(_0x1326fd,_0x298b38){var _0x125f2b=_0x125f();return _0x3572=function(_0x3572a8,_0xa2aa9d){_0x3572a8=_0x3572a8-0x197;var _0x5d68d0=_0x125f2b[_0x3572a8];return _0x5d68d0;},_0x3572(_0x1326fd,_0x298b38);}function _0x125f(){var _0x175743=['_cols','style','number','center','className','_cards','flex-end','_data','unshift','Fragment','dataValueKey','height','1415603MIEypl','children','groupSeparator','alignItems','Treemap','flex-start','285FUFFgi','abs','inline-block','__rate','_maxCells','square','toFixed','flex','record','_count','TagCloud','initNode','max','repeat(','3472352SnPaWd','\x20/\x20','width','1em','decimalSeparator','split','string','toString','rate','defineProperty','verticalAlign','getRecordRate','div','toStyle','forEach','basicMaxValue','length','_minCellValue','left','middle','942307rFGzPx','decimalDigits','refresh','useCallback','desc','maxCells','map','emphasizeStyle','64938QDndUT','init','cards','concat','top','(\x5cd+?)(?=(\x5cd{','22074BBeACD','baseRate',',\x201fr)','createElement','_valueDataIndex','592dxIXWj','13084110HIkPld','useMemo','data','toGroups','text','rect','minCellValue','prototype','sort','min','match','groupDigits','render','react','_rows','separator','push','assign','apply','_baseRate','asc','order','toFloat','value','initCard','rows','TreemapManager','2442940eRcvTN','floor','splitNumber','slice','hasOwnProperty','fromStyle'];_0x125f=function(){return _0x175743;};return _0x125f();}var _0x4bc0e9=_0x3572;(function(_0x437fd1,_0x141360){var _0xb7f135=_0x3572,_0x51d43a=_0x437fd1();while(!![]){try{var _0x2c78ec=-parseInt(_0xb7f135(0x1a3))/0x1+parseInt(_0xb7f135(0x1d2))/0x2+-parseInt(_0xb7f135(0x1b1))/0x3*(-parseInt(_0xb7f135(0x1b6))/0x4)+parseInt(_0xb7f135(0x1ea))/0x5*(parseInt(_0xb7f135(0x1ab))/0x6)+-parseInt(_0xb7f135(0x1e4))/0x7+parseInt(_0xb7f135(0x1f8))/0x8+-parseInt(_0xb7f135(0x1b7))/0x9;if(_0x2c78ec===_0x141360)break;else _0x51d43a['push'](_0x51d43a['shift']());}catch(_0x30f697){_0x51d43a['push'](_0x51d43a['shift']());}}}(_0x125f,0xba4cb));var React=require(_0x4bc0e9(0x1c4)),emphasizer=require('emphasizer'),__assign=function(){var _0x473679=_0x4bc0e9;return __assign=Object[_0x473679(0x1c8)]||function _0x2c3375(_0x299358){var _0x30fbb2=_0x473679;for(var _0x1d4f37,_0x5858b8=0x1,_0x107cf6=arguments[_0x30fbb2(0x19f)];_0x5858b8<_0x107cf6;_0x5858b8++){_0x1d4f37=arguments[_0x5858b8];for(var _0x4f9a82 in _0x1d4f37)if(Object[_0x30fbb2(0x1be)][_0x30fbb2(0x1d6)]['call'](_0x1d4f37,_0x4f9a82))_0x299358[_0x4f9a82]=_0x1d4f37[_0x4f9a82];}return _0x299358;},__assign[_0x473679(0x1c9)](this,arguments);},NumberUtil=(function(){var _0x539c8c=_0x4bc0e9;function _0x160529(){}return _0x160529['toFloat']=function(_0x5923a5){var _0x4d2df5=_0x3572;if(typeof _0x5923a5===_0x4d2df5(0x1fe)){var _0x4ce101=parseFloat(_0x5923a5);return _0x5923a5===_0x4ce101[_0x4d2df5(0x1ff)]()?_0x4ce101:undefined;}return _0x5923a5;},_0x160529[_0x539c8c(0x1d4)]=function(_0xb9e97d,_0x5e21e7){var _0x1f0b96=_0x539c8c,_0x4eca61=[];if(_0xb9e97d!==undefined){var _0x2cc569=_0x5e21e7['decimalDigits'],_0x1a1146=_0x5e21e7[_0x1f0b96(0x1e6)],_0x594557=_0x1a1146===void 0x0?',':_0x1a1146,_0x3be2ef=_0x5e21e7[_0x1f0b96(0x1fc)],_0x5861a6=_0x5e21e7[_0x1f0b96(0x1c2)],_0x520ee1=_0xb9e97d[_0x1f0b96(0x1f0)](_0x2cc569||0x0),_0x3da663=_0x520ee1[_0x1f0b96(0x1fd)]('.');if(_0x3da663[_0x1f0b96(0x19f)]>0x0){var _0x86c0e4=_0x160529[_0x1f0b96(0x1ba)](_0x3da663[0x0],_0x5861a6);for(var _0x42dc57=0x0;_0x42dc57<_0x86c0e4[_0x1f0b96(0x19f)];_0x42dc57++){_0x4eca61[_0x1f0b96(0x1c7)]({'text':_0x86c0e4[_0x42dc57],'separator':_0x42dc57>0x0?_0x594557===undefined?undefined:_0x594557:undefined});}if(_0x3da663[_0x1f0b96(0x19f)]===0x2){var _0x29df72=_0x3da663[0x1];_0x29df72&&_0x4eca61[_0x1f0b96(0x1c7)]({'text':_0x29df72,'isFraction':!![],'separator':_0x3be2ef||'.'});}}}return _0x4eca61;},_0x160529[_0x539c8c(0x1ba)]=function(_0x32cdef,_0x52e2da){var _0x576fe0=_0x539c8c;if(_0x52e2da===0x0)return[_0x32cdef];var _0xf8967b=Math[_0x576fe0(0x1eb)](_0x52e2da||0x3),_0x4268b2=_0x32cdef[_0x576fe0(0x1c1)](new RegExp(_0x576fe0(0x1b0)[_0x576fe0(0x1ae)](_0xf8967b,'})+(?!\x5cd)|$)'),'g'));return _0x4268b2?_0x4268b2:[];},_0x160529;}()),rootStyle={'display':_0x4bc0e9(0x1ec)},defaultContentStyle={'display':'flex','flexDirection':'row','alignItems':_0x4bc0e9(0x1de)},numberPartStyle={'lineHeight':_0x4bc0e9(0x1fb)},I2Number=function(_0x43a750){var _0x23f2cf=_0x4bc0e9,_0x34df37=_0x43a750[_0x23f2cf(0x1d7)],_0x4112b2=_0x43a750[_0x23f2cf(0x19c)],_0x2c0621=_0x43a750[_0x23f2cf(0x1a4)],_0x597755=_0x43a750[_0x23f2cf(0x199)],_0x5ce4c8=_0x43a750['className'],_0x44c896=_0x43a750[_0x23f2cf(0x1d9)],_0x3596a0=_0x43a750['groupSeparator'],_0x4beea1=_0x43a750[_0x23f2cf(0x1fc)],_0x44f289=_0x43a750[_0x23f2cf(0x1c2)],_0x37292b=_0x43a750[_0x23f2cf(0x1ce)],_0x47f75c=_0x43a750[_0x23f2cf(0x19e)],_0x2f747f=_0x43a750[_0x23f2cf(0x1e5)],_0x326455=React['useMemo'](function(){return{'decimalDigits':_0x2c0621,'decimalSeparator':_0x4beea1,'groupSeparator':_0x3596a0,'groupDigits':_0x44f289};},[_0x2c0621,_0x4beea1,_0x3596a0,_0x44f289]),_0x24cb78=React['useMemo'](function(){var _0x30ccfb=_0x23f2cf;return NumberUtil[_0x30ccfb(0x1d4)](NumberUtil['toFloat'](_0x2f747f||_0x37292b),_0x326455);},[_0x2f747f,_0x37292b,_0x326455]),_0x489a90=React['useMemo'](function(){return NumberUtil['splitNumber'](NumberUtil['toFloat'](_0x47f75c),_0x326455);},[_0x47f75c,_0x326455]),_0x4d6abf=React['useMemo'](function(){var _0x2b5f95=_0x23f2cf;return __assign({'fontSize':_0x2b5f95(0x1fb)},_0x34df37);},[_0x34df37]),_0x31afc2=React['useMemo'](function(){return __assign({'fontSize':'2em'},_0x4112b2);},[_0x4112b2]),_0x3de727=React[_0x23f2cf(0x1b8)](function(){var _0x42401c=_0x23f2cf,_0x265085=__assign({},defaultContentStyle);if(_0x597755===_0x42401c(0x1af))_0x265085[_0x42401c(0x1e7)]=_0x42401c(0x1e9);else _0x597755===_0x42401c(0x1db)&&(_0x265085[_0x42401c(0x1e7)]=_0x42401c(0x1db));return _0x265085;},[_0x597755]);return React[_0x23f2cf(0x1b4)](_0x23f2cf(0x19b),{'className':_0x5ce4c8,'style':__assign(__assign({},rootStyle),_0x44c896)},React[_0x23f2cf(0x1b4)](_0x23f2cf(0x19b),{'style':_0x3de727},_0x24cb78['map'](function(_0x27e18c,_0x1a0699){var _0x2c26d9=_0x23f2cf,_0x4bf769=_0x27e18c[_0x2c26d9(0x1bb)],_0x385842=_0x27e18c[_0x2c26d9(0x1c6)],_0x122188=_0x489a90['length'];return React['createElement'](_0x2c26d9(0x19b),{'key':_0x1a0699,'style':__assign(__assign({},emphasizer[_0x2c26d9(0x1aa)](_0x4d6abf,_0x31afc2,0x1,_0x122188,_0x24cb78['length']-_0x1a0699)),numberPartStyle)},''[_0x2c26d9(0x1ae)](_0x385842||'')['concat'](_0x4bf769));})));},TagUtil=(function(){var _0x3a7a86=_0x4bc0e9;function _0x1fcf92(){}return _0x1fcf92[_0x3a7a86(0x1cc)]=function(_0x4be048,_0x1665ae,_0x288b92){var _0x3ffa81=_0x3a7a86;if(_0x1665ae===_0x3ffa81(0x1a7)||_0x1665ae===_0x3ffa81(0x1a2)){var _0x37057e=_0x4be048[_0x3ffa81(0x1bf)](function(_0x353697,_0x59f072){if(_0x288b92(_0x353697)>_0x288b92(_0x59f072))return-0x1;else{if(_0x288b92(_0x353697)<_0x288b92(_0x59f072))return 0x1;}return 0x0;});if(_0x1665ae===_0x3ffa81(0x1a2)){var _0x3396d9=[];_0x37057e['forEach'](function(_0x30e6eb,_0x3a1ad7){var _0x1307d4=_0x3ffa81;_0x3a1ad7%0x2===0x0?_0x3396d9[_0x1307d4(0x1c7)](_0x30e6eb):_0x3396d9['unshift'](_0x30e6eb);}),_0x37057e=_0x3396d9;}return _0x37057e;}else{if(_0x1665ae===_0x3ffa81(0x1cb)||_0x1665ae==='edge'){var _0x37057e=_0x4be048[_0x3ffa81(0x1bf)](function(_0x4ba32f,_0x1ca4ad){if(_0x288b92(_0x4ba32f)<_0x288b92(_0x1ca4ad))return-0x1;else{if(_0x288b92(_0x4ba32f)>_0x288b92(_0x1ca4ad))return 0x1;}return 0x0;});if(_0x1665ae==='edge'){var _0x4bef4c=[];_0x37057e[_0x3ffa81(0x19d)](function(_0x5d582c,_0x3a92ce){var _0x554a73=_0x3ffa81;_0x3a92ce%0x2===0x0?_0x4bef4c[_0x554a73(0x1c7)](_0x5d582c):_0x4bef4c[_0x554a73(0x1e0)](_0x5d582c);}),_0x37057e=_0x4bef4c;}return _0x37057e;}}return _0x4be048;},_0x1fcf92;}()),TagCloud=function(_0x70d8d){var _0x23270a=_0x4bc0e9,_0x2fff5d=_0x70d8d[_0x23270a(0x1b9)],_0x4298a5=_0x70d8d[_0x23270a(0x1d7)],_0x4b3939=_0x70d8d[_0x23270a(0x19c)],_0x3cefab=_0x70d8d[_0x23270a(0x1cc)],_0x23047d=_0x3cefab===void 0x0?_0x23270a(0x1a2):_0x3cefab,_0x4d4611=_0x70d8d['className'],_0x207338=_0x70d8d['style'],_0x4eaa6f=_0x70d8d[_0x23270a(0x1c3)],_0x112c0d=_0x70d8d[_0x23270a(0x1e2)],_0x27d689=_0x112c0d===void 0x0?_0x23270a(0x1ce):_0x112c0d,_0x15724d=React[_0x23270a(0x1a6)](function(_0x1c2f8a){var _0x37a2c0=_0x23270a;return NumberUtil[_0x37a2c0(0x1cd)](_0x1c2f8a[_0x27d689])||0x0;},[_0x27d689]),_0x4318c2=React[_0x23270a(0x1b8)](function(){var _0x44219a=_0x23270a,_0x33da9f=_0x2fff5d[_0x44219a(0x1a9)](function(_0x424bd6){return _0x15724d(_0x424bd6);}),_0x201ebf=Math[_0x44219a(0x1c0)]['apply'](Math,_0x33da9f),_0x52cfaf=Math[_0x44219a(0x1f6)][_0x44219a(0x1c9)](Math,_0x33da9f);return[_0x201ebf,_0x52cfaf];},[_0x2fff5d,_0x15724d]),_0x5be28e=_0x4318c2[0x0],_0x5b7b33=_0x4318c2[0x1],_0x674e52=React['useMemo'](function(){var _0x148c1c=_0x23270a;return TagUtil[_0x148c1c(0x1cc)](_0x2fff5d,_0x23047d,_0x15724d);},[_0x2fff5d,_0x23047d,_0x15724d]),_0x38818c=React['useMemo'](function(){var _0x2aa8b7=_0x23270a;return __assign({'display':_0x2aa8b7(0x1f1),'flexWrap':'wrap','justifyItems':_0x2aa8b7(0x1db),'alignItems':_0x2aa8b7(0x1db),'justifyContent':_0x2aa8b7(0x1db),'alignContent':_0x2aa8b7(0x1db)},_0x207338);},[_0x207338]);return React['createElement'](_0x23270a(0x19b),{'className':_0x4d4611,'style':_0x38818c},_0x674e52[_0x23270a(0x1a9)](function(_0x189bb0,_0xe96a6f){var _0x39c4cf=_0x23270a,_0x1cab21=emphasizer[_0x39c4cf(0x1aa)](_0x4298a5,_0x4b3939,_0x5be28e,_0x5b7b33,_0x189bb0[_0x39c4cf(0x197)]);return React[_0x39c4cf(0x1b4)](React[_0x39c4cf(0x1e1)],{'key':_0xe96a6f},_0x4eaa6f?_0x4eaa6f(_0x1cab21,_0x189bb0,_0xe96a6f):React[_0x39c4cf(0x1b4)](_0x39c4cf(0x19b),{'style':_0x1cab21},_0x189bb0[_0x39c4cf(0x1bb)]));}));},GridRectUtil=(function(){var _0x303528=_0x4bc0e9;function _0x5a4d4d(){}return _0x5a4d4d[_0x303528(0x1bc)]=function(_0x4097bc,_0x3ee883,_0x4fbed6,_0x4911b4){return{'left':_0x4097bc,'top':_0x3ee883,'width':_0x4fbed6,'height':_0x4911b4};},_0x5a4d4d[_0x303528(0x1fd)]=function(_0x43c35f,_0x3a141e,_0x41eacc){var _0x1aa637=_0x303528,_0x180c7a=_0x43c35f[_0x1aa637(0x1fa)]-_0x43c35f[_0x1aa637(0x1a1)],_0x57ab44=_0x43c35f[_0x1aa637(0x1e3)]-_0x43c35f['top'],_0x42c935=_0x57ab44>=_0x180c7a,_0x454600=_0x42c935?_0x57ab44:_0x180c7a,_0x2cabfb=Math[_0x1aa637(0x1d3)](_0x454600*(_0x3a141e/(_0x3a141e+_0x41eacc)));if(_0x42c935){var _0x3b76eb=_0x43c35f[_0x1aa637(0x1af)]+_0x2cabfb,_0x325fdd=[__assign(__assign({},_0x43c35f),{'height':_0x3b76eb}),__assign(__assign({},_0x43c35f),{'top':_0x3b76eb})];return _0x325fdd;}else{var _0x56592c=_0x43c35f[_0x1aa637(0x1a1)]+_0x2cabfb,_0x325fdd=[__assign(__assign({},_0x43c35f),{'width':_0x56592c}),__assign(__assign({},_0x43c35f),{'left':_0x56592c})];return _0x325fdd;}},_0x5a4d4d[_0x303528(0x1ef)]=function(_0xdfe504){var _0x383752=_0x303528,_0x46473c=_0xdfe504[_0x383752(0x1fa)],_0x56c1ef=_0xdfe504[_0x383752(0x1a1)],_0x17f3e7=_0xdfe504[_0x383752(0x1e3)],_0x3f190c=_0xdfe504[_0x383752(0x1af)],_0x1b3a1f=_0x46473c-_0x56c1ef,_0x252aa9=_0x17f3e7-_0x3f190c;return _0x1b3a1f*_0x252aa9;},_0x5a4d4d;}()),SPLIT_RATIO=0.5,TreemapManager=(function(){var _0x6e227d=_0x4bc0e9;function _0x452982(){var _0x21d805=_0x3572;this['_count']=0x0,this['_data']=[],this[_0x21d805(0x1d8)]=0x0,this[_0x21d805(0x1c5)]=0x0,this[_0x21d805(0x1ca)]=undefined,this[_0x21d805(0x1ee)]=undefined,this[_0x21d805(0x1a0)]=undefined,this[_0x21d805(0x1dd)]=[],this[_0x21d805(0x1b5)]='',this['rootNode']={'rate':0x0,'rootRate':0x0,'rootSquare':0x0,'rect':{'top':0x0,'left':0x0,'width':0x64,'height':0x64},'record':undefined,'children':[]};}return Object[_0x6e227d(0x198)](_0x452982[_0x6e227d(0x1be)],_0x6e227d(0x1ad),{'get':function(){return this['_cards'];},'enumerable':![],'configurable':!![]}),_0x452982[_0x6e227d(0x1be)]['init']=function(_0x102567,_0x26d2d9,_0xe7b6ea,_0x4bf804,_0x19a98f,_0x33eb7b,_0xccb9a9){var _0x3ce4cf=_0x6e227d;_0x4bf804===void 0x0&&(_0x4bf804=_0x3ce4cf(0x197)),this[_0x3ce4cf(0x1f3)]=0x0,this['_cols']=_0x102567,this[_0x3ce4cf(0x1c5)]=_0x26d2d9,this[_0x3ce4cf(0x1df)]=_0xe7b6ea,this[_0x3ce4cf(0x1b5)]=_0x4bf804,this['_baseRate']=_0x19a98f,this[_0x3ce4cf(0x1ee)]=_0x33eb7b,this[_0x3ce4cf(0x1a0)]=_0xccb9a9,this[_0x3ce4cf(0x1a5)]();},_0x452982[_0x6e227d(0x1be)][_0x6e227d(0x19a)]=function(_0x217574){var _0x2f2fd2=_0x6e227d,_0xe1532a=_0x217574[this[_0x2f2fd2(0x1b5)]];if(typeof _0xe1532a==='number')return _0xe1532a;else{if(typeof _0xe1532a===_0x2f2fd2(0x1fe)){var _0x35f59e=parseFloat(_0xe1532a);if(_0x35f59e[_0x2f2fd2(0x1ff)]()===_0xe1532a[_0x2f2fd2(0x1ff)]())return _0x35f59e;}}return 0x0;},_0x452982[_0x6e227d(0x1be)][_0x6e227d(0x1a5)]=function(){var _0x158160=_0x6e227d,_0x16acf1=this,_0xa31d95=this['_data'][_0x158160(0x1a9)](function(_0x200aa6){var _0x235247=_0x158160;return __assign(__assign({},_0x200aa6),{'__rate':_0x16acf1[_0x235247(0x19a)](_0x200aa6)+(_0x16acf1[_0x235247(0x1ca)]||0x0)});})['filter'](function(_0x54a0ff){return _0x54a0ff['__rate']>0x0;})[_0x158160(0x1bf)](function(_0x1ea37c,_0x29e7a9){var _0x2f1618=_0x158160;return _0x29e7a9['__rate']-_0x1ea37c[_0x2f1618(0x1ed)];});typeof this['_minCellValue']===_0x158160(0x1da)&&(_0xa31d95=_0xa31d95['filter'](function(_0x175e89){var _0x21461f=_0x158160;return _0x175e89['__rate']>=(_0x16acf1[_0x21461f(0x1a0)]||0x0);}));typeof this[_0x158160(0x1ee)]==='number'&&(_0xa31d95=_0xa31d95[_0x158160(0x1d5)](0x0,this[_0x158160(0x1ee)]));var _0x1fde2a={'top':0x0,'left':0x0,'width':this[_0x158160(0x1c5)],'height':this['_cols']},_0x27bb41=_0xa31d95['reduce'](function(_0x4ad20e,_0x578e73){var _0x1b4626=_0x158160;return _0x4ad20e+_0x578e73[_0x1b4626(0x1ed)];},0x0);this['rootNode']=this[_0x158160(0x1f5)](_0xa31d95,_0x1fde2a,_0x27bb41,this['_cols']*this[_0x158160(0x1c5)]),this[_0x158160(0x1dd)]=[],this['initCard'](this['rootNode'],this[_0x158160(0x1dd)]);},_0x452982['prototype'][_0x6e227d(0x1f5)]=function(_0x624e3e,_0x168b8f,_0x3895c8,_0x32d7ab){var _0x4aa434=_0x6e227d;this[_0x4aa434(0x1f3)]++;var _0x424141=_0x624e3e['reduce'](function(_0x5c90a6,_0xfd1655){var _0x5bf868=_0x4aa434;return _0x5c90a6+_0xfd1655[_0x5bf868(0x1ed)];},0x0),_0x4a6ff7=[],_0x1f0364=undefined;_0x624e3e[_0x4aa434(0x19f)]===0x1&&(_0x1f0364=_0x624e3e[0x0]);if(_0x624e3e[_0x4aa434(0x19f)]===0x2){var _0x140820=_0x624e3e[0x0],_0x1e7c55=_0x624e3e[0x1],_0xf7a8f0=GridRectUtil[_0x4aa434(0x1fd)](_0x168b8f,_0x140820['__rate'],_0x1e7c55[_0x4aa434(0x1ed)]),_0x2a18a0=_0xf7a8f0[0x0],_0x557f00=_0xf7a8f0[0x1];_0x4a6ff7[_0x4aa434(0x1c7)]({'rate':_0x140820['__rate'],'rootRate':_0x3895c8,'rootSquare':_0x32d7ab,'rect':_0x2a18a0,'record':_0x140820,'children':[]}),_0x4a6ff7[_0x4aa434(0x1c7)]({'rate':_0x1e7c55[_0x4aa434(0x1ed)],'rootRate':_0x3895c8,'rootSquare':_0x32d7ab,'rect':_0x557f00,'record':_0x1e7c55,'children':[]});}else{if(_0x624e3e[_0x4aa434(0x19f)]>0x2){var _0xf39bd6=0x0,_0x49cff5=0x0;for(var _0x195fa0=0x0,_0x2dd04b=_0x624e3e;_0x195fa0<_0x2dd04b['length'];_0x195fa0++){var _0x1f82a1=_0x2dd04b[_0x195fa0];_0x49cff5++,_0xf39bd6+=_0x1f82a1[_0x4aa434(0x1ed)];if(_0xf39bd6>=_0x424141*SPLIT_RATIO)break;}var _0x1104e2=GridRectUtil[_0x4aa434(0x1fd)](_0x168b8f,_0xf39bd6,_0x424141-_0xf39bd6),_0x2a18a0=_0x1104e2[0x0],_0x557f00=_0x1104e2[0x1];_0x4a6ff7[_0x4aa434(0x1c7)](this['initNode'](_0x624e3e[_0x4aa434(0x1d5)](0x0,_0x49cff5),_0x2a18a0,_0x3895c8,_0x32d7ab)),_0x4a6ff7[_0x4aa434(0x1c7)](this[_0x4aa434(0x1f5)](_0x624e3e[_0x4aa434(0x1d5)](_0x49cff5),_0x557f00,_0x3895c8,_0x32d7ab));}}return{'rate':_0x424141,'rootRate':_0x3895c8,'rootSquare':_0x32d7ab,'rect':_0x168b8f,'record':_0x1f0364,'children':_0x4a6ff7};},_0x452982[_0x6e227d(0x1be)][_0x6e227d(0x1cf)]=function(_0x5efd19,_0x39297c){var _0x378cb4=_0x6e227d,_0x21cf05=this;_0x5efd19[_0x378cb4(0x1f2)]&&_0x39297c[_0x378cb4(0x1c7)]({'record':_0x5efd19[_0x378cb4(0x1f2)],'rect':_0x5efd19[_0x378cb4(0x1bc)]}),_0x5efd19[_0x378cb4(0x1e5)][_0x378cb4(0x19d)](function(_0x486b6b){var _0x39b05a=_0x378cb4;_0x21cf05[_0x39b05a(0x1cf)](_0x486b6b,_0x39297c);});},_0x452982;}()),Treemap=function(_0xa0e447){var _0x226494=_0x4bc0e9,_0x1e2bf5=_0xa0e447[_0x226494(0x1dc)],_0x459da5=_0xa0e447[_0x226494(0x1d0)],_0x49da18=_0x459da5===void 0x0?0x64:_0x459da5,_0xd09463=_0xa0e447['cols'],_0x44c05b=_0xd09463===void 0x0?0x64:_0xd09463,_0x58ac46=_0xa0e447['gap'],_0x59420c=_0xa0e447[_0x226494(0x1e2)],_0x40447d=_0x59420c===void 0x0?_0x226494(0x1ce):_0x59420c,_0x111862=_0xa0e447['render'],_0x5c57b0=_0xa0e447[_0x226494(0x1b9)],_0x3eb054=_0xa0e447[_0x226494(0x1b2)],_0x17e276=_0xa0e447[_0x226494(0x1a8)],_0x3e47eb=_0xa0e447[_0x226494(0x1bd)],_0x3c4ce4=React[_0x226494(0x1b8)](function(){var _0x376b50=_0x226494;return{'display':'grid','gridTemplateColumns':_0x376b50(0x1f7)[_0x376b50(0x1ae)](_0x44c05b,',\x201fr)'),'gridTemplateRows':_0x376b50(0x1f7)[_0x376b50(0x1ae)](_0x49da18,_0x376b50(0x1b3)),'gap':_0x58ac46};},[_0x49da18,_0x44c05b,_0x58ac46]),_0x3ad207=React[_0x226494(0x1b8)](function(){var _0x504f9e=_0x226494,_0x2e25a9=new TreemapManager();return _0x2e25a9[_0x504f9e(0x1ac)](_0x49da18,_0x44c05b,_0x5c57b0,_0x40447d,_0x3eb054,_0x17e276,_0x3e47eb),_0x2e25a9[_0x504f9e(0x1ad)];},[_0x49da18,_0x44c05b,_0x5c57b0,_0x40447d,_0x3eb054,_0x17e276,_0x3e47eb]);return React['createElement']('div',{'style':_0x3c4ce4,'className':_0x1e2bf5},_0x3ad207[_0x226494(0x1a9)](function(_0x187aea,_0x599264){var _0xc41b17=_0x226494,_0xdcfeaa=_0x187aea[_0xc41b17(0x1bc)],_0x4943ea=_0x187aea[_0xc41b17(0x1f2)],_0x339b07=_0xdcfeaa[_0xc41b17(0x1a1)],_0x58bdec=_0xdcfeaa[_0xc41b17(0x1af)],_0x2d8a64=_0xdcfeaa['width'],_0x3366a2=_0xdcfeaa[_0xc41b17(0x1e3)],_0x1b50bf={'gridColumn':''[_0xc41b17(0x1ae)](_0x339b07+0x1,_0xc41b17(0x1f9))[_0xc41b17(0x1ae)](_0x2d8a64+0x1),'gridRow':''['concat'](_0x58bdec+0x1,'\x20/\x20')[_0xc41b17(0x1ae)](_0x3366a2+0x1)};return _0x111862(_0x1b50bf,_0x4943ea,_0x599264,{'left':_0x339b07,'top':_0x58bdec,'width':_0x2d8a64,'height':_0x3366a2,'rootRate':0x0,'rootSquare':0x0});}));};exports['GridRectUtil']=GridRectUtil,exports['I2Number']=I2Number,exports[_0x4bc0e9(0x1f4)]=TagCloud,exports[_0x4bc0e9(0x1e8)]=Treemap,exports[_0x4bc0e9(0x1d1)]=TreemapManager;

@@ -10,6 +10,8 @@ import React from "react";

data: any[];
render: (style: React.CSSProperties, record: any, index: number, rect: GridCellMeta) => React.ReactNode;
maxCells?: number;
minCellValue?: number;
baseRate?: number;
render: (style: React.CSSProperties, record: any, index: number, rect: GridCellMeta) => React.ReactNode;
}
export declare const Treemap: React.FC<Props>;
export {};

@@ -16,2 +16,4 @@ import { GridCardInfo, GridCardRect } from "./interface";

private _baseRate;
private _maxCells;
private _minCellValue;
private _cards;

@@ -21,3 +23,3 @@ private _valueDataIndex;

get cards(): GridCardInfo[];
init(cols: number, rows: number, data: any[], valueDataIndex?: string, baseRate?: number): void;
init(cols: number, rows: number, data: any[], valueDataIndex: string | undefined, baseRate: number | undefined, maxCells?: number | undefined, minCellValue?: number | undefined): void;
private getRecordRate;

@@ -24,0 +26,0 @@ refresh(): void;

{
"name": "i2ui",
"version": "2.0.0-alfa.4",
"version": "2.0.0-alfa.5",
"description": "i2ui - Intuitively Understantable User Interface",

@@ -34,3 +34,2 @@ "main": "dist/index.js",

"rollup-plugin-scss": "^1.0.2",
"rollup-plugin-uglify": "^6.0.3",
"stylelint": "^14.11.0",

@@ -89,4 +88,5 @@ "stylelint-config-standard-scss": "^5.0.0",

"dependencies": {
"emphasizer": "^1.4.3"
"emphasizer": "^1.4.3",
"rollup-obfuscator": "^3.0.2"
}
}
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