@bryntum/grid-thin-trial 7.2.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1da;let f=c[d];return f;};return _grb(a,b);}(function(a,b){const c=a();function V(a,b){return _grb(b-0x3b7,a);}while(!![]){try{const d=-parseInt(V(0x5f3,0x619))/0x1*(parseInt(V(0x585,0x5a2))/0x2)+parseInt(V(0x568,0x5a1))/0x3*(parseInt(V(0x5df,0x5b8))/0x4)+-parseInt(V(0x5ce,0x5be))/0x5+parseInt(V(0x661,0x5ff))/0x6+-parseInt(V(0x643,0x613))/0x7+parseInt(V(0x5dc,0x61b))/0x8*(parseInt(V(0x5fd,0x5d3))/0x9)+-parseInt(V(0x5b1,0x5e6))/0xa*(-parseInt(V(0x658,0x634))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x69a81));function _grX(a,b){return _grb(a- -0x336,b);}import _grc from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _grd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _gre from'./Row.js';import _grf from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _grg from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grh from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _gri from'@bryntum/core-thin/lib/helper/VersionHelper.js';function _gra(){const b3=['virtual','offsetRows','client','changeTotalHeight','appendBufferHeight','removeRows','refresh','2005986LrPWpz','height','newScrollTop','raf','-remove','lastVisibleRow','set','store','totalHeight','rowCls','_totalHeight','_top','top','idMap','offset','topRow','style','isGroupHeader','call','beforeAnimatedRowRemoval','3599820DoSOxz','getRowAt','_rowManager','fillBelow','index','displayRecordAtBottom','139987fQVoTJ','preciseRowOffsetHeight','1031496cJLOTk','refreshCell','start','scrollable','viewport','firstVisibleRow','assertNumber','getActiveElement','number','deltaTop','count','pluginConfig','_elementsArray','returnToTop','getRow','prependRowBuffer','heightMap','storeCount','width','properties','setBottom','cell','getRowHeight','displayRecordAtTop','minRowOffsetHeight','407dRhPQU','fillAbove','initWithHeight','positionCells','indexOf','push','calculateRowCount','cells','abs','getRowById','bufferedTranslateFromRow','getOffsetHeight','bottom','get','correctError','calculateTop','storeKnownHeight','updateRenderedRows','visibleRowCount','new','beforeTranslateRow','removeCls','getBoundingClientRect','appendRowBuffer','totalKnownHeight','has','rows','size','length','closest','b-splicing-rows-','firstFullyVisibleRow','clear','rowOffsetHeight','averageRowHeight','clearKnownHeights','renderCell','isDestroyed','fixIndices','prependBufferHeight','matchRowCount','_bodyRectangle','classList','rowIndex','bodyContainer','setPosition','.b-grid-cell','focus','grid','configurable','jumpToPosition','onRecordIdChange','element','find','lastScrollTop','translate','b-removing','-add','floor','offsetHeight','forEach','1328163QkRGTQ','8ZNdvSG','defaultScrollOptions','\x20b-adding','zIndex','some','shift','splice','getAt','refreshDetails','max','topIndex','executeAndAwaitAnimations','rowHeight','scrollTargetRecordId','cloneNode','render','afterAnimatedRowRemoval','roundPx','totalCount','renderRows','renderDone','end','4QzRCGK','invalidateKnownHeight','nearest','b-repositioning','b-adding','includes','3317805PwznhJ','setTop','delete','ceil','getRecordCoordsByIndex','round','estimatedTop','asArray','scrollRowIntoView','lastFullyVisibleRow','add','warpIfNeeded','center','findLast','viewHeight','chunkSize','nodeAnimationCleanup','remove','getRowFor','unshift','columnIndex','9QThFGb','minRowHeight','block','insertBefore','addCls','addRows','onFocusedRowDerender','min','pop','toggleEmptyText','_rows','_rowHeight','doDestroy','removeAllRows','focusedCell','parentElement','trigger','inserting','from','341770PqBENr','getRowFromElement','bottomRow','overflowingVertically','rowCount','slice','estimateTotalHeight','destroy','translateFromRow','b-splicing-rows','fixedRowHeight','renderFromRow','insert','iterator','autoHeight','allHeightsKnown','dataIndex','bodyHeight'];_gra=function(){return b3;};return _gra();}import _grj from'@bryntum/core-thin/lib/mixin/Delayable.js';import _grk from'../util/GridLocation.js';const cloneRowEl=a=>{const b=a[W(-0x10f,-0x10c)],c=a[W(-0x12e,-0x13e)](!![]);function W(a,b){return _grb(b- -0x337,a);}c[W(-0x77,-0x90)][W(-0x17c,-0x126)](W(-0x13d,-0x152));b[W(-0x13e,-0x118)](c,a);return c;};export default class RowManager extends _grd['mixin'](_grj){static get[_grX(-0xc7,-0x66)](){function Y(a,b){return _grX(a-0x9d,b);}return{'after':[Y(-0x63,-0x7b)],'assign':[Y(-0x42,-0x49),'bottomRow',Y(-0x30,-0x82),'lastVisibleRow',Y(0x3,0x36),'lastFullyVisibleRow',Y(-0x13,-0x77),'getRecordCoords',Y(-0x27,-0x50),Y(-0x80,-0x87),'getRowFromElement']};}static [_grX(-0x158,-0xfd)]={'rowClass':_gre,'prependRowBuffer':0x5,'appendRowBuffer':0x5,'rowHeight':null,'fixedRowHeight':null,'autoHeight':![]};static get[_grX(-0xbf,-0xf5)](){return{'idMap':{},'topIndex':0x0,'lastScrollTop':0x0,'_rows':[],'heightMap':new Map(),'totalKnownHeight':0x0,'_totalHeight':0x0,'averageRowHeight':0x0,'scrollTargetRecordId':null,'refreshDetails':{'topRowIndex':0x0,'topRowTop':0x0}};}static ['delayable']={'bufferedTranslateFromRow':_grX(-0xeb,-0x143)};['construct'](a){function Z(a,b){return _grX(a-0x4c8,b);}a['grid'][Z(0x3f0,0x450)]=this;super['construct'](a[Z(0x36f,0x317)],a);}[_grX(-0x10e,-0xeb)](){function a0(a,b){return _grX(a-0xb4,b);}this['removeAllRows']();super[a0(-0x5a,-0x5d)]();}[_grX(-0xb7,-0xfd)](a,b=![]){const c=this;if(c[a1(0x3db,0x41a)]){a=c['store']['count']*c[a1(0x401,0x3e0)];}function a1(a,b){return _grX(a-0x4d4,b);}c[a1(0x3b3,0x36c)]=a;c[a1(0x421,0x423)](b);return a;}['reinitialize'](a=![]){const b=this;b[a2(0x1c6,0x1ba)](![],!![],!![]);if(b[a2(0x138,0x14a)]+b[a2(0x176,0x1b9)]-0x1>b[a2(0x1b8,0x1fd)]){a=!![];}if(a){b[a2(0x138,0x15d)]=b[a2(0x126,0xca)]=0x0;}b['scrollTargetRecordId']=null;function a2(a,b){return _grX(a-0x279,b);}const {topRow:c}=b;if(c){c[a2(0x182,0x131)]=b[a2(0x138,0x171)];c[a2(0x14b,0x191)](b[a2(0x1cf,0x1a8)](b[a2(0x138,0x17d)]),!![]);}b[a2(0x178,0x155)]();b[a2(0x17d,0x1e0)](c);}['matchRowCount'](a=![]){const b=this,{rows:c,grid:d,rowClass:e}=b,f=c[a3(0x170,0x1af)],g=f-b['rowCount'];function a3(a,b){return _grX(b-0x24c,a);}if(g){if(g<0x0){const i=[];for(let j=f,k=f?c[f-0x1][a3(0x146,0x155)]+0x1:0x0;j<b[a3(0x1a5,0x149)];j++,k++){i['push'](e[a3(0x1b9,0x1a6)]({'cls':d[a3(0x148,0x167)],'rowManager':b,'grid':d,'index':j,'dataIndex':k}));}c[a3(0x193,0x198)]['apply'](c,i);b[a3(0x15e,0x142)](a3(0x169,0x137),{'rows':i});b[a3(0x154,0x196)]();if(!a){b[a3(0x13b,0x150)](c[Math[a3(0xbf,0x10a)](0x0,f-0x1)]);}}else{var h;const l=(h=_grg[a3(0x136,0x181)](d))===null||h===void 0x0?void 0x0:h[a3(0x1e1,0x1b0)](a3(0x112,0xf1)),m=c[a3(0x16b,0x107)](f-g,g);if(f!==g&&m[a3(0xea,0x105)](n=>n[a3(0x182,0x19a)][a3(0x10a,0x11c)](l))){c[c[a3(0x168,0x1af)]-0x1]['cells'][d[a3(0x148,0x140)][a3(0x138,0x131)]][a3(0x8f,0xf2)]();}b[a3(0x19f,0x142)](a3(0x192,0x15c),{'rows':m});m['forEach'](n=>n['destroy']());!a&&c[a3(0x1cb,0x1af)]&&b[a3(0x1d0,0x175)](b[a3(0xf4,0xf9)]);}}}[_grX(-0xb3,-0xd2)](a=![],b=!![],c=![]){var d;const e=this,{storeCount:f}=e,g=Math[a4(0x3c5,0x40f)](e[a4(0x3de,0x41a)]/e[a4(0x462,0x481)]),h=g+e[a4(0x445,0x478)]+e[a4(0x484,0x499)];if(!((d=e[a4(0x38c,0x3e2)]['columns'])!==null&&d!==void 0x0&&d[a4(0x4be,0x473)])||isNaN(g)){e[a4(0x441,0x438)]=0x0;return 0x0;}function a4(a,b){return _grX(b-0x53b,a);}if(h<e[a4(0x452,0x438)]&&!b){return e['rowCount'];}e[a4(0x444,0x494)]=g;e[a4(0x49b,0x438)]=Math[a4(0x3ee,0x428)](f,h);if(!a){if(e[a4(0x478,0x49c)]&&e['rowCount']!==e['rows']['length']){var i;e[a4(0x493,0x4aa)](c);if(((i=e[a4(0x482,0x436)])===null||i===void 0x0?void 0x0:i[a4(0x44f,0x444)])>=f&&e['topRow'][a4(0x46e,0x444)]!==0x0){const j=e[a4(0x400,0x436)][a4(0x455,0x444)]-f+0x1;for(const k of e[a4(0x449,0x49c)]){k[a4(0x406,0x444)]-=j;}e['topIndex']-=j;}}else if(!e['rowCount']){e[a4(0x3ef,0x431)](a4(0x41a,0x449),{'totalHeight':e['totalHeight']});}e['grid'][a4(0x3c4,0x42a)]();}return e['rowCount'];}async[_grX(-0xfb,-0x122)](a,b,c){var d,e,f,g;(d=this['nodeAnimationCleanup'])===null||d===void 0x0||d[a5(0x84,0x97)](this);const h=this,{rows:i,rowCount:j,rowClass:k,grid:l}=h,{element:m}=l,{rowCls:n}=l,o=((e=i[a-0x1])===null||e===void 0x0?void 0x0:e[a5(0xdf,0x7c)])+0x1||0x0,p=[],q=(((f=h[a5(0xc7,0x8a)])===null||f===void 0x0?void 0x0:f['index'])??0x0)+0x1-a;h[a5(0xba,0x6a)]=c;let r;await l[a5(0x4d,0x33)](m,()=>{let s=null,t=0x0;if(b<0x0){var u;b=Math[a6(0x293,0x27b)](b);h['inserting']+=a6(0x25a,0x2a3);const y=o>=l[a6(0x25d,0x247)][a6(0x27c,0x221)]?b:Math['min'](b,q),z=i[a6(0x242,0x1ff)](a,a+y),A=y?z[z['length']-0x1][a6(0x297,0x278)]-z[0x0]['top']:0x0,B=[],C=[],D=[];s=z['map'](E=>E['id']);t=A;for(let E=0x0,{length:F}=z;E<F;E++){const G=z[E],H=G[a6(0x27e,0x23f)]['map'](cloneRowEl),I=k[a6(0x29e,0x277)]({'rowManager':h,'_elementsArray':H,'_top':G[a6(0x262,0x296)],'grid':l});if(G[a6(0x267,0x2b0)]){H[a6(0x1f7,0x1c4)](J=>{function a7(a,b){return a6(b- -0x173,a);}J[a7(0x111,0xf3)][a7(0xc9,0x89)]='-1';});}C[a6(0x290,0x2b2)](I);B[a6(0x290,0x29c)](...H);}for(let J=a;J<j;J++){D[a6(0x290,0x2ab)](i[J]);i[J]['addCls'](a6(0x212,0x20f));i[J][a6(0x216,0x245)](i[J][a6(0x262,0x2bc)]+A);}r=i['length']>l[a6(0x25d,0x294)][a6(0x27c,0x2cd)];(u=B[0x0])===null||u===void 0x0||u[a6(0x2a1,0x292)]();l['addCls'](a6(0x246,0x256),a6(0x2a9,0x29c)+c);for(let K=0x0,{length:L}=z;K<L;K++){var v;C[K][a6(0x216,0x1cc)](((v=i[a-0x2])===null||v===void 0x0?void 0x0:v['bottom'])||0x0,!![]);}h[a6(0x225,0x1e9)]=()=>{function a8(a,b){return a6(b-0x2ef,a);}if(!h[a8(0x57b,0x59f)]){h[a8(0x554,0x514)]=null;l[a8(0x5db,0x58f)](a8(0x56c,0x535),a8(0x55f,0x598)+c);B[a8(0x4ab,0x4e6)](M=>M[a8(0x571,0x515)]());D[a8(0x548,0x4e6)](M=>{function a9(a,b){return a8(a,b- -0x1f5);}var N;return(N=M['removeCls'])===null||N===void 0x0?void 0x0:N['call'](M,a9(0x370,0x30c));});}};}else if(b>0x0){var w,x;const M=[],N=a-(c==='expand'?0x2:0x1),O=((w=i[N])===null||w===void 0x0?void 0x0:w[a6(0x262,0x204)])||0x0;h['inserting']+=a6(0x1f4,0x1f9);b=l[a6(0x240,0x296)]?Math[a6(0x231,0x286)](b,h[a6(0x25b,0x242)]['index']+0x1-a):Math['min'](b,Math['ceil']((l[a6(0x275,0x267)]['clientHeight']-(((x=i[a-0x1])===null||x===void 0x0?void 0x0:x['bottom'])||0x0))/h[a6(0x205,0x25d)]));let P=a,Q=o;for(let R=0x0;R<b;R++,P++,Q++){p[a6(0x290,0x26e)](k[a6(0x29e,0x2e1)]({'cls':n+a6(0x1fb,0x194),'rowManager':h,'_top':O,'grid':l,'index':P,'dataIndex':Q}));}t=b*h[a6(0x2ac,0x28e)];for(let S=a;S<h[a6(0x241,0x28d)];S++,P++,Q++){M[a6(0x290,0x262)](i[S]);i[S][a6(0x22e,0x277)](a6(0x212,0x20b));i[S][a6(0x26e,0x285)]=P;i[S][a6(0x24d,0x2a1)]=Q;}r=p[a6(0x2a7,0x308)];h['nodeAnimationCleanup']=()=>{function aa(a,b){return a6(b- -0x352,a);}if(!h[aa(-0xc7,-0xa2)]){h[aa(-0x135,-0x12d)]=null;l['removeCls'](aa(-0x14c,-0x10c),aa(-0xe3,-0xa9)+c);p[aa(-0x196,-0x15b)](T=>!T[aa(-0x91,-0xa2)]&&T['removeCls'](aa(-0x170,-0x13f)));M['forEach'](T=>{var U;function ab(a,b){return aa(b,a-0x3e5);}return(U=T[ab(0x333,0x395)])===null||U===void 0x0?void 0x0:U[ab(0x2fb,0x2e9)](T,'b-repositioning');});}};i['splice'](a,0x0,...p);if(b>0x0){h['rowCount']+=b;h[a6(0x23a,0x284)](a6(0x22f,0x249),{'rows':p});}l[a6(0x22e,0x212)](a6(0x246,0x224),a6(0x2a9,0x311)+c);}function a6(a,b){return a5(b,a-0x1d1);}l[a6(0x269,0x2ba)](s,t);h[a6(0x28e,0x2a8)]();h[a6(0x248,0x211)](i[a],!![]);l[a6(0x209,0x21c)](s,t);});if(h[a5(0xa8,0xdf)]){return;}(g=h['nodeAnimationCleanup'])===null||g===void 0x0||g['call'](h);function a5(a,b){return _grX(b-0x173,a);}if(r){h['calculateRowCount'](![],!![],!![]);}h[a5(0x63,0x72)]();h['inserting']=null;return p;}[_grX(-0x10d,-0x161)](){const a=this,{topRow:b}=a,c=b?a[ac(-0x161,-0x170)]={'topRowIndex':b[ac(-0x115,-0xe8)],'topRowTop':b['top']}:a['refreshDetails'],d=a['rows'][ac(-0x120,-0x149)]();function ac(a,b){return _grX(a- -0x1e,b);}a[ac(-0x128,-0x174)](ac(-0x10e,-0xc1),{'rows':d});a[ac(-0xbd,-0xef)]['forEach'](e=>e['destroy']());a[ac(-0xbd,-0x75)][ac(-0xbb,-0x11f)]=0x0;a['idMap']={};return c;}[_grX(-0x15c,-0x10c)](a){const {topRow:b}=this,{topRowIndex:c,topRowTop:d}=a;function ad(a,b){return _grX(b- -0x4c,a);}if(b){b[ad(-0x1b0,-0x17a)](d);b[ad(-0x17e,-0x143)]=c;}}get['store'](){function ae(a,b){return _grX(b- -0x4e,a);}return this[ae(-0x12e,-0x141)][ae(-0x142,-0x135)];}get[_grX(-0xc1,-0x9a)](){let {count:a,lazyLoad:b}=this['store'];function af(a,b){return _grX(b-0x572,a);}if(a&&b&&b[af(0x3db,0x439)]==null){a+=b[af(0x478,0x452)];}return a;}get['rows'](){function ag(a,b){return _grX(a-0x69c,b);}return this[ag(0x58c,0x554)];}[_grX(-0xc4,-0xcc)](a){function ah(a,b){return _grX(b-0x31f,a);}if(this['rowCount']){return this[ah(0x258,0x280)][a-this[ah(0x192,0x1de)]];}}['getRowById'](a){if(a&&a['isModel']){a=a['id'];}return this['idMap'][a];}[_grX(-0x106,-0xad)](a){function ai(a,b){return _grX(a-0xe6,b);}a=a[ai(0x4a,0x12)]('.b-grid-row');return a&&this[ai(0x22,-0x42)](a['dataset'][ai(0x10,0x20)]);}[_grX(-0xd9,-0xdb)](a,b=![]){if(!b){a-=_grc['from'](this['grid'][aj(0x340,0x374)],null,!![])[aj(0x2c6,0x2c7)](0x1)['top'];a+=this[aj(0x2cc,0x2a8)][aj(0x371,0x332)]['y'];}a=_grg[aj(0x2b9,0x2c7)](a);function aj(a,b){return _grX(b-0x401,a);}return this[aj(0x32a,0x362)][aj(0x295,0x2ad)](c=>a>=c[aj(0x340,0x31f)]&&a<c['bottom']);}[_grX(-0x11d,-0x148)](a){if(a instanceof HTMLElement){return this['getRowFromElement'](a);}function ak(a,b){return _grX(a-0xe,b);}return this[ak(-0xa2,-0xa7)](a);}['getNextRow'](a){function al(a,b){return _grX(b-0x708,a);}const b=typeof a===al(0x61c,0x63e)?a:a[al(0x604,0x632)];return this[al(0x65a,0x644)]((b+0x1)%this[al(0x5b8,0x605)]);}get['topRow'](){return this['rows'][0x0];}get[_grX(-0x105,-0x15d)](){const a=Math[am(0x26f,0x26b)](this[am(0x237,0x27b)],this[am(0x2ef,0x2bd)]);function am(a,b){return _grX(b-0x37e,a);}return this[am(0x2a4,0x2df)][a-0x1];}get[_grX(-0xcd,-0x112)](){function an(a,b){return _grX(b-0x230,a);}const a=Math[an(0xee,0x104)](this[an(0x12e,0xd7)][an(0x119,0x161)]['y']);return this[an(0x146,0x191)][an(0xc7,0xdc)](b=>b[an(0x159,0x183)]>a);}get[_grX(-0x9a,-0x101)](){const a=Math[ao(0x3e2,0x3ca)](this['grid'][ao(0x465,0x427)]['y']);function ao(a,b){return _grX(b-0x4f6,a);}return this[ao(0x448,0x457)]['find'](b=>b[ao(0x432,0x414)]>=a)||this[ao(0x436,0x457)][ao(0x3a6,0x3a2)](b=>b[ao(0x3b4,0x414)]<a&&b[ao(0x3fa,0x449)]>a);}get[_grX(-0xe9,-0xa6)](){function ap(a,b){return _grX(a-0x2bc,b);}const {grid:a}=this;return _grf[ap(0x19a,0x192)](this[ap(0x21d,0x205)],b=>b['top']<a[ap(0x1ed,0x24c)]['y']+a[ap(0x1c6,0x19e)]);}get[_grX(-0x126,-0xc6)](){const {grid:a}=this;function aq(a,b){return _grX(a-0x155,b);}return _grf[aq(0x33,0x14)](this['rows'],b=>b[aq(0xa8,0x7e)]<a[aq(0x86,0xb1)]['y']+a['bodyHeight']);}[_grX(-0xf4,-0xa4)](a){if(a!==0x0){const {rows:b}=this,{length:c}=b;for(let d=0x0;d<c;d++){b[d][ar(0x77,0x6a)](a);}}function ar(a,b){return _grX(b-0x14a,a);}this[ar(-0x13,0x40)]('offsetRows',{'offset':a});}get[_grX(-0x92,-0xa7)](){function as(a,b){return _grX(a-0x4eb,b);}return this['prependRowBuffer']*this[as(0x453,0x403)];}get[_grX(-0xf1,-0x158)](){function at(a,b){return _grX(b-0x12b,a);}return this[at(0x74,0x89)]*this[at(0xb9,0x93)];}['changeRowHeight'](a){_grh[au(0x59a,0x5a0)](a,au(0x527,0x4cd),!![]);if(a<0xa){a=0xa;}function au(a,b){return _grX(a-0x666,b);}return a;}['updateRowHeight'](a,b){const c=this,{grid:d,fixedRowHeight:e}=c;c['trigger']('beforeRowHeight',{'height':a});function av(a,b){return _grX(b-0x15e,a);}c[av(0x9a,0x45)]=a;if(e){c[av(0x8c,0xc7)]=a;}if(c['rows'][av(0x5e,0xc1)]){const f=d[av(0xa8,0x8f)]['y'],g=c[av(0x29,0x85)](f,!![]),h=g?g['top']-f:0x0;let i,j;if(e){i=a;j=b;}else{j=i=c[av(0xb1,0xc7)];c[av(0x71,0xc8)]();i*=a/b;}c[av(0xdf,0xab)](![],!![],!![]);c[av(0xe6,0x7f)][av(0x11,0x30)](c['topRow'][av(0xca,0x67)]*i,!![]);c[av(0x9e,0x6f)]();const k=f*(i/j);if(k!==f){d[av(0x22,0x37)](g['id'],{...d[av(-0x33,0x14)],'block':av(0xe8,0x8e),'edgeOffset':h});}}c[av(0x1c,0x54)]('rowHeight',{'height':a,'oldHeight':b});}get['rowOffsetHeight'](){function aw(a,b){return _grX(a-0x11b,b);}return Math[aw(-0x34,-0x3b)](this[aw(0x48,0x66)]);}get[_grX(-0xd3,-0x73)](){function ax(a,b){return _grX(b-0x32f,a);}return this[ax(0x26d,0x298)]||this['_rowHeight'];}get[_grX(-0xba,-0x10d)](){function ay(a,b){return _grX(a-0x512,b);}return this[ay(0x3f9,0x405)]||this[ay(0x403,0x3c5)];}get[_grX(-0xf8,-0x127)](){function az(a,b){return _grX(a-0x381,b);}return this[az(0x284,0x23d)]||this[az(0x2bf,0x2ea)][az(0x2e3,0x2f5)]>=this[az(0x2c0,0x325)];}[_grX(-0xa9,-0x5f)](a,b){function aA(a,b){return _grX(a-0x5b8,b);}const c=this,{heightMap:d}=c;if(!c['fixedRowHeight']){if(d[aA(0x518,0x539)](a)){c[aA(0x517,0x4c2)]-=d[aA(0x50c,0x4fc)](a);}d[aA(0x4d0,0x49c)](a,b);c['totalKnownHeight']+=b;if(b<c[aA(0x49f,0x450)]){c[aA(0x49f,0x474)]=b;}c[aA(0x521,0x554)]=c[aA(0x517,0x568)]/d[aA(0x51a,0x501)];}}['getOffsetHeight'](a){const b=this;function aB(a,b){return _grX(b-0x5b1,a);}return a&&b[aB(0x4c4,0x4ef)][aB(0x567,0x505)](a['id'])||a&&b[aB(0x436,0x458)][aB(0x523,0x4f5)](a)||b[aB(0x580,0x51a)]||b[aB(0x46b,0x472)];}[_grX(-0x134,-0x16d)](a){const b=this;function aC(a,b){return _grX(b-0x42f,a);}if(!b[aC(0x384,0x332)]){const {heightMap:c}=b;a=_grf[aC(0x29f,0x307)](a);a[aC(0x30d,0x2e2)](d=>{function aD(a,b){return aC(b,a- -0x4c1);}if(d){if(c[aD(-0x132,-0x148)](d['id'])){b[aD(-0x133,-0xf7)]-=c[aD(-0x13e,-0x180)](d['id']);c[aD(-0x1bf,-0x190)](d['id']);}}});b[aC(0x355,0x398)]=b[aC(0x3ab,0x38e)]/c[aC(0x3a7,0x391)];}}[_grX(-0x96,-0x4d)](){function aE(a,b){return _grX(b-0x46a,a);}this[aE(0x3f6,0x3a8)][aE(0x3ac,0x3d1)]();this['averageRowHeight']=this[aE(0x424,0x3c9)]=0x0;}[_grX(-0x156,-0x118)]({record:a,oldValue:b,value:c}){function aF(a,b){return _grX(b-0x504,a);}const {heightMap:d}=this;if(!this[aF(0x402,0x407)]&&d['has'](b)){const f=d[aF(0x46e,0x458)](b);d['delete'](b);d[aF(0x411,0x41c)](c,f);}const e=this[aF(0x44f,0x423)][b];if(e){e['id']=c;}}[_grX(-0xaa,-0xe8)](a){if(this[aG(0x4e6,0x522)]){return a*this[aG(0x54b,0x500)];}function aG(a,b){return _grX(a-0x5e3,b);}const {storage:b}=this['store'];let c=0x0;for(let d=0x0;d<a;d++){const e=b[aG(0x49f,0x4c7)](d);c+=this[aG(0x535,0x4ee)](e);}return Math['floor'](c);}['getRecordCoords'](a,b=![],c=![]){const d=this,e=d[aH(0x467,0x4a6)](a);let f=d[aH(0x4af,0x463)]['_bodyRectangle'];if(!b){f=d[aH(0x45d,0x463)]['refreshBodyRectangle']();}if(e){return new _grc(f['x'],b?Math[aH(0x3d0,0x42c)](e['top']):Math[aH(0x3e5,0x42c)](e[aH(0x4a2,0x474)]+f['y']-d[aH(0x4c8,0x463)]['scrollable']['y']),Math[aH(0x3d6,0x414)](f[aH(0x476,0x496)],0x0),e['offsetHeight']);}function aH(a,b){return _grX(b-0x556,a);}const g=d[aH(0x4b7,0x46f)][aH(0x48e,0x4a1)](a);return g!==-0x1?d['getRecordCoordsByIndex'](g,b,c):null;}[_grX(-0x12b,-0xdb)](a,b=![],c=![]){const d=this,{topRow:e,bottomRow:f}=d,g=d[aI(0x256,0x20c)][aI(0x2b9,0x270)],{id:h}=d['store'][aI(0x205,0x21a)](a),i=d[aI(0x276,0x245)],j=e[aI(0x252,0x27e)],k=f[aI(0x252,0x253)],l=Math[aI(0x1fa,0x1b5)](d['heightMap']['get'](h)??i);let m;if(d[aI(0x251,0x2b3)]&&!c){const o=d['calculateTop'](a);m=b?o:o+g['y']-d[aI(0x256,0x292)][aI(0x27a,0x253)]['y'];}else{const p=a>k?{'index':a-k-0x1,'y':f[aI(0x29c,0x2e8)],'from':aI(0x244,0x208)}:a>j/0x2?{'index':a-j,'y':e[aI(0x267,0x2ae)],'from':'topRow'}:{'index':a,'y':0x0,'from':'top'},q=Math[aI(0x1fa,0x1b3)](p['y']+p[aI(0x273,0x282)]*i);m=b?p[aI(0x241,0x220)]===aI(0x26a,0x27f)?q+i-l:q:q+g['y']-d['client'][aI(0x27a,0x26c)]['y'];}const n=new _grc(g['x'],m,g[aI(0x289,0x279)],l);function aI(a,b){return _grX(a-0x349,b);}n[aI(0x254,0x2b8)]=!![];n[aI(0x231,0x26a)]=n[aI(0x29c,0x299)]<g['y']?aI(0x279,0x24f):n['y']>g[aI(0x29c,0x2ea)]?aI(0x213,0x26b):aI(0x216,0x1df);return n;}get[_grX(-0xe6,-0x85)](){return this['_totalHeight'];}[_grX(-0x14d,-0x15b)](a){function aJ(a,b){return _grX(a-0x191,b);}this['rows'][aJ(0x44,-0x1b)](a);}[Symbol[_grX(-0xfa,-0x14f)]](){return this['rows'][Symbol['iterator']]();}[_grX(-0xb6,-0x8a)](){for(const a of this[aK(0x43,0x6)]){a[aK(0x2c,0x40)]();}this[aK(-0x77,-0x7f)]['afterPositionCells']();function aK(a,b){return _grX(a-0xe2,b);}this[aK(-0x28,-0x16)]('positionCells');}[_grX(-0xd1,-0x74)](a,b){function aL(a,b){return _grX(b-0x43f,a);}const c=new _grk({'grid':this['grid'],'record':a,'columnId':b});return Boolean(c[aL(0x378,0x382)]&&c['row'][aL(0x378,0x3aa)](c));}[_grX(-0xc5,-0x78)](){function aM(a,b){return _grX(b-0x464,a);}const a=this;a[aM(0x303,0x323)]=0x0;a[aM(0x31c,0x311)]=0x0;if(a[aM(0x3eb,0x385)]){a[aM(0x32a,0x385)]['dataIndex']=0x0;a[aM(0x3a7,0x385)]['setTop'](0x0,!![]);}a[aM(0x3db,0x375)]();a['grid'][aM(0x352,0x395)]['y']=0x0;}['renderFromRecord'](a){function aN(a,b){return _grX(a-0x5cf,b);}const b=this['getRowById'](a['id']);if(b){this[aN(0x4d3,0x4f5)](b);}}[_grX(-0xfc,-0xdd)](a=null,b=![]){const c=this,{rows:d,store:e,topIndex:f,topRow:g,storeCount:h}=c;let j=a?d['indexOf'](a):0x0;if(c[aO(0x9c,0xaa)](![],h<d[aO(0x11f,0xc0)]&&!b,!![])===0x0||j>=d[aO(0x8d,0xc0)]){c['estimateTotalHeight'](!![]);return;}if(c[aO(-0x40,0x1c)]<f){c['topRow'][aO(0x71,0x2f)](c[aO(0xee,0xb3)](c['topIndex']),!![]);j=0x0;a=c[aO(0x7b,0x7e)];}else if(a&&d[aO(0x4b,0xa8)](a)<0x0){a=d[j]||g;}function aO(a,b){return _grX(b-0x15d,a);}let k=a?a[aO(0xab,0x66)]:d[0x0][aO(0xc,0x66)];const l=h-k-0x1,m=Math['min'](d[aO(0xc1,0xc0)]-0x1,j+l);let n=d[aO(0x6a,0xc0)]-m-0x1,o=j>0x0?d[j-0x1][aO(0xac,0xb0)]:d[j]['top'],p;const q=[];if(j===0x0&&c['topIndex']===0x0)o=0x0;for(let r=j;r<=m;r++){p=d[r];p[aO(0x27,0x66)]=k;if(b){q[r]=o;}else{p['setTop'](o,!![]);}p[aO(0x14,0x21)](k,e[aO(0x3c,0x19)](k++),![]);o+=p[aO(0x32,0xf)];}if(b){d[j][aO(0x66,0x8)][aO(0xb6,0xba)]();for(let s=j;s<=m;s++){d[s][aO(0x91,0x2f)](q[s],!![]);}}while(n-->0x0){c[aO(0x55,0xa2)]();}if(c['bottomRow'][aO(0xde,0xb0)]<c[aO(-0x2b,0x3c)]+c['lastScrollTop']){c[aO(0x8f,0xaa)]();}c[aO(0x2f,0x5c)](!![]);c[aO(0x9c,0x53)](aO(0x14,0x26));}[_grX(-0x138,-0x161)](a){let b,c=![];a=Array['from'](a);a['sort']((d,e)=>d[aP(0xd2,0x99)]-e['dataIndex']);for(const d of a){b=d['height'];d[aP(0x8d,0x89)](null,null,![]);c|=d[aP(0xdc,0xfc)]!==b;}function aP(a,b){return _grX(a-0x1c9,b);}if(c){this[aP(0xca,0xa7)](a[0x0]);}this[aP(0xbf,0x118)](aP(0x92,0xba));}[_grX(-0xaf,-0xa8)](){function aQ(a,b){return _grX(a-0x36e,b);}this[aQ(0x26f,0x2d3)](this['topRow']);}[_grX(-0xff,-0xc9)](a,b=![]){const c=this;let d=a['bottom'],e,f;function aR(a,b){return _grX(a-0x5dd,b);}for(f=a[aR(0x4e6,0x4c3)]+0x1,e=c[aR(0x519,0x51c)](f);e;e=c[aR(0x519,0x544)](++f)){d=e[aR(0x48b,0x4c4)](d);}if(!b){c['estimateTotalHeight'](!![]);}}[_grX(-0xef,-0xf7)](a=![]){const b=this,{topRow:c}=b;if(!c&&!a||b[aS(-0x21,-0x39)]['refreshSuspended']){return;}b[aS(0x99,0x3f)]={};function aS(a,b){return _grX(b-0x120,a);}b[aS(0x83,0x24)](c);b['trigger'](aS(0x38,0x31));}[_grX(-0x157,-0x179)](a,b){const c=this,{store:d,heightMap:e,storeCount:f}=c;function aT(a,b){return _grX(a-0x351,b);}if(c['allHeightsKnown']&&!c[aT(0x254,0x21c)]){const g=a-c[aT(0x2bf,0x2aa)],h=0x0;let i=0x0,j=0x0;while(i<g){const l=d['records'][j];i+=e['get'](l['id'])+h;j++;}const k=Math['max'](Math[aT(0x23e,0x1f3)](j,f-c[aT(0x24e,0x204)]),0x0);c[aT(0x1fe,0x22f)]=a;c[aT(0x272,0x262)][aT(0x25a,0x25b)]=c[aT(0x210,0x1db)]=k;c[aT(0x272,0x26e)][aT(0x223,0x1de)](c['calculateTop'](k),![]);c[aT(0x262,0x2a8)]();}else{const m=c['preciseRowOffsetHeight'],n=b==null?Math[aT(0x202,0x213)](a/m)-c[aT(0x28e,0x228)]:b-Math[aT(0x202,0x1d1)](c[aT(0x24e,0x224)]/0x2),o=Math['max'](Math['min'](n,f-c[aT(0x24e,0x2ae)]),0x0),p=c['client'][aT(0x282,0x2e9)]['y'],q=Math['min'](c[aT(0x25e,0x264)][aT(0x2c1,0x2bb)][aT(0x264,0x26a)]+p+c[aT(0x260,0x2bd)],c['totalHeight']);c[aT(0x1fe,0x1f1)]=a;c[aT(0x272,0x2be)]['dataIndex']=c[aT(0x210,0x1d8)]=o;c[aT(0x272,0x251)]['setTop'](Math[aT(0x202,0x220)](o*m),![]);c[aT(0x262,0x259)]();if(c[aT(0x24c,0x246)][aT(0x2a4,0x286)]<q){c[aT(0x29e,0x266)](![],![],![]);while(c[aT(0x24c,0x228)][aT(0x2a4,0x24e)]<q&&c[aT(0x241,0x228)][c[aT(0x28e,0x24b)]][aT(0x26f,0x2d3)]<p&&c[aT(0x24c,0x1eb)][aT(0x25a,0x245)]<f-0x1){c['displayRecordAtBottom']();}}c[aT(0x250,0x1f7)]();}if(b!=null){const {scrollable:r}=c['grid'],s=c[aT(0x28d,0x24f)](b),t=s&&_grc[aT(0x249,0x265)](s[aT(0x28b,0x2d7)][0x0])[aT(0x22e,0x1e5)]['y'],u=r[aT(0x283,0x257)][aT(0x22e,0x209)]['y'];if(s){r['y']=a=Math[aT(0x202,0x250)](r['y']+(t-u));}}return a;}[_grX(-0x124,-0xe2)](a){const b=this,c={'newScrollTop':a,'deltaTop':a-b[aU(0x4dc,0x4ce)]};if(Math[aU(0x55d,0x570)](c[aU(0x50d,0x558)])>b['rowCount']*b[aU(0x524,0x589)]*0x3){let d;if(b[aU(0x4c9,0x4e3)]){d=b[aU(0x56e,0x53a)][aU(0x50f,0x56c)](b[aU(0x4da,0x4e3)]);}b[aU(0x48c,0x4c8)][aU(0x4ba,0x50d)]();c[aU(0x58d,0x535)]=b[aU(0x469,0x4ca)](a,d);c[aU(0x542,0x558)]=0x0;}function aU(a,b){return _grX(b-0x621,a);}return c;}[_grX(-0xa8,-0xdd)](a,b,c=![]){function aV(a,b){return _grX(a-0x5ca,b);}const d=this;if(d[aV(0x4c7,0x4ef)]===0x0){return 0x0;}let e=d['totalHeight'];if(b||Math[aV(0x519,0x4cc)](a-d[aV(0x477,0x46a)])>=d['rowOffsetHeight']||d['topRow'][aV(0x4e8,0x4a4)]>a||d[aV(0x4c5,0x4c0)]['bottom']<a+d[aV(0x4a9,0x4f4)]){const f=d[aV(0x4a6,0x47e)](a);d['scrollTargetRecordId']=null;d[aV(0x477,0x45f)]=f[aV(0x4de,0x4de)];if(f['deltaTop']>0x0){d[aV(0x4f3,0x554)](f[aV(0x4de,0x530)]);}else if(f[aV(0x501,0x4b7)]<0x0){d[aV(0x512,0x4ee)](f[aV(0x4de,0x492)]);}if(!d['fixedRowHeight']&&!c){d[aV(0x51f,0x4f2)](f,a);}e=d[aV(0x4c9,0x4a0)]();}return e;}[_grX(-0xab,-0xec)](a,b){const c=this;let d=0x0;function aW(a,b){return _grX(b-0x598,a);}if(c['allHeightsKnown']){d=c[aW(0x51c,0x4b9)]['top']-c['calculateTop'](c[aW(0x452,0x4b9)][aW(0x450,0x4a1)]);}else if(a[aW(0x524,0x4cf)]<0x0&&b<c[aW(0x48d,0x477)]*0x2||a[aW(0x52d,0x4cf)]>0x0&&b>c[aW(0x491,0x4b2)]-c[aW(0x440,0x477)]*0x2-0x3){d=c['topRow'][aW(0x4ab,0x4b6)]-c['calculateTop'](c['topRow'][aW(0x491,0x4a1)]);}if(d){c[aW(0x495,0x4a4)](-d);c[aW(0x3f5,0x43f)][aW(0x465,0x4c9)]['y']=c[aW(0x3e0,0x445)]=c[aW(0x3fa,0x43f)]['scrollable']['y']-d;}}[_grX(-0xb8,-0xe3)](a){const b=this,{rows:c}=b,d=Math[aX(0x48a,0x4b5)](b[aX(0x56d,0x505)],c[aX(0x581,0x52b)]-0x1);function aX(a,b){return _grX(b-0x5c8,a);}while(c[d][aX(0x548,0x4e6)]>a&&b[aX(0x437,0x487)]>0x0){b[aX(0x4da,0x50d)]();}b[aX(0x4ed,0x4be)](aX(0x4d1,0x491));}[_grX(-0xd7,-0x13d)](a){function aY(a,b){return _grX(a-0x709,b);}const b=this,{rows:c,storeCount:d}=b,{length:e}=c,f=Math[aY(0x5f6,0x65a)](e-Math[aY(0x5f6,0x642)](b['appendRowBuffer'],e-0x1),e-0x1),g=a+b['viewHeight'];while(c[f][aY(0x627,0x5e4)]<g&&b[aY(0x604,0x62a)][aY(0x612,0x621)]<d-0x1){b[aY(0x634,0x61e)]();}b[aY(0x5ff,0x5cb)](aY(0x5d2,0x5c6));}[_grX(-0x101,-0x136)](a=![]){const b=this;function aZ(a,b){return _grX(b-0xa5,a);}if(b[aZ(-0x6a,-0xb4)]['renderingRows']){return;}const {bottomRow:c,storeCount:d}=b,e=d-b[aZ(-0x6c,-0x1d)][aZ(0x7,0x7)];let f;if(b[aZ(-0x74,-0x58)]){f=d*b[aZ(0x54,0xd)];}else{f=b[aZ(-0x2,0x4)]+e*b[aZ(-0x57,-0x2e)];if(c&&e){const g=c['bottom'];if(g>f||b[aZ(-0x7a,-0x9c)]+b[aZ(-0x44,-0x5e)]>=d&&f>g&&g>0x0){f=g;if(c[aZ(-0x5b,-0x52)]<d-0x1){f+=(d-0x1-c['dataIndex'])*b[aZ(-0x22,-0x2e)];}}}f=Math[aZ(-0x53,-0xaa)](f);}if(f!==b[aZ(-0x5f,-0x41)]){if(b[aZ(-0x39,-0x65)](aZ(-0xaa,-0x4d),{'totalHeight':f,'immediate':a})!==![]){b[aZ(0x21,-0x3f)]=f;}}return f;}['displayRecordAtTop'](){var a;const b=this,{grid:c}=b,d=b[b0(0x440,0x454)]-0x1,e=b[b0(0x4e3,0x4ae)][b0(0x48d,0x451)](d),f=b['bottomRow'],g=f[b0(0x4c7,0x4b3)];b[b0(0x4c3,0x48b)](b0(0x511,0x4f0),{'row':f,'newRecord':e});if(f[b0(0x4c7,0x49e)]===((a=c[b0(0x4dd,0x489)])===null||a===void 0x0?void 0x0:a[b0(0x4a5,0x507)])){c[b0(0x43b,0x481)]();}f[b0(0x47e,0x4b2)]=b[b0(0x4e1,0x4b6)][b0(0x495,0x4b3)]-b[b0(0x499,0x4e7)](e);f[b0(0x49f,0x46c)]=!b['fixedRowHeight'];f[b0(0x49b,0x459)](d,e,![]);f[b0(0x47b,0x4b2)]=g;function b0(a,b){return _grX(b-0x595,a);}f[b0(0x50d,0x4d7)](b['topRow'][b0(0x4b4,0x4b3)]);f[b0(0x431,0x46c)]=![];b[b0(0x484,0x454)]--;b[b0(0x4c5,0x485)][b0(0x4b7,0x479)](b['_rows'][b0(0x431,0x483)]());b[b0(0x549,0x502)]();return f[b0(0x4a8,0x447)];}[_grX(-0xd5,-0x9f)](){var a;const b=this,{grid:c}=b,d=b[b1(0x309,0x306)]+b[b1(0x302,0x344)],e=b[b1(0x344,0x360)]['getAt'](d),f=b[b1(0x37c,0x368)];b[b1(0x38b,0x33d)](b1(0x3e5,0x3a2),{'row':f,'newRecord':e});if(f[b1(0x311,0x350)]===((a=c[b1(0x378,0x33b)])===null||a===void 0x0?void 0x0:a[b1(0x3ce,0x3b9)])){c[b1(0x2f2,0x333)]();}f[b1(0x2f9,0x350)]=d;f['setTop'](b[b1(0x39c,0x342)]['bottom']);f[b1(0x31b,0x30b)](d,e,![]);b[b1(0x335,0x306)]++;b['_rows'][b1(0x368,0x393)](b[b1(0x2f0,0x337)][b1(0x34e,0x301)]());function b1(a,b){return _grX(b-0x447,a);}b[b1(0x352,0x3b4)]();return f['offsetHeight'];}[_grX(-0x93,-0xfa)](){function b2(a,b){return _grX(b-0x107,a);}for(let a=0x0,{rows:b}=this,{length:c}=b;a<c;a++){b[a][b2(0x33,0x31)]=a;}}}RowManager['featureClass']='';
1
+ (function(a,b){function V(a,b){return _grb(a- -0x2f,b);}const c=a();while(!![]){try{const d=-parseInt(V(0x188,0x1a4))/0x1+parseInt(V(0x15d,0xf5))/0x2*(parseInt(V(0x176,0x13c))/0x3)+-parseInt(V(0x105,0xc2))/0x4*(-parseInt(V(0x13d,0x177))/0x5)+parseInt(V(0x123,0xe9))/0x6*(parseInt(V(0x117,0xe2))/0x7)+-parseInt(V(0xe5,0x7e))/0x8*(parseInt(V(0x195,0x165))/0x9)+parseInt(V(0xda,0xca))/0xa+-parseInt(V(0x111,0xb7))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x704c6));import _grc from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _grd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _gre from'./Row.js';function _grX(a,b){return _grb(b-0x3b3,a);}function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x100;let f=c[d];return f;};return _grb(a,b);}import _grf from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _grg from'@bryntum/core-thin/lib/helper/DomHelper.js';function _gra(){const b7=['trigger','changeRowHeight','updateRowHeight','-add','getRecordCoordsByIndex','getBoundingClientRect','defaultScrollOptions','includes','estimateTotalHeight','setTop','add','closest','appendRowBuffer','refreshBodyRectangle','call','cells','unshift','shift','_bodyRectangle','remove','calculateTop','b-splicing-rows','properties','b-adding','refreshDetails','round','positionCells','columnIndex','rowIndex','64lkREYd','focus','isDestroyed','warpIfNeeded','storeKnownHeight','doDestroy','-remove','virtual','slice','focusedCell','chunkSize','viewHeight','2822776zhyBfL','parentElement','changeTotalHeight','removeRows','beforeRowHeight','number','3031301nTctYj','\x20b-adding','delete','.b-grid-row','style','top','displayRecordAtTop','bufferedTranslateFromRow','width','reinitialize','zIndex','onRecordIdChange','12VOubJV','bottom','topRow','preciseRowOffsetHeight','beforeTranslateRow','inserting','cell','b-removing','storeCount','renderFromRow','size','offsetHeight','clientHeight','scrollable','addRows','scrollTargetRecordId','getRowHeight','topIndex','removeCls','setPosition','firstVisibleRow','viewport','prependBufferHeight','offsetRows','expand','bodyHeight','41885lcbYlh','classList','onFocusedRowDerender','getRowFromElement','removeAllRows','deltaTop','totalCount','rows','heightMap','construct','start','index','push','minRowHeight','client','delayable','getRowById','refreshCell','minRowOffsetHeight','getNextRow','cloneNode','fixIndices','count','renderFromRecord','ceil','firstFullyVisibleRow','map','insert','get','matchRowCount','max','translate','2tnIpnA','fillBelow','block','bodyContainer','rowOffsetHeight','indexOf','min','destroy','from','columns','addCls','element','averageRowHeight','totalHeight','getOffsetHeight','height','new','floor','calculateRowCount','row','length','end','isModel','appendBufferHeight','iterator','1372863LLMYkt','newScrollTop','rowCls','splice','allHeightsKnown','.b-grid-cell','bottomRow','overflowingVertically','forEach','raf','afterAnimatedRowRemoval','offset','beforeAnimatedRowRemoval','renderCell','totalKnownHeight','find','roundPx','fixedRowHeight','735652kWPsDo','dataIndex','getRow','refreshSuspended','scrollRowIntoView','rowCount','translateFromRow','jumpToPosition','lastVisibleRow','rowHeight','_rows','displayRecordAtBottom','insertBefore','9VnDcCw','pop','refresh','lastFullyVisibleRow','getAt','findLast','grid','getRowFor','renderRows','getRowAt','prependRowBuffer','afterPositionCells','abs','b-repositioning','fillAbove','idMap','set','dataset','render','center','renderDone','pluginConfig','getRecordCoords','mixin','96990HJWkSj','_top','nearest','estimatedTop','_totalHeight','b-splicing-rows-','_rowHeight','store','configurable','nodeAnimationCleanup','lastScrollTop','121568JRruTv','initWithHeight','correctError'];_gra=function(){return b7;};return _gra();}import _grh from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _gri from'@bryntum/core-thin/lib/helper/VersionHelper.js';import _grj from'@bryntum/core-thin/lib/mixin/Delayable.js';import _grk from'../util/GridLocation.js';const cloneRowEl=a=>{const b=a[W(0x377,0x3af)],c=a[W(0x3b6,0x3e8)](!![]);function W(a,b){return _grb(a-0x236,b);}c[W(0x3a3,0x3d7)][W(0x357,0x349)](W(0x38f,0x3ba));b[W(0x3f9,0x3d6)](c,a);return c;};export default class RowManager extends _grd[_grX(0x497,0x4bb)](_grj){static get[_grX(0x50c,0x4b9)](){function Y(a,b){return _grX(a,b- -0x21b);}return{'after':[Y(0x364,0x32b)],'assign':[Y(0x318,0x2ec),Y(0x36d,0x343),Y(0x2de,0x2fe),Y(0x37b,0x357),'firstFullyVisibleRow',Y(0x3a9,0x35f),Y(0x2d6,0x314),Y(0x2d5,0x29f),'getRow',Y(0x32b,0x363),Y(0x2d1,0x307)]};}static [_grX(0x481,0x4c4)]={'rowClass':_gre,'prependRowBuffer':0x5,'appendRowBuffer':0x5,'rowHeight':null,'fixedRowHeight':null,'autoHeight':![]};static get[_grX(0x4de,0x4e0)](){return{'idMap':{},'topIndex':0x0,'lastScrollTop':0x0,'_rows':[],'heightMap':new Map(),'totalKnownHeight':0x0,'_totalHeight':0x0,'averageRowHeight':0x0,'scrollTargetRecordId':null,'refreshDetails':{'topRowIndex':0x0,'topRowTop':0x0}};}static [_grX(0x564,0x52e)]={'bufferedTranslateFromRow':_grX(0x593,0x561)};[_grX(0x572,0x528)](a){a['grid']['_rowManager']=this;function Z(a,b){return _grX(a,b- -0x56a);}super['construct'](a[Z(-0x45,0x13)],a);}[_grX(0x4ec,0x4ec)](){function a0(a,b){return _grX(a,b- -0x1f6);}this[a0(0x2db,0x32d)]();super['doDestroy']();}[_grX(0x4e3,0x4c8)](a,b=![]){const c=this;if(c['autoHeight']){a=c['store']['count']*c[a1(0xb3,0x72)];}c[a1(0x9d,0xe2)]=a;function a1(a,b){return _grX(b,a- -0x455);}c[a1(0xfc,0x14d)](b);return a;}[_grX(0x4f0,0x502)](a=![]){const b=this;b[a2(0x31e,0x2d7)](![],!![],!![]);if(b[a2(0x2fc,0x29c)]+b['rowCount']-0x1>b[a2(0x232,0x293)]){a=!![];}if(a){b['topIndex']=b[a2(0x26a,0x24c)]=0x0;}b[a2(0x2c6,0x29a)]=null;const {topRow:c}=b;if(c){c[a2(0x29a,0x2f1)]=b[a2(0x2f8,0x29c)];c['setTop'](b['calculateTop'](b[a2(0x2ed,0x29c)]),!![]);}function a2(a,b){return _grX(a,b- -0x27a);}b[a2(0x297,0x258)]();b['renderFromRow'](c);}[_grX(0x599,0x53c)](a=![]){function a3(a,b){return _grX(a,b- -0x6e8);}const b=this,{rows:c,grid:d,rowClass:e}=b,f=c[a3(-0x1f6,-0x195)],g=f-b['rowCount'];if(g){if(g<0x0){const i=[];for(let j=f,k=f?c[f-0x1]['dataIndex']+0x1:0x0;j<b[a3(-0x12e,-0x179)];j++,k++){i['push'](e['new']({'cls':d[a3(-0x183,-0x18e)],'rowManager':b,'grid':d,'index':j,'dataIndex':k}));}c[a3(-0x154,-0x1bd)]['apply'](c,i);b['trigger'](a3(-0x200,-0x1d5),{'rows':i});b['positionCells']();if(!a){b['renderFromRow'](c[Math[a3(-0x19f,-0x1ab)](0x0,f-0x1)]);}}else{var h;const l=(h=_grg['getActiveElement'](d))===null||h===void 0x0?void 0x0:h['closest'](a3(-0x193,-0x18b)),m=c[a3(-0x1bc,-0x18d)](f-g,g);if(f!==g&&m['some'](n=>n['cells'][a3(-0x237,-0x217)](l))){c[c[a3(-0x1b4,-0x195)]-0x1][a3(-0x257,-0x20f)][d[a3(-0x223,-0x1f8)][a3(-0x20b,-0x203)]][a3(-0x1b1,-0x200)]();}b[a3(-0x285,-0x21e)](a3(-0x195,-0x1f2),{'rows':m});m[a3(-0x1bb,-0x188)](n=>n[a3(-0x1ba,-0x1a2)]());!a&&c[a3(-0x1bf,-0x195)]&&b[a3(-0x1e2,-0x1a8)](b['lastScrollTop']);}}}[_grX(0x5a3,0x551)](a=![],b=!![],c=![]){var d;const e=this,{storeCount:f}=e,g=Math['ceil'](e['viewHeight']/e[a4(0x4de,0x49a)]),h=g+e[a4(0x541,0x4ea)]+e['appendRowBuffer'];function a4(a,b){return _grX(a,b- -0x97);}if(!((d=e[a4(0x52f,0x4e6)][a4(0x494,0x4b1)])!==null&&d!==void 0x0&&d[a4(0x4fa,0x49e)])||isNaN(g)){e['rowCount']=0x0;return 0x0;}if(h<e[a4(0x4e2,0x4d8)]&&!b){return e[a4(0x499,0x4d8)];}e['visibleRowCount']=g;e['rowCount']=Math[a4(0x4cf,0x4ae)](f,h);if(!a){if(e[a4(0x42f,0x48f)]&&e[a4(0x50f,0x4d8)]!==e[a4(0x44f,0x48f)]['length']){var i;e[a4(0x4a5,0x4a5)](c);if(((i=e['bottomRow'])===null||i===void 0x0?void 0x0:i[a4(0x48e,0x4d4)])>=f&&e[a4(0x4a5,0x470)][a4(0x4af,0x4d4)]!==0x0){const j=e['bottomRow'][a4(0x4dc,0x4d4)]-f+0x1;for(const k of e['rows']){k[a4(0x46c,0x4d4)]-=j;}e[a4(0x4a0,0x47f)]-=j;}}else if(!e[a4(0x48b,0x4d8)]){e[a4(0x402,0x433)](a4(0x4b0,0x45e),{'totalHeight':e[a4(0x47e,0x4b5)]});}e[a4(0x488,0x4e6)]['toggleEmptyText']();}return e['rowCount'];}async[_grX(0x542,0x53a)](a,b,c){var d,e,f,g;(d=this[a5(0x1f5,0x1fb)])===null||d===void 0x0||d[a5(0x208,0x26a)](this);const h=this,{rows:i,rowCount:j,rowClass:k,grid:l}=h,{element:m}=l,{rowCls:n}=l,o=((e=i[a-0x1])===null||e===void 0x0?void 0x0:e[a5(0x29b,0x2cd)])+0x1||0x0,p=[],q=(((f=h[a5(0x2a2,0x27f)])===null||f===void 0x0?void 0x0:f[a5(0x25a,0x239)])??0x0)+0x1-a;h[a5(0x23a,0x20c)]=c;let r;function a5(a,b){return _grX(b,a- -0x2d0);}await l['executeAndAwaitAnimations'](m,()=>{let s=null,t=0x0;if(b<0x0){var u;b=Math[a6(-0x210,-0x1c3)](b);h[a6(-0x289,-0x26f)]+=a6(-0x2a6,-0x24c);const y=o>=l['store'][a6(-0x25e,-0x1f8)]?b:Math['min'](b,q),z=i[a6(-0x2a4,-0x2c9)](a,a+y),A=y?z[z['length']-0x1][a6(-0x28d,-0x2c9)]-z[0x0][a6(-0x295,-0x2d9)]:0x0,B=[],C=[],D=[];s=z[a6(-0x25a,-0x28d)](E=>E['id']);t=A;for(let E=0x0,{length:F}=z;E<F;E++){const G=z[E],H=G['_elementsArray']['map'](cloneRowEl),I=k[a6(-0x244,-0x248)]({'rowManager':h,'_elementsArray':H,'_top':G[a6(-0x295,-0x2bb)],'grid':l});if(G['isGroupHeader']){H[a6(-0x233,-0x28c)](J=>{function a7(a,b){return a6(a-0x270,b);}J[a7(-0x26,-0x67)][a7(-0x20,-0x31)]='-1';});}C[a6(-0x268,-0x21b)](I);B[a6(-0x268,-0x270)](...H);}for(let J=a;J<j;J++){D['push'](i[J]);i[J]['addCls']('b-repositioning');i[J]['setTop'](i[J][a6(-0x295,-0x2bc)]+A);}r=i[a6(-0x240,-0x226)]>l[a6(-0x2d0,-0x2d1)][a6(-0x25e,-0x21b)];(u=B[0x0])===null||u===void 0x0||u[a6(-0x2c4,-0x285)]();l[a6(-0x24a,-0x27b)](a6(-0x2b4,-0x280),'b-splicing-rows-'+c);for(let K=0x0,{length:L}=z;K<L;K++){var v;C[K]['setTop'](((v=i[a-0x2])===null||v===void 0x0?void 0x0:v[a6(-0x28d,-0x24d)])||0x0,!![]);}h[a6(-0x2ce,-0x2ed)]=()=>{function a8(a,b){return a6(a-0x386,b);}if(!h[a8(0xdc,0xd7)]){h[a8(0xb8,0x11f)]=null;l['removeCls']('b-splicing-rows',a8(0xb4,0x4d)+c);B[a8(0x153,0x160)](M=>M[a8(0xd0,0x137)]());D[a8(0x153,0x145)](M=>{function a9(a,b){return a8(b- -0x1a1,a);}var N;return(N=M[a9(-0xc7,-0x97)])===null||N===void 0x0?void 0x0:N[a9(-0x113,-0xd6)](M,a9(-0x4c,-0x2a));});}};}else if(b>0x0){var w,x;const M=[],N=a-(c===a6(-0x276,-0x2c2)?0x2:0x1),O=((w=i[N])===null||w===void 0x0?void 0x0:w['top'])||0x0;h['inserting']+=a6(-0x2c6,-0x2b5);b=l[a6(-0x234,-0x285)]?Math['min'](b,h[a6(-0x221,-0x221)]['index']+0x1-a):Math['min'](b,Math[a6(-0x25c,-0x259)]((l[a6(-0x281,-0x2a8)][a6(-0x282,-0x276)]-(((x=i[a-0x1])===null||x===void 0x0?void 0x0:x[a6(-0x28d,-0x250)])||0x0))/h['rowHeight']));let P=a,Q=o;for(let R=0x0;R<b;R++,P++,Q++){p[a6(-0x268,-0x273)](k[a6(-0x244,-0x1e9)]({'cls':n+a6(-0x299,-0x292),'rowManager':h,'_top':O,'grid':l,'index':P,'dataIndex':Q}));}t=b*h['rowOffsetHeight'];for(let S=a;S<h[a6(-0x224,-0x1dd)];S++,P++,Q++){M[a6(-0x268,-0x2c1)](i[S]);i[S]['addCls']('b-repositioning');i[S]['index']=P;i[S][a6(-0x228,-0x252)]=Q;}r=p[a6(-0x240,-0x246)];h[a6(-0x2ce,-0x320)]=()=>{function aa(a,b){return a6(b-0x18f,a);}if(!h[aa(-0xe7,-0x11b)]){h[aa(-0x116,-0x13f)]=null;l[aa(-0x101,-0xed)](aa(-0x157,-0x125),aa(-0x1aa,-0x143)+c);p[aa(-0xa4,-0xa4)](T=>!T[aa(-0x15c,-0x11b)]&&T[aa(-0xc4,-0xed)](aa(-0x189,-0x123)));M['forEach'](T=>{var U;function ab(a,b){return aa(a,b-0x1e8);}return(U=T[ab(0x14c,0xfb)])===null||U===void 0x0?void 0x0:U[ab(0x121,0xbc)](T,'b-repositioning');});}};i[a6(-0x238,-0x23f)](a,0x0,...p);if(b>0x0){h[a6(-0x224,-0x1cd)]+=b;h[a6(-0x2c9,-0x2dc)](a6(-0x280,-0x2b6),{'rows':p});}l['addCls'](a6(-0x2b4,-0x253),a6(-0x2d2,-0x2e3)+c);}l[a6(-0x22f,-0x265)](s,t);function a6(a,b){return a5(a- -0x4c3,b);}h[a6(-0x2af,-0x246)]();h[a6(-0x285,-0x2bb)](i[a],!![]);l[a6(-0x231,-0x295)](s,t);});if(h['isDestroyed']){return;}(g=h[a5(0x1f5,0x208)])===null||g===void 0x0||g[a5(0x208,0x247)](h);if(r){h[a5(0x281,0x22c)](![],!![],!![]);}h[a5(0x202,0x1c5)]();h[a5(0x23a,0x264)]=null;return p;}[_grX(0x589,0x523)](){const a=this,{topRow:b}=a,c=b?a[ac(-0x296,-0x23f)]={'topRowIndex':b[ac(-0x1e0,-0x1b6)],'topRowTop':b[ac(-0x244,-0x223)]}:a[ac(-0x235,-0x23f)],d=a[ac(-0x19c,-0x1fb)][ac(-0x209,-0x232)]();a[ac(-0x26f,-0x257)](ac(-0x1fd,-0x22b),{'rows':d});a['rows'][ac(-0x205,-0x1c1)](e=>e[ac(-0x176,-0x1db)]());a[ac(-0x1b7,-0x1fb)]['length']=0x0;function ac(a,b){return _grX(a,b- -0x721);}a[ac(-0x299,-0x26e)]={};return c;}[_grX(0x4b8,0x518)](a){function ad(a,b){return _grX(b,a- -0x150);}const {topRow:b}=this,{topRowIndex:c,topRowTop:d}=a;if(b){b[ad(0x383,0x3be)](d);b[ad(0x41b,0x412)]=c;}}get['store'](){function ae(a,b){return _grX(b,a- -0x421);}return this[ae(0x10c,0x13d)]['store'];}get['storeCount'](){function af(a,b){return _grX(b,a- -0x5f5);}let {count:a,lazyLoad:b}=this[af(-0x132,-0x119)];if(a&&b&&b[af(-0xd0,-0x8e)]==null){a+=b[af(-0x104,-0x129)];}return a;}get[_grX(0x52b,0x526)](){function ag(a,b){return _grX(b,a- -0x518);}return this[ag(0x5c,-0x4)];}['getRow'](a){function ah(a,b){return _grX(b,a- -0x4fb);}if(this['rowCount']){return this[ah(0x2b,-0x16)][a-this['topIndex']];}}['getRowById'](a){if(a&&a[ai(-0x135,-0xe1)]){a=a['id'];}function ai(a,b){return _grX(b,a- -0x68a);}return this[ai(-0x1d7,-0x225)][a];}['getRowFromElement'](a){a=a[aj(-0x93,-0x3f)](aj(-0x6c,-0x6b));function aj(a,b){return _grX(b,a- -0x568);}return a&&this[aj(0x4,-0x5)](a[aj(-0xb3,-0x5d)][aj(-0x3e,-0x8e)]);}[_grX(0x51f,0x580)](a,b=![]){if(!b){a-=_grc[ak(0x110,0x103)](this['grid'][ak(0x96,0xfe)],null,!![])[ak(0x175,0x124)](0x1)['top'];a+=this[ak(0x12c,0x139)][ak(0x12a,0xce)]['y'];}function ak(a,b){return _grX(a,b- -0x444);}a=_grg[ak(0xbf,0x124)](a);return this['rows'][ak(0x173,0x123)](c=>a>=c[ak(0xe1,0xba)]&&a<c[ak(0x6a,0xc2)]);}[_grX(0x53b,0x57e)](a){function al(a,b){return _grX(b,a- -0x775);}if(a instanceof HTMLElement){return this[al(-0x253,-0x28e)](a);}return this[al(-0x246,-0x286)](a);}[_grX(0x594,0x532)](a){const b=typeof a===am(0x492,0x45a)?a:a[am(0x4e9,0x48c)];function am(a,b){return _grX(a,b- -0x9e);}return this['getRow']((b+0x1)%this[am(0x520,0x4d1)]);}get[_grX(0x513,0x507)](){function an(a,b){return _grX(a,b- -0x59e);}return this[an(-0x84,-0x78)][0x0];}get[_grX(0x575,0x55e)](){const a=Math[ao(0x1f4,0x1ce)](this[ao(0x1d6,0x1f8)],this[ao(0x1e7,0x196)]);function ao(a,b){return _grX(a,b- -0x377);}return this[ao(0x19a,0x1af)][a-0x1];}get['firstVisibleRow'](){function ap(a,b){return _grX(a,b- -0x51);}const a=Math['ceil'](this[ap(0x521,0x52c)][ap(0x45e,0x4c1)]['y']);return this[ap(0x475,0x4d5)][ap(0x522,0x516)](b=>b[ap(0x508,0x4b5)]>a);}get[_grX(0x523,0x538)](){function aq(a,b){return _grX(b,a- -0x5f7);}const a=Math['ceil'](this[aq(-0x7a,-0xb0)]['scrollable']['y']);return this[aq(-0xd1,-0xe3)][aq(-0x90,-0x9d)](b=>b[aq(-0xf9,-0x13c)]>=a)||this[aq(-0xd1,-0xd3)][aq(-0x90,-0x75)](b=>b[aq(-0xf9,-0x117)]<a&&b[aq(-0xf1,-0x12d)]>a);}get['lastVisibleRow'](){function ar(a,b){return _grX(b,a- -0x3c4);}const {grid:a}=this;return _grf['findLast'](this[ar(0x162,0x164)],b=>b[ar(0x13a,0xf6)]<a[ar(0x14e,0xfb)]['y']+a[ar(0x15a,0x194)]);}get[_grX(0x5b3,0x57a)](){function as(a,b){return _grX(b,a- -0x2f3);}const {grid:a}=this;return _grf[as(0x289,0x24a)](this[as(0x233,0x22e)],b=>b[as(0x213,0x215)]<a['scrollable']['y']+a[as(0x22b,0x20f)]);}[_grX(0x57b,0x51c)](a){function at(a,b){return _grX(b,a- -0x12);}if(a!==0x0){const {rows:b}=this,{length:c}=b;for(let d=0x0;d<c;d++){b[d][at(0x551,0x591)](a);}}this['trigger'](at(0x50a,0x4c5),{'offset':a});}get[_grX(0x57a,0x51b)](){function au(a,b){return _grX(b,a- -0x517);}return this[au(0x6a,0xb0)]*this[au(0x2c,0x73)];}get[_grX(0x556,0x556)](){function av(a,b){return _grX(b,a- -0x368);}return this['appendRowBuffer']*this[av(0x1db,0x178)];}[_grX(0x4f3,0x4cb)](a){function aw(a,b){return _grX(a,b- -0x780);}_grh['assertNumber'](a,aw(-0x25a,-0x20d),!![]);if(a<0xa){a=0xa;}return a;}[_grX(0x4f1,0x4cc)](a,b){const c=this,{grid:d,fixedRowHeight:e}=c;function ax(a,b){return _grX(a,b- -0x1b8);}c[ax(0x2fa,0x312)](ax(0x2f6,0x33f),{'height':a});c[ax(0x331,0x374)]=a;if(e){c['averageRowHeight']=a;}if(c['rows'][ax(0x3d0,0x39b)]){const f=d['scrollable']['y'],g=c[ax(0x367,0x3c8)](f,!![]),h=g?g[ax(0x352,0x346)]-f:0x0;let i,j;if(e){i=a;j=b;}else{j=i=c[ax(0x3b5,0x393)];c['clearKnownHeights']();i*=a/b;}c[ax(0x32f,0x399)](![],!![],!![]);c[ax(0x328,0x34f)]['setTop'](c[ax(0x317,0x34f)]['dataIndex']*i,!![]);c['refresh']();const k=f*(i/j);if(k!==f){d[ax(0x36d,0x3b6)](g['id'],{...d[ax(0x2d5,0x318)],'block':'start','edgeOffset':h});}}c[ax(0x2b0,0x312)](ax(0x3df,0x3bb),{'height':a,'oldHeight':b});}get[_grX(0x4db,0x543)](){function ay(a,b){return _grX(a,b- -0x579);}return Math['floor'](this[ay(-0xbe,-0x71)]);}get[_grX(0x4b7,0x508)](){function az(a,b){return _grX(b,a- -0x363);}return this[az(0x1e8,0x22f)]||this[az(0x15f,0xf6)];}get[_grX(0x4f7,0x531)](){function aA(a,b){return _grX(b,a- -0x460);}return this[aA(0xcc,0x72)]||this[aA(0x62,0xc8)];}get['allHeightsKnown'](){function aB(a,b){return _grX(a,b- -0x5b0);}return this['fixedRowHeight']||this['heightMap'][aB(-0x9f,-0xa1)]>=this['storeCount'];}[_grX(0x48c,0x4eb)](a,b){const c=this,{heightMap:d}=c;function aC(a,b){return _grX(b,a- -0x798);}if(!c[aC(-0x22f,-0x28a)]){if(d['has'](a)){c[aC(-0x232,-0x1ed)]-=d[aC(-0x25d,-0x286)](a);}d[aC(-0x2e4,-0x30f)](a,b);c['totalKnownHeight']+=b;if(b<c['minRowHeight']){c['minRowHeight']=b;}c[aC(-0x24d,-0x216)]=c[aC(-0x232,-0x256)]/d[aC(-0x289,-0x2d3)];}}[_grX(0x538,0x54d)](a){const b=this;function aD(a,b){return _grX(b,a- -0x55a);}return a&&b['heightMap'][aD(-0x1f,0x5)](a['id'])||a&&b[aD(0x23,-0x44)][aD(-0x45,-0x7d)](a)||b[aD(-0xf,0x5b)]||b[aD(0x19,0x4)];}['invalidateKnownHeight'](a){const b=this;function aE(a,b){return _grX(b,a- -0x3ad);}if(!b[aE(0x1bc,0x1b5)]){const {heightMap:c}=b;a=_grf['asArray'](a);a[aE(0x1b3,0x20c)](d=>{function aF(a,b){return aE(b-0x2a2,a);}if(d){if(c['has'](d['id'])){b['totalKnownHeight']-=c[aF(0x3ee,0x430)](d['id']);c[aF(0x3e8,0x3f0)](d['id']);}}});b[aE(0x19e,0x1e3)]=b['totalKnownHeight']/c[aE(0x162,0x171)];}}['clearKnownHeights'](){function aG(a,b){return _grX(a,b- -0xf2);}this[aG(0x450,0x435)]['clear']();this[aG(0x3ff,0x459)]=this[aG(0x4a5,0x474)]=0x0;}[_grX(0x531,0x504)]({record:a,oldValue:b,value:c}){const {heightMap:d}=this;if(!this[aH(0x4db,0x4c5)]&&d['has'](b)){const f=d['get'](b);d[aH(0x4b5,0x457)](b);d[aH(0x3c3,0x410)](c,f);}function aH(a,b){return _grX(a,b- -0xa4);}const e=this[aH(0x3d9,0x40f)][b];if(e){e['id']=c;}}[_grX(0x51b,0x4de)](a){if(this['fixedRowHeight']){return a*this[aI(0x48f,0x444)];}const {storage:b}=this['store'];let c=0x0;for(let d=0x0;d<a;d++){const e=b[aI(0x412,0x47c)](d);c+=this['getOffsetHeight'](e);}function aI(a,b){return _grX(a,b- -0xff);}return Math[aI(0x44f,0x451)](c);}['getRecordCoords'](a,b=![],c=![]){const d=this,e=d[aJ(-0x1d0,-0x1f8)](a);let f=d[aJ(-0x1d2,-0x1ac)][aJ(-0x223,-0x1eb)];if(!b){f=d[aJ(-0x1d2,-0x202)][aJ(-0x228,-0x23f)]();}function aJ(a,b){return _grX(b,a- -0x6ff);}if(e){return new _grc(f['x'],b?Math[aJ(-0x21c,-0x1d7)](e[aJ(-0x201,-0x19e)]):Math['round'](e['top']+f['y']-d['client']['scrollable']['y']),Math['max'](f[aJ(-0x1fe,-0x220)],0x0),e[aJ(-0x1ef,-0x210)]);}const g=d['store'][aJ(-0x1bb,-0x18b)](a);return g!==-0x1?d[aJ(-0x231,-0x24c)](g,b,c):null;}[_grX(0x4e4,0x4ce)](a,b=![],c=![]){const d=this,{topRow:e,bottomRow:f}=d,g=d[aK(-0x9e,-0x83)][aK(-0xef,-0xb4)],{id:h}=d[aK(-0x108,-0x12f)]['getAt'](a),i=d[aK(-0xc3,-0x11e)],j=e[aK(-0x60,-0x48)],k=f[aK(-0x60,-0xbd)],l=Math[aK(-0x7b,-0xe4)](d['heightMap'][aK(-0x90,-0x2b)](h)??i);function aK(a,b){return _grX(b,a- -0x5cb);}let m;if(d[aK(-0x6f,-0xd6)]&&!c){const o=d['calculateTop'](a);m=b?o:o+g['y']-d[aK(-0x9e,-0xf9)][aK(-0xb9,-0x82)]['y'];}else{const p=a>k?{'index':a-k-0x1,'y':f[aK(-0xc5,-0x11b)],'from':aK(-0x6d,-0x77)}:a>j/0x2?{'index':a-j,'y':e[aK(-0xcd,-0xcb)],'from':aK(-0xc4,-0xbe)}:{'index':a,'y':0x0,'from':aK(-0xcd,-0x76)},q=Math[aK(-0x7b,-0x7f)](p['y']+p[aK(-0xa1,-0x94)]*i);m=b?p[aK(-0x84,-0x39)]===aK(-0xc4,-0xda)?q+i-l:q:q+g['y']-d[aK(-0x9e,-0xc1)]['scrollable']['y'];}const n=new _grc(g['x'],m,g[aK(-0xca,-0xd1)],l);n[aK(-0xdd,-0xf9)]=!![];n[aK(-0x8a,-0x73)]=n[aK(-0xc5,-0x84)]<g['y']?aK(-0xa2,-0xb7):n['y']>g[aK(-0xc5,-0x80)]?aK(-0x77,-0x2f):aK(-0x10d,-0x160);return n;}get[_grX(0x58f,0x54c)](){function aL(a,b){return _grX(b,a- -0x211);}return this[aL(0x2af,0x2c2)];}[_grX(0x5c1,0x560)](a){function aM(a,b){return _grX(a,b- -0x5a0);}this[aM(-0xb8,-0x7a)][aM(-0x42,-0x40)](a);}[Symbol['iterator']](){function aN(a,b){return _grX(a,b- -0x69d);}return this['rows'][Symbol[aN(-0x11f,-0x146)]]();}['positionCells'](){for(const a of this[aO(0x484,0x4c1)]){a['positionCells']();}this[aO(0x4db,0x49a)][aO(0x4e0,0x4ff)]();function aO(a,b){return _grX(b,a- -0xa2);}this['trigger']('positionCells');}[_grX(0x58b,0x530)](a,b){function aP(a,b){return _grX(a,b- -0x15b);}const c=new _grk({'grid':this[aP(0x448,0x422)],'record':a,'columnId':b});return Boolean(c[aP(0x399,0x3b0)]&&c[aP(0x3e4,0x3f7)][aP(0x3c1,0x40a)](c));}['returnToTop'](){const a=this;a[aQ(0x3e8,0x3e1)]=0x0;a[aQ(0x398,0x3a8)]=0x0;function aQ(a,b){return _grX(b,a- -0x12e);}if(a['topRow']){a[aQ(0x3d9,0x3c7)][aQ(0x43d,0x426)]=0x0;a['topRow'][aQ(0x3a5,0x397)](0x0,!![]);}a[aQ(0x44b,0x450)]();a[aQ(0x44f,0x40c)][aQ(0x3e4,0x395)]['y']=0x0;}[_grX(0x518,0x536)](a){const b=this[aR(-0xf6,-0x156)](a['id']);function aR(a,b){return _grX(a,b- -0x685);}if(b){this[aR(-0x1e1,-0x177)](b);}}[_grX(0x546,0x50e)](a=null,b=![]){const c=this,{rows:d,store:e,topIndex:f,topRow:g,storeCount:h}=c;let j=a?d[aS(0x445,0x4ab)](a):0x0;if(c[aS(0x502,0x4b8)](![],h<d[aS(0x4fe,0x4ba)]&&!b,!![])===0x0||j>=d['length']){c[aS(0x433,0x439)](!![]);return;}function aS(a,b){return _grX(a,b- -0x99);}if(c['topIndex']<f){c[aS(0x4aa,0x46e)][aS(0x3e1,0x43a)](c[aS(0x42d,0x445)](c[aS(0x448,0x47d)]),!![]);j=0x0;a=c[aS(0x45c,0x46e)];}else if(a&&d[aS(0x4ef,0x4ab)](a)<0x0){a=d[j]||g;}let k=a?a['dataIndex']:d[0x0]['dataIndex'];const l=h-k-0x1,m=Math[aS(0x4b9,0x4ac)](d[aS(0x4a4,0x4ba)]-0x1,j+l);let n=d[aS(0x493,0x4ba)]-m-0x1,o=j>0x0?d[j-0x1][aS(0x422,0x46d)]:d[j][aS(0x498,0x465)],p;const q=[];if(j===0x0&&c[aS(0x442,0x47d)]===0x0)o=0x0;for(let r=j;r<=m;r++){p=d[r];p['dataIndex']=k;if(b){q[r]=o;}else{p[aS(0x44f,0x43a)](o,!![]);}p['render'](k,e[aS(0x527,0x4e2)](k++),![]);o+=p[aS(0x453,0x477)];}if(b){d[j][aS(0x503,0x4b1)]['getBoundingClientRect']();for(let s=j;s<=m;s++){d[s]['setTop'](q[s],!![]);}}while(n-->0x0){c[aS(0x45c,0x466)]();}if(c['bottomRow'][aS(0x4b6,0x46d)]<c[aS(0x430,0x459)]+c[aS(0x480,0x42d)]){c[aS(0x4ea,0x4b8)]();}c[aS(0x3d3,0x439)](!![]);c[aS(0x46d,0x431)]('renderDone');}[_grX(0x52b,0x57f)](a){let b,c=![];a=Array[aT(-0x1ea,-0x1ae)](a);function aT(a,b){return _grX(b,a- -0x731);}a['sort']((d,e)=>d[aT(-0x1c6,-0x189)]-e['dataIndex']);for(const d of a){b=d['height'];d[aT(-0x27b,-0x2b1)](null,null,![]);c|=d[aT(-0x1e3,-0x24c)]!==b;}if(c){this[aT(-0x1c1,-0x1ad)](a[0x0]);}this['trigger'](aT(-0x279,-0x2be));}[_grX(0x547,0x500)](){function aU(a,b){return _grX(a,b- -0x3fe);}this[aU(0x199,0x172)](this[aU(0xc4,0x109)]);}[_grX(0x517,0x570)](a,b=![]){const c=this;let d=a[aV(0x122,0x14b)],e,f;function aV(a,b){return _grX(a,b- -0x3bb);}for(f=a['dataIndex']+0x1,e=c['getRow'](f);e;e=c[aV(0x1e0,0x1b1)](++f)){d=e[aV(0x12e,0x183)](d);}if(!b){c['estimateTotalHeight'](!![]);}}[_grX(0x597,0x579)](a=![]){const b=this,{topRow:c}=b;if(!c&&!a||b['grid'][aW(0x48b,0x4cd)]){return;}b[aW(0x460,0x413)]={};b[aW(0x41e,0x46e)](c);function aW(a,b){return _grX(a,b- -0xa0);}b[aW(0x451,0x42a)]('refresh');}[_grX(0x536,0x571)](a,b){const c=this,{store:d,heightMap:e,storeCount:f}=c;if(c[aX(0x73,0x9)]&&!c[aX(0x80,0xe2)]){const g=a-c[aX(0x32,0x1c)],h=0x0;let i=0x0,j=0x0;while(i<g){const l=d['records'][j];i+=e[aX(0x52,0x94)](l['id'])+h;j++;}const k=Math[aX(0x54,0x9a)](Math[aX(0x5c,0x17)](j,f-c[aX(0x86,0x6b)]),0x0);c['lastScrollTop']=a;c[aX(0x1e,0xf)]['dataIndex']=c[aX(0x2d,0x35)]=k;c['topRow'][aX(-0x16,0x1f)](c[aX(-0xb,0x20)](k),![]);c[aX(0x90,0xc7)]();}else{const m=c[aX(0x1f,0x1c)],n=b==null?Math[aX(0x67,0x28)](a/m)-c[aX(0x98,0xc8)]:b-Math['floor'](c[aX(0x86,0x35)]/0x2),o=Math[aX(0x54,0xbb)](Math[aX(0x5c,0xa6)](n,f-c[aX(0x86,0x7e)]),0x0),p=c[aX(0x44,0x61)][aX(0x29,0x1f)]['y'],q=Math[aX(0x5c,-0x1)](c['client'][aX(-0xd,0x31)][aX(0x65,0xf)]+p+c['appendBufferHeight'],c['totalHeight']);c[aX(-0x23,-0x1d)]=a;c[aX(0x1e,-0x20)][aX(0x82,0x27)]=c[aX(0x2d,-0x17)]=o;c['topRow']['setTop'](Math[aX(0x67,0x5e)](o*m),![]);c[aX(0x90,0x8a)]();if(c[aX(0x75,0x70)][aX(0x1d,-0xd)]<q){c[aX(0x68,0x4c)](![],![],![]);while(c[aX(0x75,0x78)][aX(0x1d,0x52)]<q&&c[aX(0x8b,0x81)][c[aX(0x98,0x36)]]['top']<p&&c[aX(0x75,0x98)]['dataIndex']<f-0x1){c[aX(0x8c,0x32)]();}}c[aX(-0x17,-0x77)]();}if(b!=null){const {scrollable:r}=c[aX(0x94,0xf0)],s=c[aX(0x83,0x53)](b),t=s&&_grc[aX(0x5e,0x23)](s['_elementsArray'][0x0])[aX(-0x32,-0x9c)]['y'],u=r[aX(0x31,0x1e)][aX(-0x32,-0x92)]['y'];if(s){r['y']=a=Math[aX(0x67,0xa1)](r['y']+(t-u));}}function aX(a,b){return _grX(b,a- -0x4e9);}return a;}['warpIfNeeded'](a){function aY(a,b){return _grX(b,a- -0x1bf);}const b=this,c={'newScrollTop':a,'deltaTop':a-b[aY(0x307,0x30e)]};if(Math[aY(0x3c4,0x3ae)](c['deltaTop'])>b[aY(0x3b0,0x39a)]*b['rowOffsetHeight']*0x3){let d;if(b['scrollTargetRecordId']){d=b[aY(0x304,0x2b5)][aY(0x385,0x339)](b[aY(0x355,0x374)]);}b[aY(0x3be,0x3d8)][aY(0x362,0x364)]();c[aY(0x39a,0x37b)]=b[aY(0x3b2,0x3cb)](a,d);c[aY(0x365,0x38b)]=0x0;}return c;}['updateRenderedRows'](a,b,c=![]){const d=this;if(d[aZ(-0x85,-0x51)]===0x0){return 0x0;}function aZ(a,b){return _grX(a,b- -0x5c0);}let e=d[aZ(-0xab,-0x74)];if(b||Math[aZ(-0x4b,-0x3d)](a-d['lastScrollTop'])>=d[aZ(-0xb9,-0x7d)]||d[aZ(-0xb8,-0xb9)][aZ(-0x125,-0xc2)]>a||d['bottomRow'][aZ(-0xb0,-0xba)]<a+d[aZ(-0x99,-0xce)]){const f=d[aZ(-0xf8,-0xd6)](a);d[aZ(-0xb7,-0xac)]=null;d[aZ(-0x13e,-0xfa)]=f[aZ(-0x68,-0x67)];if(f[aZ(-0x6d,-0x9c)]>0x0){d[aZ(-0x8f,-0x80)](f['newScrollTop']);}else if(f['deltaTop']<0x0){d[aZ(-0x86,-0x3b)](f[aZ(-0xc1,-0x67)]);}if(!d[aZ(-0x49,-0x57)]&&!c){d[aZ(-0x12a,-0xf7)](f,a);}e=d[aZ(-0xec,-0xee)]();}return e;}[_grX(0x4cb,0x4c9)](a,b){const c=this;let d=0x0;function b0(a,b){return _grX(a,b- -0x5f3);}if(c[b0(-0x69,-0x97)]){d=c['topRow'][b0(-0x142,-0xf5)]-c[b0(-0xc0,-0x115)](c[b0(-0x118,-0xec)]['dataIndex']);}else if(a[b0(-0x120,-0xcf)]<0x0&&b<c[b0(-0x14c,-0x101)]*0x2||a['deltaTop']>0x0&&b>c[b0(-0x60,-0xa7)]-c[b0(-0x156,-0x101)]*0x2-0x3){d=c['topRow'][b0(-0xba,-0xf5)]-c['calculateTop'](c[b0(-0x95,-0xec)][b0(-0x54,-0x88)]);}if(d){c[b0(-0x110,-0xd7)](-d);c['grid'][b0(-0xdd,-0xe1)]['y']=c['lastScrollTop']=c[b0(-0x8b,-0x76)][b0(-0xe3,-0xe1)]['y']-d;}}['fillAbove'](a){const b=this,{rows:c}=b,d=Math[b1(0x30,-0x34)](b[b1(0x6c,0x96)],c[b1(0x3e,0x9b)]-0x1);function b1(a,b){return _grX(b,a- -0x515);}while(c[d][b1(-0x17,-0x5)]>a&&b[b1(0x1,-0xe)]>0x0){b[b1(-0x16,-0x2b)]();}b['trigger']('renderDone');}[_grX(0x53a,0x540)](a){const b=this,{rows:c,storeCount:d}=b,{length:e}=c,f=Math['min'](e-Math['min'](b[b2(0x26d,0x2a1)],e-0x1),e-0x1),g=a+b[b2(0x289,0x262)];function b2(a,b){return _grX(b,a- -0x269);}while(c[f][b2(0x295,0x253)]<g&&b['bottomRow'][b2(0x302,0x320)]<d-0x1){b['displayRecordAtBottom']();}b[b2(0x261,0x289)]('renderDone');}['estimateTotalHeight'](a=![]){const b=this;if(b[b3(0x466,0x497)]['renderingRows']){return;}const {bottomRow:c,storeCount:d}=b,e=d-b[b3(0x43a,0x441)][b3(0x42f,0x429)];let f;if(b[b3(0x4a6,0x483)]){f=d*b['rowOffsetHeight'];}else{f=b[b3(0x471,0x480)]+e*b[b3(0x3f3,0x422)];if(c&&e){const g=c[b3(0x3fe,0x420)];if(g>f||b[b3(0x41f,0x430)]+b['rowCount']>=d&&f>g&&g>0x0){f=g;if(c[b3(0x483,0x485)]<d-0x1){f+=(d-0x1-c[b3(0x46b,0x485)])*b['preciseRowOffsetHeight'];}}}f=Math[b3(0x46e,0x46a)](f);}if(f!==b[b3(0x440,0x466)]){if(b[b3(0x3b7,0x3e4)](b3(0x464,0x40f),{'totalHeight':f,'immediate':a})!==![]){b['_totalHeight']=f;}}function b3(a,b){return _grX(a,b- -0xe6);}return f;}[_grX(0x4d6,0x4ff)](){var a;const b=this,{grid:c}=b,d=b[b4(-0x218,-0x23c)]-0x1,e=b['store']['getAt'](d),f=b['bottomRow'],g=f[b4(-0x27e,-0x254)];b[b4(-0x221,-0x288)](b4(-0x2a9,-0x249),{'row':f,'newRecord':e});if(f[b4(-0x1b6,-0x1e7)]===((a=c[b4(-0x247,-0x262)])===null||a===void 0x0?void 0x0:a['rowIndex'])){c['onFocusedRowDerender']();}f[b4(-0x28b,-0x295)]=b['topRow'][b4(-0x29e,-0x254)]-b[b4(-0x1c3,-0x205)](e);f['estimatedTop']=!b['fixedRowHeight'];f[b4(-0x246,-0x1e7)]=d;f[b4(-0x27c,-0x29c)](d,e,![]);f['_top']=g;f['setBottom'](b[b4(-0x2b1,-0x24b)][b4(-0x29f,-0x254)]);function b4(a,b){return _grX(a,b- -0x752);}f[b4(-0x2a8,-0x293)]=![];b[b4(-0x1f0,-0x23c)]--;b[b4(-0x1e1,-0x1de)][b4(-0x236,-0x278)](b['_rows'][b4(-0x20e,-0x1da)]());b['fixIndices']();return f['offsetHeight'];}[_grX(0x5ce,0x575)](){var a;const b=this,{grid:c}=b,d=b[b5(-0x20b,-0x200)]+b[b5(-0x1b2,-0x1aa)],e=b[b5(-0x25e,-0x2a8)][b5(-0x1a6,-0x13e)](d),f=b[b5(-0x21a,-0x22f)];b[b5(-0x257,-0x28e)](b5(-0x218,-0x25d),{'row':f,'newRecord':e});if(f[b5(-0x1b6,-0x1fb)]===((a=c[b5(-0x231,-0x1e1)])===null||a===void 0x0?void 0x0:a[b5(-0x23b,-0x201)])){c[b5(-0x200,-0x256)]();}f['dataIndex']=d;f[b5(-0x24e,-0x243)](b['bottomRow'][b5(-0x21b,-0x1d6)]);f[b5(-0x26b,-0x24e)](d,e,![]);b[b5(-0x20b,-0x1d8)]++;b[b5(-0x1ad,-0x206)]['push'](b[b5(-0x1ad,-0x196)][b5(-0x246,-0x247)]());function b5(a,b){return _grX(b,a- -0x721);}b[b5(-0x1ed,-0x1dd)]();return f[b5(-0x211,-0x25e)];}[_grX(0x570,0x534)](){function b6(a,b){return _grX(b,a- -0x48);}for(let a=0x0,{rows:b}=this,{length:c}=b;a<c;a++){b[a][b6(0x4e2,0x4b3)]=a;}}}RowManager['featureClass']='';
@@ -210,7 +210,7 @@
210
210
  position : relative;
211
211
  color : var(--b-grid-empty-color);
212
212
  padding : var(--b-grid-empty-padding);
213
- z-index : 20;
213
+ z-index : 10;
214
214
  }
215
215
  }
216
216