@univerjs-pro/bases 1.0.3 → 1.1.0
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/types/fields/field-core-plugin.d.ts +2 -2
- 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 +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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();}
|
|
1
|
+
(function(_0x2ee582,_0x44a226){const _0x33f1ae=_0x4fc5,_0x3f8614=_0x2ee582();while(!![]){try{const _0x4e282d=parseInt(_0x33f1ae(0x2e7))/0x1*(parseInt(_0x33f1ae(0x589))/0x2)+-parseInt(_0x33f1ae(0x188))/0x3+parseInt(_0x33f1ae(0x255))/0x4+-parseInt(_0x33f1ae(0x49f))/0x5+parseInt(_0x33f1ae(0x244))/0x6*(-parseInt(_0x33f1ae(0x2d7))/0x7)+parseInt(_0x33f1ae(0x42e))/0x8*(parseInt(_0x33f1ae(0x4a6))/0x9)+-parseInt(_0x33f1ae(0x5b6))/0xa;if(_0x4e282d===_0x44a226)break;else _0x3f8614['push'](_0x3f8614['shift']());}catch(_0x48dcdc){_0x3f8614['push'](_0x3f8614['shift']());}}}(_0xd0ee,0x66ac1),function(_0x3f700b,_0x38e92f){const _0x36ad3c=_0x4fc5;typeof exports=='object'&&typeof module<'u'?_0x38e92f(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==_0x36ad3c(0x3ac)&&define[_0x36ad3c(0x493)]?define([_0x36ad3c(0x437),_0x36ad3c(0x55d),_0x36ad3c(0x191),'@univerjs/protocol',_0x36ad3c(0x4b3),_0x36ad3c(0x3ef),'@univerjs/engine-formula'],_0x38e92f):(_0x3f700b=typeof globalThis<'u'?globalThis:_0x3f700b||self,_0x38e92f(_0x3f700b[_0x36ad3c(0x17d)]={},_0x3f700b[_0x36ad3c(0x519)],_0x3f700b[_0x36ad3c(0x55a)],_0x3f700b[_0x36ad3c(0x457)],_0x3f700b[_0x36ad3c(0x1f0)],_0x3f700b[_0x36ad3c(0x357)],_0x3f700b[_0x36ad3c(0x2ad)]));}(this,function(_0xed53b0,_0x13cf76,_0x43fb1e,_0x93a0d4,_0x2f1c4f,_0x44eadb,_0x310830){const _0x571676=_0x4fc5;Object[_0x571676(0x1a1)](_0xed53b0,Symbol[_0x571676(0x4ad)],{'value':_0x571676(0x1e9)});function _0x51db2d(_0x33976e){const _0x17388a=_0x571676;let _0x200744=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x267)],_0x5d7c94=_0x33976e['config'][_0x17388a(0x383)],_0x5606ae=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1dd)],_0x3e8d04=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1c0)],_0x48c1e8=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x2fe)];return typeof _0x200744!=_0x17388a(0x2b6)||!_0x200744||typeof _0x5d7c94!=_0x17388a(0x42a)||_0x5606ae!==void 0x0&&(typeof _0x5606ae!=_0x17388a(0x2b6)||!_0x5606ae)||_0x48c1e8!==void 0x0&&_0x48c1e8!==_0x13cf76[_0x17388a(0x521)]['Parent']||_0x3e8d04!==void 0x0&&(!Array[_0x17388a(0x21f)](_0x3e8d04)||_0x3e8d04[_0x17388a(0x1ab)](_0x55a17b=>typeof _0x55a17b!=_0x17388a(0x2b6)||!_0x55a17b)||new Set(_0x3e8d04)['size']!==_0x3e8d04[_0x17388a(0x4e9)])?null:{'targetTableId':_0x200744,'multiple':_0x5d7c94,..._0x5606ae?{'displayFieldId':_0x5606ae}:{},..._0x3e8d04?{'pickerFieldIds':[..._0x3e8d04]}:{},..._0x48c1e8?{'relationRole':_0x48c1e8}:{}};}function _0x5a5d43(_0xcc6c3a){const _0x3230c5=_0x571676;return typeof _0xcc6c3a!=_0x3230c5(0x2b6)||_0xcc6c3a===''?[]:_0xcc6c3a[_0x3230c5(0x21e)](',');}function _0xddc2f4(_0x2c5d64){const _0x1051de=_0x571676;return Array[_0x1051de(0x2ed)](new Set(_0x2c5d64))[_0x1051de(0x4b9)](',');}function _0x35e826(_0x414972,_0x1a939f){const _0xbf4a06=_0x571676;if(typeof _0x414972!='string')return{'valid':!0x1,'reason':_0xbf4a06(0x24b)};if(_0x414972==='')return{'valid':!0x0};let _0x43ec3d=_0x414972[_0xbf4a06(0x21e)](',');return!_0x1a939f&&_0x43ec3d[_0xbf4a06(0x4e9)]>0x1?{'valid':!0x1,'reason':_0xbf4a06(0x499)}:_0x43ec3d['some'](_0x331f13=>!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x331f13))||new Set(_0x43ec3d)[_0xbf4a06(0x366)]!==_0x43ec3d['length']||_0xddc2f4(_0x43ec3d)!==_0x414972?{'valid':!0x1,'reason':_0xbf4a06(0x40d)}:{'valid':!0x0};}function _0x5a4a77(_0x5d7208,_0x41d03c){const _0x19ba63=_0x571676;if(_0x41d03c[_0x19ba63(0x292)]!==_0x13cf76['BaseFieldType'][_0x19ba63(0x5b0)])return{'valid':!0x0};let _0x430b60=_0x51db2d(_0x41d03c),_0x346f6d=_0x430b60?_0x5d7208[_0x19ba63(0x291)][_0x430b60['targetTableId']]:void 0x0;if(!_0x430b60||!_0x346f6d)return{'valid':!0x1,'reason':_0x19ba63(0x21c)};let _0x88690f=[..._0x430b60[_0x19ba63(0x1dd)]?[_0x430b60[_0x19ba63(0x1dd)]]:[],..._0x430b60[_0x19ba63(0x1c0)]??[]][_0x19ba63(0x56a)](_0x42b218=>{const _0x485189=_0x19ba63;let _0xfa355a=_0x346f6d[_0x485189(0x3c2)][_0x42b218];return!_0xfa355a||_0xfa355a[_0x485189(0x4f8)]===!0x0||_0xfa355a[_0x485189(0x292)]===_0x13cf76[_0x485189(0x517)][_0x485189(0x2ea)];});return _0x88690f?{'valid':!0x1,'reason':_0x19ba63(0x27f)+_0x88690f+_0x19ba63(0x4a0)}:{'valid':!0x0};}function _0x5d7c0c(_0x6f3a93,_0x255236,_0x17974a,_0x44479a={}){const _0x522a3f=_0x571676;let _0x6e95ef=_0x51db2d(_0x255236);if(_0x255236[_0x522a3f(0x292)]!==_0x13cf76[_0x522a3f(0x517)][_0x522a3f(0x5b0)]||!_0x6e95ef)return{'valid':!0x1,'reason':_0x522a3f(0x566)};let _0x4959e5=_0x35e826(_0x17974a,_0x6e95ef[_0x522a3f(0x383)]);if(!_0x4959e5[_0x522a3f(0x49e)]||_0x44479a['allowDangling'])return _0x4959e5;let _0x718638=_0x6f3a93[_0x522a3f(0x291)][_0x6e95ef[_0x522a3f(0x267)]];if(!_0x718638)return{'valid':!0x1,'reason':_0x522a3f(0x21c)};let _0x1a667d=_0x5a5d43(_0x17974a)[_0x522a3f(0x56a)](_0x4024fb=>!_0x718638[_0x522a3f(0x38f)][_0x4024fb]);return _0x1a667d?{'valid':!0x1,'reason':_0x522a3f(0x322)+_0x1a667d+_0x522a3f(0x2ec)}:{'valid':!0x0};}function _0x520eb7(_0x3e6cd6,_0x3c021f){const _0x59c0da=_0x571676;return Object[_0x59c0da(0x334)](_0x3e6cd6[_0x59c0da(0x291)])[_0x59c0da(0x387)](_0x198f61=>Object['values'](_0x198f61[_0x59c0da(0x3c2)])['flatMap'](_0x18ea04=>{const _0x21f826=_0x59c0da;let _0x5b88aa=_0x18ea04[_0x21f826(0x292)]===_0x13cf76[_0x21f826(0x517)][_0x21f826(0x5b0)]?_0x51db2d(_0x18ea04):null;return(_0x5b88aa==null?void 0x0:_0x5b88aa[_0x21f826(0x267)])===_0x3c021f?[{'tableId':_0x198f61['id'],'fieldId':_0x18ea04['id']}]:[];}));}let _0x571f6c='__base_hierarchy_parent__',_0x244067=function(_0x441e26){const _0x2c948b=_0x571676;return _0x441e26['InvalidField']=_0x2c948b(0x481),_0x441e26[_0x2c948b(0x36c)]=_0x2c948b(0x2ba),_0x441e26[_0x2c948b(0x2d4)]='selfParent',_0x441e26[_0x2c948b(0x375)]=_0x2c948b(0x3f4),_0x441e26[_0x2c948b(0x2c9)]=_0x2c948b(0x2ab),_0x441e26['SortedView']='sortedView',_0x441e26;}({});var _0x2dec10=class extends Error{constructor(_0x27ebe1,_0x4b56f9='[BaseHierarchy]:\x20'+_0x27ebe1){const _0xd6cd63=_0x571676;super(_0x4b56f9),this[_0xd6cd63(0x568)]=_0x27ebe1,this[_0xd6cd63(0x46d)]=_0xd6cd63(0x486);}};let _0x75538d=function(_0x4a47c4){const _0x58f0af=_0x571676;return _0x4a47c4['UI']='ui',_0x4a47c4[_0x58f0af(0x410)]=_0x58f0af(0x1f9),_0x4a47c4[_0x58f0af(0x35e)]='remote',_0x4a47c4[_0x58f0af(0x2e4)]=_0x58f0af(0x505),_0x4a47c4[_0x58f0af(0x585)]=_0x58f0af(0x3ee),_0x4a47c4[_0x58f0af(0x2d5)]=_0x58f0af(0x330),_0x4a47c4;}({});function _0x53a126(_0x1be716,_0x2c56a3){const _0x5c3b3d=_0x571676;if(!_0x2c56a3)return!0x1;let _0x5614ac=_0x1be716[_0x5c3b3d(0x3c2)][_0x2c56a3];if(!_0x5614ac||_0x5614ac[_0x5c3b3d(0x292)]!==_0x13cf76['BaseFieldType']['RecordLink'])return!0x1;let _0x448a76=_0x51db2d(_0x5614ac);return _0x448a76?_0x448a76[_0x5c3b3d(0x267)]===_0x1be716['id']&&_0x448a76[_0x5c3b3d(0x383)]===!0x1:!0x1;}function _0x19ec27(_0x2d9cf8){const _0x79eea3=_0x571676;return[..._0x2d9cf8[_0x79eea3(0x582)],...Object[_0x79eea3(0x2db)](_0x2d9cf8[_0x79eea3(0x3c2)])[_0x79eea3(0x3c4)](_0x587adb=>!_0x2d9cf8[_0x79eea3(0x582)][_0x79eea3(0x358)](_0x587adb))[_0x79eea3(0x4af)]()]['find'](_0x211339=>{const _0x4c837e=_0x79eea3;var _0x1abe0a;return _0x53a126(_0x2d9cf8,_0x211339)?((_0x1abe0a=_0x51db2d(_0x2d9cf8[_0x4c837e(0x3c2)][_0x211339]))==null?void 0x0:_0x1abe0a[_0x4c837e(0x2fe)])===_0x13cf76[_0x4c837e(0x521)]['Parent']:!0x1;})??null;}function _0x2d5926(_0x22566f){const _0x135839=_0x571676;let _0x531f07=_0x19ec27(_0x22566f);if(_0x531f07)return _0x531f07;let _0x58e015=_0x571f6c,_0x4d541d=0x2;for(;_0x22566f[_0x135839(0x3c2)][_0x58e015];)_0x58e015=_0x571f6c+'_'+_0x4d541d++;return _0x58e015;}function _0xb8ceba(_0x586344,_0x1168fe=_0x2d5926(_0x586344),_0x184084=_0x571676(0x5b4)){const _0x708398=_0x571676;return{'id':_0x1168fe,'name':_0x184084,'type':_0x13cf76[_0x708398(0x517)][_0x708398(0x5b0)],'config':{'targetTableId':_0x586344['id'],'multiple':!0x1,'displayFieldId':_0x586344[_0x708398(0x422)],'pickerFieldIds':[_0x586344[_0x708398(0x422)]],'relationRole':_0x13cf76[_0x708398(0x521)][_0x708398(0x4ce)]}};}function _0x25a1a4(_0x16efcf){let _0x3c1e7b=_0x19ec27(_0x16efcf);return _0x3c1e7b?[_0x3c1e7b]:[];}function _0x226acd(_0x230493,_0x348e7e){const _0x223dcd=_0x571676;let _0x5ae4e0=[..._0x25a1a4(_0x230493)][_0x223dcd(0x3c4)](_0x46bc33=>_0x348e7e['some'](_0x373f25=>Object[_0x223dcd(0x41e)][_0x223dcd(0x189)]['call'](_0x373f25['values'],_0x46bc33)));if(!_0x5ae4e0[_0x223dcd(0x4e9)])return[];let _0x4bd62b={..._0x230493[_0x223dcd(0x38f)]};_0x348e7e[_0x223dcd(0x3c9)](_0x31f5b7=>{const _0x2939f4=_0x223dcd;let _0x55f001=_0x4bd62b[_0x31f5b7[_0x2939f4(0x5c4)]];_0x55f001&&(_0x4bd62b[_0x31f5b7['recordId']]={..._0x55f001,'values':{..._0x55f001['values'],..._0x31f5b7[_0x2939f4(0x334)]}});});let _0x2bfddb={..._0x230493,'records':_0x4bd62b},_0x4556d5=[];return _0x5ae4e0['forEach'](_0x1b7cf3=>{const _0x5179b0=_0x223dcd;let _0x3a4862=_0x4067d3(_0x230493,_0x1b7cf3),_0x30ee4c=_0x4067d3(_0x2bfddb,_0x1b7cf3);for(let [_0x17e4d7,_0x52b416]of _0x30ee4c[_0x5179b0(0x47f)]){let _0x3f290f=_0x348e7e[_0x5179b0(0x1ab)](_0x49e3e3=>_0x49e3e3[_0x5179b0(0x5c4)]===_0x17e4d7&&Object[_0x5179b0(0x41e)]['hasOwnProperty']['call'](_0x49e3e3[_0x5179b0(0x334)],_0x1b7cf3));if(_0x3a4862['invalidReasonByRecordId'][_0x5179b0(0x59c)](_0x17e4d7)!==_0x52b416||_0x3f290f)throw new _0x2dec10(_0x13126b(_0x52b416));}_0x348e7e[_0x5179b0(0x3c9)](_0x3076ff=>{const _0x52365=_0x5179b0;if(!Object['prototype'][_0x52365(0x189)][_0x52365(0x279)](_0x3076ff[_0x52365(0x334)],_0x1b7cf3))return;let _0x5f4693=_0x3a4862[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff['recordId'])??null,_0x3bf75b=_0x30ee4c[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff[_0x52365(0x5c4)])??null;_0x5f4693!==_0x3bf75b&&_0x4556d5[_0x52365(0x401)]({'tableId':_0x230493['id'],'fieldId':_0x1b7cf3,'recordId':_0x3076ff[_0x52365(0x5c4)],'oldParentRecordId':_0x5f4693,'parentRecordId':_0x3bf75b});});}),_0x4556d5;}function _0x16b24a(_0x49b8c4,_0x4e718e){const _0xbc33a8=_0x571676;let _0x359d21=_0x4e718e['map'](_0xde6e9d=>_0xde6e9d['id']);if(new Set(_0x359d21)[_0xbc33a8(0x366)]!==_0x359d21['length']||_0x359d21['some'](_0x45bdae=>_0x49b8c4['records'][_0x45bdae]))return[];let _0x3508ff=_0x25a1a4(_0x49b8c4),_0x4bbbd9=_0x3508ff['length']?null:_0x2d5926(_0x49b8c4),_0x22ce5b=[..._0x3508ff,..._0x4bbbd9&&_0x4e718e['some'](_0x1087e8=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)]['call'](_0x1087e8[_0xbc33a8(0x334)],_0x4bbbd9))?[_0x4bbbd9]:[]][_0xbc33a8(0x3c4)](_0x43157a=>_0x4e718e['some'](_0x146409=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)][_0xbc33a8(0x279)](_0x146409['values'],_0x43157a)));if(!_0x22ce5b['length'])return[];let _0x2eaaa3={..._0x49b8c4,'records':{..._0x49b8c4[_0xbc33a8(0x38f)],...Object[_0xbc33a8(0x1fc)](_0x4e718e['map'](_0x3a0ed4=>[_0x3a0ed4['id'],_0x3a0ed4]))},'recordOrder':[..._0x49b8c4[_0xbc33a8(0x1cd)]??[],..._0x4e718e[_0xbc33a8(0x329)](_0x5990a1=>_0x5990a1['id'])]},_0x578024=[];return _0x22ce5b[_0xbc33a8(0x3c9)](_0x330240=>{const _0x2e3cc0=_0xbc33a8;let _0x173070=_0x4067d3(_0x2eaaa3,_0x330240);_0x4e718e[_0x2e3cc0(0x3c9)](_0x28f811=>{const _0x131b6b=_0x2e3cc0;let _0x334869=_0x173070['invalidReasonByRecordId']['get'](_0x28f811['id']);if(_0x334869)throw new _0x2dec10(_0x13126b(_0x334869));let _0x2cf318=_0x173070[_0x131b6b(0x31b)][_0x131b6b(0x59c)](_0x28f811['id'])??null;_0x2cf318&&_0x578024['push']({'tableId':_0x49b8c4['id'],'fieldId':_0x330240,'recordId':_0x28f811['id'],'oldParentRecordId':null,'parentRecordId':_0x2cf318});});}),_0x578024;}function _0x13126b(_0x380ae6){const _0x10c4d7=_0x571676;switch(_0x380ae6){case _0x13cf76[_0x10c4d7(0x462)]['MissingParent']:return _0x10c4d7(0x2ba);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x2d4)]:return _0x10c4d7(0x41c);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x375)]:return _0x10c4d7(0x3f4);case _0x13cf76[_0x10c4d7(0x462)][_0x10c4d7(0x2c9)]:return'maxDepth';}}function _0xaf3938(_0x3ed24a,_0x44f7b2){const _0x2e2528=_0x571676;let _0x597c5e=new Set(_0x44f7b2),_0x191604=_0x25a1a4(_0x3ed24a);return Object[_0x2e2528(0x334)](_0x3ed24a[_0x2e2528(0x38f)])[_0x2e2528(0x387)](_0xc91bae=>_0x597c5e['has'](_0xc91bae['id'])?[]:Array['from'](_0x191604)[_0x2e2528(0x387)](_0x483ee3=>{const _0x1151c1=_0x2e2528;let _0x3e5ebb=_0x5a5d43(_0xc91bae[_0x1151c1(0x334)][_0x483ee3])[0x0]??null;return _0x3e5ebb&&_0x597c5e[_0x1151c1(0x370)](_0x3e5ebb)?[{'tableId':_0x3ed24a['id'],'fieldId':_0x483ee3,'recordId':_0xc91bae['id'],'oldParentRecordId':_0x3e5ebb,'parentRecordId':null}]:[];}));}function _0x4067d3(_0x1fca16,_0x2ef266,_0x2a9b15=_0x1fca16[_0x571676(0x1cd)]??Object[_0x571676(0x2db)](_0x1fca16[_0x571676(0x38f)])){const _0x6b3a0b=_0x571676;if((_0x1fca16[_0x6b3a0b(0x3c2)][_0x2ef266]||_0x2ef266!==_0x2d5926(_0x1fca16))&&!_0x53a126(_0x1fca16,_0x2ef266))throw Error(_0x6b3a0b(0x22b)+_0x2ef266+_0x6b3a0b(0x448));let _0x2bf127=_0x4ee215(_0x1fca16,_0x2a9b15),_0x5003ba=new Map(),_0x230140=new Map();for(let _0x75c89 of _0x2bf127){var _0x2af7d4;let _0x5b83cc=_0x5a5d43((_0x2af7d4=_0x1fca16[_0x6b3a0b(0x38f)][_0x75c89])==null?void 0x0:_0x2af7d4[_0x6b3a0b(0x334)][_0x2ef266])[0x0]??null;_0x5b83cc?_0x5b83cc===_0x75c89?(_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76['BaseHierarchyInvalidReason'][_0x6b3a0b(0x2d4)])):_0x1fca16[_0x6b3a0b(0x38f)][_0x5b83cc]?_0x5003ba['set'](_0x75c89,_0x5b83cc):(_0x5003ba['set'](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76[_0x6b3a0b(0x462)]['MissingParent'])):_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null);}_0x1557fa(_0x5003ba,_0x230140,_0x2bf127),_0x3cbf33(_0x5003ba,_0x230140,_0x2bf127);let _0x378f4b=new Map(_0x2bf127['map']((_0x16b858,_0x3d02b0)=>[_0x16b858,_0x3d02b0])),_0x263fe2=new Map();for(let _0x5a6cf1 of _0x2bf127){let _0x2e19bb=_0x5003ba['get'](_0x5a6cf1)??null,_0x44143b=_0x263fe2['get'](_0x2e19bb)??[];_0x44143b[_0x6b3a0b(0x401)](_0x5a6cf1),_0x263fe2[_0x6b3a0b(0x569)](_0x2e19bb,_0x44143b);}_0x263fe2[_0x6b3a0b(0x3c9)](_0x277e22=>_0x277e22[_0x6b3a0b(0x4af)]((_0x2940f9,_0x3d66e6)=>(_0x378f4b[_0x6b3a0b(0x59c)](_0x2940f9)??0x0)-(_0x378f4b['get'](_0x3d66e6)??0x0)));let _0x800be0=_0x263fe2[_0x6b3a0b(0x59c)](null)??[],_0x52bc43=new Map(),_0x156b86=new Map(),_0x4a8212=[],_0x152362=(_0x407479,_0x495adf)=>{const _0xf38bb4=_0x6b3a0b;_0x52bc43[_0xf38bb4(0x569)](_0x407479,_0x495adf),_0x4a8212[_0xf38bb4(0x401)](_0x407479);let _0x26d656=0x0;for(let _0x4b645b of _0x263fe2['get'](_0x407479)??[])_0x26d656=Math['max'](_0x26d656,0x1+_0x152362(_0x4b645b,_0x495adf+0x1));return _0x156b86[_0xf38bb4(0x569)](_0x407479,_0x26d656),_0x26d656;};return _0x800be0[_0x6b3a0b(0x3c9)](_0x217cc5=>_0x152362(_0x217cc5,0x0)),{'fieldId':_0x2ef266,'parentByRecordId':_0x5003ba,'childrenByParentId':_0x263fe2,'depthByRecordId':_0x52bc43,'subtreeHeightByRecordId':_0x156b86,'invalidReasonByRecordId':_0x230140,'rootRecordIds':_0x800be0,'orderedRecordIds':_0x4a8212};}function _0x4ceb91(_0x3158bc,_0x25d0ee,_0x359045=new Set(_0x25d0ee[_0x571676(0x329)](_0x29895b=>_0x29895b[_0x571676(0x5c4)]))){const _0x41eff1=_0x571676;let _0x4111f3=new Set(_0x359045);for(let _0x54398b of _0x359045){let _0x385dae=_0x3158bc['parentByRecordId']['get'](_0x54398b)??null;for(;_0x385dae;)_0x4111f3[_0x41eff1(0x54c)](_0x385dae),_0x385dae=_0x3158bc['parentByRecordId'][_0x41eff1(0x59c)](_0x385dae)??null;}let _0x5a31fc=new Map(_0x25d0ee[_0x41eff1(0x329)](_0x527881=>[_0x527881[_0x41eff1(0x5c4)],_0x527881])),_0x245902=_0x3158bc[_0x41eff1(0x5d5)][_0x41eff1(0x3c4)](_0x218d95=>_0x4111f3['has'](_0x218d95)),_0x1a395d=_0x245902[_0x41eff1(0x387)](_0x146cf2=>{const _0x1873d1=_0x41eff1;let _0x3e093d=_0x5a31fc[_0x1873d1(0x59c)](_0x146cf2);return _0x3e093d?[_0x3e093d]:[];}),_0x3580c6={};for(let _0x15601d=0x0;_0x15601d<_0x245902['length'];_0x15601d++){let _0x1d9fcf=_0x245902[_0x15601d];_0x3580c6[_0x1d9fcf]={'recordId':_0x1d9fcf,'parentRecordId':_0x3158bc[_0x41eff1(0x31b)]['get'](_0x1d9fcf)??null,'depth':_0x3158bc[_0x41eff1(0x45b)]['get'](_0x1d9fcf)??0x0,'directChildCount':(_0x3158bc[_0x41eff1(0x296)]['get'](_0x1d9fcf)??[])[_0x41eff1(0x4e9)],'subtreeHeight':_0x3158bc[_0x41eff1(0x538)][_0x41eff1(0x59c)](_0x1d9fcf)??0x0,'subtreeEndIndex':_0x15601d,'invalidReason':_0x3158bc[_0x41eff1(0x47f)]['get'](_0x1d9fcf)};}let _0x4c28ac=[];for(let _0x1d708d=0x0;_0x1d708d<_0x245902['length'];_0x1d708d++){let _0x12e88a=_0x245902[_0x1d708d],_0x20abba=_0x3580c6[_0x12e88a][_0x41eff1(0x41a)];for(;_0x4c28ac[_0x41eff1(0x4e9)]&&_0x4c28ac[_0x4c28ac[_0x41eff1(0x4e9)]-0x1][_0x41eff1(0x41a)]>=_0x20abba;){let _0x18a975=_0x4c28ac['pop']();_0x3580c6[_0x18a975[_0x41eff1(0x5c4)]]['subtreeEndIndex']=_0x1d708d-0x1;}_0x4c28ac[_0x41eff1(0x401)]({'recordId':_0x12e88a,'depth':_0x20abba});}return _0x4c28ac[_0x41eff1(0x3c9)](({recordId:_0x5a54fd})=>{const _0x33844d=_0x41eff1;_0x3580c6[_0x5a54fd][_0x33844d(0x28d)]=_0x245902[_0x33844d(0x4e9)]-0x1;}),{'rows':_0x1a395d,'hierarchy':{'fieldId':_0x3158bc['fieldId'],'rootRecordIds':_0x3158bc[_0x41eff1(0x549)][_0x41eff1(0x3c4)](_0x39a010=>_0x4111f3['has'](_0x39a010)),'orderedRecordIds':_0x245902,'nodes':_0x3580c6}};}function _0x4e1dc3(_0x52d34c,_0x120d30){const _0xeb51ce=_0x571676;if(!_0x52d34c[_0xeb51ce(0x206)]||!(_0x120d30!=null&&_0x120d30[_0xeb51ce(0x366)]))return _0x52d34c['rows'];let _0x3c3a9e=[],_0x4f8431=0x0;for(;_0x4f8431<_0x52d34c['rows'][_0xeb51ce(0x4e9)];){let _0xbc255b=_0x52d34c[_0xeb51ce(0x3f0)][_0x4f8431];_0x3c3a9e[_0xeb51ce(0x401)](_0xbc255b);let _0x1000a6=_0x52d34c[_0xeb51ce(0x206)]['nodes'][_0xbc255b[_0xeb51ce(0x5c4)]];_0x4f8431=_0x120d30[_0xeb51ce(0x370)](_0xbc255b[_0xeb51ce(0x5c4)])&&_0x1000a6?_0x1000a6[_0xeb51ce(0x28d)]+0x1:_0x4f8431+0x1;}return _0x3c3a9e;}function _0x158fff(_0x2b30db,_0x3fd08d,_0x40061b){const _0x59d023=_0x571676;if(!_0x40061b)return{'valid':!0x0};if(_0x3fd08d===_0x40061b)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x2d4)]};let _0xa26a47=_0x40061b;for(;_0xa26a47;){if(_0xa26a47===_0x3fd08d)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x375)]};_0xa26a47=_0x2b30db['parentByRecordId'][_0x59d023(0x59c)](_0xa26a47)??null;}return(_0x2b30db[_0x59d023(0x45b)][_0x59d023(0x59c)](_0x40061b)??0x0)+0x1+(_0x2b30db[_0x59d023(0x538)][_0x59d023(0x59c)](_0x3fd08d)??0x0)>=0x5?{'valid':!0x1,'reason':_0x13cf76['BaseHierarchyInvalidReason'][_0x59d023(0x2c9)]}:{'valid':!0x0};}function _0x4ee215(_0x1bfc4e,_0x6fcfe9){const _0x1abade=_0x571676;let _0x37a3f6=new Set(),_0x3a7b6a=[];for(let _0xf9d1d5 of _0x6fcfe9)_0x1bfc4e[_0x1abade(0x38f)][_0xf9d1d5]&&!_0x37a3f6['has'](_0xf9d1d5)&&(_0x37a3f6[_0x1abade(0x54c)](_0xf9d1d5),_0x3a7b6a['push'](_0xf9d1d5));return Object[_0x1abade(0x2db)](_0x1bfc4e[_0x1abade(0x38f)])['sort']()[_0x1abade(0x3c9)](_0x498cc2=>{const _0x36fbad=_0x1abade;_0x37a3f6[_0x36fbad(0x370)](_0x498cc2)||_0x3a7b6a[_0x36fbad(0x401)](_0x498cc2);}),_0x3a7b6a;}function _0x1557fa(_0x2a0d0f,_0x1fa4b6,_0xfbeca6){const _0xa302ef=_0x571676;let _0xfc0c1e=new Set();for(let _0x13ffab of _0xfbeca6){if(_0xfc0c1e['has'](_0x13ffab))continue;let _0x590a7f=[],_0x22c4f0=new Map(),_0x57d354=_0x13ffab;for(;_0x57d354&&!_0xfc0c1e[_0xa302ef(0x370)](_0x57d354);){let _0x4f66fe=_0x22c4f0[_0xa302ef(0x59c)](_0x57d354);if(_0x4f66fe!=null){let _0x3c449a=[..._0x590a7f[_0xa302ef(0x377)](_0x4f66fe)][_0xa302ef(0x4af)]()[_0xa302ef(0x4e4)]();_0x2a0d0f['set'](_0x3c449a,null),_0x1fa4b6['set'](_0x3c449a,_0x13cf76['BaseHierarchyInvalidReason'][_0xa302ef(0x375)]);break;}_0x22c4f0['set'](_0x57d354,_0x590a7f[_0xa302ef(0x4e9)]),_0x590a7f[_0xa302ef(0x401)](_0x57d354),_0x57d354=_0x2a0d0f[_0xa302ef(0x59c)](_0x57d354)??null;}_0x590a7f[_0xa302ef(0x3c9)](_0x3f0fea=>_0xfc0c1e['add'](_0x3f0fea));}}function _0x3cbf33(_0xbd46f4,_0x2acab0,_0x459583){const _0x20c412=_0x571676;let _0x5894ab=new Map(),_0x6759c3=_0x2eb869=>{const _0x3cb11b=_0x4fc5;let _0x4ce513=_0x5894ab[_0x3cb11b(0x59c)](_0x2eb869);if(_0x4ce513!=null)return _0x4ce513;let _0x18f0bc=_0xbd46f4[_0x3cb11b(0x59c)](_0x2eb869)??null;if(!_0x18f0bc)return _0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0;let _0x76c73e=_0x6759c3(_0x18f0bc)+0x1;return _0x76c73e>=0x5?(_0xbd46f4[_0x3cb11b(0x569)](_0x2eb869,null),_0x2acab0[_0x3cb11b(0x569)](_0x2eb869,_0x13cf76[_0x3cb11b(0x462)][_0x3cb11b(0x2c9)]),_0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0):(_0x5894ab['set'](_0x2eb869,_0x76c73e),_0x76c73e);};_0x459583[_0x20c412(0x3c9)](_0x6759c3);}let _0x18bf57=0x0;function _0x60e31d(){const _0x979aa6=_0x571676;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x508164=typeof location>'u'?'':location[_0x979aa6(0x2b2)],_0x47bf1f=new URLSearchParams(_0x508164);if(_0x47bf1f[_0x979aa6(0x59c)]('basePerf')==='1'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x42b))==='true'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x475))==='1')return!0x0;}catch{}try{let _0x5a7431=typeof localStorage>'u'?null:localStorage[_0x979aa6(0x2e6)]('univer.basePerf');return _0x5a7431==='1'||_0x5a7431===_0x979aa6(0x477);}catch{return!0x1;}}function _0x32800a(_0x57236f,_0x992e0c,_0x40c6cd){const _0x34cac1=_0x571676;if(!_0x60e31d())return _0x992e0c();let _0x28bf42=_0x4de031(),_0x5506ab=_0x34cac1(0x1a8)+_0x18bf57++;_0x5d9b82(_0x5506ab+_0x34cac1(0x1f5));try{return _0x992e0c();}finally{let _0x432dce=_0x4de031()-_0x28bf42;_0x5d9b82(_0x5506ab+':end'),_0x46f238(_0x57236f,_0x5506ab+_0x34cac1(0x1f5),_0x5506ab+_0x34cac1(0x276)),_0x159ee3(_0x57236f,_0x432dce,_0x40c6cd);}}function _0x159ee3(_0x303a0f,_0x339577,_0x412f5d){const _0x4d0d78=_0x571676;if(!_0x60e31d())return;let _0x41b54a=Math['round'](_0x339577*0x64)/0x64,_0x2d2b81=_0x412f5d&&Object[_0x4d0d78(0x2db)](_0x412f5d)['length']?'\x20'+JSON[_0x4d0d78(0x30d)](_0x412f5d):'';console[_0x4d0d78(0x2c1)](_0x4d0d78(0x308)+_0x303a0f+':\x20'+_0x41b54a+'ms'+_0x2d2b81);}function _0x4de031(){const _0x17d879=_0x571676;return typeof performance<'u'&&typeof performance[_0x17d879(0x5e4)]==_0x17d879(0x3ac)?performance['now']():Date[_0x17d879(0x5e4)]();}function _0x5d9b82(_0x410fb2){const _0x4af60c=_0x571676;try{if(typeof performance<'u'){var _0x400d89,_0x32cd22;(_0x400d89=(_0x32cd22=performance)[_0x4af60c(0x19c)])==null||_0x400d89[_0x4af60c(0x279)](_0x32cd22,_0x410fb2);}}catch{}}function _0x46f238(_0xb6fe07,_0x3b6bd4,_0x3de883){const _0x1c4ac0=_0x571676;try{if(typeof performance<'u'){var _0x216f82,_0x6e1ab9;(_0x216f82=(_0x6e1ab9=performance)['measure'])==null||_0x216f82[_0x1c4ac0(0x279)](_0x6e1ab9,_0x1c4ac0(0x308)+_0xb6fe07,_0x3b6bd4,_0x3de883);}}catch{}}function _0x48b6e1(_0x342547){const _0x3af999=_0x571676;var _0x2f54ad;return _0x60e31d()?_0x32800a(_0x3af999(0x202),()=>_0x2bae1e(_0x342547),{'tableId':_0x342547['id'],'records':Object[_0x3af999(0x2db)](_0x342547[_0x3af999(0x38f)]??{})['length'],'fields':_0x342547['fieldOrder'][_0x3af999(0x4e9)],'hasRecordOrder':!!((_0x2f54ad=_0x342547[_0x3af999(0x1cd)])!=null&&_0x2f54ad[_0x3af999(0x4e9)])}):_0x2bae1e(_0x342547);}function _0x2bae1e(_0x5a6ad6){const _0x3dd784=_0x571676;var _0x2669f5;let _0x487cd9=_0x5a6ad6[_0x3dd784(0x38f)]??{},_0x3c3877=_0x5a6ad6['fields']??{},_0x3ae235=((_0x2669f5=_0x5a6ad6['recordOrder'])==null?void 0x0:_0x2669f5['filter'](_0x373a13=>_0x487cd9[_0x373a13]))??[],_0x2341e6=new Set(_0x3ae235),_0x3ea379=[];for(let _0x3a954e of Object['values'](_0x487cd9))_0x2341e6[_0x3dd784(0x370)](_0x3a954e['id'])||_0x3ea379[_0x3dd784(0x401)](_0x3a954e);let _0x15cb3b=_0x3ea379[_0x3dd784(0x4e9)]?[..._0x3ae235,..._0x50f6b3(_0x3ea379)]:_0x3ae235,_0x5056b7=_0x5a6ad6[_0x3dd784(0x582)][_0x3dd784(0x3c4)](_0x3e310f=>_0x3c3877[_0x3e310f]),_0x166e14={..._0x5a6ad6[_0x3dd784(0x556)]??{}},_0x708379={..._0x5a6ad6['colId']??{}},_0x4e0658={..._0x5a6ad6[_0x3dd784(0x38e)]??{}};_0x5a6ad6['recordOrder']=_0x15cb3b,_0x5a6ad6['rowIndex']={},_0x5a6ad6[_0x3dd784(0x556)]={},_0x5a6ad6[_0x3dd784(0x28e)]={},_0x5a6ad6['colId']={},_0x5a6ad6[_0x3dd784(0x38e)]={},_0x5a6ad6[_0x3dd784(0x23c)]={..._0x5a6ad6['resources']??{}},_0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]={..._0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]??{}},_0x5a6ad6['resources']['attachments']={..._0x5a6ad6['resources']['attachments']??{}};let _0x197219=_0x5a6ad6[_0x3dd784(0x563)],_0x390dc4=_0x5a6ad6[_0x3dd784(0x556)],_0x17fc9e=_0x5a6ad6[_0x3dd784(0x28e)],_0x1bdb63=_0x5a6ad6[_0x3dd784(0x351)],_0x31478c=_0x5a6ad6[_0x3dd784(0x38e)];return _0x15cb3b['forEach']((_0x223855,_0x238a1f)=>{_0x197219[_0x223855]=_0x238a1f,_0x390dc4[_0x238a1f]=_0x223855;}),_0x5056b7[_0x3dd784(0x3c9)]((_0x28e6aa,_0x4afbae)=>{_0x17fc9e[_0x28e6aa]=_0x4afbae,_0x1bdb63[_0x4afbae]=_0x28e6aa;}),Object[_0x3dd784(0x460)](_0x4e0658)[_0x3dd784(0x3c9)](([_0x417552,_0x4b8466])=>{let _0x3bceaa=Number(_0x417552),_0x1aab66=_0x166e14[_0x3bceaa]??_0x15cb3b[_0x3bceaa],_0x40a035=_0x1aab66?_0x197219[_0x1aab66]:void 0x0;_0x40a035!=null&&(_0x31478c[_0x40a035]={..._0x31478c[_0x40a035]??{}},Object['entries'](_0x4b8466??{})['forEach'](([_0x5799d3,_0x19c0f1])=>{let _0x4e4343=Number(_0x5799d3),_0x35ea75=_0x708379[_0x4e4343]??_0x5056b7[_0x4e4343],_0x4dff7c=_0x35ea75?_0x17fc9e[_0x35ea75]:void 0x0;_0x4dff7c!=null&&(_0x31478c[_0x40a035][_0x4dff7c]=_0xfd4c49(_0x19c0f1));}));}),Object['values'](_0x487cd9)[_0x3dd784(0x3c9)](_0x2c9654=>{const _0x4a1719=_0x3dd784;let _0x593287=_0x197219[_0x2c9654['id']];_0x593287!=null&&(_0x2c9654[_0x4a1719(0x334)]={..._0x2c9654['values']??{},[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x2c9654['id']},_0x31478c[_0x593287]={..._0x31478c[_0x593287]??{},0x0:{'v':_0x2c9654['id'],'t':_0x13cf76[_0x4a1719(0x32d)][_0x4a1719(0x562)]}},Object[_0x4a1719(0x460)](_0x2c9654['values']??{})[_0x4a1719(0x3c9)](([_0x20c5b8,_0x11f46e])=>{const _0x554a03=_0x4a1719;let _0x295371=_0x3c3877[_0x20c5b8];(_0x295371==null?void 0x0:_0x295371[_0x554a03(0x292)])===_0x13cf76[_0x554a03(0x517)][_0x554a03(0x312)]&&_0x9b3645(_0x5a6ad6,_0x2c9654['id'],_0x20c5b8,_0x11f46e);let _0xd6e262=_0x17fc9e[_0x20c5b8];if(_0xd6e262==null)return;let _0xc5338e=_0x31478c[_0x593287][_0xd6e262];(_0xc5338e==null||_0x58e19b(_0xc5338e,_0x295371,_0x11f46e))&&(_0x31478c[_0x593287][_0xd6e262]=_0x4c5834(_0x11f46e,_0x295371));}));}),_0x5a6ad6;}function _0x2a0625(_0x1ac0cf,_0x284975){const _0x378b22=_0x571676;return _0x1ac0cf[_0x378b22(0x38f)]=Object[_0x378b22(0x1fc)](Object[_0x378b22(0x460)](_0x1ac0cf[_0x378b22(0x38f)])[_0x378b22(0x329)](([_0x4d9a02,_0x2c44c3])=>[_0x4d9a02,{..._0x2c44c3}])),_0x48b6e1(_0x1ac0cf),Object[_0x378b22(0x460)](_0x1ac0cf['rowId']??{})['forEach'](([_0x203ab1,_0x5ee146])=>{const _0x2d3884=_0x378b22;var _0x27a87f;let _0x4cea3c=Number(_0x203ab1),_0x23950a=_0x1ac0cf[_0x2d3884(0x38f)][_0x5ee146];_0x23950a&&(_0x23950a[_0x2d3884(0x334)]={..._0x23950a['values']??{}},Object[_0x2d3884(0x460)](((_0x27a87f=_0x1ac0cf[_0x2d3884(0x38e)])==null?void 0x0:_0x27a87f[_0x4cea3c])??{})[_0x2d3884(0x3c9)](([_0x145c08,_0x30cc9a])=>{const _0x41b60f=_0x2d3884;var _0x576b96;let _0x14d97d=(_0x576b96=_0x1ac0cf[_0x41b60f(0x351)])==null?void 0x0:_0x576b96[Number(_0x145c08)];_0x14d97d&&_0x284975&&!_0x284975(_0x5ee146,_0x14d97d)||(_0x14d97d===_0x13cf76[_0x41b60f(0x544)]?_0x23950a[_0x41b60f(0x334)][_0x13cf76[_0x41b60f(0x544)]]=_0x23950a['id']:_0x14d97d&&(_0x23950a['values'][_0x14d97d]=_0x17b274(_0x30cc9a,_0x1ac0cf['fields'][_0x14d97d],_0x1ac0cf,_0x5ee146)));}));}),_0x1ac0cf;}function _0x4ff55d(_0x5be9f1,_0xd1444c){const _0x3ebd63=_0x571676;for(let {row:_0x3729d5,col:_0x43048f}of _0xd1444c){var _0x3f1cdc,_0x250820,_0x2d007d;let _0x267644=(_0x3f1cdc=_0x5be9f1['rowId'])==null?void 0x0:_0x3f1cdc[_0x3729d5],_0x315f54=(_0x250820=_0x5be9f1[_0x3ebd63(0x351)])==null?void 0x0:_0x250820[_0x43048f],_0x55d8c1=_0x267644?_0x5be9f1[_0x3ebd63(0x38f)][_0x267644]:void 0x0;if(!_0x55d8c1||!_0x315f54)continue;if(_0x315f54===_0x13cf76['BASE_RECORD_ID_FIELD_ID']){_0x55d8c1[_0x3ebd63(0x334)][_0x13cf76[_0x3ebd63(0x544)]]=_0x55d8c1['id'];continue;}let _0x576520=(_0x2d007d=_0x5be9f1['cellData'])==null||(_0x2d007d=_0x2d007d[_0x3729d5])==null?void 0x0:_0x2d007d[_0x43048f];(_0x576520!=null||Object[_0x3ebd63(0x41e)]['hasOwnProperty'][_0x3ebd63(0x279)](_0x55d8c1[_0x3ebd63(0x334)]??{},_0x315f54))&&(_0x55d8c1[_0x3ebd63(0x334)]={..._0x55d8c1[_0x3ebd63(0x334)]??{}},_0x55d8c1[_0x3ebd63(0x334)][_0x315f54]=_0x17b274(_0x576520,_0x5be9f1[_0x3ebd63(0x3c2)][_0x315f54],_0x5be9f1,_0x267644));}return _0x5be9f1;}function _0x46d754(_0x42bba8,_0x17ac34,_0x52c591){const _0x4b5b97=_0x571676;var _0x36e4f4,_0x46f3b8,_0x4f045c,_0x3165bb,_0x35181b,_0x592b6e;let _0x55675b=(_0x36e4f4=_0x42bba8['rowIndex'])==null?void 0x0:_0x36e4f4[_0x17ac34],_0x53e812=(_0x46f3b8=_0x42bba8['colIndex'])==null?void 0x0:_0x46f3b8[_0x52c591];if(_0x55675b!=null&&_0x53e812!=null&&((_0x4f045c=_0x42bba8['rowId'])==null?void 0x0:_0x4f045c[_0x55675b])===_0x17ac34&&((_0x3165bb=_0x42bba8[_0x4b5b97(0x351)])==null?void 0x0:_0x3165bb[_0x53e812])===_0x52c591)return{'row':_0x55675b,'col':_0x53e812};let _0x362f94=_0x48b6e1(_0x42bba8),_0x196aad=(_0x35181b=_0x362f94[_0x4b5b97(0x563)])==null?void 0x0:_0x35181b[_0x17ac34],_0x4edbc1=(_0x592b6e=_0x362f94['colIndex'])==null?void 0x0:_0x592b6e[_0x52c591];return _0x196aad==null||_0x4edbc1==null?null:{'row':_0x196aad,'col':_0x4edbc1};}function _0x5acb7f(_0x3a0ea2,_0x2d6928,_0x3c1ada){const _0xb7e7ae=_0x571676;var _0x19768e;let _0x58926c=_0x46d754(_0x3a0ea2,_0x2d6928,_0x3c1ada);if(_0x58926c)return(_0x19768e=_0x3a0ea2[_0xb7e7ae(0x38e)])==null||(_0x19768e=_0x19768e[_0x58926c[_0xb7e7ae(0x22f)]])==null?void 0x0:_0x19768e[_0x58926c[_0xb7e7ae(0x5ac)]];}function _0x5d2adc(_0x5cd73d,_0x5f5e02,_0x229bef){const _0x2fb237=_0x571676;var _0x44e122;let _0x27dd7e=_0x5acb7f(_0x5cd73d,_0x5f5e02,_0x229bef),_0xf9c3e0=_0x5cd73d[_0x2fb237(0x3c2)][_0x229bef];if((_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x312)]){var _0x5595a3;return _0xef3bd(_0x5cd73d,_0x5f5e02,_0x229bef)??_0x293a71((_0x5595a3=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x5595a3=_0x5595a3[_0x2fb237(0x334)])==null?void 0x0:_0x5595a3[_0x229bef]);}if(_0x7652b5(_0xf9c3e0)||_0x30cfed(_0xf9c3e0)||(_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x3b6)]){var _0x4e331d;let _0x258e35=(_0x4e331d=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x4e331d=_0x4e331d[_0x2fb237(0x334)])==null?void 0x0:_0x4e331d[_0x229bef];return _0x258e35!=null&&_0x258e35!==''?_0x7e7bc3(_0x258e35,_0xf9c3e0):_0x17b274(_0x27dd7e,_0xf9c3e0,_0x5cd73d,_0x5f5e02);}return _0x27dd7e&&Object[_0x2fb237(0x41e)][_0x2fb237(0x189)][_0x2fb237(0x279)](_0x27dd7e,'v')?_0x27dd7e['v']??null:((_0x44e122=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x44e122=_0x44e122['values'])==null?void 0x0:_0x44e122[_0x229bef])??null;}function _0x41bd7c(_0x440021,_0x23c86f,_0x172468){const _0x33e55a=_0x571676;var _0x2fac99;let _0x2a055d=_0x5acb7f(_0x440021,_0x23c86f,_0x172468);if(_0x2a055d&&Object['prototype'][_0x33e55a(0x189)][_0x33e55a(0x279)](_0x2a055d,'v'))return _0x2a055d['v']??null;let _0x2b7545=_0x440021[_0x33e55a(0x3c2)][_0x172468];return _0x4c5834(((_0x2fac99=_0x440021[_0x33e55a(0x38f)][_0x23c86f])==null||(_0x2fac99=_0x2fac99['values'])==null?void 0x0:_0x2fac99[_0x172468])??null,_0x2b7545)['v']??null;}function _0x4c5834(_0x140e01,_0x292cd7){const _0x5cdf09=_0x571676;if(_0x3f35e5(_0x140e01))return(_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)]['Attachment']?{..._0x140e01,'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]}:_0xfd4c49(_0x140e01);if((_0x292cd7==null?void 0x0:_0x292cd7['type'])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x312)])return{'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};if(_0x30cfed(_0x292cd7)){let _0x539786=_0x473be(_0x140e01);return{'v':_0x539786,'t':_0x5e8cd6(_0x539786)};}if(_0x7652b5(_0x292cd7))return{'v':_0x2d166e(_0x140e01)[_0x5cdf09(0x4b9)](',\x20'),'t':_0x13cf76['CellValueType'][_0x5cdf09(0x562)]};if((_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x3b6)]&&_0x140e01&&typeof _0x140e01==_0x5cdf09(0x1a7)&&!Array[_0x5cdf09(0x21f)](_0x140e01)){let _0x14a42c=_0x140e01;return{'v':String(_0x14a42c['text']??_0x14a42c['url']??''),'t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};}return _0x140e01===null||typeof _0x140e01=='string'||typeof _0x140e01==_0x5cdf09(0x3dc)||typeof _0x140e01=='boolean'?{'v':_0x140e01,'t':_0x5e8cd6(_0x140e01)}:{'v':null,'t':null};}function _0xfd4c49(_0x3fdae8){let _0x2673bd=_0x11c8d3(_0x3fdae8['t'],_0x3fdae8['v']);if(_0x2673bd===void 0x0){let {t:_0x1ef04d,..._0x346d99}=_0x3fdae8;return _0x346d99;}return{..._0x3fdae8,'t':_0x2673bd};}function _0x17b274(_0x3a3454,_0x573821,_0x5dc18d,_0x70655){const _0x58e103=_0x571676;if(!_0x3a3454)return null;if((_0x573821==null?void 0x0:_0x573821[_0x58e103(0x292)])===_0x13cf76[_0x58e103(0x517)][_0x58e103(0x312)])return _0x5dc18d&&_0x70655?_0xef3bd(_0x5dc18d,_0x70655,_0x573821['id'])??[]:[];if(_0x7652b5(_0x573821))return _0x2d166e(_0x3a3454['v']);if((_0x573821==null?void 0x0:_0x573821['type'])===_0x13cf76[_0x58e103(0x517)]['Link']&&_0x5dc18d&&_0x70655){var _0x5adc80;let _0x114a4e=(_0x5adc80=_0x5dc18d[_0x58e103(0x38f)][_0x70655])==null||(_0x5adc80=_0x5adc80['values'])==null?void 0x0:_0x5adc80[_0x573821['id']];if(_0x114a4e&&typeof _0x114a4e==_0x58e103(0x1a7)&&!Array['isArray'](_0x114a4e))return _0x114a4e;}return Object[_0x58e103(0x41e)][_0x58e103(0x189)][_0x58e103(0x279)](_0x3a3454,'v')?_0x3a3454['v']??null:null;}function _0x19f247(_0x10e6ca,_0x5aba94,_0x510815,_0x35b8e8,_0x57b722){const _0x40fda1=_0x571676;return(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType']['Attachment']?_0x293a71(_0x10e6ca):_0x30cfed(_0x510815)?_0x473be(_0x10e6ca):_0x7652b5(_0x510815)?_0x2d166e(_0x10e6ca):(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType'][_0x40fda1(0x3b6)]&&(_0x10e6ca==null||_0x10e6ca==='')?null:(_0x510815==null?void 0x0:_0x510815['type'])===_0x13cf76[_0x40fda1(0x517)][_0x40fda1(0x3b6)]&&_0x10e6ca&&typeof _0x10e6ca==_0x40fda1(0x1a7)&&!Array[_0x40fda1(0x21f)](_0x10e6ca)&&!_0x3f35e5(_0x10e6ca)?_0x10e6ca:_0x17b274(_0x5aba94,_0x510815,_0x35b8e8,_0x57b722);}function _0x3f35e5(_0x262c8c){const _0x31e346=_0x571676;return!!_0x262c8c&&typeof _0x262c8c==_0x31e346(0x1a7)&&(Object[_0x31e346(0x41e)][_0x31e346(0x189)]['call'](_0x262c8c,'v')||Object['prototype']['hasOwnProperty'][_0x31e346(0x279)](_0x262c8c,'t')||Object['prototype'][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'p')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'f')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'si'));}function _0x43571f(_0x2e3c23,_0x339ac1){return _0x2e3c23+'\x1f'+_0x339ac1;}function _0x9b3645(_0x4bacb3,_0x9f4a9b,_0x3177ad,_0x22ec31){const _0x5043da=_0x571676;let _0x2c1464=_0x293a71(_0x22ec31);_0x4bacb3[_0x5043da(0x23c)]={..._0x4bacb3['resources']??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]??{}};let _0x43a793=_0x43571f(_0x3177ad,_0x9f4a9b),_0x39f59e=[];for(let _0x264a10=0x0;_0x264a10<_0x2c1464[_0x5043da(0x4e9)];_0x264a10++){if(!(_0x264a10 in _0x2c1464))continue;let _0x4da265=_0x2c1464[_0x264a10],_0x4321af=String(_0x4da265['id']??_0x43a793+'\x1f'+_0x264a10),_0x17e7b4={..._0x4da265,'id':_0x4321af};_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)][_0x4321af]=_0x17e7b4,_0x39f59e[_0x5043da(0x401)](_0x4321af);}_0x4bacb3[_0x5043da(0x23c)]['attachmentSets'][_0x43a793]=_0x39f59e;}function _0xef3bd(_0x5d7090,_0x4b41b4,_0x1093bd){const _0x43e2b0=_0x571676;var _0x1f2314;let _0xace3a1=_0x43571f(_0x1093bd,_0x4b41b4),_0x3bc5f0=(_0x1f2314=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x1f2314=_0x1f2314[_0x43e2b0(0x1df)])==null?void 0x0:_0x1f2314[_0xace3a1];if(!_0x3bc5f0)return null;let _0x129ff3=[];for(let _0xceeae5=0x0;_0xceeae5<_0x3bc5f0[_0x43e2b0(0x4e9)];_0xceeae5++){var _0x59750b;if(!(_0xceeae5 in _0x3bc5f0))continue;let _0x52f5c0=(_0x59750b=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x59750b=_0x59750b[_0x43e2b0(0x1d4)])==null?void 0x0:_0x59750b[_0x3bc5f0[_0xceeae5]];_0x52f5c0&&_0x129ff3[_0x43e2b0(0x401)]({..._0x52f5c0});}return _0x129ff3;}function _0x293a71(_0xdf419d){const _0x2cceb6=_0x571676;if(_0xdf419d==null||_0xdf419d===''||_0x3f35e5(_0xdf419d)&&!('id'in _0xdf419d)&&!(_0x2cceb6(0x46d)in _0xdf419d))return[];let _0x1acabc=Array['isArray'](_0xdf419d)?_0xdf419d:[_0xdf419d],_0x491907=[];for(let _0x462016=0x0;_0x462016<_0x1acabc['length'];_0x462016++){if(!(_0x462016 in _0x1acabc))continue;let _0x8a8a9c=_0x1acabc[_0x462016],_0x224f39=_0x8a8a9c&&typeof _0x8a8a9c==_0x2cceb6(0x1a7)?{..._0x8a8a9c}:{'id':_0x2cceb6(0x2a2)+_0x462016,'name':String(_0x8a8a9c)};Object[_0x2cceb6(0x2db)](_0x224f39)['length']>0x0&&_0x491907[_0x2cceb6(0x401)](_0x224f39);}return _0x491907;}function _0x7e7bc3(_0x3edbea,_0x438b7e){const _0x104e18=_0x571676;return(_0x438b7e==null?void 0x0:_0x438b7e['type'])===_0x13cf76[_0x104e18(0x517)][_0x104e18(0x312)]?_0x293a71(_0x3edbea):_0x30cfed(_0x438b7e)?_0x473be(_0x3edbea):_0x7652b5(_0x438b7e)?_0x2d166e(_0x3edbea):_0x3edbea;}function _0x58e19b(_0x1cfc11,_0xe4496a,_0x275889){const _0x473ac4=_0x571676;return(_0xe4496a==null?void 0x0:_0xe4496a[_0x473ac4(0x292)])===_0x13cf76[_0x473ac4(0x517)][_0x473ac4(0x312)]?_0x1cfc11['v']!=='':_0x30cfed(_0xe4496a)?_0x1cfc11['v']!==_0x473be(_0x275889):_0x7652b5(_0xe4496a)?Array[_0x473ac4(0x21f)](_0x275889)&&(_0x1cfc11['v']==null||_0x1cfc11['v']===''):!0x1;}function _0x7652b5(_0x589560){const _0x15b9d4=_0x571676;return(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)][_0x15b9d4(0x247)]||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76['BaseFieldType']['Group']||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)]['Person']&&_0x589560[_0x15b9d4(0x5b9)]['allowMultiple']===!0x0;}function _0x30cfed(_0x1412ab){const _0x466ccd=_0x571676;return(_0x1412ab==null?void 0x0:_0x1412ab['type'])===_0x13cf76[_0x466ccd(0x517)][_0x466ccd(0x43f)]&&_0x1412ab[_0x466ccd(0x5b9)][_0x466ccd(0x440)]!==!0x0;}function _0x473be(_0x532e5a){const _0x3b2e85=_0x571676;let _0xf8dd87=_0x3f35e5(_0x532e5a)?_0x532e5a['v']:_0x532e5a,_0x472434=Array[_0x3b2e85(0x21f)](_0xf8dd87)?_0xf8dd87[0x0]:_0xf8dd87;return _0x472434==null||_0x472434===''?null:String(_0x472434);}function _0x2d166e(_0x38719d){const _0x3eedfb=_0x571676;if(_0x38719d==null||_0x38719d==='')return[];let _0x5035fb=[];if(Array[_0x3eedfb(0x21f)](_0x38719d)){for(let _0x3d0cbc=0x0;_0x3d0cbc<_0x38719d[_0x3eedfb(0x4e9)];_0x3d0cbc++){if(!(_0x3d0cbc in _0x38719d))continue;let _0x157880=_0x39c7b0(_0x38719d[_0x3d0cbc]);_0x157880&&_0x5035fb[_0x3eedfb(0x401)](_0x157880);}return _0x5035fb;}for(let _0x491465 of String(_0x38719d)['split'](',')){let _0x43fb98=_0x491465[_0x3eedfb(0x2cd)]();_0x43fb98&&_0x5035fb[_0x3eedfb(0x401)](_0x43fb98);}return _0x5035fb;}function _0x39c7b0(_0x230b30){const _0x124878=_0x571676;if(_0x230b30==null)return'';if(typeof _0x230b30==_0x124878(0x2b6)||typeof _0x230b30==_0x124878(0x3dc)||typeof _0x230b30==_0x124878(0x42a))return String(_0x230b30);if(typeof _0x230b30=='object'){let _0x1bd7af=_0x230b30;return String(_0x1bd7af['id']??_0x1bd7af[_0x124878(0x46d)]??_0x1bd7af[_0x124878(0x5df)]??'');}return String(_0x230b30);}function _0x5e8cd6(_0x5a12d5){const _0x5cf7e2=_0x571676;return _0x5a12d5==null?null:typeof _0x5a12d5==_0x5cf7e2(0x3dc)?_0x13cf76[_0x5cf7e2(0x32d)]['NUMBER']:typeof _0x5a12d5==_0x5cf7e2(0x42a)?_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x228)]:_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x562)];}function _0x50f6b3(_0x2ffb0d){const _0x2f4e18=_0x571676;_0x2ffb0d[_0x2f4e18(0x4af)]((_0x31d8e9,_0x82cc90)=>_0x31d8e9[_0x2f4e18(0x34c)]['localeCompare'](_0x82cc90[_0x2f4e18(0x34c)]));let _0x4d06f8=[];for(let _0x3c629b of _0x2ffb0d)_0x4d06f8[_0x2f4e18(0x401)](_0x3c629b['id']);return _0x4d06f8;}function _0x11c8d3(_0x271ace,_0x3a1ca0){const _0x27beb9=_0x571676;return _0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x562)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)]['NUMBER']||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x228)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x217)]||_0x271ace==null?_0x271ace:_0x5e8cd6(_0x3a1ca0??null);}function _0x16f182(_0x3a27dc){const _0xee7e4=_0x571676;let _0x1eb339=null;for(let _0x32075c of _0x3a27dc)_0x1eb339=_0x1eb339===null?_0x32075c:_0x13cf76[_0xee7e4(0x575)]['type'][_0xee7e4(0x199)](_0x1eb339,_0x32075c);return _0x1eb339;}var _0x1aaf1b=class _0x1170c5{static[_0x571676(0x4c4)](_0x28be55,_0x54cec1){const _0x1b47a8=_0x571676;let _0x2b4af1=[];for(let _0x149404 of _0x54cec1){let _0x44e3ff=_0x309b4f(_0x149404);if(!_0x44e3ff||_0x44e3ff['unitId']!==_0x28be55['id'])return null;_0x2b4af1[_0x1b47a8(0x401)](_0x44e3ff['op']);}try{let _0x5eb69c=_0x16f182(_0x2b4af1);return _0x5eb69c===null?_0x28be55:new _0x1170c5()[_0x1b47a8(0x4d8)](_0x28be55,_0x5eb69c);}catch{return null;}}['applyOp'](_0x3d96c3,_0x12a9b8){const _0x12d3ad=_0x571676;let _0x2b69c0=this[_0x12d3ad(0x491)](_0x12a9b8),_0x5036a1=_0x32800a('BaseJson1.cloneForOp',()=>_0x4b5f82(_0x3d96c3,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x546c3d=_0x32800a('BaseJson1.json1Apply',()=>_0x13cf76[_0x12d3ad(0x575)]['type'][_0x12d3ad(0x213)](_0x5036a1,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x1417ce=_0x799441(_0x546c3d,_0x2b69c0);return _0x32800a('BaseJson1.syncCellInvalidations',()=>_0x209429(_0x546c3d,_0x2b69c0),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]})?(_0x112584(_0x546c3d,_0x1417ce),_0x546c3d):(_0x32800a(_0x12d3ad(0x50a),()=>{const _0x802553=_0x12d3ad;this['_getTablesToNormalize'](_0x546c3d,_0x2b69c0)[_0x802553(0x3c9)](_0x2b05e7=>{const _0x3aa10e=_0x802553;let _0x17c90d=_0x2b69c0[_0x3aa10e(0x3c4)](_0x35d5f3=>_0x35d5f3['tableId']===_0x2b05e7['id']),_0x3f79b4=_0x17c90d[_0x3aa10e(0x4e9)]>0x0&&_0x17c90d[_0x3aa10e(0x5a5)](_0x1cfaea=>_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x407)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x197)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x4d1)||_0x1cfaea['reason']===_0x3aa10e(0x4a9))?new Set(_0x17c90d[_0x3aa10e(0x387)](_0x3b128b=>{const _0x2561c8=_0x3aa10e;var _0x48ce70;if(_0x3b128b['reason']!==_0x2561c8(0x407)||!_0x3b128b[_0x2561c8(0x384)])return[];let _0x1b4041=(_0x48ce70=_0x3d96c3[_0x2561c8(0x291)][_0x2b05e7['id']])==null?void 0x0:_0x48ce70[_0x2561c8(0x3c2)][_0x3b128b['fieldId']],_0x550a55=_0x2b05e7[_0x2561c8(0x3c2)][_0x3b128b[_0x2561c8(0x384)]];return(_0x1b4041==null?void 0x0:_0x1b4041['type'])!==(_0x550a55==null?void 0x0:_0x550a55['type'])||(_0x1b4041==null?void 0x0:_0x1b4041[_0x2561c8(0x5b9)][_0x2561c8(0x440)])!==(_0x550a55==null?void 0x0:_0x550a55[_0x2561c8(0x5b9)][_0x2561c8(0x440)])?[_0x3b128b[_0x2561c8(0x384)]]:[];})):void 0x0,_0x4f68e8=new Set(_0x17c90d[_0x3aa10e(0x387)](_0x543a36=>{const _0x496b24=_0x3aa10e;var _0x168e56,_0x567614;return _0x543a36[_0x496b24(0x2a3)]!==_0x496b24(0x4d1)||_0x543a36[_0x496b24(0x22f)]==null||_0x543a36[_0x496b24(0x235)]==null?[]:[JSON[_0x496b24(0x30d)]([(_0x168e56=_0x2b05e7[_0x496b24(0x556)])==null?void 0x0:_0x168e56[_0x543a36[_0x496b24(0x22f)]],(_0x567614=_0x2b05e7[_0x496b24(0x351)])==null?void 0x0:_0x567614[_0x543a36[_0x496b24(0x235)]]])];}));_0x2a0625(_0x2b05e7,_0x3f79b4?(_0x2f1226,_0x4ff502)=>_0x3f79b4[_0x3aa10e(0x370)](_0x4ff502)||_0x4f68e8[_0x3aa10e(0x370)](JSON[_0x3aa10e(0x30d)]([_0x2f1226,_0x4ff502])):void 0x0);});},{'invalidations':_0x2b69c0['length']}),_0x112584(_0x546c3d,_0x1417ce),_0x546c3d);}[_0x571676(0x4b4)](_0xead09b,_0x367217){const _0x46fafd=_0x571676;return _0x13cf76['JSON1'][_0x46fafd(0x292)][_0x46fafd(0x4bc)](_0x367217,_0xead09b);}['getAffectedRanges'](_0x285676){const _0x4bd488=_0x571676;let _0x79b962=_0x32373e(_0x285676);return _0x79b962[_0x4bd488(0x4e9)]?_0x504bfd(_0x79b962[_0x4bd488(0x387)](_0x2b1eac=>this[_0x4bd488(0x491)](_0x2b1eac))):_0x184a59(_0x285676);}[_0x571676(0x196)](_0x3dc269,_0x476ab6){const _0x34f102=_0x571676;let _0x39cc46=_0x476ab6[_0x34f102(0x3c4)](_0x38803b=>_0x38803b[_0x34f102(0x2a3)]!==_0x34f102(0x197));return _0x39cc46[_0x34f102(0x4e9)]?_0x39cc46[_0x34f102(0x1ab)](_0x48f248=>!_0x48f248['tableId'])?Object[_0x34f102(0x334)](_0x3dc269[_0x34f102(0x291)]??{}):Array[_0x34f102(0x2ed)](new Set(_0x39cc46[_0x34f102(0x329)](_0x924a96=>_0x924a96[_0x34f102(0x33f)])))[_0x34f102(0x387)](_0x1a4c5f=>{const _0x2c9090=_0x34f102;var _0x10e0fe;let _0x5b6790=(_0x10e0fe=_0x3dc269[_0x2c9090(0x291)])==null?void 0x0:_0x10e0fe[_0x1a4c5f];return _0x5b6790?[_0x5b6790]:[];}):[];}};function _0x309b4f(_0x3d1f9e){const _0x36a74c=_0x571676;let _0x4554f8=_0x3d1f9e[_0x36a74c(0x1b8)];return _0x3d1f9e['id']!=='base.mutation.apply-base-json1'||typeof _0x4554f8!='object'||!_0x4554f8||!('unitId'in _0x4554f8)||typeof _0x4554f8[_0x36a74c(0x2aa)]!=_0x36a74c(0x2b6)||!('op'in _0x4554f8)||!Array[_0x36a74c(0x21f)](_0x4554f8['op'])?null:{'unitId':_0x4554f8[_0x36a74c(0x2aa)],'op':_0x4554f8['op']};}function _0x209429(_0x404ba4,_0x474ee8){const _0x139976=_0x571676;if(!_0x474ee8[_0x139976(0x4e9)]||_0x474ee8[_0x139976(0x1ab)](_0x356841=>_0x356841[_0x139976(0x2a3)]!==_0x139976(0x4d1)))return!0x1;let _0x125a4e=new Map();for(let _0x20809e of _0x474ee8){if(!_0x20809e['tableId']||_0x20809e[_0x139976(0x22f)]==null||_0x20809e[_0x139976(0x235)]==null)continue;let _0x169fc2=_0x125a4e[_0x139976(0x59c)](_0x20809e[_0x139976(0x33f)])??[];_0x169fc2[_0x139976(0x401)]({'row':_0x20809e['row'],'col':_0x20809e['column']}),_0x125a4e[_0x139976(0x569)](_0x20809e[_0x139976(0x33f)],_0x169fc2);}return _0x125a4e[_0x139976(0x3c9)]((_0x37884f,_0x3e7d2a)=>{const _0x1ceb9e=_0x139976;var _0x151e88;let _0x443e43=(_0x151e88=_0x404ba4[_0x1ceb9e(0x291)])==null?void 0x0:_0x151e88[_0x3e7d2a];_0x443e43&&_0x4ff55d(_0x443e43,_0x37884f);}),!0x0;}function _0x799441(_0x31a08d,_0x4a0df1){const _0x48f06b=_0x571676;let _0x1b6d42=new Set();return _0x4a0df1[_0x48f06b(0x387)](_0x1e5ae0=>{const _0x394f89=_0x48f06b;var _0xf5fe00;if(!_0x1e5ae0['tableId']||!_0x1e5ae0['recordId']||!_0x1e5ae0[_0x394f89(0x384)])return[];let _0x27a472=_0x1e5ae0[_0x394f89(0x33f)]+'\x1f'+_0x1e5ae0[_0x394f89(0x5c4)]+'\x1f'+_0x1e5ae0['fieldId'];if(_0x1b6d42[_0x394f89(0x370)](_0x27a472))return[];_0x1b6d42[_0x394f89(0x54c)](_0x27a472);let _0x1b0ff9=(_0xf5fe00=_0x31a08d[_0x394f89(0x291)][_0x1e5ae0[_0x394f89(0x33f)]])==null||(_0xf5fe00=_0xf5fe00[_0x394f89(0x38f)][_0x1e5ae0[_0x394f89(0x5c4)]])==null?void 0x0:_0xf5fe00[_0x394f89(0x334)];return _0x1b0ff9?[{'tableId':_0x1e5ae0[_0x394f89(0x33f)],'recordId':_0x1e5ae0[_0x394f89(0x5c4)],'fieldId':_0x1e5ae0[_0x394f89(0x384)],'exists':Object[_0x394f89(0x41e)][_0x394f89(0x189)][_0x394f89(0x279)](_0x1b0ff9,_0x1e5ae0[_0x394f89(0x384)]),'value':_0x1b0ff9[_0x1e5ae0[_0x394f89(0x384)]]}]:[];});}function _0x112584(_0x17563f,_0x5e3925){const _0x35093f=_0x571676;_0x5e3925[_0x35093f(0x3c9)](_0x211030=>{const _0x192013=_0x35093f;var _0x5aff8c;let _0xac70b3=(_0x5aff8c=_0x17563f[_0x192013(0x291)][_0x211030[_0x192013(0x33f)]])==null||(_0x5aff8c=_0x5aff8c[_0x192013(0x38f)][_0x211030[_0x192013(0x5c4)]])==null?void 0x0:_0x5aff8c[_0x192013(0x334)];_0xac70b3&&(_0x211030[_0x192013(0x558)]?_0xac70b3[_0x211030['fieldId']]=_0x211030[_0x192013(0x315)]:delete _0xac70b3[_0x211030[_0x192013(0x384)]]);});}function _0x184a59(_0x56dea6){const _0x2964cc=_0x571676;if(!Array[_0x2964cc(0x21f)](_0x56dea6)||_0x56dea6[_0x2964cc(0x4e9)]<0x2)return[{'tableId':'','reason':_0x2964cc(0x56e)}];let _0x5098f0=_0x56dea6,_0x123c72=_0x5098f0[_0x2964cc(0x406)]('tables');return _0x123c72===-0x1||typeof _0x5098f0[_0x123c72+0x1]!=_0x2964cc(0x2b6)?_0x5098f0[0x0]===_0x2964cc(0x4d9)?[]:[{'tableId':'','reason':_0x2964cc(0x56e)}]:_0x353828(_0x5098f0,_0x123c72,String(_0x5098f0[_0x123c72+0x1]));}function _0x353828(_0x3ab366,_0x306fc1,_0x581a38){const _0x4becd9=_0x571676;let _0x47b64d=_0x3ab366[_0x306fc1+0x2];return _0x47b64d===_0x4becd9(0x38f)&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?_0x4ea8d1(_0x3ab366,_0x306fc1,_0x581a38,String(_0x3ab366[_0x306fc1+0x3])):_0x47b64d==='cellData'&&_0x3ab366[_0x306fc1+0x3]!=null&&_0x3ab366[_0x306fc1+0x4]!=null?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1),'row':Number(_0x3ab366[_0x306fc1+0x3]),'column':Number(_0x3ab366[_0x306fc1+0x4])}]:_0x47b64d==='fields'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x407),'fieldId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='fieldOrder'?[{'tableId':_0x581a38,'reason':'field'}]:_0x47b64d==='recordOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4a9)}]:_0x47b64d==='views'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197),'viewId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='viewOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197)}]:_0x47b64d==='resources'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1)}]:[{'tableId':_0x581a38,'reason':_0x47b64d===void 0x0?_0x4becd9(0x4b7):_0x4becd9(0x56e)}];}function _0x4ea8d1(_0x1e32a5,_0x2269e2,_0x1d44ce,_0x1ca33e){const _0x526200=_0x571676;return _0x1e32a5[_0x2269e2+0x4]===_0x526200(0x334)&&typeof _0x1e32a5[_0x2269e2+0x5]=='string'?[{'tableId':_0x1d44ce,'reason':'cell','recordId':_0x1ca33e,'fieldId':String(_0x1e32a5[_0x2269e2+0x5])}]:_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x548)||_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x32a)?[]:[{'tableId':_0x1d44ce,'reason':_0x526200(0x4a9),'recordId':_0x1ca33e}];}function _0x32373e(_0x2f590e){const _0x259bf0=_0x571676;if(!Array['isArray'](_0x2f590e))return[];let _0x34500f=_0x2f590e[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);if(_0x34500f[_0x259bf0(0x4e9)]>0x1&&_0x34500f[_0x259bf0(0x4e9)]===_0x2f590e['length'])return _0x34500f;let _0x1b94a3=_0x2f590e[_0x259bf0(0x453)](Array['isArray']);if(_0x1b94a3>0x0&&_0x2f590e['slice'](_0x1b94a3)[_0x259bf0(0x5a5)](Array[_0x259bf0(0x21f)])){let _0x1e8a14=_0x2f590e[_0x259bf0(0x377)](0x0,_0x1b94a3);return _0x2f590e['slice'](_0x1b94a3)['map'](_0x29100b=>[..._0x1e8a14,..._0x29100b]);}let _0xd69c17=_0x2f590e[_0x259bf0(0x406)](_0x259bf0(0x291));if(_0xd69c17===-0x1||typeof _0x2f590e[_0xd69c17+0x1]!=_0x259bf0(0x2b6))return[];let _0x2d83b0=String(_0x2f590e[_0xd69c17+0x1]),_0x5bd6ab=_0x2f590e[_0x259bf0(0x377)](_0xd69c17+0x2)[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);return _0x5bd6ab[_0x259bf0(0x4e9)]<=0x1?[]:_0x5bd6ab[_0x259bf0(0x329)](_0x59b5b9=>[_0x259bf0(0x291),_0x2d83b0,..._0x59b5b9]);}function _0x504bfd(_0x2bccf2){const _0x47b07e=_0x571676;let _0x255ac=new Set();return _0x2bccf2[_0x47b07e(0x3c4)](_0x327702=>{const _0x4a9361=_0x47b07e;let _0x48b741=JSON[_0x4a9361(0x30d)](_0x327702);return!_0x255ac[_0x4a9361(0x370)](_0x48b741)&&(_0x255ac[_0x4a9361(0x54c)](_0x48b741),!0x0);});}function _0x568691(_0x59451e){const _0x44aa44=_0x571676;return _0x13cf76[_0x44aa44(0x39a)][_0x44aa44(0x495)](_0x59451e);}function _0x4b5f82(_0x150ac0,_0x5baf8b){const _0x41deee=_0x571676;let _0x279ba6=_0x553abc(_0x5baf8b);if(!_0x279ba6[_0x41deee(0x4e9)])return _0x568691(_0x150ac0);let _0x50c510=_0x189c16(_0x150ac0),_0x146199=new Set();for(let _0xa06a53 of _0x279ba6)_0x537c68(_0x50c510,_0xa06a53,_0x146199);return _0x50c510;}function _0x553abc(_0xd83b67){let _0xea2a8e=[];return _0x17e2a2(_0xd83b67,[],_0xea2a8e),_0xea2a8e;}function _0x17e2a2(_0x5d3be3,_0x2eb92a,_0x5501e5){const _0x587b11=_0x571676;if(!Array[_0x587b11(0x21f)](_0x5d3be3))return;let _0x3a8b78=[];for(let _0x202125 of _0x5d3be3)Array[_0x587b11(0x21f)](_0x202125)?_0x17e2a2(_0x202125,[..._0x2eb92a,..._0x3a8b78],_0x5501e5):_0x5bdf6f(_0x202125)?_0x5501e5[_0x587b11(0x401)]([..._0x2eb92a,..._0x3a8b78]):(typeof _0x202125=='string'||typeof _0x202125==_0x587b11(0x3dc))&&_0x3a8b78[_0x587b11(0x401)](_0x202125);}function _0x5bdf6f(_0x2a94f3){const _0x145807=_0x571676;if(!_0x2a94f3||typeof _0x2a94f3!=_0x145807(0x1a7)||Array[_0x145807(0x21f)](_0x2a94f3))return!0x1;let _0x146c95=_0x2a94f3;return'i'in _0x146c95||'r'in _0x146c95||'p'in _0x146c95||'d'in _0x146c95||'es'in _0x146c95||_0x145807(0x40f)in _0x146c95||'et'in _0x146c95;}function _0x537c68(_0x5cfecd,_0x478fec,_0x188a7d){const _0x3d4e25=_0x571676;let _0x129c56=_0x5cfecd,_0x50121f=[];for(let _0x44dc6e=0x0;_0x44dc6e<_0x478fec[_0x3d4e25(0x4e9)]-0x1;_0x44dc6e++){let _0x51a1a6=_0x478fec[_0x44dc6e];_0x50121f['push'](_0x51a1a6);let _0x5b0e04=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x5b0e04))return;let _0x4b419d=JSON['stringify'](_0x50121f);_0x188a7d['has'](_0x4b419d)||(_0x327447(_0x129c56,_0x51a1a6,_0x189c16(_0x5b0e04)),_0x188a7d[_0x3d4e25(0x54c)](_0x4b419d));let _0x2b5c92=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x2b5c92))return;_0x129c56=_0x2b5c92;}}function _0x4e9477(_0xff6068,_0x50ec31){const _0xe7a78e=_0x571676;return Array[_0xe7a78e(0x21f)](_0xff6068)?typeof _0x50ec31==_0xe7a78e(0x3dc)?_0xff6068[_0x50ec31]:void 0x0:Reflect[_0xe7a78e(0x59c)](_0xff6068,_0x50ec31);}function _0x327447(_0x5dad7b,_0x3de510,_0x340996){const _0x2a5cae=_0x571676;Array[_0x2a5cae(0x21f)](_0x5dad7b)?typeof _0x3de510=='number'&&(_0x5dad7b[_0x3de510]=_0x340996):Reflect[_0x2a5cae(0x569)](_0x5dad7b,_0x3de510,_0x340996);}function _0xd07f31(_0x4f39f7){const _0x2a7f7f=_0x571676;return!!_0x4f39f7&&typeof _0x4f39f7==_0x2a7f7f(0x1a7);}function _0x189c16(_0x546544){const _0x45688f=_0x571676;return Array[_0x45688f(0x21f)](_0x546544)?_0x546544[_0x45688f(0x377)]():{..._0x546544};}let _0x4050fc=_0x571676(0x3ad),_0x5df746=/\s+hh:mm\s*$/i,_0x38eb8f={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x571676(0x21d),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x571676(0x29e),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x35414f(_0x2f1f90,_0x172036=_0x13cf76['DateSystem'][_0x571676(0x542)]){const _0x317e71=_0x571676;let _0x3c6288=(0x0,_0x13cf76[_0x317e71(0x3e0)])(_0x2f1f90)[_0x317e71(0x412)]();return(0x0,_0x13cf76[_0x317e71(0x310)])(new Date(_0x3c6288),_0x172036);}function _0x29d29e(_0x4c2d00,_0x1074f5=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x47c658=_0x571676;return(0x0,_0x13cf76[_0x47c658(0x299)])(_0x4c2d00,_0x1074f5)[_0x47c658(0x3e9)]();}function _0x14a5f1(_0x6e077,_0x5d3d83=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x2c5ec2=_0x571676;if(_0x6e077==null||_0x6e077==='')return null;if(_0x6e077 instanceof Date)return _0x35414f(_0x6e077,_0x5d3d83);if(typeof _0x6e077==_0x2c5ec2(0x3dc))return Number['isFinite'](_0x6e077)?_0x6e077>0xf4240?_0x35414f(_0x6e077,_0x5d3d83):_0x6e077:null;let _0x95ff98=Date['parse'](String(_0x6e077));return Number[_0x2c5ec2(0x597)](_0x95ff98)?null:_0x35414f(_0x95ff98,_0x5d3d83);}function _0x397f72(_0x50133d,_0x67b15f=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){let _0x52020f=_0x14a5f1(_0x50133d,_0x67b15f);return _0x52020f==null?null:_0x29d29e(_0x52020f,_0x67b15f);}function _0x35238c(_0x26d745={}){const _0x387dc7=_0x571676;let _0x1fda61=String(_0x26d745[_0x387dc7(0x37f)]??_0x26d745[_0x387dc7(0x278)]??_0x26d745[_0x387dc7(0x3d1)]??_0x4050fc)[_0x387dc7(0x2cd)]()||_0x4050fc,_0xb4f7cc=_0x5df746[_0x387dc7(0x50e)](_0x1fda61);return{'pattern':_0x1fda61['replace'](_0x5df746,'')||_0x4050fc,'includeTime':typeof _0x26d745[_0x387dc7(0x1f3)]==_0x387dc7(0x42a)?_0x26d745['includeTime']:_0xb4f7cc,'hourCycle':_0x26d745['hourCycle']===_0x387dc7(0x2f7)?_0x387dc7(0x2f7):'h24'};}function _0x3d3ab9(_0x526304={}){let {format:_0x2bb04a,dateFormat:_0x4d57d3,..._0x41c5de}=_0x526304;return{..._0x41c5de,..._0x35238c(_0x526304)};}function _0x259f65(_0x18236b,_0x3f1fda={}){const _0x16c1ec=_0x571676;let _0x58ace4=_0x397f72(_0x18236b);if(_0x58ace4==null||!Number[_0x16c1ec(0x195)](_0x58ace4))return'';let _0x2ba4c1=_0x35238c(_0x3f1fda);return(0x0,_0x13cf76['dateKit'])(_0x58ace4)[_0x16c1ec(0x278)](_0x4177fa(_0x2ba4c1));}function _0x4177fa(_0x47635d){const _0x3727e3=_0x571676;let {pattern:_0x5e6154,includeTime:_0x352aa1,hourCycle:_0x5d7cd5}=_0x47635d,_0x60021c=_0x38eb8f[_0x5e6154]??_0x38eb8f[_0x4050fc];return _0x352aa1?_0x60021c+'\x20'+(_0x5d7cd5===_0x3727e3(0x2f7)?_0x3727e3(0x40b):_0x3727e3(0x2dd)):_0x60021c;}let _0x50c7ad={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x1727a9=new Set([_0x13cf76['BaseFieldType'][_0x571676(0x2ea)]]);function _0xd379e5(_0x293181){const _0x50f11e=_0x571676;switch(_0x293181){case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x400)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x39e)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x51c)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x238)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)]['GREATER_THAN'],_0x13cf76[_0x50f11e(0x1b1)]['LESS_THAN'],_0x13cf76['BaseConditionalColorOperator']['IS_EMPTY'],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x52d)]];case _0x13cf76['BaseFieldType'][_0x50f11e(0x494)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x337)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x472)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x184)],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x27a)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x1b7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x55f)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)]];default:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5e2)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x3b3)],_0x13cf76[_0x50f11e(0x1b1)]['IS_EMPTY'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];}}function _0x33b8b5(_0x1f7679){const _0x8d79c8=_0x571676;return _0x1f7679===_0x13cf76['BaseFieldType'][_0x8d79c8(0x494)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x337)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x472)];}function _0x344b98(_0x202a98,_0x58e863){const _0x580b38=_0x571676;return _0x202a98==null&&_0x58e863==null?0x0:_0x202a98==null?-0x1:_0x58e863==null?0x1:typeof _0x202a98==_0x580b38(0x3dc)&&typeof _0x58e863=='number'?_0x202a98-_0x58e863:String(_0x202a98)['localeCompare'](String(_0x58e863));}function _0x4231b9(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028,_0x5cad72={}){const _0x2ed4e9=_0x571676;if(_0x3ca31f===_0x2ed4e9(0x4d0))return _0x55fdd3(_0xd4ded4);if(_0x3ca31f==='isNotEmpty')return!_0x55fdd3(_0xd4ded4);switch(_0x464028[_0x2ed4e9(0x292)]){case _0x13cf76[_0x2ed4e9(0x517)]['Number']:case _0x13cf76[_0x2ed4e9(0x517)]['Currency']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x51c)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x238)]:return _0x4dd9a0(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['Date']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x337)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x472)]:return _0x45d779(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x5cad72);case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x55f)]:return _0x4d9569(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['SingleSelect']:case _0x13cf76[_0x2ed4e9(0x517)]['MultiSelect']:case _0x13cf76['BaseFieldType']['Person']:case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x53b)]:return _0x514a41(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028);default:return _0x4f14f6(_0xd4ded4,_0x3ca31f,_0xcbb636);}}function _0x55fdd3(_0x1260ae){const _0x171e22=_0x571676;return _0x1260ae==null?!0x0:Array[_0x171e22(0x21f)](_0x1260ae)?_0x1260ae['length']===0x0:typeof _0x1260ae==_0x171e22(0x2b6)&&_0x1260ae['trim']()==='';}function _0x4dd9a0(_0x567a51,_0x400746,_0x21e1f8){const _0x19c36e=_0x571676;let _0x2f2e8c=_0xdc1c86(_0x567a51),_0x20af1f=_0xdc1c86(_0x21e1f8);if(_0x2f2e8c==null||_0x20af1f==null)return!0x1;switch(_0x400746){case'is':return _0x2f2e8c===_0x20af1f;case _0x19c36e(0x3f5):return _0x2f2e8c!==_0x20af1f;case'greaterThan':return _0x2f2e8c>_0x20af1f;case'greaterThanOrEqual':return _0x2f2e8c>=_0x20af1f;case'lessThan':return _0x2f2e8c<_0x20af1f;case _0x19c36e(0x355):return _0x2f2e8c<=_0x20af1f;default:return!0x1;}}function _0xdc1c86(_0x1f50f3){const _0x267c95=_0x571676;if(_0x1f50f3==null||_0x1f50f3==='')return null;let _0x954323=Number(_0x1f50f3);return Number[_0x267c95(0x195)](_0x954323)?_0x954323:null;}function _0x45d779(_0x5a3da9,_0x36f204,_0x3d6c7a,_0x102bd6){const _0x2ff495=_0x571676;let _0x20b0e6=_0x50802c(_0x5a3da9);if(_0x20b0e6==null)return!0x1;let _0x3bcb0b=_0x2560c9(_0x102bd6[_0x2ff495(0x39c)]??_0x13cf76[_0x2ff495(0x218)][_0x2ff495(0x43d)],_0x3d6c7a,_0x102bd6[_0x2ff495(0x5e4)]);if(!_0x3bcb0b)return!0x1;switch(_0x36f204){case _0x13cf76[_0x2ff495(0x1b1)]['IS']:return _0x20b0e6>=_0x3bcb0b['start']&&_0x20b0e6<=_0x3bcb0b['end'];case _0x13cf76[_0x2ff495(0x1b1)][_0x2ff495(0x5a7)]:return _0x20b0e6<_0x3bcb0b[_0x2ff495(0x3aa)]||_0x20b0e6>_0x3bcb0b[_0x2ff495(0x5a8)];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x184)]:return _0x20b0e6<_0x3bcb0b['start'];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x27a)]:return _0x20b0e6>_0x3bcb0b['end'];default:return!0x1;}}function _0x2560c9(_0x1339ed,_0x306d44,_0x1bcf7b=Date['now']()){const _0x3ef818=_0x571676;let _0x3f4113=_0x1fc74c(_0x1bcf7b);switch(_0x1339ed){case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x43d)]:{let _0x5e14de=_0x50802c(_0x306d44);return _0x5e14de==null?null:_0x34e6a7(_0x5e14de,0x0,0x1);}case _0x13cf76[_0x3ef818(0x218)]['TODAY']:return _0x34e6a7(_0x3f4113,0x0,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x304)]:return _0x34e6a7(_0x3f4113,0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x5dd)]:return _0x34e6a7(_0x3f4113,-0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x360)]:return _0x172a8c(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)]['LAST_WEEK']:return _0x172a8c(_0x3f4113,-0x1);case _0x13cf76['BaseConditionalDateMode'][_0x3ef818(0x2b3)]:return _0x30e093(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x392)]:return _0x30e093(_0x3f4113,-0x1);case _0x13cf76[_0x3ef818(0x218)]['PAST_7_DAYS']:return _0x34e6a7(_0x3f4113,-0x6,0x7);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x52f)]:return _0x34e6a7(_0x3f4113,0x0,0x7);case _0x13cf76[_0x3ef818(0x218)]['PAST_30_DAYS']:return _0x34e6a7(_0x3f4113,-0x1d,0x1e);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x347)]:return _0x34e6a7(_0x3f4113,0x0,0x1e);}}function _0x50802c(_0x23eb61){let _0x26a95b=_0x14a5f1(_0x23eb61);return _0x26a95b==null?null:_0x1fc74c(_0x29d29e(_0x26a95b));}function _0x1fc74c(_0x3cc5f4){const _0x1e8ac5=_0x571676;let _0x50997f=new Date(_0x3cc5f4);return _0x50997f[_0x1e8ac5(0x1f7)](0x0,0x0,0x0,0x0),_0x50997f[_0x1e8ac5(0x3e9)]();}function _0x172a8c(_0x23e2b5,_0x1dbc28){const _0x18a09d=_0x571676;return _0x34e6a7(_0x23e2b5,-((new Date(_0x23e2b5)[_0x18a09d(0x4e1)]()+0x6)%0x7)+_0x1dbc28*0x7,0x7);}function _0x34e6a7(_0xa7d396,_0x12a0ea,_0x1efd39){const _0x19adbd=_0x571676;let _0x3a7192=(0x0,_0x13cf76[_0x19adbd(0x3e0)])(_0xa7d396)['add'](_0x12a0ea,_0x19adbd(0x2b4));return{'start':_0x3a7192['valueOf'](),'end':_0x3a7192[_0x19adbd(0x54c)](_0x1efd39,_0x19adbd(0x2b4))[_0x19adbd(0x412)]()-0x1};}function _0x30e093(_0x101db9,_0x5abd03){const _0x371c0e=_0x571676;let _0x5424e5=new Date(_0x101db9),_0x57ff6f=new Date(_0x5424e5['getFullYear'](),_0x5424e5[_0x371c0e(0x3a5)]()+_0x5abd03,0x1),_0xa6cb7a=new Date(_0x5424e5[_0x371c0e(0x326)](),_0x5424e5['getMonth']()+_0x5abd03+0x1,0x1);return{'start':_0x57ff6f[_0x371c0e(0x3e9)](),'end':_0xa6cb7a[_0x371c0e(0x3e9)]()-0x1};}function _0x4d9569(_0xb0839,_0x8c1b3f,_0x409ab5){const _0x41e6d2=_0x571676;let _0x287f32=_0x5df3bf(_0xb0839),_0x57a9fe=_0x5df3bf(_0x409ab5);switch(_0x8c1b3f){case'is':return _0x287f32===_0x57a9fe;case _0x41e6d2(0x3f5):return _0x287f32!==_0x57a9fe;default:return!0x1;}}function _0x5df3bf(_0x2b5e26){const _0x271925=_0x571676;return _0x2b5e26===!0x0||_0x2b5e26===_0x271925(0x477)||_0x2b5e26===0x1||_0x2b5e26==='1';}function _0x514a41(_0x494534,_0xbee542,_0x2669c5,_0x49f7a5){const _0x5973cb=_0x571676;let _0x2a8486=_0x3819f7(_0x494534,_0x49f7a5),_0x417fe8=_0x3819f7(_0x2669c5,_0x49f7a5),_0xfba98=_0x417fe8['length']>0x0&&_0x417fe8[_0x5973cb(0x1ab)](_0x237e77=>_0x2a8486[_0x5973cb(0x358)](_0x237e77));switch(_0xbee542){case'is':case _0x5973cb(0x390):return _0xfba98;case _0x5973cb(0x3f5):case'notContains':return!_0xfba98;default:return!0x1;}}function _0x4f14f6(_0x494917,_0x33faee,_0x3af203){const _0x4e1378=_0x571676;let _0xf75f68=_0x59ee1e(_0x494917),_0x33bbc6=_0x59ee1e(_0x3af203);switch(_0x33faee){case'is':return _0xf75f68===_0x33bbc6;case _0x4e1378(0x3f5):return _0xf75f68!==_0x33bbc6;case _0x4e1378(0x390):return _0x33bbc6?_0xf75f68[_0x4e1378(0x358)](_0x33bbc6):!0x1;case _0x4e1378(0x257):return!_0x33bbc6||!_0xf75f68[_0x4e1378(0x358)](_0x33bbc6);default:return!0x1;}}function _0x59ee1e(_0x1d2d58){const _0x1135c0=_0x571676;if(Array[_0x1135c0(0x21f)](_0x1d2d58))return _0x1d2d58[_0x1135c0(0x329)](_0x1f1a3c=>_0x59ee1e(_0x1f1a3c))[_0x1135c0(0x4b9)]('\x0a');if(_0x1d2d58&&typeof _0x1d2d58==_0x1135c0(0x1a7)){let _0x2008c9=_0x1d2d58;return String(_0x2008c9[_0x1135c0(0x46d)]??_0x2008c9[_0x1135c0(0x3e5)]??_0x2008c9[_0x1135c0(0x5df)]??_0x2008c9[_0x1135c0(0x315)]??_0x2008c9['id']??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}return String(_0x1d2d58??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}function _0x3819f7(_0x37a7e3,_0x3746e8){const _0x4af118=_0x571676;let _0x3fafd1=_0x52fe45(_0x37a7e3),_0x4e9fd1=_0x561e8a(_0x3746e8[_0x4af118(0x5b9)]??{});return _0x3fafd1[_0x4af118(0x387)](_0x415c0b=>_0x4e9fd1['get'](_0x415c0b)??[_0x415c0b])[_0x4af118(0x3c4)]((_0x574ce4,_0x51a24e,_0x4f3b68)=>_0x574ce4!==''&&_0x4f3b68[_0x4af118(0x406)](_0x574ce4)===_0x51a24e);}function _0x52fe45(_0x2e2b8f){const _0x3b0926=_0x571676;if(_0x2e2b8f==null||_0x2e2b8f==='')return[];if(Array[_0x3b0926(0x21f)](_0x2e2b8f))return _0x2e2b8f[_0x3b0926(0x387)](_0x2c149e=>_0x52fe45(_0x2c149e));if(_0x2e2b8f&&typeof _0x2e2b8f=='object'){let _0x56e8ce=_0x2e2b8f;return['id',_0x3b0926(0x46d),'label','value','text'][_0x3b0926(0x387)](_0x3cfd1e=>_0x52fe45(_0x56e8ce[_0x3cfd1e]))[_0x3b0926(0x3c4)]((_0x2ce177,_0x5e0fd6,_0xb4c89f)=>_0xb4c89f[_0x3b0926(0x406)](_0x2ce177)===_0x5e0fd6);}return[_0x59ee1e(_0x2e2b8f)];}function _0x561e8a(_0x28be82){const _0x3d0ea9=_0x571676;let _0x3ed69d=new Map();return(Array[_0x3d0ea9(0x21f)](_0x28be82[_0x3d0ea9(0x386)])?_0x28be82[_0x3d0ea9(0x386)]:[])['forEach'](_0x390c6b=>{const _0x5abb4e=_0x3d0ea9;if(!_0x390c6b||typeof _0x390c6b!='object')return;let _0x251af2=_0x52fe45(_0x390c6b),_0x248767=_0x251af2[_0x5abb4e(0x3c4)]((_0x4c5854,_0x35e680)=>_0x4c5854!==''&&_0x251af2[_0x5abb4e(0x406)](_0x4c5854)===_0x35e680);_0x248767[_0x5abb4e(0x3c9)](_0x1c2314=>_0x3ed69d[_0x5abb4e(0x569)](_0x1c2314,_0x248767));}),_0x3ed69d;}function _0x4add01(_0x2d6745,_0xac23e3={},_0x249720=_0x377297=>_0x377297,_0x1c5e5c={}){const _0x42d50b=_0x571676;let _0x4034e2=!_0x1727a9['has'](_0x2d6745),_0x34c86e=_0x249720??(_0x3ee660=>_0x3ee660);return{'type':_0x2d6745,'i18nKey':_0x42d50b(0x4ef)+_0x2d6745,'enabled':_0x4034e2,'visibleInCreateMenu':_0x4034e2,'createDefaultConfig':_0x1c5e5c[_0x42d50b(0x461)]??(()=>({})),'createDefaultValue':_0x1c5e5c[_0x42d50b(0x227)]??(_0x5f37c7=>_0x5f37c7['defaultValue']??null),'normalize':(_0x310355,_0x275fb2)=>_0x34c86e(_0x310355,_0x275fb2),'validate':(_0x1ca664,_0x1d9eea)=>{const _0x17e897=_0x42d50b;var _0x5dbb4a;return _0x4034e2?((_0x5dbb4a=_0x1c5e5c[_0x17e897(0x3a4)])==null?void 0x0:_0x5dbb4a[_0x17e897(0x279)](_0x1c5e5c,_0x1ca664,_0x1d9eea))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1956d8,_0x3609d5)=>_0x344b98(_0x1956d8,_0x3609d5),'filter':(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab)=>_0x4231b9(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab),'toPlainText':_0x1c5e5c[_0x42d50b(0x25d)]??(_0x5ab3f6=>_0x5ab3f6==null?'':String(_0x5ab3f6)),'fromPlainText':_0x1c5e5c[_0x42d50b(0x1c3)]??(_0x1293b7=>_0x34c86e(_0x1293b7,{'id':'','name':'','type':_0x2d6745,'config':{}})),'getCapabilities':()=>({..._0x50c7ad,..._0xac23e3,'editable':_0x4034e2&&(_0xac23e3[_0x42d50b(0x3fe)]??_0x50c7ad[_0x42d50b(0x3fe)])})};}function _0x44e8e4(){const _0xd8259a=_0x571676;return[_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x4c5)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x343)}),'createDefaultValue':_0x133463=>_0x133463[_0xd8259a(0x5ce)]??''}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1be62b=>_0x1be62b==null||_0x1be62b===''?null:String(_0x1be62b),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x247)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x66b1a6=>Array[_0xd8259a(0x21f)](_0x66b1a6)?_0x66b1a6[_0xd8259a(0x329)](String):_0x66b1a6==null?[]:[String(_0x66b1a6)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xd8259a(0x203)}}),'createDefaultValue':_0x5b1ca8=>_0x5b1ca8[_0xd8259a(0x5ce)]??[]}),_0x4add01(_0x13cf76['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3d0bb9,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xd8259a(0x22d)}),'validate':_0x844302}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x53b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x49704e,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0xd8259a(0x42c)}),'createDefaultValue':_0x1b1cd2=>_0x1b1cd2[_0xd8259a(0x5ce)]??[],'validate':_0x326574}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x494)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x35f1ef=>_0x14a5f1(_0x35f1ef),{'createDefaultConfig':()=>_0x4cdc79(),'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x312)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x246eba=>_0x246eba==null?[]:Array[_0xd8259a(0x21f)](_0x246eba)?_0x246eba:[_0x246eba],{'createDefaultValue':_0x589175=>_0x589175['defaultValue']??[]}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Number'],{},_0x15b558=>_0x15b558==null||_0x15b558===''?null:Number(_0x15b558),{'createDefaultConfig':()=>_0x53311f(),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x11ab1d=>_0x11ab1d===!0x0||_0x11ab1d===_0xd8259a(0x477)||_0x11ab1d===0x1||_0x11ab1d==='1',{'createDefaultConfig':()=>({'icon':_0xd8259a(0x5e3),'color':_0xd8259a(0x1d2)}),'createDefaultValue':_0x332d70=>_0x332d70[_0xd8259a(0x5ce)]??!0x1,'validate':_0x50060a=>typeof _0x50060a==_0xd8259a(0x42a)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x3b6)],{'supportsRelation':!0x0},_0x2f43e3,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x251)}),'toPlainText':_0x2fb9a5=>_0x562340(_0x2fb9a5),'fromPlainText':_0x5831d4=>_0x2f43e3(_0x5831d4)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x26c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xd8259a(0x3a3),'pattern':'General'}}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2a4)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xd8259a(0x509)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x419)],{'usableAsTitle':!0x0},_0x4cbb27=>_0x4cbb27==null?null:String(_0x4cbb27)['trim'](),{'validate':_0x53732c=>_0x53732c==null||_0x53732c===''||/^\+?[0-9 ()-]{6,20}$/[_0xd8259a(0x50e)](String(_0x53732c))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x261)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x1fa)],{'usableAsTitle':!0x0},_0x5c3c42=>_0x5c3c42==null?null:String(_0x5c3c42)[_0xd8259a(0x2cd)](),{'validate':_0x3abfc5=>_0x3abfc5==null||_0x3abfc5===''||_0x18b9d0(String(_0x3abfc5))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x3b1)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x51c)],{'usableAsGanttProgress':!0x0},_0x27818c=>_0x27818c==null||_0x27818c===''?null:Number(_0x27818c),{'createDefaultConfig':()=>({'format':_0xd8259a(0x5db),'decimalPlaces':0x0,'color':_0xd8259a(0x4d5),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x104c0c,_0x1d3612)=>_0xb6fb06(_0x104c0c,_0x1d3612,_0xd8259a(0x4e5))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x39e)],{},_0x52f990=>_0x52f990==null||_0x52f990===''?null:Number(_0x52f990),{'createDefaultConfig':()=>({..._0x53311f(),'currencySymbol':'$'}),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x38507f=>_0x38507f==null||_0x38507f===''?null:Number(_0x38507f),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x525aa0,_0x489855)=>_0xb6fb06(_0x525aa0,_0x489855,_0xd8259a(0x29a))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x5b0)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x5a5934,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x18c802,_0x4ccd88)=>_0x35e826(_0x18c802,_0x4ccd88[_0xd8259a(0x5b9)]['multiple']===!0x0)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2ea)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x537)],{'editable':!0x1,'groupable':!0x0},_0x5f0e0c=>_0x5f0e0c==null?null:String(_0x5f0e0c),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x320)],{'editable':!0x1,'groupable':!0x0},_0x391661=>_0x391661==null?null:String(_0x391661),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x337)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x51c99c=>_0x14a5f1(_0x51c99c),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3425e3=>_0x14a5f1(_0x3425e3),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff})];}function _0x53311f(){const _0x39f083=_0x571676;return{'pattern':_0x39f083(0x452),'decimalPlaces':0x2,'separatorStyle':_0x39f083(0x576),'useThousands':!0x0,'abbreviation':_0x39f083(0x2a6),'allowNegative':!0x0};}function _0x4cdc79(){const _0x5cfdbd=_0x571676;return{'locale':'en-US','pattern':_0x5cfdbd(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x5cfdbd(0x2a6)};}function _0x49704e(_0x4cb49a){const _0x3757fa=_0x571676;return _0x4cb49a==null||_0x4cb49a===''?[]:Array[_0x3757fa(0x21f)](_0x4cb49a)?_0x4cb49a[_0x3757fa(0x329)](String):[String(_0x4cb49a)];}function _0x5a5934(_0xdb84a0){const _0x4d7b08=_0x571676;return typeof _0xdb84a0==_0x4d7b08(0x2b6)?_0xdb84a0:'';}function _0x3d0bb9(_0x1a039d,_0xf349f0){const _0x28f801=_0x571676;return _0x1a039d==null||_0x1a039d===''?_0xf349f0[_0x28f801(0x5b9)]['allowMultiple']===!0x0?[]:null:_0xf349f0[_0x28f801(0x5b9)][_0x28f801(0x440)]===!0x0?Array['isArray'](_0x1a039d)?_0x1a039d['map'](String):[String(_0x1a039d)]:Array[_0x28f801(0x21f)](_0x1a039d)?String(_0x1a039d[0x0]??'')||null:String(_0x1a039d);}function _0x844302(_0x5c1acc,_0x6dca09){const _0x1f75d4=_0x571676;return _0x6dca09[_0x1f75d4(0x5b9)]['allowMultiple']===!0x0?_0x326574(_0x5c1acc):_0x5c1acc==null||_0x5c1acc===''||typeof _0x5c1acc==_0x1f75d4(0x2b6)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x326574(_0x2c375d){const _0xc35316=_0x571676;return _0x2c375d==null||Array[_0xc35316(0x21f)](_0x2c375d)&&_0x2c375d[_0xc35316(0x5a5)](_0x1236bc=>typeof _0x1236bc==_0xc35316(0x2b6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc35316(0x301)};}function _0x18d0ff(_0x4ec8f9){const _0x23aeda=_0x571676;return _0x4ec8f9==null||typeof _0x4ec8f9=='number'&&Number[_0x23aeda(0x195)](_0x4ec8f9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x23aeda(0x249)};}function _0x5e1137(_0x3fb8c5,_0x4764f7){const _0x362e31=_0x571676;return _0x3fb8c5==null||_0x3fb8c5===''?{'valid':!0x0}:typeof _0x3fb8c5!='number'||!Number[_0x362e31(0x195)](_0x3fb8c5)?{'valid':!0x1,'reason':_0x362e31(0x21a)}:_0x4764f7['config']['allowNegative']===!0x1&&_0x3fb8c5<0x0?{'valid':!0x1,'reason':_0x362e31(0x4dc)}:{'valid':!0x0};}function _0xb6fb06(_0x23e6a2,_0x174558,_0x184aa7){const _0x51bc52=_0x571676;let _0x3403e4=_0x5e1137(_0x23e6a2,_0x174558);if(!_0x3403e4[_0x51bc52(0x49e)]||_0x23e6a2==null||_0x23e6a2==='')return _0x3403e4;let _0x1b955e=Number(_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a2)]??_0x174558[_0x51bc52(0x5b9)]['start']??0x0),_0xb9ce90=Number(_0x174558['config'][_0x51bc52(0x402)]??_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a8)]??0x64),_0x25e363=Number(_0x23e6a2);return _0x25e363>=_0x1b955e&&_0x25e363<=_0xb9ce90?{'valid':!0x0}:{'valid':!0x1,'reason':_0x184aa7};}function _0x2f43e3(_0xb71d83){const _0x46e443=_0x571676;if(_0xb71d83==null||_0xb71d83==='')return null;if(typeof _0xb71d83==_0x46e443(0x1a7)&&!Array[_0x46e443(0x21f)](_0xb71d83)){let _0x39d056=_0xb71d83,_0x3af6ac=typeof _0x39d056[_0x46e443(0x5df)]=='string'?_0x39d056[_0x46e443(0x5df)][_0x46e443(0x2cd)]():'',_0x2efc5c=typeof _0x39d056[_0x46e443(0x395)]==_0x46e443(0x2b6)?_0x39d056['url']['trim']():'',_0x139a81=_0x2f680d(_0x2efc5c||_0x3af6ac);return _0x139a81?{'text':_0x3af6ac||_0x2efc5c||_0x139a81,'url':_0x139a81}:null;}let _0x39291b=String(_0xb71d83)['trim'](),_0x382c13=_0x2f680d(_0x39291b);return _0x382c13?{'text':_0x39291b,'url':_0x382c13}:null;}function _0x562340(_0x261ca7){const _0x5a5aa3=_0x571676;if(_0x261ca7==null)return'';if(typeof _0x261ca7=='object'&&!Array['isArray'](_0x261ca7)){let _0x56e385=_0x261ca7;return String(_0x56e385[_0x5a5aa3(0x5df)]||_0x56e385[_0x5a5aa3(0x395)]||'');}return String(_0x261ca7);}function _0x2f680d(_0x4f1b0d){const _0x908816=_0x571676;let _0xa9fa31=_0x4f1b0d[_0x908816(0x2cd)]();if(!_0xa9fa31)return'';let _0x49dfa2=/^[a-z][a-z\d+.-]*:/i[_0x908816(0x50e)](_0xa9fa31)?_0xa9fa31:_0xa9fa31[_0x908816(0x33b)]('//')?_0x908816(0x3ce)+_0xa9fa31:_0x908816(0x1ed)+_0xa9fa31;try{let _0xa188b7=new URL(_0x49dfa2);return _0xa188b7[_0x908816(0x4ab)]===_0x908816(0x295)||_0xa188b7[_0x908816(0x4ab)]===_0x908816(0x3ce)?_0xa188b7[_0x908816(0x38c)]:'';}catch{return'';}}function _0x18b9d0(_0x42cee2){const _0x53fe78=_0x571676;let _0x564bd3=_0x42cee2[_0x53fe78(0x406)]('@');if(_0x564bd3<=0x0||_0x564bd3!==_0x42cee2['lastIndexOf']('@'))return!0x1;let _0x4c690e=_0x42cee2[_0x53fe78(0x377)](_0x564bd3+0x1);return _0x4c690e[_0x53fe78(0x358)]('.')&&!_0x42cee2[_0x53fe78(0x358)]('\x20')&&!_0x4c690e[_0x53fe78(0x33b)]('.')&&!_0x4c690e[_0x53fe78(0x398)]('.');}let _0x4c83f7={'table':_0x2ef63c=>[_0x571676(0x291),_0x2ef63c],'field':(_0x794d23,_0x27b505)=>[_0x571676(0x291),_0x794d23,_0x571676(0x3c2),_0x27b505],'fieldOrder':(_0x210800,_0x1dbcfc)=>['tables',_0x210800,'fieldOrder',_0x1dbcfc],'record':(_0x4fd32e,_0x2301fc)=>['tables',_0x4fd32e,_0x571676(0x38f),_0x2301fc],'cell':(_0x3e47cf,_0x7ea40d,_0x40c16b)=>[_0x571676(0x291),_0x3e47cf,_0x571676(0x38f),_0x7ea40d,_0x571676(0x334),_0x40c16b],'cellData':(_0x3ec5df,_0x23d1d8,_0x15291c)=>[_0x571676(0x291),_0x3ec5df,_0x571676(0x38e),String(_0x23d1d8),String(_0x15291c)],'attachmentSet':(_0xa3dd60,_0x53e637)=>[_0x571676(0x291),_0xa3dd60,_0x571676(0x23c),_0x571676(0x1df),_0x53e637],'attachment':(_0x407a9e,_0x30034d)=>['tables',_0x407a9e,_0x571676(0x23c),_0x571676(0x1d4),_0x30034d],'view':(_0x18570d,_0x159574)=>[_0x571676(0x291),_0x18570d,_0x571676(0x18d),_0x159574],'viewFieldHidden':(_0x495cab,_0x627503,_0x13281e)=>[_0x571676(0x291),_0x495cab,'views',_0x627503,'fieldSettings',_0x13281e,'hidden']};var _0x3db0f3=class{[_0x571676(0x3b9)](_0x189eca,_0x4f4bed){const _0x19742a=_0x571676;let _0x1953cc=this[_0x19742a(0x3f7)](_0x189eca,_0x189eca['name'],_0x4f4bed);return _0x16f182([this[_0x19742a(0x40e)]([_0x19742a(0x46d)],_0x189eca[_0x19742a(0x46d)],_0x4f4bed),..._0x1953cc?[_0x1953cc]:[]]);}[_0x571676(0x3f7)](_0x8b8a21,_0x51ff94,_0x3d8fb9){const _0x5ddb16=_0x571676;let _0x147882=Object[_0x5ddb16(0x334)](_0x8b8a21['tables'])['flatMap'](_0x337d34=>Object[_0x5ddb16(0x334)](_0x337d34['fields'])[_0x5ddb16(0x387)](_0x1c7ff4=>{const _0x44dc8c=_0x5ddb16;var _0x2d9dc4,_0x55e870;if(_0x1c7ff4['type']!==_0x13cf76['BaseFieldType'][_0x44dc8c(0x26c)])return[];let _0x30c1bf=String(((_0x2d9dc4=_0x1c7ff4['config'])==null?void 0x0:_0x2d9dc4[_0x44dc8c(0x2b7)])??''),_0x3ba0f5=(0x0,_0x43fb1e[_0x44dc8c(0x27e)])(_0x30c1bf,_0x51ff94,_0x3d8fb9);return _0x3ba0f5===_0x30c1bf?[]:[this[_0x44dc8c(0x40e)]([..._0x4c83f7[_0x44dc8c(0x407)](_0x337d34['id'],_0x1c7ff4['id']),'config',_0x44dc8c(0x2b7)],(_0x55e870=_0x1c7ff4[_0x44dc8c(0x5b9)])==null?void 0x0:_0x55e870[_0x44dc8c(0x2b7)],_0x3ba0f5)];}));return _0x147882['length']>0x0?_0x16f182(_0x147882):void 0x0;}['createTable'](_0x387c0b,_0x4f89d3,_0x17a528=_0x387c0b['tableOrder']['length']){const _0x3f7d61=_0x571676;let _0x27fb39=(0x0,_0x13cf76[_0x3f7d61(0x280)])(_0x4f89d3[_0x3f7d61(0x46d)],(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x387c0b)[_0x3f7d61(0x334)](),_0x4f89d3[_0x3f7d61(0x4b8)]),_0x3f343f=_0x4f89d3['formulaName']===_0x27fb39?_0x4f89d3:{..._0x4f89d3,'formulaName':_0x27fb39};return _0x16f182([...this[_0x3f7d61(0x559)](_0x387c0b),_0x13cf76['JSON1'][_0x3f7d61(0x48c)](_0x4c83f7[_0x3f7d61(0x4b7)](_0x4f89d3['id']),_0x3f343f),_0x13cf76['JSON1'][_0x3f7d61(0x48c)]([_0x3f7d61(0x4d9),_0x17a528],_0x4f89d3['id'])]);}['renameTable'](_0x55a9a4,_0x12bf4b,_0x45b7ea){const _0x54b689=_0x571676;let _0x4bb120=_0x55a9a4['tables'][_0x12bf4b];return _0x16f182([...this[_0x54b689(0x559)](_0x55a9a4),_0x13cf76['JSON1'][_0x54b689(0x1b4)]([..._0x4c83f7['table'](_0x12bf4b),'name'],_0x4bb120[_0x54b689(0x46d)],_0x45b7ea)]);}['deleteTable'](_0x214e58,_0x4db2be){const _0x35494f=_0x571676;let _0x597e3e=_0x214e58[_0x35494f(0x291)][_0x4db2be],_0x28003b=_0x214e58[_0x35494f(0x4d9)][_0x35494f(0x406)](_0x4db2be);return _0x16f182([...this[_0x35494f(0x559)](_0x214e58,new Set([_0x4db2be])),_0x13cf76['JSON1']['removeOp'](_0x4c83f7[_0x35494f(0x4b7)](_0x4db2be),_0x597e3e),_0x13cf76[_0x35494f(0x575)][_0x35494f(0x4ed)](['tableOrder',_0x28003b],_0x4db2be)]);}['createRecord'](_0x176518,_0xc8eab,_0x228625){return this['createRecords'](_0x176518,_0xc8eab,[_0x228625]);}[_0x571676(0x248)](_0xf904d,_0x56b702,_0x52808c){const _0x2a3fef=_0x571676;let _0x477233=_0xf904d[_0x2a3fef(0x291)][_0x56b702],_0x3c029f=_0x52808c[_0x2a3fef(0x3c4)](_0x311e18=>_0x311e18&&!_0x477233[_0x2a3fef(0x38f)][_0x311e18['id']])['map'](_0x31e2f7=>({..._0x31e2f7,'values':{..._0x31e2f7['values'],[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x31e2f7['id']}}));if(!_0x3c029f[_0x2a3fef(0x4e9)])return _0x13cf76[_0x2a3fef(0x575)][_0x2a3fef(0x1b4)]([..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)]);let _0x4cdf4b=new _0x13cf76[(_0x2a3fef(0x575))]['WriteCursor'](),_0x4038bf=[..._0x3c029f]['sort']((_0x48a2a9,_0x1f9753)=>_0x48a2a9['id']<_0x1f9753['id']?-0x1:+(_0x48a2a9['id']>_0x1f9753['id'])),_0x16a235=[..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),'records'];_0x4cdf4b[_0x2a3fef(0x3c1)](_0x16a235);for(let _0x45044e of _0x4038bf)_0x4cdf4b[_0x2a3fef(0x3d7)](_0x45044e['id']),_0x4cdf4b[_0x2a3fef(0x4e0)]('i',_0x45044e),_0x4cdf4b[_0x2a3fef(0x314)]();for(let _0x351c59=0x0;_0x351c59<_0x16a235[_0x2a3fef(0x4e9)];_0x351c59+=0x1)_0x4cdf4b[_0x2a3fef(0x314)]();return _0x16f182([_0x4cdf4b[_0x2a3fef(0x59c)](),this[_0x2a3fef(0x5c9)](_0xf904d,_0x56b702,_0x3c029f)]);}[_0x571676(0x5dc)](_0x531d94,_0x2cc91f,_0x378074){const _0x53344d=_0x571676;return this[_0x53344d(0x23e)](_0x531d94,_0x2cc91f,[_0x378074]);}[_0x571676(0x23e)](_0x126708,_0xfa4a82,_0xbea6c4){const _0x1fdb13=_0x571676;let _0x59ad1d=_0x126708[_0x1fdb13(0x291)][_0xfa4a82],_0x54fe4e=Array[_0x1fdb13(0x2ed)](new Set(_0xbea6c4))[_0x1fdb13(0x3c4)](_0x4d8d1c=>_0x59ad1d[_0x1fdb13(0x38f)][_0x4d8d1c]);if(!_0x54fe4e[_0x1fdb13(0x4e9)])return _0x13cf76[_0x1fdb13(0x575)][_0x1fdb13(0x1b4)]([..._0x4c83f7[_0x1fdb13(0x4b7)](_0xfa4a82),_0x1fdb13(0x38f)],_0x59ad1d[_0x1fdb13(0x38f)],_0x59ad1d['records']);let _0x597b6c=new Set(_0x54fe4e),_0x2d80f9=_0xaf3938(_0x59ad1d,_0x54fe4e)['map'](_0x4fcb16=>this[_0x1fdb13(0x4a1)](_0x126708,_0xfa4a82,_0x4fcb16['recordId'],_0x4fcb16[_0x1fdb13(0x384)],''));return _0x16f182([this[_0x1fdb13(0x3f9)](_0x126708,_0xfa4a82,_0x54fe4e,_0x597b6c),..._0x2d80f9]);}[_0x571676(0x41b)](_0x11739b,_0x378563,_0x1e5172,_0x1b24b7){const _0x37c9a5=_0x571676;let _0x4eba1d=_0x11739b[_0x37c9a5(0x291)][_0x1e5172],_0xa25b0f=Array['from'](new Set(_0x1b24b7))['filter'](_0x3195ea=>_0x4eba1d['records'][_0x3195ea]),_0x476cd8=new Set(_0xa25b0f);return _0x16f182([new _0x1aaf1b()['invertOp'](_0x11739b,this[_0x37c9a5(0x3f9)](_0x11739b,_0x1e5172,_0xa25b0f,_0x476cd8)),..._0xaf3938(_0x4eba1d,_0xa25b0f)['map'](_0x14d5d7=>this[_0x37c9a5(0x4a1)](_0x378563,_0x1e5172,_0x14d5d7[_0x37c9a5(0x5c4)],_0x14d5d7[_0x37c9a5(0x384)],_0x14d5d7[_0x37c9a5(0x182)]??''))]);}[_0x571676(0x3f9)](_0x393da2,_0x3f7ade,_0x3108f8,_0x15d8ed){const _0x3a73e2=_0x571676;let _0x1613cb=_0x393da2['tables'][_0x3f7ade],_0x264c9b=_0x3108f8[_0x3a73e2(0x329)](_0x51e64a=>{const _0xf9b304=_0x3a73e2;var _0x4eb6a7;return{'recordId':_0x51e64a,'index':((_0x4eb6a7=_0x1613cb[_0xf9b304(0x1cd)])==null?void 0x0:_0x4eb6a7[_0xf9b304(0x406)](_0x51e64a))??-0x1};})[_0x3a73e2(0x3c4)](_0x279be6=>_0x279be6[_0x3a73e2(0x36f)]>=0x0)[_0x3a73e2(0x4af)]((_0x111b2e,_0x1bc575)=>_0x1bc575[_0x3a73e2(0x36f)]-_0x111b2e[_0x3a73e2(0x36f)]);return _0x16f182([..._0x3108f8[_0x3a73e2(0x329)](_0x13288d=>_0x13cf76[_0x3a73e2(0x575)]['removeOp'](_0x4c83f7[_0x3a73e2(0x4a9)](_0x3f7ade,_0x13288d),_0x1613cb[_0x3a73e2(0x38f)][_0x13288d])),..._0x264c9b[_0x3a73e2(0x329)](({recordId:_0x5ee893,index:_0x350901})=>_0x13cf76['JSON1'][_0x3a73e2(0x4ed)]([_0x3a73e2(0x291),_0x3f7ade,_0x3a73e2(0x1cd),_0x350901],_0x5ee893)),...this[_0x3a73e2(0x515)](_0x1613cb,_0x3f7ade,_0x2613a2=>{const _0x4c0acf=_0x3a73e2;let _0x3fc780=_0x2613a2['slice'](_0x2613a2[_0x4c0acf(0x4d6)]('\x1f')+0x1);return _0x15d8ed['has'](_0x3fc780);})]);}[_0x571676(0x529)](_0x56efb8,_0x4aab21,_0x4b34a9,_0x2a5da0){const _0x2f16c8=_0x571676;return this[_0x2f16c8(0x5ad)](_0x56efb8,_0x4aab21,{..._0x2a5da0,'values':{..._0x56efb8[_0x2f16c8(0x291)][_0x4aab21]['records'][_0x4b34a9][_0x2f16c8(0x334)],..._0x2a5da0[_0x2f16c8(0x334)],[_0x13cf76[_0x2f16c8(0x544)]]:_0x2a5da0['id']}});}[_0x571676(0x1ad)](_0x2375ee,_0x46eade,_0x41176d,_0x369f79){const _0x24277a=_0x571676;let _0x444b80=_0x2375ee[_0x24277a(0x291)][_0x46eade],_0xa9324c=[..._0x4c83f7[_0x24277a(0x4a9)](_0x46eade,_0x41176d),_0x24277a(0x34c)],_0x7918cf=Object['values'](_0x444b80[_0x24277a(0x38f)])[_0x24277a(0x329)](_0xbd239e=>_0xbd239e['id']===_0x41176d?{..._0xbd239e,'orderKey':_0x369f79}:_0xbd239e)[_0x24277a(0x4af)]((_0x45a9c9,_0x4335e3)=>String(_0x45a9c9['orderKey']??_0x45a9c9['id'])['localeCompare'](String(_0x4335e3[_0x24277a(0x34c)]??_0x4335e3['id'])))[_0x24277a(0x329)](_0x6a6101=>_0x6a6101['id']),_0x3e6e8b=[..._0x4c83f7[_0x24277a(0x4b7)](_0x46eade),_0x24277a(0x1cd)];return _0x16f182([this[_0x24277a(0x40e)](_0xa9324c,_0x444b80[_0x24277a(0x38f)][_0x41176d][_0x24277a(0x34c)],_0x369f79),_0x444b80[_0x24277a(0x1cd)]?_0x13cf76[_0x24277a(0x575)][_0x24277a(0x1b4)](_0x3e6e8b,_0x444b80['recordOrder'],_0x7918cf):_0x13cf76[_0x24277a(0x575)][_0x24277a(0x48c)](_0x3e6e8b,_0x7918cf)]);}[_0x571676(0x4a1)](_0x13af0a,_0x1f3918,_0x362efc,_0x12b564,_0xcec694){const _0x32b041=_0x571676;var _0x2ca0b6,_0x4045fc;let _0x114c7e=_0x13af0a[_0x32b041(0x291)][_0x1f3918],_0x54aa23=_0x102c8d(_0x114c7e,_0x362efc,_0x12b564)?_0x114c7e:_0x48b6e1(_0x114c7e),_0x2fa4d2=(_0x2ca0b6=_0x54aa23[_0x32b041(0x563)])==null?void 0x0:_0x2ca0b6[_0x362efc],_0x19a014=(_0x4045fc=_0x54aa23[_0x32b041(0x28e)])==null?void 0x0:_0x4045fc[_0x12b564];if(_0x2fa4d2==null||_0x19a014==null){var _0xfd5ebe;return this[_0x32b041(0x40e)](_0x4c83f7[_0x32b041(0x4d1)](_0x1f3918,_0x362efc,_0x12b564),(_0xfd5ebe=_0x13af0a[_0x32b041(0x291)][_0x1f3918])==null||(_0xfd5ebe=_0xfd5ebe[_0x32b041(0x38f)][_0x362efc])==null?void 0x0:_0xfd5ebe['values'][_0x12b564],_0xcec694);}return this[_0x32b041(0x23a)](_0x13af0a,_0x1f3918,[{'row':_0x2fa4d2,'col':_0x19a014,'value':_0xcec694}]);}[_0x571676(0x565)](_0x115450,_0x1c0980,_0x55a253){const _0x54a02b=_0x571676;let _0x3ee8eb=_0x115450['tables'][_0x1c0980],_0x484336=_0x55a253[_0x54a02b(0x5a5)](_0xb717d8=>Object[_0x54a02b(0x2db)](_0xb717d8[_0x54a02b(0x334)])[_0x54a02b(0x5a5)](_0x1f4a06=>_0x102c8d(_0x3ee8eb,_0xb717d8['recordId'],_0x1f4a06)))?_0x3ee8eb:_0x48b6e1(_0x3ee8eb),_0x3ee0c0=_0x55a253[_0x54a02b(0x387)](_0x10e0b9=>Object[_0x54a02b(0x460)](_0x10e0b9['values'])[_0x54a02b(0x387)](([_0x331bc8,_0x55988a])=>{const _0x32af5a=_0x54a02b;var _0xe32874,_0x54d77b;let _0x3e616c=(_0xe32874=_0x484336[_0x32af5a(0x563)])==null?void 0x0:_0xe32874[_0x10e0b9['recordId']],_0x34b701=(_0x54d77b=_0x484336[_0x32af5a(0x28e)])==null?void 0x0:_0x54d77b[_0x331bc8];return _0x3e616c==null||_0x34b701==null?[]:[{'row':_0x3e616c,'col':_0x34b701,'value':_0x55988a}];})),_0x34eb43=_0x55a253['flatMap'](_0x5b860b=>Object[_0x54a02b(0x460)](_0x5b860b[_0x54a02b(0x34a)]??{})[_0x54a02b(0x329)](([_0x356121,_0x179635])=>{const _0x4405df=_0x54a02b;var _0x2b8a7f;let _0x133988=[..._0x4c83f7[_0x4405df(0x4a9)](_0x1c0980,_0x5b860b[_0x4405df(0x5c4)]),_0x356121],_0x1c6104=(_0x2b8a7f=_0x115450[_0x4405df(0x291)][_0x1c0980])==null||(_0x2b8a7f=_0x2b8a7f[_0x4405df(0x38f)][_0x5b860b['recordId']])==null?void 0x0:_0x2b8a7f[_0x356121];return this['_replaceOptional'](_0x133988,_0x1c6104,_0x179635);}));return _0x16f182([this[_0x54a02b(0x23a)](_0x115450,_0x1c0980,_0x3ee0c0),..._0x34eb43]);}['setRangeValues'](_0x24220e,_0x479765,_0x3fc586){const _0x4ba9d9=_0x571676;let _0x17b386=_0x24220e[_0x4ba9d9(0x291)][_0x479765],_0x5c0f30=_0x3fc586['every'](_0x3d0fda=>_0x13c483(_0x17b386,_0x3d0fda[_0x4ba9d9(0x22f)],_0x3d0fda[_0x4ba9d9(0x5ac)]))?_0x17b386:_0x48b6e1(_0x17b386),_0x324cbc=new Map(),_0x55b373=_0x3fc586[_0x4ba9d9(0x387)](_0x4acb02=>{const _0x2b21b5=_0x4ba9d9;var _0x37a5aa,_0x32ef32,_0x169c7f,_0x506e57;let _0x50b0f8=(_0x37a5aa=_0x5c0f30['colId'])==null?void 0x0:_0x37a5aa[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5dc5c6=(_0x32ef32=_0x5c0f30[_0x2b21b5(0x556)])==null?void 0x0:_0x32ef32[_0x4acb02['row']],_0x444a4d=_0x50b0f8?_0x5c0f30[_0x2b21b5(0x3c2)][_0x50b0f8]:void 0x0;if(_0x50b0f8===_0x13cf76[_0x2b21b5(0x544)]||(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)][_0x2b21b5(0x2ea)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x2e47c6=_0x4c5834(_0x4acb02[_0x2b21b5(0x315)],_0x444a4d),_0xf3a72b=(_0x169c7f=_0x5c0f30['cellData'])==null||(_0x169c7f=_0x169c7f[_0x4acb02['row']])==null?void 0x0:_0x169c7f[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5211e3=this['_replaceOptional'](_0x4c83f7['cellData'](_0x479765,_0x4acb02[_0x2b21b5(0x22f)],_0x4acb02[_0x2b21b5(0x5ac)]),_0xf3a72b,_0x2e47c6);if(!_0x50b0f8||!_0x5dc5c6)return[_0x5211e3];let _0x183d89=(_0x506e57=_0x5c0f30[_0x2b21b5(0x38f)][_0x5dc5c6])==null?void 0x0:_0x506e57[_0x2b21b5(0x334)][_0x50b0f8],_0x402e54=(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)]['Attachment']?_0x293a71(_0x4acb02[_0x2b21b5(0x315)]):_0x19f247(_0x4acb02[_0x2b21b5(0x315)],_0x2e47c6,_0x444a4d,_0x5c0f30,_0x5dc5c6),_0x12305f=[_0x5211e3,this[_0x2b21b5(0x40e)](_0x4c83f7['cell'](_0x479765,_0x5dc5c6,_0x50b0f8),_0x183d89,_0x402e54)];return(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76['BaseFieldType']['Attachment']&&_0x324cbc['set'](_0x43571f(_0x50b0f8,_0x5dc5c6),{'recordId':_0x5dc5c6,'fieldId':_0x50b0f8,'attachments':_0x402e54}),_0x12305f;});return _0x55b373[_0x4ba9d9(0x4e9)]?_0x16f182([..._0x55b373,...this[_0x4ba9d9(0x587)](_0x5c0f30,_0x479765,Array[_0x4ba9d9(0x2ed)](_0x324cbc['values']()))]):_0x13cf76[_0x4ba9d9(0x575)][_0x4ba9d9(0x1b4)]([_0x4ba9d9(0x291),_0x479765,_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)]);}[_0x571676(0x444)](_0xb3c594,_0x5ebf6b,_0x4d14e3){const _0x10850b=_0x571676;let _0x4378d3=_0xb3c594[_0x10850b(0x291)][_0x5ebf6b];if(_0x4378d3[_0x10850b(0x3c2)][_0x4d14e3[_0x10850b(0x407)]['id']]||_0x4378d3[_0x10850b(0x582)]['includes'](_0x4d14e3[_0x10850b(0x407)]['id']))return _0x13cf76[_0x10850b(0x575)][_0x10850b(0x1b4)]([_0x10850b(0x291),_0x5ebf6b,_0x10850b(0x582)],_0x4378d3['fieldOrder'],_0x4378d3[_0x10850b(0x582)]);let _0x416f61=Math[_0x10850b(0x402)](0x1,_0x4d14e3['index']??_0x4378d3[_0x10850b(0x582)][_0x10850b(0x4e9)]),_0x27c785=Object[_0x10850b(0x334)](_0x4378d3['views']??{})['flatMap'](_0x44b8a4=>{const _0x33d730=_0x10850b;var _0x3f0764;if(!_0x44b8a4[_0x33d730(0x582)]||_0x44b8a4[_0x33d730(0x582)][_0x33d730(0x358)](_0x4d14e3[_0x33d730(0x407)]['id']))return[];let _0x3448bf=_0x206e7e(((_0x3f0764=_0x4d14e3['viewIndexes'])==null?void 0x0:_0x3f0764[_0x44b8a4['id']])??_0x416f61,_0x44b8a4['fieldOrder'][_0x33d730(0x4e9)]);return[_0x13cf76['JSON1']['insertOp']([..._0x4c83f7[_0x33d730(0x197)](_0x5ebf6b,_0x44b8a4['id']),_0x33d730(0x582),_0x3448bf],_0x4d14e3[_0x33d730(0x407)]['id'])];});return _0x16f182([..._0x4d14e3['field'][_0x10850b(0x292)]===_0x13cf76[_0x10850b(0x517)][_0x10850b(0x26c)]?this[_0x10850b(0x559)](_0xb3c594):[],_0x13cf76[_0x10850b(0x575)][_0x10850b(0x48c)](_0x4c83f7[_0x10850b(0x407)](_0x5ebf6b,_0x4d14e3[_0x10850b(0x407)]['id']),_0x4d14e3[_0x10850b(0x407)]),_0x13cf76[_0x10850b(0x575)]['insertOp'](_0x4c83f7['fieldOrder'](_0x5ebf6b,_0x416f61),_0x4d14e3['field']['id']),..._0x27c785]);}['duplicateField'](_0xc6ad59,_0x4e1170,_0xcae806,_0x55353d){const _0x6a7cbc=_0x571676;let _0x1b4dc2=_0xc6ad59[_0x6a7cbc(0x291)][_0x4e1170];if(!_0x1b4dc2[_0x6a7cbc(0x3c2)][_0xcae806]||_0x1b4dc2['fields'][_0x55353d[_0x6a7cbc(0x407)]['id']]||_0x1b4dc2['fieldOrder'][_0x6a7cbc(0x358)](_0x55353d[_0x6a7cbc(0x407)]['id']))return _0x13cf76[_0x6a7cbc(0x575)][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x1b4dc2['fieldOrder']);let _0x5e94bd=_0x55353d[_0x6a7cbc(0x36f)]??_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x406)](_0xcae806)+0x1,_0x259790=_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x3c4)](_0xc767c8=>_0xc767c8!==_0x55353d['field']['id']),_0x519f02=_0x57eac1(_0x259790,_0x55353d[_0x6a7cbc(0x407)]['id'],_0x5e94bd),_0x44ee92=Object['values'](_0x1b4dc2['views']??{})[_0x6a7cbc(0x387)](_0x4535e1=>{const _0x325ddb=_0x6a7cbc;var _0x4a1772,_0x5e2726,_0x5a4f23,_0x1b83b9;let _0x573056=(_0x4a1772=_0x4535e1[_0x325ddb(0x582)])!=null&&_0x4a1772['length']?_0x4535e1[_0x325ddb(0x582)]:_0x259790;if(_0x573056[_0x325ddb(0x358)](_0x55353d[_0x325ddb(0x407)]['id']))return[];let _0xaa908a=_0x57eac1(_0x573056,_0x55353d[_0x325ddb(0x407)]['id'],((_0x5e2726=_0x55353d[_0x325ddb(0x3ff)])==null?void 0x0:_0x5e2726[_0x4535e1['id']])??_0x5e94bd),_0x256119=(_0x5a4f23=_0x4535e1['fieldSettings'])==null?void 0x0:_0x5a4f23[_0xcae806];return[this[_0x325ddb(0x40e)]([..._0x4c83f7['view'](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x582)],_0x4535e1[_0x325ddb(0x582)],_0xaa908a),..._0x256119?[this[_0x325ddb(0x40e)]([..._0x4c83f7[_0x325ddb(0x197)](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x3ea),_0x55353d['field']['id']],(_0x1b83b9=_0x4535e1[_0x325ddb(0x3ea)])==null?void 0x0:_0x1b83b9[_0x55353d[_0x325ddb(0x407)]['id']],_0x256119)]:[]];}),_0x3e8f7e=Object['values'](_0x1b4dc2[_0x6a7cbc(0x38f)])[_0x6a7cbc(0x3c4)](_0x5c0508=>Object[_0x6a7cbc(0x41e)][_0x6a7cbc(0x189)]['call'](_0x5c0508[_0x6a7cbc(0x334)],_0xcae806))[_0x6a7cbc(0x329)](_0x2ca1f3=>this['_replaceOptional'](_0x4c83f7[_0x6a7cbc(0x4d1)](_0x4e1170,_0x2ca1f3['id'],_0x55353d[_0x6a7cbc(0x407)]['id']),_0x2ca1f3[_0x6a7cbc(0x334)][_0x55353d[_0x6a7cbc(0x407)]['id']],_0x2ca1f3[_0x6a7cbc(0x334)][_0xcae806]));return _0x16f182([..._0x55353d[_0x6a7cbc(0x407)][_0x6a7cbc(0x292)]===_0x13cf76['BaseFieldType'][_0x6a7cbc(0x26c)]?this[_0x6a7cbc(0x559)](_0xc6ad59):[],_0x13cf76[_0x6a7cbc(0x575)]['insertOp'](_0x4c83f7[_0x6a7cbc(0x407)](_0x4e1170,_0x55353d[_0x6a7cbc(0x407)]['id']),_0x55353d[_0x6a7cbc(0x407)]),_0x13cf76['JSON1'][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x519f02),..._0x44ee92,..._0x3e8f7e]);}[_0x571676(0x241)](_0x479831,_0x5eca40,_0x97b9a9,_0x1751e4){const _0x23e42d=_0x571676;let _0x2547a5=_0x479831['tables'][_0x5eca40][_0x23e42d(0x3c2)][_0x97b9a9],_0x567133={..._0x2547a5,..._0x1751e4};Object[_0x23e42d(0x2db)](_0x1751e4)[_0x23e42d(0x3c9)](_0x4b0e58=>{_0x1751e4[_0x4b0e58]===void 0x0&&delete _0x567133[_0x4b0e58];});let _0x4ae4c6=_0x296551(_0x479831['tables'][_0x5eca40],_0x97b9a9,_0x2547a5,_0x567133);_0x567133=_0x4ae4c6[_0x23e42d(0x407)];let _0x24dffb=_0x13cf76[_0x23e42d(0x575)][_0x23e42d(0x1b4)](_0x4c83f7[_0x23e42d(0x407)](_0x5eca40,_0x97b9a9),_0x2547a5,_0x567133);return _0x567133[_0x23e42d(0x292)]===_0x13cf76[_0x23e42d(0x517)][_0x23e42d(0x26c)]?_0x16f182([...this['_materializeFormulaTableNames'](_0x479831),_0x24dffb,...this[_0x23e42d(0x46b)](_0x479831,_0x5eca40,_0x97b9a9,_0x567133)]):_0x16f182([_0x24dffb,..._0x4ae4c6['patches'][_0x23e42d(0x4e9)]?[this['setRangeValues'](_0x479831,_0x5eca40,_0x4ae4c6[_0x23e42d(0x2d8)])]:[]]);}[_0x571676(0x1d1)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad){const _0x370f41=_0x571676;return this[_0x370f41(0x241)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad);}['deleteField'](_0x1809dc,_0x17815a,_0x31d675){const _0x1d5959=_0x571676;let _0x4bb8b5=_0x1809dc[_0x1d5959(0x291)][_0x17815a];if(!(_0x4bb8b5!=null&&_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675])||_0x4bb8b5[_0x1d5959(0x422)]===_0x31d675||_0x31d675===_0x13cf76[_0x1d5959(0x544)])return _0x13cf76[_0x1d5959(0x575)][_0x1d5959(0x1b4)]([_0x1d5959(0x291),_0x17815a,_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5[_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5['fieldOrder']);let _0xacb25=_0x4bb8b5[_0x1d5959(0x582)][_0x1d5959(0x406)](_0x31d675),_0x283fca=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x18d)])[_0x1d5959(0x387)](_0x3f6afd=>{const _0x48ee2a=_0x1d5959;var _0x3a495b,_0x231d4c,_0x49d483,_0x516f11,_0x5f3449,_0x2df84b,_0x46bbca;let _0x45db36=[],_0x356a87=((_0x3a495b=_0x3f6afd[_0x48ee2a(0x582)])==null?void 0x0:_0x3a495b[_0x48ee2a(0x406)](_0x31d675))??-0x1;_0x356a87>=0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'fieldOrder',_0x356a87],_0x31d675));let _0x4235ca=(_0x231d4c=_0x3f6afd['fieldSettings'])==null?void 0x0:_0x231d4c[_0x31d675];_0x4235ca!==void 0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x3ea),_0x31d675],_0x4235ca));let _0x349309=_0x3f6afd[_0x48ee2a(0x3c4)]?{..._0x3f6afd[_0x48ee2a(0x3c4)],'conditions':_0x3f6afd['filter'][_0x48ee2a(0x3af)][_0x48ee2a(0x3c4)](_0x452895=>_0x452895[_0x48ee2a(0x384)]!==_0x31d675)}:_0x3f6afd[_0x48ee2a(0x3c4)];_0x349309&&_0x349309[_0x48ee2a(0x3af)][_0x48ee2a(0x4e9)]!==((_0x49d483=_0x3f6afd[_0x48ee2a(0x3c4)])==null?void 0x0:_0x49d483['conditions'][_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'filter'],_0x3f6afd[_0x48ee2a(0x3c4)],_0x349309));let _0x5c3ab5=(_0x516f11=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x516f11[_0x48ee2a(0x3c4)](_0x506f56=>_0x506f56[_0x48ee2a(0x384)]!==_0x31d675);_0x5c3ab5&&_0x5c3ab5[_0x48ee2a(0x4e9)]!==((_0x5f3449=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x5f3449[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x4af)],_0x3f6afd[_0x48ee2a(0x4af)],_0x5c3ab5));let _0x399b13=(_0x2df84b=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x2df84b['filter'](_0x33292b=>_0x33292b['fieldId']!==_0x31d675);_0x399b13&&_0x399b13[_0x48ee2a(0x4e9)]!==((_0x46bbca=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x46bbca[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x42c)],_0x3f6afd[_0x48ee2a(0x42c)],_0x399b13));let _0x1a8a22=_0x171da6(_0x3f6afd['config'],_0x31d675);return JSON['stringify'](_0x1a8a22)!==JSON[_0x48ee2a(0x30d)](_0x3f6afd[_0x48ee2a(0x5b9)])&&_0x45db36['push'](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x1b4)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x5b9)],_0x3f6afd[_0x48ee2a(0x5b9)],_0x1a8a22)),_0x45db36;}),_0x58180c=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x38f)])[_0x1d5959(0x387)](_0x5aabb4=>Object[_0x1d5959(0x41e)][_0x1d5959(0x189)][_0x1d5959(0x279)](_0x5aabb4['values'],_0x31d675)?[_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x4d1)](_0x17815a,_0x5aabb4['id'],_0x31d675),_0x5aabb4[_0x1d5959(0x334)][_0x31d675])]:[]);return _0x16f182([_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x407)](_0x17815a,_0x31d675),_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675]),_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7['fieldOrder'](_0x17815a,_0xacb25),_0x31d675),..._0x283fca,..._0x58180c,...this[_0x1d5959(0x515)](_0x4bb8b5,_0x17815a,_0x4d659a=>_0x4d659a[_0x1d5959(0x33b)](_0x31d675+'\x1f'))]);}[_0x571676(0x1c4)](_0x56caf8,_0x1a724d,_0x4224f8,_0x5cceb9){const _0x57e890=_0x571676;let _0x4f07bf=_0x56caf8['tables'][_0x1a724d][_0x57e890(0x582)];if(_0x4224f8===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x5cceb9[_0x57e890(0x2a9)]===_0x13cf76[_0x57e890(0x544)])throw Error(_0x57e890(0x29d));let _0x409135=_0x3f7fa2(_0x4f07bf,_0x4224f8,_0x5cceb9);return _0x13cf76[_0x57e890(0x575)][_0x57e890(0x1b4)]([_0x57e890(0x291),_0x1a724d,_0x57e890(0x582)],_0x4f07bf,_0x409135);}[_0x571676(0x18a)](_0xda2967,_0x3e8426,_0x26c006,_0x395b82=_0xda2967['tables'][_0x3e8426]['viewOrder'][_0x571676(0x4e9)]){const _0x583c0e=_0x571676;return _0x16f182([_0x13cf76[_0x583c0e(0x575)][_0x583c0e(0x48c)](_0x4c83f7[_0x583c0e(0x197)](_0x3e8426,_0x26c006['id']),_0x26c006),_0x13cf76['JSON1'][_0x583c0e(0x48c)]([_0x583c0e(0x291),_0x3e8426,_0x583c0e(0x43a),_0x395b82],_0x26c006['id'])]);}[_0x571676(0x455)](_0x30a392,_0x407d8e,_0x2843b7,_0xa11917){const _0x392475=_0x571676;return _0x13cf76[_0x392475(0x575)]['replaceOp']([..._0x4c83f7[_0x392475(0x197)](_0x407d8e,_0x2843b7),'name'],_0x30a392[_0x392475(0x291)][_0x407d8e][_0x392475(0x18d)][_0x2843b7][_0x392475(0x46d)],_0xa11917);}['deleteView'](_0x29ed19,_0x541c0f,_0x39d92b){const _0x5cf766=_0x571676;let _0x35a2c8=_0x29ed19['tables'][_0x541c0f],_0x48fdf9=_0x35a2c8['views'][_0x39d92b],_0x553f96=_0x35a2c8[_0x5cf766(0x43a)]['indexOf'](_0x39d92b);return _0x16f182([_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)](_0x4c83f7[_0x5cf766(0x197)](_0x541c0f,_0x39d92b),_0x48fdf9),_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)]([_0x5cf766(0x291),_0x541c0f,_0x5cf766(0x43a),_0x553f96],_0x39d92b)]);}[_0x571676(0x5b5)](_0xf739f3,_0x2e71c6,_0x24102c,_0x5c8710){const _0x31671f=_0x571676;let _0x109188=_0xf739f3[_0x31671f(0x291)][_0x2e71c6]['viewOrder'],_0x1c94c1=_0x3f7fa2(_0x109188,_0x24102c,{'beforeFieldId':_0x5c8710[_0x31671f(0x262)],'afterFieldId':_0x5c8710[_0x31671f(0x338)]});return _0x13cf76[_0x31671f(0x575)][_0x31671f(0x1b4)]([_0x31671f(0x291),_0x2e71c6,_0x31671f(0x43a)],_0x109188,_0x1c94c1);}[_0x571676(0x20d)](_0x3c4f18,_0x490dff,_0x592e63,_0x4e7580){const _0x22c0d6=_0x571676;let _0x566da5=_0x3c4f18[_0x22c0d6(0x291)][_0x490dff]['views'][_0x592e63][_0x22c0d6(0x5b9)]??{},_0x369a6e={..._0x566da5,..._0x4e7580};return Object['keys'](_0x4e7580)[_0x22c0d6(0x3c9)](_0x49935f=>{_0x4e7580[_0x49935f]===void 0x0&&delete _0x369a6e[_0x49935f];}),_0x13cf76[_0x22c0d6(0x575)][_0x22c0d6(0x1b4)]([..._0x4c83f7[_0x22c0d6(0x197)](_0x490dff,_0x592e63),_0x22c0d6(0x5b9)],_0x566da5,_0x369a6e);}[_0x571676(0x1e1)](_0x4f6ab3,_0x51233c,_0x261ea1,_0x3c2689){const _0x3e810c=_0x571676;return this[_0x3e810c(0x40e)]([..._0x4c83f7[_0x3e810c(0x197)](_0x51233c,_0x261ea1),_0x3e810c(0x3c4)],_0x4f6ab3[_0x3e810c(0x291)][_0x51233c]['views'][_0x261ea1][_0x3e810c(0x3c4)],_0x3c2689);}[_0x571676(0x27b)](_0x1f71d8,_0x5dfbf2,_0x495fb1,_0x133420){const _0x497750=_0x571676;return this[_0x497750(0x40e)]([..._0x4c83f7[_0x497750(0x197)](_0x5dfbf2,_0x495fb1),'sort'],_0x1f71d8[_0x497750(0x291)][_0x5dfbf2][_0x497750(0x18d)][_0x495fb1][_0x497750(0x4af)],_0x133420);}[_0x571676(0x43b)](_0x8ca994,_0x53b4aa,_0x46c7a8,_0x3bd997){const _0x5afa58=_0x571676;return this['_replaceOptional']([..._0x4c83f7[_0x5afa58(0x197)](_0x53b4aa,_0x46c7a8),_0x5afa58(0x42c)],_0x8ca994[_0x5afa58(0x291)][_0x53b4aa][_0x5afa58(0x18d)][_0x46c7a8][_0x5afa58(0x42c)],_0x3bd997);}['setViewFieldVisible'](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,_0x13d3b7){const _0x1ea01a=_0x571676;return this[_0x1ea01a(0x2d3)](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,{'hidden':!_0x13d3b7});}[_0x571676(0x272)](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,_0x68037b){return this['_setViewFieldSetting'](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,{'width':_0x68037b});}[_0x571676(0x55c)](_0x505255,_0x3b65ee,_0x2be32e,_0x17f3e2,_0x5de9c2){const _0x1379ba=_0x571676;let _0x24b2d7=_0x505255[_0x1379ba(0x291)][_0x3b65ee]['views'][_0x2be32e],_0x291ef6=_0x3f7fa2(_0x24b2d7['fieldOrder']??_0x505255[_0x1379ba(0x291)][_0x3b65ee][_0x1379ba(0x582)],_0x17f3e2,_0x5de9c2);return this['_replaceOptional']([..._0x4c83f7[_0x1379ba(0x197)](_0x3b65ee,_0x2be32e),_0x1379ba(0x582)],_0x24b2d7[_0x1379ba(0x582)],_0x291ef6);}[_0x571676(0x2d3)](_0x135cc6,_0x37e07e,_0x2c9af3,_0x2fa2f8,_0x4a04e9){const _0x118bb2=_0x571676;let _0x56da1c=_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)]??{},_0x4e5107={..._0x56da1c,[_0x2fa2f8]:{..._0x56da1c[_0x2fa2f8],..._0x4a04e9}};return this[_0x118bb2(0x40e)]([..._0x4c83f7[_0x118bb2(0x197)](_0x37e07e,_0x2c9af3),_0x118bb2(0x3ea)],_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)],_0x4e5107);}['_createRecordOrderOp'](_0x4f8e94,_0x21e6de,_0x5aca59){const _0x342ff2=_0x571676;let _0x24dd5b=_0x4f8e94['tables'][_0x21e6de],_0x8f74ad=new Set(_0x5aca59[_0x342ff2(0x329)](_0x427487=>_0x427487['id'])),_0x550dbf=[...Object['values'](_0x24dd5b[_0x342ff2(0x38f)])[_0x342ff2(0x3c4)](_0x20dc92=>!_0x8f74ad[_0x342ff2(0x370)](_0x20dc92['id'])),..._0x5aca59][_0x342ff2(0x4af)]((_0x2303b9,_0x1bde74)=>String(_0x2303b9[_0x342ff2(0x34c)]??_0x2303b9['id'])['localeCompare'](String(_0x1bde74[_0x342ff2(0x34c)]??_0x1bde74['id'])))[_0x342ff2(0x329)](_0x3e2dcd=>_0x3e2dcd['id']),_0x25a468=[..._0x4c83f7['table'](_0x21e6de),_0x342ff2(0x1cd)];return _0x24dd5b[_0x342ff2(0x1cd)]?_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x1b4)](_0x25a468,_0x24dd5b['recordOrder'],_0x550dbf):_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x48c)](_0x25a468,_0x550dbf);}[_0x571676(0x559)](_0x14c7e2,_0x3aa30e=new Set()){const _0x5eb946=_0x571676;let _0x3aa388=(0x0,_0x13cf76[_0x5eb946(0x3a1)])(_0x14c7e2);return Object[_0x5eb946(0x334)](_0x14c7e2[_0x5eb946(0x291)])[_0x5eb946(0x3c4)](_0x1bf9bc=>!_0x3aa30e[_0x5eb946(0x370)](_0x1bf9bc['id']))['sort']((_0x217c94,_0x568544)=>_0x217c94['id'][_0x5eb946(0x391)](_0x568544['id']))[_0x5eb946(0x387)](_0x48d942=>{const _0x50c330=_0x5eb946;let _0x472711=_0x3aa388['get'](_0x48d942['id']);return!_0x472711||_0x48d942[_0x50c330(0x4b8)]===_0x472711?[]:[this[_0x50c330(0x40e)]([..._0x4c83f7[_0x50c330(0x4b7)](_0x48d942['id']),_0x50c330(0x4b8)],_0x48d942['formulaName'],_0x472711)];});}[_0x571676(0x46b)](_0x439d81,_0x619e63,_0x489cb4,_0x2da6ce){const _0x23cc34=_0x571676;var _0x526c62,_0x41c3f7;let _0x5a9886=_0x48b6e1(_0x439d81['tables'][_0x619e63]),_0x4e7bd8=String(((_0x526c62=_0x2da6ce[_0x23cc34(0x5b9)])==null?void 0x0:_0x526c62[_0x23cc34(0x2b7)])??'')['trim'](),_0x4d79b5=(_0x41c3f7=_0x5a9886[_0x23cc34(0x28e)])==null?void 0x0:_0x41c3f7[_0x489cb4];if(_0x4d79b5==null)return[];let _0xb1436b=_0x5a9886[_0x23cc34(0x1cd)]??Object['keys'](_0x5a9886[_0x23cc34(0x38f)]),_0x138e88=_0xb1436b[_0x23cc34(0x329)](_0x4ac483=>{const _0x16766b=_0x23cc34;var _0x12a602;return(_0x12a602=_0x5a9886[_0x16766b(0x563)])==null?void 0x0:_0x12a602[_0x4ac483];})['find'](_0x4c183a=>_0x4c183a!=null);return _0xb1436b[_0x23cc34(0x387)](_0x50c4d5=>{const _0x236e5f=_0x23cc34;var _0x1b9471,_0x5d2378;let _0x5a1835=(_0x1b9471=_0x5a9886[_0x236e5f(0x563)])==null?void 0x0:_0x1b9471[_0x50c4d5];if(_0x5a1835==null)return[];let _0x4bebbd=(_0x5d2378=_0x5a9886[_0x236e5f(0x38e)])==null||(_0x5d2378=_0x5d2378[_0x5a1835])==null?void 0x0:_0x5d2378[_0x4d79b5],_0x597867=_0x4e7bd8?_0x5a1835===_0x138e88?{'f':_0x4e7bd8,'si':_0x489cb4}:{'si':_0x489cb4}:{'v':null,'t':null};return[this[_0x236e5f(0x40e)](_0x4c83f7['cellData'](_0x619e63,_0x5a1835,_0x4d79b5),_0x4bebbd,_0x597867)];});}[_0x571676(0x587)](_0x14e705,_0x8304dd,_0xbf492e){const _0x2c2aa7=_0x571676;var _0x42e8cb;let _0x2e70b2=new Map(Object[_0x2c2aa7(0x460)](((_0x42e8cb=_0x14e705[_0x2c2aa7(0x23c)])==null?void 0x0:_0x42e8cb[_0x2c2aa7(0x1df)])??{})),_0x338512=new Map(),_0x182f52=new Set(),_0x55d7c9=_0xbf492e[_0x2c2aa7(0x329)](({recordId:_0x450e67,fieldId:_0x55890c,attachments:_0x8895f6})=>{const _0x20e75d=_0x2c2aa7;var _0x1496b2;let _0x3228e4=_0x43571f(_0x55890c,_0x450e67),_0x4095b7=_0x8895f6[_0x20e75d(0x329)]((_0x14a7ed,_0x40d9d8)=>String(_0x14a7ed['id']??_0x3228e4+'\x1f'+_0x40d9d8));return _0x182f52[_0x20e75d(0x54c)](_0x3228e4),_0x2e70b2['set'](_0x3228e4,_0x4095b7),_0x8895f6['forEach']((_0x45a0ca,_0x498efd)=>{const _0xe1d0cd=_0x20e75d;let _0x1500b0=_0x4095b7[_0x498efd];_0x338512[_0xe1d0cd(0x569)](_0x1500b0,{..._0x45a0ca,'id':_0x1500b0});}),this['_replaceOptional'](_0x4c83f7[_0x20e75d(0x3cd)](_0x8304dd,_0x3228e4),(_0x1496b2=_0x14e705[_0x20e75d(0x23c)])==null||(_0x1496b2=_0x1496b2[_0x20e75d(0x1df)])==null?void 0x0:_0x1496b2[_0x3228e4],_0x4095b7);}),_0x5933db=Array[_0x2c2aa7(0x2ed)](_0x338512)[_0x2c2aa7(0x329)](([_0x5c2358,_0x1861c3])=>{const _0x9b2bfa=_0x2c2aa7;var _0x256057;return this[_0x9b2bfa(0x40e)](_0x4c83f7[_0x9b2bfa(0x4fe)](_0x8304dd,_0x5c2358),(_0x256057=_0x14e705[_0x9b2bfa(0x23c)])==null||(_0x256057=_0x256057[_0x9b2bfa(0x1d4)])==null?void 0x0:_0x256057[_0x5c2358],_0x1861c3);}),_0x1d5bbf=new Set(Array[_0x2c2aa7(0x2ed)](_0x2e70b2['values']())[_0x2c2aa7(0x541)]()),_0x63e458=new Set(Array[_0x2c2aa7(0x2ed)](_0x182f52)[_0x2c2aa7(0x387)](_0x535393=>{const _0x52a76b=_0x2c2aa7;var _0x4932a6;return((_0x4932a6=_0x14e705['resources'])==null||(_0x4932a6=_0x4932a6[_0x52a76b(0x1df)])==null?void 0x0:_0x4932a6[_0x535393])??[];})),_0x13e4b6=Array[_0x2c2aa7(0x2ed)](_0x63e458)[_0x2c2aa7(0x387)](_0x53330c=>{const _0x4a9e37=_0x2c2aa7;var _0xab1372;let _0x53dfe6=(_0xab1372=_0x14e705[_0x4a9e37(0x23c)])==null||(_0xab1372=_0xab1372[_0x4a9e37(0x1d4)])==null?void 0x0:_0xab1372[_0x53330c];return _0x53dfe6!==void 0x0&&!_0x1d5bbf[_0x4a9e37(0x370)](_0x53330c)?[_0x13cf76[_0x4a9e37(0x575)]['removeOp'](_0x4c83f7[_0x4a9e37(0x4fe)](_0x8304dd,_0x53330c),_0x53dfe6)]:[];});return[..._0x55d7c9,..._0x5933db,..._0x13e4b6];}[_0x571676(0x515)](_0x57a0ef,_0x1da52b,_0x523bf2){const _0x52d7f2=_0x571676;var _0x576085;let _0x4d85d2=((_0x576085=_0x57a0ef[_0x52d7f2(0x23c)])==null?void 0x0:_0x576085[_0x52d7f2(0x1df)])??{},_0x4ad81f=Object['entries'](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0x14b3fb])=>_0x523bf2(_0x14b3fb));if(!_0x4ad81f[_0x52d7f2(0x4e9)])return[];let _0x57ff22=new Set(Object[_0x52d7f2(0x460)](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0xfb84c4])=>!_0x523bf2(_0xfb84c4))[_0x52d7f2(0x387)](([,_0x93f832])=>_0x93f832)),_0xf6151a=new Set(_0x4ad81f[_0x52d7f2(0x387)](([,_0x5a030c])=>_0x5a030c));return[..._0x4ad81f[_0x52d7f2(0x329)](([_0x7aa18f,_0x1bbf14])=>_0x13cf76[_0x52d7f2(0x575)][_0x52d7f2(0x4ed)](_0x4c83f7[_0x52d7f2(0x3cd)](_0x1da52b,_0x7aa18f),_0x1bbf14)),...Array[_0x52d7f2(0x2ed)](_0xf6151a)[_0x52d7f2(0x387)](_0x2f8d18=>{const _0x2e07af=_0x52d7f2;var _0x443d34;let _0x2e8d0c=(_0x443d34=_0x57a0ef[_0x2e07af(0x23c)])==null||(_0x443d34=_0x443d34[_0x2e07af(0x1d4)])==null?void 0x0:_0x443d34[_0x2f8d18];return _0x2e8d0c!==void 0x0&&!_0x57ff22[_0x2e07af(0x370)](_0x2f8d18)?[_0x13cf76[_0x2e07af(0x575)]['removeOp'](_0x4c83f7[_0x2e07af(0x4fe)](_0x1da52b,_0x2f8d18),_0x2e8d0c)]:[];})];}[_0x571676(0x40e)](_0x54c02d,_0x1ca991,_0x5162c7){const _0x366e89=_0x571676;return _0x1ca991===void 0x0?_0x13cf76['JSON1'][_0x366e89(0x48c)](_0x54c02d,_0x5162c7):_0x13cf76[_0x366e89(0x575)][_0x366e89(0x1b4)](_0x54c02d,_0x1ca991,_0x5162c7);}};function _0x296551(_0x11f3c8,_0x428b31,_0x2773e4,_0x359600){const _0x3badb1=_0x571676;var _0x2bc5c6;let _0x254cba=_0x359600['type'];if(_0x2773e4['type']!==_0x254cba||_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x221)]&&_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x247)]||_0x5440b6(_0x359600[_0x3badb1(0x5b9)][_0x3badb1(0x17b)]))return{'field':_0x359600,'patches':[]};let _0x3f00b4=_0x467848(_0x2773e4),_0xb6cd59=_0x467848(_0x359600);if(![..._0x3f00b4][_0x3badb1(0x1ab)](_0xac1641=>!_0xb6cd59[_0x3badb1(0x370)](_0xac1641)))return{'field':_0x359600,'patches':[]};let _0x31461f=_0x9655a9(_0x359600['defaultValue'],_0xb6cd59,_0x254cba),_0x236626=_0x3c83ac(_0x31461f,_0x359600[_0x3badb1(0x5ce)])?_0x359600:{..._0x359600,'defaultValue':_0x31461f},_0x2f1fac=_0x48b6e1(_0x11f3c8),_0x44cbff=(_0x2bc5c6=_0x2f1fac['colIndex'])==null?void 0x0:_0x2bc5c6[_0x428b31];return _0x44cbff==null?{'field':_0x236626,'patches':[]}:{'field':_0x236626,'patches':(_0x2f1fac['recordOrder']??[])['flatMap'](_0x4e1135=>{const _0x4cc526=_0x3badb1;var _0x27bd85,_0xa13100;let _0x4fe0c3=(_0x27bd85=_0x2f1fac['rowIndex'])==null?void 0x0:_0x27bd85[_0x4e1135],_0xf5ed36=(_0xa13100=_0x2f1fac['records'][_0x4e1135])==null?void 0x0:_0xa13100[_0x4cc526(0x334)][_0x428b31],_0x299eb4=_0x9655a9(_0xf5ed36,_0xb6cd59,_0x254cba);return _0x4fe0c3==null||_0x3c83ac(_0x299eb4,_0xf5ed36)?[]:[{'row':_0x4fe0c3,'col':_0x44cbff,'value':_0x299eb4??null}];})};}function _0x5440b6(_0x37d0ec){const _0x559be4=_0x571676;return typeof _0x37d0ec==_0x559be4(0x1a7)&&!!_0x37d0ec&&_0x559be4(0x292)in _0x37d0ec&&_0x37d0ec[_0x559be4(0x292)]===_0x559be4(0x407);}function _0x467848(_0x4da644){const _0x1bd316=_0x571676;var _0x33c3b6;let _0x4098f6=Array['isArray']((_0x33c3b6=_0x4da644[_0x1bd316(0x5b9)])==null?void 0x0:_0x33c3b6[_0x1bd316(0x386)])?_0x4da644[_0x1bd316(0x5b9)][_0x1bd316(0x386)]:[];return new Set(_0x4098f6[_0x1bd316(0x387)](_0x4ec846=>{const _0x4f25be=_0x1bd316;if(!_0x4ec846||typeof _0x4ec846!=_0x4f25be(0x1a7)||!('id'in _0x4ec846))return[];let _0x3948b4=String(_0x4ec846['id']);return _0x3948b4?[_0x3948b4]:[];}));}function _0x9655a9(_0x542e7d,_0xac5c7b,_0x2a2538){const _0x31d4ab=_0x571676;if(_0x542e7d==null||_0x542e7d==='')return _0x542e7d;if(_0x2a2538===_0x13cf76[_0x31d4ab(0x517)][_0x31d4ab(0x221)])return _0xac5c7b[_0x31d4ab(0x370)](String(_0x542e7d))?_0x542e7d:null;let _0x1460dc=Array[_0x31d4ab(0x21f)](_0x542e7d)?_0x542e7d[_0x31d4ab(0x329)](String):String(_0x542e7d)[_0x31d4ab(0x21e)](',')[_0x31d4ab(0x329)](_0x1692e9=>_0x1692e9['trim']())[_0x31d4ab(0x3c4)](Boolean),_0xa7c0c9=_0x1460dc[_0x31d4ab(0x3c4)](_0x6ccc97=>_0xac5c7b[_0x31d4ab(0x370)](_0x6ccc97));return _0xa7c0c9[_0x31d4ab(0x4e9)]===_0x1460dc['length']?_0x542e7d:Array[_0x31d4ab(0x21f)](_0x542e7d)?_0xa7c0c9:String(_0x542e7d)['includes'](',')?_0xa7c0c9['join'](','):_0xa7c0c9[0x0]??[];}function _0x3c83ac(_0x2711c8,_0x443c91){const _0x6d58f4=_0x571676;return JSON[_0x6d58f4(0x30d)](_0x2711c8)===JSON['stringify'](_0x443c91);}function _0x102c8d(_0x362486,_0xbef237,_0x2e2923){const _0x13114f=_0x571676;var _0x28324f,_0x1fd654,_0x53d3ff,_0x628fdb;let _0x3f41ed=(_0x28324f=_0x362486[_0x13114f(0x563)])==null?void 0x0:_0x28324f[_0xbef237],_0x1bb51d=(_0x1fd654=_0x362486[_0x13114f(0x28e)])==null?void 0x0:_0x1fd654[_0x2e2923];return _0x3f41ed!=null&&_0x1bb51d!=null&&((_0x53d3ff=_0x362486[_0x13114f(0x556)])==null?void 0x0:_0x53d3ff[_0x3f41ed])===_0xbef237&&((_0x628fdb=_0x362486[_0x13114f(0x351)])==null?void 0x0:_0x628fdb[_0x1bb51d])===_0x2e2923&&_0x362486[_0x13114f(0x38e)]!=null;}function _0x13c483(_0xf97d67,_0x4850a4,_0x485b3d){const _0x31bf5f=_0x571676;var _0x1f4a89,_0x382684;return((_0x1f4a89=_0xf97d67['rowId'])==null?void 0x0:_0x1f4a89[_0x4850a4])!=null&&((_0x382684=_0xf97d67['colId'])==null?void 0x0:_0x382684[_0x485b3d])!=null&&_0xf97d67[_0x31bf5f(0x38e)]!=null;}function _0x3f7fa2(_0x49cebb,_0x51200c,_0x4e1915){const _0x45f5e1=_0x571676;let _0x5a75e2=_0x49cebb[_0x45f5e1(0x3c4)](_0x568d36=>_0x568d36!==_0x51200c),_0xd42380=_0x4e1915['beforeFieldId']?_0x5a75e2[_0x45f5e1(0x406)](_0x4e1915[_0x45f5e1(0x2a9)]):_0x4e1915[_0x45f5e1(0x319)]?_0x5a75e2['indexOf'](_0x4e1915[_0x45f5e1(0x319)])+0x1:_0x5a75e2[_0x45f5e1(0x4e9)];return _0x5a75e2[_0x45f5e1(0x5bf)](_0xd42380<0x0?_0x5a75e2[_0x45f5e1(0x4e9)]:_0xd42380,0x0,_0x51200c),_0x5a75e2;}function _0x57eac1(_0x51d405,_0x40b6eb,_0x12af63){const _0x1eb53b=_0x571676;let _0x1a8b91=_0x51d405[_0x1eb53b(0x3c4)](_0x19048a=>_0x19048a!==_0x40b6eb);return _0x1a8b91[_0x1eb53b(0x5bf)](_0x206e7e(_0x12af63,_0x1a8b91[_0x1eb53b(0x4e9)]),0x0,_0x40b6eb),_0x1a8b91;}function _0x171da6(_0x5469c0,_0x1d9dc6,_0x571e51){const _0x1386f3=_0x571676;if(Array[_0x1386f3(0x21f)](_0x5469c0))return _0x571e51===_0x1386f3(0x1bb)?_0x5469c0[_0x1386f3(0x3c4)](_0x422993=>_0x422993!==_0x1d9dc6):_0x5469c0[_0x1386f3(0x387)](_0x122cb4=>{const _0x4b8c18=_0x1386f3;if(_0x122cb4&&typeof _0x122cb4=='object'&&!Array[_0x4b8c18(0x21f)](_0x122cb4)&&_0x122cb4[_0x4b8c18(0x384)]===_0x1d9dc6)return[];let _0x1ad9af=_0x171da6(_0x122cb4,_0x1d9dc6);return _0x1ad9af===void 0x0?[]:[_0x1ad9af];});if(!_0x5469c0||typeof _0x5469c0!=_0x1386f3(0x1a7))return _0x571e51!=null&&_0x571e51[_0x1386f3(0x398)](_0x1386f3(0x20b))&&_0x5469c0===_0x1d9dc6?void 0x0:_0x5469c0;let _0x554a2f=_0x5469c0;if(_0x554a2f['fieldId']!==_0x1d9dc6)return Object[_0x1386f3(0x1fc)](Object['entries'](_0x554a2f)['flatMap'](([_0x4d111d,_0x257116])=>{const _0x1c1a4f=_0x1386f3;if(_0x4d111d===_0x1d9dc6&&_0x571e51===_0x1c1a4f(0x3ea))return[];let _0x48f168=_0x171da6(_0x257116,_0x1d9dc6,_0x4d111d);return _0x48f168===void 0x0?[]:[[_0x4d111d,_0x48f168]];}));}function _0x206e7e(_0x233cc8,_0x33ebb7){const _0x5a3695=_0x571676;return Math[_0x5a3695(0x402)](0x0,Math[_0x5a3695(0x5a2)](_0x233cc8,_0x33ebb7));}function _0x110a65(_0x234552){'@babel/helpers - typeof';const _0x53c070=_0x571676;return _0x110a65=typeof Symbol=='function'&&typeof Symbol[_0x53c070(0x2de)]==_0x53c070(0x45e)?function(_0x26ab60){return typeof _0x26ab60;}:function(_0x1772bf){const _0x4ebc8b=_0x53c070;return _0x1772bf&&typeof Symbol==_0x4ebc8b(0x3ac)&&_0x1772bf[_0x4ebc8b(0x298)]===Symbol&&_0x1772bf!==Symbol[_0x4ebc8b(0x41e)]?_0x4ebc8b(0x45e):typeof _0x1772bf;},_0x110a65(_0x234552);}function _0x5cf9cd(_0x388aaf,_0x1b897d){const _0x23b6f7=_0x571676;if(_0x110a65(_0x388aaf)!=_0x23b6f7(0x1a7)||!_0x388aaf)return _0x388aaf;var _0x1e4db1=_0x388aaf[Symbol[_0x23b6f7(0x489)]];if(_0x1e4db1!==void 0x0){var _0x51269f=_0x1e4db1['call'](_0x388aaf,_0x1b897d||_0x23b6f7(0x353));if(_0x110a65(_0x51269f)!=_0x23b6f7(0x1a7))return _0x51269f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1b897d===_0x23b6f7(0x2b6)?String:Number)(_0x388aaf);}function _0x26539e(_0x156b3c){const _0x20d780=_0x571676;var _0x42390c=_0x5cf9cd(_0x156b3c,_0x20d780(0x2b6));return _0x110a65(_0x42390c)=='symbol'?_0x42390c:_0x42390c+'';}function _0x1a302a(_0x4dbd0f,_0x551138,_0x1758a8){const _0x5b6105=_0x571676;return(_0x551138=_0x26539e(_0x551138))in _0x4dbd0f?Object[_0x5b6105(0x1a1)](_0x4dbd0f,_0x551138,{'value':_0x1758a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4dbd0f[_0x551138]=_0x1758a8,_0x4dbd0f;}let _0x1be8ce=(0x0,_0x13cf76[_0x571676(0x220)])('base.field-registry.service');var _0x314c5d=class extends _0x13cf76[_0x571676(0x323)]{constructor(..._0x2b3f78){const _0x3b4c59=_0x571676;super(..._0x2b3f78),_0x1a302a(this,_0x3b4c59(0x28b),new Map());}['register'](_0x38b364){const _0x38882a=_0x571676;return this[_0x38882a(0x28b)][_0x38882a(0x569)](_0x38b364['type'],_0x38b364),(0x0,_0x13cf76['toDisposable'])(()=>this[_0x38882a(0x28b)][_0x38882a(0x37c)](_0x38b364[_0x38882a(0x292)]));}[_0x571676(0x59c)](_0x1a6fd0){const _0x8aa367=_0x571676;let _0x2d9a3d=this[_0x8aa367(0x28b)][_0x8aa367(0x59c)](_0x1a6fd0);if(!_0x2d9a3d)throw Error(_0x8aa367(0x1d5)+_0x1a6fd0+_0x8aa367(0x352));return _0x2d9a3d;}['getTypePlugin'](_0x5727a6){const _0x348b2c=_0x571676;return this[_0x348b2c(0x28b)]['get'](_0x5727a6);}[_0x571676(0x245)](){const _0xa6fe02=_0x571676;return Array[_0xa6fe02(0x2ed)](this[_0xa6fe02(0x28b)][_0xa6fe02(0x334)]());}},_0x47eee2=class{constructor(_0x5f27db){const _0x1e3418=_0x571676;this[_0x1e3418(0x2aa)]=_0x5f27db,_0x1a302a(this,_0x1e3418(0x292),_0x93a0d4[_0x1e3418(0x1a5)][_0x1e3418(0x52e)]),_0x1a302a(this,'subType',_0x93a0d4[_0x1e3418(0x2a0)][_0x1e3418(0x423)]),_0x1a302a(this,_0x1e3418(0x19f),_0x13cf76[_0x1e3418(0x46c)][_0x1e3418(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x1e3418(0x315),!0x0),this['id']=this[_0x1e3418(0x292)]+'.'+this['subType']+'_'+_0x5f27db;}},_0x144443=class{constructor(_0x423f05){const _0x2f40ee=_0x571676;this[_0x2f40ee(0x2aa)]=_0x423f05,_0x1a302a(this,_0x2f40ee(0x292),_0x93a0d4[_0x2f40ee(0x1a5)][_0x2f40ee(0x52e)]),_0x1a302a(this,_0x2f40ee(0x3ba),_0x93a0d4[_0x2f40ee(0x2a0)][_0x2f40ee(0x4a8)]),_0x1a302a(this,_0x2f40ee(0x19f),_0x13cf76[_0x2f40ee(0x46c)][_0x2f40ee(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this[_0x2f40ee(0x292)]+'.'+this[_0x2f40ee(0x3ba)]+'_'+_0x423f05;}},_0x5af97c=class{constructor(_0x2edfaa){const _0x50725d=_0x571676;this[_0x50725d(0x2aa)]=_0x2edfaa,_0x1a302a(this,_0x50725d(0x292),_0x93a0d4[_0x50725d(0x1a5)]['Base']),_0x1a302a(this,_0x50725d(0x3ba),_0x93a0d4[_0x50725d(0x2a0)]['Edit']),_0x1a302a(this,_0x50725d(0x19f),_0x13cf76['PermissionStatus'][_0x50725d(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x50725d(0x315),!0x0),this['id']=this[_0x50725d(0x292)]+'.'+this['subType']+'_'+_0x2edfaa;}},_0x2199dd=class{constructor(_0x54ce74){const _0x2af923=_0x571676;this[_0x2af923(0x2aa)]=_0x54ce74,_0x1a302a(this,'type',_0x93a0d4[_0x2af923(0x1a5)][_0x2af923(0x52e)]),_0x1a302a(this,_0x2af923(0x3ba),_0x93a0d4[_0x2af923(0x2a0)][_0x2af923(0x466)]),_0x1a302a(this,_0x2af923(0x19f),_0x13cf76[_0x2af923(0x46c)][_0x2af923(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x2af923(0x315),!0x0),this['id']=this[_0x2af923(0x292)]+'.'+this[_0x2af923(0x3ba)]+'_'+_0x54ce74;}},_0xdd0e39=class{constructor(_0x13684c,_0x57d987){const _0x4f916a=_0x571676;this[_0x4f916a(0x2aa)]=_0x13684c,this[_0x4f916a(0x3f3)]=_0x57d987,_0x1a302a(this,_0x4f916a(0x292),_0x93a0d4['UnitObject'][_0x4f916a(0x4d7)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4f916a(0x2a0)][_0x4f916a(0x5a0)]),_0x1a302a(this,_0x4f916a(0x19f),_0x13cf76['PermissionStatus'][_0x4f916a(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x4f916a(0x3ba)]+'_'+_0x13684c+'_'+_0x57d987;}},_0x2f2a0a=class{constructor(_0x5e2660,_0x3df6d6){const _0x5d45c6=_0x571676;this[_0x5d45c6(0x2aa)]=_0x5e2660,this['objectId']=_0x3df6d6,_0x1a302a(this,_0x5d45c6(0x292),_0x93a0d4[_0x5d45c6(0x1a5)][_0x5d45c6(0x24c)]),_0x1a302a(this,_0x5d45c6(0x3ba),_0x93a0d4['UnitAction'][_0x5d45c6(0x5a0)]),_0x1a302a(this,_0x5d45c6(0x19f),_0x13cf76[_0x5d45c6(0x46c)][_0x5d45c6(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x5d45c6(0x315),!0x0),this['id']=this[_0x5d45c6(0x292)]+'.'+this[_0x5d45c6(0x3ba)]+'_'+_0x5e2660+'_'+_0x3df6d6;}},_0x27232b=class{constructor(_0x1d830d,_0x1566a0){const _0xca47f5=_0x571676;this[_0xca47f5(0x2aa)]=_0x1d830d,this[_0xca47f5(0x3f3)]=_0x1566a0,_0x1a302a(this,_0xca47f5(0x292),_0x93a0d4['UnitObject'][_0xca47f5(0x52c)]),_0x1a302a(this,'subType',_0x93a0d4[_0xca47f5(0x2a0)]['Edit']),_0x1a302a(this,'status',_0x13cf76[_0xca47f5(0x46c)][_0xca47f5(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0xca47f5(0x315),!0x0),this['id']=this['type']+'.'+this[_0xca47f5(0x3ba)]+'_'+_0x1d830d+'_'+_0x1566a0;}},_0x1a10c2=class{constructor(_0x15aa5a,_0xcfe33c){const _0x410f2f=_0x571676;this[_0x410f2f(0x2aa)]=_0x15aa5a,this[_0x410f2f(0x3f3)]=_0xcfe33c,_0x1a302a(this,_0x410f2f(0x292),_0x93a0d4['UnitObject'][_0x410f2f(0x346)]),_0x1a302a(this,_0x410f2f(0x3ba),_0x93a0d4[_0x410f2f(0x2a0)]['Edit']),_0x1a302a(this,_0x410f2f(0x19f),_0x13cf76[_0x410f2f(0x46c)][_0x410f2f(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x410f2f(0x315),!0x0),this['id']=this[_0x410f2f(0x292)]+'.'+this['subType']+'_'+_0x15aa5a+'_'+_0xcfe33c;}},_0x46a5c4=class{constructor(_0x1e76a8,_0x1820fc){const _0x4d2d14=_0x571676;this[_0x4d2d14(0x2aa)]=_0x1e76a8,this[_0x4d2d14(0x3f3)]=_0x1820fc,_0x1a302a(this,_0x4d2d14(0x292),_0x93a0d4[_0x4d2d14(0x1a5)][_0x4d2d14(0x32f)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4d2d14(0x2a0)][_0x4d2d14(0x5a0)]),_0x1a302a(this,_0x4d2d14(0x19f),_0x13cf76[_0x4d2d14(0x46c)]['INIT']),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x4d2d14(0x315),!0x0),this['id']=this['type']+'.'+this[_0x4d2d14(0x3ba)]+'_'+_0x1e76a8+'_'+_0x1820fc;}};let _0x147f37=[_0x93a0d4['UnitAction'][_0x571676(0x5a0)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x4a8)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x466)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x423)]],_0xcee863=new Set([_0x93a0d4[_0x571676(0x1a5)]['Base'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x346)],_0x93a0d4['UnitObject']['BaseField'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x52c)],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x32f)],_0x93a0d4[_0x571676(0x1a5)]['BaseDashboard']]),_0x1a654f=_0x571676(0x211),_0x2383e6=_0x571676(0x26e),_0xbd8392=_0x571676(0x507),_0x870127=_0x571676(0x30c),_0xbce93f=_0x571676(0x546);function _0x1162c3(_0x23ce17){return''+_0x1a654f+encodeURIComponent(_0x23ce17);}function _0x1d768a(_0x53f17a,_0x415e58){return''+_0x2383e6+encodeURIComponent(_0x53f17a)+'/'+encodeURIComponent(_0x415e58);}function _0x458252(_0x577399,_0x12dbd7){return''+_0xbd8392+encodeURIComponent(_0x577399)+'/'+encodeURIComponent(_0x12dbd7);}function _0x3c9691(_0x4c9a33,_0x475539){return''+_0x870127+encodeURIComponent(_0x4c9a33)+'/'+encodeURIComponent(_0x475539);}function _0x47141a(_0xc3e94c){return''+_0xbce93f+encodeURIComponent(_0xc3e94c);}function _0x41f091(_0x246e3a,_0x5cd3e0,_0xb30799){const _0x27b621=_0x571676;if(_0x5cd3e0===_0x246e3a)switch(_0xb30799){case _0x93a0d4[_0x27b621(0x2a0)][_0x27b621(0x5a0)]:return new _0x5af97c(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x4a8)]:return new _0x144443(_0x246e3a);case _0x93a0d4[_0x27b621(0x2a0)]['Export']:return new _0x2199dd(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x423)]:return new _0x47eee2(_0x246e3a);default:throw Error(_0x27b621(0x1b2)+_0xb30799);}if(_0xb30799!==_0x93a0d4['UnitAction'][_0x27b621(0x5a0)])throw Error(_0x27b621(0x3e7)+_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x1a654f))return new _0x1a10c2(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x2383e6))return new _0x2f2a0a(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0xbd8392))return new _0x27232b(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0x870127))return new _0x46a5c4(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0xbce93f))return new _0xdd0e39(_0x246e3a,_0x5cd3e0);throw Error(_0x27b621(0x4aa)+_0x5cd3e0);}function _0x22a775(_0x349a50,_0x357ae8,_0x2ea948,_0x508b2e){const _0x38af54=_0x571676;var _0x2d0bc7;return((_0x2d0bc7=_0x349a50[_0x38af54(0x488)](_0x41f091(_0x357ae8,_0x2ea948,_0x508b2e)['id']))==null?void 0x0:_0x2d0bc7['value'])??!0x0;}function _0x10a84e(_0x44e3c7,_0x33e606,_0x23e2cc,_0x2b7572,_0x6be8a9){const _0x3b401b=_0x571676;let _0x551b34=_0x41f091(_0x33e606,_0x23e2cc,_0x2b7572);_0x44e3c7[_0x3b401b(0x488)](_0x551b34['id'])||_0x44e3c7['addPermissionPoint'](_0x551b34),_0x44e3c7[_0x3b401b(0x1f2)](_0x551b34['id'],_0x6be8a9);}function _0xf687c4(_0x976592,_0x98bbc8,_0x17ab21,_0xe56c43){const _0x3978a4=_0x571676;_0x976592[_0x3978a4(0x42f)](_0x41f091(_0x98bbc8,_0x17ab21,_0xe56c43)['id']);}function _0x43ed86(_0x4e7d47,_0x1dbc97){const _0x1f0965=_0x571676;_0x4e7d47[_0x1f0965(0x451)]()[_0x1f0965(0x3c9)]((_0x2fc6cb,_0x1ca4d7)=>{const _0xe1c280=_0x1f0965;_0x2fc6cb[_0xe1c280(0x362)](_0x284a7a=>{const _0x2d4c54=_0xe1c280;_0xcee863['has'](_0x284a7a[_0x2d4c54(0x292)])&&_0x2d4c54(0x2aa)in _0x284a7a&&_0x284a7a[_0x2d4c54(0x2aa)]===_0x1dbc97&&_0x4e7d47[_0x2d4c54(0x42f)](_0x1ca4d7);})[_0xe1c280(0x294)]();});}function _0x712233(_0x26826a,_0xfd0b62,_0xba9186){const _0x265ef3=_0x571676;return _0x22a775(_0x26826a,_0xfd0b62,_0xfd0b62,_0x93a0d4[_0x265ef3(0x2a0)][_0x265ef3(0x5a0)])&&Array[_0x265ef3(0x2ed)](_0xba9186)[_0x265ef3(0x5a5)](_0x100a7c=>_0x22a775(_0x26826a,_0xfd0b62,_0x100a7c,_0x93a0d4['UnitAction'][_0x265ef3(0x5a0)]));}function _0xddcdca(_0x2ad919,_0x310be2){return function(_0x1ee72c,_0x1e0c0a){_0x310be2(_0x1ee72c,_0x1e0c0a,_0x2ad919);};}function _0xd015f8(_0x377755,_0x4b6650,_0x57497e,_0x6f964c){const _0x3f5a64=_0x571676;var _0x1c7009=arguments[_0x3f5a64(0x4e9)],_0x4fbfd2=_0x1c7009<0x3?_0x4b6650:_0x6f964c===null?_0x6f964c=Object[_0x3f5a64(0x2cf)](_0x4b6650,_0x57497e):_0x6f964c,_0x543d81;if(typeof Reflect==_0x3f5a64(0x1a7)&&typeof Reflect[_0x3f5a64(0x3e2)]==_0x3f5a64(0x3ac))_0x4fbfd2=Reflect[_0x3f5a64(0x3e2)](_0x377755,_0x4b6650,_0x57497e,_0x6f964c);else{for(var _0x72a7a6=_0x377755['length']-0x1;_0x72a7a6>=0x0;_0x72a7a6--)(_0x543d81=_0x377755[_0x72a7a6])&&(_0x4fbfd2=(_0x1c7009<0x3?_0x543d81(_0x4fbfd2):_0x1c7009>0x3?_0x543d81(_0x4b6650,_0x57497e,_0x4fbfd2):_0x543d81(_0x4b6650,_0x57497e))||_0x4fbfd2);}return _0x1c7009>0x3&&_0x4fbfd2&&Object['defineProperty'](_0x4b6650,_0x57497e,_0x4fbfd2),_0x4fbfd2;}let _0x43d5bd=(0x0,_0x13cf76['createIdentifier'])('base.permission.service'),_0x156190=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x476204,_0x50cedd){const _0x2c5667=_0x571676;super(),this['_permissionService']=_0x476204,this[_0x2c5667(0x1c6)]=_0x50cedd,_0x1a302a(this,_0x2c5667(0x1bd),new Map()),_0x1a302a(this,'_tablePermissions',new Map()),_0x1a302a(this,_0x2c5667(0x2d9),new Map()),_0x1a302a(this,_0x2c5667(0x372),new Map()),_0x1a302a(this,_0x2c5667(0x2ce),new Map()),_0x1a302a(this,_0x2c5667(0x240),new Map()),this[_0x2c5667(0x48a)](this['_instanceService'][_0x2c5667(0x33a)](_0x13cf76[_0x2c5667(0x331)][_0x2c5667(0x321)])[_0x2c5667(0x362)](_0x57a02f=>this['_clearUnit'](_0x57a02f[_0x2c5667(0x5ca)]())));}[_0x571676(0x4f6)](_0x4b43d4){const _0x396833=_0x571676;var _0x2435aa;return this[_0x396833(0x2fd)](_0x4b43d4,[])&&(((_0x2435aa=this[_0x396833(0x1bd)][_0x396833(0x59c)](_0x4b43d4))==null?void 0x0:_0x2435aa[_0x396833(0x2af)])??!0x0);}['canEditTable'](_0x316719){const _0x5cf0b3=_0x571676;return this[_0x5cf0b3(0x526)](_0x316719);}['canDeleteTable'](_0x3c3efe){const _0x11c625=_0x571676;var _0x386cd7;return this['_canEditTable'](_0x3c3efe)&&(((_0x386cd7=this[_0x11c625(0x531)][_0x11c625(0x59c)](_0x3c3efe))==null?void 0x0:_0x386cd7[_0x11c625(0x37c)])??!0x0);}[_0x571676(0x309)](_0x4c7700){const _0x16c71d=_0x571676;var _0x35792b;return this['_canEditTable'](_0x4c7700)&&(((_0x35792b=this['_tablePermissions']['get'](_0x4c7700))==null?void 0x0:_0x35792b[_0x16c71d(0x444)])??!0x0);}[_0x571676(0x265)](_0x15a432,_0x290b45){const _0x41fb0a=_0x571676;var _0x3975c4;return this[_0x41fb0a(0x526)](_0x15a432)&&this[_0x41fb0a(0x2fd)](_0x15a432,[_0x1d768a(_0x15a432,_0x290b45)])&&(((_0x3975c4=this[_0x41fb0a(0x2d9)]['get'](_0x56e44b(_0x15a432,_0x290b45)))==null?void 0x0:_0x3975c4['edit'])??!0x0);}['canDeleteField'](_0x3c22d7,_0x1d1846){const _0x1f2fc1=_0x571676;var _0x34baa1;return this['canEditField'](_0x3c22d7,_0x1d1846)&&(((_0x34baa1=this[_0x1f2fc1(0x2d9)][_0x1f2fc1(0x59c)](_0x56e44b(_0x3c22d7,_0x1d1846)))==null?void 0x0:_0x34baa1[_0x1f2fc1(0x37c)])??!0x0);}['canCreateRecord'](_0x43329e){const _0x4f1b92=_0x571676;var _0x23977a;return this[_0x4f1b92(0x526)](_0x43329e)&&(((_0x23977a=this[_0x4f1b92(0x531)][_0x4f1b92(0x59c)](_0x43329e))==null?void 0x0:_0x23977a[_0x4f1b92(0x5ad)])??!0x0);}[_0x571676(0x4ff)](_0x4552b9,_0x2d19c2){const _0x4a40ac=_0x571676;var _0x3f9964;let _0x47ea15=this[_0x4a40ac(0x372)][_0x4a40ac(0x59c)](_0x3f872d(_0x4552b9,_0x2d19c2));return this[_0x4a40ac(0x2fd)](_0x4552b9,[_0x1162c3(_0x4552b9),_0x458252(_0x4552b9,_0x2d19c2)])&&(((_0x3f9964=this['_tablePermissions'][_0x4a40ac(0x59c)](_0x4552b9))==null?void 0x0:_0x3f9964[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x501)])??!0x0);}['canDeleteRecord'](_0x482b6a,_0x389d14){const _0x596be4=_0x571676;var _0x3d1d95,_0x2fcef7,_0x507a6c;return this[_0x596be4(0x2fd)](_0x482b6a,[_0x1162c3(_0x482b6a),_0x458252(_0x482b6a,_0x389d14)])&&(((_0x3d1d95=this['_tablePermissions'][_0x596be4(0x59c)](_0x482b6a))==null?void 0x0:_0x3d1d95[_0x596be4(0x5e1)])??!0x0)&&(((_0x2fcef7=this[_0x596be4(0x372)][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x2fcef7[_0x596be4(0x5e1)])??!0x0)&&(((_0x507a6c=this['_recordPermissions'][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x507a6c['delete'])??!0x0);}[_0x571676(0x502)](_0x4f9746,_0xbd1e8d,_0x10d35b){const _0x3595bf=_0x571676;var _0x2a71b9,_0x12f7a2,_0x4b9890;let _0x2205aa=this[_0x3595bf(0x2d9)][_0x3595bf(0x59c)](_0x56e44b(_0x4f9746,_0x10d35b));return this[_0x3595bf(0x2fd)](_0x4f9746,[_0x1162c3(_0x4f9746),_0x1d768a(_0x4f9746,_0x10d35b),_0x458252(_0x4f9746,_0xbd1e8d)])&&(((_0x2a71b9=this['_tablePermissions'][_0x3595bf(0x59c)](_0x4f9746))==null?void 0x0:_0x2a71b9[_0x3595bf(0x5e1)])??!0x0)&&(((_0x12f7a2=this[_0x3595bf(0x372)]['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x12f7a2[_0x3595bf(0x5e1)])??!0x0)&&(((_0x4b9890=this['_recordPermissions']['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x4b9890['editCell'])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x5e1)])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x501)])??!0x0);}[_0x571676(0x447)](_0x14ede8,_0x23b2f2){const _0x5c23eb=_0x571676;var _0x44e951,_0x44f861,_0x2d13a7;return this['_canEdit'](_0x14ede8,[_0x1162c3(_0x14ede8),_0x3c9691(_0x14ede8,_0x23b2f2)])&&(((_0x44e951=this['_tablePermissions'][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x44e951[_0x5c23eb(0x5e1)])??!0x0)&&(((_0x44f861=this[_0x5c23eb(0x2ce)][_0x5c23eb(0x59c)](_0x291a16(_0x14ede8,_0x23b2f2)))==null?void 0x0:_0x44f861['edit'])??!0x0)&&(((_0x2d13a7=this[_0x5c23eb(0x531)][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x2d13a7['manageView'])??!0x0);}[_0x571676(0x581)](_0x3dce10,_0x3c5937){const _0x449816=_0x571676;this[_0x449816(0x1bd)][_0x449816(0x569)](_0x3dce10,{...this[_0x449816(0x1bd)][_0x449816(0x59c)](_0x3dce10),..._0x3c5937}),_0x3c5937[_0x449816(0x5e1)]!==void 0x0&&_0x10a84e(this[_0x449816(0x3e4)],_0x3dce10,_0x3dce10,_0x93a0d4[_0x449816(0x2a0)][_0x449816(0x5a0)],_0x3c5937[_0x449816(0x5e1)]);}['setTablePermission'](_0x2a6853,_0x49debe){const _0x314bc1=_0x571676;this[_0x314bc1(0x311)](_0x2a6853),this[_0x314bc1(0x531)]['set'](_0x2a6853,{...this[_0x314bc1(0x531)][_0x314bc1(0x59c)](_0x2a6853),..._0x49debe}),this[_0x314bc1(0x577)](_0x2a6853,_0x1162c3(_0x2a6853),_0x49debe[_0x314bc1(0x5e1)]);}[_0x571676(0x356)](_0x4bdc31,_0x4508f3,_0x38a92b){const _0x4e7488=_0x571676;this[_0x4e7488(0x311)](_0x4bdc31);let _0x108614=_0x56e44b(_0x4bdc31,_0x4508f3);this[_0x4e7488(0x2d9)][_0x4e7488(0x569)](_0x108614,{...this[_0x4e7488(0x2d9)][_0x4e7488(0x59c)](_0x108614),..._0x38a92b}),this[_0x4e7488(0x577)](_0x4bdc31,_0x1d768a(_0x4bdc31,_0x4508f3),_0x38a92b[_0x4e7488(0x5e1)]);}[_0x571676(0x583)](_0x1ba94f,_0x2682a7,_0x866e63){const _0x3682b7=_0x571676;this[_0x3682b7(0x311)](_0x1ba94f);let _0x4b12f9=_0x3f872d(_0x1ba94f,_0x2682a7);this[_0x3682b7(0x372)][_0x3682b7(0x569)](_0x4b12f9,{...this[_0x3682b7(0x372)]['get'](_0x4b12f9),..._0x866e63}),this[_0x3682b7(0x577)](_0x1ba94f,_0x458252(_0x1ba94f,_0x2682a7),_0x866e63[_0x3682b7(0x5e1)]);}[_0x571676(0x35b)](_0x3cf3a8,_0x33d7ab,_0xa805ae){const _0x10f9d7=_0x571676;this[_0x10f9d7(0x311)](_0x3cf3a8);let _0x2ae851=_0x291a16(_0x3cf3a8,_0x33d7ab);this['_viewPermissions'][_0x10f9d7(0x569)](_0x2ae851,{...this[_0x10f9d7(0x2ce)][_0x10f9d7(0x59c)](_0x2ae851),..._0xa805ae}),this[_0x10f9d7(0x577)](_0x3cf3a8,_0x3c9691(_0x3cf3a8,_0x33d7ab),_0xa805ae[_0x10f9d7(0x5e1)]);}[_0x571676(0x439)](_0x5cf343){const _0x5cb914=_0x571676;this[_0x5cb914(0x1bd)]['delete'](_0x5cf343),_0xf687c4(this['_permissionService'],_0x5cf343,_0x5cf343,_0x93a0d4['UnitAction'][_0x5cb914(0x5a0)]);}[_0x571676(0x5a3)](_0x2a1407){const _0x328f1f=_0x571676;this[_0x328f1f(0x531)][_0x328f1f(0x37c)](_0x2a1407),this[_0x328f1f(0x328)](_0x2a1407,_0x1162c3(_0x2a1407));}[_0x571676(0x54e)](_0x228e88,_0x42bac3){const _0x33fe68=_0x571676;this[_0x33fe68(0x2d9)][_0x33fe68(0x37c)](_0x56e44b(_0x228e88,_0x42bac3)),this[_0x33fe68(0x328)](_0x228e88,_0x1d768a(_0x228e88,_0x42bac3));}['clearRecordPermission'](_0x2e7d5a,_0x5b0434){const _0x3ea68d=_0x571676;this[_0x3ea68d(0x372)][_0x3ea68d(0x37c)](_0x3f872d(_0x2e7d5a,_0x5b0434)),this[_0x3ea68d(0x328)](_0x2e7d5a,_0x458252(_0x2e7d5a,_0x5b0434));}['clearViewPermission'](_0x403ed8,_0x3340c9){const _0x501369=_0x571676;this['_viewPermissions']['delete'](_0x291a16(_0x403ed8,_0x3340c9)),this[_0x501369(0x328)](_0x403ed8,_0x3c9691(_0x403ed8,_0x3340c9));}[_0x571676(0x463)](){const _0x5bda16=_0x571676;return{'bases':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x1bd)]),'tables':Object['fromEntries'](this[_0x5bda16(0x531)]),'fields':Object['fromEntries'](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x5bda16(0x372)]),'views':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x2ce)])};}[_0x571676(0x526)](_0x24abb3){const _0x5d524d=_0x571676;var _0x1b6042;return this['_canEdit'](_0x24abb3,[_0x1162c3(_0x24abb3)])&&(((_0x1b6042=this[_0x5d524d(0x531)][_0x5d524d(0x59c)](_0x24abb3))==null?void 0x0:_0x1b6042['edit'])??!0x0);}[_0x571676(0x2fd)](_0x701c8e,_0x289d09){const _0x5d9634=_0x571676;var _0x208d34;let _0x1d47a2=this[_0x5d9634(0x2c3)](_0x701c8e);return!_0x1d47a2||_0x712233(this[_0x5d9634(0x3e4)],_0x1d47a2,_0x289d09)&&(((_0x208d34=this[_0x5d9634(0x1bd)][_0x5d9634(0x59c)](_0x1d47a2))==null?void 0x0:_0x208d34[_0x5d9634(0x5e1)])??!0x0);}[_0x571676(0x577)](_0x63c328,_0x5822c1,_0x56ef4f){const _0x452d4a=_0x571676;if(_0x56ef4f===void 0x0)return;let _0x48c46f=this[_0x452d4a(0x2c3)](_0x63c328);_0x48c46f&&_0x10a84e(this['_permissionService'],_0x48c46f,_0x5822c1,_0x93a0d4[_0x452d4a(0x2a0)][_0x452d4a(0x5a0)],_0x56ef4f);}[_0x571676(0x328)](_0x20d8f7,_0x3caf57){const _0x21ebbc=_0x571676;let _0x1e54e3=this['_resolveBaseId'](_0x20d8f7);_0x1e54e3&&_0xf687c4(this[_0x21ebbc(0x3e4)],_0x1e54e3,_0x3caf57,_0x93a0d4[_0x21ebbc(0x2a0)][_0x21ebbc(0x5a0)]);}[_0x571676(0x2c3)](_0x5a2bfe){const _0x1b6db3=_0x571676;var _0x51795e;let _0xac5f74=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x363)](_0x5a2bfe,_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)]);return _0xac5f74?_0xac5f74[_0x1b6db3(0x5ca)]():(_0x51795e=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x4bd)](_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)])[_0x1b6db3(0x56a)](_0x296d90=>!!_0x296d90[_0x1b6db3(0x463)]()[_0x1b6db3(0x291)][_0x5a2bfe]))==null?void 0x0:_0x51795e[_0x1b6db3(0x5ca)]();}['_rememberTable'](_0x516ed5){const _0x452d9d=_0x571676;let _0x3c9489=this[_0x452d9d(0x2c3)](_0x516ed5);_0x3c9489&&this[_0x452d9d(0x240)][_0x452d9d(0x569)](_0x516ed5,_0x3c9489);}[_0x571676(0x194)](_0x320d7c){const _0x18759d=_0x571676;this[_0x18759d(0x1bd)]['delete'](_0x320d7c),this[_0x18759d(0x240)][_0x18759d(0x3c9)]((_0x11773f,_0x10f587)=>{const _0x2ff9ed=_0x18759d;_0x11773f===_0x320d7c&&(this[_0x2ff9ed(0x531)][_0x2ff9ed(0x37c)](_0x10f587),_0x502dca(this[_0x2ff9ed(0x2d9)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x372)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x2ce)],_0x10f587+'\x1f'),this['_tableBaseIds'][_0x2ff9ed(0x37c)](_0x10f587));});}};_0x156190=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x156190);function _0x502dca(_0x4bb4d9,_0x34b89f){const _0x57c335=_0x571676;_0x4bb4d9[_0x57c335(0x3c9)]((_0x2c9d4e,_0x40e346)=>{const _0x135bf0=_0x57c335;_0x40e346[_0x135bf0(0x33b)](_0x34b89f)&&_0x4bb4d9[_0x135bf0(0x37c)](_0x40e346);});}function _0x56e44b(_0x15529e,_0x4c5df1){return _0x15529e+'\x1f'+_0x4c5df1;}function _0x3f872d(_0x22243f,_0x1e2bd9){return _0x22243f+'\x1f'+_0x1e2bd9;}function _0x291a16(_0x450fe9,_0x22292c){return _0x450fe9+'\x1f'+_0x22292c;}let _0x5cf6f3=(0x0,_0x13cf76['createIdentifier'])(_0x571676(0x3db)),_0x2f32b0=class{constructor(_0x20a661,_0x466693=_0x1468a8(),_0x54177d={}){const _0x1f90ec=_0x571676;this[_0x1f90ec(0x3e4)]=_0x20a661,this[_0x1f90ec(0x26f)]=_0x466693,this[_0x1f90ec(0x511)]=_0x54177d,_0x1a302a(this,_0x1f90ec(0x300),new _0x3db0f3()),_0x1a302a(this,_0x1f90ec(0x396),new _0x1aaf1b());}[_0x571676(0x2af)](_0x41bf80,_0x5300bf,_0x4d5f8f){const _0x20a8a0=_0x571676;if(!this[_0x20a8a0(0x3e4)][_0x20a8a0(0x4f6)](_0x41bf80['getUnitId']()))throw Error(_0x20a8a0(0x510));(0x0,_0x13cf76[_0x20a8a0(0x518)])(_0x5300bf),this['_apply'](_0x41bf80,this[_0x20a8a0(0x300)][_0x20a8a0(0x2af)](_0x41bf80[_0x20a8a0(0x463)](),_0x5300bf,_0x4d5f8f));}['renameTable'](_0xde459b,_0x15b4a0,_0x2ed6b5){const _0x49fc34=_0x571676;if(!this[_0x49fc34(0x3e4)]['canEditTable'](_0x15b4a0))throw Error(_0x49fc34(0x588));this['_apply'](_0xde459b,this[_0x49fc34(0x300)]['renameTable'](_0xde459b[_0x49fc34(0x463)](),_0x15b4a0,_0x2ed6b5));}[_0x571676(0x214)](_0x330941,_0x590647){const _0x1c7482=_0x571676;if(!this['_permissionService']['canDeleteTable'](_0x590647))throw Error(_0x1c7482(0x5c8));let _0x358170=_0x520eb7(_0x330941[_0x1c7482(0x463)](),_0x590647);if(_0x358170[_0x1c7482(0x4e9)]>0x0)throw Error(_0x1c7482(0x394)+_0x358170[_0x1c7482(0x329)](_0x5650db=>_0x5650db['tableId']+'.'+_0x5650db[_0x1c7482(0x384)])[_0x1c7482(0x4b9)](',\x20')+').');this[_0x1c7482(0x28f)](_0x330941,this[_0x1c7482(0x300)][_0x1c7482(0x214)](_0x330941[_0x1c7482(0x463)](),_0x590647));}[_0x571676(0x4a1)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6){const _0x108451=_0x571676;this[_0x108451(0x28f)](_0x2341b5,this[_0x108451(0x420)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6));}[_0x571676(0x565)](_0xb4d17c,_0x4675e3,_0x5cca78){const _0x218d0a=_0x571676;this[_0x218d0a(0x28f)](_0xb4d17c,this[_0x218d0a(0x59f)](_0xb4d17c,_0x4675e3,_0x5cca78));}[_0x571676(0x5ad)](_0x211355,_0x3e61a0,_0x42d382){const _0x32df3e=_0x571676;this['_apply'](_0x211355,this[_0x32df3e(0x557)](_0x211355,_0x3e61a0,_0x42d382));}[_0x571676(0x420)](_0x1b000c,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9){const _0x79daf1=_0x571676;let _0x43c1ba=_0x1b000c['getSnapshot'](),_0x435a98=this[_0x79daf1(0x50c)](_0x43c1ba,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9),_0x3ff120=this[_0x79daf1(0x5a1)](_0x43c1ba,_0x56f8a4,_0x7b4719,{[_0x19faee]:_0x435a98});return this[_0x79daf1(0x300)][_0x79daf1(0x565)](_0x43c1ba,_0x56f8a4,[_0x3ff120]);}[_0x571676(0x59f)](_0x3763e0,_0x43af95,_0x2d502e){const _0x1e60b3=_0x571676;let _0xffe40c=_0x3763e0[_0x1e60b3(0x463)](),_0x40c862=_0x2d502e[_0x1e60b3(0x329)](_0x339386=>this['_withModifiedSystemValues'](_0xffe40c,_0x43af95,_0x339386[_0x1e60b3(0x5c4)],{...Object[_0x1e60b3(0x1fc)](Object[_0x1e60b3(0x460)](_0x339386['values'])[_0x1e60b3(0x329)](([_0x33db4b,_0x2dbd98])=>[_0x33db4b,this[_0x1e60b3(0x50c)](_0xffe40c,_0x43af95,_0x339386['recordId'],_0x33db4b,_0x2dbd98)]))}));return this[_0x1e60b3(0x300)][_0x1e60b3(0x565)](_0xffe40c,_0x43af95,_0x40c862);}[_0x571676(0x557)](_0x5b47b3,_0x962ca7,_0x5ec270){const _0x8ef849=_0x571676;if(!this[_0x8ef849(0x3e4)]['canCreateRecord'](_0x962ca7))throw Error(_0x8ef849(0x44a));let _0x4ce6f1=_0x5b47b3[_0x8ef849(0x463)](),_0xf69929=this['_createNumberingAllocators'](_0x4ce6f1[_0x8ef849(0x291)][_0x962ca7]);return this['_factory']['createRecord'](_0x4ce6f1,_0x962ca7,this[_0x8ef849(0x567)](_0x4ce6f1,_0x962ca7,_0x5ec270,_0xf69929));}['createBatchCreateRecordsOp'](_0x5eff68,_0x2ee566,_0xddad3c){const _0x42f123=_0x571676;if(!this[_0x42f123(0x3e4)][_0x42f123(0x434)](_0x2ee566))throw Error(_0x42f123(0x44a));let _0x5df4a0=_0x5eff68['getSnapshot']();return _0x32800a(_0x42f123(0x4de),()=>{const _0x98161b=_0x42f123;let _0x1163a3=this['_createNumberingAllocators'](_0x5df4a0[_0x98161b(0x291)][_0x2ee566]);return this['_factory'][_0x98161b(0x248)](_0x5df4a0,_0x2ee566,_0xddad3c[_0x98161b(0x329)](_0x141f8e=>this['_createRecordWithDefaults'](_0x5df4a0,_0x2ee566,_0x141f8e,_0x1163a3)));},{'existingRecords':Object[_0x42f123(0x2db)](_0x5df4a0['tables'][_0x2ee566][_0x42f123(0x38f)])['length'],'records':_0xddad3c[_0x42f123(0x4e9)]});}[_0x571676(0x586)](_0x4cb3e8,_0x3f1f53,_0xfac17e,_0x65d859,_0x18ce50){const _0x4239cc=_0x571676;if(!this['_permissionService'][_0x4239cc(0x309)](_0x3f1f53))throw Error(_0x4239cc(0x514));let _0x11cabf=_0x4cb3e8['getSnapshot']();if(this['_assertFieldDefinition'](_0x11cabf,_0xfac17e),_0x65d859===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x3d3f10=this[_0x4239cc(0x300)]['createField'](_0x11cabf,_0x3f1f53,{'field':_0xfac17e,'index':_0x65d859,'viewIndexes':_0x18ce50}),_0x17e2bb=this[_0x4239cc(0x24f)](_0x11cabf,_0x3f1f53,_0xfac17e);if(!_0x17e2bb[_0x4239cc(0x4e9)])return _0x3d3f10;let _0x19eba7=this[_0x4239cc(0x396)][_0x4239cc(0x4d8)](_0x11cabf,_0x3d3f10);return _0x16f182([_0x3d3f10,this[_0x4239cc(0x300)][_0x4239cc(0x565)](_0x19eba7,_0x3f1f53,_0x17e2bb)]);}[_0x571676(0x5dc)](_0x18d50a,_0x1bde1e,_0x1aba34){const _0x31d34f=_0x571676;if(!this['_permissionService'][_0x31d34f(0x1c5)](_0x1bde1e,_0x1aba34))throw Error(_0x31d34f(0x1ee));this['_apply'](_0x18d50a,this[_0x31d34f(0x300)][_0x31d34f(0x5dc)](_0x18d50a['getSnapshot'](),_0x1bde1e,_0x1aba34));}['duplicateRecord'](_0x407bef,_0x5fee1,_0x3664a8,_0xe73b5){const _0x2d6988=_0x571676;if(!this[_0x2d6988(0x3e4)][_0x2d6988(0x434)](_0x5fee1))throw Error(_0x2d6988(0x44a));this[_0x2d6988(0x28f)](_0x407bef,this[_0x2d6988(0x300)][_0x2d6988(0x529)](_0x407bef[_0x2d6988(0x463)](),_0x5fee1,_0x3664a8,{..._0xe73b5,'values':{..._0xe73b5[_0x2d6988(0x334)],[_0x13cf76[_0x2d6988(0x544)]]:_0xe73b5['id']}}));}[_0x571676(0x1ad)](_0x58e0ac,_0x4c86e0,_0x6197b1,_0x1025c2){const _0x4ebe57=_0x571676;if(!this[_0x4ebe57(0x3e4)][_0x4ebe57(0x4ff)](_0x4c86e0,_0x6197b1))throw Error(_0x4ebe57(0x382));this[_0x4ebe57(0x28f)](_0x58e0ac,this[_0x4ebe57(0x300)][_0x4ebe57(0x1ad)](_0x58e0ac[_0x4ebe57(0x463)](),_0x4c86e0,_0x6197b1,_0x1025c2));}['createField'](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d){const _0x4ab224=_0x571676;this['_apply'](_0x12714b,this[_0x4ab224(0x586)](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d));}[_0x571676(0x241)](_0x2d332d,_0x138514,_0x4cdf30,_0x19ae4c){const _0xac9398=_0x571676;var _0x584d5d;if(!this[_0xac9398(0x3e4)]['canEditField'](_0x138514,_0x4cdf30))throw Error(_0xac9398(0x3e1));let _0x59252f=_0x2d332d['getSnapshot'](),_0x31a1d9=(_0x584d5d=_0x59252f[_0xac9398(0x291)][_0x138514])==null?void 0x0:_0x584d5d[_0xac9398(0x3c2)][_0x4cdf30];if(!_0x31a1d9||_0x4cdf30===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])throw Error(_0xac9398(0x3d5));this[_0xac9398(0x364)](_0x59252f,{..._0x31a1d9,..._0x19ae4c}),this[_0xac9398(0x28f)](_0x2d332d,this[_0xac9398(0x300)][_0xac9398(0x241)](_0x59252f,_0x138514,_0x4cdf30,_0x19ae4c));}[_0x571676(0x1d1)](_0x4cdf1d,_0x19427e,_0x15f1e7,_0x2de9e6){const _0x1b0745=_0x571676;var _0x4f6ceb;if(!this[_0x1b0745(0x3e4)][_0x1b0745(0x265)](_0x19427e,_0x15f1e7))throw Error(_0x1b0745(0x3e1));let _0x263a73=_0x4cdf1d[_0x1b0745(0x463)](),_0x368fe3=(_0x4f6ceb=_0x263a73['tables'][_0x19427e])==null?void 0x0:_0x4f6ceb[_0x1b0745(0x3c2)][_0x15f1e7];if(!_0x368fe3||_0x15f1e7===_0x13cf76[_0x1b0745(0x544)])throw Error(_0x1b0745(0x3ec));this[_0x1b0745(0x364)](_0x263a73,{..._0x368fe3,..._0x2de9e6}),this[_0x1b0745(0x28f)](_0x4cdf1d,this['_factory'][_0x1b0745(0x1d1)](_0x263a73,_0x19427e,_0x15f1e7,_0x2de9e6));}[_0x571676(0x36a)](_0x4c081c,_0x59c6a3,_0xd203c5){const _0x349c9a=_0x571676;var _0x6cefed;if(((_0x6cefed=_0x4c081c[_0x349c9a(0x463)]()[_0x349c9a(0x291)][_0x59c6a3])==null?void 0x0:_0x6cefed[_0x349c9a(0x422)])===_0xd203c5||_0xd203c5===_0x13cf76[_0x349c9a(0x544)])throw Error(_0x349c9a(0x4ba));if(!this['_permissionService'][_0x349c9a(0x478)](_0x59c6a3,_0xd203c5))throw Error(_0x349c9a(0x250));this[_0x349c9a(0x28f)](_0x4c081c,this[_0x349c9a(0x300)][_0x349c9a(0x36a)](_0x4c081c[_0x349c9a(0x463)](),_0x59c6a3,_0xd203c5));}['moveField'](_0x5bef97,_0xbfcb95,_0x521676,_0xf28295){const _0x344020=_0x571676;if(!this[_0x344020(0x3e4)]['canEditField'](_0xbfcb95,_0x521676))throw Error(_0x344020(0x3e1));if(_0x521676===_0x13cf76[_0x344020(0x544)]||_0xf28295[_0x344020(0x2a9)]===_0x13cf76[_0x344020(0x544)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x344020(0x28f)](_0x5bef97,this[_0x344020(0x300)][_0x344020(0x1c4)](_0x5bef97[_0x344020(0x463)](),_0xbfcb95,_0x521676,_0xf28295));}[_0x571676(0x18a)](_0x5a6983,_0x1acd37,_0x370bce,_0x4b8269){const _0x55b80d=_0x571676;if(!this[_0x55b80d(0x3e4)]['canManageView'](_0x1acd37,_0x370bce['id']))throw Error(_0x55b80d(0x1b6));this['_apply'](_0x5a6983,this[_0x55b80d(0x300)][_0x55b80d(0x18a)](_0x5a6983[_0x55b80d(0x463)](),_0x1acd37,_0x370bce,_0x4b8269));}['renameView'](_0x4830df,_0x56c516,_0x396b50,_0x201e11){const _0x48aa69=_0x571676;if(!this[_0x48aa69(0x3e4)][_0x48aa69(0x447)](_0x56c516,_0x396b50))throw Error(_0x48aa69(0x1b6));this[_0x48aa69(0x28f)](_0x4830df,this[_0x48aa69(0x300)][_0x48aa69(0x455)](_0x4830df[_0x48aa69(0x463)](),_0x56c516,_0x396b50,_0x201e11));}['deleteView'](_0x16ad1e,_0x5a72c4,_0x4b30d5){const _0x48bcd8=_0x571676;if(!this['_permissionService'][_0x48bcd8(0x447)](_0x5a72c4,_0x4b30d5))throw Error(_0x48bcd8(0x1b6));this[_0x48bcd8(0x28f)](_0x16ad1e,this[_0x48bcd8(0x300)][_0x48bcd8(0x458)](_0x16ad1e['getSnapshot'](),_0x5a72c4,_0x4b30d5));}[_0x571676(0x5b5)](_0x3d61e3,_0x5a919b,_0x2fd4cf,_0x5c5607){const _0x4d250a=_0x571676;if(!this[_0x4d250a(0x3e4)]['canManageView'](_0x5a919b,_0x2fd4cf))throw Error(_0x4d250a(0x1b6));this['_apply'](_0x3d61e3,this[_0x4d250a(0x300)]['moveView'](_0x3d61e3[_0x4d250a(0x463)](),_0x5a919b,_0x2fd4cf,_0x5c5607));}[_0x571676(0x20d)](_0x11499e,_0x298094,_0x31d1a2,_0x47f98c){const _0x429e4c=_0x571676;if(!this['_permissionService']['canManageView'](_0x298094,_0x31d1a2))throw Error(_0x429e4c(0x1b6));this['_apply'](_0x11499e,this[_0x429e4c(0x300)][_0x429e4c(0x20d)](_0x11499e['getSnapshot'](),_0x298094,_0x31d1a2,_0x47f98c));}[_0x571676(0x1e1)](_0x489816,_0x12cb7b,_0x266e63,_0x478f6d){const _0x48880a=_0x571676;if(!this[_0x48880a(0x3e4)][_0x48880a(0x447)](_0x12cb7b,_0x266e63))throw Error(_0x48880a(0x1b6));this[_0x48880a(0x28f)](_0x489816,this[_0x48880a(0x300)]['setViewFilter'](_0x489816[_0x48880a(0x463)](),_0x12cb7b,_0x266e63,_0x478f6d));}[_0x571676(0x27b)](_0x16cae1,_0xc71f61,_0x53f3b7,_0x4aab8d){const _0x1e217f=_0x571676;if(!this[_0x1e217f(0x3e4)][_0x1e217f(0x447)](_0xc71f61,_0x53f3b7))throw Error(_0x1e217f(0x1b6));this[_0x1e217f(0x28f)](_0x16cae1,this['_factory'][_0x1e217f(0x27b)](_0x16cae1['getSnapshot'](),_0xc71f61,_0x53f3b7,_0x4aab8d));}['setViewGroup'](_0x327738,_0x58bba6,_0x54ccaf,_0x4d711c){const _0x4b1d27=_0x571676;if(!this[_0x4b1d27(0x3e4)]['canManageView'](_0x58bba6,_0x54ccaf))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4b1d27(0x28f)](_0x327738,this[_0x4b1d27(0x300)][_0x4b1d27(0x43b)](_0x327738[_0x4b1d27(0x463)](),_0x58bba6,_0x54ccaf,_0x4d711c));}[_0x571676(0x37e)](_0x4c192d,_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486){const _0x58d03c=_0x571676;if(!this['_permissionService']['canManageView'](_0x28d0af,_0x36135a))throw Error(_0x58d03c(0x1b6));this[_0x58d03c(0x28f)](_0x4c192d,this[_0x58d03c(0x300)][_0x58d03c(0x37e)](_0x4c192d[_0x58d03c(0x463)](),_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486));}[_0x571676(0x272)](_0x9d9712,_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18){const _0x31f2d4=_0x571676;if(!this[_0x31f2d4(0x3e4)][_0x31f2d4(0x447)](_0xfd7cab,_0x42e96a))throw Error(_0x31f2d4(0x1b6));this[_0x31f2d4(0x28f)](_0x9d9712,this[_0x31f2d4(0x300)][_0x31f2d4(0x272)](_0x9d9712[_0x31f2d4(0x463)](),_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18));}[_0x571676(0x55c)](_0x1d2dea,_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36){const _0x55d76c=_0x571676;if(!this[_0x55d76c(0x3e4)][_0x55d76c(0x447)](_0x527629,_0x3efdaa))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x55d76c(0x28f)](_0x1d2dea,this['_factory']['setViewFieldOrder'](_0x1d2dea[_0x55d76c(0x463)](),_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36));}[_0x571676(0x28f)](_0x7db7b4,_0x316464){const _0x51ba11=_0x571676;let _0x4199d1=_0x7db7b4[_0x51ba11(0x463)]();_0x7db7b4[_0x51ba11(0x3dd)](this[_0x51ba11(0x396)][_0x51ba11(0x4d8)](_0x4199d1,_0x316464));}[_0x571676(0x567)](_0x248860,_0x165e47,_0x5f3876,_0x234788=this[_0x571676(0x459)](_0x248860['tables'][_0x165e47])){const _0x1b9747=_0x571676;let _0x2d1a79=_0x248860['tables'][_0x165e47],_0x5b02ca=_0x5f3876[_0x1b9747(0x193)]??_0x5f3876['updatedBy']??this[_0x1b9747(0x508)](),_0x36bd51={..._0x5f3876,'createdBy':_0x5f3876[_0x1b9747(0x193)]??_0x5b02ca,'updatedBy':_0x5f3876[_0x1b9747(0x32a)]??_0x5b02ca,'values':{..._0x5f3876['values']}};return _0x36bd51[_0x1b9747(0x334)][_0x13cf76['BASE_RECORD_ID_FIELD_ID']]=_0x36bd51['id'],_0x2d1a79[_0x1b9747(0x582)][_0x1b9747(0x3c9)](_0x40f39f=>{const _0x373c24=_0x1b9747;let _0x7cf4e1=_0x2d1a79['fields'][_0x40f39f];if(_0x7cf4e1&&_0x36bd51[_0x373c24(0x334)][_0x40f39f]===void 0x0)switch(_0x7cf4e1['type']){case _0x13cf76[_0x373c24(0x517)]['Numbering']:var _0x329ead;_0x36bd51[_0x373c24(0x334)][_0x40f39f]=((_0x329ead=_0x234788[_0x373c24(0x59c)](_0x40f39f))==null?void 0x0:_0x329ead())??this[_0x373c24(0x443)](_0x2d1a79,_0x40f39f)();break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x537)]:_0x36bd51['createdBy']&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x36bd51['createdBy']);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x320)]:_0x36bd51[_0x373c24(0x32a)]&&(_0x36bd51['values'][_0x40f39f]=_0x36bd51[_0x373c24(0x32a)]);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x337)]:_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x484)]);break;case _0x13cf76[_0x373c24(0x517)]['UpdatedAt']:_0x36bd51['values'][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x548)]);break;default:{let _0x283905=_0x7cf4e1[_0x373c24(0x5ce)];_0x283905!=null&&_0x283905!==''&&!(Array[_0x373c24(0x21f)](_0x283905)&&_0x283905['length']===0x0)&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x283905);}}}),_0x36bd51;}['_withModifiedSystemValues'](_0x6ba117,_0x1d0434,_0x3d7e55,_0x469728){const _0x7122f1=_0x571676;var _0x5425ab,_0x597085;let _0x4fc3bd=_0x6ba117['tables'][_0x1d0434],_0x1f6b35=((_0x5425ab=(_0x597085=this[_0x7122f1(0x511)])[_0x7122f1(0x5e4)])==null?void 0x0:_0x5425ab['call'](_0x597085))??Date['now'](),_0x30204c=this[_0x7122f1(0x508)](),_0x251fbc={..._0x469728};return _0x4fc3bd[_0x7122f1(0x582)]['forEach'](_0x54dd68=>{const _0x2bd902=_0x7122f1;let _0x1ae01b=_0x4fc3bd['fields'][_0x54dd68];_0x1ae01b&&(_0x1ae01b[_0x2bd902(0x292)]===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x472)]&&(_0x251fbc[_0x54dd68]=_0x35414f(_0x1f6b35)),_0x1ae01b['type']===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x320)]&&_0x30204c&&(_0x251fbc[_0x54dd68]=_0x30204c));}),{'recordId':_0x3d7e55,'values':_0x251fbc,'recordPatch':{'updatedAt':_0x1f6b35,..._0x30204c?{'updatedBy':_0x30204c}:{}}};}[_0x571676(0x24f)](_0x5d3efe,_0x3d83f4,_0x1ee9a9){const _0x3d8272=_0x571676;let _0x42d633=_0x5d3efe[_0x3d8272(0x291)][_0x3d83f4];return!_0x42d633||!_0x3d0c74(_0x1ee9a9)?[]:_0x1ee9a9[_0x3d8272(0x292)]===_0x13cf76['BaseFieldType']['Numbering']?this[_0x3d8272(0x4a4)](_0x42d633,_0x1ee9a9['id']):Object[_0x3d8272(0x334)](_0x42d633[_0x3d8272(0x38f)])['flatMap'](_0x5c550e=>{const _0x1c9d9a=_0x3d8272;let _0xcf7f2d=this[_0x1c9d9a(0x258)](_0x1ee9a9,_0x5c550e);return _0xcf7f2d===void 0x0?[]:[{'recordId':_0x5c550e['id'],'values':{[_0x1ee9a9['id']]:_0xcf7f2d}}];});}['_getSystemFieldValue'](_0x10e95e,_0x330f2d){const _0x1fa8e7=_0x571676;switch(_0x10e95e['type']){case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x537)]:return _0x330f2d[_0x1fa8e7(0x193)]??this[_0x1fa8e7(0x508)]();case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x320)]:return _0x330f2d[_0x1fa8e7(0x32a)]??this['_getCurrentUserId']();case _0x13cf76[_0x1fa8e7(0x517)]['CreatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x484)]??Date[_0x1fa8e7(0x5e4)]());case _0x13cf76[_0x1fa8e7(0x517)]['UpdatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x548)]??Date[_0x1fa8e7(0x5e4)]());default:return;}}[_0x571676(0x459)](_0xc3a78d){const _0x43e0a8=_0x571676;let _0x5939c7=new Map();return _0xc3a78d&&_0xc3a78d['fieldOrder'][_0x43e0a8(0x3c9)](_0x35a042=>{const _0x1e9df8=_0x43e0a8;let _0x452909=_0xc3a78d[_0x1e9df8(0x3c2)][_0x35a042];(_0x452909==null?void 0x0:_0x452909[_0x1e9df8(0x292)])===_0x13cf76[_0x1e9df8(0x517)][_0x1e9df8(0x2a4)]&&_0x5939c7[_0x1e9df8(0x569)](_0x35a042,this[_0x1e9df8(0x443)](_0xc3a78d,_0x35a042));}),_0x5939c7;}['_createNumberingAllocator'](_0x3e870f,_0x326e76){const _0x43d9c0=_0x571676;let _0x366074=Object[_0x43d9c0(0x334)](_0x3e870f[_0x43d9c0(0x38f)])['reduce']((_0x2ddace,_0x24b38b)=>{const _0x47dfd5=_0x43d9c0;let _0x533d28=Number(_0x24b38b[_0x47dfd5(0x334)][_0x326e76]);return Number['isFinite'](_0x533d28)?Math[_0x47dfd5(0x402)](_0x2ddace,_0x533d28):_0x2ddace;},0x0);return()=>String(++_0x366074);}[_0x571676(0x4a4)](_0x4f95d6,_0x5cdf27){const _0x5415e1=_0x571676;let _0x573427=this[_0x5415e1(0x318)](_0x4f95d6),_0xea55e8=this['_createNumberingAllocator'](_0x4f95d6,_0x5cdf27);return _0x573427[_0x5415e1(0x387)](_0x4339f7=>this[_0x5415e1(0x30f)](_0x4339f7[_0x5415e1(0x334)][_0x5cdf27])?[]:[{'recordId':_0x4339f7['id'],'values':{[_0x5cdf27]:_0xea55e8()}}]);}[_0x571676(0x318)](_0x15caa0){const _0x4c2d17=_0x571676;var _0x16e98c;let _0x1605e3=Object['values'](_0x15caa0[_0x4c2d17(0x38f)]),_0x2291a0=new Map(_0x1605e3[_0x4c2d17(0x329)](_0xe5bb44=>[_0xe5bb44['id'],_0xe5bb44])),_0x25e03a=[],_0x24d62d=new Set();(_0x16e98c=_0x15caa0[_0x4c2d17(0x1cd)])==null||_0x16e98c['forEach'](_0x505e26=>{const _0x52f18c=_0x4c2d17;let _0x118fdb=_0x2291a0[_0x52f18c(0x59c)](_0x505e26);_0x118fdb&&(_0x25e03a[_0x52f18c(0x401)](_0x118fdb),_0x24d62d[_0x52f18c(0x54c)](_0x505e26));});let _0x4214fb=_0x1605e3[_0x4c2d17(0x3c4)](_0xcf6358=>!_0x24d62d['has'](_0xcf6358['id']))[_0x4c2d17(0x4af)]((_0x35c2d0,_0x2ded95)=>String(_0x35c2d0[_0x4c2d17(0x34c)]??_0x35c2d0['id'])[_0x4c2d17(0x391)](String(_0x2ded95['orderKey']??_0x2ded95['id']))||_0x35c2d0['id'][_0x4c2d17(0x391)](_0x2ded95['id']));return[..._0x25e03a,..._0x4214fb];}['_isNonEmptyCellValue'](_0x3b21c1){const _0x5cb081=_0x571676;return _0x3b21c1!=null&&_0x3b21c1!==''&&!(Array[_0x5cb081(0x21f)](_0x3b21c1)&&_0x3b21c1[_0x5cb081(0x4e9)]===0x0);}['_getCurrentUserId'](){const _0x319443=_0x571676;var _0x45a541,_0x4ab198,_0x34d30a,_0x62628d;return((_0x45a541=(_0x4ab198=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x45a541[_0x319443(0x279)](_0x4ab198))??((_0x34d30a=(_0x62628d=this[_0x319443(0x511)])[_0x319443(0x36e)])==null||(_0x34d30a=_0x34d30a[_0x319443(0x279)](_0x62628d))==null?void 0x0:_0x34d30a[_0x319443(0x4f9)])??void 0x0;}[_0x571676(0x50c)](_0x1770b9,_0x1fb750,_0x526581,_0x346f2a,_0x38c46e){const _0x52ceac=_0x571676;var _0x4f4211;if(!this['_permissionService'][_0x52ceac(0x502)](_0x1fb750,_0x526581,_0x346f2a))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x1ec526=(_0x4f4211=_0x1770b9[_0x52ceac(0x291)][_0x1fb750])==null?void 0x0:_0x4f4211['fields'][_0x346f2a];if(!_0x1ec526)throw Error(_0x52ceac(0x32b)+_0x346f2a+'\x22\x20does\x20not\x20exist.');let _0x95ab0c=this['_fieldRegistry'][_0x52ceac(0x59c)](_0x1ec526[_0x52ceac(0x292)]);if(_0x1ec526[_0x52ceac(0x59b)]||_0x1ec526[_0x52ceac(0x4f8)]||!_0x95ab0c['getCapabilities'](_0x1ec526)[_0x52ceac(0x3fe)])throw Error(_0x52ceac(0x2b8));let _0x2f90a4=_0x95ab0c['normalize'](_0x38c46e,_0x1ec526),_0x2ef86f=_0x95ab0c[_0x52ceac(0x3a4)](_0x2f90a4,_0x1ec526);if(!_0x2ef86f[_0x52ceac(0x49e)])throw Error(_0x2ef86f[_0x52ceac(0x2a3)]??_0x52ceac(0x3fc));let _0x3130b7=_0x1ec526[_0x52ceac(0x292)]===_0x13cf76[_0x52ceac(0x517)][_0x52ceac(0x5b0)]?_0x5d7c0c(_0x1770b9,_0x1ec526,_0x2f90a4):{'valid':!0x0};if(!_0x3130b7[_0x52ceac(0x49e)])throw Error(_0x3130b7[_0x52ceac(0x2a3)]??_0x52ceac(0x543));return _0x2f90a4;}[_0x571676(0x364)](_0x23a240,_0x717834){const _0x535381=_0x571676;if(_0x717834['id']===_0x13cf76[_0x535381(0x544)]||_0x717834[_0x535381(0x292)]===_0x13cf76[_0x535381(0x517)][_0x535381(0x2ea)]||(0x0,_0x13cf76[_0x535381(0x4ec)])(_0x717834[_0x535381(0x46d)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0xad98cd=_0x5a4a77(_0x23a240,_0x717834);if(!_0xad98cd[_0x535381(0x49e)])throw Error(_0xad98cd[_0x535381(0x2a3)]??_0x535381(0x54b));}};_0x2f32b0=_0xd015f8([_0xddcdca(0x0,_0x43d5bd),_0xddcdca(0x1,_0x1be8ce)],_0x2f32b0);function _0x1468a8(){const _0x5e285d=_0x571676;let _0x500b90=new _0x314c5d();return _0x44e8e4()[_0x5e285d(0x3c9)](_0x12c28a=>_0x500b90[_0x5e285d(0x339)](_0x12c28a)),_0x500b90;}function _0x3d0c74(_0xafec59){const _0x354b08=_0x571676;return _0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x2a4)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x537)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x320)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76['BaseFieldType'][_0x354b08(0x337)]||_0xafec59['type']===_0x13cf76['BaseFieldType'][_0x354b08(0x472)];}let _0x2246eb=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)],_0x13cf76[_0x571676(0x517)][_0x571676(0x55f)]]);function _0x1b61d0(_0x479298){const _0x5df6fb=_0x571676;let _0x4da629=_0x479298['fields'][_0x479298[_0x5df6fb(0x422)]];if((!_0x4da629||_0x4da629[_0x5df6fb(0x4f8)]!==!0x0&&_0x4da629['id'][_0x5df6fb(0x2b0)]()!=='id'&&_0x4da629[_0x5df6fb(0x46d)]['trim']()[_0x5df6fb(0x2b0)]()!=='id')&&_0x4da629)return _0x4da629['id'];for(let _0x6305f3 of _0x479298[_0x5df6fb(0x582)]){let _0x3b0042=_0x479298[_0x5df6fb(0x3c2)][_0x6305f3];if(_0x3b0042&&_0x3b0042['id']!==_0x479298[_0x5df6fb(0x422)]&&_0x3b0042[_0x5df6fb(0x4f8)]!==!0x0&&_0x3b0042[_0x5df6fb(0x292)]!==_0x13cf76[_0x5df6fb(0x517)]['RecordId'])return _0x3b0042['id'];}return _0x479298[_0x5df6fb(0x422)];}function _0x47953f(_0x44c7e6,_0xde6929=[],_0x57cfa9=0x5){const _0xb4736a=_0x571676;let _0x3889fb=new Set(_0xde6929[_0xb4736a(0x3c4)](_0x43fca6=>!!_0x43fca6)),_0x7a8ad0=[],_0x3f70eb=[];for(let _0x4f2af1 of _0x44c7e6[_0xb4736a(0x582)]){let _0x29cb51=_0x44c7e6['fields'][_0x4f2af1];_0x29cb51&&_0x29cb51[_0xb4736a(0x4f8)]!==!0x0&&_0x29cb51[_0xb4736a(0x292)]!==_0x13cf76['BaseFieldType'][_0xb4736a(0x2ea)]&&!_0x3889fb[_0xb4736a(0x370)](_0x29cb51['id'])&&(_0x2246eb['has'](_0x29cb51[_0xb4736a(0x292)])?_0x7a8ad0:_0x3f70eb)[_0xb4736a(0x401)](_0x29cb51['id']);}return[..._0x7a8ad0,..._0x3f70eb][_0xb4736a(0x377)](0x0,_0x57cfa9);}function _0x10ad0c(){const _0x370bcc=_0x571676;return[{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x4fc)],'i18nKey':_0x370bcc(0x345),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2bac55=_0x370bcc;throw Error(_0x2bac55(0x4f5));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x58a)],'i18nKey':_0x370bcc(0x23b),'createDefaultConfig':_0x409e30=>{const _0x3d1679=_0x370bcc;let _0x35a68d=_0x1970c0(_0x409e30);return{'groupFieldId':_0x35a68d,'coverFieldId':null,'cardLayout':_0x3d1679(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x409e30[_0x3d1679(0x422)],'fieldIds':_0x47953f(_0x409e30,[_0x409e30[_0x3d1679(0x422)],_0x35a68d])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c32eb=_0x370bcc;throw Error(_0x5c32eb(0x55e));}},{'type':_0x13cf76[_0x370bcc(0x5ba)]['Calendar'],'i18nKey':_0x370bcc(0x2e9),'createDefaultConfig':_0x1d7559=>{const _0x41bc3f=_0x370bcc;let _0x1530a4=_0x575234(_0x1d7559);return{'startDateFieldId':_0x1530a4,'endDateFieldId':_0x227cf0(_0x1d7559,_0x1530a4),'titleFieldId':_0x1d7559[_0x41bc3f(0x422)],'mode':'month','timeslotSize':'medium','timeZone':'local','displayColor':{'type':_0x41bc3f(0x5cd),'color':_0x41bc3f(0x19d)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c0b8f=_0x370bcc;throw Error(_0x5c0b8f(0x2c8));}},{'type':_0x13cf76['BaseViewType']['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x187a7f=>{const _0x128fad=_0x370bcc;let _0x89c985=_0x575234(_0x187a7f);return{'startDateFieldId':_0x89c985,'endDateFieldId':_0x227cf0(_0x187a7f,_0x89c985)??_0x89c985,'titleFieldId':_0x187a7f['primaryFieldId'],'scale':_0x128fad(0x5d8),'showTodayLine':!0x0,'displayColor':{'type':_0x128fad(0x5cd),'color':_0x128fad(0x1fe)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2e2c2b=_0x370bcc;throw Error(_0x2e2c2b(0x4da));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x51a)],'i18nKey':_0x370bcc(0x3a6),'createDefaultConfig':_0x4bdb5f=>{const _0x1ae106=_0x370bcc;let _0x5eef25=_0x1b61d0(_0x4bdb5f);return{'coverFieldId':null,'cardLayout':_0x1ae106(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5eef25,'coverFieldId':null,'fieldIds':_0x47953f(_0x4bdb5f,[_0x5eef25,_0x4bdb5f['primaryFieldId']])},'cardSize':_0x1ae106(0x532)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xb78cae=_0x370bcc;throw Error(_0xb78cae(0x260));}}];}function _0x1970c0(_0x292fd7){const _0x4b2e47=_0x571676;var _0x72109f,_0x11d9c4,_0x167871;let _0x5d5d90=_0x292fd7['fieldOrder'][_0x4b2e47(0x329)](_0x256f76=>_0x292fd7[_0x4b2e47(0x3c2)][_0x256f76])['filter'](_0x318d59=>!!_0x318d59);return((_0x72109f=_0x5d5d90['find'](_0x94fd0b=>_0x94fd0b[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x221)]||_0x94fd0b['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x247)]||_0x94fd0b['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x53b)]))==null?void 0x0:_0x72109f['id'])??((_0x11d9c4=_0x5d5d90[_0x4b2e47(0x56a)](_0x3975aa=>_0x3975aa[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x4c5)]))==null?void 0x0:_0x11d9c4['id'])??((_0x167871=_0x5d5d90[_0x4b2e47(0x56a)](_0x101841=>_0x101841[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x494)]||_0x101841['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x337)]||_0x101841['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x472)]))==null?void 0x0:_0x167871['id'])??_0x292fd7[_0x4b2e47(0x422)];}function _0x575234(_0xd2ae1){const _0x501619=_0x571676;var _0x580a57;return((_0x580a57=_0xd2ae1['fieldOrder']['map'](_0x2e4450=>_0xd2ae1['fields'][_0x2e4450])[_0x501619(0x56a)](_0xe88d69))==null?void 0x0:_0x580a57['id'])??'';}function _0x227cf0(_0x1a1715,_0x4db0d9){const _0x44221d=_0x571676;var _0x59fa52;return(_0x59fa52=_0x1a1715[_0x44221d(0x582)][_0x44221d(0x329)](_0x393a9b=>_0x1a1715[_0x44221d(0x3c2)][_0x393a9b])[_0x44221d(0x56a)](_0x2663a1=>_0xe88d69(_0x2663a1)&&_0x2663a1['id']!==_0x4db0d9))==null?void 0x0:_0x59fa52['id'];}function _0xe88d69(_0x10f3db){const _0x3043e9=_0x571676;return!!_0x10f3db&&_0x10f3db[_0x3043e9(0x292)]===_0x13cf76[_0x3043e9(0x517)][_0x3043e9(0x494)]&&_0x10f3db[_0x3043e9(0x59b)]!==!0x0&&_0x10f3db[_0x3043e9(0x4f8)]!==!0x0;}let _0x5c11cd=(0x0,_0x13cf76[_0x571676(0x220)])(_0x571676(0x1dc)),_0x39090b=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)]['Rating'],_0x13cf76['BaseFieldType'][_0x571676(0x494)],_0x13cf76[_0x571676(0x517)]['CreatedAt'],_0x13cf76[_0x571676(0x517)][_0x571676(0x472)],_0x13cf76[_0x571676(0x517)]['Checkbox']]),_0xb61d09=0x5265c00,_0x308bae=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x26c525){const _0x244deb=_0x571676;super(),this[_0x244deb(0x26f)]=_0x26c525,_0x1a302a(this,_0x244deb(0x45f),new Map()),_0x1a302a(this,_0x244deb(0x53d),new WeakMap()),_0x1a302a(this,_0x244deb(0x45c),new Map()),_0x1a302a(this,_0x244deb(0x4f4),new Map()),_0x1a302a(this,_0x244deb(0x198),new Map()),_0x1a302a(this,_0x244deb(0x1d8),new Map()),_0x1a302a(this,'_globalRevision',0x0),_0x1a302a(this,'_tableRevisions',new Map()),_0x1a302a(this,_0x244deb(0x5b7),new Map()),_0x1a302a(this,_0x244deb(0x43c),new Map()),_0x1a302a(this,_0x244deb(0x2fb),new Map());}[_0x571676(0x2a1)](_0xa5183e){const _0x3cfd07=_0x571676;return this[_0x3cfd07(0x45f)]['set'](_0xa5183e[_0x3cfd07(0x292)],_0xa5183e),(0x0,_0x13cf76[_0x3cfd07(0x539)])(()=>this['_views']['delete'](_0xa5183e[_0x3cfd07(0x292)]));}[_0x571676(0x56c)](_0xf50a9,_0xf6bd0d,_0x2d80d0){const _0x3c494f=_0x571676;var _0x55d68a,_0x42fe3e,_0x36a504;return _0x32800a('BaseProjection.getProjection',()=>{const _0x6d63a3=_0x4fc5;let _0x4df23e=this[_0x6d63a3(0x5d4)](_0xf50a9,_0xf6bd0d,_0x2d80d0);if(_0x4df23e)return _0x4df23e;let _0x110721=_0xf50a9[_0x6d63a3(0x291)][_0xf6bd0d],_0x566ba3=_0x110721==null?void 0x0:_0x110721['views'][_0x2d80d0];if(!_0x110721||!_0x566ba3)return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,{'type':_0x6d63a3(0x3a9),'viewType':(_0x566ba3==null?void 0x0:_0x566ba3[_0x6d63a3(0x292)])??_0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)],'reason':_0x6d63a3(0x34e)});let _0x2cb7bf;switch(_0x566ba3['type']){case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)]:_0x2cb7bf=this[_0x6d63a3(0x4b6)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x520)]:_0x2cb7bf=this[_0x6d63a3(0x2f5)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x58a)]:_0x2cb7bf=this[_0x6d63a3(0x22e)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x17a)]:_0x2cb7bf=this[_0x6d63a3(0x540)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x51a)]:_0x2cb7bf=this[_0x6d63a3(0x3bd)](_0x110721,_0x566ba3);break;default:_0x2cb7bf={'type':_0x6d63a3(0x3a9),'viewType':_0x566ba3[_0x6d63a3(0x292)],'reason':'missingField'};}return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,_0x2cb7bf);},{'tableId':_0xf6bd0d,'viewId':_0x2d80d0,'viewType':(_0x55d68a=_0xf50a9['tables'][_0xf6bd0d])==null||(_0x55d68a=_0x55d68a[_0x3c494f(0x18d)][_0x2d80d0])==null?void 0x0:_0x55d68a['type'],'records':((_0x42fe3e=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null||(_0x42fe3e=_0x42fe3e[_0x3c494f(0x1cd)])==null?void 0x0:_0x42fe3e[_0x3c494f(0x4e9)])??Object[_0x3c494f(0x2db)](((_0x36a504=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null?void 0x0:_0x36a504[_0x3c494f(0x38f)])??{})[_0x3c494f(0x4e9)]});}[_0x571676(0x2a7)](_0x55408f,_0x431d37,_0x3526b8){const _0x3e9262=_0x571676;var _0x2040e8,_0x293b61,_0x2ac62f;let _0x815121=_0x55408f[_0x3e9262(0x291)][_0x431d37],_0x411ed8=_0x815121==null?void 0x0:_0x815121['views'][_0x3526b8];if(!_0x815121||!_0x411ed8)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x3526b8+'\x22.');let _0x2ed2a0=_0x589661=>!!_0x815121[_0x3e9262(0x3c2)][_0x589661],_0x521779={..._0x411ed8,'filter':_0x411ed8[_0x3e9262(0x3c4)]?{..._0x411ed8[_0x3e9262(0x3c4)],'conditions':_0x411ed8['filter'][_0x3e9262(0x3af)]['filter'](_0x22bfde=>_0x2ed2a0(_0x22bfde[_0x3e9262(0x384)]))}:_0x411ed8[_0x3e9262(0x3c4)],'sort':(_0x2040e8=_0x411ed8[_0x3e9262(0x4af)])==null?void 0x0:_0x2040e8[_0x3e9262(0x3c4)](_0x265c7d=>_0x2ed2a0(_0x265c7d[_0x3e9262(0x384)])),'group':(_0x293b61=_0x411ed8[_0x3e9262(0x42c)])==null?void 0x0:_0x293b61[_0x3e9262(0x3c4)](_0x47f306=>_0x2ed2a0(_0x47f306['fieldId'])),'fieldOrder':(_0x2ac62f=_0x411ed8[_0x3e9262(0x582)])==null?void 0x0:_0x2ac62f[_0x3e9262(0x3c4)](_0x2ed2a0),'fieldSettings':Object[_0x3e9262(0x1fc)](Object[_0x3e9262(0x460)](_0x411ed8[_0x3e9262(0x3ea)]??{})[_0x3e9262(0x3c4)](([_0xc5ec4a])=>_0x2ed2a0(_0xc5ec4a)))};if(_0x521779[_0x3e9262(0x292)]===_0x3e9262(0x592)){var _0x5312ef;let _0x47632d=_0x521779[_0x3e9262(0x5b9)]??{},_0x1cce92=this[_0x3e9262(0x468)](_0x815121,_0x521779),_0x152028=this[_0x3e9262(0x5ab)](_0x815121,(_0x5312ef=_0x47632d[_0x3e9262(0x2ac)])==null?void 0x0:_0x5312ef[_0x3e9262(0x41d)]);_0x521779['config']={..._0x47632d,'groupFieldId':_0x1cce92??_0x47632d['groupFieldId'],'coverFieldId':this[_0x3e9262(0x431)](_0x815121,_0x47632d),'cardLayout':_0x47632d[_0x3e9262(0x528)]===_0x3e9262(0x199)?_0x3e9262(0x199):_0x3e9262(0x2f6),'showFieldNames':_0x47632d[_0x3e9262(0x3e8)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3e9262(0x460)](_0x47632d[_0x3e9262(0x3ea)]??{})['filter'](([_0x3574b5])=>_0x2ed2a0(_0x3574b5))),'columnSettings':_0x47632d[_0x3e9262(0x4b2)]??{},'card':{..._0x47632d[_0x3e9262(0x2ac)]??{},'titleFieldId':_0x152028,'fieldIds':this[_0x3e9262(0x49b)](_0x815121,_0x521779,_0x1cce92??'',_0x152028)}};}return{'repaired':JSON['stringify'](_0x521779)!==JSON[_0x3e9262(0x30d)](_0x411ed8),'view':_0x521779};}[_0x571676(0x5cb)](){this['_globalRevision']++;}[_0x571676(0x4bb)](_0x312624,_0x3c790b,_0x190273){const _0x1b4227=_0x571676;let _0x1961eb=this[_0x1b4227(0x1e5)](_0x312624)+0x1;this[_0x1b4227(0x5b7)][_0x1b4227(0x569)](_0x312624,_0x1961eb);let _0x301e9c=this['_cellInvalidations'][_0x1b4227(0x59c)](_0x312624)??[];_0x301e9c[_0x1b4227(0x401)]({'revision':_0x1961eb,'recordId':_0x3c790b,'fieldId':_0x190273}),this[_0x1b4227(0x43c)][_0x1b4227(0x569)](_0x312624,_0x301e9c);}['invalidateByField'](_0x48fa3e,_0x42d197){this['_bumpTableRevision'](_0x48fa3e);}[_0x571676(0x47a)](_0x3cb040,_0x1d39f2){const _0x5077f1=_0x571676;this['_viewRevisions']['set'](this[_0x5077f1(0x33d)](_0x3cb040,_0x1d39f2),this[_0x5077f1(0x4ae)](_0x3cb040,_0x1d39f2)+0x1);}[_0x571676(0x5d4)](_0x443428,_0x14496c,_0xd47c36){const _0x953cf9=_0x571676;var _0x5abf42;let _0x18c062=(_0x5abf42=this[_0x953cf9(0x53d)]['get'](_0x443428))==null?void 0x0:_0x5abf42['get'](this[_0x953cf9(0x479)](_0x14496c,_0xd47c36));return _0x18c062&&_0x18c062[_0x953cf9(0x22a)]===this[_0x953cf9(0x3f8)]&&_0x18c062[_0x953cf9(0x49d)]===this[_0x953cf9(0x5e5)](_0x14496c)&&_0x18c062[_0x953cf9(0x51d)]===this[_0x953cf9(0x1e5)](_0x14496c)&&_0x18c062['viewRevision']===this[_0x953cf9(0x4ae)](_0x14496c,_0xd47c36)?_0x18c062[_0x953cf9(0x210)]:null;}[_0x571676(0x1ba)](_0x4ef96b,_0xadd8b6,_0x275855,_0x23ef8e){const _0x259f93=_0x571676;let _0x4a3626=this[_0x259f93(0x53d)]['get'](_0x4ef96b);return _0x4a3626||(_0x4a3626=new Map(),this[_0x259f93(0x53d)][_0x259f93(0x569)](_0x4ef96b,_0x4a3626)),_0x4a3626['set'](this[_0x259f93(0x479)](_0xadd8b6,_0x275855),{'projection':_0x23ef8e,'globalRevision':this[_0x259f93(0x3f8)],'tableRevision':this[_0x259f93(0x5e5)](_0xadd8b6),'cellRevision':this[_0x259f93(0x1e5)](_0xadd8b6),'viewRevision':this['_getViewRevision'](_0xadd8b6,_0x275855)}),_0x23ef8e;}[_0x571676(0x3b8)](_0x96c08){const _0x2b27d6=_0x571676;this[_0x2b27d6(0x4c9)][_0x2b27d6(0x569)](_0x96c08,this['_getTableRevision'](_0x96c08)+0x1);}[_0x571676(0x5e5)](_0x423533){return this['_tableRevisions']['get'](_0x423533)??0x0;}[_0x571676(0x1e5)](_0x125819){const _0x4da4ab=_0x571676;return this[_0x4da4ab(0x5b7)][_0x4da4ab(0x59c)](_0x125819)??0x0;}[_0x571676(0x4ae)](_0x4f7e95,_0x37210f){const _0x164141=_0x571676;return this['_viewRevisions'][_0x164141(0x59c)](this[_0x164141(0x33d)](_0x4f7e95,_0x37210f))??0x0;}['_cacheKey'](_0x4d7ddf,_0x4f3feb){return _0x4d7ddf+'\x00'+_0x4f3feb;}[_0x571676(0x28a)](_0x127bc3,_0x3fd099){const _0x2c8654=_0x571676;return _0x127bc3+'\x00'+this[_0x2c8654(0x44c)](_0x3fd099);}[_0x571676(0x201)](_0x4f649c,_0x8a9b8a,_0x2cc8c0){const _0x10fb72=_0x571676;return _0x4f649c+'\x00'+this[_0x10fb72(0x44c)](_0x8a9b8a)+'\x00'+this[_0x10fb72(0x29b)](_0x2cc8c0);}[_0x571676(0x44c)](_0x20caa8){const _0x4634c0=_0x571676;return _0x20caa8?_0x59f21e({'filter':_0x394f5b(_0x20caa8[_0x4634c0(0x3c4)]),'sort':_0x42c04c(_0x20caa8[_0x4634c0(0x4af)])}):_0x4634c0(0x34b);}[_0x571676(0x29b)](_0x1a6937){const _0x550d39=_0x571676;return _0x59f21e(_0x1a6937[_0x550d39(0x329)](_0x4cfc52=>({'fieldId':_0x4cfc52[_0x550d39(0x384)],'direction':_0x4cfc52[_0x550d39(0x1c7)]??null})));}[_0x571676(0x33d)](_0x2dce8d,_0x395507){return _0x2dce8d+'\x00'+_0x395507;}[_0x571676(0x4b6)](_0x4ad86f,_0x275527){const _0x3d5003=_0x571676;var _0x2d9115;let _0x5251e4=_0x2d5926(_0x4ad86f),_0x283ff3=this[_0x3d5003(0x38a)](_0x4ad86f,_0x275527),_0x29b363=(_0x2d9115=_0x275527['filter'])!=null&&_0x2d9115[_0x3d5003(0x3af)][_0x3d5003(0x4e9)]?this[_0x3d5003(0x38a)](_0x4ad86f,{..._0x275527,'filter':null}):_0x283ff3,_0xd5b7b0=_0x4ceb91(this[_0x3d5003(0x239)](_0x4ad86f,_0x5251e4,_0x275527['id'],_0x29b363[_0x3d5003(0x329)](_0x3fe8f3=>_0x3fe8f3[_0x3d5003(0x5c4)])),_0x29b363,new Set(_0x283ff3[_0x3d5003(0x329)](_0x4745ec=>_0x4745ec[_0x3d5003(0x5c4)])));return{'type':_0x13cf76[_0x3d5003(0x5ba)]['Grid'],'fields':this[_0x3d5003(0x5cf)](_0x4ad86f,_0x275527),'rows':_0xd5b7b0['rows'],'groups':this[_0x3d5003(0x51e)](_0x4ad86f,_0x275527,_0xd5b7b0['rows'],_0xd5b7b0['hierarchy']),'hierarchy':_0xd5b7b0[_0x3d5003(0x206)],'frozenFieldCount':typeof _0x275527['config']['frozenFieldCount']==_0x3d5003(0x3dc)?_0x275527[_0x3d5003(0x5b9)][_0x3d5003(0x379)]:0x0};}[_0x571676(0x239)](_0x5bd3b5,_0x5b450b,_0x36ade4,_0xf5bfdf){const _0x14e0f1=_0x571676;let _0x22e247=_0x5bd3b5['id']+'\x00'+_0x5b450b+'\x00'+_0x36ade4,_0x359a7e=this[_0x14e0f1(0x1e5)](_0x5bd3b5['id']),_0x840906=this['_hierarchyIndexCache'][_0x14e0f1(0x59c)](_0x22e247);if(_0x840906&&_0x840906['globalRevision']===this[_0x14e0f1(0x3f8)]&&_0x840906[_0x14e0f1(0x49d)]===this[_0x14e0f1(0x5e5)](_0x5bd3b5['id'])&&_0x840906['orderedRecordIds'][_0x14e0f1(0x4e9)]===_0xf5bfdf[_0x14e0f1(0x4e9)]&&_0x840906[_0x14e0f1(0x5d5)][_0x14e0f1(0x5a5)]((_0x5b6d1c,_0x5737c4)=>_0x5b6d1c===_0xf5bfdf[_0x5737c4])){if(_0x840906[_0x14e0f1(0x51d)]===_0x359a7e&&_0x840906[_0x14e0f1(0x4b7)]===_0x5bd3b5)return _0x840906[_0x14e0f1(0x36f)];if(!this[_0x14e0f1(0x229)](_0x5bd3b5['id'],_0x840906[_0x14e0f1(0x51d)],_0x359a7e,new Set([_0x5b450b])))return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{..._0x840906,'table':_0x5bd3b5,'cellRevision':_0x359a7e}),_0x840906[_0x14e0f1(0x36f)];}let _0x44ca23=_0x4067d3(_0x5bd3b5,_0x5b450b,_0xf5bfdf);return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{'table':_0x5bd3b5,'index':_0x44ca23,'orderedRecordIds':_0xf5bfdf,'globalRevision':this[_0x14e0f1(0x3f8)],'tableRevision':this[_0x14e0f1(0x5e5)](_0x5bd3b5['id']),'cellRevision':_0x359a7e}),_0x44ca23;}[_0x571676(0x51e)](_0x2ff520,_0x3e365a,_0x229eb9,_0x58aa43){const _0x5f1d00=_0x571676;var _0x5284ac;if(!((_0x5284ac=_0x3e365a[_0x5f1d00(0x42c)])!=null&&_0x5284ac[_0x5f1d00(0x4e9)]))return[];let _0x2d24a3=new Map(_0x229eb9[_0x5f1d00(0x329)](_0x1555a7=>[_0x1555a7['recordId'],_0x1555a7])),_0x31d5a0=_0x58aa43[_0x5f1d00(0x549)][_0x5f1d00(0x387)](_0x26aedd=>{let _0x31faf3=_0x2d24a3['get'](_0x26aedd);return _0x31faf3?[_0x31faf3]:[];}),_0x130ca7=this[_0x5f1d00(0x4eb)](_0x2ff520,_0x3e365a,_0x31d5a0),_0x598a99=new Map(_0x58aa43[_0x5f1d00(0x5d5)][_0x5f1d00(0x329)]((_0xd90a70,_0x39831e)=>[_0xd90a70,_0x39831e])),_0x5d42ca=_0xb6c5fe=>{const _0x2901a2=_0x5f1d00;let _0x5f3dbe=_0x58aa43['nodes'][_0xb6c5fe],_0x221d16=_0x598a99[_0x2901a2(0x59c)](_0xb6c5fe)??-0x1;return _0x221d16<0x0||!_0x5f3dbe?[]:_0x58aa43[_0x2901a2(0x5d5)]['slice'](_0x221d16,_0x5f3dbe[_0x2901a2(0x28d)]+0x1);},_0x30f6e6=_0x39ae2e=>{const _0x20c6e7=_0x5f1d00;var _0x4ccd6e,_0x5168ac;return{..._0x39ae2e,'recordIds':(_0x4ccd6e=_0x39ae2e[_0x20c6e7(0x2e1)])!=null&&_0x4ccd6e['length']?_0x39ae2e[_0x20c6e7(0x2bc)]:_0x39ae2e[_0x20c6e7(0x2bc)][_0x20c6e7(0x387)](_0x5d42ca),'children':(_0x5168ac=_0x39ae2e[_0x20c6e7(0x2e1)])==null?void 0x0:_0x5168ac[_0x20c6e7(0x329)](_0x30f6e6)};};return _0x130ca7[_0x5f1d00(0x329)](_0x30f6e6);}[_0x571676(0x22e)](_0x124d73,_0x47c800){const _0x16f079=_0x571676;var _0x2bd0ce;let _0x528c7b=this[_0x16f079(0x468)](_0x124d73,_0x47c800),_0x39006d=_0x528c7b?_0x124d73[_0x16f079(0x3c2)][_0x528c7b]:void 0x0;if(!_0x39006d)return{'type':_0x16f079(0x3a9),'viewType':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'reason':_0x16f079(0x42d),'fieldId':_0x47c800[_0x16f079(0x5b9)][_0x16f079(0x34f)]};let _0x17549e=this[_0x16f079(0x38a)](_0x124d73,_0x47c800),_0x9c8f7a=this[_0x16f079(0x5cf)](_0x124d73,_0x47c800),_0x50d6d1=_0x47c800['config']??{},_0x5588fe=this[_0x16f079(0x5ab)](_0x124d73,(_0x2bd0ce=_0x50d6d1['card'])==null?void 0x0:_0x2bd0ce['titleFieldId']),_0x4bbc1e=this[_0x16f079(0x49b)](_0x124d73,_0x47c800,_0x39006d['id'],_0x5588fe),_0x1a21d3=new Map();if(_0x53a126(_0x124d73,_0x39006d['id'])){let _0x2e75e5=this['_getHierarchyIndex'](_0x124d73,_0x39006d['id'],_0x47c800['id'],_0x17549e[_0x16f079(0x329)](_0x236b9d=>_0x236b9d[_0x16f079(0x5c4)])),_0x488bd2=new Map();return _0x17549e[_0x16f079(0x3c9)](_0x526b57=>{const _0x22ca90=_0x16f079;let _0x409d7f=_0x2e75e5[_0x22ca90(0x31b)][_0x22ca90(0x59c)](_0x526b57[_0x22ca90(0x5c4)])??null,_0x397a2c=_0x409d7f??'',_0x57ea44=_0x409d7f?_0x124d73[_0x22ca90(0x38f)][_0x409d7f]:void 0x0,_0xc1ba64=_0x488bd2[_0x22ca90(0x59c)](_0x397a2c)??{'key':_0x397a2c,'title':_0x57ea44?String(_0x5d2adc(_0x124d73,_0x57ea44['id'],_0x124d73[_0x22ca90(0x422)])??_0x409d7f):this[_0x22ca90(0x281)](_0x39006d,_0x397a2c,_0x50d6d1),'recordIds':[]};_0xc1ba64['recordIds'][_0x22ca90(0x401)](_0x526b57[_0x22ca90(0x5c4)]),_0x488bd2[_0x22ca90(0x569)](_0x397a2c,_0xc1ba64);}),{'type':_0x13cf76[_0x16f079(0x5ba)]['Kanban'],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':[],'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':['',..._0x2e75e5[_0x16f079(0x5d5)]][_0x16f079(0x387)](_0x5f2ac5=>{const _0x54e0a2=_0x16f079;let _0x57a73b=_0x488bd2[_0x54e0a2(0x59c)](_0x5f2ac5);return _0x57a73b!=null&&_0x57a73b[_0x54e0a2(0x2bc)][_0x54e0a2(0x4e9)]?[_0x57a73b]:[];})};}return this['_getKanbanConfiguredLanes'](_0x39006d,_0x50d6d1)[_0x16f079(0x3c9)](_0x655771=>_0x1a21d3[_0x16f079(0x569)](_0x655771['key'],{..._0x655771,'recordIds':[]})),_0x17549e['forEach'](_0x515b12=>{const _0xf4e7d6=_0x16f079;this[_0xf4e7d6(0x534)](_0x39006d,_0x515b12[_0xf4e7d6(0x334)][_0x39006d['id']])[_0xf4e7d6(0x3c9)](_0x19da5b=>{const _0x5231f2=_0xf4e7d6;let _0x170d91=_0x1a21d3['get'](_0x19da5b)??{'key':_0x19da5b,'title':this[_0x5231f2(0x281)](_0x39006d,_0x19da5b,_0x50d6d1),'color':this['_kanbanLaneColor'](_0x39006d,_0x19da5b,_0x50d6d1),'recordIds':[]};_0x170d91[_0x5231f2(0x2bc)][_0x5231f2(0x401)](_0x515b12[_0x5231f2(0x5c4)]),_0x1a21d3[_0x5231f2(0x569)](_0x19da5b,_0x170d91);});}),{'type':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':this['_projectGroups'](_0x124d73,_0x47c800,_0x17549e),'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':Array[_0x16f079(0x2ed)](_0x1a21d3[_0x16f079(0x334)]())};}[_0x571676(0x468)](_0x34c326,_0x1fbf44){const _0x14b695=_0x571676;var _0x1ac24c;let _0x56a389=(_0x1ac24c=_0x1fbf44[_0x14b695(0x5b9)])==null?void 0x0:_0x1ac24c[_0x14b695(0x34f)];return _0x56a389&&this['_isKanbanGroupField'](_0x34c326,_0x56a389)?_0x56a389:this[_0x14b695(0x4b5)](_0x34c326,_0x4a7814=>this['_isAllowedKanbanGroupField'](_0x4a7814));}[_0x571676(0x4b5)](_0x68cf3d,_0x40192b){const _0x400edd=_0x571676;for(let _0x3a0a46 of _0x68cf3d['fieldOrder']){let _0x39da03=_0x68cf3d[_0x400edd(0x3c2)][_0x3a0a46];if(_0x39da03&&_0x40192b(_0x39da03))return _0x39da03['id'];}return null;}[_0x571676(0x31f)](_0x3895a8,_0x2261a5){const _0x48a393=_0x571676;let _0x52d803=_0x3895a8[_0x48a393(0x3c2)][_0x2261a5];return this[_0x48a393(0x4b1)](_0x52d803)||_0x53a126(_0x3895a8,_0x2261a5);}[_0x571676(0x4b1)](_0x30fba1){const _0x3fbaa1=_0x571676;return!!_0x30fba1&&(_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)]['SingleSelect']||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x247)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x238)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x43f)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x53b)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x55f)]);}[_0x571676(0x1a2)](_0x1db317){const _0x211e38=_0x571676;return _0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x221)]||_0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x247)];}[_0x571676(0x431)](_0x3579ae,_0x293eb3){const _0xe816e7=_0x571676;var _0x12bc37;let _0x29d63b=_0x293eb3[_0xe816e7(0x36d)]??((_0x12bc37=_0x293eb3['card'])==null?void 0x0:_0x12bc37['coverFieldId'])??null;if(!_0x29d63b)return null;let _0x1393a0=_0x3579ae[_0xe816e7(0x3c2)][_0x29d63b];return _0x1393a0&&this[_0xe816e7(0x1d7)](_0x1393a0)[_0xe816e7(0x20f)]?_0x1393a0['id']:null;}['_resolveKanbanCardFieldIds'](_0x159da7,_0x44baec,_0x5d8dc9,_0x40d790=this[_0x571676(0x5ab)](_0x159da7,((()=>{const _0x80d1cf=_0x571676;var _0x6b5d1f;return(_0x6b5d1f=_0x44baec[_0x80d1cf(0x5b9)])==null||(_0x6b5d1f=_0x6b5d1f[_0x80d1cf(0x2ac)])==null?void 0x0:_0x6b5d1f['titleFieldId'];})()))){const _0x2b5246=_0x571676;var _0x40eab8;let _0x5af70e=_0x44baec['config']??{},_0x89a165=(_0x40eab8=_0x5af70e[_0x2b5246(0x2ac)])!=null&&(_0x40eab8=_0x40eab8['fieldIds'])!=null&&_0x40eab8[_0x2b5246(0x4e9)]?_0x5af70e[_0x2b5246(0x2ac)][_0x2b5246(0x1bb)]:_0x47953f(_0x159da7,[_0x40d790,_0x159da7[_0x2b5246(0x422)],_0x5d8dc9]),_0x51f518=_0x5af70e[_0x2b5246(0x3ea)]??{};return _0x89a165[_0x2b5246(0x3c4)](_0x524174=>{const _0x898332=_0x2b5246;var _0x4d81f6,_0x254533;let _0x19a3e9=_0x159da7['fields'][_0x524174];return!(!_0x19a3e9||_0x19a3e9[_0x898332(0x4f8)]===!0x0||_0x19a3e9[_0x898332(0x292)]===_0x13cf76[_0x898332(0x517)][_0x898332(0x2ea)]||_0x19a3e9['id']===_0x5d8dc9||_0x19a3e9['id']===_0x40d790||(_0x4d81f6=_0x44baec[_0x898332(0x3ea)])!=null&&(_0x4d81f6=_0x4d81f6[_0x524174])!=null&&_0x4d81f6[_0x898332(0x3fd)]||(_0x254533=_0x51f518[_0x524174])!=null&&_0x254533['hidden']);})[_0x2b5246(0x4af)]((_0x1ced03,_0x3e8478)=>{const _0x385bf1=_0x2b5246;var _0x380df5,_0x42c51a;return(((_0x380df5=_0x51f518[_0x1ced03])==null?void 0x0:_0x380df5[_0x385bf1(0x1e3)])??_0x89a165['indexOf'](_0x1ced03))-(((_0x42c51a=_0x51f518[_0x3e8478])==null?void 0x0:_0x42c51a[_0x385bf1(0x1e3)])??_0x89a165[_0x385bf1(0x406)](_0x3e8478));});}[_0x571676(0x287)](_0x225c74,_0xf6b440){const _0x40ff5e=_0x571676;var _0x2eb103;let _0x5daad2=(Array['isArray']((_0x2eb103=_0x225c74[_0x40ff5e(0x5b9)])==null?void 0x0:_0x2eb103[_0x40ff5e(0x386)])?_0x225c74['config'][_0x40ff5e(0x386)]:[])['flatMap']((_0x494957,_0x24cbb6)=>{const _0x31dd22=_0x40ff5e;if(_0x494957==null)return[];let _0x15094a=typeof _0x494957==_0x31dd22(0x2b6)?{'id':_0x494957,'name':_0x494957,'color':void 0x0}:_0x494957,_0x4b0bca=String(_0x15094a['id']??_0x15094a[_0x31dd22(0x46d)]??_0x31dd22(0x190)+(_0x24cbb6+0x1));return[{'key':_0x4b0bca,'title':String(_0x15094a[_0x31dd22(0x46d)]??_0x15094a['id']??_0x4b0bca),'color':this['_kanbanLaneColor'](_0x225c74,_0x4b0bca,_0xf6b440)}];});return Object[_0x40ff5e(0x460)](_0xf6b440[_0x40ff5e(0x4b2)]??{})[_0x40ff5e(0x3c9)](([_0x5301a7,_0x4ccdf8])=>{const _0x1a7565=_0x40ff5e;_0x5daad2[_0x1a7565(0x1ab)](_0x425373=>_0x425373[_0x1a7565(0x40c)]===_0x5301a7)||_0x5daad2['push']({'key':_0x5301a7,'title':this[_0x1a7565(0x1a2)](_0x225c74)?_0x4ccdf8[_0x1a7565(0x297)]??this[_0x1a7565(0x281)](_0x225c74,_0x5301a7,_0xf6b440):this['_kanbanLaneTitle'](_0x225c74,_0x5301a7,_0xf6b440),'color':this[_0x1a7565(0x5c5)](_0x225c74,_0x5301a7,_0xf6b440)});}),_0x5daad2;}[_0x571676(0x534)](_0x275574,_0x1e25a6){const _0x25b74e=_0x571676;let _0x1996bc=_0x14f24a=>{const _0x54a169=_0x4fc5;var _0x2346a0;let _0x756f30=_0x14f24a==null?'':String(_0x14f24a);return!_0x756f30||!this[_0x54a169(0x1a2)](_0x275574)?_0x756f30:((_0x2346a0=_0x40d76c(_0x275574,_0x756f30))==null?void 0x0:_0x2346a0['id'])??_0x756f30;};if(Array[_0x25b74e(0x21f)](_0x1e25a6)){let _0x356173=_0x1e25a6['map'](_0x1996bc)['filter'](_0x1411ee=>_0x1411ee!=='');return _0x356173[_0x25b74e(0x4e9)]?_0x356173:[''];}return[_0x1996bc(_0x1e25a6)];}[_0x571676(0x281)](_0x1c4a6a,_0x53597b,_0x571357){const _0x497bf0=_0x571676;if(!_0x53597b)return _0x497bf0(0x2fc);let _0x36818f=_0x40d76c(_0x1c4a6a,_0x53597b);return(_0x36818f==null?void 0x0:_0x36818f['name'])??_0x53597b;}[_0x571676(0x5c5)](_0x2a74dd,_0x1db7ed,_0xa05227){const _0x4d08e8=_0x571676;var _0x56c45d;if(this['_isColorfulKanbanGroupField'](_0x2a74dd))return(_0x56c45d=_0x40d76c(_0x2a74dd,_0x1db7ed))==null?void 0x0:_0x56c45d[_0x4d08e8(0x393)];}[_0x571676(0x540)](_0x1fdf29,_0x2db1af){const _0x2e6b14=_0x571676;let _0x2bcda9=this[_0x2e6b14(0x5af)](_0x1fdf29,_0x2db1af[_0x2e6b14(0x5b9)]??{}),_0x3e5857=_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x348)]];if(!_0x3e5857||_0x3e5857[_0x2e6b14(0x292)]!==_0x13cf76['BaseFieldType'][_0x2e6b14(0x494)]||_0x3e5857[_0x2e6b14(0x59b)]===!0x0||_0x3e5857['system']===!0x0||!this['_capabilities'](_0x3e5857)[_0x2e6b14(0x35d)])return{'type':_0x2e6b14(0x3a9),'viewType':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'reason':_0x2e6b14(0x1e4),'fieldId':_0x2bcda9[_0x2e6b14(0x348)]};let _0x333040=_0x2bcda9[_0x2e6b14(0x282)]?_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x282)]]:void 0x0,_0x1ebcda=this['_projectRows'](_0x1fdf29,_0x2db1af);return{'type':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'config':_0x2bcda9,'fields':this[_0x2e6b14(0x5cf)](_0x1fdf29,_0x2db1af),'rows':_0x1ebcda,'groups':this[_0x2e6b14(0x4eb)](_0x1fdf29,_0x2db1af,_0x1ebcda),'events':_0x1ebcda[_0x2e6b14(0x387)](_0x533b08=>{const _0xa5d447=_0x2e6b14;let _0x21293d=_0x397f72(_0x533b08[_0xa5d447(0x334)][_0x2bcda9['startDateFieldId']]);if(!Number['isFinite'](_0x21293d))return[];let _0x561be1=_0x533b08[_0xa5d447(0x334)][_0x2bcda9[_0xa5d447(0x348)]],_0x189956=_0x2bcda9['endDateFieldId']==null?void 0x0:_0x533b08[_0xa5d447(0x334)][_0x2bcda9['endDateFieldId']],_0xf04611=_0x2bcda9[_0xa5d447(0x282)]==null?void 0x0:_0x397f72(_0x189956),_0x58a927=Number[_0xa5d447(0x195)](_0xf04611)?_0xf04611:void 0x0;return[{'recordId':_0x533b08[_0xa5d447(0x5c4)],'title':this[_0xa5d447(0x1aa)](_0x1fdf29,_0x533b08,_0x2bcda9['titleFieldId']),'start':_0x21293d,'end':_0x58a927,'color':this[_0xa5d447(0x1ea)](_0x1fdf29,_0x533b08,_0x2bcda9),'startMs':_0x21293d,'endMs':_0x58a927,'allDay':this[_0xa5d447(0x27d)](_0x3e5857,_0x333040,_0x561be1,_0x189956),'fieldValues':_0x533b08['values']}];})};}[_0x571676(0x5af)](_0x353eea,_0x344850){const _0x2eb7c1=_0x571676;let _0x443eab=this[_0x2eb7c1(0x327)](_0x353eea,_0x344850[_0x2eb7c1(0x348)]),_0x1395ac=_0x344850[_0x2eb7c1(0x282)]&&this['_isCalendarDateField'](_0x353eea,_0x344850[_0x2eb7c1(0x282)])?_0x344850[_0x2eb7c1(0x282)]:this[_0x2eb7c1(0x5a9)](_0x353eea,_0x443eab)??void 0x0,_0x46164=_0x344850[_0x2eb7c1(0x41d)]?_0x353eea[_0x2eb7c1(0x3c2)][_0x344850[_0x2eb7c1(0x41d)]]:void 0x0,_0x44aa19=_0x46164&&_0x46164[_0x2eb7c1(0x4f8)]!==!0x0&&_0x46164['type']!==_0x13cf76[_0x2eb7c1(0x517)][_0x2eb7c1(0x2ea)]?_0x344850['titleFieldId']:_0x353eea[_0x2eb7c1(0x422)],_0x34686c=_0x344850[_0x2eb7c1(0x54d)]===_0x2eb7c1(0x2b4)||_0x344850[_0x2eb7c1(0x54d)]==='week'?_0x344850[_0x2eb7c1(0x54d)]:_0x2eb7c1(0x5d8),_0x577e01=_0x344850['timeslotSize']===_0x2eb7c1(0x378)||_0x344850[_0x2eb7c1(0x3b2)]==='long'?_0x344850['timeslotSize']:'medium',_0x32ac44=typeof _0x344850['timeZone']==_0x2eb7c1(0x2b6)&&_0x344850[_0x2eb7c1(0x4ea)][_0x2eb7c1(0x2cd)]()?_0x344850['timeZone']:_0x2eb7c1(0x576),_0x4c7e66=this[_0x2eb7c1(0x1c8)](_0x353eea,_0x344850);return{..._0x344850,'startDateFieldId':_0x443eab,'endDateFieldId':_0x1395ac,'titleFieldId':_0x44aa19,'mode':_0x34686c,'timeslotSize':_0x577e01,'timeZone':_0x32ac44,'displayColor':_0x4c7e66,'fieldSettings':Object[_0x2eb7c1(0x1fc)](Object[_0x2eb7c1(0x460)](_0x344850[_0x2eb7c1(0x3ea)]??{})['filter'](([_0x5dafe7])=>{const _0x51f28f=_0x2eb7c1;let _0x10a9aa=_0x353eea[_0x51f28f(0x3c2)][_0x5dafe7];return!!(_0x10a9aa&&_0x10a9aa['system']!==!0x0&&_0x10a9aa[_0x51f28f(0x292)]!==_0x13cf76[_0x51f28f(0x517)][_0x51f28f(0x2ea)]);}))};}[_0x571676(0x327)](_0x11594d,_0x4f7d75){const _0xed5ab8=_0x571676;return _0x4f7d75&&this[_0xed5ab8(0x263)](_0x11594d,_0x4f7d75)?_0x4f7d75:this[_0xed5ab8(0x5a9)](_0x11594d)??_0x4f7d75??'';}[_0x571676(0x5a9)](_0x33c016,_0x1f0266){const _0x241711=_0x571676;for(let _0x3e74fd of _0x33c016[_0x241711(0x582)])if(_0x3e74fd!==_0x1f0266&&this[_0x241711(0x263)](_0x33c016,_0x3e74fd))return _0x3e74fd;return null;}['_isCalendarDateField'](_0x479094,_0x35c934){const _0xf6ae16=_0x571676;let _0x6d8ee5=_0x479094[_0xf6ae16(0x3c2)][_0x35c934];return!!_0x6d8ee5&&_0x6d8ee5[_0xf6ae16(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x6d8ee5[_0xf6ae16(0x59b)]!==!0x0&&_0x6d8ee5['system']!==!0x0&&this['_capabilities'](_0x6d8ee5)[_0xf6ae16(0x35d)];}['_normalizeCalendarDisplayColor'](_0xb37c10,_0x33276f){const _0x5238de=_0x571676;let _0x9e93b4=_0x33276f[_0x5238de(0x2ef)];if((_0x9e93b4==null?void 0x0:_0x9e93b4[_0x5238de(0x292)])===_0x5238de(0x18c)){let _0x477167=_0xb37c10[_0x5238de(0x3c2)][_0x9e93b4['fieldId']];if(_0x477167&&_0x477167[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return _0x9e93b4;}if((_0x9e93b4==null?void 0x0:_0x9e93b4['type'])===_0x5238de(0x5cd)&&typeof _0x9e93b4['color']==_0x5238de(0x2b6)&&_0x9e93b4[_0x5238de(0x393)][_0x5238de(0x2cd)]())return{'type':_0x5238de(0x5cd),'color':_0x9e93b4['color']};if(_0x33276f[_0x5238de(0x2e0)]){let _0x5823dd=_0xb37c10[_0x5238de(0x3c2)][_0x33276f[_0x5238de(0x2e0)]];if(_0x5823dd&&_0x5823dd[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return{'type':_0x5238de(0x18c),'fieldId':_0x33276f['colorFieldId']};}return{'type':_0x5238de(0x5cd),'color':_0x5238de(0x19d)};}[_0x571676(0x1ea)](_0x6d1616,_0x434191,_0x1f444f){const _0x50233d=_0x571676;let _0x56f3af=_0x1f444f[_0x50233d(0x2ef)];if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])===_0x50233d(0x18c)){var _0x4b9f92;let _0xb69bad=_0x6d1616[_0x50233d(0x3c2)][_0x56f3af[_0x50233d(0x384)]];if(!_0xb69bad)return;let _0x272fbd=_0x434191[_0x50233d(0x334)][_0x56f3af[_0x50233d(0x384)]],_0x547f4b=Array[_0x50233d(0x21f)](_0x272fbd)?_0x272fbd[0x0]:_0x272fbd;return _0x547f4b==null||(_0x4b9f92=_0x40d76c(_0xb69bad,String(_0x547f4b)))==null?void 0x0:_0x4b9f92[_0x50233d(0x393)];}if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])==='custom')return _0x56f3af[_0x50233d(0x393)];}[_0x571676(0x27d)](_0xcc4aaa,_0x4a9c41,_0x1beb4e,_0x427bd0){const _0x264941=_0x571676;var _0x5e19eb,_0x24f04f;let _0x7ac527=((_0x5e19eb=_0xcc4aaa[_0x264941(0x5b9)])==null?void 0x0:_0x5e19eb['includeTime'])===!0x0,_0x2a238f=(_0x4a9c41==null||(_0x24f04f=_0x4a9c41['config'])==null?void 0x0:_0x24f04f['includeTime'])===!0x0;return!_0x7ac527&&!_0x2a238f;}['_isAllDayGanttDateRange'](_0x469735,_0x481808){const _0xece81b=_0x571676;var _0x470c5d,_0x25d7bc;let _0xdd66b3=((_0x470c5d=_0x469735['config'])==null?void 0x0:_0x470c5d['includeTime'])===!0x0,_0x3e1edd=((_0x25d7bc=_0x481808['config'])==null?void 0x0:_0x25d7bc[_0xece81b(0x1f3)])===!0x0;return!_0xdd66b3&&!_0x3e1edd;}[_0x571676(0x2f5)](_0x30e6fb,_0x3b265e){const _0x17b630=_0x571676;let _0x10f415=this[_0x17b630(0x57a)](_0x30e6fb,_0x3b265e[_0x17b630(0x5b9)]),_0x1b3384=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x348)]];if(!_0x1b3384||_0x1b3384[_0x17b630(0x292)]!==_0x13cf76[_0x17b630(0x517)][_0x17b630(0x494)]||_0x1b3384[_0x17b630(0x59b)]===!0x0||_0x1b3384[_0x17b630(0x4f8)]===!0x0||!this['_capabilities'](_0x1b3384)[_0x17b630(0x1ce)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)][_0x17b630(0x520)],'reason':'invalidGanttStartField','fieldId':_0x10f415[_0x17b630(0x348)]};let _0x535250=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x282)]];if(!_0x535250||_0x535250['type']!==_0x13cf76['BaseFieldType'][_0x17b630(0x494)]||_0x535250[_0x17b630(0x59b)]===!0x0||_0x535250['system']===!0x0||!this['_capabilities'](_0x535250)[_0x17b630(0x19e)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'reason':_0x17b630(0x5c0),'fieldId':_0x10f415['endDateFieldId']};let _0x53cbee=this[_0x17b630(0x37b)](_0x1b3384,_0x535250),_0x2bab55=this[_0x17b630(0x38a)](_0x30e6fb,_0x3b265e),_0x1d2dd5=_0x2bab55[_0x17b630(0x387)](_0x819c4f=>{const _0x338582=_0x17b630;let _0x573745=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415['startDateFieldId']]),_0x48efa5=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415[_0x338582(0x282)]]);if(!Number[_0x338582(0x195)](_0x573745)||!Number[_0x338582(0x195)](_0x48efa5))return[];let _0x10cbda=Math['min'](_0x573745,_0x48efa5),_0x33eaa8=Math['max'](_0x573745,_0x48efa5),_0x2694b=_0x10f415[_0x338582(0x433)]==null?void 0x0:Number(_0x819c4f['values'][_0x10f415['progressFieldId']]);return[{'recordId':_0x819c4f['recordId'],'title':this[_0x338582(0x1aa)](_0x30e6fb,_0x819c4f,_0x10f415[_0x338582(0x41d)]),'start':_0x10cbda,'end':_0x33eaa8,'color':this[_0x338582(0x3fb)](_0x30e6fb,_0x819c4f,_0x10f415),'progress':Number[_0x338582(0x195)](_0x2694b)?_0x2694b:void 0x0,'workingDayCount':_0x10f415['workingDaysOnly']?_0x571a96(_0x10cbda,_0x33eaa8,_0x10f415['workingDays']):void 0x0,'dependencyRecordIds':this[_0x338582(0x46e)](_0x819c4f['values'][_0x10f415[_0x338582(0x58d)]??''])}];}),_0x3ab98c=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math[_0x17b630(0x5a2)](..._0x1d2dd5[_0x17b630(0x329)](_0x252038=>_0x252038[_0x17b630(0x3aa)]))-0x5a*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()-0x5a*_0xb61d09),_0x37140e=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math['max'](..._0x1d2dd5[_0x17b630(0x329)](_0x513eab=>_0x513eab['end']))+0x5b*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()+0x5b*_0xb61d09),_0x4cc3fe=_0x40c45e(_0x10f415['scale'],_0x3ab98c,_0x37140e,_0x10f415[_0x17b630(0x29c)]?_0x10f415[_0x17b630(0x4fb)]:void 0x0);return{'type':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'fields':this[_0x17b630(0x5cf)](_0x30e6fb,{..._0x3b265e,'config':_0x10f415}),'rows':_0x2bab55,'groups':this[_0x17b630(0x4eb)](_0x30e6fb,_0x3b265e,_0x2bab55),'config':_0x10f415,'dateRangeAllDay':_0x53cbee,'timeline':{'scale':_0x10f415[_0x17b630(0x465)],'start':_0x3ab98c,'end':_0x37140e,'unitWidth':_0x4cc3fe[_0x17b630(0x37d)],'majorHeaders':_0x4cc3fe[_0x17b630(0x5c7)],'columns':_0x4cc3fe[_0x17b630(0x523)]},'bars':_0x1d2dd5};}['_normalizeGanttConfig'](_0x32c5c0,_0x465036){const _0x4cf5e7=_0x571676;let _0x515fe6=this['_resolveGanttDateFieldId'](_0x32c5c0,_0x465036[_0x4cf5e7(0x348)],'start'),_0x14e512=this[_0x4cf5e7(0x426)](_0x32c5c0,_0x465036[_0x4cf5e7(0x282)],_0x4cf5e7(0x5a8))||_0x515fe6,_0x9f6dc9=_0x465036[_0x4cf5e7(0x41d)]?_0x32c5c0[_0x4cf5e7(0x3c2)][_0x465036[_0x4cf5e7(0x41d)]]:void 0x0,_0x8021cf=_0x9f6dc9&&_0x9f6dc9[_0x4cf5e7(0x4f8)]!==!0x0&&_0x9f6dc9['type']!==_0x13cf76[_0x4cf5e7(0x517)]['RecordId']?_0x465036['titleFieldId']:_0x32c5c0['primaryFieldId'],_0x3f59ee=_0x465036['scale']==='week'||_0x465036['scale']===_0x4cf5e7(0x35c)||_0x465036[_0x4cf5e7(0x465)]==='year'?_0x465036[_0x4cf5e7(0x465)]:'month',_0x49c7a5=_0x48adc8(_0x465036['workingDays']);return{..._0x465036,'startDateFieldId':_0x515fe6,'endDateFieldId':_0x14e512,'titleFieldId':_0x8021cf,'scale':_0x3f59ee,'leftPaneWidth':typeof _0x465036[_0x4cf5e7(0x432)]==_0x4cf5e7(0x3dc)?_0x465036[_0x4cf5e7(0x432)]:void 0x0,'leftPaneCollapsed':_0x465036[_0x4cf5e7(0x2d1)]===!0x0,'showTodayLine':_0x465036[_0x4cf5e7(0x50d)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x32c5c0,_0x465036),'fieldSettings':Object[_0x4cf5e7(0x1fc)](Object[_0x4cf5e7(0x460)](_0x465036[_0x4cf5e7(0x3ea)]??{})[_0x4cf5e7(0x3c4)](([_0x536992])=>{const _0x39ae85=_0x4cf5e7;let _0x36efd7=_0x32c5c0[_0x39ae85(0x3c2)][_0x536992];return!!(_0x36efd7&&_0x36efd7['system']!==!0x0&&_0x36efd7[_0x39ae85(0x292)]!==_0x13cf76[_0x39ae85(0x517)][_0x39ae85(0x2ea)]);})),'workingDaysOnly':_0x465036['workingDaysOnly']===!0x0,'workingDays':_0x49c7a5};}[_0x571676(0x426)](_0x4b8382,_0x294a54,_0x5c2f43){const _0x45b936=_0x571676;if(_0x294a54&&this[_0x45b936(0x536)](_0x4b8382,_0x294a54,_0x5c2f43)||_0x294a54)return _0x294a54;for(let _0x64dfe9 of _0x4b8382['fieldOrder'])if(this[_0x45b936(0x536)](_0x4b8382,_0x64dfe9,_0x5c2f43))return _0x64dfe9;return _0x294a54??'';}[_0x571676(0x536)](_0x6d7516,_0x478cec,_0x2b7dea){const _0x54d2af=_0x571676;let _0x454ceb=_0x6d7516[_0x54d2af(0x3c2)][_0x478cec];if(!_0x454ceb||_0x454ceb[_0x54d2af(0x292)]!==_0x13cf76[_0x54d2af(0x517)]['Date']||_0x454ceb[_0x54d2af(0x59b)]===!0x0||_0x454ceb[_0x54d2af(0x4f8)]===!0x0)return!0x1;let _0x4cba80=this[_0x54d2af(0x1d7)](_0x454ceb);return _0x2b7dea===_0x54d2af(0x3aa)?_0x4cba80[_0x54d2af(0x1ce)]:_0x4cba80['usableAsGanttEnd'];}[_0x571676(0x51b)](_0x25c602,_0x359786){const _0x5920af=_0x571676;let _0x816dc5=_0x359786[_0x5920af(0x2ef)];if((_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])===_0x5920af(0x18c)){let _0x595ef3=_0x25c602[_0x5920af(0x3c2)][_0x816dc5[_0x5920af(0x384)]];if(_0x595ef3&&_0x595ef3[_0x5920af(0x292)]===_0x13cf76[_0x5920af(0x517)][_0x5920af(0x221)])return _0x816dc5;}return(_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])==='conditional'&&Array[_0x5920af(0x21f)](_0x816dc5[_0x5920af(0x4a5)])?{'type':_0x5920af(0x4d3),'rules':_0x816dc5[_0x5920af(0x4a5)][_0x5920af(0x3c4)](_0x162f51=>!!_0x25c602[_0x5920af(0x3c2)][_0x162f51[_0x5920af(0x384)]])}:(_0x816dc5==null?void 0x0:_0x816dc5['type'])===_0x5920af(0x5cd)&&typeof _0x816dc5[_0x5920af(0x393)]==_0x5920af(0x2b6)&&_0x816dc5[_0x5920af(0x393)][_0x5920af(0x2cd)]()?{'type':'custom','color':_0x816dc5[_0x5920af(0x393)]}:{'type':'custom','color':_0x5920af(0x1fe)};}[_0x571676(0x3fb)](_0x3035cf,_0x47c6a1,_0xcc2245){const _0x1e8d51=_0x571676;let _0x27e1fe=_0xcc2245[_0x1e8d51(0x2ef)];if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='conditional'){let _0x13124a=_0x27e1fe[_0x1e8d51(0x4a5)][_0x1e8d51(0x56a)](_0x29391d=>this[_0x1e8d51(0x580)](_0x3035cf,_0x47c6a1,_0x29391d));if(_0x13124a)return _0x13124a[_0x1e8d51(0x393)];}if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='selectField'){let _0x1d6f15=_0x3035cf['fields'][_0x27e1fe[_0x1e8d51(0x384)]];if(_0x1d6f15){var _0x3f301f;let _0x3d25da=_0x47c6a1[_0x1e8d51(0x334)][_0x27e1fe[_0x1e8d51(0x384)]],_0x2d484d=Array[_0x1e8d51(0x21f)](_0x3d25da)?_0x3d25da[0x0]:_0x3d25da,_0x1c8593=_0x2d484d==null||(_0x3f301f=_0x40d76c(_0x1d6f15,String(_0x2d484d)))==null?void 0x0:_0x3f301f[_0x1e8d51(0x393)];if(_0x1c8593)return _0x1c8593;}}return(_0x27e1fe==null?void 0x0:_0x27e1fe['type'])===_0x1e8d51(0x5cd)?_0x27e1fe[_0x1e8d51(0x393)]:_0x1e8d51(0x1fe);}['_matchesGanttColorRule'](_0x282983,_0x9ef2b9,_0x881c0b){const _0x2e65e8=_0x571676;let _0x49c065=_0x282983['fields'][_0x881c0b[_0x2e65e8(0x384)]];return _0x49c065?_0x4231b9(_0x9ef2b9[_0x2e65e8(0x334)][_0x49c065['id']],_0x881c0b[_0x2e65e8(0x4a2)],_0x881c0b['operand'],_0x49c065,{'dateMode':_0x881c0b['dateMode']}):!0x1;}[_0x571676(0x3bd)](_0x555f39,_0x24d255){const _0x5b1b6b=_0x571676;let _0x3dc9f8=this[_0x5b1b6b(0x38a)](_0x555f39,_0x24d255),_0x52dc2c=this['_normalizeGalleryConfig'](_0x555f39,_0x24d255[_0x5b1b6b(0x5b9)]??{}),_0x2e27c1=this[_0x5b1b6b(0x5cf)](_0x555f39,_0x24d255);return{'type':_0x13cf76[_0x5b1b6b(0x5ba)]['Gallery'],'fields':_0x2e27c1,'rows':_0x3dc9f8,'groups':this[_0x5b1b6b(0x4eb)](_0x555f39,_0x24d255,_0x3dc9f8),'titleFieldId':_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)],'coverFieldId':_0x52dc2c['coverFieldId'],'cardLayout':_0x52dc2c[_0x5b1b6b(0x528)]??_0x5b1b6b(0x2f6),'showFieldNames':_0x52dc2c[_0x5b1b6b(0x3e8)]!==!0x1,'visibleCardFieldIds':this[_0x5b1b6b(0x1d6)](_0x555f39,_0x24d255,_0x52dc2c),'cardSize':_0x52dc2c[_0x5b1b6b(0x35f)]??_0x5b1b6b(0x532),'cards':_0x3dc9f8['map'](_0x355616=>({'recordId':_0x355616['recordId'],'title':this['_title'](_0x555f39,_0x355616,_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)]),'values':_0x355616[_0x5b1b6b(0x334)]}))};}[_0x571676(0x4f0)](_0x97f510,_0x214126){const _0x4bdf56=_0x571676;let _0x174dc2=_0x214126[_0x4bdf56(0x2ac)]??{'fieldIds':[]},_0x3ea235=this[_0x4bdf56(0x5ab)](_0x97f510,_0x174dc2[_0x4bdf56(0x41d)]),_0x5116c4=this['_resolveGalleryCoverFieldId'](_0x97f510,_0x214126),_0x113f1a=_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x4ac)||_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x3d9)?_0x214126[_0x4bdf56(0x35f)]:'medium';return{..._0x214126,'coverFieldId':_0x5116c4,'cardLayout':_0x214126[_0x4bdf56(0x528)]==='compose'?_0x4bdf56(0x199):_0x4bdf56(0x2f6),'showFieldNames':_0x214126[_0x4bdf56(0x3e8)]!==!0x1,'fieldSettings':Object[_0x4bdf56(0x1fc)](Object[_0x4bdf56(0x460)](_0x214126[_0x4bdf56(0x3ea)]??{})[_0x4bdf56(0x3c4)](([_0x11efab])=>{const _0x3749b0=_0x4bdf56;let _0x45a678=_0x97f510[_0x3749b0(0x3c2)][_0x11efab];return!!(_0x45a678&&_0x45a678['system']!==!0x0&&_0x45a678[_0x3749b0(0x292)]!==_0x13cf76['BaseFieldType'][_0x3749b0(0x2ea)]);})),'card':{..._0x174dc2,'titleFieldId':_0x3ea235,'coverFieldId':_0x5116c4,'fieldIds':Array[_0x4bdf56(0x21f)](_0x174dc2['fieldIds'])?_0x174dc2[_0x4bdf56(0x1bb)]:[]},'cardSize':_0x113f1a};}[_0x571676(0x5ab)](_0x17e30b,_0x76a14f){const _0x7d0245=_0x571676;let _0x27de8f=_0x76a14f?_0x17e30b[_0x7d0245(0x3c2)][_0x76a14f]:void 0x0;return _0x27de8f&&_0x27de8f[_0x7d0245(0x4f8)]!==!0x0&&_0x27de8f[_0x7d0245(0x292)]!==_0x13cf76[_0x7d0245(0x517)][_0x7d0245(0x2ea)]?_0x27de8f['id']:_0x1b61d0(_0x17e30b);}[_0x571676(0x500)](_0x4c60d7,_0x142eb4){const _0x1c11b7=_0x571676;var _0x5a7bfd;let _0xd37287=_0x142eb4[_0x1c11b7(0x36d)]??((_0x5a7bfd=_0x142eb4[_0x1c11b7(0x2ac)])==null?void 0x0:_0x5a7bfd['coverFieldId'])??null;if(!_0xd37287)return null;let _0xb677df=_0x4c60d7[_0x1c11b7(0x3c2)][_0xd37287];return _0xb677df&&this[_0x1c11b7(0x1d7)](_0xb677df)['usableAsCardCover']?_0xb677df['id']:null;}[_0x571676(0x1d6)](_0x378bf3,_0x5a5971,_0x26914b){const _0x12ddf3=_0x571676;var _0x2f4a46,_0x890146,_0x26336d;let _0x433e52=_0x26914b[_0x12ddf3(0x3ea)]??{},_0x4131a9=((_0x2f4a46=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x2f4a46[_0x12ddf3(0x41d)])??_0x1b61d0(_0x378bf3),_0xc5eada=_0x26914b['coverFieldId']??((_0x890146=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x890146[_0x12ddf3(0x36d)])??null,_0x58b696=(_0x26336d=_0x26914b[_0x12ddf3(0x2ac)])!=null&&(_0x26336d=_0x26336d[_0x12ddf3(0x1bb)])!=null&&_0x26336d[_0x12ddf3(0x4e9)]?_0x26914b['card'][_0x12ddf3(0x1bb)]:_0x47953f(_0x378bf3,[_0x4131a9,_0xc5eada,_0x378bf3[_0x12ddf3(0x422)]]);return _0x58b696[_0x12ddf3(0x3c4)](_0x2b8d86=>{const _0x4bffbd=_0x12ddf3;var _0x2251cd,_0xa37f1c;let _0x59d68d=_0x378bf3['fields'][_0x2b8d86];return!(!_0x59d68d||_0x59d68d[_0x4bffbd(0x4f8)]===!0x0||_0x59d68d['type']===_0x13cf76[_0x4bffbd(0x517)][_0x4bffbd(0x2ea)]||_0x59d68d['id']===_0x4131a9||_0x59d68d['id']===_0xc5eada||(_0x2251cd=_0x5a5971[_0x4bffbd(0x3ea)])!=null&&(_0x2251cd=_0x2251cd[_0x2b8d86])!=null&&_0x2251cd[_0x4bffbd(0x3fd)]||(_0xa37f1c=_0x433e52[_0x2b8d86])!=null&&_0xa37f1c[_0x4bffbd(0x3fd)]);})['sort']((_0x575fb9,_0x2fe340)=>{const _0xd2b356=_0x12ddf3;var _0x30dfac,_0x465097;return(((_0x30dfac=_0x433e52[_0x575fb9])==null?void 0x0:_0x30dfac[_0xd2b356(0x1e3)])??_0x58b696[_0xd2b356(0x406)](_0x575fb9))-(((_0x465097=_0x433e52[_0x2fe340])==null?void 0x0:_0x465097[_0xd2b356(0x1e3)])??_0x58b696['indexOf'](_0x2fe340));});}[_0x571676(0x5cf)](_0x1c2ba6,_0x4aa129){const _0x30c07b=_0x571676;var _0x1ccae5;return((_0x1ccae5=_0x4aa129[_0x30c07b(0x582)])!=null&&_0x1ccae5['length']?_0x4aa129[_0x30c07b(0x582)]:_0x1c2ba6[_0x30c07b(0x582)])[_0x30c07b(0x387)](_0x4af927=>{const _0x828181=_0x30c07b;var _0x4cf353;let _0x19635a=_0x1c2ba6['fields'][_0x4af927],_0x381aaf=((_0x4cf353=_0x4aa129[_0x828181(0x3ea)])==null?void 0x0:_0x4cf353[_0x4af927])??{};return!_0x19635a||_0x19635a['system']===!0x0||_0x19635a[_0x828181(0x292)]===_0x13cf76['BaseFieldType'][_0x828181(0x2ea)]||_0x381aaf[_0x828181(0x3fd)]?[]:[{'id':_0x19635a['id'],'name':_0x19635a[_0x828181(0x46d)],'description':_0x19635a[_0x828181(0x234)],'type':_0x19635a[_0x828181(0x292)],'config':_0x19635a[_0x828181(0x5b9)],'width':_0x381aaf[_0x828181(0x1e2)],'setting':_0x381aaf}];});}[_0x571676(0x38a)](_0x44cc91,_0x5003af){const _0x295490=_0x571676;var _0x1c48d1;return _0x32800a(_0x295490(0x1e6),()=>{const _0x46e0ff=_0x295490;var _0x59b62b,_0x5b8485;let _0x3291ac=this[_0x46e0ff(0x181)](_0x44cc91),_0x4989ec=this[_0x46e0ff(0x28a)](_0x44cc91['id'],_0x5003af),_0x578970=this[_0x46e0ff(0x1e5)](_0x44cc91['id']),_0x4aac12=this['_projectedViewRowsCache']['get'](_0x4989ec);if(_0x4aac12&&_0x4aac12[_0x46e0ff(0x22a)]===this[_0x46e0ff(0x3f8)]&&_0x4aac12[_0x46e0ff(0x49d)]===this[_0x46e0ff(0x5e5)](_0x44cc91['id'])){if(_0x4aac12['cellRevision']===_0x578970&&_0x4aac12[_0x46e0ff(0x590)]===_0x3291ac)return _0x4aac12['rows'];if(_0x4aac12[_0x46e0ff(0x51d)]!==_0x578970&&!this['_cellInvalidationsTouchFields'](_0x44cc91['id'],_0x4aac12[_0x46e0ff(0x51d)],_0x578970,this['_filterSortFieldIds'](_0x5003af))){let _0x5d8200=_0x4aac12[_0x46e0ff(0x3f0)]===_0x4aac12[_0x46e0ff(0x590)]?_0x3291ac:this[_0x46e0ff(0x18b)](_0x4aac12[_0x46e0ff(0x3f0)],_0x3291ac);if(_0x5d8200)return this[_0x46e0ff(0x4f4)][_0x46e0ff(0x569)](_0x4989ec,{..._0x4aac12,'rows':_0x5d8200,'baseRows':_0x3291ac,'cellRevision':_0x578970}),_0x5d8200;}}let _0x53364a=_0x32800a(_0x46e0ff(0x2ff),()=>this[_0x46e0ff(0x58c)](_0x44cc91,_0x5003af,this[_0x46e0ff(0x47b)](_0x44cc91,_0x5003af,_0x3291ac)),{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af[_0x46e0ff(0x292)],'rows':_0x3291ac[_0x46e0ff(0x4e9)],'filters':(_0x5003af==null||(_0x59b62b=_0x5003af['filter'])==null?void 0x0:_0x59b62b[_0x46e0ff(0x3af)]['length'])??0x0,'sorts':(_0x5003af==null||(_0x5b8485=_0x5003af[_0x46e0ff(0x4af)])==null?void 0x0:_0x5b8485[_0x46e0ff(0x4e9)])??0x0});return this['_projectedViewRowsCache'][_0x46e0ff(0x569)](_0x4989ec,{'table':_0x44cc91,'rows':_0x53364a,'baseRows':_0x3291ac,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x46e0ff(0x5e5)](_0x44cc91['id']),'cellRevision':_0x578970}),_0x53364a;},{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af['type'],'records':((_0x1c48d1=_0x44cc91['recordOrder'])==null?void 0x0:_0x1c48d1[_0x295490(0x4e9)])??Object['keys'](_0x44cc91[_0x295490(0x38f)]??{})['length']});}[_0x571676(0x181)](_0x3e5863){const _0x4cee81=_0x571676;var _0x558ca1;return _0x32800a('BaseProjection.projectTableRows',()=>{const _0x4869fa=_0x4fc5;var _0x56061e;let _0xc83eee=this['_getCellRevision'](_0x3e5863['id']),_0x41be6e=this[_0x4869fa(0x45c)]['get'](_0x3e5863['id']);if(_0x41be6e&&_0x41be6e[_0x4869fa(0x22a)]===this['_globalRevision']&&_0x41be6e[_0x4869fa(0x49d)]===this[_0x4869fa(0x5e5)](_0x3e5863['id'])){if(_0x41be6e[_0x4869fa(0x51d)]===_0xc83eee&&_0x20446f(_0x41be6e[_0x4869fa(0x4b7)],_0x3e5863))return _0x41be6e['table']=_0x3e5863,_0x41be6e[_0x4869fa(0x3f0)];let _0x83a186=this['_patchProjectedRowsForCellInvalidations'](_0x3e5863,_0x41be6e,_0xc83eee);if(_0x83a186)return _0x83a186;}_0x37f4e9(_0x3e5863)||_0x48b6e1(_0x3e5863);let _0x41415d=(_0x56061e=_0x3e5863['recordOrder'])!=null&&_0x56061e['length']?_0x3e5863[_0x4869fa(0x1cd)]:_0x14359c(_0x3e5863[_0x4869fa(0x38f)]),_0x3732f9=_0x32800a(_0x4869fa(0x5de),()=>{const _0x47f648=_0x4869fa;let _0x12308f=[];for(let _0x2ab8ec of _0x41415d){let _0x3065a4=_0x3e5863[_0x47f648(0x38f)][_0x2ab8ec];if(!_0x3065a4)continue;let _0x22e0d4={};for(let _0x4d6047 of _0x3e5863[_0x47f648(0x582)])_0x22e0d4[_0x4d6047]=_0x5d2adc(_0x3e5863,_0x3065a4['id'],_0x4d6047);_0x12308f[_0x47f648(0x401)]({'recordId':_0x3065a4['id'],'values':_0x22e0d4});}return _0x12308f;},{'tableId':_0x3e5863['id'],'records':_0x41415d[_0x4869fa(0x4e9)],'fields':_0x3e5863['fieldOrder']['length']});return this[_0x4869fa(0x45c)][_0x4869fa(0x569)](_0x3e5863['id'],{'table':_0x3e5863,'rows':_0x3732f9,'rowIndexById':_0x58816a(_0x3732f9),'globalRevision':this[_0x4869fa(0x3f8)],'tableRevision':this[_0x4869fa(0x5e5)](_0x3e5863['id']),'cellRevision':_0xc83eee}),_0x3732f9;},{'tableId':_0x3e5863['id'],'records':((_0x558ca1=_0x3e5863[_0x4cee81(0x1cd)])==null?void 0x0:_0x558ca1[_0x4cee81(0x4e9)])??Object[_0x4cee81(0x2db)](_0x3e5863['records']??{})[_0x4cee81(0x4e9)],'fields':_0x3e5863[_0x4cee81(0x582)]['length']});}[_0x571676(0x47c)](_0x83c833,_0x1ef268,_0x4a32a3){const _0x5674d9=_0x571676;let _0xda5025=(this['_cellInvalidations']['get'](_0x83c833['id'])??[])['filter'](_0x2a272d=>_0x2a272d[_0x5674d9(0x53a)]>_0x1ef268[_0x5674d9(0x51d)]&&_0x2a272d['revision']<=_0x4a32a3);if(!_0xda5025[_0x5674d9(0x4e9)])return _0x1ef268['table']===_0x83c833?_0x1ef268[_0x5674d9(0x3f0)]:null;let _0x299e3d=_0x1ef268[_0x5674d9(0x3f0)],_0x4e323b=new Map();for(let _0x2976d0 of _0xda5025){let _0x4f72ba=_0x4e323b[_0x5674d9(0x59c)](_0x2976d0[_0x5674d9(0x5c4)]);_0x4f72ba||(_0x4f72ba=new Set(),_0x4e323b['set'](_0x2976d0[_0x5674d9(0x5c4)],_0x4f72ba)),_0x4f72ba[_0x5674d9(0x54c)](_0x2976d0['fieldId']);}for(let [_0x38a4c7,_0x3b4320]of _0x4e323b){if(!_0x83c833[_0x5674d9(0x38f)][_0x38a4c7])return null;let _0x553655=_0x1ef268[_0x5674d9(0x361)][_0x5674d9(0x59c)](_0x38a4c7);if(_0x553655==null)return null;_0x299e3d===_0x1ef268[_0x5674d9(0x3f0)]&&(_0x299e3d=[..._0x1ef268[_0x5674d9(0x3f0)]]);let _0x1be559=_0x299e3d[_0x553655],_0x55231e={..._0x1be559[_0x5674d9(0x334)]};_0x3b4320[_0x5674d9(0x3c9)](_0x3cbb2a=>{_0x55231e[_0x3cbb2a]=_0x5d2adc(_0x83c833,_0x38a4c7,_0x3cbb2a);}),_0x299e3d[_0x553655]={..._0x1be559,'values':_0x55231e};}let _0x278d6b={'table':_0x83c833,'rows':_0x299e3d,'rowIndexById':_0x1ef268[_0x5674d9(0x361)],'globalRevision':this[_0x5674d9(0x3f8)],'tableRevision':this[_0x5674d9(0x5e5)](_0x83c833['id']),'cellRevision':_0x4a32a3};return this[_0x5674d9(0x45c)]['set'](_0x83c833['id'],_0x278d6b),this[_0x5674d9(0x43c)][_0x5674d9(0x569)](_0x83c833['id'],(this['_cellInvalidations']['get'](_0x83c833['id'])??[])[_0x5674d9(0x3c4)](_0x54f936=>_0x54f936[_0x5674d9(0x53a)]>Math[_0x5674d9(0x402)](0x0,_0x4a32a3-0x100))),_0x299e3d;}['_patchCachedProjectedRows'](_0x35ebb2,_0x374a89){const _0x16c1eb=_0x571676;let _0x546936=new Map(_0x374a89[_0x16c1eb(0x329)](_0x3bb78f=>[_0x3bb78f[_0x16c1eb(0x5c4)],_0x3bb78f])),_0x2e4252=!0x1,_0x5d429c=_0x35ebb2[_0x16c1eb(0x329)](_0x41ec2c=>{const _0x2fab5c=_0x16c1eb;let _0x1c9563=_0x546936[_0x2fab5c(0x59c)](_0x41ec2c['recordId']);return _0x1c9563?_0x1c9563===_0x41ec2c?_0x41ec2c:(_0x2e4252=!0x0,_0x1c9563):_0x41ec2c;});return _0x2e4252?_0x5d429c:_0x35ebb2;}[_0x571676(0x229)](_0x307c9d,_0x32c673,_0x235132,_0x315585){const _0x3d11af=_0x571676;return!_0x315585[_0x3d11af(0x366)]||_0x32c673===_0x235132?!0x1:_0x235132-_0x32c673>0x100||(this[_0x3d11af(0x43c)][_0x3d11af(0x59c)](_0x307c9d)??[])['some'](_0x1240ec=>_0x1240ec[_0x3d11af(0x53a)]>_0x32c673&&_0x1240ec['revision']<=_0x235132&&_0x315585['has'](_0x1240ec[_0x3d11af(0x384)]));}[_0x571676(0x367)](_0x2b5df2){const _0x552441=_0x571676;var _0x486448,_0x12cd21;let _0x270043=new Set();return _0x2b5df2==null||(_0x486448=_0x2b5df2[_0x552441(0x3c4)])==null||_0x486448['conditions'][_0x552441(0x3c9)](_0x4ae501=>_0x270043[_0x552441(0x54c)](_0x4ae501['fieldId'])),_0x2b5df2==null||(_0x12cd21=_0x2b5df2['sort'])==null||_0x12cd21['forEach'](_0x3ec7a5=>_0x270043[_0x552441(0x54c)](_0x3ec7a5['fieldId'])),_0x270043;}[_0x571676(0x5bd)](_0x2172cf){const _0x139c90=_0x571676;var _0x3e8cc2;let _0x51ecdd=this['_filterSortFieldIds'](_0x2172cf);return(_0x3e8cc2=_0x2172cf['group'])==null||_0x3e8cc2['forEach'](_0x513d9d=>_0x51ecdd[_0x139c90(0x54c)](_0x513d9d[_0x139c90(0x384)])),_0x51ecdd;}['_filterRows'](_0x3b84d8,_0x29372f,_0x4492c9){const _0x564bbe=_0x571676;let _0x598a37=_0x29372f==null?void 0x0:_0x29372f[_0x564bbe(0x3c4)];if(!(_0x598a37!=null&&_0x598a37[_0x564bbe(0x3af)]['length']))return _0x4492c9;let _0x30f21d=_0x598a37[_0x564bbe(0x3af)][_0x564bbe(0x3c4)](_0xea82ab=>!_0x164636(_0xea82ab));return _0x30f21d[_0x564bbe(0x4e9)]?_0x4492c9[_0x564bbe(0x3c4)](_0x4754f0=>{const _0x3406a0=_0x564bbe;if(_0x598a37[_0x3406a0(0x5bc)]===_0x13cf76[_0x3406a0(0x20a)]['OR']){for(let _0x30a466 of _0x30f21d){let _0x4bcf35=_0x3b84d8[_0x3406a0(0x3c2)][_0x30a466['fieldId']];if(!_0x4bcf35||this[_0x3406a0(0x26f)][_0x3406a0(0x59c)](_0x4bcf35[_0x3406a0(0x292)])[_0x3406a0(0x3c4)](_0x4754f0[_0x3406a0(0x334)][_0x4bcf35['id']],_0x30a466[_0x3406a0(0x4a2)],_0x30a466[_0x3406a0(0x417)],_0x4bcf35))return!0x0;}return!0x1;}for(let _0x9b007f of _0x30f21d){let _0x33deaa=_0x3b84d8[_0x3406a0(0x3c2)][_0x9b007f[_0x3406a0(0x384)]];if(_0x33deaa&&!this['_fieldRegistry'][_0x3406a0(0x59c)](_0x33deaa[_0x3406a0(0x292)])['filter'](_0x4754f0[_0x3406a0(0x334)][_0x33deaa['id']],_0x9b007f[_0x3406a0(0x4a2)],_0x9b007f[_0x3406a0(0x417)],_0x33deaa))return!0x1;}return!0x0;}):_0x4492c9;}[_0x571676(0x58c)](_0x445b25,_0x41dd38,_0x638a26){const _0x4779ee=_0x571676;let _0x34217f=(_0x41dd38==null?void 0x0:_0x41dd38[_0x4779ee(0x4af)])??[];if(!_0x34217f[_0x4779ee(0x4e9)])return _0x638a26;let _0x1b610e=_0x34217f['flatMap'](_0x177079=>{const _0x51d2a0=_0x4779ee;let _0x130ab5=_0x445b25['fields'][_0x177079[_0x51d2a0(0x384)]];return _0x130ab5?[{..._0x177079,'field':_0x130ab5}]:[];});return _0x1b610e[_0x4779ee(0x4e9)]?this[_0x4779ee(0x57b)](_0x1b610e)?this[_0x4779ee(0x435)](_0x1b610e,_0x638a26):[..._0x638a26]['sort']((_0x8fb8,_0x47c24d)=>{const _0x96048=_0x4779ee;for(let _0xbc0db9 of _0x1b610e){let _0x739e13=_0xbc0db9[_0x96048(0x407)],_0x4e2afc=this[_0x96048(0x26f)][_0x96048(0x59c)](_0x739e13[_0x96048(0x292)])[_0x96048(0x1e0)](_0x8fb8[_0x96048(0x334)][_0x739e13['id']],_0x47c24d['values'][_0x739e13['id']],_0x739e13);if(_0x4e2afc!==0x0)return _0xbc0db9[_0x96048(0x1c7)]===_0x13cf76[_0x96048(0x3a7)][_0x96048(0x38b)]?-_0x4e2afc:_0x4e2afc;}return 0x0;}):_0x638a26;}[_0x571676(0x57b)](_0x166c6e){const _0x2a37bb=_0x571676;return _0x166c6e[_0x2a37bb(0x5a5)](_0x552d48=>_0x39090b[_0x2a37bb(0x370)](_0x552d48[_0x2a37bb(0x407)][_0x2a37bb(0x292)]));}[_0x571676(0x435)](_0x1c10fb,_0x4a1173){const _0x1f77e3=_0x571676;return _0x4a1173[_0x1f77e3(0x329)]((_0x3f331c,_0x4dc002)=>({'row':_0x3f331c,'index':_0x4dc002,'keys':_0x1c10fb['map'](_0x1254b9=>_0x3f331c[_0x1f77e3(0x334)][_0x1254b9['fieldId']])}))[_0x1f77e3(0x4af)]((_0x3232b2,_0x554c0d)=>{const _0x504d16=_0x1f77e3;for(let _0x48b88a=0x0;_0x48b88a<_0x1c10fb['length'];_0x48b88a++){let _0x470e47=_0x58409e(_0x3232b2[_0x504d16(0x2db)][_0x48b88a],_0x554c0d['keys'][_0x48b88a]);if(_0x470e47!==0x0)return _0x1c10fb[_0x48b88a]['direction']===_0x13cf76[_0x504d16(0x3a7)][_0x504d16(0x38b)]?-_0x470e47:_0x470e47;}return _0x3232b2['index']-_0x554c0d['index'];})['map'](_0xbdab7e=>_0xbdab7e[_0x1f77e3(0x22f)]);}[_0x571676(0x4eb)](_0x26251e,_0x59cd9e,_0x2f5842){const _0x1bc253=_0x571676;var _0x5b8b37;return _0x32800a(_0x1bc253(0x3f1),()=>{const _0x355223=_0x1bc253;var _0x322efa;if(!((_0x322efa=_0x59cd9e[_0x355223(0x42c)])!=null&&_0x322efa[_0x355223(0x4e9)]))return[];let _0x1783b7=_0x59cd9e[_0x355223(0x42c)]['filter'](_0x526202=>_0x26251e[_0x355223(0x3c2)][_0x526202['fieldId']]);if(!_0x1783b7[_0x355223(0x4e9)])return[];let _0x19a542=this[_0x355223(0x201)](_0x26251e['id'],_0x59cd9e,_0x1783b7),_0x3c39f3=this[_0x355223(0x1e5)](_0x26251e['id']),_0x30ccbf=this[_0x355223(0x198)]['get'](_0x19a542);if(_0x30ccbf&&_0x30ccbf['globalRevision']===this[_0x355223(0x3f8)]&&_0x30ccbf[_0x355223(0x49d)]===this[_0x355223(0x5e5)](_0x26251e['id'])){if(_0x30ccbf[_0x355223(0x51d)]===_0x3c39f3&&_0x30ccbf[_0x355223(0x3f0)]===_0x2f5842)return _0x30ccbf['groups'];if(_0x30ccbf[_0x355223(0x51d)]!==_0x3c39f3&&!this['_cellInvalidationsTouchFields'](_0x26251e['id'],_0x30ccbf['cellRevision'],_0x3c39f3,this[_0x355223(0x5bd)](_0x59cd9e)))return this['_projectedGroupsCache'][_0x355223(0x569)](_0x19a542,{..._0x30ccbf,'rows':_0x2f5842,'cellRevision':_0x3c39f3}),_0x30ccbf['groups'];}let _0x308030=new Map();for(let _0x5137b7 of _0x2f5842){let _0x56f6e9=_0x308030,_0x128407='';for(let _0x4b1021=0x0;_0x4b1021<_0x1783b7[_0x355223(0x4e9)];_0x4b1021++){let _0x9548a8=_0x1783b7[_0x4b1021],_0x37bcf8=_0x5137b7['values'][_0x9548a8[_0x355223(0x384)]],_0x22c73a=_0x4eb0e7(_0x37bcf8),_0x4bf283=_0x9548a8['fieldId']+'\x00'+_0x22c73a,_0x14dbb3=_0x128407+'/'+_0x9548a8['fieldId']+':'+_0x22c73a,_0x4d04a1=_0x56f6e9[_0x355223(0x59c)](_0x4bf283);_0x4d04a1||(_0x4d04a1={'key':_0x22c73a,'value':_0x37bcf8,'path':_0x14dbb3,'label':_0x22c73a||_0x355223(0x5d7),'fieldId':_0x9548a8['fieldId'],'level':_0x4b1021,'recordIds':[],'children':new Map()},_0x56f6e9[_0x355223(0x569)](_0x4bf283,_0x4d04a1)),_0x4d04a1[_0x355223(0x2bc)]['push'](_0x5137b7[_0x355223(0x5c4)]),_0x56f6e9=_0x4d04a1[_0x355223(0x2e1)],_0x128407=_0x14dbb3;}}let _0x4ea31a=this[_0x355223(0x20c)](_0x1783b7,_0x308030,0x0);return this[_0x355223(0x198)]['set'](_0x19a542,{'table':_0x26251e,'rows':_0x2f5842,'groups':_0x4ea31a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x355223(0x5e5)](_0x26251e['id']),'cellRevision':_0x3c39f3}),_0x4ea31a;},{'tableId':_0x26251e['id'],'viewId':_0x59cd9e['id'],'viewType':_0x59cd9e[_0x1bc253(0x292)],'rows':_0x2f5842[_0x1bc253(0x4e9)],'groupFields':((_0x5b8b37=_0x59cd9e[_0x1bc253(0x42c)])==null?void 0x0:_0x5b8b37[_0x1bc253(0x4e9)])??0x0});}[_0x571676(0x20c)](_0x259e8d,_0x2c6b95,_0x44bf82){const _0x547290=_0x571676;var _0x3729e7;let _0x3b6c7e=Array[_0x547290(0x2ed)](_0x2c6b95[_0x547290(0x334)]()),_0x3b0a32=(_0x3729e7=_0x259e8d[_0x44bf82])==null?void 0x0:_0x3729e7[_0x547290(0x1c7)];return _0x3b0a32&&_0x3b6c7e[_0x547290(0x4af)]((_0xa194a2,_0x36d578)=>{const _0x4a03fa=_0x547290;let _0x5dafb4=_0xa194a2[_0x4a03fa(0x40c)][_0x4a03fa(0x391)](_0x36d578['key']);return _0x3b0a32===_0x13cf76['BaseSortDirection'][_0x4a03fa(0x38b)]?-_0x5dafb4:_0x5dafb4;}),_0x3b6c7e[_0x547290(0x329)](_0x558033=>({'key':_0x558033[_0x547290(0x40c)],'value':_0x558033[_0x547290(0x315)],'path':_0x558033[_0x547290(0x4cf)],'label':_0x558033['label'],'fieldId':_0x558033[_0x547290(0x384)],'level':_0x558033[_0x547290(0x2ee)],'recordIds':_0x558033['recordIds'],'children':this['_materializeGroups'](_0x259e8d,_0x558033[_0x547290(0x2e1)],_0x44bf82+0x1)}));}['_title'](_0x57d769,_0x177eee,_0x11a865){const _0x645b25=_0x571676;let _0x17eb8e=_0x11a865??_0x57d769[_0x645b25(0x422)],_0x344d3f=_0x177eee[_0x645b25(0x334)][_0x17eb8e];return _0x344d3f==null?'':String(_0x344d3f);}['_recordIds'](_0x533a2f){const _0x2034c1=_0x571676;if(Array[_0x2034c1(0x21f)](_0x533a2f))return _0x533a2f[_0x2034c1(0x329)](String);if(typeof _0x533a2f==_0x2034c1(0x2b6)&&_0x533a2f)return[_0x533a2f];}[_0x571676(0x1d7)](_0x1a8289){const _0x87e221=_0x571676;return this['_fieldRegistry']['get'](_0x1a8289['type'])[_0x87e221(0x552)](_0x1a8289);}};_0x308bae=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x1be8ce))],_0x308bae);function _0x4eb0e7(_0x512b46){return _0x512b46==null?'':String(_0x512b46);}function _0x58816a(_0x16d612){const _0x75cba3=_0x571676;return new Map(_0x16d612[_0x75cba3(0x329)]((_0x5d3285,_0x297f02)=>[_0x5d3285[_0x75cba3(0x5c4)],_0x297f02]));}function _0x37f4e9(_0x4ecaf9){const _0x13faea=_0x571676;return!!(Array[_0x13faea(0x21f)](_0x4ecaf9[_0x13faea(0x1cd)])&&_0x4ecaf9[_0x13faea(0x563)]&&_0x4ecaf9[_0x13faea(0x556)]&&_0x4ecaf9[_0x13faea(0x28e)]&&_0x4ecaf9[_0x13faea(0x351)]&&_0x4ecaf9[_0x13faea(0x38e)]);}function _0x394f5b(_0x165072){const _0x1dc567=_0x571676;let _0x1bdb56=(_0x165072==null?void 0x0:_0x165072['conditions'][_0x1dc567(0x3c4)](_0x31c20b=>!_0x164636(_0x31c20b)))??[];return!_0x165072||!_0x1bdb56['length']?null:{'conjunction':_0x165072[_0x1dc567(0x5bc)],'conditions':_0x1bdb56[_0x1dc567(0x329)](_0x33222b=>({'fieldId':_0x33222b[_0x1dc567(0x384)],'operator':_0x33222b[_0x1dc567(0x4a2)],'operand':_0x33222b[_0x1dc567(0x417)]}))};}function _0x20446f(_0x2e0743,_0x302cf1){const _0x3dd9ca=_0x571676;return _0x2e0743[_0x3dd9ca(0x38f)]===_0x302cf1['records']&&_0x2e0743['recordOrder']===_0x302cf1[_0x3dd9ca(0x1cd)]&&_0x2e0743['fields']===_0x302cf1['fields']&&_0x2e0743[_0x3dd9ca(0x582)]===_0x302cf1[_0x3dd9ca(0x582)]&&_0x2e0743[_0x3dd9ca(0x38e)]===_0x302cf1[_0x3dd9ca(0x38e)]&&_0x2e0743[_0x3dd9ca(0x563)]===_0x302cf1[_0x3dd9ca(0x563)]&&_0x2e0743[_0x3dd9ca(0x556)]===_0x302cf1['rowId']&&_0x2e0743[_0x3dd9ca(0x28e)]===_0x302cf1['colIndex']&&_0x2e0743[_0x3dd9ca(0x351)]===_0x302cf1[_0x3dd9ca(0x351)];}function _0x42c04c(_0x4cb256){const _0x380882=_0x571676;return _0x4cb256!=null&&_0x4cb256[_0x380882(0x4e9)]?_0x4cb256['map'](_0x550ccd=>({'fieldId':_0x550ccd['fieldId'],'direction':_0x550ccd[_0x380882(0x1c7)]})):null;}function _0x59f21e(_0x5da612){const _0x51800f=_0x571676;if(typeof _0x5da612!=_0x51800f(0x1a7)||!_0x5da612)return JSON['stringify'](_0x5da612)??_0x51800f(0x306);if(Array[_0x51800f(0x21f)](_0x5da612))return'['+_0x5da612['map'](_0x59f21e)['join'](',')+']';let _0x26b8d3=_0x5da612;return'{'+Object[_0x51800f(0x2db)](_0x26b8d3)[_0x51800f(0x4af)]()[_0x51800f(0x329)](_0x2b88cf=>JSON[_0x51800f(0x30d)](_0x2b88cf)+':'+_0x59f21e(_0x26b8d3[_0x2b88cf]))['join'](',')+'}';}function _0x14359c(_0x2caeac){const _0x326baa=_0x571676;let _0x4951d1=Object[_0x326baa(0x334)](_0x2caeac)['sort']((_0x3aca00,_0x1bb2bb)=>_0x3aca00[_0x326baa(0x34c)][_0x326baa(0x391)](_0x1bb2bb[_0x326baa(0x34c)])),_0x491785=[];for(let _0x25a75c of _0x4951d1)_0x491785['push'](_0x25a75c['id']);return _0x491785;}function _0x48adc8(_0xb5cc33){const _0x4b0236=_0x571676;return{'weekdays':Array[_0x4b0236(0x21f)](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x578)])&&_0xb5cc33[_0x4b0236(0x578)][_0x4b0236(0x4e9)]?[...new Set(_0xb5cc33['weekdays'][_0x4b0236(0x3c4)](_0x18e51d=>Number['isInteger'](_0x18e51d)&&_0x18e51d>=0x1&&_0x18e51d<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x324)])?_0xb5cc33['exceptions'][_0x4b0236(0x387)](_0x362578=>!_0x362578||!Number['isFinite'](_0x362578['date'])?[]:[{'id':String(_0x362578['id']||'exception-'+_0x362578['date']),'date':_0x24cf45(Number(_0x362578['date'])),'name':String(_0x362578[_0x4b0236(0x46d)]||_0x4b0236(0x290)),'type':_0x362578[_0x4b0236(0x292)]===_0x4b0236(0x231)?_0x4b0236(0x231):_0x4b0236(0x2fa)}]):[]};}function _0x40c45e(_0x5501ac,_0x4ecc13,_0x85986d,_0x1971c4){let _0x1f79bc=_0x1f01b6(_0x5501ac,_0x4ecc13),_0x43628d=_0x4f0328(_0x5501ac,_0x85986d),_0x3d5558=_0x1726df(_0x5501ac,_0x1f79bc,_0x43628d,_0x1971c4);return{'scale':_0x5501ac,'start':_0x1f79bc,'end':_0x43628d,'unitWidth':_0x48ebd2(_0x5501ac),'majorHeaders':_0x2c8675(_0x5501ac,_0x1f79bc,_0x43628d),'columns':_0x3d5558};}function _0x1726df(_0x261b0c,_0x49c4aa,_0x3e1bfa,_0x39d23c){const _0x4833b6=_0x571676;let _0x51a847=[],_0x288a30=_0x49c4aa;for(;_0x288a30<_0x3e1bfa;){let _0x2e28ec=_0x261b0c===_0x4833b6(0x35c)?_0x52be1a(_0x288a30,0x7):_0x261b0c===_0x4833b6(0x271)?_0x5b7e4c(_0x288a30,0x1):_0x52be1a(_0x288a30,0x1);_0x51a847[_0x4833b6(0x401)]({'id':_0x261b0c+'-'+_0x288a30,'label':_0x45c188(_0x261b0c,_0x288a30,_0x2e28ec),'majorLabel':_0x1eee6f(_0x261b0c,_0x288a30),'start':_0x288a30,'end':_0x2e28ec,'nonWorking':_0x5c58f7(_0x288a30,_0x2e28ec,_0x39d23c)}),_0x288a30=_0x2e28ec;}return _0x51a847;}function _0x2c8675(_0x269eb2,_0x3d3c75,_0x51ab77){const _0x503890=_0x571676;let _0x37b540=[],_0x190dbd=_0x269eb2==='year'?_0x54089f(_0x3d3c75):_0x44f328(_0x3d3c75);for(;_0x190dbd<_0x51ab77;){let _0x240cf3=_0x269eb2==='year'?_0x21c6fb(_0x190dbd,0x1):_0x5b7e4c(_0x190dbd,0x1);_0x37b540[_0x503890(0x401)]({'id':_0x503890(0x3cc)+_0x190dbd,'label':_0x269eb2===_0x503890(0x271)?String(new Date(_0x190dbd)[_0x503890(0x2eb)]()):_0x40375a(_0x190dbd),'start':_0x190dbd,'end':_0x240cf3}),_0x190dbd=_0x240cf3;}return _0x37b540;}function _0x48ebd2(_0x423fdf){const _0x287cb5=_0x571676;switch(_0x423fdf){case _0x287cb5(0x3a2):return 0xac;case _0x287cb5(0x35c):return 0xac;case _0x287cb5(0x271):return 0x88;default:return 0x56;}}function _0x1f01b6(_0x101336,_0x5550a1){const _0x2ce160=_0x571676;return _0x101336==='year'?_0x54089f(_0x5550a1):_0x101336===_0x2ce160(0x35c)?_0x174d10(_0x5550a1):_0x24cf45(_0x5550a1);}function _0x4f0328(_0x54580c,_0x5484d4){const _0x11a722=_0x571676;return _0x54580c===_0x11a722(0x271)?_0x21c6fb(_0x54089f(_0x5484d4),0x1):_0x54580c==='quarter'?_0x52be1a(_0x174d10(_0x5484d4),0x7):_0x52be1a(_0x24cf45(_0x5484d4),0x1);}function _0x45c188(_0x4630e3,_0x10aa8e,_0x459041){const _0xbb9286=_0x571676;let _0x238dc=new Date(_0x10aa8e);return _0x4630e3===_0xbb9286(0x35c)?_0x238dc[_0xbb9286(0x284)]()+'-'+new Date(_0x459041-_0xb61d09)[_0xbb9286(0x284)]():_0x4630e3==='year'?_0x238dc[_0xbb9286(0x506)]('en-US',{'month':_0xbb9286(0x378),'timeZone':'UTC'}):String(_0x238dc[_0xbb9286(0x284)]());}function _0x1eee6f(_0x553986,_0x2113c2){const _0x5dacc6=_0x571676;return _0x553986===_0x5dacc6(0x271)?String(new Date(_0x2113c2)['getUTCFullYear']()):_0x40375a(_0x2113c2);}function _0x571a96(_0xae301a,_0x3ffbb0,_0x5bea84){let _0x50874a=_0x48adc8(_0x5bea84),_0x466572=0x0;for(let _0x590e87=_0x24cf45(_0xae301a);_0x590e87<=_0x24cf45(_0x3ffbb0);_0x590e87=_0x52be1a(_0x590e87,0x1))_0x1c49a4(_0x590e87,_0x50874a)||_0x466572++;return _0x466572;}function _0x5c58f7(_0x5c7a2a,_0x222a8e,_0x5ef767){if(!_0x5ef767)return!0x1;let _0x312ad5=_0x48adc8(_0x5ef767);for(let _0xf0e13d=_0x24cf45(_0x5c7a2a);_0xf0e13d<_0x222a8e;_0xf0e13d=_0x52be1a(_0xf0e13d,0x1))if(!_0x1c49a4(_0xf0e13d,_0x312ad5))return!0x1;return!0x0;}function _0x1c49a4(_0x5c5db3,_0x4b5dc0){const _0x2f2f5e=_0x571676;let _0x17e80e=_0x24cf45(_0x5c5db3),_0x4765ad=_0x4b5dc0[_0x2f2f5e(0x324)][_0x2f2f5e(0x56a)](_0x5e2a87=>_0x24cf45(_0x5e2a87[_0x2f2f5e(0x44b)])===_0x17e80e);if(_0x4765ad)return _0x4765ad[_0x2f2f5e(0x292)]===_0x2f2f5e(0x2fa);let _0x38b6a1=new Date(_0x17e80e)[_0x2f2f5e(0x1de)](),_0x2bc579=_0x38b6a1===0x0?0x7:_0x38b6a1;return!_0x4b5dc0[_0x2f2f5e(0x578)][_0x2f2f5e(0x358)](_0x2bc579);}function _0x24cf45(_0x382a52){const _0x5c4da4=_0x571676;let _0x29f503=new Date(_0x382a52);return Date[_0x5c4da4(0x205)](_0x29f503[_0x5c4da4(0x2eb)](),_0x29f503[_0x5c4da4(0x3de)](),_0x29f503[_0x5c4da4(0x284)]());}function _0x174d10(_0x1ab03e){const _0x57ca9d=_0x571676;let _0x354848=_0x24cf45(_0x1ab03e),_0x46e5e9=new Date(_0x354848)[_0x57ca9d(0x1de)]();return _0x52be1a(_0x354848,-(_0x46e5e9===0x0?0x6:_0x46e5e9-0x1));}function _0x44f328(_0x59b0a5){const _0xd278ac=_0x571676;let _0x4748f0=new Date(_0x59b0a5);return Date[_0xd278ac(0x205)](_0x4748f0['getUTCFullYear'](),_0x4748f0[_0xd278ac(0x3de)](),0x1);}function _0x54089f(_0x5cea23){const _0x1bd7c8=_0x571676;let _0x43dbdb=new Date(_0x5cea23);return Date[_0x1bd7c8(0x205)](_0x43dbdb[_0x1bd7c8(0x2eb)](),0x0,0x1);}function _0x52be1a(_0x16a6eb,_0x4630f4){return _0x16a6eb+_0x4630f4*_0xb61d09;}function _0x5b7e4c(_0x5c5674,_0x5f2d77){const _0x3b318c=_0x571676;let _0x34f758=new Date(_0x5c5674);return Date['UTC'](_0x34f758['getUTCFullYear'](),_0x34f758[_0x3b318c(0x3de)]()+_0x5f2d77,0x1);}function _0x21c6fb(_0x5f221a,_0x225410){const _0x3cc93d=_0x571676;let _0x1d1ff2=new Date(_0x5f221a);return Date['UTC'](_0x1d1ff2[_0x3cc93d(0x2eb)]()+_0x225410,0x0,0x1);}function _0x40375a(_0x153b00){const _0x6005bc=_0x571676;let _0x2b95ca=new Date(_0x153b00);return _0x2b95ca['toLocaleString'](_0x6005bc(0x1b9),{'month':_0x6005bc(0x378),'timeZone':'UTC'})+'\x20'+_0x2b95ca[_0x6005bc(0x2eb)]();}function _0x58409e(_0x637d43,_0x1c2f7c){const _0x5b1d=_0x571676;if(_0x637d43==null&&_0x1c2f7c==null)return 0x0;if(_0x637d43==null)return-0x1;if(_0x1c2f7c==null)return 0x1;if(typeof _0x637d43=='boolean'||typeof _0x1c2f7c==_0x5b1d(0x42a))return Number(_0x637d43===!0x0)-Number(_0x1c2f7c===!0x0);let _0x37ecba=Number(_0x637d43),_0x52bcf1=Number(_0x1c2f7c),_0x3873c9=Number[_0x5b1d(0x195)](_0x37ecba),_0x1b4d30=Number[_0x5b1d(0x195)](_0x52bcf1);return _0x3873c9&&_0x1b4d30?_0x37ecba-_0x52bcf1:_0x3873c9?0x1:_0x1b4d30?-0x1:String(_0x637d43)['localeCompare'](String(_0x1c2f7c));}function _0x164636(_0x17db4e){const _0xcb14e6=_0x571676;if(_0x17db4e['operator']!=='is'&&_0x17db4e[_0xcb14e6(0x4a2)]!==_0xcb14e6(0x3f5))return!0x1;let _0x68ff84=_0x17db4e[_0xcb14e6(0x417)];return _0x68ff84==null?!0x0:typeof _0x68ff84==_0xcb14e6(0x2b6)?_0x68ff84[_0xcb14e6(0x2cd)]()==='':Array[_0xcb14e6(0x21f)](_0x68ff84)?_0x68ff84[_0xcb14e6(0x4e9)]===0x0:!0x1;}function _0x40d76c(_0x57d124,_0x1d2f84){const _0x14c763=_0x571676;var _0x18ee7a;let _0x3d1135=Array['isArray']((_0x18ee7a=_0x57d124['config'])==null?void 0x0:_0x18ee7a[_0x14c763(0x386)])?_0x57d124[_0x14c763(0x5b9)][_0x14c763(0x386)]:[];for(let _0x1eb3e0 of _0x3d1135){if(_0x1eb3e0==null)continue;if(typeof _0x1eb3e0==_0x14c763(0x2b6)){if(_0x1eb3e0===_0x1d2f84)return{'id':_0x1eb3e0,'name':_0x1eb3e0};continue;}let _0x482fb6=_0x1eb3e0,_0x6e087c=String(_0x482fb6['id']??_0x482fb6['name']??''),_0x39909a=String(_0x482fb6['name']??_0x482fb6['id']??_0x6e087c);if(_0x6e087c===_0x1d2f84||_0x39909a===_0x1d2f84)return{'id':_0x6e087c,'name':_0x39909a,'color':_0x482fb6[_0x14c763(0x393)]==null?void 0x0:String(_0x482fb6[_0x14c763(0x393)])};}return null;}let _0x3996a0=function(_0x43a007){const _0x157582=_0x571676;return _0x43a007['CreateView']='create-view',_0x43a007[_0x157582(0x436)]=_0x157582(0x3c3),_0x43a007;}({}),_0x4d02c8={'id':_0x571676(0x441),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler'(_0x5dd486,_0x511eb5){const _0x13338b=_0x571676;let {unitId:_0x6c3c5,op:_0x33026b}=_0x511eb5,_0x42e5c8=_0x5dd486['get'](_0x13cf76['IUniverInstanceService'])['getUnit'](_0x6c3c5,_0x13cf76['UniverInstanceType'][_0x13338b(0x321)]);if(!_0x42e5c8)return!0x1;let _0x1b7191=_0x42e5c8[_0x13338b(0x463)](),_0x471cd3=new _0x1aaf1b(),_0x2ff03c=_0x471cd3[_0x13338b(0x491)](_0x33026b),_0x4f940a=_0x471cd3[_0x13338b(0x4d8)](_0x1b7191,_0x33026b);return _0x42e5c8['setSnapshot'](_0x4f940a),_0x2b3ca7(_0x4f940a,_0x2ff03c,_0x5dd486['get'](_0x5c11cd)),!0x0;}};function _0x2b3ca7(_0x57d65b,_0x455166,_0x4b7483){const _0x42949d=_0x571676;let _0x241782=new Set(),_0x31e5ed=new Set(),_0x31a52a=new Set();for(let _0x1cbd81 of _0x455166){if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x197)&&_0x1cbd81['tableId']&&_0x1cbd81[_0x42949d(0x1ca)]){let _0x474e56=_0x1cbd81[_0x42949d(0x33f)]+'\x00'+_0x1cbd81['viewId'];_0x31a52a[_0x42949d(0x370)](_0x474e56)||(_0x31a52a[_0x42949d(0x54c)](_0x474e56),_0x4b7483['invalidateByView'](_0x1cbd81[_0x42949d(0x33f)],_0x1cbd81[_0x42949d(0x1ca)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x407)&&_0x1cbd81[_0x42949d(0x33f)]&&_0x1cbd81[_0x42949d(0x384)]){let _0x47d7f6=_0x1cbd81['tableId']+'\x00'+_0x1cbd81['fieldId'];_0x31e5ed['has'](_0x47d7f6)||(_0x31e5ed['add'](_0x47d7f6),_0x4b7483[_0x42949d(0x404)](_0x1cbd81['tableId'],_0x1cbd81[_0x42949d(0x384)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]!=='cell'){_0x4b7483['invalidateByOp']();return;}let _0x2a77d3=_0x24abd7(_0x57d65b,_0x1cbd81);if(!_0x2a77d3){_0x4b7483['invalidateByOp']();return;}let _0x33b01e=_0x2a77d3[_0x42949d(0x33f)]+'\x00'+_0x2a77d3[_0x42949d(0x5c4)]+'\x00'+_0x2a77d3[_0x42949d(0x384)];_0x241782[_0x42949d(0x370)](_0x33b01e)||(_0x241782[_0x42949d(0x54c)](_0x33b01e),_0x4b7483[_0x42949d(0x4bb)](_0x2a77d3[_0x42949d(0x33f)],_0x2a77d3[_0x42949d(0x5c4)],_0x2a77d3[_0x42949d(0x384)]));}}function _0x24abd7(_0x59a496,_0x315318){const _0x2aba3d=_0x571676;var _0x3f1bb7,_0x363a8b;if(!_0x315318[_0x2aba3d(0x33f)])return null;if(_0x315318[_0x2aba3d(0x5c4)]&&_0x315318[_0x2aba3d(0x384)])return{'tableId':_0x315318['tableId'],'recordId':_0x315318[_0x2aba3d(0x5c4)],'fieldId':_0x315318[_0x2aba3d(0x384)]};if(_0x315318[_0x2aba3d(0x22f)]==null||_0x315318['column']==null)return null;let _0x13e49a=_0x59a496['tables'][_0x315318['tableId']],_0x483480=_0x13e49a==null||(_0x3f1bb7=_0x13e49a[_0x2aba3d(0x556)])==null?void 0x0:_0x3f1bb7[_0x315318[_0x2aba3d(0x22f)]],_0x667fd0=_0x13e49a==null||(_0x363a8b=_0x13e49a[_0x2aba3d(0x351)])==null?void 0x0:_0x363a8b[_0x315318['column']];return!_0x483480||!_0x667fd0?null:{'tableId':_0x315318[_0x2aba3d(0x33f)],'recordId':_0x483480,'fieldId':_0x667fd0};}let _0x45b75c=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2b4618=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x3ceab1=/\{([^}]+)\}/g,_0x29e3da=_0x13cf76['regexp'][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x2aff18=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1b821a=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0xb32c83=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x5dabb9=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x48d5ed=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x3bb03f=class{[_0x571676(0x374)](_0x5350ca,_0x464f5c=_0x5350ca['id']){const _0x2b1056=_0x571676;var _0x1db0c7;let _0x3942f2=((_0x1db0c7=_0x5350ca[_0x2b1056(0x1cd)])==null?void 0x0:_0x1db0c7[_0x2b1056(0x4e9)])??Object[_0x2b1056(0x334)](_0x5350ca[_0x2b1056(0x38f)])[_0x2b1056(0x4e9)];return{'sheetId':_0x464f5c,'titleMap':new Map(_0x5350ca[_0x2b1056(0x582)]['map']((_0x185296,_0x4d3f79)=>{const _0xb8ebb3=_0x2b1056;var _0x187e11;return[((_0x187e11=_0x5350ca[_0xb8ebb3(0x3c2)][_0x185296])==null?void 0x0:_0x187e11[_0xb8ebb3(0x46d)])??_0x185296,_0x4d3f79];})),'range':{'startRow':0x0,'endRow':Math[_0x2b1056(0x402)](0x0,_0x3942f2-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x5350ca[_0x2b1056(0x582)][_0x2b1056(0x4e9)]-0x1)},'showHeader':!0x1};}[_0x571676(0x48d)](_0x49614b,_0x4f65ef){const _0x3e18d5=_0x571676;let _0x15f52c=[],_0x2827b7=_0x4f65ef?new Set(_0x4f65ef):null,_0x3d9917=(0x0,_0x13cf76[_0x3e18d5(0x3a1)])(_0x49614b);return Object[_0x3e18d5(0x334)](_0x49614b[_0x3e18d5(0x291)])[_0x3e18d5(0x3c4)](_0x2a55b9=>!_0x2827b7||_0x2827b7[_0x3e18d5(0x370)](_0x2a55b9['id']))['forEach'](_0x167fca=>{const _0x294365=_0x3e18d5;let _0x2c7e33=this[_0x294365(0x374)](_0x167fca,_0x167fca['id']);_0x15f52c['push']({'tableId':_0x167fca['id'],'tableName':_0x3d9917[_0x294365(0x59c)](_0x167fca['id']),'reference':_0x2c7e33});}),_0x15f52c;}['validateFormula'](_0x46cee5,_0x503c9d,_0x499d5f={}){const _0x18aae4=_0x571676;let _0x1ab279=_0x46cee5[_0x18aae4(0x2cd)]();if(!_0x1ab279)return{'valid':!0x0};if(_0x423701(_0x1ab279))return{'valid':!0x1,'reason':_0x18aae4(0x454)};let _0x4370e5=_0x499d5f[_0x18aae4(0x4cb)]?(0x0,_0x13cf76[_0x18aae4(0x3a1)])(_0x499d5f[_0x18aae4(0x4cb)]):void 0x0;for(let _0x389e4d of _0x1c6846(_0x1ab279)){let _0x39114a=_0x459058(_0x389e4d,_0x503c9d,_0x499d5f[_0x18aae4(0x4cb)],_0x4370e5);if(!_0x39114a[_0x18aae4(0x4b7)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x389e4d[_0x18aae4(0x51f)]+_0x18aae4(0x20e)};if(!_0x39114a['field'])return{'valid':!0x1,'reason':_0x18aae4(0x4e3)+_0x389e4d[_0x18aae4(0x524)]+_0x18aae4(0x2ec)};}return{'valid':!0x0};}[_0x571676(0x57d)](_0x4b015e,_0x47b03f,_0x21bd96={}){const _0x1d829e=_0x571676;let _0x44501a=new Set();for(let _0x93ff76 of this[_0x1d829e(0x3eb)](_0x4b015e,_0x47b03f,_0x21bd96))_0x93ff76[_0x1d829e(0x33f)]===_0x47b03f['id']&&_0x44501a['add'](_0x93ff76[_0x1d829e(0x384)]);return Array[_0x1d829e(0x2ed)](_0x44501a);}[_0x571676(0x3eb)](_0x2f87dc,_0x554438,_0x1861ad={}){const _0x3ff824=_0x571676;let _0x409cc7=new Map(),_0x3d804c=_0x1861ad[_0x3ff824(0x4cb)]?(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x1861ad[_0x3ff824(0x4cb)]):void 0x0;for(let _0x58efa8 of _0x1c6846(_0x2f87dc)){let _0x39dcd8=_0x459058(_0x58efa8,_0x554438,_0x1861ad[_0x3ff824(0x4cb)],_0x3d804c);if(!_0x39dcd8[_0x3ff824(0x4b7)]||!_0x39dcd8['field'])continue;let _0x2c4bcc=_0x39dcd8['table']['id']+'\x1f'+_0x39dcd8[_0x3ff824(0x407)]['id'];_0x409cc7[_0x3ff824(0x569)](_0x2c4bcc,{'tableId':_0x39dcd8['table']['id'],'fieldId':_0x39dcd8[_0x3ff824(0x407)]['id']});}return Array[_0x3ff824(0x2ed)](_0x409cc7[_0x3ff824(0x334)]());}};function _0x182f9d(_0x34115e,_0x5e6a99){const _0x452f41=_0x571676;var _0x216a6b;let _0x26059f=[],_0x2da268=(_0x216a6b=_0x5e6a99[_0x452f41(0x225)])==null?void 0x0:_0x216a6b[_0x34115e['id']];return _0x2da268&&Object[_0x452f41(0x460)](_0x2da268)['forEach'](([_0x3c8c32,_0x314cde])=>{const _0xc21ae2=_0x452f41;let _0x50c025=_0x34115e[_0xc21ae2(0x291)][_0x3c8c32];if(!_0x50c025||!_0x314cde)return;let _0x55961c=_0x48b6e1(_0x50c025),_0x25f5be=[];new _0x13cf76[(_0xc21ae2(0x53f))](_0x314cde)['forValue']((_0x1924a6,_0x104cd5,_0x49436f)=>{const _0x1beef4=_0xc21ae2;let _0x207415=_0xd9f9c9(_0x55961c,_0x1924a6,_0x104cd5,_0x49436f);_0x207415&&_0x25f5be[_0x1beef4(0x401)](_0x207415);}),_0x25f5be[_0xc21ae2(0x4e9)]&&_0x26059f[_0xc21ae2(0x401)]({'unitId':_0x34115e['id'],'tableId':_0x3c8c32,'patches':_0x25f5be});}),_0x26059f;}function _0xd9f9c9(_0x5a8ceb,_0x1b3dd2,_0x3417bb,_0x31b286){const _0x20fdec=_0x571676;var _0x397e28,_0x2d0149,_0x390a44;let _0x2e691d=(_0x397e28=_0x5a8ceb['rowId'])==null?void 0x0:_0x397e28[_0x1b3dd2],_0x1bd4d1=(_0x2d0149=_0x5a8ceb['colId'])==null?void 0x0:_0x2d0149[_0x3417bb];if(!_0x2e691d||!_0x5a8ceb[_0x20fdec(0x38f)][_0x2e691d]||!_0x1bd4d1)return null;let _0x40d189=_0x5a8ceb[_0x20fdec(0x3c2)][_0x1bd4d1];if(!_0x40d189||_0x40d189[_0x20fdec(0x292)]!==_0x20fdec(0x2b7))return null;let _0x32c0d5=String(((_0x390a44=_0x40d189[_0x20fdec(0x5b9)])==null?void 0x0:_0x390a44[_0x20fdec(0x2b7)])??'')['trim'](),_0x59742b=(_0x31b286==null?void 0x0:_0x31b286['v'])??null,_0xb607ad={'v':_0x59742b,'t':_0x184c18(_0x59742b),..._0x1b3dd2===0x0&&_0x32c0d5?{'f':_0x32c0d5}:{},'si':_0x40d189['id']};return _0xdaba56(_0x5acb7f(_0x5a8ceb,_0x2e691d,_0x1bd4d1),_0xb607ad)?null:{'row':_0x1b3dd2,'col':_0x3417bb,'value':_0xb607ad};}function _0xdaba56(_0x505e86,_0x3ebc2f){return _0x505e86!=null&&Object['is'](_0x505e86['v']??null,_0x3ebc2f['v']??null)&&_0x505e86['t']===_0x3ebc2f['t']&&_0x505e86['f']===_0x3ebc2f['f']&&_0x505e86['si']===_0x3ebc2f['si'];}function _0x184c18(_0x15ba0d){const _0x41bbdc=_0x571676;return typeof _0x15ba0d==_0x41bbdc(0x3dc)?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x1f1)]:typeof _0x15ba0d==_0x41bbdc(0x42a)?_0x13cf76['CellValueType'][_0x41bbdc(0x228)]:typeof _0x15ba0d=='string'?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x562)]:null;}function _0x1c6846(_0x15c1e1){const _0x220d08=_0x571676;let _0x2de31a=_0x29b9b8(_0x15c1e1,()=>''),_0x1bddf8=new Map(),_0x4e29b1=_0x26db4b=>{const _0x28067e=_0x4fc5;_0x1bddf8[_0x28067e(0x569)]((_0x26db4b[_0x28067e(0x51f)]??'')+'\x1f'+_0x26db4b['fieldName'],_0x26db4b);};for(let _0x3c909b of _0x2de31a[_0x220d08(0x44e)](_0x3ceab1))_0x4e29b1({'fieldName':_0x3c909b[0x1],'scope':_0x220d08(0x49a)});_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x29e3da,(_0x317df0,_0x4274af,_0x2f7750,_0x49168e)=>(_0x4e29b1({'tableName':_0x4274af,'fieldName':_0x49168e,'scope':_0x2f7750[_0x220d08(0x2b0)]()==='data'?_0x220d08(0x54f):_0x220d08(0x49a)}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x2aff18,(_0xecb889,_0x456a29,_0x1cb347)=>(_0x4e29b1({'tableName':_0x456a29,'fieldName':_0x1cb347,'scope':'this-row'}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0xb32c83,(_0x23c06b,_0x3ca620,_0xcd2404,_0x49516d)=>(_0x4e29b1({'fieldName':_0x49516d,'scope':_0xcd2404['toLowerCase']()===_0x220d08(0x54f)?_0x220d08(0x54f):_0x220d08(0x49a)}),_0x3ca620+'\x20')),_0x2de31a=_0x2de31a['replace'](_0x5dabb9,(_0x393ef5,_0x3663ca,_0x35cdd2)=>(_0x4e29b1({'fieldName':_0x35cdd2,'scope':_0x220d08(0x49a)}),_0x3663ca+'\x20'));for(let _0x49ba71 of _0x2de31a['matchAll'](_0x1b821a))_0x4e29b1({'tableName':_0x49ba71[0x1],'fieldName':_0x49ba71[0x2]});for(let _0xdca5b3 of _0x2de31a['matchAll'](_0x48d5ed))_0x4e29b1({'fieldName':_0xdca5b3[0x2],'scope':_0x220d08(0x49a)});return Array[_0x220d08(0x2ed)](_0x1bddf8[_0x220d08(0x334)]());}function _0x423701(_0x4347f8){const _0x395ec6=_0x571676;let _0x39c6f4=_0x29b9b8(_0x4347f8,()=>'\x20')[_0x395ec6(0x5ae)](_0x3ceab1,'\x20')[_0x395ec6(0x5ae)](_0x29e3da,'\x20')[_0x395ec6(0x5ae)](_0x2aff18,'\x20')['replace'](_0xb32c83,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x5dabb9,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x1b821a,'\x20')[_0x395ec6(0x5ae)](_0x48d5ed,'$1\x20');return _0x45b75c[_0x395ec6(0x50e)](_0x39c6f4);}function _0x37fbd1(_0x41fb28,_0x1bfd9b){return _0x59a6fd(_0x4c53c2(_0x41fb28,_0x1bfd9b),_0x1bfd9b);}function _0x29b9b8(_0xf7385c,_0x3a4f7e){return _0x4264bb(_0x37fbd1(_0xf7385c,_0x3a4f7e),_0x3a4f7e);}function _0x4264bb(_0x3ab6fe,_0x381c36){const _0x37f39d=_0x571676;return _0x3ab6fe[_0x37f39d(0x5ae)](/"(?:""|[^"])*"/g,_0x381c36);}function _0x4c53c2(_0x3df433,_0x5459ef){const _0x37f221=_0x571676;return _0x2b4618[_0x37f221(0x3d6)]=0x0,_0x3df433['replace'](_0x2b4618,(_0x457835,_0x22ae87)=>_0x74a76e(_0x3df433,_0x22ae87)?_0x457835:_0x5459ef(_0x457835));}let _0x134368=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x59a6fd(_0x4e05cd,_0x41e217){const _0x1ac06b=_0x571676;let _0x29d593=[];for(_0x134368['lastIndex']=0x0;;){let _0x4d5b4a=_0x134368[_0x1ac06b(0x266)](_0x4e05cd);if(_0x4d5b4a==null)break;if(_0x74a76e(_0x4e05cd,_0x4d5b4a[_0x1ac06b(0x36f)]))continue;let _0x596674=_0x134368[_0x1ac06b(0x3d6)]-0x1,_0x2a121a=0x0;for(let _0x26d9b7=_0x596674;_0x26d9b7<_0x4e05cd[_0x1ac06b(0x4e9)];_0x26d9b7++)if(_0x4e05cd[_0x26d9b7]==='['&&_0x2a121a++,_0x4e05cd[_0x26d9b7]===']'&&(_0x2a121a--,_0x2a121a===0x0)){_0x29d593[_0x1ac06b(0x401)]({'start':_0x4d5b4a[_0x1ac06b(0x36f)],'end':_0x26d9b7+0x1}),_0x134368[_0x1ac06b(0x3d6)]=_0x26d9b7+0x1;break;}}if(_0x29d593['length']===0x0)return _0x4e05cd;let _0x35486f='',_0x1228fa=0x0;for(let _0x4b9622 of _0x29d593)_0x35486f+=_0x4e05cd[_0x1ac06b(0x377)](_0x1228fa,_0x4b9622[_0x1ac06b(0x3aa)]),_0x35486f+=_0x41e217(_0x4e05cd[_0x1ac06b(0x377)](_0x4b9622[_0x1ac06b(0x3aa)],_0x4b9622[_0x1ac06b(0x5a8)])),_0x1228fa=_0x4b9622[_0x1ac06b(0x5a8)];return _0x35486f+_0x4e05cd['slice'](_0x1228fa);}function _0x74a76e(_0x435bee,_0x11355c){let _0x4ae9a2=!0x1;for(let _0x29f366=0x0;_0x29f366<_0x11355c;_0x29f366++)_0x435bee[_0x29f366]==='\x22'&&(_0x4ae9a2&&_0x435bee[_0x29f366+0x1]==='\x22'?_0x29f366++:_0x4ae9a2=!_0x4ae9a2);return _0x4ae9a2;}function _0x459058(_0x2126e3,_0x1cd5fb,_0x1ca504,_0x33671c){const _0x1586af=_0x571676;let _0x504bc0=_0x2bc007(_0x2126e3[_0x1586af(0x51f)],_0x1cd5fb,_0x1ca504,_0x33671c);return{'table':_0x504bc0,'field':_0x504bc0?Object[_0x1586af(0x334)](_0x504bc0[_0x1586af(0x3c2)])[_0x1586af(0x56a)](_0x2402bc=>_0x2402bc['name']===_0x2126e3[_0x1586af(0x524)]):void 0x0};}function _0x2bc007(_0x5cc497,_0x5d76f8,_0x58904d,_0x1475fc){const _0x55beed=_0x571676;if(!_0x5cc497)return _0x5d76f8;if(!_0x58904d){var _0x2822f4;let _0x10f7e4=_0x5cc497[_0x55beed(0x2b0)]();return _0x10f7e4===_0x5d76f8['id']['toLowerCase']()||_0x10f7e4===_0x5d76f8[_0x55beed(0x46d)]['toLowerCase']()||_0x10f7e4===((_0x2822f4=_0x5d76f8[_0x55beed(0x4b8)])==null?void 0x0:_0x2822f4[_0x55beed(0x2b0)]())?_0x5d76f8:void 0x0;}let _0x32131b=_0x5cc497[_0x55beed(0x2b0)](),_0x28fd38=_0x1475fc??(0x0,_0x13cf76[_0x55beed(0x3a1)])(_0x58904d),_0xd900c4=Object[_0x55beed(0x334)](_0x58904d[_0x55beed(0x291)])[_0x55beed(0x3c4)](_0x1e5380=>{const _0x4585c2=_0x55beed;var _0x292276;return _0x1e5380['id'][_0x4585c2(0x2b0)]()===_0x32131b||_0x1e5380['name'][_0x4585c2(0x2b0)]()===_0x32131b||((_0x292276=_0x28fd38[_0x4585c2(0x59c)](_0x1e5380['id']))==null?void 0x0:_0x292276['toLowerCase']())===_0x32131b||_0x1bf44e(_0x1e5380['id'])[_0x4585c2(0x2b0)]()===_0x32131b;});return _0xd900c4[_0x55beed(0x4e9)]===0x1?_0xd900c4[0x0]:void 0x0;}function _0x1bf44e(_0x596f41){const _0x319bab=_0x571676;return _0x319bab(0x32c)+Array[_0x319bab(0x2ed)](_0x596f41,_0x590559=>{const _0x1bbb59=_0x319bab;var _0x44536e;return/[A-Za-z0-9]/[_0x1bbb59(0x50e)](_0x590559)?_0x590559:'_x'+(((_0x44536e=_0x590559[_0x1bbb59(0x253)](0x0))==null?void 0x0:_0x44536e[_0x1bbb59(0x3ca)](0x10))??'0')+'_';})[_0x319bab(0x4b9)]('');}let _0x5882e8=new _0x3bb03f();function _0x5c5b63(_0x2f36f0,_0x17f537,_0x1f3155){const _0x29e05d=_0x571676;var _0x5f2f5f;if(_0x1f3155[_0x29e05d(0x292)]!==_0x13cf76[_0x29e05d(0x517)][_0x29e05d(0x26c)])return!0x0;let _0x5a4b7d=String(((_0x5f2f5f=_0x1f3155['config'])==null?void 0x0:_0x5f2f5f['formula'])??''),_0x3312d0=_0x2f36f0[_0x29e05d(0x463)]();return _0x5882e8[_0x29e05d(0x2e2)](_0x5a4b7d,_0x3312d0[_0x29e05d(0x291)][_0x17f537],{'snapshot':_0x3312d0})[_0x29e05d(0x49e)];}function _0x2062fb(_0x2ba6e8,_0x549d3e,_0xd3700a){const _0x356856=_0x571676;let _0x4383ee=_0x2ba6e8[_0x356856(0x463)]()[_0x356856(0x291)][_0x549d3e];if(!_0x4383ee)return!0x1;let {viewIds:_0x4f8376,fieldIds:_0x4b55cf,recordIds:_0x1c1afb}=_0xd3700a||{};if(_0x4f8376){for(let _0x41635e of _0x4f8376)if(!_0x4383ee['views'][_0x41635e])return!0x1;}if(_0x4b55cf){for(let _0x2601ef of _0x4b55cf)if(!_0x4383ee['fields'][_0x2601ef])return!0x1;}if(_0x1c1afb){for(let _0x2b2afd of _0x1c1afb)if(!_0x4383ee['records'][_0x2b2afd])return!0x1;}return!0x0;}function _0x4e03f1(_0x128f1b,_0x24f5aa,_0x4947ad){const _0x1a129b=_0x571676;if(_0x4947ad['id']===_0x13cf76[_0x1a129b(0x544)]||_0x4947ad[_0x1a129b(0x292)]===_0x13cf76[_0x1a129b(0x517)][_0x1a129b(0x2ea)]||(0x0,_0x13cf76[_0x1a129b(0x4ec)])(_0x4947ad[_0x1a129b(0x46d)])||!_0x5c5b63(_0x128f1b,_0x24f5aa,_0x4947ad))return!0x1;let _0x282a9f=_0x128f1b[_0x1a129b(0x463)]();if(!_0x5a4a77(_0x282a9f,_0x4947ad)[_0x1a129b(0x49e)])return!0x1;if(_0x4947ad[_0x1a129b(0x292)]!==_0x13cf76['BaseFieldType'][_0x1a129b(0x5b0)])return!0x0;let _0xd5061a=_0x51db2d(_0x4947ad);if(!_0xd5061a)return!0x1;if(_0xd5061a[_0x1a129b(0x2fe)]===void 0x0)return!0x0;if(_0xd5061a[_0x1a129b(0x2fe)]!==_0x13cf76[_0x1a129b(0x521)][_0x1a129b(0x4ce)]||_0xd5061a['targetTableId']!==_0x24f5aa||_0xd5061a['multiple']!==!0x1)return!0x1;let _0x25d6cb=_0x282a9f['tables'][_0x24f5aa];return!Object['values'](_0x25d6cb[_0x1a129b(0x3c2)])[_0x1a129b(0x1ab)](_0x5578ec=>{const _0x5636ef=_0x1a129b;var _0x1f459e;return _0x5578ec['id']!==_0x4947ad['id']&&_0x5578ec[_0x5636ef(0x292)]===_0x13cf76[_0x5636ef(0x517)][_0x5636ef(0x5b0)]&&((_0x1f459e=_0x51db2d(_0x5578ec))==null?void 0x0:_0x1f459e[_0x5636ef(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent'];});}function _0x2432ed(_0x1c393a,_0x9e6713,_0x455810,_0x49adac){const _0x328f0c=_0x571676;var _0x20e71a;let _0x1b5bd6=_0x1c393a[_0x328f0c(0x463)](),_0x37f6c7=(_0x20e71a=_0x1b5bd6[_0x328f0c(0x291)][_0x9e6713])==null?void 0x0:_0x20e71a[_0x328f0c(0x3c2)][_0x455810];return!_0x37f6c7||_0x37f6c7['id']===_0x13cf76[_0x328f0c(0x544)]||_0x37f6c7[_0x328f0c(0x292)]===_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x2ea)]?!0x1:_0x37f6c7[_0x328f0c(0x292)]!==_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x5b0)]||_0x5d7c0c(_0x1b5bd6,_0x37f6c7,_0x54f08d(_0x49adac))[_0x328f0c(0x49e)];}function _0x1439a1(_0x319a41,_0x1ebbf4,_0x3adffe){const _0x588e0c=_0x571676;let _0x1a28e9=_0x319a41[_0x588e0c(0x463)]()[_0x588e0c(0x291)][_0x1ebbf4];return!_0x1a28e9||!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x3adffe['id'])||_0x1a28e9['records'][_0x3adffe['id']]||Object[_0x588e0c(0x41e)][_0x588e0c(0x189)][_0x588e0c(0x279)](_0x3adffe[_0x588e0c(0x334)],_0x13cf76[_0x588e0c(0x544)])&&_0x3adffe[_0x588e0c(0x334)][_0x13cf76[_0x588e0c(0x544)]]!==_0x3adffe['id']?!0x1:Object[_0x588e0c(0x460)](_0x3adffe['values'])[_0x588e0c(0x5a5)](([_0x4d2063,_0x12f947])=>_0x4d2063===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x2432ed(_0x319a41,_0x1ebbf4,_0x4d2063,_0x12f947));}function _0x50277a(_0x11b591){const _0x1fe243=_0x571676;return{..._0x11b591,'values':{..._0x11b591[_0x1fe243(0x334)],[_0x13cf76[_0x1fe243(0x544)]]:_0x11b591['id']}};}function _0x54f08d(_0x36a711){const _0x4d6a9f=_0x571676;if(_0x36a711&&typeof _0x36a711==_0x4d6a9f(0x1a7)&&!Array[_0x4d6a9f(0x21f)](_0x36a711)&&'v'in _0x36a711){let _0xc1fdcd=_0x36a711['v'];return _0xc1fdcd===void 0x0?null:_0xc1fdcd;}return _0x36a711;}function _0x5a9b17(_0x4aa5c4,_0x6c0d24,_0x404e1c,_0x3e8dd0){const _0x4cb262=_0x571676;let _0x2286c1=_0x4aa5c4[_0x4cb262(0x463)]()['tables'][_0x6c0d24];if(!_0x2286c1)return null;let _0x3c7910=_0x19ec27(_0x2286c1),_0x450ef8=_0x3c7910??_0x2d5926(_0x2286c1),_0xbe4d68=_0x404e1c[_0x4cb262(0x1ab)](_0x5b3ae1=>Object['prototype'][_0x4cb262(0x189)]['call'](_0x5b3ae1[_0x4cb262(0x334)],_0x450ef8)),_0x1957b6=_0x3c7910?_0x2286c1['fields'][_0x3c7910]:_0xbe4d68?_0xb8ceba(_0x2286c1,_0x450ef8,_0x3e8dd0):null,_0x448b30=[];for(let _0x1f9eef of _0x404e1c){let _0x1537ac=_0x1f9eef[_0x4cb262(0x334)][_0x450ef8],_0x310503=_0x1957b6!==null&&Object[_0x4cb262(0x41e)][_0x4cb262(0x189)][_0x4cb262(0x279)](_0x1f9eef[_0x4cb262(0x334)],_0x450ef8),_0x23cfa2=_0x54f08d(_0x1537ac),_0x51c897=null;if(_0x310503){if(typeof _0x23cfa2!=_0x4cb262(0x2b6)||!_0x35e826(_0x23cfa2,!0x1)['valid'])return null;_0x51c897=_0x23cfa2;}let _0x2597b7={};if(Object[_0x4cb262(0x460)](_0x1f9eef[_0x4cb262(0x334)])[_0x4cb262(0x3c9)](([_0x12ac1e,_0xf28701])=>{(!_0x310503||_0x12ac1e!==_0x450ef8)&&(_0x2597b7[_0x12ac1e]=_0xf28701);}),!_0x1439a1(_0x4aa5c4,_0x6c0d24,{..._0x1f9eef,'values':_0x2597b7}))return null;let _0x2b0ef5={..._0x1f9eef['values']};_0x51c897!==null&&(_0x2b0ef5[_0x450ef8]=_0x51c897),_0x448b30[_0x4cb262(0x401)](_0x50277a({..._0x1f9eef,'values':_0x2b0ef5}));}return{'records':_0x448b30,'hierarchyFieldToMaterialize':_0x3c7910?null:_0x1957b6,'hierarchyChanges':_0x16b24a(_0x2286c1,_0x448b30)};}let _0x191150={'id':_0x571676(0x31d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler'(_0x1a5568,_0xa7e26f){const _0x2ea5ba=_0x571676;if(!_0xa7e26f)return!0x1;let _0x4a25be=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x444e36,tableId:_0x81a283,records:_0xb5d5a8}=_0xa7e26f,_0x4215db=_0x4a25be['getUnit'](_0x444e36,_0x13cf76['UniverInstanceType'][_0x2ea5ba(0x321)]),_0x44892a=_0xb5d5a8[_0x2ea5ba(0x329)](_0x43f9bf=>_0x43f9bf['id']);if(!_0x4215db||!_0x2062fb(_0x4215db,_0x81a283)||new Set(_0x44892a)[_0x2ea5ba(0x366)]!==_0x44892a[_0x2ea5ba(0x4e9)])return!0x1;let _0x593b0a=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76[_0x2ea5ba(0x1d3)]),_0x173e8f=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUndoRedoService']),_0x1e6154=_0x1a5568[_0x2ea5ba(0x59c)](_0x5cf6f3),_0x2f6e09=_0x4215db[_0x2ea5ba(0x463)](),_0x2ddc13=_0x5a9b17(_0x4215db,_0x81a283,_0xb5d5a8);if(!_0x2ddc13)return!0x1;let {records:_0x26d2ce,hierarchyChanges:_0x2cd251,hierarchyFieldToMaterialize:_0x13fa59}=_0x2ddc13,_0x19b970=_0x13fa59?_0x1e6154[_0x2ea5ba(0x586)](_0x4215db,_0x81a283,_0x13fa59,_0x2f6e09[_0x2ea5ba(0x291)][_0x81a283]['fieldOrder'][_0x2ea5ba(0x4e9)]):null,_0x470f80=_0x1e6154[_0x2ea5ba(0x3df)](_0x4215db,_0x81a283,_0x26d2ce),_0x22b4cf=_0x16f182([..._0x19b970?[_0x19b970]:[],_0x470f80]),_0x4ceb17=new _0x1aaf1b()[_0x2ea5ba(0x4b4)](_0x2f6e09,_0x22b4cf),_0x717512={'unitId':_0x444e36,'op':_0x22b4cf,'hierarchyChanges':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2cd251:void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0xa7e26f[_0x2ea5ba(0x47d)]??'ui':void 0x0},_0x5830ec={..._0x717512,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x3ee):void 0x0},_0x1e4746={'unitId':_0x444e36,'op':_0x4ceb17,'hierarchyChanges':_0x2cd251['length']?_0x2cd251[_0x2ea5ba(0x329)](_0x9a5735=>({..._0x9a5735,'oldParentRecordId':_0x9a5735[_0x2ea5ba(0x561)],'parentRecordId':null})):void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x505):void 0x0};return _0x593b0a['syncExecuteCommand'](_0x4d02c8['id'],_0x717512)?(_0x4a25be[_0x2ea5ba(0x2bd)](_0x444e36),_0x173e8f[_0x2ea5ba(0x4f2)]({'unitID':_0x444e36,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1e4746}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5830ec}]}),!0x0):!0x1;}},_0x45c212={'id':'base.command.batch-delete-base-records','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xcb77c9,_0x15fa44)=>{const _0x49d776=_0x571676;if(!_0x15fa44)return!0x1;let _0x31650b=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4202b8,tableId:_0x2d8322,recordIds:_0x436a52}=_0x15fa44,_0x1cfe1e=_0x31650b['getUnit'](_0x4202b8,_0x13cf76[_0x49d776(0x331)][_0x49d776(0x321)]);if(!_0x1cfe1e||!_0x2062fb(_0x1cfe1e,_0x2d8322,{'recordIds':_0x436a52}))return!0x1;let _0x4d6a99=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x1d3)]),_0x56cfb8=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x425)]),_0x519134=_0x1cfe1e[_0x49d776(0x463)](),_0x1a00cf=_0xaf3938(_0x519134['tables'][_0x2d8322],_0x436a52),_0x32c8b5=new _0x3db0f3(),_0x2a100a=new _0x1aaf1b(),_0x35c7b1=_0x32c8b5[_0x49d776(0x23e)](_0x519134,_0x2d8322,_0x436a52),_0xf7ef91=_0x2a100a[_0x49d776(0x4d8)](_0x519134,_0x35c7b1),_0x12ba5c=_0x32c8b5[_0x49d776(0x41b)](_0x519134,_0xf7ef91,_0x2d8322,_0x436a52),_0x56d31c={'unitId':_0x4202b8,'op':_0x35c7b1,'hierarchyChanges':_0x1a00cf,'source':_0x15fa44[_0x49d776(0x47d)]??'ui'},_0x184633={..._0x56d31c,'source':_0x49d776(0x3ee)},_0x1a0667={'unitId':_0x4202b8,'op':_0x12ba5c,'hierarchyChanges':_0x1a00cf[_0x49d776(0x329)](_0x3b1ab1=>({..._0x3b1ab1,'oldParentRecordId':_0x3b1ab1[_0x49d776(0x561)],'parentRecordId':_0x3b1ab1[_0x49d776(0x182)]})),'source':_0x49d776(0x505)};return _0x4d6a99[_0x49d776(0x56d)](_0x4d02c8['id'],_0x56d31c)?(_0x31650b[_0x49d776(0x2bd)](_0x4202b8),_0x56cfb8['pushUndoRedo']({'unitID':_0x4202b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1a0667}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x184633}]}),!0x0):!0x1;}},_0x5e6b94={'id':_0x571676(0x3fa),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0xbe6c11,_0x32af90)=>{const _0x1342d1=_0x571676;if(!_0x32af90)return!0x1;let _0x37d9c2=_0xbe6c11['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x574abe,tableId:_0xbbc54c,fieldId:_0x797347,input:_0x47bb0f}=_0x32af90,_0x3ac617=_0x37d9c2[_0x1342d1(0x363)](_0x574abe,_0x13cf76[_0x1342d1(0x331)][_0x1342d1(0x321)]);if(!_0x3ac617||_0x797347===_0x13cf76[_0x1342d1(0x544)]||!_0x2062fb(_0x3ac617,_0xbbc54c,{'fieldIds':[_0x797347]}))return!0x1;let _0x230648=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76[_0x1342d1(0x1d3)]),_0x3ad310=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76['IUndoRedoService']),_0x23974=_0x3ac617[_0x1342d1(0x463)]();if(!_0x4e03f1(_0x3ac617,_0xbbc54c,{..._0x23974[_0x1342d1(0x291)][_0xbbc54c]['fields'][_0x797347],..._0x47bb0f}))return!0x1;let _0x4eaced=new _0x3db0f3()['changeFieldType'](_0x23974,_0xbbc54c,_0x797347,_0x47bb0f),_0x4c5c79=new _0x1aaf1b()[_0x1342d1(0x4b4)](_0x23974,_0x4eaced),_0x48b749={'unitId':_0x574abe,'op':_0x4eaced},_0x3d28d3={'unitId':_0x574abe,'op':_0x4c5c79};return _0x230648[_0x1342d1(0x56d)](_0x4d02c8['id'],_0x48b749)?(_0x37d9c2[_0x1342d1(0x2bd)](_0x574abe),_0x3ad310['pushUndoRedo']({'unitID':_0x574abe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d28d3}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x48b749}]}),!0x0):!0x1;}},_0x7be1ba={'id':_0x571676(0x30a),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x22b2ae,_0x37afae){const _0x316b94=_0x571676;var _0x550001;if(!_0x37afae)return!0x1;let {unitId:_0x50311c,tableId:_0x10f173,parentRecordId:_0xa11655}=_0x37afae,_0x6ee4da=_0x22b2ae[_0x316b94(0x59c)](_0x13cf76[_0x316b94(0x59e)]),_0x3c662c=_0x6ee4da[_0x316b94(0x363)](_0x50311c,_0x13cf76[_0x316b94(0x331)]['UNIVER_BASE']);if(!_0x3c662c||!_0x2062fb(_0x3c662c,_0x10f173,{'recordIds':[_0xa11655]}))throw new _0x2dec10(_0x316b94(0x2ba));let _0x20a100=_0x3c662c['getSnapshot'](),_0x54e1cf=_0x20a100['tables'][_0x10f173],_0x4421e1=_0x19ec27(_0x54e1cf),_0x39ab00=_0x4421e1??_0x37afae[_0x316b94(0x384)]??_0x2d5926(_0x54e1cf);if(_0x4421e1&&_0x37afae[_0x316b94(0x384)]&&_0x37afae[_0x316b94(0x384)]!==_0x4421e1||_0x54e1cf['fields'][_0x39ab00]&&!_0x53a126(_0x54e1cf,_0x39ab00))throw new _0x2dec10('invalidField');if((_0x4067d3(_0x54e1cf,_0x39ab00)[_0x316b94(0x45b)][_0x316b94(0x59c)](_0xa11655)??0x0)+0x1>=0x5)throw new _0x2dec10('maxDepth');if(!_0x1439a1(_0x3c662c,_0x10f173,_0x37afae[_0x316b94(0x4a9)]))return!0x1;let _0xda97e7=_0x50277a({..._0x37afae['record'],'values':{..._0x37afae[_0x316b94(0x4a9)][_0x316b94(0x334)],[_0x39ab00]:_0xddc2f4([_0xa11655])}}),_0x21e409=_0x22b2ae['get'](_0x5cf6f3),_0x3bf84f=new _0x3db0f3(),_0xe22577=_0x54e1cf[_0x316b94(0x3c2)][_0x39ab00],_0x579a71=_0xe22577?((_0x550001=_0x51db2d(_0xe22577))==null?void 0x0:_0x550001[_0x316b94(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent']?null:_0x3bf84f[_0x316b94(0x241)](_0x20a100,_0x10f173,_0x39ab00,{'config':{..._0xe22577[_0x316b94(0x5b9)],'relationRole':_0x13cf76['BaseRecordLinkRole'][_0x316b94(0x4ce)]}}):_0x21e409[_0x316b94(0x586)](_0x3c662c,_0x10f173,_0xb8ceba(_0x54e1cf,_0x39ab00,_0x37afae[_0x316b94(0x57e)]),_0x54e1cf[_0x316b94(0x582)][_0x316b94(0x4e9)]),_0x412b89=_0x21e409[_0x316b94(0x557)](_0x3c662c,_0x10f173,_0xda97e7),_0x52d337=_0x16f182([..._0x579a71?[_0x579a71]:[],_0x412b89]),_0x3f2f42=new _0x1aaf1b()[_0x316b94(0x4b4)](_0x20a100,_0x52d337),_0x35b930={'tableId':_0x10f173,'fieldId':_0x39ab00,'recordId':_0xda97e7['id'],'oldParentRecordId':null,'parentRecordId':_0xa11655},_0x228446={'unitId':_0x50311c,'op':_0x52d337,'trigger':_0x7be1ba['id'],'hierarchyChanges':[_0x35b930],'source':_0x37afae[_0x316b94(0x47d)]??'ui'},_0x3d526a={..._0x228446,'source':_0x316b94(0x3ee)},_0x260583={'unitId':_0x50311c,'op':_0x3f2f42,'trigger':_0x7be1ba['id'],'hierarchyChanges':[{..._0x35b930,'oldParentRecordId':_0xa11655,'parentRecordId':null}],'source':_0x316b94(0x505)};return _0x22b2ae[_0x316b94(0x59c)](_0x13cf76['ICommandService'])[_0x316b94(0x56d)](_0x4d02c8['id'],_0x228446)?(_0x6ee4da[_0x316b94(0x2bd)](_0x50311c),_0x22b2ae['get'](_0x13cf76[_0x316b94(0x425)])['pushUndoRedo']({'unitID':_0x50311c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x260583}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d526a}]}),!0x0):!0x1;}},_0x3ae6cb={'id':'base.command.create-base-field','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler'(_0x5f1543,_0x4a916e){const _0x18ec03=_0x571676;if(!_0x4a916e)return!0x1;let _0x286e98=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x2a6df0,tableId:_0xc2a87a,field:_0x2953ab,index:_0x2120e6,viewIndexes:_0x1ecef5}=_0x4a916e,_0x314266=_0x286e98[_0x18ec03(0x363)](_0x2a6df0,_0x13cf76['UniverInstanceType'][_0x18ec03(0x321)]);if(!_0x314266||!_0x2062fb(_0x314266,_0xc2a87a)||_0x314266[_0x18ec03(0x463)]()[_0x18ec03(0x291)][_0xc2a87a][_0x18ec03(0x3c2)][_0x2953ab['id']]||_0x2120e6===0x0||!_0x4e03f1(_0x314266,_0xc2a87a,_0x2953ab))return!0x1;let _0x140a74=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x1d3)]),_0x47b575=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x425)]),_0x2c125e=_0x5f1543['get'](_0x5cf6f3)[_0x18ec03(0x586)](_0x314266,_0xc2a87a,_0x2953ab,_0x2120e6,_0x1ecef5),_0x14e248=new _0x1aaf1b()[_0x18ec03(0x4b4)](_0x314266[_0x18ec03(0x463)](),_0x2c125e),_0x1cd947={'unitId':_0x2a6df0,'op':_0x2c125e},_0xc31c66={'unitId':_0x2a6df0,'op':_0x14e248};return _0x140a74['syncExecuteCommand'](_0x4d02c8['id'],_0x1cd947)?(_0x286e98[_0x18ec03(0x2bd)](_0x2a6df0),_0x47b575[_0x18ec03(0x4f2)]({'unitID':_0x2a6df0,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xc31c66}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1cd947}]}),!0x0):!0x1;}},_0x1d23ba={'id':_0x571676(0x3cf),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x146c19,_0x114152){const _0x536a91=_0x571676;if(!_0x114152)return!0x1;let _0x2d3be7=_0x146c19[_0x536a91(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x5d5d10,tableId:_0x2ac5f6,record:_0x39dded}=_0x114152,_0x1667c7=_0x2d3be7[_0x536a91(0x363)](_0x5d5d10,_0x13cf76['UniverInstanceType']['UNIVER_BASE']);if(!_0x1667c7||!_0x2062fb(_0x1667c7,_0x2ac5f6))return!0x1;let _0x311669=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x1d3)]),_0xad1f42=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x425)]),_0x216d61=_0x146c19[_0x536a91(0x59c)](_0x5cf6f3),_0x36e0d8=_0x1667c7[_0x536a91(0x463)](),_0x12e286=_0x5a9b17(_0x1667c7,_0x2ac5f6,[_0x39dded]);if(!_0x12e286)return!0x1;let [_0x5f2fbf]=_0x12e286[_0x536a91(0x38f)],{hierarchyChanges:_0xc37558,hierarchyFieldToMaterialize:_0x4fb4f3}=_0x12e286,_0x4ee1c7=_0x4fb4f3?_0x216d61['createCreateFieldOp'](_0x1667c7,_0x2ac5f6,_0x4fb4f3,_0x36e0d8[_0x536a91(0x291)][_0x2ac5f6][_0x536a91(0x582)][_0x536a91(0x4e9)]):null,_0x275ba8=_0x216d61[_0x536a91(0x557)](_0x1667c7,_0x2ac5f6,_0x5f2fbf),_0x4f6a6b=_0x16f182([..._0x4ee1c7?[_0x4ee1c7]:[],_0x275ba8]),_0x42b658=new _0x1aaf1b()[_0x536a91(0x4b4)](_0x36e0d8,_0x4f6a6b),_0x12f21b={'unitId':_0x5d5d10,'op':_0x4f6a6b,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558:void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x114152[_0x536a91(0x47d)]??'ui':void 0x0},_0x87ba98={..._0x12f21b,'source':_0xc37558['length']?_0x536a91(0x3ee):void 0x0},_0x5dab9e={'unitId':_0x5d5d10,'op':_0x42b658,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558['map'](_0x274fef=>({..._0x274fef,'oldParentRecordId':_0x274fef[_0x536a91(0x561)],'parentRecordId':null})):void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x536a91(0x505):void 0x0};return _0x311669[_0x536a91(0x56d)](_0x4d02c8['id'],_0x12f21b)?(_0x2d3be7[_0x536a91(0x2bd)](_0x5d5d10),_0xad1f42[_0x536a91(0x4f2)]({'unitID':_0x5d5d10,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5dab9e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x87ba98}]}),!0x0):!0x1;}};function _0x475287(_0x4f694c,_0x45848d,_0x4e3102){const _0x45f153=_0x571676;if(!_0x45848d[_0x45f153(0x2cd)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x45f153(0x449)};if(_0x45848d['length']>0x1f)return{'valid':!0x1,'reason':_0x45f153(0x335),'error':_0x45f153(0x1ec)};if(_0x45848d[_0x45f153(0x33b)]('\x27')||_0x45848d[_0x45f153(0x398)]('\x27'))return{'valid':!0x1,'reason':_0x45f153(0x428),'error':_0x45f153(0x52b)};if(/[:\\/?*\[\]]/[_0x45f153(0x50e)](_0x45848d))return{'valid':!0x1,'reason':_0x45f153(0x187),'error':'invalid-characters'};if(!(0x0,_0x13cf76[_0x45f153(0x1ac)])(_0x45848d))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':_0x45f153(0x3a9)};let _0x1faf67=_0x45848d[_0x45f153(0x2b0)]();return Object[_0x45f153(0x334)](_0x4f694c[_0x45f153(0x291)])[_0x45f153(0x1ab)](_0x135305=>_0x135305['id']!==_0x4e3102&&_0x135305[_0x45f153(0x46d)][_0x45f153(0x2b0)]()===_0x1faf67)?{'valid':!0x1,'reason':_0x45f153(0x288),'error':_0x45f153(0x551)}:{'valid':!0x0};}function _0x14d06a(_0x42878d,_0x135ea0){const _0x1081cb=_0x571676;let _0x245033=_0x135ea0[_0x1081cb(0x5ae)](/[:\\/?*\[\]]/g,'\x20')[_0x1081cb(0x5ae)](/^'+|'+$/g,'')[_0x1081cb(0x2cd)]()||_0x1081cb(0x4cc),_0x403f84=0x1;for(;;){let _0xa3021a=_0x403f84===0x1?'':'\x20'+_0x403f84,_0x3c825b=''+_0x245033[_0x1081cb(0x377)](0x0,0x1f-_0xa3021a['length'])+_0xa3021a;if(_0x475287(_0x42878d,_0x3c825b)[_0x1081cb(0x49e)])return _0x3c825b;_0x403f84++;}}let _0x362922={'id':_0x571676(0x46f),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x580ff,_0x5220bd)=>{const _0x1ca766=_0x571676;if(!_0x5220bd)return!0x1;let _0x10e5ce=_0x580ff[_0x1ca766(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x3d13bf,table:_0x28d276,index:_0x4c945a}=_0x5220bd,_0x27d2be=_0x10e5ce['getUnit'](_0x3d13bf,_0x13cf76[_0x1ca766(0x331)][_0x1ca766(0x321)]);if(!_0x27d2be||_0x27d2be[_0x1ca766(0x463)]()[_0x1ca766(0x291)][_0x28d276['id']]||!_0x475287(_0x27d2be[_0x1ca766(0x463)](),_0x28d276[_0x1ca766(0x46d)])[_0x1ca766(0x49e)])return!0x1;try{(0x0,_0x13cf76['assertBaseTableRecordIdentity'])(_0x28d276);}catch{return!0x1;}let _0x325d73=_0x580ff['get'](_0x13cf76[_0x1ca766(0x1d3)]),_0x567162=_0x580ff['get'](_0x13cf76[_0x1ca766(0x425)]),_0x2d9e44=_0x27d2be[_0x1ca766(0x463)](),_0x12b246=new _0x3db0f3()['createTable'](_0x2d9e44,_0x28d276,_0x4c945a),_0x5b7893=new _0x1aaf1b()[_0x1ca766(0x4b4)](_0x2d9e44,_0x12b246),_0x407ddb={'unitId':_0x3d13bf,'op':_0x12b246},_0x186b41={'unitId':_0x3d13bf,'op':_0x5b7893};return _0x325d73['syncExecuteCommand'](_0x4d02c8['id'],_0x407ddb)?(_0x10e5ce[_0x1ca766(0x2bd)](_0x3d13bf),_0x567162[_0x1ca766(0x4f2)]({'unitID':_0x3d13bf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x186b41}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x407ddb}]}),!0x0):!0x1;}};function _0x1df899(_0x2cc31b,_0x2c38a6,_0x15a686=[]){const _0x331e00=_0x571676;let _0x52d8c7=new Set([...Object[_0x331e00(0x334)](_0x2cc31b[_0x331e00(0x3c2)])[_0x331e00(0x3c4)](_0xb55ec0=>_0xb55ec0)[_0x331e00(0x329)](_0x32d26e=>_0x32d26e[_0x331e00(0x46d)]),..._0x15a686[_0x331e00(0x329)](_0x2dff9f=>_0x2dff9f[_0x331e00(0x46d)])]);if(!_0x52d8c7[_0x331e00(0x370)](_0x2c38a6))return _0x2c38a6;let _0x15c59f=0x2;for(;_0x52d8c7['has'](_0x2c38a6+'\x20'+_0x15c59f);)_0x15c59f++;return _0x2c38a6+'\x20'+_0x15c59f;}function _0x4091af(_0x16f0b0,_0x49254e){if(!_0x16f0b0||!_0x49254e['length'])return;let _0x597fa0=[..._0x16f0b0];return _0x49254e['forEach'](_0x445742=>{const _0x24e08b=_0x4fc5;_0x597fa0[_0x24e08b(0x358)](_0x445742)||_0x597fa0[_0x24e08b(0x401)](_0x445742);}),_0x597fa0;}let _0x540277={'options':[{'id':'todo','name':'Todo','color':_0x571676(0x4ca)},{'id':_0x571676(0x200),'name':_0x571676(0x302),'color':_0x571676(0x28c)},{'id':_0x571676(0x4c6),'name':_0x571676(0x3ab),'color':_0x571676(0x5a4)}]},_0x289764={'locale':'en-US','pattern':_0x571676(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x571676(0x2a6)};function _0x56c161(_0x1d5d36,_0x34e0cb,_0x2ce0dd,_0x4d077c){const _0x549f89=_0x571676;var _0x5c2735;let _0x393e0c=new _0x3db0f3(),_0x15c8bc=_0x1d5d36['tables'][_0x34e0cb],_0x5c36c8=_0x15c8bc?{..._0x2ce0dd,'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],...(_0x2ce0dd['fieldOrder']??_0x15c8bc['fieldOrder'])[_0x549f89(0x3c4)](_0x3b27ab=>_0x3b27ab!==_0x13cf76['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x2ce0dd['fieldSettings'],[_0x13cf76[_0x549f89(0x544)]]:{...(_0x5c2735=_0x2ce0dd['fieldSettings'])==null?void 0x0:_0x5c2735[_0x13cf76['BASE_RECORD_ID_FIELD_ID']],'hidden':!0x0}}}:_0x2ce0dd;if(_0x15c8bc&&_0x5c36c8[_0x549f89(0x292)]==='kanban'){let _0x132007=_0x34ead4(_0x15c8bc,_0x5c36c8),_0x4f84c8=_0x132007[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x132007[_0x549f89(0x5b9)],'fieldOrder':_0x132007['fieldOrder']??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x16f182([..._0x132007[_0x549f89(0x3c2)]['map'](_0x5d6c26=>_0x393e0c['createField'](_0x1d5d36,_0x34e0cb,{'field':_0x5d6c26})),_0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x4f84c8,_0x4d077c)]);}if(!_0x15c8bc||_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x2ca)&&_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x23d))return _0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x5c36c8,_0x4d077c);let _0x2d6100=_0x2abe27(_0x15c8bc,_0x5c36c8),_0x45890f=_0x2d6100[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x2d6100['config'],'fieldOrder':_0x2d6100[_0x549f89(0x582)]??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x5c36c8['type']===_0x549f89(0x23d)&&_0x15c391(_0x5c36c8)&&(_0x45890f=_0x5a1454(_0x15c8bc,_0x45890f,_0x2d6100['fields'])),_0x16f182([..._0x2d6100[_0x549f89(0x3c2)][_0x549f89(0x329)](_0x255bce=>_0x393e0c[_0x549f89(0x444)](_0x1d5d36,_0x34e0cb,{'field':_0x255bce})),_0x393e0c['createView'](_0x1d5d36,_0x34e0cb,_0x45890f,_0x4d077c)]);}function _0x2abe27(_0x34e714,_0x1fc90f,_0x301311=!0x1){const _0x4a19f2=_0x571676;var _0x42c754,_0x2380d0;let _0x43f190=_0x34e714[_0x4a19f2(0x582)][_0x4a19f2(0x3c4)](_0x2076d1=>_0x72af33(_0x34e714,_0x2076d1)),_0x2e34e9=[],_0x3749c1={..._0x1fc90f[_0x4a19f2(0x5b9)]??{}},_0x209e9f=typeof _0x3749c1[_0x4a19f2(0x348)]==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['startDateFieldId'])?_0x3749c1[_0x4a19f2(0x348)]:_0x43f190[0x0],_0x49bb6e=typeof _0x3749c1['endDateFieldId']==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['endDateFieldId'])&&_0x3749c1['endDateFieldId']!==_0x209e9f?_0x3749c1[_0x4a19f2(0x282)]:_0x43f190['find'](_0x53825c=>_0x53825c!==_0x209e9f);if(!_0x209e9f){let _0x186c55=_0x29e925(_0x34e714,_0x2e34e9,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)?_0x4a19f2(0x469):_0x4a19f2(0x494));_0x2e34e9[_0x4a19f2(0x401)](_0x186c55),_0x209e9f=_0x186c55['id'];}if((_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)||_0x301311)&&!_0x49bb6e){let _0x483f51=_0x29e925(_0x34e714,_0x2e34e9,'End\x20date');_0x2e34e9[_0x4a19f2(0x401)](_0x483f51),_0x49bb6e=_0x483f51['id'];}_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&!_0x49bb6e&&delete _0x3749c1['endDateFieldId'],_0x3749c1[_0x4a19f2(0x348)]=_0x209e9f,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&_0x49bb6e&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e),_0x1fc90f['type']==='gantt'&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e??_0x209e9f);let _0x19a958=_0x4091af(_0x1fc90f['fieldOrder'],_0x2e34e9[_0x4a19f2(0x329)](_0x108a8d=>_0x108a8d['id']));return{'changed':_0x2e34e9[_0x4a19f2(0x4e9)]>0x0||_0x3749c1[_0x4a19f2(0x348)]!==((_0x42c754=_0x1fc90f['config'])==null?void 0x0:_0x42c754[_0x4a19f2(0x348)])||_0x3749c1['endDateFieldId']!==((_0x2380d0=_0x1fc90f[_0x4a19f2(0x5b9)])==null?void 0x0:_0x2380d0[_0x4a19f2(0x282)])||!(!_0x19a958||_0x13cf76[_0x4a19f2(0x39a)]['diffValue'](_0x19a958,_0x1fc90f[_0x4a19f2(0x582)]??[])),'fields':_0x2e34e9,'config':_0x3749c1,'fieldOrder':_0x19a958};}function _0x34ead4(_0x96f838,_0x354486){const _0x4aaaca=_0x571676;var _0x3ea425;let _0x44e6e3=[],_0x365a58={..._0x354486[_0x4aaaca(0x5b9)]??{}},_0x12fe2a=typeof _0x365a58[_0x4aaaca(0x34f)]==_0x4aaaca(0x2b6)&&_0x4ef538(_0x96f838,_0x365a58['groupFieldId'])?_0x365a58['groupFieldId']:_0x96f838[_0x4aaaca(0x582)]['find'](_0x26a191=>_0x4ef538(_0x96f838,_0x26a191));if(!_0x12fe2a){let _0xb92dff=_0x2097c5(_0x96f838,_0x44e6e3);_0x44e6e3['push'](_0xb92dff),_0x12fe2a=_0xb92dff['id'];}_0x365a58[_0x4aaaca(0x34f)]=_0x12fe2a;let _0x304f7e=_0x4091af(_0x354486['fieldOrder'],_0x44e6e3[_0x4aaaca(0x329)](_0x4a0238=>_0x4a0238['id']));return{'changed':_0x44e6e3[_0x4aaaca(0x4e9)]>0x0||_0x365a58[_0x4aaaca(0x34f)]!==((_0x3ea425=_0x354486['config'])==null?void 0x0:_0x3ea425[_0x4aaaca(0x34f)])||!(!_0x304f7e||_0x13cf76[_0x4aaaca(0x39a)]['diffValue'](_0x304f7e,_0x354486[_0x4aaaca(0x582)]??[])),'fields':_0x44e6e3,'config':_0x365a58,'fieldOrder':_0x304f7e};}function _0x4ef538(_0x326344,_0x56ecf0){const _0x38a898=_0x571676;let _0x2b16db=_0x56ecf0?_0x326344['fields'][_0x56ecf0]:null;return _0x2b16db?[_0x13cf76[_0x38a898(0x517)][_0x38a898(0x221)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x247)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x238)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x43f)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x53b)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x55f)]][_0x38a898(0x358)](_0x2b16db['type']):!0x1;}function _0x2097c5(_0x2e842d,_0x2d8818){const _0x2453b4=_0x571676;return{'id':_0x2453b4(0x344)+(0x0,_0x13cf76['generateRandomId'])(0x8),'name':_0x1df899(_0x2e842d,_0x2453b4(0x47e),_0x2d8818),'type':_0x13cf76['BaseFieldType'][_0x2453b4(0x221)],'config':_0x13cf76[_0x2453b4(0x39a)][_0x2453b4(0x495)](_0x540277)};}function _0x15c391(_0x3e9f9b){const _0x541ae9=_0x571676;return Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x5b9)]??{})[_0x541ae9(0x4e9)]===0x0&&Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x3ea)]??{})['length']===0x0;}function _0x5a1454(_0x630b90,_0x576053,_0x225531){const _0x119712=_0x571676;let _0x1b5058={..._0x576053[_0x119712(0x5b9)]??{}},_0x4b18aa=_0x225531['map'](_0x51589d=>_0x51589d['id']),_0x57fa3f=[..._0x630b90['fieldOrder'],..._0x4b18aa],_0x942ebb=typeof _0x1b5058[_0x119712(0x41d)]=='string'&&_0x15b9c6(_0x630b90,_0x225531,_0x1b5058[_0x119712(0x41d)])?_0x1b5058[_0x119712(0x41d)]:_0x630b90[_0x119712(0x422)],_0x50790f=typeof _0x1b5058[_0x119712(0x348)]==_0x119712(0x2b6)?_0x1b5058[_0x119712(0x348)]:'',_0x4c0ff2=typeof _0x1b5058['endDateFieldId']==_0x119712(0x2b6)?_0x1b5058['endDateFieldId']:_0x50790f,_0x112141=new Set([_0x942ebb,_0x50790f,_0x4c0ff2]['filter'](_0x1ad5d3=>_0x1ad5d3&&_0x15b9c6(_0x630b90,_0x225531,_0x1ad5d3))),_0x646159=Object[_0x119712(0x1fc)](_0x57fa3f[_0x119712(0x387)](_0x98db5e=>_0x112141[_0x119712(0x370)](_0x98db5e)||!_0x15b9c6(_0x630b90,_0x225531,_0x98db5e)?[]:[[_0x98db5e,{'hidden':!0x0}]]));return{..._0x576053,'config':{..._0x1b5058,'titleFieldId':_0x942ebb},'fieldSettings':_0x646159};}function _0x15b9c6(_0x539143,_0x59f9a8,_0x9a0925){const _0x320ff7=_0x571676;return!!(_0x539143[_0x320ff7(0x3c2)][_0x9a0925]??_0x59f9a8[_0x320ff7(0x56a)](_0x44e3c5=>_0x44e3c5['id']===_0x9a0925))&&!0x0;}function _0x72af33(_0x546f0a,_0x352f65){const _0x524aff=_0x571676;let _0x8aa691=_0x352f65?_0x546f0a[_0x524aff(0x3c2)][_0x352f65]:null;return!!_0x8aa691&&_0x8aa691[_0x524aff(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x8aa691[_0x524aff(0x59b)]!==!0x0&&_0x8aa691[_0x524aff(0x4f8)]!==!0x0;}function _0x29e925(_0x2c5ae8,_0x3936a4,_0x111a04){const _0x4fff88=_0x571676;let _0x12fe71=new Set([...Object[_0x4fff88(0x2db)](_0x2c5ae8[_0x4fff88(0x3c2)]),..._0x3936a4[_0x4fff88(0x329)](_0x2339ca=>_0x2339ca['id'])]),_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);for(;_0x12fe71[_0x4fff88(0x370)](_0x142fdd);)_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);return{'id':_0x142fdd,'name':_0x1df899(_0x2c5ae8,_0x111a04,_0x3936a4),'type':_0x13cf76[_0x4fff88(0x517)]['Date'],'config':{..._0x289764}};}let _0x497b38={'id':_0x571676(0x498),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x4d9a3e,_0x49400f)=>{const _0x321ff5=_0x571676;if(!_0x49400f)return!0x1;let _0x2de39b=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x59e)]),{unitId:_0x59890c,tableId:_0x464d92,view:_0x6e5112,index:_0x344d5d}=_0x49400f,_0x156d07=_0x2de39b[_0x321ff5(0x363)](_0x59890c,_0x13cf76[_0x321ff5(0x331)]['UNIVER_BASE']);if(!_0x156d07||!_0x2062fb(_0x156d07,_0x464d92)||_0x156d07[_0x321ff5(0x463)]()[_0x321ff5(0x291)][_0x464d92][_0x321ff5(0x18d)][_0x6e5112['id']])return!0x1;let _0x56e4ca=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x1d3)]),_0x41ee06=_0x4d9a3e['get'](_0x13cf76[_0x321ff5(0x425)]),_0x2b7f9b=_0x156d07[_0x321ff5(0x463)](),_0x5ce8f5=_0x56c161(_0x2b7f9b,_0x464d92,_0x6e5112,_0x344d5d),_0x5b67dc=new _0x1aaf1b()['invertOp'](_0x2b7f9b,_0x5ce8f5),_0x4de8f4={'historyAction':_0x321ff5(0x424),'unitId':_0x59890c,'op':_0x5ce8f5,'viewType':_0x6e5112[_0x321ff5(0x292)]},_0x3827db={'historyAction':_0x321ff5(0x3c3),'unitId':_0x59890c,'op':_0x5b67dc,'viewType':_0x6e5112[_0x321ff5(0x292)]};return _0x56e4ca[_0x321ff5(0x56d)](_0x4d02c8['id'],_0x4de8f4)?(_0x2de39b[_0x321ff5(0x2bd)](_0x59890c),_0x41ee06[_0x321ff5(0x4f2)]({'unitID':_0x59890c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3827db}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4de8f4}]}),!0x0):!0x1;}},_0x1637ea={'id':_0x571676(0x599),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x301f31,_0x16a949){const _0xee02ee=_0x571676;if(!_0x16a949)return!0x1;let _0x235f16=_0x301f31[_0xee02ee(0x59c)](_0x13cf76[_0xee02ee(0x59e)]),{unitId:_0x350a38,tableId:_0x5e1c39,fieldId:_0x1dba58}=_0x16a949,_0x1cf310=_0x235f16[_0xee02ee(0x363)](_0x350a38,_0x13cf76[_0xee02ee(0x331)]['UNIVER_BASE']);if(!_0x1cf310)return!0x1;let _0x1531ee=_0x1cf310[_0xee02ee(0x463)](),_0x136573=_0x1531ee[_0xee02ee(0x291)][_0x5e1c39];if(!_0x2062fb(_0x1cf310,_0x5e1c39,{'fieldIds':[_0x1dba58]})||_0x136573['primaryFieldId']===_0x1dba58||_0x1dba58===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x2dc6e3=_0x301f31[_0xee02ee(0x59c)](_0x13cf76['ICommandService']),_0x5dfb75=_0x301f31['get'](_0x13cf76['IUndoRedoService']),_0x24e2eb=new _0x3db0f3()[_0xee02ee(0x36a)](_0x1531ee,_0x5e1c39,_0x1dba58),_0x21b6e8=new _0x1aaf1b()[_0xee02ee(0x4b4)](_0x1531ee,_0x24e2eb),_0x18c0fe={'unitId':_0x350a38,'op':_0x24e2eb},_0x3e3d77={'unitId':_0x350a38,'op':_0x21b6e8};return _0x2dc6e3[_0xee02ee(0x56d)](_0x4d02c8['id'],_0x18c0fe)?(_0x235f16['focusUnit'](_0x350a38),_0x5dfb75['pushUndoRedo']({'unitID':_0x350a38,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e3d77}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c0fe}]}),!0x0):!0x1;}},_0x1c859a={'id':_0x571676(0x438),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4ef41f,_0x183a4d)=>{const _0xb1f013=_0x571676;if(!_0x183a4d)return!0x1;let _0x409128=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x59e)]),{unitId:_0x9ae2f8,tableId:_0x530f30,recordId:_0x104ab5}=_0x183a4d,_0x240edd=_0x409128[_0xb1f013(0x363)](_0x9ae2f8,_0x13cf76[_0xb1f013(0x331)][_0xb1f013(0x321)]);if(!_0x240edd||!_0x2062fb(_0x240edd,_0x530f30,{'recordIds':[_0x104ab5]}))return!0x1;let _0x5c1196=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x1d3)]),_0x330634=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x425)]),_0x324522=_0x240edd[_0xb1f013(0x463)](),_0x3bb4f5=_0xaf3938(_0x324522['tables'][_0x530f30],[_0x104ab5]),_0x2d8339=new _0x3db0f3(),_0x12d190=new _0x1aaf1b(),_0x1b1173=_0x2d8339[_0xb1f013(0x5dc)](_0x324522,_0x530f30,_0x104ab5),_0x25f37a=_0x12d190[_0xb1f013(0x4d8)](_0x324522,_0x1b1173),_0x2cb1dd=_0x2d8339[_0xb1f013(0x41b)](_0x324522,_0x25f37a,_0x530f30,[_0x104ab5]),_0x4cef5a={'unitId':_0x9ae2f8,'op':_0x1b1173,'hierarchyChanges':_0x3bb4f5,'source':_0x183a4d[_0xb1f013(0x47d)]??'ui'},_0x1501cc={..._0x4cef5a,'source':'redo'},_0x3085f9={'unitId':_0x9ae2f8,'op':_0x2cb1dd,'hierarchyChanges':_0x3bb4f5['map'](_0x224fc0=>({..._0x224fc0,'oldParentRecordId':_0x224fc0['parentRecordId'],'parentRecordId':_0x224fc0['oldParentRecordId']})),'source':_0xb1f013(0x505)};return _0x5c1196[_0xb1f013(0x56d)](_0x4d02c8['id'],_0x4cef5a)?(_0x409128['focusUnit'](_0x9ae2f8),_0x330634[_0xb1f013(0x4f2)]({'unitID':_0x9ae2f8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3085f9}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1501cc}]}),!0x0):!0x1;}},_0x1608ef={'id':'base.command.delete-base-table','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3725df,_0x31653d)=>{const _0x45a322=_0x571676;if(!_0x31653d)return!0x1;let _0x25230f=_0x3725df['get'](_0x13cf76[_0x45a322(0x59e)]),{unitId:_0x4bb610,tableId:_0x2e966d}=_0x31653d,_0x4ebf52=_0x25230f[_0x45a322(0x363)](_0x4bb610,_0x13cf76['UniverInstanceType'][_0x45a322(0x321)]);if(!_0x4ebf52||!_0x2062fb(_0x4ebf52,_0x2e966d))return!0x1;let _0x48ca02=_0x3725df[_0x45a322(0x59c)](_0x13cf76[_0x45a322(0x1d3)]),_0xac9239=_0x3725df['get'](_0x13cf76[_0x45a322(0x425)]),_0x2e16e1=_0x4ebf52[_0x45a322(0x463)](),_0x479459=_0x520eb7(_0x2e16e1,_0x2e966d);if(_0x479459[_0x45a322(0x4e9)]>0x0)return console['error']('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x2e966d+'\x22\x20is\x20referenced\x20by\x20'+_0x479459['map'](_0x45dca5=>_0x45dca5['tableId']+'.'+_0x45dca5['fieldId'])[_0x45a322(0x4b9)](',\x20')+'.'),!0x1;let _0x4bef6c=new _0x3db0f3()[_0x45a322(0x214)](_0x2e16e1,_0x2e966d),_0xcb9c8d=new _0x1aaf1b()[_0x45a322(0x4b4)](_0x2e16e1,_0x4bef6c),_0x429fff={'unitId':_0x4bb610,'op':_0x4bef6c},_0xbd5d4d={'unitId':_0x4bb610,'op':_0xcb9c8d};return _0x48ca02[_0x45a322(0x56d)](_0x4d02c8['id'],_0x429fff)?(_0x25230f[_0x45a322(0x2bd)](_0x4bb610),_0xac9239[_0x45a322(0x4f2)]({'unitID':_0x4bb610,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xbd5d4d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x429fff}]}),!0x0):!0x1;}},_0x3cccd9={'id':_0x571676(0x237),'type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x50cb0f,_0x25a7e4)=>{const _0x22e93a=_0x571676;if(!_0x25a7e4)return!0x1;let _0x48a266=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76[_0x22e93a(0x59e)]),{unitId:_0x3848c9,tableId:_0x277ea6,viewId:_0x3d3674}=_0x25a7e4,_0x77d288=_0x48a266[_0x22e93a(0x363)](_0x3848c9,_0x13cf76[_0x22e93a(0x331)][_0x22e93a(0x321)]);if(!_0x77d288||!_0x2062fb(_0x77d288,_0x277ea6,{'viewIds':[_0x3d3674]}))return!0x1;let _0x100616=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['ICommandService']),_0x2c0501=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['IUndoRedoService']),_0xc75cc3=_0x77d288['getSnapshot'](),_0x5c9028=_0xc75cc3[_0x22e93a(0x291)][_0x277ea6][_0x22e93a(0x18d)][_0x3d3674][_0x22e93a(0x292)],_0x10fca6=new _0x3db0f3()[_0x22e93a(0x458)](_0xc75cc3,_0x277ea6,_0x3d3674),_0x503f3d=new _0x1aaf1b()[_0x22e93a(0x4b4)](_0xc75cc3,_0x10fca6),_0x5aef7a={'historyAction':_0x22e93a(0x3c3),'unitId':_0x3848c9,'op':_0x10fca6,'viewType':_0x5c9028},_0x47e682={'historyAction':_0x22e93a(0x424),'unitId':_0x3848c9,'op':_0x503f3d,'viewType':_0x5c9028};return _0x100616['syncExecuteCommand'](_0x4d02c8['id'],_0x5aef7a)?(_0x48a266[_0x22e93a(0x2bd)](_0x3848c9),_0x2c0501['pushUndoRedo']({'unitID':_0x3848c9,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x47e682}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5aef7a}]}),!0x0):!0x1;}},_0xa04f45={'id':_0x571676(0x30b),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x3206ff,_0x1177b5)=>{const _0x5021f0=_0x571676;if(!_0x1177b5)return!0x1;let _0x542ed2=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x59e)]),{unitId:_0x3bb1fd,tableId:_0x410c18,sourceFieldId:_0x57268f,field:_0x55c3bd,index:_0x19e28f,viewIndexes:_0x1ec45c}=_0x1177b5,_0x19736d=_0x542ed2['getUnit'](_0x3bb1fd,_0x13cf76[_0x5021f0(0x331)][_0x5021f0(0x321)]);if(!_0x19736d||!_0x2062fb(_0x19736d,_0x410c18,{'fieldIds':[_0x57268f]})||_0x57268f===_0x13cf76[_0x5021f0(0x544)]||_0x19736d[_0x5021f0(0x463)]()['tables'][_0x410c18]['fields'][_0x55c3bd['id']]||_0x19e28f===0x0||!_0x4e03f1(_0x19736d,_0x410c18,_0x55c3bd))return!0x1;let _0x5cc3da=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x1d3)]),_0x8355bd=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76['IUndoRedoService']),_0x1b3f33=_0x19736d[_0x5021f0(0x463)](),_0x16a8f7=new _0x3db0f3()[_0x5021f0(0x2cc)](_0x1b3f33,_0x410c18,_0x57268f,{'field':_0x55c3bd,'index':_0x19e28f,'viewIndexes':_0x1ec45c}),_0x1459e7=new _0x1aaf1b()['invertOp'](_0x1b3f33,_0x16a8f7),_0x106361={'unitId':_0x3bb1fd,'op':_0x16a8f7},_0x4bd98f={'unitId':_0x3bb1fd,'op':_0x1459e7};return _0x5cc3da[_0x5021f0(0x56d)](_0x4d02c8['id'],_0x106361)?(_0x542ed2[_0x5021f0(0x2bd)](_0x3bb1fd),_0x8355bd[_0x5021f0(0x4f2)]({'unitID':_0x3bb1fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd98f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x106361}]}),!0x0):!0x1;}},_0x5a49a5={'id':'base.command.duplicate-base-record','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x423b73,_0x598ffc)=>{const _0x22a57e=_0x571676;if(!_0x598ffc)return!0x1;let _0x264ebb=_0x423b73[_0x22a57e(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x403dfe,tableId:_0x70466,sourceRecordId:_0x134ef8,record:_0x18c4c2}=_0x598ffc,_0x54b961=_0x264ebb[_0x22a57e(0x363)](_0x403dfe,_0x13cf76[_0x22a57e(0x331)]['UNIVER_BASE']);if(!_0x54b961||!_0x2062fb(_0x54b961,_0x70466,{'recordIds':[_0x134ef8]})||!_0x1439a1(_0x54b961,_0x70466,_0x18c4c2))return!0x1;let _0x5e03de=_0x423b73[_0x22a57e(0x59c)](_0x13cf76[_0x22a57e(0x1d3)]),_0x325ded=_0x423b73['get'](_0x13cf76[_0x22a57e(0x425)]),_0xf1a81c=_0x54b961[_0x22a57e(0x463)](),_0xbe851b=_0x50277a(_0x18c4c2),_0x391d0f=_0x16b24a(_0xf1a81c[_0x22a57e(0x291)][_0x70466],[_0xbe851b]),_0x5d8c8a=new _0x3db0f3()['duplicateRecord'](_0xf1a81c,_0x70466,_0x134ef8,_0xbe851b),_0x4341c0=new _0x1aaf1b()[_0x22a57e(0x4b4)](_0xf1a81c,_0x5d8c8a),_0x561deb={'unitId':_0x403dfe,'op':_0x5d8c8a,'hierarchyChanges':_0x391d0f[_0x22a57e(0x4e9)]?_0x391d0f:void 0x0,'source':_0x391d0f[_0x22a57e(0x4e9)]?_0x598ffc[_0x22a57e(0x47d)]??'ui':void 0x0},_0x18d1bc={..._0x561deb,'source':_0x391d0f['length']?'redo':void 0x0},_0x478730={'unitId':_0x403dfe,'op':_0x4341c0,'hierarchyChanges':_0x391d0f['length']?_0x391d0f[_0x22a57e(0x329)](_0x2de863=>({..._0x2de863,'oldParentRecordId':_0x2de863['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x391d0f['length']?_0x22a57e(0x505):void 0x0};return _0x5e03de[_0x22a57e(0x56d)](_0x4d02c8['id'],_0x561deb)?(_0x264ebb[_0x22a57e(0x2bd)](_0x403dfe),_0x325ded[_0x22a57e(0x4f2)]({'unitID':_0x403dfe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x478730}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18d1bc}]}),!0x0):!0x1;}},_0x26e35d={'id':_0x571676(0x3a0),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x4d9f59,_0x47db22){const _0x58de18=_0x571676;if(!_0x47db22)return!0x1;let _0x2f18ba=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x59e)]),{unitId:_0x45747d,tableId:_0x253d55,viewId:_0x4bf3ce,ensureEndDateField:_0x51d736}=_0x47db22,_0x390e73=_0x2f18ba[_0x58de18(0x363)](_0x45747d,_0x13cf76[_0x58de18(0x331)][_0x58de18(0x321)]);if(!_0x390e73||!_0x2062fb(_0x390e73,_0x253d55,{'viewIds':[_0x4bf3ce]}))return!0x1;let _0x5c849d=_0x390e73[_0x58de18(0x463)](),_0x50f95a=_0x5c849d['tables'][_0x253d55],_0x535537=_0x50f95a==null?void 0x0:_0x50f95a['views'][_0x4bf3ce];if(!_0x50f95a||!_0x535537||_0x535537[_0x58de18(0x292)]!==_0x58de18(0x2ca)&&_0x535537[_0x58de18(0x292)]!==_0x58de18(0x23d))return!0x1;let _0x1608a9=_0x2abe27(_0x50f95a,_0x535537,_0x51d736===!0x0);if(!_0x1608a9[_0x58de18(0x411)])return!0x1;let _0x85f458=_0x4d9f59['get'](_0x13cf76[_0x58de18(0x1d3)]),_0x37f2b7=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x425)]),_0x10e1bb=new _0x3db0f3(),_0x2e6e87=[..._0x1608a9[_0x58de18(0x3c2)]['map'](_0x1e91b5=>_0x10e1bb[_0x58de18(0x444)](_0x5c849d,_0x47db22[_0x58de18(0x33f)],{'field':_0x1e91b5})),_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22[_0x58de18(0x1ca)]),'config'],_0x535537['config'],_0x1608a9[_0x58de18(0x5b9)])];_0x1608a9[_0x58de18(0x582)]&&_0x2e6e87['push'](_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22['viewId']),_0x58de18(0x582)],_0x535537[_0x58de18(0x582)],_0x1608a9[_0x58de18(0x582)]));let _0xd66981=_0x16f182(_0x2e6e87),_0x5e3eaf=new _0x1aaf1b()[_0x58de18(0x4b4)](_0x5c849d,_0xd66981),_0x2c5895={'unitId':_0x45747d,'op':_0xd66981},_0x583baa={'unitId':_0x45747d,'op':_0x5e3eaf};return _0x85f458[_0x58de18(0x56d)](_0x4d02c8['id'],_0x2c5895)?(_0x2f18ba[_0x58de18(0x2bd)](_0x45747d),_0x37f2b7[_0x58de18(0x4f2)]({'unitID':_0x45747d,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x583baa}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2c5895}]}),!0x0):!0x1;}};function _0x96e035(_0x4b62b3,_0x242076,_0x3acf43){const _0x313f71=_0x571676;return _0x242076===void 0x0?_0x13cf76[_0x313f71(0x575)][_0x313f71(0x48c)](_0x4b62b3,_0x3acf43):_0x13cf76[_0x313f71(0x575)][_0x313f71(0x1b4)](_0x4b62b3,_0x242076,_0x3acf43);}function _0x46ef2c(_0x4c8819,_0x54ac75){const _0x1fbc41=_0x571676;return[_0x1fbc41(0x291),_0x4c8819,_0x1fbc41(0x18d),_0x54ac75];}let _0x6cfbf6={'id':'base.command.move-base-field','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x1f157a,_0x4a95bc)=>{const _0x551bcf=_0x571676;if(!_0x4a95bc)return!0x1;let _0xca3776=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x59e)]),{unitId:_0x41b5c5,tableId:_0x36baee,fieldId:_0x5518be,target:_0x180025}=_0x4a95bc,_0x55fc82=_0xca3776[_0x551bcf(0x363)](_0x41b5c5,_0x13cf76[_0x551bcf(0x331)][_0x551bcf(0x321)]),_0x58fcfa=_0x180025[_0x551bcf(0x2a9)]??_0x180025[_0x551bcf(0x319)];if(!_0x55fc82||!!_0x180025[_0x551bcf(0x2a9)]==!!_0x180025[_0x551bcf(0x319)]||!_0x58fcfa||_0x58fcfa===_0x5518be||_0x5518be===_0x13cf76[_0x551bcf(0x544)]||_0x180025['beforeFieldId']===_0x13cf76[_0x551bcf(0x544)]||!_0x2062fb(_0x55fc82,_0x36baee,{'fieldIds':[_0x5518be,_0x58fcfa]}))return!0x1;let _0x2898c6=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x1d3)]),_0x342ebd=_0x1f157a[_0x551bcf(0x59c)](_0x13cf76[_0x551bcf(0x425)]),_0x237ab1=_0x55fc82[_0x551bcf(0x463)](),_0x39aea2=new _0x3db0f3()[_0x551bcf(0x1c4)](_0x237ab1,_0x36baee,_0x5518be,_0x180025),_0x2e4d78=new _0x1aaf1b()[_0x551bcf(0x4b4)](_0x237ab1,_0x39aea2),_0x29159d={'unitId':_0x41b5c5,'op':_0x39aea2},_0x24aa09={'unitId':_0x41b5c5,'op':_0x2e4d78};return _0x2898c6[_0x551bcf(0x56d)](_0x4d02c8['id'],_0x29159d)?(_0xca3776[_0x551bcf(0x2bd)](_0x41b5c5),_0x342ebd['pushUndoRedo']({'unitID':_0x41b5c5,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x24aa09}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x29159d}]}),!0x0):!0x1;}},_0x222f05={'id':_0x571676(0x533),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2a90d1,_0x4a4a49)=>{const _0x29391e=_0x571676;var _0x2cb3ef;if(!_0x4a4a49)return!0x1;let {unitId:_0x2246fd,tableId:_0x2c6f71,recordId:_0xf91305,parentRecordId:_0x5c6e13,orderKey:_0x57c945}=_0x4a4a49,_0xbc82d7=_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x59e)]),_0x1d36f9=_0xbc82d7[_0x29391e(0x363)](_0x2246fd,_0x13cf76[_0x29391e(0x331)][_0x29391e(0x321)]);if(!_0x1d36f9||!_0x2062fb(_0x1d36f9,_0x2c6f71,{'recordIds':[_0xf91305,..._0x5c6e13?[_0x5c6e13]:[]]}))throw new _0x2dec10(_0x29391e(0x2ba));let _0x176625=_0x1d36f9[_0x29391e(0x463)](),_0x403022=_0x176625[_0x29391e(0x291)][_0x2c6f71],_0x48be04=_0x19ec27(_0x403022),_0x2b3f1c=_0x48be04??_0x4a4a49[_0x29391e(0x384)]??_0x2d5926(_0x403022);if(_0x48be04&&_0x4a4a49['fieldId']&&_0x4a4a49[_0x29391e(0x384)]!==_0x48be04||_0x403022['fields'][_0x2b3f1c]&&!_0x53a126(_0x403022,_0x2b3f1c))throw new _0x2dec10('invalidField');let _0x324116=_0x4067d3(_0x403022,_0x2b3f1c),_0x417ef3=_0x158fff(_0x324116,_0xf91305,_0x5c6e13);if(!_0x417ef3[_0x29391e(0x49e)])throw new _0x2dec10(_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x2d4)]?_0x29391e(0x41c):_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x375)]?_0x29391e(0x3f4):_0x29391e(0x2ab));let _0x22bd43=_0x324116['parentByRecordId']['get'](_0xf91305)??null,_0x3c6882=_0x403022[_0x29391e(0x38f)][_0xf91305]['orderKey'];if(_0x22bd43===_0x5c6e13&&(_0x57c945===void 0x0||_0x57c945===_0x3c6882))return!0x0;let _0x1ee63b=_0x22bd43!==_0x5c6e13,_0x460b03=_0x57c945!==void 0x0&&_0x57c945!==_0x3c6882,_0x29c492=new _0x3db0f3(),_0x5555d1=[],_0x1ab553=_0x403022[_0x29391e(0x3c2)][_0x2b3f1c],_0x5d301f=_0x1ee63b&&(!_0x1ab553||((_0x2cb3ef=_0x51db2d(_0x1ab553))==null?void 0x0:_0x2cb3ef['relationRole'])!==_0x13cf76['BaseRecordLinkRole'][_0x29391e(0x4ce)])?_0x1ab553?_0x29c492['updateField'](_0x176625,_0x2c6f71,_0x2b3f1c,{'config':{..._0x1ab553[_0x29391e(0x5b9)],'relationRole':_0x13cf76[_0x29391e(0x521)][_0x29391e(0x4ce)]}}):_0x2a90d1[_0x29391e(0x59c)](_0x5cf6f3)[_0x29391e(0x586)](_0x1d36f9,_0x2c6f71,_0xb8ceba(_0x403022,_0x2b3f1c,_0x4a4a49[_0x29391e(0x57e)]),_0x403022[_0x29391e(0x582)]['length']):null;_0x5d301f&&_0x5555d1['push'](_0x5d301f),_0x1ee63b&&_0x5555d1[_0x29391e(0x401)](_0x29c492['updateCell'](_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c,_0x5c6e13?_0xddc2f4([_0x5c6e13]):'')),_0x460b03&&_0x5555d1[_0x29391e(0x401)](_0x29c492[_0x29391e(0x1ad)](_0x176625,_0x2c6f71,_0xf91305,_0x57c945));let _0xcf15=_0x16f182(_0x5555d1),_0x9c0775={'tableId':_0x2c6f71,'fieldId':_0x2b3f1c,'recordId':_0xf91305,'oldParentRecordId':_0x22bd43,'parentRecordId':_0x5c6e13},_0x3e8b65={'unitId':_0x2246fd,'op':_0xcf15,'trigger':_0x222f05['id'],'hierarchyChanges':[_0x9c0775],'source':_0x4a4a49[_0x29391e(0x47d)]??'ui'},_0x5b567f={..._0x3e8b65,'source':_0x29391e(0x3ee)};if(!_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x1d3)])[_0x29391e(0x56d)](_0x4d02c8['id'],_0x3e8b65))return!0x1;let _0x25108c=_0x1d36f9['getSnapshot'](),_0x2704fc=[];_0x1ee63b&&_0x2704fc['push'](_0x429542(_0x25108c,_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c)),_0x460b03&&_0x2704fc['push'](_0x1f4f07(_0x25108c,_0x176625,_0x2c6f71,_0xf91305)),_0x5d301f&&_0x2704fc[_0x29391e(0x401)](new _0x1aaf1b()[_0x29391e(0x4b4)](_0x176625,_0x5d301f));let _0xf105df={'unitId':_0x2246fd,'op':_0x16f182(_0x2704fc),'trigger':_0x222f05['id'],'hierarchyChanges':[{..._0x9c0775,'oldParentRecordId':_0x5c6e13,'parentRecordId':_0x22bd43}],'source':_0x29391e(0x505)};return _0xbc82d7[_0x29391e(0x2bd)](_0x2246fd),_0x2a90d1[_0x29391e(0x59c)](_0x13cf76['IUndoRedoService'])[_0x29391e(0x4f2)]({'unitID':_0x2246fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xf105df}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b567f}]}),!0x0;}};function _0x429542(_0x1b6e05,_0x525d02,_0xdbc375,_0x41ce4,_0xf469f9){const _0x532a8c=_0x571676;var _0x3f2142,_0x364ef2,_0x596e36,_0x50459a,_0x57eb71,_0x3e033e,_0x5168e8,_0x4d852d;let _0x490dd2=_0x1b6e05['tables'][_0xdbc375],_0x5c55bd=_0x525d02[_0x532a8c(0x291)][_0xdbc375],_0xdb4b94=(_0x3f2142=_0x490dd2[_0x532a8c(0x563)])==null?void 0x0:_0x3f2142[_0x41ce4],_0x6cd918=(_0x364ef2=_0x490dd2[_0x532a8c(0x28e)])==null?void 0x0:_0x364ef2[_0xf469f9],_0x49daae=(_0x596e36=_0x5c55bd[_0x532a8c(0x563)])==null?void 0x0:_0x596e36[_0x41ce4],_0x12fe1f=(_0x50459a=_0x5c55bd[_0x532a8c(0x28e)])==null?void 0x0:_0x50459a[_0xf469f9],_0x10d3b2=_0xdb4b94==null||_0x6cd918==null||(_0x57eb71=_0x490dd2[_0x532a8c(0x38e)])==null||(_0x57eb71=_0x57eb71[_0xdb4b94])==null?void 0x0:_0x57eb71[_0x6cd918],_0x1ce72b=_0x49daae==null||_0x12fe1f==null||(_0x3e033e=_0x5c55bd['cellData'])==null||(_0x3e033e=_0x3e033e[_0x49daae])==null?void 0x0:_0x3e033e[_0x12fe1f],_0x4f9246=(_0x5168e8=_0x490dd2[_0x532a8c(0x38f)][_0x41ce4])==null?void 0x0:_0x5168e8[_0x532a8c(0x334)][_0xf469f9],_0x4a653e=(_0x4d852d=_0x5c55bd['records'][_0x41ce4])==null?void 0x0:_0x4d852d[_0x532a8c(0x334)][_0xf469f9],_0x4e4a7c=[],_0xd66763=_0x4d0b33(_0xdb4b94==null||_0x6cd918==null?null:_0x4c83f7[_0x532a8c(0x38e)](_0xdbc375,_0xdb4b94,_0x6cd918),_0x10d3b2,_0x1ce72b);_0xd66763&&_0x4e4a7c['push'](_0xd66763);let _0x4f445a=_0x4d0b33(_0x4c83f7[_0x532a8c(0x4d1)](_0xdbc375,_0x41ce4,_0xf469f9),_0x4f9246,_0x4a653e);return _0x4f445a&&_0x4e4a7c[_0x532a8c(0x401)](_0x4f445a),_0x16f182(_0x4e4a7c);}function _0x1f4f07(_0x5a16c6,_0x5a8fa0,_0x411018,_0x5f3aa2){const _0x5dbd94=_0x571676;var _0x416e58,_0x19f95b;let _0x52defd=_0x5a16c6[_0x5dbd94(0x291)][_0x411018],_0x38e30f=_0x5a8fa0[_0x5dbd94(0x291)][_0x411018];return _0x16f182([_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4a9)](_0x411018,_0x5f3aa2),_0x5dbd94(0x34c)],(_0x416e58=_0x52defd[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x416e58[_0x5dbd94(0x34c)],(_0x19f95b=_0x38e30f[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x19f95b[_0x5dbd94(0x34c)]),_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4b7)](_0x411018),_0x5dbd94(0x1cd)],_0x52defd['recordOrder'],_0x38e30f[_0x5dbd94(0x1cd)])][_0x5dbd94(0x3c4)](_0x10be8e=>!!_0x10be8e));}function _0x4d0b33(_0x180fec,_0x4c51f1,_0xfef920){const _0x3155bd=_0x571676;if(!_0x180fec||_0x4c51f1===void 0x0&&_0xfef920===void 0x0)return null;let _0xa8206=_0x13cf76['JSONX'][_0x3155bd(0x381)]();return _0xfef920===void 0x0?_0xa8206['removeOp'](_0x180fec,_0x4c51f1):_0x4c51f1===void 0x0?_0xa8206[_0x3155bd(0x48c)](_0x180fec,_0xfef920):_0xa8206['replaceOp'](_0x180fec,_0x4c51f1,_0xfef920);}let _0x2011a2={'id':'base.command.move-base-view','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3a8687,_0x337883)=>{const _0x429a8c=_0x571676;if(!_0x337883)return!0x1;let _0x1cfd36=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x59e)]),{unitId:_0x4f1ddf,tableId:_0x357390,viewId:_0x33b395,target:_0x5d3e70}=_0x337883,_0x108248=_0x1cfd36[_0x429a8c(0x363)](_0x4f1ddf,_0x13cf76[_0x429a8c(0x331)]['UNIVER_BASE']),_0x542c17=_0x5d3e70[_0x429a8c(0x262)]??_0x5d3e70[_0x429a8c(0x338)];if(!_0x108248||!_0x542c17||_0x542c17===_0x33b395||!_0x2062fb(_0x108248,_0x357390,{'viewIds':[_0x33b395,_0x542c17]}))return!0x1;let _0x375dd0=_0x3a8687[_0x429a8c(0x59c)](_0x13cf76[_0x429a8c(0x1d3)]),_0x19f4f5=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x425)]),_0x1aee23=_0x108248['getSnapshot'](),_0x228270=new _0x3db0f3()[_0x429a8c(0x5b5)](_0x1aee23,_0x357390,_0x33b395,_0x5d3e70),_0x24aa2c=new _0x1aaf1b()[_0x429a8c(0x4b4)](_0x1aee23,_0x228270),_0x4a24ad={'unitId':_0x4f1ddf,'op':_0x228270},_0x2f5319={'unitId':_0x4f1ddf,'op':_0x24aa2c};return _0x375dd0[_0x429a8c(0x56d)](_0x4d02c8['id'],_0x4a24ad)?(_0x1cfd36[_0x429a8c(0x2bd)](_0x4f1ddf),_0x19f4f5['pushUndoRedo']({'unitID':_0x4f1ddf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2f5319}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4a24ad}]}),!0x0):!0x1;}},_0x5bf158={'id':_0x571676(0x259),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x150784,_0x287f1b)=>{const _0x5a437a=_0x571676;if(!_0x287f1b)return!0x1;let _0x15567f=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x59e)]),{unitId:_0x4debfb,tableId:_0x5f22d3,name:_0x49b189}=_0x287f1b,_0x314ac5=_0x15567f[_0x5a437a(0x363)](_0x4debfb,_0x13cf76['UniverInstanceType'][_0x5a437a(0x321)]);if(!_0x314ac5||!_0x2062fb(_0x314ac5,_0x5f22d3)||!_0x475287(_0x314ac5[_0x5a437a(0x463)](),_0x49b189,_0x5f22d3)[_0x5a437a(0x49e)])return!0x1;let _0x3eb1aa=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x1d3)]),_0x413fab=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x425)]),_0x14d76a=_0x314ac5[_0x5a437a(0x463)](),_0x3630f9=new _0x3db0f3()[_0x5a437a(0x429)](_0x14d76a,_0x5f22d3,_0x49b189),_0x5070eb=new _0x1aaf1b()['invertOp'](_0x14d76a,_0x3630f9),_0x1f0df4={'unitId':_0x4debfb,'op':_0x3630f9},_0x5457e1={'unitId':_0x4debfb,'op':_0x5070eb};return _0x3eb1aa['syncExecuteCommand'](_0x4d02c8['id'],_0x1f0df4)?(_0x15567f[_0x5a437a(0x2bd)](_0x4debfb),_0x413fab[_0x5a437a(0x4f2)]({'unitID':_0x4debfb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5457e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1f0df4}]}),!0x0):!0x1;}},_0x1df208={'id':_0x571676(0x18f),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4b67fd,_0x3dd114)=>{const _0x516a79=_0x571676;if(!_0x3dd114)return!0x1;let _0x4be02f=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0xb0d7e3,tableId:_0x1477e7,viewId:_0x391f04,name:_0x483ae5}=_0x3dd114,_0x17c200=_0x4be02f[_0x516a79(0x363)](_0xb0d7e3,_0x13cf76[_0x516a79(0x331)]['UNIVER_BASE']);if(!_0x17c200||!_0x2062fb(_0x17c200,_0x1477e7,{'viewIds':[_0x391f04]}))return!0x1;let _0x765872=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x1d3)]),_0x199d73=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x425)]),_0x449868=_0x17c200[_0x516a79(0x463)](),_0x451042=new _0x3db0f3()[_0x516a79(0x455)](_0x449868,_0x1477e7,_0x391f04,_0x483ae5),_0x50141e=new _0x1aaf1b()[_0x516a79(0x4b4)](_0x449868,_0x451042),_0x487f2e={'unitId':_0xb0d7e3,'op':_0x451042},_0x277f9f={'unitId':_0xb0d7e3,'op':_0x50141e};return _0x765872[_0x516a79(0x56d)](_0x4d02c8['id'],_0x487f2e)?(_0x4be02f[_0x516a79(0x2bd)](_0xb0d7e3),_0x199d73[_0x516a79(0x4f2)]({'unitID':_0xb0d7e3,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x277f9f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x487f2e}]}),!0x0):!0x1;}},_0x747472={'id':'base.command.set-base-kanban-group-field','type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x4cb567,_0x155b80)=>{const _0x3f2319=_0x571676;if(!_0x155b80)return!0x1;let _0x3b8709=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x200feb,tableId:_0x3f0dec,viewId:_0x45e8d8,fieldId:_0x3a6dce}=_0x155b80,_0x1e1294=_0x3b8709[_0x3f2319(0x363)](_0x200feb,_0x13cf76['UniverInstanceType'][_0x3f2319(0x321)]);if(!_0x1e1294||!_0x2062fb(_0x1e1294,_0x3f0dec,{'viewIds':[_0x45e8d8],'fieldIds':[_0x3a6dce]}))return!0x1;let _0x348c4a=_0x4cb567['get'](_0x13cf76[_0x3f2319(0x1d3)]),_0xc15ca0=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76[_0x3f2319(0x425)]),_0x448f43=_0x1e1294[_0x3f2319(0x463)](),_0x41924f=new _0x3db0f3()['updateViewConfig'](_0x448f43,_0x3f0dec,_0x45e8d8,{'groupFieldId':_0x3a6dce}),_0x38865c=new _0x1aaf1b()[_0x3f2319(0x4b4)](_0x448f43,_0x41924f),_0x3f0fff={'unitId':_0x200feb,'op':_0x41924f},_0x44b1b2={'unitId':_0x200feb,'op':_0x38865c};return _0x348c4a[_0x3f2319(0x56d)](_0x4d02c8['id'],_0x3f0fff)?(_0x3b8709[_0x3f2319(0x2bd)](_0x200feb),_0xc15ca0[_0x3f2319(0x4f2)]({'unitID':_0x200feb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x44b1b2}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3f0fff}]}),!0x0):!0x1;}},_0x55d71e={'id':'base.command.set-base-name','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xc2ced0,_0x2c83c3)=>{const _0x23f490=_0x571676;if(!_0x2c83c3)return!0x1;let _0x12558e=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x59e)]),_0x5823c9=_0x12558e['getUnit'](_0x2c83c3['unitId'],_0x13cf76['UniverInstanceType'][_0x23f490(0x321)]);if(!_0x5823c9)return!0x1;let _0x50dc60=_0x5823c9['getSnapshot']()['name'];if(_0x50dc60===_0x2c83c3[_0x23f490(0x46d)])return!0x0;let _0x1e9495=new _0x3db0f3(),_0x4a8b7d=new _0x1aaf1b(),_0x5bcc19=[],_0x452690=[],_0x1a3223=[_0x5823c9,..._0x12558e[_0x23f490(0x4bd)](_0x13cf76[_0x23f490(0x331)][_0x23f490(0x321)])[_0x23f490(0x3c4)](_0x257073=>_0x257073[_0x23f490(0x5ca)]()!==_0x2c83c3['unitId'])];for(let _0x447072 of _0x1a3223){let _0xda3118=_0x447072['getSnapshot'](),_0x319f47=_0x447072===_0x5823c9?_0x1e9495[_0x23f490(0x3b9)](_0xda3118,_0x2c83c3[_0x23f490(0x46d)]):_0x1e9495[_0x23f490(0x3f7)](_0xda3118,_0x50dc60,_0x2c83c3[_0x23f490(0x46d)]);_0x319f47&&(_0x5bcc19[_0x23f490(0x401)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x319f47,'trigger':_0x55d71e['id']}}),_0x452690[_0x23f490(0x1c1)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x4a8b7d['invertOp'](_0xda3118,_0x319f47),'trigger':_0x55d71e['id']}}));}let _0x143c2b=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x1d3)]),_0x497459=_0xc2ced0['get'](_0x13cf76[_0x23f490(0x425)]),_0x27f0fc=_0x497459[_0x23f490(0x1d0)](_0x2c83c3[_0x23f490(0x2aa)]);try{return(0x0,_0x13cf76[_0x23f490(0x31a)])(_0x5bcc19,_0x143c2b)['result']?(_0x12558e[_0x23f490(0x2bd)](_0x2c83c3[_0x23f490(0x2aa)]),_0x497459[_0x23f490(0x4f2)]({'unitID':_0x2c83c3[_0x23f490(0x2aa)],'undoMutations':_0x452690,'redoMutations':_0x5bcc19}),!0x0):!0x1;}finally{_0x27f0fc[_0x23f490(0x230)]();}}},_0x7879f9={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':_0x571676(0x430),async 'handler'(_0x2be30d,_0x57caad){const _0x52859a=_0x571676;if(!_0x57caad||!_0x147f37['includes'](_0x57caad[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x57caad[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)][_0x52859a(0x5a0)]||_0x57caad[_0x52859a(0x554)]&&(![_0x52859a(0x4c3),_0x52859a(0x2d0),_0x52859a(0x2b1)]['includes'](_0x57caad[_0x52859a(0x554)][_0x52859a(0x5e1)])||_0x57caad[_0x52859a(0x554)][_0x52859a(0x3da)]['some'](_0x5544f4=>!_0x147f37[_0x52859a(0x358)](_0x5544f4[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x5544f4[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)]['Edit'])))return!0x1;let _0x2865a1=_0x41f091(_0x57caad[_0x52859a(0x2aa)],_0x57caad[_0x52859a(0x3f3)],_0x57caad[_0x52859a(0x2b9)]),_0x1535b6={'unitId':_0x57caad['unitId'],'objectId':_0x57caad['objectId'],'objectType':_0x2865a1['type']},_0x316e8b=_0x2be30d[_0x52859a(0x59c)](_0x13cf76[_0x52859a(0x4fa)]);return _0x57caad[_0x52859a(0x349)]?await _0x316e8b[_0x52859a(0x349)](_0x1535b6):_0x57caad[_0x52859a(0x554)]?await _0x316e8b[_0x52859a(0x58e)](_0x1535b6,_0x57caad['policy']):await _0x316e8b['setPoint'](_0x1535b6,_0x2865a1,_0x57caad[_0x52859a(0x315)]),!0x0;}},_0x1d1662={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':'base.command.set-permissions',async 'handler'(_0x43357c,_0x2b33d9){const _0x2e8a47=_0x571676;if(!(_0x2b33d9!=null&&_0x2b33d9[_0x2e8a47(0x2aa)])||!Array[_0x2e8a47(0x21f)](_0x2b33d9[_0x2e8a47(0x342)])||!_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x4e9)]||_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x1ab)](_0x2133b0=>!(_0x2133b0!=null&&_0x2133b0[_0x2e8a47(0x3f3)])||_0x2133b0[_0x2e8a47(0x3f3)]===_0x2b33d9[_0x2e8a47(0x2aa)]||_0x2133b0[_0x2e8a47(0x554)]!==null&&(!_0x2133b0[_0x2e8a47(0x554)]||![_0x2e8a47(0x4c3),_0x2e8a47(0x2d0),_0x2e8a47(0x2b1)][_0x2e8a47(0x358)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x5e1)])||!Array[_0x2e8a47(0x21f)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x572)])||!Array['isArray'](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)])||_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)][_0x2e8a47(0x1ab)](_0x1df5f0=>_0x1df5f0[_0x2e8a47(0x2b9)]!==_0x93a0d4[_0x2e8a47(0x2a0)][_0x2e8a47(0x5a0)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x43357c[_0x2e8a47(0x59c)](_0x13cf76[_0x2e8a47(0x4fa)])[_0x2e8a47(0x2df)](_0x2b33d9['changes'][_0x2e8a47(0x329)](_0x223bfd=>{const _0x140f0f=_0x2e8a47;let _0x3d2683=_0x41f091(_0x2b33d9[_0x140f0f(0x2aa)],_0x223bfd[_0x140f0f(0x3f3)],_0x93a0d4[_0x140f0f(0x2a0)][_0x140f0f(0x5a0)]);return{'unitId':_0x2b33d9['unitId'],'objectId':_0x223bfd['objectId'],'objectType':_0x3d2683[_0x140f0f(0x292)],'policy':_0x223bfd['policy']};}));}};function _0x57c380(_0x43032e,_0x229c2c){const _0x401031=_0x571676;let _0x593bef=_0x48b6e1(_0x13cf76[_0x401031(0x39a)]['deepClone'](_0x43032e)),_0x1c5c13=new Map();return _0x229c2c[_0x401031(0x3c9)](_0x4c3768=>{const _0x5ec599=_0x401031;var _0x2f011a,_0x4da10c;let _0x814dca=_0x5ec599(0x5c4)in _0x4c3768?_0x4c3768[_0x5ec599(0x5c4)]:(_0x2f011a=_0x593bef[_0x5ec599(0x556)])==null?void 0x0:_0x2f011a[_0x4c3768[_0x5ec599(0x22f)]],_0x42b38c=_0x5ec599(0x384)in _0x4c3768?_0x4c3768[_0x5ec599(0x384)]:(_0x4da10c=_0x593bef['colId'])==null?void 0x0:_0x4da10c[_0x4c3768[_0x5ec599(0x5ac)]],_0x16d93d=_0x42b38c?_0x593bef['fields'][_0x42b38c]:void 0x0;if(!_0x814dca||!_0x42b38c||!_0x16d93d||!_0x593bef[_0x5ec599(0x38f)][_0x814dca])return;let _0x183d4a=_0x4c5834(_0x4c3768['value'],_0x16d93d),_0xf4b925=_0x19f247(_0x4c3768[_0x5ec599(0x315)],_0x183d4a,_0x16d93d,_0x593bef,_0x814dca),_0x35b542=_0x1c5c13[_0x5ec599(0x59c)](_0x814dca)??{};_0x35b542[_0x42b38c]=_0xf4b925,_0x1c5c13[_0x5ec599(0x569)](_0x814dca,_0x35b542);}),[..._0x1c5c13][_0x401031(0x329)](([_0x48617f,_0x688c51])=>({'recordId':_0x48617f,'values':_0x688c51}));}let _0x7cb956={'id':_0x571676(0x3b5),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x302425,_0x10d268){const _0x30e83b=_0x571676;if(!_0x10d268)return!0x1;let _0x2be188=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x59e)]),{unitId:_0x6df541,tableId:_0x88b154,patches:_0x239929}=_0x10d268,_0x4dedf3=_0x2be188[_0x30e83b(0x363)](_0x6df541,_0x13cf76[_0x30e83b(0x331)][_0x30e83b(0x321)]);if(!_0x4dedf3||!_0x2062fb(_0x4dedf3,_0x88b154))return!0x1;let _0x1c793f=_0x302425['get'](_0x13cf76[_0x30e83b(0x1d3)]),_0x30d83d=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x425)]),_0x3107ef=_0x4dedf3[_0x30e83b(0x463)](),_0x14a4da=_0x48b6e1(_0x3107ef['tables'][_0x88b154]),_0x2ca8b1=_0x239929[_0x30e83b(0x329)](_0x499968=>{const _0x43fe61=_0x30e83b;var _0x3c597d;return _0x43fe61(0x5c4)in _0x499968?_0x499968['recordId']:(_0x3c597d=_0x14a4da[_0x43fe61(0x556)])==null?void 0x0:_0x3c597d[_0x499968[_0x43fe61(0x22f)]];})[_0x30e83b(0x3c4)](_0x134201=>_0x134201!=null),_0xfd3e3c=_0x239929[_0x30e83b(0x329)](_0xa4f112=>{const _0x5688f7=_0x30e83b;var _0x42e8a2;return'fieldId'in _0xa4f112?_0xa4f112['fieldId']:(_0x42e8a2=_0x14a4da[_0x5688f7(0x351)])==null?void 0x0:_0x42e8a2[_0xa4f112['col']];})[_0x30e83b(0x3c4)](_0x481d6f=>_0x481d6f!=null);if(_0x2ca8b1[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||_0xfd3e3c[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||!_0x2062fb(_0x4dedf3,_0x88b154,{'recordIds':_0x2ca8b1,'fieldIds':_0xfd3e3c})||_0x239929['some']((_0x1bcc9d,_0x547de6)=>!_0x2432ed(_0x4dedf3,_0x88b154,_0xfd3e3c[_0x547de6],_0x1bcc9d['value'])))return!0x1;let _0x30055e=_0x226acd(_0x14a4da,_0x57c380(_0x14a4da,_0x239929)),_0x403e04=_0x239929[_0x30e83b(0x387)](_0x2e3ce9=>{const _0x57c806=_0x30e83b;var _0x58a68f,_0x4ac199;if(_0x57c806(0x22f)in _0x2e3ce9)return[_0x2e3ce9];let _0x150421=(_0x58a68f=_0x14a4da[_0x57c806(0x563)])==null?void 0x0:_0x58a68f[_0x2e3ce9['recordId']],_0x3ff5ab=(_0x4ac199=_0x14a4da[_0x57c806(0x28e)])==null?void 0x0:_0x4ac199[_0x2e3ce9[_0x57c806(0x384)]];return _0x150421==null||_0x3ff5ab==null?[]:[{'row':_0x150421,'col':_0x3ff5ab,'value':_0x2e3ce9[_0x57c806(0x315)]}];}),_0x21b0a7=new _0x3db0f3()[_0x30e83b(0x23a)](_0x3107ef,_0x88b154,_0x403e04),_0xe2c4ed=new _0x1aaf1b()[_0x30e83b(0x4b4)](_0x3107ef,_0x21b0a7),_0x4bd308={'unitId':_0x6df541,'op':_0x21b0a7,'trigger':_0x30055e['length']?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e:void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'redo':void 0x0},_0x36f2d6={'unitId':_0x6df541,'op':_0xe2c4ed,'trigger':_0x30055e[_0x30e83b(0x4e9)]?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e[_0x30e83b(0x329)](_0x1b3a00=>({..._0x1b3a00,'oldParentRecordId':_0x1b3a00[_0x30e83b(0x561)],'parentRecordId':_0x1b3a00[_0x30e83b(0x182)]})):void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'undo':void 0x0},_0xe6fc51={..._0x4bd308,'source':_0x30055e[_0x30e83b(0x4e9)]?_0x10d268[_0x30e83b(0x47d)]??'ui':void 0x0};return _0x1c793f[_0x30e83b(0x56d)](_0x4d02c8['id'],_0xe6fc51)?(_0x2be188[_0x30e83b(0x2bd)](_0x6df541),_0x30d83d[_0x30e83b(0x4f2)]({'unitID':_0x6df541,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x36f2d6}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd308}]}),!0x0):!0x1;}},_0x14468a={'id':_0x571676(0x2ae),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x122f28,_0x288239){const _0x32bf29=_0x571676;if(!_0x288239)return!0x1;let _0x113a24=_0x122f28[_0x32bf29(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x484cea,tableId:_0x560533,patches:_0x41e03b}=_0x288239,_0x1ce40b=_0x113a24[_0x32bf29(0x363)](_0x484cea,_0x13cf76[_0x32bf29(0x331)][_0x32bf29(0x321)]),_0x2b63cf=_0x41e03b[_0x32bf29(0x329)](_0x33507e=>_0x33507e[_0x32bf29(0x5c4)]),_0x176f68=_0x41e03b['flatMap'](_0x340e36=>Object[_0x32bf29(0x2db)](_0x340e36[_0x32bf29(0x334)]));if(!_0x1ce40b||!_0x2062fb(_0x1ce40b,_0x560533,{'recordIds':_0x2b63cf,'fieldIds':_0x176f68})||_0x41e03b[_0x32bf29(0x1ab)](_0x49284a=>Object['entries'](_0x49284a[_0x32bf29(0x334)])[_0x32bf29(0x1ab)](([_0x224538,_0x30b8e3])=>!_0x2432ed(_0x1ce40b,_0x560533,_0x224538,_0x30b8e3))))return!0x1;let _0x8e4e64=_0x226acd(_0x1ce40b[_0x32bf29(0x463)]()[_0x32bf29(0x291)][_0x560533],_0x41e03b),_0xa42868=_0x122f28['get'](_0x13cf76[_0x32bf29(0x1d3)]),_0xc80731=_0x122f28['get'](_0x13cf76[_0x32bf29(0x425)]),_0x54ef2f=_0x122f28[_0x32bf29(0x59c)](_0x5cf6f3)[_0x32bf29(0x59f)](_0x1ce40b,_0x560533,_0x41e03b),_0x3cd7ec=new _0x1aaf1b()[_0x32bf29(0x4b4)](_0x1ce40b[_0x32bf29(0x463)](),_0x54ef2f),_0x538b3e={'unitId':_0x484cea,'op':_0x54ef2f,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64['length']?_0x8e4e64:void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x288239[_0x32bf29(0x47d)]??'ui':void 0x0},_0x2eade6={..._0x538b3e,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x3ee):void 0x0},_0x27bacd={'unitId':_0x484cea,'op':_0x3cd7ec,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64[_0x32bf29(0x4e9)]?_0x8e4e64[_0x32bf29(0x329)](_0x11b65e=>({..._0x11b65e,'oldParentRecordId':_0x11b65e[_0x32bf29(0x561)],'parentRecordId':_0x11b65e[_0x32bf29(0x182)]})):void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x505):void 0x0};return _0xa42868[_0x32bf29(0x56d)](_0x4d02c8['id'],_0x538b3e)?(_0x113a24['focusUnit'](_0x484cea),_0xc80731[_0x32bf29(0x4f2)]({'unitID':_0x484cea,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x27bacd}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2eade6}]}),!0x0):!0x1;}},_0x19979c={'id':_0x571676(0x373),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x408a10,_0x4871bc)=>{const _0xf76d26=_0x571676;if(!_0x4871bc)return!0x1;let {unitId:_0x4b1052,tableId:_0x2e4987,fieldId:_0x46a8b2}=_0x4871bc,_0x4da0ed=_0x408a10[_0xf76d26(0x59c)](_0x13cf76['IUniverInstanceService']),_0x245d73=_0x4da0ed['getUnit'](_0x4b1052,_0x13cf76[_0xf76d26(0x331)]['UNIVER_BASE']);if(!_0x245d73||!_0x2062fb(_0x245d73,_0x2e4987))return!0x1;let _0x5744fc=_0x245d73[_0xf76d26(0x463)](),_0x1a7852=_0x5744fc[_0xf76d26(0x291)][_0x2e4987];if(_0x46a8b2!==null&&!_0x53a126(_0x1a7852,_0x46a8b2))throw new _0x2dec10(_0xf76d26(0x481));if(_0x19ec27(_0x1a7852)===_0x46a8b2)return!0x0;let _0x3f6b65=new _0x3db0f3(),_0x39845d=_0x16f182(Object[_0xf76d26(0x334)](_0x1a7852[_0xf76d26(0x3c2)])[_0xf76d26(0x387)](_0x490bdd=>{const _0x5cae09=_0xf76d26;if(!_0x53a126(_0x1a7852,_0x490bdd['id']))return[];let _0x1e4cd9=_0x51db2d(_0x490bdd);if(!_0x1e4cd9)return[];let _0x392f64=_0x490bdd['id']===_0x46a8b2;if(_0x1e4cd9[_0x5cae09(0x2fe)]===_0x13cf76[_0x5cae09(0x521)][_0x5cae09(0x4ce)]===_0x392f64)return[];let _0x95222d={..._0x490bdd['config'],'targetTableId':_0x1e4cd9[_0x5cae09(0x267)],'multiple':_0x1e4cd9[_0x5cae09(0x383)]};return _0x392f64?_0x95222d['relationRole']=_0x13cf76['BaseRecordLinkRole'][_0x5cae09(0x4ce)]:delete _0x95222d[_0x5cae09(0x2fe)],[_0x3f6b65[_0x5cae09(0x241)](_0x5744fc,_0x2e4987,_0x490bdd['id'],{'config':_0x95222d})];})),_0x4684cf=new _0x1aaf1b()[_0xf76d26(0x4b4)](_0x5744fc,_0x39845d),_0x2fa7b5={'unitId':_0x4b1052,'op':_0x39845d},_0x4e00e1={'unitId':_0x4b1052,'op':_0x4684cf};return _0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x1d3)])[_0xf76d26(0x56d)](_0x4d02c8['id'],_0x2fa7b5)?(_0x4da0ed[_0xf76d26(0x2bd)](_0x4b1052),_0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x425)])[_0xf76d26(0x4f2)]({'unitID':_0x4b1052,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4e00e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2fa7b5}]}),!0x0):!0x1;}},_0x72026a={'id':'base.command.set-base-view-field-order','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x215326,_0x361ff7)=>{const _0x28bc96=_0x571676;if(!_0x361ff7)return!0x1;let _0x2e94f5=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x59e)]),{unitId:_0x427acc,tableId:_0x172960,viewId:_0x3403d7,fieldId:_0x1b3690,target:_0x3302ad}=_0x361ff7,_0x43d8a4=_0x2e94f5[_0x28bc96(0x363)](_0x427acc,_0x13cf76[_0x28bc96(0x331)]['UNIVER_BASE']),_0x203c71=_0x3302ad[_0x28bc96(0x2a9)]??_0x3302ad['afterFieldId'];if(!_0x43d8a4||!_0x203c71||_0x203c71===_0x1b3690||!_0x2062fb(_0x43d8a4,_0x172960,{'viewIds':[_0x3403d7],'fieldIds':[_0x1b3690,_0x203c71]}))return!0x1;let _0xc6a95b=_0x43d8a4['getSnapshot']()[_0x28bc96(0x291)][_0x172960],_0x5238eb=_0xc6a95b[_0x28bc96(0x3c2)][_0x1b3690],_0xd02570=_0xc6a95b[_0x28bc96(0x3c2)][_0x203c71];if(_0x5238eb[_0x28bc96(0x4f8)]===!0x0||_0x5238eb[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)]||_0xd02570[_0x28bc96(0x4f8)]===!0x0||_0xd02570[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)])return!0x1;let _0xcf51c=_0x215326[_0x28bc96(0x59c)](_0x13cf76['ICommandService']),_0x3fe190=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x425)]),_0x27e973=_0x43d8a4[_0x28bc96(0x463)](),_0x23868e=new _0x3db0f3()[_0x28bc96(0x55c)](_0x27e973,_0x172960,_0x3403d7,_0x1b3690,_0x3302ad),_0x2f5fdb=new _0x1aaf1b()[_0x28bc96(0x4b4)](_0x27e973,_0x23868e),_0x264647={'unitId':_0x427acc,'op':_0x23868e},_0x2416ad={'unitId':_0x427acc,'op':_0x2f5fdb};return _0xcf51c[_0x28bc96(0x56d)](_0x4d02c8['id'],_0x264647)?(_0x2e94f5['focusUnit'](_0x427acc),_0x3fe190[_0x28bc96(0x4f2)]({'unitID':_0x427acc,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2416ad}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x264647}]}),!0x0):!0x1;}},_0x5b0eaf={'id':_0x571676(0x413),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x20a618,_0x524e40){const _0x51b75b=_0x571676;if(!_0x524e40)return!0x1;let _0x4c10b8=_0x20a618['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x5dcfd1,tableId:_0x54e106,viewId:_0x2014fe,fieldId:_0x5cea96,visible:_0x4b5e99}=_0x524e40,_0x484f58=_0x4c10b8[_0x51b75b(0x363)](_0x5dcfd1,_0x13cf76[_0x51b75b(0x331)][_0x51b75b(0x321)]);if(!_0x484f58||!_0x2062fb(_0x484f58,_0x54e106,{'viewIds':[_0x2014fe],'fieldIds':[_0x5cea96]}))return!0x1;let _0x1c907c=_0x484f58['getSnapshot']()[_0x51b75b(0x291)][_0x54e106]['fields'][_0x5cea96];if(_0x1c907c[_0x51b75b(0x4f8)]===!0x0||_0x1c907c['type']===_0x13cf76[_0x51b75b(0x517)][_0x51b75b(0x2ea)])return!0x1;let _0x257f4b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x1d3)]),_0x45719b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x425)]),_0x2e8373=_0x484f58[_0x51b75b(0x463)](),_0x4fb080=new _0x3db0f3()[_0x51b75b(0x37e)](_0x2e8373,_0x54e106,_0x2014fe,_0x5cea96,_0x4b5e99),_0x59dc57=new _0x1aaf1b()[_0x51b75b(0x4b4)](_0x2e8373,_0x4fb080),_0xa766bf={'unitId':_0x5dcfd1,'op':_0x4fb080},_0x316c6e={'unitId':_0x5dcfd1,'op':_0x59dc57};return _0x257f4b[_0x51b75b(0x56d)](_0x4d02c8['id'],_0xa766bf)?(_0x4c10b8['focusUnit'](_0x5dcfd1),_0x45719b[_0x51b75b(0x4f2)]({'unitID':_0x5dcfd1,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x316c6e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0xa766bf}]}),!0x0):!0x1;}},_0x1e62e1={'id':'base.command.set-base-view-field-width','type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x45dc95,_0xdb9cd6)=>{const _0x276f67=_0x571676;if(!_0xdb9cd6)return!0x1;let _0x147ecc=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x27a404,tableId:_0x5b6b22,viewId:_0x1fa2a7,fieldId:_0xb82de6,width:_0x53a224}=_0xdb9cd6,_0x2b3648=_0x147ecc[_0x276f67(0x363)](_0x27a404,_0x13cf76['UniverInstanceType'][_0x276f67(0x321)]);if(!_0x2b3648||!_0x2062fb(_0x2b3648,_0x5b6b22,{'viewIds':[_0x1fa2a7],'fieldIds':[_0xb82de6]}))return!0x1;let _0xa5d7f=_0x2b3648[_0x276f67(0x463)]()[_0x276f67(0x291)][_0x5b6b22][_0x276f67(0x3c2)][_0xb82de6];if(_0xa5d7f['system']===!0x0||_0xa5d7f[_0x276f67(0x292)]===_0x13cf76['BaseFieldType'][_0x276f67(0x2ea)])return!0x1;let _0x3fb88a=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['ICommandService']),_0x24a3b7=_0x45dc95[_0x276f67(0x59c)](_0x13cf76[_0x276f67(0x425)]),_0x319e9a=_0x2b3648['getSnapshot'](),_0x7fe105=new _0x3db0f3()[_0x276f67(0x272)](_0x319e9a,_0x5b6b22,_0x1fa2a7,_0xb82de6,_0x53a224),_0x2a5b2a=new _0x1aaf1b()[_0x276f67(0x4b4)](_0x319e9a,_0x7fe105),_0x1479a8={'unitId':_0x27a404,'op':_0x7fe105},_0x495a7a={'unitId':_0x27a404,'op':_0x2a5b2a};return _0x3fb88a[_0x276f67(0x56d)](_0x4d02c8['id'],_0x1479a8)?(_0x147ecc[_0x276f67(0x2bd)](_0x27a404),_0x24a3b7[_0x276f67(0x4f2)]({'unitID':_0x27a404,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x495a7a}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1479a8}]}),!0x0):!0x1;}},_0x16dc22={'id':'base.command.set-base-view-filter','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4bcd76,_0x2e01dd)=>{const _0xa35e7b=_0x571676;if(!_0x2e01dd)return!0x1;let _0x5e37de=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x57e725,tableId:_0x17f4ca,viewId:_0x2a2c0d,filter:_0x299448}=_0x2e01dd,_0x4e2212=_0x5e37de[_0xa35e7b(0x363)](_0x57e725,_0x13cf76[_0xa35e7b(0x331)][_0xa35e7b(0x321)]),_0x40b592=(_0x299448==null?void 0x0:_0x299448[_0xa35e7b(0x3af)][_0xa35e7b(0x329)](_0xf5fb5b=>_0xf5fb5b[_0xa35e7b(0x384)]))??[];if(!_0x4e2212||!_0x2062fb(_0x4e2212,_0x17f4ca,{'viewIds':[_0x2a2c0d],'fieldIds':_0x40b592}))return!0x1;let _0x34b78e=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x1d3)]),_0x5b93f3=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x425)]),_0x1be463=_0x4e2212[_0xa35e7b(0x463)](),_0x2befe7=new _0x3db0f3()[_0xa35e7b(0x1e1)](_0x1be463,_0x17f4ca,_0x2a2c0d,_0x299448),_0x48b894=new _0x1aaf1b()[_0xa35e7b(0x4b4)](_0x1be463,_0x2befe7),_0x26af81={'unitId':_0x57e725,'op':_0x2befe7},_0x5cb151={'unitId':_0x57e725,'op':_0x48b894};return _0x34b78e[_0xa35e7b(0x56d)](_0x4d02c8['id'],_0x26af81)?(_0x5e37de[_0xa35e7b(0x2bd)](_0x57e725),_0x5b93f3[_0xa35e7b(0x4f2)]({'unitID':_0x57e725,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5cb151}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x26af81}]}),!0x0):!0x1;}},_0x20fd70={'id':_0x571676(0x49c),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x33279c,_0x35e927)=>{const _0x55a745=_0x571676;if(!_0x35e927)return!0x1;let _0x3b2f2e=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x59e)]),{unitId:_0x49d866,tableId:_0x50158f,viewId:_0x40b34c,group:_0x121853}=_0x35e927,_0x56ce44=_0x3b2f2e[_0x55a745(0x363)](_0x49d866,_0x13cf76['UniverInstanceType'][_0x55a745(0x321)]);if(!_0x56ce44||!_0x2062fb(_0x56ce44,_0x50158f,{'viewIds':[_0x40b34c],'fieldIds':_0x121853[_0x55a745(0x329)](_0x4de1cf=>_0x4de1cf[_0x55a745(0x384)])}))return!0x1;let _0xef0284=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x1d3)]),_0x15dc68=_0x33279c['get'](_0x13cf76[_0x55a745(0x425)]),_0x1aa109=_0x56ce44['getSnapshot'](),_0x594a7f=new _0x3db0f3()[_0x55a745(0x43b)](_0x1aa109,_0x50158f,_0x40b34c,_0x121853),_0x1091b3=new _0x1aaf1b()[_0x55a745(0x4b4)](_0x1aa109,_0x594a7f),_0x5b4df9={'unitId':_0x49d866,'op':_0x594a7f},_0x250371={'unitId':_0x49d866,'op':_0x1091b3};return _0xef0284[_0x55a745(0x56d)](_0x4d02c8['id'],_0x5b4df9)?(_0x3b2f2e[_0x55a745(0x2bd)](_0x49d866),_0x15dc68[_0x55a745(0x4f2)]({'unitID':_0x49d866,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x250371}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b4df9}]}),!0x0):!0x1;}},_0x34cc97={'id':_0x571676(0x4f1),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x245a54,_0x1377bc)=>{const _0x5b9085=_0x571676;if(!_0x1377bc)return!0x1;let _0x3dddd7=_0x245a54[_0x5b9085(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4c6569,tableId:_0x55bff4,viewId:_0x35c8e9,sort:_0x4be1cb}=_0x1377bc,_0x25d4d4=_0x3dddd7['getUnit'](_0x4c6569,_0x13cf76[_0x5b9085(0x331)][_0x5b9085(0x321)]);if(!_0x25d4d4||!_0x2062fb(_0x25d4d4,_0x55bff4,{'viewIds':[_0x35c8e9],'fieldIds':_0x4be1cb[_0x5b9085(0x329)](_0x58594e=>_0x58594e['fieldId'])}))return!0x1;let _0x5ea89b=_0x245a54['get'](_0x13cf76[_0x5b9085(0x1d3)]),_0x1c1607=_0x245a54[_0x5b9085(0x59c)](_0x13cf76[_0x5b9085(0x425)]),_0x16cfc9=_0x25d4d4['getSnapshot'](),_0x33e194=new _0x3db0f3()[_0x5b9085(0x27b)](_0x16cfc9,_0x55bff4,_0x35c8e9,_0x4be1cb),_0x5e0458=new _0x1aaf1b()[_0x5b9085(0x4b4)](_0x16cfc9,_0x33e194),_0x23b8ea={'unitId':_0x4c6569,'op':_0x33e194},_0x5da516={'unitId':_0x4c6569,'op':_0x5e0458};return _0x5ea89b['syncExecuteCommand'](_0x4d02c8['id'],_0x23b8ea)?(_0x3dddd7[_0x5b9085(0x2bd)](_0x4c6569),_0x1c1607[_0x5b9085(0x4f2)]({'unitID':_0x4c6569,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5da516}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x23b8ea}]}),!0x0):!0x1;}},_0x2f1b8b={'id':'base.command.update-base-cell','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x456f1d,_0x2f921f){const _0x4ad488=_0x571676;if(!_0x2f921f)return!0x1;let _0x426ca6=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x34fb70,tableId:_0xac4b03,recordId:_0x5a5ae8,fieldId:_0x4332eb,value:_0x178675}=_0x2f921f,_0x2a6269=_0x426ca6['getUnit'](_0x34fb70,_0x13cf76[_0x4ad488(0x331)]['UNIVER_BASE']);if(!_0x2a6269||!_0x2062fb(_0x2a6269,_0xac4b03,{'recordIds':[_0x5a5ae8],'fieldIds':[_0x4332eb]})||!_0x2432ed(_0x2a6269,_0xac4b03,_0x4332eb,_0x178675))return!0x1;let _0x1e79fe=_0x2a6269[_0x4ad488(0x463)]()[_0x4ad488(0x291)][_0xac4b03],_0x49b43d=_0x53a126(_0x1e79fe,_0x4332eb)&&_0x25a1a4(_0x1e79fe)[_0x4ad488(0x358)](_0x4332eb),_0x38361b=_0x49b43d?_0x4067d3(_0x1e79fe,_0x4332eb):null,_0x10127f=(_0x38361b==null?void 0x0:_0x38361b['parentByRecordId'][_0x4ad488(0x59c)](_0x5a5ae8))??null,_0x4640c4=_0x49b43d?_0x5a5d43(_0x178675)[0x0]??null:null;if(_0x38361b){if(_0x4640c4&&!_0x1e79fe[_0x4ad488(0x38f)][_0x4640c4])throw new _0x2dec10(_0x4ad488(0x2ba));let _0x281ebc=_0x158fff(_0x38361b,_0x5a5ae8,_0x4640c4);if(!_0x281ebc[_0x4ad488(0x49e)])throw new _0x2dec10(_0x281ebc['reason']===_0x13cf76['BaseHierarchyInvalidReason']['SelfParent']?'selfParent':_0x281ebc[_0x4ad488(0x2a3)]===_0x13cf76['BaseHierarchyInvalidReason'][_0x4ad488(0x375)]?_0x4ad488(0x3f4):_0x4ad488(0x2ab));}let _0x5b2e2d=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x1d3)]),_0x2db606=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x425)]),_0x2d2f9b=_0x456f1d['get'](_0x5cf6f3),_0x1f8318;try{_0x1f8318=_0x2d2f9b[_0x4ad488(0x420)](_0x2a6269,_0xac4b03,_0x5a5ae8,_0x4332eb,_0x178675);}catch(_0x1a704a){return console[_0x4ad488(0x26a)](_0x4ad488(0x19a),_0x1a704a),!0x1;}let _0x3c6fca=new _0x1aaf1b()[_0x4ad488(0x4b4)](_0x2a6269[_0x4ad488(0x463)](),_0x1f8318),_0x5f47a5=_0x49b43d&&_0x10127f!==_0x4640c4?[{'tableId':_0xac4b03,'fieldId':_0x4332eb,'recordId':_0x5a5ae8,'oldParentRecordId':_0x10127f,'parentRecordId':_0x4640c4}]:void 0x0,_0x1b3677={'unitId':_0x34fb70,'op':_0x1f8318,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5,'source':_0x5f47a5?_0x2f921f[_0x4ad488(0x47d)]??'ui':void 0x0},_0x4fe9bf={..._0x1b3677,'source':_0x5f47a5?_0x4ad488(0x3ee):void 0x0},_0x18c48c={'unitId':_0x34fb70,'op':_0x3c6fca,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5==null?void 0x0:_0x5f47a5[_0x4ad488(0x329)](_0x34d789=>({..._0x34d789,'oldParentRecordId':_0x34d789[_0x4ad488(0x561)],'parentRecordId':_0x34d789[_0x4ad488(0x182)]})),'source':_0x5f47a5?_0x4ad488(0x505):void 0x0};return _0x5b2e2d[_0x4ad488(0x56d)](_0x4d02c8['id'],_0x1b3677)?(_0x426ca6['focusUnit'](_0x34fb70),_0x2db606['pushUndoRedo']({'unitID':_0x34fb70,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c48c}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4fe9bf}]}),!0x0):!0x1;}},_0x11e333={'id':'base.command.update-base-field-description','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x34d18b,_0x1b5f3a){const _0x432dd0=_0x571676;if(!_0x1b5f3a)return!0x1;let _0x54de73=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x59e)]),{unitId:_0x39aee7,tableId:_0x193e36,fieldId:_0x1294ed}=_0x1b5f3a,_0x10d5d7=_0x54de73['getUnit'](_0x39aee7,_0x13cf76[_0x432dd0(0x331)][_0x432dd0(0x321)]);if(!_0x10d5d7||!_0x2062fb(_0x10d5d7,_0x193e36,{'fieldIds':[_0x1294ed]}))return!0x1;let _0x398976=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x1d3)]),_0x4acff6=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x425)]),_0x52abba=_0x10d5d7[_0x432dd0(0x463)](),_0x5b5545=_0x1b5f3a['description'][_0x432dd0(0x2cd)](),_0x5b097e=new _0x3db0f3()[_0x432dd0(0x241)](_0x52abba,_0x193e36,_0x1294ed,{'description':_0x5b5545}),_0x237ce1=new _0x1aaf1b()[_0x432dd0(0x4b4)](_0x10d5d7[_0x432dd0(0x463)](),_0x5b097e),_0x32c312={'unitId':_0x39aee7,'op':_0x5b097e},_0x839a52={'unitId':_0x39aee7,'op':_0x237ce1};return _0x398976[_0x432dd0(0x56d)](_0x4d02c8['id'],_0x32c312)?(_0x54de73[_0x432dd0(0x2bd)](_0x39aee7),_0x4acff6[_0x432dd0(0x4f2)]({'unitID':_0x39aee7,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x839a52}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x32c312}]}),!0x0):!0x1;}},_0x2ea211={'id':_0x571676(0x17c),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x515744,_0x21c6e4)=>{const _0x85dd5=_0x571676;if(!_0x21c6e4)return!0x1;let _0x2700d6=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x59e)]),{unitId:_0x21c3b8,tableId:_0x409a1e,fieldId:_0x3facec,patch:_0x16a0a0}=_0x21c6e4,_0x4565e9=_0x2700d6[_0x85dd5(0x363)](_0x21c3b8,_0x13cf76[_0x85dd5(0x331)][_0x85dd5(0x321)]);if(!_0x4565e9||_0x3facec===_0x13cf76[_0x85dd5(0x544)]||!_0x2062fb(_0x4565e9,_0x409a1e,{'fieldIds':[_0x3facec]}))return!0x1;let _0xb55f21=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x1d3)]),_0x9e0fe7=_0x515744['get'](_0x13cf76['IUndoRedoService']),_0x167ad9=_0x4565e9['getSnapshot']();if(!_0x4e03f1(_0x4565e9,_0x409a1e,{..._0x167ad9[_0x85dd5(0x291)][_0x409a1e][_0x85dd5(0x3c2)][_0x3facec],..._0x16a0a0}))return!0x1;let _0x30daeb=new _0x3db0f3()[_0x85dd5(0x241)](_0x167ad9,_0x409a1e,_0x3facec,_0x16a0a0),_0x55c283=new _0x1aaf1b()['invertOp'](_0x167ad9,_0x30daeb),_0x1036aa={'unitId':_0x21c3b8,'op':_0x30daeb},_0x524b00={'unitId':_0x21c3b8,'op':_0x55c283};return _0xb55f21[_0x85dd5(0x56d)](_0x4d02c8['id'],_0x1036aa)?(_0x2700d6[_0x85dd5(0x2bd)](_0x21c3b8),_0x9e0fe7[_0x85dd5(0x4f2)]({'unitID':_0x21c3b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x524b00}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1036aa}]}),!0x0):!0x1;}},_0x292a44={'id':_0x571676(0x1b0),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x10daf5,_0x16005a)=>{const _0x3541cd=_0x571676;if(!_0x16005a)return!0x1;let _0x266fa3=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x59e)]),{unitId:_0x54ab82,tableId:_0x25fdc6,viewId:_0x27396b,patch:_0x5e9ec5}=_0x16005a,_0x58e437=_0x266fa3[_0x3541cd(0x363)](_0x54ab82,_0x13cf76[_0x3541cd(0x331)]['UNIVER_BASE']);if(!_0x58e437||!_0x2062fb(_0x58e437,_0x25fdc6,{'viewIds':[_0x27396b]}))return!0x1;let _0x14f7b6=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x1d3)]),_0x4d6b2a=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76['IUndoRedoService']),_0x1448a8=_0x58e437[_0x3541cd(0x463)](),_0x2b76af=new _0x3db0f3()['updateViewConfig'](_0x1448a8,_0x25fdc6,_0x27396b,_0x5e9ec5),_0x53e255=new _0x1aaf1b()[_0x3541cd(0x4b4)](_0x1448a8,_0x2b76af),_0x111613={'unitId':_0x54ab82,'op':_0x2b76af},_0x374a46={'unitId':_0x54ab82,'op':_0x53e255};return _0x14f7b6[_0x3541cd(0x56d)](_0x4d02c8['id'],_0x111613)?(_0x266fa3[_0x3541cd(0x2bd)](_0x54ab82),_0x4d6b2a[_0x3541cd(0x4f2)]({'unitID':_0x54ab82,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x374a46}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x111613}]}),!0x0):!0x1;}},_0x3975dc={'id':_0x571676(0x470),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2e7583,_0x423324)=>{const _0x474aa0=_0x571676;if(!_0x423324)return!0x1;let _0x38dcd5=_0x2e7583['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x362b78,tableId:_0x1a518c,recordId:_0x361a0f,orderKey:_0x52215a}=_0x423324,_0x378c10=_0x38dcd5[_0x474aa0(0x363)](_0x362b78,_0x13cf76[_0x474aa0(0x331)]['UNIVER_BASE']);if(!_0x378c10||!_0x2062fb(_0x378c10,_0x1a518c,{'recordIds':[_0x361a0f]}))return!0x1;let _0x630f97=_0x2e7583[_0x474aa0(0x59c)](_0x13cf76[_0x474aa0(0x1d3)]),_0x532c35=_0x2e7583['get'](_0x13cf76[_0x474aa0(0x425)]),_0x481a84=_0x378c10[_0x474aa0(0x463)](),_0x314a94=new _0x3db0f3()[_0x474aa0(0x1ad)](_0x481a84,_0x1a518c,_0x361a0f,_0x52215a),_0x3f436e=new _0x1aaf1b()[_0x474aa0(0x4b4)](_0x481a84,_0x314a94),_0x1103ca={'unitId':_0x362b78,'op':_0x314a94},_0x10b449={'unitId':_0x362b78,'op':_0x3f436e};return _0x630f97[_0x474aa0(0x56d)](_0x4d02c8['id'],_0x1103ca)?(_0x38dcd5[_0x474aa0(0x2bd)](_0x362b78),_0x532c35[_0x474aa0(0x4f2)]({'unitID':_0x362b78,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x10b449}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1103ca}]}),!0x0):!0x1;}},_0x4904eb=function(_0x36ffab){const _0x29ff72=_0x571676;return _0x36ffab[_0x29ff72(0x36b)]=_0x29ff72(0x569),_0x36ffab[_0x29ff72(0x1d9)]=_0x29ff72(0x54c),_0x36ffab[_0x29ff72(0x553)]=_0x29ff72(0x37c),_0x36ffab[_0x29ff72(0x4d2)]=_0x29ff72(0x35a),_0x36ffab;}({}),_0x5c63df={'id':_0x571676(0x305),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x47618f,_0x24eda1)=>{const _0x4fbd2f=_0x571676;var _0x31c556;if(!_0x24eda1)return!0x1;let _0x33eb2a=_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x59e)]),_0x367612=_0x33eb2a[_0x4fbd2f(0x363)](_0x24eda1[_0x4fbd2f(0x2aa)],_0x13cf76['UniverInstanceType'][_0x4fbd2f(0x321)]);if(!_0x367612||!_0x2062fb(_0x367612,_0x24eda1[_0x4fbd2f(0x33f)],{'viewIds':[_0x24eda1[_0x4fbd2f(0x1ca)]]}))return!0x1;let _0x2f180b=_0x367612[_0x4fbd2f(0x463)](),_0x20f0bc=_0x2f180b[_0x4fbd2f(0x291)][_0x24eda1[_0x4fbd2f(0x33f)]],_0x346eb0=_0x1a950b(((_0x31c556=_0x20f0bc[_0x4fbd2f(0x18d)][_0x24eda1['viewId']][_0x4fbd2f(0x5b9)][_0x4fbd2f(0x403)])==null?void 0x0:_0x31c556['rules'])??[],_0x24eda1);if(!_0x346eb0)return!0x1;_0x50f31a(_0x20f0bc,_0x346eb0);let _0x48b266=new _0x3db0f3()[_0x4fbd2f(0x20d)](_0x2f180b,_0x24eda1[_0x4fbd2f(0x33f)],_0x24eda1['viewId'],{'conditionalColoring':_0x346eb0[_0x4fbd2f(0x4e9)]?{'rules':_0x346eb0}:null}),_0xdc86d6=new _0x1aaf1b()[_0x4fbd2f(0x4b4)](_0x2f180b,_0x48b266),_0x588fbd={'unitId':_0x24eda1[_0x4fbd2f(0x2aa)],'op':_0x48b266},_0x21d911={'unitId':_0x24eda1['unitId'],'op':_0xdc86d6};return _0x47618f['get'](_0x13cf76[_0x4fbd2f(0x1d3)])['syncExecuteCommand'](_0x4d02c8['id'],_0x588fbd)?(_0x33eb2a[_0x4fbd2f(0x2bd)](_0x24eda1['unitId']),_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x425)])[_0x4fbd2f(0x4f2)]({'unitID':_0x24eda1[_0x4fbd2f(0x2aa)],'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x21d911}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x588fbd}]}),!0x0):!0x1;}};function _0x1a950b(_0x59d2e9,_0x167c44){const _0x54fbb5=_0x571676;switch(_0x167c44[_0x54fbb5(0x292)]){case _0x54fbb5(0x569):return _0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x167c44[_0x54fbb5(0x4a5)]);case _0x54fbb5(0x54c):return[..._0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x59d2e9),_0x13cf76[_0x54fbb5(0x39a)][_0x54fbb5(0x495)](_0x167c44[_0x54fbb5(0x336)])];case _0x54fbb5(0x37c):{let _0xb3092f=_0x59d2e9[_0x54fbb5(0x3c4)](_0x35953c=>_0x35953c['id']!==_0x167c44[_0x54fbb5(0x487)]);return _0xb3092f[_0x54fbb5(0x4e9)]===_0x59d2e9[_0x54fbb5(0x4e9)]?null:_0x13cf76['Tools'][_0x54fbb5(0x495)](_0xb3092f);}case'clear':return _0x59d2e9[_0x54fbb5(0x4e9)]?[]:null;}}function _0x50f31a(_0x3ec3b8,_0x331d31){const _0x40ef1f=_0x571676;if(!Array[_0x40ef1f(0x21f)](_0x331d31))throw TypeError(_0x40ef1f(0x5a6));let _0x2d6ac0=new Set();for(let [_0x1b7711,_0x5318ac]of _0x331d31[_0x40ef1f(0x460)]())_0x2aa1a4(_0x3ec3b8,_0x5318ac,_0x536edd(_0x5318ac,_0x1b7711,_0x2d6ac0));}function _0x536edd(_0x1be5ea,_0x1e2900,_0x16a54b){const _0x59ced0=_0x571676;if(!_0x1be5ea||typeof _0x1be5ea!=_0x59ced0(0x1a7))throw TypeError(_0x59ced0(0x219)+_0x1e2900+_0x59ced0(0x1a9));let _0x19111d=typeof _0x1be5ea['id']==_0x59ced0(0x2b6)&&_0x1be5ea['id'][_0x59ced0(0x2cd)]()?'\x22'+_0x1be5ea['id']+'\x22':_0x59ced0(0x2b5)+_0x1e2900;if(typeof _0x1be5ea['id']!=_0x59ced0(0x2b6)||!_0x1be5ea['id'][_0x59ced0(0x2cd)]())throw Error(_0x59ced0(0x3c6)+_0x19111d+_0x59ced0(0x5b1));if(_0x16a54b['has'](_0x1be5ea['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x1be5ea['id']+'\x22.');_0x16a54b[_0x59ced0(0x54c)](_0x1be5ea['id']);let _0x348821=typeof _0x1be5ea['color']==_0x59ced0(0x2b6)&&_0x1be5ea['color'][_0x59ced0(0x2cd)]()?new _0x13cf76[(_0x59ced0(0x236))](_0x1be5ea[_0x59ced0(0x393)]):null;if(!(_0x348821!=null&&_0x348821[_0x59ced0(0x385)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x19111d+_0x59ced0(0x25b));return _0x19111d;}function _0x2aa1a4(_0x35aa37,_0x15d4f8,_0x4a5752){const _0x29ab57=_0x571676;let _0x3dba85=new Set(Object['values'](_0x13cf76[_0x29ab57(0x446)])),_0x10b371=new Set(Object['values'](_0x13cf76[_0x29ab57(0x1b1)])),_0x556ba8=new Set(Object[_0x29ab57(0x334)](_0x13cf76[_0x29ab57(0x218)]));if(!_0x3dba85[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4dd)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x5c2)+String(_0x15d4f8[_0x29ab57(0x4dd)])+'\x22.');let _0x4fbcfa=typeof _0x15d4f8['fieldId']==_0x29ab57(0x2b6)?_0x35aa37[_0x29ab57(0x3c2)][_0x15d4f8[_0x29ab57(0x384)]]:void 0x0;if(!_0x4fbcfa||_0x4fbcfa[_0x29ab57(0x4f8)]===!0x0||_0x4fbcfa['type']===_0x13cf76[_0x29ab57(0x517)][_0x29ab57(0x2ea)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x15d4f8[_0x29ab57(0x384)])+'\x22.');if(!_0x10b371[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4a2)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x23f)+String(_0x15d4f8[_0x29ab57(0x4a2)])+'\x22.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x556ba8[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x39c)]))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x24e)+String(_0x15d4f8[_0x29ab57(0x39c)])+'\x22.');if(_0x15d4f8['target']===_0x13cf76[_0x29ab57(0x446)]['COLUMN'])return;let _0x3eb97b=_0xd379e5(_0x4fbcfa['type']);if(!_0x3eb97b[_0x29ab57(0x358)](_0x15d4f8['operator']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+'\x20cannot\x20use\x20operator\x20\x22'+_0x15d4f8[_0x29ab57(0x4a2)]+_0x29ab57(0x333)+_0x4fbcfa[_0x29ab57(0x292)]+_0x29ab57(0x4a7)+_0x3eb97b[_0x29ab57(0x4b9)](',\x20')+'.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x33b8b5(_0x4fbcfa['type']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x25a));}let _0x3f4bfc={'id':_0x571676(0x24d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x4bde4c,_0x2fbc4a)=>{const _0xb0d2f6=_0x571676;if(!_0x2fbc4a)return!0x1;let _0x44d099=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x59e)]),{unitId:_0x394324,tableId:_0x5c3c07,viewId:_0x1bc1ff,patch:_0x4ce3c8}=_0x2fbc4a,_0x43128c=_0x44d099[_0xb0d2f6(0x363)](_0x394324,_0x13cf76[_0xb0d2f6(0x331)][_0xb0d2f6(0x321)]);if(!_0x43128c||!_0x2062fb(_0x43128c,_0x5c3c07,{'viewIds':[_0x1bc1ff]}))return!0x1;let _0x100341=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76['ICommandService']),_0x209357=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x425)]),_0x5ef246=_0x43128c[_0xb0d2f6(0x463)](),_0x449db6=new _0x3db0f3()[_0xb0d2f6(0x20d)](_0x5ef246,_0x5c3c07,_0x1bc1ff,_0x4ce3c8),_0x118e57=new _0x1aaf1b()[_0xb0d2f6(0x4b4)](_0x5ef246,_0x449db6),_0x3e567c={'unitId':_0x394324,'op':_0x449db6},_0x30149d={'unitId':_0x394324,'op':_0x118e57};return _0x100341[_0xb0d2f6(0x56d)](_0x4d02c8['id'],_0x3e567c)?(_0x44d099['focusUnit'](_0x394324),_0x209357['pushUndoRedo']({'unitID':_0x394324,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x30149d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e567c}]}),!0x0):!0x1;}},_0x37f9a6={'id':_0x571676(0x476),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x1ab67a,_0x4a71b9){const _0x219c43=_0x571676;if(!_0x4a71b9)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x110c0c=_0x1ab67a['get'](_0x13cf76['IUniverInstanceService'])[_0x219c43(0x363)](_0x4a71b9[_0x219c43(0x2aa)],_0x13cf76[_0x219c43(0x331)][_0x219c43(0x321)]),_0x3a2d15=_0x110c0c==null?void 0x0:_0x110c0c['getSnapshot'](),_0x2ad951=_0x3a2d15==null?void 0x0:_0x3a2d15[_0x219c43(0x291)][_0x4a71b9[_0x219c43(0x33f)]];return!_0x3a2d15||!_0x2ad951?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0x3bb03f()['validateFormula'](_0x4a71b9[_0x219c43(0x2b7)],_0x2ad951,{'snapshot':_0x3a2d15});}},_0x15ceca=class extends _0x13cf76[_0x571676(0x579)]{constructor(_0x56d6b5){const _0x5baf52=_0x571676;super(_0x56d6b5,'BASE_OBJECT_PERMISSION_PLUGIN',_0x13cf76['UniverInstanceType'][_0x5baf52(0x321)],[_0x93a0d4['UnitObject']['BaseTable'],_0x93a0d4['UnitObject'][_0x5baf52(0x24c)],_0x93a0d4['UnitObject'][_0x5baf52(0x52c)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x32f)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x4d7)]]);}};_0x15ceca=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x4f7)])],_0x15ceca);let _0x592127={'id':_0x571676(0x59a),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x40b419,_0x4e09aa)=>!_0x4e09aa||!_0x40b419[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x4e09aa[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x40b419[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x5da)](_0x4e09aa['unitId'],_0x4e09aa[_0x571676(0x1ff)],_0x4e09aa[_0x571676(0x3f3)],_0x4e09aa['rule'])},_0x5ba4b4={'id':_0x571676(0x371),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x55f06d,_0x3357cd)=>!_0x3357cd||!_0x55f06d[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x3357cd[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x55f06d[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x283)](_0x3357cd[_0x571676(0x2aa)],_0x3357cd[_0x571676(0x4a5)])};function _0x910a(_0x57b0cc){const _0x56d147=_0x571676;let _0x3d3434=_0x57b0cc[_0x56d147(0x5e4)]??Date[_0x56d147(0x5e4)](),_0x3a2f88=_0x57b0cc[_0x56d147(0x422)]??_0x57b0cc['id']+_0x56d147(0x4e8),_0x40c041=_0x57b0cc['gridViewId']??_0x57b0cc['id']+_0x56d147(0x25f),_0x52c5a2=_0x57b0cc[_0x56d147(0x473)]??0x0,_0x1d42f9=(0x0,_0x13cf76[_0x56d147(0x365)])(),_0x4c28bb={'id':_0x3a2f88,'name':_0x57b0cc['primaryFieldName']??_0x56d147(0x48b),'type':_0x13cf76[_0x56d147(0x517)][_0x56d147(0x4c5)],'config':{'placeholder':_0x56d147(0x343)}},_0x1d71be={},_0x4a254c=[],_0xda83={},_0x351a65={},_0xa62e6e={};for(let _0x5c5dbf=0x0;_0x5c5dbf<_0x52c5a2;_0x5c5dbf++){let _0xbb7e92=_0x57b0cc['id']+_0x56d147(0x286)+(_0x5c5dbf+0x1);_0x1d71be[_0xbb7e92]={'id':_0xbb7e92,'values':{[_0x13cf76[_0x56d147(0x544)]]:_0xbb7e92,..._0x57b0cc[_0x56d147(0x2a5)]?{[_0x3a2f88]:_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1)}:{}},'orderKey':String(_0x5c5dbf+0x1)[_0x56d147(0x59d)](0x4,'0'),'createdAt':_0x3d3434,'updatedAt':_0x3d3434},_0x4a254c[_0x56d147(0x401)](_0xbb7e92),_0xda83[_0xbb7e92]=_0x5c5dbf,_0x351a65[_0x5c5dbf]=_0xbb7e92,_0xa62e6e[_0x5c5dbf]={0x0:{'v':_0xbb7e92,'t':_0x13cf76[_0x56d147(0x32d)][_0x56d147(0x562)]}},_0x57b0cc[_0x56d147(0x2a5)]&&(_0xa62e6e[_0x5c5dbf][0x1]={'v':_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1),'t':_0x13cf76['CellValueType'][_0x56d147(0x562)]});}let _0x367872={'id':_0x40c041,'tableId':_0x57b0cc['id'],'name':_0x56d147(0x4fc),'type':_0x13cf76['BaseViewType'][_0x56d147(0x4fc)],'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],_0x3a2f88],'fieldSettings':{[_0x13cf76[_0x56d147(0x544)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x57b0cc['id'],'name':_0x57b0cc[_0x56d147(0x46d)],'primaryFieldId':_0x3a2f88,'fieldOrder':[_0x13cf76[_0x56d147(0x544)],_0x3a2f88],'fields':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x1d42f9,[_0x3a2f88]:_0x4c28bb},'records':_0x1d71be,'recordOrder':_0x4a254c,'rowIndex':_0xda83,'rowId':_0x351a65,'colIndex':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x3a2f88]:0x1},'colId':{0x0:_0x13cf76[_0x56d147(0x544)],0x1:_0x3a2f88},'cellData':_0xa62e6e,'views':{[_0x40c041]:_0x367872},'viewOrder':[_0x40c041]};}let _0x3d977d='UNIVER_EMBED_BASES_TABLE';function _0x32bf44(_0x521a59){const _0xc0d0da=_0x571676;let _0x5bc3f7=_0x910a({'id':_0x521a59[_0xc0d0da(0x183)],'name':_0x521a59[_0xc0d0da(0x46d)]??_0x521a59[_0xc0d0da(0x37a)],'recordCount':0x0});return{..._0x5bc3f7,'resources':{..._0x5bc3f7[_0xc0d0da(0x23c)]??{},[_0x3d977d]:_0x2a0328(_0x521a59)}};}function _0x293936(_0x21de27){const _0x3c9741=_0x571676;return{'id':_0x4d02c8['id'],'params':{'unitId':_0x21de27[_0x3c9741(0x2aa)],'op':_0x13cf76['JSON1'][_0x3c9741(0x292)][_0x3c9741(0x199)](_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x291),_0x21de27[_0x3c9741(0x4b7)]['id']],_0x21de27[_0x3c9741(0x4b7)]),_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x4d9),_0x21de27[_0x3c9741(0x36f)]??_0x21de27[_0x3c9741(0x4cb)][_0x3c9741(0x4d9)][_0x3c9741(0x4e9)]],_0x21de27[_0x3c9741(0x4b7)]['id'])),'trigger':_0x3c9741(0x530)}};}function _0x1b9b54(_0x444a98){const _0x46e325=_0x571676;let _0xe3f384=_0x444a98['snapshot'][_0x46e325(0x4d9)][_0x46e325(0x406)](_0x444a98[_0x46e325(0x33f)]);if(!(!_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]||_0xe3f384<0x0))return{'id':_0x4d02c8['id'],'params':{'unitId':_0x444a98[_0x46e325(0x2aa)],'op':_0x13cf76[_0x46e325(0x575)][_0x46e325(0x292)][_0x46e325(0x199)](_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)](['tables',_0x444a98[_0x46e325(0x33f)]],_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]),_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)]([_0x46e325(0x4d9),_0xe3f384],_0x444a98['tableId'])),'trigger':_0x46e325(0x530)}};}function _0x2a0328(_0x6b5857){const _0x1e2862=_0x571676;return{'version':0x1,'embedId':_0x6b5857[_0x1e2862(0x37a)],'hostAnchorId':_0x6b5857[_0x1e2862(0x183)],'childUnitId':_0x6b5857[_0x1e2862(0x50f)],'childType':_0x6b5857[_0x1e2862(0x354)]};}function _0x68e884(_0x27adec){const _0x54ea2b=_0x571676;let _0x23a95d=Math['max'](0x0,Number(_0x27adec[_0x54ea2b(0x598)]??0x0)),_0x3df370=_0x27adec['useThousands']===!0x1?'0':_0x54ea2b(0x204),_0x18eb30=_0x23a95d?'.'+'0'[_0x54ea2b(0x289)](_0x23a95d):'',_0x5db175=_0x1a69fe(_0x27adec[_0x54ea2b(0x5d9)]);return''+(_0x27adec[_0x54ea2b(0x595)]?_0x371668(_0x27adec[_0x54ea2b(0x595)]):'')+_0x3df370+_0x18eb30+_0x5db175;}function _0x4dcf16(_0x3e1701,_0x1e1f3c){const _0x1930b0=_0x571676;let _0x7546ca=_0x68e884(_0x1e1f3c),_0x35838e=_0x13cf76['numfmt'][_0x1930b0(0x278)](_0x7546ca,_0x3e1701,{'throws':!0x1});return _0x118aed(String(_0x35838e),_0x1e1f3c['separatorStyle'],_0x1e1f3c[_0x1930b0(0x40a)]);}function _0x1a69fe(_0x5c17bf){const _0x32128a=_0x571676;return _0x5c17bf==='K'?_0x32128a(0x2e5):_0x5c17bf==='M'?_0x32128a(0x25e):_0x5c17bf==='B'?_0x32128a(0x535):'';}function _0x371668(_0x3db15f){const _0x2a0644=_0x571676;return/^[A-Z]+$/i[_0x2a0644(0x50e)](_0x3db15f)?'\x22'+_0x3db15f+'\x22':_0x3db15f;}function _0x118aed(_0x2fe8fd,_0x159437,_0x7c5b6f){const _0x26ecb3=_0x571676;let _0x4729e5=_0x159437==='local'?_0x6f7f1(_0x7c5b6f):_0x159437;return _0x4729e5===_0x26ecb3(0x3e3)?_0x2fe8fd['replace'](/,/g,'\x00')[_0x26ecb3(0x5ae)](/\./g,',')[_0x26ecb3(0x5ae)](/\0/g,'.'):_0x4729e5===_0x26ecb3(0x471)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20')[_0x26ecb3(0x5ae)](/\./g,','):_0x4729e5===_0x26ecb3(0x464)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20'):_0x2fe8fd;}function _0x6f7f1(_0x324858){const _0x52e600=_0x571676;var _0x2008e6,_0x3365cf;let _0xa898d5=_0x324858||new Intl[(_0x52e600(0x58f))]()['resolvedOptions']()[_0x52e600(0x40a)],_0x38242b;try{_0x38242b=new Intl['NumberFormat'](_0xa898d5,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x52e600(0x504);}let _0x3bcc20=(_0x2008e6=_0x38242b[_0x52e600(0x56a)](_0x46e610=>_0x46e610['type']==='group'))==null?void 0x0:_0x2008e6[_0x52e600(0x315)],_0xce8d66=(_0x3365cf=_0x38242b[_0x52e600(0x56a)](_0x36c956=>_0x36c956['type']===_0x52e600(0x207)))==null?void 0x0:_0x3365cf[_0x52e600(0x315)],_0x38e940=_0x3bcc20==='\u00a0'||_0x3bcc20==='\u202f'?'\x20':_0x3bcc20;return _0x38e940==='.'&&_0xce8d66===','?_0x52e600(0x3e3):_0x38e940==='\x20'&&_0xce8d66===','?_0x52e600(0x471):_0x38e940==='\x20'&&_0xce8d66==='.'?_0x52e600(0x464):'commaPeriod';}function _0x40750c(_0x2c0d67,_0x62e2b8){const _0x53e83e=_0x571676;let _0x31ada3=_0x62e2b8&&typeof _0x62e2b8==_0x53e83e(0x1a7)&&!Array['isArray'](_0x62e2b8)?_0x62e2b8:{},_0x5c6460=_0x32d060(_0x31ada3[_0x53e83e(0x598)],0x0,0x2,0x0),_0x169c13=_0x2c0d67[_0x53e83e(0x2da)](_0x5c6460);return _0x31ada3[_0x53e83e(0x278)]===_0x53e83e(0x3dc)?_0x169c13:_0x169c13+'%';}function _0x32d060(_0x1c3709,_0x3a40f9,_0x5756c9,_0x366d7c){const _0x59a5e0=_0x571676;if(_0x1c3709==null||_0x1c3709==='')return _0x366d7c;let _0x7a145=typeof _0x1c3709==_0x59a5e0(0x3dc)?_0x1c3709:Number(_0x1c3709);return Number[_0x59a5e0(0x195)](_0x7a145)?Math['max'](_0x3a40f9,Math[_0x59a5e0(0x5a2)](_0x5756c9,Math[_0x59a5e0(0x43e)](_0x7a145))):_0x366d7c;}let _0x49b302=['count',_0x571676(0x18e),'empty',_0x571676(0x3bf),_0x571676(0x1db),'average',_0x571676(0x5a2),_0x571676(0x402)],_0x566424=[_0x571676(0x1fb),_0x571676(0x18e),_0x571676(0x252),_0x571676(0x3bf)],_0x56f032=['sum',_0x571676(0x442),_0x571676(0x5a2),_0x571676(0x402)],_0x3cdb38=[_0x571676(0x5a2),_0x571676(0x402)],_0x3df33c=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76['BaseFieldType'][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)]]),_0x450dd3=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x247)],_0x13cf76['BaseFieldType'][_0x571676(0x43f)],_0x13cf76[_0x571676(0x517)][_0x571676(0x53b)]]),_0x3791de=_0x571676(0x3b0);function _0x9ba099(_0x25062b){const _0x2035dc=_0x571676;return typeof _0x25062b==_0x2035dc(0x2b6)&&_0x49b302['includes'](_0x25062b);}function _0x22bd83(_0x3b0d62){const _0x4536a0=_0x571676;return!_0x3b0d62||typeof _0x3b0d62!=_0x4536a0(0x1a7)?{}:Object[_0x4536a0(0x1fc)](Object[_0x4536a0(0x460)](_0x3b0d62)['filter'](_0x48e2c2=>_0x9ba099(_0x48e2c2[0x1])));}function _0x2e2ae5(_0x12f5fa){const _0x2197ee=_0x571676;return _0x3df33c['has'](_0x12f5fa[_0x2197ee(0x292)])?[..._0x566424,..._0x56f032]:_0x12f5fa[_0x2197ee(0x292)]===_0x13cf76[_0x2197ee(0x517)]['Formula']?[..._0x566424,..._0x4d721f(_0x12f5fa)===_0x2197ee(0x44b)?_0x3cdb38:_0x56f032]:_0x566424;}function _0xb8bdd7(_0x1891e2,_0x5ec547){return _0x2e2ae5(_0x1891e2)['includes'](_0x5ec547);}function _0xa2d18d(_0x208854,_0x3399cf,_0x2fb35e){const _0x296bf8=_0x571676;if(!_0xb8bdd7(_0x208854,_0x2fb35e))return null;let _0x346f44=_0x3399cf[_0x296bf8(0x3c4)](_0x5a288a=>!_0x578626(_0x208854,_0x5a288a));switch(_0x2fb35e){case _0x296bf8(0x1fb):return _0x3399cf['length'];case _0x296bf8(0x18e):return _0x346f44['length'];case _0x296bf8(0x252):return _0x3399cf[_0x296bf8(0x4e9)]-_0x346f44['length'];case _0x296bf8(0x3bf):return new Set(_0x346f44[_0x296bf8(0x329)](_0x1cb9fa=>_0x3c3cbb(_0x208854,_0x1cb9fa)))[_0x296bf8(0x366)];case _0x296bf8(0x1db):{let _0x4837ee=_0x2c3031(_0x208854,_0x346f44);return _0x4837ee[_0x296bf8(0x4e9)]?_0x4badca(_0x4837ee):null;}case _0x296bf8(0x442):{let _0x42f5f9=_0x2c3031(_0x208854,_0x346f44);return _0x42f5f9[_0x296bf8(0x4e9)]?_0x4badca(_0x42f5f9)/_0x42f5f9[_0x296bf8(0x4e9)]:null;}case _0x296bf8(0x5a2):{let _0x3d0c02=_0x2c3031(_0x208854,_0x346f44);return _0x3d0c02['length']?Math[_0x296bf8(0x5a2)](..._0x3d0c02):null;}case'max':{let _0x154724=_0x2c3031(_0x208854,_0x346f44);return _0x154724['length']?Math[_0x296bf8(0x402)](..._0x154724):null;}}}function _0x2e2210(_0x5c8e42,_0x4aa231,_0x490475){const _0x16918e=_0x571676;if(_0x490475==null||!Number[_0x16918e(0x195)](_0x490475))return'-';if(_0x566424['includes'](_0x4aa231))return String(_0x490475);switch(_0x5c8e42['type']){case _0x13cf76[_0x16918e(0x517)]['Number']:return _0x4dcf16(_0x490475,_0x2f78d7(_0x5c8e42));case _0x13cf76[_0x16918e(0x517)][_0x16918e(0x39e)]:return _0x4dcf16(_0x490475,_0xc13aef(_0x5c8e42));case _0x13cf76['BaseFieldType'][_0x16918e(0x51c)]:return _0x40750c(_0x490475,_0x5c8e42['config']);case _0x13cf76['BaseFieldType'][_0x16918e(0x26c)]:return _0x44d203(_0x490475,_0x5c8e42);default:return _0x5547f3(_0x490475);}}function _0x578626(_0x14256f,_0x1143d2){const _0x2eac29=_0x571676;if(_0x1143d2==null)return!0x0;if(typeof _0x1143d2==_0x2eac29(0x2b6))return _0x1143d2[_0x2eac29(0x2cd)]()==='';if(Array[_0x2eac29(0x21f)](_0x1143d2))return _0x14256f[_0x2eac29(0x292)]===_0x13cf76[_0x2eac29(0x517)][_0x2eac29(0x312)]?!_0x1143d2[_0x2eac29(0x1ab)](_0x2305b6):_0x1143d2['length']===0x0;if(_0x14256f[_0x2eac29(0x292)]===_0x13cf76['BaseFieldType'][_0x2eac29(0x3b6)]&&typeof _0x1143d2==_0x2eac29(0x1a7)){let _0x35f452=_0x1143d2;return[_0x35f452[_0x2eac29(0x5df)],_0x35f452['url']][_0x2eac29(0x5a5)](_0x2a587d=>_0x2a587d==null||String(_0x2a587d)['trim']()==='');}return!0x1;}function _0x2c3031(_0x42218b,_0x4c4107){const _0x38db53=_0x571676;let _0x30e865=[];for(let _0x1be0a7 of _0x4c4107){let _0x4f47e7=_0x1397fc(_0x42218b,_0x1be0a7);_0x4f47e7!=null&&_0x30e865[_0x38db53(0x401)](_0x4f47e7);}return _0x30e865;}function _0x1397fc(_0x4477a4,_0x55c884){const _0x4f60bb=_0x571676;if(typeof _0x55c884==_0x4f60bb(0x3dc))return Number[_0x4f60bb(0x195)](_0x55c884)?_0x55c884:null;if(_0x4477a4[_0x4f60bb(0x292)]!==_0x13cf76['BaseFieldType']['Formula']&&typeof _0x55c884==_0x4f60bb(0x2b6)&&_0x55c884['trim']()!==''){let _0x1666e9=Number(_0x55c884);return Number['isFinite'](_0x1666e9)?_0x1666e9:null;}return null;}function _0x4badca(_0x4c8fcc){const _0x4f66cb=_0x571676;let _0x56d79b=0x0,_0x402316=0x0;for(let _0x477cec of _0x4c8fcc){let _0x5dd3ff=_0x56d79b+_0x477cec;_0x402316+=Math[_0x4f66cb(0x1cf)](_0x56d79b)>=Math['abs'](_0x477cec)?_0x56d79b-_0x5dd3ff+_0x477cec:_0x477cec-_0x5dd3ff+_0x56d79b,_0x56d79b=_0x5dd3ff;}return _0x56d79b+_0x402316;}function _0x3c3cbb(_0x36591d,_0x3109a6){const _0x4f8f51=_0x571676;return _0x450dd3[_0x4f8f51(0x370)](_0x36591d['type'])&&Array[_0x4f8f51(0x21f)](_0x3109a6)?_0x162b8b([...new Set(_0x3109a6['map'](_0x36cdf8=>_0x162b8b(_0xdb0a1f(_0x36cdf8))))]['sort']()):_0x162b8b(_0xdb0a1f(_0x3109a6));}function _0xdb0a1f(_0x2fbbac){const _0x4dec10=_0x571676;return Array[_0x4dec10(0x21f)](_0x2fbbac)?_0x2fbbac['map'](_0xdb0a1f):_0x2fbbac&&typeof _0x2fbbac=='object'?Object[_0x4dec10(0x1fc)](Object[_0x4dec10(0x460)](_0x2fbbac)[_0x4dec10(0x4af)](([_0x9dddf6],[_0x18ad2a])=>_0x9dddf6[_0x4dec10(0x391)](_0x18ad2a))['map'](([_0x160ed7,_0x56daee])=>[_0x160ed7,_0xdb0a1f(_0x56daee)])):_0x2fbbac;}function _0x162b8b(_0x391229){const _0x5350a7=_0x571676;return JSON[_0x5350a7(0x30d)](_0x391229)??_0x5350a7(0x306);}function _0x2305b6(_0x3662a2){const _0x1def23=_0x571676;if(typeof _0x3662a2==_0x1def23(0x2b6))return _0x3662a2[_0x1def23(0x2cd)]()!=='';if(!_0x3662a2||typeof _0x3662a2!=_0x1def23(0x1a7))return!0x1;let _0xfdf2a0=_0x3662a2;return[_0xfdf2a0['id'],_0xfdf2a0[_0x1def23(0x46d)],_0xfdf2a0[_0x1def23(0x47d)],_0xfdf2a0[_0x1def23(0x395)],_0xfdf2a0['thumbnail']][_0x1def23(0x1ab)](_0x238386=>_0x238386!=null&&String(_0x238386)[_0x1def23(0x2cd)]()!=='');}function _0x2f78d7(_0x230a93){const _0x53cf42=_0x571676;let _0x11dc50=_0x54f791(_0x230a93[_0x53cf42(0x5b9)]);return{'decimalPlaces':_0x514550(_0x11dc50[_0x53cf42(0x598)],0x0,0x14,0x2),'separatorStyle':typeof _0x11dc50[_0x53cf42(0x570)]=='string'?_0x11dc50['separatorStyle']:_0x53cf42(0x576),'locale':typeof _0x11dc50[_0x53cf42(0x40a)]==_0x53cf42(0x2b6)?_0x11dc50['locale']:void 0x0,'useThousands':_0x11dc50[_0x53cf42(0x26b)]!==!0x1,'abbreviation':typeof _0x11dc50[_0x53cf42(0x5d9)]==_0x53cf42(0x2b6)?_0x11dc50[_0x53cf42(0x5d9)]:_0x53cf42(0x2a6)};}function _0xc13aef(_0x1243f7){const _0xd6dd97=_0x571676;let _0x50b6e2=_0x54f791(_0x1243f7[_0xd6dd97(0x5b9)]);return{..._0x2f78d7(_0x1243f7),'currencySymbol':String(_0x50b6e2[_0xd6dd97(0x595)]??'$')};}function _0x44d203(_0x1a4e4d,_0x581f7b){const _0x91e663=_0x571676;let _0x37531e=_0x375ae7(_0x581f7b);if(_0x37531e===_0x3791de)return _0x5547f3(_0x1a4e4d);try{return String(_0x13cf76['numfmt'][_0x91e663(0x278)](_0x37531e,_0x1a4e4d,{'throws':!0x1}));}catch{return _0x5547f3(_0x1a4e4d);}}function _0x4d721f(_0x1ec4c8){const _0x4c4af0=_0x571676;let _0x562da2=_0x54f791(_0x54f791(_0x1ec4c8[_0x4c4af0(0x5b9)])['numfmt']);return typeof _0x562da2[_0x4c4af0(0x292)]==_0x4c4af0(0x2b6)?_0x562da2[_0x4c4af0(0x292)]:'general';}function _0x375ae7(_0x64d83a){const _0x5c705e=_0x571676;let _0x23297d=_0x54f791(_0x54f791(_0x64d83a['config'])[_0x5c705e(0x57f)]);return String(_0x23297d['pattern']??_0x3791de)[_0x5c705e(0x2cd)]()||_0x3791de;}function _0x5547f3(_0x35b01d){const _0x1f30cd=_0x571676;return String(Number[_0x1f30cd(0x5be)](_0x35b01d)?_0x35b01d:Math[_0x1f30cd(0x43e)]((_0x35b01d+0x2**-0x34)*0x64)/0x64);}function _0x54f791(_0x5af07d){const _0x33e4aa=_0x571676;return _0x5af07d&&typeof _0x5af07d==_0x33e4aa(0x1a7)&&!Array[_0x33e4aa(0x21f)](_0x5af07d)?_0x5af07d:{};}function _0x25168e(_0x50241f){const _0x1ddfb3=_0x571676;if(_0x50241f==null||_0x50241f==='')return null;let _0x23a690=typeof _0x50241f=='number'?_0x50241f:Number(_0x50241f);return Number[_0x1ddfb3(0x195)](_0x23a690)?_0x23a690:null;}function _0x514550(_0x5c6d8c,_0x2d9093,_0x219fec,_0x54285d){const _0x188f68=_0x571676;let _0x1118dd=_0x25168e(_0x5c6d8c);return _0x1118dd==null?_0x54285d:Math['max'](_0x2d9093,Math[_0x188f68(0x5a2)](_0x219fec,Math[_0x188f68(0x43e)](_0x1118dd)));}function _0x4849e3(_0x2f1443,_0x2b9bec){const _0x2ac538=_0x571676;let _0x55f4c5=_0x13cf76[_0x2ac538(0x39a)]['deepClone'](_0x2f1443),_0x44559a=_0x2b9bec[_0x2ac538(0x416)]===!0x0,_0x74af9=new Map(),_0x218f35=_0x2b9bec[_0x2ac538(0x303)]??(()=>'view-'+(0x0,_0x13cf76[_0x2ac538(0x3c0)])(0x8)),_0x2266dc=_0x55f4c5[_0x2ac538(0x43a)];return _0x2b9bec[_0x2ac538(0x571)]&&(_0x2266dc=_0x55f4c5['viewOrder'][_0x2ac538(0x329)](_0x8ae338=>{let _0x176df3=_0x218f35();return _0x74af9['set'](_0x8ae338,_0x176df3),_0x176df3;})),{..._0x55f4c5,'id':_0x2b9bec['id'],'name':_0x2b9bec[_0x2ac538(0x46d)],'records':_0x44559a?_0x55f4c5[_0x2ac538(0x38f)]:{},'recordOrder':_0x44559a?_0x55f4c5[_0x2ac538(0x1cd)]:[],'rowIndex':_0x44559a?_0x55f4c5[_0x2ac538(0x563)]:{},'rowId':_0x44559a?_0x55f4c5[_0x2ac538(0x556)]:{},'cellData':_0x44559a?_0x55f4c5[_0x2ac538(0x38e)]:{},'resources':_0x44559a?_0x55f4c5[_0x2ac538(0x23c)]:{},'viewOrder':_0x2266dc,'views':Object[_0x2ac538(0x1fc)](Object[_0x2ac538(0x460)](_0x55f4c5[_0x2ac538(0x18d)]??{})[_0x2ac538(0x329)](([_0x5363bc,_0x3e486c])=>{const _0x46e80e=_0x2ac538;let _0x3cb640=_0x74af9[_0x46e80e(0x59c)](_0x5363bc)??(_0x2b9bec[_0x46e80e(0x571)]?_0x218f35():_0x5363bc);return[_0x3cb640,{..._0x3e486c,'id':_0x3cb640,'tableId':_0x2b9bec['id']}];}))};}var _0x52eb37=_0x571676(0x212),_0x126433=_0x571676(0x4f3);let _0xca87a2={},_0x274a16={};function _0x261471(_0x55da82){const _0x259f38=_0x571676;return new _0x1aaf1b()[_0x259f38(0x491)](_0x55da82);}function _0x30020a(_0x2f9084){const _0x26f115=_0x571676;return _0x2f9084[_0x26f115(0x2d8)]['map'](_0x4e5d81=>({'unitId':_0x2f9084[_0x26f115(0x2aa)],'sheetId':_0x2f9084['tableId'],'range':{'startRow':_0x4e5d81[_0x26f115(0x22f)],'endRow':_0x4e5d81[_0x26f115(0x22f)],'startColumn':_0x4e5d81[_0x26f115(0x5ac)],'endColumn':_0x4e5d81[_0x26f115(0x5ac)]}}));}function _0x3d81f3(_0x583549,_0x5dcfb7){const _0x49d8ea=_0x571676;return{[_0x583549]:Object[_0x49d8ea(0x1fc)](_0x5dcfb7[_0x49d8ea(0x329)](_0x312328=>[_0x312328,'1']))};}let _0x34294d=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x32f943,_0x1977af){const _0x46a2be=_0x571676;super(),this[_0x46a2be(0x19b)]=_0x32f943,this[_0x46a2be(0x380)]=_0x1977af,this[_0x46a2be(0x50b)]();}[_0x571676(0x50b)](){const _0x4fb0b7=_0x571676;this[_0x4fb0b7(0x19b)][_0x4fb0b7(0x339)](_0x4d02c8['id'],{'commandId':_0x4d02c8['id'],'getDirtyData':_0x46a0bf=>this[_0x4fb0b7(0x522)](_0x46a0bf['params'])}),this[_0x4fb0b7(0x48a)]((0x0,_0x13cf76[_0x4fb0b7(0x539)])(()=>{const _0x24754b=_0x4fb0b7;this[_0x24754b(0x19b)][_0x24754b(0x349)](_0x4d02c8['id']);}));}['_getTable'](_0x51b30c,_0x14c370){const _0x1eb966=_0x571676;let _0x46293a=this['_univerInstanceService'][_0x1eb966(0x363)](_0x51b30c,_0x13cf76[_0x1eb966(0x331)][_0x1eb966(0x321)]);return(_0x46293a==null?void 0x0:_0x46293a[_0x1eb966(0x463)]()['tables'][_0x14c370])??null;}[_0x571676(0x522)](_0x217fab){const _0x1b13dc=_0x571676;if(_0x217fab[_0x1b13dc(0x512)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x217fab[_0x1b13dc(0x2aa)]||!_0x217fab['op'])return{'clearDependencyTreeCache':this[_0x1b13dc(0x224)](),'forceCalculation':!0x0};let _0x140163=_0x261471(_0x217fab['op']),_0x30b805=this[_0x1b13dc(0x1bf)](_0x217fab['unitId'],_0x140163);if(_0x30b805[_0x1b13dc(0x4e9)])return{'clearDependencyTreeCache':_0x3d81f3(_0x217fab[_0x1b13dc(0x2aa)],_0x30b805),'forceCalculation':!0x0};let _0x3db33f=Object[_0x1b13dc(0x460)](this[_0x1b13dc(0x341)](_0x217fab[_0x1b13dc(0x2aa)],_0x140163))['flatMap'](([_0x391eb8,_0x6ae0c8])=>_0x30020a({'unitId':_0x217fab[_0x1b13dc(0x2aa)],'tableId':_0x391eb8,'patches':_0x6ae0c8}));return _0x3db33f[_0x1b13dc(0x4e9)]?{'dirtyRanges':_0x3db33f}:{};}[_0x571676(0x1bf)](_0x3e29b4,_0x420e76){const _0x59ce2e=_0x571676;let _0xc7f745=_0x420e76[_0x59ce2e(0x3c4)](_0x23a40e=>_0x23a40e[_0x59ce2e(0x2a3)]!==_0x59ce2e(0x4d1))[_0x59ce2e(0x387)](_0x35a9c9=>_0x35a9c9[_0x59ce2e(0x33f)]?[_0x35a9c9['tableId']]:this[_0x59ce2e(0x45d)](_0x3e29b4));return Array['from'](new Set(_0xc7f745));}['_groupCellInvalidations'](_0x4e2e1b,_0x299c9a){const _0x1ac5cd=_0x571676;let _0x27838e=new Set();return _0x299c9a[_0x1ac5cd(0x53e)]((_0xf56547,_0x39a1c7)=>{const _0x4f19f6=_0x1ac5cd;let _0x434e5e=this['_toDirtyRangePatch'](_0x4e2e1b,_0x39a1c7);if(!_0x434e5e)return _0xf56547;let _0x11870d=_0x39a1c7['tableId']+':'+_0x434e5e[_0x4f19f6(0x22f)]+':'+_0x434e5e[_0x4f19f6(0x5ac)];return _0x27838e['has'](_0x11870d)||(_0x27838e['add'](_0x11870d),_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]=_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]??[],_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]][_0x4f19f6(0x401)](_0x434e5e)),_0xf56547;},{});}[_0x571676(0x17e)](_0x76e230,_0x3ee3b9){const _0x3f17b6=_0x571676;if(_0x3ee3b9[_0x3f17b6(0x2a3)]!==_0x3f17b6(0x4d1))return null;if(_0x3ee3b9[_0x3f17b6(0x22f)]!=null&&_0x3ee3b9[_0x3f17b6(0x235)]!=null)return{'row':_0x3ee3b9[_0x3f17b6(0x22f)],'col':_0x3ee3b9[_0x3f17b6(0x235)],'value':null};if(!_0x3ee3b9[_0x3f17b6(0x5c4)]||!_0x3ee3b9[_0x3f17b6(0x384)])return null;let _0x7633d8=this[_0x3f17b6(0x456)](_0x76e230,_0x3ee3b9[_0x3f17b6(0x33f)]);if(!_0x7633d8)return null;let _0x3e57ee=_0x46d754(_0x7633d8,_0x3ee3b9[_0x3f17b6(0x5c4)],_0x3ee3b9['fieldId']);return _0x3e57ee?{'row':_0x3e57ee[_0x3f17b6(0x22f)],'col':_0x3e57ee[_0x3f17b6(0x5ac)],'value':null}:null;}['_getAllTableIds'](_0x6cc350){const _0x166631=_0x571676;let _0x27b066=this[_0x166631(0x380)][_0x166631(0x363)](_0x6cc350,_0x13cf76[_0x166631(0x331)][_0x166631(0x321)]);return Object[_0x166631(0x334)]((_0x27b066==null?void 0x0:_0x27b066[_0x166631(0x463)]()[_0x166631(0x291)])??{})[_0x166631(0x329)](_0x3a472b=>_0x3a472b['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x5a8fc9=_0x571676;let _0x1e2585=this[_0x5a8fc9(0x380)][_0x5a8fc9(0x4bd)](_0x13cf76[_0x5a8fc9(0x331)][_0x5a8fc9(0x321)])[_0x5a8fc9(0x329)](_0x5741ca=>_0x3d81f3(_0x5741ca[_0x5a8fc9(0x5ca)](),Object[_0x5a8fc9(0x2db)](_0x5741ca[_0x5a8fc9(0x463)]()['tables'])));return Object['assign']({},..._0x1e2585);}};_0x34294d=_0xd015f8([_0xddcdca(0x0,_0x43fb1e[_0x571676(0x3bc)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x34294d);let _0x109762=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0xcb3a18,_0x7a6176,_0x56ce9b,_0x5a4a1a){const _0x39d209=_0x571676;super(),this[_0x39d209(0x485)]=_0xcb3a18,this['_univerInstanceService']=_0x7a6176,this[_0x39d209(0x4b0)]=_0x56ce9b,this['_formulaCalculationSessionService']=_0x5a4a1a,_0x1a302a(this,'_formulaService',new _0x3bb03f()),_0x1a302a(this,_0x39d209(0x216),new Map()),_0x1a302a(this,'_scheduledSuperTableSyncs',new Set()),_0x1a302a(this,_0x39d209(0x3c7),Promise['resolve']()),_0x1a302a(this,'_applyingFormulaResults',!0x1),this[_0x39d209(0x50b)]();}['_initialize'](){const _0x25c042=_0x571676;this[_0x25c042(0x380)][_0x25c042(0x4bd)](_0x13cf76['UniverInstanceType'][_0x25c042(0x321)])[_0x25c042(0x3c9)](_0x50bc3a=>{this['_scheduleSuperTableSync'](_0x50bc3a);}),this[_0x25c042(0x48a)](this[_0x25c042(0x380)][_0x25c042(0x325)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](({unit:_0x4eb1c2})=>{const _0x4b6474=_0x25c042;this[_0x4b6474(0x2c6)](_0x4eb1c2);})),this[_0x25c042(0x48a)](this['_univerInstanceService'][_0x25c042(0x33a)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](_0x39b1bd=>{const _0x9a6f43=_0x25c042;this[_0x9a6f43(0x54a)](()=>this[_0x9a6f43(0x2f0)](_0x39b1bd[_0x9a6f43(0x5ca)]()));})),this[_0x25c042(0x48a)](this[_0x25c042(0x485)][_0x25c042(0x38d)](_0x435b0f=>this['_onCommandExecuted'](_0x435b0f)));}[_0x571676(0x233)](_0x4c7d5b){const _0xdf4c87=_0x571676;if(_0x4c7d5b['id']===_0x43fb1e[_0xdf4c87(0x4c7)]['id']){_0x2d960e(_0x4c7d5b[_0xdf4c87(0x1b8)])&&this[_0xdf4c87(0x22c)](_0x4c7d5b['params']);return;}if(this[_0xdf4c87(0x3b7)]||_0x4c7d5b['id']!==_0x4d02c8['id'])return;let _0x38b7f6=_0x2c6cbb(_0x4c7d5b[_0xdf4c87(0x1b8)])?_0x4c7d5b[_0xdf4c87(0x1b8)]:void 0x0,_0x2c4c0d=_0x38b7f6!=null&&_0x38b7f6[_0xdf4c87(0x2aa)]?[this[_0xdf4c87(0x380)][_0xdf4c87(0x363)](_0x38b7f6['unitId'],_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)])][_0xdf4c87(0x3c4)](_0x1087ba=>!!_0x1087ba):this['_univerInstanceService'][_0xdf4c87(0x4bd)](_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)]),_0x32de76=_0x38b7f6==null?void 0x0:_0x38b7f6['op'];_0x2c4c0d[_0xdf4c87(0x3c9)](_0x520ebc=>{const _0x1e24d4=_0xdf4c87;let _0x43ca5c=_0x32de76?_0x261471(_0x32de76):[];(!_0x32de76||_0x43ca5c[_0x1e24d4(0x1ab)](_0x22993f=>_0x22993f[_0x1e24d4(0x2a3)]!=='cell'))&&this[_0x1e24d4(0x2c6)](_0x520ebc);});}[_0x571676(0x2c6)](_0x21bf81){const _0x5d5c7d=_0x571676;let _0x2d0df4=_0x21bf81[_0x5d5c7d(0x5ca)]();this['_scheduledSuperTableSyncs']['has'](_0x2d0df4)||(this[_0x5d5c7d(0x573)][_0x5d5c7d(0x54c)](_0x2d0df4),this[_0x5d5c7d(0x54a)](async()=>{const _0x5643a6=_0x5d5c7d;this[_0x5643a6(0x573)][_0x5643a6(0x37c)](_0x2d0df4),await this[_0x5643a6(0x222)](_0x21bf81);}));}async[_0x571676(0x222)](_0xe6ff1d){const _0x5f09f9=_0x571676;let _0x3a305c=_0xe6ff1d[_0x5f09f9(0x5ca)](),_0x58c225=this[_0x5f09f9(0x408)][_0x5f09f9(0x48d)](_0xe6ff1d[_0x5f09f9(0x463)]()),_0x4a11b3=new Set(_0x58c225['map'](({tableName:_0x3de490})=>_0x3de490)),_0x4dcf7f=this[_0x5f09f9(0x216)][_0x5f09f9(0x59c)](_0x3a305c)??new Set();for(let _0x49bdaa of _0x4dcf7f)if(!_0x4a11b3[_0x5f09f9(0x370)](_0x49bdaa)&&!await this['_executeSuperTableMutationWhileActive'](_0x43fb1e[_0x5f09f9(0x482)]['id'],{'unitId':_0x3a305c,'tableName':_0x49bdaa}))return;for(let {tableName:_0x3016b1,reference:_0x36e634}of _0x58c225)if(!await this[_0x5f09f9(0x1e8)](_0x43fb1e[_0x5f09f9(0x3f2)]['id'],{'unitId':_0x3a305c,'tableName':_0x3016b1,'reference':_0x36e634}))return;this['_registeredSuperTableNames'][_0x5f09f9(0x569)](_0x3a305c,_0x4a11b3);}async[_0x571676(0x2f0)](_0x3c09aa){const _0x138523=_0x571676;let _0x4b04ba=this[_0x138523(0x216)][_0x138523(0x59c)](_0x3c09aa)??new Set();for(let _0x13201d of _0x4b04ba)if(!await this[_0x138523(0x1e8)](_0x43fb1e['RemoveSuperTableMutation']['id'],{'unitId':_0x3c09aa,'tableName':_0x13201d}))return;this[_0x138523(0x216)]['delete'](_0x3c09aa);}async[_0x571676(0x1e8)](_0x752d53,_0x21a6a8){const _0x550f67=_0x571676;return!this[_0x550f67(0x17f)]&&await this[_0x550f67(0x485)]['executeCommand'](_0x752d53,_0x21a6a8,{'onlyLocal':!0x0})&&!this[_0x550f67(0x17f)];}['_enqueueFormulaSync'](_0x40438e){const _0x5370b9=_0x571676;this['_formulaSyncQueue']=this[_0x5370b9(0x3c7)][_0x5370b9(0x1bc)](_0x40438e,_0x40438e)[_0x5370b9(0x3d4)](()=>void 0x0);}[_0x571676(0x22c)](_0x5caa6d){const _0x5a3e7c=_0x571676;let _0x58ddd4=this[_0x5a3e7c(0x380)][_0x5a3e7c(0x4bd)](_0x13cf76[_0x5a3e7c(0x331)]['UNIVER_BASE']);if(!_0x58ddd4[_0x5a3e7c(0x1ab)](_0x15b9e0=>{const _0xb5ea3f=_0x5a3e7c;var _0x3aa5d0;return((_0x3aa5d0=_0x5caa6d[_0xb5ea3f(0x225)])==null?void 0x0:_0x3aa5d0[_0x15b9e0[_0xb5ea3f(0x5ca)]()])!=null;}))return;let _0x17648f=_0x58ddd4['flatMap'](_0x5c4cd6=>_0x182f9d(_0x5c4cd6[_0x5a3e7c(0x463)](),_0x5caa6d));if(!_0x17648f['length']){this['_formulaCalculationSessionService'][_0x5a3e7c(0x2a8)](_0x310830[_0x5a3e7c(0x31c)][_0x5a3e7c(0x555)],_0x5caa6d);return;}let _0xde0136=new _0x3db0f3(),_0x57bd9f=_0x17648f['flatMap'](_0x5d5bc1=>_0x30020a({'unitId':_0x5d5bc1[_0x5a3e7c(0x2aa)],'tableId':_0x5d5bc1['tableId'],'patches':_0x5d5bc1[_0x5a3e7c(0x2d8)]}));this[_0x5a3e7c(0x3b7)]=!0x0,(async()=>{const _0x3da524=_0x5a3e7c;for(let _0x44f396 of _0x17648f){let _0x3ae2c3=this[_0x3da524(0x380)][_0x3da524(0x363)](_0x44f396[_0x3da524(0x2aa)],_0x13cf76[_0x3da524(0x331)][_0x3da524(0x321)]);_0x3ae2c3&&await this[_0x3da524(0x485)][_0x3da524(0x242)](_0x4d02c8['id'],{'unitId':_0x44f396[_0x3da524(0x2aa)],'op':_0xde0136[_0x3da524(0x23a)](_0x3ae2c3['getSnapshot'](),_0x44f396[_0x3da524(0x33f)],_0x44f396[_0x3da524(0x2d8)]),'trigger':_0x43fb1e['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x3da524(0x485)]['executeCommand'](_0x43fb1e[_0x3da524(0x1a0)]['id'],{'dirtyRanges':_0x57bd9f},{'onlyLocal':!0x0});})()[_0x5a3e7c(0x215)](()=>{const _0x39139c=_0x5a3e7c;this[_0x39139c(0x3b7)]=!0x1,this[_0x39139c(0x550)][_0x39139c(0x2a8)](_0x310830[_0x39139c(0x31c)][_0x39139c(0x555)],_0x5caa6d);});}};_0x109762=_0xd015f8([_0xddcdca(0x0,_0x13cf76['ICommandService']),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x2,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x43fb1e[_0x571676(0x480)])),_0xddcdca(0x3,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x310830[_0x571676(0x316)]))],_0x109762);function _0x2c6cbb(_0x22afd7){const _0x1c7ad2=_0x571676;return typeof _0x22afd7==_0x1c7ad2(0x1a7)&&!!_0x22afd7&&'unitId'in _0x22afd7&&typeof _0x22afd7[_0x1c7ad2(0x2aa)]==_0x1c7ad2(0x2b6)&&'op'in _0x22afd7&&Array[_0x1c7ad2(0x21f)](_0x22afd7['op']);}function _0x2d960e(_0x445b5f){const _0x2a70a0=_0x571676;return typeof _0x445b5f==_0x2a70a0(0x1a7)&&!!_0x445b5f&&'unitData'in _0x445b5f&&_0x2a70a0(0x5cc)in _0x445b5f;}let _0x28a88b=new Set([_0x7879f9['id'],_0x1d1662['id'],_0x37f9a6['id']]),_0x2ed944=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x5c38e6,_0x1f8e0f,_0x1f2f9d,_0x48cd08){const _0xcb83a6=_0x571676;super(),this[_0xcb83a6(0x340)]=_0x5c38e6,this[_0xcb83a6(0x485)]=_0x1f8e0f,this[_0xcb83a6(0x3e4)]=_0x1f2f9d,this[_0xcb83a6(0x1c6)]=_0x48cd08,this[_0xcb83a6(0x1c6)][_0xcb83a6(0x4bd)](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x3c9)](_0x3f1dd5=>this[_0xcb83a6(0x275)](_0x3f1dd5['getUnitId']())),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)]['getTypeOfUnitAdded$'](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](({unit:_0x405d9a})=>this['_registerUnitPermissionPoints'](_0x405d9a['getUnitId']()))),this['disposeWithMe'](this['_commandService'][_0xcb83a6(0x3d3)]((_0x3ae9dd,_0x1df90a)=>this[_0xcb83a6(0x376)](_0x3ae9dd,_0x1df90a))),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)][_0xcb83a6(0x33a)](_0x13cf76[_0xcb83a6(0x331)][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](_0x3e5290=>{const _0x1e32f7=_0xcb83a6;this[_0x1e32f7(0x340)][_0x1e32f7(0x59c)](_0x13cf76[_0x1e32f7(0x4fa)])[_0x1e32f7(0x5c6)](_0x3e5290[_0x1e32f7(0x5ca)]()),_0x43ed86(this['_permissionService'],_0x3e5290[_0x1e32f7(0x5ca)]());}));}[_0x571676(0x275)](_0x273b3a){const _0x588415=_0x571676;_0x147f37[_0x588415(0x3c9)](_0x14bea2=>{const _0xef434b=_0x588415;let _0x176af3=_0x41f091(_0x273b3a,_0x273b3a,_0x14bea2);this['_permissionService']['getPermissionPoint'](_0x176af3['id'])||this['_permissionService'][_0xef434b(0x2d2)](_0x176af3);}),this[_0x588415(0x340)][_0x588415(0x59c)](_0x13cf76[_0x588415(0x4fa)])['initializeUnit']({'unitId':_0x273b3a,'objectId':_0x273b3a,'objectType':_0x93a0d4[_0x588415(0x1a5)][_0x588415(0x52e)]});}[_0x571676(0x376)](_0x34103d,_0x19e718){const _0x136465=_0x571676;var _0xd4b8d8;if(_0x19e718!=null&&_0x19e718['fromCollab']||_0x19e718!=null&&_0x19e718['fromChangeset'])return;let _0x56635e=_0x1541b3(_0x34103d[_0x136465(0x1b8)])?_0x34103d[_0x136465(0x1b8)]:void 0x0;if(_0x19e718!=null&&_0x19e718['onlyLocal']&&_0x34103d['id']===_0x136465(0x441)&&(_0x56635e==null?void 0x0:_0x56635e['trigger'])===_0x43fb1e[_0x136465(0x4c7)]['id'])return;let _0x36fea1=_0x151f2b(_0x34103d['id']),_0x44b8ee=_0x401a24(_0x56635e==null?void 0x0:_0x56635e[_0x136465(0x2aa)],_0x19e718)??(_0x36fea1?(_0xd4b8d8=this[_0x136465(0x1c6)][_0x136465(0x591)](_0x13cf76[_0x136465(0x331)][_0x136465(0x321)]))==null?void 0x0:_0xd4b8d8[_0x136465(0x5ca)]():void 0x0);if(!_0x44b8ee||this[_0x136465(0x1c6)][_0x136465(0x4db)](_0x44b8ee)!==_0x13cf76[_0x136465(0x331)][_0x136465(0x321)])return;if(_0x36fea1){if(!_0x22a775(this[_0x136465(0x3e4)],_0x44b8ee,_0x44b8ee,_0x36fea1))throw this[_0x136465(0x340)][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])['emitPermissionDenied'](_0x44b8ee),new _0x13cf76['CustomCommandExecutionError']('Base\x20'+_0x93a0d4[_0x136465(0x2a0)][_0x36fea1]+_0x136465(0x2f2));return;}if(_0x28a88b[_0x136465(0x370)](_0x34103d['id'])||!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x5b3))&&!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x274)))return;let _0x4973b8=this[_0x136465(0x1c6)][_0x136465(0x363)](_0x44b8ee,_0x13cf76['UniverInstanceType'][_0x136465(0x321)]),_0x592083=_0x4973b8?_0x24d555(_0x4973b8,_0x56635e??{},_0x34103d['id']):[];if(!_0x4973b8||!_0x712233(this[_0x136465(0x3e4)],_0x44b8ee,_0x592083))throw this['_injector'][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])[_0x136465(0x46a)](_0x44b8ee,_0x592083),new _0x13cf76[(_0x136465(0x56b))](_0x136465(0x1c9));}};_0x2ed944=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x1,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x3,_0x13cf76['IUniverInstanceService'])],_0x2ed944);function _0x401a24(_0x30d14a,_0x48afab){const _0x4c6c5e=_0x571676;return typeof _0x30d14a==_0x4c6c5e(0x2b6)?_0x30d14a:typeof(_0x48afab==null?void 0x0:_0x48afab[_0x4c6c5e(0x2aa)])==_0x4c6c5e(0x2b6)?_0x48afab[_0x4c6c5e(0x2aa)]:void 0x0;}function _0x151f2b(_0x5acf11){const _0x5f1f1e=_0x571676;if(_0x5acf11===_0x5f1f1e(0x503)||_0x5acf11===_0x5f1f1e(0x3d2))return _0x93a0d4[_0x5f1f1e(0x2a0)][_0x5f1f1e(0x466)];if(_0x5acf11[_0x5f1f1e(0x33b)](_0x5f1f1e(0x2f4))||_0x5acf11['startsWith'](_0x5f1f1e(0x57c)))return _0x93a0d4['UnitAction'][_0x5f1f1e(0x423)];}function _0x24d555(_0x7fd5f7,_0x4fd742,_0x41b7cd){const _0x2d0201=_0x571676;if(_0x41b7cd===_0x2d0201(0x441)&&_0x1f6ea6(_0x4fd742['op']))return _0x21ac5(_0x7fd5f7,_0x4fd742['op']);let _0x2dcf52=new Set(),_0x2eadda=_0x864491(_0x4fd742,_0x2d0201(0x4b7)),_0x372dc9=typeof _0x4fd742['tableId']==_0x2d0201(0x2b6)?_0x4fd742[_0x2d0201(0x33f)]:_0x2eadda[0x0];if(_0x2eadda[_0x2d0201(0x3c9)](_0x5bccae=>_0x2dcf52[_0x2d0201(0x54c)](_0x1162c3(_0x5bccae))),!_0x372dc9)return[..._0x2dcf52];let _0x9ec10b=_0x7fd5f7[_0x2d0201(0x463)]()[_0x2d0201(0x291)][_0x372dc9],_0x204005=new Set(_0x864491(_0x4fd742,'field')),_0x202b6b=new Set(_0x864491(_0x4fd742,_0x2d0201(0x4a9))),_0x5a5a13=new Set(_0x864491(_0x4fd742,_0x2d0201(0x197)));return _0x1870db(_0x9ec10b,_0x4fd742[_0x2d0201(0x2d8)],_0x202b6b,_0x204005),_0x4e9e02(_0x4fd742,_0x204005),_0x204005[_0x2d0201(0x3c9)](_0xb9ee61=>_0x2dcf52[_0x2d0201(0x54c)](_0x1d768a(_0x372dc9,_0xb9ee61))),_0x202b6b[_0x2d0201(0x3c9)](_0x3d657e=>_0x2dcf52[_0x2d0201(0x54c)](_0x458252(_0x372dc9,_0x3d657e))),_0x5a5a13['forEach'](_0x296014=>_0x2dcf52['add'](_0x3c9691(_0x372dc9,_0x296014))),[..._0x2dcf52];}function _0x21ac5(_0xdeff64,_0x4edd4c){const _0x1962ae=_0x571676;let _0x369396=_0xdeff64[_0x1962ae(0x463)](),_0x51007b=new _0x1aaf1b()['getAffectedRanges'](_0x4edd4c),_0x5ecec4=_0x1b4841(_0x4edd4c),_0x1c7f30=new Set();return _0x51007b['forEach'](_0x16a03c=>{const _0x255ab0=_0x1962ae;var _0x1bc6cb,_0x21d454;let {tableId:_0x94c0b0}=_0x16a03c;if(!_0x94c0b0)return;_0x1c7f30['add'](_0x1162c3(_0x94c0b0));let _0x439291=_0x369396[_0x255ab0(0x291)][_0x94c0b0],_0x47180a=_0x16a03c[_0x255ab0(0x5c4)]??(_0x16a03c[_0x255ab0(0x22f)]==null||_0x439291==null||(_0x1bc6cb=_0x439291[_0x255ab0(0x556)])==null?void 0x0:_0x1bc6cb[_0x16a03c[_0x255ab0(0x22f)]]),_0xd0b92b=_0x16a03c[_0x255ab0(0x384)]??(_0x16a03c[_0x255ab0(0x235)]==null||_0x439291==null||(_0x21d454=_0x439291[_0x255ab0(0x351)])==null?void 0x0:_0x21d454[_0x16a03c['column']]);_0x47180a&&_0x1c7f30['add'](_0x458252(_0x94c0b0,_0x47180a)),_0xd0b92b&&_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0xd0b92b)),_0x16a03c[_0x255ab0(0x1ca)]&&_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x16a03c['viewId'])),(_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4b7)||_0x5ecec4['has'](_0x94c0b0))&&_0x439291&&(Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])['forEach'](_0x50fae3=>_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0x50fae3))),Object['keys'](_0x439291[_0x255ab0(0x38f)])['forEach'](_0x232072=>_0x1c7f30[_0x255ab0(0x54c)](_0x458252(_0x94c0b0,_0x232072))),Object[_0x255ab0(0x2db)](_0x439291['views'])['forEach'](_0x509b34=>_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x509b34)))),_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4a9)&&_0x439291&&Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])[_0x255ab0(0x3c9)](_0x44d35a=>_0x1c7f30[_0x255ab0(0x54c)](_0x1d768a(_0x94c0b0,_0x44d35a)));}),_0x51007b['length']===0x0&&_0x50be0c(_0x4edd4c,'tableOrder')&&Object[_0x1962ae(0x2db)](_0x369396[_0x1962ae(0x291)])['forEach'](_0xa01a95=>_0x1c7f30[_0x1962ae(0x54c)](_0x1162c3(_0xa01a95))),[..._0x1c7f30];}function _0x1b4841(_0x51ac15){let _0x50e9e8=new Set(),_0x56bb93=_0x39c101=>{Array['isArray'](_0x39c101)&&_0x39c101['forEach']((_0xf10ed8,_0x572efc)=>{const _0x2671e8=_0x4fc5;_0xf10ed8===_0x2671e8(0x291)&&typeof _0x39c101[_0x572efc+0x1]=='string'&&_0x528e2d(_0x39c101[_0x572efc+0x2])&&_0x50e9e8[_0x2671e8(0x54c)](_0x39c101[_0x572efc+0x1]),_0x56bb93(_0xf10ed8);});};return _0x56bb93(_0x51ac15),_0x50e9e8;}function _0x528e2d(_0x37748f){const _0x3d37a8=_0x571676;return!!_0x37748f&&typeof _0x37748f==_0x3d37a8(0x1a7)&&!Array['isArray'](_0x37748f)&&('i'in _0x37748f||'r'in _0x37748f||'p'in _0x37748f||'d'in _0x37748f||'es'in _0x37748f||_0x3d37a8(0x40f)in _0x37748f||'et'in _0x37748f);}function _0x50be0c(_0x1bd863,_0x4d9bb1){const _0x5c46de=_0x571676;return Array[_0x5c46de(0x21f)](_0x1bd863)&&_0x1bd863[_0x5c46de(0x1ab)](_0x3f9bd1=>_0x3f9bd1===_0x4d9bb1||_0x50be0c(_0x3f9bd1,_0x4d9bb1));}function _0x864491(_0x358202,_0x300419){const _0x19e1e7=_0x571676;let _0x57bae5=new Set(),_0x49c5a3=_0x300419+'Id',_0x1989d7=_0x300419+_0x19e1e7(0x2dc),_0x1ae5ea=(_0x3415ca,_0x5cd736='')=>{const _0x3ce2ea=_0x19e1e7;typeof _0x3415ca=='string'?_0x5cd736===_0x49c5a3&&_0x57bae5['add'](_0x3415ca):Array[_0x3ce2ea(0x21f)](_0x3415ca)?_0x5cd736===_0x1989d7?_0x3415ca[_0x3ce2ea(0x3c9)](_0x3ab36d=>{const _0x5c7fcf=_0x3ce2ea;typeof _0x3ab36d==_0x5c7fcf(0x2b6)&&_0x57bae5[_0x5c7fcf(0x54c)](_0x3ab36d);}):_0x3415ca[_0x3ce2ea(0x3c9)](_0x1670f5=>_0x1ae5ea(_0x1670f5,_0x5cd736)):_0x1541b3(_0x3415ca)&&Object[_0x3ce2ea(0x460)](_0x3415ca)[_0x3ce2ea(0x3c9)](([_0x229e18,_0x20820b])=>{const _0xdaa505=_0x3ce2ea;_0x229e18==='id'&&_0x5cd736===_0x300419&&typeof _0x20820b==_0xdaa505(0x2b6)?_0x57bae5[_0xdaa505(0x54c)](_0x20820b):_0x1ae5ea(_0x20820b,_0x229e18);});};return _0x1ae5ea(_0x358202),[..._0x57bae5];}function _0x1870db(_0x4d1b80,_0x1fde13,_0x1b8c11,_0x51b09b){const _0x8d5d45=_0x571676;_0x4d1b80&&Array[_0x8d5d45(0x21f)](_0x1fde13)&&_0x1fde13[_0x8d5d45(0x3c9)](_0x12ae5e=>{const _0x49084=_0x8d5d45;if(!_0x1541b3(_0x12ae5e))return;let _0x429970=_0x12ae5e;if(typeof _0x429970[_0x49084(0x22f)]==_0x49084(0x3dc)){var _0x16416a;let _0x46709c=(_0x16416a=_0x4d1b80[_0x49084(0x556)])==null?void 0x0:_0x16416a[_0x429970[_0x49084(0x22f)]];_0x46709c&&_0x1b8c11['add'](_0x46709c);}if(typeof _0x429970[_0x49084(0x5ac)]==_0x49084(0x3dc)){var _0xdc3e1f;let _0x586b06=(_0xdc3e1f=_0x4d1b80[_0x49084(0x351)])==null?void 0x0:_0xdc3e1f[_0x429970[_0x49084(0x5ac)]];_0x586b06&&_0x51b09b[_0x49084(0x54c)](_0x586b06);}});}function _0x4e9e02(_0x14a163,_0x3857ec,_0x2680fb=''){const _0x2d85fb=_0x571676;_0x14a163&&typeof _0x14a163=='object'&&(Array['isArray'](_0x14a163)?_0x14a163[_0x2d85fb(0x3c9)](_0x28da2c=>_0x4e9e02(_0x28da2c,_0x3857ec,_0x2680fb)):_0x1541b3(_0x14a163)&&Object['entries'](_0x14a163)['forEach'](([_0x36bd3c,_0x9c2572])=>{const _0x3efdbe=_0x2d85fb;_0x2680fb===_0x3efdbe(0x334)&&_0x3857ec[_0x3efdbe(0x54c)](_0x36bd3c),_0x4e9e02(_0x9c2572,_0x3857ec,_0x36bd3c);}));}function _0x1f6ea6(_0x3b3264){const _0x19d665=_0x571676;return Array[_0x19d665(0x21f)](_0x3b3264);}function _0x1541b3(_0x45dbdb){const _0x539ec3=_0x571676;return typeof _0x45dbdb==_0x539ec3(0x1a7)&&!!_0x45dbdb&&!Array[_0x539ec3(0x21f)](_0x45dbdb);}let _0x2215ee=(0x0,_0x13cf76[_0x571676(0x220)])('base.resource.service'),_0x312145=class{constructor(_0x48c73a){const _0x43ae4f=_0x571676;this[_0x43ae4f(0x380)]=_0x48c73a;}[_0x571676(0x58b)](_0x149d73){const _0x519564=_0x571676;return this['_univerInstanceService'][_0x519564(0x363)](_0x149d73,_0x13cf76[_0x519564(0x331)][_0x519564(0x321)])??null;}[_0x571676(0x39d)](){const _0x5dff6d=_0x571676;return this[_0x5dff6d(0x380)][_0x5dff6d(0x4bd)](_0x13cf76[_0x5dff6d(0x331)][_0x5dff6d(0x321)]);}[_0x571676(0x513)](_0x7ada75){const _0x2957de=_0x571676;return this['_univerInstanceService']['createUnit'](_0x13cf76[_0x2957de(0x331)]['UNIVER_BASE'],_0x7ada75);}};_0x312145=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x59e)])],_0x312145);let _0x31f2d3=(0x0,_0x13cf76[_0x571676(0x220)])('base.view-registry.service');var _0x417de1=class extends _0x13cf76['Disposable']{constructor(..._0x281a15){const _0x51d8d9=_0x571676;super(..._0x281a15),_0x1a302a(this,_0x51d8d9(0x28b),new Map());}['register'](_0x3c604e){const _0x2a5c71=_0x571676;return this[_0x2a5c71(0x28b)]['set'](_0x3c604e[_0x2a5c71(0x292)],_0x3c604e),(0x0,_0x13cf76[_0x2a5c71(0x539)])(()=>this[_0x2a5c71(0x28b)][_0x2a5c71(0x37c)](_0x3c604e[_0x2a5c71(0x292)]));}[_0x571676(0x59c)](_0x524417){const _0x17c94c=_0x571676;let _0x1e9218=this[_0x17c94c(0x28b)][_0x17c94c(0x59c)](_0x524417);if(!_0x1e9218)throw Error(_0x17c94c(0x3c8)+_0x524417+_0x17c94c(0x352));return _0x1e9218;}['getAll'](){const _0x9f00ff=_0x571676;return Array[_0x9f00ff(0x2ed)](this['_plugins'][_0x9f00ff(0x334)]());}};let _0x4a3eb2=[_0x4d02c8],_0x1d3ce7=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x4c8432=_0xca87a2,_0x47926e,_0x3daef1,_0x2e4e2d,_0x1043c9,_0x1d511e){const _0x10c535=_0x571676;super(),this[_0x10c535(0x5d0)]=_0x4c8432,this[_0x10c535(0x340)]=_0x47926e,this[_0x10c535(0x485)]=_0x3daef1,this[_0x10c535(0x380)]=_0x2e4e2d,this['_configService']=_0x1043c9,this[_0x10c535(0x21b)]=_0x1d511e,_0x1a302a(this,'_baseSyncDisposables',new Map());let {..._0x5356da}=(0x0,_0x13cf76[_0x10c535(0x2c4)])({},_0xca87a2,this[_0x10c535(0x5d0)]);this[_0x10c535(0x270)][_0x10c535(0x226)](_0x10c535(0x1eb),_0x5356da),this[_0x10c535(0x380)]['registerCtorForType'](_0x13cf76['UniverInstanceType']['UNIVER_BASE'],_0x13cf76['BaseDataModel']),this[_0x10c535(0x264)](),this[_0x10c535(0x55b)](),this[_0x10c535(0x3d8)](),this[_0x10c535(0x369)]();}[_0x571676(0x389)](){const _0x51eb34=_0x571676;this['_injector']['add']([_0x15ceca]),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76[_0x51eb34(0x1d3)])['registerCommand'](_0x592127)),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ICommandService'])[_0x51eb34(0x45a)](_0x5ba4b4)),this['disposeWithMe'](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ObjectPermissionService'])[_0x51eb34(0x1b5)](_0x93a0d4[_0x51eb34(0x1a5)][_0x51eb34(0x52e)],this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x15ceca),_0x592127['id'],_0x5ba4b4['id']));}[_0x571676(0x2d6)](){const _0xeca840=_0x571676;(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x312145],[_0x2f32b0],[_0x34294d]]),this[_0xeca840(0x380)][_0xeca840(0x4bd)](_0x13cf76['UniverInstanceType']['UNIVER_BASE'])['forEach'](_0x4b9a0f=>this[_0xeca840(0x4df)](_0x4b9a0f['getUnitId']())),(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x109762],[_0x2ed944]]);}[_0x571676(0x264)](){const _0x61e623=_0x571676;[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x31f2d3,{'useClass':_0x417de1}],[_0x5c11cd,{'useClass':_0x308bae}],[_0x2215ee,{'useClass':_0x312145}],[_0x43d5bd,{'useClass':_0x156190}],[_0x5cf6f3,{'useClass':_0x2f32b0}],[_0x34294d],[_0x109762],[_0x2ed944]][_0x61e623(0x3c9)](_0x3b955e=>this[_0x61e623(0x340)][_0x61e623(0x54c)](_0x3b955e));}[_0x571676(0x55b)](){const _0x2ab6ec=_0x571676;[_0x362922,_0x5bf158,_0x1608ef,_0x2f1b8b,_0x14468a,_0x7cb956,_0x1d23ba,_0x7be1ba,_0x191150,_0x1c859a,_0x45c212,_0x5a49a5,_0x3975dc,_0x222f05,_0x3ae6cb,_0xa04f45,_0x2ea211,_0x11e333,_0x5e6b94,_0x1637ea,_0x6cfbf6,_0x37f9a6,_0x497b38,_0x26e35d,_0x1df208,_0x55d71e,_0x3cccd9,_0x2011a2,_0x3f4bfc,_0x5c63df,_0x747472,_0x7879f9,_0x1d1662,_0x292a44,_0x16dc22,_0x34cc97,_0x20fd70,_0x19979c,_0x5b0eaf,_0x1e62e1,_0x72026a,..._0x4a3eb2]['forEach'](_0x2ef736=>this[_0x2ab6ec(0x48a)](this[_0x2ab6ec(0x485)][_0x2ab6ec(0x45a)](_0x2ef736))),_0x4a3eb2[_0x2ab6ec(0x3c9)](_0x399f15=>{const _0x25e128=_0x2ab6ec;var _0x26a913;return(_0x26a913=this[_0x25e128(0x21b)])==null?void 0x0:_0x26a913[_0x25e128(0x33e)](_0x399f15);});}[_0x571676(0x369)](){const _0x5308ab=_0x571676;this[_0x5308ab(0x21b)]&&(this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)]['getTypeOfUnitAdded$'](_0x13cf76[_0x5308ab(0x331)][_0x5308ab(0x321)])[_0x5308ab(0x362)](({unit:_0x21649a})=>{const _0xb70f25=_0x5308ab;this['_syncBaseUnit'](_0x21649a[_0xb70f25(0x5ca)]());})),this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)][_0x5308ab(0x33a)](_0x13cf76[_0x5308ab(0x331)]['UNIVER_BASE'])[_0x5308ab(0x362)](_0x30c5af=>{const _0xe1eace=_0x5308ab;var _0xf17278;(_0xf17278=this[_0xe1eace(0x445)][_0xe1eace(0x59c)](_0x30c5af[_0xe1eace(0x5ca)]()))==null||_0xf17278['dispose'](),this[_0xe1eace(0x445)][_0xe1eace(0x37c)](_0x30c5af['getUnitId']());})));}[_0x571676(0x4df)](_0x3b7cbc){const _0x436106=_0x571676;this['_dataSyncPrimaryController']&&!this[_0x436106(0x445)][_0x436106(0x370)](_0x3b7cbc)&&this['_baseSyncDisposables'][_0x436106(0x569)](_0x3b7cbc,this[_0x436106(0x21b)][_0x436106(0x5b2)](_0x3b7cbc));}['_initRegistries'](){const _0x41bff1=_0x571676;let _0x301132=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x1be8ce);_0x44e8e4()[_0x41bff1(0x3c9)](_0x5ae883=>_0x301132[_0x41bff1(0x339)](_0x5ae883));let _0x3ce285=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x31f2d3),_0x112fb9=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x5c11cd);_0x10ad0c()[_0x41bff1(0x3c9)](_0x154f4b=>{const _0x515dfd=_0x41bff1;_0x3ce285[_0x515dfd(0x339)](_0x154f4b),_0x112fb9[_0x515dfd(0x2a1)](_0x154f4b);});}};_0x1a302a(_0x1d3ce7,_0x571676(0x5d6),_0x571676(0x41f)),_0x1a302a(_0x1d3ce7,_0x571676(0x243),_0x52eb37),_0x1a302a(_0x1d3ce7,'version',_0x126433),_0x1a302a(_0x1d3ce7,_0x571676(0x292),_0x13cf76[_0x571676(0x331)]['UNIVER_BASE']),_0x1d3ce7=_0xd015f8([(0x0,_0x13cf76[_0x571676(0x30e)])(_0x2f1c4f[_0x571676(0x5c3)],_0x43fb1e[_0x571676(0x3e6)]),_0xddcdca(0x1,(0x0,_0x13cf76['Inject'])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x3,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x4,_0x13cf76['IConfigService']),_0xddcdca(0x5,(0x0,_0x13cf76[_0x571676(0x1cb)])(_0x44eadb[_0x571676(0x427)]))],_0x1d3ce7);let _0x153623=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x9a02e9=_0x274a16,_0x48ea12,_0x3062f8,_0x2c926f,_0x5f3988){const _0x12b900=_0x571676;super(),this['_config']=_0x9a02e9,this[_0x12b900(0x340)]=_0x48ea12,this[_0x12b900(0x485)]=_0x3062f8,this['_configService']=_0x2c926f,this[_0x12b900(0x380)]=_0x5f3988;let {..._0x12db60}=(0x0,_0x13cf76[_0x12b900(0x2c4)])({},_0x274a16,this[_0x12b900(0x5d0)]);this[_0x12b900(0x270)][_0x12b900(0x226)](_0x12b900(0x232),_0x12db60),this[_0x12b900(0x380)][_0x12b900(0x2c7)](_0x13cf76['UniverInstanceType'][_0x12b900(0x321)],_0x13cf76['BaseDataModel']),[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x5c11cd,{'useClass':_0x308bae}]]['forEach'](_0x52a97d=>this[_0x12b900(0x340)][_0x12b900(0x54c)](_0x52a97d)),_0x4a3eb2[_0x12b900(0x3c9)](_0x3e09fe=>this[_0x12b900(0x48a)](this[_0x12b900(0x485)][_0x12b900(0x45a)](_0x3e09fe)));}};_0x1a302a(_0x153623,'pluginName',_0x571676(0x3bb)),_0x1a302a(_0x153623,'packageName',_0x52eb37),_0x1a302a(_0x153623,'version',_0x126433),_0x1a302a(_0x153623,'type',_0x13cf76[_0x571676(0x331)][_0x571676(0x321)]),_0x153623=_0xd015f8([(0x0,_0x13cf76['DependentOn'])(_0x2f1c4f['UniverLicensePlugin'],_0x43fb1e['UniverProFormulaEnginePlugin']),_0xddcdca(0x1,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76['Injector'])),_0xddcdca(0x2,_0x13cf76['ICommandService']),_0xddcdca(0x3,_0x13cf76[_0x571676(0x32e)]),_0xddcdca(0x4,_0x13cf76[_0x571676(0x59e)])],_0x153623);function _0x3fe1f2(_0x5d731e){const _0x46b629=_0x571676;let _0x19745c=_0x8b589d(_0x5d731e[_0x46b629(0x1cc)]);if(!_0x19745c)return{'query':'','total':0x0,'matches':[]};let _0x257e9e=[],_0x44ca6a=[];for(let _0xfe66b9=0x0;_0xfe66b9<_0x5d731e[_0x46b629(0x1bb)][_0x46b629(0x4e9)];_0xfe66b9++){if(!(_0xfe66b9 in _0x5d731e[_0x46b629(0x1bb)]))continue;let _0xd3e285=_0x5d731e[_0x46b629(0x4b7)][_0x46b629(0x3c2)][_0x5d731e[_0x46b629(0x1bb)][_0xfe66b9]];_0xd3e285&&_0x44ca6a[_0x46b629(0x401)]({'field':_0xd3e285,'fieldIndex':_0xfe66b9});}_0x5d731e['rows'][_0x46b629(0x3c9)]((_0x3211cc,_0x5f52e3)=>{const _0x2d0ab9=_0x46b629;_0x44ca6a[_0x2d0ab9(0x3c9)](({field:_0x1351d9,fieldIndex:_0x2d3945})=>{const _0x29a06e=_0x2d0ab9;let _0x532552=_0x1f38bb(_0x3211cc[_0x29a06e(0x334)][_0x1351d9['id']],_0x1351d9);if(!_0x532552)return;let _0x3f965a=_0x5c2ed3(_0x19745c,_0x532552[_0x29a06e(0x4c8)]);_0x3f965a<=0x0||_0x257e9e[_0x29a06e(0x401)]({'recordId':_0x3211cc[_0x29a06e(0x5c4)],'fieldId':_0x1351d9['id'],'fieldType':_0x1351d9['type'],'text':_0x532552['displayText'],'score':_0x3f965a,'rowIndex':_0x5f52e3,'fieldIndex':_0x2d3945});});}),_0x257e9e[_0x46b629(0x4af)]((_0x2392dc,_0xe880fd)=>_0xe880fd[_0x46b629(0x1af)]-_0x2392dc['score']||_0x2392dc[_0x46b629(0x563)]-_0xe880fd[_0x46b629(0x563)]||_0x2392dc[_0x46b629(0x1f6)]-_0xe880fd['fieldIndex']);let _0x480ff5=_0x5d731e[_0x46b629(0x5bb)]==null?_0x257e9e:_0x257e9e['slice'](0x0,Math[_0x46b629(0x402)](0x0,_0x5d731e[_0x46b629(0x5bb)]));return{'query':_0x19745c,'total':_0x257e9e['length'],'matches':_0x313c91(_0x480ff5)};}function _0x1f38bb(_0x4e0ca4,_0x354216){const _0xd3bb9e=_0x571676;let _0x413092=[];for(let _0x2cdaa6 of _0x4759ed(_0x4e0ca4,_0x354216)){let _0x13197b=_0x8b589d(_0x2cdaa6);_0x13197b&&_0x413092[_0xd3bb9e(0x401)](_0x13197b);}return _0x413092[_0xd3bb9e(0x4e9)]?{'displayText':_0x461929(_0x4e0ca4,_0x354216),'searchTexts':_0x987b35(_0x413092)}:null;}function _0x461929(_0x5ec99a,_0x2b3b45){const _0x56f344=_0x571676;switch(_0x2b3b45['type']){case _0x13cf76['BaseFieldType'][_0x56f344(0x221)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x247)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x53b)]:return _0x1e8b79(_0x5ec99a,_0x2b3b45)['join'](',\x20');case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x3b6)]:return _0x436047(_0x5ec99a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x494)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x337)]:case _0x13cf76[_0x56f344(0x517)]['UpdatedAt']:return _0x172622(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x400)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x39e)]:return _0x561b21(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)]['Progress']:return _0x2d5feb(_0x5ec99a,_0x2b3b45);case _0x13cf76['BaseFieldType'][_0x56f344(0x55f)]:return _0x5ec99a?_0x56f344(0x3ed):_0x56f344(0x24a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x312)]:return _0x411968(_0x5ec99a)[_0x56f344(0x4b9)](',\x20');default:return _0x2cd85b(_0x5ec99a);}}function _0x4759ed(_0x501fd8,_0x2eca75){const _0x504fb7=_0x571676;switch(_0x2eca75[_0x504fb7(0x292)]){case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x221)]:case _0x13cf76['BaseFieldType'][_0x504fb7(0x247)]:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x53b)]:{let _0x8ecac9=_0x1e8b79(_0x501fd8,_0x2eca75);if(Array['isArray'](_0x501fd8)){let _0x457882=[..._0x8ecac9];for(let _0x2bce65=0x0;_0x2bce65<_0x501fd8[_0x504fb7(0x4e9)];_0x2bce65++)_0x2bce65 in _0x501fd8&&_0x457882[_0x504fb7(0x401)](String(_0x501fd8[_0x2bce65]));return _0x457882;}return _0x501fd8==null?_0x8ecac9:[..._0x8ecac9,String(_0x501fd8)];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x3b6)]:{let _0x5a63c9=_0x11966a(_0x501fd8);return[_0x5a63c9[_0x504fb7(0x5df)],_0x5a63c9[_0x504fb7(0x395)]];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x494)]:case _0x13cf76[_0x504fb7(0x517)]['CreatedAt']:case _0x13cf76['BaseFieldType'][_0x504fb7(0x472)]:return[_0x172622(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)]['Number']:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x39e)]:return[_0x561b21(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x51c)]:return[_0x2d5feb(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x55f)]:return _0x501fd8?[_0x504fb7(0x3ed),'Yes',_0x504fb7(0x48e)]:[_0x504fb7(0x24a),'No','False'];case _0x13cf76['BaseFieldType'][_0x504fb7(0x312)]:return _0x411968(_0x501fd8);default:return[_0x2cd85b(_0x501fd8)];}}function _0x1e8b79(_0x58b1e8,_0x31d3cc){const _0x1ba504=_0x571676;var _0x1a58c4;let _0x46a7e7=Array[_0x1ba504(0x21f)]((_0x1a58c4=_0x31d3cc['config'])==null?void 0x0:_0x1a58c4[_0x1ba504(0x386)])?_0x31d3cc[_0x1ba504(0x5b9)]['options']:[],_0x59ac21=[];if(Array[_0x1ba504(0x21f)](_0x58b1e8)){for(let _0x3db138=0x0;_0x3db138<_0x58b1e8['length'];_0x3db138++){if(!(_0x3db138 in _0x58b1e8))continue;let _0x68a4d7=String(_0x58b1e8[_0x3db138]);_0x68a4d7&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x68a4d7));}return _0x59ac21;}if(_0x58b1e8!=null){let _0x263ab5=String(_0x58b1e8);_0x263ab5&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x263ab5));}return _0x59ac21;}function _0x51fc67(_0x57f972,_0x43c650){const _0x10e3cd=_0x571676;for(let _0x41c95e of _0x57f972){if(typeof _0x41c95e=='string'&&_0x41c95e===_0x43c650)return _0x41c95e;if(_0x41c95e&&typeof _0x41c95e=='object'){let _0x519e8c=_0x41c95e;if(String(_0x519e8c['id']??_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650||String(_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650)return String(_0x519e8c[_0x10e3cd(0x46d)]??_0x519e8c['id']??_0x43c650);}}return _0x43c650;}function _0x11966a(_0x281dcf){const _0x35decd=_0x571676;if(_0x281dcf&&typeof _0x281dcf==_0x35decd(0x1a7)&&!Array[_0x35decd(0x21f)](_0x281dcf)){let _0x49d071=_0x281dcf;return{'text':String(_0x49d071[_0x35decd(0x5df)]??_0x49d071[_0x35decd(0x395)]??''),'url':String(_0x49d071[_0x35decd(0x395)]??'')};}return{'text':_0x2cd85b(_0x281dcf),'url':_0x2cd85b(_0x281dcf)};}function _0x436047(_0x1b6745){const _0x2373fd=_0x571676;let _0x426b07=_0x11966a(_0x1b6745);return _0x426b07[_0x2373fd(0x5df)]||_0x426b07[_0x2373fd(0x395)];}function _0x172622(_0x16aeab,_0x3af956){const _0x467d9f=_0x571676;return typeof _0x16aeab!='number'||!Number[_0x467d9f(0x195)](_0x16aeab)?'':_0x259f65(_0x16aeab,_0x3af956[_0x467d9f(0x5b9)]);}function _0x561b21(_0x5a9a71,_0x1c440b){const _0x406e6a=_0x571676;let _0x2e8a41=typeof _0x5a9a71==_0x406e6a(0x3dc)?_0x5a9a71:Number(_0x5a9a71);return Number[_0x406e6a(0x195)](_0x2e8a41)?_0x4dcf16(_0x2e8a41,_0x1c440b[_0x406e6a(0x5b9)]):'';}function _0x2d5feb(_0x505a0c,_0x33f36c){const _0x45b7fa=_0x571676;let _0x2193a6=typeof _0x505a0c==_0x45b7fa(0x3dc)?_0x505a0c:Number(_0x505a0c);return Number[_0x45b7fa(0x195)](_0x2193a6)?_0x40750c(_0x2193a6,_0x33f36c[_0x45b7fa(0x5b9)]):'';}function _0x411968(_0x17ae41){const _0x4ac2c7=_0x571676;return Array[_0x4ac2c7(0x21f)](_0x17ae41)?_0x17ae41[_0x4ac2c7(0x387)](_0x2b6294=>{const _0x3d0c1a=_0x4ac2c7;if(!_0x2b6294||typeof _0x2b6294!=_0x3d0c1a(0x1a7))return[];let _0x2003fb=_0x2b6294,_0x332e53=String(_0x2003fb[_0x3d0c1a(0x46d)]??_0x2003fb['url']??'')['trim']();return _0x332e53?[_0x332e53]:[];}):[];}function _0x2cd85b(_0x5794b8){const _0x333581=_0x571676;if(_0x5794b8==null)return'';if(typeof _0x5794b8==_0x333581(0x42a))return _0x5794b8?'true':_0x333581(0x574);if(typeof _0x5794b8==_0x333581(0x3dc))return String(_0x5794b8);if(Array['isArray'](_0x5794b8)){let _0x33fb61=[];for(let _0x226a64=0x0;_0x226a64<_0x5794b8[_0x333581(0x4e9)];_0x226a64++){if(!(_0x226a64 in _0x5794b8))continue;let _0x4531ef=_0x2cd85b(_0x5794b8[_0x226a64]);_0x4531ef&&_0x33fb61['push'](_0x4531ef);}return _0x33fb61[_0x333581(0x4b9)](',\x20');}if(typeof _0x5794b8==_0x333581(0x1a7)){let _0x514bc0=_0x5794b8;return String(_0x514bc0[_0x333581(0x297)]??_0x514bc0[_0x333581(0x46d)]??_0x514bc0[_0x333581(0x5df)]??_0x514bc0['url']??'')[_0x333581(0x2cd)]();}return String(_0x5794b8);}function _0x5c2ed3(_0x48adab,_0x1656cd){const _0x36bd37=_0x571676;let _0x5c97be=0x0;for(let _0x1cfdd7 of _0x1656cd)_0x1cfdd7&&(_0x1cfdd7===_0x48adab?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0x12c):_0x1cfdd7[_0x36bd37(0x33b)](_0x48adab)?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0xfa):_0x1cfdd7[_0x36bd37(0x358)](_0x48adab)&&(_0x5c97be=Math['max'](_0x5c97be,0xc8)));return _0x5c97be;}function _0x8b589d(_0x403a80){const _0x1ab91f=_0x571676;return _0x403a80[_0x1ab91f(0x2cd)]()[_0x1ab91f(0x5ae)](/\s+/g,'\x20')['toLowerCase']();}function _0x987b35(_0xa66d0d){return Array['from'](new Set(_0xa66d0d));}function _0x313c91(_0x558b2){const _0xb79af=_0x571676;let _0x662026=[];for(let {rowIndex:_0x38e981,fieldIndex:_0x15e0d0,..._0x2b146a}of _0x558b2)_0x662026[_0xb79af(0x401)](_0x2b146a);return _0x662026;}function _0x9c1284(_0x83080a){const _0x1f48a3=_0x571676;return{'compress':!0x0,'kind':_0x1f48a3(0x317),'u':_0x83080a[_0x1f48a3(0x2aa)],'t':_0x83080a['tableId'],'p':_0x83080a['patches'][_0x1f48a3(0x329)](_0x25b90b=>[_0x25b90b[_0x1f48a3(0x22f)],_0x25b90b['col'],_0x7b2799(_0x25b90b['value'])]),..._0x83080a[_0x1f48a3(0x512)]===void 0x0?{}:{'g':_0x83080a['trigger']}};}function _0x53a563(_0x2059ed){const _0x173ab6=_0x571676;if(_0xfb1d00(_0x2059ed,_0x173ab6(0x317)),!_0x733fdd(_0x2059ed)){if(!_0x590f77(_0x2059ed))throw Error(_0x173ab6(0x2f8));return _0x2059ed;}return{'unitId':_0x2059ed['u'],'tableId':_0x2059ed['t'],'patches':_0x2059ed['p'][_0x173ab6(0x329)](([_0x5c1844,_0x3528db,_0x56efaa])=>({'row':_0x5c1844,'col':_0x3528db,'value':_0x4a2e71(_0x56efaa)})),..._0x2059ed['g']===void 0x0?{}:{'trigger':_0x2059ed['g']}};}function _0x733fdd(_0x294a90){const _0x5df420=_0x571676;return!_0x386f7c(_0x294a90)||_0x294a90['compress']!==!0x0||_0x294a90['kind']!==_0x5df420(0x317)?!0x1:typeof _0x294a90['u']==_0x5df420(0x2b6)&&typeof _0x294a90['t']=='string'&&(_0x294a90['g']===void 0x0||typeof _0x294a90['g']==_0x5df420(0x2b6))&&Array['isArray'](_0x294a90['p'])&&_0x294a90['p'][_0x5df420(0x5a5)](_0x395958=>Array['isArray'](_0x395958)&&_0x395958[_0x5df420(0x4e9)]===0x3&&Number[_0x5df420(0x5be)](_0x395958[0x0])&&Number[_0x5df420(0x5be)](_0x395958[0x1]));}function _0x4a085d(_0x1b395b){const _0x24903f=_0x571676;return!_0x386f7c(_0x1b395b)||_0x1b395b[_0x24903f(0x593)]!==!0x0||_0x1b395b['kind']!==_0x24903f(0x307)||!_0x386f7c(_0x1b395b['tables'])?!0x1:Object[_0x24903f(0x334)](_0x1b395b[_0x24903f(0x291)])[_0x24903f(0x5a5)](_0x12399a=>_0x386f7c(_0x12399a)&&(_0x12399a['cd']===void 0x0||Array['isArray'](_0x12399a['cd'])&&_0x12399a['cd'][_0x24903f(0x5a5)](_0x361a0b=>Array['isArray'](_0x361a0b)&&_0x361a0b[_0x24903f(0x4e9)]===0x3&&Number['isInteger'](_0x361a0b[0x0])&&Number[_0x24903f(0x5be)](_0x361a0b[0x1])&&_0x1076c7(_0x361a0b[0x2]))));}function _0x7b2799(_0x41487f){return _0x3bffd6(_0x41487f)?_0x4ba3d6(_0x41487f):_0x41487f;}function _0x4a2e71(_0x442890){return _0x1076c7(_0x442890)?_0x2fa5ad(_0x442890):_0x442890;}function _0x4ba3d6(_0x5607ac){return{'c':0x1,..._0x5607ac['v']===void 0x0?{}:{'v':_0x5607ac['v']},..._0x5607ac['t']!==void 0x0&&_0x5607ac['t']!==null?{'t':_0x5607ac['t']}:_0x5607ac['t']===null?{'t':null}:{},..._0x5607ac['f']!==void 0x0&&_0x5607ac['f']!==null?{'f':_0x5607ac['f']}:_0x5607ac['f']===null?{'f':null}:{},..._0x5607ac['si']!==void 0x0&&_0x5607ac['si']!==null?{'si':_0x5607ac['si']}:_0x5607ac['si']===null?{'si':null}:{},..._0x5607ac['p']!==void 0x0&&_0x5607ac['p']!==null?{'p':_0x5607ac['p']}:_0x5607ac['p']===null?{'p':null}:{}};}function _0x2fa5ad(_0x5cc46a){return{..._0x5cc46a['v']===void 0x0?{}:{'v':_0x5cc46a['v']},..._0x5cc46a['t']===void 0x0?{}:{'t':_0x5cc46a['t']},..._0x5cc46a['f']===void 0x0?{}:{'f':_0x5cc46a['f']},..._0x5cc46a['si']===void 0x0?{}:{'si':_0x5cc46a['si']},..._0x5cc46a['p']===void 0x0?{}:{'p':_0x5cc46a['p']}};}function _0x3bffd6(_0xc03a80){const _0x2b1d6e=_0x571676;return!!_0xc03a80&&typeof _0xc03a80==_0x2b1d6e(0x1a7)&&!Array['isArray'](_0xc03a80)&&(Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'v')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'t')||Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'p')||Object['prototype']['hasOwnProperty']['call'](_0xc03a80,'f')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'si'));}function _0x1076c7(_0x444931){return _0x386f7c(_0x444931)&&_0x444931['c']===0x1;}function _0x590f77(_0x5b8b49){const _0x1e64d2=_0x571676;return _0x386f7c(_0x5b8b49)&&typeof _0x5b8b49[_0x1e64d2(0x2aa)]==_0x1e64d2(0x2b6)&&typeof _0x5b8b49[_0x1e64d2(0x33f)]==_0x1e64d2(0x2b6)&&(_0x5b8b49['trigger']===void 0x0||typeof _0x5b8b49[_0x1e64d2(0x512)]==_0x1e64d2(0x2b6))&&Array[_0x1e64d2(0x21f)](_0x5b8b49['patches'])&&_0x5b8b49[_0x1e64d2(0x2d8)][_0x1e64d2(0x5a5)](_0x5e5a64=>_0x386f7c(_0x5e5a64)&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x22f)])&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x5ac)])&&_0x1e64d2(0x315)in _0x5e5a64);}function _0xfb1d00(_0x35ee82,_0x13fd3e){const _0x46a531=_0x571676;if(_0x386f7c(_0x35ee82)&&_0x35ee82[_0x46a531(0x593)]===!0x0){if(_0x35ee82[_0x46a531(0x4e6)]!==_0x13fd3e)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x35ee82['kind'])+'\x22.');if(!(_0x13fd3e===_0x46a531(0x317)?_0x733fdd(_0x35ee82):_0x4a085d(_0x35ee82)))throw Error(_0x46a531(0x397)+_0x13fd3e+'\x22.');}}function _0x386f7c(_0xcf43f6){const _0x48e4d5=_0x571676;return!!_0xcf43f6&&typeof _0xcf43f6==_0x48e4d5(0x1a7)&&!Array[_0x48e4d5(0x21f)](_0xcf43f6);}_0xed53b0['ApplyBaseJson1Mutation']=_0x4d02c8,_0xed53b0[_0x571676(0x2e3)]=_0x49b302,_0xed53b0[_0x571676(0x5d2)]=0x5,_0xed53b0[_0x571676(0x4ee)]=_0x571f6c,_0xed53b0[_0x571676(0x1a4)]=_0x571676(0x1fd),_0xed53b0[_0x571676(0x350)]=_0x147f37,_0xed53b0[_0x571676(0x39f)]=_0x4904eb,_0xed53b0[_0x571676(0x3a8)]=_0x75538d,_0xed53b0['BaseFormulaService']=_0x3bb03f,_0xed53b0['BaseHierarchyError']=_0x2dec10,_0xed53b0[_0x571676(0x53c)]=_0x244067,_0xed53b0[_0x571676(0x52a)]=_0x3996a0,_0xed53b0[_0x571676(0x421)]=_0x1aaf1b,_0xed53b0['BaseJson1OpFactory']=_0x3db0f3,_0xed53b0[_0x571676(0x1be)]=_0x191150,_0xed53b0[_0x571676(0x596)]=_0x45c212,_0xed53b0[_0x571676(0x5b8)]=_0x5e6b94,_0xed53b0[_0x571676(0x26d)]=_0x7be1ba,_0xed53b0['CreateBaseFieldCommand']=_0x3ae6cb,_0xed53b0[_0x571676(0x3b4)]=_0x1d23ba,_0xed53b0[_0x571676(0x5aa)]=_0x362922,_0xed53b0[_0x571676(0x1a3)]=_0x497b38,_0xed53b0[_0x571676(0x25c)]=_0x1637ea,_0xed53b0[_0x571676(0x409)]=_0x1c859a,_0xed53b0[_0x571676(0x269)]=_0x1608ef,_0xed53b0[_0x571676(0x483)]=_0x3cccd9,_0xed53b0[_0x571676(0x368)]=_0xa04f45,_0xed53b0['DuplicateBaseRecordCommand']=_0x5a49a5,_0xed53b0[_0x571676(0x474)]=_0x3d977d,_0xed53b0[_0x571676(0x31e)]=_0x26e35d,_0xed53b0['IBaseCommandService']=_0x5cf6f3,_0xed53b0['IBasePermissionService']=_0x43d5bd,_0xed53b0['IBaseProjectionService']=_0x5c11cd,_0xed53b0['IBaseViewRegistryService']=_0x31f2d3,_0xed53b0[_0x571676(0x1b3)]=_0x6cfbf6,_0xed53b0[_0x571676(0x185)]=_0x222f05,_0xed53b0['MoveBaseViewCommand']=_0x2011a2,_0xed53b0[_0x571676(0x4d4)]=_0x5bf158,_0xed53b0['RenameBaseViewCommand']=_0x1df208,_0xed53b0[_0x571676(0x332)]=_0x747472,_0xed53b0['SetBaseNameCommand']=_0x55d71e,_0xed53b0[_0x571676(0x547)]=_0x7879f9,_0xed53b0[_0x571676(0x4fd)]=_0x592127,_0xed53b0['SetBasePermissionRulesMutation']=_0x5ba4b4,_0xed53b0[_0x571676(0x246)]=_0x1d1662,_0xed53b0[_0x571676(0x277)]=_0x7cb956,_0xed53b0[_0x571676(0x4a3)]=_0x14468a,_0xed53b0['SetBaseTableHierarchyFieldCommand']=_0x19979c,_0xed53b0[_0x571676(0x516)]=_0x72026a,_0xed53b0[_0x571676(0x285)]=_0x5b0eaf,_0xed53b0['SetBaseViewFieldWidthCommand']=_0x1e62e1,_0xed53b0[_0x571676(0x1f4)]=_0x16dc22,_0xed53b0[_0x571676(0x545)]=_0x20fd70,_0xed53b0[_0x571676(0x414)]=_0x34cc97,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x2be),{'enumerable':!0x0,'get':function(){return _0x1d3ce7;}}),Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x33c),{'enumerable':!0x0,'get':function(){return _0x153623;}}),_0xed53b0['UpdateBaseCellCommand']=_0x2f1b8b,_0xed53b0[_0x571676(0x208)]=_0x2ea211,_0xed53b0['UpdateBaseFieldDescriptionCommand']=_0x11e333,_0xed53b0['UpdateBaseKanbanConfigCommand']=_0x292a44,_0xed53b0[_0x571676(0x3be)]=_0x3975dc,_0xed53b0[_0x571676(0x4c2)]=_0x5c63df,_0xed53b0[_0x571676(0x1ef)]=_0x3f4bfc,_0xed53b0[_0x571676(0x467)]=_0x37f9a6,_0xed53b0[_0x571676(0x2f1)]=_0x397f72,_0xed53b0[_0x571676(0x5e0)]=_0x4067d3,_0xed53b0['calculateBaseFieldStat']=_0xa2d18d,_0xed53b0[_0x571676(0x48f)]=_0x712233,_0xed53b0[_0x571676(0x186)]=_0x9c1284,_0xed53b0[_0x571676(0x2bf)]=_0x4849e3,_0xed53b0[_0x571676(0x293)]=_0xb8ceba,_0xed53b0['createDefaultBaseTableSnapshot']=_0x910a,_0xed53b0[_0x571676(0x5d3)]=_0x32bf44,_0xed53b0[_0x571676(0x4be)]=_0x293936,_0xed53b0[_0x571676(0x1c2)]=_0x1b9b54,_0xed53b0[_0x571676(0x2c0)]=_0x14d06a,_0xed53b0[_0x571676(0x1ae)]=_0x35414f,_0xed53b0[_0x571676(0x496)]=_0x53a563,_0xed53b0[_0x571676(0x2f9)]=_0x48b6e1,_0xed53b0[_0x571676(0x34d)]=_0x520eb7,_0xed53b0[_0x571676(0x4e2)]=_0x259f65,_0xed53b0['formatBaseFieldStatValue']=_0x2e2210,_0xed53b0[_0x571676(0x44d)]=_0x4dcf16,_0xed53b0[_0x571676(0x2bb)]=_0x40750c,_0xed53b0[_0x571676(0x3ae)]=_0x25a1a4,_0xed53b0[_0x571676(0x399)]=_0x41bd7c,_0xed53b0[_0x571676(0x2c2)]=_0x5d2adc,_0xed53b0[_0x571676(0x418)]=_0xd379e5,_0xed53b0[_0x571676(0x4bf)]=_0x47141a,_0xed53b0['getBaseFieldPermissionObjectId']=_0x1d768a,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x256),{'enumerable':!0x0,'get':function(){const _0xecfaf6=_0x571676;return _0x13cf76[_0xecfaf6(0x256)];}}),_0xed53b0['getBaseHierarchyDeletePromotions']=_0xaf3938,_0xed53b0['getBaseHierarchyFieldId']=_0x19ec27,_0xed53b0[_0x571676(0x29f)]=_0x22a775,_0xed53b0[_0x571676(0x490)]=_0x458252,_0xed53b0['getBaseTablePermissionObjectId']=_0x1162c3,_0xed53b0[_0x571676(0x497)]=_0x3c9691,_0xed53b0['getRecordLinkFieldConfig']=_0x51db2d,_0xed53b0[_0x571676(0x415)]=_0x2e2ae5,_0xed53b0[_0x571676(0x56f)]=_0x4e1dc3,_0xed53b0[_0x571676(0x527)]=_0x6f7f1,_0xed53b0[_0x571676(0x525)]=_0x33b8b5,_0xed53b0[_0x571676(0x359)]=_0x578626,_0xed53b0[_0x571676(0x27c)]=_0xb8bdd7,_0xed53b0[_0x571676(0x192)]=_0x9ba099,_0xed53b0[_0x571676(0x44f)]=_0x53a126,_0xed53b0[_0x571676(0x313)]=_0x733fdd,_0xed53b0[_0x571676(0x5d1)]=_0x4231b9,_0xed53b0[_0x571676(0x39b)]=_0x3d3ab9,_0xed53b0[_0x571676(0x5e6)]=_0x14a5f1,_0xed53b0['normalizeBaseFieldStatsConfig']=_0x22bd83,_0xed53b0[_0x571676(0x2c5)]=_0x5a5d43,_0xed53b0[_0x571676(0x3d0)]=_0x4ceb91,_0xed53b0[_0x571676(0x388)]=_0x35238c,_0xed53b0[_0x571676(0x223)]=_0x2d5926,_0xed53b0[_0x571676(0x450)]=_0x57c380,_0xed53b0[_0x571676(0x180)]=_0x3fe1f2,_0xed53b0[_0x571676(0x209)]=_0xddc2f4,_0xed53b0[_0x571676(0x492)]=_0x10a84e,_0xed53b0['traceBasePerformance']=_0x32800a,_0xed53b0[_0x571676(0x2cb)]=_0x1df899,_0xed53b0[_0x571676(0x4cd)]=_0x158fff,_0xed53b0['validateBaseHierarchyRecordCreations']=_0x16b24a,_0xed53b0[_0x571676(0x560)]=_0x226acd,_0xed53b0[_0x571676(0x3cb)]=_0x475287,_0xed53b0[_0x571676(0x1f8)]=_0x35e826,_0xed53b0[_0x571676(0x4c0)]=_0x5a4a77,_0xed53b0[_0x571676(0x4c1)]=_0x5d7c0c;}));function _0x4fc5(_0x86325f,_0x10d49b){_0x86325f=_0x86325f-0x17a;const _0xd0ee0b=_0xd0ee();let _0x4fc500=_0xd0ee0b[_0x86325f];return _0x4fc500;}function _0xd0ee(){const _0x3dbc18=[',,,\x22B\x22','_isGanttDateField','CreatedBy','subtreeHeightByRecordId','toDisposable','revision','Group','BaseHierarchyErrorCode','_projectionCache','reduce','ObjectMatrix','_buildCalendar','flat','Date1900','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','BASE_RECORD_ID_FIELD_ID','SetBaseViewGroupCommand','dashboard/','SetBasePermissionCommand','updatedAt','rootRecordIds','_enqueueFormulaSync','[BaseCommandService]:\x20invalid\x20field\x20definition.','add','mode','clearFieldPermission','data','_formulaCalculationSessionService','duplicate','getCapabilities','Delete','policy','BASE','rowId','createCreateRecordOp','exists','_materializeFormulaTableNames','UniverProEngineFormula','_initCommands','setViewFieldOrder','@univerjs/core','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Checkbox','validateBaseHierarchyRecordPatches','parentRecordId','STRING','rowIndex','CommandType','setRecordValues','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_createRecordWithDefaults','code','set','find','CustomCommandExecutionError','getProjection','syncExecuteCommand','unknown','getVisibleBaseHierarchyRows','separatorStyle','regenerateViewIds','collaborators','_scheduledSuperTableSyncs','false','JSON1','local','_setObjectEdit','weekdays','ObjectPermissionRuleModel','_normalizeGanttConfig','_canUseFastSort','thread-comment.mutation.','getDependencies','parentFieldName','numfmt','_matchesGanttColorRule','setBasePermission','fieldOrder','setRecordPermission','INIT','Redo','createCreateFieldOp','_setAttachmentResources','[BaseCommandService]:\x20cannot\x20edit\x20table.','525652HDmMjB','Kanban','getBase','_sortRows','dependencyFieldId','save','NumberFormat','baseRows','getCurrentUnitOfType','kanban','compress','COMMAND','currencySymbol','BatchDeleteBaseRecordsCommand','isNaN','decimalPlaces','base.command.delete-base-field','base.mutation.set-permission-rule','readonly','get','padStart','IUniverInstanceService','createSetRecordValuesOp','Edit','_withModifiedSystemValues','min','clearTablePermission','#BBF7D0','every','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','IS_NOT','end','_findCalendarDateFieldId','CreateBaseTableCommand','_resolveCardTitleFieldId','col','createRecord','replace','_normalizeCalendarConfig','RecordLink','\x20must\x20have\x20a\x20non-empty\x20id.','syncUnit','base.command.','Parent\x20Items','moveView','4097140clJFfh','_cellRevisions','ChangeBaseFieldTypeCommand','config','BaseViewType','limit','conjunction','_groupProjectionFieldIds','isInteger','splice','invalidGanttEndField','Inject','\x20has\x20unsupported\x20target\x20\x22','UniverLicensePlugin','recordId','_kanbanLaneColor','clearUnit','majorHeaders','[BaseCommandService]:\x20cannot\x20delete\x20table.','_createRecordOrderOp','getUnitId','invalidateByOp','unitOtherData','custom','defaultValue','_projectFields','_config','matchesBaseCondition','BASE_HIERARCHY_MAX_LEVELS','createEmbedBasesTable','_getCachedProjection','orderedRecordIds','pluginName','Empty','month','abbreviation','setRule','percent','deleteRecord','YESTERDAY','BaseProjection.materializeTableRows','text','buildBaseHierarchyIndex','edit','CONTAINS','check','now','_getTableRevision','normalizeBaseDateSerial','Calendar','optionSource','base.command.update-base-field','UniverProBases','_toDirtyRangePatch','_disposed','searchBaseTable','_projectTableRows','oldParentRecordId','hostAnchorId','BEFORE','MoveBaseHierarchyRecordCommand','compressBaseRangeValuesPayload','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','2289327OODfGJ','hasOwnProperty','createView','_patchCachedProjectedRows','selectField','views','filled','base.command.rename-base-view','option-','@univerjs-pro/engine-formula','isBaseFieldStatType','createdBy','_clearUnit','isFinite','_getTablesToNormalize','view','_projectedGroupsCache','compose','Failed\x20to\x20create\x20update\x20cell\x20operation:','_activeDirtyManagerService','mark','#3b82f6','usableAsGanttEnd','status','SetTriggerFormulaCalculationStartMutation','defineProperty','_isColorfulKanbanGroupField','CreateBaseViewCommand','BASE_TABLE_NAME_REQUIREMENTS','UnitObject','Injector','object','base-perf-','\x20must\x20be\x20an\x20object.','_title','some','nameCharacterCheck','updateRecordOrder','dateToExcelSerial','score','base.command.update-base-kanban-config','BaseConditionalColorOperator','Unsupported\x20Base\x20permission\x20action:\x20','MoveBaseFieldCommand','replaceOp','registerRuleModel','[BaseCommandService]:\x20cannot\x20manage\x20view.','IS_EMPTY','params','en-US','_setCachedProjection','fieldIds','then','_basePermissions','BatchCreateBaseRecordsCommand','_getStructureDirtyTableIds','pickerFieldIds','unshift','createEmbedBasesTableRemoveMutation','fromPlainText','moveField','canDeleteRecord','_instanceService','direction','_normalizeCalendarDisplayColor','Base\x20edit\x20permission\x20denied.','viewId','Optional','query','recordOrder','usableAsGanttStart','abs','__tempBatchingUndoRedo','changeFieldType','#16a34a','ICommandService','attachments','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_resolveGalleryCardFieldIds','_capabilities','_hierarchyIndexCache','Add','regexp','sum','base.projection.service','displayFieldId','getUTCDay','attachmentSets','compare','setViewFilter','width','order','invalidDateField','_getCellRevision','BaseProjection.projectRows','IPermissionService','_executeSuperTableMutationWhileActive','Module','_calendarEventColor','bases.config','too-long','https://','[BaseCommandService]:\x20cannot\x20delete\x20record.','UpdateBaseViewConfigCommand','UniverProLicense','NUMBER','updatePermissionPoint','includeTime','SetBaseViewFilterCommand',':start','fieldIndex','setHours','validateCanonicalRecordLinkValue','facade','Email','count','fromEntries','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).','#14b8a6','objectType','doing','_groupsCacheKey','IBaseCellData.ensureTableCellLayout','manual','#,##0','UTC','hierarchy','decimal','UpdateBaseFieldCommand','serializeRecordLinkIds','BaseFilterConjunction','FieldId','_materializeGroups','updateViewConfig','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','usableAsCardCover','projection','table/','@univerjs-pro/bases','apply','deleteTable','finally','_registeredSuperTableNames','FORCE_STRING','BaseConditionalDateMode','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','[BaseField]:\x20invalid\x20number\x20value.','_dataSyncPrimaryController','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','MM-DD','split','isArray','createIdentifier','SingleSelect','_syncSuperTables','resolveBaseHierarchyFieldId','_getAllBaseDependencyTreeCacheMap','unitData','setConfig','createDefaultValue','BOOLEAN','_cellInvalidationsTouchFields','globalRevision','[BaseHierarchy]:\x20field\x20\x22','_applyFormulaResult','person','_buildKanban','row','dispose','working','bases.remote.config','_onCommandExecuted','description','column','ColorKit','base.command.delete-base-view','Rating','_getHierarchyIndex','setRangeValues','base.viewType.kanban','resources','gantt','deleteRecords','\x20has\x20unsupported\x20operator\x20\x22','_tableBaseIds','updateField','executeCommand','packageName','19974hpYszO','getAll','SetBasePermissionsCommand','MultiSelect','createRecords','[BaseField]:\x20invalid\x20date\x20value.','Unchecked','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','BaseField','base.command.update-base-view-config','\x20has\x20unsupported\x20date\x20mode\x20\x22','_createSystemFieldValuePatches','[BaseCommandService]:\x20cannot\x20delete\x20field.','bases.fieldConfig.linkPlaceholder','empty','codePointAt','touchDependencies','2043324UcIjqh','getBaseFormulaTableName','notContains','_getSystemFieldValue','base.command.rename-base-table','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','DeleteBaseFieldCommand','toPlainText',',,\x22M\x22','-view-grid','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseField]:\x20invalid\x20phone\x20value.','beforeViewId','_isCalendarDateField','_initDependencies','canEditField','exec','targetTableId','createRegExpFromSafeFragment','DeleteBaseTableCommand','error','useThousands','Formula','CreateBaseChildRecordCommand','field/','_fieldRegistry','_configService','year','setViewFieldWidth','user','base.mutation.','_registerUnitPermissionPoints',':end','SetBaseRangeValuesCommand','format','call','AFTER','setViewSort','isBaseFieldStatSupported','_isAllDayCalendarEvent','refactorFormulaUnitQualifier','[RecordLink]:\x20display\x20field\x20\x22','allocateBaseFormulaTableName','_kanbanLaneTitle','endDateFieldId','setRules','getUTCDate','SetBaseViewFieldVisibleCommand','-record-','_getKanbanConfiguredLanes','A\x20table\x20with\x20this\x20name\x20already\x20exists.','repeat','_viewRowsCacheKey','_plugins','#FDE68A','subtreeEndIndex','colIndex','_apply','Working\x20day','tables','type','createBaseHierarchyParentField','unsubscribe','http:','childrenByParentId','title','constructor','excelSerialToDateTime','[BaseField]:\x20invalid\x20rating\x20value.','_groupConfigCacheSegment','workingDaysOnly','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','DD/MM/YYYY','getBasePermissionValue','UnitAction','registerView','attachment-','reason','Numbering','recordNamePrefix','none','repairViewConfig','markResultApplied','beforeFieldId','unitId','maxDepth','card','UniverEngineFormula','base.command.set-base-record-values','createTable','toLowerCase','members','search','THIS_MONTH','day','at\x20index\x20','string','formula','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','action','missingRecord','formatBaseProgressValue','recordIds','focusUnit','UniverBasesPlugin','copyBaseTableSnapshot','createUniqueBaseTableName','info','getBaseCellValue','_resolveBaseId','merge','parseRecordLinkIds','_scheduleSuperTableSync','registerCtorForType','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','MaxDepth','calendar','uniqueFieldName','duplicateField','trim','_viewPermissions','getOwnPropertyDescriptor','owner','leftPaneCollapsed','addPermissionPoint','_setViewFieldSetting','SelfParent','Import','onReady','161KIgLyR','patches','_fieldPermissions','toFixed','keys','Ids','HH:mm','iterator','saveMany','colorFieldId','children','validateFormula','BASE_FIELD_STAT_TYPES','Undo',',\x22K\x22','getItem','3weopPI','raw','base.viewType.calendar','RecordId','getUTCFullYear','\x22\x20does\x20not\x20exist.','from','level','displayColor','_removeSuperTables','baseDateSerialToDateMs','\x20permission\x20denied.','$1\x20','thread-comment.command.','_buildGantt','normal','h12','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','ensureBaseTableCellLayout','off','_viewRevisions','Uncategorized','_canEdit','relationRole','BaseProjection.filterAndSortRows','_factory','[BaseField]:\x20invalid\x20multi-value\x20reference.','Doing','createViewId','TOMORROW','base.command.update-base-view-conditional-color-rules','undefined','base-snapshot-v1','[BasePerf]\x20','canCreateField','base.command.create-base-child-record','base.command.duplicate-base-field','view/','stringify','DependentOn','_isNonEmptyCellValue','excelDateTimeSerial','_rememberTable','Attachment','isCompressedBaseRangeValuesPayload','ascend','value','FormulaCalculationSessionService','base-range-values-v1','_getOrderedRecords','afterFieldId','sequenceExecute','parentByRecordId','FormulaResultApplicationType','base.command.batch-create-base-records','EnsureBaseTemporalViewDateFieldsCommand','_isKanbanGroupField','UpdatedBy','UNIVER_BASE','[RecordLink]:\x20target\x20record\x20\x22','Disposable','exceptions','getTypeOfUnitAdded$','getFullYear','_resolveCalendarDateFieldId','_clearObjectEdit','map','updatedBy','[BaseCommandService]:\x20field\x20\x22','_T_','CellValueType','IConfigService','BaseView','import','UniverInstanceType','SetBaseKanbanGroupFieldCommand','\x22\x20with\x20field\x20type\x20\x22','values','Use\x2031\x20characters\x20or\x20fewer.','rule','CreatedAt','afterViewId','register','getTypeOfUnitDisposed$','startsWith','UniverRemoteBasesPlugin','_viewRevisionKey','registerSyncingMutations','tableId','_injector','_groupCellInvalidations','changes','bases.fieldConfig.textPlaceholder','fld-','base.viewType.grid','BaseTable','NEXT_30_DAYS','startDateFieldId','remove','recordPatch','__all__','orderKey','findRecordLinkReferences','missingField','groupFieldId','BASE_UNIT_PERMISSION_ACTIONS','colId','\x22\x20is\x20not\x20registered.','default','childType','lessThanOrEqual','setFieldPermission','UniverRpc','includes','isBaseFieldStatEmptyValue','clear','setViewPermission','quarter','usableAsCalendarDate','Remote','cardSize','THIS_WEEK','rowIndexById','subscribe','getUnit','_assertFieldDefinition','createBaseRecordIdField','size','_filterSortFieldIds','DuplicateBaseFieldCommand','_initDataSync','deleteField','Set','MissingRecord','coverFieldId','getCurrentUser','index','has','base.mutation.set-permission-rules','_recordPermissions','base.command.set-base-table-hierarchy-field','createSuperTableReference','Cycle','_check','slice','short','frozenFieldCount','embedId','_isAllDayGanttDateRange','delete','unitWidth','setViewFieldVisible','pattern','_univerInstanceService','getInstance','[BaseCommandService]:\x20cannot\x20edit\x20record.','multiple','fieldId','isValid','options','flatMap','resolveBaseDateFieldConfig','onStarting','_projectRows','DESC','href','onCommandExecuted','cellData','records','contains','localeCompare','LAST_MONTH','color','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','url','_applier','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','endsWith','getBaseCellFormulaValue','Tools','normalizeBaseDateFieldConfig','dateMode','getAllBases','Currency','BaseConditionalColorRuleUpdateType','base.command.ensure-base-temporal-view-date-fields','createBaseFormulaTableNameMap','week','general','validate','getMonth','base.viewType.gallery','BaseSortDirection','BaseEventSource','invalid','start','Done','function','yyyy/mm/dd','getActiveBaseHierarchyFieldIds','conditions','General','[BaseField]:\x20invalid\x20email\x20value.','timeslotSize','NOT_CONTAINS','CreateBaseRecordCommand','base.command.set-base-range-values','Link','_applyingFormulaResults','_bumpTableRevision','setBaseName','subType','REMOTE_BASES_PLUGIN','IActiveDirtyManagerService','_buildGallery','UpdateBaseRecordOrderCommand','unique','generateRandomId','descendPath','fields','delete-view','filter','MUTATION','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_formulaSyncQueue','[BaseViewRegistryService]:\x20view\x20type\x20\x22','forEach','toString','validateBaseTableName','major-','attachmentSet','https:','base.command.create-base-record','projectBaseHierarchy','dateFormat','bases-exchange-client.operation.export-base-by-format','beforeCommandExecuted','catch','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','lastIndex','descend','_initRegistries','large','strategies','base.command.service','number','setSnapshot','getUTCMonth','createBatchCreateRecordsOp','dateKit','[BaseCommandService]:\x20cannot\x20edit\x20field.','decorate','periodComma','_permissionService','label','UniverProFormulaEnginePlugin','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','showFieldNames','getTime','fieldSettings','getStructuredDependencies','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','Checked','redo','@univerjs/rpc','rows','BaseProjection.projectGroups','SetSuperTableMutation','objectId','cycle','isNot','Plugin','renameFormulaUnitReferences','_globalRevision','_deleteRecordsBaseOp','base.command.change-base-field-type','_ganttBarColor','[BaseCommandService]:\x20invalid\x20cell\x20value.','hidden','editable','viewIndexes','Number','push','max','conditionalColoring','invalidateByField','ErrorService','indexOf','field','_formulaService','DeleteBaseRecordCommand','locale','h:mm\x20a','key','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_replaceOptional','ena','Facade','changed','valueOf','base.command.set-base-view-field-visible','SetBaseViewSortCommand','getSupportedBaseFieldStatTypes','includeRecords','operand','getBaseConditionalColorOperators','Phone','depth','createDeleteRecordsUndoOp','selfParent','titleFieldId','prototype','BASES_PLUGIN','createUpdateCellOp','BaseJson1OpApplier','primaryFieldId','Comment','create-view','IUndoRedoService','_resolveGanttDateFieldId','DataSyncPrimaryController','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','renameTable','boolean','basePerf','group','invalidGroupField','104VQaKue','deletePermissionPoint','base.command.set-permission','_resolveKanbanCoverFieldId','leftPaneWidth','progressFieldId','canCreateRecord','_fastSortRows','DeleteView','exports','base.command.delete-base-record','clearBasePermission','viewOrder','setViewGroup','_cellInvalidations','EXACT','round','Person','allowMultiple','base.mutation.apply-base-json1','average','_createNumberingAllocator','createField','_baseSyncDisposables','BaseConditionalColorTarget','canManageView','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','required','[BaseCommandService]:\x20cannot\x20create\x20record.','date','_rowTransformCacheSegment','formatBaseNumberValue','matchAll','isBaseHierarchyField','resolveBaseRangeHierarchyPatches','getAllPermissionPoint','#,##0.00','findIndex','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','renameView','_getTable','UniverProtocol','deleteView','_createNumberingAllocators','registerCommand','depthByRecordId','_projectedRowsCache','_getAllTableIds','symbol','_views','entries','createDefaultConfig','BaseHierarchyInvalidReason','getSnapshot','spacePeriod','scale','Export','ValidateBaseFormulaCommand','_resolveKanbanGroupFieldId','Start\x20date','emitPermissionDenied','_setFormulaFieldCells','PermissionStatus','name','_recordIds','base.command.create-base-table','base.command.update-base-record-order','spaceComma','UpdatedAt','recordCount','EMBED_BASES_TABLE_RESOURCE_KEY','base-perf','base.command.validate-formula','true','canDeleteField','_cacheKey','invalidateByView','_filterRows','_patchProjectedRowsForCellInvalidations','source','Status','invalidReasonByRecordId','FormulaCalculationTriggerService','invalidField','RemoveSuperTableMutation','DeleteBaseViewCommand','createdAt','_commandService','BaseHierarchyError','ruleId','getPermissionPoint','toPrimitive','disposeWithMe','Name','insertOp','getSuperTableRegistrations','True','canEditBaseTargets','getBaseRecordPermissionObjectId','getAffectedRanges','setBasePermissionValue','amd','Date','deepClone','decompressBaseRangeValuesPayload','getBaseViewPermissionObjectId','base.command.create-base-view','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','this-row','_resolveKanbanCardFieldIds','base.command.set-base-view-group','tableRevision','valid','1045675BbIRvm','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','updateCell','operator','SetBaseRecordValuesCommand','_createNumberingFieldValuePatches','rules','401373pVfwaX','\x22.\x20Allowed\x20operators:\x20','Copy','record','Unsupported\x20Base\x20permission\x20object:\x20','protocol','small','toStringTag','_getViewRevision','sort','_formulaCalculationTriggerService','_isAllowedKanbanGroupField','columnSettings','@univerjs-pro/license','invertOp','_findKanbanGroupField','_buildGrid','table','formulaName','join','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','invalidateByCell','invertWithDoc','getAllUnitsForType','createEmbedBasesTableAddMutation','getBaseDashboardPermissionObjectId','validateRecordLinkField','validateRecordLinkValue','UpdateBaseViewConditionalColorRulesCommand','all','tryMaterializeSnapshot','Text','done','SetFormulaCalculationResultMutation','searchTexts','_tableRevisions','#BFDBFE','snapshot','Table','validateBaseHierarchyMove','Parent','path','isEmpty','cell','Clear','conditional','RenameBaseTableCommand','blue','lastIndexOf','BaseDashboard','applyOp','tableOrder','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getUnitType','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','target','BaseCommand.createBatchCreateRecordsOp','_syncBaseUnit','write','getDay','formatBaseDateValue','[BaseFormula]:\x20field\x20\x22','pop','[BaseField]:\x20invalid\x20progress\x20value.','kind','DateSystem','-field-name','length','timeZone','_projectGroups','isBaseRecordIdFieldName','removeOp','BASE_HIERARCHY_PARENT_FIELD_ID','base.fieldType.','_normalizeGalleryConfig','base.command.set-base-view-sort','pushUndoRedo','1.1.0','_projectedViewRowsCache','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','canCreateTable','IResourceManagerService','system','userID','ObjectPermissionService','workingDays','Grid','SetBasePermissionRuleMutation','attachment','canEditRecord','_resolveGalleryCoverFieldId','editCell','canEditCell','bases-exchange-client.operation.export-base','commaPeriod','undo','toLocaleString','record/','_getCurrentUserId','autoIncrement','BaseJson1.normalizeTables','_initialize','_normalizeCellValue','showTodayLine','test','childUnitId','[BaseCommandService]:\x20cannot\x20create\x20table.','_runtimeContext','trigger','createBase','[BaseCommandService]:\x20cannot\x20create\x20field.','_deleteAttachmentResources','SetBaseViewFieldOrderCommand','BaseFieldType','assertBaseTableRecordIdentity','UniverCore','Gallery','_normalizeGanttDisplayColor','Progress','cellRevision','_projectHierarchyGroups','tableName','Gantt','BaseRecordLinkRole','_getJson1DirtyData','columns','fieldName','isBaseConditionalColorDateField','_canEditTable','inferBaseSeparatorStyle','cardLayout','duplicateRecord','BaseHistoryAction','apostrophe','BaseRecord','IS_NOT_EMPTY','Base','NEXT_7_DAYS','embed-ui','_tablePermissions','medium','base.command.move-base-hierarchy-record','_kanbanGroupKeys'];_0xd0ee=function(){return _0x3dbc18;};return _0xd0ee();}
|