@univerjs-pro/bases 1.0.2 → 1.0.3
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/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4fc4(_0x42c841,_0x4edf05){_0x42c841=_0x42c841-0x1c4;const _0x508aae=_0x508a();let _0x4fc4e3=_0x508aae[_0x42c841];return _0x4fc4e3;}(function(_0x12f78a,_0x4d9468){const _0x1f5d30=_0x4fc4,_0x37d7b1=_0x12f78a();while(!![]){try{const _0x39e9c1=-parseInt(_0x1f5d30(0x443))/0x1*(parseInt(_0x1f5d30(0x3f4))/0x2)+parseInt(_0x1f5d30(0x3be))/0x3*(-parseInt(_0x1f5d30(0x3fc))/0x4)+-parseInt(_0x1f5d30(0x24a))/0x5+-parseInt(_0x1f5d30(0x1d8))/0x6+-parseInt(_0x1f5d30(0x34c))/0x7*(parseInt(_0x1f5d30(0x335))/0x8)+-parseInt(_0x1f5d30(0x1c9))/0x9+parseInt(_0x1f5d30(0x49e))/0xa*(parseInt(_0x1f5d30(0x403))/0xb);if(_0x39e9c1===_0x4d9468)break;else _0x37d7b1['push'](_0x37d7b1['shift']());}catch(_0x550228){_0x37d7b1['push'](_0x37d7b1['shift']());}}}(_0x508a,0xc40f5),function(_0x4d9363,_0x32e6f8){const _0x45613f=_0x4fc4;typeof exports=='object'&&typeof module<'u'?_0x32e6f8(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x45613f(0x2fe)&&define[_0x45613f(0x323)]?define([_0x45613f(0x47c),_0x45613f(0x272),_0x45613f(0x5ff),'@univerjs/protocol',_0x45613f(0x3b0),_0x45613f(0x4b9),'@univerjs/engine-formula'],_0x32e6f8):(_0x4d9363=typeof globalThis<'u'?globalThis:_0x4d9363||self,_0x32e6f8(_0x4d9363['UniverProBases']={},_0x4d9363[_0x45613f(0x3f5)],_0x4d9363['UniverProEngineFormula'],_0x4d9363[_0x45613f(0x411)],_0x4d9363['UniverProLicense'],_0x4d9363[_0x45613f(0x457)],_0x4d9363['UniverEngineFormula']));}(this,function(_0x22620f,_0xcf3cf2,_0x64dd1a,_0x2f5c57,_0x54c3b5,_0x4f9625,_0x2f0f8e){const _0x2b8d6a=_0x4fc4;Object[_0x2b8d6a(0x2c1)](_0x22620f,Symbol[_0x2b8d6a(0x5d9)],{'value':_0x2b8d6a(0x569)});function _0x391f91(_0x1c0533){const _0x53943d=_0x2b8d6a;let _0x40c9a0=_0x1c0533[_0x53943d(0x5a3)]['targetTableId'],_0x1275be=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x22e)],_0x1c4f8a=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x311)],_0x5b8f37=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x558)],_0x2c4d46=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x2de)];return typeof _0x40c9a0!=_0x53943d(0x3ea)||!_0x40c9a0||typeof _0x1275be!=_0x53943d(0x511)||_0x1c4f8a!==void 0x0&&(typeof _0x1c4f8a!=_0x53943d(0x3ea)||!_0x1c4f8a)||_0x2c4d46!==void 0x0&&_0x2c4d46!==_0xcf3cf2['BaseRecordLinkRole'][_0x53943d(0x60d)]||_0x5b8f37!==void 0x0&&(!Array[_0x53943d(0x2a1)](_0x5b8f37)||_0x5b8f37[_0x53943d(0x20f)](_0x4dd5f3=>typeof _0x4dd5f3!='string'||!_0x4dd5f3)||new Set(_0x5b8f37)['size']!==_0x5b8f37['length'])?null:{'targetTableId':_0x40c9a0,'multiple':_0x1275be,..._0x1c4f8a?{'displayFieldId':_0x1c4f8a}:{},..._0x5b8f37?{'pickerFieldIds':[..._0x5b8f37]}:{},..._0x2c4d46?{'relationRole':_0x2c4d46}:{}};}function _0xcf5891(_0x1727e6){const _0x5ed5ce=_0x2b8d6a;return typeof _0x1727e6!=_0x5ed5ce(0x3ea)||_0x1727e6===''?[]:_0x1727e6[_0x5ed5ce(0x339)](',');}function _0x47d3ab(_0xb7a05c){const _0x28cdbd=_0x2b8d6a;return Array[_0x28cdbd(0x1ea)](new Set(_0xb7a05c))[_0x28cdbd(0x600)](',');}function _0x456626(_0x5743b7,_0x5eae78){const _0x56b339=_0x2b8d6a;if(typeof _0x5743b7!=_0x56b339(0x3ea))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x5743b7==='')return{'valid':!0x0};let _0x3ee249=_0x5743b7[_0x56b339(0x339)](',');return!_0x5eae78&&_0x3ee249[_0x56b339(0x3d4)]>0x1?{'valid':!0x1,'reason':_0x56b339(0x46f)}:_0x3ee249[_0x56b339(0x20f)](_0x171aed=>!(0x0,_0xcf3cf2[_0x56b339(0x5de)])(_0x171aed))||new Set(_0x3ee249)['size']!==_0x3ee249['length']||_0x47d3ab(_0x3ee249)!==_0x5743b7?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x3f95e1(_0x470646,_0x24d149){const _0x261642=_0x2b8d6a;if(_0x24d149[_0x261642(0x1cc)]!==_0xcf3cf2[_0x261642(0x435)][_0x261642(0x34e)])return{'valid':!0x0};let _0x569edd=_0x391f91(_0x24d149),_0x4391f9=_0x569edd?_0x470646['tables'][_0x569edd[_0x261642(0x249)]]:void 0x0;if(!_0x569edd||!_0x4391f9)return{'valid':!0x1,'reason':_0x261642(0x459)};let _0x3827fc=[..._0x569edd[_0x261642(0x311)]?[_0x569edd['displayFieldId']]:[],..._0x569edd[_0x261642(0x558)]??[]][_0x261642(0x22c)](_0x35ce68=>{const _0x227081=_0x261642;let _0x133238=_0x4391f9[_0x227081(0x3b5)][_0x35ce68];return!_0x133238||_0x133238[_0x227081(0x27a)]===!0x0||_0x133238[_0x227081(0x1cc)]===_0xcf3cf2[_0x227081(0x435)][_0x227081(0x46d)];});return _0x3827fc?{'valid':!0x1,'reason':_0x261642(0x434)+_0x3827fc+_0x261642(0x3e6)}:{'valid':!0x0};}function _0x3bd7ca(_0x3f8b03,_0x2731e9,_0x28be89,_0x512969={}){const _0x54d321=_0x2b8d6a;let _0x4ffeb1=_0x391f91(_0x2731e9);if(_0x2731e9[_0x54d321(0x1cc)]!==_0xcf3cf2[_0x54d321(0x435)][_0x54d321(0x34e)]||!_0x4ffeb1)return{'valid':!0x1,'reason':_0x54d321(0x1eb)};let _0x28d4fd=_0x456626(_0x28be89,_0x4ffeb1['multiple']);if(!_0x28d4fd[_0x54d321(0x47d)]||_0x512969['allowDangling'])return _0x28d4fd;let _0x41179d=_0x3f8b03[_0x54d321(0x3d7)][_0x4ffeb1[_0x54d321(0x249)]];if(!_0x41179d)return{'valid':!0x1,'reason':_0x54d321(0x459)};let _0x327319=_0xcf5891(_0x28be89)[_0x54d321(0x22c)](_0x1db9fe=>!_0x41179d['records'][_0x1db9fe]);return _0x327319?{'valid':!0x1,'reason':_0x54d321(0x20c)+_0x327319+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x39ea47(_0x3c287e,_0x52f3b9){const _0x100376=_0x2b8d6a;return Object[_0x100376(0x404)](_0x3c287e['tables'])[_0x100376(0x5d0)](_0x5ab228=>Object[_0x100376(0x404)](_0x5ab228[_0x100376(0x3b5)])[_0x100376(0x5d0)](_0x135d44=>{const _0x79a659=_0x100376;let _0x4afc03=_0x135d44[_0x79a659(0x1cc)]===_0xcf3cf2[_0x79a659(0x435)][_0x79a659(0x34e)]?_0x391f91(_0x135d44):null;return(_0x4afc03==null?void 0x0:_0x4afc03[_0x79a659(0x249)])===_0x52f3b9?[{'tableId':_0x5ab228['id'],'fieldId':_0x135d44['id']}]:[];}));}let _0x1fa07b=_0x2b8d6a(0x1e1),_0x38d4ab=function(_0x40af73){const _0x44b0bc=_0x2b8d6a;return _0x40af73['InvalidField']='invalidField',_0x40af73[_0x44b0bc(0x330)]=_0x44b0bc(0x3a2),_0x40af73[_0x44b0bc(0x428)]=_0x44b0bc(0x480),_0x40af73[_0x44b0bc(0x245)]='cycle',_0x40af73['MaxDepth']=_0x44b0bc(0x522),_0x40af73['SortedView']=_0x44b0bc(0x46a),_0x40af73;}({});var _0x1d7b46=class extends Error{constructor(_0x27e71f,_0x3ee273=_0x2b8d6a(0x510)+_0x27e71f){const _0x2fee61=_0x2b8d6a;super(_0x3ee273),this[_0x2fee61(0x58e)]=_0x27e71f,this['name']='BaseHierarchyError';}};let _0x48d33b=function(_0x2c316e){const _0x377d4c=_0x2b8d6a;return _0x2c316e['UI']='ui',_0x2c316e[_0x377d4c(0x5fd)]=_0x377d4c(0x3c0),_0x2c316e[_0x377d4c(0x394)]=_0x377d4c(0x284),_0x2c316e[_0x377d4c(0x47a)]=_0x377d4c(0x2b1),_0x2c316e['Redo']=_0x377d4c(0x389),_0x2c316e[_0x377d4c(0x2c8)]=_0x377d4c(0x39f),_0x2c316e;}({});function _0x4d880f(_0x16b543,_0x51238b){const _0x158060=_0x2b8d6a;if(!_0x51238b)return!0x1;let _0x235bd0=_0x16b543[_0x158060(0x3b5)][_0x51238b];if(!_0x235bd0||_0x235bd0[_0x158060(0x1cc)]!==_0xcf3cf2['BaseFieldType']['RecordLink'])return!0x1;let _0x2a8782=_0x391f91(_0x235bd0);return _0x2a8782?_0x2a8782[_0x158060(0x249)]===_0x16b543['id']&&_0x2a8782[_0x158060(0x22e)]===!0x1:!0x1;}function _0xb51e67(_0x3e0b32){const _0x138f98=_0x2b8d6a;return[..._0x3e0b32[_0x138f98(0x4ab)],...Object[_0x138f98(0x582)](_0x3e0b32[_0x138f98(0x3b5)])[_0x138f98(0x355)](_0x4675d2=>!_0x3e0b32[_0x138f98(0x4ab)]['includes'](_0x4675d2))[_0x138f98(0x24e)]()][_0x138f98(0x22c)](_0x3cf4f0=>{const _0x227c5d=_0x138f98;var _0x8094db;return _0x4d880f(_0x3e0b32,_0x3cf4f0)?((_0x8094db=_0x391f91(_0x3e0b32[_0x227c5d(0x3b5)][_0x3cf4f0]))==null?void 0x0:_0x8094db[_0x227c5d(0x2de)])===_0xcf3cf2[_0x227c5d(0x223)]['Parent']:!0x1;})??null;}function _0x4f5050(_0x2cc059){let _0x1e68f7=_0xb51e67(_0x2cc059);if(_0x1e68f7)return _0x1e68f7;let _0x4eec79=_0x1fa07b,_0x365965=0x2;for(;_0x2cc059['fields'][_0x4eec79];)_0x4eec79=_0x1fa07b+'_'+_0x365965++;return _0x4eec79;}function _0x3df43c(_0x2d9892,_0x4717c1=_0x4f5050(_0x2d9892),_0x2377da=_0x2b8d6a(0x476)){const _0x107c38=_0x2b8d6a;return{'id':_0x4717c1,'name':_0x2377da,'type':_0xcf3cf2[_0x107c38(0x435)]['RecordLink'],'config':{'targetTableId':_0x2d9892['id'],'multiple':!0x1,'displayFieldId':_0x2d9892[_0x107c38(0x4b4)],'pickerFieldIds':[_0x2d9892[_0x107c38(0x4b4)]],'relationRole':_0xcf3cf2[_0x107c38(0x223)]['Parent']}};}function _0x4c7235(_0x3f9ec9){let _0x24e825=_0xb51e67(_0x3f9ec9);return _0x24e825?[_0x24e825]:[];}function _0x4908a1(_0x43beb9,_0x4d5136){const _0x5f2d50=_0x2b8d6a;let _0x200321=[..._0x4c7235(_0x43beb9)][_0x5f2d50(0x355)](_0x47d810=>_0x4d5136['some'](_0x28a952=>Object[_0x5f2d50(0x3b1)][_0x5f2d50(0x1ec)][_0x5f2d50(0x29f)](_0x28a952['values'],_0x47d810)));if(!_0x200321[_0x5f2d50(0x3d4)])return[];let _0x1b5aed={..._0x43beb9[_0x5f2d50(0x38a)]};_0x4d5136['forEach'](_0x263ef3=>{const _0x40e3e3=_0x5f2d50;let _0x2d5353=_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]];_0x2d5353&&(_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]]={..._0x2d5353,'values':{..._0x2d5353['values'],..._0x263ef3[_0x40e3e3(0x404)]}});});let _0x26425c={..._0x43beb9,'records':_0x1b5aed},_0x2c7bda=[];return _0x200321[_0x5f2d50(0x458)](_0x14e81c=>{const _0x4d271c=_0x5f2d50;let _0x5589a0=_0x3760a3(_0x43beb9,_0x14e81c),_0x2e2fb8=_0x3760a3(_0x26425c,_0x14e81c);for(let [_0x8a26da,_0x23f800]of _0x2e2fb8[_0x4d271c(0x5ed)]){let _0x402b82=_0x4d5136[_0x4d271c(0x20f)](_0x38a908=>_0x38a908[_0x4d271c(0x57e)]===_0x8a26da&&Object[_0x4d271c(0x3b1)][_0x4d271c(0x1ec)][_0x4d271c(0x29f)](_0x38a908['values'],_0x14e81c));if(_0x5589a0[_0x4d271c(0x5ed)]['get'](_0x8a26da)!==_0x23f800||_0x402b82)throw new _0x1d7b46(_0x2d0e23(_0x23f800));}_0x4d5136['forEach'](_0x32464c=>{const _0x4c1391=_0x4d271c;if(!Object[_0x4c1391(0x3b1)][_0x4c1391(0x1ec)]['call'](_0x32464c[_0x4c1391(0x404)],_0x14e81c))return;let _0xdf90da=_0x5589a0['parentByRecordId'][_0x4c1391(0x4f0)](_0x32464c[_0x4c1391(0x57e)])??null,_0x5c57fe=_0x2e2fb8[_0x4c1391(0x337)][_0x4c1391(0x4f0)](_0x32464c['recordId'])??null;_0xdf90da!==_0x5c57fe&&_0x2c7bda[_0x4c1391(0x309)]({'tableId':_0x43beb9['id'],'fieldId':_0x14e81c,'recordId':_0x32464c[_0x4c1391(0x57e)],'oldParentRecordId':_0xdf90da,'parentRecordId':_0x5c57fe});});}),_0x2c7bda;}function _0x441a71(_0x536331,_0x143cec){const _0x52035d=_0x2b8d6a;let _0x1a1f2d=_0x143cec[_0x52035d(0x2c4)](_0x21869c=>_0x21869c['id']);if(new Set(_0x1a1f2d)[_0x52035d(0x219)]!==_0x1a1f2d[_0x52035d(0x3d4)]||_0x1a1f2d[_0x52035d(0x20f)](_0x7a6664=>_0x536331[_0x52035d(0x38a)][_0x7a6664]))return[];let _0xae5a31=_0x4c7235(_0x536331),_0xeb3bd5=_0xae5a31['length']?null:_0x4f5050(_0x536331),_0x5e02bd=[..._0xae5a31,..._0xeb3bd5&&_0x143cec[_0x52035d(0x20f)](_0x3c4e3d=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x3c4e3d['values'],_0xeb3bd5))?[_0xeb3bd5]:[]]['filter'](_0x2a45bd=>_0x143cec['some'](_0x2b51a1=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x2b51a1[_0x52035d(0x404)],_0x2a45bd)));if(!_0x5e02bd[_0x52035d(0x3d4)])return[];let _0xbf255c={..._0x536331,'records':{..._0x536331[_0x52035d(0x38a)],...Object[_0x52035d(0x3a6)](_0x143cec[_0x52035d(0x2c4)](_0x19b44f=>[_0x19b44f['id'],_0x19b44f]))},'recordOrder':[..._0x536331[_0x52035d(0x5ab)]??[],..._0x143cec[_0x52035d(0x2c4)](_0x4a3175=>_0x4a3175['id'])]},_0x2c9680=[];return _0x5e02bd[_0x52035d(0x458)](_0x3ec010=>{const _0x54cfb0=_0x52035d;let _0x15b8fc=_0x3760a3(_0xbf255c,_0x3ec010);_0x143cec[_0x54cfb0(0x458)](_0x5af191=>{const _0x30c222=_0x54cfb0;let _0x27e442=_0x15b8fc['invalidReasonByRecordId'][_0x30c222(0x4f0)](_0x5af191['id']);if(_0x27e442)throw new _0x1d7b46(_0x2d0e23(_0x27e442));let _0xd5de79=_0x15b8fc[_0x30c222(0x337)][_0x30c222(0x4f0)](_0x5af191['id'])??null;_0xd5de79&&_0x2c9680['push']({'tableId':_0x536331['id'],'fieldId':_0x3ec010,'recordId':_0x5af191['id'],'oldParentRecordId':null,'parentRecordId':_0xd5de79});});}),_0x2c9680;}function _0x2d0e23(_0x1864ad){const _0x302f63=_0x2b8d6a;switch(_0x1864ad){case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x27c)]:return _0x302f63(0x3a2);case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x428)]:return _0x302f63(0x480);case _0xcf3cf2['BaseHierarchyInvalidReason']['Cycle']:return _0x302f63(0x236);case _0xcf3cf2['BaseHierarchyInvalidReason']['MaxDepth']:return _0x302f63(0x522);}}function _0x3b968d(_0x5609fd,_0x30c6e7){const _0x49774a=_0x2b8d6a;let _0x18aa98=new Set(_0x30c6e7),_0x137db6=_0x4c7235(_0x5609fd);return Object[_0x49774a(0x404)](_0x5609fd[_0x49774a(0x38a)])[_0x49774a(0x5d0)](_0x16fd29=>_0x18aa98['has'](_0x16fd29['id'])?[]:Array['from'](_0x137db6)[_0x49774a(0x5d0)](_0xca897e=>{let _0x3b7818=_0xcf5891(_0x16fd29['values'][_0xca897e])[0x0]??null;return _0x3b7818&&_0x18aa98['has'](_0x3b7818)?[{'tableId':_0x5609fd['id'],'fieldId':_0xca897e,'recordId':_0x16fd29['id'],'oldParentRecordId':_0x3b7818,'parentRecordId':null}]:[];}));}function _0x3760a3(_0x4a2477,_0x46b11e,_0x3f175a=_0x4a2477[_0x2b8d6a(0x5ab)]??Object[_0x2b8d6a(0x582)](_0x4a2477[_0x2b8d6a(0x38a)])){const _0x4123b6=_0x2b8d6a;if((_0x4a2477[_0x4123b6(0x3b5)][_0x46b11e]||_0x46b11e!==_0x4f5050(_0x4a2477))&&!_0x4d880f(_0x4a2477,_0x46b11e))throw Error(_0x4123b6(0x3d1)+_0x46b11e+_0x4123b6(0x478));let _0x3ac2af=_0x4d8147(_0x4a2477,_0x3f175a),_0x13aacf=new Map(),_0x37a901=new Map();for(let _0x2294be of _0x3ac2af){var _0x1393c5;let _0x3bb682=_0xcf5891((_0x1393c5=_0x4a2477['records'][_0x2294be])==null?void 0x0:_0x1393c5[_0x4123b6(0x404)][_0x46b11e])[0x0]??null;_0x3bb682?_0x3bb682===_0x2294be?(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2[_0x4123b6(0x296)][_0x4123b6(0x428)])):_0x4a2477[_0x4123b6(0x38a)][_0x3bb682]?_0x13aacf[_0x4123b6(0x22b)](_0x2294be,_0x3bb682):(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2['BaseHierarchyInvalidReason']['MissingParent'])):_0x13aacf['set'](_0x2294be,null);}_0x1b8f6a(_0x13aacf,_0x37a901,_0x3ac2af),_0x341fc4(_0x13aacf,_0x37a901,_0x3ac2af);let _0x20d70c=new Map(_0x3ac2af['map']((_0x2220e8,_0x19e22e)=>[_0x2220e8,_0x19e22e])),_0x5df320=new Map();for(let _0x4fd9bc of _0x3ac2af){let _0x3b72c0=_0x13aacf[_0x4123b6(0x4f0)](_0x4fd9bc)??null,_0x442294=_0x5df320['get'](_0x3b72c0)??[];_0x442294[_0x4123b6(0x309)](_0x4fd9bc),_0x5df320['set'](_0x3b72c0,_0x442294);}_0x5df320[_0x4123b6(0x458)](_0x24c26f=>_0x24c26f[_0x4123b6(0x24e)]((_0x2a7ffc,_0x4e1980)=>(_0x20d70c[_0x4123b6(0x4f0)](_0x2a7ffc)??0x0)-(_0x20d70c[_0x4123b6(0x4f0)](_0x4e1980)??0x0)));let _0x30ca0f=_0x5df320[_0x4123b6(0x4f0)](null)??[],_0x66362b=new Map(),_0x2cc100=new Map(),_0x178cf7=[],_0x559adb=(_0x54ed7e,_0x13e2b0)=>{const _0x4523b9=_0x4123b6;_0x66362b[_0x4523b9(0x22b)](_0x54ed7e,_0x13e2b0),_0x178cf7[_0x4523b9(0x309)](_0x54ed7e);let _0x1fb7bd=0x0;for(let _0x20c700 of _0x5df320[_0x4523b9(0x4f0)](_0x54ed7e)??[])_0x1fb7bd=Math[_0x4523b9(0x591)](_0x1fb7bd,0x1+_0x559adb(_0x20c700,_0x13e2b0+0x1));return _0x2cc100['set'](_0x54ed7e,_0x1fb7bd),_0x1fb7bd;};return _0x30ca0f[_0x4123b6(0x458)](_0xa9f2ef=>_0x559adb(_0xa9f2ef,0x0)),{'fieldId':_0x46b11e,'parentByRecordId':_0x13aacf,'childrenByParentId':_0x5df320,'depthByRecordId':_0x66362b,'subtreeHeightByRecordId':_0x2cc100,'invalidReasonByRecordId':_0x37a901,'rootRecordIds':_0x30ca0f,'orderedRecordIds':_0x178cf7};}function _0xf3e46d(_0x353bf6,_0x55c3d1,_0x31031f=new Set(_0x55c3d1[_0x2b8d6a(0x2c4)](_0x4f1fdf=>_0x4f1fdf['recordId']))){const _0x22468e=_0x2b8d6a;let _0x3b94c0=new Set(_0x31031f);for(let _0x32012d of _0x31031f){let _0x178012=_0x353bf6[_0x22468e(0x337)]['get'](_0x32012d)??null;for(;_0x178012;)_0x3b94c0[_0x22468e(0x1d6)](_0x178012),_0x178012=_0x353bf6['parentByRecordId'][_0x22468e(0x4f0)](_0x178012)??null;}let _0x4e373b=new Map(_0x55c3d1[_0x22468e(0x2c4)](_0x107030=>[_0x107030['recordId'],_0x107030])),_0x44543c=_0x353bf6[_0x22468e(0x5c5)]['filter'](_0x39acf7=>_0x3b94c0['has'](_0x39acf7)),_0x56d448=_0x44543c[_0x22468e(0x5d0)](_0xe818a6=>{const _0x561656=_0x22468e;let _0x575960=_0x4e373b[_0x561656(0x4f0)](_0xe818a6);return _0x575960?[_0x575960]:[];}),_0x1c2380={};for(let _0x369fa3=0x0;_0x369fa3<_0x44543c[_0x22468e(0x3d4)];_0x369fa3++){let _0x5bddac=_0x44543c[_0x369fa3];_0x1c2380[_0x5bddac]={'recordId':_0x5bddac,'parentRecordId':_0x353bf6[_0x22468e(0x337)][_0x22468e(0x4f0)](_0x5bddac)??null,'depth':_0x353bf6[_0x22468e(0x34d)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'directChildCount':(_0x353bf6['childrenByParentId'][_0x22468e(0x4f0)](_0x5bddac)??[])[_0x22468e(0x3d4)],'subtreeHeight':_0x353bf6[_0x22468e(0x481)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'subtreeEndIndex':_0x369fa3,'invalidReason':_0x353bf6[_0x22468e(0x5ed)][_0x22468e(0x4f0)](_0x5bddac)};}let _0x48795a=[];for(let _0x5a2d7a=0x0;_0x5a2d7a<_0x44543c['length'];_0x5a2d7a++){let _0x736809=_0x44543c[_0x5a2d7a],_0x553b22=_0x1c2380[_0x736809][_0x22468e(0x4fb)];for(;_0x48795a[_0x22468e(0x3d4)]&&_0x48795a[_0x48795a[_0x22468e(0x3d4)]-0x1][_0x22468e(0x4fb)]>=_0x553b22;){let _0x3182ea=_0x48795a['pop']();_0x1c2380[_0x3182ea['recordId']]['subtreeEndIndex']=_0x5a2d7a-0x1;}_0x48795a[_0x22468e(0x309)]({'recordId':_0x736809,'depth':_0x553b22});}return _0x48795a[_0x22468e(0x458)](({recordId:_0x312871})=>{_0x1c2380[_0x312871]['subtreeEndIndex']=_0x44543c['length']-0x1;}),{'rows':_0x56d448,'hierarchy':{'fieldId':_0x353bf6[_0x22468e(0x580)],'rootRecordIds':_0x353bf6[_0x22468e(0x325)][_0x22468e(0x355)](_0x37b13b=>_0x3b94c0['has'](_0x37b13b)),'orderedRecordIds':_0x44543c,'nodes':_0x1c2380}};}function _0x54261d(_0x47feb0,_0x9b15c5){const _0x8fe60e=_0x2b8d6a;if(!_0x47feb0['hierarchy']||!(_0x9b15c5!=null&&_0x9b15c5[_0x8fe60e(0x219)]))return _0x47feb0[_0x8fe60e(0x5e6)];let _0x25403e=[],_0x5ce06b=0x0;for(;_0x5ce06b<_0x47feb0['rows'][_0x8fe60e(0x3d4)];){let _0xa6c376=_0x47feb0['rows'][_0x5ce06b];_0x25403e[_0x8fe60e(0x309)](_0xa6c376);let _0x5010c0=_0x47feb0[_0x8fe60e(0x326)][_0x8fe60e(0x4e9)][_0xa6c376[_0x8fe60e(0x57e)]];_0x5ce06b=_0x9b15c5['has'](_0xa6c376[_0x8fe60e(0x57e)])&&_0x5010c0?_0x5010c0['subtreeEndIndex']+0x1:_0x5ce06b+0x1;}return _0x25403e;}function _0x5a84fb(_0x2c66c3,_0x489427,_0x59f42d){const _0x5eee71=_0x2b8d6a;if(!_0x59f42d)return{'valid':!0x0};if(_0x489427===_0x59f42d)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x428)]};let _0x5d8eb0=_0x59f42d;for(;_0x5d8eb0;){if(_0x5d8eb0===_0x489427)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)]['Cycle']};_0x5d8eb0=_0x2c66c3[_0x5eee71(0x337)][_0x5eee71(0x4f0)](_0x5d8eb0)??null;}return(_0x2c66c3[_0x5eee71(0x34d)][_0x5eee71(0x4f0)](_0x59f42d)??0x0)+0x1+(_0x2c66c3[_0x5eee71(0x481)][_0x5eee71(0x4f0)](_0x489427)??0x0)>=0x5?{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x42e)]}:{'valid':!0x0};}function _0x4d8147(_0x26dc74,_0x470ea4){const _0x2ffbda=_0x2b8d6a;let _0xcc3d32=new Set(),_0x4fe25c=[];for(let _0x41cc5e of _0x470ea4)_0x26dc74[_0x2ffbda(0x38a)][_0x41cc5e]&&!_0xcc3d32[_0x2ffbda(0x244)](_0x41cc5e)&&(_0xcc3d32[_0x2ffbda(0x1d6)](_0x41cc5e),_0x4fe25c[_0x2ffbda(0x309)](_0x41cc5e));return Object['keys'](_0x26dc74['records'])[_0x2ffbda(0x24e)]()['forEach'](_0x9a4bca=>{const _0x50deee=_0x2ffbda;_0xcc3d32[_0x50deee(0x244)](_0x9a4bca)||_0x4fe25c[_0x50deee(0x309)](_0x9a4bca);}),_0x4fe25c;}function _0x1b8f6a(_0x3be207,_0x1a67d3,_0x3ed7e5){const _0x5d6c6e=_0x2b8d6a;let _0x15ead5=new Set();for(let _0x32fe7a of _0x3ed7e5){if(_0x15ead5['has'](_0x32fe7a))continue;let _0x3187aa=[],_0x7937c0=new Map(),_0x755d7e=_0x32fe7a;for(;_0x755d7e&&!_0x15ead5['has'](_0x755d7e);){let _0x4ae528=_0x7937c0['get'](_0x755d7e);if(_0x4ae528!=null){let _0x2a96ef=[..._0x3187aa[_0x5d6c6e(0x3de)](_0x4ae528)]['sort']()[_0x5d6c6e(0x2ef)]();_0x3be207[_0x5d6c6e(0x22b)](_0x2a96ef,null),_0x1a67d3[_0x5d6c6e(0x22b)](_0x2a96ef,_0xcf3cf2['BaseHierarchyInvalidReason'][_0x5d6c6e(0x245)]);break;}_0x7937c0[_0x5d6c6e(0x22b)](_0x755d7e,_0x3187aa['length']),_0x3187aa['push'](_0x755d7e),_0x755d7e=_0x3be207['get'](_0x755d7e)??null;}_0x3187aa[_0x5d6c6e(0x458)](_0x532c77=>_0x15ead5[_0x5d6c6e(0x1d6)](_0x532c77));}}function _0x341fc4(_0x2be716,_0x3de816,_0x414cd2){let _0x30701e=new Map(),_0x3188c3=_0x52173b=>{const _0xa48b47=_0x4fc4;let _0x1bc99d=_0x30701e[_0xa48b47(0x4f0)](_0x52173b);if(_0x1bc99d!=null)return _0x1bc99d;let _0x7d1ee4=_0x2be716[_0xa48b47(0x4f0)](_0x52173b)??null;if(!_0x7d1ee4)return _0x30701e[_0xa48b47(0x22b)](_0x52173b,0x0),0x0;let _0x213203=_0x3188c3(_0x7d1ee4)+0x1;return _0x213203>=0x5?(_0x2be716['set'](_0x52173b,null),_0x3de816[_0xa48b47(0x22b)](_0x52173b,_0xcf3cf2['BaseHierarchyInvalidReason'][_0xa48b47(0x42e)]),_0x30701e['set'](_0x52173b,0x0),0x0):(_0x30701e[_0xa48b47(0x22b)](_0x52173b,_0x213203),_0x213203);};_0x414cd2['forEach'](_0x3188c3);}let _0x5c3c33=0x0;function _0xf0b544(){const _0x9919fa=_0x2b8d6a;if(globalThis[_0x9919fa(0x4ad)]===!0x0)return!0x0;try{let _0x1c6f6d=typeof location>'u'?'':location['search'],_0x1be2e1=new URLSearchParams(_0x1c6f6d);if(_0x1be2e1['get'](_0x9919fa(0x41a))==='1'||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x41a))===_0x9919fa(0x45a)||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x4db))==='1')return!0x0;}catch{}try{let _0x5df45a=typeof localStorage>'u'?null:localStorage['getItem'](_0x9919fa(0x488));return _0x5df45a==='1'||_0x5df45a===_0x9919fa(0x45a);}catch{return!0x1;}}function _0x4baece(_0x98d28c,_0x193a10,_0x449f02){const _0x2f7893=_0x2b8d6a;if(!_0xf0b544())return _0x193a10();let _0x4f3478=_0x223249(),_0xbe8833=_0x2f7893(0x4ac)+_0x5c3c33++;_0x1dddf3(_0xbe8833+_0x2f7893(0x1d7));try{return _0x193a10();}finally{let _0x2ab877=_0x223249()-_0x4f3478;_0x1dddf3(_0xbe8833+_0x2f7893(0x2fd)),_0x33e965(_0x98d28c,_0xbe8833+':start',_0xbe8833+_0x2f7893(0x2fd)),_0x8f256b(_0x98d28c,_0x2ab877,_0x449f02);}}function _0x8f256b(_0x2c4370,_0x12c37a,_0x231abb){const _0xb51d2f=_0x2b8d6a;if(!_0xf0b544())return;let _0x38aa26=Math[_0xb51d2f(0x310)](_0x12c37a*0x64)/0x64,_0x17735b=_0x231abb&&Object[_0xb51d2f(0x582)](_0x231abb)['length']?'\x20'+JSON[_0xb51d2f(0x322)](_0x231abb):'';console[_0xb51d2f(0x4da)](_0xb51d2f(0x55f)+_0x2c4370+':\x20'+_0x38aa26+'ms'+_0x17735b);}function _0x223249(){const _0x5c400a=_0x2b8d6a;return typeof performance<'u'&&typeof performance['now']==_0x5c400a(0x2fe)?performance[_0x5c400a(0x208)]():Date[_0x5c400a(0x208)]();}function _0x1dddf3(_0x1f3d87){const _0x29a89d=_0x2b8d6a;try{if(typeof performance<'u'){var _0xbd5deb,_0x1843b1;(_0xbd5deb=(_0x1843b1=performance)[_0x29a89d(0x278)])==null||_0xbd5deb[_0x29a89d(0x29f)](_0x1843b1,_0x1f3d87);}}catch{}}function _0x33e965(_0x4e7b7c,_0x416590,_0x319803){const _0x276116=_0x2b8d6a;try{if(typeof performance<'u'){var _0x1d2bbe,_0x4eec14;(_0x1d2bbe=(_0x4eec14=performance)['measure'])==null||_0x1d2bbe['call'](_0x4eec14,_0x276116(0x55f)+_0x4e7b7c,_0x416590,_0x319803);}}catch{}}function _0x5d33ae(_0x2579b2){const _0x5332da=_0x2b8d6a;var _0xc36c6a;return _0xf0b544()?_0x4baece('IBaseCellData.ensureTableCellLayout',()=>_0x5b7b7f(_0x2579b2),{'tableId':_0x2579b2['id'],'records':Object['keys'](_0x2579b2[_0x5332da(0x38a)]??{})[_0x5332da(0x3d4)],'fields':_0x2579b2[_0x5332da(0x4ab)][_0x5332da(0x3d4)],'hasRecordOrder':!!((_0xc36c6a=_0x2579b2[_0x5332da(0x5ab)])!=null&&_0xc36c6a['length'])}):_0x5b7b7f(_0x2579b2);}function _0x5b7b7f(_0x2bb2ff){const _0x597434=_0x2b8d6a;var _0x12d1eb;let _0x13d7e4=_0x2bb2ff[_0x597434(0x38a)]??{},_0x1b1e99=_0x2bb2ff['fields']??{},_0x5b84a1=((_0x12d1eb=_0x2bb2ff[_0x597434(0x5ab)])==null?void 0x0:_0x12d1eb[_0x597434(0x355)](_0x37bb48=>_0x13d7e4[_0x37bb48]))??[],_0x3c812c=new Set(_0x5b84a1),_0x16179c=[];for(let _0x246724 of Object[_0x597434(0x404)](_0x13d7e4))_0x3c812c[_0x597434(0x244)](_0x246724['id'])||_0x16179c[_0x597434(0x309)](_0x246724);let _0x3542c6=_0x16179c['length']?[..._0x5b84a1,..._0xc11fd4(_0x16179c)]:_0x5b84a1,_0x1d4235=_0x2bb2ff[_0x597434(0x4ab)][_0x597434(0x355)](_0x2ce0fa=>_0x1b1e99[_0x2ce0fa]),_0x305beb={..._0x2bb2ff[_0x597434(0x369)]??{}},_0x519016={..._0x2bb2ff[_0x597434(0x4df)]??{}},_0x44db79={..._0x2bb2ff[_0x597434(0x2a3)]??{}};_0x2bb2ff[_0x597434(0x5ab)]=_0x3542c6,_0x2bb2ff[_0x597434(0x29a)]={},_0x2bb2ff[_0x597434(0x369)]={},_0x2bb2ff[_0x597434(0x1f5)]={},_0x2bb2ff['colId']={},_0x2bb2ff['cellData']={},_0x2bb2ff['resources']={..._0x2bb2ff['resources']??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]={..._0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x1e9)]={..._0x2bb2ff['resources'][_0x597434(0x1e9)]??{}};let _0x57e357=_0x2bb2ff[_0x597434(0x29a)],_0x1653e3=_0x2bb2ff[_0x597434(0x369)],_0x1cff1b=_0x2bb2ff[_0x597434(0x1f5)],_0x1ba135=_0x2bb2ff[_0x597434(0x4df)],_0x417ebc=_0x2bb2ff[_0x597434(0x2a3)];return _0x3542c6['forEach']((_0x44cf98,_0x1c7406)=>{_0x57e357[_0x44cf98]=_0x1c7406,_0x1653e3[_0x1c7406]=_0x44cf98;}),_0x1d4235[_0x597434(0x458)]((_0x3f6be3,_0x360d9a)=>{_0x1cff1b[_0x3f6be3]=_0x360d9a,_0x1ba135[_0x360d9a]=_0x3f6be3;}),Object[_0x597434(0x271)](_0x44db79)[_0x597434(0x458)](([_0x3621ec,_0x321afc])=>{const _0x4e4b94=_0x597434;let _0xa27a9e=Number(_0x3621ec),_0x16b79f=_0x305beb[_0xa27a9e]??_0x3542c6[_0xa27a9e],_0x4f4183=_0x16b79f?_0x57e357[_0x16b79f]:void 0x0;_0x4f4183!=null&&(_0x417ebc[_0x4f4183]={..._0x417ebc[_0x4f4183]??{}},Object[_0x4e4b94(0x271)](_0x321afc??{})[_0x4e4b94(0x458)](([_0x1226c7,_0x4ddd94])=>{let _0x1b4815=Number(_0x1226c7),_0x3d6a72=_0x519016[_0x1b4815]??_0x1d4235[_0x1b4815],_0x1aedad=_0x3d6a72?_0x1cff1b[_0x3d6a72]:void 0x0;_0x1aedad!=null&&(_0x417ebc[_0x4f4183][_0x1aedad]=_0x53425a(_0x4ddd94));}));}),Object[_0x597434(0x404)](_0x13d7e4)[_0x597434(0x458)](_0x394434=>{const _0x43da96=_0x597434;let _0x28b990=_0x57e357[_0x394434['id']];_0x28b990!=null&&(_0x394434[_0x43da96(0x404)]={..._0x394434[_0x43da96(0x404)]??{},[_0xcf3cf2[_0x43da96(0x509)]]:_0x394434['id']},_0x417ebc[_0x28b990]={..._0x417ebc[_0x28b990]??{},0x0:{'v':_0x394434['id'],'t':_0xcf3cf2['CellValueType']['STRING']}},Object[_0x43da96(0x271)](_0x394434['values']??{})[_0x43da96(0x458)](([_0x1c3482,_0x2eb1a7])=>{const _0x1151d9=_0x43da96;let _0x342467=_0x1b1e99[_0x1c3482];(_0x342467==null?void 0x0:_0x342467[_0x1151d9(0x1cc)])===_0xcf3cf2[_0x1151d9(0x435)]['Attachment']&&_0x369dce(_0x2bb2ff,_0x394434['id'],_0x1c3482,_0x2eb1a7);let _0x17ca61=_0x1cff1b[_0x1c3482];if(_0x17ca61==null)return;let _0xc41a1e=_0x417ebc[_0x28b990][_0x17ca61];if(_0xc41a1e!=null){_0x1a3619(_0xc41a1e,_0x342467,_0x2eb1a7)&&(_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467));return;}_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467);}));}),_0x2bb2ff;}function _0x41664f(_0x511e42,_0x22ad24){const _0x146161=_0x2b8d6a;return _0x511e42['records']=Object[_0x146161(0x3a6)](Object['entries'](_0x511e42[_0x146161(0x38a)])[_0x146161(0x2c4)](([_0x2b4245,_0x1121db])=>[_0x2b4245,{..._0x1121db}])),_0x5d33ae(_0x511e42),Object[_0x146161(0x271)](_0x511e42[_0x146161(0x369)]??{})[_0x146161(0x458)](([_0x401ed9,_0x40cb7c])=>{const _0x56684e=_0x146161;var _0x41c068;let _0x64f0e9=Number(_0x401ed9),_0x25e899=_0x511e42[_0x56684e(0x38a)][_0x40cb7c];_0x25e899&&(_0x25e899['values']={..._0x25e899[_0x56684e(0x404)]??{}},Object[_0x56684e(0x271)](((_0x41c068=_0x511e42[_0x56684e(0x2a3)])==null?void 0x0:_0x41c068[_0x64f0e9])??{})[_0x56684e(0x458)](([_0x2afddc,_0x1916b3])=>{const _0xf1dd67=_0x56684e;var _0x3ac638;let _0x37ef5a=(_0x3ac638=_0x511e42[_0xf1dd67(0x4df)])==null?void 0x0:_0x3ac638[Number(_0x2afddc)];_0x37ef5a&&_0x22ad24&&!_0x22ad24(_0x40cb7c,_0x37ef5a)||(_0x37ef5a===_0xcf3cf2[_0xf1dd67(0x509)]?_0x25e899[_0xf1dd67(0x404)][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]=_0x25e899['id']:_0x37ef5a&&(_0x25e899[_0xf1dd67(0x404)][_0x37ef5a]=_0x128311(_0x1916b3,_0x511e42[_0xf1dd67(0x3b5)][_0x37ef5a],_0x511e42,_0x40cb7c)));}));}),_0x511e42;}function _0x334b3c(_0x3aed72,_0x16fcc9){const _0x19ecf8=_0x2b8d6a;for(let {row:_0x2bf6b1,col:_0x5af1a5}of _0x16fcc9){var _0x56926b,_0x290b5b,_0x431bb8;let _0x3bbdbf=(_0x56926b=_0x3aed72[_0x19ecf8(0x369)])==null?void 0x0:_0x56926b[_0x2bf6b1],_0x3816dd=(_0x290b5b=_0x3aed72[_0x19ecf8(0x4df)])==null?void 0x0:_0x290b5b[_0x5af1a5],_0x1963b5=_0x3bbdbf?_0x3aed72[_0x19ecf8(0x38a)][_0x3bbdbf]:void 0x0;if(!_0x1963b5||!_0x3816dd)continue;if(_0x3816dd===_0xcf3cf2[_0x19ecf8(0x509)]){_0x1963b5[_0x19ecf8(0x404)][_0xcf3cf2[_0x19ecf8(0x509)]]=_0x1963b5['id'];continue;}let _0x42d587=(_0x431bb8=_0x3aed72[_0x19ecf8(0x2a3)])==null||(_0x431bb8=_0x431bb8[_0x2bf6b1])==null?void 0x0:_0x431bb8[_0x5af1a5];(_0x42d587!=null||Object[_0x19ecf8(0x3b1)]['hasOwnProperty'][_0x19ecf8(0x29f)](_0x1963b5['values']??{},_0x3816dd))&&(_0x1963b5['values']={..._0x1963b5['values']??{}},_0x1963b5[_0x19ecf8(0x404)][_0x3816dd]=_0x128311(_0x42d587,_0x3aed72[_0x19ecf8(0x3b5)][_0x3816dd],_0x3aed72,_0x3bbdbf));}return _0x3aed72;}function _0x168231(_0x337e2d,_0xd7c1c4,_0x2e7972){const _0x2e2130=_0x2b8d6a;var _0xf8a596,_0x22f757,_0x555b33,_0x57c614,_0x46feb8,_0x44f8ca;let _0x44eebb=(_0xf8a596=_0x337e2d[_0x2e2130(0x29a)])==null?void 0x0:_0xf8a596[_0xd7c1c4],_0xdfca8b=(_0x22f757=_0x337e2d[_0x2e2130(0x1f5)])==null?void 0x0:_0x22f757[_0x2e7972];if(_0x44eebb!=null&&_0xdfca8b!=null&&((_0x555b33=_0x337e2d[_0x2e2130(0x369)])==null?void 0x0:_0x555b33[_0x44eebb])===_0xd7c1c4&&((_0x57c614=_0x337e2d[_0x2e2130(0x4df)])==null?void 0x0:_0x57c614[_0xdfca8b])===_0x2e7972)return{'row':_0x44eebb,'col':_0xdfca8b};let _0xc59419=_0x5d33ae(_0x337e2d),_0x10cc92=(_0x46feb8=_0xc59419[_0x2e2130(0x29a)])==null?void 0x0:_0x46feb8[_0xd7c1c4],_0x3dc891=(_0x44f8ca=_0xc59419[_0x2e2130(0x1f5)])==null?void 0x0:_0x44f8ca[_0x2e7972];return _0x10cc92==null||_0x3dc891==null?null:{'row':_0x10cc92,'col':_0x3dc891};}function _0x4c2c6c(_0x3361ae,_0x17f667,_0x57b996){var _0x46e984;let _0x314e79=_0x168231(_0x3361ae,_0x17f667,_0x57b996);if(_0x314e79)return(_0x46e984=_0x3361ae['cellData'])==null||(_0x46e984=_0x46e984[_0x314e79['row']])==null?void 0x0:_0x46e984[_0x314e79['col']];}function _0x4bd91a(_0x1f3390,_0x265a80,_0x34158c){const _0x56b69a=_0x2b8d6a;var _0x580de0;let _0x5e93df=_0x4c2c6c(_0x1f3390,_0x265a80,_0x34158c),_0x1138c8=_0x1f3390[_0x56b69a(0x3b5)][_0x34158c];if((_0x1138c8==null?void 0x0:_0x1138c8[_0x56b69a(0x1cc)])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x448)]){var _0x3b7851;return _0xb305b4(_0x1f3390,_0x265a80,_0x34158c)??_0x22fa67((_0x3b7851=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x3b7851=_0x3b7851[_0x56b69a(0x404)])==null?void 0x0:_0x3b7851[_0x34158c]);}if(_0x46ad53(_0x1138c8)||_0x58b029(_0x1138c8)||(_0x1138c8==null?void 0x0:_0x1138c8['type'])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x24b)]){var _0x424aeb;let _0x497995=(_0x424aeb=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x424aeb=_0x424aeb['values'])==null?void 0x0:_0x424aeb[_0x34158c];return _0x497995!=null&&_0x497995!==''?_0x47b201(_0x497995,_0x1138c8):_0x128311(_0x5e93df,_0x1138c8,_0x1f3390,_0x265a80);}return _0x5e93df&&Object[_0x56b69a(0x3b1)][_0x56b69a(0x1ec)]['call'](_0x5e93df,'v')?_0x5e93df['v']??null:((_0x580de0=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x580de0=_0x580de0[_0x56b69a(0x404)])==null?void 0x0:_0x580de0[_0x34158c])??null;}function _0x1926ea(_0x3a9b7e,_0x596b41,_0x5f3b2c){const _0x33142b=_0x2b8d6a;var _0x31f0e7;let _0x1e2229=_0x4c2c6c(_0x3a9b7e,_0x596b41,_0x5f3b2c);if(_0x1e2229&&Object[_0x33142b(0x3b1)][_0x33142b(0x1ec)][_0x33142b(0x29f)](_0x1e2229,'v'))return _0x1e2229['v']??null;let _0x214a4f=_0x3a9b7e[_0x33142b(0x3b5)][_0x5f3b2c];return _0x1e0593(((_0x31f0e7=_0x3a9b7e[_0x33142b(0x38a)][_0x596b41])==null||(_0x31f0e7=_0x31f0e7[_0x33142b(0x404)])==null?void 0x0:_0x31f0e7[_0x5f3b2c])??null,_0x214a4f)['v']??null;}function _0x1e0593(_0x174a5e,_0x4dce91){const _0x27df23=_0x2b8d6a;if(_0x34f1bc(_0x174a5e))return(_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2['BaseFieldType']['Attachment']?{..._0x174a5e,'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']}:_0x53425a(_0x174a5e);if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)][_0x27df23(0x448)])return{'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if(_0x58b029(_0x4dce91)){let _0x3128d3=_0x33ceed(_0x174a5e);return{'v':_0x3128d3,'t':_0x166a09(_0x3128d3)};}if(_0x46ad53(_0x4dce91))return{'v':_0xade113(_0x174a5e)[_0x27df23(0x600)](',\x20'),'t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)]['Link']&&_0x174a5e&&typeof _0x174a5e==_0x27df23(0x240)&&!Array[_0x27df23(0x2a1)](_0x174a5e)){let _0x4ca1fe=_0x174a5e;return{'v':String(_0x4ca1fe[_0x27df23(0x395)]??_0x4ca1fe[_0x27df23(0x2ff)]??''),'t':_0xcf3cf2[_0x27df23(0x501)][_0x27df23(0x516)]};}return _0x174a5e===null||typeof _0x174a5e==_0x27df23(0x3ea)||typeof _0x174a5e==_0x27df23(0x202)||typeof _0x174a5e==_0x27df23(0x511)?{'v':_0x174a5e,'t':_0x166a09(_0x174a5e)}:{'v':null,'t':null};}function _0x53425a(_0x337ee7){let _0x442327=_0x1b16c2(_0x337ee7['t'],_0x337ee7['v']);if(_0x442327===void 0x0){let {t:_0x3b7b73,..._0xca7f2e}=_0x337ee7;return _0xca7f2e;}return{..._0x337ee7,'t':_0x442327};}function _0x128311(_0x3dfae5,_0x19e64f,_0x352b84,_0x507b61){const _0x114c8b=_0x2b8d6a;if(!_0x3dfae5)return null;if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2[_0x114c8b(0x435)][_0x114c8b(0x448)])return _0x352b84&&_0x507b61?_0xb305b4(_0x352b84,_0x507b61,_0x19e64f['id'])??[]:[];if(_0x46ad53(_0x19e64f))return _0xade113(_0x3dfae5['v']);if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2['BaseFieldType'][_0x114c8b(0x24b)]&&_0x352b84&&_0x507b61){var _0x51aefd;let _0x4b4b3e=(_0x51aefd=_0x352b84[_0x114c8b(0x38a)][_0x507b61])==null||(_0x51aefd=_0x51aefd[_0x114c8b(0x404)])==null?void 0x0:_0x51aefd[_0x19e64f['id']];if(_0x4b4b3e&&typeof _0x4b4b3e==_0x114c8b(0x240)&&!Array[_0x114c8b(0x2a1)](_0x4b4b3e))return _0x4b4b3e;}return Object['prototype'][_0x114c8b(0x1ec)][_0x114c8b(0x29f)](_0x3dfae5,'v')?_0x3dfae5['v']??null:null;}function _0x566985(_0x47e1d,_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1){const _0x498027=_0x2b8d6a;return(_0x4eb14d==null?void 0x0:_0x4eb14d[_0x498027(0x1cc)])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x448)]?_0x22fa67(_0x47e1d):_0x58b029(_0x4eb14d)?_0x33ceed(_0x47e1d):_0x46ad53(_0x4eb14d)?_0xade113(_0x47e1d):(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&(_0x47e1d==null||_0x47e1d==='')?null:(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&_0x47e1d&&typeof _0x47e1d=='object'&&!Array[_0x498027(0x2a1)](_0x47e1d)&&!_0x34f1bc(_0x47e1d)?_0x47e1d:_0x128311(_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1);}function _0x34f1bc(_0x44853f){const _0x1080a3=_0x2b8d6a;return!!_0x44853f&&typeof _0x44853f==_0x1080a3(0x240)&&(Object['prototype'][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'v')||Object[_0x1080a3(0x3b1)][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'t')||Object['prototype'][_0x1080a3(0x1ec)]['call'](_0x44853f,'p')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'f')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'si'));}function _0x1d1617(_0xf3406e,_0x5d29ec){return _0xf3406e+'\x1f'+_0x5d29ec;}function _0x369dce(_0x4fc72e,_0x3131d8,_0x32228e,_0x5418c5){const _0x3685cc=_0x2b8d6a;let _0x274a5e=_0x22fa67(_0x5418c5);_0x4fc72e[_0x3685cc(0x482)]={..._0x4fc72e[_0x3685cc(0x482)]??{}},_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]??{}},_0x4fc72e[_0x3685cc(0x482)]['attachments']={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x1e9)]??{}};let _0x2111b5=_0x1d1617(_0x32228e,_0x3131d8),_0x35f797=[];for(let _0x46e033=0x0;_0x46e033<_0x274a5e['length'];_0x46e033++){if(!(_0x46e033 in _0x274a5e))continue;let _0x2b785d=_0x274a5e[_0x46e033],_0x5e1dc0=String(_0x2b785d['id']??_0x2111b5+'\x1f'+_0x46e033),_0x5151dc={..._0x2b785d,'id':_0x5e1dc0};_0x4fc72e[_0x3685cc(0x482)]['attachments'][_0x5e1dc0]=_0x5151dc,_0x35f797[_0x3685cc(0x309)](_0x5e1dc0);}_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)][_0x2111b5]=_0x35f797;}function _0xb305b4(_0x219a3a,_0xb236ee,_0x4de306){const _0x3ac82e=_0x2b8d6a;var _0xd02fd1;let _0x5514ec=_0x1d1617(_0x4de306,_0xb236ee),_0x345884=(_0xd02fd1=_0x219a3a['resources'])==null||(_0xd02fd1=_0xd02fd1[_0x3ac82e(0x52b)])==null?void 0x0:_0xd02fd1[_0x5514ec];if(!_0x345884)return null;let _0x404c52=[];for(let _0x16457e=0x0;_0x16457e<_0x345884['length'];_0x16457e++){var _0x506568;if(!(_0x16457e in _0x345884))continue;let _0x283c34=(_0x506568=_0x219a3a['resources'])==null||(_0x506568=_0x506568[_0x3ac82e(0x1e9)])==null?void 0x0:_0x506568[_0x345884[_0x16457e]];_0x283c34&&_0x404c52[_0x3ac82e(0x309)]({..._0x283c34});}return _0x404c52;}function _0x22fa67(_0x200d18){const _0x555247=_0x2b8d6a;if(_0x200d18==null||_0x200d18===''||_0x34f1bc(_0x200d18)&&!('id'in _0x200d18)&&!(_0x555247(0x456)in _0x200d18))return[];let _0x3465d4=Array['isArray'](_0x200d18)?_0x200d18:[_0x200d18],_0x39c6d4=[];for(let _0x5af48f=0x0;_0x5af48f<_0x3465d4[_0x555247(0x3d4)];_0x5af48f++){if(!(_0x5af48f in _0x3465d4))continue;let _0x22aaa9=_0x3465d4[_0x5af48f],_0x352cda=_0x22aaa9&&typeof _0x22aaa9==_0x555247(0x240)?{..._0x22aaa9}:{'id':'attachment-'+_0x5af48f,'name':String(_0x22aaa9)};Object[_0x555247(0x582)](_0x352cda)[_0x555247(0x3d4)]>0x0&&_0x39c6d4[_0x555247(0x309)](_0x352cda);}return _0x39c6d4;}function _0x47b201(_0x418132,_0x39ae71){const _0x117602=_0x2b8d6a;return(_0x39ae71==null?void 0x0:_0x39ae71[_0x117602(0x1cc)])===_0xcf3cf2[_0x117602(0x435)][_0x117602(0x448)]?_0x22fa67(_0x418132):_0x58b029(_0x39ae71)?_0x33ceed(_0x418132):_0x46ad53(_0x39ae71)?_0xade113(_0x418132):_0x418132;}function _0x1a3619(_0x10f56b,_0x41d6be,_0xd4fc51){const _0x112a11=_0x2b8d6a;return(_0x41d6be==null?void 0x0:_0x41d6be[_0x112a11(0x1cc)])===_0xcf3cf2[_0x112a11(0x435)][_0x112a11(0x448)]?_0x10f56b['v']!=='':_0x58b029(_0x41d6be)?_0x10f56b['v']!==_0x33ceed(_0xd4fc51):_0x46ad53(_0x41d6be)?Array[_0x112a11(0x2a1)](_0xd4fc51)&&(_0x10f56b['v']==null||_0x10f56b['v']===''):!0x1;}function _0x46ad53(_0x5af1e2){const _0x374283=_0x2b8d6a;return(_0x5af1e2==null?void 0x0:_0x5af1e2[_0x374283(0x1cc)])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x336)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x3fa)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)]['Person']&&_0x5af1e2[_0x374283(0x5a3)]['allowMultiple']===!0x0;}function _0x58b029(_0x106bf2){const _0x5389d2=_0x2b8d6a;return(_0x106bf2==null?void 0x0:_0x106bf2['type'])===_0xcf3cf2['BaseFieldType'][_0x5389d2(0x3d5)]&&_0x106bf2['config'][_0x5389d2(0x4ee)]!==!0x0;}function _0x33ceed(_0x5181d2){let _0x1efb0b=_0x34f1bc(_0x5181d2)?_0x5181d2['v']:_0x5181d2,_0x384698=Array['isArray'](_0x1efb0b)?_0x1efb0b[0x0]:_0x1efb0b;return _0x384698==null||_0x384698===''?null:String(_0x384698);}function _0xade113(_0x265ac1){const _0xeeb6e1=_0x2b8d6a;if(_0x265ac1==null||_0x265ac1==='')return[];let _0x3f69d1=[];if(Array['isArray'](_0x265ac1)){for(let _0x4c180a=0x0;_0x4c180a<_0x265ac1[_0xeeb6e1(0x3d4)];_0x4c180a++){if(!(_0x4c180a in _0x265ac1))continue;let _0x25ad72=_0x58cf7b(_0x265ac1[_0x4c180a]);_0x25ad72&&_0x3f69d1[_0xeeb6e1(0x309)](_0x25ad72);}return _0x3f69d1;}for(let _0x4b493a of String(_0x265ac1)[_0xeeb6e1(0x339)](',')){let _0x5a241d=_0x4b493a['trim']();_0x5a241d&&_0x3f69d1[_0xeeb6e1(0x309)](_0x5a241d);}return _0x3f69d1;}function _0x58cf7b(_0xa1f55e){const _0xbea3bd=_0x2b8d6a;if(_0xa1f55e==null)return'';if(typeof _0xa1f55e=='string'||typeof _0xa1f55e=='number'||typeof _0xa1f55e==_0xbea3bd(0x511))return String(_0xa1f55e);if(typeof _0xa1f55e=='object'){let _0x42d1cd=_0xa1f55e;return String(_0x42d1cd['id']??_0x42d1cd[_0xbea3bd(0x456)]??_0x42d1cd[_0xbea3bd(0x395)]??'');}return String(_0xa1f55e);}function _0x166a09(_0x4793f3){const _0x312a4d=_0x2b8d6a;return _0x4793f3==null?null:typeof _0x4793f3==_0x312a4d(0x202)?_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x3b7)]:typeof _0x4793f3=='boolean'?_0xcf3cf2['CellValueType'][_0x312a4d(0x508)]:_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x516)];}function _0xc11fd4(_0x557b6d){const _0x16f4ca=_0x2b8d6a;_0x557b6d['sort']((_0x5e0195,_0x5ccbdc)=>_0x5e0195['orderKey'][_0x16f4ca(0x1f9)](_0x5ccbdc['orderKey']));let _0x594dce=[];for(let _0xab0d70 of _0x557b6d)_0x594dce[_0x16f4ca(0x309)](_0xab0d70['id']);return _0x594dce;}function _0x1b16c2(_0x333ff1,_0x11bdd9){const _0x3e3617=_0x2b8d6a;return _0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x516)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3b7)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)]['BOOLEAN']||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3da)]||_0x333ff1==null?_0x333ff1:_0x166a09(_0x11bdd9??null);}function _0x5dc19d(_0xc53870){const _0x4760c4=_0x2b8d6a;let _0x593a42=null;for(let _0x2070f2 of _0xc53870)_0x593a42=_0x593a42===null?_0x2070f2:_0xcf3cf2[_0x4760c4(0x597)][_0x4760c4(0x1cc)][_0x4760c4(0x4b7)](_0x593a42,_0x2070f2);return _0x593a42;}var _0x3c7454=class _0x1f0509{static[_0x2b8d6a(0x39a)](_0x557095,_0xe346d8){const _0x40fa63=_0x2b8d6a;let _0x192ab5=[];for(let _0x1b0ed3 of _0xe346d8){let _0x513a0c=_0x51360c(_0x1b0ed3);if(!_0x513a0c||_0x513a0c[_0x40fa63(0x20d)]!==_0x557095['id'])return null;_0x192ab5[_0x40fa63(0x309)](_0x513a0c['op']);}try{let _0x610ec2=_0x5dc19d(_0x192ab5);return _0x610ec2===null?_0x557095:new _0x1f0509()[_0x40fa63(0x54e)](_0x557095,_0x610ec2);}catch{return null;}}[_0x2b8d6a(0x54e)](_0x3afadb,_0x418220){const _0x438de0=_0x2b8d6a;let _0x287e00=this[_0x438de0(0x235)](_0x418220),_0x14fb66=_0x4baece(_0x438de0(0x3c4),()=>_0x1a8ede(_0x3afadb,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x238bcd=_0x4baece('BaseJson1.json1Apply',()=>_0xcf3cf2['JSON1'][_0x438de0(0x1cc)][_0x438de0(0x366)](_0x14fb66,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0xdf98e2=_0x23998e(_0x238bcd,_0x287e00);return _0x4baece('BaseJson1.syncCellInvalidations',()=>_0x46a59a(_0x238bcd,_0x287e00),{'invalidations':_0x287e00[_0x438de0(0x3d4)]})?(_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd):(_0x4baece('BaseJson1.normalizeTables',()=>{const _0x342fe9=_0x438de0;this['_getTablesToNormalize'](_0x238bcd,_0x287e00)[_0x342fe9(0x458)](_0x2e9e50=>{const _0x39e29b=_0x342fe9;let _0x78ca79=_0x287e00['filter'](_0x17b2a3=>_0x17b2a3['tableId']===_0x2e9e50['id']),_0x4c3cd0=_0x78ca79[_0x39e29b(0x3d4)]>0x0&&_0x78ca79[_0x39e29b(0x320)](_0x548fe9=>_0x548fe9[_0x39e29b(0x2e7)]==='field'||_0x548fe9[_0x39e29b(0x2e7)]==='view'||_0x548fe9[_0x39e29b(0x2e7)]===_0x39e29b(0x4c1)||_0x548fe9[_0x39e29b(0x2e7)]==='record')?new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x5bb2fd=>{const _0x11176b=_0x39e29b;var _0x27d833;if(_0x5bb2fd[_0x11176b(0x2e7)]!==_0x11176b(0x48c)||!_0x5bb2fd[_0x11176b(0x580)])return[];let _0x5d3d53=(_0x27d833=_0x3afadb[_0x11176b(0x3d7)][_0x2e9e50['id']])==null?void 0x0:_0x27d833['fields'][_0x5bb2fd[_0x11176b(0x580)]],_0xfe8d12=_0x2e9e50[_0x11176b(0x3b5)][_0x5bb2fd[_0x11176b(0x580)]];return(_0x5d3d53==null?void 0x0:_0x5d3d53['type'])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x1cc)])||(_0x5d3d53==null?void 0x0:_0x5d3d53['config'][_0x11176b(0x4ee)])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x5a3)][_0x11176b(0x4ee)])?[_0x5bb2fd['fieldId']]:[];})):void 0x0,_0x4071df=new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x38a6f8=>{const _0x299952=_0x39e29b;var _0x1bf97e,_0x2266e2;return _0x38a6f8[_0x299952(0x2e7)]!==_0x299952(0x4c1)||_0x38a6f8[_0x299952(0x53e)]==null||_0x38a6f8[_0x299952(0x45e)]==null?[]:[JSON[_0x299952(0x322)]([(_0x1bf97e=_0x2e9e50[_0x299952(0x369)])==null?void 0x0:_0x1bf97e[_0x38a6f8[_0x299952(0x53e)]],(_0x2266e2=_0x2e9e50['colId'])==null?void 0x0:_0x2266e2[_0x38a6f8[_0x299952(0x45e)]]])];}));_0x41664f(_0x2e9e50,_0x4c3cd0?(_0x15b6be,_0x525394)=>_0x4c3cd0[_0x39e29b(0x244)](_0x525394)||_0x4071df[_0x39e29b(0x244)](JSON[_0x39e29b(0x322)]([_0x15b6be,_0x525394])):void 0x0);});},{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd);}[_0x2b8d6a(0x5a5)](_0x1fc2f1,_0x238587){const _0x43db90=_0x2b8d6a;return _0xcf3cf2['JSON1'][_0x43db90(0x1cc)][_0x43db90(0x449)](_0x238587,_0x1fc2f1);}[_0x2b8d6a(0x235)](_0x5474c8){const _0x1c2d96=_0x2b8d6a;let _0x12a062=_0x2c1adc(_0x5474c8);return _0x12a062[_0x1c2d96(0x3d4)]?_0x46dbc1(_0x12a062['flatMap'](_0x2161e1=>this[_0x1c2d96(0x235)](_0x2161e1))):_0x53868f(_0x5474c8);}[_0x2b8d6a(0x3e8)](_0x9e8287,_0x136ee2){const _0xed62c6=_0x2b8d6a;let _0x10136e=_0x136ee2['filter'](_0x89e231=>_0x89e231[_0xed62c6(0x2e7)]!==_0xed62c6(0x2e6));return _0x10136e[_0xed62c6(0x3d4)]?_0x10136e['some'](_0x344bf1=>!_0x344bf1['tableId'])?Object[_0xed62c6(0x404)](_0x9e8287[_0xed62c6(0x3d7)]??{}):Array[_0xed62c6(0x1ea)](new Set(_0x10136e[_0xed62c6(0x2c4)](_0x38d7c9=>_0x38d7c9[_0xed62c6(0x3e2)])))[_0xed62c6(0x5d0)](_0x3c1888=>{const _0x52714=_0xed62c6;var _0x256301;let _0x340e22=(_0x256301=_0x9e8287[_0x52714(0x3d7)])==null?void 0x0:_0x256301[_0x3c1888];return _0x340e22?[_0x340e22]:[];}):[];}};function _0x51360c(_0x1437e8){const _0x178e99=_0x2b8d6a;let _0x2d9b75=_0x1437e8[_0x178e99(0x282)];return _0x1437e8['id']!==_0x178e99(0x304)||typeof _0x2d9b75!=_0x178e99(0x240)||!_0x2d9b75||!('unitId'in _0x2d9b75)||typeof _0x2d9b75['unitId']!=_0x178e99(0x3ea)||!('op'in _0x2d9b75)||!Array[_0x178e99(0x2a1)](_0x2d9b75['op'])?null:{'unitId':_0x2d9b75['unitId'],'op':_0x2d9b75['op']};}function _0x46a59a(_0xcf9089,_0x5c69b9){const _0x4b7a74=_0x2b8d6a;if(!_0x5c69b9[_0x4b7a74(0x3d4)]||_0x5c69b9[_0x4b7a74(0x20f)](_0x2da1af=>_0x2da1af['reason']!==_0x4b7a74(0x4c1)))return!0x1;let _0x129db4=new Map();for(let _0x48808c of _0x5c69b9){if(!_0x48808c[_0x4b7a74(0x3e2)]||_0x48808c[_0x4b7a74(0x53e)]==null||_0x48808c[_0x4b7a74(0x45e)]==null)continue;let _0x485706=_0x129db4['get'](_0x48808c[_0x4b7a74(0x3e2)])??[];_0x485706[_0x4b7a74(0x309)]({'row':_0x48808c['row'],'col':_0x48808c[_0x4b7a74(0x45e)]}),_0x129db4['set'](_0x48808c[_0x4b7a74(0x3e2)],_0x485706);}return _0x129db4['forEach']((_0x9da68e,_0x9a4e28)=>{var _0x3a9a19;let _0x8a9937=(_0x3a9a19=_0xcf9089['tables'])==null?void 0x0:_0x3a9a19[_0x9a4e28];_0x8a9937&&_0x334b3c(_0x8a9937,_0x9da68e);}),!0x0;}function _0x23998e(_0x52b2c3,_0x536a4d){const _0x126ba4=_0x2b8d6a;let _0x51baf0=new Set();return _0x536a4d[_0x126ba4(0x5d0)](_0x39f49b=>{const _0x54e272=_0x126ba4;var _0x1110ce;if(!_0x39f49b[_0x54e272(0x3e2)]||!_0x39f49b[_0x54e272(0x57e)]||!_0x39f49b[_0x54e272(0x580)])return[];let _0x3dc091=_0x39f49b[_0x54e272(0x3e2)]+'\x1f'+_0x39f49b[_0x54e272(0x57e)]+'\x1f'+_0x39f49b[_0x54e272(0x580)];if(_0x51baf0['has'](_0x3dc091))return[];_0x51baf0['add'](_0x3dc091);let _0xc2b79=(_0x1110ce=_0x52b2c3['tables'][_0x39f49b['tableId']])==null||(_0x1110ce=_0x1110ce['records'][_0x39f49b[_0x54e272(0x57e)]])==null?void 0x0:_0x1110ce[_0x54e272(0x404)];return _0xc2b79?[{'tableId':_0x39f49b['tableId'],'recordId':_0x39f49b['recordId'],'fieldId':_0x39f49b['fieldId'],'exists':Object['prototype'][_0x54e272(0x1ec)]['call'](_0xc2b79,_0x39f49b[_0x54e272(0x580)]),'value':_0xc2b79[_0x39f49b['fieldId']]}]:[];});}function _0x55bcfe(_0x34a936,_0x66dc02){const _0x54203b=_0x2b8d6a;_0x66dc02[_0x54203b(0x458)](_0x193594=>{const _0x26788a=_0x54203b;var _0x3e4756;let _0x250e93=(_0x3e4756=_0x34a936[_0x26788a(0x3d7)][_0x193594[_0x26788a(0x3e2)]])==null||(_0x3e4756=_0x3e4756['records'][_0x193594['recordId']])==null?void 0x0:_0x3e4756[_0x26788a(0x404)];_0x250e93&&(_0x193594[_0x26788a(0x224)]?_0x250e93[_0x193594[_0x26788a(0x580)]]=_0x193594[_0x26788a(0x348)]:delete _0x250e93[_0x193594['fieldId']]);});}function _0x53868f(_0x19c5a1){const _0x42313b=_0x2b8d6a;if(!Array['isArray'](_0x19c5a1)||_0x19c5a1[_0x42313b(0x3d4)]<0x2)return[{'tableId':'','reason':_0x42313b(0x300)}];let _0x59246a=_0x19c5a1,_0x9902b4=_0x59246a[_0x42313b(0x267)](_0x42313b(0x3d7));return _0x9902b4===-0x1||typeof _0x59246a[_0x9902b4+0x1]!=_0x42313b(0x3ea)?_0x59246a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x42313b(0x300)}]:_0x31bf52(_0x59246a,_0x9902b4,String(_0x59246a[_0x9902b4+0x1]));}function _0x31bf52(_0x2fa8cd,_0x146418,_0x50c0d7){const _0x5e7485=_0x2b8d6a;let _0x30edaa=_0x2fa8cd[_0x146418+0x2];return _0x30edaa===_0x5e7485(0x38a)&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?_0x224485(_0x2fa8cd,_0x146418,_0x50c0d7,String(_0x2fa8cd[_0x146418+0x3])):_0x30edaa===_0x5e7485(0x2a3)&&_0x2fa8cd[_0x146418+0x3]!=null&&_0x2fa8cd[_0x146418+0x4]!=null?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1),'row':Number(_0x2fa8cd[_0x146418+0x3]),'column':Number(_0x2fa8cd[_0x146418+0x4])}]:_0x30edaa===_0x5e7485(0x3b5)&&typeof _0x2fa8cd[_0x146418+0x3]=='string'?[{'tableId':_0x50c0d7,'reason':'field','fieldId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa==='fieldOrder'?[{'tableId':_0x50c0d7,'reason':'field'}]:_0x30edaa==='recordOrder'?[{'tableId':_0x50c0d7,'reason':'record'}]:_0x30edaa==='views'&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6),'viewId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa===_0x5e7485(0x49a)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6)}]:_0x30edaa===_0x5e7485(0x482)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1)}]:[{'tableId':_0x50c0d7,'reason':_0x30edaa===void 0x0?'table':_0x5e7485(0x300)}];}function _0x224485(_0x33beb1,_0x196c59,_0x44ddb7,_0x4d7eac){const _0x291b77=_0x2b8d6a;return _0x33beb1[_0x196c59+0x4]===_0x291b77(0x404)&&typeof _0x33beb1[_0x196c59+0x5]==_0x291b77(0x3ea)?[{'tableId':_0x44ddb7,'reason':_0x291b77(0x4c1),'recordId':_0x4d7eac,'fieldId':String(_0x33beb1[_0x196c59+0x5])}]:_0x33beb1[_0x196c59+0x4]===_0x291b77(0x5b8)||_0x33beb1[_0x196c59+0x4]===_0x291b77(0x349)?[]:[{'tableId':_0x44ddb7,'reason':'record','recordId':_0x4d7eac}];}function _0x2c1adc(_0x18005e){const _0x47925b=_0x2b8d6a;if(!Array[_0x47925b(0x2a1)](_0x18005e))return[];let _0x2fd4bc=_0x18005e[_0x47925b(0x355)](Array[_0x47925b(0x2a1)]);if(_0x2fd4bc[_0x47925b(0x3d4)]>0x1&&_0x2fd4bc['length']===_0x18005e[_0x47925b(0x3d4)])return _0x2fd4bc;let _0x2ddb6a=_0x18005e[_0x47925b(0x45c)](Array['isArray']);if(_0x2ddb6a>0x0&&_0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x320)](Array[_0x47925b(0x2a1)])){let _0x38ff2a=_0x18005e['slice'](0x0,_0x2ddb6a);return _0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x2c4)](_0x1b79b2=>[..._0x38ff2a,..._0x1b79b2]);}let _0x2e90e1=_0x18005e['indexOf'](_0x47925b(0x3d7));if(_0x2e90e1===-0x1||typeof _0x18005e[_0x2e90e1+0x1]!='string')return[];let _0x2aaa5d=String(_0x18005e[_0x2e90e1+0x1]),_0x463a31=_0x18005e['slice'](_0x2e90e1+0x2)['filter'](Array[_0x47925b(0x2a1)]);return _0x463a31[_0x47925b(0x3d4)]<=0x1?[]:_0x463a31[_0x47925b(0x2c4)](_0x501ad7=>[_0x47925b(0x3d7),_0x2aaa5d,..._0x501ad7]);}function _0x46dbc1(_0x230282){const _0x38894a=_0x2b8d6a;let _0x4522ea=new Set();return _0x230282[_0x38894a(0x355)](_0x270237=>{const _0x543bd7=_0x38894a;let _0x2e0559=JSON['stringify'](_0x270237);return!_0x4522ea[_0x543bd7(0x244)](_0x2e0559)&&(_0x4522ea[_0x543bd7(0x1d6)](_0x2e0559),!0x0);});}function _0xb79131(_0x2e422e){const _0x127b56=_0x2b8d6a;return _0xcf3cf2['Tools'][_0x127b56(0x578)](_0x2e422e);}function _0x1a8ede(_0x5392d6,_0x49fb00){const _0x41dbf0=_0x2b8d6a;let _0x3fb84e=_0x1199ad(_0x49fb00);if(!_0x3fb84e[_0x41dbf0(0x3d4)])return _0xb79131(_0x5392d6);let _0x431dfa=_0x1a7260(_0x5392d6),_0x4dca11=new Set();for(let _0x52c65b of _0x3fb84e)_0x4415dc(_0x431dfa,_0x52c65b,_0x4dca11);return _0x431dfa;}function _0x1199ad(_0x277c7){let _0x538961=[];return _0x3da892(_0x277c7,[],_0x538961),_0x538961;}function _0x3da892(_0xcbabc8,_0x46ddc6,_0x5216c6){const _0xde7e6f=_0x2b8d6a;if(!Array[_0xde7e6f(0x2a1)](_0xcbabc8))return;let _0x1e987b=[];for(let _0x4c2628 of _0xcbabc8){if(Array[_0xde7e6f(0x2a1)](_0x4c2628)){_0x3da892(_0x4c2628,[..._0x46ddc6,..._0x1e987b],_0x5216c6);continue;}if(_0x22991c(_0x4c2628)){_0x5216c6[_0xde7e6f(0x309)]([..._0x46ddc6,..._0x1e987b]);continue;}(typeof _0x4c2628==_0xde7e6f(0x3ea)||typeof _0x4c2628==_0xde7e6f(0x202))&&_0x1e987b[_0xde7e6f(0x309)](_0x4c2628);}}function _0x22991c(_0x27855e){if(!_0x27855e||typeof _0x27855e!='object'||Array['isArray'](_0x27855e))return!0x1;let _0x34ed8f=_0x27855e;return'i'in _0x34ed8f||'r'in _0x34ed8f||'p'in _0x34ed8f||'d'in _0x34ed8f||'es'in _0x34ed8f||'ena'in _0x34ed8f||'et'in _0x34ed8f;}function _0x4415dc(_0x24823c,_0x1f2200,_0x3cc816){const _0x42b31f=_0x2b8d6a;let _0x48ce01=_0x24823c,_0x4b75d0=[];for(let _0x52b17b=0x0;_0x52b17b<_0x1f2200['length']-0x1;_0x52b17b++){let _0x9e9747=_0x1f2200[_0x52b17b];_0x4b75d0[_0x42b31f(0x309)](_0x9e9747);let _0x54552b=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x54552b))return;let _0x50f6fc=JSON['stringify'](_0x4b75d0);_0x3cc816[_0x42b31f(0x244)](_0x50f6fc)||(_0x367330(_0x48ce01,_0x9e9747,_0x1a7260(_0x54552b)),_0x3cc816[_0x42b31f(0x1d6)](_0x50f6fc));let _0x5cdf91=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x5cdf91))return;_0x48ce01=_0x5cdf91;}}function _0x513162(_0x4c045e,_0xecd2b1){const _0x268125=_0x2b8d6a;return Array[_0x268125(0x2a1)](_0x4c045e)?typeof _0xecd2b1==_0x268125(0x202)?_0x4c045e[_0xecd2b1]:void 0x0:Reflect['get'](_0x4c045e,_0xecd2b1);}function _0x367330(_0x5b84d6,_0x5e73a7,_0x4822fe){const _0x1a9447=_0x2b8d6a;if(Array[_0x1a9447(0x2a1)](_0x5b84d6)){typeof _0x5e73a7==_0x1a9447(0x202)&&(_0x5b84d6[_0x5e73a7]=_0x4822fe);return;}Reflect[_0x1a9447(0x22b)](_0x5b84d6,_0x5e73a7,_0x4822fe);}function _0xbd19eb(_0x548386){return!!_0x548386&&typeof _0x548386=='object';}function _0x1a7260(_0x3d124d){const _0x3c2307=_0x2b8d6a;return Array['isArray'](_0x3d124d)?_0x3d124d[_0x3c2307(0x3de)]():{..._0x3d124d};}let _0x55f68e=_0x2b8d6a(0x51b),_0x26cc72=/\s+hh:mm\s*$/i,_0x21ab81={'yyyy/mm/dd':_0x2b8d6a(0x568),'yyyy-mm-dd':_0x2b8d6a(0x5b5),'mm-dd':'MM-DD','mm/dd/yyyy':_0x2b8d6a(0x5ae),'dd/mm/yyyy':_0x2b8d6a(0x5fa),'mmm\x20d,\x20yyyy':_0x2b8d6a(0x535)};function _0x7aca16(_0x340713,_0x443d89=_0xcf3cf2[_0x2b8d6a(0x251)][_0x2b8d6a(0x1ed)]){const _0x3edf91=_0x2b8d6a;let _0x454fa6=(0x0,_0xcf3cf2['dateKit'])(_0x340713)[_0x3edf91(0x4be)]();return(0x0,_0xcf3cf2[_0x3edf91(0x5e3)])(new Date(_0x454fa6),_0x443d89);}function _0x5c88bb(_0x11f672,_0xdbd2ef=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){const _0x5a6034=_0x2b8d6a;return(0x0,_0xcf3cf2[_0x5a6034(0x3a9)])(_0x11f672,_0xdbd2ef)['getTime']();}function _0x5182d6(_0x5ac3cf,_0x23d84c=_0xcf3cf2[_0x2b8d6a(0x251)]['Date1900']){const _0x570538=_0x2b8d6a;if(_0x5ac3cf==null||_0x5ac3cf==='')return null;if(_0x5ac3cf instanceof Date)return _0x7aca16(_0x5ac3cf,_0x23d84c);if(typeof _0x5ac3cf==_0x570538(0x202))return Number[_0x570538(0x2b0)](_0x5ac3cf)?_0x5ac3cf>0xf4240?_0x7aca16(_0x5ac3cf,_0x23d84c):_0x5ac3cf:null;let _0x4fe331=Date['parse'](String(_0x5ac3cf));return Number[_0x570538(0x40b)](_0x4fe331)?null:_0x7aca16(_0x4fe331,_0x23d84c);}function _0x3ded3a(_0x2cb39d,_0x2a18d3=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){let _0x334913=_0x5182d6(_0x2cb39d,_0x2a18d3);return _0x334913==null?null:_0x5c88bb(_0x334913,_0x2a18d3);}function _0x14d9da(_0x4e03ee={}){const _0x545893=_0x2b8d6a;let _0xf8e804=String(_0x4e03ee[_0x545893(0x41e)]??_0x4e03ee[_0x545893(0x1fa)]??_0x4e03ee[_0x545893(0x242)]??_0x55f68e)[_0x545893(0x479)]()||_0x55f68e,_0x1d013f=_0x26cc72[_0x545893(0x250)](_0xf8e804);return{'pattern':_0xf8e804[_0x545893(0x5a4)](_0x26cc72,'')||_0x55f68e,'includeTime':typeof _0x4e03ee[_0x545893(0x5b1)]==_0x545893(0x511)?_0x4e03ee[_0x545893(0x5b1)]:_0x1d013f,'hourCycle':_0x4e03ee[_0x545893(0x26a)]===_0x545893(0x2cf)?_0x545893(0x2cf):_0x545893(0x433)};}function _0x21d088(_0x1850ad={}){let {format:_0xfa1a33,dateFormat:_0x260622,..._0x418736}=_0x1850ad;return{..._0x418736,..._0x14d9da(_0x1850ad)};}function _0x1e8f43(_0x401fbe,_0x2b3942={}){const _0x26145c=_0x2b8d6a;let _0x4cf725=_0x3ded3a(_0x401fbe);if(_0x4cf725==null||!Number['isFinite'](_0x4cf725))return'';let _0x55eb68=_0x14d9da(_0x2b3942);return(0x0,_0xcf3cf2[_0x26145c(0x28a)])(_0x4cf725)[_0x26145c(0x1fa)](_0x1b7282(_0x55eb68));}function _0x1b7282(_0x36358b){const _0x11079c=_0x2b8d6a;let {pattern:_0x1ad95c,includeTime:_0x3e8c29,hourCycle:_0x2a1324}=_0x36358b,_0x5e6c89=_0x21ab81[_0x1ad95c]??_0x21ab81[_0x55f68e];return _0x3e8c29?_0x5e6c89+'\x20'+(_0x2a1324==='h12'?_0x11079c(0x412):_0x11079c(0x432)):_0x5e6c89;}let _0x309b62={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4c4adc=new Set([_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x46d)]]),_0x2eddf7=0x5265c00;function _0x78a559(_0x592029){const _0x78c99d=_0x2b8d6a;switch(_0x592029){case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5b6)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x3d8)]:case _0xcf3cf2['BaseFieldType']['Progress']:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x22a)]:return[_0xcf3cf2['BaseConditionalColorOperator']['IS'],_0xcf3cf2['BaseConditionalColorOperator']['IS_NOT'],_0xcf3cf2[_0x78c99d(0x2f1)]['GREATER_THAN'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x46b)],_0xcf3cf2['BaseConditionalColorOperator']['IS_EMPTY'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x2d9)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x413)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x305)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x315)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x483)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x215)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x5e1)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5f8)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x315)]];default:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)]['IS_NOT'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x262)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x497)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x5e1)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];}}function _0x16d4c2(_0x19869c){const _0x351bf7=_0x2b8d6a;return _0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x2d9)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x413)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x305)];}function _0x727464(_0x1becc2,_0x1b6fbd){const _0x407aaa=_0x2b8d6a;return _0x1becc2==null&&_0x1b6fbd==null?0x0:_0x1becc2==null?-0x1:_0x1b6fbd==null?0x1:typeof _0x1becc2==_0x407aaa(0x202)&&typeof _0x1b6fbd=='number'?_0x1becc2-_0x1b6fbd:String(_0x1becc2)['localeCompare'](String(_0x1b6fbd));}function _0x357854(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3,_0x22aee0={}){const _0x5bab68=_0x2b8d6a;if(_0x577846==='isEmpty')return _0x5cb666(_0x2d8859);if(_0x577846==='isNotEmpty')return!_0x5cb666(_0x2d8859);switch(_0x47d7b3['type']){case _0xcf3cf2['BaseFieldType']['Number']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3d8)]:case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x455)]:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x22a)]:return _0xba0613(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x2d9)]:case _0xcf3cf2['BaseFieldType']['CreatedAt']:case _0xcf3cf2['BaseFieldType']['UpdatedAt']:return _0xa442e9(_0x2d8859,_0x577846,_0x277b54,_0x22aee0);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x5f8)]:return _0x14c399(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x2e3)]:case _0xcf3cf2[_0x5bab68(0x435)]['MultiSelect']:case _0xcf3cf2[_0x5bab68(0x435)]['Person']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3fa)]:return _0x5ce2cb(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3);default:return _0x508431(_0x2d8859,_0x577846,_0x277b54);}}function _0x5cb666(_0x277b88){const _0xa8ff33=_0x2b8d6a;return _0x277b88==null?!0x0:Array[_0xa8ff33(0x2a1)](_0x277b88)?_0x277b88['length']===0x0:typeof _0x277b88==_0xa8ff33(0x3ea)&&_0x277b88[_0xa8ff33(0x479)]()==='';}function _0xba0613(_0x134f46,_0x231996,_0x3a9c84){const _0x3b5459=_0x2b8d6a;let _0x1ea493=_0x4eccf5(_0x134f46),_0x2f29f8=_0x4eccf5(_0x3a9c84);if(_0x1ea493==null||_0x2f29f8==null)return!0x1;switch(_0x231996){case'is':return _0x1ea493===_0x2f29f8;case _0x3b5459(0x4d2):return _0x1ea493!==_0x2f29f8;case _0x3b5459(0x26e):return _0x1ea493>_0x2f29f8;case'greaterThanOrEqual':return _0x1ea493>=_0x2f29f8;case _0x3b5459(0x227):return _0x1ea493<_0x2f29f8;case _0x3b5459(0x276):return _0x1ea493<=_0x2f29f8;default:return!0x1;}}function _0x4eccf5(_0x18eab4){if(_0x18eab4==null||_0x18eab4==='')return null;let _0x397683=Number(_0x18eab4);return Number['isFinite'](_0x397683)?_0x397683:null;}function _0xa442e9(_0x37cf98,_0x203a7a,_0x176a37,_0x593aa1){const _0x35d8b2=_0x2b8d6a;let _0x285393=_0xe69732(_0x37cf98);if(_0x285393==null)return!0x1;let _0x43a3a5=_0x283da0(_0x593aa1[_0x35d8b2(0x32f)]??_0x35d8b2(0x231),_0x176a37,_0x593aa1[_0x35d8b2(0x208)]);if(!_0x43a3a5)return!0x1;switch(_0x203a7a){case'is':return _0x285393>=_0x43a3a5['start']&&_0x285393<=_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x4d2):return _0x285393<_0x43a3a5[_0x35d8b2(0x571)]||_0x285393>_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x363):return _0x285393<_0x43a3a5['start'];case _0x35d8b2(0x5f2):return _0x285393>_0x43a3a5['end'];default:return!0x1;}}function _0x283da0(_0x2fef45,_0x1c24f4,_0x9b74a2=Date['now']()){const _0x451008=_0x2b8d6a;let _0x962dd0=_0x2508d0(_0x9b74a2);switch(_0x2fef45){case _0x451008(0x231):{let _0x3cc4f4=_0xe69732(_0x1c24f4);return _0x3cc4f4==null?null:{'start':_0x3cc4f4,'end':_0x3cc4f4+_0x2eddf7-0x1};}case _0x451008(0x499):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x39e):return{'start':_0x962dd0+_0x2eddf7,'end':_0x962dd0+_0x2eddf7*0x2-0x1};case'yesterday':return{'start':_0x962dd0-_0x2eddf7,'end':_0x962dd0-0x1};case'thisWeek':return _0x1c0d2c(_0x962dd0,0x0);case _0x451008(0x2a8):return _0x1c0d2c(_0x962dd0,-0x1);case'thisMonth':return _0x946130(_0x962dd0,0x0);case _0x451008(0x2f7):return _0x946130(_0x962dd0,-0x1);case _0x451008(0x36c):return{'start':_0x962dd0-_0x2eddf7*0x6,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x533):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x7-0x1};case'past30':return{'start':_0x962dd0-_0x2eddf7*0x1d,'end':_0x962dd0+_0x2eddf7-0x1};case'next30':return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x1e-0x1};}}function _0xe69732(_0x45ba7f){let _0x2fe154=_0x5182d6(_0x45ba7f);return _0x2fe154==null?null:_0x2508d0(_0x5c88bb(_0x2fe154));}function _0x2508d0(_0x132d04){const _0x1a848e=_0x2b8d6a;let _0x338eca=new Date(_0x132d04);return _0x338eca['setHours'](0x0,0x0,0x0,0x0),_0x338eca[_0x1a848e(0x25d)]();}function _0x1c0d2c(_0x38ce2d,_0x3078ee){const _0x373d68=_0x2b8d6a;let _0x4726cb=_0x38ce2d-(new Date(_0x38ce2d)[_0x373d68(0x32e)]()+0x6)%0x7*_0x2eddf7+_0x3078ee*_0x2eddf7*0x7;return{'start':_0x4726cb,'end':_0x4726cb+_0x2eddf7*0x7-0x1};}function _0x946130(_0x5384d0,_0x2da625){const _0xf17fcd=_0x2b8d6a;let _0xea7c93=new Date(_0x5384d0),_0x2475cf=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625,0x1),_0x3b11d6=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625+0x1,0x1);return{'start':_0x2475cf[_0xf17fcd(0x25d)](),'end':_0x3b11d6['getTime']()-0x1};}function _0x14c399(_0x3eb405,_0x1705b8,_0x5145c6){let _0x3a6af7=_0x3732dd(_0x3eb405),_0x231fff=_0x3732dd(_0x5145c6);switch(_0x1705b8){case'is':return _0x3a6af7===_0x231fff;case'isNot':return _0x3a6af7!==_0x231fff;default:return!0x1;}}function _0x3732dd(_0x22741f){return _0x22741f===!0x0||_0x22741f==='true'||_0x22741f===0x1||_0x22741f==='1';}function _0x5ce2cb(_0x14c62f,_0x15f1ea,_0x352def,_0x55c64c){const _0x138a43=_0x2b8d6a;let _0x581e20=_0x57e241(_0x14c62f,_0x55c64c),_0x2613be=_0x57e241(_0x352def,_0x55c64c),_0x27bc4f=_0x2613be['length']>0x0&&_0x2613be[_0x138a43(0x20f)](_0x3444aa=>_0x581e20[_0x138a43(0x299)](_0x3444aa));switch(_0x15f1ea){case'is':case'contains':return _0x27bc4f;case _0x138a43(0x4d2):case _0x138a43(0x423):return!_0x27bc4f;default:return!0x1;}}function _0x508431(_0x2981f1,_0x2e4fc3,_0xc6dbb2){const _0x4df21d=_0x2b8d6a;let _0x2c8069=_0x3ca23e(_0x2981f1),_0x1f56f9=_0x3ca23e(_0xc6dbb2);switch(_0x2e4fc3){case'is':return _0x2c8069===_0x1f56f9;case'isNot':return _0x2c8069!==_0x1f56f9;case'contains':return _0x1f56f9?_0x2c8069[_0x4df21d(0x299)](_0x1f56f9):!0x1;case _0x4df21d(0x423):return!_0x1f56f9||!_0x2c8069['includes'](_0x1f56f9);default:return!0x1;}}function _0x3ca23e(_0x5c2518){const _0x4d316c=_0x2b8d6a;if(Array[_0x4d316c(0x2a1)](_0x5c2518))return _0x5c2518[_0x4d316c(0x2c4)](_0x238d1c=>_0x3ca23e(_0x238d1c))[_0x4d316c(0x600)]('\x0a');if(_0x5c2518&&typeof _0x5c2518==_0x4d316c(0x240)){let _0x578125=_0x5c2518;return String(_0x578125[_0x4d316c(0x456)]??_0x578125[_0x4d316c(0x2db)]??_0x578125[_0x4d316c(0x395)]??_0x578125[_0x4d316c(0x348)]??_0x578125['id']??'')['trim']()['toLowerCase']();}return String(_0x5c2518??'')['trim']()[_0x4d316c(0x402)]();}function _0x57e241(_0x45ef32,_0x502667){const _0x32bda0=_0x2b8d6a;let _0xcdb9b2=_0x20c4ae(_0x45ef32),_0x47abbe=_0x499657(_0x502667[_0x32bda0(0x5a3)]??{});return _0xcdb9b2[_0x32bda0(0x5d0)](_0x248620=>_0x47abbe[_0x32bda0(0x4f0)](_0x248620)??[_0x248620])[_0x32bda0(0x355)]((_0x3b5358,_0x46b52a,_0x24c977)=>_0x3b5358!==''&&_0x24c977[_0x32bda0(0x267)](_0x3b5358)===_0x46b52a);}function _0x20c4ae(_0x119314){const _0x636dc9=_0x2b8d6a;if(_0x119314==null||_0x119314==='')return[];if(Array[_0x636dc9(0x2a1)](_0x119314))return _0x119314[_0x636dc9(0x5d0)](_0x3b24b7=>_0x20c4ae(_0x3b24b7));if(_0x119314&&typeof _0x119314==_0x636dc9(0x240)){let _0x241512=_0x119314;return['id',_0x636dc9(0x456),'label',_0x636dc9(0x348),_0x636dc9(0x395)][_0x636dc9(0x5d0)](_0x1b7f3f=>_0x20c4ae(_0x241512[_0x1b7f3f]))[_0x636dc9(0x355)]((_0x570f6c,_0x43903a,_0x4d24fb)=>_0x4d24fb[_0x636dc9(0x267)](_0x570f6c)===_0x43903a);}return[_0x3ca23e(_0x119314)];}function _0x499657(_0x3cbf73){const _0x20531b=_0x2b8d6a;let _0x54e539=new Map();return(Array[_0x20531b(0x2a1)](_0x3cbf73[_0x20531b(0x5cc)])?_0x3cbf73['options']:[])[_0x20531b(0x458)](_0x291bdf=>{const _0x5d445a=_0x20531b;if(!_0x291bdf||typeof _0x291bdf!=_0x5d445a(0x240))return;let _0x327a61=_0x20c4ae(_0x291bdf),_0x52988a=_0x327a61['filter']((_0x2379f8,_0x535f18)=>_0x2379f8!==''&&_0x327a61[_0x5d445a(0x267)](_0x2379f8)===_0x535f18);_0x52988a[_0x5d445a(0x458)](_0x7e91d4=>_0x54e539['set'](_0x7e91d4,_0x52988a));}),_0x54e539;}function _0x2399a4(_0x1f6781,_0x1d48fa={},_0xecc98c=_0x6e04b1=>_0x6e04b1,_0x3f3b58={}){const _0x510bcc=_0x2b8d6a;let _0xb31015=!_0x4c4adc[_0x510bcc(0x244)](_0x1f6781),_0x2ebd95=_0xecc98c??(_0x87635a=>_0x87635a);return{'type':_0x1f6781,'i18nKey':_0x510bcc(0x492)+_0x1f6781,'enabled':_0xb31015,'visibleInCreateMenu':_0xb31015,'createDefaultConfig':_0x3f3b58[_0x510bcc(0x5ba)]??(()=>({})),'createDefaultValue':_0x3f3b58['createDefaultValue']??(_0x55d11b=>_0x55d11b[_0x510bcc(0x334)]??null),'normalize':(_0x2fe78a,_0x4e19c4)=>_0x2ebd95(_0x2fe78a,_0x4e19c4),'validate':(_0x3ea28d,_0x39f48f)=>{const _0x11c5ca=_0x510bcc;var _0x16c957;return _0xb31015?((_0x16c957=_0x3f3b58[_0x11c5ca(0x3af)])==null?void 0x0:_0x16c957[_0x11c5ca(0x29f)](_0x3f3b58,_0x3ea28d,_0x39f48f))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x253af5,_0x5a3d7e)=>_0x727464(_0x253af5,_0x5a3d7e),'filter':(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f)=>_0x357854(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f),'toPlainText':_0x3f3b58[_0x510bcc(0x587)]??(_0x1ffcdb=>_0x1ffcdb==null?'':String(_0x1ffcdb)),'fromPlainText':_0x3f3b58[_0x510bcc(0x381)]??(_0x164da8=>_0x2ebd95(_0x164da8,{'id':'','name':'','type':_0x1f6781,'config':{}})),'getCapabilities':()=>({..._0x309b62,..._0x1d48fa,'editable':_0xb31015&&(_0x1d48fa[_0x510bcc(0x57b)]??_0x309b62[_0x510bcc(0x57b)])})};}function _0x20ee48(){const _0x2f3b71=_0x2b8d6a;return[_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x220)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x5425f3=>_0x5425f3[_0x2f3b71(0x334)]??''}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x2d213e=>_0x2d213e==null||_0x2d213e===''?null:String(_0x2d213e),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}})}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x1c574a=>Array[_0x2f3b71(0x2a1)](_0x1c574a)?_0x1c574a['map'](String):_0x1c574a==null?[]:[String(_0x1c574a)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}}),'createDefaultValue':_0x4958df=>_0x4958df[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x65fcd1,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x9614df}),_0x2399a4(_0xcf3cf2['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xf43720,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x54d888=>_0x54d888[_0x2f3b71(0x334)]??[],'validate':_0x5ae318}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x115623=>_0x5182d6(_0x115623),{'createDefaultConfig':()=>_0x5aa101(),'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x448)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2a9e13=>_0x2a9e13==null?[]:Array['isArray'](_0x2a9e13)?_0x2a9e13:[_0x2a9e13],{'createDefaultValue':_0x524dab=>_0x524dab[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x5b6)],{},_0x182ddd=>_0x182ddd==null||_0x182ddd===''?null:Number(_0x182ddd),{'createDefaultConfig':()=>_0x21165b(),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x5f8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2d18f8=>_0x2d18f8===!0x0||_0x2d18f8==='true'||_0x2d18f8===0x1||_0x2d18f8==='1',{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x5a0),'color':_0x2f3b71(0x1da)}),'createDefaultValue':_0x1dfa59=>_0x1dfa59[_0x2f3b71(0x334)]??!0x1,'validate':_0x1afc2e=>typeof _0x1afc2e==_0x2f3b71(0x511)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x24b)],{'supportsRelation':!0x0},_0x485bc6,{'createDefaultConfig':()=>({'placeholder':_0x2f3b71(0x494)}),'toPlainText':_0x56eb44=>_0x51936f(_0x56eb44),'fromPlainText':_0x935352=>_0x485bc6(_0x935352)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x25e)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x2f3b71(0x1fd),'pattern':_0x2f3b71(0x474)}}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x2f3b71(0x36b)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x328)],{'usableAsTitle':!0x0},_0xfffb7f=>_0xfffb7f==null?null:String(_0xfffb7f)[_0x2f3b71(0x479)](),{'validate':_0x5454d8=>_0x5454d8==null||_0x5454d8===''||/^\+?[0-9 ()-]{6,20}$/[_0x2f3b71(0x250)](String(_0x5454d8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x218)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x4c2)],{'usableAsTitle':!0x0},_0x5d581e=>_0x5d581e==null?null:String(_0x5d581e)['trim'](),{'validate':_0x4edeac=>_0x4edeac==null||_0x4edeac===''||_0x2f06b5(String(_0x4edeac))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x5a6)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x455)],{'usableAsGanttProgress':!0x0},_0x3dc666=>_0x3dc666==null||_0x3dc666===''?null:Number(_0x3dc666),{'createDefaultConfig':()=>({'format':_0x2f3b71(0x256),'decimalPlaces':0x0,'color':_0x2f3b71(0x371),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x3caba4,_0x169a66)=>_0x1b37fc(_0x3caba4,_0x169a66,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d8)],{},_0x47918c=>_0x47918c==null||_0x47918c===''?null:Number(_0x47918c),{'createDefaultConfig':()=>({..._0x21165b(),'currencySymbol':'$'}),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x22a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1c8d12=>_0x1c8d12==null||_0x1c8d12===''?null:Number(_0x1c8d12),{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x2b7),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x29c0eb,_0x3aac3c)=>_0x1b37fc(_0x29c0eb,_0x3aac3c,'[BaseField]:\x20invalid\x20rating\x20value.')}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x34e)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x23d19e,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x243ba7,_0x4867cd)=>_0x456626(_0x243ba7,_0x4867cd[_0x2f3b71(0x5a3)]['multiple']===!0x0)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x34f)],{'editable':!0x1,'groupable':!0x0},_0x5cbf4a=>_0x5cbf4a==null?null:String(_0x5cbf4a),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x8b25b6=>_0x8b25b6==null?null:String(_0x8b25b6),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType']['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x259039=>_0x5182d6(_0x259039),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x305)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x37e780=>_0x5182d6(_0x37e780),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129})];}function _0x21165b(){const _0x4ba6da=_0x2b8d6a;return{'pattern':_0x4ba6da(0x292),'decimalPlaces':0x2,'separatorStyle':_0x4ba6da(0x3f3),'useThousands':!0x0,'abbreviation':_0x4ba6da(0x44a),'allowNegative':!0x0};}function _0x5aa101(){const _0x22e719=_0x2b8d6a;return{'locale':_0x22e719(0x421),'pattern':_0x22e719(0x51b),'includeTime':!0x1,'hourCycle':_0x22e719(0x433),'defaultMode':'none'};}function _0xf43720(_0x3e17d1){const _0x2fb380=_0x2b8d6a;return _0x3e17d1==null||_0x3e17d1===''?[]:Array[_0x2fb380(0x2a1)](_0x3e17d1)?_0x3e17d1[_0x2fb380(0x2c4)](String):[String(_0x3e17d1)];}function _0x23d19e(_0x8f7595){const _0x84fde7=_0x2b8d6a;return typeof _0x8f7595==_0x84fde7(0x3ea)?_0x8f7595:'';}function _0x65fcd1(_0x1483ad,_0x4553d7){const _0x2fe49f=_0x2b8d6a;return _0x1483ad==null||_0x1483ad===''?_0x4553d7[_0x2fe49f(0x5a3)][_0x2fe49f(0x4ee)]===!0x0?[]:null:_0x4553d7['config']['allowMultiple']===!0x0?Array[_0x2fe49f(0x2a1)](_0x1483ad)?_0x1483ad[_0x2fe49f(0x2c4)](String):[String(_0x1483ad)]:Array['isArray'](_0x1483ad)?String(_0x1483ad[0x0]??'')||null:String(_0x1483ad);}function _0x9614df(_0x5b83a3,_0x1adced){const _0x1c9e1a=_0x2b8d6a;return _0x1adced[_0x1c9e1a(0x5a3)][_0x1c9e1a(0x4ee)]===!0x0?_0x5ae318(_0x5b83a3):_0x5b83a3==null||_0x5b83a3===''||typeof _0x5b83a3==_0x1c9e1a(0x3ea)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1c9e1a(0x2d3)};}function _0x5ae318(_0x70d9ca){const _0x221109=_0x2b8d6a;return _0x70d9ca==null||Array[_0x221109(0x2a1)](_0x70d9ca)&&_0x70d9ca[_0x221109(0x320)](_0x144d84=>typeof _0x144d84=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x221109(0x48b)};}function _0xa96129(_0xaa5179){const _0x5711f2=_0x2b8d6a;return _0xaa5179==null||typeof _0xaa5179==_0x5711f2(0x202)&&Number[_0x5711f2(0x2b0)](_0xaa5179)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5711f2(0x51c)};}function _0x15005f(_0xa5318a,_0x5463bd){const _0x561e10=_0x2b8d6a;return _0xa5318a==null||_0xa5318a===''?{'valid':!0x0}:typeof _0xa5318a!='number'||!Number[_0x561e10(0x2b0)](_0xa5318a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x5463bd['config']['allowNegative']===!0x1&&_0xa5318a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x1b37fc(_0x5cfd0c,_0x566a05,_0x47f9e8){const _0x4765fd=_0x2b8d6a;let _0x169d83=_0x15005f(_0x5cfd0c,_0x566a05);if(!_0x169d83[_0x4765fd(0x47d)]||_0x5cfd0c==null||_0x5cfd0c==='')return _0x169d83;let _0x559243=Number(_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x4f1)]??_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x571)]??0x0),_0xe1ca6e=Number(_0x566a05['config']['max']??_0x566a05[_0x4765fd(0x5a3)]['end']??0x64),_0x5f2c3d=Number(_0x5cfd0c);return _0x5f2c3d>=_0x559243&&_0x5f2c3d<=_0xe1ca6e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x47f9e8};}function _0x485bc6(_0x4ad8d3){const _0x33460f=_0x2b8d6a;if(_0x4ad8d3==null||_0x4ad8d3==='')return null;if(typeof _0x4ad8d3==_0x33460f(0x240)&&!Array[_0x33460f(0x2a1)](_0x4ad8d3)){let _0x4d961e=_0x4ad8d3,_0x37d04a=typeof _0x4d961e[_0x33460f(0x395)]==_0x33460f(0x3ea)?_0x4d961e['text'][_0x33460f(0x479)]():'',_0x1646cf=typeof _0x4d961e[_0x33460f(0x2ff)]=='string'?_0x4d961e[_0x33460f(0x2ff)][_0x33460f(0x479)]():'',_0x4a6b73=_0x49f40a(_0x1646cf||_0x37d04a);return _0x4a6b73?{'text':_0x37d04a||_0x1646cf||_0x4a6b73,'url':_0x4a6b73}:null;}let _0x131fbd=String(_0x4ad8d3)[_0x33460f(0x479)](),_0x6620d4=_0x49f40a(_0x131fbd);return _0x6620d4?{'text':_0x131fbd,'url':_0x6620d4}:null;}function _0x51936f(_0x43c15e){const _0xfbfb54=_0x2b8d6a;if(_0x43c15e==null)return'';if(typeof _0x43c15e==_0xfbfb54(0x240)&&!Array[_0xfbfb54(0x2a1)](_0x43c15e)){let _0x5e874d=_0x43c15e;return String(_0x5e874d['text']||_0x5e874d[_0xfbfb54(0x2ff)]||'');}return String(_0x43c15e);}function _0x49f40a(_0x358d24){const _0xfa8a5f=_0x2b8d6a;let _0x17cfa2=_0x358d24[_0xfa8a5f(0x479)]();if(!_0x17cfa2)return'';let _0x5c0d4d=/^[a-z][a-z\d+.-]*:/i[_0xfa8a5f(0x250)](_0x17cfa2)?_0x17cfa2:_0x17cfa2['startsWith']('//')?_0xfa8a5f(0x274)+_0x17cfa2:'https://'+_0x17cfa2;try{let _0x2dee37=new URL(_0x5c0d4d);return _0x2dee37[_0xfa8a5f(0x5f3)]==='http:'||_0x2dee37[_0xfa8a5f(0x5f3)]===_0xfa8a5f(0x274)?_0x2dee37[_0xfa8a5f(0x2bc)]:'';}catch{return'';}}function _0x2f06b5(_0x5770e8){const _0x501094=_0x2b8d6a;let _0x333950=_0x5770e8[_0x501094(0x267)]('@');if(_0x333950<=0x0||_0x333950!==_0x5770e8[_0x501094(0x4b5)]('@'))return!0x1;let _0x57a2bc=_0x5770e8[_0x501094(0x3de)](_0x333950+0x1);return _0x57a2bc['includes']('.')&&!_0x5770e8[_0x501094(0x299)]('\x20')&&!_0x57a2bc[_0x501094(0x26d)]('.')&&!_0x57a2bc[_0x501094(0x4ec)]('.');}let _0x4b16d6={'table':_0xf55cfd=>[_0x2b8d6a(0x3d7),_0xf55cfd],'field':(_0x37bf33,_0x5ee767)=>['tables',_0x37bf33,_0x2b8d6a(0x3b5),_0x5ee767],'fieldOrder':(_0x24aebd,_0x2609df)=>[_0x2b8d6a(0x3d7),_0x24aebd,_0x2b8d6a(0x4ab),_0x2609df],'record':(_0x2e6c2c,_0x550651)=>[_0x2b8d6a(0x3d7),_0x2e6c2c,_0x2b8d6a(0x38a),_0x550651],'cell':(_0x1912e6,_0x47269c,_0xbd737c)=>[_0x2b8d6a(0x3d7),_0x1912e6,_0x2b8d6a(0x38a),_0x47269c,_0x2b8d6a(0x404),_0xbd737c],'cellData':(_0x242dde,_0x5c4162,_0x5b08dd)=>[_0x2b8d6a(0x3d7),_0x242dde,'cellData',String(_0x5c4162),String(_0x5b08dd)],'attachmentSet':(_0x508e9e,_0x14e296)=>[_0x2b8d6a(0x3d7),_0x508e9e,_0x2b8d6a(0x482),_0x2b8d6a(0x52b),_0x14e296],'attachment':(_0x2249b7,_0x513448)=>[_0x2b8d6a(0x3d7),_0x2249b7,'resources',_0x2b8d6a(0x1e9),_0x513448],'view':(_0x2a8498,_0x4585d2)=>[_0x2b8d6a(0x3d7),_0x2a8498,_0x2b8d6a(0x2e4),_0x4585d2],'viewFieldHidden':(_0x36c888,_0x2503de,_0x325022)=>[_0x2b8d6a(0x3d7),_0x36c888,'views',_0x2503de,_0x2b8d6a(0x239),_0x325022,_0x2b8d6a(0x4e3)]};var _0x15dbb7=class{['setBaseName'](_0x51296c,_0x742677){const _0x39773c=_0x2b8d6a;let _0x1898f7=this[_0x39773c(0x4d6)](_0x51296c,_0x51296c[_0x39773c(0x456)],_0x742677);return _0x5dc19d([this[_0x39773c(0x201)](['name'],_0x51296c['name'],_0x742677),..._0x1898f7?[_0x1898f7]:[]]);}[_0x2b8d6a(0x4d6)](_0x11634d,_0x5954f4,_0x3bc603){const _0x107fdd=_0x2b8d6a;let _0x104927=Object[_0x107fdd(0x404)](_0x11634d['tables'])[_0x107fdd(0x5d0)](_0x212849=>Object['values'](_0x212849[_0x107fdd(0x3b5)])[_0x107fdd(0x5d0)](_0x5ae6a4=>{const _0x154aab=_0x107fdd;var _0x38f63d,_0x2466d1;if(_0x5ae6a4[_0x154aab(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x154aab(0x25e)])return[];let _0x4d069a=String(((_0x38f63d=_0x5ae6a4['config'])==null?void 0x0:_0x38f63d['formula'])??''),_0xcd8076=(0x0,_0x64dd1a[_0x154aab(0x4d1)])(_0x4d069a,_0x5954f4,_0x3bc603);return _0xcd8076===_0x4d069a?[]:[this['_replaceOptional']([..._0x4b16d6[_0x154aab(0x48c)](_0x212849['id'],_0x5ae6a4['id']),_0x154aab(0x5a3),_0x154aab(0x4fe)],(_0x2466d1=_0x5ae6a4[_0x154aab(0x5a3)])==null?void 0x0:_0x2466d1[_0x154aab(0x4fe)],_0xcd8076)];}));return _0x104927[_0x107fdd(0x3d4)]>0x0?_0x5dc19d(_0x104927):void 0x0;}[_0x2b8d6a(0x5f0)](_0x34ae18,_0x3fca5b,_0x4305cd=_0x34ae18[_0x2b8d6a(0x5af)][_0x2b8d6a(0x3d4)]){const _0x19deb7=_0x2b8d6a;let _0x454a28=(0x0,_0xcf3cf2[_0x19deb7(0x4fa)])(_0x3fca5b['name'],(0x0,_0xcf3cf2[_0x19deb7(0x314)])(_0x34ae18)[_0x19deb7(0x404)](),_0x3fca5b[_0x19deb7(0x298)]),_0x2ac7b5=_0x3fca5b[_0x19deb7(0x298)]===_0x454a28?_0x3fca5b:{..._0x3fca5b,'formulaName':_0x454a28};return _0x5dc19d([...this[_0x19deb7(0x33d)](_0x34ae18),_0xcf3cf2[_0x19deb7(0x597)][_0x19deb7(0x3f0)](_0x4b16d6['table'](_0x3fca5b['id']),_0x2ac7b5),_0xcf3cf2['JSON1']['insertOp'](['tableOrder',_0x4305cd],_0x3fca5b['id'])]);}[_0x2b8d6a(0x331)](_0x3546a5,_0x2fa523,_0x359f47){const _0x47fa91=_0x2b8d6a;let _0x137164=_0x3546a5[_0x47fa91(0x3d7)][_0x2fa523];return _0x5dc19d([...this[_0x47fa91(0x33d)](_0x3546a5),_0xcf3cf2[_0x47fa91(0x597)][_0x47fa91(0x5f9)]([..._0x4b16d6['table'](_0x2fa523),_0x47fa91(0x456)],_0x137164[_0x47fa91(0x456)],_0x359f47)]);}[_0x2b8d6a(0x1f1)](_0x38a8da,_0x21b2b3){const _0x4083c2=_0x2b8d6a;let _0x41ba2a=_0x38a8da[_0x4083c2(0x3d7)][_0x21b2b3],_0x1217d1=_0x38a8da[_0x4083c2(0x5af)][_0x4083c2(0x267)](_0x21b2b3);return _0x5dc19d([...this['_materializeFormulaTableNames'](_0x38a8da,new Set([_0x21b2b3])),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](_0x4b16d6[_0x4083c2(0x4b0)](_0x21b2b3),_0x41ba2a),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](['tableOrder',_0x1217d1],_0x21b2b3)]);}[_0x2b8d6a(0x3fb)](_0x2ab2c3,_0x2e4a0b,_0x1ce94f){const _0x737091=_0x2b8d6a;return this[_0x737091(0x1cd)](_0x2ab2c3,_0x2e4a0b,[_0x1ce94f]);}[_0x2b8d6a(0x1cd)](_0x452d18,_0x2c9198,_0x1c8f67){const _0x1c5cb6=_0x2b8d6a;let _0x1cf5c0=_0x452d18['tables'][_0x2c9198],_0xe96bec=_0x1c8f67[_0x1c5cb6(0x355)](_0x4b555d=>_0x4b555d&&!_0x1cf5c0[_0x1c5cb6(0x38a)][_0x4b555d['id']])[_0x1c5cb6(0x2c4)](_0x1ee7c9=>({..._0x1ee7c9,'values':{..._0x1ee7c9[_0x1c5cb6(0x404)],[_0xcf3cf2[_0x1c5cb6(0x509)]]:_0x1ee7c9['id']}}));if(!_0xe96bec['length'])return _0xcf3cf2[_0x1c5cb6(0x597)][_0x1c5cb6(0x5f9)]([..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'],_0x1cf5c0['records'],_0x1cf5c0['records']);let _0xfb24e1=new _0xcf3cf2[(_0x1c5cb6(0x597))][(_0x1c5cb6(0x3ce))](),_0x5c4e4d=[..._0xe96bec][_0x1c5cb6(0x24e)]((_0x4a3e54,_0x38909c)=>_0x4a3e54['id']<_0x38909c['id']?-0x1:+(_0x4a3e54['id']>_0x38909c['id'])),_0x2e7ff7=[..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'];_0xfb24e1[_0x1c5cb6(0x1c8)](_0x2e7ff7);for(let _0xe1766d of _0x5c4e4d)_0xfb24e1[_0x1c5cb6(0x333)](_0xe1766d['id']),_0xfb24e1['write']('i',_0xe1766d),_0xfb24e1['ascend']();for(let _0x230180=0x0;_0x230180<_0x2e7ff7[_0x1c5cb6(0x3d4)];_0x230180+=0x1)_0xfb24e1[_0x1c5cb6(0x2f4)]();return _0x5dc19d([_0xfb24e1[_0x1c5cb6(0x4f0)](),this[_0x1c5cb6(0x52a)](_0x452d18,_0x2c9198,_0xe96bec)]);}[_0x2b8d6a(0x44b)](_0xee098c,_0x398c5b,_0xc9a541){const _0x4ebdcf=_0x2b8d6a;return this[_0x4ebdcf(0x595)](_0xee098c,_0x398c5b,[_0xc9a541]);}['deleteRecords'](_0x7e6c06,_0x1b3e16,_0x147c2c){const _0x1e40e1=_0x2b8d6a;let _0x6d2956=_0x7e6c06[_0x1e40e1(0x3d7)][_0x1b3e16],_0x2d6414=Array[_0x1e40e1(0x1ea)](new Set(_0x147c2c))[_0x1e40e1(0x355)](_0x5d2bf7=>_0x6d2956[_0x1e40e1(0x38a)][_0x5d2bf7]);if(!_0x2d6414[_0x1e40e1(0x3d4)])return _0xcf3cf2['JSON1'][_0x1e40e1(0x5f9)]([..._0x4b16d6[_0x1e40e1(0x4b0)](_0x1b3e16),'records'],_0x6d2956[_0x1e40e1(0x38a)],_0x6d2956[_0x1e40e1(0x38a)]);let _0x161187=new Set(_0x2d6414),_0x568ba4=_0x3b968d(_0x6d2956,_0x2d6414)[_0x1e40e1(0x2c4)](_0x21369a=>this[_0x1e40e1(0x5df)](_0x7e6c06,_0x1b3e16,_0x21369a[_0x1e40e1(0x57e)],_0x21369a[_0x1e40e1(0x580)],''));return _0x5dc19d([this['_deleteRecordsBaseOp'](_0x7e6c06,_0x1b3e16,_0x2d6414,_0x161187),..._0x568ba4]);}[_0x2b8d6a(0x5c8)](_0x12877f,_0x11a04e,_0x471614,_0xee23b4){const _0x494e6f=_0x2b8d6a;let _0x558ecb=_0x12877f[_0x494e6f(0x3d7)][_0x471614],_0x210b75=Array[_0x494e6f(0x1ea)](new Set(_0xee23b4))['filter'](_0x4ff11d=>_0x558ecb[_0x494e6f(0x38a)][_0x4ff11d]),_0x510769=new Set(_0x210b75);return _0x5dc19d([new _0x3c7454()[_0x494e6f(0x5a5)](_0x12877f,this[_0x494e6f(0x42a)](_0x12877f,_0x471614,_0x210b75,_0x510769)),..._0x3b968d(_0x558ecb,_0x210b75)[_0x494e6f(0x2c4)](_0x392326=>this[_0x494e6f(0x5df)](_0x11a04e,_0x471614,_0x392326[_0x494e6f(0x57e)],_0x392326[_0x494e6f(0x580)],_0x392326[_0x494e6f(0x38f)]??''))]);}[_0x2b8d6a(0x42a)](_0x50fc8d,_0xcd7b51,_0x240965,_0x23cbbe){const _0x4ba4fd=_0x2b8d6a;let _0xa1c54=_0x50fc8d[_0x4ba4fd(0x3d7)][_0xcd7b51],_0x236000=_0x240965[_0x4ba4fd(0x2c4)](_0x5a6977=>{const _0x4c688f=_0x4ba4fd;var _0x132894;return{'recordId':_0x5a6977,'index':((_0x132894=_0xa1c54[_0x4c688f(0x5ab)])==null?void 0x0:_0x132894[_0x4c688f(0x267)](_0x5a6977))??-0x1};})[_0x4ba4fd(0x355)](_0x3ffd77=>_0x3ffd77[_0x4ba4fd(0x295)]>=0x0)[_0x4ba4fd(0x24e)]((_0xad03a9,_0x17316a)=>_0x17316a['index']-_0xad03a9['index']);return _0x5dc19d([..._0x240965['map'](_0x3c9334=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)](_0x4b16d6[_0x4ba4fd(0x3c2)](_0xcd7b51,_0x3c9334),_0xa1c54['records'][_0x3c9334])),..._0x236000[_0x4ba4fd(0x2c4)](({recordId:_0x28a45c,index:_0x18325d})=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)]([_0x4ba4fd(0x3d7),_0xcd7b51,'recordOrder',_0x18325d],_0x28a45c)),...this[_0x4ba4fd(0x2dc)](_0xa1c54,_0xcd7b51,_0x43f2b9=>{const _0x3b4fb5=_0x4ba4fd;let _0x1a6de0=_0x43f2b9[_0x3b4fb5(0x3de)](_0x43f2b9[_0x3b4fb5(0x4b5)]('\x1f')+0x1);return _0x23cbbe[_0x3b4fb5(0x244)](_0x1a6de0);})]);}[_0x2b8d6a(0x5dd)](_0x555a8e,_0x4a47a2,_0x2b5033,_0xdf925b){const _0x58f5aa=_0x2b8d6a;return this[_0x58f5aa(0x3fb)](_0x555a8e,_0x4a47a2,{..._0xdf925b,'values':{..._0x555a8e['tables'][_0x4a47a2][_0x58f5aa(0x38a)][_0x2b5033]['values'],..._0xdf925b[_0x58f5aa(0x404)],[_0xcf3cf2[_0x58f5aa(0x509)]]:_0xdf925b['id']}});}[_0x2b8d6a(0x577)](_0x17ba4c,_0x2f1d57,_0x54f6fc,_0x3fc619){const _0x107552=_0x2b8d6a;let _0x22ce12=_0x17ba4c[_0x107552(0x3d7)][_0x2f1d57],_0x7fd2fc=[..._0x4b16d6[_0x107552(0x3c2)](_0x2f1d57,_0x54f6fc),_0x107552(0x340)],_0x215f73=Object[_0x107552(0x404)](_0x22ce12[_0x107552(0x38a)])[_0x107552(0x2c4)](_0x1a70d1=>_0x1a70d1['id']===_0x54f6fc?{..._0x1a70d1,'orderKey':_0x3fc619}:_0x1a70d1)[_0x107552(0x24e)]((_0x5a6e5f,_0x867bfa)=>String(_0x5a6e5f[_0x107552(0x340)]??_0x5a6e5f['id'])[_0x107552(0x1f9)](String(_0x867bfa['orderKey']??_0x867bfa['id'])))[_0x107552(0x2c4)](_0x446b79=>_0x446b79['id']),_0x5350cc=[..._0x4b16d6[_0x107552(0x4b0)](_0x2f1d57),_0x107552(0x5ab)];return _0x5dc19d([this[_0x107552(0x201)](_0x7fd2fc,_0x22ce12[_0x107552(0x38a)][_0x54f6fc][_0x107552(0x340)],_0x3fc619),_0x22ce12[_0x107552(0x5ab)]?_0xcf3cf2[_0x107552(0x597)]['replaceOp'](_0x5350cc,_0x22ce12[_0x107552(0x5ab)],_0x215f73):_0xcf3cf2['JSON1']['insertOp'](_0x5350cc,_0x215f73)]);}[_0x2b8d6a(0x5df)](_0x55177d,_0x411a81,_0x597e42,_0x5d4380,_0x44cb6c){const _0xd35fc=_0x2b8d6a;var _0x571e12,_0x3a2e76;let _0x3df40a=_0x55177d[_0xd35fc(0x3d7)][_0x411a81],_0x12a9cb=_0x3b56e8(_0x3df40a,_0x597e42,_0x5d4380)?_0x3df40a:_0x5d33ae(_0x3df40a),_0x232114=(_0x571e12=_0x12a9cb[_0xd35fc(0x29a)])==null?void 0x0:_0x571e12[_0x597e42],_0x32723b=(_0x3a2e76=_0x12a9cb['colIndex'])==null?void 0x0:_0x3a2e76[_0x5d4380];if(_0x232114==null||_0x32723b==null){var _0x3cf0df;return this[_0xd35fc(0x201)](_0x4b16d6[_0xd35fc(0x4c1)](_0x411a81,_0x597e42,_0x5d4380),(_0x3cf0df=_0x55177d[_0xd35fc(0x3d7)][_0x411a81])==null||(_0x3cf0df=_0x3cf0df[_0xd35fc(0x38a)][_0x597e42])==null?void 0x0:_0x3cf0df['values'][_0x5d4380],_0x44cb6c);}return this[_0xd35fc(0x57c)](_0x55177d,_0x411a81,[{'row':_0x232114,'col':_0x32723b,'value':_0x44cb6c}]);}[_0x2b8d6a(0x536)](_0x47ef6b,_0x21691a,_0x15d694){const _0x4940aa=_0x2b8d6a;let _0x753803=_0x47ef6b[_0x4940aa(0x3d7)][_0x21691a],_0xc592cc=_0x15d694['every'](_0x2a278b=>Object['keys'](_0x2a278b[_0x4940aa(0x404)])[_0x4940aa(0x320)](_0x4be12e=>_0x3b56e8(_0x753803,_0x2a278b[_0x4940aa(0x57e)],_0x4be12e)))?_0x753803:_0x5d33ae(_0x753803),_0x40c1c5=_0x15d694[_0x4940aa(0x5d0)](_0x226ed6=>Object[_0x4940aa(0x271)](_0x226ed6['values'])[_0x4940aa(0x5d0)](([_0x3ae535,_0x8bba9d])=>{const _0x3a5d13=_0x4940aa;var _0x321215,_0x2f6aa1;let _0x1176fc=(_0x321215=_0xc592cc[_0x3a5d13(0x29a)])==null?void 0x0:_0x321215[_0x226ed6[_0x3a5d13(0x57e)]],_0x3e3658=(_0x2f6aa1=_0xc592cc['colIndex'])==null?void 0x0:_0x2f6aa1[_0x3ae535];return _0x1176fc==null||_0x3e3658==null?[]:[{'row':_0x1176fc,'col':_0x3e3658,'value':_0x8bba9d}];})),_0x29d7e0=_0x15d694[_0x4940aa(0x5d0)](_0x21fa68=>Object[_0x4940aa(0x271)](_0x21fa68[_0x4940aa(0x5a7)]??{})['map'](([_0x2817be,_0x40b98b])=>{const _0x12a672=_0x4940aa;var _0x4b561d;let _0x24fc6d=[..._0x4b16d6[_0x12a672(0x3c2)](_0x21691a,_0x21fa68['recordId']),_0x2817be],_0x13e110=(_0x4b561d=_0x47ef6b[_0x12a672(0x3d7)][_0x21691a])==null||(_0x4b561d=_0x4b561d[_0x12a672(0x38a)][_0x21fa68[_0x12a672(0x57e)]])==null?void 0x0:_0x4b561d[_0x2817be];return this[_0x12a672(0x201)](_0x24fc6d,_0x13e110,_0x40b98b);}));return _0x5dc19d([this[_0x4940aa(0x57c)](_0x47ef6b,_0x21691a,_0x40c1c5),..._0x29d7e0]);}[_0x2b8d6a(0x57c)](_0x37fb01,_0x18ed64,_0xefca66){const _0x189feb=_0x2b8d6a;let _0x4918ae=_0x37fb01[_0x189feb(0x3d7)][_0x18ed64],_0x56e492=_0xefca66[_0x189feb(0x320)](_0x95b4d9=>_0x46c8b0(_0x4918ae,_0x95b4d9[_0x189feb(0x53e)],_0x95b4d9[_0x189feb(0x1cb)]))?_0x4918ae:_0x5d33ae(_0x4918ae),_0x5d5359=new Map(),_0x55e4c4=_0xefca66[_0x189feb(0x5d0)](_0x20e45a=>{const _0x355a45=_0x189feb;var _0x2925c9,_0x1310b3,_0x23c326,_0x41254e;let _0x9ec7d0=(_0x2925c9=_0x56e492[_0x355a45(0x4df)])==null?void 0x0:_0x2925c9[_0x20e45a[_0x355a45(0x1cb)]],_0x22291c=(_0x1310b3=_0x56e492[_0x355a45(0x369)])==null?void 0x0:_0x1310b3[_0x20e45a[_0x355a45(0x53e)]],_0x3016a7=_0x9ec7d0?_0x56e492[_0x355a45(0x3b5)][_0x9ec7d0]:void 0x0;if(_0x9ec7d0===_0xcf3cf2[_0x355a45(0x509)]||(_0x3016a7==null?void 0x0:_0x3016a7[_0x355a45(0x1cc)])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x46d)])throw Error(_0x355a45(0x3ff));let _0x1e3245=_0x1e0593(_0x20e45a[_0x355a45(0x348)],_0x3016a7),_0x204555=(_0x23c326=_0x56e492[_0x355a45(0x2a3)])==null||(_0x23c326=_0x23c326[_0x20e45a[_0x355a45(0x53e)]])==null?void 0x0:_0x23c326[_0x20e45a[_0x355a45(0x1cb)]],_0x11d535=this[_0x355a45(0x201)](_0x4b16d6['cellData'](_0x18ed64,_0x20e45a[_0x355a45(0x53e)],_0x20e45a['col']),_0x204555,_0x1e3245);if(!_0x9ec7d0||!_0x22291c)return[_0x11d535];let _0x430fef=(_0x41254e=_0x56e492[_0x355a45(0x38a)][_0x22291c])==null?void 0x0:_0x41254e[_0x355a45(0x404)][_0x9ec7d0],_0xab0304=(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x448)]?_0x22fa67(_0x20e45a['value']):_0x566985(_0x20e45a['value'],_0x1e3245,_0x3016a7,_0x56e492,_0x22291c),_0x2553cf=[_0x11d535,this[_0x355a45(0x201)](_0x4b16d6['cell'](_0x18ed64,_0x22291c,_0x9ec7d0),_0x430fef,_0xab0304)];return(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2['BaseFieldType']['Attachment']&&_0x5d5359[_0x355a45(0x22b)](_0x1d1617(_0x9ec7d0,_0x22291c),{'recordId':_0x22291c,'fieldId':_0x9ec7d0,'attachments':_0xab0304}),_0x2553cf;});return _0x55e4c4[_0x189feb(0x3d4)]?_0x5dc19d([..._0x55e4c4,...this['_setAttachmentResources'](_0x56e492,_0x18ed64,Array[_0x189feb(0x1ea)](_0x5d5359[_0x189feb(0x404)]()))]):_0xcf3cf2[_0x189feb(0x597)][_0x189feb(0x5f9)]([_0x189feb(0x3d7),_0x18ed64,_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)]);}[_0x2b8d6a(0x3ed)](_0x90969b,_0x34a0bd,_0x459e55){const _0x3a994c=_0x2b8d6a;let _0x4bf4f6=_0x90969b[_0x3a994c(0x3d7)][_0x34a0bd];if(_0x4bf4f6[_0x3a994c(0x3b5)][_0x459e55[_0x3a994c(0x48c)]['id']]||_0x4bf4f6[_0x3a994c(0x4ab)][_0x3a994c(0x299)](_0x459e55['field']['id']))return _0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x5f9)](['tables',_0x34a0bd,'fieldOrder'],_0x4bf4f6[_0x3a994c(0x4ab)],_0x4bf4f6[_0x3a994c(0x4ab)]);let _0x2c6d8c=Math[_0x3a994c(0x591)](0x1,_0x459e55[_0x3a994c(0x295)]??_0x4bf4f6['fieldOrder'][_0x3a994c(0x3d4)]),_0x5b6b78=Object['values'](_0x4bf4f6[_0x3a994c(0x2e4)]??{})['flatMap'](_0x264a20=>{const _0x170288=_0x3a994c;var _0x44a0aa;if(!_0x264a20[_0x170288(0x4ab)]||_0x264a20[_0x170288(0x4ab)][_0x170288(0x299)](_0x459e55[_0x170288(0x48c)]['id']))return[];let _0x2edb00=_0x54640f(((_0x44a0aa=_0x459e55['viewIndexes'])==null?void 0x0:_0x44a0aa[_0x264a20['id']])??_0x2c6d8c,_0x264a20[_0x170288(0x4ab)][_0x170288(0x3d4)]);return[_0xcf3cf2[_0x170288(0x597)][_0x170288(0x3f0)]([..._0x4b16d6['view'](_0x34a0bd,_0x264a20['id']),_0x170288(0x4ab),_0x2edb00],_0x459e55['field']['id'])];});return _0x5dc19d([..._0x459e55[_0x3a994c(0x48c)]['type']===_0xcf3cf2[_0x3a994c(0x435)]['Formula']?this[_0x3a994c(0x33d)](_0x90969b):[],_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6['field'](_0x34a0bd,_0x459e55['field']['id']),_0x459e55[_0x3a994c(0x48c)]),_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6[_0x3a994c(0x4ab)](_0x34a0bd,_0x2c6d8c),_0x459e55[_0x3a994c(0x48c)]['id']),..._0x5b6b78]);}[_0x2b8d6a(0x2b8)](_0x21cc23,_0x30bb7d,_0x2c899f,_0x14a2c4){const _0x268083=_0x2b8d6a;let _0x1c9b7e=_0x21cc23[_0x268083(0x3d7)][_0x30bb7d];if(!_0x1c9b7e[_0x268083(0x3b5)][_0x2c899f]||_0x1c9b7e[_0x268083(0x3b5)][_0x14a2c4[_0x268083(0x48c)]['id']]||_0x1c9b7e['fieldOrder'][_0x268083(0x299)](_0x14a2c4['field']['id']))return _0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)]);let _0x5ea4ad=_0x14a2c4[_0x268083(0x295)]??_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x267)](_0x2c899f)+0x1,_0x1aee2a=_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x355)](_0x1e456c=>_0x1e456c!==_0x14a2c4['field']['id']),_0x1161a5=_0x395bbb(_0x1aee2a,_0x14a2c4['field']['id'],_0x5ea4ad),_0x34a4fa=Object['values'](_0x1c9b7e[_0x268083(0x2e4)]??{})[_0x268083(0x5d0)](_0x2dd127=>{const _0x4626ce=_0x268083;var _0x173dcc,_0x2e910c,_0x3c27be,_0x50bc67;let _0x116170=(_0x173dcc=_0x2dd127[_0x4626ce(0x4ab)])!=null&&_0x173dcc[_0x4626ce(0x3d4)]?_0x2dd127['fieldOrder']:_0x1aee2a;if(_0x116170[_0x4626ce(0x299)](_0x14a2c4[_0x4626ce(0x48c)]['id']))return[];let _0xd489fc=_0x395bbb(_0x116170,_0x14a2c4[_0x4626ce(0x48c)]['id'],((_0x2e910c=_0x14a2c4['viewIndexes'])==null?void 0x0:_0x2e910c[_0x2dd127['id']])??_0x5ea4ad),_0x3a77b1=(_0x3c27be=_0x2dd127['fieldSettings'])==null?void 0x0:_0x3c27be[_0x2c899f];return[this['_replaceOptional']([..._0x4b16d6[_0x4626ce(0x2e6)](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x4ab)],_0x2dd127[_0x4626ce(0x4ab)],_0xd489fc),..._0x3a77b1?[this['_replaceOptional']([..._0x4b16d6['view'](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x239),_0x14a2c4[_0x4626ce(0x48c)]['id']],(_0x50bc67=_0x2dd127[_0x4626ce(0x239)])==null?void 0x0:_0x50bc67[_0x14a2c4[_0x4626ce(0x48c)]['id']],_0x3a77b1)]:[]];}),_0xfd5775=Object[_0x268083(0x404)](_0x1c9b7e['records'])['filter'](_0x112318=>Object[_0x268083(0x3b1)][_0x268083(0x1ec)][_0x268083(0x29f)](_0x112318['values'],_0x2c899f))['map'](_0x362645=>this[_0x268083(0x201)](_0x4b16d6[_0x268083(0x4c1)](_0x30bb7d,_0x362645['id'],_0x14a2c4[_0x268083(0x48c)]['id']),_0x362645[_0x268083(0x404)][_0x14a2c4[_0x268083(0x48c)]['id']],_0x362645['values'][_0x2c899f]));return _0x5dc19d([..._0x14a2c4[_0x268083(0x48c)][_0x268083(0x1cc)]===_0xcf3cf2[_0x268083(0x435)][_0x268083(0x25e)]?this['_materializeFormulaTableNames'](_0x21cc23):[],_0xcf3cf2[_0x268083(0x597)][_0x268083(0x3f0)](_0x4b16d6[_0x268083(0x48c)](_0x30bb7d,_0x14a2c4[_0x268083(0x48c)]['id']),_0x14a2c4[_0x268083(0x48c)]),_0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1161a5),..._0x34a4fa,..._0xfd5775]);}[_0x2b8d6a(0x56b)](_0x4d43f3,_0x908336,_0x13b27c,_0xb92f1d){const _0xacaa0e=_0x2b8d6a;let _0x33dc42=_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336]['fields'][_0x13b27c],_0x13c47b={..._0x33dc42,..._0xb92f1d};Object[_0xacaa0e(0x582)](_0xb92f1d)[_0xacaa0e(0x458)](_0x518f24=>{_0xb92f1d[_0x518f24]===void 0x0&&delete _0x13c47b[_0x518f24];});let _0x31bd81=_0x5744dd(_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336],_0x13b27c,_0x33dc42,_0x13c47b);_0x13c47b=_0x31bd81[_0xacaa0e(0x48c)];let _0x2cd418=_0xcf3cf2[_0xacaa0e(0x597)][_0xacaa0e(0x5f9)](_0x4b16d6[_0xacaa0e(0x48c)](_0x908336,_0x13b27c),_0x33dc42,_0x13c47b);return _0x13c47b[_0xacaa0e(0x1cc)]===_0xcf3cf2[_0xacaa0e(0x435)]['Formula']?_0x5dc19d([...this[_0xacaa0e(0x33d)](_0x4d43f3),_0x2cd418,...this[_0xacaa0e(0x47e)](_0x4d43f3,_0x908336,_0x13b27c,_0x13c47b)]):_0x5dc19d([_0x2cd418,..._0x31bd81[_0xacaa0e(0x39b)]['length']?[this['setRangeValues'](_0x4d43f3,_0x908336,_0x31bd81[_0xacaa0e(0x39b)])]:[]]);}[_0x2b8d6a(0x319)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713){const _0x1f494f=_0x2b8d6a;return this[_0x1f494f(0x56b)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713);}[_0x2b8d6a(0x32b)](_0x4c5ef4,_0x55adad,_0x2346a1){const _0x407b7e=_0x2b8d6a;let _0x594ea8=_0x4c5ef4[_0x407b7e(0x3d7)][_0x55adad];if(!(_0x594ea8!=null&&_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1])||_0x594ea8[_0x407b7e(0x4b4)]===_0x2346a1||_0x2346a1===_0xcf3cf2[_0x407b7e(0x509)])return _0xcf3cf2[_0x407b7e(0x597)]['replaceOp']([_0x407b7e(0x3d7),_0x55adad,_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)]);let _0x3bdcc1=_0x594ea8[_0x407b7e(0x4ab)]['indexOf'](_0x2346a1),_0x1a8710=Object['values'](_0x594ea8[_0x407b7e(0x2e4)])[_0x407b7e(0x5d0)](_0x3cbf8d=>{const _0x2f3650=_0x407b7e;var _0x2b3156,_0x4f7538,_0x1a1f1b,_0x5d75eb,_0x5ad8db,_0x2fdd94,_0x2ee593;let _0x1103a1=[],_0x2d4051=((_0x2b3156=_0x3cbf8d[_0x2f3650(0x4ab)])==null?void 0x0:_0x2b3156['indexOf'](_0x2346a1))??-0x1;_0x2d4051>=0x0&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x4ab),_0x2d4051],_0x2346a1));let _0x19b2b8=(_0x4f7538=_0x3cbf8d['fieldSettings'])==null?void 0x0:_0x4f7538[_0x2346a1];_0x19b2b8!==void 0x0&&_0x1103a1['push'](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'fieldSettings',_0x2346a1],_0x19b2b8));let _0x39266c=_0x3cbf8d['filter']?{..._0x3cbf8d[_0x2f3650(0x355)],'conditions':_0x3cbf8d[_0x2f3650(0x355)][_0x2f3650(0x4ef)]['filter'](_0x5adf70=>_0x5adf70[_0x2f3650(0x580)]!==_0x2346a1)}:_0x3cbf8d[_0x2f3650(0x355)];_0x39266c&&_0x39266c[_0x2f3650(0x4ef)]['length']!==((_0x1a1f1b=_0x3cbf8d[_0x2f3650(0x355)])==null?void 0x0:_0x1a1f1b[_0x2f3650(0x4ef)][_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x355)],_0x3cbf8d[_0x2f3650(0x355)],_0x39266c));let _0x76138f=(_0x5d75eb=_0x3cbf8d[_0x2f3650(0x24e)])==null?void 0x0:_0x5d75eb[_0x2f3650(0x355)](_0x508403=>_0x508403[_0x2f3650(0x580)]!==_0x2346a1);_0x76138f&&_0x76138f[_0x2f3650(0x3d4)]!==((_0x5ad8db=_0x3cbf8d['sort'])==null?void 0x0:_0x5ad8db[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x24e)],_0x3cbf8d[_0x2f3650(0x24e)],_0x76138f));let _0x2e0388=(_0x2fdd94=_0x3cbf8d['group'])==null?void 0x0:_0x2fdd94[_0x2f3650(0x355)](_0x2f6142=>_0x2f6142[_0x2f3650(0x580)]!==_0x2346a1);_0x2e0388&&_0x2e0388[_0x2f3650(0x3d4)]!==((_0x2ee593=_0x3cbf8d['group'])==null?void 0x0:_0x2ee593[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this[_0x2f3650(0x201)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x484)],_0x3cbf8d[_0x2f3650(0x484)],_0x2e0388));let _0x1a9c87=_0x2a7a83(_0x3cbf8d[_0x2f3650(0x5a3)],_0x2346a1);return JSON[_0x2f3650(0x322)](_0x1a9c87)!==JSON[_0x2f3650(0x322)](_0x3cbf8d[_0x2f3650(0x5a3)])&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x5f9)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'config'],_0x3cbf8d[_0x2f3650(0x5a3)],_0x1a9c87)),_0x1103a1;}),_0x3b033d=Object[_0x407b7e(0x404)](_0x594ea8['records'])['flatMap'](_0x3d2c8a=>Object[_0x407b7e(0x3b1)][_0x407b7e(0x1ec)][_0x407b7e(0x29f)](_0x3d2c8a[_0x407b7e(0x404)],_0x2346a1)?[_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4c1)](_0x55adad,_0x3d2c8a['id'],_0x2346a1),_0x3d2c8a[_0x407b7e(0x404)][_0x2346a1])]:[]);return _0x5dc19d([_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x48c)](_0x55adad,_0x2346a1),_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1]),_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4ab)](_0x55adad,_0x3bdcc1),_0x2346a1),..._0x1a8710,..._0x3b033d,...this[_0x407b7e(0x2dc)](_0x594ea8,_0x55adad,_0x51a04c=>_0x51a04c[_0x407b7e(0x26d)](_0x2346a1+'\x1f'))]);}[_0x2b8d6a(0x21b)](_0x4195e4,_0x61ec97,_0x4e07dc,_0x1ce68c){const _0x53a1f8=_0x2b8d6a;let _0x4915fd=_0x4195e4[_0x53a1f8(0x3d7)][_0x61ec97]['fieldOrder'];if(_0x4e07dc===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x1ce68c[_0x53a1f8(0x24d)]===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x1b83b2=_0xa9284c(_0x4915fd,_0x4e07dc,_0x1ce68c);return _0xcf3cf2[_0x53a1f8(0x597)][_0x53a1f8(0x5f9)]([_0x53a1f8(0x3d7),_0x61ec97,_0x53a1f8(0x4ab)],_0x4915fd,_0x1b83b2);}[_0x2b8d6a(0x490)](_0x14ff8c,_0x43acff,_0x11f09e,_0x4ba55f=_0x14ff8c['tables'][_0x43acff]['viewOrder'][_0x2b8d6a(0x3d4)]){const _0x5b0e28=_0x2b8d6a;return _0x5dc19d([_0xcf3cf2[_0x5b0e28(0x597)][_0x5b0e28(0x3f0)](_0x4b16d6[_0x5b0e28(0x2e6)](_0x43acff,_0x11f09e['id']),_0x11f09e),_0xcf3cf2['JSON1'][_0x5b0e28(0x3f0)]([_0x5b0e28(0x3d7),_0x43acff,_0x5b0e28(0x49a),_0x4ba55f],_0x11f09e['id'])]);}[_0x2b8d6a(0x2d2)](_0x3e9ebf,_0x1d9dae,_0x465b74,_0xd91b12){const _0x2fde13=_0x2b8d6a;return _0xcf3cf2[_0x2fde13(0x597)]['replaceOp']([..._0x4b16d6[_0x2fde13(0x2e6)](_0x1d9dae,_0x465b74),'name'],_0x3e9ebf['tables'][_0x1d9dae]['views'][_0x465b74]['name'],_0xd91b12);}['deleteView'](_0x1f4228,_0x343443,_0xb5029c){const _0x400266=_0x2b8d6a;let _0x2e2e87=_0x1f4228[_0x400266(0x3d7)][_0x343443],_0x3fa585=_0x2e2e87[_0x400266(0x2e4)][_0xb5029c],_0x2c9d7e=_0x2e2e87[_0x400266(0x49a)][_0x400266(0x267)](_0xb5029c);return _0x5dc19d([_0xcf3cf2['JSON1'][_0x400266(0x594)](_0x4b16d6['view'](_0x343443,_0xb5029c),_0x3fa585),_0xcf3cf2[_0x400266(0x597)][_0x400266(0x594)]([_0x400266(0x3d7),_0x343443,_0x400266(0x49a),_0x2c9d7e],_0xb5029c)]);}[_0x2b8d6a(0x495)](_0x1a757a,_0x2ac6f0,_0x3f8468,_0x49bd92){const _0xe1ae73=_0x2b8d6a;let _0x2e3d7a=_0x1a757a[_0xe1ae73(0x3d7)][_0x2ac6f0][_0xe1ae73(0x49a)],_0x224edc=_0xa9284c(_0x2e3d7a,_0x3f8468,{'beforeFieldId':_0x49bd92['beforeViewId'],'afterFieldId':_0x49bd92[_0xe1ae73(0x3d9)]});return _0xcf3cf2[_0xe1ae73(0x597)]['replaceOp']([_0xe1ae73(0x3d7),_0x2ac6f0,_0xe1ae73(0x49a)],_0x2e3d7a,_0x224edc);}[_0x2b8d6a(0x4aa)](_0x44e334,_0x199a7e,_0x539f66,_0xfd7cb2){const _0xad7a6e=_0x2b8d6a;let _0x256114=_0x44e334['tables'][_0x199a7e][_0xad7a6e(0x2e4)][_0x539f66][_0xad7a6e(0x5a3)]??{},_0x42ffde={..._0x256114,..._0xfd7cb2};return Object[_0xad7a6e(0x582)](_0xfd7cb2)[_0xad7a6e(0x458)](_0x33f703=>{_0xfd7cb2[_0x33f703]===void 0x0&&delete _0x42ffde[_0x33f703];}),_0xcf3cf2['JSON1'][_0xad7a6e(0x5f9)]([..._0x4b16d6['view'](_0x199a7e,_0x539f66),_0xad7a6e(0x5a3)],_0x256114,_0x42ffde);}['setViewFilter'](_0x4d0856,_0x534632,_0x1e41c8,_0x2acac5){const _0x6b991d=_0x2b8d6a;return this[_0x6b991d(0x201)]([..._0x4b16d6[_0x6b991d(0x2e6)](_0x534632,_0x1e41c8),_0x6b991d(0x355)],_0x4d0856[_0x6b991d(0x3d7)][_0x534632][_0x6b991d(0x2e4)][_0x1e41c8][_0x6b991d(0x355)],_0x2acac5);}['setViewSort'](_0x37548d,_0x3ed446,_0x4fd0ae,_0x417947){const _0x279517=_0x2b8d6a;return this[_0x279517(0x201)]([..._0x4b16d6['view'](_0x3ed446,_0x4fd0ae),_0x279517(0x24e)],_0x37548d[_0x279517(0x3d7)][_0x3ed446]['views'][_0x4fd0ae]['sort'],_0x417947);}[_0x2b8d6a(0x273)](_0x3784c4,_0x298d73,_0xd3acca,_0x1f600c){const _0x1cf90b=_0x2b8d6a;return this[_0x1cf90b(0x201)]([..._0x4b16d6['view'](_0x298d73,_0xd3acca),'group'],_0x3784c4['tables'][_0x298d73][_0x1cf90b(0x2e4)][_0xd3acca][_0x1cf90b(0x484)],_0x1f600c);}['setViewFieldVisible'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,_0x33261b){return this['_setViewFieldSetting'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,{'hidden':!_0x33261b});}[_0x2b8d6a(0x50b)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,_0xb4950){const _0x13ecac=_0x2b8d6a;return this[_0x13ecac(0x5ea)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,{'width':_0xb4950});}['setViewFieldOrder'](_0xc74f56,_0x115a11,_0x4097f4,_0x1424ec,_0x3f3364){const _0x3947d5=_0x2b8d6a;let _0x1642e2=_0xc74f56[_0x3947d5(0x3d7)][_0x115a11][_0x3947d5(0x2e4)][_0x4097f4],_0x26e75b=_0xa9284c(_0x1642e2[_0x3947d5(0x4ab)]??_0xc74f56[_0x3947d5(0x3d7)][_0x115a11]['fieldOrder'],_0x1424ec,_0x3f3364);return this['_replaceOptional']([..._0x4b16d6['view'](_0x115a11,_0x4097f4),_0x3947d5(0x4ab)],_0x1642e2[_0x3947d5(0x4ab)],_0x26e75b);}[_0x2b8d6a(0x5ea)](_0x291070,_0x469df6,_0x12b4ce,_0x552151,_0x4485a){const _0x46d830=_0x2b8d6a;let _0x2ca5ce=_0x291070[_0x46d830(0x3d7)][_0x469df6][_0x46d830(0x2e4)][_0x12b4ce]['fieldSettings']??{},_0x41b27c={..._0x2ca5ce,[_0x552151]:{..._0x2ca5ce[_0x552151],..._0x4485a}};return this[_0x46d830(0x201)]([..._0x4b16d6[_0x46d830(0x2e6)](_0x469df6,_0x12b4ce),_0x46d830(0x239)],_0x291070[_0x46d830(0x3d7)][_0x469df6]['views'][_0x12b4ce][_0x46d830(0x239)],_0x41b27c);}[_0x2b8d6a(0x52a)](_0x42bcbe,_0x278880,_0x344b37){const _0x37b6e8=_0x2b8d6a;let _0x65f2a2=_0x42bcbe[_0x37b6e8(0x3d7)][_0x278880],_0x5ea579=new Set(_0x344b37['map'](_0x538027=>_0x538027['id'])),_0x65cdf0=[...Object[_0x37b6e8(0x404)](_0x65f2a2[_0x37b6e8(0x38a)])['filter'](_0x906374=>!_0x5ea579[_0x37b6e8(0x244)](_0x906374['id'])),..._0x344b37][_0x37b6e8(0x24e)]((_0x126df9,_0x33f305)=>String(_0x126df9[_0x37b6e8(0x340)]??_0x126df9['id'])[_0x37b6e8(0x1f9)](String(_0x33f305[_0x37b6e8(0x340)]??_0x33f305['id'])))['map'](_0x5b6d59=>_0x5b6d59['id']),_0x462fe0=[..._0x4b16d6[_0x37b6e8(0x4b0)](_0x278880),_0x37b6e8(0x5ab)];return _0x65f2a2[_0x37b6e8(0x5ab)]?_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x5f9)](_0x462fe0,_0x65f2a2[_0x37b6e8(0x5ab)],_0x65cdf0):_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x3f0)](_0x462fe0,_0x65cdf0);}[_0x2b8d6a(0x33d)](_0x4de386,_0x276ae4=new Set()){const _0x2b9cf2=_0x2b8d6a;let _0x5d3243=(0x0,_0xcf3cf2[_0x2b9cf2(0x314)])(_0x4de386);return Object[_0x2b9cf2(0x404)](_0x4de386[_0x2b9cf2(0x3d7)])[_0x2b9cf2(0x355)](_0xe8178d=>!_0x276ae4['has'](_0xe8178d['id']))[_0x2b9cf2(0x24e)]((_0x4c5137,_0x4db764)=>_0x4c5137['id']['localeCompare'](_0x4db764['id']))[_0x2b9cf2(0x5d0)](_0x45989f=>{const _0x214a59=_0x2b9cf2;let _0x11107c=_0x5d3243[_0x214a59(0x4f0)](_0x45989f['id']);return!_0x11107c||_0x45989f['formulaName']===_0x11107c?[]:[this[_0x214a59(0x201)]([..._0x4b16d6[_0x214a59(0x4b0)](_0x45989f['id']),_0x214a59(0x298)],_0x45989f[_0x214a59(0x298)],_0x11107c)];});}['_setFormulaFieldCells'](_0x17024e,_0x4610d7,_0x58d454,_0xead4a3){const _0x227a21=_0x2b8d6a;var _0x36c6a9,_0x418cbb;let _0x16713d=_0x5d33ae(_0x17024e[_0x227a21(0x3d7)][_0x4610d7]),_0x18b9d6=String(((_0x36c6a9=_0xead4a3[_0x227a21(0x5a3)])==null?void 0x0:_0x36c6a9[_0x227a21(0x4fe)])??'')['trim'](),_0x324e9d=(_0x418cbb=_0x16713d[_0x227a21(0x1f5)])==null?void 0x0:_0x418cbb[_0x58d454];if(_0x324e9d==null)return[];let _0x5011d9=_0x16713d['recordOrder']??Object[_0x227a21(0x582)](_0x16713d[_0x227a21(0x38a)]),_0x2a80aa=_0x5011d9[_0x227a21(0x2c4)](_0x398e81=>{const _0x22dddd=_0x227a21;var _0x1affb8;return(_0x1affb8=_0x16713d[_0x22dddd(0x29a)])==null?void 0x0:_0x1affb8[_0x398e81];})[_0x227a21(0x22c)](_0x4f6610=>_0x4f6610!=null);return _0x5011d9[_0x227a21(0x5d0)](_0x42e1f4=>{const _0x22e3f6=_0x227a21;var _0x33a9cc,_0x2a503d;let _0x5772a1=(_0x33a9cc=_0x16713d[_0x22e3f6(0x29a)])==null?void 0x0:_0x33a9cc[_0x42e1f4];if(_0x5772a1==null)return[];let _0x26a485=(_0x2a503d=_0x16713d['cellData'])==null||(_0x2a503d=_0x2a503d[_0x5772a1])==null?void 0x0:_0x2a503d[_0x324e9d],_0x1d9f93=_0x18b9d6?_0x5772a1===_0x2a80aa?{'f':_0x18b9d6,'si':_0x58d454}:{'si':_0x58d454}:{'v':null,'t':null};return[this[_0x22e3f6(0x201)](_0x4b16d6[_0x22e3f6(0x2a3)](_0x4610d7,_0x5772a1,_0x324e9d),_0x26a485,_0x1d9f93)];});}[_0x2b8d6a(0x285)](_0x39dd7c,_0xc479f,_0x1fa799){const _0x1743c3=_0x2b8d6a;var _0x383bdc;let _0x125de4=new Map(Object[_0x1743c3(0x271)](((_0x383bdc=_0x39dd7c['resources'])==null?void 0x0:_0x383bdc[_0x1743c3(0x52b)])??{})),_0x11cc93=new Map(),_0x1edb02=new Set(),_0x47b8a3=_0x1fa799[_0x1743c3(0x2c4)](({recordId:_0xf79c06,fieldId:_0x4f3d9e,attachments:_0x42ba61})=>{const _0x2c0cff=_0x1743c3;var _0x12abc6;let _0x52de50=_0x1d1617(_0x4f3d9e,_0xf79c06),_0x3bf1e3=_0x42ba61[_0x2c0cff(0x2c4)]((_0x2dd41c,_0x836260)=>String(_0x2dd41c['id']??_0x52de50+'\x1f'+_0x836260));return _0x1edb02[_0x2c0cff(0x1d6)](_0x52de50),_0x125de4[_0x2c0cff(0x22b)](_0x52de50,_0x3bf1e3),_0x42ba61['forEach']((_0x49698a,_0x3efa7f)=>{const _0x445430=_0x2c0cff;let _0x4a6565=_0x3bf1e3[_0x3efa7f];_0x11cc93[_0x445430(0x22b)](_0x4a6565,{..._0x49698a,'id':_0x4a6565});}),this[_0x2c0cff(0x201)](_0x4b16d6['attachmentSet'](_0xc479f,_0x52de50),(_0x12abc6=_0x39dd7c['resources'])==null||(_0x12abc6=_0x12abc6[_0x2c0cff(0x52b)])==null?void 0x0:_0x12abc6[_0x52de50],_0x3bf1e3);}),_0x4a54de=Array[_0x1743c3(0x1ea)](_0x11cc93)['map'](([_0x463117,_0x5d86ae])=>{const _0x5c9826=_0x1743c3;var _0x255569;return this['_replaceOptional'](_0x4b16d6['attachment'](_0xc479f,_0x463117),(_0x255569=_0x39dd7c[_0x5c9826(0x482)])==null||(_0x255569=_0x255569[_0x5c9826(0x1e9)])==null?void 0x0:_0x255569[_0x463117],_0x5d86ae);}),_0x4ac1af=new Set(Array[_0x1743c3(0x1ea)](_0x125de4['values']())[_0x1743c3(0x5f1)]()),_0x4659de=new Set(Array['from'](_0x1edb02)[_0x1743c3(0x5d0)](_0x467177=>{const _0x28ebf9=_0x1743c3;var _0x5d993a;return((_0x5d993a=_0x39dd7c[_0x28ebf9(0x482)])==null||(_0x5d993a=_0x5d993a[_0x28ebf9(0x52b)])==null?void 0x0:_0x5d993a[_0x467177])??[];})),_0x51a3dc=Array[_0x1743c3(0x1ea)](_0x4659de)[_0x1743c3(0x5d0)](_0x311e98=>{const _0x2081a9=_0x1743c3;var _0xed7d06;let _0x5ef03d=(_0xed7d06=_0x39dd7c[_0x2081a9(0x482)])==null||(_0xed7d06=_0xed7d06[_0x2081a9(0x1e9)])==null?void 0x0:_0xed7d06[_0x311e98];return _0x5ef03d!==void 0x0&&!_0x4ac1af[_0x2081a9(0x244)](_0x311e98)?[_0xcf3cf2[_0x2081a9(0x597)][_0x2081a9(0x594)](_0x4b16d6[_0x2081a9(0x2f6)](_0xc479f,_0x311e98),_0x5ef03d)]:[];});return[..._0x47b8a3,..._0x4a54de,..._0x51a3dc];}['_deleteAttachmentResources'](_0x37ec77,_0x1bb10f,_0x46a476){const _0x3e1ce1=_0x2b8d6a;var _0x10465d;let _0x3a793e=((_0x10465d=_0x37ec77[_0x3e1ce1(0x482)])==null?void 0x0:_0x10465d[_0x3e1ce1(0x52b)])??{},_0x5f1706=Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x17bc53])=>_0x46a476(_0x17bc53));if(!_0x5f1706[_0x3e1ce1(0x3d4)])return[];let _0x58c2e4=new Set(Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x1901bc])=>!_0x46a476(_0x1901bc))['flatMap'](([,_0x397aca])=>_0x397aca)),_0x5741b5=new Set(_0x5f1706[_0x3e1ce1(0x5d0)](([,_0x188354])=>_0x188354));return[..._0x5f1706[_0x3e1ce1(0x2c4)](([_0x3563b3,_0x124e1f])=>_0xcf3cf2['JSON1']['removeOp'](_0x4b16d6[_0x3e1ce1(0x23f)](_0x1bb10f,_0x3563b3),_0x124e1f)),...Array[_0x3e1ce1(0x1ea)](_0x5741b5)[_0x3e1ce1(0x5d0)](_0x43920c=>{const _0x26d442=_0x3e1ce1;var _0x4e885d;let _0x4ad6fc=(_0x4e885d=_0x37ec77[_0x26d442(0x482)])==null||(_0x4e885d=_0x4e885d['attachments'])==null?void 0x0:_0x4e885d[_0x43920c];return _0x4ad6fc!==void 0x0&&!_0x58c2e4[_0x26d442(0x244)](_0x43920c)?[_0xcf3cf2['JSON1'][_0x26d442(0x594)](_0x4b16d6['attachment'](_0x1bb10f,_0x43920c),_0x4ad6fc)]:[];})];}[_0x2b8d6a(0x201)](_0x193ca7,_0x582547,_0x5460a6){const _0x1a107d=_0x2b8d6a;return _0x582547===void 0x0?_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x3f0)](_0x193ca7,_0x5460a6):_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x5f9)](_0x193ca7,_0x582547,_0x5460a6);}};function _0x5744dd(_0x1e0837,_0x120913,_0x4c6822,_0x339208){const _0x284e9e=_0x2b8d6a;var _0x4881e7;let _0x2c35aa=_0x339208[_0x284e9e(0x1cc)];if(_0x4c6822['type']!==_0x2c35aa||_0x2c35aa!==_0xcf3cf2['BaseFieldType']['SingleSelect']&&_0x2c35aa!==_0xcf3cf2[_0x284e9e(0x435)]['MultiSelect']||_0x4ae32c(_0x339208[_0x284e9e(0x5a3)]['optionSource']))return{'field':_0x339208,'patches':[]};let _0x417e02=_0x157e33(_0x4c6822),_0x3f7ec5=_0x157e33(_0x339208);if(![..._0x417e02][_0x284e9e(0x20f)](_0x4a278c=>!_0x3f7ec5['has'](_0x4a278c)))return{'field':_0x339208,'patches':[]};let _0x54359b=_0x3c2a7f(_0x339208['defaultValue'],_0x3f7ec5,_0x2c35aa),_0x8dc5d8=_0x2d1fc7(_0x54359b,_0x339208[_0x284e9e(0x334)])?_0x339208:{..._0x339208,'defaultValue':_0x54359b},_0x45c43e=_0x5d33ae(_0x1e0837),_0x18e0e9=(_0x4881e7=_0x45c43e[_0x284e9e(0x1f5)])==null?void 0x0:_0x4881e7[_0x120913];return _0x18e0e9==null?{'field':_0x8dc5d8,'patches':[]}:{'field':_0x8dc5d8,'patches':(_0x45c43e[_0x284e9e(0x5ab)]??[])[_0x284e9e(0x5d0)](_0x3c2c0e=>{const _0x2b0d40=_0x284e9e;var _0x130efd,_0xb585b1;let _0x297786=(_0x130efd=_0x45c43e[_0x2b0d40(0x29a)])==null?void 0x0:_0x130efd[_0x3c2c0e],_0x2b3198=(_0xb585b1=_0x45c43e[_0x2b0d40(0x38a)][_0x3c2c0e])==null?void 0x0:_0xb585b1[_0x2b0d40(0x404)][_0x120913],_0x533a7e=_0x3c2a7f(_0x2b3198,_0x3f7ec5,_0x2c35aa);return _0x297786==null||_0x2d1fc7(_0x533a7e,_0x2b3198)?[]:[{'row':_0x297786,'col':_0x18e0e9,'value':_0x533a7e??null}];})};}function _0x4ae32c(_0x2e7c5b){const _0x2e53c7=_0x2b8d6a;return typeof _0x2e7c5b==_0x2e53c7(0x240)&&!!_0x2e7c5b&&_0x2e53c7(0x1cc)in _0x2e7c5b&&_0x2e7c5b['type']===_0x2e53c7(0x48c);}function _0x157e33(_0x25a193){const _0x3bab66=_0x2b8d6a;var _0x4d297d;let _0x56a61c=Array[_0x3bab66(0x2a1)]((_0x4d297d=_0x25a193[_0x3bab66(0x5a3)])==null?void 0x0:_0x4d297d[_0x3bab66(0x5cc)])?_0x25a193[_0x3bab66(0x5a3)][_0x3bab66(0x5cc)]:[];return new Set(_0x56a61c[_0x3bab66(0x5d0)](_0x4fd36f=>{if(!_0x4fd36f||typeof _0x4fd36f!='object'||!('id'in _0x4fd36f))return[];let _0xb19225=String(_0x4fd36f['id']);return _0xb19225?[_0xb19225]:[];}));}function _0x3c2a7f(_0x1b5e77,_0xfe6832,_0x1efc4e){const _0x3ec684=_0x2b8d6a;if(_0x1b5e77==null||_0x1b5e77==='')return _0x1b5e77;if(_0x1efc4e===_0xcf3cf2[_0x3ec684(0x435)]['SingleSelect'])return _0xfe6832[_0x3ec684(0x244)](String(_0x1b5e77))?_0x1b5e77:null;let _0x43d919=Array['isArray'](_0x1b5e77)?_0x1b5e77[_0x3ec684(0x2c4)](String):String(_0x1b5e77)[_0x3ec684(0x339)](',')[_0x3ec684(0x2c4)](_0x15a93b=>_0x15a93b['trim']())['filter'](Boolean),_0x40502f=_0x43d919[_0x3ec684(0x355)](_0x4b78e6=>_0xfe6832[_0x3ec684(0x244)](_0x4b78e6));return _0x40502f['length']===_0x43d919[_0x3ec684(0x3d4)]?_0x1b5e77:Array[_0x3ec684(0x2a1)](_0x1b5e77)?_0x40502f:String(_0x1b5e77)['includes'](',')?_0x40502f['join'](','):_0x40502f[0x0]??[];}function _0x2d1fc7(_0x4f93bc,_0xc220b0){const _0x56614b=_0x2b8d6a;return JSON[_0x56614b(0x322)](_0x4f93bc)===JSON['stringify'](_0xc220b0);}function _0x3b56e8(_0x33cdee,_0x17876d,_0x303f9c){const _0x4e22aa=_0x2b8d6a;var _0x3851e4,_0x45abc8,_0x5bb667,_0x7fe752;let _0x44f17e=(_0x3851e4=_0x33cdee[_0x4e22aa(0x29a)])==null?void 0x0:_0x3851e4[_0x17876d],_0x105d79=(_0x45abc8=_0x33cdee[_0x4e22aa(0x1f5)])==null?void 0x0:_0x45abc8[_0x303f9c];return _0x44f17e!=null&&_0x105d79!=null&&((_0x5bb667=_0x33cdee[_0x4e22aa(0x369)])==null?void 0x0:_0x5bb667[_0x44f17e])===_0x17876d&&((_0x7fe752=_0x33cdee[_0x4e22aa(0x4df)])==null?void 0x0:_0x7fe752[_0x105d79])===_0x303f9c&&_0x33cdee['cellData']!=null;}function _0x46c8b0(_0xbbace2,_0x60e9dd,_0x297789){const _0x1bee44=_0x2b8d6a;var _0xc3db5a,_0x47e961;return((_0xc3db5a=_0xbbace2['rowId'])==null?void 0x0:_0xc3db5a[_0x60e9dd])!=null&&((_0x47e961=_0xbbace2[_0x1bee44(0x4df)])==null?void 0x0:_0x47e961[_0x297789])!=null&&_0xbbace2[_0x1bee44(0x2a3)]!=null;}function _0xa9284c(_0x3bd4ff,_0x1894de,_0x3a09cd){const _0x4dd0a5=_0x2b8d6a;let _0x16810d=_0x3bd4ff[_0x4dd0a5(0x355)](_0xc6f297=>_0xc6f297!==_0x1894de),_0x23e43a=_0x3a09cd[_0x4dd0a5(0x24d)]?_0x16810d[_0x4dd0a5(0x267)](_0x3a09cd[_0x4dd0a5(0x24d)]):_0x3a09cd['afterFieldId']?_0x16810d['indexOf'](_0x3a09cd[_0x4dd0a5(0x58f)])+0x1:_0x16810d[_0x4dd0a5(0x3d4)];return _0x16810d['splice'](_0x23e43a<0x0?_0x16810d[_0x4dd0a5(0x3d4)]:_0x23e43a,0x0,_0x1894de),_0x16810d;}function _0x395bbb(_0x3e049b,_0x270950,_0x20bf3a){const _0x4616bd=_0x2b8d6a;let _0xed7b7=_0x3e049b[_0x4616bd(0x355)](_0x5653e0=>_0x5653e0!==_0x270950);return _0xed7b7['splice'](_0x54640f(_0x20bf3a,_0xed7b7['length']),0x0,_0x270950),_0xed7b7;}function _0x2a7a83(_0x18b582,_0x1cabd5,_0x45c88e){const _0x3eb999=_0x2b8d6a;if(Array[_0x3eb999(0x2a1)](_0x18b582))return _0x45c88e===_0x3eb999(0x4a6)?_0x18b582[_0x3eb999(0x355)](_0x5e9631=>_0x5e9631!==_0x1cabd5):_0x18b582[_0x3eb999(0x5d0)](_0x10cc87=>{const _0x414c70=_0x3eb999;if(_0x10cc87&&typeof _0x10cc87==_0x414c70(0x240)&&!Array[_0x414c70(0x2a1)](_0x10cc87)&&_0x10cc87['fieldId']===_0x1cabd5)return[];let _0x396511=_0x2a7a83(_0x10cc87,_0x1cabd5);return _0x396511===void 0x0?[]:[_0x396511];});if(!_0x18b582||typeof _0x18b582!=_0x3eb999(0x240))return _0x45c88e!=null&&_0x45c88e[_0x3eb999(0x4ec)](_0x3eb999(0x38b))&&_0x18b582===_0x1cabd5?void 0x0:_0x18b582;let _0x15e3ee=_0x18b582;if(_0x15e3ee[_0x3eb999(0x580)]!==_0x1cabd5)return Object[_0x3eb999(0x3a6)](Object[_0x3eb999(0x271)](_0x15e3ee)['flatMap'](([_0x3aabc9,_0x1c1346])=>{if(_0x3aabc9===_0x1cabd5&&_0x45c88e==='fieldSettings')return[];let _0x26d88e=_0x2a7a83(_0x1c1346,_0x1cabd5,_0x3aabc9);return _0x26d88e===void 0x0?[]:[[_0x3aabc9,_0x26d88e]];}));}function _0x54640f(_0x499896,_0x30b01e){const _0x5cdba8=_0x2b8d6a;return Math[_0x5cdba8(0x591)](0x0,Math['min'](_0x499896,_0x30b01e));}function _0x20aa1f(_0x21d311){'@babel/helpers - typeof';const _0x294c70=_0x2b8d6a;return _0x20aa1f=typeof Symbol==_0x294c70(0x2fe)&&typeof Symbol[_0x294c70(0x517)]==_0x294c70(0x5e8)?function(_0x4702db){return typeof _0x4702db;}:function(_0xdd5e7a){const _0x42e3b9=_0x294c70;return _0xdd5e7a&&typeof Symbol==_0x42e3b9(0x2fe)&&_0xdd5e7a['constructor']===Symbol&&_0xdd5e7a!==Symbol['prototype']?_0x42e3b9(0x5e8):typeof _0xdd5e7a;},_0x20aa1f(_0x21d311);}function _0x29d107(_0x318f58,_0x2d35e7){const _0x6510fe=_0x2b8d6a;if(_0x20aa1f(_0x318f58)!='object'||!_0x318f58)return _0x318f58;var _0xe98d5f=_0x318f58[Symbol[_0x6510fe(0x4e6)]];if(_0xe98d5f!==void 0x0){var _0x18e51=_0xe98d5f[_0x6510fe(0x29f)](_0x318f58,_0x2d35e7||'default');if(_0x20aa1f(_0x18e51)!='object')return _0x18e51;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d35e7===_0x6510fe(0x3ea)?String:Number)(_0x318f58);}function _0x423dfb(_0x8f1251){const _0x2d55b3=_0x2b8d6a;var _0x2f11a5=_0x29d107(_0x8f1251,_0x2d55b3(0x3ea));return _0x20aa1f(_0x2f11a5)==_0x2d55b3(0x5e8)?_0x2f11a5:_0x2f11a5+'';}function _0x550e57(_0x1f318d,_0x5a4a17,_0x162059){const _0x248b25=_0x2b8d6a;return(_0x5a4a17=_0x423dfb(_0x5a4a17))in _0x1f318d?Object[_0x248b25(0x2c1)](_0x1f318d,_0x5a4a17,{'value':_0x162059,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f318d[_0x5a4a17]=_0x162059,_0x1f318d;}let _0x3dec17=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4af));var _0x4d1e59=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x4ac837){const _0xb7b9e5=_0x2b8d6a;super(..._0x4ac837),_0x550e57(this,_0xb7b9e5(0x254),new Map());}['register'](_0x421cc5){const _0x56493c=_0x2b8d6a;return this[_0x56493c(0x254)]['set'](_0x421cc5[_0x56493c(0x1cc)],_0x421cc5),(0x0,_0xcf3cf2[_0x56493c(0x368)])(()=>this[_0x56493c(0x254)][_0x56493c(0x472)](_0x421cc5[_0x56493c(0x1cc)]));}[_0x2b8d6a(0x4f0)](_0x59cba8){const _0x4a5f08=_0x2b8d6a;let _0xf87397=this[_0x4a5f08(0x254)][_0x4a5f08(0x4f0)](_0x59cba8);if(!_0xf87397)throw Error(_0x4a5f08(0x429)+_0x59cba8+_0x4a5f08(0x4e1));return _0xf87397;}[_0x2b8d6a(0x248)](_0x491b22){const _0x5eb842=_0x2b8d6a;return this['_plugins'][_0x5eb842(0x4f0)](_0x491b22);}[_0x2b8d6a(0x2ed)](){const _0x5c7583=_0x2b8d6a;return Array[_0x5c7583(0x1ea)](this[_0x5c7583(0x254)]['values']());}},_0x2ded4b=class{constructor(_0x421215){const _0x5db9e3=_0x2b8d6a;this[_0x5db9e3(0x20d)]=_0x421215,_0x550e57(this,_0x5db9e3(0x1cc),_0x2f5c57['UnitObject'][_0x5db9e3(0x58c)]),_0x550e57(this,_0x5db9e3(0x552),_0x2f5c57['UnitAction'][_0x5db9e3(0x20b)]),_0x550e57(this,_0x5db9e3(0x5ad),_0xcf3cf2[_0x5db9e3(0x3cc)][_0x5db9e3(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x5db9e3(0x348),!0x0),this['id']=this[_0x5db9e3(0x1cc)]+'.'+this[_0x5db9e3(0x552)]+'_'+_0x421215;}},_0x6d7997=class{constructor(_0x138177){const _0x816bb5=_0x2b8d6a;this[_0x816bb5(0x20d)]=_0x138177,_0x550e57(this,_0x816bb5(0x1cc),_0x2f5c57[_0x816bb5(0x40a)][_0x816bb5(0x58c)]),_0x550e57(this,_0x816bb5(0x552),_0x2f5c57[_0x816bb5(0x1ce)]['Copy']),_0x550e57(this,_0x816bb5(0x5ad),_0xcf3cf2[_0x816bb5(0x3cc)][_0x816bb5(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x816bb5(0x1cc)]+'.'+this[_0x816bb5(0x552)]+'_'+_0x138177;}},_0x952420=class{constructor(_0x58ea4f){const _0x407165=_0x2b8d6a;this[_0x407165(0x20d)]=_0x58ea4f,_0x550e57(this,_0x407165(0x1cc),_0x2f5c57[_0x407165(0x40a)]['Base']),_0x550e57(this,'subType',_0x2f5c57[_0x407165(0x1ce)][_0x407165(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x407165(0x3cc)][_0x407165(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x407165(0x348),!0x0),this['id']=this[_0x407165(0x1cc)]+'.'+this[_0x407165(0x552)]+'_'+_0x58ea4f;}},_0x483d33=class{constructor(_0x3a7422){const _0x56f817=_0x2b8d6a;this[_0x56f817(0x20d)]=_0x3a7422,_0x550e57(this,'type',_0x2f5c57[_0x56f817(0x40a)][_0x56f817(0x58c)]),_0x550e57(this,'subType',_0x2f5c57[_0x56f817(0x1ce)][_0x56f817(0x444)]),_0x550e57(this,_0x56f817(0x5ad),_0xcf3cf2[_0x56f817(0x3cc)]['INIT']),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x56f817(0x348),!0x0),this['id']=this[_0x56f817(0x1cc)]+'.'+this[_0x56f817(0x552)]+'_'+_0x3a7422;}},_0x47b04e=class{constructor(_0x363c99,_0x3add8a){const _0x3eaefa=_0x2b8d6a;this[_0x3eaefa(0x20d)]=_0x363c99,this[_0x3eaefa(0x3fd)]=_0x3add8a,_0x550e57(this,_0x3eaefa(0x1cc),_0x2f5c57[_0x3eaefa(0x40a)][_0x3eaefa(0x2b5)]),_0x550e57(this,_0x3eaefa(0x552),_0x2f5c57['UnitAction'][_0x3eaefa(0x241)]),_0x550e57(this,_0x3eaefa(0x5ad),_0xcf3cf2[_0x3eaefa(0x3cc)][_0x3eaefa(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x3eaefa(0x348),!0x0),this['id']=this['type']+'.'+this[_0x3eaefa(0x552)]+'_'+_0x363c99+'_'+_0x3add8a;}},_0x427275=class{constructor(_0x1d78e5,_0xcf6b61){const _0x52c66d=_0x2b8d6a;this['unitId']=_0x1d78e5,this[_0x52c66d(0x3fd)]=_0xcf6b61,_0x550e57(this,'type',_0x2f5c57[_0x52c66d(0x40a)][_0x52c66d(0x469)]),_0x550e57(this,_0x52c66d(0x552),_0x2f5c57['UnitAction'][_0x52c66d(0x241)]),_0x550e57(this,_0x52c66d(0x5ad),_0xcf3cf2[_0x52c66d(0x3cc)][_0x52c66d(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x52c66d(0x1cc)]+'.'+this[_0x52c66d(0x552)]+'_'+_0x1d78e5+'_'+_0xcf6b61;}},_0xc51d66=class{constructor(_0x558475,_0x35bffb){const _0x1d8663=_0x2b8d6a;this[_0x1d8663(0x20d)]=_0x558475,this[_0x1d8663(0x3fd)]=_0x35bffb,_0x550e57(this,_0x1d8663(0x1cc),_0x2f5c57[_0x1d8663(0x40a)]['BaseRecord']),_0x550e57(this,_0x1d8663(0x552),_0x2f5c57['UnitAction'][_0x1d8663(0x241)]),_0x550e57(this,_0x1d8663(0x5ad),_0xcf3cf2['PermissionStatus'][_0x1d8663(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x1d8663(0x348),!0x0),this['id']=this[_0x1d8663(0x1cc)]+'.'+this['subType']+'_'+_0x558475+'_'+_0x35bffb;}},_0x207ffd=class{constructor(_0x277ef8,_0x351f24){const _0x371b66=_0x2b8d6a;this['unitId']=_0x277ef8,this[_0x371b66(0x3fd)]=_0x351f24,_0x550e57(this,_0x371b66(0x1cc),_0x2f5c57[_0x371b66(0x40a)]['BaseTable']),_0x550e57(this,_0x371b66(0x552),_0x2f5c57['UnitAction'][_0x371b66(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x371b66(0x3cc)][_0x371b66(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x371b66(0x348),!0x0),this['id']=this['type']+'.'+this[_0x371b66(0x552)]+'_'+_0x277ef8+'_'+_0x351f24;}},_0x2dc4a8=class{constructor(_0x3a8eaa,_0x231a62){const _0x39c0b9=_0x2b8d6a;this['unitId']=_0x3a8eaa,this[_0x39c0b9(0x3fd)]=_0x231a62,_0x550e57(this,_0x39c0b9(0x1cc),_0x2f5c57[_0x39c0b9(0x40a)]['BaseView']),_0x550e57(this,'subType',_0x2f5c57[_0x39c0b9(0x1ce)]['Edit']),_0x550e57(this,_0x39c0b9(0x5ad),_0xcf3cf2['PermissionStatus'][_0x39c0b9(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x39c0b9(0x348),!0x0),this['id']=this['type']+'.'+this[_0x39c0b9(0x552)]+'_'+_0x3a8eaa+'_'+_0x231a62;}};let _0x2403b2=[_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x241)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x3e3)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x444)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x20b)]],_0x53646f=new Set([_0x2f5c57[_0x2b8d6a(0x40a)]['Base'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x560)],_0x2f5c57['UnitObject']['BaseField'],_0x2f5c57[_0x2b8d6a(0x40a)]['BaseRecord'],_0x2f5c57['UnitObject']['BaseView'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x2b5)]]),_0x23c39d='table/',_0x5f4239='field/',_0xb36195=_0x2b8d6a(0x37b),_0x290b2f=_0x2b8d6a(0x3b8),_0x182a97='dashboard/';function _0x20afd2(_0x3f6ee2){return''+_0x23c39d+encodeURIComponent(_0x3f6ee2);}function _0xe7abbf(_0xe23ec4,_0x6a71f5){return''+_0x5f4239+encodeURIComponent(_0xe23ec4)+'/'+encodeURIComponent(_0x6a71f5);}function _0x19d6d6(_0x1ee355,_0x2a391b){return''+_0xb36195+encodeURIComponent(_0x1ee355)+'/'+encodeURIComponent(_0x2a391b);}function _0x1592c3(_0x3f00d4,_0x6850a5){return''+_0x290b2f+encodeURIComponent(_0x3f00d4)+'/'+encodeURIComponent(_0x6850a5);}function _0xbd25(_0x13a24e){return''+_0x182a97+encodeURIComponent(_0x13a24e);}function _0x1a5ea7(_0x59121d,_0x58693d,_0x3a138a){const _0x2edc99=_0x2b8d6a;if(_0x58693d===_0x59121d)switch(_0x3a138a){case _0x2f5c57[_0x2edc99(0x1ce)]['Edit']:return new _0x952420(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)][_0x2edc99(0x3e3)]:return new _0x6d7997(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)]['Export']:return new _0x483d33(_0x59121d);case _0x2f5c57['UnitAction'][_0x2edc99(0x20b)]:return new _0x2ded4b(_0x59121d);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x3a138a);}if(_0x3a138a!==_0x2f5c57['UnitAction'][_0x2edc99(0x241)])throw Error('Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20'+_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x23c39d))return new _0x207ffd(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x5f4239))return new _0x427275(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0xb36195))return new _0xc51d66(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x290b2f))return new _0x2dc4a8(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x182a97))return new _0x47b04e(_0x59121d,_0x58693d);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x58693d);}function _0x3aa462(_0x105d9a,_0x5e4276,_0x3fce84,_0x301500){const _0xcbaabe=_0x2b8d6a;var _0x55ffff;return((_0x55ffff=_0x105d9a[_0xcbaabe(0x463)](_0x1a5ea7(_0x5e4276,_0x3fce84,_0x301500)['id']))==null?void 0x0:_0x55ffff['value'])??!0x0;}function _0x270cb9(_0x370d9a,_0x45c295,_0x3c5fff,_0x3ea34e,_0x2ff6cc){const _0xf584f8=_0x2b8d6a;let _0x3c5c88=_0x1a5ea7(_0x45c295,_0x3c5fff,_0x3ea34e);_0x370d9a[_0xf584f8(0x463)](_0x3c5c88['id'])||_0x370d9a[_0xf584f8(0x4d7)](_0x3c5c88),_0x370d9a[_0xf584f8(0x396)](_0x3c5c88['id'],_0x2ff6cc);}function _0x968a00(_0x4aaa1a,_0x2537b8,_0x3f6d48,_0x2dc5bc){const _0x99ba9e=_0x2b8d6a;_0x4aaa1a[_0x99ba9e(0x385)](_0x1a5ea7(_0x2537b8,_0x3f6d48,_0x2dc5bc)['id']);}function _0x1fbe97(_0x196b91,_0xcd5904){_0x196b91['getAllPermissionPoint']()['forEach']((_0x5ab1d6,_0x472e25)=>{const _0x8015f9=_0x4fc4;_0x5ab1d6[_0x8015f9(0x210)](_0xdd1abe=>{const _0x4e61c3=_0x8015f9;_0x53646f['has'](_0xdd1abe[_0x4e61c3(0x1cc)])&&_0x4e61c3(0x20d)in _0xdd1abe&&_0xdd1abe['unitId']===_0xcd5904&&_0x196b91['deletePermissionPoint'](_0x472e25);})[_0x8015f9(0x55c)]();});}function _0x1484ec(_0x430395,_0x288e57,_0x227e34){const _0x1b8a8a=_0x2b8d6a;return _0x3aa462(_0x430395,_0x288e57,_0x288e57,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)])&&Array[_0x1b8a8a(0x1ea)](_0x227e34)['every'](_0x5b5d38=>_0x3aa462(_0x430395,_0x288e57,_0x5b5d38,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)]));}function _0x429169(_0x218de8,_0xf7273b){return function(_0x4286c1,_0x1cca14){_0xf7273b(_0x4286c1,_0x1cca14,_0x218de8);};}function _0x21a541(_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd){const _0x1eeb75=_0x2b8d6a;var _0x20fa6f=arguments[_0x1eeb75(0x3d4)],_0x5e4aaf=_0x20fa6f<0x3?_0xb31fe1:_0xf3d2dd===null?_0xf3d2dd=Object['getOwnPropertyDescriptor'](_0xb31fe1,_0x388763):_0xf3d2dd,_0x4459fa;if(typeof Reflect=='object'&&typeof Reflect[_0x1eeb75(0x3bb)]==_0x1eeb75(0x2fe))_0x5e4aaf=Reflect[_0x1eeb75(0x3bb)](_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd);else{for(var _0x4346a2=_0xa8e758[_0x1eeb75(0x3d4)]-0x1;_0x4346a2>=0x0;_0x4346a2--)(_0x4459fa=_0xa8e758[_0x4346a2])&&(_0x5e4aaf=(_0x20fa6f<0x3?_0x4459fa(_0x5e4aaf):_0x20fa6f>0x3?_0x4459fa(_0xb31fe1,_0x388763,_0x5e4aaf):_0x4459fa(_0xb31fe1,_0x388763))||_0x5e4aaf);}return _0x20fa6f>0x3&&_0x5e4aaf&&Object[_0x1eeb75(0x2c1)](_0xb31fe1,_0x388763,_0x5e4aaf),_0x5e4aaf;}let _0x2d44c2=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x5d3)),_0x2b795c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x234b44,_0x1afe64){const _0x45bab6=_0x2b8d6a;super(),this['_permissionService']=_0x234b44,this['_instanceService']=_0x1afe64,_0x550e57(this,_0x45bab6(0x2d8),new Map()),_0x550e57(this,_0x45bab6(0x422),new Map()),_0x550e57(this,'_fieldPermissions',new Map()),_0x550e57(this,_0x45bab6(0x225),new Map()),_0x550e57(this,_0x45bab6(0x40f),new Map()),_0x550e57(this,_0x45bab6(0x246),new Map()),this[_0x45bab6(0x54b)](this[_0x45bab6(0x5d7)][_0x45bab6(0x528)](_0xcf3cf2['UniverInstanceType'][_0x45bab6(0x2bf)])[_0x45bab6(0x210)](_0x19edc4=>this[_0x45bab6(0x291)](_0x19edc4[_0x45bab6(0x4c0)]())));}[_0x2b8d6a(0x380)](_0x20db35){const _0x36a392=_0x2b8d6a;var _0x3abf52;return this[_0x36a392(0x41f)](_0x20db35,[])&&(((_0x3abf52=this[_0x36a392(0x2d8)][_0x36a392(0x4f0)](_0x20db35))==null?void 0x0:_0x3abf52[_0x36a392(0x5f0)])??!0x0);}['canEditTable'](_0x20e3e5){const _0x34fd58=_0x2b8d6a;return this[_0x34fd58(0x393)](_0x20e3e5);}[_0x2b8d6a(0x3a3)](_0x26e297){const _0x4593a1=_0x2b8d6a;var _0x4f1741;return this[_0x4593a1(0x393)](_0x26e297)&&(((_0x4f1741=this[_0x4593a1(0x422)][_0x4593a1(0x4f0)](_0x26e297))==null?void 0x0:_0x4f1741[_0x4593a1(0x472)])??!0x0);}[_0x2b8d6a(0x35b)](_0x1aa4a9){const _0x209dd6=_0x2b8d6a;var _0x9c44d5;return this[_0x209dd6(0x393)](_0x1aa4a9)&&(((_0x9c44d5=this[_0x209dd6(0x422)][_0x209dd6(0x4f0)](_0x1aa4a9))==null?void 0x0:_0x9c44d5['createField'])??!0x0);}[_0x2b8d6a(0x2f2)](_0x2d78dd,_0x2253e1){const _0x55c065=_0x2b8d6a;var _0x109694;return this[_0x55c065(0x393)](_0x2d78dd)&&this['_canEdit'](_0x2d78dd,[_0xe7abbf(_0x2d78dd,_0x2253e1)])&&(((_0x109694=this[_0x55c065(0x553)]['get'](_0x54c07a(_0x2d78dd,_0x2253e1)))==null?void 0x0:_0x109694[_0x55c065(0x417)])??!0x0);}['canDeleteField'](_0x33509e,_0x3e185b){const _0x210151=_0x2b8d6a;var _0x223485;return this[_0x210151(0x2f2)](_0x33509e,_0x3e185b)&&(((_0x223485=this[_0x210151(0x553)][_0x210151(0x4f0)](_0x54c07a(_0x33509e,_0x3e185b)))==null?void 0x0:_0x223485[_0x210151(0x472)])??!0x0);}[_0x2b8d6a(0x557)](_0x1e3f25){const _0x36cb84=_0x2b8d6a;var _0x40d923;return this[_0x36cb84(0x393)](_0x1e3f25)&&(((_0x40d923=this['_tablePermissions'][_0x36cb84(0x4f0)](_0x1e3f25))==null?void 0x0:_0x40d923[_0x36cb84(0x3fb)])??!0x0);}[_0x2b8d6a(0x1dc)](_0x292c76,_0x1d92a1){const _0x4b617a=_0x2b8d6a;var _0x3f4f5e;let _0x18e899=this['_recordPermissions'][_0x4b617a(0x4f0)](_0x6cb5b2(_0x292c76,_0x1d92a1));return this[_0x4b617a(0x41f)](_0x292c76,[_0x20afd2(_0x292c76),_0x19d6d6(_0x292c76,_0x1d92a1)])&&(((_0x3f4f5e=this['_tablePermissions'][_0x4b617a(0x4f0)](_0x292c76))==null?void 0x0:_0x3f4f5e[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x581)])??!0x0);}['canDeleteRecord'](_0x359c84,_0x111a42){const _0xdb521d=_0x2b8d6a;var _0x51eb2e,_0x54645f,_0x493b15;return this[_0xdb521d(0x41f)](_0x359c84,[_0x20afd2(_0x359c84),_0x19d6d6(_0x359c84,_0x111a42)])&&(((_0x51eb2e=this[_0xdb521d(0x422)][_0xdb521d(0x4f0)](_0x359c84))==null?void 0x0:_0x51eb2e[_0xdb521d(0x417)])??!0x0)&&(((_0x54645f=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x54645f[_0xdb521d(0x417)])??!0x0)&&(((_0x493b15=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x493b15[_0xdb521d(0x472)])??!0x0);}['canEditCell'](_0x576e35,_0x3cefd3,_0x504331){const _0x3300d9=_0x2b8d6a;var _0x2c88a2,_0x1efcd3,_0x58c68a;let _0x3aa9a4=this[_0x3300d9(0x553)][_0x3300d9(0x4f0)](_0x54c07a(_0x576e35,_0x504331));return this[_0x3300d9(0x41f)](_0x576e35,[_0x20afd2(_0x576e35),_0xe7abbf(_0x576e35,_0x504331),_0x19d6d6(_0x576e35,_0x3cefd3)])&&(((_0x2c88a2=this['_tablePermissions'][_0x3300d9(0x4f0)](_0x576e35))==null?void 0x0:_0x2c88a2[_0x3300d9(0x417)])??!0x0)&&(((_0x1efcd3=this[_0x3300d9(0x225)][_0x3300d9(0x4f0)](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x1efcd3[_0x3300d9(0x417)])??!0x0)&&(((_0x58c68a=this['_recordPermissions']['get'](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x58c68a['editCell'])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4[_0x3300d9(0x417)])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4['editCell'])??!0x0);}[_0x2b8d6a(0x50c)](_0x82dbe2,_0x3f9a89){const _0x45f4b0=_0x2b8d6a;var _0x1b284c,_0x1a34e7,_0x2a25a5;return this[_0x45f4b0(0x41f)](_0x82dbe2,[_0x20afd2(_0x82dbe2),_0x1592c3(_0x82dbe2,_0x3f9a89)])&&(((_0x1b284c=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x1b284c['edit'])??!0x0)&&(((_0x1a34e7=this[_0x45f4b0(0x40f)][_0x45f4b0(0x4f0)](_0x49ee2f(_0x82dbe2,_0x3f9a89)))==null?void 0x0:_0x1a34e7['edit'])??!0x0)&&(((_0x2a25a5=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x2a25a5[_0x45f4b0(0x35f)])??!0x0);}[_0x2b8d6a(0x5a9)](_0x239cc5,_0x2fe868){const _0x440b75=_0x2b8d6a;this[_0x440b75(0x2d8)]['set'](_0x239cc5,{...this['_basePermissions']['get'](_0x239cc5),..._0x2fe868}),_0x2fe868['edit']!==void 0x0&&_0x270cb9(this[_0x440b75(0x20a)],_0x239cc5,_0x239cc5,_0x2f5c57[_0x440b75(0x1ce)][_0x440b75(0x241)],_0x2fe868[_0x440b75(0x417)]);}[_0x2b8d6a(0x3a4)](_0x1595ba,_0x84c053){const _0x18fa44=_0x2b8d6a;this[_0x18fa44(0x473)](_0x1595ba),this[_0x18fa44(0x422)]['set'](_0x1595ba,{...this[_0x18fa44(0x422)]['get'](_0x1595ba),..._0x84c053}),this['_setObjectEdit'](_0x1595ba,_0x20afd2(_0x1595ba),_0x84c053[_0x18fa44(0x417)]);}['setFieldPermission'](_0x107b71,_0x2ae88d,_0x4b7421){const _0x5e06f7=_0x2b8d6a;this[_0x5e06f7(0x473)](_0x107b71);let _0x18c5bf=_0x54c07a(_0x107b71,_0x2ae88d);this['_fieldPermissions']['set'](_0x18c5bf,{...this[_0x5e06f7(0x553)][_0x5e06f7(0x4f0)](_0x18c5bf),..._0x4b7421}),this[_0x5e06f7(0x378)](_0x107b71,_0xe7abbf(_0x107b71,_0x2ae88d),_0x4b7421[_0x5e06f7(0x417)]);}['setRecordPermission'](_0x3a69b6,_0x577bf2,_0x4f9798){const _0x203f16=_0x2b8d6a;this[_0x203f16(0x473)](_0x3a69b6);let _0x27d680=_0x6cb5b2(_0x3a69b6,_0x577bf2);this[_0x203f16(0x225)][_0x203f16(0x22b)](_0x27d680,{...this[_0x203f16(0x225)][_0x203f16(0x4f0)](_0x27d680),..._0x4f9798}),this[_0x203f16(0x378)](_0x3a69b6,_0x19d6d6(_0x3a69b6,_0x577bf2),_0x4f9798[_0x203f16(0x417)]);}[_0x2b8d6a(0x5f5)](_0x3f2f30,_0xfa4ba4,_0x3f3e87){const _0x1fc182=_0x2b8d6a;this['_rememberTable'](_0x3f2f30);let _0x3589d3=_0x49ee2f(_0x3f2f30,_0xfa4ba4);this[_0x1fc182(0x40f)][_0x1fc182(0x22b)](_0x3589d3,{...this[_0x1fc182(0x40f)][_0x1fc182(0x4f0)](_0x3589d3),..._0x3f3e87}),this[_0x1fc182(0x378)](_0x3f2f30,_0x1592c3(_0x3f2f30,_0xfa4ba4),_0x3f3e87[_0x1fc182(0x417)]);}[_0x2b8d6a(0x52c)](_0x22a741){const _0x20e2e2=_0x2b8d6a;this['_basePermissions'][_0x20e2e2(0x472)](_0x22a741),_0x968a00(this['_permissionService'],_0x22a741,_0x22a741,_0x2f5c57[_0x20e2e2(0x1ce)]['Edit']);}[_0x2b8d6a(0x5c7)](_0x43563a){const _0x4d955a=_0x2b8d6a;this['_tablePermissions'][_0x4d955a(0x472)](_0x43563a),this[_0x4d955a(0x27f)](_0x43563a,_0x20afd2(_0x43563a));}[_0x2b8d6a(0x2bd)](_0x5899d2,_0x3c4746){const _0x4e27a2=_0x2b8d6a;this['_fieldPermissions'][_0x4e27a2(0x472)](_0x54c07a(_0x5899d2,_0x3c4746)),this[_0x4e27a2(0x27f)](_0x5899d2,_0xe7abbf(_0x5899d2,_0x3c4746));}['clearRecordPermission'](_0xc0168a,_0x34b0f5){const _0xd7ec7=_0x2b8d6a;this[_0xd7ec7(0x225)]['delete'](_0x6cb5b2(_0xc0168a,_0x34b0f5)),this['_clearObjectEdit'](_0xc0168a,_0x19d6d6(_0xc0168a,_0x34b0f5));}[_0x2b8d6a(0x4cb)](_0x22ba5a,_0x4a5862){const _0x114ea6=_0x2b8d6a;this[_0x114ea6(0x40f)]['delete'](_0x49ee2f(_0x22ba5a,_0x4a5862)),this[_0x114ea6(0x27f)](_0x22ba5a,_0x1592c3(_0x22ba5a,_0x4a5862));}[_0x2b8d6a(0x43e)](){const _0x30b51d=_0x2b8d6a;return{'bases':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x2d8)]),'tables':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x422)]),'fields':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x553)]),'records':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x225)]),'views':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x40f)])};}[_0x2b8d6a(0x393)](_0x5b87a0){const _0xeb8b4a=_0x2b8d6a;var _0x13e0fd;return this[_0xeb8b4a(0x41f)](_0x5b87a0,[_0x20afd2(_0x5b87a0)])&&(((_0x13e0fd=this[_0xeb8b4a(0x422)]['get'](_0x5b87a0))==null?void 0x0:_0x13e0fd['edit'])??!0x0);}[_0x2b8d6a(0x41f)](_0xe7e930,_0x304660){const _0x54d5ae=_0x2b8d6a;var _0x30d201;let _0x130994=this[_0x54d5ae(0x53f)](_0xe7e930);return!_0x130994||_0x1484ec(this[_0x54d5ae(0x20a)],_0x130994,_0x304660)&&(((_0x30d201=this[_0x54d5ae(0x2d8)]['get'](_0x130994))==null?void 0x0:_0x30d201[_0x54d5ae(0x417)])??!0x0);}[_0x2b8d6a(0x378)](_0x22a220,_0x2f9ce1,_0x45fdff){const _0x32a28d=_0x2b8d6a;if(_0x45fdff===void 0x0)return;let _0x4bf707=this[_0x32a28d(0x53f)](_0x22a220);_0x4bf707&&_0x270cb9(this['_permissionService'],_0x4bf707,_0x2f9ce1,_0x2f5c57['UnitAction'][_0x32a28d(0x241)],_0x45fdff);}[_0x2b8d6a(0x27f)](_0x594637,_0x57c1e5){const _0x2118fd=_0x2b8d6a;let _0x1de597=this[_0x2118fd(0x53f)](_0x594637);_0x1de597&&_0x968a00(this[_0x2118fd(0x20a)],_0x1de597,_0x57c1e5,_0x2f5c57[_0x2118fd(0x1ce)][_0x2118fd(0x241)]);}[_0x2b8d6a(0x53f)](_0x13fbe7){const _0x109cd1=_0x2b8d6a;var _0x48e4d1;let _0x22e06c=this[_0x109cd1(0x5d7)][_0x109cd1(0x425)](_0x13fbe7,_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)]);return _0x22e06c?_0x22e06c['getUnitId']():(_0x48e4d1=this['_instanceService']['getAllUnitsForType'](_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)])[_0x109cd1(0x22c)](_0x16a214=>!!_0x16a214[_0x109cd1(0x43e)]()['tables'][_0x13fbe7]))==null?void 0x0:_0x48e4d1[_0x109cd1(0x4c0)]();}[_0x2b8d6a(0x473)](_0x59659e){const _0x4294af=_0x2b8d6a;let _0x130d55=this[_0x4294af(0x53f)](_0x59659e);_0x130d55&&this[_0x4294af(0x246)]['set'](_0x59659e,_0x130d55);}['_clearUnit'](_0x10b5bf){const _0x33601e=_0x2b8d6a;this[_0x33601e(0x2d8)]['delete'](_0x10b5bf),this['_tableBaseIds'][_0x33601e(0x458)]((_0x22c71c,_0x51e9cf)=>{const _0x37cedf=_0x33601e;_0x22c71c===_0x10b5bf&&(this[_0x37cedf(0x422)][_0x37cedf(0x472)](_0x51e9cf),_0xa55028(this['_fieldPermissions'],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x225)],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x40f)],_0x51e9cf+'\x1f'),this[_0x37cedf(0x246)]['delete'](_0x51e9cf));});}};_0x2b795c=_0x21a541([_0x429169(0x0,_0xcf3cf2['IPermissionService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2b795c);function _0xa55028(_0x3e3b7d,_0x103e03){const _0x2e2a8e=_0x2b8d6a;_0x3e3b7d[_0x2e2a8e(0x458)]((_0xad04ea,_0x43b9c4)=>{const _0x24d7a8=_0x2e2a8e;_0x43b9c4[_0x24d7a8(0x26d)](_0x103e03)&&_0x3e3b7d[_0x24d7a8(0x472)](_0x43b9c4);});}function _0x54c07a(_0x27dfe3,_0x4464d4){return _0x27dfe3+'\x1f'+_0x4464d4;}function _0x6cb5b2(_0x34c9f2,_0x241563){return _0x34c9f2+'\x1f'+_0x241563;}function _0x49ee2f(_0x4238f0,_0x51b475){return _0x4238f0+'\x1f'+_0x51b475;}let _0x5394a2=(0x0,_0xcf3cf2['createIdentifier'])(_0x2b8d6a(0x312)),_0x1c8c77=class{constructor(_0x49a5f2,_0x27c06e=_0x208275(),_0x444407={}){const _0x25bbad=_0x2b8d6a;this[_0x25bbad(0x20a)]=_0x49a5f2,this[_0x25bbad(0x32a)]=_0x27c06e,this[_0x25bbad(0x1d9)]=_0x444407,_0x550e57(this,_0x25bbad(0x5cf),new _0x15dbb7()),_0x550e57(this,_0x25bbad(0x596),new _0x3c7454());}['createTable'](_0x28ee0f,_0x18923d,_0xa3673e){const _0x4dbe43=_0x2b8d6a;if(!this[_0x4dbe43(0x20a)][_0x4dbe43(0x380)](_0x28ee0f[_0x4dbe43(0x4c0)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x18923d),this[_0x4dbe43(0x420)](_0x28ee0f,this[_0x4dbe43(0x5cf)][_0x4dbe43(0x5f0)](_0x28ee0f[_0x4dbe43(0x43e)](),_0x18923d,_0xa3673e));}[_0x2b8d6a(0x331)](_0x7e724c,_0x10004f,_0x11b727){const _0xe38bc1=_0x2b8d6a;if(!this[_0xe38bc1(0x20a)][_0xe38bc1(0x431)](_0x10004f))throw Error(_0xe38bc1(0x5fe));this['_apply'](_0x7e724c,this[_0xe38bc1(0x5cf)][_0xe38bc1(0x331)](_0x7e724c[_0xe38bc1(0x43e)](),_0x10004f,_0x11b727));}[_0x2b8d6a(0x1f1)](_0x3c2d7d,_0x283d61){const _0x1c4c67=_0x2b8d6a;if(!this[_0x1c4c67(0x20a)]['canDeleteTable'](_0x283d61))throw Error(_0x1c4c67(0x523));let _0x136894=_0x39ea47(_0x3c2d7d['getSnapshot'](),_0x283d61);if(_0x136894[_0x1c4c67(0x3d4)]>0x0)throw Error(_0x1c4c67(0x549)+_0x136894[_0x1c4c67(0x2c4)](_0x1463dd=>_0x1463dd[_0x1c4c67(0x3e2)]+'.'+_0x1463dd[_0x1c4c67(0x580)])[_0x1c4c67(0x600)](',\x20')+').');this[_0x1c4c67(0x420)](_0x3c2d7d,this[_0x1c4c67(0x5cf)][_0x1c4c67(0x1f1)](_0x3c2d7d['getSnapshot'](),_0x283d61));}[_0x2b8d6a(0x5df)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8){const _0x251ecf=_0x2b8d6a;this[_0x251ecf(0x420)](_0x40f1f6,this[_0x251ecf(0x4dc)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8));}[_0x2b8d6a(0x536)](_0x37ff74,_0x2df6db,_0x49fc20){const _0x39b2b2=_0x2b8d6a;this['_apply'](_0x37ff74,this[_0x39b2b2(0x3cd)](_0x37ff74,_0x2df6db,_0x49fc20));}[_0x2b8d6a(0x3fb)](_0x1b192e,_0x228302,_0x3a8a6c){const _0x1762f5=_0x2b8d6a;this[_0x1762f5(0x420)](_0x1b192e,this[_0x1762f5(0x347)](_0x1b192e,_0x228302,_0x3a8a6c));}[_0x2b8d6a(0x4dc)](_0x7813b9,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b){const _0x4d458d=_0x2b8d6a;let _0x2973d1=_0x7813b9[_0x4d458d(0x43e)](),_0x1c07f1=this[_0x4d458d(0x58d)](_0x2973d1,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b),_0x291997=this[_0x4d458d(0x3eb)](_0x2973d1,_0x1762ad,_0x4aa942,{[_0x32ae71]:_0x1c07f1});return this[_0x4d458d(0x5cf)][_0x4d458d(0x536)](_0x2973d1,_0x1762ad,[_0x291997]);}['createSetRecordValuesOp'](_0x1fbcd8,_0x27978c,_0x352154){const _0x1641b7=_0x2b8d6a;let _0x2555ab=_0x1fbcd8['getSnapshot'](),_0xcafd14=_0x352154[_0x1641b7(0x2c4)](_0x391ab9=>this[_0x1641b7(0x3eb)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],{...Object[_0x1641b7(0x3a6)](Object[_0x1641b7(0x271)](_0x391ab9[_0x1641b7(0x404)])[_0x1641b7(0x2c4)](([_0x306510,_0x3c0378])=>[_0x306510,this[_0x1641b7(0x58d)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],_0x306510,_0x3c0378)]))}));return this[_0x1641b7(0x5cf)][_0x1641b7(0x536)](_0x2555ab,_0x27978c,_0xcafd14);}[_0x2b8d6a(0x347)](_0x4826c0,_0x29c466,_0x97b5bb){const _0xf1ee87=_0x2b8d6a;if(!this[_0xf1ee87(0x20a)][_0xf1ee87(0x557)](_0x29c466))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x561f56=_0x4826c0[_0xf1ee87(0x43e)](),_0x3fa95a=this[_0xf1ee87(0x23d)](_0x561f56['tables'][_0x29c466]);return this[_0xf1ee87(0x5cf)][_0xf1ee87(0x3fb)](_0x561f56,_0x29c466,this[_0xf1ee87(0x4c5)](_0x561f56,_0x29c466,_0x97b5bb,_0x3fa95a));}[_0x2b8d6a(0x493)](_0x333413,_0x22b1e5,_0x5c7859){const _0xd6c1a1=_0x2b8d6a;if(!this[_0xd6c1a1(0x20a)][_0xd6c1a1(0x557)](_0x22b1e5))throw Error(_0xd6c1a1(0x2e8));let _0x164590=_0x333413[_0xd6c1a1(0x43e)]();return _0x4baece(_0xd6c1a1(0x3c7),()=>{const _0x3adc69=_0xd6c1a1;let _0x39271e=this[_0x3adc69(0x23d)](_0x164590[_0x3adc69(0x3d7)][_0x22b1e5]);return this['_factory'][_0x3adc69(0x1cd)](_0x164590,_0x22b1e5,_0x5c7859[_0x3adc69(0x2c4)](_0x171b6f=>this[_0x3adc69(0x4c5)](_0x164590,_0x22b1e5,_0x171b6f,_0x39271e)));},{'existingRecords':Object[_0xd6c1a1(0x582)](_0x164590[_0xd6c1a1(0x3d7)][_0x22b1e5][_0xd6c1a1(0x38a)])['length'],'records':_0x5c7859['length']});}['createCreateFieldOp'](_0x126365,_0x1dd050,_0x2a66cf,_0x3c7ad5,_0x4d6d93){const _0x1796ae=_0x2b8d6a;if(!this[_0x1796ae(0x20a)][_0x1796ae(0x35b)](_0x1dd050))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x427392=_0x126365['getSnapshot']();if(this[_0x1796ae(0x2ea)](_0x427392,_0x2a66cf),_0x3c7ad5===0x0)throw Error(_0x1796ae(0x52f));let _0x2ff202=this[_0x1796ae(0x5cf)][_0x1796ae(0x3ed)](_0x427392,_0x1dd050,{'field':_0x2a66cf,'index':_0x3c7ad5,'viewIndexes':_0x4d6d93}),_0x2b5661=this['_createSystemFieldValuePatches'](_0x427392,_0x1dd050,_0x2a66cf);if(!_0x2b5661['length'])return _0x2ff202;let _0x49b870=this[_0x1796ae(0x596)][_0x1796ae(0x54e)](_0x427392,_0x2ff202);return _0x5dc19d([_0x2ff202,this[_0x1796ae(0x5cf)][_0x1796ae(0x536)](_0x49b870,_0x1dd050,_0x2b5661)]);}[_0x2b8d6a(0x44b)](_0x3ce17d,_0x53d68e,_0x2a26b0){const _0x6a1fa9=_0x2b8d6a;if(!this[_0x6a1fa9(0x20a)][_0x6a1fa9(0x598)](_0x53d68e,_0x2a26b0))throw Error(_0x6a1fa9(0x1d4));this['_apply'](_0x3ce17d,this[_0x6a1fa9(0x5cf)][_0x6a1fa9(0x44b)](_0x3ce17d[_0x6a1fa9(0x43e)](),_0x53d68e,_0x2a26b0));}['duplicateRecord'](_0x329ee9,_0x570f9a,_0x262b54,_0x2d8ffb){const _0x4fd50d=_0x2b8d6a;if(!this[_0x4fd50d(0x20a)][_0x4fd50d(0x557)](_0x570f9a))throw Error(_0x4fd50d(0x2e8));this[_0x4fd50d(0x420)](_0x329ee9,this[_0x4fd50d(0x5cf)][_0x4fd50d(0x5dd)](_0x329ee9[_0x4fd50d(0x43e)](),_0x570f9a,_0x262b54,{..._0x2d8ffb,'values':{..._0x2d8ffb[_0x4fd50d(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x2d8ffb['id']}}));}['updateRecordOrder'](_0x557a77,_0x4a8fe0,_0xad83aa,_0x2f39b5){const _0x2c1c85=_0x2b8d6a;if(!this[_0x2c1c85(0x20a)][_0x2c1c85(0x1dc)](_0x4a8fe0,_0xad83aa))throw Error(_0x2c1c85(0x44c));this[_0x2c1c85(0x420)](_0x557a77,this[_0x2c1c85(0x5cf)][_0x2c1c85(0x577)](_0x557a77[_0x2c1c85(0x43e)](),_0x4a8fe0,_0xad83aa,_0x2f39b5));}[_0x2b8d6a(0x3ed)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98){const _0x9058fe=_0x2b8d6a;this['_apply'](_0x2d7fc0,this[_0x9058fe(0x29b)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98));}[_0x2b8d6a(0x56b)](_0x8382e5,_0x309c4b,_0x4f5f51,_0x2538c3){const _0x185d30=_0x2b8d6a;var _0x4cd847;if(!this[_0x185d30(0x20a)][_0x185d30(0x2f2)](_0x309c4b,_0x4f5f51))throw Error(_0x185d30(0x440));let _0x30c735=_0x8382e5[_0x185d30(0x43e)](),_0x24291b=(_0x4cd847=_0x30c735[_0x185d30(0x3d7)][_0x309c4b])==null?void 0x0:_0x4cd847[_0x185d30(0x3b5)][_0x4f5f51];if(!_0x24291b||_0x4f5f51===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x185d30(0x4d8));this['_assertFieldDefinition'](_0x30c735,{..._0x24291b,..._0x2538c3}),this[_0x185d30(0x420)](_0x8382e5,this['_factory'][_0x185d30(0x56b)](_0x30c735,_0x309c4b,_0x4f5f51,_0x2538c3));}[_0x2b8d6a(0x319)](_0x2a7d3a,_0xbc8985,_0x19f916,_0x161434){const _0x46813f=_0x2b8d6a;var _0xb4ef2b;if(!this['_permissionService'][_0x46813f(0x2f2)](_0xbc8985,_0x19f916))throw Error(_0x46813f(0x440));let _0x3c8527=_0x2a7d3a[_0x46813f(0x43e)](),_0x2436cd=(_0xb4ef2b=_0x3c8527[_0x46813f(0x3d7)][_0xbc8985])==null?void 0x0:_0xb4ef2b['fields'][_0x19f916];if(!_0x2436cd||_0x19f916===_0xcf3cf2[_0x46813f(0x509)])throw Error(_0x46813f(0x3a5));this[_0x46813f(0x2ea)](_0x3c8527,{..._0x2436cd,..._0x161434}),this[_0x46813f(0x420)](_0x2a7d3a,this['_factory'][_0x46813f(0x319)](_0x3c8527,_0xbc8985,_0x19f916,_0x161434));}[_0x2b8d6a(0x32b)](_0x537123,_0x9b457b,_0x6c52f8){const _0x309442=_0x2b8d6a;var _0x23af3d;if(((_0x23af3d=_0x537123[_0x309442(0x43e)]()['tables'][_0x9b457b])==null?void 0x0:_0x23af3d[_0x309442(0x4b4)])===_0x6c52f8||_0x6c52f8===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x309442(0x27e));if(!this[_0x309442(0x20a)][_0x309442(0x2c6)](_0x9b457b,_0x6c52f8))throw Error(_0x309442(0x33b));this[_0x309442(0x420)](_0x537123,this[_0x309442(0x5cf)][_0x309442(0x32b)](_0x537123[_0x309442(0x43e)](),_0x9b457b,_0x6c52f8));}[_0x2b8d6a(0x21b)](_0x35ab92,_0x50bcfc,_0x5b4ffc,_0xc00f7){const _0x1d9f58=_0x2b8d6a;if(!this['_permissionService'][_0x1d9f58(0x2f2)](_0x50bcfc,_0x5b4ffc))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x5b4ffc===_0xcf3cf2[_0x1d9f58(0x509)]||_0xc00f7[_0x1d9f58(0x24d)]===_0xcf3cf2[_0x1d9f58(0x509)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x1d9f58(0x420)](_0x35ab92,this[_0x1d9f58(0x5cf)][_0x1d9f58(0x21b)](_0x35ab92[_0x1d9f58(0x43e)](),_0x50bcfc,_0x5b4ffc,_0xc00f7));}['createView'](_0x47e7b2,_0x2fe857,_0x2fb3ed,_0x1201b4){const _0x3e8333=_0x2b8d6a;if(!this[_0x3e8333(0x20a)][_0x3e8333(0x50c)](_0x2fe857,_0x2fb3ed['id']))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3e8333(0x420)](_0x47e7b2,this[_0x3e8333(0x5cf)][_0x3e8333(0x490)](_0x47e7b2[_0x3e8333(0x43e)](),_0x2fe857,_0x2fb3ed,_0x1201b4));}['renameView'](_0x5c5008,_0x2efccc,_0x28d10a,_0x259341){const _0x180d5a=_0x2b8d6a;if(!this['_permissionService'][_0x180d5a(0x50c)](_0x2efccc,_0x28d10a))throw Error(_0x180d5a(0x5c0));this[_0x180d5a(0x420)](_0x5c5008,this[_0x180d5a(0x5cf)][_0x180d5a(0x2d2)](_0x5c5008[_0x180d5a(0x43e)](),_0x2efccc,_0x28d10a,_0x259341));}['deleteView'](_0x1cb663,_0x658b59,_0x33e7ee){const _0x139a42=_0x2b8d6a;if(!this[_0x139a42(0x20a)][_0x139a42(0x50c)](_0x658b59,_0x33e7ee))throw Error(_0x139a42(0x5c0));this['_apply'](_0x1cb663,this[_0x139a42(0x5cf)]['deleteView'](_0x1cb663[_0x139a42(0x43e)](),_0x658b59,_0x33e7ee));}['moveView'](_0x347f3e,_0x213e51,_0x24605a,_0x51680d){const _0x418151=_0x2b8d6a;if(!this[_0x418151(0x20a)][_0x418151(0x50c)](_0x213e51,_0x24605a))throw Error(_0x418151(0x5c0));this['_apply'](_0x347f3e,this['_factory']['moveView'](_0x347f3e[_0x418151(0x43e)](),_0x213e51,_0x24605a,_0x51680d));}[_0x2b8d6a(0x4aa)](_0x223270,_0x22e1bc,_0x3709fb,_0x11d21e){const _0x1ff708=_0x2b8d6a;if(!this[_0x1ff708(0x20a)]['canManageView'](_0x22e1bc,_0x3709fb))throw Error(_0x1ff708(0x5c0));this[_0x1ff708(0x420)](_0x223270,this[_0x1ff708(0x5cf)][_0x1ff708(0x4aa)](_0x223270[_0x1ff708(0x43e)](),_0x22e1bc,_0x3709fb,_0x11d21e));}[_0x2b8d6a(0x5b9)](_0x3c2efc,_0x1f0177,_0x7a16a,_0x462384){const _0x32c7d2=_0x2b8d6a;if(!this[_0x32c7d2(0x20a)][_0x32c7d2(0x50c)](_0x1f0177,_0x7a16a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x32c7d2(0x420)](_0x3c2efc,this[_0x32c7d2(0x5cf)][_0x32c7d2(0x5b9)](_0x3c2efc[_0x32c7d2(0x43e)](),_0x1f0177,_0x7a16a,_0x462384));}[_0x2b8d6a(0x43a)](_0x69a228,_0x57da2b,_0x123909,_0xa4227e){const _0x3eae1f=_0x2b8d6a;if(!this[_0x3eae1f(0x20a)][_0x3eae1f(0x50c)](_0x57da2b,_0x123909))throw Error(_0x3eae1f(0x5c0));this[_0x3eae1f(0x420)](_0x69a228,this[_0x3eae1f(0x5cf)][_0x3eae1f(0x43a)](_0x69a228['getSnapshot'](),_0x57da2b,_0x123909,_0xa4227e));}[_0x2b8d6a(0x273)](_0x502351,_0x3755dc,_0x2a41b1,_0x2157e6){const _0x24bed7=_0x2b8d6a;if(!this[_0x24bed7(0x20a)][_0x24bed7(0x50c)](_0x3755dc,_0x2a41b1))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x502351,this[_0x24bed7(0x5cf)][_0x24bed7(0x273)](_0x502351['getSnapshot'](),_0x3755dc,_0x2a41b1,_0x2157e6));}[_0x2b8d6a(0x1c5)](_0x4167f7,_0x203b29,_0x283641,_0x402e30,_0x2fc567){const _0x2fde02=_0x2b8d6a;if(!this['_permissionService']['canManageView'](_0x203b29,_0x283641))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2fde02(0x420)](_0x4167f7,this['_factory'][_0x2fde02(0x1c5)](_0x4167f7[_0x2fde02(0x43e)](),_0x203b29,_0x283641,_0x402e30,_0x2fc567));}['setViewFieldWidth'](_0x7fd5d2,_0x421f0f,_0x43be28,_0x5d9051,_0x388caf){const _0x2ee290=_0x2b8d6a;if(!this[_0x2ee290(0x20a)]['canManageView'](_0x421f0f,_0x43be28))throw Error(_0x2ee290(0x5c0));this[_0x2ee290(0x420)](_0x7fd5d2,this[_0x2ee290(0x5cf)][_0x2ee290(0x50b)](_0x7fd5d2[_0x2ee290(0x43e)](),_0x421f0f,_0x43be28,_0x5d9051,_0x388caf));}['setViewFieldOrder'](_0x3b62df,_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5){const _0x2ac7eb=_0x2b8d6a;if(!this[_0x2ac7eb(0x20a)][_0x2ac7eb(0x50c)](_0x374967,_0x5c5470))throw Error(_0x2ac7eb(0x5c0));this[_0x2ac7eb(0x420)](_0x3b62df,this['_factory'][_0x2ac7eb(0x56f)](_0x3b62df['getSnapshot'](),_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5));}[_0x2b8d6a(0x420)](_0x3b6498,_0x312b58){const _0x29f078=_0x2b8d6a;let _0x546b13=_0x3b6498[_0x29f078(0x43e)]();_0x3b6498[_0x29f078(0x268)](this['_applier']['applyOp'](_0x546b13,_0x312b58));}[_0x2b8d6a(0x4c5)](_0x3fab17,_0x36ef42,_0x177f0a,_0x3e534e=this[_0x2b8d6a(0x23d)](_0x3fab17[_0x2b8d6a(0x3d7)][_0x36ef42])){const _0x188897=_0x2b8d6a;let _0x144888=_0x3fab17[_0x188897(0x3d7)][_0x36ef42],_0x4b57de=_0x177f0a[_0x188897(0x579)]??_0x177f0a[_0x188897(0x349)]??this[_0x188897(0x243)](),_0x37971a={..._0x177f0a,'createdBy':_0x177f0a[_0x188897(0x579)]??_0x4b57de,'updatedBy':_0x177f0a[_0x188897(0x349)]??_0x4b57de,'values':{..._0x177f0a['values']}};return _0x37971a[_0x188897(0x404)][_0xcf3cf2[_0x188897(0x509)]]=_0x37971a['id'],_0x144888[_0x188897(0x4ab)][_0x188897(0x458)](_0x57ea69=>{const _0x59b6a6=_0x188897;let _0x39a04d=_0x144888[_0x59b6a6(0x3b5)][_0x57ea69];if(_0x39a04d&&_0x37971a[_0x59b6a6(0x404)][_0x57ea69]===void 0x0)switch(_0x39a04d[_0x59b6a6(0x1cc)]){case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x5c1)]:var _0x2cf432;_0x37971a['values'][_0x57ea69]=((_0x2cf432=_0x3e534e[_0x59b6a6(0x4f0)](_0x57ea69))==null?void 0x0:_0x2cf432())??this[_0x59b6a6(0x589)](_0x144888,_0x57ea69)();break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x34f)]:_0x37971a['createdBy']&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a[_0x59b6a6(0x579)]);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x3b4)]:_0x37971a[_0x59b6a6(0x349)]&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a['updatedBy']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x413)]:_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x7aca16(_0x37971a['createdAt']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x305)]:_0x37971a['values'][_0x57ea69]=_0x7aca16(_0x37971a['updatedAt']);break;default:{let _0x897d1c=_0x39a04d[_0x59b6a6(0x334)];_0x897d1c!=null&&_0x897d1c!==''&&!(Array[_0x59b6a6(0x2a1)](_0x897d1c)&&_0x897d1c['length']===0x0)&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x897d1c);}}}),_0x37971a;}['_withModifiedSystemValues'](_0x4cb35c,_0x1162d3,_0x2852ce,_0x420865){const _0x3e9896=_0x2b8d6a;var _0x420e1c,_0x3658c6;let _0x68b725=_0x4cb35c[_0x3e9896(0x3d7)][_0x1162d3],_0x190113=((_0x420e1c=(_0x3658c6=this[_0x3e9896(0x1d9)])['now'])==null?void 0x0:_0x420e1c[_0x3e9896(0x29f)](_0x3658c6))??Date[_0x3e9896(0x208)](),_0x5c19af=this[_0x3e9896(0x243)](),_0x5221e4={..._0x420865};return _0x68b725[_0x3e9896(0x4ab)][_0x3e9896(0x458)](_0x10b852=>{const _0x5194f5=_0x3e9896;let _0x1e73d4=_0x68b725[_0x5194f5(0x3b5)][_0x10b852];_0x1e73d4&&(_0x1e73d4['type']===_0xcf3cf2['BaseFieldType'][_0x5194f5(0x305)]&&(_0x5221e4[_0x10b852]=_0x7aca16(_0x190113)),_0x1e73d4['type']===_0xcf3cf2[_0x5194f5(0x435)][_0x5194f5(0x3b4)]&&_0x5c19af&&(_0x5221e4[_0x10b852]=_0x5c19af));}),{'recordId':_0x2852ce,'values':_0x5221e4,'recordPatch':{'updatedAt':_0x190113,..._0x5c19af?{'updatedBy':_0x5c19af}:{}}};}[_0x2b8d6a(0x29d)](_0x3a4c02,_0x3335ae,_0x4059fb){const _0x4b3fb2=_0x2b8d6a;let _0x17f479=_0x3a4c02[_0x4b3fb2(0x3d7)][_0x3335ae];return!_0x17f479||!_0x423494(_0x4059fb)?[]:_0x4059fb[_0x4b3fb2(0x1cc)]===_0xcf3cf2[_0x4b3fb2(0x435)][_0x4b3fb2(0x5c1)]?this['_createNumberingFieldValuePatches'](_0x17f479,_0x4059fb['id']):Object['values'](_0x17f479[_0x4b3fb2(0x38a)])[_0x4b3fb2(0x5d0)](_0x1e487f=>{const _0x5f2e5a=_0x4b3fb2;let _0x5cb854=this[_0x5f2e5a(0x373)](_0x4059fb,_0x1e487f);return _0x5cb854===void 0x0?[]:[{'recordId':_0x1e487f['id'],'values':{[_0x4059fb['id']]:_0x5cb854}}];});}[_0x2b8d6a(0x373)](_0x72abd0,_0x198615){const _0x2d25d1=_0x2b8d6a;switch(_0x72abd0[_0x2d25d1(0x1cc)]){case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x34f)]:return _0x198615['createdBy']??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x3b4)]:return _0x198615[_0x2d25d1(0x349)]??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x413)]:return _0x7aca16(_0x198615[_0x2d25d1(0x562)]??Date['now']());case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x305)]:return _0x7aca16(_0x198615[_0x2d25d1(0x5b8)]??Date[_0x2d25d1(0x208)]());default:return;}}[_0x2b8d6a(0x23d)](_0x5cf8a2){const _0x28ddd0=_0x2b8d6a;let _0x11da88=new Map();return _0x5cf8a2&&_0x5cf8a2[_0x28ddd0(0x4ab)][_0x28ddd0(0x458)](_0x2b451d=>{const _0x3e3e86=_0x28ddd0;let _0x132284=_0x5cf8a2[_0x3e3e86(0x3b5)][_0x2b451d];(_0x132284==null?void 0x0:_0x132284[_0x3e3e86(0x1cc)])===_0xcf3cf2[_0x3e3e86(0x435)][_0x3e3e86(0x5c1)]&&_0x11da88[_0x3e3e86(0x22b)](_0x2b451d,this[_0x3e3e86(0x589)](_0x5cf8a2,_0x2b451d));}),_0x11da88;}[_0x2b8d6a(0x589)](_0xa8512,_0x2bc752){const _0x17096f=_0x2b8d6a;let _0x58a213=Object[_0x17096f(0x404)](_0xa8512[_0x17096f(0x38a)])[_0x17096f(0x23b)]((_0x45d0a1,_0x95b08f)=>{const _0x5b5149=_0x17096f;let _0x45d740=Number(_0x95b08f[_0x5b5149(0x404)][_0x2bc752]);return Number['isFinite'](_0x45d740)?Math[_0x5b5149(0x591)](_0x45d0a1,_0x45d740):_0x45d0a1;},0x0);return()=>String(++_0x58a213);}[_0x2b8d6a(0x2ba)](_0x5cf3a1,_0x1261c6){const _0x15b898=_0x2b8d6a;let _0x847a47=this[_0x15b898(0x3f9)](_0x5cf3a1),_0x37a07c=this['_createNumberingAllocator'](_0x5cf3a1,_0x1261c6);return _0x847a47[_0x15b898(0x5d0)](_0x281103=>this['_isNonEmptyCellValue'](_0x281103[_0x15b898(0x404)][_0x1261c6])?[]:[{'recordId':_0x281103['id'],'values':{[_0x1261c6]:_0x37a07c()}}]);}['_getOrderedRecords'](_0x258db2){const _0x38ae97=_0x2b8d6a;var _0x5c4d1d;let _0x55f06a=Object[_0x38ae97(0x404)](_0x258db2[_0x38ae97(0x38a)]),_0x54edf6=new Map(_0x55f06a[_0x38ae97(0x2c4)](_0x30cd27=>[_0x30cd27['id'],_0x30cd27])),_0x4cb4f4=[],_0x25ea74=new Set();(_0x5c4d1d=_0x258db2[_0x38ae97(0x5ab)])==null||_0x5c4d1d['forEach'](_0x17c08e=>{const _0x352699=_0x38ae97;let _0x2d8705=_0x54edf6[_0x352699(0x4f0)](_0x17c08e);_0x2d8705&&(_0x4cb4f4['push'](_0x2d8705),_0x25ea74[_0x352699(0x1d6)](_0x17c08e));});let _0x333a97=_0x55f06a[_0x38ae97(0x355)](_0x882cb4=>!_0x25ea74['has'](_0x882cb4['id']))[_0x38ae97(0x24e)]((_0x1d7de3,_0x30c006)=>String(_0x1d7de3[_0x38ae97(0x340)]??_0x1d7de3['id'])[_0x38ae97(0x1f9)](String(_0x30c006[_0x38ae97(0x340)]??_0x30c006['id']))||_0x1d7de3['id'][_0x38ae97(0x1f9)](_0x30c006['id']));return[..._0x4cb4f4,..._0x333a97];}[_0x2b8d6a(0x4d0)](_0x5eb90f){const _0x49b636=_0x2b8d6a;return _0x5eb90f!=null&&_0x5eb90f!==''&&!(Array[_0x49b636(0x2a1)](_0x5eb90f)&&_0x5eb90f[_0x49b636(0x3d4)]===0x0);}[_0x2b8d6a(0x243)](){const _0x3e7581=_0x2b8d6a;var _0x1566a5,_0x43274e,_0x24ba78,_0x4bdd20;return((_0x1566a5=(_0x43274e=this[_0x3e7581(0x1d9)])[_0x3e7581(0x351)])==null?void 0x0:_0x1566a5[_0x3e7581(0x29f)](_0x43274e))??((_0x24ba78=(_0x4bdd20=this[_0x3e7581(0x1d9)])[_0x3e7581(0x44e)])==null||(_0x24ba78=_0x24ba78[_0x3e7581(0x29f)](_0x4bdd20))==null?void 0x0:_0x24ba78['userID'])??void 0x0;}[_0x2b8d6a(0x58d)](_0x95bff0,_0x46af50,_0x4cb3dc,_0x235af4,_0x2079a9){const _0x595eca=_0x2b8d6a;var _0x51ab5c;if(!this['_permissionService']['canEditCell'](_0x46af50,_0x4cb3dc,_0x235af4))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x30a224=(_0x51ab5c=_0x95bff0[_0x595eca(0x3d7)][_0x46af50])==null?void 0x0:_0x51ab5c[_0x595eca(0x3b5)][_0x235af4];if(!_0x30a224)throw Error(_0x595eca(0x585)+_0x235af4+_0x595eca(0x294));let _0x28e837=this[_0x595eca(0x32a)][_0x595eca(0x4f0)](_0x30a224[_0x595eca(0x1cc)]);if(_0x30a224[_0x595eca(0x30e)]||_0x30a224[_0x595eca(0x27a)]||!_0x28e837['getCapabilities'](_0x30a224)[_0x595eca(0x57b)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x5e3d56=_0x28e837['normalize'](_0x2079a9,_0x30a224),_0x2d55f2=_0x28e837[_0x595eca(0x3af)](_0x5e3d56,_0x30a224);if(!_0x2d55f2[_0x595eca(0x47d)])throw Error(_0x2d55f2[_0x595eca(0x2e7)]??_0x595eca(0x338));let _0x3f9a2e=_0x30a224['type']===_0xcf3cf2[_0x595eca(0x435)]['RecordLink']?_0x3bd7ca(_0x95bff0,_0x30a224,_0x5e3d56):{'valid':!0x0};if(!_0x3f9a2e[_0x595eca(0x47d)])throw Error(_0x3f9a2e[_0x595eca(0x2e7)]??_0x595eca(0x4b2));return _0x5e3d56;}[_0x2b8d6a(0x2ea)](_0x33cca9,_0x167309){const _0xcd5d4e=_0x2b8d6a;if(_0x167309['id']===_0xcf3cf2[_0xcd5d4e(0x509)]||_0x167309['type']===_0xcf3cf2[_0xcd5d4e(0x435)][_0xcd5d4e(0x46d)]||(0x0,_0xcf3cf2[_0xcd5d4e(0x318)])(_0x167309[_0xcd5d4e(0x456)]))throw Error(_0xcd5d4e(0x36a));let _0x254569=_0x3f95e1(_0x33cca9,_0x167309);if(!_0x254569[_0xcd5d4e(0x47d)])throw Error(_0x254569[_0xcd5d4e(0x2e7)]??_0xcd5d4e(0x3ba));}};_0x1c8c77=_0x21a541([_0x429169(0x0,_0x2d44c2),_0x429169(0x1,_0x3dec17)],_0x1c8c77);function _0x208275(){const _0x3e7393=_0x2b8d6a;let _0x13e1dc=new _0x4d1e59();return _0x20ee48()['forEach'](_0x35c04f=>_0x13e1dc[_0x3e7393(0x3c3)](_0x35c04f)),_0x13e1dc;}function _0x423494(_0x283f8e){const _0x5239d0=_0x2b8d6a;return _0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['Numbering']||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['CreatedBy']||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x3b4)]||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x413)]||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x305)];}let _0xc71b6a=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x455)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]);function _0xb8c8b0(_0x333863){const _0x53d73d=_0x2b8d6a;let _0x307b6c=_0x333863[_0x53d73d(0x3b5)][_0x333863['primaryFieldId']];if((!_0x307b6c||_0x307b6c[_0x53d73d(0x27a)]!==!0x0&&_0x307b6c['id']['toLowerCase']()!=='id'&&_0x307b6c[_0x53d73d(0x456)][_0x53d73d(0x479)]()[_0x53d73d(0x402)]()!=='id')&&_0x307b6c)return _0x307b6c['id'];for(let _0x1f9d22 of _0x333863[_0x53d73d(0x4ab)]){let _0x5f4681=_0x333863[_0x53d73d(0x3b5)][_0x1f9d22];if(_0x5f4681&&_0x5f4681['id']!==_0x333863['primaryFieldId']&&_0x5f4681[_0x53d73d(0x27a)]!==!0x0&&_0x5f4681[_0x53d73d(0x1cc)]!==_0xcf3cf2[_0x53d73d(0x435)][_0x53d73d(0x46d)])return _0x5f4681['id'];}return _0x333863['primaryFieldId'];}function _0x47838f(_0x5740fa,_0x3ff577=[],_0x35c1e9=0x5){const _0x16a491=_0x2b8d6a;let _0xf07967=new Set(_0x3ff577[_0x16a491(0x355)](_0x30f414=>!!_0x30f414)),_0x2a62b2=[],_0x5b2510=[];for(let _0x29321f of _0x5740fa['fieldOrder']){let _0x341641=_0x5740fa['fields'][_0x29321f];_0x341641&&_0x341641[_0x16a491(0x27a)]!==!0x0&&_0x341641[_0x16a491(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x16a491(0x46d)]&&!_0xf07967[_0x16a491(0x244)](_0x341641['id'])&&(_0xc71b6a[_0x16a491(0x244)](_0x341641[_0x16a491(0x1cc)])?_0x2a62b2:_0x5b2510)[_0x16a491(0x309)](_0x341641['id']);}return[..._0x2a62b2,..._0x5b2510][_0x16a491(0x3de)](0x0,_0x35c1e9);}function _0x43edf4(){const _0x39d260=_0x2b8d6a;return[{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x372)],'i18nKey':_0x39d260(0x4bb),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1e3eff=_0x39d260;throw Error(_0x1e3eff(0x2d0));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)][_0x39d260(0x453)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x552c3d=>{const _0x2af832=_0x39d260;let _0x1a3ff9=_0x1336d3(_0x552c3d);return{'groupFieldId':_0x1a3ff9,'coverFieldId':null,'cardLayout':_0x2af832(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x552c3d[_0x2af832(0x4b4)],'fieldIds':_0x47838f(_0x552c3d,[_0x552c3d[_0x2af832(0x4b4)],_0x1a3ff9])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x48a3b6=_0x39d260;throw Error(_0x48a3b6(0x5e7));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x1e0)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0xaa10c9=>{const _0x240819=_0x39d260;let _0x5cae84=_0x306e49(_0xaa10c9);return{'startDateFieldId':_0x5cae84,'endDateFieldId':_0x2f06ae(_0xaa10c9,_0x5cae84),'titleFieldId':_0xaa10c9[_0x240819(0x4b4)],'mode':'month','timeslotSize':_0x240819(0x590),'timeZone':'local','displayColor':{'type':'custom','color':_0x240819(0x28c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x538cb5=_0x39d260;throw Error(_0x538cb5(0x454));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x228)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x304575=>{const _0x25184=_0x39d260;let _0x55cdcd=_0x306e49(_0x304575);return{'startDateFieldId':_0x55cdcd,'endDateFieldId':_0x2f06ae(_0x304575,_0x55cdcd)??_0x55cdcd,'titleFieldId':_0x304575['primaryFieldId'],'scale':_0x25184(0x599),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2d2b97=_0x39d260;throw Error(_0x2d2b97(0x280));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x711f07=>{const _0x3584f7=_0x39d260;let _0x172266=_0xb8c8b0(_0x711f07);return{'coverFieldId':null,'cardLayout':_0x3584f7(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x172266,'coverFieldId':null,'fieldIds':_0x47838f(_0x711f07,[_0x172266,_0x711f07[_0x3584f7(0x4b4)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x1336d3(_0xac2c51){const _0x584adb=_0x2b8d6a;var _0x45a393,_0x3ed911,_0x58004b;let _0x1e49ee=_0xac2c51['fieldOrder'][_0x584adb(0x2c4)](_0xd12532=>_0xac2c51[_0x584adb(0x3b5)][_0xd12532])[_0x584adb(0x355)](_0x20ea4c=>!!_0x20ea4c);return((_0x45a393=_0x1e49ee['find'](_0x4d18bd=>_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2e3)]||_0x4d18bd['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x336)]||_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['Group']))==null?void 0x0:_0x45a393['id'])??((_0x3ed911=_0x1e49ee[_0x584adb(0x22c)](_0x5195ff=>_0x5195ff[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x220)]))==null?void 0x0:_0x3ed911['id'])??((_0x58004b=_0x1e49ee[_0x584adb(0x22c)](_0x47c2a2=>_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2d9)]||_0x47c2a2['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x413)]||_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['UpdatedAt']))==null?void 0x0:_0x58004b['id'])??_0xac2c51[_0x584adb(0x4b4)];}function _0x306e49(_0x1f1eb0){const _0x2635ab=_0x2b8d6a;var _0x5def3f;return((_0x5def3f=_0x1f1eb0[_0x2635ab(0x4ab)][_0x2635ab(0x2c4)](_0x26caa5=>_0x1f1eb0['fields'][_0x26caa5])[_0x2635ab(0x22c)](_0x4bf00a))==null?void 0x0:_0x5def3f['id'])??'';}function _0x2f06ae(_0x37bbf4,_0x28b17f){const _0xf6cb44=_0x2b8d6a;var _0x1f0114;return(_0x1f0114=_0x37bbf4[_0xf6cb44(0x4ab)][_0xf6cb44(0x2c4)](_0x524890=>_0x37bbf4[_0xf6cb44(0x3b5)][_0x524890])[_0xf6cb44(0x22c)](_0x38f6e3=>_0x4bf00a(_0x38f6e3)&&_0x38f6e3['id']!==_0x28b17f))==null?void 0x0:_0x1f0114['id'];}function _0x4bf00a(_0x465a36){const _0x4a4c75=_0x2b8d6a;return!!_0x465a36&&_0x465a36[_0x4a4c75(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x4a4c75(0x2d9)]&&_0x465a36['readonly']!==!0x0&&_0x465a36['system']!==!0x0;}let _0x5e90db=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4c4)),_0x17654f=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2['BaseFieldType']['Progress'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)]['Date'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x413)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x305)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]),_0x4f4166=0x5265c00,_0x270515=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x1feba6){const _0x253f50=_0x2b8d6a;super(),this[_0x253f50(0x32a)]=_0x1feba6,_0x550e57(this,'_views',new Map()),_0x550e57(this,_0x253f50(0x572),new WeakMap()),_0x550e57(this,_0x253f50(0x38e),new Map()),_0x550e57(this,'_projectedViewRowsCache',new Map()),_0x550e57(this,_0x253f50(0x529),new Map()),_0x550e57(this,_0x253f50(0x25a),new Map()),_0x550e57(this,_0x253f50(0x3aa),0x0),_0x550e57(this,_0x253f50(0x31d),new Map()),_0x550e57(this,'_cellRevisions',new Map()),_0x550e57(this,'_cellInvalidations',new Map()),_0x550e57(this,_0x253f50(0x1ef),new Map());}[_0x2b8d6a(0x467)](_0x5b99b3){const _0x12546e=_0x2b8d6a;return this[_0x12546e(0x1c7)][_0x12546e(0x22b)](_0x5b99b3[_0x12546e(0x1cc)],_0x5b99b3),(0x0,_0xcf3cf2['toDisposable'])(()=>this[_0x12546e(0x1c7)][_0x12546e(0x472)](_0x5b99b3[_0x12546e(0x1cc)]));}['getProjection'](_0x4b2864,_0x441f69,_0x586f1a){const _0x2e9be0=_0x2b8d6a;var _0x811fe2,_0x52a4a7,_0x5e3890;return _0x4baece(_0x2e9be0(0x2e0),()=>{const _0x5b48a8=_0x2e9be0;let _0x56f7c6=this[_0x5b48a8(0x28b)](_0x4b2864,_0x441f69,_0x586f1a);if(_0x56f7c6)return _0x56f7c6;let _0x393d42=_0x4b2864[_0x5b48a8(0x3d7)][_0x441f69],_0x82e705=_0x393d42==null?void 0x0:_0x393d42[_0x5b48a8(0x2e4)][_0x586f1a];if(!_0x393d42||!_0x82e705)return this['_setCachedProjection'](_0x4b2864,_0x441f69,_0x586f1a,{'type':'invalid','viewType':(_0x82e705==null?void 0x0:_0x82e705[_0x5b48a8(0x1cc)])??_0xcf3cf2[_0x5b48a8(0x3c8)]['Grid'],'reason':'missingField'});let _0x5c8dde;switch(_0x82e705['type']){case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x372)]:_0x5c8dde=this[_0x5b48a8(0x41c)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x228)]:_0x5c8dde=this[_0x5b48a8(0x345)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)]['Kanban']:_0x5c8dde=this[_0x5b48a8(0x3e1)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x1e0)]:_0x5c8dde=this[_0x5b48a8(0x398)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x31f)]:_0x5c8dde=this[_0x5b48a8(0x59f)](_0x393d42,_0x82e705);break;default:_0x5c8dde={'type':'invalid','viewType':_0x82e705[_0x5b48a8(0x1cc)],'reason':_0x5b48a8(0x2ce)};}return this[_0x5b48a8(0x5b7)](_0x4b2864,_0x441f69,_0x586f1a,_0x5c8dde);},{'tableId':_0x441f69,'viewId':_0x586f1a,'viewType':(_0x811fe2=_0x4b2864['tables'][_0x441f69])==null||(_0x811fe2=_0x811fe2['views'][_0x586f1a])==null?void 0x0:_0x811fe2[_0x2e9be0(0x1cc)],'records':((_0x52a4a7=_0x4b2864[_0x2e9be0(0x3d7)][_0x441f69])==null||(_0x52a4a7=_0x52a4a7[_0x2e9be0(0x5ab)])==null?void 0x0:_0x52a4a7[_0x2e9be0(0x3d4)])??Object[_0x2e9be0(0x582)](((_0x5e3890=_0x4b2864['tables'][_0x441f69])==null?void 0x0:_0x5e3890[_0x2e9be0(0x38a)])??{})[_0x2e9be0(0x3d4)]});}['repairViewConfig'](_0xa0ebda,_0x1a1fee,_0x3595f7){const _0x9867c8=_0x2b8d6a;var _0x966ca7,_0x1aaa84,_0x3b248a;let _0x1cf3e3=_0xa0ebda[_0x9867c8(0x3d7)][_0x1a1fee],_0x10d857=_0x1cf3e3==null?void 0x0:_0x1cf3e3['views'][_0x3595f7];if(!_0x1cf3e3||!_0x10d857)throw Error(_0x9867c8(0x424)+_0x3595f7+'\x22.');let _0x3c5fb3=_0x3a58de=>!!_0x1cf3e3[_0x9867c8(0x3b5)][_0x3a58de],_0x56d503={..._0x10d857,'filter':_0x10d857[_0x9867c8(0x355)]?{..._0x10d857[_0x9867c8(0x355)],'conditions':_0x10d857[_0x9867c8(0x355)][_0x9867c8(0x4ef)]['filter'](_0x3de84e=>_0x3c5fb3(_0x3de84e[_0x9867c8(0x580)]))}:_0x10d857[_0x9867c8(0x355)],'sort':(_0x966ca7=_0x10d857[_0x9867c8(0x24e)])==null?void 0x0:_0x966ca7[_0x9867c8(0x355)](_0x21b929=>_0x3c5fb3(_0x21b929[_0x9867c8(0x580)])),'group':(_0x1aaa84=_0x10d857[_0x9867c8(0x484)])==null?void 0x0:_0x1aaa84[_0x9867c8(0x355)](_0x5f405c=>_0x3c5fb3(_0x5f405c[_0x9867c8(0x580)])),'fieldOrder':(_0x3b248a=_0x10d857[_0x9867c8(0x4ab)])==null?void 0x0:_0x3b248a['filter'](_0x3c5fb3),'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x10d857[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x25d7cf])=>_0x3c5fb3(_0x25d7cf)))};if(_0x56d503[_0x9867c8(0x1cc)]===_0x9867c8(0x57a)){var _0x498dd7;let _0x3b91d9=_0x56d503[_0x9867c8(0x5a3)]??{},_0x491d62=this[_0x9867c8(0x5d8)](_0x1cf3e3,_0x56d503),_0xf49868=this['_resolveCardTitleFieldId'](_0x1cf3e3,(_0x498dd7=_0x3b91d9[_0x9867c8(0x367)])==null?void 0x0:_0x498dd7[_0x9867c8(0x4cf)]);_0x56d503['config']={..._0x3b91d9,'groupFieldId':_0x491d62??_0x3b91d9[_0x9867c8(0x259)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x1cf3e3,_0x3b91d9),'cardLayout':_0x3b91d9[_0x9867c8(0x307)]===_0x9867c8(0x4b7)?_0x9867c8(0x4b7):'normal','showFieldNames':_0x3b91d9[_0x9867c8(0x524)]!==!0x1,'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x3b91d9[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x317362])=>_0x3c5fb3(_0x317362))),'columnSettings':_0x3b91d9[_0x9867c8(0x2d4)]??{},'card':{..._0x3b91d9[_0x9867c8(0x367)]??{},'titleFieldId':_0xf49868,'fieldIds':this[_0x9867c8(0x30a)](_0x1cf3e3,_0x56d503,_0x491d62??'',_0xf49868)}};}return{'repaired':JSON['stringify'](_0x56d503)!==JSON[_0x9867c8(0x322)](_0x10d857),'view':_0x56d503};}[_0x2b8d6a(0x498)](){const _0x1aa2b4=_0x2b8d6a;this[_0x1aa2b4(0x3aa)]++;}['invalidateByCell'](_0x3e529a,_0x1f705b,_0x319679){const _0x1751a2=_0x2b8d6a;let _0x4227d9=this[_0x1751a2(0x559)](_0x3e529a)+0x1;this[_0x1751a2(0x505)][_0x1751a2(0x22b)](_0x3e529a,_0x4227d9);let _0x4c2b81=this[_0x1751a2(0x49d)][_0x1751a2(0x4f0)](_0x3e529a)??[];_0x4c2b81['push']({'revision':_0x4227d9,'recordId':_0x1f705b,'fieldId':_0x319679}),this[_0x1751a2(0x49d)][_0x1751a2(0x22b)](_0x3e529a,_0x4c2b81);}['invalidateByField'](_0x5d0c9b,_0x474e8e){const _0xda0777=_0x2b8d6a;this[_0xda0777(0x25f)](_0x5d0c9b);}['invalidateByView'](_0x7fcd7c,_0x38a1a9){const _0xbb5953=_0x2b8d6a;this[_0xbb5953(0x1ef)][_0xbb5953(0x22b)](this['_viewRevisionKey'](_0x7fcd7c,_0x38a1a9),this[_0xbb5953(0x59e)](_0x7fcd7c,_0x38a1a9)+0x1);}[_0x2b8d6a(0x28b)](_0x392997,_0xb7d01a,_0x30a218){const _0x2afbb1=_0x2b8d6a;var _0x4c5a5d;let _0x3b8c78=(_0x4c5a5d=this[_0x2afbb1(0x572)][_0x2afbb1(0x4f0)](_0x392997))==null?void 0x0:_0x4c5a5d[_0x2afbb1(0x4f0)](this[_0x2afbb1(0x1db)](_0xb7d01a,_0x30a218));return _0x3b8c78&&_0x3b8c78[_0x2afbb1(0x261)]===this[_0x2afbb1(0x3aa)]&&_0x3b8c78[_0x2afbb1(0x211)]===this[_0x2afbb1(0x5e2)](_0xb7d01a)&&_0x3b8c78[_0x2afbb1(0x5e5)]===this[_0x2afbb1(0x559)](_0xb7d01a)&&_0x3b8c78['viewRevision']===this[_0x2afbb1(0x59e)](_0xb7d01a,_0x30a218)?_0x3b8c78[_0x2afbb1(0x538)]:null;}[_0x2b8d6a(0x5b7)](_0x2d0c29,_0x146601,_0xcc3183,_0x1c25a2){const _0x472a10=_0x2b8d6a;let _0x165717=this[_0x472a10(0x572)]['get'](_0x2d0c29);return _0x165717||(_0x165717=new Map(),this[_0x472a10(0x572)]['set'](_0x2d0c29,_0x165717)),_0x165717[_0x472a10(0x22b)](this[_0x472a10(0x1db)](_0x146601,_0xcc3183),{'projection':_0x1c25a2,'globalRevision':this[_0x472a10(0x3aa)],'tableRevision':this['_getTableRevision'](_0x146601),'cellRevision':this['_getCellRevision'](_0x146601),'viewRevision':this[_0x472a10(0x59e)](_0x146601,_0xcc3183)}),_0x1c25a2;}['_bumpTableRevision'](_0x547fee){const _0x2486bc=_0x2b8d6a;this[_0x2486bc(0x31d)]['set'](_0x547fee,this[_0x2486bc(0x5e2)](_0x547fee)+0x1);}[_0x2b8d6a(0x5e2)](_0x4fd0c1){const _0x37e35a=_0x2b8d6a;return this[_0x37e35a(0x31d)][_0x37e35a(0x4f0)](_0x4fd0c1)??0x0;}[_0x2b8d6a(0x559)](_0x545871){const _0x597938=_0x2b8d6a;return this[_0x597938(0x505)][_0x597938(0x4f0)](_0x545871)??0x0;}[_0x2b8d6a(0x59e)](_0x396e27,_0x27d652){const _0x3ca311=_0x2b8d6a;return this[_0x3ca311(0x1ef)][_0x3ca311(0x4f0)](this[_0x3ca311(0x500)](_0x396e27,_0x27d652))??0x0;}[_0x2b8d6a(0x1db)](_0x3eef5e,_0x131fb7){return _0x3eef5e+'\x00'+_0x131fb7;}[_0x2b8d6a(0x5b0)](_0x52a34c,_0x5d9dda){const _0x41bb2a=_0x2b8d6a;return _0x52a34c+'\x00'+this[_0x41bb2a(0x5fb)](_0x5d9dda);}[_0x2b8d6a(0x341)](_0x2adbeb,_0x1188d8,_0x3bff2a){const _0x288e52=_0x2b8d6a;return _0x2adbeb+'\x00'+this[_0x288e52(0x5fb)](_0x1188d8)+'\x00'+this[_0x288e52(0x1ee)](_0x3bff2a);}[_0x2b8d6a(0x5fb)](_0x429659){const _0x5ccdc5=_0x2b8d6a;return _0x429659?_0x1776c9({'filter':_0x5ddb6f(_0x429659['filter']),'sort':_0x16dfff(_0x429659['sort'])}):_0x5ccdc5(0x452);}[_0x2b8d6a(0x1ee)](_0x4207ec){const _0x5ecfbc=_0x2b8d6a;return _0x1776c9(_0x4207ec[_0x5ecfbc(0x2c4)](_0x38f6d7=>({'fieldId':_0x38f6d7[_0x5ecfbc(0x580)],'direction':_0x38f6d7[_0x5ecfbc(0x41d)]??null})));}['_viewRevisionKey'](_0x3f2482,_0x3ddbd0){return _0x3f2482+'\x00'+_0x3ddbd0;}[_0x2b8d6a(0x41c)](_0x422a6a,_0x4e3f4b){const _0x340558=_0x2b8d6a;var _0x1de354;let _0x25635e=_0x4f5050(_0x422a6a),_0x315f2b=this[_0x340558(0x40e)](_0x422a6a,_0x4e3f4b),_0x59e500=(_0x1de354=_0x4e3f4b['filter'])!=null&&_0x1de354['conditions']['length']?this['_projectRows'](_0x422a6a,{..._0x4e3f4b,'filter':null}):_0x315f2b,_0x47ac0f=_0xf3e46d(this['_getHierarchyIndex'](_0x422a6a,_0x25635e,_0x4e3f4b['id'],_0x59e500[_0x340558(0x2c4)](_0x53b042=>_0x53b042[_0x340558(0x57e)])),_0x59e500,new Set(_0x315f2b[_0x340558(0x2c4)](_0x71f439=>_0x71f439[_0x340558(0x57e)])));return{'type':_0xcf3cf2[_0x340558(0x3c8)][_0x340558(0x372)],'fields':this['_projectFields'](_0x422a6a,_0x4e3f4b),'rows':_0x47ac0f[_0x340558(0x5e6)],'groups':this[_0x340558(0x221)](_0x422a6a,_0x4e3f4b,_0x47ac0f[_0x340558(0x5e6)],_0x47ac0f[_0x340558(0x326)]),'hierarchy':_0x47ac0f['hierarchy'],'frozenFieldCount':typeof _0x4e3f4b['config'][_0x340558(0x56d)]==_0x340558(0x202)?_0x4e3f4b['config'][_0x340558(0x56d)]:0x0};}[_0x2b8d6a(0x58a)](_0xbaab54,_0x186038,_0x5317cb,_0x10b423){const _0x3e2c5e=_0x2b8d6a;let _0x139a46=_0xbaab54['id']+'\x00'+_0x186038+'\x00'+_0x5317cb,_0x3ec403=this[_0x3e2c5e(0x559)](_0xbaab54['id']),_0x36d1c2=this['_hierarchyIndexCache'][_0x3e2c5e(0x4f0)](_0x139a46);if(_0x36d1c2&&_0x36d1c2[_0x3e2c5e(0x261)]===this['_globalRevision']&&_0x36d1c2[_0x3e2c5e(0x211)]===this[_0x3e2c5e(0x5e2)](_0xbaab54['id'])&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x3d4)]===_0x10b423[_0x3e2c5e(0x3d4)]&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x320)]((_0x3330ac,_0x5e2f99)=>_0x3330ac===_0x10b423[_0x5e2f99])){if(_0x36d1c2[_0x3e2c5e(0x5e5)]===_0x3ec403&&_0x36d1c2['table']===_0xbaab54)return _0x36d1c2[_0x3e2c5e(0x295)];if(!this['_cellInvalidationsTouchFields'](_0xbaab54['id'],_0x36d1c2[_0x3e2c5e(0x5e5)],_0x3ec403,new Set([_0x186038])))return this['_hierarchyIndexCache'][_0x3e2c5e(0x22b)](_0x139a46,{..._0x36d1c2,'table':_0xbaab54,'cellRevision':_0x3ec403}),_0x36d1c2[_0x3e2c5e(0x295)];}let _0x395926=_0x3760a3(_0xbaab54,_0x186038,_0x10b423);return this[_0x3e2c5e(0x25a)][_0x3e2c5e(0x22b)](_0x139a46,{'table':_0xbaab54,'index':_0x395926,'orderedRecordIds':_0x10b423,'globalRevision':this[_0x3e2c5e(0x3aa)],'tableRevision':this[_0x3e2c5e(0x5e2)](_0xbaab54['id']),'cellRevision':_0x3ec403}),_0x395926;}['_projectHierarchyGroups'](_0x1c4453,_0x45a785,_0x5553f0,_0x182a2e){const _0x4423ef=_0x2b8d6a;var _0x472e28;if(!((_0x472e28=_0x45a785[_0x4423ef(0x484)])!=null&&_0x472e28[_0x4423ef(0x3d4)]))return[];let _0x58f7e7=new Map(_0x5553f0[_0x4423ef(0x2c4)](_0x24726f=>[_0x24726f['recordId'],_0x24726f])),_0x137737=_0x182a2e['rootRecordIds']['flatMap'](_0x2d01de=>{const _0x35e51f=_0x4423ef;let _0xd41f44=_0x58f7e7[_0x35e51f(0x4f0)](_0x2d01de);return _0xd41f44?[_0xd41f44]:[];}),_0x21d659=this[_0x4423ef(0x57d)](_0x1c4453,_0x45a785,_0x137737),_0x5bdedd=new Map(_0x182a2e[_0x4423ef(0x5c5)][_0x4423ef(0x2c4)]((_0x35f2ff,_0x50a8c7)=>[_0x35f2ff,_0x50a8c7])),_0x5462bb=_0x35d0e4=>{const _0x2bf7d3=_0x4423ef;let _0x49e0d9=_0x182a2e[_0x2bf7d3(0x4e9)][_0x35d0e4],_0x2c7796=_0x5bdedd[_0x2bf7d3(0x4f0)](_0x35d0e4)??-0x1;return _0x2c7796<0x0||!_0x49e0d9?[]:_0x182a2e[_0x2bf7d3(0x5c5)][_0x2bf7d3(0x3de)](_0x2c7796,_0x49e0d9['subtreeEndIndex']+0x1);},_0x4f3ece=_0xada5d0=>{const _0x3a5c63=_0x4423ef;var _0x4df81e,_0x572a00;return{..._0xada5d0,'recordIds':(_0x4df81e=_0xada5d0[_0x3a5c63(0x1fb)])!=null&&_0x4df81e[_0x3a5c63(0x3d4)]?_0xada5d0[_0x3a5c63(0x5b2)]:_0xada5d0[_0x3a5c63(0x5b2)]['flatMap'](_0x5462bb),'children':(_0x572a00=_0xada5d0[_0x3a5c63(0x1fb)])==null?void 0x0:_0x572a00[_0x3a5c63(0x2c4)](_0x4f3ece)};};return _0x21d659[_0x4423ef(0x2c4)](_0x4f3ece);}[_0x2b8d6a(0x3e1)](_0x5f03e8,_0x30e945){const _0x31e782=_0x2b8d6a;var _0x25a0e1;let _0xdec091=this['_resolveKanbanGroupFieldId'](_0x5f03e8,_0x30e945),_0x311b50=_0xdec091?_0x5f03e8[_0x31e782(0x3b5)][_0xdec091]:void 0x0;if(!_0x311b50)return{'type':'invalid','viewType':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'reason':_0x31e782(0x4e5),'fieldId':_0x30e945[_0x31e782(0x5a3)][_0x31e782(0x259)]};let _0x1622ae=this[_0x31e782(0x40e)](_0x5f03e8,_0x30e945),_0x4dddfc=this[_0x31e782(0x352)](_0x5f03e8,_0x30e945),_0x16881a=_0x30e945[_0x31e782(0x5a3)]??{},_0x284c5a=this[_0x31e782(0x41b)](_0x5f03e8,(_0x25a0e1=_0x16881a[_0x31e782(0x367)])==null?void 0x0:_0x25a0e1[_0x31e782(0x4cf)]),_0x598c69=this[_0x31e782(0x30a)](_0x5f03e8,_0x30e945,_0x311b50['id'],_0x284c5a),_0x4b45b8=new Map();if(_0x4d880f(_0x5f03e8,_0x311b50['id'])){let _0x17df29=this[_0x31e782(0x58a)](_0x5f03e8,_0x311b50['id'],_0x30e945['id'],_0x1622ae[_0x31e782(0x2c4)](_0x3885a7=>_0x3885a7[_0x31e782(0x57e)])),_0x3b7339=new Map();return _0x1622ae[_0x31e782(0x458)](_0x22e9e7=>{const _0x473187=_0x31e782;let _0x51e0ea=_0x17df29['parentByRecordId'][_0x473187(0x4f0)](_0x22e9e7[_0x473187(0x57e)])??null,_0x387c92=_0x51e0ea??'',_0x4c3e27=_0x51e0ea?_0x5f03e8['records'][_0x51e0ea]:void 0x0,_0x20df35=_0x3b7339['get'](_0x387c92)??{'key':_0x387c92,'title':_0x4c3e27?String(_0x4bd91a(_0x5f03e8,_0x4c3e27['id'],_0x5f03e8[_0x473187(0x4b4)])??_0x51e0ea):this[_0x473187(0x55d)](_0x311b50,_0x387c92,_0x16881a),'recordIds':[]};_0x20df35[_0x473187(0x5b2)][_0x473187(0x309)](_0x22e9e7[_0x473187(0x57e)]),_0x3b7339[_0x473187(0x22b)](_0x387c92,_0x20df35);}),{'type':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':[],'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this[_0x31e782(0x5c4)](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a[_0x31e782(0x307)]===_0x31e782(0x4b7)?_0x31e782(0x4b7):'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':['',..._0x17df29[_0x31e782(0x5c5)]][_0x31e782(0x5d0)](_0x562b62=>{const _0x259dcd=_0x31e782;let _0x39d4bd=_0x3b7339['get'](_0x562b62);return _0x39d4bd!=null&&_0x39d4bd[_0x259dcd(0x5b2)]['length']?[_0x39d4bd]:[];})};}return this[_0x31e782(0x316)](_0x311b50,_0x16881a)[_0x31e782(0x458)](_0x3dabf6=>_0x4b45b8[_0x31e782(0x22b)](_0x3dabf6[_0x31e782(0x2fc)],{..._0x3dabf6,'recordIds':[]})),_0x1622ae[_0x31e782(0x458)](_0x13cc75=>{const _0x5c3d84=_0x31e782;this['_kanbanGroupKeys'](_0x311b50,_0x13cc75[_0x5c3d84(0x404)][_0x311b50['id']])[_0x5c3d84(0x458)](_0x34f521=>{const _0x3c68c0=_0x5c3d84;let _0x1007f7=_0x4b45b8[_0x3c68c0(0x4f0)](_0x34f521)??{'key':_0x34f521,'title':this['_kanbanLaneTitle'](_0x311b50,_0x34f521,_0x16881a),'color':this['_kanbanLaneColor'](_0x311b50,_0x34f521,_0x16881a),'recordIds':[]};_0x1007f7['recordIds'][_0x3c68c0(0x309)](_0x13cc75[_0x3c68c0(0x57e)]),_0x4b45b8[_0x3c68c0(0x22b)](_0x34f521,_0x1007f7);});}),{'type':_0xcf3cf2[_0x31e782(0x3c8)][_0x31e782(0x453)],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':this[_0x31e782(0x57d)](_0x5f03e8,_0x30e945,_0x1622ae),'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a['cardLayout']===_0x31e782(0x4b7)?'compose':'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':Array['from'](_0x4b45b8[_0x31e782(0x404)]())};}[_0x2b8d6a(0x5d8)](_0x3a8a94,_0x4198b8){const _0x342225=_0x2b8d6a;var _0x12f9c8;let _0x57ed08=(_0x12f9c8=_0x4198b8[_0x342225(0x5a3)])==null?void 0x0:_0x12f9c8[_0x342225(0x259)];return _0x57ed08&&this['_isKanbanGroupField'](_0x3a8a94,_0x57ed08)?_0x57ed08:this[_0x342225(0x4e2)](_0x3a8a94,_0x37f57d=>this['_isAllowedKanbanGroupField'](_0x37f57d));}[_0x2b8d6a(0x4e2)](_0x3d72f2,_0x3b384e){const _0x477872=_0x2b8d6a;for(let _0x3d1391 of _0x3d72f2[_0x477872(0x4ab)]){let _0x48f496=_0x3d72f2['fields'][_0x3d1391];if(_0x48f496&&_0x3b384e(_0x48f496))return _0x48f496['id'];}return null;}['_isKanbanGroupField'](_0x5247f8,_0x204ec2){const _0x1b3492=_0x2b8d6a;let _0x2cd1e5=_0x5247f8[_0x1b3492(0x3b5)][_0x204ec2];return this[_0x1b3492(0x237)](_0x2cd1e5)||_0x4d880f(_0x5247f8,_0x204ec2);}[_0x2b8d6a(0x237)](_0x5d383f){const _0x5ca60b=_0x2b8d6a;return!!_0x5d383f&&(_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['SingleSelect']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x336)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['Rating']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x5ca60b(0x3d5)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x3fa)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x5f8)]);}['_isColorfulKanbanGroupField'](_0x1dd41f){const _0x1a888c=_0x2b8d6a;return _0x1dd41f[_0x1a888c(0x1cc)]===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x2e3)]||_0x1dd41f['type']===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x336)];}[_0x2b8d6a(0x5c4)](_0x585b2b,_0x1c2239){const _0x56144c=_0x2b8d6a;var _0x2b722a;let _0x1a2fe6=_0x1c2239[_0x56144c(0x4d3)]??((_0x2b722a=_0x1c2239[_0x56144c(0x367)])==null?void 0x0:_0x2b722a['coverFieldId'])??null;if(!_0x1a2fe6)return null;let _0x4df563=_0x585b2b['fields'][_0x1a2fe6];return _0x4df563&&this[_0x56144c(0x539)](_0x4df563)[_0x56144c(0x33a)]?_0x4df563['id']:null;}['_resolveKanbanCardFieldIds'](_0xa88947,_0x5c90d6,_0x1c204a,_0x3e7c72=this[_0x2b8d6a(0x41b)](_0xa88947,((()=>{const _0x1a8f4d=_0x2b8d6a;var _0x51b615;return(_0x51b615=_0x5c90d6[_0x1a8f4d(0x5a3)])==null||(_0x51b615=_0x51b615[_0x1a8f4d(0x367)])==null?void 0x0:_0x51b615[_0x1a8f4d(0x4cf)];})()))){const _0x537563=_0x2b8d6a;var _0x16cfa5;let _0x55466d=_0x5c90d6[_0x537563(0x5a3)]??{},_0x3a806d=(_0x16cfa5=_0x55466d[_0x537563(0x367)])!=null&&(_0x16cfa5=_0x16cfa5[_0x537563(0x4a6)])!=null&&_0x16cfa5['length']?_0x55466d[_0x537563(0x367)][_0x537563(0x4a6)]:_0x47838f(_0xa88947,[_0x3e7c72,_0xa88947['primaryFieldId'],_0x1c204a]),_0xa470ce=_0x55466d[_0x537563(0x239)]??{};return _0x3a806d['filter'](_0x3e5f76=>{const _0x37c9bb=_0x537563;var _0xf17c65,_0x58866a;let _0x4b0362=_0xa88947[_0x37c9bb(0x3b5)][_0x3e5f76];return!(!_0x4b0362||_0x4b0362[_0x37c9bb(0x27a)]===!0x0||_0x4b0362[_0x37c9bb(0x1cc)]===_0xcf3cf2[_0x37c9bb(0x435)][_0x37c9bb(0x46d)]||_0x4b0362['id']===_0x1c204a||_0x4b0362['id']===_0x3e7c72||(_0xf17c65=_0x5c90d6[_0x37c9bb(0x239)])!=null&&(_0xf17c65=_0xf17c65[_0x3e5f76])!=null&&_0xf17c65[_0x37c9bb(0x4e3)]||(_0x58866a=_0xa470ce[_0x3e5f76])!=null&&_0x58866a[_0x37c9bb(0x4e3)]);})[_0x537563(0x24e)]((_0x5f1160,_0x2d8a99)=>{const _0x40c3=_0x537563;var _0x2281e1,_0xe81b72;return(((_0x2281e1=_0xa470ce[_0x5f1160])==null?void 0x0:_0x2281e1[_0x40c3(0x281)])??_0x3a806d[_0x40c3(0x267)](_0x5f1160))-(((_0xe81b72=_0xa470ce[_0x2d8a99])==null?void 0x0:_0xe81b72['order'])??_0x3a806d[_0x40c3(0x267)](_0x2d8a99));});}[_0x2b8d6a(0x316)](_0xb65312,_0x2a0ac0){const _0x29ef0f=_0x2b8d6a;var _0x3c423a;let _0x27862a=(Array['isArray']((_0x3c423a=_0xb65312[_0x29ef0f(0x5a3)])==null?void 0x0:_0x3c423a[_0x29ef0f(0x5cc)])?_0xb65312[_0x29ef0f(0x5a3)][_0x29ef0f(0x5cc)]:[])['flatMap']((_0x14f649,_0x2620f3)=>{const _0x3d2adc=_0x29ef0f;if(_0x14f649==null)return[];let _0xaa1230=typeof _0x14f649==_0x3d2adc(0x3ea)?{'id':_0x14f649,'name':_0x14f649,'color':void 0x0}:_0x14f649,_0x3a38d5=String(_0xaa1230['id']??_0xaa1230[_0x3d2adc(0x456)]??_0x3d2adc(0x290)+(_0x2620f3+0x1));return[{'key':_0x3a38d5,'title':String(_0xaa1230[_0x3d2adc(0x456)]??_0xaa1230['id']??_0x3a38d5),'color':this[_0x3d2adc(0x520)](_0xb65312,_0x3a38d5,_0x2a0ac0)}];});return Object[_0x29ef0f(0x271)](_0x2a0ac0[_0x29ef0f(0x2d4)]??{})[_0x29ef0f(0x458)](([_0x476b95,_0x1fa9f1])=>{const _0x3dca83=_0x29ef0f;_0x27862a[_0x3dca83(0x20f)](_0x21bd77=>_0x21bd77[_0x3dca83(0x2fc)]===_0x476b95)||_0x27862a['push']({'key':_0x476b95,'title':this[_0x3dca83(0x5be)](_0xb65312)?_0x1fa9f1[_0x3dca83(0x5fc)]??this['_kanbanLaneTitle'](_0xb65312,_0x476b95,_0x2a0ac0):this[_0x3dca83(0x55d)](_0xb65312,_0x476b95,_0x2a0ac0),'color':this['_kanbanLaneColor'](_0xb65312,_0x476b95,_0x2a0ac0)});}),_0x27862a;}[_0x2b8d6a(0x4d4)](_0x1cf456,_0x5ca577){const _0x144bef=_0x2b8d6a;let _0x507b5a=_0x5cf321=>{var _0x34b9d6;let _0xf01b3b=_0x5cf321==null?'':String(_0x5cf321);return!_0xf01b3b||!this['_isColorfulKanbanGroupField'](_0x1cf456)?_0xf01b3b:((_0x34b9d6=_0x58a201(_0x1cf456,_0xf01b3b))==null?void 0x0:_0x34b9d6['id'])??_0xf01b3b;};if(Array[_0x144bef(0x2a1)](_0x5ca577)){let _0x392657=_0x5ca577[_0x144bef(0x2c4)](_0x507b5a)[_0x144bef(0x355)](_0x235142=>_0x235142!=='');return _0x392657[_0x144bef(0x3d4)]?_0x392657:[''];}return[_0x507b5a(_0x5ca577)];}[_0x2b8d6a(0x55d)](_0x3e9ccf,_0xa96693,_0xec66b7){const _0x5f14a5=_0x2b8d6a;if(!_0xa96693)return _0x5f14a5(0x5b3);let _0x5aaf81=_0x58a201(_0x3e9ccf,_0xa96693);return(_0x5aaf81==null?void 0x0:_0x5aaf81[_0x5f14a5(0x456)])??_0xa96693;}[_0x2b8d6a(0x520)](_0x462ba6,_0x50963d,_0xcc2251){const _0x5898da=_0x2b8d6a;var _0xc9f2b5;if(this['_isColorfulKanbanGroupField'](_0x462ba6))return(_0xc9f2b5=_0x58a201(_0x462ba6,_0x50963d))==null?void 0x0:_0xc9f2b5[_0x5898da(0x21d)];}[_0x2b8d6a(0x398)](_0x5611dc,_0x261a76){const _0x3578d1=_0x2b8d6a;let _0x233e3c=this[_0x3578d1(0x2f0)](_0x5611dc,_0x261a76[_0x3578d1(0x5a3)]??{}),_0x17236e=_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c['startDateFieldId']];if(!_0x17236e||_0x17236e['type']!==_0xcf3cf2[_0x3578d1(0x435)][_0x3578d1(0x2d9)]||_0x17236e[_0x3578d1(0x30e)]===!0x0||_0x17236e[_0x3578d1(0x27a)]===!0x0||!this[_0x3578d1(0x539)](_0x17236e)[_0x3578d1(0x543)])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Calendar'],'reason':_0x3578d1(0x2a4),'fieldId':_0x233e3c[_0x3578d1(0x31c)]};let _0x274ffc=_0x233e3c['endDateFieldId']?_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c[_0x3578d1(0x2b3)]]:void 0x0,_0x3d341c=this[_0x3578d1(0x40e)](_0x5611dc,_0x261a76);return{'type':_0xcf3cf2[_0x3578d1(0x3c8)][_0x3578d1(0x1e0)],'config':_0x233e3c,'fields':this[_0x3578d1(0x352)](_0x5611dc,_0x261a76),'rows':_0x3d341c,'groups':this[_0x3578d1(0x57d)](_0x5611dc,_0x261a76,_0x3d341c),'events':_0x3d341c[_0x3578d1(0x5d0)](_0x50418c=>{const _0x3ba959=_0x3578d1;let _0x1ff157=_0x3ded3a(_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]]);if(!Number[_0x3ba959(0x2b0)](_0x1ff157))return[];let _0x57e629=_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]],_0x16d9fa=_0x233e3c[_0x3ba959(0x2b3)]==null?void 0x0:_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x2b3)]],_0x4871d2=_0x233e3c['endDateFieldId']==null?void 0x0:_0x3ded3a(_0x16d9fa),_0xec520a=Number[_0x3ba959(0x2b0)](_0x4871d2)?_0x4871d2:void 0x0;return[{'recordId':_0x50418c[_0x3ba959(0x57e)],'title':this[_0x3ba959(0x2a2)](_0x5611dc,_0x50418c,_0x233e3c[_0x3ba959(0x4cf)]),'start':_0x1ff157,'end':_0xec520a,'color':this['_calendarEventColor'](_0x5611dc,_0x50418c,_0x233e3c),'startMs':_0x1ff157,'endMs':_0xec520a,'allDay':this[_0x3ba959(0x4e4)](_0x17236e,_0x274ffc,_0x57e629,_0x16d9fa),'fieldValues':_0x50418c['values']}];})};}['_normalizeCalendarConfig'](_0x55743a,_0x309a7b){const _0x353d8a=_0x2b8d6a;let _0x9ad9bc=this[_0x353d8a(0x55a)](_0x55743a,_0x309a7b[_0x353d8a(0x31c)]),_0x1642de=_0x309a7b[_0x353d8a(0x2b3)]&&this['_isCalendarDateField'](_0x55743a,_0x309a7b[_0x353d8a(0x2b3)])?_0x309a7b[_0x353d8a(0x2b3)]:this[_0x353d8a(0x4a0)](_0x55743a,_0x9ad9bc)??void 0x0,_0x27721c=_0x309a7b['titleFieldId']?_0x55743a[_0x353d8a(0x3b5)][_0x309a7b[_0x353d8a(0x4cf)]]:void 0x0,_0x5955af=_0x27721c&&_0x27721c['system']!==!0x0&&_0x27721c['type']!==_0xcf3cf2[_0x353d8a(0x435)][_0x353d8a(0x46d)]?_0x309a7b[_0x353d8a(0x4cf)]:_0x55743a[_0x353d8a(0x4b4)],_0x37d534=_0x309a7b[_0x353d8a(0x42c)]===_0x353d8a(0x2af)||_0x309a7b[_0x353d8a(0x42c)]==='week'?_0x309a7b[_0x353d8a(0x42c)]:'month',_0xbb6627=_0x309a7b[_0x353d8a(0x33f)]===_0x353d8a(0x48e)||_0x309a7b['timeslotSize']===_0x353d8a(0x4a8)?_0x309a7b[_0x353d8a(0x33f)]:_0x353d8a(0x590),_0x3404d3=typeof _0x309a7b[_0x353d8a(0x5f7)]==_0x353d8a(0x3ea)&&_0x309a7b[_0x353d8a(0x5f7)]['trim']()?_0x309a7b['timeZone']:_0x353d8a(0x3f3),_0x177d42=this['_normalizeCalendarDisplayColor'](_0x55743a,_0x309a7b);return{..._0x309a7b,'startDateFieldId':_0x9ad9bc,'endDateFieldId':_0x1642de,'titleFieldId':_0x5955af,'mode':_0x37d534,'timeslotSize':_0xbb6627,'timeZone':_0x3404d3,'displayColor':_0x177d42,'fieldSettings':Object['fromEntries'](Object[_0x353d8a(0x271)](_0x309a7b[_0x353d8a(0x239)]??{})[_0x353d8a(0x355)](([_0x437f5e])=>{const _0x9d394c=_0x353d8a;let _0x7609a3=_0x55743a[_0x9d394c(0x3b5)][_0x437f5e];return!!(_0x7609a3&&_0x7609a3['system']!==!0x0&&_0x7609a3['type']!==_0xcf3cf2[_0x9d394c(0x435)][_0x9d394c(0x46d)]);}))};}[_0x2b8d6a(0x55a)](_0x3a28eb,_0x17cbf9){const _0x4a45b8=_0x2b8d6a;return _0x17cbf9&&this['_isCalendarDateField'](_0x3a28eb,_0x17cbf9)?_0x17cbf9:this[_0x4a45b8(0x4a0)](_0x3a28eb)??_0x17cbf9??'';}[_0x2b8d6a(0x4a0)](_0xe8bbe1,_0x3a5924){const _0x592d5d=_0x2b8d6a;for(let _0x10d7cb of _0xe8bbe1['fieldOrder'])if(_0x10d7cb!==_0x3a5924&&this[_0x592d5d(0x3bc)](_0xe8bbe1,_0x10d7cb))return _0x10d7cb;return null;}['_isCalendarDateField'](_0xd382a1,_0x11f4a5){const _0x2399d5=_0x2b8d6a;let _0x544717=_0xd382a1[_0x2399d5(0x3b5)][_0x11f4a5];return!!_0x544717&&_0x544717[_0x2399d5(0x1cc)]===_0xcf3cf2[_0x2399d5(0x435)][_0x2399d5(0x2d9)]&&_0x544717[_0x2399d5(0x30e)]!==!0x0&&_0x544717[_0x2399d5(0x27a)]!==!0x0&&this['_capabilities'](_0x544717)[_0x2399d5(0x543)];}[_0x2b8d6a(0x3f8)](_0x43c01c,_0x554dc2){const _0x55a5bc=_0x2b8d6a;let _0x570785=_0x554dc2[_0x55a5bc(0x4c6)];if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x3df)){let _0x1bfe8e=_0x43c01c[_0x55a5bc(0x3b5)][_0x570785['fieldId']];if(_0x1bfe8e&&_0x1bfe8e[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return _0x570785;}if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x541)&&typeof _0x570785['color']==_0x55a5bc(0x3ea)&&_0x570785[_0x55a5bc(0x21d)]['trim']())return{'type':'custom','color':_0x570785[_0x55a5bc(0x21d)]};if(_0x554dc2['colorFieldId']){let _0x2dd23c=_0x43c01c['fields'][_0x554dc2['colorFieldId']];if(_0x2dd23c&&_0x2dd23c[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return{'type':'selectField','fieldId':_0x554dc2[_0x55a5bc(0x4cc)]};}return{'type':_0x55a5bc(0x541),'color':_0x55a5bc(0x28c)};}[_0x2b8d6a(0x32d)](_0xdf06ea,_0x52ccc0,_0x20dc8e){const _0xa3c704=_0x2b8d6a;let _0x16c54=_0x20dc8e[_0xa3c704(0x4c6)];if((_0x16c54==null?void 0x0:_0x16c54[_0xa3c704(0x1cc)])===_0xa3c704(0x3df)){var _0x534dc1;let _0x2ff1b5=_0xdf06ea[_0xa3c704(0x3b5)][_0x16c54['fieldId']];if(!_0x2ff1b5)return;let _0x41d54b=_0x52ccc0[_0xa3c704(0x404)][_0x16c54[_0xa3c704(0x580)]],_0x370e09=Array['isArray'](_0x41d54b)?_0x41d54b[0x0]:_0x41d54b;return _0x370e09==null||(_0x534dc1=_0x58a201(_0x2ff1b5,String(_0x370e09)))==null?void 0x0:_0x534dc1['color'];}if((_0x16c54==null?void 0x0:_0x16c54['type'])===_0xa3c704(0x541))return _0x16c54[_0xa3c704(0x21d)];}[_0x2b8d6a(0x4e4)](_0x18a15f,_0x25e356,_0x205fec,_0x4016ce){const _0x4ce30a=_0x2b8d6a;var _0xfc6c72,_0x479dd7;let _0x553944=((_0xfc6c72=_0x18a15f[_0x4ce30a(0x5a3)])==null?void 0x0:_0xfc6c72[_0x4ce30a(0x5b1)])===!0x0,_0x363fa1=(_0x25e356==null||(_0x479dd7=_0x25e356[_0x4ce30a(0x5a3)])==null?void 0x0:_0x479dd7[_0x4ce30a(0x5b1)])===!0x0;return!_0x553944&&!_0x363fa1;}[_0x2b8d6a(0x3c6)](_0x5a8e5f,_0x1e37dd){const _0x1bec53=_0x2b8d6a;var _0x20091d,_0x2ae508;let _0x4866e6=((_0x20091d=_0x5a8e5f[_0x1bec53(0x5a3)])==null?void 0x0:_0x20091d[_0x1bec53(0x5b1)])===!0x0,_0x373ad0=((_0x2ae508=_0x1e37dd['config'])==null?void 0x0:_0x2ae508[_0x1bec53(0x5b1)])===!0x0;return!_0x4866e6&&!_0x373ad0;}[_0x2b8d6a(0x345)](_0x3785ea,_0x18c3b0){const _0x5ef0cf=_0x2b8d6a;let _0x326ee0=this[_0x5ef0cf(0x409)](_0x3785ea,_0x18c3b0['config']),_0xa1337e=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x31c)]];if(!_0xa1337e||_0xa1337e[_0x5ef0cf(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xa1337e[_0x5ef0cf(0x30e)]===!0x0||_0xa1337e['system']===!0x0||!this['_capabilities'](_0xa1337e)['usableAsGanttStart'])return{'type':'invalid','viewType':_0xcf3cf2[_0x5ef0cf(0x3c8)][_0x5ef0cf(0x228)],'reason':'invalidGanttStartField','fieldId':_0x326ee0['startDateFieldId']};let _0xf1d514=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x2b3)]];if(!_0xf1d514||_0xf1d514['type']!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xf1d514[_0x5ef0cf(0x30e)]===!0x0||_0xf1d514[_0x5ef0cf(0x27a)]===!0x0||!this[_0x5ef0cf(0x539)](_0xf1d514)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x326ee0['endDateFieldId']};let _0x3811e5=this[_0x5ef0cf(0x3c6)](_0xa1337e,_0xf1d514),_0x101090=this[_0x5ef0cf(0x40e)](_0x3785ea,_0x18c3b0),_0x537edc=_0x101090[_0x5ef0cf(0x5d0)](_0x27794a=>{const _0x3710aa=_0x5ef0cf;let _0x4d5c33=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x31c)]]),_0x2504bd=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x2b3)]]);if(!Number['isFinite'](_0x4d5c33)||!Number[_0x3710aa(0x2b0)](_0x2504bd))return[];let _0x1b105b=Math[_0x3710aa(0x4f1)](_0x4d5c33,_0x2504bd),_0xf93a1=Math[_0x3710aa(0x591)](_0x4d5c33,_0x2504bd),_0x1e6b16=_0x326ee0['progressFieldId']==null?void 0x0:Number(_0x27794a['values'][_0x326ee0[_0x3710aa(0x5d5)]]);return[{'recordId':_0x27794a[_0x3710aa(0x57e)],'title':this[_0x3710aa(0x2a2)](_0x3785ea,_0x27794a,_0x326ee0['titleFieldId']),'start':_0x1b105b,'end':_0xf93a1,'color':this[_0x3710aa(0x1d3)](_0x3785ea,_0x27794a,_0x326ee0),'progress':Number['isFinite'](_0x1e6b16)?_0x1e6b16:void 0x0,'workingDayCount':_0x326ee0[_0x3710aa(0x4ea)]?_0x3465a0(_0x1b105b,_0xf93a1,_0x326ee0[_0x3710aa(0x60a)]):void 0x0,'dependencyRecordIds':this[_0x3710aa(0x51e)](_0x27794a[_0x3710aa(0x404)][_0x326ee0['dependencyFieldId']??''])}];}),_0x28975f=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math[_0x5ef0cf(0x4f1)](..._0x537edc[_0x5ef0cf(0x2c4)](_0x27a75d=>_0x27a75d['start']))-0x5a*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()-0x5a*_0x4f4166),_0x1826ff=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math['max'](..._0x537edc['map'](_0x110248=>_0x110248['end']))+0x5b*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()+0x5b*_0x4f4166),_0x149f87=_0xe7172b(_0x326ee0[_0x5ef0cf(0x410)],_0x28975f,_0x1826ff,_0x326ee0[_0x5ef0cf(0x4ea)]?_0x326ee0[_0x5ef0cf(0x60a)]:void 0x0);return{'type':_0xcf3cf2['BaseViewType'][_0x5ef0cf(0x228)],'fields':this[_0x5ef0cf(0x352)](_0x3785ea,{..._0x18c3b0,'config':_0x326ee0}),'rows':_0x101090,'groups':this[_0x5ef0cf(0x57d)](_0x3785ea,_0x18c3b0,_0x101090),'config':_0x326ee0,'dateRangeAllDay':_0x3811e5,'timeline':{'scale':_0x326ee0[_0x5ef0cf(0x410)],'start':_0x28975f,'end':_0x1826ff,'unitWidth':_0x149f87['unitWidth'],'majorHeaders':_0x149f87[_0x5ef0cf(0x1e2)],'columns':_0x149f87['columns']},'bars':_0x537edc};}['_normalizeGanttConfig'](_0x186d39,_0x361c06){const _0x283f9b=_0x2b8d6a;let _0x369fe5=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x31c)],_0x283f9b(0x571)),_0x54767c=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x2b3)],_0x283f9b(0x526))||_0x369fe5,_0x57f602=_0x361c06['titleFieldId']?_0x186d39['fields'][_0x361c06['titleFieldId']]:void 0x0,_0x4b89e8=_0x57f602&&_0x57f602['system']!==!0x0&&_0x57f602[_0x283f9b(0x1cc)]!==_0xcf3cf2[_0x283f9b(0x435)][_0x283f9b(0x46d)]?_0x361c06[_0x283f9b(0x4cf)]:_0x186d39[_0x283f9b(0x4b4)],_0x2c9642=_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x2c7)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x583)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x437)?_0x361c06[_0x283f9b(0x410)]:'month',_0x5f1d92=_0x399482(_0x361c06[_0x283f9b(0x60a)]);return{..._0x361c06,'startDateFieldId':_0x369fe5,'endDateFieldId':_0x54767c,'titleFieldId':_0x4b89e8,'scale':_0x2c9642,'leftPaneWidth':typeof _0x361c06['leftPaneWidth']==_0x283f9b(0x202)?_0x361c06[_0x283f9b(0x22f)]:void 0x0,'leftPaneCollapsed':_0x361c06[_0x283f9b(0x3dd)]===!0x0,'showTodayLine':_0x361c06[_0x283f9b(0x2fb)]!==!0x1,'displayColor':this[_0x283f9b(0x5e4)](_0x186d39,_0x361c06),'fieldSettings':Object[_0x283f9b(0x3a6)](Object['entries'](_0x361c06[_0x283f9b(0x239)]??{})['filter'](([_0x16aa6d])=>{const _0x53e923=_0x283f9b;let _0x20d6d9=_0x186d39[_0x53e923(0x3b5)][_0x16aa6d];return!!(_0x20d6d9&&_0x20d6d9['system']!==!0x0&&_0x20d6d9[_0x53e923(0x1cc)]!==_0xcf3cf2[_0x53e923(0x435)][_0x53e923(0x46d)]);})),'workingDaysOnly':_0x361c06[_0x283f9b(0x4ea)]===!0x0,'workingDays':_0x5f1d92};}[_0x2b8d6a(0x5e0)](_0x49fcea,_0x3c96da,_0x4ac80b){const _0x186a6b=_0x2b8d6a;if(_0x3c96da&&this[_0x186a6b(0x460)](_0x49fcea,_0x3c96da,_0x4ac80b)||_0x3c96da)return _0x3c96da;for(let _0x19136b of _0x49fcea[_0x186a6b(0x4ab)])if(this['_isGanttDateField'](_0x49fcea,_0x19136b,_0x4ac80b))return _0x19136b;return _0x3c96da??'';}[_0x2b8d6a(0x460)](_0x4593d5,_0x5667d6,_0x237555){const _0x7098da=_0x2b8d6a;let _0x2dd419=_0x4593d5[_0x7098da(0x3b5)][_0x5667d6];if(!_0x2dd419||_0x2dd419[_0x7098da(0x1cc)]!==_0xcf3cf2[_0x7098da(0x435)][_0x7098da(0x2d9)]||_0x2dd419[_0x7098da(0x30e)]===!0x0||_0x2dd419[_0x7098da(0x27a)]===!0x0)return!0x1;let _0x4c27c9=this[_0x7098da(0x539)](_0x2dd419);return _0x237555===_0x7098da(0x571)?_0x4c27c9[_0x7098da(0x205)]:_0x4c27c9[_0x7098da(0x252)];}['_normalizeGanttDisplayColor'](_0x59ab8e,_0x531df4){const _0x54b6ea=_0x2b8d6a;let _0x403417=_0x531df4[_0x54b6ea(0x4c6)];if((_0x403417==null?void 0x0:_0x403417['type'])==='selectField'){let _0x15a792=_0x59ab8e[_0x54b6ea(0x3b5)][_0x403417[_0x54b6ea(0x580)]];if(_0x15a792&&_0x15a792[_0x54b6ea(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x54b6ea(0x2e3)])return _0x403417;}return(_0x403417==null?void 0x0:_0x403417[_0x54b6ea(0x1cc)])===_0x54b6ea(0x512)&&Array[_0x54b6ea(0x2a1)](_0x403417[_0x54b6ea(0x40d)])?{'type':_0x54b6ea(0x512),'rules':_0x403417['rules'][_0x54b6ea(0x355)](_0x664f76=>!!_0x59ab8e[_0x54b6ea(0x3b5)][_0x664f76[_0x54b6ea(0x580)]])}:(_0x403417==null?void 0x0:_0x403417['type'])===_0x54b6ea(0x541)&&typeof _0x403417[_0x54b6ea(0x21d)]==_0x54b6ea(0x3ea)&&_0x403417[_0x54b6ea(0x21d)][_0x54b6ea(0x479)]()?{'type':'custom','color':_0x403417[_0x54b6ea(0x21d)]}:{'type':_0x54b6ea(0x541),'color':_0x54b6ea(0x441)};}[_0x2b8d6a(0x1d3)](_0x1d609b,_0x3b76aa,_0x469c82){const _0x42e4ac=_0x2b8d6a;let _0x256273=_0x469c82['displayColor'];if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x512)){let _0x587e50=_0x256273[_0x42e4ac(0x40d)][_0x42e4ac(0x22c)](_0x70ff69=>this[_0x42e4ac(0x257)](_0x1d609b,_0x3b76aa,_0x70ff69));if(_0x587e50)return _0x587e50['color'];}if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])==='selectField'){let _0x249256=_0x1d609b['fields'][_0x256273[_0x42e4ac(0x580)]];if(_0x249256){var _0x1935a6;let _0x2aa65b=_0x3b76aa[_0x42e4ac(0x404)][_0x256273[_0x42e4ac(0x580)]],_0x2c64e5=Array[_0x42e4ac(0x2a1)](_0x2aa65b)?_0x2aa65b[0x0]:_0x2aa65b,_0x4259f9=_0x2c64e5==null||(_0x1935a6=_0x58a201(_0x249256,String(_0x2c64e5)))==null?void 0x0:_0x1935a6[_0x42e4ac(0x21d)];if(_0x4259f9)return _0x4259f9;}}return(_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x541)?_0x256273[_0x42e4ac(0x21d)]:_0x42e4ac(0x441);}['_matchesGanttColorRule'](_0x28e1be,_0x43dbdd,_0x84a6dc){const _0x2a8529=_0x2b8d6a;let _0x4cb0c6=_0x28e1be[_0x2a8529(0x3b5)][_0x84a6dc[_0x2a8529(0x580)]];return _0x4cb0c6?_0x357854(_0x43dbdd[_0x2a8529(0x404)][_0x4cb0c6['id']],_0x84a6dc[_0x2a8529(0x1e5)],_0x84a6dc[_0x2a8529(0x37e)],_0x4cb0c6,{'dateMode':_0x84a6dc[_0x2a8529(0x32f)]}):!0x1;}[_0x2b8d6a(0x59f)](_0x4ab497,_0x5061d8){const _0x1609af=_0x2b8d6a;let _0x42c9c0=this[_0x1609af(0x40e)](_0x4ab497,_0x5061d8),_0x2b109e=this[_0x1609af(0x60f)](_0x4ab497,_0x5061d8['config']??{}),_0x445455=this['_projectFields'](_0x4ab497,_0x5061d8);return{'type':_0xcf3cf2[_0x1609af(0x3c8)][_0x1609af(0x31f)],'fields':_0x445455,'rows':_0x42c9c0,'groups':this[_0x1609af(0x57d)](_0x4ab497,_0x5061d8,_0x42c9c0),'titleFieldId':_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)],'coverFieldId':_0x2b109e[_0x1609af(0x4d3)],'cardLayout':_0x2b109e['cardLayout']??_0x1609af(0x48d),'showFieldNames':_0x2b109e['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x1609af(0x36e)](_0x4ab497,_0x5061d8,_0x2b109e),'cardSize':_0x2b109e[_0x1609af(0x3e5)]??_0x1609af(0x590),'cards':_0x42c9c0['map'](_0x286177=>({'recordId':_0x286177[_0x1609af(0x57e)],'title':this['_title'](_0x4ab497,_0x286177,_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)]),'values':_0x286177[_0x1609af(0x404)]}))};}[_0x2b8d6a(0x60f)](_0x46b39f,_0x43dd8e){const _0x45a835=_0x2b8d6a;let _0x5de389=_0x43dd8e[_0x45a835(0x367)]??{'fieldIds':[]},_0x3d3481=this[_0x45a835(0x41b)](_0x46b39f,_0x5de389[_0x45a835(0x4cf)]),_0x4d0224=this[_0x45a835(0x370)](_0x46b39f,_0x43dd8e),_0x2d6fa2=_0x43dd8e[_0x45a835(0x3e5)]===_0x45a835(0x5ca)||_0x43dd8e['cardSize']==='large'?_0x43dd8e[_0x45a835(0x3e5)]:'medium';return{..._0x43dd8e,'coverFieldId':_0x4d0224,'cardLayout':_0x43dd8e[_0x45a835(0x307)]===_0x45a835(0x4b7)?'compose':_0x45a835(0x48d),'showFieldNames':_0x43dd8e[_0x45a835(0x524)]!==!0x1,'fieldSettings':Object[_0x45a835(0x3a6)](Object[_0x45a835(0x271)](_0x43dd8e[_0x45a835(0x239)]??{})[_0x45a835(0x355)](([_0x593b05])=>{const _0x3f1d51=_0x45a835;let _0x2313f8=_0x46b39f['fields'][_0x593b05];return!!(_0x2313f8&&_0x2313f8[_0x3f1d51(0x27a)]!==!0x0&&_0x2313f8[_0x3f1d51(0x1cc)]!==_0xcf3cf2[_0x3f1d51(0x435)][_0x3f1d51(0x46d)]);})),'card':{..._0x5de389,'titleFieldId':_0x3d3481,'coverFieldId':_0x4d0224,'fieldIds':Array[_0x45a835(0x2a1)](_0x5de389[_0x45a835(0x4a6)])?_0x5de389[_0x45a835(0x4a6)]:[]},'cardSize':_0x2d6fa2};}['_resolveCardTitleFieldId'](_0x261dae,_0x26b87e){const _0x4eef0f=_0x2b8d6a;let _0x4e3a23=_0x26b87e?_0x261dae['fields'][_0x26b87e]:void 0x0;return _0x4e3a23&&_0x4e3a23[_0x4eef0f(0x27a)]!==!0x0&&_0x4e3a23[_0x4eef0f(0x1cc)]!==_0xcf3cf2[_0x4eef0f(0x435)]['RecordId']?_0x4e3a23['id']:_0xb8c8b0(_0x261dae);}[_0x2b8d6a(0x370)](_0x5f0743,_0x155a52){const _0x4b7f33=_0x2b8d6a;var _0x5a1435;let _0x352e09=_0x155a52[_0x4b7f33(0x4d3)]??((_0x5a1435=_0x155a52[_0x4b7f33(0x367)])==null?void 0x0:_0x5a1435[_0x4b7f33(0x4d3)])??null;if(!_0x352e09)return null;let _0x270ece=_0x5f0743['fields'][_0x352e09];return _0x270ece&&this['_capabilities'](_0x270ece)[_0x4b7f33(0x33a)]?_0x270ece['id']:null;}[_0x2b8d6a(0x36e)](_0x122e90,_0x370b30,_0x3e73f3){const _0x46ec91=_0x2b8d6a;var _0x558b49,_0x375059,_0x19360e;let _0x52b76b=_0x3e73f3[_0x46ec91(0x239)]??{},_0x480919=((_0x558b49=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x558b49[_0x46ec91(0x4cf)])??_0xb8c8b0(_0x122e90),_0x16b023=_0x3e73f3[_0x46ec91(0x4d3)]??((_0x375059=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x375059[_0x46ec91(0x4d3)])??null,_0x38798e=(_0x19360e=_0x3e73f3[_0x46ec91(0x367)])!=null&&(_0x19360e=_0x19360e[_0x46ec91(0x4a6)])!=null&&_0x19360e[_0x46ec91(0x3d4)]?_0x3e73f3[_0x46ec91(0x367)][_0x46ec91(0x4a6)]:_0x47838f(_0x122e90,[_0x480919,_0x16b023,_0x122e90[_0x46ec91(0x4b4)]]);return _0x38798e['filter'](_0x24a245=>{const _0x3e11b2=_0x46ec91;var _0xdaa656,_0x27a8c4;let _0x20b0a2=_0x122e90['fields'][_0x24a245];return!(!_0x20b0a2||_0x20b0a2[_0x3e11b2(0x27a)]===!0x0||_0x20b0a2[_0x3e11b2(0x1cc)]===_0xcf3cf2[_0x3e11b2(0x435)]['RecordId']||_0x20b0a2['id']===_0x480919||_0x20b0a2['id']===_0x16b023||(_0xdaa656=_0x370b30[_0x3e11b2(0x239)])!=null&&(_0xdaa656=_0xdaa656[_0x24a245])!=null&&_0xdaa656[_0x3e11b2(0x4e3)]||(_0x27a8c4=_0x52b76b[_0x24a245])!=null&&_0x27a8c4[_0x3e11b2(0x4e3)]);})['sort']((_0x5853f2,_0x3cb42f)=>{const _0x234764=_0x46ec91;var _0x2baca1,_0x25ae9d;return(((_0x2baca1=_0x52b76b[_0x5853f2])==null?void 0x0:_0x2baca1['order'])??_0x38798e['indexOf'](_0x5853f2))-(((_0x25ae9d=_0x52b76b[_0x3cb42f])==null?void 0x0:_0x25ae9d[_0x234764(0x281)])??_0x38798e[_0x234764(0x267)](_0x3cb42f));});}[_0x2b8d6a(0x352)](_0x4f8501,_0x307f2f){const _0x1a42f3=_0x2b8d6a;var _0x41084a;return((_0x41084a=_0x307f2f['fieldOrder'])!=null&&_0x41084a[_0x1a42f3(0x3d4)]?_0x307f2f[_0x1a42f3(0x4ab)]:_0x4f8501[_0x1a42f3(0x4ab)])['flatMap'](_0x3ad3ba=>{const _0x463571=_0x1a42f3;var _0x4efe61;let _0x56f3ce=_0x4f8501[_0x463571(0x3b5)][_0x3ad3ba],_0x27dc39=((_0x4efe61=_0x307f2f[_0x463571(0x239)])==null?void 0x0:_0x4efe61[_0x3ad3ba])??{};return!_0x56f3ce||_0x56f3ce['system']===!0x0||_0x56f3ce[_0x463571(0x1cc)]===_0xcf3cf2[_0x463571(0x435)][_0x463571(0x46d)]||_0x27dc39[_0x463571(0x4e3)]?[]:[{'id':_0x56f3ce['id'],'name':_0x56f3ce[_0x463571(0x456)],'description':_0x56f3ce['description'],'type':_0x56f3ce['type'],'config':_0x56f3ce[_0x463571(0x5a3)],'width':_0x27dc39[_0x463571(0x397)],'setting':_0x27dc39}];});}[_0x2b8d6a(0x40e)](_0x42ee0a,_0xee9812){const _0xcfae84=_0x2b8d6a;var _0x3d1ef9;return _0x4baece(_0xcfae84(0x1f7),()=>{const _0x26ace7=_0xcfae84;var _0x139f63,_0x15a831;let _0x3510ec=this[_0x26ace7(0x361)](_0x42ee0a),_0x4a6d1c=this[_0x26ace7(0x5b0)](_0x42ee0a['id'],_0xee9812),_0x342c87=this['_getCellRevision'](_0x42ee0a['id']),_0x39c73b=this[_0x26ace7(0x39c)]['get'](_0x4a6d1c);if(_0x39c73b&&_0x39c73b[_0x26ace7(0x261)]===this[_0x26ace7(0x3aa)]&&_0x39c73b[_0x26ace7(0x211)]===this[_0x26ace7(0x5e2)](_0x42ee0a['id'])){if(_0x39c73b[_0x26ace7(0x5e5)]===_0x342c87&&_0x39c73b[_0x26ace7(0x260)]===_0x3510ec)return _0x39c73b[_0x26ace7(0x5e6)];if(_0x39c73b[_0x26ace7(0x5e5)]!==_0x342c87&&!this[_0x26ace7(0x47b)](_0x42ee0a['id'],_0x39c73b['cellRevision'],_0x342c87,this[_0x26ace7(0x204)](_0xee9812))){let _0x48d044=_0x39c73b[_0x26ace7(0x5e6)]===_0x39c73b[_0x26ace7(0x260)]?_0x3510ec:this[_0x26ace7(0x58b)](_0x39c73b[_0x26ace7(0x5e6)],_0x3510ec);if(_0x48d044)return this[_0x26ace7(0x39c)][_0x26ace7(0x22b)](_0x4a6d1c,{..._0x39c73b,'rows':_0x48d044,'baseRows':_0x3510ec,'cellRevision':_0x342c87}),_0x48d044;}}let _0x32a0d9=_0x4baece(_0x26ace7(0x427),()=>this[_0x26ace7(0x2ca)](_0x42ee0a,_0xee9812,this[_0x26ace7(0x247)](_0x42ee0a,_0xee9812,_0x3510ec)),{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0x26ace7(0x1cc)],'rows':_0x3510ec[_0x26ace7(0x3d4)],'filters':(_0xee9812==null||(_0x139f63=_0xee9812[_0x26ace7(0x355)])==null?void 0x0:_0x139f63[_0x26ace7(0x4ef)][_0x26ace7(0x3d4)])??0x0,'sorts':(_0xee9812==null||(_0x15a831=_0xee9812['sort'])==null?void 0x0:_0x15a831[_0x26ace7(0x3d4)])??0x0});return this['_projectedViewRowsCache'][_0x26ace7(0x22b)](_0x4a6d1c,{'table':_0x42ee0a,'rows':_0x32a0d9,'baseRows':_0x3510ec,'globalRevision':this[_0x26ace7(0x3aa)],'tableRevision':this[_0x26ace7(0x5e2)](_0x42ee0a['id']),'cellRevision':_0x342c87}),_0x32a0d9;},{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0xcfae84(0x1cc)],'records':((_0x3d1ef9=_0x42ee0a[_0xcfae84(0x5ab)])==null?void 0x0:_0x3d1ef9[_0xcfae84(0x3d4)])??Object[_0xcfae84(0x582)](_0x42ee0a['records']??{})[_0xcfae84(0x3d4)]});}[_0x2b8d6a(0x361)](_0xb0e6f9){const _0x165492=_0x2b8d6a;var _0x2f7c88;return _0x4baece(_0x165492(0x573),()=>{const _0x5d9f3c=_0x165492;var _0x2f3e85;let _0xa3c047=this[_0x5d9f3c(0x559)](_0xb0e6f9['id']),_0x48b4cb=this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x4f0)](_0xb0e6f9['id']);if(_0x48b4cb&&_0x48b4cb[_0x5d9f3c(0x261)]===this['_globalRevision']&&_0x48b4cb[_0x5d9f3c(0x211)]===this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id'])){if(_0x48b4cb[_0x5d9f3c(0x5e5)]===_0xa3c047&&_0x3118fb(_0x48b4cb[_0x5d9f3c(0x4b0)],_0xb0e6f9))return _0x48b4cb[_0x5d9f3c(0x4b0)]=_0xb0e6f9,_0x48b4cb['rows'];let _0x3b774a=this['_patchProjectedRowsForCellInvalidations'](_0xb0e6f9,_0x48b4cb,_0xa3c047);if(_0x3b774a)return _0x3b774a;}_0x2d7815(_0xb0e6f9)||_0x5d33ae(_0xb0e6f9);let _0x31884e=(_0x2f3e85=_0xb0e6f9['recordOrder'])!=null&&_0x2f3e85[_0x5d9f3c(0x3d4)]?_0xb0e6f9[_0x5d9f3c(0x5ab)]:_0x234b71(_0xb0e6f9[_0x5d9f3c(0x38a)]),_0x415e6a=_0x4baece(_0x5d9f3c(0x2da),()=>{const _0x4991a6=_0x5d9f3c;let _0x14fb4e=[];for(let _0x210962 of _0x31884e){let _0xba7d8d=_0xb0e6f9[_0x4991a6(0x38a)][_0x210962];if(!_0xba7d8d)continue;let _0x21a5b9={};for(let _0x5350b9 of _0xb0e6f9[_0x4991a6(0x4ab)])_0x21a5b9[_0x5350b9]=_0x4bd91a(_0xb0e6f9,_0xba7d8d['id'],_0x5350b9);_0x14fb4e['push']({'recordId':_0xba7d8d['id'],'values':_0x21a5b9});}return _0x14fb4e;},{'tableId':_0xb0e6f9['id'],'records':_0x31884e['length'],'fields':_0xb0e6f9[_0x5d9f3c(0x4ab)]['length']});return this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x22b)](_0xb0e6f9['id'],{'table':_0xb0e6f9,'rows':_0x415e6a,'rowIndexById':_0x50df97(_0x415e6a),'globalRevision':this[_0x5d9f3c(0x3aa)],'tableRevision':this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id']),'cellRevision':_0xa3c047}),_0x415e6a;},{'tableId':_0xb0e6f9['id'],'records':((_0x2f7c88=_0xb0e6f9[_0x165492(0x5ab)])==null?void 0x0:_0x2f7c88[_0x165492(0x3d4)])??Object[_0x165492(0x582)](_0xb0e6f9[_0x165492(0x38a)]??{})['length'],'fields':_0xb0e6f9[_0x165492(0x4ab)][_0x165492(0x3d4)]});}[_0x2b8d6a(0x4bd)](_0x53782f,_0x4abbd3,_0xa41214){const _0x3be102=_0x2b8d6a;let _0x278860=(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])['filter'](_0x503fd5=>_0x503fd5[_0x3be102(0x53b)]>_0x4abbd3['cellRevision']&&_0x503fd5[_0x3be102(0x53b)]<=_0xa41214);if(!_0x278860[_0x3be102(0x3d4)])return _0x4abbd3['table']===_0x53782f?_0x4abbd3[_0x3be102(0x5e6)]:null;let _0x648d79=_0x4abbd3[_0x3be102(0x5e6)],_0x5d0e24=new Map();for(let _0x6cdc93 of _0x278860){let _0xa5e353=_0x5d0e24[_0x3be102(0x4f0)](_0x6cdc93[_0x3be102(0x57e)]);_0xa5e353||(_0xa5e353=new Set(),_0x5d0e24[_0x3be102(0x22b)](_0x6cdc93['recordId'],_0xa5e353)),_0xa5e353['add'](_0x6cdc93['fieldId']);}for(let [_0x4462da,_0x4b4551]of _0x5d0e24){if(!_0x53782f[_0x3be102(0x38a)][_0x4462da])return null;let _0x4b0e60=_0x4abbd3[_0x3be102(0x601)]['get'](_0x4462da);if(_0x4b0e60==null)return null;_0x648d79===_0x4abbd3['rows']&&(_0x648d79=[..._0x4abbd3['rows']]);let _0x507069=_0x648d79[_0x4b0e60],_0x37cd77={..._0x507069['values']};_0x4b4551['forEach'](_0x1e5193=>{_0x37cd77[_0x1e5193]=_0x4bd91a(_0x53782f,_0x4462da,_0x1e5193);}),_0x648d79[_0x4b0e60]={..._0x507069,'values':_0x37cd77};}let _0x39e88b={'table':_0x53782f,'rows':_0x648d79,'rowIndexById':_0x4abbd3[_0x3be102(0x601)],'globalRevision':this[_0x3be102(0x3aa)],'tableRevision':this[_0x3be102(0x5e2)](_0x53782f['id']),'cellRevision':_0xa41214};return this['_projectedRowsCache'][_0x3be102(0x22b)](_0x53782f['id'],_0x39e88b),this[_0x3be102(0x49d)][_0x3be102(0x22b)](_0x53782f['id'],(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])[_0x3be102(0x355)](_0x3beeaa=>_0x3beeaa[_0x3be102(0x53b)]>Math['max'](0x0,_0xa41214-0x100))),_0x648d79;}[_0x2b8d6a(0x58b)](_0x2e08e5,_0x2fe53a){const _0x44b247=_0x2b8d6a;let _0x12df72=new Map(_0x2fe53a[_0x44b247(0x2c4)](_0x6aacd3=>[_0x6aacd3[_0x44b247(0x57e)],_0x6aacd3])),_0x57debd=!0x1,_0x41934=_0x2e08e5['map'](_0x1bc902=>{const _0x471336=_0x44b247;let _0x47841d=_0x12df72['get'](_0x1bc902[_0x471336(0x57e)]);return _0x47841d?_0x47841d===_0x1bc902?_0x1bc902:(_0x57debd=!0x0,_0x47841d):_0x1bc902;});return _0x57debd?_0x41934:_0x2e08e5;}['_cellInvalidationsTouchFields'](_0x3ebec9,_0x35b990,_0x1efefd,_0x505015){const _0x364813=_0x2b8d6a;return!_0x505015[_0x364813(0x219)]||_0x35b990===_0x1efefd?!0x1:_0x1efefd-_0x35b990>0x100||(this[_0x364813(0x49d)]['get'](_0x3ebec9)??[])[_0x364813(0x20f)](_0x21b33f=>_0x21b33f[_0x364813(0x53b)]>_0x35b990&&_0x21b33f[_0x364813(0x53b)]<=_0x1efefd&&_0x505015[_0x364813(0x244)](_0x21b33f[_0x364813(0x580)]));}[_0x2b8d6a(0x204)](_0x4a7944){const _0xc540d4=_0x2b8d6a;var _0x179d60,_0x56f083;let _0x29e377=new Set();return _0x4a7944==null||(_0x179d60=_0x4a7944[_0xc540d4(0x355)])==null||_0x179d60[_0xc540d4(0x4ef)][_0xc540d4(0x458)](_0xa4975=>_0x29e377['add'](_0xa4975[_0xc540d4(0x580)])),_0x4a7944==null||(_0x56f083=_0x4a7944[_0xc540d4(0x24e)])==null||_0x56f083[_0xc540d4(0x458)](_0x31cbc4=>_0x29e377[_0xc540d4(0x1d6)](_0x31cbc4[_0xc540d4(0x580)])),_0x29e377;}['_groupProjectionFieldIds'](_0xfc2f1e){const _0x10b223=_0x2b8d6a;var _0x7341ec;let _0x4d4daf=this[_0x10b223(0x204)](_0xfc2f1e);return(_0x7341ec=_0xfc2f1e[_0x10b223(0x484)])==null||_0x7341ec[_0x10b223(0x458)](_0xd2fdfc=>_0x4d4daf['add'](_0xd2fdfc[_0x10b223(0x580)])),_0x4d4daf;}[_0x2b8d6a(0x247)](_0x2a3d32,_0x103344,_0x18349a){const _0x319f47=_0x2b8d6a;let _0x4896b7=_0x103344==null?void 0x0:_0x103344['filter'];if(!(_0x4896b7!=null&&_0x4896b7['conditions'][_0x319f47(0x3d4)]))return _0x18349a;let _0x1f4219=_0x4896b7[_0x319f47(0x4ef)]['filter'](_0x39e475=>!_0x1a07c9(_0x39e475));return _0x1f4219[_0x319f47(0x3d4)]?_0x18349a['filter'](_0x2a2149=>{const _0x1521ae=_0x319f47;if(_0x4896b7[_0x1521ae(0x1df)]===_0xcf3cf2[_0x1521ae(0x4bc)]['OR']){for(let _0x42102d of _0x1f4219){let _0x182252=_0x2a3d32[_0x1521ae(0x3b5)][_0x42102d[_0x1521ae(0x580)]];if(!_0x182252||this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x182252[_0x1521ae(0x1cc)])[_0x1521ae(0x355)](_0x2a2149['values'][_0x182252['id']],_0x42102d[_0x1521ae(0x1e5)],_0x42102d[_0x1521ae(0x37e)],_0x182252))return!0x0;}return!0x1;}for(let _0x404746 of _0x1f4219){let _0x339234=_0x2a3d32[_0x1521ae(0x3b5)][_0x404746[_0x1521ae(0x580)]];if(_0x339234&&!this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x339234['type'])[_0x1521ae(0x355)](_0x2a2149[_0x1521ae(0x404)][_0x339234['id']],_0x404746[_0x1521ae(0x1e5)],_0x404746['operand'],_0x339234))return!0x1;}return!0x0;}):_0x18349a;}[_0x2b8d6a(0x2ca)](_0x51fff6,_0x11dbe4,_0x5224f6){const _0x4c9a50=_0x2b8d6a;let _0x22675e=(_0x11dbe4==null?void 0x0:_0x11dbe4[_0x4c9a50(0x24e)])??[];if(!_0x22675e['length'])return _0x5224f6;let _0xdbd5=_0x22675e[_0x4c9a50(0x5d0)](_0x1ecd8b=>{const _0x3fe53d=_0x4c9a50;let _0xebdc06=_0x51fff6[_0x3fe53d(0x3b5)][_0x1ecd8b[_0x3fe53d(0x580)]];return _0xebdc06?[{..._0x1ecd8b,'field':_0xebdc06}]:[];});return _0xdbd5[_0x4c9a50(0x3d4)]?this[_0x4c9a50(0x566)](_0xdbd5)?this['_fastSortRows'](_0xdbd5,_0x5224f6):[..._0x5224f6]['sort']((_0x34d4e9,_0x3d36d0)=>{const _0x2c7089=_0x4c9a50;for(let _0x5dd1fc of _0xdbd5){let _0x2a13b6=_0x5dd1fc[_0x2c7089(0x48c)],_0x150404=this[_0x2c7089(0x32a)][_0x2c7089(0x4f0)](_0x2a13b6['type'])['compare'](_0x34d4e9[_0x2c7089(0x404)][_0x2a13b6['id']],_0x3d36d0[_0x2c7089(0x404)][_0x2a13b6['id']],_0x2a13b6);if(_0x150404!==0x0)return _0x5dd1fc[_0x2c7089(0x41d)]===_0xcf3cf2['BaseSortDirection'][_0x2c7089(0x57f)]?-_0x150404:_0x150404;}return 0x0;}):_0x5224f6;}[_0x2b8d6a(0x566)](_0x1eee8e){const _0x5a872c=_0x2b8d6a;return _0x1eee8e['every'](_0x493dad=>_0x17654f[_0x5a872c(0x244)](_0x493dad['field'][_0x5a872c(0x1cc)]));}[_0x2b8d6a(0x51a)](_0x121547,_0x69e47b){const _0x3a8208=_0x2b8d6a;return _0x69e47b['map']((_0x2ca292,_0xaec4e)=>({'row':_0x2ca292,'index':_0xaec4e,'keys':_0x121547[_0x3a8208(0x2c4)](_0x23979e=>_0x2ca292['values'][_0x23979e[_0x3a8208(0x580)]])}))[_0x3a8208(0x24e)]((_0x25d806,_0x35fb3d)=>{const _0x4707ae=_0x3a8208;for(let _0x5259bc=0x0;_0x5259bc<_0x121547[_0x4707ae(0x3d4)];_0x5259bc++){let _0x101d24=_0x4746d2(_0x25d806['keys'][_0x5259bc],_0x35fb3d[_0x4707ae(0x582)][_0x5259bc]);if(_0x101d24!==0x0)return _0x121547[_0x5259bc]['direction']===_0xcf3cf2['BaseSortDirection'][_0x4707ae(0x57f)]?-_0x101d24:_0x101d24;}return _0x25d806[_0x4707ae(0x295)]-_0x35fb3d['index'];})[_0x3a8208(0x2c4)](_0x2c350a=>_0x2c350a[_0x3a8208(0x53e)]);}[_0x2b8d6a(0x57d)](_0x416876,_0x19f4ad,_0xaccb1e){const _0x44d312=_0x2b8d6a;var _0x1f667f;return _0x4baece(_0x44d312(0x308),()=>{const _0x55b1d4=_0x44d312;var _0xcbc77b;if(!((_0xcbc77b=_0x19f4ad[_0x55b1d4(0x484)])!=null&&_0xcbc77b['length']))return[];let _0x1e43c7=_0x19f4ad[_0x55b1d4(0x484)][_0x55b1d4(0x355)](_0x4fe30c=>_0x416876['fields'][_0x4fe30c[_0x55b1d4(0x580)]]);if(!_0x1e43c7[_0x55b1d4(0x3d4)])return[];let _0x556408=this[_0x55b1d4(0x341)](_0x416876['id'],_0x19f4ad,_0x1e43c7),_0x2abc58=this['_getCellRevision'](_0x416876['id']),_0x1ab252=this[_0x55b1d4(0x529)][_0x55b1d4(0x4f0)](_0x556408);if(_0x1ab252&&_0x1ab252[_0x55b1d4(0x261)]===this[_0x55b1d4(0x3aa)]&&_0x1ab252[_0x55b1d4(0x211)]===this[_0x55b1d4(0x5e2)](_0x416876['id'])){if(_0x1ab252[_0x55b1d4(0x5e5)]===_0x2abc58&&_0x1ab252[_0x55b1d4(0x5e6)]===_0xaccb1e)return _0x1ab252[_0x55b1d4(0x207)];if(_0x1ab252['cellRevision']!==_0x2abc58&&!this[_0x55b1d4(0x47b)](_0x416876['id'],_0x1ab252['cellRevision'],_0x2abc58,this['_groupProjectionFieldIds'](_0x19f4ad)))return this[_0x55b1d4(0x529)][_0x55b1d4(0x22b)](_0x556408,{..._0x1ab252,'rows':_0xaccb1e,'cellRevision':_0x2abc58}),_0x1ab252[_0x55b1d4(0x207)];}let _0x40c515=new Map();for(let _0x1c8eae of _0xaccb1e){let _0x5bc6c9=_0x40c515,_0x2ca211='';for(let _0xf8dc68=0x0;_0xf8dc68<_0x1e43c7[_0x55b1d4(0x3d4)];_0xf8dc68++){let _0x457a51=_0x1e43c7[_0xf8dc68],_0x11f9d9=_0x1c8eae['values'][_0x457a51[_0x55b1d4(0x580)]],_0x153b9e=_0x104b5b(_0x11f9d9),_0x6083a4=_0x457a51[_0x55b1d4(0x580)]+'\x00'+_0x153b9e,_0x189e2f=_0x2ca211+'/'+_0x457a51['fieldId']+':'+_0x153b9e,_0x39f13d=_0x5bc6c9[_0x55b1d4(0x4f0)](_0x6083a4);_0x39f13d||(_0x39f13d={'key':_0x153b9e,'value':_0x11f9d9,'path':_0x189e2f,'label':_0x153b9e||_0x55b1d4(0x45b),'fieldId':_0x457a51[_0x55b1d4(0x580)],'level':_0xf8dc68,'recordIds':[],'children':new Map()},_0x5bc6c9['set'](_0x6083a4,_0x39f13d)),_0x39f13d[_0x55b1d4(0x5b2)]['push'](_0x1c8eae[_0x55b1d4(0x57e)]),_0x5bc6c9=_0x39f13d[_0x55b1d4(0x1fb)],_0x2ca211=_0x189e2f;}}let _0x1fb76e=this[_0x55b1d4(0x332)](_0x1e43c7,_0x40c515,0x0);return this['_projectedGroupsCache']['set'](_0x556408,{'table':_0x416876,'rows':_0xaccb1e,'groups':_0x1fb76e,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55b1d4(0x5e2)](_0x416876['id']),'cellRevision':_0x2abc58}),_0x1fb76e;},{'tableId':_0x416876['id'],'viewId':_0x19f4ad['id'],'viewType':_0x19f4ad[_0x44d312(0x1cc)],'rows':_0xaccb1e[_0x44d312(0x3d4)],'groupFields':((_0x1f667f=_0x19f4ad['group'])==null?void 0x0:_0x1f667f['length'])??0x0});}[_0x2b8d6a(0x332)](_0x31dd38,_0x5b57e2,_0x4a29ae){const _0x40ed8b=_0x2b8d6a;var _0x42fa2d;let _0x46f39d=Array['from'](_0x5b57e2[_0x40ed8b(0x404)]()),_0x174a91=(_0x42fa2d=_0x31dd38[_0x4a29ae])==null?void 0x0:_0x42fa2d['direction'];return _0x174a91&&_0x46f39d['sort']((_0x4a651f,_0x19520e)=>{const _0x1f9493=_0x40ed8b;let _0x1b5a54=_0x4a651f['key'][_0x1f9493(0x1f9)](_0x19520e[_0x1f9493(0x2fc)]);return _0x174a91===_0xcf3cf2['BaseSortDirection']['DESC']?-_0x1b5a54:_0x1b5a54;}),_0x46f39d['map'](_0xd4c74e=>({'key':_0xd4c74e[_0x40ed8b(0x2fc)],'value':_0xd4c74e['value'],'path':_0xd4c74e[_0x40ed8b(0x342)],'label':_0xd4c74e['label'],'fieldId':_0xd4c74e[_0x40ed8b(0x580)],'level':_0xd4c74e[_0x40ed8b(0x4a7)],'recordIds':_0xd4c74e[_0x40ed8b(0x5b2)],'children':this[_0x40ed8b(0x332)](_0x31dd38,_0xd4c74e[_0x40ed8b(0x1fb)],_0x4a29ae+0x1)}));}[_0x2b8d6a(0x2a2)](_0x117b9d,_0x7c6f6b,_0x15a7f5){const _0x56b10b=_0x2b8d6a;let _0xa11f5f=_0x15a7f5??_0x117b9d[_0x56b10b(0x4b4)],_0x58162b=_0x7c6f6b['values'][_0xa11f5f];return _0x58162b==null?'':String(_0x58162b);}[_0x2b8d6a(0x51e)](_0x36a095){const _0x58508e=_0x2b8d6a;if(Array[_0x58508e(0x2a1)](_0x36a095))return _0x36a095[_0x58508e(0x2c4)](String);if(typeof _0x36a095==_0x58508e(0x3ea)&&_0x36a095)return[_0x36a095];}[_0x2b8d6a(0x539)](_0x5eab2c){const _0x3695a0=_0x2b8d6a;return this['_fieldRegistry'][_0x3695a0(0x4f0)](_0x5eab2c['type'])['getCapabilities'](_0x5eab2c);}};_0x270515=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x3dec17))],_0x270515);function _0x104b5b(_0x496113){return _0x496113==null?'':String(_0x496113);}function _0x50df97(_0x1949f4){const _0x26998b=_0x2b8d6a;return new Map(_0x1949f4[_0x26998b(0x2c4)]((_0x5264d2,_0x5e3187)=>[_0x5264d2[_0x26998b(0x57e)],_0x5e3187]));}function _0x2d7815(_0x1412aa){const _0x320fec=_0x2b8d6a;return!!(Array[_0x320fec(0x2a1)](_0x1412aa[_0x320fec(0x5ab)])&&_0x1412aa[_0x320fec(0x29a)]&&_0x1412aa[_0x320fec(0x369)]&&_0x1412aa[_0x320fec(0x1f5)]&&_0x1412aa[_0x320fec(0x4df)]&&_0x1412aa[_0x320fec(0x2a3)]);}function _0x5ddb6f(_0x4a6bf2){const _0x5e9351=_0x2b8d6a;let _0xb0a092=(_0x4a6bf2==null?void 0x0:_0x4a6bf2[_0x5e9351(0x4ef)][_0x5e9351(0x355)](_0x47e35e=>!_0x1a07c9(_0x47e35e)))??[];return!_0x4a6bf2||!_0xb0a092[_0x5e9351(0x3d4)]?null:{'conjunction':_0x4a6bf2[_0x5e9351(0x1df)],'conditions':_0xb0a092['map'](_0x1b3524=>({'fieldId':_0x1b3524[_0x5e9351(0x580)],'operator':_0x1b3524[_0x5e9351(0x1e5)],'operand':_0x1b3524[_0x5e9351(0x37e)]}))};}function _0x3118fb(_0x17a21f,_0x52729b){const _0x1b8f35=_0x2b8d6a;return _0x17a21f['records']===_0x52729b[_0x1b8f35(0x38a)]&&_0x17a21f[_0x1b8f35(0x5ab)]===_0x52729b[_0x1b8f35(0x5ab)]&&_0x17a21f[_0x1b8f35(0x3b5)]===_0x52729b[_0x1b8f35(0x3b5)]&&_0x17a21f['fieldOrder']===_0x52729b[_0x1b8f35(0x4ab)]&&_0x17a21f['cellData']===_0x52729b[_0x1b8f35(0x2a3)]&&_0x17a21f[_0x1b8f35(0x29a)]===_0x52729b[_0x1b8f35(0x29a)]&&_0x17a21f[_0x1b8f35(0x369)]===_0x52729b[_0x1b8f35(0x369)]&&_0x17a21f['colIndex']===_0x52729b['colIndex']&&_0x17a21f[_0x1b8f35(0x4df)]===_0x52729b['colId'];}function _0x16dfff(_0x170a54){const _0x58e538=_0x2b8d6a;return _0x170a54!=null&&_0x170a54[_0x58e538(0x3d4)]?_0x170a54[_0x58e538(0x2c4)](_0x46ba0e=>({'fieldId':_0x46ba0e[_0x58e538(0x580)],'direction':_0x46ba0e[_0x58e538(0x41d)]})):null;}function _0x1776c9(_0x4cb18d){const _0x39c5c9=_0x2b8d6a;if(typeof _0x4cb18d!='object'||!_0x4cb18d)return JSON[_0x39c5c9(0x322)](_0x4cb18d)??_0x39c5c9(0x607);if(Array[_0x39c5c9(0x2a1)](_0x4cb18d))return'['+_0x4cb18d[_0x39c5c9(0x2c4)](_0x1776c9)['join'](',')+']';let _0x34649d=_0x4cb18d;return'{'+Object[_0x39c5c9(0x582)](_0x34649d)[_0x39c5c9(0x24e)]()[_0x39c5c9(0x2c4)](_0x4a855b=>JSON['stringify'](_0x4a855b)+':'+_0x1776c9(_0x34649d[_0x4a855b]))[_0x39c5c9(0x600)](',')+'}';}function _0x234b71(_0x19c73a){const _0x3885b9=_0x2b8d6a;let _0x14a55d=Object[_0x3885b9(0x404)](_0x19c73a)['sort']((_0x1b4021,_0x4c20c0)=>_0x1b4021['orderKey'][_0x3885b9(0x1f9)](_0x4c20c0['orderKey'])),_0x1fa39f=[];for(let _0x3bfe7b of _0x14a55d)_0x1fa39f[_0x3885b9(0x309)](_0x3bfe7b['id']);return _0x1fa39f;}function _0x399482(_0x2a9c2c){const _0x321b50=_0x2b8d6a;return{'weekdays':Array[_0x321b50(0x2a1)](_0x2a9c2c==null?void 0x0:_0x2a9c2c['weekdays'])&&_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x3d4)]?[...new Set(_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x355)](_0x21c5e3=>Number[_0x321b50(0x1f0)](_0x21c5e3)&&_0x21c5e3>=0x1&&_0x21c5e3<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x2a9c2c==null?void 0x0:_0x2a9c2c['exceptions'])?_0x2a9c2c[_0x321b50(0x3a1)][_0x321b50(0x5d0)](_0x59b71f=>!_0x59b71f||!Number['isFinite'](_0x59b71f[_0x321b50(0x570)])?[]:[{'id':String(_0x59b71f['id']||_0x321b50(0x42d)+_0x59b71f[_0x321b50(0x570)]),'date':_0x5c3e33(Number(_0x59b71f[_0x321b50(0x570)])),'name':String(_0x59b71f[_0x321b50(0x456)]||_0x321b50(0x53c)),'type':_0x59b71f[_0x321b50(0x1cc)]==='working'?_0x321b50(0x532):_0x321b50(0x534)}]):[]};}function _0xe7172b(_0x4dea86,_0x48b2fe,_0x12894e,_0x15fc9e){let _0x160d86=_0x4588ae(_0x4dea86,_0x48b2fe),_0x4acde9=_0x3897ba(_0x4dea86,_0x12894e),_0x111927=_0x273c1a(_0x4dea86,_0x160d86,_0x4acde9,_0x15fc9e);return{'scale':_0x4dea86,'start':_0x160d86,'end':_0x4acde9,'unitWidth':_0x3c1394(_0x4dea86),'majorHeaders':_0x215025(_0x4dea86,_0x160d86,_0x4acde9),'columns':_0x111927};}function _0x273c1a(_0x50fa6b,_0x4e05ab,_0x456493,_0x4e791a){const _0x3f96c3=_0x2b8d6a;let _0x5dde09=[],_0x53e195=_0x4e05ab;for(;_0x53e195<_0x456493;){let _0x5cd501=_0x50fa6b===_0x3f96c3(0x583)?_0x377421(_0x53e195,0x7):_0x50fa6b===_0x3f96c3(0x437)?_0x1f22fa(_0x53e195,0x1):_0x377421(_0x53e195,0x1);_0x5dde09['push']({'id':_0x50fa6b+'-'+_0x53e195,'label':_0x55a568(_0x50fa6b,_0x53e195,_0x5cd501),'majorLabel':_0x537271(_0x50fa6b,_0x53e195),'start':_0x53e195,'end':_0x5cd501,'nonWorking':_0x2a5c80(_0x53e195,_0x5cd501,_0x4e791a)}),_0x53e195=_0x5cd501;}return _0x5dde09;}function _0x215025(_0x445521,_0x3c7990,_0xd37d35){const _0x2cd3b5=_0x2b8d6a;let _0x4192d0=[],_0x18eb5e=_0x445521===_0x2cd3b5(0x437)?_0x53c8da(_0x3c7990):_0x117564(_0x3c7990);for(;_0x18eb5e<_0xd37d35;){let _0x36c507=_0x445521===_0x2cd3b5(0x437)?_0x180823(_0x18eb5e,0x1):_0x1f22fa(_0x18eb5e,0x1);_0x4192d0[_0x2cd3b5(0x309)]({'id':'major-'+_0x18eb5e,'label':_0x445521===_0x2cd3b5(0x437)?String(new Date(_0x18eb5e)['getUTCFullYear']()):_0x1b27a9(_0x18eb5e),'start':_0x18eb5e,'end':_0x36c507}),_0x18eb5e=_0x36c507;}return _0x4192d0;}function _0x3c1394(_0x4c0493){const _0x4b9deb=_0x2b8d6a;switch(_0x4c0493){case _0x4b9deb(0x2c7):return 0xac;case _0x4b9deb(0x583):return 0xac;case _0x4b9deb(0x437):return 0x88;default:return 0x56;}}function _0x4588ae(_0x1c82ef,_0x31d653){const _0xe02a37=_0x2b8d6a;return _0x1c82ef===_0xe02a37(0x437)?_0x53c8da(_0x31d653):_0x1c82ef===_0xe02a37(0x583)?_0x19c80e(_0x31d653):_0x5c3e33(_0x31d653);}function _0x3897ba(_0x446e2e,_0x39e145){const _0x19179b=_0x2b8d6a;return _0x446e2e===_0x19179b(0x437)?_0x180823(_0x53c8da(_0x39e145),0x1):_0x446e2e==='quarter'?_0x377421(_0x19c80e(_0x39e145),0x7):_0x377421(_0x5c3e33(_0x39e145),0x1);}function _0x55a568(_0x53ee6d,_0x3498b2,_0x3b604b){const _0x4c0f41=_0x2b8d6a;let _0x473811=new Date(_0x3498b2);return _0x53ee6d===_0x4c0f41(0x583)?_0x473811[_0x4c0f41(0x4b8)]()+'-'+new Date(_0x3b604b-_0x4f4166)['getUTCDate']():_0x53ee6d===_0x4c0f41(0x437)?_0x473811[_0x4c0f41(0x29e)](_0x4c0f41(0x421),{'month':_0x4c0f41(0x48e),'timeZone':_0x4c0f41(0x418)}):String(_0x473811[_0x4c0f41(0x4b8)]());}function _0x537271(_0x4a169d,_0xff8f48){const _0x67b61e=_0x2b8d6a;return _0x4a169d===_0x67b61e(0x437)?String(new Date(_0xff8f48)[_0x67b61e(0x446)]()):_0x1b27a9(_0xff8f48);}function _0x3465a0(_0x41b73c,_0x4edf57,_0x5765e0){let _0x65fde1=_0x399482(_0x5765e0),_0x511892=0x0;for(let _0x52b405=_0x5c3e33(_0x41b73c);_0x52b405<=_0x5c3e33(_0x4edf57);_0x52b405=_0x377421(_0x52b405,0x1))_0x42d7a6(_0x52b405,_0x65fde1)||_0x511892++;return _0x511892;}function _0x2a5c80(_0x19db32,_0xd6a430,_0x2482b4){if(!_0x2482b4)return!0x1;let _0xbba99a=_0x399482(_0x2482b4);for(let _0x20987f=_0x5c3e33(_0x19db32);_0x20987f<_0xd6a430;_0x20987f=_0x377421(_0x20987f,0x1))if(!_0x42d7a6(_0x20987f,_0xbba99a))return!0x1;return!0x0;}function _0x42d7a6(_0x2cd5b8,_0x254e35){const _0x39f575=_0x2b8d6a;let _0x4b9d77=_0x5c3e33(_0x2cd5b8),_0x12d2ff=_0x254e35['exceptions'][_0x39f575(0x22c)](_0x726d4=>_0x5c3e33(_0x726d4['date'])===_0x4b9d77);if(_0x12d2ff)return _0x12d2ff['type']===_0x39f575(0x534);let _0x213839=new Date(_0x4b9d77)[_0x39f575(0x3ad)](),_0x5a9523=_0x213839===0x0?0x7:_0x213839;return!_0x254e35[_0x39f575(0x2f9)][_0x39f575(0x299)](_0x5a9523);}function _0x5c3e33(_0x1df645){const _0x35ce7c=_0x2b8d6a;let _0x258da6=new Date(_0x1df645);return Date[_0x35ce7c(0x418)](_0x258da6[_0x35ce7c(0x446)](),_0x258da6[_0x35ce7c(0x3f1)](),_0x258da6[_0x35ce7c(0x4b8)]());}function _0x19c80e(_0x558e8c){const _0x46e6ae=_0x2b8d6a;let _0x9e24ef=_0x5c3e33(_0x558e8c),_0xeea2ba=new Date(_0x9e24ef)[_0x46e6ae(0x3ad)]();return _0x377421(_0x9e24ef,-(_0xeea2ba===0x0?0x6:_0xeea2ba-0x1));}function _0x117564(_0x4323c0){const _0x195870=_0x2b8d6a;let _0x4c0880=new Date(_0x4323c0);return Date[_0x195870(0x418)](_0x4c0880[_0x195870(0x446)](),_0x4c0880[_0x195870(0x3f1)](),0x1);}function _0x53c8da(_0x5bc167){const _0x3e2d67=_0x2b8d6a;let _0x3183e3=new Date(_0x5bc167);return Date[_0x3e2d67(0x418)](_0x3183e3['getUTCFullYear'](),0x0,0x1);}function _0x377421(_0x14c6fd,_0x69a4be){return _0x14c6fd+_0x69a4be*_0x4f4166;}function _0x1f22fa(_0x4f211e,_0x4afbb5){const _0x1db1e0=_0x2b8d6a;let _0xf80990=new Date(_0x4f211e);return Date[_0x1db1e0(0x418)](_0xf80990[_0x1db1e0(0x446)](),_0xf80990[_0x1db1e0(0x3f1)]()+_0x4afbb5,0x1);}function _0x180823(_0x567813,_0x1b1543){const _0xfda87d=_0x2b8d6a;let _0x31a1c5=new Date(_0x567813);return Date[_0xfda87d(0x418)](_0x31a1c5[_0xfda87d(0x446)]()+_0x1b1543,0x0,0x1);}function _0x1b27a9(_0x60fa56){const _0xf39b59=_0x2b8d6a;let _0x19b6ba=new Date(_0x60fa56);return _0x19b6ba['toLocaleString'](_0xf39b59(0x421),{'month':_0xf39b59(0x48e),'timeZone':_0xf39b59(0x418)})+'\x20'+_0x19b6ba[_0xf39b59(0x446)]();}function _0x4746d2(_0x4813ba,_0x4bebda){const _0x3a584c=_0x2b8d6a;if(_0x4813ba==null&&_0x4bebda==null)return 0x0;if(_0x4813ba==null)return-0x1;if(_0x4bebda==null)return 0x1;if(typeof _0x4813ba==_0x3a584c(0x511)||typeof _0x4bebda=='boolean')return Number(_0x4813ba===!0x0)-Number(_0x4bebda===!0x0);let _0x13d585=Number(_0x4813ba),_0x1a7887=Number(_0x4bebda),_0x22878a=Number[_0x3a584c(0x2b0)](_0x13d585),_0x1867a5=Number[_0x3a584c(0x2b0)](_0x1a7887);return _0x22878a&&_0x1867a5?_0x13d585-_0x1a7887:_0x22878a?0x1:_0x1867a5?-0x1:String(_0x4813ba)['localeCompare'](String(_0x4bebda));}function _0x1a07c9(_0x2adf6e){const _0x2dbd8a=_0x2b8d6a;if(_0x2adf6e[_0x2dbd8a(0x1e5)]!=='is'&&_0x2adf6e[_0x2dbd8a(0x1e5)]!=='isNot')return!0x1;let _0x3d9d73=_0x2adf6e[_0x2dbd8a(0x37e)];return _0x3d9d73==null?!0x0:typeof _0x3d9d73==_0x2dbd8a(0x3ea)?_0x3d9d73[_0x2dbd8a(0x479)]()==='':Array[_0x2dbd8a(0x2a1)](_0x3d9d73)?_0x3d9d73[_0x2dbd8a(0x3d4)]===0x0:!0x1;}function _0x58a201(_0x3b12a7,_0x4708de){const _0x51cb8f=_0x2b8d6a;var _0x544054;let _0x41e25e=Array['isArray']((_0x544054=_0x3b12a7[_0x51cb8f(0x5a3)])==null?void 0x0:_0x544054[_0x51cb8f(0x5cc)])?_0x3b12a7[_0x51cb8f(0x5a3)][_0x51cb8f(0x5cc)]:[];for(let _0x5f5129 of _0x41e25e){if(_0x5f5129==null)continue;if(typeof _0x5f5129==_0x51cb8f(0x3ea)){if(_0x5f5129===_0x4708de)return{'id':_0x5f5129,'name':_0x5f5129};continue;}let _0x164d2e=_0x5f5129,_0xb9629f=String(_0x164d2e['id']??_0x164d2e[_0x51cb8f(0x456)]??''),_0x3addb0=String(_0x164d2e[_0x51cb8f(0x456)]??_0x164d2e['id']??_0xb9629f);if(_0xb9629f===_0x4708de||_0x3addb0===_0x4708de)return{'id':_0xb9629f,'name':_0x3addb0,'color':_0x164d2e[_0x51cb8f(0x21d)]==null?void 0x0:String(_0x164d2e[_0x51cb8f(0x21d)])};}return null;}let _0x34db2c=function(_0x3730e5){const _0x3c7330=_0x2b8d6a;return _0x3730e5['CreateView']=_0x3c7330(0x556),_0x3730e5[_0x3c7330(0x537)]=_0x3c7330(0x5dc),_0x3730e5;}({}),_0x40f796={'id':_0x2b8d6a(0x304),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler'(_0x5baec5,_0x1b4ccd){const _0x4eb10f=_0x2b8d6a;let {unitId:_0x3f1163,op:_0x46f461}=_0x1b4ccd,_0x480d16=_0x5baec5[_0x4eb10f(0x4f0)](_0xcf3cf2[_0x4eb10f(0x56e)])[_0x4eb10f(0x425)](_0x3f1163,_0xcf3cf2[_0x4eb10f(0x2f8)][_0x4eb10f(0x2bf)]);if(!_0x480d16)return!0x1;let _0x2061de=_0x480d16['getSnapshot'](),_0x1e5645=new _0x3c7454(),_0x160d27=_0x1e5645[_0x4eb10f(0x235)](_0x46f461),_0x4881c0=_0x1e5645[_0x4eb10f(0x54e)](_0x2061de,_0x46f461);return _0x480d16[_0x4eb10f(0x268)](_0x4881c0),_0x463b94(_0x4881c0,_0x160d27,_0x5baec5[_0x4eb10f(0x4f0)](_0x5e90db)),!0x0;}};function _0x463b94(_0x1ec9ac,_0x1b90cb,_0x356ba1){const _0x27def7=_0x2b8d6a;let _0xaec99f=new Set(),_0x950d63=new Set(),_0x3936af=new Set();for(let _0x39d256 of _0x1b90cb){if(_0x39d256[_0x27def7(0x2e7)]===_0x27def7(0x2e6)&&_0x39d256['tableId']&&_0x39d256[_0x27def7(0x608)]){let _0x4a8b13=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256['viewId'];_0x3936af['has'](_0x4a8b13)||(_0x3936af['add'](_0x4a8b13),_0x356ba1[_0x27def7(0x4fd)](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x608)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]==='field'&&_0x39d256[_0x27def7(0x3e2)]&&_0x39d256[_0x27def7(0x580)]){let _0x2fa470=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256[_0x27def7(0x580)];_0x950d63[_0x27def7(0x244)](_0x2fa470)||(_0x950d63[_0x27def7(0x1d6)](_0x2fa470),_0x356ba1['invalidateByField'](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x580)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]!==_0x27def7(0x4c1)){_0x356ba1[_0x27def7(0x498)]();return;}let _0x4a66f1=_0x409835(_0x1ec9ac,_0x39d256);if(!_0x4a66f1){_0x356ba1['invalidateByOp']();return;}let _0x393c21=_0x4a66f1[_0x27def7(0x3e2)]+'\x00'+_0x4a66f1[_0x27def7(0x57e)]+'\x00'+_0x4a66f1[_0x27def7(0x580)];_0xaec99f[_0x27def7(0x244)](_0x393c21)||(_0xaec99f[_0x27def7(0x1d6)](_0x393c21),_0x356ba1['invalidateByCell'](_0x4a66f1[_0x27def7(0x3e2)],_0x4a66f1['recordId'],_0x4a66f1[_0x27def7(0x580)]));}}function _0x409835(_0x4add41,_0xbb0c58){const _0x2b958a=_0x2b8d6a;var _0x34f9ae,_0xad0b2c;if(!_0xbb0c58[_0x2b958a(0x3e2)])return null;if(_0xbb0c58[_0x2b958a(0x57e)]&&_0xbb0c58['fieldId'])return{'tableId':_0xbb0c58['tableId'],'recordId':_0xbb0c58['recordId'],'fieldId':_0xbb0c58[_0x2b958a(0x580)]};if(_0xbb0c58['row']==null||_0xbb0c58['column']==null)return null;let _0x32d793=_0x4add41[_0x2b958a(0x3d7)][_0xbb0c58[_0x2b958a(0x3e2)]],_0x23849a=_0x32d793==null||(_0x34f9ae=_0x32d793['rowId'])==null?void 0x0:_0x34f9ae[_0xbb0c58['row']],_0x51498d=_0x32d793==null||(_0xad0b2c=_0x32d793[_0x2b958a(0x4df)])==null?void 0x0:_0xad0b2c[_0xbb0c58['column']];return!_0x23849a||!_0x51498d?null:{'tableId':_0xbb0c58[_0x2b958a(0x3e2)],'recordId':_0x23849a,'fieldId':_0x51498d};}let _0x1472d6=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x48837e=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0xd67bea=/\{([^}]+)\}/g,_0x5e2187=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4c29fe=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x472412=_0xcf3cf2['regexp'][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x2bd556=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xb29993=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x9b039a=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x41a657=class{[_0x2b8d6a(0x343)](_0x3d5253,_0x578a28=_0x3d5253['id']){const _0x37c9df=_0x2b8d6a;var _0x12cd60;let _0xf7a5de=((_0x12cd60=_0x3d5253[_0x37c9df(0x5ab)])==null?void 0x0:_0x12cd60[_0x37c9df(0x3d4)])??Object['values'](_0x3d5253[_0x37c9df(0x38a)])['length'];return{'sheetId':_0x578a28,'titleMap':new Map(_0x3d5253[_0x37c9df(0x4ab)][_0x37c9df(0x2c4)]((_0x5aac86,_0x5b263a)=>{const _0x25e037=_0x37c9df;var _0x293e78;return[((_0x293e78=_0x3d5253[_0x25e037(0x3b5)][_0x5aac86])==null?void 0x0:_0x293e78[_0x25e037(0x456)])??_0x5aac86,_0x5b263a];})),'range':{'startRow':0x0,'endRow':Math[_0x37c9df(0x591)](0x0,_0xf7a5de-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x3d5253[_0x37c9df(0x4ab)]['length']-0x1)},'showHeader':!0x1};}[_0x2b8d6a(0x503)](_0x7dc65e,_0x13fa4c){const _0x3b2854=_0x2b8d6a;let _0x1ddd04=[],_0x4a4f7a=_0x13fa4c?new Set(_0x13fa4c):null,_0x1802f6=(0x0,_0xcf3cf2[_0x3b2854(0x314)])(_0x7dc65e);return Object['values'](_0x7dc65e[_0x3b2854(0x3d7)])['filter'](_0x265448=>!_0x4a4f7a||_0x4a4f7a[_0x3b2854(0x244)](_0x265448['id']))[_0x3b2854(0x458)](_0x3114e4=>{const _0x3392dc=_0x3b2854;let _0xd8b8f4=this[_0x3392dc(0x343)](_0x3114e4,_0x3114e4['id']);_0x1ddd04[_0x3392dc(0x309)]({'tableId':_0x3114e4['id'],'tableName':_0x1802f6[_0x3392dc(0x4f0)](_0x3114e4['id']),'reference':_0xd8b8f4});}),_0x1ddd04;}[_0x2b8d6a(0x226)](_0x43b1de,_0x5bf951,_0x1c1011={}){const _0x4f8bfc=_0x2b8d6a;let _0x1c41ac=_0x43b1de[_0x4f8bfc(0x479)]();if(!_0x1c41ac)return{'valid':!0x0};if(_0x4b7b4c(_0x1c41ac))return{'valid':!0x1,'reason':_0x4f8bfc(0x31e)};let _0x4ed9c8=_0x1c1011[_0x4f8bfc(0x5c6)]?(0x0,_0xcf3cf2[_0x4f8bfc(0x314)])(_0x1c1011[_0x4f8bfc(0x5c6)]):void 0x0;for(let _0x31f661 of _0x58a8f1(_0x1c41ac)){let _0x208086=_0x4e99fe(_0x31f661,_0x5bf951,_0x1c1011['snapshot'],_0x4ed9c8);if(!_0x208086['table'])return{'valid':!0x1,'reason':_0x4f8bfc(0x28e)+_0x31f661[_0x4f8bfc(0x4b1)]+_0x4f8bfc(0x354)};if(!_0x208086['field'])return{'valid':!0x1,'reason':_0x4f8bfc(0x3ac)+_0x31f661[_0x4f8bfc(0x5c2)]+_0x4f8bfc(0x294)};}return{'valid':!0x0};}['getDependencies'](_0x3764b6,_0x2a7dee,_0x821460={}){const _0xbf582e=_0x2b8d6a;let _0x59e4cc=new Set();for(let _0x5d61ad of this[_0xbf582e(0x2e1)](_0x3764b6,_0x2a7dee,_0x821460))_0x5d61ad['tableId']===_0x2a7dee['id']&&_0x59e4cc[_0xbf582e(0x1d6)](_0x5d61ad['fieldId']);return Array[_0xbf582e(0x1ea)](_0x59e4cc);}[_0x2b8d6a(0x2e1)](_0x5df63c,_0x5e69d2,_0x226c75={}){const _0x30e3f6=_0x2b8d6a;let _0x2e5697=new Map(),_0x5845c8=_0x226c75['snapshot']?(0x0,_0xcf3cf2[_0x30e3f6(0x314)])(_0x226c75[_0x30e3f6(0x5c6)]):void 0x0;for(let _0x3ba7c4 of _0x58a8f1(_0x5df63c)){let _0x5a6727=_0x4e99fe(_0x3ba7c4,_0x5e69d2,_0x226c75[_0x30e3f6(0x5c6)],_0x5845c8);if(!_0x5a6727[_0x30e3f6(0x4b0)]||!_0x5a6727[_0x30e3f6(0x48c)])continue;let _0x45c244=_0x5a6727[_0x30e3f6(0x4b0)]['id']+'\x1f'+_0x5a6727['field']['id'];_0x2e5697['set'](_0x45c244,{'tableId':_0x5a6727[_0x30e3f6(0x4b0)]['id'],'fieldId':_0x5a6727[_0x30e3f6(0x48c)]['id']});}return Array[_0x30e3f6(0x1ea)](_0x2e5697[_0x30e3f6(0x404)]());}};function _0x3bbd86(_0x3fab66,_0x2a97d4){const _0xdffac3=_0x2b8d6a;var _0x9fbbab;let _0x437f34=[],_0x524ebc=(_0x9fbbab=_0x2a97d4[_0xdffac3(0x364)])==null?void 0x0:_0x9fbbab[_0x3fab66['id']];return _0x524ebc&&Object[_0xdffac3(0x271)](_0x524ebc)[_0xdffac3(0x458)](([_0x4eabc6,_0x567100])=>{const _0x32baab=_0xdffac3;let _0x1d6c36=_0x3fab66[_0x32baab(0x3d7)][_0x4eabc6];if(!_0x1d6c36||!_0x567100)return;let _0x1d7d20=_0x5d33ae(_0x1d6c36),_0x33abdd=[];new _0xcf3cf2[(_0x32baab(0x3b9))](_0x567100)[_0x32baab(0x4ba)]((_0x292cac,_0x166d54,_0x13cb7b)=>{const _0x748012=_0x32baab;let _0x14ad59=_0x447f99(_0x1d7d20,_0x292cac,_0x166d54,_0x13cb7b);_0x14ad59&&_0x33abdd[_0x748012(0x309)](_0x14ad59);}),_0x33abdd[_0x32baab(0x3d4)]&&_0x437f34[_0x32baab(0x309)]({'unitId':_0x3fab66['id'],'tableId':_0x4eabc6,'patches':_0x33abdd});}),_0x437f34;}function _0x447f99(_0x48c196,_0x36aa87,_0x265656,_0x263bec){const _0x48e92a=_0x2b8d6a;var _0x29178c,_0x4b0ee8,_0x1e50f9;let _0x49b6f4=(_0x29178c=_0x48c196['rowId'])==null?void 0x0:_0x29178c[_0x36aa87],_0x202a73=(_0x4b0ee8=_0x48c196[_0x48e92a(0x4df)])==null?void 0x0:_0x4b0ee8[_0x265656];if(!_0x49b6f4||!_0x48c196[_0x48e92a(0x38a)][_0x49b6f4]||!_0x202a73)return null;let _0x26dc9b=_0x48c196[_0x48e92a(0x3b5)][_0x202a73];if(!_0x26dc9b||_0x26dc9b['type']!=='formula')return null;let _0x5d0a25=String(((_0x1e50f9=_0x26dc9b['config'])==null?void 0x0:_0x1e50f9[_0x48e92a(0x4fe)])??'')[_0x48e92a(0x479)](),_0x331c3f=(_0x263bec==null?void 0x0:_0x263bec['v'])??null,_0x4ca467={'v':_0x331c3f,'t':_0x214d0a(_0x331c3f),..._0x36aa87===0x0&&_0x5d0a25?{'f':_0x5d0a25}:{},'si':_0x26dc9b['id']};return _0x3af4c4(_0x4c2c6c(_0x48c196,_0x49b6f4,_0x202a73),_0x4ca467)?null:{'row':_0x36aa87,'col':_0x265656,'value':_0x4ca467};}function _0x3af4c4(_0xe5ab95,_0x2a7767){return _0xe5ab95!=null&&Object['is'](_0xe5ab95['v']??null,_0x2a7767['v']??null)&&_0xe5ab95['t']===_0x2a7767['t']&&_0xe5ab95['f']===_0x2a7767['f']&&_0xe5ab95['si']===_0x2a7767['si'];}function _0x214d0a(_0x100780){const _0x59aa33=_0x2b8d6a;return typeof _0x100780=='number'?_0xcf3cf2['CellValueType'][_0x59aa33(0x3b7)]:typeof _0x100780=='boolean'?_0xcf3cf2[_0x59aa33(0x501)][_0x59aa33(0x508)]:typeof _0x100780=='string'?_0xcf3cf2[_0x59aa33(0x501)]['STRING']:null;}function _0x58a8f1(_0x606f59){const _0x58489f=_0x2b8d6a;let _0x56e1d9=_0x594d23(_0x606f59,()=>''),_0x4ca01f=new Map(),_0x285dad=_0x36d28a=>{const _0x59562e=_0x4fc4;_0x4ca01f['set']((_0x36d28a[_0x59562e(0x4b1)]??'')+'\x1f'+_0x36d28a[_0x59562e(0x5c2)],_0x36d28a);};for(let _0x5ea8dc of _0x56e1d9[_0x58489f(0x3b3)](_0xd67bea))_0x285dad({'fieldName':_0x5ea8dc[0x1],'scope':_0x58489f(0x1c6)});_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x5e2187,(_0xcba0d,_0x3b45a3,_0x3a4b35,_0x42c2bc)=>(_0x285dad({'tableName':_0x3b45a3,'fieldName':_0x42c2bc,'scope':_0x3a4b35['toLowerCase']()===_0x58489f(0x30c)?'data':_0x58489f(0x1c6)}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x4c29fe,(_0x5007cd,_0x31c260,_0xd6f201)=>(_0x285dad({'tableName':_0x31c260,'fieldName':_0xd6f201,'scope':'this-row'}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x2bd556,(_0x253f7f,_0x26064f,_0x3c6cfa,_0x433d2f)=>(_0x285dad({'fieldName':_0x433d2f,'scope':_0x3c6cfa[_0x58489f(0x402)]()===_0x58489f(0x30c)?_0x58489f(0x30c):_0x58489f(0x1c6)}),_0x26064f+'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0xb29993,(_0x54aa44,_0x1693c2,_0x3c15bf)=>(_0x285dad({'fieldName':_0x3c15bf,'scope':_0x58489f(0x1c6)}),_0x1693c2+'\x20'));for(let _0x80f69b of _0x56e1d9[_0x58489f(0x3b3)](_0x472412))_0x285dad({'tableName':_0x80f69b[0x1],'fieldName':_0x80f69b[0x2]});for(let _0x4dc856 of _0x56e1d9[_0x58489f(0x3b3)](_0x9b039a))_0x285dad({'fieldName':_0x4dc856[0x2],'scope':_0x58489f(0x1c6)});return Array[_0x58489f(0x1ea)](_0x4ca01f[_0x58489f(0x404)]());}function _0x4b7b4c(_0x8f5dc7){const _0x255f8a=_0x2b8d6a;let _0x3985be=_0x594d23(_0x8f5dc7,()=>'\x20')['replace'](_0xd67bea,'\x20')[_0x255f8a(0x5a4)](_0x5e2187,'\x20')[_0x255f8a(0x5a4)](_0x4c29fe,'\x20')[_0x255f8a(0x5a4)](_0x2bd556,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0xb29993,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0x472412,'\x20')[_0x255f8a(0x5a4)](_0x9b039a,_0x255f8a(0x2ae));return _0x1472d6[_0x255f8a(0x250)](_0x3985be);}function _0x776260(_0x1f1b45,_0x49048a){return _0x2c5a37(_0x58c08f(_0x1f1b45,_0x49048a),_0x49048a);}function _0x594d23(_0x115f46,_0x538346){return _0x29649f(_0x776260(_0x115f46,_0x538346),_0x538346);}function _0x29649f(_0x1b1b57,_0x29205b){const _0x300e08=_0x2b8d6a;return _0x1b1b57[_0x300e08(0x5a4)](/"(?:""|[^"])*"/g,_0x29205b);}function _0x58c08f(_0x1de2fb,_0x1f67f3){const _0x4efc77=_0x2b8d6a;return _0x48837e[_0x4efc77(0x21e)]=0x0,_0x1de2fb[_0x4efc77(0x5a4)](_0x48837e,(_0x35d401,_0x3acae0)=>_0x126f64(_0x1de2fb,_0x3acae0)?_0x35d401:_0x1f67f3(_0x35d401));}let _0x2bd250=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x2c5a37(_0xc3f953,_0x34cbcb){const _0x53ed5d=_0x2b8d6a;let _0x748568=[];for(_0x2bd250[_0x53ed5d(0x21e)]=0x0;;){let _0x2d8cf6=_0x2bd250['exec'](_0xc3f953);if(_0x2d8cf6==null)break;if(_0x126f64(_0xc3f953,_0x2d8cf6['index']))continue;let _0x275873=_0x2bd250[_0x53ed5d(0x21e)]-0x1,_0x4a64c8=0x0;for(let _0x502f6a=_0x275873;_0x502f6a<_0xc3f953[_0x53ed5d(0x3d4)];_0x502f6a++)if(_0xc3f953[_0x502f6a]==='['&&_0x4a64c8++,_0xc3f953[_0x502f6a]===']'&&(_0x4a64c8--,_0x4a64c8===0x0)){_0x748568['push']({'start':_0x2d8cf6[_0x53ed5d(0x295)],'end':_0x502f6a+0x1}),_0x2bd250[_0x53ed5d(0x21e)]=_0x502f6a+0x1;break;}}if(_0x748568[_0x53ed5d(0x3d4)]===0x0)return _0xc3f953;let _0x178912='',_0x267bde=0x0;for(let _0x38fb7a of _0x748568)_0x178912+=_0xc3f953['slice'](_0x267bde,_0x38fb7a['start']),_0x178912+=_0x34cbcb(_0xc3f953['slice'](_0x38fb7a[_0x53ed5d(0x571)],_0x38fb7a[_0x53ed5d(0x526)])),_0x267bde=_0x38fb7a[_0x53ed5d(0x526)];return _0x178912+_0xc3f953['slice'](_0x267bde);}function _0x126f64(_0x2e3e22,_0x3fa299){let _0x24c00d=!0x1;for(let _0x34e2ee=0x0;_0x34e2ee<_0x3fa299;_0x34e2ee++)if(_0x2e3e22[_0x34e2ee]==='\x22'){if(_0x24c00d&&_0x2e3e22[_0x34e2ee+0x1]==='\x22'){_0x34e2ee++;continue;}_0x24c00d=!_0x24c00d;}return _0x24c00d;}function _0x4e99fe(_0xdcf1cb,_0x19ee9c,_0x1fd08c,_0x26b5b5){const _0x212cd3=_0x2b8d6a;let _0x3f1911=_0x2bf222(_0xdcf1cb['tableName'],_0x19ee9c,_0x1fd08c,_0x26b5b5);return{'table':_0x3f1911,'field':_0x3f1911?Object['values'](_0x3f1911[_0x212cd3(0x3b5)])['find'](_0x3ad6d3=>_0x3ad6d3[_0x212cd3(0x456)]===_0xdcf1cb[_0x212cd3(0x5c2)]):void 0x0};}function _0x2bf222(_0x3a8b83,_0x54f4ce,_0x2ba8af,_0x4bbc41){const _0x1fba43=_0x2b8d6a;if(!_0x3a8b83)return _0x54f4ce;if(!_0x2ba8af){var _0x1f1ff2;let _0xcd3205=_0x3a8b83[_0x1fba43(0x402)]();return _0xcd3205===_0x54f4ce['id'][_0x1fba43(0x402)]()||_0xcd3205===_0x54f4ce[_0x1fba43(0x456)][_0x1fba43(0x402)]()||_0xcd3205===((_0x1f1ff2=_0x54f4ce[_0x1fba43(0x298)])==null?void 0x0:_0x1f1ff2['toLowerCase']())?_0x54f4ce:void 0x0;}let _0x3e2835=_0x3a8b83['toLowerCase'](),_0x1c4dab=_0x4bbc41??(0x0,_0xcf3cf2[_0x1fba43(0x314)])(_0x2ba8af),_0x187a93=Object[_0x1fba43(0x404)](_0x2ba8af[_0x1fba43(0x3d7)])[_0x1fba43(0x355)](_0x381cc2=>{const _0x2b65a1=_0x1fba43;var _0x229751;return _0x381cc2['id'][_0x2b65a1(0x402)]()===_0x3e2835||_0x381cc2[_0x2b65a1(0x456)][_0x2b65a1(0x402)]()===_0x3e2835||((_0x229751=_0x1c4dab[_0x2b65a1(0x4f0)](_0x381cc2['id']))==null?void 0x0:_0x229751[_0x2b65a1(0x402)]())===_0x3e2835||_0x3e7a87(_0x381cc2['id'])[_0x2b65a1(0x402)]()===_0x3e2835;});return _0x187a93[_0x1fba43(0x3d4)]===0x1?_0x187a93[0x0]:void 0x0;}function _0x3e7a87(_0x31d04c){const _0xb8b5ba=_0x2b8d6a;return _0xb8b5ba(0x530)+Array[_0xb8b5ba(0x1ea)](_0x31d04c,_0x375db5=>{const _0x470a12=_0xb8b5ba;var _0x253182;return/[A-Za-z0-9]/[_0x470a12(0x250)](_0x375db5)?_0x375db5:'_x'+(((_0x253182=_0x375db5[_0x470a12(0x5ec)](0x0))==null?void 0x0:_0x253182['toString'](0x10))??'0')+'_';})[_0xb8b5ba(0x600)]('');}let _0x5bee66=new _0x41a657();function _0x1cae61(_0x5834fd,_0x27889e,_0x124d54){const _0x40ffbc=_0x2b8d6a;var _0x1555b0;if(_0x124d54[_0x40ffbc(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x40ffbc(0x25e)])return!0x0;let _0x48b386=String(((_0x1555b0=_0x124d54['config'])==null?void 0x0:_0x1555b0[_0x40ffbc(0x4fe)])??''),_0x152b7c=_0x5834fd[_0x40ffbc(0x43e)]();return _0x5bee66[_0x40ffbc(0x226)](_0x48b386,_0x152b7c['tables'][_0x27889e],{'snapshot':_0x152b7c})[_0x40ffbc(0x47d)];}function _0x59a7a2(_0x51a253,_0x5affee,_0x5ced01){const _0x2f7a5e=_0x2b8d6a;let _0x72e1c7=_0x51a253[_0x2f7a5e(0x43e)]()['tables'][_0x5affee];if(!_0x72e1c7)return!0x1;let {viewIds:_0x4b9a37,fieldIds:_0x5cc086,recordIds:_0x2f68c8}=_0x5ced01||{};if(_0x4b9a37){for(let _0x1543a5 of _0x4b9a37)if(!_0x72e1c7[_0x2f7a5e(0x2e4)][_0x1543a5])return!0x1;}if(_0x5cc086){for(let _0x4279c5 of _0x5cc086)if(!_0x72e1c7[_0x2f7a5e(0x3b5)][_0x4279c5])return!0x1;}if(_0x2f68c8){for(let _0x8100c0 of _0x2f68c8)if(!_0x72e1c7[_0x2f7a5e(0x38a)][_0x8100c0])return!0x1;}return!0x0;}function _0xa1cda8(_0x593969,_0x32977a,_0x3a518b){const _0x49fd8f=_0x2b8d6a;if(_0x3a518b['id']===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x3a518b[_0x49fd8f(0x1cc)]===_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x46d)]||(0x0,_0xcf3cf2[_0x49fd8f(0x318)])(_0x3a518b['name'])||!_0x1cae61(_0x593969,_0x32977a,_0x3a518b))return!0x1;let _0x43a635=_0x593969[_0x49fd8f(0x43e)]();if(!_0x3f95e1(_0x43a635,_0x3a518b)['valid'])return!0x1;if(_0x3a518b[_0x49fd8f(0x1cc)]!==_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x34e)])return!0x0;let _0x119136=_0x391f91(_0x3a518b);if(!_0x119136)return!0x1;if(_0x119136[_0x49fd8f(0x2de)]===void 0x0)return!0x0;if(_0x119136[_0x49fd8f(0x2de)]!==_0xcf3cf2[_0x49fd8f(0x223)][_0x49fd8f(0x60d)]||_0x119136[_0x49fd8f(0x249)]!==_0x32977a||_0x119136[_0x49fd8f(0x22e)]!==!0x1)return!0x1;let _0x12c748=_0x43a635[_0x49fd8f(0x3d7)][_0x32977a];return!Object['values'](_0x12c748[_0x49fd8f(0x3b5)])['some'](_0x5a5dec=>{const _0x3f2982=_0x49fd8f;var _0x28c229;return _0x5a5dec['id']!==_0x3a518b['id']&&_0x5a5dec[_0x3f2982(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3f2982(0x34e)]&&((_0x28c229=_0x391f91(_0x5a5dec))==null?void 0x0:_0x28c229[_0x3f2982(0x2de)])===_0xcf3cf2['BaseRecordLinkRole'][_0x3f2982(0x60d)];});}function _0x49bde4(_0x359626,_0xecb9f8,_0x2968d6,_0x40417c){const _0x5f5c09=_0x2b8d6a;var _0x37ce4a;let _0x5f8b9f=_0x359626[_0x5f5c09(0x43e)](),_0x3ca946=(_0x37ce4a=_0x5f8b9f[_0x5f5c09(0x3d7)][_0xecb9f8])==null?void 0x0:_0x37ce4a[_0x5f5c09(0x3b5)][_0x2968d6];return!_0x3ca946||_0x3ca946['id']===_0xcf3cf2[_0x5f5c09(0x509)]||_0x3ca946['type']===_0xcf3cf2['BaseFieldType'][_0x5f5c09(0x46d)]?!0x1:_0x3ca946[_0x5f5c09(0x1cc)]!==_0xcf3cf2[_0x5f5c09(0x435)]['RecordLink']||_0x3bd7ca(_0x5f8b9f,_0x3ca946,_0x2aea08(_0x40417c))['valid'];}function _0x3e6f41(_0x25a8d3,_0x31b485,_0x22e754){const _0x130730=_0x2b8d6a;let _0x58e819=_0x25a8d3['getSnapshot']()[_0x130730(0x3d7)][_0x31b485];return!_0x58e819||!(0x0,_0xcf3cf2[_0x130730(0x5de)])(_0x22e754['id'])||_0x58e819[_0x130730(0x38a)][_0x22e754['id']]||Object[_0x130730(0x3b1)]['hasOwnProperty']['call'](_0x22e754['values'],_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])&&_0x22e754['values'][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]!==_0x22e754['id']?!0x1:Object['entries'](_0x22e754[_0x130730(0x404)])[_0x130730(0x320)](([_0x2f65ef,_0x10eab0])=>_0x2f65ef===_0xcf3cf2[_0x130730(0x509)]||_0x49bde4(_0x25a8d3,_0x31b485,_0x2f65ef,_0x10eab0));}function _0x4f1f9d(_0x480b5b){const _0x358d73=_0x2b8d6a;return{..._0x480b5b,'values':{..._0x480b5b[_0x358d73(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x480b5b['id']}};}function _0x2aea08(_0x39faeb){const _0x5827df=_0x2b8d6a;if(_0x39faeb&&typeof _0x39faeb==_0x5827df(0x240)&&!Array[_0x5827df(0x2a1)](_0x39faeb)&&'v'in _0x39faeb){let _0x2cef2c=_0x39faeb['v'];return _0x2cef2c===void 0x0?null:_0x2cef2c;}return _0x39faeb;}function _0x2112cd(_0xdc6a5d,_0x42f718,_0x1681d8,_0x19a40f){const _0x2cb05f=_0x2b8d6a;let _0x3cc729=_0xdc6a5d[_0x2cb05f(0x43e)]()[_0x2cb05f(0x3d7)][_0x42f718];if(!_0x3cc729)return null;let _0x2a1ad0=_0xb51e67(_0x3cc729),_0x2e67f0=_0x2a1ad0??_0x4f5050(_0x3cc729),_0x152382=_0x1681d8[_0x2cb05f(0x20f)](_0x48cf2e=>Object[_0x2cb05f(0x3b1)]['hasOwnProperty']['call'](_0x48cf2e[_0x2cb05f(0x404)],_0x2e67f0)),_0xca66a5=_0x2a1ad0?_0x3cc729[_0x2cb05f(0x3b5)][_0x2a1ad0]:_0x152382?_0x3df43c(_0x3cc729,_0x2e67f0,_0x19a40f):null,_0x6614f0=[];for(let _0x3204d1 of _0x1681d8){let _0x287ebf=_0x3204d1[_0x2cb05f(0x404)][_0x2e67f0],_0xf72379=_0xca66a5!==null&&Object[_0x2cb05f(0x3b1)][_0x2cb05f(0x1ec)]['call'](_0x3204d1[_0x2cb05f(0x404)],_0x2e67f0),_0x55a46b=_0x2aea08(_0x287ebf),_0x505c4b=null;if(_0xf72379){if(typeof _0x55a46b!=_0x2cb05f(0x3ea)||!_0x456626(_0x55a46b,!0x1)[_0x2cb05f(0x47d)])return null;_0x505c4b=_0x55a46b;}let _0x24af9b={};if(Object[_0x2cb05f(0x271)](_0x3204d1['values'])['forEach'](([_0x5c350d,_0x34f50b])=>{(!_0xf72379||_0x5c350d!==_0x2e67f0)&&(_0x24af9b[_0x5c350d]=_0x34f50b);}),!_0x3e6f41(_0xdc6a5d,_0x42f718,{..._0x3204d1,'values':_0x24af9b}))return null;let _0x56c43c={..._0x3204d1[_0x2cb05f(0x404)]};_0x505c4b!==null&&(_0x56c43c[_0x2e67f0]=_0x505c4b),_0x6614f0[_0x2cb05f(0x309)](_0x4f1f9d({..._0x3204d1,'values':_0x56c43c}));}return{'records':_0x6614f0,'hierarchyFieldToMaterialize':_0x2a1ad0?null:_0xca66a5,'hierarchyChanges':_0x441a71(_0x3cc729,_0x6614f0)};}let _0xabe762={'id':_0x2b8d6a(0x35e),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x5cb934,_0x3cc571){const _0x45d8cf=_0x2b8d6a;if(!_0x3cc571)return!0x1;let _0x3da3e0=_0x5cb934['get'](_0xcf3cf2[_0x45d8cf(0x56e)]),{unitId:_0x429475,tableId:_0x3c2c93,records:_0x20ba85}=_0x3cc571,_0x2ee305=_0x3da3e0[_0x45d8cf(0x425)](_0x429475,_0xcf3cf2[_0x45d8cf(0x2f8)][_0x45d8cf(0x2bf)]),_0x5b7016=_0x20ba85[_0x45d8cf(0x2c4)](_0x5b01d7=>_0x5b01d7['id']);if(!_0x2ee305||!_0x59a7a2(_0x2ee305,_0x3c2c93)||new Set(_0x5b7016)[_0x45d8cf(0x219)]!==_0x5b7016['length'])return!0x1;let _0x19aaa3=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x1e8)]),_0x354f3a=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x5cb)]),_0x4b0396=_0x5cb934[_0x45d8cf(0x4f0)](_0x5394a2),_0x27234c=_0x2ee305[_0x45d8cf(0x43e)](),_0x563dcf=_0x2112cd(_0x2ee305,_0x3c2c93,_0x20ba85);if(!_0x563dcf)return!0x1;let {records:_0x393885,hierarchyChanges:_0x44e7e9,hierarchyFieldToMaterialize:_0x1ee598}=_0x563dcf,_0xc1b97c=_0x1ee598?_0x4b0396[_0x45d8cf(0x29b)](_0x2ee305,_0x3c2c93,_0x1ee598,_0x27234c['tables'][_0x3c2c93][_0x45d8cf(0x4ab)][_0x45d8cf(0x3d4)]):null,_0x1a8f9c=_0x4b0396[_0x45d8cf(0x493)](_0x2ee305,_0x3c2c93,_0x393885),_0x45e24c=_0x5dc19d([..._0xc1b97c?[_0xc1b97c]:[],_0x1a8f9c]),_0x503313=new _0x3c7454()['invertOp'](_0x27234c,_0x45e24c),_0x4dd44d={'unitId':_0x429475,'op':_0x45e24c,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9:void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x3cc571[_0x45d8cf(0x357)]??'ui':void 0x0},_0x40717b={..._0x4dd44d,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x389):void 0x0},_0x5ac978={'unitId':_0x429475,'op':_0x503313,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9[_0x45d8cf(0x2c4)](_0xadc45d=>({..._0xadc45d,'oldParentRecordId':_0xadc45d['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x2b1):void 0x0};return _0x19aaa3['syncExecuteCommand'](_0x40f796['id'],_0x4dd44d)?(_0x3da3e0[_0x45d8cf(0x544)](_0x429475),_0x354f3a[_0x45d8cf(0x2b2)]({'unitID':_0x429475,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ac978}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x40717b}]}),!0x0):!0x1;}},_0x16c000={'id':'base.command.batch-delete-base-records','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x588135,_0x7a6986)=>{const _0x561334=_0x2b8d6a;if(!_0x7a6986)return!0x1;let _0x1705fa=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x56e)]),{unitId:_0x4ade32,tableId:_0x388361,recordIds:_0x31a124}=_0x7a6986,_0x2f8e22=_0x1705fa[_0x561334(0x425)](_0x4ade32,_0xcf3cf2['UniverInstanceType'][_0x561334(0x2bf)]);if(!_0x2f8e22||!_0x59a7a2(_0x2f8e22,_0x388361,{'recordIds':_0x31a124}))return!0x1;let _0x579283=_0x588135[_0x561334(0x4f0)](_0xcf3cf2['ICommandService']),_0x470405=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x5cb)]),_0x262b3b=_0x2f8e22[_0x561334(0x43e)](),_0x4d9979=_0x3b968d(_0x262b3b[_0x561334(0x3d7)][_0x388361],_0x31a124),_0x39b0e1=new _0x15dbb7(),_0x4bc4c7=new _0x3c7454(),_0x4d240b=_0x39b0e1[_0x561334(0x595)](_0x262b3b,_0x388361,_0x31a124),_0x3b8747=_0x4bc4c7[_0x561334(0x54e)](_0x262b3b,_0x4d240b),_0x673893=_0x39b0e1[_0x561334(0x5c8)](_0x262b3b,_0x3b8747,_0x388361,_0x31a124),_0x263764={'unitId':_0x4ade32,'op':_0x4d240b,'hierarchyChanges':_0x4d9979,'source':_0x7a6986[_0x561334(0x357)]??'ui'},_0x4b84e7={..._0x263764,'source':_0x561334(0x389)},_0x584c76={'unitId':_0x4ade32,'op':_0x673893,'hierarchyChanges':_0x4d9979['map'](_0x42bd66=>({..._0x42bd66,'oldParentRecordId':_0x42bd66['parentRecordId'],'parentRecordId':_0x42bd66[_0x561334(0x38f)]})),'source':_0x561334(0x2b1)};return _0x579283[_0x561334(0x4b6)](_0x40f796['id'],_0x263764)?(_0x1705fa['focusUnit'](_0x4ade32),_0x470405[_0x561334(0x2b2)]({'unitID':_0x4ade32,'undoMutations':[{'id':_0x40f796['id'],'params':_0x584c76}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x4b84e7}]}),!0x0):!0x1;}},_0x433937={'id':_0x2b8d6a(0x360),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x453100,_0x48086e)=>{const _0x2931b7=_0x2b8d6a;if(!_0x48086e)return!0x1;let _0x5e4173=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x56e)]),{unitId:_0x3c11a8,tableId:_0x3016ed,fieldId:_0x1f0ee3,input:_0x1ea3d3}=_0x48086e,_0x4899c3=_0x5e4173[_0x2931b7(0x425)](_0x3c11a8,_0xcf3cf2['UniverInstanceType'][_0x2931b7(0x2bf)]);if(!_0x4899c3||_0x1f0ee3===_0xcf3cf2[_0x2931b7(0x509)]||!_0x59a7a2(_0x4899c3,_0x3016ed,{'fieldIds':[_0x1f0ee3]}))return!0x1;let _0x275716=_0x453100['get'](_0xcf3cf2[_0x2931b7(0x1e8)]),_0x1c6886=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x5cb)]),_0x3ff281=_0x4899c3[_0x2931b7(0x43e)]();if(!_0xa1cda8(_0x4899c3,_0x3016ed,{..._0x3ff281['tables'][_0x3016ed][_0x2931b7(0x3b5)][_0x1f0ee3],..._0x1ea3d3}))return!0x1;let _0x4cffe2=new _0x15dbb7()[_0x2931b7(0x319)](_0x3ff281,_0x3016ed,_0x1f0ee3,_0x1ea3d3),_0x38926a=new _0x3c7454()[_0x2931b7(0x5a5)](_0x3ff281,_0x4cffe2),_0x48ec07={'unitId':_0x3c11a8,'op':_0x4cffe2},_0xd0be9f={'unitId':_0x3c11a8,'op':_0x38926a};return _0x275716['syncExecuteCommand'](_0x40f796['id'],_0x48ec07)?(_0x5e4173[_0x2931b7(0x544)](_0x3c11a8),_0x1c6886[_0x2931b7(0x2b2)]({'unitID':_0x3c11a8,'undoMutations':[{'id':_0x40f796['id'],'params':_0xd0be9f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x48ec07}]}),!0x0):!0x1;}},_0x457f5d={'id':_0x2b8d6a(0x4f8),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x31eeda,_0x270546){const _0x2dffa9=_0x2b8d6a;var _0x55a93f;if(!_0x270546)return!0x1;let {unitId:_0x46cdfe,tableId:_0xeb7206,parentRecordId:_0x8cbb71}=_0x270546,_0x16b53b=_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x56e)]),_0x1fc47d=_0x16b53b[_0x2dffa9(0x425)](_0x46cdfe,_0xcf3cf2[_0x2dffa9(0x2f8)]['UNIVER_BASE']);if(!_0x1fc47d||!_0x59a7a2(_0x1fc47d,_0xeb7206,{'recordIds':[_0x8cbb71]}))throw new _0x1d7b46('missingRecord');let _0x3f5bdb=_0x1fc47d[_0x2dffa9(0x43e)](),_0x4de024=_0x3f5bdb[_0x2dffa9(0x3d7)][_0xeb7206],_0x2a3fd8=_0xb51e67(_0x4de024),_0x2fc748=_0x2a3fd8??_0x270546['fieldId']??_0x4f5050(_0x4de024);if(_0x2a3fd8&&_0x270546[_0x2dffa9(0x580)]&&_0x270546[_0x2dffa9(0x580)]!==_0x2a3fd8||_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748]&&!_0x4d880f(_0x4de024,_0x2fc748))throw new _0x1d7b46(_0x2dffa9(0x43c));if((_0x3760a3(_0x4de024,_0x2fc748)[_0x2dffa9(0x34d)][_0x2dffa9(0x4f0)](_0x8cbb71)??0x0)+0x1>=0x5)throw new _0x1d7b46('maxDepth');if(!_0x3e6f41(_0x1fc47d,_0xeb7206,_0x270546[_0x2dffa9(0x3c2)]))return!0x1;let _0x527ec1=_0x4f1f9d({..._0x270546[_0x2dffa9(0x3c2)],'values':{..._0x270546['record'][_0x2dffa9(0x404)],[_0x2fc748]:_0x47d3ab([_0x8cbb71])}}),_0x3d1181=_0x31eeda[_0x2dffa9(0x4f0)](_0x5394a2),_0x25d659=new _0x15dbb7(),_0x1846cb=_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748],_0x3e8744=_0x1846cb?((_0x55a93f=_0x391f91(_0x1846cb))==null?void 0x0:_0x55a93f['relationRole'])===_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]?null:_0x25d659[_0x2dffa9(0x56b)](_0x3f5bdb,_0xeb7206,_0x2fc748,{'config':{..._0x1846cb[_0x2dffa9(0x5a3)],'relationRole':_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]}}):_0x3d1181[_0x2dffa9(0x29b)](_0x1fc47d,_0xeb7206,_0x3df43c(_0x4de024,_0x2fc748,_0x270546[_0x2dffa9(0x2eb)]),_0x4de024['fieldOrder'][_0x2dffa9(0x3d4)]),_0x3db242=_0x3d1181[_0x2dffa9(0x347)](_0x1fc47d,_0xeb7206,_0x527ec1),_0x3b742a=_0x5dc19d([..._0x3e8744?[_0x3e8744]:[],_0x3db242]),_0x390026=new _0x3c7454()[_0x2dffa9(0x5a5)](_0x3f5bdb,_0x3b742a),_0x1eff17={'tableId':_0xeb7206,'fieldId':_0x2fc748,'recordId':_0x527ec1['id'],'oldParentRecordId':null,'parentRecordId':_0x8cbb71},_0x2d81ba={'unitId':_0x46cdfe,'op':_0x3b742a,'trigger':_0x457f5d['id'],'hierarchyChanges':[_0x1eff17],'source':_0x270546[_0x2dffa9(0x357)]??'ui'},_0x449f44={..._0x2d81ba,'source':_0x2dffa9(0x389)},_0x47d2c0={'unitId':_0x46cdfe,'op':_0x390026,'trigger':_0x457f5d['id'],'hierarchyChanges':[{..._0x1eff17,'oldParentRecordId':_0x8cbb71,'parentRecordId':null}],'source':'undo'};return _0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x1e8)])[_0x2dffa9(0x4b6)](_0x40f796['id'],_0x2d81ba)?(_0x16b53b[_0x2dffa9(0x544)](_0x46cdfe),_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x2dffa9(0x2b2)]({'unitID':_0x46cdfe,'undoMutations':[{'id':_0x40f796['id'],'params':_0x47d2c0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x449f44}]}),!0x0):!0x1;}},_0x80cc29={'id':_0x2b8d6a(0x3d3),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x30d10b,_0x35ef8d){const _0x7c1c64=_0x2b8d6a;if(!_0x35ef8d)return!0x1;let _0x5d6ed2=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x56e)]),{unitId:_0x4f8077,tableId:_0x8995f6,field:_0x8f8aae,index:_0x138dd3,viewIndexes:_0x17c410}=_0x35ef8d,_0x150128=_0x5d6ed2[_0x7c1c64(0x425)](_0x4f8077,_0xcf3cf2[_0x7c1c64(0x2f8)][_0x7c1c64(0x2bf)]);if(!_0x150128||!_0x59a7a2(_0x150128,_0x8995f6)||_0x150128['getSnapshot']()[_0x7c1c64(0x3d7)][_0x8995f6][_0x7c1c64(0x3b5)][_0x8f8aae['id']]||_0x138dd3===0x0||!_0xa1cda8(_0x150128,_0x8995f6,_0x8f8aae))return!0x1;let _0x9c4410=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x1e8)]),_0x3358fa=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xb73b49=_0x30d10b['get'](_0x5394a2)[_0x7c1c64(0x29b)](_0x150128,_0x8995f6,_0x8f8aae,_0x138dd3,_0x17c410),_0x162ef0=new _0x3c7454()[_0x7c1c64(0x5a5)](_0x150128[_0x7c1c64(0x43e)](),_0xb73b49),_0x3a9ff9={'unitId':_0x4f8077,'op':_0xb73b49},_0x39705e={'unitId':_0x4f8077,'op':_0x162ef0};return _0x9c4410['syncExecuteCommand'](_0x40f796['id'],_0x3a9ff9)?(_0x5d6ed2['focusUnit'](_0x4f8077),_0x3358fa[_0x7c1c64(0x2b2)]({'unitID':_0x4f8077,'undoMutations':[{'id':_0x40f796['id'],'params':_0x39705e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3a9ff9}]}),!0x0):!0x1;}},_0x1b3986={'id':_0x2b8d6a(0x324),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b1750,_0x15faac){const _0x2a7a47=_0x2b8d6a;if(!_0x15faac)return!0x1;let _0x1cad66=_0x2b1750['get'](_0xcf3cf2[_0x2a7a47(0x56e)]),{unitId:_0x5dc6a7,tableId:_0x21bac7,record:_0x12d9ff}=_0x15faac,_0x274c02=_0x1cad66[_0x2a7a47(0x425)](_0x5dc6a7,_0xcf3cf2[_0x2a7a47(0x2f8)][_0x2a7a47(0x2bf)]);if(!_0x274c02||!_0x59a7a2(_0x274c02,_0x21bac7))return!0x1;let _0x1283d3=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x1e8)]),_0x40ae17=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x5cb)]),_0x4b7382=_0x2b1750[_0x2a7a47(0x4f0)](_0x5394a2),_0x15595c=_0x274c02['getSnapshot'](),_0x30e070=_0x2112cd(_0x274c02,_0x21bac7,[_0x12d9ff]);if(!_0x30e070)return!0x1;let [_0xb571b6]=_0x30e070[_0x2a7a47(0x38a)],{hierarchyChanges:_0x392f37,hierarchyFieldToMaterialize:_0x400eef}=_0x30e070,_0x2ee644=_0x400eef?_0x4b7382['createCreateFieldOp'](_0x274c02,_0x21bac7,_0x400eef,_0x15595c[_0x2a7a47(0x3d7)][_0x21bac7][_0x2a7a47(0x4ab)][_0x2a7a47(0x3d4)]):null,_0x4ba3b7=_0x4b7382['createCreateRecordOp'](_0x274c02,_0x21bac7,_0xb571b6),_0x580c74=_0x5dc19d([..._0x2ee644?[_0x2ee644]:[],_0x4ba3b7]),_0x221db9=new _0x3c7454()[_0x2a7a47(0x5a5)](_0x15595c,_0x580c74),_0x5e6a2e={'unitId':_0x5dc6a7,'op':_0x580c74,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37:void 0x0,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x15faac[_0x2a7a47(0x357)]??'ui':void 0x0},_0x256b65={..._0x5e6a2e,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x2a7a47(0x389):void 0x0},_0x32aa5b={'unitId':_0x5dc6a7,'op':_0x221db9,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37[_0x2a7a47(0x2c4)](_0x406d97=>({..._0x406d97,'oldParentRecordId':_0x406d97['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x392f37['length']?_0x2a7a47(0x2b1):void 0x0};return _0x1283d3[_0x2a7a47(0x4b6)](_0x40f796['id'],_0x5e6a2e)?(_0x1cad66[_0x2a7a47(0x544)](_0x5dc6a7),_0x40ae17[_0x2a7a47(0x2b2)]({'unitID':_0x5dc6a7,'undoMutations':[{'id':_0x40f796['id'],'params':_0x32aa5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x256b65}]}),!0x0):!0x1;}};function _0x5696c8(_0x567c0b,_0x46e782,_0x40914d){const _0x47264d=_0x2b8d6a;if(!_0x46e782[_0x47264d(0x479)]())return{'valid':!0x1,'reason':_0x47264d(0x450),'error':_0x47264d(0x1f2)};if(_0x46e782[_0x47264d(0x3d4)]>0x1f)return{'valid':!0x1,'reason':_0x47264d(0x3f6),'error':_0x47264d(0x554)};if(_0x46e782['startsWith']('\x27')||_0x46e782[_0x47264d(0x4ec)]('\x27'))return{'valid':!0x1,'reason':_0x47264d(0x359),'error':_0x47264d(0x527)};if(/[:\\/?*\[\]]/['test'](_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x470),'error':_0x47264d(0x301)};if(!(0x0,_0xcf3cf2['nameCharacterCheck'])(_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x203),'error':_0x47264d(0x4ae)};let _0x19d118=_0x46e782[_0x47264d(0x402)]();return Object[_0x47264d(0x404)](_0x567c0b[_0x47264d(0x3d7)])[_0x47264d(0x20f)](_0x5570f8=>_0x5570f8['id']!==_0x40914d&&_0x5570f8[_0x47264d(0x456)][_0x47264d(0x402)]()===_0x19d118)?{'valid':!0x1,'reason':_0x47264d(0x5ac),'error':_0x47264d(0x548)}:{'valid':!0x0};}function _0x30ddf4(_0x5ae3e6,_0x3a9504){const _0x350e93=_0x2b8d6a;let _0x28fafd=_0x3a9504['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x350e93(0x5a4)](/^'+|'+$/g,'')[_0x350e93(0x479)]()||_0x350e93(0x5eb),_0x154f27=0x1;for(;;){let _0x579a30=_0x154f27===0x1?'':'\x20'+_0x154f27,_0x3964eb=''+_0x28fafd['slice'](0x0,0x1f-_0x579a30[_0x350e93(0x3d4)])+_0x579a30;if(_0x5696c8(_0x5ae3e6,_0x3964eb)[_0x350e93(0x47d)])return _0x3964eb;_0x154f27++;}}let _0x19088c={'id':_0x2b8d6a(0x1d2),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x1d0c66,_0x5af081)=>{const _0x32bdc2=_0x2b8d6a;if(!_0x5af081)return!0x1;let _0x1ce213=_0x1d0c66['get'](_0xcf3cf2[_0x32bdc2(0x56e)]),{unitId:_0x1aabc5,table:_0x3668bc,index:_0x45675c}=_0x5af081,_0x8e0723=_0x1ce213[_0x32bdc2(0x425)](_0x1aabc5,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x8e0723||_0x8e0723[_0x32bdc2(0x43e)]()[_0x32bdc2(0x3d7)][_0x3668bc['id']]||!_0x5696c8(_0x8e0723[_0x32bdc2(0x43e)](),_0x3668bc[_0x32bdc2(0x456)])[_0x32bdc2(0x47d)])return!0x1;try{(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x3668bc);}catch{return!0x1;}let _0x3c6d5e=_0x1d0c66['get'](_0xcf3cf2['ICommandService']),_0x42bf8a=_0x1d0c66[_0x32bdc2(0x4f0)](_0xcf3cf2[_0x32bdc2(0x5cb)]),_0x13cfb4=_0x8e0723[_0x32bdc2(0x43e)](),_0x125457=new _0x15dbb7()['createTable'](_0x13cfb4,_0x3668bc,_0x45675c),_0x6bf8b5=new _0x3c7454()[_0x32bdc2(0x5a5)](_0x13cfb4,_0x125457),_0x938e0f={'unitId':_0x1aabc5,'op':_0x125457},_0x19949d={'unitId':_0x1aabc5,'op':_0x6bf8b5};return _0x3c6d5e[_0x32bdc2(0x4b6)](_0x40f796['id'],_0x938e0f)?(_0x1ce213[_0x32bdc2(0x544)](_0x1aabc5),_0x42bf8a['pushUndoRedo']({'unitID':_0x1aabc5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x19949d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x938e0f}]}),!0x0):!0x1;}};function _0x5af319(_0x4f1625,_0x5d009f,_0x1fbd70=[]){const _0x583fd8=_0x2b8d6a;let _0x357703=new Set([...Object[_0x583fd8(0x404)](_0x4f1625[_0x583fd8(0x3b5)])[_0x583fd8(0x355)](_0x156379=>_0x156379)[_0x583fd8(0x2c4)](_0x14276d=>_0x14276d[_0x583fd8(0x456)]),..._0x1fbd70['map'](_0x5783e8=>_0x5783e8[_0x583fd8(0x456)])]);if(!_0x357703[_0x583fd8(0x244)](_0x5d009f))return _0x5d009f;let _0xfee649=0x2;for(;_0x357703['has'](_0x5d009f+'\x20'+_0xfee649);)_0xfee649++;return _0x5d009f+'\x20'+_0xfee649;}function _0x14441e(_0xed72ab,_0x847060){const _0x11e0f5=_0x2b8d6a;if(!_0xed72ab||!_0x847060[_0x11e0f5(0x3d4)])return;let _0x5eb9bc=[..._0xed72ab];return _0x847060[_0x11e0f5(0x458)](_0x403f71=>{const _0x160f92=_0x11e0f5;_0x5eb9bc['includes'](_0x403f71)||_0x5eb9bc[_0x160f92(0x309)](_0x403f71);}),_0x5eb9bc;}let _0x184ce4={'options':[{'id':_0x2b8d6a(0x2c5),'name':_0x2b8d6a(0x28f),'color':_0x2b8d6a(0x491)},{'id':_0x2b8d6a(0x1d1),'name':_0x2b8d6a(0x3f7),'color':_0x2b8d6a(0x574)},{'id':_0x2b8d6a(0x21a),'name':_0x2b8d6a(0x384),'color':'#BBF7D0'}]},_0x480ada={'locale':_0x2b8d6a(0x421),'pattern':_0x2b8d6a(0x51b),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x2b8d6a(0x44a)};function _0x214326(_0x5c71de,_0x4dfe8b,_0x199157,_0x5b1480){const _0x57a323=_0x2b8d6a;var _0x5301df;let _0x26dd0f=new _0x15dbb7(),_0x2cf1df=_0x5c71de['tables'][_0x4dfe8b],_0x10cd0b=_0x2cf1df?{..._0x199157,'fieldOrder':[_0xcf3cf2[_0x57a323(0x509)],...(_0x199157[_0x57a323(0x4ab)]??_0x2cf1df['fieldOrder'])[_0x57a323(0x355)](_0x8d574e=>_0x8d574e!==_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x199157[_0x57a323(0x239)],[_0xcf3cf2[_0x57a323(0x509)]]:{...(_0x5301df=_0x199157[_0x57a323(0x239)])==null?void 0x0:_0x5301df[_0xcf3cf2[_0x57a323(0x509)]],'hidden':!0x0}}}:_0x199157;if(_0x2cf1df&&_0x10cd0b[_0x57a323(0x1cc)]===_0x57a323(0x57a)){let _0x238d0b=_0x2c1e35(_0x2cf1df,_0x10cd0b),_0x1e6c37=_0x238d0b['changed']?{..._0x10cd0b,'config':_0x238d0b[_0x57a323(0x5a3)],'fieldOrder':_0x238d0b[_0x57a323(0x4ab)]??_0x10cd0b[_0x57a323(0x4ab)]}:_0x10cd0b;return _0x5dc19d([..._0x238d0b[_0x57a323(0x3b5)]['map'](_0x428ec8=>_0x26dd0f['createField'](_0x5c71de,_0x4dfe8b,{'field':_0x428ec8})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x1e6c37,_0x5b1480)]);}if(!_0x2cf1df||_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x266)&&_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x1f3))return _0x26dd0f['createView'](_0x5c71de,_0x4dfe8b,_0x10cd0b,_0x5b1480);let _0x4f78be=_0x56d2b1(_0x2cf1df,_0x10cd0b),_0x15dbe7=_0x4f78be[_0x57a323(0x2aa)]?{..._0x10cd0b,'config':_0x4f78be[_0x57a323(0x5a3)],'fieldOrder':_0x4f78be[_0x57a323(0x4ab)]??_0x10cd0b['fieldOrder']}:_0x10cd0b;return _0x10cd0b['type']===_0x57a323(0x1f3)&&_0x24dd63(_0x10cd0b)&&(_0x15dbe7=_0x44ed01(_0x2cf1df,_0x15dbe7,_0x4f78be['fields'])),_0x5dc19d([..._0x4f78be[_0x57a323(0x3b5)][_0x57a323(0x2c4)](_0x3a3069=>_0x26dd0f[_0x57a323(0x3ed)](_0x5c71de,_0x4dfe8b,{'field':_0x3a3069})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x15dbe7,_0x5b1480)]);}function _0x56d2b1(_0x1ff1fd,_0x3cc1a5,_0x1afb3b=!0x1){const _0x1de823=_0x2b8d6a;var _0x5d87a8,_0xf6a1d4;let _0x553b38=_0x1ff1fd[_0x1de823(0x4ab)][_0x1de823(0x355)](_0xfecca7=>_0x2aecc7(_0x1ff1fd,_0xfecca7)),_0x5ce817=[],_0x5f5574={..._0x3cc1a5['config']??{}},_0x16c89d=typeof _0x5f5574['startDateFieldId']==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x31c)])?_0x5f5574[_0x1de823(0x31c)]:_0x553b38[0x0],_0x553579=typeof _0x5f5574[_0x1de823(0x2b3)]==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x2b3)])&&_0x5f5574[_0x1de823(0x2b3)]!==_0x16c89d?_0x5f5574[_0x1de823(0x2b3)]:_0x553b38[_0x1de823(0x22c)](_0x1e33e4=>_0x1e33e4!==_0x16c89d);if(!_0x16c89d){let _0x1edd63=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x1f3)?_0x1de823(0x25c):'Date');_0x5ce817[_0x1de823(0x309)](_0x1edd63),_0x16c89d=_0x1edd63['id'];}if((_0x3cc1a5['type']===_0x1de823(0x1f3)||_0x1afb3b)&&!_0x553579){let _0x39f527=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x1de823(0x525));_0x5ce817['push'](_0x39f527),_0x553579=_0x39f527['id'];}_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&!_0x553579&&delete _0x5f5574[_0x1de823(0x2b3)],_0x5f5574[_0x1de823(0x31c)]=_0x16c89d,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&_0x553579&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579),_0x3cc1a5[_0x1de823(0x1cc)]==='gantt'&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579??_0x16c89d);let _0x4222bc=_0x14441e(_0x3cc1a5[_0x1de823(0x4ab)],_0x5ce817[_0x1de823(0x2c4)](_0x40025f=>_0x40025f['id']));return{'changed':_0x5ce817[_0x1de823(0x3d4)]>0x0||_0x5f5574[_0x1de823(0x31c)]!==((_0x5d87a8=_0x3cc1a5[_0x1de823(0x5a3)])==null?void 0x0:_0x5d87a8[_0x1de823(0x31c)])||_0x5f5574[_0x1de823(0x2b3)]!==((_0xf6a1d4=_0x3cc1a5['config'])==null?void 0x0:_0xf6a1d4['endDateFieldId'])||!(!_0x4222bc||_0xcf3cf2['Tools'][_0x1de823(0x33c)](_0x4222bc,_0x3cc1a5[_0x1de823(0x4ab)]??[])),'fields':_0x5ce817,'config':_0x5f5574,'fieldOrder':_0x4222bc};}function _0x2c1e35(_0x1c63c7,_0x1dc993){const _0x57b6b1=_0x2b8d6a;var _0x1377a9;let _0x4d4fa0=[],_0x1a906f={..._0x1dc993[_0x57b6b1(0x5a3)]??{}},_0x4083b2=typeof _0x1a906f[_0x57b6b1(0x259)]==_0x57b6b1(0x3ea)&&_0x4d1928(_0x1c63c7,_0x1a906f[_0x57b6b1(0x259)])?_0x1a906f['groupFieldId']:_0x1c63c7['fieldOrder'][_0x57b6b1(0x22c)](_0x179704=>_0x4d1928(_0x1c63c7,_0x179704));if(!_0x4083b2){let _0x2a3361=_0x7e4de1(_0x1c63c7,_0x4d4fa0);_0x4d4fa0[_0x57b6b1(0x309)](_0x2a3361),_0x4083b2=_0x2a3361['id'];}_0x1a906f[_0x57b6b1(0x259)]=_0x4083b2;let _0x131bb8=_0x14441e(_0x1dc993['fieldOrder'],_0x4d4fa0[_0x57b6b1(0x2c4)](_0x208b69=>_0x208b69['id']));return{'changed':_0x4d4fa0[_0x57b6b1(0x3d4)]>0x0||_0x1a906f['groupFieldId']!==((_0x1377a9=_0x1dc993[_0x57b6b1(0x5a3)])==null?void 0x0:_0x1377a9[_0x57b6b1(0x259)])||!(!_0x131bb8||_0xcf3cf2[_0x57b6b1(0x255)][_0x57b6b1(0x33c)](_0x131bb8,_0x1dc993['fieldOrder']??[])),'fields':_0x4d4fa0,'config':_0x1a906f,'fieldOrder':_0x131bb8};}function _0x4d1928(_0x127b18,_0x1dd65c){const _0x1fbe80=_0x2b8d6a;let _0x26e294=_0x1dd65c?_0x127b18[_0x1fbe80(0x3b5)][_0x1dd65c]:null;return _0x26e294?[_0xcf3cf2['BaseFieldType']['SingleSelect'],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x336)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x22a)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3d5)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3fa)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x5f8)]][_0x1fbe80(0x299)](_0x26e294[_0x1fbe80(0x1cc)]):!0x1;}function _0x7e4de1(_0x1fe041,_0x9acebb){const _0xa71eaa=_0x2b8d6a;return{'id':_0xa71eaa(0x4b3)+(0x0,_0xcf3cf2[_0xa71eaa(0x2dd)])(0x8),'name':_0x5af319(_0x1fe041,_0xa71eaa(0x519),_0x9acebb),'type':_0xcf3cf2['BaseFieldType'][_0xa71eaa(0x2e3)],'config':_0xcf3cf2[_0xa71eaa(0x255)][_0xa71eaa(0x578)](_0x184ce4)};}function _0x24dd63(_0x5512ef){const _0x33c02e=_0x2b8d6a;return Object[_0x33c02e(0x582)](_0x5512ef[_0x33c02e(0x5a3)]??{})[_0x33c02e(0x3d4)]===0x0&&Object['keys'](_0x5512ef[_0x33c02e(0x239)]??{})[_0x33c02e(0x3d4)]===0x0;}function _0x44ed01(_0x401e0e,_0xc91d5d,_0x50fd1c){const _0x5cffbc=_0x2b8d6a;let _0x3b1dae={..._0xc91d5d[_0x5cffbc(0x5a3)]??{}},_0x37a6b4=_0x50fd1c[_0x5cffbc(0x2c4)](_0x3b22c4=>_0x3b22c4['id']),_0x2edc45=[..._0x401e0e[_0x5cffbc(0x4ab)],..._0x37a6b4],_0x1c1387=typeof _0x3b1dae['titleFieldId']==_0x5cffbc(0x3ea)&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x3b1dae[_0x5cffbc(0x4cf)])?_0x3b1dae[_0x5cffbc(0x4cf)]:_0x401e0e[_0x5cffbc(0x4b4)],_0x4147e1=typeof _0x3b1dae[_0x5cffbc(0x31c)]==_0x5cffbc(0x3ea)?_0x3b1dae[_0x5cffbc(0x31c)]:'',_0x15bca2=typeof _0x3b1dae[_0x5cffbc(0x2b3)]=='string'?_0x3b1dae['endDateFieldId']:_0x4147e1,_0x41eceb=new Set([_0x1c1387,_0x4147e1,_0x15bca2][_0x5cffbc(0x355)](_0x52b8bd=>_0x52b8bd&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x52b8bd))),_0x33a943=Object[_0x5cffbc(0x3a6)](_0x2edc45['flatMap'](_0x58264e=>_0x41eceb['has'](_0x58264e)||!_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x58264e)?[]:[[_0x58264e,{'hidden':!0x0}]]));return{..._0xc91d5d,'config':{..._0x3b1dae,'titleFieldId':_0x1c1387},'fieldSettings':_0x33a943};}function _0x4ea3b3(_0x5812a6,_0x474ff0,_0x13df12){const _0x209cee=_0x2b8d6a;return!!(_0x5812a6[_0x209cee(0x3b5)][_0x13df12]??_0x474ff0[_0x209cee(0x22c)](_0x174cf0=>_0x174cf0['id']===_0x13df12))&&!0x0;}function _0x2aecc7(_0x38a41c,_0x27e6be){const _0x824088=_0x2b8d6a;let _0x20142f=_0x27e6be?_0x38a41c[_0x824088(0x3b5)][_0x27e6be]:null;return!!_0x20142f&&_0x20142f[_0x824088(0x1cc)]===_0xcf3cf2[_0x824088(0x435)][_0x824088(0x2d9)]&&_0x20142f[_0x824088(0x30e)]!==!0x0&&_0x20142f[_0x824088(0x27a)]!==!0x0;}function _0x580dd0(_0x5e18d7,_0x40965b,_0x1f3666){const _0x45a1b7=_0x2b8d6a;let _0x4f7460=new Set([...Object[_0x45a1b7(0x582)](_0x5e18d7[_0x45a1b7(0x3b5)]),..._0x40965b['map'](_0x26d2be=>_0x26d2be['id'])]),_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);for(;_0x4f7460[_0x45a1b7(0x244)](_0x157bd7);)_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);return{'id':_0x157bd7,'name':_0x5af319(_0x5e18d7,_0x1f3666,_0x40965b),'type':_0xcf3cf2['BaseFieldType']['Date'],'config':{..._0x480ada}};}let _0x5057dc={'id':_0x2b8d6a(0x4e7),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x375841,_0x2ec6cf)=>{const _0x3301a9=_0x2b8d6a;if(!_0x2ec6cf)return!0x1;let _0x54c1e4=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x56e)]),{unitId:_0x224a61,tableId:_0x20cf2d,view:_0x5763f5,index:_0x2e4930}=_0x2ec6cf,_0x2ba6e6=_0x54c1e4[_0x3301a9(0x425)](_0x224a61,_0xcf3cf2[_0x3301a9(0x2f8)][_0x3301a9(0x2bf)]);if(!_0x2ba6e6||!_0x59a7a2(_0x2ba6e6,_0x20cf2d)||_0x2ba6e6[_0x3301a9(0x43e)]()[_0x3301a9(0x3d7)][_0x20cf2d][_0x3301a9(0x2e4)][_0x5763f5['id']])return!0x1;let _0x54af46=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x1e8)]),_0x35e31b=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x5cb)]),_0x4274cf=_0x2ba6e6[_0x3301a9(0x43e)](),_0x1e020f=_0x214326(_0x4274cf,_0x20cf2d,_0x5763f5,_0x2e4930),_0x1948a6=new _0x3c7454()['invertOp'](_0x4274cf,_0x1e020f),_0x394960={'historyAction':_0x3301a9(0x556),'unitId':_0x224a61,'op':_0x1e020f,'viewType':_0x5763f5[_0x3301a9(0x1cc)]},_0x2905de={'historyAction':_0x3301a9(0x5dc),'unitId':_0x224a61,'op':_0x1948a6,'viewType':_0x5763f5['type']};return _0x54af46[_0x3301a9(0x4b6)](_0x40f796['id'],_0x394960)?(_0x54c1e4[_0x3301a9(0x544)](_0x224a61),_0x35e31b['pushUndoRedo']({'unitID':_0x224a61,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2905de}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x394960}]}),!0x0):!0x1;}},_0x42e92a={'id':_0x2b8d6a(0x287),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x40074b,_0x478935){const _0x139051=_0x2b8d6a;if(!_0x478935)return!0x1;let _0x1ca4a8=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x232469,tableId:_0x570d63,fieldId:_0x41e7bd}=_0x478935,_0x48f59c=_0x1ca4a8[_0x139051(0x425)](_0x232469,_0xcf3cf2[_0x139051(0x2f8)][_0x139051(0x2bf)]);if(!_0x48f59c)return!0x1;let _0x4525f2=_0x48f59c['getSnapshot'](),_0x42b392=_0x4525f2['tables'][_0x570d63];if(!_0x59a7a2(_0x48f59c,_0x570d63,{'fieldIds':[_0x41e7bd]})||_0x42b392[_0x139051(0x4b4)]===_0x41e7bd||_0x41e7bd===_0xcf3cf2[_0x139051(0x509)])return!0x1;let _0x5a8f0f=_0x40074b['get'](_0xcf3cf2['ICommandService']),_0x2aff01=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a3870=new _0x15dbb7()[_0x139051(0x32b)](_0x4525f2,_0x570d63,_0x41e7bd),_0x1bebad=new _0x3c7454()[_0x139051(0x5a5)](_0x4525f2,_0x3a3870),_0x36ee59={'unitId':_0x232469,'op':_0x3a3870},_0x10891e={'unitId':_0x232469,'op':_0x1bebad};return _0x5a8f0f[_0x139051(0x4b6)](_0x40f796['id'],_0x36ee59)?(_0x1ca4a8['focusUnit'](_0x232469),_0x2aff01[_0x139051(0x2b2)]({'unitID':_0x232469,'undoMutations':[{'id':_0x40f796['id'],'params':_0x10891e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36ee59}]}),!0x0):!0x1;}},_0x50bb2a={'id':_0x2b8d6a(0x5f4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xab848b,_0x30a4aa)=>{const _0x4dd8c2=_0x2b8d6a;if(!_0x30a4aa)return!0x1;let _0x3f7b8e=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x56e)]),{unitId:_0x495510,tableId:_0x4b6030,recordId:_0x5c2460}=_0x30a4aa,_0x34b73f=_0x3f7b8e[_0x4dd8c2(0x425)](_0x495510,_0xcf3cf2['UniverInstanceType'][_0x4dd8c2(0x2bf)]);if(!_0x34b73f||!_0x59a7a2(_0x34b73f,_0x4b6030,{'recordIds':[_0x5c2460]}))return!0x1;let _0x1b18c6=_0xab848b['get'](_0xcf3cf2['ICommandService']),_0x56a3b4=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x5cb)]),_0x372a95=_0x34b73f[_0x4dd8c2(0x43e)](),_0x3e260c=_0x3b968d(_0x372a95[_0x4dd8c2(0x3d7)][_0x4b6030],[_0x5c2460]),_0x2b1024=new _0x15dbb7(),_0x575fdc=new _0x3c7454(),_0x5deb97=_0x2b1024['deleteRecord'](_0x372a95,_0x4b6030,_0x5c2460),_0xb970f7=_0x575fdc[_0x4dd8c2(0x54e)](_0x372a95,_0x5deb97),_0x33653c=_0x2b1024['createDeleteRecordsUndoOp'](_0x372a95,_0xb970f7,_0x4b6030,[_0x5c2460]),_0x29d605={'unitId':_0x495510,'op':_0x5deb97,'hierarchyChanges':_0x3e260c,'source':_0x30a4aa[_0x4dd8c2(0x357)]??'ui'},_0x52a893={..._0x29d605,'source':_0x4dd8c2(0x389)},_0x547a9e={'unitId':_0x495510,'op':_0x33653c,'hierarchyChanges':_0x3e260c[_0x4dd8c2(0x2c4)](_0x3d2f75=>({..._0x3d2f75,'oldParentRecordId':_0x3d2f75[_0x4dd8c2(0x346)],'parentRecordId':_0x3d2f75[_0x4dd8c2(0x38f)]})),'source':_0x4dd8c2(0x2b1)};return _0x1b18c6['syncExecuteCommand'](_0x40f796['id'],_0x29d605)?(_0x3f7b8e[_0x4dd8c2(0x544)](_0x495510),_0x56a3b4[_0x4dd8c2(0x2b2)]({'unitID':_0x495510,'undoMutations':[{'id':_0x40f796['id'],'params':_0x547a9e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x52a893}]}),!0x0):!0x1;}},_0x58eadf={'id':_0x2b8d6a(0x229),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x6b92c9,_0x5e9542)=>{const _0x33545a=_0x2b8d6a;if(!_0x5e9542)return!0x1;let _0x371de4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x56e)]),{unitId:_0x3ec91b,tableId:_0x13f7b7}=_0x5e9542,_0xd1abbc=_0x371de4[_0x33545a(0x425)](_0x3ec91b,_0xcf3cf2[_0x33545a(0x2f8)][_0x33545a(0x2bf)]);if(!_0xd1abbc||!_0x59a7a2(_0xd1abbc,_0x13f7b7))return!0x1;let _0x3eaed4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2['ICommandService']),_0x2f63be=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x5cb)]),_0x5440d6=_0xd1abbc['getSnapshot'](),_0x3d1812=_0x39ea47(_0x5440d6,_0x13f7b7);if(_0x3d1812[_0x33545a(0x3d4)]>0x0)return console[_0x33545a(0x4d9)](_0x33545a(0x2bb)+_0x13f7b7+_0x33545a(0x3d2)+_0x3d1812[_0x33545a(0x2c4)](_0x3ba3e9=>_0x3ba3e9['tableId']+'.'+_0x3ba3e9[_0x33545a(0x580)])[_0x33545a(0x600)](',\x20')+'.'),!0x1;let _0x12ca39=new _0x15dbb7()[_0x33545a(0x1f1)](_0x5440d6,_0x13f7b7),_0x16083a=new _0x3c7454()[_0x33545a(0x5a5)](_0x5440d6,_0x12ca39),_0x373bc7={'unitId':_0x3ec91b,'op':_0x12ca39},_0x104bd7={'unitId':_0x3ec91b,'op':_0x16083a};return _0x3eaed4[_0x33545a(0x4b6)](_0x40f796['id'],_0x373bc7)?(_0x371de4[_0x33545a(0x544)](_0x3ec91b),_0x2f63be['pushUndoRedo']({'unitID':_0x3ec91b,'undoMutations':[{'id':_0x40f796['id'],'params':_0x104bd7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x373bc7}]}),!0x0):!0x1;}},_0x5c24f7={'id':_0x2b8d6a(0x4a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x50bcf5,_0x44877)=>{const _0xb116ff=_0x2b8d6a;if(!_0x44877)return!0x1;let _0xd098d5=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x56e)]),{unitId:_0x57f5b1,tableId:_0x5de123,viewId:_0x25d81d}=_0x44877,_0x45ea48=_0xd098d5[_0xb116ff(0x425)](_0x57f5b1,_0xcf3cf2[_0xb116ff(0x2f8)][_0xb116ff(0x2bf)]);if(!_0x45ea48||!_0x59a7a2(_0x45ea48,_0x5de123,{'viewIds':[_0x25d81d]}))return!0x1;let _0x39daa3=_0x50bcf5['get'](_0xcf3cf2[_0xb116ff(0x1e8)]),_0x33f294=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x5cb)]),_0x1aacca=_0x45ea48[_0xb116ff(0x43e)](),_0xa9ae4e=_0x1aacca[_0xb116ff(0x3d7)][_0x5de123][_0xb116ff(0x2e4)][_0x25d81d][_0xb116ff(0x1cc)],_0x509690=new _0x15dbb7()[_0xb116ff(0x213)](_0x1aacca,_0x5de123,_0x25d81d),_0x4433d1=new _0x3c7454()[_0xb116ff(0x5a5)](_0x1aacca,_0x509690),_0x1c416b={'historyAction':_0xb116ff(0x5dc),'unitId':_0x57f5b1,'op':_0x509690,'viewType':_0xa9ae4e},_0x5ad018={'historyAction':'create-view','unitId':_0x57f5b1,'op':_0x4433d1,'viewType':_0xa9ae4e};return _0x39daa3['syncExecuteCommand'](_0x40f796['id'],_0x1c416b)?(_0xd098d5[_0xb116ff(0x544)](_0x57f5b1),_0x33f294[_0xb116ff(0x2b2)]({'unitID':_0x57f5b1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ad018}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1c416b}]}),!0x0):!0x1;}},_0x592df7={'id':_0x2b8d6a(0x4ca),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x9a9d67,_0x29e9e9)=>{const _0xfe1e81=_0x2b8d6a;if(!_0x29e9e9)return!0x1;let _0x2504a5=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x56e)]),{unitId:_0x5319ed,tableId:_0x31a20f,sourceFieldId:_0xcfced5,field:_0xd8dc7f,index:_0x3cd795,viewIndexes:_0x598dae}=_0x29e9e9,_0x14c931=_0x2504a5[_0xfe1e81(0x425)](_0x5319ed,_0xcf3cf2[_0xfe1e81(0x2f8)][_0xfe1e81(0x2bf)]);if(!_0x14c931||!_0x59a7a2(_0x14c931,_0x31a20f,{'fieldIds':[_0xcfced5]})||_0xcfced5===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x14c931['getSnapshot']()['tables'][_0x31a20f][_0xfe1e81(0x3b5)][_0xd8dc7f['id']]||_0x3cd795===0x0||!_0xa1cda8(_0x14c931,_0x31a20f,_0xd8dc7f))return!0x1;let _0x5b5639=_0x9a9d67[_0xfe1e81(0x4f0)](_0xcf3cf2[_0xfe1e81(0x1e8)]),_0x522b90=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x5cb)]),_0x12dbfc=_0x14c931[_0xfe1e81(0x43e)](),_0x3723f5=new _0x15dbb7()[_0xfe1e81(0x2b8)](_0x12dbfc,_0x31a20f,_0xcfced5,{'field':_0xd8dc7f,'index':_0x3cd795,'viewIndexes':_0x598dae}),_0x404f6b=new _0x3c7454()[_0xfe1e81(0x5a5)](_0x12dbfc,_0x3723f5),_0x533d05={'unitId':_0x5319ed,'op':_0x3723f5},_0xdb942f={'unitId':_0x5319ed,'op':_0x404f6b};return _0x5b5639[_0xfe1e81(0x4b6)](_0x40f796['id'],_0x533d05)?(_0x2504a5[_0xfe1e81(0x544)](_0x5319ed),_0x522b90['pushUndoRedo']({'unitID':_0x5319ed,'undoMutations':[{'id':_0x40f796['id'],'params':_0xdb942f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x533d05}]}),!0x0):!0x1;}},_0x217849={'id':'base.command.duplicate-base-record','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0xc2c7c5,_0x1b6ca1)=>{const _0x5ca6f7=_0x2b8d6a;if(!_0x1b6ca1)return!0x1;let _0x2aae60=_0xc2c7c5['get'](_0xcf3cf2[_0x5ca6f7(0x56e)]),{unitId:_0x185a78,tableId:_0x18b82a,sourceRecordId:_0x5bd243,record:_0x357d0d}=_0x1b6ca1,_0x2c4556=_0x2aae60['getUnit'](_0x185a78,_0xcf3cf2[_0x5ca6f7(0x2f8)]['UNIVER_BASE']);if(!_0x2c4556||!_0x59a7a2(_0x2c4556,_0x18b82a,{'recordIds':[_0x5bd243]})||!_0x3e6f41(_0x2c4556,_0x18b82a,_0x357d0d))return!0x1;let _0x4fce2a=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2['ICommandService']),_0x3a0076=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2[_0x5ca6f7(0x5cb)]),_0x4aeb9c=_0x2c4556[_0x5ca6f7(0x43e)](),_0x1519ce=_0x4f1f9d(_0x357d0d),_0xed181c=_0x441a71(_0x4aeb9c[_0x5ca6f7(0x3d7)][_0x18b82a],[_0x1519ce]),_0x10b10a=new _0x15dbb7()[_0x5ca6f7(0x5dd)](_0x4aeb9c,_0x18b82a,_0x5bd243,_0x1519ce),_0x5cdcf1=new _0x3c7454()[_0x5ca6f7(0x5a5)](_0x4aeb9c,_0x10b10a),_0x4f92d0={'unitId':_0x185a78,'op':_0x10b10a,'hierarchyChanges':_0xed181c['length']?_0xed181c:void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x1b6ca1[_0x5ca6f7(0x357)]??'ui':void 0x0},_0x2c5544={..._0x4f92d0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x389):void 0x0},_0x25bfc3={'unitId':_0x185a78,'op':_0x5cdcf1,'hierarchyChanges':_0xed181c[_0x5ca6f7(0x3d4)]?_0xed181c[_0x5ca6f7(0x2c4)](_0x349412=>({..._0x349412,'oldParentRecordId':_0x349412[_0x5ca6f7(0x346)],'parentRecordId':null})):void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x2b1):void 0x0};return _0x4fce2a[_0x5ca6f7(0x4b6)](_0x40f796['id'],_0x4f92d0)?(_0x2aae60[_0x5ca6f7(0x544)](_0x185a78),_0x3a0076[_0x5ca6f7(0x2b2)]({'unitID':_0x185a78,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25bfc3}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2c5544}]}),!0x0):!0x1;}},_0x4a862d={'id':_0x2b8d6a(0x49b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x253599,_0x3cbd15){const _0x49cb23=_0x2b8d6a;if(!_0x3cbd15)return!0x1;let _0x1045ef=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x56e)]),{unitId:_0x472ef5,tableId:_0x29a1f1,viewId:_0x485fb7,ensureEndDateField:_0x1139e0}=_0x3cbd15,_0x3d78a2=_0x1045ef[_0x49cb23(0x425)](_0x472ef5,_0xcf3cf2[_0x49cb23(0x2f8)]['UNIVER_BASE']);if(!_0x3d78a2||!_0x59a7a2(_0x3d78a2,_0x29a1f1,{'viewIds':[_0x485fb7]}))return!0x1;let _0x353329=_0x3d78a2['getSnapshot'](),_0x12be20=_0x353329[_0x49cb23(0x3d7)][_0x29a1f1],_0x4c607d=_0x12be20==null?void 0x0:_0x12be20[_0x49cb23(0x2e4)][_0x485fb7];if(!_0x12be20||!_0x4c607d||_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x266)&&_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x1f3))return!0x1;let _0x1a360e=_0x56d2b1(_0x12be20,_0x4c607d,_0x1139e0===!0x0);if(!_0x1a360e[_0x49cb23(0x2aa)])return!0x1;let _0x8be6ae=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x1e8)]),_0x35378e=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x5cb)]),_0x515ebe=new _0x15dbb7(),_0x5eb15f=[..._0x1a360e['fields'][_0x49cb23(0x2c4)](_0x1b6750=>_0x515ebe[_0x49cb23(0x3ed)](_0x353329,_0x3cbd15[_0x49cb23(0x3e2)],{'field':_0x1b6750})),_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x5a3)],_0x4c607d[_0x49cb23(0x5a3)],_0x1a360e['config'])];_0x1a360e[_0x49cb23(0x4ab)]&&_0x5eb15f['push'](_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x4ab)],_0x4c607d['fieldOrder'],_0x1a360e[_0x49cb23(0x4ab)]));let _0x55fc4a=_0x5dc19d(_0x5eb15f),_0x3b1883=new _0x3c7454()[_0x49cb23(0x5a5)](_0x353329,_0x55fc4a),_0x19c597={'unitId':_0x472ef5,'op':_0x55fc4a},_0x25c5ab={'unitId':_0x472ef5,'op':_0x3b1883};return _0x8be6ae[_0x49cb23(0x4b6)](_0x40f796['id'],_0x19c597)?(_0x1045ef[_0x49cb23(0x544)](_0x472ef5),_0x35378e[_0x49cb23(0x2b2)]({'unitID':_0x472ef5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25c5ab}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19c597}]}),!0x0):!0x1;}};function _0x35f583(_0x293c72,_0x46aa34,_0xfa3bdf){const _0xd2457f=_0x2b8d6a;return _0x46aa34===void 0x0?_0xcf3cf2[_0xd2457f(0x597)]['insertOp'](_0x293c72,_0xfa3bdf):_0xcf3cf2[_0xd2457f(0x597)][_0xd2457f(0x5f9)](_0x293c72,_0x46aa34,_0xfa3bdf);}function _0x32c40e(_0x163828,_0x4b50d3){const _0xd70c70=_0x2b8d6a;return['tables',_0x163828,_0xd70c70(0x2e4),_0x4b50d3];}let _0x4a02a4={'id':_0x2b8d6a(0x24f),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x400135,_0x3ae9a0)=>{const _0x258f24=_0x2b8d6a;if(!_0x3ae9a0)return!0x1;let _0x308adf=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x56e)]),{unitId:_0x27bd40,tableId:_0x27a229,fieldId:_0x20a89d,target:_0x15867b}=_0x3ae9a0,_0x399cac=_0x308adf[_0x258f24(0x425)](_0x27bd40,_0xcf3cf2['UniverInstanceType'][_0x258f24(0x2bf)]),_0xbce536=_0x15867b[_0x258f24(0x24d)]??_0x15867b[_0x258f24(0x58f)];if(!_0x399cac||!!_0x15867b[_0x258f24(0x24d)]==!!_0x15867b[_0x258f24(0x58f)]||!_0xbce536||_0xbce536===_0x20a89d||_0x20a89d===_0xcf3cf2[_0x258f24(0x509)]||_0x15867b[_0x258f24(0x24d)]===_0xcf3cf2[_0x258f24(0x509)]||!_0x59a7a2(_0x399cac,_0x27a229,{'fieldIds':[_0x20a89d,_0xbce536]}))return!0x1;let _0x59dc2b=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x1e8)]),_0x3a1d50=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xc1d2c0=_0x399cac['getSnapshot'](),_0x36b7ea=new _0x15dbb7()[_0x258f24(0x21b)](_0xc1d2c0,_0x27a229,_0x20a89d,_0x15867b),_0x27bb52=new _0x3c7454()[_0x258f24(0x5a5)](_0xc1d2c0,_0x36b7ea),_0x1a884e={'unitId':_0x27bd40,'op':_0x36b7ea},_0x1a43f0={'unitId':_0x27bd40,'op':_0x27bb52};return _0x59dc2b[_0x258f24(0x4b6)](_0x40f796['id'],_0x1a884e)?(_0x308adf[_0x258f24(0x544)](_0x27bd40),_0x3a1d50[_0x258f24(0x2b2)]({'unitID':_0x27bd40,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1a43f0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1a884e}]}),!0x0):!0x1;}},_0x55d92d={'id':'base.command.move-base-hierarchy-record','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x3a4ed4,_0x126585)=>{const _0x3ab9d1=_0x2b8d6a;var _0x440c3f;if(!_0x126585)return!0x1;let {unitId:_0x1a03f8,tableId:_0x30d850,recordId:_0x8b5b56,parentRecordId:_0x1d551e,orderKey:_0x43ddc7}=_0x126585,_0x169222=_0x3a4ed4['get'](_0xcf3cf2[_0x3ab9d1(0x56e)]),_0x163456=_0x169222[_0x3ab9d1(0x425)](_0x1a03f8,_0xcf3cf2[_0x3ab9d1(0x2f8)][_0x3ab9d1(0x2bf)]);if(!_0x163456||!_0x59a7a2(_0x163456,_0x30d850,{'recordIds':[_0x8b5b56,..._0x1d551e?[_0x1d551e]:[]]}))throw new _0x1d7b46(_0x3ab9d1(0x3a2));let _0x1cd87d=_0x163456['getSnapshot'](),_0x12b0e9=_0x1cd87d['tables'][_0x30d850],_0x156de5=_0xb51e67(_0x12b0e9),_0x157866=_0x156de5??_0x126585['fieldId']??_0x4f5050(_0x12b0e9);if(_0x156de5&&_0x126585[_0x3ab9d1(0x580)]&&_0x126585[_0x3ab9d1(0x580)]!==_0x156de5||_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866]&&!_0x4d880f(_0x12b0e9,_0x157866))throw new _0x1d7b46('invalidField');let _0x13ba58=_0x3760a3(_0x12b0e9,_0x157866),_0x32c57d=_0x5a84fb(_0x13ba58,_0x8b5b56,_0x1d551e);if(!_0x32c57d[_0x3ab9d1(0x47d)])throw new _0x1d7b46(_0x32c57d['reason']===_0xcf3cf2[_0x3ab9d1(0x296)][_0x3ab9d1(0x428)]?_0x3ab9d1(0x480):_0x32c57d[_0x3ab9d1(0x2e7)]===_0xcf3cf2[_0x3ab9d1(0x296)]['Cycle']?_0x3ab9d1(0x236):_0x3ab9d1(0x522));let _0x497ab5=_0x13ba58[_0x3ab9d1(0x337)][_0x3ab9d1(0x4f0)](_0x8b5b56)??null,_0x1755c3=_0x12b0e9[_0x3ab9d1(0x38a)][_0x8b5b56][_0x3ab9d1(0x340)];if(_0x497ab5===_0x1d551e&&(_0x43ddc7===void 0x0||_0x43ddc7===_0x1755c3))return!0x0;let _0xf2dced=_0x497ab5!==_0x1d551e,_0x4e1dbf=_0x43ddc7!==void 0x0&&_0x43ddc7!==_0x1755c3,_0x54103d=new _0x15dbb7(),_0x3f3b3b=[],_0x5790ab=_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866],_0x37e9c8=_0xf2dced&&(!_0x5790ab||((_0x440c3f=_0x391f91(_0x5790ab))==null?void 0x0:_0x440c3f['relationRole'])!==_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)])?_0x5790ab?_0x54103d[_0x3ab9d1(0x56b)](_0x1cd87d,_0x30d850,_0x157866,{'config':{..._0x5790ab[_0x3ab9d1(0x5a3)],'relationRole':_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)]}}):_0x3a4ed4[_0x3ab9d1(0x4f0)](_0x5394a2)[_0x3ab9d1(0x29b)](_0x163456,_0x30d850,_0x3df43c(_0x12b0e9,_0x157866,_0x126585['parentFieldName']),_0x12b0e9['fieldOrder'][_0x3ab9d1(0x3d4)]):null;_0x37e9c8&&_0x3f3b3b['push'](_0x37e9c8),_0xf2dced&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateCell'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866,_0x1d551e?_0x47d3ab([_0x1d551e]):'')),_0x4e1dbf&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateRecordOrder'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x43ddc7));let _0x2d86e9=_0x5dc19d(_0x3f3b3b),_0x4298b5={'tableId':_0x30d850,'fieldId':_0x157866,'recordId':_0x8b5b56,'oldParentRecordId':_0x497ab5,'parentRecordId':_0x1d551e},_0x215cc1={'unitId':_0x1a03f8,'op':_0x2d86e9,'trigger':_0x55d92d['id'],'hierarchyChanges':[_0x4298b5],'source':_0x126585[_0x3ab9d1(0x357)]??'ui'},_0x1b44c3={..._0x215cc1,'source':_0x3ab9d1(0x389)};if(!_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x1e8)])[_0x3ab9d1(0x4b6)](_0x40f796['id'],_0x215cc1))return!0x1;let _0x4ccd78=_0x163456[_0x3ab9d1(0x43e)](),_0x2a26bf=[];_0xf2dced&&_0x2a26bf['push'](_0xe17bcb(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866)),_0x4e1dbf&&_0x2a26bf['push'](_0x238ad3(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56)),_0x37e9c8&&_0x2a26bf[_0x3ab9d1(0x309)](new _0x3c7454()['invertOp'](_0x1cd87d,_0x37e9c8));let _0x218d9d={'unitId':_0x1a03f8,'op':_0x5dc19d(_0x2a26bf),'trigger':_0x55d92d['id'],'hierarchyChanges':[{..._0x4298b5,'oldParentRecordId':_0x1d551e,'parentRecordId':_0x497ab5}],'source':_0x3ab9d1(0x2b1)};return _0x169222[_0x3ab9d1(0x544)](_0x1a03f8),_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x5cb)])[_0x3ab9d1(0x2b2)]({'unitID':_0x1a03f8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x218d9d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1b44c3}]}),!0x0;}};function _0xe17bcb(_0x1d75cc,_0x3e681f,_0x508311,_0x57e150,_0x350a4c){const _0x41971d=_0x2b8d6a;var _0x5b95cf,_0xc51255,_0x58eb55,_0xabb1dc,_0x57b58a,_0x5baee9,_0x75753b,_0x30512c;let _0x179868=_0x1d75cc['tables'][_0x508311],_0x45e20d=_0x3e681f[_0x41971d(0x3d7)][_0x508311],_0x5841cd=(_0x5b95cf=_0x179868[_0x41971d(0x29a)])==null?void 0x0:_0x5b95cf[_0x57e150],_0xf3f544=(_0xc51255=_0x179868[_0x41971d(0x1f5)])==null?void 0x0:_0xc51255[_0x350a4c],_0x2a94ba=(_0x58eb55=_0x45e20d[_0x41971d(0x29a)])==null?void 0x0:_0x58eb55[_0x57e150],_0x323ba0=(_0xabb1dc=_0x45e20d['colIndex'])==null?void 0x0:_0xabb1dc[_0x350a4c],_0x7c94ef=_0x5841cd==null||_0xf3f544==null||(_0x57b58a=_0x179868[_0x41971d(0x2a3)])==null||(_0x57b58a=_0x57b58a[_0x5841cd])==null?void 0x0:_0x57b58a[_0xf3f544],_0x5bc909=_0x2a94ba==null||_0x323ba0==null||(_0x5baee9=_0x45e20d[_0x41971d(0x2a3)])==null||(_0x5baee9=_0x5baee9[_0x2a94ba])==null?void 0x0:_0x5baee9[_0x323ba0],_0x5d6ca8=(_0x75753b=_0x179868['records'][_0x57e150])==null?void 0x0:_0x75753b[_0x41971d(0x404)][_0x350a4c],_0x362b05=(_0x30512c=_0x45e20d[_0x41971d(0x38a)][_0x57e150])==null?void 0x0:_0x30512c['values'][_0x350a4c],_0x580d43=[],_0x44aaca=_0x49a31c(_0x5841cd==null||_0xf3f544==null?null:_0x4b16d6[_0x41971d(0x2a3)](_0x508311,_0x5841cd,_0xf3f544),_0x7c94ef,_0x5bc909);_0x44aaca&&_0x580d43[_0x41971d(0x309)](_0x44aaca);let _0x5e7c8d=_0x49a31c(_0x4b16d6[_0x41971d(0x4c1)](_0x508311,_0x57e150,_0x350a4c),_0x5d6ca8,_0x362b05);return _0x5e7c8d&&_0x580d43[_0x41971d(0x309)](_0x5e7c8d),_0x5dc19d(_0x580d43);}function _0x238ad3(_0x4b18b0,_0x2c54b6,_0x3978f3,_0x55869e){const _0xb0c6e=_0x2b8d6a;var _0x318f92,_0x2f8242;let _0x5370df=_0x4b18b0[_0xb0c6e(0x3d7)][_0x3978f3],_0x153a89=_0x2c54b6[_0xb0c6e(0x3d7)][_0x3978f3];return _0x5dc19d([_0x49a31c([..._0x4b16d6[_0xb0c6e(0x3c2)](_0x3978f3,_0x55869e),_0xb0c6e(0x340)],(_0x318f92=_0x5370df['records'][_0x55869e])==null?void 0x0:_0x318f92[_0xb0c6e(0x340)],(_0x2f8242=_0x153a89[_0xb0c6e(0x38a)][_0x55869e])==null?void 0x0:_0x2f8242['orderKey']),_0x49a31c([..._0x4b16d6[_0xb0c6e(0x4b0)](_0x3978f3),_0xb0c6e(0x5ab)],_0x5370df[_0xb0c6e(0x5ab)],_0x153a89[_0xb0c6e(0x5ab)])][_0xb0c6e(0x355)](_0x242282=>!!_0x242282));}function _0x49a31c(_0x5cc7d7,_0x2702f1,_0x18ae98){const _0x1433d3=_0x2b8d6a;if(!_0x5cc7d7||_0x2702f1===void 0x0&&_0x18ae98===void 0x0)return null;let _0x5b8294=_0xcf3cf2[_0x1433d3(0x56a)][_0x1433d3(0x59d)]();return _0x18ae98===void 0x0?_0x5b8294[_0x1433d3(0x594)](_0x5cc7d7,_0x2702f1):_0x2702f1===void 0x0?_0x5b8294[_0x1433d3(0x3f0)](_0x5cc7d7,_0x18ae98):_0x5b8294[_0x1433d3(0x5f9)](_0x5cc7d7,_0x2702f1,_0x18ae98);}let _0x21d036={'id':_0x2b8d6a(0x2a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x20a466,_0x4184ce)=>{const _0x4f0a8c=_0x2b8d6a;if(!_0x4184ce)return!0x1;let _0x174ba4=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x56e)]),{unitId:_0x33b734,tableId:_0x47badb,viewId:_0x203344,target:_0x1cefe6}=_0x4184ce,_0x4fc090=_0x174ba4['getUnit'](_0x33b734,_0xcf3cf2[_0x4f0a8c(0x2f8)][_0x4f0a8c(0x2bf)]),_0x240487=_0x1cefe6[_0x4f0a8c(0x54d)]??_0x1cefe6['afterViewId'];if(!_0x4fc090||!_0x240487||_0x240487===_0x203344||!_0x59a7a2(_0x4fc090,_0x47badb,{'viewIds':[_0x203344,_0x240487]}))return!0x1;let _0x1bbd8f=_0x20a466['get'](_0xcf3cf2[_0x4f0a8c(0x1e8)]),_0x1cf590=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x5cb)]),_0x1736af=_0x4fc090[_0x4f0a8c(0x43e)](),_0x431913=new _0x15dbb7()[_0x4f0a8c(0x495)](_0x1736af,_0x47badb,_0x203344,_0x1cefe6),_0x4815c5=new _0x3c7454()[_0x4f0a8c(0x5a5)](_0x1736af,_0x431913),_0x403e27={'unitId':_0x33b734,'op':_0x431913},_0x25642b={'unitId':_0x33b734,'op':_0x4815c5};return _0x1bbd8f[_0x4f0a8c(0x4b6)](_0x40f796['id'],_0x403e27)?(_0x174ba4['focusUnit'](_0x33b734),_0x1cf590[_0x4f0a8c(0x2b2)]({'unitID':_0x33b734,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25642b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x403e27}]}),!0x0):!0x1;}},_0x227b37={'id':'base.command.rename-base-table','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x3e56a4,_0x2f5780)=>{const _0x50ca38=_0x2b8d6a;if(!_0x2f5780)return!0x1;let _0x31073b=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x40066e,tableId:_0x3a0fce,name:_0x113bf6}=_0x2f5780,_0x1a6357=_0x31073b[_0x50ca38(0x425)](_0x40066e,_0xcf3cf2['UniverInstanceType'][_0x50ca38(0x2bf)]);if(!_0x1a6357||!_0x59a7a2(_0x1a6357,_0x3a0fce)||!_0x5696c8(_0x1a6357['getSnapshot'](),_0x113bf6,_0x3a0fce)[_0x50ca38(0x47d)])return!0x1;let _0x536afe=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x1e8)]),_0x3dd01d=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x5cb)]),_0x303fc6=_0x1a6357['getSnapshot'](),_0x2815a3=new _0x15dbb7()[_0x50ca38(0x331)](_0x303fc6,_0x3a0fce,_0x113bf6),_0x1c5c22=new _0x3c7454()[_0x50ca38(0x5a5)](_0x303fc6,_0x2815a3),_0x46ff75={'unitId':_0x40066e,'op':_0x2815a3},_0xe63df4={'unitId':_0x40066e,'op':_0x1c5c22};return _0x536afe['syncExecuteCommand'](_0x40f796['id'],_0x46ff75)?(_0x31073b[_0x50ca38(0x544)](_0x40066e),_0x3dd01d[_0x50ca38(0x2b2)]({'unitID':_0x40066e,'undoMutations':[{'id':_0x40f796['id'],'params':_0xe63df4}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x46ff75}]}),!0x0):!0x1;}},_0x4dc11a={'id':'base.command.rename-base-view','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2497f3,_0x48af65)=>{const _0x1f1825=_0x2b8d6a;if(!_0x48af65)return!0x1;let _0x20d5f8=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2[_0x1f1825(0x56e)]),{unitId:_0x598d03,tableId:_0x5cbcf4,viewId:_0x4a8b3d,name:_0x4f381b}=_0x48af65,_0x283572=_0x20d5f8['getUnit'](_0x598d03,_0xcf3cf2[_0x1f1825(0x2f8)][_0x1f1825(0x2bf)]);if(!_0x283572||!_0x59a7a2(_0x283572,_0x5cbcf4,{'viewIds':[_0x4a8b3d]}))return!0x1;let _0x21e84d=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2['ICommandService']),_0x5a0b41=_0x2497f3['get'](_0xcf3cf2[_0x1f1825(0x5cb)]),_0x589f33=_0x283572['getSnapshot'](),_0x41a459=new _0x15dbb7()[_0x1f1825(0x2d2)](_0x589f33,_0x5cbcf4,_0x4a8b3d,_0x4f381b),_0x2e2661=new _0x3c7454()[_0x1f1825(0x5a5)](_0x589f33,_0x41a459),_0x20290f={'unitId':_0x598d03,'op':_0x41a459},_0x178a77={'unitId':_0x598d03,'op':_0x2e2661};return _0x21e84d[_0x1f1825(0x4b6)](_0x40f796['id'],_0x20290f)?(_0x20d5f8[_0x1f1825(0x544)](_0x598d03),_0x5a0b41[_0x1f1825(0x2b2)]({'unitID':_0x598d03,'undoMutations':[{'id':_0x40f796['id'],'params':_0x178a77}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x20290f}]}),!0x0):!0x1;}},_0x4a1e5b={'id':_0x2b8d6a(0x5d4),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x520dd1,_0x4c2c0d)=>{const _0x25354a=_0x2b8d6a;if(!_0x4c2c0d)return!0x1;let _0x2edd97=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x56e)]),{unitId:_0x2965a6,tableId:_0x43e2a2,viewId:_0x4f57ac,fieldId:_0x4ce631}=_0x4c2c0d,_0x11c77e=_0x2edd97[_0x25354a(0x425)](_0x2965a6,_0xcf3cf2[_0x25354a(0x2f8)]['UNIVER_BASE']);if(!_0x11c77e||!_0x59a7a2(_0x11c77e,_0x43e2a2,{'viewIds':[_0x4f57ac],'fieldIds':[_0x4ce631]}))return!0x1;let _0x3f5c37=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x1e8)]),_0x1b7386=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x5cb)]),_0x2772ea=_0x11c77e[_0x25354a(0x43e)](),_0x375553=new _0x15dbb7()['updateViewConfig'](_0x2772ea,_0x43e2a2,_0x4f57ac,{'groupFieldId':_0x4ce631}),_0x1c3c45=new _0x3c7454()['invertOp'](_0x2772ea,_0x375553),_0x121ad9={'unitId':_0x2965a6,'op':_0x375553},_0x537d62={'unitId':_0x2965a6,'op':_0x1c3c45};return _0x3f5c37[_0x25354a(0x4b6)](_0x40f796['id'],_0x121ad9)?(_0x2edd97[_0x25354a(0x544)](_0x2965a6),_0x1b7386[_0x25354a(0x2b2)]({'unitID':_0x2965a6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x537d62}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x121ad9}]}),!0x0):!0x1;}},_0x2f9533={'id':'base.command.set-base-name','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x1280a1,_0x661b17)=>{const _0xb0cd8b=_0x2b8d6a;if(!_0x661b17)return!0x1;let _0x3a636b=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2[_0xb0cd8b(0x56e)]),_0x56b2e6=_0x3a636b[_0xb0cd8b(0x425)](_0x661b17[_0xb0cd8b(0x20d)],_0xcf3cf2['UniverInstanceType'][_0xb0cd8b(0x2bf)]);if(!_0x56b2e6)return!0x1;let _0x5d966a=_0x56b2e6[_0xb0cd8b(0x43e)]()[_0xb0cd8b(0x456)];if(_0x5d966a===_0x661b17[_0xb0cd8b(0x456)])return!0x0;let _0x9114d4=new _0x15dbb7(),_0x3a8fe3=new _0x3c7454(),_0x2471fd=[],_0x51df0c=[],_0x8a692d=[_0x56b2e6,..._0x3a636b[_0xb0cd8b(0x365)](_0xcf3cf2[_0xb0cd8b(0x2f8)][_0xb0cd8b(0x2bf)])[_0xb0cd8b(0x355)](_0x1f1629=>_0x1f1629[_0xb0cd8b(0x4c0)]()!==_0x661b17[_0xb0cd8b(0x20d)])];for(let _0x11389c of _0x8a692d){let _0x35e740=_0x11389c[_0xb0cd8b(0x43e)](),_0x3cf5aa=_0x11389c===_0x56b2e6?_0x9114d4[_0xb0cd8b(0x238)](_0x35e740,_0x661b17['name']):_0x9114d4[_0xb0cd8b(0x4d6)](_0x35e740,_0x5d966a,_0x661b17[_0xb0cd8b(0x456)]);_0x3cf5aa&&(_0x2471fd[_0xb0cd8b(0x309)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3cf5aa,'trigger':_0x2f9533['id']}}),_0x51df0c[_0xb0cd8b(0x358)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3a8fe3[_0xb0cd8b(0x5a5)](_0x35e740,_0x3cf5aa),'trigger':_0x2f9533['id']}}));}let _0xbb308=_0x1280a1['get'](_0xcf3cf2[_0xb0cd8b(0x1e8)]),_0x13cc85=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x152759=_0x13cc85['__tempBatchingUndoRedo'](_0x661b17['unitId']);try{return(0x0,_0xcf3cf2[_0xb0cd8b(0x2c9)])(_0x2471fd,_0xbb308)['result']?(_0x3a636b[_0xb0cd8b(0x544)](_0x661b17['unitId']),_0x13cc85[_0xb0cd8b(0x2b2)]({'unitID':_0x661b17[_0xb0cd8b(0x20d)],'undoMutations':_0x51df0c,'redoMutations':_0x2471fd}),!0x0):!0x1;}finally{_0x152759[_0xb0cd8b(0x51d)]();}}},_0x16823a={'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'id':'base.command.set-permission',async 'handler'(_0x2e0fcf,_0x53980e){const _0x4c281f=_0x2b8d6a;if(!_0x53980e||!_0x2403b2[_0x4c281f(0x299)](_0x53980e['action'])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x53980e[_0x4c281f(0x216)]!==_0x2f5c57[_0x4c281f(0x1ce)][_0x4c281f(0x241)]||_0x53980e[_0x4c281f(0x466)]&&(![_0x4c281f(0x26f),_0x4c281f(0x3cb),_0x4c281f(0x2f5)][_0x4c281f(0x299)](_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x417)])||_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x33e)]['some'](_0x22fd32=>!_0x2403b2[_0x4c281f(0x299)](_0x22fd32[_0x4c281f(0x216)])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x22fd32['action']!==_0x2f5c57[_0x4c281f(0x1ce)]['Edit'])))return!0x1;let _0x5204e6=_0x1a5ea7(_0x53980e[_0x4c281f(0x20d)],_0x53980e[_0x4c281f(0x3fd)],_0x53980e[_0x4c281f(0x216)]),_0x4ce8eb={'unitId':_0x53980e['unitId'],'objectId':_0x53980e[_0x4c281f(0x3fd)],'objectType':_0x5204e6[_0x4c281f(0x1cc)]},_0x5a3c23=_0x2e0fcf[_0x4c281f(0x4f0)](_0xcf3cf2[_0x4c281f(0x392)]);return _0x53980e[_0x4c281f(0x485)]?await _0x5a3c23['remove'](_0x4ce8eb):_0x53980e[_0x4c281f(0x466)]?await _0x5a3c23['save'](_0x4ce8eb,_0x53980e['policy']):await _0x5a3c23['setPoint'](_0x4ce8eb,_0x5204e6,_0x53980e[_0x4c281f(0x348)]),!0x0;}},_0x2f8f7e={'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'id':_0x2b8d6a(0x3d6),async 'handler'(_0x1a2cc0,_0xfeb3e4){const _0x3d5741=_0x2b8d6a;if(!(_0xfeb3e4!=null&&_0xfeb3e4[_0x3d5741(0x20d)])||!Array['isArray'](_0xfeb3e4[_0x3d5741(0x37a)])||!_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x3d4)]||_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x20f)](_0x185d1c=>!(_0x185d1c!=null&&_0x185d1c[_0x3d5741(0x3fd)])||_0x185d1c[_0x3d5741(0x3fd)]===_0xfeb3e4['unitId']||_0x185d1c['policy']!==null&&(!_0x185d1c['policy']||![_0x3d5741(0x26f),_0x3d5741(0x3cb),_0x3d5741(0x2f5)][_0x3d5741(0x299)](_0x185d1c[_0x3d5741(0x466)]['edit'])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x31b)])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)])||_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)][_0x3d5741(0x20f)](_0x2a2150=>_0x2a2150['action']!==_0x2f5c57['UnitAction']['Edit']))))throw Error(_0x3d5741(0x209));return _0x1a2cc0[_0x3d5741(0x4f0)](_0xcf3cf2[_0x3d5741(0x392)])['saveMany'](_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x2c4)](_0x148b8e=>{const _0x25707a=_0x3d5741;let _0x3dcafa=_0x1a5ea7(_0xfeb3e4[_0x25707a(0x20d)],_0x148b8e['objectId'],_0x2f5c57[_0x25707a(0x1ce)]['Edit']);return{'unitId':_0xfeb3e4[_0x25707a(0x20d)],'objectId':_0x148b8e[_0x25707a(0x3fd)],'objectType':_0x3dcafa[_0x25707a(0x1cc)],'policy':_0x148b8e[_0x25707a(0x466)]};}));}};function _0x1abd11(_0x1b3b46,_0x3a9c65){const _0x5026ce=_0x2b8d6a;let _0xe1ccac=_0x5d33ae(_0xcf3cf2[_0x5026ce(0x255)][_0x5026ce(0x578)](_0x1b3b46)),_0x213a15=new Map();return _0x3a9c65[_0x5026ce(0x458)](_0xea326a=>{const _0xd5991f=_0x5026ce;var _0x2a0bfb,_0x128251;let _0x57e9b3=_0xd5991f(0x57e)in _0xea326a?_0xea326a[_0xd5991f(0x57e)]:(_0x2a0bfb=_0xe1ccac[_0xd5991f(0x369)])==null?void 0x0:_0x2a0bfb[_0xea326a['row']],_0x1a25cf=_0xd5991f(0x580)in _0xea326a?_0xea326a['fieldId']:(_0x128251=_0xe1ccac[_0xd5991f(0x4df)])==null?void 0x0:_0x128251[_0xea326a[_0xd5991f(0x1cb)]],_0x2d08ad=_0x1a25cf?_0xe1ccac['fields'][_0x1a25cf]:void 0x0;if(!_0x57e9b3||!_0x1a25cf||!_0x2d08ad||!_0xe1ccac['records'][_0x57e9b3])return;let _0x4cb241=_0x1e0593(_0xea326a[_0xd5991f(0x348)],_0x2d08ad),_0x2c93b0=_0x566985(_0xea326a['value'],_0x4cb241,_0x2d08ad,_0xe1ccac,_0x57e9b3),_0x204b7b=_0x213a15[_0xd5991f(0x4f0)](_0x57e9b3)??{};_0x204b7b[_0x1a25cf]=_0x2c93b0,_0x213a15['set'](_0x57e9b3,_0x204b7b);}),[..._0x213a15]['map'](([_0xff2814,_0x18c8a3])=>({'recordId':_0xff2814,'values':_0x18c8a3}));}let _0x2ce036={'id':_0x2b8d6a(0x3ae),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x34ae52,_0x2e3758){const _0x5a7a19=_0x2b8d6a;if(!_0x2e3758)return!0x1;let _0x1a873d=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x56e)]),{unitId:_0x57a34a,tableId:_0x28125f,patches:_0x2c339b}=_0x2e3758,_0x4acaf4=_0x1a873d[_0x5a7a19(0x425)](_0x57a34a,_0xcf3cf2[_0x5a7a19(0x2f8)]['UNIVER_BASE']);if(!_0x4acaf4||!_0x59a7a2(_0x4acaf4,_0x28125f))return!0x1;let _0x1dbf35=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x1e8)]),_0x52784b=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x5cb)]),_0x220160=_0x4acaf4['getSnapshot'](),_0x309fe6=_0x5d33ae(_0x220160[_0x5a7a19(0x3d7)][_0x28125f]),_0x1b0722=_0x2c339b[_0x5a7a19(0x2c4)](_0x30731c=>{const _0x102188=_0x5a7a19;var _0x1beefb;return'recordId'in _0x30731c?_0x30731c[_0x102188(0x57e)]:(_0x1beefb=_0x309fe6['rowId'])==null?void 0x0:_0x1beefb[_0x30731c[_0x102188(0x53e)]];})[_0x5a7a19(0x355)](_0x40d152=>_0x40d152!=null),_0x5c6f96=_0x2c339b[_0x5a7a19(0x2c4)](_0x1e3e4c=>{const _0x5947cb=_0x5a7a19;var _0x361c3a;return _0x5947cb(0x580)in _0x1e3e4c?_0x1e3e4c[_0x5947cb(0x580)]:(_0x361c3a=_0x309fe6['colId'])==null?void 0x0:_0x361c3a[_0x1e3e4c[_0x5947cb(0x1cb)]];})['filter'](_0x1bf0b7=>_0x1bf0b7!=null);if(_0x1b0722[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||_0x5c6f96[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||!_0x59a7a2(_0x4acaf4,_0x28125f,{'recordIds':_0x1b0722,'fieldIds':_0x5c6f96})||_0x2c339b[_0x5a7a19(0x20f)]((_0x39c7dd,_0x505c96)=>!_0x49bde4(_0x4acaf4,_0x28125f,_0x5c6f96[_0x505c96],_0x39c7dd[_0x5a7a19(0x348)])))return!0x1;let _0x11d2b2=_0x4908a1(_0x309fe6,_0x1abd11(_0x309fe6,_0x2c339b)),_0x426baf=_0x2c339b[_0x5a7a19(0x5d0)](_0x336d8b=>{const _0x296265=_0x5a7a19;var _0x15a40d,_0x52ae38;if('row'in _0x336d8b)return[_0x336d8b];let _0x28b541=(_0x15a40d=_0x309fe6['rowIndex'])==null?void 0x0:_0x15a40d[_0x336d8b['recordId']],_0x2e7b26=(_0x52ae38=_0x309fe6[_0x296265(0x1f5)])==null?void 0x0:_0x52ae38[_0x336d8b[_0x296265(0x580)]];return _0x28b541==null||_0x2e7b26==null?[]:[{'row':_0x28b541,'col':_0x2e7b26,'value':_0x336d8b[_0x296265(0x348)]}];}),_0x59cd68=new _0x15dbb7()[_0x5a7a19(0x57c)](_0x220160,_0x28125f,_0x426baf),_0x59e9ac=new _0x3c7454()[_0x5a7a19(0x5a5)](_0x220160,_0x59cd68),_0x163642={'unitId':_0x57a34a,'op':_0x59cd68,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2['length']?_0x11d2b2:void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x389):void 0x0},_0x4b3540={'unitId':_0x57a34a,'op':_0x59e9ac,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x11d2b2[_0x5a7a19(0x2c4)](_0x4ed942=>({..._0x4ed942,'oldParentRecordId':_0x4ed942[_0x5a7a19(0x346)],'parentRecordId':_0x4ed942['oldParentRecordId']})):void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x2b1):void 0x0},_0x1ab450={..._0x163642,'source':_0x11d2b2['length']?_0x2e3758[_0x5a7a19(0x357)]??'ui':void 0x0};return _0x1dbf35[_0x5a7a19(0x4b6)](_0x40f796['id'],_0x1ab450)?(_0x1a873d[_0x5a7a19(0x544)](_0x57a34a),_0x52784b[_0x5a7a19(0x2b2)]({'unitID':_0x57a34a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4b3540}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x163642}]}),!0x0):!0x1;}},_0x450c63={'id':_0x2b8d6a(0x419),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x48ec47,_0x3720a2){const _0x27b51e=_0x2b8d6a;if(!_0x3720a2)return!0x1;let _0x39b6ae=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x56e)]),{unitId:_0x4bdc10,tableId:_0x4fb0b6,patches:_0x5e823a}=_0x3720a2,_0x1162c9=_0x39b6ae[_0x27b51e(0x425)](_0x4bdc10,_0xcf3cf2[_0x27b51e(0x2f8)][_0x27b51e(0x2bf)]),_0x352c4a=_0x5e823a['map'](_0x2289c0=>_0x2289c0[_0x27b51e(0x57e)]),_0x4400f9=_0x5e823a['flatMap'](_0x252404=>Object[_0x27b51e(0x582)](_0x252404['values']));if(!_0x1162c9||!_0x59a7a2(_0x1162c9,_0x4fb0b6,{'recordIds':_0x352c4a,'fieldIds':_0x4400f9})||_0x5e823a[_0x27b51e(0x20f)](_0x5cda40=>Object['entries'](_0x5cda40['values'])[_0x27b51e(0x20f)](([_0x5b5099,_0x5487e4])=>!_0x49bde4(_0x1162c9,_0x4fb0b6,_0x5b5099,_0x5487e4))))return!0x1;let _0x4e1a61=_0x4908a1(_0x1162c9[_0x27b51e(0x43e)]()[_0x27b51e(0x3d7)][_0x4fb0b6],_0x5e823a),_0x44b09c=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x1e8)]),_0x162e2b=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x5cb)]),_0x14bb10=_0x48ec47[_0x27b51e(0x4f0)](_0x5394a2)['createSetRecordValuesOp'](_0x1162c9,_0x4fb0b6,_0x5e823a),_0x58605a=new _0x3c7454()[_0x27b51e(0x5a5)](_0x1162c9[_0x27b51e(0x43e)](),_0x14bb10),_0x3a91c4={'unitId':_0x4bdc10,'op':_0x14bb10,'trigger':_0x4e1a61[_0x27b51e(0x3d4)]?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61[_0x27b51e(0x3d4)]?_0x4e1a61:void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x3720a2[_0x27b51e(0x357)]??'ui':void 0x0},_0x57d41a={..._0x3a91c4,'source':_0x4e1a61['length']?_0x27b51e(0x389):void 0x0},_0x4e2d70={'unitId':_0x4bdc10,'op':_0x58605a,'trigger':_0x4e1a61['length']?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61['length']?_0x4e1a61['map'](_0x57b8dc=>({..._0x57b8dc,'oldParentRecordId':_0x57b8dc[_0x27b51e(0x346)],'parentRecordId':_0x57b8dc[_0x27b51e(0x38f)]})):void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x27b51e(0x2b1):void 0x0};return _0x44b09c[_0x27b51e(0x4b6)](_0x40f796['id'],_0x3a91c4)?(_0x39b6ae[_0x27b51e(0x544)](_0x4bdc10),_0x162e2b[_0x27b51e(0x2b2)]({'unitID':_0x4bdc10,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4e2d70}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x57d41a}]}),!0x0):!0x1;}},_0xd31f61={'id':'base.command.set-base-table-hierarchy-field','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x625652,_0x198ded)=>{const _0x195297=_0x2b8d6a;if(!_0x198ded)return!0x1;let {unitId:_0x27af6a,tableId:_0xcb09a9,fieldId:_0x2ce8c6}=_0x198ded,_0x3bfef6=_0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x56e)]),_0x3e3bd7=_0x3bfef6[_0x195297(0x425)](_0x27af6a,_0xcf3cf2[_0x195297(0x2f8)][_0x195297(0x2bf)]);if(!_0x3e3bd7||!_0x59a7a2(_0x3e3bd7,_0xcb09a9))return!0x1;let _0x2a44e2=_0x3e3bd7[_0x195297(0x43e)](),_0xd1ae84=_0x2a44e2[_0x195297(0x3d7)][_0xcb09a9];if(_0x2ce8c6!==null&&!_0x4d880f(_0xd1ae84,_0x2ce8c6))throw new _0x1d7b46('invalidField');if(_0xb51e67(_0xd1ae84)===_0x2ce8c6)return!0x0;let _0x564bd3=new _0x15dbb7(),_0x934651=_0x5dc19d(Object[_0x195297(0x404)](_0xd1ae84['fields'])[_0x195297(0x5d0)](_0x10e689=>{const _0xfc5308=_0x195297;if(!_0x4d880f(_0xd1ae84,_0x10e689['id']))return[];let _0x321a4d=_0x391f91(_0x10e689);if(!_0x321a4d)return[];let _0x534697=_0x10e689['id']===_0x2ce8c6;if(_0x321a4d['relationRole']===_0xcf3cf2[_0xfc5308(0x223)][_0xfc5308(0x60d)]===_0x534697)return[];let _0x53488e={..._0x10e689[_0xfc5308(0x5a3)],'targetTableId':_0x321a4d['targetTableId'],'multiple':_0x321a4d[_0xfc5308(0x22e)]};return _0x534697?_0x53488e[_0xfc5308(0x2de)]=_0xcf3cf2[_0xfc5308(0x223)]['Parent']:delete _0x53488e[_0xfc5308(0x2de)],[_0x564bd3[_0xfc5308(0x56b)](_0x2a44e2,_0xcb09a9,_0x10e689['id'],{'config':_0x53488e})];})),_0x51cd11=new _0x3c7454()['invertOp'](_0x2a44e2,_0x934651),_0x36e903={'unitId':_0x27af6a,'op':_0x934651},_0x5c6fd1={'unitId':_0x27af6a,'op':_0x51cd11};return _0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x1e8)])[_0x195297(0x4b6)](_0x40f796['id'],_0x36e903)?(_0x3bfef6[_0x195297(0x544)](_0x27af6a),_0x625652[_0x195297(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x195297(0x2b2)]({'unitID':_0x27af6a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5c6fd1}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36e903}]}),!0x0):!0x1;}},_0x13066e={'id':'base.command.set-base-view-field-order','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3af816,_0x4533a3)=>{const _0x3674ca=_0x2b8d6a;if(!_0x4533a3)return!0x1;let _0x49a939=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x56e)]),{unitId:_0x2b95e1,tableId:_0x480420,viewId:_0x1d0a81,fieldId:_0x12c482,target:_0x5d8ed5}=_0x4533a3,_0x126d7d=_0x49a939['getUnit'](_0x2b95e1,_0xcf3cf2[_0x3674ca(0x2f8)][_0x3674ca(0x2bf)]),_0x47f511=_0x5d8ed5['beforeFieldId']??_0x5d8ed5['afterFieldId'];if(!_0x126d7d||!_0x47f511||_0x47f511===_0x12c482||!_0x59a7a2(_0x126d7d,_0x480420,{'viewIds':[_0x1d0a81],'fieldIds':[_0x12c482,_0x47f511]}))return!0x1;let _0x47f4d7=_0x126d7d[_0x3674ca(0x43e)]()[_0x3674ca(0x3d7)][_0x480420],_0x18d27c=_0x47f4d7[_0x3674ca(0x3b5)][_0x12c482],_0x31bac2=_0x47f4d7['fields'][_0x47f511];if(_0x18d27c[_0x3674ca(0x27a)]===!0x0||_0x18d27c['type']===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)]||_0x31bac2[_0x3674ca(0x27a)]===!0x0||_0x31bac2[_0x3674ca(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)])return!0x1;let _0x2fb827=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x1e8)]),_0x3a4bae=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x5cb)]),_0x46ac8b=_0x126d7d[_0x3674ca(0x43e)](),_0x501eb9=new _0x15dbb7()[_0x3674ca(0x56f)](_0x46ac8b,_0x480420,_0x1d0a81,_0x12c482,_0x5d8ed5),_0x3e5c7=new _0x3c7454()['invertOp'](_0x46ac8b,_0x501eb9),_0x19544b={'unitId':_0x2b95e1,'op':_0x501eb9},_0x22d596={'unitId':_0x2b95e1,'op':_0x3e5c7};return _0x2fb827[_0x3674ca(0x4b6)](_0x40f796['id'],_0x19544b)?(_0x49a939[_0x3674ca(0x544)](_0x2b95e1),_0x3a4bae[_0x3674ca(0x2b2)]({'unitID':_0x2b95e1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x22d596}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19544b}]}),!0x0):!0x1;}},_0x3e90d8={'id':_0x2b8d6a(0x5b4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x5ab95c,_0x2b45d2){const _0x121ba9=_0x2b8d6a;if(!_0x2b45d2)return!0x1;let _0x5dddba=_0x5ab95c['get'](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x142558,tableId:_0x9334,viewId:_0x3ef39e,fieldId:_0x2d49d0,visible:_0x5f1fdf}=_0x2b45d2,_0x40ad2e=_0x5dddba[_0x121ba9(0x425)](_0x142558,_0xcf3cf2[_0x121ba9(0x2f8)][_0x121ba9(0x2bf)]);if(!_0x40ad2e||!_0x59a7a2(_0x40ad2e,_0x9334,{'viewIds':[_0x3ef39e],'fieldIds':[_0x2d49d0]}))return!0x1;let _0xd1fa58=_0x40ad2e['getSnapshot']()['tables'][_0x9334][_0x121ba9(0x3b5)][_0x2d49d0];if(_0xd1fa58['system']===!0x0||_0xd1fa58[_0x121ba9(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x121ba9(0x46d)])return!0x1;let _0x35b522=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x1e8)]),_0x156218=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x5cb)]),_0x63d57e=_0x40ad2e[_0x121ba9(0x43e)](),_0x2cb6d6=new _0x15dbb7()['setViewFieldVisible'](_0x63d57e,_0x9334,_0x3ef39e,_0x2d49d0,_0x5f1fdf),_0x3eb7f9=new _0x3c7454()['invertOp'](_0x63d57e,_0x2cb6d6),_0x2ab3cc={'unitId':_0x142558,'op':_0x2cb6d6},_0x48ddaf={'unitId':_0x142558,'op':_0x3eb7f9};return _0x35b522[_0x121ba9(0x4b6)](_0x40f796['id'],_0x2ab3cc)?(_0x5dddba['focusUnit'](_0x142558),_0x156218[_0x121ba9(0x2b2)]({'unitID':_0x142558,'undoMutations':[{'id':_0x40f796['id'],'params':_0x48ddaf}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2ab3cc}]}),!0x0):!0x1;}},_0x1b35fa={'id':_0x2b8d6a(0x584),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x2b6901,_0x447b82)=>{const _0x7e3307=_0x2b8d6a;if(!_0x447b82)return!0x1;let _0x54c49c=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x56e)]),{unitId:_0x743838,tableId:_0x1aaafc,viewId:_0x459132,fieldId:_0x5ca193,width:_0xff51c}=_0x447b82,_0x46e5c9=_0x54c49c['getUnit'](_0x743838,_0xcf3cf2[_0x7e3307(0x2f8)][_0x7e3307(0x2bf)]);if(!_0x46e5c9||!_0x59a7a2(_0x46e5c9,_0x1aaafc,{'viewIds':[_0x459132],'fieldIds':[_0x5ca193]}))return!0x1;let _0xd9bdea=_0x46e5c9[_0x7e3307(0x43e)]()['tables'][_0x1aaafc][_0x7e3307(0x3b5)][_0x5ca193];if(_0xd9bdea['system']===!0x0||_0xd9bdea[_0x7e3307(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x7e3307(0x46d)])return!0x1;let _0x2b6cc7=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2['ICommandService']),_0x530f43=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x5cb)]),_0x53b063=_0x46e5c9[_0x7e3307(0x43e)](),_0x9c623c=new _0x15dbb7()[_0x7e3307(0x50b)](_0x53b063,_0x1aaafc,_0x459132,_0x5ca193,_0xff51c),_0x5bee55=new _0x3c7454()[_0x7e3307(0x5a5)](_0x53b063,_0x9c623c),_0x1e4c02={'unitId':_0x743838,'op':_0x9c623c},_0x1f9c10={'unitId':_0x743838,'op':_0x5bee55};return _0x2b6cc7[_0x7e3307(0x4b6)](_0x40f796['id'],_0x1e4c02)?(_0x54c49c[_0x7e3307(0x544)](_0x743838),_0x530f43[_0x7e3307(0x2b2)]({'unitID':_0x743838,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f9c10}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e4c02}]}),!0x0):!0x1;}},_0x435723={'id':'base.command.set-base-view-filter','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x5bed5a,_0x3da6a0)=>{const _0x26dff6=_0x2b8d6a;if(!_0x3da6a0)return!0x1;let _0x4dadff=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x56e)]),{unitId:_0x25a372,tableId:_0x28df4c,viewId:_0x5844f8,filter:_0x48db41}=_0x3da6a0,_0x50ed7b=_0x4dadff[_0x26dff6(0x425)](_0x25a372,_0xcf3cf2['UniverInstanceType'][_0x26dff6(0x2bf)]),_0xb394fe=(_0x48db41==null?void 0x0:_0x48db41[_0x26dff6(0x4ef)][_0x26dff6(0x2c4)](_0x2b2860=>_0x2b2860['fieldId']))??[];if(!_0x50ed7b||!_0x59a7a2(_0x50ed7b,_0x28df4c,{'viewIds':[_0x5844f8],'fieldIds':_0xb394fe}))return!0x1;let _0x1bda2f=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x1e8)]),_0x384224=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x5cb)]),_0x3a8126=_0x50ed7b[_0x26dff6(0x43e)](),_0x2f9a17=new _0x15dbb7()['setViewFilter'](_0x3a8126,_0x28df4c,_0x5844f8,_0x48db41),_0x4798a6=new _0x3c7454()[_0x26dff6(0x5a5)](_0x3a8126,_0x2f9a17),_0x23decc={'unitId':_0x25a372,'op':_0x2f9a17},_0x246e5b={'unitId':_0x25a372,'op':_0x4798a6};return _0x1bda2f[_0x26dff6(0x4b6)](_0x40f796['id'],_0x23decc)?(_0x4dadff[_0x26dff6(0x544)](_0x25a372),_0x384224[_0x26dff6(0x2b2)]({'unitID':_0x25a372,'undoMutations':[{'id':_0x40f796['id'],'params':_0x246e5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x23decc}]}),!0x0):!0x1;}},_0x3bc02d={'id':_0x2b8d6a(0x563),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2562fc,_0x24f697)=>{const _0x44ef89=_0x2b8d6a;if(!_0x24f697)return!0x1;let _0x5d89d5=_0x2562fc['get'](_0xcf3cf2[_0x44ef89(0x56e)]),{unitId:_0x30f856,tableId:_0x2dbe99,viewId:_0x3f5c94,group:_0xedc8cc}=_0x24f697,_0x80ec6a=_0x5d89d5[_0x44ef89(0x425)](_0x30f856,_0xcf3cf2[_0x44ef89(0x2f8)][_0x44ef89(0x2bf)]);if(!_0x80ec6a||!_0x59a7a2(_0x80ec6a,_0x2dbe99,{'viewIds':[_0x3f5c94],'fieldIds':_0xedc8cc[_0x44ef89(0x2c4)](_0x124d59=>_0x124d59[_0x44ef89(0x580)])}))return!0x1;let _0x570dbe=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x1e8)]),_0x48ff9e=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x5cb)]),_0x16c2a6=_0x80ec6a['getSnapshot'](),_0x3990b6=new _0x15dbb7()[_0x44ef89(0x273)](_0x16c2a6,_0x2dbe99,_0x3f5c94,_0xedc8cc),_0xbf2fc1=new _0x3c7454()[_0x44ef89(0x5a5)](_0x16c2a6,_0x3990b6),_0x1e334f={'unitId':_0x30f856,'op':_0x3990b6},_0x2761e7={'unitId':_0x30f856,'op':_0xbf2fc1};return _0x570dbe[_0x44ef89(0x4b6)](_0x40f796['id'],_0x1e334f)?(_0x5d89d5['focusUnit'](_0x30f856),_0x48ff9e['pushUndoRedo']({'unitID':_0x30f856,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2761e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e334f}]}),!0x0):!0x1;}},_0x5bf3c2={'id':_0x2b8d6a(0x406),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1d867a,_0x4b01f0)=>{const _0x3f1cb7=_0x2b8d6a;if(!_0x4b01f0)return!0x1;let _0x10aaa3=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x56e)]),{unitId:_0x3dca20,tableId:_0x223943,viewId:_0x1900f1,sort:_0x3f976f}=_0x4b01f0,_0x6e570e=_0x10aaa3[_0x3f1cb7(0x425)](_0x3dca20,_0xcf3cf2[_0x3f1cb7(0x2f8)][_0x3f1cb7(0x2bf)]);if(!_0x6e570e||!_0x59a7a2(_0x6e570e,_0x223943,{'viewIds':[_0x1900f1],'fieldIds':_0x3f976f['map'](_0xdba20a=>_0xdba20a['fieldId'])}))return!0x1;let _0x5c86e6=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x1e8)]),_0x21020b=_0x1d867a[_0x3f1cb7(0x4f0)](_0xcf3cf2[_0x3f1cb7(0x5cb)]),_0x13018c=_0x6e570e[_0x3f1cb7(0x43e)](),_0x362598=new _0x15dbb7()[_0x3f1cb7(0x43a)](_0x13018c,_0x223943,_0x1900f1,_0x3f976f),_0x365ed2=new _0x3c7454()['invertOp'](_0x13018c,_0x362598),_0x9173c6={'unitId':_0x3dca20,'op':_0x362598},_0x4d3fc5={'unitId':_0x3dca20,'op':_0x365ed2};return _0x5c86e6[_0x3f1cb7(0x4b6)](_0x40f796['id'],_0x9173c6)?(_0x10aaa3[_0x3f1cb7(0x544)](_0x3dca20),_0x21020b[_0x3f1cb7(0x2b2)]({'unitID':_0x3dca20,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4d3fc5}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x9173c6}]}),!0x0):!0x1;}},_0x188f06={'id':_0x2b8d6a(0x2b6),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b9a43,_0x2af383){const _0xf68ab8=_0x2b8d6a;if(!_0x2af383)return!0x1;let _0x57d3eb=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x18a16b,tableId:_0x52dbea,recordId:_0x11847e,fieldId:_0x23368f,value:_0x5159f4}=_0x2af383,_0x30bca7=_0x57d3eb[_0xf68ab8(0x425)](_0x18a16b,_0xcf3cf2[_0xf68ab8(0x2f8)][_0xf68ab8(0x2bf)]);if(!_0x30bca7||!_0x59a7a2(_0x30bca7,_0x52dbea,{'recordIds':[_0x11847e],'fieldIds':[_0x23368f]})||!_0x49bde4(_0x30bca7,_0x52dbea,_0x23368f,_0x5159f4))return!0x1;let _0x39c460=_0x30bca7[_0xf68ab8(0x43e)]()[_0xf68ab8(0x3d7)][_0x52dbea],_0x1ec70f=_0x4d880f(_0x39c460,_0x23368f)&&_0x4c7235(_0x39c460)['includes'](_0x23368f),_0x388319=_0x1ec70f?_0x3760a3(_0x39c460,_0x23368f):null,_0x19cc14=(_0x388319==null?void 0x0:_0x388319[_0xf68ab8(0x337)][_0xf68ab8(0x4f0)](_0x11847e))??null,_0x5917aa=_0x1ec70f?_0xcf5891(_0x5159f4)[0x0]??null:null;if(_0x388319){if(_0x5917aa&&!_0x39c460['records'][_0x5917aa])throw new _0x1d7b46('missingRecord');let _0xeba5f9=_0x5a84fb(_0x388319,_0x11847e,_0x5917aa);if(!_0xeba5f9[_0xf68ab8(0x47d)])throw new _0x1d7b46(_0xeba5f9[_0xf68ab8(0x2e7)]===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x428)]?_0xf68ab8(0x480):_0xeba5f9['reason']===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x245)]?'cycle':_0xf68ab8(0x522));}let _0x40def6=_0x2b9a43['get'](_0xcf3cf2[_0xf68ab8(0x1e8)]),_0x4ede24=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a6401=_0x2b9a43['get'](_0x5394a2),_0x9b2a4d;try{_0x9b2a4d=_0x3a6401[_0xf68ab8(0x4dc)](_0x30bca7,_0x52dbea,_0x11847e,_0x23368f,_0x5159f4);}catch(_0x4042b6){return console[_0xf68ab8(0x4d9)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x4042b6),!0x1;}let _0x2e51af=new _0x3c7454()[_0xf68ab8(0x5a5)](_0x30bca7[_0xf68ab8(0x43e)](),_0x9b2a4d),_0xdf856e=_0x1ec70f&&_0x19cc14!==_0x5917aa?[{'tableId':_0x52dbea,'fieldId':_0x23368f,'recordId':_0x11847e,'oldParentRecordId':_0x19cc14,'parentRecordId':_0x5917aa}]:void 0x0,_0x44f2ac={'unitId':_0x18a16b,'op':_0x9b2a4d,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e,'source':_0xdf856e?_0x2af383[_0xf68ab8(0x357)]??'ui':void 0x0},_0x528a5e={..._0x44f2ac,'source':_0xdf856e?_0xf68ab8(0x389):void 0x0},_0xcd49d={'unitId':_0x18a16b,'op':_0x2e51af,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e==null?void 0x0:_0xdf856e[_0xf68ab8(0x2c4)](_0x5d0286=>({..._0x5d0286,'oldParentRecordId':_0x5d0286[_0xf68ab8(0x346)],'parentRecordId':_0x5d0286[_0xf68ab8(0x38f)]})),'source':_0xdf856e?_0xf68ab8(0x2b1):void 0x0};return _0x40def6[_0xf68ab8(0x4b6)](_0x40f796['id'],_0x44f2ac)?(_0x57d3eb[_0xf68ab8(0x544)](_0x18a16b),_0x4ede24[_0xf68ab8(0x2b2)]({'unitID':_0x18a16b,'undoMutations':[{'id':_0x40f796['id'],'params':_0xcd49d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x528a5e}]}),!0x0):!0x1;}},_0x1143aa={'id':_0x2b8d6a(0x4a3),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler'(_0x58ead9,_0x46b4be){const _0x58e2a3=_0x2b8d6a;if(!_0x46b4be)return!0x1;let _0x43d659=_0x58ead9['get'](_0xcf3cf2[_0x58e2a3(0x56e)]),{unitId:_0x2629d6,tableId:_0x708d1d,fieldId:_0x22f3a2}=_0x46b4be,_0x4773a8=_0x43d659[_0x58e2a3(0x425)](_0x2629d6,_0xcf3cf2[_0x58e2a3(0x2f8)]['UNIVER_BASE']);if(!_0x4773a8||!_0x59a7a2(_0x4773a8,_0x708d1d,{'fieldIds':[_0x22f3a2]}))return!0x1;let _0x21d6b6=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2[_0x58e2a3(0x1e8)]),_0x2a2533=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x15d72c=_0x4773a8['getSnapshot'](),_0x7cf459=_0x46b4be[_0x58e2a3(0x54f)]['trim'](),_0x33305d=new _0x15dbb7()['updateField'](_0x15d72c,_0x708d1d,_0x22f3a2,{'description':_0x7cf459}),_0x5ddf0f=new _0x3c7454()[_0x58e2a3(0x5a5)](_0x4773a8[_0x58e2a3(0x43e)](),_0x33305d),_0x5dc55c={'unitId':_0x2629d6,'op':_0x33305d},_0x1f37e7={'unitId':_0x2629d6,'op':_0x5ddf0f};return _0x21d6b6[_0x58e2a3(0x4b6)](_0x40f796['id'],_0x5dc55c)?(_0x43d659[_0x58e2a3(0x544)](_0x2629d6),_0x2a2533[_0x58e2a3(0x2b2)]({'unitID':_0x2629d6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f37e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5dc55c}]}),!0x0):!0x1;}},_0x1710aa={'id':_0x2b8d6a(0x1ff),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3818ff,_0x160d3d)=>{const _0x59a0e1=_0x2b8d6a;if(!_0x160d3d)return!0x1;let _0x305e04=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x56e)]),{unitId:_0x5c1a73,tableId:_0x16622e,fieldId:_0x175895,patch:_0x13b3e2}=_0x160d3d,_0x518847=_0x305e04['getUnit'](_0x5c1a73,_0xcf3cf2[_0x59a0e1(0x2f8)][_0x59a0e1(0x2bf)]);if(!_0x518847||_0x175895===_0xcf3cf2[_0x59a0e1(0x509)]||!_0x59a7a2(_0x518847,_0x16622e,{'fieldIds':[_0x175895]}))return!0x1;let _0x3a42eb=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x1e8)]),_0x5aac2d=_0x3818ff['get'](_0xcf3cf2[_0x59a0e1(0x5cb)]),_0x11d690=_0x518847['getSnapshot']();if(!_0xa1cda8(_0x518847,_0x16622e,{..._0x11d690['tables'][_0x16622e][_0x59a0e1(0x3b5)][_0x175895],..._0x13b3e2}))return!0x1;let _0x4ea52d=new _0x15dbb7()[_0x59a0e1(0x56b)](_0x11d690,_0x16622e,_0x175895,_0x13b3e2),_0xeb68c=new _0x3c7454()['invertOp'](_0x11d690,_0x4ea52d),_0x5c4ae6={'unitId':_0x5c1a73,'op':_0x4ea52d},_0x3b34e0={'unitId':_0x5c1a73,'op':_0xeb68c};return _0x3a42eb[_0x59a0e1(0x4b6)](_0x40f796['id'],_0x5c4ae6)?(_0x305e04[_0x59a0e1(0x544)](_0x5c1a73),_0x5aac2d['pushUndoRedo']({'unitID':_0x5c1a73,'undoMutations':[{'id':_0x40f796['id'],'params':_0x3b34e0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5c4ae6}]}),!0x0):!0x1;}},_0x5df868={'id':_0x2b8d6a(0x253),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1fe625,_0x290925)=>{const _0x2d009f=_0x2b8d6a;if(!_0x290925)return!0x1;let _0x1ecada=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x56e)]),{unitId:_0x16eab0,tableId:_0x49d0a9,viewId:_0x1a7f10,patch:_0xad4a3}=_0x290925,_0x5e2e6d=_0x1ecada[_0x2d009f(0x425)](_0x16eab0,_0xcf3cf2[_0x2d009f(0x2f8)]['UNIVER_BASE']);if(!_0x5e2e6d||!_0x59a7a2(_0x5e2e6d,_0x49d0a9,{'viewIds':[_0x1a7f10]}))return!0x1;let _0x6a4656=_0x1fe625['get'](_0xcf3cf2[_0x2d009f(0x1e8)]),_0x5948e0=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x5cb)]),_0x3039cf=_0x5e2e6d[_0x2d009f(0x43e)](),_0x182ab0=new _0x15dbb7()[_0x2d009f(0x4aa)](_0x3039cf,_0x49d0a9,_0x1a7f10,_0xad4a3),_0x252d70=new _0x3c7454()[_0x2d009f(0x5a5)](_0x3039cf,_0x182ab0),_0x11cec5={'unitId':_0x16eab0,'op':_0x182ab0},_0x46cf1d={'unitId':_0x16eab0,'op':_0x252d70};return _0x6a4656['syncExecuteCommand'](_0x40f796['id'],_0x11cec5)?(_0x1ecada[_0x2d009f(0x544)](_0x16eab0),_0x5948e0[_0x2d009f(0x2b2)]({'unitID':_0x16eab0,'undoMutations':[{'id':_0x40f796['id'],'params':_0x46cf1d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x11cec5}]}),!0x0):!0x1;}},_0x1c8a84={'id':'base.command.update-base-record-order','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xa21ceb,_0x31b87b)=>{const _0x50dbdd=_0x2b8d6a;if(!_0x31b87b)return!0x1;let _0x12d433=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x56e)]),{unitId:_0x531e33,tableId:_0x93c61c,recordId:_0x6189c9,orderKey:_0x5d776c}=_0x31b87b,_0x43f041=_0x12d433['getUnit'](_0x531e33,_0xcf3cf2[_0x50dbdd(0x2f8)][_0x50dbdd(0x2bf)]);if(!_0x43f041||!_0x59a7a2(_0x43f041,_0x93c61c,{'recordIds':[_0x6189c9]}))return!0x1;let _0x3d3878=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2['ICommandService']),_0x24478f=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x5cb)]),_0x40632e=_0x43f041[_0x50dbdd(0x43e)](),_0x510729=new _0x15dbb7()['updateRecordOrder'](_0x40632e,_0x93c61c,_0x6189c9,_0x5d776c),_0x4491af=new _0x3c7454()[_0x50dbdd(0x5a5)](_0x40632e,_0x510729),_0x3bd519={'unitId':_0x531e33,'op':_0x510729},_0x51e6e6={'unitId':_0x531e33,'op':_0x4491af};return _0x3d3878[_0x50dbdd(0x4b6)](_0x40f796['id'],_0x3bd519)?(_0x12d433[_0x50dbdd(0x544)](_0x531e33),_0x24478f[_0x50dbdd(0x2b2)]({'unitID':_0x531e33,'undoMutations':[{'id':_0x40f796['id'],'params':_0x51e6e6}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3bd519}]}),!0x0):!0x1;}},_0x4d5b38=function(_0x1b309e){const _0xa051a=_0x2b8d6a;return _0x1b309e['Set']='set',_0x1b309e[_0xa051a(0x2c2)]=_0xa051a(0x1d6),_0x1b309e[_0xa051a(0x302)]='delete',_0x1b309e[_0xa051a(0x547)]=_0xa051a(0x442),_0x1b309e;}({}),_0x3e585a={'id':_0x2b8d6a(0x230),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x179ab8,_0x2f8fe5)=>{const _0x40fa87=_0x2b8d6a;var _0x167006;if(!_0x2f8fe5)return!0x1;let _0x1271fb=_0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x56e)]),_0x3c946e=_0x1271fb[_0x40fa87(0x425)](_0x2f8fe5[_0x40fa87(0x20d)],_0xcf3cf2['UniverInstanceType'][_0x40fa87(0x2bf)]);if(!_0x3c946e||!_0x59a7a2(_0x3c946e,_0x2f8fe5[_0x40fa87(0x3e2)],{'viewIds':[_0x2f8fe5[_0x40fa87(0x608)]]}))return!0x1;let _0x4846e9=_0x3c946e['getSnapshot'](),_0x4d6264=_0x4846e9[_0x40fa87(0x3d7)][_0x2f8fe5[_0x40fa87(0x3e2)]],_0x3aa04c=_0x22e7fa(((_0x167006=_0x4d6264[_0x40fa87(0x2e4)][_0x2f8fe5[_0x40fa87(0x608)]][_0x40fa87(0x5a3)][_0x40fa87(0x2ab)])==null?void 0x0:_0x167006['rules'])??[],_0x2f8fe5);if(!_0x3aa04c)return!0x1;_0x51ab1e(_0x4d6264,_0x3aa04c);let _0x416a5f=new _0x15dbb7()[_0x40fa87(0x4aa)](_0x4846e9,_0x2f8fe5[_0x40fa87(0x3e2)],_0x2f8fe5[_0x40fa87(0x608)],{'conditionalColoring':_0x3aa04c['length']?{'rules':_0x3aa04c}:null}),_0x29c02c=new _0x3c7454()[_0x40fa87(0x5a5)](_0x4846e9,_0x416a5f),_0x5a205e={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x416a5f},_0x4a3645={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x29c02c};return _0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x1e8)])['syncExecuteCommand'](_0x40f796['id'],_0x5a205e)?(_0x1271fb['focusUnit'](_0x2f8fe5[_0x40fa87(0x20d)]),_0x179ab8['get'](_0xcf3cf2[_0x40fa87(0x5cb)])['pushUndoRedo']({'unitID':_0x2f8fe5['unitId'],'undoMutations':[{'id':_0x40f796['id'],'params':_0x4a3645}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5a205e}]}),!0x0):!0x1;}};function _0x22e7fa(_0x8f7661,_0x377ee5){const _0x1f32b4=_0x2b8d6a;switch(_0x377ee5[_0x1f32b4(0x1cc)]){case _0x1f32b4(0x22b):return _0xcf3cf2['Tools'][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x40d)]);case _0x1f32b4(0x1d6):return[..._0xcf3cf2[_0x1f32b4(0x255)]['deepClone'](_0x8f7661),_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x3ec)])];case _0x1f32b4(0x472):{let _0x376b52=_0x8f7661[_0x1f32b4(0x355)](_0x5b2844=>_0x5b2844['id']!==_0x377ee5[_0x1f32b4(0x4f2)]);return _0x376b52[_0x1f32b4(0x3d4)]===_0x8f7661[_0x1f32b4(0x3d4)]?null:_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x376b52);}case'clear':return _0x8f7661['length']?[]:null;}}function _0x51ab1e(_0x4b77b6,_0x1aa0f6){const _0xf7629c=_0x2b8d6a;if(!Array['isArray'](_0x1aa0f6))throw TypeError(_0xf7629c(0x21c));let _0x49e0c1=new Set();for(let [_0x50e1f9,_0x3699b8]of _0x1aa0f6[_0xf7629c(0x271)]())_0x5c23a2(_0x4b77b6,_0x3699b8,_0x29f5e8(_0x3699b8,_0x50e1f9,_0x49e0c1));}function _0x29f5e8(_0x765b27,_0x387b34,_0x850c){const _0x10de29=_0x2b8d6a;if(!_0x765b27||typeof _0x765b27!=_0x10de29(0x240))throw TypeError(_0x10de29(0x44d)+_0x387b34+'\x20must\x20be\x20an\x20object.');let _0x71e33c=typeof _0x765b27['id']==_0x10de29(0x3ea)&&_0x765b27['id'][_0x10de29(0x479)]()?'\x22'+_0x765b27['id']+'\x22':_0x10de29(0x42b)+_0x387b34;if(typeof _0x765b27['id']!='string'||!_0x765b27['id']['trim']())throw Error(_0x10de29(0x5da)+_0x71e33c+_0x10de29(0x379));if(_0x850c[_0x10de29(0x244)](_0x765b27['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x765b27['id']+'\x22.');_0x850c[_0x10de29(0x1d6)](_0x765b27['id']);let _0xbde0f0=typeof _0x765b27[_0x10de29(0x21d)]==_0x10de29(0x3ea)&&_0x765b27[_0x10de29(0x21d)][_0x10de29(0x479)]()?new _0xcf3cf2[(_0x10de29(0x329))](_0x765b27['color']):null;if(!(_0xbde0f0!=null&&_0xbde0f0[_0x10de29(0x2b9)]))throw Error(_0x10de29(0x5da)+_0x71e33c+'\x20must\x20have\x20a\x20valid\x20CSS\x20color.');return _0x71e33c;}function _0x5c23a2(_0x90ae51,_0x7d0568,_0x3f613d){const _0x500157=_0x2b8d6a;let _0x1c9d52=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x264)])),_0x3316cc=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x2f1)])),_0xb84951=new Set(Object['values'](_0xcf3cf2[_0x500157(0x362)]));if(!_0x1c9d52[_0x500157(0x244)](_0x7d0568[_0x500157(0x3c5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x21f)+String(_0x7d0568[_0x500157(0x3c5)])+'\x22.');let _0x508e68=typeof _0x7d0568['fieldId']==_0x500157(0x3ea)?_0x90ae51[_0x500157(0x3b5)][_0x7d0568[_0x500157(0x580)]]:void 0x0;if(!_0x508e68||_0x508e68[_0x500157(0x27a)]===!0x0||_0x508e68[_0x500157(0x1cc)]===_0xcf3cf2[_0x500157(0x435)]['RecordId'])throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x2a9)+String(_0x7d0568[_0x500157(0x580)])+'\x22.');if(!_0x3316cc['has'](_0x7d0568['operator']))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x4ed)+String(_0x7d0568['operator'])+'\x22.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0xb84951[_0x500157(0x244)](_0x7d0568[_0x500157(0x32f)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x38c)+String(_0x7d0568['dateMode'])+'\x22.');if(_0x7d0568['target']===_0xcf3cf2[_0x500157(0x264)][_0x500157(0x2df)])return;let _0x183dd3=_0x78a559(_0x508e68[_0x500157(0x1cc)]);if(!_0x183dd3['includes'](_0x7d0568[_0x500157(0x1e5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x545)+_0x7d0568[_0x500157(0x1e5)]+_0x500157(0x43f)+_0x508e68[_0x500157(0x1cc)]+_0x500157(0x4c8)+_0x183dd3[_0x500157(0x600)](',\x20')+'.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0x16d4c2(_0x508e68[_0x500157(0x1cc)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x52d));}let _0x3a3835={'id':_0x2b8d6a(0x2cc),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x5cb3e5,_0x3e338f)=>{const _0x4f7929=_0x2b8d6a;if(!_0x3e338f)return!0x1;let _0x8f78f5=_0x5cb3e5['get'](_0xcf3cf2[_0x4f7929(0x56e)]),{unitId:_0x3f14b8,tableId:_0x2f8318,viewId:_0xb68e22,patch:_0x563c90}=_0x3e338f,_0x135935=_0x8f78f5['getUnit'](_0x3f14b8,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x135935||!_0x59a7a2(_0x135935,_0x2f8318,{'viewIds':[_0xb68e22]}))return!0x1;let _0x522338=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x1e8)]),_0xc86795=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x5cb)]),_0x4135fd=_0x135935['getSnapshot'](),_0x4e0c54=new _0x15dbb7()[_0x4f7929(0x4aa)](_0x4135fd,_0x2f8318,_0xb68e22,_0x563c90),_0x12953f=new _0x3c7454()[_0x4f7929(0x5a5)](_0x4135fd,_0x4e0c54),_0x1dc9e3={'unitId':_0x3f14b8,'op':_0x4e0c54},_0x5d588d={'unitId':_0x3f14b8,'op':_0x12953f};return _0x522338[_0x4f7929(0x4b6)](_0x40f796['id'],_0x1dc9e3)?(_0x8f78f5[_0x4f7929(0x544)](_0x3f14b8),_0xc86795[_0x4f7929(0x2b2)]({'unitID':_0x3f14b8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5d588d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1dc9e3}]}),!0x0):!0x1;}},_0x45b313={'id':_0x2b8d6a(0x26b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x3b6792,_0x16eef8){const _0x2b0861=_0x2b8d6a;if(!_0x16eef8)return{'valid':!0x1,'reason':_0x2b0861(0x321)};let _0x380762=_0x3b6792['get'](_0xcf3cf2[_0x2b0861(0x56e)])['getUnit'](_0x16eef8[_0x2b0861(0x20d)],_0xcf3cf2[_0x2b0861(0x2f8)][_0x2b0861(0x2bf)]),_0x259ad2=_0x380762==null?void 0x0:_0x380762[_0x2b0861(0x43e)](),_0x40c691=_0x259ad2==null?void 0x0:_0x259ad2[_0x2b0861(0x3d7)][_0x16eef8[_0x2b0861(0x3e2)]];return!_0x259ad2||!_0x40c691?{'valid':!0x1,'reason':_0x2b0861(0x2ec)}:new _0x41a657()[_0x2b0861(0x226)](_0x16eef8['formula'],_0x40c691,{'snapshot':_0x259ad2});}},_0x1d45e4=class extends _0xcf3cf2['ObjectPermissionRuleModel']{constructor(_0x4ec2e9){const _0x264a51=_0x2b8d6a;super(_0x4ec2e9,_0x264a51(0x54c),_0xcf3cf2[_0x264a51(0x2f8)][_0x264a51(0x2bf)],[_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x560)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x469)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x297)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x1e4)],_0x2f5c57['UnitObject']['BaseDashboard']]);}};_0x1d45e4=_0x21a541([_0x429169(0x0,_0xcf3cf2['IResourceManagerService'])],_0x1d45e4);let _0x3affb8={'id':'base.mutation.set-permission-rule','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x303)],'handler':(_0x74cd1c,_0x5eb3cc)=>!_0x5eb3cc||!_0x74cd1c[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x5eb3cc[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x74cd1c[_0x2b8d6a(0x4f0)](_0x1d45e4)['setRule'](_0x5eb3cc[_0x2b8d6a(0x20d)],_0x5eb3cc[_0x2b8d6a(0x465)],_0x5eb3cc[_0x2b8d6a(0x3fd)],_0x5eb3cc['rule'])},_0x245053={'id':_0x2b8d6a(0x603),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler':(_0x13bf82,_0x13ea1b)=>!_0x13ea1b||!_0x13bf82[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x13ea1b[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x13bf82[_0x2b8d6a(0x4f0)](_0x1d45e4)[_0x2b8d6a(0x4f9)](_0x13ea1b[_0x2b8d6a(0x20d)],_0x13ea1b['rules'])};function _0x1b767c(_0x3c07c1){const _0x17b36e=_0x2b8d6a;let _0x49fc74=_0x3c07c1[_0x17b36e(0x208)]??Date[_0x17b36e(0x208)](),_0x463957=_0x3c07c1['primaryFieldId']??_0x3c07c1['id']+_0x17b36e(0x1de),_0x358625=_0x3c07c1[_0x17b36e(0x502)]??_0x3c07c1['id']+'-view-grid',_0x54b956=_0x3c07c1[_0x17b36e(0x49c)]??0x0,_0x55e5ce=(0x0,_0xcf3cf2['createBaseRecordIdField'])(),_0x52c9a8={'id':_0x463957,'name':_0x3c07c1[_0x17b36e(0x2d1)]??_0x17b36e(0x54a),'type':_0xcf3cf2[_0x17b36e(0x435)][_0x17b36e(0x220)],'config':{'placeholder':_0x17b36e(0x5ce)}},_0x1e0c7c={},_0x12ba0b=[],_0x2a99de={},_0xca306f={},_0x4cd584={};for(let _0x48abd5=0x0;_0x48abd5<_0x54b956;_0x48abd5++){let _0x56550f=_0x3c07c1['id']+'-record-'+(_0x48abd5+0x1);_0x1e0c7c[_0x56550f]={'id':_0x56550f,'values':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x56550f,..._0x3c07c1[_0x17b36e(0x387)]?{[_0x463957]:_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1)}:{}},'orderKey':String(_0x48abd5+0x1)['padStart'](0x4,'0'),'createdAt':_0x49fc74,'updatedAt':_0x49fc74},_0x12ba0b[_0x17b36e(0x309)](_0x56550f),_0x2a99de[_0x56550f]=_0x48abd5,_0xca306f[_0x48abd5]=_0x56550f,_0x4cd584[_0x48abd5]={0x0:{'v':_0x56550f,'t':_0xcf3cf2['CellValueType'][_0x17b36e(0x516)]}},_0x3c07c1[_0x17b36e(0x387)]&&(_0x4cd584[_0x48abd5][0x1]={'v':_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1),'t':_0xcf3cf2[_0x17b36e(0x501)][_0x17b36e(0x516)]});}let _0x37878d={'id':_0x358625,'tableId':_0x3c07c1['id'],'name':_0x17b36e(0x372),'type':_0xcf3cf2[_0x17b36e(0x3c8)][_0x17b36e(0x372)],'fieldOrder':[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],_0x463957],'fieldSettings':{[_0xcf3cf2[_0x17b36e(0x509)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x3c07c1['id'],'name':_0x3c07c1[_0x17b36e(0x456)],'primaryFieldId':_0x463957,'fieldOrder':[_0xcf3cf2[_0x17b36e(0x509)],_0x463957],'fields':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x55e5ce,[_0x463957]:_0x52c9a8},'records':_0x1e0c7c,'recordOrder':_0x12ba0b,'rowIndex':_0x2a99de,'rowId':_0xca306f,'colIndex':{[_0xcf3cf2[_0x17b36e(0x509)]]:0x0,[_0x463957]:0x1},'colId':{0x0:_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],0x1:_0x463957},'cellData':_0x4cd584,'views':{[_0x358625]:_0x37878d},'viewOrder':[_0x358625]};}let _0x2535ff=_0x2b8d6a(0x46e);function _0x45d0ec(_0x5a0007){const _0x19edeb=_0x2b8d6a;let _0x2d55e4=_0x1b767c({'id':_0x5a0007['hostAnchorId'],'name':_0x5a0007[_0x19edeb(0x456)]??_0x5a0007['embedId'],'recordCount':0x0});return{..._0x2d55e4,'resources':{..._0x2d55e4['resources']??{},[_0x2535ff]:_0x2b2cb3(_0x5a0007)}};}function _0x2a62da(_0x2859fd){const _0x59bf6c=_0x2b8d6a;return{'id':_0x40f796['id'],'params':{'unitId':_0x2859fd['unitId'],'op':_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x1cc)]['compose'](_0xcf3cf2[_0x59bf6c(0x597)]['insertOp']([_0x59bf6c(0x3d7),_0x2859fd[_0x59bf6c(0x4b0)]['id']],_0x2859fd[_0x59bf6c(0x4b0)]),_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x3f0)]([_0x59bf6c(0x5af),_0x2859fd[_0x59bf6c(0x295)]??_0x2859fd[_0x59bf6c(0x5c6)]['tableOrder'][_0x59bf6c(0x3d4)]],_0x2859fd['table']['id'])),'trigger':_0x59bf6c(0x1cf)}};}function _0x4111b6(_0x2ec75b){const _0x411e03=_0x2b8d6a;let _0x192db0=_0x2ec75b[_0x411e03(0x5c6)][_0x411e03(0x5af)][_0x411e03(0x267)](_0x2ec75b['tableId']);if(!(!_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]||_0x192db0<0x0))return{'id':_0x40f796['id'],'params':{'unitId':_0x2ec75b[_0x411e03(0x20d)],'op':_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x1cc)][_0x411e03(0x4b7)](_0xcf3cf2['JSON1'][_0x411e03(0x594)]([_0x411e03(0x3d7),_0x2ec75b[_0x411e03(0x3e2)]],_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]),_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x594)]([_0x411e03(0x5af),_0x192db0],_0x2ec75b['tableId'])),'trigger':'embed-ui'}};}function _0x2b2cb3(_0x5b912a){const _0x4638f8=_0x2b8d6a;return{'version':0x1,'embedId':_0x5b912a['embedId'],'hostAnchorId':_0x5b912a[_0x4638f8(0x5ef)],'childUnitId':_0x5b912a['childUnitId'],'childType':_0x5b912a['childType']};}function _0x57e078(_0x20d31f){const _0xa38469=_0x2b8d6a;let _0x48c17d=Math['max'](0x0,Number(_0x20d31f['decimalPlaces']??0x0)),_0x11b31b=_0x20d31f[_0xa38469(0x486)]===!0x1?'0':_0xa38469(0x4ff),_0x1ca4c2=_0x48c17d?'.'+'0'['repeat'](_0x48c17d):'',_0x28ffe0=_0x171a15(_0x20d31f[_0xa38469(0x1fc)]);return''+(_0x20d31f[_0xa38469(0x48f)]?_0x311268(_0x20d31f[_0xa38469(0x48f)]):'')+_0x11b31b+_0x1ca4c2+_0x28ffe0;}function _0x548c9b(_0xb3e3c1,_0x7990b0){const _0x437b42=_0x2b8d6a;let _0x1c69ea=_0x57e078(_0x7990b0),_0x2f764b=_0xcf3cf2[_0x437b42(0x405)][_0x437b42(0x1fa)](_0x1c69ea,_0xb3e3c1,{'throws':!0x1});return _0x5ee077(String(_0x2f764b),_0x7990b0[_0x437b42(0x5e9)],_0x7990b0[_0x437b42(0x1fe)]);}function _0x171a15(_0x18f2b0){const _0x5eb722=_0x2b8d6a;return _0x18f2b0==='K'?_0x5eb722(0x51f):_0x18f2b0==='M'?_0x5eb722(0x602):_0x18f2b0==='B'?_0x5eb722(0x53a):'';}function _0x311268(_0x2c8f){const _0x1f01ba=_0x2b8d6a;return/^[A-Z]+$/i[_0x1f01ba(0x250)](_0x2c8f)?'\x22'+_0x2c8f+'\x22':_0x2c8f;}function _0x5ee077(_0x43e9eb,_0x38f4f9,_0x582a26){const _0x14fb1c=_0x2b8d6a;let _0x4e0260=_0x38f4f9===_0x14fb1c(0x3f3)?_0x1bf480(_0x582a26):_0x38f4f9;return _0x4e0260===_0x14fb1c(0x2cb)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x00')[_0x14fb1c(0x5a4)](/\./g,',')[_0x14fb1c(0x5a4)](/\0/g,'.'):_0x4e0260===_0x14fb1c(0x377)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20')[_0x14fb1c(0x5a4)](/\./g,','):_0x4e0260==='spacePeriod'?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20'):_0x43e9eb;}function _0x1bf480(_0x3dfe7f){const _0x44a36e=_0x2b8d6a;var _0x1e9aae,_0x116f6c;let _0x5c3cdc=_0x3dfe7f||new Intl['NumberFormat']()[_0x44a36e(0x206)]()[_0x44a36e(0x1fe)],_0x280b81;try{_0x280b81=new Intl['NumberFormat'](_0x5c3cdc,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x44a36e(0x59b)](0xf4240);}catch{return _0x44a36e(0x5aa);}let _0x40dc1e=(_0x1e9aae=_0x280b81['find'](_0x348f01=>_0x348f01[_0x44a36e(0x1cc)]===_0x44a36e(0x484)))==null?void 0x0:_0x1e9aae[_0x44a36e(0x348)],_0x18ca3b=(_0x116f6c=_0x280b81[_0x44a36e(0x22c)](_0xe71bdf=>_0xe71bdf[_0x44a36e(0x1cc)]==='decimal'))==null?void 0x0:_0x116f6c[_0x44a36e(0x348)],_0x2e1548=_0x40dc1e==='\u00a0'||_0x40dc1e==='\u202f'?'\x20':_0x40dc1e;return _0x2e1548==='.'&&_0x18ca3b===','?_0x44a36e(0x2cb):_0x2e1548==='\x20'&&_0x18ca3b===','?'spaceComma':_0x2e1548==='\x20'&&_0x18ca3b==='.'?_0x44a36e(0x344):_0x44a36e(0x5aa);}function _0x5c4434(_0x5e7689,_0x122132){const _0x3321a3=_0x2b8d6a;let _0x451f4a=_0x122132&&typeof _0x122132=='object'&&!Array[_0x3321a3(0x2a1)](_0x122132)?_0x122132:{},_0x364114=_0x3d77c5(_0x451f4a[_0x3321a3(0x5f6)],0x0,0x2,0x0),_0x5d64ad=_0x5e7689['toFixed'](_0x364114);return _0x451f4a[_0x3321a3(0x1fa)]==='number'?_0x5d64ad:_0x5d64ad+'%';}function _0x3d77c5(_0x13c7aa,_0x4e991c,_0xb170ce,_0xdad487){const _0x895353=_0x2b8d6a;if(_0x13c7aa==null||_0x13c7aa==='')return _0xdad487;let _0x945332=typeof _0x13c7aa==_0x895353(0x202)?_0x13c7aa:Number(_0x13c7aa);return Number[_0x895353(0x2b0)](_0x945332)?Math[_0x895353(0x591)](_0x4e991c,Math['min'](_0xb170ce,Math['round'](_0x945332))):_0xdad487;}let _0xe85857=[_0x2b8d6a(0x4c7),'filled','empty',_0x2b8d6a(0x47f),_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),_0x2b8d6a(0x4f1),_0x2b8d6a(0x591)],_0x514cf8=[_0x2b8d6a(0x4c7),_0x2b8d6a(0x462),_0x2b8d6a(0x37c),_0x2b8d6a(0x47f)],_0x399d76=[_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),'min','max'],_0x399dad=['min',_0x2b8d6a(0x591)],_0x34e7da=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x455)],_0xcf3cf2[_0x2b8d6a(0x435)]['Rating']]),_0x18a5d7=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x336)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d5)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3fa)]]),_0xf53337=_0x2b8d6a(0x474);function _0x27e0f6(_0x2f1ccd){const _0x85cbf7=_0x2b8d6a;return typeof _0x2f1ccd==_0x85cbf7(0x3ea)&&_0xe85857[_0x85cbf7(0x299)](_0x2f1ccd);}function _0x2f722e(_0x5ca3f4){const _0x40e98d=_0x2b8d6a;return!_0x5ca3f4||typeof _0x5ca3f4!=_0x40e98d(0x240)?{}:Object[_0x40e98d(0x3a6)](Object['entries'](_0x5ca3f4)[_0x40e98d(0x355)](_0x52363c=>_0x27e0f6(_0x52363c[0x1])));}function _0x1181e2(_0x10102e){const _0xf1e05d=_0x2b8d6a;return _0x34e7da[_0xf1e05d(0x244)](_0x10102e[_0xf1e05d(0x1cc)])?[..._0x514cf8,..._0x399d76]:_0x10102e[_0xf1e05d(0x1cc)]===_0xcf3cf2[_0xf1e05d(0x435)][_0xf1e05d(0x25e)]?[..._0x514cf8,..._0x252906(_0x10102e)===_0xf1e05d(0x570)?_0x399dad:_0x399d76]:_0x514cf8;}function _0x3e70c5(_0x22aff4,_0x40fca7){const _0x57094e=_0x2b8d6a;return _0x1181e2(_0x22aff4)[_0x57094e(0x299)](_0x40fca7);}function _0x50af88(_0x19a78a,_0x315de7,_0x21f586){const _0x488fe2=_0x2b8d6a;if(!_0x3e70c5(_0x19a78a,_0x21f586))return null;let _0x19182c=_0x315de7[_0x488fe2(0x355)](_0x518591=>!_0x3e1fd0(_0x19a78a,_0x518591));switch(_0x21f586){case _0x488fe2(0x4c7):return _0x315de7['length'];case _0x488fe2(0x462):return _0x19182c[_0x488fe2(0x3d4)];case _0x488fe2(0x37c):return _0x315de7[_0x488fe2(0x3d4)]-_0x19182c['length'];case _0x488fe2(0x47f):return new Set(_0x19182c[_0x488fe2(0x2c4)](_0x53d070=>_0x3ec1a9(_0x19a78a,_0x53d070)))[_0x488fe2(0x219)];case _0x488fe2(0x4a1):{let _0xf0df70=_0x43a793(_0x19a78a,_0x19182c);return _0xf0df70[_0x488fe2(0x3d4)]?_0x47b7ee(_0xf0df70):null;}case'average':{let _0x3eac79=_0x43a793(_0x19a78a,_0x19182c);return _0x3eac79[_0x488fe2(0x3d4)]?_0x47b7ee(_0x3eac79)/_0x3eac79[_0x488fe2(0x3d4)]:null;}case _0x488fe2(0x4f1):{let _0x174ea8=_0x43a793(_0x19a78a,_0x19182c);return _0x174ea8['length']?Math[_0x488fe2(0x4f1)](..._0x174ea8):null;}case _0x488fe2(0x591):{let _0x21904d=_0x43a793(_0x19a78a,_0x19182c);return _0x21904d[_0x488fe2(0x3d4)]?Math[_0x488fe2(0x591)](..._0x21904d):null;}}}function _0xc9d220(_0x2300a5,_0x268205,_0x2c4d4f){const _0x173aaf=_0x2b8d6a;if(_0x2c4d4f==null||!Number[_0x173aaf(0x2b0)](_0x2c4d4f))return'-';if(_0x514cf8[_0x173aaf(0x299)](_0x268205))return String(_0x2c4d4f);switch(_0x2300a5['type']){case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x5b6)]:return _0x548c9b(_0x2c4d4f,_0x28ec1e(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x3d8)]:return _0x548c9b(_0x2c4d4f,_0x383e3c(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x455)]:return _0x5c4434(_0x2c4d4f,_0x2300a5[_0x173aaf(0x5a3)]);case _0xcf3cf2[_0x173aaf(0x435)]['Formula']:return _0x18f953(_0x2c4d4f,_0x2300a5);default:return _0x59b0ac(_0x2c4d4f);}}function _0x3e1fd0(_0xd0168b,_0x50713a){const _0x15bd9c=_0x2b8d6a;if(_0x50713a==null)return!0x0;if(typeof _0x50713a=='string')return _0x50713a[_0x15bd9c(0x479)]()==='';if(Array[_0x15bd9c(0x2a1)](_0x50713a))return _0xd0168b['type']===_0xcf3cf2[_0x15bd9c(0x435)][_0x15bd9c(0x448)]?!_0x50713a[_0x15bd9c(0x20f)](_0xa547be):_0x50713a[_0x15bd9c(0x3d4)]===0x0;if(_0xd0168b[_0x15bd9c(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x15bd9c(0x24b)]&&typeof _0x50713a==_0x15bd9c(0x240)){let _0x118b75=_0x50713a;return[_0x118b75[_0x15bd9c(0x395)],_0x118b75[_0x15bd9c(0x2ff)]][_0x15bd9c(0x320)](_0x118923=>_0x118923==null||String(_0x118923)[_0x15bd9c(0x479)]()==='');}return!0x1;}function _0x43a793(_0xc540d1,_0x3b513e){const _0xce5bde=_0x2b8d6a;let _0x17567b=[];for(let _0x5ad132 of _0x3b513e){let _0x16f135=_0x5cc4e5(_0xc540d1,_0x5ad132);_0x16f135!=null&&_0x17567b[_0xce5bde(0x309)](_0x16f135);}return _0x17567b;}function _0x5cc4e5(_0x14be14,_0x42a5e1){const _0x3f51bc=_0x2b8d6a;if(typeof _0x42a5e1==_0x3f51bc(0x202))return Number[_0x3f51bc(0x2b0)](_0x42a5e1)?_0x42a5e1:null;if(_0x14be14[_0x3f51bc(0x1cc)]!==_0xcf3cf2[_0x3f51bc(0x435)][_0x3f51bc(0x25e)]&&typeof _0x42a5e1==_0x3f51bc(0x3ea)&&_0x42a5e1[_0x3f51bc(0x479)]()!==''){let _0x261bf8=Number(_0x42a5e1);return Number['isFinite'](_0x261bf8)?_0x261bf8:null;}return null;}function _0x47b7ee(_0x407fc9){const _0x46eee5=_0x2b8d6a;let _0x1fb62e=0x0,_0x423c67=0x0;for(let _0x22a96b of _0x407fc9){let _0x4a78f2=_0x1fb62e+_0x22a96b;_0x423c67+=Math[_0x46eee5(0x269)](_0x1fb62e)>=Math[_0x46eee5(0x269)](_0x22a96b)?_0x1fb62e-_0x4a78f2+_0x22a96b:_0x22a96b-_0x4a78f2+_0x1fb62e,_0x1fb62e=_0x4a78f2;}return _0x1fb62e+_0x423c67;}function _0x3ec1a9(_0x132611,_0x33364c){const _0x7c24c3=_0x2b8d6a;return _0x18a5d7['has'](_0x132611[_0x7c24c3(0x1cc)])&&Array[_0x7c24c3(0x2a1)](_0x33364c)?_0x252a3d([...new Set(_0x33364c[_0x7c24c3(0x2c4)](_0x225f5f=>_0x252a3d(_0xb01995(_0x225f5f))))][_0x7c24c3(0x24e)]()):_0x252a3d(_0xb01995(_0x33364c));}function _0xb01995(_0x148a7f){const _0x130097=_0x2b8d6a;return Array[_0x130097(0x2a1)](_0x148a7f)?_0x148a7f[_0x130097(0x2c4)](_0xb01995):_0x148a7f&&typeof _0x148a7f==_0x130097(0x240)?Object[_0x130097(0x3a6)](Object[_0x130097(0x271)](_0x148a7f)['sort'](([_0x43e336],[_0x213c9d])=>_0x43e336['localeCompare'](_0x213c9d))[_0x130097(0x2c4)](([_0x2df57d,_0x1d956d])=>[_0x2df57d,_0xb01995(_0x1d956d)])):_0x148a7f;}function _0x252a3d(_0x46ad44){const _0xa71cb7=_0x2b8d6a;return JSON[_0xa71cb7(0x322)](_0x46ad44)??'undefined';}function _0xa547be(_0x26f602){const _0x126f68=_0x2b8d6a;if(typeof _0x26f602==_0x126f68(0x3ea))return _0x26f602[_0x126f68(0x479)]()!=='';if(!_0x26f602||typeof _0x26f602!=_0x126f68(0x240))return!0x1;let _0x38393a=_0x26f602;return[_0x38393a['id'],_0x38393a[_0x126f68(0x456)],_0x38393a[_0x126f68(0x357)],_0x38393a[_0x126f68(0x2ff)],_0x38393a[_0x126f68(0x4a4)]]['some'](_0x4f7b1f=>_0x4f7b1f!=null&&String(_0x4f7b1f)[_0x126f68(0x479)]()!=='');}function _0x28ec1e(_0x198ad4){const _0x2074a1=_0x2b8d6a;let _0xc8decd=_0x1d73a7(_0x198ad4[_0x2074a1(0x5a3)]);return{'decimalPlaces':_0x17de2b(_0xc8decd[_0x2074a1(0x5f6)],0x0,0x14,0x2),'separatorStyle':typeof _0xc8decd[_0x2074a1(0x5e9)]==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x5e9)]:_0x2074a1(0x3f3),'locale':typeof _0xc8decd['locale']==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x1fe)]:void 0x0,'useThousands':_0xc8decd[_0x2074a1(0x486)]!==!0x1,'abbreviation':typeof _0xc8decd[_0x2074a1(0x1fc)]==_0x2074a1(0x3ea)?_0xc8decd['abbreviation']:_0x2074a1(0x44a)};}function _0x383e3c(_0x1e59b3){const _0x57a522=_0x2b8d6a;let _0xc0fe44=_0x1d73a7(_0x1e59b3['config']);return{..._0x28ec1e(_0x1e59b3),'currencySymbol':String(_0xc0fe44[_0x57a522(0x48f)]??'$')};}function _0x18f953(_0x46c38c,_0x4dd013){const _0x23a986=_0x2b8d6a;let _0x5af900=_0x5b7fab(_0x4dd013);if(_0x5af900===_0xf53337)return _0x59b0ac(_0x46c38c);try{return String(_0xcf3cf2[_0x23a986(0x405)][_0x23a986(0x1fa)](_0x5af900,_0x46c38c,{'throws':!0x1}));}catch{return _0x59b0ac(_0x46c38c);}}function _0x252906(_0x1a062a){const _0x58b703=_0x2b8d6a;let _0x47ad53=_0x1d73a7(_0x1d73a7(_0x1a062a[_0x58b703(0x5a3)])[_0x58b703(0x405)]);return typeof _0x47ad53['type']==_0x58b703(0x3ea)?_0x47ad53[_0x58b703(0x1cc)]:_0x58b703(0x1fd);}function _0x5b7fab(_0x1db607){const _0x2447e5=_0x2b8d6a;let _0x1c7e2d=_0x1d73a7(_0x1d73a7(_0x1db607['config'])[_0x2447e5(0x405)]);return String(_0x1c7e2d[_0x2447e5(0x41e)]??_0xf53337)[_0x2447e5(0x479)]()||_0xf53337;}function _0x59b0ac(_0x2f1929){const _0x3e8a79=_0x2b8d6a;return String(Number['isInteger'](_0x2f1929)?_0x2f1929:Math[_0x3e8a79(0x310)]((_0x2f1929+0x2**-0x34)*0x64)/0x64);}function _0x1d73a7(_0x1f827e){const _0x16ab9f=_0x2b8d6a;return _0x1f827e&&typeof _0x1f827e==_0x16ab9f(0x240)&&!Array[_0x16ab9f(0x2a1)](_0x1f827e)?_0x1f827e:{};}function _0x2593a1(_0x18a56f){const _0x3f0247=_0x2b8d6a;if(_0x18a56f==null||_0x18a56f==='')return null;let _0x3720d7=typeof _0x18a56f==_0x3f0247(0x202)?_0x18a56f:Number(_0x18a56f);return Number[_0x3f0247(0x2b0)](_0x3720d7)?_0x3720d7:null;}function _0x17de2b(_0x2917e7,_0x3ac915,_0x76f755,_0x470211){const _0x1527d7=_0x2b8d6a;let _0x3c105c=_0x2593a1(_0x2917e7);return _0x3c105c==null?_0x470211:Math[_0x1527d7(0x591)](_0x3ac915,Math[_0x1527d7(0x4f1)](_0x76f755,Math[_0x1527d7(0x310)](_0x3c105c)));}function _0xb95036(_0x22f096,_0x34d61b){const _0x396881=_0x2b8d6a;let _0x47d293=_0xcf3cf2[_0x396881(0x255)][_0x396881(0x578)](_0x22f096),_0xdc6f1f=_0x34d61b[_0x396881(0x4bf)]===!0x0,_0x4c4ba2=new Map(),_0x3b21c6=_0x34d61b[_0x396881(0x3e0)]??(()=>'view-'+(0x0,_0xcf3cf2['generateRandomId'])(0x8)),_0x1937f2=_0x47d293[_0x396881(0x49a)];return _0x34d61b['regenerateViewIds']&&(_0x1937f2=_0x47d293['viewOrder'][_0x396881(0x2c4)](_0x5db48e=>{const _0x25f602=_0x396881;let _0x45b415=_0x3b21c6();return _0x4c4ba2[_0x25f602(0x22b)](_0x5db48e,_0x45b415),_0x45b415;})),{..._0x47d293,'id':_0x34d61b['id'],'name':_0x34d61b[_0x396881(0x456)],'records':_0xdc6f1f?_0x47d293[_0x396881(0x38a)]:{},'recordOrder':_0xdc6f1f?_0x47d293[_0x396881(0x5ab)]:[],'rowIndex':_0xdc6f1f?_0x47d293[_0x396881(0x29a)]:{},'rowId':_0xdc6f1f?_0x47d293[_0x396881(0x369)]:{},'cellData':_0xdc6f1f?_0x47d293[_0x396881(0x2a3)]:{},'resources':_0xdc6f1f?_0x47d293['resources']:{},'viewOrder':_0x1937f2,'views':Object['fromEntries'](Object[_0x396881(0x271)](_0x47d293[_0x396881(0x2e4)]??{})[_0x396881(0x2c4)](([_0x2e367d,_0x3a3696])=>{const _0x3f1324=_0x396881;let _0x153f15=_0x4c4ba2[_0x3f1324(0x4f0)](_0x2e367d)??(_0x34d61b['regenerateViewIds']?_0x3b21c6():_0x2e367d);return[_0x153f15,{..._0x3a3696,'id':_0x153f15,'tableId':_0x34d61b['id']}];}))};}var _0x5ab9a1=_0x2b8d6a(0x30f),_0x2e7e04='1.0.2';let _0xe14a94={},_0x69a720={};function _0x2839fe(_0x299b2a){return new _0x3c7454()['getAffectedRanges'](_0x299b2a);}function _0xc5bbc5(_0x327c5e){const _0x18b103=_0x2b8d6a;return _0x327c5e[_0x18b103(0x39b)]['map'](_0x52ed23=>({'unitId':_0x327c5e[_0x18b103(0x20d)],'sheetId':_0x327c5e[_0x18b103(0x3e2)],'range':{'startRow':_0x52ed23[_0x18b103(0x53e)],'endRow':_0x52ed23[_0x18b103(0x53e)],'startColumn':_0x52ed23[_0x18b103(0x1cb)],'endColumn':_0x52ed23[_0x18b103(0x1cb)]}}));}function _0x55bf50(_0x2d1061,_0x2b0002){const _0x57e811=_0x2b8d6a;return{[_0x2d1061]:Object['fromEntries'](_0x2b0002[_0x57e811(0x2c4)](_0x1bca5d=>[_0x1bca5d,'1']))};}let _0x2d0dd9=class extends _0xcf3cf2['Disposable']{constructor(_0x1e2eab,_0x176996){const _0x25c11d=_0x2b8d6a;super(),this[_0x25c11d(0x5ee)]=_0x1e2eab,this[_0x25c11d(0x4f6)]=_0x176996,this['_initialize']();}['_initialize'](){const _0x5045e7=_0x2b8d6a;this['_activeDirtyManagerService'][_0x5045e7(0x3c3)](_0x40f796['id'],{'commandId':_0x40f796['id'],'getDirtyData':_0x58bc5d=>this[_0x5045e7(0x327)](_0x58bc5d[_0x5045e7(0x282)])}),this['disposeWithMe']((0x0,_0xcf3cf2[_0x5045e7(0x368)])(()=>{const _0x2c140b=_0x5045e7;this[_0x2c140b(0x5ee)][_0x2c140b(0x485)](_0x40f796['id']);}));}['_getTable'](_0xe546df,_0x936a9){const _0x377e84=_0x2b8d6a;let _0x1faacc=this[_0x377e84(0x4f6)][_0x377e84(0x425)](_0xe546df,_0xcf3cf2[_0x377e84(0x2f8)][_0x377e84(0x2bf)]);return(_0x1faacc==null?void 0x0:_0x1faacc[_0x377e84(0x43e)]()[_0x377e84(0x3d7)][_0x936a9])??null;}[_0x2b8d6a(0x327)](_0x46b1c1){const _0x40af19=_0x2b8d6a;if(_0x46b1c1[_0x40af19(0x3db)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x46b1c1['unitId']||!_0x46b1c1['op'])return{'clearDependencyTreeCache':this[_0x40af19(0x3cf)](),'forceCalculation':!0x0};let _0x5e4a2c=_0x2839fe(_0x46b1c1['op']),_0x4e62ba=this[_0x40af19(0x445)](_0x46b1c1['unitId'],_0x5e4a2c);if(_0x4e62ba['length'])return{'clearDependencyTreeCache':_0x55bf50(_0x46b1c1['unitId'],_0x4e62ba),'forceCalculation':!0x0};let _0x19634d=Object[_0x40af19(0x271)](this[_0x40af19(0x2a0)](_0x46b1c1['unitId'],_0x5e4a2c))[_0x40af19(0x5d0)](([_0x4bf24e,_0x1a4755])=>_0xc5bbc5({'unitId':_0x46b1c1[_0x40af19(0x20d)],'tableId':_0x4bf24e,'patches':_0x1a4755}));return _0x19634d[_0x40af19(0x3d4)]?{'dirtyRanges':_0x19634d}:{};}[_0x2b8d6a(0x445)](_0x277d70,_0x893e73){const _0x45f178=_0x2b8d6a;let _0x1d148b=_0x893e73[_0x45f178(0x355)](_0x1aee7f=>_0x1aee7f[_0x45f178(0x2e7)]!=='cell')['flatMap'](_0x358de1=>_0x358de1[_0x45f178(0x3e2)]?[_0x358de1['tableId']]:this[_0x45f178(0x477)](_0x277d70));return Array[_0x45f178(0x1ea)](new Set(_0x1d148b));}[_0x2b8d6a(0x2a0)](_0x58a937,_0x313711){const _0x1f7430=_0x2b8d6a;let _0xe14a1f=new Set();return _0x313711[_0x1f7430(0x23b)]((_0x4dce35,_0x2f2b74)=>{const _0x26a934=_0x1f7430;let _0x1a6b18=this[_0x26a934(0x407)](_0x58a937,_0x2f2b74);if(!_0x1a6b18)return _0x4dce35;let _0x55ef0f=_0x2f2b74[_0x26a934(0x3e2)]+':'+_0x1a6b18[_0x26a934(0x53e)]+':'+_0x1a6b18[_0x26a934(0x1cb)];return _0xe14a1f[_0x26a934(0x244)](_0x55ef0f)?_0x4dce35:(_0xe14a1f['add'](_0x55ef0f),_0x4dce35[_0x2f2b74['tableId']]=_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]??[],_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]['push'](_0x1a6b18),_0x4dce35);},{});}['_toDirtyRangePatch'](_0x5b3f09,_0x1a1e0d){const _0x240c41=_0x2b8d6a;if(_0x1a1e0d[_0x240c41(0x2e7)]!==_0x240c41(0x4c1))return null;if(_0x1a1e0d['row']!=null&&_0x1a1e0d[_0x240c41(0x45e)]!=null)return{'row':_0x1a1e0d[_0x240c41(0x53e)],'col':_0x1a1e0d[_0x240c41(0x45e)],'value':null};if(!_0x1a1e0d[_0x240c41(0x57e)]||!_0x1a1e0d[_0x240c41(0x580)])return null;let _0x18a9b4=this[_0x240c41(0x4a9)](_0x5b3f09,_0x1a1e0d[_0x240c41(0x3e2)]);if(!_0x18a9b4)return null;let _0x218632=_0x168231(_0x18a9b4,_0x1a1e0d['recordId'],_0x1a1e0d[_0x240c41(0x580)]);return _0x218632?{'row':_0x218632['row'],'col':_0x218632[_0x240c41(0x1cb)],'value':null}:null;}[_0x2b8d6a(0x477)](_0x46cffc){const _0x19a631=_0x2b8d6a;let _0x5c1d50=this[_0x19a631(0x4f6)][_0x19a631(0x425)](_0x46cffc,_0xcf3cf2[_0x19a631(0x2f8)][_0x19a631(0x2bf)]);return Object[_0x19a631(0x404)]((_0x5c1d50==null?void 0x0:_0x5c1d50[_0x19a631(0x43e)]()['tables'])??{})[_0x19a631(0x2c4)](_0x4f8e17=>_0x4f8e17['id']);}[_0x2b8d6a(0x3cf)](){const _0x413480=_0x2b8d6a;let _0x534a97=this[_0x413480(0x4f6)][_0x413480(0x365)](_0xcf3cf2[_0x413480(0x2f8)][_0x413480(0x2bf)])[_0x413480(0x2c4)](_0x1ac847=>_0x55bf50(_0x1ac847[_0x413480(0x4c0)](),Object[_0x413480(0x582)](_0x1ac847[_0x413480(0x43e)]()[_0x413480(0x3d7)])));return Object[_0x413480(0x4e8)]({},..._0x534a97);}};_0x2d0dd9=_0x21a541([_0x429169(0x0,_0x64dd1a['IActiveDirtyManagerService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2d0dd9);let _0x555f3c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x482bb0,_0x40d54a,_0x215ad6,_0x54f8f2){const _0x56e2c6=_0x2b8d6a;super(),this[_0x56e2c6(0x234)]=_0x482bb0,this[_0x56e2c6(0x4f6)]=_0x40d54a,this[_0x56e2c6(0x3ee)]=_0x215ad6,this[_0x56e2c6(0x3ca)]=_0x54f8f2,_0x550e57(this,_0x56e2c6(0x222),new _0x41a657()),_0x550e57(this,_0x56e2c6(0x515),new Map()),_0x550e57(this,_0x56e2c6(0x263),new Set()),_0x550e57(this,_0x56e2c6(0x217),Promise['resolve']()),_0x550e57(this,_0x56e2c6(0x2b4),!0x1),this[_0x56e2c6(0x3c9)]();}['_initialize'](){const _0x5aa4f6=_0x2b8d6a;this[_0x5aa4f6(0x4f6)][_0x5aa4f6(0x365)](_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])[_0x5aa4f6(0x458)](_0x3e2776=>{const _0x5347ac=_0x5aa4f6;this[_0x5347ac(0x561)](_0x3e2776);}),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x542)](_0xcf3cf2[_0x5aa4f6(0x2f8)][_0x5aa4f6(0x2bf)])[_0x5aa4f6(0x210)](({unit:_0x321619})=>{this['_scheduleSuperTableSync'](_0x321619);})),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x528)](_0xcf3cf2[_0x5aa4f6(0x2f8)]['UNIVER_BASE'])[_0x5aa4f6(0x210)](_0x1f3a11=>{const _0x3d8628=_0x5aa4f6;this['_enqueueFormulaSync'](()=>this[_0x3d8628(0x4d5)](_0x1f3a11[_0x3d8628(0x4c0)]()));})),this[_0x5aa4f6(0x54b)](this[_0x5aa4f6(0x234)][_0x5aa4f6(0x49f)](_0x489b28=>this[_0x5aa4f6(0x4c9)](_0x489b28)));}[_0x2b8d6a(0x4c9)](_0x793ec){const _0x12b35f=_0x2b8d6a;if(_0x793ec['id']===_0x64dd1a['SetFormulaCalculationResultMutation']['id']){_0x31dd9b(_0x793ec[_0x12b35f(0x282)])&&this[_0x12b35f(0x546)](_0x793ec[_0x12b35f(0x282)]);return;}if(this[_0x12b35f(0x2b4)]||_0x793ec['id']!==_0x40f796['id'])return;let _0x10a256=_0x2d1abd(_0x793ec[_0x12b35f(0x282)])?_0x793ec[_0x12b35f(0x282)]:void 0x0,_0x41b7b6=_0x10a256!=null&&_0x10a256[_0x12b35f(0x20d)]?[this['_univerInstanceService']['getUnit'](_0x10a256[_0x12b35f(0x20d)],_0xcf3cf2[_0x12b35f(0x2f8)][_0x12b35f(0x2bf)])][_0x12b35f(0x355)](_0x2c411f=>!!_0x2c411f):this[_0x12b35f(0x4f6)][_0x12b35f(0x365)](_0xcf3cf2[_0x12b35f(0x2f8)]['UNIVER_BASE']),_0x475ff7=_0x10a256==null?void 0x0:_0x10a256['op'];_0x41b7b6[_0x12b35f(0x458)](_0x4a0c59=>{const _0x5bc951=_0x12b35f;let _0x2f77e1=_0x475ff7?_0x2839fe(_0x475ff7):[];(!_0x475ff7||_0x2f77e1['some'](_0xac9ad9=>_0xac9ad9[_0x5bc951(0x2e7)]!=='cell'))&&this[_0x5bc951(0x561)](_0x4a0c59);});}[_0x2b8d6a(0x561)](_0x58068e){const _0x3a4031=_0x2b8d6a;let _0x5cc514=_0x58068e[_0x3a4031(0x4c0)]();this[_0x3a4031(0x263)][_0x3a4031(0x244)](_0x5cc514)||(this[_0x3a4031(0x263)]['add'](_0x5cc514),this[_0x3a4031(0x3f2)](async()=>{const _0x5d119f=_0x3a4031;this['_scheduledSuperTableSyncs'][_0x5d119f(0x472)](_0x5cc514),await this[_0x5d119f(0x416)](_0x58068e);}));}async[_0x2b8d6a(0x416)](_0x191b8b){const _0x1efec6=_0x2b8d6a;let _0xd8b080=_0x191b8b[_0x1efec6(0x4c0)](),_0x550791=this['_formulaService']['getSuperTableRegistrations'](_0x191b8b[_0x1efec6(0x43e)]()),_0xb1e360=new Set(_0x550791[_0x1efec6(0x2c4)](({tableName:_0x4cbbf3})=>_0x4cbbf3)),_0x116feb=this[_0x1efec6(0x515)][_0x1efec6(0x4f0)](_0xd8b080)??new Set();for(let _0x1b6311 of _0x116feb)if(!_0xb1e360[_0x1efec6(0x244)](_0x1b6311)&&!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x575)]['id'],{'unitId':_0xd8b080,'tableName':_0x1b6311}))return;for(let {tableName:_0x51f659,reference:_0x1292eb}of _0x550791)if(!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x4dd)]['id'],{'unitId':_0xd8b080,'tableName':_0x51f659,'reference':_0x1292eb}))return;this[_0x1efec6(0x515)][_0x1efec6(0x22b)](_0xd8b080,_0xb1e360);}async[_0x2b8d6a(0x4d5)](_0x1a47db){const _0x3582ad=_0x2b8d6a;let _0x5cb8ee=this[_0x3582ad(0x515)]['get'](_0x1a47db)??new Set();for(let _0x429fd2 of _0x5cb8ee)if(!await this[_0x3582ad(0x59a)](_0x64dd1a['RemoveSuperTableMutation']['id'],{'unitId':_0x1a47db,'tableName':_0x429fd2}))return;this['_registeredSuperTableNames']['delete'](_0x1a47db);}async['_executeSuperTableMutationWhileActive'](_0x4f1092,_0x5a8b9f){const _0x2068fb=_0x2b8d6a;return!this['_disposed']&&await this[_0x2068fb(0x234)][_0x2068fb(0x471)](_0x4f1092,_0x5a8b9f,{'onlyLocal':!0x0})&&!this[_0x2068fb(0x2a7)];}['_enqueueFormulaSync'](_0x24fbf0){const _0x58771a=_0x2b8d6a;this['_formulaSyncQueue']=this[_0x58771a(0x217)][_0x58771a(0x275)](_0x24fbf0,_0x24fbf0)['catch'](()=>void 0x0);}[_0x2b8d6a(0x546)](_0x5cf2cf){const _0x340d31=_0x2b8d6a;let _0x469d99=this['_univerInstanceService'][_0x340d31(0x365)](_0xcf3cf2[_0x340d31(0x2f8)][_0x340d31(0x2bf)]);if(!_0x469d99[_0x340d31(0x20f)](_0x586e29=>{const _0x42edc2=_0x340d31;var _0x31c9f8;return((_0x31c9f8=_0x5cf2cf[_0x42edc2(0x364)])==null?void 0x0:_0x31c9f8[_0x586e29['getUnitId']()])!=null;}))return;let _0x46e225=_0x469d99['flatMap'](_0x27c80c=>_0x3bbd86(_0x27c80c['getSnapshot'](),_0x5cf2cf));if(!_0x46e225[_0x340d31(0x3d4)]){this[_0x340d31(0x3ca)]['markResultApplied'](_0x2f0f8e[_0x340d31(0x606)]['BASE'],_0x5cf2cf);return;}let _0x128744=new _0x15dbb7(),_0x385a68=_0x46e225[_0x340d31(0x5d0)](_0xe01815=>_0xc5bbc5({'unitId':_0xe01815[_0x340d31(0x20d)],'tableId':_0xe01815['tableId'],'patches':_0xe01815[_0x340d31(0x39b)]}));this[_0x340d31(0x2b4)]=!0x0,(async()=>{const _0x4b5e98=_0x340d31;for(let _0x241f47 of _0x46e225){let _0x595769=this[_0x4b5e98(0x4f6)][_0x4b5e98(0x425)](_0x241f47[_0x4b5e98(0x20d)],_0xcf3cf2[_0x4b5e98(0x2f8)][_0x4b5e98(0x2bf)]);_0x595769&&await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x40f796['id'],{'unitId':_0x241f47[_0x4b5e98(0x20d)],'op':_0x128744['setRangeValues'](_0x595769['getSnapshot'](),_0x241f47[_0x4b5e98(0x3e2)],_0x241f47[_0x4b5e98(0x39b)]),'trigger':_0x64dd1a[_0x4b5e98(0x36f)]['id']},{'onlyLocal':!0x0});}await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x64dd1a[_0x4b5e98(0x50f)]['id'],{'dirtyRanges':_0x385a68},{'onlyLocal':!0x0});})()[_0x340d31(0x283)](()=>{const _0x43debc=_0x340d31;this[_0x43debc(0x2b4)]=!0x1,this[_0x43debc(0x3ca)][_0x43debc(0x232)](_0x2f0f8e[_0x43debc(0x606)][_0x43debc(0x233)],_0x5cf2cf);});}};_0x555f3c=_0x21a541([_0x429169(0x0,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x1,_0xcf3cf2['IUniverInstanceService']),_0x429169(0x2,(0x0,_0xcf3cf2['Inject'])(_0x64dd1a['FormulaCalculationTriggerService'])),_0x429169(0x3,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x2f0f8e[_0x2b8d6a(0x214)]))],_0x555f3c);function _0x2d1abd(_0x5105d1){const _0x2e52de=_0x2b8d6a;return typeof _0x5105d1==_0x2e52de(0x240)&&!!_0x5105d1&&_0x2e52de(0x20d)in _0x5105d1&&typeof _0x5105d1['unitId']==_0x2e52de(0x3ea)&&'op'in _0x5105d1&&Array[_0x2e52de(0x2a1)](_0x5105d1['op']);}function _0x31dd9b(_0xec29d){const _0x39b7c4=_0x2b8d6a;return typeof _0xec29d==_0x39b7c4(0x240)&&!!_0xec29d&&_0x39b7c4(0x364)in _0xec29d&&_0x39b7c4(0x1e6)in _0xec29d;}let _0x5f5287=new Set([_0x16823a['id'],_0x2f8f7e['id'],_0x45b313['id']]),_0x5d14ac=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x248c80,_0x3d94a5,_0x579e5f,_0x3ae04e){const _0x30ec0b=_0x2b8d6a;super(),this[_0x30ec0b(0x487)]=_0x248c80,this[_0x30ec0b(0x234)]=_0x3d94a5,this[_0x30ec0b(0x20a)]=_0x579e5f,this[_0x30ec0b(0x5d7)]=_0x3ae04e,this[_0x30ec0b(0x5d7)]['getAllUnitsForType'](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])[_0x30ec0b(0x458)](_0x2ac8b6=>this[_0x30ec0b(0x29c)](_0x2ac8b6[_0x30ec0b(0x4c0)]())),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x542)](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])['subscribe'](({unit:_0xeaf6d6})=>this['_registerUnitPermissionPoints'](_0xeaf6d6['getUnitId']()))),this['disposeWithMe'](this[_0x30ec0b(0x234)][_0x30ec0b(0x59c)]((_0x2bb7be,_0x2e1ad9)=>this[_0x30ec0b(0x414)](_0x2bb7be,_0x2e1ad9))),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x528)](_0xcf3cf2[_0x30ec0b(0x2f8)][_0x30ec0b(0x2bf)])[_0x30ec0b(0x210)](_0x19dcdc=>{const _0x4f2c88=_0x30ec0b;this[_0x4f2c88(0x487)][_0x4f2c88(0x4f0)](_0xcf3cf2[_0x4f2c88(0x392)])[_0x4f2c88(0x551)](_0x19dcdc[_0x4f2c88(0x4c0)]()),_0x1fbe97(this['_permissionService'],_0x19dcdc[_0x4f2c88(0x4c0)]());}));}[_0x2b8d6a(0x29c)](_0x53f907){const _0x2e3884=_0x2b8d6a;_0x2403b2['forEach'](_0x2daa6b=>{const _0x4d901f=_0x4fc4;let _0x372771=_0x1a5ea7(_0x53f907,_0x53f907,_0x2daa6b);this['_permissionService']['getPermissionPoint'](_0x372771['id'])||this[_0x4d901f(0x20a)][_0x4d901f(0x4d7)](_0x372771);}),this[_0x2e3884(0x487)]['get'](_0xcf3cf2[_0x2e3884(0x392)])['initializeUnit']({'unitId':_0x53f907,'objectId':_0x53f907,'objectType':_0x2f5c57[_0x2e3884(0x40a)][_0x2e3884(0x58c)]});}[_0x2b8d6a(0x414)](_0x158f35,_0x366324){const _0x1453fe=_0x2b8d6a;var _0x48c7b1;if(_0x366324!=null&&_0x366324[_0x1453fe(0x3a7)]||_0x366324!=null&&_0x366324[_0x1453fe(0x5bd)])return;let _0x2f8cb5=_0xe24e48(_0x158f35[_0x1453fe(0x282)])?_0x158f35[_0x1453fe(0x282)]:void 0x0;if(_0x366324!=null&&_0x366324[_0x1453fe(0x4c3)]&&_0x158f35['id']===_0x1453fe(0x304)&&(_0x2f8cb5==null?void 0x0:_0x2f8cb5['trigger'])===_0x64dd1a[_0x1453fe(0x36f)]['id'])return;let _0x4d8887=_0x285ff1(_0x158f35['id']),_0x2b9924=_0x47833a(_0x2f8cb5==null?void 0x0:_0x2f8cb5['unitId'],_0x366324)??(_0x4d8887?(_0x48c7b1=this[_0x1453fe(0x5d7)][_0x1453fe(0x350)](_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]))==null?void 0x0:_0x48c7b1['getUnitId']():void 0x0);if(!_0x2b9924||this[_0x1453fe(0x5d7)][_0x1453fe(0x286)](_0x2b9924)!==_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])return;if(_0x4d8887){if(!_0x3aa462(this['_permissionService'],_0x2b9924,_0x2b9924,_0x4d8887))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924),new _0xcf3cf2[(_0x1453fe(0x4fc))]('Base\x20'+_0x2f5c57['UnitAction'][_0x4d8887]+_0x1453fe(0x1e3));return;}if(_0x5f5287[_0x1453fe(0x244)](_0x158f35['id'])||!_0x158f35['id'][_0x1453fe(0x26d)](_0x1453fe(0x5cd))&&!_0x158f35['id'][_0x1453fe(0x26d)]('base.mutation.'))return;let _0x1810ec=this[_0x1453fe(0x5d7)]['getUnit'](_0x2b9924,_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]),_0x54e5d4=_0x1810ec?_0x5316a5(_0x1810ec,_0x2f8cb5??{},_0x158f35['id']):[];if(!_0x1810ec||!_0x1484ec(this[_0x1453fe(0x20a)],_0x2b9924,_0x54e5d4))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924,_0x54e5d4),new _0xcf3cf2['CustomCommandExecutionError'](_0x1453fe(0x5c9));}};_0x5d14ac=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x1,_0xcf3cf2['ICommandService']),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x2c0)]),_0x429169(0x3,_0xcf3cf2['IUniverInstanceService'])],_0x5d14ac);function _0x47833a(_0x3044a8,_0x66f2c5){const _0x53c24c=_0x2b8d6a;return typeof _0x3044a8==_0x53c24c(0x3ea)?_0x3044a8:typeof(_0x66f2c5==null?void 0x0:_0x66f2c5[_0x53c24c(0x20d)])==_0x53c24c(0x3ea)?_0x66f2c5[_0x53c24c(0x20d)]:void 0x0;}function _0x285ff1(_0x5c2804){const _0x2b2cf4=_0x2b8d6a;if(_0x5c2804==='bases-exchange-client.operation.export-base'||_0x5c2804==='bases-exchange-client.operation.export-base-by-format')return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x444)];if(_0x5c2804['startsWith']('thread-comment.command.')||_0x5c2804[_0x2b2cf4(0x26d)](_0x2b2cf4(0x2e9)))return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x20b)];}function _0x5316a5(_0x58f21c,_0x2b2f17,_0x228f51){const _0x2d8210=_0x2b8d6a;if(_0x228f51===_0x2d8210(0x304)&&_0x178e5f(_0x2b2f17['op']))return _0x90cd14(_0x58f21c,_0x2b2f17['op']);let _0x3ca01b=new Set(),_0xc91c50=_0x488362(_0x2b2f17,_0x2d8210(0x4b0)),_0x179b5a=typeof _0x2b2f17[_0x2d8210(0x3e2)]==_0x2d8210(0x3ea)?_0x2b2f17[_0x2d8210(0x3e2)]:_0xc91c50[0x0];if(_0xc91c50[_0x2d8210(0x458)](_0x1335e1=>_0x3ca01b['add'](_0x20afd2(_0x1335e1))),!_0x179b5a)return[..._0x3ca01b];let _0xd365a9=_0x58f21c['getSnapshot']()[_0x2d8210(0x3d7)][_0x179b5a],_0x67c466=new Set(_0x488362(_0x2b2f17,'field')),_0x4a9317=new Set(_0x488362(_0x2b2f17,'record')),_0x3410e3=new Set(_0x488362(_0x2b2f17,'view'));return _0x4b11b2(_0xd365a9,_0x2b2f17[_0x2d8210(0x39b)],_0x4a9317,_0x67c466),_0x4445b6(_0x2b2f17,_0x67c466),_0x67c466[_0x2d8210(0x458)](_0x3c924d=>_0x3ca01b['add'](_0xe7abbf(_0x179b5a,_0x3c924d))),_0x4a9317[_0x2d8210(0x458)](_0x4b87eb=>_0x3ca01b[_0x2d8210(0x1d6)](_0x19d6d6(_0x179b5a,_0x4b87eb))),_0x3410e3['forEach'](_0x1c412e=>_0x3ca01b[_0x2d8210(0x1d6)](_0x1592c3(_0x179b5a,_0x1c412e))),[..._0x3ca01b];}function _0x90cd14(_0x1a05a1,_0x5cf4ad){const _0x409bfc=_0x2b8d6a;let _0x3fea4b=_0x1a05a1[_0x409bfc(0x43e)](),_0x7331bd=new _0x3c7454()[_0x409bfc(0x235)](_0x5cf4ad),_0x1ea5f=_0x34eab7(_0x5cf4ad),_0x1d8bd4=new Set();return _0x7331bd[_0x409bfc(0x458)](_0x5c4981=>{const _0x1f7c6e=_0x409bfc;var _0x170170,_0x57c02b;let {tableId:_0x2cc78d}=_0x5c4981;if(!_0x2cc78d)return;_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x20afd2(_0x2cc78d));let _0xbefbb4=_0x3fea4b['tables'][_0x2cc78d],_0x58c41c=_0x5c4981[_0x1f7c6e(0x57e)]??(_0x5c4981[_0x1f7c6e(0x53e)]==null||_0xbefbb4==null||(_0x170170=_0xbefbb4[_0x1f7c6e(0x369)])==null?void 0x0:_0x170170[_0x5c4981['row']]),_0x1a99d6=_0x5c4981[_0x1f7c6e(0x580)]??(_0x5c4981[_0x1f7c6e(0x45e)]==null||_0xbefbb4==null||(_0x57c02b=_0xbefbb4[_0x1f7c6e(0x4df)])==null?void 0x0:_0x57c02b[_0x5c4981['column']]);_0x58c41c&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x58c41c)),_0x1a99d6&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x1a99d6)),_0x5c4981[_0x1f7c6e(0x608)]&&_0x1d8bd4['add'](_0x1592c3(_0x2cc78d,_0x5c4981[_0x1f7c6e(0x608)])),(_0x5c4981['reason']===_0x1f7c6e(0x4b0)||_0x1ea5f[_0x1f7c6e(0x244)](_0x2cc78d))&&_0xbefbb4&&(Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x3b5)])[_0x1f7c6e(0x458)](_0x3e21ff=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x3e21ff))),Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x38a)])['forEach'](_0x812c8=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x812c8))),Object['keys'](_0xbefbb4[_0x1f7c6e(0x2e4)])[_0x1f7c6e(0x458)](_0x59b0c1=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x1592c3(_0x2cc78d,_0x59b0c1)))),_0x5c4981[_0x1f7c6e(0x2e7)]===_0x1f7c6e(0x3c2)&&_0xbefbb4&&Object[_0x1f7c6e(0x582)](_0xbefbb4['fields'])[_0x1f7c6e(0x458)](_0x594a11=>_0x1d8bd4['add'](_0xe7abbf(_0x2cc78d,_0x594a11)));}),_0x7331bd['length']===0x0&&_0xd98664(_0x5cf4ad,_0x409bfc(0x5af))&&Object['keys'](_0x3fea4b[_0x409bfc(0x3d7)])['forEach'](_0x3b60ae=>_0x1d8bd4['add'](_0x20afd2(_0x3b60ae))),[..._0x1d8bd4];}function _0x34eab7(_0x2c6a52){let _0x1342f5=new Set(),_0x52a0f1=_0x4a1cec=>{const _0xda6bac=_0x4fc4;Array['isArray'](_0x4a1cec)&&_0x4a1cec[_0xda6bac(0x458)]((_0x74a0ab,_0x210845)=>{const _0x103e5b=_0xda6bac;_0x74a0ab===_0x103e5b(0x3d7)&&typeof _0x4a1cec[_0x210845+0x1]==_0x103e5b(0x3ea)&&_0x4a4f65(_0x4a1cec[_0x210845+0x2])&&_0x1342f5[_0x103e5b(0x1d6)](_0x4a1cec[_0x210845+0x1]),_0x52a0f1(_0x74a0ab);});};return _0x52a0f1(_0x2c6a52),_0x1342f5;}function _0x4a4f65(_0x167355){const _0x2ce866=_0x2b8d6a;return!!_0x167355&&typeof _0x167355==_0x2ce866(0x240)&&!Array[_0x2ce866(0x2a1)](_0x167355)&&('i'in _0x167355||'r'in _0x167355||'p'in _0x167355||'d'in _0x167355||'es'in _0x167355||'ena'in _0x167355||'et'in _0x167355);}function _0xd98664(_0x291fb2,_0x4c5fc6){const _0x5c4be5=_0x2b8d6a;return Array[_0x5c4be5(0x2a1)](_0x291fb2)&&_0x291fb2[_0x5c4be5(0x20f)](_0x5cb0f6=>_0x5cb0f6===_0x4c5fc6||_0xd98664(_0x5cb0f6,_0x4c5fc6));}function _0x488362(_0x9eaae9,_0x5166d5){const _0x1af8c9=_0x2b8d6a;let _0x2cc60e=new Set(),_0xdc1600=_0x5166d5+'Id',_0x4d2674=_0x5166d5+_0x1af8c9(0x496),_0x1fb7af=(_0x438ad7,_0x15354f='')=>{const _0x280b67=_0x1af8c9;if(typeof _0x438ad7=='string'){_0x15354f===_0xdc1600&&_0x2cc60e[_0x280b67(0x1d6)](_0x438ad7);return;}if(Array[_0x280b67(0x2a1)](_0x438ad7)){_0x15354f===_0x4d2674?_0x438ad7['forEach'](_0x4023c7=>{const _0xaac4e6=_0x280b67;typeof _0x4023c7==_0xaac4e6(0x3ea)&&_0x2cc60e['add'](_0x4023c7);}):_0x438ad7[_0x280b67(0x458)](_0x30b6c0=>_0x1fb7af(_0x30b6c0,_0x15354f));return;}_0xe24e48(_0x438ad7)&&Object[_0x280b67(0x271)](_0x438ad7)['forEach'](([_0x186480,_0x5737b9])=>{const _0x167b7f=_0x280b67;_0x186480==='id'&&_0x15354f===_0x5166d5&&typeof _0x5737b9==_0x167b7f(0x3ea)?_0x2cc60e['add'](_0x5737b9):_0x1fb7af(_0x5737b9,_0x186480);});};return _0x1fb7af(_0x9eaae9),[..._0x2cc60e];}function _0x4b11b2(_0x46899b,_0x4e0ef3,_0x3d5546,_0x24aefe){const _0x46d833=_0x2b8d6a;_0x46899b&&Array[_0x46d833(0x2a1)](_0x4e0ef3)&&_0x4e0ef3[_0x46d833(0x458)](_0x38fb34=>{const _0x4ecb38=_0x46d833;if(!_0xe24e48(_0x38fb34))return;let _0x3a8a35=_0x38fb34;if(typeof _0x3a8a35['row']=='number'){var _0x5dfb3a;let _0x111c00=(_0x5dfb3a=_0x46899b[_0x4ecb38(0x369)])==null?void 0x0:_0x5dfb3a[_0x3a8a35[_0x4ecb38(0x53e)]];_0x111c00&&_0x3d5546[_0x4ecb38(0x1d6)](_0x111c00);}if(typeof _0x3a8a35[_0x4ecb38(0x1cb)]==_0x4ecb38(0x202)){var _0x32ce96;let _0x28d408=(_0x32ce96=_0x46899b[_0x4ecb38(0x4df)])==null?void 0x0:_0x32ce96[_0x3a8a35[_0x4ecb38(0x1cb)]];_0x28d408&&_0x24aefe[_0x4ecb38(0x1d6)](_0x28d408);}});}function _0x4445b6(_0xfef31f,_0x2fa247,_0xc1dee=''){const _0x38cb59=_0x2b8d6a;if(_0xfef31f&&typeof _0xfef31f==_0x38cb59(0x240)){if(Array[_0x38cb59(0x2a1)](_0xfef31f)){_0xfef31f[_0x38cb59(0x458)](_0xb2d24=>_0x4445b6(_0xb2d24,_0x2fa247,_0xc1dee));return;}_0xe24e48(_0xfef31f)&&Object[_0x38cb59(0x271)](_0xfef31f)[_0x38cb59(0x458)](([_0x580341,_0xd48a7b])=>{const _0x1df47a=_0x38cb59;_0xc1dee===_0x1df47a(0x404)&&_0x2fa247[_0x1df47a(0x1d6)](_0x580341),_0x4445b6(_0xd48a7b,_0x2fa247,_0x580341);});}}function _0x178e5f(_0x10cf0f){const _0x2fec6b=_0x2b8d6a;return Array[_0x2fec6b(0x2a1)](_0x10cf0f);}function _0xe24e48(_0x5dca52){const _0x4edc56=_0x2b8d6a;return typeof _0x5dca52==_0x4edc56(0x240)&&!!_0x5dca52&&!Array['isArray'](_0x5dca52);}let _0x231d66=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x313)),_0x3416a2=class{constructor(_0x2193b3){const _0x4f638b=_0x2b8d6a;this[_0x4f638b(0x4f6)]=_0x2193b3;}[_0x2b8d6a(0x200)](_0x46b90b){const _0xe413d4=_0x2b8d6a;return this['_univerInstanceService'][_0xe413d4(0x425)](_0x46b90b,_0xcf3cf2['UniverInstanceType'][_0xe413d4(0x2bf)])??null;}[_0x2b8d6a(0x2be)](){const _0x3da7eb=_0x2b8d6a;return this[_0x3da7eb(0x4f6)][_0x3da7eb(0x365)](_0xcf3cf2['UniverInstanceType'][_0x3da7eb(0x2bf)]);}['createBase'](_0x61906b){const _0x5c0e1c=_0x2b8d6a;return this[_0x5c0e1c(0x4f6)][_0x5c0e1c(0x2a6)](_0xcf3cf2[_0x5c0e1c(0x2f8)][_0x5c0e1c(0x2bf)],_0x61906b);}};_0x3416a2=_0x21a541([_0x429169(0x0,_0xcf3cf2['IUniverInstanceService'])],_0x3416a2);let _0x466334=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x2cd));var _0x2ef513=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x664743){const _0x2ff424=_0x2b8d6a;super(..._0x664743),_0x550e57(this,_0x2ff424(0x254),new Map());}[_0x2b8d6a(0x3c3)](_0x455fa4){const _0x3e1896=_0x2b8d6a;return this[_0x3e1896(0x254)][_0x3e1896(0x22b)](_0x455fa4[_0x3e1896(0x1cc)],_0x455fa4),(0x0,_0xcf3cf2[_0x3e1896(0x368)])(()=>this['_plugins'][_0x3e1896(0x472)](_0x455fa4[_0x3e1896(0x1cc)]));}['get'](_0x142e50){const _0x3d18e7=_0x2b8d6a;let _0x370916=this[_0x3d18e7(0x254)][_0x3d18e7(0x4f0)](_0x142e50);if(!_0x370916)throw Error(_0x3d18e7(0x60e)+_0x142e50+_0x3d18e7(0x4e1));return _0x370916;}[_0x2b8d6a(0x2ed)](){const _0x3ee576=_0x2b8d6a;return Array[_0x3ee576(0x1ea)](this[_0x3ee576(0x254)][_0x3ee576(0x404)]());}};let _0x156310=[_0x40f796],_0x380e1d=class extends _0xcf3cf2['Plugin']{constructor(_0x103158=_0xe14a94,_0x90221,_0x3d6343,_0x4ad060,_0x193d62,_0x2233a9){const _0x1ff04f=_0x2b8d6a;super(),this[_0x1ff04f(0x5a1)]=_0x103158,this['_injector']=_0x90221,this[_0x1ff04f(0x234)]=_0x3d6343,this[_0x1ff04f(0x4f6)]=_0x4ad060,this['_configService']=_0x193d62,this['_dataSyncPrimaryController']=_0x2233a9,_0x550e57(this,_0x1ff04f(0x1c4),new Map());let {..._0x9496c9}=(0x0,_0xcf3cf2[_0x1ff04f(0x4e0)])({},_0xe14a94,this[_0x1ff04f(0x5a1)]);this[_0x1ff04f(0x212)]['setConfig']('bases.config',_0x9496c9),this[_0x1ff04f(0x4f6)][_0x1ff04f(0x1d5)](_0xcf3cf2[_0x1ff04f(0x2f8)][_0x1ff04f(0x2bf)],_0xcf3cf2['BaseDataModel']),this[_0x1ff04f(0x2d5)](),this['_initCommands'](),this[_0x1ff04f(0x258)](),this['_initDataSync']();}[_0x2b8d6a(0x3dc)](){const _0x55274f=_0x2b8d6a;this[_0x55274f(0x487)][_0x55274f(0x1d6)]([_0x1d45e4]),this[_0x55274f(0x54b)](this[_0x55274f(0x487)]['get'](_0xcf3cf2[_0x55274f(0x1e8)])[_0x55274f(0x391)](_0x3affb8)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2['ICommandService'])[_0x55274f(0x391)](_0x245053)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2[_0x55274f(0x392)])['registerRuleModel'](_0x2f5c57[_0x55274f(0x40a)][_0x55274f(0x58c)],this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0x1d45e4),_0x3affb8['id'],_0x245053['id']));}[_0x2b8d6a(0x514)](){const _0x582c97=_0x2b8d6a;(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x3416a2],[_0x1c8c77],[_0x2d0dd9]]),this[_0x582c97(0x4f6)]['getAllUnitsForType'](_0xcf3cf2[_0x582c97(0x2f8)][_0x582c97(0x2bf)])[_0x582c97(0x458)](_0x5de651=>this[_0x582c97(0x44f)](_0x5de651[_0x582c97(0x4c0)]())),(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x555f3c],[_0x5d14ac]]);}['_initDependencies'](){const _0x83a8b0=_0x2b8d6a;[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x466334,{'useClass':_0x2ef513}],[_0x5e90db,{'useClass':_0x270515}],[_0x231d66,{'useClass':_0x3416a2}],[_0x2d44c2,{'useClass':_0x2b795c}],[_0x5394a2,{'useClass':_0x1c8c77}],[_0x2d0dd9],[_0x555f3c],[_0x5d14ac]][_0x83a8b0(0x458)](_0x41c5ac=>this['_injector'][_0x83a8b0(0x1d6)](_0x41c5ac));}['_initCommands'](){const _0x50dd05=_0x2b8d6a;[_0x19088c,_0x227b37,_0x58eadf,_0x188f06,_0x450c63,_0x2ce036,_0x1b3986,_0x457f5d,_0xabe762,_0x50bb2a,_0x16c000,_0x217849,_0x1c8a84,_0x55d92d,_0x80cc29,_0x592df7,_0x1710aa,_0x1143aa,_0x433937,_0x42e92a,_0x4a02a4,_0x45b313,_0x5057dc,_0x4a862d,_0x4dc11a,_0x2f9533,_0x5c24f7,_0x21d036,_0x3a3835,_0x3e585a,_0x4a1e5b,_0x16823a,_0x2f8f7e,_0x5df868,_0x435723,_0x5bf3c2,_0x3bc02d,_0xd31f61,_0x3e90d8,_0x1b35fa,_0x13066e,..._0x156310][_0x50dd05(0x458)](_0x3c1fa3=>this[_0x50dd05(0x54b)](this[_0x50dd05(0x234)][_0x50dd05(0x391)](_0x3c1fa3))),_0x156310[_0x50dd05(0x458)](_0x2c7edb=>{const _0x2e1357=_0x50dd05;var _0x21f786;return(_0x21f786=this[_0x2e1357(0x4de)])==null?void 0x0:_0x21f786[_0x2e1357(0x37f)](_0x2c7edb);});}[_0x2b8d6a(0x3e9)](){const _0x321f24=_0x2b8d6a;this[_0x321f24(0x4de)]&&(this['disposeWithMe'](this[_0x321f24(0x4f6)][_0x321f24(0x542)](_0xcf3cf2[_0x321f24(0x2f8)][_0x321f24(0x2bf)])[_0x321f24(0x210)](({unit:_0x42bd37})=>{const _0x368bc4=_0x321f24;this[_0x368bc4(0x44f)](_0x42bd37[_0x368bc4(0x4c0)]());})),this[_0x321f24(0x54b)](this[_0x321f24(0x4f6)][_0x321f24(0x528)](_0xcf3cf2[_0x321f24(0x2f8)]['UNIVER_BASE'])[_0x321f24(0x210)](_0x47de77=>{const _0x262a2b=_0x321f24;var _0x12d680;(_0x12d680=this[_0x262a2b(0x1c4)][_0x262a2b(0x4f0)](_0x47de77['getUnitId']()))==null||_0x12d680['dispose'](),this[_0x262a2b(0x1c4)][_0x262a2b(0x472)](_0x47de77['getUnitId']());})));}[_0x2b8d6a(0x44f)](_0x4c36ba){const _0x2c2a2c=_0x2b8d6a;this[_0x2c2a2c(0x4de)]&&!this[_0x2c2a2c(0x1c4)][_0x2c2a2c(0x244)](_0x4c36ba)&&this[_0x2c2a2c(0x1c4)]['set'](_0x4c36ba,this[_0x2c2a2c(0x4de)][_0x2c2a2c(0x464)](_0x4c36ba));}['_initRegistries'](){const _0x50eb92=_0x2b8d6a;let _0x59facd=this[_0x50eb92(0x487)]['get'](_0x3dec17);_0x20ee48()[_0x50eb92(0x458)](_0x3efec6=>_0x59facd[_0x50eb92(0x3c3)](_0x3efec6));let _0x29fac0=this['_injector'][_0x50eb92(0x4f0)](_0x466334),_0x487e2c=this[_0x50eb92(0x487)]['get'](_0x5e90db);_0x43edf4()[_0x50eb92(0x458)](_0x3dd1bd=>{const _0x20ecda=_0x50eb92;_0x29fac0[_0x20ecda(0x3c3)](_0x3dd1bd),_0x487e2c[_0x20ecda(0x467)](_0x3dd1bd);});}};_0x550e57(_0x380e1d,_0x2b8d6a(0x2fa),_0x2b8d6a(0x461)),_0x550e57(_0x380e1d,_0x2b8d6a(0x3fe),_0x5ab9a1),_0x550e57(_0x380e1d,_0x2b8d6a(0x390),_0x2e7e04),_0x550e57(_0x380e1d,_0x2b8d6a(0x1cc),_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)]),_0x380e1d=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5['UniverLicensePlugin'],_0x64dd1a[_0x2b8d6a(0x4f5)]),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x56e)]),_0x429169(0x4,_0xcf3cf2['IConfigService']),_0x429169(0x5,(0x0,_0xcf3cf2['Optional'])(_0x4f9625[_0x2b8d6a(0x426)]))],_0x380e1d);let _0x9d42eb=class extends _0xcf3cf2[_0x2b8d6a(0x60c)]{constructor(_0x3fe9e6=_0x69a720,_0x250f40,_0x452014,_0x3d7521,_0xea7bcc){const _0x33c8b3=_0x2b8d6a;super(),this[_0x33c8b3(0x5a1)]=_0x3fe9e6,this['_injector']=_0x250f40,this[_0x33c8b3(0x234)]=_0x452014,this['_configService']=_0x3d7521,this[_0x33c8b3(0x4f6)]=_0xea7bcc;let {..._0x40bdf3}=(0x0,_0xcf3cf2['merge'])({},_0x69a720,this[_0x33c8b3(0x5a1)]);this[_0x33c8b3(0x212)][_0x33c8b3(0x23a)](_0x33c8b3(0x531),_0x40bdf3),this[_0x33c8b3(0x4f6)][_0x33c8b3(0x1d5)](_0xcf3cf2[_0x33c8b3(0x2f8)][_0x33c8b3(0x2bf)],_0xcf3cf2[_0x33c8b3(0x3b2)]),[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x5e90db,{'useClass':_0x270515}]][_0x33c8b3(0x458)](_0x4a2451=>this[_0x33c8b3(0x487)][_0x33c8b3(0x1d6)](_0x4a2451)),_0x156310[_0x33c8b3(0x458)](_0x349210=>this[_0x33c8b3(0x54b)](this[_0x33c8b3(0x234)]['registerCommand'](_0x349210)));}};_0x550e57(_0x9d42eb,_0x2b8d6a(0x2fa),_0x2b8d6a(0x43d)),_0x550e57(_0x9d42eb,'packageName',_0x5ab9a1),_0x550e57(_0x9d42eb,'version',_0x2e7e04),_0x550e57(_0x9d42eb,_0x2b8d6a(0x1cc),_0xcf3cf2['UniverInstanceType'][_0x2b8d6a(0x2bf)]),_0x9d42eb=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5[_0x2b8d6a(0x42f)],_0x64dd1a['UniverProFormulaEnginePlugin']),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x383)]),_0x429169(0x4,_0xcf3cf2['IUniverInstanceService'])],_0x9d42eb);function _0x4e21e1(_0x19cf8f){const _0x328850=_0x2b8d6a;let _0x5a07e5=_0x4b060b(_0x19cf8f['query']);if(!_0x5a07e5)return{'query':'','total':0x0,'matches':[]};let _0x2b393b=[],_0x35b280=[];for(let _0x1c7fa8=0x0;_0x1c7fa8<_0x19cf8f[_0x328850(0x4a6)][_0x328850(0x3d4)];_0x1c7fa8++){if(!(_0x1c7fa8 in _0x19cf8f[_0x328850(0x4a6)]))continue;let _0xf348b6=_0x19cf8f[_0x328850(0x4b0)][_0x328850(0x3b5)][_0x19cf8f[_0x328850(0x4a6)][_0x1c7fa8]];_0xf348b6&&_0x35b280[_0x328850(0x309)]({'field':_0xf348b6,'fieldIndex':_0x1c7fa8});}_0x19cf8f[_0x328850(0x5e6)][_0x328850(0x458)]((_0x1b31d2,_0x109e89)=>{const _0x5cb508=_0x328850;_0x35b280[_0x5cb508(0x458)](({field:_0xa9a84e,fieldIndex:_0x472cd6})=>{const _0x40d17d=_0x5cb508;let _0x4fd0bd=_0x2f687a(_0x1b31d2['values'][_0xa9a84e['id']],_0xa9a84e);if(!_0x4fd0bd)return;let _0xc33782=_0x15dc10(_0x5a07e5,_0x4fd0bd[_0x40d17d(0x2f3)]);_0xc33782<=0x0||_0x2b393b[_0x40d17d(0x309)]({'recordId':_0x1b31d2[_0x40d17d(0x57e)],'fieldId':_0xa9a84e['id'],'fieldType':_0xa9a84e[_0x40d17d(0x1cc)],'text':_0x4fd0bd[_0x40d17d(0x5bb)],'score':_0xc33782,'rowIndex':_0x109e89,'fieldIndex':_0x472cd6});});}),_0x2b393b[_0x328850(0x24e)]((_0x283ba4,_0x2bb94b)=>_0x2bb94b['score']-_0x283ba4[_0x328850(0x20e)]||_0x283ba4[_0x328850(0x29a)]-_0x2bb94b[_0x328850(0x29a)]||_0x283ba4[_0x328850(0x576)]-_0x2bb94b[_0x328850(0x576)]);let _0x4c28f7=_0x19cf8f['limit']==null?_0x2b393b:_0x2b393b[_0x328850(0x3de)](0x0,Math['max'](0x0,_0x19cf8f[_0x328850(0x26c)]));return{'query':_0x5a07e5,'total':_0x2b393b[_0x328850(0x3d4)],'matches':_0x2ae3a6(_0x4c28f7)};}function _0x2f687a(_0x2083ee,_0x3e4007){const _0x3e3cf5=_0x2b8d6a;let _0x3aa660=[];for(let _0x92f959 of _0xafc384(_0x2083ee,_0x3e4007)){let _0x257ee2=_0x4b060b(_0x92f959);_0x257ee2&&_0x3aa660[_0x3e3cf5(0x309)](_0x257ee2);}return _0x3aa660[_0x3e3cf5(0x3d4)]?{'displayText':_0x53a36e(_0x2083ee,_0x3e4007),'searchTexts':_0x21e350(_0x3aa660)}:null;}function _0x53a36e(_0x15929a,_0x113e76){const _0x3735af=_0x2b8d6a;switch(_0x113e76[_0x3735af(0x1cc)]){case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x2e3)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x336)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3fa)]:return _0x501ec0(_0x15929a,_0x113e76)[_0x3735af(0x600)](',\x20');case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x24b)]:return _0x5f317e(_0x15929a);case _0xcf3cf2[_0x3735af(0x435)]['Date']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x413)]:case _0xcf3cf2[_0x3735af(0x435)]['UpdatedAt']:return _0xe2afc3(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)]['Number']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3d8)]:return _0x31e77a(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x455)]:return _0x130594(_0x15929a,_0x113e76);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x5f8)]:return _0x15929a?_0x3735af(0x565):_0x3735af(0x3bf);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x448)]:return _0x43dfb4(_0x15929a)[_0x3735af(0x600)](',\x20');default:return _0x423e88(_0x15929a);}}function _0xafc384(_0x5206eb,_0x30afcf){const _0x4d1e25=_0x2b8d6a;switch(_0x30afcf['type']){case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2e3)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x336)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3fa)]:{let _0x441734=_0x501ec0(_0x5206eb,_0x30afcf);if(Array[_0x4d1e25(0x2a1)](_0x5206eb)){let _0x1cdce6=[..._0x441734];for(let _0x38597b=0x0;_0x38597b<_0x5206eb[_0x4d1e25(0x3d4)];_0x38597b++)_0x38597b in _0x5206eb&&_0x1cdce6['push'](String(_0x5206eb[_0x38597b]));return _0x1cdce6;}return _0x5206eb==null?_0x441734:[..._0x441734,String(_0x5206eb)];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x24b)]:{let _0x4e04fa=_0x2612be(_0x5206eb);return[_0x4e04fa[_0x4d1e25(0x395)],_0x4e04fa['url']];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2d9)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x413)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x305)]:return[_0xe2afc3(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5b6)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3d8)]:return[_0x31e77a(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x455)]:return[_0x130594(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5f8)]:return _0x5206eb?[_0x4d1e25(0x565),_0x4d1e25(0x3bd),_0x4d1e25(0x382)]:['Unchecked','No',_0x4d1e25(0x35a)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x448)]:return _0x43dfb4(_0x5206eb);default:return[_0x423e88(_0x5206eb)];}}function _0x501ec0(_0x535ad2,_0x55c4ae){const _0x439b7f=_0x2b8d6a;var _0x274b00;let _0x34f52f=Array['isArray']((_0x274b00=_0x55c4ae[_0x439b7f(0x5a3)])==null?void 0x0:_0x274b00[_0x439b7f(0x5cc)])?_0x55c4ae['config'][_0x439b7f(0x5cc)]:[],_0x10476a=[];if(Array[_0x439b7f(0x2a1)](_0x535ad2)){for(let _0x327ed3=0x0;_0x327ed3<_0x535ad2[_0x439b7f(0x3d4)];_0x327ed3++){if(!(_0x327ed3 in _0x535ad2))continue;let _0xf99558=String(_0x535ad2[_0x327ed3]);_0xf99558&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0xf99558));}return _0x10476a;}if(_0x535ad2!=null){let _0x597665=String(_0x535ad2);_0x597665&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0x597665));}return _0x10476a;}function _0x11d6c4(_0x2d9493,_0x552ccf){const _0x57fbcc=_0x2b8d6a;for(let _0x1e99b0 of _0x2d9493){if(typeof _0x1e99b0=='string'&&_0x1e99b0===_0x552ccf)return _0x1e99b0;if(_0x1e99b0&&typeof _0x1e99b0==_0x57fbcc(0x240)){let _0x306eda=_0x1e99b0;if(String(_0x306eda['id']??_0x306eda['name']??'')===_0x552ccf||String(_0x306eda[_0x57fbcc(0x456)]??'')===_0x552ccf)return String(_0x306eda['name']??_0x306eda['id']??_0x552ccf);}}return _0x552ccf;}function _0x2612be(_0x5a02d7){const _0x3500ac=_0x2b8d6a;if(_0x5a02d7&&typeof _0x5a02d7=='object'&&!Array[_0x3500ac(0x2a1)](_0x5a02d7)){let _0x3bd7eb=_0x5a02d7;return{'text':String(_0x3bd7eb['text']??_0x3bd7eb['url']??''),'url':String(_0x3bd7eb['url']??'')};}return{'text':_0x423e88(_0x5a02d7),'url':_0x423e88(_0x5a02d7)};}function _0x5f317e(_0x5eb20e){const _0x425ccc=_0x2b8d6a;let _0xc6cdaa=_0x2612be(_0x5eb20e);return _0xc6cdaa['text']||_0xc6cdaa[_0x425ccc(0x2ff)];}function _0xe2afc3(_0x2dd461,_0x458a67){const _0xc13694=_0x2b8d6a;return typeof _0x2dd461!='number'||!Number[_0xc13694(0x2b0)](_0x2dd461)?'':_0x1e8f43(_0x2dd461,_0x458a67[_0xc13694(0x5a3)]);}function _0x31e77a(_0xcb0b38,_0x41f10a){const _0x3040cd=_0x2b8d6a;let _0x5242f9=typeof _0xcb0b38=='number'?_0xcb0b38:Number(_0xcb0b38);return Number['isFinite'](_0x5242f9)?_0x548c9b(_0x5242f9,_0x41f10a[_0x3040cd(0x5a3)]):'';}function _0x130594(_0x103853,_0x45305c){const _0x315ea7=_0x2b8d6a;let _0x3aa8f2=typeof _0x103853==_0x315ea7(0x202)?_0x103853:Number(_0x103853);return Number[_0x315ea7(0x2b0)](_0x3aa8f2)?_0x5c4434(_0x3aa8f2,_0x45305c['config']):'';}function _0x43dfb4(_0x4b1c05){const _0x11ae43=_0x2b8d6a;return Array[_0x11ae43(0x2a1)](_0x4b1c05)?_0x4b1c05[_0x11ae43(0x5d0)](_0x583a5c=>{const _0x34926b=_0x11ae43;if(!_0x583a5c||typeof _0x583a5c!=_0x34926b(0x240))return[];let _0xb7b310=_0x583a5c,_0x186b7b=String(_0xb7b310['name']??_0xb7b310['url']??'')['trim']();return _0x186b7b?[_0x186b7b]:[];}):[];}function _0x423e88(_0x4a08b3){const _0x196b1f=_0x2b8d6a;if(_0x4a08b3==null)return'';if(typeof _0x4a08b3=='boolean')return _0x4a08b3?'true':_0x196b1f(0x4cd);if(typeof _0x4a08b3==_0x196b1f(0x202))return String(_0x4a08b3);if(Array['isArray'](_0x4a08b3)){let _0x7d20e2=[];for(let _0x27d510=0x0;_0x27d510<_0x4a08b3[_0x196b1f(0x3d4)];_0x27d510++){if(!(_0x27d510 in _0x4a08b3))continue;let _0x13056a=_0x423e88(_0x4a08b3[_0x27d510]);_0x13056a&&_0x7d20e2[_0x196b1f(0x309)](_0x13056a);}return _0x7d20e2[_0x196b1f(0x600)](',\x20');}if(typeof _0x4a08b3=='object'){let _0x55c0e2=_0x4a08b3;return String(_0x55c0e2[_0x196b1f(0x5fc)]??_0x55c0e2['name']??_0x55c0e2['text']??_0x55c0e2[_0x196b1f(0x2ff)]??'')[_0x196b1f(0x479)]();}return String(_0x4a08b3);}function _0x15dc10(_0xe063f,_0x4d0244){const _0x437611=_0x2b8d6a;let _0x49eedc=0x0;for(let _0x26e299 of _0x4d0244)if(_0x26e299){if(_0x26e299===_0xe063f){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0x12c);continue;}if(_0x26e299[_0x437611(0x26d)](_0xe063f)){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xfa);continue;}_0x26e299[_0x437611(0x299)](_0xe063f)&&(_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xc8));}return _0x49eedc;}function _0x4b060b(_0x4bf9c8){const _0x25548f=_0x2b8d6a;return _0x4bf9c8['trim']()[_0x25548f(0x5a4)](/\s+/g,'\x20')[_0x25548f(0x402)]();}function _0x21e350(_0x229ae2){const _0xea568f=_0x2b8d6a;return Array[_0xea568f(0x1ea)](new Set(_0x229ae2));}function _0x2ae3a6(_0x186f63){const _0x26a5b2=_0x2b8d6a;let _0x4c194b=[];for(let {rowIndex:_0x5ca1d6,fieldIndex:_0x108694,..._0xf23149}of _0x186f63)_0x4c194b[_0x26a5b2(0x309)](_0xf23149);return _0x4c194b;}function _0x25ed49(_0x4eb358){const _0x294708=_0x2b8d6a;return{'compress':!0x0,'kind':_0x294708(0x48a),'u':_0x4eb358[_0x294708(0x20d)],'t':_0x4eb358[_0x294708(0x3e2)],'p':_0x4eb358[_0x294708(0x39b)]['map'](_0x4bacef=>[_0x4bacef[_0x294708(0x53e)],_0x4bacef[_0x294708(0x1cb)],_0x100eed(_0x4bacef['value'])]),..._0x4eb358[_0x294708(0x3db)]===void 0x0?{}:{'g':_0x4eb358[_0x294708(0x3db)]}};}function _0x162a7a(_0x59600a){const _0x4c9c96=_0x2b8d6a;if(_0x109daf(_0x59600a,_0x4c9c96(0x48a)),!_0x251223(_0x59600a)){if(!_0x196449(_0x59600a))throw Error(_0x4c9c96(0x4f3));return _0x59600a;}return{'unitId':_0x59600a['u'],'tableId':_0x59600a['t'],'patches':_0x59600a['p'][_0x4c9c96(0x2c4)](([_0x2321a9,_0x54c98e,_0x29580d])=>({'row':_0x2321a9,'col':_0x54c98e,'value':_0x30464e(_0x29580d)})),..._0x59600a['g']===void 0x0?{}:{'trigger':_0x59600a['g']}};}function _0x251223(_0x21bbdb){const _0x5e5aa7=_0x2b8d6a;return!_0x4610c1(_0x21bbdb)||_0x21bbdb[_0x5e5aa7(0x37d)]!==!0x0||_0x21bbdb[_0x5e5aa7(0x415)]!==_0x5e5aa7(0x48a)?!0x1:typeof _0x21bbdb['u']==_0x5e5aa7(0x3ea)&&typeof _0x21bbdb['t']==_0x5e5aa7(0x3ea)&&(_0x21bbdb['g']===void 0x0||typeof _0x21bbdb['g']==_0x5e5aa7(0x3ea))&&Array['isArray'](_0x21bbdb['p'])&&_0x21bbdb['p'][_0x5e5aa7(0x320)](_0x1235b4=>Array[_0x5e5aa7(0x2a1)](_0x1235b4)&&_0x1235b4['length']===0x3&&Number[_0x5e5aa7(0x1f0)](_0x1235b4[0x0])&&Number['isInteger'](_0x1235b4[0x1]));}function _0x1c938f(_0x1e52a1){const _0x3d9075=_0x2b8d6a;return!_0x4610c1(_0x1e52a1)||_0x1e52a1['compress']!==!0x0||_0x1e52a1[_0x3d9075(0x415)]!==_0x3d9075(0x5d6)||!_0x4610c1(_0x1e52a1[_0x3d9075(0x3d7)])?!0x1:Object['values'](_0x1e52a1[_0x3d9075(0x3d7)])[_0x3d9075(0x320)](_0x2c3066=>_0x4610c1(_0x2c3066)&&(_0x2c3066['cd']===void 0x0||Array['isArray'](_0x2c3066['cd'])&&_0x2c3066['cd'][_0x3d9075(0x320)](_0x4ca082=>Array[_0x3d9075(0x2a1)](_0x4ca082)&&_0x4ca082[_0x3d9075(0x3d4)]===0x3&&Number[_0x3d9075(0x1f0)](_0x4ca082[0x0])&&Number['isInteger'](_0x4ca082[0x1])&&_0x56fe98(_0x4ca082[0x2]))));}function _0x100eed(_0x1b602b){return _0x54631f(_0x1b602b)?_0x57f5c2(_0x1b602b):_0x1b602b;}function _0x30464e(_0x50ef64){return _0x56fe98(_0x50ef64)?_0x3857f5(_0x50ef64):_0x50ef64;}function _0x57f5c2(_0x4a9696){return{'c':0x1,..._0x4a9696['v']===void 0x0?{}:{'v':_0x4a9696['v']},..._0x4a9696['t']!==void 0x0&&_0x4a9696['t']!==null?{'t':_0x4a9696['t']}:_0x4a9696['t']===null?{'t':null}:{},..._0x4a9696['f']!==void 0x0&&_0x4a9696['f']!==null?{'f':_0x4a9696['f']}:_0x4a9696['f']===null?{'f':null}:{},..._0x4a9696['si']!==void 0x0&&_0x4a9696['si']!==null?{'si':_0x4a9696['si']}:_0x4a9696['si']===null?{'si':null}:{},..._0x4a9696['p']!==void 0x0&&_0x4a9696['p']!==null?{'p':_0x4a9696['p']}:_0x4a9696['p']===null?{'p':null}:{}};}function _0x3857f5(_0x52c5c0){return{..._0x52c5c0['v']===void 0x0?{}:{'v':_0x52c5c0['v']},..._0x52c5c0['t']===void 0x0?{}:{'t':_0x52c5c0['t']},..._0x52c5c0['f']===void 0x0?{}:{'f':_0x52c5c0['f']},..._0x52c5c0['si']===void 0x0?{}:{'si':_0x52c5c0['si']},..._0x52c5c0['p']===void 0x0?{}:{'p':_0x52c5c0['p']}};}function _0x54631f(_0x4437ff){const _0x34f1be=_0x2b8d6a;return!!_0x4437ff&&typeof _0x4437ff==_0x34f1be(0x240)&&!Array[_0x34f1be(0x2a1)](_0x4437ff)&&(Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)]['call'](_0x4437ff,'v')||Object[_0x34f1be(0x3b1)]['hasOwnProperty']['call'](_0x4437ff,'t')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'p')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'f')||Object['prototype']['hasOwnProperty'][_0x34f1be(0x29f)](_0x4437ff,'si'));}function _0x56fe98(_0x176727){return _0x4610c1(_0x176727)&&_0x176727['c']===0x1;}function _0x196449(_0x39036a){const _0x2be77c=_0x2b8d6a;return _0x4610c1(_0x39036a)&&typeof _0x39036a[_0x2be77c(0x20d)]==_0x2be77c(0x3ea)&&typeof _0x39036a['tableId']==_0x2be77c(0x3ea)&&(_0x39036a[_0x2be77c(0x3db)]===void 0x0||typeof _0x39036a[_0x2be77c(0x3db)]=='string')&&Array[_0x2be77c(0x2a1)](_0x39036a[_0x2be77c(0x39b)])&&_0x39036a['patches']['every'](_0x546e35=>_0x4610c1(_0x546e35)&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x53e)])&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x1cb)])&&_0x2be77c(0x348)in _0x546e35);}function _0x109daf(_0x5d386b,_0x2ef2b6){const _0x24b3bd=_0x2b8d6a;if(_0x4610c1(_0x5d386b)&&_0x5d386b[_0x24b3bd(0x37d)]===!0x0){if(_0x5d386b[_0x24b3bd(0x415)]!==_0x2ef2b6)throw Error(_0x24b3bd(0x46c)+String(_0x5d386b[_0x24b3bd(0x415)])+'\x22.');if(!(_0x2ef2b6===_0x24b3bd(0x48a)?_0x251223(_0x5d386b):_0x1c938f(_0x5d386b)))throw Error(_0x24b3bd(0x265)+_0x2ef2b6+'\x22.');}}function _0x4610c1(_0x37624e){const _0x578cf6=_0x2b8d6a;return!!_0x37624e&&typeof _0x37624e==_0x578cf6(0x240)&&!Array[_0x578cf6(0x2a1)](_0x37624e);}_0x22620f[_0x2b8d6a(0x35d)]=_0x40f796,_0x22620f[_0x2b8d6a(0x3b6)]=_0xe85857,_0x22620f[_0x2b8d6a(0x2d7)]=0x5,_0x22620f[_0x2b8d6a(0x2e2)]=_0x1fa07b,_0x22620f[_0x2b8d6a(0x277)]=_0x2b8d6a(0x1dd),_0x22620f['BASE_UNIT_PERMISSION_ACTIONS']=_0x2403b2,_0x22620f[_0x2b8d6a(0x4eb)]=_0x4d5b38,_0x22620f['BaseEventSource']=_0x48d33b,_0x22620f['BaseFormulaService']=_0x41a657,_0x22620f['BaseHierarchyError']=_0x1d7b46,_0x22620f[_0x2b8d6a(0x489)]=_0x38d4ab,_0x22620f[_0x2b8d6a(0x550)]=_0x34db2c,_0x22620f[_0x2b8d6a(0x24c)]=_0x3c7454,_0x22620f[_0x2b8d6a(0x475)]=_0x15dbb7,_0x22620f[_0x2b8d6a(0x401)]=_0xabe762,_0x22620f['BatchDeleteBaseRecordsCommand']=_0x16c000,_0x22620f[_0x2b8d6a(0x521)]=_0x433937,_0x22620f[_0x2b8d6a(0x4a2)]=_0x457f5d,_0x22620f[_0x2b8d6a(0x5a8)]=_0x80cc29,_0x22620f['CreateBaseRecordCommand']=_0x1b3986,_0x22620f[_0x2b8d6a(0x3ab)]=_0x19088c,_0x22620f[_0x2b8d6a(0x518)]=_0x5057dc,_0x22620f[_0x2b8d6a(0x399)]=_0x42e92a,_0x22620f[_0x2b8d6a(0x39d)]=_0x50bb2a,_0x22620f['DeleteBaseTableCommand']=_0x58eadf,_0x22620f['DeleteBaseViewCommand']=_0x5c24f7,_0x22620f[_0x2b8d6a(0x504)]=_0x592df7,_0x22620f['DuplicateBaseRecordCommand']=_0x217849,_0x22620f['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x2535ff,_0x22620f['EnsureBaseTemporalViewDateFieldsCommand']=_0x4a862d,_0x22620f[_0x2b8d6a(0x50a)]=_0x5394a2,_0x22620f['IBasePermissionService']=_0x2d44c2,_0x22620f[_0x2b8d6a(0x439)]=_0x5e90db,_0x22620f[_0x2b8d6a(0x1f4)]=_0x466334,_0x22620f[_0x2b8d6a(0x2c3)]=_0x4a02a4,_0x22620f['MoveBaseHierarchyRecordCommand']=_0x55d92d,_0x22620f[_0x2b8d6a(0x468)]=_0x21d036,_0x22620f[_0x2b8d6a(0x375)]=_0x227b37,_0x22620f['RenameBaseViewCommand']=_0x4dc11a,_0x22620f[_0x2b8d6a(0x388)]=_0x4a1e5b,_0x22620f[_0x2b8d6a(0x279)]=_0x2f9533,_0x22620f['SetBasePermissionCommand']=_0x16823a,_0x22620f[_0x2b8d6a(0x25b)]=_0x3affb8,_0x22620f[_0x2b8d6a(0x605)]=_0x245053,_0x22620f[_0x2b8d6a(0x3a0)]=_0x2f8f7e,_0x22620f[_0x2b8d6a(0x55e)]=_0x2ce036,_0x22620f[_0x2b8d6a(0x386)]=_0x450c63,_0x22620f[_0x2b8d6a(0x38d)]=_0xd31f61,_0x22620f['SetBaseViewFieldOrderCommand']=_0x13066e,_0x22620f[_0x2b8d6a(0x50d)]=_0x3e90d8,_0x22620f[_0x2b8d6a(0x400)]=_0x1b35fa,_0x22620f['SetBaseViewFilterCommand']=_0x435723,_0x22620f[_0x2b8d6a(0x2ac)]=_0x3bc02d,_0x22620f['SetBaseViewSortCommand']=_0x5bf3c2,Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x27b),{'enumerable':!0x0,'get':function(){return _0x380e1d;}}),Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x32c),{'enumerable':!0x0,'get':function(){return _0x9d42eb;}}),_0x22620f[_0x2b8d6a(0x5d2)]=_0x188f06,_0x22620f['UpdateBaseFieldCommand']=_0x1710aa,_0x22620f['UpdateBaseFieldDescriptionCommand']=_0x1143aa,_0x22620f[_0x2b8d6a(0x30b)]=_0x5df868,_0x22620f[_0x2b8d6a(0x374)]=_0x1c8a84,_0x22620f[_0x2b8d6a(0x4f7)]=_0x3e585a,_0x22620f['UpdateBaseViewConfigCommand']=_0x3a3835,_0x22620f[_0x2b8d6a(0x34a)]=_0x45b313,_0x22620f[_0x2b8d6a(0x5c3)]=_0x3ded3a,_0x22620f[_0x2b8d6a(0x3d0)]=_0x3760a3,_0x22620f[_0x2b8d6a(0x376)]=_0x50af88,_0x22620f[_0x2b8d6a(0x540)]=_0x1484ec,_0x22620f[_0x2b8d6a(0x588)]=_0x25ed49,_0x22620f[_0x2b8d6a(0x27d)]=_0xb95036,_0x22620f[_0x2b8d6a(0x317)]=_0x3df43c,_0x22620f[_0x2b8d6a(0x3e7)]=_0x1b767c,_0x22620f[_0x2b8d6a(0x592)]=_0x45d0ec,_0x22620f[_0x2b8d6a(0x306)]=_0x2a62da,_0x22620f['createEmbedBasesTableRemoveMutation']=_0x4111b6,_0x22620f[_0x2b8d6a(0x5d1)]=_0x30ddf4,_0x22620f['dateToExcelSerial']=_0x7aca16,_0x22620f[_0x2b8d6a(0x438)]=_0x162a7a,_0x22620f['ensureBaseTableCellLayout']=_0x5d33ae,_0x22620f[_0x2b8d6a(0x2ad)]=_0x39ea47,_0x22620f[_0x2b8d6a(0x45d)]=_0x1e8f43,_0x22620f['formatBaseFieldStatValue']=_0xc9d220,_0x22620f[_0x2b8d6a(0x436)]=_0x548c9b,_0x22620f[_0x2b8d6a(0x52e)]=_0x5c4434,_0x22620f['getActiveBaseHierarchyFieldIds']=_0x4c7235,_0x22620f[_0x2b8d6a(0x1ca)]=_0x1926ea,_0x22620f[_0x2b8d6a(0x293)]=_0x4bd91a,_0x22620f['getBaseConditionalColorOperators']=_0x78a559,_0x22620f[_0x2b8d6a(0x3ef)]=_0xbd25,_0x22620f['getBaseFieldPermissionObjectId']=_0xe7abbf,Object['defineProperty'](_0x22620f,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x3d8b25=_0x2b8d6a;return _0xcf3cf2[_0x3d8b25(0x40c)];}}),_0x22620f[_0x2b8d6a(0x288)]=_0x3b968d,_0x22620f[_0x2b8d6a(0x564)]=_0xb51e67,_0x22620f[_0x2b8d6a(0x43b)]=_0x3aa462,_0x22620f['getBaseRecordPermissionObjectId']=_0x19d6d6,_0x22620f[_0x2b8d6a(0x1e7)]=_0x20afd2,_0x22620f[_0x2b8d6a(0x56c)]=_0x1592c3,_0x22620f[_0x2b8d6a(0x567)]=_0x391f91,_0x22620f[_0x2b8d6a(0x22d)]=_0x1181e2,_0x22620f[_0x2b8d6a(0x593)]=_0x54261d,_0x22620f[_0x2b8d6a(0x447)]=_0x1bf480,_0x22620f[_0x2b8d6a(0x30d)]=_0x16d4c2,_0x22620f[_0x2b8d6a(0x36d)]=_0x3e1fd0,_0x22620f['isBaseFieldStatSupported']=_0x3e70c5,_0x22620f[_0x2b8d6a(0x5bc)]=_0x27e0f6,_0x22620f['isBaseHierarchyField']=_0x4d880f,_0x22620f[_0x2b8d6a(0x55b)]=_0x251223,_0x22620f[_0x2b8d6a(0x23c)]=_0x357854,_0x22620f[_0x2b8d6a(0x53d)]=_0x21d088,_0x22620f[_0x2b8d6a(0x430)]=_0x5182d6,_0x22620f['normalizeBaseFieldStatsConfig']=_0x2f722e,_0x22620f[_0x2b8d6a(0x507)]=_0xcf5891,_0x22620f[_0x2b8d6a(0x513)]=_0xf3e46d,_0x22620f['resolveBaseDateFieldConfig']=_0x14d9da,_0x22620f[_0x2b8d6a(0x289)]=_0x4f5050,_0x22620f[_0x2b8d6a(0x609)]=_0x1abd11,_0x22620f[_0x2b8d6a(0x5a2)]=_0x4e21e1,_0x22620f[_0x2b8d6a(0x506)]=_0x47d3ab,_0x22620f[_0x2b8d6a(0x3e4)]=_0x270cb9,_0x22620f[_0x2b8d6a(0x5bf)]=_0x4baece,_0x22620f[_0x2b8d6a(0x451)]=_0x5af319,_0x22620f[_0x2b8d6a(0x555)]=_0x5a84fb,_0x22620f[_0x2b8d6a(0x2d6)]=_0x441a71,_0x22620f[_0x2b8d6a(0x3c1)]=_0x4908a1,_0x22620f[_0x2b8d6a(0x2ee)]=_0x5696c8,_0x22620f[_0x2b8d6a(0x1f8)]=_0x456626,_0x22620f[_0x2b8d6a(0x408)]=_0x3f95e1,_0x22620f['validateRecordLinkValue']=_0x3bd7ca;}));function _0x508a(){const _0x1705b2=['base.command.set-base-view-group','getBaseHierarchyFieldId','Checked','_canUseFastSort','getRecordLinkFieldConfig','YYYY/MM/DD','Module','JSONX','updateField','getBaseViewPermissionObjectId','frozenFieldCount','IUniverInstanceService','setViewFieldOrder','date','start','_projectionCache','BaseProjection.projectTableRows','#FDE68A','RemoveSuperTableMutation','fieldIndex','updateRecordOrder','deepClone','createdBy','kanban','editable','setRangeValues','_projectGroups','recordId','DESC','fieldId','editCell','keys','quarter','base.command.set-base-view-field-width','[BaseCommandService]:\x20field\x20\x22','createIdentifier','toPlainText','compressBaseRangeValuesPayload','_createNumberingAllocator','_getHierarchyIndex','_patchCachedProjectedRows','Base','_normalizeCellValue','code','afterFieldId','medium','max','createEmbedBasesTable','getVisibleBaseHierarchyRows','removeOp','deleteRecords','_applier','JSON1','canDeleteRecord','month','_executeSuperTableMutationWhileActive','formatToParts','beforeCommandExecuted','getInstance','_getViewRevision','_buildGallery','check','_config','searchBaseTable','config','replace','invertOp','[BaseField]:\x20invalid\x20email\x20value.','recordPatch','CreateBaseFieldCommand','setBasePermission','commaPeriod','recordOrder','A\x20table\x20with\x20this\x20name\x20already\x20exists.','status','MM/DD/YYYY','tableOrder','_viewRowsCacheKey','includeTime','recordIds','Uncategorized','base.command.set-base-view-field-visible','YYYY-MM-DD','Number','_setCachedProjection','updatedAt','setViewFilter','createDefaultConfig','displayText','isBaseFieldStatType','fromChangeset','_isColorfulKanbanGroupField','traceBasePerformance','[BaseCommandService]:\x20cannot\x20manage\x20view.','Numbering','fieldName','baseDateSerialToDateMs','_resolveKanbanCoverFieldId','orderedRecordIds','snapshot','clearTablePermission','createDeleteRecordsUndoOp','Base\x20edit\x20permission\x20denied.','small','IUndoRedoService','options','base.command.','bases.fieldConfig.textPlaceholder','_factory','flatMap','createUniqueBaseTableName','UpdateBaseCellCommand','base.permission.service','base.command.set-base-kanban-group-field','progressFieldId','base-snapshot-v1','_instanceService','_resolveKanbanGroupFieldId','toStringTag','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','ErrorService','delete-view','duplicateRecord','isValidBaseRecordId','updateCell','_resolveGanttDateFieldId','IS_EMPTY','_getTableRevision','excelDateTimeSerial','_normalizeGanttDisplayColor','cellRevision','rows','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','symbol','separatorStyle','_setViewFieldSetting','Table','codePointAt','invalidReasonByRecordId','_activeDirtyManagerService','hostAnchorId','createTable','flat','after','protocol','base.command.delete-base-record','setViewPermission','decimalPlaces','timeZone','Checkbox','replaceOp','DD/MM/YYYY','_rowTransformCacheSegment','title','Facade','[BaseCommandService]:\x20cannot\x20edit\x20table.','@univerjs-pro/engine-formula','join','rowIndexById',',,\x22M\x22','base.mutation.set-permission-rules','INIT','SetBasePermissionRulesMutation','FormulaResultApplicationType','undefined','viewId','resolveBaseRangeHierarchyPatches','workingDays','getFullYear','Plugin','Parent','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_normalizeGalleryConfig','_baseSyncDisposables','setViewFieldVisible','this-row','_views','descendPath','550377ElsyyD','getBaseCellFormulaValue','col','type','createRecords','UnitAction','embed-ui','Disposable','doing','base.command.create-base-table','_ganttBarColor','[BaseCommandService]:\x20cannot\x20delete\x20record.','registerCtorForType','add',':start','4526310QmXVHO','_runtimeContext','#16a34a','_cacheKey','canEditRecord','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','-field-name','conjunction','Calendar','__base_hierarchy_parent__','majorHeaders','\x20permission\x20denied.','BaseView','operator','unitOtherData','getBaseTablePermissionObjectId','ICommandService','attachments','from','[RecordLink]:\x20field\x20config\x20is\x20invalid.','hasOwnProperty','Date1900','_groupConfigCacheSegment','_viewRevisions','isInteger','deleteTable','required','gantt','IBaseViewRegistryService','colIndex','Injector','BaseProjection.projectRows','validateCanonicalRecordLinkValue','localeCompare','format','children','abbreviation','general','locale','base.command.update-base-field','getBase','_replaceOptional','number','Choose\x20another\x20name.','_filterSortFieldIds','usableAsGanttStart','resolvedOptions','groups','now','Invalid\x20object\x20permission\x20batch.','_permissionService','Comment','[RecordLink]:\x20target\x20record\x20\x22','unitId','score','some','subscribe','tableRevision','_configService','deleteView','FormulaCalculationSessionService','AFTER','action','_formulaSyncQueue','[BaseField]:\x20invalid\x20phone\x20value.','size','done','moveField','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','color','lastIndex','\x20has\x20unsupported\x20target\x20\x22','Text','_projectHierarchyGroups','_formulaService','BaseRecordLinkRole','exists','_recordPermissions','validateFormula','lessThan','Gantt','base.command.delete-base-table','Rating','set','find','getSupportedBaseFieldStatTypes','multiple','leftPaneWidth','base.command.update-base-view-conditional-color-rules','exact','markResultApplied','BASE','_commandService','getAffectedRanges','cycle','_isAllowedKanbanGroupField','setBaseName','fieldSettings','setConfig','reduce','matchesBaseCondition','_createNumberingAllocators','CommandType','attachmentSet','object','Edit','dateFormat','_getCurrentUserId','has','Cycle','_tableBaseIds','_filterRows','getTypePlugin','targetTableId','5091430cvKhOA','Link','BaseJson1OpApplier','beforeFieldId','sort','base.command.move-base-field','test','DateSystem','usableAsGanttEnd','base.command.update-base-kanban-config','_plugins','Tools','percent','_matchesGanttColorRule','_initRegistries','groupFieldId','_hierarchyIndexCache','SetBasePermissionRuleMutation','Start\x20date','getTime','Formula','_bumpTableRevision','baseRows','globalRevision','CONTAINS','_scheduledSuperTableSyncs','BaseConditionalColorTarget','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','calendar','indexOf','setSnapshot','abs','hourCycle','base.command.validate-formula','limit','startsWith','greaterThan','all','createRegExpFromSafeFragment','entries','@univerjs/core','setViewGroup','https:','then','lessThanOrEqual','BASE_TABLE_NAME_REQUIREMENTS','mark','SetBaseNameCommand','system','UniverBasesPlugin','MissingParent','copyBaseTableSnapshot','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_clearObjectEdit','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','order','params','finally','remote','_setAttachmentResources','getUnitType','base.command.delete-base-field','getBaseHierarchyDeletePromotions','resolveBaseHierarchyFieldId','dateKit','_getCachedProjection','#3b82f6','IS_NOT_EMPTY','[BaseFormula]:\x20table\x20\x22','Todo','option-','_clearUnit','#,##0.00','getBaseCellValue','\x22\x20does\x20not\x20exist.','index','BaseHierarchyInvalidReason','BaseRecord','formulaName','includes','rowIndex','createCreateFieldOp','_registerUnitPermissionPoints','_createSystemFieldValuePatches','toLocaleString','call','_groupCellInvalidations','isArray','_title','cellData','invalidDateField','base.command.move-base-view','createUnit','_disposed','lastWeek','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','changed','conditionalColoring','SetBaseViewGroupCommand','findRecordLinkReferences','$1\x20','day','isFinite','undo','pushUndoRedo','endDateFieldId','_applyingFormulaResults','BaseDashboard','base.command.update-base-cell','star','duplicateField','isValid','_createNumberingFieldValuePatches','[DeleteBaseTableCommand]:\x20table\x20\x22','href','clearFieldPermission','getAllBases','UNIVER_BASE','IPermissionService','defineProperty','Add','MoveBaseFieldCommand','map','todo','canDeleteField','week','Import','sequenceExecute','_sortRows','periodComma','base.command.update-base-view-config','base.view-registry.service','missingField','h12','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','primaryFieldName','renameView','[BaseField]:\x20invalid\x20person\x20value.','columnSettings','_initDependencies','validateBaseHierarchyRecordCreations','BASE_HIERARCHY_MAX_LEVELS','_basePermissions','Date','BaseProjection.materializeTableRows','label','_deleteAttachmentResources','generateRandomId','relationRole','COLUMN','BaseProjection.getProjection','getStructuredDependencies','BASE_HIERARCHY_PARENT_FIELD_ID','SingleSelect','views','user','view','reason','[BaseCommandService]:\x20cannot\x20create\x20record.','thread-comment.mutation.','_assertFieldDefinition','parentFieldName','[BaseFormula]:\x20table\x20does\x20not\x20exist.','getAll','validateBaseTableName','pop','_normalizeCalendarConfig','BaseConditionalColorOperator','canEditField','searchTexts','ascend','members','attachment','lastMonth','UniverInstanceType','weekdays','pluginName','showTodayLine','key',':end','function','url','unknown','invalid-characters','Delete','MUTATION','base.mutation.apply-base-json1','UpdatedAt','createEmbedBasesTableAddMutation','cardLayout','BaseProjection.projectGroups','push','_resolveKanbanCardFieldIds','UpdateBaseKanbanConfigCommand','data','isBaseConditionalColorDateField','readonly','@univerjs-pro/bases','round','displayFieldId','base.command.service','base.resource.service','createBaseFormulaTableNameMap','IS_NOT','_getKanbanConfiguredLanes','createBaseHierarchyParentField','isBaseRecordIdFieldName','changeFieldType','raw','collaborators','startDateFieldId','_tableRevisions','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','Gallery','every','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','stringify','amd','base.command.create-base-record','rootRecordIds','hierarchy','_getJson1DirtyData','Phone','ColorKit','_fieldRegistry','deleteField','UniverRemoteBasesPlugin','_calendarEventColor','getDay','dateMode','MissingRecord','renameTable','_materializeGroups','descend','defaultValue','1151672LLMQfK','MultiSelect','parentByRecordId','[BaseCommandService]:\x20invalid\x20cell\x20value.','split','usableAsCardCover','[BaseCommandService]:\x20cannot\x20delete\x20field.','diffValue','_materializeFormulaTableNames','strategies','timeslotSize','orderKey','_groupsCacheKey','path','createSuperTableReference','spacePeriod','_buildGantt','parentRecordId','createCreateRecordOp','value','updatedBy','ValidateBaseFormulaCommand','COMMAND','21lZYrOe','depthByRecordId','RecordLink','CreatedBy','getCurrentUnitOfType','getCurrentUserId','_projectFields','manual','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','filter','getMonth','source','unshift','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','False','canCreateField','DependentOn','ApplyBaseJson1Mutation','base.command.batch-create-base-records','manageView','base.command.change-base-field-type','_projectTableRows','BaseConditionalDateMode','before','unitData','getAllUnitsForType','apply','card','toDisposable','rowId','[BaseCommandService]:\x20record-id\x20is\x20reserved.','autoIncrement','past7','isBaseFieldStatEmptyValue','_resolveGalleryCardFieldIds','SetFormulaCalculationResultMutation','_resolveGalleryCoverFieldId','blue','Grid','_getSystemFieldValue','UpdateBaseRecordOrderCommand','RenameBaseTableCommand','calculateBaseFieldStat','spaceComma','_setObjectEdit','\x20must\x20have\x20a\x20non-empty\x20id.','changes','record/','empty','compress','operand','registerSyncingMutations','canCreateTable','fromPlainText','True','IConfigService','Done','deletePermissionPoint','SetBaseRecordValuesCommand','recordNamePrefix','SetBaseKanbanGroupFieldCommand','redo','records','FieldId','\x20has\x20unsupported\x20date\x20mode\x20\x22','SetBaseTableHierarchyFieldCommand','_projectedRowsCache','oldParentRecordId','version','registerCommand','ObjectPermissionService','_canEditTable','Remote','text','updatePermissionPoint','width','_buildCalendar','DeleteBaseFieldCommand','tryMaterializeSnapshot','patches','_projectedViewRowsCache','DeleteBaseRecordCommand','tomorrow','import','SetBasePermissionsCommand','exceptions','missingRecord','canDeleteTable','setTablePermission','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','fromEntries','fromCollab','emitPermissionDenied','excelSerialToDateTime','_globalRevision','CreateBaseTableCommand','[BaseFormula]:\x20field\x20\x22','getUTCDay','base.command.set-base-range-values','validate','@univerjs-pro/license','prototype','BaseDataModel','matchAll','UpdatedBy','fields','BASE_FIELD_STAT_TYPES','NUMBER','view/','ObjectMatrix','[BaseCommandService]:\x20invalid\x20field\x20definition.','decorate','_isCalendarDateField','Yes','9VyXBJX','Unchecked','facade','validateBaseHierarchyRecordPatches','record','register','BaseJson1.cloneForOp','target','_isAllDayGanttDateRange','BaseCommand.createBatchCreateRecordsOp','BaseViewType','_initialize','_formulaCalculationSessionService','owner','PermissionStatus','createSetRecordValuesOp','WriteCursor','_getAllBaseDependencyTreeCacheMap','buildBaseHierarchyIndex','[BaseHierarchy]:\x20field\x20\x22','\x22\x20is\x20referenced\x20by\x20','base.command.create-base-field','length','Person','base.command.set-permissions','tables','Currency','afterViewId','FORCE_STRING','trigger','onStarting','leftPaneCollapsed','slice','selectField','createViewId','_buildKanban','tableId','Copy','setBasePermissionValue','cardSize','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','createDefaultBaseTableSnapshot','_getTablesToNormalize','_initDataSync','string','_withModifiedSystemValues','rule','createField','_formulaCalculationTriggerService','getBaseDashboardPermissionObjectId','insertOp','getUTCMonth','_enqueueFormulaSync','local','1115974iVKlDC','UniverCore','Use\x2031\x20characters\x20or\x20fewer.','Doing','_normalizeCalendarDisplayColor','_getOrderedRecords','Group','createRecord','1959868PZOkNs','objectId','packageName','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','SetBaseViewFieldWidthCommand','BatchCreateBaseRecordsCommand','toLowerCase','11bGIVrp','values','numfmt','base.command.set-base-view-sort','_toDirtyRangePatch','validateRecordLinkField','_normalizeGanttConfig','UnitObject','isNaN','getBaseFormulaTableName','rules','_projectRows','_viewPermissions','scale','UniverProtocol','h:mm\x20a','CreatedAt','_check','kind','_syncSuperTables','edit','UTC','base.command.set-base-record-values','basePerf','_resolveCardTitleFieldId','_buildGrid','direction','pattern','_canEdit','_apply','en-US','_tablePermissions','notContains','[BaseProjectionService]:\x20missing\x20view\x20\x22','getUnit','DataSyncPrimaryController','BaseProjection.filterAndSortRows','SelfParent','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_deleteRecordsBaseOp','at\x20index\x20','mode','exception-','MaxDepth','UniverLicensePlugin','normalizeBaseDateSerial','canEditTable','HH:mm','h24','[RecordLink]:\x20display\x20field\x20\x22','BaseFieldType','formatBaseNumberValue','year','decompressBaseRangeValuesPayload','IBaseProjectionService','setViewSort','getBasePermissionValue','invalidField','REMOTE_BASES_PLUGIN','getSnapshot','\x22\x20with\x20field\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20field.','#14b8a6','clear','1ESjEZa','Export','_getStructureDirtyTableIds','getUTCFullYear','inferBaseSeparatorStyle','Attachment','invertWithDoc','none','deleteRecord','[BaseCommandService]:\x20cannot\x20edit\x20record.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','getCurrentUser','_syncBaseUnit','Table\x20name\x20is\x20required.','uniqueFieldName','__all__','Kanban','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Progress','name','UniverRpc','forEach','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','true','Empty','findIndex','formatBaseDateValue','column','touchDependencies','_isGanttDateField','BASES_PLUGIN','filled','getPermissionPoint','syncUnit','objectType','policy','registerView','MoveBaseViewCommand','BaseField','sortedView','LESS_THAN','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','RecordId','UNIVER_EMBED_BASES_TABLE','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','executeCommand','delete','_rememberTable','General','BaseJson1OpFactory','Parent\x20Items','_getAllTableIds','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','trim','Undo','_cellInvalidationsTouchFields','exports','valid','_setFormulaFieldCells','unique','selfParent','subtreeHeightByRecordId','resources','BEFORE','group','remove','useThousands','_injector','univer.basePerf','BaseHierarchyErrorCode','base-range-values-v1','[BaseField]:\x20invalid\x20multi-value\x20reference.','field','normal','short','currencySymbol','createView','#BFDBFE','base.fieldType.','createBatchCreateRecordsOp','bases.fieldConfig.linkPlaceholder','moveView','Ids','NOT_CONTAINS','invalidateByOp','today','viewOrder','base.command.ensure-base-temporal-view-date-fields','recordCount','_cellInvalidations','50966500BUnSAo','onCommandExecuted','_findCalendarDateFieldId','sum','CreateBaseChildRecordCommand','base.command.update-base-field-description','thumbnail','base.command.delete-base-view','fieldIds','level','long','_getTable','updateViewConfig','fieldOrder','base-perf-','__UNIVER_BASE_PERF__','invalid','base.field-registry.service','table','tableName','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','fld-','primaryFieldId','lastIndexOf','syncExecuteCommand','compose','getUTCDate','@univerjs/rpc','forValue','base.viewType.grid','BaseFilterConjunction','_patchProjectedRowsForCellInvalidations','valueOf','includeRecords','getUnitId','cell','Email','onlyLocal','base.projection.service','_createRecordWithDefaults','displayColor','count','\x22.\x20Allowed\x20operators:\x20','_onCommandExecuted','base.command.duplicate-base-field','clearViewPermission','colorFieldId','false','regexp','titleFieldId','_isNonEmptyCellValue','refactorFormulaUnitQualifier','isNot','coverFieldId','_kanbanGroupKeys','_removeSuperTables','renameFormulaUnitReferences','addPermissionPoint','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','error','info','base-perf','createUpdateCellOp','SetSuperTableMutation','_dataSyncPrimaryController','colId','merge','\x22\x20is\x20not\x20registered.','_findKanbanGroupField','hidden','_isAllDayCalendarEvent','invalidGroupField','toPrimitive','base.command.create-base-view','assign','nodes','workingDaysOnly','BaseConditionalColorRuleUpdateType','endsWith','\x20has\x20unsupported\x20operator\x20\x22','allowMultiple','conditions','get','min','ruleId','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Inject','UniverProFormulaEnginePlugin','_univerInstanceService','UpdateBaseViewConditionalColorRulesCommand','base.command.create-base-child-record','setRules','allocateBaseFormulaTableName','depth','CustomCommandExecutionError','invalidateByView','formula','#,##0','_viewRevisionKey','CellValueType','gridViewId','getSuperTableRegistrations','DuplicateBaseFieldCommand','_cellRevisions','serializeRecordLinkIds','parseRecordLinkIds','BOOLEAN','BASE_RECORD_ID_FIELD_ID','IBaseCommandService','setViewFieldWidth','canManageView','SetBaseViewFieldVisibleCommand','average','SetTriggerFormulaCalculationStartMutation','[BaseHierarchy]:\x20','boolean','conditional','projectBaseHierarchy','onReady','_registeredSuperTableNames','STRING','iterator','CreateBaseViewCommand','Status','_fastSortRows','yyyy/mm/dd','[BaseField]:\x20invalid\x20date\x20value.','dispose','_recordIds',',\x22K\x22','_kanbanLaneColor','ChangeBaseFieldTypeCommand','maxDepth','[BaseCommandService]:\x20cannot\x20delete\x20table.','showFieldNames','End\x20date','end','apostrophe','getTypeOfUnitDisposed$','_projectedGroupsCache','_createRecordOrderOp','attachmentSets','clearBasePermission','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','formatBaseProgressValue','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_T_','bases.remote.config','working','next7','off','MMM\x20D,\x20YYYY','setRecordValues','DeleteView','projection','_capabilities',',,,\x22B\x22','revision','Working\x20day','normalizeBaseDateFieldConfig','row','_resolveBaseId','canEditBaseTargets','custom','getTypeOfUnitAdded$','usableAsCalendarDate','focusUnit','\x20cannot\x20use\x20operator\x20\x22','_applyFormulaResult','Clear','duplicate','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','Name','disposeWithMe','BASE_OBJECT_PERMISSION_PLUGIN','beforeViewId','applyOp','description','BaseHistoryAction','clearUnit','subType','_fieldPermissions','too-long','validateBaseHierarchyMove','create-view','canCreateRecord','pickerFieldIds','_getCellRevision','_resolveCalendarDateFieldId','isCompressedBaseRangeValuesPayload','unsubscribe','_kanbanLaneTitle','SetBaseRangeValuesCommand','[BasePerf]\x20','BaseTable','_scheduleSuperTableSync','createdAt'];_0x508a=function(){return _0x1705b2;};return _0x508a();}
|
|
1
|
+
function _0x2d78(_0x34400c,_0x35781f){_0x34400c=_0x34400c-0x10a;const _0x140dd9=_0x140d();let _0x2d7841=_0x140dd9[_0x34400c];return _0x2d7841;}(function(_0x1deb13,_0x5ed60e){const _0x3e440f=_0x2d78,_0x1e3084=_0x1deb13();while(!![]){try{const _0x171261=-parseInt(_0x3e440f(0x4bc))/0x1*(parseInt(_0x3e440f(0x379))/0x2)+parseInt(_0x3e440f(0x2b5))/0x3+parseInt(_0x3e440f(0x50c))/0x4*(parseInt(_0x3e440f(0x2ae))/0x5)+parseInt(_0x3e440f(0x523))/0x6+-parseInt(_0x3e440f(0x141))/0x7*(parseInt(_0x3e440f(0x355))/0x8)+-parseInt(_0x3e440f(0x434))/0x9+parseInt(_0x3e440f(0x35a))/0xa;if(_0x171261===_0x5ed60e)break;else _0x1e3084['push'](_0x1e3084['shift']());}catch(_0xe398da){_0x1e3084['push'](_0x1e3084['shift']());}}}(_0x140d,0x2a35b),function(_0x467a42,_0x2c1194){const _0x4cc0b3=_0x2d78;typeof exports==_0x4cc0b3(0x30b)&&typeof module<'u'?_0x2c1194(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x4cc0b3(0x1aa)&&define[_0x4cc0b3(0x4dd)]?define([_0x4cc0b3(0x3e8),_0x4cc0b3(0x150),_0x4cc0b3(0x547),'@univerjs/protocol',_0x4cc0b3(0x263),_0x4cc0b3(0x1bf),_0x4cc0b3(0x4ae)],_0x2c1194):(_0x467a42=typeof globalThis<'u'?globalThis:_0x467a42||self,_0x2c1194(_0x467a42['UniverProBases']={},_0x467a42[_0x4cc0b3(0x26f)],_0x467a42[_0x4cc0b3(0x43f)],_0x467a42['UniverProtocol'],_0x467a42[_0x4cc0b3(0x354)],_0x467a42['UniverRpc'],_0x467a42[_0x4cc0b3(0x2bb)]));}(this,function(_0x17d1c1,_0x3deeb7,_0x12efe9,_0x439352,_0x2c0f8e,_0x56e9fb,_0x4f046c){const _0x4e5412=_0x2d78;Object[_0x4e5412(0x4fb)](_0x17d1c1,Symbol[_0x4e5412(0x4b7)],{'value':_0x4e5412(0x46c)});function _0x14bbce(_0x1633ce){const _0xa94c6f=_0x4e5412;let _0x16487b=_0x1633ce['config'][_0xa94c6f(0x391)],_0x5d7ce9=_0x1633ce[_0xa94c6f(0x505)][_0xa94c6f(0x3c0)],_0x49ed6f=_0x1633ce[_0xa94c6f(0x505)]['displayFieldId'],_0x2ded9b=_0x1633ce[_0xa94c6f(0x505)][_0xa94c6f(0x495)],_0x493c06=_0x1633ce[_0xa94c6f(0x505)]['relationRole'];return typeof _0x16487b!=_0xa94c6f(0x3d4)||!_0x16487b||typeof _0x5d7ce9!=_0xa94c6f(0x490)||_0x49ed6f!==void 0x0&&(typeof _0x49ed6f!=_0xa94c6f(0x3d4)||!_0x49ed6f)||_0x493c06!==void 0x0&&_0x493c06!==_0x3deeb7[_0xa94c6f(0x175)][_0xa94c6f(0x1ef)]||_0x2ded9b!==void 0x0&&(!Array[_0xa94c6f(0x2a0)](_0x2ded9b)||_0x2ded9b[_0xa94c6f(0x3a8)](_0x5f1d3c=>typeof _0x5f1d3c!=_0xa94c6f(0x3d4)||!_0x5f1d3c)||new Set(_0x2ded9b)[_0xa94c6f(0x176)]!==_0x2ded9b[_0xa94c6f(0x4b3)])?null:{'targetTableId':_0x16487b,'multiple':_0x5d7ce9,..._0x49ed6f?{'displayFieldId':_0x49ed6f}:{},..._0x2ded9b?{'pickerFieldIds':[..._0x2ded9b]}:{},..._0x493c06?{'relationRole':_0x493c06}:{}};}function _0x42b54d(_0x319e71){const _0x335ab9=_0x4e5412;return typeof _0x319e71!=_0x335ab9(0x3d4)||_0x319e71===''?[]:_0x319e71['split'](',');}function _0x1234df(_0x4bf7ea){const _0x1f701c=_0x4e5412;return Array[_0x1f701c(0x33c)](new Set(_0x4bf7ea))[_0x1f701c(0x289)](',');}function _0x2d8e91(_0x4f3c95,_0x4ceeb8){const _0x1e675b=_0x4e5412;if(typeof _0x4f3c95!='string')return{'valid':!0x1,'reason':_0x1e675b(0x4da)};if(_0x4f3c95==='')return{'valid':!0x0};let _0x2a15bd=_0x4f3c95['split'](',');return!_0x4ceeb8&&_0x2a15bd['length']>0x1?{'valid':!0x1,'reason':_0x1e675b(0x37d)}:_0x2a15bd[_0x1e675b(0x3a8)](_0x44e132=>!(0x0,_0x3deeb7['isValidBaseRecordId'])(_0x44e132))||new Set(_0x2a15bd)['size']!==_0x2a15bd[_0x1e675b(0x4b3)]||_0x1234df(_0x2a15bd)!==_0x4f3c95?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x6ad206(_0x56fe46,_0x546e5b){const _0x233035=_0x4e5412;if(_0x546e5b[_0x233035(0x3de)]!==_0x3deeb7['BaseFieldType']['RecordLink'])return{'valid':!0x0};let _0x512360=_0x14bbce(_0x546e5b),_0x3e2743=_0x512360?_0x56fe46[_0x233035(0x52f)][_0x512360[_0x233035(0x391)]]:void 0x0;if(!_0x512360||!_0x3e2743)return{'valid':!0x1,'reason':_0x233035(0x4d6)};let _0x236148=[..._0x512360['displayFieldId']?[_0x512360[_0x233035(0x3a7)]]:[],..._0x512360['pickerFieldIds']??[]][_0x233035(0x538)](_0x535c62=>{const _0x1c8d60=_0x233035;let _0x21befe=_0x3e2743[_0x1c8d60(0x135)][_0x535c62];return!_0x21befe||_0x21befe['system']===!0x0||_0x21befe[_0x1c8d60(0x3de)]===_0x3deeb7[_0x1c8d60(0x16c)][_0x1c8d60(0x444)];});return _0x236148?{'valid':!0x1,'reason':_0x233035(0x3e1)+_0x236148+_0x233035(0x196)}:{'valid':!0x0};}function _0x1be6eb(_0x11ba3f,_0x66a6be,_0x25899a,_0x1b84cd={}){const _0x5c5c4e=_0x4e5412;let _0x20b4f8=_0x14bbce(_0x66a6be);if(_0x66a6be[_0x5c5c4e(0x3de)]!==_0x3deeb7[_0x5c5c4e(0x16c)][_0x5c5c4e(0x415)]||!_0x20b4f8)return{'valid':!0x1,'reason':_0x5c5c4e(0x3f8)};let _0x297c1a=_0x2d8e91(_0x25899a,_0x20b4f8['multiple']);if(!_0x297c1a[_0x5c5c4e(0x236)]||_0x1b84cd[_0x5c5c4e(0x111)])return _0x297c1a;let _0x150150=_0x11ba3f[_0x5c5c4e(0x52f)][_0x20b4f8[_0x5c5c4e(0x391)]];if(!_0x150150)return{'valid':!0x1,'reason':_0x5c5c4e(0x4d6)};let _0x546ffc=_0x42b54d(_0x25899a)[_0x5c5c4e(0x538)](_0x3950e9=>!_0x150150[_0x5c5c4e(0x4ce)][_0x3950e9]);return _0x546ffc?{'valid':!0x1,'reason':_0x5c5c4e(0x442)+_0x546ffc+_0x5c5c4e(0x45a)}:{'valid':!0x0};}function _0x394fe9(_0x4e56b6,_0x243ca1){const _0x125780=_0x4e5412;return Object[_0x125780(0x261)](_0x4e56b6['tables'])[_0x125780(0x27f)](_0x3ce18d=>Object[_0x125780(0x261)](_0x3ce18d[_0x125780(0x135)])[_0x125780(0x27f)](_0x2b7e69=>{const _0x39e2e1=_0x125780;let _0x56637e=_0x2b7e69[_0x39e2e1(0x3de)]===_0x3deeb7[_0x39e2e1(0x16c)][_0x39e2e1(0x415)]?_0x14bbce(_0x2b7e69):null;return(_0x56637e==null?void 0x0:_0x56637e[_0x39e2e1(0x391)])===_0x243ca1?[{'tableId':_0x3ce18d['id'],'fieldId':_0x2b7e69['id']}]:[];}));}let _0x10f887=_0x4e5412(0x52d),_0x2faa9a=function(_0xdb769e){const _0x30bce7=_0x4e5412;return _0xdb769e[_0x30bce7(0x461)]='invalidField',_0xdb769e['MissingRecord']='missingRecord',_0xdb769e['SelfParent']=_0x30bce7(0x16a),_0xdb769e[_0x30bce7(0x56a)]='cycle',_0xdb769e[_0x30bce7(0x47d)]=_0x30bce7(0x4c9),_0xdb769e[_0x30bce7(0x385)]=_0x30bce7(0x51c),_0xdb769e;}({});var _0x25ceeb=class extends Error{constructor(_0x1b54a6,_0x428719=_0x4e5412(0x1dc)+_0x1b54a6){const _0x5d287c=_0x4e5412;super(_0x428719),this['code']=_0x1b54a6,this[_0x5d287c(0x1cd)]=_0x5d287c(0x42f);}};let _0x2c3590=function(_0x5f1d17){const _0x4d6259=_0x4e5412;return _0x5f1d17['UI']='ui',_0x5f1d17[_0x4d6259(0x1b3)]=_0x4d6259(0x44e),_0x5f1d17['Remote']='remote',_0x5f1d17[_0x4d6259(0x220)]=_0x4d6259(0x2c1),_0x5f1d17[_0x4d6259(0x3ad)]='redo',_0x5f1d17[_0x4d6259(0x14c)]=_0x4d6259(0x197),_0x5f1d17;}({});function _0x29b167(_0x5a4574,_0x2c5fe7){const _0x12b6e8=_0x4e5412;if(!_0x2c5fe7)return!0x1;let _0x545027=_0x5a4574[_0x12b6e8(0x135)][_0x2c5fe7];if(!_0x545027||_0x545027['type']!==_0x3deeb7[_0x12b6e8(0x16c)][_0x12b6e8(0x415)])return!0x1;let _0x38a270=_0x14bbce(_0x545027);return _0x38a270?_0x38a270[_0x12b6e8(0x391)]===_0x5a4574['id']&&_0x38a270['multiple']===!0x1:!0x1;}function _0x1e2885(_0xa02311){const _0x5f6e93=_0x4e5412;return[..._0xa02311['fieldOrder'],...Object[_0x5f6e93(0x2e5)](_0xa02311[_0x5f6e93(0x135)])[_0x5f6e93(0x30d)](_0x183920=>!_0xa02311[_0x5f6e93(0x324)][_0x5f6e93(0x1a5)](_0x183920))['sort']()][_0x5f6e93(0x538)](_0x599955=>{const _0x36726f=_0x5f6e93;var _0x281586;return _0x29b167(_0xa02311,_0x599955)?((_0x281586=_0x14bbce(_0xa02311[_0x36726f(0x135)][_0x599955]))==null?void 0x0:_0x281586[_0x36726f(0x182)])===_0x3deeb7[_0x36726f(0x175)]['Parent']:!0x1;})??null;}function _0x3de209(_0x335da3){const _0x356f68=_0x4e5412;let _0x522a06=_0x1e2885(_0x335da3);if(_0x522a06)return _0x522a06;let _0x43f60d=_0x10f887,_0x56eaa3=0x2;for(;_0x335da3[_0x356f68(0x135)][_0x43f60d];)_0x43f60d=_0x10f887+'_'+_0x56eaa3++;return _0x43f60d;}function _0x182fc2(_0x24e767,_0x3dbef1=_0x3de209(_0x24e767),_0x216763=_0x4e5412(0x42e)){const _0x6ec910=_0x4e5412;return{'id':_0x3dbef1,'name':_0x216763,'type':_0x3deeb7[_0x6ec910(0x16c)][_0x6ec910(0x415)],'config':{'targetTableId':_0x24e767['id'],'multiple':!0x1,'displayFieldId':_0x24e767[_0x6ec910(0x3fb)],'pickerFieldIds':[_0x24e767[_0x6ec910(0x3fb)]],'relationRole':_0x3deeb7[_0x6ec910(0x175)]['Parent']}};}function _0x162d8c(_0x371b87){let _0x390706=_0x1e2885(_0x371b87);return _0x390706?[_0x390706]:[];}function _0x50ed89(_0x2f25bb,_0x4d09f0){const _0xdc43dd=_0x4e5412;let _0x328050=[..._0x162d8c(_0x2f25bb)][_0xdc43dd(0x30d)](_0x1f68ee=>_0x4d09f0[_0xdc43dd(0x3a8)](_0x2322b0=>Object['prototype'][_0xdc43dd(0x327)][_0xdc43dd(0x241)](_0x2322b0[_0xdc43dd(0x261)],_0x1f68ee)));if(!_0x328050[_0xdc43dd(0x4b3)])return[];let _0x50c4ad={..._0x2f25bb['records']};_0x4d09f0['forEach'](_0x3ac4cd=>{const _0x232221=_0xdc43dd;let _0x5f3526=_0x50c4ad[_0x3ac4cd[_0x232221(0x3b0)]];_0x5f3526&&(_0x50c4ad[_0x3ac4cd[_0x232221(0x3b0)]]={..._0x5f3526,'values':{..._0x5f3526[_0x232221(0x261)],..._0x3ac4cd[_0x232221(0x261)]}});});let _0x1d06f9={..._0x2f25bb,'records':_0x50c4ad},_0x4bdc00=[];return _0x328050[_0xdc43dd(0x349)](_0x222b96=>{const _0x15732a=_0xdc43dd;let _0x5718dd=_0x385429(_0x2f25bb,_0x222b96),_0x38d34a=_0x385429(_0x1d06f9,_0x222b96);for(let [_0xb2942c,_0x8bec9f]of _0x38d34a[_0x15732a(0x253)]){let _0x22cd21=_0x4d09f0[_0x15732a(0x3a8)](_0x4af6b1=>_0x4af6b1['recordId']===_0xb2942c&&Object[_0x15732a(0x4d3)][_0x15732a(0x327)][_0x15732a(0x241)](_0x4af6b1[_0x15732a(0x261)],_0x222b96));if(_0x5718dd[_0x15732a(0x253)][_0x15732a(0x3c1)](_0xb2942c)!==_0x8bec9f||_0x22cd21)throw new _0x25ceeb(_0x13109e(_0x8bec9f));}_0x4d09f0['forEach'](_0x36e3f6=>{const _0x3cb256=_0x15732a;if(!Object['prototype'][_0x3cb256(0x327)][_0x3cb256(0x241)](_0x36e3f6[_0x3cb256(0x261)],_0x222b96))return;let _0x31c27d=_0x5718dd[_0x3cb256(0x1f3)]['get'](_0x36e3f6[_0x3cb256(0x3b0)])??null,_0x3fa63e=_0x38d34a[_0x3cb256(0x1f3)][_0x3cb256(0x3c1)](_0x36e3f6[_0x3cb256(0x3b0)])??null;_0x31c27d!==_0x3fa63e&&_0x4bdc00[_0x3cb256(0x296)]({'tableId':_0x2f25bb['id'],'fieldId':_0x222b96,'recordId':_0x36e3f6[_0x3cb256(0x3b0)],'oldParentRecordId':_0x31c27d,'parentRecordId':_0x3fa63e});});}),_0x4bdc00;}function _0x2cba79(_0x31c7d6,_0x4978ec){const _0x50717b=_0x4e5412;let _0x43ff2f=_0x4978ec[_0x50717b(0x1fd)](_0x4726fb=>_0x4726fb['id']);if(new Set(_0x43ff2f)['size']!==_0x43ff2f['length']||_0x43ff2f[_0x50717b(0x3a8)](_0x99e903=>_0x31c7d6['records'][_0x99e903]))return[];let _0x666dd5=_0x162d8c(_0x31c7d6),_0x3450ed=_0x666dd5['length']?null:_0x3de209(_0x31c7d6),_0x4332c7=[..._0x666dd5,..._0x3450ed&&_0x4978ec[_0x50717b(0x3a8)](_0x1f7ee0=>Object[_0x50717b(0x4d3)]['hasOwnProperty'][_0x50717b(0x241)](_0x1f7ee0[_0x50717b(0x261)],_0x3450ed))?[_0x3450ed]:[]][_0x50717b(0x30d)](_0x2a4f77=>_0x4978ec[_0x50717b(0x3a8)](_0xbb1241=>Object[_0x50717b(0x4d3)][_0x50717b(0x327)][_0x50717b(0x241)](_0xbb1241[_0x50717b(0x261)],_0x2a4f77)));if(!_0x4332c7[_0x50717b(0x4b3)])return[];let _0x21e57d={..._0x31c7d6,'records':{..._0x31c7d6[_0x50717b(0x4ce)],...Object[_0x50717b(0x1ff)](_0x4978ec[_0x50717b(0x1fd)](_0x2ee5a7=>[_0x2ee5a7['id'],_0x2ee5a7]))},'recordOrder':[..._0x31c7d6['recordOrder']??[],..._0x4978ec[_0x50717b(0x1fd)](_0x1f7099=>_0x1f7099['id'])]},_0x4263e2=[];return _0x4332c7[_0x50717b(0x349)](_0x291624=>{const _0x129342=_0x50717b;let _0x3af269=_0x385429(_0x21e57d,_0x291624);_0x4978ec[_0x129342(0x349)](_0x368aa6=>{const _0x38f9a1=_0x129342;let _0x4e0120=_0x3af269[_0x38f9a1(0x253)]['get'](_0x368aa6['id']);if(_0x4e0120)throw new _0x25ceeb(_0x13109e(_0x4e0120));let _0x2a384e=_0x3af269[_0x38f9a1(0x1f3)][_0x38f9a1(0x3c1)](_0x368aa6['id'])??null;_0x2a384e&&_0x4263e2[_0x38f9a1(0x296)]({'tableId':_0x31c7d6['id'],'fieldId':_0x291624,'recordId':_0x368aa6['id'],'oldParentRecordId':null,'parentRecordId':_0x2a384e});});}),_0x4263e2;}function _0x13109e(_0x203b23){const _0x1fcfab=_0x4e5412;switch(_0x203b23){case _0x3deeb7[_0x1fcfab(0x11f)][_0x1fcfab(0x485)]:return _0x1fcfab(0x412);case _0x3deeb7[_0x1fcfab(0x11f)]['SelfParent']:return _0x1fcfab(0x16a);case _0x3deeb7[_0x1fcfab(0x11f)][_0x1fcfab(0x56a)]:return'cycle';case _0x3deeb7[_0x1fcfab(0x11f)][_0x1fcfab(0x47d)]:return _0x1fcfab(0x4c9);}}function _0x1f2f54(_0x57f9f6,_0x2f5193){const _0x39e5bf=_0x4e5412;let _0x2135f2=new Set(_0x2f5193),_0xbce6d3=_0x162d8c(_0x57f9f6);return Object[_0x39e5bf(0x261)](_0x57f9f6[_0x39e5bf(0x4ce)])[_0x39e5bf(0x27f)](_0x2f542c=>_0x2135f2[_0x39e5bf(0x10f)](_0x2f542c['id'])?[]:Array[_0x39e5bf(0x33c)](_0xbce6d3)[_0x39e5bf(0x27f)](_0x37b939=>{const _0x2405a8=_0x39e5bf;let _0xb0555d=_0x42b54d(_0x2f542c[_0x2405a8(0x261)][_0x37b939])[0x0]??null;return _0xb0555d&&_0x2135f2[_0x2405a8(0x10f)](_0xb0555d)?[{'tableId':_0x57f9f6['id'],'fieldId':_0x37b939,'recordId':_0x2f542c['id'],'oldParentRecordId':_0xb0555d,'parentRecordId':null}]:[];}));}function _0x385429(_0x5a44f1,_0x39ac42,_0x5672fb=_0x5a44f1['recordOrder']??Object[_0x4e5412(0x2e5)](_0x5a44f1[_0x4e5412(0x4ce)])){const _0x48b6dd=_0x4e5412;if((_0x5a44f1[_0x48b6dd(0x135)][_0x39ac42]||_0x39ac42!==_0x3de209(_0x5a44f1))&&!_0x29b167(_0x5a44f1,_0x39ac42))throw Error(_0x48b6dd(0x1b9)+_0x39ac42+_0x48b6dd(0x51e));let _0x39f41c=_0x11040f(_0x5a44f1,_0x5672fb),_0x510fa7=new Map(),_0x72e871=new Map();for(let _0x82877d of _0x39f41c){var _0x387dc6;let _0x4a9abc=_0x42b54d((_0x387dc6=_0x5a44f1[_0x48b6dd(0x4ce)][_0x82877d])==null?void 0x0:_0x387dc6[_0x48b6dd(0x261)][_0x39ac42])[0x0]??null;_0x4a9abc?_0x4a9abc===_0x82877d?(_0x510fa7['set'](_0x82877d,null),_0x72e871['set'](_0x82877d,_0x3deeb7[_0x48b6dd(0x11f)][_0x48b6dd(0x1df)])):_0x5a44f1[_0x48b6dd(0x4ce)][_0x4a9abc]?_0x510fa7[_0x48b6dd(0x4b6)](_0x82877d,_0x4a9abc):(_0x510fa7['set'](_0x82877d,null),_0x72e871[_0x48b6dd(0x4b6)](_0x82877d,_0x3deeb7['BaseHierarchyInvalidReason']['MissingParent'])):_0x510fa7[_0x48b6dd(0x4b6)](_0x82877d,null);}_0x557045(_0x510fa7,_0x72e871,_0x39f41c),_0x627723(_0x510fa7,_0x72e871,_0x39f41c);let _0x29813e=new Map(_0x39f41c[_0x48b6dd(0x1fd)]((_0x25d34b,_0x165e55)=>[_0x25d34b,_0x165e55])),_0x4fd46c=new Map();for(let _0x27a24d of _0x39f41c){let _0x3a3659=_0x510fa7[_0x48b6dd(0x3c1)](_0x27a24d)??null,_0x3a9b1f=_0x4fd46c[_0x48b6dd(0x3c1)](_0x3a3659)??[];_0x3a9b1f[_0x48b6dd(0x296)](_0x27a24d),_0x4fd46c[_0x48b6dd(0x4b6)](_0x3a3659,_0x3a9b1f);}_0x4fd46c['forEach'](_0x3c121b=>_0x3c121b['sort']((_0x13d5ae,_0x3c81e7)=>(_0x29813e[_0x48b6dd(0x3c1)](_0x13d5ae)??0x0)-(_0x29813e[_0x48b6dd(0x3c1)](_0x3c81e7)??0x0)));let _0x4eb606=_0x4fd46c[_0x48b6dd(0x3c1)](null)??[],_0x527b3c=new Map(),_0x7c551a=new Map(),_0x1981ee=[],_0x12a9da=(_0x21f43f,_0x568f87)=>{const _0x5cea90=_0x48b6dd;_0x527b3c[_0x5cea90(0x4b6)](_0x21f43f,_0x568f87),_0x1981ee['push'](_0x21f43f);let _0x3a2981=0x0;for(let _0x14fb3a of _0x4fd46c[_0x5cea90(0x3c1)](_0x21f43f)??[])_0x3a2981=Math['max'](_0x3a2981,0x1+_0x12a9da(_0x14fb3a,_0x568f87+0x1));return _0x7c551a['set'](_0x21f43f,_0x3a2981),_0x3a2981;};return _0x4eb606['forEach'](_0x95600=>_0x12a9da(_0x95600,0x0)),{'fieldId':_0x39ac42,'parentByRecordId':_0x510fa7,'childrenByParentId':_0x4fd46c,'depthByRecordId':_0x527b3c,'subtreeHeightByRecordId':_0x7c551a,'invalidReasonByRecordId':_0x72e871,'rootRecordIds':_0x4eb606,'orderedRecordIds':_0x1981ee};}function _0x275942(_0x3ffe7d,_0x106d5f,_0x34ac53=new Set(_0x106d5f[_0x4e5412(0x1fd)](_0x3b11e2=>_0x3b11e2[_0x4e5412(0x3b0)]))){const _0x477651=_0x4e5412;let _0x191b50=new Set(_0x34ac53);for(let _0x1f8a00 of _0x34ac53){let _0x40adc4=_0x3ffe7d[_0x477651(0x1f3)][_0x477651(0x3c1)](_0x1f8a00)??null;for(;_0x40adc4;)_0x191b50[_0x477651(0x2af)](_0x40adc4),_0x40adc4=_0x3ffe7d[_0x477651(0x1f3)]['get'](_0x40adc4)??null;}let _0x22e374=new Map(_0x106d5f['map'](_0x1f0b36=>[_0x1f0b36[_0x477651(0x3b0)],_0x1f0b36])),_0x14d0d8=_0x3ffe7d[_0x477651(0x4a8)][_0x477651(0x30d)](_0x956517=>_0x191b50[_0x477651(0x10f)](_0x956517)),_0x160a53=_0x14d0d8['flatMap'](_0x458c24=>{const _0x4708e9=_0x477651;let _0x13b922=_0x22e374[_0x4708e9(0x3c1)](_0x458c24);return _0x13b922?[_0x13b922]:[];}),_0x565173={};for(let _0x55b881=0x0;_0x55b881<_0x14d0d8[_0x477651(0x4b3)];_0x55b881++){let _0x42a129=_0x14d0d8[_0x55b881];_0x565173[_0x42a129]={'recordId':_0x42a129,'parentRecordId':_0x3ffe7d[_0x477651(0x1f3)][_0x477651(0x3c1)](_0x42a129)??null,'depth':_0x3ffe7d[_0x477651(0x12a)][_0x477651(0x3c1)](_0x42a129)??0x0,'directChildCount':(_0x3ffe7d[_0x477651(0x30c)]['get'](_0x42a129)??[])[_0x477651(0x4b3)],'subtreeHeight':_0x3ffe7d[_0x477651(0x1c3)][_0x477651(0x3c1)](_0x42a129)??0x0,'subtreeEndIndex':_0x55b881,'invalidReason':_0x3ffe7d['invalidReasonByRecordId'][_0x477651(0x3c1)](_0x42a129)};}let _0x5b9dc3=[];for(let _0x4c07cc=0x0;_0x4c07cc<_0x14d0d8[_0x477651(0x4b3)];_0x4c07cc++){let _0x51b887=_0x14d0d8[_0x4c07cc],_0x5c8462=_0x565173[_0x51b887][_0x477651(0x192)];for(;_0x5b9dc3[_0x477651(0x4b3)]&&_0x5b9dc3[_0x5b9dc3[_0x477651(0x4b3)]-0x1]['depth']>=_0x5c8462;){let _0x5a4b6f=_0x5b9dc3[_0x477651(0x466)]();_0x565173[_0x5a4b6f[_0x477651(0x3b0)]][_0x477651(0x3e7)]=_0x4c07cc-0x1;}_0x5b9dc3[_0x477651(0x296)]({'recordId':_0x51b887,'depth':_0x5c8462});}return _0x5b9dc3[_0x477651(0x349)](({recordId:_0x1c674a})=>{const _0xbaf2e2=_0x477651;_0x565173[_0x1c674a][_0xbaf2e2(0x3e7)]=_0x14d0d8[_0xbaf2e2(0x4b3)]-0x1;}),{'rows':_0x160a53,'hierarchy':{'fieldId':_0x3ffe7d['fieldId'],'rootRecordIds':_0x3ffe7d[_0x477651(0x303)][_0x477651(0x30d)](_0x13fcad=>_0x191b50['has'](_0x13fcad)),'orderedRecordIds':_0x14d0d8,'nodes':_0x565173}};}function _0x4ee7ed(_0x156180,_0x22bd38){const _0x5da5ac=_0x4e5412;if(!_0x156180[_0x5da5ac(0x284)]||!(_0x22bd38!=null&&_0x22bd38[_0x5da5ac(0x176)]))return _0x156180[_0x5da5ac(0x20d)];let _0x47169b=[],_0x2edb77=0x0;for(;_0x2edb77<_0x156180[_0x5da5ac(0x20d)]['length'];){let _0xab3059=_0x156180[_0x5da5ac(0x20d)][_0x2edb77];_0x47169b[_0x5da5ac(0x296)](_0xab3059);let _0x1e4d88=_0x156180[_0x5da5ac(0x284)][_0x5da5ac(0x1e2)][_0xab3059[_0x5da5ac(0x3b0)]];_0x2edb77=_0x22bd38['has'](_0xab3059[_0x5da5ac(0x3b0)])&&_0x1e4d88?_0x1e4d88['subtreeEndIndex']+0x1:_0x2edb77+0x1;}return _0x47169b;}function _0x2644d5(_0x4f8370,_0xe65e8e,_0x6a60f6){const _0x378f8f=_0x4e5412;if(!_0x6a60f6)return{'valid':!0x0};if(_0xe65e8e===_0x6a60f6)return{'valid':!0x1,'reason':_0x3deeb7['BaseHierarchyInvalidReason']['SelfParent']};let _0x30dbdb=_0x6a60f6;for(;_0x30dbdb;){if(_0x30dbdb===_0xe65e8e)return{'valid':!0x1,'reason':_0x3deeb7[_0x378f8f(0x11f)][_0x378f8f(0x56a)]};_0x30dbdb=_0x4f8370['parentByRecordId'][_0x378f8f(0x3c1)](_0x30dbdb)??null;}return(_0x4f8370[_0x378f8f(0x12a)][_0x378f8f(0x3c1)](_0x6a60f6)??0x0)+0x1+(_0x4f8370[_0x378f8f(0x1c3)]['get'](_0xe65e8e)??0x0)>=0x5?{'valid':!0x1,'reason':_0x3deeb7['BaseHierarchyInvalidReason'][_0x378f8f(0x47d)]}:{'valid':!0x0};}function _0x11040f(_0x1449c9,_0x61abd6){const _0x45712d=_0x4e5412;let _0x4d0184=new Set(),_0x5e32f1=[];for(let _0x4b5a74 of _0x61abd6)_0x1449c9['records'][_0x4b5a74]&&!_0x4d0184['has'](_0x4b5a74)&&(_0x4d0184['add'](_0x4b5a74),_0x5e32f1[_0x45712d(0x296)](_0x4b5a74));return Object[_0x45712d(0x2e5)](_0x1449c9[_0x45712d(0x4ce)])[_0x45712d(0x54f)]()[_0x45712d(0x349)](_0x28c798=>{const _0x506a7f=_0x45712d;_0x4d0184[_0x506a7f(0x10f)](_0x28c798)||_0x5e32f1[_0x506a7f(0x296)](_0x28c798);}),_0x5e32f1;}function _0x557045(_0x2be874,_0x59aad5,_0x45001d){const _0x5d7325=_0x4e5412;let _0x138d18=new Set();for(let _0x1e5ec0 of _0x45001d){if(_0x138d18[_0x5d7325(0x10f)](_0x1e5ec0))continue;let _0x20bbf8=[],_0xba4465=new Map(),_0x46e20d=_0x1e5ec0;for(;_0x46e20d&&!_0x138d18[_0x5d7325(0x10f)](_0x46e20d);){let _0x2c4e1b=_0xba4465[_0x5d7325(0x3c1)](_0x46e20d);if(_0x2c4e1b!=null){let _0xdb690a=[..._0x20bbf8[_0x5d7325(0x539)](_0x2c4e1b)]['sort']()[_0x5d7325(0x466)]();_0x2be874[_0x5d7325(0x4b6)](_0xdb690a,null),_0x59aad5['set'](_0xdb690a,_0x3deeb7[_0x5d7325(0x11f)]['Cycle']);break;}_0xba4465[_0x5d7325(0x4b6)](_0x46e20d,_0x20bbf8['length']),_0x20bbf8[_0x5d7325(0x296)](_0x46e20d),_0x46e20d=_0x2be874[_0x5d7325(0x3c1)](_0x46e20d)??null;}_0x20bbf8['forEach'](_0x3a6f50=>_0x138d18['add'](_0x3a6f50));}}function _0x627723(_0x3ddce7,_0x11b028,_0xbb076b){const _0x5be2e2=_0x4e5412;let _0x3f7349=new Map(),_0x58e81e=_0x4a4811=>{const _0x474741=_0x2d78;let _0x275d2d=_0x3f7349[_0x474741(0x3c1)](_0x4a4811);if(_0x275d2d!=null)return _0x275d2d;let _0x122e95=_0x3ddce7[_0x474741(0x3c1)](_0x4a4811)??null;if(!_0x122e95)return _0x3f7349[_0x474741(0x4b6)](_0x4a4811,0x0),0x0;let _0x27a531=_0x58e81e(_0x122e95)+0x1;return _0x27a531>=0x5?(_0x3ddce7[_0x474741(0x4b6)](_0x4a4811,null),_0x11b028[_0x474741(0x4b6)](_0x4a4811,_0x3deeb7['BaseHierarchyInvalidReason'][_0x474741(0x47d)]),_0x3f7349[_0x474741(0x4b6)](_0x4a4811,0x0),0x0):(_0x3f7349[_0x474741(0x4b6)](_0x4a4811,_0x27a531),_0x27a531);};_0xbb076b[_0x5be2e2(0x349)](_0x58e81e);}let _0x2be80c=0x0;function _0x2f925d(){const _0x5c238f=_0x4e5412;if(globalThis[_0x5c238f(0x3df)]===!0x0)return!0x0;try{let _0xf974ed=typeof location>'u'?'':location[_0x5c238f(0x1bd)],_0x5cfcdb=new URLSearchParams(_0xf974ed);if(_0x5cfcdb['get']('basePerf')==='1'||_0x5cfcdb[_0x5c238f(0x3c1)](_0x5c238f(0x138))===_0x5c238f(0x11e)||_0x5cfcdb[_0x5c238f(0x3c1)]('base-perf')==='1')return!0x0;}catch{}try{let _0x134ed3=typeof localStorage>'u'?null:localStorage[_0x5c238f(0x19b)]('univer.basePerf');return _0x134ed3==='1'||_0x134ed3==='true';}catch{return!0x1;}}function _0x2eb728(_0x43d8f5,_0x819712,_0x261e79){const _0x3dbc7e=_0x4e5412;if(!_0x2f925d())return _0x819712();let _0x35bd3d=_0x2e8d33(),_0x14e30b=_0x3dbc7e(0x11c)+_0x2be80c++;_0x5b30c3(_0x14e30b+_0x3dbc7e(0x155));try{return _0x819712();}finally{let _0x426641=_0x2e8d33()-_0x35bd3d;_0x5b30c3(_0x14e30b+_0x3dbc7e(0x31e)),_0x4fac91(_0x43d8f5,_0x14e30b+_0x3dbc7e(0x155),_0x14e30b+_0x3dbc7e(0x31e)),_0x373328(_0x43d8f5,_0x426641,_0x261e79);}}function _0x373328(_0x309fb5,_0x3ba86c,_0x2ef4a9){const _0x588a00=_0x4e5412;if(!_0x2f925d())return;let _0x22bde8=Math[_0x588a00(0x216)](_0x3ba86c*0x64)/0x64,_0x4b15ff=_0x2ef4a9&&Object[_0x588a00(0x2e5)](_0x2ef4a9)[_0x588a00(0x4b3)]?'\x20'+JSON[_0x588a00(0x17c)](_0x2ef4a9):'';console['info'](_0x588a00(0x1ae)+_0x309fb5+':\x20'+_0x22bde8+'ms'+_0x4b15ff);}function _0x2e8d33(){const _0x14dd01=_0x4e5412;return typeof performance<'u'&&typeof performance[_0x14dd01(0x3c4)]=='function'?performance['now']():Date[_0x14dd01(0x3c4)]();}function _0x5b30c3(_0x4ccbd0){const _0x34678d=_0x4e5412;try{if(typeof performance<'u'){var _0x4a817f,_0x570dc7;(_0x4a817f=(_0x570dc7=performance)[_0x34678d(0x4a3)])==null||_0x4a817f[_0x34678d(0x241)](_0x570dc7,_0x4ccbd0);}}catch{}}function _0x4fac91(_0xf52814,_0x1eeb87,_0x1fa956){const _0x52ff27=_0x4e5412;try{if(typeof performance<'u'){var _0x16da9b,_0x5442a6;(_0x16da9b=(_0x5442a6=performance)[_0x52ff27(0x458)])==null||_0x16da9b[_0x52ff27(0x241)](_0x5442a6,'[BasePerf]\x20'+_0xf52814,_0x1eeb87,_0x1fa956);}}catch{}}function _0x3dd317(_0x393f1a){const _0xd5beb9=_0x4e5412;var _0x2c216d;return _0x2f925d()?_0x2eb728('IBaseCellData.ensureTableCellLayout',()=>_0x10d3ae(_0x393f1a),{'tableId':_0x393f1a['id'],'records':Object[_0xd5beb9(0x2e5)](_0x393f1a[_0xd5beb9(0x4ce)]??{})[_0xd5beb9(0x4b3)],'fields':_0x393f1a[_0xd5beb9(0x324)][_0xd5beb9(0x4b3)],'hasRecordOrder':!!((_0x2c216d=_0x393f1a[_0xd5beb9(0x402)])!=null&&_0x2c216d[_0xd5beb9(0x4b3)])}):_0x10d3ae(_0x393f1a);}function _0x10d3ae(_0x5c30e8){const _0x195bbf=_0x4e5412;var _0x10337b;let _0x3b5f9d=_0x5c30e8[_0x195bbf(0x4ce)]??{},_0x462acb=_0x5c30e8[_0x195bbf(0x135)]??{},_0x1668e7=((_0x10337b=_0x5c30e8[_0x195bbf(0x402)])==null?void 0x0:_0x10337b[_0x195bbf(0x30d)](_0x5a08ea=>_0x3b5f9d[_0x5a08ea]))??[],_0x49f4ab=new Set(_0x1668e7),_0x5ab21b=[];for(let _0x175bad of Object[_0x195bbf(0x261)](_0x3b5f9d))_0x49f4ab[_0x195bbf(0x10f)](_0x175bad['id'])||_0x5ab21b[_0x195bbf(0x296)](_0x175bad);let _0xca54d1=_0x5ab21b[_0x195bbf(0x4b3)]?[..._0x1668e7,..._0x1437f3(_0x5ab21b)]:_0x1668e7,_0x2fa74f=_0x5c30e8[_0x195bbf(0x324)]['filter'](_0xd47773=>_0x462acb[_0xd47773]),_0x53c17d={..._0x5c30e8[_0x195bbf(0x449)]??{}},_0x3f590e={..._0x5c30e8['colId']??{}},_0x1ae2b1={..._0x5c30e8['cellData']??{}};_0x5c30e8[_0x195bbf(0x402)]=_0xca54d1,_0x5c30e8['rowIndex']={},_0x5c30e8[_0x195bbf(0x449)]={},_0x5c30e8['colIndex']={},_0x5c30e8['colId']={},_0x5c30e8[_0x195bbf(0x2c7)]={},_0x5c30e8['resources']={..._0x5c30e8[_0x195bbf(0x26c)]??{}},_0x5c30e8[_0x195bbf(0x26c)][_0x195bbf(0x295)]={..._0x5c30e8[_0x195bbf(0x26c)][_0x195bbf(0x295)]??{}},_0x5c30e8[_0x195bbf(0x26c)][_0x195bbf(0x2f0)]={..._0x5c30e8['resources']['attachments']??{}};let _0x2007f9=_0x5c30e8[_0x195bbf(0x364)],_0x5d70e1=_0x5c30e8[_0x195bbf(0x449)],_0x1b118c=_0x5c30e8['colIndex'],_0x42d59f=_0x5c30e8[_0x195bbf(0x2b4)],_0xbe86da=_0x5c30e8[_0x195bbf(0x2c7)];return _0xca54d1['forEach']((_0x191b42,_0x251157)=>{_0x2007f9[_0x191b42]=_0x251157,_0x5d70e1[_0x251157]=_0x191b42;}),_0x2fa74f['forEach']((_0x2c7468,_0x12ae4f)=>{_0x1b118c[_0x2c7468]=_0x12ae4f,_0x42d59f[_0x12ae4f]=_0x2c7468;}),Object[_0x195bbf(0x26b)](_0x1ae2b1)[_0x195bbf(0x349)](([_0x4047da,_0x3fc2a4])=>{const _0x36c737=_0x195bbf;let _0x252453=Number(_0x4047da),_0x5aea77=_0x53c17d[_0x252453]??_0xca54d1[_0x252453],_0x65de72=_0x5aea77?_0x2007f9[_0x5aea77]:void 0x0;_0x65de72!=null&&(_0xbe86da[_0x65de72]={..._0xbe86da[_0x65de72]??{}},Object[_0x36c737(0x26b)](_0x3fc2a4??{})[_0x36c737(0x349)](([_0x39625a,_0x316e3b])=>{let _0x3ce4d1=Number(_0x39625a),_0x59480c=_0x3f590e[_0x3ce4d1]??_0x2fa74f[_0x3ce4d1],_0x9669c2=_0x59480c?_0x1b118c[_0x59480c]:void 0x0;_0x9669c2!=null&&(_0xbe86da[_0x65de72][_0x9669c2]=_0x1bc042(_0x316e3b));}));}),Object['values'](_0x3b5f9d)['forEach'](_0x5303b8=>{const _0x5acc41=_0x195bbf;let _0x3946c=_0x2007f9[_0x5303b8['id']];_0x3946c!=null&&(_0x5303b8[_0x5acc41(0x261)]={..._0x5303b8[_0x5acc41(0x261)]??{},[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:_0x5303b8['id']},_0xbe86da[_0x3946c]={..._0xbe86da[_0x3946c]??{},0x0:{'v':_0x5303b8['id'],'t':_0x3deeb7[_0x5acc41(0x2e4)][_0x5acc41(0x1a4)]}},Object['entries'](_0x5303b8['values']??{})[_0x5acc41(0x349)](([_0x11cc7a,_0x3fef8a])=>{const _0x4ccf5a=_0x5acc41;let _0x29305d=_0x462acb[_0x11cc7a];(_0x29305d==null?void 0x0:_0x29305d[_0x4ccf5a(0x3de)])===_0x3deeb7[_0x4ccf5a(0x16c)][_0x4ccf5a(0x4a6)]&&_0x3a5700(_0x5c30e8,_0x5303b8['id'],_0x11cc7a,_0x3fef8a);let _0x30683c=_0x1b118c[_0x11cc7a];if(_0x30683c==null)return;let _0x573a1a=_0xbe86da[_0x3946c][_0x30683c];if(_0x573a1a!=null){_0xaa1624(_0x573a1a,_0x29305d,_0x3fef8a)&&(_0xbe86da[_0x3946c][_0x30683c]=_0x49d873(_0x3fef8a,_0x29305d));return;}_0xbe86da[_0x3946c][_0x30683c]=_0x49d873(_0x3fef8a,_0x29305d);}));}),_0x5c30e8;}function _0xac78c2(_0x8801fe,_0x54bbfa){const _0x1dbeac=_0x4e5412;return _0x8801fe[_0x1dbeac(0x4ce)]=Object[_0x1dbeac(0x1ff)](Object['entries'](_0x8801fe[_0x1dbeac(0x4ce)])[_0x1dbeac(0x1fd)](([_0x227933,_0x2b7bba])=>[_0x227933,{..._0x2b7bba}])),_0x3dd317(_0x8801fe),Object[_0x1dbeac(0x26b)](_0x8801fe[_0x1dbeac(0x449)]??{})[_0x1dbeac(0x349)](([_0x127bff,_0x4bdfb3])=>{const _0x2b4986=_0x1dbeac;var _0x51c02d;let _0x7961df=Number(_0x127bff),_0x1f592f=_0x8801fe[_0x2b4986(0x4ce)][_0x4bdfb3];_0x1f592f&&(_0x1f592f['values']={..._0x1f592f['values']??{}},Object[_0x2b4986(0x26b)](((_0x51c02d=_0x8801fe['cellData'])==null?void 0x0:_0x51c02d[_0x7961df])??{})[_0x2b4986(0x349)](([_0x124ab0,_0x4c2f93])=>{const _0x1a7bb5=_0x2b4986;var _0x5cb5a7;let _0x52bb21=(_0x5cb5a7=_0x8801fe[_0x1a7bb5(0x2b4)])==null?void 0x0:_0x5cb5a7[Number(_0x124ab0)];_0x52bb21&&_0x54bbfa&&!_0x54bbfa(_0x4bdfb3,_0x52bb21)||(_0x52bb21===_0x3deeb7[_0x1a7bb5(0x2b7)]?_0x1f592f[_0x1a7bb5(0x261)][_0x3deeb7[_0x1a7bb5(0x2b7)]]=_0x1f592f['id']:_0x52bb21&&(_0x1f592f[_0x1a7bb5(0x261)][_0x52bb21]=_0xc7acb9(_0x4c2f93,_0x8801fe[_0x1a7bb5(0x135)][_0x52bb21],_0x8801fe,_0x4bdfb3)));}));}),_0x8801fe;}function _0x4204db(_0x2a6b96,_0x4b113d){const _0x3290ff=_0x4e5412;for(let {row:_0x5d393b,col:_0x554bdb}of _0x4b113d){var _0x30643a,_0x9983b0,_0x2125ab;let _0x52b47f=(_0x30643a=_0x2a6b96['rowId'])==null?void 0x0:_0x30643a[_0x5d393b],_0x34fafb=(_0x9983b0=_0x2a6b96['colId'])==null?void 0x0:_0x9983b0[_0x554bdb],_0x1e9d09=_0x52b47f?_0x2a6b96['records'][_0x52b47f]:void 0x0;if(!_0x1e9d09||!_0x34fafb)continue;if(_0x34fafb===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']){_0x1e9d09[_0x3290ff(0x261)][_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]=_0x1e9d09['id'];continue;}let _0x31b811=(_0x2125ab=_0x2a6b96[_0x3290ff(0x2c7)])==null||(_0x2125ab=_0x2125ab[_0x5d393b])==null?void 0x0:_0x2125ab[_0x554bdb];(_0x31b811!=null||Object[_0x3290ff(0x4d3)]['hasOwnProperty']['call'](_0x1e9d09[_0x3290ff(0x261)]??{},_0x34fafb))&&(_0x1e9d09['values']={..._0x1e9d09[_0x3290ff(0x261)]??{}},_0x1e9d09[_0x3290ff(0x261)][_0x34fafb]=_0xc7acb9(_0x31b811,_0x2a6b96[_0x3290ff(0x135)][_0x34fafb],_0x2a6b96,_0x52b47f));}return _0x2a6b96;}function _0x3c2310(_0x52ce10,_0x5880be,_0x556bb1){const _0xb5d85=_0x4e5412;var _0xead96d,_0x32757d,_0x289fd7,_0x4ccbd9,_0x4b683b,_0x49db9c;let _0x5259a5=(_0xead96d=_0x52ce10[_0xb5d85(0x364)])==null?void 0x0:_0xead96d[_0x5880be],_0xa00fe3=(_0x32757d=_0x52ce10[_0xb5d85(0x1fc)])==null?void 0x0:_0x32757d[_0x556bb1];if(_0x5259a5!=null&&_0xa00fe3!=null&&((_0x289fd7=_0x52ce10[_0xb5d85(0x449)])==null?void 0x0:_0x289fd7[_0x5259a5])===_0x5880be&&((_0x4ccbd9=_0x52ce10[_0xb5d85(0x2b4)])==null?void 0x0:_0x4ccbd9[_0xa00fe3])===_0x556bb1)return{'row':_0x5259a5,'col':_0xa00fe3};let _0x182b6f=_0x3dd317(_0x52ce10),_0x2f953d=(_0x4b683b=_0x182b6f['rowIndex'])==null?void 0x0:_0x4b683b[_0x5880be],_0x2514e0=(_0x49db9c=_0x182b6f[_0xb5d85(0x1fc)])==null?void 0x0:_0x49db9c[_0x556bb1];return _0x2f953d==null||_0x2514e0==null?null:{'row':_0x2f953d,'col':_0x2514e0};}function _0x1c4130(_0x57589d,_0x5e52f3,_0x2fc8c2){const _0x4483e3=_0x4e5412;var _0x42a5f9;let _0x9dcd1c=_0x3c2310(_0x57589d,_0x5e52f3,_0x2fc8c2);if(_0x9dcd1c)return(_0x42a5f9=_0x57589d[_0x4483e3(0x2c7)])==null||(_0x42a5f9=_0x42a5f9[_0x9dcd1c[_0x4483e3(0x307)]])==null?void 0x0:_0x42a5f9[_0x9dcd1c[_0x4483e3(0x31f)]];}function _0x3ff8b9(_0xe2a2a0,_0x137758,_0x4fb076){const _0x173a8e=_0x4e5412;var _0x59630c;let _0x13e6f2=_0x1c4130(_0xe2a2a0,_0x137758,_0x4fb076),_0xf0fc7d=_0xe2a2a0['fields'][_0x4fb076];if((_0xf0fc7d==null?void 0x0:_0xf0fc7d[_0x173a8e(0x3de)])===_0x3deeb7[_0x173a8e(0x16c)][_0x173a8e(0x4a6)]){var _0x44cd0a;return _0x4a0937(_0xe2a2a0,_0x137758,_0x4fb076)??_0x3624b9((_0x44cd0a=_0xe2a2a0['records'][_0x137758])==null||(_0x44cd0a=_0x44cd0a[_0x173a8e(0x261)])==null?void 0x0:_0x44cd0a[_0x4fb076]);}if(_0x1e01b5(_0xf0fc7d)||_0x22e5e0(_0xf0fc7d)||(_0xf0fc7d==null?void 0x0:_0xf0fc7d[_0x173a8e(0x3de)])===_0x3deeb7['BaseFieldType']['Link']){var _0x58b86e;let _0x39a474=(_0x58b86e=_0xe2a2a0[_0x173a8e(0x4ce)][_0x137758])==null||(_0x58b86e=_0x58b86e[_0x173a8e(0x261)])==null?void 0x0:_0x58b86e[_0x4fb076];return _0x39a474!=null&&_0x39a474!==''?_0x4d3d61(_0x39a474,_0xf0fc7d):_0xc7acb9(_0x13e6f2,_0xf0fc7d,_0xe2a2a0,_0x137758);}return _0x13e6f2&&Object[_0x173a8e(0x4d3)][_0x173a8e(0x327)][_0x173a8e(0x241)](_0x13e6f2,'v')?_0x13e6f2['v']??null:((_0x59630c=_0xe2a2a0[_0x173a8e(0x4ce)][_0x137758])==null||(_0x59630c=_0x59630c[_0x173a8e(0x261)])==null?void 0x0:_0x59630c[_0x4fb076])??null;}function _0x24a2ca(_0x488575,_0x564be6,_0x13756b){const _0x2f837c=_0x4e5412;var _0x52ca7e;let _0x169b9b=_0x1c4130(_0x488575,_0x564be6,_0x13756b);if(_0x169b9b&&Object[_0x2f837c(0x4d3)][_0x2f837c(0x327)]['call'](_0x169b9b,'v'))return _0x169b9b['v']??null;let _0x23bf29=_0x488575[_0x2f837c(0x135)][_0x13756b];return _0x49d873(((_0x52ca7e=_0x488575[_0x2f837c(0x4ce)][_0x564be6])==null||(_0x52ca7e=_0x52ca7e[_0x2f837c(0x261)])==null?void 0x0:_0x52ca7e[_0x13756b])??null,_0x23bf29)['v']??null;}function _0x49d873(_0x164d65,_0x5b8bee){const _0x1ec1bc=_0x4e5412;if(_0x40d9ed(_0x164d65))return(_0x5b8bee==null?void 0x0:_0x5b8bee[_0x1ec1bc(0x3de)])===_0x3deeb7['BaseFieldType'][_0x1ec1bc(0x4a6)]?{..._0x164d65,'v':'','t':_0x3deeb7[_0x1ec1bc(0x2e4)]['STRING']}:_0x1bc042(_0x164d65);if((_0x5b8bee==null?void 0x0:_0x5b8bee[_0x1ec1bc(0x3de)])===_0x3deeb7['BaseFieldType'][_0x1ec1bc(0x4a6)])return{'v':'','t':_0x3deeb7[_0x1ec1bc(0x2e4)][_0x1ec1bc(0x1a4)]};if(_0x22e5e0(_0x5b8bee)){let _0x553a64=_0x3c7e09(_0x164d65);return{'v':_0x553a64,'t':_0x489809(_0x553a64)};}if(_0x1e01b5(_0x5b8bee))return{'v':_0x50ebb4(_0x164d65)['join'](',\x20'),'t':_0x3deeb7[_0x1ec1bc(0x2e4)]['STRING']};if((_0x5b8bee==null?void 0x0:_0x5b8bee[_0x1ec1bc(0x3de)])===_0x3deeb7['BaseFieldType']['Link']&&_0x164d65&&typeof _0x164d65==_0x1ec1bc(0x30b)&&!Array['isArray'](_0x164d65)){let _0x5d57fd=_0x164d65;return{'v':String(_0x5d57fd[_0x1ec1bc(0x40a)]??_0x5d57fd[_0x1ec1bc(0x520)]??''),'t':_0x3deeb7['CellValueType'][_0x1ec1bc(0x1a4)]};}return _0x164d65===null||typeof _0x164d65==_0x1ec1bc(0x3d4)||typeof _0x164d65==_0x1ec1bc(0x38e)||typeof _0x164d65==_0x1ec1bc(0x490)?{'v':_0x164d65,'t':_0x489809(_0x164d65)}:{'v':null,'t':null};}function _0x1bc042(_0xb7c996){let _0x444a46=_0x2aee96(_0xb7c996['t'],_0xb7c996['v']);if(_0x444a46===void 0x0){let {t:_0x381a8c,..._0x76b34d}=_0xb7c996;return _0x76b34d;}return{..._0xb7c996,'t':_0x444a46};}function _0xc7acb9(_0x1c0b02,_0x270e20,_0x3aba1f,_0x12c186){const _0x326b79=_0x4e5412;if(!_0x1c0b02)return null;if((_0x270e20==null?void 0x0:_0x270e20[_0x326b79(0x3de)])===_0x3deeb7['BaseFieldType'][_0x326b79(0x4a6)])return _0x3aba1f&&_0x12c186?_0x4a0937(_0x3aba1f,_0x12c186,_0x270e20['id'])??[]:[];if(_0x1e01b5(_0x270e20))return _0x50ebb4(_0x1c0b02['v']);if((_0x270e20==null?void 0x0:_0x270e20[_0x326b79(0x3de)])===_0x3deeb7['BaseFieldType']['Link']&&_0x3aba1f&&_0x12c186){var _0x427a5d;let _0x25d1f7=(_0x427a5d=_0x3aba1f[_0x326b79(0x4ce)][_0x12c186])==null||(_0x427a5d=_0x427a5d[_0x326b79(0x261)])==null?void 0x0:_0x427a5d[_0x270e20['id']];if(_0x25d1f7&&typeof _0x25d1f7==_0x326b79(0x30b)&&!Array[_0x326b79(0x2a0)](_0x25d1f7))return _0x25d1f7;}return Object['prototype'][_0x326b79(0x327)][_0x326b79(0x241)](_0x1c0b02,'v')?_0x1c0b02['v']??null:null;}function _0x358f56(_0x148170,_0x4e4646,_0x28a2ee,_0x559e1b,_0x62d4af){const _0x140689=_0x4e5412;return(_0x28a2ee==null?void 0x0:_0x28a2ee[_0x140689(0x3de)])===_0x3deeb7[_0x140689(0x16c)][_0x140689(0x4a6)]?_0x3624b9(_0x148170):_0x22e5e0(_0x28a2ee)?_0x3c7e09(_0x148170):_0x1e01b5(_0x28a2ee)?_0x50ebb4(_0x148170):(_0x28a2ee==null?void 0x0:_0x28a2ee[_0x140689(0x3de)])===_0x3deeb7['BaseFieldType'][_0x140689(0x409)]&&(_0x148170==null||_0x148170==='')?null:(_0x28a2ee==null?void 0x0:_0x28a2ee[_0x140689(0x3de)])===_0x3deeb7[_0x140689(0x16c)][_0x140689(0x409)]&&_0x148170&&typeof _0x148170=='object'&&!Array['isArray'](_0x148170)&&!_0x40d9ed(_0x148170)?_0x148170:_0xc7acb9(_0x4e4646,_0x28a2ee,_0x559e1b,_0x62d4af);}function _0x40d9ed(_0x5e92b8){const _0x8e391e=_0x4e5412;return!!_0x5e92b8&&typeof _0x5e92b8=='object'&&(Object[_0x8e391e(0x4d3)][_0x8e391e(0x327)][_0x8e391e(0x241)](_0x5e92b8,'v')||Object[_0x8e391e(0x4d3)]['hasOwnProperty'][_0x8e391e(0x241)](_0x5e92b8,'t')||Object[_0x8e391e(0x4d3)][_0x8e391e(0x327)][_0x8e391e(0x241)](_0x5e92b8,'p')||Object[_0x8e391e(0x4d3)][_0x8e391e(0x327)][_0x8e391e(0x241)](_0x5e92b8,'f')||Object[_0x8e391e(0x4d3)][_0x8e391e(0x327)][_0x8e391e(0x241)](_0x5e92b8,'si'));}function _0x4c802c(_0x45de2d,_0x29a10f){return _0x45de2d+'\x1f'+_0x29a10f;}function _0x3a5700(_0x47c57d,_0x5b8a4c,_0x4d2fe7,_0x161924){const _0x1ddad9=_0x4e5412;let _0x103997=_0x3624b9(_0x161924);_0x47c57d[_0x1ddad9(0x26c)]={..._0x47c57d[_0x1ddad9(0x26c)]??{}},_0x47c57d['resources'][_0x1ddad9(0x295)]={..._0x47c57d['resources'][_0x1ddad9(0x295)]??{}},_0x47c57d[_0x1ddad9(0x26c)][_0x1ddad9(0x2f0)]={..._0x47c57d[_0x1ddad9(0x26c)]['attachments']??{}};let _0x10e312=_0x4c802c(_0x4d2fe7,_0x5b8a4c),_0x53ca12=[];for(let _0x22d8c7=0x0;_0x22d8c7<_0x103997[_0x1ddad9(0x4b3)];_0x22d8c7++){if(!(_0x22d8c7 in _0x103997))continue;let _0x2c08bb=_0x103997[_0x22d8c7],_0x2f315c=String(_0x2c08bb['id']??_0x10e312+'\x1f'+_0x22d8c7),_0x12484b={..._0x2c08bb,'id':_0x2f315c};_0x47c57d[_0x1ddad9(0x26c)][_0x1ddad9(0x2f0)][_0x2f315c]=_0x12484b,_0x53ca12[_0x1ddad9(0x296)](_0x2f315c);}_0x47c57d['resources'][_0x1ddad9(0x295)][_0x10e312]=_0x53ca12;}function _0x4a0937(_0x32e2b2,_0xf2c14a,_0x403e44){const _0x255645=_0x4e5412;var _0x1a7dd8;let _0x330502=_0x4c802c(_0x403e44,_0xf2c14a),_0x19e13e=(_0x1a7dd8=_0x32e2b2[_0x255645(0x26c)])==null||(_0x1a7dd8=_0x1a7dd8[_0x255645(0x295)])==null?void 0x0:_0x1a7dd8[_0x330502];if(!_0x19e13e)return null;let _0x605da5=[];for(let _0x1da635=0x0;_0x1da635<_0x19e13e['length'];_0x1da635++){var _0x17c426;if(!(_0x1da635 in _0x19e13e))continue;let _0x51e3ff=(_0x17c426=_0x32e2b2[_0x255645(0x26c)])==null||(_0x17c426=_0x17c426['attachments'])==null?void 0x0:_0x17c426[_0x19e13e[_0x1da635]];_0x51e3ff&&_0x605da5[_0x255645(0x296)]({..._0x51e3ff});}return _0x605da5;}function _0x3624b9(_0x4ca14b){const _0x10e4b8=_0x4e5412;if(_0x4ca14b==null||_0x4ca14b===''||_0x40d9ed(_0x4ca14b)&&!('id'in _0x4ca14b)&&!('name'in _0x4ca14b))return[];let _0x413738=Array[_0x10e4b8(0x2a0)](_0x4ca14b)?_0x4ca14b:[_0x4ca14b],_0x398c5e=[];for(let _0x413e8e=0x0;_0x413e8e<_0x413738['length'];_0x413e8e++){if(!(_0x413e8e in _0x413738))continue;let _0x3f12a5=_0x413738[_0x413e8e],_0x23e0bf=_0x3f12a5&&typeof _0x3f12a5==_0x10e4b8(0x30b)?{..._0x3f12a5}:{'id':_0x10e4b8(0x37a)+_0x413e8e,'name':String(_0x3f12a5)};Object[_0x10e4b8(0x2e5)](_0x23e0bf)[_0x10e4b8(0x4b3)]>0x0&&_0x398c5e[_0x10e4b8(0x296)](_0x23e0bf);}return _0x398c5e;}function _0x4d3d61(_0x257457,_0x58a49f){const _0x440e0b=_0x4e5412;return(_0x58a49f==null?void 0x0:_0x58a49f[_0x440e0b(0x3de)])===_0x3deeb7[_0x440e0b(0x16c)][_0x440e0b(0x4a6)]?_0x3624b9(_0x257457):_0x22e5e0(_0x58a49f)?_0x3c7e09(_0x257457):_0x1e01b5(_0x58a49f)?_0x50ebb4(_0x257457):_0x257457;}function _0xaa1624(_0x15461e,_0x3e8a23,_0x5d7644){const _0x3a96cf=_0x4e5412;return(_0x3e8a23==null?void 0x0:_0x3e8a23['type'])===_0x3deeb7[_0x3a96cf(0x16c)][_0x3a96cf(0x4a6)]?_0x15461e['v']!=='':_0x22e5e0(_0x3e8a23)?_0x15461e['v']!==_0x3c7e09(_0x5d7644):_0x1e01b5(_0x3e8a23)?Array[_0x3a96cf(0x2a0)](_0x5d7644)&&(_0x15461e['v']==null||_0x15461e['v']===''):!0x1;}function _0x1e01b5(_0x27857f){const _0x38b3af=_0x4e5412;return(_0x27857f==null?void 0x0:_0x27857f['type'])===_0x3deeb7[_0x38b3af(0x16c)][_0x38b3af(0x1ca)]||(_0x27857f==null?void 0x0:_0x27857f[_0x38b3af(0x3de)])===_0x3deeb7['BaseFieldType'][_0x38b3af(0x4cd)]||(_0x27857f==null?void 0x0:_0x27857f[_0x38b3af(0x3de)])===_0x3deeb7['BaseFieldType'][_0x38b3af(0x122)]&&_0x27857f[_0x38b3af(0x505)][_0x38b3af(0x2aa)]===!0x0;}function _0x22e5e0(_0x586329){const _0x622a8a=_0x4e5412;return(_0x586329==null?void 0x0:_0x586329['type'])===_0x3deeb7[_0x622a8a(0x16c)][_0x622a8a(0x122)]&&_0x586329[_0x622a8a(0x505)][_0x622a8a(0x2aa)]!==!0x0;}function _0x3c7e09(_0x46c8af){const _0x535f8a=_0x4e5412;let _0x5add8a=_0x40d9ed(_0x46c8af)?_0x46c8af['v']:_0x46c8af,_0x38bc78=Array[_0x535f8a(0x2a0)](_0x5add8a)?_0x5add8a[0x0]:_0x5add8a;return _0x38bc78==null||_0x38bc78===''?null:String(_0x38bc78);}function _0x50ebb4(_0x314b6b){const _0x16592c=_0x4e5412;if(_0x314b6b==null||_0x314b6b==='')return[];let _0x9fd0ae=[];if(Array['isArray'](_0x314b6b)){for(let _0x42e569=0x0;_0x42e569<_0x314b6b[_0x16592c(0x4b3)];_0x42e569++){if(!(_0x42e569 in _0x314b6b))continue;let _0x348362=_0x552ffc(_0x314b6b[_0x42e569]);_0x348362&&_0x9fd0ae[_0x16592c(0x296)](_0x348362);}return _0x9fd0ae;}for(let _0x3006d0 of String(_0x314b6b)[_0x16592c(0x27e)](',')){let _0x79deee=_0x3006d0[_0x16592c(0x2de)]();_0x79deee&&_0x9fd0ae[_0x16592c(0x296)](_0x79deee);}return _0x9fd0ae;}function _0x552ffc(_0x3f8c84){const _0x146321=_0x4e5412;if(_0x3f8c84==null)return'';if(typeof _0x3f8c84==_0x146321(0x3d4)||typeof _0x3f8c84==_0x146321(0x38e)||typeof _0x3f8c84==_0x146321(0x490))return String(_0x3f8c84);if(typeof _0x3f8c84=='object'){let _0x5e1ee8=_0x3f8c84;return String(_0x5e1ee8['id']??_0x5e1ee8[_0x146321(0x1cd)]??_0x5e1ee8[_0x146321(0x40a)]??'');}return String(_0x3f8c84);}function _0x489809(_0x465cd9){const _0x480ec1=_0x4e5412;return _0x465cd9==null?null:typeof _0x465cd9==_0x480ec1(0x38e)?_0x3deeb7[_0x480ec1(0x2e4)][_0x480ec1(0x2ea)]:typeof _0x465cd9==_0x480ec1(0x490)?_0x3deeb7[_0x480ec1(0x2e4)][_0x480ec1(0x174)]:_0x3deeb7[_0x480ec1(0x2e4)][_0x480ec1(0x1a4)];}function _0x1437f3(_0x14c1f1){const _0x42dc64=_0x4e5412;_0x14c1f1[_0x42dc64(0x54f)]((_0x40a181,_0x3802e3)=>_0x40a181[_0x42dc64(0x3a9)][_0x42dc64(0x14d)](_0x3802e3['orderKey']));let _0x22d285=[];for(let _0x149aff of _0x14c1f1)_0x22d285[_0x42dc64(0x296)](_0x149aff['id']);return _0x22d285;}function _0x2aee96(_0x42a76a,_0x46dbb9){const _0x1e0c9c=_0x4e5412;return _0x42a76a===_0x3deeb7[_0x1e0c9c(0x2e4)]['STRING']||_0x42a76a===_0x3deeb7['CellValueType'][_0x1e0c9c(0x2ea)]||_0x42a76a===_0x3deeb7['CellValueType']['BOOLEAN']||_0x42a76a===_0x3deeb7[_0x1e0c9c(0x2e4)][_0x1e0c9c(0x1af)]||_0x42a76a==null?_0x42a76a:_0x489809(_0x46dbb9??null);}function _0x517f41(_0x5eb3a2){const _0x320b52=_0x4e5412;let _0x1ac03c=null;for(let _0x4d36a1 of _0x5eb3a2)_0x1ac03c=_0x1ac03c===null?_0x4d36a1:_0x3deeb7[_0x320b52(0x248)][_0x320b52(0x3de)]['compose'](_0x1ac03c,_0x4d36a1);return _0x1ac03c;}var _0x162342=class _0x2d2ae3{static['tryMaterializeSnapshot'](_0x6c954a,_0x936862){const _0x4987e1=_0x4e5412;let _0x3d1348=[];for(let _0x14fcc7 of _0x936862){let _0x2419f6=_0x38fbfc(_0x14fcc7);if(!_0x2419f6||_0x2419f6['unitId']!==_0x6c954a['id'])return null;_0x3d1348[_0x4987e1(0x296)](_0x2419f6['op']);}try{let _0x146b7d=_0x517f41(_0x3d1348);return _0x146b7d===null?_0x6c954a:new _0x2d2ae3()[_0x4987e1(0x16f)](_0x6c954a,_0x146b7d);}catch{return null;}}[_0x4e5412(0x16f)](_0x5721b6,_0xd91333){const _0x5793b1=_0x4e5412;let _0x3f0ccd=this['getAffectedRanges'](_0xd91333),_0x26d74c=_0x2eb728(_0x5793b1(0x2f4),()=>_0x1c0802(_0x5721b6,_0xd91333),{'invalidations':_0x3f0ccd[_0x5793b1(0x4b3)]}),_0x5d94a5=_0x2eb728(_0x5793b1(0x489),()=>_0x3deeb7[_0x5793b1(0x248)][_0x5793b1(0x3de)][_0x5793b1(0x423)](_0x26d74c,_0xd91333),{'invalidations':_0x3f0ccd[_0x5793b1(0x4b3)]}),_0x19c40f=_0xde0903(_0x5d94a5,_0x3f0ccd);return _0x2eb728('BaseJson1.syncCellInvalidations',()=>_0x74af5f(_0x5d94a5,_0x3f0ccd),{'invalidations':_0x3f0ccd['length']})?(_0x49635c(_0x5d94a5,_0x19c40f),_0x5d94a5):(_0x2eb728(_0x5793b1(0x326),()=>{const _0x4cff4b=_0x5793b1;this[_0x4cff4b(0x183)](_0x5d94a5,_0x3f0ccd)[_0x4cff4b(0x349)](_0x4d2222=>{const _0x582e12=_0x4cff4b;let _0x35415a=_0x3f0ccd['filter'](_0x21c69f=>_0x21c69f[_0x582e12(0x4fe)]===_0x4d2222['id']),_0xa465d1=_0x35415a['length']>0x0&&_0x35415a[_0x582e12(0x41c)](_0x2f16f7=>_0x2f16f7[_0x582e12(0x4df)]==='field'||_0x2f16f7[_0x582e12(0x4df)]===_0x582e12(0x142)||_0x2f16f7['reason']==='cell'||_0x2f16f7[_0x582e12(0x4df)]===_0x582e12(0x4a2))?new Set(_0x35415a[_0x582e12(0x27f)](_0x5f2c95=>{const _0xd82d41=_0x582e12;var _0x1f7f87;if(_0x5f2c95['reason']!==_0xd82d41(0x283)||!_0x5f2c95[_0xd82d41(0x3d9)])return[];let _0x147f5b=(_0x1f7f87=_0x5721b6[_0xd82d41(0x52f)][_0x4d2222['id']])==null?void 0x0:_0x1f7f87[_0xd82d41(0x135)][_0x5f2c95[_0xd82d41(0x3d9)]],_0xe6e76a=_0x4d2222[_0xd82d41(0x135)][_0x5f2c95['fieldId']];return(_0x147f5b==null?void 0x0:_0x147f5b[_0xd82d41(0x3de)])!==(_0xe6e76a==null?void 0x0:_0xe6e76a[_0xd82d41(0x3de)])||(_0x147f5b==null?void 0x0:_0x147f5b['config']['allowMultiple'])!==(_0xe6e76a==null?void 0x0:_0xe6e76a[_0xd82d41(0x505)][_0xd82d41(0x2aa)])?[_0x5f2c95['fieldId']]:[];})):void 0x0,_0x2b8248=new Set(_0x35415a[_0x582e12(0x27f)](_0x445eaf=>{const _0x70725b=_0x582e12;var _0x2c4bef,_0x2bcda4;return _0x445eaf['reason']!=='cell'||_0x445eaf[_0x70725b(0x307)]==null||_0x445eaf[_0x70725b(0x2db)]==null?[]:[JSON['stringify']([(_0x2c4bef=_0x4d2222['rowId'])==null?void 0x0:_0x2c4bef[_0x445eaf[_0x70725b(0x307)]],(_0x2bcda4=_0x4d2222[_0x70725b(0x2b4)])==null?void 0x0:_0x2bcda4[_0x445eaf[_0x70725b(0x2db)]]])];}));_0xac78c2(_0x4d2222,_0xa465d1?(_0x12bd97,_0x5dd131)=>_0xa465d1['has'](_0x5dd131)||_0x2b8248['has'](JSON[_0x582e12(0x17c)]([_0x12bd97,_0x5dd131])):void 0x0);});},{'invalidations':_0x3f0ccd[_0x5793b1(0x4b3)]}),_0x49635c(_0x5d94a5,_0x19c40f),_0x5d94a5);}[_0x4e5412(0x2c2)](_0x3270c8,_0x1388c2){const _0x1e28d1=_0x4e5412;return _0x3deeb7['JSON1'][_0x1e28d1(0x3de)][_0x1e28d1(0x53d)](_0x1388c2,_0x3270c8);}[_0x4e5412(0x270)](_0x5b72ba){const _0x53aa86=_0x4e5412;let _0x158f0b=_0xcf5c20(_0x5b72ba);return _0x158f0b[_0x53aa86(0x4b3)]?_0x2df66a(_0x158f0b['flatMap'](_0x662ed0=>this['getAffectedRanges'](_0x662ed0))):_0x4eb046(_0x5b72ba);}[_0x4e5412(0x183)](_0x1a0f60,_0x3656af){const _0x1152d7=_0x4e5412;let _0x267d3c=_0x3656af['filter'](_0x3f1456=>_0x3f1456[_0x1152d7(0x4df)]!==_0x1152d7(0x142));return _0x267d3c['length']?_0x267d3c[_0x1152d7(0x3a8)](_0x202bcc=>!_0x202bcc[_0x1152d7(0x4fe)])?Object['values'](_0x1a0f60[_0x1152d7(0x52f)]??{}):Array['from'](new Set(_0x267d3c[_0x1152d7(0x1fd)](_0x238af5=>_0x238af5[_0x1152d7(0x4fe)])))[_0x1152d7(0x27f)](_0x562bd1=>{var _0x35b3ed;let _0x5e837d=(_0x35b3ed=_0x1a0f60['tables'])==null?void 0x0:_0x35b3ed[_0x562bd1];return _0x5e837d?[_0x5e837d]:[];}):[];}};function _0x38fbfc(_0x5b4acc){const _0x30d9e1=_0x4e5412;let _0x5d6f79=_0x5b4acc[_0x30d9e1(0x348)];return _0x5b4acc['id']!==_0x30d9e1(0x2cb)||typeof _0x5d6f79!=_0x30d9e1(0x30b)||!_0x5d6f79||!(_0x30d9e1(0x129)in _0x5d6f79)||typeof _0x5d6f79[_0x30d9e1(0x129)]!=_0x30d9e1(0x3d4)||!('op'in _0x5d6f79)||!Array[_0x30d9e1(0x2a0)](_0x5d6f79['op'])?null:{'unitId':_0x5d6f79[_0x30d9e1(0x129)],'op':_0x5d6f79['op']};}function _0x74af5f(_0xd56352,_0x28372f){const _0x47968c=_0x4e5412;if(!_0x28372f['length']||_0x28372f[_0x47968c(0x3a8)](_0x4f75c6=>_0x4f75c6['reason']!=='cell'))return!0x1;let _0x48860d=new Map();for(let _0x467647 of _0x28372f){if(!_0x467647[_0x47968c(0x4fe)]||_0x467647[_0x47968c(0x307)]==null||_0x467647[_0x47968c(0x2db)]==null)continue;let _0x3f997e=_0x48860d[_0x47968c(0x3c1)](_0x467647['tableId'])??[];_0x3f997e[_0x47968c(0x296)]({'row':_0x467647[_0x47968c(0x307)],'col':_0x467647[_0x47968c(0x2db)]}),_0x48860d['set'](_0x467647['tableId'],_0x3f997e);}return _0x48860d[_0x47968c(0x349)]((_0x4ea0f5,_0x54cd38)=>{const _0x2027f6=_0x47968c;var _0x490ab4;let _0x4b8e54=(_0x490ab4=_0xd56352[_0x2027f6(0x52f)])==null?void 0x0:_0x490ab4[_0x54cd38];_0x4b8e54&&_0x4204db(_0x4b8e54,_0x4ea0f5);}),!0x0;}function _0xde0903(_0x51cb77,_0x294107){const _0xa8ba22=_0x4e5412;let _0x32d09a=new Set();return _0x294107[_0xa8ba22(0x27f)](_0x53c06e=>{const _0x3f4c65=_0xa8ba22;var _0x5c1e32;if(!_0x53c06e['tableId']||!_0x53c06e[_0x3f4c65(0x3b0)]||!_0x53c06e[_0x3f4c65(0x3d9)])return[];let _0x5ecc22=_0x53c06e[_0x3f4c65(0x4fe)]+'\x1f'+_0x53c06e[_0x3f4c65(0x3b0)]+'\x1f'+_0x53c06e[_0x3f4c65(0x3d9)];if(_0x32d09a['has'](_0x5ecc22))return[];_0x32d09a['add'](_0x5ecc22);let _0x4ee835=(_0x5c1e32=_0x51cb77[_0x3f4c65(0x52f)][_0x53c06e[_0x3f4c65(0x4fe)]])==null||(_0x5c1e32=_0x5c1e32[_0x3f4c65(0x4ce)][_0x53c06e[_0x3f4c65(0x3b0)]])==null?void 0x0:_0x5c1e32[_0x3f4c65(0x261)];return _0x4ee835?[{'tableId':_0x53c06e[_0x3f4c65(0x4fe)],'recordId':_0x53c06e[_0x3f4c65(0x3b0)],'fieldId':_0x53c06e[_0x3f4c65(0x3d9)],'exists':Object[_0x3f4c65(0x4d3)][_0x3f4c65(0x327)][_0x3f4c65(0x241)](_0x4ee835,_0x53c06e[_0x3f4c65(0x3d9)]),'value':_0x4ee835[_0x53c06e[_0x3f4c65(0x3d9)]]}]:[];});}function _0x49635c(_0x29f93a,_0x5570a7){const _0x592d78=_0x4e5412;_0x5570a7[_0x592d78(0x349)](_0xef1064=>{const _0x3de84a=_0x592d78;var _0xad5b19;let _0x33e955=(_0xad5b19=_0x29f93a[_0x3de84a(0x52f)][_0xef1064['tableId']])==null||(_0xad5b19=_0xad5b19[_0x3de84a(0x4ce)][_0xef1064[_0x3de84a(0x3b0)]])==null?void 0x0:_0xad5b19[_0x3de84a(0x261)];_0x33e955&&(_0xef1064['exists']?_0x33e955[_0xef1064[_0x3de84a(0x3d9)]]=_0xef1064[_0x3de84a(0x425)]:delete _0x33e955[_0xef1064[_0x3de84a(0x3d9)]]);});}function _0x4eb046(_0x39b302){const _0x1eceed=_0x4e5412;if(!Array[_0x1eceed(0x2a0)](_0x39b302)||_0x39b302[_0x1eceed(0x4b3)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x59ebab=_0x39b302,_0x12453f=_0x59ebab[_0x1eceed(0x41d)]('tables');return _0x12453f===-0x1||typeof _0x59ebab[_0x12453f+0x1]!=_0x1eceed(0x3d4)?_0x59ebab[0x0]===_0x1eceed(0x2e9)?[]:[{'tableId':'','reason':_0x1eceed(0x1b0)}]:_0xa59c2c(_0x59ebab,_0x12453f,String(_0x59ebab[_0x12453f+0x1]));}function _0xa59c2c(_0xc1ab6a,_0x3f70cb,_0x5ed590){const _0x242d1d=_0x4e5412;let _0x1ef400=_0xc1ab6a[_0x3f70cb+0x2];return _0x1ef400===_0x242d1d(0x4ce)&&typeof _0xc1ab6a[_0x3f70cb+0x3]==_0x242d1d(0x3d4)?_0x2ff6ed(_0xc1ab6a,_0x3f70cb,_0x5ed590,String(_0xc1ab6a[_0x3f70cb+0x3])):_0x1ef400===_0x242d1d(0x2c7)&&_0xc1ab6a[_0x3f70cb+0x3]!=null&&_0xc1ab6a[_0x3f70cb+0x4]!=null?[{'tableId':_0x5ed590,'reason':_0x242d1d(0x234),'row':Number(_0xc1ab6a[_0x3f70cb+0x3]),'column':Number(_0xc1ab6a[_0x3f70cb+0x4])}]:_0x1ef400==='fields'&&typeof _0xc1ab6a[_0x3f70cb+0x3]=='string'?[{'tableId':_0x5ed590,'reason':_0x242d1d(0x283),'fieldId':String(_0xc1ab6a[_0x3f70cb+0x3])}]:_0x1ef400===_0x242d1d(0x324)?[{'tableId':_0x5ed590,'reason':_0x242d1d(0x283)}]:_0x1ef400===_0x242d1d(0x402)?[{'tableId':_0x5ed590,'reason':'record'}]:_0x1ef400===_0x242d1d(0x3d0)&&typeof _0xc1ab6a[_0x3f70cb+0x3]=='string'?[{'tableId':_0x5ed590,'reason':_0x242d1d(0x142),'viewId':String(_0xc1ab6a[_0x3f70cb+0x3])}]:_0x1ef400===_0x242d1d(0x3a1)?[{'tableId':_0x5ed590,'reason':'view'}]:_0x1ef400===_0x242d1d(0x26c)?[{'tableId':_0x5ed590,'reason':'cell'}]:[{'tableId':_0x5ed590,'reason':_0x1ef400===void 0x0?'table':_0x242d1d(0x1b0)}];}function _0x2ff6ed(_0x2c0389,_0x197e79,_0x59ad39,_0x46a9c4){const _0x364eba=_0x4e5412;return _0x2c0389[_0x197e79+0x4]===_0x364eba(0x261)&&typeof _0x2c0389[_0x197e79+0x5]==_0x364eba(0x3d4)?[{'tableId':_0x59ad39,'reason':_0x364eba(0x234),'recordId':_0x46a9c4,'fieldId':String(_0x2c0389[_0x197e79+0x5])}]:_0x2c0389[_0x197e79+0x4]===_0x364eba(0x52b)||_0x2c0389[_0x197e79+0x4]===_0x364eba(0x26a)?[]:[{'tableId':_0x59ad39,'reason':'record','recordId':_0x46a9c4}];}function _0xcf5c20(_0x1e5f3f){const _0x457624=_0x4e5412;if(!Array['isArray'](_0x1e5f3f))return[];let _0x2fb19f=_0x1e5f3f['filter'](Array[_0x457624(0x2a0)]);if(_0x2fb19f['length']>0x1&&_0x2fb19f['length']===_0x1e5f3f[_0x457624(0x4b3)])return _0x2fb19f;let _0x576028=_0x1e5f3f[_0x457624(0x49c)](Array[_0x457624(0x2a0)]);if(_0x576028>0x0&&_0x1e5f3f['slice'](_0x576028)['every'](Array[_0x457624(0x2a0)])){let _0x9d9836=_0x1e5f3f[_0x457624(0x539)](0x0,_0x576028);return _0x1e5f3f[_0x457624(0x539)](_0x576028)[_0x457624(0x1fd)](_0x185467=>[..._0x9d9836,..._0x185467]);}let _0x7e30c8=_0x1e5f3f[_0x457624(0x41d)](_0x457624(0x52f));if(_0x7e30c8===-0x1||typeof _0x1e5f3f[_0x7e30c8+0x1]!=_0x457624(0x3d4))return[];let _0x1d6bd1=String(_0x1e5f3f[_0x7e30c8+0x1]),_0x37e29a=_0x1e5f3f[_0x457624(0x539)](_0x7e30c8+0x2)[_0x457624(0x30d)](Array[_0x457624(0x2a0)]);return _0x37e29a[_0x457624(0x4b3)]<=0x1?[]:_0x37e29a[_0x457624(0x1fd)](_0xa7ae9d=>[_0x457624(0x52f),_0x1d6bd1,..._0xa7ae9d]);}function _0x2df66a(_0x224de8){let _0x8fec02=new Set();return _0x224de8['filter'](_0x28570b=>{const _0x2e963e=_0x2d78;let _0x329ae2=JSON[_0x2e963e(0x17c)](_0x28570b);return!_0x8fec02[_0x2e963e(0x10f)](_0x329ae2)&&(_0x8fec02['add'](_0x329ae2),!0x0);});}function _0x4d09ec(_0x154d20){const _0x566c5d=_0x4e5412;return _0x3deeb7[_0x566c5d(0x23a)][_0x566c5d(0x534)](_0x154d20);}function _0x1c0802(_0x58685c,_0x1b92aa){const _0x43c247=_0x4e5412;let _0x1ff5bd=_0x442b06(_0x1b92aa);if(!_0x1ff5bd[_0x43c247(0x4b3)])return _0x4d09ec(_0x58685c);let _0x4d40f1=_0x51d109(_0x58685c),_0x2daca5=new Set();for(let _0x1d5c96 of _0x1ff5bd)_0x2b9c83(_0x4d40f1,_0x1d5c96,_0x2daca5);return _0x4d40f1;}function _0x442b06(_0x25b4fd){let _0xf72df3=[];return _0x2a9ff6(_0x25b4fd,[],_0xf72df3),_0xf72df3;}function _0x2a9ff6(_0x1779aa,_0x42d008,_0x4e8a8a){const _0xc85736=_0x4e5412;if(!Array[_0xc85736(0x2a0)](_0x1779aa))return;let _0x5b8285=[];for(let _0x5b4ff0 of _0x1779aa){if(Array[_0xc85736(0x2a0)](_0x5b4ff0)){_0x2a9ff6(_0x5b4ff0,[..._0x42d008,..._0x5b8285],_0x4e8a8a);continue;}if(_0x410b84(_0x5b4ff0)){_0x4e8a8a[_0xc85736(0x296)]([..._0x42d008,..._0x5b8285]);continue;}(typeof _0x5b4ff0==_0xc85736(0x3d4)||typeof _0x5b4ff0==_0xc85736(0x38e))&&_0x5b8285[_0xc85736(0x296)](_0x5b4ff0);}}function _0x410b84(_0x560249){const _0x21c43d=_0x4e5412;if(!_0x560249||typeof _0x560249!=_0x21c43d(0x30b)||Array[_0x21c43d(0x2a0)](_0x560249))return!0x1;let _0x477e36=_0x560249;return'i'in _0x477e36||'r'in _0x477e36||'p'in _0x477e36||'d'in _0x477e36||'es'in _0x477e36||'ena'in _0x477e36||'et'in _0x477e36;}function _0x2b9c83(_0x2393a9,_0x5901b0,_0x5defb0){const _0xb97f86=_0x4e5412;let _0x3e153e=_0x2393a9,_0x1faed8=[];for(let _0x421212=0x0;_0x421212<_0x5901b0[_0xb97f86(0x4b3)]-0x1;_0x421212++){let _0x14a312=_0x5901b0[_0x421212];_0x1faed8[_0xb97f86(0x296)](_0x14a312);let _0x1f5013=_0x3b4db6(_0x3e153e,_0x14a312);if(!_0x48eef4(_0x1f5013))return;let _0x195381=JSON[_0xb97f86(0x17c)](_0x1faed8);_0x5defb0['has'](_0x195381)||(_0x46095a(_0x3e153e,_0x14a312,_0x51d109(_0x1f5013)),_0x5defb0[_0xb97f86(0x2af)](_0x195381));let _0x5e0dbe=_0x3b4db6(_0x3e153e,_0x14a312);if(!_0x48eef4(_0x5e0dbe))return;_0x3e153e=_0x5e0dbe;}}function _0x3b4db6(_0x2eaae3,_0x241239){const _0xbdc9c8=_0x4e5412;return Array[_0xbdc9c8(0x2a0)](_0x2eaae3)?typeof _0x241239=='number'?_0x2eaae3[_0x241239]:void 0x0:Reflect[_0xbdc9c8(0x3c1)](_0x2eaae3,_0x241239);}function _0x46095a(_0x3a8de8,_0x248df4,_0x8d9430){const _0xfb00b7=_0x4e5412;if(Array[_0xfb00b7(0x2a0)](_0x3a8de8)){typeof _0x248df4==_0xfb00b7(0x38e)&&(_0x3a8de8[_0x248df4]=_0x8d9430);return;}Reflect['set'](_0x3a8de8,_0x248df4,_0x8d9430);}function _0x48eef4(_0x24e2f3){const _0x4e5b22=_0x4e5412;return!!_0x24e2f3&&typeof _0x24e2f3==_0x4e5b22(0x30b);}function _0x51d109(_0x56e874){const _0x36b23a=_0x4e5412;return Array[_0x36b23a(0x2a0)](_0x56e874)?_0x56e874[_0x36b23a(0x539)]():{..._0x56e874};}let _0x157451=_0x4e5412(0x53a),_0x536bf3=/\s+hh:mm\s*$/i,_0xc70db3={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':_0x4e5412(0x285),'mm-dd':_0x4e5412(0x11b),'mm/dd/yyyy':_0x4e5412(0x19d),'dd/mm/yyyy':_0x4e5412(0x2ad),'mmm\x20d,\x20yyyy':_0x4e5412(0x431)};function _0x32f655(_0x49e7c5,_0x15da00=_0x3deeb7['DateSystem'][_0x4e5412(0x38d)]){const _0x3e28dc=_0x4e5412;let _0x311141=(0x0,_0x3deeb7['dateKit'])(_0x49e7c5)[_0x3e28dc(0x526)]();return(0x0,_0x3deeb7['excelDateTimeSerial'])(new Date(_0x311141),_0x15da00);}function _0x240729(_0x2bffac,_0x44dd66=_0x3deeb7[_0x4e5412(0x245)]['Date1900']){const _0x50eef4=_0x4e5412;return(0x0,_0x3deeb7[_0x50eef4(0x44d)])(_0x2bffac,_0x44dd66)[_0x50eef4(0x226)]();}function _0x9bb2e1(_0x43e229,_0x5bb2c8=_0x3deeb7[_0x4e5412(0x245)][_0x4e5412(0x38d)]){const _0x79d703=_0x4e5412;if(_0x43e229==null||_0x43e229==='')return null;if(_0x43e229 instanceof Date)return _0x32f655(_0x43e229,_0x5bb2c8);if(typeof _0x43e229==_0x79d703(0x38e))return Number[_0x79d703(0x2d6)](_0x43e229)?_0x43e229>0xf4240?_0x32f655(_0x43e229,_0x5bb2c8):_0x43e229:null;let _0x332485=Date[_0x79d703(0x1b7)](String(_0x43e229));return Number[_0x79d703(0x32f)](_0x332485)?null:_0x32f655(_0x332485,_0x5bb2c8);}function _0x4ef46c(_0x39f5e8,_0x32199c=_0x3deeb7[_0x4e5412(0x245)]['Date1900']){let _0xbf42ae=_0x9bb2e1(_0x39f5e8,_0x32199c);return _0xbf42ae==null?null:_0x240729(_0xbf42ae,_0x32199c);}function _0xab969a(_0x69078={}){const _0x531091=_0x4e5412;let _0x398396=String(_0x69078[_0x531091(0x2dc)]??_0x69078[_0x531091(0x396)]??_0x69078[_0x531091(0x119)]??_0x157451)['trim']()||_0x157451,_0x51ec84=_0x536bf3[_0x531091(0x373)](_0x398396);return{'pattern':_0x398396[_0x531091(0x362)](_0x536bf3,'')||_0x157451,'includeTime':typeof _0x69078[_0x531091(0x2ec)]=='boolean'?_0x69078['includeTime']:_0x51ec84,'hourCycle':_0x69078[_0x531091(0x228)]==='h12'?_0x531091(0x3fc):_0x531091(0x16b)};}function _0x30a3f4(_0x44b751={}){let {format:_0x17585a,dateFormat:_0x47b533,..._0x2142df}=_0x44b751;return{..._0x2142df,..._0xab969a(_0x44b751)};}function _0x4fdbb5(_0x4677ea,_0x10df73={}){const _0x544fda=_0x4e5412;let _0x432b2c=_0x4ef46c(_0x4677ea);if(_0x432b2c==null||!Number[_0x544fda(0x2d6)](_0x432b2c))return'';let _0x5060ec=_0xab969a(_0x10df73);return(0x0,_0x3deeb7[_0x544fda(0x274)])(_0x432b2c)['format'](_0x3eca75(_0x5060ec));}function _0x3eca75(_0x8e7360){const _0x192612=_0x4e5412;let {pattern:_0x16b9a2,includeTime:_0x5036cc,hourCycle:_0x1b2878}=_0x8e7360,_0x118d52=_0xc70db3[_0x16b9a2]??_0xc70db3[_0x157451];return _0x5036cc?_0x118d52+'\x20'+(_0x1b2878===_0x192612(0x3fc)?_0x192612(0x250):'HH:mm'):_0x118d52;}let _0x5ce00c={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x483319=new Set([_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x444)]]),_0x3fdda9=0x5265c00;function _0x49c54e(_0x139bff){const _0x9a5588=_0x4e5412;switch(_0x139bff){case _0x3deeb7['BaseFieldType'][_0x9a5588(0x312)]:case _0x3deeb7[_0x9a5588(0x16c)][_0x9a5588(0x322)]:case _0x3deeb7[_0x9a5588(0x16c)][_0x9a5588(0x169)]:case _0x3deeb7[_0x9a5588(0x16c)][_0x9a5588(0x49b)]:return[_0x3deeb7[_0x9a5588(0x2d0)]['IS'],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x3ed)],_0x3deeb7['BaseConditionalColorOperator'][_0x9a5588(0x17b)],_0x3deeb7['BaseConditionalColorOperator'][_0x9a5588(0x191)],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x418)],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x535)]];case _0x3deeb7[_0x9a5588(0x16c)][_0x9a5588(0x44b)]:case _0x3deeb7['BaseFieldType'][_0x9a5588(0x457)]:case _0x3deeb7[_0x9a5588(0x16c)][_0x9a5588(0x537)]:return[_0x3deeb7[_0x9a5588(0x2d0)]['IS'],_0x3deeb7['BaseConditionalColorOperator'][_0x9a5588(0x3ed)],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x306)],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x42a)],_0x3deeb7['BaseConditionalColorOperator']['IS_EMPTY'],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x535)]];case _0x3deeb7['BaseFieldType'][_0x9a5588(0x1db)]:return[_0x3deeb7[_0x9a5588(0x2d0)]['IS'],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x3ed)]];default:return[_0x3deeb7['BaseConditionalColorOperator']['IS'],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x3ed)],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x147)],_0x3deeb7['BaseConditionalColorOperator']['NOT_CONTAINS'],_0x3deeb7[_0x9a5588(0x2d0)][_0x9a5588(0x418)],_0x3deeb7['BaseConditionalColorOperator'][_0x9a5588(0x535)]];}}function _0xff60f(_0x5b46bf){const _0x2204f8=_0x4e5412;return _0x5b46bf===_0x3deeb7[_0x2204f8(0x16c)]['Date']||_0x5b46bf===_0x3deeb7[_0x2204f8(0x16c)]['CreatedAt']||_0x5b46bf===_0x3deeb7[_0x2204f8(0x16c)][_0x2204f8(0x537)];}function _0x129aa0(_0x2ed6f2,_0x483ea4){const _0x4ba0a9=_0x4e5412;return _0x2ed6f2==null&&_0x483ea4==null?0x0:_0x2ed6f2==null?-0x1:_0x483ea4==null?0x1:typeof _0x2ed6f2==_0x4ba0a9(0x38e)&&typeof _0x483ea4==_0x4ba0a9(0x38e)?_0x2ed6f2-_0x483ea4:String(_0x2ed6f2)['localeCompare'](String(_0x483ea4));}function _0x33b572(_0x54b034,_0xde9a08,_0x5418a4,_0x44b478,_0x2835b8={}){const _0x11577b=_0x4e5412;if(_0xde9a08===_0x11577b(0x1d2))return _0x33a8f6(_0x54b034);if(_0xde9a08===_0x11577b(0x225))return!_0x33a8f6(_0x54b034);switch(_0x44b478[_0x11577b(0x3de)]){case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x312)]:case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x322)]:case _0x3deeb7[_0x11577b(0x16c)]['Progress']:case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x49b)]:return _0x2d5292(_0x54b034,_0xde9a08,_0x5418a4);case _0x3deeb7['BaseFieldType'][_0x11577b(0x44b)]:case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x457)]:case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x537)]:return _0x1a9dec(_0x54b034,_0xde9a08,_0x5418a4,_0x2835b8);case _0x3deeb7['BaseFieldType'][_0x11577b(0x1db)]:return _0x276a3d(_0x54b034,_0xde9a08,_0x5418a4);case _0x3deeb7['BaseFieldType']['SingleSelect']:case _0x3deeb7[_0x11577b(0x16c)]['MultiSelect']:case _0x3deeb7['BaseFieldType'][_0x11577b(0x122)]:case _0x3deeb7[_0x11577b(0x16c)][_0x11577b(0x4cd)]:return _0x326743(_0x54b034,_0xde9a08,_0x5418a4,_0x44b478);default:return _0x5280ef(_0x54b034,_0xde9a08,_0x5418a4);}}function _0x33a8f6(_0x4dd2c1){const _0x4f9fac=_0x4e5412;return _0x4dd2c1==null?!0x0:Array['isArray'](_0x4dd2c1)?_0x4dd2c1[_0x4f9fac(0x4b3)]===0x0:typeof _0x4dd2c1==_0x4f9fac(0x3d4)&&_0x4dd2c1[_0x4f9fac(0x2de)]()==='';}function _0x2d5292(_0x3b7221,_0x461e93,_0x72f0b9){const _0xcdbcf8=_0x4e5412;let _0x44211c=_0x46e830(_0x3b7221),_0x5aab62=_0x46e830(_0x72f0b9);if(_0x44211c==null||_0x5aab62==null)return!0x1;switch(_0x461e93){case'is':return _0x44211c===_0x5aab62;case _0xcdbcf8(0x305):return _0x44211c!==_0x5aab62;case'greaterThan':return _0x44211c>_0x5aab62;case'greaterThanOrEqual':return _0x44211c>=_0x5aab62;case _0xcdbcf8(0x2fc):return _0x44211c<_0x5aab62;case _0xcdbcf8(0x40f):return _0x44211c<=_0x5aab62;default:return!0x1;}}function _0x46e830(_0x99c7d2){const _0x3b2bbb=_0x4e5412;if(_0x99c7d2==null||_0x99c7d2==='')return null;let _0x45290d=Number(_0x99c7d2);return Number[_0x3b2bbb(0x2d6)](_0x45290d)?_0x45290d:null;}function _0x1a9dec(_0x20bf4c,_0x2bab22,_0x1dc50e,_0x4d6520){const _0x2aa1ba=_0x4e5412;let _0x72202e=_0x2700a7(_0x20bf4c);if(_0x72202e==null)return!0x1;let _0x470d18=_0xfa1cbd(_0x4d6520[_0x2aa1ba(0x29e)]??_0x2aa1ba(0x502),_0x1dc50e,_0x4d6520[_0x2aa1ba(0x3c4)]);if(!_0x470d18)return!0x1;switch(_0x2bab22){case'is':return _0x72202e>=_0x470d18[_0x2aa1ba(0x275)]&&_0x72202e<=_0x470d18[_0x2aa1ba(0x2c5)];case _0x2aa1ba(0x305):return _0x72202e<_0x470d18[_0x2aa1ba(0x275)]||_0x72202e>_0x470d18[_0x2aa1ba(0x2c5)];case _0x2aa1ba(0x329):return _0x72202e<_0x470d18[_0x2aa1ba(0x275)];case _0x2aa1ba(0x556):return _0x72202e>_0x470d18[_0x2aa1ba(0x2c5)];default:return!0x1;}}function _0xfa1cbd(_0x3df714,_0x55f6a6,_0x988c0b=Date[_0x4e5412(0x3c4)]()){const _0x5596ff=_0x4e5412;let _0x46bd4e=_0xf96263(_0x988c0b);switch(_0x3df714){case _0x5596ff(0x502):{let _0x562b24=_0x2700a7(_0x55f6a6);return _0x562b24==null?null:{'start':_0x562b24,'end':_0x562b24+_0x3fdda9-0x1};}case'today':return{'start':_0x46bd4e,'end':_0x46bd4e+_0x3fdda9-0x1};case'tomorrow':return{'start':_0x46bd4e+_0x3fdda9,'end':_0x46bd4e+_0x3fdda9*0x2-0x1};case _0x5596ff(0x51d):return{'start':_0x46bd4e-_0x3fdda9,'end':_0x46bd4e-0x1};case'thisWeek':return _0x199f19(_0x46bd4e,0x0);case _0x5596ff(0x2f3):return _0x199f19(_0x46bd4e,-0x1);case _0x5596ff(0x48e):return _0x474f6d(_0x46bd4e,0x0);case _0x5596ff(0x436):return _0x474f6d(_0x46bd4e,-0x1);case _0x5596ff(0x262):return{'start':_0x46bd4e-_0x3fdda9*0x6,'end':_0x46bd4e+_0x3fdda9-0x1};case _0x5596ff(0x4bd):return{'start':_0x46bd4e,'end':_0x46bd4e+_0x3fdda9*0x7-0x1};case _0x5596ff(0x1f9):return{'start':_0x46bd4e-_0x3fdda9*0x1d,'end':_0x46bd4e+_0x3fdda9-0x1};case _0x5596ff(0x544):return{'start':_0x46bd4e,'end':_0x46bd4e+_0x3fdda9*0x1e-0x1};}}function _0x2700a7(_0x35ffc7){let _0x5cb668=_0x9bb2e1(_0x35ffc7);return _0x5cb668==null?null:_0xf96263(_0x240729(_0x5cb668));}function _0xf96263(_0xcbfe5a){const _0x13682e=_0x4e5412;let _0x5bb878=new Date(_0xcbfe5a);return _0x5bb878[_0x13682e(0x543)](0x0,0x0,0x0,0x0),_0x5bb878[_0x13682e(0x226)]();}function _0x199f19(_0x52e5f4,_0x35b92a){const _0x2d2b6d=_0x4e5412;let _0x597e2a=_0x52e5f4-(new Date(_0x52e5f4)[_0x2d2b6d(0x1dd)]()+0x6)%0x7*_0x3fdda9+_0x35b92a*_0x3fdda9*0x7;return{'start':_0x597e2a,'end':_0x597e2a+_0x3fdda9*0x7-0x1};}function _0x474f6d(_0x42df18,_0x3838f3){const _0x1cf367=_0x4e5412;let _0x23eae2=new Date(_0x42df18),_0x3f41a6=new Date(_0x23eae2[_0x1cf367(0x4ba)](),_0x23eae2[_0x1cf367(0x291)]()+_0x3838f3,0x1),_0x2f29e5=new Date(_0x23eae2[_0x1cf367(0x4ba)](),_0x23eae2[_0x1cf367(0x291)]()+_0x3838f3+0x1,0x1);return{'start':_0x3f41a6['getTime'](),'end':_0x2f29e5[_0x1cf367(0x226)]()-0x1};}function _0x276a3d(_0x4dc77e,_0x385be1,_0x1fb78f){const _0x49496b=_0x4e5412;let _0x15b6f6=_0x127cc5(_0x4dc77e),_0x3650fc=_0x127cc5(_0x1fb78f);switch(_0x385be1){case'is':return _0x15b6f6===_0x3650fc;case _0x49496b(0x305):return _0x15b6f6!==_0x3650fc;default:return!0x1;}}function _0x127cc5(_0x32e328){const _0xb3476c=_0x4e5412;return _0x32e328===!0x0||_0x32e328===_0xb3476c(0x11e)||_0x32e328===0x1||_0x32e328==='1';}function _0x326743(_0x4d9975,_0x770372,_0x5f3eb3,_0x468d6e){const _0xfa2b83=_0x4e5412;let _0x3d9b79=_0x1e6631(_0x4d9975,_0x468d6e),_0x393880=_0x1e6631(_0x5f3eb3,_0x468d6e),_0x5e8d0d=_0x393880[_0xfa2b83(0x4b3)]>0x0&&_0x393880['some'](_0x399e40=>_0x3d9b79[_0xfa2b83(0x1a5)](_0x399e40));switch(_0x770372){case'is':case _0xfa2b83(0x251):return _0x5e8d0d;case _0xfa2b83(0x305):case _0xfa2b83(0x438):return!_0x5e8d0d;default:return!0x1;}}function _0x5280ef(_0x2f69d0,_0x3aaa28,_0x2e4d9d){const _0x5751fe=_0x4e5412;let _0x225d93=_0x5d257b(_0x2f69d0),_0x17f818=_0x5d257b(_0x2e4d9d);switch(_0x3aaa28){case'is':return _0x225d93===_0x17f818;case _0x5751fe(0x305):return _0x225d93!==_0x17f818;case _0x5751fe(0x251):return _0x17f818?_0x225d93[_0x5751fe(0x1a5)](_0x17f818):!0x1;case _0x5751fe(0x438):return!_0x17f818||!_0x225d93[_0x5751fe(0x1a5)](_0x17f818);default:return!0x1;}}function _0x5d257b(_0x17634b){const _0x454ccb=_0x4e5412;if(Array[_0x454ccb(0x2a0)](_0x17634b))return _0x17634b[_0x454ccb(0x1fd)](_0x340382=>_0x5d257b(_0x340382))[_0x454ccb(0x289)]('\x0a');if(_0x17634b&&typeof _0x17634b==_0x454ccb(0x30b)){let _0x47eb45=_0x17634b;return String(_0x47eb45['name']??_0x47eb45[_0x454ccb(0x4c4)]??_0x47eb45[_0x454ccb(0x40a)]??_0x47eb45[_0x454ccb(0x425)]??_0x47eb45['id']??'')[_0x454ccb(0x2de)]()[_0x454ccb(0x4c6)]();}return String(_0x17634b??'')[_0x454ccb(0x2de)]()['toLowerCase']();}function _0x1e6631(_0x29e399,_0x390803){const _0x1fc910=_0x4e5412;let _0x50b2bd=_0x56f239(_0x29e399),_0x7a453c=_0x10af31(_0x390803[_0x1fc910(0x505)]??{});return _0x50b2bd['flatMap'](_0x1fc147=>_0x7a453c['get'](_0x1fc147)??[_0x1fc147])[_0x1fc910(0x30d)]((_0x35bb50,_0x5344ef,_0x24ead2)=>_0x35bb50!==''&&_0x24ead2[_0x1fc910(0x41d)](_0x35bb50)===_0x5344ef);}function _0x56f239(_0x503e1d){const _0x2350f9=_0x4e5412;if(_0x503e1d==null||_0x503e1d==='')return[];if(Array[_0x2350f9(0x2a0)](_0x503e1d))return _0x503e1d[_0x2350f9(0x27f)](_0x137944=>_0x56f239(_0x137944));if(_0x503e1d&&typeof _0x503e1d==_0x2350f9(0x30b)){let _0x3f5c79=_0x503e1d;return['id',_0x2350f9(0x1cd),_0x2350f9(0x4c4),_0x2350f9(0x425),_0x2350f9(0x40a)][_0x2350f9(0x27f)](_0x5bdcf5=>_0x56f239(_0x3f5c79[_0x5bdcf5]))[_0x2350f9(0x30d)]((_0x840d61,_0x563aae,_0x342f84)=>_0x342f84['indexOf'](_0x840d61)===_0x563aae);}return[_0x5d257b(_0x503e1d)];}function _0x10af31(_0x2a51d3){const _0x392b98=_0x4e5412;let _0x551547=new Map();return(Array[_0x392b98(0x2a0)](_0x2a51d3['options'])?_0x2a51d3[_0x392b98(0x51a)]:[])['forEach'](_0x59af62=>{const _0x3a210d=_0x392b98;if(!_0x59af62||typeof _0x59af62!=_0x3a210d(0x30b))return;let _0x3969b7=_0x56f239(_0x59af62),_0x27745d=_0x3969b7[_0x3a210d(0x30d)]((_0x305575,_0x14934d)=>_0x305575!==''&&_0x3969b7[_0x3a210d(0x41d)](_0x305575)===_0x14934d);_0x27745d['forEach'](_0x4428ae=>_0x551547[_0x3a210d(0x4b6)](_0x4428ae,_0x27745d));}),_0x551547;}function _0x59c6e8(_0x1020c2,_0x27ed1b={},_0x1e5dd5=_0x594060=>_0x594060,_0x463deb={}){const _0x24c4ab=_0x4e5412;let _0x483940=!_0x483319[_0x24c4ab(0x10f)](_0x1020c2),_0x19cfbb=_0x1e5dd5??(_0x20a364=>_0x20a364);return{'type':_0x1020c2,'i18nKey':_0x24c4ab(0x549)+_0x1020c2,'enabled':_0x483940,'visibleInCreateMenu':_0x483940,'createDefaultConfig':_0x463deb[_0x24c4ab(0x14f)]??(()=>({})),'createDefaultValue':_0x463deb['createDefaultValue']??(_0x2454a1=>_0x2454a1[_0x24c4ab(0x33d)]??null),'normalize':(_0x151a75,_0x2c5421)=>_0x19cfbb(_0x151a75,_0x2c5421),'validate':(_0x5d1d73,_0x401b81)=>{const _0x28cd47=_0x24c4ab;var _0x157dde;return _0x483940?((_0x157dde=_0x463deb[_0x28cd47(0x211)])==null?void 0x0:_0x157dde[_0x28cd47(0x241)](_0x463deb,_0x5d1d73,_0x401b81))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x142c4e,_0x26bf15)=>_0x129aa0(_0x142c4e,_0x26bf15),'filter':(_0x434282,_0x40e169,_0x4d47ab,_0x4b2de7)=>_0x33b572(_0x434282,_0x40e169,_0x4d47ab,_0x4b2de7),'toPlainText':_0x463deb[_0x24c4ab(0x4e0)]??(_0x1faa86=>_0x1faa86==null?'':String(_0x1faa86)),'fromPlainText':_0x463deb[_0x24c4ab(0x381)]??(_0xe1ed74=>_0x19cfbb(_0xe1ed74,{'id':'','name':'','type':_0x1020c2,'config':{}})),'getCapabilities':()=>({..._0x5ce00c,..._0x27ed1b,'editable':_0x483940&&(_0x27ed1b['editable']??_0x5ce00c[_0x24c4ab(0x277)])})};}function _0x3cf3b9(){const _0x4a4274=_0x4e5412;return[_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x21c)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x4a4274(0x52e)}),'createDefaultValue':_0x2f0a25=>_0x2f0a25[_0x4a4274(0x33d)]??''}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x53f)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x14b52a=>_0x14b52a==null||_0x14b52a===''?null:String(_0x14b52a),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4a4274(0x484)}})}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x1ca)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x480adb=>Array[_0x4a4274(0x2a0)](_0x480adb)?_0x480adb[_0x4a4274(0x1fd)](String):_0x480adb==null?[]:[String(_0x480adb)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4a4274(0x484)}}),'createDefaultValue':_0x49734d=>_0x49734d[_0x4a4274(0x33d)]??[]}),_0x59c6e8(_0x3deeb7['BaseFieldType'][_0x4a4274(0x122)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x12aa0f,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x4a4274(0x1da)}),'validate':_0x442b9b}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x4cd)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x31a2f0,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x4a4274(0x4fc)}),'createDefaultValue':_0x1f3529=>_0x1f3529[_0x4a4274(0x33d)]??[],'validate':_0x14b0a7}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x44b)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1e4b23=>_0x9bb2e1(_0x1e4b23),{'createDefaultConfig':()=>_0x4065a1(),'validate':_0x4f00ed}),_0x59c6e8(_0x3deeb7['BaseFieldType'][_0x4a4274(0x4a6)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4bbac3=>_0x4bbac3==null?[]:Array[_0x4a4274(0x2a0)](_0x4bbac3)?_0x4bbac3:[_0x4bbac3],{'createDefaultValue':_0x4d07d7=>_0x4d07d7['defaultValue']??[]}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x312)],{},_0x2c7757=>_0x2c7757==null||_0x2c7757===''?null:Number(_0x2c7757),{'createDefaultConfig':()=>_0x2fe0f0(),'validate':_0x423bcf}),_0x59c6e8(_0x3deeb7['BaseFieldType'][_0x4a4274(0x1db)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x224359=>_0x224359===!0x0||_0x224359==='true'||_0x224359===0x1||_0x224359==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x4db315=>_0x4db315[_0x4a4274(0x33d)]??!0x1,'validate':_0x47d376=>typeof _0x47d376==_0x4a4274(0x490)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x409)],{'supportsRelation':!0x0},_0x510468,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x5c6e07=>_0x3e937a(_0x5c6e07),'fromPlainText':_0x2b0877=>_0x510468(_0x2b0877)}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)]['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x4a4274(0x372),'pattern':_0x4a4274(0x12e)}}),'createDefaultValue':()=>null}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x504)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x4a4274(0x202)}),'createDefaultValue':()=>null}),_0x59c6e8(_0x3deeb7['BaseFieldType'][_0x4a4274(0x477)],{'usableAsTitle':!0x0},_0x2c9e63=>_0x2c9e63==null?null:String(_0x2c9e63)[_0x4a4274(0x2de)](),{'validate':_0x3aa0d9=>_0x3aa0d9==null||_0x3aa0d9===''||/^\+?[0-9 ()-]{6,20}$/[_0x4a4274(0x373)](String(_0x3aa0d9))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)]['Email'],{'usableAsTitle':!0x0},_0x4efefa=>_0x4efefa==null?null:String(_0x4efefa)['trim'](),{'validate':_0x5da50f=>_0x5da50f==null||_0x5da50f===''||_0x42146f(String(_0x5da50f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4a4274(0x335)}}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x169)],{'usableAsGanttProgress':!0x0},_0x2f26c1=>_0x2f26c1==null||_0x2f26c1===''?null:Number(_0x2f26c1),{'createDefaultConfig':()=>({'format':_0x4a4274(0x200),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4ee14c,_0x5c6978)=>_0xbf87e(_0x4ee14c,_0x5c6978,_0x4a4274(0x1e4))}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x322)],{},_0x4f0bb4=>_0x4f0bb4==null||_0x4f0bb4===''?null:Number(_0x4f0bb4),{'createDefaultConfig':()=>({..._0x2fe0f0(),'currencySymbol':'$'}),'validate':_0x423bcf}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x49b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x801ed1=>_0x801ed1==null||_0x801ed1===''?null:Number(_0x801ed1),{'createDefaultConfig':()=>({'icon':_0x4a4274(0x4f7),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x2fdc9b,_0x27c2b3)=>_0xbf87e(_0x2fdc9b,_0x27c2b3,'[BaseField]:\x20invalid\x20rating\x20value.')}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x415)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x20eda8,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x5e4a6c,_0x2b3b51)=>_0x2d8e91(_0x5e4a6c,_0x2b3b51[_0x4a4274(0x505)][_0x4a4274(0x3c0)]===!0x0)}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x59c6e8(_0x3deeb7['BaseFieldType'][_0x4a4274(0x318)],{'editable':!0x1,'groupable':!0x0},_0x2da5fb=>_0x2da5fb==null?null:String(_0x2da5fb),{'createDefaultConfig':()=>({'provider':_0x4a4274(0x551)}),'createDefaultValue':()=>null}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)][_0x4a4274(0x49f)],{'editable':!0x1,'groupable':!0x0},_0x4862dc=>_0x4862dc==null?null:String(_0x4862dc),{'createDefaultConfig':()=>({'provider':_0x4a4274(0x551)}),'createDefaultValue':()=>null}),_0x59c6e8(_0x3deeb7['BaseFieldType']['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3d3185=>_0x9bb2e1(_0x3d3185),{'createDefaultConfig':()=>_0x4065a1(),'createDefaultValue':()=>null,'validate':_0x4f00ed}),_0x59c6e8(_0x3deeb7[_0x4a4274(0x16c)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x59bfe1=>_0x9bb2e1(_0x59bfe1),{'createDefaultConfig':()=>_0x4065a1(),'createDefaultValue':()=>null,'validate':_0x4f00ed})];}function _0x2fe0f0(){const _0x5ec784=_0x4e5412;return{'pattern':_0x5ec784(0x330),'decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function _0x4065a1(){const _0x528bf9=_0x4e5412;return{'locale':_0x528bf9(0x269),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x528bf9(0x16b),'defaultMode':_0x528bf9(0x133)};}function _0x31a2f0(_0x1b0d0f){const _0x306e22=_0x4e5412;return _0x1b0d0f==null||_0x1b0d0f===''?[]:Array[_0x306e22(0x2a0)](_0x1b0d0f)?_0x1b0d0f[_0x306e22(0x1fd)](String):[String(_0x1b0d0f)];}function _0x20eda8(_0x3f9961){return typeof _0x3f9961=='string'?_0x3f9961:'';}function _0x12aa0f(_0x33de5e,_0x2440c6){const _0x4d704f=_0x4e5412;return _0x33de5e==null||_0x33de5e===''?_0x2440c6[_0x4d704f(0x505)][_0x4d704f(0x2aa)]===!0x0?[]:null:_0x2440c6[_0x4d704f(0x505)][_0x4d704f(0x2aa)]===!0x0?Array['isArray'](_0x33de5e)?_0x33de5e[_0x4d704f(0x1fd)](String):[String(_0x33de5e)]:Array[_0x4d704f(0x2a0)](_0x33de5e)?String(_0x33de5e[0x0]??'')||null:String(_0x33de5e);}function _0x442b9b(_0x5436a0,_0x110ae4){const _0x412e92=_0x4e5412;return _0x110ae4[_0x412e92(0x505)][_0x412e92(0x2aa)]===!0x0?_0x14b0a7(_0x5436a0):_0x5436a0==null||_0x5436a0===''||typeof _0x5436a0==_0x412e92(0x3d4)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x14b0a7(_0x212e67){const _0x2eca4e=_0x4e5412;return _0x212e67==null||Array[_0x2eca4e(0x2a0)](_0x212e67)&&_0x212e67[_0x2eca4e(0x41c)](_0x5d6965=>typeof _0x5d6965==_0x2eca4e(0x3d4))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function _0x4f00ed(_0x4d0989){const _0x4ed004=_0x4e5412;return _0x4d0989==null||typeof _0x4d0989==_0x4ed004(0x38e)&&Number['isFinite'](_0x4d0989)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4ed004(0x3ec)};}function _0x423bcf(_0x1e1821,_0xf7152d){const _0x12b873=_0x4e5412;return _0x1e1821==null||_0x1e1821===''?{'valid':!0x0}:typeof _0x1e1821!='number'||!Number[_0x12b873(0x2d6)](_0x1e1821)?{'valid':!0x1,'reason':_0x12b873(0x491)}:_0xf7152d[_0x12b873(0x505)][_0x12b873(0x1c1)]===!0x1&&_0x1e1821<0x0?{'valid':!0x1,'reason':_0x12b873(0x42c)}:{'valid':!0x0};}function _0xbf87e(_0x15cf9b,_0x254aec,_0x293bf1){const _0xe6aa99=_0x4e5412;let _0x187149=_0x423bcf(_0x15cf9b,_0x254aec);if(!_0x187149[_0xe6aa99(0x236)]||_0x15cf9b==null||_0x15cf9b==='')return _0x187149;let _0x368b03=Number(_0x254aec[_0xe6aa99(0x505)]['min']??_0x254aec[_0xe6aa99(0x505)][_0xe6aa99(0x275)]??0x0),_0x5dcbc1=Number(_0x254aec['config']['max']??_0x254aec['config']['end']??0x64),_0xbecf1f=Number(_0x15cf9b);return _0xbecf1f>=_0x368b03&&_0xbecf1f<=_0x5dcbc1?{'valid':!0x0}:{'valid':!0x1,'reason':_0x293bf1};}function _0x510468(_0x184b3b){const _0x12643a=_0x4e5412;if(_0x184b3b==null||_0x184b3b==='')return null;if(typeof _0x184b3b==_0x12643a(0x30b)&&!Array[_0x12643a(0x2a0)](_0x184b3b)){let _0x3790b4=_0x184b3b,_0x1fe101=typeof _0x3790b4['text']==_0x12643a(0x3d4)?_0x3790b4[_0x12643a(0x40a)][_0x12643a(0x2de)]():'',_0x1a7f7c=typeof _0x3790b4[_0x12643a(0x520)]==_0x12643a(0x3d4)?_0x3790b4[_0x12643a(0x520)][_0x12643a(0x2de)]():'',_0x16acf8=_0x6ec72c(_0x1a7f7c||_0x1fe101);return _0x16acf8?{'text':_0x1fe101||_0x1a7f7c||_0x16acf8,'url':_0x16acf8}:null;}let _0x180962=String(_0x184b3b)[_0x12643a(0x2de)](),_0x305ed5=_0x6ec72c(_0x180962);return _0x305ed5?{'text':_0x180962,'url':_0x305ed5}:null;}function _0x3e937a(_0x5bd4c4){const _0xdcba62=_0x4e5412;if(_0x5bd4c4==null)return'';if(typeof _0x5bd4c4==_0xdcba62(0x30b)&&!Array[_0xdcba62(0x2a0)](_0x5bd4c4)){let _0xf93bd8=_0x5bd4c4;return String(_0xf93bd8[_0xdcba62(0x40a)]||_0xf93bd8[_0xdcba62(0x520)]||'');}return String(_0x5bd4c4);}function _0x6ec72c(_0x35c7b8){const _0x76a13c=_0x4e5412;let _0x24fc34=_0x35c7b8[_0x76a13c(0x2de)]();if(!_0x24fc34)return'';let _0x3f7b37=/^[a-z][a-z\d+.-]*:/i['test'](_0x24fc34)?_0x24fc34:_0x24fc34[_0x76a13c(0x247)]('//')?_0x76a13c(0x3e2)+_0x24fc34:_0x76a13c(0x3ac)+_0x24fc34;try{let _0x127200=new URL(_0x3f7b37);return _0x127200[_0x76a13c(0x24b)]===_0x76a13c(0x2d8)||_0x127200[_0x76a13c(0x24b)]===_0x76a13c(0x3e2)?_0x127200[_0x76a13c(0x2d7)]:'';}catch{return'';}}function _0x42146f(_0x5c1715){const _0x423f34=_0x4e5412;let _0x40a048=_0x5c1715[_0x423f34(0x41d)]('@');if(_0x40a048<=0x0||_0x40a048!==_0x5c1715[_0x423f34(0x4f4)]('@'))return!0x1;let _0x477eac=_0x5c1715[_0x423f34(0x539)](_0x40a048+0x1);return _0x477eac[_0x423f34(0x1a5)]('.')&&!_0x5c1715[_0x423f34(0x1a5)]('\x20')&&!_0x477eac[_0x423f34(0x247)]('.')&&!_0x477eac[_0x423f34(0x1fa)]('.');}let _0x516a3c={'table':_0x43f42b=>[_0x4e5412(0x52f),_0x43f42b],'field':(_0x2ab7d4,_0xe068dd)=>[_0x4e5412(0x52f),_0x2ab7d4,'fields',_0xe068dd],'fieldOrder':(_0x37cea8,_0x4259c3)=>[_0x4e5412(0x52f),_0x37cea8,_0x4e5412(0x324),_0x4259c3],'record':(_0x1520c9,_0x389a6c)=>[_0x4e5412(0x52f),_0x1520c9,_0x4e5412(0x4ce),_0x389a6c],'cell':(_0x5b95f6,_0x2726a0,_0x48bff5)=>[_0x4e5412(0x52f),_0x5b95f6,_0x4e5412(0x4ce),_0x2726a0,_0x4e5412(0x261),_0x48bff5],'cellData':(_0x4be405,_0x5113c7,_0x12b857)=>[_0x4e5412(0x52f),_0x4be405,_0x4e5412(0x2c7),String(_0x5113c7),String(_0x12b857)],'attachmentSet':(_0x1843ba,_0x27b3da)=>[_0x4e5412(0x52f),_0x1843ba,_0x4e5412(0x26c),_0x4e5412(0x295),_0x27b3da],'attachment':(_0xfa7255,_0xde667b)=>[_0x4e5412(0x52f),_0xfa7255,_0x4e5412(0x26c),_0x4e5412(0x2f0),_0xde667b],'view':(_0xf211e4,_0x346df7)=>[_0x4e5412(0x52f),_0xf211e4,_0x4e5412(0x3d0),_0x346df7],'viewFieldHidden':(_0x5d8016,_0x418f98,_0x37e1c3)=>['tables',_0x5d8016,_0x4e5412(0x3d0),_0x418f98,_0x4e5412(0x116),_0x37e1c3,_0x4e5412(0x257)]};var _0x38af97=class{[_0x4e5412(0x279)](_0x1f18f8,_0x3d42d3){const _0x4961e=_0x4e5412;let _0x3cd0ed=this[_0x4961e(0x54b)](_0x1f18f8,_0x1f18f8[_0x4961e(0x1cd)],_0x3d42d3);return _0x517f41([this['_replaceOptional'](['name'],_0x1f18f8[_0x4961e(0x1cd)],_0x3d42d3),..._0x3cd0ed?[_0x3cd0ed]:[]]);}['renameFormulaUnitReferences'](_0x59145a,_0x3b4ed4,_0xe6d76){const _0x4cfbd3=_0x4e5412;let _0x1ccee6=Object[_0x4cfbd3(0x261)](_0x59145a[_0x4cfbd3(0x52f)])['flatMap'](_0x1dfd7c=>Object[_0x4cfbd3(0x261)](_0x1dfd7c['fields'])['flatMap'](_0x640bd9=>{const _0x4a4c02=_0x4cfbd3;var _0x16a13d,_0x54d299;if(_0x640bd9[_0x4a4c02(0x3de)]!==_0x3deeb7[_0x4a4c02(0x16c)]['Formula'])return[];let _0x419fab=String(((_0x16a13d=_0x640bd9['config'])==null?void 0x0:_0x16a13d[_0x4a4c02(0x27b)])??''),_0x6853f6=(0x0,_0x12efe9[_0x4a4c02(0x212)])(_0x419fab,_0x3b4ed4,_0xe6d76);return _0x6853f6===_0x419fab?[]:[this[_0x4a4c02(0x406)]([..._0x516a3c['field'](_0x1dfd7c['id'],_0x640bd9['id']),_0x4a4c02(0x505),_0x4a4c02(0x27b)],(_0x54d299=_0x640bd9[_0x4a4c02(0x505)])==null?void 0x0:_0x54d299[_0x4a4c02(0x27b)],_0x6853f6)];}));return _0x1ccee6['length']>0x0?_0x517f41(_0x1ccee6):void 0x0;}['createTable'](_0x586dd5,_0x49918c,_0x562df9=_0x586dd5[_0x4e5412(0x2e9)][_0x4e5412(0x4b3)]){const _0x599f0d=_0x4e5412;let _0x2730b0=(0x0,_0x3deeb7[_0x599f0d(0x219)])(_0x49918c[_0x599f0d(0x1cd)],(0x0,_0x3deeb7[_0x599f0d(0x478)])(_0x586dd5)['values'](),_0x49918c[_0x599f0d(0x4a4)]),_0x36c84b=_0x49918c[_0x599f0d(0x4a4)]===_0x2730b0?_0x49918c:{..._0x49918c,'formulaName':_0x2730b0};return _0x517f41([...this[_0x599f0d(0x36d)](_0x586dd5),_0x3deeb7[_0x599f0d(0x248)]['insertOp'](_0x516a3c[_0x599f0d(0x561)](_0x49918c['id']),_0x36c84b),_0x3deeb7[_0x599f0d(0x248)][_0x599f0d(0x36b)]([_0x599f0d(0x2e9),_0x562df9],_0x49918c['id'])]);}['renameTable'](_0x2c8c8a,_0x164e6f,_0x3d2691){const _0x6f7624=_0x4e5412;let _0x2bf938=_0x2c8c8a[_0x6f7624(0x52f)][_0x164e6f];return _0x517f41([...this[_0x6f7624(0x36d)](_0x2c8c8a),_0x3deeb7[_0x6f7624(0x248)]['replaceOp']([..._0x516a3c[_0x6f7624(0x561)](_0x164e6f),_0x6f7624(0x1cd)],_0x2bf938[_0x6f7624(0x1cd)],_0x3d2691)]);}[_0x4e5412(0x44c)](_0x2fe3a2,_0x2d33c7){const _0x5e9c26=_0x4e5412;let _0x25f9b1=_0x2fe3a2[_0x5e9c26(0x52f)][_0x2d33c7],_0x4fa186=_0x2fe3a2['tableOrder'][_0x5e9c26(0x41d)](_0x2d33c7);return _0x517f41([...this[_0x5e9c26(0x36d)](_0x2fe3a2,new Set([_0x2d33c7])),_0x3deeb7[_0x5e9c26(0x248)][_0x5e9c26(0x2fb)](_0x516a3c[_0x5e9c26(0x561)](_0x2d33c7),_0x25f9b1),_0x3deeb7[_0x5e9c26(0x248)]['removeOp']([_0x5e9c26(0x2e9),_0x4fa186],_0x2d33c7)]);}['createRecord'](_0x2a1e09,_0xb92158,_0x41ced5){return this['createRecords'](_0x2a1e09,_0xb92158,[_0x41ced5]);}['createRecords'](_0x3b7c1f,_0x23d7b3,_0xba3afd){const _0x1aa71e=_0x4e5412;let _0xf294df=_0x3b7c1f[_0x1aa71e(0x52f)][_0x23d7b3],_0x2a5e5c=_0xba3afd[_0x1aa71e(0x30d)](_0x5335c4=>_0x5335c4&&!_0xf294df['records'][_0x5335c4['id']])[_0x1aa71e(0x1fd)](_0x3448ea=>({..._0x3448ea,'values':{..._0x3448ea[_0x1aa71e(0x261)],[_0x3deeb7[_0x1aa71e(0x2b7)]]:_0x3448ea['id']}}));if(!_0x2a5e5c[_0x1aa71e(0x4b3)])return _0x3deeb7[_0x1aa71e(0x248)][_0x1aa71e(0x36a)]([..._0x516a3c[_0x1aa71e(0x561)](_0x23d7b3),_0x1aa71e(0x4ce)],_0xf294df[_0x1aa71e(0x4ce)],_0xf294df[_0x1aa71e(0x4ce)]);let _0x142a0f=new _0x3deeb7[(_0x1aa71e(0x248))]['WriteCursor'](),_0x359df7=[..._0x2a5e5c][_0x1aa71e(0x54f)]((_0x9a6866,_0x347f8a)=>_0x9a6866['id']<_0x347f8a['id']?-0x1:+(_0x9a6866['id']>_0x347f8a['id'])),_0x77e08d=[..._0x516a3c[_0x1aa71e(0x561)](_0x23d7b3),_0x1aa71e(0x4ce)];_0x142a0f[_0x1aa71e(0x2d1)](_0x77e08d);for(let _0x38efe6 of _0x359df7)_0x142a0f[_0x1aa71e(0x137)](_0x38efe6['id']),_0x142a0f[_0x1aa71e(0x338)]('i',_0x38efe6),_0x142a0f[_0x1aa71e(0x170)]();for(let _0x239171=0x0;_0x239171<_0x77e08d[_0x1aa71e(0x4b3)];_0x239171+=0x1)_0x142a0f[_0x1aa71e(0x170)]();return _0x517f41([_0x142a0f[_0x1aa71e(0x3c1)](),this[_0x1aa71e(0x325)](_0x3b7c1f,_0x23d7b3,_0x2a5e5c)]);}[_0x4e5412(0x533)](_0x43d63b,_0x25ea24,_0x102eb3){const _0x564328=_0x4e5412;return this[_0x564328(0x4cf)](_0x43d63b,_0x25ea24,[_0x102eb3]);}[_0x4e5412(0x4cf)](_0x404dc5,_0x5a7a9f,_0x2dcf3c){const _0x59eaed=_0x4e5412;let _0x415928=_0x404dc5['tables'][_0x5a7a9f],_0x57276a=Array[_0x59eaed(0x33c)](new Set(_0x2dcf3c))[_0x59eaed(0x30d)](_0x3f0762=>_0x415928[_0x59eaed(0x4ce)][_0x3f0762]);if(!_0x57276a[_0x59eaed(0x4b3)])return _0x3deeb7[_0x59eaed(0x248)][_0x59eaed(0x36a)]([..._0x516a3c[_0x59eaed(0x561)](_0x5a7a9f),_0x59eaed(0x4ce)],_0x415928[_0x59eaed(0x4ce)],_0x415928[_0x59eaed(0x4ce)]);let _0x5096f3=new Set(_0x57276a),_0x192af5=_0x1f2f54(_0x415928,_0x57276a)[_0x59eaed(0x1fd)](_0xf47887=>this[_0x59eaed(0x222)](_0x404dc5,_0x5a7a9f,_0xf47887[_0x59eaed(0x3b0)],_0xf47887['fieldId'],''));return _0x517f41([this[_0x59eaed(0x2fd)](_0x404dc5,_0x5a7a9f,_0x57276a,_0x5096f3),..._0x192af5]);}[_0x4e5412(0x185)](_0x367c47,_0x35cd29,_0x445fd1,_0x19b026){const _0x1a1d3b=_0x4e5412;let _0xf550d2=_0x367c47['tables'][_0x445fd1],_0x5c6ee7=Array[_0x1a1d3b(0x33c)](new Set(_0x19b026))[_0x1a1d3b(0x30d)](_0x4bb2fd=>_0xf550d2[_0x1a1d3b(0x4ce)][_0x4bb2fd]),_0x2233a9=new Set(_0x5c6ee7);return _0x517f41([new _0x162342()[_0x1a1d3b(0x2c2)](_0x367c47,this[_0x1a1d3b(0x2fd)](_0x367c47,_0x445fd1,_0x5c6ee7,_0x2233a9)),..._0x1f2f54(_0xf550d2,_0x5c6ee7)['map'](_0x72f7e1=>this[_0x1a1d3b(0x222)](_0x35cd29,_0x445fd1,_0x72f7e1[_0x1a1d3b(0x3b0)],_0x72f7e1[_0x1a1d3b(0x3d9)],_0x72f7e1[_0x1a1d3b(0x28e)]??''))]);}[_0x4e5412(0x2fd)](_0x2a612e,_0x75bbdf,_0xcc25f1,_0x4abd9c){const _0x1203e5=_0x4e5412;let _0x364741=_0x2a612e['tables'][_0x75bbdf],_0x4c77e6=_0xcc25f1['map'](_0x368579=>{const _0x12d65a=_0x2d78;var _0x110554;return{'recordId':_0x368579,'index':((_0x110554=_0x364741[_0x12d65a(0x402)])==null?void 0x0:_0x110554[_0x12d65a(0x41d)](_0x368579))??-0x1};})['filter'](_0x2d5c5a=>_0x2d5c5a[_0x1203e5(0x1ac)]>=0x0)[_0x1203e5(0x54f)]((_0x1fad69,_0x63065d)=>_0x63065d[_0x1203e5(0x1ac)]-_0x1fad69[_0x1203e5(0x1ac)]);return _0x517f41([..._0xcc25f1['map'](_0x1cfe9e=>_0x3deeb7[_0x1203e5(0x248)][_0x1203e5(0x2fb)](_0x516a3c[_0x1203e5(0x4a2)](_0x75bbdf,_0x1cfe9e),_0x364741[_0x1203e5(0x4ce)][_0x1cfe9e])),..._0x4c77e6['map'](({recordId:_0x45b44a,index:_0x342a11})=>_0x3deeb7['JSON1'][_0x1203e5(0x2fb)](['tables',_0x75bbdf,_0x1203e5(0x402),_0x342a11],_0x45b44a)),...this[_0x1203e5(0x2ee)](_0x364741,_0x75bbdf,_0x10c1ca=>{const _0x3e0027=_0x1203e5;let _0xbf8517=_0x10c1ca[_0x3e0027(0x539)](_0x10c1ca['lastIndexOf']('\x1f')+0x1);return _0x4abd9c['has'](_0xbf8517);})]);}[_0x4e5412(0x46a)](_0x22d7a4,_0x369b5b,_0x40a36f,_0x12585b){const _0x2b4909=_0x4e5412;return this[_0x2b4909(0x38c)](_0x22d7a4,_0x369b5b,{..._0x12585b,'values':{..._0x22d7a4[_0x2b4909(0x52f)][_0x369b5b][_0x2b4909(0x4ce)][_0x40a36f][_0x2b4909(0x261)],..._0x12585b[_0x2b4909(0x261)],[_0x3deeb7[_0x2b4909(0x2b7)]]:_0x12585b['id']}});}['updateRecordOrder'](_0xd357d8,_0x2da7ed,_0x387175,_0x5b3fcf){const _0x3fec65=_0x4e5412;let _0x4b66aa=_0xd357d8['tables'][_0x2da7ed],_0x57cd27=[..._0x516a3c[_0x3fec65(0x4a2)](_0x2da7ed,_0x387175),_0x3fec65(0x3a9)],_0x550abd=Object['values'](_0x4b66aa[_0x3fec65(0x4ce)])[_0x3fec65(0x1fd)](_0x12d556=>_0x12d556['id']===_0x387175?{..._0x12d556,'orderKey':_0x5b3fcf}:_0x12d556)['sort']((_0x5c290f,_0x5175ec)=>String(_0x5c290f[_0x3fec65(0x3a9)]??_0x5c290f['id'])[_0x3fec65(0x14d)](String(_0x5175ec[_0x3fec65(0x3a9)]??_0x5175ec['id'])))[_0x3fec65(0x1fd)](_0x4d0b13=>_0x4d0b13['id']),_0x33df78=[..._0x516a3c[_0x3fec65(0x561)](_0x2da7ed),_0x3fec65(0x402)];return _0x517f41([this['_replaceOptional'](_0x57cd27,_0x4b66aa[_0x3fec65(0x4ce)][_0x387175][_0x3fec65(0x3a9)],_0x5b3fcf),_0x4b66aa['recordOrder']?_0x3deeb7[_0x3fec65(0x248)][_0x3fec65(0x36a)](_0x33df78,_0x4b66aa[_0x3fec65(0x402)],_0x550abd):_0x3deeb7['JSON1'][_0x3fec65(0x36b)](_0x33df78,_0x550abd)]);}[_0x4e5412(0x222)](_0x12c86f,_0x19b85e,_0x1203e7,_0x329dcc,_0x30aaec){const _0x5ccada=_0x4e5412;var _0x137780,_0x49b1d9;let _0x41904a=_0x12c86f['tables'][_0x19b85e],_0x485259=_0x1987d8(_0x41904a,_0x1203e7,_0x329dcc)?_0x41904a:_0x3dd317(_0x41904a),_0x384d9f=(_0x137780=_0x485259[_0x5ccada(0x364)])==null?void 0x0:_0x137780[_0x1203e7],_0x1cc7ef=(_0x49b1d9=_0x485259[_0x5ccada(0x1fc)])==null?void 0x0:_0x49b1d9[_0x329dcc];if(_0x384d9f==null||_0x1cc7ef==null){var _0x1467c5;return this[_0x5ccada(0x406)](_0x516a3c[_0x5ccada(0x234)](_0x19b85e,_0x1203e7,_0x329dcc),(_0x1467c5=_0x12c86f[_0x5ccada(0x52f)][_0x19b85e])==null||(_0x1467c5=_0x1467c5[_0x5ccada(0x4ce)][_0x1203e7])==null?void 0x0:_0x1467c5['values'][_0x329dcc],_0x30aaec);}return this[_0x5ccada(0x3f6)](_0x12c86f,_0x19b85e,[{'row':_0x384d9f,'col':_0x1cc7ef,'value':_0x30aaec}]);}[_0x4e5412(0x1f1)](_0x30bede,_0x547a8e,_0x389fbb){const _0x1936b3=_0x4e5412;let _0x19414d=_0x30bede['tables'][_0x547a8e],_0x56cac4=_0x389fbb['every'](_0x345ede=>Object['keys'](_0x345ede['values'])['every'](_0x575a05=>_0x1987d8(_0x19414d,_0x345ede['recordId'],_0x575a05)))?_0x19414d:_0x3dd317(_0x19414d),_0x3c0b3e=_0x389fbb[_0x1936b3(0x27f)](_0x36db78=>Object[_0x1936b3(0x26b)](_0x36db78[_0x1936b3(0x261)])[_0x1936b3(0x27f)](([_0x4e6da7,_0x27c7e3])=>{const _0x756f92=_0x1936b3;var _0x37787e,_0x571e48;let _0x598e76=(_0x37787e=_0x56cac4[_0x756f92(0x364)])==null?void 0x0:_0x37787e[_0x36db78[_0x756f92(0x3b0)]],_0x124ef2=(_0x571e48=_0x56cac4['colIndex'])==null?void 0x0:_0x571e48[_0x4e6da7];return _0x598e76==null||_0x124ef2==null?[]:[{'row':_0x598e76,'col':_0x124ef2,'value':_0x27c7e3}];})),_0x3be2a3=_0x389fbb[_0x1936b3(0x27f)](_0x30a70a=>Object[_0x1936b3(0x26b)](_0x30a70a[_0x1936b3(0x320)]??{})['map'](([_0x5e5e11,_0x172a40])=>{const _0x24da09=_0x1936b3;var _0x313c96;let _0x2b9702=[..._0x516a3c[_0x24da09(0x4a2)](_0x547a8e,_0x30a70a[_0x24da09(0x3b0)]),_0x5e5e11],_0x2a732b=(_0x313c96=_0x30bede[_0x24da09(0x52f)][_0x547a8e])==null||(_0x313c96=_0x313c96[_0x24da09(0x4ce)][_0x30a70a[_0x24da09(0x3b0)]])==null?void 0x0:_0x313c96[_0x5e5e11];return this[_0x24da09(0x406)](_0x2b9702,_0x2a732b,_0x172a40);}));return _0x517f41([this[_0x1936b3(0x3f6)](_0x30bede,_0x547a8e,_0x3c0b3e),..._0x3be2a3]);}[_0x4e5412(0x3f6)](_0x1a24f0,_0xc971dd,_0x2f7999){const _0x229656=_0x4e5412;let _0x59ab55=_0x1a24f0[_0x229656(0x52f)][_0xc971dd],_0x11cafe=_0x2f7999['every'](_0x6a10cb=>_0x563d54(_0x59ab55,_0x6a10cb[_0x229656(0x307)],_0x6a10cb['col']))?_0x59ab55:_0x3dd317(_0x59ab55),_0x5c04d4=new Map(),_0x16ef18=_0x2f7999[_0x229656(0x27f)](_0x3898da=>{const _0x16c5b4=_0x229656;var _0x3b2c65,_0x3a3e22,_0xdff719,_0x1d618f;let _0x18cea3=(_0x3b2c65=_0x11cafe['colId'])==null?void 0x0:_0x3b2c65[_0x3898da[_0x16c5b4(0x31f)]],_0x47cfcd=(_0x3a3e22=_0x11cafe[_0x16c5b4(0x449)])==null?void 0x0:_0x3a3e22[_0x3898da[_0x16c5b4(0x307)]],_0x59ccb6=_0x18cea3?_0x11cafe[_0x16c5b4(0x135)][_0x18cea3]:void 0x0;if(_0x18cea3===_0x3deeb7[_0x16c5b4(0x2b7)]||(_0x59ccb6==null?void 0x0:_0x59ccb6[_0x16c5b4(0x3de)])===_0x3deeb7[_0x16c5b4(0x16c)][_0x16c5b4(0x444)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x36700e=_0x49d873(_0x3898da[_0x16c5b4(0x425)],_0x59ccb6),_0x3e29bf=(_0xdff719=_0x11cafe['cellData'])==null||(_0xdff719=_0xdff719[_0x3898da[_0x16c5b4(0x307)]])==null?void 0x0:_0xdff719[_0x3898da[_0x16c5b4(0x31f)]],_0x1cdde4=this[_0x16c5b4(0x406)](_0x516a3c[_0x16c5b4(0x2c7)](_0xc971dd,_0x3898da['row'],_0x3898da[_0x16c5b4(0x31f)]),_0x3e29bf,_0x36700e);if(!_0x18cea3||!_0x47cfcd)return[_0x1cdde4];let _0x5e6740=(_0x1d618f=_0x11cafe[_0x16c5b4(0x4ce)][_0x47cfcd])==null?void 0x0:_0x1d618f[_0x16c5b4(0x261)][_0x18cea3],_0x336cb0=(_0x59ccb6==null?void 0x0:_0x59ccb6[_0x16c5b4(0x3de)])===_0x3deeb7['BaseFieldType']['Attachment']?_0x3624b9(_0x3898da[_0x16c5b4(0x425)]):_0x358f56(_0x3898da[_0x16c5b4(0x425)],_0x36700e,_0x59ccb6,_0x11cafe,_0x47cfcd),_0x386b05=[_0x1cdde4,this[_0x16c5b4(0x406)](_0x516a3c['cell'](_0xc971dd,_0x47cfcd,_0x18cea3),_0x5e6740,_0x336cb0)];return(_0x59ccb6==null?void 0x0:_0x59ccb6[_0x16c5b4(0x3de)])===_0x3deeb7[_0x16c5b4(0x16c)][_0x16c5b4(0x4a6)]&&_0x5c04d4[_0x16c5b4(0x4b6)](_0x4c802c(_0x18cea3,_0x47cfcd),{'recordId':_0x47cfcd,'fieldId':_0x18cea3,'attachments':_0x336cb0}),_0x386b05;});return _0x16ef18[_0x229656(0x4b3)]?_0x517f41([..._0x16ef18,...this[_0x229656(0x3d1)](_0x11cafe,_0xc971dd,Array[_0x229656(0x33c)](_0x5c04d4[_0x229656(0x261)]()))]):_0x3deeb7['JSON1'][_0x229656(0x36a)]([_0x229656(0x52f),_0xc971dd,'cellData'],_0x11cafe[_0x229656(0x2c7)],_0x11cafe[_0x229656(0x2c7)]);}[_0x4e5412(0x2b6)](_0x40089d,_0xe692f2,_0x3b3860){const _0x1b6fe5=_0x4e5412;let _0x5f16f0=_0x40089d['tables'][_0xe692f2];if(_0x5f16f0['fields'][_0x3b3860[_0x1b6fe5(0x283)]['id']]||_0x5f16f0[_0x1b6fe5(0x324)][_0x1b6fe5(0x1a5)](_0x3b3860['field']['id']))return _0x3deeb7[_0x1b6fe5(0x248)]['replaceOp']([_0x1b6fe5(0x52f),_0xe692f2,_0x1b6fe5(0x324)],_0x5f16f0['fieldOrder'],_0x5f16f0[_0x1b6fe5(0x324)]);let _0x50a339=Math[_0x1b6fe5(0x37f)](0x1,_0x3b3860[_0x1b6fe5(0x1ac)]??_0x5f16f0[_0x1b6fe5(0x324)]['length']),_0x1f2447=Object[_0x1b6fe5(0x261)](_0x5f16f0[_0x1b6fe5(0x3d0)]??{})[_0x1b6fe5(0x27f)](_0x1d8cb3=>{const _0x4c6e82=_0x1b6fe5;var _0x2ad286;if(!_0x1d8cb3[_0x4c6e82(0x324)]||_0x1d8cb3['fieldOrder'][_0x4c6e82(0x1a5)](_0x3b3860[_0x4c6e82(0x283)]['id']))return[];let _0x1095aa=_0x2dc10c(((_0x2ad286=_0x3b3860['viewIndexes'])==null?void 0x0:_0x2ad286[_0x1d8cb3['id']])??_0x50a339,_0x1d8cb3[_0x4c6e82(0x324)][_0x4c6e82(0x4b3)]);return[_0x3deeb7[_0x4c6e82(0x248)][_0x4c6e82(0x36b)]([..._0x516a3c[_0x4c6e82(0x142)](_0xe692f2,_0x1d8cb3['id']),_0x4c6e82(0x324),_0x1095aa],_0x3b3860[_0x4c6e82(0x283)]['id'])];});return _0x517f41([..._0x3b3860[_0x1b6fe5(0x283)][_0x1b6fe5(0x3de)]===_0x3deeb7[_0x1b6fe5(0x16c)][_0x1b6fe5(0x2cd)]?this['_materializeFormulaTableNames'](_0x40089d):[],_0x3deeb7[_0x1b6fe5(0x248)]['insertOp'](_0x516a3c[_0x1b6fe5(0x283)](_0xe692f2,_0x3b3860['field']['id']),_0x3b3860[_0x1b6fe5(0x283)]),_0x3deeb7[_0x1b6fe5(0x248)]['insertOp'](_0x516a3c[_0x1b6fe5(0x324)](_0xe692f2,_0x50a339),_0x3b3860[_0x1b6fe5(0x283)]['id']),..._0x1f2447]);}[_0x4e5412(0x1a7)](_0x4306e2,_0x1bd42a,_0x4eb2be,_0x21cee4){const _0x5140ed=_0x4e5412;let _0x1a6e87=_0x4306e2[_0x5140ed(0x52f)][_0x1bd42a];if(!_0x1a6e87[_0x5140ed(0x135)][_0x4eb2be]||_0x1a6e87[_0x5140ed(0x135)][_0x21cee4[_0x5140ed(0x283)]['id']]||_0x1a6e87[_0x5140ed(0x324)]['includes'](_0x21cee4['field']['id']))return _0x3deeb7[_0x5140ed(0x248)][_0x5140ed(0x36a)](['tables',_0x1bd42a,_0x5140ed(0x324)],_0x1a6e87[_0x5140ed(0x324)],_0x1a6e87[_0x5140ed(0x324)]);let _0x5bb15a=_0x21cee4['index']??_0x1a6e87['fieldOrder'][_0x5140ed(0x41d)](_0x4eb2be)+0x1,_0x56237b=_0x1a6e87[_0x5140ed(0x324)][_0x5140ed(0x30d)](_0x2ac74a=>_0x2ac74a!==_0x21cee4[_0x5140ed(0x283)]['id']),_0x107c7d=_0x3f9e03(_0x56237b,_0x21cee4[_0x5140ed(0x283)]['id'],_0x5bb15a),_0x70a65=Object[_0x5140ed(0x261)](_0x1a6e87[_0x5140ed(0x3d0)]??{})['flatMap'](_0x3d18c5=>{const _0x2a96c2=_0x5140ed;var _0x2e9b8f,_0xf55160,_0x2ae756,_0x489f10;let _0x1c0f12=(_0x2e9b8f=_0x3d18c5[_0x2a96c2(0x324)])!=null&&_0x2e9b8f[_0x2a96c2(0x4b3)]?_0x3d18c5[_0x2a96c2(0x324)]:_0x56237b;if(_0x1c0f12[_0x2a96c2(0x1a5)](_0x21cee4[_0x2a96c2(0x283)]['id']))return[];let _0x1c798d=_0x3f9e03(_0x1c0f12,_0x21cee4[_0x2a96c2(0x283)]['id'],((_0xf55160=_0x21cee4[_0x2a96c2(0x4f8)])==null?void 0x0:_0xf55160[_0x3d18c5['id']])??_0x5bb15a),_0x10d624=(_0x2ae756=_0x3d18c5[_0x2a96c2(0x116)])==null?void 0x0:_0x2ae756[_0x4eb2be];return[this['_replaceOptional']([..._0x516a3c['view'](_0x1bd42a,_0x3d18c5['id']),'fieldOrder'],_0x3d18c5[_0x2a96c2(0x324)],_0x1c798d),..._0x10d624?[this['_replaceOptional']([..._0x516a3c['view'](_0x1bd42a,_0x3d18c5['id']),'fieldSettings',_0x21cee4['field']['id']],(_0x489f10=_0x3d18c5[_0x2a96c2(0x116)])==null?void 0x0:_0x489f10[_0x21cee4[_0x2a96c2(0x283)]['id']],_0x10d624)]:[]];}),_0x562706=Object[_0x5140ed(0x261)](_0x1a6e87[_0x5140ed(0x4ce)])['filter'](_0xc6446=>Object[_0x5140ed(0x4d3)][_0x5140ed(0x327)][_0x5140ed(0x241)](_0xc6446[_0x5140ed(0x261)],_0x4eb2be))[_0x5140ed(0x1fd)](_0x2149fa=>this[_0x5140ed(0x406)](_0x516a3c['cell'](_0x1bd42a,_0x2149fa['id'],_0x21cee4['field']['id']),_0x2149fa[_0x5140ed(0x261)][_0x21cee4['field']['id']],_0x2149fa[_0x5140ed(0x261)][_0x4eb2be]));return _0x517f41([..._0x21cee4[_0x5140ed(0x283)][_0x5140ed(0x3de)]===_0x3deeb7[_0x5140ed(0x16c)][_0x5140ed(0x2cd)]?this[_0x5140ed(0x36d)](_0x4306e2):[],_0x3deeb7[_0x5140ed(0x248)][_0x5140ed(0x36b)](_0x516a3c['field'](_0x1bd42a,_0x21cee4[_0x5140ed(0x283)]['id']),_0x21cee4['field']),_0x3deeb7[_0x5140ed(0x248)][_0x5140ed(0x36a)]([_0x5140ed(0x52f),_0x1bd42a,_0x5140ed(0x324)],_0x1a6e87[_0x5140ed(0x324)],_0x107c7d),..._0x70a65,..._0x562706]);}[_0x4e5412(0x1ec)](_0x58c386,_0x219103,_0x1d3b32,_0x56d185){const _0x5a769a=_0x4e5412;let _0x421552=_0x58c386['tables'][_0x219103][_0x5a769a(0x135)][_0x1d3b32],_0x5b3771={..._0x421552,..._0x56d185};Object[_0x5a769a(0x2e5)](_0x56d185)[_0x5a769a(0x349)](_0x16368b=>{_0x56d185[_0x16368b]===void 0x0&&delete _0x5b3771[_0x16368b];});let _0x1b5d1c=_0x268b78(_0x58c386[_0x5a769a(0x52f)][_0x219103],_0x1d3b32,_0x421552,_0x5b3771);_0x5b3771=_0x1b5d1c['field'];let _0x397a4c=_0x3deeb7[_0x5a769a(0x248)][_0x5a769a(0x36a)](_0x516a3c['field'](_0x219103,_0x1d3b32),_0x421552,_0x5b3771);return _0x5b3771['type']===_0x3deeb7[_0x5a769a(0x16c)][_0x5a769a(0x2cd)]?_0x517f41([...this['_materializeFormulaTableNames'](_0x58c386),_0x397a4c,...this[_0x5a769a(0x3f4)](_0x58c386,_0x219103,_0x1d3b32,_0x5b3771)]):_0x517f41([_0x397a4c,..._0x1b5d1c['patches'][_0x5a769a(0x4b3)]?[this['setRangeValues'](_0x58c386,_0x219103,_0x1b5d1c['patches'])]:[]]);}[_0x4e5412(0x510)](_0x14fe6d,_0x427595,_0x13738c,_0x5685ef){const _0x599d5e=_0x4e5412;return this[_0x599d5e(0x1ec)](_0x14fe6d,_0x427595,_0x13738c,_0x5685ef);}[_0x4e5412(0x531)](_0xd260f8,_0x27fefd,_0x5c184e){const _0x250c60=_0x4e5412;let _0x3244b0=_0xd260f8[_0x250c60(0x52f)][_0x27fefd];if(!(_0x3244b0!=null&&_0x3244b0[_0x250c60(0x135)][_0x5c184e])||_0x3244b0['primaryFieldId']===_0x5c184e||_0x5c184e===_0x3deeb7['BASE_RECORD_ID_FIELD_ID'])return _0x3deeb7[_0x250c60(0x248)][_0x250c60(0x36a)]([_0x250c60(0x52f),_0x27fefd,_0x250c60(0x324)],_0x3244b0==null?void 0x0:_0x3244b0[_0x250c60(0x324)],_0x3244b0==null?void 0x0:_0x3244b0[_0x250c60(0x324)]);let _0x55a3ee=_0x3244b0[_0x250c60(0x324)]['indexOf'](_0x5c184e),_0x1fe3b9=Object['values'](_0x3244b0[_0x250c60(0x3d0)])['flatMap'](_0x248428=>{const _0x5cbaeb=_0x250c60;var _0x1bb00f,_0x536dd2,_0x570edb,_0x5a4cb4,_0x558382,_0x4ac47e,_0x260b2e;let _0x4827a7=[],_0x8888de=((_0x1bb00f=_0x248428[_0x5cbaeb(0x324)])==null?void 0x0:_0x1bb00f['indexOf'](_0x5c184e))??-0x1;_0x8888de>=0x0&&_0x4827a7[_0x5cbaeb(0x296)](_0x3deeb7[_0x5cbaeb(0x248)][_0x5cbaeb(0x2fb)]([..._0x516a3c[_0x5cbaeb(0x142)](_0x27fefd,_0x248428['id']),_0x5cbaeb(0x324),_0x8888de],_0x5c184e));let _0x4837fa=(_0x536dd2=_0x248428[_0x5cbaeb(0x116)])==null?void 0x0:_0x536dd2[_0x5c184e];_0x4837fa!==void 0x0&&_0x4827a7[_0x5cbaeb(0x296)](_0x3deeb7['JSON1']['removeOp']([..._0x516a3c['view'](_0x27fefd,_0x248428['id']),_0x5cbaeb(0x116),_0x5c184e],_0x4837fa));let _0x4de9a0=_0x248428[_0x5cbaeb(0x30d)]?{..._0x248428[_0x5cbaeb(0x30d)],'conditions':_0x248428['filter'][_0x5cbaeb(0x433)]['filter'](_0x4d4051=>_0x4d4051[_0x5cbaeb(0x3d9)]!==_0x5c184e)}:_0x248428['filter'];_0x4de9a0&&_0x4de9a0['conditions'][_0x5cbaeb(0x4b3)]!==((_0x570edb=_0x248428[_0x5cbaeb(0x30d)])==null?void 0x0:_0x570edb[_0x5cbaeb(0x433)][_0x5cbaeb(0x4b3)])&&_0x4827a7[_0x5cbaeb(0x296)](this['_replaceOptional']([..._0x516a3c[_0x5cbaeb(0x142)](_0x27fefd,_0x248428['id']),_0x5cbaeb(0x30d)],_0x248428[_0x5cbaeb(0x30d)],_0x4de9a0));let _0x3e2384=(_0x5a4cb4=_0x248428[_0x5cbaeb(0x54f)])==null?void 0x0:_0x5a4cb4[_0x5cbaeb(0x30d)](_0x2f4ced=>_0x2f4ced[_0x5cbaeb(0x3d9)]!==_0x5c184e);_0x3e2384&&_0x3e2384['length']!==((_0x558382=_0x248428[_0x5cbaeb(0x54f)])==null?void 0x0:_0x558382[_0x5cbaeb(0x4b3)])&&_0x4827a7[_0x5cbaeb(0x296)](this[_0x5cbaeb(0x406)]([..._0x516a3c['view'](_0x27fefd,_0x248428['id']),'sort'],_0x248428[_0x5cbaeb(0x54f)],_0x3e2384));let _0x5cedd7=(_0x4ac47e=_0x248428[_0x5cbaeb(0x4fc)])==null?void 0x0:_0x4ac47e[_0x5cbaeb(0x30d)](_0x44e4ac=>_0x44e4ac[_0x5cbaeb(0x3d9)]!==_0x5c184e);_0x5cedd7&&_0x5cedd7[_0x5cbaeb(0x4b3)]!==((_0x260b2e=_0x248428[_0x5cbaeb(0x4fc)])==null?void 0x0:_0x260b2e[_0x5cbaeb(0x4b3)])&&_0x4827a7['push'](this['_replaceOptional']([..._0x516a3c['view'](_0x27fefd,_0x248428['id']),_0x5cbaeb(0x4fc)],_0x248428['group'],_0x5cedd7));let _0x582145=_0x1fa2d5(_0x248428[_0x5cbaeb(0x505)],_0x5c184e);return JSON[_0x5cbaeb(0x17c)](_0x582145)!==JSON[_0x5cbaeb(0x17c)](_0x248428['config'])&&_0x4827a7['push'](_0x3deeb7[_0x5cbaeb(0x248)][_0x5cbaeb(0x36a)]([..._0x516a3c['view'](_0x27fefd,_0x248428['id']),_0x5cbaeb(0x505)],_0x248428[_0x5cbaeb(0x505)],_0x582145)),_0x4827a7;}),_0x593715=Object[_0x250c60(0x261)](_0x3244b0['records'])[_0x250c60(0x27f)](_0x360025=>Object[_0x250c60(0x4d3)]['hasOwnProperty'][_0x250c60(0x241)](_0x360025[_0x250c60(0x261)],_0x5c184e)?[_0x3deeb7['JSON1'][_0x250c60(0x2fb)](_0x516a3c['cell'](_0x27fefd,_0x360025['id'],_0x5c184e),_0x360025['values'][_0x5c184e])]:[]);return _0x517f41([_0x3deeb7['JSON1'][_0x250c60(0x2fb)](_0x516a3c[_0x250c60(0x283)](_0x27fefd,_0x5c184e),_0x3244b0[_0x250c60(0x135)][_0x5c184e]),_0x3deeb7[_0x250c60(0x248)][_0x250c60(0x2fb)](_0x516a3c[_0x250c60(0x324)](_0x27fefd,_0x55a3ee),_0x5c184e),..._0x1fe3b9,..._0x593715,...this[_0x250c60(0x2ee)](_0x3244b0,_0x27fefd,_0x21cbf6=>_0x21cbf6['startsWith'](_0x5c184e+'\x1f'))]);}['moveField'](_0x35e136,_0x28013d,_0x3b624d,_0x209347){const _0x3eea9a=_0x4e5412;let _0x425940=_0x35e136[_0x3eea9a(0x52f)][_0x28013d][_0x3eea9a(0x324)];if(_0x3b624d===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']||_0x209347[_0x3eea9a(0x179)]===_0x3deeb7[_0x3eea9a(0x2b7)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x499d32=_0xc79fc8(_0x425940,_0x3b624d,_0x209347);return _0x3deeb7[_0x3eea9a(0x248)]['replaceOp']([_0x3eea9a(0x52f),_0x28013d,_0x3eea9a(0x324)],_0x425940,_0x499d32);}[_0x4e5412(0x51b)](_0x5641fb,_0x3bd2e5,_0x4b9ce0,_0x3029d1=_0x5641fb[_0x4e5412(0x52f)][_0x3bd2e5][_0x4e5412(0x3a1)][_0x4e5412(0x4b3)]){const _0x1097f7=_0x4e5412;return _0x517f41([_0x3deeb7[_0x1097f7(0x248)]['insertOp'](_0x516a3c[_0x1097f7(0x142)](_0x3bd2e5,_0x4b9ce0['id']),_0x4b9ce0),_0x3deeb7[_0x1097f7(0x248)]['insertOp']([_0x1097f7(0x52f),_0x3bd2e5,_0x1097f7(0x3a1),_0x3029d1],_0x4b9ce0['id'])]);}[_0x4e5412(0x29b)](_0x50459d,_0x377294,_0x4f31b1,_0x458afa){const _0x5df724=_0x4e5412;return _0x3deeb7['JSON1'][_0x5df724(0x36a)]([..._0x516a3c[_0x5df724(0x142)](_0x377294,_0x4f31b1),_0x5df724(0x1cd)],_0x50459d[_0x5df724(0x52f)][_0x377294][_0x5df724(0x3d0)][_0x4f31b1][_0x5df724(0x1cd)],_0x458afa);}['deleteView'](_0x2c5f93,_0x3dee19,_0x274769){const _0x54c91c=_0x4e5412;let _0x186654=_0x2c5f93['tables'][_0x3dee19],_0x1975a2=_0x186654[_0x54c91c(0x3d0)][_0x274769],_0x196a05=_0x186654[_0x54c91c(0x3a1)][_0x54c91c(0x41d)](_0x274769);return _0x517f41([_0x3deeb7[_0x54c91c(0x248)]['removeOp'](_0x516a3c[_0x54c91c(0x142)](_0x3dee19,_0x274769),_0x1975a2),_0x3deeb7[_0x54c91c(0x248)][_0x54c91c(0x2fb)]([_0x54c91c(0x52f),_0x3dee19,_0x54c91c(0x3a1),_0x196a05],_0x274769)]);}[_0x4e5412(0x4d1)](_0x293f2a,_0x1c3651,_0xc59012,_0x4aaceb){const _0x469c60=_0x4e5412;let _0x5805d6=_0x293f2a[_0x469c60(0x52f)][_0x1c3651]['viewOrder'],_0x1c8a52=_0xc79fc8(_0x5805d6,_0xc59012,{'beforeFieldId':_0x4aaceb[_0x469c60(0x124)],'afterFieldId':_0x4aaceb[_0x469c60(0x206)]});return _0x3deeb7[_0x469c60(0x248)][_0x469c60(0x36a)](['tables',_0x1c3651,_0x469c60(0x3a1)],_0x5805d6,_0x1c8a52);}[_0x4e5412(0x144)](_0xf0bee3,_0x2aab4e,_0x27d920,_0x428d1b){const _0x5cadee=_0x4e5412;let _0x204b79=_0xf0bee3[_0x5cadee(0x52f)][_0x2aab4e]['views'][_0x27d920]['config']??{},_0x2f00d2={..._0x204b79,..._0x428d1b};return Object[_0x5cadee(0x2e5)](_0x428d1b)[_0x5cadee(0x349)](_0x5e447d=>{_0x428d1b[_0x5e447d]===void 0x0&&delete _0x2f00d2[_0x5e447d];}),_0x3deeb7[_0x5cadee(0x248)][_0x5cadee(0x36a)]([..._0x516a3c[_0x5cadee(0x142)](_0x2aab4e,_0x27d920),_0x5cadee(0x505)],_0x204b79,_0x2f00d2);}[_0x4e5412(0x313)](_0x1d8ac7,_0x5e9dc1,_0x341665,_0x2a1543){const _0x398f42=_0x4e5412;return this[_0x398f42(0x406)]([..._0x516a3c[_0x398f42(0x142)](_0x5e9dc1,_0x341665),_0x398f42(0x30d)],_0x1d8ac7[_0x398f42(0x52f)][_0x5e9dc1][_0x398f42(0x3d0)][_0x341665][_0x398f42(0x30d)],_0x2a1543);}[_0x4e5412(0x4e7)](_0x4e54e6,_0x58ce72,_0x2e6e67,_0x5b474d){const _0x419d27=_0x4e5412;return this[_0x419d27(0x406)]([..._0x516a3c[_0x419d27(0x142)](_0x58ce72,_0x2e6e67),_0x419d27(0x54f)],_0x4e54e6[_0x419d27(0x52f)][_0x58ce72][_0x419d27(0x3d0)][_0x2e6e67]['sort'],_0x5b474d);}[_0x4e5412(0x45e)](_0x555254,_0x4db67e,_0x3d1e34,_0x582085){const _0x221577=_0x4e5412;return this['_replaceOptional']([..._0x516a3c[_0x221577(0x142)](_0x4db67e,_0x3d1e34),_0x221577(0x4fc)],_0x555254[_0x221577(0x52f)][_0x4db67e][_0x221577(0x3d0)][_0x3d1e34][_0x221577(0x4fc)],_0x582085);}[_0x4e5412(0x532)](_0x447a61,_0x4e017d,_0x10e49b,_0x55ccd9,_0xacd830){const _0x5885a0=_0x4e5412;return this[_0x5885a0(0x12f)](_0x447a61,_0x4e017d,_0x10e49b,_0x55ccd9,{'hidden':!_0xacd830});}[_0x4e5412(0x334)](_0x1354ad,_0x68bfed,_0x20ac40,_0x2dfc6e,_0x2daea1){const _0x2f51af=_0x4e5412;return this[_0x2f51af(0x12f)](_0x1354ad,_0x68bfed,_0x20ac40,_0x2dfc6e,{'width':_0x2daea1});}[_0x4e5412(0x13f)](_0xfde2db,_0x3c0898,_0x24ead8,_0x20ec3a,_0x450456){const _0x2bfa70=_0x4e5412;let _0x49416d=_0xfde2db[_0x2bfa70(0x52f)][_0x3c0898][_0x2bfa70(0x3d0)][_0x24ead8],_0x291e28=_0xc79fc8(_0x49416d[_0x2bfa70(0x324)]??_0xfde2db[_0x2bfa70(0x52f)][_0x3c0898][_0x2bfa70(0x324)],_0x20ec3a,_0x450456);return this[_0x2bfa70(0x406)]([..._0x516a3c[_0x2bfa70(0x142)](_0x3c0898,_0x24ead8),_0x2bfa70(0x324)],_0x49416d['fieldOrder'],_0x291e28);}[_0x4e5412(0x12f)](_0x1884a0,_0x36673d,_0x3355f0,_0x5497f0,_0x493c32){const _0x1e089e=_0x4e5412;let _0x2e3f29=_0x1884a0['tables'][_0x36673d][_0x1e089e(0x3d0)][_0x3355f0][_0x1e089e(0x116)]??{},_0x34f972={..._0x2e3f29,[_0x5497f0]:{..._0x2e3f29[_0x5497f0],..._0x493c32}};return this['_replaceOptional']([..._0x516a3c[_0x1e089e(0x142)](_0x36673d,_0x3355f0),_0x1e089e(0x116)],_0x1884a0[_0x1e089e(0x52f)][_0x36673d]['views'][_0x3355f0][_0x1e089e(0x116)],_0x34f972);}['_createRecordOrderOp'](_0x13d849,_0x1f2f3a,_0x4486fb){const _0x32418d=_0x4e5412;let _0x597448=_0x13d849['tables'][_0x1f2f3a],_0x559b21=new Set(_0x4486fb[_0x32418d(0x1fd)](_0x5b2ecc=>_0x5b2ecc['id'])),_0x141ba1=[...Object[_0x32418d(0x261)](_0x597448['records'])[_0x32418d(0x30d)](_0x2d6ffb=>!_0x559b21[_0x32418d(0x10f)](_0x2d6ffb['id'])),..._0x4486fb][_0x32418d(0x54f)]((_0x4964ce,_0x2ef985)=>String(_0x4964ce[_0x32418d(0x3a9)]??_0x4964ce['id'])[_0x32418d(0x14d)](String(_0x2ef985[_0x32418d(0x3a9)]??_0x2ef985['id'])))['map'](_0x692228=>_0x692228['id']),_0x1f9b3f=[..._0x516a3c[_0x32418d(0x561)](_0x1f2f3a),'recordOrder'];return _0x597448['recordOrder']?_0x3deeb7['JSON1']['replaceOp'](_0x1f9b3f,_0x597448[_0x32418d(0x402)],_0x141ba1):_0x3deeb7[_0x32418d(0x248)][_0x32418d(0x36b)](_0x1f9b3f,_0x141ba1);}[_0x4e5412(0x36d)](_0x13a06e,_0x15e2a2=new Set()){const _0x2ce2be=_0x4e5412;let _0x99f566=(0x0,_0x3deeb7[_0x2ce2be(0x478)])(_0x13a06e);return Object[_0x2ce2be(0x261)](_0x13a06e[_0x2ce2be(0x52f)])[_0x2ce2be(0x30d)](_0x131dcf=>!_0x15e2a2[_0x2ce2be(0x10f)](_0x131dcf['id']))[_0x2ce2be(0x54f)]((_0x218163,_0x37b683)=>_0x218163['id'][_0x2ce2be(0x14d)](_0x37b683['id']))['flatMap'](_0x4e53ff=>{const _0x4b7587=_0x2ce2be;let _0x294458=_0x99f566[_0x4b7587(0x3c1)](_0x4e53ff['id']);return!_0x294458||_0x4e53ff[_0x4b7587(0x4a4)]===_0x294458?[]:[this['_replaceOptional']([..._0x516a3c[_0x4b7587(0x561)](_0x4e53ff['id']),_0x4b7587(0x4a4)],_0x4e53ff[_0x4b7587(0x4a4)],_0x294458)];});}[_0x4e5412(0x3f4)](_0x572f88,_0x5635c5,_0x55883a,_0x5d9885){const _0x3ba12f=_0x4e5412;var _0x125b78,_0x3fce05;let _0x85fb23=_0x3dd317(_0x572f88[_0x3ba12f(0x52f)][_0x5635c5]),_0x2fd4d0=String(((_0x125b78=_0x5d9885['config'])==null?void 0x0:_0x125b78[_0x3ba12f(0x27b)])??'')['trim'](),_0x5922c5=(_0x3fce05=_0x85fb23['colIndex'])==null?void 0x0:_0x3fce05[_0x55883a];if(_0x5922c5==null)return[];let _0x72e90b=_0x85fb23[_0x3ba12f(0x402)]??Object[_0x3ba12f(0x2e5)](_0x85fb23[_0x3ba12f(0x4ce)]),_0x1890b2=_0x72e90b['map'](_0x12a802=>{const _0xbe62c2=_0x3ba12f;var _0x144bf4;return(_0x144bf4=_0x85fb23[_0xbe62c2(0x364)])==null?void 0x0:_0x144bf4[_0x12a802];})[_0x3ba12f(0x538)](_0x32760d=>_0x32760d!=null);return _0x72e90b[_0x3ba12f(0x27f)](_0x74c796=>{const _0x3b6d6c=_0x3ba12f;var _0x28d449,_0x172f20;let _0x177a8e=(_0x28d449=_0x85fb23[_0x3b6d6c(0x364)])==null?void 0x0:_0x28d449[_0x74c796];if(_0x177a8e==null)return[];let _0x1aacc8=(_0x172f20=_0x85fb23[_0x3b6d6c(0x2c7)])==null||(_0x172f20=_0x172f20[_0x177a8e])==null?void 0x0:_0x172f20[_0x5922c5],_0x204faf=_0x2fd4d0?_0x177a8e===_0x1890b2?{'f':_0x2fd4d0,'si':_0x55883a}:{'si':_0x55883a}:{'v':null,'t':null};return[this['_replaceOptional'](_0x516a3c[_0x3b6d6c(0x2c7)](_0x5635c5,_0x177a8e,_0x5922c5),_0x1aacc8,_0x204faf)];});}['_setAttachmentResources'](_0x13cfca,_0x2a1c27,_0x82c9f){const _0x25f8ba=_0x4e5412;var _0x2a6fa4;let _0x3d9ae7=new Map(Object[_0x25f8ba(0x26b)](((_0x2a6fa4=_0x13cfca[_0x25f8ba(0x26c)])==null?void 0x0:_0x2a6fa4[_0x25f8ba(0x295)])??{})),_0x35427f=new Map(),_0x334dab=new Set(),_0x2960ed=_0x82c9f[_0x25f8ba(0x1fd)](({recordId:_0x1b2c74,fieldId:_0x295d45,attachments:_0x4b345d})=>{const _0x4f2bd6=_0x25f8ba;var _0x451e1d;let _0x21ded6=_0x4c802c(_0x295d45,_0x1b2c74),_0x42e902=_0x4b345d['map']((_0x590ee2,_0x3494f5)=>String(_0x590ee2['id']??_0x21ded6+'\x1f'+_0x3494f5));return _0x334dab[_0x4f2bd6(0x2af)](_0x21ded6),_0x3d9ae7[_0x4f2bd6(0x4b6)](_0x21ded6,_0x42e902),_0x4b345d[_0x4f2bd6(0x349)]((_0x26fd3d,_0x3789a6)=>{const _0x240c68=_0x4f2bd6;let _0x1990eb=_0x42e902[_0x3789a6];_0x35427f[_0x240c68(0x4b6)](_0x1990eb,{..._0x26fd3d,'id':_0x1990eb});}),this['_replaceOptional'](_0x516a3c[_0x4f2bd6(0x32b)](_0x2a1c27,_0x21ded6),(_0x451e1d=_0x13cfca['resources'])==null||(_0x451e1d=_0x451e1d[_0x4f2bd6(0x295)])==null?void 0x0:_0x451e1d[_0x21ded6],_0x42e902);}),_0x1ad5ad=Array[_0x25f8ba(0x33c)](_0x35427f)['map'](([_0x4964cc,_0x479558])=>{const _0x208359=_0x25f8ba;var _0x1ef49f;return this[_0x208359(0x406)](_0x516a3c[_0x208359(0x3d2)](_0x2a1c27,_0x4964cc),(_0x1ef49f=_0x13cfca[_0x208359(0x26c)])==null||(_0x1ef49f=_0x1ef49f[_0x208359(0x2f0)])==null?void 0x0:_0x1ef49f[_0x4964cc],_0x479558);}),_0x37bb7a=new Set(Array[_0x25f8ba(0x33c)](_0x3d9ae7[_0x25f8ba(0x261)]())[_0x25f8ba(0x428)]()),_0x49e065=new Set(Array['from'](_0x334dab)[_0x25f8ba(0x27f)](_0x121f0d=>{const _0x45b554=_0x25f8ba;var _0x59c220;return((_0x59c220=_0x13cfca[_0x45b554(0x26c)])==null||(_0x59c220=_0x59c220[_0x45b554(0x295)])==null?void 0x0:_0x59c220[_0x121f0d])??[];})),_0x20234d=Array[_0x25f8ba(0x33c)](_0x49e065)['flatMap'](_0x4377e0=>{const _0x2d369b=_0x25f8ba;var _0x31325f;let _0x34131f=(_0x31325f=_0x13cfca['resources'])==null||(_0x31325f=_0x31325f[_0x2d369b(0x2f0)])==null?void 0x0:_0x31325f[_0x4377e0];return _0x34131f!==void 0x0&&!_0x37bb7a[_0x2d369b(0x10f)](_0x4377e0)?[_0x3deeb7['JSON1'][_0x2d369b(0x2fb)](_0x516a3c[_0x2d369b(0x3d2)](_0x2a1c27,_0x4377e0),_0x34131f)]:[];});return[..._0x2960ed,..._0x1ad5ad,..._0x20234d];}[_0x4e5412(0x2ee)](_0x447eae,_0x195686,_0x3de677){const _0x19c13d=_0x4e5412;var _0x5b8934;let _0x58443b=((_0x5b8934=_0x447eae[_0x19c13d(0x26c)])==null?void 0x0:_0x5b8934[_0x19c13d(0x295)])??{},_0x4d456a=Object['entries'](_0x58443b)[_0x19c13d(0x30d)](([_0x9a5999])=>_0x3de677(_0x9a5999));if(!_0x4d456a[_0x19c13d(0x4b3)])return[];let _0x47b159=new Set(Object[_0x19c13d(0x26b)](_0x58443b)[_0x19c13d(0x30d)](([_0x55ead7])=>!_0x3de677(_0x55ead7))[_0x19c13d(0x27f)](([,_0x306096])=>_0x306096)),_0x374362=new Set(_0x4d456a[_0x19c13d(0x27f)](([,_0xf7ce8c])=>_0xf7ce8c));return[..._0x4d456a['map'](([_0x533c9f,_0x27adb1])=>_0x3deeb7[_0x19c13d(0x248)][_0x19c13d(0x2fb)](_0x516a3c[_0x19c13d(0x32b)](_0x195686,_0x533c9f),_0x27adb1)),...Array[_0x19c13d(0x33c)](_0x374362)[_0x19c13d(0x27f)](_0x470e54=>{const _0x21d771=_0x19c13d;var _0x3ff8fe;let _0x143ee6=(_0x3ff8fe=_0x447eae[_0x21d771(0x26c)])==null||(_0x3ff8fe=_0x3ff8fe['attachments'])==null?void 0x0:_0x3ff8fe[_0x470e54];return _0x143ee6!==void 0x0&&!_0x47b159['has'](_0x470e54)?[_0x3deeb7[_0x21d771(0x248)]['removeOp'](_0x516a3c['attachment'](_0x195686,_0x470e54),_0x143ee6)]:[];})];}['_replaceOptional'](_0x343b65,_0x4095df,_0x6ef5d9){const _0x3089f3=_0x4e5412;return _0x4095df===void 0x0?_0x3deeb7[_0x3089f3(0x248)][_0x3089f3(0x36b)](_0x343b65,_0x6ef5d9):_0x3deeb7[_0x3089f3(0x248)]['replaceOp'](_0x343b65,_0x4095df,_0x6ef5d9);}};function _0x268b78(_0x22ca7e,_0x46851b,_0x4436a2,_0x522c56){const _0x486829=_0x4e5412;var _0x33ecf8;let _0x52bb64=_0x522c56[_0x486829(0x3de)];if(_0x4436a2[_0x486829(0x3de)]!==_0x52bb64||_0x52bb64!==_0x3deeb7[_0x486829(0x16c)][_0x486829(0x53f)]&&_0x52bb64!==_0x3deeb7[_0x486829(0x16c)]['MultiSelect']||_0x172e95(_0x522c56['config'][_0x486829(0x1a9)]))return{'field':_0x522c56,'patches':[]};let _0xe03f2=_0x46bc8d(_0x4436a2),_0x1149be=_0x46bc8d(_0x522c56);if(![..._0xe03f2][_0x486829(0x3a8)](_0x2db2f0=>!_0x1149be[_0x486829(0x10f)](_0x2db2f0)))return{'field':_0x522c56,'patches':[]};let _0x1fb118=_0x3651bb(_0x522c56['defaultValue'],_0x1149be,_0x52bb64),_0x457629=_0x1dad6a(_0x1fb118,_0x522c56[_0x486829(0x33d)])?_0x522c56:{..._0x522c56,'defaultValue':_0x1fb118},_0x5f0cf2=_0x3dd317(_0x22ca7e),_0x5aa0aa=(_0x33ecf8=_0x5f0cf2[_0x486829(0x1fc)])==null?void 0x0:_0x33ecf8[_0x46851b];return _0x5aa0aa==null?{'field':_0x457629,'patches':[]}:{'field':_0x457629,'patches':(_0x5f0cf2[_0x486829(0x402)]??[])[_0x486829(0x27f)](_0x3d69b8=>{const _0x330b7b=_0x486829;var _0x16124b,_0x56dfad;let _0x4e6a9b=(_0x16124b=_0x5f0cf2[_0x330b7b(0x364)])==null?void 0x0:_0x16124b[_0x3d69b8],_0x244098=(_0x56dfad=_0x5f0cf2['records'][_0x3d69b8])==null?void 0x0:_0x56dfad[_0x330b7b(0x261)][_0x46851b],_0x3a4ee9=_0x3651bb(_0x244098,_0x1149be,_0x52bb64);return _0x4e6a9b==null||_0x1dad6a(_0x3a4ee9,_0x244098)?[]:[{'row':_0x4e6a9b,'col':_0x5aa0aa,'value':_0x3a4ee9??null}];})};}function _0x172e95(_0x3b5fce){const _0x23f5f4=_0x4e5412;return typeof _0x3b5fce==_0x23f5f4(0x30b)&&!!_0x3b5fce&&'type'in _0x3b5fce&&_0x3b5fce[_0x23f5f4(0x3de)]==='field';}function _0x46bc8d(_0x1233be){const _0xaf2c61=_0x4e5412;var _0x5d1048;let _0x1b09bf=Array['isArray']((_0x5d1048=_0x1233be['config'])==null?void 0x0:_0x5d1048[_0xaf2c61(0x51a)])?_0x1233be['config'][_0xaf2c61(0x51a)]:[];return new Set(_0x1b09bf[_0xaf2c61(0x27f)](_0x20736d=>{if(!_0x20736d||typeof _0x20736d!='object'||!('id'in _0x20736d))return[];let _0x890dd8=String(_0x20736d['id']);return _0x890dd8?[_0x890dd8]:[];}));}function _0x3651bb(_0x1b46ae,_0xf0253a,_0xebe9c4){const _0xbabca1=_0x4e5412;if(_0x1b46ae==null||_0x1b46ae==='')return _0x1b46ae;if(_0xebe9c4===_0x3deeb7[_0xbabca1(0x16c)][_0xbabca1(0x53f)])return _0xf0253a[_0xbabca1(0x10f)](String(_0x1b46ae))?_0x1b46ae:null;let _0x174c2e=Array[_0xbabca1(0x2a0)](_0x1b46ae)?_0x1b46ae['map'](String):String(_0x1b46ae)[_0xbabca1(0x27e)](',')[_0xbabca1(0x1fd)](_0x396363=>_0x396363[_0xbabca1(0x2de)]())['filter'](Boolean),_0x2f7f17=_0x174c2e['filter'](_0x2c9c02=>_0xf0253a[_0xbabca1(0x10f)](_0x2c9c02));return _0x2f7f17[_0xbabca1(0x4b3)]===_0x174c2e[_0xbabca1(0x4b3)]?_0x1b46ae:Array[_0xbabca1(0x2a0)](_0x1b46ae)?_0x2f7f17:String(_0x1b46ae)['includes'](',')?_0x2f7f17[_0xbabca1(0x289)](','):_0x2f7f17[0x0]??[];}function _0x1dad6a(_0x4dad94,_0x106172){const _0x276982=_0x4e5412;return JSON[_0x276982(0x17c)](_0x4dad94)===JSON[_0x276982(0x17c)](_0x106172);}function _0x1987d8(_0x20284f,_0x6ec78c,_0x340094){const _0x4f1ae6=_0x4e5412;var _0x5600ab,_0x27a3f9,_0x13649f,_0x42458f;let _0x33aa55=(_0x5600ab=_0x20284f['rowIndex'])==null?void 0x0:_0x5600ab[_0x6ec78c],_0x309c68=(_0x27a3f9=_0x20284f[_0x4f1ae6(0x1fc)])==null?void 0x0:_0x27a3f9[_0x340094];return _0x33aa55!=null&&_0x309c68!=null&&((_0x13649f=_0x20284f['rowId'])==null?void 0x0:_0x13649f[_0x33aa55])===_0x6ec78c&&((_0x42458f=_0x20284f[_0x4f1ae6(0x2b4)])==null?void 0x0:_0x42458f[_0x309c68])===_0x340094&&_0x20284f[_0x4f1ae6(0x2c7)]!=null;}function _0x563d54(_0x53ccd9,_0x35c0bf,_0x20d574){const _0x3dc712=_0x4e5412;var _0x4a209f,_0x238827;return((_0x4a209f=_0x53ccd9[_0x3dc712(0x449)])==null?void 0x0:_0x4a209f[_0x35c0bf])!=null&&((_0x238827=_0x53ccd9['colId'])==null?void 0x0:_0x238827[_0x20d574])!=null&&_0x53ccd9[_0x3dc712(0x2c7)]!=null;}function _0xc79fc8(_0x5f06dd,_0x59af7a,_0x5d1e89){const _0x43e719=_0x4e5412;let _0x56a20d=_0x5f06dd[_0x43e719(0x30d)](_0x53dc5d=>_0x53dc5d!==_0x59af7a),_0x308cd6=_0x5d1e89[_0x43e719(0x179)]?_0x56a20d[_0x43e719(0x41d)](_0x5d1e89[_0x43e719(0x179)]):_0x5d1e89[_0x43e719(0x39e)]?_0x56a20d[_0x43e719(0x41d)](_0x5d1e89[_0x43e719(0x39e)])+0x1:_0x56a20d[_0x43e719(0x4b3)];return _0x56a20d[_0x43e719(0x3d8)](_0x308cd6<0x0?_0x56a20d['length']:_0x308cd6,0x0,_0x59af7a),_0x56a20d;}function _0x3f9e03(_0x2f9b12,_0x4ba89a,_0x27911f){const _0x104c91=_0x4e5412;let _0x5ad746=_0x2f9b12[_0x104c91(0x30d)](_0x44867e=>_0x44867e!==_0x4ba89a);return _0x5ad746[_0x104c91(0x3d8)](_0x2dc10c(_0x27911f,_0x5ad746[_0x104c91(0x4b3)]),0x0,_0x4ba89a),_0x5ad746;}function _0x1fa2d5(_0x19ddeb,_0x23a82d,_0x569f37){const _0x2a906c=_0x4e5412;if(Array[_0x2a906c(0x2a0)](_0x19ddeb))return _0x569f37===_0x2a906c(0x1ee)?_0x19ddeb[_0x2a906c(0x30d)](_0x35df4e=>_0x35df4e!==_0x23a82d):_0x19ddeb[_0x2a906c(0x27f)](_0x19c25f=>{const _0x3cabda=_0x2a906c;if(_0x19c25f&&typeof _0x19c25f==_0x3cabda(0x30b)&&!Array['isArray'](_0x19c25f)&&_0x19c25f[_0x3cabda(0x3d9)]===_0x23a82d)return[];let _0x18ebf8=_0x1fa2d5(_0x19c25f,_0x23a82d);return _0x18ebf8===void 0x0?[]:[_0x18ebf8];});if(!_0x19ddeb||typeof _0x19ddeb!=_0x2a906c(0x30b))return _0x569f37!=null&&_0x569f37[_0x2a906c(0x1fa)]('FieldId')&&_0x19ddeb===_0x23a82d?void 0x0:_0x19ddeb;let _0x52c125=_0x19ddeb;if(_0x52c125['fieldId']!==_0x23a82d)return Object[_0x2a906c(0x1ff)](Object[_0x2a906c(0x26b)](_0x52c125)[_0x2a906c(0x27f)](([_0xccec85,_0x391b80])=>{const _0x4c4e87=_0x2a906c;if(_0xccec85===_0x23a82d&&_0x569f37===_0x4c4e87(0x116))return[];let _0x5acef9=_0x1fa2d5(_0x391b80,_0x23a82d,_0xccec85);return _0x5acef9===void 0x0?[]:[[_0xccec85,_0x5acef9]];}));}function _0x2dc10c(_0x5f23d1,_0x12a7db){const _0x299c93=_0x4e5412;return Math[_0x299c93(0x37f)](0x0,Math[_0x299c93(0x27c)](_0x5f23d1,_0x12a7db));}function _0x2cbe6e(_0x51a302){'@babel/helpers - typeof';const _0x587139=_0x4e5412;return _0x2cbe6e=typeof Symbol=='function'&&typeof Symbol[_0x587139(0x2b2)]==_0x587139(0x1f0)?function(_0x1f843e){return typeof _0x1f843e;}:function(_0x39604b){const _0x32eb40=_0x587139;return _0x39604b&&typeof Symbol==_0x32eb40(0x1aa)&&_0x39604b[_0x32eb40(0x118)]===Symbol&&_0x39604b!==Symbol['prototype']?_0x32eb40(0x1f0):typeof _0x39604b;},_0x2cbe6e(_0x51a302);}function _0x4e8afb(_0x5bad1b,_0x5cc69e){const _0x5a9045=_0x4e5412;if(_0x2cbe6e(_0x5bad1b)!=_0x5a9045(0x30b)||!_0x5bad1b)return _0x5bad1b;var _0x4790e5=_0x5bad1b[Symbol[_0x5a9045(0x4e9)]];if(_0x4790e5!==void 0x0){var _0x5afad8=_0x4790e5[_0x5a9045(0x241)](_0x5bad1b,_0x5cc69e||_0x5a9045(0x427));if(_0x2cbe6e(_0x5afad8)!=_0x5a9045(0x30b))return _0x5afad8;throw TypeError(_0x5a9045(0x548));}return(_0x5cc69e===_0x5a9045(0x3d4)?String:Number)(_0x5bad1b);}function _0x4714d5(_0x55455d){const _0x1f7bf8=_0x4e5412;var _0x2e0421=_0x4e8afb(_0x55455d,_0x1f7bf8(0x3d4));return _0x2cbe6e(_0x2e0421)=='symbol'?_0x2e0421:_0x2e0421+'';}function _0x266bce(_0x19b52b,_0x18f3e6,_0x59a6c1){const _0x4b750e=_0x4e5412;return(_0x18f3e6=_0x4714d5(_0x18f3e6))in _0x19b52b?Object[_0x4b750e(0x4fb)](_0x19b52b,_0x18f3e6,{'value':_0x59a6c1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19b52b[_0x18f3e6]=_0x59a6c1,_0x19b52b;}let _0x31028e=(0x0,_0x3deeb7[_0x4e5412(0x460)])('base.field-registry.service');var _0x2bf61d=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(..._0x2bf406){const _0x102748=_0x4e5412;super(..._0x2bf406),_0x266bce(this,_0x102748(0x2c0),new Map());}['register'](_0x349b38){const _0x32be5b=_0x4e5412;return this[_0x32be5b(0x2c0)][_0x32be5b(0x4b6)](_0x349b38[_0x32be5b(0x3de)],_0x349b38),(0x0,_0x3deeb7[_0x32be5b(0x4cb)])(()=>this['_plugins']['delete'](_0x349b38['type']));}['get'](_0x206be2){const _0x3dc2e7=_0x4e5412;let _0xc67291=this[_0x3dc2e7(0x2c0)][_0x3dc2e7(0x3c1)](_0x206be2);if(!_0xc67291)throw Error(_0x3dc2e7(0x223)+_0x206be2+_0x3dc2e7(0x3aa));return _0xc67291;}['getTypePlugin'](_0x2b0be4){const _0x48a27c=_0x4e5412;return this[_0x48a27c(0x2c0)][_0x48a27c(0x3c1)](_0x2b0be4);}[_0x4e5412(0x456)](){const _0x1fe58a=_0x4e5412;return Array[_0x1fe58a(0x33c)](this[_0x1fe58a(0x2c0)][_0x1fe58a(0x261)]());}},_0x39deab=class{constructor(_0x42a586){const _0x4f62cc=_0x4e5412;this[_0x4f62cc(0x129)]=_0x42a586,_0x266bce(this,_0x4f62cc(0x3de),_0x439352[_0x4f62cc(0x120)]['Base']),_0x266bce(this,_0x4f62cc(0x34f),_0x439352[_0x4f62cc(0x530)]['Comment']),_0x266bce(this,'status',_0x3deeb7[_0x4f62cc(0x1cc)][_0x4f62cc(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x4f62cc(0x425),!0x0),this['id']=this[_0x4f62cc(0x3de)]+'.'+this['subType']+'_'+_0x42a586;}},_0x109131=class{constructor(_0x4e3d32){const _0x5211e3=_0x4e5412;this[_0x5211e3(0x129)]=_0x4e3d32,_0x266bce(this,_0x5211e3(0x3de),_0x439352[_0x5211e3(0x120)]['Base']),_0x266bce(this,_0x5211e3(0x34f),_0x439352[_0x5211e3(0x530)][_0x5211e3(0x43b)]),_0x266bce(this,_0x5211e3(0x377),_0x3deeb7[_0x5211e3(0x1cc)][_0x5211e3(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x5211e3(0x425),!0x0),this['id']=this[_0x5211e3(0x3de)]+'.'+this[_0x5211e3(0x34f)]+'_'+_0x4e3d32;}},_0x47e996=class{constructor(_0x5368a4){const _0x50cc7c=_0x4e5412;this[_0x50cc7c(0x129)]=_0x5368a4,_0x266bce(this,'type',_0x439352['UnitObject'][_0x50cc7c(0x559)]),_0x266bce(this,_0x50cc7c(0x34f),_0x439352[_0x50cc7c(0x530)]['Edit']),_0x266bce(this,_0x50cc7c(0x377),_0x3deeb7[_0x50cc7c(0x1cc)]['INIT']),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x50cc7c(0x425),!0x0),this['id']=this['type']+'.'+this[_0x50cc7c(0x34f)]+'_'+_0x5368a4;}},_0x2f358e=class{constructor(_0x238f67){const _0x2bc8e8=_0x4e5412;this['unitId']=_0x238f67,_0x266bce(this,'type',_0x439352[_0x2bc8e8(0x120)][_0x2bc8e8(0x559)]),_0x266bce(this,_0x2bc8e8(0x34f),_0x439352['UnitAction'][_0x2bc8e8(0x20e)]),_0x266bce(this,'status',_0x3deeb7['PermissionStatus'][_0x2bc8e8(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x2bc8e8(0x425),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x238f67;}},_0x318966=class{constructor(_0x18fc22,_0x7bd750){const _0x2f5dd8=_0x4e5412;this['unitId']=_0x18fc22,this[_0x2f5dd8(0x2e2)]=_0x7bd750,_0x266bce(this,_0x2f5dd8(0x3de),_0x439352[_0x2f5dd8(0x120)][_0x2f5dd8(0x13a)]),_0x266bce(this,_0x2f5dd8(0x34f),_0x439352[_0x2f5dd8(0x530)][_0x2f5dd8(0x4d2)]),_0x266bce(this,_0x2f5dd8(0x377),_0x3deeb7[_0x2f5dd8(0x1cc)][_0x2f5dd8(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x2f5dd8(0x425),!0x0),this['id']=this[_0x2f5dd8(0x3de)]+'.'+this[_0x2f5dd8(0x34f)]+'_'+_0x18fc22+'_'+_0x7bd750;}},_0x555163=class{constructor(_0x21c711,_0xf0fa02){const _0x1715bf=_0x4e5412;this[_0x1715bf(0x129)]=_0x21c711,this[_0x1715bf(0x2e2)]=_0xf0fa02,_0x266bce(this,_0x1715bf(0x3de),_0x439352['UnitObject'][_0x1715bf(0x1b4)]),_0x266bce(this,_0x1715bf(0x34f),_0x439352[_0x1715bf(0x530)][_0x1715bf(0x4d2)]),_0x266bce(this,_0x1715bf(0x377),_0x3deeb7['PermissionStatus'][_0x1715bf(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,_0x1715bf(0x425),!0x0),this['id']=this['type']+'.'+this[_0x1715bf(0x34f)]+'_'+_0x21c711+'_'+_0xf0fa02;}},_0x515e20=class{constructor(_0x2df6fd,_0x34d21e){const _0x357b79=_0x4e5412;this['unitId']=_0x2df6fd,this[_0x357b79(0x2e2)]=_0x34d21e,_0x266bce(this,_0x357b79(0x3de),_0x439352[_0x357b79(0x120)][_0x357b79(0x35d)]),_0x266bce(this,_0x357b79(0x34f),_0x439352[_0x357b79(0x530)]['Edit']),_0x266bce(this,_0x357b79(0x377),_0x3deeb7['PermissionStatus'][_0x357b79(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,'value',!0x0),this['id']=this[_0x357b79(0x3de)]+'.'+this[_0x357b79(0x34f)]+'_'+_0x2df6fd+'_'+_0x34d21e;}},_0x5da272=class{constructor(_0xf81af9,_0x51a8ec){const _0x1c41cf=_0x4e5412;this[_0x1c41cf(0x129)]=_0xf81af9,this[_0x1c41cf(0x2e2)]=_0x51a8ec,_0x266bce(this,'type',_0x439352['UnitObject']['BaseTable']),_0x266bce(this,_0x1c41cf(0x34f),_0x439352[_0x1c41cf(0x530)][_0x1c41cf(0x4d2)]),_0x266bce(this,'status',_0x3deeb7['PermissionStatus'][_0x1c41cf(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,'value',!0x0),this['id']=this[_0x1c41cf(0x3de)]+'.'+this[_0x1c41cf(0x34f)]+'_'+_0xf81af9+'_'+_0x51a8ec;}},_0x434198=class{constructor(_0x323e62,_0x485d7a){const _0xf90be6=_0x4e5412;this[_0xf90be6(0x129)]=_0x323e62,this[_0xf90be6(0x2e2)]=_0x485d7a,_0x266bce(this,_0xf90be6(0x3de),_0x439352[_0xf90be6(0x120)][_0xf90be6(0x33f)]),_0x266bce(this,_0xf90be6(0x34f),_0x439352['UnitAction'][_0xf90be6(0x4d2)]),_0x266bce(this,_0xf90be6(0x377),_0x3deeb7['PermissionStatus'][_0xf90be6(0x451)]),_0x266bce(this,'id',void 0x0),_0x266bce(this,'value',!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x323e62+'_'+_0x485d7a;}};let _0x107cbb=[_0x439352[_0x4e5412(0x530)][_0x4e5412(0x4d2)],_0x439352['UnitAction']['Copy'],_0x439352[_0x4e5412(0x530)][_0x4e5412(0x20e)],_0x439352[_0x4e5412(0x530)]['Comment']],_0x56ea7f=new Set([_0x439352[_0x4e5412(0x120)][_0x4e5412(0x559)],_0x439352['UnitObject'][_0x4e5412(0x239)],_0x439352[_0x4e5412(0x120)][_0x4e5412(0x1b4)],_0x439352[_0x4e5412(0x120)][_0x4e5412(0x35d)],_0x439352[_0x4e5412(0x120)][_0x4e5412(0x33f)],_0x439352['UnitObject'][_0x4e5412(0x13a)]]),_0x22731f=_0x4e5412(0x2ff),_0x215701=_0x4e5412(0x3a0),_0x5a86ae=_0x4e5412(0x26e),_0x13a1bf=_0x4e5412(0x309),_0x1cca03='dashboard/';function _0x4088fc(_0x4f464){return''+_0x22731f+encodeURIComponent(_0x4f464);}function _0x16c1b7(_0x470afe,_0x3497a6){return''+_0x215701+encodeURIComponent(_0x470afe)+'/'+encodeURIComponent(_0x3497a6);}function _0x2319ee(_0x2c7e35,_0x1d6f18){return''+_0x5a86ae+encodeURIComponent(_0x2c7e35)+'/'+encodeURIComponent(_0x1d6f18);}function _0x2d02e6(_0x3f9aef,_0x3fe9c6){return''+_0x13a1bf+encodeURIComponent(_0x3f9aef)+'/'+encodeURIComponent(_0x3fe9c6);}function _0x1eaa1f(_0x422dc1){return''+_0x1cca03+encodeURIComponent(_0x422dc1);}function _0x2132c5(_0x38088d,_0x2cc8b8,_0x28e1fe){const _0x1451f6=_0x4e5412;if(_0x2cc8b8===_0x38088d)switch(_0x28e1fe){case _0x439352[_0x1451f6(0x530)][_0x1451f6(0x4d2)]:return new _0x47e996(_0x38088d);case _0x439352['UnitAction']['Copy']:return new _0x109131(_0x38088d);case _0x439352['UnitAction'][_0x1451f6(0x20e)]:return new _0x2f358e(_0x38088d);case _0x439352[_0x1451f6(0x530)][_0x1451f6(0x499)]:return new _0x39deab(_0x38088d);default:throw Error(_0x1451f6(0x1b6)+_0x28e1fe);}if(_0x28e1fe!==_0x439352[_0x1451f6(0x530)][_0x1451f6(0x4d2)])throw Error(_0x1451f6(0x3ba)+_0x2cc8b8);if(_0x2cc8b8[_0x1451f6(0x247)](_0x22731f))return new _0x5da272(_0x38088d,_0x2cc8b8);if(_0x2cc8b8['startsWith'](_0x215701))return new _0x555163(_0x38088d,_0x2cc8b8);if(_0x2cc8b8[_0x1451f6(0x247)](_0x5a86ae))return new _0x515e20(_0x38088d,_0x2cc8b8);if(_0x2cc8b8[_0x1451f6(0x247)](_0x13a1bf))return new _0x434198(_0x38088d,_0x2cc8b8);if(_0x2cc8b8[_0x1451f6(0x247)](_0x1cca03))return new _0x318966(_0x38088d,_0x2cc8b8);throw Error(_0x1451f6(0x513)+_0x2cc8b8);}function _0x2e520a(_0x45ef76,_0x576987,_0x25ce1e,_0x420ce3){const _0x519a27=_0x4e5412;var _0xf7643c;return((_0xf7643c=_0x45ef76[_0x519a27(0x540)](_0x2132c5(_0x576987,_0x25ce1e,_0x420ce3)['id']))==null?void 0x0:_0xf7643c[_0x519a27(0x425)])??!0x0;}function _0x410517(_0x23d9ba,_0xae3234,_0x4e92b1,_0xd62fba,_0x2a22ab){const _0x23a08f=_0x4e5412;let _0x182ef8=_0x2132c5(_0xae3234,_0x4e92b1,_0xd62fba);_0x23d9ba[_0x23a08f(0x540)](_0x182ef8['id'])||_0x23d9ba['addPermissionPoint'](_0x182ef8),_0x23d9ba[_0x23a08f(0x36f)](_0x182ef8['id'],_0x2a22ab);}function _0x4cbdcd(_0xc438ee,_0x247b6c,_0x560ac6,_0x14442e){_0xc438ee['deletePermissionPoint'](_0x2132c5(_0x247b6c,_0x560ac6,_0x14442e)['id']);}function _0x2b87cf(_0x315325,_0x273f84){const _0x1d31d8=_0x4e5412;_0x315325[_0x1d31d8(0x264)]()[_0x1d31d8(0x349)]((_0x37a2fe,_0x145668)=>{const _0x5ce2b0=_0x1d31d8;_0x37a2fe[_0x5ce2b0(0x4ea)](_0x90c2b3=>{const _0x3a4f59=_0x5ce2b0;_0x56ea7f[_0x3a4f59(0x10f)](_0x90c2b3[_0x3a4f59(0x3de)])&&_0x3a4f59(0x129)in _0x90c2b3&&_0x90c2b3[_0x3a4f59(0x129)]===_0x273f84&&_0x315325[_0x3a4f59(0x13d)](_0x145668);})[_0x5ce2b0(0x375)]();});}function _0x20e61d(_0x1b7501,_0x408024,_0x1a226e){const _0x3a6b4d=_0x4e5412;return _0x2e520a(_0x1b7501,_0x408024,_0x408024,_0x439352[_0x3a6b4d(0x530)][_0x3a6b4d(0x4d2)])&&Array['from'](_0x1a226e)[_0x3a6b4d(0x41c)](_0x2c3c64=>_0x2e520a(_0x1b7501,_0x408024,_0x2c3c64,_0x439352[_0x3a6b4d(0x530)][_0x3a6b4d(0x4d2)]));}function _0xf4310f(_0x344a8e,_0x4bb252){return function(_0x3c327d,_0x41b60e){_0x4bb252(_0x3c327d,_0x41b60e,_0x344a8e);};}function _0x40b1f5(_0x16e20b,_0x484708,_0x5589ee,_0x38ec31){const _0x35b36d=_0x4e5412;var _0x4c4290=arguments[_0x35b36d(0x4b3)],_0x37321a=_0x4c4290<0x3?_0x484708:_0x38ec31===null?_0x38ec31=Object['getOwnPropertyDescriptor'](_0x484708,_0x5589ee):_0x38ec31,_0x19888b;if(typeof Reflect==_0x35b36d(0x30b)&&typeof Reflect[_0x35b36d(0x407)]=='function')_0x37321a=Reflect[_0x35b36d(0x407)](_0x16e20b,_0x484708,_0x5589ee,_0x38ec31);else{for(var _0x41a61d=_0x16e20b[_0x35b36d(0x4b3)]-0x1;_0x41a61d>=0x0;_0x41a61d--)(_0x19888b=_0x16e20b[_0x41a61d])&&(_0x37321a=(_0x4c4290<0x3?_0x19888b(_0x37321a):_0x4c4290>0x3?_0x19888b(_0x484708,_0x5589ee,_0x37321a):_0x19888b(_0x484708,_0x5589ee))||_0x37321a);}return _0x4c4290>0x3&&_0x37321a&&Object[_0x35b36d(0x4fb)](_0x484708,_0x5589ee,_0x37321a),_0x37321a;}let _0x40267f=(0x0,_0x3deeb7[_0x4e5412(0x460)])(_0x4e5412(0x315)),_0x3b68f9=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(_0x31e6ef,_0x2bbb1b){const _0x408556=_0x4e5412;super(),this[_0x408556(0x20b)]=_0x31e6ef,this[_0x408556(0x47f)]=_0x2bbb1b,_0x266bce(this,_0x408556(0x1ab),new Map()),_0x266bce(this,'_tablePermissions',new Map()),_0x266bce(this,_0x408556(0x493),new Map()),_0x266bce(this,'_recordPermissions',new Map()),_0x266bce(this,'_viewPermissions',new Map()),_0x266bce(this,'_tableBaseIds',new Map()),this[_0x408556(0x36c)](this[_0x408556(0x47f)][_0x408556(0x404)](_0x3deeb7[_0x408556(0x4ca)]['UNIVER_BASE'])[_0x408556(0x4ea)](_0x4b6f0c=>this['_clearUnit'](_0x4b6f0c['getUnitId']())));}[_0x4e5412(0x53c)](_0x22a6b1){const _0x116fb8=_0x4e5412;var _0x4a22e8;return this['_canEdit'](_0x22a6b1,[])&&(((_0x4a22e8=this[_0x116fb8(0x1ab)][_0x116fb8(0x3c1)](_0x22a6b1))==null?void 0x0:_0x4a22e8[_0x116fb8(0x4a1)])??!0x0);}[_0x4e5412(0x389)](_0x41ebbb){return this['_canEditTable'](_0x41ebbb);}[_0x4e5412(0x45b)](_0x5d9a52){const _0x40108b=_0x4e5412;var _0x4a92c8;return this['_canEditTable'](_0x5d9a52)&&(((_0x4a92c8=this[_0x40108b(0x420)][_0x40108b(0x3c1)](_0x5d9a52))==null?void 0x0:_0x4a92c8[_0x40108b(0x566)])??!0x0);}[_0x4e5412(0x1f7)](_0x5626ca){const _0x48f8f5=_0x4e5412;var _0xb0435d;return this[_0x48f8f5(0x4ab)](_0x5626ca)&&(((_0xb0435d=this[_0x48f8f5(0x420)][_0x48f8f5(0x3c1)](_0x5626ca))==null?void 0x0:_0xb0435d[_0x48f8f5(0x2b6)])??!0x0);}['canEditField'](_0x36a416,_0x5c85f0){const _0x43d779=_0x4e5412;var _0xc5d0c8;return this['_canEditTable'](_0x36a416)&&this[_0x43d779(0x3f0)](_0x36a416,[_0x16c1b7(_0x36a416,_0x5c85f0)])&&(((_0xc5d0c8=this[_0x43d779(0x493)][_0x43d779(0x3c1)](_0x8e88d9(_0x36a416,_0x5c85f0)))==null?void 0x0:_0xc5d0c8[_0x43d779(0x435)])??!0x0);}[_0x4e5412(0x4ec)](_0x2570f5,_0x4629a8){const _0xc364b1=_0x4e5412;var _0x48a0ba;return this['canEditField'](_0x2570f5,_0x4629a8)&&(((_0x48a0ba=this[_0xc364b1(0x493)][_0xc364b1(0x3c1)](_0x8e88d9(_0x2570f5,_0x4629a8)))==null?void 0x0:_0x48a0ba[_0xc364b1(0x566)])??!0x0);}['canCreateRecord'](_0x47ed09){const _0x9888a4=_0x4e5412;var _0x5200cf;return this[_0x9888a4(0x4ab)](_0x47ed09)&&(((_0x5200cf=this['_tablePermissions'][_0x9888a4(0x3c1)](_0x47ed09))==null?void 0x0:_0x5200cf['createRecord'])??!0x0);}[_0x4e5412(0x24e)](_0x14870c,_0x22c589){const _0x27057=_0x4e5412;var _0x4b01ff;let _0x31eef8=this[_0x27057(0x3f9)][_0x27057(0x3c1)](_0x117997(_0x14870c,_0x22c589));return this['_canEdit'](_0x14870c,[_0x4088fc(_0x14870c),_0x2319ee(_0x14870c,_0x22c589)])&&(((_0x4b01ff=this[_0x27057(0x420)][_0x27057(0x3c1)](_0x14870c))==null?void 0x0:_0x4b01ff[_0x27057(0x435)])??!0x0)&&((_0x31eef8==null?void 0x0:_0x31eef8['edit'])??!0x0)&&((_0x31eef8==null?void 0x0:_0x31eef8[_0x27057(0x3b3)])??!0x0);}[_0x4e5412(0x323)](_0x4f4e24,_0x1544c2){const _0x16dd27=_0x4e5412;var _0x11656e,_0x7ba642,_0xa15cac;return this[_0x16dd27(0x3f0)](_0x4f4e24,[_0x4088fc(_0x4f4e24),_0x2319ee(_0x4f4e24,_0x1544c2)])&&(((_0x11656e=this[_0x16dd27(0x420)][_0x16dd27(0x3c1)](_0x4f4e24))==null?void 0x0:_0x11656e[_0x16dd27(0x435)])??!0x0)&&(((_0x7ba642=this[_0x16dd27(0x3f9)][_0x16dd27(0x3c1)](_0x117997(_0x4f4e24,_0x1544c2)))==null?void 0x0:_0x7ba642[_0x16dd27(0x435)])??!0x0)&&(((_0xa15cac=this[_0x16dd27(0x3f9)][_0x16dd27(0x3c1)](_0x117997(_0x4f4e24,_0x1544c2)))==null?void 0x0:_0xa15cac['delete'])??!0x0);}[_0x4e5412(0x4af)](_0x165f66,_0x39944c,_0x490d2c){const _0x15084c=_0x4e5412;var _0x44bbb1,_0x2146ff,_0x5a3980;let _0x30d823=this[_0x15084c(0x493)][_0x15084c(0x3c1)](_0x8e88d9(_0x165f66,_0x490d2c));return this['_canEdit'](_0x165f66,[_0x4088fc(_0x165f66),_0x16c1b7(_0x165f66,_0x490d2c),_0x2319ee(_0x165f66,_0x39944c)])&&(((_0x44bbb1=this[_0x15084c(0x420)][_0x15084c(0x3c1)](_0x165f66))==null?void 0x0:_0x44bbb1[_0x15084c(0x435)])??!0x0)&&(((_0x2146ff=this[_0x15084c(0x3f9)][_0x15084c(0x3c1)](_0x117997(_0x165f66,_0x39944c)))==null?void 0x0:_0x2146ff[_0x15084c(0x435)])??!0x0)&&(((_0x5a3980=this[_0x15084c(0x3f9)]['get'](_0x117997(_0x165f66,_0x39944c)))==null?void 0x0:_0x5a3980[_0x15084c(0x3b3)])??!0x0)&&((_0x30d823==null?void 0x0:_0x30d823['edit'])??!0x0)&&((_0x30d823==null?void 0x0:_0x30d823[_0x15084c(0x3b3)])??!0x0);}['canManageView'](_0x15b4b1,_0x3596d5){const _0x12ff89=_0x4e5412;var _0x571178,_0x2533cb,_0xa93e56;return this['_canEdit'](_0x15b4b1,[_0x4088fc(_0x15b4b1),_0x2d02e6(_0x15b4b1,_0x3596d5)])&&(((_0x571178=this[_0x12ff89(0x420)]['get'](_0x15b4b1))==null?void 0x0:_0x571178[_0x12ff89(0x435)])??!0x0)&&(((_0x2533cb=this['_viewPermissions'][_0x12ff89(0x3c1)](_0x3d63a7(_0x15b4b1,_0x3596d5)))==null?void 0x0:_0x2533cb[_0x12ff89(0x435)])??!0x0)&&(((_0xa93e56=this[_0x12ff89(0x420)][_0x12ff89(0x3c1)](_0x15b4b1))==null?void 0x0:_0xa93e56[_0x12ff89(0x114)])??!0x0);}[_0x4e5412(0x471)](_0x495cf1,_0x1a07d5){const _0x424e7c=_0x4e5412;this[_0x424e7c(0x1ab)][_0x424e7c(0x4b6)](_0x495cf1,{...this['_basePermissions'][_0x424e7c(0x3c1)](_0x495cf1),..._0x1a07d5}),_0x1a07d5[_0x424e7c(0x435)]!==void 0x0&&_0x410517(this['_permissionService'],_0x495cf1,_0x495cf1,_0x439352[_0x424e7c(0x530)][_0x424e7c(0x4d2)],_0x1a07d5[_0x424e7c(0x435)]);}[_0x4e5412(0x481)](_0x48a7b0,_0x12d07a){const _0xb0d094=_0x4e5412;this['_rememberTable'](_0x48a7b0),this[_0xb0d094(0x420)][_0xb0d094(0x4b6)](_0x48a7b0,{...this[_0xb0d094(0x420)][_0xb0d094(0x3c1)](_0x48a7b0),..._0x12d07a}),this[_0xb0d094(0x160)](_0x48a7b0,_0x4088fc(_0x48a7b0),_0x12d07a[_0xb0d094(0x435)]);}[_0x4e5412(0x276)](_0x1ce2bb,_0x597899,_0x344ab9){const _0xfe903e=_0x4e5412;this['_rememberTable'](_0x1ce2bb);let _0x7e3dfb=_0x8e88d9(_0x1ce2bb,_0x597899);this[_0xfe903e(0x493)][_0xfe903e(0x4b6)](_0x7e3dfb,{...this[_0xfe903e(0x493)][_0xfe903e(0x3c1)](_0x7e3dfb),..._0x344ab9}),this[_0xfe903e(0x160)](_0x1ce2bb,_0x16c1b7(_0x1ce2bb,_0x597899),_0x344ab9[_0xfe903e(0x435)]);}['setRecordPermission'](_0x32de24,_0x131296,_0x56dbdf){const _0x3f637c=_0x4e5412;this[_0x3f637c(0x2df)](_0x32de24);let _0x5f86ad=_0x117997(_0x32de24,_0x131296);this[_0x3f637c(0x3f9)][_0x3f637c(0x4b6)](_0x5f86ad,{...this[_0x3f637c(0x3f9)][_0x3f637c(0x3c1)](_0x5f86ad),..._0x56dbdf}),this[_0x3f637c(0x160)](_0x32de24,_0x2319ee(_0x32de24,_0x131296),_0x56dbdf[_0x3f637c(0x435)]);}[_0x4e5412(0x3c2)](_0xabe00c,_0x204abb,_0x2cdf29){const _0x3d1e3a=_0x4e5412;this[_0x3d1e3a(0x2df)](_0xabe00c);let _0x19be42=_0x3d63a7(_0xabe00c,_0x204abb);this[_0x3d1e3a(0x3c5)][_0x3d1e3a(0x4b6)](_0x19be42,{...this[_0x3d1e3a(0x3c5)]['get'](_0x19be42),..._0x2cdf29}),this['_setObjectEdit'](_0xabe00c,_0x2d02e6(_0xabe00c,_0x204abb),_0x2cdf29[_0x3d1e3a(0x435)]);}[_0x4e5412(0x146)](_0xa8ce78){const _0x484e2c=_0x4e5412;this['_basePermissions'][_0x484e2c(0x566)](_0xa8ce78),_0x4cbdcd(this['_permissionService'],_0xa8ce78,_0xa8ce78,_0x439352[_0x484e2c(0x530)][_0x484e2c(0x4d2)]);}[_0x4e5412(0x454)](_0x541408){const _0x1b1a17=_0x4e5412;this[_0x1b1a17(0x420)]['delete'](_0x541408),this[_0x1b1a17(0x522)](_0x541408,_0x4088fc(_0x541408));}['clearFieldPermission'](_0xfb3bf2,_0x269f8c){const _0x5f4622=_0x4e5412;this[_0x5f4622(0x493)]['delete'](_0x8e88d9(_0xfb3bf2,_0x269f8c)),this[_0x5f4622(0x522)](_0xfb3bf2,_0x16c1b7(_0xfb3bf2,_0x269f8c));}['clearRecordPermission'](_0x79adf5,_0x33ee0c){const _0x1ba116=_0x4e5412;this[_0x1ba116(0x3f9)][_0x1ba116(0x566)](_0x117997(_0x79adf5,_0x33ee0c)),this[_0x1ba116(0x522)](_0x79adf5,_0x2319ee(_0x79adf5,_0x33ee0c));}['clearViewPermission'](_0x11c776,_0x2902b4){const _0x41c393=_0x4e5412;this[_0x41c393(0x3c5)][_0x41c393(0x566)](_0x3d63a7(_0x11c776,_0x2902b4)),this[_0x41c393(0x522)](_0x11c776,_0x2d02e6(_0x11c776,_0x2902b4));}[_0x4e5412(0x21d)](){const _0x313a69=_0x4e5412;return{'bases':Object[_0x313a69(0x1ff)](this[_0x313a69(0x1ab)]),'tables':Object[_0x313a69(0x1ff)](this[_0x313a69(0x420)]),'fields':Object[_0x313a69(0x1ff)](this[_0x313a69(0x493)]),'records':Object[_0x313a69(0x1ff)](this[_0x313a69(0x3f9)]),'views':Object[_0x313a69(0x1ff)](this['_viewPermissions'])};}[_0x4e5412(0x4ab)](_0x52595b){const _0x4cb037=_0x4e5412;var _0x26df43;return this[_0x4cb037(0x3f0)](_0x52595b,[_0x4088fc(_0x52595b)])&&(((_0x26df43=this[_0x4cb037(0x420)][_0x4cb037(0x3c1)](_0x52595b))==null?void 0x0:_0x26df43[_0x4cb037(0x435)])??!0x0);}['_canEdit'](_0x5a6016,_0xb61d2f){const _0x2ff550=_0x4e5412;var _0x4567c0;let _0x2d7d52=this[_0x2ff550(0x514)](_0x5a6016);return!_0x2d7d52||_0x20e61d(this['_permissionService'],_0x2d7d52,_0xb61d2f)&&(((_0x4567c0=this[_0x2ff550(0x1ab)][_0x2ff550(0x3c1)](_0x2d7d52))==null?void 0x0:_0x4567c0[_0x2ff550(0x435)])??!0x0);}[_0x4e5412(0x160)](_0x4b9eda,_0x2e1366,_0x5eae88){const _0xa9cc55=_0x4e5412;if(_0x5eae88===void 0x0)return;let _0x4c7bdf=this[_0xa9cc55(0x514)](_0x4b9eda);_0x4c7bdf&&_0x410517(this[_0xa9cc55(0x20b)],_0x4c7bdf,_0x2e1366,_0x439352['UnitAction'][_0xa9cc55(0x4d2)],_0x5eae88);}[_0x4e5412(0x522)](_0x158295,_0x37073e){const _0xdf7d02=_0x4e5412;let _0x4aa971=this[_0xdf7d02(0x514)](_0x158295);_0x4aa971&&_0x4cbdcd(this[_0xdf7d02(0x20b)],_0x4aa971,_0x37073e,_0x439352[_0xdf7d02(0x530)]['Edit']);}[_0x4e5412(0x514)](_0x2de905){const _0x235946=_0x4e5412;var _0x1b57fa;let _0x3a0974=this[_0x235946(0x47f)][_0x235946(0x14e)](_0x2de905,_0x3deeb7[_0x235946(0x4ca)]['UNIVER_BASE']);return _0x3a0974?_0x3a0974[_0x235946(0x413)]():(_0x1b57fa=this[_0x235946(0x47f)][_0x235946(0x3da)](_0x3deeb7[_0x235946(0x4ca)][_0x235946(0x475)])[_0x235946(0x538)](_0x9459fd=>!!_0x9459fd['getSnapshot']()[_0x235946(0x52f)][_0x2de905]))==null?void 0x0:_0x1b57fa[_0x235946(0x413)]();}[_0x4e5412(0x2df)](_0x284fbf){const _0x28f183=_0x4e5412;let _0x5b7b43=this['_resolveBaseId'](_0x284fbf);_0x5b7b43&&this['_tableBaseIds'][_0x28f183(0x4b6)](_0x284fbf,_0x5b7b43);}[_0x4e5412(0x110)](_0x440f7c){const _0x2482fd=_0x4e5412;this[_0x2482fd(0x1ab)]['delete'](_0x440f7c),this[_0x2482fd(0x342)][_0x2482fd(0x349)]((_0x4761fb,_0x26e998)=>{const _0x22e766=_0x2482fd;_0x4761fb===_0x440f7c&&(this[_0x22e766(0x420)][_0x22e766(0x566)](_0x26e998),_0x55ad58(this[_0x22e766(0x493)],_0x26e998+'\x1f'),_0x55ad58(this['_recordPermissions'],_0x26e998+'\x1f'),_0x55ad58(this[_0x22e766(0x3c5)],_0x26e998+'\x1f'),this['_tableBaseIds'][_0x22e766(0x566)](_0x26e998));});}};_0x3b68f9=_0x40b1f5([_0xf4310f(0x0,_0x3deeb7[_0x4e5412(0x3ce)]),_0xf4310f(0x1,_0x3deeb7[_0x4e5412(0x4b4)])],_0x3b68f9);function _0x55ad58(_0x230776,_0x2c6d9d){_0x230776['forEach']((_0x407448,_0x3725c1)=>{_0x3725c1['startsWith'](_0x2c6d9d)&&_0x230776['delete'](_0x3725c1);});}function _0x8e88d9(_0x27fbd6,_0x41f7ba){return _0x27fbd6+'\x1f'+_0x41f7ba;}function _0x117997(_0x452db3,_0x555329){return _0x452db3+'\x1f'+_0x555329;}function _0x3d63a7(_0x3c1cda,_0x188d57){return _0x3c1cda+'\x1f'+_0x188d57;}let _0x36bcc9=(0x0,_0x3deeb7[_0x4e5412(0x460)])(_0x4e5412(0x394)),_0x571937=class{constructor(_0x4c9ff2,_0x1339b8=_0x576214(),_0x472721={}){const _0x45e8a6=_0x4e5412;this[_0x45e8a6(0x20b)]=_0x4c9ff2,this[_0x45e8a6(0x42b)]=_0x1339b8,this['_runtimeContext']=_0x472721,_0x266bce(this,'_factory',new _0x38af97()),_0x266bce(this,_0x45e8a6(0x217),new _0x162342());}[_0x4e5412(0x4a1)](_0x37fd9b,_0x21ce65,_0x128623){const _0x55674b=_0x4e5412;if(!this[_0x55674b(0x20b)][_0x55674b(0x53c)](_0x37fd9b[_0x55674b(0x413)]()))throw Error(_0x55674b(0x383));(0x0,_0x3deeb7['assertBaseTableRecordIdentity'])(_0x21ce65),this[_0x55674b(0x366)](_0x37fd9b,this[_0x55674b(0x2a1)][_0x55674b(0x4a1)](_0x37fd9b[_0x55674b(0x21d)](),_0x21ce65,_0x128623));}[_0x4e5412(0x302)](_0x26acdd,_0x5d5dc5,_0x4b8047){const _0xf9fa7d=_0x4e5412;if(!this[_0xf9fa7d(0x20b)][_0xf9fa7d(0x389)](_0x5d5dc5))throw Error(_0xf9fa7d(0x45c));this[_0xf9fa7d(0x366)](_0x26acdd,this[_0xf9fa7d(0x2a1)][_0xf9fa7d(0x302)](_0x26acdd[_0xf9fa7d(0x21d)](),_0x5d5dc5,_0x4b8047));}[_0x4e5412(0x44c)](_0x9f78c,_0x1e5fef){const _0x3677f6=_0x4e5412;if(!this[_0x3677f6(0x20b)][_0x3677f6(0x45b)](_0x1e5fef))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0x3f0a9a=_0x394fe9(_0x9f78c['getSnapshot'](),_0x1e5fef);if(_0x3f0a9a[_0x3677f6(0x4b3)]>0x0)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20('+_0x3f0a9a[_0x3677f6(0x1fd)](_0x145a58=>_0x145a58[_0x3677f6(0x4fe)]+'.'+_0x145a58['fieldId'])['join'](',\x20')+').');this[_0x3677f6(0x366)](_0x9f78c,this['_factory']['deleteTable'](_0x9f78c[_0x3677f6(0x21d)](),_0x1e5fef));}[_0x4e5412(0x222)](_0x11f8c4,_0x3e4a3c,_0x2a1b9f,_0x3a99c5,_0x1af89c){const _0x33803f=_0x4e5412;this[_0x33803f(0x366)](_0x11f8c4,this['createUpdateCellOp'](_0x11f8c4,_0x3e4a3c,_0x2a1b9f,_0x3a99c5,_0x1af89c));}[_0x4e5412(0x1f1)](_0x1bef05,_0x4b08d6,_0x46f044){const _0x5b2b8f=_0x4e5412;this[_0x5b2b8f(0x366)](_0x1bef05,this[_0x5b2b8f(0x2c9)](_0x1bef05,_0x4b08d6,_0x46f044));}['createRecord'](_0x5919d8,_0x2d3fba,_0x140122){const _0x383ab0=_0x4e5412;this[_0x383ab0(0x366)](_0x5919d8,this[_0x383ab0(0x384)](_0x5919d8,_0x2d3fba,_0x140122));}[_0x4e5412(0x3fa)](_0x29aa25,_0x5adc4c,_0x24ca6b,_0x175499,_0x195904){const _0x3fff9c=_0x4e5412;let _0x3d83fe=_0x29aa25[_0x3fff9c(0x21d)](),_0x29e080=this[_0x3fff9c(0x127)](_0x3d83fe,_0x5adc4c,_0x24ca6b,_0x175499,_0x195904),_0x2b0c11=this[_0x3fff9c(0x4a7)](_0x3d83fe,_0x5adc4c,_0x24ca6b,{[_0x175499]:_0x29e080});return this[_0x3fff9c(0x2a1)]['setRecordValues'](_0x3d83fe,_0x5adc4c,[_0x2b0c11]);}[_0x4e5412(0x2c9)](_0x3fd655,_0x32fc6b,_0x58dd9e){const _0x45cdf9=_0x4e5412;let _0x4a4e88=_0x3fd655[_0x45cdf9(0x21d)](),_0x48545b=_0x58dd9e['map'](_0x502229=>this['_withModifiedSystemValues'](_0x4a4e88,_0x32fc6b,_0x502229[_0x45cdf9(0x3b0)],{...Object[_0x45cdf9(0x1ff)](Object[_0x45cdf9(0x26b)](_0x502229['values'])[_0x45cdf9(0x1fd)](([_0x53f3b8,_0x2ddaf6])=>[_0x53f3b8,this[_0x45cdf9(0x127)](_0x4a4e88,_0x32fc6b,_0x502229[_0x45cdf9(0x3b0)],_0x53f3b8,_0x2ddaf6)]))}));return this[_0x45cdf9(0x2a1)][_0x45cdf9(0x1f1)](_0x4a4e88,_0x32fc6b,_0x48545b);}[_0x4e5412(0x384)](_0xdd1a54,_0x468f32,_0x1fbd83){const _0x3a81f5=_0x4e5412;if(!this[_0x3a81f5(0x20b)][_0x3a81f5(0x344)](_0x468f32))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x16cdd5=_0xdd1a54[_0x3a81f5(0x21d)](),_0x2cd58d=this['_createNumberingAllocators'](_0x16cdd5[_0x3a81f5(0x52f)][_0x468f32]);return this[_0x3a81f5(0x2a1)][_0x3a81f5(0x38c)](_0x16cdd5,_0x468f32,this['_createRecordWithDefaults'](_0x16cdd5,_0x468f32,_0x1fbd83,_0x2cd58d));}[_0x4e5412(0x452)](_0x4dac09,_0x1d6af1,_0x50e77f){const _0x5935c6=_0x4e5412;if(!this['_permissionService'][_0x5935c6(0x344)](_0x1d6af1))throw Error(_0x5935c6(0x4e5));let _0x47ae43=_0x4dac09[_0x5935c6(0x21d)]();return _0x2eb728(_0x5935c6(0x1a2),()=>{const _0x5039bb=_0x5935c6;let _0x2f96ae=this[_0x5039bb(0x22f)](_0x47ae43[_0x5039bb(0x52f)][_0x1d6af1]);return this[_0x5039bb(0x2a1)][_0x5039bb(0x560)](_0x47ae43,_0x1d6af1,_0x50e77f[_0x5039bb(0x1fd)](_0x25fc04=>this['_createRecordWithDefaults'](_0x47ae43,_0x1d6af1,_0x25fc04,_0x2f96ae)));},{'existingRecords':Object[_0x5935c6(0x2e5)](_0x47ae43[_0x5935c6(0x52f)][_0x1d6af1][_0x5935c6(0x4ce)])['length'],'records':_0x50e77f[_0x5935c6(0x4b3)]});}[_0x4e5412(0x4ff)](_0x61ab32,_0x4416ff,_0x50905e,_0x35a80c,_0xacdd41){const _0xe7d78f=_0x4e5412;if(!this[_0xe7d78f(0x20b)]['canCreateField'](_0x4416ff))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0xc2769c=_0x61ab32['getSnapshot']();if(this[_0xe7d78f(0x254)](_0xc2769c,_0x50905e),_0x35a80c===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x12b391=this[_0xe7d78f(0x2a1)][_0xe7d78f(0x2b6)](_0xc2769c,_0x4416ff,{'field':_0x50905e,'index':_0x35a80c,'viewIndexes':_0xacdd41}),_0x190551=this[_0xe7d78f(0x34c)](_0xc2769c,_0x4416ff,_0x50905e);if(!_0x190551[_0xe7d78f(0x4b3)])return _0x12b391;let _0x431ffc=this[_0xe7d78f(0x217)][_0xe7d78f(0x16f)](_0xc2769c,_0x12b391);return _0x517f41([_0x12b391,this[_0xe7d78f(0x2a1)][_0xe7d78f(0x1f1)](_0x431ffc,_0x4416ff,_0x190551)]);}[_0x4e5412(0x533)](_0x112a96,_0xa0318,_0x1be640){const _0x373a1d=_0x4e5412;if(!this[_0x373a1d(0x20b)][_0x373a1d(0x323)](_0xa0318,_0x1be640))throw Error(_0x373a1d(0x2e8));this[_0x373a1d(0x366)](_0x112a96,this[_0x373a1d(0x2a1)]['deleteRecord'](_0x112a96['getSnapshot'](),_0xa0318,_0x1be640));}[_0x4e5412(0x46a)](_0x3b246e,_0x505d7f,_0x568d12,_0x205513){const _0x4d46ad=_0x4e5412;if(!this['_permissionService']['canCreateRecord'](_0x505d7f))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');this[_0x4d46ad(0x366)](_0x3b246e,this[_0x4d46ad(0x2a1)][_0x4d46ad(0x46a)](_0x3b246e[_0x4d46ad(0x21d)](),_0x505d7f,_0x568d12,{..._0x205513,'values':{..._0x205513[_0x4d46ad(0x261)],[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:_0x205513['id']}}));}['updateRecordOrder'](_0xbe21d2,_0xb2204c,_0x16d15a,_0x161aa5){const _0x34d566=_0x4e5412;if(!this['_permissionService'][_0x34d566(0x24e)](_0xb2204c,_0x16d15a))throw Error(_0x34d566(0x55a));this[_0x34d566(0x366)](_0xbe21d2,this['_factory']['updateRecordOrder'](_0xbe21d2[_0x34d566(0x21d)](),_0xb2204c,_0x16d15a,_0x161aa5));}['createField'](_0x3111fe,_0x4a476a,_0x24f6d3,_0x3ed9cb,_0x14052b){const _0x557a80=_0x4e5412;this['_apply'](_0x3111fe,this[_0x557a80(0x4ff)](_0x3111fe,_0x4a476a,_0x24f6d3,_0x3ed9cb,_0x14052b));}[_0x4e5412(0x1ec)](_0x54d7c5,_0x5a3e07,_0x1b83d4,_0x5f3d9c){const _0x49275c=_0x4e5412;var _0x1ada62;if(!this['_permissionService']['canEditField'](_0x5a3e07,_0x1b83d4))throw Error(_0x49275c(0x25b));let _0x2b30e4=_0x54d7c5['getSnapshot'](),_0x314b26=(_0x1ada62=_0x2b30e4['tables'][_0x5a3e07])==null?void 0x0:_0x1ada62[_0x49275c(0x135)][_0x1b83d4];if(!_0x314b26||_0x1b83d4===_0x3deeb7[_0x49275c(0x2b7)])throw Error(_0x49275c(0x2f2));this[_0x49275c(0x254)](_0x2b30e4,{..._0x314b26,..._0x5f3d9c}),this[_0x49275c(0x366)](_0x54d7c5,this[_0x49275c(0x2a1)][_0x49275c(0x1ec)](_0x2b30e4,_0x5a3e07,_0x1b83d4,_0x5f3d9c));}['changeFieldType'](_0x14ceaa,_0x311d72,_0x5e5e8b,_0x360508){const _0x39d158=_0x4e5412;var _0x3b2fa8;if(!this[_0x39d158(0x20b)][_0x39d158(0x1e3)](_0x311d72,_0x5e5e8b))throw Error(_0x39d158(0x25b));let _0x50fd90=_0x14ceaa[_0x39d158(0x21d)](),_0x327498=(_0x3b2fa8=_0x50fd90['tables'][_0x311d72])==null?void 0x0:_0x3b2fa8[_0x39d158(0x135)][_0x5e5e8b];if(!_0x327498||_0x5e5e8b===_0x3deeb7['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x39d158(0x555));this[_0x39d158(0x254)](_0x50fd90,{..._0x327498,..._0x360508}),this[_0x39d158(0x366)](_0x14ceaa,this['_factory'][_0x39d158(0x510)](_0x50fd90,_0x311d72,_0x5e5e8b,_0x360508));}[_0x4e5412(0x531)](_0x585af5,_0x2a397d,_0x16986c){const _0x39a4f4=_0x4e5412;var _0x23f73c;if(((_0x23f73c=_0x585af5[_0x39a4f4(0x21d)]()[_0x39a4f4(0x52f)][_0x2a397d])==null?void 0x0:_0x23f73c[_0x39a4f4(0x3fb)])===_0x16986c||_0x16986c===_0x3deeb7['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x39a4f4(0x145));if(!this[_0x39a4f4(0x20b)][_0x39a4f4(0x4ec)](_0x2a397d,_0x16986c))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this['_apply'](_0x585af5,this[_0x39a4f4(0x2a1)][_0x39a4f4(0x531)](_0x585af5['getSnapshot'](),_0x2a397d,_0x16986c));}[_0x4e5412(0x272)](_0x3a9c0f,_0x41659a,_0x10e37a,_0xadfdf3){const _0x16d7c2=_0x4e5412;if(!this[_0x16d7c2(0x20b)]['canEditField'](_0x41659a,_0x10e37a))throw Error(_0x16d7c2(0x25b));if(_0x10e37a===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']||_0xadfdf3[_0x16d7c2(0x179)]===_0x3deeb7['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x16d7c2(0x213));this['_apply'](_0x3a9c0f,this[_0x16d7c2(0x2a1)][_0x16d7c2(0x272)](_0x3a9c0f[_0x16d7c2(0x21d)](),_0x41659a,_0x10e37a,_0xadfdf3));}[_0x4e5412(0x51b)](_0x2fa642,_0x2a5561,_0x583421,_0x2e9f36){const _0x5ab83e=_0x4e5412;if(!this[_0x5ab83e(0x20b)][_0x5ab83e(0x293)](_0x2a5561,_0x583421['id']))throw Error(_0x5ab83e(0x28a));this[_0x5ab83e(0x366)](_0x2fa642,this[_0x5ab83e(0x2a1)][_0x5ab83e(0x51b)](_0x2fa642['getSnapshot'](),_0x2a5561,_0x583421,_0x2e9f36));}['renameView'](_0x24ff57,_0x1fd7b7,_0x5d0bfc,_0x4aab6d){const _0x322ec8=_0x4e5412;if(!this['_permissionService'][_0x322ec8(0x293)](_0x1fd7b7,_0x5d0bfc))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x322ec8(0x366)](_0x24ff57,this['_factory'][_0x322ec8(0x29b)](_0x24ff57['getSnapshot'](),_0x1fd7b7,_0x5d0bfc,_0x4aab6d));}[_0x4e5412(0x3f1)](_0xe386e,_0x1f4ec6,_0x31ba18){const _0x15915e=_0x4e5412;if(!this[_0x15915e(0x20b)][_0x15915e(0x293)](_0x1f4ec6,_0x31ba18))throw Error(_0x15915e(0x28a));this['_apply'](_0xe386e,this['_factory'][_0x15915e(0x3f1)](_0xe386e[_0x15915e(0x21d)](),_0x1f4ec6,_0x31ba18));}[_0x4e5412(0x4d1)](_0x1fb236,_0x2567cf,_0x380ac3,_0x3e1573){const _0x43ad08=_0x4e5412;if(!this[_0x43ad08(0x20b)][_0x43ad08(0x293)](_0x2567cf,_0x380ac3))throw Error(_0x43ad08(0x28a));this[_0x43ad08(0x366)](_0x1fb236,this[_0x43ad08(0x2a1)]['moveView'](_0x1fb236[_0x43ad08(0x21d)](),_0x2567cf,_0x380ac3,_0x3e1573));}[_0x4e5412(0x144)](_0x1e369c,_0x1d6826,_0x3f2d36,_0x6485d7){const _0x294597=_0x4e5412;if(!this[_0x294597(0x20b)][_0x294597(0x293)](_0x1d6826,_0x3f2d36))throw Error(_0x294597(0x28a));this[_0x294597(0x366)](_0x1e369c,this[_0x294597(0x2a1)]['updateViewConfig'](_0x1e369c[_0x294597(0x21d)](),_0x1d6826,_0x3f2d36,_0x6485d7));}['setViewFilter'](_0x5a4d94,_0x2e1826,_0x40d7ad,_0x336707){const _0x9e0456=_0x4e5412;if(!this['_permissionService'][_0x9e0456(0x293)](_0x2e1826,_0x40d7ad))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x9e0456(0x366)](_0x5a4d94,this['_factory']['setViewFilter'](_0x5a4d94[_0x9e0456(0x21d)](),_0x2e1826,_0x40d7ad,_0x336707));}[_0x4e5412(0x4e7)](_0x18025d,_0x5768a6,_0x34954b,_0x91cdef){const _0x10331a=_0x4e5412;if(!this[_0x10331a(0x20b)][_0x10331a(0x293)](_0x5768a6,_0x34954b))throw Error(_0x10331a(0x28a));this['_apply'](_0x18025d,this[_0x10331a(0x2a1)]['setViewSort'](_0x18025d[_0x10331a(0x21d)](),_0x5768a6,_0x34954b,_0x91cdef));}[_0x4e5412(0x45e)](_0xda7228,_0x2566d1,_0x4eef64,_0x524554){const _0x456832=_0x4e5412;if(!this[_0x456832(0x20b)][_0x456832(0x293)](_0x2566d1,_0x4eef64))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x456832(0x366)](_0xda7228,this[_0x456832(0x2a1)][_0x456832(0x45e)](_0xda7228[_0x456832(0x21d)](),_0x2566d1,_0x4eef64,_0x524554));}[_0x4e5412(0x532)](_0x1becf9,_0x757a5e,_0x5548d4,_0x3e4f3f,_0x377cfa){const _0x558d89=_0x4e5412;if(!this[_0x558d89(0x20b)][_0x558d89(0x293)](_0x757a5e,_0x5548d4))throw Error(_0x558d89(0x28a));this[_0x558d89(0x366)](_0x1becf9,this[_0x558d89(0x2a1)][_0x558d89(0x532)](_0x1becf9[_0x558d89(0x21d)](),_0x757a5e,_0x5548d4,_0x3e4f3f,_0x377cfa));}[_0x4e5412(0x334)](_0x2b9d51,_0x374b5b,_0x1d2b30,_0x57c0b2,_0x4b3eb6){const _0x12a08b=_0x4e5412;if(!this[_0x12a08b(0x20b)]['canManageView'](_0x374b5b,_0x1d2b30))throw Error(_0x12a08b(0x28a));this[_0x12a08b(0x366)](_0x2b9d51,this[_0x12a08b(0x2a1)][_0x12a08b(0x334)](_0x2b9d51['getSnapshot'](),_0x374b5b,_0x1d2b30,_0x57c0b2,_0x4b3eb6));}[_0x4e5412(0x13f)](_0x2b4096,_0x2dbe3d,_0xde170d,_0x5a3c78,_0x41b1d0){const _0x26b736=_0x4e5412;if(!this[_0x26b736(0x20b)][_0x26b736(0x293)](_0x2dbe3d,_0xde170d))throw Error(_0x26b736(0x28a));this[_0x26b736(0x366)](_0x2b4096,this['_factory'][_0x26b736(0x13f)](_0x2b4096[_0x26b736(0x21d)](),_0x2dbe3d,_0xde170d,_0x5a3c78,_0x41b1d0));}[_0x4e5412(0x366)](_0x1bc828,_0x2a74e6){const _0x52184b=_0x4e5412;let _0x4a20d0=_0x1bc828[_0x52184b(0x21d)]();_0x1bc828['setSnapshot'](this['_applier'][_0x52184b(0x16f)](_0x4a20d0,_0x2a74e6));}[_0x4e5412(0x1e0)](_0x3f9610,_0x505bc3,_0x2fb227,_0x251094=this[_0x4e5412(0x22f)](_0x3f9610[_0x4e5412(0x52f)][_0x505bc3])){const _0x5c4646=_0x4e5412;let _0x31cf2e=_0x3f9610[_0x5c4646(0x52f)][_0x505bc3],_0x14a37e=_0x2fb227[_0x5c4646(0x336)]??_0x2fb227[_0x5c4646(0x26a)]??this[_0x5c4646(0x470)](),_0x355450={..._0x2fb227,'createdBy':_0x2fb227[_0x5c4646(0x336)]??_0x14a37e,'updatedBy':_0x2fb227['updatedBy']??_0x14a37e,'values':{..._0x2fb227[_0x5c4646(0x261)]}};return _0x355450['values'][_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]=_0x355450['id'],_0x31cf2e[_0x5c4646(0x324)][_0x5c4646(0x349)](_0x36ed82=>{const _0x50de9d=_0x5c4646;let _0x3a3312=_0x31cf2e[_0x50de9d(0x135)][_0x36ed82];if(_0x3a3312&&_0x355450[_0x50de9d(0x261)][_0x36ed82]===void 0x0)switch(_0x3a3312['type']){case _0x3deeb7[_0x50de9d(0x16c)]['Numbering']:var _0x28d51a;_0x355450[_0x50de9d(0x261)][_0x36ed82]=((_0x28d51a=_0x251094['get'](_0x36ed82))==null?void 0x0:_0x28d51a())??this[_0x50de9d(0x368)](_0x31cf2e,_0x36ed82)();break;case _0x3deeb7[_0x50de9d(0x16c)][_0x50de9d(0x318)]:_0x355450[_0x50de9d(0x336)]&&(_0x355450['values'][_0x36ed82]=_0x355450[_0x50de9d(0x336)]);break;case _0x3deeb7[_0x50de9d(0x16c)]['UpdatedBy']:_0x355450[_0x50de9d(0x26a)]&&(_0x355450[_0x50de9d(0x261)][_0x36ed82]=_0x355450[_0x50de9d(0x26a)]);break;case _0x3deeb7['BaseFieldType'][_0x50de9d(0x457)]:_0x355450['values'][_0x36ed82]=_0x32f655(_0x355450[_0x50de9d(0x13e)]);break;case _0x3deeb7[_0x50de9d(0x16c)][_0x50de9d(0x537)]:_0x355450[_0x50de9d(0x261)][_0x36ed82]=_0x32f655(_0x355450[_0x50de9d(0x52b)]);break;default:{let _0x26e0ec=_0x3a3312['defaultValue'];_0x26e0ec!=null&&_0x26e0ec!==''&&!(Array['isArray'](_0x26e0ec)&&_0x26e0ec[_0x50de9d(0x4b3)]===0x0)&&(_0x355450[_0x50de9d(0x261)][_0x36ed82]=_0x26e0ec);}}}),_0x355450;}[_0x4e5412(0x4a7)](_0x44f475,_0xb4610d,_0x346a7e,_0x1c33ce){const _0x3d8f56=_0x4e5412;var _0x158414,_0x2baad2;let _0xfd2a41=_0x44f475[_0x3d8f56(0x52f)][_0xb4610d],_0x105df6=((_0x158414=(_0x2baad2=this[_0x3d8f56(0x1cb)])[_0x3d8f56(0x3c4)])==null?void 0x0:_0x158414[_0x3d8f56(0x241)](_0x2baad2))??Date[_0x3d8f56(0x3c4)](),_0x4ee2e0=this[_0x3d8f56(0x470)](),_0x2f7a7c={..._0x1c33ce};return _0xfd2a41['fieldOrder'][_0x3d8f56(0x349)](_0x5d69cc=>{const _0x3a7c27=_0x3d8f56;let _0x242c92=_0xfd2a41[_0x3a7c27(0x135)][_0x5d69cc];_0x242c92&&(_0x242c92['type']===_0x3deeb7[_0x3a7c27(0x16c)]['UpdatedAt']&&(_0x2f7a7c[_0x5d69cc]=_0x32f655(_0x105df6)),_0x242c92[_0x3a7c27(0x3de)]===_0x3deeb7[_0x3a7c27(0x16c)]['UpdatedBy']&&_0x4ee2e0&&(_0x2f7a7c[_0x5d69cc]=_0x4ee2e0));}),{'recordId':_0x346a7e,'values':_0x2f7a7c,'recordPatch':{'updatedAt':_0x105df6,..._0x4ee2e0?{'updatedBy':_0x4ee2e0}:{}}};}[_0x4e5412(0x34c)](_0x9f6453,_0xc17d9f,_0x6001f3){const _0x5cbbd2=_0x4e5412;let _0x2187c1=_0x9f6453[_0x5cbbd2(0x52f)][_0xc17d9f];return!_0x2187c1||!_0x119273(_0x6001f3)?[]:_0x6001f3[_0x5cbbd2(0x3de)]===_0x3deeb7['BaseFieldType'][_0x5cbbd2(0x504)]?this[_0x5cbbd2(0x299)](_0x2187c1,_0x6001f3['id']):Object[_0x5cbbd2(0x261)](_0x2187c1[_0x5cbbd2(0x4ce)])[_0x5cbbd2(0x27f)](_0x14ed93=>{const _0x147fb0=_0x5cbbd2;let _0xc65272=this[_0x147fb0(0x4f2)](_0x6001f3,_0x14ed93);return _0xc65272===void 0x0?[]:[{'recordId':_0x14ed93['id'],'values':{[_0x6001f3['id']]:_0xc65272}}];});}[_0x4e5412(0x4f2)](_0x3ad747,_0x298988){const _0x31f83b=_0x4e5412;switch(_0x3ad747['type']){case _0x3deeb7[_0x31f83b(0x16c)][_0x31f83b(0x318)]:return _0x298988[_0x31f83b(0x336)]??this[_0x31f83b(0x470)]();case _0x3deeb7[_0x31f83b(0x16c)][_0x31f83b(0x49f)]:return _0x298988['updatedBy']??this[_0x31f83b(0x470)]();case _0x3deeb7[_0x31f83b(0x16c)][_0x31f83b(0x457)]:return _0x32f655(_0x298988[_0x31f83b(0x13e)]??Date[_0x31f83b(0x3c4)]());case _0x3deeb7[_0x31f83b(0x16c)]['UpdatedAt']:return _0x32f655(_0x298988[_0x31f83b(0x52b)]??Date['now']());default:return;}}['_createNumberingAllocators'](_0xcd0b04){const _0x3608ce=_0x4e5412;let _0x11edc4=new Map();return _0xcd0b04&&_0xcd0b04[_0x3608ce(0x324)][_0x3608ce(0x349)](_0x4d26ce=>{const _0x10bdc7=_0x3608ce;let _0x34057a=_0xcd0b04['fields'][_0x4d26ce];(_0x34057a==null?void 0x0:_0x34057a[_0x10bdc7(0x3de)])===_0x3deeb7['BaseFieldType'][_0x10bdc7(0x504)]&&_0x11edc4[_0x10bdc7(0x4b6)](_0x4d26ce,this[_0x10bdc7(0x368)](_0xcd0b04,_0x4d26ce));}),_0x11edc4;}[_0x4e5412(0x368)](_0x5af882,_0x6ba6e7){const _0x2ac186=_0x4e5412;let _0x7c7759=Object[_0x2ac186(0x261)](_0x5af882[_0x2ac186(0x4ce)])[_0x2ac186(0x332)]((_0x47b012,_0x1340c9)=>{const _0x5204fc=_0x2ac186;let _0x371d1c=Number(_0x1340c9['values'][_0x6ba6e7]);return Number[_0x5204fc(0x2d6)](_0x371d1c)?Math[_0x5204fc(0x37f)](_0x47b012,_0x371d1c):_0x47b012;},0x0);return()=>String(++_0x7c7759);}[_0x4e5412(0x299)](_0xbcace8,_0x1c1f59){const _0x3daf28=_0x4e5412;let _0x5cf775=this[_0x3daf28(0x4de)](_0xbcace8),_0x374f34=this[_0x3daf28(0x368)](_0xbcace8,_0x1c1f59);return _0x5cf775[_0x3daf28(0x27f)](_0x18a33c=>this[_0x3daf28(0x3bc)](_0x18a33c[_0x3daf28(0x261)][_0x1c1f59])?[]:[{'recordId':_0x18a33c['id'],'values':{[_0x1c1f59]:_0x374f34()}}]);}[_0x4e5412(0x4de)](_0x1a26e8){const _0x222275=_0x4e5412;var _0x4b06a0;let _0x43ab93=Object['values'](_0x1a26e8[_0x222275(0x4ce)]),_0x4a387b=new Map(_0x43ab93[_0x222275(0x1fd)](_0x290481=>[_0x290481['id'],_0x290481])),_0x2a6d63=[],_0x5e40eb=new Set();(_0x4b06a0=_0x1a26e8[_0x222275(0x402)])==null||_0x4b06a0[_0x222275(0x349)](_0x10a350=>{const _0x465df5=_0x222275;let _0x11e211=_0x4a387b['get'](_0x10a350);_0x11e211&&(_0x2a6d63[_0x465df5(0x296)](_0x11e211),_0x5e40eb[_0x465df5(0x2af)](_0x10a350));});let _0x161675=_0x43ab93['filter'](_0x3a65c3=>!_0x5e40eb[_0x222275(0x10f)](_0x3a65c3['id']))['sort']((_0x319985,_0x3a02c2)=>String(_0x319985['orderKey']??_0x319985['id'])[_0x222275(0x14d)](String(_0x3a02c2[_0x222275(0x3a9)]??_0x3a02c2['id']))||_0x319985['id']['localeCompare'](_0x3a02c2['id']));return[..._0x2a6d63,..._0x161675];}[_0x4e5412(0x3bc)](_0x234e59){const _0x567b48=_0x4e5412;return _0x234e59!=null&&_0x234e59!==''&&!(Array[_0x567b48(0x2a0)](_0x234e59)&&_0x234e59[_0x567b48(0x4b3)]===0x0);}[_0x4e5412(0x470)](){const _0x4548ea=_0x4e5412;var _0x49b06b,_0x5c0e02,_0x1ea763,_0x475ff8;return((_0x49b06b=(_0x5c0e02=this[_0x4548ea(0x1cb)])['getCurrentUserId'])==null?void 0x0:_0x49b06b[_0x4548ea(0x241)](_0x5c0e02))??((_0x1ea763=(_0x475ff8=this[_0x4548ea(0x1cb)])[_0x4548ea(0x22d)])==null||(_0x1ea763=_0x1ea763[_0x4548ea(0x241)](_0x475ff8))==null?void 0x0:_0x1ea763['userID'])??void 0x0;}[_0x4e5412(0x127)](_0x3f500c,_0xf7ba35,_0x2534cf,_0x1362a1,_0x437b19){const _0x35828a=_0x4e5412;var _0x2efc04;if(!this[_0x35828a(0x20b)][_0x35828a(0x4af)](_0xf7ba35,_0x2534cf,_0x1362a1))throw Error(_0x35828a(0x126));let _0x24e488=(_0x2efc04=_0x3f500c[_0x35828a(0x52f)][_0xf7ba35])==null?void 0x0:_0x2efc04[_0x35828a(0x135)][_0x1362a1];if(!_0x24e488)throw Error(_0x35828a(0x472)+_0x1362a1+_0x35828a(0x45a));let _0x1ce504=this['_fieldRegistry'][_0x35828a(0x3c1)](_0x24e488['type']);if(_0x24e488[_0x35828a(0x380)]||_0x24e488[_0x35828a(0x41e)]||!_0x1ce504['getCapabilities'](_0x24e488)['editable'])throw Error(_0x35828a(0x541));let _0x501d9b=_0x1ce504[_0x35828a(0x2f5)](_0x437b19,_0x24e488),_0x1fac7e=_0x1ce504[_0x35828a(0x211)](_0x501d9b,_0x24e488);if(!_0x1fac7e[_0x35828a(0x236)])throw Error(_0x1fac7e[_0x35828a(0x4df)]??_0x35828a(0x123));let _0x88bac1=_0x24e488[_0x35828a(0x3de)]===_0x3deeb7[_0x35828a(0x16c)][_0x35828a(0x415)]?_0x1be6eb(_0x3f500c,_0x24e488,_0x501d9b):{'valid':!0x0};if(!_0x88bac1[_0x35828a(0x236)])throw Error(_0x88bac1[_0x35828a(0x4df)]??_0x35828a(0x545));return _0x501d9b;}['_assertFieldDefinition'](_0x1f4213,_0x3500c9){const _0x43253f=_0x4e5412;if(_0x3500c9['id']===_0x3deeb7[_0x43253f(0x2b7)]||_0x3500c9[_0x43253f(0x3de)]===_0x3deeb7[_0x43253f(0x16c)]['RecordId']||(0x0,_0x3deeb7[_0x43253f(0x10b)])(_0x3500c9[_0x43253f(0x1cd)]))throw Error(_0x43253f(0x2f9));let _0x5e046f=_0x6ad206(_0x1f4213,_0x3500c9);if(!_0x5e046f[_0x43253f(0x236)])throw Error(_0x5e046f['reason']??_0x43253f(0x34a));}};_0x571937=_0x40b1f5([_0xf4310f(0x0,_0x40267f),_0xf4310f(0x1,_0x31028e)],_0x571937);function _0x576214(){const _0x3c5d33=_0x4e5412;let _0x48110c=new _0x2bf61d();return _0x3cf3b9()[_0x3c5d33(0x349)](_0x1e3827=>_0x48110c['register'](_0x1e3827)),_0x48110c;}function _0x119273(_0x17a372){const _0xf143ff=_0x4e5412;return _0x17a372['type']===_0x3deeb7[_0xf143ff(0x16c)][_0xf143ff(0x504)]||_0x17a372[_0xf143ff(0x3de)]===_0x3deeb7[_0xf143ff(0x16c)][_0xf143ff(0x318)]||_0x17a372[_0xf143ff(0x3de)]===_0x3deeb7[_0xf143ff(0x16c)]['UpdatedBy']||_0x17a372[_0xf143ff(0x3de)]===_0x3deeb7[_0xf143ff(0x16c)][_0xf143ff(0x457)]||_0x17a372['type']===_0x3deeb7[_0xf143ff(0x16c)][_0xf143ff(0x537)];}let _0xf825c1=new Set([_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x169)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x49b)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x1db)]]);function _0x5cb907(_0x47aca1){const _0x2281f1=_0x4e5412;let _0x47d56e=_0x47aca1[_0x2281f1(0x135)][_0x47aca1[_0x2281f1(0x3fb)]];if((!_0x47d56e||_0x47d56e[_0x2281f1(0x41e)]!==!0x0&&_0x47d56e['id'][_0x2281f1(0x4c6)]()!=='id'&&_0x47d56e[_0x2281f1(0x1cd)][_0x2281f1(0x2de)]()[_0x2281f1(0x4c6)]()!=='id')&&_0x47d56e)return _0x47d56e['id'];for(let _0x38eaa9 of _0x47aca1[_0x2281f1(0x324)]){let _0x150299=_0x47aca1[_0x2281f1(0x135)][_0x38eaa9];if(_0x150299&&_0x150299['id']!==_0x47aca1[_0x2281f1(0x3fb)]&&_0x150299[_0x2281f1(0x41e)]!==!0x0&&_0x150299[_0x2281f1(0x3de)]!==_0x3deeb7['BaseFieldType'][_0x2281f1(0x444)])return _0x150299['id'];}return _0x47aca1[_0x2281f1(0x3fb)];}function _0x16e3d7(_0x30644c,_0x95e728=[],_0x1939ff=0x5){const _0x1740c4=_0x4e5412;let _0x1abfdf=new Set(_0x95e728[_0x1740c4(0x30d)](_0x383d8f=>!!_0x383d8f)),_0x1b4413=[],_0x2948f4=[];for(let _0x8b0f7a of _0x30644c[_0x1740c4(0x324)]){let _0x345917=_0x30644c[_0x1740c4(0x135)][_0x8b0f7a];_0x345917&&_0x345917[_0x1740c4(0x41e)]!==!0x0&&_0x345917[_0x1740c4(0x3de)]!==_0x3deeb7[_0x1740c4(0x16c)][_0x1740c4(0x444)]&&!_0x1abfdf[_0x1740c4(0x10f)](_0x345917['id'])&&(_0xf825c1['has'](_0x345917[_0x1740c4(0x3de)])?_0x1b4413:_0x2948f4)[_0x1740c4(0x296)](_0x345917['id']);}return[..._0x1b4413,..._0x2948f4][_0x1740c4(0x539)](0x0,_0x1939ff);}function _0x2b8124(){const _0x285193=_0x4e5412;return[{'type':_0x3deeb7['BaseViewType'][_0x285193(0x410)],'i18nKey':_0x285193(0x3bd),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3e929c=_0x285193;throw Error(_0x3e929c(0x32d));}},{'type':_0x3deeb7['BaseViewType'][_0x285193(0x238)],'i18nKey':_0x285193(0x35c),'createDefaultConfig':_0x9b8547=>{const _0x57e7ec=_0x285193;let _0x50ec9b=_0x53f3dc(_0x9b8547);return{'groupFieldId':_0x50ec9b,'coverFieldId':null,'cardLayout':_0x57e7ec(0x3c3),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x9b8547[_0x57e7ec(0x3fb)],'fieldIds':_0x16e3d7(_0x9b8547,[_0x9b8547[_0x57e7ec(0x3fb)],_0x50ec9b])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1b5d00=_0x285193;throw Error(_0x1b5d00(0x37c));}},{'type':_0x3deeb7['BaseViewType'][_0x285193(0x27d)],'i18nKey':_0x285193(0x21f),'createDefaultConfig':_0x3b3d63=>{const _0x18b49a=_0x285193;let _0x2a8083=_0x103701(_0x3b3d63);return{'startDateFieldId':_0x2a8083,'endDateFieldId':_0x14cf7e(_0x3b3d63,_0x2a8083),'titleFieldId':_0x3b3d63[_0x18b49a(0x3fb)],'mode':'month','timeslotSize':_0x18b49a(0x4ef),'timeZone':_0x18b49a(0x426),'displayColor':{'type':_0x18b49a(0x4b5),'color':_0x18b49a(0x333)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3be133=_0x285193;throw Error(_0x3be133(0x24c));}},{'type':_0x3deeb7[_0x285193(0x14b)][_0x285193(0x15f)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x2d1c61=>{const _0xee35=_0x285193;let _0x1e7fe5=_0x103701(_0x2d1c61);return{'startDateFieldId':_0x1e7fe5,'endDateFieldId':_0x14cf7e(_0x2d1c61,_0x1e7fe5)??_0x1e7fe5,'titleFieldId':_0x2d1c61[_0xee35(0x3fb)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0xee35(0x4b5),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4341de=_0x285193;throw Error(_0x4341de(0x42d));}},{'type':_0x3deeb7[_0x285193(0x14b)][_0x285193(0x244)],'i18nKey':_0x285193(0x56b),'createDefaultConfig':_0x3ca2d2=>{const _0x90d69c=_0x285193;let _0x494c6d=_0x5cb907(_0x3ca2d2);return{'coverFieldId':null,'cardLayout':_0x90d69c(0x3c3),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x494c6d,'coverFieldId':null,'fieldIds':_0x16e3d7(_0x3ca2d2,[_0x494c6d,_0x3ca2d2[_0x90d69c(0x3fb)]])},'cardSize':_0x90d69c(0x4ef)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1a0bd1=_0x285193;throw Error(_0x1a0bd1(0x48b));}}];}function _0x53f3dc(_0x5f034f){const _0x3c9a15=_0x4e5412;var _0x54af6f,_0x636393,_0x42cae4;let _0x2004cc=_0x5f034f[_0x3c9a15(0x324)][_0x3c9a15(0x1fd)](_0x4fd7eb=>_0x5f034f['fields'][_0x4fd7eb])[_0x3c9a15(0x30d)](_0x4e33a1=>!!_0x4e33a1);return((_0x54af6f=_0x2004cc[_0x3c9a15(0x538)](_0x46c009=>_0x46c009['type']===_0x3deeb7[_0x3c9a15(0x16c)][_0x3c9a15(0x53f)]||_0x46c009[_0x3c9a15(0x3de)]===_0x3deeb7['BaseFieldType'][_0x3c9a15(0x1ca)]||_0x46c009[_0x3c9a15(0x3de)]===_0x3deeb7[_0x3c9a15(0x16c)][_0x3c9a15(0x4cd)]))==null?void 0x0:_0x54af6f['id'])??((_0x636393=_0x2004cc[_0x3c9a15(0x538)](_0x4e588f=>_0x4e588f[_0x3c9a15(0x3de)]===_0x3deeb7['BaseFieldType'][_0x3c9a15(0x21c)]))==null?void 0x0:_0x636393['id'])??((_0x42cae4=_0x2004cc[_0x3c9a15(0x538)](_0xa984e0=>_0xa984e0[_0x3c9a15(0x3de)]===_0x3deeb7[_0x3c9a15(0x16c)][_0x3c9a15(0x44b)]||_0xa984e0[_0x3c9a15(0x3de)]===_0x3deeb7[_0x3c9a15(0x16c)][_0x3c9a15(0x457)]||_0xa984e0[_0x3c9a15(0x3de)]===_0x3deeb7[_0x3c9a15(0x16c)][_0x3c9a15(0x537)]))==null?void 0x0:_0x42cae4['id'])??_0x5f034f[_0x3c9a15(0x3fb)];}function _0x103701(_0x5d6b9c){const _0x341245=_0x4e5412;var _0x263fba;return((_0x263fba=_0x5d6b9c[_0x341245(0x324)]['map'](_0x4f4011=>_0x5d6b9c[_0x341245(0x135)][_0x4f4011])[_0x341245(0x538)](_0x292388))==null?void 0x0:_0x263fba['id'])??'';}function _0x14cf7e(_0x1d4815,_0x49f3e0){const _0x3e68f5=_0x4e5412;var _0x597183;return(_0x597183=_0x1d4815['fieldOrder'][_0x3e68f5(0x1fd)](_0x2a9970=>_0x1d4815['fields'][_0x2a9970])['find'](_0x1afb3d=>_0x292388(_0x1afb3d)&&_0x1afb3d['id']!==_0x49f3e0))==null?void 0x0:_0x597183['id'];}function _0x292388(_0x38fedd){const _0x4d902e=_0x4e5412;return!!_0x38fedd&&_0x38fedd[_0x4d902e(0x3de)]===_0x3deeb7['BaseFieldType'][_0x4d902e(0x44b)]&&_0x38fedd[_0x4d902e(0x380)]!==!0x0&&_0x38fedd[_0x4d902e(0x41e)]!==!0x0;}let _0x2b65d2=(0x0,_0x3deeb7['createIdentifier'])('base.projection.service'),_0x7e3ac=new Set([_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x312)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x322)],_0x3deeb7['BaseFieldType'][_0x4e5412(0x169)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x49b)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x44b)],_0x3deeb7['BaseFieldType'][_0x4e5412(0x457)],_0x3deeb7[_0x4e5412(0x16c)]['UpdatedAt'],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x1db)]]),_0x171816=0x5265c00,_0x26e37c=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(_0x3b6cdf){const _0x349464=_0x4e5412;super(),this[_0x349464(0x42b)]=_0x3b6cdf,_0x266bce(this,_0x349464(0x2da),new Map()),_0x266bce(this,_0x349464(0x193),new WeakMap()),_0x266bce(this,_0x349464(0x365),new Map()),_0x266bce(this,_0x349464(0x28f),new Map()),_0x266bce(this,_0x349464(0x1c9),new Map()),_0x266bce(this,_0x349464(0x416),new Map()),_0x266bce(this,_0x349464(0x44f),0x0),_0x266bce(this,_0x349464(0x527),new Map()),_0x266bce(this,_0x349464(0x448),new Map()),_0x266bce(this,_0x349464(0x469),new Map()),_0x266bce(this,_0x349464(0x158),new Map());}['registerView'](_0x32d35f){const _0x24fba6=_0x4e5412;return this['_views'][_0x24fba6(0x4b6)](_0x32d35f[_0x24fba6(0x3de)],_0x32d35f),(0x0,_0x3deeb7['toDisposable'])(()=>this[_0x24fba6(0x2da)][_0x24fba6(0x566)](_0x32d35f[_0x24fba6(0x3de)]));}[_0x4e5412(0x4e2)](_0x452d72,_0x192914,_0x20b285){const _0x2c6f28=_0x4e5412;var _0x180f50,_0x577245,_0x709215;return _0x2eb728(_0x2c6f28(0x41a),()=>{const _0x41d2f7=_0x2c6f28;let _0x5e70db=this['_getCachedProjection'](_0x452d72,_0x192914,_0x20b285);if(_0x5e70db)return _0x5e70db;let _0x1fda39=_0x452d72['tables'][_0x192914],_0x458b92=_0x1fda39==null?void 0x0:_0x1fda39[_0x41d2f7(0x3d0)][_0x20b285];if(!_0x1fda39||!_0x458b92)return this[_0x41d2f7(0x203)](_0x452d72,_0x192914,_0x20b285,{'type':_0x41d2f7(0x152),'viewType':(_0x458b92==null?void 0x0:_0x458b92[_0x41d2f7(0x3de)])??_0x3deeb7[_0x41d2f7(0x14b)][_0x41d2f7(0x410)],'reason':_0x41d2f7(0x4c7)});let _0x544981;switch(_0x458b92[_0x41d2f7(0x3de)]){case _0x3deeb7[_0x41d2f7(0x14b)][_0x41d2f7(0x410)]:_0x544981=this[_0x41d2f7(0x207)](_0x1fda39,_0x458b92);break;case _0x3deeb7[_0x41d2f7(0x14b)][_0x41d2f7(0x15f)]:_0x544981=this[_0x41d2f7(0x3af)](_0x1fda39,_0x458b92);break;case _0x3deeb7[_0x41d2f7(0x14b)][_0x41d2f7(0x238)]:_0x544981=this[_0x41d2f7(0x1be)](_0x1fda39,_0x458b92);break;case _0x3deeb7['BaseViewType'][_0x41d2f7(0x27d)]:_0x544981=this[_0x41d2f7(0x19c)](_0x1fda39,_0x458b92);break;case _0x3deeb7[_0x41d2f7(0x14b)][_0x41d2f7(0x244)]:_0x544981=this[_0x41d2f7(0x37b)](_0x1fda39,_0x458b92);break;default:_0x544981={'type':'invalid','viewType':_0x458b92[_0x41d2f7(0x3de)],'reason':_0x41d2f7(0x4c7)};}return this['_setCachedProjection'](_0x452d72,_0x192914,_0x20b285,_0x544981);},{'tableId':_0x192914,'viewId':_0x20b285,'viewType':(_0x180f50=_0x452d72['tables'][_0x192914])==null||(_0x180f50=_0x180f50[_0x2c6f28(0x3d0)][_0x20b285])==null?void 0x0:_0x180f50[_0x2c6f28(0x3de)],'records':((_0x577245=_0x452d72['tables'][_0x192914])==null||(_0x577245=_0x577245['recordOrder'])==null?void 0x0:_0x577245['length'])??Object[_0x2c6f28(0x2e5)](((_0x709215=_0x452d72[_0x2c6f28(0x52f)][_0x192914])==null?void 0x0:_0x709215['records'])??{})[_0x2c6f28(0x4b3)]});}['repairViewConfig'](_0x3a8d5f,_0x3e8036,_0x136f05){const _0xb435a2=_0x4e5412;var _0x46a09b,_0x100148,_0x3bffe2;let _0x48f01a=_0x3a8d5f[_0xb435a2(0x52f)][_0x3e8036],_0x38c8cb=_0x48f01a==null?void 0x0:_0x48f01a[_0xb435a2(0x3d0)][_0x136f05];if(!_0x48f01a||!_0x38c8cb)throw Error(_0xb435a2(0x567)+_0x136f05+'\x22.');let _0x5b9142=_0x514ced=>!!_0x48f01a[_0xb435a2(0x135)][_0x514ced],_0x4acd97={..._0x38c8cb,'filter':_0x38c8cb[_0xb435a2(0x30d)]?{..._0x38c8cb['filter'],'conditions':_0x38c8cb[_0xb435a2(0x30d)][_0xb435a2(0x433)]['filter'](_0x4dc928=>_0x5b9142(_0x4dc928[_0xb435a2(0x3d9)]))}:_0x38c8cb[_0xb435a2(0x30d)],'sort':(_0x46a09b=_0x38c8cb['sort'])==null?void 0x0:_0x46a09b['filter'](_0x494fee=>_0x5b9142(_0x494fee['fieldId'])),'group':(_0x100148=_0x38c8cb[_0xb435a2(0x4fc)])==null?void 0x0:_0x100148[_0xb435a2(0x30d)](_0x5a974f=>_0x5b9142(_0x5a974f[_0xb435a2(0x3d9)])),'fieldOrder':(_0x3bffe2=_0x38c8cb[_0xb435a2(0x324)])==null?void 0x0:_0x3bffe2[_0xb435a2(0x30d)](_0x5b9142),'fieldSettings':Object[_0xb435a2(0x1ff)](Object[_0xb435a2(0x26b)](_0x38c8cb[_0xb435a2(0x116)]??{})[_0xb435a2(0x30d)](([_0x1eaa46])=>_0x5b9142(_0x1eaa46)))};if(_0x4acd97['type']===_0xb435a2(0x3bf)){var _0x244631;let _0xf4b17b=_0x4acd97['config']??{},_0x6dab1=this[_0xb435a2(0x1c2)](_0x48f01a,_0x4acd97),_0x2d6072=this[_0xb435a2(0x3be)](_0x48f01a,(_0x244631=_0xf4b17b[_0xb435a2(0x1eb)])==null?void 0x0:_0x244631['titleFieldId']);_0x4acd97[_0xb435a2(0x505)]={..._0xf4b17b,'groupFieldId':_0x6dab1??_0xf4b17b[_0xb435a2(0x552)],'coverFieldId':this[_0xb435a2(0x29d)](_0x48f01a,_0xf4b17b),'cardLayout':_0xf4b17b[_0xb435a2(0x33b)]===_0xb435a2(0x11d)?_0xb435a2(0x11d):_0xb435a2(0x3c3),'showFieldNames':_0xf4b17b['showFieldNames']!==!0x1,'fieldSettings':Object[_0xb435a2(0x1ff)](Object[_0xb435a2(0x26b)](_0xf4b17b['fieldSettings']??{})[_0xb435a2(0x30d)](([_0x6da779])=>_0x5b9142(_0x6da779))),'columnSettings':_0xf4b17b['columnSettings']??{},'card':{..._0xf4b17b[_0xb435a2(0x1eb)]??{},'titleFieldId':_0x2d6072,'fieldIds':this[_0xb435a2(0x445)](_0x48f01a,_0x4acd97,_0x6dab1??'',_0x2d6072)}};}return{'repaired':JSON[_0xb435a2(0x17c)](_0x4acd97)!==JSON[_0xb435a2(0x17c)](_0x38c8cb),'view':_0x4acd97};}[_0x4e5412(0x3c9)](){const _0x125555=_0x4e5412;this[_0x125555(0x44f)]++;}[_0x4e5412(0x1a6)](_0x115be7,_0xc77830,_0x2372db){const _0x44fbb0=_0x4e5412;let _0x1c3983=this[_0x44fbb0(0x52c)](_0x115be7)+0x1;this[_0x44fbb0(0x448)][_0x44fbb0(0x4b6)](_0x115be7,_0x1c3983);let _0x277cc4=this['_cellInvalidations'][_0x44fbb0(0x3c1)](_0x115be7)??[];_0x277cc4['push']({'revision':_0x1c3983,'recordId':_0xc77830,'fieldId':_0x2372db}),this[_0x44fbb0(0x469)][_0x44fbb0(0x4b6)](_0x115be7,_0x277cc4);}['invalidateByField'](_0x16676a,_0x137759){const _0x176b0c=_0x4e5412;this[_0x176b0c(0x287)](_0x16676a);}[_0x4e5412(0x30f)](_0x1bdb14,_0x4058ee){const _0x39fb9b=_0x4e5412;this[_0x39fb9b(0x158)]['set'](this['_viewRevisionKey'](_0x1bdb14,_0x4058ee),this['_getViewRevision'](_0x1bdb14,_0x4058ee)+0x1);}[_0x4e5412(0x1bb)](_0x19b7b8,_0x5be1a5,_0xf80859){const _0x5ad268=_0x4e5412;var _0x1fa49c;let _0x270ddf=(_0x1fa49c=this['_projectionCache'][_0x5ad268(0x3c1)](_0x19b7b8))==null?void 0x0:_0x1fa49c[_0x5ad268(0x3c1)](this[_0x5ad268(0x162)](_0x5be1a5,_0xf80859));return _0x270ddf&&_0x270ddf[_0x5ad268(0x557)]===this['_globalRevision']&&_0x270ddf[_0x5ad268(0x498)]===this[_0x5ad268(0x2b8)](_0x5be1a5)&&_0x270ddf[_0x5ad268(0x4a5)]===this[_0x5ad268(0x52c)](_0x5be1a5)&&_0x270ddf[_0x5ad268(0x1c7)]===this['_getViewRevision'](_0x5be1a5,_0xf80859)?_0x270ddf[_0x5ad268(0x168)]:null;}[_0x4e5412(0x203)](_0x25d598,_0x18b0de,_0x4fda89,_0x53c45c){const _0x214f50=_0x4e5412;let _0x14541b=this[_0x214f50(0x193)]['get'](_0x25d598);return _0x14541b||(_0x14541b=new Map(),this[_0x214f50(0x193)]['set'](_0x25d598,_0x14541b)),_0x14541b[_0x214f50(0x4b6)](this['_cacheKey'](_0x18b0de,_0x4fda89),{'projection':_0x53c45c,'globalRevision':this[_0x214f50(0x44f)],'tableRevision':this[_0x214f50(0x2b8)](_0x18b0de),'cellRevision':this[_0x214f50(0x52c)](_0x18b0de),'viewRevision':this[_0x214f50(0x18d)](_0x18b0de,_0x4fda89)}),_0x53c45c;}[_0x4e5412(0x287)](_0x56fdcb){const _0x101f5c=_0x4e5412;this[_0x101f5c(0x527)][_0x101f5c(0x4b6)](_0x56fdcb,this['_getTableRevision'](_0x56fdcb)+0x1);}[_0x4e5412(0x2b8)](_0x2ff3a5){const _0x25c505=_0x4e5412;return this['_tableRevisions'][_0x25c505(0x3c1)](_0x2ff3a5)??0x0;}[_0x4e5412(0x52c)](_0x3ba952){const _0x75388a=_0x4e5412;return this[_0x75388a(0x448)][_0x75388a(0x3c1)](_0x3ba952)??0x0;}[_0x4e5412(0x18d)](_0x32e611,_0xc34976){const _0x520cea=_0x4e5412;return this['_viewRevisions']['get'](this[_0x520cea(0x376)](_0x32e611,_0xc34976))??0x0;}[_0x4e5412(0x162)](_0x3e540e,_0x53935d){return _0x3e540e+'\x00'+_0x53935d;}[_0x4e5412(0x1b8)](_0x41e3a9,_0x219f29){const _0x1c49eb=_0x4e5412;return _0x41e3a9+'\x00'+this[_0x1c49eb(0x25c)](_0x219f29);}[_0x4e5412(0x282)](_0x9b6dce,_0x1c98d6,_0x9873b5){const _0x24aac3=_0x4e5412;return _0x9b6dce+'\x00'+this[_0x24aac3(0x25c)](_0x1c98d6)+'\x00'+this['_groupConfigCacheSegment'](_0x9873b5);}[_0x4e5412(0x25c)](_0x3762c3){const _0x153102=_0x4e5412;return _0x3762c3?_0x321895({'filter':_0x3d615c(_0x3762c3['filter']),'sort':_0x3dd76d(_0x3762c3[_0x153102(0x54f)])}):_0x153102(0x280);}[_0x4e5412(0x317)](_0x110984){const _0x55475d=_0x4e5412;return _0x321895(_0x110984[_0x55475d(0x1fd)](_0x5a9bc6=>({'fieldId':_0x5a9bc6[_0x55475d(0x3d9)],'direction':_0x5a9bc6[_0x55475d(0x51f)]??null})));}[_0x4e5412(0x376)](_0x4c321c,_0x1bc186){return _0x4c321c+'\x00'+_0x1bc186;}[_0x4e5412(0x207)](_0x3efdda,_0x4f05c4){const _0x412a54=_0x4e5412;var _0x4070c2;let _0x218315=_0x3de209(_0x3efdda),_0x4b68df=this[_0x412a54(0x54c)](_0x3efdda,_0x4f05c4),_0x55fc86=(_0x4070c2=_0x4f05c4[_0x412a54(0x30d)])!=null&&_0x4070c2[_0x412a54(0x433)][_0x412a54(0x4b3)]?this[_0x412a54(0x54c)](_0x3efdda,{..._0x4f05c4,'filter':null}):_0x4b68df,_0x55c039=_0x275942(this[_0x412a54(0x164)](_0x3efdda,_0x218315,_0x4f05c4['id'],_0x55fc86[_0x412a54(0x1fd)](_0xb717d=>_0xb717d[_0x412a54(0x3b0)])),_0x55fc86,new Set(_0x4b68df[_0x412a54(0x1fd)](_0x44bba2=>_0x44bba2[_0x412a54(0x3b0)])));return{'type':_0x3deeb7['BaseViewType'][_0x412a54(0x410)],'fields':this[_0x412a54(0x143)](_0x3efdda,_0x4f05c4),'rows':_0x55c039[_0x412a54(0x20d)],'groups':this[_0x412a54(0x3b2)](_0x3efdda,_0x4f05c4,_0x55c039[_0x412a54(0x20d)],_0x55c039['hierarchy']),'hierarchy':_0x55c039[_0x412a54(0x284)],'frozenFieldCount':typeof _0x4f05c4[_0x412a54(0x505)][_0x412a54(0x455)]==_0x412a54(0x38e)?_0x4f05c4[_0x412a54(0x505)][_0x412a54(0x455)]:0x0};}[_0x4e5412(0x164)](_0x4de2d1,_0x474a0d,_0x5306df,_0x147db3){const _0x5302d7=_0x4e5412;let _0x5255e7=_0x4de2d1['id']+'\x00'+_0x474a0d+'\x00'+_0x5306df,_0x159de4=this[_0x5302d7(0x52c)](_0x4de2d1['id']),_0x45325e=this[_0x5302d7(0x416)][_0x5302d7(0x3c1)](_0x5255e7);if(_0x45325e&&_0x45325e[_0x5302d7(0x557)]===this[_0x5302d7(0x44f)]&&_0x45325e[_0x5302d7(0x498)]===this[_0x5302d7(0x2b8)](_0x4de2d1['id'])&&_0x45325e[_0x5302d7(0x4a8)][_0x5302d7(0x4b3)]===_0x147db3['length']&&_0x45325e[_0x5302d7(0x4a8)]['every']((_0x17c1a7,_0xe46bcc)=>_0x17c1a7===_0x147db3[_0xe46bcc])){if(_0x45325e[_0x5302d7(0x4a5)]===_0x159de4&&_0x45325e['table']===_0x4de2d1)return _0x45325e[_0x5302d7(0x1ac)];if(!this[_0x5302d7(0x4cc)](_0x4de2d1['id'],_0x45325e[_0x5302d7(0x4a5)],_0x159de4,new Set([_0x474a0d])))return this[_0x5302d7(0x416)][_0x5302d7(0x4b6)](_0x5255e7,{..._0x45325e,'table':_0x4de2d1,'cellRevision':_0x159de4}),_0x45325e[_0x5302d7(0x1ac)];}let _0x4b5453=_0x385429(_0x4de2d1,_0x474a0d,_0x147db3);return this[_0x5302d7(0x416)]['set'](_0x5255e7,{'table':_0x4de2d1,'index':_0x4b5453,'orderedRecordIds':_0x147db3,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x5302d7(0x2b8)](_0x4de2d1['id']),'cellRevision':_0x159de4}),_0x4b5453;}[_0x4e5412(0x3b2)](_0x1779e0,_0x50491f,_0x1ed717,_0xd5aaba){const _0x1e482b=_0x4e5412;var _0x1235d3;if(!((_0x1235d3=_0x50491f['group'])!=null&&_0x1235d3[_0x1e482b(0x4b3)]))return[];let _0x5a72fe=new Map(_0x1ed717[_0x1e482b(0x1fd)](_0x5e01b5=>[_0x5e01b5[_0x1e482b(0x3b0)],_0x5e01b5])),_0x305b91=_0xd5aaba[_0x1e482b(0x303)][_0x1e482b(0x27f)](_0x14d624=>{const _0x1b6faf=_0x1e482b;let _0x3e065b=_0x5a72fe[_0x1b6faf(0x3c1)](_0x14d624);return _0x3e065b?[_0x3e065b]:[];}),_0x94e323=this['_projectGroups'](_0x1779e0,_0x50491f,_0x305b91),_0x4b994f=new Map(_0xd5aaba['orderedRecordIds'][_0x1e482b(0x1fd)]((_0x1b5746,_0x3817f0)=>[_0x1b5746,_0x3817f0])),_0x195e6e=_0x3220ff=>{const _0x5ab0ad=_0x1e482b;let _0x7ce657=_0xd5aaba[_0x5ab0ad(0x1e2)][_0x3220ff],_0x20cb64=_0x4b994f['get'](_0x3220ff)??-0x1;return _0x20cb64<0x0||!_0x7ce657?[]:_0xd5aaba[_0x5ab0ad(0x4a8)][_0x5ab0ad(0x539)](_0x20cb64,_0x7ce657[_0x5ab0ad(0x3e7)]+0x1);},_0x501a94=_0x3df1eb=>{const _0x56e066=_0x1e482b;var _0x54b626,_0x3c7750;return{..._0x3df1eb,'recordIds':(_0x54b626=_0x3df1eb['children'])!=null&&_0x54b626[_0x56e066(0x4b3)]?_0x3df1eb[_0x56e066(0x308)]:_0x3df1eb[_0x56e066(0x308)][_0x56e066(0x27f)](_0x195e6e),'children':(_0x3c7750=_0x3df1eb['children'])==null?void 0x0:_0x3c7750['map'](_0x501a94)};};return _0x94e323['map'](_0x501a94);}[_0x4e5412(0x1be)](_0x3c00c2,_0x57cf3a){const _0x1f1224=_0x4e5412;var _0x3ea7cf;let _0x3e1db6=this[_0x1f1224(0x1c2)](_0x3c00c2,_0x57cf3a),_0x243559=_0x3e1db6?_0x3c00c2[_0x1f1224(0x135)][_0x3e1db6]:void 0x0;if(!_0x243559)return{'type':'invalid','viewType':_0x3deeb7[_0x1f1224(0x14b)][_0x1f1224(0x238)],'reason':_0x1f1224(0x3ee),'fieldId':_0x57cf3a[_0x1f1224(0x505)][_0x1f1224(0x552)]};let _0x5ad823=this[_0x1f1224(0x54c)](_0x3c00c2,_0x57cf3a),_0xe23f98=this[_0x1f1224(0x143)](_0x3c00c2,_0x57cf3a),_0x59ba7c=_0x57cf3a[_0x1f1224(0x505)]??{},_0x2b1de3=this[_0x1f1224(0x3be)](_0x3c00c2,(_0x3ea7cf=_0x59ba7c[_0x1f1224(0x1eb)])==null?void 0x0:_0x3ea7cf['titleFieldId']),_0x5e1728=this['_resolveKanbanCardFieldIds'](_0x3c00c2,_0x57cf3a,_0x243559['id'],_0x2b1de3),_0x5c3577=new Map();if(_0x29b167(_0x3c00c2,_0x243559['id'])){let _0x1c1147=this[_0x1f1224(0x164)](_0x3c00c2,_0x243559['id'],_0x57cf3a['id'],_0x5ad823['map'](_0x465be1=>_0x465be1[_0x1f1224(0x3b0)])),_0x5b0e7e=new Map();return _0x5ad823[_0x1f1224(0x349)](_0x10fdf6=>{const _0x25cded=_0x1f1224;let _0x117f54=_0x1c1147[_0x25cded(0x1f3)][_0x25cded(0x3c1)](_0x10fdf6[_0x25cded(0x3b0)])??null,_0x5b5273=_0x117f54??'',_0x1eb8fe=_0x117f54?_0x3c00c2[_0x25cded(0x4ce)][_0x117f54]:void 0x0,_0x1e0ca7=_0x5b0e7e[_0x25cded(0x3c1)](_0x5b5273)??{'key':_0x5b5273,'title':_0x1eb8fe?String(_0x3ff8b9(_0x3c00c2,_0x1eb8fe['id'],_0x3c00c2['primaryFieldId'])??_0x117f54):this[_0x25cded(0x12c)](_0x243559,_0x5b5273,_0x59ba7c),'recordIds':[]};_0x1e0ca7[_0x25cded(0x308)][_0x25cded(0x296)](_0x10fdf6[_0x25cded(0x3b0)]),_0x5b0e7e['set'](_0x5b5273,_0x1e0ca7);}),{'type':_0x3deeb7[_0x1f1224(0x14b)][_0x1f1224(0x238)],'fields':_0xe23f98,'rows':_0x5ad823,'groups':[],'groupFieldId':_0x243559['id'],'titleFieldId':_0x2b1de3,'coverFieldId':this[_0x1f1224(0x29d)](_0x3c00c2,_0x59ba7c),'cardLayout':_0x59ba7c[_0x1f1224(0x33b)]===_0x1f1224(0x11d)?'compose':_0x1f1224(0x3c3),'showFieldNames':_0x59ba7c['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5e1728,'lanes':['',..._0x1c1147[_0x1f1224(0x4a8)]][_0x1f1224(0x27f)](_0x54b6fc=>{const _0xd1592d=_0x1f1224;let _0x503bfb=_0x5b0e7e[_0xd1592d(0x3c1)](_0x54b6fc);return _0x503bfb!=null&&_0x503bfb[_0xd1592d(0x308)][_0xd1592d(0x4b3)]?[_0x503bfb]:[];})};}return this[_0x1f1224(0x1b2)](_0x243559,_0x59ba7c)[_0x1f1224(0x349)](_0x180c56=>_0x5c3577[_0x1f1224(0x4b6)](_0x180c56[_0x1f1224(0x1c5)],{..._0x180c56,'recordIds':[]})),_0x5ad823[_0x1f1224(0x349)](_0x5030c8=>{const _0x2b1ebf=_0x1f1224;this[_0x2b1ebf(0x2b9)](_0x243559,_0x5030c8[_0x2b1ebf(0x261)][_0x243559['id']])[_0x2b1ebf(0x349)](_0x105ca4=>{const _0x2eba98=_0x2b1ebf;let _0x3eb9d6=_0x5c3577[_0x2eba98(0x3c1)](_0x105ca4)??{'key':_0x105ca4,'title':this[_0x2eba98(0x12c)](_0x243559,_0x105ca4,_0x59ba7c),'color':this[_0x2eba98(0x2cf)](_0x243559,_0x105ca4,_0x59ba7c),'recordIds':[]};_0x3eb9d6['recordIds']['push'](_0x5030c8[_0x2eba98(0x3b0)]),_0x5c3577[_0x2eba98(0x4b6)](_0x105ca4,_0x3eb9d6);});}),{'type':_0x3deeb7[_0x1f1224(0x14b)][_0x1f1224(0x238)],'fields':_0xe23f98,'rows':_0x5ad823,'groups':this['_projectGroups'](_0x3c00c2,_0x57cf3a,_0x5ad823),'groupFieldId':_0x243559['id'],'titleFieldId':_0x2b1de3,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3c00c2,_0x59ba7c),'cardLayout':_0x59ba7c[_0x1f1224(0x33b)]===_0x1f1224(0x11d)?_0x1f1224(0x11d):_0x1f1224(0x3c3),'showFieldNames':_0x59ba7c[_0x1f1224(0x482)]!==!0x1,'visibleCardFieldIds':_0x5e1728,'lanes':Array[_0x1f1224(0x33c)](_0x5c3577['values']())};}['_resolveKanbanGroupFieldId'](_0x51cef0,_0x53c9c5){const _0x10a0f0=_0x4e5412;var _0x44b279;let _0x2bd595=(_0x44b279=_0x53c9c5[_0x10a0f0(0x505)])==null?void 0x0:_0x44b279[_0x10a0f0(0x552)];return _0x2bd595&&this['_isKanbanGroupField'](_0x51cef0,_0x2bd595)?_0x2bd595:this[_0x10a0f0(0x33a)](_0x51cef0,_0x1d135f=>this[_0x10a0f0(0x249)](_0x1d135f));}[_0x4e5412(0x33a)](_0x43c603,_0x291bd4){const _0x42cb0f=_0x4e5412;for(let _0x5d11a9 of _0x43c603[_0x42cb0f(0x324)]){let _0x1ec2e1=_0x43c603[_0x42cb0f(0x135)][_0x5d11a9];if(_0x1ec2e1&&_0x291bd4(_0x1ec2e1))return _0x1ec2e1['id'];}return null;}[_0x4e5412(0x1a8)](_0x30d1fe,_0x5368da){const _0x528215=_0x4e5412;let _0x5cb5be=_0x30d1fe[_0x528215(0x135)][_0x5368da];return this[_0x528215(0x249)](_0x5cb5be)||_0x29b167(_0x30d1fe,_0x5368da);}[_0x4e5412(0x249)](_0x2e596d){const _0x449e61=_0x4e5412;return!!_0x2e596d&&(_0x2e596d[_0x449e61(0x3de)]===_0x3deeb7[_0x449e61(0x16c)][_0x449e61(0x53f)]||_0x2e596d['type']===_0x3deeb7[_0x449e61(0x16c)][_0x449e61(0x1ca)]||_0x2e596d['type']===_0x3deeb7[_0x449e61(0x16c)][_0x449e61(0x49b)]||_0x2e596d['type']===_0x3deeb7['BaseFieldType'][_0x449e61(0x122)]||_0x2e596d[_0x449e61(0x3de)]===_0x3deeb7[_0x449e61(0x16c)][_0x449e61(0x4cd)]||_0x2e596d[_0x449e61(0x3de)]===_0x3deeb7['BaseFieldType'][_0x449e61(0x1db)]);}[_0x4e5412(0x32e)](_0x296b1d){const _0x374dbc=_0x4e5412;return _0x296b1d[_0x374dbc(0x3de)]===_0x3deeb7[_0x374dbc(0x16c)][_0x374dbc(0x53f)]||_0x296b1d[_0x374dbc(0x3de)]===_0x3deeb7[_0x374dbc(0x16c)][_0x374dbc(0x1ca)];}['_resolveKanbanCoverFieldId'](_0x47bb17,_0x481dc6){const _0x44068b=_0x4e5412;var _0x2cde5d;let _0x2f770f=_0x481dc6[_0x44068b(0x1e9)]??((_0x2cde5d=_0x481dc6['card'])==null?void 0x0:_0x2cde5d['coverFieldId'])??null;if(!_0x2f770f)return null;let _0x4a48c0=_0x47bb17[_0x44068b(0x135)][_0x2f770f];return _0x4a48c0&&this[_0x44068b(0x3ef)](_0x4a48c0)[_0x44068b(0x462)]?_0x4a48c0['id']:null;}[_0x4e5412(0x445)](_0x4422b8,_0x154cb2,_0x3a9219,_0x25454c=this[_0x4e5412(0x3be)](_0x4422b8,((()=>{const _0x4f7746=_0x4e5412;var _0x3c8bf4;return(_0x3c8bf4=_0x154cb2['config'])==null||(_0x3c8bf4=_0x3c8bf4[_0x4f7746(0x1eb)])==null?void 0x0:_0x3c8bf4['titleFieldId'];})()))){const _0x3036c6=_0x4e5412;var _0x4d94d8;let _0x4c0a1e=_0x154cb2[_0x3036c6(0x505)]??{},_0x51462c=(_0x4d94d8=_0x4c0a1e[_0x3036c6(0x1eb)])!=null&&(_0x4d94d8=_0x4d94d8[_0x3036c6(0x1ee)])!=null&&_0x4d94d8['length']?_0x4c0a1e[_0x3036c6(0x1eb)][_0x3036c6(0x1ee)]:_0x16e3d7(_0x4422b8,[_0x25454c,_0x4422b8[_0x3036c6(0x3fb)],_0x3a9219]),_0x2da6fd=_0x4c0a1e[_0x3036c6(0x116)]??{};return _0x51462c[_0x3036c6(0x30d)](_0x506226=>{const _0x21cf03=_0x3036c6;var _0x21ab7c,_0x3a36c9;let _0x4ef2d7=_0x4422b8[_0x21cf03(0x135)][_0x506226];return!(!_0x4ef2d7||_0x4ef2d7[_0x21cf03(0x41e)]===!0x0||_0x4ef2d7[_0x21cf03(0x3de)]===_0x3deeb7[_0x21cf03(0x16c)][_0x21cf03(0x444)]||_0x4ef2d7['id']===_0x3a9219||_0x4ef2d7['id']===_0x25454c||(_0x21ab7c=_0x154cb2['fieldSettings'])!=null&&(_0x21ab7c=_0x21ab7c[_0x506226])!=null&&_0x21ab7c['hidden']||(_0x3a36c9=_0x2da6fd[_0x506226])!=null&&_0x3a36c9[_0x21cf03(0x257)]);})[_0x3036c6(0x54f)]((_0x485ce2,_0xc44c29)=>{const _0x381841=_0x3036c6;var _0x135951,_0x45441d;return(((_0x135951=_0x2da6fd[_0x485ce2])==null?void 0x0:_0x135951[_0x381841(0x52a)])??_0x51462c[_0x381841(0x41d)](_0x485ce2))-(((_0x45441d=_0x2da6fd[_0xc44c29])==null?void 0x0:_0x45441d[_0x381841(0x52a)])??_0x51462c['indexOf'](_0xc44c29));});}[_0x4e5412(0x1b2)](_0x2b12b1,_0x537b27){const _0x245bc4=_0x4e5412;var _0x256fff;let _0x40c584=(Array[_0x245bc4(0x2a0)]((_0x256fff=_0x2b12b1[_0x245bc4(0x505)])==null?void 0x0:_0x256fff[_0x245bc4(0x51a)])?_0x2b12b1['config'][_0x245bc4(0x51a)]:[])[_0x245bc4(0x27f)]((_0x5c41e9,_0x31574a)=>{const _0x1ca502=_0x245bc4;if(_0x5c41e9==null)return[];let _0x48bbe6=typeof _0x5c41e9==_0x1ca502(0x3d4)?{'id':_0x5c41e9,'name':_0x5c41e9,'color':void 0x0}:_0x5c41e9,_0xe91fcb=String(_0x48bbe6['id']??_0x48bbe6['name']??_0x1ca502(0x341)+(_0x31574a+0x1));return[{'key':_0xe91fcb,'title':String(_0x48bbe6[_0x1ca502(0x1cd)]??_0x48bbe6['id']??_0xe91fcb),'color':this[_0x1ca502(0x2cf)](_0x2b12b1,_0xe91fcb,_0x537b27)}];});return Object[_0x245bc4(0x26b)](_0x537b27['columnSettings']??{})[_0x245bc4(0x349)](([_0x30f92c,_0x977e4c])=>{const _0x5e8b97=_0x245bc4;_0x40c584['some'](_0x83e459=>_0x83e459['key']===_0x30f92c)||_0x40c584[_0x5e8b97(0x296)]({'key':_0x30f92c,'title':this['_isColorfulKanbanGroupField'](_0x2b12b1)?_0x977e4c[_0x5e8b97(0x371)]??this[_0x5e8b97(0x12c)](_0x2b12b1,_0x30f92c,_0x537b27):this['_kanbanLaneTitle'](_0x2b12b1,_0x30f92c,_0x537b27),'color':this[_0x5e8b97(0x2cf)](_0x2b12b1,_0x30f92c,_0x537b27)});}),_0x40c584;}['_kanbanGroupKeys'](_0x2b4fd7,_0x2a04ba){const _0x11fa15=_0x4e5412;let _0x3a15d0=_0x5f4461=>{var _0x38ba52;let _0x4303f8=_0x5f4461==null?'':String(_0x5f4461);return!_0x4303f8||!this['_isColorfulKanbanGroupField'](_0x2b4fd7)?_0x4303f8:((_0x38ba52=_0x145e41(_0x2b4fd7,_0x4303f8))==null?void 0x0:_0x38ba52['id'])??_0x4303f8;};if(Array[_0x11fa15(0x2a0)](_0x2a04ba)){let _0x35b7a3=_0x2a04ba[_0x11fa15(0x1fd)](_0x3a15d0)[_0x11fa15(0x30d)](_0x1931fe=>_0x1931fe!=='');return _0x35b7a3[_0x11fa15(0x4b3)]?_0x35b7a3:[''];}return[_0x3a15d0(_0x2a04ba)];}[_0x4e5412(0x12c)](_0x14bf76,_0x5d98b9,_0x3941f2){const _0x1ea996=_0x4e5412;if(!_0x5d98b9)return _0x1ea996(0x1f2);let _0x326df1=_0x145e41(_0x14bf76,_0x5d98b9);return(_0x326df1==null?void 0x0:_0x326df1[_0x1ea996(0x1cd)])??_0x5d98b9;}['_kanbanLaneColor'](_0x243743,_0x458854,_0x196e14){const _0x37b6da=_0x4e5412;var _0xa94c54;if(this[_0x37b6da(0x32e)](_0x243743))return(_0xa94c54=_0x145e41(_0x243743,_0x458854))==null?void 0x0:_0xa94c54[_0x37b6da(0x1cf)];}[_0x4e5412(0x19c)](_0x5554ea,_0x1a2146){const _0x3bca88=_0x4e5412;let _0x1e221c=this[_0x3bca88(0x43d)](_0x5554ea,_0x1a2146['config']??{}),_0x2ebc84=_0x5554ea[_0x3bca88(0x135)][_0x1e221c[_0x3bca88(0x3eb)]];if(!_0x2ebc84||_0x2ebc84[_0x3bca88(0x3de)]!==_0x3deeb7['BaseFieldType'][_0x3bca88(0x44b)]||_0x2ebc84['readonly']===!0x0||_0x2ebc84['system']===!0x0||!this[_0x3bca88(0x3ef)](_0x2ebc84)[_0x3bca88(0x2a6)])return{'type':_0x3bca88(0x152),'viewType':_0x3deeb7[_0x3bca88(0x14b)]['Calendar'],'reason':_0x3bca88(0x1d4),'fieldId':_0x1e221c[_0x3bca88(0x3eb)]};let _0x59e082=_0x1e221c[_0x3bca88(0x564)]?_0x5554ea[_0x3bca88(0x135)][_0x1e221c[_0x3bca88(0x564)]]:void 0x0,_0x188865=this[_0x3bca88(0x54c)](_0x5554ea,_0x1a2146);return{'type':_0x3deeb7[_0x3bca88(0x14b)][_0x3bca88(0x27d)],'config':_0x1e221c,'fields':this[_0x3bca88(0x143)](_0x5554ea,_0x1a2146),'rows':_0x188865,'groups':this[_0x3bca88(0x30e)](_0x5554ea,_0x1a2146,_0x188865),'events':_0x188865[_0x3bca88(0x27f)](_0x232282=>{const _0xe467a1=_0x3bca88;let _0x41f312=_0x4ef46c(_0x232282['values'][_0x1e221c[_0xe467a1(0x3eb)]]);if(!Number[_0xe467a1(0x2d6)](_0x41f312))return[];let _0x28f810=_0x232282[_0xe467a1(0x261)][_0x1e221c[_0xe467a1(0x3eb)]],_0x58989a=_0x1e221c[_0xe467a1(0x564)]==null?void 0x0:_0x232282['values'][_0x1e221c[_0xe467a1(0x564)]],_0x57c5d2=_0x1e221c[_0xe467a1(0x564)]==null?void 0x0:_0x4ef46c(_0x58989a),_0x203436=Number[_0xe467a1(0x2d6)](_0x57c5d2)?_0x57c5d2:void 0x0;return[{'recordId':_0x232282[_0xe467a1(0x3b0)],'title':this[_0xe467a1(0x4a0)](_0x5554ea,_0x232282,_0x1e221c[_0xe467a1(0x1ce)]),'start':_0x41f312,'end':_0x203436,'color':this[_0xe467a1(0x260)](_0x5554ea,_0x232282,_0x1e221c),'startMs':_0x41f312,'endMs':_0x203436,'allDay':this['_isAllDayCalendarEvent'](_0x2ebc84,_0x59e082,_0x28f810,_0x58989a),'fieldValues':_0x232282[_0xe467a1(0x261)]}];})};}[_0x4e5412(0x43d)](_0x13d7de,_0x17b128){const _0xc4b839=_0x4e5412;let _0x416410=this[_0xc4b839(0x2b0)](_0x13d7de,_0x17b128[_0xc4b839(0x3eb)]),_0x48f0b7=_0x17b128[_0xc4b839(0x564)]&&this[_0xc4b839(0x151)](_0x13d7de,_0x17b128[_0xc4b839(0x564)])?_0x17b128[_0xc4b839(0x564)]:this[_0xc4b839(0x2e1)](_0x13d7de,_0x416410)??void 0x0,_0x1714c1=_0x17b128[_0xc4b839(0x1ce)]?_0x13d7de['fields'][_0x17b128[_0xc4b839(0x1ce)]]:void 0x0,_0x1c7269=_0x1714c1&&_0x1714c1[_0xc4b839(0x41e)]!==!0x0&&_0x1714c1['type']!==_0x3deeb7[_0xc4b839(0x16c)][_0xc4b839(0x444)]?_0x17b128[_0xc4b839(0x1ce)]:_0x13d7de[_0xc4b839(0x3fb)],_0x2eb8d4=_0x17b128[_0xc4b839(0x550)]==='day'||_0x17b128[_0xc4b839(0x550)]===_0xc4b839(0x343)?_0x17b128[_0xc4b839(0x550)]:_0xc4b839(0x1c8),_0x5d857c=_0x17b128[_0xc4b839(0x4b9)]===_0xc4b839(0x55c)||_0x17b128[_0xc4b839(0x4b9)]===_0xc4b839(0x18b)?_0x17b128[_0xc4b839(0x4b9)]:_0xc4b839(0x4ef),_0x4a8d9d=typeof _0x17b128[_0xc4b839(0x24a)]=='string'&&_0x17b128[_0xc4b839(0x24a)]['trim']()?_0x17b128[_0xc4b839(0x24a)]:_0xc4b839(0x426),_0x1a0bf5=this['_normalizeCalendarDisplayColor'](_0x13d7de,_0x17b128);return{..._0x17b128,'startDateFieldId':_0x416410,'endDateFieldId':_0x48f0b7,'titleFieldId':_0x1c7269,'mode':_0x2eb8d4,'timeslotSize':_0x5d857c,'timeZone':_0x4a8d9d,'displayColor':_0x1a0bf5,'fieldSettings':Object['fromEntries'](Object['entries'](_0x17b128[_0xc4b839(0x116)]??{})[_0xc4b839(0x30d)](([_0x19f96b])=>{const _0x3eaf26=_0xc4b839;let _0x433ba0=_0x13d7de[_0x3eaf26(0x135)][_0x19f96b];return!!(_0x433ba0&&_0x433ba0[_0x3eaf26(0x41e)]!==!0x0&&_0x433ba0[_0x3eaf26(0x3de)]!==_0x3deeb7[_0x3eaf26(0x16c)]['RecordId']);}))};}[_0x4e5412(0x2b0)](_0x5ee964,_0x16c351){const _0x185662=_0x4e5412;return _0x16c351&&this[_0x185662(0x151)](_0x5ee964,_0x16c351)?_0x16c351:this['_findCalendarDateFieldId'](_0x5ee964)??_0x16c351??'';}[_0x4e5412(0x2e1)](_0x381aec,_0x266b4a){const _0x25dfb5=_0x4e5412;for(let _0x3b8222 of _0x381aec[_0x25dfb5(0x324)])if(_0x3b8222!==_0x266b4a&&this[_0x25dfb5(0x151)](_0x381aec,_0x3b8222))return _0x3b8222;return null;}[_0x4e5412(0x151)](_0x32e347,_0x174bb2){const _0x24cb23=_0x4e5412;let _0x5f4b12=_0x32e347[_0x24cb23(0x135)][_0x174bb2];return!!_0x5f4b12&&_0x5f4b12[_0x24cb23(0x3de)]===_0x3deeb7['BaseFieldType'][_0x24cb23(0x44b)]&&_0x5f4b12[_0x24cb23(0x380)]!==!0x0&&_0x5f4b12[_0x24cb23(0x41e)]!==!0x0&&this['_capabilities'](_0x5f4b12)[_0x24cb23(0x2a6)];}[_0x4e5412(0x468)](_0x582bb6,_0x4975d6){const _0x56a21d=_0x4e5412;let _0x427c3f=_0x4975d6[_0x56a21d(0x35e)];if((_0x427c3f==null?void 0x0:_0x427c3f[_0x56a21d(0x3de)])===_0x56a21d(0x1ea)){let _0x60bf3f=_0x582bb6['fields'][_0x427c3f[_0x56a21d(0x3d9)]];if(_0x60bf3f&&_0x60bf3f['type']===_0x3deeb7[_0x56a21d(0x16c)][_0x56a21d(0x53f)])return _0x427c3f;}if((_0x427c3f==null?void 0x0:_0x427c3f[_0x56a21d(0x3de)])===_0x56a21d(0x4b5)&&typeof _0x427c3f['color']==_0x56a21d(0x3d4)&&_0x427c3f[_0x56a21d(0x1cf)][_0x56a21d(0x2de)]())return{'type':'custom','color':_0x427c3f[_0x56a21d(0x1cf)]};if(_0x4975d6[_0x56a21d(0x4c3)]){let _0x533ae6=_0x582bb6[_0x56a21d(0x135)][_0x4975d6[_0x56a21d(0x4c3)]];if(_0x533ae6&&_0x533ae6[_0x56a21d(0x3de)]===_0x3deeb7[_0x56a21d(0x16c)][_0x56a21d(0x53f)])return{'type':_0x56a21d(0x1ea),'fieldId':_0x4975d6[_0x56a21d(0x4c3)]};}return{'type':_0x56a21d(0x4b5),'color':_0x56a21d(0x333)};}['_calendarEventColor'](_0x256457,_0xcc2666,_0xde5a48){const _0x3e8157=_0x4e5412;let _0x241785=_0xde5a48[_0x3e8157(0x35e)];if((_0x241785==null?void 0x0:_0x241785[_0x3e8157(0x3de)])===_0x3e8157(0x1ea)){var _0x20cb32;let _0x4d2c81=_0x256457['fields'][_0x241785[_0x3e8157(0x3d9)]];if(!_0x4d2c81)return;let _0x49628e=_0xcc2666[_0x3e8157(0x261)][_0x241785[_0x3e8157(0x3d9)]],_0x31ddf5=Array[_0x3e8157(0x2a0)](_0x49628e)?_0x49628e[0x0]:_0x49628e;return _0x31ddf5==null||(_0x20cb32=_0x145e41(_0x4d2c81,String(_0x31ddf5)))==null?void 0x0:_0x20cb32['color'];}if((_0x241785==null?void 0x0:_0x241785[_0x3e8157(0x3de)])===_0x3e8157(0x4b5))return _0x241785[_0x3e8157(0x1cf)];}[_0x4e5412(0x50e)](_0x4c50ec,_0x22f336,_0x5bf95d,_0x2efae9){const _0x9169e3=_0x4e5412;var _0x5e5039,_0x121713;let _0x48df51=((_0x5e5039=_0x4c50ec[_0x9169e3(0x505)])==null?void 0x0:_0x5e5039[_0x9169e3(0x2ec)])===!0x0,_0x47bb64=(_0x22f336==null||(_0x121713=_0x22f336[_0x9169e3(0x505)])==null?void 0x0:_0x121713[_0x9169e3(0x2ec)])===!0x0;return!_0x48df51&&!_0x47bb64;}['_isAllDayGanttDateRange'](_0x5a4e7b,_0x1bc2be){const _0x53bcf7=_0x4e5412;var _0xa8ecfd,_0x467d0a;let _0x2b43ac=((_0xa8ecfd=_0x5a4e7b[_0x53bcf7(0x505)])==null?void 0x0:_0xa8ecfd[_0x53bcf7(0x2ec)])===!0x0,_0xea81f1=((_0x467d0a=_0x1bc2be[_0x53bcf7(0x505)])==null?void 0x0:_0x467d0a['includeTime'])===!0x0;return!_0x2b43ac&&!_0xea81f1;}[_0x4e5412(0x3af)](_0x74450e,_0xc4daa4){const _0x2331e9=_0x4e5412;let _0x4f49e9=this[_0x2331e9(0x12d)](_0x74450e,_0xc4daa4[_0x2331e9(0x505)]),_0x4c7ee9=_0x74450e[_0x2331e9(0x135)][_0x4f49e9[_0x2331e9(0x3eb)]];if(!_0x4c7ee9||_0x4c7ee9[_0x2331e9(0x3de)]!==_0x3deeb7[_0x2331e9(0x16c)][_0x2331e9(0x44b)]||_0x4c7ee9[_0x2331e9(0x380)]===!0x0||_0x4c7ee9[_0x2331e9(0x41e)]===!0x0||!this[_0x2331e9(0x3ef)](_0x4c7ee9)[_0x2331e9(0x301)])return{'type':_0x2331e9(0x152),'viewType':_0x3deeb7[_0x2331e9(0x14b)][_0x2331e9(0x15f)],'reason':_0x2331e9(0x500),'fieldId':_0x4f49e9['startDateFieldId']};let _0x89770d=_0x74450e[_0x2331e9(0x135)][_0x4f49e9[_0x2331e9(0x564)]];if(!_0x89770d||_0x89770d[_0x2331e9(0x3de)]!==_0x3deeb7[_0x2331e9(0x16c)][_0x2331e9(0x44b)]||_0x89770d[_0x2331e9(0x380)]===!0x0||_0x89770d['system']===!0x0||!this['_capabilities'](_0x89770d)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0x3deeb7[_0x2331e9(0x14b)][_0x2331e9(0x15f)],'reason':_0x2331e9(0x2d4),'fieldId':_0x4f49e9[_0x2331e9(0x564)]};let _0x3dd495=this[_0x2331e9(0x47c)](_0x4c7ee9,_0x89770d),_0x1ae48b=this[_0x2331e9(0x54c)](_0x74450e,_0xc4daa4),_0xb162ce=_0x1ae48b[_0x2331e9(0x27f)](_0x182cc9=>{const _0x14605b=_0x2331e9;let _0x453321=_0x4ef46c(_0x182cc9['values'][_0x4f49e9[_0x14605b(0x3eb)]]),_0xf59b82=_0x4ef46c(_0x182cc9['values'][_0x4f49e9['endDateFieldId']]);if(!Number[_0x14605b(0x2d6)](_0x453321)||!Number['isFinite'](_0xf59b82))return[];let _0xe7125e=Math[_0x14605b(0x27c)](_0x453321,_0xf59b82),_0x274e87=Math[_0x14605b(0x37f)](_0x453321,_0xf59b82),_0x5e8661=_0x4f49e9[_0x14605b(0x231)]==null?void 0x0:Number(_0x182cc9[_0x14605b(0x261)][_0x4f49e9[_0x14605b(0x231)]]);return[{'recordId':_0x182cc9['recordId'],'title':this[_0x14605b(0x4a0)](_0x74450e,_0x182cc9,_0x4f49e9['titleFieldId']),'start':_0xe7125e,'end':_0x274e87,'color':this[_0x14605b(0x463)](_0x74450e,_0x182cc9,_0x4f49e9),'progress':Number[_0x14605b(0x2d6)](_0x5e8661)?_0x5e8661:void 0x0,'workingDayCount':_0x4f49e9[_0x14605b(0x408)]?_0x2be9d3(_0xe7125e,_0x274e87,_0x4f49e9['workingDays']):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x182cc9['values'][_0x4f49e9[_0x14605b(0x2ba)]??''])}];}),_0x2e8b6e=_0xb162ce[_0x2331e9(0x4b3)]?_0x279b12(Math[_0x2331e9(0x27c)](..._0xb162ce[_0x2331e9(0x1fd)](_0x5b00f0=>_0x5b00f0[_0x2331e9(0x275)]))-0x5a*_0x171816):_0x279b12(Date[_0x2331e9(0x3c4)]()-0x5a*_0x171816),_0x49f6fc=_0xb162ce[_0x2331e9(0x4b3)]?_0x279b12(Math[_0x2331e9(0x37f)](..._0xb162ce[_0x2331e9(0x1fd)](_0x5430d5=>_0x5430d5[_0x2331e9(0x2c5)]))+0x5b*_0x171816):_0x279b12(Date[_0x2331e9(0x3c4)]()+0x5b*_0x171816),_0x1b9e72=_0x6b94fe(_0x4f49e9[_0x2331e9(0x340)],_0x2e8b6e,_0x49f6fc,_0x4f49e9[_0x2331e9(0x408)]?_0x4f49e9[_0x2331e9(0x54d)]:void 0x0);return{'type':_0x3deeb7[_0x2331e9(0x14b)][_0x2331e9(0x15f)],'fields':this[_0x2331e9(0x143)](_0x74450e,{..._0xc4daa4,'config':_0x4f49e9}),'rows':_0x1ae48b,'groups':this[_0x2331e9(0x30e)](_0x74450e,_0xc4daa4,_0x1ae48b),'config':_0x4f49e9,'dateRangeAllDay':_0x3dd495,'timeline':{'scale':_0x4f49e9['scale'],'start':_0x2e8b6e,'end':_0x49f6fc,'unitWidth':_0x1b9e72[_0x2331e9(0x3b6)],'majorHeaders':_0x1b9e72[_0x2331e9(0x259)],'columns':_0x1b9e72['columns']},'bars':_0xb162ce};}[_0x4e5412(0x12d)](_0x453b66,_0x5ee2e0){const _0x57d4b2=_0x4e5412;let _0x3a9b70=this['_resolveGanttDateFieldId'](_0x453b66,_0x5ee2e0['startDateFieldId'],'start'),_0x30648d=this[_0x57d4b2(0x4d8)](_0x453b66,_0x5ee2e0[_0x57d4b2(0x564)],_0x57d4b2(0x2c5))||_0x3a9b70,_0x480b2c=_0x5ee2e0[_0x57d4b2(0x1ce)]?_0x453b66[_0x57d4b2(0x135)][_0x5ee2e0[_0x57d4b2(0x1ce)]]:void 0x0,_0x4d4de8=_0x480b2c&&_0x480b2c[_0x57d4b2(0x41e)]!==!0x0&&_0x480b2c[_0x57d4b2(0x3de)]!==_0x3deeb7['BaseFieldType'][_0x57d4b2(0x444)]?_0x5ee2e0[_0x57d4b2(0x1ce)]:_0x453b66[_0x57d4b2(0x3fb)],_0x49429f=_0x5ee2e0[_0x57d4b2(0x340)]===_0x57d4b2(0x343)||_0x5ee2e0[_0x57d4b2(0x340)]===_0x57d4b2(0x2ce)||_0x5ee2e0[_0x57d4b2(0x340)]===_0x57d4b2(0x2d9)?_0x5ee2e0[_0x57d4b2(0x340)]:_0x57d4b2(0x1c8),_0x2e5854=_0x407b88(_0x5ee2e0[_0x57d4b2(0x54d)]);return{..._0x5ee2e0,'startDateFieldId':_0x3a9b70,'endDateFieldId':_0x30648d,'titleFieldId':_0x4d4de8,'scale':_0x49429f,'leftPaneWidth':typeof _0x5ee2e0[_0x57d4b2(0x519)]=='number'?_0x5ee2e0[_0x57d4b2(0x519)]:void 0x0,'leftPaneCollapsed':_0x5ee2e0['leftPaneCollapsed']===!0x0,'showTodayLine':_0x5ee2e0[_0x57d4b2(0x4a9)]!==!0x1,'displayColor':this[_0x57d4b2(0x350)](_0x453b66,_0x5ee2e0),'fieldSettings':Object[_0x57d4b2(0x1ff)](Object[_0x57d4b2(0x26b)](_0x5ee2e0[_0x57d4b2(0x116)]??{})[_0x57d4b2(0x30d)](([_0x5b5ca1])=>{const _0x4736fd=_0x57d4b2;let _0x12bf27=_0x453b66['fields'][_0x5b5ca1];return!!(_0x12bf27&&_0x12bf27[_0x4736fd(0x41e)]!==!0x0&&_0x12bf27['type']!==_0x3deeb7[_0x4736fd(0x16c)][_0x4736fd(0x444)]);})),'workingDaysOnly':_0x5ee2e0[_0x57d4b2(0x408)]===!0x0,'workingDays':_0x2e5854};}[_0x4e5412(0x4d8)](_0x63e25a,_0x314d3c,_0x251e12){const _0x45778f=_0x4e5412;if(_0x314d3c&&this[_0x45778f(0x23d)](_0x63e25a,_0x314d3c,_0x251e12)||_0x314d3c)return _0x314d3c;for(let _0x80f85e of _0x63e25a[_0x45778f(0x324)])if(this[_0x45778f(0x23d)](_0x63e25a,_0x80f85e,_0x251e12))return _0x80f85e;return _0x314d3c??'';}['_isGanttDateField'](_0x8c01d7,_0x318e65,_0x2f3434){const _0x1b2f1=_0x4e5412;let _0x23153e=_0x8c01d7[_0x1b2f1(0x135)][_0x318e65];if(!_0x23153e||_0x23153e['type']!==_0x3deeb7[_0x1b2f1(0x16c)]['Date']||_0x23153e[_0x1b2f1(0x380)]===!0x0||_0x23153e[_0x1b2f1(0x41e)]===!0x0)return!0x1;let _0x2f0237=this[_0x1b2f1(0x3ef)](_0x23153e);return _0x2f3434===_0x1b2f1(0x275)?_0x2f0237[_0x1b2f1(0x301)]:_0x2f0237[_0x1b2f1(0x48d)];}['_normalizeGanttDisplayColor'](_0xb511a8,_0xf7c0b4){const _0x332e78=_0x4e5412;let _0x46fa42=_0xf7c0b4[_0x332e78(0x35e)];if((_0x46fa42==null?void 0x0:_0x46fa42[_0x332e78(0x3de)])===_0x332e78(0x1ea)){let _0x21a887=_0xb511a8[_0x332e78(0x135)][_0x46fa42[_0x332e78(0x3d9)]];if(_0x21a887&&_0x21a887['type']===_0x3deeb7['BaseFieldType']['SingleSelect'])return _0x46fa42;}return(_0x46fa42==null?void 0x0:_0x46fa42[_0x332e78(0x3de)])==='conditional'&&Array[_0x332e78(0x2a0)](_0x46fa42['rules'])?{'type':_0x332e78(0x1d1),'rules':_0x46fa42[_0x332e78(0x297)]['filter'](_0x38d273=>!!_0xb511a8[_0x332e78(0x135)][_0x38d273['fieldId']])}:(_0x46fa42==null?void 0x0:_0x46fa42[_0x332e78(0x3de)])===_0x332e78(0x4b5)&&typeof _0x46fa42[_0x332e78(0x1cf)]==_0x332e78(0x3d4)&&_0x46fa42[_0x332e78(0x1cf)]['trim']()?{'type':'custom','color':_0x46fa42[_0x332e78(0x1cf)]}:{'type':_0x332e78(0x4b5),'color':'#14b8a6'};}[_0x4e5412(0x463)](_0x12f9d4,_0x4b27e6,_0xaece3){const _0x5195dc=_0x4e5412;let _0xa9f1b8=_0xaece3['displayColor'];if((_0xa9f1b8==null?void 0x0:_0xa9f1b8[_0x5195dc(0x3de)])===_0x5195dc(0x1d1)){let _0x503d1d=_0xa9f1b8['rules']['find'](_0x1cb059=>this[_0x5195dc(0x16e)](_0x12f9d4,_0x4b27e6,_0x1cb059));if(_0x503d1d)return _0x503d1d[_0x5195dc(0x1cf)];}if((_0xa9f1b8==null?void 0x0:_0xa9f1b8[_0x5195dc(0x3de)])===_0x5195dc(0x1ea)){let _0x1a89ff=_0x12f9d4[_0x5195dc(0x135)][_0xa9f1b8[_0x5195dc(0x3d9)]];if(_0x1a89ff){var _0x22736c;let _0x49fb29=_0x4b27e6[_0x5195dc(0x261)][_0xa9f1b8[_0x5195dc(0x3d9)]],_0x8db45c=Array[_0x5195dc(0x2a0)](_0x49fb29)?_0x49fb29[0x0]:_0x49fb29,_0x5b1105=_0x8db45c==null||(_0x22736c=_0x145e41(_0x1a89ff,String(_0x8db45c)))==null?void 0x0:_0x22736c['color'];if(_0x5b1105)return _0x5b1105;}}return(_0xa9f1b8==null?void 0x0:_0xa9f1b8['type'])===_0x5195dc(0x4b5)?_0xa9f1b8['color']:_0x5195dc(0x4e1);}[_0x4e5412(0x16e)](_0x2b5da5,_0x3c4cc0,_0x154fe3){const _0x3897b1=_0x4e5412;let _0x2dd2b6=_0x2b5da5[_0x3897b1(0x135)][_0x154fe3[_0x3897b1(0x3d9)]];return _0x2dd2b6?_0x33b572(_0x3c4cc0[_0x3897b1(0x261)][_0x2dd2b6['id']],_0x154fe3[_0x3897b1(0x3f5)],_0x154fe3[_0x3897b1(0x4b0)],_0x2dd2b6,{'dateMode':_0x154fe3['dateMode']}):!0x1;}[_0x4e5412(0x37b)](_0x29636d,_0x23c160){const _0x551ef0=_0x4e5412;let _0x1fed3d=this[_0x551ef0(0x54c)](_0x29636d,_0x23c160),_0x203f81=this['_normalizeGalleryConfig'](_0x29636d,_0x23c160[_0x551ef0(0x505)]??{}),_0xba55f2=this[_0x551ef0(0x143)](_0x29636d,_0x23c160);return{'type':_0x3deeb7['BaseViewType'][_0x551ef0(0x244)],'fields':_0xba55f2,'rows':_0x1fed3d,'groups':this[_0x551ef0(0x30e)](_0x29636d,_0x23c160,_0x1fed3d),'titleFieldId':_0x203f81['card']['titleFieldId'],'coverFieldId':_0x203f81[_0x551ef0(0x1e9)],'cardLayout':_0x203f81[_0x551ef0(0x33b)]??_0x551ef0(0x3c3),'showFieldNames':_0x203f81[_0x551ef0(0x482)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x29636d,_0x23c160,_0x203f81),'cardSize':_0x203f81['cardSize']??'medium','cards':_0x1fed3d[_0x551ef0(0x1fd)](_0x316c78=>({'recordId':_0x316c78['recordId'],'title':this[_0x551ef0(0x4a0)](_0x29636d,_0x316c78,_0x203f81[_0x551ef0(0x1eb)][_0x551ef0(0x1ce)]),'values':_0x316c78[_0x551ef0(0x261)]}))};}[_0x4e5412(0x117)](_0xbb1431,_0x59dda6){const _0x3b8e25=_0x4e5412;let _0x18d2a2=_0x59dda6[_0x3b8e25(0x1eb)]??{'fieldIds':[]},_0x5f0057=this[_0x3b8e25(0x3be)](_0xbb1431,_0x18d2a2[_0x3b8e25(0x1ce)]),_0x18ddd5=this[_0x3b8e25(0x422)](_0xbb1431,_0x59dda6),_0x233471=_0x59dda6[_0x3b8e25(0x131)]==='small'||_0x59dda6['cardSize']===_0x3b8e25(0x337)?_0x59dda6[_0x3b8e25(0x131)]:_0x3b8e25(0x4ef);return{..._0x59dda6,'coverFieldId':_0x18ddd5,'cardLayout':_0x59dda6[_0x3b8e25(0x33b)]===_0x3b8e25(0x11d)?_0x3b8e25(0x11d):_0x3b8e25(0x3c3),'showFieldNames':_0x59dda6['showFieldNames']!==!0x1,'fieldSettings':Object[_0x3b8e25(0x1ff)](Object[_0x3b8e25(0x26b)](_0x59dda6[_0x3b8e25(0x116)]??{})[_0x3b8e25(0x30d)](([_0x331315])=>{const _0x20c0b8=_0x3b8e25;let _0x560280=_0xbb1431['fields'][_0x331315];return!!(_0x560280&&_0x560280[_0x20c0b8(0x41e)]!==!0x0&&_0x560280[_0x20c0b8(0x3de)]!==_0x3deeb7[_0x20c0b8(0x16c)][_0x20c0b8(0x444)]);})),'card':{..._0x18d2a2,'titleFieldId':_0x5f0057,'coverFieldId':_0x18ddd5,'fieldIds':Array['isArray'](_0x18d2a2[_0x3b8e25(0x1ee)])?_0x18d2a2[_0x3b8e25(0x1ee)]:[]},'cardSize':_0x233471};}[_0x4e5412(0x3be)](_0x464141,_0x2c13de){const _0x585a7b=_0x4e5412;let _0x36a5b2=_0x2c13de?_0x464141[_0x585a7b(0x135)][_0x2c13de]:void 0x0;return _0x36a5b2&&_0x36a5b2['system']!==!0x0&&_0x36a5b2['type']!==_0x3deeb7[_0x585a7b(0x16c)][_0x585a7b(0x444)]?_0x36a5b2['id']:_0x5cb907(_0x464141);}[_0x4e5412(0x422)](_0x3b8b69,_0x5aa66f){const _0x333fa1=_0x4e5412;var _0x167c04;let _0x4e33c0=_0x5aa66f[_0x333fa1(0x1e9)]??((_0x167c04=_0x5aa66f[_0x333fa1(0x1eb)])==null?void 0x0:_0x167c04[_0x333fa1(0x1e9)])??null;if(!_0x4e33c0)return null;let _0x40580b=_0x3b8b69[_0x333fa1(0x135)][_0x4e33c0];return _0x40580b&&this[_0x333fa1(0x3ef)](_0x40580b)[_0x333fa1(0x462)]?_0x40580b['id']:null;}[_0x4e5412(0x525)](_0x23584d,_0x258f36,_0x36d2d5){const _0x596303=_0x4e5412;var _0x2ffffd,_0x4e1ae1,_0x1aa05e;let _0x14c5db=_0x36d2d5['fieldSettings']??{},_0x5e2195=((_0x2ffffd=_0x36d2d5[_0x596303(0x1eb)])==null?void 0x0:_0x2ffffd[_0x596303(0x1ce)])??_0x5cb907(_0x23584d),_0x50b85c=_0x36d2d5[_0x596303(0x1e9)]??((_0x4e1ae1=_0x36d2d5[_0x596303(0x1eb)])==null?void 0x0:_0x4e1ae1[_0x596303(0x1e9)])??null,_0x7afcc1=(_0x1aa05e=_0x36d2d5[_0x596303(0x1eb)])!=null&&(_0x1aa05e=_0x1aa05e[_0x596303(0x1ee)])!=null&&_0x1aa05e['length']?_0x36d2d5[_0x596303(0x1eb)][_0x596303(0x1ee)]:_0x16e3d7(_0x23584d,[_0x5e2195,_0x50b85c,_0x23584d['primaryFieldId']]);return _0x7afcc1[_0x596303(0x30d)](_0x523f26=>{const _0x5cfce1=_0x596303;var _0x170798,_0x15d1dd;let _0x1b31d8=_0x23584d[_0x5cfce1(0x135)][_0x523f26];return!(!_0x1b31d8||_0x1b31d8[_0x5cfce1(0x41e)]===!0x0||_0x1b31d8[_0x5cfce1(0x3de)]===_0x3deeb7[_0x5cfce1(0x16c)][_0x5cfce1(0x444)]||_0x1b31d8['id']===_0x5e2195||_0x1b31d8['id']===_0x50b85c||(_0x170798=_0x258f36[_0x5cfce1(0x116)])!=null&&(_0x170798=_0x170798[_0x523f26])!=null&&_0x170798[_0x5cfce1(0x257)]||(_0x15d1dd=_0x14c5db[_0x523f26])!=null&&_0x15d1dd[_0x5cfce1(0x257)]);})[_0x596303(0x54f)]((_0x3bad6c,_0x409a48)=>{const _0x254421=_0x596303;var _0xbe2150,_0x264190;return(((_0xbe2150=_0x14c5db[_0x3bad6c])==null?void 0x0:_0xbe2150[_0x254421(0x52a)])??_0x7afcc1['indexOf'](_0x3bad6c))-(((_0x264190=_0x14c5db[_0x409a48])==null?void 0x0:_0x264190[_0x254421(0x52a)])??_0x7afcc1[_0x254421(0x41d)](_0x409a48));});}[_0x4e5412(0x143)](_0x1581b5,_0x5ce33e){const _0x496423=_0x4e5412;var _0x1e6dd7;return((_0x1e6dd7=_0x5ce33e[_0x496423(0x324)])!=null&&_0x1e6dd7[_0x496423(0x4b3)]?_0x5ce33e['fieldOrder']:_0x1581b5[_0x496423(0x324)])[_0x496423(0x27f)](_0x2c97fc=>{const _0x36c102=_0x496423;var _0x351aad;let _0xe97164=_0x1581b5[_0x36c102(0x135)][_0x2c97fc],_0x32da39=((_0x351aad=_0x5ce33e['fieldSettings'])==null?void 0x0:_0x351aad[_0x2c97fc])??{};return!_0xe97164||_0xe97164[_0x36c102(0x41e)]===!0x0||_0xe97164[_0x36c102(0x3de)]===_0x3deeb7[_0x36c102(0x16c)]['RecordId']||_0x32da39[_0x36c102(0x257)]?[]:[{'id':_0xe97164['id'],'name':_0xe97164[_0x36c102(0x1cd)],'description':_0xe97164[_0x36c102(0x339)],'type':_0xe97164['type'],'config':_0xe97164[_0x36c102(0x505)],'width':_0x32da39[_0x36c102(0x198)],'setting':_0x32da39}];});}['_projectRows'](_0x331778,_0x129420){const _0x56d33a=_0x4e5412;var _0x174937;return _0x2eb728(_0x56d33a(0x3e6),()=>{const _0x384afc=_0x56d33a;var _0x3e2ab5,_0x4a14e9;let _0x411e70=this[_0x384afc(0x467)](_0x331778),_0x2e49ae=this[_0x384afc(0x1b8)](_0x331778['id'],_0x129420),_0x4c3490=this[_0x384afc(0x52c)](_0x331778['id']),_0x50f056=this[_0x384afc(0x28f)][_0x384afc(0x3c1)](_0x2e49ae);if(_0x50f056&&_0x50f056[_0x384afc(0x557)]===this[_0x384afc(0x44f)]&&_0x50f056[_0x384afc(0x498)]===this[_0x384afc(0x2b8)](_0x331778['id'])){if(_0x50f056[_0x384afc(0x4a5)]===_0x4c3490&&_0x50f056['baseRows']===_0x411e70)return _0x50f056[_0x384afc(0x20d)];if(_0x50f056[_0x384afc(0x4a5)]!==_0x4c3490&&!this[_0x384afc(0x4cc)](_0x331778['id'],_0x50f056[_0x384afc(0x4a5)],_0x4c3490,this[_0x384afc(0x230)](_0x129420))){let _0x23b2a0=_0x50f056[_0x384afc(0x20d)]===_0x50f056[_0x384afc(0x45f)]?_0x411e70:this[_0x384afc(0x34b)](_0x50f056[_0x384afc(0x20d)],_0x411e70);if(_0x23b2a0)return this[_0x384afc(0x28f)]['set'](_0x2e49ae,{..._0x50f056,'rows':_0x23b2a0,'baseRows':_0x411e70,'cellRevision':_0x4c3490}),_0x23b2a0;}}let _0x5b23d0=_0x2eb728('BaseProjection.filterAndSortRows',()=>this[_0x384afc(0x565)](_0x331778,_0x129420,this[_0x384afc(0x40d)](_0x331778,_0x129420,_0x411e70)),{'tableId':_0x331778['id'],'viewId':_0x129420==null?void 0x0:_0x129420['id'],'viewType':_0x129420==null?void 0x0:_0x129420[_0x384afc(0x3de)],'rows':_0x411e70[_0x384afc(0x4b3)],'filters':(_0x129420==null||(_0x3e2ab5=_0x129420['filter'])==null?void 0x0:_0x3e2ab5['conditions'][_0x384afc(0x4b3)])??0x0,'sorts':(_0x129420==null||(_0x4a14e9=_0x129420['sort'])==null?void 0x0:_0x4a14e9['length'])??0x0});return this[_0x384afc(0x28f)]['set'](_0x2e49ae,{'table':_0x331778,'rows':_0x5b23d0,'baseRows':_0x411e70,'globalRevision':this[_0x384afc(0x44f)],'tableRevision':this[_0x384afc(0x2b8)](_0x331778['id']),'cellRevision':_0x4c3490}),_0x5b23d0;},{'tableId':_0x331778['id'],'viewId':_0x129420==null?void 0x0:_0x129420['id'],'viewType':_0x129420==null?void 0x0:_0x129420[_0x56d33a(0x3de)],'records':((_0x174937=_0x331778[_0x56d33a(0x402)])==null?void 0x0:_0x174937[_0x56d33a(0x4b3)])??Object[_0x56d33a(0x2e5)](_0x331778[_0x56d33a(0x4ce)]??{})[_0x56d33a(0x4b3)]});}[_0x4e5412(0x467)](_0x45c2d4){const _0x40e772=_0x4e5412;var _0x3ec0a7;return _0x2eb728('BaseProjection.projectTableRows',()=>{const _0x18ee1a=_0x2d78;var _0x1bd6be;let _0x268dde=this[_0x18ee1a(0x52c)](_0x45c2d4['id']),_0x15c6dc=this[_0x18ee1a(0x365)][_0x18ee1a(0x3c1)](_0x45c2d4['id']);if(_0x15c6dc&&_0x15c6dc[_0x18ee1a(0x557)]===this['_globalRevision']&&_0x15c6dc[_0x18ee1a(0x498)]===this[_0x18ee1a(0x2b8)](_0x45c2d4['id'])){if(_0x15c6dc[_0x18ee1a(0x4a5)]===_0x268dde&&_0x397718(_0x15c6dc['table'],_0x45c2d4))return _0x15c6dc['table']=_0x45c2d4,_0x15c6dc[_0x18ee1a(0x20d)];let _0x2dcd4b=this['_patchProjectedRowsForCellInvalidations'](_0x45c2d4,_0x15c6dc,_0x268dde);if(_0x2dcd4b)return _0x2dcd4b;}_0x192ff6(_0x45c2d4)||_0x3dd317(_0x45c2d4);let _0x7e2a48=(_0x1bd6be=_0x45c2d4[_0x18ee1a(0x402)])!=null&&_0x1bd6be[_0x18ee1a(0x4b3)]?_0x45c2d4[_0x18ee1a(0x402)]:_0x55276c(_0x45c2d4[_0x18ee1a(0x4ce)]),_0x42ddc3=_0x2eb728('BaseProjection.materializeTableRows',()=>{const _0x69102b=_0x18ee1a;let _0x53c60b=[];for(let _0x5b53b9 of _0x7e2a48){let _0x5b9a27=_0x45c2d4[_0x69102b(0x4ce)][_0x5b53b9];if(!_0x5b9a27)continue;let _0x3ccae0={};for(let _0x1048c2 of _0x45c2d4[_0x69102b(0x324)])_0x3ccae0[_0x1048c2]=_0x3ff8b9(_0x45c2d4,_0x5b9a27['id'],_0x1048c2);_0x53c60b['push']({'recordId':_0x5b9a27['id'],'values':_0x3ccae0});}return _0x53c60b;},{'tableId':_0x45c2d4['id'],'records':_0x7e2a48[_0x18ee1a(0x4b3)],'fields':_0x45c2d4[_0x18ee1a(0x324)][_0x18ee1a(0x4b3)]});return this[_0x18ee1a(0x365)][_0x18ee1a(0x4b6)](_0x45c2d4['id'],{'table':_0x45c2d4,'rows':_0x42ddc3,'rowIndexById':_0x142c3d(_0x42ddc3),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x18ee1a(0x2b8)](_0x45c2d4['id']),'cellRevision':_0x268dde}),_0x42ddc3;},{'tableId':_0x45c2d4['id'],'records':((_0x3ec0a7=_0x45c2d4[_0x40e772(0x402)])==null?void 0x0:_0x3ec0a7[_0x40e772(0x4b3)])??Object[_0x40e772(0x2e5)](_0x45c2d4[_0x40e772(0x4ce)]??{})['length'],'fields':_0x45c2d4[_0x40e772(0x324)][_0x40e772(0x4b3)]});}[_0x4e5412(0x294)](_0xb94ec9,_0x170ef4,_0x326e94){const _0x559ba0=_0x4e5412;let _0x2e64aa=(this[_0x559ba0(0x469)]['get'](_0xb94ec9['id'])??[])[_0x559ba0(0x30d)](_0x2bdb1a=>_0x2bdb1a[_0x559ba0(0x140)]>_0x170ef4[_0x559ba0(0x4a5)]&&_0x2bdb1a['revision']<=_0x326e94);if(!_0x2e64aa['length'])return _0x170ef4[_0x559ba0(0x561)]===_0xb94ec9?_0x170ef4[_0x559ba0(0x20d)]:null;let _0x5b5fdd=_0x170ef4['rows'],_0xca4e27=new Map();for(let _0xdb585b of _0x2e64aa){let _0x3069f5=_0xca4e27[_0x559ba0(0x3c1)](_0xdb585b[_0x559ba0(0x3b0)]);_0x3069f5||(_0x3069f5=new Set(),_0xca4e27['set'](_0xdb585b[_0x559ba0(0x3b0)],_0x3069f5)),_0x3069f5[_0x559ba0(0x2af)](_0xdb585b[_0x559ba0(0x3d9)]);}for(let [_0x54a397,_0x48d668]of _0xca4e27){if(!_0xb94ec9['records'][_0x54a397])return null;let _0x2534d2=_0x170ef4[_0x559ba0(0x31d)][_0x559ba0(0x3c1)](_0x54a397);if(_0x2534d2==null)return null;_0x5b5fdd===_0x170ef4[_0x559ba0(0x20d)]&&(_0x5b5fdd=[..._0x170ef4[_0x559ba0(0x20d)]]);let _0xdab703=_0x5b5fdd[_0x2534d2],_0x100df6={..._0xdab703['values']};_0x48d668[_0x559ba0(0x349)](_0x6783f5=>{_0x100df6[_0x6783f5]=_0x3ff8b9(_0xb94ec9,_0x54a397,_0x6783f5);}),_0x5b5fdd[_0x2534d2]={..._0xdab703,'values':_0x100df6};}let _0x5bb1e4={'table':_0xb94ec9,'rows':_0x5b5fdd,'rowIndexById':_0x170ef4[_0x559ba0(0x31d)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x559ba0(0x2b8)](_0xb94ec9['id']),'cellRevision':_0x326e94};return this[_0x559ba0(0x365)][_0x559ba0(0x4b6)](_0xb94ec9['id'],_0x5bb1e4),this['_cellInvalidations'][_0x559ba0(0x4b6)](_0xb94ec9['id'],(this[_0x559ba0(0x469)]['get'](_0xb94ec9['id'])??[])[_0x559ba0(0x30d)](_0x1e5d03=>_0x1e5d03['revision']>Math[_0x559ba0(0x37f)](0x0,_0x326e94-0x100))),_0x5b5fdd;}[_0x4e5412(0x34b)](_0x4a4c66,_0x39ddd1){const _0x5b399a=_0x4e5412;let _0x492651=new Map(_0x39ddd1['map'](_0x544b31=>[_0x544b31['recordId'],_0x544b31])),_0x43e413=!0x1,_0x54c6b8=_0x4a4c66[_0x5b399a(0x1fd)](_0x2b68db=>{const _0x4af5a8=_0x5b399a;let _0x33d558=_0x492651[_0x4af5a8(0x3c1)](_0x2b68db['recordId']);return _0x33d558?_0x33d558===_0x2b68db?_0x2b68db:(_0x43e413=!0x0,_0x33d558):_0x2b68db;});return _0x43e413?_0x54c6b8:_0x4a4c66;}[_0x4e5412(0x4cc)](_0x4c8fcf,_0x4ee4a9,_0x47177e,_0x37dc7f){const _0x5d9f42=_0x4e5412;return!_0x37dc7f['size']||_0x4ee4a9===_0x47177e?!0x1:_0x47177e-_0x4ee4a9>0x100||(this[_0x5d9f42(0x469)][_0x5d9f42(0x3c1)](_0x4c8fcf)??[])[_0x5d9f42(0x3a8)](_0x2b9aff=>_0x2b9aff['revision']>_0x4ee4a9&&_0x2b9aff[_0x5d9f42(0x140)]<=_0x47177e&&_0x37dc7f[_0x5d9f42(0x10f)](_0x2b9aff[_0x5d9f42(0x3d9)]));}[_0x4e5412(0x230)](_0x37ad0e){const _0x32c9b3=_0x4e5412;var _0x28a732,_0x38c8f2;let _0x46f113=new Set();return _0x37ad0e==null||(_0x28a732=_0x37ad0e[_0x32c9b3(0x30d)])==null||_0x28a732[_0x32c9b3(0x433)][_0x32c9b3(0x349)](_0x2e20a6=>_0x46f113['add'](_0x2e20a6[_0x32c9b3(0x3d9)])),_0x37ad0e==null||(_0x38c8f2=_0x37ad0e[_0x32c9b3(0x54f)])==null||_0x38c8f2[_0x32c9b3(0x349)](_0xbbec96=>_0x46f113[_0x32c9b3(0x2af)](_0xbbec96[_0x32c9b3(0x3d9)])),_0x46f113;}[_0x4e5412(0x34d)](_0x325d7c){const _0x115c17=_0x4e5412;var _0x15f4b0;let _0x25bd73=this['_filterSortFieldIds'](_0x325d7c);return(_0x15f4b0=_0x325d7c[_0x115c17(0x4fc)])==null||_0x15f4b0[_0x115c17(0x349)](_0x5deb04=>_0x25bd73[_0x115c17(0x2af)](_0x5deb04[_0x115c17(0x3d9)])),_0x25bd73;}[_0x4e5412(0x40d)](_0x1cadfc,_0x3de03a,_0x5a44b0){const _0x18390d=_0x4e5412;let _0x32c3a3=_0x3de03a==null?void 0x0:_0x3de03a['filter'];if(!(_0x32c3a3!=null&&_0x32c3a3['conditions'][_0x18390d(0x4b3)]))return _0x5a44b0;let _0xd22bcd=_0x32c3a3[_0x18390d(0x433)][_0x18390d(0x30d)](_0x455f70=>!_0x943d6d(_0x455f70));return _0xd22bcd[_0x18390d(0x4b3)]?_0x5a44b0[_0x18390d(0x30d)](_0x3cc505=>{const _0x55abf8=_0x18390d;if(_0x32c3a3[_0x55abf8(0x3a3)]===_0x3deeb7['BaseFilterConjunction']['OR']){for(let _0x227958 of _0xd22bcd){let _0x4225f5=_0x1cadfc[_0x55abf8(0x135)][_0x227958[_0x55abf8(0x3d9)]];if(!_0x4225f5||this[_0x55abf8(0x42b)][_0x55abf8(0x3c1)](_0x4225f5[_0x55abf8(0x3de)])[_0x55abf8(0x30d)](_0x3cc505[_0x55abf8(0x261)][_0x4225f5['id']],_0x227958[_0x55abf8(0x3f5)],_0x227958[_0x55abf8(0x4b0)],_0x4225f5))return!0x0;}return!0x1;}for(let _0x1c99c6 of _0xd22bcd){let _0x378f4a=_0x1cadfc['fields'][_0x1c99c6['fieldId']];if(_0x378f4a&&!this[_0x55abf8(0x42b)][_0x55abf8(0x3c1)](_0x378f4a[_0x55abf8(0x3de)])[_0x55abf8(0x30d)](_0x3cc505[_0x55abf8(0x261)][_0x378f4a['id']],_0x1c99c6[_0x55abf8(0x3f5)],_0x1c99c6['operand'],_0x378f4a))return!0x1;}return!0x0;}):_0x5a44b0;}['_sortRows'](_0x2d426d,_0x425836,_0x4716d0){const _0x4d8e89=_0x4e5412;let _0x35b044=(_0x425836==null?void 0x0:_0x425836[_0x4d8e89(0x54f)])??[];if(!_0x35b044[_0x4d8e89(0x4b3)])return _0x4716d0;let _0x1f1871=_0x35b044[_0x4d8e89(0x27f)](_0x4273bc=>{const _0x676844=_0x4d8e89;let _0x5327df=_0x2d426d['fields'][_0x4273bc[_0x676844(0x3d9)]];return _0x5327df?[{..._0x4273bc,'field':_0x5327df}]:[];});return _0x1f1871[_0x4d8e89(0x4b3)]?this['_canUseFastSort'](_0x1f1871)?this[_0x4d8e89(0x1d3)](_0x1f1871,_0x4716d0):[..._0x4716d0][_0x4d8e89(0x54f)]((_0x5f4cfa,_0x28a685)=>{const _0x3dabe6=_0x4d8e89;for(let _0x9e927f of _0x1f1871){let _0x4d639e=_0x9e927f[_0x3dabe6(0x283)],_0x1da043=this['_fieldRegistry'][_0x3dabe6(0x3c1)](_0x4d639e['type'])['compare'](_0x5f4cfa[_0x3dabe6(0x261)][_0x4d639e['id']],_0x28a685[_0x3dabe6(0x261)][_0x4d639e['id']],_0x4d639e);if(_0x1da043!==0x0)return _0x9e927f['direction']===_0x3deeb7[_0x3dabe6(0x2a2)][_0x3dabe6(0x1de)]?-_0x1da043:_0x1da043;}return 0x0;}):_0x4716d0;}[_0x4e5412(0x363)](_0x17ed39){const _0x14d5a8=_0x4e5412;return _0x17ed39[_0x14d5a8(0x41c)](_0x1f421f=>_0x7e3ac['has'](_0x1f421f[_0x14d5a8(0x283)][_0x14d5a8(0x3de)]));}['_fastSortRows'](_0x3b0232,_0x36c114){const _0x11e43d=_0x4e5412;return _0x36c114[_0x11e43d(0x1fd)]((_0x131e06,_0x546011)=>({'row':_0x131e06,'index':_0x546011,'keys':_0x3b0232[_0x11e43d(0x1fd)](_0x277704=>_0x131e06['values'][_0x277704[_0x11e43d(0x3d9)]])}))[_0x11e43d(0x54f)]((_0x47ff73,_0x4a32c4)=>{const _0x5b69a1=_0x11e43d;for(let _0x589112=0x0;_0x589112<_0x3b0232['length'];_0x589112++){let _0x2a0611=_0x2faada(_0x47ff73[_0x5b69a1(0x2e5)][_0x589112],_0x4a32c4['keys'][_0x589112]);if(_0x2a0611!==0x0)return _0x3b0232[_0x589112][_0x5b69a1(0x51f)]===_0x3deeb7[_0x5b69a1(0x2a2)][_0x5b69a1(0x1de)]?-_0x2a0611:_0x2a0611;}return _0x47ff73[_0x5b69a1(0x1ac)]-_0x4a32c4[_0x5b69a1(0x1ac)];})[_0x11e43d(0x1fd)](_0x1d1bad=>_0x1d1bad[_0x11e43d(0x307)]);}[_0x4e5412(0x30e)](_0x1c66f6,_0x3f8d2f,_0x516ee0){const _0x3227e4=_0x4e5412;var _0x499e2f;return _0x2eb728(_0x3227e4(0x180),()=>{const _0x154c90=_0x3227e4;var _0x3b9f5c;if(!((_0x3b9f5c=_0x3f8d2f['group'])!=null&&_0x3b9f5c['length']))return[];let _0x58979e=_0x3f8d2f[_0x154c90(0x4fc)][_0x154c90(0x30d)](_0x75afc3=>_0x1c66f6[_0x154c90(0x135)][_0x75afc3[_0x154c90(0x3d9)]]);if(!_0x58979e[_0x154c90(0x4b3)])return[];let _0x3ee665=this[_0x154c90(0x282)](_0x1c66f6['id'],_0x3f8d2f,_0x58979e),_0x3eb75e=this[_0x154c90(0x52c)](_0x1c66f6['id']),_0x40c755=this[_0x154c90(0x1c9)]['get'](_0x3ee665);if(_0x40c755&&_0x40c755[_0x154c90(0x557)]===this['_globalRevision']&&_0x40c755[_0x154c90(0x498)]===this[_0x154c90(0x2b8)](_0x1c66f6['id'])){if(_0x40c755[_0x154c90(0x4a5)]===_0x3eb75e&&_0x40c755[_0x154c90(0x20d)]===_0x516ee0)return _0x40c755[_0x154c90(0x194)];if(_0x40c755[_0x154c90(0x4a5)]!==_0x3eb75e&&!this[_0x154c90(0x4cc)](_0x1c66f6['id'],_0x40c755[_0x154c90(0x4a5)],_0x3eb75e,this[_0x154c90(0x34d)](_0x3f8d2f)))return this[_0x154c90(0x1c9)][_0x154c90(0x4b6)](_0x3ee665,{..._0x40c755,'rows':_0x516ee0,'cellRevision':_0x3eb75e}),_0x40c755['groups'];}let _0x15e08b=new Map();for(let _0x443ae2 of _0x516ee0){let _0x154805=_0x15e08b,_0x57808f='';for(let _0x32f9e3=0x0;_0x32f9e3<_0x58979e['length'];_0x32f9e3++){let _0x3bf966=_0x58979e[_0x32f9e3],_0x426e04=_0x443ae2[_0x154c90(0x261)][_0x3bf966[_0x154c90(0x3d9)]],_0x32dfe9=_0x145df5(_0x426e04),_0x598c79=_0x3bf966[_0x154c90(0x3d9)]+'\x00'+_0x32dfe9,_0x28f600=_0x57808f+'/'+_0x3bf966['fieldId']+':'+_0x32dfe9,_0x2b9281=_0x154805[_0x154c90(0x3c1)](_0x598c79);_0x2b9281||(_0x2b9281={'key':_0x32dfe9,'value':_0x426e04,'path':_0x28f600,'label':_0x32dfe9||_0x154c90(0x1d7),'fieldId':_0x3bf966[_0x154c90(0x3d9)],'level':_0x32f9e3,'recordIds':[],'children':new Map()},_0x154805[_0x154c90(0x4b6)](_0x598c79,_0x2b9281)),_0x2b9281['recordIds'][_0x154c90(0x296)](_0x443ae2[_0x154c90(0x3b0)]),_0x154805=_0x2b9281[_0x154c90(0x528)],_0x57808f=_0x28f600;}}let _0x593f43=this[_0x154c90(0x166)](_0x58979e,_0x15e08b,0x0);return this[_0x154c90(0x1c9)][_0x154c90(0x4b6)](_0x3ee665,{'table':_0x1c66f6,'rows':_0x516ee0,'groups':_0x593f43,'globalRevision':this[_0x154c90(0x44f)],'tableRevision':this[_0x154c90(0x2b8)](_0x1c66f6['id']),'cellRevision':_0x3eb75e}),_0x593f43;},{'tableId':_0x1c66f6['id'],'viewId':_0x3f8d2f['id'],'viewType':_0x3f8d2f[_0x3227e4(0x3de)],'rows':_0x516ee0[_0x3227e4(0x4b3)],'groupFields':((_0x499e2f=_0x3f8d2f[_0x3227e4(0x4fc)])==null?void 0x0:_0x499e2f['length'])??0x0});}[_0x4e5412(0x166)](_0x3b3de1,_0x414731,_0x4acf9f){const _0x58f9ea=_0x4e5412;var _0x3ec259;let _0x41027c=Array['from'](_0x414731[_0x58f9ea(0x261)]()),_0x227341=(_0x3ec259=_0x3b3de1[_0x4acf9f])==null?void 0x0:_0x3ec259[_0x58f9ea(0x51f)];return _0x227341&&_0x41027c['sort']((_0xc98840,_0x143821)=>{const _0x18e3f9=_0x58f9ea;let _0x434225=_0xc98840[_0x18e3f9(0x1c5)]['localeCompare'](_0x143821[_0x18e3f9(0x1c5)]);return _0x227341===_0x3deeb7[_0x18e3f9(0x2a2)][_0x18e3f9(0x1de)]?-_0x434225:_0x434225;}),_0x41027c[_0x58f9ea(0x1fd)](_0x4c9644=>({'key':_0x4c9644[_0x58f9ea(0x1c5)],'value':_0x4c9644[_0x58f9ea(0x425)],'path':_0x4c9644[_0x58f9ea(0x22e)],'label':_0x4c9644[_0x58f9ea(0x4c4)],'fieldId':_0x4c9644['fieldId'],'level':_0x4c9644[_0x58f9ea(0x4b8)],'recordIds':_0x4c9644['recordIds'],'children':this[_0x58f9ea(0x166)](_0x3b3de1,_0x4c9644[_0x58f9ea(0x528)],_0x4acf9f+0x1)}));}['_title'](_0xae0339,_0x1afef9,_0x3e3046){const _0x35762f=_0x4e5412;let _0x35368a=_0x3e3046??_0xae0339[_0x35762f(0x3fb)],_0x39b932=_0x1afef9['values'][_0x35368a];return _0x39b932==null?'':String(_0x39b932);}[_0x4e5412(0x441)](_0x5afa8c){const _0x21dc0a=_0x4e5412;if(Array['isArray'](_0x5afa8c))return _0x5afa8c[_0x21dc0a(0x1fd)](String);if(typeof _0x5afa8c=='string'&&_0x5afa8c)return[_0x5afa8c];}[_0x4e5412(0x3ef)](_0x130f32){const _0xee10fc=_0x4e5412;return this['_fieldRegistry']['get'](_0x130f32['type'])[_0xee10fc(0x221)](_0x130f32);}};_0x26e37c=_0x40b1f5([_0xf4310f(0x0,(0x0,_0x3deeb7[_0x4e5412(0x21a)])(_0x31028e))],_0x26e37c);function _0x145df5(_0x42dcf1){return _0x42dcf1==null?'':String(_0x42dcf1);}function _0x142c3d(_0xae3564){return new Map(_0xae3564['map']((_0x33d885,_0x73952d)=>[_0x33d885['recordId'],_0x73952d]));}function _0x192ff6(_0x39e5a8){const _0xcdc715=_0x4e5412;return!!(Array['isArray'](_0x39e5a8[_0xcdc715(0x402)])&&_0x39e5a8[_0xcdc715(0x364)]&&_0x39e5a8['rowId']&&_0x39e5a8[_0xcdc715(0x1fc)]&&_0x39e5a8[_0xcdc715(0x2b4)]&&_0x39e5a8[_0xcdc715(0x2c7)]);}function _0x3d615c(_0x20e4f7){const _0xa89efd=_0x4e5412;let _0x15ebf5=(_0x20e4f7==null?void 0x0:_0x20e4f7[_0xa89efd(0x433)][_0xa89efd(0x30d)](_0x27481d=>!_0x943d6d(_0x27481d)))??[];return!_0x20e4f7||!_0x15ebf5[_0xa89efd(0x4b3)]?null:{'conjunction':_0x20e4f7[_0xa89efd(0x3a3)],'conditions':_0x15ebf5[_0xa89efd(0x1fd)](_0x14fa93=>({'fieldId':_0x14fa93[_0xa89efd(0x3d9)],'operator':_0x14fa93['operator'],'operand':_0x14fa93[_0xa89efd(0x4b0)]}))};}function _0x397718(_0x3de707,_0x56f3a1){const _0x3b1b82=_0x4e5412;return _0x3de707['records']===_0x56f3a1[_0x3b1b82(0x4ce)]&&_0x3de707[_0x3b1b82(0x402)]===_0x56f3a1[_0x3b1b82(0x402)]&&_0x3de707[_0x3b1b82(0x135)]===_0x56f3a1[_0x3b1b82(0x135)]&&_0x3de707[_0x3b1b82(0x324)]===_0x56f3a1[_0x3b1b82(0x324)]&&_0x3de707[_0x3b1b82(0x2c7)]===_0x56f3a1[_0x3b1b82(0x2c7)]&&_0x3de707[_0x3b1b82(0x364)]===_0x56f3a1[_0x3b1b82(0x364)]&&_0x3de707[_0x3b1b82(0x449)]===_0x56f3a1[_0x3b1b82(0x449)]&&_0x3de707[_0x3b1b82(0x1fc)]===_0x56f3a1['colIndex']&&_0x3de707[_0x3b1b82(0x2b4)]===_0x56f3a1[_0x3b1b82(0x2b4)];}function _0x3dd76d(_0x2599a6){const _0xbae268=_0x4e5412;return _0x2599a6!=null&&_0x2599a6[_0xbae268(0x4b3)]?_0x2599a6['map'](_0x1b278a=>({'fieldId':_0x1b278a[_0xbae268(0x3d9)],'direction':_0x1b278a[_0xbae268(0x51f)]})):null;}function _0x321895(_0x2efb36){const _0x320806=_0x4e5412;if(typeof _0x2efb36!=_0x320806(0x30b)||!_0x2efb36)return JSON[_0x320806(0x17c)](_0x2efb36)??_0x320806(0x3a5);if(Array['isArray'](_0x2efb36))return'['+_0x2efb36['map'](_0x321895)['join'](',')+']';let _0x1043c7=_0x2efb36;return'{'+Object[_0x320806(0x2e5)](_0x1043c7)[_0x320806(0x54f)]()['map'](_0x3134f7=>JSON[_0x320806(0x17c)](_0x3134f7)+':'+_0x321895(_0x1043c7[_0x3134f7]))[_0x320806(0x289)](',')+'}';}function _0x55276c(_0x106e29){const _0xe54035=_0x4e5412;let _0x51c5f7=Object['values'](_0x106e29)[_0xe54035(0x54f)]((_0x2b64e1,_0x503f6a)=>_0x2b64e1[_0xe54035(0x3a9)][_0xe54035(0x14d)](_0x503f6a[_0xe54035(0x3a9)])),_0x52d767=[];for(let _0xa02b4d of _0x51c5f7)_0x52d767['push'](_0xa02b4d['id']);return _0x52d767;}function _0x407b88(_0x31cb2e){const _0x5db059=_0x4e5412;return{'weekdays':Array[_0x5db059(0x2a0)](_0x31cb2e==null?void 0x0:_0x31cb2e['weekdays'])&&_0x31cb2e[_0x5db059(0x290)][_0x5db059(0x4b3)]?[...new Set(_0x31cb2e[_0x5db059(0x290)][_0x5db059(0x30d)](_0x33b617=>Number['isInteger'](_0x33b617)&&_0x33b617>=0x1&&_0x33b617<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x5db059(0x2a0)](_0x31cb2e==null?void 0x0:_0x31cb2e[_0x5db059(0x171)])?_0x31cb2e[_0x5db059(0x171)]['flatMap'](_0x538124=>!_0x538124||!Number[_0x5db059(0x2d6)](_0x538124[_0x5db059(0x2dd)])?[]:[{'id':String(_0x538124['id']||'exception-'+_0x538124[_0x5db059(0x2dd)]),'date':_0x279b12(Number(_0x538124[_0x5db059(0x2dd)])),'name':String(_0x538124[_0x5db059(0x1cd)]||'Working\x20day'),'type':_0x538124[_0x5db059(0x3de)]==='working'?_0x5db059(0x13b):'off'}]):[]};}function _0x6b94fe(_0x43a9f1,_0xb0ee47,_0x155de6,_0x5ccad1){let _0x4cd481=_0x32d161(_0x43a9f1,_0xb0ee47),_0x4d4d55=_0x47d71a(_0x43a9f1,_0x155de6),_0x1fe0ed=_0x2d3a34(_0x43a9f1,_0x4cd481,_0x4d4d55,_0x5ccad1);return{'scale':_0x43a9f1,'start':_0x4cd481,'end':_0x4d4d55,'unitWidth':_0x5526b7(_0x43a9f1),'majorHeaders':_0x534bb3(_0x43a9f1,_0x4cd481,_0x4d4d55),'columns':_0x1fe0ed};}function _0x2d3a34(_0x28e321,_0x3dac31,_0x2c07b8,_0x4732ab){const _0x57a804=_0x4e5412;let _0x353201=[],_0x5bc991=_0x3dac31;for(;_0x5bc991<_0x2c07b8;){let _0x26cf85=_0x28e321===_0x57a804(0x2ce)?_0x4b18b4(_0x5bc991,0x7):_0x28e321==='year'?_0x2a0053(_0x5bc991,0x1):_0x4b18b4(_0x5bc991,0x1);_0x353201[_0x57a804(0x296)]({'id':_0x28e321+'-'+_0x5bc991,'label':_0x48b021(_0x28e321,_0x5bc991,_0x26cf85),'majorLabel':_0x1e6e53(_0x28e321,_0x5bc991),'start':_0x5bc991,'end':_0x26cf85,'nonWorking':_0x2d868d(_0x5bc991,_0x26cf85,_0x4732ab)}),_0x5bc991=_0x26cf85;}return _0x353201;}function _0x534bb3(_0x41cb06,_0x158479,_0x2c4f7c){const _0x2bea3b=_0x4e5412;let _0x48ceb9=[],_0x596f50=_0x41cb06===_0x2bea3b(0x2d9)?_0x497892(_0x158479):_0x3cbf04(_0x158479);for(;_0x596f50<_0x2c4f7c;){let _0x12f3c6=_0x41cb06===_0x2bea3b(0x2d9)?_0x424655(_0x596f50,0x1):_0x2a0053(_0x596f50,0x1);_0x48ceb9[_0x2bea3b(0x296)]({'id':_0x2bea3b(0x2a3)+_0x596f50,'label':_0x41cb06===_0x2bea3b(0x2d9)?String(new Date(_0x596f50)[_0x2bea3b(0x360)]()):_0x2fef14(_0x596f50),'start':_0x596f50,'end':_0x12f3c6}),_0x596f50=_0x12f3c6;}return _0x48ceb9;}function _0x5526b7(_0x30f7c7){const _0x216468=_0x4e5412;switch(_0x30f7c7){case _0x216468(0x343):return 0xac;case'quarter':return 0xac;case'year':return 0x88;default:return 0x56;}}function _0x32d161(_0x7b3ffd,_0x2ef4c6){return _0x7b3ffd==='year'?_0x497892(_0x2ef4c6):_0x7b3ffd==='quarter'?_0x45b795(_0x2ef4c6):_0x279b12(_0x2ef4c6);}function _0x47d71a(_0x24167e,_0xc84b6b){const _0x391757=_0x4e5412;return _0x24167e===_0x391757(0x2d9)?_0x424655(_0x497892(_0xc84b6b),0x1):_0x24167e==='quarter'?_0x4b18b4(_0x45b795(_0xc84b6b),0x7):_0x4b18b4(_0x279b12(_0xc84b6b),0x1);}function _0x48b021(_0x46ad9e,_0x5c7497,_0x13a476){const _0xdd054c=_0x4e5412;let _0x11e242=new Date(_0x5c7497);return _0x46ad9e==='quarter'?_0x11e242[_0xdd054c(0x235)]()+'-'+new Date(_0x13a476-_0x171816)[_0xdd054c(0x235)]():_0x46ad9e===_0xdd054c(0x2d9)?_0x11e242[_0xdd054c(0x112)](_0xdd054c(0x269),{'month':_0xdd054c(0x55c),'timeZone':'UTC'}):String(_0x11e242['getUTCDate']());}function _0x1e6e53(_0x2d02dc,_0x329be1){const _0x38a66f=_0x4e5412;return _0x2d02dc===_0x38a66f(0x2d9)?String(new Date(_0x329be1)[_0x38a66f(0x360)]()):_0x2fef14(_0x329be1);}function _0x2be9d3(_0x476f1c,_0x4404b1,_0x33bd6f){let _0x3904e0=_0x407b88(_0x33bd6f),_0x4f98ce=0x0;for(let _0x14d681=_0x279b12(_0x476f1c);_0x14d681<=_0x279b12(_0x4404b1);_0x14d681=_0x4b18b4(_0x14d681,0x1))_0x90f9be(_0x14d681,_0x3904e0)||_0x4f98ce++;return _0x4f98ce;}function _0x2d868d(_0x627b86,_0x4fedc9,_0x6c8599){if(!_0x6c8599)return!0x1;let _0x6a496d=_0x407b88(_0x6c8599);for(let _0x54233d=_0x279b12(_0x627b86);_0x54233d<_0x4fedc9;_0x54233d=_0x4b18b4(_0x54233d,0x1))if(!_0x90f9be(_0x54233d,_0x6a496d))return!0x1;return!0x0;}function _0x90f9be(_0x2758d4,_0x532fcb){const _0xd6e9fd=_0x4e5412;let _0x4e6510=_0x279b12(_0x2758d4),_0x346f85=_0x532fcb['exceptions']['find'](_0x11d5a7=>_0x279b12(_0x11d5a7['date'])===_0x4e6510);if(_0x346f85)return _0x346f85['type']===_0xd6e9fd(0x54a);let _0x5a87bf=new Date(_0x4e6510)[_0xd6e9fd(0x161)](),_0x5d9798=_0x5a87bf===0x0?0x7:_0x5a87bf;return!_0x532fcb['weekdays'][_0xd6e9fd(0x1a5)](_0x5d9798);}function _0x279b12(_0x428e7b){const _0x6bbbbd=_0x4e5412;let _0x48fd12=new Date(_0x428e7b);return Date[_0x6bbbbd(0x2ab)](_0x48fd12['getUTCFullYear'](),_0x48fd12[_0x6bbbbd(0x2f7)](),_0x48fd12['getUTCDate']());}function _0x45b795(_0x509d91){const _0x7f8232=_0x4e5412;let _0x1d171f=_0x279b12(_0x509d91),_0x621357=new Date(_0x1d171f)[_0x7f8232(0x161)]();return _0x4b18b4(_0x1d171f,-(_0x621357===0x0?0x6:_0x621357-0x1));}function _0x3cbf04(_0xe30a7f){const _0xb9af=_0x4e5412;let _0x394ffb=new Date(_0xe30a7f);return Date[_0xb9af(0x2ab)](_0x394ffb[_0xb9af(0x360)](),_0x394ffb['getUTCMonth'](),0x1);}function _0x497892(_0x56b4a1){const _0x181a3a=_0x4e5412;let _0x4b71fb=new Date(_0x56b4a1);return Date[_0x181a3a(0x2ab)](_0x4b71fb[_0x181a3a(0x360)](),0x0,0x1);}function _0x4b18b4(_0xe98db7,_0xe101c4){return _0xe98db7+_0xe101c4*_0x171816;}function _0x2a0053(_0x5b6d1a,_0x1490c6){const _0x320f07=_0x4e5412;let _0x2f2455=new Date(_0x5b6d1a);return Date[_0x320f07(0x2ab)](_0x2f2455[_0x320f07(0x360)](),_0x2f2455[_0x320f07(0x2f7)]()+_0x1490c6,0x1);}function _0x424655(_0x1f6219,_0x59aa2b){const _0x53d551=_0x4e5412;let _0x4e95f2=new Date(_0x1f6219);return Date[_0x53d551(0x2ab)](_0x4e95f2[_0x53d551(0x360)]()+_0x59aa2b,0x0,0x1);}function _0x2fef14(_0x3fd4c6){const _0x1875eb=_0x4e5412;let _0x14e65e=new Date(_0x3fd4c6);return _0x14e65e[_0x1875eb(0x112)](_0x1875eb(0x269),{'month':'short','timeZone':_0x1875eb(0x2ab)})+'\x20'+_0x14e65e[_0x1875eb(0x360)]();}function _0x2faada(_0x5e19fd,_0x3bb702){const _0x42c6ea=_0x4e5412;if(_0x5e19fd==null&&_0x3bb702==null)return 0x0;if(_0x5e19fd==null)return-0x1;if(_0x3bb702==null)return 0x1;if(typeof _0x5e19fd==_0x42c6ea(0x490)||typeof _0x3bb702==_0x42c6ea(0x490))return Number(_0x5e19fd===!0x0)-Number(_0x3bb702===!0x0);let _0x5a88db=Number(_0x5e19fd),_0x20ea91=Number(_0x3bb702),_0x326ca3=Number[_0x42c6ea(0x2d6)](_0x5a88db),_0x4363a5=Number[_0x42c6ea(0x2d6)](_0x20ea91);return _0x326ca3&&_0x4363a5?_0x5a88db-_0x20ea91:_0x326ca3?0x1:_0x4363a5?-0x1:String(_0x5e19fd)[_0x42c6ea(0x14d)](String(_0x3bb702));}function _0x943d6d(_0x5b79af){const _0x250328=_0x4e5412;if(_0x5b79af['operator']!=='is'&&_0x5b79af[_0x250328(0x3f5)]!==_0x250328(0x305))return!0x1;let _0x33c894=_0x5b79af[_0x250328(0x4b0)];return _0x33c894==null?!0x0:typeof _0x33c894==_0x250328(0x3d4)?_0x33c894[_0x250328(0x2de)]()==='':Array['isArray'](_0x33c894)?_0x33c894[_0x250328(0x4b3)]===0x0:!0x1;}function _0x145e41(_0x2c888f,_0x185fa8){const _0xa074c1=_0x4e5412;var _0x37f495;let _0x2e6c4b=Array[_0xa074c1(0x2a0)]((_0x37f495=_0x2c888f[_0xa074c1(0x505)])==null?void 0x0:_0x37f495['options'])?_0x2c888f['config'][_0xa074c1(0x51a)]:[];for(let _0x3e4d91 of _0x2e6c4b){if(_0x3e4d91==null)continue;if(typeof _0x3e4d91==_0xa074c1(0x3d4)){if(_0x3e4d91===_0x185fa8)return{'id':_0x3e4d91,'name':_0x3e4d91};continue;}let _0x2c0786=_0x3e4d91,_0x53527c=String(_0x2c0786['id']??_0x2c0786[_0xa074c1(0x1cd)]??''),_0x49e2c0=String(_0x2c0786['name']??_0x2c0786['id']??_0x53527c);if(_0x53527c===_0x185fa8||_0x49e2c0===_0x185fa8)return{'id':_0x53527c,'name':_0x49e2c0,'color':_0x2c0786[_0xa074c1(0x1cf)]==null?void 0x0:String(_0x2c0786[_0xa074c1(0x1cf)])};}return null;}let _0x2f8f1a=function(_0x1cbb28){const _0x26a6f0=_0x4e5412;return _0x1cbb28[_0x26a6f0(0x4bb)]='create-view',_0x1cbb28[_0x26a6f0(0x23b)]=_0x26a6f0(0x31b),_0x1cbb28;}({}),_0x59ab20={'id':'base.mutation.apply-base-json1','type':_0x3deeb7[_0x4e5412(0x3cc)]['MUTATION'],'handler'(_0x112eb8,_0x59df20){const _0x142996=_0x4e5412;let {unitId:_0x5d89a7,op:_0x51254e}=_0x59df20,_0xa87121=_0x112eb8[_0x142996(0x3c1)](_0x3deeb7[_0x142996(0x4b4)])['getUnit'](_0x5d89a7,_0x3deeb7[_0x142996(0x4ca)][_0x142996(0x475)]);if(!_0xa87121)return!0x1;let _0x4efd9c=_0xa87121[_0x142996(0x21d)](),_0x4e36c5=new _0x162342(),_0x716eeb=_0x4e36c5[_0x142996(0x270)](_0x51254e),_0x36c0e5=_0x4e36c5[_0x142996(0x16f)](_0x4efd9c,_0x51254e);return _0xa87121[_0x142996(0x1e5)](_0x36c0e5),_0xb697b6(_0x36c0e5,_0x716eeb,_0x112eb8[_0x142996(0x3c1)](_0x2b65d2)),!0x0;}};function _0xb697b6(_0x40d15f,_0x415a6f,_0x2739ff){const _0x53c24b=_0x4e5412;let _0x567b59=new Set(),_0x386e0d=new Set(),_0x3dfb86=new Set();for(let _0x113878 of _0x415a6f){if(_0x113878[_0x53c24b(0x4df)]===_0x53c24b(0x142)&&_0x113878[_0x53c24b(0x4fe)]&&_0x113878[_0x53c24b(0x18c)]){let _0x3f0fff=_0x113878[_0x53c24b(0x4fe)]+'\x00'+_0x113878[_0x53c24b(0x18c)];_0x3dfb86[_0x53c24b(0x10f)](_0x3f0fff)||(_0x3dfb86[_0x53c24b(0x2af)](_0x3f0fff),_0x2739ff[_0x53c24b(0x30f)](_0x113878[_0x53c24b(0x4fe)],_0x113878[_0x53c24b(0x18c)]));continue;}if(_0x113878[_0x53c24b(0x4df)]===_0x53c24b(0x283)&&_0x113878[_0x53c24b(0x4fe)]&&_0x113878[_0x53c24b(0x3d9)]){let _0x5e2abe=_0x113878[_0x53c24b(0x4fe)]+'\x00'+_0x113878['fieldId'];_0x386e0d[_0x53c24b(0x10f)](_0x5e2abe)||(_0x386e0d[_0x53c24b(0x2af)](_0x5e2abe),_0x2739ff[_0x53c24b(0x1ed)](_0x113878[_0x53c24b(0x4fe)],_0x113878['fieldId']));continue;}if(_0x113878['reason']!==_0x53c24b(0x234)){_0x2739ff[_0x53c24b(0x3c9)]();return;}let _0x34949d=_0x57cd84(_0x40d15f,_0x113878);if(!_0x34949d){_0x2739ff[_0x53c24b(0x3c9)]();return;}let _0x529cae=_0x34949d[_0x53c24b(0x4fe)]+'\x00'+_0x34949d['recordId']+'\x00'+_0x34949d[_0x53c24b(0x3d9)];_0x567b59[_0x53c24b(0x10f)](_0x529cae)||(_0x567b59[_0x53c24b(0x2af)](_0x529cae),_0x2739ff[_0x53c24b(0x1a6)](_0x34949d[_0x53c24b(0x4fe)],_0x34949d[_0x53c24b(0x3b0)],_0x34949d[_0x53c24b(0x3d9)]));}}function _0x57cd84(_0x38ef5b,_0x2625c9){const _0x30accc=_0x4e5412;var _0x420911,_0x16e2a3;if(!_0x2625c9['tableId'])return null;if(_0x2625c9[_0x30accc(0x3b0)]&&_0x2625c9['fieldId'])return{'tableId':_0x2625c9['tableId'],'recordId':_0x2625c9[_0x30accc(0x3b0)],'fieldId':_0x2625c9['fieldId']};if(_0x2625c9[_0x30accc(0x307)]==null||_0x2625c9[_0x30accc(0x2db)]==null)return null;let _0x247063=_0x38ef5b[_0x30accc(0x52f)][_0x2625c9[_0x30accc(0x4fe)]],_0x212334=_0x247063==null||(_0x420911=_0x247063[_0x30accc(0x449)])==null?void 0x0:_0x420911[_0x2625c9[_0x30accc(0x307)]],_0x40f8b1=_0x247063==null||(_0x16e2a3=_0x247063['colId'])==null?void 0x0:_0x16e2a3[_0x2625c9['column']];return!_0x212334||!_0x40f8b1?null:{'tableId':_0x2625c9[_0x30accc(0x4fe)],'recordId':_0x212334,'fieldId':_0x40f8b1};}let _0x340e2b=_0x3deeb7[_0x4e5412(0x31a)][_0x4e5412(0x439)](String[_0x4e5412(0x382)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x46167c=_0x3deeb7[_0x4e5412(0x31a)][_0x4e5412(0x439)](String[_0x4e5412(0x382)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x47a225=/\{([^}]+)\}/g,_0x21724b=_0x3deeb7[_0x4e5412(0x31a)][_0x4e5412(0x439)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x48a6c1=_0x3deeb7[_0x4e5412(0x31a)]['createRegExpFromSafeFragment'](String[_0x4e5412(0x382)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0xe1990=_0x3deeb7[_0x4e5412(0x31a)][_0x4e5412(0x439)](String[_0x4e5412(0x382)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x5f58fd=_0x3deeb7[_0x4e5412(0x31a)]['createRegExpFromSafeFragment'](String[_0x4e5412(0x382)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4e5ffe=_0x3deeb7[_0x4e5412(0x31a)]['createRegExpFromSafeFragment'](String[_0x4e5412(0x382)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x518216=_0x3deeb7[_0x4e5412(0x31a)]['createRegExpFromSafeFragment'](String[_0x4e5412(0x382)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x4bcf4f=class{[_0x4e5412(0x288)](_0x2a62c6,_0x26f080=_0x2a62c6['id']){const _0x3b5865=_0x4e5412;var _0x296482;let _0x3a9cb8=((_0x296482=_0x2a62c6['recordOrder'])==null?void 0x0:_0x296482['length'])??Object['values'](_0x2a62c6[_0x3b5865(0x4ce)])[_0x3b5865(0x4b3)];return{'sheetId':_0x26f080,'titleMap':new Map(_0x2a62c6[_0x3b5865(0x324)]['map']((_0x44d1b6,_0x2ac99c)=>{const _0x14a86b=_0x3b5865;var _0x22b6f4;return[((_0x22b6f4=_0x2a62c6[_0x14a86b(0x135)][_0x44d1b6])==null?void 0x0:_0x22b6f4[_0x14a86b(0x1cd)])??_0x44d1b6,_0x2ac99c];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x3a9cb8-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x2a62c6[_0x3b5865(0x324)][_0x3b5865(0x4b3)]-0x1)},'showHeader':!0x1};}[_0x4e5412(0x27a)](_0x1077ee,_0x55e15f){const _0x68a6c8=_0x4e5412;let _0xb19f83=[],_0x52f80f=_0x55e15f?new Set(_0x55e15f):null,_0x26b9a7=(0x0,_0x3deeb7['createBaseFormulaTableNameMap'])(_0x1077ee);return Object[_0x68a6c8(0x261)](_0x1077ee[_0x68a6c8(0x52f)])[_0x68a6c8(0x30d)](_0x56b8f0=>!_0x52f80f||_0x52f80f[_0x68a6c8(0x10f)](_0x56b8f0['id']))[_0x68a6c8(0x349)](_0x366c79=>{const _0x41dc00=_0x68a6c8;let _0x280871=this['createSuperTableReference'](_0x366c79,_0x366c79['id']);_0xb19f83[_0x41dc00(0x296)]({'tableId':_0x366c79['id'],'tableName':_0x26b9a7[_0x41dc00(0x3c1)](_0x366c79['id']),'reference':_0x280871});}),_0xb19f83;}[_0x4e5412(0x40c)](_0x44a882,_0x5bdb5b,_0x539ab2={}){const _0x39dbda=_0x4e5412;let _0x58750a=_0x44a882[_0x39dbda(0x2de)]();if(!_0x58750a)return{'valid':!0x0};if(_0x418108(_0x58750a))return{'valid':!0x1,'reason':_0x39dbda(0x35f)};let _0x3d4381=_0x539ab2[_0x39dbda(0x2f1)]?(0x0,_0x3deeb7[_0x39dbda(0x478)])(_0x539ab2['snapshot']):void 0x0;for(let _0x155327 of _0x5ebb96(_0x58750a)){let _0x351a38=_0xaf0740(_0x155327,_0x5bdb5b,_0x539ab2[_0x39dbda(0x2f1)],_0x3d4381);if(!_0x351a38[_0x39dbda(0x561)])return{'valid':!0x1,'reason':_0x39dbda(0x229)+_0x155327[_0x39dbda(0x3e4)]+_0x39dbda(0x4d4)};if(!_0x351a38['field'])return{'valid':!0x1,'reason':_0x39dbda(0x2f6)+_0x155327[_0x39dbda(0x447)]+_0x39dbda(0x45a)};}return{'valid':!0x0};}[_0x4e5412(0x4e6)](_0x2ab37b,_0x1936f9,_0x23b586={}){const _0x6ec767=_0x4e5412;let _0x56586f=new Set();for(let _0x253d8d of this[_0x6ec767(0x2e7)](_0x2ab37b,_0x1936f9,_0x23b586))_0x253d8d['tableId']===_0x1936f9['id']&&_0x56586f[_0x6ec767(0x2af)](_0x253d8d[_0x6ec767(0x3d9)]);return Array[_0x6ec767(0x33c)](_0x56586f);}[_0x4e5412(0x2e7)](_0x32803e,_0x3319d2,_0x5d13bb={}){const _0x2d8608=_0x4e5412;let _0x21a3e0=new Map(),_0x352075=_0x5d13bb[_0x2d8608(0x2f1)]?(0x0,_0x3deeb7[_0x2d8608(0x478)])(_0x5d13bb[_0x2d8608(0x2f1)]):void 0x0;for(let _0x29999f of _0x5ebb96(_0x32803e)){let _0x4fa74b=_0xaf0740(_0x29999f,_0x3319d2,_0x5d13bb[_0x2d8608(0x2f1)],_0x352075);if(!_0x4fa74b[_0x2d8608(0x561)]||!_0x4fa74b[_0x2d8608(0x283)])continue;let _0x189fa2=_0x4fa74b['table']['id']+'\x1f'+_0x4fa74b[_0x2d8608(0x283)]['id'];_0x21a3e0['set'](_0x189fa2,{'tableId':_0x4fa74b[_0x2d8608(0x561)]['id'],'fieldId':_0x4fa74b[_0x2d8608(0x283)]['id']});}return Array[_0x2d8608(0x33c)](_0x21a3e0[_0x2d8608(0x261)]());}};function _0x3c9b9e(_0xd8d703,_0x288eaa){const _0x566be6=_0x4e5412;var _0x353dca;let _0x558444=[],_0x1844a7=(_0x353dca=_0x288eaa[_0x566be6(0x1f4)])==null?void 0x0:_0x353dca[_0xd8d703['id']];return _0x1844a7&&Object[_0x566be6(0x26b)](_0x1844a7)[_0x566be6(0x349)](([_0x4169f7,_0xd65a4d])=>{const _0x3fb927=_0x566be6;let _0x594d01=_0xd8d703['tables'][_0x4169f7];if(!_0x594d01||!_0xd65a4d)return;let _0x559128=_0x3dd317(_0x594d01),_0x5ae563=[];new _0x3deeb7[(_0x3fb927(0x273))](_0xd65a4d)[_0x3fb927(0x3c8)]((_0x3849e0,_0x43ecda,_0xf8b8b5)=>{const _0x1af048=_0x3fb927;let _0x36d4d7=_0x5d5586(_0x559128,_0x3849e0,_0x43ecda,_0xf8b8b5);_0x36d4d7&&_0x5ae563[_0x1af048(0x296)](_0x36d4d7);}),_0x5ae563[_0x3fb927(0x4b3)]&&_0x558444[_0x3fb927(0x296)]({'unitId':_0xd8d703['id'],'tableId':_0x4169f7,'patches':_0x5ae563});}),_0x558444;}function _0x5d5586(_0x45e98a,_0x1e3330,_0x5da478,_0x13973c){const _0x80f834=_0x4e5412;var _0x1ccaf0,_0x1bdf25,_0x8ec51;let _0x25120f=(_0x1ccaf0=_0x45e98a[_0x80f834(0x449)])==null?void 0x0:_0x1ccaf0[_0x1e3330],_0xaa4d75=(_0x1bdf25=_0x45e98a[_0x80f834(0x2b4)])==null?void 0x0:_0x1bdf25[_0x5da478];if(!_0x25120f||!_0x45e98a[_0x80f834(0x4ce)][_0x25120f]||!_0xaa4d75)return null;let _0x581348=_0x45e98a['fields'][_0xaa4d75];if(!_0x581348||_0x581348[_0x80f834(0x3de)]!==_0x80f834(0x27b))return null;let _0x311c8e=String(((_0x8ec51=_0x581348[_0x80f834(0x505)])==null?void 0x0:_0x8ec51[_0x80f834(0x27b)])??'')['trim'](),_0x4cb692=(_0x13973c==null?void 0x0:_0x13973c['v'])??null,_0x345971={'v':_0x4cb692,'t':_0xfce922(_0x4cb692),..._0x1e3330===0x0&&_0x311c8e?{'f':_0x311c8e}:{},'si':_0x581348['id']};return _0x51caf8(_0x1c4130(_0x45e98a,_0x25120f,_0xaa4d75),_0x345971)?null:{'row':_0x1e3330,'col':_0x5da478,'value':_0x345971};}function _0x51caf8(_0x19b585,_0x5209aa){return _0x19b585!=null&&Object['is'](_0x19b585['v']??null,_0x5209aa['v']??null)&&_0x19b585['t']===_0x5209aa['t']&&_0x19b585['f']===_0x5209aa['f']&&_0x19b585['si']===_0x5209aa['si'];}function _0xfce922(_0x1d22ad){const _0x30d80d=_0x4e5412;return typeof _0x1d22ad==_0x30d80d(0x38e)?_0x3deeb7[_0x30d80d(0x2e4)][_0x30d80d(0x2ea)]:typeof _0x1d22ad=='boolean'?_0x3deeb7['CellValueType'][_0x30d80d(0x174)]:typeof _0x1d22ad=='string'?_0x3deeb7['CellValueType'][_0x30d80d(0x1a4)]:null;}function _0x5ebb96(_0x253075){const _0x544fc2=_0x4e5412;let _0x132bcf=_0x57e64f(_0x253075,()=>''),_0x3d5089=new Map(),_0x2b6e69=_0x3d5e15=>{const _0x32c62d=_0x2d78;_0x3d5089[_0x32c62d(0x4b6)]((_0x3d5e15['tableName']??'')+'\x1f'+_0x3d5e15[_0x32c62d(0x447)],_0x3d5e15);};for(let _0x3205bf of _0x132bcf['matchAll'](_0x47a225))_0x2b6e69({'fieldName':_0x3205bf[0x1],'scope':'this-row'});_0x132bcf=_0x132bcf['replace'](_0x21724b,(_0x1bedaf,_0x46ec93,_0x50ea57,_0x221ab3)=>(_0x2b6e69({'tableName':_0x46ec93,'fieldName':_0x221ab3,'scope':_0x50ea57[_0x544fc2(0x4c6)]()===_0x544fc2(0x13c)?'data':_0x544fc2(0x25a)}),'\x20')),_0x132bcf=_0x132bcf[_0x544fc2(0x362)](_0x48a6c1,(_0x33db03,_0x16be78,_0x8898aa)=>(_0x2b6e69({'tableName':_0x16be78,'fieldName':_0x8898aa,'scope':'this-row'}),'\x20')),_0x132bcf=_0x132bcf[_0x544fc2(0x362)](_0x5f58fd,(_0x1a367d,_0x4f54f9,_0x1d9ad7,_0x1284da)=>(_0x2b6e69({'fieldName':_0x1284da,'scope':_0x1d9ad7['toLowerCase']()==='data'?_0x544fc2(0x13c):_0x544fc2(0x25a)}),_0x4f54f9+'\x20')),_0x132bcf=_0x132bcf[_0x544fc2(0x362)](_0x4e5ffe,(_0x382eb8,_0x21499e,_0x4e28b7)=>(_0x2b6e69({'fieldName':_0x4e28b7,'scope':_0x544fc2(0x25a)}),_0x21499e+'\x20'));for(let _0x256a0e of _0x132bcf[_0x544fc2(0x1d6)](_0xe1990))_0x2b6e69({'tableName':_0x256a0e[0x1],'fieldName':_0x256a0e[0x2]});for(let _0x5f2bf3 of _0x132bcf[_0x544fc2(0x1d6)](_0x518216))_0x2b6e69({'fieldName':_0x5f2bf3[0x2],'scope':_0x544fc2(0x25a)});return Array[_0x544fc2(0x33c)](_0x3d5089[_0x544fc2(0x261)]());}function _0x418108(_0x5b2ea5){const _0x2bd651=_0x4e5412;let _0x3a6a73=_0x57e64f(_0x5b2ea5,()=>'\x20')[_0x2bd651(0x362)](_0x47a225,'\x20')['replace'](_0x21724b,'\x20')[_0x2bd651(0x362)](_0x48a6c1,'\x20')[_0x2bd651(0x362)](_0x5f58fd,'$1\x20')[_0x2bd651(0x362)](_0x4e5ffe,_0x2bd651(0x32c))[_0x2bd651(0x362)](_0xe1990,'\x20')['replace'](_0x518216,_0x2bd651(0x32c));return _0x340e2b[_0x2bd651(0x373)](_0x3a6a73);}function _0x1b9d7c(_0x45dab9,_0x473aef){return _0x10d8a9(_0x6407ab(_0x45dab9,_0x473aef),_0x473aef);}function _0x57e64f(_0x22cb25,_0x5aad44){return _0x3097b4(_0x1b9d7c(_0x22cb25,_0x5aad44),_0x5aad44);}function _0x3097b4(_0x2669e2,_0x9af34b){return _0x2669e2['replace'](/"(?:""|[^"])*"/g,_0x9af34b);}function _0x6407ab(_0x256662,_0x406b27){const _0x4f1b50=_0x4e5412;return _0x46167c[_0x4f1b50(0x507)]=0x0,_0x256662[_0x4f1b50(0x362)](_0x46167c,(_0x1e1c6c,_0x538b7c)=>_0x1c8a78(_0x256662,_0x538b7c)?_0x1e1c6c:_0x406b27(_0x1e1c6c));}let _0xd66595=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x10d8a9(_0x125953,_0x486296){const _0x5ce5c6=_0x4e5412;let _0x528859=[];for(_0xd66595['lastIndex']=0x0;;){let _0x5aa543=_0xd66595[_0x5ce5c6(0x3f7)](_0x125953);if(_0x5aa543==null)break;if(_0x1c8a78(_0x125953,_0x5aa543['index']))continue;let _0x506894=_0xd66595[_0x5ce5c6(0x507)]-0x1,_0x2c4881=0x0;for(let _0x11469d=_0x506894;_0x11469d<_0x125953[_0x5ce5c6(0x4b3)];_0x11469d++)if(_0x125953[_0x11469d]==='['&&_0x2c4881++,_0x125953[_0x11469d]===']'&&(_0x2c4881--,_0x2c4881===0x0)){_0x528859[_0x5ce5c6(0x296)]({'start':_0x5aa543['index'],'end':_0x11469d+0x1}),_0xd66595[_0x5ce5c6(0x507)]=_0x11469d+0x1;break;}}if(_0x528859[_0x5ce5c6(0x4b3)]===0x0)return _0x125953;let _0x48b359='',_0x2f0a6c=0x0;for(let _0x3143ea of _0x528859)_0x48b359+=_0x125953[_0x5ce5c6(0x539)](_0x2f0a6c,_0x3143ea['start']),_0x48b359+=_0x486296(_0x125953['slice'](_0x3143ea['start'],_0x3143ea[_0x5ce5c6(0x2c5)])),_0x2f0a6c=_0x3143ea[_0x5ce5c6(0x2c5)];return _0x48b359+_0x125953['slice'](_0x2f0a6c);}function _0x1c8a78(_0x40f06e,_0x3bdbad){let _0xa00f03=!0x1;for(let _0x49786e=0x0;_0x49786e<_0x3bdbad;_0x49786e++)if(_0x40f06e[_0x49786e]==='\x22'){if(_0xa00f03&&_0x40f06e[_0x49786e+0x1]==='\x22'){_0x49786e++;continue;}_0xa00f03=!_0xa00f03;}return _0xa00f03;}function _0xaf0740(_0x382ec1,_0x40ede4,_0x23527c,_0x237541){const _0x4f4c82=_0x4e5412;let _0x23d4e8=_0x144730(_0x382ec1[_0x4f4c82(0x3e4)],_0x40ede4,_0x23527c,_0x237541);return{'table':_0x23d4e8,'field':_0x23d4e8?Object['values'](_0x23d4e8['fields'])[_0x4f4c82(0x538)](_0x2e7043=>_0x2e7043[_0x4f4c82(0x1cd)]===_0x382ec1['fieldName']):void 0x0};}function _0x144730(_0x5f54b8,_0x41ac3b,_0x158ed2,_0x2a570a){const _0x1c3385=_0x4e5412;if(!_0x5f54b8)return _0x41ac3b;if(!_0x158ed2){var _0x4c418e;let _0x51a9c1=_0x5f54b8[_0x1c3385(0x4c6)]();return _0x51a9c1===_0x41ac3b['id']['toLowerCase']()||_0x51a9c1===_0x41ac3b['name'][_0x1c3385(0x4c6)]()||_0x51a9c1===((_0x4c418e=_0x41ac3b[_0x1c3385(0x4a4)])==null?void 0x0:_0x4c418e[_0x1c3385(0x4c6)]())?_0x41ac3b:void 0x0;}let _0x2364a9=_0x5f54b8[_0x1c3385(0x4c6)](),_0x404f86=_0x2a570a??(0x0,_0x3deeb7[_0x1c3385(0x478)])(_0x158ed2),_0x17eb96=Object[_0x1c3385(0x261)](_0x158ed2[_0x1c3385(0x52f)])['filter'](_0x52de1f=>{const _0x23f151=_0x1c3385;var _0xf446b1;return _0x52de1f['id']['toLowerCase']()===_0x2364a9||_0x52de1f[_0x23f151(0x1cd)][_0x23f151(0x4c6)]()===_0x2364a9||((_0xf446b1=_0x404f86[_0x23f151(0x3c1)](_0x52de1f['id']))==null?void 0x0:_0xf446b1[_0x23f151(0x4c6)]())===_0x2364a9||_0x3677a0(_0x52de1f['id'])[_0x23f151(0x4c6)]()===_0x2364a9;});return _0x17eb96[_0x1c3385(0x4b3)]===0x1?_0x17eb96[0x0]:void 0x0;}function _0x3677a0(_0x5dd8be){const _0x1ba330=_0x4e5412;return _0x1ba330(0x24d)+Array[_0x1ba330(0x33c)](_0x5dd8be,_0x4b6ca6=>{const _0x4f3b94=_0x1ba330;var _0x568403;return/[A-Za-z0-9]/[_0x4f3b94(0x373)](_0x4b6ca6)?_0x4b6ca6:'_x'+(((_0x568403=_0x4b6ca6['codePointAt'](0x0))==null?void 0x0:_0x568403[_0x4f3b94(0x546)](0x10))??'0')+'_';})[_0x1ba330(0x289)]('');}let _0x59b637=new _0x4bcf4f();function _0x1ed782(_0x320786,_0x2b17d2,_0x466073){const _0x1a178a=_0x4e5412;var _0x393d68;if(_0x466073[_0x1a178a(0x3de)]!==_0x3deeb7[_0x1a178a(0x16c)]['Formula'])return!0x0;let _0x53a1b6=String(((_0x393d68=_0x466073['config'])==null?void 0x0:_0x393d68[_0x1a178a(0x27b)])??''),_0x268bb6=_0x320786[_0x1a178a(0x21d)]();return _0x59b637[_0x1a178a(0x40c)](_0x53a1b6,_0x268bb6['tables'][_0x2b17d2],{'snapshot':_0x268bb6})[_0x1a178a(0x236)];}function _0x551df6(_0xa7ce4b,_0x4a7e02,_0x5336b1){const _0x5e1532=_0x4e5412;let _0x2b5a4c=_0xa7ce4b[_0x5e1532(0x21d)]()[_0x5e1532(0x52f)][_0x4a7e02];if(!_0x2b5a4c)return!0x1;let {viewIds:_0x3418b6,fieldIds:_0x325c4d,recordIds:_0x3a6fc4}=_0x5336b1||{};if(_0x3418b6){for(let _0xdb2b36 of _0x3418b6)if(!_0x2b5a4c[_0x5e1532(0x3d0)][_0xdb2b36])return!0x1;}if(_0x325c4d){for(let _0x4e8e8f of _0x325c4d)if(!_0x2b5a4c[_0x5e1532(0x135)][_0x4e8e8f])return!0x1;}if(_0x3a6fc4){for(let _0x19ccb4 of _0x3a6fc4)if(!_0x2b5a4c[_0x5e1532(0x4ce)][_0x19ccb4])return!0x1;}return!0x0;}function _0x62d201(_0x12e578,_0xe47e30,_0x1d8408){const _0x4469a1=_0x4e5412;if(_0x1d8408['id']===_0x3deeb7[_0x4469a1(0x2b7)]||_0x1d8408['type']===_0x3deeb7[_0x4469a1(0x16c)][_0x4469a1(0x444)]||(0x0,_0x3deeb7[_0x4469a1(0x10b)])(_0x1d8408[_0x4469a1(0x1cd)])||!_0x1ed782(_0x12e578,_0xe47e30,_0x1d8408))return!0x1;let _0xe374c=_0x12e578[_0x4469a1(0x21d)]();if(!_0x6ad206(_0xe374c,_0x1d8408)['valid'])return!0x1;if(_0x1d8408[_0x4469a1(0x3de)]!==_0x3deeb7[_0x4469a1(0x16c)][_0x4469a1(0x415)])return!0x0;let _0x2c4096=_0x14bbce(_0x1d8408);if(!_0x2c4096)return!0x1;if(_0x2c4096[_0x4469a1(0x182)]===void 0x0)return!0x0;if(_0x2c4096[_0x4469a1(0x182)]!==_0x3deeb7[_0x4469a1(0x175)][_0x4469a1(0x1ef)]||_0x2c4096['targetTableId']!==_0xe47e30||_0x2c4096[_0x4469a1(0x3c0)]!==!0x1)return!0x1;let _0x551ea0=_0xe374c[_0x4469a1(0x52f)][_0xe47e30];return!Object[_0x4469a1(0x261)](_0x551ea0[_0x4469a1(0x135)])[_0x4469a1(0x3a8)](_0x2cd0d6=>{const _0x8d83f9=_0x4469a1;var _0x3f5a07;return _0x2cd0d6['id']!==_0x1d8408['id']&&_0x2cd0d6[_0x8d83f9(0x3de)]===_0x3deeb7[_0x8d83f9(0x16c)][_0x8d83f9(0x415)]&&((_0x3f5a07=_0x14bbce(_0x2cd0d6))==null?void 0x0:_0x3f5a07[_0x8d83f9(0x182)])===_0x3deeb7[_0x8d83f9(0x175)][_0x8d83f9(0x1ef)];});}function _0x2372c4(_0x2b4c1c,_0x250956,_0x393833,_0x3826d4){const _0x5c2029=_0x4e5412;var _0x4beb17;let _0x318ba7=_0x2b4c1c[_0x5c2029(0x21d)](),_0x5c97bf=(_0x4beb17=_0x318ba7[_0x5c2029(0x52f)][_0x250956])==null?void 0x0:_0x4beb17[_0x5c2029(0x135)][_0x393833];return!_0x5c97bf||_0x5c97bf['id']===_0x3deeb7[_0x5c2029(0x2b7)]||_0x5c97bf['type']===_0x3deeb7[_0x5c2029(0x16c)][_0x5c2029(0x444)]?!0x1:_0x5c97bf[_0x5c2029(0x3de)]!==_0x3deeb7[_0x5c2029(0x16c)][_0x5c2029(0x415)]||_0x1be6eb(_0x318ba7,_0x5c97bf,_0x1e5edd(_0x3826d4))[_0x5c2029(0x236)];}function _0x283af1(_0xd84070,_0x26be9e,_0x4ae8a0){const _0x21996e=_0x4e5412;let _0x960df3=_0xd84070[_0x21996e(0x21d)]()[_0x21996e(0x52f)][_0x26be9e];return!_0x960df3||!(0x0,_0x3deeb7[_0x21996e(0x4d7)])(_0x4ae8a0['id'])||_0x960df3[_0x21996e(0x4ce)][_0x4ae8a0['id']]||Object[_0x21996e(0x4d3)][_0x21996e(0x327)]['call'](_0x4ae8a0[_0x21996e(0x261)],_0x3deeb7[_0x21996e(0x2b7)])&&_0x4ae8a0[_0x21996e(0x261)][_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]!==_0x4ae8a0['id']?!0x1:Object[_0x21996e(0x26b)](_0x4ae8a0[_0x21996e(0x261)])[_0x21996e(0x41c)](([_0x1427fe,_0x49761a])=>_0x1427fe===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']||_0x2372c4(_0xd84070,_0x26be9e,_0x1427fe,_0x49761a));}function _0x2e275b(_0x41a699){const _0xf6dc60=_0x4e5412;return{..._0x41a699,'values':{..._0x41a699[_0xf6dc60(0x261)],[_0x3deeb7[_0xf6dc60(0x2b7)]]:_0x41a699['id']}};}function _0x1e5edd(_0x30944c){const _0x23ccf3=_0x4e5412;if(_0x30944c&&typeof _0x30944c==_0x23ccf3(0x30b)&&!Array[_0x23ccf3(0x2a0)](_0x30944c)&&'v'in _0x30944c){let _0x54d736=_0x30944c['v'];return _0x54d736===void 0x0?null:_0x54d736;}return _0x30944c;}function _0x597233(_0x5da8d3,_0x1a2eaf,_0x293266,_0x1fadb0){const _0x5cff5e=_0x4e5412;let _0x3d4571=_0x5da8d3[_0x5cff5e(0x21d)]()[_0x5cff5e(0x52f)][_0x1a2eaf];if(!_0x3d4571)return null;let _0x3b9cfe=_0x1e2885(_0x3d4571),_0x20d4d0=_0x3b9cfe??_0x3de209(_0x3d4571),_0x5d8a6e=_0x293266[_0x5cff5e(0x3a8)](_0x4b99cc=>Object['prototype'][_0x5cff5e(0x327)][_0x5cff5e(0x241)](_0x4b99cc[_0x5cff5e(0x261)],_0x20d4d0)),_0x43361d=_0x3b9cfe?_0x3d4571[_0x5cff5e(0x135)][_0x3b9cfe]:_0x5d8a6e?_0x182fc2(_0x3d4571,_0x20d4d0,_0x1fadb0):null,_0xc63212=[];for(let _0x2267c7 of _0x293266){let _0x40a7bf=_0x2267c7[_0x5cff5e(0x261)][_0x20d4d0],_0x808f97=_0x43361d!==null&&Object[_0x5cff5e(0x4d3)][_0x5cff5e(0x327)][_0x5cff5e(0x241)](_0x2267c7[_0x5cff5e(0x261)],_0x20d4d0),_0x4834b4=_0x1e5edd(_0x40a7bf),_0x431e70=null;if(_0x808f97){if(typeof _0x4834b4!=_0x5cff5e(0x3d4)||!_0x2d8e91(_0x4834b4,!0x1)[_0x5cff5e(0x236)])return null;_0x431e70=_0x4834b4;}let _0x3ad49a={};if(Object[_0x5cff5e(0x26b)](_0x2267c7[_0x5cff5e(0x261)])['forEach'](([_0x45cb8b,_0x5aded0])=>{(!_0x808f97||_0x45cb8b!==_0x20d4d0)&&(_0x3ad49a[_0x45cb8b]=_0x5aded0);}),!_0x283af1(_0x5da8d3,_0x1a2eaf,{..._0x2267c7,'values':_0x3ad49a}))return null;let _0x1ac43e={..._0x2267c7[_0x5cff5e(0x261)]};_0x431e70!==null&&(_0x1ac43e[_0x20d4d0]=_0x431e70),_0xc63212[_0x5cff5e(0x296)](_0x2e275b({..._0x2267c7,'values':_0x1ac43e}));}return{'records':_0xc63212,'hierarchyFieldToMaterialize':_0x3b9cfe?null:_0x43361d,'hierarchyChanges':_0x2cba79(_0x3d4571,_0xc63212)};}let _0x2eca77={'id':_0x4e5412(0x125),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x203484,_0x5dea61){const _0x190702=_0x4e5412;if(!_0x5dea61)return!0x1;let _0x246e72=_0x203484[_0x190702(0x3c1)](_0x3deeb7[_0x190702(0x4b4)]),{unitId:_0x4998a9,tableId:_0x460aac,records:_0x5116c7}=_0x5dea61,_0x5e57ac=_0x246e72[_0x190702(0x14e)](_0x4998a9,_0x3deeb7['UniverInstanceType']['UNIVER_BASE']),_0x3be694=_0x5116c7[_0x190702(0x1fd)](_0x3502b8=>_0x3502b8['id']);if(!_0x5e57ac||!_0x551df6(_0x5e57ac,_0x460aac)||new Set(_0x3be694)[_0x190702(0x176)]!==_0x3be694['length'])return!0x1;let _0x29a3f9=_0x203484[_0x190702(0x3c1)](_0x3deeb7[_0x190702(0x400)]),_0x3a4dca=_0x203484['get'](_0x3deeb7[_0x190702(0x16d)]),_0x53b577=_0x203484[_0x190702(0x3c1)](_0x36bcc9),_0x2b7d50=_0x5e57ac[_0x190702(0x21d)](),_0xfb3027=_0x597233(_0x5e57ac,_0x460aac,_0x5116c7);if(!_0xfb3027)return!0x1;let {records:_0x41662e,hierarchyChanges:_0x3eef4f,hierarchyFieldToMaterialize:_0x9f40e4}=_0xfb3027,_0x4eba3b=_0x9f40e4?_0x53b577[_0x190702(0x4ff)](_0x5e57ac,_0x460aac,_0x9f40e4,_0x2b7d50[_0x190702(0x52f)][_0x460aac][_0x190702(0x324)]['length']):null,_0x4a62fb=_0x53b577['createBatchCreateRecordsOp'](_0x5e57ac,_0x460aac,_0x41662e),_0x3862bd=_0x517f41([..._0x4eba3b?[_0x4eba3b]:[],_0x4a62fb]),_0x5dbdf7=new _0x162342()['invertOp'](_0x2b7d50,_0x3862bd),_0x2668f0={'unitId':_0x4998a9,'op':_0x3862bd,'hierarchyChanges':_0x3eef4f[_0x190702(0x4b3)]?_0x3eef4f:void 0x0,'source':_0x3eef4f['length']?_0x5dea61[_0x190702(0x3e3)]??'ui':void 0x0},_0x180fdf={..._0x2668f0,'source':_0x3eef4f[_0x190702(0x4b3)]?_0x190702(0x39b):void 0x0},_0x46e74c={'unitId':_0x4998a9,'op':_0x5dbdf7,'hierarchyChanges':_0x3eef4f[_0x190702(0x4b3)]?_0x3eef4f['map'](_0x423150=>({..._0x423150,'oldParentRecordId':_0x423150[_0x190702(0x3b7)],'parentRecordId':null})):void 0x0,'source':_0x3eef4f['length']?_0x190702(0x2c1):void 0x0};return _0x29a3f9[_0x190702(0x4ad)](_0x59ab20['id'],_0x2668f0)?(_0x246e72[_0x190702(0x35b)](_0x4998a9),_0x3a4dca[_0x190702(0x4b1)]({'unitID':_0x4998a9,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x46e74c}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x180fdf}]}),!0x0):!0x1;}},_0x3e31a9={'id':_0x4e5412(0x29a),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x280fa1,_0x1781c9)=>{const _0x5714cb=_0x4e5412;if(!_0x1781c9)return!0x1;let _0x596a03=_0x280fa1[_0x5714cb(0x3c1)](_0x3deeb7[_0x5714cb(0x4b4)]),{unitId:_0x381238,tableId:_0x3c5ec2,recordIds:_0x4cc9af}=_0x1781c9,_0x3d420d=_0x596a03[_0x5714cb(0x14e)](_0x381238,_0x3deeb7[_0x5714cb(0x4ca)]['UNIVER_BASE']);if(!_0x3d420d||!_0x551df6(_0x3d420d,_0x3c5ec2,{'recordIds':_0x4cc9af}))return!0x1;let _0x251a3d=_0x280fa1['get'](_0x3deeb7[_0x5714cb(0x400)]),_0x56d861=_0x280fa1[_0x5714cb(0x3c1)](_0x3deeb7[_0x5714cb(0x16d)]),_0x2efa3a=_0x3d420d[_0x5714cb(0x21d)](),_0x238b62=_0x1f2f54(_0x2efa3a[_0x5714cb(0x52f)][_0x3c5ec2],_0x4cc9af),_0x4f9331=new _0x38af97(),_0x418340=new _0x162342(),_0x329a03=_0x4f9331[_0x5714cb(0x4cf)](_0x2efa3a,_0x3c5ec2,_0x4cc9af),_0x1922b=_0x418340[_0x5714cb(0x16f)](_0x2efa3a,_0x329a03),_0x4c555d=_0x4f9331[_0x5714cb(0x185)](_0x2efa3a,_0x1922b,_0x3c5ec2,_0x4cc9af),_0x3c9347={'unitId':_0x381238,'op':_0x329a03,'hierarchyChanges':_0x238b62,'source':_0x1781c9['source']??'ui'},_0x425aee={..._0x3c9347,'source':_0x5714cb(0x39b)},_0x36f2f4={'unitId':_0x381238,'op':_0x4c555d,'hierarchyChanges':_0x238b62[_0x5714cb(0x1fd)](_0x48629a=>({..._0x48629a,'oldParentRecordId':_0x48629a[_0x5714cb(0x3b7)],'parentRecordId':_0x48629a['oldParentRecordId']})),'source':'undo'};return _0x251a3d['syncExecuteCommand'](_0x59ab20['id'],_0x3c9347)?(_0x596a03[_0x5714cb(0x35b)](_0x381238),_0x56d861['pushUndoRedo']({'unitID':_0x381238,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x36f2f4}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x425aee}]}),!0x0):!0x1;}},_0x2ad297={'id':_0x4e5412(0x3ae),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x46119e,_0x2aeff5)=>{const _0x141a62=_0x4e5412;if(!_0x2aeff5)return!0x1;let _0x2fbc10=_0x46119e[_0x141a62(0x3c1)](_0x3deeb7[_0x141a62(0x4b4)]),{unitId:_0x3d96a6,tableId:_0x208556,fieldId:_0x292599,input:_0x5cddfe}=_0x2aeff5,_0x3da143=_0x2fbc10[_0x141a62(0x14e)](_0x3d96a6,_0x3deeb7[_0x141a62(0x4ca)][_0x141a62(0x475)]);if(!_0x3da143||_0x292599===_0x3deeb7[_0x141a62(0x2b7)]||!_0x551df6(_0x3da143,_0x208556,{'fieldIds':[_0x292599]}))return!0x1;let _0x4bd99e=_0x46119e[_0x141a62(0x3c1)](_0x3deeb7[_0x141a62(0x400)]),_0x2278e6=_0x46119e[_0x141a62(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x2e9eba=_0x3da143[_0x141a62(0x21d)]();if(!_0x62d201(_0x3da143,_0x208556,{..._0x2e9eba[_0x141a62(0x52f)][_0x208556][_0x141a62(0x135)][_0x292599],..._0x5cddfe}))return!0x1;let _0x272bfa=new _0x38af97()[_0x141a62(0x510)](_0x2e9eba,_0x208556,_0x292599,_0x5cddfe),_0x359088=new _0x162342()[_0x141a62(0x2c2)](_0x2e9eba,_0x272bfa),_0x21cb38={'unitId':_0x3d96a6,'op':_0x272bfa},_0x3f9087={'unitId':_0x3d96a6,'op':_0x359088};return _0x4bd99e[_0x141a62(0x4ad)](_0x59ab20['id'],_0x21cb38)?(_0x2fbc10[_0x141a62(0x35b)](_0x3d96a6),_0x2278e6[_0x141a62(0x4b1)]({'unitID':_0x3d96a6,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x3f9087}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x21cb38}]}),!0x0):!0x1;}},_0x3f838a={'id':_0x4e5412(0x517),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x43234a,_0x4e048c){const _0x4c0212=_0x4e5412;var _0x1b3cd1;if(!_0x4e048c)return!0x1;let {unitId:_0x65187d,tableId:_0x14d335,parentRecordId:_0x2efad4}=_0x4e048c,_0x12ef25=_0x43234a[_0x4c0212(0x3c1)](_0x3deeb7[_0x4c0212(0x4b4)]),_0x2fa99a=_0x12ef25[_0x4c0212(0x14e)](_0x65187d,_0x3deeb7[_0x4c0212(0x4ca)][_0x4c0212(0x475)]);if(!_0x2fa99a||!_0x551df6(_0x2fa99a,_0x14d335,{'recordIds':[_0x2efad4]}))throw new _0x25ceeb(_0x4c0212(0x412));let _0x326ede=_0x2fa99a[_0x4c0212(0x21d)](),_0x5a4278=_0x326ede[_0x4c0212(0x52f)][_0x14d335],_0x4689b8=_0x1e2885(_0x5a4278),_0xb3722d=_0x4689b8??_0x4e048c[_0x4c0212(0x3d9)]??_0x3de209(_0x5a4278);if(_0x4689b8&&_0x4e048c[_0x4c0212(0x3d9)]&&_0x4e048c[_0x4c0212(0x3d9)]!==_0x4689b8||_0x5a4278[_0x4c0212(0x135)][_0xb3722d]&&!_0x29b167(_0x5a4278,_0xb3722d))throw new _0x25ceeb(_0x4c0212(0x190));if((_0x385429(_0x5a4278,_0xb3722d)['depthByRecordId'][_0x4c0212(0x3c1)](_0x2efad4)??0x0)+0x1>=0x5)throw new _0x25ceeb(_0x4c0212(0x4c9));if(!_0x283af1(_0x2fa99a,_0x14d335,_0x4e048c[_0x4c0212(0x4a2)]))return!0x1;let _0x362d3e=_0x2e275b({..._0x4e048c[_0x4c0212(0x4a2)],'values':{..._0x4e048c[_0x4c0212(0x4a2)][_0x4c0212(0x261)],[_0xb3722d]:_0x1234df([_0x2efad4])}}),_0x34461c=_0x43234a[_0x4c0212(0x3c1)](_0x36bcc9),_0x27cf87=new _0x38af97(),_0x23e074=_0x5a4278[_0x4c0212(0x135)][_0xb3722d],_0x1b36b7=_0x23e074?((_0x1b3cd1=_0x14bbce(_0x23e074))==null?void 0x0:_0x1b3cd1[_0x4c0212(0x182)])===_0x3deeb7[_0x4c0212(0x175)][_0x4c0212(0x1ef)]?null:_0x27cf87[_0x4c0212(0x1ec)](_0x326ede,_0x14d335,_0xb3722d,{'config':{..._0x23e074[_0x4c0212(0x505)],'relationRole':_0x3deeb7[_0x4c0212(0x175)]['Parent']}}):_0x34461c[_0x4c0212(0x4ff)](_0x2fa99a,_0x14d335,_0x182fc2(_0x5a4278,_0xb3722d,_0x4e048c[_0x4c0212(0x50a)]),_0x5a4278[_0x4c0212(0x324)][_0x4c0212(0x4b3)]),_0x1c2442=_0x34461c[_0x4c0212(0x384)](_0x2fa99a,_0x14d335,_0x362d3e),_0x2e8dd4=_0x517f41([..._0x1b36b7?[_0x1b36b7]:[],_0x1c2442]),_0x455966=new _0x162342()[_0x4c0212(0x2c2)](_0x326ede,_0x2e8dd4),_0x49c518={'tableId':_0x14d335,'fieldId':_0xb3722d,'recordId':_0x362d3e['id'],'oldParentRecordId':null,'parentRecordId':_0x2efad4},_0x1cd571={'unitId':_0x65187d,'op':_0x2e8dd4,'trigger':_0x3f838a['id'],'hierarchyChanges':[_0x49c518],'source':_0x4e048c[_0x4c0212(0x3e3)]??'ui'},_0x2e7509={..._0x1cd571,'source':_0x4c0212(0x39b)},_0xe7de4d={'unitId':_0x65187d,'op':_0x455966,'trigger':_0x3f838a['id'],'hierarchyChanges':[{..._0x49c518,'oldParentRecordId':_0x2efad4,'parentRecordId':null}],'source':'undo'};return _0x43234a[_0x4c0212(0x3c1)](_0x3deeb7[_0x4c0212(0x400)])[_0x4c0212(0x4ad)](_0x59ab20['id'],_0x1cd571)?(_0x12ef25[_0x4c0212(0x35b)](_0x65187d),_0x43234a[_0x4c0212(0x3c1)](_0x3deeb7[_0x4c0212(0x16d)])[_0x4c0212(0x4b1)]({'unitID':_0x65187d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0xe7de4d}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x2e7509}]}),!0x0):!0x1;}},_0x5919a3={'id':_0x4e5412(0x2f8),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler'(_0x4186ea,_0x32c14c){const _0x4e388e=_0x4e5412;if(!_0x32c14c)return!0x1;let _0x4aa9bf=_0x4186ea[_0x4e388e(0x3c1)](_0x3deeb7[_0x4e388e(0x4b4)]),{unitId:_0x526d62,tableId:_0x57d185,field:_0x53bb89,index:_0x45a9f8,viewIndexes:_0x14641e}=_0x32c14c,_0x298a18=_0x4aa9bf['getUnit'](_0x526d62,_0x3deeb7[_0x4e388e(0x4ca)][_0x4e388e(0x475)]);if(!_0x298a18||!_0x551df6(_0x298a18,_0x57d185)||_0x298a18[_0x4e388e(0x21d)]()[_0x4e388e(0x52f)][_0x57d185][_0x4e388e(0x135)][_0x53bb89['id']]||_0x45a9f8===0x0||!_0x62d201(_0x298a18,_0x57d185,_0x53bb89))return!0x1;let _0x267293=_0x4186ea[_0x4e388e(0x3c1)](_0x3deeb7[_0x4e388e(0x400)]),_0x13d137=_0x4186ea['get'](_0x3deeb7['IUndoRedoService']),_0x1fbaf3=_0x4186ea[_0x4e388e(0x3c1)](_0x36bcc9)[_0x4e388e(0x4ff)](_0x298a18,_0x57d185,_0x53bb89,_0x45a9f8,_0x14641e),_0x5507e3=new _0x162342()[_0x4e388e(0x2c2)](_0x298a18['getSnapshot'](),_0x1fbaf3),_0x30ac8e={'unitId':_0x526d62,'op':_0x1fbaf3},_0x1d2dd5={'unitId':_0x526d62,'op':_0x5507e3};return _0x267293[_0x4e388e(0x4ad)](_0x59ab20['id'],_0x30ac8e)?(_0x4aa9bf['focusUnit'](_0x526d62),_0x13d137[_0x4e388e(0x4b1)]({'unitID':_0x526d62,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x1d2dd5}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x30ac8e}]}),!0x0):!0x1;}},_0x15702d={'id':_0x4e5412(0x20c),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x579d23,_0x21f3df){const _0x30b3b6=_0x4e5412;if(!_0x21f3df)return!0x1;let _0x52f4d5=_0x579d23[_0x30b3b6(0x3c1)](_0x3deeb7[_0x30b3b6(0x4b4)]),{unitId:_0xa6bed0,tableId:_0x21caf7,record:_0x486db2}=_0x21f3df,_0x3f538f=_0x52f4d5[_0x30b3b6(0x14e)](_0xa6bed0,_0x3deeb7['UniverInstanceType'][_0x30b3b6(0x475)]);if(!_0x3f538f||!_0x551df6(_0x3f538f,_0x21caf7))return!0x1;let _0x4ddba0=_0x579d23[_0x30b3b6(0x3c1)](_0x3deeb7[_0x30b3b6(0x400)]),_0x2a5b07=_0x579d23[_0x30b3b6(0x3c1)](_0x3deeb7[_0x30b3b6(0x16d)]),_0x260d1a=_0x579d23[_0x30b3b6(0x3c1)](_0x36bcc9),_0x450a05=_0x3f538f['getSnapshot'](),_0x41e21d=_0x597233(_0x3f538f,_0x21caf7,[_0x486db2]);if(!_0x41e21d)return!0x1;let [_0x1f1215]=_0x41e21d[_0x30b3b6(0x4ce)],{hierarchyChanges:_0x515fa5,hierarchyFieldToMaterialize:_0x5df51d}=_0x41e21d,_0xb0b252=_0x5df51d?_0x260d1a[_0x30b3b6(0x4ff)](_0x3f538f,_0x21caf7,_0x5df51d,_0x450a05['tables'][_0x21caf7]['fieldOrder'][_0x30b3b6(0x4b3)]):null,_0x2e8037=_0x260d1a[_0x30b3b6(0x384)](_0x3f538f,_0x21caf7,_0x1f1215),_0x23a47f=_0x517f41([..._0xb0b252?[_0xb0b252]:[],_0x2e8037]),_0x1acf90=new _0x162342()[_0x30b3b6(0x2c2)](_0x450a05,_0x23a47f),_0x20104a={'unitId':_0xa6bed0,'op':_0x23a47f,'hierarchyChanges':_0x515fa5['length']?_0x515fa5:void 0x0,'source':_0x515fa5[_0x30b3b6(0x4b3)]?_0x21f3df[_0x30b3b6(0x3e3)]??'ui':void 0x0},_0x47e2f4={..._0x20104a,'source':_0x515fa5['length']?_0x30b3b6(0x39b):void 0x0},_0x489b9c={'unitId':_0xa6bed0,'op':_0x1acf90,'hierarchyChanges':_0x515fa5[_0x30b3b6(0x4b3)]?_0x515fa5[_0x30b3b6(0x1fd)](_0x2d8e94=>({..._0x2d8e94,'oldParentRecordId':_0x2d8e94[_0x30b3b6(0x3b7)],'parentRecordId':null})):void 0x0,'source':_0x515fa5['length']?_0x30b3b6(0x2c1):void 0x0};return _0x4ddba0[_0x30b3b6(0x4ad)](_0x59ab20['id'],_0x20104a)?(_0x52f4d5[_0x30b3b6(0x35b)](_0xa6bed0),_0x2a5b07[_0x30b3b6(0x4b1)]({'unitID':_0xa6bed0,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x489b9c}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x47e2f4}]}),!0x0):!0x1;}};function _0x57ed6b(_0x2f9768,_0x4abbe4,_0x544d79){const _0x450b8f=_0x4e5412;if(!_0x4abbe4[_0x450b8f(0x2de)]())return{'valid':!0x1,'reason':_0x450b8f(0x55b),'error':_0x450b8f(0x399)};if(_0x4abbe4[_0x450b8f(0x4b3)]>0x1f)return{'valid':!0x1,'reason':_0x450b8f(0x45d),'error':_0x450b8f(0x23c)};if(_0x4abbe4[_0x450b8f(0x247)]('\x27')||_0x4abbe4[_0x450b8f(0x1fa)]('\x27'))return{'valid':!0x1,'reason':_0x450b8f(0x267),'error':_0x450b8f(0x39d)};if(/[:\\/?*\[\]]/[_0x450b8f(0x373)](_0x4abbe4))return{'valid':!0x1,'reason':_0x450b8f(0x4b2),'error':_0x450b8f(0x1e7)};if(!(0x0,_0x3deeb7[_0x450b8f(0x20f)])(_0x4abbe4))return{'valid':!0x1,'reason':_0x450b8f(0x232),'error':_0x450b8f(0x152)};let _0x215d64=_0x4abbe4[_0x450b8f(0x4c6)]();return Object['values'](_0x2f9768['tables'])[_0x450b8f(0x3a8)](_0x3a450f=>_0x3a450f['id']!==_0x544d79&&_0x3a450f[_0x450b8f(0x1cd)][_0x450b8f(0x4c6)]()===_0x215d64)?{'valid':!0x1,'reason':_0x450b8f(0x511),'error':_0x450b8f(0x310)}:{'valid':!0x0};}function _0x47bb6a(_0x150a74,_0x3ded02){const _0x5ea2ee=_0x4e5412;let _0x184063=_0x3ded02[_0x5ea2ee(0x362)](/[:\\/?*\[\]]/g,'\x20')[_0x5ea2ee(0x362)](/^'+|'+$/g,'')[_0x5ea2ee(0x2de)]()||'Table',_0x3b9065=0x1;for(;;){let _0x2007ec=_0x3b9065===0x1?'':'\x20'+_0x3b9065,_0x11cd8b=''+_0x184063[_0x5ea2ee(0x539)](0x0,0x1f-_0x2007ec[_0x5ea2ee(0x4b3)])+_0x2007ec;if(_0x57ed6b(_0x150a74,_0x11cd8b)['valid'])return _0x11cd8b;_0x3b9065++;}}let _0x1c1774={'id':_0x4e5412(0x1d8),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x367d53,_0x5a1bf1)=>{const _0x5f1338=_0x4e5412;if(!_0x5a1bf1)return!0x1;let _0x26cd90=_0x367d53['get'](_0x3deeb7[_0x5f1338(0x4b4)]),{unitId:_0x129e59,table:_0x3bb4c0,index:_0x1bef74}=_0x5a1bf1,_0x17584e=_0x26cd90[_0x5f1338(0x14e)](_0x129e59,_0x3deeb7[_0x5f1338(0x4ca)]['UNIVER_BASE']);if(!_0x17584e||_0x17584e['getSnapshot']()['tables'][_0x3bb4c0['id']]||!_0x57ed6b(_0x17584e[_0x5f1338(0x21d)](),_0x3bb4c0['name'])[_0x5f1338(0x236)])return!0x1;try{(0x0,_0x3deeb7[_0x5f1338(0x256)])(_0x3bb4c0);}catch{return!0x1;}let _0x56ab58=_0x367d53[_0x5f1338(0x3c1)](_0x3deeb7[_0x5f1338(0x400)]),_0x6654e0=_0x367d53['get'](_0x3deeb7[_0x5f1338(0x16d)]),_0x1cfec1=_0x17584e[_0x5f1338(0x21d)](),_0x1f16d5=new _0x38af97()['createTable'](_0x1cfec1,_0x3bb4c0,_0x1bef74),_0x16f8a5=new _0x162342()['invertOp'](_0x1cfec1,_0x1f16d5),_0x8f698d={'unitId':_0x129e59,'op':_0x1f16d5},_0x446eb7={'unitId':_0x129e59,'op':_0x16f8a5};return _0x56ab58[_0x5f1338(0x4ad)](_0x59ab20['id'],_0x8f698d)?(_0x26cd90[_0x5f1338(0x35b)](_0x129e59),_0x6654e0[_0x5f1338(0x4b1)]({'unitID':_0x129e59,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x446eb7}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x8f698d}]}),!0x0):!0x1;}};function _0x3fa472(_0x30aceb,_0x20264b,_0x349f73=[]){const _0x280c1b=_0x4e5412;let _0x3ba054=new Set([...Object[_0x280c1b(0x261)](_0x30aceb[_0x280c1b(0x135)])[_0x280c1b(0x30d)](_0x362b2d=>_0x362b2d)[_0x280c1b(0x1fd)](_0x5cf0ff=>_0x5cf0ff[_0x280c1b(0x1cd)]),..._0x349f73[_0x280c1b(0x1fd)](_0x2559d8=>_0x2559d8['name'])]);if(!_0x3ba054[_0x280c1b(0x10f)](_0x20264b))return _0x20264b;let _0x2713f1=0x2;for(;_0x3ba054['has'](_0x20264b+'\x20'+_0x2713f1);)_0x2713f1++;return _0x20264b+'\x20'+_0x2713f1;}function _0x259695(_0xecaff2,_0x46a718){const _0x224f27=_0x4e5412;if(!_0xecaff2||!_0x46a718['length'])return;let _0x5d3fc8=[..._0xecaff2];return _0x46a718[_0x224f27(0x349)](_0x547110=>{const _0x153836=_0x224f27;_0x5d3fc8[_0x153836(0x1a5)](_0x547110)||_0x5d3fc8[_0x153836(0x296)](_0x547110);}),_0x5d3fc8;}let _0x28856d={'options':[{'id':'todo','name':_0x4e5412(0x39f),'color':_0x4e5412(0x115)},{'id':_0x4e5412(0x3a2),'name':_0x4e5412(0x494),'color':'#FDE68A'},{'id':_0x4e5412(0x3e9),'name':'Done','color':'#BBF7D0'}]},_0x2e68e4={'locale':_0x4e5412(0x269),'pattern':_0x4e5412(0x53a),'includeTime':!0x1,'hourCycle':_0x4e5412(0x16b),'defaultMode':_0x4e5412(0x133)};function _0x1bdbb3(_0x42dfc4,_0x4c411d,_0x56628c,_0x3c1920){const _0x4991fe=_0x4e5412;var _0x58be26;let _0x376741=new _0x38af97(),_0x4584fa=_0x42dfc4[_0x4991fe(0x52f)][_0x4c411d],_0x427677=_0x4584fa?{..._0x56628c,'fieldOrder':[_0x3deeb7[_0x4991fe(0x2b7)],...(_0x56628c['fieldOrder']??_0x4584fa['fieldOrder'])['filter'](_0x4c916f=>_0x4c916f!==_0x3deeb7[_0x4991fe(0x2b7)])],'fieldSettings':{..._0x56628c['fieldSettings'],[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:{...(_0x58be26=_0x56628c[_0x4991fe(0x116)])==null?void 0x0:_0x58be26[_0x3deeb7[_0x4991fe(0x2b7)]],'hidden':!0x0}}}:_0x56628c;if(_0x4584fa&&_0x427677[_0x4991fe(0x3de)]===_0x4991fe(0x3bf)){let _0x1ee501=_0x581077(_0x4584fa,_0x427677),_0x5e3f47=_0x1ee501[_0x4991fe(0x136)]?{..._0x427677,'config':_0x1ee501[_0x4991fe(0x505)],'fieldOrder':_0x1ee501[_0x4991fe(0x324)]??_0x427677['fieldOrder']}:_0x427677;return _0x517f41([..._0x1ee501[_0x4991fe(0x135)][_0x4991fe(0x1fd)](_0x3f4a05=>_0x376741['createField'](_0x42dfc4,_0x4c411d,{'field':_0x3f4a05})),_0x376741[_0x4991fe(0x51b)](_0x42dfc4,_0x4c411d,_0x5e3f47,_0x3c1920)]);}if(!_0x4584fa||_0x427677[_0x4991fe(0x3de)]!=='calendar'&&_0x427677[_0x4991fe(0x3de)]!==_0x4991fe(0x22a))return _0x376741[_0x4991fe(0x51b)](_0x42dfc4,_0x4c411d,_0x427677,_0x3c1920);let _0x4e37ec=_0x383fde(_0x4584fa,_0x427677),_0xcf2bc4=_0x4e37ec[_0x4991fe(0x136)]?{..._0x427677,'config':_0x4e37ec['config'],'fieldOrder':_0x4e37ec[_0x4991fe(0x324)]??_0x427677[_0x4991fe(0x324)]}:_0x427677;return _0x427677[_0x4991fe(0x3de)]===_0x4991fe(0x22a)&&_0x540d8b(_0x427677)&&(_0xcf2bc4=_0x2ab8ab(_0x4584fa,_0xcf2bc4,_0x4e37ec[_0x4991fe(0x135)])),_0x517f41([..._0x4e37ec[_0x4991fe(0x135)]['map'](_0x2aba02=>_0x376741['createField'](_0x42dfc4,_0x4c411d,{'field':_0x2aba02})),_0x376741[_0x4991fe(0x51b)](_0x42dfc4,_0x4c411d,_0xcf2bc4,_0x3c1920)]);}function _0x383fde(_0x5b2003,_0x52ac16,_0x2dab5c=!0x1){const _0x129eb9=_0x4e5412;var _0x206f45,_0xce63a;let _0x54a535=_0x5b2003[_0x129eb9(0x324)][_0x129eb9(0x30d)](_0x38b420=>_0x381437(_0x5b2003,_0x38b420)),_0xe7a993=[],_0x19976e={..._0x52ac16[_0x129eb9(0x505)]??{}},_0xd99717=typeof _0x19976e['startDateFieldId']==_0x129eb9(0x3d4)&&_0x381437(_0x5b2003,_0x19976e['startDateFieldId'])?_0x19976e[_0x129eb9(0x3eb)]:_0x54a535[0x0],_0x102686=typeof _0x19976e[_0x129eb9(0x564)]==_0x129eb9(0x3d4)&&_0x381437(_0x5b2003,_0x19976e[_0x129eb9(0x564)])&&_0x19976e['endDateFieldId']!==_0xd99717?_0x19976e[_0x129eb9(0x564)]:_0x54a535[_0x129eb9(0x538)](_0x54d4ca=>_0x54d4ca!==_0xd99717);if(!_0xd99717){let _0x1b50e2=_0x40cc35(_0x5b2003,_0xe7a993,_0x52ac16['type']==='gantt'?_0x129eb9(0x411):_0x129eb9(0x44b));_0xe7a993[_0x129eb9(0x296)](_0x1b50e2),_0xd99717=_0x1b50e2['id'];}if((_0x52ac16['type']===_0x129eb9(0x22a)||_0x2dab5c)&&!_0x102686){let _0xb3dc68=_0x40cc35(_0x5b2003,_0xe7a993,'End\x20date');_0xe7a993['push'](_0xb3dc68),_0x102686=_0xb3dc68['id'];}_0x52ac16[_0x129eb9(0x3de)]===_0x129eb9(0x450)&&!_0x102686&&delete _0x19976e['endDateFieldId'],_0x19976e[_0x129eb9(0x3eb)]=_0xd99717,_0x52ac16[_0x129eb9(0x3de)]===_0x129eb9(0x450)&&_0x102686&&(_0x19976e[_0x129eb9(0x564)]=_0x102686),_0x52ac16[_0x129eb9(0x3de)]===_0x129eb9(0x22a)&&(_0x19976e[_0x129eb9(0x564)]=_0x102686??_0xd99717);let _0x10e5d4=_0x259695(_0x52ac16['fieldOrder'],_0xe7a993[_0x129eb9(0x1fd)](_0x12f03a=>_0x12f03a['id']));return{'changed':_0xe7a993[_0x129eb9(0x4b3)]>0x0||_0x19976e[_0x129eb9(0x3eb)]!==((_0x206f45=_0x52ac16[_0x129eb9(0x505)])==null?void 0x0:_0x206f45['startDateFieldId'])||_0x19976e[_0x129eb9(0x564)]!==((_0xce63a=_0x52ac16['config'])==null?void 0x0:_0xce63a[_0x129eb9(0x564)])||!(!_0x10e5d4||_0x3deeb7['Tools'][_0x129eb9(0x1b5)](_0x10e5d4,_0x52ac16[_0x129eb9(0x324)]??[])),'fields':_0xe7a993,'config':_0x19976e,'fieldOrder':_0x10e5d4};}function _0x581077(_0x501077,_0x305643){const _0x24e77d=_0x4e5412;var _0x3a3214;let _0x507b95=[],_0xd338fb={..._0x305643[_0x24e77d(0x505)]??{}},_0x4aa4da=typeof _0xd338fb['groupFieldId']==_0x24e77d(0x3d4)&&_0x81fd94(_0x501077,_0xd338fb[_0x24e77d(0x552)])?_0xd338fb[_0x24e77d(0x552)]:_0x501077[_0x24e77d(0x324)][_0x24e77d(0x538)](_0x237940=>_0x81fd94(_0x501077,_0x237940));if(!_0x4aa4da){let _0x2f62c3=_0x359827(_0x501077,_0x507b95);_0x507b95['push'](_0x2f62c3),_0x4aa4da=_0x2f62c3['id'];}_0xd338fb[_0x24e77d(0x552)]=_0x4aa4da;let _0x47cf50=_0x259695(_0x305643[_0x24e77d(0x324)],_0x507b95['map'](_0x5923b2=>_0x5923b2['id']));return{'changed':_0x507b95['length']>0x0||_0xd338fb[_0x24e77d(0x552)]!==((_0x3a3214=_0x305643[_0x24e77d(0x505)])==null?void 0x0:_0x3a3214[_0x24e77d(0x552)])||!(!_0x47cf50||_0x3deeb7[_0x24e77d(0x23a)]['diffValue'](_0x47cf50,_0x305643['fieldOrder']??[])),'fields':_0x507b95,'config':_0xd338fb,'fieldOrder':_0x47cf50};}function _0x81fd94(_0x336aa2,_0x24e09c){const _0x63155c=_0x4e5412;let _0x5a5c44=_0x24e09c?_0x336aa2[_0x63155c(0x135)][_0x24e09c]:null;return _0x5a5c44?[_0x3deeb7[_0x63155c(0x16c)][_0x63155c(0x53f)],_0x3deeb7[_0x63155c(0x16c)]['MultiSelect'],_0x3deeb7[_0x63155c(0x16c)][_0x63155c(0x49b)],_0x3deeb7[_0x63155c(0x16c)][_0x63155c(0x122)],_0x3deeb7[_0x63155c(0x16c)]['Group'],_0x3deeb7['BaseFieldType'][_0x63155c(0x1db)]]['includes'](_0x5a5c44[_0x63155c(0x3de)]):!0x1;}function _0x359827(_0x1b41dd,_0x5c5c0b){const _0x218519=_0x4e5412;return{'id':_0x218519(0x314)+(0x0,_0x3deeb7['generateRandomId'])(0x8),'name':_0x3fa472(_0x1b41dd,_0x218519(0x3ca),_0x5c5c0b),'type':_0x3deeb7[_0x218519(0x16c)][_0x218519(0x53f)],'config':_0x3deeb7[_0x218519(0x23a)][_0x218519(0x534)](_0x28856d)};}function _0x540d8b(_0x4946be){const _0x2881db=_0x4e5412;return Object['keys'](_0x4946be['config']??{})[_0x2881db(0x4b3)]===0x0&&Object['keys'](_0x4946be['fieldSettings']??{})[_0x2881db(0x4b3)]===0x0;}function _0x2ab8ab(_0x42ec66,_0x5ce227,_0x12b245){const _0x99b53b=_0x4e5412;let _0x2c1856={..._0x5ce227['config']??{}},_0x513378=_0x12b245[_0x99b53b(0x1fd)](_0x1db7ec=>_0x1db7ec['id']),_0x3edfa6=[..._0x42ec66['fieldOrder'],..._0x513378],_0x3864bd=typeof _0x2c1856[_0x99b53b(0x1ce)]=='string'&&_0x55a039(_0x42ec66,_0x12b245,_0x2c1856['titleFieldId'])?_0x2c1856['titleFieldId']:_0x42ec66[_0x99b53b(0x3fb)],_0x283707=typeof _0x2c1856[_0x99b53b(0x3eb)]==_0x99b53b(0x3d4)?_0x2c1856[_0x99b53b(0x3eb)]:'',_0x35fa39=typeof _0x2c1856[_0x99b53b(0x564)]==_0x99b53b(0x3d4)?_0x2c1856[_0x99b53b(0x564)]:_0x283707,_0x1f8dc6=new Set([_0x3864bd,_0x283707,_0x35fa39][_0x99b53b(0x30d)](_0x8469e=>_0x8469e&&_0x55a039(_0x42ec66,_0x12b245,_0x8469e))),_0x19a427=Object[_0x99b53b(0x1ff)](_0x3edfa6['flatMap'](_0x2c7a39=>_0x1f8dc6[_0x99b53b(0x10f)](_0x2c7a39)||!_0x55a039(_0x42ec66,_0x12b245,_0x2c7a39)?[]:[[_0x2c7a39,{'hidden':!0x0}]]));return{..._0x5ce227,'config':{..._0x2c1856,'titleFieldId':_0x3864bd},'fieldSettings':_0x19a427};}function _0x55a039(_0x16a1bd,_0x8a7245,_0x560020){const _0x9a7911=_0x4e5412;return!!(_0x16a1bd[_0x9a7911(0x135)][_0x560020]??_0x8a7245[_0x9a7911(0x538)](_0x2f55f8=>_0x2f55f8['id']===_0x560020))&&!0x0;}function _0x381437(_0xb704bd,_0x13b034){const _0x1d1e2c=_0x4e5412;let _0x29f188=_0x13b034?_0xb704bd[_0x1d1e2c(0x135)][_0x13b034]:null;return!!_0x29f188&&_0x29f188[_0x1d1e2c(0x3de)]===_0x3deeb7['BaseFieldType'][_0x1d1e2c(0x44b)]&&_0x29f188[_0x1d1e2c(0x380)]!==!0x0&&_0x29f188[_0x1d1e2c(0x41e)]!==!0x0;}function _0x40cc35(_0x22f08d,_0x39cdc2,_0x39d896){const _0x52bcae=_0x4e5412;let _0x3d67a3=new Set([...Object[_0x52bcae(0x2e5)](_0x22f08d['fields']),..._0x39cdc2['map'](_0x112b22=>_0x112b22['id'])]),_0x305f27=_0x52bcae(0x314)+(0x0,_0x3deeb7[_0x52bcae(0x148)])(0x8);for(;_0x3d67a3[_0x52bcae(0x10f)](_0x305f27);)_0x305f27=_0x52bcae(0x314)+(0x0,_0x3deeb7[_0x52bcae(0x148)])(0x8);return{'id':_0x305f27,'name':_0x3fa472(_0x22f08d,_0x39d896,_0x39cdc2),'type':_0x3deeb7[_0x52bcae(0x16c)][_0x52bcae(0x44b)],'config':{..._0x2e68e4}};}let _0x4ba32c={'id':_0x4e5412(0x430),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x2e1733,_0x183825)=>{const _0x2c799a=_0x4e5412;if(!_0x183825)return!0x1;let _0xcb61d1=_0x2e1733[_0x2c799a(0x3c1)](_0x3deeb7[_0x2c799a(0x4b4)]),{unitId:_0x3ccb52,tableId:_0x10574d,view:_0x17a6d0,index:_0x17418f}=_0x183825,_0x42e23f=_0xcb61d1[_0x2c799a(0x14e)](_0x3ccb52,_0x3deeb7[_0x2c799a(0x4ca)]['UNIVER_BASE']);if(!_0x42e23f||!_0x551df6(_0x42e23f,_0x10574d)||_0x42e23f[_0x2c799a(0x21d)]()[_0x2c799a(0x52f)][_0x10574d][_0x2c799a(0x3d0)][_0x17a6d0['id']])return!0x1;let _0x5aec18=_0x2e1733[_0x2c799a(0x3c1)](_0x3deeb7['ICommandService']),_0x201928=_0x2e1733['get'](_0x3deeb7[_0x2c799a(0x16d)]),_0x1b30db=_0x42e23f['getSnapshot'](),_0x1b851a=_0x1bdbb3(_0x1b30db,_0x10574d,_0x17a6d0,_0x17418f),_0x2eee75=new _0x162342()['invertOp'](_0x1b30db,_0x1b851a),_0xecf078={'historyAction':_0x2c799a(0x246),'unitId':_0x3ccb52,'op':_0x1b851a,'viewType':_0x17a6d0[_0x2c799a(0x3de)]},_0x1d3aa5={'historyAction':'delete-view','unitId':_0x3ccb52,'op':_0x2eee75,'viewType':_0x17a6d0[_0x2c799a(0x3de)]};return _0x5aec18[_0x2c799a(0x4ad)](_0x59ab20['id'],_0xecf078)?(_0xcb61d1[_0x2c799a(0x35b)](_0x3ccb52),_0x201928[_0x2c799a(0x4b1)]({'unitID':_0x3ccb52,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x1d3aa5}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0xecf078}]}),!0x0):!0x1;}},_0x4f82e2={'id':_0x4e5412(0x4c8),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler'(_0x4c2c3b,_0x43ec68){const _0x1cbd32=_0x4e5412;if(!_0x43ec68)return!0x1;let _0x233561=_0x4c2c3b[_0x1cbd32(0x3c1)](_0x3deeb7['IUniverInstanceService']),{unitId:_0x51cfa3,tableId:_0x1601c0,fieldId:_0x9dbf4c}=_0x43ec68,_0x59ca84=_0x233561[_0x1cbd32(0x14e)](_0x51cfa3,_0x3deeb7[_0x1cbd32(0x4ca)][_0x1cbd32(0x475)]);if(!_0x59ca84)return!0x1;let _0x57f5cc=_0x59ca84['getSnapshot'](),_0xc223e1=_0x57f5cc[_0x1cbd32(0x52f)][_0x1601c0];if(!_0x551df6(_0x59ca84,_0x1601c0,{'fieldIds':[_0x9dbf4c]})||_0xc223e1[_0x1cbd32(0x3fb)]===_0x9dbf4c||_0x9dbf4c===_0x3deeb7[_0x1cbd32(0x2b7)])return!0x1;let _0x83d189=_0x4c2c3b['get'](_0x3deeb7['ICommandService']),_0xea509f=_0x4c2c3b['get'](_0x3deeb7['IUndoRedoService']),_0x52104f=new _0x38af97()['deleteField'](_0x57f5cc,_0x1601c0,_0x9dbf4c),_0x46bf34=new _0x162342()['invertOp'](_0x57f5cc,_0x52104f),_0x238a06={'unitId':_0x51cfa3,'op':_0x52104f},_0x47211b={'unitId':_0x51cfa3,'op':_0x46bf34};return _0x83d189[_0x1cbd32(0x4ad)](_0x59ab20['id'],_0x238a06)?(_0x233561[_0x1cbd32(0x35b)](_0x51cfa3),_0xea509f['pushUndoRedo']({'unitID':_0x51cfa3,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x47211b}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x238a06}]}),!0x0):!0x1;}},_0x1e9559={'id':_0x4e5412(0x558),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x346193,_0x17e3cb)=>{const _0x211cf0=_0x4e5412;if(!_0x17e3cb)return!0x1;let _0x40c189=_0x346193['get'](_0x3deeb7['IUniverInstanceService']),{unitId:_0x13969b,tableId:_0x4a19c6,recordId:_0x41c180}=_0x17e3cb,_0x2687b7=_0x40c189['getUnit'](_0x13969b,_0x3deeb7['UniverInstanceType'][_0x211cf0(0x475)]);if(!_0x2687b7||!_0x551df6(_0x2687b7,_0x4a19c6,{'recordIds':[_0x41c180]}))return!0x1;let _0x1249f6=_0x346193['get'](_0x3deeb7[_0x211cf0(0x400)]),_0x3c85bc=_0x346193[_0x211cf0(0x3c1)](_0x3deeb7[_0x211cf0(0x16d)]),_0x326842=_0x2687b7[_0x211cf0(0x21d)](),_0xfcbc22=_0x1f2f54(_0x326842[_0x211cf0(0x52f)][_0x4a19c6],[_0x41c180]),_0x4667ca=new _0x38af97(),_0x33e2d4=new _0x162342(),_0x221e3c=_0x4667ca[_0x211cf0(0x533)](_0x326842,_0x4a19c6,_0x41c180),_0x30ec56=_0x33e2d4[_0x211cf0(0x16f)](_0x326842,_0x221e3c),_0x845455=_0x4667ca[_0x211cf0(0x185)](_0x326842,_0x30ec56,_0x4a19c6,[_0x41c180]),_0x487615={'unitId':_0x13969b,'op':_0x221e3c,'hierarchyChanges':_0xfcbc22,'source':_0x17e3cb['source']??'ui'},_0x332d0c={..._0x487615,'source':_0x211cf0(0x39b)},_0x5b5a40={'unitId':_0x13969b,'op':_0x845455,'hierarchyChanges':_0xfcbc22[_0x211cf0(0x1fd)](_0x13be40=>({..._0x13be40,'oldParentRecordId':_0x13be40[_0x211cf0(0x3b7)],'parentRecordId':_0x13be40[_0x211cf0(0x28e)]})),'source':_0x211cf0(0x2c1)};return _0x1249f6[_0x211cf0(0x4ad)](_0x59ab20['id'],_0x487615)?(_0x40c189[_0x211cf0(0x35b)](_0x13969b),_0x3c85bc['pushUndoRedo']({'unitID':_0x13969b,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x5b5a40}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x332d0c}]}),!0x0):!0x1;}},_0x429691={'id':'base.command.delete-base-table','type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x4007a9,_0x13b8e2)=>{const _0x1bdaf7=_0x4e5412;if(!_0x13b8e2)return!0x1;let _0x53d5a8=_0x4007a9['get'](_0x3deeb7[_0x1bdaf7(0x4b4)]),{unitId:_0xe3ba6d,tableId:_0x309b55}=_0x13b8e2,_0x576c08=_0x53d5a8[_0x1bdaf7(0x14e)](_0xe3ba6d,_0x3deeb7[_0x1bdaf7(0x4ca)]['UNIVER_BASE']);if(!_0x576c08||!_0x551df6(_0x576c08,_0x309b55))return!0x1;let _0x23949b=_0x4007a9[_0x1bdaf7(0x3c1)](_0x3deeb7[_0x1bdaf7(0x400)]),_0x4cc010=_0x4007a9[_0x1bdaf7(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x390912=_0x576c08['getSnapshot'](),_0x48a15f=_0x394fe9(_0x390912,_0x309b55);if(_0x48a15f[_0x1bdaf7(0x4b3)]>0x0)return console['error'](_0x1bdaf7(0x1d5)+_0x309b55+_0x1bdaf7(0x205)+_0x48a15f['map'](_0x4071ba=>_0x4071ba[_0x1bdaf7(0x4fe)]+'.'+_0x4071ba[_0x1bdaf7(0x3d9)])[_0x1bdaf7(0x289)](',\x20')+'.'),!0x1;let _0x55abf3=new _0x38af97()[_0x1bdaf7(0x44c)](_0x390912,_0x309b55),_0x24926c=new _0x162342()[_0x1bdaf7(0x2c2)](_0x390912,_0x55abf3),_0x483638={'unitId':_0xe3ba6d,'op':_0x55abf3},_0xeadced={'unitId':_0xe3ba6d,'op':_0x24926c};return _0x23949b[_0x1bdaf7(0x4ad)](_0x59ab20['id'],_0x483638)?(_0x53d5a8[_0x1bdaf7(0x35b)](_0xe3ba6d),_0x4cc010['pushUndoRedo']({'unitID':_0xe3ba6d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0xeadced}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x483638}]}),!0x0):!0x1;}},_0x91357d={'id':'base.command.delete-base-view','type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x3f707e,_0x3fe70d)=>{const _0x178397=_0x4e5412;if(!_0x3fe70d)return!0x1;let _0x6a243d=_0x3f707e[_0x178397(0x3c1)](_0x3deeb7[_0x178397(0x4b4)]),{unitId:_0x48659f,tableId:_0x40770b,viewId:_0x423bd5}=_0x3fe70d,_0x43838f=_0x6a243d['getUnit'](_0x48659f,_0x3deeb7['UniverInstanceType'][_0x178397(0x475)]);if(!_0x43838f||!_0x551df6(_0x43838f,_0x40770b,{'viewIds':[_0x423bd5]}))return!0x1;let _0x35334e=_0x3f707e['get'](_0x3deeb7[_0x178397(0x400)]),_0x4a94bf=_0x3f707e[_0x178397(0x3c1)](_0x3deeb7[_0x178397(0x16d)]),_0x11a591=_0x43838f[_0x178397(0x21d)](),_0x4a4a76=_0x11a591['tables'][_0x40770b][_0x178397(0x3d0)][_0x423bd5]['type'],_0x18cd68=new _0x38af97()['deleteView'](_0x11a591,_0x40770b,_0x423bd5),_0x447fc7=new _0x162342()['invertOp'](_0x11a591,_0x18cd68),_0x238e31={'historyAction':_0x178397(0x31b),'unitId':_0x48659f,'op':_0x18cd68,'viewType':_0x4a4a76},_0x63d7bc={'historyAction':_0x178397(0x246),'unitId':_0x48659f,'op':_0x447fc7,'viewType':_0x4a4a76};return _0x35334e[_0x178397(0x4ad)](_0x59ab20['id'],_0x238e31)?(_0x6a243d[_0x178397(0x35b)](_0x48659f),_0x4a94bf[_0x178397(0x4b1)]({'unitID':_0x48659f,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x63d7bc}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x238e31}]}),!0x0):!0x1;}},_0x268c6c={'id':_0x4e5412(0x39c),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x58f120,_0xfa46e9)=>{const _0x4c35cc=_0x4e5412;if(!_0xfa46e9)return!0x1;let _0x743de1=_0x58f120[_0x4c35cc(0x3c1)](_0x3deeb7[_0x4c35cc(0x4b4)]),{unitId:_0x54493b,tableId:_0x52b140,sourceFieldId:_0x23afc4,field:_0x14cb90,index:_0x26def8,viewIndexes:_0x157bac}=_0xfa46e9,_0x27eb2c=_0x743de1['getUnit'](_0x54493b,_0x3deeb7[_0x4c35cc(0x4ca)][_0x4c35cc(0x475)]);if(!_0x27eb2c||!_0x551df6(_0x27eb2c,_0x52b140,{'fieldIds':[_0x23afc4]})||_0x23afc4===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']||_0x27eb2c[_0x4c35cc(0x21d)]()[_0x4c35cc(0x52f)][_0x52b140][_0x4c35cc(0x135)][_0x14cb90['id']]||_0x26def8===0x0||!_0x62d201(_0x27eb2c,_0x52b140,_0x14cb90))return!0x1;let _0x50a4a7=_0x58f120[_0x4c35cc(0x3c1)](_0x3deeb7[_0x4c35cc(0x400)]),_0x4874a8=_0x58f120[_0x4c35cc(0x3c1)](_0x3deeb7[_0x4c35cc(0x16d)]),_0x28544c=_0x27eb2c[_0x4c35cc(0x21d)](),_0x1518e3=new _0x38af97()[_0x4c35cc(0x1a7)](_0x28544c,_0x52b140,_0x23afc4,{'field':_0x14cb90,'index':_0x26def8,'viewIndexes':_0x157bac}),_0x43fdd3=new _0x162342()[_0x4c35cc(0x2c2)](_0x28544c,_0x1518e3),_0x186942={'unitId':_0x54493b,'op':_0x1518e3},_0x358a4c={'unitId':_0x54493b,'op':_0x43fdd3};return _0x50a4a7['syncExecuteCommand'](_0x59ab20['id'],_0x186942)?(_0x743de1[_0x4c35cc(0x35b)](_0x54493b),_0x4874a8[_0x4c35cc(0x4b1)]({'unitID':_0x54493b,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x358a4c}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x186942}]}),!0x0):!0x1;}},_0x4831aa={'id':_0x4e5412(0x2c8),'type':_0x3deeb7['CommandType']['COMMAND'],'handler':(_0x12941b,_0xf48d1f)=>{const _0x4adfb6=_0x4e5412;if(!_0xf48d1f)return!0x1;let _0x10ffd9=_0x12941b[_0x4adfb6(0x3c1)](_0x3deeb7[_0x4adfb6(0x4b4)]),{unitId:_0x4df0fa,tableId:_0x5d504b,sourceRecordId:_0xfead13,record:_0x506929}=_0xf48d1f,_0x53e7e4=_0x10ffd9[_0x4adfb6(0x14e)](_0x4df0fa,_0x3deeb7['UniverInstanceType'][_0x4adfb6(0x475)]);if(!_0x53e7e4||!_0x551df6(_0x53e7e4,_0x5d504b,{'recordIds':[_0xfead13]})||!_0x283af1(_0x53e7e4,_0x5d504b,_0x506929))return!0x1;let _0xed295a=_0x12941b[_0x4adfb6(0x3c1)](_0x3deeb7[_0x4adfb6(0x400)]),_0x5855b0=_0x12941b[_0x4adfb6(0x3c1)](_0x3deeb7[_0x4adfb6(0x16d)]),_0x22cb17=_0x53e7e4[_0x4adfb6(0x21d)](),_0x379dd0=_0x2e275b(_0x506929),_0x9e3148=_0x2cba79(_0x22cb17[_0x4adfb6(0x52f)][_0x5d504b],[_0x379dd0]),_0x573e92=new _0x38af97()[_0x4adfb6(0x46a)](_0x22cb17,_0x5d504b,_0xfead13,_0x379dd0),_0x2559af=new _0x162342()['invertOp'](_0x22cb17,_0x573e92),_0x2efc88={'unitId':_0x4df0fa,'op':_0x573e92,'hierarchyChanges':_0x9e3148[_0x4adfb6(0x4b3)]?_0x9e3148:void 0x0,'source':_0x9e3148['length']?_0xf48d1f[_0x4adfb6(0x3e3)]??'ui':void 0x0},_0x581d62={..._0x2efc88,'source':_0x9e3148[_0x4adfb6(0x4b3)]?'redo':void 0x0},_0x1c92e1={'unitId':_0x4df0fa,'op':_0x2559af,'hierarchyChanges':_0x9e3148[_0x4adfb6(0x4b3)]?_0x9e3148[_0x4adfb6(0x1fd)](_0x3f433b=>({..._0x3f433b,'oldParentRecordId':_0x3f433b[_0x4adfb6(0x3b7)],'parentRecordId':null})):void 0x0,'source':_0x9e3148[_0x4adfb6(0x4b3)]?'undo':void 0x0};return _0xed295a[_0x4adfb6(0x4ad)](_0x59ab20['id'],_0x2efc88)?(_0x10ffd9[_0x4adfb6(0x35b)](_0x4df0fa),_0x5855b0[_0x4adfb6(0x4b1)]({'unitID':_0x4df0fa,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x1c92e1}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x581d62}]}),!0x0):!0x1;}},_0x86992f={'id':_0x4e5412(0x298),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x4eb808,_0x2809a9){const _0x5e0db3=_0x4e5412;if(!_0x2809a9)return!0x1;let _0x1ac8b1=_0x4eb808[_0x5e0db3(0x3c1)](_0x3deeb7[_0x5e0db3(0x4b4)]),{unitId:_0x11db9c,tableId:_0x3a1219,viewId:_0x4b969a,ensureEndDateField:_0x1fe79e}=_0x2809a9,_0x153833=_0x1ac8b1[_0x5e0db3(0x14e)](_0x11db9c,_0x3deeb7[_0x5e0db3(0x4ca)]['UNIVER_BASE']);if(!_0x153833||!_0x551df6(_0x153833,_0x3a1219,{'viewIds':[_0x4b969a]}))return!0x1;let _0x3d5649=_0x153833[_0x5e0db3(0x21d)](),_0x462a66=_0x3d5649['tables'][_0x3a1219],_0x205ac6=_0x462a66==null?void 0x0:_0x462a66[_0x5e0db3(0x3d0)][_0x4b969a];if(!_0x462a66||!_0x205ac6||_0x205ac6[_0x5e0db3(0x3de)]!==_0x5e0db3(0x450)&&_0x205ac6[_0x5e0db3(0x3de)]!==_0x5e0db3(0x22a))return!0x1;let _0x4b4a09=_0x383fde(_0x462a66,_0x205ac6,_0x1fe79e===!0x0);if(!_0x4b4a09[_0x5e0db3(0x136)])return!0x1;let _0x5d5f91=_0x4eb808['get'](_0x3deeb7[_0x5e0db3(0x400)]),_0xe758=_0x4eb808['get'](_0x3deeb7['IUndoRedoService']),_0x19a730=new _0x38af97(),_0x26e10f=[..._0x4b4a09[_0x5e0db3(0x135)][_0x5e0db3(0x1fd)](_0x51e053=>_0x19a730[_0x5e0db3(0x2b6)](_0x3d5649,_0x2809a9[_0x5e0db3(0x4fe)],{'field':_0x51e053})),_0x3580d4([..._0xce1930(_0x2809a9[_0x5e0db3(0x4fe)],_0x2809a9[_0x5e0db3(0x18c)]),_0x5e0db3(0x505)],_0x205ac6[_0x5e0db3(0x505)],_0x4b4a09['config'])];_0x4b4a09[_0x5e0db3(0x324)]&&_0x26e10f[_0x5e0db3(0x296)](_0x3580d4([..._0xce1930(_0x2809a9[_0x5e0db3(0x4fe)],_0x2809a9['viewId']),_0x5e0db3(0x324)],_0x205ac6[_0x5e0db3(0x324)],_0x4b4a09[_0x5e0db3(0x324)]));let _0x169e0a=_0x517f41(_0x26e10f),_0x458b10=new _0x162342()['invertOp'](_0x3d5649,_0x169e0a),_0x45631e={'unitId':_0x11db9c,'op':_0x169e0a},_0x332cdb={'unitId':_0x11db9c,'op':_0x458b10};return _0x5d5f91[_0x5e0db3(0x4ad)](_0x59ab20['id'],_0x45631e)?(_0x1ac8b1[_0x5e0db3(0x35b)](_0x11db9c),_0xe758['pushUndoRedo']({'unitID':_0x11db9c,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x332cdb}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x45631e}]}),!0x0):!0x1;}};function _0x3580d4(_0x37671c,_0xfadbe3,_0x7277b9){const _0x169917=_0x4e5412;return _0xfadbe3===void 0x0?_0x3deeb7['JSON1'][_0x169917(0x36b)](_0x37671c,_0x7277b9):_0x3deeb7[_0x169917(0x248)][_0x169917(0x36a)](_0x37671c,_0xfadbe3,_0x7277b9);}function _0xce1930(_0xebb80c,_0x373237){return['tables',_0xebb80c,'views',_0x373237];}let _0x380238={'id':_0x4e5412(0x4f0),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x298dda,_0x2d2837)=>{const _0x18196c=_0x4e5412;if(!_0x2d2837)return!0x1;let _0x4eadaa=_0x298dda[_0x18196c(0x3c1)](_0x3deeb7['IUniverInstanceService']),{unitId:_0x42fa39,tableId:_0x5c3107,fieldId:_0x41a4f0,target:_0x3c4559}=_0x2d2837,_0x59d4f3=_0x4eadaa[_0x18196c(0x14e)](_0x42fa39,_0x3deeb7[_0x18196c(0x4ca)][_0x18196c(0x475)]),_0x5ccc09=_0x3c4559['beforeFieldId']??_0x3c4559['afterFieldId'];if(!_0x59d4f3||!!_0x3c4559[_0x18196c(0x179)]==!!_0x3c4559[_0x18196c(0x39e)]||!_0x5ccc09||_0x5ccc09===_0x41a4f0||_0x41a4f0===_0x3deeb7[_0x18196c(0x2b7)]||_0x3c4559[_0x18196c(0x179)]===_0x3deeb7[_0x18196c(0x2b7)]||!_0x551df6(_0x59d4f3,_0x5c3107,{'fieldIds':[_0x41a4f0,_0x5ccc09]}))return!0x1;let _0x3bcdde=_0x298dda[_0x18196c(0x3c1)](_0x3deeb7['ICommandService']),_0x3e81f0=_0x298dda[_0x18196c(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x3dee6b=_0x59d4f3[_0x18196c(0x21d)](),_0x163e6a=new _0x38af97()[_0x18196c(0x272)](_0x3dee6b,_0x5c3107,_0x41a4f0,_0x3c4559),_0x2bfa09=new _0x162342()[_0x18196c(0x2c2)](_0x3dee6b,_0x163e6a),_0x33135a={'unitId':_0x42fa39,'op':_0x163e6a},_0x115b5a={'unitId':_0x42fa39,'op':_0x2bfa09};return _0x3bcdde[_0x18196c(0x4ad)](_0x59ab20['id'],_0x33135a)?(_0x4eadaa[_0x18196c(0x35b)](_0x42fa39),_0x3e81f0['pushUndoRedo']({'unitID':_0x42fa39,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x115b5a}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x33135a}]}),!0x0):!0x1;}},_0x501b4c={'id':_0x4e5412(0x4e4),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x3a908a,_0x48c614)=>{const _0x520982=_0x4e5412;var _0x2d622a;if(!_0x48c614)return!0x1;let {unitId:_0x268e49,tableId:_0x4b409a,recordId:_0xda775e,parentRecordId:_0x2c8501,orderKey:_0x40e563}=_0x48c614,_0x1ff66b=_0x3a908a[_0x520982(0x3c1)](_0x3deeb7['IUniverInstanceService']),_0x4d5e87=_0x1ff66b[_0x520982(0x14e)](_0x268e49,_0x3deeb7[_0x520982(0x4ca)][_0x520982(0x475)]);if(!_0x4d5e87||!_0x551df6(_0x4d5e87,_0x4b409a,{'recordIds':[_0xda775e,..._0x2c8501?[_0x2c8501]:[]]}))throw new _0x25ceeb(_0x520982(0x412));let _0x486f28=_0x4d5e87[_0x520982(0x21d)](),_0x5808b8=_0x486f28[_0x520982(0x52f)][_0x4b409a],_0xac9b0a=_0x1e2885(_0x5808b8),_0x18b43d=_0xac9b0a??_0x48c614[_0x520982(0x3d9)]??_0x3de209(_0x5808b8);if(_0xac9b0a&&_0x48c614[_0x520982(0x3d9)]&&_0x48c614[_0x520982(0x3d9)]!==_0xac9b0a||_0x5808b8[_0x520982(0x135)][_0x18b43d]&&!_0x29b167(_0x5808b8,_0x18b43d))throw new _0x25ceeb(_0x520982(0x190));let _0x652710=_0x385429(_0x5808b8,_0x18b43d),_0x58b2a4=_0x2644d5(_0x652710,_0xda775e,_0x2c8501);if(!_0x58b2a4['valid'])throw new _0x25ceeb(_0x58b2a4[_0x520982(0x4df)]===_0x3deeb7[_0x520982(0x11f)][_0x520982(0x1df)]?_0x520982(0x16a):_0x58b2a4[_0x520982(0x4df)]===_0x3deeb7['BaseHierarchyInvalidReason']['Cycle']?_0x520982(0x503):_0x520982(0x4c9));let _0x4ba4e1=_0x652710[_0x520982(0x1f3)]['get'](_0xda775e)??null,_0x66801e=_0x5808b8['records'][_0xda775e][_0x520982(0x3a9)];if(_0x4ba4e1===_0x2c8501&&(_0x40e563===void 0x0||_0x40e563===_0x66801e))return!0x0;let _0x2b2e84=_0x4ba4e1!==_0x2c8501,_0x5c0073=_0x40e563!==void 0x0&&_0x40e563!==_0x66801e,_0x1a37f0=new _0x38af97(),_0x5ee366=[],_0xf1aca4=_0x5808b8[_0x520982(0x135)][_0x18b43d],_0x46a59e=_0x2b2e84&&(!_0xf1aca4||((_0x2d622a=_0x14bbce(_0xf1aca4))==null?void 0x0:_0x2d622a[_0x520982(0x182)])!==_0x3deeb7[_0x520982(0x175)][_0x520982(0x1ef)])?_0xf1aca4?_0x1a37f0[_0x520982(0x1ec)](_0x486f28,_0x4b409a,_0x18b43d,{'config':{..._0xf1aca4[_0x520982(0x505)],'relationRole':_0x3deeb7[_0x520982(0x175)][_0x520982(0x1ef)]}}):_0x3a908a[_0x520982(0x3c1)](_0x36bcc9)['createCreateFieldOp'](_0x4d5e87,_0x4b409a,_0x182fc2(_0x5808b8,_0x18b43d,_0x48c614['parentFieldName']),_0x5808b8['fieldOrder'][_0x520982(0x4b3)]):null;_0x46a59e&&_0x5ee366[_0x520982(0x296)](_0x46a59e),_0x2b2e84&&_0x5ee366[_0x520982(0x296)](_0x1a37f0[_0x520982(0x222)](_0x486f28,_0x4b409a,_0xda775e,_0x18b43d,_0x2c8501?_0x1234df([_0x2c8501]):'')),_0x5c0073&&_0x5ee366[_0x520982(0x296)](_0x1a37f0[_0x520982(0x19f)](_0x486f28,_0x4b409a,_0xda775e,_0x40e563));let _0x60ffb4=_0x517f41(_0x5ee366),_0x278332={'tableId':_0x4b409a,'fieldId':_0x18b43d,'recordId':_0xda775e,'oldParentRecordId':_0x4ba4e1,'parentRecordId':_0x2c8501},_0x3e7014={'unitId':_0x268e49,'op':_0x60ffb4,'trigger':_0x501b4c['id'],'hierarchyChanges':[_0x278332],'source':_0x48c614[_0x520982(0x3e3)]??'ui'},_0x2a2c5b={..._0x3e7014,'source':_0x520982(0x39b)};if(!_0x3a908a[_0x520982(0x3c1)](_0x3deeb7[_0x520982(0x400)])[_0x520982(0x4ad)](_0x59ab20['id'],_0x3e7014))return!0x1;let _0x426461=_0x4d5e87['getSnapshot'](),_0x4509d8=[];_0x2b2e84&&_0x4509d8[_0x520982(0x296)](_0xd82277(_0x426461,_0x486f28,_0x4b409a,_0xda775e,_0x18b43d)),_0x5c0073&&_0x4509d8[_0x520982(0x296)](_0x4e53aa(_0x426461,_0x486f28,_0x4b409a,_0xda775e)),_0x46a59e&&_0x4509d8[_0x520982(0x296)](new _0x162342()[_0x520982(0x2c2)](_0x486f28,_0x46a59e));let _0x2d6d3a={'unitId':_0x268e49,'op':_0x517f41(_0x4509d8),'trigger':_0x501b4c['id'],'hierarchyChanges':[{..._0x278332,'oldParentRecordId':_0x2c8501,'parentRecordId':_0x4ba4e1}],'source':_0x520982(0x2c1)};return _0x1ff66b[_0x520982(0x35b)](_0x268e49),_0x3a908a[_0x520982(0x3c1)](_0x3deeb7[_0x520982(0x16d)])[_0x520982(0x4b1)]({'unitID':_0x268e49,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x2d6d3a}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x2a2c5b}]}),!0x0;}};function _0xd82277(_0x57092a,_0x483fa6,_0x2bce02,_0x37d28a,_0x27c848){const _0x22571d=_0x4e5412;var _0x3354aa,_0x2f6579,_0x2767a8,_0x26f9da,_0x5a091f,_0x3f579c,_0x5509dd,_0x34ee03;let _0xfb291a=_0x57092a['tables'][_0x2bce02],_0x310cf4=_0x483fa6[_0x22571d(0x52f)][_0x2bce02],_0x4585d6=(_0x3354aa=_0xfb291a[_0x22571d(0x364)])==null?void 0x0:_0x3354aa[_0x37d28a],_0x56b61b=(_0x2f6579=_0xfb291a[_0x22571d(0x1fc)])==null?void 0x0:_0x2f6579[_0x27c848],_0x22fc9e=(_0x2767a8=_0x310cf4[_0x22571d(0x364)])==null?void 0x0:_0x2767a8[_0x37d28a],_0x3e0628=(_0x26f9da=_0x310cf4[_0x22571d(0x1fc)])==null?void 0x0:_0x26f9da[_0x27c848],_0x4be65d=_0x4585d6==null||_0x56b61b==null||(_0x5a091f=_0xfb291a[_0x22571d(0x2c7)])==null||(_0x5a091f=_0x5a091f[_0x4585d6])==null?void 0x0:_0x5a091f[_0x56b61b],_0x26433c=_0x22fc9e==null||_0x3e0628==null||(_0x3f579c=_0x310cf4[_0x22571d(0x2c7)])==null||(_0x3f579c=_0x3f579c[_0x22fc9e])==null?void 0x0:_0x3f579c[_0x3e0628],_0x323a9e=(_0x5509dd=_0xfb291a['records'][_0x37d28a])==null?void 0x0:_0x5509dd[_0x22571d(0x261)][_0x27c848],_0x219477=(_0x34ee03=_0x310cf4[_0x22571d(0x4ce)][_0x37d28a])==null?void 0x0:_0x34ee03[_0x22571d(0x261)][_0x27c848],_0xa7171d=[],_0x4be88f=_0x49267b(_0x4585d6==null||_0x56b61b==null?null:_0x516a3c[_0x22571d(0x2c7)](_0x2bce02,_0x4585d6,_0x56b61b),_0x4be65d,_0x26433c);_0x4be88f&&_0xa7171d[_0x22571d(0x296)](_0x4be88f);let _0x4a6919=_0x49267b(_0x516a3c[_0x22571d(0x234)](_0x2bce02,_0x37d28a,_0x27c848),_0x323a9e,_0x219477);return _0x4a6919&&_0xa7171d[_0x22571d(0x296)](_0x4a6919),_0x517f41(_0xa7171d);}function _0x4e53aa(_0x3e4b55,_0x54381f,_0x55e3b4,_0xad220f){const _0x3057e5=_0x4e5412;var _0x47c590,_0x25dac8;let _0x3c65fd=_0x3e4b55[_0x3057e5(0x52f)][_0x55e3b4],_0x118810=_0x54381f[_0x3057e5(0x52f)][_0x55e3b4];return _0x517f41([_0x49267b([..._0x516a3c['record'](_0x55e3b4,_0xad220f),_0x3057e5(0x3a9)],(_0x47c590=_0x3c65fd[_0x3057e5(0x4ce)][_0xad220f])==null?void 0x0:_0x47c590['orderKey'],(_0x25dac8=_0x118810[_0x3057e5(0x4ce)][_0xad220f])==null?void 0x0:_0x25dac8[_0x3057e5(0x3a9)]),_0x49267b([..._0x516a3c[_0x3057e5(0x561)](_0x55e3b4),_0x3057e5(0x402)],_0x3c65fd[_0x3057e5(0x402)],_0x118810['recordOrder'])][_0x3057e5(0x30d)](_0x3fe343=>!!_0x3fe343));}function _0x49267b(_0x577d25,_0x554bbe,_0x5ec2db){const _0x292676=_0x4e5412;if(!_0x577d25||_0x554bbe===void 0x0&&_0x5ec2db===void 0x0)return null;let _0x36c87d=_0x3deeb7[_0x292676(0x2cc)][_0x292676(0x319)]();return _0x5ec2db===void 0x0?_0x36c87d['removeOp'](_0x577d25,_0x554bbe):_0x554bbe===void 0x0?_0x36c87d[_0x292676(0x36b)](_0x577d25,_0x5ec2db):_0x36c87d[_0x292676(0x36a)](_0x577d25,_0x554bbe,_0x5ec2db);}let _0x53cc18={'id':_0x4e5412(0x4ee),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x4f5b1f,_0x386afc)=>{const _0x192d00=_0x4e5412;if(!_0x386afc)return!0x1;let _0x2f6ae2=_0x4f5b1f[_0x192d00(0x3c1)](_0x3deeb7[_0x192d00(0x4b4)]),{unitId:_0x34c919,tableId:_0x7bb8db,viewId:_0x4cc384,target:_0x35e3f2}=_0x386afc,_0x2509ef=_0x2f6ae2[_0x192d00(0x14e)](_0x34c919,_0x3deeb7[_0x192d00(0x4ca)][_0x192d00(0x475)]),_0x11d4e0=_0x35e3f2[_0x192d00(0x124)]??_0x35e3f2[_0x192d00(0x206)];if(!_0x2509ef||!_0x11d4e0||_0x11d4e0===_0x4cc384||!_0x551df6(_0x2509ef,_0x7bb8db,{'viewIds':[_0x4cc384,_0x11d4e0]}))return!0x1;let _0x5370fa=_0x4f5b1f[_0x192d00(0x3c1)](_0x3deeb7[_0x192d00(0x400)]),_0x2e608e=_0x4f5b1f['get'](_0x3deeb7[_0x192d00(0x16d)]),_0x5ddd8c=_0x2509ef[_0x192d00(0x21d)](),_0x411ac6=new _0x38af97()[_0x192d00(0x4d1)](_0x5ddd8c,_0x7bb8db,_0x4cc384,_0x35e3f2),_0x3fb09f=new _0x162342()['invertOp'](_0x5ddd8c,_0x411ac6),_0x43a062={'unitId':_0x34c919,'op':_0x411ac6},_0x4f5c90={'unitId':_0x34c919,'op':_0x3fb09f};return _0x5370fa[_0x192d00(0x4ad)](_0x59ab20['id'],_0x43a062)?(_0x2f6ae2[_0x192d00(0x35b)](_0x34c919),_0x2e608e[_0x192d00(0x4b1)]({'unitID':_0x34c919,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x4f5c90}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x43a062}]}),!0x0):!0x1;}},_0x5515eb={'id':'base.command.rename-base-table','type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x279abd,_0x488e8b)=>{const _0x5c5cee=_0x4e5412;if(!_0x488e8b)return!0x1;let _0x50ad2e=_0x279abd['get'](_0x3deeb7[_0x5c5cee(0x4b4)]),{unitId:_0x26ad77,tableId:_0x3517bf,name:_0x428a59}=_0x488e8b,_0x275656=_0x50ad2e['getUnit'](_0x26ad77,_0x3deeb7['UniverInstanceType'][_0x5c5cee(0x475)]);if(!_0x275656||!_0x551df6(_0x275656,_0x3517bf)||!_0x57ed6b(_0x275656[_0x5c5cee(0x21d)](),_0x428a59,_0x3517bf)[_0x5c5cee(0x236)])return!0x1;let _0x8def49=_0x279abd['get'](_0x3deeb7[_0x5c5cee(0x400)]),_0x53d0f3=_0x279abd['get'](_0x3deeb7['IUndoRedoService']),_0x11ac4f=_0x275656[_0x5c5cee(0x21d)](),_0x294145=new _0x38af97()[_0x5c5cee(0x302)](_0x11ac4f,_0x3517bf,_0x428a59),_0x5aaf72=new _0x162342()['invertOp'](_0x11ac4f,_0x294145),_0x366af9={'unitId':_0x26ad77,'op':_0x294145},_0x1acac9={'unitId':_0x26ad77,'op':_0x5aaf72};return _0x8def49[_0x5c5cee(0x4ad)](_0x59ab20['id'],_0x366af9)?(_0x50ad2e[_0x5c5cee(0x35b)](_0x26ad77),_0x53d0f3[_0x5c5cee(0x4b1)]({'unitID':_0x26ad77,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x1acac9}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x366af9}]}),!0x0):!0x1;}},_0x3e9d6a={'id':_0x4e5412(0x53e),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x477119,_0x3baf0c)=>{const _0x3221c9=_0x4e5412;if(!_0x3baf0c)return!0x1;let _0x4c761b=_0x477119['get'](_0x3deeb7['IUniverInstanceService']),{unitId:_0x537e28,tableId:_0x1a5903,viewId:_0x3c6f92,name:_0x3ae52b}=_0x3baf0c,_0x75586f=_0x4c761b[_0x3221c9(0x14e)](_0x537e28,_0x3deeb7[_0x3221c9(0x4ca)][_0x3221c9(0x475)]);if(!_0x75586f||!_0x551df6(_0x75586f,_0x1a5903,{'viewIds':[_0x3c6f92]}))return!0x1;let _0x42b70d=_0x477119['get'](_0x3deeb7['ICommandService']),_0x49961b=_0x477119[_0x3221c9(0x3c1)](_0x3deeb7[_0x3221c9(0x16d)]),_0x5ef36c=_0x75586f[_0x3221c9(0x21d)](),_0x175cc2=new _0x38af97()['renameView'](_0x5ef36c,_0x1a5903,_0x3c6f92,_0x3ae52b),_0x567b7e=new _0x162342()[_0x3221c9(0x2c2)](_0x5ef36c,_0x175cc2),_0x4fdb18={'unitId':_0x537e28,'op':_0x175cc2},_0x5c5722={'unitId':_0x537e28,'op':_0x567b7e};return _0x42b70d['syncExecuteCommand'](_0x59ab20['id'],_0x4fdb18)?(_0x4c761b[_0x3221c9(0x35b)](_0x537e28),_0x49961b['pushUndoRedo']({'unitID':_0x537e28,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x5c5722}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x4fdb18}]}),!0x0):!0x1;}},_0x1cac5c={'id':_0x4e5412(0x387),'type':_0x3deeb7['CommandType']['COMMAND'],'handler':(_0x2d885d,_0x8613de)=>{const _0x4a181e=_0x4e5412;if(!_0x8613de)return!0x1;let _0x147576=_0x2d885d[_0x4a181e(0x3c1)](_0x3deeb7[_0x4a181e(0x4b4)]),{unitId:_0x35f979,tableId:_0x24d59f,viewId:_0x591ab5,fieldId:_0x27d083}=_0x8613de,_0x5cc1cf=_0x147576[_0x4a181e(0x14e)](_0x35f979,_0x3deeb7[_0x4a181e(0x4ca)][_0x4a181e(0x475)]);if(!_0x5cc1cf||!_0x551df6(_0x5cc1cf,_0x24d59f,{'viewIds':[_0x591ab5],'fieldIds':[_0x27d083]}))return!0x1;let _0x47056d=_0x2d885d[_0x4a181e(0x3c1)](_0x3deeb7[_0x4a181e(0x400)]),_0x41cc35=_0x2d885d[_0x4a181e(0x3c1)](_0x3deeb7[_0x4a181e(0x16d)]),_0x40e3b4=_0x5cc1cf[_0x4a181e(0x21d)](),_0x3a241=new _0x38af97()[_0x4a181e(0x144)](_0x40e3b4,_0x24d59f,_0x591ab5,{'groupFieldId':_0x27d083}),_0x10802c=new _0x162342()['invertOp'](_0x40e3b4,_0x3a241),_0x459a94={'unitId':_0x35f979,'op':_0x3a241},_0x26194d={'unitId':_0x35f979,'op':_0x10802c};return _0x47056d[_0x4a181e(0x4ad)](_0x59ab20['id'],_0x459a94)?(_0x147576[_0x4a181e(0x35b)](_0x35f979),_0x41cc35[_0x4a181e(0x4b1)]({'unitID':_0x35f979,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x26194d}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x459a94}]}),!0x0):!0x1;}},_0x1d3d4a={'id':_0x4e5412(0x3cf),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x17e03b,_0x26a375)=>{const _0x4cb679=_0x4e5412;if(!_0x26a375)return!0x1;let _0x4ff10d=_0x17e03b[_0x4cb679(0x3c1)](_0x3deeb7['IUniverInstanceService']),_0x1b5a69=_0x4ff10d[_0x4cb679(0x14e)](_0x26a375[_0x4cb679(0x129)],_0x3deeb7[_0x4cb679(0x4ca)]['UNIVER_BASE']);if(!_0x1b5a69)return!0x1;let _0x522c77=_0x1b5a69['getSnapshot']()[_0x4cb679(0x1cd)];if(_0x522c77===_0x26a375[_0x4cb679(0x1cd)])return!0x0;let _0x4e6759=new _0x38af97(),_0x2b825d=new _0x162342(),_0x13f7a4=[],_0x388302=[],_0x5cfdfe=[_0x1b5a69,..._0x4ff10d[_0x4cb679(0x3da)](_0x3deeb7['UniverInstanceType'][_0x4cb679(0x475)])['filter'](_0x3e36f8=>_0x3e36f8['getUnitId']()!==_0x26a375['unitId'])];for(let _0x1124d0 of _0x5cfdfe){let _0x2dc154=_0x1124d0[_0x4cb679(0x21d)](),_0x167af8=_0x1124d0===_0x1b5a69?_0x4e6759[_0x4cb679(0x279)](_0x2dc154,_0x26a375[_0x4cb679(0x1cd)]):_0x4e6759[_0x4cb679(0x54b)](_0x2dc154,_0x522c77,_0x26a375[_0x4cb679(0x1cd)]);_0x167af8&&(_0x13f7a4[_0x4cb679(0x296)]({'id':_0x59ab20['id'],'params':{'unitId':_0x1124d0[_0x4cb679(0x413)](),'op':_0x167af8,'trigger':_0x1d3d4a['id']}}),_0x388302[_0x4cb679(0x421)]({'id':_0x59ab20['id'],'params':{'unitId':_0x1124d0[_0x4cb679(0x413)](),'op':_0x2b825d['invertOp'](_0x2dc154,_0x167af8),'trigger':_0x1d3d4a['id']}}));}let _0x2aaad6=_0x17e03b[_0x4cb679(0x3c1)](_0x3deeb7['ICommandService']),_0xb3f72a=_0x17e03b[_0x4cb679(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x1719f3=_0xb3f72a[_0x4cb679(0x17e)](_0x26a375[_0x4cb679(0x129)]);try{return(0x0,_0x3deeb7[_0x4cb679(0x2b1)])(_0x13f7a4,_0x2aaad6)['result']?(_0x4ff10d[_0x4cb679(0x35b)](_0x26a375[_0x4cb679(0x129)]),_0xb3f72a[_0x4cb679(0x4b1)]({'unitID':_0x26a375[_0x4cb679(0x129)],'undoMutations':_0x388302,'redoMutations':_0x13f7a4}),!0x0):!0x1;}finally{_0x1719f3[_0x4cb679(0x390)]();}}},_0x5318dd={'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'id':_0x4e5412(0x4d5),async 'handler'(_0x799699,_0xb9417b){const _0x5018c2=_0x4e5412;if(!_0xb9417b||!_0x107cbb[_0x5018c2(0x1a5)](_0xb9417b[_0x5018c2(0x4e8)])||_0xb9417b['objectId']!==_0xb9417b['unitId']&&_0xb9417b[_0x5018c2(0x4e8)]!==_0x439352['UnitAction'][_0x5018c2(0x4d2)]||_0xb9417b[_0x5018c2(0x3e0)]&&(!['all',_0x5018c2(0x4ac),_0x5018c2(0x2d3)]['includes'](_0xb9417b[_0x5018c2(0x3e0)][_0x5018c2(0x435)])||_0xb9417b['policy'][_0x5018c2(0x1a1)]['some'](_0x419340=>!_0x107cbb[_0x5018c2(0x1a5)](_0x419340[_0x5018c2(0x4e8)])||_0xb9417b[_0x5018c2(0x2e2)]!==_0xb9417b['unitId']&&_0x419340[_0x5018c2(0x4e8)]!==_0x439352['UnitAction'][_0x5018c2(0x4d2)])))return!0x1;let _0x379fff=_0x2132c5(_0xb9417b['unitId'],_0xb9417b[_0x5018c2(0x2e2)],_0xb9417b[_0x5018c2(0x4e8)]),_0x56e039={'unitId':_0xb9417b[_0x5018c2(0x129)],'objectId':_0xb9417b[_0x5018c2(0x2e2)],'objectType':_0x379fff[_0x5018c2(0x3de)]},_0x412962=_0x799699['get'](_0x3deeb7[_0x5018c2(0x393)]);return _0xb9417b['remove']?await _0x412962[_0x5018c2(0x359)](_0x56e039):_0xb9417b['policy']?await _0x412962[_0x5018c2(0x121)](_0x56e039,_0xb9417b[_0x5018c2(0x3e0)]):await _0x412962[_0x5018c2(0x2ed)](_0x56e039,_0x379fff,_0xb9417b['value']),!0x0;}},_0x1d2fbd={'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'id':_0x4e5412(0x554),async 'handler'(_0x30d15e,_0xe0b881){const _0x2223c7=_0x4e5412;if(!(_0xe0b881!=null&&_0xe0b881[_0x2223c7(0x129)])||!Array['isArray'](_0xe0b881[_0x2223c7(0x163)])||!_0xe0b881[_0x2223c7(0x163)][_0x2223c7(0x4b3)]||_0xe0b881[_0x2223c7(0x163)][_0x2223c7(0x3a8)](_0x2e02a0=>!(_0x2e02a0!=null&&_0x2e02a0[_0x2223c7(0x2e2)])||_0x2e02a0[_0x2223c7(0x2e2)]===_0xe0b881['unitId']||_0x2e02a0[_0x2223c7(0x3e0)]!==null&&(!_0x2e02a0['policy']||![_0x2223c7(0x195),_0x2223c7(0x4ac),_0x2223c7(0x2d3)]['includes'](_0x2e02a0[_0x2223c7(0x3e0)][_0x2223c7(0x435)])||!Array[_0x2223c7(0x2a0)](_0x2e02a0[_0x2223c7(0x3e0)][_0x2223c7(0x48a)])||!Array[_0x2223c7(0x2a0)](_0x2e02a0[_0x2223c7(0x3e0)][_0x2223c7(0x1a1)])||_0x2e02a0['policy'][_0x2223c7(0x1a1)][_0x2223c7(0x3a8)](_0x97a54a=>_0x97a54a['action']!==_0x439352[_0x2223c7(0x530)][_0x2223c7(0x4d2)]))))throw Error(_0x2223c7(0x515));return _0x30d15e[_0x2223c7(0x3c1)](_0x3deeb7[_0x2223c7(0x393)])[_0x2223c7(0x10c)](_0xe0b881[_0x2223c7(0x163)]['map'](_0x44ba45=>{const _0x51c661=_0x2223c7;let _0x44411d=_0x2132c5(_0xe0b881[_0x51c661(0x129)],_0x44ba45[_0x51c661(0x2e2)],_0x439352['UnitAction'][_0x51c661(0x4d2)]);return{'unitId':_0xe0b881['unitId'],'objectId':_0x44ba45[_0x51c661(0x2e2)],'objectType':_0x44411d[_0x51c661(0x3de)],'policy':_0x44ba45[_0x51c661(0x3e0)]};}));}};function _0x3ad464(_0x4c5489,_0x4e4814){const _0x626787=_0x4e5412;let _0x140084=_0x3dd317(_0x3deeb7[_0x626787(0x23a)][_0x626787(0x534)](_0x4c5489)),_0x4d6c9e=new Map();return _0x4e4814[_0x626787(0x349)](_0x3dfa61=>{const _0x1c0e9=_0x626787;var _0x5baabf,_0x4676fc;let _0x4b97c0=_0x1c0e9(0x3b0)in _0x3dfa61?_0x3dfa61['recordId']:(_0x5baabf=_0x140084[_0x1c0e9(0x449)])==null?void 0x0:_0x5baabf[_0x3dfa61[_0x1c0e9(0x307)]],_0x3fdc91=_0x1c0e9(0x3d9)in _0x3dfa61?_0x3dfa61[_0x1c0e9(0x3d9)]:(_0x4676fc=_0x140084[_0x1c0e9(0x2b4)])==null?void 0x0:_0x4676fc[_0x3dfa61[_0x1c0e9(0x31f)]],_0x2c2073=_0x3fdc91?_0x140084[_0x1c0e9(0x135)][_0x3fdc91]:void 0x0;if(!_0x4b97c0||!_0x3fdc91||!_0x2c2073||!_0x140084[_0x1c0e9(0x4ce)][_0x4b97c0])return;let _0x860c65=_0x49d873(_0x3dfa61[_0x1c0e9(0x425)],_0x2c2073),_0x5f145c=_0x358f56(_0x3dfa61[_0x1c0e9(0x425)],_0x860c65,_0x2c2073,_0x140084,_0x4b97c0),_0x4eca51=_0x4d6c9e[_0x1c0e9(0x3c1)](_0x4b97c0)??{};_0x4eca51[_0x3fdc91]=_0x5f145c,_0x4d6c9e[_0x1c0e9(0x4b6)](_0x4b97c0,_0x4eca51);}),[..._0x4d6c9e][_0x626787(0x1fd)](([_0x5b153f,_0x1df661])=>({'recordId':_0x5b153f,'values':_0x1df661}));}let _0x2a35f2={'id':'base.command.set-base-range-values','type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x36d1c3,_0x548e46){const _0x145fcb=_0x4e5412;if(!_0x548e46)return!0x1;let _0x569d36=_0x36d1c3[_0x145fcb(0x3c1)](_0x3deeb7['IUniverInstanceService']),{unitId:_0x45c636,tableId:_0x2b58bd,patches:_0x44be08}=_0x548e46,_0x8e898a=_0x569d36[_0x145fcb(0x14e)](_0x45c636,_0x3deeb7[_0x145fcb(0x4ca)][_0x145fcb(0x475)]);if(!_0x8e898a||!_0x551df6(_0x8e898a,_0x2b58bd))return!0x1;let _0x3ba3e0=_0x36d1c3[_0x145fcb(0x3c1)](_0x3deeb7[_0x145fcb(0x400)]),_0x40e8c5=_0x36d1c3['get'](_0x3deeb7[_0x145fcb(0x16d)]),_0x3fdcf5=_0x8e898a[_0x145fcb(0x21d)](),_0xc93112=_0x3dd317(_0x3fdcf5['tables'][_0x2b58bd]),_0x10715f=_0x44be08['map'](_0x40c642=>{const _0x188535=_0x145fcb;var _0x33d0c2;return'recordId'in _0x40c642?_0x40c642[_0x188535(0x3b0)]:(_0x33d0c2=_0xc93112[_0x188535(0x449)])==null?void 0x0:_0x33d0c2[_0x40c642[_0x188535(0x307)]];})[_0x145fcb(0x30d)](_0x56c25b=>_0x56c25b!=null),_0x2dc897=_0x44be08[_0x145fcb(0x1fd)](_0x591ac4=>{const _0x2dca25=_0x145fcb;var _0x44c589;return _0x2dca25(0x3d9)in _0x591ac4?_0x591ac4[_0x2dca25(0x3d9)]:(_0x44c589=_0xc93112[_0x2dca25(0x2b4)])==null?void 0x0:_0x44c589[_0x591ac4[_0x2dca25(0x31f)]];})[_0x145fcb(0x30d)](_0x21bfc2=>_0x21bfc2!=null);if(_0x10715f[_0x145fcb(0x4b3)]!==_0x44be08[_0x145fcb(0x4b3)]||_0x2dc897[_0x145fcb(0x4b3)]!==_0x44be08[_0x145fcb(0x4b3)]||!_0x551df6(_0x8e898a,_0x2b58bd,{'recordIds':_0x10715f,'fieldIds':_0x2dc897})||_0x44be08[_0x145fcb(0x3a8)]((_0x2467be,_0x1fde13)=>!_0x2372c4(_0x8e898a,_0x2b58bd,_0x2dc897[_0x1fde13],_0x2467be[_0x145fcb(0x425)])))return!0x1;let _0x34b16a=_0x50ed89(_0xc93112,_0x3ad464(_0xc93112,_0x44be08)),_0xd9619f=_0x44be08[_0x145fcb(0x27f)](_0x4346c3=>{const _0x5eaf28=_0x145fcb;var _0x52ed8e,_0x54856d;if(_0x5eaf28(0x307)in _0x4346c3)return[_0x4346c3];let _0x1d4ac4=(_0x52ed8e=_0xc93112[_0x5eaf28(0x364)])==null?void 0x0:_0x52ed8e[_0x4346c3['recordId']],_0x1bbd21=(_0x54856d=_0xc93112[_0x5eaf28(0x1fc)])==null?void 0x0:_0x54856d[_0x4346c3['fieldId']];return _0x1d4ac4==null||_0x1bbd21==null?[]:[{'row':_0x1d4ac4,'col':_0x1bbd21,'value':_0x4346c3[_0x5eaf28(0x425)]}];}),_0x50cbea=new _0x38af97()[_0x145fcb(0x3f6)](_0x3fdcf5,_0x2b58bd,_0xd9619f),_0x49ea72=new _0x162342()['invertOp'](_0x3fdcf5,_0x50cbea),_0x3285aa={'unitId':_0x45c636,'op':_0x50cbea,'trigger':_0x34b16a[_0x145fcb(0x4b3)]?_0x2a35f2['id']:void 0x0,'hierarchyChanges':_0x34b16a[_0x145fcb(0x4b3)]?_0x34b16a:void 0x0,'source':_0x34b16a[_0x145fcb(0x4b3)]?_0x145fcb(0x39b):void 0x0},_0x599605={'unitId':_0x45c636,'op':_0x49ea72,'trigger':_0x34b16a[_0x145fcb(0x4b3)]?_0x2a35f2['id']:void 0x0,'hierarchyChanges':_0x34b16a[_0x145fcb(0x4b3)]?_0x34b16a[_0x145fcb(0x1fd)](_0x12b3f6=>({..._0x12b3f6,'oldParentRecordId':_0x12b3f6[_0x145fcb(0x3b7)],'parentRecordId':_0x12b3f6['oldParentRecordId']})):void 0x0,'source':_0x34b16a[_0x145fcb(0x4b3)]?_0x145fcb(0x2c1):void 0x0},_0x3462ec={..._0x3285aa,'source':_0x34b16a[_0x145fcb(0x4b3)]?_0x548e46[_0x145fcb(0x3e3)]??'ui':void 0x0};return _0x3ba3e0[_0x145fcb(0x4ad)](_0x59ab20['id'],_0x3462ec)?(_0x569d36[_0x145fcb(0x35b)](_0x45c636),_0x40e8c5[_0x145fcb(0x4b1)]({'unitID':_0x45c636,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x599605}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x3285aa}]}),!0x0):!0x1;}},_0x300a4c={'id':_0x4e5412(0x156),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler'(_0x473935,_0x48c8a1){const _0x460b13=_0x4e5412;if(!_0x48c8a1)return!0x1;let _0xdb06a9=_0x473935['get'](_0x3deeb7['IUniverInstanceService']),{unitId:_0x425d1d,tableId:_0x13081b,patches:_0xd23ec3}=_0x48c8a1,_0x1b7dd2=_0xdb06a9[_0x460b13(0x14e)](_0x425d1d,_0x3deeb7[_0x460b13(0x4ca)][_0x460b13(0x475)]),_0x327976=_0xd23ec3[_0x460b13(0x1fd)](_0x1fca74=>_0x1fca74[_0x460b13(0x3b0)]),_0x363f06=_0xd23ec3[_0x460b13(0x27f)](_0x482b36=>Object[_0x460b13(0x2e5)](_0x482b36[_0x460b13(0x261)]));if(!_0x1b7dd2||!_0x551df6(_0x1b7dd2,_0x13081b,{'recordIds':_0x327976,'fieldIds':_0x363f06})||_0xd23ec3[_0x460b13(0x3a8)](_0xa25bbd=>Object[_0x460b13(0x26b)](_0xa25bbd[_0x460b13(0x261)])[_0x460b13(0x3a8)](([_0x51270b,_0x8fd9c7])=>!_0x2372c4(_0x1b7dd2,_0x13081b,_0x51270b,_0x8fd9c7))))return!0x1;let _0x2f1a6c=_0x50ed89(_0x1b7dd2['getSnapshot']()[_0x460b13(0x52f)][_0x13081b],_0xd23ec3),_0x48bb9c=_0x473935['get'](_0x3deeb7['ICommandService']),_0x1f7a5e=_0x473935[_0x460b13(0x3c1)](_0x3deeb7[_0x460b13(0x16d)]),_0x40bb47=_0x473935[_0x460b13(0x3c1)](_0x36bcc9)[_0x460b13(0x2c9)](_0x1b7dd2,_0x13081b,_0xd23ec3),_0x5f1ee7=new _0x162342()[_0x460b13(0x2c2)](_0x1b7dd2['getSnapshot'](),_0x40bb47),_0x486c6f={'unitId':_0x425d1d,'op':_0x40bb47,'trigger':_0x2f1a6c['length']?_0x300a4c['id']:void 0x0,'hierarchyChanges':_0x2f1a6c[_0x460b13(0x4b3)]?_0x2f1a6c:void 0x0,'source':_0x2f1a6c[_0x460b13(0x4b3)]?_0x48c8a1[_0x460b13(0x3e3)]??'ui':void 0x0},_0x56f180={..._0x486c6f,'source':_0x2f1a6c['length']?_0x460b13(0x39b):void 0x0},_0x1769be={'unitId':_0x425d1d,'op':_0x5f1ee7,'trigger':_0x2f1a6c['length']?_0x300a4c['id']:void 0x0,'hierarchyChanges':_0x2f1a6c[_0x460b13(0x4b3)]?_0x2f1a6c[_0x460b13(0x1fd)](_0x1c662b=>({..._0x1c662b,'oldParentRecordId':_0x1c662b[_0x460b13(0x3b7)],'parentRecordId':_0x1c662b[_0x460b13(0x28e)]})):void 0x0,'source':_0x2f1a6c[_0x460b13(0x4b3)]?_0x460b13(0x2c1):void 0x0};return _0x48bb9c[_0x460b13(0x4ad)](_0x59ab20['id'],_0x486c6f)?(_0xdb06a9[_0x460b13(0x35b)](_0x425d1d),_0x1f7a5e[_0x460b13(0x4b1)]({'unitID':_0x425d1d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x1769be}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x56f180}]}),!0x0):!0x1;}},_0x3d2629={'id':_0x4e5412(0x4ed),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x2854a6,_0x3605c3)=>{const _0x179408=_0x4e5412;if(!_0x3605c3)return!0x1;let {unitId:_0x7eb902,tableId:_0x2ca9ef,fieldId:_0x5901b5}=_0x3605c3,_0x10d273=_0x2854a6[_0x179408(0x3c1)](_0x3deeb7[_0x179408(0x4b4)]),_0x5bfb47=_0x10d273[_0x179408(0x14e)](_0x7eb902,_0x3deeb7[_0x179408(0x4ca)][_0x179408(0x475)]);if(!_0x5bfb47||!_0x551df6(_0x5bfb47,_0x2ca9ef))return!0x1;let _0xc611a4=_0x5bfb47[_0x179408(0x21d)](),_0x2ba926=_0xc611a4[_0x179408(0x52f)][_0x2ca9ef];if(_0x5901b5!==null&&!_0x29b167(_0x2ba926,_0x5901b5))throw new _0x25ceeb(_0x179408(0x190));if(_0x1e2885(_0x2ba926)===_0x5901b5)return!0x0;let _0x2ee408=new _0x38af97(),_0x72147d=_0x517f41(Object[_0x179408(0x261)](_0x2ba926[_0x179408(0x135)])['flatMap'](_0x52861a=>{const _0xea0f38=_0x179408;if(!_0x29b167(_0x2ba926,_0x52861a['id']))return[];let _0x2c3916=_0x14bbce(_0x52861a);if(!_0x2c3916)return[];let _0x39c1f2=_0x52861a['id']===_0x5901b5;if(_0x2c3916[_0xea0f38(0x182)]===_0x3deeb7[_0xea0f38(0x175)][_0xea0f38(0x1ef)]===_0x39c1f2)return[];let _0x41d8a3={..._0x52861a[_0xea0f38(0x505)],'targetTableId':_0x2c3916[_0xea0f38(0x391)],'multiple':_0x2c3916[_0xea0f38(0x3c0)]};return _0x39c1f2?_0x41d8a3[_0xea0f38(0x182)]=_0x3deeb7[_0xea0f38(0x175)][_0xea0f38(0x1ef)]:delete _0x41d8a3[_0xea0f38(0x182)],[_0x2ee408[_0xea0f38(0x1ec)](_0xc611a4,_0x2ca9ef,_0x52861a['id'],{'config':_0x41d8a3})];})),_0x5872e8=new _0x162342()['invertOp'](_0xc611a4,_0x72147d),_0x56c6d3={'unitId':_0x7eb902,'op':_0x72147d},_0x3b2b5e={'unitId':_0x7eb902,'op':_0x5872e8};return _0x2854a6['get'](_0x3deeb7[_0x179408(0x400)])[_0x179408(0x4ad)](_0x59ab20['id'],_0x56c6d3)?(_0x10d273[_0x179408(0x35b)](_0x7eb902),_0x2854a6[_0x179408(0x3c1)](_0x3deeb7[_0x179408(0x16d)])[_0x179408(0x4b1)]({'unitID':_0x7eb902,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x3b2b5e}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x56c6d3}]}),!0x0):!0x1;}},_0x32d27e={'id':_0x4e5412(0x3b4),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x4287e7,_0x2508f4)=>{const _0x5c1259=_0x4e5412;if(!_0x2508f4)return!0x1;let _0x4f0242=_0x4287e7[_0x5c1259(0x3c1)](_0x3deeb7['IUniverInstanceService']),{unitId:_0x141f5d,tableId:_0x3add34,viewId:_0x40097d,fieldId:_0x6d50cb,target:_0x32f52f}=_0x2508f4,_0x4b0a1f=_0x4f0242[_0x5c1259(0x14e)](_0x141f5d,_0x3deeb7[_0x5c1259(0x4ca)][_0x5c1259(0x475)]),_0x2725b8=_0x32f52f[_0x5c1259(0x179)]??_0x32f52f[_0x5c1259(0x39e)];if(!_0x4b0a1f||!_0x2725b8||_0x2725b8===_0x6d50cb||!_0x551df6(_0x4b0a1f,_0x3add34,{'viewIds':[_0x40097d],'fieldIds':[_0x6d50cb,_0x2725b8]}))return!0x1;let _0x98c89c=_0x4b0a1f[_0x5c1259(0x21d)]()[_0x5c1259(0x52f)][_0x3add34],_0x41cb47=_0x98c89c[_0x5c1259(0x135)][_0x6d50cb],_0x537ec0=_0x98c89c[_0x5c1259(0x135)][_0x2725b8];if(_0x41cb47[_0x5c1259(0x41e)]===!0x0||_0x41cb47['type']===_0x3deeb7[_0x5c1259(0x16c)][_0x5c1259(0x444)]||_0x537ec0[_0x5c1259(0x41e)]===!0x0||_0x537ec0[_0x5c1259(0x3de)]===_0x3deeb7[_0x5c1259(0x16c)][_0x5c1259(0x444)])return!0x1;let _0x178f11=_0x4287e7[_0x5c1259(0x3c1)](_0x3deeb7[_0x5c1259(0x400)]),_0x3e509e=_0x4287e7[_0x5c1259(0x3c1)](_0x3deeb7[_0x5c1259(0x16d)]),_0x32e067=_0x4b0a1f[_0x5c1259(0x21d)](),_0x4d87fe=new _0x38af97()[_0x5c1259(0x13f)](_0x32e067,_0x3add34,_0x40097d,_0x6d50cb,_0x32f52f),_0x1f5f05=new _0x162342()['invertOp'](_0x32e067,_0x4d87fe),_0x55af8a={'unitId':_0x141f5d,'op':_0x4d87fe},_0x16743a={'unitId':_0x141f5d,'op':_0x1f5f05};return _0x178f11['syncExecuteCommand'](_0x59ab20['id'],_0x55af8a)?(_0x4f0242['focusUnit'](_0x141f5d),_0x3e509e['pushUndoRedo']({'unitID':_0x141f5d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x16743a}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x55af8a}]}),!0x0):!0x1;}},_0x389f1a={'id':_0x4e5412(0x518),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler'(_0x4394a5,_0x3f7107){const _0x5b5fca=_0x4e5412;if(!_0x3f7107)return!0x1;let _0x56876f=_0x4394a5[_0x5b5fca(0x3c1)](_0x3deeb7[_0x5b5fca(0x4b4)]),{unitId:_0x4e2880,tableId:_0x4c63d4,viewId:_0x40c984,fieldId:_0x518030,visible:_0x32149a}=_0x3f7107,_0xd931f1=_0x56876f[_0x5b5fca(0x14e)](_0x4e2880,_0x3deeb7[_0x5b5fca(0x4ca)][_0x5b5fca(0x475)]);if(!_0xd931f1||!_0x551df6(_0xd931f1,_0x4c63d4,{'viewIds':[_0x40c984],'fieldIds':[_0x518030]}))return!0x1;let _0x32b3b1=_0xd931f1['getSnapshot']()[_0x5b5fca(0x52f)][_0x4c63d4]['fields'][_0x518030];if(_0x32b3b1[_0x5b5fca(0x41e)]===!0x0||_0x32b3b1[_0x5b5fca(0x3de)]===_0x3deeb7[_0x5b5fca(0x16c)][_0x5b5fca(0x444)])return!0x1;let _0x54010c=_0x4394a5['get'](_0x3deeb7['ICommandService']),_0x4a6fd5=_0x4394a5[_0x5b5fca(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x2e155d=_0xd931f1[_0x5b5fca(0x21d)](),_0x1bb48d=new _0x38af97()[_0x5b5fca(0x532)](_0x2e155d,_0x4c63d4,_0x40c984,_0x518030,_0x32149a),_0x1b1e69=new _0x162342()['invertOp'](_0x2e155d,_0x1bb48d),_0x37bdf6={'unitId':_0x4e2880,'op':_0x1bb48d},_0x2a3ca9={'unitId':_0x4e2880,'op':_0x1b1e69};return _0x54010c[_0x5b5fca(0x4ad)](_0x59ab20['id'],_0x37bdf6)?(_0x56876f['focusUnit'](_0x4e2880),_0x4a6fd5['pushUndoRedo']({'unitID':_0x4e2880,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x2a3ca9}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x37bdf6}]}),!0x0):!0x1;}},_0x5acb19={'id':'base.command.set-base-view-field-width','type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x3ea317,_0x209dcf)=>{const _0x63f65b=_0x4e5412;if(!_0x209dcf)return!0x1;let _0xa89dbb=_0x3ea317['get'](_0x3deeb7[_0x63f65b(0x4b4)]),{unitId:_0xbb67da,tableId:_0x2a85ba,viewId:_0x5261b9,fieldId:_0x310931,width:_0x11ab78}=_0x209dcf,_0x4c51d7=_0xa89dbb[_0x63f65b(0x14e)](_0xbb67da,_0x3deeb7[_0x63f65b(0x4ca)][_0x63f65b(0x475)]);if(!_0x4c51d7||!_0x551df6(_0x4c51d7,_0x2a85ba,{'viewIds':[_0x5261b9],'fieldIds':[_0x310931]}))return!0x1;let _0x531dd1=_0x4c51d7[_0x63f65b(0x21d)]()[_0x63f65b(0x52f)][_0x2a85ba]['fields'][_0x310931];if(_0x531dd1[_0x63f65b(0x41e)]===!0x0||_0x531dd1['type']===_0x3deeb7[_0x63f65b(0x16c)][_0x63f65b(0x444)])return!0x1;let _0x257bf6=_0x3ea317[_0x63f65b(0x3c1)](_0x3deeb7[_0x63f65b(0x400)]),_0x2be301=_0x3ea317[_0x63f65b(0x3c1)](_0x3deeb7[_0x63f65b(0x16d)]),_0x195b94=_0x4c51d7[_0x63f65b(0x21d)](),_0x787c94=new _0x38af97()[_0x63f65b(0x334)](_0x195b94,_0x2a85ba,_0x5261b9,_0x310931,_0x11ab78),_0x32d69c=new _0x162342()[_0x63f65b(0x2c2)](_0x195b94,_0x787c94),_0x2d19d1={'unitId':_0xbb67da,'op':_0x787c94},_0x32b2d6={'unitId':_0xbb67da,'op':_0x32d69c};return _0x257bf6['syncExecuteCommand'](_0x59ab20['id'],_0x2d19d1)?(_0xa89dbb['focusUnit'](_0xbb67da),_0x2be301[_0x63f65b(0x4b1)]({'unitID':_0xbb67da,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x32b2d6}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x2d19d1}]}),!0x0):!0x1;}},_0x3d1a8b={'id':_0x4e5412(0x1c6),'type':_0x3deeb7['CommandType']['COMMAND'],'handler':(_0x53d269,_0x41f9c8)=>{const _0x233ae4=_0x4e5412;if(!_0x41f9c8)return!0x1;let _0x245992=_0x53d269['get'](_0x3deeb7[_0x233ae4(0x4b4)]),{unitId:_0x219c3d,tableId:_0x4603f1,viewId:_0x52a86a,filter:_0x1175ce}=_0x41f9c8,_0x3ac555=_0x245992[_0x233ae4(0x14e)](_0x219c3d,_0x3deeb7['UniverInstanceType']['UNIVER_BASE']),_0x13d9b7=(_0x1175ce==null?void 0x0:_0x1175ce[_0x233ae4(0x433)]['map'](_0x1d0942=>_0x1d0942[_0x233ae4(0x3d9)]))??[];if(!_0x3ac555||!_0x551df6(_0x3ac555,_0x4603f1,{'viewIds':[_0x52a86a],'fieldIds':_0x13d9b7}))return!0x1;let _0x151e8d=_0x53d269[_0x233ae4(0x3c1)](_0x3deeb7[_0x233ae4(0x400)]),_0x156df9=_0x53d269[_0x233ae4(0x3c1)](_0x3deeb7[_0x233ae4(0x16d)]),_0xa9c6cf=_0x3ac555[_0x233ae4(0x21d)](),_0x465ff5=new _0x38af97()[_0x233ae4(0x313)](_0xa9c6cf,_0x4603f1,_0x52a86a,_0x1175ce),_0x138796=new _0x162342()[_0x233ae4(0x2c2)](_0xa9c6cf,_0x465ff5),_0x521b5b={'unitId':_0x219c3d,'op':_0x465ff5},_0x38cdff={'unitId':_0x219c3d,'op':_0x138796};return _0x151e8d[_0x233ae4(0x4ad)](_0x59ab20['id'],_0x521b5b)?(_0x245992[_0x233ae4(0x35b)](_0x219c3d),_0x156df9[_0x233ae4(0x4b1)]({'unitID':_0x219c3d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x38cdff}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x521b5b}]}),!0x0):!0x1;}},_0x38a598={'id':_0x4e5412(0x3b5),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x51adbf,_0x1be6d3)=>{const _0x505db3=_0x4e5412;if(!_0x1be6d3)return!0x1;let _0x4df5a8=_0x51adbf[_0x505db3(0x3c1)](_0x3deeb7[_0x505db3(0x4b4)]),{unitId:_0x19313d,tableId:_0x207d58,viewId:_0x266f1f,group:_0x32cac8}=_0x1be6d3,_0x7eb8e6=_0x4df5a8['getUnit'](_0x19313d,_0x3deeb7[_0x505db3(0x4ca)]['UNIVER_BASE']);if(!_0x7eb8e6||!_0x551df6(_0x7eb8e6,_0x207d58,{'viewIds':[_0x266f1f],'fieldIds':_0x32cac8['map'](_0x227739=>_0x227739[_0x505db3(0x3d9)])}))return!0x1;let _0x394e8f=_0x51adbf[_0x505db3(0x3c1)](_0x3deeb7[_0x505db3(0x400)]),_0x168622=_0x51adbf[_0x505db3(0x3c1)](_0x3deeb7[_0x505db3(0x16d)]),_0x2bf96b=_0x7eb8e6[_0x505db3(0x21d)](),_0x4b0390=new _0x38af97()['setViewGroup'](_0x2bf96b,_0x207d58,_0x266f1f,_0x32cac8),_0x3f68c1=new _0x162342()[_0x505db3(0x2c2)](_0x2bf96b,_0x4b0390),_0x1a50f8={'unitId':_0x19313d,'op':_0x4b0390},_0x31da8e={'unitId':_0x19313d,'op':_0x3f68c1};return _0x394e8f['syncExecuteCommand'](_0x59ab20['id'],_0x1a50f8)?(_0x4df5a8['focusUnit'](_0x19313d),_0x168622[_0x505db3(0x4b1)]({'unitID':_0x19313d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x31da8e}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x1a50f8}]}),!0x0):!0x1;}},_0x206f01={'id':_0x4e5412(0x3cb),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler':(_0x1f74fc,_0x130d84)=>{const _0x41a417=_0x4e5412;if(!_0x130d84)return!0x1;let _0x404162=_0x1f74fc[_0x41a417(0x3c1)](_0x3deeb7[_0x41a417(0x4b4)]),{unitId:_0x39edd0,tableId:_0x3a2755,viewId:_0x4a0f7b,sort:_0x3bf3d7}=_0x130d84,_0x2c269c=_0x404162['getUnit'](_0x39edd0,_0x3deeb7[_0x41a417(0x4ca)][_0x41a417(0x475)]);if(!_0x2c269c||!_0x551df6(_0x2c269c,_0x3a2755,{'viewIds':[_0x4a0f7b],'fieldIds':_0x3bf3d7[_0x41a417(0x1fd)](_0x4bddb6=>_0x4bddb6['fieldId'])}))return!0x1;let _0x10b1a2=_0x1f74fc[_0x41a417(0x3c1)](_0x3deeb7[_0x41a417(0x400)]),_0x16fa82=_0x1f74fc[_0x41a417(0x3c1)](_0x3deeb7[_0x41a417(0x16d)]),_0x263dfb=_0x2c269c[_0x41a417(0x21d)](),_0x432eba=new _0x38af97()['setViewSort'](_0x263dfb,_0x3a2755,_0x4a0f7b,_0x3bf3d7),_0xb8ccf8=new _0x162342()['invertOp'](_0x263dfb,_0x432eba),_0x23d041={'unitId':_0x39edd0,'op':_0x432eba},_0x4db7f5={'unitId':_0x39edd0,'op':_0xb8ccf8};return _0x10b1a2[_0x41a417(0x4ad)](_0x59ab20['id'],_0x23d041)?(_0x404162[_0x41a417(0x35b)](_0x39edd0),_0x16fa82['pushUndoRedo']({'unitID':_0x39edd0,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x4db7f5}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x23d041}]}),!0x0):!0x1;}},_0x564789={'id':_0x4e5412(0x1e8),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler'(_0x233090,_0xb359f3){const _0x36a532=_0x4e5412;if(!_0xb359f3)return!0x1;let _0x16b327=_0x233090[_0x36a532(0x3c1)](_0x3deeb7[_0x36a532(0x4b4)]),{unitId:_0x57876a,tableId:_0x1d5bdf,recordId:_0x3b8b16,fieldId:_0x3a0294,value:_0x42c63f}=_0xb359f3,_0x1fa7ad=_0x16b327[_0x36a532(0x14e)](_0x57876a,_0x3deeb7[_0x36a532(0x4ca)]['UNIVER_BASE']);if(!_0x1fa7ad||!_0x551df6(_0x1fa7ad,_0x1d5bdf,{'recordIds':[_0x3b8b16],'fieldIds':[_0x3a0294]})||!_0x2372c4(_0x1fa7ad,_0x1d5bdf,_0x3a0294,_0x42c63f))return!0x1;let _0x272977=_0x1fa7ad[_0x36a532(0x21d)]()['tables'][_0x1d5bdf],_0x20808e=_0x29b167(_0x272977,_0x3a0294)&&_0x162d8c(_0x272977)[_0x36a532(0x1a5)](_0x3a0294),_0x4090af=_0x20808e?_0x385429(_0x272977,_0x3a0294):null,_0x3fc2d7=(_0x4090af==null?void 0x0:_0x4090af[_0x36a532(0x1f3)][_0x36a532(0x3c1)](_0x3b8b16))??null,_0x56e4ef=_0x20808e?_0x42b54d(_0x42c63f)[0x0]??null:null;if(_0x4090af){if(_0x56e4ef&&!_0x272977[_0x36a532(0x4ce)][_0x56e4ef])throw new _0x25ceeb(_0x36a532(0x412));let _0x1cc0bf=_0x2644d5(_0x4090af,_0x3b8b16,_0x56e4ef);if(!_0x1cc0bf[_0x36a532(0x236)])throw new _0x25ceeb(_0x1cc0bf['reason']===_0x3deeb7[_0x36a532(0x11f)][_0x36a532(0x1df)]?_0x36a532(0x16a):_0x1cc0bf[_0x36a532(0x4df)]===_0x3deeb7[_0x36a532(0x11f)][_0x36a532(0x56a)]?_0x36a532(0x503):_0x36a532(0x4c9));}let _0x9afbab=_0x233090[_0x36a532(0x3c1)](_0x3deeb7['ICommandService']),_0x982ea6=_0x233090[_0x36a532(0x3c1)](_0x3deeb7['IUndoRedoService']),_0x464d44=_0x233090[_0x36a532(0x3c1)](_0x36bcc9),_0x524d36;try{_0x524d36=_0x464d44[_0x36a532(0x3fa)](_0x1fa7ad,_0x1d5bdf,_0x3b8b16,_0x3a0294,_0x42c63f);}catch(_0x35c873){return console[_0x36a532(0x4dc)](_0x36a532(0x397),_0x35c873),!0x1;}let _0x2b17f9=new _0x162342()[_0x36a532(0x2c2)](_0x1fa7ad['getSnapshot'](),_0x524d36),_0x5164fd=_0x20808e&&_0x3fc2d7!==_0x56e4ef?[{'tableId':_0x1d5bdf,'fieldId':_0x3a0294,'recordId':_0x3b8b16,'oldParentRecordId':_0x3fc2d7,'parentRecordId':_0x56e4ef}]:void 0x0,_0xfc5a98={'unitId':_0x57876a,'op':_0x524d36,'trigger':_0x5164fd?_0x564789['id']:void 0x0,'hierarchyChanges':_0x5164fd,'source':_0x5164fd?_0xb359f3[_0x36a532(0x3e3)]??'ui':void 0x0},_0xe2aad0={..._0xfc5a98,'source':_0x5164fd?_0x36a532(0x39b):void 0x0},_0xe68641={'unitId':_0x57876a,'op':_0x2b17f9,'trigger':_0x5164fd?_0x564789['id']:void 0x0,'hierarchyChanges':_0x5164fd==null?void 0x0:_0x5164fd[_0x36a532(0x1fd)](_0x3246f9=>({..._0x3246f9,'oldParentRecordId':_0x3246f9[_0x36a532(0x3b7)],'parentRecordId':_0x3246f9[_0x36a532(0x28e)]})),'source':_0x5164fd?_0x36a532(0x2c1):void 0x0};return _0x9afbab[_0x36a532(0x4ad)](_0x59ab20['id'],_0xfc5a98)?(_0x16b327['focusUnit'](_0x57876a),_0x982ea6['pushUndoRedo']({'unitID':_0x57876a,'undoMutations':[{'id':_0x59ab20['id'],'params':_0xe68641}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0xe2aad0}]}),!0x0):!0x1;}},_0x25bd9d={'id':_0x4e5412(0x3b9),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler'(_0x1404b9,_0x1ae49d){const _0x4f00d0=_0x4e5412;if(!_0x1ae49d)return!0x1;let _0x3fc1d7=_0x1404b9[_0x4f00d0(0x3c1)](_0x3deeb7[_0x4f00d0(0x4b4)]),{unitId:_0x33114b,tableId:_0x590b12,fieldId:_0x149cc9}=_0x1ae49d,_0xca861a=_0x3fc1d7[_0x4f00d0(0x14e)](_0x33114b,_0x3deeb7[_0x4f00d0(0x4ca)][_0x4f00d0(0x475)]);if(!_0xca861a||!_0x551df6(_0xca861a,_0x590b12,{'fieldIds':[_0x149cc9]}))return!0x1;let _0x23647d=_0x1404b9[_0x4f00d0(0x3c1)](_0x3deeb7['ICommandService']),_0x17d5c9=_0x1404b9[_0x4f00d0(0x3c1)](_0x3deeb7[_0x4f00d0(0x16d)]),_0x1f7bd4=_0xca861a[_0x4f00d0(0x21d)](),_0x2e2b0d=_0x1ae49d[_0x4f00d0(0x339)]['trim'](),_0x93f0de=new _0x38af97()[_0x4f00d0(0x1ec)](_0x1f7bd4,_0x590b12,_0x149cc9,{'description':_0x2e2b0d}),_0x1b396b=new _0x162342()[_0x4f00d0(0x2c2)](_0xca861a['getSnapshot'](),_0x93f0de),_0xcec547={'unitId':_0x33114b,'op':_0x93f0de},_0x42c46b={'unitId':_0x33114b,'op':_0x1b396b};return _0x23647d[_0x4f00d0(0x4ad)](_0x59ab20['id'],_0xcec547)?(_0x3fc1d7[_0x4f00d0(0x35b)](_0x33114b),_0x17d5c9[_0x4f00d0(0x4b1)]({'unitID':_0x33114b,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x42c46b}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0xcec547}]}),!0x0):!0x1;}},_0x47cf80={'id':_0x4e5412(0x210),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x3228a1,_0x472370)=>{const _0x1339dc=_0x4e5412;if(!_0x472370)return!0x1;let _0x2d1c90=_0x3228a1[_0x1339dc(0x3c1)](_0x3deeb7[_0x1339dc(0x4b4)]),{unitId:_0x1ee1b0,tableId:_0x139d63,fieldId:_0x3442f0,patch:_0x459c76}=_0x472370,_0x554f21=_0x2d1c90[_0x1339dc(0x14e)](_0x1ee1b0,_0x3deeb7[_0x1339dc(0x4ca)][_0x1339dc(0x475)]);if(!_0x554f21||_0x3442f0===_0x3deeb7['BASE_RECORD_ID_FIELD_ID']||!_0x551df6(_0x554f21,_0x139d63,{'fieldIds':[_0x3442f0]}))return!0x1;let _0x1d2a34=_0x3228a1[_0x1339dc(0x3c1)](_0x3deeb7['ICommandService']),_0x37c515=_0x3228a1['get'](_0x3deeb7[_0x1339dc(0x16d)]),_0x2f2ebe=_0x554f21[_0x1339dc(0x21d)]();if(!_0x62d201(_0x554f21,_0x139d63,{..._0x2f2ebe[_0x1339dc(0x52f)][_0x139d63][_0x1339dc(0x135)][_0x3442f0],..._0x459c76}))return!0x1;let _0x24ad48=new _0x38af97()['updateField'](_0x2f2ebe,_0x139d63,_0x3442f0,_0x459c76),_0x41c535=new _0x162342()[_0x1339dc(0x2c2)](_0x2f2ebe,_0x24ad48),_0x3c55e7={'unitId':_0x1ee1b0,'op':_0x24ad48},_0x2bf262={'unitId':_0x1ee1b0,'op':_0x41c535};return _0x1d2a34[_0x1339dc(0x4ad)](_0x59ab20['id'],_0x3c55e7)?(_0x2d1c90[_0x1339dc(0x35b)](_0x1ee1b0),_0x37c515[_0x1339dc(0x4b1)]({'unitID':_0x1ee1b0,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x2bf262}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x3c55e7}]}),!0x0):!0x1;}},_0x1de8c6={'id':_0x4e5412(0x4fa),'type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x268032,_0x54a1ad)=>{const _0x543028=_0x4e5412;if(!_0x54a1ad)return!0x1;let _0x561010=_0x268032[_0x543028(0x3c1)](_0x3deeb7['IUniverInstanceService']),{unitId:_0x1c3a26,tableId:_0x3b1835,viewId:_0x102a2d,patch:_0xd988cc}=_0x54a1ad,_0x38ffe0=_0x561010[_0x543028(0x14e)](_0x1c3a26,_0x3deeb7['UniverInstanceType'][_0x543028(0x475)]);if(!_0x38ffe0||!_0x551df6(_0x38ffe0,_0x3b1835,{'viewIds':[_0x102a2d]}))return!0x1;let _0x4fb4d3=_0x268032[_0x543028(0x3c1)](_0x3deeb7[_0x543028(0x400)]),_0xc68c6=_0x268032[_0x543028(0x3c1)](_0x3deeb7[_0x543028(0x16d)]),_0x4d15df=_0x38ffe0[_0x543028(0x21d)](),_0x282784=new _0x38af97()[_0x543028(0x144)](_0x4d15df,_0x3b1835,_0x102a2d,_0xd988cc),_0x19add2=new _0x162342()[_0x543028(0x2c2)](_0x4d15df,_0x282784),_0x455a83={'unitId':_0x1c3a26,'op':_0x282784},_0x178a93={'unitId':_0x1c3a26,'op':_0x19add2};return _0x4fb4d3[_0x543028(0x4ad)](_0x59ab20['id'],_0x455a83)?(_0x561010[_0x543028(0x35b)](_0x1c3a26),_0xc68c6[_0x543028(0x4b1)]({'unitID':_0x1c3a26,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x178a93}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x455a83}]}),!0x0):!0x1;}},_0xe6d8f={'id':_0x4e5412(0x47a),'type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x39406e,_0x145bba)=>{const _0x579f88=_0x4e5412;if(!_0x145bba)return!0x1;let _0x1917ac=_0x39406e['get'](_0x3deeb7[_0x579f88(0x4b4)]),{unitId:_0x46fc6d,tableId:_0x1f4fef,recordId:_0x461466,orderKey:_0x5d3c93}=_0x145bba,_0xd1f3d7=_0x1917ac[_0x579f88(0x14e)](_0x46fc6d,_0x3deeb7[_0x579f88(0x4ca)]['UNIVER_BASE']);if(!_0xd1f3d7||!_0x551df6(_0xd1f3d7,_0x1f4fef,{'recordIds':[_0x461466]}))return!0x1;let _0x200a41=_0x39406e[_0x579f88(0x3c1)](_0x3deeb7[_0x579f88(0x400)]),_0x1e5527=_0x39406e[_0x579f88(0x3c1)](_0x3deeb7[_0x579f88(0x16d)]),_0x267d37=_0xd1f3d7[_0x579f88(0x21d)](),_0x2af001=new _0x38af97()[_0x579f88(0x19f)](_0x267d37,_0x1f4fef,_0x461466,_0x5d3c93),_0x2626ee=new _0x162342()[_0x579f88(0x2c2)](_0x267d37,_0x2af001),_0x1775df={'unitId':_0x46fc6d,'op':_0x2af001},_0x44f631={'unitId':_0x46fc6d,'op':_0x2626ee};return _0x200a41[_0x579f88(0x4ad)](_0x59ab20['id'],_0x1775df)?(_0x1917ac[_0x579f88(0x35b)](_0x46fc6d),_0x1e5527[_0x579f88(0x4b1)]({'unitID':_0x46fc6d,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x44f631}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x1775df}]}),!0x0):!0x1;}},_0x47c8e9=function(_0x1efd33){const _0x435b5a=_0x4e5412;return _0x1efd33[_0x435b5a(0x46f)]=_0x435b5a(0x4b6),_0x1efd33[_0x435b5a(0x367)]=_0x435b5a(0x2af),_0x1efd33[_0x435b5a(0x4d9)]='delete',_0x1efd33[_0x435b5a(0x47b)]=_0x435b5a(0x40e),_0x1efd33;}({}),_0x1360a3={'id':'base.command.update-base-view-conditional-color-rules','type':_0x3deeb7[_0x4e5412(0x3cc)]['COMMAND'],'handler':(_0x6736ad,_0x29663a)=>{const _0x8b858e=_0x4e5412;var _0x4c44f7;if(!_0x29663a)return!0x1;let _0x4df727=_0x6736ad['get'](_0x3deeb7[_0x8b858e(0x4b4)]),_0xaef94f=_0x4df727[_0x8b858e(0x14e)](_0x29663a[_0x8b858e(0x129)],_0x3deeb7[_0x8b858e(0x4ca)][_0x8b858e(0x475)]);if(!_0xaef94f||!_0x551df6(_0xaef94f,_0x29663a[_0x8b858e(0x4fe)],{'viewIds':[_0x29663a['viewId']]}))return!0x1;let _0xda5782=_0xaef94f[_0x8b858e(0x21d)](),_0x1c16a9=_0xda5782['tables'][_0x29663a[_0x8b858e(0x4fe)]],_0x3f80f6=_0xf3dba8(((_0x4c44f7=_0x1c16a9[_0x8b858e(0x3d0)][_0x29663a[_0x8b858e(0x18c)]][_0x8b858e(0x505)][_0x8b858e(0x214)])==null?void 0x0:_0x4c44f7[_0x8b858e(0x297)])??[],_0x29663a);if(!_0x3f80f6)return!0x1;_0x2d9f9c(_0x1c16a9,_0x3f80f6);let _0x19f5e2=new _0x38af97()[_0x8b858e(0x144)](_0xda5782,_0x29663a[_0x8b858e(0x4fe)],_0x29663a[_0x8b858e(0x18c)],{'conditionalColoring':_0x3f80f6[_0x8b858e(0x4b3)]?{'rules':_0x3f80f6}:null}),_0x251e66=new _0x162342()[_0x8b858e(0x2c2)](_0xda5782,_0x19f5e2),_0x23409b={'unitId':_0x29663a['unitId'],'op':_0x19f5e2},_0x438536={'unitId':_0x29663a[_0x8b858e(0x129)],'op':_0x251e66};return _0x6736ad[_0x8b858e(0x3c1)](_0x3deeb7[_0x8b858e(0x400)])[_0x8b858e(0x4ad)](_0x59ab20['id'],_0x23409b)?(_0x4df727[_0x8b858e(0x35b)](_0x29663a[_0x8b858e(0x129)]),_0x6736ad[_0x8b858e(0x3c1)](_0x3deeb7[_0x8b858e(0x16d)])['pushUndoRedo']({'unitID':_0x29663a[_0x8b858e(0x129)],'undoMutations':[{'id':_0x59ab20['id'],'params':_0x438536}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x23409b}]}),!0x0):!0x1;}};function _0xf3dba8(_0x1cabec,_0xfe4ea7){const _0x1610ee=_0x4e5412;switch(_0xfe4ea7[_0x1610ee(0x3de)]){case _0x1610ee(0x4b6):return _0x3deeb7[_0x1610ee(0x23a)]['deepClone'](_0xfe4ea7['rules']);case _0x1610ee(0x2af):return[..._0x3deeb7[_0x1610ee(0x23a)][_0x1610ee(0x534)](_0x1cabec),_0x3deeb7[_0x1610ee(0x23a)]['deepClone'](_0xfe4ea7[_0x1610ee(0x134)])];case _0x1610ee(0x566):{let _0x36b5dc=_0x1cabec[_0x1610ee(0x30d)](_0x5b2362=>_0x5b2362['id']!==_0xfe4ea7[_0x1610ee(0x31c)]);return _0x36b5dc[_0x1610ee(0x4b3)]===_0x1cabec[_0x1610ee(0x4b3)]?null:_0x3deeb7[_0x1610ee(0x23a)][_0x1610ee(0x534)](_0x36b5dc);}case'clear':return _0x1cabec['length']?[]:null;}}function _0x2d9f9c(_0x12472e,_0x590f97){const _0x4f3107=_0x4e5412;if(!Array[_0x4f3107(0x2a0)](_0x590f97))throw TypeError(_0x4f3107(0x186));let _0x218484=new Set();for(let [_0x510274,_0x311f22]of _0x590f97[_0x4f3107(0x26b)]())_0x575997(_0x12472e,_0x311f22,_0x2eb366(_0x311f22,_0x510274,_0x218484));}function _0x2eb366(_0xa1eb22,_0x155329,_0x140ffb){const _0x1ffec1=_0x4e5412;if(!_0xa1eb22||typeof _0xa1eb22!=_0x1ffec1(0x30b))throw TypeError(_0x1ffec1(0x2a9)+_0x155329+_0x1ffec1(0x2ca));let _0x55d751=typeof _0xa1eb22['id']==_0x1ffec1(0x3d4)&&_0xa1eb22['id']['trim']()?'\x22'+_0xa1eb22['id']+'\x22':_0x1ffec1(0x403)+_0x155329;if(typeof _0xa1eb22['id']!=_0x1ffec1(0x3d4)||!_0xa1eb22['id']['trim']())throw Error(_0x1ffec1(0x34e)+_0x55d751+_0x1ffec1(0x4d0));if(_0x140ffb[_0x1ffec1(0x10f)](_0xa1eb22['id']))throw Error(_0x1ffec1(0x266)+_0xa1eb22['id']+'\x22.');_0x140ffb['add'](_0xa1eb22['id']);let _0x2ee7a8=typeof _0xa1eb22[_0x1ffec1(0x1cf)]==_0x1ffec1(0x3d4)&&_0xa1eb22[_0x1ffec1(0x1cf)][_0x1ffec1(0x2de)]()?new _0x3deeb7[(_0x1ffec1(0x483))](_0xa1eb22[_0x1ffec1(0x1cf)]):null;if(!(_0x2ee7a8!=null&&_0x2ee7a8[_0x1ffec1(0x43a)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x55d751+_0x1ffec1(0x172));return _0x55d751;}function _0x575997(_0x2383a3,_0x4cb6fd,_0x1c45c3){const _0xc6f530=_0x4e5412;let _0x534803=new Set(Object[_0xc6f530(0x261)](_0x3deeb7['BaseConditionalColorTarget'])),_0x39c225=new Set(Object[_0xc6f530(0x261)](_0x3deeb7['BaseConditionalColorOperator'])),_0x5aa186=new Set(Object['values'](_0x3deeb7['BaseConditionalDateMode']));if(!_0x534803[_0xc6f530(0x10f)](_0x4cb6fd[_0xc6f530(0x37e)]))throw Error(_0xc6f530(0x34e)+_0x1c45c3+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x4cb6fd[_0xc6f530(0x37e)])+'\x22.');let _0x29eab3=typeof _0x4cb6fd['fieldId']==_0xc6f530(0x3d4)?_0x2383a3['fields'][_0x4cb6fd[_0xc6f530(0x3d9)]]:void 0x0;if(!_0x29eab3||_0x29eab3[_0xc6f530(0x41e)]===!0x0||_0x29eab3[_0xc6f530(0x3de)]===_0x3deeb7[_0xc6f530(0x16c)]['RecordId'])throw Error(_0xc6f530(0x34e)+_0x1c45c3+_0xc6f530(0x374)+String(_0x4cb6fd[_0xc6f530(0x3d9)])+'\x22.');if(!_0x39c225['has'](_0x4cb6fd[_0xc6f530(0x3f5)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1c45c3+_0xc6f530(0x1f8)+String(_0x4cb6fd['operator'])+'\x22.');if(_0x4cb6fd[_0xc6f530(0x29e)]!==void 0x0&&!_0x5aa186[_0xc6f530(0x10f)](_0x4cb6fd[_0xc6f530(0x29e)]))throw Error(_0xc6f530(0x34e)+_0x1c45c3+_0xc6f530(0x304)+String(_0x4cb6fd[_0xc6f530(0x29e)])+'\x22.');if(_0x4cb6fd[_0xc6f530(0x37e)]===_0x3deeb7[_0xc6f530(0x3f2)][_0xc6f530(0x453)])return;let _0x73e891=_0x49c54e(_0x29eab3[_0xc6f530(0x3de)]);if(!_0x73e891[_0xc6f530(0x1a5)](_0x4cb6fd['operator']))throw Error(_0xc6f530(0x34e)+_0x1c45c3+_0xc6f530(0x55e)+_0x4cb6fd[_0xc6f530(0x3f5)]+_0xc6f530(0x487)+_0x29eab3['type']+_0xc6f530(0x224)+_0x73e891[_0xc6f530(0x289)](',\x20')+'.');if(_0x4cb6fd[_0xc6f530(0x29e)]!==void 0x0&&!_0xff60f(_0x29eab3[_0xc6f530(0x3de)]))throw Error(_0xc6f530(0x34e)+_0x1c45c3+_0xc6f530(0x286));}let _0x5a61d8={'id':'base.command.update-base-view-config','type':_0x3deeb7[_0x4e5412(0x3cc)][_0x4e5412(0x1d0)],'handler':(_0x90226c,_0x42e8e0)=>{const _0x5b0007=_0x4e5412;if(!_0x42e8e0)return!0x1;let _0x18d3c7=_0x90226c[_0x5b0007(0x3c1)](_0x3deeb7[_0x5b0007(0x4b4)]),{unitId:_0x1134ba,tableId:_0x3aba76,viewId:_0x50c688,patch:_0x387428}=_0x42e8e0,_0x611cb8=_0x18d3c7['getUnit'](_0x1134ba,_0x3deeb7['UniverInstanceType'][_0x5b0007(0x475)]);if(!_0x611cb8||!_0x551df6(_0x611cb8,_0x3aba76,{'viewIds':[_0x50c688]}))return!0x1;let _0x447cab=_0x90226c[_0x5b0007(0x3c1)](_0x3deeb7[_0x5b0007(0x400)]),_0x1f7aee=_0x90226c['get'](_0x3deeb7[_0x5b0007(0x16d)]),_0x3deac9=_0x611cb8[_0x5b0007(0x21d)](),_0xe8b8c=new _0x38af97()[_0x5b0007(0x144)](_0x3deac9,_0x3aba76,_0x50c688,_0x387428),_0x28cf06=new _0x162342()['invertOp'](_0x3deac9,_0xe8b8c),_0x21b170={'unitId':_0x1134ba,'op':_0xe8b8c},_0x4de93f={'unitId':_0x1134ba,'op':_0x28cf06};return _0x447cab['syncExecuteCommand'](_0x59ab20['id'],_0x21b170)?(_0x18d3c7[_0x5b0007(0x35b)](_0x1134ba),_0x1f7aee[_0x5b0007(0x4b1)]({'unitID':_0x1134ba,'undoMutations':[{'id':_0x59ab20['id'],'params':_0x4de93f}],'redoMutations':[{'id':_0x59ab20['id'],'params':_0x21b170}]}),!0x0):!0x1;}},_0xb45ce2={'id':_0x4e5412(0x486),'type':_0x3deeb7['CommandType'][_0x4e5412(0x1d0)],'handler'(_0x5891f1,_0x5617b9){const _0x28930e=_0x4e5412;if(!_0x5617b9)return{'valid':!0x1,'reason':_0x28930e(0x177)};let _0x1fe7cc=_0x5891f1[_0x28930e(0x3c1)](_0x3deeb7['IUniverInstanceService'])[_0x28930e(0x14e)](_0x5617b9[_0x28930e(0x129)],_0x3deeb7['UniverInstanceType']['UNIVER_BASE']),_0x5e3552=_0x1fe7cc==null?void 0x0:_0x1fe7cc[_0x28930e(0x21d)](),_0x2688d3=_0x5e3552==null?void 0x0:_0x5e3552[_0x28930e(0x52f)][_0x5617b9[_0x28930e(0x4fe)]];return!_0x5e3552||!_0x2688d3?{'valid':!0x1,'reason':_0x28930e(0x2ef)}:new _0x4bcf4f()[_0x28930e(0x40c)](_0x5617b9[_0x28930e(0x27b)],_0x2688d3,{'snapshot':_0x5e3552});}},_0x583254=class extends _0x3deeb7['ObjectPermissionRuleModel']{constructor(_0x24e22f){const _0x40ac2f=_0x4e5412;super(_0x24e22f,_0x40ac2f(0x21e),_0x3deeb7[_0x40ac2f(0x4ca)][_0x40ac2f(0x475)],[_0x439352[_0x40ac2f(0x120)]['BaseTable'],_0x439352[_0x40ac2f(0x120)][_0x40ac2f(0x1b4)],_0x439352[_0x40ac2f(0x120)][_0x40ac2f(0x35d)],_0x439352[_0x40ac2f(0x120)][_0x40ac2f(0x33f)],_0x439352[_0x40ac2f(0x120)][_0x40ac2f(0x13a)]]);}};_0x583254=_0x40b1f5([_0xf4310f(0x0,_0x3deeb7['IResourceManagerService'])],_0x583254);let _0xbae1d7={'id':'base.mutation.set-permission-rule','type':_0x3deeb7[_0x4e5412(0x3cc)]['MUTATION'],'handler':(_0x398f64,_0x4ced52)=>!_0x4ced52||!_0x398f64['get'](_0x3deeb7[_0x4e5412(0x4b4)])['getUnit'](_0x4ced52[_0x4e5412(0x129)],_0x3deeb7[_0x4e5412(0x4ca)][_0x4e5412(0x475)])?!0x1:_0x398f64[_0x4e5412(0x3c1)](_0x583254)[_0x4e5412(0x4be)](_0x4ced52['unitId'],_0x4ced52[_0x4e5412(0x473)],_0x4ced52[_0x4e5412(0x2e2)],_0x4ced52[_0x4e5412(0x134)])},_0x3f174f={'id':'base.mutation.set-permission-rules','type':_0x3deeb7[_0x4e5412(0x3cc)]['MUTATION'],'handler':(_0x377182,_0x2928b5)=>!_0x2928b5||!_0x377182[_0x4e5412(0x3c1)](_0x3deeb7[_0x4e5412(0x4b4)])[_0x4e5412(0x14e)](_0x2928b5[_0x4e5412(0x129)],_0x3deeb7['UniverInstanceType'][_0x4e5412(0x475)])?!0x1:_0x377182[_0x4e5412(0x3c1)](_0x583254)[_0x4e5412(0x292)](_0x2928b5['unitId'],_0x2928b5[_0x4e5412(0x297)])};function _0x46122f(_0x21af9d){const _0x1af9ee=_0x4e5412;let _0x4bb8d3=_0x21af9d[_0x1af9ee(0x3c4)]??Date['now'](),_0x58338f=_0x21af9d[_0x1af9ee(0x3fb)]??_0x21af9d['id']+'-field-name',_0x496e33=_0x21af9d['gridViewId']??_0x21af9d['id']+'-view-grid',_0x2c568f=_0x21af9d[_0x1af9ee(0x3cd)]??0x0,_0x576413=(0x0,_0x3deeb7[_0x1af9ee(0x356)])(),_0x294e09={'id':_0x58338f,'name':_0x21af9d['primaryFieldName']??_0x1af9ee(0x474),'type':_0x3deeb7[_0x1af9ee(0x16c)][_0x1af9ee(0x21c)],'config':{'placeholder':_0x1af9ee(0x52e)}},_0x2a4215={},_0x250ac4=[],_0x554fd2={},_0x12ac72={},_0x2ae82f={};for(let _0x458fb6=0x0;_0x458fb6<_0x2c568f;_0x458fb6++){let _0x346e02=_0x21af9d['id']+_0x1af9ee(0x15e)+(_0x458fb6+0x1);_0x2a4215[_0x346e02]={'id':_0x346e02,'values':{[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:_0x346e02,..._0x21af9d[_0x1af9ee(0x227)]?{[_0x58338f]:_0x21af9d['recordNamePrefix']+'\x20'+(_0x458fb6+0x1)}:{}},'orderKey':String(_0x458fb6+0x1)['padStart'](0x4,'0'),'createdAt':_0x4bb8d3,'updatedAt':_0x4bb8d3},_0x250ac4[_0x1af9ee(0x296)](_0x346e02),_0x554fd2[_0x346e02]=_0x458fb6,_0x12ac72[_0x458fb6]=_0x346e02,_0x2ae82f[_0x458fb6]={0x0:{'v':_0x346e02,'t':_0x3deeb7['CellValueType'][_0x1af9ee(0x1a4)]}},_0x21af9d[_0x1af9ee(0x227)]&&(_0x2ae82f[_0x458fb6][0x1]={'v':_0x21af9d['recordNamePrefix']+'\x20'+(_0x458fb6+0x1),'t':_0x3deeb7[_0x1af9ee(0x2e4)][_0x1af9ee(0x1a4)]});}let _0x4db333={'id':_0x496e33,'tableId':_0x21af9d['id'],'name':'Grid','type':_0x3deeb7[_0x1af9ee(0x14b)][_0x1af9ee(0x410)],'fieldOrder':[_0x3deeb7['BASE_RECORD_ID_FIELD_ID'],_0x58338f],'fieldSettings':{[_0x3deeb7[_0x1af9ee(0x2b7)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x21af9d['id'],'name':_0x21af9d['name'],'primaryFieldId':_0x58338f,'fieldOrder':[_0x3deeb7[_0x1af9ee(0x2b7)],_0x58338f],'fields':{[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:_0x576413,[_0x58338f]:_0x294e09},'records':_0x2a4215,'recordOrder':_0x250ac4,'rowIndex':_0x554fd2,'rowId':_0x12ac72,'colIndex':{[_0x3deeb7['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x58338f]:0x1},'colId':{0x0:_0x3deeb7[_0x1af9ee(0x2b7)],0x1:_0x58338f},'cellData':_0x2ae82f,'views':{[_0x496e33]:_0x4db333},'viewOrder':[_0x496e33]};}let _0x14012b='UNIVER_EMBED_BASES_TABLE';function _0x26ce6e(_0x142ec0){const _0x482e98=_0x4e5412;let _0x1d56d1=_0x46122f({'id':_0x142ec0[_0x482e98(0x50b)],'name':_0x142ec0[_0x482e98(0x1cd)]??_0x142ec0[_0x482e98(0x28c)],'recordCount':0x0});return{..._0x1d56d1,'resources':{..._0x1d56d1['resources']??{},[_0x14012b]:_0x4447e7(_0x142ec0)}};}function _0x5bc2d8(_0x7b131f){const _0x498c9a=_0x4e5412;return{'id':_0x59ab20['id'],'params':{'unitId':_0x7b131f[_0x498c9a(0x129)],'op':_0x3deeb7['JSON1']['type'][_0x498c9a(0x11d)](_0x3deeb7[_0x498c9a(0x248)][_0x498c9a(0x36b)]([_0x498c9a(0x52f),_0x7b131f[_0x498c9a(0x561)]['id']],_0x7b131f[_0x498c9a(0x561)]),_0x3deeb7[_0x498c9a(0x248)][_0x498c9a(0x36b)]([_0x498c9a(0x2e9),_0x7b131f[_0x498c9a(0x1ac)]??_0x7b131f[_0x498c9a(0x2f1)]['tableOrder'][_0x498c9a(0x4b3)]],_0x7b131f[_0x498c9a(0x561)]['id'])),'trigger':'embed-ui'}};}function _0x362370(_0x2e5cb2){const _0x1d016f=_0x4e5412;let _0x5a9dc2=_0x2e5cb2[_0x1d016f(0x2f1)][_0x1d016f(0x2e9)][_0x1d016f(0x41d)](_0x2e5cb2[_0x1d016f(0x4fe)]);if(!(!_0x2e5cb2[_0x1d016f(0x2f1)][_0x1d016f(0x52f)][_0x2e5cb2['tableId']]||_0x5a9dc2<0x0))return{'id':_0x59ab20['id'],'params':{'unitId':_0x2e5cb2['unitId'],'op':_0x3deeb7[_0x1d016f(0x248)][_0x1d016f(0x3de)]['compose'](_0x3deeb7[_0x1d016f(0x248)][_0x1d016f(0x2fb)]([_0x1d016f(0x52f),_0x2e5cb2[_0x1d016f(0x4fe)]],_0x2e5cb2['snapshot']['tables'][_0x2e5cb2[_0x1d016f(0x4fe)]]),_0x3deeb7[_0x1d016f(0x248)][_0x1d016f(0x2fb)]([_0x1d016f(0x2e9),_0x5a9dc2],_0x2e5cb2[_0x1d016f(0x4fe)])),'trigger':_0x1d016f(0x524)}};}function _0x4447e7(_0x2b3471){const _0x2208cb=_0x4e5412;return{'version':0x1,'embedId':_0x2b3471[_0x2208cb(0x28c)],'hostAnchorId':_0x2b3471['hostAnchorId'],'childUnitId':_0x2b3471['childUnitId'],'childType':_0x2b3471['childType']};}function _0x598d66(_0x149097){const _0xfeea0b=_0x4e5412;let _0x1cd0d8=Math['max'](0x0,Number(_0x149097[_0xfeea0b(0x476)]??0x0)),_0x58fd3c=_0x149097['useThousands']===!0x1?'0':'#,##0',_0x45d624=_0x1cd0d8?'.'+'0'['repeat'](_0x1cd0d8):'',_0x51fab6=_0x597945(_0x149097[_0xfeea0b(0x48c)]);return''+(_0x149097[_0xfeea0b(0x361)]?_0x3282d8(_0x149097[_0xfeea0b(0x361)]):'')+_0x58fd3c+_0x45d624+_0x51fab6;}function _0x383d58(_0x14bb4b,_0x44ebc3){const _0x50cd9d=_0x4e5412;let _0x558591=_0x598d66(_0x44ebc3),_0x62f003=_0x3deeb7[_0x50cd9d(0x40b)]['format'](_0x558591,_0x14bb4b,{'throws':!0x1});return _0x26d8eb(String(_0x62f003),_0x44ebc3[_0x50cd9d(0x351)],_0x44ebc3[_0x50cd9d(0x2c3)]);}function _0x597945(_0x17a3a3){const _0x2db974=_0x4e5412;return _0x17a3a3==='K'?_0x2db974(0x240):_0x17a3a3==='M'?_0x2db974(0x10e):_0x17a3a3==='B'?',,,\x22B\x22':'';}function _0x3282d8(_0x15b5af){const _0x264416=_0x4e5412;return/^[A-Z]+$/i[_0x264416(0x373)](_0x15b5af)?'\x22'+_0x15b5af+'\x22':_0x15b5af;}function _0x26d8eb(_0x470c50,_0x5aeef7,_0x5ba03b){const _0x49643c=_0x4e5412;let _0x3c55cc=_0x5aeef7===_0x49643c(0x426)?_0x2c2af0(_0x5ba03b):_0x5aeef7;return _0x3c55cc===_0x49643c(0x154)?_0x470c50[_0x49643c(0x362)](/,/g,'\x00')[_0x49643c(0x362)](/\./g,',')[_0x49643c(0x362)](/\0/g,'.'):_0x3c55cc===_0x49643c(0x199)?_0x470c50[_0x49643c(0x362)](/,/g,'\x20')[_0x49643c(0x362)](/\./g,','):_0x3c55cc===_0x49643c(0x26d)?_0x470c50['replace'](/,/g,'\x20'):_0x470c50;}function _0x2c2af0(_0x216830){const _0x3617b5=_0x4e5412;var _0x398510,_0x110c62;let _0x2a30d3=_0x216830||new Intl[(_0x3617b5(0x237))]()['resolvedOptions']()[_0x3617b5(0x2c3)],_0x549fe5;try{_0x549fe5=new Intl[(_0x3617b5(0x237))](_0x2a30d3,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x3617b5(0x218)](0xf4240);}catch{return'commaPeriod';}let _0x50887e=(_0x398510=_0x549fe5[_0x3617b5(0x538)](_0x3709ab=>_0x3709ab['type']==='group'))==null?void 0x0:_0x398510[_0x3617b5(0x425)],_0x21f8c9=(_0x110c62=_0x549fe5['find'](_0x36888c=>_0x36888c[_0x3617b5(0x3de)]===_0x3617b5(0x321)))==null?void 0x0:_0x110c62[_0x3617b5(0x425)],_0x427216=_0x50887e==='\u00a0'||_0x50887e==='\u202f'?'\x20':_0x50887e;return _0x427216==='.'&&_0x21f8c9===','?_0x3617b5(0x154):_0x427216==='\x20'&&_0x21f8c9===','?_0x3617b5(0x199):_0x427216==='\x20'&&_0x21f8c9==='.'?_0x3617b5(0x26d):'commaPeriod';}function _0x7cf2b2(_0x274c57,_0x3b7122){const _0x531f6d=_0x4e5412;let _0x37d7c5=_0x3b7122&&typeof _0x3b7122=='object'&&!Array['isArray'](_0x3b7122)?_0x3b7122:{},_0x23e206=_0x4b7ffd(_0x37d7c5[_0x531f6d(0x476)],0x0,0x2,0x0),_0x3c30ca=_0x274c57[_0x531f6d(0x2bc)](_0x23e206);return _0x37d7c5['format']===_0x531f6d(0x38e)?_0x3c30ca:_0x3c30ca+'%';}function _0x4b7ffd(_0x49e03c,_0x2600ea,_0x541d2a,_0x1cba4d){const _0x579a1b=_0x4e5412;if(_0x49e03c==null||_0x49e03c==='')return _0x1cba4d;let _0x1e5594=typeof _0x49e03c==_0x579a1b(0x38e)?_0x49e03c:Number(_0x49e03c);return Number['isFinite'](_0x1e5594)?Math[_0x579a1b(0x37f)](_0x2600ea,Math[_0x579a1b(0x27c)](_0x541d2a,Math[_0x579a1b(0x216)](_0x1e5594))):_0x1cba4d;}let _0x5641b9=[_0x4e5412(0x29c),'filled',_0x4e5412(0x4c2),_0x4e5412(0x165),_0x4e5412(0x11a),_0x4e5412(0x3d7),_0x4e5412(0x27c),'max'],_0x8219ba=[_0x4e5412(0x29c),_0x4e5412(0x28d),_0x4e5412(0x4c2),_0x4e5412(0x165)],_0x12cbb4=[_0x4e5412(0x11a),'average','min',_0x4e5412(0x37f)],_0x1633c2=['min','max'],_0x47c61d=new Set([_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x312)],_0x3deeb7[_0x4e5412(0x16c)]['Currency'],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x169)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x49b)]]),_0x50cc3d=new Set([_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x1ca)],_0x3deeb7[_0x4e5412(0x16c)][_0x4e5412(0x122)],_0x3deeb7['BaseFieldType'][_0x4e5412(0x4cd)]]),_0x1a8d89=_0x4e5412(0x12e);function _0xcd232(_0x548df8){const _0x2f082b=_0x4e5412;return typeof _0x548df8==_0x2f082b(0x3d4)&&_0x5641b9[_0x2f082b(0x1a5)](_0x548df8);}function _0x44b791(_0x378c65){const _0x55e78e=_0x4e5412;return!_0x378c65||typeof _0x378c65!='object'?{}:Object[_0x55e78e(0x1ff)](Object[_0x55e78e(0x26b)](_0x378c65)[_0x55e78e(0x30d)](_0x135900=>_0xcd232(_0x135900[0x1])));}function _0x4e0647(_0x4400af){const _0x4efb6a=_0x4e5412;return _0x47c61d['has'](_0x4400af[_0x4efb6a(0x3de)])?[..._0x8219ba,..._0x12cbb4]:_0x4400af[_0x4efb6a(0x3de)]===_0x3deeb7[_0x4efb6a(0x16c)]['Formula']?[..._0x8219ba,..._0x14c372(_0x4400af)===_0x4efb6a(0x2dd)?_0x1633c2:_0x12cbb4]:_0x8219ba;}function _0x2ec99b(_0xa8d586,_0x4e9f6b){const _0x130e9e=_0x4e5412;return _0x4e0647(_0xa8d586)[_0x130e9e(0x1a5)](_0x4e9f6b);}function _0x24b989(_0x1270d1,_0x30a0ae,_0x5c7441){const _0x117109=_0x4e5412;if(!_0x2ec99b(_0x1270d1,_0x5c7441))return null;let _0x48f985=_0x30a0ae[_0x117109(0x30d)](_0xd6b7ea=>!_0x303756(_0x1270d1,_0xd6b7ea));switch(_0x5c7441){case _0x117109(0x29c):return _0x30a0ae['length'];case _0x117109(0x28d):return _0x48f985['length'];case _0x117109(0x4c2):return _0x30a0ae[_0x117109(0x4b3)]-_0x48f985['length'];case _0x117109(0x165):return new Set(_0x48f985[_0x117109(0x1fd)](_0x19f90f=>_0x222301(_0x1270d1,_0x19f90f)))['size'];case _0x117109(0x11a):{let _0x5977e1=_0x1b7d0d(_0x1270d1,_0x48f985);return _0x5977e1['length']?_0xf37b23(_0x5977e1):null;}case _0x117109(0x3d7):{let _0x55b600=_0x1b7d0d(_0x1270d1,_0x48f985);return _0x55b600['length']?_0xf37b23(_0x55b600)/_0x55b600[_0x117109(0x4b3)]:null;}case'min':{let _0x33d029=_0x1b7d0d(_0x1270d1,_0x48f985);return _0x33d029['length']?Math[_0x117109(0x27c)](..._0x33d029):null;}case _0x117109(0x37f):{let _0x416260=_0x1b7d0d(_0x1270d1,_0x48f985);return _0x416260['length']?Math[_0x117109(0x37f)](..._0x416260):null;}}}function _0x59856b(_0x518b8c,_0x503293,_0x4af229){const _0x17b4b5=_0x4e5412;if(_0x4af229==null||!Number[_0x17b4b5(0x2d6)](_0x4af229))return'-';if(_0x8219ba[_0x17b4b5(0x1a5)](_0x503293))return String(_0x4af229);switch(_0x518b8c['type']){case _0x3deeb7[_0x17b4b5(0x16c)][_0x17b4b5(0x312)]:return _0x383d58(_0x4af229,_0x2e4be1(_0x518b8c));case _0x3deeb7[_0x17b4b5(0x16c)][_0x17b4b5(0x322)]:return _0x383d58(_0x4af229,_0x92ff9(_0x518b8c));case _0x3deeb7[_0x17b4b5(0x16c)]['Progress']:return _0x7cf2b2(_0x4af229,_0x518b8c['config']);case _0x3deeb7[_0x17b4b5(0x16c)][_0x17b4b5(0x2cd)]:return _0x2493ba(_0x4af229,_0x518b8c);default:return _0x3a8550(_0x4af229);}}function _0x303756(_0x1a56d1,_0x5028bc){const _0x938eac=_0x4e5412;if(_0x5028bc==null)return!0x0;if(typeof _0x5028bc=='string')return _0x5028bc[_0x938eac(0x2de)]()==='';if(Array[_0x938eac(0x2a0)](_0x5028bc))return _0x1a56d1[_0x938eac(0x3de)]===_0x3deeb7['BaseFieldType']['Attachment']?!_0x5028bc[_0x938eac(0x3a8)](_0x348dd4):_0x5028bc[_0x938eac(0x4b3)]===0x0;if(_0x1a56d1[_0x938eac(0x3de)]===_0x3deeb7[_0x938eac(0x16c)][_0x938eac(0x409)]&&typeof _0x5028bc=='object'){let _0x378119=_0x5028bc;return[_0x378119[_0x938eac(0x40a)],_0x378119[_0x938eac(0x520)]]['every'](_0x3d5fdc=>_0x3d5fdc==null||String(_0x3d5fdc)[_0x938eac(0x2de)]()==='');}return!0x1;}function _0x1b7d0d(_0x368d84,_0x3ae344){const _0x300b96=_0x4e5412;let _0x565646=[];for(let _0x9edbb2 of _0x3ae344){let _0x321365=_0x434fc9(_0x368d84,_0x9edbb2);_0x321365!=null&&_0x565646[_0x300b96(0x296)](_0x321365);}return _0x565646;}function _0x434fc9(_0x3b060a,_0x762f8c){const _0x5573ff=_0x4e5412;if(typeof _0x762f8c==_0x5573ff(0x38e))return Number['isFinite'](_0x762f8c)?_0x762f8c:null;if(_0x3b060a['type']!==_0x3deeb7[_0x5573ff(0x16c)][_0x5573ff(0x2cd)]&&typeof _0x762f8c=='string'&&_0x762f8c[_0x5573ff(0x2de)]()!==''){let _0x1ceef7=Number(_0x762f8c);return Number['isFinite'](_0x1ceef7)?_0x1ceef7:null;}return null;}function _0xf37b23(_0x20424a){const _0x1acf01=_0x4e5412;let _0x4036db=0x0,_0x29c409=0x0;for(let _0x205a23 of _0x20424a){let _0x4cf04b=_0x4036db+_0x205a23;_0x29c409+=Math[_0x1acf01(0x15d)](_0x4036db)>=Math[_0x1acf01(0x15d)](_0x205a23)?_0x4036db-_0x4cf04b+_0x205a23:_0x205a23-_0x4cf04b+_0x4036db,_0x4036db=_0x4cf04b;}return _0x4036db+_0x29c409;}function _0x222301(_0x2993f3,_0x15b2a3){const _0x19c876=_0x4e5412;return _0x50cc3d[_0x19c876(0x10f)](_0x2993f3[_0x19c876(0x3de)])&&Array[_0x19c876(0x2a0)](_0x15b2a3)?_0x2a78e0([...new Set(_0x15b2a3['map'](_0x3f7179=>_0x2a78e0(_0x56935e(_0x3f7179))))][_0x19c876(0x54f)]()):_0x2a78e0(_0x56935e(_0x15b2a3));}function _0x56935e(_0x5801fa){const _0x11f538=_0x4e5412;return Array[_0x11f538(0x2a0)](_0x5801fa)?_0x5801fa[_0x11f538(0x1fd)](_0x56935e):_0x5801fa&&typeof _0x5801fa=='object'?Object[_0x11f538(0x1ff)](Object[_0x11f538(0x26b)](_0x5801fa)[_0x11f538(0x54f)](([_0x3e08ac],[_0x23170c])=>_0x3e08ac[_0x11f538(0x14d)](_0x23170c))[_0x11f538(0x1fd)](([_0x44703d,_0x193f27])=>[_0x44703d,_0x56935e(_0x193f27)])):_0x5801fa;}function _0x2a78e0(_0x10697e){const _0x1b1d74=_0x4e5412;return JSON[_0x1b1d74(0x17c)](_0x10697e)??_0x1b1d74(0x3a5);}function _0x348dd4(_0x140ad5){const _0x32a41b=_0x4e5412;if(typeof _0x140ad5==_0x32a41b(0x3d4))return _0x140ad5[_0x32a41b(0x2de)]()!=='';if(!_0x140ad5||typeof _0x140ad5!=_0x32a41b(0x30b))return!0x1;let _0x969a43=_0x140ad5;return[_0x969a43['id'],_0x969a43[_0x32a41b(0x1cd)],_0x969a43[_0x32a41b(0x3e3)],_0x969a43[_0x32a41b(0x520)],_0x969a43[_0x32a41b(0x353)]][_0x32a41b(0x3a8)](_0x1153d8=>_0x1153d8!=null&&String(_0x1153d8)[_0x32a41b(0x2de)]()!=='');}function _0x2e4be1(_0x9c31f1){const _0x71c8ef=_0x4e5412;let _0xb1f4c7=_0x3446d4(_0x9c31f1['config']);return{'decimalPlaces':_0x51f21d(_0xb1f4c7[_0x71c8ef(0x476)],0x0,0x14,0x2),'separatorStyle':typeof _0xb1f4c7[_0x71c8ef(0x351)]=='string'?_0xb1f4c7[_0x71c8ef(0x351)]:_0x71c8ef(0x426),'locale':typeof _0xb1f4c7[_0x71c8ef(0x2c3)]==_0x71c8ef(0x3d4)?_0xb1f4c7[_0x71c8ef(0x2c3)]:void 0x0,'useThousands':_0xb1f4c7[_0x71c8ef(0x378)]!==!0x1,'abbreviation':typeof _0xb1f4c7['abbreviation']=='string'?_0xb1f4c7[_0x71c8ef(0x48c)]:_0x71c8ef(0x133)};}function _0x92ff9(_0x58948f){const _0x206ff9=_0x4e5412;let _0x4c943a=_0x3446d4(_0x58948f[_0x206ff9(0x505)]);return{..._0x2e4be1(_0x58948f),'currencySymbol':String(_0x4c943a[_0x206ff9(0x361)]??'$')};}function _0x2493ba(_0x28c578,_0x4d34f9){const _0x19f8a5=_0x4e5412;let _0x349713=_0x24258d(_0x4d34f9);if(_0x349713===_0x1a8d89)return _0x3a8550(_0x28c578);try{return String(_0x3deeb7['numfmt'][_0x19f8a5(0x396)](_0x349713,_0x28c578,{'throws':!0x1}));}catch{return _0x3a8550(_0x28c578);}}function _0x14c372(_0x38b29f){const _0x3c2883=_0x4e5412;let _0x4a5ed2=_0x3446d4(_0x3446d4(_0x38b29f[_0x3c2883(0x505)])[_0x3c2883(0x40b)]);return typeof _0x4a5ed2[_0x3c2883(0x3de)]==_0x3c2883(0x3d4)?_0x4a5ed2[_0x3c2883(0x3de)]:_0x3c2883(0x372);}function _0x24258d(_0xc5fff9){const _0x31c8f2=_0x4e5412;let _0x4cadc3=_0x3446d4(_0x3446d4(_0xc5fff9['config'])[_0x31c8f2(0x40b)]);return String(_0x4cadc3[_0x31c8f2(0x2dc)]??_0x1a8d89)[_0x31c8f2(0x2de)]()||_0x1a8d89;}function _0x3a8550(_0x1fa68d){const _0x5b86f0=_0x4e5412;return String(Number['isInteger'](_0x1fa68d)?_0x1fa68d:Math[_0x5b86f0(0x216)]((_0x1fa68d+0x2**-0x34)*0x64)/0x64);}function _0x3446d4(_0x47e2e1){const _0x5055b3=_0x4e5412;return _0x47e2e1&&typeof _0x47e2e1==_0x5055b3(0x30b)&&!Array[_0x5055b3(0x2a0)](_0x47e2e1)?_0x47e2e1:{};}function _0x37c666(_0x368c09){const _0x5b9768=_0x4e5412;if(_0x368c09==null||_0x368c09==='')return null;let _0x3458e6=typeof _0x368c09==_0x5b9768(0x38e)?_0x368c09:Number(_0x368c09);return Number[_0x5b9768(0x2d6)](_0x3458e6)?_0x3458e6:null;}function _0x51f21d(_0x5237d5,_0x150f6d,_0x5b7a26,_0x41eb98){const _0x158ed8=_0x4e5412;let _0x12da77=_0x37c666(_0x5237d5);return _0x12da77==null?_0x41eb98:Math['max'](_0x150f6d,Math['min'](_0x5b7a26,Math[_0x158ed8(0x216)](_0x12da77)));}function _0x3b7dc3(_0x34566b,_0x14765d){const _0x145b67=_0x4e5412;let _0x38588f=_0x3deeb7[_0x145b67(0x23a)][_0x145b67(0x534)](_0x34566b),_0x4d853c=_0x14765d['includeRecords']===!0x0,_0x1bf0df=new Map(),_0x28cbed=_0x14765d[_0x145b67(0x405)]??(()=>_0x145b67(0x492)+(0x0,_0x3deeb7[_0x145b67(0x148)])(0x8)),_0x45d6eb=_0x38588f['viewOrder'];return _0x14765d['regenerateViewIds']&&(_0x45d6eb=_0x38588f[_0x145b67(0x3a1)][_0x145b67(0x1fd)](_0x297e75=>{const _0x35c467=_0x145b67;let _0x3c45ed=_0x28cbed();return _0x1bf0df[_0x35c467(0x4b6)](_0x297e75,_0x3c45ed),_0x3c45ed;})),{..._0x38588f,'id':_0x14765d['id'],'name':_0x14765d['name'],'records':_0x4d853c?_0x38588f['records']:{},'recordOrder':_0x4d853c?_0x38588f[_0x145b67(0x402)]:[],'rowIndex':_0x4d853c?_0x38588f[_0x145b67(0x364)]:{},'rowId':_0x4d853c?_0x38588f[_0x145b67(0x449)]:{},'cellData':_0x4d853c?_0x38588f[_0x145b67(0x2c7)]:{},'resources':_0x4d853c?_0x38588f[_0x145b67(0x26c)]:{},'viewOrder':_0x45d6eb,'views':Object[_0x145b67(0x1ff)](Object[_0x145b67(0x26b)](_0x38588f[_0x145b67(0x3d0)]??{})[_0x145b67(0x1fd)](([_0x168651,_0x53c19c])=>{const _0x1769f6=_0x145b67;let _0x391a07=_0x1bf0df[_0x1769f6(0x3c1)](_0x168651)??(_0x14765d[_0x1769f6(0x424)]?_0x28cbed():_0x168651);return[_0x391a07,{..._0x53c19c,'id':_0x391a07,'tableId':_0x14765d['id']}];}))};}var _0x7cc6b7=_0x4e5412(0x243),_0xabdd6a='1.0.3';let _0x448e80={},_0x5d150a={};function _0x49a827(_0x25bd6d){const _0x41df27=_0x4e5412;return new _0x162342()[_0x41df27(0x270)](_0x25bd6d);}function _0xe710f1(_0x31860b){const _0x6da0a9=_0x4e5412;return _0x31860b[_0x6da0a9(0x36e)][_0x6da0a9(0x1fd)](_0x488077=>({'unitId':_0x31860b['unitId'],'sheetId':_0x31860b[_0x6da0a9(0x4fe)],'range':{'startRow':_0x488077[_0x6da0a9(0x307)],'endRow':_0x488077[_0x6da0a9(0x307)],'startColumn':_0x488077[_0x6da0a9(0x31f)],'endColumn':_0x488077['col']}}));}function _0x2a8b61(_0xee9555,_0x41c884){const _0x35aeee=_0x4e5412;return{[_0xee9555]:Object[_0x35aeee(0x1ff)](_0x41c884[_0x35aeee(0x1fd)](_0x2a5884=>[_0x2a5884,'1']))};}let _0x70cddb=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(_0x2c0145,_0x5b0774){const _0x439c69=_0x4e5412;super(),this[_0x439c69(0x19a)]=_0x2c0145,this[_0x439c69(0x271)]=_0x5b0774,this['_initialize']();}[_0x4e5412(0x15a)](){const _0x515593=_0x4e5412;this[_0x515593(0x19a)][_0x515593(0x18e)](_0x59ab20['id'],{'commandId':_0x59ab20['id'],'getDirtyData':_0x374671=>this[_0x515593(0x2d2)](_0x374671[_0x515593(0x348)])}),this[_0x515593(0x36c)]((0x0,_0x3deeb7[_0x515593(0x4cb)])(()=>{const _0x78244e=_0x515593;this[_0x78244e(0x19a)][_0x78244e(0x359)](_0x59ab20['id']);}));}[_0x4e5412(0x29f)](_0x9aafd1,_0x57b45a){const _0x354dba=_0x4e5412;let _0x125d18=this[_0x354dba(0x271)]['getUnit'](_0x9aafd1,_0x3deeb7[_0x354dba(0x4ca)][_0x354dba(0x475)]);return(_0x125d18==null?void 0x0:_0x125d18[_0x354dba(0x21d)]()[_0x354dba(0x52f)][_0x57b45a])??null;}[_0x4e5412(0x2d2)](_0x307d5d){const _0x24e297=_0x4e5412;if(_0x307d5d['trigger']===_0x24e297(0x48f))return{};if(!_0x307d5d[_0x24e297(0x129)]||!_0x307d5d['op'])return{'clearDependencyTreeCache':this['_getAllBaseDependencyTreeCacheMap'](),'forceCalculation':!0x0};let _0x3c910e=_0x49a827(_0x307d5d['op']),_0x465851=this['_getStructureDirtyTableIds'](_0x307d5d[_0x24e297(0x129)],_0x3c910e);if(_0x465851[_0x24e297(0x4b3)])return{'clearDependencyTreeCache':_0x2a8b61(_0x307d5d[_0x24e297(0x129)],_0x465851),'forceCalculation':!0x0};let _0x57bd16=Object[_0x24e297(0x26b)](this['_groupCellInvalidations'](_0x307d5d[_0x24e297(0x129)],_0x3c910e))[_0x24e297(0x27f)](([_0x2dc3e4,_0x1a1d33])=>_0xe710f1({'unitId':_0x307d5d[_0x24e297(0x129)],'tableId':_0x2dc3e4,'patches':_0x1a1d33}));return _0x57bd16[_0x24e297(0x4b3)]?{'dirtyRanges':_0x57bd16}:{};}['_getStructureDirtyTableIds'](_0x504c2f,_0x1cc1db){const _0xf34fba=_0x4e5412;let _0xc7f153=_0x1cc1db[_0xf34fba(0x30d)](_0x9c40fd=>_0x9c40fd[_0xf34fba(0x4df)]!==_0xf34fba(0x234))['flatMap'](_0x5a6fc2=>_0x5a6fc2['tableId']?[_0x5a6fc2['tableId']]:this[_0xf34fba(0x4f3)](_0x504c2f));return Array[_0xf34fba(0x33c)](new Set(_0xc7f153));}[_0x4e5412(0x2fa)](_0x35aed7,_0x1d5b8c){const _0x54c732=_0x4e5412;let _0x336e0c=new Set();return _0x1d5b8c[_0x54c732(0x332)]((_0xb80fd7,_0x53c16b)=>{const _0xd4aceb=_0x54c732;let _0x44561c=this['_toDirtyRangePatch'](_0x35aed7,_0x53c16b);if(!_0x44561c)return _0xb80fd7;let _0x724d77=_0x53c16b[_0xd4aceb(0x4fe)]+':'+_0x44561c[_0xd4aceb(0x307)]+':'+_0x44561c[_0xd4aceb(0x31f)];return _0x336e0c[_0xd4aceb(0x10f)](_0x724d77)?_0xb80fd7:(_0x336e0c[_0xd4aceb(0x2af)](_0x724d77),_0xb80fd7[_0x53c16b[_0xd4aceb(0x4fe)]]=_0xb80fd7[_0x53c16b['tableId']]??[],_0xb80fd7[_0x53c16b[_0xd4aceb(0x4fe)]][_0xd4aceb(0x296)](_0x44561c),_0xb80fd7);},{});}[_0x4e5412(0x311)](_0x1da68c,_0x40f17b){const _0x2d86d0=_0x4e5412;if(_0x40f17b[_0x2d86d0(0x4df)]!==_0x2d86d0(0x234))return null;if(_0x40f17b[_0x2d86d0(0x307)]!=null&&_0x40f17b[_0x2d86d0(0x2db)]!=null)return{'row':_0x40f17b[_0x2d86d0(0x307)],'col':_0x40f17b[_0x2d86d0(0x2db)],'value':null};if(!_0x40f17b['recordId']||!_0x40f17b['fieldId'])return null;let _0x59118d=this['_getTable'](_0x1da68c,_0x40f17b['tableId']);if(!_0x59118d)return null;let _0x151d64=_0x3c2310(_0x59118d,_0x40f17b['recordId'],_0x40f17b['fieldId']);return _0x151d64?{'row':_0x151d64[_0x2d86d0(0x307)],'col':_0x151d64['col'],'value':null}:null;}[_0x4e5412(0x4f3)](_0x39faec){const _0x4afa3e=_0x4e5412;let _0x2ec162=this['_univerInstanceService'][_0x4afa3e(0x14e)](_0x39faec,_0x3deeb7[_0x4afa3e(0x4ca)][_0x4afa3e(0x475)]);return Object['values']((_0x2ec162==null?void 0x0:_0x2ec162[_0x4afa3e(0x21d)]()[_0x4afa3e(0x52f)])??{})['map'](_0x2e2e4c=>_0x2e2e4c['id']);}[_0x4e5412(0x3a4)](){const _0x2dc0e8=_0x4e5412;let _0x7e89c3=this['_univerInstanceService'][_0x2dc0e8(0x3da)](_0x3deeb7['UniverInstanceType'][_0x2dc0e8(0x475)])['map'](_0x4fdc45=>_0x2a8b61(_0x4fdc45['getUnitId'](),Object[_0x2dc0e8(0x2e5)](_0x4fdc45['getSnapshot']()['tables'])));return Object[_0x2dc0e8(0x258)]({},..._0x7e89c3);}};_0x70cddb=_0x40b1f5([_0xf4310f(0x0,_0x12efe9['IActiveDirtyManagerService']),_0xf4310f(0x1,_0x3deeb7[_0x4e5412(0x4b4)])],_0x70cddb);let _0x14e231=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(_0x21c98e,_0x3fe0be,_0x1caed1,_0x32b0dc){const _0x3aedea=_0x4e5412;super(),this['_commandService']=_0x21c98e,this[_0x3aedea(0x271)]=_0x3fe0be,this[_0x3aedea(0x414)]=_0x1caed1,this[_0x3aedea(0x3a6)]=_0x32b0dc,_0x266bce(this,'_formulaService',new _0x4bcf4f()),_0x266bce(this,_0x3aedea(0x398),new Map()),_0x266bce(this,_0x3aedea(0x2a4),new Set()),_0x266bce(this,_0x3aedea(0x1b1),Promise['resolve']()),_0x266bce(this,_0x3aedea(0x2bf),!0x1),this[_0x3aedea(0x15a)]();}[_0x4e5412(0x15a)](){const _0x3156cb=_0x4e5412;this[_0x3156cb(0x271)][_0x3156cb(0x3da)](_0x3deeb7[_0x3156cb(0x4ca)][_0x3156cb(0x475)])[_0x3156cb(0x349)](_0x4d3d91=>{this['_scheduleSuperTableSync'](_0x4d3d91);}),this['disposeWithMe'](this['_univerInstanceService'][_0x3156cb(0x17f)](_0x3deeb7[_0x3156cb(0x4ca)][_0x3156cb(0x475)])[_0x3156cb(0x4ea)](({unit:_0x4a5ce4})=>{const _0x1ac3f3=_0x3156cb;this[_0x1ac3f3(0x18f)](_0x4a5ce4);})),this[_0x3156cb(0x36c)](this['_univerInstanceService'][_0x3156cb(0x404)](_0x3deeb7['UniverInstanceType'][_0x3156cb(0x475)])[_0x3156cb(0x4ea)](_0x53f8cb=>{const _0x1f0e0a=_0x3156cb;this[_0x1f0e0a(0x536)](()=>this['_removeSuperTables'](_0x53f8cb[_0x1f0e0a(0x413)]()));})),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5310ee=>this[_0x3156cb(0x509)](_0x5310ee)));}[_0x4e5412(0x509)](_0xa75080){const _0xe6421d=_0x4e5412;if(_0xa75080['id']===_0x12efe9[_0xe6421d(0x281)]['id']){_0x42fab7(_0xa75080[_0xe6421d(0x348)])&&this[_0xe6421d(0x25f)](_0xa75080[_0xe6421d(0x348)]);return;}if(this['_applyingFormulaResults']||_0xa75080['id']!==_0x59ab20['id'])return;let _0x2b928f=_0x33e9a2(_0xa75080[_0xe6421d(0x348)])?_0xa75080[_0xe6421d(0x348)]:void 0x0,_0x1169ec=_0x2b928f!=null&&_0x2b928f[_0xe6421d(0x129)]?[this[_0xe6421d(0x271)]['getUnit'](_0x2b928f[_0xe6421d(0x129)],_0x3deeb7[_0xe6421d(0x4ca)][_0xe6421d(0x475)])]['filter'](_0x460587=>!!_0x460587):this[_0xe6421d(0x271)][_0xe6421d(0x3da)](_0x3deeb7[_0xe6421d(0x4ca)][_0xe6421d(0x475)]),_0x3626a5=_0x2b928f==null?void 0x0:_0x2b928f['op'];_0x1169ec[_0xe6421d(0x349)](_0x15a5c7=>{const _0x35871c=_0xe6421d;let _0x4087eb=_0x3626a5?_0x49a827(_0x3626a5):[];(!_0x3626a5||_0x4087eb[_0x35871c(0x3a8)](_0x110c88=>_0x110c88['reason']!==_0x35871c(0x234)))&&this[_0x35871c(0x18f)](_0x15a5c7);});}[_0x4e5412(0x18f)](_0x4e0ba9){const _0x115a22=_0x4e5412;let _0x1c3a71=_0x4e0ba9['getUnitId']();this[_0x115a22(0x2a4)]['has'](_0x1c3a71)||(this['_scheduledSuperTableSyncs'][_0x115a22(0x2af)](_0x1c3a71),this[_0x115a22(0x536)](async()=>{const _0x270698=_0x115a22;this[_0x270698(0x2a4)][_0x270698(0x566)](_0x1c3a71),await this['_syncSuperTables'](_0x4e0ba9);}));}async[_0x4e5412(0x480)](_0x10cc3b){const _0x1e8531=_0x4e5412;let _0x437824=_0x10cc3b['getUnitId'](),_0x398c28=this['_formulaService'][_0x1e8531(0x27a)](_0x10cc3b[_0x1e8531(0x21d)]()),_0x2d1892=new Set(_0x398c28[_0x1e8531(0x1fd)](({tableName:_0x1daa18})=>_0x1daa18)),_0x24a64e=this[_0x1e8531(0x398)][_0x1e8531(0x3c1)](_0x437824)??new Set();for(let _0x3f9a99 of _0x24a64e)if(!_0x2d1892[_0x1e8531(0x10f)](_0x3f9a99)&&!await this[_0x1e8531(0x50d)](_0x12efe9[_0x1e8531(0x3dd)]['id'],{'unitId':_0x437824,'tableName':_0x3f9a99}))return;for(let {tableName:_0x4cb4c7,reference:_0x440532}of _0x398c28)if(!await this[_0x1e8531(0x50d)](_0x12efe9['SetSuperTableMutation']['id'],{'unitId':_0x437824,'tableName':_0x4cb4c7,'reference':_0x440532}))return;this[_0x1e8531(0x398)][_0x1e8531(0x4b6)](_0x437824,_0x2d1892);}async[_0x4e5412(0x21b)](_0x1d2ef7){const _0x513f38=_0x4e5412;let _0x3225b9=this['_registeredSuperTableNames'][_0x513f38(0x3c1)](_0x1d2ef7)??new Set();for(let _0x1cec8c of _0x3225b9)if(!await this[_0x513f38(0x50d)](_0x12efe9[_0x513f38(0x3dd)]['id'],{'unitId':_0x1d2ef7,'tableName':_0x1cec8c}))return;this[_0x513f38(0x398)]['delete'](_0x1d2ef7);}async[_0x4e5412(0x50d)](_0x4bcd11,_0xab0d58){const _0x7477e=_0x4e5412;return!this[_0x7477e(0x4bf)]&&await this['_commandService'][_0x7477e(0x1e1)](_0x4bcd11,_0xab0d58,{'onlyLocal':!0x0})&&!this[_0x7477e(0x4bf)];}[_0x4e5412(0x536)](_0x1fe00a){const _0x1029c0=_0x4e5412;this['_formulaSyncQueue']=this[_0x1029c0(0x1b1)][_0x1029c0(0x181)](_0x1fe00a,_0x1fe00a)[_0x1029c0(0x2e6)](()=>void 0x0);}['_applyFormulaResult'](_0x4a02e7){const _0x15be39=_0x4e5412;let _0x1afdc4=this['_univerInstanceService'][_0x15be39(0x3da)](_0x3deeb7[_0x15be39(0x4ca)]['UNIVER_BASE']);if(!_0x1afdc4[_0x15be39(0x3a8)](_0x172640=>{const _0x338866=_0x15be39;var _0x75efa1;return((_0x75efa1=_0x4a02e7[_0x338866(0x1f4)])==null?void 0x0:_0x75efa1[_0x172640[_0x338866(0x413)]()])!=null;}))return;let _0x26a0ef=_0x1afdc4[_0x15be39(0x27f)](_0x1fb79a=>_0x3c9b9e(_0x1fb79a[_0x15be39(0x21d)](),_0x4a02e7));if(!_0x26a0ef[_0x15be39(0x4b3)]){this[_0x15be39(0x3a6)][_0x15be39(0x159)](_0x4f046c['FormulaResultApplicationType'][_0x15be39(0x19e)],_0x4a02e7);return;}let _0x4b0b6c=new _0x38af97(),_0x26a4e4=_0x26a0ef[_0x15be39(0x27f)](_0x5aae29=>_0xe710f1({'unitId':_0x5aae29[_0x15be39(0x129)],'tableId':_0x5aae29[_0x15be39(0x4fe)],'patches':_0x5aae29[_0x15be39(0x36e)]}));this[_0x15be39(0x2bf)]=!0x0,(async()=>{const _0x18792d=_0x15be39;for(let _0x4d7966 of _0x26a0ef){let _0x2212ba=this[_0x18792d(0x271)][_0x18792d(0x14e)](_0x4d7966[_0x18792d(0x129)],_0x3deeb7[_0x18792d(0x4ca)]['UNIVER_BASE']);_0x2212ba&&await this[_0x18792d(0x1a3)][_0x18792d(0x1e1)](_0x59ab20['id'],{'unitId':_0x4d7966[_0x18792d(0x129)],'op':_0x4b0b6c[_0x18792d(0x3f6)](_0x2212ba['getSnapshot'](),_0x4d7966[_0x18792d(0x4fe)],_0x4d7966[_0x18792d(0x36e)]),'trigger':_0x12efe9['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x18792d(0x1a3)][_0x18792d(0x1e1)](_0x12efe9['SetTriggerFormulaCalculationStartMutation']['id'],{'dirtyRanges':_0x26a4e4},{'onlyLocal':!0x0});})()['finally'](()=>{const _0xdae9be=_0x15be39;this[_0xdae9be(0x2bf)]=!0x1,this['_formulaCalculationSessionService'][_0xdae9be(0x159)](_0x4f046c[_0xdae9be(0x2b3)][_0xdae9be(0x19e)],_0x4a02e7);});}};_0x14e231=_0x40b1f5([_0xf4310f(0x0,_0x3deeb7['ICommandService']),_0xf4310f(0x1,_0x3deeb7[_0x4e5412(0x4b4)]),_0xf4310f(0x2,(0x0,_0x3deeb7[_0x4e5412(0x21a)])(_0x12efe9[_0x4e5412(0x432)])),_0xf4310f(0x3,(0x0,_0x3deeb7[_0x4e5412(0x21a)])(_0x4f046c[_0x4e5412(0x32a)]))],_0x14e231);function _0x33e9a2(_0x7ee2db){const _0x532c6c=_0x4e5412;return typeof _0x7ee2db==_0x532c6c(0x30b)&&!!_0x7ee2db&&_0x532c6c(0x129)in _0x7ee2db&&typeof _0x7ee2db[_0x532c6c(0x129)]=='string'&&'op'in _0x7ee2db&&Array[_0x532c6c(0x2a0)](_0x7ee2db['op']);}function _0x42fab7(_0x15448e){const _0x2a1378=_0x4e5412;return typeof _0x15448e==_0x2a1378(0x30b)&&!!_0x15448e&&_0x2a1378(0x1f4)in _0x15448e&&_0x2a1378(0x3bb)in _0x15448e;}let _0x26aaab=new Set([_0x5318dd['id'],_0x1d2fbd['id'],_0xb45ce2['id']]),_0x2ba131=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(_0x5495f3,_0x4d33b2,_0x3265a7,_0x248052){const _0x2ea8c2=_0x4e5412;super(),this[_0x2ea8c2(0x2d5)]=_0x5495f3,this[_0x2ea8c2(0x1a3)]=_0x4d33b2,this[_0x2ea8c2(0x20b)]=_0x3265a7,this[_0x2ea8c2(0x47f)]=_0x248052,this[_0x2ea8c2(0x47f)][_0x2ea8c2(0x3da)](_0x3deeb7[_0x2ea8c2(0x4ca)][_0x2ea8c2(0x475)])[_0x2ea8c2(0x349)](_0x42987b=>this[_0x2ea8c2(0x440)](_0x42987b['getUnitId']())),this[_0x2ea8c2(0x36c)](this[_0x2ea8c2(0x47f)][_0x2ea8c2(0x17f)](_0x3deeb7[_0x2ea8c2(0x4ca)][_0x2ea8c2(0x475)])[_0x2ea8c2(0x4ea)](({unit:_0x53e673})=>this[_0x2ea8c2(0x440)](_0x53e673[_0x2ea8c2(0x413)]()))),this[_0x2ea8c2(0x36c)](this['_commandService']['beforeCommandExecuted']((_0x411ff6,_0x50ec06)=>this['_check'](_0x411ff6,_0x50ec06))),this[_0x2ea8c2(0x36c)](this[_0x2ea8c2(0x47f)][_0x2ea8c2(0x404)](_0x3deeb7[_0x2ea8c2(0x4ca)][_0x2ea8c2(0x475)])[_0x2ea8c2(0x4ea)](_0x339539=>{const _0x1f12e5=_0x2ea8c2;this[_0x1f12e5(0x2d5)]['get'](_0x3deeb7['ObjectPermissionService'])[_0x1f12e5(0x2e0)](_0x339539[_0x1f12e5(0x413)]()),_0x2b87cf(this[_0x1f12e5(0x20b)],_0x339539['getUnitId']());}));}[_0x4e5412(0x440)](_0x52c930){const _0x4ce4c8=_0x4e5412;_0x107cbb[_0x4ce4c8(0x349)](_0x1c8be9=>{const _0x356e08=_0x4ce4c8;let _0x21d933=_0x2132c5(_0x52c930,_0x52c930,_0x1c8be9);this['_permissionService']['getPermissionPoint'](_0x21d933['id'])||this[_0x356e08(0x20b)][_0x356e08(0x265)](_0x21d933);}),this['_injector']['get'](_0x3deeb7[_0x4ce4c8(0x393)])[_0x4ce4c8(0x4fd)]({'unitId':_0x52c930,'objectId':_0x52c930,'objectType':_0x439352['UnitObject'][_0x4ce4c8(0x559)]});}[_0x4e5412(0x157)](_0x649d65,_0x15f899){const _0x14d52b=_0x4e5412;var _0x322645;if(_0x15f899!=null&&_0x15f899[_0x14d52b(0x1ad)]||_0x15f899!=null&&_0x15f899['fromChangeset'])return;let _0x18435d=_0x10503c(_0x649d65[_0x14d52b(0x348)])?_0x649d65[_0x14d52b(0x348)]:void 0x0;if(_0x15f899!=null&&_0x15f899[_0x14d52b(0x50f)]&&_0x649d65['id']===_0x14d52b(0x2cb)&&(_0x18435d==null?void 0x0:_0x18435d[_0x14d52b(0x187)])===_0x12efe9[_0x14d52b(0x281)]['id'])return;let _0xa795a9=_0x40c470(_0x649d65['id']),_0x447488=_0x435766(_0x18435d==null?void 0x0:_0x18435d[_0x14d52b(0x129)],_0x15f899)??(_0xa795a9?(_0x322645=this[_0x14d52b(0x47f)][_0x14d52b(0x3ab)](_0x3deeb7['UniverInstanceType'][_0x14d52b(0x475)]))==null?void 0x0:_0x322645[_0x14d52b(0x413)]():void 0x0);if(!_0x447488||this['_instanceService'][_0x14d52b(0x3f3)](_0x447488)!==_0x3deeb7['UniverInstanceType'][_0x14d52b(0x475)])return;if(_0xa795a9){if(!_0x2e520a(this[_0x14d52b(0x20b)],_0x447488,_0x447488,_0xa795a9))throw this[_0x14d52b(0x2d5)][_0x14d52b(0x3c1)](_0x3deeb7[_0x14d52b(0x139)])[_0x14d52b(0x4aa)](_0x447488),new _0x3deeb7[(_0x14d52b(0x30a))](_0x14d52b(0x3d3)+_0x439352[_0x14d52b(0x530)][_0xa795a9]+_0x14d52b(0x184));return;}if(_0x26aaab[_0x14d52b(0x10f)](_0x649d65['id'])||!_0x649d65['id'][_0x14d52b(0x247)]('base.command.')&&!_0x649d65['id']['startsWith'](_0x14d52b(0x328)))return;let _0x39ef7c=this[_0x14d52b(0x47f)][_0x14d52b(0x14e)](_0x447488,_0x3deeb7[_0x14d52b(0x4ca)][_0x14d52b(0x475)]),_0x47c5a9=_0x39ef7c?_0xd92a9b(_0x39ef7c,_0x18435d??{},_0x649d65['id']):[];if(!_0x39ef7c||!_0x20e61d(this[_0x14d52b(0x20b)],_0x447488,_0x47c5a9))throw this[_0x14d52b(0x2d5)][_0x14d52b(0x3c1)](_0x3deeb7[_0x14d52b(0x139)])[_0x14d52b(0x4aa)](_0x447488,_0x47c5a9),new _0x3deeb7[(_0x14d52b(0x30a))]('Base\x20edit\x20permission\x20denied.');}};_0x2ba131=_0x40b1f5([_0xf4310f(0x0,(0x0,_0x3deeb7[_0x4e5412(0x21a)])(_0x3deeb7['Injector'])),_0xf4310f(0x1,_0x3deeb7[_0x4e5412(0x400)]),_0xf4310f(0x2,_0x3deeb7[_0x4e5412(0x3ce)]),_0xf4310f(0x3,_0x3deeb7['IUniverInstanceService'])],_0x2ba131);function _0x435766(_0x4419d5,_0x22d920){const _0x243818=_0x4e5412;return typeof _0x4419d5==_0x243818(0x3d4)?_0x4419d5:typeof(_0x22d920==null?void 0x0:_0x22d920[_0x243818(0x129)])=='string'?_0x22d920[_0x243818(0x129)]:void 0x0;}function _0x40c470(_0x2dad3a){const _0x1eac80=_0x4e5412;if(_0x2dad3a===_0x1eac80(0x553)||_0x2dad3a==='bases-exchange-client.operation.export-base-by-format')return _0x439352[_0x1eac80(0x530)][_0x1eac80(0x20e)];if(_0x2dad3a[_0x1eac80(0x247)]('thread-comment.command.')||_0x2dad3a['startsWith'](_0x1eac80(0x33e)))return _0x439352[_0x1eac80(0x530)][_0x1eac80(0x499)];}function _0xd92a9b(_0x53da4f,_0x26026f,_0x5f3d71){const _0xa514e4=_0x4e5412;if(_0x5f3d71===_0xa514e4(0x2cb)&&_0x110151(_0x26026f['op']))return _0xc47f93(_0x53da4f,_0x26026f['op']);let _0x4bbdd6=new Set(),_0x26b015=_0x4adea2(_0x26026f,_0xa514e4(0x561)),_0xcf446f=typeof _0x26026f['tableId']=='string'?_0x26026f['tableId']:_0x26b015[0x0];if(_0x26b015[_0xa514e4(0x349)](_0x5b8a0a=>_0x4bbdd6[_0xa514e4(0x2af)](_0x4088fc(_0x5b8a0a))),!_0xcf446f)return[..._0x4bbdd6];let _0x554d6b=_0x53da4f[_0xa514e4(0x21d)]()[_0xa514e4(0x52f)][_0xcf446f],_0x12ba50=new Set(_0x4adea2(_0x26026f,_0xa514e4(0x283))),_0x2fba05=new Set(_0x4adea2(_0x26026f,_0xa514e4(0x4a2))),_0xc626be=new Set(_0x4adea2(_0x26026f,_0xa514e4(0x142)));return _0x588353(_0x554d6b,_0x26026f[_0xa514e4(0x36e)],_0x2fba05,_0x12ba50),_0x2b6780(_0x26026f,_0x12ba50),_0x12ba50[_0xa514e4(0x349)](_0x1ac30b=>_0x4bbdd6['add'](_0x16c1b7(_0xcf446f,_0x1ac30b))),_0x2fba05['forEach'](_0x40abcf=>_0x4bbdd6[_0xa514e4(0x2af)](_0x2319ee(_0xcf446f,_0x40abcf))),_0xc626be[_0xa514e4(0x349)](_0x10a803=>_0x4bbdd6[_0xa514e4(0x2af)](_0x2d02e6(_0xcf446f,_0x10a803))),[..._0x4bbdd6];}function _0xc47f93(_0x38810c,_0x1ae396){const _0x38d159=_0x4e5412;let _0x3c3bd2=_0x38810c['getSnapshot'](),_0x131b0c=new _0x162342()[_0x38d159(0x270)](_0x1ae396),_0x2dcd2d=_0x9b3a32(_0x1ae396),_0x23a447=new Set();return _0x131b0c[_0x38d159(0x349)](_0x54ee82=>{const _0x3b76bd=_0x38d159;var _0x1ee8ff,_0x2c4689;let {tableId:_0x1ccb2f}=_0x54ee82;if(!_0x1ccb2f)return;_0x23a447[_0x3b76bd(0x2af)](_0x4088fc(_0x1ccb2f));let _0xd5c189=_0x3c3bd2[_0x3b76bd(0x52f)][_0x1ccb2f],_0x5cc2c3=_0x54ee82[_0x3b76bd(0x3b0)]??(_0x54ee82[_0x3b76bd(0x307)]==null||_0xd5c189==null||(_0x1ee8ff=_0xd5c189[_0x3b76bd(0x449)])==null?void 0x0:_0x1ee8ff[_0x54ee82['row']]),_0x2d9b01=_0x54ee82[_0x3b76bd(0x3d9)]??(_0x54ee82[_0x3b76bd(0x2db)]==null||_0xd5c189==null||(_0x2c4689=_0xd5c189['colId'])==null?void 0x0:_0x2c4689[_0x54ee82['column']]);_0x5cc2c3&&_0x23a447[_0x3b76bd(0x2af)](_0x2319ee(_0x1ccb2f,_0x5cc2c3)),_0x2d9b01&&_0x23a447['add'](_0x16c1b7(_0x1ccb2f,_0x2d9b01)),_0x54ee82[_0x3b76bd(0x18c)]&&_0x23a447['add'](_0x2d02e6(_0x1ccb2f,_0x54ee82[_0x3b76bd(0x18c)])),(_0x54ee82[_0x3b76bd(0x4df)]==='table'||_0x2dcd2d[_0x3b76bd(0x10f)](_0x1ccb2f))&&_0xd5c189&&(Object[_0x3b76bd(0x2e5)](_0xd5c189[_0x3b76bd(0x135)])[_0x3b76bd(0x349)](_0x4be66e=>_0x23a447['add'](_0x16c1b7(_0x1ccb2f,_0x4be66e))),Object[_0x3b76bd(0x2e5)](_0xd5c189[_0x3b76bd(0x4ce)])[_0x3b76bd(0x349)](_0x3012c3=>_0x23a447[_0x3b76bd(0x2af)](_0x2319ee(_0x1ccb2f,_0x3012c3))),Object[_0x3b76bd(0x2e5)](_0xd5c189[_0x3b76bd(0x3d0)])['forEach'](_0x214c31=>_0x23a447[_0x3b76bd(0x2af)](_0x2d02e6(_0x1ccb2f,_0x214c31)))),_0x54ee82[_0x3b76bd(0x4df)]===_0x3b76bd(0x4a2)&&_0xd5c189&&Object[_0x3b76bd(0x2e5)](_0xd5c189[_0x3b76bd(0x135)])[_0x3b76bd(0x349)](_0x4729c2=>_0x23a447[_0x3b76bd(0x2af)](_0x16c1b7(_0x1ccb2f,_0x4729c2)));}),_0x131b0c['length']===0x0&&_0x37e1eb(_0x1ae396,_0x38d159(0x2e9))&&Object[_0x38d159(0x2e5)](_0x3c3bd2[_0x38d159(0x52f)])[_0x38d159(0x349)](_0x1da54c=>_0x23a447['add'](_0x4088fc(_0x1da54c))),[..._0x23a447];}function _0x9b3a32(_0x5d522b){let _0x3d164c=new Set(),_0x31dd56=_0x385fb0=>{const _0x86bc=_0x2d78;Array[_0x86bc(0x2a0)](_0x385fb0)&&_0x385fb0[_0x86bc(0x349)]((_0x460355,_0x5e8ab9)=>{const _0x1249fd=_0x86bc;_0x460355===_0x1249fd(0x52f)&&typeof _0x385fb0[_0x5e8ab9+0x1]==_0x1249fd(0x3d4)&&_0x6ef6f3(_0x385fb0[_0x5e8ab9+0x2])&&_0x3d164c[_0x1249fd(0x2af)](_0x385fb0[_0x5e8ab9+0x1]),_0x31dd56(_0x460355);});};return _0x31dd56(_0x5d522b),_0x3d164c;}function _0x6ef6f3(_0x52cd05){const _0x2cfe24=_0x4e5412;return!!_0x52cd05&&typeof _0x52cd05==_0x2cfe24(0x30b)&&!Array[_0x2cfe24(0x2a0)](_0x52cd05)&&('i'in _0x52cd05||'r'in _0x52cd05||'p'in _0x52cd05||'d'in _0x52cd05||'es'in _0x52cd05||_0x2cfe24(0x128)in _0x52cd05||'et'in _0x52cd05);}function _0x37e1eb(_0x5bfdc0,_0x1eb815){const _0x761512=_0x4e5412;return Array[_0x761512(0x2a0)](_0x5bfdc0)&&_0x5bfdc0[_0x761512(0x3a8)](_0x13730f=>_0x13730f===_0x1eb815||_0x37e1eb(_0x13730f,_0x1eb815));}function _0x4adea2(_0x1f9c32,_0x84cb35){let _0x4eb84a=new Set(),_0x26d1ed=_0x84cb35+'Id',_0x557071=_0x84cb35+'Ids',_0x5bffb8=(_0x395d3c,_0x3666dc='')=>{const _0x38c59a=_0x2d78;if(typeof _0x395d3c==_0x38c59a(0x3d4)){_0x3666dc===_0x26d1ed&&_0x4eb84a[_0x38c59a(0x2af)](_0x395d3c);return;}if(Array[_0x38c59a(0x2a0)](_0x395d3c)){_0x3666dc===_0x557071?_0x395d3c['forEach'](_0x1b9b7f=>{const _0x5b7e9c=_0x38c59a;typeof _0x1b9b7f==_0x5b7e9c(0x3d4)&&_0x4eb84a['add'](_0x1b9b7f);}):_0x395d3c[_0x38c59a(0x349)](_0x3899da=>_0x5bffb8(_0x3899da,_0x3666dc));return;}_0x10503c(_0x395d3c)&&Object[_0x38c59a(0x26b)](_0x395d3c)[_0x38c59a(0x349)](([_0x14cf41,_0x5055fe])=>{const _0x4a0789=_0x38c59a;_0x14cf41==='id'&&_0x3666dc===_0x84cb35&&typeof _0x5055fe=='string'?_0x4eb84a[_0x4a0789(0x2af)](_0x5055fe):_0x5bffb8(_0x5055fe,_0x14cf41);});};return _0x5bffb8(_0x1f9c32),[..._0x4eb84a];}function _0x588353(_0x220fc7,_0x1a1cf6,_0x28c425,_0x53a2be){const _0x429992=_0x4e5412;_0x220fc7&&Array['isArray'](_0x1a1cf6)&&_0x1a1cf6[_0x429992(0x349)](_0x1138e7=>{const _0x4a681e=_0x429992;if(!_0x10503c(_0x1138e7))return;let _0x288a58=_0x1138e7;if(typeof _0x288a58[_0x4a681e(0x307)]==_0x4a681e(0x38e)){var _0x23f9b2;let _0x479508=(_0x23f9b2=_0x220fc7[_0x4a681e(0x449)])==null?void 0x0:_0x23f9b2[_0x288a58['row']];_0x479508&&_0x28c425[_0x4a681e(0x2af)](_0x479508);}if(typeof _0x288a58['col']==_0x4a681e(0x38e)){var _0x224fd3;let _0x4e976b=(_0x224fd3=_0x220fc7[_0x4a681e(0x2b4)])==null?void 0x0:_0x224fd3[_0x288a58[_0x4a681e(0x31f)]];_0x4e976b&&_0x53a2be[_0x4a681e(0x2af)](_0x4e976b);}});}function _0x2b6780(_0x4e04ec,_0x43aef7,_0x2d9740=''){const _0xd29a6f=_0x4e5412;if(_0x4e04ec&&typeof _0x4e04ec=='object'){if(Array[_0xd29a6f(0x2a0)](_0x4e04ec)){_0x4e04ec[_0xd29a6f(0x349)](_0x47c5bc=>_0x2b6780(_0x47c5bc,_0x43aef7,_0x2d9740));return;}_0x10503c(_0x4e04ec)&&Object[_0xd29a6f(0x26b)](_0x4e04ec)[_0xd29a6f(0x349)](([_0x55022b,_0x5ed8fd])=>{const _0x4ece1d=_0xd29a6f;_0x2d9740===_0x4ece1d(0x261)&&_0x43aef7[_0x4ece1d(0x2af)](_0x55022b),_0x2b6780(_0x5ed8fd,_0x43aef7,_0x55022b);});}}function _0x110151(_0x60da2a){const _0x4fb743=_0x4e5412;return Array[_0x4fb743(0x2a0)](_0x60da2a);}function _0x10503c(_0x1e534b){const _0x3e8dfc=_0x4e5412;return typeof _0x1e534b==_0x3e8dfc(0x30b)&&!!_0x1e534b&&!Array[_0x3e8dfc(0x2a0)](_0x1e534b);}let _0x14519f=(0x0,_0x3deeb7[_0x4e5412(0x460)])('base.resource.service'),_0x549e21=class{constructor(_0x2b3863){const _0x352358=_0x4e5412;this[_0x352358(0x271)]=_0x2b3863;}['getBase'](_0x472c83){const _0x5e04bb=_0x4e5412;return this['_univerInstanceService'][_0x5e04bb(0x14e)](_0x472c83,_0x3deeb7[_0x5e04bb(0x4ca)][_0x5e04bb(0x475)])??null;}['getAllBases'](){const _0xbb0f5d=_0x4e5412;return this[_0xbb0f5d(0x271)][_0xbb0f5d(0x3da)](_0x3deeb7[_0xbb0f5d(0x4ca)][_0xbb0f5d(0x475)]);}[_0x4e5412(0x4f9)](_0x475fea){const _0x4f7014=_0x4e5412;return this['_univerInstanceService'][_0x4f7014(0x2e3)](_0x3deeb7[_0x4f7014(0x4ca)][_0x4f7014(0x475)],_0x475fea);}};_0x549e21=_0x40b1f5([_0xf4310f(0x0,_0x3deeb7[_0x4e5412(0x4b4)])],_0x549e21);let _0x3ae2ac=(0x0,_0x3deeb7['createIdentifier'])(_0x4e5412(0x10d));var _0x36e662=class extends _0x3deeb7[_0x4e5412(0x1c0)]{constructor(..._0x5fd5ea){const _0x517268=_0x4e5412;super(..._0x5fd5ea),_0x266bce(this,_0x517268(0x2c0),new Map());}[_0x4e5412(0x18e)](_0x2aa179){const _0x2364a0=_0x4e5412;return this[_0x2364a0(0x2c0)]['set'](_0x2aa179['type'],_0x2aa179),(0x0,_0x3deeb7[_0x2364a0(0x4cb)])(()=>this[_0x2364a0(0x2c0)]['delete'](_0x2aa179[_0x2364a0(0x3de)]));}[_0x4e5412(0x3c1)](_0x3d1a83){const _0x1371e1=_0x4e5412;let _0x5320c0=this[_0x1371e1(0x2c0)][_0x1371e1(0x3c1)](_0x3d1a83);if(!_0x5320c0)throw Error(_0x1371e1(0x49e)+_0x3d1a83+_0x1371e1(0x3aa));return _0x5320c0;}[_0x4e5412(0x456)](){const _0x2398ef=_0x4e5412;return Array[_0x2398ef(0x33c)](this['_plugins'][_0x2398ef(0x261)]());}};let _0x18c7af=[_0x59ab20],_0x2f19dc=class extends _0x3deeb7[_0x4e5412(0x204)]{constructor(_0x2dd80b=_0x448e80,_0x59403a,_0x169005,_0x24a9aa,_0x2045eb,_0x1cd4f7){const _0x1478cc=_0x4e5412;super(),this[_0x1478cc(0x4e3)]=_0x2dd80b,this[_0x1478cc(0x2d5)]=_0x59403a,this[_0x1478cc(0x1a3)]=_0x169005,this[_0x1478cc(0x271)]=_0x24a9aa,this[_0x1478cc(0x201)]=_0x2045eb,this[_0x1478cc(0x46e)]=_0x1cd4f7,_0x266bce(this,_0x1478cc(0x130),new Map());let {..._0x3b41d9}=(0x0,_0x3deeb7[_0x1478cc(0x1bc)])({},_0x448e80,this['_config']);this[_0x1478cc(0x201)][_0x1478cc(0x3d5)](_0x1478cc(0x2a5),_0x3b41d9),this[_0x1478cc(0x271)][_0x1478cc(0x44a)](_0x3deeb7['UniverInstanceType']['UNIVER_BASE'],_0x3deeb7[_0x1478cc(0x1a0)]),this['_initDependencies'](),this[_0x1478cc(0x4c1)](),this['_initRegistries'](),this[_0x1478cc(0x370)]();}['onStarting'](){const _0x302a1b=_0x4e5412;this[_0x302a1b(0x2d5)][_0x302a1b(0x2af)]([_0x583254]),this[_0x302a1b(0x36c)](this['_injector'][_0x302a1b(0x3c1)](_0x3deeb7[_0x302a1b(0x400)])[_0x302a1b(0x331)](_0xbae1d7)),this[_0x302a1b(0x36c)](this[_0x302a1b(0x2d5)][_0x302a1b(0x3c1)](_0x3deeb7[_0x302a1b(0x400)])[_0x302a1b(0x331)](_0x3f174f)),this['disposeWithMe'](this[_0x302a1b(0x2d5)]['get'](_0x3deeb7[_0x302a1b(0x393)])[_0x302a1b(0x167)](_0x439352[_0x302a1b(0x120)][_0x302a1b(0x559)],this[_0x302a1b(0x2d5)][_0x302a1b(0x3c1)](_0x583254),_0xbae1d7['id'],_0x3f174f['id']));}[_0x4e5412(0x4eb)](){const _0x23ba8b=_0x4e5412;(0x0,_0x3deeb7['touchDependencies'])(this[_0x23ba8b(0x2d5)],[[_0x549e21],[_0x571937],[_0x70cddb]]),this[_0x23ba8b(0x271)][_0x23ba8b(0x3da)](_0x3deeb7[_0x23ba8b(0x4ca)]['UNIVER_BASE'])[_0x23ba8b(0x349)](_0x5132ae=>this[_0x23ba8b(0x1c4)](_0x5132ae[_0x23ba8b(0x413)]())),(0x0,_0x3deeb7[_0x23ba8b(0x132)])(this['_injector'],[[_0x14e231],[_0x2ba131]]);}['_initDependencies'](){const _0x4ba608=_0x4e5412;[[_0x31028e,{'useClass':_0x2bf61d}],[_0x3ae2ac,{'useClass':_0x36e662}],[_0x2b65d2,{'useClass':_0x26e37c}],[_0x14519f,{'useClass':_0x549e21}],[_0x40267f,{'useClass':_0x3b68f9}],[_0x36bcc9,{'useClass':_0x571937}],[_0x70cddb],[_0x14e231],[_0x2ba131]][_0x4ba608(0x349)](_0x9490bb=>this[_0x4ba608(0x2d5)][_0x4ba608(0x2af)](_0x9490bb));}[_0x4e5412(0x4c1)](){const _0x4faeac=_0x4e5412;[_0x1c1774,_0x5515eb,_0x429691,_0x564789,_0x300a4c,_0x2a35f2,_0x15702d,_0x3f838a,_0x2eca77,_0x1e9559,_0x3e31a9,_0x4831aa,_0xe6d8f,_0x501b4c,_0x5919a3,_0x268c6c,_0x47cf80,_0x25bd9d,_0x2ad297,_0x4f82e2,_0x380238,_0xb45ce2,_0x4ba32c,_0x86992f,_0x3e9d6a,_0x1d3d4a,_0x91357d,_0x53cc18,_0x5a61d8,_0x1360a3,_0x1cac5c,_0x5318dd,_0x1d2fbd,_0x1de8c6,_0x3d1a8b,_0x206f01,_0x38a598,_0x3d2629,_0x389f1a,_0x5acb19,_0x32d27e,..._0x18c7af]['forEach'](_0x3c8c5f=>this[_0x4faeac(0x36c)](this[_0x4faeac(0x1a3)][_0x4faeac(0x331)](_0x3c8c5f))),_0x18c7af[_0x4faeac(0x349)](_0x2b147f=>{const _0x1826d9=_0x4faeac;var _0x3ca482;return(_0x3ca482=this[_0x1826d9(0x46e)])==null?void 0x0:_0x3ca482[_0x1826d9(0x2c4)](_0x2b147f);});}[_0x4e5412(0x370)](){const _0x4387a4=_0x4e5412;this['_dataSyncPrimaryController']&&(this[_0x4387a4(0x36c)](this[_0x4387a4(0x271)][_0x4387a4(0x17f)](_0x3deeb7[_0x4387a4(0x4ca)][_0x4387a4(0x475)])[_0x4387a4(0x4ea)](({unit:_0x50cdb5})=>{const _0x45866f=_0x4387a4;this[_0x45866f(0x1c4)](_0x50cdb5['getUnitId']());})),this['disposeWithMe'](this[_0x4387a4(0x271)]['getTypeOfUnitDisposed$'](_0x3deeb7['UniverInstanceType'][_0x4387a4(0x475)])['subscribe'](_0x3e1fb3=>{const _0x580e8c=_0x4387a4;var _0x69ce48;(_0x69ce48=this['_baseSyncDisposables'][_0x580e8c(0x3c1)](_0x3e1fb3[_0x580e8c(0x413)]()))==null||_0x69ce48[_0x580e8c(0x390)](),this[_0x580e8c(0x130)][_0x580e8c(0x566)](_0x3e1fb3['getUnitId']());})));}[_0x4e5412(0x1c4)](_0x5d6077){const _0x6afa49=_0x4e5412;this[_0x6afa49(0x46e)]&&!this[_0x6afa49(0x130)][_0x6afa49(0x10f)](_0x5d6077)&&this[_0x6afa49(0x130)]['set'](_0x5d6077,this['_dataSyncPrimaryController'][_0x6afa49(0x3b8)](_0x5d6077));}[_0x4e5412(0x12b)](){const _0x3efc97=_0x4e5412;let _0x5857f2=this['_injector'][_0x3efc97(0x3c1)](_0x31028e);_0x3cf3b9()['forEach'](_0xdee0e6=>_0x5857f2[_0x3efc97(0x18e)](_0xdee0e6));let _0x48a299=this[_0x3efc97(0x2d5)][_0x3efc97(0x3c1)](_0x3ae2ac),_0x59af17=this[_0x3efc97(0x2d5)][_0x3efc97(0x3c1)](_0x2b65d2);_0x2b8124()['forEach'](_0x1652e1=>{const _0x394f90=_0x3efc97;_0x48a299[_0x394f90(0x18e)](_0x1652e1),_0x59af17[_0x394f90(0x3c7)](_0x1652e1);});}};_0x266bce(_0x2f19dc,_0x4e5412(0x497),_0x4e5412(0x357)),_0x266bce(_0x2f19dc,_0x4e5412(0x521),_0x7cc6b7),_0x266bce(_0x2f19dc,_0x4e5412(0x49d),_0xabdd6a),_0x266bce(_0x2f19dc,_0x4e5412(0x3de),_0x3deeb7[_0x4e5412(0x4ca)][_0x4e5412(0x475)]),_0x2f19dc=_0x40b1f5([(0x0,_0x3deeb7['DependentOn'])(_0x2c0f8e[_0x4e5412(0x38b)],_0x12efe9[_0x4e5412(0x316)]),_0xf4310f(0x1,(0x0,_0x3deeb7['Inject'])(_0x3deeb7['Injector'])),_0xf4310f(0x2,_0x3deeb7['ICommandService']),_0xf4310f(0x3,_0x3deeb7[_0x4e5412(0x4b4)]),_0xf4310f(0x4,_0x3deeb7[_0x4e5412(0x17d)]),_0xf4310f(0x5,(0x0,_0x3deeb7['Optional'])(_0x56e9fb[_0x4e5412(0x46d)]))],_0x2f19dc);let _0x134eed=class extends _0x3deeb7['Plugin']{constructor(_0x431e05=_0x5d150a,_0x46513d,_0x1fc891,_0x548a14,_0xbc331e){const _0x4daa73=_0x4e5412;super(),this[_0x4daa73(0x4e3)]=_0x431e05,this[_0x4daa73(0x2d5)]=_0x46513d,this[_0x4daa73(0x1a3)]=_0x1fc891,this[_0x4daa73(0x201)]=_0x548a14,this[_0x4daa73(0x271)]=_0xbc331e;let {..._0x39bf33}=(0x0,_0x3deeb7[_0x4daa73(0x1bc)])({},_0x5d150a,this[_0x4daa73(0x4e3)]);this[_0x4daa73(0x201)][_0x4daa73(0x3d5)]('bases.remote.config',_0x39bf33),this['_univerInstanceService'][_0x4daa73(0x44a)](_0x3deeb7[_0x4daa73(0x4ca)]['UNIVER_BASE'],_0x3deeb7[_0x4daa73(0x1a0)]),[[_0x31028e,{'useClass':_0x2bf61d}],[_0x2b65d2,{'useClass':_0x26e37c}]][_0x4daa73(0x349)](_0x3a4683=>this[_0x4daa73(0x2d5)][_0x4daa73(0x2af)](_0x3a4683)),_0x18c7af[_0x4daa73(0x349)](_0x228bea=>this[_0x4daa73(0x36c)](this[_0x4daa73(0x1a3)]['registerCommand'](_0x228bea)));}};_0x266bce(_0x134eed,_0x4e5412(0x497),_0x4e5412(0x2a8)),_0x266bce(_0x134eed,_0x4e5412(0x521),_0x7cc6b7),_0x266bce(_0x134eed,_0x4e5412(0x49d),_0xabdd6a),_0x266bce(_0x134eed,'type',_0x3deeb7[_0x4e5412(0x4ca)]['UNIVER_BASE']),_0x134eed=_0x40b1f5([(0x0,_0x3deeb7[_0x4e5412(0x3fd)])(_0x2c0f8e[_0x4e5412(0x38b)],_0x12efe9[_0x4e5412(0x316)]),_0xf4310f(0x1,(0x0,_0x3deeb7[_0x4e5412(0x21a)])(_0x3deeb7['Injector'])),_0xf4310f(0x2,_0x3deeb7[_0x4e5412(0x400)]),_0xf4310f(0x3,_0x3deeb7[_0x4e5412(0x17d)]),_0xf4310f(0x4,_0x3deeb7[_0x4e5412(0x4b4)])],_0x134eed);function _0x1e9f9d(_0x437a9d){const _0x34b918=_0x4e5412;let _0x4545d5=_0x1bbdc5(_0x437a9d['query']);if(!_0x4545d5)return{'query':'','total':0x0,'matches':[]};let _0x57a4e5=[],_0x6c07fb=[];for(let _0x374609=0x0;_0x374609<_0x437a9d[_0x34b918(0x1ee)]['length'];_0x374609++){if(!(_0x374609 in _0x437a9d[_0x34b918(0x1ee)]))continue;let _0x4a5e7b=_0x437a9d[_0x34b918(0x561)][_0x34b918(0x135)][_0x437a9d[_0x34b918(0x1ee)][_0x374609]];_0x4a5e7b&&_0x6c07fb[_0x34b918(0x296)]({'field':_0x4a5e7b,'fieldIndex':_0x374609});}_0x437a9d[_0x34b918(0x20d)][_0x34b918(0x349)]((_0x4fed8b,_0x2ea3e0)=>{const _0x2fcb45=_0x34b918;_0x6c07fb[_0x2fcb45(0x349)](({field:_0x5be756,fieldIndex:_0x4241d7})=>{const _0xf2a245=_0x2fcb45;let _0x16b3d9=_0x12c0cf(_0x4fed8b[_0xf2a245(0x261)][_0x5be756['id']],_0x5be756);if(!_0x16b3d9)return;let _0x177930=_0x2efec2(_0x4545d5,_0x16b3d9[_0xf2a245(0x508)]);_0x177930<=0x0||_0x57a4e5[_0xf2a245(0x296)]({'recordId':_0x4fed8b[_0xf2a245(0x3b0)],'fieldId':_0x5be756['id'],'fieldType':_0x5be756[_0xf2a245(0x3de)],'text':_0x16b3d9[_0xf2a245(0x2bd)],'score':_0x177930,'rowIndex':_0x2ea3e0,'fieldIndex':_0x4241d7});});}),_0x57a4e5[_0x34b918(0x54f)]((_0x948478,_0x4e5f95)=>_0x4e5f95[_0x34b918(0x464)]-_0x948478[_0x34b918(0x464)]||_0x948478['rowIndex']-_0x4e5f95['rowIndex']||_0x948478['fieldIndex']-_0x4e5f95[_0x34b918(0x4db)]);let _0x2c94dd=_0x437a9d[_0x34b918(0x1ba)]==null?_0x57a4e5:_0x57a4e5[_0x34b918(0x539)](0x0,Math[_0x34b918(0x37f)](0x0,_0x437a9d['limit']));return{'query':_0x4545d5,'total':_0x57a4e5[_0x34b918(0x4b3)],'matches':_0x46c703(_0x2c94dd)};}function _0x12c0cf(_0x4749ba,_0x3787f6){const _0x3894dd=_0x4e5412;let _0x1b7f36=[];for(let _0x2356d4 of _0x357663(_0x4749ba,_0x3787f6)){let _0x706bb2=_0x1bbdc5(_0x2356d4);_0x706bb2&&_0x1b7f36[_0x3894dd(0x296)](_0x706bb2);}return _0x1b7f36[_0x3894dd(0x4b3)]?{'displayText':_0x41ca83(_0x4749ba,_0x3787f6),'searchTexts':_0x5662fd(_0x1b7f36)}:null;}function _0x41ca83(_0x3f5585,_0x14e680){const _0x13c0d9=_0x4e5412;switch(_0x14e680['type']){case _0x3deeb7['BaseFieldType'][_0x13c0d9(0x53f)]:case _0x3deeb7[_0x13c0d9(0x16c)]['MultiSelect']:case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x4cd)]:return _0x4eb83e(_0x3f5585,_0x14e680)[_0x13c0d9(0x289)](',\x20');case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x409)]:return _0x3420d8(_0x3f5585);case _0x3deeb7['BaseFieldType']['Date']:case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x457)]:case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x537)]:return _0x3324e2(_0x3f5585,_0x14e680);case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x312)]:case _0x3deeb7[_0x13c0d9(0x16c)]['Currency']:return _0x5bccd6(_0x3f5585,_0x14e680);case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x169)]:return _0x17abc1(_0x3f5585,_0x14e680);case _0x3deeb7[_0x13c0d9(0x16c)][_0x13c0d9(0x1db)]:return _0x3f5585?'Checked':_0x13c0d9(0x38a);case _0x3deeb7['BaseFieldType']['Attachment']:return _0x12c6e4(_0x3f5585)[_0x13c0d9(0x289)](',\x20');default:return _0x396c35(_0x3f5585);}}function _0x357663(_0x247330,_0x26fc65){const _0x32b883=_0x4e5412;switch(_0x26fc65[_0x32b883(0x3de)]){case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x53f)]:case _0x3deeb7[_0x32b883(0x16c)]['MultiSelect']:case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x4cd)]:{let _0x7477d5=_0x4eb83e(_0x247330,_0x26fc65);if(Array[_0x32b883(0x2a0)](_0x247330)){let _0x3f05f3=[..._0x7477d5];for(let _0x5e71c7=0x0;_0x5e71c7<_0x247330[_0x32b883(0x4b3)];_0x5e71c7++)_0x5e71c7 in _0x247330&&_0x3f05f3[_0x32b883(0x296)](String(_0x247330[_0x5e71c7]));return _0x3f05f3;}return _0x247330==null?_0x7477d5:[..._0x7477d5,String(_0x247330)];}case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x409)]:{let _0x5be593=_0x59f4b8(_0x247330);return[_0x5be593[_0x32b883(0x40a)],_0x5be593[_0x32b883(0x520)]];}case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x44b)]:case _0x3deeb7[_0x32b883(0x16c)]['CreatedAt']:case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x537)]:return[_0x3324e2(_0x247330,_0x26fc65),_0x396c35(_0x247330)];case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x312)]:case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x322)]:return[_0x5bccd6(_0x247330,_0x26fc65),_0x396c35(_0x247330)];case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x169)]:return[_0x17abc1(_0x247330,_0x26fc65),_0x396c35(_0x247330)];case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x1db)]:return _0x247330?['Checked',_0x32b883(0x419),'True']:[_0x32b883(0x38a),'No',_0x32b883(0x278)];case _0x3deeb7[_0x32b883(0x16c)][_0x32b883(0x4a6)]:return _0x12c6e4(_0x247330);default:return[_0x396c35(_0x247330)];}}function _0x4eb83e(_0x7e3cd0,_0x357611){const _0x2ba96d=_0x4e5412;var _0x3ee81f;let _0x2d3313=Array[_0x2ba96d(0x2a0)]((_0x3ee81f=_0x357611[_0x2ba96d(0x505)])==null?void 0x0:_0x3ee81f[_0x2ba96d(0x51a)])?_0x357611[_0x2ba96d(0x505)][_0x2ba96d(0x51a)]:[],_0x3a734a=[];if(Array[_0x2ba96d(0x2a0)](_0x7e3cd0)){for(let _0x1fef2e=0x0;_0x1fef2e<_0x7e3cd0[_0x2ba96d(0x4b3)];_0x1fef2e++){if(!(_0x1fef2e in _0x7e3cd0))continue;let _0x696350=String(_0x7e3cd0[_0x1fef2e]);_0x696350&&_0x3a734a[_0x2ba96d(0x296)](_0x64ce50(_0x2d3313,_0x696350));}return _0x3a734a;}if(_0x7e3cd0!=null){let _0x518161=String(_0x7e3cd0);_0x518161&&_0x3a734a['push'](_0x64ce50(_0x2d3313,_0x518161));}return _0x3a734a;}function _0x64ce50(_0x5d924a,_0x48b89e){const _0x427623=_0x4e5412;for(let _0x55fc3b of _0x5d924a){if(typeof _0x55fc3b=='string'&&_0x55fc3b===_0x48b89e)return _0x55fc3b;if(_0x55fc3b&&typeof _0x55fc3b==_0x427623(0x30b)){let _0x366b86=_0x55fc3b;if(String(_0x366b86['id']??_0x366b86[_0x427623(0x1cd)]??'')===_0x48b89e||String(_0x366b86[_0x427623(0x1cd)]??'')===_0x48b89e)return String(_0x366b86[_0x427623(0x1cd)]??_0x366b86['id']??_0x48b89e);}}return _0x48b89e;}function _0x59f4b8(_0x4f7e27){const _0x3464a9=_0x4e5412;if(_0x4f7e27&&typeof _0x4f7e27=='object'&&!Array['isArray'](_0x4f7e27)){let _0x5fc51c=_0x4f7e27;return{'text':String(_0x5fc51c[_0x3464a9(0x40a)]??_0x5fc51c[_0x3464a9(0x520)]??''),'url':String(_0x5fc51c[_0x3464a9(0x520)]??'')};}return{'text':_0x396c35(_0x4f7e27),'url':_0x396c35(_0x4f7e27)};}function _0x3420d8(_0x37e093){const _0x5b0aca=_0x4e5412;let _0x109ca7=_0x59f4b8(_0x37e093);return _0x109ca7[_0x5b0aca(0x40a)]||_0x109ca7[_0x5b0aca(0x520)];}function _0x3324e2(_0x4d7fbc,_0x3ba93b){const _0x298901=_0x4e5412;return typeof _0x4d7fbc!=_0x298901(0x38e)||!Number[_0x298901(0x2d6)](_0x4d7fbc)?'':_0x4fdbb5(_0x4d7fbc,_0x3ba93b[_0x298901(0x505)]);}function _0x5bccd6(_0x38323e,_0x1559c1){const _0x44178e=_0x4e5412;let _0x467683=typeof _0x38323e==_0x44178e(0x38e)?_0x38323e:Number(_0x38323e);return Number['isFinite'](_0x467683)?_0x383d58(_0x467683,_0x1559c1[_0x44178e(0x505)]):'';}function _0x17abc1(_0x6db02,_0x50cc3c){const _0x58d654=_0x4e5412;let _0xa38376=typeof _0x6db02==_0x58d654(0x38e)?_0x6db02:Number(_0x6db02);return Number[_0x58d654(0x2d6)](_0xa38376)?_0x7cf2b2(_0xa38376,_0x50cc3c[_0x58d654(0x505)]):'';}function _0x12c6e4(_0x39d80f){const _0x1bf7c0=_0x4e5412;return Array[_0x1bf7c0(0x2a0)](_0x39d80f)?_0x39d80f[_0x1bf7c0(0x27f)](_0x2e7efc=>{const _0x31ad57=_0x1bf7c0;if(!_0x2e7efc||typeof _0x2e7efc!=_0x31ad57(0x30b))return[];let _0x2561da=_0x2e7efc,_0x13debd=String(_0x2561da[_0x31ad57(0x1cd)]??_0x2561da[_0x31ad57(0x520)]??'')[_0x31ad57(0x2de)]();return _0x13debd?[_0x13debd]:[];}):[];}function _0x396c35(_0x47568a){const _0x26084b=_0x4e5412;if(_0x47568a==null)return'';if(typeof _0x47568a==_0x26084b(0x490))return _0x47568a?_0x26084b(0x11e):_0x26084b(0x1d9);if(typeof _0x47568a==_0x26084b(0x38e))return String(_0x47568a);if(Array[_0x26084b(0x2a0)](_0x47568a)){let _0x38ac14=[];for(let _0x316c1f=0x0;_0x316c1f<_0x47568a['length'];_0x316c1f++){if(!(_0x316c1f in _0x47568a))continue;let _0x252e78=_0x396c35(_0x47568a[_0x316c1f]);_0x252e78&&_0x38ac14[_0x26084b(0x296)](_0x252e78);}return _0x38ac14[_0x26084b(0x289)](',\x20');}if(typeof _0x47568a==_0x26084b(0x30b)){let _0x21595a=_0x47568a;return String(_0x21595a['title']??_0x21595a[_0x26084b(0x1cd)]??_0x21595a['text']??_0x21595a[_0x26084b(0x520)]??'')[_0x26084b(0x2de)]();}return String(_0x47568a);}function _0x2efec2(_0x36e561,_0x3e17ff){const _0x32ad1b=_0x4e5412;let _0x202c5b=0x0;for(let _0xfcad16 of _0x3e17ff)if(_0xfcad16){if(_0xfcad16===_0x36e561){_0x202c5b=Math[_0x32ad1b(0x37f)](_0x202c5b,0x12c);continue;}if(_0xfcad16[_0x32ad1b(0x247)](_0x36e561)){_0x202c5b=Math[_0x32ad1b(0x37f)](_0x202c5b,0xfa);continue;}_0xfcad16[_0x32ad1b(0x1a5)](_0x36e561)&&(_0x202c5b=Math[_0x32ad1b(0x37f)](_0x202c5b,0xc8));}return _0x202c5b;}function _0x1bbdc5(_0x4a9e7b){const _0x1ee3df=_0x4e5412;return _0x4a9e7b[_0x1ee3df(0x2de)]()[_0x1ee3df(0x362)](/\s+/g,'\x20')[_0x1ee3df(0x4c6)]();}function _0x5662fd(_0x304a12){const _0x581867=_0x4e5412;return Array[_0x581867(0x33c)](new Set(_0x304a12));}function _0x46c703(_0x2fe369){const _0x179a5b=_0x4e5412;let _0x28f53c=[];for(let {rowIndex:_0x19febf,fieldIndex:_0x45477b,..._0x1d4a4d}of _0x2fe369)_0x28f53c[_0x179a5b(0x296)](_0x1d4a4d);return _0x28f53c;}function _0x1d7cdf(_0x5c79f9){const _0x3aa70b=_0x4e5412;return{'compress':!0x0,'kind':_0x3aa70b(0x4f5),'u':_0x5c79f9['unitId'],'t':_0x5c79f9[_0x3aa70b(0x4fe)],'p':_0x5c79f9[_0x3aa70b(0x36e)][_0x3aa70b(0x1fd)](_0x3746b0=>[_0x3746b0[_0x3aa70b(0x307)],_0x3746b0['col'],_0x16ca7c(_0x3746b0['value'])]),..._0x5c79f9[_0x3aa70b(0x187)]===void 0x0?{}:{'g':_0x5c79f9['trigger']}};}function _0x14d937(_0x37e010){if(_0x49a1ff(_0x37e010,'base-range-values-v1'),!_0x39c626(_0x37e010)){if(!_0x312078(_0x37e010))throw Error('[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.');return _0x37e010;}return{'unitId':_0x37e010['u'],'tableId':_0x37e010['t'],'patches':_0x37e010['p']['map'](([_0x3da5ad,_0xa2084,_0x521bc5])=>({'row':_0x3da5ad,'col':_0xa2084,'value':_0x453f3e(_0x521bc5)})),..._0x37e010['g']===void 0x0?{}:{'trigger':_0x37e010['g']}};}function _0x39c626(_0x2d87c){const _0x3baced=_0x4e5412;return!_0x249d9f(_0x2d87c)||_0x2d87c[_0x3baced(0x149)]!==!0x0||_0x2d87c[_0x3baced(0x25e)]!==_0x3baced(0x4f5)?!0x1:typeof _0x2d87c['u']=='string'&&typeof _0x2d87c['t']==_0x3baced(0x3d4)&&(_0x2d87c['g']===void 0x0||typeof _0x2d87c['g']=='string')&&Array[_0x3baced(0x2a0)](_0x2d87c['p'])&&_0x2d87c['p'][_0x3baced(0x41c)](_0xf05e44=>Array[_0x3baced(0x2a0)](_0xf05e44)&&_0xf05e44[_0x3baced(0x4b3)]===0x3&&Number[_0x3baced(0x4f6)](_0xf05e44[0x0])&&Number[_0x3baced(0x4f6)](_0xf05e44[0x1]));}function _0x3f668a(_0x4c1b07){const _0x7b9ba1=_0x4e5412;return!_0x249d9f(_0x4c1b07)||_0x4c1b07[_0x7b9ba1(0x149)]!==!0x0||_0x4c1b07[_0x7b9ba1(0x25e)]!==_0x7b9ba1(0x215)||!_0x249d9f(_0x4c1b07['tables'])?!0x1:Object[_0x7b9ba1(0x261)](_0x4c1b07[_0x7b9ba1(0x52f)])[_0x7b9ba1(0x41c)](_0x533a09=>_0x249d9f(_0x533a09)&&(_0x533a09['cd']===void 0x0||Array[_0x7b9ba1(0x2a0)](_0x533a09['cd'])&&_0x533a09['cd']['every'](_0x2b3cf7=>Array['isArray'](_0x2b3cf7)&&_0x2b3cf7['length']===0x3&&Number['isInteger'](_0x2b3cf7[0x0])&&Number[_0x7b9ba1(0x4f6)](_0x2b3cf7[0x1])&&_0x29425a(_0x2b3cf7[0x2]))));}function _0x16ca7c(_0x18b7f9){return _0x14cd7e(_0x18b7f9)?_0x6711bf(_0x18b7f9):_0x18b7f9;}function _0x453f3e(_0x4a2c1a){return _0x29425a(_0x4a2c1a)?_0x34accb(_0x4a2c1a):_0x4a2c1a;}function _0x6711bf(_0x165e31){return{'c':0x1,..._0x165e31['v']===void 0x0?{}:{'v':_0x165e31['v']},..._0x165e31['t']!==void 0x0&&_0x165e31['t']!==null?{'t':_0x165e31['t']}:_0x165e31['t']===null?{'t':null}:{},..._0x165e31['f']!==void 0x0&&_0x165e31['f']!==null?{'f':_0x165e31['f']}:_0x165e31['f']===null?{'f':null}:{},..._0x165e31['si']!==void 0x0&&_0x165e31['si']!==null?{'si':_0x165e31['si']}:_0x165e31['si']===null?{'si':null}:{},..._0x165e31['p']!==void 0x0&&_0x165e31['p']!==null?{'p':_0x165e31['p']}:_0x165e31['p']===null?{'p':null}:{}};}function _0x34accb(_0x3d3bc7){return{..._0x3d3bc7['v']===void 0x0?{}:{'v':_0x3d3bc7['v']},..._0x3d3bc7['t']===void 0x0?{}:{'t':_0x3d3bc7['t']},..._0x3d3bc7['f']===void 0x0?{}:{'f':_0x3d3bc7['f']},..._0x3d3bc7['si']===void 0x0?{}:{'si':_0x3d3bc7['si']},..._0x3d3bc7['p']===void 0x0?{}:{'p':_0x3d3bc7['p']}};}function _0x14cd7e(_0x515882){const _0xbf864=_0x4e5412;return!!_0x515882&&typeof _0x515882==_0xbf864(0x30b)&&!Array[_0xbf864(0x2a0)](_0x515882)&&(Object[_0xbf864(0x4d3)]['hasOwnProperty'][_0xbf864(0x241)](_0x515882,'v')||Object[_0xbf864(0x4d3)][_0xbf864(0x327)]['call'](_0x515882,'t')||Object['prototype'][_0xbf864(0x327)][_0xbf864(0x241)](_0x515882,'p')||Object[_0xbf864(0x4d3)][_0xbf864(0x327)][_0xbf864(0x241)](_0x515882,'f')||Object[_0xbf864(0x4d3)][_0xbf864(0x327)][_0xbf864(0x241)](_0x515882,'si'));}function _0x29425a(_0x99ddda){return _0x249d9f(_0x99ddda)&&_0x99ddda['c']===0x1;}function _0x312078(_0x4e5774){const _0x4aa4b1=_0x4e5412;return _0x249d9f(_0x4e5774)&&typeof _0x4e5774['unitId']==_0x4aa4b1(0x3d4)&&typeof _0x4e5774['tableId']==_0x4aa4b1(0x3d4)&&(_0x4e5774[_0x4aa4b1(0x187)]===void 0x0||typeof _0x4e5774[_0x4aa4b1(0x187)]==_0x4aa4b1(0x3d4))&&Array[_0x4aa4b1(0x2a0)](_0x4e5774['patches'])&&_0x4e5774[_0x4aa4b1(0x36e)][_0x4aa4b1(0x41c)](_0x3b427c=>_0x249d9f(_0x3b427c)&&Number[_0x4aa4b1(0x4f6)](_0x3b427c[_0x4aa4b1(0x307)])&&Number[_0x4aa4b1(0x4f6)](_0x3b427c[_0x4aa4b1(0x31f)])&&_0x4aa4b1(0x425)in _0x3b427c);}function _0x49a1ff(_0x3f50a2,_0x575cba){const _0x49dd66=_0x4e5412;if(_0x249d9f(_0x3f50a2)&&_0x3f50a2[_0x49dd66(0x149)]===!0x0){if(_0x3f50a2['kind']!==_0x575cba)throw Error(_0x49dd66(0x4f1)+String(_0x3f50a2[_0x49dd66(0x25e)])+'\x22.');if(!(_0x575cba==='base-range-values-v1'?_0x39c626(_0x3f50a2):_0x3f668a(_0x3f50a2)))throw Error(_0x49dd66(0x189)+_0x575cba+'\x22.');}}function _0x249d9f(_0x345329){return!!_0x345329&&typeof _0x345329=='object'&&!Array['isArray'](_0x345329);}_0x17d1c1[_0x4e5412(0x386)]=_0x59ab20,_0x17d1c1[_0x4e5412(0x24f)]=_0x5641b9,_0x17d1c1[_0x4e5412(0x252)]=0x5,_0x17d1c1['BASE_HIERARCHY_PARENT_FIELD_ID']=_0x10f887,_0x17d1c1[_0x4e5412(0x347)]=_0x4e5412(0x38f),_0x17d1c1[_0x4e5412(0x208)]=_0x107cbb,_0x17d1c1[_0x4e5412(0x188)]=_0x47c8e9,_0x17d1c1[_0x4e5412(0x2a7)]=_0x2c3590,_0x17d1c1['BaseFormulaService']=_0x4bcf4f,_0x17d1c1[_0x4e5412(0x42f)]=_0x25ceeb,_0x17d1c1[_0x4e5412(0x178)]=_0x2faa9a,_0x17d1c1[_0x4e5412(0x358)]=_0x2f8f1a,_0x17d1c1[_0x4e5412(0x43c)]=_0x162342,_0x17d1c1[_0x4e5412(0x1f5)]=_0x38af97,_0x17d1c1[_0x4e5412(0x49a)]=_0x2eca77,_0x17d1c1['BatchDeleteBaseRecordsCommand']=_0x3e31a9,_0x17d1c1[_0x4e5412(0x3fe)]=_0x2ad297,_0x17d1c1[_0x4e5412(0x17a)]=_0x3f838a,_0x17d1c1[_0x4e5412(0x2ac)]=_0x5919a3,_0x17d1c1['CreateBaseRecordCommand']=_0x15702d,_0x17d1c1[_0x4e5412(0x459)]=_0x1c1774,_0x17d1c1[_0x4e5412(0x53b)]=_0x4ba32c,_0x17d1c1[_0x4e5412(0x352)]=_0x4f82e2,_0x17d1c1[_0x4e5412(0x242)]=_0x1e9559,_0x17d1c1['DeleteBaseTableCommand']=_0x429691,_0x17d1c1[_0x4e5412(0x542)]=_0x91357d,_0x17d1c1[_0x4e5412(0x233)]=_0x268c6c,_0x17d1c1[_0x4e5412(0x512)]=_0x4831aa,_0x17d1c1['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x14012b,_0x17d1c1[_0x4e5412(0x345)]=_0x86992f,_0x17d1c1['IBaseCommandService']=_0x36bcc9,_0x17d1c1['IBasePermissionService']=_0x40267f,_0x17d1c1[_0x4e5412(0x563)]=_0x2b65d2,_0x17d1c1[_0x4e5412(0x22b)]=_0x3ae2ac,_0x17d1c1['MoveBaseFieldCommand']=_0x380238,_0x17d1c1['MoveBaseHierarchyRecordCommand']=_0x501b4c,_0x17d1c1['MoveBaseViewCommand']=_0x53cc18,_0x17d1c1[_0x4e5412(0x3e5)]=_0x5515eb,_0x17d1c1[_0x4e5412(0x562)]=_0x3e9d6a,_0x17d1c1[_0x4e5412(0x1e6)]=_0x1cac5c,_0x17d1c1['SetBaseNameCommand']=_0x1d3d4a,_0x17d1c1[_0x4e5412(0x3dc)]=_0x5318dd,_0x17d1c1[_0x4e5412(0x54e)]=_0xbae1d7,_0x17d1c1[_0x4e5412(0x465)]=_0x3f174f,_0x17d1c1[_0x4e5412(0x3db)]=_0x1d2fbd,_0x17d1c1[_0x4e5412(0x516)]=_0x2a35f2,_0x17d1c1[_0x4e5412(0x41b)]=_0x300a4c,_0x17d1c1[_0x4e5412(0x3b1)]=_0x3d2629,_0x17d1c1[_0x4e5412(0x22c)]=_0x32d27e,_0x17d1c1[_0x4e5412(0x443)]=_0x389f1a,_0x17d1c1[_0x4e5412(0x529)]=_0x5acb19,_0x17d1c1[_0x4e5412(0x506)]=_0x3d1a8b,_0x17d1c1[_0x4e5412(0x268)]=_0x38a598,_0x17d1c1[_0x4e5412(0x3c6)]=_0x206f01,Object['defineProperty'](_0x17d1c1,_0x4e5412(0x3ea),{'enumerable':!0x0,'get':function(){return _0x2f19dc;}}),Object[_0x4e5412(0x4fb)](_0x17d1c1,_0x4e5412(0x488),{'enumerable':!0x0,'get':function(){return _0x134eed;}}),_0x17d1c1[_0x4e5412(0x392)]=_0x564789,_0x17d1c1['UpdateBaseFieldCommand']=_0x47cf80,_0x17d1c1[_0x4e5412(0x41f)]=_0x25bd9d,_0x17d1c1[_0x4e5412(0x2fe)]=_0x1de8c6,_0x17d1c1[_0x4e5412(0x23e)]=_0xe6d8f,_0x17d1c1[_0x4e5412(0x255)]=_0x1360a3,_0x17d1c1['UpdateBaseViewConfigCommand']=_0x5a61d8,_0x17d1c1['ValidateBaseFormulaCommand']=_0xb45ce2,_0x17d1c1[_0x4e5412(0x4c5)]=_0x4ef46c,_0x17d1c1[_0x4e5412(0x23f)]=_0x385429,_0x17d1c1[_0x4e5412(0x28b)]=_0x24b989,_0x17d1c1[_0x4e5412(0x429)]=_0x20e61d,_0x17d1c1['compressBaseRangeValuesPayload']=_0x1d7cdf,_0x17d1c1[_0x4e5412(0x209)]=_0x3b7dc3,_0x17d1c1['createBaseHierarchyParentField']=_0x182fc2,_0x17d1c1[_0x4e5412(0x47e)]=_0x46122f,_0x17d1c1['createEmbedBasesTable']=_0x26ce6e,_0x17d1c1['createEmbedBasesTableAddMutation']=_0x5bc2d8,_0x17d1c1[_0x4e5412(0x10a)]=_0x362370,_0x17d1c1[_0x4e5412(0x479)]=_0x47bb6a,_0x17d1c1['dateToExcelSerial']=_0x32f655,_0x17d1c1[_0x4e5412(0x3d6)]=_0x14d937,_0x17d1c1[_0x4e5412(0x55f)]=_0x3dd317,_0x17d1c1[_0x4e5412(0x3ff)]=_0x394fe9,_0x17d1c1[_0x4e5412(0x417)]=_0x4fdbb5,_0x17d1c1['formatBaseFieldStatValue']=_0x59856b,_0x17d1c1[_0x4e5412(0x39a)]=_0x383d58,_0x17d1c1[_0x4e5412(0x568)]=_0x7cf2b2,_0x17d1c1[_0x4e5412(0x437)]=_0x162d8c,_0x17d1c1[_0x4e5412(0x1f6)]=_0x24a2ca,_0x17d1c1['getBaseCellValue']=_0x3ff8b9,_0x17d1c1['getBaseConditionalColorOperators']=_0x49c54e,_0x17d1c1[_0x4e5412(0x15b)]=_0x1eaa1f,_0x17d1c1['getBaseFieldPermissionObjectId']=_0x16c1b7,Object['defineProperty'](_0x17d1c1,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x1f46f5=_0x4e5412;return _0x3deeb7[_0x1f46f5(0x173)];}}),_0x17d1c1['getBaseHierarchyDeletePromotions']=_0x1f2f54,_0x17d1c1[_0x4e5412(0x401)]=_0x1e2885,_0x17d1c1[_0x4e5412(0x46b)]=_0x2e520a,_0x17d1c1[_0x4e5412(0x446)]=_0x2319ee,_0x17d1c1[_0x4e5412(0x4c0)]=_0x4088fc,_0x17d1c1[_0x4e5412(0x496)]=_0x2d02e6,_0x17d1c1[_0x4e5412(0x346)]=_0x14bbce,_0x17d1c1[_0x4e5412(0x18a)]=_0x4e0647,_0x17d1c1['getVisibleBaseHierarchyRows']=_0x4ee7ed,_0x17d1c1[_0x4e5412(0x1fe)]=_0x2c2af0,_0x17d1c1[_0x4e5412(0x43e)]=_0xff60f,_0x17d1c1[_0x4e5412(0x300)]=_0x303756,_0x17d1c1[_0x4e5412(0x20a)]=_0x2ec99b,_0x17d1c1['isBaseFieldStatType']=_0xcd232,_0x17d1c1[_0x4e5412(0x501)]=_0x29b167,_0x17d1c1[_0x4e5412(0x113)]=_0x39c626,_0x17d1c1['matchesBaseCondition']=_0x33b572,_0x17d1c1['normalizeBaseDateFieldConfig']=_0x30a3f4,_0x17d1c1[_0x4e5412(0x153)]=_0x9bb2e1,_0x17d1c1['normalizeBaseFieldStatsConfig']=_0x44b791,_0x17d1c1[_0x4e5412(0x2be)]=_0x42b54d,_0x17d1c1[_0x4e5412(0x369)]=_0x275942,_0x17d1c1[_0x4e5412(0x388)]=_0xab969a,_0x17d1c1['resolveBaseHierarchyFieldId']=_0x3de209,_0x17d1c1[_0x4e5412(0x569)]=_0x3ad464,_0x17d1c1[_0x4e5412(0x25d)]=_0x1e9f9d,_0x17d1c1[_0x4e5412(0x2eb)]=_0x1234df,_0x17d1c1[_0x4e5412(0x2c6)]=_0x410517,_0x17d1c1[_0x4e5412(0x1fb)]=_0x2eb728,_0x17d1c1[_0x4e5412(0x14a)]=_0x3fa472,_0x17d1c1[_0x4e5412(0x15c)]=_0x2644d5,_0x17d1c1['validateBaseHierarchyRecordCreations']=_0x2cba79,_0x17d1c1[_0x4e5412(0x395)]=_0x50ed89,_0x17d1c1['validateBaseTableName']=_0x57ed6b,_0x17d1c1[_0x4e5412(0x55d)]=_0x2d8e91,_0x17d1c1['validateRecordLinkField']=_0x6ad206,_0x17d1c1['validateRecordLinkValue']=_0x1be6eb;}));function _0x140d(){const _0x3f9bbf=['_recordPermissions','createUpdateCellOp','primaryFieldId','h12','DependentOn','ChangeBaseFieldTypeCommand','findRecordLinkReferences','ICommandService','getBaseHierarchyFieldId','recordOrder','at\x20index\x20','getTypeOfUnitDisposed$','createViewId','_replaceOptional','decorate','workingDaysOnly','Link','text','numfmt','validateFormula','_filterRows','clear','lessThanOrEqual','Grid','Start\x20date','missingRecord','getUnitId','_formulaCalculationTriggerService','RecordLink','_hierarchyIndexCache','formatBaseDateValue','IS_EMPTY','Yes','BaseProjection.getProjection','SetBaseRecordValuesCommand','every','indexOf','system','UpdateBaseFieldDescriptionCommand','_tablePermissions','unshift','_resolveGalleryCoverFieldId','apply','regenerateViewIds','value','local','default','flat','canEditBaseTargets','AFTER','_fieldRegistry','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Parent\x20Items','BaseHierarchyError','base.command.create-base-view','MMM\x20D,\x20YYYY','FormulaCalculationTriggerService','conditions','436266msCJjm','edit','lastMonth','getActiveBaseHierarchyFieldIds','notContains','createRegExpFromSafeFragment','isValid','Copy','BaseJson1OpApplier','_normalizeCalendarConfig','isBaseConditionalColorDateField','UniverProEngineFormula','_registerUnitPermissionPoints','_recordIds','[RecordLink]:\x20target\x20record\x20\x22','SetBaseViewFieldVisibleCommand','RecordId','_resolveKanbanCardFieldIds','getBaseRecordPermissionObjectId','fieldName','_cellRevisions','rowId','registerCtorForType','Date','deleteTable','excelSerialToDateTime','facade','_globalRevision','calendar','INIT','createBatchCreateRecordsOp','COLUMN','clearTablePermission','frozenFieldCount','getAll','CreatedAt','measure','CreateBaseTableCommand','\x22\x20does\x20not\x20exist.','canDeleteTable','[BaseCommandService]:\x20cannot\x20edit\x20table.','Use\x2031\x20characters\x20or\x20fewer.','setViewGroup','baseRows','createIdentifier','InvalidField','usableAsCardCover','_ganttBarColor','score','SetBasePermissionRulesMutation','pop','_projectTableRows','_normalizeCalendarDisplayColor','_cellInvalidations','duplicateRecord','getBasePermissionValue','Module','DataSyncPrimaryController','_dataSyncPrimaryController','Set','_getCurrentUserId','setBasePermission','[BaseCommandService]:\x20field\x20\x22','objectType','Name','UNIVER_BASE','decimalPlaces','Phone','createBaseFormulaTableNameMap','createUniqueBaseTableName','base.command.update-base-record-order','Clear','_isAllDayGanttDateRange','MaxDepth','createDefaultBaseTableSnapshot','_instanceService','_syncSuperTables','setTablePermission','showFieldNames','ColorKit','manual','MissingParent','base.command.validate-formula','\x22\x20with\x20field\x20type\x20\x22','UniverRemoteBasesPlugin','BaseJson1.json1Apply','collaborators','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','abbreviation','usableAsGanttEnd','thisMonth','formula.mutation.set-formula-calculation-result','boolean','[BaseField]:\x20invalid\x20number\x20value.','view-','_fieldPermissions','Doing','pickerFieldIds','getBaseViewPermissionObjectId','pluginName','tableRevision','Comment','BatchCreateBaseRecordsCommand','Rating','findIndex','version','[BaseViewRegistryService]:\x20view\x20type\x20\x22','UpdatedBy','_title','createTable','record','mark','formulaName','cellRevision','Attachment','_withModifiedSystemValues','orderedRecordIds','showTodayLine','emitPermissionDenied','_canEditTable','owner','syncExecuteCommand','@univerjs/engine-formula','canEditCell','operand','pushUndoRedo','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','length','IUniverInstanceService','custom','set','toStringTag','level','timeslotSize','getFullYear','CreateView','316847WhBzwM','next7','setRule','_disposed','getBaseTablePermissionObjectId','_initCommands','empty','colorFieldId','label','baseDateSerialToDateMs','toLowerCase','missingField','base.command.delete-base-field','maxDepth','UniverInstanceType','toDisposable','_cellInvalidationsTouchFields','Group','records','deleteRecords','\x20must\x20have\x20a\x20non-empty\x20id.','moveView','Edit','prototype','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','base.command.set-permission','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','isValidBaseRecordId','_resolveGanttDateFieldId','Delete','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','fieldIndex','error','amd','_getOrderedRecords','reason','toPlainText','#14b8a6','getProjection','_config','base.command.move-base-hierarchy-record','[BaseCommandService]:\x20cannot\x20create\x20record.','getDependencies','setViewSort','action','toPrimitive','subscribe','onReady','canDeleteField','base.command.set-base-table-hierarchy-field','base.command.move-base-view','medium','base.command.move-base-field','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','_getSystemFieldValue','_getAllTableIds','lastIndexOf','base-range-values-v1','isInteger','star','viewIndexes','createBase','base.command.update-base-kanban-config','defineProperty','group','initializeUnit','tableId','createCreateFieldOp','invalidGanttStartField','isBaseHierarchyField','exact','cycle','Numbering','config','SetBaseViewFilterCommand','lastIndex','searchTexts','_onCommandExecuted','parentFieldName','hostAnchorId','22524lNSkLQ','_executeSuperTableMutationWhileActive','_isAllDayCalendarEvent','onlyLocal','changeFieldType','A\x20table\x20with\x20this\x20name\x20already\x20exists.','DuplicateBaseRecordCommand','Unsupported\x20Base\x20permission\x20object:\x20','_resolveBaseId','Invalid\x20object\x20permission\x20batch.','SetBaseRangeValuesCommand','base.command.create-base-child-record','base.command.set-base-view-field-visible','leftPaneWidth','options','createView','sortedView','yesterday','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','direction','url','packageName','_clearObjectEdit','465468GYluvf','embed-ui','_resolveGalleryCardFieldIds','valueOf','_tableRevisions','children','SetBaseViewFieldWidthCommand','order','updatedAt','_getCellRevision','__base_hierarchy_parent__','bases.fieldConfig.textPlaceholder','tables','UnitAction','deleteField','setViewFieldVisible','deleteRecord','deepClone','IS_NOT_EMPTY','_enqueueFormulaSync','UpdatedAt','find','slice','yyyy/mm/dd','CreateBaseViewCommand','canCreateTable','invertWithDoc','base.command.rename-base-view','SingleSelect','getPermissionPoint','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','DeleteBaseViewCommand','setHours','next30','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','toString','@univerjs-pro/engine-formula','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','base.fieldType.','off','renameFormulaUnitReferences','_projectRows','workingDays','SetBasePermissionRuleMutation','sort','mode','user','groupFieldId','bases-exchange-client.operation.export-base','base.command.set-permissions','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','after','globalRevision','base.command.delete-base-record','Base','[BaseCommandService]:\x20cannot\x20edit\x20record.','Table\x20name\x20is\x20required.','short','validateCanonicalRecordLinkValue','\x20cannot\x20use\x20operator\x20\x22','ensureBaseTableCellLayout','createRecords','table','RenameBaseViewCommand','IBaseProjectionService','endDateFieldId','_sortRows','delete','[BaseProjectionService]:\x20missing\x20view\x20\x22','formatBaseProgressValue','resolveBaseRangeHierarchyPatches','Cycle','base.viewType.gallery','createEmbedBasesTableRemoveMutation','isBaseRecordIdFieldName','saveMany','base.view-registry.service',',,\x22M\x22','has','_clearUnit','allowDangling','toLocaleString','isCompressedBaseRangeValuesPayload','manageView','#BFDBFE','fieldSettings','_normalizeGalleryConfig','constructor','dateFormat','sum','MM-DD','base-perf-','compose','true','BaseHierarchyInvalidReason','UnitObject','save','Person','[BaseCommandService]:\x20invalid\x20cell\x20value.','beforeViewId','base.command.batch-create-base-records','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_normalizeCellValue','ena','unitId','depthByRecordId','_initRegistries','_kanbanLaneTitle','_normalizeGanttConfig','General','_setViewFieldSetting','_baseSyncDisposables','cardSize','touchDependencies','none','rule','fields','changed','descend','basePerf','ErrorService','BaseDashboard','working','data','deletePermissionPoint','createdAt','setViewFieldOrder','revision','21iiRdRb','view','_projectFields','updateViewConfig','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','clearBasePermission','CONTAINS','generateRandomId','compress','uniqueFieldName','BaseViewType','Import','localeCompare','getUnit','createDefaultConfig','@univerjs/core','_isCalendarDateField','invalid','normalizeBaseDateSerial','periodComma',':start','base.command.set-base-record-values','_check','_viewRevisions','markResultApplied','_initialize','getBaseDashboardPermissionObjectId','validateBaseHierarchyMove','abs','-record-','Gantt','_setObjectEdit','getUTCDay','_cacheKey','changes','_getHierarchyIndex','unique','_materializeGroups','registerRuleModel','projection','Progress','selfParent','h24','BaseFieldType','IUndoRedoService','_matchesGanttColorRule','applyOp','ascend','exceptions','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','getBaseFormulaTableName','BOOLEAN','BaseRecordLinkRole','size','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','BaseHierarchyErrorCode','beforeFieldId','CreateBaseChildRecordCommand','GREATER_THAN','stringify','IConfigService','__tempBatchingUndoRedo','getTypeOfUnitAdded$','BaseProjection.projectGroups','then','relationRole','_getTablesToNormalize','\x20permission\x20denied.','createDeleteRecordsUndoOp','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','trigger','BaseConditionalColorRuleUpdateType','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','getSupportedBaseFieldStatTypes','long','viewId','_getViewRevision','register','_scheduleSuperTableSync','invalidField','LESS_THAN','depth','_projectionCache','groups','all','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','import','width','spaceComma','_activeDirtyManagerService','getItem','_buildCalendar','MM/DD/YYYY','BASE','updateRecordOrder','BaseDataModel','strategies','BaseCommand.createBatchCreateRecordsOp','_commandService','STRING','includes','invalidateByCell','duplicateField','_isKanbanGroupField','optionSource','function','_basePermissions','index','fromCollab','[BasePerf]\x20','FORCE_STRING','unknown','_formulaSyncQueue','_getKanbanConfiguredLanes','Facade','BaseField','diffValue','Unsupported\x20Base\x20permission\x20action:\x20','parse','_viewRowsCacheKey','[BaseHierarchy]:\x20field\x20\x22','limit','_getCachedProjection','merge','search','_buildKanban','@univerjs/rpc','Disposable','allowNegative','_resolveKanbanGroupFieldId','subtreeHeightByRecordId','_syncBaseUnit','key','base.command.set-base-view-filter','viewRevision','month','_projectedGroupsCache','MultiSelect','_runtimeContext','PermissionStatus','name','titleFieldId','color','COMMAND','conditional','isEmpty','_fastSortRows','invalidDateField','[DeleteBaseTableCommand]:\x20table\x20\x22','matchAll','Empty','base.command.create-base-table','false','person','Checkbox','[BaseHierarchy]:\x20','getDay','DESC','SelfParent','_createRecordWithDefaults','executeCommand','nodes','canEditField','[BaseField]:\x20invalid\x20progress\x20value.','setSnapshot','SetBaseKanbanGroupFieldCommand','invalid-characters','base.command.update-base-cell','coverFieldId','selectField','card','updateField','invalidateByField','fieldIds','Parent','symbol','setRecordValues','Uncategorized','parentByRecordId','unitData','BaseJson1OpFactory','getBaseCellFormulaValue','canCreateField','\x20has\x20unsupported\x20operator\x20\x22','past30','endsWith','traceBasePerformance','colIndex','map','inferBaseSeparatorStyle','fromEntries','percent','_configService','autoIncrement','_setCachedProjection','Plugin','\x22\x20is\x20referenced\x20by\x20','afterViewId','_buildGrid','BASE_UNIT_PERMISSION_ACTIONS','copyBaseTableSnapshot','isBaseFieldStatSupported','_permissionService','base.command.create-base-record','rows','Export','nameCharacterCheck','base.command.update-base-field','validate','refactorFormulaUnitQualifier','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','conditionalColoring','base-snapshot-v1','round','_applier','formatToParts','allocateBaseFormulaTableName','Inject','_removeSuperTables','Text','getSnapshot','BASE_OBJECT_PERMISSION_PLUGIN','base.viewType.calendar','Undo','getCapabilities','updateCell','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','\x22.\x20Allowed\x20operators:\x20','isNotEmpty','getTime','recordNamePrefix','hourCycle','[BaseFormula]:\x20table\x20\x22','gantt','IBaseViewRegistryService','SetBaseViewFieldOrderCommand','getCurrentUser','path','_createNumberingAllocators','_filterSortFieldIds','progressFieldId','Choose\x20another\x20name.','DuplicateBaseFieldCommand','cell','getUTCDate','valid','NumberFormat','Kanban','BaseTable','Tools','DeleteView','too-long','_isGanttDateField','UpdateBaseRecordOrderCommand','buildBaseHierarchyIndex',',\x22K\x22','call','DeleteBaseRecordCommand','@univerjs-pro/bases','Gallery','DateSystem','create-view','startsWith','JSON1','_isAllowedKanbanGroupField','timeZone','protocol','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_T_','canEditRecord','BASE_FIELD_STAT_TYPES','h:mm\x20a','contains','BASE_HIERARCHY_MAX_LEVELS','invalidReasonByRecordId','_assertFieldDefinition','UpdateBaseViewConditionalColorRulesCommand','assertBaseTableRecordIdentity','hidden','assign','majorHeaders','this-row','[BaseCommandService]:\x20cannot\x20edit\x20field.','_rowTransformCacheSegment','searchBaseTable','kind','_applyFormulaResult','_calendarEventColor','values','past7','@univerjs-pro/license','getAllPermissionPoint','addPermissionPoint','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','SetBaseViewGroupCommand','en-US','updatedBy','entries','resources','spacePeriod','record/','UniverCore','getAffectedRanges','_univerInstanceService','moveField','ObjectMatrix','dateKit','start','setFieldPermission','editable','False','setBaseName','getSuperTableRegistrations','formula','min','Calendar','split','flatMap','__all__','SetFormulaCalculationResultMutation','_groupsCacheKey','field','hierarchy','YYYY-MM-DD','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','_bumpTableRevision','createSuperTableReference','join','[BaseCommandService]:\x20cannot\x20manage\x20view.','calculateBaseFieldStat','embedId','filled','oldParentRecordId','_projectedViewRowsCache','weekdays','getMonth','setRules','canManageView','_patchProjectedRowsForCellInvalidations','attachmentSets','push','rules','base.command.ensure-base-temporal-view-date-fields','_createNumberingFieldValuePatches','base.command.batch-delete-base-records','renameView','count','_resolveKanbanCoverFieldId','dateMode','_getTable','isArray','_factory','BaseSortDirection','major-','_scheduledSuperTableSyncs','bases.config','usableAsCalendarDate','BaseEventSource','REMOTE_BASES_PLUGIN','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','allowMultiple','UTC','CreateBaseFieldCommand','DD/MM/YYYY','185wQVszY','add','_resolveCalendarDateFieldId','sequenceExecute','iterator','FormulaResultApplicationType','colId','653379EiSjRa','createField','BASE_RECORD_ID_FIELD_ID','_getTableRevision','_kanbanGroupKeys','dependencyFieldId','UniverEngineFormula','toFixed','displayText','parseRecordLinkIds','_applyingFormulaResults','_plugins','undo','invertOp','locale','registerSyncingMutations','end','setBasePermissionValue','cellData','base.command.duplicate-base-record','createSetRecordValuesOp','\x20must\x20be\x20an\x20object.','base.mutation.apply-base-json1','JSONX','Formula','quarter','_kanbanLaneColor','BaseConditionalColorOperator','descendPath','_getJson1DirtyData','members','invalidGanttEndField','_injector','isFinite','href','http:','year','_views','column','pattern','date','trim','_rememberTable','clearUnit','_findCalendarDateFieldId','objectId','createUnit','CellValueType','keys','catch','getStructuredDependencies','[BaseCommandService]:\x20cannot\x20delete\x20record.','tableOrder','NUMBER','serializeRecordLinkIds','includeTime','setPoint','_deleteAttachmentResources','[BaseFormula]:\x20table\x20does\x20not\x20exist.','attachments','snapshot','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','lastWeek','BaseJson1.cloneForOp','normalize','[BaseFormula]:\x20field\x20\x22','getUTCMonth','base.command.create-base-field','[BaseCommandService]:\x20record-id\x20is\x20reserved.','_groupCellInvalidations','removeOp','lessThan','_deleteRecordsBaseOp','UpdateBaseKanbanConfigCommand','table/','isBaseFieldStatEmptyValue','usableAsGanttStart','renameTable','rootRecordIds','\x20has\x20unsupported\x20date\x20mode\x20\x22','isNot','BEFORE','row','recordIds','view/','CustomCommandExecutionError','object','childrenByParentId','filter','_projectGroups','invalidateByView','duplicate','_toDirtyRangePatch','Number','setViewFilter','fld-','base.permission.service','UniverProFormulaEnginePlugin','_groupConfigCacheSegment','CreatedBy','getInstance','regexp','delete-view','ruleId','rowIndexById',':end','col','recordPatch','decimal','Currency','canDeleteRecord','fieldOrder','_createRecordOrderOp','BaseJson1.normalizeTables','hasOwnProperty','base.mutation.','before','FormulaCalculationSessionService','attachmentSet','$1\x20','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_isColorfulKanbanGroupField','isNaN','#,##0.00','registerCommand','reduce','#3b82f6','setViewFieldWidth','[BaseField]:\x20invalid\x20email\x20value.','createdBy','large','write','description','_findKanbanGroupField','cardLayout','from','defaultValue','thread-comment.mutation.','BaseView','scale','option-','_tableBaseIds','week','canCreateRecord','EnsureBaseTemporalViewDateFieldsCommand','getRecordLinkFieldConfig','BASE_TABLE_NAME_REQUIREMENTS','params','forEach','[BaseCommandService]:\x20invalid\x20field\x20definition.','_patchCachedProjectedRows','_createSystemFieldValuePatches','_groupProjectionFieldIds','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','subType','_normalizeGanttDisplayColor','separatorStyle','DeleteBaseFieldCommand','thumbnail','UniverProLicense','127544MkFzUs','createBaseRecordIdField','BASES_PLUGIN','BaseHistoryAction','remove','823230bBGgrD','focusUnit','base.viewType.kanban','BaseRecord','displayColor','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','getUTCFullYear','currencySymbol','replace','_canUseFastSort','rowIndex','_projectedRowsCache','_apply','Add','_createNumberingAllocator','projectBaseHierarchy','replaceOp','insertOp','disposeWithMe','_materializeFormulaTableNames','patches','updatePermissionPoint','_initDataSync','title','general','test','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','unsubscribe','_viewRevisionKey','status','useThousands','2ctXTLL','attachment-','_buildGallery','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','target','max','readonly','fromPlainText','raw','[BaseCommandService]:\x20cannot\x20create\x20table.','createCreateRecordOp','SortedView','ApplyBaseJson1Mutation','base.command.set-base-kanban-group-field','resolveBaseDateFieldConfig','canEditTable','Unchecked','UniverLicensePlugin','createRecord','Date1900','number','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','dispose','targetTableId','UpdateBaseCellCommand','ObjectPermissionService','base.command.service','validateBaseHierarchyRecordPatches','format','Failed\x20to\x20create\x20update\x20cell\x20operation:','_registeredSuperTableNames','required','formatBaseNumberValue','redo','base.command.duplicate-base-field','apostrophe','afterFieldId','Todo','field/','viewOrder','doing','conjunction','_getAllBaseDependencyTreeCacheMap','undefined','_formulaCalculationSessionService','displayFieldId','some','orderKey','\x22\x20is\x20not\x20registered.','getCurrentUnitOfType','https://','Redo','base.command.change-base-field-type','_buildGantt','recordId','SetBaseTableHierarchyFieldCommand','_projectHierarchyGroups','editCell','base.command.set-base-view-field-order','base.command.set-base-view-group','unitWidth','parentRecordId','syncUnit','base.command.update-base-field-description','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','unitOtherData','_isNonEmptyCellValue','base.viewType.grid','_resolveCardTitleFieldId','kanban','multiple','get','setViewPermission','normal','now','_viewPermissions','SetBaseViewSortCommand','registerView','forValue','invalidateByOp','Status','base.command.set-base-view-sort','CommandType','recordCount','IPermissionService','base.command.set-base-name','views','_setAttachmentResources','attachment','Base\x20','string','setConfig','decompressBaseRangeValuesPayload','average','splice','fieldId','getAllUnitsForType','SetBasePermissionsCommand','SetBasePermissionCommand','RemoveSuperTableMutation','type','__UNIVER_BASE_PERF__','policy','[RecordLink]:\x20display\x20field\x20\x22','https:','source','tableName','RenameBaseTableCommand','BaseProjection.projectRows','subtreeEndIndex','exports','done','UniverBasesPlugin','startDateFieldId','[BaseField]:\x20invalid\x20date\x20value.','IS_NOT','invalidGroupField','_capabilities','_canEdit','deleteView','BaseConditionalColorTarget','getUnitType','_setFormulaFieldCells','operator','setRangeValues','exec','[RecordLink]:\x20field\x20config\x20is\x20invalid.'];_0x140d=function(){return _0x3f9bbf;};return _0x140d();}
|