@univerjs-pro/engine-pivot 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/lib/cjs/index.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/types/const.d.ts +13 -0
- package/lib/types/field/data-field-manager.d.ts +22 -0
- package/lib/types/field/data-field.d.ts +161 -0
- package/lib/types/field/fields-collection.d.ts +70 -0
- package/lib/types/index.d.ts +11 -0
- package/lib/types/layout/base-layout.d.ts +63 -0
- package/lib/types/layout/compact.d.ts +8 -0
- package/lib/types/layout/outline.d.ts +8 -0
- package/lib/types/layout/pivot-view.d.ts +125 -0
- package/lib/types/layout/tabular.d.ts +41 -0
- package/lib/types/pivot/model.d.ts +198 -0
- package/lib/types/pivot/pivot-table.d.ts +224 -0
- package/lib/types/pivot/table-field.d.ts +131 -0
- package/lib/types/summary/node-tree.d.ts +48 -0
- package/lib/types/summary/pivot-tuple.d.ts +24 -0
- package/lib/types/summary/summary-manager.d.ts +72 -0
- package/lib/types/summary/tuple-group.d.ts +82 -0
- package/lib/types/types/enum.d.ts +624 -0
- package/lib/types/types/index.d.ts +5 -0
- package/lib/types/types/interface.d.ts +187 -0
- package/lib/types/types/json-types.d.ts +184 -0
- package/lib/types/types/layout-type.d.ts +234 -0
- package/lib/types/types/summary-type.d.ts +41 -0
- package/lib/types/util.d.ts +118 -0
- package/lib/umd/index.js +1 -0
- package/package.json +75 -0
package/lib/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x1dde55=_0xe5ff;(function(_0x43acc7,_0x42d892){const _0x465109=_0xe5ff,_0x291e40=_0x43acc7();while(!![]){try{const _0x4cc214=parseInt(_0x465109(0x1ff))/0x1+-parseInt(_0x465109(0x307))/0x2*(parseInt(_0x465109(0x234))/0x3)+parseInt(_0x465109(0x1ba))/0x4*(-parseInt(_0x465109(0x359))/0x5)+parseInt(_0x465109(0x1f0))/0x6+-parseInt(_0x465109(0x1fa))/0x7+-parseInt(_0x465109(0x2ff))/0x8+-parseInt(_0x465109(0x191))/0x9*(-parseInt(_0x465109(0x2e6))/0xa);if(_0x4cc214===_0x42d892)break;else _0x291e40['push'](_0x291e40['shift']());}catch(_0x29b5f9){_0x291e40['push'](_0x291e40['shift']());}}}(_0x5881,0x7bbc9));var lt=Object['defineProperty'],rt=(_0xbb039f,_0x506b10,_0x4dabdf)=>_0x506b10 in _0xbb039f?lt(_0xbb039f,_0x506b10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dabdf}):_0xbb039f[_0x506b10]=_0x4dabdf,r=(_0x14d72f,_0x483cec,_0x40cb5e)=>rt(_0x14d72f,typeof _0x483cec!=_0x1dde55(0x25b)?_0x483cec+'':_0x483cec,_0x40cb5e),y=(_0x3fe744=>(_0x3fe744[_0x3fe744[_0x1dde55(0x16a)]=0x1]=_0x1dde55(0x16a),_0x3fe744[_0x3fe744[_0x1dde55(0x344)]=0x2]=_0x1dde55(0x344),_0x3fe744[_0x3fe744[_0x1dde55(0x2e2)]=0x3]=_0x1dde55(0x2e2),_0x3fe744[_0x3fe744[_0x1dde55(0x231)]=0x4]=_0x1dde55(0x231),_0x3fe744[_0x3fe744[_0x1dde55(0x2ce)]=0x5]=_0x1dde55(0x2ce),_0x3fe744[_0x3fe744[_0x1dde55(0x334)]=0x6]=_0x1dde55(0x334),_0x3fe744[_0x3fe744['stdDev']=0x7]=_0x1dde55(0x2fb),_0x3fe744[_0x3fe744[_0x1dde55(0x180)]=0x8]=_0x1dde55(0x180),_0x3fe744[_0x3fe744[_0x1dde55(0x282)]=0x9]=_0x1dde55(0x282),_0x3fe744[_0x3fe744['var']=0xa]=_0x1dde55(0x24e),_0x3fe744[_0x3fe744[_0x1dde55(0x226)]=0xb]=_0x1dde55(0x226),_0x3fe744))(y||{}),ht=(_0x539760=>(_0x539760[_0x539760[_0x1dde55(0x1ea)]=0x1]='normal',_0x539760[_0x539760[_0x1dde55(0x2d7)]=0x2]=_0x1dde55(0x2d7),_0x539760[_0x539760['percentOfRowTotal']=0x3]=_0x1dde55(0x1f3),_0x539760[_0x539760['percentOfGrandTotal']=0x4]='percentOfGrandTotal',_0x539760[_0x539760[_0x1dde55(0x2a8)]=0x5]=_0x1dde55(0x2a8),_0x539760[_0x539760['percentOfParentRowTotal']=0x6]=_0x1dde55(0x31f),_0x539760[_0x539760[_0x1dde55(0x311)]=0x7]=_0x1dde55(0x311),_0x539760[_0x539760[_0x1dde55(0x265)]=0x8]=_0x1dde55(0x265),_0x539760[_0x539760['differenceFrom']=0x9]='differenceFrom',_0x539760[_0x539760[_0x1dde55(0x267)]=0xa]=_0x1dde55(0x267),_0x539760[_0x539760[_0x1dde55(0x2ae)]=0xb]=_0x1dde55(0x2ae),_0x539760[_0x539760[_0x1dde55(0x2b9)]=0xc]=_0x1dde55(0x2b9),_0x539760[_0x539760['percentOf']=0xd]=_0x1dde55(0x362),_0x539760[_0x539760[_0x1dde55(0x179)]=0xe]=_0x1dde55(0x179),_0x539760))(ht||{}),B=(_0x52e618=>(_0x52e618[_0x52e618[_0x1dde55(0x2d1)]=0x1]=_0x1dde55(0x2d1),_0x52e618[_0x52e618['NotNumber']=0x2]=_0x1dde55(0x323),_0x52e618[_0x52e618[_0x1dde55(0x2a1)]=0x3]='NotFunction',_0x52e618[_0x52e618[_0x1dde55(0x26c)]=0x4]=_0x1dde55(0x26c),_0x52e618[_0x52e618['BadReference']=0x5]='BadReference',_0x52e618))(B||{}),$=(_0x4d5261=>(_0x4d5261[_0x4d5261[_0x1dde55(0x35f)]=0x1]=_0x1dde55(0x35f),_0x4d5261[_0x4d5261[_0x1dde55(0x285)]=0x2]='ValueFilter',_0x4d5261[_0x4d5261['ManualFilter']=0x3]=_0x1dde55(0x31a),_0x4d5261))($||{}),D=(_0x5a2844=>(_0x5a2844[_0x5a2844[_0x1dde55(0x1cf)]=0x1]=_0x1dde55(0x1cf),_0x5a2844[_0x5a2844[_0x1dde55(0x1cb)]=0x2]=_0x1dde55(0x1cb),_0x5a2844[_0x5a2844['Value']=0x3]='Value',_0x5a2844[_0x5a2844[_0x1dde55(0x257)]=0x4]=_0x1dde55(0x257),_0x5a2844[_0x5a2844[_0x1dde55(0x33b)]=0x5]='Hidden',_0x5a2844))(D||{}),O=(_0x3c4365=>(_0x3c4365[_0x3c4365['None']=-0x1]=_0x1dde55(0x335),_0x3c4365[_0x3c4365['Column']=0x1]=_0x1dde55(0x1cf),_0x3c4365[_0x3c4365['Row']=0x2]=_0x1dde55(0x1cb),_0x3c4365))(O||{}),x=(_0x441d6c=>(_0x441d6c[_0x441d6c[_0x1dde55(0x201)]=0x1]='text',_0x441d6c[_0x441d6c[_0x1dde55(0x343)]=0x2]=_0x1dde55(0x343),_0x441d6c[_0x441d6c['boolean']=0x3]=_0x1dde55(0x18b),_0x441d6c[_0x441d6c[_0x1dde55(0x1e7)]=0x4]=_0x1dde55(0x1e7),_0x441d6c[_0x441d6c[_0x1dde55(0x1ca)]=0x5]=_0x1dde55(0x1ca),_0x441d6c))(x||{}),dt=(_0x3c4c5a=>(_0x3c4c5a[_0x3c4c5a['value']=0x1]=_0x1dde55(0x250),_0x3c4c5a[_0x3c4c5a[_0x1dde55(0x33a)]=0x2]=_0x1dde55(0x33a),_0x3c4c5a))(dt||{}),z=(_0x293c2c=>(_0x293c2c[_0x293c2c[_0x1dde55(0x1c6)]=0x1]=_0x1dde55(0x1c6),_0x293c2c[_0x293c2c[_0x1dde55(0x1d8)]=0x2]=_0x1dde55(0x1d8),_0x293c2c))(z||{}),ut=(_0x586408=>(_0x586408[_0x586408[_0x1dde55(0x2ac)]=0x1]='captionBeginsWith',_0x586408[_0x586408[_0x1dde55(0x2d9)]=0x2]=_0x1dde55(0x2d9),_0x586408[_0x586408['captionContains']=0x3]=_0x1dde55(0x18f),_0x586408[_0x586408[_0x1dde55(0x215)]=0x4]=_0x1dde55(0x215),_0x586408[_0x586408[_0x1dde55(0x1a8)]=0x5]=_0x1dde55(0x1a8),_0x586408[_0x586408[_0x1dde55(0x303)]=0x6]=_0x1dde55(0x303),_0x586408[_0x586408['captionGreaterThanOrEqual']=0x7]=_0x1dde55(0x1e0),_0x586408[_0x586408[_0x1dde55(0x24b)]=0x8]=_0x1dde55(0x24b),_0x586408[_0x586408[_0x1dde55(0x189)]=0x9]=_0x1dde55(0x189),_0x586408[_0x586408[_0x1dde55(0x2e1)]=0xa]=_0x1dde55(0x2e1),_0x586408[_0x586408[_0x1dde55(0x258)]=0xb]=_0x1dde55(0x258),_0x586408[_0x586408[_0x1dde55(0x1c7)]=0xc]=_0x1dde55(0x1c7),_0x586408[_0x586408[_0x1dde55(0x21d)]=0xd]=_0x1dde55(0x21d),_0x586408[_0x586408[_0x1dde55(0x203)]=0xe]=_0x1dde55(0x203),_0x586408[_0x586408[_0x1dde55(0x344)]=0xf]=_0x1dde55(0x344),_0x586408[_0x586408[_0x1dde55(0x188)]=0x10]=_0x1dde55(0x188),_0x586408[_0x586408[_0x1dde55(0x327)]=0x11]=_0x1dde55(0x327),_0x586408[_0x586408['dateNewerThan']=0x12]='dateNewerThan',_0x586408[_0x586408[_0x1dde55(0x2f3)]=0x13]='dateNewerThanOrEqual',_0x586408[_0x586408[_0x1dde55(0x273)]=0x14]='dateNotBetween',_0x586408[_0x586408[_0x1dde55(0x28d)]=0x15]='dateNotEqual',_0x586408[_0x586408[_0x1dde55(0x2f2)]=0x16]=_0x1dde55(0x2f2),_0x586408[_0x586408[_0x1dde55(0x22d)]=0x17]=_0x1dde55(0x22d),_0x586408[_0x586408[_0x1dde55(0x264)]=0x18]='lastMonth',_0x586408[_0x586408[_0x1dde55(0x291)]=0x19]=_0x1dde55(0x291),_0x586408[_0x586408[_0x1dde55(0x1af)]=0x1a]=_0x1dde55(0x1af),_0x586408[_0x586408[_0x1dde55(0x2c5)]=0x1b]=_0x1dde55(0x2c5),_0x586408[_0x586408['M1']=0x1c]='M1',_0x586408[_0x586408[_0x1dde55(0x326)]=0x1d]=_0x1dde55(0x326),_0x586408[_0x586408['M11']=0x1e]=_0x1dde55(0x252),_0x586408[_0x586408[_0x1dde55(0x196)]=0x1f]=_0x1dde55(0x196),_0x586408[_0x586408['M2']=0x20]='M2',_0x586408[_0x586408['M3']=0x21]='M3',_0x586408[_0x586408['M4']=0x22]='M4',_0x586408[_0x586408['M5']=0x23]='M5',_0x586408[_0x586408['M6']=0x24]='M6',_0x586408[_0x586408['M7']=0x25]='M7',_0x586408[_0x586408['M8']=0x26]='M8',_0x586408[_0x586408['M9']=0x27]='M9',_0x586408[_0x586408[_0x1dde55(0x2c7)]=0x28]=_0x1dde55(0x2c7),_0x586408[_0x586408[_0x1dde55(0x34e)]=0x29]=_0x1dde55(0x34e),_0x586408[_0x586408[_0x1dde55(0x2e9)]=0x2a]=_0x1dde55(0x2e9),_0x586408[_0x586408[_0x1dde55(0x17f)]=0x2b]=_0x1dde55(0x17f),_0x586408[_0x586408[_0x1dde55(0x348)]=0x2c]=_0x1dde55(0x348),_0x586408[_0x586408['Q1']=0x2d]='Q1',_0x586408[_0x586408['Q2']=0x2e]='Q2',_0x586408[_0x586408['Q3']=0x2f]='Q3',_0x586408[_0x586408['Q4']=0x30]='Q4',_0x586408[_0x586408[_0x1dde55(0x282)]=0x31]=_0x1dde55(0x282),_0x586408[_0x586408['thisMonth']=0x32]=_0x1dde55(0x18e),_0x586408[_0x586408['thisQuarter']=0x33]=_0x1dde55(0x296),_0x586408[_0x586408['thisWeek']=0x34]=_0x1dde55(0x167),_0x586408[_0x586408[_0x1dde55(0x32d)]=0x35]='thisYear',_0x586408[_0x586408[_0x1dde55(0x293)]=0x36]=_0x1dde55(0x293),_0x586408[_0x586408['tomorrow']=0x37]=_0x1dde55(0x20f),_0x586408[_0x586408[_0x1dde55(0x186)]=0x38]='unknown',_0x586408[_0x586408[_0x1dde55(0x332)]=0x39]=_0x1dde55(0x332),_0x586408[_0x586408['valueEqual']=0x3a]=_0x1dde55(0x1eb),_0x586408[_0x586408[_0x1dde55(0x2c0)]=0x3b]=_0x1dde55(0x2c0),_0x586408[_0x586408[_0x1dde55(0x1a7)]=0x3c]=_0x1dde55(0x1a7),_0x586408[_0x586408[_0x1dde55(0x318)]=0x3d]=_0x1dde55(0x318),_0x586408[_0x586408[_0x1dde55(0x2c8)]=0x3e]=_0x1dde55(0x2c8),_0x586408[_0x586408[_0x1dde55(0x35c)]=0x3f]='valueNotBetween',_0x586408[_0x586408[_0x1dde55(0x1fd)]=0x40]=_0x1dde55(0x1fd),_0x586408[_0x586408[_0x1dde55(0x19d)]=0x41]=_0x1dde55(0x19d),_0x586408[_0x586408[_0x1dde55(0x325)]=0x42]=_0x1dde55(0x325),_0x586408))(ut||{}),tt=(_0x271d07=>(_0x271d07[_0x271d07[_0x1dde55(0x34d)]=0x1]=_0x1dde55(0x34d),_0x271d07[_0x271d07['outline']=0x2]=_0x1dde55(0x30e),_0x271d07[_0x271d07[_0x1dde55(0x35a)]=0x3]='tabular',_0x271d07))(tt||{}),V=(_0x16e3f9=>(_0x16e3f9[_0x16e3f9['AddField']=0x0]=_0x1dde55(0x1a1),_0x16e3f9[_0x16e3f9[_0x1dde55(0x216)]=0x1]=_0x1dde55(0x216),_0x16e3f9[_0x16e3f9['RemoveField']=0x2]='RemoveField',_0x16e3f9[_0x16e3f9['RenameField']=0x3]='RenameField',_0x16e3f9[_0x16e3f9[_0x1dde55(0x28e)]=0x4]=_0x1dde55(0x28e),_0x16e3f9[_0x16e3f9['SetSortInfo']=0x5]=_0x1dde55(0x192),_0x16e3f9[_0x16e3f9['UpdateFieldPosition']=0x6]=_0x1dde55(0x17d),_0x16e3f9[_0x16e3f9[_0x1dde55(0x22c)]=0x7]=_0x1dde55(0x22c),_0x16e3f9[_0x16e3f9['SetOptions']=0x8]=_0x1dde55(0x342),_0x16e3f9[_0x16e3f9[_0x1dde55(0x337)]=0x9]='SetFieldFormat',_0x16e3f9[_0x16e3f9[_0x1dde55(0x352)]=0xa]='SetCollapse',_0x16e3f9[_0x16e3f9[_0x1dde55(0x29f)]=0xb]='UpdateSource',_0x16e3f9))(V||{}),et=(_0x1e739e=>(_0x1e739e[_0x1e739e[_0x1dde55(0x1ca)]=0x2]='blank',_0x1e739e[_0x1e739e[_0x1dde55(0x1e7)]=0x4]='date',_0x1e739e))(et||{}),b=(_0x1e85fb=>(_0x1e85fb[_0x1e85fb[_0x1dde55(0x26a)]=0x1]='FilterAll',_0x1e85fb[_0x1e85fb[_0x1dde55(0x1ae)]=0x2]='FilterPartial',_0x1e85fb[_0x1e85fb[_0x1dde55(0x2cd)]=0x3]=_0x1dde55(0x2cd),_0x1e85fb[_0x1e85fb['BlankValue']=0x4]=_0x1dde55(0x2e7),_0x1e85fb[_0x1e85fb[_0x1dde55(0x2a9)]=0x5]=_0x1dde55(0x2a9),_0x1e85fb[_0x1e85fb['FilteredSortAsc']=0x6]=_0x1dde55(0x173),_0x1e85fb[_0x1e85fb[_0x1dde55(0x213)]=0x7]=_0x1dde55(0x213),_0x1e85fb[_0x1e85fb[_0x1dde55(0x178)]=0x8]='FilterNoneSortNone',_0x1e85fb[_0x1e85fb['FilterNoneSortAsc']=0x9]=_0x1dde55(0x23e),_0x1e85fb[_0x1e85fb['FilterNoneSortDesc']=0xa]=_0x1dde55(0x300),_0x1e85fb[_0x1e85fb[_0x1dde55(0x2a3)]=0xb]=_0x1dde55(0x2a3),_0x1e85fb[_0x1e85fb[_0x1dde55(0x27c)]=0xc]=_0x1dde55(0x27c),_0x1e85fb[_0x1e85fb[_0x1dde55(0x29b)]=0xd]=_0x1dde55(0x29b),_0x1e85fb[_0x1e85fb[_0x1dde55(0x2bf)]=0xe]='GrandTotal',_0x1e85fb[_0x1e85fb['MultipleGrandTotal']=0xf]=_0x1dde55(0x204),_0x1e85fb))(b||{});const _={'TUPLE_PLACEHOLDER':_0x1dde55(0x244),'TUPLE_FIELD_SEPARATOR':'-%$%-','COl_ROOT_PATH':_0x1dde55(0x1b4),'ROW_ROOT_PATH':_0x1dde55(0x25f),'BLANK_PLACEHOLDER':_0x1dde55(0x190)};function ct(_0x4459b8){return typeof _0x4459b8=='number';}class A{constructor(){const _0x4f6afc=_0x1dde55;r(this,_0x4f6afc(0x1d3),0x0),r(this,_0x4f6afc(0x2b7),0x0),r(this,_0x4f6afc(0x2ef),0x0),r(this,_0x4f6afc(0x260),0x1),r(this,_0x4f6afc(0x1ab),Number[_0x4f6afc(0x198)]),r(this,_0x4f6afc(0x31d),Number['NEGATIVE_INFINITY']),r(this,_0x4f6afc(0x1e2),0x0);}[_0x1dde55(0x30a)](){const _0x3a65b7=_0x1dde55;return{'sum':this[_0x3a65b7(0x1d3)],'count':this['_count'],'countN':this[_0x3a65b7(0x2ef)],'product':this[_0x3a65b7(0x260)],'min':this[_0x3a65b7(0x1ab)],'max':this[_0x3a65b7(0x31d)],'squareSum':this[_0x3a65b7(0x1e2)]};}['reset'](){const _0x430cd5=_0x1dde55;this[_0x430cd5(0x1d3)]=0x0,this[_0x430cd5(0x2b7)]=0x0,this[_0x430cd5(0x2ef)]=0x0,this['_product']=0x1,this[_0x430cd5(0x1ab)]=Number[_0x430cd5(0x198)],this['_max']=Number[_0x430cd5(0x218)],this[_0x430cd5(0x1e2)]=0x0;}[_0x1dde55(0x263)](_0x58268c){const _0x20da74=_0x1dde55;ct(_0x58268c)&&(this[_0x20da74(0x1d3)]+=_0x58268c,this[_0x20da74(0x2ef)]+=0x1,this[_0x20da74(0x260)]*=_0x58268c,this['_min']=Math[_0x20da74(0x2ce)](this['_min'],_0x58268c),this[_0x20da74(0x31d)]=Math[_0x20da74(0x231)](this['_max'],_0x58268c),this[_0x20da74(0x1e2)]+=_0x58268c*_0x58268c),this['_count']+=0x1;}[_0x1dde55(0x16e)](_0x237ce0){const _0x25c902=_0x1dde55;for(const _0x282cb4 of _0x237ce0)this[_0x25c902(0x1d3)]+=_0x282cb4['_sum'],this['_count']+=_0x282cb4[_0x25c902(0x2b7)],this['_countN']+=_0x282cb4['_countN'],this['_product']*=_0x282cb4[_0x25c902(0x260)],this[_0x25c902(0x1ab)]=Math['min'](this[_0x25c902(0x1ab)],_0x282cb4[_0x25c902(0x1ab)]),this['_max']=Math['max'](this[_0x25c902(0x31d)],_0x282cb4[_0x25c902(0x31d)]),this[_0x25c902(0x1e2)]+=_0x282cb4[_0x25c902(0x1e2)];}[_0x1dde55(0x2b5)](_0x48f01a){const _0x32cf10=_0x1dde55;this[_0x32cf10(0x1d3)]+=_0x48f01a[_0x32cf10(0x282)],this['_count']+=_0x48f01a[_0x32cf10(0x344)],this[_0x32cf10(0x2ef)]+=_0x48f01a[_0x32cf10(0x2fa)],this[_0x32cf10(0x260)]*=_0x48f01a[_0x32cf10(0x334)],this['_min']=Math[_0x32cf10(0x2ce)](this[_0x32cf10(0x1ab)],_0x48f01a[_0x32cf10(0x2ce)]),this[_0x32cf10(0x31d)]=Math['max'](this['_max'],_0x48f01a[_0x32cf10(0x231)]),this[_0x32cf10(0x1e2)]+=_0x48f01a[_0x32cf10(0x1d2)];}[_0x1dde55(0x2c9)](_0x4aebaa){const _0x406c3d=_0x1dde55;switch(_0x4aebaa){case y[_0x406c3d(0x282)]:return this[_0x406c3d(0x1d3)];case y[_0x406c3d(0x344)]:return this[_0x406c3d(0x2b7)];case y[_0x406c3d(0x2e2)]:return this[_0x406c3d(0x2ef)];case y[_0x406c3d(0x334)]:return Number[_0x406c3d(0x1be)](this[_0x406c3d(0x260)])?this['_product']:{'errorType':B['NotNumber']};case y[_0x406c3d(0x2ce)]:return this[_0x406c3d(0x2ef)]>0x0?this[_0x406c3d(0x1ab)]:0x0;case y[_0x406c3d(0x231)]:return this[_0x406c3d(0x2ef)]>0x0?this['_max']:0x0;case y[_0x406c3d(0x16a)]:return this[_0x406c3d(0x2b7)]>0x0?this[_0x406c3d(0x1d3)]/this['_count']:{'errorType':B[_0x406c3d(0x2d1)]};case y[_0x406c3d(0x2fb)]:return this[_0x406c3d(0x2b7)]>0x0?Math[_0x406c3d(0x197)](Math[_0x406c3d(0x231)](0x0,(this['_count']*this[_0x406c3d(0x1e2)]-this[_0x406c3d(0x1d3)]*this[_0x406c3d(0x1d3)])/(this[_0x406c3d(0x2b7)]*(this['_count']-0x1)))):{'errorType':B[_0x406c3d(0x2d1)]};case y['stdDevp']:return this[_0x406c3d(0x2b7)]>0x0?Math[_0x406c3d(0x197)](Math[_0x406c3d(0x231)](0x0,(this[_0x406c3d(0x2b7)]*this[_0x406c3d(0x1e2)]-this['_sum']*this['_sum'])/(this[_0x406c3d(0x2b7)]*this[_0x406c3d(0x2b7)]))):{'errorType':B[_0x406c3d(0x2d1)]};case y['var']:return this['_count']>0x0?Math['max'](0x0,(this['_count']*this[_0x406c3d(0x1e2)]-this[_0x406c3d(0x1d3)]*this[_0x406c3d(0x1d3)])/(this[_0x406c3d(0x2b7)]*(this[_0x406c3d(0x2b7)]-0x1))):{'errorType':B[_0x406c3d(0x2d1)]};case y['varp']:return this['_count']>0x0?Math['max'](0x0,(this[_0x406c3d(0x2b7)]*this[_0x406c3d(0x1e2)]-this[_0x406c3d(0x1d3)]*this[_0x406c3d(0x1d3)])/(this[_0x406c3d(0x2b7)]*this[_0x406c3d(0x2b7)])):{'errorType':B['Div0']};}}}function Y(_0x5aec17){return _0x5aec17?_0x5aec17['v']!==void 0x0:!0x1;}function v(_0x5d5a8c){return _0x5d5a8c==null||_0x5d5a8c==='';}function k(_0x24bb18){const _0x1711aa=_0x1dde55;return _0x24bb18===D[_0x1711aa(0x1cb)]||_0x24bb18===D[_0x1711aa(0x1cf)]||_0x24bb18===D[_0x1711aa(0x257)]||_0x24bb18===D['Hidden'];}function st(_0x500ff9,_0x3929f9){const _0x3c20ec=_0x1dde55;let _0x488e13='';switch(_0x3929f9){case y[_0x3c20ec(0x16a)]:_0x488e13=_0x3c20ec(0x331)+_0x500ff9;break;case y[_0x3c20ec(0x344)]:_0x488e13='Count\x20of\x20'+_0x500ff9;break;case y['countNums']:_0x488e13=_0x3c20ec(0x25d)+_0x500ff9;break;case y['max']:_0x488e13='Max\x20of\x20'+_0x500ff9;break;case y[_0x3c20ec(0x2ce)]:_0x488e13='Min\x20of\x20'+_0x500ff9;break;case y['product']:_0x488e13='Product\x20of\x20'+_0x500ff9;break;case y[_0x3c20ec(0x2fb)]:_0x488e13=_0x3c20ec(0x2f5)+_0x500ff9;break;case y[_0x3c20ec(0x180)]:_0x488e13='Population\x20Standard\x20Deviation\x20of\x20'+_0x500ff9;break;case y[_0x3c20ec(0x282)]:_0x488e13=_0x3c20ec(0x1f8)+_0x500ff9;break;case y[_0x3c20ec(0x24e)]:_0x488e13=_0x3c20ec(0x199)+_0x500ff9;break;case y['varp']:_0x488e13=_0x3c20ec(0x30c)+_0x500ff9;break;default:_0x488e13=_0x500ff9;break;}return _0x488e13;}function ft(_0x402cad,_0x340837,_0x519bb8){const _0x2fc05d=_0x1dde55;var _0x3a30c7;const _0x2bb3d4=typeof _0x402cad[_0x340837]==_0x2fc05d(0x18b);return _0x519bb8!==void 0x0?_0x2bb3d4?_0x402cad[_0x340837]:(_0x3a30c7=_0x402cad[_0x340837])==null?void 0x0:_0x3a30c7[_0x519bb8]:_0x2bb3d4?_0x402cad[_0x340837]:!0x1;}function _0x5881(){const _0xb3ece3=['getCellValue','getCell','options','hasDate','setPageIndex','reduce','push','updateDataFieldsCollection','varp','calculateSubtotal','maxNumber','createCollection','getRowIndexForColHeader','_viewVersion','UpdateValuePosition','dateOlderThanOrEqual','ranges','setPaths','pageOverThenDown','max','rowDimOrder','getUniqueValueFieldName','964323SheClT','RenameField','_bufferModel','summary','setFilterInfo','localeCompare','itemTypes','toJSON','_heap','pageWrap','FilterNoneSortAsc','buildColPathMapForCollapse','dimensionSortInfo','dimensionMap','buildNodeTree','getDataFieldBySourceName','-&&-','addField','ensureTupleItemByString','shouldMultipleNode','_bubbleUp','setSubtotalType','Value','captionLessThan','random','getPathKeyWithFiledId','var','sortNode','value','getIndex','M11','updateFieldPosition','pop','setValueSize','TUPLE_FIELD_SEPARATOR','Filter','captionNotBetween','addRange','subtotal','symbol','lastCol','Count\x20of\x20','setValue','-$-rr-$-','_product','layoutPage','updateValuePosition','addValue','lastMonth','index','cornerView','percentDifferenceFrom','measure','setLeaf','FilterAll','layoutColFields','NotName','_nodes','cloneBufferModel','_fieldDataType','_tupleGroupCache','updateRowSubtotal','dimension','dateNotBetween','getSortInfo','buildColPathMap','toUpperCase','getId','name','hasText','getUniqueFieldId','getStyle','Expand','setRangeKey','object','layoutValueNode','dataFieldId','shouldMultipleTotal','sum','setDataFieldId','errorType','ValueFilter','_getModel','doRowBrachNode','rowView','filter','_bubbleDown','getFilterFieldIdByIndex','layoutCol','dateNotEqual','SetFilterInfo','createDataFieldId','getDirty','lastQuarter','valueIndex','today','iterateColLeafNodeChildren','doSummary','thisQuarter','hasSourceName','getTypeByKey','getFieldsAreaByType','sourceName','Subtotal','layoutPageOverThenDown','getFormat','getNodeValue','UpdateSource','getTableFieldById','NotFunction','collapseInfo','Collapse','rangeKey','createTuple','getFilterInfo','layoutNoneColFields','percentOfParentColumnTotal','FilteredSortNone','assign','valueQueryInfo','captionBeginsWith','getCollapse','runningTotal','isRowMultiMeasure','leafCount','getItemSharedKey','getAutoDisplayNameFunction','range','setParentIndex','unionTupleInfo','getValueFields','_count','tuples','percentRunningTotal','createSummaryLabelSortedMap','bottomTotalSize','filterInfo','_itemIndexMap','isAll','GrandTotal','valueGreaterThan','fieldIds','columnFields','getFieldInfo','ROW_ROOT_PATH','lastYear','colQueryInfo','nextMonth','valueLessThanOrEqual','getSubtotal','filterQueryInfo','setDirty','getDataRecordCount','FilterSingle','min','getOptions','getValueIndex','Div0','setStyle','setLevel','\x20-\x20','addFieldWithSourceId','info','percentOfColumnTotal','layoutValueLeafNode','captionBetween','getUniqueDataFieldName','size','subTotal','hiddenFields','hexCode','list','calculateListSubtotal','captionNotBeginsWith','countNums','_buildNodeTreeImp','getLevel','renameField','23620FDUaJG','BlankValue','lossLessProperty','nextWeek','TUPLE_PLACEHOLDER','\x20is\x20not\x20in\x20the\x20pivot\x20table.','setDataRecordCount','dataFieldsCollection','compare','_countN','dataRecordCount','headerMap','dateOlderThan','dateNewerThanOrEqual','_isDirty','Standard\x20Deviation\x20of\x20','hasSort','removeField','toString','iterateField','countN','stdDev','setRange','getIndexesByKey','dataView','800808nZxIOi','FilterNoneSortDesc','iterateFieldDim','_updateStringItemKey','captionGreaterThan','setDisplayName','hasDecimal','createOrUpdateTuple','6CRTOTR','_updateItemKey','formJSON','getInfo','fieldId','Population\x20Variance\x20of\x20','doColBranchNode','outline','getValue','getRanges','percentOfParentGrandTotal','items','splice','_model','layoutColHeader','length','tuple','valueLessThan','hasNode','ManualFilter','dataFields','colDimOrder','_max','_changeStack','percentOfParentRowTotal','layoutValueNodeSubtotal','setName','getFieldsId','NotNumber','isExistField','yesterday','M10','dateEqual','createValueFieldByDataFieldId','collections','prefix','format','fields','thisYear','colNodeTree','has','setSubtotal','Average\x20of\x20','valueBetween','setRowCount','product','None','getNode','SetFieldFormat','getFieldDataType','map','field','Hidden','addCollection','getNeedQuery','ensureTupleItem','fromJSON','minNumber','layoutCorner','SetOptions','number','count','getDataFieldId','colDeep','_updateDateItemKey','percent','isExistFieldName','isColMultiMeasure','values','getMeasureIndex','compact','nextQuarter','addHeaderMapItem','pageView','rowDeep','SetCollapse','getName','_colLevelPool','sort','valuePosition','getFieldPositionInfoById','getHeaderMapItem','5oBWHfE','tabular','updateFieldSourceInfo','valueNotBetween','The\x20displayName\x20','endChangeStack','CustomFilter','layoutRowNode','rowNodeTree','percentOf','host','measuresMap','dimensionTableIdList','thisWeek','rowTableIdList','queryData','average','data','rowFields','setFieldFormat','unionTuples','\x20Σ值','types','layoutPageDownThenOver','updateColumnSubtotal','FilteredSortAsc','The\x20field\x20','combinePathMapList','formatMap','colMap','FilterNoneSortNone','percentOfParent','collapse','query','sortMap','UpdateFieldPosition','getDataFieldItemInfo','nextYear','stdDevp','getIsLeaf','_level','displayName','valueFields','colTableIdList','unknown','indexOf','dateBetween','captionLessThanOrEqual','warn','boolean','NaN','customFields','thisMonth','captionContains','-$-blk-$-','4878dfsvsO','SetSortInfo','_updateBlankItemKey','isLeaf','getSourceName','M12','sqrt','POSITIVE_INFINITY','Variance\x20of\x20','buildPathMap','colCount','displayNameRecord','yearToDate','join','sortedList','level','AddField','layout','setVersion','iterate','add','combinePathMap','valueGreaterThanOrEqual','captionEqual','\x20is\x20exist\x20in\x20the\x20pivot\x20table.','measureCount','_min','setOptions','setFormat','FilterPartial','lastWeek','\x20is\x20already\x20in\x20the\x20pivot\x20table.','getRangeKey','getDisplayName','hasInteger','-$-cr-$-','_calculateSubtotalImp','getVersion','_getTupleCache','log2','showDataAs','3366016zQQEzH','addNode','dimensionIdList','version','isFinite','startContent','getFieldCountByArea','measureIdList','setCollapse','sortInfo','addRecord','concat','ascending','captionNotContains','tupleMap','getFieldIds','blank','Row','records','forEach','_rowLevelPool','Column','layoutColNode','setLastRow','squareSum','_sum','iterateFieldByArea','maxDate','filterFields','createTupleWithoutCheck','descending','doRowLeafNode','BLANK_PLACEHOLDER','minDate','setSortInfo','doColLeafNode','startChangeStack','getSortedMap','captionGreaterThanOrEqual','setLastCol','_squareSum','setInfo','floor','_index','setSourceName','date','lastRow','type','normal','valueEqual','_updateNumberItemKey','createLabelFieldByDataFieldId','getQueryData','getItemKey','1929666HqcDqz','getColIndexForRowHeader','iterateFieldMeasure','percentOfRowTotal','ceil','getRealSize','colView','getItemsMap','Sum\x20of\x20','_itemsMap','357735bbKhjW','some','rowCount','valueNotEqual','error','862043ZutCXd','prepareLayoutCtx','text','getFieldById','captionNotEqual','MultipleGrandTotal','hasField','hasBlank','keys','_getIndex','setColCount','prepare','itemSize','getPaths','colPathMap','setBlank','tomorrow','isEmpty','getShowDataAs','paths','FilteredSortDesc','includes','captionEndsWith','SetSubtotalType','topTotalSize','NEGATIVE_INFINITY','getFieldFormat','isLeafNode','dispose','reset','captionNotEndsWith'];_0x5881=function(){return _0xb3ece3;};return _0x5881();}function Q(_0x5177b3){const _0x27dcc2=_0x1dde55;return _0x5177b3[_0x27dcc2(0x1e9)]===$['ManualFilter'];}function it(_0x2e5493){const _0x5b6302=_0x1dde55;return _0x2e5493[_0x5b6302(0x1e9)]===$[_0x5b6302(0x35f)];}function mt(_0x11da82){const _0x18b25c=_0x1dde55;return _0x11da82[_0x18b25c(0x1e9)]===$['ValueFilter'];}function K(_0x5a52c6){const _0x3a66b7=_0x1dde55;let _0x3b229a='';for(let _0x43c4ee=0x0;_0x43c4ee<_0x5a52c6;_0x43c4ee++){const _0x3e48ed=Math['floor'](Math[_0x3a66b7(0x24c)]()*0x10);_0x3b229a+=_0x3e48ed[_0x3a66b7(0x2f8)](0x10);}return _0x3b229a[_0x3a66b7(0x276)]();}function pt(_0xd9262c,_0xa8643e){const _0x55850e=_0x1dde55;let _0x127bb0=0x0,_0x4643f2=0x0;const _0x23cd3f=[];for(;_0x127bb0<_0xd9262c['length']&&_0x4643f2<_0xa8643e[_0x55850e(0x316)];)_0xd9262c[_0x127bb0]===_0xa8643e[_0x4643f2]?(_0x23cd3f['push'](_0xd9262c[_0x127bb0]),_0x127bb0++,_0x4643f2++):_0xd9262c[_0x127bb0]<_0xa8643e[_0x4643f2]?_0x127bb0++:_0x4643f2++;return _0x23cd3f;}function gt(_0x5dc01d){const _0xd8bba2=_0x1dde55;if(_0x5dc01d['length']===0x0)return[];if(_0x5dc01d[_0xd8bba2(0x316)]===0x1)return _0x5dc01d[0x0];let _0x4f39d1=_0x5dc01d[0x0];for(let _0x4eb8bc=0x1;_0x4eb8bc<_0x5dc01d['length'];_0x4eb8bc++)_0x4f39d1=pt(_0x4f39d1,_0x5dc01d[_0x4eb8bc]);return _0x4f39d1;}function q(_0x46765c,_0x45a0ee,_0x26f970){const _0xb7a9dc=_0x1dde55;_0x46765c[_0xb7a9dc(0x237)]||(_0x46765c[_0xb7a9dc(0x237)]={}),_0x45a0ee&&!_0x45a0ee[_0xb7a9dc(0x237)]&&(_0x45a0ee[_0xb7a9dc(0x237)]={});for(const _0x5137ea in _0x26f970){const _0x586e97=_0x26f970[_0x5137ea][_0xb7a9dc(0x2dc)],_0x38a97b=_0x46765c['tuple'][_0x5137ea],_0x496ce8=_0x38a97b['getInfo'](),{sum:_0x10c354,count:_0x4e4fb0,countN:_0x62fccf,product:_0x5a4c1c,min:_0x43599e,max:_0x4377f7,squareSum:_0x467764}=_0x496ce8;for(const _0x5383da of _0x586e97)_0x496ce8[_0x5383da]=_0x38a97b[_0xb7a9dc(0x2c9)](_0x5383da);_0x46765c['summary'][_0x5137ea]=_0x496ce8,_0x45a0ee&&(_0x45a0ee['tuple'][_0x5137ea]||(_0x45a0ee[_0xb7a9dc(0x317)][_0x5137ea]=new A()),_0x45a0ee[_0xb7a9dc(0x317)][_0x5137ea][_0xb7a9dc(0x2b5)]({'sum':_0x10c354,'count':_0x4e4fb0,'countN':_0x62fccf,'product':_0x5a4c1c,'min':_0x43599e,'max':_0x4377f7,'squareSum':_0x467764}));}}function X(_0xe73d92){const _0xaf37ca=_0x1dde55;let _0x3d2c0c=b[_0xaf37ca(0x26a)],_0x260e60;return _0xe73d92?(Q(_0xe73d92)&&(_0xe73d92[_0xaf37ca(0x2df)][_0xaf37ca(0x316)]===0x1&&(_0x3d2c0c=b[_0xaf37ca(0x2cd)],_0x260e60=_0xe73d92[_0xaf37ca(0x2df)][0x0]),_0xe73d92[_0xaf37ca(0x2be)]===!0x0?_0x3d2c0c=b[_0xaf37ca(0x26a)]:_0x3d2c0c=b[_0xaf37ca(0x1ae)]),{'value':_0x260e60,'status':_0x3d2c0c}):{'status':_0x3d2c0c,'value':_0x260e60};}function ot(_0x3a4e70,_0x5a6ed2){const _0x35a2c8=_0x1dde55;let _0x29de24=!0x1;if(_0x3a4e70&&(Q(_0x3a4e70)&&_0x3a4e70['list']['length']>0x0&&_0x3a4e70[_0x35a2c8(0x2be)]!==!0x0&&(_0x29de24=!0x0),it(_0x3a4e70)&&(_0x29de24=!0x0),mt(_0x3a4e70)&&(_0x29de24=!0x0)),_0x29de24)switch(_0x5a6ed2==null?void 0x0:_0x5a6ed2[_0x35a2c8(0x1e9)]){case z[_0x35a2c8(0x1c6)]:return b[_0x35a2c8(0x173)];case z[_0x35a2c8(0x1d8)]:return b[_0x35a2c8(0x213)];default:return b[_0x35a2c8(0x2a9)];}else switch(_0x5a6ed2==null?void 0x0:_0x5a6ed2[_0x35a2c8(0x1e9)]){case z[_0x35a2c8(0x1c6)]:return b[_0x35a2c8(0x23e)];case z[_0x35a2c8(0x1d8)]:return b[_0x35a2c8(0x300)];default:return b[_0x35a2c8(0x178)];}}function at(_0x111aff,_0x2f7be0,_0x33be9b){const _0x58bdee=_0x1dde55,_0xa1a932=_0x2f7be0||0x0,_0x39f316=_0x111aff[_0x58bdee(0x19e)](',');return _0x33be9b?_0x39f316+'-'+String(_0xa1a932):_0x39f316;}class It{constructor(){const _0x349796=_0x1dde55;r(this,_0x349796(0x23c)),this[_0x349796(0x23c)]=[];}[_0x1dde55(0x224)](_0x20392e){const _0xfe1ee2=_0x1dde55;this[_0xfe1ee2(0x23c)]['push'](_0x20392e),this[_0xfe1ee2(0x248)]();}['pop'](){const _0x7918d4=_0x1dde55;if(this[_0x7918d4(0x2db)]()===0x0)return;const _0x22a486=this[_0x7918d4(0x23c)][0x0],_0x3e552d=this[_0x7918d4(0x23c)][_0x7918d4(0x254)]();return this[_0x7918d4(0x2db)]()>0x0&&_0x3e552d&&(this['_heap'][0x0]=_0x3e552d,this[_0x7918d4(0x28a)]()),_0x22a486;}['size'](){const _0x2f24f5=_0x1dde55;return this['_heap'][_0x2f24f5(0x316)];}['_bubbleUp'](){const _0x4bfe8c=_0x1dde55;let _0x182edf=this[_0x4bfe8c(0x2db)]()-0x1;for(;_0x182edf>0x0;){const _0x124daa=Math['floor']((_0x182edf-0x1)/0x2);if(this[_0x4bfe8c(0x23c)][_0x124daa][0x0]<=this[_0x4bfe8c(0x23c)][_0x182edf][0x0])break;[this[_0x4bfe8c(0x23c)][_0x124daa],this[_0x4bfe8c(0x23c)][_0x182edf]]=[this[_0x4bfe8c(0x23c)][_0x182edf],this[_0x4bfe8c(0x23c)][_0x124daa]],_0x182edf=_0x124daa;}}[_0x1dde55(0x28a)](){const _0x14f070=_0x1dde55;let _0x28a9c8=0x0;const _0x406b82=this[_0x14f070(0x2db)](),_0x3fa82a=this['_heap'][0x0];for(;;){const _0x1fe381=0x2*_0x28a9c8+0x1,_0x37c1ac=0x2*_0x28a9c8+0x2;let _0x3c3d9b,_0x5d964a,_0x17fd60=null;if(_0x1fe381<_0x406b82&&(_0x3c3d9b=this['_heap'][_0x1fe381],_0x3c3d9b[0x0]<_0x3fa82a[0x0]&&(_0x17fd60=_0x1fe381)),_0x37c1ac<_0x406b82&&(_0x5d964a=this[_0x14f070(0x23c)][_0x37c1ac],(_0x17fd60===null&&_0x5d964a[0x0]<_0x3fa82a[0x0]||_0x17fd60!==null&&_0x5d964a[0x0]<_0x3c3d9b[0x0])&&(_0x17fd60=_0x37c1ac)),_0x17fd60===null)break;[this[_0x14f070(0x23c)][_0x28a9c8],this[_0x14f070(0x23c)][_0x17fd60]]=[this[_0x14f070(0x23c)][_0x17fd60],this['_heap'][_0x28a9c8]],_0x28a9c8=_0x17fd60;}}}function Nt(_0x509cba){const _0x1bc7d4=_0x1dde55,_0x517a87=new It(),_0x40cd6b=[];for(let _0xa9cb6a=0x0;_0xa9cb6a<_0x509cba[_0x1bc7d4(0x316)];_0xa9cb6a++)_0x509cba[_0xa9cb6a][_0x1bc7d4(0x316)]>0x0&&_0x517a87['push']([_0x509cba[_0xa9cb6a][0x0],_0xa9cb6a,0x0]);for(;_0x517a87[_0x1bc7d4(0x2db)]()>0x0;){const [_0x2505df,_0x1b310d,_0x17cd83]=_0x517a87['pop']();if(_0x40cd6b[_0x1bc7d4(0x224)](_0x2505df),_0x17cd83+0x1<_0x509cba[_0x1b310d][_0x1bc7d4(0x316)]){const _0x46d2dc=_0x509cba[_0x1b310d][_0x17cd83+0x1];_0x517a87['push']([_0x46d2dc,_0x1b310d,_0x17cd83+0x1]);}}return _0x40cd6b;}function Mt(){const _0x305b04=_0x1dde55;return Intl&&Intl['Collator']?new Intl['Collator'](void 0x0,{'numeric':!0x1})[_0x305b04(0x2ee)]:(_0x140702,_0x55a468)=>_0x140702[_0x305b04(0x239)](_0x55a468);}function wt(_0x5792de,_0x9989c8,_0x195851){const _0x11b241=_0x1dde55,_0x4a87cf=[],_0x20d390=[],_0xab48da=[],_0x42e872=[];for(let _0x488f2a=0x0;_0x488f2a<_0x5792de['length'];_0x488f2a++){const _0x4cf5c4=_0x5792de[_0x488f2a],_0x543a7c=_0x9989c8[_0x488f2a];_0x543a7c===x['number']?_0x4a87cf[_0x11b241(0x224)](_0x4cf5c4):_0x543a7c===x[_0x11b241(0x201)]?_0x20d390[_0x11b241(0x224)](_0x4cf5c4):_0x543a7c===x[_0x11b241(0x1e7)]?_0xab48da[_0x11b241(0x224)](_0x4cf5c4):_0x42e872[_0x11b241(0x224)](_0x4cf5c4);}const _0x115224=Mt();_0x4a87cf[_0x11b241(0x355)]((_0x130dd5,_0x422099)=>Number(_0x130dd5)-Number(_0x422099)),_0x20d390['sort'](_0x115224),_0xab48da['sort']((_0x515ac2,_0x5efe47)=>Number(_0x515ac2)-Number(_0x5efe47)),_0x42e872[_0x11b241(0x355)](_0x115224);const _0xc117e2=[..._0x4a87cf,..._0x20d390,..._0xab48da,..._0x42e872],_0x5651a7={};for(const _0xb8191 of _0xc117e2)_0x5651a7[_0xb8191]=_0x195851[_0xb8191];return _0x5651a7;}class Z{constructor(_0x37757a,_0x363aff,_0x3de3ed){const _0x3fb75c=_0x1dde55;r(this,_0x3fb75c(0x1e5)),r(this,_0x3fb75c(0x182)),r(this,'parentIndex'),r(this,_0x3fb75c(0x212)),r(this,_0x3fb75c(0x194)),r(this,_0x3fb75c(0x278)),r(this,_0x3fb75c(0x30b)),r(this,_0x3fb75c(0x17a)),r(this,'sortedList',[]),r(this,_0x3fb75c(0x2f6),!0x1),r(this,_0x3fb75c(0x1e9)),r(this,_0x3fb75c(0x26d),{}),(this['_index']=_0x37757a,this[_0x3fb75c(0x30b)]=_0x363aff,this[_0x3fb75c(0x1e9)]=_0x3de3ed);}[_0x1dde55(0x2ad)](){const _0x516b6a=_0x1dde55;return this[_0x516b6a(0x17a)];}[_0x1dde55(0x1c2)](_0x540ff3){const _0xde8659=_0x1dde55;this[_0xde8659(0x17a)]=_0x540ff3;}[_0x1dde55(0x322)](){const _0x28f8a4=_0x1dde55;return this[_0x28f8a4(0x30b)];}['iterate'](_0x2e0143){const _0x4e8683=_0x1dde55;if(this[_0x4e8683(0x2f6)])for(const _0x2737c8 of this[_0x4e8683(0x19f)]){const _0x2965f7=this[_0x4e8683(0x26d)][_0x2737c8];_0x2e0143(_0x2965f7);}else Object['keys'](this[_0x4e8683(0x26d)])[_0x4e8683(0x1cd)](_0x41fa71=>{const _0x3d6967=this['_nodes'][_0x41fa71];_0x2e0143(_0x3d6967);});}['getIndex'](){return this['_index'];}[_0x1dde55(0x319)](_0x27ddab){const _0x137423=_0x1dde55;return this[_0x137423(0x26d)][_0x27ddab]!==void 0x0;}[_0x1dde55(0x2b4)](_0x2627df){this['parentIndex']=_0x2627df;}['setLevel'](_0x237d2d){const _0x39513d=_0x1dde55;this[_0x39513d(0x182)]=_0x237d2d;}[_0x1dde55(0x2e4)](){const _0x2f5867=_0x1dde55;return this[_0x2f5867(0x182)];}[_0x1dde55(0x22f)](_0x4a24f4){const _0x19bdda=_0x1dde55;this[_0x19bdda(0x212)]=_0x4a24f4;}['getPaths'](){const _0x1b5184=_0x1dde55;return this[_0x1b5184(0x212)];}[_0x1dde55(0x269)](){const _0x2494e1=_0x1dde55;this[_0x2494e1(0x194)]=!0x0;}['getIsLeaf'](){const _0x5ae5af=_0x1dde55;return!!this[_0x5ae5af(0x194)];}[_0x1dde55(0x321)](_0xc4ee73){const _0x1757b5=_0x1dde55;this[_0x1757b5(0x278)]=_0xc4ee73;}[_0x1dde55(0x1bb)](_0x346e03,_0x549047,_0x257e67,_0x5d0062){const _0x4c5312=_0x1dde55;this['_nodes'][_0x549047]=_0x346e03,_0x346e03[_0x4c5312(0x321)](_0x549047),_0x346e03[_0x4c5312(0x2b4)](this[_0x4c5312(0x1e5)]),_0x346e03[_0x4c5312(0x2d3)](this[_0x4c5312(0x182)]+0x1),_0x346e03['setPaths'](this[_0x4c5312(0x212)]['concat'](_0x549047)),_0x257e67&&(this[_0x4c5312(0x24f)](_0x549047,_0x257e67,_0x5d0062),this[_0x4c5312(0x2f6)]=!0x0);}[_0x1dde55(0x24f)](_0xb41889,_0x3a496f,_0x10d88e){const _0x1c524b=_0x1dde55,_0x3f6439=_0x3a496f[_0xb41889],_0x27cd28=this[_0x1c524b(0x19f)];let _0x4f6a58=0x0,_0x488a28=_0x27cd28[_0x1c524b(0x316)];for(;_0x4f6a58<_0x488a28;){const _0xde193=Math[_0x1c524b(0x1e4)]((_0x4f6a58+_0x488a28)/0x2);(_0x10d88e?_0x3a496f[_0x27cd28[_0xde193]]-_0x3f6439:_0x3f6439-_0x3a496f[_0x27cd28[_0xde193]])<0x0?_0x4f6a58=_0xde193+0x1:_0x488a28=_0xde193;}_0x27cd28['splice'](_0x4f6a58,0x0,_0xb41889);}[_0x1dde55(0x336)](_0x319ccc){const _0x2be660=_0x1dde55;return this[_0x2be660(0x26d)][_0x319ccc];}}class Ft{constructor(_0x2cbf56,_0x1d4e31){const _0x409b1e=_0x1dde55;r(this,'counter'),r(this,_0x409b1e(0x232)),r(this,_0x409b1e(0x31c)),r(this,_0x409b1e(0x168)),r(this,_0x409b1e(0x185)),r(this,_0x409b1e(0x351)),r(this,_0x409b1e(0x346)),r(this,'measureCount'),r(this,_0x409b1e(0x2b0)),r(this,_0x409b1e(0x364),{}),r(this,_0x409b1e(0x2b8),[]),r(this,_0x409b1e(0x1c8),{}),r(this,_0x409b1e(0x1bc),[]),r(this,_0x409b1e(0x166),[]),r(this,_0x409b1e(0x1c1),[]),r(this,_0x409b1e(0x1ce),{}),r(this,_0x409b1e(0x354),{}),r(this,_0x409b1e(0x361)),r(this,_0x409b1e(0x32e)),r(this,_0x409b1e(0x241),{}),r(this,'combinePathMap',{}),r(this,'collapseInfo'),r(this,_0x409b1e(0x240),{}),this['tuples']=_0x1d4e31[_0x409b1e(0x2b8)][_0x409b1e(0x1c5)]();const {rowDeep:_0x5e6bfb,colDeep:_0x1ff243,tuples:_0x5484c1,dimensionMap:_0x38e943,dimensionTableIdList:_0x8e31cc,tupleMap:_0x550135,dimensionIdList:_0x39d5ad,measuresMap:_0x2f21d9,measureIdList:_0x5b6e77}=_0x1d4e31;this[_0x409b1e(0x166)]=_0x8e31cc,this['counter']=_0x5484c1[_0x409b1e(0x316)],this['leafCount']=_0x5484c1[_0x409b1e(0x316)],this[_0x409b1e(0x2a2)]=_0x2cbf56['collapseInfo'],this['tupleMap']={..._0x550135},this[_0x409b1e(0x364)]={..._0x2f21d9},this[_0x409b1e(0x1c1)]=_0x5b6e77,this['dimensionIdList']=_0x39d5ad,this['dimensionMap']=_0x38e943;const _0x1ff460=[],_0x17c655=[];for(let _0x15727f=0x0;_0x15727f<_0x5e6bfb;_0x15727f++)_0x1ff460['push'](_0x15727f),_0x17c655[_0x409b1e(0x224)](this[_0x409b1e(0x166)][_0x15727f]);const _0x51e686=[],_0x8cd910=[];for(let _0x93217b=0x0;_0x93217b<_0x1ff243;_0x93217b++)_0x51e686[_0x409b1e(0x224)](_0x93217b+_0x5e6bfb),_0x8cd910[_0x409b1e(0x224)](this[_0x409b1e(0x166)][_0x93217b+_0x5e6bfb]);this[_0x409b1e(0x232)]=_0x1ff460[_0x409b1e(0x1c5)](_0x51e686),this['colDimOrder']=_0x51e686['concat'](_0x1ff460),this[_0x409b1e(0x168)]=_0x17c655['concat'](_0x8cd910),this[_0x409b1e(0x185)]=_0x8cd910[_0x409b1e(0x1c5)](_0x17c655),this['rowDeep']=_0x5e6bfb,this[_0x409b1e(0x346)]=_0x1ff243,this[_0x409b1e(0x1aa)]=this['measureIdList'][_0x409b1e(0x316)],this['createSummaryLabelSortedMap'](_0x2cbf56);}[_0x1dde55(0x2ba)](_0x37f7d9){const _0xb8253e=_0x1dde55,{rowQueryInfo:_0x3c4a92,colQueryInfo:_0xfc9857}=_0x37f7d9;for(const _0x40fa35 of[..._0x3c4a92,..._0xfc9857])if(_0x40fa35[_0xb8253e(0x1c3)]){const _0x35d6f0=_0x40fa35['id'],_0x3cf689=this[_0xb8253e(0x1df)](_0x35d6f0,this['dimensionMap'][_0x40fa35['dataFieldId']][_0xb8253e(0x33a)]);this['dimensionSortInfo'][_0x35d6f0]={'type':_0x40fa35[_0xb8253e(0x1c3)][_0xb8253e(0x1e9)],'sortMap':_0x3cf689};}}[_0x1dde55(0x21e)](_0x529056,_0x4284ff,_0x197a8d){const _0x25cf61=_0x1dde55,_0x2d086b=this[_0x25cf61(0x2b8)][_0x529056];if(_0x2d086b&&_0x2d086b[_0x25cf61(0x237)])return _0x2d086b[_0x25cf61(0x237)][_0x4284ff][_0x197a8d];}['getSortedMap'](_0x21d308,_0x4e107a){const _0x2805a3=_0x1dde55,_0x46fe7b=this['dimensionSortInfo'][_0x21d308];if(_0x46fe7b&&_0x46fe7b[_0x2805a3(0x17c)])return _0x46fe7b['sortMap'];const _0x6e1692=_0x4e107a[_0x2805a3(0x312)],_0xc98982=_0x4e107a[_0x2805a3(0x23a)],_0x23b222=_0x4e107a[_0x2805a3(0x1f7)]();return wt(_0x6e1692,_0xc98982,_0x23b222);}[_0x1dde55(0x295)](){const _0x24fd44=_0x1dde55;this[_0x24fd44(0x242)](),this[_0x24fd44(0x227)]();}[_0x1dde55(0x208)](){return this['counter']++;}[_0x1dde55(0x242)](){const _0x22b0dd=_0x1dde55;this[_0x22b0dd(0x361)]=this[_0x22b0dd(0x2e3)](this[_0x22b0dd(0x232)],this[_0x22b0dd(0x168)],this[_0x22b0dd(0x1ce)],_[_0x22b0dd(0x2c4)]),this[_0x22b0dd(0x351)]===0x0||this[_0x22b0dd(0x346)]===0x0?this[_0x22b0dd(0x32e)]=this['rowNodeTree']:this[_0x22b0dd(0x32e)]=this[_0x22b0dd(0x2e3)](this[_0x22b0dd(0x31c)],this[_0x22b0dd(0x185)],this[_0x22b0dd(0x354)],_['COl_ROOT_PATH']);}[_0x1dde55(0x1d7)](_0x28b7f8,_0x2cabe0,_0x369fd6){const _0x1bffe6=_0x1dde55,_0x52a3e8={'path':_0x28b7f8,'indexes':[],'tuple':{}};for(const _0x2565f9 of this['measureIdList']){const _0x496aed=new A();_0x52a3e8[_0x1bffe6(0x317)][_0x2565f9]=_0x496aed;}this[_0x1bffe6(0x2b8)][_0x2cabe0]=_0x52a3e8,this[_0x1bffe6(0x1c8)][_0x369fd6]=_0x2cabe0;}['_buildNodeTreeImp'](_0x137834,_0xaafbb5,_0x56d920,_0x47d7d4){const _0x3d71a7=_0x1dde55;var _0xddc7ae,_0x1421b2;const _0x18a3bf=this['_getIndex'](),_0x32adbc=0x0,_0x205d49=new Z(_0x18a3bf,'',x['text']);_0x205d49['setParentIndex'](-0x1),_0x205d49[_0x3d71a7(0x2d3)](_0x32adbc),_0x205d49[_0x3d71a7(0x22f)]([]),this[_0x3d71a7(0x1d7)](_0x205d49[_0x3d71a7(0x20c)](),_0x18a3bf,_0x47d7d4);const _0x438628=this[_0x3d71a7(0x2a2)],_0x3f64a4=this[_0x3d71a7(0x351)]+this['colDeep'],_0x253094=this['dimensionTableIdList'];for(let _0xcc4ee2=0x0;_0xcc4ee2<this[_0x3d71a7(0x2b0)];_0xcc4ee2++){const _0x5e4f3c=this[_0x3d71a7(0x2b8)][_0xcc4ee2];let _0x4f06c8=_0x205d49,_0x8a1db6=0x0;for(const _0x945425 of _0x137834){const _0xcb7042=_0x5e4f3c['path'][_0x945425],_0x1aeb5b=_0x5e4f3c[_0x3d71a7(0x170)][_0x945425],_0x48c18f=_0x253094[_0x945425];if(!_0x4f06c8[_0x3d71a7(0x319)](_0xcb7042)){const _0x203ed0=_0x8a1db6===_0x3f64a4-0x1,_0x26638d=_0x203ed0?_0xcc4ee2:this[_0x3d71a7(0x208)](),_0x24280d=new Z(_0x26638d,_0x48c18f,_0x1aeb5b);_0x24280d[_0x3d71a7(0x1c2)](ft(_0x438628,_0x48c18f,_0xcb7042)),_0x4f06c8['addNode'](_0x24280d,_0xcb7042,(_0xddc7ae=this[_0x3d71a7(0x240)][_0x48c18f])==null?void 0x0:_0xddc7ae[_0x3d71a7(0x17c)],((_0x1421b2=this['dimensionSortInfo'][_0x48c18f])==null?void 0x0:_0x1421b2['type'])===z[_0x3d71a7(0x1c6)]);const _0x2c3d0a=_0x24280d[_0x3d71a7(0x2e4)]();_0x203ed0?_0x24280d['setLeaf']():this[_0x3d71a7(0x33e)](_0x26638d,_0x24280d[_0x3d71a7(0x20c)](),_0xaafbb5),_0x56d920[_0x2c3d0a]=_0x56d920[_0x2c3d0a]||[],_0x56d920[_0x2c3d0a][_0x3d71a7(0x224)]({'p':_0x4f06c8[_0x3d71a7(0x251)](),'v':_0x26638d});}_0x4f06c8=_0x4f06c8[_0x3d71a7(0x336)](_0xcb7042),_0x8a1db6++;}}return _0x205d49;}[_0x1dde55(0x175)](_0x3776eb,_0x44c552){const _0x5a7ec8=_0x1dde55;if(this['combinePathMap'][_0x44c552])return this[_0x5a7ec8(0x1a6)][_0x44c552];const _0x4fefb9={};this[_0x5a7ec8(0x1a6)][_0x44c552]=_0x4fefb9;const _0x2f4e7c={};for(const _0x5def90 of _0x3776eb)for(const _0x5dd409 in _0x5def90){const _0x217974=[_0x44c552,_0x5dd409]['join'](_[_0x5a7ec8(0x256)]);if(_0x4fefb9[_0x5dd409]===void 0x0){const _0x273253=this['_getIndex']();this[_0x5a7ec8(0x246)](_0x273253,_0x217974),_0x4fefb9[_0x5dd409]=_0x273253;}_0x2f4e7c[_0x217974]===void 0x0&&(_0x2f4e7c[_0x217974]=[]),_0x2f4e7c[_0x217974][_0x5a7ec8(0x224)](_0x5def90[_0x5dd409]);}for(const _0xe5894a in _0x2f4e7c){const _0x103c6b=_0x2f4e7c[_0xe5894a],_0x3953b6=this[_0x5a7ec8(0x2b8)][this[_0x5a7ec8(0x1c8)][_0xe5894a]];this[_0x5a7ec8(0x2e0)](_0x3953b6,_0x103c6b);}return _0x4fefb9;}[_0x1dde55(0x2e0)](_0x5e511b,_0x5aded3){const _0x180453=_0x1dde55;_0x5e511b['summary']||(_0x5e511b[_0x180453(0x237)]={});const _0x487b7f=_0x5e511b[_0x180453(0x237)];for(const _0x3c52df in this[_0x180453(0x364)]){const _0x4be169=this[_0x180453(0x364)][_0x3c52df][_0x180453(0x2dc)],_0x53d240=_0x5e511b[_0x180453(0x317)][_0x3c52df],_0x4b095f=_0x5aded3[_0x180453(0x339)](_0xcebbd=>this['tuples'][_0xcebbd][_0x180453(0x317)][_0x3c52df]);_0x53d240[_0x180453(0x16e)](_0x4b095f);const _0x47a10f=_0x53d240['getInfo']();for(const _0x459f5a of _0x4be169)_0x47a10f[_0x459f5a]=_0x53d240[_0x180453(0x2c9)](_0x459f5a);_0x487b7f[_0x3c52df]=_0x47a10f;}}[_0x1dde55(0x227)](){const _0x5a0ab6=_0x1dde55;this[_0x5a0ab6(0x1b5)](this[_0x5a0ab6(0x1ce)]),this[_0x5a0ab6(0x1b5)](this['_colLevelPool']);const _0xa89e7e=this[_0x5a0ab6(0x2b8)][this[_0x5a0ab6(0x361)][_0x5a0ab6(0x251)]()],_0x8e814a=this[_0x5a0ab6(0x2b8)][this[_0x5a0ab6(0x32e)][_0x5a0ab6(0x251)]()];this[_0x5a0ab6(0x351)]+this[_0x5a0ab6(0x346)]===0x0&&this[_0x5a0ab6(0x2b8)][_0x5a0ab6(0x316)]>0x0&&q(this['tuples'][0x0],_0xa89e7e,this[_0x5a0ab6(0x364)]),q(_0xa89e7e,void 0x0,this['measuresMap']),q(_0x8e814a,void 0x0,this['measuresMap']);}['getPathKeyWithFiledId'](_0x5735f2,_0x57e045){const _0x184fab=_0x1dde55,_0x5424c3=[];for(let _0x560588=0x0;_0x560588<_0x5735f2[_0x184fab(0x316)];_0x560588++)_0x5424c3[_0x184fab(0x224)](''+_0x57e045[_0x560588]+_[_0x184fab(0x256)]+_0x5735f2[_0x560588]);return _0x5424c3[_0x184fab(0x19e)](_['TUPLE_PLACEHOLDER']);}[_0x1dde55(0x33e)](_0x259772,_0x455e33,_0x48526){const _0x18f957=_0x1dde55;if(!this[_0x18f957(0x2b8)][_0x259772]){const _0x286b95=this['getPathKeyWithFiledId'](_0x455e33,_0x48526);this[_0x18f957(0x1d7)](_0x455e33,_0x259772,_0x286b95);}}[_0x1dde55(0x246)](_0x4c2cab,_0x76f0e5){const _0x3fbf0c=_0x1dde55;this[_0x3fbf0c(0x2b8)][_0x4c2cab]||this[_0x3fbf0c(0x2a5)]([],_0x76f0e5,_0x4c2cab);}[_0x1dde55(0x2a5)](_0x27cbd7,_0x5b3bc7,_0x43fca0){const _0x2dc4f2=_0x1dde55,_0x5640e9=_0x5b3bc7||_0x27cbd7[_0x2dc4f2(0x19e)](_[_0x2dc4f2(0x2ea)]);if(!this[_0x2dc4f2(0x1c8)][_0x5640e9]){const _0x4f4f8f={'path':_0x27cbd7,'indexes':[],'tuple':{}};for(const _0xef8f34 of this['measureIdList']){const _0x19aea3=new A();_0x4f4f8f[_0x2dc4f2(0x317)][_0xef8f34]=_0x19aea3;}if(_0x43fca0===void 0x0){const _0x270713=this['tuples']['push'](_0x4f4f8f);this[_0x2dc4f2(0x1c8)][_0x5640e9]=_0x270713-0x1;}else this[_0x2dc4f2(0x2b8)][_0x43fca0]=_0x4f4f8f,this['tupleMap'][_0x5640e9]=_0x43fca0;}}[_0x1dde55(0x1b5)](_0x42b5f0){const _0x24c03e=_0x1dde55,_0x7d5ebe=this['rowDeep']+this['colDeep'];for(let _0x391b21=_0x7d5ebe;_0x391b21>=0x0;_0x391b21--)if(_0x42b5f0[_0x391b21]){const _0x2cd477=_0x42b5f0[_0x391b21];for(const {p:_0x5802fc,v:_0x90dfce}of _0x2cd477){const _0x508244=this['tuples'][_0x90dfce];q(_0x508244,this['tuples'][_0x5802fc],this[_0x24c03e(0x364)]);}}}}function _0xe5ff(_0xb65a80,_0x3b8715){const _0x58813b=_0x5881();return _0xe5ff=function(_0xe5ffdd,_0x22c998){_0xe5ffdd=_0xe5ffdd-0x166;let _0x451b03=_0x58813b[_0xe5ffdd];return _0x451b03;},_0xe5ff(_0xb65a80,_0x3b8715);}class H{constructor(_0xf9cb61,_0xc2a877,_0xd9ec30){const _0x5eb07d=_0x1dde55;r(this,'id'),r(this,_0x5eb07d(0x278)),r(this,_0x5eb07d(0x2de)),r(this,_0x5eb07d(0x2a4)),r(this,_0x5eb07d(0x1cc),[]),r(this,_0x5eb07d(0x312),[]),r(this,_0x5eb07d(0x23a),[]),r(this,_0x5eb07d(0x26f),x[_0x5eb07d(0x201)]),r(this,'hasInteger',!0x1),r(this,_0x5eb07d(0x305),!0x1),r(this,_0x5eb07d(0x221),!0x1),r(this,'hasBlank',!0x1),r(this,_0x5eb07d(0x279),!0x1),r(this,_0x5eb07d(0x32b),''),r(this,_0x5eb07d(0x228),Number[_0x5eb07d(0x18c)]),r(this,'minNumber',Number[_0x5eb07d(0x18c)]),r(this,'maxDate',Number['NaN']),r(this,'minDate',Number['NaN']),r(this,_0x5eb07d(0x2bd)),r(this,_0x5eb07d(0x1f9),{}),(this['id']=_0xf9cb61,this['name']=_0xc2a877,this[_0x5eb07d(0x2de)]=_0xd9ec30,this[_0x5eb07d(0x2bd)]={});}[_0x1dde55(0x1b1)](){const _0x18cb5e=_0x1dde55;return this[_0x18cb5e(0x2a4)];}['getformat'](){const _0x44fb9d=_0x1dde55;return this[_0x44fb9d(0x32b)];}[_0x1dde55(0x27d)](_0x26a97c){const _0x176e61=_0x1dde55;this[_0x176e61(0x2a4)]=_0x26a97c;}[_0x1dde55(0x277)](){return this['id'];}[_0x1dde55(0x353)](){const _0x132774=_0x1dde55;return this[_0x132774(0x278)];}[_0x1dde55(0x321)](_0x52e009){const _0x1bca21=_0x1dde55;this[_0x1bca21(0x278)]=_0x52e009;}[_0x1dde55(0x338)](){const _0x5d8fee=_0x1dde55;return this[_0x5d8fee(0x221)]&&!this[_0x5d8fee(0x279)]&&!this[_0x5d8fee(0x305)]&&!this[_0x5d8fee(0x1b3)]?x[_0x5d8fee(0x1e7)]:(this['hasDecimal']||this[_0x5d8fee(0x1b3)])&&!this[_0x5d8fee(0x279)]&&!this[_0x5d8fee(0x221)]?x[_0x5d8fee(0x343)]:this[_0x5d8fee(0x26f)];}[_0x1dde55(0x2b1)](_0x24ab04){const _0x354b07=_0x1dde55;return this[_0x354b07(0x2de)]+_['TUPLE_FIELD_SEPARATOR']+this['_itemsMap'][_0x24ab04];}[_0x1dde55(0x1ef)](_0x4edb44){const _0x3398ae=_0x1dde55,_0x57ee34=this['records'][_0x4edb44];return Y(_0x57ee34)?String(_0x57ee34['v']):v(_0x57ee34)?_[_0x3398ae(0x1da)]:String(_0x57ee34);}[_0x1dde55(0x298)](_0x1abd38){const _0x46e67a=_0x1dde55;return this['itemTypes'][this[_0x46e67a(0x1f9)][_0x1abd38]];}[_0x1dde55(0x30f)](_0x2b3aeb){const _0x5097f0=_0x1dde55;return this[_0x5097f0(0x1cc)][_0x2b3aeb];}['addRecord'](_0x599dbc,_0x46b9f2){const _0x37bec0=_0x1dde55;Y(_0x599dbc)&&(this[_0x37bec0(0x32b)]=_0x599dbc['f'],this[_0x37bec0(0x347)](_0x599dbc,_0x46b9f2));const _0xb593f9=v(_0x599dbc);_0xb593f9&&this['_updateBlankItemKey'](_0x46b9f2),typeof _0x599dbc==_0x37bec0(0x343)&&this[_0x37bec0(0x1ec)](_0x599dbc,_0x46b9f2),!_0xb593f9&&typeof _0x599dbc=='string'&&this[_0x37bec0(0x302)](_0x599dbc,_0x46b9f2),this[_0x37bec0(0x1cc)][_0x37bec0(0x224)](_0x599dbc);}[_0x1dde55(0x2fd)](_0x114ad8){const _0x3cd65b=_0x1dde55;return this[_0x3cd65b(0x2bd)][_0x114ad8]||[];}[_0x1dde55(0x347)](_0x14144f,_0x166d8f){const _0x437e54=_0x1dde55;this[_0x437e54(0x221)]||(this[_0x437e54(0x221)]=!0x0),this['maxDate']=Math[_0x437e54(0x231)](this['maxDate'],_0x14144f['v']),this['minDate']=Math[_0x437e54(0x2ce)](this[_0x437e54(0x1db)],_0x14144f['v']);const _0x58d75a=String(_0x14144f['v']);this[_0x437e54(0x308)](_0x58d75a,_0x166d8f,x[_0x437e54(0x1e7)]);}[_0x1dde55(0x193)](_0x35646f){const _0x5bae5c=_0x1dde55;this[_0x5bae5c(0x206)]||(this[_0x5bae5c(0x206)]=!0x0);const _0x473857=_['BLANK_PLACEHOLDER'];this[_0x5bae5c(0x2bd)][_0x473857]===void 0x0?(this[_0x5bae5c(0x2bd)][_0x473857]=[_0x35646f],this['items'][_0x5bae5c(0x224)](_0x473857),this[_0x5bae5c(0x23a)][_0x5bae5c(0x224)](x[_0x5bae5c(0x1ca)]),this[_0x5bae5c(0x1f9)][_0x473857]=this['items'][_0x5bae5c(0x316)]-0x1):this['_itemIndexMap'][_0x473857][_0x5bae5c(0x224)](_0x35646f);}[_0x1dde55(0x302)](_0x15ee08,_0x52cca6){const _0x5d4813=_0x1dde55;this[_0x5d4813(0x279)]||(this['hasText']=!0x0),this['_updateItemKey'](_0x15ee08,_0x52cca6,x[_0x5d4813(0x201)]);}['_updateNumberItemKey'](_0x4d625d,_0x351d54){const _0x1c2aca=_0x1dde55;this['hasDecimal']||(this['hasDecimal']=_0x4d625d%0x1!==0x0),this[_0x1c2aca(0x1b3)]||(this[_0x1c2aca(0x1b3)]=_0x4d625d%0x1===0x0),this[_0x1c2aca(0x228)]=Math[_0x1c2aca(0x231)](this[_0x1c2aca(0x228)],_0x4d625d),this['minNumber']=Math[_0x1c2aca(0x2ce)](this['minNumber'],_0x4d625d);const _0x4a1df9=String(_0x4d625d);this[_0x1c2aca(0x308)](_0x4a1df9,_0x351d54,x[_0x1c2aca(0x343)]);}[_0x1dde55(0x308)](_0x190a29,_0x24afdb,_0x132b68){const _0x4071d9=_0x1dde55;if(this[_0x4071d9(0x2bd)][_0x190a29]===void 0x0){this[_0x4071d9(0x2bd)][_0x190a29]=[_0x24afdb];const _0x850ecc=this['items'][_0x4071d9(0x224)](_0x190a29);this[_0x4071d9(0x1f9)][_0x190a29]=_0x850ecc-0x1,this[_0x4071d9(0x23a)][_0x4071d9(0x224)](_0x132b68);}else this[_0x4071d9(0x2bd)][_0x190a29][_0x4071d9(0x224)](_0x24afdb);}[_0x1dde55(0x1f7)](){const _0x3d589e=_0x1dde55;return this[_0x3d589e(0x1f9)];}[_0x1dde55(0x2c3)](){const _0x56d5b9=_0x1dde55;return{'id':this['id'],'name':this[_0x56d5b9(0x278)],'records':this[_0x56d5b9(0x1cc)],'fieldDataType':this[_0x56d5b9(0x26f)],'maxNumber':this[_0x56d5b9(0x228)],'minNumber':this['minNumber'],'maxDate':this[_0x56d5b9(0x1d5)],'minDate':this[_0x56d5b9(0x1db)],'format':this['format'],'rangeKey':this[_0x56d5b9(0x2a4)]};}[_0x1dde55(0x23b)](){const _0x59e0bd=_0x1dde55;return{'id':this['id'],'name':this[_0x59e0bd(0x278)],'hexCode':this[_0x59e0bd(0x2de)],'rangeKey':this[_0x59e0bd(0x2a4)]};}[_0x1dde55(0x33f)](_0x45fa87){const _0x3a408f=_0x1dde55;this[_0x3a408f(0x278)]=_0x45fa87[_0x3a408f(0x278)],this['id']=_0x45fa87['id'],this[_0x3a408f(0x2a4)]=_0x45fa87['rangeKey'],this[_0x3a408f(0x2de)]=_0x45fa87[_0x3a408f(0x2de)];}['reset'](){const _0x3fe9fb=_0x1dde55;this['records']=[],this[_0x3fe9fb(0x312)]=[],this['itemTypes']=[],this['_itemIndexMap']={},this[_0x3fe9fb(0x1b3)]=!0x1,this['hasDecimal']=!0x1,this[_0x3fe9fb(0x221)]=!0x1,this['hasBlank']=!0x1,this[_0x3fe9fb(0x279)]=!0x1,this[_0x3fe9fb(0x32b)]='',this[_0x3fe9fb(0x228)]=Number[_0x3fe9fb(0x18c)],this[_0x3fe9fb(0x340)]=Number[_0x3fe9fb(0x18c)],this['maxDate']=Number['NaN'],this['minDate']=Number[_0x3fe9fb(0x18c)];}}class T{constructor(_0x3ed825){const _0x3b3714=_0x1dde55;r(this,_0x3b3714(0x2c1),[]),r(this,_0x3b3714(0x19c),{}),r(this,_0x3b3714(0x18d),{}),r(this,_0x3b3714(0x2b3)),r(this,'dataRecordCount'),r(this,_0x3b3714(0x363)),this[_0x3b3714(0x363)]=_0x3ed825;}[_0x1dde55(0x1c9)](){const _0x213041=_0x1dde55;return this[_0x213041(0x2c1)][_0x213041(0x1c5)]();}[_0x1dde55(0x205)](_0x13ab88){const _0x44e555=_0x1dde55;return this[_0x44e555(0x2c1)]['includes'](_0x13ab88);}[_0x1dde55(0x297)](_0x387e3){const _0x55a65f=_0x1dde55;return this['fieldIds'][_0x55a65f(0x1fb)](_0x27de2c=>this['getFieldById'](_0x27de2c)[_0x55a65f(0x278)]===_0x387e3);}[_0x1dde55(0x2fc)](_0x48702c){_0x48702c&&(this['range']={..._0x48702c});}['addField'](_0x9b9d13,_0x4d3805){const _0x25ca79=_0x1dde55;this['fieldIds']['push'](_0x9b9d13);const _0x4abfdd=this[_0x25ca79(0x2da)](_0x4d3805);this[_0x25ca79(0x19c)][_0x9b9d13]=_0x4abfdd;}['getDisplayName'](_0x539b47){const _0x22099a=this['displayNameRecord'][_0x539b47];return _0x22099a!==void 0x0?_0x22099a:this['getFieldById'](_0x539b47)['getName']();}[_0x1dde55(0x304)](_0x48073a,_0x3c32e3,_0x3396b7){const _0x29f894=_0x1dde55;this[_0x29f894(0x19c)][_0x48073a]=this[_0x29f894(0x2da)](_0x3c32e3,_0x3396b7);}['getUniqueDataFieldName'](_0x1c65d4,_0x5066e3){const _0x29a86c=_0x1dde55,_0x37ad58=_0x5066e3||this['displayNameRecord'],_0x436e37=new Set(Object[_0x29a86c(0x34b)](_0x37ad58));let _0x23f91a=_0x1c65d4,_0x40195f=0x1;if(!_0x436e37['has'](_0x23f91a))return _0x23f91a;for(;;){if(_0x23f91a=_0x1c65d4+'('+_0x40195f+')',!_0x436e37[_0x29a86c(0x32f)](_0x23f91a))return _0x23f91a;_0x40195f++;}}['updateAllDisplayName'](){const _0x44ba33=_0x1dde55,_0x511018={};for(const _0x45f909 of this[_0x44ba33(0x2c1)])_0x511018[_0x45f909]=this[_0x44ba33(0x2da)](this['getFieldById'](_0x45f909)['getName'](),_0x511018);this['displayNameRecord']=_0x511018;}[_0x1dde55(0x202)](_0x20c19d){const _0x241357=_0x1dde55;return this['customFields'][_0x20c19d]?this[_0x241357(0x18d)][_0x20c19d]:this[_0x241357(0x363)][_0x241357(0x31b)][_0x20c19d];}[_0x1dde55(0x2ec)](_0x824e5a){const _0x12c89d=_0x1dde55;this[_0x12c89d(0x2f0)]=_0x824e5a;}['getDataRecordCount'](){const _0x194d25=_0x1dde55;return this[_0x194d25(0x2f0)];}[_0x1dde55(0x243)](_0x47ec03){const _0x19b192=_0x1dde55;for(const _0x484c85 of this['fieldIds'])if(this['getFieldById'](_0x484c85)[_0x19b192(0x278)]===_0x47ec03)return this['getFieldById'](_0x484c85);}[_0x1dde55(0x2c3)](){const _0x5d92b8=_0x1dde55,_0x170141=this['fieldIds'][_0x5d92b8(0x339)](_0x269bc6=>this[_0x5d92b8(0x202)](_0x269bc6)['getFieldInfo']()),_0x4a9b8a=Object['keys'](this[_0x5d92b8(0x18d)])[_0x5d92b8(0x339)](_0x295383=>this[_0x5d92b8(0x18d)][_0x295383][_0x5d92b8(0x2c3)]());return _0x170141[_0x5d92b8(0x1c5)](_0x4a9b8a);}['toJSON'](){const _0x6be4d9=_0x1dde55,_0x446081={};for(const _0x3329c9 of this[_0x6be4d9(0x2c1)])_0x446081[_0x3329c9]=this[_0x6be4d9(0x202)](_0x3329c9)[_0x6be4d9(0x23b)]();return{'fields':_0x446081,'fieldIds':this['fieldIds'][_0x6be4d9(0x1c5)](),'displayNameRecord':{...this[_0x6be4d9(0x19c)]},'customFields':Object[_0x6be4d9(0x207)](this[_0x6be4d9(0x18d)])[_0x6be4d9(0x339)](_0x51da4f=>this['customFields'][_0x51da4f][_0x6be4d9(0x23b)]()),'dataRecordCount':this[_0x6be4d9(0x2f0)],'range':this[_0x6be4d9(0x2b3)]};}['fromJSON'](_0x18ab4a){const _0x5c645b=_0x1dde55;this[_0x5c645b(0x2c1)]=_0x18ab4a[_0x5c645b(0x2c1)]['concat'](),this['displayNameRecord']=_0x18ab4a[_0x5c645b(0x19c)]?{..._0x18ab4a[_0x5c645b(0x19c)]}:{};const _0x4dccaf=_0x18ab4a[_0x5c645b(0x32c)];for(const _0x1fe048 in _0x4dccaf){if(this[_0x5c645b(0x363)][_0x5c645b(0x31b)][_0x1fe048])continue;const _0x194e3c=new H(_0x1fe048,_0x4dccaf[_0x1fe048][_0x5c645b(0x278)],_0x4dccaf[_0x1fe048][_0x5c645b(0x2de)]);_0x194e3c[_0x5c645b(0x33f)](_0x4dccaf[_0x1fe048]),this['host'][_0x5c645b(0x31b)][_0x1fe048]=_0x194e3c;}this[_0x5c645b(0x18d)]={};for(const _0x24ad80 of _0x18ab4a[_0x5c645b(0x18d)]){const {id:_0x1e2757,name:_0x35e0fc,hexCode:_0x3a30bf}=_0x24ad80,_0x3293da=new H(_0x1e2757,_0x35e0fc,_0x3a30bf);_0x3293da[_0x5c645b(0x33f)](_0x24ad80),this[_0x5c645b(0x18d)][_0x3293da['id']]=_0x3293da;}this[_0x5c645b(0x2f0)]=_0x18ab4a[_0x5c645b(0x2f0)],this[_0x5c645b(0x2b3)]=_0x18ab4a['range'];}[_0x1dde55(0x21b)](){const _0x1bc32c=_0x1dde55;this[_0x1bc32c(0x2c1)]=[],this[_0x1bc32c(0x18d)]={},this[_0x1bc32c(0x2f0)]=0x0,delete this[_0x1bc32c(0x363)];}}class yt{constructor(){const _0x54b316=_0x1dde55;r(this,'pageView',new bt()),r(this,_0x54b316(0x288),new P()),r(this,'colView',new P()),r(this,'dataView',new U()),r(this,_0x54b316(0x266),new U()),r(this,_0x54b316(0x1bd)),r(this,_0x54b316(0x176),{}),this[_0x54b316(0x1a3)]();}[_0x1dde55(0x1a3)](_0x481eba){const _0x377483=_0x1dde55;_0x481eba===void 0x0&&(this[_0x377483(0x1bd)]=Math[_0x377483(0x1e4)](0x3e8*Math['random']()));}[_0x1dde55(0x1ad)](_0x161cf7){const _0x5e571a=_0x1dde55,_0x74d60e={};_0x161cf7[_0x5e571a(0x2f9)](_0x2fc391=>{const _0x586322=_0x5e571a,_0x2be551=_0x2fc391[_0x586322(0x29d)]();_0x2be551&&(_0x74d60e[_0x2fc391['id']]=_0x2be551);}),this[_0x5e571a(0x176)]=_0x74d60e;}[_0x1dde55(0x1b6)](){const _0x33610a=_0x1dde55;return this[_0x33610a(0x1bd)];}[_0x1dde55(0x23b)](){const _0x52ca87=_0x1dde55,_0x527a1a={...this[_0x52ca87(0x176)]};return{'pageView':this['pageView'][_0x52ca87(0x23b)](),'rowView':this['rowView']['toJSON'](),'colView':this['colView'][_0x52ca87(0x23b)](),'dataView':this[_0x52ca87(0x2fe)][_0x52ca87(0x23b)](),'cornerView':this['cornerView']['toJSON'](),'version':this[_0x52ca87(0x1bd)],'formatMap':_0x527a1a};}[_0x1dde55(0x309)](_0x46d35a){const _0x3c1186=_0x1dde55;this['pageView']['fromJSON'](_0x46d35a[_0x3c1186(0x350)]),this[_0x3c1186(0x288)][_0x3c1186(0x33f)](_0x46d35a[_0x3c1186(0x288)]),this['colView'][_0x3c1186(0x33f)](_0x46d35a[_0x3c1186(0x1f6)]),this[_0x3c1186(0x2fe)][_0x3c1186(0x33f)](_0x46d35a[_0x3c1186(0x2fe)]),this[_0x3c1186(0x266)][_0x3c1186(0x33f)](_0x46d35a[_0x3c1186(0x266)]),this['version']=_0x46d35a[_0x3c1186(0x1bd)],this[_0x3c1186(0x176)]={..._0x46d35a[_0x3c1186(0x176)]};}}class U{constructor(){const _0x1cc0ed=_0x1dde55;r(this,'rowCount',0x0),r(this,_0x1cc0ed(0x19b),0x0),r(this,_0x1cc0ed(0x16b),{}),r(this,'info',[]),r(this,_0x1cc0ed(0x25c),-0x1),r(this,_0x1cc0ed(0x1e8),-0x1);}[_0x1dde55(0x25e)](_0x3ae1d8,_0x32bc4d,_0x49b426){const _0x1df9ae=_0x1dde55,_0xab4300=this[_0x1df9ae(0x21f)](_0x3ae1d8,_0x32bc4d);this['lastCol']=Math[_0x1df9ae(0x231)](this[_0x1df9ae(0x25c)],_0x32bc4d),this['lastRow']=Math[_0x1df9ae(0x231)](this[_0x1df9ae(0x1e8)],_0x3ae1d8),_0xab4300['v']=_0x49b426;}[_0x1dde55(0x2d2)](_0x46acfb,_0x33999f,_0x51fbd6){const _0x190543=_0x1dde55,_0x2ce6f2=this[_0x190543(0x21f)](_0x46acfb,_0x33999f);_0x2ce6f2['s']=_0x51fbd6;}[_0x1dde55(0x20e)](_0x18189c,_0x50b9b0){const _0x4f3101=_0x1dde55,_0x1d6868=this['getCell'](_0x18189c,_0x50b9b0);_0x1d6868['t']=et[_0x4f3101(0x1ca)];}[_0x1dde55(0x21f)](_0xaad778,_0x428ce3){const _0x523f20=_0x1dde55;return this[_0x523f20(0x16b)][_0xaad778]||(this[_0x523f20(0x16b)][_0xaad778]={}),this['data'][_0xaad778][_0x428ce3]||(this[_0x523f20(0x16b)][_0xaad778][_0x428ce3]={}),this['data'][_0xaad778][_0x428ce3];}[_0x1dde55(0x1e3)](_0x35ea6a,_0x2effc9){const _0x34b46d=_0x1dde55;this[_0x34b46d(0x2d6)][_0x35ea6a]=_0x2effc9;}[_0x1dde55(0x19a)](_0x3036b7){const _0x556788=_0x1dde55,_0x30595a={};let _0x4421e4=0x0;return this[_0x556788(0x2d6)][_0x556788(0x1cd)](_0xea6ce7=>{const _0x73e2e=_0x556788,_0x4c9fdb=at(_0xea6ce7[_0x73e2e(0x212)],_0xea6ce7[_0x73e2e(0x292)],_0x3036b7);_0x30595a[_0x4c9fdb]=_0x4421e4,_0x4421e4++;}),_0x30595a;}[_0x1dde55(0x333)](_0xc3b31e){const _0x4abcde=_0x1dde55;this[_0x4abcde(0x1fc)]=_0xc3b31e;}[_0x1dde55(0x209)](_0x324972){const _0xdc4e7d=_0x1dde55;this[_0xdc4e7d(0x19b)]=_0x324972;}['getValue'](_0x46ec48,_0x2eb418){const _0x5bf729=_0x1dde55;var _0x570369,_0x3eff9b;return(_0x3eff9b=(_0x570369=this[_0x5bf729(0x16b)][_0x46ec48])==null?void 0x0:_0x570369[_0x2eb418])==null?void 0x0:_0x3eff9b['v'];}[_0x1dde55(0x27b)](_0x15a3ce,_0x4ef939){const _0x5a0852=_0x1dde55;var _0x52bd4c,_0xb62853;return(_0xb62853=(_0x52bd4c=this[_0x5a0852(0x16b)][_0x15a3ce])==null?void 0x0:_0x52bd4c[_0x4ef939])==null?void 0x0:_0xb62853['s'];}[_0x1dde55(0x23b)](){const _0x2f03a9=_0x1dde55,_0x102ae8=this[_0x2f03a9(0x16b)],_0x251676=this['info'][_0x2f03a9(0x339)](_0x85f363=>({..._0x85f363,'paths':_0x85f363[_0x2f03a9(0x212)][_0x2f03a9(0x1c5)]()}));return{'data':_0x102ae8,'info':_0x251676,'rowCount':this[_0x2f03a9(0x1fc)],'colCount':this[_0x2f03a9(0x19b)],'lastCol':this[_0x2f03a9(0x25c)],'lastRow':this[_0x2f03a9(0x1e8)]};}[_0x1dde55(0x33f)](_0x1451b2){const _0x4b89d6=_0x1dde55;this[_0x4b89d6(0x16b)]=_0x1451b2[_0x4b89d6(0x16b)],this['info']=_0x1451b2['info'][_0x4b89d6(0x339)](_0x2fe529=>({..._0x2fe529,'paths':_0x2fe529[_0x4b89d6(0x212)][_0x4b89d6(0x1c5)]()})),this[_0x4b89d6(0x1fc)]=_0x1451b2[_0x4b89d6(0x1fc)],this[_0x4b89d6(0x19b)]=_0x1451b2[_0x4b89d6(0x19b)],this[_0x4b89d6(0x25c)]=_0x1451b2[_0x4b89d6(0x25c)],this[_0x4b89d6(0x1e8)]=_0x1451b2[_0x4b89d6(0x1e8)];}}class bt extends U{constructor(){const _0x533ad8=_0x1dde55;super(...arguments),r(this,_0x533ad8(0x22e),[]),r(this,_0x533ad8(0x25c),-0x1),r(this,_0x533ad8(0x1e8),-0x1);}[_0x1dde55(0x222)](_0x115a06,_0x4ba49d,_0x2d28b3){const _0x4a1ab6=_0x1dde55,_0x5208b8=this[_0x4a1ab6(0x21f)](_0x115a06,_0x4ba49d);_0x5208b8['i']=_0x2d28b3;}[_0x1dde55(0x259)](_0x45422b){const _0x4a30b4=_0x1dde55;this[_0x4a30b4(0x22e)][_0x4a30b4(0x224)](_0x45422b);}[_0x1dde55(0x310)](){const _0x33bc23=_0x1dde55;return this[_0x33bc23(0x22e)];}['setLastCol'](_0x3ab219){const _0x273599=_0x1dde55;this[_0x273599(0x25c)]=_0x3ab219;}[_0x1dde55(0x1d1)](_0x115d5e){this['lastRow']=_0x115d5e;}['getLastCol'](){const _0x56eee3=_0x1dde55;return this[_0x56eee3(0x25c)];}['getLastRow'](){const _0x13a091=_0x1dde55;return this[_0x13a091(0x1e8)];}['toJSON'](){const _0x160d8c=_0x1dde55,_0x365d05=this[_0x160d8c(0x22e)][_0x160d8c(0x339)](_0x55a4a3=>({..._0x55a4a3}));return{...super['toJSON'](),'ranges':_0x365d05,'lastCol':this[_0x160d8c(0x25c)],'lastRow':this[_0x160d8c(0x1e8)]};}['fromJSON'](_0x14601a){const _0x2de056=_0x1dde55;this[_0x2de056(0x22e)]=_0x14601a[_0x2de056(0x22e)][_0x2de056(0x339)](_0x596337=>({..._0x596337})),this[_0x2de056(0x25c)]=_0x14601a[_0x2de056(0x25c)],this[_0x2de056(0x1e8)]=_0x14601a[_0x2de056(0x1e8)],super[_0x2de056(0x33f)](_0x14601a);}}class P extends U{constructor(){const _0x4444f2=_0x1dde55;super(...arguments),r(this,_0x4444f2(0x2f1),[]);}[_0x1dde55(0x34f)](_0x15c2e8,_0x27aa02){const _0x4fe4e4=_0x1dde55;this[_0x4fe4e4(0x2f1)][_0x15c2e8]=_0x27aa02;}[_0x1dde55(0x358)](_0x3e4809){const _0x3275c6=_0x1dde55;return this[_0x3275c6(0x2f1)][_0x3e4809];}[_0x1dde55(0x23b)](){const _0x2d96db=_0x1dde55,_0x4f7ac5=this['headerMap'][_0x2d96db(0x339)](_0x16a7a0=>({..._0x16a7a0}));return{...super['toJSON'](),'headerMap':_0x4f7ac5};}[_0x1dde55(0x33f)](_0x1ffdb9){const _0x54836f=_0x1dde55;this['headerMap']=_0x1ffdb9[_0x54836f(0x2f1)][_0x54836f(0x339)](_0x3e496c=>({..._0x3e496c})),super[_0x54836f(0x33f)](_0x1ffdb9);}}const Bt=_0xfa1902=>typeof _0xfa1902==_0x1dde55(0x27e)&&_0xfa1902[_0x1dde55(0x32a)]!==void 0x0,kt=_0x332aca=>typeof _0x332aca=='object'&&_0x332aca[_0x1dde55(0x284)]!==void 0x0;class Ct{static['prepareLayoutCtx'](_0x3fa017,_0x2e90f6,_0x57974f){const _0x8342ea=_0x1dde55,_0x43d882=new yt(),_0x3a275e=_0x2e90f6[_0x8342ea(0x351)],_0x1dd877=_0x2e90f6[_0x8342ea(0x346)],_0x297762=_0x3fa017[_0x8342ea(0x2cf)](),_0x1e6c42=_0x297762[_0x8342ea(0x23d)]||0x1,_0x203797=!!_0x297762[_0x8342ea(0x230)],_0x23b0eb=_0x57974f[_0x8342ea(0x2ab)];let _0x23a5aa=_0x3fa017[_0x8342ea(0x34a)]();const _0x1260c2=_0x3fa017[_0x8342ea(0x2af)]();let _0x2f1482=_0x3fa017[_0x8342ea(0x2d0)]();_0x23b0eb[_0x8342ea(0x316)]>0x1&&(_0x2f1482===-0x1&&(_0x2f1482=_0x1dd877),!_0x23a5aa&&!_0x1260c2&&(_0x23a5aa=!0x0),_0x23a5aa&&(_0x2f1482=Math['min'](_0x2f1482,_0x1dd877)),_0x1260c2&&(_0x2f1482=Math['min'](_0x2f1482,_0x3a275e)));const _0x502b9c=_0x23b0eb['length'],_0xf04a26={},_0x26347d={};let _0x23fc83=0x0;for(const _0x5a9291 of _0x23b0eb)_0xf04a26[_0x5a9291['id']]=_0x5a9291,_0x26347d[_0x5a9291['id']]=_0x23fc83,_0x23fc83++;return{'isColMultiMeasure':_0x23a5aa,'isRowMultiMeasure':_0x1260c2,'valueIndex':_0x2f1482,'rowDeep':_0x3a275e,'colDeep':_0x1dd877,'rowNodeTree':_0x2e90f6[_0x8342ea(0x361)],'colNodeTree':_0x2e90f6[_0x8342ea(0x32e)],'measuresMap':_0xf04a26,'measureIndexesMap':_0x26347d,'measureCount':_0x502b9c,'pageWrap':_0x1e6c42,'pageOverThenDown':_0x203797,'queryData':_0x57974f,'view':_0x43d882,'valueQueryInfo':_0x23b0eb,'colMap':{},'summaryManager':_0x2e90f6,'collapseInfo':_0x57974f[_0x8342ea(0x2a2)]};}static[_0x1dde55(0x261)](_0x225cca){const _0x188cb9=_0x1dde55,{pageWrap:_0xf76a0e,pageOverThenDown:_0x34947a,view:_0x2d1d2e}=_0x225cca,_0x5be8ad=_0x2d1d2e[_0x188cb9(0x350)],_0x4a0ca0=_0x225cca['queryData'][_0x188cb9(0x2ca)];_0x34947a?this[_0x188cb9(0x29c)](_0x4a0ca0,_0x5be8ad,_0xf76a0e):this[_0x188cb9(0x171)](_0x4a0ca0,_0x5be8ad,_0xf76a0e);}static['layoutPageOverThenDown'](_0x392bb4,_0x4e7df0,_0x1ad644=0x1){const _0x35d29a=_0x1dde55;let _0x340bf1=0x0,_0x590cb4=0x0,_0x148c57=0x0;for(const _0xe70cec of _0x392bb4){const {displayName:_0x4820ef,filterInfo:_0x3ed991}=_0xe70cec,{value:_0x10e293,status:_0x2e6565}=X(_0x3ed991);_0x4e7df0[_0x35d29a(0x25e)](_0x590cb4,_0x340bf1*0x3,_0x4820ef),_0x4e7df0['setValue'](_0x590cb4,_0x340bf1*0x3+0x1,_0x10e293),_0x4e7df0[_0x35d29a(0x2d2)](_0x590cb4,_0x340bf1*0x3+0x1,_0x2e6565),_0x4e7df0[_0x35d29a(0x222)](_0x590cb4,_0x340bf1*0x3,_0x148c57),_0x4e7df0[_0x35d29a(0x222)](_0x590cb4,_0x340bf1*0x3+0x1,_0x148c57),_0x340bf1++,_0x340bf1===_0x1ad644&&(_0x340bf1=0x0,_0x590cb4++),_0x148c57++;}const _0x5f0b1b=_0x392bb4['length'],_0x47633a=Math[_0x35d29a(0x1f4)](_0x5f0b1b/_0x1ad644),_0x56aeef=_0x5f0b1b%_0x1ad644;for(let _0x415c3f=0x0;_0x415c3f<_0x1ad644;_0x415c3f++){const _0x1953dd=_0x56aeef>=_0x415c3f+0x1?_0x47633a:_0x47633a-0x1;_0x4e7df0['addRange']({'row':0x0,'col':_0x415c3f*0x3,'rowCount':_0x1953dd,'colCount':0x2});}_0x4e7df0[_0x35d29a(0x1d1)](_0x47633a-0x1);const _0x10a0e5=_0x5f0b1b>_0x1ad644?_0x1ad644*0x3-0x2:_0x5f0b1b*0x3-0x2;_0x4e7df0[_0x35d29a(0x1e1)](_0x10a0e5);}static['layoutPageDownThenOver'](_0x135f40,_0x465345,_0xc27571=0x1){const _0x5dd112=_0x1dde55;let _0x10306d=0x0,_0x42d753=0x0,_0x468fe7=0x0;for(const _0x5dff52 of _0x135f40){const {displayName:_0x59a936,filterInfo:_0x43b86d}=_0x5dff52,{value:_0x2748a3,status:_0x5f4c94}=X(_0x43b86d);_0x465345[_0x5dd112(0x25e)](_0x10306d,_0x42d753*0x3,_0x59a936),_0x465345['setValue'](_0x10306d,_0x42d753*0x3+0x1,_0x2748a3),_0x465345[_0x5dd112(0x2d2)](_0x10306d,_0x42d753*0x3+0x1,_0x5f4c94),_0x465345['setPageIndex'](_0x10306d,_0x42d753*0x3,_0x468fe7),_0x465345[_0x5dd112(0x222)](_0x10306d,_0x42d753*0x3+0x1,_0x468fe7),_0x10306d++,_0x10306d===_0xc27571&&(_0x10306d=0x0,_0x42d753++),_0x468fe7++;}const _0x5bed81=_0x135f40[_0x5dd112(0x316)];let _0x326f04=0x0;for(;_0x326f04<_0x5bed81;){const _0x4bf932=Math[_0x5dd112(0x2ce)](_0xc27571,_0x5bed81-_0x326f04);_0x465345[_0x5dd112(0x259)]({'row':0x0,'col':_0x326f04*0x3/_0xc27571,'rowCount':_0x4bf932,'colCount':0x2}),_0x326f04+=_0xc27571;}_0x465345[_0x5dd112(0x1d1)](Math[_0x5dd112(0x2ce)](_0x5bed81,_0xc27571)-0x1),_0x465345[_0x5dd112(0x1e1)](Math[_0x5dd112(0x1f4)](_0x5bed81/_0xc27571)*0x3-0x2);}static[_0x1dde55(0x28c)](_0x5c25d5){const _0x1d836d=_0x1dde55;this[_0x1d836d(0x315)](_0x5c25d5),this[_0x1d836d(0x26b)](_0x5c25d5);}static[_0x1dde55(0x341)](_0x2ed4e7){}static[_0x1dde55(0x315)](_0x2c82f2){const _0x1190aa=_0x1dde55,{colDeep:_0xe34b9b,view:_0x1441bc,isColMultiMeasure:_0x17d09a,valueIndex:_0x3aeab3}=_0x2c82f2,_0x31ce34=_0x2c82f2[_0x1190aa(0x169)][_0x1190aa(0x2c6)],_0x55f6c4=_0x1441bc[_0x1190aa(0x1f6)],_0x5ea719=0x0;let _0x3e9b78=0x0,_0x2f65c7=!0x1;for(let _0x2e4384=0x0;_0x2e4384<_0xe34b9b;_0x2e4384++){const _0x2837a4=_0x31ce34[_0x2e4384],{displayName:_0x5b1209,filterInfo:_0x1ef3bf,sortInfo:_0x429a3a,id:_0x19b621,dataFieldId:_0x24f1d2}=_0x2837a4;_0xe34b9b!==0x0&&_0x17d09a&&_0x2e4384===_0x3aeab3&&(_0x55f6c4[_0x1190aa(0x25e)](_0x5ea719,_0x3e9b78,_0x1190aa(0x16f)),_0x2f65c7=!0x0,_0x3e9b78++),_0x55f6c4[_0x1190aa(0x25e)](_0x5ea719,_0x3e9b78,_0x5b1209),_0x55f6c4[_0x1190aa(0x34f)](_0x3e9b78+0x1,{'isValue':!0x1,'level':_0x2e4384,'tableFieldId':_0x19b621,'dataFieldId':_0x24f1d2}),_0x55f6c4[_0x1190aa(0x2d2)](_0x5ea719,_0x3e9b78,ot(_0x1ef3bf,_0x429a3a)),_0x3e9b78++;}_0xe34b9b!==0x0&&!_0x2f65c7&&_0x17d09a&&(_0x55f6c4[_0x1190aa(0x25e)](_0x5ea719,_0x3e9b78,_0x1190aa(0x16f)),_0x55f6c4[_0x1190aa(0x34f)](_0x3e9b78+0x1,{'isValue':!0x0,'level':-0x1,'tableFieldId':'','dataFieldId':''}));}static[_0x1dde55(0x255)](_0x10c680){const _0x20fc97=_0x1dde55,{view:_0xa886f4}=_0x10c680,{rowView:_0x4e0960,colView:_0x12e7a8,dataView:_0x3681ad}=_0xa886f4;_0x3681ad[_0x20fc97(0x333)](_0x4e0960[_0x20fc97(0x1fc)]),_0x3681ad[_0x20fc97(0x209)](_0x12e7a8[_0x20fc97(0x19b)]);}static['layoutNoneColFields'](_0x347383,_0x3827a3){const _0x282ff8=_0x1dde55,{measureCount:_0x46b1f7,isColMultiMeasure:_0x47bb13,valueQueryInfo:_0x1e5ec8}=_0x347383,_0x5ef953=_0x47bb13?_0x1e5ec8[_0x282ff8(0x339)](_0x6fcf7d=>_0x6fcf7d['id']):[],_0x1822b0=this[_0x282ff8(0x275)](_0x347383,_0x3827a3);return _0x46b1f7===0x0?{'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0,'colPathMap':_0x1822b0}:(this[_0x282ff8(0x172)](_0x347383,0x0,_0x3827a3,_0x5ef953,_0x1822b0),{'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':_0x47bb13?_0x46b1f7:0x1,'colPathMap':_0x1822b0});}static['layoutColFields'](_0x5579e5){const _0x1d6d2d=_0x1dde55,{colNodeTree:_0x446e67,view:_0x2183ea,colDeep:_0x4a418d,isColMultiMeasure:_0x48f3a5,valueQueryInfo:_0x446781,measureCount:_0x54173a}=_0x5579e5,_0x52da74=0x0,_0x1ea96e=_0x48f3a5?_0x446781[_0x1d6d2d(0x339)](_0x227a40=>_0x227a40['id']):[],_0x231cff=_0x4a418d===0x0?this[_0x1d6d2d(0x2a7)](_0x5579e5,_0x446e67):this['layoutColNode'](_0x5579e5,_0x446e67,_0x52da74,_0x1ea96e),_0x3a6a5d=_0x2183ea[_0x1d6d2d(0x1f6)];if(_0x54173a===0x0&&_0x4a418d===0x0)_0x3a6a5d[_0x1d6d2d(0x333)](0x0);else{if(_0x54173a!==0x0&&_0x4a418d===0x0)_0x3a6a5d[_0x1d6d2d(0x333)](0x1);else{const _0x5cc7d5=_0x4a418d===0x0?0x0:0x1,_0x5772ca=_0x48f3a5?_0x4a418d+0x1+_0x5cc7d5:_0x4a418d+_0x5cc7d5;_0x3a6a5d[_0x1d6d2d(0x333)](_0x5772ca);}}_0x3a6a5d[_0x1d6d2d(0x209)](this[_0x1d6d2d(0x1f5)](_0x231cff));const _0x23f1cc=_0x3a6a5d[_0x1d6d2d(0x19a)](_0x48f3a5);_0x5579e5[_0x1d6d2d(0x177)]=_0x23f1cc;}static['isLeafNode'](_0x1a4604,_0x3b063a){const _0x161768=_0x1dde55;return _0x1a4604[_0x161768(0x2e4)]()===_0x3b063a;}static[_0x1dde55(0x1f5)](_0x5c18aa){const _0xc2d62b=_0x1dde55;return _0x5c18aa[_0xc2d62b(0x20b)]+_0x5c18aa['topTotalSize']+_0x5c18aa[_0xc2d62b(0x2bb)];}static['getNodeValue'](_0xda5098,_0xf2c97f,_0x3a4307){const _0x55be70=_0x1dde55,{queryData:_0x305ca4,summaryManager:_0x873812}=_0xda5098,{valueQueryInfo:_0x1d1f8a}=_0x305ca4,{dataFieldId:_0x50c48a,subtotal:_0x594908}=_0x1d1f8a[_0x3a4307];return _0x873812[_0x55be70(0x21e)](_0xf2c97f[_0x55be70(0x251)](),_0x50c48a,_0x594908);}static[_0x1dde55(0x1dd)](_0x2a4dae,_0x316f90,_0x152a59,_0x31c994){const _0x5a5341=_0x1dde55,{view:_0x2820cf,isColMultiMeasure:_0x1452c5,valueIndex:_0x50c98a,measureCount:_0x2a4e86,measuresMap:_0xdb899,measureIndexesMap:_0x454f5e,colDeep:_0x4700bf}=_0x2a4dae,_0x14290d=_0x2820cf['colView'],_0x438b41=_0x316f90[_0x5a5341(0x2e4)](),_0x5d8924=this[_0x5a5341(0x247)](_0x1452c5,_0x438b41,_0x50c98a),_0x3d5856=this[_0x5a5341(0x275)](_0x2a4dae,_0x316f90),_0x2aa3ab=_0x316f90['getFieldsId']();if(_0x5d8924){let _0x31b17f=0x0;const _0x18ebbf=_0x4700bf===0x0?0x0:0x1;for(const _0x2c39c8 of _0x31c994){const _0x39a21e=this[_0x5a5341(0x22a)](_0x438b41,_0x50c98a,_0x1452c5)+_0x18ebbf;_0x14290d[_0x5a5341(0x25e)](_0x39a21e,_0x152a59+_0x31b17f,_0xdb899[_0x2c39c8][_0x5a5341(0x183)]),_0x14290d['setInfo'](_0x152a59+_0x31b17f,{'level':_0x438b41,'paths':_0x316f90[_0x5a5341(0x20c)](),'valueIndex':_0x1452c5?_0x31b17f:-0x1,'colPathMap':_0x3d5856,'tableFieldId':_0x2aa3ab}),_0x31b17f++;}return{'itemSize':0x1*_0x2a4e86,'topTotalSize':0x0,'bottomTotalSize':0x0,'colPathMap':_0x3d5856};}else{const _0x48e9b0=_0x1452c5?_0x454f5e[_0x31c994[0x0]]:-0x1;return _0x14290d[_0x5a5341(0x1e3)](_0x152a59,{'level':_0x438b41,'paths':_0x316f90[_0x5a5341(0x20c)](),'valueIndex':_0x48e9b0,'colPathMap':_0x3d5856,'tableFieldId':_0x2aa3ab}),{'itemSize':0x1,'topTotalSize':0x0,'bottomTotalSize':0x0,'colPathMap':_0x3d5856};}}static[_0x1dde55(0x275)](_0x1f07ca,_0xea4f37){const _0x19dcb0=_0x1dde55,_0x5b82bc=[],_0x28afb1={};return _0x28afb1['']=_0xea4f37[_0x19dcb0(0x251)](),_0xea4f37[_0x19dcb0(0x181)]()||_0xea4f37[_0x19dcb0(0x1a4)](_0x41ee13=>{const _0x2a8ff7=_0x19dcb0;this[_0x2a8ff7(0x294)](_0x1f07ca,_0x41ee13,_0x5b82bc[_0x2a8ff7(0x1c5)]([_0x41ee13[_0x2a8ff7(0x278)]]),_0x28afb1);}),_0x28afb1;}static['iterateColLeafNodeChildren'](_0x1930f3,_0x8408c6,_0x5a2303,_0xd70a6a){const _0x1e76c9=_0x1dde55,{summaryManager:_0xf678e}=_0x1930f3,_0x58d8da=_0xf678e[_0x1e76c9(0x24d)](_0x5a2303,_0xf678e[_0x1e76c9(0x168)]);_0xd70a6a[_0x58d8da]=_0x8408c6[_0x1e76c9(0x251)](),_0x8408c6[_0x1e76c9(0x194)]||_0x8408c6[_0x1e76c9(0x1a4)](_0x2e1af3=>{const _0x15e53f=_0x1e76c9,_0x3b29df=_0x5a2303[_0x15e53f(0x1c5)]([_0x2e1af3['name']]);this[_0x15e53f(0x294)](_0x1930f3,_0x2e1af3,_0x3b29df,_0xd70a6a);});}static[_0x1dde55(0x23f)](_0x53409f,_0xc1074a,_0x4431f4){const _0xfbb47d=_0x1dde55;if(this['isLeafNode'](_0xc1074a,_0x53409f[_0xfbb47d(0x346)])){const _0x3cb61a=this['buildColPathMap'](_0x53409f,_0xc1074a);_0x4431f4['push'](_0x3cb61a);}else _0xc1074a[_0xfbb47d(0x1a4)](_0x21052c=>{const _0x127484=_0xfbb47d;this[_0x127484(0x23f)](_0x53409f,_0x21052c,_0x4431f4);});}static[_0x1dde55(0x30d)](_0x416e39,_0x330628,_0x58ff02,_0x18de3b){const _0x15a527=_0x1dde55,{isColMultiMeasure:_0x212a23,valueIndex:_0x154590,view:_0x254353,measuresMap:_0x5201f4,summaryManager:_0x6f6d06}=_0x416e39,_0x20ba16=_0x330628[_0x15a527(0x2e4)]();let _0xb07a9e=_0x58ff02;const _0x2ed45a={'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0,'colPathMap':{}},_0x23e999=[],_0xca5ae7=this[_0x15a527(0x247)](_0x212a23,_0x330628[_0x15a527(0x2e4)](),_0x154590),_0x4baaba=_0x6f6d06[_0x15a527(0x24d)](_0x330628['getPaths'](),_0x6f6d06[_0x15a527(0x185)]);if(_0xca5ae7){let _0x3aa4d1=0x0;for(const _0x358385 of _0x18de3b){const _0x56eb0d=this[_0x15a527(0x22a)](_0x20ba16,_0x154590,_0x212a23);_0x254353[_0x15a527(0x1f6)][_0x15a527(0x25e)](_0x56eb0d+0x1,_0xb07a9e,_0x5201f4[_0x358385][_0x15a527(0x183)]),_0x330628[_0x15a527(0x1a4)](_0x180ea0=>{const _0x85f11b=_0x15a527,_0x4f4e1c=this[_0x85f11b(0x1d0)](_0x416e39,_0x180ea0,_0xb07a9e,[_0x358385]),{itemSize:_0x1d2455,topTotalSize:_0x5d812a,bottomTotalSize:_0x3e6973}=_0x4f4e1c;_0x2ed45a[_0x85f11b(0x20b)]+=_0x1d2455,_0x2ed45a[_0x85f11b(0x217)]+=_0x5d812a,_0x2ed45a['bottomTotalSize']+=_0x3e6973,_0xb07a9e+=this['getRealSize'](_0x4f4e1c),_0x3aa4d1===0x0&&_0x23e999['push'](_0x4f4e1c['colPathMap']);}),_0x3aa4d1++;}const _0x2faf55=_0x6f6d06[_0x15a527(0x175)](_0x23e999,_0x4baaba);_0x2ed45a[_0x15a527(0x20d)]=_0x2faf55,_0xb07a9e++;}else{_0x330628[_0x15a527(0x1a4)](_0x4360df=>{const _0x2067d7=_0x15a527,_0x53ab66=this[_0x2067d7(0x1d0)](_0x416e39,_0x4360df,_0xb07a9e,_0x18de3b),{itemSize:_0xb812e,topTotalSize:_0x395e80,bottomTotalSize:_0x27e778}=_0x53ab66;_0x2ed45a[_0x2067d7(0x20b)]+=_0xb812e,_0x2ed45a[_0x2067d7(0x217)]+=_0x395e80,_0x2ed45a[_0x2067d7(0x2bb)]+=_0x27e778,_0xb07a9e+=this[_0x2067d7(0x1f5)](_0x53ab66),_0x23e999[_0x2067d7(0x224)](_0x53ab66['colPathMap']);});const _0x1e2e1d=_0x6f6d06[_0x15a527(0x175)](_0x23e999,_0x4baaba);_0x2ed45a[_0x15a527(0x20d)]=_0x1e2e1d;}return _0x2ed45a;}static['shouldMultipleTotal'](_0x42f96e,_0x4ef0bf,_0x11baa6){return _0x42f96e&&_0x4ef0bf<=_0x11baa6;}static[_0x1dde55(0x247)](_0x3c3a2b,_0x47c4a0,_0x126ce1){return _0x3c3a2b&&_0x47c4a0===_0x126ce1;}static[_0x1dde55(0x22a)](_0x547a9d,_0x462a92,_0x41682b){return _0x41682b?_0x547a9d<=_0x462a92?_0x547a9d:_0x547a9d+0x1:_0x547a9d;}static[_0x1dde55(0x1d0)](_0x1ac289,_0x1b489a,_0x564880,_0x8b3047){const _0xd802cd=_0x1dde55,{view:_0x4c3a6f,colDeep:_0x367663,measureCount:_0x55c58e,isColMultiMeasure:_0x296e6a,valueIndex:_0x45df60,summaryManager:_0x4fdea8}=_0x1ac289,_0x2de83a=_0x4c3a6f[_0xd802cd(0x1f6)],_0x48e557=_0x1b489a[_0xd802cd(0x278)],_0x3b0968=_0x1b489a['type']===x[_0xd802cd(0x1ca)],_0x3d2b61=_0x1b489a[_0xd802cd(0x1e9)]===x[_0xd802cd(0x1e7)]||_0x1b489a[_0xd802cd(0x1e9)]===x[_0xd802cd(0x343)],_0x48b539=_0x1b489a['getLevel'](),_0x5a6ad4=this[_0xd802cd(0x22a)](_0x48b539,_0x45df60,_0x296e6a),_0xd9fb86=this[_0xd802cd(0x281)](_0x296e6a,_0x48b539,_0x45df60),_0x5e5535=_0x1b489a[_0xd802cd(0x2ad)](),_0x5077a9=this[_0xd802cd(0x21a)](_0x1b489a,_0x367663);if(_0x48b539!==0x0){const _0x43705d=_0x3d2b61?Number(_0x48e557):_0x48e557;_0x2de83a[_0xd802cd(0x25e)](_0x5a6ad4,_0x564880,_0x43705d),_0x3b0968&&_0x2de83a[_0xd802cd(0x20e)](_0x5a6ad4,_0x564880),_0x5077a9||_0x2de83a['setStyle'](_0x5a6ad4,_0x564880,_0x5e5535?b[_0xd802cd(0x2a3)]:b[_0xd802cd(0x27c)]);}if(_0x5e5535){if(_0x5077a9)return{'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0,'colPathMap':this[_0xd802cd(0x275)](_0x1ac289,_0x1b489a)};const _0x422e41=[];this[_0xd802cd(0x23f)](_0x1ac289,_0x1b489a,_0x422e41);const _0x2d09a9=_0x4fdea8[_0xd802cd(0x24d)](_0x1b489a['getPaths'](),_0x4fdea8[_0xd802cd(0x185)]),_0x11d36e=_0x4fdea8[_0xd802cd(0x175)](_0x422e41,_0x2d09a9);return this[_0xd802cd(0x172)](_0x1ac289,_0x564880,_0x1b489a,_0x8b3047,_0x11d36e),{'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':_0xd9fb86?_0x55c58e:0x1,'colPathMap':_0x11d36e};}if(_0x5077a9)return this[_0xd802cd(0x1dd)](_0x1ac289,_0x1b489a,_0x564880,_0x8b3047);{const _0x557527=this[_0xd802cd(0x30d)](_0x1ac289,_0x1b489a,_0x564880,_0x8b3047),_0x361272=this[_0xd802cd(0x1f5)](_0x557527);return this[_0xd802cd(0x172)](_0x1ac289,_0x564880+_0x361272,_0x1b489a,_0x8b3047,_0x557527[_0xd802cd(0x20d)]),_0xd9fb86?_0x557527[_0xd802cd(0x2bb)]+=_0x55c58e:_0x557527[_0xd802cd(0x2bb)]++,_0x557527;}}static[_0x1dde55(0x34c)](_0x2fa09a,_0x355e01,_0x26d96d){return _0x2fa09a?_0x26d96d[_0x355e01[0x0]]:-0x1;}static['updateColumnSubtotal'](_0x8f34a9,_0x435bc5,_0x33bc12,_0xfae46c,_0x547c2b){const _0x368523=_0x1dde55,{view:_0xfcf711,isColMultiMeasure:_0xc2c6d6,valueIndex:_0x39e334,measuresMap:_0x20fe0f,measureIndexesMap:_0x5e9f37,colDeep:_0x32db87}=_0x8f34a9,_0x3daf96=_0xfcf711['colView'],_0x246271=_0x33bc12[_0x368523(0x278)],_0x4d46ff=_0x33bc12[_0x368523(0x2e4)](),_0x2e7275=this[_0x368523(0x281)](_0xc2c6d6,_0x4d46ff,_0x39e334);if(_0x4d46ff===0x0){const _0x4f7e57=_0x32db87===0x0?0x0:0x1;if(_0x2e7275){let _0x234957=0x0;for(const _0x434e97 of _0xfae46c){const {displayName:_0x24e196}=_0x20fe0f[_0x434e97];_0x3daf96['setValue'](_0x4f7e57,_0x234957+_0x435bc5,''+_0x24e196),_0x3daf96[_0x368523(0x2d2)](_0x4f7e57,_0x234957+_0x435bc5,b[_0x368523(0x204)]),_0x3daf96[_0x368523(0x1e3)](_0x234957+_0x435bc5,{'level':_0x4d46ff,'paths':_0x33bc12[_0x368523(0x20c)](),'valueIndex':_0x234957,'isBottomTotal':!0x0,'colPathMap':_0x547c2b,'tableFieldId':''}),_0x234957++;}}else{_0x3daf96[_0x368523(0x25e)](_0x4f7e57,_0x435bc5,''),_0x3daf96[_0x368523(0x2d2)](_0x4f7e57,_0x435bc5,b[_0x368523(0x2bf)]);const _0x32f452=this['getMeasureIndex'](_0xc2c6d6,_0xfae46c,_0x5e9f37);_0x3daf96[_0x368523(0x1e3)](_0x435bc5,{'level':_0x4d46ff,'paths':_0x33bc12[_0x368523(0x20c)](),'valueIndex':_0x32f452,'isBottomTotal':!0x0,'colPathMap':_0x547c2b,'tableFieldId':''});}}else{let _0x237c97=this[_0x368523(0x22a)](_0x4d46ff,_0x39e334,_0xc2c6d6);const _0x30f23f=_0x33bc12[_0x368523(0x2ad)](),_0x40027b=_0x33bc12['getFieldsId'](),_0x463817=_0x33bc12[_0x368523(0x1e9)]===x['blank'];if(_0x30f23f&&_0x237c97++,_0x2e7275){let _0x1785b0=0x0;const _0x2e1045=_0x39e334;for(const _0x3b230b of _0xfae46c){const {displayName:_0x4c0a4b}=_0x20fe0f[_0x3b230b],_0x144d0c=_0x30f23f?''+_0x4c0a4b:{'prefix':_0x33bc12[_0x368523(0x278)],'value':_0x4c0a4b};_0x3daf96[_0x368523(0x2d2)](_0x2e1045,_0x435bc5+_0x1785b0,b[_0x368523(0x29b)]),_0x3daf96[_0x368523(0x25e)](_0x2e1045,_0x435bc5+_0x1785b0,_0x144d0c),_0x463817&&_0x3daf96[_0x368523(0x20e)](_0x237c97,_0x435bc5+_0x1785b0),_0x3daf96[_0x368523(0x1e3)](_0x435bc5+_0x1785b0,{'level':_0x4d46ff,'paths':_0x33bc12['getPaths'](),'valueIndex':_0x1785b0,'isBottomTotal':!0x0,'colPathMap':_0x547c2b,'tableFieldId':_0x40027b}),_0x1785b0++;}}else{_0x3daf96[_0x368523(0x25e)](_0x237c97,_0x435bc5,''+_0x246271),_0x463817&&_0x3daf96['setBlank'](_0x237c97,_0x435bc5),_0x3daf96[_0x368523(0x2d2)](_0x237c97,_0x435bc5,b[_0x368523(0x29b)]);const _0x4f86be=this[_0x368523(0x34c)](_0xc2c6d6,_0xfae46c,_0x5e9f37);_0x3daf96['setInfo'](_0x435bc5,{'level':_0x4d46ff,'paths':_0x33bc12[_0x368523(0x20c)](),'valueIndex':_0x4f86be,'isBottomTotal':!0x0,'colPathMap':_0x547c2b,'tableFieldId':_0x40027b});}}}}class xt extends Ct{static[_0x1dde55(0x1a2)](_0x260d8a,_0x1684bc,_0x73878f){const _0x747e66=_0x1dde55,_0x2eb521=this[_0x747e66(0x200)](_0x260d8a,_0x1684bc,_0x73878f);return this['layoutPage'](_0x2eb521),this[_0x747e66(0x28c)](_0x2eb521),this['layoutRowFields'](_0x2eb521),this[_0x747e66(0x255)](_0x2eb521),this['layoutCorner'](_0x2eb521),_0x2eb521['view'];}static[_0x1dde55(0x341)](_0x56c8f6){const _0x180d9e=_0x1dde55,{rowDeep:_0x467daa,colDeep:_0x56bd29,view:_0x58b367,measureCount:_0x51c598,isRowMultiMeasure:_0x4a0c82,isColMultiMeasure:_0x431a3c,valueIndex:_0x4feadc}=_0x56c8f6,_0x165559=_0x56c8f6[_0x180d9e(0x169)]['rowQueryInfo'],_0x2a4e8b=_0x56c8f6[_0x180d9e(0x169)][_0x180d9e(0x2ab)],_0x220b64=_0x58b367['cornerView'],_0xc1fbc4=_0x58b367[_0x180d9e(0x1f6)],_0x260627=_0x58b367[_0x180d9e(0x288)];let _0x3b10e5=_0xc1fbc4['rowCount'];_0x3b10e5===0x0&&_0x467daa!==0x0&&(_0x3b10e5=0x1);let _0x20a8c9=_0x260627[_0x180d9e(0x19b)];_0x467daa===0x0&&(_0x51c598===0x0&&(_0x20a8c9=0x0),_0x51c598===0x1&&(_0x20a8c9=0x1),_0x51c598>0x1&&_0x4a0c82&&(_0x20a8c9=0x1),_0x51c598>0x1&&_0x431a3c&&(_0x20a8c9=0x0)),_0x220b64['setRowCount'](_0x3b10e5),_0x220b64[_0x180d9e(0x209)](_0x20a8c9),_0x51c598===0x1&&_0x56bd29>0x0&&_0x467daa>0x0&&_0x220b64[_0x180d9e(0x25e)](0x0,0x0,_0x2a4e8b[0x0]['displayName']);let _0x2a3404=0x0,_0x1ea73a=!0x1;const _0x15119d=_0x3b10e5-0x1;for(let _0x7ab4ad=0x0;_0x7ab4ad<_0x467daa;_0x7ab4ad++){const _0x4d875f=_0x165559[_0x7ab4ad],{displayName:_0x4dc659,filterInfo:_0x5119f7,sortInfo:_0x2bf689,dataFieldId:_0x24ae02,id:_0x442d7b}=_0x4d875f;_0x4a0c82&&_0x7ab4ad===_0x4feadc&&(_0x220b64[_0x180d9e(0x25e)](_0x15119d,_0x2a3404,_0x180d9e(0x16f)),_0x1ea73a=!0x0,_0x220b64['setInfo'](_0x2a3404,{'paths':[],'level':-0x1,'tableFieldId':'','dataFieldId':'','valueIndex':-0x1,'isValue':!0x0}),_0x260627[_0x180d9e(0x34f)](_0x2a3404,{'isValue':!0x0,'level':-0x1,'tableFieldId':'','dataFieldId':''}),_0x2a3404++),_0x220b64['setValue'](_0x15119d,_0x2a3404,_0x4dc659),_0x260627[_0x180d9e(0x34f)](_0x2a3404,{'isValue':!0x1,'level':_0x7ab4ad,'tableFieldId':_0x442d7b,'dataFieldId':_0x24ae02}),_0x220b64[_0x180d9e(0x2d2)](_0x15119d,_0x2a3404,ot(_0x5119f7,_0x2bf689)),_0x220b64[_0x180d9e(0x1e3)](_0x2a3404,{'paths':[],'level':_0x7ab4ad,'tableFieldId':_0x442d7b,'dataFieldId':_0x24ae02,'valueIndex':-0x1}),_0x2a3404++;}!_0x1ea73a&&_0x4a0c82&&(_0x220b64['setValue'](_0x15119d,_0x2a3404,_0x180d9e(0x16f)),_0x260627['addHeaderMapItem'](_0x2a3404,{'isValue':!0x0,'level':-0x1,'tableFieldId':'','dataFieldId':''}));}static['layoutRowFields'](_0x4edece){const _0x1499b7=_0x1dde55,{rowNodeTree:_0x2a1ace,view:_0x5bf353,rowDeep:_0x170d66,isRowMultiMeasure:_0x40b67f,valueQueryInfo:_0x213fc4}=_0x4edece,_0x5d4a44=0x0,_0x1087c8=_0x40b67f?_0x213fc4['map'](_0x81387f=>_0x81387f['id']):[],_0x5c6181=this['layoutRowNode'](_0x4edece,_0x2a1ace,_0x5d4a44,_0x1087c8),_0x550a6c=_0x5bf353[_0x1499b7(0x288)],_0x28f48a=_0x40b67f?_0x170d66+0x1:_0x170d66;_0x550a6c['setRowCount'](this[_0x1499b7(0x1f5)](_0x5c6181)),_0x550a6c[_0x1499b7(0x209)](_0x28f48a);}static[_0x1dde55(0x1d9)](_0x2c0e7f,_0x59bb81,_0x26fb0e,_0x150f1b){const _0x4633bd=_0x1dde55,{view:_0x4f20b8,isRowMultiMeasure:_0x2dd240,valueIndex:_0x37289a,measureCount:_0x48b09e,measuresMap:_0x2a1d05,measureIndexesMap:_0x37b9aa}=_0x2c0e7f,_0x1cb143=_0x4f20b8[_0x4633bd(0x288)],_0x371c85=_0x59bb81[_0x4633bd(0x2e4)](),_0x1cdb53=_0x59bb81['type']===x[_0x4633bd(0x1ca)],_0x2a91d3=this['shouldMultipleNode'](_0x2dd240,_0x371c85,_0x37289a),_0x4e51b7=_0x59bb81[_0x4633bd(0x322)]();if(_0x2a91d3){let _0x487c5c=0x0;for(const _0x4ade22 of _0x150f1b){const _0x416333=this[_0x4633bd(0x1f1)](_0x371c85,_0x37289a,_0x2dd240)+0x1;_0x1cb143[_0x4633bd(0x25e)](_0x26fb0e+_0x487c5c,_0x416333,_0x2a1d05[_0x4ade22][_0x4633bd(0x183)]),_0x1cdb53&&_0x1cb143['setBlank'](_0x26fb0e+_0x487c5c,_0x416333),_0x1cb143[_0x4633bd(0x1e3)](_0x26fb0e+_0x487c5c,{'paths':_0x59bb81[_0x4633bd(0x20c)](),'valueIndex':_0x2dd240?_0x487c5c:-0x1,'level':_0x371c85,'tableFieldId':_0x4e51b7}),this['startContent'](_0x2c0e7f,_0x59bb81,_0x26fb0e+_0x487c5c,_0x487c5c),_0x487c5c++;}return{'itemSize':0x1*_0x48b09e,'topTotalSize':0x0,'bottomTotalSize':0x0};}else{const _0x279c17=_0x2dd240?_0x37b9aa[_0x150f1b[0x0]]:-0x1;return _0x1cb143[_0x4633bd(0x1e3)](_0x26fb0e,{'level':_0x371c85,'paths':_0x59bb81[_0x4633bd(0x20c)](),'valueIndex':_0x279c17,'tableFieldId':_0x4e51b7}),_0x371c85===0x0&&_0x48b09e===0x0?{'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0,'valueIndex':_0x279c17}:(this['startContent'](_0x2c0e7f,_0x59bb81,_0x26fb0e,_0x279c17),{'itemSize':0x1,'topTotalSize':0x0,'bottomTotalSize':0x0,'valueIndex':_0x279c17});}}static[_0x1dde55(0x1bf)](_0x5be9dc,_0x4cd8c6,_0x564bf4,_0x54c345){const _0x1728e6=_0x1dde55,{measureCount:_0x5b8ce1}=_0x5be9dc;_0x5b8ce1<=0x0||(_0x4cd8c6[_0x1728e6(0x1a4)](_0x284af0=>{const _0x20eccb=_0x1728e6;this[_0x20eccb(0x27f)](_0x5be9dc,_0x284af0,_0x564bf4,_0x54c345,[_0x284af0[_0x20eccb(0x278)]]);}),this[_0x1728e6(0x2d8)](_0x5be9dc,_0x4cd8c6,_0x564bf4,[],_0x54c345));}static[_0x1dde55(0x27f)](_0x5c3146,_0x3a8aae,_0x939b8e,_0x48b290,_0x1eeb87){const _0x2514b5=_0x1dde55,_0x36139f=_0x3a8aae[_0x2514b5(0x181)]();this['layoutValueLeafNode'](_0x5c3146,_0x3a8aae,_0x939b8e,_0x1eeb87,_0x48b290),_0x36139f||(this['layoutValueNodeSubtotal'](_0x5c3146,_0x939b8e),_0x3a8aae[_0x2514b5(0x1a4)](_0x1919c4=>{const _0x433089=_0x2514b5,_0x4ddf66=_0x1eeb87[_0x433089(0x1c5)](_0x1919c4[_0x433089(0x278)]);this[_0x433089(0x27f)](_0x5c3146,_0x1919c4,_0x939b8e,_0x48b290,_0x4ddf66);}));}static[_0x1dde55(0x320)](_0x4f0485,_0x2cbd6f){const _0x3a344d=_0x1dde55,{view:_0x935e16,summaryManager:_0x33025c,valueQueryInfo:_0xdf4eda,rowDeep:_0x48732d,measureCount:_0x1aa421}=_0x4f0485,_0xa78e7b=_0x935e16[_0x3a344d(0x2fe)],_0x1d32a1=_0x935e16['colView'],_0x71a172=_0x935e16[_0x3a344d(0x288)][_0x3a344d(0x2d6)][_0x2cbd6f],_0x561d58=_0x71a172[_0x3a344d(0x212)];if(!(_0x71a172[_0x3a344d(0x1a0)]===_0x48732d||_0x1aa421<=0x0))for(let _0xc4cb7a=0x0;_0xc4cb7a<_0x1d32a1[_0x3a344d(0x2d6)]['length'];_0xc4cb7a++){const _0x9380f3=_0x1d32a1[_0x3a344d(0x2d6)][_0xc4cb7a],{colPathMap:_0x182bc5}=_0x9380f3,_0x14e401=_0x33025c['getPathKeyWithFiledId'](_0x561d58,_0x33025c[_0x3a344d(0x168)]),_0x52460f=_0x182bc5==null?void 0x0:_0x182bc5[_0x14e401],{dataFieldId:_0x21d505,subtotal:_0x1581a1}=this['getMeasureInfoByIndex'](_0x4f0485,_0xdf4eda,_0x71a172,_0x9380f3);if(_0x52460f){const _0xb3fcb6=_0x33025c[_0x3a344d(0x21e)](_0x52460f,_0x21d505,_0x1581a1);_0xb3fcb6!==void 0x0&&_0xa78e7b[_0x3a344d(0x25e)](_0x2cbd6f,_0xc4cb7a,_0xb3fcb6);}}}static['getMeasureInfoByIndex'](_0x17044b,_0x2ade47,_0x1b7c46,_0x40c7d8){const _0x151a25=_0x1dde55,{isColMultiMeasure:_0x187dc7,isRowMultiMeasure:_0x21b767}=_0x17044b;return _0x187dc7?_0x2ade47[_0x40c7d8[_0x151a25(0x292)]]:_0x21b767?_0x2ade47[_0x1b7c46['valueIndex']]:_0x2ade47[0x0];}static[_0x1dde55(0x2d8)](_0x4d5062,_0x2aa356,_0x218226,_0x5ef558,_0x508e46){const _0x5fc8df=_0x1dde55,{view:_0x28b6de,colMap:_0x351265,isColMultiMeasure:_0x2824ae,measureCount:_0x56001c}=_0x4d5062,_0x176f7f=_0x28b6de[_0x5fc8df(0x2fe)],_0xe04f73=[];if(_0x508e46===-0x1){if(_0x2824ae){for(let _0x3e24be=0x0;_0x3e24be<_0x56001c;_0x3e24be++)_0xe04f73[_0x5fc8df(0x224)](_0x3e24be);}else _0x56001c>0x0&&_0xe04f73[_0x5fc8df(0x224)](0x0);}else _0xe04f73[_0x5fc8df(0x224)](_0x508e46);for(const _0x20b2bb of _0xe04f73){const _0x2f2453=at(_0x5ef558,_0x20b2bb,_0x2824ae),_0x405494=_0x351265[_0x2f2453],_0x4a9887=this[_0x5fc8df(0x29e)](_0x4d5062,_0x2aa356,_0x20b2bb);_0x4a9887!==void 0x0&&_0x176f7f[_0x5fc8df(0x25e)](_0x218226,_0x405494,_0x4a9887);}}static[_0x1dde55(0x1f1)](_0x40b697,_0x438da6,_0xe7ed82){return _0xe7ed82?_0x40b697<=_0x438da6?_0x40b697-0x1:_0x40b697:_0x40b697-0x1;}static[_0x1dde55(0x287)](_0xc11ae,_0x5eb980,_0x4e7322,_0x1e331b){const _0x450642=_0x1dde55,{isRowMultiMeasure:_0x3af189,valueIndex:_0x166a21,view:_0x4fa0c7,measuresMap:_0x2d6bec}=_0xc11ae,_0x36cceb=_0x5eb980[_0x450642(0x2e4)]();let _0x1edafc=_0x4e7322;const _0x459e3f={'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0},_0xc74bd1=this[_0x450642(0x247)](_0x3af189,_0x5eb980['getLevel'](),_0x166a21),_0x25b8ab=_0x5eb980[_0x450642(0x1e9)]===x['blank'];if(_0xc74bd1){for(const _0x3a39f5 of _0x1e331b){const _0x51948e=this[_0x450642(0x1f1)](_0x36cceb,_0x166a21,_0x3af189),_0x12c2a0=_0x4fa0c7[_0x450642(0x288)];_0x12c2a0[_0x450642(0x25e)](_0x1edafc,_0x51948e+0x1,_0x2d6bec[_0x3a39f5][_0x450642(0x183)]),_0x25b8ab&&_0x12c2a0[_0x450642(0x20e)](_0x1edafc,_0x51948e+0x1),_0x5eb980[_0x450642(0x1a4)](_0x528a72=>{const _0x29d5f6=_0x450642,_0x548292=this[_0x29d5f6(0x360)](_0xc11ae,_0x528a72,_0x1edafc,[_0x3a39f5]),{itemSize:_0x270602,topTotalSize:_0x106a4e,bottomTotalSize:_0x3175ad}=_0x548292;_0x459e3f[_0x29d5f6(0x20b)]+=_0x270602,_0x459e3f['topTotalSize']+=_0x106a4e,_0x459e3f['bottomTotalSize']+=_0x3175ad,_0x1edafc+=this[_0x29d5f6(0x1f5)](_0x548292);});}_0x1edafc++;}else _0x5eb980[_0x450642(0x1a4)](_0x476a7b=>{const _0x304d7d=_0x450642,_0xc8cf54=this[_0x304d7d(0x360)](_0xc11ae,_0x476a7b,_0x1edafc,_0x1e331b),{itemSize:_0x324142,topTotalSize:_0x5b907f,bottomTotalSize:_0x28d522}=_0xc8cf54;_0x459e3f[_0x304d7d(0x20b)]+=_0x324142,_0x459e3f['topTotalSize']+=_0x5b907f,_0x459e3f[_0x304d7d(0x2bb)]+=_0x28d522,_0x1edafc+=this[_0x304d7d(0x1f5)](_0xc8cf54);});return _0x459e3f;}static[_0x1dde55(0x360)](_0x261b04,_0x1d44f7,_0x45979f,_0x5754e9){const _0x18d633=_0x1dde55,{view:_0x7d77d7,rowDeep:_0x5e6c3f,isRowMultiMeasure:_0x52c057,valueIndex:_0x357bbd,measureCount:_0x2689b9}=_0x261b04,_0x4cc451=_0x7d77d7['rowView'],_0x1c0786=_0x1d44f7['name'],_0x4d9bd2=_0x1d44f7['getLevel'](),_0x5352bc=this[_0x18d633(0x1f1)](_0x4d9bd2,_0x357bbd,_0x52c057),_0x166826=_0x1d44f7[_0x18d633(0x2ad)](),_0x1580b2=this[_0x18d633(0x21a)](_0x1d44f7,_0x5e6c3f),_0x2faa0c=_0x1d44f7[_0x18d633(0x1e9)]===x[_0x18d633(0x1ca)],_0x143e6a=_0x1d44f7[_0x18d633(0x1e9)]===x[_0x18d633(0x1e7)]||_0x1d44f7[_0x18d633(0x1e9)]===x[_0x18d633(0x343)],_0x2f03dc=_0x4d9bd2===0x0;if(!_0x2f03dc){const _0x135714=_0x143e6a?Number(_0x1c0786):_0x1c0786;_0x4cc451[_0x18d633(0x25e)](_0x45979f,_0x5352bc,_0x135714),_0x2faa0c&&_0x4cc451[_0x18d633(0x20e)](_0x45979f,_0x5352bc),_0x1580b2||_0x4cc451[_0x18d633(0x2d2)](_0x45979f,_0x5352bc,_0x166826?b['Collapse']:b[_0x18d633(0x27c)]);}if(_0x1580b2)return _0x2f03dc&&!_0x52c057&&_0x2689b9>0x0&&(_0x4cc451[_0x18d633(0x25e)](_0x45979f,0x0,''),_0x4cc451[_0x18d633(0x2d2)](_0x45979f,0x0,b[_0x18d633(0x2bf)])),this[_0x18d633(0x1d9)](_0x261b04,_0x1d44f7,_0x45979f,_0x5754e9);{let _0x1f0ac7=_0x45979f,_0x45f529={'itemSize':0x0,'topTotalSize':0x0,'bottomTotalSize':0x0};return _0x166826||(_0x45f529=this[_0x18d633(0x287)](_0x261b04,_0x1d44f7,_0x45979f,_0x5754e9),_0x1f0ac7+=this[_0x18d633(0x1f5)](_0x45f529)),this[_0x18d633(0x271)](_0x261b04,_0x1f0ac7,_0x1d44f7,_0x5754e9),this[_0x18d633(0x281)](_0x52c057,_0x4d9bd2,_0x357bbd)?_0x45f529[_0x18d633(0x2bb)]+=_0x2689b9:_0x45f529['bottomTotalSize']++,_0x45f529;}}static[_0x1dde55(0x271)](_0x3da65c,_0x2be533,_0x3fab44,_0x2f0cf7){const _0x24180f=_0x1dde55,{view:_0x255a8a,isRowMultiMeasure:_0x524c70,valueIndex:_0x109723,measuresMap:_0x1177d4,measureIndexesMap:_0x4f09e0}=_0x3da65c,_0x5194ab=_0x255a8a[_0x24180f(0x288)],_0x20dd3f=_0x3fab44['getLevel'](),_0x179cef=this[_0x24180f(0x281)](_0x524c70,_0x20dd3f,_0x109723);if(_0x20dd3f===0x0){if(_0x179cef){let _0x34fba5=0x0;for(const _0x19e79b of _0x2f0cf7){const {displayName:_0x9ca593}=_0x1177d4[_0x19e79b];_0x5194ab[_0x24180f(0x25e)](_0x34fba5+_0x2be533,0x0,''+_0x9ca593),_0x5194ab[_0x24180f(0x2d2)](_0x34fba5+_0x2be533,0x0,b['MultipleGrandTotal']),_0x5194ab['setInfo'](_0x34fba5+_0x2be533,{'paths':_0x3fab44['getPaths'](),'valueIndex':_0x34fba5,'isBottomTotal':!0x0,'level':_0x20dd3f,'tableFieldId':''}),this[_0x24180f(0x320)](_0x3da65c,_0x2be533+_0x34fba5),_0x34fba5++;}}else{_0x5194ab['setValue'](_0x2be533,0x0,''),_0x5194ab[_0x24180f(0x2d2)](_0x2be533,0x0,b['GrandTotal']);const _0x14a29d=_0x524c70?_0x4f09e0[_0x2f0cf7[0x0]]:-0x1;_0x5194ab[_0x24180f(0x1e3)](_0x2be533,{'paths':_0x3fab44[_0x24180f(0x20c)](),'valueIndex':_0x14a29d,'isBottomTotal':!0x0,'level':_0x20dd3f,'tableFieldId':''}),this[_0x24180f(0x320)](_0x3da65c,_0x2be533);}}else{let _0x385b70=this['getColIndexForRowHeader'](_0x20dd3f,_0x109723,_0x524c70);const _0x5971cf=_0x3fab44['getCollapse'](),_0x5a41eb=_0x3fab44[_0x24180f(0x322)](),_0x367269=_0x3fab44['type']===x[_0x24180f(0x1ca)];if(_0x5971cf&&_0x385b70++,_0x179cef){let _0x529ba2=0x0;const _0x1835e3=_0x3da65c['valueIndex'];for(const _0x1c8610 of _0x2f0cf7){const {displayName:_0x10c3f5}=_0x1177d4[_0x1c8610];if(_0x5971cf)_0x5194ab[_0x24180f(0x25e)](_0x2be533+_0x529ba2,_0x1835e3,_0x10c3f5);else{const _0x224314=_0x5971cf?''+_0x10c3f5:{'prefix':_0x3fab44[_0x24180f(0x278)],'value':_0x10c3f5};_0x5194ab[_0x24180f(0x25e)](_0x2be533+_0x529ba2,_0x385b70,_0x224314),_0x367269&&_0x5194ab[_0x24180f(0x20e)](_0x2be533+_0x529ba2,_0x385b70),_0x5194ab['setStyle'](_0x2be533+_0x529ba2,_0x385b70,b[_0x24180f(0x29b)]);}_0x5194ab[_0x24180f(0x1e3)](_0x2be533+_0x529ba2,{'paths':_0x3fab44['getPaths'](),'valueIndex':_0x529ba2,'isBottomTotal':!0x0,'level':_0x20dd3f,'tableFieldId':_0x5a41eb}),this['layoutValueNodeSubtotal'](_0x3da65c,_0x2be533+_0x529ba2),_0x529ba2++;}}else{_0x5971cf||(_0x5194ab[_0x24180f(0x25e)](_0x2be533,_0x385b70,_0x3fab44[_0x24180f(0x278)]),_0x367269&&_0x5194ab[_0x24180f(0x20e)](_0x2be533,_0x385b70),_0x5194ab[_0x24180f(0x2d2)](_0x2be533,_0x385b70,b[_0x24180f(0x29b)]));const _0x2203b7=_0x524c70?_0x4f09e0[_0x2f0cf7[0x0]]:-0x1;_0x5194ab[_0x24180f(0x1e3)](_0x2be533,{'paths':_0x3fab44[_0x24180f(0x20c)](),'valueIndex':_0x2203b7,'isBottomTotal':!0x0,'level':_0x20dd3f,'tableFieldId':_0x5a41eb}),this['layoutValueNodeSubtotal'](_0x3da65c,_0x2be533);}}}}class Dt{constructor(){const _0x469d09=_0x1dde55;r(this,_0x469d09(0x2b8),[]),r(this,_0x469d09(0x1c8),{}),r(this,_0x469d09(0x364),{}),r(this,_0x469d09(0x1bc),[]),r(this,_0x469d09(0x166),[]),r(this,_0x469d09(0x1c1),[]),r(this,_0x469d09(0x241),{}),r(this,'rowDeep',0x0),r(this,_0x469d09(0x346),0x0);}[_0x1dde55(0x20a)](_0x521ed5,_0x55fff6){const _0x238f8d=_0x1dde55,{valueQueryInfo:_0x4dd4b2,rowQueryInfo:_0xe28d7b,colQueryInfo:_0xf43e06,filterQueryInfo:_0x3f3075}=_0x55fff6;for(const _0x4f44b3 of _0x4dd4b2){const _0x3014bf=_0x4f44b3[_0x238f8d(0x280)],_0xb81e24=_0x521ed5[_0x238f8d(0x202)](_0x3014bf);if(!_0xb81e24)continue;this[_0x238f8d(0x364)][_0x3014bf]||(this[_0x238f8d(0x1c1)][_0x238f8d(0x224)](_0x3014bf),this['measuresMap'][_0x3014bf]={'field':_0xb81e24,'subTotal':[]});const _0x11d964=this[_0x238f8d(0x364)][_0x3014bf],{subtotal:_0x4dd7f3}=_0x4f44b3;_0x11d964[_0x238f8d(0x2dc)][_0x238f8d(0x214)](_0x4dd7f3)||_0x11d964[_0x238f8d(0x2dc)][_0x238f8d(0x224)](_0x4dd7f3);}const _0x4eb4b8=_0xe28d7b['length']+_0xf43e06['length'];let _0x7db3f3=0x0;for(const _0x4fd1fb of[..._0xe28d7b,..._0xf43e06,..._0x3f3075]){const _0x34a68b=_0x521ed5['getFieldById'](_0x4fd1fb['dataFieldId']);_0x34a68b&&(this['dimensionMap'][_0x4fd1fb['dataFieldId']]||(this[_0x238f8d(0x241)][_0x4fd1fb[_0x238f8d(0x280)]]={'field':_0x34a68b}),_0x7db3f3<_0x4eb4b8?(this['dimensionIdList'][_0x238f8d(0x224)](_0x4fd1fb[_0x238f8d(0x280)]),this['dimensionTableIdList'][_0x238f8d(0x224)](_0x4fd1fb['id'])):_0x4fd1fb[_0x238f8d(0x2bc)]&&Q(_0x4fd1fb[_0x238f8d(0x2bc)])&&(_0x4fd1fb['filterInfo'][_0x238f8d(0x2be)]=_0x34a68b[_0x238f8d(0x312)][_0x238f8d(0x316)]===_0x4fd1fb[_0x238f8d(0x2bc)][_0x238f8d(0x2df)]['length']),_0x7db3f3++);}this[_0x238f8d(0x351)]=_0xe28d7b[_0x238f8d(0x316)],this[_0x238f8d(0x346)]=_0xf43e06['length'];}[_0x1dde55(0x289)](_0xf9ffd2){const _0x5e6839=_0x1dde55,{rowQueryInfo:_0x20227e,colQueryInfo:_0x4dfbe1,filterQueryInfo:_0x210dfa}=_0xf9ffd2,_0x733fa0=[];let _0x2ca275=!0x1;return[..._0x20227e,..._0x4dfbe1,..._0x210dfa][_0x5e6839(0x1cd)](({dataFieldId:_0x350d98,filterInfo:_0x1c2cf3})=>{const _0x5b8843=_0x5e6839,_0x2ceb98=this[_0x5b8843(0x241)][_0x350d98][_0x5b8843(0x33a)];if(!(!_0x2ceb98||_0x1c2cf3===void 0x0)){if(Q(_0x1c2cf3)){_0x2ca275=!0x0;const {list:_0x2cd277}=_0x1c2cf3,_0x39d276=[];for(const _0x2aa2dc of _0x2cd277)_0x39d276[_0x5b8843(0x224)](_0x2ceb98[_0x5b8843(0x2fd)](_0x2aa2dc));_0x733fa0[_0x5b8843(0x224)](Nt(_0x39d276));}it(_0x1c2cf3)&&(_0x2ca275=!0x0);}}),!_0x2ca275&&_0x733fa0[_0x5e6839(0x316)]===0x0?{'isAll':!0x0,'list':[]}:{'isAll':!0x1,'list':gt(_0x733fa0)};}[_0x1dde55(0x17b)](_0x1f6855,_0x5893d9){const _0x50c567=_0x1dde55;this[_0x50c567(0x20a)](_0x1f6855,_0x5893d9);const {isAll:_0x13a7bc,list:_0x5a3baf}=this[_0x50c567(0x289)](_0x5893d9);this[_0x50c567(0x1a4)](_0x13a7bc,_0x5a3baf,_0x1f6855[_0x50c567(0x2cc)]());}[_0x1dde55(0x21c)](){const _0x4324f5=_0x1dde55;this[_0x4324f5(0x2b8)]=[],this['measuresMap']={},this[_0x4324f5(0x241)]={},this[_0x4324f5(0x1c8)]={},this['dimensionIdList']=[],this[_0x4324f5(0x166)]=[],this['measureIdList']=[];}['iterate'](_0x5ee98e,_0x117456,_0x4ddffa=0x0){const _0x4f9dd7=_0x1dde55,_0x896af5=this[_0x4f9dd7(0x166)];if(_0x5ee98e)for(let _0x6fc4ae=0x0;_0x6fc4ae<_0x4ddffa;_0x6fc4ae++){const _0x1dc217=[],_0x13e84c=[],_0x595e80=[];for(const _0x108220 of this[_0x4f9dd7(0x1bc)]){const _0x3acb76=this['dimensionMap'][_0x108220][_0x4f9dd7(0x33a)],_0x57c722=_0x3acb76['getItemKey'](_0x6fc4ae);_0x595e80[_0x4f9dd7(0x224)](_0x896af5[0x0]+_[_0x4f9dd7(0x256)]+_0x57c722),_0x1dc217[_0x4f9dd7(0x224)](_0x57c722),_0x13e84c['push'](_0x3acb76[_0x4f9dd7(0x298)](_0x57c722));}this[_0x4f9dd7(0x306)](_0x1dc217,_0x595e80,_0x6fc4ae,_0x13e84c);}for(const _0x15b1dd of _0x117456){const _0x6ab948=[],_0x52cea8=[],_0x434336=[];let _0x15dc0d=0x0;for(const _0x22ab42 of this[_0x4f9dd7(0x1bc)]){const _0x29bd6b=this[_0x4f9dd7(0x241)][_0x22ab42][_0x4f9dd7(0x33a)],_0x412580=_0x29bd6b['getItemKey'](_0x15b1dd);_0x434336[_0x4f9dd7(0x224)](_0x896af5[_0x15dc0d]+_[_0x4f9dd7(0x256)]+_0x412580),_0x6ab948['push'](_0x412580),_0x52cea8[_0x4f9dd7(0x224)](_0x29bd6b[_0x4f9dd7(0x298)](_0x412580)),_0x15dc0d++;}this[_0x4f9dd7(0x306)](_0x6ab948,_0x434336,_0x15b1dd,_0x52cea8);}}[_0x1dde55(0x306)](_0x2d3a8a,_0x578f9c,_0x37abdb,_0x51259e){const _0x5fa571=_0x1dde55,_0x4b3b25=_0x578f9c[_0x5fa571(0x19e)](_[_0x5fa571(0x2ea)]);this[_0x5fa571(0x1c8)][_0x4b3b25]===void 0x0&&this[_0x5fa571(0x2a5)](_0x2d3a8a,_0x4b3b25,void 0x0,_0x51259e);const _0x2359a2=this[_0x5fa571(0x2b8)][this['tupleMap'][_0x4b3b25]];for(const _0x108e54 of this['measureIdList']){const _0x1e5d63=_0x2359a2[_0x5fa571(0x317)][_0x108e54],_0x23a5e6=this[_0x5fa571(0x364)][_0x108e54][_0x5fa571(0x33a)][_0x5fa571(0x30f)](_0x37abdb);_0x1e5d63['addValue'](_0x23a5e6);}}[_0x1dde55(0x2a5)](_0x29ebe6,_0x4e28fb,_0x1f2093,_0x188a99=[]){const _0x5a4ab3=_0x1dde55,_0x540d5f=_0x4e28fb||_0x29ebe6[_0x5a4ab3(0x19e)](_[_0x5a4ab3(0x2ea)]);if(!this['tupleMap'][_0x540d5f]){const _0x57e6d7={'path':_0x29ebe6,'types':_0x188a99,'indexes':[],'tuple':{}};for(const _0x563a60 of this['measureIdList']){const _0x39a7b0=new A();_0x57e6d7['tuple'][_0x563a60]=_0x39a7b0;}if(_0x1f2093===void 0x0){const _0x358974=this[_0x5a4ab3(0x2b8)][_0x5a4ab3(0x224)](_0x57e6d7);this[_0x5a4ab3(0x1c8)][_0x540d5f]=_0x358974-0x1;}else this[_0x5a4ab3(0x2b8)][_0x1f2093]=_0x57e6d7,this[_0x5a4ab3(0x1c8)][_0x540d5f]=_0x1f2093;}}}const Lt=_0x228c79=>_0x228c79['baseFieldId']!==void 0x0,Vt=_0x251db6=>{const _0x5e22a6=_0x1dde55;if(Lt(_0x251db6)){const {type:_0x165a81,baseFieldId:_0x156707,sortItems:_0x25090e}=_0x251db6;return{'type':_0x165a81,'baseFieldId':_0x156707,'sortItems':_0x25090e[_0x5e22a6(0x1c5)]()};}else return{..._0x251db6};},E=_0x8be4d=>({..._0x8be4d});class nt{constructor(_0xc06b84,_0x1e0b28,_0x212dcf='',_0x3094ba){const _0x4aea57=_0x1dde55;r(this,_0x4aea57(0x280)),r(this,'id'),r(this,_0x4aea57(0x29a)),r(this,_0x4aea57(0x183)),r(this,_0x4aea57(0x32b)),r(this,_0x4aea57(0x2e8)),(this[_0x4aea57(0x280)]=_0xc06b84,this['id']=_0x1e0b28,this['displayName']=_0x212dcf,this['sourceName']=_0x3094ba);}['getId'](){return this['id'];}[_0x1dde55(0x195)](){const _0x2e150b=_0x1dde55;return this[_0x2e150b(0x29a)];}[_0x1dde55(0x1e6)](_0x1566b7){const _0x30c7e9=_0x1dde55;this[_0x30c7e9(0x29a)]=_0x1566b7;}[_0x1dde55(0x283)](_0x158f6a){const _0x2f3d4b=_0x1dde55;this[_0x2f3d4b(0x280)]=_0x158f6a;}[_0x1dde55(0x345)](){const _0x282f4d=_0x1dde55;return this[_0x282f4d(0x280)];}[_0x1dde55(0x29d)](){const _0x156583=_0x1dde55;return this[_0x156583(0x32b)];}['setFormat'](_0x46ce67){const _0x570a5f=_0x1dde55;this[_0x570a5f(0x32b)]=_0x46ce67;}[_0x1dde55(0x304)](_0x5a364b){const _0x4c60fe=_0x1dde55;this[_0x4c60fe(0x183)]=_0x5a364b;}[_0x1dde55(0x1b2)](){const _0x45cdf0=_0x1dde55;return this[_0x45cdf0(0x183)];}}class G extends nt{constructor(_0x4a0d78,_0x2dd4f3,_0x147dfb='',_0x5c165b){const _0x384595=_0x1dde55;super(_0x4a0d78,_0x2dd4f3,_0x147dfb,_0x5c165b),r(this,_0x384595(0x25a)),r(this,'showDataAs');}[_0x1dde55(0x330)](_0x19f55c){const _0x29369d=_0x1dde55;this[_0x29369d(0x25a)]=_0x19f55c;}['getSubtotal'](){const _0x3154af=_0x1dde55;return this[_0x3154af(0x25a)];}['setShowDataAs'](_0x7133ed){this['showDataAs']=_0x7133ed;}[_0x1dde55(0x211)](){const _0x2307e5=_0x1dde55;return this[_0x2307e5(0x1b9)];}[_0x1dde55(0x1ee)](){const _0x1a83b0=_0x1dde55;return{'id':this['id'],'dataFieldId':this[_0x1a83b0(0x280)],'displayName':this[_0x1a83b0(0x183)],'subtotal':this[_0x1a83b0(0x25a)],'showDataAs':this[_0x1a83b0(0x1b9)]};}[_0x1dde55(0x23b)](){const _0xf55c4e=_0x1dde55;return{'id':this['id'],'dataFieldId':this[_0xf55c4e(0x280)],'displayName':this['displayName'],'sourceName':this[_0xf55c4e(0x29a)],'subtotal':this[_0xf55c4e(0x25a)],'format':this[_0xf55c4e(0x32b)],'showDataAs':E(this[_0xf55c4e(0x1b9)])};}[_0x1dde55(0x33f)](_0x211727){const _0x23bd1c=_0x1dde55;this['id']=_0x211727['id'],this['dataFieldId']=_0x211727[_0x23bd1c(0x280)],this[_0x23bd1c(0x183)]=_0x211727[_0x23bd1c(0x183)],this['sourceName']=_0x211727[_0x23bd1c(0x29a)],this[_0x23bd1c(0x32b)]=_0x211727[_0x23bd1c(0x32b)],this[_0x23bd1c(0x25a)]=_0x211727[_0x23bd1c(0x25a)],this[_0x23bd1c(0x1b9)]=E(_0x211727[_0x23bd1c(0x1b9)]);}}class W extends nt{constructor(_0x2dda6e,_0x223ddb,_0x381c10='',_0x4b5f97){const _0x43c30f=_0x1dde55;super(_0x2dda6e,_0x223ddb,_0x381c10,_0x4b5f97),r(this,_0x43c30f(0x1c3)),r(this,_0x43c30f(0x2bc));}['setSortInfo'](_0x2b5472){const _0x353bd7=_0x1dde55;this[_0x353bd7(0x1c3)]=_0x2b5472;}[_0x1dde55(0x274)](){const _0x4c2090=_0x1dde55;return this[_0x4c2090(0x1c3)];}[_0x1dde55(0x238)](_0x350161){const _0x1809d8=_0x1dde55;this[_0x1809d8(0x2bc)]=_0x350161;}[_0x1dde55(0x2a6)](){const _0x45d846=_0x1dde55;return this[_0x45d846(0x2bc)];}[_0x1dde55(0x1ee)](){const _0x347c51=_0x1dde55;return{'id':this['id'],'dataFieldId':this[_0x347c51(0x280)],'displayName':this['displayName'],'sortInfo':Object[_0x347c51(0x2aa)]({},this['sortInfo']),'filterInfo':Object[_0x347c51(0x2aa)]({},this[_0x347c51(0x2bc)])};}['toJSON'](){const _0x43ee03=_0x1dde55;return{'id':this['id'],'dataFieldId':this[_0x43ee03(0x280)],'displayName':this[_0x43ee03(0x183)],'format':this[_0x43ee03(0x32b)],'sourceName':this[_0x43ee03(0x29a)],'sortInfo':this[_0x43ee03(0x1c3)]?Vt(this['sortInfo']):void 0x0,'filterInfo':this['filterInfo']?this[_0x43ee03(0x2bc)]:void 0x0};}[_0x1dde55(0x33f)](_0x1f4e9f){const _0x590e97=_0x1dde55;this['id']=_0x1f4e9f['id'],this['dataFieldId']=_0x1f4e9f[_0x590e97(0x280)],this[_0x590e97(0x183)]=_0x1f4e9f[_0x590e97(0x183)],this[_0x590e97(0x29a)]=_0x1f4e9f[_0x590e97(0x29a)],this[_0x590e97(0x32b)]=_0x1f4e9f[_0x590e97(0x32b)],_0x1f4e9f[_0x590e97(0x1c3)]&&(this['sortInfo']=_0x1f4e9f[_0x590e97(0x1c3)]),_0x1f4e9f[_0x590e97(0x2bc)]&&(this[_0x590e97(0x2bc)]=_0x1f4e9f['filterInfo']);}}function _t(_0x460318,_0x34e5ac=!0x0){const _0x33be22=_0x1dde55,_0x5b67d3=new G(_0x460318[_0x33be22(0x280)],_0x460318['id'],_0x460318[_0x33be22(0x1b2)](),_0x460318[_0x33be22(0x29a)]),_0x12155a=y[_0x33be22(0x282)];if(st(_0x460318[_0x33be22(0x1b2)](),_0x12155a),_0x5b67d3[_0x33be22(0x25a)]=_0x12155a,_0x460318[_0x33be22(0x2e8)]){const _0x38ba79=_0x460318[_0x33be22(0x2e8)];_0x38ba79[_0x33be22(0x1b9)]&&(_0x5b67d3[_0x33be22(0x1b9)]=_0x38ba79[_0x33be22(0x1b9)]),_0x38ba79[_0x33be22(0x25a)]!==void 0x0&&(_0x5b67d3[_0x33be22(0x25a)]=_0x38ba79[_0x33be22(0x25a)]);}return _0x34e5ac&&(_0x5b67d3[_0x33be22(0x2e8)]={'sortInfo':_0x460318[_0x33be22(0x274)](),'filterInfo':_0x460318['getFilterInfo']()}),_0x5b67d3;}function St(_0x3d0cb3,_0x4cdf63=!0x0){const _0x966341=_0x1dde55,_0x4c222c=new W(_0x3d0cb3[_0x966341(0x280)],_0x3d0cb3['id'],_0x3d0cb3['getDisplayName'](),_0x3d0cb3[_0x966341(0x29a)]);if(_0x4c222c[_0x966341(0x304)](_0x3d0cb3[_0x966341(0x1b2)]()),_0x3d0cb3['lossLessProperty']){const _0x569ac2=_0x3d0cb3[_0x966341(0x2e8)];_0x569ac2[_0x966341(0x1c3)]&&(_0x4c222c['sortInfo']=_0x569ac2[_0x966341(0x1c3)]),_0x569ac2[_0x966341(0x2bc)]&&(_0x4c222c['filterInfo']=_0x569ac2['filterInfo']);}return _0x4cdf63&&(_0x4c222c['lossLessProperty']={'subtotal':_0x3d0cb3['getSubtotal'](),'showDataAs':_0x3d0cb3['getShowDataAs']()}),_0x4c222c;}function zt(_0x1102ff){const _0x736457=_0x1dde55,{dataFieldId:_0x1e61a6,id:_0x3bbc03,sourceName:_0x48f550}=_0x1102ff,_0x2346e2=new G(_0x1e61a6,_0x3bbc03,'',_0x48f550);return _0x2346e2[_0x736457(0x33f)](_0x1102ff),_0x2346e2;}function Jt(_0xb01247){const _0x17d1f2=_0x1dde55,{dataFieldId:_0x59a6c5,id:_0x33a354,sourceName:_0x32c95d}=_0xb01247,_0x3e0b0f=new W(_0x59a6c5,_0x33a354,'',_0x32c95d);return _0x3e0b0f[_0x17d1f2(0x33f)](_0xb01247),_0x3e0b0f;}class j{constructor(){const _0x2556d5=_0x1dde55;r(this,_0x2556d5(0x16c),[]),r(this,'columnFields',[]),r(this,_0x2556d5(0x184),[]),r(this,_0x2556d5(0x1d6),[]),r(this,_0x2556d5(0x2dd),[]),r(this,_0x2556d5(0x272),{}),r(this,_0x2556d5(0x268),{}),r(this,'valueIndex',-0x1),r(this,_0x2556d5(0x356),O[_0x2556d5(0x335)]),r(this,'layout',tt[_0x2556d5(0x35a)]),r(this,_0x2556d5(0x2a2),{}),r(this,_0x2556d5(0x220)),r(this,_0x2556d5(0x31e)),r(this,_0x2556d5(0x2f4),!0x0),this[_0x2556d5(0x220)]={'pageWrap':0x1,'pageOverThenDown':!0x1};}[_0x1dde55(0x1de)](){const _0x262fd0=_0x1dde55;this[_0x262fd0(0x31e)]=[];}[_0x1dde55(0x35e)](){const _0x3fa188=_0x1dde55,_0x435ddf=this[_0x3fa188(0x31e)];return delete this[_0x3fa188(0x31e)],_0x435ddf;}['setDirty'](_0x36cc9b){this['_isDirty']=_0x36cc9b;}[_0x1dde55(0x290)](){const _0x53ce53=_0x1dde55;return this[_0x53ce53(0x2f4)];}[_0x1dde55(0x1ac)](_0x234c88){const _0x364220=_0x1dde55,_0x13ee97={...this[_0x364220(0x220)]},_0x4d71c6={...this['options'],..._0x234c88};if(this['options']={..._0x4d71c6},this['_changeStack']){const _0x23eda7={'type':V[_0x364220(0x342)],'oldOptions':_0x13ee97,'newOptions':_0x4d71c6};this[_0x364220(0x31e)][_0x364220(0x224)](_0x23eda7);}}[_0x1dde55(0x2cf)](){return{...this['options']};}['setCollapse'](_0x137305,_0x38d84f,_0x5111dd){const _0x25b134=_0x1dde55;if(_0x5111dd!==void 0x0?(this['collapseInfo'][_0x137305]=this['collapseInfo'][_0x137305]||{},this[_0x25b134(0x2a2)][_0x137305][_0x5111dd]=_0x38d84f):this[_0x25b134(0x2a2)][_0x137305]=_0x38d84f,this[_0x25b134(0x31e)]){const _0x48ff72={'type':V[_0x25b134(0x352)],'fieldId':_0x137305,'collapse':_0x38d84f,'item':_0x5111dd};this['_changeStack'][_0x25b134(0x224)](_0x48ff72);}}[_0x1dde55(0x238)](_0x1ab7a6,_0x302068){const _0x2ac900=_0x1dde55;if(this[_0x2ac900(0x272)][_0x1ab7a6]){const _0x31b284={...this['dimension'][_0x1ab7a6][_0x2ac900(0x2a6)]()};if(this[_0x2ac900(0x272)][_0x1ab7a6][_0x2ac900(0x238)](_0x302068),this[_0x2ac900(0x31e)]){const _0x887392={'type':V[_0x2ac900(0x28e)],'fieldId':_0x1ab7a6,'oldFilterInfo':_0x31b284,'newFilterInfo':_0x302068};this[_0x2ac900(0x31e)][_0x2ac900(0x224)](_0x887392);}this['setDirty'](!0x0);}}[_0x1dde55(0x219)](_0xd453c4){const _0x446cbb=_0x1dde55;if(this[_0x446cbb(0x272)][_0xd453c4])return this[_0x446cbb(0x272)][_0xd453c4]['getFormat']();if(this[_0x446cbb(0x268)][_0xd453c4])return this[_0x446cbb(0x268)][_0xd453c4][_0x446cbb(0x29d)]();}[_0x1dde55(0x16d)](_0xc344b,_0x2947fe){const _0x5e5f1f=_0x1dde55;let _0x26bca6;if(this[_0x5e5f1f(0x272)][_0xc344b]&&this[_0x5e5f1f(0x272)][_0xc344b][_0x5e5f1f(0x1ad)](_0x2947fe),this[_0x5e5f1f(0x268)][_0xc344b]&&this['measure'][_0xc344b][_0x5e5f1f(0x1ad)](_0x2947fe),this[_0x5e5f1f(0x31e)]&&(this[_0x5e5f1f(0x272)][_0xc344b]||this['measure'][_0xc344b])){const _0x3a192f={'type':V[_0x5e5f1f(0x337)],'fieldId':_0xc344b,'oldFormat':_0x26bca6,'newFormat':_0x2947fe};this[_0x5e5f1f(0x31e)][_0x5e5f1f(0x224)](_0x3a192f);}}[_0x1dde55(0x1dc)](_0x2ba7db,_0xffbb55){const _0x2bfc8e=_0x1dde55;if(this[_0x2bfc8e(0x272)][_0x2ba7db]){const _0x4c7c39=this[_0x2bfc8e(0x272)][_0x2ba7db][_0x2bfc8e(0x274)](),_0xf1d53d=_0x4c7c39?{..._0x4c7c39}:void 0x0;if(this[_0x2bfc8e(0x272)][_0x2ba7db][_0x2bfc8e(0x1dc)](_0xffbb55),this['_changeStack']){const _0x114377={'type':V[_0x2bfc8e(0x192)],'fieldId':_0x2ba7db,'newSortInfo':_0xffbb55,'oldSortInfo':_0xf1d53d};this[_0x2bfc8e(0x31e)]['push'](_0x114377);}}}[_0x1dde55(0x274)](_0xa34884){if(this['dimension'][_0xa34884])return this['dimension'][_0xa34884]['getSortInfo']();}[_0x1dde55(0x2a6)](_0x56c174){const _0x3d5d52=_0x1dde55;if(this[_0x3d5d52(0x272)][_0x56c174])return this['dimension'][_0x56c174][_0x3d5d52(0x2a6)]();}[_0x1dde55(0x2f9)](_0x4bf15d){const _0xb7e9b=_0x1dde55;Object[_0xb7e9b(0x34b)](this[_0xb7e9b(0x272)])['forEach'](_0x515282=>{_0x4bf15d(_0x515282);}),Object[_0xb7e9b(0x34b)](this[_0xb7e9b(0x268)])[_0xb7e9b(0x1cd)](_0x94306b=>{_0x4bf15d(_0x94306b);});}['iterateFieldDim'](_0x5dd07f){const _0x5b3cc1=_0x1dde55;Object['values'](this[_0x5b3cc1(0x272)])[_0x5b3cc1(0x1cd)](_0x3b1107=>{_0x5dd07f(_0x3b1107);});}[_0x1dde55(0x1f2)](_0x56740a){const _0x1fbbe0=_0x1dde55;Object[_0x1fbbe0(0x34b)](this[_0x1fbbe0(0x268)])[_0x1fbbe0(0x1cd)](_0x3f2447=>{_0x56740a(_0x3f2447);});}[_0x1dde55(0x1d4)](_0x16ad1f,_0x16842a){const _0x6676b5=_0x1dde55;this[_0x6676b5(0x299)](_0x16ad1f)[_0x6676b5(0x1cd)](_0x2703f9=>{const _0x378553=_0x6676b5,_0x2d7a04=this[_0x378553(0x202)](_0x2703f9);_0x2d7a04&&_0x16842a(_0x2d7a04);});}[_0x1dde55(0x245)](_0x1c66f6,_0x2b4ab4,_0x441bf3){const _0x17b8c6=_0x1dde55;if(this[_0x17b8c6(0x202)](_0x1c66f6[_0x17b8c6(0x277)]())){console[_0x17b8c6(0x1fe)](_0x17b8c6(0x174)+_0x1c66f6[_0x17b8c6(0x277)]()+_0x17b8c6(0x2d4)+_0x1c66f6[_0x17b8c6(0x1b2)]()+_0x17b8c6(0x1b0));return;}k(_0x2b4ab4)?this[_0x17b8c6(0x272)][_0x1c66f6['id']]=_0x1c66f6:this[_0x17b8c6(0x268)][_0x1c66f6['id']]=_0x1c66f6;let _0x3fad80;switch(_0x2b4ab4){case D[_0x17b8c6(0x1cf)]:_0x3fad80=this[_0x17b8c6(0x2c2)];break;case D[_0x17b8c6(0x1cb)]:_0x3fad80=this[_0x17b8c6(0x16c)];break;case D[_0x17b8c6(0x24a)]:_0x3fad80=this[_0x17b8c6(0x184)];break;case D[_0x17b8c6(0x257)]:_0x3fad80=this['filterFields'];break;case D[_0x17b8c6(0x33b)]:_0x3fad80=this[_0x17b8c6(0x2dd)];break;}_0x441bf3===void 0x0?_0x3fad80[_0x17b8c6(0x224)](_0x1c66f6['id']):_0x3fad80[_0x17b8c6(0x313)](_0x441bf3,0x0,_0x1c66f6['id']);const _0x5b921c=_0x441bf3===void 0x0?_0x3fad80[_0x17b8c6(0x316)]-0x1:_0x441bf3;if(this['_changeStack']){const _0x13a56b={'type':V[_0x17b8c6(0x1a1)],'fieldJson':_0x1c66f6[_0x17b8c6(0x23b)](),'area':_0x2b4ab4,'index':_0x5b921c};this[_0x17b8c6(0x31e)][_0x17b8c6(0x224)](_0x13a56b);}this['setDirty'](!0x0);}[_0x1dde55(0x357)](_0x497d91){const _0x3c6af3=_0x1dde55;let _0x1b2de2,_0x232a54=-0x1;return this['columnFields'][_0x3c6af3(0x187)](_0x497d91)!==-0x1?(_0x1b2de2=D[_0x3c6af3(0x1cf)],_0x232a54=this[_0x3c6af3(0x2c2)][_0x3c6af3(0x187)](_0x497d91)):this[_0x3c6af3(0x16c)][_0x3c6af3(0x187)](_0x497d91)!==-0x1?(_0x1b2de2=D['Row'],_0x232a54=this[_0x3c6af3(0x16c)][_0x3c6af3(0x187)](_0x497d91)):this['valueFields'][_0x3c6af3(0x187)](_0x497d91)!==-0x1?(_0x1b2de2=D[_0x3c6af3(0x24a)],_0x232a54=this[_0x3c6af3(0x184)][_0x3c6af3(0x187)](_0x497d91)):this['filterFields'][_0x3c6af3(0x187)](_0x497d91)!==-0x1?(_0x1b2de2=D[_0x3c6af3(0x257)],_0x232a54=this[_0x3c6af3(0x1d6)][_0x3c6af3(0x187)](_0x497d91)):this[_0x3c6af3(0x2dd)][_0x3c6af3(0x187)](_0x497d91)!==-0x1&&(_0x1b2de2=D[_0x3c6af3(0x33b)],_0x232a54=this[_0x3c6af3(0x2dd)][_0x3c6af3(0x187)](_0x497d91)),{'area':_0x1b2de2,'index':_0x232a54};}[_0x1dde55(0x35b)](_0x53faa2,_0x369a4e,_0x33f9fa){const _0x340b71=_0x1dde55,_0x81af59=this[_0x340b71(0x202)](_0x53faa2);if(_0x81af59){const _0x15d2b4=_0x81af59['getSourceName'](),_0x2966ee=_0x81af59[_0x340b71(0x345)]();if(_0x81af59[_0x340b71(0x1e6)](_0x369a4e),_0x81af59['setDataFieldId'](_0x33f9fa),this['_changeStack']){const _0x56c15f={'type':V['UpdateSource'],'tableFieldId':_0x53faa2,'oldSourceName':_0x15d2b4,'newSourceName':_0x369a4e,'oldDataFieldId':_0x2966ee,'newDataFieldId':_0x33f9fa};this[_0x340b71(0x31e)]['push'](_0x56c15f);}this[_0x340b71(0x2cb)](!0x0);}}['getFieldsAreaByType'](_0x265b1d){const _0x188930=_0x1dde55;switch(_0x265b1d){case D[_0x188930(0x1cf)]:return this[_0x188930(0x2c2)];case D[_0x188930(0x1cb)]:return this[_0x188930(0x16c)];case D['Value']:return this[_0x188930(0x184)];case D[_0x188930(0x257)]:return this[_0x188930(0x1d6)];case D['Hidden']:return this['hiddenFields'];}}['getFieldById'](_0x4d38f1){const _0xdf4970=_0x1dde55;if(this[_0xdf4970(0x272)][_0x4d38f1])return this[_0xdf4970(0x272)][_0x4d38f1];if(this['measure'][_0x4d38f1])return this[_0xdf4970(0x268)][_0x4d38f1];}[_0x1dde55(0x349)](_0x3c6e7e){const _0xb79c71=_0x1dde55;for(const _0xcc237c of Object['values'](this[_0xb79c71(0x272)]))if(_0xcc237c['getDisplayName']()===_0x3c6e7e)return!0x0;for(const _0x10cfa6 of Object[_0xb79c71(0x34b)](this['measure']))if(_0x10cfa6[_0xb79c71(0x1b2)]()===_0x3c6e7e)return!0x0;return!0x1;}[_0x1dde55(0x2e5)](_0x225360,_0x348cda){const _0x1200d3=_0x1dde55,{area:_0x2c27cd,index:_0x4c08b8}=this[_0x1200d3(0x357)](_0x225360);if(_0x2c27cd===void 0x0||_0x4c08b8===-0x1){console['warn']('The\x20field\x20'+_0x225360+_0x1200d3(0x2eb));return;}if(this[_0x1200d3(0x349)](_0x348cda)){console[_0x1200d3(0x18a)](_0x1200d3(0x35d)+_0x348cda+_0x1200d3(0x1a9));return;}let _0x2e7708;if(k(_0x2c27cd)?(_0x2e7708=this['dimension'][_0x225360][_0x1200d3(0x1b2)](),this['dimension'][_0x225360][_0x1200d3(0x304)](_0x348cda)):(_0x2e7708=this[_0x1200d3(0x268)][_0x225360][_0x1200d3(0x1b2)](),this[_0x1200d3(0x268)][_0x225360][_0x1200d3(0x304)](_0x348cda)),this[_0x1200d3(0x31e)]){const _0x385fed={'type':V[_0x1200d3(0x235)],'fieldId':_0x225360,'newName':_0x348cda,'oldName':_0x2e7708};this[_0x1200d3(0x31e)][_0x1200d3(0x224)](_0x385fed);}}[_0x1dde55(0x2f7)](_0x12aa8e){const _0xa2cfd4=_0x1dde55,{area:_0x3c5860,index:_0x254a57}=this[_0xa2cfd4(0x357)](_0x12aa8e);if(_0x3c5860===void 0x0||_0x254a57===-0x1){console[_0xa2cfd4(0x18a)](_0xa2cfd4(0x174)+_0x12aa8e+_0xa2cfd4(0x2eb));return;}this[_0xa2cfd4(0x299)](_0x3c5860)[_0xa2cfd4(0x313)](_0x254a57,0x1);let _0x15a943;if(k(_0x3c5860)?(_0x15a943=this['dimension'][_0x12aa8e]['toJSON'](),delete this[_0xa2cfd4(0x272)][_0x12aa8e]):(_0x15a943=this[_0xa2cfd4(0x268)][_0x12aa8e][_0xa2cfd4(0x23b)](),delete this[_0xa2cfd4(0x268)][_0x12aa8e]),this['_changeStack']){const _0x58c89f={'type':V['RemoveField'],'fieldId':_0x12aa8e,'fieldJson':_0x15a943,'area':_0x3c5860,'index':_0x254a57};this[_0xa2cfd4(0x31e)][_0xa2cfd4(0x224)](_0x58c89f);}this['setDirty'](!0x0);}[_0x1dde55(0x253)](_0x1c8232,_0x14a71a,_0x2a2cc0){const _0x1b513d=_0x1dde55,{area:_0x2e62dc,index:_0x20e32a}=this[_0x1b513d(0x357)](_0x1c8232);if(_0x2e62dc===_0x14a71a&&_0x20e32a===_0x2a2cc0)return;if(_0x2e62dc===void 0x0&&_0x20e32a===-0x1){console[_0x1b513d(0x18a)](_0x1b513d(0x174)+_0x1c8232+'\x20is\x20not\x20in\x20the\x20pivot\x20table.');return;}const _0x4dad86=this[_0x1b513d(0x299)](_0x14a71a);this['getFieldsAreaByType'](_0x2e62dc)[_0x1b513d(0x313)](_0x20e32a,0x1),_0x4dad86['splice'](_0x2a2cc0,0x0,_0x1c8232);const _0x39e669=k(_0x2e62dc),_0x40520b=k(_0x14a71a);if(_0x39e669!==_0x40520b){if(_0x39e669){const _0x32f082=this[_0x1b513d(0x272)][_0x1c8232];delete this[_0x1b513d(0x272)][_0x1c8232];const _0x17fce0=_t(_0x32f082);this[_0x1b513d(0x268)][_0x1c8232]=_0x17fce0;}else{const _0x3d1e01=this[_0x1b513d(0x268)][_0x1c8232];delete this['measure'][_0x1c8232];const _0x5390f3=St(_0x3d1e01);this[_0x1b513d(0x272)][_0x1c8232]=_0x5390f3;}}if(this[_0x1b513d(0x31e)]){const _0x4d7c98={'type':V[_0x1b513d(0x17d)],'fieldId':_0x1c8232,'oldArea':_0x2e62dc,'newArea':_0x14a71a,'oldIndex':_0x20e32a,'newIndex':_0x2a2cc0};this[_0x1b513d(0x31e)][_0x1b513d(0x224)](_0x4d7c98);}_0x2e62dc!==_0x14a71a&&this[_0x1b513d(0x2cb)](!0x0);}[_0x1dde55(0x262)](_0x2a66b7,_0xbbe687){const _0xb875ef=_0x1dde55,_0x4f0ae9=this[_0xb875ef(0x356)],_0x2cb7ec=this['valueIndex'];if(this[_0xb875ef(0x356)]=_0x2a66b7,this[_0xb875ef(0x292)]=_0xbbe687,this[_0xb875ef(0x31e)]){const _0xa4f35c={'type':V['UpdateValuePosition'],'oldValuePosition':_0x4f0ae9,'newValuePosition':_0x2a66b7,'oldIndex':_0x2cb7ec,'newIndex':_0xbbe687};this[_0xb875ef(0x31e)][_0xb875ef(0x224)](_0xa4f35c);}}[_0x1dde55(0x2d0)](){return this['valueIndex'];}['getValuePosition'](){return this['valuePosition'];}[_0x1dde55(0x34a)](){const _0xa7f69d=_0x1dde55;return this[_0xa7f69d(0x184)][_0xa7f69d(0x316)]<=0x1?!0x1:this[_0xa7f69d(0x356)]===O[_0xa7f69d(0x1cf)];}[_0x1dde55(0x2af)](){const _0x383dee=_0x1dde55;return this[_0x383dee(0x184)][_0x383dee(0x316)]<=0x1?!0x1:this[_0x383dee(0x356)]===O[_0x383dee(0x1cb)];}['isEmpty'](){const _0x1ce6a4=_0x1dde55;return[][_0x1ce6a4(0x1c5)](this[_0x1ce6a4(0x16c)],this[_0x1ce6a4(0x2c2)],this['valueFields'],this[_0x1ce6a4(0x1d6)])[_0x1ce6a4(0x316)]===0x0;}[_0x1dde55(0x249)](_0x2be3a8,_0x4fb066){const _0x12819d=_0x1dde55;if(this[_0x12819d(0x268)][_0x2be3a8]){const _0x3decfa=this[_0x12819d(0x268)][_0x2be3a8][_0x12819d(0x2c9)]();if(this['measure'][_0x2be3a8]['setSubtotal'](_0x4fb066),this[_0x12819d(0x31e)]){const _0x3613a6={'type':V[_0x12819d(0x216)],'fieldId':_0x2be3a8,'newSubtotalType':_0x4fb066,'oldSubtotalType':_0x3decfa};this[_0x12819d(0x31e)][_0x12819d(0x224)](_0x3613a6);}this[_0x12819d(0x2cb)](!0x0);}}[_0x1dde55(0x1ee)](){const _0x1b7777=_0x1dde55,_0x55d503=this[_0x1b7777(0x272)],_0x358412=[];for(const _0x168cd9 of this[_0x1b7777(0x16c)])_0x55d503[_0x168cd9]&&_0x358412[_0x1b7777(0x224)](_0x55d503[_0x168cd9]['getQueryData']());const _0x103817=[];for(const _0x1a066d of this[_0x1b7777(0x2c2)])_0x55d503[_0x1a066d]&&_0x103817['push'](_0x55d503[_0x1a066d][_0x1b7777(0x1ee)]());const _0xb484b5=[];for(const _0x5a9a68 of this['filterFields'])_0x55d503[_0x5a9a68]&&_0xb484b5[_0x1b7777(0x224)](_0x55d503[_0x5a9a68][_0x1b7777(0x1ee)]());const _0x460f2a=[];for(const _0x486e4b of this[_0x1b7777(0x184)])this[_0x1b7777(0x268)][_0x486e4b]&&_0x460f2a[_0x1b7777(0x224)](this[_0x1b7777(0x268)][_0x486e4b]['getQueryData']());return{'rowQueryInfo':_0x358412,'colQueryInfo':_0x103817,'filterQueryInfo':_0xb484b5,'valueQueryInfo':_0x460f2a,'collapseInfo':Object[_0x1b7777(0x2aa)]({},this[_0x1b7777(0x2a2)])};}[_0x1dde55(0x33f)](_0x248abc){const _0x334e84=_0x1dde55;this[_0x334e84(0x272)]=Object[_0x334e84(0x207)](_0x248abc[_0x334e84(0x272)])[_0x334e84(0x223)]((_0x332130,_0x4afd09)=>{const _0x518523=_0x334e84,_0x4d1dcd=_0x248abc[_0x518523(0x272)][_0x4afd09],_0x3b905b=new W(_0x4d1dcd['dataFieldId'],_0x4d1dcd['id'],_0x4d1dcd[_0x518523(0x183)],_0x4d1dcd['sourceName']);return _0x3b905b[_0x518523(0x33f)](_0x4d1dcd),_0x332130[_0x4afd09]=_0x3b905b,_0x332130;},{}),this['measure']=Object[_0x334e84(0x207)](_0x248abc[_0x334e84(0x268)])[_0x334e84(0x223)]((_0x87fa0f,_0x55ddb8)=>{const _0x4075fc=_0x334e84,_0x2f89a3=_0x248abc[_0x4075fc(0x268)][_0x55ddb8],_0x1e7efd=new G(_0x2f89a3['dataFieldId'],_0x2f89a3['id'],_0x2f89a3[_0x4075fc(0x183)],_0x2f89a3[_0x4075fc(0x29a)]);return _0x1e7efd['fromJSON'](_0x248abc[_0x4075fc(0x268)][_0x55ddb8]),_0x87fa0f[_0x55ddb8]=_0x1e7efd,_0x87fa0f;},{}),this[_0x334e84(0x1d6)]=_0x248abc['filterFields'][_0x334e84(0x1c5)](),this['hiddenFields']=_0x248abc[_0x334e84(0x2dd)][_0x334e84(0x1c5)](),this[_0x334e84(0x16c)]=_0x248abc['rowFields'][_0x334e84(0x1c5)](),this['valueFields']=_0x248abc['valueFields'][_0x334e84(0x1c5)](),this[_0x334e84(0x2c2)]=_0x248abc[_0x334e84(0x2c2)][_0x334e84(0x1c5)](),this[_0x334e84(0x1a2)]=_0x248abc[_0x334e84(0x1a2)],this[_0x334e84(0x292)]=_0x248abc[_0x334e84(0x292)],this['valuePosition']=_0x248abc[_0x334e84(0x356)],this[_0x334e84(0x2a2)]=Object[_0x334e84(0x2aa)]({},_0x248abc[_0x334e84(0x2a2)]),this['options']=Object[_0x334e84(0x2aa)]({},_0x248abc[_0x334e84(0x220)]);}[_0x1dde55(0x23b)](){const _0xed8ad1=_0x1dde55,_0x2a844a=Object[_0xed8ad1(0x207)](this[_0xed8ad1(0x272)])[_0xed8ad1(0x223)]((_0x70b376,_0x130e1f)=>(_0x70b376[_0x130e1f]=this[_0xed8ad1(0x272)][_0x130e1f][_0xed8ad1(0x23b)](),_0x70b376),{}),_0x2632b7=Object[_0xed8ad1(0x207)](this[_0xed8ad1(0x268)])[_0xed8ad1(0x223)]((_0x58a584,_0x35ea2f)=>(_0x58a584[_0x35ea2f]=this[_0xed8ad1(0x268)][_0x35ea2f]['toJSON'](),_0x58a584),{});return{'columnFields':this[_0xed8ad1(0x2c2)][_0xed8ad1(0x1c5)](),'dimension':_0x2a844a,'measure':_0x2632b7,'filterFields':this[_0xed8ad1(0x1d6)][_0xed8ad1(0x1c5)](),'hiddenFields':this[_0xed8ad1(0x2dd)][_0xed8ad1(0x1c5)](),'rowFields':this[_0xed8ad1(0x16c)][_0xed8ad1(0x1c5)](),'valueFields':this[_0xed8ad1(0x184)][_0xed8ad1(0x1c5)](),'layout':this[_0xed8ad1(0x1a2)],'valueIndex':this['valueIndex'],'valuePosition':this[_0xed8ad1(0x356)],'collapseInfo':Object[_0xed8ad1(0x2aa)]({},this[_0xed8ad1(0x2a2)]),'options':Object[_0xed8ad1(0x2aa)]({},this['options'])};}['cloneBufferModel'](){const _0x53fa5f=_0x1dde55,_0x3259b5=new j();return _0x3259b5[_0x53fa5f(0x33f)](this['toJSON']()),_0x3259b5[_0x53fa5f(0x2cb)](this[_0x53fa5f(0x290)]()),_0x3259b5;}}class qt{constructor(_0x3a27fd,_0x54358f){const _0x219272=_0x1dde55;r(this,_0x219272(0x2ed)),r(this,_0x219272(0x22b)),r(this,_0x219272(0x314)),r(this,_0x219272(0x236)),r(this,_0x219272(0x270)),(this[_0x219272(0x2ed)]=_0x3a27fd,_0x54358f?this['_model']=_0x54358f:this['_generateModel']());}[_0x1dde55(0x225)](_0x263937){const _0x5c25ba=_0x1dde55;this[_0x5c25ba(0x2ed)]=_0x263937;}[_0x1dde55(0x286)](){const _0x21ea90=_0x1dde55;return this[_0x21ea90(0x236)]?this['_bufferModel']:this[_0x21ea90(0x314)];}['startCollectChangeset'](){const _0x19b189=_0x1dde55;this[_0x19b189(0x236)]=this[_0x19b189(0x314)][_0x19b189(0x26e)](),this[_0x19b189(0x236)][_0x19b189(0x1de)]();}['endCollectChangeset'](){const _0x388d9d=_0x1dde55,_0x5daa53=this[_0x388d9d(0x236)]['endChangeStack']();return this[_0x388d9d(0x236)][_0x388d9d(0x290)]()&&this[_0x388d9d(0x314)][_0x388d9d(0x2cb)](!0x0),delete this['_bufferModel'],_0x5daa53;}['_generateModel'](){const _0x3210ac=_0x1dde55;this[_0x3210ac(0x314)]=new j();}[_0x1dde55(0x1ed)](_0x1f37b8,_0x3faed6){const _0xca0af6=_0x1dde55,_0x15b153=this['dataFieldsCollection'][_0xca0af6(0x202)](_0x1f37b8);if(_0x15b153)return new W(_0x15b153[_0xca0af6(0x277)](),this[_0xca0af6(0x27a)](),_0x3faed6||this[_0xca0af6(0x2ed)][_0xca0af6(0x1b2)](_0x1f37b8),_0x15b153['name']);}[_0x1dde55(0x328)](_0x260bad){const _0x3ea2ba=_0x1dde55,_0x16ad72=this['dataFieldsCollection'][_0x3ea2ba(0x202)](_0x260bad);if(_0x16ad72){const _0x306e35=_0x16ad72['getFieldDataType']()===x['number']?y[_0x3ea2ba(0x282)]:y[_0x3ea2ba(0x344)],_0x3249c9=(this['dataFieldsCollection'][_0x3ea2ba(0x363)][_0x3ea2ba(0x2b2)]()||st)(this[_0x3ea2ba(0x2ed)]['getDisplayName'](_0x260bad),_0x306e35);return new G(_0x16ad72[_0x3ea2ba(0x277)](),this[_0x3ea2ba(0x27a)](),this['getUniqueValueFieldName'](_0x3249c9),_0x16ad72[_0x3ea2ba(0x278)]);}}[_0x1dde55(0x262)](_0x645766,_0x5fb00c){const _0x53e17f=_0x1dde55;this[_0x53e17f(0x286)]()[_0x53e17f(0x262)](_0x645766,_0x5fb00c);}[_0x1dde55(0x34a)](){const _0x41a27f=_0x1dde55;return this['_getModel']()[_0x41a27f(0x34a)]();}[_0x1dde55(0x2af)](){const _0x4b9c04=_0x1dde55;return this[_0x4b9c04(0x286)]()[_0x4b9c04(0x2af)]();}['getValueIndex'](){const _0x2a2a8f=_0x1dde55;return this[_0x2a2a8f(0x286)]()[_0x2a2a8f(0x2d0)]();}['getValuePosition'](){const _0x525713=_0x1dde55;return this[_0x525713(0x286)]()['getValuePosition']();}['iterateField'](_0x2e6f57){const _0x514f5f=_0x1dde55;this[_0x514f5f(0x286)]()[_0x514f5f(0x2f9)](_0x2e6f57);}['iterateFieldDim'](_0x206022){const _0x5180fa=_0x1dde55;this[_0x5180fa(0x286)]()[_0x5180fa(0x301)](_0x206022);}['iterateFieldByArea'](_0x196d2e,_0x39a6e3){const _0x72aeeb=_0x1dde55;this[_0x72aeeb(0x286)]()[_0x72aeeb(0x1d4)](_0x196d2e,_0x39a6e3);}[_0x1dde55(0x1c0)](_0x338351){const _0x2f7536=_0x1dde55;return this[_0x2f7536(0x286)]()['getFieldsAreaByType'](_0x338351)[_0x2f7536(0x316)];}[_0x1dde55(0x2b6)](){const _0x3ab0a4=_0x1dde55;return this[_0x3ab0a4(0x286)]()['valueFields'];}[_0x1dde55(0x233)](_0x4517c2){const _0x22a1e2=_0x1dde55,_0x1579a5=this[_0x22a1e2(0x286)]();if(!_0x1579a5[_0x22a1e2(0x349)](_0x4517c2))return _0x4517c2;let _0x174602=0x1;for(;_0x1579a5[_0x22a1e2(0x349)](_0x4517c2+String(_0x174602));)_0x174602++;return _0x4517c2+String(_0x174602);}['getDataFieldByTableId'](_0x1ed62a){const _0x3ece02=_0x1dde55;var _0x5dbb77;const _0x1a2900=(_0x5dbb77=this[_0x3ece02(0x286)]()[_0x3ece02(0x202)](_0x1ed62a))==null?void 0x0:_0x5dbb77[_0x3ece02(0x280)];if(_0x1a2900)return this[_0x3ece02(0x2ed)]['getFieldById'](_0x1a2900);}['getTableFieldsByDataFieldId'](_0xf63579){const _0x21fe73=_0x1dde55,_0x305d9a=[];return this[_0x21fe73(0x2f9)](_0x41d2c0=>{const _0x13a8d5=_0x21fe73;_0x41d2c0[_0x13a8d5(0x345)]()===_0xf63579&&_0x305d9a[_0x13a8d5(0x224)](_0x41d2c0);}),_0x305d9a;}[_0x1dde55(0x2a0)](_0x5e9c5e){const _0x51de47=_0x1dde55;return this['_getModel']()[_0x51de47(0x202)](_0x5e9c5e);}[_0x1dde55(0x324)](_0x4ac28c){return!!this['_getModel']()['getFieldById'](_0x4ac28c);}[_0x1dde55(0x210)](){const _0x4a6793=_0x1dde55;return this['_getModel']()[_0x4a6793(0x210)]();}['getDataFieldByDataFieldId'](_0x2f6f5d){return this['dataFieldsCollection']['getFieldById'](_0x2f6f5d);}[_0x1dde55(0x17e)](_0x43eb96){const _0x4cb070=_0x1dde55;return{'items':_0x43eb96[_0x4cb070(0x312)],'itemTypes':_0x43eb96['itemTypes']};}[_0x1dde55(0x27a)](){const _0x1c7b0d=_0x1dde55,_0x5f03f3=Object[_0x1c7b0d(0x207)](this[_0x1c7b0d(0x286)]()['dimension'])['length']+Object['keys'](this['_getModel']()[_0x1c7b0d(0x268)])[_0x1c7b0d(0x316)],_0x2d942a=Math['max'](Math[_0x1c7b0d(0x1f4)](Math[_0x1c7b0d(0x1b8)](_0x5f03f3)/0x4),0x2);let _0x3cc2a4=K(_0x2d942a);for(;this[_0x1c7b0d(0x286)]()[_0x1c7b0d(0x202)](_0x3cc2a4);)_0x3cc2a4=K(_0x2d942a);return _0x3cc2a4;}[_0x1dde55(0x2d5)](_0x2ee0c5,_0x5a6763,_0x2fd102){const _0x43d988=_0x1dde55;let _0x1202b6;if(k(_0x5a6763)?_0x1202b6=this[_0x43d988(0x1ed)](_0x2ee0c5):_0x1202b6=this[_0x43d988(0x328)](_0x2ee0c5),_0x1202b6)return this[_0x43d988(0x245)](_0x1202b6,_0x5a6763,_0x2fd102),_0x1202b6;}[_0x1dde55(0x1ac)](_0x1a0efd){const _0x1b6e31=_0x1dde55;this['_getModel']()[_0x1b6e31(0x1ac)](_0x1a0efd);}[_0x1dde55(0x35b)](_0x53c413,_0x4b85e5,_0x2f91d5){const _0x203feb=_0x1dde55;this[_0x203feb(0x286)]()['updateFieldSourceInfo'](_0x53c413,_0x4b85e5,_0x2f91d5);}[_0x1dde55(0x249)](_0x268772,_0x6ca426){const _0x126f2e=_0x1dde55;this[_0x126f2e(0x286)]()['setSubtotalType'](_0x268772,_0x6ca426);}[_0x1dde55(0x2e5)](_0x4d4592,_0xe5f6d7){const _0x15a2e2=_0x1dde55;this[_0x15a2e2(0x286)]()[_0x15a2e2(0x2e5)](_0x4d4592,_0xe5f6d7);}[_0x1dde55(0x238)](_0x10c8b2,_0x198215){this['_getModel']()['setFilterInfo'](_0x10c8b2,_0x198215);}['setSortInfo'](_0x57dd34,_0x54094a){const _0x233062=_0x1dde55;this[_0x233062(0x286)]()[_0x233062(0x1dc)](_0x57dd34,_0x54094a);}['getSortInfo'](_0x531778){const _0x45a294=_0x1dde55;return this[_0x45a294(0x286)]()[_0x45a294(0x274)](_0x531778);}[_0x1dde55(0x2a6)](_0x237980){const _0x34e39a=_0x1dde55;return this['_getModel']()[_0x34e39a(0x2a6)](_0x237980);}[_0x1dde55(0x28b)](_0x42e4c7){const _0x3321fa=_0x1dde55;return this['_getModel']()[_0x3321fa(0x1d6)][_0x42e4c7];}[_0x1dde55(0x253)](_0x294b19,_0x56df19,_0x1c40f5){const _0x2d1de4=_0x1dde55;this[_0x2d1de4(0x286)]()[_0x2d1de4(0x253)](_0x294b19,_0x56df19,_0x1c40f5);}[_0x1dde55(0x219)](_0x3e0692){const _0x5b8ec4=_0x1dde55;return this[_0x5b8ec4(0x286)]()['getFieldFormat'](_0x3e0692);}['setFieldFormat'](_0xe26243,_0x15b840){const _0x2d2389=_0x1dde55;this[_0x2d2389(0x286)]()[_0x2d2389(0x16d)](_0xe26243,_0x15b840);}[_0x1dde55(0x245)](_0xda07c5,_0x2ca104,_0x10c6ba){const _0x47cc4b=_0x1dde55;this[_0x47cc4b(0x286)]()[_0x47cc4b(0x245)](_0xda07c5,_0x2ca104,_0x10c6ba);}['removeField'](_0x20febb){const _0x7e7714=_0x1dde55;this[_0x7e7714(0x286)]()[_0x7e7714(0x2f7)](_0x20febb);}[_0x1dde55(0x2cf)](){const _0x307b9f=_0x1dde55;return this[_0x307b9f(0x286)]()[_0x307b9f(0x2cf)]();}['setCollapse'](_0x4f4092,_0x3c123e,_0xc6de1f){const _0x5cad3b=_0x1dde55;this[_0x5cad3b(0x286)]()['setCollapse'](_0x4f4092,_0x3c123e,_0xc6de1f);}[_0x1dde55(0x33d)](_0x274371){const _0x34ee9a=_0x1dde55;return this[_0x34ee9a(0x22b)]===_0x274371;}[_0x1dde55(0x357)](_0x26149b){const _0x1ff451=_0x1dde55;return this['_getModel']()[_0x1ff451(0x357)](_0x26149b);}[_0x1dde55(0x1b7)](_0x3373c5){const _0x453343=_0x1dde55;return(this[_0x453343(0x270)]||this['_getModel']()[_0x453343(0x290)]())&&(this[_0x453343(0x270)]=new Dt(),this[_0x453343(0x270)][_0x453343(0x17b)](this[_0x453343(0x2ed)],_0x3373c5)),this[_0x453343(0x270)];}['query'](_0x2a77d4){const _0xdd66b4=_0x1dde55,_0x2208a1=_0x2a77d4||this[_0xdd66b4(0x286)]()['getQueryData'](),_0x41dd69=this[_0xdd66b4(0x1b7)](_0x2208a1),_0x26b455=new Ft(_0x2208a1,_0x41dd69);_0x26b455['doSummary']();const _0x271fb2=xt[_0xdd66b4(0x1a2)](this,_0x26b455,_0x2208a1);return _0x271fb2[_0xdd66b4(0x1a3)](),_0x271fb2['setFormat'](this[_0xdd66b4(0x286)]()),this['_viewVersion']=_0x271fb2[_0xdd66b4(0x1b6)](),this[_0xdd66b4(0x286)]()[_0xdd66b4(0x2cb)](!0x1),_0x271fb2;}['toJSON'](){const _0x4a145e=_0x1dde55;return this[_0x4a145e(0x286)]()[_0x4a145e(0x23b)]();}['fromJSON'](_0x10d822){const _0x529add=_0x1dde55;this[_0x529add(0x286)]()[_0x529add(0x33f)](_0x10d822);}['dispose'](){const _0x14421e=_0x1dde55;this[_0x14421e(0x2ed)]=null,this[_0x14421e(0x314)]=null;}}class Ot{constructor(){const _0x178508=_0x1dde55;r(this,_0x178508(0x31b),{}),r(this,_0x178508(0x329),{});}[_0x1dde55(0x28f)](){const _0x55f42f=_0x1dde55,_0x53639b=K(0x5);return this[_0x55f42f(0x31b)][_0x53639b]?this[_0x55f42f(0x28f)]():_0x53639b;}[_0x1dde55(0x2b2)](){return null;}['getNoUsedDataFieldIds'](_0x923bbd){const _0x4b9bc4=_0x1dde55,_0x58d7e3=this['collections'][_0x923bbd][_0x4b9bc4(0x1c9)](),_0x474b6c=new Set();for(const _0x59ad7e in this[_0x4b9bc4(0x329)])if(_0x59ad7e!==_0x923bbd){const _0x45f8bc=this[_0x4b9bc4(0x329)][_0x59ad7e][_0x4b9bc4(0x1c9)]();for(const _0x416a10 of _0x45f8bc)_0x474b6c[_0x4b9bc4(0x1a5)](_0x416a10);}return _0x58d7e3[_0x4b9bc4(0x289)](_0x335dc2=>!_0x474b6c['has'](_0x335dc2));}[_0x1dde55(0x229)](_0xaa3c36,_0x488a9e){const _0x533246=_0x1dde55;this[_0x533246(0x329)][_0xaa3c36]=new T(this);const {header:_0x25d64c,data:_0x7a215d}=this['getRangeData'](_0x488a9e),_0x55eeae=this['collections'][_0xaa3c36],_0x17d1b2=[];for(const _0x201af5 of _0x25d64c){const _0x1d0fcb=this[_0x533246(0x28f)](),_0x22a9ec=new H(_0x1d0fcb,_0x201af5,K(0x3));this[_0x533246(0x31b)][_0x1d0fcb]=_0x22a9ec,_0x55eeae[_0x533246(0x2c1)][_0x533246(0x224)](_0x1d0fcb),_0x17d1b2[_0x533246(0x224)](_0x22a9ec);}let _0x1d220e=0x0;for(const _0x18b95c of _0x7a215d){let _0x1fbc89=0x0;for(const _0x559783 of _0x17d1b2)_0x559783[_0x533246(0x1c4)](_0x18b95c[_0x1fbc89],_0x1d220e),_0x1fbc89++;_0x1d220e++;}return _0x55eeae[_0x533246(0x2ec)](_0x7a215d[_0x533246(0x316)]),_0x55eeae;}[_0x1dde55(0x21b)](){const _0x543e81=_0x1dde55;for(const _0x5565d1 in this[_0x543e81(0x329)])this[_0x543e81(0x329)][_0x5565d1][_0x543e81(0x21b)]();this[_0x543e81(0x329)]={},this[_0x543e81(0x31b)]={};}[_0x1dde55(0x23b)](){const _0x8da814=_0x1dde55,_0x38313e={};for(const _0x4168c3 in this[_0x8da814(0x329)])_0x38313e[_0x4168c3]=this['collections'][_0x4168c3][_0x8da814(0x23b)]();const _0x1ae34c={};for(const _0xd73e20 in this['dataFields'])_0x1ae34c[_0xd73e20]=this[_0x8da814(0x31b)][_0xd73e20][_0x8da814(0x23b)]();return{'collections':_0x38313e,'dataFields':_0x1ae34c};}[_0x1dde55(0x33c)](_0x173947,_0x1d6c11,_0xf7e40f,..._0x1ec539){const _0xfc395=_0x1dde55;this[_0xfc395(0x329)][_0x173947]=_0x1d6c11,_0x1d6c11[_0xfc395(0x2fc)](_0xf7e40f);}[_0x1dde55(0x33f)](_0x138604){const _0x10edfc=_0x1dde55;for(const _0x4cf3b6 in _0x138604['collections']){const _0x340807=new T(this);_0x340807[_0x10edfc(0x33f)](_0x138604[_0x10edfc(0x329)][_0x4cf3b6]),this[_0x10edfc(0x33c)](_0x4cf3b6,_0x340807,_0x340807[_0x10edfc(0x2b3)]);}for(const _0x1f15fd in _0x138604[_0x10edfc(0x31b)]){const {id:_0x3fa50e,name:_0x16613a,hexCode:_0x521b8e}=_0x138604[_0x10edfc(0x31b)][_0x1f15fd],_0x24b8e6=new H(_0x3fa50e,_0x16613a,_0x521b8e);_0x24b8e6[_0x10edfc(0x33f)](_0x138604['dataFields'][_0x1f15fd]),this[_0x10edfc(0x31b)][_0x1f15fd]=_0x24b8e6;}}}export{H as DataField,Ot as DataFieldManager,T as FieldsCollection,P as LabelViewItem,bt as PageViewItem,b as PivotCellStyleTypeEnum,x as PivotDataFieldDataTypeEnum,z as PivotDataFieldSortOperatorEnum,dt as PivotDataFieldSortTypeEnum,B as PivotErrorTypeEnum,$ as PivotFilterTypeEnum,tt as PivotLayoutTypeEnum,j as PivotModel,ht as PivotShowAsTypeEnum,y as PivotSubtotalTypeEnum,qt as PivotTable,V as PivotTableChangeTypeEnum,nt as PivotTableFieldBase,D as PivotTableFiledAreaEnum,W as PivotTableLabelField,G as PivotTableValueField,O as PivotTableValuePositionEnum,A as PivotTuple,yt as PivotView,et as PivotViewCellValueTypeEnum,U as PivotViewItem,ut as ST_PivotFilterOperatorEnum,Ft as SummaryManager,_t as cloneLabelFieldToValueField,St as cloneValueFieldToLabelField,Jt as createLabelField,zt as createValueField,K as generateHexNumber,st as getAutoDisplayName,it as isCustomFilter,Y as isDateValue,kt as isErrorValue,Q as isManualFilter,Bt as isPrefixValue,mt as isValueFilter};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description blank placeholder for empty cells
|
|
3
|
+
* the get/set functions are used to allow for customization
|
|
4
|
+
* @constant {string} BLANK_PLACEHOLDER - default value is '--$blk$--'
|
|
5
|
+
*/
|
|
6
|
+
export declare const GlobalConfig: {
|
|
7
|
+
TUPLE_PLACEHOLDER: string;
|
|
8
|
+
TUPLE_FIELD_SEPARATOR: string;
|
|
9
|
+
COl_ROOT_PATH: string;
|
|
10
|
+
ROW_ROOT_PATH: string;
|
|
11
|
+
BLANK_PLACEHOLDER: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const setBlankPlaceholder: (value: string) => string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IDataFieldManagerBaseJSON, IDataFieldValue, PivotSubtotalTypeEnum } from '../types';
|
|
2
|
+
import { DataField } from './data-field';
|
|
3
|
+
import { FieldsCollection } from './fields-collection';
|
|
4
|
+
type autoDisplayNameFunction = (name: string, subtotalType: PivotSubtotalTypeEnum) => string;
|
|
5
|
+
export declare abstract class DataFieldManager {
|
|
6
|
+
dataFields: Record<string, DataField>;
|
|
7
|
+
collections: Record<string, FieldsCollection>;
|
|
8
|
+
constructor();
|
|
9
|
+
createDataFieldId(): string;
|
|
10
|
+
getAutoDisplayNameFunction(): autoDisplayNameFunction | null;
|
|
11
|
+
getNoUsedDataFieldIds(excludeCollectionToken: string): string[];
|
|
12
|
+
createCollection(id: string, rangeStr: unknown): FieldsCollection;
|
|
13
|
+
dispose(): void;
|
|
14
|
+
toJSON(): IDataFieldManagerBaseJSON;
|
|
15
|
+
addCollection(token: string, collection: FieldsCollection, sourceRangeInfo: any, ...args: any): void;
|
|
16
|
+
fromJSON(jsonData: IDataFieldManagerBaseJSON): void;
|
|
17
|
+
abstract getRangeData(rangeKey: unknown): {
|
|
18
|
+
header: unknown[];
|
|
19
|
+
data: IDataFieldValue[][];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { IDataFieldInfo, IDataFieldJSON, IDataFieldValue, PivotDataFieldDataTypeEnum } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a data field in a pivot table , it match the excel pivot cache field data structure.
|
|
4
|
+
* @param {string} id - The unique identifier of the data field.
|
|
5
|
+
* @param {string} name - The name of the data field. Almost is the row header of pivot table data source, the custom field such as calculated field or grouped field will have a different name.
|
|
6
|
+
* @method addRecord - Add a record to the data field.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DataField {
|
|
9
|
+
/**
|
|
10
|
+
* @property {string} id - The unique identifier of the data field.
|
|
11
|
+
*/
|
|
12
|
+
readonly id: string;
|
|
13
|
+
/**
|
|
14
|
+
* @property {string} name - The name of the data field.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* @property {string} hexCode - The hex code of the data field, which is used to create unique path in tuple group.
|
|
19
|
+
*/
|
|
20
|
+
hexCode: string;
|
|
21
|
+
/**
|
|
22
|
+
* @property {string} rangeKey - The range key of the data field.
|
|
23
|
+
*/
|
|
24
|
+
rangeKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* @property {IDataFieldValue[]} records - The records of the data field.
|
|
27
|
+
*/
|
|
28
|
+
records: IDataFieldValue[];
|
|
29
|
+
/**
|
|
30
|
+
* @property {string[]} items - The items of the data field.
|
|
31
|
+
*/
|
|
32
|
+
items: string[];
|
|
33
|
+
/**
|
|
34
|
+
* @property {PivotDataFieldDataTypeEnum[]} itemTypes - The item types of the data field.
|
|
35
|
+
*/
|
|
36
|
+
itemTypes: PivotDataFieldDataTypeEnum[];
|
|
37
|
+
/**
|
|
38
|
+
* @property {PivotDataFieldDataTypeEnum} fieldDataType - The data type of the data field.
|
|
39
|
+
*/
|
|
40
|
+
private _fieldDataType;
|
|
41
|
+
/**
|
|
42
|
+
* @property {boolean} hasInteger - Whether the data field has integer value. this property is used in number group.
|
|
43
|
+
*/
|
|
44
|
+
hasInteger: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @property {boolean} hasDecimal - Whether the data field has decimal value. this property is used in number group.
|
|
47
|
+
*/
|
|
48
|
+
hasDecimal: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @property {boolean} hasDate - Whether the data field has date value. this property is used in date group.
|
|
51
|
+
*/
|
|
52
|
+
hasDate: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @property {boolean} hasBlank - Whether the data field has blank value. The blank value is represented by a placeholder in Pivot table. in en-us locale, the placeholder is "(blank)".
|
|
55
|
+
*/
|
|
56
|
+
hasBlank: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* @property {boolean} hasText - Whether the data field has text value.
|
|
59
|
+
*/
|
|
60
|
+
hasText: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @property {string} format - The format of the data field. only date field has format property, the format is the date format string.
|
|
63
|
+
*/
|
|
64
|
+
format: string;
|
|
65
|
+
/**
|
|
66
|
+
* @property {number} maxNumber - The max number of the data field. this property is used in number group to set the max value of the number group.
|
|
67
|
+
*/
|
|
68
|
+
maxNumber: number;
|
|
69
|
+
/**
|
|
70
|
+
* @property {number} minNumber - The min number of the data field. this property is used in number group to set the min value of the number group.
|
|
71
|
+
*/
|
|
72
|
+
minNumber: number;
|
|
73
|
+
/**
|
|
74
|
+
* @property {number} maxDate - The max date of the data field. this property is used in date group to set the max value of the date group.
|
|
75
|
+
*/
|
|
76
|
+
maxDate: number;
|
|
77
|
+
/**
|
|
78
|
+
* @property {number} minDate - The min date of the data field. this property is used in date group to set the min value of the date group.
|
|
79
|
+
*/
|
|
80
|
+
minDate: number;
|
|
81
|
+
/**
|
|
82
|
+
* @property {Record<string, number>} - The index of the items in the data field.
|
|
83
|
+
*/
|
|
84
|
+
private _itemIndexMap;
|
|
85
|
+
/**
|
|
86
|
+
* @property {Record<string, number[]>} itemsMap -Save the index of the items in the data field. The key is the item key, the value is the index array of the item in the data field.
|
|
87
|
+
*/
|
|
88
|
+
private _itemsMap;
|
|
89
|
+
constructor(id: string, name: string, hexCode: string);
|
|
90
|
+
/**
|
|
91
|
+
* - Returns the name of the data field.
|
|
92
|
+
* @returns {string} the range key of the data field.
|
|
93
|
+
*/
|
|
94
|
+
getRangeKey(): string;
|
|
95
|
+
getformat(): string;
|
|
96
|
+
/**
|
|
97
|
+
* - set the range key of the data field.
|
|
98
|
+
* @param {string} rangeKey the range key of the data field.
|
|
99
|
+
*/
|
|
100
|
+
setRangeKey(rangeKey: string): void;
|
|
101
|
+
getId(): string;
|
|
102
|
+
getName(): string;
|
|
103
|
+
setName(name: string): void;
|
|
104
|
+
/**
|
|
105
|
+
* - if the field contains date value and blank only, the field data type is date. if the field contains number value and blank only, the field data type is number. otherwise, the field data type is text.
|
|
106
|
+
* @returns {string} the name of the data field.
|
|
107
|
+
*/
|
|
108
|
+
getFieldDataType(): PivotDataFieldDataTypeEnum;
|
|
109
|
+
/**
|
|
110
|
+
* - Returns the shared key with the data field item, this can be combined in the tuple group with other data field item key to create a unique path.
|
|
111
|
+
* @param {string} dataIndex the index in data records
|
|
112
|
+
* @returns {string} key with field and item info
|
|
113
|
+
*/
|
|
114
|
+
getItemSharedKey(key: string): string;
|
|
115
|
+
/**
|
|
116
|
+
* - Returns the key of the data field item. the key logic should be same with addRecord method.
|
|
117
|
+
* @param {number} index - the index of data records
|
|
118
|
+
* @returns {string} The key of the data field item.
|
|
119
|
+
*/
|
|
120
|
+
getItemKey(index: number): string;
|
|
121
|
+
/**
|
|
122
|
+
* - get the type of date by key
|
|
123
|
+
* @param {string} key - the key of the data field item.
|
|
124
|
+
* @returns {PivotDataFieldDataTypeEnum} the data type
|
|
125
|
+
*/
|
|
126
|
+
getTypeByKey(key: string): PivotDataFieldDataTypeEnum;
|
|
127
|
+
/**
|
|
128
|
+
* - Returns the value of the data field record
|
|
129
|
+
* @param {number} index - The index of the data field record.
|
|
130
|
+
* @returns {IDataFieldValue} - The value of the data field record.
|
|
131
|
+
*/
|
|
132
|
+
getValue(index: number): IDataFieldValue;
|
|
133
|
+
/**
|
|
134
|
+
* @description Add a record to the data field.
|
|
135
|
+
* @param {IDataFieldValue} record - The record to be added.
|
|
136
|
+
* @param {number} index - The index of the record.
|
|
137
|
+
* @returns {void}
|
|
138
|
+
*/
|
|
139
|
+
addRecord(record: IDataFieldValue, index: number): void;
|
|
140
|
+
getIndexesByKey(key: string): number[];
|
|
141
|
+
/**
|
|
142
|
+
* @description Update the item key in the data field.
|
|
143
|
+
* @param {IDateValue} record - The date value.
|
|
144
|
+
* @param {number} index - The index of the record.
|
|
145
|
+
* @returns {void}
|
|
146
|
+
*/
|
|
147
|
+
private _updateDateItemKey;
|
|
148
|
+
private _updateBlankItemKey;
|
|
149
|
+
private _updateStringItemKey;
|
|
150
|
+
private _updateNumberItemKey;
|
|
151
|
+
private _updateItemKey;
|
|
152
|
+
getItemsMap(): Record<string, number>;
|
|
153
|
+
/**
|
|
154
|
+
* @description Get the data field info for pivot table, some properties are not included in the data field info because they are not necessary for the pivot table. only the import/export need them.
|
|
155
|
+
* @returns {IDataFieldInfo} The data field info.
|
|
156
|
+
*/
|
|
157
|
+
getFieldInfo(): IDataFieldInfo;
|
|
158
|
+
toJSON(): IDataFieldJSON;
|
|
159
|
+
fromJSON(data: IDataFieldJSON): void;
|
|
160
|
+
reset(): void;
|
|
161
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { IFieldsCollectionJSON } from '../types';
|
|
2
|
+
import { DataFieldManager } from './data-field-manager';
|
|
3
|
+
import { DataField } from './data-field';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the collection of fields in the pivot table. which one to one with a pivot table.
|
|
6
|
+
* @description The collection of fields in the pivot table. The fields collection uses shared the base data field id.For Grouped fields or calculated fields, it will save in custom field.
|
|
7
|
+
* @class FieldsCollection
|
|
8
|
+
* @param {DataFieldManager} host - The data field manager.
|
|
9
|
+
*/
|
|
10
|
+
export declare class FieldsCollection {
|
|
11
|
+
/**
|
|
12
|
+
* @property The base fields id which saved in host <the DataFieldManager>, this part of fields are the original fields in the pivot table.
|
|
13
|
+
*/
|
|
14
|
+
fieldIds: string[];
|
|
15
|
+
/**
|
|
16
|
+
* @property The display name of the fields in the pivot table. key is field id, value is the display name.
|
|
17
|
+
*/
|
|
18
|
+
displayNameRecord: Record<string, string>;
|
|
19
|
+
/**
|
|
20
|
+
* @property The custom fields in the pivot table. such as calculated fields or grouped fields.
|
|
21
|
+
*/
|
|
22
|
+
customFields: Record<string, DataField>;
|
|
23
|
+
range: any;
|
|
24
|
+
dataRecordCount: number;
|
|
25
|
+
readonly host: DataFieldManager;
|
|
26
|
+
constructor(host: DataFieldManager);
|
|
27
|
+
getFieldIds(): string[];
|
|
28
|
+
hasField(fieldId: string): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* find the is there has a data field whose name is the same as the sourceName.
|
|
31
|
+
* @param sourceName
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
hasSourceName(sourceName: string): boolean;
|
|
35
|
+
setRange(range: any): void;
|
|
36
|
+
/**
|
|
37
|
+
* - add a field to the collection. the field should be ensured in the host.
|
|
38
|
+
* @param fieldId
|
|
39
|
+
*/
|
|
40
|
+
addField(fieldId: string, displayName: string): void;
|
|
41
|
+
/**
|
|
42
|
+
* get the display name of the field by the field id in this collection, in different collection, the display name may be different.
|
|
43
|
+
* @param {string} fieldId the data field id.
|
|
44
|
+
* @returns {string} the display name of the field.
|
|
45
|
+
*/
|
|
46
|
+
getDisplayName(fieldId: string): string;
|
|
47
|
+
setDisplayName(fieldId: string, fieldName: string, displayNameRecord?: Record<string, string>): void;
|
|
48
|
+
getUniqueDataFieldName(displayName: string, displayNameRecord?: Record<string, string>): string;
|
|
49
|
+
/**
|
|
50
|
+
* @description remove the field from the collection.
|
|
51
|
+
*/
|
|
52
|
+
updateAllDisplayName(): void;
|
|
53
|
+
/**
|
|
54
|
+
* @description Gets the field by the specified id.
|
|
55
|
+
* @param {string} id - The field id.
|
|
56
|
+
* @returns {DataField} - The field.
|
|
57
|
+
*/
|
|
58
|
+
getFieldById(id: string): DataField;
|
|
59
|
+
setDataRecordCount(count: number): void;
|
|
60
|
+
getDataRecordCount(): number;
|
|
61
|
+
getDataFieldBySourceName(sourceName: string): DataField | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @description Gets the field by the specified name.
|
|
64
|
+
* @returns {IDataFieldInfo[]} -returns the field infos.
|
|
65
|
+
*/
|
|
66
|
+
getFieldInfo(): import('../types').IDataFieldInfo[];
|
|
67
|
+
toJSON(): IFieldsCollectionJSON;
|
|
68
|
+
fromJSON(jsonData: IFieldsCollectionJSON): void;
|
|
69
|
+
dispose(): void;
|
|
70
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export { SummaryManager } from './summary/summary-manager';
|
|
3
|
+
export { PivotTuple } from './summary/pivot-tuple';
|
|
4
|
+
export { FieldsCollection } from './field/fields-collection';
|
|
5
|
+
export { DataField } from './field/data-field';
|
|
6
|
+
export { PivotTable } from './pivot/pivot-table';
|
|
7
|
+
export { PivotModel } from './pivot/model';
|
|
8
|
+
export { PivotTableFieldBase, PivotTableValueField, PivotTableLabelField, cloneLabelFieldToValueField, cloneValueFieldToLabelField, createValueField, createLabelField, } from './pivot/table-field';
|
|
9
|
+
export { DataFieldManager } from './field/data-field-manager';
|
|
10
|
+
export { PivotView, LabelViewItem, PageViewItem, PivotViewItem, isPrefixValue, isErrorValue } from './layout/pivot-view';
|
|
11
|
+
export { isDateValue, getAutoDisplayName, generateHexNumber, isManualFilter, isCustomFilter, isValueFilter, } from './util';
|