@univerjs-pro/range-preprocess 0.10.11 → 0.10.12
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1f4170=_0x38f8;(function(_0x16543e,_0x263076){const _0x5ef79e=_0x38f8,_0x3ff548=_0x16543e();while(!![]){try{const _0x2ae03a=parseInt(_0x5ef79e(0x1a5))/0x1+-parseInt(_0x5ef79e(0x1a8))/0x2*(parseInt(_0x5ef79e(0x1b1))/0x3)+parseInt(_0x5ef79e(0x1b2))/0x4+parseInt(_0x5ef79e(0x1a4))/0x5*(-parseInt(_0x5ef79e(0x1b0))/0x6)+parseInt(_0x5ef79e(0x1b3))/0x7*(parseInt(_0x5ef79e(0x1a9))/0x8)+-parseInt(_0x5ef79e(0x1ae))/0x9+-parseInt(_0x5ef79e(0x1ac))/0xa*(parseInt(_0x5ef79e(0x1aa))/0xb);if(_0x2ae03a===_0x263076)break;else _0x3ff548['push'](_0x3ff548['shift']());}catch(_0x5e8454){_0x3ff548['push'](_0x3ff548['shift']());}}}(_0x1295,0xf1042));function _0x1295(){const _0x5ef644=['682558UAqLut','get','FWorkbook','776634ycGJhY','400rVWDoC','2277ZRAqqz','getPreprocessRanges','14090jpYZpE','getAllTableJson','16519086fnPPCW','RangePreprocessController','973062KayhSp','3PDVeNG','6381036haNtmq','239589jNDWHx','_injector','extend','15MTVDHx'];_0x1295=function(){return _0x5ef644;};return _0x1295();}const o=require('@univerjs-pro/range-preprocess'),e=require('@univerjs/sheets/facade');function _0x38f8(_0x3c5de4,_0x1cf86e){const _0x1295ac=_0x1295();return _0x38f8=function(_0x38f81f,_0x3334b6){_0x38f81f=_0x38f81f-0x1a3;let _0x1ad79b=_0x1295ac[_0x38f81f];return _0x1ad79b;},_0x38f8(_0x3c5de4,_0x1cf86e);}class s extends e[_0x1f4170(0x1a7)]{[_0x1f4170(0x1ab)](_0x2ca7c8){const _0x2e29d2=_0x1f4170;return this[_0x2e29d2(0x1b4)][_0x2e29d2(0x1a6)](o[_0x2e29d2(0x1af)])[_0x2e29d2(0x1ad)](this['_workbook'],_0x2ca7c8);}}e[_0x1f4170(0x1a7)][_0x1f4170(0x1a3)](s);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x385226=_0x49ca;(function(_0xfdd933,_0x17bc10){const _0x17c327=_0x49ca,_0x1b9db2=_0xfdd933();while(!![]){try{const _0x389086=-parseInt(_0x17c327(0x121))/0x1*(parseInt(_0x17c327(0x158))/0x2)+-parseInt(_0x17c327(0x189))/0x3*(parseInt(_0x17c327(0x114))/0x4)+-parseInt(_0x17c327(0x155))/0x5*(parseInt(_0x17c327(0x18d))/0x6)+parseInt(_0x17c327(0x10e))/0x7+parseInt(_0x17c327(0x104))/0x8+parseInt(_0x17c327(0x13b))/0x9*(-parseInt(_0x17c327(0x116))/0xa)+-parseInt(_0x17c327(0xef))/0xb*(-parseInt(_0x17c327(0xf0))/0xc);if(_0x389086===_0x17bc10)break;else _0x1b9db2['push'](_0x1b9db2['shift']());}catch(_0x3be03b){_0x1b9db2['push'](_0x1b9db2['shift']());}}}(_0x1da3,0xbd983));var Ce=Object[_0x385226(0x13c)],ge=(_0x5ce737,_0x2c1c0d,_0x165749)=>_0x2c1c0d in _0x5ce737?Ce(_0x5ce737,_0x2c1c0d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x165749}):_0x5ce737[_0x2c1c0d]=_0x165749,p=(_0x5267e0,_0x19d46a,_0x511dc1)=>ge(_0x5267e0,typeof _0x19d46a!=_0x385226(0x161)?_0x19d46a+'':_0x19d46a,_0x511dc1);Object['defineProperty'](exports,Symbol[_0x385226(0x181)],{'value':_0x385226(0x105)});const x=require('@univerjs/core'),ce=require('@univerjs/sheets-filter'),Y=require('@univerjs/sheets-table');function oe(_0x4462b2){const _0x4643ad=_0x385226;return _0x4462b2['v']==null?'':String(_0x4462b2['v'])[_0x4643ad(0x123)]();}function we(_0x46d052){const _0xbab406=_0x385226;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0xbab406(0x12d)](_0x46d052);}const H=0x2,Q=0x1;function de(_0xdcee54,_0x3b1224){const _0x407be8=_0x385226,_0x520a27={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x3b1224];if(!_0x520a27||!_0x520a27['test'](_0xdcee54))return!0x1;const _0x5b2d21=_0xdcee54[_0x407be8(0x11f)](/\D+/g,'\x20')['trim']()[_0x407be8(0x162)](/\s+/)[_0x407be8(0x110)](Number);let _0x1d862d=0x0,_0x5f340f=0x1,_0x52d8d7=0x1,_0x16c398=0x0,_0x3d47b9=0x0,_0x4c40b1=0x0;switch(_0x3b1224){case _0x407be8(0xf7):case _0x407be8(0x157):case _0x407be8(0x186):case _0x407be8(0xff):[_0x1d862d,_0x5f340f,_0x52d8d7]=_0x5b2d21;break;case _0x407be8(0xf3):[_0x1d862d,_0x5f340f,_0x52d8d7]=_0x5b2d21;break;case _0x407be8(0x174):case _0x407be8(0x11c):case _0x407be8(0x17e):[_0x52d8d7,_0x5f340f,_0x1d862d]=_0x5b2d21;break;case _0x407be8(0x153):case _0x407be8(0x172):[_0x5f340f,_0x52d8d7,_0x1d862d]=_0x5b2d21;break;case _0x407be8(0x156):{const _0x1b179f=_0xdcee54;_0x1d862d=+_0x1b179f[_0x407be8(0x176)](0x0,0x4),_0x5f340f=+_0x1b179f[_0x407be8(0x176)](0x4,0x6),_0x52d8d7=+_0x1b179f[_0x407be8(0x176)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x407be8(0xfc):[_0x1d862d,_0x5f340f,_0x52d8d7,_0x16c398,_0x3d47b9,_0x4c40b1]=_0x5b2d21;break;default:return!0x0;}if(_0x5f340f<0x1||_0x5f340f>0xc||_0x52d8d7<0x1||_0x52d8d7>0x1f||_0x16c398<0x0||_0x16c398>0x17||_0x3d47b9<0x0||_0x3d47b9>0x3b||_0x4c40b1<0x0||_0x4c40b1>0x3b)return!0x1;const _0x5ceb31=new Date(_0x1d862d,_0x5f340f-0x1,_0x52d8d7,_0x16c398,_0x3d47b9,_0x4c40b1);return!(_0x5ceb31[_0x407be8(0x14a)]()!==_0x1d862d||_0x5ceb31['getMonth']()!==_0x5f340f-0x1||_0x5ceb31[_0x407be8(0x18e)]()!==_0x52d8d7);}function pe(_0xc7f7d3){return Number['isFinite'](_0xc7f7d3)&&_0xc7f7d3>=0x1&&_0xc7f7d3<=0x13880;}function Me(_0x10292e){const _0x3ecba7=_0x385226;switch(_0x10292e){case 0x0:return _0x3ecba7(0x146);case 0x1:return'number';case 0x2:case 0x3:case 0x4:return _0x3ecba7(0x1a3);case 0x5:return _0x3ecba7(0x19a);default:return'unknown';}}class K{constructor(){const _0x17d476=_0x385226;p(this,_0x17d476(0x111),0x0),p(this,_0x17d476(0x132),0x0),p(this,_0x17d476(0xf4),0x0);}}class I extends K{constructor(_0x57d592){const _0x9f5c18=_0x385226;super(),p(this,_0x9f5c18(0x140)),p(this,'dt'),p(this,_0x9f5c18(0xf9)),p(this,'needConvert'),(this['dt']=_0x57d592['dt'],this['layout']=_0x57d592[_0x9f5c18(0xf9)],this[_0x9f5c18(0xf6)]=!!_0x57d592['needConvert']);}[_0x385226(0x134)](_0xcad22e){const _0x2072a0=_0x385226;if(_0xcad22e['t']===x['CellValueType'][_0x2072a0(0x147)]){const _0x4c4eaf=oe(_0xcad22e);if(!_0x4c4eaf)return;de(_0x4c4eaf,this[_0x2072a0(0xf9)])?this[_0x2072a0(0x111)]+=H:this['invalid']++;}}[_0x385226(0x163)](){const _0x56d9e5=_0x385226,_0x102113=0x64-Math[_0x56d9e5(0xf5)]((this[_0x56d9e5(0x132)]*0xa+0x1)*0x64/(this['invalid']+this[_0x56d9e5(0x111)]+0x1)),_0x4ecf0f={'Charset':this['dt'],'Confidence':_0x102113,'debugInfo':this[_0x56d9e5(0xf9)]};return this['needConvert']&&(_0x4ecf0f[_0x56d9e5(0x14d)]=this['layout']),_0x4ecf0f;}}class ie extends K{constructor(_0xba7dc2){const _0x3ce185=_0x385226;super(),p(this,_0x3ce185(0x15a)),p(this,'timeStampStyles'),p(this,'dt'),p(this,'layout'),p(this,_0x3ce185(0xf6)),(this[_0x3ce185(0x15a)]=_0xba7dc2[_0x3ce185(0x15a)]||{},this['dt']=_0xba7dc2['dt'],this[_0x3ce185(0xf9)]=_0xba7dc2['layout'],this[_0x3ce185(0xf6)]=!!_0xba7dc2[_0x3ce185(0xf6)]);}[_0x385226(0x134)](_0x4e7e94){const _0x502116=_0x385226;if(_0x4e7e94['t']===x[_0x502116(0x149)][_0x502116(0x18c)]){if(_0x4e7e94['s']&&this[_0x502116(0x15a)][_0x4e7e94['s']]){this['valid']+=H;return;}const _0x5419f6=oe(_0x4e7e94);if(!_0x5419f6)return;if(this['layout']===_0x502116(0x119)){const _0x38ddf6=Number(_0x5419f6);if(pe(_0x38ddf6)){this[_0x502116(0x111)]+=H;return;}}de(_0x5419f6,this['layout'])?this['valid']+=H:this[_0x502116(0x132)]++;}}[_0x385226(0x163)](){const _0x95d813=_0x385226,_0x1a85f0=0x64-Math['trunc']((this[_0x95d813(0x132)]*0xa+0x1)*0x64/(this['invalid']+this[_0x95d813(0x111)]+0x1)),_0x8e0a9d={'Charset':this['dt'],'Confidence':_0x1a85f0,'debugInfo':this[_0x95d813(0xf9)]};return this[_0x95d813(0xf6)]&&(_0x8e0a9d[_0x95d813(0x14d)]=this[_0x95d813(0xf9)]),_0x8e0a9d;}}function _0x49ca(_0x52e269,_0x50a8c2){const _0x1da3cf=_0x1da3();return _0x49ca=function(_0x49cac3,_0x209b90){_0x49cac3=_0x49cac3-0xeb;let _0x20e79d=_0x1da3cf[_0x49cac3];return _0x20e79d;},_0x49ca(_0x52e269,_0x50a8c2);}class Te extends K{[_0x385226(0x134)](_0x2b613a){const _0x8ae69f=_0x385226;if(_0x2b613a['t']===x[_0x8ae69f(0x149)]['NUMBER'])this['valid']+=Q;else{const _0x4d0b54=oe(_0x2b613a);if(!_0x4d0b54)return;we(_0x4d0b54)?this[_0x8ae69f(0x111)]+=Q:this[_0x8ae69f(0x132)]++;}}[_0x385226(0x163)](){const _0x860d13=_0x385226;return{'Charset':0x1,'Confidence':0x64-Math[_0x860d13(0xf5)]((this[_0x860d13(0x132)]*0xa+0x1)*0x64/(this[_0x860d13(0x132)]+this['valid']+0x1)),'debugInfo':_0x860d13(0x1a0)};}}class Re extends K{['Match'](_0x3857c9){const _0x50be00=_0x385226;_0x3857c9['t']===x['CellValueType']['BOOLEAN']?this[_0x50be00(0x111)]+=Q:this[_0x50be00(0x132)]++;}['Calc'](){const _0xb1e40d=_0x385226;return{'Charset':0x5,'Confidence':0x64-Math[_0xb1e40d(0xf5)]((this[_0xb1e40d(0x132)]*0xa+0x1)*0x64/(this[_0xb1e40d(0x132)]+this['valid']+0x1)),'debugInfo':_0xb1e40d(0x1a0)};}}class Se{constructor(_0x395bc5){const _0x28ebac=_0x385226;p(this,'recognizers'),p(this,_0x28ebac(0x15a)),(this[_0x28ebac(0x15a)]=_0x395bc5||{},this[_0x28ebac(0x195)]=[new I({'dt':0x2,'layout':_0x28ebac(0xf7)}),new I({'dt':0x2,'layout':_0x28ebac(0x157)}),new I({'dt':0x2,'layout':'2006/01/02'}),new I({'dt':0x2,'layout':_0x28ebac(0xff)}),new I({'dt':0x2,'layout':_0x28ebac(0xf3),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x174),'needConvert':!0x0}),new I({'dt':0x2,'layout':'02/01/2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x17e),'needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x172),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0xf8),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x183),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x17b),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x15c),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x13d),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x135),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x28ebac(0x156),'needConvert':!0x0}),new ie({'dateStyles':this['dateStyles'],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new I({'dt':0x4,'layout':_0x28ebac(0x167)}),new I({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new ie({'dateStyles':this[_0x28ebac(0x15a)],'dt':0x3,'layout':_0x28ebac(0x119),'needConvert':!0x0}),new Te(),new Re()]);}[_0x385226(0x134)](_0x4faf11){const _0x429a3b=_0x385226;for(const _0x322d25 of this['recognizers'])_0x322d25[_0x429a3b(0x134)](_0x4faf11);}[_0x385226(0x13a)](){const _0x1b1699=_0x385226,_0x59465a=this[_0x1b1699(0x195)]['map'](_0x4a47c1=>_0x4a47c1['Calc']());if(_0x59465a[_0x1b1699(0x187)]((_0x49b452,_0x4bffb1)=>_0x4bffb1[_0x1b1699(0x108)]-_0x49b452[_0x1b1699(0x108)]),_0x59465a[_0x1b1699(0x12e)]===0x0||_0x59465a[0x0][_0x1b1699(0x108)]<0x32)return[_0x1b1699(0x146),null];const _0x38ecfb=_0x59465a[0x0];return[Me(_0x38ecfb[_0x1b1699(0x185)]),_0x38ecfb];}}function re(_0x5265f3,_0x291efa){const _0x2308a4=_0x385226;let _0x11aa1e=_0x5265f3,_0x54dd83=_0x291efa;_0x11aa1e<=0x0&&(_0x11aa1e=0x6),_0x54dd83<=0x0&&(_0x54dd83=0xa),_0x54dd83=_0x54dd83*0x2;const _0x5506e4=[];for(let _0x346fc2=0x0;_0x346fc2<_0x54dd83;_0x346fc2++)_0x5506e4[_0x2308a4(0x150)](x[_0x2308a4(0x19c)](_0x11aa1e));const _0x26405e=new Map();for(const _0x30fd0e of _0x5506e4){const _0xb29d16=_0x30fd0e[_0x2308a4(0x130)]();_0x26405e[_0x2308a4(0x152)](_0xb29d16)||_0x26405e[_0x2308a4(0x196)](_0xb29d16,_0x30fd0e);}return Array[_0x2308a4(0x100)](_0x26405e[_0x2308a4(0xfe)]());}var ee=(_0x107142=>(_0x107142[_0x385226(0x16e)]=_0x385226(0x166),_0x107142[_0x385226(0x109)]=_0x385226(0x11d),_0x107142[_0x385226(0x15e)]='sample',_0x107142))(ee||{});class W{constructor(_0x28c2e7){const _0x3fe3cd=_0x385226;p(this,'id'),p(this,'sheetId'),p(this,_0x3fe3cd(0x10f)),p(this,_0x3fe3cd(0xeb)),p(this,_0x3fe3cd(0x11b)),p(this,_0x3fe3cd(0x112)),p(this,'mergeRowTitleCount'),p(this,_0x3fe3cd(0x11a)),p(this,_0x3fe3cd(0x124)),p(this,_0x3fe3cd(0x198)),p(this,_0x3fe3cd(0x165)),p(this,_0x3fe3cd(0x131)),p(this,_0x3fe3cd(0x16b)),p(this,_0x3fe3cd(0x168)),p(this,_0x3fe3cd(0x177)),p(this,_0x3fe3cd(0x145)),p(this,_0x3fe3cd(0x15b)),p(this,_0x3fe3cd(0x179)),p(this,_0x3fe3cd(0x11e));var _0x190c11,_0x2cb87a,_0x2e1c41,_0x38a32d,_0x31975e,_0x51e17b,_0x3baf6b,_0x576bb9,_0x257e09,_0x2cd040,_0x1409e0,_0x47769f,_0x2b2c7d,_0x53a369,_0x22181f,_0x2c54ea,_0x31feb1,_0x395912,_0x2d240a;this['id']=(_0x190c11=_0x28c2e7==null?void 0x0:_0x28c2e7['id'])!=null?_0x190c11:'',this[_0x3fe3cd(0x118)]=(_0x2cb87a=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x118)])!=null?_0x2cb87a:x[_0x3fe3cd(0x19c)](),this[_0x3fe3cd(0x10f)]=(_0x2e1c41=_0x28c2e7==null?void 0x0:_0x28c2e7['range'])!=null?_0x2e1c41:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x3fe3cd(0xeb)]=(_0x38a32d=_0x28c2e7==null?void 0x0:_0x28c2e7['name'])!=null?_0x38a32d:'',this[_0x3fe3cd(0x11b)]=(_0x31975e=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x11b)])!=null?_0x31975e:'',this[_0x3fe3cd(0x112)]=(_0x51e17b=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x112)])!=null?_0x51e17b:0x0,this[_0x3fe3cd(0x113)]=(_0x3baf6b=_0x28c2e7==null?void 0x0:_0x28c2e7['mergeRowTitleCount'])!=null?_0x3baf6b:0x0,this[_0x3fe3cd(0x11a)]=(_0x576bb9=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x11a)])!=null?_0x576bb9:0x0,this[_0x3fe3cd(0x124)]=(_0x257e09=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x124)])!=null?_0x257e09:0x0,this[_0x3fe3cd(0x198)]=(_0x2cd040=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x198)])!=null?_0x2cd040:new Map(),this['rowMergeTitleState']=(_0x1409e0=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x165)])!=null?_0x1409e0:!0x1,this['columnMergeTitleState']=(_0x47769f=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x131)])!=null?_0x47769f:!0x1,this[_0x3fe3cd(0x16b)]=(_0x2b2c7d=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x16b)])!=null?_0x2b2c7d:new Map(),this['isMatchEnd']=(_0x53a369=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x168)])!=null?_0x53a369:!0x1,this[_0x3fe3cd(0x177)]=(_0x22181f=_0x28c2e7==null?void 0x0:_0x28c2e7['isMatchContinue'])!=null?_0x22181f:!0x1,this['isTimeSeries']=(_0x2c54ea=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x145)])!=null?_0x2c54ea:!0x1,this[_0x3fe3cd(0x15b)]=(_0x31feb1=_0x28c2e7==null?void 0x0:_0x28c2e7['isTestTable'])!=null?_0x31feb1:!0x1,this['isUpdateTable']=(_0x395912=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x179)])!=null?_0x395912:!0x1,this['columns']=(_0x2d240a=_0x28c2e7==null?void 0x0:_0x28c2e7[_0x3fe3cd(0x11e)])!=null?_0x2d240a:[];}[_0x385226(0x175)](_0x14c789,_0x9ea2bc){return _0x9ea2bc-_0x14c789===0x1||_0x9ea2bc===_0x14c789;}['intersectWithPreTables'](_0xe82bdb){const _0x3652a3=_0x385226,_0x2f7d6c=[];for(const _0x4d6c71 of _0xe82bdb)this[_0x3652a3(0x10f)][_0x3652a3(0xf1)]<_0x4d6c71[_0x3652a3(0x10f)]['startColumn']||this[_0x3652a3(0x10f)][_0x3652a3(0xec)]>_0x4d6c71['range'][_0x3652a3(0xf1)]||this[_0x3652a3(0x175)](_0x4d6c71[_0x3652a3(0x10f)][_0x3652a3(0x14e)],this[_0x3652a3(0x10f)][_0x3652a3(0x137)])&&_0x2f7d6c[_0x3652a3(0x150)](_0x4d6c71);return _0x2f7d6c;}[_0x385226(0x115)](_0x3dc9d4){const _0x3be5c0=_0x385226;return _0x3dc9d4['range'][_0x3be5c0(0x14e)]===this[_0x3be5c0(0x10f)][_0x3be5c0(0x137)]&&this[_0x3be5c0(0x10f)][_0x3be5c0(0xf1)]+0x1===_0x3dc9d4[_0x3be5c0(0x10f)][_0x3be5c0(0xec)];}[_0x385226(0x14c)](_0x3aed04){const _0x1b27f6=_0x385226;return this['range'][_0x1b27f6(0xec)]===-0x1?this:(_0x3aed04[_0x1b27f6(0x150)](this),new W({'sheetId':this[_0x1b27f6(0x118)],'range':{'startRow':this[_0x1b27f6(0x10f)][_0x1b27f6(0x137)],'endRow':this[_0x1b27f6(0x10f)][_0x1b27f6(0x14e)],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x5234f9,_0x308e46,_0x3b4838,_0x4da051){const _0x57c1fc=_0x385226;this['range'][_0x57c1fc(0xec)]===-0x1&&(this[_0x57c1fc(0x10f)][_0x57c1fc(0xec)]=_0x308e46),this['range'][_0x57c1fc(0xf1)]=_0x308e46,_0x4da051!=null&&(this[_0x57c1fc(0x10f)][_0x57c1fc(0xf1)]=Math[_0x57c1fc(0x16d)](_0x4da051,this[_0x57c1fc(0x10f)][_0x57c1fc(0xf1)]));}[_0x385226(0x19e)](){const _0x45f8da=_0x385226;this[_0x45f8da(0x198)][_0x45f8da(0xfa)](),this[_0x45f8da(0x16b)][_0x45f8da(0xfa)](),this[_0x45f8da(0x11e)]=[];}}function te(_0x28d228,_0xf3cdf1){const {startRow:_0x4b0246,startColumn:_0x3c7498,endRow:_0x1a26ed,endColumn:_0x919805}=_0xf3cdf1;return _0x28d228+':'+_0x4b0246+','+_0x3c7498+'-'+_0x1a26ed+','+_0x919805;}function ye(_0x5d7720,_0x56de9e){const _0x4cdd6c=_0x385226;var _0xb028bc;const _0x5e2230=new x[(_0x4cdd6c(0x1a2))](!0x1),_0x568b73=_0x56de9e[_0x4cdd6c(0x15d)](),_0xba89c3=new Map(),_0x3a2217=(_0xb028bc=_0x56de9e[_0x4cdd6c(0x180)]())!=null?_0xb028bc:[];for(const _0xbf33a0 of _0x3a2217){const _0x58e0e2=te(_0x4cdd6c(0x1a4),_0xbf33a0),_0x3a2d74={'unitId':_0x5d7720,'sheetId':_0x568b73,'range':_0xbf33a0,'id':_0x58e0e2};_0x5e2230[_0x4cdd6c(0x139)](_0x3a2d74),_0xba89c3[_0x4cdd6c(0x196)](_0x58e0e2,_0x3a2d74);}return{'mergeRTree':_0x5e2230,'mergeRangeMap':_0xba89c3};}function ve(_0x21ec56,_0x650b8c,_0x2c56d9){const _0x4e0ccf=_0x385226,_0x2d1877=new x['RTree'](!0x1),_0x1524aa=_0x2c56d9[_0x4e0ccf(0x128)](ce['SheetsFilterService']),_0x191bc7=_0x2c56d9['get'](Y[_0x4e0ccf(0x17a)]),_0x4b6ad7=_0x1524aa[_0x4e0ccf(0x138)](_0x21ec56,_0x650b8c);if(_0x4b6ad7&&_0x4b6ad7[_0x4e0ccf(0x193)]()){const _0x2fea7e=_0x4b6ad7[_0x4e0ccf(0x193)](),_0x1a73bb={'unitId':_0x21ec56,'sheetId':_0x650b8c,'range':_0x2fea7e,'id':te(_0x4e0ccf(0x18f),_0x2fea7e)};_0x2d1877['insert'](_0x1a73bb);}const _0x93d248=_0x191bc7[_0x4e0ccf(0x1a5)](_0x21ec56);if(_0x93d248&&Array[_0x4e0ccf(0x190)](_0x93d248))for(const _0x569b52 of _0x93d248){if(!(_0x569b52!=null&&_0x569b52['range']))continue;const _0x5af7e4=_0x569b52[_0x4e0ccf(0x10f)],_0x5e7ca6={'unitId':_0x21ec56,'sheetId':_0x650b8c,'range':_0x5af7e4,'id':te('table',_0x5af7e4)};_0x2d1877[_0x4e0ccf(0x139)](_0x5e7ca6);}return _0x2d1877;}function be(_0x1faee1,_0xac7e5a){const _0x21a9b8=_0x385226;var _0xca0f6a,_0x36706f,_0x4ab216;const _0x31cf47=_0x1faee1[_0x21a9b8(0x159)](),_0x3e3d57={},_0x4cf70d=_0x1faee1[_0x21a9b8(0x142)]();for(const _0x9f89ad of _0x31cf47){const _0x344d35=_0x9f89ad[_0x21a9b8(0x15d)](),_0x15ea71=_0x9f89ad['getRowCount'](),_0xb4f51=_0x9f89ad[_0x21a9b8(0x19b)](),{mergeRTree:_0x2592dc,mergeRangeMap:_0x20a851}=ye(_0x4cf70d,_0x9f89ad),_0xeb990=ve(_0x4cf70d,_0x344d35,_0xac7e5a),_0x577f16=[];let _0x578629=[];for(let _0x4fe5c8=0x0;_0x4fe5c8<_0x15ea71;_0x4fe5c8++){const _0x629d6c=[];let _0x2f546e=new W({'sheetId':_0x344d35,'range':{'startRow':_0x4fe5c8,'endRow':_0x4fe5c8,'startColumn':-0x1,'endColumn':-0x1}});const _0x4bfc9c=new Map();for(let _0x188245=0x0;_0x188245<=_0xb4f51;_0x188245++){const _0x156ced=_0x9f89ad[_0x21a9b8(0x1a1)](_0x4fe5c8,_0x188245),_0x2952fe={'range':{'startRow':_0x4fe5c8,'startColumn':_0x188245,'endRow':_0x4fe5c8,'endColumn':_0x188245},'unitId':_0x4cf70d,'sheetId':_0x344d35};if(_0xeb990['bulkSearch']([_0x2952fe])[_0x21a9b8(0x12b)]>0x0){_0x2f546e=_0x2f546e[_0x21a9b8(0x14c)](_0x629d6c);continue;}const _0x23bb50=_0x2592dc[_0x21a9b8(0x151)]([_0x2952fe]);if(_0x23bb50['size']>0x0){const _0x5ec92f=_0x2f546e[_0x21a9b8(0x127)](_0x578629),_0x4d3514=_0x23bb50[_0x21a9b8(0x101)]()['next']()[_0x21a9b8(0x12f)],_0x530df2=_0x20a851[_0x21a9b8(0x128)](_0x4d3514);if(!_0x530df2)continue;const _0x47d651={'startRow':_0x530df2[_0x21a9b8(0x10f)][_0x21a9b8(0x137)],'endRow':_0x530df2['range'][_0x21a9b8(0x14e)],'startColumn':_0x530df2[_0x21a9b8(0x10f)][_0x21a9b8(0xec)],'endColumn':_0x530df2[_0x21a9b8(0x10f)][_0x21a9b8(0xf1)]},_0x37caa2=_0x9f89ad[_0x21a9b8(0x1a1)](_0x47d651[_0x21a9b8(0x137)],_0x47d651[_0x21a9b8(0xec)]);if(_0x37caa2&&(_0x37caa2['p']!=null||_0x37caa2['v']!=null&&String(_0x37caa2['v'])[_0x21a9b8(0x12e)]>0x0)){_0x2f546e[_0x21a9b8(0x18a)](_0x4fe5c8,_0x188245,_0x156ced,_0x47d651['endColumn']);for(let _0x33a1c4=_0x47d651[_0x21a9b8(0xec)];_0x33a1c4<=_0x47d651[_0x21a9b8(0xf1)];_0x33a1c4++)_0x4bfc9c[_0x21a9b8(0x196)](_0x33a1c4,!0x0);}else _0x2f546e=_0x2f546e[_0x21a9b8(0x14c)](_0x629d6c);const _0x5f309f=_0x47d651[_0x21a9b8(0x14e)]-_0x47d651[_0x21a9b8(0x137)],_0x52656f=_0x47d651[_0x21a9b8(0xf1)]-_0x47d651['startColumn'];if(_0x5ec92f[_0x21a9b8(0x12e)]===0x1){if(_0x5f309f>0x0&&_0x2f546e[_0x21a9b8(0x16b)][_0x21a9b8(0x196)](_0x188245,_0x530df2),_0x52656f>0x0){const _0x3a6232=(_0xca0f6a=_0x2f546e[_0x21a9b8(0x198)][_0x21a9b8(0x128)](_0x4fe5c8))!=null?_0xca0f6a:[];_0x3a6232['push'](_0x530df2),_0x2f546e[_0x21a9b8(0x198)][_0x21a9b8(0x196)](_0x4fe5c8,_0x3a6232);}}else{if(_0x5f309f>0x0&&(_0x2f546e[_0x21a9b8(0x131)]=!0x0,_0x2f546e[_0x21a9b8(0x16b)][_0x21a9b8(0x196)](_0x188245,_0x530df2)),_0x52656f>0x0){_0x2f546e[_0x21a9b8(0x165)]=!0x0;const _0x2dbfd0=(_0x36706f=_0x2f546e['rowMergeTitleCountMap']['get'](_0x4fe5c8))!=null?_0x36706f:[];_0x2dbfd0[_0x21a9b8(0x150)](_0x530df2),_0x2f546e[_0x21a9b8(0x198)][_0x21a9b8(0x196)](_0x4fe5c8,_0x2dbfd0);}}continue;}if((!_0x156ced||j(_0x156ced)==null)&&!_0x4bfc9c[_0x21a9b8(0x128)](_0x188245)){_0x2f546e=_0x2f546e[_0x21a9b8(0x14c)](_0x629d6c);continue;}_0x156ced&&j(_0x156ced)!=null?_0x2f546e[_0x21a9b8(0x18a)](_0x4fe5c8,_0x188245,_0x156ced):(_0x2f546e[_0x21a9b8(0x165)]=!0x1,_0x2f546e[_0x21a9b8(0x131)]=!0x1,_0x2f546e=_0x2f546e[_0x21a9b8(0x14c)](_0x629d6c));}if(_0x629d6c[_0x21a9b8(0x12e)]===0x0){_0x577f16[_0x21a9b8(0x150)](..._0x578629),_0x578629=[];continue;}if(_0x578629[_0x21a9b8(0x12e)]===0x0){_0x578629['push'](..._0x629d6c);continue;}const _0x3ee964=(_0x5b1622,_0x3573e6)=>{const _0x352670=_0x21a9b8;_0x5b1622[_0x352670(0x10f)][_0x352670(0x137)]=Math[_0x352670(0x18b)](_0x5b1622['range'][_0x352670(0x137)],_0x3573e6[_0x352670(0x10f)]['startRow']),_0x5b1622[_0x352670(0x10f)][_0x352670(0x14e)]=Math['max'](_0x5b1622[_0x352670(0x10f)]['endRow'],_0x3573e6[_0x352670(0x10f)][_0x352670(0x14e)]),_0x5b1622[_0x352670(0x10f)]['startColumn']=Math[_0x352670(0x18b)](_0x5b1622[_0x352670(0x10f)]['startColumn'],_0x3573e6[_0x352670(0x10f)][_0x352670(0xec)]),_0x5b1622[_0x352670(0x10f)][_0x352670(0xf1)]=Math[_0x352670(0x16d)](_0x5b1622[_0x352670(0x10f)][_0x352670(0xf1)],_0x3573e6['range'][_0x352670(0xf1)]),_0x3573e6[_0x352670(0x198)][_0x352670(0xfb)]((_0x26d8b5,_0x392d49)=>{const _0x128cec=_0x352670;var _0x1780c2;const _0x594d40=(_0x1780c2=_0x5b1622['rowMergeTitleCountMap'][_0x128cec(0x128)](_0x392d49))!=null?_0x1780c2:[];_0x594d40[_0x128cec(0x150)](..._0x26d8b5),_0x5b1622[_0x128cec(0x198)][_0x128cec(0x196)](_0x392d49,_0x594d40);}),_0x3573e6[_0x352670(0x16b)][_0x352670(0xfb)]((_0x178db4,_0x1d3747)=>{const _0x18624c=_0x352670;_0x5b1622[_0x18624c(0x16b)][_0x18624c(0x196)](_0x1d3747,_0x178db4);});};for(let _0x56c1bb=0x0;_0x56c1bb+0x1<_0x629d6c[_0x21a9b8(0x12e)];_0x56c1bb++){const _0x46c8e9=_0x629d6c[_0x56c1bb],_0xf2ba13=_0x629d6c[_0x56c1bb+0x1];_0x46c8e9[_0x21a9b8(0x115)](_0xf2ba13)&&(_0x3ee964(_0x46c8e9,_0xf2ba13),_0x629d6c[_0x21a9b8(0x126)](_0x56c1bb+0x1,0x1),_0x56c1bb--);}const _0x1a17d0=[];for(const _0x45672c of _0x629d6c){const _0x343482=_0x45672c['intersectWithPreTables'](_0x578629);if(_0x343482[_0x21a9b8(0x12e)]===0x0){_0x1a17d0[_0x21a9b8(0x150)](_0x45672c);continue;}const _0x4384be=(_0x4ab216=_0x45672c[_0x21a9b8(0x198)][_0x21a9b8(0x128)](_0x4fe5c8))!=null?_0x4ab216:[];let _0x482e90=Number[_0x21a9b8(0x125)],_0xd4ed5e=-0x1,_0x12c037=-0x1;for(const _0x41b56a of _0x4384be){const _0x3c0329=_0x41b56a[_0x21a9b8(0x10f)],_0x1599bf=_0x3c0329[_0x21a9b8(0xec)],_0x44c4f4=_0x3c0329[_0x21a9b8(0xf1)];_0x482e90=Math[_0x21a9b8(0x18b)](_0x482e90,_0x1599bf),_0xd4ed5e=Math[_0x21a9b8(0x16d)](_0xd4ed5e,_0x44c4f4);}_0xd4ed5e===-0x1&&(_0x12c037=_0xd4ed5e-_0x482e90+0x1);const _0x28ec84=_0x343482[0x0][_0x21a9b8(0x10f)],_0x17b8af=_0x28ec84[_0x21a9b8(0xf1)]-_0x28ec84[_0x21a9b8(0xec)]+0x1;if(_0x12c037>=0x0&&_0x12c037<=_0x17b8af*0x3/0x4){_0x1a17d0['push'](_0x45672c);continue;}const _0x13e42e=_0x343482[0x0];for(const _0x3673cd of _0x343482[_0x21a9b8(0x176)](0x1))_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0x137)]=Math[_0x21a9b8(0x18b)](_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0x137)],_0x3673cd[_0x21a9b8(0x10f)]['startRow']),_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0x14e)]=Math[_0x21a9b8(0x16d)](_0x13e42e['range'][_0x21a9b8(0x14e)],_0x3673cd[_0x21a9b8(0x10f)][_0x21a9b8(0x14e)]),_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0xec)]=Math['min'](_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0xec)],_0x3673cd[_0x21a9b8(0x10f)]['startColumn']),_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0xf1)]=Math['max'](_0x13e42e[_0x21a9b8(0x10f)]['endColumn'],_0x3673cd['range'][_0x21a9b8(0xf1)]);_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0x137)]=Math[_0x21a9b8(0x18b)](_0x13e42e[_0x21a9b8(0x10f)]['startRow'],_0x45672c[_0x21a9b8(0x10f)][_0x21a9b8(0x137)]),_0x13e42e['range'][_0x21a9b8(0x14e)]=Math['max'](_0x13e42e['range'][_0x21a9b8(0x14e)],_0x45672c[_0x21a9b8(0x10f)][_0x21a9b8(0x14e)]),_0x13e42e[_0x21a9b8(0x10f)]['startColumn']=Math['min'](_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0xec)],_0x45672c['range'][_0x21a9b8(0xec)]),_0x13e42e[_0x21a9b8(0x10f)][_0x21a9b8(0xf1)]=Math['max'](_0x13e42e['range']['endColumn'],_0x45672c['range']['endColumn']),_0x45672c['rowMergeTitleCountMap'][_0x21a9b8(0xfb)]((_0x1c592b,_0x148bc0)=>{const _0x3f38f3=_0x21a9b8;var _0x5414b6;const _0x3fb0f9=(_0x5414b6=_0x13e42e[_0x3f38f3(0x198)][_0x3f38f3(0x128)](_0x148bc0))!=null?_0x5414b6:[];_0x3fb0f9[_0x3f38f3(0x150)](..._0x1c592b),_0x13e42e[_0x3f38f3(0x198)][_0x3f38f3(0x196)](_0x148bc0,_0x3fb0f9);}),_0x45672c['columnMergeTitleCountMap'][_0x21a9b8(0xfb)]((_0x1dd261,_0x5d9588)=>{const _0x309ac0=_0x21a9b8;_0x13e42e[_0x309ac0(0x16b)][_0x309ac0(0x196)](_0x5d9588,_0x1dd261);}),_0x13e42e['isMatchContinue']=!0x0;}const _0x2390e9=[];for(const _0x103d0d of _0x578629)!_0x103d0d[_0x21a9b8(0x177)]&&_0x103d0d[_0x21a9b8(0x168)]||(_0x2390e9['push'](_0x103d0d),_0x103d0d[_0x21a9b8(0x177)]=!0x1,_0x103d0d[_0x21a9b8(0x168)]=!0x1);_0x2390e9[_0x21a9b8(0x150)](..._0x1a17d0),_0x578629=_0x2390e9;}_0x577f16[_0x21a9b8(0x150)](..._0x578629);let _0x5b581c=0x0;for(const _0x5b038d of _0x577f16){const _0x2b9775=_0x5b038d['range'][_0x21a9b8(0x14e)]-_0x5b038d[_0x21a9b8(0x10f)][_0x21a9b8(0x137)]+0x1;_0x5b038d[_0x21a9b8(0x10f)][_0x21a9b8(0xf1)]-_0x5b038d[_0x21a9b8(0x10f)][_0x21a9b8(0xec)]+0x1>0x0&&_0x2b9775>0x1&&_0x5b581c++;}if(_0x5b581c===0x0)continue;const _0x5f1c3c=[],_0x5d01d1=re(0x6,_0x577f16['length']);let _0x3b9e2b=0x0;for(const _0x23f9e8 of _0x577f16){const _0x5fbaa=_0x23f9e8[_0x21a9b8(0x10f)][_0x21a9b8(0x14e)]-_0x23f9e8[_0x21a9b8(0x10f)][_0x21a9b8(0x137)]+0x1,_0x16033d=_0x23f9e8[_0x21a9b8(0x10f)][_0x21a9b8(0xf1)]-_0x23f9e8[_0x21a9b8(0x10f)][_0x21a9b8(0xec)]+0x1;let _0x18a688=!0x1;for(const _0x55babd of _0x9f89ad[_0x21a9b8(0x180)]())if($e(_0x23f9e8[_0x21a9b8(0x10f)],_0x55babd)){_0x18a688=!0x0;break;}if(_0x18a688)continue;let _0x390ba7=!0x0;for(const _0x3ca5fd of _0x577f16)if(_0x3ca5fd!==_0x23f9e8&&Ne(_0x23f9e8,_0x3ca5fd)){_0x390ba7=!0x1;break;}_0x390ba7&&(_0x16033d<=0x0||_0x5fbaa<=0x1||(_0x23f9e8['id']=_0x5d01d1[_0x3b9e2b++],_0x5f1c3c[_0x21a9b8(0x150)](_0x23f9e8)));}_0x3e3d57[_0x344d35]=_0x5f1c3c;}return _0x3e3d57;}function Ie(_0x5dbbc5){const _0x33461d=_0x385226,_0xb158a9=new Set();for(const [_0xcc15e9,_0x2d0c97]of Object[_0x33461d(0xed)](_0x5dbbc5))for(const _0x211f82 of _0x2d0c97){const {sheetId:_0x48f4fe,range:_0x4b00f7}=_0x211f82,_0x3550e4=_0x48f4fe+':'+_0x4b00f7[_0x33461d(0x137)]+','+_0x4b00f7[_0x33461d(0x14e)]+','+_0x4b00f7[_0x33461d(0xec)]+','+_0x4b00f7[_0x33461d(0xf1)];_0xb158a9[_0x33461d(0x194)](_0x3550e4);}return _0xb158a9;}function xe(_0x10f38c,_0x65f648,_0x1835f4){const _0xb93b3a=be(_0x10f38c,_0x65f648);Oe(_0xb93b3a,_0x10f38c,_0x65f648),Pe(_0xb93b3a,_0x10f38c,_0x65f648);const _0x103482=Ue(_0xb93b3a,_0x10f38c);return Je(_0x103482,_0x10f38c,_0x65f648,_0x1835f4);}function $e(_0xd4dfb4,_0xd74f51){const _0x3e5e9e=_0x385226;return _0xd4dfb4[_0x3e5e9e(0x137)]===_0xd74f51[_0x3e5e9e(0x137)]&&_0xd4dfb4[_0x3e5e9e(0x14e)]===_0xd74f51[_0x3e5e9e(0x14e)]&&_0xd4dfb4[_0x3e5e9e(0xec)]===_0xd74f51[_0x3e5e9e(0xec)]&&_0xd4dfb4[_0x3e5e9e(0xf1)]===_0xd74f51[_0x3e5e9e(0xf1)];}function _0x1da3(){const _0x9b8d69=['Best','1503QvKNjH','defineProperty','January\x202,2006','Plugin','isBigText','timeStampStyles','isUnique','getUnitId','Disposable','Type','isTimeSeries','string','STRING','isCoded','CellValueType','getFullYear','dataStream','saveTableToCache','Layout','endRow','columnId','push','bulkSearch','has','01-02-2006','pattern','104475iaFEau','20060102','2006-1-2','242314dkAWJs','getSheets','dateStyles','isTestTable','January\x202,\x202006','getSheetId','Sample','each','dataType','symbol','split','Calc','column_','rowMergeTitleState','none','2006-01-02T15:04:05','isMatchEnd','stringify','data','columnMergeTitleCountMap','getTablesBySubunitId','max','None','UNIVER_RANGE_PREPROCESS_PLUGIN','links','floor','01/02/2006','linkType','02-01-2006','_isRowContinuous','slice','isMatchContinue','join','isUpdateTable','TableManager','2\x20Jan.,\x202006','UniverRangePreprocessPlugin','Description','02.01.2006','onStarting','getMergeData','toStringTag','_injector','2\x20January,2006','Name','Charset','2006/01/02','sort',',\x20rangeName:','2283207txhhhG','insertCellData','min','NUMBER','438jRUSCh','getDate','autoFilter','isArray','body','getSheetBySheetId','getRange','add','recognizers','set','isMeasure','rowMergeTitleCountMap','log10','boolean','getColumnCount','generateRandomId','skip\x20small\x20table,\x20idx:','dispose','registerDependencies','number','getCell','RTree','date','merge','getTableList','name','startColumn','entries','warn','3278PVjGEn','138036ndFJKU','endColumn','getPlainText','2006年1月2日','confidence','trunc','needConvert','2006-01-02','2\x20January,\x202006','layout','clear','forEach','2006-01-02\x2015:04:05','RangePreprocessController','values','2006/1/2','from','keys','meta','_config','11266656iEkrCi','Module','isTitleRepeat','Inject','Confidence','All','displayName','_configService','isOpinionText','onReady','3359202sRWAnG','range','map','valid','rowTitleCount','mergeRowTitleCount','8bIRXYg','intersectWithColumns','82090TwVCOJ','getStyles','sheetId','excel','startStatisticRowCount','description','02/01/2006','all','columns','replace','Injector','1xLbUaK','isLink','trim','endStatisticRowCount','MAX_SAFE_INTEGER','splice','intersectWithPreTables','get','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','transform','size','fromCharCode','test','length','value','toLowerCase','columnMergeTitleState','invalid','getOwnPropertyDescriptor','Match','Jan.\x202,\x202006','toJSON','startRow','getFilterModel','insert'];_0x1da3=function(){return _0x9b8d69;};return _0x1da3();}function Ne(_0x9519bb,_0x1803a8){const _0x31ff2b=_0x385226;return _0x9519bb[_0x31ff2b(0x10f)][_0x31ff2b(0x137)]>=_0x1803a8[_0x31ff2b(0x10f)]['startRow']&&_0x9519bb[_0x31ff2b(0x10f)][_0x31ff2b(0x14e)]<=_0x1803a8['range'][_0x31ff2b(0x14e)]&&_0x9519bb[_0x31ff2b(0x10f)]['startColumn']>=_0x1803a8[_0x31ff2b(0x10f)]['startColumn']&&_0x9519bb['range']['endColumn']<=_0x1803a8[_0x31ff2b(0x10f)][_0x31ff2b(0xf1)];}function Ee(_0x44b380){const _0x1cc844=_0x385226;return''+ne(_0x44b380['startColumn'])+(_0x44b380['startRow']+0x1)+':'+ne(_0x44b380[_0x1cc844(0xf1)])+(_0x44b380['endRow']+0x1);}function fe(_0x572621){const _0x10a903=_0x385226;if(_0x572621!==null){if(_0x572621!=null&&_0x572621['p']){const _0x1f022f=_0x572621==null?void 0x0:_0x572621['p'][_0x10a903(0x191)];if(_0x1f022f==null)return;const _0x1c750b=_0x1f022f[_0x10a903(0x14b)];return x['BuildTextUtils'][_0x10a903(0x12a)][_0x10a903(0xf2)](_0x1c750b);}if(_0x572621!=null&&_0x572621['v'])return _0x572621['v'];}}function j(_0x59e00d){if(fe(_0x59e00d)!=null)return String(_0x59e00d['v']);}function _e(_0x30011b,_0x299555,_0x2733c1,_0x1d63d9){const _0x435056=_0x385226,_0x13fc0c=_0x2733c1['getCell'](_0x30011b,_0x299555);if(_0x13fc0c!=null){for(const _0x5d6826 of _0x1d63d9)if(_0x30011b>=_0x5d6826['startRow']&&_0x30011b<=_0x5d6826[_0x435056(0x14e)]&&_0x299555>=_0x5d6826['startColumn']&&_0x299555<=_0x5d6826[_0x435056(0xf1)]){const _0x281d9d=_0x2733c1[_0x435056(0x1a1)](_0x5d6826[_0x435056(0x137)],_0x5d6826[_0x435056(0xec)]);return _0x281d9d==null?void 0x0:j(_0x281d9d);}return j(_0x13fc0c);}}function Pe(_0x476bf6,_0x9425e,_0x5e6e69){const _0x58a371=_0x385226,_0x563df6=_0x9425e['getSheets'](),_0x580230=re(0x6,_0x563df6['length']);let _0x5265d8=0x0;const _0x207b9a=_0x9425e['getUnitId'](),_0x5597d7=_0x5e6e69[_0x58a371(0x128)](ce['SheetsFilterService']),_0x4a810f=Ie(_0x476bf6);for(const _0x420461 of _0x563df6){const _0x30dbf1=_0x420461['getSheetId'](),_0x421ed0=_0x5597d7['getFilterModel'](_0x207b9a,_0x30dbf1);if(!_0x421ed0)continue;const _0x18a523=_0x421ed0[_0x58a371(0x193)](),{startRow:_0x54ecbc,endRow:_0x39503f,startColumn:_0x2474ed,endColumn:_0x5a4863}=_0x18a523;if(_0x5a4863-_0x2474ed>=0x3e8)continue;const _0x27d297=_0x30dbf1+':'+_0x54ecbc+','+_0x39503f+','+_0x2474ed+','+_0x5a4863;if(_0x4a810f[_0x58a371(0x152)](_0x27d297))continue;const _0xf3869b=new W({'id':_0x580230[_0x5265d8++],'sheetId':_0x30dbf1,'range':{'startRow':_0x54ecbc,'endRow':_0x39503f,'startColumn':_0x2474ed,'endColumn':_0x5a4863},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x1});_0x476bf6[_0x30dbf1]||(_0x476bf6[_0x30dbf1]=[]),_0x476bf6[_0x30dbf1][_0x58a371(0x150)](_0xf3869b);}}function Oe(_0x38b95b,_0x327203,_0x37c0da){const _0x3157f7=_0x385226,_0x35d3e8=_0x327203[_0x3157f7(0x159)](),_0x2562d8=_0x37c0da[_0x3157f7(0x128)](Y[_0x3157f7(0x17a)]),_0x16e3ed=_0x327203[_0x3157f7(0x142)]();for(const _0x37c955 of _0x35d3e8){const _0x24ce47=_0x37c955['getSheetId'](),_0x4718ae=_0x2562d8[_0x3157f7(0x16c)](_0x16e3ed,_0x24ce47);if(!_0x4718ae)continue;const _0x5b3351=_0x4718ae['map'](_0xbb8657=>_0xbb8657[_0x3157f7(0x136)]());for(const _0x4476e2 of _0x5b3351){const {startRow:_0x376d41,endRow:_0xd01c9d,startColumn:_0x1d7066,endColumn:_0x3b6c44}=_0x4476e2[_0x3157f7(0x10f)],_0x4857e0=new W({'id':_0x4476e2['id'],'sheetId':_0x24ce47,'range':{'startRow':_0x376d41,'endRow':_0xd01c9d,'startColumn':_0x1d7066,'endColumn':_0x3b6c44},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x38b95b[_0x24ce47]||(_0x38b95b[_0x24ce47]=[]),_0x38b95b[_0x24ce47][_0x3157f7(0x150)](_0x4857e0);}}}function Ue(_0x5c2712,_0x4ae268){const _0x5a5ee1=_0x385226;var _0x1a1ecd,_0xed715f,_0x1553ea,_0x3cb339;for(const [_0x1366a8,_0x4d6989]of Object[_0x5a5ee1(0xed)](_0x5c2712)){const _0x6d5fc4=_0x4d6989;let _0x2fef75=!0x1;const _0x1a13d4=_0x4ae268[_0x5a5ee1(0x192)](_0x1366a8);if(_0x1a13d4){for(let _0x2cc6c4=0x0;_0x2cc6c4<_0x6d5fc4['length'];_0x2cc6c4++){const _0x4d1afe=_0x6d5fc4[_0x2cc6c4],_0x123c1a=_0x4d1afe[_0x5a5ee1(0x10f)],{startRow:_0x243734,endRow:_0x29c46b,startColumn:_0x591b74,endColumn:_0x4ba38a}=_0x123c1a,_0x22d80e=ke(_0x4d1afe,_0x1a13d4),_0x54d530=Ae(_0x243734,_0x29c46b,_0x4d1afe);let _0x43cd78=0x1;const _0x5a3e=_0x243734+_0x54d530;let _0x43d4e0=0x0,_0x314991=0x0;for(let _0x4a1733=_0x591b74;_0x4a1733<=_0x4ba38a;_0x4a1733++){const _0x8a84a6=_0x1a13d4[_0x5a5ee1(0x1a1)](_0x5a3e,_0x4a1733);if(!_0x8a84a6)continue;const _0xfeee3f=j(_0x8a84a6);_0xfeee3f!=null&&(_0xfeee3f!==''&&_0x314991++,le(_0xfeee3f)&&_0x43d4e0++);}if(_0x314991>0x0&&_0x43d4e0/Math['max'](_0x314991,0x1)>0.03&&(_0x43cd78=0x0),_0x4d1afe[_0x5a5ee1(0x113)]=_0x54d530,_0x4d1afe[_0x5a5ee1(0x112)]=_0x43cd78+_0x54d530,_0x4d1afe['range'][_0x5a5ee1(0x14e)]-_0x4d1afe[_0x5a5ee1(0x10f)]['startRow']+0x1-_0x4d1afe['rowTitleCount']<=0x1){console['warn'](_0x5a5ee1(0x19d)+_0x2cc6c4+_0x5a5ee1(0x188)+Ee(_0x4d1afe[_0x5a5ee1(0x10f)])),_0x6d5fc4[_0x5a5ee1(0x126)](_0x2cc6c4,0x1),_0x2cc6c4--,_0x2fef75=!0x0;continue;}const _0x4f99d4=new Map();let _0x472ff8=0x0;const _0x63ea8f=re(0x4,_0x4ba38a-_0x591b74+0x1);for(let _0x64bb45=_0x591b74;_0x64bb45<=_0x4ba38a;_0x64bb45++){let _0x7ff67a='';const _0x437c2c=new Set();let _0xb93673=!0x1;const _0x542faf=_0x243734+_0x4d1afe[_0x5a5ee1(0x112)]-0x1;let _0x1fbf5e=_0x243734;_0x22d80e!==''&&(_0x1fbf5e=_0x243734+0x1);for(let _0x2e6d04=_0x1fbf5e;_0x2e6d04<=_0x542faf;_0x2e6d04++){const _0x31d33c=_e(_0x2e6d04,_0x64bb45,_0x1a13d4,(_0xed715f=(_0x1a1ecd=_0x4ae268['getSheetBySheetId'](_0x4d1afe[_0x5a5ee1(0x118)]))==null?void 0x0:_0x1a1ecd[_0x5a5ee1(0x180)]())!=null?_0xed715f:[]);_0x31d33c!=null&&(_0x2e6d04===_0x542faf&&(_0x7ff67a=_0x31d33c),_0x437c2c[_0x5a5ee1(0x194)](_0x31d33c));}const _0x3a2616=[..._0x437c2c][_0x5a5ee1(0x178)](','),_0x4f5d2d=_0x3a2616;_0x4f99d4[_0x5a5ee1(0x152)](_0x4f5d2d)?_0xb93673=!0x0:_0x4f99d4[_0x5a5ee1(0x196)](_0x4f5d2d,!0x0);const _0x50be22=_0x542faf+0x1;let _0x29e248=_0x542faf+0x14,_0x560217=0x0,_0x15d968=!0x1,_0x38321c=!0x1;if(_0x29e248>_0x29c46b&&(_0x29e248=_0x29c46b),_0x50be22<_0x29c46b){let _0x40f42c='';for(let _0x1d1c99=_0x50be22;_0x1d1c99<=_0x29e248;_0x1d1c99++){const _0x500540=_0x1a13d4['getCell'](_0x1d1c99,_0x64bb45);if(!_0x500540)continue;const _0x299a96=j(_0x500540);_0x299a96!=null&&(le(_0x299a96)||(_0x40f42c+=_0x299a96),Ve(_0x299a96)&&_0x560217++);}_0x560217>Math[_0x5a5ee1(0x171)]((_0x29e248-_0x50be22+0x1)/0x2)&&(_0x38321c=!0x0),je(_0x40f42c)/Math['max'](_0x29e248-_0x50be22+0x1,0x1)>0xf&&!_0x38321c&&(_0x15d968=!0x0);}_0x4d1afe[_0x5a5ee1(0x11e)][_0x5a5ee1(0x150)]({'id':_0x63ea8f[_0x472ff8++],'Name':_0x7ff67a,'Type':'','Description':_0x3a2616,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x15d968,'isLink':_0x38321c,'isTitleRepeat':_0xb93673,'isUnique':!0x1,'links':[]});}De(_0x4d1afe,_0x4ae268);}_0x2fef75&&(_0x5c2712[_0x1366a8]=_0x6d5fc4),_0x6d5fc4['length']===0x0&&delete _0x5c2712[_0x1366a8],(_0x3cb339=(_0x1553ea=_0x5c2712[_0x1366a8])==null?void 0x0:_0x1553ea[_0x5a5ee1(0x12e)])!=null;}}return _0x5c2712;}function Ae(_0x230722,_0x505aa3,_0x176a6b){const _0x442400=_0x385226;var _0x2ec9e4;function _0x39b1ee(_0x1e68b8){const _0x4785e5=_0x49ca;if(_0x1e68b8['length']===0x0)return 0x0;_0x1e68b8[_0x4785e5(0x187)]((_0x5e6b89,_0x10020e)=>_0x5e6b89[0x0]-_0x10020e[0x0]);let _0x373476=0x0,_0x53ac4e=_0x1e68b8[0x0][0x0],_0x16e1b0=_0x1e68b8[0x0][0x1];for(let _0x16db07=0x1;_0x16db07<_0x1e68b8[_0x4785e5(0x12e)];_0x16db07++){const [_0x2b89bf,_0x51db30]=_0x1e68b8[_0x16db07];_0x2b89bf<=_0x16e1b0+0x1?_0x16e1b0=Math['max'](_0x16e1b0,_0x51db30):(_0x373476+=_0x16e1b0-_0x53ac4e+0x1,_0x53ac4e=_0x2b89bf,_0x16e1b0=_0x51db30);}return _0x373476+=_0x16e1b0-_0x53ac4e+0x1,_0x373476;}const _0x46dafb=_0x176a6b['range']['startColumn'],_0xc2ef9=_0x176a6b[_0x442400(0x10f)][_0x442400(0xf1)],_0x480e10=_0xc2ef9-_0x46dafb+0x1;let _0x4b741d=_0x230722-0x1,_0x12dc26=_0x230722-0x1,_0x1c4f0e=!0x1;const _0x1737dd=0x64;for(let _0x23199b=_0x230722;_0x23199b<=_0x505aa3&&_0x23199b-_0x230722<_0x1737dd;_0x23199b++){const _0x2c32fc=[],_0x477b90=(_0x2ec9e4=_0x176a6b[_0x442400(0x198)]['get'](_0x23199b))!=null?_0x2ec9e4:[];for(const _0x1af9ba of _0x477b90){const _0x5a46bc=_0x1af9ba[_0x442400(0x10f)][_0x442400(0xec)],_0x1be042=_0x1af9ba[_0x442400(0x10f)][_0x442400(0xf1)],_0x3a5bed=Math[_0x442400(0x16d)](_0x5a46bc,_0x46dafb),_0x2d8165=Math[_0x442400(0x18b)](_0x1be042,_0xc2ef9);_0x3a5bed<=_0x2d8165&&_0x2c32fc[_0x442400(0x150)]([_0x3a5bed,_0x2d8165]);}_0x176a6b[_0x442400(0x16b)][_0x442400(0xfb)](_0x51f954=>{const _0x1ab397=_0x442400,_0x86bd0a=_0x51f954['range'][_0x1ab397(0x137)],_0x5688c9=_0x51f954['range'][_0x1ab397(0x14e)];if(_0x86bd0a<=_0x23199b&&_0x23199b<=_0x5688c9){const _0x19bfa2=_0x51f954['range'][_0x1ab397(0xec)],_0x1e93db=_0x51f954['range'][_0x1ab397(0xf1)],_0x1f6a12=Math['max'](_0x19bfa2,_0x46dafb),_0x21128a=Math[_0x1ab397(0x18b)](_0x1e93db,_0xc2ef9);_0x1f6a12<=_0x21128a&&_0x2c32fc[_0x1ab397(0x150)]([_0x1f6a12,_0x21128a]);}});const _0x43dced=_0x39b1ee(_0x2c32fc),_0x599605=_0x43dced/Math[_0x442400(0x16d)](_0x480e10,0x1);_0x2c32fc[_0x442400(0x12e)]>0x0&&(_0x4b741d=_0x23199b),_0x43dced>0x0&&_0x599605>=0.75&&!_0x1c4f0e?_0x12dc26=_0x23199b:_0x2c32fc['length']>0x0&&(_0x1c4f0e=!0x0);}return _0x4b741d===_0x505aa3||_0x4b741d-_0x230722===_0x1737dd?_0x12dc26-_0x230722+0x1:_0x4b741d-_0x230722+0x1;}function ke(_0x4bcadb,_0x8e483){const _0x5b9858=_0x385226;if(_0x4bcadb[_0x5b9858(0xeb)]&&_0x4bcadb[_0x5b9858(0xeb)]!=='')return _0x4bcadb[_0x5b9858(0xeb)];const _0x2ae36d=_0x4bcadb['range'][_0x5b9858(0x137)],_0x35d082=_0x4bcadb['range'][_0x5b9858(0xec)],_0x420c50=_0x4bcadb['range'][_0x5b9858(0xf1)],_0x5d0d0a=0x3,_0x328b66=_0x4bcadb[_0x5b9858(0x198)]['get'](_0x2ae36d);if(_0x328b66&&_0x328b66[_0x5b9858(0x12e)]>0x0)for(const _0xeb8090 of _0x328b66){const _0x5f15db=_0xeb8090['range'],_0x285e2c=_0x5f15db[_0x5b9858(0xec)],_0x424de6=_0x5f15db[_0x5b9858(0xf1)];if(_0x285e2c<=_0x35d082+_0x5d0d0a&&_0x424de6>=_0x420c50-_0x5d0d0a){const _0x46dc9b=_0x8e483[_0x5b9858(0x1a1)](_0x2ae36d,_0x285e2c);if(!_0x46dc9b)return'';const _0x583f81=j(_0x46dc9b);return _0x583f81==null||_0x583f81===''?'':(_0x4bcadb[_0x5b9858(0xeb)]=_0x583f81,_0x583f81);}}return'';}function De(_0x5e9b2d,_0x1ab1a9){const _0x87fa83=_0x385226,_0x2ffb3c={};_0x1ab1a9[_0x87fa83(0x117)]()[_0x87fa83(0x15f)](_0x576f71=>{const _0x1e2fc4=_0x87fa83,[_0x3b15ae,_0x22c5ee]=_0x576f71;return!_0x3b15ae||!_0x22c5ee||_0x22c5ee['n']&&typeof _0x22c5ee['n'][_0x1e2fc4(0x154)]==_0x1e2fc4(0x146)&&/[YyMDd]/[_0x1e2fc4(0x12d)](_0x22c5ee['n']['pattern'])&&(_0x2ffb3c[_0x3b15ae]=!0x0),!0x0;});const _0x49b2e7=_0x5e9b2d[_0x87fa83(0x10f)][_0x87fa83(0x137)],_0x4802f4=_0x5e9b2d[_0x87fa83(0x10f)]['endRow'],_0x1f6281=_0x5e9b2d['rowTitleCount'],_0x25f7f5=_0x5e9b2d[_0x87fa83(0x118)],_0xbb200b=_0x1ab1a9[_0x87fa83(0x192)](_0x25f7f5);if(!_0xbb200b)return;const _0x366858=_0x4802f4-_0x49b2e7+0x1-_0x1f6281;if(_0x366858<=0x1){console[_0x87fa83(0xee)]('skip\x20small\x20table');return;}const _0x352437=[];for(let _0x3fb5cb=0x0;_0x3fb5cb<_0x5e9b2d[_0x87fa83(0x10f)]['endColumn']-_0x5e9b2d[_0x87fa83(0x10f)]['startColumn']+0x1;_0x3fb5cb++)_0x352437[_0x87fa83(0x150)](new Se(_0x2ffb3c));const _0x44e0ff=Math[_0x87fa83(0x199)](Math['max'](_0x366858,0x1));for(let _0x296f9f=0x0;;_0x296f9f++){const _0x44c2b1=_0x296f9f,_0x24f77f=Math['floor'](_0x44c2b1+0.00001*_0x44c2b1**2.7*_0x44e0ff*_0x44e0ff)+_0x49b2e7+_0x1f6281;if(_0x24f77f>_0x4802f4)break;for(let _0x43d1cd=_0x5e9b2d[_0x87fa83(0x10f)]['startColumn'];_0x43d1cd<=_0x5e9b2d['range']['endColumn'];_0x43d1cd++){const _0x360a0a=_0xbb200b[_0x87fa83(0x1a1)](_0x24f77f,_0x43d1cd);_0x360a0a&&_0x352437[_0x43d1cd-_0x5e9b2d[_0x87fa83(0x10f)][_0x87fa83(0xec)]][_0x87fa83(0x134)](_0x360a0a);}}for(let _0x389c1e=0x0;_0x389c1e<_0x5e9b2d['columns'][_0x87fa83(0x12e)];_0x389c1e++){const [_0x317989,_0x5acb11]=_0x352437[_0x389c1e][_0x87fa83(0x13a)]();_0x5e9b2d[_0x87fa83(0x11e)][_0x389c1e]['Type']=_0x317989;}}function me(_0x17248a){const _0x3bd906=_0x385226,_0x281b98=[];for(const _0x25e1d2 of _0x17248a['links'])_0x281b98[_0x3bd906(0x150)]({'tableId':_0x25e1d2['tableId'],'columnId':_0x25e1d2[_0x3bd906(0x14f)],'linkType':_0x25e1d2[_0x3bd906(0x173)]});return _0x281b98;}function Le(_0x4d13fd){return _0x4d13fd['rowTitleCount']===0x1;}function Be(_0x38459e,_0x13003c,_0x1bac3a,_0xd16df8,_0x3f027c){const _0x4521f1=_0x385226,_0x302af5=_0xd16df8[_0x4521f1(0x128)](Y[_0x4521f1(0x17a)]),_0xb72b8a=_0x13003c[_0x4521f1(0x142)](),_0x13c158=_0x38459e[_0x4521f1(0x118)];if(_0x302af5['getTablesBySubunitId'](_0xb72b8a,_0x13c158)){for(const _0x221bb7 of _0x1bac3a)if(_0x221bb7['id']===_0x38459e['id']){_0x221bb7['name']=_0x38459e[_0x4521f1(0xeb)],_0x221bb7[_0x4521f1(0x102)]={},_0x221bb7[_0x4521f1(0x102)]['description']=_0x38459e[_0x4521f1(0x11b)],_0x221bb7['meta'][_0x4521f1(0x112)]=_0x38459e[_0x4521f1(0x112)],_0x221bb7[_0x4521f1(0x102)][_0x4521f1(0x113)]=_0x38459e[_0x4521f1(0x113)],_0x221bb7[_0x4521f1(0x102)]['isTimeSeries']=_0x38459e[_0x4521f1(0x145)];for(let _0x165ae0=0x0;_0x165ae0<_0x38459e[_0x4521f1(0x11e)]['length'];_0x165ae0++){const _0x39354e=_0x38459e[_0x4521f1(0x11e)][_0x165ae0],_0x453218=_0x221bb7[_0x4521f1(0x11e)][_0x165ae0];_0x453218[_0x4521f1(0x10a)]=_0x39354e['Name'],_0x453218[_0x4521f1(0x160)]=_0x39354e[_0x4521f1(0x144)],_0x453218[_0x4521f1(0x102)]={},_0x453218['meta']['description']=_0x39354e[_0x4521f1(0x17d)],_0x453218[_0x4521f1(0x102)][_0x4521f1(0x148)]=_0x39354e[_0x4521f1(0x148)],_0x453218[_0x4521f1(0x102)][_0x4521f1(0x197)]=_0x39354e[_0x4521f1(0x197)],_0x453218['meta']['isOpinionText']=_0x39354e['isOpinionText'],_0x453218[_0x4521f1(0x102)]['isBigText']=_0x39354e[_0x4521f1(0x13f)],_0x453218[_0x4521f1(0x102)][_0x4521f1(0x122)]=_0x39354e['isLink'],_0x453218[_0x4521f1(0x102)][_0x4521f1(0x106)]=_0x39354e[_0x4521f1(0x106)],_0x453218[_0x4521f1(0x102)]['isUnique']=_0x39354e[_0x4521f1(0x141)],_0x453218['meta']['links']=me(_0x39354e);}he(_0x221bb7,_0x13c158,_0x13003c,_0x3f027c);}}}function Je(_0x5c7724,_0x3a691b,_0x29dbf8,_0x490e84){const _0x28143b=_0x385226,_0x21029e=_0x29dbf8['get'](Y[_0x28143b(0x17a)]),_0x4bb1ce=_0x3a691b['getUnitId'](),_0x41fb2c={};for(const [_0x2f9395,_0x5a8af4]of Object['entries'](_0x5c7724)){const _0x4562fa=_0x21029e[_0x28143b(0x16c)](_0x4bb1ce,_0x2f9395),_0x19bbd0=(_0x4562fa==null?void 0x0:_0x4562fa[_0x28143b(0x110)](_0x195c2d=>_0x195c2d[_0x28143b(0x136)]()))||[];for(const _0x11dd59 of _0x5a8af4){if(_0x11dd59[_0x28143b(0x179)]){Be(_0x11dd59,_0x3a691b,_0x19bbd0,_0x29dbf8,_0x490e84);continue;}const _0x26c63b={'id':_0x11dd59['id'],'range':{'startRow':_0x11dd59['range'][_0x28143b(0x137)]+_0x11dd59[_0x28143b(0x113)],'endRow':_0x11dd59[_0x28143b(0x10f)][_0x28143b(0x14e)],'startColumn':_0x11dd59[_0x28143b(0x10f)]['startColumn'],'endColumn':_0x11dd59[_0x28143b(0x10f)][_0x28143b(0xf1)]},'name':_0x11dd59[_0x28143b(0xeb)],'meta':{},'options':{'showHeader':Le(_0x11dd59),'showFooter':!0x1},'columns':[],'filters':{}};_0x26c63b[_0x28143b(0x102)][_0x28143b(0x11b)]=_0x11dd59[_0x28143b(0x11b)],_0x26c63b[_0x28143b(0x102)]['rowTitleCount']=_0x11dd59['rowTitleCount'],_0x26c63b[_0x28143b(0x102)]['mergeRowTitleCount']=_0x11dd59[_0x28143b(0x113)],_0x26c63b['meta']['isTimeSeries']=_0x11dd59[_0x28143b(0x145)];const _0x29739a=_0x11dd59['range'][_0x28143b(0xec)];for(let _0x78f25a=0x0;_0x78f25a<_0x11dd59[_0x28143b(0x11e)][_0x28143b(0x12e)];_0x78f25a++){const _0x59960b=_0x11dd59['columns'][_0x78f25a],_0x219039={'id':_0x59960b['id'],'displayName':_0x59960b[_0x28143b(0x184)]||_0x28143b(0x164)+ne(_0x29739a+_0x78f25a),'dataType':_0x59960b[_0x28143b(0x144)],'meta':{},'formula':'','style':{}};_0x219039[_0x28143b(0x102)][_0x28143b(0x11b)]=_0x59960b['Description'],_0x219039['meta']['isCoded']=_0x59960b['isCoded'],_0x219039[_0x28143b(0x102)][_0x28143b(0x197)]=_0x59960b[_0x28143b(0x197)],_0x219039[_0x28143b(0x102)][_0x28143b(0x10c)]=_0x59960b[_0x28143b(0x10c)],_0x219039[_0x28143b(0x102)][_0x28143b(0x13f)]=_0x59960b['isBigText'],_0x219039[_0x28143b(0x102)][_0x28143b(0x122)]=_0x59960b['isLink'],_0x219039['meta'][_0x28143b(0x106)]=_0x59960b[_0x28143b(0x106)],_0x219039[_0x28143b(0x102)][_0x28143b(0x141)]=_0x59960b[_0x28143b(0x141)],_0x219039[_0x28143b(0x102)][_0x28143b(0x170)]=me(_0x59960b),_0x26c63b[_0x28143b(0x11e)][_0x28143b(0x150)](_0x219039);}he(_0x26c63b,_0x2f9395,_0x3a691b,_0x490e84),_0x19bbd0[_0x28143b(0x150)](_0x26c63b);}_0x41fb2c[_0x2f9395]=_0x19bbd0;}for(const _0x40baa8 of Object['keys'](_0x5c7724))_0x5c7724[_0x40baa8][_0x28143b(0xfb)](_0x4eb0b3=>{const _0x3af63f=_0x28143b;_0x4eb0b3[_0x3af63f(0x19e)]();});return _0x41fb2c;}function ae(_0xf33b24,_0x4500a0,_0x3cffd4=0x5){const _0x1f50e8=_0x385226;if(!Array[_0x1f50e8(0x190)](_0xf33b24)||_0xf33b24[_0x1f50e8(0x12e)]===0x0)return[];const _0x3902bf=Math[_0x1f50e8(0x18b)](_0x4500a0,_0xf33b24[_0x1f50e8(0x12e)]),_0x517943=Math[_0x1f50e8(0x18b)](_0x3902bf+_0x3cffd4,_0xf33b24['length']);return _0xf33b24[_0x1f50e8(0x176)](_0x3902bf,_0x517943);}function he(_0x13881d,_0x512241,_0x3a99bb,_0x2bf49d){const _0x327d5c=_0x385226,_0x3f628e=_0x3a99bb[_0x327d5c(0x192)](_0x512241);if(!_0x3f628e)return;const _0x16293d=_0x13881d['range'],_0x10a979=Fe(_0x3f628e,_0x16293d);_0x2bf49d===ee[_0x327d5c(0x15e)]?_0x13881d[_0x327d5c(0x16a)]=JSON[_0x327d5c(0x169)](ae(_0x10a979,0x1,0x5)):_0x2bf49d===ee['All']&&(_0x13881d[_0x327d5c(0x16a)]=JSON['stringify'](ae(_0x10a979,0x1,_0x10a979[_0x327d5c(0x12e)])));}function Fe(_0x5c1366,_0x4f194f){const _0x5b8c72=_0x385226;var _0x8474e2;const {startRow:_0xff20d1,endRow:_0x507173,startColumn:_0xf787b,endColumn:_0x1b518c}=_0x4f194f,_0x16a18e=[];for(let _0x15a533=_0xff20d1;_0x15a533<=_0x507173;_0x15a533++){const _0x5b09aa=[];for(let _0xa09298=_0xf787b;_0xa09298<=_0x1b518c;_0xa09298++){const _0x391484=_0x5c1366[_0x5b8c72(0x1a1)](_0x15a533,_0xa09298);_0x391484?_0x5b09aa[_0x5b8c72(0x150)]((_0x8474e2=fe(_0x391484))!=null?_0x8474e2:''):_0x5b09aa[_0x5b8c72(0x150)]('');}_0x16a18e[_0x5b8c72(0x150)](_0x5b09aa);}return _0x16a18e;}function Ve(_0x4d36e5){const _0x446db2=_0x385226;return/https?:\/\/|www\./i[_0x446db2(0x12d)](_0x4d36e5);}function je(_0x1ede51){const _0x2bb57e=_0x385226;return Array[_0x2bb57e(0x100)](_0x1ede51)[_0x2bb57e(0x12e)];}function le(_0x34dbab){const _0x3aabc4=_0x385226;return _0x34dbab?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x3aabc4(0x12d)](_0x34dbab[_0x3aabc4(0x123)]()):!0x1;}function ne(_0x535f6a){const _0x461607=_0x385226;let _0x39584a='',_0x4809fa=_0x535f6a+0x1;for(;_0x4809fa>0x0;){const _0x2f55ec=(_0x4809fa-0x1)%0x1a;_0x39584a=String[_0x461607(0x12c)](0x41+_0x2f55ec)+_0x39584a,_0x4809fa=Math['floor']((_0x4809fa-0x1)/0x1a);}return _0x39584a;}var qe=Object[_0x385226(0x133)],ze=(_0x20948e,_0x5f2ac6,_0xeb93c0,_0x21d24e)=>{for(var _0x11b849=_0x21d24e>0x1?void 0x0:_0x21d24e?qe(_0x5f2ac6,_0xeb93c0):_0x5f2ac6,_0x12cdfa=_0x20948e['length']-0x1,_0x2b1e82;_0x12cdfa>=0x0;_0x12cdfa--)(_0x2b1e82=_0x20948e[_0x12cdfa])&&(_0x11b849=_0x2b1e82(_0x11b849)||_0x11b849);return _0x11b849;},Ge=(_0x3d5b53,_0x595e02)=>(_0x51e38d,_0x4a0082)=>_0x595e02(_0x51e38d,_0x4a0082,_0x3d5b53);exports[_0x385226(0xfd)]=class extends x[_0x385226(0x143)]{constructor(_0x442d18){const _0x417a1c=_0x385226;super(),this[_0x417a1c(0x182)]=_0x442d18;}['getAllTableJson'](_0x9572f7,_0xe05c2d){return xe(_0x9572f7,this['_injector'],_0xe05c2d);}},exports[_0x385226(0xfd)]=ze([Ge(0x0,x['Inject'](x[_0x385226(0x120)]))],exports[_0x385226(0xfd)]);var We=Object['getOwnPropertyDescriptor'],Ze=(_0x19afe3,_0x902dd6,_0x40028e,_0x31db4a)=>{const _0x32a535=_0x385226;for(var _0x66003d=_0x31db4a>0x1?void 0x0:_0x31db4a?We(_0x902dd6,_0x40028e):_0x902dd6,_0x3f277a=_0x19afe3[_0x32a535(0x12e)]-0x1,_0x4d4263;_0x3f277a>=0x0;_0x3f277a--)(_0x4d4263=_0x19afe3[_0x3f277a])&&(_0x66003d=_0x4d4263(_0x66003d)||_0x66003d);return _0x66003d;},ue=(_0x50a201,_0x1474f2)=>(_0x338100,_0xa40152)=>_0x1474f2(_0x338100,_0xa40152,_0x50a201);const He=_0x385226(0x129);var X;exports[_0x385226(0x17c)]=(X=class extends x[_0x385226(0x13e)]{constructor(_0x198069={},_0x2fc8a4,_0x4d8c7b){const _0x27bf2d=_0x385226;super(),this[_0x27bf2d(0x103)]=_0x198069,this[_0x27bf2d(0x182)]=_0x2fc8a4,this[_0x27bf2d(0x10b)]=_0x4d8c7b;const {..._0x5b09d9}=x['merge']({},this[_0x27bf2d(0x103)]);this[_0x27bf2d(0x10b)]['setConfig'](He,_0x5b09d9);}[_0x385226(0x17f)](){const _0x4e2c39=_0x385226,_0x5e099b=[[exports['RangePreprocessController']]];x[_0x4e2c39(0x19f)](this[_0x4e2c39(0x182)],_0x5e099b);}[_0x385226(0x10d)](){}},p(X,'pluginName',_0x385226(0x16f)),X),exports[_0x385226(0x17c)]=Ze([ue(0x1,x[_0x385226(0x107)](x[_0x385226(0x120)])),ue(0x2,x['IConfigService'])],exports[_0x385226(0x17c)]);
|
|
1
|
+
'use strict';const _0x54e202=_0x5a4a;(function(_0x31af23,_0x2b19ce){const _0x34d923=_0x5a4a,_0x1a852f=_0x31af23();while(!![]){try{const _0x59f6e7=-parseInt(_0x34d923(0x177))/0x1+-parseInt(_0x34d923(0x1d0))/0x2+-parseInt(_0x34d923(0x130))/0x3+parseInt(_0x34d923(0x1da))/0x4*(-parseInt(_0x34d923(0x1a8))/0x5)+-parseInt(_0x34d923(0x1c0))/0x6*(-parseInt(_0x34d923(0x1c2))/0x7)+parseInt(_0x34d923(0x1d8))/0x8*(parseInt(_0x34d923(0x1ce))/0x9)+parseInt(_0x34d923(0x163))/0xa*(parseInt(_0x34d923(0x1c3))/0xb);if(_0x59f6e7===_0x2b19ce)break;else _0x1a852f['push'](_0x1a852f['shift']());}catch(_0x400c16){_0x1a852f['push'](_0x1a852f['shift']());}}}(_0x5ae5,0x8eca6));function _0x5a4a(_0x19dd19,_0x431827){const _0x5ae540=_0x5ae5();return _0x5a4a=function(_0x5a4a57,_0x345533){_0x5a4a57=_0x5a4a57-0x12f;let _0x3ada95=_0x5ae540[_0x5a4a57];return _0x3ada95;},_0x5a4a(_0x19dd19,_0x431827);}var Ce=Object[_0x54e202(0x1a0)],ge=(_0x430cdf,_0x55cbe0,_0x1a3ec1)=>_0x55cbe0 in _0x430cdf?Ce(_0x430cdf,_0x55cbe0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3ec1}):_0x430cdf[_0x55cbe0]=_0x1a3ec1,p=(_0x44f03d,_0x538c2d,_0x2e7d5e)=>ge(_0x44f03d,typeof _0x538c2d!=_0x54e202(0x13e)?_0x538c2d+'':_0x538c2d,_0x2e7d5e);Object[_0x54e202(0x1a0)](exports,Symbol[_0x54e202(0x182)],{'value':_0x54e202(0x187)});const x=require('@univerjs/core'),ce=require('@univerjs/sheets-filter'),Y=require('@univerjs/sheets-table');function oe(_0x444ae6){const _0x47d3e0=_0x54e202;return _0x444ae6['v']==null?'':String(_0x444ae6['v'])[_0x47d3e0(0x132)]();}function we(_0x49e190){const _0x2fa967=_0x54e202;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x2fa967(0x1ba)](_0x49e190);}const H=0x2,Q=0x1;function de(_0x313caa,_0x34cb08){const _0x3d650d=_0x54e202,_0x34e427={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x34cb08];if(!_0x34e427||!_0x34e427[_0x3d650d(0x1ba)](_0x313caa))return!0x1;const _0x365ef8=_0x313caa[_0x3d650d(0x1e5)](/\D+/g,'\x20')['trim']()[_0x3d650d(0x196)](/\s+/)[_0x3d650d(0x197)](Number);let _0x4929a6=0x0,_0x285dc8=0x1,_0x3edaa5=0x1,_0x2c05ff=0x0,_0x471c90=0x0,_0x11a8b4=0x0;switch(_0x34cb08){case _0x3d650d(0x16b):case'2006-1-2':case _0x3d650d(0x1a6):case _0x3d650d(0x13a):[_0x4929a6,_0x285dc8,_0x3edaa5]=_0x365ef8;break;case _0x3d650d(0x1c1):[_0x4929a6,_0x285dc8,_0x3edaa5]=_0x365ef8;break;case _0x3d650d(0x1be):case _0x3d650d(0x1cc):case _0x3d650d(0x153):[_0x3edaa5,_0x285dc8,_0x4929a6]=_0x365ef8;break;case _0x3d650d(0x1bd):case _0x3d650d(0x1a2):[_0x285dc8,_0x3edaa5,_0x4929a6]=_0x365ef8;break;case _0x3d650d(0x1cd):{const _0x3ae6bf=_0x313caa;_0x4929a6=+_0x3ae6bf[_0x3d650d(0x156)](0x0,0x4),_0x285dc8=+_0x3ae6bf[_0x3d650d(0x156)](0x4,0x6),_0x3edaa5=+_0x3ae6bf[_0x3d650d(0x156)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x3d650d(0x199):[_0x4929a6,_0x285dc8,_0x3edaa5,_0x2c05ff,_0x471c90,_0x11a8b4]=_0x365ef8;break;default:return!0x0;}if(_0x285dc8<0x1||_0x285dc8>0xc||_0x3edaa5<0x1||_0x3edaa5>0x1f||_0x2c05ff<0x0||_0x2c05ff>0x17||_0x471c90<0x0||_0x471c90>0x3b||_0x11a8b4<0x0||_0x11a8b4>0x3b)return!0x1;const _0x200dde=new Date(_0x4929a6,_0x285dc8-0x1,_0x3edaa5,_0x2c05ff,_0x471c90,_0x11a8b4);return!(_0x200dde[_0x3d650d(0x1db)]()!==_0x4929a6||_0x200dde[_0x3d650d(0x19b)]()!==_0x285dc8-0x1||_0x200dde[_0x3d650d(0x179)]()!==_0x3edaa5);}function pe(_0x476153){const _0x410aad=_0x54e202;return Number[_0x410aad(0x1bb)](_0x476153)&&_0x476153>=0x1&&_0x476153<=0x13880;}function Me(_0x4465e9){const _0x220d30=_0x54e202;switch(_0x4465e9){case 0x0:return _0x220d30(0x14c);case 0x1:return _0x220d30(0x1ec);case 0x2:case 0x3:case 0x4:return _0x220d30(0x1eb);case 0x5:return _0x220d30(0x1c9);default:return'unknown';}}class K{constructor(){const _0x54f2e7=_0x54e202;p(this,_0x54f2e7(0x1e6),0x0),p(this,_0x54f2e7(0x159),0x0),p(this,_0x54f2e7(0x1c6),0x0);}}class I extends K{constructor(_0x4045e1){const _0x1a46d3=_0x54e202;super(),p(this,_0x1a46d3(0x13d)),p(this,'dt'),p(this,'layout'),p(this,_0x1a46d3(0x173)),(this['dt']=_0x4045e1['dt'],this['layout']=_0x4045e1[_0x1a46d3(0x1af)],this['needConvert']=!!_0x4045e1['needConvert']);}[_0x54e202(0x193)](_0xff0199){const _0x5df0bf=_0x54e202;if(_0xff0199['t']===x[_0x5df0bf(0x1b5)][_0x5df0bf(0x1a1)]){const _0x2a9581=oe(_0xff0199);if(!_0x2a9581)return;de(_0x2a9581,this[_0x5df0bf(0x1af)])?this[_0x5df0bf(0x1e6)]+=H:this[_0x5df0bf(0x159)]++;}}['Calc'](){const _0x1e0e58=_0x54e202,_0x4b094d=0x64-Math['trunc']((this[_0x1e0e58(0x159)]*0xa+0x1)*0x64/(this[_0x1e0e58(0x159)]+this[_0x1e0e58(0x1e6)]+0x1)),_0x2b4fbf={'Charset':this['dt'],'Confidence':_0x4b094d,'debugInfo':this[_0x1e0e58(0x1af)]};return this['needConvert']&&(_0x2b4fbf['Layout']=this[_0x1e0e58(0x1af)]),_0x2b4fbf;}}class ie extends K{constructor(_0x235136){const _0x540122=_0x54e202;super(),p(this,_0x540122(0x15f)),p(this,_0x540122(0x13d)),p(this,'dt'),p(this,_0x540122(0x1af)),p(this,_0x540122(0x173)),(this[_0x540122(0x15f)]=_0x235136['dateStyles']||{},this['dt']=_0x235136['dt'],this[_0x540122(0x1af)]=_0x235136[_0x540122(0x1af)],this[_0x540122(0x173)]=!!_0x235136[_0x540122(0x173)]);}[_0x54e202(0x193)](_0x5a5312){const _0x9a13a0=_0x54e202;if(_0x5a5312['t']===x['CellValueType'][_0x9a13a0(0x1cf)]){if(_0x5a5312['s']&&this[_0x9a13a0(0x15f)][_0x5a5312['s']]){this[_0x9a13a0(0x1e6)]+=H;return;}const _0x5dc64b=oe(_0x5a5312);if(!_0x5dc64b)return;if(this[_0x9a13a0(0x1af)]===_0x9a13a0(0x195)){const _0x5a41a5=Number(_0x5dc64b);if(pe(_0x5a41a5)){this[_0x9a13a0(0x1e6)]+=H;return;}}de(_0x5dc64b,this['layout'])?this['valid']+=H:this[_0x9a13a0(0x159)]++;}}[_0x54e202(0x1df)](){const _0x4d24a5=_0x54e202,_0x14a2d5=0x64-Math[_0x4d24a5(0x1b2)]((this['invalid']*0xa+0x1)*0x64/(this[_0x4d24a5(0x159)]+this[_0x4d24a5(0x1e6)]+0x1)),_0x1a3b79={'Charset':this['dt'],'Confidence':_0x14a2d5,'debugInfo':this[_0x4d24a5(0x1af)]};return this['needConvert']&&(_0x1a3b79[_0x4d24a5(0x17c)]=this[_0x4d24a5(0x1af)]),_0x1a3b79;}}class Te extends K{[_0x54e202(0x193)](_0x180776){const _0x4f0dc7=_0x54e202;if(_0x180776['t']===x[_0x4f0dc7(0x1b5)][_0x4f0dc7(0x1cf)])this[_0x4f0dc7(0x1e6)]+=Q;else{const _0x128370=oe(_0x180776);if(!_0x128370)return;we(_0x128370)?this[_0x4f0dc7(0x1e6)]+=Q:this[_0x4f0dc7(0x159)]++;}}[_0x54e202(0x1df)](){const _0x42c379=_0x54e202;return{'Charset':0x1,'Confidence':0x64-Math['trunc']((this[_0x42c379(0x159)]*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),'debugInfo':'number'};}}class Re extends K{[_0x54e202(0x193)](_0x2174c6){const _0x4b7682=_0x54e202;_0x2174c6['t']===x[_0x4b7682(0x1b5)][_0x4b7682(0x15c)]?this[_0x4b7682(0x1e6)]+=Q:this[_0x4b7682(0x159)]++;}[_0x54e202(0x1df)](){const _0x2d14d1=_0x54e202;return{'Charset':0x5,'Confidence':0x64-Math[_0x2d14d1(0x1b2)]((this[_0x2d14d1(0x159)]*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),'debugInfo':'number'};}}class Se{constructor(_0x654777){const _0x4d5e0b=_0x54e202;p(this,_0x4d5e0b(0x13f)),p(this,_0x4d5e0b(0x15f)),(this[_0x4d5e0b(0x15f)]=_0x654777||{},this[_0x4d5e0b(0x13f)]=[new I({'dt':0x2,'layout':_0x4d5e0b(0x16b)}),new I({'dt':0x2,'layout':_0x4d5e0b(0x154)}),new I({'dt':0x2,'layout':'2006/01/02'}),new I({'dt':0x2,'layout':_0x4d5e0b(0x13a)}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1c1),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1be),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1cc),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x153),'needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1a2),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x133),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x18f),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x14f),'needConvert':!0x0}),new I({'dt':0x2,'layout':'January\x202,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1b6),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x155),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x4d5e0b(0x1cd),'needConvert':!0x0}),new ie({'dateStyles':this[_0x4d5e0b(0x15f)],'dt':0x2,'layout':_0x4d5e0b(0x1cd),'needConvert':!0x0}),new I({'dt':0x4,'layout':_0x4d5e0b(0x15e)}),new I({'dt':0x4,'layout':_0x4d5e0b(0x199)}),new ie({'dateStyles':this['dateStyles'],'dt':0x3,'layout':_0x4d5e0b(0x195),'needConvert':!0x0}),new Te(),new Re()]);}[_0x54e202(0x193)](_0x47fe03){const _0x27abae=_0x54e202;for(const _0x4a72a1 of this[_0x27abae(0x13f)])_0x4a72a1[_0x27abae(0x193)](_0x47fe03);}[_0x54e202(0x18b)](){const _0x1b5cad=_0x54e202,_0x377fb0=this[_0x1b5cad(0x13f)]['map'](_0x17d96f=>_0x17d96f[_0x1b5cad(0x1df)]());if(_0x377fb0[_0x1b5cad(0x1cb)]((_0x5c02c6,_0x319d1d)=>_0x319d1d[_0x1b5cad(0x13b)]-_0x5c02c6[_0x1b5cad(0x13b)]),_0x377fb0['length']===0x0||_0x377fb0[0x0][_0x1b5cad(0x13b)]<0x32)return[_0x1b5cad(0x14c),null];const _0x5c20f4=_0x377fb0[0x0];return[Me(_0x5c20f4[_0x1b5cad(0x137)]),_0x5c20f4];}}function re(_0x3ba26b,_0x1b5696){const _0x391476=_0x54e202;let _0x3fd01f=_0x3ba26b,_0x191d4d=_0x1b5696;_0x3fd01f<=0x0&&(_0x3fd01f=0x6),_0x191d4d<=0x0&&(_0x191d4d=0xa),_0x191d4d=_0x191d4d*0x2;const _0x34dce9=[];for(let _0x277747=0x0;_0x277747<_0x191d4d;_0x277747++)_0x34dce9[_0x391476(0x138)](x[_0x391476(0x1a3)](_0x3fd01f));const _0xe18f83=new Map();for(const _0x4832c0 of _0x34dce9){const _0x4a940d=_0x4832c0[_0x391476(0x16a)]();_0xe18f83['has'](_0x4a940d)||_0xe18f83[_0x391476(0x181)](_0x4a940d,_0x4832c0);}return Array[_0x391476(0x180)](_0xe18f83[_0x391476(0x19f)]());}var ee=(_0x1f4053=>(_0x1f4053['None']=_0x54e202(0x188),_0x1f4053[_0x54e202(0x1de)]=_0x54e202(0x1dc),_0x1f4053[_0x54e202(0x150)]=_0x54e202(0x1bf),_0x1f4053))(ee||{});class W{constructor(_0x5205bb){const _0x20fc34=_0x54e202;p(this,'id'),p(this,_0x20fc34(0x143)),p(this,'range'),p(this,_0x20fc34(0x17b)),p(this,_0x20fc34(0x19a)),p(this,_0x20fc34(0x1d9)),p(this,'mergeRowTitleCount'),p(this,_0x20fc34(0x1d2)),p(this,'endStatisticRowCount'),p(this,_0x20fc34(0x1e0)),p(this,_0x20fc34(0x174)),p(this,_0x20fc34(0x1e7)),p(this,_0x20fc34(0x1a4)),p(this,'isMatchEnd'),p(this,_0x20fc34(0x12f)),p(this,_0x20fc34(0x1ac)),p(this,'isTestTable'),p(this,_0x20fc34(0x142)),p(this,_0x20fc34(0x16e));var _0x5dd661,_0x1013f6,_0x5e0404,_0x264f47,_0x3d05c7,_0x38b66c,_0x30f2e5,_0x4017fb,_0x27e639,_0x16c6a7,_0x579273,_0x54c769,_0x3775a5,_0x3b1b98,_0x4a0d87,_0x4014bf,_0x31d712,_0x2a5196,_0x265f0b;this['id']=(_0x5dd661=_0x5205bb==null?void 0x0:_0x5205bb['id'])!=null?_0x5dd661:'',this[_0x20fc34(0x143)]=(_0x1013f6=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x143)])!=null?_0x1013f6:x[_0x20fc34(0x1a3)](),this['range']=(_0x5e0404=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x14b)])!=null?_0x5e0404:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x20fc34(0x17b)]=(_0x264f47=_0x5205bb==null?void 0x0:_0x5205bb['name'])!=null?_0x264f47:'',this[_0x20fc34(0x19a)]=(_0x3d05c7=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x19a)])!=null?_0x3d05c7:'',this[_0x20fc34(0x1d9)]=(_0x38b66c=_0x5205bb==null?void 0x0:_0x5205bb['rowTitleCount'])!=null?_0x38b66c:0x0,this[_0x20fc34(0x176)]=(_0x30f2e5=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x176)])!=null?_0x30f2e5:0x0,this[_0x20fc34(0x1d2)]=(_0x4017fb=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x1d2)])!=null?_0x4017fb:0x0,this['endStatisticRowCount']=(_0x27e639=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x17f)])!=null?_0x27e639:0x0,this[_0x20fc34(0x1e0)]=(_0x16c6a7=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x1e0)])!=null?_0x16c6a7:new Map(),this[_0x20fc34(0x174)]=(_0x579273=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x174)])!=null?_0x579273:!0x1,this[_0x20fc34(0x1e7)]=(_0x54c769=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x1e7)])!=null?_0x54c769:!0x1,this[_0x20fc34(0x1a4)]=(_0x3775a5=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x1a4)])!=null?_0x3775a5:new Map(),this[_0x20fc34(0x1ad)]=(_0x3b1b98=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x1ad)])!=null?_0x3b1b98:!0x1,this[_0x20fc34(0x12f)]=(_0x4a0d87=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x12f)])!=null?_0x4a0d87:!0x1,this['isTimeSeries']=(_0x4014bf=_0x5205bb==null?void 0x0:_0x5205bb['isTimeSeries'])!=null?_0x4014bf:!0x1,this[_0x20fc34(0x18a)]=(_0x31d712=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x18a)])!=null?_0x31d712:!0x1,this['isUpdateTable']=(_0x2a5196=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x142)])!=null?_0x2a5196:!0x1,this[_0x20fc34(0x16e)]=(_0x265f0b=_0x5205bb==null?void 0x0:_0x5205bb[_0x20fc34(0x16e)])!=null?_0x265f0b:[];}['_isRowContinuous'](_0x4fa6ae,_0x57524a){return _0x57524a-_0x4fa6ae===0x1||_0x57524a===_0x4fa6ae;}[_0x54e202(0x1dd)](_0x228c62){const _0x1ebf13=_0x54e202,_0x38ee05=[];for(const _0x1e01d4 of _0x228c62)this['range']['endColumn']<_0x1e01d4[_0x1ebf13(0x14b)][_0x1ebf13(0x1c8)]||this['range']['startColumn']>_0x1e01d4[_0x1ebf13(0x14b)]['endColumn']||this[_0x1ebf13(0x1c5)](_0x1e01d4[_0x1ebf13(0x14b)][_0x1ebf13(0x191)],this[_0x1ebf13(0x14b)][_0x1ebf13(0x1e8)])&&_0x38ee05[_0x1ebf13(0x138)](_0x1e01d4);return _0x38ee05;}[_0x54e202(0x164)](_0x4965f4){const _0x4c9baf=_0x54e202;return _0x4965f4['range'][_0x4c9baf(0x191)]===this[_0x4c9baf(0x14b)][_0x4c9baf(0x1e8)]&&this[_0x4c9baf(0x14b)]['endColumn']+0x1===_0x4965f4[_0x4c9baf(0x14b)][_0x4c9baf(0x1c8)];}[_0x54e202(0x1ae)](_0x3d6ea9){const _0x4cce51=_0x54e202;return this[_0x4cce51(0x14b)][_0x4cce51(0x1c8)]===-0x1?this:(_0x3d6ea9[_0x4cce51(0x138)](this),new W({'sheetId':this[_0x4cce51(0x143)],'range':{'startRow':this[_0x4cce51(0x14b)][_0x4cce51(0x1e8)],'endRow':this[_0x4cce51(0x14b)][_0x4cce51(0x191)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x54e202(0x18d)](_0x26a4be,_0x6835b3,_0x72d743,_0x313d83){const _0x502ce0=_0x54e202;this[_0x502ce0(0x14b)][_0x502ce0(0x1c8)]===-0x1&&(this[_0x502ce0(0x14b)][_0x502ce0(0x1c8)]=_0x6835b3),this[_0x502ce0(0x14b)][_0x502ce0(0x17a)]=_0x6835b3,_0x313d83!=null&&(this[_0x502ce0(0x14b)]['endColumn']=Math['max'](_0x313d83,this['range'][_0x502ce0(0x17a)]));}[_0x54e202(0x172)](){const _0x5d064c=_0x54e202;this[_0x5d064c(0x1e0)][_0x5d064c(0x1e9)](),this[_0x5d064c(0x1a4)]['clear'](),this[_0x5d064c(0x16e)]=[];}}function te(_0xcf7519,_0x28fb3c){const {startRow:_0x2dd80f,startColumn:_0x10644d,endRow:_0x6b065a,endColumn:_0xaf8b79}=_0x28fb3c;return _0xcf7519+':'+_0x2dd80f+','+_0x10644d+'-'+_0x6b065a+','+_0xaf8b79;}function ye(_0x477acd,_0x1e4a4a){const _0x9be1ac=_0x54e202;var _0x3c1b82;const _0x139b67=new x[(_0x9be1ac(0x1b9))](!0x1),_0x472515=_0x1e4a4a[_0x9be1ac(0x1a5)](),_0x3fa7c9=new Map(),_0x7c8e77=(_0x3c1b82=_0x1e4a4a[_0x9be1ac(0x151)]())!=null?_0x3c1b82:[];for(const _0x3e5e74 of _0x7c8e77){const _0x5e7e8e=te(_0x9be1ac(0x1d7),_0x3e5e74),_0xca1d71={'unitId':_0x477acd,'sheetId':_0x472515,'range':_0x3e5e74,'id':_0x5e7e8e};_0x139b67['insert'](_0xca1d71),_0x3fa7c9['set'](_0x5e7e8e,_0xca1d71);}return{'mergeRTree':_0x139b67,'mergeRangeMap':_0x3fa7c9};}function ve(_0x3f42ae,_0x59fec8,_0x2befbb){const _0x1c4709=_0x54e202,_0x3ebfd6=new x[(_0x1c4709(0x1b9))](!0x1),_0xed0767=_0x2befbb[_0x1c4709(0x192)](ce[_0x1c4709(0x19c)]),_0x2e0e76=_0x2befbb['get'](Y['TableManager']),_0x2c6f1f=_0xed0767[_0x1c4709(0x1bc)](_0x3f42ae,_0x59fec8);if(_0x2c6f1f&&_0x2c6f1f[_0x1c4709(0x16f)]()){const _0x3d48cf=_0x2c6f1f[_0x1c4709(0x16f)](),_0x40def9={'unitId':_0x3f42ae,'sheetId':_0x59fec8,'range':_0x3d48cf,'id':te(_0x1c4709(0x1a7),_0x3d48cf)};_0x3ebfd6[_0x1c4709(0x1ea)](_0x40def9);}const _0x4de3cd=_0x2e0e76[_0x1c4709(0x1d1)](_0x3f42ae);if(_0x4de3cd&&Array[_0x1c4709(0x160)](_0x4de3cd))for(const _0xb67aa7 of _0x4de3cd){if(!(_0xb67aa7!=null&&_0xb67aa7['range']))continue;const _0x20b0be=_0xb67aa7[_0x1c4709(0x14b)],_0x5ee2b7={'unitId':_0x3f42ae,'sheetId':_0x59fec8,'range':_0x20b0be,'id':te('table',_0x20b0be)};_0x3ebfd6[_0x1c4709(0x1ea)](_0x5ee2b7);}return _0x3ebfd6;}function be(_0x399ec2,_0x5768d2){const _0x559705=_0x54e202;var _0x68b9d3,_0x596bb7,_0x143baa;const _0x255948=_0x399ec2[_0x559705(0x145)](),_0xf5640c={},_0x14af16=_0x399ec2[_0x559705(0x1d3)]();for(const _0x2d302b of _0x255948){const _0x31e757=_0x2d302b[_0x559705(0x1a5)](),_0x560fed=_0x2d302b['getRowCount'](),_0x66357a=_0x2d302b['getColumnCount'](),{mergeRTree:_0x539fa1,mergeRangeMap:_0x119e72}=ye(_0x14af16,_0x2d302b),_0x1d4729=ve(_0x14af16,_0x31e757,_0x5768d2),_0x537823=[];let _0x26de75=[];for(let _0x549083=0x0;_0x549083<_0x560fed;_0x549083++){const _0x4007e1=[];let _0x1956c2=new W({'sheetId':_0x31e757,'range':{'startRow':_0x549083,'endRow':_0x549083,'startColumn':-0x1,'endColumn':-0x1}});const _0x354cb2=new Map();for(let _0x2dbb25=0x0;_0x2dbb25<=_0x66357a;_0x2dbb25++){const _0x57488a=_0x2d302b[_0x559705(0x18e)](_0x549083,_0x2dbb25),_0x5dd731={'range':{'startRow':_0x549083,'startColumn':_0x2dbb25,'endRow':_0x549083,'endColumn':_0x2dbb25},'unitId':_0x14af16,'sheetId':_0x31e757};if(_0x1d4729[_0x559705(0x1e3)]([_0x5dd731])['size']>0x0){_0x1956c2=_0x1956c2[_0x559705(0x1ae)](_0x4007e1);continue;}const _0x344f3c=_0x539fa1[_0x559705(0x1e3)]([_0x5dd731]);if(_0x344f3c[_0x559705(0x148)]>0x0){const _0x506860=_0x1956c2[_0x559705(0x1dd)](_0x26de75),_0x4af81e=_0x344f3c['keys']()[_0x559705(0x1d5)]()[_0x559705(0x134)],_0x5a84b5=_0x119e72[_0x559705(0x192)](_0x4af81e);if(!_0x5a84b5)continue;const _0x24a933={'startRow':_0x5a84b5[_0x559705(0x14b)][_0x559705(0x1e8)],'endRow':_0x5a84b5[_0x559705(0x14b)][_0x559705(0x191)],'startColumn':_0x5a84b5[_0x559705(0x14b)][_0x559705(0x1c8)],'endColumn':_0x5a84b5['range']['endColumn']},_0x292b5d=_0x2d302b[_0x559705(0x18e)](_0x24a933[_0x559705(0x1e8)],_0x24a933[_0x559705(0x1c8)]);if(_0x292b5d&&(_0x292b5d['p']!=null||_0x292b5d['v']!=null&&String(_0x292b5d['v'])['length']>0x0)){_0x1956c2[_0x559705(0x18d)](_0x549083,_0x2dbb25,_0x57488a,_0x24a933[_0x559705(0x17a)]);for(let _0x503cc2=_0x24a933['startColumn'];_0x503cc2<=_0x24a933[_0x559705(0x17a)];_0x503cc2++)_0x354cb2[_0x559705(0x181)](_0x503cc2,!0x0);}else _0x1956c2=_0x1956c2[_0x559705(0x1ae)](_0x4007e1);const _0x347841=_0x24a933[_0x559705(0x191)]-_0x24a933[_0x559705(0x1e8)],_0x2e2107=_0x24a933[_0x559705(0x17a)]-_0x24a933[_0x559705(0x1c8)];if(_0x506860['length']===0x1){if(_0x347841>0x0&&_0x1956c2[_0x559705(0x1a4)][_0x559705(0x181)](_0x2dbb25,_0x5a84b5),_0x2e2107>0x0){const _0x170f4f=(_0x68b9d3=_0x1956c2[_0x559705(0x1e0)][_0x559705(0x192)](_0x549083))!=null?_0x68b9d3:[];_0x170f4f[_0x559705(0x138)](_0x5a84b5),_0x1956c2['rowMergeTitleCountMap'][_0x559705(0x181)](_0x549083,_0x170f4f);}}else{if(_0x347841>0x0&&(_0x1956c2[_0x559705(0x1e7)]=!0x0,_0x1956c2[_0x559705(0x1a4)][_0x559705(0x181)](_0x2dbb25,_0x5a84b5)),_0x2e2107>0x0){_0x1956c2[_0x559705(0x174)]=!0x0;const _0x3451de=(_0x596bb7=_0x1956c2[_0x559705(0x1e0)][_0x559705(0x192)](_0x549083))!=null?_0x596bb7:[];_0x3451de[_0x559705(0x138)](_0x5a84b5),_0x1956c2[_0x559705(0x1e0)][_0x559705(0x181)](_0x549083,_0x3451de);}}continue;}if((!_0x57488a||j(_0x57488a)==null)&&!_0x354cb2[_0x559705(0x192)](_0x2dbb25)){_0x1956c2=_0x1956c2[_0x559705(0x1ae)](_0x4007e1);continue;}_0x57488a&&j(_0x57488a)!=null?_0x1956c2[_0x559705(0x18d)](_0x549083,_0x2dbb25,_0x57488a):(_0x1956c2[_0x559705(0x174)]=!0x1,_0x1956c2['columnMergeTitleState']=!0x1,_0x1956c2=_0x1956c2[_0x559705(0x1ae)](_0x4007e1));}if(_0x4007e1[_0x559705(0x15b)]===0x0){_0x537823[_0x559705(0x138)](..._0x26de75),_0x26de75=[];continue;}if(_0x26de75['length']===0x0){_0x26de75[_0x559705(0x138)](..._0x4007e1);continue;}const _0x5a006f=(_0x6ec5b8,_0x262057)=>{const _0x3fa072=_0x559705;_0x6ec5b8[_0x3fa072(0x14b)][_0x3fa072(0x1e8)]=Math['min'](_0x6ec5b8[_0x3fa072(0x14b)][_0x3fa072(0x1e8)],_0x262057['range'][_0x3fa072(0x1e8)]),_0x6ec5b8[_0x3fa072(0x14b)]['endRow']=Math[_0x3fa072(0x171)](_0x6ec5b8['range'][_0x3fa072(0x191)],_0x262057[_0x3fa072(0x14b)]['endRow']),_0x6ec5b8[_0x3fa072(0x14b)]['startColumn']=Math[_0x3fa072(0x19d)](_0x6ec5b8['range'][_0x3fa072(0x1c8)],_0x262057['range']['startColumn']),_0x6ec5b8['range'][_0x3fa072(0x17a)]=Math['max'](_0x6ec5b8[_0x3fa072(0x14b)][_0x3fa072(0x17a)],_0x262057[_0x3fa072(0x14b)][_0x3fa072(0x17a)]),_0x262057[_0x3fa072(0x1e0)]['forEach']((_0x3a6870,_0x5e995f)=>{const _0xf62486=_0x3fa072;var _0x4530f3;const _0x36d0c4=(_0x4530f3=_0x6ec5b8[_0xf62486(0x1e0)][_0xf62486(0x192)](_0x5e995f))!=null?_0x4530f3:[];_0x36d0c4[_0xf62486(0x138)](..._0x3a6870),_0x6ec5b8['rowMergeTitleCountMap'][_0xf62486(0x181)](_0x5e995f,_0x36d0c4);}),_0x262057['columnMergeTitleCountMap'][_0x3fa072(0x139)]((_0x16c579,_0xb93500)=>{const _0x3614b1=_0x3fa072;_0x6ec5b8[_0x3614b1(0x1a4)]['set'](_0xb93500,_0x16c579);});};for(let _0x3bd974=0x0;_0x3bd974+0x1<_0x4007e1[_0x559705(0x15b)];_0x3bd974++){const _0xf28b6=_0x4007e1[_0x3bd974],_0xb74bb1=_0x4007e1[_0x3bd974+0x1];_0xf28b6[_0x559705(0x164)](_0xb74bb1)&&(_0x5a006f(_0xf28b6,_0xb74bb1),_0x4007e1[_0x559705(0x13c)](_0x3bd974+0x1,0x1),_0x3bd974--);}const _0x14e8a3=[];for(const _0x45f047 of _0x4007e1){const _0x138d09=_0x45f047['intersectWithPreTables'](_0x26de75);if(_0x138d09[_0x559705(0x15b)]===0x0){_0x14e8a3[_0x559705(0x138)](_0x45f047);continue;}const _0x5bc55c=(_0x143baa=_0x45f047[_0x559705(0x1e0)][_0x559705(0x192)](_0x549083))!=null?_0x143baa:[];let _0x476a40=Number['MAX_SAFE_INTEGER'],_0x471c3a=-0x1,_0x42f442=-0x1;for(const _0x27d9b4 of _0x5bc55c){const _0x182767=_0x27d9b4[_0x559705(0x14b)],_0xb8522e=_0x182767[_0x559705(0x1c8)],_0x2f7ea7=_0x182767[_0x559705(0x17a)];_0x476a40=Math[_0x559705(0x19d)](_0x476a40,_0xb8522e),_0x471c3a=Math[_0x559705(0x171)](_0x471c3a,_0x2f7ea7);}_0x471c3a===-0x1&&(_0x42f442=_0x471c3a-_0x476a40+0x1);const _0x1a3760=_0x138d09[0x0]['range'],_0x27ed02=_0x1a3760[_0x559705(0x17a)]-_0x1a3760['startColumn']+0x1;if(_0x42f442>=0x0&&_0x42f442<=_0x27ed02*0x3/0x4){_0x14e8a3[_0x559705(0x138)](_0x45f047);continue;}const _0x51d386=_0x138d09[0x0];for(const _0x7b3e2c of _0x138d09[_0x559705(0x156)](0x1))_0x51d386['range'][_0x559705(0x1e8)]=Math['min'](_0x51d386[_0x559705(0x14b)]['startRow'],_0x7b3e2c[_0x559705(0x14b)]['startRow']),_0x51d386[_0x559705(0x14b)][_0x559705(0x191)]=Math[_0x559705(0x171)](_0x51d386[_0x559705(0x14b)][_0x559705(0x191)],_0x7b3e2c[_0x559705(0x14b)][_0x559705(0x191)]),_0x51d386[_0x559705(0x14b)][_0x559705(0x1c8)]=Math[_0x559705(0x19d)](_0x51d386[_0x559705(0x14b)][_0x559705(0x1c8)],_0x7b3e2c[_0x559705(0x14b)][_0x559705(0x1c8)]),_0x51d386[_0x559705(0x14b)][_0x559705(0x17a)]=Math[_0x559705(0x171)](_0x51d386['range'][_0x559705(0x17a)],_0x7b3e2c[_0x559705(0x14b)][_0x559705(0x17a)]);_0x51d386[_0x559705(0x14b)]['startRow']=Math[_0x559705(0x19d)](_0x51d386[_0x559705(0x14b)][_0x559705(0x1e8)],_0x45f047['range'][_0x559705(0x1e8)]),_0x51d386[_0x559705(0x14b)][_0x559705(0x191)]=Math['max'](_0x51d386[_0x559705(0x14b)]['endRow'],_0x45f047[_0x559705(0x14b)][_0x559705(0x191)]),_0x51d386['range']['startColumn']=Math[_0x559705(0x19d)](_0x51d386[_0x559705(0x14b)][_0x559705(0x1c8)],_0x45f047[_0x559705(0x14b)][_0x559705(0x1c8)]),_0x51d386[_0x559705(0x14b)][_0x559705(0x17a)]=Math[_0x559705(0x171)](_0x51d386[_0x559705(0x14b)][_0x559705(0x17a)],_0x45f047[_0x559705(0x14b)][_0x559705(0x17a)]),_0x45f047[_0x559705(0x1e0)][_0x559705(0x139)]((_0x285413,_0x3bc840)=>{const _0x4e7399=_0x559705;var _0x5b41e;const _0x66bcea=(_0x5b41e=_0x51d386[_0x4e7399(0x1e0)]['get'](_0x3bc840))!=null?_0x5b41e:[];_0x66bcea[_0x4e7399(0x138)](..._0x285413),_0x51d386[_0x4e7399(0x1e0)]['set'](_0x3bc840,_0x66bcea);}),_0x45f047[_0x559705(0x1a4)][_0x559705(0x139)]((_0x4e198f,_0x27bd06)=>{const _0x3f47e1=_0x559705;_0x51d386['columnMergeTitleCountMap'][_0x3f47e1(0x181)](_0x27bd06,_0x4e198f);}),_0x51d386['isMatchContinue']=!0x0;}const _0x9d7e1c=[];for(const _0x37a2c2 of _0x26de75)!_0x37a2c2[_0x559705(0x12f)]&&_0x37a2c2[_0x559705(0x1ad)]||(_0x9d7e1c['push'](_0x37a2c2),_0x37a2c2[_0x559705(0x12f)]=!0x1,_0x37a2c2[_0x559705(0x1ad)]=!0x1);_0x9d7e1c[_0x559705(0x138)](..._0x14e8a3),_0x26de75=_0x9d7e1c;}_0x537823[_0x559705(0x138)](..._0x26de75);let _0x676d33=0x0;for(const _0x579f6d of _0x537823){const _0x15430d=_0x579f6d[_0x559705(0x14b)][_0x559705(0x191)]-_0x579f6d[_0x559705(0x14b)][_0x559705(0x1e8)]+0x1;_0x579f6d[_0x559705(0x14b)][_0x559705(0x17a)]-_0x579f6d[_0x559705(0x14b)]['startColumn']+0x1>0x0&&_0x15430d>0x1&&_0x676d33++;}if(_0x676d33===0x0)continue;const _0x4ba168=[],_0x511992=re(0x6,_0x537823['length']);let _0x489c37=0x0;for(const _0x2bba3f of _0x537823){const _0x37e885=_0x2bba3f['range']['endRow']-_0x2bba3f[_0x559705(0x14b)][_0x559705(0x1e8)]+0x1,_0x543b87=_0x2bba3f[_0x559705(0x14b)][_0x559705(0x17a)]-_0x2bba3f['range'][_0x559705(0x1c8)]+0x1;let _0x1d1691=!0x1;for(const _0x146422 of _0x2d302b[_0x559705(0x151)]())if($e(_0x2bba3f[_0x559705(0x14b)],_0x146422)){_0x1d1691=!0x0;break;}if(_0x1d1691)continue;let _0x51b91a=!0x0;for(const _0x1a65d2 of _0x537823)if(_0x1a65d2!==_0x2bba3f&&Ne(_0x2bba3f,_0x1a65d2)){_0x51b91a=!0x1;break;}_0x51b91a&&(_0x543b87<=0x0||_0x37e885<=0x1||(_0x2bba3f['id']=_0x511992[_0x489c37++],_0x4ba168['push'](_0x2bba3f)));}_0xf5640c[_0x31e757]=_0x4ba168;}return _0xf5640c;}function Ie(_0x40b591){const _0x1aeb0e=_0x54e202,_0x2501d7=new Set();for(const [_0x22f9c8,_0x171e6d]of Object[_0x1aeb0e(0x168)](_0x40b591))for(const _0x1548fe of _0x171e6d){const {sheetId:_0x4dd289,range:_0x58e226}=_0x1548fe,_0x142567=_0x4dd289+':'+_0x58e226[_0x1aeb0e(0x1e8)]+','+_0x58e226[_0x1aeb0e(0x191)]+','+_0x58e226[_0x1aeb0e(0x1c8)]+','+_0x58e226['endColumn'];_0x2501d7[_0x1aeb0e(0x194)](_0x142567);}return _0x2501d7;}function xe(_0x4b9565,_0x52c409,_0x46c847){const _0x256359=be(_0x4b9565,_0x52c409);Oe(_0x256359,_0x4b9565,_0x52c409),Pe(_0x256359,_0x4b9565,_0x52c409);const _0xcb84bd=Ue(_0x256359,_0x4b9565);return Je(_0xcb84bd,_0x4b9565,_0x52c409,_0x46c847);}function $e(_0x4ae283,_0x2daa8d){const _0x3e6623=_0x54e202;return _0x4ae283[_0x3e6623(0x1e8)]===_0x2daa8d['startRow']&&_0x4ae283[_0x3e6623(0x191)]===_0x2daa8d[_0x3e6623(0x191)]&&_0x4ae283[_0x3e6623(0x1c8)]===_0x2daa8d[_0x3e6623(0x1c8)]&&_0x4ae283[_0x3e6623(0x17a)]===_0x2daa8d['endColumn'];}function Ne(_0x125ee7,_0x58c894){const _0x4302df=_0x54e202;return _0x125ee7[_0x4302df(0x14b)][_0x4302df(0x1e8)]>=_0x58c894['range'][_0x4302df(0x1e8)]&&_0x125ee7[_0x4302df(0x14b)]['endRow']<=_0x58c894['range'][_0x4302df(0x191)]&&_0x125ee7[_0x4302df(0x14b)][_0x4302df(0x1c8)]>=_0x58c894[_0x4302df(0x14b)]['startColumn']&&_0x125ee7[_0x4302df(0x14b)][_0x4302df(0x17a)]<=_0x58c894[_0x4302df(0x14b)][_0x4302df(0x17a)];}function Ee(_0x9ebee7){const _0x4fa8f6=_0x54e202;return''+ne(_0x9ebee7[_0x4fa8f6(0x1c8)])+(_0x9ebee7[_0x4fa8f6(0x1e8)]+0x1)+':'+ne(_0x9ebee7[_0x4fa8f6(0x17a)])+(_0x9ebee7['endRow']+0x1);}function fe(_0x6fa037){const _0x1f4aec=_0x54e202;if(_0x6fa037!==null){if(_0x6fa037!=null&&_0x6fa037['p']){const _0x1ed421=_0x6fa037==null?void 0x0:_0x6fa037['p'][_0x1f4aec(0x1d6)];if(_0x1ed421==null)return;const _0xc2a16a=_0x1ed421[_0x1f4aec(0x167)];return x[_0x1f4aec(0x14a)][_0x1f4aec(0x1b4)][_0x1f4aec(0x183)](_0xc2a16a);}if(_0x6fa037!=null&&_0x6fa037['v'])return _0x6fa037['v'];}}function j(_0x345f6c){if(fe(_0x345f6c)!=null)return String(_0x345f6c['v']);}function _e(_0x39f0dc,_0x4baf54,_0x1e7df3,_0x22ee63){const _0x435b86=_0x54e202,_0x113c55=_0x1e7df3['getCell'](_0x39f0dc,_0x4baf54);if(_0x113c55!=null){for(const _0x2794b3 of _0x22ee63)if(_0x39f0dc>=_0x2794b3[_0x435b86(0x1e8)]&&_0x39f0dc<=_0x2794b3[_0x435b86(0x191)]&&_0x4baf54>=_0x2794b3['startColumn']&&_0x4baf54<=_0x2794b3[_0x435b86(0x17a)]){const _0xfa6d90=_0x1e7df3[_0x435b86(0x18e)](_0x2794b3['startRow'],_0x2794b3['startColumn']);return _0xfa6d90==null?void 0x0:j(_0xfa6d90);}return j(_0x113c55);}}function Pe(_0x214bf8,_0x6980c5,_0x32a305){const _0x4e241d=_0x54e202,_0x84b32c=_0x6980c5[_0x4e241d(0x145)](),_0x10dc7f=re(0x6,_0x84b32c[_0x4e241d(0x15b)]);let _0x2efcaa=0x0;const _0x206600=_0x6980c5[_0x4e241d(0x1d3)](),_0x3ca188=_0x32a305[_0x4e241d(0x192)](ce['SheetsFilterService']),_0x409fd3=Ie(_0x214bf8);for(const _0x19db9f of _0x84b32c){const _0x234f83=_0x19db9f['getSheetId'](),_0x351933=_0x3ca188['getFilterModel'](_0x206600,_0x234f83);if(!_0x351933)continue;const _0xe0578b=_0x351933[_0x4e241d(0x16f)](),{startRow:_0x1b501e,endRow:_0x341a47,startColumn:_0x12e9dc,endColumn:_0x5ca9b3}=_0xe0578b;if(_0x5ca9b3-_0x12e9dc>=0x3e8)continue;const _0x229511=_0x234f83+':'+_0x1b501e+','+_0x341a47+','+_0x12e9dc+','+_0x5ca9b3;if(_0x409fd3[_0x4e241d(0x1b8)](_0x229511))continue;const _0x2201b7=new W({'id':_0x10dc7f[_0x2efcaa++],'sheetId':_0x234f83,'range':{'startRow':_0x1b501e,'endRow':_0x341a47,'startColumn':_0x12e9dc,'endColumn':_0x5ca9b3},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x1});_0x214bf8[_0x234f83]||(_0x214bf8[_0x234f83]=[]),_0x214bf8[_0x234f83][_0x4e241d(0x138)](_0x2201b7);}}function Oe(_0xf48e88,_0x5e36d8,_0x53dd4e){const _0x31f3f6=_0x54e202,_0x102797=_0x5e36d8['getSheets'](),_0x196d9b=_0x53dd4e['get'](Y[_0x31f3f6(0x1c4)]),_0x5e5e6e=_0x5e36d8['getUnitId']();for(const _0x131af8 of _0x102797){const _0x12e1be=_0x131af8['getSheetId'](),_0xcf673c=_0x196d9b[_0x31f3f6(0x1aa)](_0x5e5e6e,_0x12e1be);if(!_0xcf673c)continue;const _0x1049d0=_0xcf673c[_0x31f3f6(0x197)](_0x359a49=>_0x359a49['toJSON']());for(const _0x446e97 of _0x1049d0){const {startRow:_0x36ef59,endRow:_0x2ab38e,startColumn:_0x275597,endColumn:_0x143e9e}=_0x446e97[_0x31f3f6(0x14b)],_0x259f08=new W({'id':_0x446e97['id'],'sheetId':_0x12e1be,'range':{'startRow':_0x36ef59,'endRow':_0x2ab38e,'startColumn':_0x275597,'endColumn':_0x143e9e},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0xf48e88[_0x12e1be]||(_0xf48e88[_0x12e1be]=[]),_0xf48e88[_0x12e1be][_0x31f3f6(0x138)](_0x259f08);}}}function Ue(_0x4e9bc7,_0x178caa){const _0x535847=_0x54e202;var _0x2bf2f1,_0x49f3e5,_0x3245b8,_0x2e353d;for(const [_0xc1b333,_0x52cdf9]of Object[_0x535847(0x168)](_0x4e9bc7)){const _0x5295ea=_0x52cdf9;let _0x1a520c=!0x1;const _0x31bb59=_0x178caa[_0x535847(0x158)](_0xc1b333);if(_0x31bb59){for(let _0x4570d7=0x0;_0x4570d7<_0x5295ea['length'];_0x4570d7++){const _0x326664=_0x5295ea[_0x4570d7],_0x411535=_0x326664[_0x535847(0x14b)],{startRow:_0x2a5251,endRow:_0x4a0415,startColumn:_0x2f435f,endColumn:_0x5e9ec7}=_0x411535,_0x4153fd=ke(_0x326664,_0x31bb59),_0x197a8f=Ae(_0x2a5251,_0x4a0415,_0x326664);let _0x4848fd=0x1;const _0x23e819=_0x2a5251+_0x197a8f;let _0x948d74=0x0,_0x2bb861=0x0;for(let _0x99b892=_0x2f435f;_0x99b892<=_0x5e9ec7;_0x99b892++){const _0x3c7296=_0x31bb59[_0x535847(0x18e)](_0x23e819,_0x99b892);if(!_0x3c7296)continue;const _0xd24aaa=j(_0x3c7296);_0xd24aaa!=null&&(_0xd24aaa!==''&&_0x2bb861++,le(_0xd24aaa)&&_0x948d74++);}if(_0x2bb861>0x0&&_0x948d74/Math['max'](_0x2bb861,0x1)>0.03&&(_0x4848fd=0x0),_0x326664[_0x535847(0x176)]=_0x197a8f,_0x326664[_0x535847(0x1d9)]=_0x4848fd+_0x197a8f,_0x326664['range']['endRow']-_0x326664[_0x535847(0x14b)][_0x535847(0x1e8)]+0x1-_0x326664[_0x535847(0x1d9)]<=0x1){console['warn'](_0x535847(0x169)+_0x4570d7+_0x535847(0x166)+Ee(_0x326664[_0x535847(0x14b)])),_0x5295ea['splice'](_0x4570d7,0x1),_0x4570d7--,_0x1a520c=!0x0;continue;}const _0x5f23bc=new Map();let _0x88661e=0x0;const _0x1b3e4f=re(0x4,_0x5e9ec7-_0x2f435f+0x1);for(let _0x5e43eb=_0x2f435f;_0x5e43eb<=_0x5e9ec7;_0x5e43eb++){let _0x1b1272='';const _0x501ed5=new Set();let _0xf7f35b=!0x1;const _0x29dc5e=_0x2a5251+_0x326664['rowTitleCount']-0x1;let _0x1f9ee8=_0x2a5251;_0x4153fd!==''&&(_0x1f9ee8=_0x2a5251+0x1);for(let _0x114387=_0x1f9ee8;_0x114387<=_0x29dc5e;_0x114387++){const _0x3919e7=_e(_0x114387,_0x5e43eb,_0x31bb59,(_0x49f3e5=(_0x2bf2f1=_0x178caa[_0x535847(0x158)](_0x326664[_0x535847(0x143)]))==null?void 0x0:_0x2bf2f1['getMergeData']())!=null?_0x49f3e5:[]);_0x3919e7!=null&&(_0x114387===_0x29dc5e&&(_0x1b1272=_0x3919e7),_0x501ed5['add'](_0x3919e7));}const _0x7a327e=[..._0x501ed5]['join'](','),_0x9990bd=_0x7a327e;_0x5f23bc['has'](_0x9990bd)?_0xf7f35b=!0x0:_0x5f23bc['set'](_0x9990bd,!0x0);const _0x20ec66=_0x29dc5e+0x1;let _0x554dfd=_0x29dc5e+0x14,_0x21ac03=0x0,_0x44e900=!0x1,_0x338f4a=!0x1;if(_0x554dfd>_0x4a0415&&(_0x554dfd=_0x4a0415),_0x20ec66<_0x4a0415){let _0x13eb1b='';for(let _0x571623=_0x20ec66;_0x571623<=_0x554dfd;_0x571623++){const _0x24fe0e=_0x31bb59[_0x535847(0x18e)](_0x571623,_0x5e43eb);if(!_0x24fe0e)continue;const _0xef33ad=j(_0x24fe0e);_0xef33ad!=null&&(le(_0xef33ad)||(_0x13eb1b+=_0xef33ad),Ve(_0xef33ad)&&_0x21ac03++);}_0x21ac03>Math[_0x535847(0x1b7)]((_0x554dfd-_0x20ec66+0x1)/0x2)&&(_0x338f4a=!0x0),je(_0x13eb1b)/Math[_0x535847(0x171)](_0x554dfd-_0x20ec66+0x1,0x1)>0xf&&!_0x338f4a&&(_0x44e900=!0x0);}_0x326664[_0x535847(0x16e)][_0x535847(0x138)]({'id':_0x1b3e4f[_0x88661e++],'Name':_0x1b1272,'Type':'','Description':_0x7a327e,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x44e900,'isLink':_0x338f4a,'isTitleRepeat':_0xf7f35b,'isUnique':!0x1,'links':[]});}De(_0x326664,_0x178caa);}_0x1a520c&&(_0x4e9bc7[_0xc1b333]=_0x5295ea),_0x5295ea[_0x535847(0x15b)]===0x0&&delete _0x4e9bc7[_0xc1b333],(_0x2e353d=(_0x3245b8=_0x4e9bc7[_0xc1b333])==null?void 0x0:_0x3245b8[_0x535847(0x15b)])!=null;}}return _0x4e9bc7;}function Ae(_0x12a514,_0x5b1214,_0x485e18){const _0x3d9a7d=_0x54e202;var _0x5d8d84;function _0x14380c(_0x4bbe9e){const _0x58ffcc=_0x5a4a;if(_0x4bbe9e[_0x58ffcc(0x15b)]===0x0)return 0x0;_0x4bbe9e[_0x58ffcc(0x1cb)]((_0x594d71,_0x90b37)=>_0x594d71[0x0]-_0x90b37[0x0]);let _0x56d3a7=0x0,_0x22c1fe=_0x4bbe9e[0x0][0x0],_0x4ef7d0=_0x4bbe9e[0x0][0x1];for(let _0xdefc11=0x1;_0xdefc11<_0x4bbe9e[_0x58ffcc(0x15b)];_0xdefc11++){const [_0x2f262e,_0x308b65]=_0x4bbe9e[_0xdefc11];_0x2f262e<=_0x4ef7d0+0x1?_0x4ef7d0=Math['max'](_0x4ef7d0,_0x308b65):(_0x56d3a7+=_0x4ef7d0-_0x22c1fe+0x1,_0x22c1fe=_0x2f262e,_0x4ef7d0=_0x308b65);}return _0x56d3a7+=_0x4ef7d0-_0x22c1fe+0x1,_0x56d3a7;}const _0x25b760=_0x485e18[_0x3d9a7d(0x14b)]['startColumn'],_0x115ba1=_0x485e18[_0x3d9a7d(0x14b)]['endColumn'],_0x18781e=_0x115ba1-_0x25b760+0x1;let _0x28831a=_0x12a514-0x1,_0x407671=_0x12a514-0x1,_0x39d184=!0x1;const _0x5026dc=0x64;for(let _0x2aafca=_0x12a514;_0x2aafca<=_0x5b1214&&_0x2aafca-_0x12a514<_0x5026dc;_0x2aafca++){const _0xe28639=[],_0x3f3e6f=(_0x5d8d84=_0x485e18['rowMergeTitleCountMap'][_0x3d9a7d(0x192)](_0x2aafca))!=null?_0x5d8d84:[];for(const _0x2974e8 of _0x3f3e6f){const _0x22951c=_0x2974e8['range'][_0x3d9a7d(0x1c8)],_0xaf77df=_0x2974e8[_0x3d9a7d(0x14b)][_0x3d9a7d(0x17a)],_0x3960ab=Math[_0x3d9a7d(0x171)](_0x22951c,_0x25b760),_0x7ee89b=Math['min'](_0xaf77df,_0x115ba1);_0x3960ab<=_0x7ee89b&&_0xe28639['push']([_0x3960ab,_0x7ee89b]);}_0x485e18[_0x3d9a7d(0x1a4)][_0x3d9a7d(0x139)](_0x53a9fc=>{const _0x14eb84=_0x3d9a7d,_0x41656a=_0x53a9fc[_0x14eb84(0x14b)]['startRow'],_0x24e7ea=_0x53a9fc[_0x14eb84(0x14b)][_0x14eb84(0x191)];if(_0x41656a<=_0x2aafca&&_0x2aafca<=_0x24e7ea){const _0x350db4=_0x53a9fc[_0x14eb84(0x14b)][_0x14eb84(0x1c8)],_0x5d2fd2=_0x53a9fc[_0x14eb84(0x14b)][_0x14eb84(0x17a)],_0x18dcaf=Math[_0x14eb84(0x171)](_0x350db4,_0x25b760),_0xeb496e=Math[_0x14eb84(0x19d)](_0x5d2fd2,_0x115ba1);_0x18dcaf<=_0xeb496e&&_0xe28639[_0x14eb84(0x138)]([_0x18dcaf,_0xeb496e]);}});const _0x5a044c=_0x14380c(_0xe28639),_0x384f5b=_0x5a044c/Math[_0x3d9a7d(0x171)](_0x18781e,0x1);_0xe28639[_0x3d9a7d(0x15b)]>0x0&&(_0x28831a=_0x2aafca),_0x5a044c>0x0&&_0x384f5b>=0.75&&!_0x39d184?_0x407671=_0x2aafca:_0xe28639['length']>0x0&&(_0x39d184=!0x0);}return _0x28831a===_0x5b1214||_0x28831a-_0x12a514===_0x5026dc?_0x407671-_0x12a514+0x1:_0x28831a-_0x12a514+0x1;}function ke(_0x8ecdda,_0x551b49){const _0x1c2f91=_0x54e202;if(_0x8ecdda[_0x1c2f91(0x17b)]&&_0x8ecdda[_0x1c2f91(0x17b)]!=='')return _0x8ecdda[_0x1c2f91(0x17b)];const _0x29cfb5=_0x8ecdda[_0x1c2f91(0x14b)][_0x1c2f91(0x1e8)],_0x7d5e15=_0x8ecdda[_0x1c2f91(0x14b)][_0x1c2f91(0x1c8)],_0x5c46e1=_0x8ecdda[_0x1c2f91(0x14b)][_0x1c2f91(0x17a)],_0x5ec263=0x3,_0xd88e4c=_0x8ecdda[_0x1c2f91(0x1e0)][_0x1c2f91(0x192)](_0x29cfb5);if(_0xd88e4c&&_0xd88e4c[_0x1c2f91(0x15b)]>0x0)for(const _0x267ca8 of _0xd88e4c){const _0x3406ee=_0x267ca8[_0x1c2f91(0x14b)],_0x9e7785=_0x3406ee[_0x1c2f91(0x1c8)],_0x2745aa=_0x3406ee[_0x1c2f91(0x17a)];if(_0x9e7785<=_0x7d5e15+_0x5ec263&&_0x2745aa>=_0x5c46e1-_0x5ec263){const _0x323704=_0x551b49[_0x1c2f91(0x18e)](_0x29cfb5,_0x9e7785);if(!_0x323704)return'';const _0x42cc18=j(_0x323704);return _0x42cc18==null||_0x42cc18===''?'':(_0x8ecdda['name']=_0x42cc18,_0x42cc18);}}return'';}function De(_0x4f074d,_0x3e1495){const _0x3813f6=_0x54e202,_0x470b78={};_0x3e1495[_0x3813f6(0x161)]()[_0x3813f6(0x157)](_0x5f4436=>{const _0x466894=_0x3813f6,[_0x264f72,_0x53246b]=_0x5f4436;return!_0x264f72||!_0x53246b||_0x53246b['n']&&typeof _0x53246b['n']['pattern']==_0x466894(0x14c)&&/[YyMDd]/['test'](_0x53246b['n'][_0x466894(0x14e)])&&(_0x470b78[_0x264f72]=!0x0),!0x0;});const _0x51c6ac=_0x4f074d[_0x3813f6(0x14b)][_0x3813f6(0x1e8)],_0x4e20cf=_0x4f074d[_0x3813f6(0x14b)][_0x3813f6(0x191)],_0x17bc33=_0x4f074d[_0x3813f6(0x1d9)],_0x26609d=_0x4f074d['sheetId'],_0x1fdfb4=_0x3e1495['getSheetBySheetId'](_0x26609d);if(!_0x1fdfb4)return;const _0x2acba9=_0x4e20cf-_0x51c6ac+0x1-_0x17bc33;if(_0x2acba9<=0x1){console[_0x3813f6(0x1b0)](_0x3813f6(0x135));return;}const _0xf9ebac=[];for(let _0xed661f=0x0;_0xed661f<_0x4f074d['range'][_0x3813f6(0x17a)]-_0x4f074d[_0x3813f6(0x14b)]['startColumn']+0x1;_0xed661f++)_0xf9ebac[_0x3813f6(0x138)](new Se(_0x470b78));const _0x30c0a8=Math[_0x3813f6(0x16d)](Math['max'](_0x2acba9,0x1));for(let _0x38c473=0x0;;_0x38c473++){const _0x384188=_0x38c473,_0x2b1a43=Math['floor'](_0x384188+0.00001*_0x384188**2.7*_0x30c0a8*_0x30c0a8)+_0x51c6ac+_0x17bc33;if(_0x2b1a43>_0x4e20cf)break;for(let _0x5cff00=_0x4f074d[_0x3813f6(0x14b)]['startColumn'];_0x5cff00<=_0x4f074d['range'][_0x3813f6(0x17a)];_0x5cff00++){const _0x8bcd9d=_0x1fdfb4[_0x3813f6(0x18e)](_0x2b1a43,_0x5cff00);_0x8bcd9d&&_0xf9ebac[_0x5cff00-_0x4f074d[_0x3813f6(0x14b)][_0x3813f6(0x1c8)]]['Match'](_0x8bcd9d);}}for(let _0x26e0e2=0x0;_0x26e0e2<_0x4f074d[_0x3813f6(0x16e)][_0x3813f6(0x15b)];_0x26e0e2++){const [_0xc4d4c8,_0xc432c5]=_0xf9ebac[_0x26e0e2][_0x3813f6(0x18b)]();_0x4f074d['columns'][_0x26e0e2]['Type']=_0xc4d4c8;}}function me(_0x5e1e15){const _0x25c25b=_0x54e202,_0x238913=[];for(const _0x3e6981 of _0x5e1e15[_0x25c25b(0x18c)])_0x238913[_0x25c25b(0x138)]({'tableId':_0x3e6981[_0x25c25b(0x162)],'columnId':_0x3e6981['columnId'],'linkType':_0x3e6981[_0x25c25b(0x147)]});return _0x238913;}function Le(_0x54b785){const _0x48e000=_0x54e202;return _0x54b785[_0x48e000(0x1d9)]===0x1;}function Be(_0x2cd8d4,_0x2ec5b8,_0x24a616,_0x3719cb,_0x573982){const _0x1e1b3b=_0x54e202,_0x523d44=_0x3719cb[_0x1e1b3b(0x192)](Y[_0x1e1b3b(0x1c4)]),_0x4793e9=_0x2ec5b8[_0x1e1b3b(0x1d3)](),_0x400343=_0x2cd8d4[_0x1e1b3b(0x143)];if(_0x523d44[_0x1e1b3b(0x1aa)](_0x4793e9,_0x400343)){for(const _0x44a20c of _0x24a616)if(_0x44a20c['id']===_0x2cd8d4['id']){_0x44a20c[_0x1e1b3b(0x17b)]=_0x2cd8d4[_0x1e1b3b(0x17b)],_0x44a20c[_0x1e1b3b(0x178)]={},_0x44a20c[_0x1e1b3b(0x178)][_0x1e1b3b(0x19a)]=_0x2cd8d4[_0x1e1b3b(0x19a)],_0x44a20c[_0x1e1b3b(0x178)][_0x1e1b3b(0x1d9)]=_0x2cd8d4[_0x1e1b3b(0x1d9)],_0x44a20c[_0x1e1b3b(0x178)]['mergeRowTitleCount']=_0x2cd8d4['mergeRowTitleCount'],_0x44a20c[_0x1e1b3b(0x178)][_0x1e1b3b(0x1ac)]=_0x2cd8d4[_0x1e1b3b(0x1ac)];for(let _0x5f425d=0x0;_0x5f425d<_0x2cd8d4[_0x1e1b3b(0x16e)]['length'];_0x5f425d++){const _0x1aef1c=_0x2cd8d4[_0x1e1b3b(0x16e)][_0x5f425d],_0x222b06=_0x44a20c[_0x1e1b3b(0x16e)][_0x5f425d];_0x222b06[_0x1e1b3b(0x1e1)]=_0x1aef1c[_0x1e1b3b(0x15d)],_0x222b06[_0x1e1b3b(0x186)]=_0x1aef1c['Type'],_0x222b06[_0x1e1b3b(0x178)]={},_0x222b06[_0x1e1b3b(0x178)][_0x1e1b3b(0x19a)]=_0x1aef1c[_0x1e1b3b(0x17d)],_0x222b06['meta'][_0x1e1b3b(0x1d4)]=_0x1aef1c[_0x1e1b3b(0x1d4)],_0x222b06['meta']['isMeasure']=_0x1aef1c[_0x1e1b3b(0x14d)],_0x222b06[_0x1e1b3b(0x178)][_0x1e1b3b(0x149)]=_0x1aef1c[_0x1e1b3b(0x149)],_0x222b06['meta'][_0x1e1b3b(0x1c7)]=_0x1aef1c[_0x1e1b3b(0x1c7)],_0x222b06[_0x1e1b3b(0x178)]['isLink']=_0x1aef1c[_0x1e1b3b(0x136)],_0x222b06['meta'][_0x1e1b3b(0x17e)]=_0x1aef1c[_0x1e1b3b(0x17e)],_0x222b06['meta'][_0x1e1b3b(0x198)]=_0x1aef1c['isUnique'],_0x222b06[_0x1e1b3b(0x178)][_0x1e1b3b(0x18c)]=me(_0x1aef1c);}he(_0x44a20c,_0x400343,_0x2ec5b8,_0x573982);}}}function Je(_0x5561ca,_0x50b2aa,_0x42d28c,_0x52ae35){const _0x179dac=_0x54e202,_0x377fa4=_0x42d28c[_0x179dac(0x192)](Y[_0x179dac(0x1c4)]),_0x25fd6a=_0x50b2aa[_0x179dac(0x1d3)](),_0x29cd38={};for(const [_0x5a9d4d,_0x354997]of Object['entries'](_0x5561ca)){const _0x2b01c9=_0x377fa4[_0x179dac(0x1aa)](_0x25fd6a,_0x5a9d4d),_0x2c0e8e=(_0x2b01c9==null?void 0x0:_0x2b01c9['map'](_0xf2b91=>_0xf2b91[_0x179dac(0x189)]()))||[];for(const _0x5aad33 of _0x354997){if(_0x5aad33['isUpdateTable']){Be(_0x5aad33,_0x50b2aa,_0x2c0e8e,_0x42d28c,_0x52ae35);continue;}const _0x320741={'id':_0x5aad33['id'],'range':{'startRow':_0x5aad33[_0x179dac(0x14b)]['startRow']+_0x5aad33[_0x179dac(0x176)],'endRow':_0x5aad33[_0x179dac(0x14b)]['endRow'],'startColumn':_0x5aad33[_0x179dac(0x14b)]['startColumn'],'endColumn':_0x5aad33[_0x179dac(0x14b)][_0x179dac(0x17a)]},'name':_0x5aad33[_0x179dac(0x17b)],'meta':{},'options':{'showHeader':Le(_0x5aad33),'showFooter':!0x1},'columns':[],'filters':{}};_0x320741[_0x179dac(0x178)][_0x179dac(0x19a)]=_0x5aad33[_0x179dac(0x19a)],_0x320741[_0x179dac(0x178)][_0x179dac(0x1d9)]=_0x5aad33[_0x179dac(0x1d9)],_0x320741[_0x179dac(0x178)][_0x179dac(0x176)]=_0x5aad33[_0x179dac(0x176)],_0x320741[_0x179dac(0x178)][_0x179dac(0x1ac)]=_0x5aad33[_0x179dac(0x1ac)];const _0x4de66a=_0x5aad33['range'][_0x179dac(0x1c8)];for(let _0x3c61f0=0x0;_0x3c61f0<_0x5aad33['columns'][_0x179dac(0x15b)];_0x3c61f0++){const _0x18e95b=_0x5aad33[_0x179dac(0x16e)][_0x3c61f0],_0x529dc4={'id':_0x18e95b['id'],'displayName':_0x18e95b[_0x179dac(0x15d)]||_0x179dac(0x170)+ne(_0x4de66a+_0x3c61f0),'dataType':_0x18e95b['Type'],'meta':{},'formula':'','style':{}};_0x529dc4[_0x179dac(0x178)][_0x179dac(0x19a)]=_0x18e95b[_0x179dac(0x17d)],_0x529dc4[_0x179dac(0x178)][_0x179dac(0x1d4)]=_0x18e95b['isCoded'],_0x529dc4[_0x179dac(0x178)]['isMeasure']=_0x18e95b['isMeasure'],_0x529dc4[_0x179dac(0x178)]['isOpinionText']=_0x18e95b['isOpinionText'],_0x529dc4[_0x179dac(0x178)][_0x179dac(0x1c7)]=_0x18e95b[_0x179dac(0x1c7)],_0x529dc4['meta'][_0x179dac(0x136)]=_0x18e95b[_0x179dac(0x136)],_0x529dc4[_0x179dac(0x178)][_0x179dac(0x17e)]=_0x18e95b['isTitleRepeat'],_0x529dc4[_0x179dac(0x178)]['isUnique']=_0x18e95b[_0x179dac(0x198)],_0x529dc4[_0x179dac(0x178)][_0x179dac(0x18c)]=me(_0x18e95b),_0x320741[_0x179dac(0x16e)][_0x179dac(0x138)](_0x529dc4);}he(_0x320741,_0x5a9d4d,_0x50b2aa,_0x52ae35),_0x2c0e8e[_0x179dac(0x138)](_0x320741);}_0x29cd38[_0x5a9d4d]=_0x2c0e8e;}for(const _0x305c3c of Object['keys'](_0x5561ca))_0x5561ca[_0x305c3c][_0x179dac(0x139)](_0x3d1661=>{const _0x2d9d8b=_0x179dac;_0x3d1661[_0x2d9d8b(0x172)]();});return _0x29cd38;}function ae(_0x1db1b1,_0x473a38,_0x9cbcd3=0x5){const _0x5a7cae=_0x54e202;if(!Array[_0x5a7cae(0x160)](_0x1db1b1)||_0x1db1b1[_0x5a7cae(0x15b)]===0x0)return[];const _0x490ed4=Math[_0x5a7cae(0x19d)](_0x473a38,_0x1db1b1['length']),_0x521183=Math[_0x5a7cae(0x19d)](_0x490ed4+_0x9cbcd3,_0x1db1b1[_0x5a7cae(0x15b)]);return _0x1db1b1[_0x5a7cae(0x156)](_0x490ed4,_0x521183);}function he(_0x5a2f5b,_0x3bb912,_0x3fe7e7,_0x3dd6bf){const _0x3a1e29=_0x54e202,_0x530765=_0x3fe7e7['getSheetBySheetId'](_0x3bb912);if(!_0x530765)return;const _0x3a4249=_0x5a2f5b[_0x3a1e29(0x14b)],_0x13fd69=Fe(_0x530765,_0x3a4249);_0x3dd6bf===ee[_0x3a1e29(0x150)]?_0x5a2f5b['data']=JSON[_0x3a1e29(0x131)](ae(_0x13fd69,0x1,0x5)):_0x3dd6bf===ee[_0x3a1e29(0x1de)]&&(_0x5a2f5b[_0x3a1e29(0x140)]=JSON['stringify'](ae(_0x13fd69,0x1,_0x13fd69['length'])));}function Fe(_0x571960,_0xeee116){const _0x1a4013=_0x54e202;var _0x32eb20;const {startRow:_0x4a883a,endRow:_0x2c215c,startColumn:_0x11c410,endColumn:_0x224c94}=_0xeee116,_0x209cb5=[];for(let _0x2dbb4a=_0x4a883a;_0x2dbb4a<=_0x2c215c;_0x2dbb4a++){const _0x183d25=[];for(let _0xffe059=_0x11c410;_0xffe059<=_0x224c94;_0xffe059++){const _0x3ba640=_0x571960[_0x1a4013(0x18e)](_0x2dbb4a,_0xffe059);_0x3ba640?_0x183d25['push']((_0x32eb20=fe(_0x3ba640))!=null?_0x32eb20:''):_0x183d25[_0x1a4013(0x138)]('');}_0x209cb5[_0x1a4013(0x138)](_0x183d25);}return _0x209cb5;}function Ve(_0x304d15){const _0x45bf86=_0x54e202;return/https?:\/\/|www\./i[_0x45bf86(0x1ba)](_0x304d15);}function je(_0x37f641){const _0x3e91a4=_0x54e202;return Array['from'](_0x37f641)[_0x3e91a4(0x15b)];}function le(_0x3081ef){const _0x3f2d54=_0x54e202;return _0x3081ef?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x3f2d54(0x1ba)](_0x3081ef[_0x3f2d54(0x132)]()):!0x1;}function ne(_0x1d4717){const _0x330067=_0x54e202;let _0x263343='',_0x550f27=_0x1d4717+0x1;for(;_0x550f27>0x0;){const _0x2e9ace=(_0x550f27-0x1)%0x1a;_0x263343=String[_0x330067(0x1a9)](0x41+_0x2e9ace)+_0x263343,_0x550f27=Math[_0x330067(0x1b7)]((_0x550f27-0x1)/0x1a);}return _0x263343;}var qe=Object['getOwnPropertyDescriptor'],ze=(_0x343f19,_0x415f49,_0x579b7d,_0x209ff8)=>{const _0x34fda4=_0x54e202;for(var _0x461d31=_0x209ff8>0x1?void 0x0:_0x209ff8?qe(_0x415f49,_0x579b7d):_0x415f49,_0x480cda=_0x343f19[_0x34fda4(0x15b)]-0x1,_0x2fdc44;_0x480cda>=0x0;_0x480cda--)(_0x2fdc44=_0x343f19[_0x480cda])&&(_0x461d31=_0x2fdc44(_0x461d31)||_0x461d31);return _0x461d31;},Ge=(_0x138ffb,_0x1997bb)=>(_0x42f67a,_0x49e36d)=>_0x1997bb(_0x42f67a,_0x49e36d,_0x138ffb);exports[_0x54e202(0x152)]=class extends x[_0x54e202(0x165)]{constructor(_0xeaad36){const _0x52b5c7=_0x54e202;super(),this[_0x52b5c7(0x1ab)]=_0xeaad36;}[_0x54e202(0x1b3)](_0x5c467a,_0x2bd243){const _0xf66353=_0x54e202;return xe(_0x5c467a,this[_0xf66353(0x1ab)],_0x2bd243);}},exports[_0x54e202(0x152)]=ze([Ge(0x0,x[_0x54e202(0x16c)](x['Injector']))],exports[_0x54e202(0x152)]);var We=Object['getOwnPropertyDescriptor'],Ze=(_0x455060,_0x5a4f67,_0x5e25bd,_0x308e9d)=>{const _0x4d135e=_0x54e202;for(var _0x3be2b0=_0x308e9d>0x1?void 0x0:_0x308e9d?We(_0x5a4f67,_0x5e25bd):_0x5a4f67,_0x535533=_0x455060[_0x4d135e(0x15b)]-0x1,_0x2a4242;_0x535533>=0x0;_0x535533--)(_0x2a4242=_0x455060[_0x535533])&&(_0x3be2b0=_0x2a4242(_0x3be2b0)||_0x3be2b0);return _0x3be2b0;},ue=(_0x55ed52,_0x3f62cb)=>(_0x5643b4,_0x2d82ab)=>_0x3f62cb(_0x5643b4,_0x2d82ab,_0x55ed52);const He=_0x54e202(0x1b1);function _0x5ae5(){const _0x41a7d8=['fromCharCode','getTablesBySubunitId','_injector','isTimeSeries','isMatchEnd','saveTableToCache','layout','warn','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','trunc','getAllTableJson','transform','CellValueType','January\x202,2006','floor','has','RTree','test','isFinite','getFilterModel','01-02-2006','02-01-2006','sample','6873126LSfRPf','2006年1月2日','7wVMnQR','3307942feKcXu','TableManager','_isRowContinuous','confidence','isBigText','startColumn','boolean','_configService','sort','02/01/2006','20060102','2561634SUElwm','NUMBER','2232888XLTHEZ','getTableList','startStatisticRowCount','getUnitId','isCoded','next','body','merge','32wAAOiw','rowTitleCount','3149268GUEHHi','getFullYear','all','intersectWithPreTables','All','Calc','rowMergeTitleCountMap','displayName','Plugin','bulkSearch','IConfigService','replace','valid','columnMergeTitleState','startRow','clear','insert','date','number','isMatchContinue','2069259BTFjsl','stringify','trim','2\x20January,\x202006','value','skip\x20small\x20table','isLink','Charset','push','forEach','2006/1/2','Confidence','splice','timeStampStyles','symbol','recognizers','data','UNIVER_RANGE_PREPROCESS_PLUGIN','isUpdateTable','sheetId','onStarting','getSheets','onReady','linkType','size','isOpinionText','BuildTextUtils','range','string','isMeasure','pattern','2\x20Jan.,\x202006','Sample','getMergeData','RangePreprocessController','02.01.2006','2006-1-2','Jan.\x202,\x202006','slice','each','getSheetBySheetId','invalid','pluginName','length','BOOLEAN','Name','2006-01-02T15:04:05','dateStyles','isArray','getStyles','tableId','50zFgZoN','intersectWithColumns','Disposable',',\x20rangeName:','dataStream','entries','skip\x20small\x20table,\x20idx:','toLowerCase','2006-01-02','Inject','log10','columns','getRange','column_','max','dispose','needConvert','rowMergeTitleState','UniverRangePreprocessPlugin','mergeRowTitleCount','609251ZYZOgD','meta','getDate','endColumn','name','Layout','Description','isTitleRepeat','endStatisticRowCount','from','set','toStringTag','getPlainText','registerDependencies','setConfig','dataType','Module','none','toJSON','isTestTable','Best','links','insertCellData','getCell','2\x20January,2006','_config','endRow','get','Match','add','excel','split','map','isUnique','2006-01-02\x2015:04:05','description','getMonth','SheetsFilterService','min','Injector','values','defineProperty','STRING','01/02/2006','generateRandomId','columnMergeTitleCountMap','getSheetId','2006/01/02','autoFilter','5xFpQKc'];_0x5ae5=function(){return _0x41a7d8;};return _0x5ae5();}var X;exports['UniverRangePreprocessPlugin']=(X=class extends x[_0x54e202(0x1e2)]{constructor(_0x3731e9={},_0x5550b3,_0x2b69df){const _0x468736=_0x54e202;super(),this[_0x468736(0x190)]=_0x3731e9,this[_0x468736(0x1ab)]=_0x5550b3,this[_0x468736(0x1ca)]=_0x2b69df;const {..._0x58fb4a}=x[_0x468736(0x1d7)]({},this['_config']);this[_0x468736(0x1ca)][_0x468736(0x185)](He,_0x58fb4a);}[_0x54e202(0x144)](){const _0x5afac3=_0x54e202,_0xd1978e=[[exports[_0x5afac3(0x152)]]];x[_0x5afac3(0x184)](this['_injector'],_0xd1978e);}[_0x54e202(0x146)](){}},p(X,_0x54e202(0x15a),_0x54e202(0x141)),X),exports['UniverRangePreprocessPlugin']=Ze([ue(0x1,x[_0x54e202(0x16c)](x[_0x54e202(0x19e)])),ue(0x2,x[_0x54e202(0x1e4)])],exports[_0x54e202(0x175)]);
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x49a07d=_0x2c57;(function(_0xb73fa3,_0x1effe5){var _0x2fd995=_0x2c57,_0x3a7f6e=_0xb73fa3();while(!![]){try{var _0x3380f3=-parseInt(_0x2fd995(0x18e))/0x1+-parseInt(_0x2fd995(0x198))/0x2+parseInt(_0x2fd995(0x193))/0x3+parseInt(_0x2fd995(0x194))/0x4+parseInt(_0x2fd995(0x197))/0x5+-parseInt(_0x2fd995(0x190))/0x6+parseInt(_0x2fd995(0x192))/0x7;if(_0x3380f3===_0x1effe5)break;else _0x3a7f6e['push'](_0x3a7f6e['shift']());}catch(_0x599402){_0x3a7f6e['push'](_0x3a7f6e['shift']());}}}(_0x526c,0x83d84));import{RangePreprocessController as _0x3f0c1a}from'@univerjs-pro/range-preprocess';import{FWorkbook as _0x52574a}from'@univerjs/sheets/facade';function _0x2c57(_0x40a1ee,_0x4f8901){var _0x526c28=_0x526c();return _0x2c57=function(_0x2c5793,_0x501899){_0x2c5793=_0x2c5793-0x18d;var _0xf16f71=_0x526c28[_0x2c5793];return _0xf16f71;},_0x2c57(_0x40a1ee,_0x4f8901);}function _0x526c(){var _0x1eb889=['getAllTableJson','extend','2013920XUDPue','1044148IwEtcP','_injector','246723cPhwvk','_workbook','3883668qCgCLc','get','6902308IvDAqg','1006797URFFWH','926736ylyJjm'];_0x526c=function(){return _0x1eb889;};return _0x526c();}class s extends _0x52574a{['getPreprocessRanges'](_0x303ccb){var _0x1588e4=_0x2c57;return this[_0x1588e4(0x18d)][_0x1588e4(0x191)](_0x3f0c1a)[_0x1588e4(0x195)](this[_0x1588e4(0x18f)],_0x303ccb);}}_0x52574a[_0x49a07d(0x196)](s);
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x51ed5d=_0x1857;(function(_0x56a46b,_0x23ce18){const _0x365bc2=_0x1857,_0x73dade=_0x56a46b();while(!![]){try{const _0x2122b9=-parseInt(_0x365bc2(0x1df))/0x1*(-parseInt(_0x365bc2(0x165))/0x2)+parseInt(_0x365bc2(0x1d8))/0x3+parseInt(_0x365bc2(0x17f))/0x4*(-parseInt(_0x365bc2(0x15b))/0x5)+-parseInt(_0x365bc2(0x180))/0x6*(parseInt(_0x365bc2(0x170))/0x7)+-parseInt(_0x365bc2(0x154))/0x8*(parseInt(_0x365bc2(0x1d0))/0x9)+-parseInt(_0x365bc2(0x1c8))/0xa+parseInt(_0x365bc2(0x17a))/0xb*(parseInt(_0x365bc2(0x1aa))/0xc);if(_0x2122b9===_0x23ce18)break;else _0x73dade['push'](_0x73dade['shift']());}catch(_0xf2588e){_0x73dade['push'](_0x73dade['shift']());}}}(_0x43cf,0x569ce));var Re=Object[_0x51ed5d(0x157)],Se=(_0x2ae2bb,_0x271e28,_0x21b5e9)=>_0x271e28 in _0x2ae2bb?Re(_0x2ae2bb,_0x271e28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21b5e9}):_0x2ae2bb[_0x271e28]=_0x21b5e9,M=(_0x1f1682,_0x23711b,_0x24bc81)=>Se(_0x1f1682,typeof _0x23711b!=_0x51ed5d(0x14c)?_0x23711b+'':_0x23711b,_0x24bc81);import{CellValueType as _0x2b8021,generateRandomId as _0x34474b,RTree as _0x4c3050,BuildTextUtils as _0x368644,Inject as _0x5bd2d2,Injector as _0x4250c0,Disposable as _0x640796,IConfigService as _0x1fdf66,Plugin as _0x446f50,merge as _0x24bb42,registerDependencies as _0x5c0a18}from'@univerjs/core';import{SheetsFilterService as _0x4fe507}from'@univerjs/sheets-filter';import{TableManager as _0x1a5608}from'@univerjs/sheets-table';function re(_0x378e9e){return _0x378e9e['v']==null?'':String(_0x378e9e['v'])['trim']();}function Ne(_0x5ea779){const _0x98843b=_0x51ed5d;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x98843b(0x17b)](_0x5ea779);}const Z=0x2,Q=0x1;function we(_0x332dfc,_0x4a940d){const _0x3cbcea=_0x51ed5d,_0x5efbc8={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x4a940d];if(!_0x5efbc8||!_0x5efbc8[_0x3cbcea(0x17b)](_0x332dfc))return!0x1;const _0x2843bd=_0x332dfc[_0x3cbcea(0x152)](/\D+/g,'\x20')[_0x3cbcea(0x1e1)]()[_0x3cbcea(0x1bd)](/\s+/)[_0x3cbcea(0x1cb)](Number);let _0x45a799=0x0,_0x10253c=0x1,_0x36bb53=0x1,_0x144ed3=0x0,_0x5e115b=0x0,_0x3d422f=0x0;switch(_0x4a940d){case _0x3cbcea(0x147):case'2006-1-2':case'2006/01/02':case'2006/1/2':[_0x45a799,_0x10253c,_0x36bb53]=_0x2843bd;break;case'2006年1月2日':[_0x45a799,_0x10253c,_0x36bb53]=_0x2843bd;break;case _0x3cbcea(0x14e):case _0x3cbcea(0x1da):case _0x3cbcea(0x144):[_0x36bb53,_0x10253c,_0x45a799]=_0x2843bd;break;case _0x3cbcea(0x190):case _0x3cbcea(0x1dc):[_0x10253c,_0x36bb53,_0x45a799]=_0x2843bd;break;case _0x3cbcea(0x1bb):{const _0x5e79b5=_0x332dfc;_0x45a799=+_0x5e79b5[_0x3cbcea(0x1bf)](0x0,0x4),_0x10253c=+_0x5e79b5[_0x3cbcea(0x1bf)](0x4,0x6),_0x36bb53=+_0x5e79b5[_0x3cbcea(0x1bf)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x3cbcea(0x1d3):[_0x45a799,_0x10253c,_0x36bb53,_0x144ed3,_0x5e115b,_0x3d422f]=_0x2843bd;break;default:return!0x0;}if(_0x10253c<0x1||_0x10253c>0xc||_0x36bb53<0x1||_0x36bb53>0x1f||_0x144ed3<0x0||_0x144ed3>0x17||_0x5e115b<0x0||_0x5e115b>0x3b||_0x3d422f<0x0||_0x3d422f>0x3b)return!0x1;const _0x33dd6b=new Date(_0x45a799,_0x10253c-0x1,_0x36bb53,_0x144ed3,_0x5e115b,_0x3d422f);return!(_0x33dd6b[_0x3cbcea(0x1b5)]()!==_0x45a799||_0x33dd6b[_0x3cbcea(0x1cc)]()!==_0x10253c-0x1||_0x33dd6b['getDate']()!==_0x36bb53);}function Ee(_0x276f01){const _0x255926=_0x51ed5d;return Number[_0x255926(0x18f)](_0x276f01)&&_0x276f01>=0x1&&_0x276f01<=0x13880;}function _e(_0x3cadf3){const _0xdd510d=_0x51ed5d;switch(_0x3cadf3){case 0x0:return _0xdd510d(0x1c6);case 0x1:return _0xdd510d(0x156);case 0x2:case 0x3:case 0x4:return _0xdd510d(0x1ac);case 0x5:return'boolean';default:return _0xdd510d(0x1a3);}}class K{constructor(){const _0x1fd155=_0x51ed5d;M(this,_0x1fd155(0x146),0x0),M(this,_0x1fd155(0x142),0x0),M(this,_0x1fd155(0x145),0x0);}}class I extends K{constructor(_0x41e77a){const _0x109ef9=_0x51ed5d;super(),M(this,_0x109ef9(0x1e2)),M(this,'dt'),M(this,_0x109ef9(0x1cd)),M(this,'needConvert'),(this['dt']=_0x41e77a['dt'],this[_0x109ef9(0x1cd)]=_0x41e77a['layout'],this[_0x109ef9(0x143)]=!!_0x41e77a['needConvert']);}['Match'](_0x1d906e){const _0x532059=_0x51ed5d;if(_0x1d906e['t']===_0x2b8021['STRING']){const _0x1250e1=re(_0x1d906e);if(!_0x1250e1)return;we(_0x1250e1,this[_0x532059(0x1cd)])?this['valid']+=Z:this[_0x532059(0x142)]++;}}[_0x51ed5d(0x1d4)](){const _0x103cf3=_0x51ed5d,_0x2b9e81=0x64-Math[_0x103cf3(0x17d)]((this[_0x103cf3(0x142)]*0xa+0x1)*0x64/(this['invalid']+this[_0x103cf3(0x146)]+0x1)),_0xfa879d={'Charset':this['dt'],'Confidence':_0x2b9e81,'debugInfo':this[_0x103cf3(0x1cd)]};return this[_0x103cf3(0x143)]&&(_0xfa879d[_0x103cf3(0x171)]=this[_0x103cf3(0x1cd)]),_0xfa879d;}}class ae extends K{constructor(_0x4909b4){const _0x22dad9=_0x51ed5d;super(),M(this,_0x22dad9(0x188)),M(this,_0x22dad9(0x1e2)),M(this,'dt'),M(this,'layout'),M(this,_0x22dad9(0x143)),(this[_0x22dad9(0x188)]=_0x4909b4[_0x22dad9(0x188)]||{},this['dt']=_0x4909b4['dt'],this[_0x22dad9(0x1cd)]=_0x4909b4[_0x22dad9(0x1cd)],this[_0x22dad9(0x143)]=!!_0x4909b4[_0x22dad9(0x143)]);}[_0x51ed5d(0x1d6)](_0x370983){const _0x5a7713=_0x51ed5d;if(_0x370983['t']===_0x2b8021['NUMBER']){if(_0x370983['s']&&this[_0x5a7713(0x188)][_0x370983['s']]){this[_0x5a7713(0x146)]+=Z;return;}const _0xb400af=re(_0x370983);if(!_0xb400af)return;if(this[_0x5a7713(0x1cd)]==='excel'){const _0x516b50=Number(_0xb400af);if(Ee(_0x516b50)){this[_0x5a7713(0x146)]+=Z;return;}}we(_0xb400af,this[_0x5a7713(0x1cd)])?this[_0x5a7713(0x146)]+=Z:this[_0x5a7713(0x142)]++;}}[_0x51ed5d(0x1d4)](){const _0x5c7479=_0x51ed5d,_0x1b6a2d=0x64-Math['trunc']((this[_0x5c7479(0x142)]*0xa+0x1)*0x64/(this[_0x5c7479(0x142)]+this['valid']+0x1)),_0x33f10d={'Charset':this['dt'],'Confidence':_0x1b6a2d,'debugInfo':this[_0x5c7479(0x1cd)]};return this['needConvert']&&(_0x33f10d[_0x5c7479(0x171)]=this['layout']),_0x33f10d;}}class Ae extends K{[_0x51ed5d(0x1d6)](_0x54bea5){const _0x2d0fdd=_0x51ed5d;if(_0x54bea5['t']===_0x2b8021['NUMBER'])this['valid']+=Q;else{const _0x3db1fc=re(_0x54bea5);if(!_0x3db1fc)return;Ne(_0x3db1fc)?this[_0x2d0fdd(0x146)]+=Q:this[_0x2d0fdd(0x142)]++;}}[_0x51ed5d(0x1d4)](){const _0x2ffcb9=_0x51ed5d;return{'Charset':0x1,'Confidence':0x64-Math[_0x2ffcb9(0x17d)]((this[_0x2ffcb9(0x142)]*0xa+0x1)*0x64/(this[_0x2ffcb9(0x142)]+this[_0x2ffcb9(0x146)]+0x1)),'debugInfo':_0x2ffcb9(0x156)};}}class Oe extends K{['Match'](_0xc055bf){const _0x10d0b4=_0x51ed5d;_0xc055bf['t']===_0x2b8021[_0x10d0b4(0x1b0)]?this['valid']+=Q:this[_0x10d0b4(0x142)]++;}['Calc'](){const _0x582f9c=_0x51ed5d;return{'Charset':0x5,'Confidence':0x64-Math[_0x582f9c(0x17d)]((this[_0x582f9c(0x142)]*0xa+0x1)*0x64/(this['invalid']+this[_0x582f9c(0x146)]+0x1)),'debugInfo':_0x582f9c(0x156)};}}class Pe{constructor(_0x10ec11){const _0x968670=_0x51ed5d;M(this,_0x968670(0x16b)),M(this,_0x968670(0x188)),(this[_0x968670(0x188)]=_0x10ec11||{},this[_0x968670(0x16b)]=[new I({'dt':0x2,'layout':_0x968670(0x147)}),new I({'dt':0x2,'layout':'2006-1-2'}),new I({'dt':0x2,'layout':_0x968670(0x178)}),new I({'dt':0x2,'layout':_0x968670(0x13f)}),new I({'dt':0x2,'layout':'2006年1月2日','needConvert':!0x0}),new I({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x1da),'needConvert':!0x0}),new I({'dt':0x2,'layout':'02.01.2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x190),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x1dc),'needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20January,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x1c2),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x1b4),'needConvert':!0x0}),new I({'dt':0x2,'layout':'January\x202,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x196),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x16d),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x968670(0x1bb),'needConvert':!0x0}),new ae({'dateStyles':this['dateStyles'],'dt':0x2,'layout':_0x968670(0x1bb),'needConvert':!0x0}),new I({'dt':0x4,'layout':_0x968670(0x15c)}),new I({'dt':0x4,'layout':_0x968670(0x1d3)}),new ae({'dateStyles':this[_0x968670(0x188)],'dt':0x3,'layout':_0x968670(0x1b6),'needConvert':!0x0}),new Ae(),new Oe()]);}[_0x51ed5d(0x1d6)](_0xb8f65f){const _0x11975d=_0x51ed5d;for(const _0xa06cc8 of this['recognizers'])_0xa06cc8[_0x11975d(0x1d6)](_0xb8f65f);}[_0x51ed5d(0x14a)](){const _0x3dc8f2=_0x51ed5d,_0x2c81d2=this[_0x3dc8f2(0x16b)][_0x3dc8f2(0x1cb)](_0x3e98af=>_0x3e98af['Calc']());if(_0x2c81d2[_0x3dc8f2(0x1d1)]((_0x580dce,_0x30f655)=>_0x30f655['Confidence']-_0x580dce[_0x3dc8f2(0x1ae)]),_0x2c81d2['length']===0x0||_0x2c81d2[0x0][_0x3dc8f2(0x1ae)]<0x32)return['string',null];const _0xe8e2c4=_0x2c81d2[0x0];return[_e(_0xe8e2c4[_0x3dc8f2(0x1c0)]),_0xe8e2c4];}}function se(_0x522936,_0xce1a7b){const _0xf8fffa=_0x51ed5d;let _0x57da39=_0x522936,_0x3a1345=_0xce1a7b;_0x57da39<=0x0&&(_0x57da39=0x6),_0x3a1345<=0x0&&(_0x3a1345=0xa),_0x3a1345=_0x3a1345*0x2;const _0x4ed33f=[];for(let _0x1ab79a=0x0;_0x1ab79a<_0x3a1345;_0x1ab79a++)_0x4ed33f[_0xf8fffa(0x1b1)](_0x34474b(_0x57da39));const _0x37335a=new Map();for(const _0x402697 of _0x4ed33f){const _0x125d5f=_0x402697[_0xf8fffa(0x16e)]();_0x37335a['has'](_0x125d5f)||_0x37335a[_0xf8fffa(0x1be)](_0x125d5f,_0x402697);}return Array['from'](_0x37335a['values']());}var ee=(_0x5b1714=>(_0x5b1714[_0x51ed5d(0x1a6)]=_0x51ed5d(0x163),_0x5b1714['All']=_0x51ed5d(0x1a4),_0x5b1714[_0x51ed5d(0x19d)]=_0x51ed5d(0x17e),_0x5b1714))(ee||{});class q{constructor(_0x1de073){const _0x47bcdf=_0x51ed5d;M(this,'id'),M(this,'sheetId'),M(this,_0x47bcdf(0x1e3)),M(this,'name'),M(this,_0x47bcdf(0x141)),M(this,_0x47bcdf(0x19c)),M(this,_0x47bcdf(0x1a1)),M(this,'startStatisticRowCount'),M(this,_0x47bcdf(0x149)),M(this,_0x47bcdf(0x1d7)),M(this,_0x47bcdf(0x14d)),M(this,_0x47bcdf(0x176)),M(this,_0x47bcdf(0x19a)),M(this,_0x47bcdf(0x1bc)),M(this,_0x47bcdf(0x1b7)),M(this,_0x47bcdf(0x184)),M(this,_0x47bcdf(0x158)),M(this,_0x47bcdf(0x1d9)),M(this,'columns');var _0x29c826,_0x45611c,_0x240aa8,_0x1e4289,_0x1a7e4e,_0x41bd17,_0x4af768,_0x58df65,_0x2ffe26,_0x11f4b7,_0x1c7f5c,_0x2217d9,_0x4f01a6,_0x4b1ecc,_0x5a08c6,_0x482aaa,_0x2637d2,_0x193813,_0x578ba8;this['id']=(_0x29c826=_0x1de073==null?void 0x0:_0x1de073['id'])!=null?_0x29c826:'',this[_0x47bcdf(0x1b2)]=(_0x45611c=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x1b2)])!=null?_0x45611c:_0x34474b(),this[_0x47bcdf(0x1e3)]=(_0x240aa8=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x1e3)])!=null?_0x240aa8:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this['name']=(_0x1e4289=_0x1de073==null?void 0x0:_0x1de073['name'])!=null?_0x1e4289:'',this['description']=(_0x1a7e4e=_0x1de073==null?void 0x0:_0x1de073['description'])!=null?_0x1a7e4e:'',this[_0x47bcdf(0x19c)]=(_0x41bd17=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x19c)])!=null?_0x41bd17:0x0,this[_0x47bcdf(0x1a1)]=(_0x4af768=_0x1de073==null?void 0x0:_0x1de073['mergeRowTitleCount'])!=null?_0x4af768:0x0,this[_0x47bcdf(0x169)]=(_0x58df65=_0x1de073==null?void 0x0:_0x1de073['startStatisticRowCount'])!=null?_0x58df65:0x0,this[_0x47bcdf(0x149)]=(_0x2ffe26=_0x1de073==null?void 0x0:_0x1de073['endStatisticRowCount'])!=null?_0x2ffe26:0x0,this[_0x47bcdf(0x1d7)]=(_0x11f4b7=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x1d7)])!=null?_0x11f4b7:new Map(),this['rowMergeTitleState']=(_0x1c7f5c=_0x1de073==null?void 0x0:_0x1de073['rowMergeTitleState'])!=null?_0x1c7f5c:!0x1,this[_0x47bcdf(0x176)]=(_0x2217d9=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x176)])!=null?_0x2217d9:!0x1,this['columnMergeTitleCountMap']=(_0x4f01a6=_0x1de073==null?void 0x0:_0x1de073['columnMergeTitleCountMap'])!=null?_0x4f01a6:new Map(),this['isMatchEnd']=(_0x4b1ecc=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x1bc)])!=null?_0x4b1ecc:!0x1,this[_0x47bcdf(0x1b7)]=(_0x5a08c6=_0x1de073==null?void 0x0:_0x1de073['isMatchContinue'])!=null?_0x5a08c6:!0x1,this[_0x47bcdf(0x184)]=(_0x482aaa=_0x1de073==null?void 0x0:_0x1de073['isTimeSeries'])!=null?_0x482aaa:!0x1,this[_0x47bcdf(0x158)]=(_0x2637d2=_0x1de073==null?void 0x0:_0x1de073['isTestTable'])!=null?_0x2637d2:!0x1,this['isUpdateTable']=(_0x193813=_0x1de073==null?void 0x0:_0x1de073['isUpdateTable'])!=null?_0x193813:!0x1,this[_0x47bcdf(0x173)]=(_0x578ba8=_0x1de073==null?void 0x0:_0x1de073[_0x47bcdf(0x173)])!=null?_0x578ba8:[];}[_0x51ed5d(0x187)](_0x1a6b55,_0x4bde50){return _0x4bde50-_0x1a6b55===0x1||_0x4bde50===_0x1a6b55;}[_0x51ed5d(0x18e)](_0x410bba){const _0x3c7307=_0x51ed5d,_0x4da421=[];for(const _0x2c30bf of _0x410bba)this['range']['endColumn']<_0x2c30bf[_0x3c7307(0x1e3)]['startColumn']||this[_0x3c7307(0x1e3)][_0x3c7307(0x1de)]>_0x2c30bf[_0x3c7307(0x1e3)][_0x3c7307(0x1a0)]||this[_0x3c7307(0x187)](_0x2c30bf[_0x3c7307(0x1e3)][_0x3c7307(0x148)],this[_0x3c7307(0x1e3)][_0x3c7307(0x166)])&&_0x4da421['push'](_0x2c30bf);return _0x4da421;}[_0x51ed5d(0x1c1)](_0x1f16e8){const _0x2d259c=_0x51ed5d;return _0x1f16e8[_0x2d259c(0x1e3)][_0x2d259c(0x148)]===this[_0x2d259c(0x1e3)][_0x2d259c(0x166)]&&this[_0x2d259c(0x1e3)][_0x2d259c(0x1a0)]+0x1===_0x1f16e8[_0x2d259c(0x1e3)]['startColumn'];}['saveTableToCache'](_0x34da22){const _0x3a66e6=_0x51ed5d;return this[_0x3a66e6(0x1e3)][_0x3a66e6(0x1de)]===-0x1?this:(_0x34da22[_0x3a66e6(0x1b1)](this),new q({'sheetId':this[_0x3a66e6(0x1b2)],'range':{'startRow':this['range'][_0x3a66e6(0x166)],'endRow':this[_0x3a66e6(0x1e3)]['endRow'],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x3af3e0,_0x190d4a,_0x3d4997,_0x2272e2){const _0x43259b=_0x51ed5d;this[_0x43259b(0x1e3)][_0x43259b(0x1de)]===-0x1&&(this['range'][_0x43259b(0x1de)]=_0x190d4a),this['range'][_0x43259b(0x1a0)]=_0x190d4a,_0x2272e2!=null&&(this[_0x43259b(0x1e3)][_0x43259b(0x1a0)]=Math[_0x43259b(0x15a)](_0x2272e2,this[_0x43259b(0x1e3)][_0x43259b(0x1a0)]));}[_0x51ed5d(0x155)](){const _0x9adba0=_0x51ed5d;this['rowMergeTitleCountMap'][_0x9adba0(0x179)](),this[_0x9adba0(0x19a)][_0x9adba0(0x179)](),this[_0x9adba0(0x173)]=[];}}function te(_0x24ecb1,_0x4b505b){const {startRow:_0x34c89b,startColumn:_0x207dcf,endRow:_0x364d29,endColumn:_0x46758f}=_0x4b505b;return _0x24ecb1+':'+_0x34c89b+','+_0x207dcf+'-'+_0x364d29+','+_0x46758f;}function Ue(_0x4a69c1,_0x4a3853){const _0x37048a=_0x51ed5d;var _0x30fd7d;const _0x5b3c63=new _0x4c3050(!0x1),_0x596b06=_0x4a3853[_0x37048a(0x1a9)](),_0x5abf2d=new Map(),_0x5db28f=(_0x30fd7d=_0x4a3853[_0x37048a(0x195)]())!=null?_0x30fd7d:[];for(const _0xea9752 of _0x5db28f){const _0x185f19=te(_0x37048a(0x16a),_0xea9752),_0x72d787={'unitId':_0x4a69c1,'sheetId':_0x596b06,'range':_0xea9752,'id':_0x185f19};_0x5b3c63[_0x37048a(0x193)](_0x72d787),_0x5abf2d[_0x37048a(0x1be)](_0x185f19,_0x72d787);}return{'mergeRTree':_0x5b3c63,'mergeRangeMap':_0x5abf2d};}function ke(_0x4a70be,_0x4980e4,_0x1613dc){const _0x49ad92=_0x51ed5d,_0xf67414=new _0x4c3050(!0x1),_0xfc9fa4=_0x1613dc['get'](_0x4fe507),_0x630667=_0x1613dc[_0x49ad92(0x177)](_0x1a5608),_0x3e4b5f=_0xfc9fa4[_0x49ad92(0x183)](_0x4a70be,_0x4980e4);if(_0x3e4b5f&&_0x3e4b5f[_0x49ad92(0x13e)]()){const _0x411c8f=_0x3e4b5f[_0x49ad92(0x13e)](),_0x152794={'unitId':_0x4a70be,'sheetId':_0x4980e4,'range':_0x411c8f,'id':te(_0x49ad92(0x19b),_0x411c8f)};_0xf67414[_0x49ad92(0x193)](_0x152794);}const _0x3a2230=_0x630667[_0x49ad92(0x191)](_0x4a70be);if(_0x3a2230&&Array['isArray'](_0x3a2230))for(const _0x55f37c of _0x3a2230){if(!(_0x55f37c!=null&&_0x55f37c[_0x49ad92(0x1e3)]))continue;const _0x2c4aa8=_0x55f37c['range'],_0x1ed7dc={'unitId':_0x4a70be,'sheetId':_0x4980e4,'range':_0x2c4aa8,'id':te('table',_0x2c4aa8)};_0xf67414[_0x49ad92(0x193)](_0x1ed7dc);}return _0xf67414;}function De(_0xcceaaa,_0x54232b){const _0x125af8=_0x51ed5d;var _0x449352,_0x2b628b,_0x1e3dc1;const _0xd2f8d9=_0xcceaaa['getSheets'](),_0x81da3f={},_0x2d0dfb=_0xcceaaa[_0x125af8(0x194)]();for(const _0x419200 of _0xd2f8d9){const _0x3fe143=_0x419200['getSheetId'](),_0x2135fa=_0x419200[_0x125af8(0x1b8)](),_0x41cfb0=_0x419200['getColumnCount'](),{mergeRTree:_0x243f91,mergeRangeMap:_0x49e548}=Ue(_0x2d0dfb,_0x419200),_0x3a7a06=ke(_0x2d0dfb,_0x3fe143,_0x54232b),_0x3f92de=[];let _0x153c96=[];for(let _0x4fe9e4=0x0;_0x4fe9e4<_0x2135fa;_0x4fe9e4++){const _0x32d2dc=[];let _0x3b3354=new q({'sheetId':_0x3fe143,'range':{'startRow':_0x4fe9e4,'endRow':_0x4fe9e4,'startColumn':-0x1,'endColumn':-0x1}});const _0x276b05=new Map();for(let _0x502c28=0x0;_0x502c28<=_0x41cfb0;_0x502c28++){const _0x215d86=_0x419200[_0x125af8(0x159)](_0x4fe9e4,_0x502c28),_0x4c776f={'range':{'startRow':_0x4fe9e4,'startColumn':_0x502c28,'endRow':_0x4fe9e4,'endColumn':_0x502c28},'unitId':_0x2d0dfb,'sheetId':_0x3fe143};if(_0x3a7a06['bulkSearch']([_0x4c776f])[_0x125af8(0x1c5)]>0x0){_0x3b3354=_0x3b3354[_0x125af8(0x1ce)](_0x32d2dc);continue;}const _0x254228=_0x243f91[_0x125af8(0x175)]([_0x4c776f]);if(_0x254228['size']>0x0){const _0xfbe1f4=_0x3b3354[_0x125af8(0x18e)](_0x153c96),_0x5a914b=_0x254228[_0x125af8(0x1c4)]()['next']()[_0x125af8(0x1c9)],_0x21b8ff=_0x49e548[_0x125af8(0x177)](_0x5a914b);if(!_0x21b8ff)continue;const _0x28296e={'startRow':_0x21b8ff['range']['startRow'],'endRow':_0x21b8ff[_0x125af8(0x1e3)][_0x125af8(0x148)],'startColumn':_0x21b8ff['range'][_0x125af8(0x1de)],'endColumn':_0x21b8ff['range'][_0x125af8(0x1a0)]},_0x1463e8=_0x419200['getCell'](_0x28296e['startRow'],_0x28296e[_0x125af8(0x1de)]);if(_0x1463e8&&(_0x1463e8['p']!=null||_0x1463e8['v']!=null&&String(_0x1463e8['v'])[_0x125af8(0x182)]>0x0)){_0x3b3354[_0x125af8(0x1d5)](_0x4fe9e4,_0x502c28,_0x215d86,_0x28296e['endColumn']);for(let _0x4d3fcb=_0x28296e[_0x125af8(0x1de)];_0x4d3fcb<=_0x28296e[_0x125af8(0x1a0)];_0x4d3fcb++)_0x276b05[_0x125af8(0x1be)](_0x4d3fcb,!0x0);}else _0x3b3354=_0x3b3354[_0x125af8(0x1ce)](_0x32d2dc);const _0x5df53d=_0x28296e[_0x125af8(0x148)]-_0x28296e[_0x125af8(0x166)],_0x1e22d2=_0x28296e['endColumn']-_0x28296e[_0x125af8(0x1de)];if(_0xfbe1f4['length']===0x1){if(_0x5df53d>0x0&&_0x3b3354[_0x125af8(0x19a)][_0x125af8(0x1be)](_0x502c28,_0x21b8ff),_0x1e22d2>0x0){const _0x4bddde=(_0x449352=_0x3b3354[_0x125af8(0x1d7)]['get'](_0x4fe9e4))!=null?_0x449352:[];_0x4bddde[_0x125af8(0x1b1)](_0x21b8ff),_0x3b3354['rowMergeTitleCountMap'][_0x125af8(0x1be)](_0x4fe9e4,_0x4bddde);}}else{if(_0x5df53d>0x0&&(_0x3b3354[_0x125af8(0x176)]=!0x0,_0x3b3354[_0x125af8(0x19a)][_0x125af8(0x1be)](_0x502c28,_0x21b8ff)),_0x1e22d2>0x0){_0x3b3354[_0x125af8(0x14d)]=!0x0;const _0xaef174=(_0x2b628b=_0x3b3354['rowMergeTitleCountMap'][_0x125af8(0x177)](_0x4fe9e4))!=null?_0x2b628b:[];_0xaef174[_0x125af8(0x1b1)](_0x21b8ff),_0x3b3354[_0x125af8(0x1d7)][_0x125af8(0x1be)](_0x4fe9e4,_0xaef174);}}continue;}if((!_0x215d86||z(_0x215d86)==null)&&!_0x276b05[_0x125af8(0x177)](_0x502c28)){_0x3b3354=_0x3b3354[_0x125af8(0x1ce)](_0x32d2dc);continue;}_0x215d86&&z(_0x215d86)!=null?_0x3b3354[_0x125af8(0x1d5)](_0x4fe9e4,_0x502c28,_0x215d86):(_0x3b3354[_0x125af8(0x14d)]=!0x1,_0x3b3354['columnMergeTitleState']=!0x1,_0x3b3354=_0x3b3354[_0x125af8(0x1ce)](_0x32d2dc));}if(_0x32d2dc[_0x125af8(0x182)]===0x0){_0x3f92de[_0x125af8(0x1b1)](..._0x153c96),_0x153c96=[];continue;}if(_0x153c96[_0x125af8(0x182)]===0x0){_0x153c96['push'](..._0x32d2dc);continue;}const _0x2705fa=(_0x30916f,_0x2306f8)=>{const _0x2face6=_0x125af8;_0x30916f[_0x2face6(0x1e3)]['startRow']=Math[_0x2face6(0x16c)](_0x30916f[_0x2face6(0x1e3)]['startRow'],_0x2306f8['range'][_0x2face6(0x166)]),_0x30916f[_0x2face6(0x1e3)][_0x2face6(0x148)]=Math['max'](_0x30916f[_0x2face6(0x1e3)][_0x2face6(0x148)],_0x2306f8[_0x2face6(0x1e3)]['endRow']),_0x30916f[_0x2face6(0x1e3)][_0x2face6(0x1de)]=Math['min'](_0x30916f[_0x2face6(0x1e3)][_0x2face6(0x1de)],_0x2306f8['range'][_0x2face6(0x1de)]),_0x30916f[_0x2face6(0x1e3)][_0x2face6(0x1a0)]=Math[_0x2face6(0x15a)](_0x30916f['range'][_0x2face6(0x1a0)],_0x2306f8[_0x2face6(0x1e3)][_0x2face6(0x1a0)]),_0x2306f8[_0x2face6(0x1d7)][_0x2face6(0x186)]((_0x3f248f,_0x4bad4a)=>{const _0x35e5cb=_0x2face6;var _0x4fc9e7;const _0x1993ba=(_0x4fc9e7=_0x30916f[_0x35e5cb(0x1d7)][_0x35e5cb(0x177)](_0x4bad4a))!=null?_0x4fc9e7:[];_0x1993ba[_0x35e5cb(0x1b1)](..._0x3f248f),_0x30916f[_0x35e5cb(0x1d7)][_0x35e5cb(0x1be)](_0x4bad4a,_0x1993ba);}),_0x2306f8['columnMergeTitleCountMap'][_0x2face6(0x186)]((_0x421208,_0xa891bd)=>{const _0xbaf453=_0x2face6;_0x30916f[_0xbaf453(0x19a)][_0xbaf453(0x1be)](_0xa891bd,_0x421208);});};for(let _0x65b19a=0x0;_0x65b19a+0x1<_0x32d2dc[_0x125af8(0x182)];_0x65b19a++){const _0x12e747=_0x32d2dc[_0x65b19a],_0x232aa1=_0x32d2dc[_0x65b19a+0x1];_0x12e747[_0x125af8(0x1c1)](_0x232aa1)&&(_0x2705fa(_0x12e747,_0x232aa1),_0x32d2dc['splice'](_0x65b19a+0x1,0x1),_0x65b19a--);}const _0x5886ae=[];for(const _0x15c330 of _0x32d2dc){const _0x31c7e4=_0x15c330[_0x125af8(0x18e)](_0x153c96);if(_0x31c7e4[_0x125af8(0x182)]===0x0){_0x5886ae['push'](_0x15c330);continue;}const _0x3b9481=(_0x1e3dc1=_0x15c330[_0x125af8(0x1d7)]['get'](_0x4fe9e4))!=null?_0x1e3dc1:[];let _0x5a657a=Number['MAX_SAFE_INTEGER'],_0x316e6b=-0x1,_0x2147b0=-0x1;for(const _0x514137 of _0x3b9481){const _0x49cbc3=_0x514137[_0x125af8(0x1e3)],_0x58544a=_0x49cbc3['startColumn'],_0x23ef3a=_0x49cbc3[_0x125af8(0x1a0)];_0x5a657a=Math['min'](_0x5a657a,_0x58544a),_0x316e6b=Math[_0x125af8(0x15a)](_0x316e6b,_0x23ef3a);}_0x316e6b===-0x1&&(_0x2147b0=_0x316e6b-_0x5a657a+0x1);const _0x5afd6d=_0x31c7e4[0x0][_0x125af8(0x1e3)],_0x1742e1=_0x5afd6d['endColumn']-_0x5afd6d[_0x125af8(0x1de)]+0x1;if(_0x2147b0>=0x0&&_0x2147b0<=_0x1742e1*0x3/0x4){_0x5886ae[_0x125af8(0x1b1)](_0x15c330);continue;}const _0x1319af=_0x31c7e4[0x0];for(const _0x3df18f of _0x31c7e4[_0x125af8(0x1bf)](0x1))_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x166)]=Math[_0x125af8(0x16c)](_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x166)],_0x3df18f[_0x125af8(0x1e3)][_0x125af8(0x166)]),_0x1319af[_0x125af8(0x1e3)]['endRow']=Math[_0x125af8(0x15a)](_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x148)],_0x3df18f[_0x125af8(0x1e3)][_0x125af8(0x148)]),_0x1319af[_0x125af8(0x1e3)]['startColumn']=Math['min'](_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x1de)],_0x3df18f[_0x125af8(0x1e3)][_0x125af8(0x1de)]),_0x1319af[_0x125af8(0x1e3)]['endColumn']=Math[_0x125af8(0x15a)](_0x1319af['range'][_0x125af8(0x1a0)],_0x3df18f[_0x125af8(0x1e3)][_0x125af8(0x1a0)]);_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x166)]=Math[_0x125af8(0x16c)](_0x1319af['range'][_0x125af8(0x166)],_0x15c330['range']['startRow']),_0x1319af['range']['endRow']=Math[_0x125af8(0x15a)](_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x148)],_0x15c330['range'][_0x125af8(0x148)]),_0x1319af['range'][_0x125af8(0x1de)]=Math[_0x125af8(0x16c)](_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x1de)],_0x15c330[_0x125af8(0x1e3)]['startColumn']),_0x1319af[_0x125af8(0x1e3)][_0x125af8(0x1a0)]=Math[_0x125af8(0x15a)](_0x1319af['range'][_0x125af8(0x1a0)],_0x15c330[_0x125af8(0x1e3)][_0x125af8(0x1a0)]),_0x15c330[_0x125af8(0x1d7)][_0x125af8(0x186)]((_0x56d73b,_0x396c0b)=>{const _0x14871f=_0x125af8;var _0x2562bd;const _0x54964f=(_0x2562bd=_0x1319af[_0x14871f(0x1d7)][_0x14871f(0x177)](_0x396c0b))!=null?_0x2562bd:[];_0x54964f['push'](..._0x56d73b),_0x1319af[_0x14871f(0x1d7)]['set'](_0x396c0b,_0x54964f);}),_0x15c330['columnMergeTitleCountMap'][_0x125af8(0x186)]((_0x534b61,_0x547838)=>{const _0x4ec6b8=_0x125af8;_0x1319af[_0x4ec6b8(0x19a)][_0x4ec6b8(0x1be)](_0x547838,_0x534b61);}),_0x1319af[_0x125af8(0x1b7)]=!0x0;}const _0x44e1ac=[];for(const _0x123916 of _0x153c96)!_0x123916['isMatchContinue']&&_0x123916[_0x125af8(0x1bc)]||(_0x44e1ac['push'](_0x123916),_0x123916[_0x125af8(0x1b7)]=!0x1,_0x123916[_0x125af8(0x1bc)]=!0x1);_0x44e1ac[_0x125af8(0x1b1)](..._0x5886ae),_0x153c96=_0x44e1ac;}_0x3f92de[_0x125af8(0x1b1)](..._0x153c96);let _0x14c9d2=0x0;for(const _0x273bc5 of _0x3f92de){const _0x232d83=_0x273bc5[_0x125af8(0x1e3)][_0x125af8(0x148)]-_0x273bc5[_0x125af8(0x1e3)][_0x125af8(0x166)]+0x1;_0x273bc5[_0x125af8(0x1e3)][_0x125af8(0x1a0)]-_0x273bc5[_0x125af8(0x1e3)][_0x125af8(0x1de)]+0x1>0x0&&_0x232d83>0x1&&_0x14c9d2++;}if(_0x14c9d2===0x0)continue;const _0x170d74=[],_0x556137=se(0x6,_0x3f92de[_0x125af8(0x182)]);let _0x594197=0x0;for(const _0x8c540e of _0x3f92de){const _0x6564bb=_0x8c540e['range'][_0x125af8(0x148)]-_0x8c540e[_0x125af8(0x1e3)][_0x125af8(0x166)]+0x1,_0x123e22=_0x8c540e[_0x125af8(0x1e3)][_0x125af8(0x1a0)]-_0x8c540e[_0x125af8(0x1e3)][_0x125af8(0x1de)]+0x1;let _0x21ac4e=!0x1;for(const _0xd260e7 of _0x419200[_0x125af8(0x195)]())if(Je(_0x8c540e[_0x125af8(0x1e3)],_0xd260e7)){_0x21ac4e=!0x0;break;}if(_0x21ac4e)continue;let _0x1e5904=!0x0;for(const _0x12ae1 of _0x3f92de)if(_0x12ae1!==_0x8c540e&&Fe(_0x8c540e,_0x12ae1)){_0x1e5904=!0x1;break;}_0x1e5904&&(_0x123e22<=0x0||_0x6564bb<=0x1||(_0x8c540e['id']=_0x556137[_0x594197++],_0x170d74['push'](_0x8c540e)));}_0x81da3f[_0x3fe143]=_0x170d74;}return _0x81da3f;}function Le(_0x30ca4c){const _0x385713=_0x51ed5d,_0x37fb4d=new Set();for(const [_0x565533,_0x19498b]of Object['entries'](_0x30ca4c))for(const _0xf68bd6 of _0x19498b){const {sheetId:_0x2552dd,range:_0x3f9060}=_0xf68bd6,_0x3e03de=_0x2552dd+':'+_0x3f9060[_0x385713(0x166)]+','+_0x3f9060[_0x385713(0x148)]+','+_0x3f9060[_0x385713(0x1de)]+','+_0x3f9060[_0x385713(0x1a0)];_0x37fb4d['add'](_0x3e03de);}return _0x37fb4d;}function _0x1857(_0x3688ce,_0x36d7f1){const _0x43cff2=_0x43cf();return _0x1857=function(_0x1857e2,_0x33093b){_0x1857e2=_0x1857e2-0x13e;let _0x45df7f=_0x43cff2[_0x1857e2];return _0x45df7f;},_0x1857(_0x3688ce,_0x36d7f1);}function Be(_0x2bcfac,_0x455337,_0x4cbaf0){const _0xcbe13a=De(_0x2bcfac,_0x455337);je(_0xcbe13a,_0x2bcfac,_0x455337),Ve(_0xcbe13a,_0x2bcfac,_0x455337);const _0x2d142e=qe(_0xcbe13a,_0x2bcfac);return Xe(_0x2d142e,_0x2bcfac,_0x455337,_0x4cbaf0);}function Je(_0xf73c3a,_0x2376d4){const _0x13b549=_0x51ed5d;return _0xf73c3a['startRow']===_0x2376d4[_0x13b549(0x166)]&&_0xf73c3a[_0x13b549(0x148)]===_0x2376d4[_0x13b549(0x148)]&&_0xf73c3a[_0x13b549(0x1de)]===_0x2376d4[_0x13b549(0x1de)]&&_0xf73c3a[_0x13b549(0x1a0)]===_0x2376d4[_0x13b549(0x1a0)];}function Fe(_0x141bf2,_0x3af582){const _0x5eda11=_0x51ed5d;return _0x141bf2[_0x5eda11(0x1e3)]['startRow']>=_0x3af582[_0x5eda11(0x1e3)][_0x5eda11(0x166)]&&_0x141bf2[_0x5eda11(0x1e3)][_0x5eda11(0x148)]<=_0x3af582[_0x5eda11(0x1e3)][_0x5eda11(0x148)]&&_0x141bf2[_0x5eda11(0x1e3)][_0x5eda11(0x1de)]>=_0x3af582[_0x5eda11(0x1e3)][_0x5eda11(0x1de)]&&_0x141bf2['range']['endColumn']<=_0x3af582[_0x5eda11(0x1e3)]['endColumn'];}function ze(_0x25c2ef){const _0x50f7fb=_0x51ed5d;return''+ne(_0x25c2ef['startColumn'])+(_0x25c2ef[_0x50f7fb(0x166)]+0x1)+':'+ne(_0x25c2ef['endColumn'])+(_0x25c2ef['endRow']+0x1);}function Me(_0x5474d5){const _0x1d5243=_0x51ed5d;if(_0x5474d5!==null){if(_0x5474d5!=null&&_0x5474d5['p']){const _0x2e22b5=_0x5474d5==null?void 0x0:_0x5474d5['p'][_0x1d5243(0x14f)];if(_0x2e22b5==null)return;const _0x60b169=_0x2e22b5[_0x1d5243(0x1d2)];return _0x368644['transform'][_0x1d5243(0x1a8)](_0x60b169);}if(_0x5474d5!=null&&_0x5474d5['v'])return _0x5474d5['v'];}}function z(_0xc32778){if(Me(_0xc32778)!=null)return String(_0xc32778['v']);}function Ge(_0x415671,_0x2aa4ef,_0x4dcead,_0x4acecc){const _0x2ad3d3=_0x51ed5d,_0x10ce01=_0x4dcead['getCell'](_0x415671,_0x2aa4ef);if(_0x10ce01!=null){for(const _0x53ed0b of _0x4acecc)if(_0x415671>=_0x53ed0b[_0x2ad3d3(0x166)]&&_0x415671<=_0x53ed0b[_0x2ad3d3(0x148)]&&_0x2aa4ef>=_0x53ed0b['startColumn']&&_0x2aa4ef<=_0x53ed0b[_0x2ad3d3(0x1a0)]){const _0x3590e0=_0x4dcead[_0x2ad3d3(0x159)](_0x53ed0b[_0x2ad3d3(0x166)],_0x53ed0b[_0x2ad3d3(0x1de)]);return _0x3590e0==null?void 0x0:z(_0x3590e0);}return z(_0x10ce01);}}function Ve(_0x1685a8,_0x3b97b7,_0x7b8e2e){const _0x96a762=_0x51ed5d,_0x3ba31b=_0x3b97b7[_0x96a762(0x1a7)](),_0x54b4e9=se(0x6,_0x3ba31b['length']);let _0x225345=0x0;const _0x4e9309=_0x3b97b7[_0x96a762(0x194)](),_0x583a9c=_0x7b8e2e[_0x96a762(0x177)](_0x4fe507),_0x4355b4=Le(_0x1685a8);for(const _0x2303e8 of _0x3ba31b){const _0x3d234c=_0x2303e8[_0x96a762(0x1a9)](),_0x3ae57b=_0x583a9c[_0x96a762(0x183)](_0x4e9309,_0x3d234c);if(!_0x3ae57b)continue;const _0x3652d6=_0x3ae57b[_0x96a762(0x13e)](),{startRow:_0x3bd836,endRow:_0xcfe19f,startColumn:_0x5170a3,endColumn:_0x13284d}=_0x3652d6;if(_0x13284d-_0x5170a3>=0x3e8)continue;const _0x4d8972=_0x3d234c+':'+_0x3bd836+','+_0xcfe19f+','+_0x5170a3+','+_0x13284d;if(_0x4355b4[_0x96a762(0x1c7)](_0x4d8972))continue;const _0x12747d=new q({'id':_0x54b4e9[_0x225345++],'sheetId':_0x3d234c,'range':{'startRow':_0x3bd836,'endRow':_0xcfe19f,'startColumn':_0x5170a3,'endColumn':_0x13284d},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x1});_0x1685a8[_0x3d234c]||(_0x1685a8[_0x3d234c]=[]),_0x1685a8[_0x3d234c]['push'](_0x12747d);}}function je(_0x5695b5,_0x417589,_0x8e613d){const _0x2c2e4d=_0x51ed5d,_0x144e66=_0x417589[_0x2c2e4d(0x1a7)](),_0x231268=_0x8e613d[_0x2c2e4d(0x177)](_0x1a5608),_0x3d8c58=_0x417589[_0x2c2e4d(0x194)]();for(const _0x59971e of _0x144e66){const _0x46ef76=_0x59971e[_0x2c2e4d(0x1a9)](),_0x4277b9=_0x231268[_0x2c2e4d(0x17c)](_0x3d8c58,_0x46ef76);if(!_0x4277b9)continue;const _0x285fb4=_0x4277b9['map'](_0x34c988=>_0x34c988[_0x2c2e4d(0x15e)]());for(const _0x49f876 of _0x285fb4){const {startRow:_0x54c98b,endRow:_0x409007,startColumn:_0x274912,endColumn:_0x31c2e4}=_0x49f876['range'],_0x2c4941=new q({'id':_0x49f876['id'],'sheetId':_0x46ef76,'range':{'startRow':_0x54c98b,'endRow':_0x409007,'startColumn':_0x274912,'endColumn':_0x31c2e4},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x5695b5[_0x46ef76]||(_0x5695b5[_0x46ef76]=[]),_0x5695b5[_0x46ef76][_0x2c2e4d(0x1b1)](_0x2c4941);}}}function qe(_0x3f699f,_0xfa8819){const _0x81bcc5=_0x51ed5d;var _0x3aff9e,_0x98a4b9,_0x86e07e,_0xf1079d;for(const [_0x5f45cd,_0x351645]of Object[_0x81bcc5(0x1b9)](_0x3f699f)){const _0x52fa30=_0x351645;let _0x589717=!0x1;const _0x264317=_0xfa8819['getSheetBySheetId'](_0x5f45cd);if(_0x264317){for(let _0x201df8=0x0;_0x201df8<_0x52fa30[_0x81bcc5(0x182)];_0x201df8++){const _0x1d302c=_0x52fa30[_0x201df8],_0x486c17=_0x1d302c['range'],{startRow:_0x5d3c8e,endRow:_0x38122e,startColumn:_0x5c5bc7,endColumn:_0x11da7d}=_0x486c17,_0x138879=Ze(_0x1d302c,_0x264317),_0x5901b1=We(_0x5d3c8e,_0x38122e,_0x1d302c);let _0x5bfeb5=0x1;const _0x3b9349=_0x5d3c8e+_0x5901b1;let _0x40aed0=0x0,_0x31051b=0x0;for(let _0xa7ec02=_0x5c5bc7;_0xa7ec02<=_0x11da7d;_0xa7ec02++){const _0x469adc=_0x264317[_0x81bcc5(0x159)](_0x3b9349,_0xa7ec02);if(!_0x469adc)continue;const _0x37adc1=z(_0x469adc);_0x37adc1!=null&&(_0x37adc1!==''&&_0x31051b++,ue(_0x37adc1)&&_0x40aed0++);}if(_0x31051b>0x0&&_0x40aed0/Math[_0x81bcc5(0x15a)](_0x31051b,0x1)>0.03&&(_0x5bfeb5=0x0),_0x1d302c[_0x81bcc5(0x1a1)]=_0x5901b1,_0x1d302c[_0x81bcc5(0x19c)]=_0x5bfeb5+_0x5901b1,_0x1d302c[_0x81bcc5(0x1e3)][_0x81bcc5(0x148)]-_0x1d302c[_0x81bcc5(0x1e3)]['startRow']+0x1-_0x1d302c['rowTitleCount']<=0x1){console[_0x81bcc5(0x167)]('skip\x20small\x20table,\x20idx:'+_0x201df8+_0x81bcc5(0x161)+ze(_0x1d302c['range'])),_0x52fa30[_0x81bcc5(0x15f)](_0x201df8,0x1),_0x201df8--,_0x589717=!0x0;continue;}const _0x40c75e=new Map();let _0x4faba2=0x0;const _0x3ce796=se(0x4,_0x11da7d-_0x5c5bc7+0x1);for(let _0x4eb395=_0x5c5bc7;_0x4eb395<=_0x11da7d;_0x4eb395++){let _0x47906e='';const _0x313290=new Set();let _0x2ef995=!0x1;const _0x29f550=_0x5d3c8e+_0x1d302c[_0x81bcc5(0x19c)]-0x1;let _0x1f9d2d=_0x5d3c8e;_0x138879!==''&&(_0x1f9d2d=_0x5d3c8e+0x1);for(let _0x37eff9=_0x1f9d2d;_0x37eff9<=_0x29f550;_0x37eff9++){const _0xabda0f=Ge(_0x37eff9,_0x4eb395,_0x264317,(_0x98a4b9=(_0x3aff9e=_0xfa8819[_0x81bcc5(0x16f)](_0x1d302c[_0x81bcc5(0x1b2)]))==null?void 0x0:_0x3aff9e[_0x81bcc5(0x195)]())!=null?_0x98a4b9:[]);_0xabda0f!=null&&(_0x37eff9===_0x29f550&&(_0x47906e=_0xabda0f),_0x313290[_0x81bcc5(0x1ba)](_0xabda0f));}const _0x293704=[..._0x313290][_0x81bcc5(0x1ab)](','),_0x34ccdf=_0x293704;_0x40c75e['has'](_0x34ccdf)?_0x2ef995=!0x0:_0x40c75e[_0x81bcc5(0x1be)](_0x34ccdf,!0x0);const _0x59d2f5=_0x29f550+0x1;let _0x465f6c=_0x29f550+0x14,_0x59b64d=0x0,_0x4347eb=!0x1,_0x2265ce=!0x1;if(_0x465f6c>_0x38122e&&(_0x465f6c=_0x38122e),_0x59d2f5<_0x38122e){let _0x1822bc='';for(let _0x41b718=_0x59d2f5;_0x41b718<=_0x465f6c;_0x41b718++){const _0x2fbbf6=_0x264317['getCell'](_0x41b718,_0x4eb395);if(!_0x2fbbf6)continue;const _0x10af47=z(_0x2fbbf6);_0x10af47!=null&&(ue(_0x10af47)||(_0x1822bc+=_0x10af47),et(_0x10af47)&&_0x59b64d++);}_0x59b64d>Math[_0x81bcc5(0x181)]((_0x465f6c-_0x59d2f5+0x1)/0x2)&&(_0x2265ce=!0x0),tt(_0x1822bc)/Math[_0x81bcc5(0x15a)](_0x465f6c-_0x59d2f5+0x1,0x1)>0xf&&!_0x2265ce&&(_0x4347eb=!0x0);}_0x1d302c[_0x81bcc5(0x173)][_0x81bcc5(0x1b1)]({'id':_0x3ce796[_0x4faba2++],'Name':_0x47906e,'Type':'','Description':_0x293704,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x4347eb,'isLink':_0x2265ce,'isTitleRepeat':_0x2ef995,'isUnique':!0x1,'links':[]});}He(_0x1d302c,_0xfa8819);}_0x589717&&(_0x3f699f[_0x5f45cd]=_0x52fa30),_0x52fa30['length']===0x0&&delete _0x3f699f[_0x5f45cd],(_0xf1079d=(_0x86e07e=_0x3f699f[_0x5f45cd])==null?void 0x0:_0x86e07e['length'])!=null;}}return _0x3f699f;}function We(_0x4d67a9,_0x1c497b,_0xc7a033){const _0x5eb6ba=_0x51ed5d;var _0x4bf94d;function _0x2b09d2(_0x3b2643){const _0x56d2b6=_0x1857;if(_0x3b2643['length']===0x0)return 0x0;_0x3b2643['sort']((_0x1b0248,_0x3eb446)=>_0x1b0248[0x0]-_0x3eb446[0x0]);let _0x33cf45=0x0,_0x59fc89=_0x3b2643[0x0][0x0],_0x368e47=_0x3b2643[0x0][0x1];for(let _0x13842d=0x1;_0x13842d<_0x3b2643[_0x56d2b6(0x182)];_0x13842d++){const [_0x196076,_0x2812de]=_0x3b2643[_0x13842d];_0x196076<=_0x368e47+0x1?_0x368e47=Math['max'](_0x368e47,_0x2812de):(_0x33cf45+=_0x368e47-_0x59fc89+0x1,_0x59fc89=_0x196076,_0x368e47=_0x2812de);}return _0x33cf45+=_0x368e47-_0x59fc89+0x1,_0x33cf45;}const _0x1fd096=_0xc7a033['range'][_0x5eb6ba(0x1de)],_0x24d90d=_0xc7a033[_0x5eb6ba(0x1e3)][_0x5eb6ba(0x1a0)],_0x46f9dd=_0x24d90d-_0x1fd096+0x1;let _0x4b4d15=_0x4d67a9-0x1,_0xa1e00e=_0x4d67a9-0x1,_0xbca5d=!0x1;const _0x25b5b3=0x64;for(let _0x35ff30=_0x4d67a9;_0x35ff30<=_0x1c497b&&_0x35ff30-_0x4d67a9<_0x25b5b3;_0x35ff30++){const _0x4cf1d7=[],_0x314303=(_0x4bf94d=_0xc7a033['rowMergeTitleCountMap'][_0x5eb6ba(0x177)](_0x35ff30))!=null?_0x4bf94d:[];for(const _0x5cbe06 of _0x314303){const _0x26a759=_0x5cbe06['range'][_0x5eb6ba(0x1de)],_0x5ccc0f=_0x5cbe06[_0x5eb6ba(0x1e3)][_0x5eb6ba(0x1a0)],_0x34c0ed=Math[_0x5eb6ba(0x15a)](_0x26a759,_0x1fd096),_0x547866=Math[_0x5eb6ba(0x16c)](_0x5ccc0f,_0x24d90d);_0x34c0ed<=_0x547866&&_0x4cf1d7[_0x5eb6ba(0x1b1)]([_0x34c0ed,_0x547866]);}_0xc7a033[_0x5eb6ba(0x19a)][_0x5eb6ba(0x186)](_0x222c04=>{const _0x20deda=_0x5eb6ba,_0x3285da=_0x222c04[_0x20deda(0x1e3)]['startRow'],_0x38d78f=_0x222c04[_0x20deda(0x1e3)]['endRow'];if(_0x3285da<=_0x35ff30&&_0x35ff30<=_0x38d78f){const _0x2e8c66=_0x222c04[_0x20deda(0x1e3)][_0x20deda(0x1de)],_0x144737=_0x222c04[_0x20deda(0x1e3)][_0x20deda(0x1a0)],_0x3b3234=Math[_0x20deda(0x15a)](_0x2e8c66,_0x1fd096),_0x5b4a69=Math['min'](_0x144737,_0x24d90d);_0x3b3234<=_0x5b4a69&&_0x4cf1d7['push']([_0x3b3234,_0x5b4a69]);}});const _0x5af9d7=_0x2b09d2(_0x4cf1d7),_0x2e3e2d=_0x5af9d7/Math['max'](_0x46f9dd,0x1);_0x4cf1d7['length']>0x0&&(_0x4b4d15=_0x35ff30),_0x5af9d7>0x0&&_0x2e3e2d>=0.75&&!_0xbca5d?_0xa1e00e=_0x35ff30:_0x4cf1d7[_0x5eb6ba(0x182)]>0x0&&(_0xbca5d=!0x0);}return _0x4b4d15===_0x1c497b||_0x4b4d15-_0x4d67a9===_0x25b5b3?_0xa1e00e-_0x4d67a9+0x1:_0x4b4d15-_0x4d67a9+0x1;}function Ze(_0x17e79d,_0x4879c8){const _0x74ba61=_0x51ed5d;if(_0x17e79d[_0x74ba61(0x197)]&&_0x17e79d[_0x74ba61(0x197)]!=='')return _0x17e79d['name'];const _0x39d19e=_0x17e79d[_0x74ba61(0x1e3)]['startRow'],_0x4549b2=_0x17e79d['range'][_0x74ba61(0x1de)],_0x25d569=_0x17e79d[_0x74ba61(0x1e3)][_0x74ba61(0x1a0)],_0x2d2ace=0x3,_0x5850c8=_0x17e79d['rowMergeTitleCountMap'][_0x74ba61(0x177)](_0x39d19e);if(_0x5850c8&&_0x5850c8['length']>0x0)for(const _0x4a01e2 of _0x5850c8){const _0x28d1de=_0x4a01e2[_0x74ba61(0x1e3)],_0x3fbbe6=_0x28d1de['startColumn'],_0x3778e1=_0x28d1de[_0x74ba61(0x1a0)];if(_0x3fbbe6<=_0x4549b2+_0x2d2ace&&_0x3778e1>=_0x25d569-_0x2d2ace){const _0x2ad4fc=_0x4879c8['getCell'](_0x39d19e,_0x3fbbe6);if(!_0x2ad4fc)return'';const _0x483354=z(_0x2ad4fc);return _0x483354==null||_0x483354===''?'':(_0x17e79d[_0x74ba61(0x197)]=_0x483354,_0x483354);}}return'';}function He(_0x3ccb14,_0x2dcee4){const _0x36bf5b=_0x51ed5d,_0x2e4d1d={};_0x2dcee4['getStyles']()[_0x36bf5b(0x1a5)](_0x529098=>{const _0x3dde5b=_0x36bf5b,[_0x41c799,_0x4725a3]=_0x529098;return!_0x41c799||!_0x4725a3||_0x4725a3['n']&&typeof _0x4725a3['n'][_0x3dde5b(0x185)]==_0x3dde5b(0x1c6)&&/[YyMDd]/[_0x3dde5b(0x17b)](_0x4725a3['n'][_0x3dde5b(0x185)])&&(_0x2e4d1d[_0x41c799]=!0x0),!0x0;});const _0x4eb389=_0x3ccb14[_0x36bf5b(0x1e3)][_0x36bf5b(0x166)],_0x99fdda=_0x3ccb14[_0x36bf5b(0x1e3)][_0x36bf5b(0x148)],_0x4cb4fc=_0x3ccb14[_0x36bf5b(0x19c)],_0x158fdf=_0x3ccb14[_0x36bf5b(0x1b2)],_0x4b5d81=_0x2dcee4[_0x36bf5b(0x16f)](_0x158fdf);if(!_0x4b5d81)return;const _0x12a1a9=_0x99fdda-_0x4eb389+0x1-_0x4cb4fc;if(_0x12a1a9<=0x1){console[_0x36bf5b(0x167)](_0x36bf5b(0x1dd));return;}const _0x59e400=[];for(let _0x1dbbc8=0x0;_0x1dbbc8<_0x3ccb14[_0x36bf5b(0x1e3)][_0x36bf5b(0x1a0)]-_0x3ccb14[_0x36bf5b(0x1e3)][_0x36bf5b(0x1de)]+0x1;_0x1dbbc8++)_0x59e400[_0x36bf5b(0x1b1)](new Pe(_0x2e4d1d));const _0x4947df=Math[_0x36bf5b(0x199)](Math[_0x36bf5b(0x15a)](_0x12a1a9,0x1));for(let _0x284a44=0x0;;_0x284a44++){const _0x355e29=_0x284a44,_0x28d43d=Math['floor'](_0x355e29+0.00001*_0x355e29**2.7*_0x4947df*_0x4947df)+_0x4eb389+_0x4cb4fc;if(_0x28d43d>_0x99fdda)break;for(let _0x448117=_0x3ccb14[_0x36bf5b(0x1e3)][_0x36bf5b(0x1de)];_0x448117<=_0x3ccb14[_0x36bf5b(0x1e3)]['endColumn'];_0x448117++){const _0x2435fa=_0x4b5d81[_0x36bf5b(0x159)](_0x28d43d,_0x448117);_0x2435fa&&_0x59e400[_0x448117-_0x3ccb14['range'][_0x36bf5b(0x1de)]][_0x36bf5b(0x1d6)](_0x2435fa);}}for(let _0x52448c=0x0;_0x52448c<_0x3ccb14[_0x36bf5b(0x173)][_0x36bf5b(0x182)];_0x52448c++){const [_0x18fc8c,_0x312fdf]=_0x59e400[_0x52448c][_0x36bf5b(0x14a)]();_0x3ccb14['columns'][_0x52448c]['Type']=_0x18fc8c;}}function _0x43cf(){const _0x1b869f=['getSheetId','12QkLfwi','join','date','Type','Confidence','from','BOOLEAN','push','sheetId','isOpinionText','2\x20Jan.,\x202006','getFullYear','excel','isMatchContinue','getRowCount','entries','add','20060102','isMatchEnd','split','set','slice','Charset','intersectWithColumns','2\x20January,2006','stringify','keys','size','string','has','6847880DrwZWg','value','setConfig','map','getMonth','layout','saveTableToCache','_injector','36EVriVk','sort','dataStream','2006-01-02\x2015:04:05','Calc','insertCellData','Match','rowMergeTitleCountMap','789537dTYZdI','isUpdateTable','02/01/2006','links','01/02/2006','skip\x20small\x20table','startColumn','5zalhvJ','meta','trim','timeStampStyles','range','getRange','2006/1/2','getOwnPropertyDescriptor','description','invalid','needConvert','02.01.2006','confidence','valid','2006-01-02','endRow','endStatisticRowCount','Best','linkType','symbol','rowMergeTitleState','02-01-2006','body','isMeasure','tableId','replace','isArray','420616ZalBpk','dispose','number','defineProperty','isTestTable','getCell','max','20ioqUjU','2006-01-02T15:04:05','onReady','toJSON','splice','onStarting',',\x20rangeName:','All','none','isTitleRepeat','256754WzmRwu','startRow','warn','data','startStatisticRowCount','merge','recognizers','min','Jan.\x202,\x202006','toLowerCase','getSheetBySheetId','803257OgkzWl','Layout','displayName','columns','isBigText','bulkSearch','columnMergeTitleState','get','2006/01/02','clear','9478953yQPgyy','test','getTablesBySubunitId','trunc','sample','172672ivwbCn','18IIUGnO','floor','length','getFilterModel','isTimeSeries','pattern','forEach','_isRowContinuous','dateStyles','getAllTableJson','Name','isCoded','UNIVER_RANGE_PREPROCESS_PLUGIN','dataType','intersectWithPreTables','isFinite','01-02-2006','getTableList','Description','insert','getUnitId','getMergeData','January\x202,2006','name','_configService','log10','columnMergeTitleCountMap','autoFilter','rowTitleCount','Sample','isLink','pluginName','endColumn','mergeRowTitleCount','isUnique','unknown','all','each','None','getSheets','getPlainText'];_0x43cf=function(){return _0x1b869f;};return _0x43cf();}function pe(_0x4eded6){const _0x1404b1=_0x51ed5d,_0x3cc86e=[];for(const _0x5d9ce6 of _0x4eded6['links'])_0x3cc86e[_0x1404b1(0x1b1)]({'tableId':_0x5d9ce6[_0x1404b1(0x151)],'columnId':_0x5d9ce6['columnId'],'linkType':_0x5d9ce6[_0x1404b1(0x14b)]});return _0x3cc86e;}function Ye(_0x293edf){const _0x445c71=_0x51ed5d;return _0x293edf[_0x445c71(0x19c)]===0x1;}function Ke(_0x3144dc,_0x5b4e23,_0x3985eb,_0x5b5256,_0x48bf80){const _0x396a0c=_0x51ed5d,_0x2496d2=_0x5b5256[_0x396a0c(0x177)](_0x1a5608),_0x53a7a3=_0x5b4e23[_0x396a0c(0x194)](),_0x1118d3=_0x3144dc[_0x396a0c(0x1b2)];if(_0x2496d2['getTablesBySubunitId'](_0x53a7a3,_0x1118d3)){for(const _0x4df119 of _0x3985eb)if(_0x4df119['id']===_0x3144dc['id']){_0x4df119[_0x396a0c(0x197)]=_0x3144dc[_0x396a0c(0x197)],_0x4df119['meta']={},_0x4df119[_0x396a0c(0x1e0)][_0x396a0c(0x141)]=_0x3144dc[_0x396a0c(0x141)],_0x4df119[_0x396a0c(0x1e0)][_0x396a0c(0x19c)]=_0x3144dc[_0x396a0c(0x19c)],_0x4df119[_0x396a0c(0x1e0)]['mergeRowTitleCount']=_0x3144dc[_0x396a0c(0x1a1)],_0x4df119['meta'][_0x396a0c(0x184)]=_0x3144dc[_0x396a0c(0x184)];for(let _0x44e3bc=0x0;_0x44e3bc<_0x3144dc[_0x396a0c(0x173)][_0x396a0c(0x182)];_0x44e3bc++){const _0x12ed12=_0x3144dc[_0x396a0c(0x173)][_0x44e3bc],_0x1aa9d7=_0x4df119['columns'][_0x44e3bc];_0x1aa9d7[_0x396a0c(0x172)]=_0x12ed12[_0x396a0c(0x18a)],_0x1aa9d7[_0x396a0c(0x18d)]=_0x12ed12[_0x396a0c(0x1ad)],_0x1aa9d7[_0x396a0c(0x1e0)]={},_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x141)]=_0x12ed12['Description'],_0x1aa9d7['meta'][_0x396a0c(0x18b)]=_0x12ed12[_0x396a0c(0x18b)],_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x150)]=_0x12ed12['isMeasure'],_0x1aa9d7[_0x396a0c(0x1e0)]['isOpinionText']=_0x12ed12[_0x396a0c(0x1b3)],_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x174)]=_0x12ed12[_0x396a0c(0x174)],_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x19e)]=_0x12ed12[_0x396a0c(0x19e)],_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x164)]=_0x12ed12[_0x396a0c(0x164)],_0x1aa9d7['meta'][_0x396a0c(0x1a2)]=_0x12ed12['isUnique'],_0x1aa9d7[_0x396a0c(0x1e0)][_0x396a0c(0x1db)]=pe(_0x12ed12);}Te(_0x4df119,_0x1118d3,_0x5b4e23,_0x48bf80);}}}function Xe(_0x1b4976,_0x1c47ba,_0x213ff5,_0x3f4b7e){const _0x2fe442=_0x51ed5d,_0x2bca0e=_0x213ff5[_0x2fe442(0x177)](_0x1a5608),_0x1e7125=_0x1c47ba[_0x2fe442(0x194)](),_0x256c54={};for(const [_0x55682e,_0x5c0e37]of Object[_0x2fe442(0x1b9)](_0x1b4976)){const _0x611287=_0x2bca0e['getTablesBySubunitId'](_0x1e7125,_0x55682e),_0x206ff2=(_0x611287==null?void 0x0:_0x611287['map'](_0x5b9926=>_0x5b9926['toJSON']()))||[];for(const _0x4f4d98 of _0x5c0e37){if(_0x4f4d98[_0x2fe442(0x1d9)]){Ke(_0x4f4d98,_0x1c47ba,_0x206ff2,_0x213ff5,_0x3f4b7e);continue;}const _0x2e786c={'id':_0x4f4d98['id'],'range':{'startRow':_0x4f4d98[_0x2fe442(0x1e3)]['startRow']+_0x4f4d98[_0x2fe442(0x1a1)],'endRow':_0x4f4d98['range'][_0x2fe442(0x148)],'startColumn':_0x4f4d98['range'][_0x2fe442(0x1de)],'endColumn':_0x4f4d98[_0x2fe442(0x1e3)][_0x2fe442(0x1a0)]},'name':_0x4f4d98['name'],'meta':{},'options':{'showHeader':Ye(_0x4f4d98),'showFooter':!0x1},'columns':[],'filters':{}};_0x2e786c[_0x2fe442(0x1e0)][_0x2fe442(0x141)]=_0x4f4d98[_0x2fe442(0x141)],_0x2e786c['meta'][_0x2fe442(0x19c)]=_0x4f4d98['rowTitleCount'],_0x2e786c[_0x2fe442(0x1e0)][_0x2fe442(0x1a1)]=_0x4f4d98[_0x2fe442(0x1a1)],_0x2e786c[_0x2fe442(0x1e0)][_0x2fe442(0x184)]=_0x4f4d98['isTimeSeries'];const _0x5596fd=_0x4f4d98[_0x2fe442(0x1e3)][_0x2fe442(0x1de)];for(let _0x273a77=0x0;_0x273a77<_0x4f4d98['columns']['length'];_0x273a77++){const _0x43dcec=_0x4f4d98[_0x2fe442(0x173)][_0x273a77],_0x3c1abb={'id':_0x43dcec['id'],'displayName':_0x43dcec['Name']||'column_'+ne(_0x5596fd+_0x273a77),'dataType':_0x43dcec[_0x2fe442(0x1ad)],'meta':{},'formula':'','style':{}};_0x3c1abb[_0x2fe442(0x1e0)][_0x2fe442(0x141)]=_0x43dcec[_0x2fe442(0x192)],_0x3c1abb['meta'][_0x2fe442(0x18b)]=_0x43dcec[_0x2fe442(0x18b)],_0x3c1abb[_0x2fe442(0x1e0)][_0x2fe442(0x150)]=_0x43dcec[_0x2fe442(0x150)],_0x3c1abb[_0x2fe442(0x1e0)]['isOpinionText']=_0x43dcec[_0x2fe442(0x1b3)],_0x3c1abb[_0x2fe442(0x1e0)]['isBigText']=_0x43dcec['isBigText'],_0x3c1abb[_0x2fe442(0x1e0)][_0x2fe442(0x19e)]=_0x43dcec['isLink'],_0x3c1abb[_0x2fe442(0x1e0)]['isTitleRepeat']=_0x43dcec[_0x2fe442(0x164)],_0x3c1abb['meta']['isUnique']=_0x43dcec[_0x2fe442(0x1a2)],_0x3c1abb[_0x2fe442(0x1e0)][_0x2fe442(0x1db)]=pe(_0x43dcec),_0x2e786c[_0x2fe442(0x173)][_0x2fe442(0x1b1)](_0x3c1abb);}Te(_0x2e786c,_0x55682e,_0x1c47ba,_0x3f4b7e),_0x206ff2['push'](_0x2e786c);}_0x256c54[_0x55682e]=_0x206ff2;}for(const _0x52ea8b of Object[_0x2fe442(0x1c4)](_0x1b4976))_0x1b4976[_0x52ea8b][_0x2fe442(0x186)](_0x2e6ccd=>{const _0x56c355=_0x2fe442;_0x2e6ccd[_0x56c355(0x155)]();});return _0x256c54;}function le(_0x27b8e7,_0xa03dac,_0x1d5fd2=0x5){const _0x26092b=_0x51ed5d;if(!Array[_0x26092b(0x153)](_0x27b8e7)||_0x27b8e7[_0x26092b(0x182)]===0x0)return[];const _0x1ea44e=Math[_0x26092b(0x16c)](_0xa03dac,_0x27b8e7[_0x26092b(0x182)]),_0x294113=Math['min'](_0x1ea44e+_0x1d5fd2,_0x27b8e7[_0x26092b(0x182)]);return _0x27b8e7[_0x26092b(0x1bf)](_0x1ea44e,_0x294113);}function Te(_0x2b848d,_0x379c2f,_0x539b04,_0x226b21){const _0x2a353d=_0x51ed5d,_0x38fcd8=_0x539b04['getSheetBySheetId'](_0x379c2f);if(!_0x38fcd8)return;const _0x1b553b=_0x2b848d[_0x2a353d(0x1e3)],_0x9540b8=Qe(_0x38fcd8,_0x1b553b);_0x226b21===ee[_0x2a353d(0x19d)]?_0x2b848d[_0x2a353d(0x168)]=JSON['stringify'](le(_0x9540b8,0x1,0x5)):_0x226b21===ee[_0x2a353d(0x162)]&&(_0x2b848d['data']=JSON[_0x2a353d(0x1c3)](le(_0x9540b8,0x1,_0x9540b8[_0x2a353d(0x182)])));}function Qe(_0x793a1f,_0x5a6f97){const _0xc66337=_0x51ed5d;var _0x416a10;const {startRow:_0x32feeb,endRow:_0x395771,startColumn:_0x2c927f,endColumn:_0x4cb35b}=_0x5a6f97,_0x52d1de=[];for(let _0x64b8a4=_0x32feeb;_0x64b8a4<=_0x395771;_0x64b8a4++){const _0x84c89e=[];for(let _0x5662dc=_0x2c927f;_0x5662dc<=_0x4cb35b;_0x5662dc++){const _0x40077a=_0x793a1f[_0xc66337(0x159)](_0x64b8a4,_0x5662dc);_0x40077a?_0x84c89e[_0xc66337(0x1b1)]((_0x416a10=Me(_0x40077a))!=null?_0x416a10:''):_0x84c89e[_0xc66337(0x1b1)]('');}_0x52d1de['push'](_0x84c89e);}return _0x52d1de;}function et(_0x5d2039){const _0x51de00=_0x51ed5d;return/https?:\/\/|www\./i[_0x51de00(0x17b)](_0x5d2039);}function tt(_0x1b8916){const _0x16c1b1=_0x51ed5d;return Array[_0x16c1b1(0x1af)](_0x1b8916)[_0x16c1b1(0x182)];}function ue(_0x50c707){const _0x16deab=_0x51ed5d;return _0x50c707?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x16deab(0x17b)](_0x50c707[_0x16deab(0x1e1)]()):!0x1;}function ne(_0x5bc77c){const _0x5125da=_0x51ed5d;let _0x47a18b='',_0x69a4cd=_0x5bc77c+0x1;for(;_0x69a4cd>0x0;){const _0x4ef711=(_0x69a4cd-0x1)%0x1a;_0x47a18b=String['fromCharCode'](0x41+_0x4ef711)+_0x47a18b,_0x69a4cd=Math[_0x5125da(0x181)]((_0x69a4cd-0x1)/0x1a);}return _0x47a18b;}var nt=Object['getOwnPropertyDescriptor'],ot=(_0x33b6fb,_0x35afa6,_0xedfb33,_0x41cd0f)=>{const _0x57c409=_0x51ed5d;for(var _0x4e75a6=_0x41cd0f>0x1?void 0x0:_0x41cd0f?nt(_0x35afa6,_0xedfb33):_0x35afa6,_0x126e56=_0x33b6fb[_0x57c409(0x182)]-0x1,_0x35af29;_0x126e56>=0x0;_0x126e56--)(_0x35af29=_0x33b6fb[_0x126e56])&&(_0x4e75a6=_0x35af29(_0x4e75a6)||_0x4e75a6);return _0x4e75a6;},rt=(_0xae161a,_0x1954af)=>(_0x3ebdc0,_0x3179df)=>_0x1954af(_0x3ebdc0,_0x3179df,_0xae161a);let oe=class extends _0x640796{constructor(_0x498758){const _0x33e0c9=_0x51ed5d;super(),this[_0x33e0c9(0x1cf)]=_0x498758;}[_0x51ed5d(0x189)](_0xa29ca0,_0x5f3f16){return Be(_0xa29ca0,this['_injector'],_0x5f3f16);}};oe=ot([rt(0x0,_0x5bd2d2(_0x4250c0))],oe);var st=Object[_0x51ed5d(0x140)],it=(_0x83b881,_0x132c10,_0xe79e6f,_0x1d55a4)=>{const _0x8f92be=_0x51ed5d;for(var _0x4093b1=_0x1d55a4>0x1?void 0x0:_0x1d55a4?st(_0x132c10,_0xe79e6f):_0x132c10,_0x185eba=_0x83b881[_0x8f92be(0x182)]-0x1,_0x4e5459;_0x185eba>=0x0;_0x185eba--)(_0x4e5459=_0x83b881[_0x185eba])&&(_0x4093b1=_0x4e5459(_0x4093b1)||_0x4093b1);return _0x4093b1;},ce=(_0x1855fa,_0x5c6777)=>(_0x47e6ed,_0x5a57dd)=>_0x5c6777(_0x47e6ed,_0x5a57dd,_0x1855fa);const at='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;let de=(X=class extends _0x446f50{constructor(_0x1ff734={},_0x1303b1,_0x361b70){const _0x10a4e3=_0x51ed5d;super(),this['_config']=_0x1ff734,this[_0x10a4e3(0x1cf)]=_0x1303b1,this[_0x10a4e3(0x198)]=_0x361b70;const {..._0x2ccd30}=_0x24bb42({},this['_config']);this[_0x10a4e3(0x198)][_0x10a4e3(0x1ca)](at,_0x2ccd30);}[_0x51ed5d(0x160)](){const _0x434b77=_0x51ed5d,_0x1275f4=[[oe]];_0x5c0a18(this[_0x434b77(0x1cf)],_0x1275f4);}[_0x51ed5d(0x15d)](){}},M(X,_0x51ed5d(0x19f),_0x51ed5d(0x18c)),X);de=it([ce(0x1,_0x5bd2d2(_0x4250c0)),ce(0x2,_0x1fdf66)],de);export{oe as RangePreprocessController,de as UniverRangePreprocessPlugin};
|
|
1
|
+
const _0x32f0cd=_0xec3f;(function(_0x25bb81,_0x524a1d){const _0xd63383=_0xec3f,_0x2742d1=_0x25bb81();while(!![]){try{const _0x1fac94=parseInt(_0xd63383(0x1b3))/0x1+-parseInt(_0xd63383(0x1ee))/0x2*(-parseInt(_0xd63383(0x207))/0x3)+-parseInt(_0xd63383(0x1c9))/0x4*(-parseInt(_0xd63383(0x206))/0x5)+parseInt(_0xd63383(0x19a))/0x6+-parseInt(_0xd63383(0x213))/0x7+-parseInt(_0xd63383(0x214))/0x8+parseInt(_0xd63383(0x22f))/0x9*(-parseInt(_0xd63383(0x215))/0xa);if(_0x1fac94===_0x524a1d)break;else _0x2742d1['push'](_0x2742d1['shift']());}catch(_0x4de20e){_0x2742d1['push'](_0x2742d1['shift']());}}}(_0x58ca,0x66cca));var Re=Object[_0x32f0cd(0x1ad)],Se=(_0x9f5b9b,_0x5e148a,_0x2bee71)=>_0x5e148a in _0x9f5b9b?Re(_0x9f5b9b,_0x5e148a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bee71}):_0x9f5b9b[_0x5e148a]=_0x2bee71,M=(_0x7c20de,_0x175c4f,_0x44c852)=>Se(_0x7c20de,typeof _0x175c4f!='symbol'?_0x175c4f+'':_0x175c4f,_0x44c852);import{CellValueType as _0x3a3e23,generateRandomId as _0x4a8dcb,RTree as _0x34cbda,BuildTextUtils as _0x33483e,Inject as _0x369fc3,Injector as _0x43d733,Disposable as _0x5ef1bd,IConfigService as _0x4c54d9,Plugin as _0x1c32dc,merge as _0x60689e,registerDependencies as _0x243064}from'@univerjs/core';import{SheetsFilterService as _0x3212bb}from'@univerjs/sheets-filter';import{TableManager as _0x3b9ce8}from'@univerjs/sheets-table';function re(_0x1885e3){const _0x4a7e6d=_0x32f0cd;return _0x1885e3['v']==null?'':String(_0x1885e3['v'])[_0x4a7e6d(0x21d)]();}function Ne(_0x471ab4){const _0x7b236=_0x32f0cd;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x7b236(0x1e8)](_0x471ab4);}const Z=0x2,Q=0x1;function we(_0x16b810,_0x3d6fc0){const _0x40fb79=_0x32f0cd,_0x188a01={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x3d6fc0];if(!_0x188a01||!_0x188a01['test'](_0x16b810))return!0x1;const _0xbaa649=_0x16b810[_0x40fb79(0x1da)](/\D+/g,'\x20')[_0x40fb79(0x21d)]()['split'](/\s+/)[_0x40fb79(0x196)](Number);let _0x347987=0x0,_0x3937bf=0x1,_0x3ee459=0x1,_0xc74c7b=0x0,_0x5cdeed=0x0,_0x1cd08a=0x0;switch(_0x3d6fc0){case _0x40fb79(0x200):case _0x40fb79(0x1b9):case'2006/01/02':case _0x40fb79(0x222):[_0x347987,_0x3937bf,_0x3ee459]=_0xbaa649;break;case _0x40fb79(0x21b):[_0x347987,_0x3937bf,_0x3ee459]=_0xbaa649;break;case'02-01-2006':case _0x40fb79(0x20b):case _0x40fb79(0x221):[_0x3ee459,_0x3937bf,_0x347987]=_0xbaa649;break;case _0x40fb79(0x228):case'01/02/2006':[_0x3937bf,_0x3ee459,_0x347987]=_0xbaa649;break;case _0x40fb79(0x1c1):{const _0x4f3456=_0x16b810;_0x347987=+_0x4f3456[_0x40fb79(0x220)](0x0,0x4),_0x3937bf=+_0x4f3456['slice'](0x4,0x6),_0x3ee459=+_0x4f3456['slice'](0x6,0x8);break;}case _0x40fb79(0x1a8):case'2006-01-02\x2015:04:05':[_0x347987,_0x3937bf,_0x3ee459,_0xc74c7b,_0x5cdeed,_0x1cd08a]=_0xbaa649;break;default:return!0x0;}if(_0x3937bf<0x1||_0x3937bf>0xc||_0x3ee459<0x1||_0x3ee459>0x1f||_0xc74c7b<0x0||_0xc74c7b>0x17||_0x5cdeed<0x0||_0x5cdeed>0x3b||_0x1cd08a<0x0||_0x1cd08a>0x3b)return!0x1;const _0x3cb57e=new Date(_0x347987,_0x3937bf-0x1,_0x3ee459,_0xc74c7b,_0x5cdeed,_0x1cd08a);return!(_0x3cb57e['getFullYear']()!==_0x347987||_0x3cb57e['getMonth']()!==_0x3937bf-0x1||_0x3cb57e['getDate']()!==_0x3ee459);}function Ee(_0x20d174){return Number['isFinite'](_0x20d174)&&_0x20d174>=0x1&&_0x20d174<=0x13880;}function _e(_0x540e13){const _0xb47f47=_0x32f0cd;switch(_0x540e13){case 0x0:return _0xb47f47(0x1c4);case 0x1:return _0xb47f47(0x205);case 0x2:case 0x3:case 0x4:return _0xb47f47(0x217);case 0x5:return _0xb47f47(0x1aa);default:return _0xb47f47(0x1c6);}}class K{constructor(){const _0x50aa0f=_0x32f0cd;M(this,_0x50aa0f(0x1fb),0x0),M(this,'invalid',0x0),M(this,'confidence',0x0);}}class I extends K{constructor(_0x497bf0){const _0x1b9c32=_0x32f0cd;super(),M(this,'timeStampStyles'),M(this,'dt'),M(this,_0x1b9c32(0x19b)),M(this,_0x1b9c32(0x20d)),(this['dt']=_0x497bf0['dt'],this['layout']=_0x497bf0['layout'],this[_0x1b9c32(0x20d)]=!!_0x497bf0['needConvert']);}[_0x32f0cd(0x1c7)](_0x44ed3c){const _0x8f1300=_0x32f0cd;if(_0x44ed3c['t']===_0x3a3e23[_0x8f1300(0x1f5)]){const _0x5719b0=re(_0x44ed3c);if(!_0x5719b0)return;we(_0x5719b0,this[_0x8f1300(0x19b)])?this[_0x8f1300(0x1fb)]+=Z:this[_0x8f1300(0x1fc)]++;}}[_0x32f0cd(0x21e)](){const _0x3dfe74=_0x32f0cd,_0x5865e0=0x64-Math[_0x3dfe74(0x1c0)]((this[_0x3dfe74(0x1fc)]*0xa+0x1)*0x64/(this[_0x3dfe74(0x1fc)]+this[_0x3dfe74(0x1fb)]+0x1)),_0x26b974={'Charset':this['dt'],'Confidence':_0x5865e0,'debugInfo':this[_0x3dfe74(0x19b)]};return this[_0x3dfe74(0x20d)]&&(_0x26b974[_0x3dfe74(0x1f2)]=this['layout']),_0x26b974;}}class ae extends K{constructor(_0x2055bb){const _0x28dc12=_0x32f0cd;super(),M(this,_0x28dc12(0x1d1)),M(this,_0x28dc12(0x1db)),M(this,'dt'),M(this,_0x28dc12(0x19b)),M(this,'needConvert'),(this[_0x28dc12(0x1d1)]=_0x2055bb[_0x28dc12(0x1d1)]||{},this['dt']=_0x2055bb['dt'],this[_0x28dc12(0x19b)]=_0x2055bb[_0x28dc12(0x19b)],this[_0x28dc12(0x20d)]=!!_0x2055bb[_0x28dc12(0x20d)]);}[_0x32f0cd(0x1c7)](_0x59e369){const _0x3bf303=_0x32f0cd;if(_0x59e369['t']===_0x3a3e23[_0x3bf303(0x1ab)]){if(_0x59e369['s']&&this[_0x3bf303(0x1d1)][_0x59e369['s']]){this[_0x3bf303(0x1fb)]+=Z;return;}const _0x55fe17=re(_0x59e369);if(!_0x55fe17)return;if(this[_0x3bf303(0x19b)]===_0x3bf303(0x1d7)){const _0x590ffe=Number(_0x55fe17);if(Ee(_0x590ffe)){this[_0x3bf303(0x1fb)]+=Z;return;}}we(_0x55fe17,this[_0x3bf303(0x19b)])?this[_0x3bf303(0x1fb)]+=Z:this[_0x3bf303(0x1fc)]++;}}[_0x32f0cd(0x21e)](){const _0x5ccaee=_0x32f0cd,_0x26b012=0x64-Math[_0x5ccaee(0x1c0)]((this['invalid']*0xa+0x1)*0x64/(this[_0x5ccaee(0x1fc)]+this[_0x5ccaee(0x1fb)]+0x1)),_0x196bc3={'Charset':this['dt'],'Confidence':_0x26b012,'debugInfo':this['layout']};return this['needConvert']&&(_0x196bc3['Layout']=this[_0x5ccaee(0x19b)]),_0x196bc3;}}class Ae extends K{['Match'](_0x977938){if(_0x977938['t']===_0x3a3e23['NUMBER'])this['valid']+=Q;else{const _0xc332f6=re(_0x977938);if(!_0xc332f6)return;Ne(_0xc332f6)?this['valid']+=Q:this['invalid']++;}}[_0x32f0cd(0x21e)](){const _0x56998b=_0x32f0cd;return{'Charset':0x1,'Confidence':0x64-Math[_0x56998b(0x1c0)]((this[_0x56998b(0x1fc)]*0xa+0x1)*0x64/(this[_0x56998b(0x1fc)]+this[_0x56998b(0x1fb)]+0x1)),'debugInfo':'number'};}}class Oe extends K{[_0x32f0cd(0x1c7)](_0x419934){const _0x32aa40=_0x32f0cd;_0x419934['t']===_0x3a3e23[_0x32aa40(0x1dd)]?this[_0x32aa40(0x1fb)]+=Q:this['invalid']++;}[_0x32f0cd(0x21e)](){const _0x4c80ed=_0x32f0cd;return{'Charset':0x5,'Confidence':0x64-Math[_0x4c80ed(0x1c0)]((this[_0x4c80ed(0x1fc)]*0xa+0x1)*0x64/(this[_0x4c80ed(0x1fc)]+this[_0x4c80ed(0x1fb)]+0x1)),'debugInfo':_0x4c80ed(0x205)};}}class Pe{constructor(_0x3d5566){const _0x34df54=_0x32f0cd;M(this,_0x34df54(0x1de)),M(this,_0x34df54(0x1d1)),(this[_0x34df54(0x1d1)]=_0x3d5566||{},this[_0x34df54(0x1de)]=[new I({'dt':0x2,'layout':_0x34df54(0x200)}),new I({'dt':0x2,'layout':'2006-1-2'}),new I({'dt':0x2,'layout':_0x34df54(0x1f6)}),new I({'dt':0x2,'layout':'2006/1/2'}),new I({'dt':0x2,'layout':_0x34df54(0x21b),'needConvert':!0x0}),new I({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x20b),'needConvert':!0x0}),new I({'dt':0x2,'layout':'02.01.2006','needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x1f1),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x18d),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x1b8),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x22e),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x1f0),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x1f4),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x22c),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x34df54(0x1c1),'needConvert':!0x0}),new ae({'dateStyles':this['dateStyles'],'dt':0x2,'layout':_0x34df54(0x1c1),'needConvert':!0x0}),new I({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new I({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new ae({'dateStyles':this[_0x34df54(0x1d1)],'dt':0x3,'layout':_0x34df54(0x1d7),'needConvert':!0x0}),new Ae(),new Oe()]);}['Match'](_0x53746b){const _0x4b0dbc=_0x32f0cd;for(const _0x30530f of this['recognizers'])_0x30530f[_0x4b0dbc(0x1c7)](_0x53746b);}[_0x32f0cd(0x20a)](){const _0x17b6fe=_0x32f0cd,_0x5576c9=this[_0x17b6fe(0x1de)][_0x17b6fe(0x196)](_0x41b400=>_0x41b400['Calc']());if(_0x5576c9[_0x17b6fe(0x22a)]((_0x5471b8,_0x33aad3)=>_0x33aad3[_0x17b6fe(0x19c)]-_0x5471b8[_0x17b6fe(0x19c)]),_0x5576c9[_0x17b6fe(0x1af)]===0x0||_0x5576c9[0x0][_0x17b6fe(0x19c)]<0x32)return['string',null];const _0x3f0fe7=_0x5576c9[0x0];return[_e(_0x3f0fe7[_0x17b6fe(0x1e2)]),_0x3f0fe7];}}function _0xec3f(_0x1bb66f,_0x5c9d42){const _0x58caac=_0x58ca();return _0xec3f=function(_0xec3ff7,_0x590465){_0xec3ff7=_0xec3ff7-0x18d;let _0x50bbb6=_0x58caac[_0xec3ff7];return _0x50bbb6;},_0xec3f(_0x1bb66f,_0x5c9d42);}function se(_0x3f6aec,_0x45e5c8){const _0x374322=_0x32f0cd;let _0x2d819b=_0x3f6aec,_0x52bc70=_0x45e5c8;_0x2d819b<=0x0&&(_0x2d819b=0x6),_0x52bc70<=0x0&&(_0x52bc70=0xa),_0x52bc70=_0x52bc70*0x2;const _0x37f011=[];for(let _0x372113=0x0;_0x372113<_0x52bc70;_0x372113++)_0x37f011['push'](_0x4a8dcb(_0x2d819b));const _0x54faf2=new Map();for(const _0x11e9e2 of _0x37f011){const _0x2af01f=_0x11e9e2[_0x374322(0x1f7)]();_0x54faf2[_0x374322(0x199)](_0x2af01f)||_0x54faf2[_0x374322(0x1e1)](_0x2af01f,_0x11e9e2);}return Array['from'](_0x54faf2[_0x374322(0x227)]());}var ee=(_0x3def7a=>(_0x3def7a[_0x32f0cd(0x192)]=_0x32f0cd(0x202),_0x3def7a[_0x32f0cd(0x1b2)]='all',_0x3def7a[_0x32f0cd(0x20f)]=_0x32f0cd(0x1eb),_0x3def7a))(ee||{});class q{constructor(_0x445600){const _0x32c3bd=_0x32f0cd;M(this,'id'),M(this,'sheetId'),M(this,_0x32c3bd(0x1b5)),M(this,_0x32c3bd(0x1ca)),M(this,_0x32c3bd(0x1ac)),M(this,_0x32c3bd(0x1d0)),M(this,_0x32c3bd(0x1c3)),M(this,_0x32c3bd(0x1bb)),M(this,'endStatisticRowCount'),M(this,_0x32c3bd(0x1d4)),M(this,_0x32c3bd(0x18f)),M(this,_0x32c3bd(0x1df)),M(this,'columnMergeTitleCountMap'),M(this,_0x32c3bd(0x20e)),M(this,'isMatchContinue'),M(this,_0x32c3bd(0x1e4)),M(this,_0x32c3bd(0x1fd)),M(this,_0x32c3bd(0x198)),M(this,_0x32c3bd(0x226));var _0x3caadb,_0x206d66,_0x55f433,_0x59730a,_0x101218,_0x5e8b4f,_0x4fe8b5,_0xa8d34e,_0x14b016,_0x5e11a5,_0x420a80,_0x530bff,_0x14efc4,_0x16be87,_0x581001,_0x4f244d,_0x1e4c23,_0x2ee254,_0x5ed1aa;this['id']=(_0x3caadb=_0x445600==null?void 0x0:_0x445600['id'])!=null?_0x3caadb:'',this[_0x32c3bd(0x1f3)]=(_0x206d66=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1f3)])!=null?_0x206d66:_0x4a8dcb(),this[_0x32c3bd(0x1b5)]=(_0x55f433=_0x445600==null?void 0x0:_0x445600['range'])!=null?_0x55f433:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this['name']=(_0x59730a=_0x445600==null?void 0x0:_0x445600['name'])!=null?_0x59730a:'',this[_0x32c3bd(0x1ac)]=(_0x101218=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1ac)])!=null?_0x101218:'',this[_0x32c3bd(0x1d0)]=(_0x5e8b4f=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1d0)])!=null?_0x5e8b4f:0x0,this[_0x32c3bd(0x1c3)]=(_0x4fe8b5=_0x445600==null?void 0x0:_0x445600['mergeRowTitleCount'])!=null?_0x4fe8b5:0x0,this[_0x32c3bd(0x1bb)]=(_0xa8d34e=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1bb)])!=null?_0xa8d34e:0x0,this[_0x32c3bd(0x1c5)]=(_0x14b016=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1c5)])!=null?_0x14b016:0x0,this[_0x32c3bd(0x1d4)]=(_0x5e11a5=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1d4)])!=null?_0x5e11a5:new Map(),this[_0x32c3bd(0x18f)]=(_0x420a80=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x18f)])!=null?_0x420a80:!0x1,this[_0x32c3bd(0x1df)]=(_0x530bff=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1df)])!=null?_0x530bff:!0x1,this['columnMergeTitleCountMap']=(_0x14efc4=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1d9)])!=null?_0x14efc4:new Map(),this[_0x32c3bd(0x20e)]=(_0x16be87=_0x445600==null?void 0x0:_0x445600['isMatchEnd'])!=null?_0x16be87:!0x1,this[_0x32c3bd(0x1e7)]=(_0x581001=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1e7)])!=null?_0x581001:!0x1,this[_0x32c3bd(0x1e4)]=(_0x4f244d=_0x445600==null?void 0x0:_0x445600['isTimeSeries'])!=null?_0x4f244d:!0x1,this[_0x32c3bd(0x1fd)]=(_0x1e4c23=_0x445600==null?void 0x0:_0x445600[_0x32c3bd(0x1fd)])!=null?_0x1e4c23:!0x1,this[_0x32c3bd(0x198)]=(_0x2ee254=_0x445600==null?void 0x0:_0x445600['isUpdateTable'])!=null?_0x2ee254:!0x1,this[_0x32c3bd(0x226)]=(_0x5ed1aa=_0x445600==null?void 0x0:_0x445600['columns'])!=null?_0x5ed1aa:[];}[_0x32f0cd(0x21f)](_0x2d943c,_0xc98892){return _0xc98892-_0x2d943c===0x1||_0xc98892===_0x2d943c;}[_0x32f0cd(0x208)](_0x12168a){const _0x2ec135=_0x32f0cd,_0x56c3ba=[];for(const _0x5265dd of _0x12168a)this[_0x2ec135(0x1b5)]['endColumn']<_0x5265dd[_0x2ec135(0x1b5)][_0x2ec135(0x1b4)]||this[_0x2ec135(0x1b5)]['startColumn']>_0x5265dd[_0x2ec135(0x1b5)][_0x2ec135(0x22d)]||this[_0x2ec135(0x21f)](_0x5265dd['range'][_0x2ec135(0x1f9)],this['range']['startRow'])&&_0x56c3ba[_0x2ec135(0x190)](_0x5265dd);return _0x56c3ba;}['intersectWithColumns'](_0x46121a){const _0x2401fd=_0x32f0cd;return _0x46121a[_0x2401fd(0x1b5)][_0x2401fd(0x1f9)]===this[_0x2401fd(0x1b5)][_0x2401fd(0x225)]&&this[_0x2401fd(0x1b5)][_0x2401fd(0x22d)]+0x1===_0x46121a[_0x2401fd(0x1b5)][_0x2401fd(0x1b4)];}[_0x32f0cd(0x1a6)](_0x34df2c){const _0x388808=_0x32f0cd;return this['range']['startColumn']===-0x1?this:(_0x34df2c[_0x388808(0x190)](this),new q({'sheetId':this[_0x388808(0x1f3)],'range':{'startRow':this[_0x388808(0x1b5)][_0x388808(0x225)],'endRow':this['range']['endRow'],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x32f0cd(0x1a7)](_0x16b9fd,_0x8b1302,_0x5cef8d,_0x36731f){const _0xfaba3b=_0x32f0cd;this['range']['startColumn']===-0x1&&(this['range']['startColumn']=_0x8b1302),this['range'][_0xfaba3b(0x22d)]=_0x8b1302,_0x36731f!=null&&(this['range'][_0xfaba3b(0x22d)]=Math['max'](_0x36731f,this['range'][_0xfaba3b(0x22d)]));}['dispose'](){const _0x27d8d6=_0x32f0cd;this['rowMergeTitleCountMap'][_0x27d8d6(0x1e5)](),this[_0x27d8d6(0x1d9)]['clear'](),this[_0x27d8d6(0x226)]=[];}}function te(_0x1f9f26,_0x4a8e1d){const {startRow:_0x212ab0,startColumn:_0x5065c3,endRow:_0x3748ff,endColumn:_0x4ebc1d}=_0x4a8e1d;return _0x1f9f26+':'+_0x212ab0+','+_0x5065c3+'-'+_0x3748ff+','+_0x4ebc1d;}function Ue(_0x12ba1a,_0x5174b2){const _0x1a2c3b=_0x32f0cd;var _0x254bf0;const _0x54bd9c=new _0x34cbda(!0x1),_0x4e2ca6=_0x5174b2[_0x1a2c3b(0x1b1)](),_0x3b71d2=new Map(),_0x2dfac2=(_0x254bf0=_0x5174b2[_0x1a2c3b(0x1ea)]())!=null?_0x254bf0:[];for(const _0x22262e of _0x2dfac2){const _0x82c987=te(_0x1a2c3b(0x1cc),_0x22262e),_0x18a415={'unitId':_0x12ba1a,'sheetId':_0x4e2ca6,'range':_0x22262e,'id':_0x82c987};_0x54bd9c['insert'](_0x18a415),_0x3b71d2[_0x1a2c3b(0x1e1)](_0x82c987,_0x18a415);}return{'mergeRTree':_0x54bd9c,'mergeRangeMap':_0x3b71d2};}function ke(_0x29f9a8,_0xa60db4,_0x40ffc7){const _0x4011db=_0x32f0cd,_0x3ec78c=new _0x34cbda(!0x1),_0x2c8a47=_0x40ffc7['get'](_0x3212bb),_0x5e30f0=_0x40ffc7['get'](_0x3b9ce8),_0x310ebd=_0x2c8a47[_0x4011db(0x193)](_0x29f9a8,_0xa60db4);if(_0x310ebd&&_0x310ebd['getRange']()){const _0xc92bc1=_0x310ebd['getRange'](),_0x2db5e6={'unitId':_0x29f9a8,'sheetId':_0xa60db4,'range':_0xc92bc1,'id':te(_0x4011db(0x1bd),_0xc92bc1)};_0x3ec78c[_0x4011db(0x218)](_0x2db5e6);}const _0x98aeb5=_0x5e30f0[_0x4011db(0x1fe)](_0x29f9a8);if(_0x98aeb5&&Array[_0x4011db(0x1ec)](_0x98aeb5))for(const _0x33fc40 of _0x98aeb5){if(!(_0x33fc40!=null&&_0x33fc40[_0x4011db(0x1b5)]))continue;const _0x33729c=_0x33fc40[_0x4011db(0x1b5)],_0x3a0c8a={'unitId':_0x29f9a8,'sheetId':_0xa60db4,'range':_0x33729c,'id':te(_0x4011db(0x1e0),_0x33729c)};_0x3ec78c[_0x4011db(0x218)](_0x3a0c8a);}return _0x3ec78c;}function De(_0x52c94e,_0x1d349c){const _0x48bb12=_0x32f0cd;var _0x20fd69,_0x221f34,_0x1e8ebd;const _0x597abc=_0x52c94e[_0x48bb12(0x1a2)](),_0x2411bd={},_0x310b20=_0x52c94e[_0x48bb12(0x20c)]();for(const _0x17d889 of _0x597abc){const _0x4d6435=_0x17d889[_0x48bb12(0x1b1)](),_0x599a0e=_0x17d889[_0x48bb12(0x1cf)](),_0x45ffb4=_0x17d889[_0x48bb12(0x1a1)](),{mergeRTree:_0x3b246a,mergeRangeMap:_0x132f39}=Ue(_0x310b20,_0x17d889),_0xffe97e=ke(_0x310b20,_0x4d6435,_0x1d349c),_0x4240cd=[];let _0x3dab46=[];for(let _0x31fc40=0x0;_0x31fc40<_0x599a0e;_0x31fc40++){const _0x582157=[];let _0x23629d=new q({'sheetId':_0x4d6435,'range':{'startRow':_0x31fc40,'endRow':_0x31fc40,'startColumn':-0x1,'endColumn':-0x1}});const _0x46dbef=new Map();for(let _0x28efa2=0x0;_0x28efa2<=_0x45ffb4;_0x28efa2++){const _0x5e6ad9=_0x17d889['getCell'](_0x31fc40,_0x28efa2),_0x7e3b2c={'range':{'startRow':_0x31fc40,'startColumn':_0x28efa2,'endRow':_0x31fc40,'endColumn':_0x28efa2},'unitId':_0x310b20,'sheetId':_0x4d6435};if(_0xffe97e[_0x48bb12(0x191)]([_0x7e3b2c])[_0x48bb12(0x1bf)]>0x0){_0x23629d=_0x23629d[_0x48bb12(0x1a6)](_0x582157);continue;}const _0x5b153e=_0x3b246a[_0x48bb12(0x191)]([_0x7e3b2c]);if(_0x5b153e[_0x48bb12(0x1bf)]>0x0){const _0x3a314e=_0x23629d[_0x48bb12(0x208)](_0x3dab46),_0x2ab4c6=_0x5b153e['keys']()['next']()['value'],_0x24994a=_0x132f39[_0x48bb12(0x1b7)](_0x2ab4c6);if(!_0x24994a)continue;const _0x3c203d={'startRow':_0x24994a[_0x48bb12(0x1b5)][_0x48bb12(0x225)],'endRow':_0x24994a[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)],'startColumn':_0x24994a['range'][_0x48bb12(0x1b4)],'endColumn':_0x24994a[_0x48bb12(0x1b5)][_0x48bb12(0x22d)]},_0x5bd598=_0x17d889[_0x48bb12(0x1ed)](_0x3c203d[_0x48bb12(0x225)],_0x3c203d[_0x48bb12(0x1b4)]);if(_0x5bd598&&(_0x5bd598['p']!=null||_0x5bd598['v']!=null&&String(_0x5bd598['v'])[_0x48bb12(0x1af)]>0x0)){_0x23629d['insertCellData'](_0x31fc40,_0x28efa2,_0x5e6ad9,_0x3c203d[_0x48bb12(0x22d)]);for(let _0x3684d4=_0x3c203d[_0x48bb12(0x1b4)];_0x3684d4<=_0x3c203d[_0x48bb12(0x22d)];_0x3684d4++)_0x46dbef[_0x48bb12(0x1e1)](_0x3684d4,!0x0);}else _0x23629d=_0x23629d[_0x48bb12(0x1a6)](_0x582157);const _0x90244d=_0x3c203d[_0x48bb12(0x1f9)]-_0x3c203d['startRow'],_0x5d6443=_0x3c203d[_0x48bb12(0x22d)]-_0x3c203d[_0x48bb12(0x1b4)];if(_0x3a314e[_0x48bb12(0x1af)]===0x1){if(_0x90244d>0x0&&_0x23629d[_0x48bb12(0x1d9)][_0x48bb12(0x1e1)](_0x28efa2,_0x24994a),_0x5d6443>0x0){const _0x4270c3=(_0x20fd69=_0x23629d[_0x48bb12(0x1d4)][_0x48bb12(0x1b7)](_0x31fc40))!=null?_0x20fd69:[];_0x4270c3[_0x48bb12(0x190)](_0x24994a),_0x23629d[_0x48bb12(0x1d4)][_0x48bb12(0x1e1)](_0x31fc40,_0x4270c3);}}else{if(_0x90244d>0x0&&(_0x23629d[_0x48bb12(0x1df)]=!0x0,_0x23629d[_0x48bb12(0x1d9)][_0x48bb12(0x1e1)](_0x28efa2,_0x24994a)),_0x5d6443>0x0){_0x23629d[_0x48bb12(0x18f)]=!0x0;const _0x28655f=(_0x221f34=_0x23629d[_0x48bb12(0x1d4)][_0x48bb12(0x1b7)](_0x31fc40))!=null?_0x221f34:[];_0x28655f['push'](_0x24994a),_0x23629d['rowMergeTitleCountMap'][_0x48bb12(0x1e1)](_0x31fc40,_0x28655f);}}continue;}if((!_0x5e6ad9||z(_0x5e6ad9)==null)&&!_0x46dbef[_0x48bb12(0x1b7)](_0x28efa2)){_0x23629d=_0x23629d[_0x48bb12(0x1a6)](_0x582157);continue;}_0x5e6ad9&&z(_0x5e6ad9)!=null?_0x23629d[_0x48bb12(0x1a7)](_0x31fc40,_0x28efa2,_0x5e6ad9):(_0x23629d[_0x48bb12(0x18f)]=!0x1,_0x23629d[_0x48bb12(0x1df)]=!0x1,_0x23629d=_0x23629d['saveTableToCache'](_0x582157));}if(_0x582157[_0x48bb12(0x1af)]===0x0){_0x4240cd[_0x48bb12(0x190)](..._0x3dab46),_0x3dab46=[];continue;}if(_0x3dab46['length']===0x0){_0x3dab46[_0x48bb12(0x190)](..._0x582157);continue;}const _0x169856=(_0x34fe6f,_0xbeade0)=>{const _0x4b407a=_0x48bb12;_0x34fe6f[_0x4b407a(0x1b5)]['startRow']=Math[_0x4b407a(0x22b)](_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x225)],_0xbeade0['range'][_0x4b407a(0x225)]),_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x1f9)]=Math[_0x4b407a(0x1bc)](_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x1f9)],_0xbeade0[_0x4b407a(0x1b5)][_0x4b407a(0x1f9)]),_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x1b4)]=Math[_0x4b407a(0x22b)](_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x1b4)],_0xbeade0['range']['startColumn']),_0x34fe6f[_0x4b407a(0x1b5)][_0x4b407a(0x22d)]=Math[_0x4b407a(0x1bc)](_0x34fe6f['range'][_0x4b407a(0x22d)],_0xbeade0[_0x4b407a(0x1b5)][_0x4b407a(0x22d)]),_0xbeade0[_0x4b407a(0x1d4)][_0x4b407a(0x1d2)]((_0x2efc2c,_0x224e5a)=>{const _0x510eb4=_0x4b407a;var _0x3d83cd;const _0x36d13a=(_0x3d83cd=_0x34fe6f[_0x510eb4(0x1d4)][_0x510eb4(0x1b7)](_0x224e5a))!=null?_0x3d83cd:[];_0x36d13a[_0x510eb4(0x190)](..._0x2efc2c),_0x34fe6f['rowMergeTitleCountMap'][_0x510eb4(0x1e1)](_0x224e5a,_0x36d13a);}),_0xbeade0['columnMergeTitleCountMap']['forEach']((_0x5d1f00,_0x2c685b)=>{_0x34fe6f['columnMergeTitleCountMap']['set'](_0x2c685b,_0x5d1f00);});};for(let _0x36bda4=0x0;_0x36bda4+0x1<_0x582157[_0x48bb12(0x1af)];_0x36bda4++){const _0x1903cc=_0x582157[_0x36bda4],_0x4ae7db=_0x582157[_0x36bda4+0x1];_0x1903cc[_0x48bb12(0x197)](_0x4ae7db)&&(_0x169856(_0x1903cc,_0x4ae7db),_0x582157[_0x48bb12(0x216)](_0x36bda4+0x1,0x1),_0x36bda4--);}const _0x19f9ce=[];for(const _0x4dde06 of _0x582157){const _0x1fbe99=_0x4dde06[_0x48bb12(0x208)](_0x3dab46);if(_0x1fbe99[_0x48bb12(0x1af)]===0x0){_0x19f9ce[_0x48bb12(0x190)](_0x4dde06);continue;}const _0x42539d=(_0x1e8ebd=_0x4dde06[_0x48bb12(0x1d4)][_0x48bb12(0x1b7)](_0x31fc40))!=null?_0x1e8ebd:[];let _0x3ffbce=Number['MAX_SAFE_INTEGER'],_0xa6e298=-0x1,_0x4b145f=-0x1;for(const _0x3a7b2e of _0x42539d){const _0x1a4352=_0x3a7b2e['range'],_0x518a7d=_0x1a4352[_0x48bb12(0x1b4)],_0x477cfe=_0x1a4352[_0x48bb12(0x22d)];_0x3ffbce=Math['min'](_0x3ffbce,_0x518a7d),_0xa6e298=Math['max'](_0xa6e298,_0x477cfe);}_0xa6e298===-0x1&&(_0x4b145f=_0xa6e298-_0x3ffbce+0x1);const _0x399d24=_0x1fbe99[0x0][_0x48bb12(0x1b5)],_0x5c2630=_0x399d24['endColumn']-_0x399d24[_0x48bb12(0x1b4)]+0x1;if(_0x4b145f>=0x0&&_0x4b145f<=_0x5c2630*0x3/0x4){_0x19f9ce[_0x48bb12(0x190)](_0x4dde06);continue;}const _0x49005d=_0x1fbe99[0x0];for(const _0x20646a of _0x1fbe99[_0x48bb12(0x220)](0x1))_0x49005d['range']['startRow']=Math[_0x48bb12(0x22b)](_0x49005d['range'][_0x48bb12(0x225)],_0x20646a[_0x48bb12(0x1b5)]['startRow']),_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)]=Math[_0x48bb12(0x1bc)](_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)],_0x20646a[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)]),_0x49005d['range']['startColumn']=Math[_0x48bb12(0x22b)](_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x1b4)],_0x20646a['range']['startColumn']),_0x49005d['range'][_0x48bb12(0x22d)]=Math[_0x48bb12(0x1bc)](_0x49005d['range']['endColumn'],_0x20646a[_0x48bb12(0x1b5)][_0x48bb12(0x22d)]);_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x225)]=Math[_0x48bb12(0x22b)](_0x49005d[_0x48bb12(0x1b5)]['startRow'],_0x4dde06['range'][_0x48bb12(0x225)]),_0x49005d[_0x48bb12(0x1b5)]['endRow']=Math[_0x48bb12(0x1bc)](_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)],_0x4dde06['range'][_0x48bb12(0x1f9)]),_0x49005d['range'][_0x48bb12(0x1b4)]=Math[_0x48bb12(0x22b)](_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x1b4)],_0x4dde06[_0x48bb12(0x1b5)]['startColumn']),_0x49005d['range'][_0x48bb12(0x22d)]=Math[_0x48bb12(0x1bc)](_0x49005d[_0x48bb12(0x1b5)][_0x48bb12(0x22d)],_0x4dde06[_0x48bb12(0x1b5)][_0x48bb12(0x22d)]),_0x4dde06['rowMergeTitleCountMap'][_0x48bb12(0x1d2)]((_0x67e91a,_0x53c708)=>{const _0x270f1a=_0x48bb12;var _0x623c0;const _0x59e0cc=(_0x623c0=_0x49005d['rowMergeTitleCountMap'][_0x270f1a(0x1b7)](_0x53c708))!=null?_0x623c0:[];_0x59e0cc[_0x270f1a(0x190)](..._0x67e91a),_0x49005d[_0x270f1a(0x1d4)]['set'](_0x53c708,_0x59e0cc);}),_0x4dde06['columnMergeTitleCountMap'][_0x48bb12(0x1d2)]((_0x44f657,_0x51efd3)=>{_0x49005d['columnMergeTitleCountMap']['set'](_0x51efd3,_0x44f657);}),_0x49005d[_0x48bb12(0x1e7)]=!0x0;}const _0x4f6420=[];for(const _0x5de263 of _0x3dab46)!_0x5de263[_0x48bb12(0x1e7)]&&_0x5de263['isMatchEnd']||(_0x4f6420[_0x48bb12(0x190)](_0x5de263),_0x5de263[_0x48bb12(0x1e7)]=!0x1,_0x5de263['isMatchEnd']=!0x1);_0x4f6420[_0x48bb12(0x190)](..._0x19f9ce),_0x3dab46=_0x4f6420;}_0x4240cd[_0x48bb12(0x190)](..._0x3dab46);let _0x5542ab=0x0;for(const _0x2e2729 of _0x4240cd){const _0x4d4858=_0x2e2729[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)]-_0x2e2729[_0x48bb12(0x1b5)][_0x48bb12(0x225)]+0x1;_0x2e2729[_0x48bb12(0x1b5)][_0x48bb12(0x22d)]-_0x2e2729[_0x48bb12(0x1b5)]['startColumn']+0x1>0x0&&_0x4d4858>0x1&&_0x5542ab++;}if(_0x5542ab===0x0)continue;const _0xa61862=[],_0x1cffd6=se(0x6,_0x4240cd['length']);let _0x3c431a=0x0;for(const _0x1f6924 of _0x4240cd){const _0xbbbffc=_0x1f6924[_0x48bb12(0x1b5)][_0x48bb12(0x1f9)]-_0x1f6924['range']['startRow']+0x1,_0x2d9d0d=_0x1f6924[_0x48bb12(0x1b5)][_0x48bb12(0x22d)]-_0x1f6924[_0x48bb12(0x1b5)][_0x48bb12(0x1b4)]+0x1;let _0x382d70=!0x1;for(const _0x7d9f0 of _0x17d889[_0x48bb12(0x1ea)]())if(Je(_0x1f6924[_0x48bb12(0x1b5)],_0x7d9f0)){_0x382d70=!0x0;break;}if(_0x382d70)continue;let _0x506463=!0x0;for(const _0x59b291 of _0x4240cd)if(_0x59b291!==_0x1f6924&&Fe(_0x1f6924,_0x59b291)){_0x506463=!0x1;break;}_0x506463&&(_0x2d9d0d<=0x0||_0xbbbffc<=0x1||(_0x1f6924['id']=_0x1cffd6[_0x3c431a++],_0xa61862[_0x48bb12(0x190)](_0x1f6924)));}_0x2411bd[_0x4d6435]=_0xa61862;}return _0x2411bd;}function Le(_0x56ee5b){const _0x22fdc4=_0x32f0cd,_0x1bd6ae=new Set();for(const [_0x258371,_0x3d4ca6]of Object[_0x22fdc4(0x1a0)](_0x56ee5b))for(const _0xa3fcd3 of _0x3d4ca6){const {sheetId:_0x4feeda,range:_0xbf2a8f}=_0xa3fcd3,_0x59976f=_0x4feeda+':'+_0xbf2a8f[_0x22fdc4(0x225)]+','+_0xbf2a8f[_0x22fdc4(0x1f9)]+','+_0xbf2a8f[_0x22fdc4(0x1b4)]+','+_0xbf2a8f['endColumn'];_0x1bd6ae[_0x22fdc4(0x219)](_0x59976f);}return _0x1bd6ae;}function Be(_0x58aede,_0x367542,_0x3eaa8d){const _0x4efe2a=De(_0x58aede,_0x367542);je(_0x4efe2a,_0x58aede,_0x367542),Ve(_0x4efe2a,_0x58aede,_0x367542);const _0x51a785=qe(_0x4efe2a,_0x58aede);return Xe(_0x51a785,_0x58aede,_0x367542,_0x3eaa8d);}function Je(_0x6ea805,_0x3de434){const _0xf34f54=_0x32f0cd;return _0x6ea805['startRow']===_0x3de434[_0xf34f54(0x225)]&&_0x6ea805[_0xf34f54(0x1f9)]===_0x3de434[_0xf34f54(0x1f9)]&&_0x6ea805[_0xf34f54(0x1b4)]===_0x3de434[_0xf34f54(0x1b4)]&&_0x6ea805[_0xf34f54(0x22d)]===_0x3de434[_0xf34f54(0x22d)];}function Fe(_0x41ce81,_0x34a55d){const _0xb85717=_0x32f0cd;return _0x41ce81[_0xb85717(0x1b5)][_0xb85717(0x225)]>=_0x34a55d[_0xb85717(0x1b5)][_0xb85717(0x225)]&&_0x41ce81[_0xb85717(0x1b5)][_0xb85717(0x1f9)]<=_0x34a55d[_0xb85717(0x1b5)][_0xb85717(0x1f9)]&&_0x41ce81[_0xb85717(0x1b5)][_0xb85717(0x1b4)]>=_0x34a55d[_0xb85717(0x1b5)]['startColumn']&&_0x41ce81[_0xb85717(0x1b5)][_0xb85717(0x22d)]<=_0x34a55d[_0xb85717(0x1b5)][_0xb85717(0x22d)];}function ze(_0x4c8117){const _0x4646c1=_0x32f0cd;return''+ne(_0x4c8117[_0x4646c1(0x1b4)])+(_0x4c8117[_0x4646c1(0x225)]+0x1)+':'+ne(_0x4c8117['endColumn'])+(_0x4c8117[_0x4646c1(0x1f9)]+0x1);}function Me(_0x2c09ac){const _0x31c7b1=_0x32f0cd;if(_0x2c09ac!==null){if(_0x2c09ac!=null&&_0x2c09ac['p']){const _0x593d73=_0x2c09ac==null?void 0x0:_0x2c09ac['p']['body'];if(_0x593d73==null)return;const _0x443c60=_0x593d73[_0x31c7b1(0x1a4)];return _0x33483e[_0x31c7b1(0x1e6)][_0x31c7b1(0x18e)](_0x443c60);}if(_0x2c09ac!=null&&_0x2c09ac['v'])return _0x2c09ac['v'];}}function z(_0x4551b7){if(Me(_0x4551b7)!=null)return String(_0x4551b7['v']);}function Ge(_0x31ea6c,_0x545cfa,_0x2a57e8,_0x86ef6b){const _0x16f308=_0x32f0cd,_0x57c8bf=_0x2a57e8[_0x16f308(0x1ed)](_0x31ea6c,_0x545cfa);if(_0x57c8bf!=null){for(const _0x56b035 of _0x86ef6b)if(_0x31ea6c>=_0x56b035[_0x16f308(0x225)]&&_0x31ea6c<=_0x56b035[_0x16f308(0x1f9)]&&_0x545cfa>=_0x56b035['startColumn']&&_0x545cfa<=_0x56b035[_0x16f308(0x22d)]){const _0x24912d=_0x2a57e8[_0x16f308(0x1ed)](_0x56b035[_0x16f308(0x225)],_0x56b035['startColumn']);return _0x24912d==null?void 0x0:z(_0x24912d);}return z(_0x57c8bf);}}function Ve(_0x205ab1,_0x3afe34,_0x2948fd){const _0x584a1d=_0x32f0cd,_0x5a1b35=_0x3afe34[_0x584a1d(0x1a2)](),_0x11cef2=se(0x6,_0x5a1b35[_0x584a1d(0x1af)]);let _0x508db3=0x0;const _0x1db797=_0x3afe34[_0x584a1d(0x20c)](),_0x247b5e=_0x2948fd[_0x584a1d(0x1b7)](_0x3212bb),_0x31d8be=Le(_0x205ab1);for(const _0x1eb6bb of _0x5a1b35){const _0x1bb825=_0x1eb6bb[_0x584a1d(0x1b1)](),_0x208c00=_0x247b5e[_0x584a1d(0x193)](_0x1db797,_0x1bb825);if(!_0x208c00)continue;const _0x309a7c=_0x208c00['getRange'](),{startRow:_0x2e2455,endRow:_0x1cb413,startColumn:_0x5050a6,endColumn:_0x286c89}=_0x309a7c;if(_0x286c89-_0x5050a6>=0x3e8)continue;const _0x131ff1=_0x1bb825+':'+_0x2e2455+','+_0x1cb413+','+_0x5050a6+','+_0x286c89;if(_0x31d8be[_0x584a1d(0x199)](_0x131ff1))continue;const _0xcc3b2f=new q({'id':_0x11cef2[_0x508db3++],'sheetId':_0x1bb825,'range':{'startRow':_0x2e2455,'endRow':_0x1cb413,'startColumn':_0x5050a6,'endColumn':_0x286c89},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x1});_0x205ab1[_0x1bb825]||(_0x205ab1[_0x1bb825]=[]),_0x205ab1[_0x1bb825][_0x584a1d(0x190)](_0xcc3b2f);}}function je(_0x1e5749,_0x69117e,_0x58345b){const _0x2dd27e=_0x32f0cd,_0x30bf10=_0x69117e[_0x2dd27e(0x1a2)](),_0x2f7693=_0x58345b[_0x2dd27e(0x1b7)](_0x3b9ce8),_0x453460=_0x69117e[_0x2dd27e(0x20c)]();for(const _0xe1d016 of _0x30bf10){const _0x575a53=_0xe1d016[_0x2dd27e(0x1b1)](),_0x4b1684=_0x2f7693[_0x2dd27e(0x1fa)](_0x453460,_0x575a53);if(!_0x4b1684)continue;const _0x51d25a=_0x4b1684[_0x2dd27e(0x196)](_0x508557=>_0x508557[_0x2dd27e(0x195)]());for(const _0x2e28ff of _0x51d25a){const {startRow:_0x2490a3,endRow:_0x432510,startColumn:_0x2684cb,endColumn:_0x272b49}=_0x2e28ff[_0x2dd27e(0x1b5)],_0x36da5d=new q({'id':_0x2e28ff['id'],'sheetId':_0x575a53,'range':{'startRow':_0x2490a3,'endRow':_0x432510,'startColumn':_0x2684cb,'endColumn':_0x272b49},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x1e5749[_0x575a53]||(_0x1e5749[_0x575a53]=[]),_0x1e5749[_0x575a53][_0x2dd27e(0x190)](_0x36da5d);}}}function qe(_0x45066f,_0x42e351){const _0x42e3a7=_0x32f0cd;var _0x3a9763,_0x55dd6c,_0x3a6c4d,_0x48bf70;for(const [_0x51182e,_0x42315b]of Object[_0x42e3a7(0x1a0)](_0x45066f)){const _0x591217=_0x42315b;let _0x46ab03=!0x1;const _0x531b9b=_0x42e351[_0x42e3a7(0x1e3)](_0x51182e);if(_0x531b9b){for(let _0x3a30e4=0x0;_0x3a30e4<_0x591217[_0x42e3a7(0x1af)];_0x3a30e4++){const _0x8af054=_0x591217[_0x3a30e4],_0xd034fa=_0x8af054[_0x42e3a7(0x1b5)],{startRow:_0x14112c,endRow:_0x259530,startColumn:_0x22f5e9,endColumn:_0x124f26}=_0xd034fa,_0xff0e35=Ze(_0x8af054,_0x531b9b),_0x33c2d3=We(_0x14112c,_0x259530,_0x8af054);let _0x1003c6=0x1;const _0x172d43=_0x14112c+_0x33c2d3;let _0x4610e0=0x0,_0x313938=0x0;for(let _0x2e3c3d=_0x22f5e9;_0x2e3c3d<=_0x124f26;_0x2e3c3d++){const _0x3c9365=_0x531b9b[_0x42e3a7(0x1ed)](_0x172d43,_0x2e3c3d);if(!_0x3c9365)continue;const _0xd48f00=z(_0x3c9365);_0xd48f00!=null&&(_0xd48f00!==''&&_0x313938++,ue(_0xd48f00)&&_0x4610e0++);}if(_0x313938>0x0&&_0x4610e0/Math[_0x42e3a7(0x1bc)](_0x313938,0x1)>0.03&&(_0x1003c6=0x0),_0x8af054['mergeRowTitleCount']=_0x33c2d3,_0x8af054['rowTitleCount']=_0x1003c6+_0x33c2d3,_0x8af054[_0x42e3a7(0x1b5)][_0x42e3a7(0x1f9)]-_0x8af054[_0x42e3a7(0x1b5)][_0x42e3a7(0x225)]+0x1-_0x8af054['rowTitleCount']<=0x1){console['warn'](_0x42e3a7(0x1d5)+_0x3a30e4+_0x42e3a7(0x212)+ze(_0x8af054[_0x42e3a7(0x1b5)])),_0x591217[_0x42e3a7(0x216)](_0x3a30e4,0x1),_0x3a30e4--,_0x46ab03=!0x0;continue;}const _0x4ec9ef=new Map();let _0x40857f=0x0;const _0x303533=se(0x4,_0x124f26-_0x22f5e9+0x1);for(let _0x1af0ca=_0x22f5e9;_0x1af0ca<=_0x124f26;_0x1af0ca++){let _0x152151='';const _0x58884c=new Set();let _0x23cb79=!0x1;const _0x2bb707=_0x14112c+_0x8af054['rowTitleCount']-0x1;let _0x4aafba=_0x14112c;_0xff0e35!==''&&(_0x4aafba=_0x14112c+0x1);for(let _0x532f5a=_0x4aafba;_0x532f5a<=_0x2bb707;_0x532f5a++){const _0x5cd5d9=Ge(_0x532f5a,_0x1af0ca,_0x531b9b,(_0x55dd6c=(_0x3a9763=_0x42e351['getSheetBySheetId'](_0x8af054[_0x42e3a7(0x1f3)]))==null?void 0x0:_0x3a9763[_0x42e3a7(0x1ea)]())!=null?_0x55dd6c:[]);_0x5cd5d9!=null&&(_0x532f5a===_0x2bb707&&(_0x152151=_0x5cd5d9),_0x58884c[_0x42e3a7(0x219)](_0x5cd5d9));}const _0x15c8ec=[..._0x58884c]['join'](','),_0x700083=_0x15c8ec;_0x4ec9ef[_0x42e3a7(0x199)](_0x700083)?_0x23cb79=!0x0:_0x4ec9ef[_0x42e3a7(0x1e1)](_0x700083,!0x0);const _0x5cb0bc=_0x2bb707+0x1;let _0x4c6a72=_0x2bb707+0x14,_0x309d49=0x0,_0x58e3c0=!0x1,_0x5b3e40=!0x1;if(_0x4c6a72>_0x259530&&(_0x4c6a72=_0x259530),_0x5cb0bc<_0x259530){let _0x4ccc98='';for(let _0x7fc304=_0x5cb0bc;_0x7fc304<=_0x4c6a72;_0x7fc304++){const _0x48cb41=_0x531b9b[_0x42e3a7(0x1ed)](_0x7fc304,_0x1af0ca);if(!_0x48cb41)continue;const _0x3e80de=z(_0x48cb41);_0x3e80de!=null&&(ue(_0x3e80de)||(_0x4ccc98+=_0x3e80de),et(_0x3e80de)&&_0x309d49++);}_0x309d49>Math[_0x42e3a7(0x1a3)]((_0x4c6a72-_0x5cb0bc+0x1)/0x2)&&(_0x5b3e40=!0x0),tt(_0x4ccc98)/Math['max'](_0x4c6a72-_0x5cb0bc+0x1,0x1)>0xf&&!_0x5b3e40&&(_0x58e3c0=!0x0);}_0x8af054['columns'][_0x42e3a7(0x190)]({'id':_0x303533[_0x40857f++],'Name':_0x152151,'Type':'','Description':_0x15c8ec,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x58e3c0,'isLink':_0x5b3e40,'isTitleRepeat':_0x23cb79,'isUnique':!0x1,'links':[]});}He(_0x8af054,_0x42e351);}_0x46ab03&&(_0x45066f[_0x51182e]=_0x591217),_0x591217[_0x42e3a7(0x1af)]===0x0&&delete _0x45066f[_0x51182e],(_0x48bf70=(_0x3a6c4d=_0x45066f[_0x51182e])==null?void 0x0:_0x3a6c4d['length'])!=null;}}return _0x45066f;}function We(_0x217bed,_0x28f4a4,_0x2fd866){const _0x8d8cf1=_0x32f0cd;var _0x36b098;function _0x37df85(_0xd28ff5){const _0xc070a6=_0xec3f;if(_0xd28ff5[_0xc070a6(0x1af)]===0x0)return 0x0;_0xd28ff5[_0xc070a6(0x22a)]((_0x58c434,_0x516b1d)=>_0x58c434[0x0]-_0x516b1d[0x0]);let _0x2de608=0x0,_0x4d2518=_0xd28ff5[0x0][0x0],_0x163eac=_0xd28ff5[0x0][0x1];for(let _0x496f91=0x1;_0x496f91<_0xd28ff5[_0xc070a6(0x1af)];_0x496f91++){const [_0x43c2db,_0x5b77dd]=_0xd28ff5[_0x496f91];_0x43c2db<=_0x163eac+0x1?_0x163eac=Math['max'](_0x163eac,_0x5b77dd):(_0x2de608+=_0x163eac-_0x4d2518+0x1,_0x4d2518=_0x43c2db,_0x163eac=_0x5b77dd);}return _0x2de608+=_0x163eac-_0x4d2518+0x1,_0x2de608;}const _0x2e490d=_0x2fd866[_0x8d8cf1(0x1b5)][_0x8d8cf1(0x1b4)],_0x287afb=_0x2fd866[_0x8d8cf1(0x1b5)][_0x8d8cf1(0x22d)],_0x7dab83=_0x287afb-_0x2e490d+0x1;let _0xf64238=_0x217bed-0x1,_0xf647dc=_0x217bed-0x1,_0x2056f7=!0x1;const _0x43e3e9=0x64;for(let _0xb2514e=_0x217bed;_0xb2514e<=_0x28f4a4&&_0xb2514e-_0x217bed<_0x43e3e9;_0xb2514e++){const _0x3f6076=[],_0x1315f7=(_0x36b098=_0x2fd866[_0x8d8cf1(0x1d4)][_0x8d8cf1(0x1b7)](_0xb2514e))!=null?_0x36b098:[];for(const _0x1c0523 of _0x1315f7){const _0x2234a8=_0x1c0523[_0x8d8cf1(0x1b5)]['startColumn'],_0x247af4=_0x1c0523[_0x8d8cf1(0x1b5)]['endColumn'],_0x188f88=Math[_0x8d8cf1(0x1bc)](_0x2234a8,_0x2e490d),_0x2ae8a9=Math[_0x8d8cf1(0x22b)](_0x247af4,_0x287afb);_0x188f88<=_0x2ae8a9&&_0x3f6076['push']([_0x188f88,_0x2ae8a9]);}_0x2fd866['columnMergeTitleCountMap'][_0x8d8cf1(0x1d2)](_0x31cdf1=>{const _0x393f5b=_0x8d8cf1,_0x366cb5=_0x31cdf1[_0x393f5b(0x1b5)][_0x393f5b(0x225)],_0x2ea2e5=_0x31cdf1[_0x393f5b(0x1b5)][_0x393f5b(0x1f9)];if(_0x366cb5<=_0xb2514e&&_0xb2514e<=_0x2ea2e5){const _0x36b19e=_0x31cdf1[_0x393f5b(0x1b5)]['startColumn'],_0x14ac54=_0x31cdf1[_0x393f5b(0x1b5)][_0x393f5b(0x22d)],_0x1b8536=Math[_0x393f5b(0x1bc)](_0x36b19e,_0x2e490d),_0x523554=Math[_0x393f5b(0x22b)](_0x14ac54,_0x287afb);_0x1b8536<=_0x523554&&_0x3f6076[_0x393f5b(0x190)]([_0x1b8536,_0x523554]);}});const _0x218c11=_0x37df85(_0x3f6076),_0x345dee=_0x218c11/Math[_0x8d8cf1(0x1bc)](_0x7dab83,0x1);_0x3f6076['length']>0x0&&(_0xf64238=_0xb2514e),_0x218c11>0x0&&_0x345dee>=0.75&&!_0x2056f7?_0xf647dc=_0xb2514e:_0x3f6076[_0x8d8cf1(0x1af)]>0x0&&(_0x2056f7=!0x0);}return _0xf64238===_0x28f4a4||_0xf64238-_0x217bed===_0x43e3e9?_0xf647dc-_0x217bed+0x1:_0xf64238-_0x217bed+0x1;}function Ze(_0x1e0de6,_0xd1fa97){const _0x173dee=_0x32f0cd;if(_0x1e0de6['name']&&_0x1e0de6[_0x173dee(0x1ca)]!=='')return _0x1e0de6[_0x173dee(0x1ca)];const _0x3a9c5f=_0x1e0de6['range']['startRow'],_0x3d7d2a=_0x1e0de6[_0x173dee(0x1b5)][_0x173dee(0x1b4)],_0x5bfe1d=_0x1e0de6[_0x173dee(0x1b5)]['endColumn'],_0x5bf30e=0x3,_0xcf9f59=_0x1e0de6['rowMergeTitleCountMap']['get'](_0x3a9c5f);if(_0xcf9f59&&_0xcf9f59[_0x173dee(0x1af)]>0x0)for(const _0x1a572a of _0xcf9f59){const _0x3d53de=_0x1a572a[_0x173dee(0x1b5)],_0x1b782c=_0x3d53de[_0x173dee(0x1b4)],_0x550740=_0x3d53de['endColumn'];if(_0x1b782c<=_0x3d7d2a+_0x5bf30e&&_0x550740>=_0x5bfe1d-_0x5bf30e){const _0x5df371=_0xd1fa97[_0x173dee(0x1ed)](_0x3a9c5f,_0x1b782c);if(!_0x5df371)return'';const _0x32670a=z(_0x5df371);return _0x32670a==null||_0x32670a===''?'':(_0x1e0de6[_0x173dee(0x1ca)]=_0x32670a,_0x32670a);}}return'';}function He(_0x253016,_0x37c4fc){const _0x4b983b=_0x32f0cd,_0x529515={};_0x37c4fc[_0x4b983b(0x1a9)]()[_0x4b983b(0x1e9)](_0x22a434=>{const _0x52ce64=_0x4b983b,[_0x46f57f,_0x1282aa]=_0x22a434;return!_0x46f57f||!_0x1282aa||_0x1282aa['n']&&typeof _0x1282aa['n'][_0x52ce64(0x209)]==_0x52ce64(0x1c4)&&/[YyMDd]/[_0x52ce64(0x1e8)](_0x1282aa['n']['pattern'])&&(_0x529515[_0x46f57f]=!0x0),!0x0;});const _0x45c4ce=_0x253016[_0x4b983b(0x1b5)]['startRow'],_0x542d05=_0x253016[_0x4b983b(0x1b5)][_0x4b983b(0x1f9)],_0x20206c=_0x253016['rowTitleCount'],_0x13b6fa=_0x253016[_0x4b983b(0x1f3)],_0x10af94=_0x37c4fc[_0x4b983b(0x1e3)](_0x13b6fa);if(!_0x10af94)return;const _0x51b085=_0x542d05-_0x45c4ce+0x1-_0x20206c;if(_0x51b085<=0x1){console[_0x4b983b(0x1a5)](_0x4b983b(0x211));return;}const _0x423b14=[];for(let _0x5183f1=0x0;_0x5183f1<_0x253016['range']['endColumn']-_0x253016[_0x4b983b(0x1b5)][_0x4b983b(0x1b4)]+0x1;_0x5183f1++)_0x423b14[_0x4b983b(0x190)](new Pe(_0x529515));const _0x4ee047=Math[_0x4b983b(0x223)](Math['max'](_0x51b085,0x1));for(let _0x3dc19f=0x0;;_0x3dc19f++){const _0x370d38=_0x3dc19f,_0x26b8ef=Math[_0x4b983b(0x1a3)](_0x370d38+0.00001*_0x370d38**2.7*_0x4ee047*_0x4ee047)+_0x45c4ce+_0x20206c;if(_0x26b8ef>_0x542d05)break;for(let _0x39636f=_0x253016[_0x4b983b(0x1b5)]['startColumn'];_0x39636f<=_0x253016[_0x4b983b(0x1b5)][_0x4b983b(0x22d)];_0x39636f++){const _0x442537=_0x10af94[_0x4b983b(0x1ed)](_0x26b8ef,_0x39636f);_0x442537&&_0x423b14[_0x39636f-_0x253016[_0x4b983b(0x1b5)][_0x4b983b(0x1b4)]][_0x4b983b(0x1c7)](_0x442537);}}for(let _0x5cb7a6=0x0;_0x5cb7a6<_0x253016[_0x4b983b(0x226)][_0x4b983b(0x1af)];_0x5cb7a6++){const [_0x1001ad,_0x4819ec]=_0x423b14[_0x5cb7a6]['Best']();_0x253016[_0x4b983b(0x226)][_0x5cb7a6][_0x4b983b(0x21a)]=_0x1001ad;}}function pe(_0x2339e7){const _0x340568=_0x32f0cd,_0x3ba2cc=[];for(const _0x2d4fb5 of _0x2339e7[_0x340568(0x210)])_0x3ba2cc[_0x340568(0x190)]({'tableId':_0x2d4fb5['tableId'],'columnId':_0x2d4fb5[_0x340568(0x1cb)],'linkType':_0x2d4fb5['linkType']});return _0x3ba2cc;}function Ye(_0x4a373e){const _0x3eac02=_0x32f0cd;return _0x4a373e[_0x3eac02(0x1d0)]===0x1;}function Ke(_0x228c7c,_0x5c0bb6,_0xeac46a,_0x5ee734,_0x57d89c){const _0x2ee5b0=_0x32f0cd,_0x51827e=_0x5ee734[_0x2ee5b0(0x1b7)](_0x3b9ce8),_0x55920c=_0x5c0bb6['getUnitId'](),_0x2e6f2b=_0x228c7c['sheetId'];if(_0x51827e['getTablesBySubunitId'](_0x55920c,_0x2e6f2b)){for(const _0x19be41 of _0xeac46a)if(_0x19be41['id']===_0x228c7c['id']){_0x19be41[_0x2ee5b0(0x1ca)]=_0x228c7c[_0x2ee5b0(0x1ca)],_0x19be41[_0x2ee5b0(0x1d8)]={},_0x19be41[_0x2ee5b0(0x1d8)][_0x2ee5b0(0x1ac)]=_0x228c7c[_0x2ee5b0(0x1ac)],_0x19be41['meta'][_0x2ee5b0(0x1d0)]=_0x228c7c[_0x2ee5b0(0x1d0)],_0x19be41[_0x2ee5b0(0x1d8)]['mergeRowTitleCount']=_0x228c7c[_0x2ee5b0(0x1c3)],_0x19be41['meta'][_0x2ee5b0(0x1e4)]=_0x228c7c[_0x2ee5b0(0x1e4)];for(let _0x46c7a4=0x0;_0x46c7a4<_0x228c7c[_0x2ee5b0(0x226)]['length'];_0x46c7a4++){const _0x58f20d=_0x228c7c[_0x2ee5b0(0x226)][_0x46c7a4],_0xa5f799=_0x19be41[_0x2ee5b0(0x226)][_0x46c7a4];_0xa5f799[_0x2ee5b0(0x19f)]=_0x58f20d['Name'],_0xa5f799[_0x2ee5b0(0x21c)]=_0x58f20d[_0x2ee5b0(0x21a)],_0xa5f799['meta']={},_0xa5f799['meta']['description']=_0x58f20d[_0x2ee5b0(0x204)],_0xa5f799['meta'][_0x2ee5b0(0x1ae)]=_0x58f20d[_0x2ee5b0(0x1ae)],_0xa5f799[_0x2ee5b0(0x1d8)]['isMeasure']=_0x58f20d[_0x2ee5b0(0x229)],_0xa5f799['meta'][_0x2ee5b0(0x1d6)]=_0x58f20d[_0x2ee5b0(0x1d6)],_0xa5f799[_0x2ee5b0(0x1d8)][_0x2ee5b0(0x1dc)]=_0x58f20d[_0x2ee5b0(0x1dc)],_0xa5f799[_0x2ee5b0(0x1d8)]['isLink']=_0x58f20d[_0x2ee5b0(0x1ce)],_0xa5f799[_0x2ee5b0(0x1d8)]['isTitleRepeat']=_0x58f20d['isTitleRepeat'],_0xa5f799[_0x2ee5b0(0x1d8)][_0x2ee5b0(0x1f8)]=_0x58f20d[_0x2ee5b0(0x1f8)],_0xa5f799['meta']['links']=pe(_0x58f20d);}Te(_0x19be41,_0x2e6f2b,_0x5c0bb6,_0x57d89c);}}}function Xe(_0x43c657,_0x45a81e,_0x4af3da,_0x4b04d5){const _0x165a84=_0x32f0cd,_0x1e03d6=_0x4af3da[_0x165a84(0x1b7)](_0x3b9ce8),_0x3a816c=_0x45a81e[_0x165a84(0x20c)](),_0x10026c={};for(const [_0x40ad40,_0x502106]of Object[_0x165a84(0x1a0)](_0x43c657)){const _0x3370b2=_0x1e03d6[_0x165a84(0x1fa)](_0x3a816c,_0x40ad40),_0x860be2=(_0x3370b2==null?void 0x0:_0x3370b2[_0x165a84(0x196)](_0x3b9ffc=>_0x3b9ffc[_0x165a84(0x195)]()))||[];for(const _0x4dce8a of _0x502106){if(_0x4dce8a['isUpdateTable']){Ke(_0x4dce8a,_0x45a81e,_0x860be2,_0x4af3da,_0x4b04d5);continue;}const _0x4b2c2d={'id':_0x4dce8a['id'],'range':{'startRow':_0x4dce8a[_0x165a84(0x1b5)][_0x165a84(0x225)]+_0x4dce8a[_0x165a84(0x1c3)],'endRow':_0x4dce8a[_0x165a84(0x1b5)][_0x165a84(0x1f9)],'startColumn':_0x4dce8a[_0x165a84(0x1b5)]['startColumn'],'endColumn':_0x4dce8a[_0x165a84(0x1b5)][_0x165a84(0x22d)]},'name':_0x4dce8a[_0x165a84(0x1ca)],'meta':{},'options':{'showHeader':Ye(_0x4dce8a),'showFooter':!0x1},'columns':[],'filters':{}};_0x4b2c2d[_0x165a84(0x1d8)][_0x165a84(0x1ac)]=_0x4dce8a[_0x165a84(0x1ac)],_0x4b2c2d[_0x165a84(0x1d8)][_0x165a84(0x1d0)]=_0x4dce8a[_0x165a84(0x1d0)],_0x4b2c2d[_0x165a84(0x1d8)][_0x165a84(0x1c3)]=_0x4dce8a['mergeRowTitleCount'],_0x4b2c2d[_0x165a84(0x1d8)][_0x165a84(0x1e4)]=_0x4dce8a[_0x165a84(0x1e4)];const _0x2ba7ec=_0x4dce8a['range'][_0x165a84(0x1b4)];for(let _0x39424f=0x0;_0x39424f<_0x4dce8a['columns'][_0x165a84(0x1af)];_0x39424f++){const _0x280b4f=_0x4dce8a[_0x165a84(0x226)][_0x39424f],_0x26eba7={'id':_0x280b4f['id'],'displayName':_0x280b4f['Name']||_0x165a84(0x1ef)+ne(_0x2ba7ec+_0x39424f),'dataType':_0x280b4f[_0x165a84(0x21a)],'meta':{},'formula':'','style':{}};_0x26eba7[_0x165a84(0x1d8)][_0x165a84(0x1ac)]=_0x280b4f[_0x165a84(0x204)],_0x26eba7[_0x165a84(0x1d8)][_0x165a84(0x1ae)]=_0x280b4f[_0x165a84(0x1ae)],_0x26eba7['meta'][_0x165a84(0x229)]=_0x280b4f['isMeasure'],_0x26eba7['meta'][_0x165a84(0x1d6)]=_0x280b4f[_0x165a84(0x1d6)],_0x26eba7['meta'][_0x165a84(0x1dc)]=_0x280b4f[_0x165a84(0x1dc)],_0x26eba7[_0x165a84(0x1d8)][_0x165a84(0x1ce)]=_0x280b4f[_0x165a84(0x1ce)],_0x26eba7[_0x165a84(0x1d8)][_0x165a84(0x201)]=_0x280b4f[_0x165a84(0x201)],_0x26eba7[_0x165a84(0x1d8)]['isUnique']=_0x280b4f[_0x165a84(0x1f8)],_0x26eba7[_0x165a84(0x1d8)]['links']=pe(_0x280b4f),_0x4b2c2d['columns'][_0x165a84(0x190)](_0x26eba7);}Te(_0x4b2c2d,_0x40ad40,_0x45a81e,_0x4b04d5),_0x860be2[_0x165a84(0x190)](_0x4b2c2d);}_0x10026c[_0x40ad40]=_0x860be2;}for(const _0x2a4533 of Object['keys'](_0x43c657))_0x43c657[_0x2a4533][_0x165a84(0x1d2)](_0x171728=>{_0x171728['dispose']();});return _0x10026c;}function le(_0x274536,_0x43f051,_0x59dcfa=0x5){const _0x5aada8=_0x32f0cd;if(!Array[_0x5aada8(0x1ec)](_0x274536)||_0x274536[_0x5aada8(0x1af)]===0x0)return[];const _0x5a3c52=Math['min'](_0x43f051,_0x274536[_0x5aada8(0x1af)]),_0x4e2de6=Math[_0x5aada8(0x22b)](_0x5a3c52+_0x59dcfa,_0x274536[_0x5aada8(0x1af)]);return _0x274536['slice'](_0x5a3c52,_0x4e2de6);}function Te(_0x31723d,_0x3fb1b4,_0x1a9516,_0x5912dd){const _0x37813e=_0x32f0cd,_0x3415ba=_0x1a9516['getSheetBySheetId'](_0x3fb1b4);if(!_0x3415ba)return;const _0x468e6a=_0x31723d[_0x37813e(0x1b5)],_0x4a297e=Qe(_0x3415ba,_0x468e6a);_0x5912dd===ee[_0x37813e(0x20f)]?_0x31723d[_0x37813e(0x1be)]=JSON[_0x37813e(0x1cd)](le(_0x4a297e,0x1,0x5)):_0x5912dd===ee[_0x37813e(0x1b2)]&&(_0x31723d['data']=JSON['stringify'](le(_0x4a297e,0x1,_0x4a297e[_0x37813e(0x1af)])));}function Qe(_0x36de3d,_0x1bdf77){const _0x38e028=_0x32f0cd;var _0x550001;const {startRow:_0x10b7ba,endRow:_0x2591f9,startColumn:_0x198d90,endColumn:_0x235252}=_0x1bdf77,_0x93cf91=[];for(let _0x6d3512=_0x10b7ba;_0x6d3512<=_0x2591f9;_0x6d3512++){const _0x40c79d=[];for(let _0x5b72b9=_0x198d90;_0x5b72b9<=_0x235252;_0x5b72b9++){const _0x53da0e=_0x36de3d[_0x38e028(0x1ed)](_0x6d3512,_0x5b72b9);_0x53da0e?_0x40c79d[_0x38e028(0x190)]((_0x550001=Me(_0x53da0e))!=null?_0x550001:''):_0x40c79d[_0x38e028(0x190)]('');}_0x93cf91[_0x38e028(0x190)](_0x40c79d);}return _0x93cf91;}function et(_0x40dcbc){const _0x1efb3e=_0x32f0cd;return/https?:\/\/|www\./i[_0x1efb3e(0x1e8)](_0x40dcbc);}function tt(_0x4cb397){const _0x1f3027=_0x32f0cd;return Array[_0x1f3027(0x1d3)](_0x4cb397)['length'];}function ue(_0x46db4e){return _0x46db4e?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i['test'](_0x46db4e['trim']()):!0x1;}function ne(_0x31257e){const _0x2fc2be=_0x32f0cd;let _0x503c85='',_0x141782=_0x31257e+0x1;for(;_0x141782>0x0;){const _0x1caf3b=(_0x141782-0x1)%0x1a;_0x503c85=String[_0x2fc2be(0x224)](0x41+_0x1caf3b)+_0x503c85,_0x141782=Math[_0x2fc2be(0x1a3)]((_0x141782-0x1)/0x1a);}return _0x503c85;}var nt=Object[_0x32f0cd(0x19e)],ot=(_0x112417,_0x24588c,_0x3f5728,_0x5a8b5c)=>{const _0x58c00c=_0x32f0cd;for(var _0x16aa6e=_0x5a8b5c>0x1?void 0x0:_0x5a8b5c?nt(_0x24588c,_0x3f5728):_0x24588c,_0x2cabfb=_0x112417[_0x58c00c(0x1af)]-0x1,_0x225802;_0x2cabfb>=0x0;_0x2cabfb--)(_0x225802=_0x112417[_0x2cabfb])&&(_0x16aa6e=_0x225802(_0x16aa6e)||_0x16aa6e);return _0x16aa6e;},rt=(_0x479d2e,_0x65c3cd)=>(_0x39aa84,_0x26db6c)=>_0x65c3cd(_0x39aa84,_0x26db6c,_0x479d2e);function _0x58ca(){const _0x5bb8bf=['02/01/2006','getUnitId','needConvert','isMatchEnd','Sample','links','skip\x20small\x20table',',\x20rangeName:','709604XozBAW','545816tGEXTd','1565540tkgPPH','splice','date','insert','add','Type','2006年1月2日','dataType','trim','Calc','_isRowContinuous','slice','02.01.2006','2006/1/2','log10','fromCharCode','startRow','columns','values','01-02-2006','isMeasure','sort','min','Jan.\x202,\x202006','endColumn','2\x20Jan.,\x202006','108KNmzkZ','2\x20January,\x202006','getPlainText','rowMergeTitleState','push','bulkSearch','None','getFilterModel','getAllTableJson','toJSON','map','intersectWithColumns','isUpdateTable','has','5022414WXJWLJ','layout','Confidence','_injector','getOwnPropertyDescriptor','displayName','entries','getColumnCount','getSheets','floor','dataStream','warn','saveTableToCache','insertCellData','2006-01-02T15:04:05','getStyles','boolean','NUMBER','description','defineProperty','isCoded','length','UNIVER_RANGE_PREPROCESS_PLUGIN','getSheetId','All','404762fBGQYY','startColumn','range','_config','get','2\x20January,2006','2006-1-2','onReady','startStatisticRowCount','max','autoFilter','data','size','trunc','20060102','setConfig','mergeRowTitleCount','string','endStatisticRowCount','unknown','Match','pluginName','3428fSXXLQ','name','columnId','merge','stringify','isLink','getRowCount','rowTitleCount','dateStyles','forEach','from','rowMergeTitleCountMap','skip\x20small\x20table,\x20idx:','isOpinionText','excel','meta','columnMergeTitleCountMap','replace','timeStampStyles','isBigText','BOOLEAN','recognizers','columnMergeTitleState','table','set','Charset','getSheetBySheetId','isTimeSeries','clear','transform','isMatchContinue','test','each','getMergeData','sample','isArray','getCell','44xGxlKv','column_','January\x202,\x202006','01/02/2006','Layout','sheetId','January\x202,2006','STRING','2006/01/02','toLowerCase','isUnique','endRow','getTablesBySubunitId','valid','invalid','isTestTable','getTableList','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','2006-01-02','isTitleRepeat','none','_configService','Description','number','4110MBlZhA','71322NCjnKU','intersectWithPreTables','pattern','Best'];_0x58ca=function(){return _0x5bb8bf;};return _0x58ca();}let oe=class extends _0x5ef1bd{constructor(_0x41238d){const _0x4d361d=_0x32f0cd;super(),this[_0x4d361d(0x19d)]=_0x41238d;}[_0x32f0cd(0x194)](_0x3b7023,_0x58e1af){const _0x403d6a=_0x32f0cd;return Be(_0x3b7023,this[_0x403d6a(0x19d)],_0x58e1af);}};oe=ot([rt(0x0,_0x369fc3(_0x43d733))],oe);var st=Object[_0x32f0cd(0x19e)],it=(_0x3c493a,_0x3d2c6b,_0x44beb6,_0x3e7f89)=>{const _0x44b04d=_0x32f0cd;for(var _0xb3d08=_0x3e7f89>0x1?void 0x0:_0x3e7f89?st(_0x3d2c6b,_0x44beb6):_0x3d2c6b,_0x1ac045=_0x3c493a[_0x44b04d(0x1af)]-0x1,_0x468994;_0x1ac045>=0x0;_0x1ac045--)(_0x468994=_0x3c493a[_0x1ac045])&&(_0xb3d08=_0x468994(_0xb3d08)||_0xb3d08);return _0xb3d08;},ce=(_0xa15081,_0x294cab)=>(_0xac26d7,_0x2ca7db)=>_0x294cab(_0xac26d7,_0x2ca7db,_0xa15081);const at=_0x32f0cd(0x1ff);var X;let de=(X=class extends _0x1c32dc{constructor(_0x3b8e9a={},_0x68ea0c,_0x26a1a2){const _0xc25c7b=_0x32f0cd;super(),this[_0xc25c7b(0x1b6)]=_0x3b8e9a,this[_0xc25c7b(0x19d)]=_0x68ea0c,this[_0xc25c7b(0x203)]=_0x26a1a2;const {..._0x46bdbc}=_0x60689e({},this[_0xc25c7b(0x1b6)]);this['_configService'][_0xc25c7b(0x1c2)](at,_0x46bdbc);}['onStarting'](){const _0x811597=[[oe]];_0x243064(this['_injector'],_0x811597);}[_0x32f0cd(0x1ba)](){}},M(X,_0x32f0cd(0x1c8),_0x32f0cd(0x1b0)),X);de=it([ce(0x1,_0x369fc3(_0x43d733)),ce(0x2,_0x4c54d9)],de);export{oe as RangePreprocessController,de as UniverRangePreprocessPlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x49a07d=_0x2c57;(function(_0xb73fa3,_0x1effe5){var _0x2fd995=_0x2c57,_0x3a7f6e=_0xb73fa3();while(!![]){try{var _0x3380f3=-parseInt(_0x2fd995(0x18e))/0x1+-parseInt(_0x2fd995(0x198))/0x2+parseInt(_0x2fd995(0x193))/0x3+parseInt(_0x2fd995(0x194))/0x4+parseInt(_0x2fd995(0x197))/0x5+-parseInt(_0x2fd995(0x190))/0x6+parseInt(_0x2fd995(0x192))/0x7;if(_0x3380f3===_0x1effe5)break;else _0x3a7f6e['push'](_0x3a7f6e['shift']());}catch(_0x599402){_0x3a7f6e['push'](_0x3a7f6e['shift']());}}}(_0x526c,0x83d84));import{RangePreprocessController as _0x3f0c1a}from'@univerjs-pro/range-preprocess';import{FWorkbook as _0x52574a}from'@univerjs/sheets/facade';function _0x2c57(_0x40a1ee,_0x4f8901){var _0x526c28=_0x526c();return _0x2c57=function(_0x2c5793,_0x501899){_0x2c5793=_0x2c5793-0x18d;var _0xf16f71=_0x526c28[_0x2c5793];return _0xf16f71;},_0x2c57(_0x40a1ee,_0x4f8901);}function _0x526c(){var _0x1eb889=['getAllTableJson','extend','2013920XUDPue','1044148IwEtcP','_injector','246723cPhwvk','_workbook','3883668qCgCLc','get','6902308IvDAqg','1006797URFFWH','926736ylyJjm'];_0x526c=function(){return _0x1eb889;};return _0x526c();}class s extends _0x52574a{['getPreprocessRanges'](_0x303ccb){var _0x1588e4=_0x2c57;return this[_0x1588e4(0x18d)][_0x1588e4(0x191)](_0x3f0c1a)[_0x1588e4(0x195)](this[_0x1588e4(0x18f)],_0x303ccb);}}_0x52574a[_0x49a07d(0x196)](s);
|