@univerjs-pro/bases 1.0.0-alpha.0 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/controllers/base-remote-formula.controller.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +5 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3ddbdb=_0x4f49;(function(_0x2962c6,_0x37abda){const _0x193744=_0x4f49,_0x40e27c=_0x2962c6();while(!![]){try{const _0x27e3da=-parseInt(_0x193744(0x378))/0x1+parseInt(_0x193744(0x2b2))/0x2*(parseInt(_0x193744(0x329))/0x3)+parseInt(_0x193744(0x1b4))/0x4*(parseInt(_0x193744(0x1b7))/0x5)+-parseInt(_0x193744(0x29f))/0x6*(parseInt(_0x193744(0x29b))/0x7)+-parseInt(_0x193744(0x169))/0x8*(parseInt(_0x193744(0x38e))/0x9)+parseInt(_0x193744(0x3f0))/0xa+-parseInt(_0x193744(0x28f))/0xb;if(_0x27e3da===_0x37abda)break;else _0x40e27c['push'](_0x40e27c['shift']());}catch(_0x59b4ab){_0x40e27c['push'](_0x40e27c['shift']());}}}(_0x471d,0x2893e),Object[_0x3ddbdb(0x12b)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function a(){const _0x35958c=_0x3ddbdb;if(globalThis[_0x35958c(0x15a)]===!0x0)return!0x0;try{let _0x2fb35b=typeof location>'u'?'':location[_0x35958c(0x3ae)],_0x3299ea=new URLSearchParams(_0x2fb35b);if(_0x3299ea[_0x35958c(0x1d9)](_0x35958c(0x258))==='1'||_0x3299ea['get'](_0x35958c(0x258))===_0x35958c(0x26b)||_0x3299ea[_0x35958c(0x1d9)](_0x35958c(0x172))==='1')return!0x0;}catch{}try{let _0x3d9adb=typeof localStorage>'u'?null:localStorage['getItem'](_0x35958c(0x14a));return _0x3d9adb==='1'||_0x3d9adb===_0x35958c(0x26b);}catch{return!0x1;}}function o(_0x39ef2e,_0x3a40e3,_0x15fc0d){const _0x20410e=_0x3ddbdb;if(!a())return _0x3a40e3();let _0xf10fa0=l(),_0x77707c=_0x20410e(0x30a)+i++;u(_0x77707c+_0x20410e(0x166));try{return _0x3a40e3();}finally{let _0x46b65b=l()-_0xf10fa0;u(_0x77707c+_0x20410e(0x29d)),d(_0x39ef2e,_0x77707c+_0x20410e(0x166),_0x77707c+_0x20410e(0x29d)),c(_0x39ef2e,_0x46b65b,_0x15fc0d);}}async function s(_0x322a83,_0x3e650a,_0x2579e7){const _0x38d665=_0x3ddbdb;if(!a())return _0x3e650a();let _0x135c55=l(),_0x42684c=_0x38d665(0x30a)+i++;u(_0x42684c+_0x38d665(0x166));try{return await _0x3e650a();}finally{let _0xad193d=l()-_0x135c55;u(_0x42684c+_0x38d665(0x29d)),d(_0x322a83,_0x42684c+_0x38d665(0x166),_0x42684c+_0x38d665(0x29d)),c(_0x322a83,_0xad193d,_0x2579e7);}}function c(_0x5a06ad,_0x271f0f,_0x406077){const _0x1f194f=_0x3ddbdb;if(!a())return;let _0x16971c=Math[_0x1f194f(0x3cf)](_0x271f0f*0x64)/0x64,_0x50e173=_0x406077&&Object[_0x1f194f(0x337)](_0x406077)[_0x1f194f(0x29a)]?'\x20'+JSON['stringify'](_0x406077):'';console[_0x1f194f(0x357)](_0x1f194f(0x413)+_0x5a06ad+':\x20'+_0x16971c+'ms'+_0x50e173);}function l(){const _0x108ab3=_0x3ddbdb;return typeof performance<'u'&&typeof performance[_0x108ab3(0x315)]==_0x108ab3(0x3c7)?performance[_0x108ab3(0x315)]():Date[_0x108ab3(0x315)]();}function u(_0x207653){const _0x2f0abd=_0x3ddbdb;try{if(typeof performance<'u'){var _0x1e88ca,_0x549030;(_0x1e88ca=(_0x549030=performance)[_0x2f0abd(0x180)])==null||_0x1e88ca[_0x2f0abd(0x300)](_0x549030,_0x207653);}}catch{}}function d(_0x32351d,_0x5da2e1,_0x1a526a){const _0x32538a=_0x3ddbdb;try{if(typeof performance<'u'){var _0x164704,_0x5a16f9;(_0x164704=(_0x5a16f9=performance)['measure'])==null||_0x164704[_0x32538a(0x300)](_0x5a16f9,_0x32538a(0x413)+_0x32351d,_0x5da2e1,_0x1a526a);}}catch{}}function f(_0x2f25b6){const _0x4a7904=_0x3ddbdb;var _0x5a0b3e,_0x2b1648;return a()?o('BaseCellData.ensureTableCellLayout',()=>p(_0x2f25b6),{'tableId':_0x2f25b6['id'],'records':Object[_0x4a7904(0x337)]((_0x5a0b3e=_0x2f25b6['records'])==null?{}:_0x5a0b3e)[_0x4a7904(0x29a)],'fields':_0x2f25b6[_0x4a7904(0x3c0)][_0x4a7904(0x29a)],'hasRecordOrder':!!((_0x2b1648=_0x2f25b6[_0x4a7904(0x188)])!=null&&_0x2b1648[_0x4a7904(0x29a)])}):p(_0x2f25b6);}function p(_0x2433b2){const _0x393643=_0x3ddbdb;var _0xf6575d,_0xc9ebb,_0x1c50e9,_0x58d3eb,_0x458da5,_0x1cb6f1,_0x4dc0c9,_0xd96674,_0x4de987,_0x5f5603;let _0x2d1621=(_0xf6575d=_0x2433b2['records'])==null?{}:_0xf6575d,_0x197ff8=(_0xc9ebb=_0x2433b2[_0x393643(0x2c6)])==null?{}:_0xc9ebb,_0x1c8acc=(_0x1c50e9=(_0x58d3eb=_0x2433b2[_0x393643(0x188)])==null?void 0x0:_0x58d3eb[_0x393643(0x1c1)](_0x569684=>_0x2d1621[_0x569684]))==null?[]:_0x1c50e9,_0x1d186c=new Set(_0x1c8acc),_0x1779a5=Object[_0x393643(0x14b)](_0x2d1621)['filter'](_0x3125b6=>!_0x1d186c['has'](_0x3125b6['id'])),_0x517170=_0x1779a5['length']?[..._0x1c8acc,..._0x1779a5[_0x393643(0x1b3)]((_0x31f851,_0x61ff1a)=>_0x31f851[_0x393643(0x3ee)][_0x393643(0x334)](_0x61ff1a[_0x393643(0x3ee)]))[_0x393643(0x423)](_0x353d8d=>_0x353d8d['id'])]:_0x1c8acc,_0x4fe650=_0x2433b2[_0x393643(0x3c0)]['filter'](_0x23f88d=>_0x197ff8[_0x23f88d]),_0x1a8835={...(_0x458da5=_0x2433b2['rowId'])==null?{}:_0x458da5},_0x13a9f5={...(_0x1cb6f1=_0x2433b2[_0x393643(0x439)])==null?{}:_0x1cb6f1},_0x3444e5={...(_0x4dc0c9=_0x2433b2['cellData'])==null?{}:_0x4dc0c9};return _0x2433b2['recordOrder']=_0x517170,_0x2433b2[_0x393643(0x3f7)]={},_0x2433b2[_0x393643(0x270)]={},_0x2433b2[_0x393643(0x1f6)]={},_0x2433b2['colId']={},_0x2433b2[_0x393643(0x341)]={},_0x2433b2[_0x393643(0x404)]={...(_0xd96674=_0x2433b2['resources'])==null?{}:_0xd96674},_0x2433b2[_0x393643(0x404)][_0x393643(0x244)]={...(_0x4de987=_0x2433b2[_0x393643(0x404)]['attachmentSets'])==null?{}:_0x4de987},_0x2433b2[_0x393643(0x404)][_0x393643(0x3e6)]={...(_0x5f5603=_0x2433b2[_0x393643(0x404)]['attachments'])==null?{}:_0x5f5603},_0x517170[_0x393643(0x18f)]((_0x45dff5,_0x4e649b)=>{const _0x294c13=_0x393643;_0x2433b2[_0x294c13(0x3f7)][_0x45dff5]=_0x4e649b,_0x2433b2[_0x294c13(0x270)][_0x4e649b]=_0x45dff5;}),_0x4fe650[_0x393643(0x18f)]((_0x2ce7af,_0xe6674a)=>{const _0x14ce40=_0x393643;_0x2433b2[_0x14ce40(0x1f6)][_0x2ce7af]=_0xe6674a,_0x2433b2['colId'][_0xe6674a]=_0x2ce7af;}),Object[_0x393643(0x291)](_0x3444e5)[_0x393643(0x18f)](([_0x22e32a,_0x183d07])=>{const _0x1d2358=_0x393643;var _0x215f86,_0x4d062c;let _0x3cb3d9=Number(_0x22e32a),_0x2e616c=(_0x215f86=_0x1a8835[_0x3cb3d9])==null?_0x517170[_0x3cb3d9]:_0x215f86,_0x23f190=_0x2e616c?_0x2433b2[_0x1d2358(0x3f7)][_0x2e616c]:void 0x0;_0x23f190!=null&&(_0x2433b2[_0x1d2358(0x341)][_0x23f190]={...(_0x4d062c=_0x2433b2[_0x1d2358(0x341)][_0x23f190])==null?{}:_0x4d062c},Object[_0x1d2358(0x291)](_0x183d07==null?{}:_0x183d07)['forEach'](([_0x55153c,_0x295a89])=>{const _0x53d515=_0x1d2358;var _0x4b5abc;let _0x5142d0=Number(_0x55153c),_0x15289d=(_0x4b5abc=_0x13a9f5[_0x5142d0])==null?_0x4fe650[_0x5142d0]:_0x4b5abc,_0xf2422=_0x15289d?_0x2433b2[_0x53d515(0x1f6)][_0x15289d]:void 0x0;_0xf2422!=null&&(_0x2433b2['cellData'][_0x23f190][_0xf2422]=te(_0x295a89));}));}),Object[_0x393643(0x14b)](_0x2d1621)[_0x393643(0x18f)](_0x3ca87d=>{const _0x187d8a=_0x393643;var _0x128b5c,_0x80a07a;let _0x45c3dd=_0x2433b2[_0x187d8a(0x3f7)][_0x3ca87d['id']];_0x45c3dd!=null&&(_0x2433b2[_0x187d8a(0x341)][_0x45c3dd]={...(_0x128b5c=_0x2433b2[_0x187d8a(0x341)][_0x45c3dd])==null?{}:_0x128b5c},Object[_0x187d8a(0x291)]((_0x80a07a=_0x3ca87d[_0x187d8a(0x14b)])==null?{}:_0x80a07a)[_0x187d8a(0x18f)](([_0x33a21d,_0x497ce7])=>{const _0x3f96d5=_0x187d8a;let _0x225539=_0x197ff8[_0x33a21d];(_0x225539==null?void 0x0:_0x225539['type'])===_0x3f96d5(0x2a5)&&ae(_0x2433b2,_0x3ca87d['id'],_0x33a21d,_0x497ce7);let _0x2f4ba5=_0x2433b2[_0x3f96d5(0x1f6)][_0x33a21d];if(_0x2f4ba5==null)return;let _0x399584=_0x2433b2[_0x3f96d5(0x341)][_0x45c3dd][_0x2f4ba5];if(_0x399584!=null){ce(_0x399584,_0x225539,_0x497ce7)&&(_0x2433b2[_0x3f96d5(0x341)][_0x45c3dd][_0x2f4ba5]=b(_0x497ce7,_0x225539));return;}_0x2433b2['cellData'][_0x45c3dd][_0x2f4ba5]=b(_0x497ce7,_0x225539);}));}),_0x2433b2;}function m(_0x4c605f){const _0x175dd2=_0x3ddbdb;var _0x4a67ce;return f(_0x4c605f),Object[_0x175dd2(0x291)]((_0x4a67ce=_0x4c605f[_0x175dd2(0x270)])==null?{}:_0x4a67ce)[_0x175dd2(0x18f)](([_0x3da1fd,_0x53d82a])=>{const _0x5b22ae=_0x175dd2;var _0x5c99d2,_0x3c2c3d,_0x1bda33;let _0x406a5c=Number(_0x3da1fd),_0x4aefe9=_0x4c605f[_0x5b22ae(0x296)][_0x53d82a];_0x4aefe9&&(_0x4aefe9['values']={...(_0x5c99d2=_0x4aefe9[_0x5b22ae(0x14b)])==null?{}:_0x5c99d2},Object[_0x5b22ae(0x291)]((_0x3c2c3d=(_0x1bda33=_0x4c605f['cellData'])==null?void 0x0:_0x1bda33[_0x406a5c])==null?{}:_0x3c2c3d)[_0x5b22ae(0x18f)](([_0x6243e7,_0x8c6d4c])=>{const _0x627c54=_0x5b22ae;var _0x56fa34;let _0x57fc48=(_0x56fa34=_0x4c605f[_0x627c54(0x439)])==null?void 0x0:_0x56fa34[Number(_0x6243e7)];_0x57fc48&&(_0x4aefe9['values'][_0x57fc48]=x(_0x8c6d4c,_0x4c605f[_0x627c54(0x2c6)][_0x57fc48],_0x4c605f,_0x53d82a));}));}),_0x4c605f;}function h(_0x34df98,_0x5129d3){const _0x57941a=_0x3ddbdb;for(let {row:_0x4a8258,col:_0x22fc28}of _0x5129d3){var _0x1855e0,_0x7783d1,_0x36aad8,_0x4346ec;let _0x36175d=(_0x1855e0=_0x34df98[_0x57941a(0x270)])==null?void 0x0:_0x1855e0[_0x4a8258],_0x3b667f=(_0x7783d1=_0x34df98['colId'])==null?void 0x0:_0x7783d1[_0x22fc28],_0x5ef0ea=_0x36175d?_0x34df98[_0x57941a(0x296)][_0x36175d]:void 0x0;!_0x5ef0ea||!_0x3b667f||(_0x5ef0ea['values']={...(_0x36aad8=_0x5ef0ea['values'])==null?{}:_0x36aad8},_0x5ef0ea[_0x57941a(0x14b)][_0x3b667f]=x((_0x4346ec=_0x34df98[_0x57941a(0x341)])==null||(_0x4346ec=_0x4346ec[_0x4a8258])==null?void 0x0:_0x4346ec[_0x22fc28],_0x34df98[_0x57941a(0x2c6)][_0x3b667f],_0x34df98,_0x36175d));}return _0x34df98;}function g(_0x671b40,_0x4bfb8a,_0x19032f){const _0x5f59e2=_0x3ddbdb;var _0x27e6af,_0x50bc71,_0xe6d8e6,_0x455c69,_0x36bf38,_0x25aaed;let _0x46bb81=(_0x27e6af=_0x671b40[_0x5f59e2(0x3f7)])==null?void 0x0:_0x27e6af[_0x4bfb8a],_0x29c85a=(_0x50bc71=_0x671b40['colIndex'])==null?void 0x0:_0x50bc71[_0x19032f];if(_0x46bb81!=null&&_0x29c85a!=null&&((_0xe6d8e6=_0x671b40[_0x5f59e2(0x270)])==null?void 0x0:_0xe6d8e6[_0x46bb81])===_0x4bfb8a&&((_0x455c69=_0x671b40[_0x5f59e2(0x439)])==null?void 0x0:_0x455c69[_0x29c85a])===_0x19032f)return{'row':_0x46bb81,'col':_0x29c85a};let _0x132a3b=f(_0x671b40),_0x559210=(_0x36bf38=_0x132a3b['rowIndex'])==null?void 0x0:_0x36bf38[_0x4bfb8a],_0x48a67f=(_0x25aaed=_0x132a3b[_0x5f59e2(0x1f6)])==null?void 0x0:_0x25aaed[_0x19032f];return _0x559210==null||_0x48a67f==null?null:{'row':_0x559210,'col':_0x48a67f};}function _(_0x4d6154,_0x2a2495,_0x163899){const _0x4ed3d8=_0x3ddbdb;var _0x44c9e8;let _0x34aac1=g(_0x4d6154,_0x2a2495,_0x163899);if(_0x34aac1)return(_0x44c9e8=_0x4d6154[_0x4ed3d8(0x341)])==null||(_0x44c9e8=_0x44c9e8[_0x34aac1['row']])==null?void 0x0:_0x44c9e8[_0x34aac1[_0x4ed3d8(0x3a0)]];}function v(_0x17e155,_0x455a2f,_0x1bcc68){const _0x2d77ab=_0x3ddbdb;var _0x4e47d6,_0xa8a520;let _0x4b0272=_(_0x17e155,_0x455a2f,_0x1bcc68),_0x516ecf=_0x17e155[_0x2d77ab(0x2c6)][_0x1bcc68];if((_0x516ecf==null?void 0x0:_0x516ecf[_0x2d77ab(0x22c)])==='attachment'){var _0x1ae1e4,_0x26f7b2;return(_0x1ae1e4=oe(_0x17e155,_0x455a2f,_0x1bcc68))==null?S((_0x26f7b2=_0x17e155['records'][_0x455a2f])==null||(_0x26f7b2=_0x26f7b2[_0x2d77ab(0x14b)])==null?void 0x0:_0x26f7b2[_0x1bcc68]):_0x1ae1e4;}if(C(_0x516ecf)||(_0x516ecf==null?void 0x0:_0x516ecf[_0x2d77ab(0x22c)])===_0x2d77ab(0x36c)){var _0x2498d5;let _0x4f52e6=(_0x2498d5=_0x17e155[_0x2d77ab(0x296)][_0x455a2f])==null||(_0x2498d5=_0x2498d5['values'])==null?void 0x0:_0x2498d5[_0x1bcc68];return _0x4f52e6!=null&&_0x4f52e6!==''?se(_0x4f52e6,_0x516ecf):x(_0x4b0272,_0x516ecf,_0x17e155,_0x455a2f);}if(_0x4b0272&&Object[_0x2d77ab(0x34d)][_0x2d77ab(0x1ac)][_0x2d77ab(0x300)](_0x4b0272,'v')){var _0x2fa644;return(_0x2fa644=_0x4b0272['v'])==null?null:_0x2fa644;}return(_0x4e47d6=(_0xa8a520=_0x17e155[_0x2d77ab(0x296)][_0x455a2f])==null||(_0xa8a520=_0xa8a520[_0x2d77ab(0x14b)])==null?void 0x0:_0xa8a520[_0x1bcc68])==null?null:_0x4e47d6;}function y(_0xe7aac3,_0x10ba12,_0x3139b5){const _0x279b37=_0x3ddbdb;var _0xdbec7c,_0x12c30b,_0x4e7112;let _0x45fbc7=_(_0xe7aac3,_0x10ba12,_0x3139b5);if(_0x45fbc7&&Object[_0x279b37(0x34d)][_0x279b37(0x1ac)]['call'](_0x45fbc7,'v')){var _0x30538a;return(_0x30538a=_0x45fbc7['v'])==null?null:_0x30538a;}let _0x10e03d=_0xe7aac3[_0x279b37(0x2c6)][_0x3139b5];return(_0xdbec7c=b((_0x12c30b=(_0x4e7112=_0xe7aac3['records'][_0x10ba12])==null||(_0x4e7112=_0x4e7112[_0x279b37(0x14b)])==null?void 0x0:_0x4e7112[_0x3139b5])==null?null:_0x12c30b,_0x10e03d)['v'])==null?null:_0xdbec7c;}function ee(_0x1a3080,_0x357b0c,_0x35287c,_0x44dc39){const _0xef5abb=_0x3ddbdb;var _0x5791f2,_0x1eefcd,_0x3c9baa,_0x13bc58;let _0x1dbe61=f(_0x1a3080),_0x1d5578=(_0x5791f2=_0x1dbe61[_0xef5abb(0x3f7)])==null?void 0x0:_0x5791f2[_0x357b0c],_0x77564f=(_0x1eefcd=_0x1dbe61[_0xef5abb(0x1f6)])==null?void 0x0:_0x1eefcd[_0x35287c];_0x1d5578==null||_0x77564f==null||(_0x1dbe61[_0xef5abb(0x341)][_0x1d5578]={...(_0x3c9baa=_0x1dbe61[_0xef5abb(0x341)][_0x1d5578])==null?{}:_0x3c9baa},_0x1dbe61[_0xef5abb(0x341)][_0x1d5578][_0x77564f]=b(_0x44dc39,_0x1dbe61[_0xef5abb(0x2c6)][_0x35287c]),((_0x13bc58=_0x1dbe61[_0xef5abb(0x2c6)][_0x35287c])==null?void 0x0:_0x13bc58[_0xef5abb(0x22c)])===_0xef5abb(0x2a5)&&ae(_0x1dbe61,_0x357b0c,_0x35287c,_0x44dc39),_0x1dbe61[_0xef5abb(0x296)][_0x357b0c][_0xef5abb(0x14b)][_0x35287c]=ne(_0x44dc39,_0x1dbe61['cellData'][_0x1d5578][_0x77564f],_0x1dbe61[_0xef5abb(0x2c6)][_0x35287c],_0x1dbe61,_0x357b0c));}function b(_0x19fb9c,_0x48bd4e){const _0x239cf4=_0x3ddbdb;if(re(_0x19fb9c))return(_0x48bd4e==null?void 0x0:_0x48bd4e[_0x239cf4(0x22c)])==='attachment'?{..._0x19fb9c,'v':'','t':e['CellValueType'][_0x239cf4(0x1c4)]}:te(_0x19fb9c);if((_0x48bd4e==null?void 0x0:_0x48bd4e[_0x239cf4(0x22c)])==='attachment')return{'v':'','t':e[_0x239cf4(0x3f3)][_0x239cf4(0x1c4)]};if(C(_0x48bd4e))return{'v':le(_0x19fb9c)[_0x239cf4(0x2f1)](',\x20'),'t':e[_0x239cf4(0x3f3)]['STRING']};if((_0x48bd4e==null?void 0x0:_0x48bd4e[_0x239cf4(0x22c)])===_0x239cf4(0x36c)&&_0x19fb9c&&typeof _0x19fb9c==_0x239cf4(0x239)&&!Array['isArray'](_0x19fb9c)){var _0x633fcc,_0x24e8a1;let _0x383243=_0x19fb9c;return{'v':String((_0x633fcc=(_0x24e8a1=_0x383243[_0x239cf4(0x3f8)])==null?_0x383243[_0x239cf4(0x35e)]:_0x24e8a1)==null?'':_0x633fcc),'t':e[_0x239cf4(0x3f3)]['STRING']};}return _0x19fb9c===null||typeof _0x19fb9c==_0x239cf4(0x277)||typeof _0x19fb9c==_0x239cf4(0x424)||typeof _0x19fb9c==_0x239cf4(0x262)?{'v':_0x19fb9c,'t':de(_0x19fb9c)}:{'v':null,'t':null};}function te(_0xaeaecf){let _0x4776b2=fe(_0xaeaecf['t'],_0xaeaecf['v']);if(_0x4776b2===void 0x0){let {t:_0x4264c9,..._0x3d163a}=_0xaeaecf;return _0x3d163a;}return{..._0xaeaecf,'t':_0x4776b2};}function x(_0x229e97,_0x1ae35b,_0x324dce,_0x571961){const _0x4d565c=_0x3ddbdb;if(!_0x229e97)return null;if((_0x1ae35b==null?void 0x0:_0x1ae35b[_0x4d565c(0x22c)])==='attachment'){var _0x41de80;return _0x324dce&&_0x571961?(_0x41de80=oe(_0x324dce,_0x571961,_0x1ae35b['id']))==null?[]:_0x41de80:[];}if(C(_0x1ae35b))return le(_0x229e97['v']);if((_0x1ae35b==null?void 0x0:_0x1ae35b[_0x4d565c(0x22c)])===_0x4d565c(0x36c)&&_0x324dce&&_0x571961){var _0x536d75;let _0x3efc0b=(_0x536d75=_0x324dce['records'][_0x571961])==null||(_0x536d75=_0x536d75[_0x4d565c(0x14b)])==null?void 0x0:_0x536d75[_0x1ae35b['id']];if(_0x3efc0b&&typeof _0x3efc0b==_0x4d565c(0x239)&&!Array[_0x4d565c(0x22e)](_0x3efc0b))return _0x3efc0b;}if(Object['prototype'][_0x4d565c(0x1ac)][_0x4d565c(0x300)](_0x229e97,'v')){var _0xd81e52;return(_0xd81e52=_0x229e97['v'])==null?null:_0xd81e52;}return null;}function ne(_0x1b898c,_0x4a7cb,_0x5e2738,_0x11627f,_0x1f0782){const _0x1372f9=_0x3ddbdb;return(_0x5e2738==null?void 0x0:_0x5e2738[_0x1372f9(0x22c)])===_0x1372f9(0x2a5)?S(_0x1b898c):C(_0x5e2738)?le(_0x1b898c):(_0x5e2738==null?void 0x0:_0x5e2738[_0x1372f9(0x22c)])===_0x1372f9(0x36c)&&_0x1b898c&&typeof _0x1b898c==_0x1372f9(0x239)&&!Array[_0x1372f9(0x22e)](_0x1b898c)&&!re(_0x1b898c)?_0x1b898c:x(_0x4a7cb,_0x5e2738,_0x11627f,_0x1f0782);}function re(_0x391387){const _0x126f97=_0x3ddbdb;return!!_0x391387&&typeof _0x391387=='object'&&(Object['prototype'][_0x126f97(0x1ac)][_0x126f97(0x300)](_0x391387,'v')||Object[_0x126f97(0x34d)]['hasOwnProperty'][_0x126f97(0x300)](_0x391387,'t')||Object[_0x126f97(0x34d)]['hasOwnProperty'][_0x126f97(0x300)](_0x391387,'p')||Object['prototype'][_0x126f97(0x1ac)]['call'](_0x391387,'f')||Object[_0x126f97(0x34d)][_0x126f97(0x1ac)][_0x126f97(0x300)](_0x391387,'si'));}function ie(_0x16b9cc,_0x174263){return _0x16b9cc+'\x1f'+_0x174263;}function ae(_0x43f664,_0x2d697e,_0x9f0433,_0x28d415){const _0x2dd439=_0x3ddbdb;var _0x59f76d,_0x22deb1,_0xab38d5;let _0x335f31=S(_0x28d415);_0x43f664[_0x2dd439(0x404)]={...(_0x59f76d=_0x43f664[_0x2dd439(0x404)])==null?{}:_0x59f76d},_0x43f664['resources'][_0x2dd439(0x244)]={...(_0x22deb1=_0x43f664['resources'][_0x2dd439(0x244)])==null?{}:_0x22deb1},_0x43f664[_0x2dd439(0x404)][_0x2dd439(0x3e6)]={...(_0xab38d5=_0x43f664[_0x2dd439(0x404)][_0x2dd439(0x3e6)])==null?{}:_0xab38d5};let _0x11b26d=ie(_0x9f0433,_0x2d697e);_0x43f664[_0x2dd439(0x404)]['attachmentSets'][_0x11b26d]=_0x335f31[_0x2dd439(0x423)]((_0x33fa24,_0x5c070f)=>{const _0x44612b=_0x2dd439;var _0x25107b;let _0x452d09=String((_0x25107b=_0x33fa24['id'])==null?_0x11b26d+'\x1f'+_0x5c070f:_0x25107b),_0x5cfb82={..._0x33fa24,'id':_0x452d09};return _0x43f664[_0x44612b(0x404)][_0x44612b(0x3e6)][_0x452d09]=_0x5cfb82,_0x452d09;});}function oe(_0x4e8b2e,_0x36db6a,_0x347ddf){const _0x248e77=_0x3ddbdb;var _0x5b6783;let _0x2555b4=ie(_0x347ddf,_0x36db6a),_0x572fe9=(_0x5b6783=_0x4e8b2e[_0x248e77(0x404)])==null||(_0x5b6783=_0x5b6783['attachmentSets'])==null?void 0x0:_0x5b6783[_0x2555b4];return _0x572fe9?_0x572fe9[_0x248e77(0x423)](_0xeee5ec=>{const _0x6b712c=_0x248e77;var _0x39a416;return(_0x39a416=_0x4e8b2e[_0x6b712c(0x404)])==null||(_0x39a416=_0x39a416['attachments'])==null?void 0x0:_0x39a416[_0xeee5ec];})[_0x248e77(0x1c1)](_0x48e08a=>!!_0x48e08a)[_0x248e77(0x423)](_0x3ebbb7=>({..._0x3ebbb7})):null;}function _0x4f49(_0x3e4b3e,_0x17ff8d){_0x3e4b3e=_0x3e4b3e-0x129;const _0x471d1e=_0x471d();let _0x4f4946=_0x471d1e[_0x3e4b3e];return _0x4f4946;}function S(_0x479bad){const _0x399ffd=_0x3ddbdb;return _0x479bad==null||_0x479bad===''||re(_0x479bad)&&!('id'in _0x479bad)&&!(_0x399ffd(0x1a6)in _0x479bad)?[]:(Array[_0x399ffd(0x22e)](_0x479bad)?_0x479bad:[_0x479bad])[_0x399ffd(0x423)]((_0x33c49e,_0x39608)=>_0x33c49e&&typeof _0x33c49e==_0x399ffd(0x239)?{..._0x33c49e}:{'id':_0x399ffd(0x410)+_0x39608,'name':String(_0x33c49e)})['filter'](_0x3a7888=>Object[_0x399ffd(0x337)](_0x3a7888)[_0x399ffd(0x29a)]>0x0);}function se(_0x1b0d2b,_0xae85ba){const _0x4933ae=_0x3ddbdb;return(_0xae85ba==null?void 0x0:_0xae85ba[_0x4933ae(0x22c)])===_0x4933ae(0x2a5)?S(_0x1b0d2b):C(_0xae85ba)?le(_0x1b0d2b):_0x1b0d2b;}function ce(_0x2ad108,_0x47c5e4,_0x5926e1){const _0x561f71=_0x3ddbdb;return(_0x47c5e4==null?void 0x0:_0x47c5e4[_0x561f71(0x22c)])===_0x561f71(0x2a5)?_0x2ad108['v']!=='':C(_0x47c5e4)?Array[_0x561f71(0x22e)](_0x5926e1)&&(_0x2ad108['v']==null||_0x2ad108['v']===''):!0x1;}function C(_0x5d2872){const _0x24a6cb=_0x3ddbdb;return(_0x5d2872==null?void 0x0:_0x5d2872[_0x24a6cb(0x22c)])===_0x24a6cb(0x171)||(_0x5d2872==null?void 0x0:_0x5d2872[_0x24a6cb(0x22c)])==='person'||(_0x5d2872==null?void 0x0:_0x5d2872[_0x24a6cb(0x22c)])==='group';}function le(_0x36dd53){const _0x42907d=_0x3ddbdb;return _0x36dd53==null||_0x36dd53===''?[]:Array['isArray'](_0x36dd53)?_0x36dd53[_0x42907d(0x423)](_0xa56ed9=>ue(_0xa56ed9))[_0x42907d(0x1c1)](Boolean):String(_0x36dd53)['split'](',')[_0x42907d(0x423)](_0x4e7e92=>_0x4e7e92[_0x42907d(0x2ab)]())['filter'](Boolean);}function ue(_0x4b439e){const _0x27e843=_0x3ddbdb;if(_0x4b439e==null)return'';if(typeof _0x4b439e==_0x27e843(0x277)||typeof _0x4b439e==_0x27e843(0x424)||typeof _0x4b439e==_0x27e843(0x262))return String(_0x4b439e);if(typeof _0x4b439e==_0x27e843(0x239)){var _0x527cd6,_0x3f5c59,_0x460aba;let _0x3390b8=_0x4b439e;return String((_0x527cd6=(_0x3f5c59=(_0x460aba=_0x3390b8['id'])==null?_0x3390b8[_0x27e843(0x1a6)]:_0x460aba)==null?_0x3390b8['text']:_0x3f5c59)==null?'':_0x527cd6);}return String(_0x4b439e);}function de(_0x3bb5a6){const _0x5ba15a=_0x3ddbdb;return _0x3bb5a6==null?null:typeof _0x3bb5a6=='number'?e['CellValueType'][_0x5ba15a(0x3e1)]:typeof _0x3bb5a6=='boolean'?e[_0x5ba15a(0x3f3)][_0x5ba15a(0x161)]:e[_0x5ba15a(0x3f3)]['STRING'];}function fe(_0x5ca20f,_0x2fd5fb){const _0x4ce5ae=_0x3ddbdb;return _0x5ca20f===e['CellValueType'][_0x4ce5ae(0x1c4)]||_0x5ca20f===e[_0x4ce5ae(0x3f3)][_0x4ce5ae(0x3e1)]||_0x5ca20f===e['CellValueType']['BOOLEAN']||_0x5ca20f===e[_0x4ce5ae(0x3f3)]['FORCE_STRING']||_0x5ca20f==null?_0x5ca20f:de(_0x2fd5fb==null?null:_0x2fd5fb);}var w=class{[_0x3ddbdb(0x190)](_0x5b7f49,_0x23e288){const _0x4a3c79=_0x3ddbdb;let _0x130798=this[_0x4a3c79(0x22a)](_0x23e288),_0x1f4d3b=o(_0x4a3c79(0x130),()=>be(_0x5b7f49,_0x23e288),{'invalidations':_0x130798[_0x4a3c79(0x29a)]}),_0x5c5c19=o('BaseJson1.json1Apply',()=>e['JSON1'][_0x4a3c79(0x22c)]['apply'](_0x1f4d3b,_0x23e288),{'invalidations':_0x130798[_0x4a3c79(0x29a)]});return pe(_0x5c5c19,_0x130798)||this['_getTablesToNormalize'](_0x5c5c19,_0x130798)[_0x4a3c79(0x18f)](_0x2accc1=>{m(_0x2accc1);}),_0x5c5c19;}[_0x3ddbdb(0x1b5)](_0x22fdc3,_0x9b7c0e){const _0x483dbe=_0x3ddbdb;return e[_0x483dbe(0x162)]['type']['invertWithDoc'](_0x9b7c0e,_0x22fdc3);}[_0x3ddbdb(0x22a)](_0x3f1609){const _0x4fc74f=_0x3ddbdb;let _0x133e8c=_e(_0x3f1609);return _0x133e8c[_0x4fc74f(0x29a)]?ve(_0x133e8c[_0x4fc74f(0x292)](_0x4e886f=>this[_0x4fc74f(0x22a)](_0x4e886f))):me(_0x3f1609);}[_0x3ddbdb(0x163)](_0x1abc42,_0x52604f){const _0x47bf71=_0x3ddbdb;if(!_0x52604f[_0x47bf71(0x29a)])return[];if(_0x52604f[_0x47bf71(0x333)](_0x5d7a59=>!_0x5d7a59[_0x47bf71(0x344)])){var _0x484c8b;return Object[_0x47bf71(0x14b)]((_0x484c8b=_0x1abc42[_0x47bf71(0x16c)])==null?{}:_0x484c8b);}return Array[_0x47bf71(0x2c8)](new Set(_0x52604f[_0x47bf71(0x423)](_0x53f238=>_0x53f238['tableId'])))['flatMap'](_0x5ee595=>{var _0x333e04;let _0x243fd2=(_0x333e04=_0x1abc42['tables'])==null?void 0x0:_0x333e04[_0x5ee595];return _0x243fd2?[_0x243fd2]:[];});}};function pe(_0x55cdf6,_0x1959b3){const _0x466b94=_0x3ddbdb;if(!_0x1959b3[_0x466b94(0x29a)]||_0x1959b3[_0x466b94(0x333)](_0xb07f99=>_0xb07f99[_0x466b94(0x155)]!==_0x466b94(0x14e)))return!0x1;let _0x120c24=new Map();for(let _0x4c40f4 of _0x1959b3){var _0x23a370;if(!_0x4c40f4[_0x466b94(0x344)]||_0x4c40f4[_0x466b94(0x2cd)]==null||_0x4c40f4[_0x466b94(0x2f0)]==null)continue;let _0xeaeb85=(_0x23a370=_0x120c24[_0x466b94(0x1d9)](_0x4c40f4['tableId']))==null?[]:_0x23a370;_0xeaeb85[_0x466b94(0x39b)]({'row':_0x4c40f4[_0x466b94(0x2cd)],'col':_0x4c40f4[_0x466b94(0x2f0)]}),_0x120c24[_0x466b94(0x12d)](_0x4c40f4['tableId'],_0xeaeb85);}return _0x120c24[_0x466b94(0x18f)]((_0x31e54b,_0x22249a)=>{const _0x3e31c1=_0x466b94;var _0x55406e;let _0x2793c7=(_0x55406e=_0x55cdf6[_0x3e31c1(0x16c)])==null?void 0x0:_0x55406e[_0x22249a];_0x2793c7&&h(_0x2793c7,_0x31e54b);}),!0x0;}function me(_0x40ff79){const _0x430742=_0x3ddbdb;if(!Array['isArray'](_0x40ff79)||_0x40ff79[_0x430742(0x29a)]<0x2)return[{'tableId':'','reason':_0x430742(0x133)}];let _0x48759d=_0x40ff79,_0x104cd0=_0x48759d[_0x430742(0x3a6)](_0x430742(0x16c));return _0x104cd0===-0x1||typeof _0x48759d[_0x104cd0+0x1]!=_0x430742(0x277)?_0x48759d[0x0]===_0x430742(0x2f7)?[]:[{'tableId':'','reason':'unknown'}]:he(_0x48759d,_0x104cd0,String(_0x48759d[_0x104cd0+0x1]));}function he(_0x58b791,_0x4da0b6,_0x11d588){const _0x3c0807=_0x3ddbdb;let _0x2053ea=_0x58b791[_0x4da0b6+0x2];return _0x2053ea===_0x3c0807(0x296)&&typeof _0x58b791[_0x4da0b6+0x3]==_0x3c0807(0x277)?ge(_0x58b791,_0x4da0b6,_0x11d588,String(_0x58b791[_0x4da0b6+0x3])):_0x2053ea===_0x3c0807(0x341)&&_0x58b791[_0x4da0b6+0x3]!=null&&_0x58b791[_0x4da0b6+0x4]!=null?[{'tableId':_0x11d588,'reason':'cell','row':Number(_0x58b791[_0x4da0b6+0x3]),'column':Number(_0x58b791[_0x4da0b6+0x4])}]:_0x2053ea==='fields'&&typeof _0x58b791[_0x4da0b6+0x3]==_0x3c0807(0x277)?[{'tableId':_0x11d588,'reason':_0x3c0807(0x3cd),'fieldId':String(_0x58b791[_0x4da0b6+0x3])}]:_0x2053ea===_0x3c0807(0x195)&&typeof _0x58b791[_0x4da0b6+0x3]==_0x3c0807(0x277)?[{'tableId':_0x11d588,'reason':'view','viewId':String(_0x58b791[_0x4da0b6+0x3])}]:[{'tableId':_0x11d588,'reason':_0x2053ea===void 0x0?_0x3c0807(0x2c0):_0x3c0807(0x133)}];}function ge(_0x12cd19,_0x43da7d,_0x169558,_0x4ee0a8){const _0x20c733=_0x3ddbdb;return _0x12cd19[_0x43da7d+0x4]===_0x20c733(0x14b)&&typeof _0x12cd19[_0x43da7d+0x5]==_0x20c733(0x277)?[{'tableId':_0x169558,'reason':_0x20c733(0x14e),'recordId':_0x4ee0a8,'fieldId':String(_0x12cd19[_0x43da7d+0x5])}]:_0x12cd19[_0x43da7d+0x4]===_0x20c733(0x2ca)||_0x12cd19[_0x43da7d+0x4]===_0x20c733(0x19e)?[]:[{'tableId':_0x169558,'reason':_0x20c733(0x230),'recordId':_0x4ee0a8}];}function _e(_0x1bb21a){const _0x90a5d7=_0x3ddbdb;if(!Array['isArray'](_0x1bb21a))return[];let _0xc06c97=_0x1bb21a[_0x90a5d7(0x1c1)](Array[_0x90a5d7(0x22e)]);if(_0xc06c97[_0x90a5d7(0x29a)]>0x1&&_0xc06c97['length']===_0x1bb21a[_0x90a5d7(0x29a)])return _0xc06c97;let _0x56c885=_0x1bb21a['findIndex'](Array[_0x90a5d7(0x22e)]);if(_0x56c885>0x0&&_0x1bb21a['slice'](_0x56c885)['every'](Array['isArray'])){let _0x4413f7=_0x1bb21a[_0x90a5d7(0x2b7)](0x0,_0x56c885);return _0x1bb21a[_0x90a5d7(0x2b7)](_0x56c885)[_0x90a5d7(0x423)](_0x286a6c=>[..._0x4413f7,..._0x286a6c]);}let _0x4c9300=_0x1bb21a[_0x90a5d7(0x3a6)](_0x90a5d7(0x16c));if(_0x4c9300===-0x1||typeof _0x1bb21a[_0x4c9300+0x1]!=_0x90a5d7(0x277))return[];let _0x3e736b=String(_0x1bb21a[_0x4c9300+0x1]),_0x3f0bb5=_0x1bb21a['slice'](_0x4c9300+0x2)[_0x90a5d7(0x1c1)](Array[_0x90a5d7(0x22e)]);return _0x3f0bb5[_0x90a5d7(0x29a)]<=0x1?[]:_0x3f0bb5[_0x90a5d7(0x423)](_0x4589f2=>[_0x90a5d7(0x16c),_0x3e736b,..._0x4589f2]);}function ve(_0x15a3c5){const _0x1d89e0=_0x3ddbdb;let _0x5ef2a=new Set();return _0x15a3c5[_0x1d89e0(0x1c1)](_0x158bc6=>{const _0x2df88b=_0x1d89e0;let _0x263fc=JSON[_0x2df88b(0x1aa)](_0x158bc6);return _0x5ef2a[_0x2df88b(0x1d1)](_0x263fc)?!0x1:(_0x5ef2a['add'](_0x263fc),!0x0);});}function ye(_0x30f484){const _0x3ee5a4=_0x3ddbdb;return e['Tools'][_0x3ee5a4(0x305)](_0x30f484);}function be(_0x268212,_0x563ffe){let _0x3bb31a=xe(_0x563ffe);if(!_0x3bb31a['length'])return ye(_0x268212);let _0x38a323=Ee(_0x268212);for(let _0x1ceb5a of _0x3bb31a)we(_0x38a323,_0x1ceb5a);return _0x38a323;}function xe(_0x43728a){let _0x49a0fe=[];return Se(_0x43728a,[],_0x49a0fe),_0x49a0fe;}function Se(_0x5bc4fc,_0x141484,_0x5010db){const _0x227ee0=_0x3ddbdb;if(!Array[_0x227ee0(0x22e)](_0x5bc4fc))return;let _0x2e26c2=[];for(let _0x2ef5b2 of _0x5bc4fc){if(Array['isArray'](_0x2ef5b2)){Se(_0x2ef5b2,[..._0x141484,..._0x2e26c2],_0x5010db);continue;}if(Ce(_0x2ef5b2)){_0x5010db[_0x227ee0(0x39b)]([..._0x141484,..._0x2e26c2]);continue;}(typeof _0x2ef5b2=='string'||typeof _0x2ef5b2==_0x227ee0(0x424))&&_0x2e26c2['push'](_0x2ef5b2);}}function Ce(_0x2eb032){const _0x377ad5=_0x3ddbdb;if(!_0x2eb032||typeof _0x2eb032!=_0x377ad5(0x239)||Array[_0x377ad5(0x22e)](_0x2eb032))return!0x1;let _0x5826c8=_0x2eb032;return'i'in _0x5826c8||'r'in _0x5826c8||'p'in _0x5826c8||'d'in _0x5826c8||'es'in _0x5826c8||'ena'in _0x5826c8||'et'in _0x5826c8;}function we(_0x1fdf45,_0x475504){const _0x3fe210=_0x3ddbdb;let _0x31e5d0=_0x1fdf45;for(let _0x352170=0x0;_0x352170<_0x475504[_0x3fe210(0x29a)]-0x1;_0x352170++){let _0x4d3ba0=_0x475504[_0x352170],_0x4e708c=_0x31e5d0==null?void 0x0:_0x31e5d0[_0x4d3ba0];if(!Te(_0x4e708c))return;let _0x5e78fb=Ee(_0x4e708c);_0x31e5d0[_0x4d3ba0]=_0x5e78fb,_0x31e5d0=_0x5e78fb;}}function Te(_0x5283de){const _0x186f72=_0x3ddbdb;return!!_0x5283de&&typeof _0x5283de==_0x186f72(0x239);}function Ee(_0x191893){const _0x2acfe8=_0x3ddbdb;return Array[_0x2acfe8(0x22e)](_0x191893)?_0x191893['slice']():{..._0x191893};}const De=0x5a0*0x3c*0x3e8,Oe=0x63e1,ke='yyyy/mm/dd',Ae={'yyyy/mm/dd':_0x3ddbdb(0x351),'yyyy/mm/dd\x20hh:mm':'YYYY/MM/DD\x20HH:mm','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':'MM-DD','mm/dd/yyyy':_0x3ddbdb(0x23e),'dd/mm/yyyy':_0x3ddbdb(0x2dc),'mmm\x20d,\x20yyyy':_0x3ddbdb(0x38a)};function T(_0x451e5){const _0x511933=_0x3ddbdb;return(0x0,e[_0x511933(0x1bf)])(_0x451e5)[_0x511933(0x24e)]()/De+Oe;}function je(_0x2e9f4d){return(_0x2e9f4d-Oe)*De;}function E(_0x49a76e){const _0x39e9dd=_0x3ddbdb;if(_0x49a76e==null||_0x49a76e==='')return null;if(_0x49a76e instanceof Date)return T(_0x49a76e);if(typeof _0x49a76e==_0x39e9dd(0x424))return Number[_0x39e9dd(0x2f5)](_0x49a76e)?_0x49a76e>0xf4240?T(_0x49a76e):_0x49a76e:null;let _0xeb8d35=Date['parse'](String(_0x49a76e));return Number[_0x39e9dd(0x427)](_0xeb8d35)?null:T(_0xeb8d35);}function D(_0xc4d76e){let _0x275217=E(_0xc4d76e);return _0x275217==null?null:je(_0x275217);}function Me(_0x32c47e,_0x2c2c63={}){const _0x564c97=_0x3ddbdb;var _0x16dde0,_0x5ec481,_0x238ca8;let _0x2fe047=D(_0x32c47e);if(_0x2fe047==null||!Number[_0x564c97(0x2f5)](_0x2fe047))return'';let _0x3fbec8=String((_0x16dde0=(_0x5ec481=_0x2c2c63[_0x564c97(0x177)])==null?_0x2c2c63[_0x564c97(0x28b)]:_0x5ec481)==null?ke:_0x16dde0),_0x2fe06a=_0x2c2c63[_0x564c97(0x29e)]===!0x0||_0x3fbec8[_0x564c97(0x328)](_0x564c97(0x38c)),_0x1a258d=String((_0x238ca8=_0x2c2c63['hourCycle'])==null?_0x564c97(0x430):_0x238ca8);return(0x0,e[_0x564c97(0x1bf)])(_0x2fe047)['format'](Ne(_0x3fbec8,_0x2fe06a,_0x1a258d));}function Ne(_0x92e87,_0x332630,_0x48c4a0){const _0x125f60=_0x3ddbdb;var _0x3ed1e9;let _0x29b76f=(_0x3ed1e9=Ae[_0x92e87])==null?Ae[ke]:_0x3ed1e9;return!_0x332630||_0x92e87['includes'](_0x125f60(0x38c))?_0x29b76f:_0x29b76f+'\x20'+(_0x48c4a0==='h12'?_0x125f60(0x158):_0x125f60(0x26a));}const Pe={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Fe=new Set([_0x3ddbdb(0x32c),_0x3ddbdb(0x1b8),_0x3ddbdb(0x2e5),_0x3ddbdb(0x3fe),'location',_0x3ddbdb(0x294),_0x3ddbdb(0x36e),_0x3ddbdb(0x1b1)]),O=0x5a0*0x3c*0x3e8;function Ie(_0x57b950,_0x3b42e5){const _0xaeecd8=_0x3ddbdb;return _0x57b950==null&&_0x3b42e5==null?0x0:_0x57b950==null?-0x1:_0x3b42e5==null?0x1:typeof _0x57b950==_0xaeecd8(0x424)&&typeof _0x3b42e5==_0xaeecd8(0x424)?_0x57b950-_0x3b42e5:String(_0x57b950)[_0xaeecd8(0x334)](String(_0x3b42e5));}function Le(_0x1ab407,_0xf523f2,_0x5399d6,_0x1fffcf,_0x15849d={}){const _0x593e0e=_0x3ddbdb;if(_0xf523f2===_0x593e0e(0x32a))return Re(_0x1ab407);if(_0xf523f2===_0x593e0e(0x20f))return!Re(_0x1ab407);switch(_0x1fffcf['type']){case _0x593e0e(0x424):case _0x593e0e(0x30b):case'progress':case _0x593e0e(0x235):return ze(_0x1ab407,_0xf523f2,_0x5399d6);case _0x593e0e(0x18b):case'createdAt':case'updatedAt':return Ve(_0x1ab407,_0xf523f2,_0x5399d6,_0x15849d);case _0x593e0e(0x164):return qe(_0x1ab407,_0xf523f2,_0x5399d6);case'singleSelect':case _0x593e0e(0x171):case _0x593e0e(0x1be):case _0x593e0e(0x40e):return Ye(_0x1ab407,_0xf523f2,_0x5399d6,_0x1fffcf);default:return Xe(_0x1ab407,_0xf523f2,_0x5399d6);}}function Re(_0x581ed9){const _0x1c4df4=_0x3ddbdb;return _0x581ed9==null?!0x0:Array[_0x1c4df4(0x22e)](_0x581ed9)?_0x581ed9[_0x1c4df4(0x29a)]===0x0:typeof _0x581ed9==_0x1c4df4(0x277)?_0x581ed9['trim']()==='':!0x1;}function ze(_0x58de62,_0x3cc1a0,_0x4104f8){const _0xc01bf4=_0x3ddbdb;let _0x12fded=Be(_0x58de62),_0x19ed36=Be(_0x4104f8);if(_0x12fded==null||_0x19ed36==null)return!0x1;switch(_0x3cc1a0){case'is':return _0x12fded===_0x19ed36;case _0xc01bf4(0x27f):return _0x12fded!==_0x19ed36;case _0xc01bf4(0x3f2):return _0x12fded>_0x19ed36;case _0xc01bf4(0x1f9):return _0x12fded>=_0x19ed36;case _0xc01bf4(0x3ce):return _0x12fded<_0x19ed36;case _0xc01bf4(0x175):return _0x12fded<=_0x19ed36;default:return!0x1;}}function Be(_0x3592fa){const _0xffbdfd=_0x3ddbdb;if(_0x3592fa==null||_0x3592fa==='')return null;let _0x4dee5c=Number(_0x3592fa);return Number[_0xffbdfd(0x2f5)](_0x4dee5c)?_0x4dee5c:null;}function Ve(_0x47b409,_0x4589c5,_0x40f20c,_0x3efc81){const _0x3ddfd1=_0x3ddbdb;var _0x589725;let _0x3b23ed=Ue(_0x47b409);if(_0x3b23ed==null)return!0x1;let _0x1b8d30=He((_0x589725=_0x3efc81[_0x3ddfd1(0x30c)])==null?_0x3ddfd1(0x31c):_0x589725,_0x40f20c,_0x3efc81[_0x3ddfd1(0x315)]);if(!_0x1b8d30)return!0x1;switch(_0x4589c5){case'is':return _0x3b23ed>=_0x1b8d30[_0x3ddfd1(0x159)]&&_0x3b23ed<=_0x1b8d30[_0x3ddfd1(0x386)];case _0x3ddfd1(0x27f):return _0x3b23ed<_0x1b8d30[_0x3ddfd1(0x159)]||_0x3b23ed>_0x1b8d30[_0x3ddfd1(0x386)];case'before':return _0x3b23ed<_0x1b8d30['start'];case'after':return _0x3b23ed>_0x1b8d30[_0x3ddfd1(0x386)];default:return!0x1;}}function He(_0x38aade,_0x54d480,_0x36d507=Date[_0x3ddbdb(0x315)]()){const _0x2a6139=_0x3ddbdb;let _0x1a1359=We(_0x36d507);switch(_0x38aade){case _0x2a6139(0x31c):{let _0x158815=Ue(_0x54d480);return _0x158815==null?null:{'start':_0x158815,'end':_0x158815+O-0x1};}case _0x2a6139(0x222):return{'start':_0x1a1359,'end':_0x1a1359+O-0x1};case _0x2a6139(0x18d):return{'start':_0x1a1359+O,'end':_0x1a1359+O*0x2-0x1};case _0x2a6139(0x132):return{'start':_0x1a1359-O,'end':_0x1a1359-0x1};case _0x2a6139(0x198):return Ge(_0x1a1359,0x0);case _0x2a6139(0x2fa):return Ge(_0x1a1359,-0x1);case _0x2a6139(0x361):return Ke(_0x1a1359,0x0);case _0x2a6139(0x33b):return Ke(_0x1a1359,-0x1);case _0x2a6139(0x347):return{'start':_0x1a1359-O*0x6,'end':_0x1a1359+O-0x1};case'next7':return{'start':_0x1a1359,'end':_0x1a1359+O*0x7-0x1};case _0x2a6139(0x346):return{'start':_0x1a1359-O*0x1d,'end':_0x1a1359+O-0x1};case _0x2a6139(0x17a):return{'start':_0x1a1359,'end':_0x1a1359+O*0x1e-0x1};}}function Ue(_0x4ab57c){let _0x5150f6=E(_0x4ab57c);return _0x5150f6==null?null:We(je(_0x5150f6));}function We(_0x4c39f7){const _0x471a75=_0x3ddbdb;let _0xdc6d92=new Date(_0x4c39f7);return _0xdc6d92[_0x471a75(0x320)](0x0,0x0,0x0,0x0),_0xdc6d92['getTime']();}function Ge(_0x3c4a44,_0x6abaa1){const _0x4f770e=_0x3ddbdb;let _0x3b9dd9=_0x3c4a44-(new Date(_0x3c4a44)[_0x4f770e(0x25b)]()+0x6)%0x7*O+_0x6abaa1*O*0x7;return{'start':_0x3b9dd9,'end':_0x3b9dd9+O*0x7-0x1};}function Ke(_0x4cfc64,_0x1bd155){const _0x7449d5=_0x3ddbdb;let _0x92c397=new Date(_0x4cfc64),_0x3b04f0=new Date(_0x92c397['getFullYear'](),_0x92c397[_0x7449d5(0x260)]()+_0x1bd155,0x1),_0x1a047d=new Date(_0x92c397[_0x7449d5(0x3bf)](),_0x92c397['getMonth']()+_0x1bd155+0x1,0x1);return{'start':_0x3b04f0[_0x7449d5(0x1b2)](),'end':_0x1a047d[_0x7449d5(0x1b2)]()-0x1};}function qe(_0x2a3bd7,_0x3234c8,_0x1d5018){const _0xb65cf9=_0x3ddbdb;let _0x1590ec=Je(_0x2a3bd7),_0x40b011=Je(_0x1d5018);switch(_0x3234c8){case'is':return _0x1590ec===_0x40b011;case _0xb65cf9(0x27f):return _0x1590ec!==_0x40b011;default:return!0x1;}}function Je(_0x36ad84){return _0x36ad84===!0x0||_0x36ad84==='true'||_0x36ad84===0x1||_0x36ad84==='1';}function Ye(_0x321ce9,_0x3cac2f,_0x83d8bf,_0x4fb305){const _0x4dc5ac=_0x3ddbdb;let _0x3da9eb=Qe(_0x321ce9,_0x4fb305),_0x1a8784=Qe(_0x83d8bf,_0x4fb305),_0x3a03f2=_0x1a8784[_0x4dc5ac(0x29a)]>0x0&&_0x1a8784[_0x4dc5ac(0x333)](_0x5c9caa=>_0x3da9eb[_0x4dc5ac(0x328)](_0x5c9caa));switch(_0x3cac2f){case'is':case _0x4dc5ac(0x276):return _0x3a03f2;case _0x4dc5ac(0x27f):case'notContains':return!_0x3a03f2;default:return!0x1;}}function Xe(_0x427a16,_0x243755,_0x30c811){const _0x18884c=_0x3ddbdb;let _0x4d8b8e=Ze(_0x427a16),_0x4a3ad6=Ze(_0x30c811);switch(_0x243755){case'is':return _0x4d8b8e===_0x4a3ad6;case _0x18884c(0x27f):return _0x4d8b8e!==_0x4a3ad6;case _0x18884c(0x276):return _0x4a3ad6?_0x4d8b8e[_0x18884c(0x328)](_0x4a3ad6):!0x1;case _0x18884c(0x3a3):return _0x4a3ad6?!_0x4d8b8e['includes'](_0x4a3ad6):!0x0;default:return!0x1;}}function Ze(_0x2ec52c){const _0x3f7084=_0x3ddbdb;if(Array[_0x3f7084(0x22e)](_0x2ec52c))return _0x2ec52c[_0x3f7084(0x423)](_0x4eef2d=>Ze(_0x4eef2d))[_0x3f7084(0x2f1)]('\x0a');if(_0x2ec52c&&typeof _0x2ec52c=='object'){var _0x1f37d6,_0x4647bd,_0x442ba1,_0x5f1c27,_0x35be58;let _0x39f1f5=_0x2ec52c;return String((_0x1f37d6=(_0x4647bd=(_0x442ba1=(_0x5f1c27=(_0x35be58=_0x39f1f5[_0x3f7084(0x1a6)])==null?_0x39f1f5[_0x3f7084(0x332)]:_0x35be58)==null?_0x39f1f5[_0x3f7084(0x3f8)]:_0x5f1c27)==null?_0x39f1f5[_0x3f7084(0x3ad)]:_0x442ba1)==null?_0x39f1f5['id']:_0x4647bd)==null?'':_0x1f37d6)[_0x3f7084(0x2ab)]()[_0x3f7084(0x2c2)]();}return String(_0x2ec52c==null?'':_0x2ec52c)[_0x3f7084(0x2ab)]()[_0x3f7084(0x2c2)]();}function Qe(_0xb8f7ab,_0x1e9cd3){const _0x131745=_0x3ddbdb;var _0x27dadf;let _0x362505=$e(_0xb8f7ab),_0x4d491f=et((_0x27dadf=_0x1e9cd3['config'])==null?{}:_0x27dadf);return _0x362505['flatMap'](_0x355a4d=>{const _0x1c5f91=_0x4f49;var _0x343e84;return(_0x343e84=_0x4d491f[_0x1c5f91(0x1d9)](_0x355a4d))==null?[_0x355a4d]:_0x343e84;})[_0x131745(0x1c1)]((_0x14484a,_0x5101c6,_0xd6c2bd)=>_0x14484a!==''&&_0xd6c2bd[_0x131745(0x3a6)](_0x14484a)===_0x5101c6);}function $e(_0x598412){const _0x47d526=_0x3ddbdb;if(_0x598412==null||_0x598412==='')return[];if(Array[_0x47d526(0x22e)](_0x598412))return _0x598412['flatMap'](_0x23c519=>$e(_0x23c519));if(_0x598412&&typeof _0x598412=='object'){let _0x10dd54=_0x598412;return['id',_0x47d526(0x1a6),_0x47d526(0x332),_0x47d526(0x3ad),'text']['flatMap'](_0x3d9d43=>$e(_0x10dd54[_0x3d9d43]))[_0x47d526(0x1c1)]((_0x18c7ac,_0x36a15d,_0x145bca)=>_0x145bca['indexOf'](_0x18c7ac)===_0x36a15d);}return[Ze(_0x598412)];}function et(_0x28c7f3){const _0x1e23e6=_0x3ddbdb;let _0x49a483=new Map();return(Array[_0x1e23e6(0x22e)](_0x28c7f3[_0x1e23e6(0x2dd)])?_0x28c7f3[_0x1e23e6(0x2dd)]:[])[_0x1e23e6(0x18f)](_0x1ba580=>{const _0x425543=_0x1e23e6;if(!_0x1ba580||typeof _0x1ba580!=_0x425543(0x239))return;let _0x488f6b=$e(_0x1ba580),_0x55720a=_0x488f6b['filter']((_0x4a3f73,_0x484d62)=>_0x4a3f73!==''&&_0x488f6b[_0x425543(0x3a6)](_0x4a3f73)===_0x484d62);_0x55720a[_0x425543(0x18f)](_0x253792=>_0x49a483[_0x425543(0x12d)](_0x253792,_0x55720a));}),_0x49a483;}function k(_0x535632,_0x561b7c={},_0x428a4b=_0x5cb968=>_0x5cb968,_0x523933={}){const _0x21d98f=_0x3ddbdb;var _0x2dacc7,_0xfeae13,_0x88cad2,_0x5b6f49;let _0x554ccf=!Fe[_0x21d98f(0x1d1)](_0x535632),_0x79d0b9=_0x428a4b==null?_0x8d7eea=>_0x8d7eea:_0x428a4b;return{'type':_0x535632,'i18nKey':_0x21d98f(0x27a)+_0x535632,'enabled':_0x554ccf,'visibleInCreateMenu':_0x554ccf,'createDefaultConfig':(_0x2dacc7=_0x523933[_0x21d98f(0x2d3)])==null?()=>({}):_0x2dacc7,'createDefaultValue':(_0xfeae13=_0x523933[_0x21d98f(0x216)])==null?_0x4ee2b4=>{var _0xaecf48;return(_0xaecf48=_0x4ee2b4['defaultValue'])==null?null:_0xaecf48;}:_0xfeae13,'normalize':(_0x573244,_0x42d7e9)=>_0x79d0b9(_0x573244,_0x42d7e9),'validate':(_0x59cd0b,_0x974c7a)=>{const _0x13ad99=_0x21d98f;var _0x350b21,_0x289cf3;return _0x554ccf?(_0x350b21=(_0x289cf3=_0x523933[_0x13ad99(0x21a)])==null?void 0x0:_0x289cf3[_0x13ad99(0x300)](_0x523933,_0x59cd0b,_0x974c7a))==null?{'valid':!0x0}:_0x350b21:{'valid':!0x1};},'compare':(_0x20991e,_0x466bb6)=>Ie(_0x20991e,_0x466bb6),'filter':(_0x46287f,_0x5ccd6c,_0x35596e,_0x59ca57)=>Le(_0x46287f,_0x5ccd6c,_0x35596e,_0x59ca57),'toPlainText':(_0x88cad2=_0x523933[_0x21d98f(0x3d8)])==null?_0x9e7e57=>_0x9e7e57==null?'':String(_0x9e7e57):_0x88cad2,'fromPlainText':(_0x5b6f49=_0x523933['fromPlainText'])==null?_0xad601b=>_0x79d0b9(_0xad601b,{'id':'','name':'','type':_0x535632,'config':{}}):_0x5b6f49,'getCapabilities':()=>{const _0xa52caf=_0x21d98f;var _0x4d6df5;return{...Pe,..._0x561b7c,'editable':_0x554ccf&&((_0x4d6df5=_0x561b7c[_0xa52caf(0x24f)])==null?Pe[_0xa52caf(0x24f)]:_0x4d6df5)};}};}function tt(){const _0x537cfd=_0x3ddbdb;return[k('text',{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x537cfd(0x304)}),'createDefaultValue':_0x281419=>{const _0x536004=_0x537cfd;var _0x19f4fd;return(_0x19f4fd=_0x281419[_0x536004(0x2eb)])==null?'':_0x19f4fd;}}),k(_0x537cfd(0x3d6),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4ec8b5=>_0x4ec8b5==null||_0x4ec8b5===''?null:String(_0x4ec8b5),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),k(_0x537cfd(0x171),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x396a93=>Array[_0x537cfd(0x22e)](_0x396a93)?_0x396a93[_0x537cfd(0x423)](String):_0x396a93==null?[]:[String(_0x396a93)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x537cfd(0x2cc)}}),'createDefaultValue':_0x2d679a=>{var _0x3dbd54;return(_0x3dbd54=_0x2d679a['defaultValue'])==null?[]:_0x3dbd54;}}),k('person',{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},at,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x537cfd(0x1be)}),'validate':ot}),k(_0x537cfd(0x40e),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},it,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x537cfd(0x40e)}),'createDefaultValue':_0x593ee7=>{const _0x47e8e4=_0x537cfd;var _0x4ee612;return(_0x4ee612=_0x593ee7[_0x47e8e4(0x2eb)])==null?[]:_0x4ee612;},'validate':st}),k(_0x537cfd(0x18b),{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4c3654=>E(_0x4c3654),{'createDefaultConfig':()=>rt(),'validate':ct}),k(_0x537cfd(0x2a5),{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x49f023=>_0x49f023==null?[]:Array[_0x537cfd(0x22e)](_0x49f023)?_0x49f023:[_0x49f023],{'createDefaultValue':_0x348353=>{const _0x7afd9c=_0x537cfd;var _0x4ef598;return(_0x4ef598=_0x348353[_0x7afd9c(0x2eb)])==null?[]:_0x4ef598;}}),k('number',{},_0x58e3d8=>_0x58e3d8==null||_0x58e3d8===''?null:Number(_0x58e3d8),{'createDefaultConfig':()=>nt(),'validate':lt}),k(_0x537cfd(0x164),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3feb48=>_0x3feb48===!0x0||_0x3feb48==='true'||_0x3feb48===0x1||_0x3feb48==='1',{'createDefaultConfig':()=>({'icon':_0x537cfd(0x340),'color':'#16a34a'}),'createDefaultValue':_0x1e129e=>{const _0x200cde=_0x537cfd;var _0x3fe7f1;return(_0x3fe7f1=_0x1e129e[_0x200cde(0x2eb)])==null?!0x1:_0x3fe7f1;},'validate':_0x18b2ac=>typeof _0x18b2ac==_0x537cfd(0x262)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x537cfd(0x250)}}),k(_0x537cfd(0x36c),{'supportsRelation':!0x0},dt,{'createDefaultConfig':()=>({'placeholder':_0x537cfd(0x33f)}),'toPlainText':_0x1d813e=>ft(_0x1d813e),'fromPlainText':_0x4c3e48=>dt(_0x4c3e48)}),k(_0x537cfd(0x19c),{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x537cfd(0x2af),'pattern':_0x537cfd(0x3e4)}}),'createDefaultValue':()=>null}),k(_0x537cfd(0x32c),{}),k(_0x537cfd(0x2e5),{}),k('button',{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),k(_0x537cfd(0x381),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x537cfd(0x33e)}),'createDefaultValue':()=>null}),k(_0x537cfd(0x1a4),{'usableAsTitle':!0x0},_0xe76e66=>_0xe76e66==null?null:String(_0xe76e66)[_0x537cfd(0x2ab)](),{'validate':_0x484b41=>_0x484b41==null||_0x484b41===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x484b41))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x537cfd(0x2e1)}}),k(_0x537cfd(0x138),{'usableAsTitle':!0x0},_0x57e728=>_0x57e728==null?null:String(_0x57e728)['trim'](),{'validate':_0x11fc41=>_0x11fc41==null||_0x11fc41===''||mt(String(_0x11fc41))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x537cfd(0x3e9)}}),k(_0x537cfd(0x1e6),{'usableAsTitle':!0x0}),k(_0x537cfd(0x1b1),{'usableAsTitle':!0x0}),k(_0x537cfd(0x15c),{'usableAsGanttProgress':!0x0},_0x3c4838=>_0x3c4838==null||_0x3c4838===''?null:Number(_0x3c4838),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x537cfd(0x2d1),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x92c088,_0x1467e2)=>ut(_0x92c088,_0x1467e2,_0x537cfd(0x35d))}),k('currency',{},_0x4423c1=>_0x4423c1==null||_0x4423c1===''?null:Number(_0x4423c1),{'createDefaultConfig':()=>({...nt(),'currencySymbol':'$'}),'validate':lt}),k('rating',{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x310152=>_0x310152==null||_0x310152===''?null:Number(_0x310152),{'createDefaultConfig':()=>({'icon':_0x537cfd(0x1db),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x27b35c,_0x203536)=>ut(_0x27b35c,_0x203536,_0x537cfd(0x223))}),k('twoWayLink',{'supportsRelation':!0x0}),k(_0x537cfd(0x36e),{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),k(_0x537cfd(0x167),{'editable':!0x1,'groupable':!0x0},_0x1ae461=>_0x1ae461==null?null:String(_0x1ae461),{'createDefaultConfig':()=>({'provider':_0x537cfd(0x2e4)}),'createDefaultValue':()=>null}),k('updatedBy',{'editable':!0x1,'groupable':!0x0},_0x5126ce=>_0x5126ce==null?null:String(_0x5126ce),{'createDefaultConfig':()=>({'provider':_0x537cfd(0x2e4)}),'createDefaultValue':()=>null}),k('createdAt',{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5bd262=>E(_0x5bd262),{'createDefaultConfig':()=>rt(),'createDefaultValue':()=>null,'validate':ct}),k('updatedAt',{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x20c92c=>E(_0x20c92c),{'createDefaultConfig':()=>rt(),'createDefaultValue':()=>null,'validate':ct}),k('summary',{})];}function nt(){const _0x1fd1e1=_0x3ddbdb;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':_0x1fd1e1(0x193),'allowNegative':!0x0};}function rt(){const _0x7ad14e=_0x3ddbdb;return{'locale':'en-US','pattern':_0x7ad14e(0x41c),'includeTime':!0x1,'hourCycle':_0x7ad14e(0x430),'defaultMode':_0x7ad14e(0x193)};}function it(_0x413846){const _0xfb9ed8=_0x3ddbdb;return _0x413846==null||_0x413846===''?[]:Array['isArray'](_0x413846)?_0x413846[_0xfb9ed8(0x423)](String):[String(_0x413846)];}function at(_0x1182c2,_0x5b9337){const _0x4d2973=_0x3ddbdb;var _0x2456ef;return _0x1182c2==null||_0x1182c2===''?_0x5b9337['config'][_0x4d2973(0x1a5)]===!0x0?[]:null:_0x5b9337[_0x4d2973(0x367)][_0x4d2973(0x1a5)]===!0x0?Array['isArray'](_0x1182c2)?_0x1182c2[_0x4d2973(0x423)](String):[String(_0x1182c2)]:Array[_0x4d2973(0x22e)](_0x1182c2)?String((_0x2456ef=_0x1182c2[0x0])==null?'':_0x2456ef)||null:String(_0x1182c2);}function ot(_0x3de687,_0x28dac3){const _0x2e87d7=_0x3ddbdb;return _0x28dac3[_0x2e87d7(0x367)][_0x2e87d7(0x1a5)]===!0x0?st(_0x3de687):_0x3de687==null||_0x3de687===''||typeof _0x3de687==_0x2e87d7(0x277)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2e87d7(0x3f5)};}function st(_0x2e3b76){const _0x46e0d1=_0x3ddbdb;return _0x2e3b76==null||Array[_0x46e0d1(0x22e)](_0x2e3b76)&&_0x2e3b76['every'](_0x25f07a=>typeof _0x25f07a=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x46e0d1(0x3df)};}function ct(_0x28722a){const _0x14ab0f=_0x3ddbdb;return _0x28722a==null||typeof _0x28722a=='number'&&Number['isFinite'](_0x28722a)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14ab0f(0x397)};}function lt(_0xd90c5b,_0x5c88d8){const _0x32183e=_0x3ddbdb;return _0xd90c5b==null||_0xd90c5b===''?{'valid':!0x0}:typeof _0xd90c5b!=_0x32183e(0x424)||!Number[_0x32183e(0x2f5)](_0xd90c5b)?{'valid':!0x1,'reason':_0x32183e(0x3db)}:_0x5c88d8[_0x32183e(0x367)][_0x32183e(0x384)]===!0x1&&_0xd90c5b<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function ut(_0xe8bc2c,_0x207e1d,_0x1bf3c7){const _0x12869b=_0x3ddbdb;var _0x3d5805,_0x41fca5,_0x1bab55,_0x45956d;let _0x93b995=lt(_0xe8bc2c,_0x207e1d);if(!_0x93b995[_0x12869b(0x21b)]||_0xe8bc2c==null||_0xe8bc2c==='')return _0x93b995;let _0x54b4b5=Number((_0x3d5805=(_0x41fca5=_0x207e1d[_0x12869b(0x367)][_0x12869b(0x13b)])==null?_0x207e1d[_0x12869b(0x367)]['start']:_0x41fca5)==null?0x0:_0x3d5805),_0x234130=Number((_0x1bab55=(_0x45956d=_0x207e1d[_0x12869b(0x367)][_0x12869b(0x1d8)])==null?_0x207e1d[_0x12869b(0x367)][_0x12869b(0x386)]:_0x45956d)==null?0x64:_0x1bab55),_0x10833e=Number(_0xe8bc2c);return _0x10833e>=_0x54b4b5&&_0x10833e<=_0x234130?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1bf3c7};}function dt(_0x779c65){const _0x54471=_0x3ddbdb;if(_0x779c65==null||_0x779c65==='')return null;if(typeof _0x779c65==_0x54471(0x239)&&!Array['isArray'](_0x779c65)){let _0x57ca20=_0x779c65,_0x51ad18=typeof _0x57ca20[_0x54471(0x3f8)]=='string'?_0x57ca20[_0x54471(0x3f8)][_0x54471(0x2ab)]():'',_0x50f6f8=typeof _0x57ca20['url']=='string'?_0x57ca20[_0x54471(0x35e)][_0x54471(0x2ab)]():'',_0x173da9=pt(_0x50f6f8||_0x51ad18);return _0x173da9?{'text':_0x51ad18||_0x50f6f8||_0x173da9,'url':_0x173da9}:null;}let _0x3af591=String(_0x779c65)[_0x54471(0x2ab)](),_0x79e44e=pt(_0x3af591);return _0x79e44e?{'text':_0x3af591,'url':_0x79e44e}:null;}function ft(_0xd7b372){const _0x2bdb3d=_0x3ddbdb;if(_0xd7b372==null)return'';if(typeof _0xd7b372==_0x2bdb3d(0x239)&&!Array[_0x2bdb3d(0x22e)](_0xd7b372)){let _0x8a39=_0xd7b372;return String(_0x8a39['text']||_0x8a39[_0x2bdb3d(0x35e)]||'');}return String(_0xd7b372);}function pt(_0x45d7aa){const _0x2e99b9=_0x3ddbdb;let _0x5ee692=_0x45d7aa['trim']();return _0x5ee692?/^[a-z][a-z\d+.-]*:\/\//i[_0x2e99b9(0x1e1)](_0x5ee692)?_0x5ee692:'https://'+_0x5ee692:'';}function mt(_0x5d83e1){const _0x39f71c=_0x3ddbdb;let _0x3f26f2=_0x5d83e1['indexOf']('@');if(_0x3f26f2<=0x0||_0x3f26f2!==_0x5d83e1[_0x39f71c(0x1da)]('@'))return!0x1;let _0x3dfbc3=_0x5d83e1['slice'](_0x3f26f2+0x1);return _0x3dfbc3[_0x39f71c(0x328)]('.')&&!_0x5d83e1[_0x39f71c(0x328)]('\x20')&&!_0x3dfbc3[_0x39f71c(0x1ba)]('.')&&!_0x3dfbc3[_0x39f71c(0x421)]('.');}const A={'table':_0x18930c=>['tables',_0x18930c],'field':(_0x3d2783,_0x3a511c)=>[_0x3ddbdb(0x16c),_0x3d2783,_0x3ddbdb(0x2c6),_0x3a511c],'fieldOrder':(_0x38c7d4,_0x1d5c37)=>[_0x3ddbdb(0x16c),_0x38c7d4,'fieldOrder',_0x1d5c37],'record':(_0x10f0ee,_0x21bb60)=>[_0x3ddbdb(0x16c),_0x10f0ee,_0x3ddbdb(0x296),_0x21bb60],'cell':(_0x13818a,_0x5929cd,_0x262098)=>['tables',_0x13818a,_0x3ddbdb(0x296),_0x5929cd,_0x3ddbdb(0x14b),_0x262098],'cellData':(_0x2175a6,_0x1bc0d0,_0x3d2bd2)=>[_0x3ddbdb(0x16c),_0x2175a6,_0x3ddbdb(0x341),String(_0x1bc0d0),String(_0x3d2bd2)],'attachmentSet':(_0x30c49c,_0x5cfde5)=>[_0x3ddbdb(0x16c),_0x30c49c,'resources','attachmentSets',_0x5cfde5],'attachment':(_0x26200e,_0x37503f)=>[_0x3ddbdb(0x16c),_0x26200e,'resources',_0x3ddbdb(0x3e6),_0x37503f],'view':(_0x3b4d82,_0x3f98e2)=>[_0x3ddbdb(0x16c),_0x3b4d82,'views',_0x3f98e2],'viewFieldHidden':(_0x446702,_0x202a13,_0x286a5c)=>[_0x3ddbdb(0x16c),_0x446702,_0x3ddbdb(0x195),_0x202a13,_0x3ddbdb(0x267),_0x286a5c,'hidden']};function j(_0x304161){const _0x216402=_0x3ddbdb;return _0x304161[_0x216402(0x2c5)]((_0x6a0b78,_0x53501b)=>_0x6a0b78==null?_0x53501b:e[_0x216402(0x162)][_0x216402(0x22c)][_0x216402(0x16b)](_0x6a0b78,_0x53501b),void 0x0);}var M=class{[_0x3ddbdb(0x16e)](_0x4aa2f6,_0x2fde35,_0x1f2082=_0x4aa2f6[_0x3ddbdb(0x2f7)][_0x3ddbdb(0x29a)]){const _0xe14104=_0x3ddbdb;return j([e[_0xe14104(0x162)][_0xe14104(0x2bf)](A['table'](_0x2fde35['id']),_0x2fde35),e[_0xe14104(0x162)][_0xe14104(0x2bf)]([_0xe14104(0x2f7),_0x1f2082],_0x2fde35['id'])]);}['renameTable'](_0x293f30,_0xd25f9d,_0x3688a4){const _0x3a91d5=_0x3ddbdb;return e['JSON1'][_0x3a91d5(0x37b)]([...A['table'](_0xd25f9d),_0x3a91d5(0x1a6)],_0x293f30[_0x3a91d5(0x16c)][_0xd25f9d][_0x3a91d5(0x1a6)],_0x3688a4);}[_0x3ddbdb(0x1e8)](_0xa0d7b4,_0x30da02){const _0x10454e=_0x3ddbdb;return this['_setDeleted']([...A['table'](_0x30da02),'deleted'],_0xa0d7b4[_0x10454e(0x16c)][_0x30da02]['deleted']);}[_0x3ddbdb(0x261)](_0x1ead38,_0x1c6fa1,_0x4a118e){const _0x5e7430=_0x3ddbdb;return this[_0x5e7430(0x387)](_0x1ead38,_0x1c6fa1,[_0x4a118e]);}[_0x3ddbdb(0x387)](_0x1702a4,_0x278d23,_0x407b17){const _0x575f8f=_0x3ddbdb;let _0x9ad4dc=_0x1702a4['tables'][_0x278d23],_0x47ff3d=_0x407b17['filter'](_0x47b718=>_0x47b718&&!_0x9ad4dc[_0x575f8f(0x296)][_0x47b718['id']]);return _0x47ff3d[_0x575f8f(0x29a)]?j([..._0x47ff3d['map'](_0x14e74b=>e[_0x575f8f(0x162)][_0x575f8f(0x2bf)](A[_0x575f8f(0x230)](_0x278d23,_0x14e74b['id']),_0x14e74b)),this[_0x575f8f(0x28e)](_0x1702a4,_0x278d23,_0x47ff3d)]):e[_0x575f8f(0x162)][_0x575f8f(0x37b)]([...A['table'](_0x278d23),_0x575f8f(0x296)],_0x9ad4dc['records'],_0x9ad4dc[_0x575f8f(0x296)]);}['deleteRecord'](_0x43eed8,_0x58cc7f,_0x241494){const _0x2c5f26=_0x3ddbdb;return this[_0x2c5f26(0x3b5)]([...A[_0x2c5f26(0x230)](_0x58cc7f,_0x241494),_0x2c5f26(0x2e3)],_0x43eed8['tables'][_0x58cc7f][_0x2c5f26(0x296)][_0x241494][_0x2c5f26(0x2e3)]);}[_0x3ddbdb(0x1ab)](_0x41ea63,_0x9e28ce,_0x4ccfe3){const _0x36c7f5=_0x3ddbdb;return j(_0x4ccfe3[_0x36c7f5(0x423)](_0x1430cd=>this[_0x36c7f5(0x154)](_0x41ea63,_0x9e28ce,_0x1430cd)));}['duplicateRecord'](_0x3ee34d,_0x52ffa3,_0x5d4b92,_0x366b16){const _0x241e33=_0x3ddbdb;return this[_0x241e33(0x261)](_0x3ee34d,_0x52ffa3,{..._0x366b16,'values':{..._0x3ee34d['tables'][_0x52ffa3][_0x241e33(0x296)][_0x5d4b92][_0x241e33(0x14b)],..._0x366b16[_0x241e33(0x14b)]}});}[_0x3ddbdb(0x35f)](_0x244cb5,_0x51def8,_0x21e8ee,_0x31829b){const _0x27d581=_0x3ddbdb;let _0x32c369=_0x244cb5[_0x27d581(0x16c)][_0x51def8],_0x5571d2=[...A['record'](_0x51def8,_0x21e8ee),_0x27d581(0x3ee)],_0x24f418=Object[_0x27d581(0x14b)](_0x32c369[_0x27d581(0x296)])[_0x27d581(0x1c1)](_0x1e3053=>!_0x1e3053[_0x27d581(0x2e3)])['map'](_0x73f268=>_0x73f268['id']===_0x21e8ee?{..._0x73f268,'orderKey':_0x31829b}:_0x73f268)[_0x27d581(0x1b3)]((_0x133693,_0x2096f4)=>{const _0x33efb1=_0x27d581;var _0x65afe7,_0x476fc6;return String((_0x65afe7=_0x133693[_0x33efb1(0x3ee)])==null?_0x133693['id']:_0x65afe7)[_0x33efb1(0x334)](String((_0x476fc6=_0x2096f4['orderKey'])==null?_0x2096f4['id']:_0x476fc6));})[_0x27d581(0x423)](_0x33260d=>_0x33260d['id']),_0x34ff3b=[...A['table'](_0x51def8),_0x27d581(0x188)];return j([e[_0x27d581(0x162)][_0x27d581(0x37b)](_0x5571d2,_0x32c369[_0x27d581(0x296)][_0x21e8ee]['orderKey'],_0x31829b),_0x32c369[_0x27d581(0x188)]?e[_0x27d581(0x162)]['replaceOp'](_0x34ff3b,_0x32c369[_0x27d581(0x188)],_0x24f418):e[_0x27d581(0x162)][_0x27d581(0x2bf)](_0x34ff3b,_0x24f418)]);}[_0x3ddbdb(0x186)](_0x29d8d1,_0xae0f47,_0x253d1a,_0x413b45,_0x1113cc){const _0x4d3abe=_0x3ddbdb;var _0x3beb5b,_0x173a26;let _0x4723fd=_0x29d8d1['tables'][_0xae0f47],_0x24eaba=ht(_0x4723fd,_0x253d1a,_0x413b45)?_0x4723fd:f(_0x4723fd),_0x2841d0=(_0x3beb5b=_0x24eaba[_0x4d3abe(0x3f7)])==null?void 0x0:_0x3beb5b[_0x253d1a],_0x18f11a=(_0x173a26=_0x24eaba[_0x4d3abe(0x1f6)])==null?void 0x0:_0x173a26[_0x413b45];if(_0x2841d0==null||_0x18f11a==null){var _0x3a3c7e;return this[_0x4d3abe(0x28c)](A[_0x4d3abe(0x14e)](_0xae0f47,_0x253d1a,_0x413b45),(_0x3a3c7e=_0x29d8d1[_0x4d3abe(0x16c)][_0xae0f47])==null||(_0x3a3c7e=_0x3a3c7e['records'][_0x253d1a])==null?void 0x0:_0x3a3c7e[_0x4d3abe(0x14b)][_0x413b45],_0x1113cc);}return this['setRangeValues'](_0x29d8d1,_0xae0f47,[{'row':_0x2841d0,'col':_0x18f11a,'value':_0x1113cc}]);}[_0x3ddbdb(0x3e3)](_0x290372,_0x12ab74,_0x977041){const _0x1aabd1=_0x3ddbdb;let _0x6d9de7=_0x290372[_0x1aabd1(0x16c)][_0x12ab74],_0x13110c=_0x977041[_0x1aabd1(0x174)](_0x516f85=>Object[_0x1aabd1(0x337)](_0x516f85[_0x1aabd1(0x14b)])['every'](_0x13c958=>ht(_0x6d9de7,_0x516f85[_0x1aabd1(0x36e)],_0x13c958)))?_0x6d9de7:f(_0x6d9de7),_0x1a8ead=_0x977041['flatMap'](_0xb1c7=>Object[_0x1aabd1(0x291)](_0xb1c7[_0x1aabd1(0x14b)])['flatMap'](([_0x353fbb,_0xba949e])=>{const _0x2698db=_0x1aabd1;var _0x57a52a,_0xce396a;let _0x1cb919=(_0x57a52a=_0x13110c[_0x2698db(0x3f7)])==null?void 0x0:_0x57a52a[_0xb1c7[_0x2698db(0x36e)]],_0x3b9f77=(_0xce396a=_0x13110c[_0x2698db(0x1f6)])==null?void 0x0:_0xce396a[_0x353fbb];return _0x1cb919==null||_0x3b9f77==null?[]:[{'row':_0x1cb919,'col':_0x3b9f77,'value':_0xba949e}];})),_0x52f26e=_0x977041[_0x1aabd1(0x292)](_0x2fd408=>{const _0x3dce07=_0x1aabd1;var _0x5a534f;return Object[_0x3dce07(0x291)]((_0x5a534f=_0x2fd408['recordPatch'])==null?{}:_0x5a534f)[_0x3dce07(0x423)](([_0x2f1def,_0x5dcd27])=>{const _0x25d6a0=_0x3dce07;var _0x373600;let _0xbf26e0=[...A['record'](_0x12ab74,_0x2fd408[_0x25d6a0(0x36e)]),_0x2f1def],_0x26b480=(_0x373600=_0x290372[_0x25d6a0(0x16c)][_0x12ab74])==null||(_0x373600=_0x373600[_0x25d6a0(0x296)][_0x2fd408[_0x25d6a0(0x36e)]])==null?void 0x0:_0x373600[_0x2f1def];return this['_replaceOptional'](_0xbf26e0,_0x26b480,_0x5dcd27);});});return j([this[_0x1aabd1(0x408)](_0x290372,_0x12ab74,_0x1a8ead),..._0x52f26e]);}['setRangeValues'](_0x58f644,_0x1e21e7,_0x5060e1){const _0x5b3147=_0x3ddbdb;let _0x148738=_0x58f644['tables'][_0x1e21e7],_0xcb8990=_0x5060e1[_0x5b3147(0x174)](_0x4458bb=>gt(_0x148738,_0x4458bb[_0x5b3147(0x2cd)],_0x4458bb['col']))?_0x148738:f(_0x148738),_0x3fc8aa=_0x5060e1[_0x5b3147(0x292)](_0x1bc830=>{const _0x14b5e1=_0x5b3147;var _0x62ed98,_0x45eb13,_0x32cbf0,_0xf66b38;let _0x194f9d=(_0x62ed98=_0xcb8990[_0x14b5e1(0x439)])==null?void 0x0:_0x62ed98[_0x1bc830[_0x14b5e1(0x3a0)]],_0x3deb01=(_0x45eb13=_0xcb8990['rowId'])==null?void 0x0:_0x45eb13[_0x1bc830[_0x14b5e1(0x2cd)]],_0x9a8f7b=_0x194f9d?_0xcb8990[_0x14b5e1(0x2c6)][_0x194f9d]:void 0x0,_0x522d81=b(_0x1bc830[_0x14b5e1(0x3ad)],_0x9a8f7b),_0x2c9886=(_0x32cbf0=_0xcb8990[_0x14b5e1(0x341)])==null||(_0x32cbf0=_0x32cbf0[_0x1bc830[_0x14b5e1(0x2cd)]])==null?void 0x0:_0x32cbf0[_0x1bc830[_0x14b5e1(0x3a0)]],_0xce8639=this[_0x14b5e1(0x28c)](A[_0x14b5e1(0x341)](_0x1e21e7,_0x1bc830['row'],_0x1bc830[_0x14b5e1(0x3a0)]),_0x2c9886,_0x522d81);if(!_0x194f9d||!_0x3deb01)return[_0xce8639];let _0x2b43a6=(_0xf66b38=_0xcb8990[_0x14b5e1(0x296)][_0x3deb01])==null?void 0x0:_0xf66b38[_0x14b5e1(0x14b)][_0x194f9d],_0x1414c9=(_0x9a8f7b==null?void 0x0:_0x9a8f7b[_0x14b5e1(0x22c)])===_0x14b5e1(0x2a5)?S(_0x1bc830[_0x14b5e1(0x3ad)]):ne(_0x1bc830[_0x14b5e1(0x3ad)],_0x522d81,_0x9a8f7b,_0xcb8990,_0x3deb01),_0x33c2c3=[_0xce8639,this[_0x14b5e1(0x28c)](A[_0x14b5e1(0x14e)](_0x1e21e7,_0x3deb01,_0x194f9d),_0x2b43a6,_0x1414c9)];if((_0x9a8f7b==null?void 0x0:_0x9a8f7b['type'])!==_0x14b5e1(0x2a5))return _0x33c2c3;let _0x399670=this[_0x14b5e1(0x1d6)](_0xcb8990,_0x1e21e7,_0x3deb01,_0x194f9d,_0x1414c9);return[..._0x33c2c3,..._0x399670];});return _0x3fc8aa[_0x5b3147(0x29a)]?j(_0x3fc8aa):e[_0x5b3147(0x162)][_0x5b3147(0x37b)]([_0x5b3147(0x16c),_0x1e21e7,_0x5b3147(0x341)],_0xcb8990[_0x5b3147(0x341)],_0xcb8990[_0x5b3147(0x341)]);}['createField'](_0x5a7e60,_0xdef292,_0x25a151){const _0x388771=_0x3ddbdb;var _0x1cf65e,_0x551656;let _0x450e13=_0x5a7e60['tables'][_0xdef292];if(_0x450e13[_0x388771(0x2c6)][_0x25a151['field']['id']]||_0x450e13[_0x388771(0x3c0)]['includes'](_0x25a151[_0x388771(0x3cd)]['id']))return e[_0x388771(0x162)][_0x388771(0x37b)]([_0x388771(0x16c),_0xdef292,_0x388771(0x3c0)],_0x450e13[_0x388771(0x3c0)],_0x450e13[_0x388771(0x3c0)]);let _0xf10c5d=(_0x1cf65e=_0x25a151[_0x388771(0x41d)])==null?_0x450e13['fieldOrder'][_0x388771(0x29a)]:_0x1cf65e,_0x3f12f3=Object['values']((_0x551656=_0x450e13[_0x388771(0x195)])==null?{}:_0x551656)['flatMap'](_0x186852=>{const _0x844131=_0x388771;var _0x5bad72,_0x47b0d2;if(!_0x186852['fieldOrder']||_0x186852[_0x844131(0x3c0)]['includes'](_0x25a151['field']['id']))return[];let _0x491a8c=yt((_0x5bad72=(_0x47b0d2=_0x25a151[_0x844131(0x25e)])==null?void 0x0:_0x47b0d2[_0x186852['id']])==null?_0xf10c5d:_0x5bad72,_0x186852[_0x844131(0x3c0)][_0x844131(0x29a)]);return[e[_0x844131(0x162)][_0x844131(0x2bf)]([...A[_0x844131(0x274)](_0xdef292,_0x186852['id']),_0x844131(0x3c0),_0x491a8c],_0x25a151[_0x844131(0x3cd)]['id'])];});return j([e[_0x388771(0x162)]['insertOp'](A[_0x388771(0x3cd)](_0xdef292,_0x25a151[_0x388771(0x3cd)]['id']),_0x25a151[_0x388771(0x3cd)]),e[_0x388771(0x162)][_0x388771(0x2bf)](A[_0x388771(0x3c0)](_0xdef292,_0xf10c5d),_0x25a151[_0x388771(0x3cd)]['id']),..._0x3f12f3]);}[_0x3ddbdb(0x339)](_0x229918,_0x24d6c4,_0x1694cf,_0x4ed6f7){const _0x4affd5=_0x3ddbdb;var _0x1c929c,_0x25562e;let _0x39a670=_0x229918['tables'][_0x24d6c4];if(!_0x39a670[_0x4affd5(0x2c6)][_0x1694cf]||_0x39a670['fields'][_0x4ed6f7[_0x4affd5(0x3cd)]['id']]||_0x39a670[_0x4affd5(0x3c0)][_0x4affd5(0x328)](_0x4ed6f7[_0x4affd5(0x3cd)]['id']))return e['JSON1']['replaceOp']([_0x4affd5(0x16c),_0x24d6c4,'fieldOrder'],_0x39a670[_0x4affd5(0x3c0)],_0x39a670[_0x4affd5(0x3c0)]);let _0x4b7aae=(_0x1c929c=_0x4ed6f7['index'])==null?_0x39a670[_0x4affd5(0x3c0)][_0x4affd5(0x3a6)](_0x1694cf)+0x1:_0x1c929c,_0x59ef72=_0x39a670['fieldOrder'][_0x4affd5(0x1c1)](_0x1c8f58=>_0x1c8f58!==_0x4ed6f7['field']['id']),_0x1b88ca=vt(_0x59ef72,_0x4ed6f7[_0x4affd5(0x3cd)]['id'],_0x4b7aae),_0x568b4f=Object[_0x4affd5(0x14b)]((_0x25562e=_0x39a670[_0x4affd5(0x195)])==null?{}:_0x25562e)[_0x4affd5(0x292)](_0x869adc=>{const _0x3f3d1e=_0x4affd5;var _0x353455,_0x5eb248,_0x4c36e2,_0x556053,_0x58d00a;let _0x14c467=(_0x353455=_0x869adc[_0x3f3d1e(0x3c0)])!=null&&_0x353455['length']?_0x869adc[_0x3f3d1e(0x3c0)]:_0x59ef72;if(_0x14c467['includes'](_0x4ed6f7[_0x3f3d1e(0x3cd)]['id']))return[];let _0x27d6b6=vt(_0x14c467,_0x4ed6f7['field']['id'],(_0x5eb248=(_0x4c36e2=_0x4ed6f7[_0x3f3d1e(0x25e)])==null?void 0x0:_0x4c36e2[_0x869adc['id']])==null?_0x4b7aae:_0x5eb248),_0x2ab5b7=(_0x556053=_0x869adc[_0x3f3d1e(0x267)])==null?void 0x0:_0x556053[_0x1694cf];return[this['_replaceOptional']([...A[_0x3f3d1e(0x274)](_0x24d6c4,_0x869adc['id']),_0x3f3d1e(0x3c0)],_0x869adc['fieldOrder'],_0x27d6b6),..._0x2ab5b7?[this[_0x3f3d1e(0x28c)]([...A[_0x3f3d1e(0x274)](_0x24d6c4,_0x869adc['id']),_0x3f3d1e(0x267),_0x4ed6f7['field']['id']],(_0x58d00a=_0x869adc[_0x3f3d1e(0x267)])==null?void 0x0:_0x58d00a[_0x4ed6f7[_0x3f3d1e(0x3cd)]['id']],_0x2ab5b7)]:[]];}),_0x10159c=Object['values'](_0x39a670[_0x4affd5(0x296)])[_0x4affd5(0x1c1)](_0x12f2da=>!_0x12f2da[_0x4affd5(0x2e3)]&&Object[_0x4affd5(0x34d)][_0x4affd5(0x1ac)][_0x4affd5(0x300)](_0x12f2da[_0x4affd5(0x14b)],_0x1694cf))[_0x4affd5(0x423)](_0x5504fb=>this[_0x4affd5(0x28c)](A[_0x4affd5(0x14e)](_0x24d6c4,_0x5504fb['id'],_0x4ed6f7['field']['id']),_0x5504fb['values'][_0x4ed6f7['field']['id']],_0x5504fb[_0x4affd5(0x14b)][_0x1694cf]));return j([e['JSON1'][_0x4affd5(0x2bf)](A[_0x4affd5(0x3cd)](_0x24d6c4,_0x4ed6f7[_0x4affd5(0x3cd)]['id']),_0x4ed6f7[_0x4affd5(0x3cd)]),e[_0x4affd5(0x162)][_0x4affd5(0x37b)]([_0x4affd5(0x16c),_0x24d6c4,_0x4affd5(0x3c0)],_0x39a670[_0x4affd5(0x3c0)],_0x1b88ca),..._0x568b4f,..._0x10159c]);}[_0x3ddbdb(0x27b)](_0x330651,_0x4b2cff,_0x5d1fb3,_0x4644e2){const _0x2446e4=_0x3ddbdb;let _0x2def92=_0x330651[_0x2446e4(0x16c)][_0x4b2cff][_0x2446e4(0x2c6)][_0x5d1fb3],_0x1f9b25={..._0x2def92,..._0x4644e2};Object['keys'](_0x4644e2)['forEach'](_0x376dcc=>{_0x4644e2[_0x376dcc]===void 0x0&&delete _0x1f9b25[_0x376dcc];});let _0x14ba7c=e[_0x2446e4(0x162)]['replaceOp'](A[_0x2446e4(0x3cd)](_0x4b2cff,_0x5d1fb3),_0x2def92,_0x1f9b25);return _0x1f9b25['type']===_0x2446e4(0x19c)?j([_0x14ba7c,...this[_0x2446e4(0x34c)](_0x330651,_0x4b2cff,_0x5d1fb3,_0x1f9b25)]):_0x14ba7c;}['changeFieldType'](_0x11b214,_0x39cc65,_0x5bbb3c,_0x49af34){const _0x33744f=_0x3ddbdb;return this[_0x33744f(0x27b)](_0x11b214,_0x39cc65,_0x5bbb3c,_0x49af34);}[_0x3ddbdb(0x2a8)](_0x1b93d1,_0x5f10ba,_0x4a8d00){const _0x1e6048=_0x3ddbdb;let _0x2645e1=_0x1b93d1[_0x1e6048(0x16c)][_0x5f10ba];return!(_0x2645e1!=null&&_0x2645e1[_0x1e6048(0x2c6)][_0x4a8d00])||_0x2645e1['primaryFieldId']===_0x4a8d00?e['JSON1'][_0x1e6048(0x37b)]([_0x1e6048(0x16c),_0x5f10ba,_0x1e6048(0x3c0)],_0x2645e1==null?void 0x0:_0x2645e1[_0x1e6048(0x3c0)],_0x2645e1==null?void 0x0:_0x2645e1[_0x1e6048(0x3c0)]):this[_0x1e6048(0x3b5)]([...A[_0x1e6048(0x3cd)](_0x5f10ba,_0x4a8d00),_0x1e6048(0x2e3)],_0x2645e1[_0x1e6048(0x2c6)][_0x4a8d00][_0x1e6048(0x2e3)]);}[_0x3ddbdb(0x184)](_0xf09bf9,_0x529607,_0x2a67dd,_0x5650a9){const _0x459f86=_0x3ddbdb;let _0x554f41=_0xf09bf9['tables'][_0x529607][_0x459f86(0x3c0)],_0x35ee42=_t(_0x554f41,_0x2a67dd,_0x5650a9);return e[_0x459f86(0x162)][_0x459f86(0x37b)]([_0x459f86(0x16c),_0x529607,_0x459f86(0x3c0)],_0x554f41,_0x35ee42);}[_0x3ddbdb(0x1c5)](_0x127ae3,_0x348ef2,_0x7a7d9a,_0x119678=_0x127ae3[_0x3ddbdb(0x16c)][_0x348ef2]['viewOrder'][_0x3ddbdb(0x29a)]){const _0x275b15=_0x3ddbdb;return j([e[_0x275b15(0x162)]['insertOp'](A['view'](_0x348ef2,_0x7a7d9a['id']),_0x7a7d9a),e[_0x275b15(0x162)][_0x275b15(0x2bf)](['tables',_0x348ef2,_0x275b15(0x283),_0x119678],_0x7a7d9a['id'])]);}[_0x3ddbdb(0x1dc)](_0x1b9feb,_0x3a6faf,_0x4d23f1,_0x48043b){const _0x36b6a1=_0x3ddbdb;return e['JSON1'][_0x36b6a1(0x37b)]([...A[_0x36b6a1(0x274)](_0x3a6faf,_0x4d23f1),_0x36b6a1(0x1a6)],_0x1b9feb['tables'][_0x3a6faf][_0x36b6a1(0x195)][_0x4d23f1][_0x36b6a1(0x1a6)],_0x48043b);}['deleteView'](_0x945c12,_0x390497,_0x20a1ea){const _0x49bce7=_0x3ddbdb;return this[_0x49bce7(0x3b5)]([...A[_0x49bce7(0x274)](_0x390497,_0x20a1ea),'deleted'],_0x945c12[_0x49bce7(0x16c)][_0x390497]['views'][_0x20a1ea]['deleted']);}[_0x3ddbdb(0x3d4)](_0x5588e5,_0xd060e6,_0xae6c8,_0x343001){const _0x3cf91c=_0x3ddbdb;let _0x54a786=_0x5588e5['tables'][_0xd060e6]['viewOrder'],_0xd450cc=_t(_0x54a786,_0xae6c8,{'beforeFieldId':_0x343001[_0x3cf91c(0x249)],'afterFieldId':_0x343001[_0x3cf91c(0x20d)]});return e[_0x3cf91c(0x162)][_0x3cf91c(0x37b)]([_0x3cf91c(0x16c),_0xd060e6,_0x3cf91c(0x283)],_0x54a786,_0xd450cc);}[_0x3ddbdb(0x290)](_0x36fa01,_0x224c6f,_0xc876d6,_0x3f3c31){const _0x4bc108=_0x3ddbdb;var _0x16193f;let _0x20f795=(_0x16193f=_0x36fa01[_0x4bc108(0x16c)][_0x224c6f][_0x4bc108(0x195)][_0xc876d6][_0x4bc108(0x367)])==null?{}:_0x16193f,_0x3e4490={..._0x20f795,..._0x3f3c31};return Object['keys'](_0x3f3c31)['forEach'](_0x591ed6=>{_0x3f3c31[_0x591ed6]===void 0x0&&delete _0x3e4490[_0x591ed6];}),e[_0x4bc108(0x162)]['replaceOp']([...A['view'](_0x224c6f,_0xc876d6),_0x4bc108(0x367)],_0x20f795,_0x3e4490);}[_0x3ddbdb(0x26f)](_0x417970,_0x149804,_0x59f844,_0x570461){const _0x3c9868=_0x3ddbdb;return this['_replaceOptional']([...A[_0x3c9868(0x274)](_0x149804,_0x59f844),'filter'],_0x417970['tables'][_0x149804][_0x3c9868(0x195)][_0x59f844][_0x3c9868(0x1c1)],_0x570461);}[_0x3ddbdb(0x325)](_0x1c3a9a,_0x4fab28,_0x32a283,_0x228332){const _0x5547ba=_0x3ddbdb;return this[_0x5547ba(0x28c)]([...A['view'](_0x4fab28,_0x32a283),_0x5547ba(0x1b3)],_0x1c3a9a[_0x5547ba(0x16c)][_0x4fab28][_0x5547ba(0x195)][_0x32a283][_0x5547ba(0x1b3)],_0x228332);}['setViewGroup'](_0x3f1057,_0x117bb4,_0x3dc00b,_0x7c16e8){const _0x76dee8=_0x3ddbdb;return this['_replaceOptional']([...A['view'](_0x117bb4,_0x3dc00b),_0x76dee8(0x40e)],_0x3f1057[_0x76dee8(0x16c)][_0x117bb4][_0x76dee8(0x195)][_0x3dc00b][_0x76dee8(0x40e)],_0x7c16e8);}[_0x3ddbdb(0x151)](_0x2e2ed9,_0x3f6dcc,_0x535e47,_0x5bee23,_0x37bfe5){const _0x2512bd=_0x3ddbdb;return this[_0x2512bd(0x1f0)](_0x2e2ed9,_0x3f6dcc,_0x535e47,_0x5bee23,{'hidden':!_0x37bfe5});}[_0x3ddbdb(0x3f6)](_0x81dc9a,_0x5cdb09,_0x1b7b29,_0x293885,_0x50d022){const _0x588130=_0x3ddbdb;return this[_0x588130(0x1f0)](_0x81dc9a,_0x5cdb09,_0x1b7b29,_0x293885,{'width':_0x50d022});}[_0x3ddbdb(0x202)](_0x5ee63d,_0x486d1b,_0x51415b,_0x57d6bc,_0xd873d6){const _0x1896dd=_0x3ddbdb;var _0x330fe0;let _0x4f53e5=_0x5ee63d[_0x1896dd(0x16c)][_0x486d1b][_0x1896dd(0x195)][_0x51415b],_0x28a2b8=_t((_0x330fe0=_0x4f53e5[_0x1896dd(0x3c0)])==null?_0x5ee63d[_0x1896dd(0x16c)][_0x486d1b][_0x1896dd(0x3c0)]:_0x330fe0,_0x57d6bc,_0xd873d6);return this['_replaceOptional']([...A[_0x1896dd(0x274)](_0x486d1b,_0x51415b),_0x1896dd(0x3c0)],_0x4f53e5[_0x1896dd(0x3c0)],_0x28a2b8);}[_0x3ddbdb(0x1f0)](_0x36c83d,_0x2a12b4,_0x5892b8,_0x246d7e,_0xcc729f){const _0x584aad=_0x3ddbdb;var _0xd52dca;let _0x2dac73=(_0xd52dca=_0x36c83d[_0x584aad(0x16c)][_0x2a12b4][_0x584aad(0x195)][_0x5892b8][_0x584aad(0x267)])==null?{}:_0xd52dca,_0x29c01c={..._0x2dac73,[_0x246d7e]:{..._0x2dac73[_0x246d7e],..._0xcc729f}};return this['_replaceOptional']([...A[_0x584aad(0x274)](_0x2a12b4,_0x5892b8),_0x584aad(0x267)],_0x36c83d[_0x584aad(0x16c)][_0x2a12b4]['views'][_0x5892b8]['fieldSettings'],_0x29c01c);}['_setDeleted'](_0x4c7a55,_0x24a1f3){const _0x208ddb=_0x3ddbdb;return this[_0x208ddb(0x28c)](_0x4c7a55,_0x24a1f3,!0x0);}[_0x3ddbdb(0x28e)](_0x5ca086,_0x39b0e4,_0x30e1e2){const _0x555232=_0x3ddbdb;let _0x465e7b=_0x5ca086[_0x555232(0x16c)][_0x39b0e4],_0x2b2ceb=new Set(_0x30e1e2['map'](_0x2c326a=>_0x2c326a['id'])),_0x87630a=[...Object[_0x555232(0x14b)](_0x465e7b[_0x555232(0x296)])['filter'](_0x1c3a86=>!_0x1c3a86[_0x555232(0x2e3)]&&!_0x2b2ceb[_0x555232(0x1d1)](_0x1c3a86['id'])),..._0x30e1e2[_0x555232(0x1c1)](_0xd23616=>!_0xd23616[_0x555232(0x2e3)])][_0x555232(0x1b3)]((_0x369374,_0x19632c)=>{const _0x3b4c53=_0x555232;var _0x3e0272,_0x40382a;return String((_0x3e0272=_0x369374['orderKey'])==null?_0x369374['id']:_0x3e0272)[_0x3b4c53(0x334)](String((_0x40382a=_0x19632c['orderKey'])==null?_0x19632c['id']:_0x40382a));})[_0x555232(0x423)](_0x585491=>_0x585491['id']),_0x1d39fb=[...A['table'](_0x39b0e4),_0x555232(0x188)];return _0x465e7b[_0x555232(0x188)]?e['JSON1'][_0x555232(0x37b)](_0x1d39fb,_0x465e7b[_0x555232(0x188)],_0x87630a):e['JSON1'][_0x555232(0x2bf)](_0x1d39fb,_0x87630a);}[_0x3ddbdb(0x34c)](_0x849a7c,_0x2cb919,_0x2d346a,_0x334053){const _0x3e3969=_0x3ddbdb;var _0x37c2fe,_0x4c5785,_0x3054a0,_0x3b5eac;let _0x3e55a1=f(_0x849a7c[_0x3e3969(0x16c)][_0x2cb919]),_0x6fdaeb=String((_0x37c2fe=(_0x4c5785=_0x334053[_0x3e3969(0x367)])==null?void 0x0:_0x4c5785['formula'])==null?'':_0x37c2fe)[_0x3e3969(0x2ab)](),_0x309dac=(_0x3054a0=_0x3e55a1[_0x3e3969(0x1f6)])==null?void 0x0:_0x3054a0[_0x2d346a];if(_0x309dac==null)return[];let _0x3b1243=((_0x3b5eac=_0x3e55a1[_0x3e3969(0x188)])==null?Object[_0x3e3969(0x337)](_0x3e55a1[_0x3e3969(0x296)]):_0x3b5eac)[_0x3e3969(0x1c1)](_0x4c9c12=>{const _0x94fc61=_0x3e3969;var _0x1029f9;return!((_0x1029f9=_0x3e55a1['records'][_0x4c9c12])!=null&&_0x1029f9[_0x94fc61(0x2e3)]);}),_0x24e32b=_0x3b1243[_0x3e3969(0x423)](_0x3c7d44=>{const _0x25ef83=_0x3e3969;var _0x8c0d5;return(_0x8c0d5=_0x3e55a1[_0x25ef83(0x3f7)])==null?void 0x0:_0x8c0d5[_0x3c7d44];})[_0x3e3969(0x368)](_0x549c07=>_0x549c07!=null);return _0x3b1243[_0x3e3969(0x292)](_0x2c8df0=>{const _0x54ddb7=_0x3e3969;var _0x553732,_0x419f15;let _0x3dcf10=(_0x553732=_0x3e55a1['rowIndex'])==null?void 0x0:_0x553732[_0x2c8df0];if(_0x3dcf10==null)return[];let _0x34920d=(_0x419f15=_0x3e55a1[_0x54ddb7(0x341)])==null||(_0x419f15=_0x419f15[_0x3dcf10])==null?void 0x0:_0x419f15[_0x309dac],_0x5b4696=_0x6fdaeb?_0x3dcf10===_0x24e32b?{'f':_0x6fdaeb,'si':_0x2d346a}:{'si':_0x2d346a}:{'v':null,'t':null};return[this[_0x54ddb7(0x28c)](A[_0x54ddb7(0x341)](_0x2cb919,_0x3dcf10,_0x309dac),_0x34920d,_0x5b4696)];});}[_0x3ddbdb(0x1d6)](_0x3abb02,_0x42028e,_0x4d934d,_0x57fa7d,_0x317bdc){const _0x5ebc96=_0x3ddbdb;var _0x1ffc38;let _0x5b94ce=ie(_0x57fa7d,_0x4d934d),_0x52062b=_0x317bdc['map']((_0x3d4fe2,_0x46738b)=>{var _0x2345a8;return String((_0x2345a8=_0x3d4fe2['id'])==null?_0x5b94ce+'\x1f'+_0x46738b:_0x2345a8);});return[this[_0x5ebc96(0x28c)](A['attachmentSet'](_0x42028e,_0x5b94ce),(_0x1ffc38=_0x3abb02[_0x5ebc96(0x404)])==null||(_0x1ffc38=_0x1ffc38['attachmentSets'])==null?void 0x0:_0x1ffc38[_0x5b94ce],_0x52062b),..._0x317bdc[_0x5ebc96(0x423)]((_0x3b2059,_0x4770ac)=>{const _0x3a3ecb=_0x5ebc96;var _0x578e0b;let _0x2e936e=_0x52062b[_0x4770ac];return this[_0x3a3ecb(0x28c)](A[_0x3a3ecb(0x2a5)](_0x42028e,_0x2e936e),(_0x578e0b=_0x3abb02['resources'])==null||(_0x578e0b=_0x578e0b['attachments'])==null?void 0x0:_0x578e0b[_0x2e936e],{..._0x3b2059,'id':_0x2e936e});})];}[_0x3ddbdb(0x28c)](_0x43b4c8,_0x403a2a,_0xe72ca3){const _0x484c27=_0x3ddbdb;return _0x403a2a===void 0x0?e[_0x484c27(0x162)][_0x484c27(0x2bf)](_0x43b4c8,_0xe72ca3):e[_0x484c27(0x162)][_0x484c27(0x37b)](_0x43b4c8,_0x403a2a,_0xe72ca3);}};function ht(_0x3eaf50,_0x16e4d9,_0x1d92f6){const _0x3b22b0=_0x3ddbdb;var _0x17052e,_0x490f93,_0x1372e0,_0x1a25f4;let _0x2b9b8b=(_0x17052e=_0x3eaf50[_0x3b22b0(0x3f7)])==null?void 0x0:_0x17052e[_0x16e4d9],_0x328e44=(_0x490f93=_0x3eaf50[_0x3b22b0(0x1f6)])==null?void 0x0:_0x490f93[_0x1d92f6];return _0x2b9b8b!=null&&_0x328e44!=null&&((_0x1372e0=_0x3eaf50[_0x3b22b0(0x270)])==null?void 0x0:_0x1372e0[_0x2b9b8b])===_0x16e4d9&&((_0x1a25f4=_0x3eaf50['colId'])==null?void 0x0:_0x1a25f4[_0x328e44])===_0x1d92f6&&_0x3eaf50['cellData']!=null;}function gt(_0x20f213,_0x15bf63,_0x3c7ab9){const _0x4d0b89=_0x3ddbdb;var _0x5ad0d6,_0x473c40;return((_0x5ad0d6=_0x20f213[_0x4d0b89(0x270)])==null?void 0x0:_0x5ad0d6[_0x15bf63])!=null&&((_0x473c40=_0x20f213[_0x4d0b89(0x439)])==null?void 0x0:_0x473c40[_0x3c7ab9])!=null&&_0x20f213['cellData']!=null;}function _t(_0x3b20ca,_0x3927b4,_0x5015be){const _0x4cd5f4=_0x3ddbdb;let _0x85b02e=_0x3b20ca[_0x4cd5f4(0x1c1)](_0xb5295b=>_0xb5295b!==_0x3927b4),_0x32e3d7=_0x5015be[_0x4cd5f4(0x149)]?_0x85b02e['indexOf'](_0x5015be['beforeFieldId']):_0x5015be[_0x4cd5f4(0x231)]?_0x85b02e[_0x4cd5f4(0x3a6)](_0x5015be['afterFieldId'])+0x1:_0x85b02e[_0x4cd5f4(0x29a)];return _0x85b02e[_0x4cd5f4(0x1d5)](_0x32e3d7<0x0?_0x85b02e[_0x4cd5f4(0x29a)]:_0x32e3d7,0x0,_0x3927b4),_0x85b02e;}function vt(_0x3376ab,_0x48695a,_0xcd9cc8){const _0x5ac709=_0x3ddbdb;let _0x1793b0=_0x3376ab[_0x5ac709(0x1c1)](_0xdd8f10=>_0xdd8f10!==_0x48695a);return _0x1793b0[_0x5ac709(0x1d5)](yt(_0xcd9cc8,_0x1793b0[_0x5ac709(0x29a)]),0x0,_0x48695a),_0x1793b0;}function yt(_0x162dad,_0x3936d9){const _0xa87545=_0x3ddbdb;return Math[_0xa87545(0x1d8)](0x0,Math[_0xa87545(0x13b)](_0x162dad,_0x3936d9));}function N(_0x117437){'@babel/helpers - typeof';const _0x2b0e63=_0x3ddbdb;return N=typeof Symbol=='function'&&typeof Symbol[_0x2b0e63(0x42d)]==_0x2b0e63(0x25f)?function(_0x5e6cc5){return typeof _0x5e6cc5;}:function(_0x2867ed){const _0x42a3c0=_0x2b0e63;return _0x2867ed&&typeof Symbol==_0x42a3c0(0x3c7)&&_0x2867ed[_0x42a3c0(0x411)]===Symbol&&_0x2867ed!==Symbol[_0x42a3c0(0x34d)]?_0x42a3c0(0x25f):typeof _0x2867ed;},N(_0x117437);}function bt(_0x2d18d2,_0x498f30){const _0x39787d=_0x3ddbdb;if(N(_0x2d18d2)!=_0x39787d(0x239)||!_0x2d18d2)return _0x2d18d2;var _0x3adfc7=_0x2d18d2[Symbol[_0x39787d(0x37f)]];if(_0x3adfc7!==void 0x0){var _0x28605f=_0x3adfc7[_0x39787d(0x300)](_0x2d18d2,_0x498f30||'default');if(N(_0x28605f)!=_0x39787d(0x239))return _0x28605f;throw TypeError(_0x39787d(0x36f));}return(_0x498f30==='string'?String:Number)(_0x2d18d2);}function xt(_0x1859ea){const _0x4afd2f=_0x3ddbdb;var _0x474444=bt(_0x1859ea,_0x4afd2f(0x277));return N(_0x474444)=='symbol'?_0x474444:_0x474444+'';}function P(_0x11f942,_0x38dcc4,_0x51f0ca){const _0x333cd9=_0x3ddbdb;return(_0x38dcc4=xt(_0x38dcc4))in _0x11f942?Object[_0x333cd9(0x12b)](_0x11f942,_0x38dcc4,{'value':_0x51f0ca,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x11f942[_0x38dcc4]=_0x51f0ca,_0x11f942;}const F=(0x0,e[_0x3ddbdb(0x39c)])('base.field-registry.service');var St=class extends e[_0x3ddbdb(0x40b)]{constructor(..._0x2143cc){const _0x4bbacd=_0x3ddbdb;super(..._0x2143cc),P(this,_0x4bbacd(0x1d2),new Map());}[_0x3ddbdb(0x22b)](_0x570038){const _0x23b4c9=_0x3ddbdb;return this[_0x23b4c9(0x1d2)][_0x23b4c9(0x12d)](_0x570038['type'],_0x570038),(0x0,e['toDisposable'])(()=>this[_0x23b4c9(0x1d2)][_0x23b4c9(0x426)](_0x570038[_0x23b4c9(0x22c)]));}[_0x3ddbdb(0x1d9)](_0x417348){const _0x2d2ab6=_0x3ddbdb;let _0x3b0f1b=this['_plugins']['get'](_0x417348);if(!_0x3b0f1b)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x417348+_0x2d2ab6(0x3c5));return _0x3b0f1b;}[_0x3ddbdb(0x2ec)](_0x385b18){return this['_plugins']['get'](_0x385b18);}[_0x3ddbdb(0x395)](){const _0x531fd2=_0x3ddbdb;return Array[_0x531fd2(0x2c8)](this[_0x531fd2(0x1d2)][_0x531fd2(0x14b)]());}};const Ct=(0x0,e[_0x3ddbdb(0x39c)])(_0x3ddbdb(0x40a));var wt=class{constructor(){const _0x16cb5c=_0x3ddbdb;P(this,_0x16cb5c(0x3b2),new Map()),P(this,_0x16cb5c(0x3a8),new Map()),P(this,'_fieldPermissions',new Map()),P(this,_0x16cb5c(0x144),new Map());}['canCreateTable'](_0x3c812e){const _0x19d47b=_0x3ddbdb;var _0x7be872,_0x3081ec;return(_0x7be872=(_0x3081ec=this[_0x19d47b(0x3b2)]['get'](_0x3c812e))==null?void 0x0:_0x3081ec[_0x19d47b(0x16e)])==null?!0x0:_0x7be872;}[_0x3ddbdb(0x1cf)](_0x5be90c){const _0x18feda=_0x3ddbdb;var _0x852bae,_0x3ccfc1;return(_0x852bae=(_0x3ccfc1=this[_0x18feda(0x3a8)][_0x18feda(0x1d9)](_0x5be90c))==null?void 0x0:_0x3ccfc1['delete'])==null?!0x0:_0x852bae;}[_0x3ddbdb(0x36a)](_0x114cfc){const _0xe6bc64=_0x3ddbdb;var _0x516497,_0x57bd56;return(_0x516497=(_0x57bd56=this[_0xe6bc64(0x3a8)]['get'](_0x114cfc))==null?void 0x0:_0x57bd56['createField'])==null?!0x0:_0x516497;}['canEditField'](_0x15af8e,_0x1470e8){const _0x5926d7=_0x3ddbdb;var _0x1c4183,_0x16d147;return(_0x1c4183=(_0x16d147=this[_0x5926d7(0x3bd)][_0x5926d7(0x1d9)](I(_0x15af8e,_0x1470e8)))==null?void 0x0:_0x16d147[_0x5926d7(0x319)])==null?!0x0:_0x1c4183;}[_0x3ddbdb(0x3ea)](_0x14c4cd,_0x2695ef){const _0x494333=_0x3ddbdb;var _0x251949,_0x7da850;return(_0x251949=(_0x7da850=this[_0x494333(0x3bd)][_0x494333(0x1d9)](I(_0x14c4cd,_0x2695ef)))==null?void 0x0:_0x7da850[_0x494333(0x426)])==null?!0x0:_0x251949;}['canCreateRecord'](_0x96f4bd){const _0xe7bb69=_0x3ddbdb;var _0x3fea80,_0x48a123;return(_0x3fea80=(_0x48a123=this[_0xe7bb69(0x3a8)][_0xe7bb69(0x1d9)](_0x96f4bd))==null?void 0x0:_0x48a123['createRecord'])==null?!0x0:_0x3fea80;}[_0x3ddbdb(0x41a)](_0x8ffa74,_0x964e61){const _0x31641f=_0x3ddbdb;var _0x1f91ac,_0x1383e0;return(_0x1f91ac=(_0x1383e0=this[_0x31641f(0x144)][_0x31641f(0x1d9)](Tt(_0x8ffa74,_0x964e61)))==null?void 0x0:_0x1383e0['delete'])==null?!0x0:_0x1f91ac;}[_0x3ddbdb(0x288)](_0xca181a,_0x2e84e9,_0x389da7){const _0x139e18=_0x3ddbdb;var _0xafa998,_0x5d5813,_0xf42452,_0x2f3f0b;let _0x14433a=this['_fieldPermissions']['get'](I(_0xca181a,_0x389da7));return((_0xafa998=(_0x5d5813=this[_0x139e18(0x144)][_0x139e18(0x1d9)](Tt(_0xca181a,_0x2e84e9)))==null?void 0x0:_0x5d5813[_0x139e18(0x19d)])==null?!0x0:_0xafa998)&&((_0xf42452=_0x14433a==null?void 0x0:_0x14433a['edit'])==null?!0x0:_0xf42452)&&((_0x2f3f0b=_0x14433a==null?void 0x0:_0x14433a[_0x139e18(0x19d)])==null?!0x0:_0x2f3f0b);}[_0x3ddbdb(0x33c)](_0x43b660){const _0x18a3ac=_0x3ddbdb;var _0x287d38,_0x80a2df;return(_0x287d38=(_0x80a2df=this[_0x18a3ac(0x3a8)][_0x18a3ac(0x1d9)](_0x43b660))==null?void 0x0:_0x80a2df['manageView'])==null?!0x0:_0x287d38;}['setBasePermission'](_0x2cca69,_0x5c94da){const _0x40ab7c=_0x3ddbdb;this[_0x40ab7c(0x3b2)][_0x40ab7c(0x12d)](_0x2cca69,{...this['_basePermissions']['get'](_0x2cca69),..._0x5c94da});}[_0x3ddbdb(0x1c8)](_0x3673f2,_0x36870e){const _0x21343d=_0x3ddbdb;this[_0x21343d(0x3a8)][_0x21343d(0x12d)](_0x3673f2,{...this[_0x21343d(0x3a8)][_0x21343d(0x1d9)](_0x3673f2),..._0x36870e});}[_0x3ddbdb(0x201)](_0x331b6b,_0x2fa5f6,_0x226b16){const _0xb25032=_0x3ddbdb;let _0x24e5c2=I(_0x331b6b,_0x2fa5f6);this['_fieldPermissions']['set'](_0x24e5c2,{...this[_0xb25032(0x3bd)][_0xb25032(0x1d9)](_0x24e5c2),..._0x226b16});}[_0x3ddbdb(0x3c2)](_0x43e499,_0x48a8fe,_0x55b520){const _0x395f37=_0x3ddbdb;let _0x8dc052=Tt(_0x43e499,_0x48a8fe);this['_recordPermissions'][_0x395f37(0x12d)](_0x8dc052,{...this['_recordPermissions'][_0x395f37(0x1d9)](_0x8dc052),..._0x55b520});}[_0x3ddbdb(0x14f)](_0x58fc50){this['_basePermissions']['delete'](_0x58fc50);}[_0x3ddbdb(0x20a)](_0x1e7f7c){const _0x18d1a9=_0x3ddbdb;this['_tablePermissions'][_0x18d1a9(0x426)](_0x1e7f7c);}[_0x3ddbdb(0x379)](_0x53fafe,_0x4cf130){const _0x5c2e0d=_0x3ddbdb;this[_0x5c2e0d(0x3bd)][_0x5c2e0d(0x426)](I(_0x53fafe,_0x4cf130));}[_0x3ddbdb(0x1bc)](_0x59d3c6,_0x1757de){const _0x27cf21=_0x3ddbdb;this[_0x27cf21(0x144)][_0x27cf21(0x426)](Tt(_0x59d3c6,_0x1757de));}[_0x3ddbdb(0x214)](){const _0xabea84=_0x3ddbdb;return{'bases':Object[_0xabea84(0x284)](this['_basePermissions']),'tables':Object[_0xabea84(0x284)](this[_0xabea84(0x3a8)]),'fields':Object[_0xabea84(0x284)](this[_0xabea84(0x3bd)]),'records':Object[_0xabea84(0x284)](this['_recordPermissions'])};}};function I(_0xa64e0b,_0x744511){return _0xa64e0b+'\x1f'+_0x744511;}function Tt(_0x8db4d,_0x320cf8){return _0x8db4d+'\x1f'+_0x320cf8;}function L(_0x55a7b5,_0x3e076b){return function(_0x329b8d,_0x2f7116){_0x3e076b(_0x329b8d,_0x2f7116,_0x55a7b5);};}function R(_0x13545b,_0x4cabf6,_0x1d83fb,_0x239e52){const _0x46c912=_0x3ddbdb;var _0x4a263e=arguments[_0x46c912(0x29a)],_0x2f8a62=_0x4a263e<0x3?_0x4cabf6:_0x239e52===null?_0x239e52=Object[_0x46c912(0x362)](_0x4cabf6,_0x1d83fb):_0x239e52,_0x87251b;if(typeof Reflect==_0x46c912(0x239)&&typeof Reflect['decorate']==_0x46c912(0x3c7))_0x2f8a62=Reflect[_0x46c912(0x418)](_0x13545b,_0x4cabf6,_0x1d83fb,_0x239e52);else{for(var _0x28f548=_0x13545b['length']-0x1;_0x28f548>=0x0;_0x28f548--)(_0x87251b=_0x13545b[_0x28f548])&&(_0x2f8a62=(_0x4a263e<0x3?_0x87251b(_0x2f8a62):_0x4a263e>0x3?_0x87251b(_0x4cabf6,_0x1d83fb,_0x2f8a62):_0x87251b(_0x4cabf6,_0x1d83fb))||_0x2f8a62);}return _0x4a263e>0x3&&_0x2f8a62&&Object[_0x46c912(0x12b)](_0x4cabf6,_0x1d83fb,_0x2f8a62),_0x2f8a62;}const z=(0x0,e[_0x3ddbdb(0x39c)])(_0x3ddbdb(0x2e0));let B=class{constructor(_0x367379,_0x24de32=Et(),_0x529ed1={}){const _0x488aae=_0x3ddbdb;this[_0x488aae(0x3ff)]=_0x367379,this[_0x488aae(0x313)]=_0x24de32,this['_runtimeContext']=_0x529ed1,P(this,_0x488aae(0x1ca),new M()),P(this,_0x488aae(0x194),new w());}[_0x3ddbdb(0x16e)](_0x39b9b4,_0x9dde60,_0x5402f5){const _0x8a8a7a=_0x3ddbdb;if(!this['_permissionService'][_0x8a8a7a(0x20b)](_0x39b9b4[_0x8a8a7a(0x3bb)]()))throw Error(_0x8a8a7a(0x266));this[_0x8a8a7a(0x234)](_0x39b9b4,this[_0x8a8a7a(0x1ca)][_0x8a8a7a(0x16e)](_0x39b9b4['getSnapshot'](),_0x9dde60,_0x5402f5));}[_0x3ddbdb(0x281)](_0x144e66,_0x17c06a,_0x42fefb){const _0xcf2a91=_0x3ddbdb;this[_0xcf2a91(0x234)](_0x144e66,this['_factory'][_0xcf2a91(0x281)](_0x144e66[_0xcf2a91(0x214)](),_0x17c06a,_0x42fefb));}[_0x3ddbdb(0x1e8)](_0x55c97f,_0x5d5c34){const _0x3af796=_0x3ddbdb;if(!this[_0x3af796(0x3ff)][_0x3af796(0x1cf)](_0x5d5c34))throw Error(_0x3af796(0x338));this[_0x3af796(0x234)](_0x55c97f,this[_0x3af796(0x1ca)][_0x3af796(0x1e8)](_0x55c97f[_0x3af796(0x214)](),_0x5d5c34));}[_0x3ddbdb(0x186)](_0x353438,_0x4dc0fa,_0x34bfe4,_0x5717cb,_0x36bd71){const _0x49a569=_0x3ddbdb;this[_0x49a569(0x234)](_0x353438,this[_0x49a569(0x1f2)](_0x353438,_0x4dc0fa,_0x34bfe4,_0x5717cb,_0x36bd71));}[_0x3ddbdb(0x3e3)](_0x41734b,_0xd7cb23,_0x291352){const _0x31afd7=_0x3ddbdb;this[_0x31afd7(0x234)](_0x41734b,this['createSetRecordValuesOp'](_0x41734b,_0xd7cb23,_0x291352));}[_0x3ddbdb(0x261)](_0x49b9cb,_0x2564d9,_0x495acf){const _0x5e577a=_0x3ddbdb;this[_0x5e577a(0x234)](_0x49b9cb,this['createCreateRecordOp'](_0x49b9cb,_0x2564d9,_0x495acf));}['createUpdateCellOp'](_0x23c9e3,_0x5ecded,_0x2c95ad,_0x31c00a,_0x17ddf7){const _0x329d32=_0x3ddbdb;let _0x1956a4=_0x23c9e3[_0x329d32(0x214)](),_0x4cd3b6=this[_0x329d32(0x228)](_0x1956a4,_0x5ecded,_0x2c95ad,_0x31c00a,_0x17ddf7),_0x13ebd4=this[_0x329d32(0x316)](_0x1956a4,_0x5ecded,_0x2c95ad,{[_0x31c00a]:_0x4cd3b6});return this[_0x329d32(0x1ca)]['setRecordValues'](_0x1956a4,_0x5ecded,[_0x13ebd4]);}['createSetRecordValuesOp'](_0x207a0d,_0xefdd5b,_0x4edae2){const _0x56485d=_0x3ddbdb;let _0x316855=_0x207a0d[_0x56485d(0x214)](),_0x53d3c0=_0x4edae2[_0x56485d(0x423)](_0x58fcf2=>this['_withModifiedSystemValues'](_0x316855,_0xefdd5b,_0x58fcf2['recordId'],{...Object[_0x56485d(0x284)](Object['entries'](_0x58fcf2[_0x56485d(0x14b)])[_0x56485d(0x423)](([_0x560ee3,_0x43557d])=>[_0x560ee3,this[_0x56485d(0x228)](_0x316855,_0xefdd5b,_0x58fcf2['recordId'],_0x560ee3,_0x43557d)]))}));return this[_0x56485d(0x1ca)]['setRecordValues'](_0x316855,_0xefdd5b,_0x53d3c0);}['createCreateRecordOp'](_0x540b1e,_0x14476c,_0x39b67d){const _0x412a15=_0x3ddbdb;if(!this['_permissionService'][_0x412a15(0x401)](_0x14476c))throw Error(_0x412a15(0x348));let _0x322aa9=_0x540b1e['getSnapshot']();return this['_factory']['createRecord'](_0x322aa9,_0x14476c,this[_0x412a15(0x2e7)](_0x322aa9,_0x14476c,_0x39b67d));}[_0x3ddbdb(0x24c)](_0x5f3606,_0x1fe1d5,_0x3a0d1d){const _0x2fb905=_0x3ddbdb;if(!this[_0x2fb905(0x3ff)]['canCreateRecord'](_0x1fe1d5))throw Error(_0x2fb905(0x348));let _0x16e6fe=_0x5f3606[_0x2fb905(0x214)]();return this[_0x2fb905(0x1ca)][_0x2fb905(0x387)](_0x16e6fe,_0x1fe1d5,_0x3a0d1d[_0x2fb905(0x423)](_0x32d7ec=>this[_0x2fb905(0x2e7)](_0x16e6fe,_0x1fe1d5,_0x32d7ec)));}[_0x3ddbdb(0x2a4)](_0x16dffa,_0x5cd378,_0x1d5835,_0x5c3242,_0x2a8d6e){const _0x31f58f=_0x3ddbdb;if(!this[_0x31f58f(0x3ff)]['canCreateField'](_0x5cd378))throw Error(_0x31f58f(0x42c));let _0x585a8c=_0x16dffa[_0x31f58f(0x214)](),_0x489be9=this['_factory'][_0x31f58f(0x394)](_0x585a8c,_0x5cd378,{'field':_0x1d5835,'index':_0x5c3242,'viewIndexes':_0x2a8d6e}),_0x179251=this[_0x31f58f(0x1ee)](_0x585a8c,_0x5cd378,_0x1d5835);if(!_0x179251[_0x31f58f(0x29a)])return _0x489be9;let _0x754244=this[_0x31f58f(0x194)]['applyOp'](_0x585a8c,_0x489be9);return j([_0x489be9,this[_0x31f58f(0x1ca)][_0x31f58f(0x3e3)](_0x754244,_0x5cd378,_0x179251)]);}[_0x3ddbdb(0x154)](_0x2a1da1,_0x58635c,_0x120a96){const _0x1f6c71=_0x3ddbdb;if(!this[_0x1f6c71(0x3ff)][_0x1f6c71(0x41a)](_0x58635c,_0x120a96))throw Error(_0x1f6c71(0x287));this['_apply'](_0x2a1da1,this[_0x1f6c71(0x1ca)][_0x1f6c71(0x154)](_0x2a1da1['getSnapshot'](),_0x58635c,_0x120a96));}[_0x3ddbdb(0x298)](_0x504914,_0x433737,_0x4c2fab,_0x2bff15){const _0x36904e=_0x3ddbdb;this[_0x36904e(0x234)](_0x504914,this[_0x36904e(0x1ca)][_0x36904e(0x298)](_0x504914[_0x36904e(0x214)](),_0x433737,_0x4c2fab,_0x2bff15));}[_0x3ddbdb(0x35f)](_0x91ea37,_0x527186,_0x1341a3,_0x51bf63){const _0x2645cd=_0x3ddbdb;this[_0x2645cd(0x234)](_0x91ea37,this[_0x2645cd(0x1ca)][_0x2645cd(0x35f)](_0x91ea37[_0x2645cd(0x214)](),_0x527186,_0x1341a3,_0x51bf63));}[_0x3ddbdb(0x394)](_0x27860b,_0x5701e3,_0x127a6d,_0x26e694,_0x28d600){const _0x112123=_0x3ddbdb;this[_0x112123(0x234)](_0x27860b,this[_0x112123(0x2a4)](_0x27860b,_0x5701e3,_0x127a6d,_0x26e694,_0x28d600));}[_0x3ddbdb(0x27b)](_0x3a54cf,_0x1bcbbd,_0x26a30c,_0x50dc07){const _0x1f5ac0=_0x3ddbdb;if(!this['_permissionService'][_0x1f5ac0(0x393)](_0x1bcbbd,_0x26a30c))throw Error(_0x1f5ac0(0x1ea));this[_0x1f5ac0(0x234)](_0x3a54cf,this[_0x1f5ac0(0x1ca)][_0x1f5ac0(0x27b)](_0x3a54cf[_0x1f5ac0(0x214)](),_0x1bcbbd,_0x26a30c,_0x50dc07));}[_0x3ddbdb(0x1a2)](_0x309032,_0x3570df,_0x5d9af2,_0x1c155a){const _0x276ba3=_0x3ddbdb;if(!this['_permissionService'][_0x276ba3(0x393)](_0x3570df,_0x5d9af2))throw Error(_0x276ba3(0x1ea));this['_apply'](_0x309032,this['_factory'][_0x276ba3(0x1a2)](_0x309032['getSnapshot'](),_0x3570df,_0x5d9af2,_0x1c155a));}[_0x3ddbdb(0x2a8)](_0x37859a,_0x50e888,_0x5d66c9){const _0x134bff=_0x3ddbdb;var _0x4bd4ab;if(((_0x4bd4ab=_0x37859a['getSnapshot']()['tables'][_0x50e888])==null?void 0x0:_0x4bd4ab[_0x134bff(0x140)])===_0x5d66c9)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService'][_0x134bff(0x3ea)](_0x50e888,_0x5d66c9))throw Error(_0x134bff(0x3a4));this[_0x134bff(0x234)](_0x37859a,this[_0x134bff(0x1ca)][_0x134bff(0x2a8)](_0x37859a[_0x134bff(0x214)](),_0x50e888,_0x5d66c9));}[_0x3ddbdb(0x184)](_0x80dd71,_0x2b558b,_0x40f773,_0x47f836){const _0x557b92=_0x3ddbdb;if(!this[_0x557b92(0x3ff)]['canEditField'](_0x2b558b,_0x40f773))throw Error(_0x557b92(0x1ea));this[_0x557b92(0x234)](_0x80dd71,this[_0x557b92(0x1ca)][_0x557b92(0x184)](_0x80dd71[_0x557b92(0x214)](),_0x2b558b,_0x40f773,_0x47f836));}[_0x3ddbdb(0x1c5)](_0x544b68,_0x5273a4,_0xcab08d,_0x223e2c){const _0x1eb0aa=_0x3ddbdb;this[_0x1eb0aa(0x234)](_0x544b68,this[_0x1eb0aa(0x1ca)][_0x1eb0aa(0x1c5)](_0x544b68['getSnapshot'](),_0x5273a4,_0xcab08d,_0x223e2c));}[_0x3ddbdb(0x1dc)](_0x1bddfb,_0x222177,_0x34bc51,_0x368a75){const _0x105fe9=_0x3ddbdb;if(!this[_0x105fe9(0x3ff)][_0x105fe9(0x33c)](_0x222177,_0x34bc51))throw Error(_0x105fe9(0x2c4));this[_0x105fe9(0x234)](_0x1bddfb,this[_0x105fe9(0x1ca)][_0x105fe9(0x1dc)](_0x1bddfb[_0x105fe9(0x214)](),_0x222177,_0x34bc51,_0x368a75));}['deleteView'](_0x437a58,_0x7455a7,_0x209768){const _0x35794e=_0x3ddbdb;if(!this[_0x35794e(0x3ff)][_0x35794e(0x33c)](_0x7455a7,_0x209768))throw Error(_0x35794e(0x2c4));this[_0x35794e(0x234)](_0x437a58,this[_0x35794e(0x1ca)][_0x35794e(0x269)](_0x437a58[_0x35794e(0x214)](),_0x7455a7,_0x209768));}[_0x3ddbdb(0x3d4)](_0x279428,_0x91d639,_0x57344b,_0x4ebed4){const _0x2f9f86=_0x3ddbdb;if(!this['_permissionService'][_0x2f9f86(0x33c)](_0x91d639,_0x57344b))throw Error(_0x2f9f86(0x2c4));this[_0x2f9f86(0x234)](_0x279428,this[_0x2f9f86(0x1ca)]['moveView'](_0x279428[_0x2f9f86(0x214)](),_0x91d639,_0x57344b,_0x4ebed4));}[_0x3ddbdb(0x290)](_0x3713e3,_0x167e03,_0x5afa21,_0x1c13fe){const _0x409bfb=_0x3ddbdb;if(!this[_0x409bfb(0x3ff)][_0x409bfb(0x33c)](_0x167e03,_0x5afa21))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x409bfb(0x234)](_0x3713e3,this[_0x409bfb(0x1ca)][_0x409bfb(0x290)](_0x3713e3[_0x409bfb(0x214)](),_0x167e03,_0x5afa21,_0x1c13fe));}[_0x3ddbdb(0x26f)](_0x19750b,_0x2a62ef,_0x2617a7,_0x407a21){const _0x52dfad=_0x3ddbdb;this[_0x52dfad(0x234)](_0x19750b,this[_0x52dfad(0x1ca)][_0x52dfad(0x26f)](_0x19750b['getSnapshot'](),_0x2a62ef,_0x2617a7,_0x407a21));}['setViewSort'](_0x1804f2,_0xcba5d8,_0x414d56,_0x1db4c5){const _0x30324a=_0x3ddbdb;this[_0x30324a(0x234)](_0x1804f2,this[_0x30324a(0x1ca)][_0x30324a(0x325)](_0x1804f2[_0x30324a(0x214)](),_0xcba5d8,_0x414d56,_0x1db4c5));}[_0x3ddbdb(0x23a)](_0x1cdf17,_0x26edfb,_0x2c2c40,_0x3f3222){const _0x40bfb6=_0x3ddbdb;this[_0x40bfb6(0x234)](_0x1cdf17,this[_0x40bfb6(0x1ca)][_0x40bfb6(0x23a)](_0x1cdf17[_0x40bfb6(0x214)](),_0x26edfb,_0x2c2c40,_0x3f3222));}['setViewFieldVisible'](_0x275cef,_0x3b3fbc,_0x115208,_0x17462d,_0x2283d3){const _0x139e37=_0x3ddbdb;if(!this[_0x139e37(0x3ff)][_0x139e37(0x33c)](_0x3b3fbc,_0x115208))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x139e37(0x234)](_0x275cef,this['_factory'][_0x139e37(0x151)](_0x275cef[_0x139e37(0x214)](),_0x3b3fbc,_0x115208,_0x17462d,_0x2283d3));}[_0x3ddbdb(0x3f6)](_0x766d60,_0x3a3877,_0x2a111c,_0x546552,_0x5aeeef){const _0x3732b8=_0x3ddbdb;this[_0x3732b8(0x234)](_0x766d60,this[_0x3732b8(0x1ca)][_0x3732b8(0x3f6)](_0x766d60[_0x3732b8(0x214)](),_0x3a3877,_0x2a111c,_0x546552,_0x5aeeef));}[_0x3ddbdb(0x202)](_0x2d57bc,_0x297c49,_0x44a8fb,_0x525a30,_0x226391){const _0x3e6681=_0x3ddbdb;this[_0x3e6681(0x234)](_0x2d57bc,this[_0x3e6681(0x1ca)][_0x3e6681(0x202)](_0x2d57bc[_0x3e6681(0x214)](),_0x297c49,_0x44a8fb,_0x525a30,_0x226391));}[_0x3ddbdb(0x234)](_0x24a81a,_0x4b003e){const _0x3428ea=_0x3ddbdb;let _0x491215=_0x24a81a[_0x3428ea(0x214)]();_0x24a81a[_0x3428ea(0x182)](this['_applier'][_0x3428ea(0x190)](_0x491215,_0x4b003e));}[_0x3ddbdb(0x2e7)](_0x200479,_0x8fd3d4,_0x2a2730){const _0x2db3ef=_0x3ddbdb;var _0x1c4176,_0x553e41,_0x1214a4,_0x28a59c;let _0x131bac=_0x200479[_0x2db3ef(0x16c)][_0x8fd3d4],_0x1958f9=(_0x1c4176=(_0x553e41=_0x2a2730['createdBy'])==null?_0x2a2730['updatedBy']:_0x553e41)==null?this[_0x2db3ef(0x286)]():_0x1c4176,_0x107a4d={..._0x2a2730,'createdBy':(_0x1214a4=_0x2a2730[_0x2db3ef(0x167)])==null?_0x1958f9:_0x1214a4,'updatedBy':(_0x28a59c=_0x2a2730['updatedBy'])==null?_0x1958f9:_0x28a59c,'values':{..._0x2a2730[_0x2db3ef(0x14b)]}};return _0x131bac['fieldOrder'][_0x2db3ef(0x18f)](_0x16a92a=>{const _0x5aee68=_0x2db3ef;let _0x5096a3=_0x131bac[_0x5aee68(0x2c6)][_0x16a92a];if(!(!_0x5096a3||_0x5096a3[_0x5aee68(0x2e3)]||_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]!==void 0x0))switch(_0x5096a3['type']){case _0x5aee68(0x381):_0x107a4d['values'][_0x16a92a]=this['_nextNumberingValue'](_0x131bac,_0x16a92a);break;case'createdBy':_0x107a4d[_0x5aee68(0x167)]&&(_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]=_0x107a4d['createdBy']);break;case _0x5aee68(0x19e):_0x107a4d[_0x5aee68(0x19e)]&&(_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]=_0x107a4d['updatedBy']);break;case'createdAt':_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]=T(_0x107a4d['createdAt']);break;case _0x5aee68(0x2ca):_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]=T(_0x107a4d[_0x5aee68(0x2ca)]);break;default:{let _0x1e0b55=_0x5096a3[_0x5aee68(0x2eb)];_0x1e0b55!=null&&_0x1e0b55!==''&&!(Array[_0x5aee68(0x22e)](_0x1e0b55)&&_0x1e0b55[_0x5aee68(0x29a)]===0x0)&&(_0x107a4d[_0x5aee68(0x14b)][_0x16a92a]=_0x1e0b55);}}}),_0x107a4d;}[_0x3ddbdb(0x316)](_0x1378b0,_0x1ef16f,_0x126d04,_0x2bc5f5){const _0x1998f3=_0x3ddbdb;var _0x509816,_0x257d49,_0x3a66ff;let _0x5f0c20=_0x1378b0[_0x1998f3(0x16c)][_0x1ef16f],_0x22616c=(_0x509816=(_0x257d49=(_0x3a66ff=this[_0x1998f3(0x31d)])[_0x1998f3(0x315)])==null?void 0x0:_0x257d49[_0x1998f3(0x300)](_0x3a66ff))==null?Date[_0x1998f3(0x315)]():_0x509816,_0x34a770=this[_0x1998f3(0x286)](),_0x3a8f0f={..._0x2bc5f5};return _0x5f0c20[_0x1998f3(0x3c0)][_0x1998f3(0x18f)](_0x15277c=>{const _0x226d61=_0x1998f3;let _0x678c8c=_0x5f0c20['fields'][_0x15277c];!_0x678c8c||_0x678c8c[_0x226d61(0x2e3)]||(_0x678c8c[_0x226d61(0x22c)]===_0x226d61(0x2ca)&&(_0x3a8f0f[_0x15277c]=T(_0x22616c)),_0x678c8c[_0x226d61(0x22c)]==='updatedBy'&&_0x34a770&&(_0x3a8f0f[_0x15277c]=_0x34a770));}),{'recordId':_0x126d04,'values':_0x3a8f0f,'recordPatch':{'updatedAt':_0x22616c,..._0x34a770?{'updatedBy':_0x34a770}:{}}};}[_0x3ddbdb(0x1ee)](_0x31e2bc,_0x679ac4,_0x4ab29a){const _0x143070=_0x3ddbdb;let _0x1860fb=_0x31e2bc[_0x143070(0x16c)][_0x679ac4];return!_0x1860fb||!Dt(_0x4ab29a)?[]:Object['values'](_0x1860fb[_0x143070(0x296)])['filter'](_0x340a54=>!_0x340a54[_0x143070(0x2e3)])[_0x143070(0x292)](_0x4c931f=>{let _0x5da4bb=this['_getSystemFieldValue'](_0x4ab29a,_0x4c931f);return _0x5da4bb===void 0x0?[]:[{'recordId':_0x4c931f['id'],'values':{[_0x4ab29a['id']]:_0x5da4bb}}];});}[_0x3ddbdb(0x233)](_0x3ec583,_0x1de2d7){const _0x31d9c1=_0x3ddbdb;switch(_0x3ec583['type']){case _0x31d9c1(0x167):var _0x314a6a;return(_0x314a6a=_0x1de2d7[_0x31d9c1(0x167)])==null?this[_0x31d9c1(0x286)]():_0x314a6a;case'updatedBy':var _0xa097f4;return(_0xa097f4=_0x1de2d7[_0x31d9c1(0x19e)])==null?this[_0x31d9c1(0x286)]():_0xa097f4;case _0x31d9c1(0x431):var _0x18ad87;return T((_0x18ad87=_0x1de2d7[_0x31d9c1(0x431)])==null?Date['now']():_0x18ad87);case _0x31d9c1(0x2ca):var _0x2fb34a;return T((_0x2fb34a=_0x1de2d7[_0x31d9c1(0x2ca)])==null?Date[_0x31d9c1(0x315)]():_0x2fb34a);default:return;}}['_nextNumberingValue'](_0x2c9f98,_0x29019b){const _0x5e1e64=_0x3ddbdb;let _0x1c7e63=Object['values'](_0x2c9f98['records'])[_0x5e1e64(0x2c5)]((_0x314ea9,_0x228af5)=>{const _0x599aea=_0x5e1e64;if(_0x228af5[_0x599aea(0x2e3)])return _0x314ea9;let _0xb80e63=Number(_0x228af5[_0x599aea(0x14b)][_0x29019b]);return Number[_0x599aea(0x2f5)](_0xb80e63)?Math['max'](_0x314ea9,_0xb80e63):_0x314ea9;},0x0);return String(_0x1c7e63+0x1);}['_getCurrentUserId'](){const _0x393f56=_0x3ddbdb;var _0x3b979c,_0x536d58,_0x2939ea,_0x5d5c91,_0x220ac5,_0x3f45f8;return(_0x3b979c=(_0x536d58=(_0x2939ea=(_0x5d5c91=this[_0x393f56(0x31d)])[_0x393f56(0x436)])==null?void 0x0:_0x2939ea[_0x393f56(0x300)](_0x5d5c91))==null?(_0x220ac5=(_0x3f45f8=this[_0x393f56(0x31d)])['getCurrentUser'])==null||(_0x220ac5=_0x220ac5[_0x393f56(0x300)](_0x3f45f8))==null?void 0x0:_0x220ac5['userID']:_0x536d58)==null?void 0x0:_0x3b979c;}[_0x3ddbdb(0x228)](_0x4e8733,_0x5c7a3b,_0x222927,_0x3478ad,_0x31ad12){const _0x34040c=_0x3ddbdb;var _0x193bb2;if(!this[_0x34040c(0x3ff)][_0x34040c(0x288)](_0x5c7a3b,_0x222927,_0x3478ad))throw Error(_0x34040c(0x217));let _0x1323d0=(_0x193bb2=_0x4e8733[_0x34040c(0x16c)][_0x5c7a3b])==null?void 0x0:_0x193bb2[_0x34040c(0x2c6)][_0x3478ad];if(!_0x1323d0||_0x1323d0[_0x34040c(0x2e3)])throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x3478ad+'\x22\x20does\x20not\x20exist.');let _0x2edb92=this[_0x34040c(0x313)][_0x34040c(0x1d9)](_0x1323d0['type']);if(_0x1323d0[_0x34040c(0x181)]||_0x1323d0[_0x34040c(0x363)]||!_0x2edb92[_0x34040c(0x2f8)](_0x1323d0)[_0x34040c(0x24f)])throw Error(_0x34040c(0x365));let _0x494ffe=_0x2edb92[_0x34040c(0x1df)](_0x31ad12,_0x1323d0),_0x3d3a7d=_0x2edb92[_0x34040c(0x21a)](_0x494ffe,_0x1323d0);if(!_0x3d3a7d[_0x34040c(0x21b)]){var _0xaffae3;throw Error((_0xaffae3=_0x3d3a7d[_0x34040c(0x155)])==null?_0x34040c(0x211):_0xaffae3);}return _0x494ffe;}};B=R([L(0x0,Ct),L(0x1,F)],B);function Et(){const _0x5b8618=_0x3ddbdb;let _0x1744b2=new St();return tt()[_0x5b8618(0x18f)](_0x16a447=>_0x1744b2['register'](_0x16a447)),_0x1744b2;}function Dt(_0x2e3441){const _0x465a91=_0x3ddbdb;return _0x2e3441['type']===_0x465a91(0x381)||_0x2e3441[_0x465a91(0x22c)]===_0x465a91(0x167)||_0x2e3441[_0x465a91(0x22c)]===_0x465a91(0x19e)||_0x2e3441[_0x465a91(0x22c)]===_0x465a91(0x431)||_0x2e3441['type']===_0x465a91(0x2ca);}const Ot=new Set([_0x3ddbdb(0x15c),_0x3ddbdb(0x235),_0x3ddbdb(0x164)]);function kt(_0x16262c){const _0x347eba=_0x3ddbdb;var _0x51c80f,_0x33dc6f;let _0x1032ae=_0x16262c[_0x347eba(0x2c6)][_0x16262c['primaryFieldId']];return!(_0x1032ae&&(_0x1032ae['system']===!0x0||_0x1032ae['id'][_0x347eba(0x2c2)]()==='id'||_0x1032ae['name'][_0x347eba(0x2ab)]()['toLowerCase']()==='id'))&&_0x1032ae&&!_0x1032ae[_0x347eba(0x2e3)]?_0x1032ae['id']:(_0x51c80f=(_0x33dc6f=_0x16262c[_0x347eba(0x3c0)][_0x347eba(0x423)](_0xf20771=>_0x16262c['fields'][_0xf20771])['find'](_0x198ed0=>_0x198ed0&&!_0x198ed0[_0x347eba(0x2e3)]&&_0x198ed0['id']!==_0x16262c[_0x347eba(0x140)]))==null?void 0x0:_0x33dc6f['id'])==null?_0x16262c['primaryFieldId']:_0x51c80f;}function V(_0x55fd3b,_0x5d17fe=[],_0x71479e=0x5){const _0x549aa5=_0x3ddbdb;let _0x1a112c=new Set(_0x5d17fe[_0x549aa5(0x1c1)](_0x2747e8=>!!_0x2747e8)),_0x552f9d=_0x55fd3b['fieldOrder']['flatMap'](_0x39d73b=>{const _0x571104=_0x549aa5;let _0x5f1cf7=_0x55fd3b['fields'][_0x39d73b];return _0x5f1cf7&&!_0x5f1cf7['deleted']&&!_0x1a112c[_0x571104(0x1d1)](_0x5f1cf7['id'])?[_0x5f1cf7]:[];}),_0x3300ee=_0x552f9d['filter'](_0x1b1f7f=>Ot[_0x549aa5(0x1d1)](_0x1b1f7f['type'])),_0x26aba0=_0x552f9d[_0x549aa5(0x1c1)](_0x276fc3=>!Ot[_0x549aa5(0x1d1)](_0x276fc3[_0x549aa5(0x22c)]));return[..._0x3300ee,..._0x26aba0][_0x549aa5(0x2b7)](0x0,_0x71479e)[_0x549aa5(0x423)](_0x137107=>_0x137107['id']);}function At(){const _0x4b2de9=_0x3ddbdb;return[{'type':'grid','i18nKey':_0x4b2de9(0x21c),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3ebcb7=_0x4b2de9;throw Error(_0x3ebcb7(0x27c));}},{'type':_0x4b2de9(0x14d),'i18nKey':_0x4b2de9(0x1ce),'createDefaultConfig':_0x4910f9=>{const _0x45e6e2=_0x4b2de9;let _0x5343b4=jt(_0x4910f9);return{'groupFieldId':_0x5343b4,'coverFieldId':null,'cardLayout':_0x45e6e2(0x279),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x4910f9['primaryFieldId'],'fieldIds':V(_0x4910f9,[_0x4910f9[_0x45e6e2(0x140)],_0x5343b4])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2a36a1=_0x4b2de9;throw Error(_0x2a36a1(0x206));}},{'type':'calendar','i18nKey':_0x4b2de9(0x256),'createDefaultConfig':_0x1dd352=>{const _0x58698c=_0x4b2de9;let _0xb75d9c=Mt(_0x1dd352);return{'startDateFieldId':_0xb75d9c,'endDateFieldId':Nt(_0x1dd352,_0xb75d9c),'titleFieldId':_0x1dd352['primaryFieldId'],'mode':_0x58698c(0x210),'timeslotSize':_0x58698c(0x409),'timeZone':_0x58698c(0x3e0),'displayColor':{'type':'custom','color':_0x58698c(0x311)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5ed88d=_0x4b2de9;throw Error(_0x5ed88d(0x2ad));}},{'type':_0x4b2de9(0x388),'i18nKey':_0x4b2de9(0x425),'createDefaultConfig':_0x4d4829=>{const _0x2b0085=_0x4b2de9;var _0x4b2311;let _0x1f16e0=Mt(_0x4d4829);return{'startDateFieldId':_0x1f16e0,'endDateFieldId':(_0x4b2311=Nt(_0x4d4829,_0x1f16e0))==null?_0x1f16e0:_0x4b2311,'titleFieldId':_0x4d4829[_0x2b0085(0x140)],'scale':_0x2b0085(0x210),'showTodayLine':!0x0,'displayColor':{'type':_0x2b0085(0x3da),'color':_0x2b0085(0x1fc)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x57f5a5=_0x4b2de9;throw Error(_0x57f5a5(0x1dd));}},{'type':'gallery','i18nKey':_0x4b2de9(0x268),'createDefaultConfig':_0x32724d=>{const _0x1bf921=_0x4b2de9;let _0x38a2ed=kt(_0x32724d);return{'coverFieldId':null,'cardLayout':_0x1bf921(0x279),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x38a2ed,'coverFieldId':null,'fieldIds':V(_0x32724d,[_0x38a2ed,_0x32724d[_0x1bf921(0x140)]])},'cardSize':_0x1bf921(0x409)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function jt(_0x23f673){const _0x43efe9=_0x3ddbdb;var _0x42c5d1,_0x66e012,_0x14c871,_0x152dfa,_0xeee825,_0x4e941e;let _0x226a58=_0x23f673['fieldOrder']['map'](_0x242417=>_0x23f673[_0x43efe9(0x2c6)][_0x242417])[_0x43efe9(0x1c1)](_0x2e5923=>!!_0x2e5923&&!_0x2e5923['deleted']);return(_0x42c5d1=(_0x66e012=(_0x14c871=(_0x152dfa=_0x226a58[_0x43efe9(0x368)](_0x3af8ff=>_0x3af8ff['type']===_0x43efe9(0x3d6)||_0x3af8ff[_0x43efe9(0x22c)]===_0x43efe9(0x171)||_0x3af8ff['type']===_0x43efe9(0x40e)))==null?void 0x0:_0x152dfa['id'])==null?(_0xeee825=_0x226a58[_0x43efe9(0x368)](_0x4db5f6=>_0x4db5f6[_0x43efe9(0x22c)]===_0x43efe9(0x3f8)))==null?void 0x0:_0xeee825['id']:_0x14c871)==null?(_0x4e941e=_0x226a58[_0x43efe9(0x368)](_0x50543e=>_0x50543e['type']==='date'||_0x50543e[_0x43efe9(0x22c)]===_0x43efe9(0x431)||_0x50543e[_0x43efe9(0x22c)]===_0x43efe9(0x2ca)))==null?void 0x0:_0x4e941e['id']:_0x66e012)==null?_0x23f673[_0x43efe9(0x140)]:_0x42c5d1;}function Mt(_0x58d070){const _0x3d8554=_0x3ddbdb;var _0x25be18,_0x296246;return(_0x25be18=(_0x296246=_0x58d070[_0x3d8554(0x3c0)][_0x3d8554(0x423)](_0x4e9b94=>_0x58d070[_0x3d8554(0x2c6)][_0x4e9b94])[_0x3d8554(0x368)](Pt))==null?void 0x0:_0x296246['id'])==null?'':_0x25be18;}function Nt(_0x410efc,_0x30c4fa){const _0x10e182=_0x3ddbdb;var _0x4718dc;return(_0x4718dc=_0x410efc[_0x10e182(0x3c0)][_0x10e182(0x423)](_0x385750=>_0x410efc[_0x10e182(0x2c6)][_0x385750])[_0x10e182(0x368)](_0x176897=>Pt(_0x176897)&&_0x176897['id']!==_0x30c4fa))==null?void 0x0:_0x4718dc['id'];}function Pt(_0x397ea6){const _0x56bfb6=_0x3ddbdb;return!!_0x397ea6&&!_0x397ea6[_0x56bfb6(0x2e3)]&&_0x397ea6[_0x56bfb6(0x22c)]===_0x56bfb6(0x18b)&&_0x397ea6[_0x56bfb6(0x181)]!==!0x0&&_0x397ea6[_0x56bfb6(0x363)]!==!0x0;}const Ft=(0x0,e['createIdentifier'])('base.projection.service'),It=new Set([_0x3ddbdb(0x424),_0x3ddbdb(0x30b),_0x3ddbdb(0x15c),_0x3ddbdb(0x235),_0x3ddbdb(0x18b),_0x3ddbdb(0x431),_0x3ddbdb(0x2ca),'checkbox']);let Lt=class extends e[_0x3ddbdb(0x40b)]{constructor(_0x62e2f4){const _0x3cf05d=_0x3ddbdb;super(),this['_fieldRegistry']=_0x62e2f4,P(this,_0x3cf05d(0x383),new Map()),P(this,'_projectionCache',new WeakMap()),P(this,_0x3cf05d(0x208),new Map()),P(this,_0x3cf05d(0x2de),new Map()),P(this,_0x3cf05d(0x1d7),new Map()),P(this,_0x3cf05d(0x38d),0x0),P(this,_0x3cf05d(0x2b3),new Map()),P(this,_0x3cf05d(0x330),new Map()),P(this,_0x3cf05d(0x29c),new Map()),P(this,'_viewRevisions',new Map());}[_0x3ddbdb(0x19f)](_0x282149){const _0x4fdc9e=_0x3ddbdb;return this[_0x4fdc9e(0x383)][_0x4fdc9e(0x12d)](_0x282149[_0x4fdc9e(0x22c)],_0x282149),(0x0,e[_0x4fdc9e(0x358)])(()=>this['_views'][_0x4fdc9e(0x426)](_0x282149[_0x4fdc9e(0x22c)]));}['getProjection'](_0x40e24d,_0x38576e,_0x4b828b){const _0x1efa0b=_0x3ddbdb;var _0x22c092,_0x2a11b4,_0x2d4e34,_0x52b497,_0x5815f4;return o('BaseProjection.getProjection',()=>{const _0x121412=_0x4f49;let _0x3410bc=this[_0x121412(0x3aa)](_0x40e24d,_0x38576e,_0x4b828b);if(_0x3410bc)return _0x3410bc;let _0x5da596=_0x40e24d[_0x121412(0x16c)][_0x38576e],_0x46f0ff=_0x5da596==null?void 0x0:_0x5da596[_0x121412(0x195)][_0x4b828b];if(!_0x5da596||!_0x46f0ff||_0x5da596[_0x121412(0x2e3)]||_0x46f0ff[_0x121412(0x2e3)]){var _0x5985d6;return this[_0x121412(0x129)](_0x40e24d,_0x38576e,_0x4b828b,{'type':_0x121412(0x204),'viewType':(_0x5985d6=_0x46f0ff==null?void 0x0:_0x46f0ff['type'])==null?_0x121412(0x1eb):_0x5985d6,'reason':_0x121412(0x218)});}let _0x528c0a;switch(_0x46f0ff[_0x121412(0x22c)]){case _0x121412(0x1eb):_0x528c0a=this[_0x121412(0x2db)](_0x5da596,_0x46f0ff);break;case _0x121412(0x388):_0x528c0a=this[_0x121412(0x293)](_0x5da596,_0x46f0ff);break;case _0x121412(0x14d):_0x528c0a=this['_buildKanban'](_0x5da596,_0x46f0ff);break;case _0x121412(0x289):_0x528c0a=this[_0x121412(0x28a)](_0x5da596,_0x46f0ff);break;case _0x121412(0x3fb):_0x528c0a=this['_buildGallery'](_0x5da596,_0x46f0ff);break;default:_0x528c0a={'type':_0x121412(0x204),'viewType':_0x46f0ff['type'],'reason':_0x121412(0x218)};}return this[_0x121412(0x129)](_0x40e24d,_0x38576e,_0x4b828b,_0x528c0a);},{'tableId':_0x38576e,'viewId':_0x4b828b,'viewType':(_0x22c092=_0x40e24d['tables'][_0x38576e])==null||(_0x22c092=_0x22c092[_0x1efa0b(0x195)][_0x4b828b])==null?void 0x0:_0x22c092[_0x1efa0b(0x22c)],'records':(_0x2a11b4=(_0x2d4e34=_0x40e24d[_0x1efa0b(0x16c)][_0x38576e])==null||(_0x2d4e34=_0x2d4e34['recordOrder'])==null?void 0x0:_0x2d4e34[_0x1efa0b(0x29a)])==null?Object[_0x1efa0b(0x337)]((_0x52b497=(_0x5815f4=_0x40e24d['tables'][_0x38576e])==null?void 0x0:_0x5815f4[_0x1efa0b(0x296)])==null?{}:_0x52b497)[_0x1efa0b(0x29a)]:_0x2a11b4});}[_0x3ddbdb(0x3b7)](_0x219ae5,_0x457684,_0x5b1519){const _0x175578=_0x3ddbdb;var _0x5d9090,_0x2f63ff,_0x1ce7a6,_0x4668e4;let _0x4be8b4=_0x219ae5['tables'][_0x457684],_0x2f68a8=_0x4be8b4==null?void 0x0:_0x4be8b4[_0x175578(0x195)][_0x5b1519];if(!_0x4be8b4||!_0x2f68a8)throw Error(_0x175578(0x141)+_0x5b1519+'\x22.');let _0x8912a9=_0x2ecaba=>{const _0x355cbd=_0x175578;let _0x59062a=_0x4be8b4[_0x355cbd(0x2c6)][_0x2ecaba];return!!_0x59062a&&!_0x59062a[_0x355cbd(0x2e3)];},_0x1feb56={..._0x2f68a8,'filter':_0x2f68a8[_0x175578(0x1c1)]?{..._0x2f68a8[_0x175578(0x1c1)],'conditions':_0x2f68a8['filter'][_0x175578(0x134)][_0x175578(0x1c1)](_0x131437=>_0x8912a9(_0x131437[_0x175578(0x36b)]))}:_0x2f68a8['filter'],'sort':(_0x5d9090=_0x2f68a8[_0x175578(0x1b3)])==null?void 0x0:_0x5d9090[_0x175578(0x1c1)](_0x55371b=>_0x8912a9(_0x55371b[_0x175578(0x36b)])),'group':(_0x2f63ff=_0x2f68a8[_0x175578(0x40e)])==null?void 0x0:_0x2f63ff[_0x175578(0x1c1)](_0x3b2407=>_0x8912a9(_0x3b2407['fieldId'])),'fieldOrder':(_0x1ce7a6=_0x2f68a8[_0x175578(0x3c0)])==null?void 0x0:_0x1ce7a6[_0x175578(0x1c1)](_0x8912a9),'fieldSettings':Object[_0x175578(0x284)](Object[_0x175578(0x291)]((_0x4668e4=_0x2f68a8['fieldSettings'])==null?{}:_0x4668e4)[_0x175578(0x1c1)](([_0x21cad5])=>_0x8912a9(_0x21cad5)))};if(_0x1feb56['type']===_0x175578(0x14d)){var _0x36cbb4,_0x30887c,_0x366e89,_0x30ff81;let _0x4d5645=(_0x36cbb4=_0x1feb56[_0x175578(0x367)])==null?{}:_0x36cbb4,_0x4e5210=this['_resolveKanbanGroupFieldId'](_0x4be8b4,_0x1feb56);_0x1feb56[_0x175578(0x367)]={..._0x4d5645,'groupFieldId':_0x4e5210==null?_0x4d5645['groupFieldId']:_0x4e5210,'coverFieldId':this[_0x175578(0x20e)](_0x4be8b4,_0x4d5645),'cardLayout':_0x4d5645['cardLayout']===_0x175578(0x16b)?_0x175578(0x16b):_0x175578(0x279),'showFieldNames':_0x4d5645['showFieldNames']!==!0x1,'fieldSettings':Object[_0x175578(0x284)](Object[_0x175578(0x291)]((_0x30887c=_0x4d5645[_0x175578(0x267)])==null?{}:_0x30887c)[_0x175578(0x1c1)](([_0x7bfd51])=>_0x8912a9(_0x7bfd51))),'columnSettings':(_0x366e89=_0x4d5645[_0x175578(0x376)])==null?{}:_0x366e89,'card':{...(_0x30ff81=_0x4d5645[_0x175578(0x3a5)])==null?{}:_0x30ff81,'fieldIds':this[_0x175578(0x1a3)](_0x4be8b4,_0x1feb56,_0x4e5210==null?'':_0x4e5210)}};}return{'repaired':JSON[_0x175578(0x1aa)](_0x1feb56)!==JSON['stringify'](_0x2f68a8),'view':_0x1feb56};}[_0x3ddbdb(0x3ba)](){const _0x7b4a17=_0x3ddbdb;this[_0x7b4a17(0x38d)]++;}[_0x3ddbdb(0x3ac)](_0x2f5c6d,_0x217f6b,_0x440106){const _0x4b3805=_0x3ddbdb;var _0x2424e8;let _0x45bcd4=this[_0x4b3805(0x3e2)](_0x2f5c6d)+0x1;this[_0x4b3805(0x330)][_0x4b3805(0x12d)](_0x2f5c6d,_0x45bcd4);let _0x41ab1d=(_0x2424e8=this[_0x4b3805(0x29c)][_0x4b3805(0x1d9)](_0x2f5c6d))==null?[]:_0x2424e8;_0x41ab1d[_0x4b3805(0x39b)]({'revision':_0x45bcd4,'recordId':_0x217f6b,'fieldId':_0x440106}),this[_0x4b3805(0x29c)][_0x4b3805(0x12d)](_0x2f5c6d,_0x41ab1d);}[_0x3ddbdb(0x308)](_0x4d016c,_0x12d506){const _0x52ad61=_0x3ddbdb;this[_0x52ad61(0x3d1)](_0x4d016c);}[_0x3ddbdb(0x1e9)](_0x45cbe4,_0x4dc7de){const _0x330763=_0x3ddbdb;this['_viewRevisions']['set'](this[_0x330763(0x1f5)](_0x45cbe4,_0x4dc7de),this[_0x330763(0x148)](_0x45cbe4,_0x4dc7de)+0x1);}[_0x3ddbdb(0x3aa)](_0x286fe4,_0xc684e,_0xfe08a5){const _0x1e0461=_0x3ddbdb;var _0x127db1;let _0x312141=(_0x127db1=this['_projectionCache'][_0x1e0461(0x1d9)](_0x286fe4))==null?void 0x0:_0x127db1[_0x1e0461(0x1d9)](this[_0x1e0461(0x153)](_0xc684e,_0xfe08a5));return _0x312141&&_0x312141[_0x1e0461(0x3c1)]===this['_globalRevision']&&_0x312141[_0x1e0461(0x22f)]===this[_0x1e0461(0x1d3)](_0xc684e)&&_0x312141[_0x1e0461(0x3c3)]===this['_getCellRevision'](_0xc684e)&&_0x312141['viewRevision']===this[_0x1e0461(0x148)](_0xc684e,_0xfe08a5)?_0x312141[_0x1e0461(0x314)]:null;}[_0x3ddbdb(0x129)](_0x4a9af9,_0x1f0daf,_0x50d093,_0x34ff4c){const _0x4d84b7=_0x3ddbdb;let _0x4d4cf1=this['_projectionCache'][_0x4d84b7(0x1d9)](_0x4a9af9);return _0x4d4cf1||(_0x4d4cf1=new Map(),this[_0x4d84b7(0x2bc)][_0x4d84b7(0x12d)](_0x4a9af9,_0x4d4cf1)),_0x4d4cf1[_0x4d84b7(0x12d)](this['_cacheKey'](_0x1f0daf,_0x50d093),{'projection':_0x34ff4c,'globalRevision':this[_0x4d84b7(0x38d)],'tableRevision':this[_0x4d84b7(0x1d3)](_0x1f0daf),'cellRevision':this[_0x4d84b7(0x3e2)](_0x1f0daf),'viewRevision':this[_0x4d84b7(0x148)](_0x1f0daf,_0x50d093)}),_0x34ff4c;}['_bumpTableRevision'](_0x94290c){const _0x32e73e=_0x3ddbdb;this['_tableRevisions'][_0x32e73e(0x12d)](_0x94290c,this['_getTableRevision'](_0x94290c)+0x1);}[_0x3ddbdb(0x1d3)](_0x21e2da){const _0x2a3c03=_0x3ddbdb;var _0x54f6a4;return(_0x54f6a4=this[_0x2a3c03(0x2b3)][_0x2a3c03(0x1d9)](_0x21e2da))==null?0x0:_0x54f6a4;}['_getCellRevision'](_0x5c1ee9){const _0xada9bb=_0x3ddbdb;var _0x399757;return(_0x399757=this[_0xada9bb(0x330)][_0xada9bb(0x1d9)](_0x5c1ee9))==null?0x0:_0x399757;}['_getViewRevision'](_0x5b04af,_0x1de97c){const _0x3aa1b5=_0x3ddbdb;var _0x39b21a;return(_0x39b21a=this[_0x3aa1b5(0x1de)][_0x3aa1b5(0x1d9)](this[_0x3aa1b5(0x1f5)](_0x5b04af,_0x1de97c)))==null?0x0:_0x39b21a;}[_0x3ddbdb(0x153)](_0x290ab9,_0x983085){return _0x290ab9+'\x00'+_0x983085;}[_0x3ddbdb(0x3ec)](_0x57a880,_0x27b5a0){const _0x25da65=_0x3ddbdb;return _0x57a880+'\x00'+this[_0x25da65(0x32b)](_0x27b5a0);}['_groupsCacheKey'](_0x4013da,_0x32edc6,_0x1062bd){const _0x341fee=_0x3ddbdb;return _0x4013da+'\x00'+this[_0x341fee(0x32b)](_0x32edc6)+'\x00'+this['_groupConfigCacheSegment'](_0x1062bd);}[_0x3ddbdb(0x32b)](_0x328c00){const _0x1f00f9=_0x3ddbdb;return _0x328c00?Ut({'filter':Vt(_0x328c00[_0x1f00f9(0x1c1)]),'sort':Ht(_0x328c00[_0x1f00f9(0x1b3)])}):_0x1f00f9(0x28d);}['_groupConfigCacheSegment'](_0x72e8d7){const _0x50be02=_0x3ddbdb;return Ut(_0x72e8d7[_0x50be02(0x423)](_0x128db5=>{const _0x56a231=_0x50be02;var _0x59e5ac;return{'fieldId':_0x128db5[_0x56a231(0x36b)],'direction':(_0x59e5ac=_0x128db5[_0x56a231(0x1cb)])==null?null:_0x59e5ac};}));}[_0x3ddbdb(0x1f5)](_0x52cdd3,_0x1f44d1){return _0x52cdd3+'\x00'+_0x1f44d1;}[_0x3ddbdb(0x2db)](_0x31aca0,_0x1ff9de){const _0x37a17d=_0x3ddbdb;let _0x27c806=this[_0x37a17d(0x2a3)](_0x31aca0,_0x1ff9de);return{'type':'grid','fields':this[_0x37a17d(0x168)](_0x31aca0,_0x1ff9de),'rows':_0x27c806,'groups':this[_0x37a17d(0x2ba)](_0x31aca0,_0x1ff9de,_0x27c806),'frozenFieldCount':typeof _0x1ff9de[_0x37a17d(0x367)][_0x37a17d(0x420)]==_0x37a17d(0x424)?_0x1ff9de[_0x37a17d(0x367)]['frozenFieldCount']:0x0};}[_0x3ddbdb(0x2b1)](_0x363506,_0x10d13e){const _0x95e234=_0x3ddbdb;var _0x22d434;let _0x58a300=this[_0x95e234(0x2df)](_0x363506,_0x10d13e),_0x3f2632=_0x58a300?_0x363506[_0x95e234(0x2c6)][_0x58a300]:void 0x0;if(!_0x3f2632||_0x3f2632['deleted'])return{'type':_0x95e234(0x204),'viewType':_0x95e234(0x14d),'reason':_0x95e234(0x2ee),'fieldId':_0x10d13e[_0x95e234(0x367)][_0x95e234(0x165)]};let _0x589c0a=this[_0x95e234(0x2a3)](_0x363506,_0x10d13e),_0x4e9ddf=this[_0x95e234(0x168)](_0x363506,_0x10d13e),_0x5e91d3=(_0x22d434=_0x10d13e[_0x95e234(0x367)])==null?{}:_0x22d434,_0x5c6f2a=this[_0x95e234(0x1a3)](_0x363506,_0x10d13e,_0x3f2632['id']),_0x2c10e9=new Map();return this[_0x95e234(0x2a9)](_0x3f2632,_0x5e91d3)['forEach'](_0x36db8d=>_0x2c10e9[_0x95e234(0x12d)](_0x36db8d[_0x95e234(0x16d)],{..._0x36db8d,'recordIds':[]})),_0x589c0a[_0x95e234(0x18f)](_0xcc2ef3=>{const _0x4cc9cd=_0x95e234;this['_kanbanGroupKeys'](_0x3f2632,_0xcc2ef3[_0x4cc9cd(0x14b)][_0x3f2632['id']])[_0x4cc9cd(0x18f)](_0x19c7f6=>{const _0x1ef148=_0x4cc9cd;let _0x3e530b=_0x2c10e9[_0x1ef148(0x1d9)](_0x19c7f6),_0xfd8556=_0x3e530b==null?{'key':_0x19c7f6,'title':this[_0x1ef148(0x203)](_0x3f2632,_0x19c7f6,_0x5e91d3),'color':this[_0x1ef148(0x20c)](_0x3f2632,_0x19c7f6,_0x5e91d3),'recordIds':[]}:_0x3e530b;_0xfd8556['recordIds']['push'](_0xcc2ef3['recordId']),_0x2c10e9[_0x1ef148(0x12d)](_0x19c7f6,_0xfd8556);});}),{'type':'kanban','fields':_0x4e9ddf,'rows':_0x589c0a,'groups':this[_0x95e234(0x2ba)](_0x363506,_0x10d13e,_0x589c0a),'groupFieldId':_0x3f2632['id'],'coverFieldId':this[_0x95e234(0x20e)](_0x363506,_0x5e91d3),'cardLayout':_0x5e91d3[_0x95e234(0x15f)]==='compose'?_0x95e234(0x16b):_0x95e234(0x279),'showFieldNames':_0x5e91d3['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5c6f2a,'lanes':Array[_0x95e234(0x2c8)](_0x2c10e9[_0x95e234(0x14b)]())};}['_resolveKanbanGroupFieldId'](_0x135c0c,_0x28e1b1){const _0x801ca3=_0x3ddbdb;var _0x40a082;let _0x50a588=(_0x40a082=_0x28e1b1[_0x801ca3(0x367)])==null?void 0x0:_0x40a082[_0x801ca3(0x165)];return _0x50a588&&this[_0x801ca3(0x1fd)](_0x135c0c,_0x50a588)?_0x50a588:this[_0x801ca3(0x264)](_0x135c0c,_0x1aa8ba=>this[_0x801ca3(0x173)](_0x1aa8ba));}['_findKanbanGroupField'](_0x380bcc,_0x2c783c){const _0x1cafa1=_0x3ddbdb;for(let _0x28b216 of _0x380bcc[_0x1cafa1(0x3c0)]){let _0x356669=_0x380bcc[_0x1cafa1(0x2c6)][_0x28b216];if(_0x356669&&!_0x356669[_0x1cafa1(0x2e3)]&&_0x2c783c(_0x356669))return _0x356669['id'];}return null;}[_0x3ddbdb(0x1fd)](_0x26d69b,_0xb6f13e){const _0x410741=_0x3ddbdb;let _0x5ba6d1=_0x26d69b[_0x410741(0x2c6)][_0xb6f13e];return this['_isAllowedKanbanGroupField'](_0x5ba6d1);}[_0x3ddbdb(0x173)](_0x4bdecf){const _0x2984d0=_0x3ddbdb;return!!_0x4bdecf&&!_0x4bdecf['deleted']&&(_0x4bdecf[_0x2984d0(0x22c)]===_0x2984d0(0x3d6)||_0x4bdecf[_0x2984d0(0x22c)]===_0x2984d0(0x171)||_0x4bdecf[_0x2984d0(0x22c)]==='rating'||_0x4bdecf[_0x2984d0(0x22c)]==='person'||_0x4bdecf[_0x2984d0(0x22c)]===_0x2984d0(0x40e)||_0x4bdecf['type']==='checkbox');}['_isColorfulKanbanGroupField'](_0x10a857){const _0x409002=_0x3ddbdb;return _0x10a857[_0x409002(0x22c)]===_0x409002(0x3d6)||_0x10a857[_0x409002(0x22c)]===_0x409002(0x171);}[_0x3ddbdb(0x20e)](_0x667a03,_0x66e210){const _0x390d9d=_0x3ddbdb;var _0x15072b,_0x42202c,_0x1935bf;let _0x52c50c=(_0x15072b=(_0x42202c=_0x66e210[_0x390d9d(0x246)])==null?(_0x1935bf=_0x66e210[_0x390d9d(0x3a5)])==null?void 0x0:_0x1935bf[_0x390d9d(0x246)]:_0x42202c)==null?null:_0x15072b;if(!_0x52c50c)return null;let _0x1a56c4=_0x667a03[_0x390d9d(0x2c6)][_0x52c50c];return _0x1a56c4&&!_0x1a56c4['deleted']&&this[_0x390d9d(0x37e)](_0x1a56c4)[_0x390d9d(0x2fd)]?_0x1a56c4['id']:null;}[_0x3ddbdb(0x1a3)](_0x4e128e,_0x53998c,_0x32ac45){const _0x9233bf=_0x3ddbdb;var _0x2cc57b,_0x87eded,_0x3f534a;let _0x15bcdf=(_0x2cc57b=_0x53998c[_0x9233bf(0x367)])==null?{}:_0x2cc57b,_0x52cf2d=!((_0x87eded=_0x15bcdf[_0x9233bf(0x3a5)])==null||(_0x87eded=_0x87eded[_0x9233bf(0x35b)])==null)&&_0x87eded[_0x9233bf(0x29a)]?_0x15bcdf[_0x9233bf(0x3a5)][_0x9233bf(0x35b)]:V(_0x4e128e,[_0x4e128e[_0x9233bf(0x140)],_0x32ac45]),_0x2971f2=(_0x3f534a=_0x15bcdf[_0x9233bf(0x267)])==null?{}:_0x3f534a;return _0x52cf2d[_0x9233bf(0x1c1)](_0x183836=>{const _0x52882c=_0x9233bf;var _0x1bea82,_0x54e764;let _0x5982ec=_0x4e128e[_0x52882c(0x2c6)][_0x183836];return!(!_0x5982ec||_0x5982ec[_0x52882c(0x2e3)]||_0x5982ec['id']===_0x32ac45||!((_0x1bea82=_0x53998c[_0x52882c(0x267)])==null||(_0x1bea82=_0x1bea82[_0x183836])==null)&&_0x1bea82[_0x52882c(0x349)]||(_0x54e764=_0x2971f2[_0x183836])!=null&&_0x54e764[_0x52882c(0x349)]);})['sort']((_0x448ec4,_0x3c0daa)=>{const _0x496d6f=_0x9233bf;var _0x579844,_0x3e83e4,_0x384f99,_0x4814d9;return((_0x579844=(_0x3e83e4=_0x2971f2[_0x448ec4])==null?void 0x0:_0x3e83e4[_0x496d6f(0x352)])==null?_0x52cf2d[_0x496d6f(0x3a6)](_0x448ec4):_0x579844)-((_0x384f99=(_0x4814d9=_0x2971f2[_0x3c0daa])==null?void 0x0:_0x4814d9[_0x496d6f(0x352)])==null?_0x52cf2d[_0x496d6f(0x3a6)](_0x3c0daa):_0x384f99);});}['_getKanbanConfiguredLanes'](_0x154317,_0x5e126c){const _0x79bc65=_0x3ddbdb;var _0x4d6aba,_0x33a54e;let _0x450859=(Array[_0x79bc65(0x22e)]((_0x4d6aba=_0x154317['config'])==null?void 0x0:_0x4d6aba[_0x79bc65(0x2dd)])?_0x154317['config'][_0x79bc65(0x2dd)]:[])['flatMap']((_0x2f391d,_0x18672b)=>{const _0x43f3bc=_0x79bc65;var _0x12d529,_0x2c08a1,_0x3d16de,_0x151f50;if(_0x2f391d==null)return[];let _0x4b4660=typeof _0x2f391d==_0x43f3bc(0x277)?{'id':_0x2f391d,'name':_0x2f391d,'color':void 0x0}:_0x2f391d,_0x238510=String((_0x12d529=(_0x2c08a1=_0x4b4660['id'])==null?_0x4b4660[_0x43f3bc(0x1a6)]:_0x2c08a1)==null?_0x43f3bc(0x24a)+(_0x18672b+0x1):_0x12d529);return[{'key':_0x238510,'title':String((_0x3d16de=(_0x151f50=_0x4b4660[_0x43f3bc(0x1a6)])==null?_0x4b4660['id']:_0x151f50)==null?_0x238510:_0x3d16de),'color':this['_kanbanLaneColor'](_0x154317,_0x238510,_0x5e126c)}];});return Object[_0x79bc65(0x291)]((_0x33a54e=_0x5e126c['columnSettings'])==null?{}:_0x33a54e)[_0x79bc65(0x18f)](([_0xbb3013,_0x3f5ed6])=>{const _0x119743=_0x79bc65;var _0x57b2d2;_0x450859[_0x119743(0x333)](_0x5b07ac=>_0x5b07ac['key']===_0xbb3013)||_0x450859['push']({'key':_0xbb3013,'title':this['_isColorfulKanbanGroupField'](_0x154317)?(_0x57b2d2=_0x3f5ed6['title'])==null?this[_0x119743(0x203)](_0x154317,_0xbb3013,_0x5e126c):_0x57b2d2:this['_kanbanLaneTitle'](_0x154317,_0xbb3013,_0x5e126c),'color':this['_kanbanLaneColor'](_0x154317,_0xbb3013,_0x5e126c)});}),_0x450859;}['_kanbanGroupKeys'](_0x8d5dcb,_0x468a2f){const _0x1b1ba8=_0x3ddbdb;let _0x4efb5f=_0x2d0a11=>{var _0x35da43,_0x4a6c0f;let _0x2a3a63=_0x2d0a11==null?'':String(_0x2d0a11);return!_0x2a3a63||!this['_isColorfulKanbanGroupField'](_0x8d5dcb)||(_0x35da43=(_0x4a6c0f=G(_0x8d5dcb,_0x2a3a63))==null?void 0x0:_0x4a6c0f['id'])==null?_0x2a3a63:_0x35da43;};if(Array[_0x1b1ba8(0x22e)](_0x468a2f)){let _0x193396=_0x468a2f[_0x1b1ba8(0x423)](_0x4efb5f)['filter'](_0x38a466=>_0x38a466!=='');return _0x193396[_0x1b1ba8(0x29a)]?_0x193396:[''];}return[_0x4efb5f(_0x468a2f)];}['_kanbanLaneTitle'](_0x59cfa3,_0x20b1ca,_0x9f4aa1){const _0x342860=_0x3ddbdb;var _0x45e46f;if(!_0x20b1ca)return'Uncategorized';let _0x2177f9=G(_0x59cfa3,_0x20b1ca);return(_0x45e46f=_0x2177f9==null?void 0x0:_0x2177f9[_0x342860(0x1a6)])==null?_0x20b1ca:_0x45e46f;}[_0x3ddbdb(0x20c)](_0x5765ca,_0xcf81c4,_0x312531){const _0x39c977=_0x3ddbdb;var _0x136c96;if(this[_0x39c977(0x176)](_0x5765ca))return(_0x136c96=G(_0x5765ca,_0xcf81c4))==null?void 0x0:_0x136c96[_0x39c977(0x3fa)];}[_0x3ddbdb(0x28a)](_0x293096,_0x43fc56){const _0x519acc=_0x3ddbdb;var _0x3e92c0;let _0x2e1303=this['_normalizeCalendarConfig'](_0x293096,(_0x3e92c0=_0x43fc56[_0x519acc(0x367)])==null?{}:_0x3e92c0),_0x273193=_0x293096[_0x519acc(0x2c6)][_0x2e1303['startDateFieldId']];if(!_0x273193||_0x273193[_0x519acc(0x2e3)]||_0x273193[_0x519acc(0x22c)]!==_0x519acc(0x18b)||_0x273193['readonly']===!0x0||_0x273193[_0x519acc(0x363)]===!0x0||!this[_0x519acc(0x37e)](_0x273193)['usableAsCalendarDate'])return{'type':_0x519acc(0x204),'viewType':_0x519acc(0x289),'reason':_0x519acc(0x1d0),'fieldId':_0x2e1303[_0x519acc(0x241)]};let _0x162bdc=_0x2e1303['endDateFieldId']?_0x293096[_0x519acc(0x2c6)][_0x2e1303[_0x519acc(0x13e)]]:void 0x0,_0x2ffff2=this[_0x519acc(0x2a3)](_0x293096,_0x43fc56);return{'type':_0x519acc(0x289),'config':_0x2e1303,'fields':this[_0x519acc(0x168)](_0x293096,_0x43fc56),'rows':_0x2ffff2,'groups':this[_0x519acc(0x2ba)](_0x293096,_0x43fc56,_0x2ffff2),'events':_0x2ffff2[_0x519acc(0x292)](_0x25f4aa=>{const _0x169f79=_0x519acc;let _0x11bdf0=D(_0x25f4aa[_0x169f79(0x14b)][_0x2e1303[_0x169f79(0x241)]]);if(!Number['isFinite'](_0x11bdf0))return[];let _0x73e4c9=_0x25f4aa[_0x169f79(0x14b)][_0x2e1303['startDateFieldId']],_0x4be1df=_0x2e1303['endDateFieldId']==null?void 0x0:_0x25f4aa[_0x169f79(0x14b)][_0x2e1303[_0x169f79(0x13e)]],_0x111caa=_0x2e1303['endDateFieldId']==null?void 0x0:D(_0x4be1df),_0x3b8c98=Number[_0x169f79(0x2f5)](_0x111caa)?_0x111caa:void 0x0;return[{'recordId':_0x25f4aa[_0x169f79(0x36e)],'title':this[_0x169f79(0x310)](_0x293096,_0x25f4aa,_0x2e1303[_0x169f79(0x191)]),'start':_0x11bdf0,'end':_0x3b8c98,'color':this['_calendarEventColor'](_0x293096,_0x25f4aa,_0x2e1303),'startMs':_0x11bdf0,'endMs':_0x3b8c98,'allDay':this[_0x169f79(0x3d5)](_0x273193,_0x162bdc,_0x73e4c9,_0x4be1df),'fieldValues':_0x25f4aa[_0x169f79(0x14b)]}];})};}['_normalizeCalendarConfig'](_0x4fe471,_0x28c330){const _0x5a712f=_0x3ddbdb;var _0x4ce30e,_0x35fdc4;let _0x2556ee=this[_0x5a712f(0x2d4)](_0x4fe471,_0x28c330[_0x5a712f(0x241)]),_0x2adfc2=_0x28c330[_0x5a712f(0x13e)]&&this[_0x5a712f(0x185)](_0x4fe471,_0x28c330[_0x5a712f(0x13e)])?_0x28c330['endDateFieldId']:(_0x4ce30e=this[_0x5a712f(0x282)](_0x4fe471,_0x2556ee))==null?void 0x0:_0x4ce30e,_0x4c30bd=_0x28c330[_0x5a712f(0x191)]&&_0x4fe471[_0x5a712f(0x2c6)][_0x28c330[_0x5a712f(0x191)]]&&!_0x4fe471[_0x5a712f(0x2c6)][_0x28c330[_0x5a712f(0x191)]][_0x5a712f(0x2e3)]?_0x28c330['titleFieldId']:_0x4fe471[_0x5a712f(0x140)],_0x501bf3=_0x28c330[_0x5a712f(0x21e)]===_0x5a712f(0x37a)||_0x28c330[_0x5a712f(0x21e)]===_0x5a712f(0x353)?_0x28c330[_0x5a712f(0x21e)]:_0x5a712f(0x210),_0x31d78d=_0x28c330[_0x5a712f(0x355)]==='short'||_0x28c330[_0x5a712f(0x355)]===_0x5a712f(0x2d7)?_0x28c330[_0x5a712f(0x355)]:_0x5a712f(0x409),_0x5e840b=typeof _0x28c330[_0x5a712f(0x254)]==_0x5a712f(0x277)&&_0x28c330[_0x5a712f(0x254)][_0x5a712f(0x2ab)]()?_0x28c330['timeZone']:_0x5a712f(0x3e0),_0x3a7f10=this[_0x5a712f(0x295)](_0x4fe471,_0x28c330);return{..._0x28c330,'startDateFieldId':_0x2556ee,'endDateFieldId':_0x2adfc2,'titleFieldId':_0x4c30bd,'mode':_0x501bf3,'timeslotSize':_0x31d78d,'timeZone':_0x5e840b,'displayColor':_0x3a7f10,'fieldSettings':Object['fromEntries'](Object[_0x5a712f(0x291)]((_0x35fdc4=_0x28c330[_0x5a712f(0x267)])==null?{}:_0x35fdc4)['filter'](([_0x5038bd])=>{const _0x2f1e80=_0x5a712f;let _0x530733=_0x4fe471[_0x2f1e80(0x2c6)][_0x5038bd];return!!_0x530733&&!_0x530733['deleted'];}))};}[_0x3ddbdb(0x2d4)](_0x3e709c,_0x1cf5a6){const _0x23c3dc=_0x3ddbdb;var _0x41c54e,_0x3ee72d;return _0x1cf5a6&&this[_0x23c3dc(0x185)](_0x3e709c,_0x1cf5a6)?_0x1cf5a6:(_0x41c54e=(_0x3ee72d=this[_0x23c3dc(0x282)](_0x3e709c))==null?_0x1cf5a6:_0x3ee72d)==null?'':_0x41c54e;}[_0x3ddbdb(0x282)](_0x1585be,_0x5c60ae){const _0x4fc615=_0x3ddbdb;for(let _0x410b56 of _0x1585be[_0x4fc615(0x3c0)])if(_0x410b56!==_0x5c60ae&&this['_isCalendarDateField'](_0x1585be,_0x410b56))return _0x410b56;return null;}[_0x3ddbdb(0x185)](_0x186b45,_0x14928e){const _0x2ae9d4=_0x3ddbdb;let _0x2c7728=_0x186b45[_0x2ae9d4(0x2c6)][_0x14928e];return!!_0x2c7728&&!_0x2c7728[_0x2ae9d4(0x2e3)]&&_0x2c7728[_0x2ae9d4(0x22c)]===_0x2ae9d4(0x18b)&&_0x2c7728[_0x2ae9d4(0x181)]!==!0x0&&_0x2c7728[_0x2ae9d4(0x363)]!==!0x0&&this[_0x2ae9d4(0x37e)](_0x2c7728)[_0x2ae9d4(0x1b9)];}[_0x3ddbdb(0x295)](_0x1fe890,_0x4cc58a){const _0x206cf1=_0x3ddbdb;let _0x4922d8=_0x4cc58a[_0x206cf1(0x403)];if((_0x4922d8==null?void 0x0:_0x4922d8[_0x206cf1(0x22c)])==='selectField'){let _0x371c59=_0x1fe890['fields'][_0x4922d8[_0x206cf1(0x36b)]];if(_0x371c59&&!_0x371c59[_0x206cf1(0x2e3)]&&_0x371c59[_0x206cf1(0x22c)]==='singleSelect')return _0x4922d8;}if((_0x4922d8==null?void 0x0:_0x4922d8['type'])===_0x206cf1(0x3da)&&typeof _0x4922d8[_0x206cf1(0x3fa)]==_0x206cf1(0x277)&&_0x4922d8[_0x206cf1(0x3fa)]['trim']())return{'type':_0x206cf1(0x3da),'color':_0x4922d8[_0x206cf1(0x3fa)]};if(_0x4cc58a[_0x206cf1(0x2ff)]){let _0x4e84fe=_0x1fe890[_0x206cf1(0x2c6)][_0x4cc58a[_0x206cf1(0x2ff)]];if(_0x4e84fe&&!_0x4e84fe['deleted']&&_0x4e84fe[_0x206cf1(0x22c)]===_0x206cf1(0x3d6))return{'type':_0x206cf1(0x3ed),'fieldId':_0x4cc58a['colorFieldId']};}return{'type':_0x206cf1(0x3da),'color':_0x206cf1(0x311)};}[_0x3ddbdb(0x39f)](_0x31fb2b,_0x5a9409,_0x3e8b93){const _0x4c7d4b=_0x3ddbdb;let _0x512ac8=_0x3e8b93[_0x4c7d4b(0x403)];if((_0x512ac8==null?void 0x0:_0x512ac8[_0x4c7d4b(0x22c)])==='selectField'){var _0xc5b97;let _0x4128d6=_0x31fb2b[_0x4c7d4b(0x2c6)][_0x512ac8[_0x4c7d4b(0x36b)]];if(!_0x4128d6||_0x4128d6[_0x4c7d4b(0x2e3)])return;let _0x5b163d=_0x5a9409[_0x4c7d4b(0x14b)][_0x512ac8[_0x4c7d4b(0x36b)]],_0x488c85=Array[_0x4c7d4b(0x22e)](_0x5b163d)?_0x5b163d[0x0]:_0x5b163d;return _0x488c85==null||(_0xc5b97=G(_0x4128d6,String(_0x488c85)))==null?void 0x0:_0xc5b97['color'];}if((_0x512ac8==null?void 0x0:_0x512ac8['type'])===_0x4c7d4b(0x3da))return _0x512ac8['color'];}[_0x3ddbdb(0x3d5)](_0x438c9e,_0x5bf525,_0x45e647,_0x5cb93c){const _0x133520=_0x3ddbdb;var _0x5207f0,_0x181647;let _0x5bb079=((_0x5207f0=_0x438c9e['config'])==null?void 0x0:_0x5207f0[_0x133520(0x29e)])===!0x0,_0x5308df=(_0x5bf525==null||(_0x181647=_0x5bf525[_0x133520(0x367)])==null?void 0x0:_0x181647[_0x133520(0x29e)])===!0x0;return!_0x5bb079&&!_0x5308df;}[_0x3ddbdb(0x245)](_0xf2a3f4,_0x36d710){const _0x2300d8=_0x3ddbdb;var _0x94c446,_0x2b24b5;let _0x3e9523=((_0x94c446=_0xf2a3f4[_0x2300d8(0x367)])==null?void 0x0:_0x94c446[_0x2300d8(0x29e)])===!0x0,_0x15b6da=((_0x2b24b5=_0x36d710['config'])==null?void 0x0:_0x2b24b5[_0x2300d8(0x29e)])===!0x0;return!_0x3e9523&&!_0x15b6da;}['_buildGantt'](_0x213850,_0x58e3b1){const _0x3adcc8=_0x3ddbdb;let _0x481d58=this[_0x3adcc8(0x1ec)](_0x213850,_0x58e3b1[_0x3adcc8(0x367)]),_0x1964b3=_0x213850[_0x3adcc8(0x2c6)][_0x481d58[_0x3adcc8(0x241)]];if(!_0x1964b3||_0x1964b3[_0x3adcc8(0x2e3)]||_0x1964b3[_0x3adcc8(0x22c)]!==_0x3adcc8(0x18b)||_0x1964b3[_0x3adcc8(0x181)]===!0x0||_0x1964b3['system']===!0x0||!this['_capabilities'](_0x1964b3)[_0x3adcc8(0x27d)])return{'type':_0x3adcc8(0x204),'viewType':'gantt','reason':_0x3adcc8(0x40d),'fieldId':_0x481d58['startDateFieldId']};let _0x4ace19=_0x213850['fields'][_0x481d58[_0x3adcc8(0x13e)]];if(!_0x4ace19||_0x4ace19[_0x3adcc8(0x2e3)]||_0x4ace19[_0x3adcc8(0x22c)]!==_0x3adcc8(0x18b)||_0x4ace19['readonly']===!0x0||_0x4ace19[_0x3adcc8(0x363)]===!0x0||!this[_0x3adcc8(0x37e)](_0x4ace19)[_0x3adcc8(0x366)])return{'type':_0x3adcc8(0x204),'viewType':_0x3adcc8(0x388),'reason':_0x3adcc8(0x3fc),'fieldId':_0x481d58[_0x3adcc8(0x13e)]};let _0x599bbe=this[_0x3adcc8(0x245)](_0x1964b3,_0x4ace19),_0x54d874=this[_0x3adcc8(0x2a3)](_0x213850,_0x58e3b1),_0x50b179=_0x54d874[_0x3adcc8(0x292)](_0x28c428=>{const _0xbee267=_0x3adcc8;var _0x589285;let _0x3cddc4=D(_0x28c428['values'][_0x481d58['startDateFieldId']]),_0x4f6c39=D(_0x28c428[_0xbee267(0x14b)][_0x481d58[_0xbee267(0x13e)]]);if(!Number[_0xbee267(0x2f5)](_0x3cddc4)||!Number[_0xbee267(0x2f5)](_0x4f6c39))return[];let _0x335ace=Math['min'](_0x3cddc4,_0x4f6c39),_0x5016ad=Math['max'](_0x3cddc4,_0x4f6c39),_0x816823=_0x481d58[_0xbee267(0x327)]==null?void 0x0:Number(_0x28c428[_0xbee267(0x14b)][_0x481d58[_0xbee267(0x327)]]);return[{'recordId':_0x28c428[_0xbee267(0x36e)],'title':this[_0xbee267(0x310)](_0x213850,_0x28c428,_0x481d58[_0xbee267(0x191)]),'start':_0x335ace,'end':_0x5016ad,'color':this['_ganttBarColor'](_0x213850,_0x28c428,_0x481d58),'progress':Number[_0xbee267(0x2f5)](_0x816823)?_0x816823:void 0x0,'workingDayCount':_0x481d58[_0xbee267(0x3cb)]?$t(_0x335ace,_0x5016ad,_0x481d58[_0xbee267(0x2da)]):void 0x0,'dependencyRecordIds':this[_0xbee267(0x178)](_0x28c428['values'][(_0x589285=_0x481d58[_0xbee267(0x3d2)])==null?'':_0x589285])}];}),_0x587670=_0x50b179['length']?U(Math[_0x3adcc8(0x13b)](..._0x50b179[_0x3adcc8(0x423)](_0x2687c1=>_0x2687c1[_0x3adcc8(0x159)]))-0x5a*H):U(Date[_0x3adcc8(0x315)]()-0x5a*H),_0x26c013=_0x50b179[_0x3adcc8(0x29a)]?U(Math[_0x3adcc8(0x1d8)](..._0x50b179[_0x3adcc8(0x423)](_0x1399ec=>_0x1399ec['end']))+0x5b*H):U(Date[_0x3adcc8(0x315)]()+0x5b*H),_0x218794=Gt(_0x481d58[_0x3adcc8(0x30e)],_0x587670,_0x26c013,_0x481d58[_0x3adcc8(0x3cb)]?_0x481d58[_0x3adcc8(0x2da)]:void 0x0);return{'type':_0x3adcc8(0x388),'fields':this[_0x3adcc8(0x168)](_0x213850,{..._0x58e3b1,'config':_0x481d58}),'rows':_0x54d874,'groups':this[_0x3adcc8(0x2ba)](_0x213850,_0x58e3b1,_0x54d874),'config':_0x481d58,'dateRangeAllDay':_0x599bbe,'timeline':{'scale':_0x481d58[_0x3adcc8(0x30e)],'start':_0x587670,'end':_0x26c013,'unitWidth':_0x218794[_0x3adcc8(0x354)],'majorHeaders':_0x218794['majorHeaders'],'columns':_0x218794[_0x3adcc8(0x150)]},'bars':_0x50b179};}[_0x3ddbdb(0x1ec)](_0x2b0b00,_0x357330){const _0x3f6d53=_0x3ddbdb;var _0x3c6f46;let _0x59329a=this[_0x3f6d53(0x2a2)](_0x2b0b00,_0x357330[_0x3f6d53(0x241)],_0x3f6d53(0x159)),_0x4f9167=this[_0x3f6d53(0x2a2)](_0x2b0b00,_0x357330[_0x3f6d53(0x13e)],'end')||_0x59329a,_0xcb2d31=_0x357330[_0x3f6d53(0x191)]&&_0x2b0b00[_0x3f6d53(0x2c6)][_0x357330[_0x3f6d53(0x191)]]&&!_0x2b0b00[_0x3f6d53(0x2c6)][_0x357330['titleFieldId']]['deleted']?_0x357330[_0x3f6d53(0x191)]:_0x2b0b00[_0x3f6d53(0x140)],_0x1ed12e=_0x357330[_0x3f6d53(0x30e)]===_0x3f6d53(0x353)||_0x357330[_0x3f6d53(0x30e)]===_0x3f6d53(0x2bb)||_0x357330[_0x3f6d53(0x30e)]===_0x3f6d53(0x18e)?_0x357330[_0x3f6d53(0x30e)]:_0x3f6d53(0x210),_0x31f6bc=Wt(_0x357330[_0x3f6d53(0x2da)]);return{..._0x357330,'startDateFieldId':_0x59329a,'endDateFieldId':_0x4f9167,'titleFieldId':_0xcb2d31,'scale':_0x1ed12e,'leftPaneWidth':typeof _0x357330[_0x3f6d53(0x389)]==_0x3f6d53(0x424)?_0x357330[_0x3f6d53(0x389)]:void 0x0,'leftPaneCollapsed':_0x357330[_0x3f6d53(0x14c)]===!0x0,'showTodayLine':_0x357330[_0x3f6d53(0x3de)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x2b0b00,_0x357330),'fieldSettings':Object[_0x3f6d53(0x284)](Object[_0x3f6d53(0x291)]((_0x3c6f46=_0x357330['fieldSettings'])==null?{}:_0x3c6f46)['filter'](([_0x400d64])=>{const _0x1c60c7=_0x3f6d53;let _0x1d4371=_0x2b0b00[_0x1c60c7(0x2c6)][_0x400d64];return!!_0x1d4371&&!_0x1d4371[_0x1c60c7(0x2e3)];})),'workingDaysOnly':_0x357330[_0x3f6d53(0x3cb)]===!0x0,'workingDays':_0x31f6bc};}[_0x3ddbdb(0x2a2)](_0x50278d,_0x2b7575,_0x5f1e88){const _0x3f1f58=_0x3ddbdb;if(_0x2b7575&&this[_0x3f1f58(0x412)](_0x50278d,_0x2b7575,_0x5f1e88)||_0x2b7575)return _0x2b7575;for(let _0x93166b of _0x50278d[_0x3f1f58(0x3c0)])if(this[_0x3f1f58(0x412)](_0x50278d,_0x93166b,_0x5f1e88))return _0x93166b;return _0x2b7575==null?'':_0x2b7575;}[_0x3ddbdb(0x412)](_0x448c94,_0x4bff54,_0x43344a){const _0x229f14=_0x3ddbdb;let _0x39eb31=_0x448c94['fields'][_0x4bff54];if(!_0x39eb31||_0x39eb31[_0x229f14(0x2e3)]||_0x39eb31[_0x229f14(0x22c)]!==_0x229f14(0x18b)||_0x39eb31[_0x229f14(0x181)]===!0x0||_0x39eb31[_0x229f14(0x363)]===!0x0)return!0x1;let _0x2ebaaa=this[_0x229f14(0x37e)](_0x39eb31);return _0x43344a===_0x229f14(0x159)?_0x2ebaaa[_0x229f14(0x27d)]:_0x2ebaaa[_0x229f14(0x366)];}[_0x3ddbdb(0x3cc)](_0x15575f,_0x3fbba8){const _0x4db1f8=_0x3ddbdb;let _0x4ae208=_0x3fbba8[_0x4db1f8(0x403)];if((_0x4ae208==null?void 0x0:_0x4ae208[_0x4db1f8(0x22c)])===_0x4db1f8(0x3ed)){let _0x173c82=_0x15575f['fields'][_0x4ae208['fieldId']];if(_0x173c82&&!_0x173c82[_0x4db1f8(0x2e3)]&&_0x173c82['type']===_0x4db1f8(0x3d6))return _0x4ae208;}return(_0x4ae208==null?void 0x0:_0x4ae208[_0x4db1f8(0x22c)])===_0x4db1f8(0x42a)&&Array['isArray'](_0x4ae208[_0x4db1f8(0x1f3)])?{'type':'conditional','rules':_0x4ae208[_0x4db1f8(0x1f3)][_0x4db1f8(0x1c1)](_0x209623=>{const _0x1124c5=_0x4db1f8;let _0x512be4=_0x15575f[_0x1124c5(0x2c6)][_0x209623['fieldId']];return!!_0x512be4&&!_0x512be4[_0x1124c5(0x2e3)];})}:(_0x4ae208==null?void 0x0:_0x4ae208[_0x4db1f8(0x22c)])===_0x4db1f8(0x3da)&&typeof _0x4ae208[_0x4db1f8(0x3fa)]=='string'&&_0x4ae208[_0x4db1f8(0x3fa)]['trim']()?{'type':_0x4db1f8(0x3da),'color':_0x4ae208[_0x4db1f8(0x3fa)]}:{'type':_0x4db1f8(0x3da),'color':'#14b8a6'};}[_0x3ddbdb(0x275)](_0x30d5c4,_0x21f66f,_0x27e16b){const _0x3d7a41=_0x3ddbdb;let _0xe96b40=_0x27e16b[_0x3d7a41(0x403)];if((_0xe96b40==null?void 0x0:_0xe96b40['type'])==='conditional'){let _0x21bc23=_0xe96b40[_0x3d7a41(0x1f3)]['find'](_0x520b0e=>this['_matchesGanttColorRule'](_0x30d5c4,_0x21f66f,_0x520b0e));if(_0x21bc23)return _0x21bc23[_0x3d7a41(0x3fa)];}if((_0xe96b40==null?void 0x0:_0xe96b40['type'])===_0x3d7a41(0x3ed)){let _0x479a9b=_0x30d5c4[_0x3d7a41(0x2c6)][_0xe96b40[_0x3d7a41(0x36b)]];if(_0x479a9b&&!_0x479a9b[_0x3d7a41(0x2e3)]){var _0x268f47;let _0x3d32bc=_0x21f66f[_0x3d7a41(0x14b)][_0xe96b40[_0x3d7a41(0x36b)]],_0x87a18f=Array[_0x3d7a41(0x22e)](_0x3d32bc)?_0x3d32bc[0x0]:_0x3d32bc,_0x291bf7=_0x87a18f==null||(_0x268f47=G(_0x479a9b,String(_0x87a18f)))==null?void 0x0:_0x268f47['color'];if(_0x291bf7)return _0x291bf7;}}return(_0xe96b40==null?void 0x0:_0xe96b40[_0x3d7a41(0x22c)])===_0x3d7a41(0x3da)?_0xe96b40[_0x3d7a41(0x3fa)]:'#14b8a6';}[_0x3ddbdb(0x1c7)](_0x3a5035,_0x3a6993,_0x347584){const _0x3027eb=_0x3ddbdb;let _0x1137b9=_0x3a5035[_0x3027eb(0x2c6)][_0x347584[_0x3027eb(0x36b)]];return!_0x1137b9||_0x1137b9['deleted']?!0x1:Le(_0x3a6993[_0x3027eb(0x14b)][_0x1137b9['id']],_0x347584[_0x3027eb(0x2d6)],_0x347584[_0x3027eb(0x273)],_0x1137b9,{'dateMode':_0x347584[_0x3027eb(0x30c)]});}[_0x3ddbdb(0x2e8)](_0x57e369,_0x339903){const _0x3760b5=_0x3ddbdb;var _0x13c00e,_0xfc4dc3,_0xdf6430;let _0xb30950=this['_projectRows'](_0x57e369,_0x339903),_0x267fb4=this[_0x3760b5(0x219)](_0x57e369,(_0x13c00e=_0x339903[_0x3760b5(0x367)])==null?{}:_0x13c00e);return{'type':_0x3760b5(0x3fb),'fields':this[_0x3760b5(0x168)](_0x57e369,_0x339903),'rows':_0xb30950,'groups':this['_projectGroups'](_0x57e369,_0x339903,_0xb30950),'coverFieldId':_0x267fb4[_0x3760b5(0x246)],'cardLayout':(_0xfc4dc3=_0x267fb4[_0x3760b5(0x15f)])==null?_0x3760b5(0x279):_0xfc4dc3,'showFieldNames':_0x267fb4[_0x3760b5(0x42b)]!==!0x1,'visibleCardFieldIds':this[_0x3760b5(0x23b)](_0x57e369,_0x339903,_0x267fb4),'cardSize':(_0xdf6430=_0x267fb4['cardSize'])==null?_0x3760b5(0x409):_0xdf6430,'cards':_0xb30950[_0x3760b5(0x423)](_0xa90652=>({'recordId':_0xa90652[_0x3760b5(0x36e)],'title':this['_title'](_0x57e369,_0xa90652,_0x267fb4['card'][_0x3760b5(0x191)]),'values':_0xa90652['values']}))};}[_0x3ddbdb(0x219)](_0x52c99f,_0x3d1898){const _0x1a36c5=_0x3ddbdb;var _0x144e3b,_0x5385ea;let _0x465e5b=(_0x144e3b=_0x3d1898[_0x1a36c5(0x3a5)])==null?{'fieldIds':[]}:_0x144e3b,_0x4e61b3=_0x465e5b[_0x1a36c5(0x191)]&&_0x52c99f[_0x1a36c5(0x2c6)][_0x465e5b[_0x1a36c5(0x191)]]&&!_0x52c99f[_0x1a36c5(0x2c6)][_0x465e5b['titleFieldId']][_0x1a36c5(0x2e3)]?_0x465e5b[_0x1a36c5(0x191)]:kt(_0x52c99f),_0x168f3a=this[_0x1a36c5(0x302)](_0x52c99f,_0x3d1898),_0x39d8fb=_0x3d1898[_0x1a36c5(0x324)]===_0x1a36c5(0x1ae)||_0x3d1898[_0x1a36c5(0x324)]==='large'?_0x3d1898[_0x1a36c5(0x324)]:'medium';return{..._0x3d1898,'coverFieldId':_0x168f3a,'cardLayout':_0x3d1898[_0x1a36c5(0x15f)]===_0x1a36c5(0x16b)?'compose':_0x1a36c5(0x279),'showFieldNames':_0x3d1898[_0x1a36c5(0x42b)]!==!0x1,'fieldSettings':Object[_0x1a36c5(0x284)](Object[_0x1a36c5(0x291)]((_0x5385ea=_0x3d1898['fieldSettings'])==null?{}:_0x5385ea)[_0x1a36c5(0x1c1)](([_0x335545])=>{const _0x2ee3f2=_0x1a36c5;let _0x17ea9d=_0x52c99f[_0x2ee3f2(0x2c6)][_0x335545];return!!_0x17ea9d&&!_0x17ea9d[_0x2ee3f2(0x2e3)];})),'card':{..._0x465e5b,'titleFieldId':_0x4e61b3,'coverFieldId':_0x168f3a,'fieldIds':Array['isArray'](_0x465e5b[_0x1a36c5(0x35b)])?_0x465e5b[_0x1a36c5(0x35b)]:[]},'cardSize':_0x39d8fb};}[_0x3ddbdb(0x302)](_0x54b3ef,_0x33e213){const _0x15553a=_0x3ddbdb;var _0x2a5546,_0x38dc56,_0x32ebc8;let _0x23dd38=(_0x2a5546=(_0x38dc56=_0x33e213[_0x15553a(0x246)])==null?(_0x32ebc8=_0x33e213[_0x15553a(0x3a5)])==null?void 0x0:_0x32ebc8[_0x15553a(0x246)]:_0x38dc56)==null?null:_0x2a5546;if(!_0x23dd38)return null;let _0x4eee1f=_0x54b3ef[_0x15553a(0x2c6)][_0x23dd38];return _0x4eee1f&&!_0x4eee1f[_0x15553a(0x2e3)]&&this[_0x15553a(0x37e)](_0x4eee1f)[_0x15553a(0x2fd)]?_0x4eee1f['id']:null;}[_0x3ddbdb(0x23b)](_0x583d73,_0x52beea,_0x115dc9){const _0x455854=_0x3ddbdb;var _0x1fa0ac,_0x6417d8,_0x2196f8,_0x261b39,_0x7677da,_0x3cc6ec,_0x942797;let _0x13ed51=(_0x1fa0ac=_0x115dc9[_0x455854(0x267)])==null?{}:_0x1fa0ac,_0x57ba1f=(_0x6417d8=(_0x2196f8=_0x115dc9[_0x455854(0x3a5)])==null?void 0x0:_0x2196f8[_0x455854(0x191)])==null?kt(_0x583d73):_0x6417d8,_0x210f7b=(_0x261b39=(_0x7677da=_0x115dc9[_0x455854(0x246)])==null?(_0x3cc6ec=_0x115dc9[_0x455854(0x3a5)])==null?void 0x0:_0x3cc6ec[_0x455854(0x246)]:_0x7677da)==null?null:_0x261b39,_0xd13c78=!((_0x942797=_0x115dc9['card'])==null||(_0x942797=_0x942797[_0x455854(0x35b)])==null)&&_0x942797['length']?_0x115dc9['card'][_0x455854(0x35b)]:V(_0x583d73,[_0x57ba1f,_0x210f7b,_0x583d73[_0x455854(0x140)]]);return _0xd13c78[_0x455854(0x1c1)](_0xe3caec=>{const _0x53af71=_0x455854;var _0x5be8ea,_0x5d7077;let _0x2bd0a4=_0x583d73[_0x53af71(0x2c6)][_0xe3caec];return!(!_0x2bd0a4||_0x2bd0a4[_0x53af71(0x2e3)]||_0x2bd0a4['id']===_0x57ba1f||_0x2bd0a4['id']===_0x210f7b||!((_0x5be8ea=_0x52beea['fieldSettings'])==null||(_0x5be8ea=_0x5be8ea[_0xe3caec])==null)&&_0x5be8ea[_0x53af71(0x349)]||(_0x5d7077=_0x13ed51[_0xe3caec])!=null&&_0x5d7077[_0x53af71(0x349)]);})[_0x455854(0x1b3)]((_0xdd71e9,_0x460732)=>{const _0x1f4cd9=_0x455854;var _0x812760,_0x462a2b,_0x338588,_0x2a7de8;return((_0x812760=(_0x462a2b=_0x13ed51[_0xdd71e9])==null?void 0x0:_0x462a2b[_0x1f4cd9(0x352)])==null?_0xd13c78[_0x1f4cd9(0x3a6)](_0xdd71e9):_0x812760)-((_0x338588=(_0x2a7de8=_0x13ed51[_0x460732])==null?void 0x0:_0x2a7de8[_0x1f4cd9(0x352)])==null?_0xd13c78['indexOf'](_0x460732):_0x338588);});}[_0x3ddbdb(0x168)](_0x164e88,_0x25ce3b){const _0x42572d=_0x3ddbdb;var _0x2fe190;return((_0x2fe190=_0x25ce3b['fieldOrder'])!=null&&_0x2fe190[_0x42572d(0x29a)]?_0x25ce3b[_0x42572d(0x3c0)]:_0x164e88[_0x42572d(0x3c0)])[_0x42572d(0x292)](_0x2675d2=>{const _0x4f7437=_0x42572d;var _0x3dca1b,_0x5839e4;let _0xe28c34=_0x164e88[_0x4f7437(0x2c6)][_0x2675d2],_0x4df399=(_0x3dca1b=(_0x5839e4=_0x25ce3b[_0x4f7437(0x267)])==null?void 0x0:_0x5839e4[_0x2675d2])==null?{}:_0x3dca1b;return!_0xe28c34||_0xe28c34[_0x4f7437(0x2e3)]||_0x4df399[_0x4f7437(0x349)]?[]:[{'id':_0xe28c34['id'],'name':_0xe28c34[_0x4f7437(0x1a6)],'description':_0xe28c34[_0x4f7437(0x2bd)],'type':_0xe28c34[_0x4f7437(0x22c)],'config':_0xe28c34[_0x4f7437(0x367)],'width':_0x4df399[_0x4f7437(0x271)],'setting':_0x4df399}];});}[_0x3ddbdb(0x2a3)](_0x3b46de,_0x2a1e76){const _0x31d407=_0x3ddbdb;var _0x31403d,_0x5cdbc0,_0x3f94ed;return o(_0x31d407(0x18c),()=>{const _0x4eb215=_0x31d407;var _0x4ffd2a,_0x554db0,_0x34fade,_0x4ca7ad;let _0x167671=this['_projectTableRows'](_0x3b46de),_0x525d91=this[_0x4eb215(0x3ec)](_0x3b46de['id'],_0x2a1e76),_0x247d23=this[_0x4eb215(0x3e2)](_0x3b46de['id']),_0x39037a=this[_0x4eb215(0x2de)][_0x4eb215(0x1d9)](_0x525d91);if(_0x39037a&&_0x39037a['globalRevision']===this[_0x4eb215(0x38d)]&&_0x39037a[_0x4eb215(0x22f)]===this[_0x4eb215(0x1d3)](_0x3b46de['id'])){if(_0x39037a[_0x4eb215(0x3c3)]===_0x247d23&&_0x39037a['baseRows']===_0x167671)return _0x39037a[_0x4eb215(0x3d7)];if(_0x39037a['cellRevision']!==_0x247d23&&!this[_0x4eb215(0x1c6)](_0x3b46de['id'],_0x39037a[_0x4eb215(0x3c3)],_0x247d23,this[_0x4eb215(0x317)](_0x2a1e76))){let _0x47667c=_0x39037a[_0x4eb215(0x3d7)]===_0x39037a[_0x4eb215(0x1b0)]?_0x167671:this[_0x4eb215(0x3f4)](_0x39037a[_0x4eb215(0x3d7)],_0x167671);if(_0x47667c)return this['_projectedViewRowsCache'][_0x4eb215(0x12d)](_0x525d91,{..._0x39037a,'rows':_0x47667c,'baseRows':_0x167671,'cellRevision':_0x247d23}),_0x47667c;}}let _0x166d2f=o(_0x4eb215(0x205),()=>this['_sortRows'](_0x3b46de,_0x2a1e76,this['_filterRows'](_0x3b46de,_0x2a1e76,_0x167671)),{'tableId':_0x3b46de['id'],'viewId':_0x2a1e76==null?void 0x0:_0x2a1e76['id'],'viewType':_0x2a1e76==null?void 0x0:_0x2a1e76['type'],'rows':_0x167671[_0x4eb215(0x29a)],'filters':(_0x4ffd2a=_0x2a1e76==null||(_0x554db0=_0x2a1e76[_0x4eb215(0x1c1)])==null?void 0x0:_0x554db0[_0x4eb215(0x134)]['length'])==null?0x0:_0x4ffd2a,'sorts':(_0x34fade=_0x2a1e76==null||(_0x4ca7ad=_0x2a1e76['sort'])==null?void 0x0:_0x4ca7ad[_0x4eb215(0x29a)])==null?0x0:_0x34fade});return this[_0x4eb215(0x2de)]['set'](_0x525d91,{'table':_0x3b46de,'rows':_0x166d2f,'baseRows':_0x167671,'globalRevision':this[_0x4eb215(0x38d)],'tableRevision':this[_0x4eb215(0x1d3)](_0x3b46de['id']),'cellRevision':_0x247d23}),_0x166d2f;},{'tableId':_0x3b46de['id'],'viewId':_0x2a1e76==null?void 0x0:_0x2a1e76['id'],'viewType':_0x2a1e76==null?void 0x0:_0x2a1e76[_0x31d407(0x22c)],'records':(_0x31403d=(_0x5cdbc0=_0x3b46de['recordOrder'])==null?void 0x0:_0x5cdbc0[_0x31d407(0x29a)])==null?Object[_0x31d407(0x337)]((_0x3f94ed=_0x3b46de[_0x31d407(0x296)])==null?{}:_0x3f94ed)[_0x31d407(0x29a)]:_0x31403d});}[_0x3ddbdb(0x25c)](_0x343d9e){const _0x3c27a6=_0x3ddbdb;var _0x115f4e,_0x3bffe6,_0x3c1a8b;return o('BaseProjection.projectTableRows',()=>{const _0x8801bc=_0x4f49;var _0x337fed;let _0x3da688=this['_getCellRevision'](_0x343d9e['id']),_0x2723b6=this[_0x8801bc(0x208)][_0x8801bc(0x1d9)](_0x343d9e['id']);if(_0x2723b6&&_0x2723b6[_0x8801bc(0x3c1)]===this[_0x8801bc(0x38d)]&&_0x2723b6[_0x8801bc(0x22f)]===this[_0x8801bc(0x1d3)](_0x343d9e['id'])){if(_0x2723b6['cellRevision']===_0x3da688&&_0x2723b6[_0x8801bc(0x2c0)]===_0x343d9e)return _0x2723b6[_0x8801bc(0x3d7)];let _0xb2dcab=this[_0x8801bc(0x331)](_0x343d9e,_0x2723b6,_0x3da688);if(_0xb2dcab)return _0xb2dcab;}Bt(_0x343d9e)||f(_0x343d9e);let _0x3d8fad=(_0x337fed=_0x343d9e[_0x8801bc(0x188)])!=null&&_0x337fed[_0x8801bc(0x29a)]?_0x343d9e[_0x8801bc(0x188)]:Object[_0x8801bc(0x14b)](_0x343d9e[_0x8801bc(0x296)])['sort']((_0x45adff,_0x17ca16)=>_0x45adff[_0x8801bc(0x3ee)][_0x8801bc(0x334)](_0x17ca16[_0x8801bc(0x3ee)]))[_0x8801bc(0x423)](_0x3ce61e=>_0x3ce61e['id']),_0x46c474=o(_0x8801bc(0x398),()=>_0x3d8fad['map'](_0x3b3b9b=>_0x343d9e['records'][_0x3b3b9b])[_0x8801bc(0x1c1)](_0x3925a9=>!!_0x3925a9)['filter'](_0x183501=>!_0x183501['deleted'])[_0x8801bc(0x423)](_0x560852=>{const _0x5a3e0a=_0x8801bc;let _0x485c4e={};for(let _0x40628e of _0x343d9e[_0x5a3e0a(0x3c0)])_0x485c4e[_0x40628e]=v(_0x343d9e,_0x560852['id'],_0x40628e);return{'recordId':_0x560852['id'],'values':_0x485c4e};}),{'tableId':_0x343d9e['id'],'records':_0x3d8fad[_0x8801bc(0x29a)],'fields':_0x343d9e['fieldOrder'][_0x8801bc(0x29a)]});return this[_0x8801bc(0x208)][_0x8801bc(0x12d)](_0x343d9e['id'],{'table':_0x343d9e,'rows':_0x46c474,'rowIndexById':zt(_0x46c474),'globalRevision':this[_0x8801bc(0x38d)],'tableRevision':this[_0x8801bc(0x1d3)](_0x343d9e['id']),'cellRevision':_0x3da688}),_0x46c474;},{'tableId':_0x343d9e['id'],'records':(_0x115f4e=(_0x3bffe6=_0x343d9e[_0x3c27a6(0x188)])==null?void 0x0:_0x3bffe6[_0x3c27a6(0x29a)])==null?Object['keys']((_0x3c1a8b=_0x343d9e[_0x3c27a6(0x296)])==null?{}:_0x3c1a8b)[_0x3c27a6(0x29a)]:_0x115f4e,'fields':_0x343d9e['fieldOrder'][_0x3c27a6(0x29a)]});}['_patchProjectedRowsForCellInvalidations'](_0x167fb0,_0x5c3b56,_0x35a864){const _0x5dab43=_0x3ddbdb;var _0x240a3c,_0x226613;let _0x1fb76a=((_0x240a3c=this[_0x5dab43(0x29c)][_0x5dab43(0x1d9)](_0x167fb0['id']))==null?[]:_0x240a3c)[_0x5dab43(0x1c1)](_0x2232c0=>_0x2232c0[_0x5dab43(0x32e)]>_0x5c3b56['cellRevision']&&_0x2232c0[_0x5dab43(0x32e)]<=_0x35a864);if(!_0x1fb76a['length'])return _0x5c3b56[_0x5dab43(0x2c0)]===_0x167fb0?_0x5c3b56[_0x5dab43(0x3d7)]:null;let _0x3b2f7b=_0x5c3b56[_0x5dab43(0x3d7)],_0x2c9f75=new Map();for(let _0x54aaf4 of _0x1fb76a){let _0x2ff8f0=_0x2c9f75[_0x5dab43(0x1d9)](_0x54aaf4[_0x5dab43(0x36e)]);_0x2ff8f0||(_0x2ff8f0=new Set(),_0x2c9f75[_0x5dab43(0x12d)](_0x54aaf4['recordId'],_0x2ff8f0)),_0x2ff8f0['add'](_0x54aaf4[_0x5dab43(0x36b)]);}for(let [_0x1d69b5,_0x5e93a1]of _0x2c9f75){let _0x213dfa=_0x167fb0[_0x5dab43(0x296)][_0x1d69b5];if(!_0x213dfa||_0x213dfa[_0x5dab43(0x2e3)])return null;let _0x23b77b=_0x5c3b56['rowIndexById'][_0x5dab43(0x1d9)](_0x1d69b5);if(_0x23b77b==null)return null;_0x3b2f7b===_0x5c3b56[_0x5dab43(0x3d7)]&&(_0x3b2f7b=[..._0x5c3b56[_0x5dab43(0x3d7)]]);let _0x40ccc4=_0x3b2f7b[_0x23b77b],_0x1735ee={..._0x40ccc4[_0x5dab43(0x14b)]};_0x5e93a1[_0x5dab43(0x18f)](_0x22a4ed=>{_0x1735ee[_0x22a4ed]=v(_0x167fb0,_0x1d69b5,_0x22a4ed);}),_0x3b2f7b[_0x23b77b]={..._0x40ccc4,'values':_0x1735ee};}let _0x58d4dd={'table':_0x167fb0,'rows':_0x3b2f7b,'rowIndexById':_0x5c3b56[_0x5dab43(0x2fc)],'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x167fb0['id']),'cellRevision':_0x35a864};return this[_0x5dab43(0x208)]['set'](_0x167fb0['id'],_0x58d4dd),this[_0x5dab43(0x29c)]['set'](_0x167fb0['id'],((_0x226613=this['_cellInvalidations'][_0x5dab43(0x1d9)](_0x167fb0['id']))==null?[]:_0x226613)[_0x5dab43(0x1c1)](_0x2cd4b2=>_0x2cd4b2[_0x5dab43(0x32e)]>Math[_0x5dab43(0x1d8)](0x0,_0x35a864-0x100))),_0x3b2f7b;}[_0x3ddbdb(0x3f4)](_0x38fec0,_0x406d71){const _0x920df0=_0x3ddbdb;let _0x1c19cc=new Map(_0x406d71['map'](_0x1c6054=>[_0x1c6054['recordId'],_0x1c6054])),_0x1341d1=!0x1,_0x371f33=_0x38fec0[_0x920df0(0x423)](_0x434acf=>{const _0x4d1309=_0x920df0;let _0x455e3b=_0x1c19cc[_0x4d1309(0x1d9)](_0x434acf['recordId']);return _0x455e3b?_0x455e3b===_0x434acf?_0x434acf:(_0x1341d1=!0x0,_0x455e3b):_0x434acf;});return _0x1341d1?_0x371f33:_0x38fec0;}[_0x3ddbdb(0x1c6)](_0x4d9d8f,_0x1d88ea,_0x393cbe,_0x5bb505){const _0x44313a=_0x3ddbdb;var _0x1dd314;return!_0x5bb505['size']||_0x1d88ea===_0x393cbe?!0x1:_0x393cbe-_0x1d88ea>0x100?!0x0:((_0x1dd314=this[_0x44313a(0x29c)][_0x44313a(0x1d9)](_0x4d9d8f))==null?[]:_0x1dd314)[_0x44313a(0x333)](_0x49dca4=>_0x49dca4['revision']>_0x1d88ea&&_0x49dca4[_0x44313a(0x32e)]<=_0x393cbe&&_0x5bb505['has'](_0x49dca4['fieldId']));}[_0x3ddbdb(0x317)](_0x346f5c){const _0x40a606=_0x3ddbdb;var _0x5441e6,_0x5cd7fc;let _0x4da32e=new Set();return _0x346f5c==null||(_0x5441e6=_0x346f5c[_0x40a606(0x1c1)])==null||_0x5441e6['conditions'][_0x40a606(0x18f)](_0x2fa2d3=>_0x4da32e[_0x40a606(0x255)](_0x2fa2d3[_0x40a606(0x36b)])),_0x346f5c==null||(_0x5cd7fc=_0x346f5c[_0x40a606(0x1b3)])==null||_0x5cd7fc[_0x40a606(0x18f)](_0x6e129e=>_0x4da32e[_0x40a606(0x255)](_0x6e129e[_0x40a606(0x36b)])),_0x4da32e;}[_0x3ddbdb(0x2fe)](_0x4c6235){const _0x579fb9=_0x3ddbdb;var _0x3a0aac;let _0xbdc0d9=this['_filterSortFieldIds'](_0x4c6235);return(_0x3a0aac=_0x4c6235[_0x579fb9(0x40e)])==null||_0x3a0aac[_0x579fb9(0x18f)](_0x1bae0=>_0xbdc0d9[_0x579fb9(0x255)](_0x1bae0['fieldId'])),_0xbdc0d9;}['_filterRows'](_0x3241e4,_0x4120f3,_0x553976){const _0x30796f=_0x3ddbdb;let _0x155d86=_0x4120f3==null?void 0x0:_0x4120f3[_0x30796f(0x1c1)];if(!(_0x155d86!=null&&_0x155d86[_0x30796f(0x134)][_0x30796f(0x29a)]))return _0x553976;let _0x4971d8=_0x155d86[_0x30796f(0x134)][_0x30796f(0x1c1)](_0x199451=>!un(_0x199451));return _0x4971d8[_0x30796f(0x29a)]?_0x553976['filter'](_0x924612=>{const _0x37d3b3=_0x30796f;if(_0x155d86['conjunction']==='or'){for(let _0x1a10a3 of _0x4971d8){let _0x18c71a=_0x3241e4[_0x37d3b3(0x2c6)][_0x1a10a3[_0x37d3b3(0x36b)]];if(!_0x18c71a||_0x18c71a['deleted']||this[_0x37d3b3(0x313)]['get'](_0x18c71a['type'])[_0x37d3b3(0x1c1)](_0x924612[_0x37d3b3(0x14b)][_0x18c71a['id']],_0x1a10a3[_0x37d3b3(0x2d6)],_0x1a10a3[_0x37d3b3(0x273)],_0x18c71a))return!0x0;}return!0x1;}for(let _0x2c3b67 of _0x4971d8){let _0x14a787=_0x3241e4[_0x37d3b3(0x2c6)][_0x2c3b67[_0x37d3b3(0x36b)]];if(!(!_0x14a787||_0x14a787[_0x37d3b3(0x2e3)])&&!this['_fieldRegistry'][_0x37d3b3(0x1d9)](_0x14a787[_0x37d3b3(0x22c)])[_0x37d3b3(0x1c1)](_0x924612[_0x37d3b3(0x14b)][_0x14a787['id']],_0x2c3b67[_0x37d3b3(0x2d6)],_0x2c3b67[_0x37d3b3(0x273)],_0x14a787))return!0x1;}return!0x0;}):_0x553976;}[_0x3ddbdb(0x396)](_0x493981,_0x4efbfe,_0x5cb0bb){const _0x4df3f6=_0x3ddbdb;var _0x272c99;let _0x31f75a=(_0x272c99=_0x4efbfe==null?void 0x0:_0x4efbfe[_0x4df3f6(0x1b3)])==null?[]:_0x272c99;if(!_0x31f75a[_0x4df3f6(0x29a)])return _0x5cb0bb;let _0x18f130=_0x31f75a[_0x4df3f6(0x292)](_0x19f9ce=>{const _0x560f7c=_0x4df3f6;let _0xc5bb6f=_0x493981[_0x560f7c(0x2c6)][_0x19f9ce['fieldId']];return _0xc5bb6f&&!_0xc5bb6f[_0x560f7c(0x2e3)]?[{..._0x19f9ce,'field':_0xc5bb6f}]:[];});return _0x18f130['length']?this[_0x4df3f6(0x39e)](_0x18f130)?this['_fastSortRows'](_0x18f130,_0x5cb0bb):[..._0x5cb0bb][_0x4df3f6(0x1b3)]((_0x402839,_0x30a6b0)=>{const _0xa31cc1=_0x4df3f6;for(let _0x30b2a4 of _0x18f130){let _0x1c67a9=_0x30b2a4[_0xa31cc1(0x3cd)],_0xb9bdcb=this[_0xa31cc1(0x313)][_0xa31cc1(0x1d9)](_0x1c67a9['type'])['compare'](_0x402839[_0xa31cc1(0x14b)][_0x1c67a9['id']],_0x30a6b0['values'][_0x1c67a9['id']],_0x1c67a9);if(_0xb9bdcb!==0x0)return _0x30b2a4[_0xa31cc1(0x1cb)]===_0xa31cc1(0x41b)?-_0xb9bdcb:_0xb9bdcb;}return 0x0;}):_0x5cb0bb;}['_canUseFastSort'](_0x431074){const _0x33184d=_0x3ddbdb;return _0x431074[_0x33184d(0x174)](_0x11c133=>It[_0x33184d(0x1d1)](_0x11c133[_0x33184d(0x3cd)]['type']));}[_0x3ddbdb(0x236)](_0x531d24,_0x3ffbd5){const _0x34ab63=_0x3ddbdb;return _0x3ffbd5[_0x34ab63(0x423)]((_0x57ce58,_0x4997aa)=>({'row':_0x57ce58,'index':_0x4997aa,'keys':_0x531d24['map'](_0xad1bfc=>_0x57ce58[_0x34ab63(0x14b)][_0xad1bfc[_0x34ab63(0x36b)]])}))[_0x34ab63(0x1b3)]((_0x2d4ec8,_0x30481c)=>{const _0x5bb78d=_0x34ab63;for(let _0x1e398a=0x0;_0x1e398a<_0x531d24[_0x5bb78d(0x29a)];_0x1e398a++){let _0x2f1931=ln(_0x2d4ec8[_0x5bb78d(0x337)][_0x1e398a],_0x30481c[_0x5bb78d(0x337)][_0x1e398a]);if(_0x2f1931!==0x0)return _0x531d24[_0x1e398a]['direction']===_0x5bb78d(0x41b)?-_0x2f1931:_0x2f1931;}return _0x2d4ec8[_0x5bb78d(0x41d)]-_0x30481c[_0x5bb78d(0x41d)];})[_0x34ab63(0x423)](_0x16acd8=>_0x16acd8['row']);}[_0x3ddbdb(0x2ba)](_0xa5d896,_0x489bc2,_0x5604f4){const _0x5399b8=_0x3ddbdb;var _0x288bd6,_0x582d17;return o(_0x5399b8(0x2fb),()=>{const _0x39c705=_0x5399b8;var _0x5c9891;if(!((_0x5c9891=_0x489bc2[_0x39c705(0x40e)])!=null&&_0x5c9891['length']))return[];let _0x2e2226=_0x489bc2[_0x39c705(0x40e)]['filter'](_0x52c1fb=>{const _0x1d3811=_0x39c705;let _0x503fa5=_0xa5d896[_0x1d3811(0x2c6)][_0x52c1fb[_0x1d3811(0x36b)]];return _0x503fa5&&!_0x503fa5['deleted'];});if(!_0x2e2226['length'])return[];let _0x49a64b=this['_groupsCacheKey'](_0xa5d896['id'],_0x489bc2,_0x2e2226),_0x22e143=this[_0x39c705(0x3e2)](_0xa5d896['id']),_0xaab755=this[_0x39c705(0x1d7)][_0x39c705(0x1d9)](_0x49a64b);if(_0xaab755&&_0xaab755['globalRevision']===this['_globalRevision']&&_0xaab755['tableRevision']===this[_0x39c705(0x1d3)](_0xa5d896['id'])){if(_0xaab755[_0x39c705(0x3c3)]===_0x22e143&&_0xaab755[_0x39c705(0x3d7)]===_0x5604f4)return _0xaab755[_0x39c705(0x416)];if(_0xaab755[_0x39c705(0x3c3)]!==_0x22e143&&!this['_cellInvalidationsTouchFields'](_0xa5d896['id'],_0xaab755[_0x39c705(0x3c3)],_0x22e143,this[_0x39c705(0x2fe)](_0x489bc2)))return this[_0x39c705(0x1d7)]['set'](_0x49a64b,{..._0xaab755,'rows':_0x5604f4,'cellRevision':_0x22e143}),_0xaab755[_0x39c705(0x416)];}let _0xed96f5=new Map();for(let _0x286b5d of _0x5604f4){let _0x3b3ac2=_0xed96f5,_0x5197de='';for(let _0x276db1=0x0;_0x276db1<_0x2e2226[_0x39c705(0x29a)];_0x276db1++){let _0x1c1b8a=_0x2e2226[_0x276db1],_0xe79ee9=_0x286b5d['values'][_0x1c1b8a[_0x39c705(0x36b)]],_0x488b66=Rt(_0xe79ee9),_0x11d2fd=_0x1c1b8a[_0x39c705(0x36b)]+'\x00'+_0x488b66,_0x4655a0=_0x5197de+'/'+_0x1c1b8a[_0x39c705(0x36b)]+':'+_0x488b66,_0xf7af2d=_0x3b3ac2[_0x39c705(0x1d9)](_0x11d2fd);_0xf7af2d||(_0xf7af2d={'key':_0x488b66,'value':_0xe79ee9,'path':_0x4655a0,'label':_0x488b66||_0x39c705(0x1ed),'fieldId':_0x1c1b8a[_0x39c705(0x36b)],'level':_0x276db1,'recordIds':[],'children':new Map()},_0x3b3ac2['set'](_0x11d2fd,_0xf7af2d)),_0xf7af2d[_0x39c705(0x419)][_0x39c705(0x39b)](_0x286b5d[_0x39c705(0x36e)]),_0x3b3ac2=_0xf7af2d['children'],_0x5197de=_0x4655a0;}}let _0x3ccc31=this['_materializeGroups'](_0x2e2226,_0xed96f5,0x0);return this[_0x39c705(0x1d7)][_0x39c705(0x12d)](_0x49a64b,{'table':_0xa5d896,'rows':_0x5604f4,'groups':_0x3ccc31,'globalRevision':this[_0x39c705(0x38d)],'tableRevision':this[_0x39c705(0x1d3)](_0xa5d896['id']),'cellRevision':_0x22e143}),_0x3ccc31;},{'tableId':_0xa5d896['id'],'viewId':_0x489bc2['id'],'viewType':_0x489bc2[_0x5399b8(0x22c)],'rows':_0x5604f4[_0x5399b8(0x29a)],'groupFields':(_0x288bd6=(_0x582d17=_0x489bc2['group'])==null?void 0x0:_0x582d17[_0x5399b8(0x29a)])==null?0x0:_0x288bd6});}[_0x3ddbdb(0x2b6)](_0x571c1a,_0x2f0400,_0x32ca82){const _0x28afdb=_0x3ddbdb;var _0x38c452;let _0x3476d7=Array['from'](_0x2f0400[_0x28afdb(0x14b)]()),_0x157e04=(_0x38c452=_0x571c1a[_0x32ca82])==null?void 0x0:_0x38c452[_0x28afdb(0x1cb)];return _0x157e04&&_0x3476d7[_0x28afdb(0x1b3)]((_0x48ff6b,_0xdaf6cb)=>{const _0x307eb3=_0x28afdb;let _0x4de14b=_0x48ff6b[_0x307eb3(0x16d)][_0x307eb3(0x334)](_0xdaf6cb['key']);return _0x157e04===_0x307eb3(0x41b)?-_0x4de14b:_0x4de14b;}),_0x3476d7[_0x28afdb(0x423)](_0x2c206c=>({'key':_0x2c206c[_0x28afdb(0x16d)],'value':_0x2c206c[_0x28afdb(0x3ad)],'path':_0x2c206c[_0x28afdb(0x1fa)],'label':_0x2c206c[_0x28afdb(0x332)],'fieldId':_0x2c206c[_0x28afdb(0x36b)],'level':_0x2c206c['level'],'recordIds':_0x2c206c['recordIds'],'children':this[_0x28afdb(0x2b6)](_0x571c1a,_0x2c206c[_0x28afdb(0x25d)],_0x32ca82+0x1)}));}[_0x3ddbdb(0x310)](_0x2b2e7f,_0x4cda97,_0x259f1b){const _0x5bf003=_0x3ddbdb;let _0x2114ff=_0x259f1b==null?_0x2b2e7f[_0x5bf003(0x140)]:_0x259f1b,_0x719cb5=_0x4cda97[_0x5bf003(0x14b)][_0x2114ff];return _0x719cb5==null?'':String(_0x719cb5);}['_recordIds'](_0x47f193){const _0x2b7bea=_0x3ddbdb;if(Array[_0x2b7bea(0x22e)](_0x47f193))return _0x47f193[_0x2b7bea(0x423)](String);if(typeof _0x47f193=='string'&&_0x47f193)return[_0x47f193];}[_0x3ddbdb(0x37e)](_0x317330){const _0x209f8d=_0x3ddbdb;return this[_0x209f8d(0x313)][_0x209f8d(0x1d9)](_0x317330[_0x209f8d(0x22c)])[_0x209f8d(0x2f8)](_0x317330);}};Lt=R([L(0x0,(0x0,e[_0x3ddbdb(0x39a)])(F))],Lt);function Rt(_0x2030c8){return _0x2030c8==null?'':String(_0x2030c8);}function zt(_0x22be3e){const _0x48adfc=_0x3ddbdb;return new Map(_0x22be3e[_0x48adfc(0x423)]((_0x5d80a0,_0x2716ab)=>[_0x5d80a0[_0x48adfc(0x36e)],_0x2716ab]));}function Bt(_0x1b000f){const _0x434bad=_0x3ddbdb;return!!(Array[_0x434bad(0x22e)](_0x1b000f[_0x434bad(0x188)])&&_0x1b000f[_0x434bad(0x3f7)]&&_0x1b000f[_0x434bad(0x270)]&&_0x1b000f[_0x434bad(0x1f6)]&&_0x1b000f[_0x434bad(0x439)]&&_0x1b000f[_0x434bad(0x341)]);}function Vt(_0x403ddd){const _0x583000=_0x3ddbdb;return _0x403ddd!=null&&_0x403ddd[_0x583000(0x134)]['length']?{'conjunction':_0x403ddd['conjunction'],'conditions':_0x403ddd[_0x583000(0x134)][_0x583000(0x423)](_0x3080d2=>({'fieldId':_0x3080d2[_0x583000(0x36b)],'operator':_0x3080d2['operator'],'operand':_0x3080d2[_0x583000(0x273)]}))}:null;}function Ht(_0x517280){const _0x1c8161=_0x3ddbdb;return _0x517280!=null&&_0x517280[_0x1c8161(0x29a)]?_0x517280[_0x1c8161(0x423)](_0x228628=>({'fieldId':_0x228628[_0x1c8161(0x36b)],'direction':_0x228628[_0x1c8161(0x1cb)]})):null;}function Ut(_0x578884){const _0x5472df=_0x3ddbdb;if(typeof _0x578884!=_0x5472df(0x239)||!_0x578884){var _0x38dcdb;return(_0x38dcdb=JSON[_0x5472df(0x1aa)](_0x578884))==null?'undefined':_0x38dcdb;}if(Array[_0x5472df(0x22e)](_0x578884))return'['+_0x578884[_0x5472df(0x423)](Ut)[_0x5472df(0x2f1)](',')+']';let _0x523dad=_0x578884;return'{'+Object[_0x5472df(0x337)](_0x523dad)['sort']()[_0x5472df(0x423)](_0x4517a2=>JSON['stringify'](_0x4517a2)+':'+Ut(_0x523dad[_0x4517a2]))[_0x5472df(0x2f1)](',')+'}';}const H=0x5a0*0x3c*0x3e8;function Wt(_0x4113b1){const _0x4512d8=_0x3ddbdb;return{'weekdays':Array[_0x4512d8(0x22e)](_0x4113b1==null?void 0x0:_0x4113b1[_0x4512d8(0x251)])&&_0x4113b1[_0x4512d8(0x251)]['length']?[...new Set(_0x4113b1[_0x4512d8(0x251)][_0x4512d8(0x1c1)](_0x30acbe=>Number['isInteger'](_0x30acbe)&&_0x30acbe>=0x1&&_0x30acbe<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x4113b1==null?void 0x0:_0x4113b1[_0x4512d8(0x375)])?_0x4113b1[_0x4512d8(0x375)][_0x4512d8(0x292)](_0x2cdfdb=>!_0x2cdfdb||!Number[_0x4512d8(0x2f5)](_0x2cdfdb[_0x4512d8(0x18b)])?[]:[{'id':String(_0x2cdfdb['id']||_0x4512d8(0x3f9)+_0x2cdfdb[_0x4512d8(0x18b)]),'date':U(Number(_0x2cdfdb[_0x4512d8(0x18b)])),'name':String(_0x2cdfdb[_0x4512d8(0x1a6)]||_0x4512d8(0x318)),'type':_0x2cdfdb['type']===_0x4512d8(0x406)?_0x4512d8(0x406):_0x4512d8(0x297)}]):[]};}function Gt(_0x23583d,_0x4264fa,_0x11aa92,_0x1d4595){let _0x438af3=Yt(_0x23583d,_0x4264fa),_0x1a7d64=Xt(_0x23583d,_0x11aa92),_0x1244bd=Kt(_0x23583d,_0x438af3,_0x1a7d64,_0x1d4595);return{'scale':_0x23583d,'start':_0x438af3,'end':_0x1a7d64,'unitWidth':Jt(_0x23583d),'majorHeaders':qt(_0x23583d,_0x438af3,_0x1a7d64),'columns':_0x1244bd};}function Kt(_0x4961f0,_0x140d67,_0x5d9067,_0x41bb8b){const _0x572c7d=_0x3ddbdb;let _0x3fdd09=[],_0x18a9d1=_0x140d67;for(;_0x18a9d1<_0x5d9067;){let _0xbf268f=_0x4961f0==='quarter'?W(_0x18a9d1,0x7):_0x4961f0===_0x572c7d(0x18e)?on(_0x18a9d1,0x1):W(_0x18a9d1,0x1);_0x3fdd09[_0x572c7d(0x39b)]({'id':_0x4961f0+'-'+_0x18a9d1,'label':Zt(_0x4961f0,_0x18a9d1,_0xbf268f),'majorLabel':Qt(_0x4961f0,_0x18a9d1),'start':_0x18a9d1,'end':_0xbf268f,'nonWorking':en(_0x18a9d1,_0xbf268f,_0x41bb8b)}),_0x18a9d1=_0xbf268f;}return _0x3fdd09;}function qt(_0x3cd0a7,_0x379129,_0x39e003){const _0x41e020=_0x3ddbdb;let _0x25fa9b=[],_0x2b86d3=_0x3cd0a7===_0x41e020(0x18e)?an(_0x379129):rn(_0x379129);for(;_0x2b86d3<_0x39e003;){let _0x41ca17=_0x3cd0a7==='year'?sn(_0x2b86d3,0x1):on(_0x2b86d3,0x1);_0x25fa9b[_0x41e020(0x39b)]({'id':_0x41e020(0x31f)+_0x2b86d3,'label':_0x3cd0a7===_0x41e020(0x18e)?String(new Date(_0x2b86d3)[_0x41e020(0x192)]()):cn(_0x2b86d3),'start':_0x2b86d3,'end':_0x41ca17}),_0x2b86d3=_0x41ca17;}return _0x25fa9b;}function Jt(_0x50f658){const _0x365d6e=_0x3ddbdb;switch(_0x50f658){case _0x365d6e(0x353):return 0xac;case _0x365d6e(0x2bb):return 0xac;case _0x365d6e(0x18e):return 0x88;default:return 0x56;}}function Yt(_0x52ef5a,_0x44edcc){const _0xe31807=_0x3ddbdb;return _0x52ef5a===_0xe31807(0x18e)?an(_0x44edcc):_0x52ef5a===_0xe31807(0x2bb)?nn(_0x44edcc):U(_0x44edcc);}function Xt(_0x5fc946,_0x3457df){const _0x15ae46=_0x3ddbdb;return _0x5fc946===_0x15ae46(0x18e)?sn(an(_0x3457df),0x1):_0x5fc946===_0x15ae46(0x2bb)?W(nn(_0x3457df),0x7):W(U(_0x3457df),0x1);}function Zt(_0x3d5e20,_0x4be2d8,_0x5270f8){const _0x23646f=_0x3ddbdb;let _0x2610ad=new Date(_0x4be2d8);return _0x3d5e20==='quarter'?_0x2610ad['getUTCDate']()+'-'+new Date(_0x5270f8-H)[_0x23646f(0x3e8)]():_0x3d5e20===_0x23646f(0x18e)?_0x2610ad[_0x23646f(0x12e)](_0x23646f(0x3b9),{'month':_0x23646f(0x135),'timeZone':_0x23646f(0x34a)}):String(_0x2610ad[_0x23646f(0x3e8)]());}function Qt(_0x216a05,_0x95c3a5){const _0x3502b0=_0x3ddbdb;return _0x216a05===_0x3502b0(0x18e)?String(new Date(_0x95c3a5)['getUTCFullYear']()):cn(_0x95c3a5);}function $t(_0x30d8dc,_0x3e0b1c,_0x3b3d55){let _0x498e8a=Wt(_0x3b3d55),_0x56cd6e=0x0;for(let _0x8fbafa=U(_0x30d8dc);_0x8fbafa<=U(_0x3e0b1c);_0x8fbafa=W(_0x8fbafa,0x1))tn(_0x8fbafa,_0x498e8a)||_0x56cd6e++;return _0x56cd6e;}function en(_0x570418,_0x3384bd,_0x5dee55){if(!_0x5dee55)return!0x1;let _0x2f9b19=Wt(_0x5dee55);for(let _0x5c3896=U(_0x570418);_0x5c3896<_0x3384bd;_0x5c3896=W(_0x5c3896,0x1))if(!tn(_0x5c3896,_0x2f9b19))return!0x1;return!0x0;}function tn(_0x5446c5,_0x1f669d){const _0x3b250a=_0x3ddbdb;let _0x179789=U(_0x5446c5),_0x445190=_0x1f669d[_0x3b250a(0x375)][_0x3b250a(0x368)](_0x26695c=>U(_0x26695c[_0x3b250a(0x18b)])===_0x179789);if(_0x445190)return _0x445190[_0x3b250a(0x22c)]==='off';let _0x317cd2=new Date(_0x179789)['getUTCDay'](),_0x474b12=_0x317cd2===0x0?0x7:_0x317cd2;return!_0x1f669d['weekdays'][_0x3b250a(0x328)](_0x474b12);}function U(_0x1a9db4){const _0x1834e0=_0x3ddbdb;let _0x4fe1b7=new Date(_0x1a9db4);return Date['UTC'](_0x4fe1b7[_0x1834e0(0x192)](),_0x4fe1b7[_0x1834e0(0x199)](),_0x4fe1b7[_0x1834e0(0x3e8)]());}function nn(_0x56e826){const _0x3d6d72=_0x3ddbdb;let _0x41ef9b=U(_0x56e826),_0x5de88d=new Date(_0x41ef9b)[_0x3d6d72(0x24d)]();return W(_0x41ef9b,-(_0x5de88d===0x0?0x6:_0x5de88d-0x1));}function rn(_0x2c68a3){const _0x1496e6=_0x3ddbdb;let _0x5833ff=new Date(_0x2c68a3);return Date[_0x1496e6(0x34a)](_0x5833ff[_0x1496e6(0x192)](),_0x5833ff[_0x1496e6(0x199)](),0x1);}function an(_0x3a5eaa){const _0x455cc6=_0x3ddbdb;let _0x4c7ef6=new Date(_0x3a5eaa);return Date['UTC'](_0x4c7ef6[_0x455cc6(0x192)](),0x0,0x1);}function W(_0x548857,_0x51482c){return _0x548857+_0x51482c*H;}function on(_0xd55f1c,_0x1057dc){const _0x5a10cb=_0x3ddbdb;let _0x4945d9=new Date(_0xd55f1c);return Date['UTC'](_0x4945d9['getUTCFullYear'](),_0x4945d9[_0x5a10cb(0x199)]()+_0x1057dc,0x1);}function sn(_0x34720c,_0x3838a3){const _0x28410d=_0x3ddbdb;let _0xc84c13=new Date(_0x34720c);return Date[_0x28410d(0x34a)](_0xc84c13[_0x28410d(0x192)]()+_0x3838a3,0x0,0x1);}function cn(_0x3e1186){const _0x1366f0=_0x3ddbdb;let _0x44e3e1=new Date(_0x3e1186);return _0x44e3e1[_0x1366f0(0x12e)]('en-US',{'month':_0x1366f0(0x135),'timeZone':'UTC'})+'\x20'+_0x44e3e1['getUTCFullYear']();}function ln(_0x41648a,_0x2dc3d0){const _0x2a33ed=_0x3ddbdb;if(_0x41648a==null&&_0x2dc3d0==null)return 0x0;if(_0x41648a==null)return-0x1;if(_0x2dc3d0==null)return 0x1;if(typeof _0x41648a==_0x2a33ed(0x262)||typeof _0x2dc3d0==_0x2a33ed(0x262))return Number(_0x41648a===!0x0)-Number(_0x2dc3d0===!0x0);let _0x3934b7=Number(_0x41648a),_0x295ec4=Number(_0x2dc3d0),_0x34f620=Number[_0x2a33ed(0x2f5)](_0x3934b7),_0x2e2a22=Number[_0x2a33ed(0x2f5)](_0x295ec4);return _0x34f620&&_0x2e2a22?_0x3934b7-_0x295ec4:_0x34f620?0x1:_0x2e2a22?-0x1:String(_0x41648a)['localeCompare'](String(_0x2dc3d0));}function un(_0x3888ec){const _0x4f7edc=_0x3ddbdb;if(_0x3888ec['operator']!=='is'&&_0x3888ec[_0x4f7edc(0x2d6)]!==_0x4f7edc(0x27f))return!0x1;let _0x5649d3=_0x3888ec[_0x4f7edc(0x273)];return _0x5649d3==null?!0x0:typeof _0x5649d3==_0x4f7edc(0x277)?_0x5649d3[_0x4f7edc(0x2ab)]()==='':Array[_0x4f7edc(0x22e)](_0x5649d3)?_0x5649d3['length']===0x0:!0x1;}function G(_0x211ec1,_0x3b2482){const _0x5bf346=_0x3ddbdb;var _0x614ce8;let _0x2049c8=Array['isArray']((_0x614ce8=_0x211ec1[_0x5bf346(0x367)])==null?void 0x0:_0x614ce8['options'])?_0x211ec1[_0x5bf346(0x367)]['options']:[];for(let _0x1e3732 of _0x2049c8){var _0x595be7,_0x3fd0cd,_0x220b22,_0x28a9b5;if(_0x1e3732==null)continue;if(typeof _0x1e3732==_0x5bf346(0x277)){if(_0x1e3732===_0x3b2482)return{'id':_0x1e3732,'name':_0x1e3732};continue;}let _0x35de13=_0x1e3732,_0x2708cb=String((_0x595be7=(_0x3fd0cd=_0x35de13['id'])==null?_0x35de13[_0x5bf346(0x1a6)]:_0x3fd0cd)==null?'':_0x595be7),_0x5202c3=String((_0x220b22=(_0x28a9b5=_0x35de13['name'])==null?_0x35de13['id']:_0x28a9b5)==null?_0x2708cb:_0x220b22);if(_0x2708cb===_0x3b2482||_0x5202c3===_0x3b2482)return{'id':_0x2708cb,'name':_0x5202c3,'color':_0x35de13[_0x5bf346(0x3fa)]==null?void 0x0:String(_0x35de13['color'])};}return null;}const K={'id':_0x3ddbdb(0x17e),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x1fb)],'handler'(_0x55beb0,_0x900368){const _0x56a9a3=_0x3ddbdb;let {unitId:_0x2f894d,op:_0x273a3c}=_0x900368,_0x4953df=_0x55beb0[_0x56a9a3(0x1d9)](e[_0x56a9a3(0x25a)])['getUnit'](_0x2f894d,e[_0x56a9a3(0x392)][_0x56a9a3(0x1f7)]);if(!_0x4953df)return!0x1;let _0x4bcecb=_0x4953df[_0x56a9a3(0x214)](),_0xa64370=new w(),_0x14c031=_0xa64370['getAffectedRanges'](_0x273a3c),_0x1ae465=_0xa64370[_0x56a9a3(0x190)](_0x4bcecb,_0x273a3c);return _0x4953df[_0x56a9a3(0x182)](_0x1ae465),dn(_0x1ae465,_0x14c031,_0x55beb0[_0x56a9a3(0x1d9)](Ft)),!0x0;}};function dn(_0x61ea4e,_0x2d3802,_0x40082f){const _0x5a4cac=_0x3ddbdb;let _0x5cdd50=new Set();for(let _0x445619 of _0x2d3802){if(_0x445619[_0x5a4cac(0x155)]!==_0x5a4cac(0x14e)){_0x40082f['invalidateByOp']();return;}let _0x3a35cb=fn(_0x61ea4e,_0x445619);if(!_0x3a35cb){_0x40082f[_0x5a4cac(0x3ba)]();return;}let _0x226b46=_0x3a35cb['tableId']+'\x00'+_0x3a35cb[_0x5a4cac(0x36e)]+'\x00'+_0x3a35cb['fieldId'];_0x5cdd50[_0x5a4cac(0x1d1)](_0x226b46)||(_0x5cdd50[_0x5a4cac(0x255)](_0x226b46),_0x40082f[_0x5a4cac(0x3ac)](_0x3a35cb['tableId'],_0x3a35cb[_0x5a4cac(0x36e)],_0x3a35cb[_0x5a4cac(0x36b)]));}}function fn(_0x3fb394,_0x941a04){const _0x160785=_0x3ddbdb;var _0x4262bb,_0x3c460c;if(!_0x941a04[_0x160785(0x344)])return null;if(_0x941a04['recordId']&&_0x941a04[_0x160785(0x36b)])return{'tableId':_0x941a04['tableId'],'recordId':_0x941a04['recordId'],'fieldId':_0x941a04[_0x160785(0x36b)]};if(_0x941a04[_0x160785(0x2cd)]==null||_0x941a04[_0x160785(0x2f0)]==null)return null;let _0x255c4a=_0x3fb394[_0x160785(0x16c)][_0x941a04[_0x160785(0x344)]],_0x5bf0df=_0x255c4a==null||(_0x4262bb=_0x255c4a[_0x160785(0x270)])==null?void 0x0:_0x4262bb[_0x941a04[_0x160785(0x2cd)]],_0x2d26a6=_0x255c4a==null||(_0x3c460c=_0x255c4a[_0x160785(0x439)])==null?void 0x0:_0x3c460c[_0x941a04[_0x160785(0x2f0)]];return!_0x5bf0df||!_0x2d26a6?null:{'tableId':_0x941a04[_0x160785(0x344)],'recordId':_0x5bf0df,'fieldId':_0x2d26a6};}const pn={'id':_0x3ddbdb(0x137),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0x902b12,_0x1fa2dc){const _0x546fd4=_0x3ddbdb;if(!_0x1fa2dc)return!0x1;let _0x4297d4=_0x902b12['get'](e[_0x546fd4(0x25a)]),{unitId:_0x20c0d7,tableId:_0x5d5c02,records:_0x124101}=_0x1fa2dc,_0x139383=_0x4297d4['getUnit'](_0x20c0d7,e[_0x546fd4(0x392)][_0x546fd4(0x1f7)]);if(!_0x139383)return!0x1;let _0x5b2970=_0x902b12[_0x546fd4(0x1d9)](e[_0x546fd4(0x21d)]),_0x195e2=_0x902b12['get'](e[_0x546fd4(0x405)]),_0xbc2c22=_0x902b12[_0x546fd4(0x1d9)](z)[_0x546fd4(0x24c)](_0x139383,_0x5d5c02,_0x124101),_0x5d37a8=new w()['invertOp'](_0x139383['getSnapshot'](),_0xbc2c22),_0x1879d4={'unitId':_0x20c0d7,'op':_0xbc2c22},_0x1e37a3={'unitId':_0x20c0d7,'op':_0x5d37a8};return _0x5b2970['syncExecuteCommand'](K['id'],_0x1879d4)?(_0x4297d4[_0x546fd4(0x1bb)](_0x20c0d7),_0x195e2['pushUndoRedo']({'unitID':_0x20c0d7,'undoMutations':[{'id':K['id'],'params':_0x1e37a3}],'redoMutations':[{'id':K['id'],'params':_0x1879d4}]}),!0x0):!0x1;}},mn={'id':_0x3ddbdb(0x400),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x46cb49,_0x2bb962)=>{const _0x5437a5=_0x3ddbdb;if(!_0x2bb962)return!0x1;let _0x3786ba=_0x46cb49[_0x5437a5(0x1d9)](e['IUniverInstanceService']),{unitId:_0x194cb3,tableId:_0xd97438,recordIds:_0x5c6024}=_0x2bb962,_0x41ddaa=_0x3786ba[_0x5437a5(0x252)](_0x194cb3,e[_0x5437a5(0x392)][_0x5437a5(0x1f7)]);if(!_0x41ddaa)return!0x1;let _0x3da3aa=_0x46cb49[_0x5437a5(0x1d9)](e[_0x5437a5(0x21d)]),_0x554ea6=_0x46cb49['get'](e['IUndoRedoService']),_0x482d26=_0x41ddaa[_0x5437a5(0x214)](),_0x231e91=new M()[_0x5437a5(0x1ab)](_0x482d26,_0xd97438,_0x5c6024),_0x883554=new w()[_0x5437a5(0x1b5)](_0x482d26,_0x231e91),_0x35d6dc={'unitId':_0x194cb3,'op':_0x231e91},_0x224836={'unitId':_0x194cb3,'op':_0x883554};return _0x3da3aa[_0x5437a5(0x1a0)](K['id'],_0x35d6dc)?(_0x3786ba[_0x5437a5(0x1bb)](_0x194cb3),_0x554ea6[_0x5437a5(0x3be)]({'unitID':_0x194cb3,'undoMutations':[{'id':K['id'],'params':_0x224836}],'redoMutations':[{'id':K['id'],'params':_0x35d6dc}]}),!0x0):!0x1;}},hn={'id':'base.command.change-base-field-type','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x45b945,_0x16ef3e)=>{const _0x56fbc1=_0x3ddbdb;if(!_0x16ef3e)return!0x1;let _0x36d198=_0x45b945['get'](e[_0x56fbc1(0x25a)]),{unitId:_0x5d9ecd,tableId:_0x2979d1,fieldId:_0x49def5,input:_0x387b3b}=_0x16ef3e,_0x5006ee=_0x36d198[_0x56fbc1(0x252)](_0x5d9ecd,e['UniverInstanceType'][_0x56fbc1(0x1f7)]);if(!_0x5006ee)return!0x1;let _0x3ae2f1=_0x45b945[_0x56fbc1(0x1d9)](e['ICommandService']),_0x39db48=_0x45b945[_0x56fbc1(0x1d9)](e[_0x56fbc1(0x405)]),_0x47423f=_0x5006ee[_0x56fbc1(0x214)](),_0x4fca28=new M()[_0x56fbc1(0x1a2)](_0x47423f,_0x2979d1,_0x49def5,_0x387b3b),_0x483741=new w()[_0x56fbc1(0x1b5)](_0x47423f,_0x4fca28),_0x17d169={'unitId':_0x5d9ecd,'op':_0x4fca28},_0x32c932={'unitId':_0x5d9ecd,'op':_0x483741};return _0x3ae2f1[_0x56fbc1(0x1a0)](K['id'],_0x17d169)?(_0x36d198[_0x56fbc1(0x1bb)](_0x5d9ecd),_0x39db48[_0x56fbc1(0x3be)]({'unitID':_0x5d9ecd,'undoMutations':[{'id':K['id'],'params':_0x32c932}],'redoMutations':[{'id':K['id'],'params':_0x17d169}]}),!0x0):!0x1;}},gn={'id':_0x3ddbdb(0x179),'type':e['CommandType'][_0x3ddbdb(0x43a)],'handler'(_0x37180d,_0x4fa1ba){const _0x1f0359=_0x3ddbdb;if(!_0x4fa1ba)return!0x1;let _0x35f461=_0x37180d[_0x1f0359(0x1d9)](e[_0x1f0359(0x25a)]),{unitId:_0x24056e,tableId:_0x5ea332,field:_0x18a3df,index:_0x23d1cb,viewIndexes:_0x286812}=_0x4fa1ba,_0x56dc8d=_0x35f461[_0x1f0359(0x252)](_0x24056e,e[_0x1f0359(0x392)][_0x1f0359(0x1f7)]);if(!_0x56dc8d)return!0x1;let _0x408c59=_0x37180d[_0x1f0359(0x1d9)](e[_0x1f0359(0x21d)]),_0x2248f2=_0x37180d['get'](e[_0x1f0359(0x405)]),_0x3d5e33=_0x37180d[_0x1f0359(0x1d9)](z)[_0x1f0359(0x2a4)](_0x56dc8d,_0x5ea332,_0x18a3df,_0x23d1cb,_0x286812),_0xf81dd1=new w()[_0x1f0359(0x1b5)](_0x56dc8d['getSnapshot'](),_0x3d5e33),_0x5686d0={'unitId':_0x24056e,'op':_0x3d5e33},_0x2b4bfe={'unitId':_0x24056e,'op':_0xf81dd1};return _0x408c59[_0x1f0359(0x1a0)](K['id'],_0x5686d0)?(_0x35f461[_0x1f0359(0x1bb)](_0x24056e),_0x2248f2[_0x1f0359(0x3be)]({'unitID':_0x24056e,'undoMutations':[{'id':K['id'],'params':_0x2b4bfe}],'redoMutations':[{'id':K['id'],'params':_0x5686d0}]}),!0x0):!0x1;}},_n={'id':_0x3ddbdb(0x3eb),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0x182705,_0x169489){const _0x571ae1=_0x3ddbdb;if(!_0x169489)return!0x1;let _0x4e007e=_0x182705[_0x571ae1(0x1d9)](e['IUniverInstanceService']),{unitId:_0x44ccc5,tableId:_0x40302c,record:_0x10730a}=_0x169489,_0x5cedd3=_0x4e007e[_0x571ae1(0x252)](_0x44ccc5,e[_0x571ae1(0x392)][_0x571ae1(0x1f7)]);if(!_0x5cedd3)return!0x1;let _0x3db1a5=_0x182705['get'](e['ICommandService']),_0x362889=_0x182705[_0x571ae1(0x1d9)](e[_0x571ae1(0x405)]),_0x5119ff=_0x182705['get'](z)[_0x571ae1(0x157)](_0x5cedd3,_0x40302c,_0x10730a),_0x6ffd1b=new w()[_0x571ae1(0x1b5)](_0x5cedd3['getSnapshot'](),_0x5119ff),_0x4e7765={'unitId':_0x44ccc5,'op':_0x5119ff},_0x53a7c6={'unitId':_0x44ccc5,'op':_0x6ffd1b};return _0x3db1a5['syncExecuteCommand'](K['id'],_0x4e7765)?(_0x4e007e[_0x571ae1(0x1bb)](_0x44ccc5),_0x362889['pushUndoRedo']({'unitID':_0x44ccc5,'undoMutations':[{'id':K['id'],'params':_0x53a7c6}],'redoMutations':[{'id':K['id'],'params':_0x4e7765}]}),!0x0):!0x1;}},vn={'id':_0x3ddbdb(0x183),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x406152,_0x21e670)=>{const _0x5af215=_0x3ddbdb;if(!_0x21e670)return!0x1;let _0x3604ba=_0x406152[_0x5af215(0x1d9)](e[_0x5af215(0x25a)]),{unitId:_0xac3f1,table:_0x576e52,index:_0x1f4d9b}=_0x21e670,_0x48cc73=_0x3604ba[_0x5af215(0x252)](_0xac3f1,e['UniverInstanceType'][_0x5af215(0x1f7)]);if(!_0x48cc73)return!0x1;let _0x158233=_0x406152[_0x5af215(0x1d9)](e['ICommandService']),_0x525bac=_0x406152['get'](e['IUndoRedoService']),_0x1ee428=_0x48cc73[_0x5af215(0x214)](),_0x3b491d=new M()[_0x5af215(0x16e)](_0x1ee428,_0x576e52,_0x1f4d9b),_0x4360ea=new w()[_0x5af215(0x1b5)](_0x1ee428,_0x3b491d),_0x4ed94b={'unitId':_0xac3f1,'op':_0x3b491d},_0x165200={'unitId':_0xac3f1,'op':_0x4360ea};return _0x158233[_0x5af215(0x1a0)](K['id'],_0x4ed94b)?(_0x3604ba['focusUnit'](_0xac3f1),_0x525bac['pushUndoRedo']({'unitID':_0xac3f1,'undoMutations':[{'id':K['id'],'params':_0x165200}],'redoMutations':[{'id':K['id'],'params':_0x4ed94b}]}),!0x0):!0x1;}};function yn(_0x38d4b0,_0x47b59,_0x2c1327=[]){const _0x50af15=_0x3ddbdb;let _0x2ef6a8=new Set([...Object[_0x50af15(0x14b)](_0x38d4b0[_0x50af15(0x2c6)])[_0x50af15(0x1c1)](_0x25f01e=>_0x25f01e&&!_0x25f01e[_0x50af15(0x2e3)])['map'](_0x7d5471=>_0x7d5471[_0x50af15(0x1a6)]),..._0x2c1327[_0x50af15(0x423)](_0x2a3f02=>_0x2a3f02[_0x50af15(0x1a6)])]);if(!_0x2ef6a8[_0x50af15(0x1d1)](_0x47b59))return _0x47b59;let _0x45538b=0x2;for(;_0x2ef6a8['has'](_0x47b59+'\x20'+_0x45538b);)_0x45538b++;return _0x47b59+'\x20'+_0x45538b;}function bn(_0xdf1531,_0x22b541){const _0x1d65f4=_0x3ddbdb;if(!_0xdf1531||!_0x22b541[_0x1d65f4(0x29a)])return;let _0x95090=[..._0xdf1531];return _0x22b541[_0x1d65f4(0x18f)](_0x4283e5=>{const _0xf89326=_0x1d65f4;_0x95090['includes'](_0x4283e5)||_0x95090[_0xf89326(0x39b)](_0x4283e5);}),_0x95090;}const xn={'options':[{'id':'todo','name':'Todo','color':_0x3ddbdb(0x3a2)},{'id':_0x3ddbdb(0x326),'name':_0x3ddbdb(0x3bc),'color':_0x3ddbdb(0x224)},{'id':'done','name':'Done','color':'#BBF7D0'}]},Sn={'locale':_0x3ddbdb(0x3b9),'pattern':_0x3ddbdb(0x41c),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x3ddbdb(0x193)};function Cn(_0xc896f4,_0x58c29e,_0x43377c,_0x53516a){const _0xb6ef2b=_0x3ddbdb;var _0x30500a;let _0x3249af=new M(),_0x3c7ded=_0xc896f4[_0xb6ef2b(0x16c)][_0x58c29e];if(_0x3c7ded&&_0x43377c[_0xb6ef2b(0x22c)]===_0xb6ef2b(0x14d)){var _0x250f76;let _0x5a960a=Tn(_0x3c7ded,_0x43377c),_0x29b5cc=_0x5a960a['changed']?{..._0x43377c,'config':_0x5a960a['config'],'fieldOrder':(_0x250f76=_0x5a960a[_0xb6ef2b(0x3c0)])==null?_0x43377c[_0xb6ef2b(0x3c0)]:_0x250f76}:_0x43377c;return j([..._0x5a960a[_0xb6ef2b(0x2c6)][_0xb6ef2b(0x423)](_0x24b681=>_0x3249af['createField'](_0xc896f4,_0x58c29e,{'field':_0x24b681})),_0x3249af[_0xb6ef2b(0x1c5)](_0xc896f4,_0x58c29e,_0x29b5cc,_0x53516a)]);}if(!_0x3c7ded||_0x43377c[_0xb6ef2b(0x22c)]!=='calendar'&&_0x43377c[_0xb6ef2b(0x22c)]!==_0xb6ef2b(0x388))return _0x3249af[_0xb6ef2b(0x1c5)](_0xc896f4,_0x58c29e,_0x43377c,_0x53516a);let _0x33d4e0=wn(_0x3c7ded,_0x43377c),_0x271c1b=_0x33d4e0[_0xb6ef2b(0x38f)]?{..._0x43377c,'config':_0x33d4e0['config'],'fieldOrder':(_0x30500a=_0x33d4e0[_0xb6ef2b(0x3c0)])==null?_0x43377c['fieldOrder']:_0x30500a}:_0x43377c;return _0x43377c[_0xb6ef2b(0x22c)]===_0xb6ef2b(0x388)&&On(_0x43377c)&&(_0x271c1b=kn(_0x3c7ded,_0x271c1b,_0x33d4e0[_0xb6ef2b(0x2c6)])),j([..._0x33d4e0['fields']['map'](_0x1cc835=>_0x3249af[_0xb6ef2b(0x394)](_0xc896f4,_0x58c29e,{'field':_0x1cc835})),_0x3249af['createView'](_0xc896f4,_0x58c29e,_0x271c1b,_0x53516a)]);}function wn(_0x197d0e,_0x39ae59,_0x2145e7=!0x1){const _0xab2899=_0x3ddbdb;var _0x5951fb,_0x416eda,_0x5a5716,_0x32c4b4;let _0x5d1e31=_0x197d0e[_0xab2899(0x3c0)][_0xab2899(0x1c1)](_0x2b367c=>jn(_0x197d0e,_0x2b367c)),_0x3a3a48=[],_0xb1f6a5={...(_0x5951fb=_0x39ae59[_0xab2899(0x367)])==null?{}:_0x5951fb},_0x39e46f=typeof _0xb1f6a5[_0xab2899(0x241)]==_0xab2899(0x277)&&jn(_0x197d0e,_0xb1f6a5[_0xab2899(0x241)])?_0xb1f6a5['startDateFieldId']:_0x5d1e31[0x0],_0x203ded=typeof _0xb1f6a5['endDateFieldId']=='string'&&jn(_0x197d0e,_0xb1f6a5['endDateFieldId'])&&_0xb1f6a5[_0xab2899(0x13e)]!==_0x39e46f?_0xb1f6a5[_0xab2899(0x13e)]:_0x5d1e31[_0xab2899(0x368)](_0x53f345=>_0x53f345!==_0x39e46f);if(!_0x39e46f){let _0x3726ea=Mn(_0x197d0e,_0x3a3a48,_0x39ae59[_0xab2899(0x22c)]===_0xab2899(0x388)?_0xab2899(0x35c):_0xab2899(0x13c));_0x3a3a48[_0xab2899(0x39b)](_0x3726ea),_0x39e46f=_0x3726ea['id'];}if((_0x39ae59[_0xab2899(0x22c)]===_0xab2899(0x388)||_0x2145e7)&&!_0x203ded){let _0x51143d=Mn(_0x197d0e,_0x3a3a48,_0xab2899(0x343));_0x3a3a48[_0xab2899(0x39b)](_0x51143d),_0x203ded=_0x51143d['id'];}if(_0x39ae59['type']===_0xab2899(0x289)&&!_0x203ded&&delete _0xb1f6a5[_0xab2899(0x13e)],_0xb1f6a5[_0xab2899(0x241)]=_0x39e46f,_0x39ae59[_0xab2899(0x22c)]===_0xab2899(0x289)&&_0x203ded&&(_0xb1f6a5[_0xab2899(0x13e)]=_0x203ded),_0x39ae59['type']===_0xab2899(0x388)){var _0x44796b;_0xb1f6a5[_0xab2899(0x13e)]=(_0x44796b=_0x203ded)==null?_0x39e46f:_0x44796b;}let _0x1fd8c6=bn(_0x39ae59[_0xab2899(0x3c0)],_0x3a3a48[_0xab2899(0x423)](_0x204065=>_0x204065['id']));return{'changed':_0x3a3a48[_0xab2899(0x29a)]>0x0||_0xb1f6a5[_0xab2899(0x241)]!==((_0x416eda=_0x39ae59['config'])==null?void 0x0:_0x416eda[_0xab2899(0x241)])||_0xb1f6a5['endDateFieldId']!==((_0x5a5716=_0x39ae59[_0xab2899(0x367)])==null?void 0x0:_0x5a5716['endDateFieldId'])||!!(_0x1fd8c6&&!e[_0xab2899(0x345)][_0xab2899(0x1ad)](_0x1fd8c6,(_0x32c4b4=_0x39ae59[_0xab2899(0x3c0)])==null?[]:_0x32c4b4)),'fields':_0x3a3a48,'config':_0xb1f6a5,'fieldOrder':_0x1fd8c6};}function Tn(_0x19c151,_0x2e8c32){const _0x31b323=_0x3ddbdb;var _0x4a3596,_0x141713,_0x2835fe;let _0x1c7c30=[],_0x620f9={...(_0x4a3596=_0x2e8c32[_0x31b323(0x367)])==null?{}:_0x4a3596},_0x459213=typeof _0x620f9['groupFieldId']==_0x31b323(0x277)&&En(_0x19c151,_0x620f9['groupFieldId'])?_0x620f9[_0x31b323(0x165)]:_0x19c151[_0x31b323(0x3c0)][_0x31b323(0x368)](_0x474eb8=>En(_0x19c151,_0x474eb8));if(!_0x459213){let _0x45c169=Dn(_0x19c151,_0x1c7c30);_0x1c7c30[_0x31b323(0x39b)](_0x45c169),_0x459213=_0x45c169['id'];}_0x620f9[_0x31b323(0x165)]=_0x459213;let _0x715d4b=bn(_0x2e8c32[_0x31b323(0x3c0)],_0x1c7c30[_0x31b323(0x423)](_0x78dc0c=>_0x78dc0c['id']));return{'changed':_0x1c7c30[_0x31b323(0x29a)]>0x0||_0x620f9[_0x31b323(0x165)]!==((_0x141713=_0x2e8c32[_0x31b323(0x367)])==null?void 0x0:_0x141713[_0x31b323(0x165)])||!!(_0x715d4b&&!e[_0x31b323(0x345)][_0x31b323(0x1ad)](_0x715d4b,(_0x2835fe=_0x2e8c32[_0x31b323(0x3c0)])==null?[]:_0x2835fe)),'fields':_0x1c7c30,'config':_0x620f9,'fieldOrder':_0x715d4b};}function En(_0x525025,_0x500c38){const _0x391824=_0x3ddbdb;let _0x42b955=_0x500c38?_0x525025['fields'][_0x500c38]:null;return!_0x42b955||_0x42b955[_0x391824(0x2e3)]?!0x1:[_0x391824(0x3d6),_0x391824(0x171),_0x391824(0x235),_0x391824(0x1be),'group',_0x391824(0x164)][_0x391824(0x328)](_0x42b955['type']);}function Dn(_0x2e4f70,_0x5a18f5){const _0x5ee6b8=_0x3ddbdb;return{'id':_0x5ee6b8(0x34f)+(0x0,e[_0x5ee6b8(0x3b4)])(0x8),'name':yn(_0x2e4f70,_0x5ee6b8(0x434),_0x5a18f5),'type':_0x5ee6b8(0x3d6),'config':e[_0x5ee6b8(0x345)][_0x5ee6b8(0x305)](xn)};}function On(_0x427f8c){const _0x516ddd=_0x3ddbdb;var _0x3a3c1a,_0x34dc53;return Object[_0x516ddd(0x337)]((_0x3a3c1a=_0x427f8c['config'])==null?{}:_0x3a3c1a)[_0x516ddd(0x29a)]===0x0&&Object[_0x516ddd(0x337)]((_0x34dc53=_0x427f8c[_0x516ddd(0x267)])==null?{}:_0x34dc53)[_0x516ddd(0x29a)]===0x0;}function kn(_0xfa0bac,_0xdeed19,_0xf98f18){const _0x2b78a3=_0x3ddbdb;var _0x1692ec;let _0x55a1fc={...(_0x1692ec=_0xdeed19['config'])==null?{}:_0x1692ec},_0xeac7ec=_0xf98f18[_0x2b78a3(0x423)](_0x4eae31=>_0x4eae31['id']),_0x3a3871=[..._0xfa0bac[_0x2b78a3(0x3c0)],..._0xeac7ec],_0x56a9be=typeof _0x55a1fc[_0x2b78a3(0x191)]==_0x2b78a3(0x277)&&An(_0xfa0bac,_0xf98f18,_0x55a1fc[_0x2b78a3(0x191)])?_0x55a1fc[_0x2b78a3(0x191)]:_0xfa0bac[_0x2b78a3(0x140)],_0x1be3e9=typeof _0x55a1fc[_0x2b78a3(0x241)]==_0x2b78a3(0x277)?_0x55a1fc[_0x2b78a3(0x241)]:'',_0x265bd0=typeof _0x55a1fc['endDateFieldId']==_0x2b78a3(0x277)?_0x55a1fc[_0x2b78a3(0x13e)]:_0x1be3e9,_0x43b724=new Set([_0x56a9be,_0x1be3e9,_0x265bd0][_0x2b78a3(0x1c1)](_0x129f51=>_0x129f51&&An(_0xfa0bac,_0xf98f18,_0x129f51))),_0x1a433d=Object[_0x2b78a3(0x284)](_0x3a3871['flatMap'](_0x36109c=>_0x43b724[_0x2b78a3(0x1d1)](_0x36109c)||!An(_0xfa0bac,_0xf98f18,_0x36109c)?[]:[[_0x36109c,{'hidden':!0x0}]]));return{..._0xdeed19,'config':{..._0x55a1fc,'titleFieldId':_0x56a9be},'fieldSettings':_0x1a433d};}function An(_0x4393fe,_0x3c4967,_0x13485c){const _0x1280f7=_0x3ddbdb;var _0x51fc47;let _0x3eba35=(_0x51fc47=_0x4393fe['fields'][_0x13485c])==null?_0x3c4967['find'](_0x5a639d=>_0x5a639d['id']===_0x13485c):_0x51fc47;return!!_0x3eba35&&_0x3eba35[_0x1280f7(0x2e3)]!==!0x0;}function _0x471d(){const _0x425622=['_setDeleted','_getTable','repairViewConfig','disposeWithMe','en-US','invalidateByOp','getUnitId','Doing','_fieldPermissions','pushUndoRedo','getFullYear','fieldOrder','globalRevision','setRecordPermission','cellRevision','_univerInstanceService','\x22\x20is\x20not\x20registered.','version','function','RenameBaseViewCommand','getBaseInvalidationsFromJson1','CreateBaseViewCommand','workingDaysOnly','_normalizeGanttDisplayColor','field','lessThan','round','viewId','_bumpTableRevision','dependencyFieldId','logBasePerformance','moveView','_isAllDayCalendarEvent','singleSelect','rows','toPlainText','ApplyBaseJson1Mutation','custom','[BaseField]:\x20invalid\x20number\x20value.','formatBaseDateValue','onReady','showTodayLine','[BaseField]:\x20invalid\x20multi-value\x20reference.','local','NUMBER','_getCellRevision','setRecordValues','General','EnsureBaseTemporalViewDateFieldsCommand','attachments','_getSuperTableService','getUTCDate','[BaseField]:\x20invalid\x20email\x20value.','canDeleteField','base.command.create-base-record','_viewRowsCacheKey','selectField','orderKey','query','2186570iEWjzA','DataSyncPrimaryController','greaterThan','CellValueType','_patchCachedProjectedRows','[BaseField]:\x20invalid\x20person\x20value.','setViewFieldWidth','rowIndex','text','exception-','color','gallery','invalidGanttEndField','SetBaseViewGroupCommand','button','_permissionService','base.command.batch-delete-base-records','canCreateRecord','fromBaseCellData','displayColor','resources','IUndoRedoService','working','spaceComma','setRangeValues','medium','base.permission.service','Disposable','_onCommandExecuted','invalidGanttStartField','group','IBaseProjectionService','attachment-','constructor','_isGanttDateField','[BasePerf]\x20','createViewId','view-','groups','DependentOn','decorate','recordIds','canDeleteRecord','desc','yyyy/mm/dd','index','base.command.ensure-base-temporal-view-date-fields','displayText','frozenFieldCount','endsWith','writeAttachmentResources','map','number','base.viewType.gantt','delete','isNaN','getDependencies','_createJson1DirtyData','conditional','showFieldNames','[BaseCommandService]:\x20cannot\x20create\x20field.','iterator','True','compressBaseRangeValuesPayload','h24','createdAt','CreateBaseFieldCommand','_shouldSyncFormulaData','Status','_initDataSync','getCurrentUserId','Yes','executeCommand','colId','COMMAND','_setCachedProjection','IBasePermissionService','defineProperty','@univerjs-pro/bases','set','toLocaleString','trigger','BaseJson1.cloneForOp','1.0.0-alpha.0','yesterday','unknown','conditions','short','_dataSyncPrimaryController','base.command.batch-create-base-records','email','BASES_PLUGIN_NAME','registerCtorForType','min','Date','_initCommands','endDateFieldId','_getAllTableIds','primaryFieldId','[BaseProjectionService]:\x20missing\x20view\x20\x22','createCollaborativeOp','BaseResourceService','_recordPermissions','formula.mutation.set-formula-calculation-result','BaseJson1OpFactory','base.command.delete-base-table','_getViewRevision','beforeFieldId','univer.basePerf','values','leftPaneCollapsed','kanban','cell','clearBasePermission','columns','setViewFieldVisible','createBaseStructureDirtySuperTableMap','_cacheKey','deleteRecord','reason','createSetRecordValuesOp','createCreateRecordOp','h:mm\x20a','start','__UNIVER_BASE_PERF__','_applyFormulaResult','progress','_injector','spacePeriod','cardLayout','getBase','BOOLEAN','JSON1','_getTablesToNormalize','checkbox','groupFieldId',':start','createdBy','_projectFields','1096lVqRNj','SetBaseRecordValuesCommand','compose','tables','key','createTable','base.command.create-base-view','DuplicateBaseFieldCommand','multiSelect','base-perf','_isAllowedKanbanGroupField','every','lessThanOrEqual','_isColorfulKanbanGroupField','pattern','_recordIds','base.command.create-base-field','next30','snapshot','IBaseFieldRegistryService','RenameBaseTableCommand','base.mutation.apply-base-json1','__BASE_FORMULA_REF_','mark','readonly','setSnapshot','base.command.create-base-table','moveField','_isCalendarDateField','updateCell','matchAll','recordOrder','base.command.rename-base-view','UpdateBaseRecordOrderCommand','date','BaseProjection.projectRows','tomorrow','year','forEach','applyOp','titleFieldId','getUTCFullYear','none','_applier','views','\x22\x20does\x20not\x20exist.','[BaseFormula]:\x20table\x20\x22','thisWeek','getUTCMonth','getBaseCellFormulaValue','base.command.move-base-view','formula','editCell','updatedBy','registerView','syncExecuteCommand','[[#This\x20Row],[','changeFieldType','_resolveKanbanCardFieldIds','phone','allowMultiple','name','BaseFormulaCalculationController','uniqueFieldName','Plugin','stringify','deleteRecords','hasOwnProperty','diffValue','small','_getJson1DirtyData','baseRows','barcode','getTime','sort','145332ObfFGN','invertOp','commaPeriod','35RdPyVs','summary','usableAsCalendarDate','startsWith','focusUnit','clearRecordPermission','_superTableService','person','dateKit','buildBaseNumberFormatPattern','filter','SetFormulaDataMutation','repeat','STRING','createView','_cellInvalidationsTouchFields','_matchesGanttColorRule','setTablePermission','decimal','_factory','direction','normalizeBaseDateSerial','base.command.set-base-view-sort','base.viewType.kanban','canDeleteTable','invalidDateField','has','_plugins','_getTableRevision','_syncFormulaData','splice','_setAttachmentResources','_projectedGroupsCache','max','get','lastIndexOf','star','renameView','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_viewRevisions','normalize','ObjectMatrix','test','compressBaseSnapshot','packageName','includeRecords','searchBaseTable','location','patch','deleteTable','invalidateByView','[BaseCommandService]:\x20cannot\x20edit\x20field.','grid','_normalizeGanttConfig','Empty','_createSystemFieldValuePatches','BaseFieldRegistryService','_setViewFieldSetting','_createDirtyData','createUpdateCellOp','rules','registerTable','_viewRevisionKey','colIndex','UNIVER_BASE','BASE_SYNC_MUTATIONS','greaterThanOrEqual','path','MUTATION','#14b8a6','_isKanbanGroupField','SetBaseViewFilterCommand','currencySymbol','SetBaseViewFieldOrderCommand','setFieldPermission','setViewFieldOrder','_kanbanLaneTitle','invalid','BaseProjection.filterAndSortRows','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_getStructureDirtyTableIds','_projectedRowsCache','subscribe','clearTablePermission','canCreateTable','_kanbanLaneColor','afterViewId','_resolveKanbanCoverFieldId','isNotEmpty','month','[BaseCommandService]:\x20invalid\x20cell\x20value.','searchTexts','MoveBaseViewCommand','getSnapshot','decompressBaseRangeValuesPayload','createDefaultValue','[BaseCommandService]:\x20cannot\x20edit\x20cell.','missingField','_normalizeGalleryConfig','validate','valid','base.viewType.grid','ICommandService','mode','pluginName','base.command.update-base-field','REMOTE_BASES_PLUGIN','today','[BaseField]:\x20invalid\x20rating\x20value.','#FDE68A','SetFormulaCalculationStartMutation','base.command.update-base-cell','CommandType','_normalizeCellValue','formatBaseNumberValue','getAffectedRanges','register','type','base-snapshot-v1','isArray','tableRevision','record','afterFieldId','getStructuredDependencies','_getSystemFieldValue','_apply','rating','_fastSortRows','_syncBaseUnit','BaseFormulaService','object','setViewGroup','_resolveGalleryCardFieldIds','setBaseCell','BaseJson1Adapter','MM/DD/YYYY','normalizeAttachmentValue','UpdateBaseFieldCommand','startDateFieldId','CreateBaseRecordCommand','error','attachmentSets','_isAllDayGanttDateRange','coverFieldId','Checked','title','beforeViewId','option-','SetBaseViewSortCommand','createBatchCreateRecordsOp','getUTCDay','valueOf','editable','[BaseField]:\x20invalid\x20checkbox\x20value.','weekdays','getUnit','resolvedOptions','timeZone','add','base.viewType.calendar','False','basePerf',',\x22K\x22','IUniverInstanceService','getDay','_projectTableRows','children','viewIndexes','symbol','getMonth','createRecord','boolean','IBaseResourceService','_findKanbanGroupField','_initRegistries','[BaseCommandService]:\x20cannot\x20create\x20table.','fieldSettings','base.viewType.gallery','deleteView','HH:mm','true','dispose','Optional','registerSuperTable','setViewFilter','rowId','width','isBasePerformanceTracingEnabled','operand','view','_ganttBarColor','contains','string','base.command.set-base-range-values','normal','base.fieldType.','updateField','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','usableAsGanttStart','_getAllBaseDirtySuperTableMap','isNot','replace','renameTable','_findCalendarDateFieldId','viewOrder','fromEntries','registerSyncingMutations','_getCurrentUserId','[BaseCommandService]:\x20cannot\x20delete\x20record.','canEditCell','calendar','_buildCalendar','format','_replaceOptional','__all__','_createRecordOrderOp','683551QkDWcP','updateViewConfig','entries','flatMap','_buildGantt','twoWayLink','_normalizeCalendarDisplayColor','records','off','duplicateRecord','touchDependencies','length','730877qzbxXr','_cellInvalidations',':end','includeTime','12hlSmpO','assign','fieldIndex','_resolveGanttDateFieldId','_projectRows','createCreateFieldOp','attachment','excelSerialToDateMs','_config','deleteField','_getKanbanConfiguredLanes','_applyingFormulaResults','trim','ChangeBaseFieldTypeCommand','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','tableName','general','createSuperTableReference','_buildKanban','10JWBcQG','_tableRevisions','BatchCreateBaseRecordsCommand','NumberFormat','_materializeGroups','slice','setBaseRangeValuesToDirtyRanges','UniverRemoteBasesPlugin','_projectGroups','quarter','_projectionCache','description','decimalPlaces','insertOp','table','CreateBaseTableCommand','toLowerCase','isCompressedBaseSnapshot','[BaseCommandService]:\x20cannot\x20manage\x20view.','reduce','fields','BasePermissionService','from','_baseSyncDisposables','updatedAt','sheetId','manual','row','base.command.update-base-view-config','false','fieldName','blue','base.command.delete-base-record','createDefaultConfig','_resolveCalendarDateFieldId','score','operator','long','locale','Unchecked','workingDays','_buildGrid','DD/MM/YYYY','options','_projectedViewRowsCache','_resolveKanbanGroupFieldId','base.command.service','[BaseField]:\x20invalid\x20phone\x20value.','_initialize','deleted','user','flow','onCommandExecuted','_createRecordWithDefaults','_buildGallery','dateToExcelSerial','regenerateViewIds','defaultValue','getTypePlugin','ensureBaseTableCellLayout','invalidGroupField','inferBaseSeparatorStyle','column','join','createOp','BaseDataModel','patches','isFinite','IActiveDirtyManagerService','tableOrder','getCapabilities','DuplicateBaseRecordCommand','lastWeek','BaseProjection.projectGroups','rowIndexById','usableAsCardCover','_groupProjectionFieldIds','colorFieldId','call','validateFormula','_resolveGalleryCoverFieldId','createBaseFormulaResultPatches','bases.fieldConfig.textPlaceholder','deepClone','base.command.update-base-record-order','baseDateSerialToDateMs','invalidateByField','traceBasePerformanceAsync','base-perf-','currency','dateMode','unitId','scale','setValue','_title','#3b82f6','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_fieldRegistry','projection','now','_withModifiedSystemValues','_filterSortFieldIds','Working\x20day','edit','BaseCommandService','base.command.set-base-view-filter','exact','_runtimeContext','UpdateBaseKanbanConfigCommand','major-','setHours','getTypeOfUnitAdded$','_shouldRefreshSuperTables','_initDependencies','cardSize','setViewSort','doing','progressFieldId','includes','109338ndbnBU','isEmpty','_rowTransformCacheSegment','lookup','createUnit','revision','_formulaService','_cellRevisions','_patchProjectedRowsForCellInvalidations','label','some','localeCompare','ISuperTableService','syncUnit','keys','[BaseCommandService]:\x20cannot\x20delete\x20table.','duplicateField','registerSuperTables','lastMonth','canManageView','UniverProFormulaEnginePlugin','autoIncrement','bases.fieldConfig.linkPlaceholder','check','cellData','UpdateBaseFieldDescriptionCommand','End\x20date','tableId','Tools','past30','past7','[BaseCommandService]:\x20cannot\x20create\x20record.','hidden','UTC','periodComma','_setFormulaFieldCells','prototype','_groupCellInvalidations','fld-',',,,\x22B\x22','YYYY/MM/DD','order','week','unitWidth','timeslotSize','_requestCalculation','info','toDisposable','raw','params','fieldIds','Start\x20date','[BaseField]:\x20invalid\x20progress\x20value.','url','updateRecordOrder','_registerSuperTables','thisMonth','getOwnPropertyDescriptor','system','base.command.set-base-record-values','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','usableAsGanttEnd','config','find','createBaseFormulaCalculationDataset','canCreateField','fieldId','link','composeJson1Ops','recordId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DeleteBaseFieldCommand','_toDirtyRangePatch','toBaseRecordValue','_getActiveDirtyManagerService','getAllUnitsForType','exceptions','columnSettings','limit','12686bJcdeL','clearFieldPermission','day','replaceOp','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_createStructureDirtyData','_capabilities','toPrimitive','registerCommand','numbering','SetBaseViewFieldWidthCommand','_views','allowNegative','_commandService','end','createRecords','gantt','leftPaneWidth','MMM\x20D,\x20YYYY','#,##0','hh:mm','_globalRevision','13491VXMvZO','changed','kind','createCoreFieldPlugins','UniverInstanceType','canEditField','createField','getAll','_sortRows','[BaseField]:\x20invalid\x20date\x20value.','BaseProjection.materializeTableRows','Failed\x20to\x20create\x20update\x20cell\x20operation:','Inject','push','createIdentifier','baseJson1Path','_canUseFastSort','_calendarEventColor','col','getBaseCell','#BFDBFE','notContains','[BaseCommandService]:\x20cannot\x20delete\x20field.','card','indexOf','SetFormulaCalculationResultMutation','_tablePermissions','decompressBaseSnapshot','_getCachedProjection','Injector','invalidateByCell','value','search','base.command.delete-base-view','toFixed','_getDirtySuperTableMap','_basePermissions',',,\x22M\x22','generateRandomId'];_0x471d=function(){return _0x425622;};return _0x471d();}function jn(_0x45e0be,_0x5d3a7a){const _0x54ee9a=_0x3ddbdb;let _0x1e0e4a=_0x5d3a7a?_0x45e0be[_0x54ee9a(0x2c6)][_0x5d3a7a]:null;return!!_0x1e0e4a&&!_0x1e0e4a[_0x54ee9a(0x2e3)]&&_0x1e0e4a[_0x54ee9a(0x22c)]==='date'&&_0x1e0e4a[_0x54ee9a(0x181)]!==!0x0&&_0x1e0e4a[_0x54ee9a(0x363)]!==!0x0;}function Mn(_0x2cf581,_0x384a38,_0x509d4b){const _0x6678bf=_0x3ddbdb;let _0x540836=new Set([...Object[_0x6678bf(0x337)](_0x2cf581[_0x6678bf(0x2c6)]),..._0x384a38[_0x6678bf(0x423)](_0x50b841=>_0x50b841['id'])]),_0x2060cb=_0x6678bf(0x34f)+(0x0,e[_0x6678bf(0x3b4)])(0x8);for(;_0x540836['has'](_0x2060cb);)_0x2060cb=_0x6678bf(0x34f)+(0x0,e[_0x6678bf(0x3b4)])(0x8);return{'id':_0x2060cb,'name':yn(_0x2cf581,_0x509d4b,_0x384a38),'type':_0x6678bf(0x18b),'config':{...Sn}};}const Nn={'id':_0x3ddbdb(0x16f),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x11c4a8,_0x1b998f)=>{const _0x483216=_0x3ddbdb;if(!_0x1b998f)return!0x1;let _0x26eb78=_0x11c4a8['get'](e[_0x483216(0x25a)]),{unitId:_0x170cf2,tableId:_0xa67504,view:_0x86dc8,index:_0x54ac60}=_0x1b998f,_0x2f928f=_0x26eb78[_0x483216(0x252)](_0x170cf2,e[_0x483216(0x392)][_0x483216(0x1f7)]);if(!_0x2f928f)return!0x1;let _0x32dc15=_0x11c4a8[_0x483216(0x1d9)](e[_0x483216(0x21d)]),_0x6c1055=_0x11c4a8['get'](e[_0x483216(0x405)]),_0x441a32=_0x2f928f[_0x483216(0x214)](),_0x1536fd=Cn(_0x441a32,_0xa67504,_0x86dc8,_0x54ac60),_0x44bc25=new w()[_0x483216(0x1b5)](_0x441a32,_0x1536fd),_0x35e3ba={'unitId':_0x170cf2,'op':_0x1536fd},_0x2a3982={'unitId':_0x170cf2,'op':_0x44bc25};return _0x32dc15['syncExecuteCommand'](K['id'],_0x35e3ba)?(_0x26eb78[_0x483216(0x1bb)](_0x170cf2),_0x6c1055[_0x483216(0x3be)]({'unitID':_0x170cf2,'undoMutations':[{'id':K['id'],'params':_0x2a3982}],'redoMutations':[{'id':K['id'],'params':_0x35e3ba}]}),!0x0):!0x1;}},Pn={'id':'base.command.delete-base-field','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0x430c76,_0x545e3b){const _0xdab434=_0x3ddbdb;if(!_0x545e3b)return!0x1;let _0x4ad17f=_0x430c76[_0xdab434(0x1d9)](e[_0xdab434(0x25a)]),{unitId:_0x24614c,tableId:_0x5ceee4,fieldId:_0x454022}=_0x545e3b,_0x2974d8=_0x4ad17f[_0xdab434(0x252)](_0x24614c,e['UniverInstanceType'][_0xdab434(0x1f7)]);if(!_0x2974d8)return!0x1;let _0x46338b=_0x2974d8[_0xdab434(0x214)](),_0x2d57e0=_0x46338b['tables'][_0x5ceee4];if(!_0x2d57e0||_0x2d57e0[_0xdab434(0x140)]===_0x454022)return!0x1;let _0x56478b=_0x430c76[_0xdab434(0x1d9)](e[_0xdab434(0x21d)]),_0x21ef59=_0x430c76[_0xdab434(0x1d9)](e[_0xdab434(0x405)]),_0x58e605=new M()[_0xdab434(0x2a8)](_0x46338b,_0x5ceee4,_0x454022),_0x230715=new w()[_0xdab434(0x1b5)](_0x46338b,_0x58e605),_0x1e2897={'unitId':_0x24614c,'op':_0x58e605},_0x24ab4b={'unitId':_0x24614c,'op':_0x230715};return _0x56478b[_0xdab434(0x1a0)](K['id'],_0x1e2897)?(_0x4ad17f[_0xdab434(0x1bb)](_0x24614c),_0x21ef59[_0xdab434(0x3be)]({'unitID':_0x24614c,'undoMutations':[{'id':K['id'],'params':_0x24ab4b}],'redoMutations':[{'id':K['id'],'params':_0x1e2897}]}),!0x0):!0x1;}},Fn={'id':_0x3ddbdb(0x2d2),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x708a13,_0x55788f)=>{const _0x9e4c7=_0x3ddbdb;if(!_0x55788f)return!0x1;let _0x2f426d=_0x708a13[_0x9e4c7(0x1d9)](e['IUniverInstanceService']),{unitId:_0x1abdcb,tableId:_0x16d29a,recordId:_0x2db6f5}=_0x55788f,_0x4b2421=_0x2f426d[_0x9e4c7(0x252)](_0x1abdcb,e[_0x9e4c7(0x392)][_0x9e4c7(0x1f7)]);if(!_0x4b2421)return!0x1;let _0x33e80b=_0x708a13[_0x9e4c7(0x1d9)](e['ICommandService']),_0x470c0a=_0x708a13['get'](e[_0x9e4c7(0x405)]),_0x30ac0a=_0x4b2421[_0x9e4c7(0x214)](),_0x535b45=new M()[_0x9e4c7(0x154)](_0x30ac0a,_0x16d29a,_0x2db6f5),_0x7c4f39=new w()[_0x9e4c7(0x1b5)](_0x30ac0a,_0x535b45),_0x10f55e={'unitId':_0x1abdcb,'op':_0x535b45},_0x4f4d39={'unitId':_0x1abdcb,'op':_0x7c4f39};return _0x33e80b[_0x9e4c7(0x1a0)](K['id'],_0x10f55e)?(_0x2f426d[_0x9e4c7(0x1bb)](_0x1abdcb),_0x470c0a[_0x9e4c7(0x3be)]({'unitID':_0x1abdcb,'undoMutations':[{'id':K['id'],'params':_0x4f4d39}],'redoMutations':[{'id':K['id'],'params':_0x10f55e}]}),!0x0):!0x1;}},In={'id':_0x3ddbdb(0x147),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x54114f,_0x21aed0)=>{const _0x2030cb=_0x3ddbdb;if(!_0x21aed0)return!0x1;let _0x12ee56=_0x54114f[_0x2030cb(0x1d9)](e[_0x2030cb(0x25a)]),{unitId:_0x4b9e43,tableId:_0x231bc8}=_0x21aed0,_0x1a6adf=_0x12ee56[_0x2030cb(0x252)](_0x4b9e43,e['UniverInstanceType'][_0x2030cb(0x1f7)]);if(!_0x1a6adf)return!0x1;let _0x2f7e63=_0x54114f[_0x2030cb(0x1d9)](e[_0x2030cb(0x21d)]),_0x34a9a4=_0x54114f['get'](e[_0x2030cb(0x405)]),_0x1f5609=_0x1a6adf[_0x2030cb(0x214)](),_0x39c916=new M()[_0x2030cb(0x1e8)](_0x1f5609,_0x231bc8),_0x51af53=new w()[_0x2030cb(0x1b5)](_0x1f5609,_0x39c916),_0x11da4a={'unitId':_0x4b9e43,'op':_0x39c916},_0x58fafc={'unitId':_0x4b9e43,'op':_0x51af53};return _0x2f7e63[_0x2030cb(0x1a0)](K['id'],_0x11da4a)?(_0x12ee56[_0x2030cb(0x1bb)](_0x4b9e43),_0x34a9a4[_0x2030cb(0x3be)]({'unitID':_0x4b9e43,'undoMutations':[{'id':K['id'],'params':_0x58fafc}],'redoMutations':[{'id':K['id'],'params':_0x11da4a}]}),!0x0):!0x1;}},Ln={'id':_0x3ddbdb(0x3af),'type':e['CommandType'][_0x3ddbdb(0x43a)],'handler':(_0x44d638,_0x52bd24)=>{const _0x27ed66=_0x3ddbdb;if(!_0x52bd24)return!0x1;let _0x4aba95=_0x44d638[_0x27ed66(0x1d9)](e[_0x27ed66(0x25a)]),{unitId:_0x440496,tableId:_0x3dadf,viewId:_0x27ef26}=_0x52bd24,_0x77ecaf=_0x4aba95['getUnit'](_0x440496,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x77ecaf)return!0x1;let _0x29544b=_0x44d638[_0x27ed66(0x1d9)](e['ICommandService']),_0x18abf9=_0x44d638[_0x27ed66(0x1d9)](e[_0x27ed66(0x405)]),_0x15edae=_0x77ecaf[_0x27ed66(0x214)](),_0x6b975a=new M()[_0x27ed66(0x269)](_0x15edae,_0x3dadf,_0x27ef26),_0x24958f=new w()['invertOp'](_0x15edae,_0x6b975a),_0x523e13={'unitId':_0x440496,'op':_0x6b975a},_0x1061e7={'unitId':_0x440496,'op':_0x24958f};return _0x29544b[_0x27ed66(0x1a0)](K['id'],_0x523e13)?(_0x4aba95['focusUnit'](_0x440496),_0x18abf9[_0x27ed66(0x3be)]({'unitID':_0x440496,'undoMutations':[{'id':K['id'],'params':_0x1061e7}],'redoMutations':[{'id':K['id'],'params':_0x523e13}]}),!0x0):!0x1;}},Rn={'id':'base.command.duplicate-base-field','type':e['CommandType'][_0x3ddbdb(0x43a)],'handler':(_0xebfe09,_0x5146d0)=>{const _0x3f560c=_0x3ddbdb;if(!_0x5146d0)return!0x1;let _0x10a607=_0xebfe09[_0x3f560c(0x1d9)](e['IUniverInstanceService']),{unitId:_0x2b15db,tableId:_0x349253,sourceFieldId:_0x81b000,field:_0x359759,index:_0x5a7c51,viewIndexes:_0x2246fd}=_0x5146d0,_0x244f50=_0x10a607[_0x3f560c(0x252)](_0x2b15db,e['UniverInstanceType'][_0x3f560c(0x1f7)]);if(!_0x244f50)return!0x1;let _0x5ed222=_0xebfe09[_0x3f560c(0x1d9)](e[_0x3f560c(0x21d)]),_0x50ed0e=_0xebfe09[_0x3f560c(0x1d9)](e[_0x3f560c(0x405)]),_0x11811c=_0x244f50[_0x3f560c(0x214)](),_0x26c8ca=new M()['duplicateField'](_0x11811c,_0x349253,_0x81b000,{'field':_0x359759,'index':_0x5a7c51,'viewIndexes':_0x2246fd}),_0xbb68a3=new w()[_0x3f560c(0x1b5)](_0x11811c,_0x26c8ca),_0x126631={'unitId':_0x2b15db,'op':_0x26c8ca},_0x184597={'unitId':_0x2b15db,'op':_0xbb68a3};return _0x5ed222['syncExecuteCommand'](K['id'],_0x126631)?(_0x10a607[_0x3f560c(0x1bb)](_0x2b15db),_0x50ed0e['pushUndoRedo']({'unitID':_0x2b15db,'undoMutations':[{'id':K['id'],'params':_0x184597}],'redoMutations':[{'id':K['id'],'params':_0x126631}]}),!0x0):!0x1;}},zn={'id':'base.command.duplicate-base-record','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x2ce3da,_0x44f213)=>{const _0x1ba331=_0x3ddbdb;if(!_0x44f213)return!0x1;let _0x16f811=_0x2ce3da[_0x1ba331(0x1d9)](e[_0x1ba331(0x25a)]),{unitId:_0x425306,tableId:_0x4a656e,sourceRecordId:_0x4008ef,record:_0x5e31e8}=_0x44f213,_0x4b654f=_0x16f811[_0x1ba331(0x252)](_0x425306,e[_0x1ba331(0x392)]['UNIVER_BASE']);if(!_0x4b654f)return!0x1;let _0x37ff8e=_0x2ce3da[_0x1ba331(0x1d9)](e[_0x1ba331(0x21d)]),_0x4f5d28=_0x2ce3da[_0x1ba331(0x1d9)](e[_0x1ba331(0x405)]),_0x5f1e21=_0x4b654f[_0x1ba331(0x214)](),_0x9241ec=new M()[_0x1ba331(0x298)](_0x5f1e21,_0x4a656e,_0x4008ef,_0x5e31e8),_0x331178=new w()[_0x1ba331(0x1b5)](_0x5f1e21,_0x9241ec),_0x9476ac={'unitId':_0x425306,'op':_0x9241ec},_0x25052c={'unitId':_0x425306,'op':_0x331178};return _0x37ff8e[_0x1ba331(0x1a0)](K['id'],_0x9476ac)?(_0x16f811['focusUnit'](_0x425306),_0x4f5d28[_0x1ba331(0x3be)]({'unitID':_0x425306,'undoMutations':[{'id':K['id'],'params':_0x25052c}],'redoMutations':[{'id':K['id'],'params':_0x9476ac}]}),!0x0):!0x1;}},Bn={'id':_0x3ddbdb(0x41e),'type':e['CommandType']['COMMAND'],'handler'(_0x248b55,_0x4a50fe){const _0xbbd867=_0x3ddbdb;if(!_0x4a50fe)return!0x1;let _0x37d449=_0x248b55[_0xbbd867(0x1d9)](e[_0xbbd867(0x25a)]),{unitId:_0x4699ca,tableId:_0x318d8b,viewId:_0x114ebf,ensureEndDateField:_0x532763}=_0x4a50fe,_0x260bcb=_0x37d449['getUnit'](_0x4699ca,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x260bcb)return!0x1;let _0x456df7=_0x260bcb['getSnapshot'](),_0x5009d2=_0x456df7['tables'][_0x318d8b],_0x19215a=_0x5009d2==null?void 0x0:_0x5009d2[_0xbbd867(0x195)][_0x114ebf];if(!_0x5009d2||!_0x19215a||_0x19215a[_0xbbd867(0x2e3)]||_0x19215a['type']!==_0xbbd867(0x289)&&_0x19215a[_0xbbd867(0x22c)]!==_0xbbd867(0x388))return!0x1;let _0x1479bf=wn(_0x5009d2,_0x19215a,_0x532763===!0x0);if(!_0x1479bf['changed'])return!0x1;let _0x39e6d2=_0x248b55[_0xbbd867(0x1d9)](e['ICommandService']),_0x565c4c=_0x248b55['get'](e[_0xbbd867(0x405)]),_0x2ad57e=new M(),_0x375f73=[..._0x1479bf[_0xbbd867(0x2c6)][_0xbbd867(0x423)](_0x31fc56=>_0x2ad57e[_0xbbd867(0x394)](_0x456df7,_0x4a50fe[_0xbbd867(0x344)],{'field':_0x31fc56})),Vn([...Hn(_0x4a50fe[_0xbbd867(0x344)],_0x4a50fe[_0xbbd867(0x3d0)]),'config'],_0x19215a[_0xbbd867(0x367)],_0x1479bf['config'])];_0x1479bf[_0xbbd867(0x3c0)]&&_0x375f73[_0xbbd867(0x39b)](Vn([...Hn(_0x4a50fe[_0xbbd867(0x344)],_0x4a50fe['viewId']),'fieldOrder'],_0x19215a['fieldOrder'],_0x1479bf[_0xbbd867(0x3c0)]));let _0x2e6220=j(_0x375f73),_0x483701=new w()[_0xbbd867(0x1b5)](_0x456df7,_0x2e6220),_0x4d1d3a={'unitId':_0x4699ca,'op':_0x2e6220},_0x33e249={'unitId':_0x4699ca,'op':_0x483701};return _0x39e6d2[_0xbbd867(0x1a0)](K['id'],_0x4d1d3a)?(_0x37d449[_0xbbd867(0x1bb)](_0x4699ca),_0x565c4c[_0xbbd867(0x3be)]({'unitID':_0x4699ca,'undoMutations':[{'id':K['id'],'params':_0x33e249}],'redoMutations':[{'id':K['id'],'params':_0x4d1d3a}]}),!0x0):!0x1;}};function Vn(_0x276c6f,_0x57c273,_0x1c032d){const _0x36e197=_0x3ddbdb;return _0x57c273===void 0x0?e[_0x36e197(0x162)][_0x36e197(0x2bf)](_0x276c6f,_0x1c032d):e[_0x36e197(0x162)][_0x36e197(0x37b)](_0x276c6f,_0x57c273,_0x1c032d);}function Hn(_0x4bb9ff,_0x2d99fe){const _0x4fe993=_0x3ddbdb;return[_0x4fe993(0x16c),_0x4bb9ff,_0x4fe993(0x195),_0x2d99fe];}const Un={'id':'base.command.move-base-field','type':e[_0x3ddbdb(0x227)]['COMMAND'],'handler':(_0x501850,_0x1229d8)=>{const _0x2d29c7=_0x3ddbdb;if(!_0x1229d8)return!0x1;let _0x5a92df=_0x501850[_0x2d29c7(0x1d9)](e[_0x2d29c7(0x25a)]),{unitId:_0x233be7,tableId:_0x52fe7d,fieldId:_0x193004,target:_0x427c48}=_0x1229d8,_0x5e51ab=_0x5a92df['getUnit'](_0x233be7,e[_0x2d29c7(0x392)]['UNIVER_BASE']);if(!_0x5e51ab)return!0x1;let _0x55c5f4=_0x501850[_0x2d29c7(0x1d9)](e[_0x2d29c7(0x21d)]),_0x4f3b74=_0x501850[_0x2d29c7(0x1d9)](e[_0x2d29c7(0x405)]),_0x27ed0e=_0x5e51ab[_0x2d29c7(0x214)](),_0x15550d=new M()['moveField'](_0x27ed0e,_0x52fe7d,_0x193004,_0x427c48),_0x2ffa91=new w()[_0x2d29c7(0x1b5)](_0x27ed0e,_0x15550d),_0xdba161={'unitId':_0x233be7,'op':_0x15550d},_0x4c43c4={'unitId':_0x233be7,'op':_0x2ffa91};return _0x55c5f4['syncExecuteCommand'](K['id'],_0xdba161)?(_0x5a92df['focusUnit'](_0x233be7),_0x4f3b74[_0x2d29c7(0x3be)]({'unitID':_0x233be7,'undoMutations':[{'id':K['id'],'params':_0x4c43c4}],'redoMutations':[{'id':K['id'],'params':_0xdba161}]}),!0x0):!0x1;}},Wn={'id':_0x3ddbdb(0x19b),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x6498a5,_0x2d0e9c)=>{const _0x240f89=_0x3ddbdb;if(!_0x2d0e9c)return!0x1;let _0x510e0b=_0x6498a5[_0x240f89(0x1d9)](e['IUniverInstanceService']),{unitId:_0x66a726,tableId:_0x45ca73,viewId:_0x1328a3,target:_0x7ddf48}=_0x2d0e9c,_0x569708=_0x510e0b[_0x240f89(0x252)](_0x66a726,e[_0x240f89(0x392)][_0x240f89(0x1f7)]);if(!_0x569708)return!0x1;let _0x474fe4=_0x6498a5['get'](e[_0x240f89(0x21d)]),_0x48a1fa=_0x6498a5['get'](e[_0x240f89(0x405)]),_0xc8c25f=_0x569708[_0x240f89(0x214)](),_0x30a06a=new M()[_0x240f89(0x3d4)](_0xc8c25f,_0x45ca73,_0x1328a3,_0x7ddf48),_0x5ccca=new w()['invertOp'](_0xc8c25f,_0x30a06a),_0x27d714={'unitId':_0x66a726,'op':_0x30a06a},_0x48c73d={'unitId':_0x66a726,'op':_0x5ccca};return _0x474fe4[_0x240f89(0x1a0)](K['id'],_0x27d714)?(_0x510e0b[_0x240f89(0x1bb)](_0x66a726),_0x48a1fa[_0x240f89(0x3be)]({'unitID':_0x66a726,'undoMutations':[{'id':K['id'],'params':_0x48c73d}],'redoMutations':[{'id':K['id'],'params':_0x27d714}]}),!0x0):!0x1;}},Gn={'id':'base.command.rename-base-table','type':e['CommandType'][_0x3ddbdb(0x43a)],'handler':(_0x2fe048,_0x52eba6)=>{const _0x4631f1=_0x3ddbdb;if(!_0x52eba6)return!0x1;let _0x1bd4ad=_0x2fe048['get'](e[_0x4631f1(0x25a)]),{unitId:_0x4aa04b,tableId:_0x460930,name:_0x29a25c}=_0x52eba6,_0x1fa63b=_0x1bd4ad[_0x4631f1(0x252)](_0x4aa04b,e[_0x4631f1(0x392)][_0x4631f1(0x1f7)]);if(!_0x1fa63b)return!0x1;let _0x111b11=_0x2fe048[_0x4631f1(0x1d9)](e['ICommandService']),_0x5fbc67=_0x2fe048[_0x4631f1(0x1d9)](e[_0x4631f1(0x405)]),_0x63a474=_0x1fa63b['getSnapshot'](),_0x31c50c=new M()['renameTable'](_0x63a474,_0x460930,_0x29a25c),_0x56bfa7=new w()['invertOp'](_0x63a474,_0x31c50c),_0x2ea6b4={'unitId':_0x4aa04b,'op':_0x31c50c},_0x31852b={'unitId':_0x4aa04b,'op':_0x56bfa7};return _0x111b11[_0x4631f1(0x1a0)](K['id'],_0x2ea6b4)?(_0x1bd4ad[_0x4631f1(0x1bb)](_0x4aa04b),_0x5fbc67[_0x4631f1(0x3be)]({'unitID':_0x4aa04b,'undoMutations':[{'id':K['id'],'params':_0x31852b}],'redoMutations':[{'id':K['id'],'params':_0x2ea6b4}]}),!0x0):!0x1;}},Kn={'id':_0x3ddbdb(0x189),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x493327,_0x528865)=>{const _0x40f056=_0x3ddbdb;if(!_0x528865)return!0x1;let _0x45f274=_0x493327[_0x40f056(0x1d9)](e[_0x40f056(0x25a)]),{unitId:_0x3a7f11,tableId:_0x2633a9,viewId:_0x4ca294,name:_0x366753}=_0x528865,_0x4f3b30=_0x45f274[_0x40f056(0x252)](_0x3a7f11,e['UniverInstanceType'][_0x40f056(0x1f7)]);if(!_0x4f3b30)return!0x1;let _0x3bf032=_0x493327[_0x40f056(0x1d9)](e[_0x40f056(0x21d)]),_0x1e10c6=_0x493327[_0x40f056(0x1d9)](e[_0x40f056(0x405)]),_0x2381c8=_0x4f3b30[_0x40f056(0x214)](),_0x26b889=new M()[_0x40f056(0x1dc)](_0x2381c8,_0x2633a9,_0x4ca294,_0x366753),_0x44c170=new w()[_0x40f056(0x1b5)](_0x2381c8,_0x26b889),_0x4b00e4={'unitId':_0x3a7f11,'op':_0x26b889},_0xcdaa30={'unitId':_0x3a7f11,'op':_0x44c170};return _0x3bf032[_0x40f056(0x1a0)](K['id'],_0x4b00e4)?(_0x45f274['focusUnit'](_0x3a7f11),_0x1e10c6[_0x40f056(0x3be)]({'unitID':_0x3a7f11,'undoMutations':[{'id':K['id'],'params':_0xcdaa30}],'redoMutations':[{'id':K['id'],'params':_0x4b00e4}]}),!0x0):!0x1;}},qn={'id':'base.command.set-base-kanban-group-field','type':e[_0x3ddbdb(0x227)]['COMMAND'],'handler':(_0x226d17,_0x907e86)=>{const _0x221031=_0x3ddbdb;if(!_0x907e86)return!0x1;let _0x16b64c=_0x226d17[_0x221031(0x1d9)](e[_0x221031(0x25a)]),{unitId:_0x83b55e,tableId:_0x318587,viewId:_0x4577aa,fieldId:_0x2178f7}=_0x907e86,_0x2506e8=_0x16b64c[_0x221031(0x252)](_0x83b55e,e[_0x221031(0x392)]['UNIVER_BASE']);if(!_0x2506e8)return!0x1;let _0x11ac9d=_0x226d17[_0x221031(0x1d9)](e[_0x221031(0x21d)]),_0x981884=_0x226d17[_0x221031(0x1d9)](e[_0x221031(0x405)]),_0x10eec5=_0x2506e8['getSnapshot'](),_0x34a968=new M()[_0x221031(0x290)](_0x10eec5,_0x318587,_0x4577aa,{'groupFieldId':_0x2178f7}),_0x5a6f72=new w()[_0x221031(0x1b5)](_0x10eec5,_0x34a968),_0x3db11={'unitId':_0x83b55e,'op':_0x34a968},_0x1dc163={'unitId':_0x83b55e,'op':_0x5a6f72};return _0x11ac9d[_0x221031(0x1a0)](K['id'],_0x3db11)?(_0x16b64c['focusUnit'](_0x83b55e),_0x981884[_0x221031(0x3be)]({'unitID':_0x83b55e,'undoMutations':[{'id':K['id'],'params':_0x1dc163}],'redoMutations':[{'id':K['id'],'params':_0x3db11}]}),!0x0):!0x1;}},Jn={'id':_0x3ddbdb(0x278),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0xf1179c,_0x5777b0){const _0x933185=_0x3ddbdb;if(!_0x5777b0)return!0x1;let _0x166783=_0xf1179c['get'](e[_0x933185(0x25a)]),{unitId:_0x229094,tableId:_0x3fea6a,patches:_0x13892d}=_0x5777b0,_0x345551=_0x166783['getUnit'](_0x229094,e[_0x933185(0x392)][_0x933185(0x1f7)]);if(!_0x345551)return!0x1;let _0x17a58a=_0xf1179c[_0x933185(0x1d9)](e[_0x933185(0x21d)]),_0x59639e=_0xf1179c[_0x933185(0x1d9)](e[_0x933185(0x405)]),_0x590bee=_0x345551[_0x933185(0x214)](),_0x13caf1=f(_0x590bee[_0x933185(0x16c)][_0x3fea6a]),_0xade116=_0x13892d[_0x933185(0x292)](_0x41583e=>{const _0x79cf40=_0x933185;var _0x5833f3,_0x2fe9af;if(_0x79cf40(0x2cd)in _0x41583e)return[_0x41583e];let _0x50b0fc=(_0x5833f3=_0x13caf1[_0x79cf40(0x3f7)])==null?void 0x0:_0x5833f3[_0x41583e['recordId']],_0x4d0eac=(_0x2fe9af=_0x13caf1[_0x79cf40(0x1f6)])==null?void 0x0:_0x2fe9af[_0x41583e['fieldId']];return _0x50b0fc==null||_0x4d0eac==null?[]:[{'row':_0x50b0fc,'col':_0x4d0eac,'value':_0x41583e['value']}];}),_0x435bca=new M()['setRangeValues'](_0x590bee,_0x3fea6a,_0xade116),_0x30e72b=new w()['invertOp'](_0x590bee,_0x435bca),_0x184bc5={'unitId':_0x229094,'op':_0x435bca},_0x559486={'unitId':_0x229094,'op':_0x30e72b};return _0x17a58a[_0x933185(0x1a0)](K['id'],_0x184bc5)?(_0x166783[_0x933185(0x1bb)](_0x229094),_0x59639e['pushUndoRedo']({'unitID':_0x229094,'undoMutations':[{'id':K['id'],'params':_0x559486}],'redoMutations':[{'id':K['id'],'params':_0x184bc5}]}),!0x0):!0x1;}},Yn={'id':_0x3ddbdb(0x364),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0x3ce390,_0x5f4f50){const _0x3318bd=_0x3ddbdb;if(!_0x5f4f50)return!0x1;let _0x53467c=_0x3ce390[_0x3318bd(0x1d9)](e[_0x3318bd(0x25a)]),{unitId:_0x1768bd,tableId:_0x42a5a3,patches:_0x31f949}=_0x5f4f50,_0xd369b3=_0x53467c[_0x3318bd(0x252)](_0x1768bd,e[_0x3318bd(0x392)][_0x3318bd(0x1f7)]);if(!_0xd369b3)return!0x1;let _0x11abf=_0x3ce390['get'](e['ICommandService']),_0x4df025=_0x3ce390['get'](e[_0x3318bd(0x405)]),_0x4c6af6=_0x3ce390[_0x3318bd(0x1d9)](z)[_0x3318bd(0x156)](_0xd369b3,_0x42a5a3,_0x31f949),_0x5dfbb3=new w()['invertOp'](_0xd369b3['getSnapshot'](),_0x4c6af6),_0x2b6d2f={'unitId':_0x1768bd,'op':_0x4c6af6},_0x45020e={'unitId':_0x1768bd,'op':_0x5dfbb3};return _0x11abf['syncExecuteCommand'](K['id'],_0x2b6d2f)?(_0x53467c[_0x3318bd(0x1bb)](_0x1768bd),_0x4df025[_0x3318bd(0x3be)]({'unitID':_0x1768bd,'undoMutations':[{'id':K['id'],'params':_0x45020e}],'redoMutations':[{'id':K['id'],'params':_0x2b6d2f}]}),!0x0):!0x1;}},Xn={'id':'base.command.set-base-view-field-order','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x19a2e3,_0x3d8416)=>{const _0x63ee47=_0x3ddbdb;if(!_0x3d8416)return!0x1;let _0x593c65=_0x19a2e3[_0x63ee47(0x1d9)](e[_0x63ee47(0x25a)]),{unitId:_0xb57ac9,tableId:_0x235441,viewId:_0x538e1e,fieldId:_0x434cc4,target:_0x5ae346}=_0x3d8416,_0x2b0447=_0x593c65[_0x63ee47(0x252)](_0xb57ac9,e['UniverInstanceType'][_0x63ee47(0x1f7)]);if(!_0x2b0447)return!0x1;let _0x159a2=_0x19a2e3[_0x63ee47(0x1d9)](e['ICommandService']),_0x434f4d=_0x19a2e3[_0x63ee47(0x1d9)](e['IUndoRedoService']),_0x4eaabc=_0x2b0447[_0x63ee47(0x214)](),_0xb6811f=new M()['setViewFieldOrder'](_0x4eaabc,_0x235441,_0x538e1e,_0x434cc4,_0x5ae346),_0x1d02d8=new w()[_0x63ee47(0x1b5)](_0x4eaabc,_0xb6811f),_0x242c14={'unitId':_0xb57ac9,'op':_0xb6811f},_0x1517fa={'unitId':_0xb57ac9,'op':_0x1d02d8};return _0x159a2[_0x63ee47(0x1a0)](K['id'],_0x242c14)?(_0x593c65[_0x63ee47(0x1bb)](_0xb57ac9),_0x434f4d[_0x63ee47(0x3be)]({'unitID':_0xb57ac9,'undoMutations':[{'id':K['id'],'params':_0x1517fa}],'redoMutations':[{'id':K['id'],'params':_0x242c14}]}),!0x0):!0x1;}},Zn={'id':'base.command.set-base-view-field-visible','type':e['CommandType'][_0x3ddbdb(0x43a)],'handler'(_0x3d9ecc,_0x412d0f){const _0x474007=_0x3ddbdb;if(!_0x412d0f)return!0x1;let _0x56d50a=_0x3d9ecc[_0x474007(0x1d9)](e[_0x474007(0x25a)]),{unitId:_0x43ecb7,tableId:_0x98b860,viewId:_0xfa4f94,fieldId:_0x3b2dcc,visible:_0x5e0867}=_0x412d0f,_0x19f07e=_0x56d50a['getUnit'](_0x43ecb7,e[_0x474007(0x392)][_0x474007(0x1f7)]);if(!_0x19f07e)return!0x1;let _0x9c6e5c=_0x3d9ecc[_0x474007(0x1d9)](e[_0x474007(0x21d)]),_0x19c10f=_0x3d9ecc['get'](e[_0x474007(0x405)]),_0x568dba=_0x19f07e['getSnapshot'](),_0x154087=new M()['setViewFieldVisible'](_0x568dba,_0x98b860,_0xfa4f94,_0x3b2dcc,_0x5e0867),_0x4b4159=new w()[_0x474007(0x1b5)](_0x568dba,_0x154087),_0x2e30da={'unitId':_0x43ecb7,'op':_0x154087},_0xcafa6d={'unitId':_0x43ecb7,'op':_0x4b4159};return _0x9c6e5c[_0x474007(0x1a0)](K['id'],_0x2e30da)?(_0x56d50a[_0x474007(0x1bb)](_0x43ecb7),_0x19c10f[_0x474007(0x3be)]({'unitID':_0x43ecb7,'undoMutations':[{'id':K['id'],'params':_0xcafa6d}],'redoMutations':[{'id':K['id'],'params':_0x2e30da}]}),!0x0):!0x1;}},Qn={'id':'base.command.set-base-view-field-width','type':e[_0x3ddbdb(0x227)]['COMMAND'],'handler':(_0xfb6a77,_0x1c61af)=>{const _0x53cdbb=_0x3ddbdb;if(!_0x1c61af)return!0x1;let _0x3b7f04=_0xfb6a77[_0x53cdbb(0x1d9)](e['IUniverInstanceService']),{unitId:_0x288e1a,tableId:_0x3f2d19,viewId:_0x4bce6c,fieldId:_0x4f16be,width:_0x277c73}=_0x1c61af,_0x3ab66a=_0x3b7f04[_0x53cdbb(0x252)](_0x288e1a,e[_0x53cdbb(0x392)]['UNIVER_BASE']);if(!_0x3ab66a)return!0x1;let _0x564494=_0xfb6a77[_0x53cdbb(0x1d9)](e[_0x53cdbb(0x21d)]),_0x5004c3=_0xfb6a77[_0x53cdbb(0x1d9)](e[_0x53cdbb(0x405)]),_0x101d5f=_0x3ab66a[_0x53cdbb(0x214)](),_0x59ec52=new M()[_0x53cdbb(0x3f6)](_0x101d5f,_0x3f2d19,_0x4bce6c,_0x4f16be,_0x277c73),_0x30698f=new w()[_0x53cdbb(0x1b5)](_0x101d5f,_0x59ec52),_0x21cd59={'unitId':_0x288e1a,'op':_0x59ec52},_0x5c0414={'unitId':_0x288e1a,'op':_0x30698f};return _0x564494[_0x53cdbb(0x1a0)](K['id'],_0x21cd59)?(_0x3b7f04[_0x53cdbb(0x1bb)](_0x288e1a),_0x5004c3[_0x53cdbb(0x3be)]({'unitID':_0x288e1a,'undoMutations':[{'id':K['id'],'params':_0x5c0414}],'redoMutations':[{'id':K['id'],'params':_0x21cd59}]}),!0x0):!0x1;}},$n={'id':_0x3ddbdb(0x31b),'type':e[_0x3ddbdb(0x227)]['COMMAND'],'handler':(_0x1e2511,_0x59298c)=>{const _0x50f5ff=_0x3ddbdb;if(!_0x59298c)return!0x1;let _0x475f3d=_0x1e2511[_0x50f5ff(0x1d9)](e['IUniverInstanceService']),{unitId:_0x9978b9,tableId:_0x3f2dee,viewId:_0x1c7373,filter:_0x4e16b6}=_0x59298c,_0x1a9926=_0x475f3d[_0x50f5ff(0x252)](_0x9978b9,e[_0x50f5ff(0x392)]['UNIVER_BASE']);if(!_0x1a9926)return!0x1;let _0x23d733=_0x1e2511['get'](e[_0x50f5ff(0x21d)]),_0x397f2a=_0x1e2511[_0x50f5ff(0x1d9)](e[_0x50f5ff(0x405)]),_0x337307=_0x1a9926[_0x50f5ff(0x214)](),_0x2ec978=new M()[_0x50f5ff(0x26f)](_0x337307,_0x3f2dee,_0x1c7373,_0x4e16b6),_0x155410=new w()[_0x50f5ff(0x1b5)](_0x337307,_0x2ec978),_0x56350e={'unitId':_0x9978b9,'op':_0x2ec978},_0x9cc5e5={'unitId':_0x9978b9,'op':_0x155410};return _0x23d733['syncExecuteCommand'](K['id'],_0x56350e)?(_0x475f3d[_0x50f5ff(0x1bb)](_0x9978b9),_0x397f2a[_0x50f5ff(0x3be)]({'unitID':_0x9978b9,'undoMutations':[{'id':K['id'],'params':_0x9cc5e5}],'redoMutations':[{'id':K['id'],'params':_0x56350e}]}),!0x0):!0x1;}},er={'id':'base.command.set-base-view-group','type':e['CommandType'][_0x3ddbdb(0x43a)],'handler':(_0x432623,_0x25b0a4)=>{const _0x403902=_0x3ddbdb;if(!_0x25b0a4)return!0x1;let _0x3556f3=_0x432623[_0x403902(0x1d9)](e[_0x403902(0x25a)]),{unitId:_0x4fd7d1,tableId:_0x243e3b,viewId:_0x12af58,group:_0x4e5ae8}=_0x25b0a4,_0x5d24ea=_0x3556f3[_0x403902(0x252)](_0x4fd7d1,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x5d24ea)return!0x1;let _0x439e6a=_0x432623[_0x403902(0x1d9)](e[_0x403902(0x21d)]),_0x2514f0=_0x432623[_0x403902(0x1d9)](e[_0x403902(0x405)]),_0xba1a98=_0x5d24ea[_0x403902(0x214)](),_0xecd1f3=new M()[_0x403902(0x23a)](_0xba1a98,_0x243e3b,_0x12af58,_0x4e5ae8),_0x3b63b6=new w()[_0x403902(0x1b5)](_0xba1a98,_0xecd1f3),_0x46fbb7={'unitId':_0x4fd7d1,'op':_0xecd1f3},_0x1f1074={'unitId':_0x4fd7d1,'op':_0x3b63b6};return _0x439e6a[_0x403902(0x1a0)](K['id'],_0x46fbb7)?(_0x3556f3[_0x403902(0x1bb)](_0x4fd7d1),_0x2514f0['pushUndoRedo']({'unitID':_0x4fd7d1,'undoMutations':[{'id':K['id'],'params':_0x1f1074}],'redoMutations':[{'id':K['id'],'params':_0x46fbb7}]}),!0x0):!0x1;}},tr={'id':_0x3ddbdb(0x1cd),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x2c2e98,_0x351498)=>{const _0x12e9d1=_0x3ddbdb;if(!_0x351498)return!0x1;let _0x416c92=_0x2c2e98['get'](e['IUniverInstanceService']),{unitId:_0x188793,tableId:_0x603591,viewId:_0x4ed425,sort:_0x16164f}=_0x351498,_0x1ea8b0=_0x416c92['getUnit'](_0x188793,e['UniverInstanceType'][_0x12e9d1(0x1f7)]);if(!_0x1ea8b0)return!0x1;let _0xc54b5e=_0x2c2e98[_0x12e9d1(0x1d9)](e[_0x12e9d1(0x21d)]),_0x49147c=_0x2c2e98[_0x12e9d1(0x1d9)](e['IUndoRedoService']),_0x3614a1=_0x1ea8b0[_0x12e9d1(0x214)](),_0x3a9fcf=new M()[_0x12e9d1(0x325)](_0x3614a1,_0x603591,_0x4ed425,_0x16164f),_0x143442=new w()[_0x12e9d1(0x1b5)](_0x3614a1,_0x3a9fcf),_0x5020cd={'unitId':_0x188793,'op':_0x3a9fcf},_0x4ff764={'unitId':_0x188793,'op':_0x143442};return _0xc54b5e['syncExecuteCommand'](K['id'],_0x5020cd)?(_0x416c92['focusUnit'](_0x188793),_0x49147c[_0x12e9d1(0x3be)]({'unitID':_0x188793,'undoMutations':[{'id':K['id'],'params':_0x4ff764}],'redoMutations':[{'id':K['id'],'params':_0x5020cd}]}),!0x0):!0x1;}},nr={'id':_0x3ddbdb(0x226),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0xf59c2e,_0xaf29e3){const _0xa0ac3f=_0x3ddbdb;if(!_0xaf29e3)return!0x1;let _0x33ce43=_0xf59c2e[_0xa0ac3f(0x1d9)](e[_0xa0ac3f(0x25a)]),{unitId:_0x4e7d01,tableId:_0x1468b4,recordId:_0x570d19,fieldId:_0x31c142,value:_0x3ddefc}=_0xaf29e3,_0x172270=_0x33ce43[_0xa0ac3f(0x252)](_0x4e7d01,e[_0xa0ac3f(0x392)]['UNIVER_BASE']);if(!_0x172270)return!0x1;let _0x4f9ea1=_0xf59c2e[_0xa0ac3f(0x1d9)](e[_0xa0ac3f(0x21d)]),_0x7329a4=_0xf59c2e[_0xa0ac3f(0x1d9)](e[_0xa0ac3f(0x405)]),_0x14fd91=_0xf59c2e[_0xa0ac3f(0x1d9)](z),_0x16a036;try{_0x16a036=_0x14fd91[_0xa0ac3f(0x1f2)](_0x172270,_0x1468b4,_0x570d19,_0x31c142,_0x3ddefc);}catch(_0x398087){return console[_0xa0ac3f(0x243)](_0xa0ac3f(0x399),_0x398087),!0x1;}let _0x14c95d=new w()[_0xa0ac3f(0x1b5)](_0x172270['getSnapshot'](),_0x16a036),_0x28be32={'unitId':_0x4e7d01,'op':_0x16a036},_0x2faa0e={'unitId':_0x4e7d01,'op':_0x14c95d};return _0x4f9ea1[_0xa0ac3f(0x1a0)](K['id'],_0x28be32)?(_0x33ce43[_0xa0ac3f(0x1bb)](_0x4e7d01),_0x7329a4[_0xa0ac3f(0x3be)]({'unitID':_0x4e7d01,'undoMutations':[{'id':K['id'],'params':_0x2faa0e}],'redoMutations':[{'id':K['id'],'params':_0x28be32}]}),!0x0):!0x1;}},rr={'id':'base.command.update-base-field-description','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler'(_0x2c80cd,_0x5cb961){const _0x155354=_0x3ddbdb;if(!_0x5cb961)return!0x1;let _0x196a49=_0x2c80cd[_0x155354(0x1d9)](e[_0x155354(0x25a)]),{unitId:_0x112cfc,tableId:_0x96693f,fieldId:_0x2ebca3}=_0x5cb961,_0x5c6961=_0x196a49[_0x155354(0x252)](_0x112cfc,e[_0x155354(0x392)]['UNIVER_BASE']);if(!_0x5c6961)return!0x1;let _0x234f34=_0x2c80cd['get'](e['ICommandService']),_0x388963=_0x2c80cd[_0x155354(0x1d9)](e[_0x155354(0x405)]),_0x170bae=_0x5c6961[_0x155354(0x214)](),_0xc8d306=_0x5cb961[_0x155354(0x2bd)][_0x155354(0x2ab)](),_0x4acc94=new M()[_0x155354(0x27b)](_0x170bae,_0x96693f,_0x2ebca3,{'description':_0xc8d306}),_0x4bbd99=new w()[_0x155354(0x1b5)](_0x5c6961[_0x155354(0x214)](),_0x4acc94),_0x2152b9={'unitId':_0x112cfc,'op':_0x4acc94},_0xbfaedb={'unitId':_0x112cfc,'op':_0x4bbd99};return _0x234f34[_0x155354(0x1a0)](K['id'],_0x2152b9)?(_0x196a49['focusUnit'](_0x112cfc),_0x388963[_0x155354(0x3be)]({'unitID':_0x112cfc,'undoMutations':[{'id':K['id'],'params':_0xbfaedb}],'redoMutations':[{'id':K['id'],'params':_0x2152b9}]}),!0x0):!0x1;}},ir={'id':_0x3ddbdb(0x220),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x570add,_0xab1e8c)=>{const _0x25da77=_0x3ddbdb;if(!_0xab1e8c)return!0x1;let _0x1f43f0=_0x570add[_0x25da77(0x1d9)](e[_0x25da77(0x25a)]),{unitId:_0x10cd11,tableId:_0x235010,fieldId:_0x4c515f,patch:_0x6e408}=_0xab1e8c,_0x1f1ec6=_0x1f43f0['getUnit'](_0x10cd11,e[_0x25da77(0x392)]['UNIVER_BASE']);if(!_0x1f1ec6)return!0x1;let _0x54c2f3=_0x570add[_0x25da77(0x1d9)](e[_0x25da77(0x21d)]),_0x4c5957=_0x570add[_0x25da77(0x1d9)](e[_0x25da77(0x405)]),_0x4ad627=_0x1f1ec6[_0x25da77(0x214)](),_0x2cce15=new M()[_0x25da77(0x27b)](_0x4ad627,_0x235010,_0x4c515f,_0x6e408),_0x3cf15e=new w()[_0x25da77(0x1b5)](_0x4ad627,_0x2cce15),_0x3a01bd={'unitId':_0x10cd11,'op':_0x2cce15},_0xb125df={'unitId':_0x10cd11,'op':_0x3cf15e};return _0x54c2f3[_0x25da77(0x1a0)](K['id'],_0x3a01bd)?(_0x1f43f0[_0x25da77(0x1bb)](_0x10cd11),_0x4c5957[_0x25da77(0x3be)]({'unitID':_0x10cd11,'undoMutations':[{'id':K['id'],'params':_0xb125df}],'redoMutations':[{'id':K['id'],'params':_0x3a01bd}]}),!0x0):!0x1;}},ar={'id':'base.command.update-base-kanban-config','type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x4c9121,_0x4974b1)=>{const _0x7e4410=_0x3ddbdb;if(!_0x4974b1)return!0x1;let _0x579ab8=_0x4c9121[_0x7e4410(0x1d9)](e[_0x7e4410(0x25a)]),{unitId:_0x421e32,tableId:_0x37a43c,viewId:_0x4bda0d,patch:_0xfd983}=_0x4974b1,_0x1bbc26=_0x579ab8[_0x7e4410(0x252)](_0x421e32,e[_0x7e4410(0x392)][_0x7e4410(0x1f7)]);if(!_0x1bbc26)return!0x1;let _0x3887b5=_0x4c9121['get'](e[_0x7e4410(0x21d)]),_0x36c67e=_0x4c9121[_0x7e4410(0x1d9)](e[_0x7e4410(0x405)]),_0x27abb1=_0x1bbc26[_0x7e4410(0x214)](),_0x36c78e=new M()['updateViewConfig'](_0x27abb1,_0x37a43c,_0x4bda0d,_0xfd983),_0x1d4fe5=new w()[_0x7e4410(0x1b5)](_0x27abb1,_0x36c78e),_0x338b70={'unitId':_0x421e32,'op':_0x36c78e},_0xae35a8={'unitId':_0x421e32,'op':_0x1d4fe5};return _0x3887b5['syncExecuteCommand'](K['id'],_0x338b70)?(_0x579ab8[_0x7e4410(0x1bb)](_0x421e32),_0x36c67e['pushUndoRedo']({'unitID':_0x421e32,'undoMutations':[{'id':K['id'],'params':_0xae35a8}],'redoMutations':[{'id':K['id'],'params':_0x338b70}]}),!0x0):!0x1;}},or={'id':_0x3ddbdb(0x306),'type':e[_0x3ddbdb(0x227)][_0x3ddbdb(0x43a)],'handler':(_0x552f17,_0x44a32f)=>{const _0x4fc8a8=_0x3ddbdb;if(!_0x44a32f)return!0x1;let _0x4a7f96=_0x552f17['get'](e[_0x4fc8a8(0x25a)]),{unitId:_0x35ce0d,tableId:_0x2c8c4a,recordId:_0x517d10,orderKey:_0x478bc4}=_0x44a32f,_0x3cbb95=_0x4a7f96[_0x4fc8a8(0x252)](_0x35ce0d,e[_0x4fc8a8(0x392)][_0x4fc8a8(0x1f7)]);if(!_0x3cbb95)return!0x1;let _0xb91ea6=_0x552f17[_0x4fc8a8(0x1d9)](e[_0x4fc8a8(0x21d)]),_0x90a253=_0x552f17[_0x4fc8a8(0x1d9)](e['IUndoRedoService']),_0x407d0e=_0x3cbb95[_0x4fc8a8(0x214)](),_0x310fbc=new M()[_0x4fc8a8(0x35f)](_0x407d0e,_0x2c8c4a,_0x517d10,_0x478bc4),_0x3a5084=new w()['invertOp'](_0x407d0e,_0x310fbc),_0x35c4eb={'unitId':_0x35ce0d,'op':_0x310fbc},_0x1af124={'unitId':_0x35ce0d,'op':_0x3a5084};return _0xb91ea6['syncExecuteCommand'](K['id'],_0x35c4eb)?(_0x4a7f96[_0x4fc8a8(0x1bb)](_0x35ce0d),_0x90a253[_0x4fc8a8(0x3be)]({'unitID':_0x35ce0d,'undoMutations':[{'id':K['id'],'params':_0x1af124}],'redoMutations':[{'id':K['id'],'params':_0x35c4eb}]}),!0x0):!0x1;}},sr={'id':_0x3ddbdb(0x2ce),'type':e['CommandType'][_0x3ddbdb(0x43a)],'handler':(_0x2e5c9e,_0x10140e)=>{const _0x41c3b9=_0x3ddbdb;if(!_0x10140e)return!0x1;let _0x1240ce=_0x2e5c9e[_0x41c3b9(0x1d9)](e[_0x41c3b9(0x25a)]),{unitId:_0x1dbe22,tableId:_0x43b6ae,viewId:_0x5ac363,patch:_0x2e234d}=_0x10140e,_0x513c15=_0x1240ce[_0x41c3b9(0x252)](_0x1dbe22,e[_0x41c3b9(0x392)][_0x41c3b9(0x1f7)]);if(!_0x513c15)return!0x1;let _0x3a839b=_0x2e5c9e[_0x41c3b9(0x1d9)](e['ICommandService']),_0x2f7f11=_0x2e5c9e[_0x41c3b9(0x1d9)](e[_0x41c3b9(0x405)]),_0x193443=_0x513c15['getSnapshot'](),_0x5a63b5=new M()[_0x41c3b9(0x290)](_0x193443,_0x43b6ae,_0x5ac363,_0x2e234d),_0x5a7a15=new w()[_0x41c3b9(0x1b5)](_0x193443,_0x5a63b5),_0x526ef5={'unitId':_0x1dbe22,'op':_0x5a63b5},_0x2da8a3={'unitId':_0x1dbe22,'op':_0x5a7a15};return _0x3a839b[_0x41c3b9(0x1a0)](K['id'],_0x526ef5)?(_0x1240ce['focusUnit'](_0x1dbe22),_0x2f7f11[_0x41c3b9(0x3be)]({'unitID':_0x1dbe22,'undoMutations':[{'id':K['id'],'params':_0x2da8a3}],'redoMutations':[{'id':K['id'],'params':_0x526ef5}]}),!0x0):!0x1;}};function q(_0x454d70){const _0x53e8df=_0x3ddbdb;return new w()[_0x53e8df(0x22a)](_0x454d70);}function cr(_0xab16fc){const _0x58ff5e=_0x3ddbdb;return _0xab16fc[_0x58ff5e(0x2f4)][_0x58ff5e(0x423)](_0x1d195b=>({'unitId':_0xab16fc[_0x58ff5e(0x30d)],'sheetId':_0xab16fc[_0x58ff5e(0x344)],'range':{'startRow':_0x1d195b[_0x58ff5e(0x2cd)],'endRow':_0x1d195b[_0x58ff5e(0x2cd)],'startColumn':_0x1d195b[_0x58ff5e(0x3a0)],'endColumn':_0x1d195b[_0x58ff5e(0x3a0)]}}));}function lr(_0x1580f0,_0x66a588){const _0x187364=_0x3ddbdb;return{[_0x1580f0]:Object['fromEntries'](_0x66a588[_0x187364(0x423)](_0x362b09=>[_0x362b09,'1']))};}let J=class extends e['Disposable']{constructor(_0x55befc,_0x4982c1){const _0x56cc2d=_0x3ddbdb;super(),this[_0x56cc2d(0x15d)]=_0x55befc,this[_0x56cc2d(0x3c4)]=_0x4982c1,this[_0x56cc2d(0x2e2)]();}[_0x3ddbdb(0x2e2)](){const _0x33c4f9=_0x3ddbdb;let _0x76cef3=this[_0x33c4f9(0x373)]();_0x76cef3&&(_0x76cef3[_0x33c4f9(0x22b)](K['id'],{'commandId':K['id'],'getDirtyData':_0x2a1776=>this[_0x33c4f9(0x1af)](_0x2a1776['params'])}),this['disposeWithMe']((0x0,e[_0x33c4f9(0x358)])(()=>{_0x76cef3['remove'](K['id']);})));}['_getActiveDirtyManagerService'](){const _0x2a4e0c=_0x3ddbdb;try{return this[_0x2a4e0c(0x15d)][_0x2a4e0c(0x1d9)](t[_0x2a4e0c(0x2f6)]);}catch{return null;}}[_0x3ddbdb(0x3b6)](_0x4578a5,_0x412525){const _0x318f7c=_0x3ddbdb;var _0x58fe6d;let _0x146342=this[_0x318f7c(0x3c4)][_0x318f7c(0x252)](_0x4578a5,e['UniverInstanceType'][_0x318f7c(0x1f7)]);return(_0x58fe6d=_0x146342==null?void 0x0:_0x146342[_0x318f7c(0x214)]()[_0x318f7c(0x16c)][_0x412525])==null?null:_0x58fe6d;}['_getJson1DirtyData'](_0x3b6e8d){const _0x5c565a=_0x3ddbdb;if(_0x3b6e8d[_0x5c565a(0x12f)]===_0x5c565a(0x145))return{};if(!_0x3b6e8d[_0x5c565a(0x30d)]||!_0x3b6e8d['op']){let _0x35f82b=this[_0x5c565a(0x27e)]();return{'dirtySuperTableMap':_0x35f82b,'clearDependencyTreeCache':_0x35f82b};}let _0x448fc2=q(_0x3b6e8d['op']),_0x54c1b0=this[_0x5c565a(0x207)](_0x3b6e8d[_0x5c565a(0x30d)],_0x448fc2);if(_0x54c1b0[_0x5c565a(0x29a)])return{'dirtySuperTableMap':this['_getDirtySuperTableMap'](_0x3b6e8d[_0x5c565a(0x30d)],_0x54c1b0),'clearDependencyTreeCache':this[_0x5c565a(0x3b1)](_0x3b6e8d['unitId'],_0x54c1b0)};let _0x545e13=Object[_0x5c565a(0x291)](this[_0x5c565a(0x34e)](_0x3b6e8d[_0x5c565a(0x30d)],_0x448fc2))[_0x5c565a(0x292)](([_0x21f243,_0x2b74d1])=>cr({'unitId':_0x3b6e8d[_0x5c565a(0x30d)],'tableId':_0x21f243,'patches':_0x2b74d1}));return _0x545e13[_0x5c565a(0x29a)]?{'dirtyRanges':_0x545e13}:{};}['_getStructureDirtyTableIds'](_0x232aaf,_0x3ca101){const _0x4c6ee1=_0x3ddbdb;let _0x589566=_0x3ca101[_0x4c6ee1(0x1c1)](_0x1ed0ab=>_0x1ed0ab['reason']!=='cell')[_0x4c6ee1(0x292)](_0x429d81=>_0x429d81['tableId']?[_0x429d81[_0x4c6ee1(0x344)]]:this[_0x4c6ee1(0x13f)](_0x232aaf));return Array[_0x4c6ee1(0x2c8)](new Set(_0x589566));}[_0x3ddbdb(0x34e)](_0x3b446b,_0x3842f3){let _0x181682=new Set();return _0x3842f3['reduce']((_0x492cc7,_0x4a9823)=>{const _0x534e19=_0x4f49;var _0x1f8999;let _0x47b2fe=this[_0x534e19(0x371)](_0x3b446b,_0x4a9823);if(!_0x47b2fe)return _0x492cc7;let _0x96dc37=_0x4a9823[_0x534e19(0x344)]+':'+_0x47b2fe[_0x534e19(0x2cd)]+':'+_0x47b2fe['col'];return _0x181682[_0x534e19(0x1d1)](_0x96dc37)?_0x492cc7:(_0x181682[_0x534e19(0x255)](_0x96dc37),_0x492cc7[_0x4a9823[_0x534e19(0x344)]]=(_0x1f8999=_0x492cc7[_0x4a9823[_0x534e19(0x344)]])==null?[]:_0x1f8999,_0x492cc7[_0x4a9823[_0x534e19(0x344)]][_0x534e19(0x39b)](_0x47b2fe),_0x492cc7);},{});}[_0x3ddbdb(0x371)](_0x4605fd,_0x25f5fb){const _0x30f047=_0x3ddbdb;if(_0x25f5fb[_0x30f047(0x155)]!==_0x30f047(0x14e))return null;if(_0x25f5fb[_0x30f047(0x2cd)]!=null&&_0x25f5fb[_0x30f047(0x2f0)]!=null)return{'row':_0x25f5fb[_0x30f047(0x2cd)],'col':_0x25f5fb[_0x30f047(0x2f0)],'value':null};if(!_0x25f5fb[_0x30f047(0x36e)]||!_0x25f5fb['fieldId'])return null;let _0x545f4b=this[_0x30f047(0x3b6)](_0x4605fd,_0x25f5fb[_0x30f047(0x344)]);if(!_0x545f4b)return null;let _0x2f5bd5=g(_0x545f4b,_0x25f5fb[_0x30f047(0x36e)],_0x25f5fb[_0x30f047(0x36b)]);return _0x2f5bd5?{'row':_0x2f5bd5[_0x30f047(0x2cd)],'col':_0x2f5bd5[_0x30f047(0x3a0)],'value':null}:null;}['_getAllTableIds'](_0x459ce1){const _0x148f69=_0x3ddbdb;var _0x9e2623;let _0x4061fa=this['_univerInstanceService'][_0x148f69(0x252)](_0x459ce1,e['UniverInstanceType'][_0x148f69(0x1f7)]);return Object[_0x148f69(0x14b)]((_0x9e2623=_0x4061fa==null?void 0x0:_0x4061fa['getSnapshot']()[_0x148f69(0x16c)])==null?{}:_0x9e2623)[_0x148f69(0x1c1)](_0x59f128=>!_0x59f128[_0x148f69(0x2e3)])['map'](_0x5c96e7=>_0x5c96e7['id']);}[_0x3ddbdb(0x3b1)](_0xf803df,_0x2b206e){return lr(_0xf803df,_0x2b206e);}[_0x3ddbdb(0x27e)](){const _0xcadd85=_0x3ddbdb;let _0x304465=this[_0xcadd85(0x3c4)]['getAllUnitsForType'](e[_0xcadd85(0x392)]['UNIVER_BASE'])[_0xcadd85(0x423)](_0x451f46=>lr(_0x451f46[_0xcadd85(0x3bb)](),this[_0xcadd85(0x13f)](_0x451f46[_0xcadd85(0x3bb)]())));return Object[_0xcadd85(0x2a0)]({},..._0x304465);}};J=R([L(0x0,(0x0,e[_0x3ddbdb(0x39a)])(e['Injector'])),L(0x1,e['IUniverInstanceService'])],J);const ur=new RegExp(String[_0x3ddbdb(0x359)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),dr=/\{([^}]+)\}/g,fr=new RegExp(String[_0x3ddbdb(0x359)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),pr=new RegExp(String[_0x3ddbdb(0x359)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var mr=class{[_0x3ddbdb(0x2b0)](_0x19e492,_0x37ebd9=_0x19e492['id']){const _0x74aadd=_0x3ddbdb;return{'sheetId':_0x37ebd9,'titleMap':new Map(_0x19e492[_0x74aadd(0x3c0)]['map']((_0x36e600,_0x374b2e)=>{const _0x3ed4e1=_0x74aadd;var _0x4b2a1e,_0x50d19f;return[(_0x4b2a1e=(_0x50d19f=_0x19e492[_0x3ed4e1(0x2c6)][_0x36e600])==null?void 0x0:_0x50d19f['name'])==null?_0x36e600:_0x4b2a1e,_0x374b2e];})),'range':{'startRow':0x0,'endRow':Object[_0x74aadd(0x14b)](_0x19e492[_0x74aadd(0x296)])[_0x74aadd(0x1c1)](_0x3694fc=>!_0x3694fc[_0x74aadd(0x2e3)])[_0x74aadd(0x29a)],'startColumn':0x0,'endColumn':Math[_0x74aadd(0x1d8)](0x0,_0x19e492[_0x74aadd(0x3c0)][_0x74aadd(0x29a)]-0x1)}};}[_0x3ddbdb(0x26e)](_0x495713,_0x8899de,_0x3c50cd,_0x53857a={}){const _0x5e14a0=_0x3ddbdb;var _0x396e8b;let _0x583d99=this[_0x5e14a0(0x2b0)](_0x3c50cd,(_0x396e8b=_0x53857a[_0x5e14a0(0x2cb)])==null?_0x3c50cd['id']:_0x396e8b);return new Set([_0x3c50cd['id'],_0x3c50cd[_0x5e14a0(0x1a6)],_0x53857a[_0x5e14a0(0x2ae)]]['filter'](_0x4cb26c=>!!_0x4cb26c))[_0x5e14a0(0x18f)](_0x2a8c9d=>_0x495713[_0x5e14a0(0x1f4)](_0x8899de,_0x2a8c9d,_0x583d99)),_0x583d99;}[_0x3ddbdb(0x33a)](_0x4da560,_0x1cf48e){const _0x5b395b=_0x3ddbdb;let _0x401394=[],_0x3d1cc2=new Map();return Object[_0x5b395b(0x14b)](_0x1cf48e[_0x5b395b(0x16c)])[_0x5b395b(0x1c1)](_0x5adbd7=>!_0x5adbd7['deleted'])[_0x5b395b(0x18f)](_0x23413f=>{const _0x50ff89=_0x5b395b;var _0x11babe;let _0x204791=_0x23413f['name'][_0x50ff89(0x2ab)]()['toLowerCase']();_0x3d1cc2[_0x50ff89(0x12d)](_0x204791,((_0x11babe=_0x3d1cc2[_0x50ff89(0x1d9)](_0x204791))==null?0x0:_0x11babe)+0x1);}),Object['values'](_0x1cf48e['tables'])['filter'](_0x1d3ff5=>!_0x1d3ff5[_0x5b395b(0x2e3)])[_0x5b395b(0x18f)](_0x8e1c45=>{const _0xd98f27=_0x5b395b;var _0x33c379;let _0x3d67bf=this[_0xd98f27(0x2b0)](_0x8e1c45,_0x8e1c45['id']);_0x4da560[_0xd98f27(0x1f4)](_0x1cf48e['id'],_0x8e1c45['id'],_0x3d67bf),((_0x33c379=_0x3d1cc2['get'](_0x8e1c45[_0xd98f27(0x1a6)]['trim']()[_0xd98f27(0x2c2)]()))==null?0x0:_0x33c379)===0x1&&_0x4da560[_0xd98f27(0x1f4)](_0x1cf48e['id'],_0x8e1c45[_0xd98f27(0x1a6)],_0x3d67bf),_0x401394['push'](_0x3d67bf);}),_0x401394;}[_0x3ddbdb(0x301)](_0x16c5fa,_0x34153d,_0x1b1b75={}){const _0x4acff9=_0x3ddbdb;let _0x6094ab=_0x16c5fa['trim']();if(!_0x6094ab)return{'valid':!0x0};if(ur[_0x4acff9(0x1e1)](_0x6094ab))return{'valid':!0x1,'reason':_0x4acff9(0x37c)};for(let _0x175149 of vr(_0x6094ab)){let _0x3b71f8=Sr(_0x175149,_0x34153d,_0x1b1b75[_0x4acff9(0x17b)]);if(!_0x3b71f8[_0x4acff9(0x2c0)])return{'valid':!0x1,'reason':_0x4acff9(0x197)+_0x175149[_0x4acff9(0x2ae)]+_0x4acff9(0x196)};if(!_0x3b71f8[_0x4acff9(0x3cd)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x175149['fieldName']+_0x4acff9(0x196)};}return{'valid':!0x0};}[_0x3ddbdb(0x428)](_0x2ecc8c,_0x38adb0,_0x349da8={}){const _0x47180f=_0x3ddbdb;let _0x5afafe=new Set();for(let _0x4a91d0 of this[_0x47180f(0x232)](_0x2ecc8c,_0x38adb0,_0x349da8))_0x4a91d0['tableId']===_0x38adb0['id']&&_0x5afafe[_0x47180f(0x255)](_0x4a91d0[_0x47180f(0x36b)]);return Array[_0x47180f(0x2c8)](_0x5afafe);}[_0x3ddbdb(0x232)](_0x2f3903,_0x3c9302,_0x2a0e09={}){const _0x35b7fa=_0x3ddbdb;let _0x43a2f4=new Map();for(let _0x74fac7 of vr(_0x2f3903)){let _0x18b23d=Sr(_0x74fac7,_0x3c9302,_0x2a0e09[_0x35b7fa(0x17b)]);if(!_0x18b23d[_0x35b7fa(0x2c0)]||!_0x18b23d['field'])continue;let _0x357621=_0x18b23d['table']['id']+'\x1f'+_0x18b23d[_0x35b7fa(0x3cd)]['id'];_0x43a2f4[_0x35b7fa(0x12d)](_0x357621,{'tableId':_0x18b23d[_0x35b7fa(0x2c0)]['id'],'fieldId':_0x18b23d['field']['id']});}return Array['from'](_0x43a2f4['values']());}};function hr(_0x2854ce){const _0x423d9e=_0x3ddbdb;let _0x1fd838={},_0x6a28e6={},_0x21f991={[_0x2854ce['id']]:{}},_0x342998={[_0x2854ce['id']]:{}};return _0x1fd838[_0x2854ce['id']]={},_0x6a28e6[_0x2854ce['id']]={},Object[_0x423d9e(0x14b)](_0x2854ce[_0x423d9e(0x16c)])[_0x423d9e(0x1c1)](_0x4c5a85=>!_0x4c5a85[_0x423d9e(0x2e3)])['forEach'](_0x43d6ee=>{const _0x58a1d0=_0x423d9e;var _0x40e936,_0x252325,_0x349b8a;let _0x2db0d7=f(_0x43d6ee),_0x163cab=new e[(_0x58a1d0(0x1e0))](),_0x5d4cb3={};(_0x40e936=_0x2db0d7[_0x58a1d0(0x188)])==null||_0x40e936[_0x58a1d0(0x18f)]((_0x1a2be2,_0x37d19a)=>{const _0x2b0740=_0x58a1d0;let _0x46e134=_0x2db0d7[_0x2b0740(0x296)][_0x1a2be2];!_0x46e134||_0x46e134[_0x2b0740(0x2e3)]||_0x2db0d7[_0x2b0740(0x3c0)]['forEach']((_0x549f6b,_0x514fd1)=>{const _0x2a9c86=_0x2b0740;let _0x5a61c5=_0x2db0d7[_0x2a9c86(0x2c6)][_0x549f6b];if(!_0x5a61c5||_0x5a61c5[_0x2a9c86(0x2e3)])return;let _0x35ca8f=v(_0x2db0d7,_0x1a2be2,_0x549f6b);if(_0x35ca8f!==void 0x0&&_0x163cab[_0x2a9c86(0x30f)](_0x37d19a,_0x514fd1,b(_0x35ca8f,_0x5a61c5)),_0x5a61c5['type']===_0x2a9c86(0x19c)){var _0x461a73,_0x100aaa;let _0x573a5e=String((_0x461a73=(_0x100aaa=_0x5a61c5[_0x2a9c86(0x367)])==null?void 0x0:_0x100aaa[_0x2a9c86(0x19c)])==null?'':_0x461a73)[_0x2a9c86(0x2ab)]();_0x573a5e&&(_0x5d4cb3[_0x37d19a]!=null||(_0x5d4cb3[_0x37d19a]={}),_0x5d4cb3[_0x37d19a][_0x514fd1]={'f':yr(_0x573a5e,_0x2db0d7,_0x2854ce),'si':_0x5a61c5['id']});}});}),_0x1fd838[_0x2854ce['id']][_0x2db0d7['id']]=_0x5d4cb3,_0x6a28e6[_0x2854ce['id']][_0x2db0d7['id']]={'cellData':_0x163cab,'rowCount':(_0x252325=(_0x349b8a=_0x2db0d7[_0x58a1d0(0x188)])==null?void 0x0:_0x349b8a[_0x58a1d0(0x1c1)](_0x44b3bc=>{const _0x536bac=_0x58a1d0;var _0x27a7ad;return!((_0x27a7ad=_0x2db0d7[_0x536bac(0x296)][_0x44b3bc])!=null&&_0x27a7ad[_0x536bac(0x2e3)]);})[_0x58a1d0(0x29a)])==null?0x0:_0x252325,'columnCount':_0x2db0d7['fieldOrder'][_0x58a1d0(0x1c1)](_0x520aed=>{const _0x445cdb=_0x58a1d0;var _0x1b5827;return!((_0x1b5827=_0x2db0d7[_0x445cdb(0x2c6)][_0x520aed])!=null&&_0x1b5827[_0x445cdb(0x2e3)]);})[_0x58a1d0(0x29a)],'rowData':{},'columnData':{}},_0x342998[_0x2854ce['id']][_0x2db0d7['name']]=_0x2db0d7['id'];}),{'formulaData':_0x1fd838,'allUnitData':_0x6a28e6,'unitStylesData':_0x21f991,'unitSheetNameMap':_0x342998};}function gr(_0x48bb45,_0x2e9bec){var _0x310603;let _0x4030c7=[],_0x5a287a=(_0x310603=_0x2e9bec['unitData'])==null?void 0x0:_0x310603[_0x48bb45['id']];return _0x5a287a&&Object['entries'](_0x5a287a)['forEach'](([_0x435be4,_0x4e0bef])=>{const _0x1a1fb0=_0x4f49;let _0x5eb714=_0x48bb45[_0x1a1fb0(0x16c)][_0x435be4];if(!_0x5eb714||_0x5eb714[_0x1a1fb0(0x2e3)]||!_0x4e0bef)return;let _0x1af0fd=f(_0x5eb714),_0x30e7c7=[];Object[_0x1a1fb0(0x291)](_0x4e0bef)[_0x1a1fb0(0x18f)](([_0x25eb89,_0x1b1c4d])=>{const _0x3339a5=_0x1a1fb0;let _0x50c254=Number(_0x25eb89);_0x1b1c4d&&Object[_0x3339a5(0x291)](_0x1b1c4d)['forEach'](([_0x468480,_0x569e5b])=>{const _0x2dbd07=_0x3339a5;var _0x28f76c,_0x253af6,_0x2da78d,_0x2b9d3f,_0x12dca7,_0x109471,_0x548316,_0x9ab97c;let _0x4303bc=Number(_0x468480),_0x505cb2=(_0x28f76c=_0x1af0fd[_0x2dbd07(0x270)])==null?void 0x0:_0x28f76c[_0x50c254],_0x2a9da9=_0x505cb2?_0x1af0fd['records'][_0x505cb2]:null;if(!_0x2a9da9||_0x2a9da9['deleted'])return;let _0x141788=(_0x253af6=_0x1af0fd[_0x2dbd07(0x439)])==null?void 0x0:_0x253af6[_0x4303bc],_0x505ef0=_0x141788?_0x1af0fd[_0x2dbd07(0x2c6)][_0x141788]:null;if(!_0x505ef0||_0x505ef0[_0x2dbd07(0x2e3)]||_0x505ef0['type']!==_0x2dbd07(0x19c))return;let _0x5183b8=String((_0x2da78d=(_0x2b9d3f=_0x505ef0[_0x2dbd07(0x367)])==null?void 0x0:_0x2b9d3f[_0x2dbd07(0x19c)])==null?'':_0x2da78d)[_0x2dbd07(0x2ab)](),_0x3762a2=_0x50c254===0x0&&_0x5183b8?{..._0x569e5b==null?{}:_0x569e5b,'v':(_0x12dca7=_0x569e5b==null?void 0x0:_0x569e5b['v'])==null?null:_0x12dca7,'t':_r((_0x109471=_0x569e5b==null?void 0x0:_0x569e5b['v'])==null?null:_0x109471),'f':_0x5183b8,'si':_0x505ef0['id']}:{..._0x569e5b==null?{}:_0x569e5b,'v':(_0x548316=_0x569e5b==null?void 0x0:_0x569e5b['v'])==null?null:_0x548316,'t':_r((_0x9ab97c=_0x569e5b==null?void 0x0:_0x569e5b['v'])==null?null:_0x9ab97c),'si':_0x505ef0['id']};_0x30e7c7[_0x2dbd07(0x39b)]({'row':_0x50c254,'col':_0x4303bc,'value':_0x3762a2});});}),_0x30e7c7['length']&&_0x4030c7[_0x1a1fb0(0x39b)]({'unitId':_0x48bb45['id'],'tableId':_0x435be4,'patches':_0x30e7c7});}),_0x4030c7;}function _r(_0x33f35e){const _0x5ca088=_0x3ddbdb;return typeof _0x33f35e==_0x5ca088(0x424)?e[_0x5ca088(0x3f3)][_0x5ca088(0x3e1)]:typeof _0x33f35e=='boolean'?e[_0x5ca088(0x3f3)][_0x5ca088(0x161)]:typeof _0x33f35e=='string'?e[_0x5ca088(0x3f3)][_0x5ca088(0x1c4)]:null;}function vr(_0xb69215){const _0x2e631e=_0x3ddbdb;let _0x29a8ad=new Map();for(let _0x116937 of _0xb69215['matchAll'](dr)){let _0x2b9699={'fieldName':_0x116937[0x1]};_0x29a8ad['set']('\x1f'+_0x2b9699[_0x2e631e(0x2d0)],_0x2b9699);}for(let _0x1e5b07 of _0xb69215[_0x2e631e(0x187)](fr)){let _0x18440b={'tableName':_0x1e5b07[0x1],'fieldName':_0x1e5b07[0x2]};_0x29a8ad[_0x2e631e(0x12d)](_0x18440b[_0x2e631e(0x2ae)]+'\x1f'+_0x18440b[_0x2e631e(0x2d0)],_0x18440b);}for(let _0x1f4f0f of _0xb69215[_0x2e631e(0x187)](pr)){let _0x489f91={'fieldName':_0x1f4f0f[0x2]};_0x29a8ad[_0x2e631e(0x12d)]('\x1f'+_0x489f91[_0x2e631e(0x2d0)],_0x489f91);}return Array[_0x2e631e(0x2c8)](_0x29a8ad[_0x2e631e(0x14b)]());}function yr(_0x16b6c1,_0x371e7d,_0x300335){const _0x2181d4=_0x3ddbdb;let _0x480b5=[],_0x5a6f98=_0x956079=>_0x2181d4(0x17f)+(_0x480b5[_0x2181d4(0x39b)](_0x956079)-0x1)+'__';return _0x16b6c1['replace'](dr,(_0x3ef9af,_0x1d51bc)=>_0x5a6f98(xr(_0x371e7d,_0x1d51bc,_0x300335)))[_0x2181d4(0x280)](fr,(_0x55cb00,_0x481516,_0x41b916)=>{let _0x48d171=Cr(_0x481516,_0x371e7d,_0x300335);return _0x48d171?_0x5a6f98(xr(_0x48d171,_0x41b916,_0x300335)):_0x481516+'['+_0x41b916+']';})['replace'](pr,(_0x5c12fd,_0x449a76,_0x8149e2)=>''+_0x449a76+_0x5a6f98(xr(_0x371e7d,_0x8149e2,_0x300335)))[_0x2181d4(0x280)](/__BASE_FORMULA_REF_(\d+)__/g,(_0x218140,_0x319c40)=>{var _0x478cd5;return(_0x478cd5=_0x480b5[Number(_0x319c40)])==null?'':_0x478cd5;});}function br(_0x1593e7,_0x3bfd7c){const _0x4adc5c=_0x3ddbdb;return Object[_0x4adc5c(0x14b)](_0x3bfd7c[_0x4adc5c(0x16c)])['filter'](_0x47daaa=>!_0x47daaa[_0x4adc5c(0x2e3)]&&_0x47daaa[_0x4adc5c(0x1a6)]===_0x1593e7['name'])[_0x4adc5c(0x29a)]===0x1?_0x1593e7['name']:_0x1593e7['id'];}function xr(_0x127424,_0x3d4610,_0x2b2027){const _0x39377d=_0x3ddbdb;return br(_0x127424,_0x2b2027)+_0x39377d(0x1a1)+_0x3d4610+']]';}function Sr(_0x35cd2b,_0x219aa8,_0x1fb9b7){const _0x462c67=_0x3ddbdb;let _0x3f1e11=Cr(_0x35cd2b['tableName'],_0x219aa8,_0x1fb9b7);return{'table':_0x3f1e11,'field':_0x3f1e11?Object[_0x462c67(0x14b)](_0x3f1e11['fields'])[_0x462c67(0x368)](_0x1dae10=>_0x1dae10[_0x462c67(0x1a6)]===_0x35cd2b[_0x462c67(0x2d0)]&&!_0x1dae10[_0x462c67(0x2e3)]):void 0x0};}function Cr(_0x27ed8c,_0x65d5e9,_0x3300e6){const _0x1c0f97=_0x3ddbdb;if(!_0x27ed8c||_0x27ed8c===_0x1c0f97(0x2c0)||_0x27ed8c===_0x65d5e9['id']||_0x27ed8c===_0x65d5e9['name'])return _0x65d5e9;if(!_0x3300e6)return;let _0x25f54c=_0x3300e6[_0x1c0f97(0x16c)][_0x27ed8c];if(_0x25f54c&&!_0x25f54c[_0x1c0f97(0x2e3)])return _0x25f54c;let _0x3264bd=Object[_0x1c0f97(0x14b)](_0x3300e6[_0x1c0f97(0x16c)])['filter'](_0x4efe3a=>!_0x4efe3a[_0x1c0f97(0x2e3)]&&_0x4efe3a[_0x1c0f97(0x1a6)]===_0x27ed8c);return _0x3264bd[_0x1c0f97(0x29a)]===0x1?_0x3264bd[0x0]:void 0x0;}let Y=class extends e[_0x3ddbdb(0x40b)]{constructor(_0x1084fa,_0x51aea4,_0x1662b0){const _0x5ee6d3=_0x3ddbdb;super(),this[_0x5ee6d3(0x15d)]=_0x1084fa,this['_commandService']=_0x51aea4,this[_0x5ee6d3(0x3c4)]=_0x1662b0,P(this,'_formulaService',new mr()),P(this,'_applyingFormulaResults',!0x1),this[_0x5ee6d3(0x2e2)]();}['_initialize'](){const _0x45d71d=_0x3ddbdb;this[_0x45d71d(0x3c4)][_0x45d71d(0x374)](e[_0x45d71d(0x392)][_0x45d71d(0x1f7)])[_0x45d71d(0x18f)](_0x1a852a=>{const _0x4343a3=_0x45d71d;this[_0x4343a3(0x360)](_0x1a852a),this[_0x4343a3(0x1d4)](_0x1a852a),this[_0x4343a3(0x356)]({'forceCalculation':!0x0});}),this['disposeWithMe'](this['_univerInstanceService'][_0x45d71d(0x321)](e['UniverInstanceType'][_0x45d71d(0x1f7)])[_0x45d71d(0x209)](({unit:_0x540f9b})=>{const _0x598e8e=_0x45d71d;this[_0x598e8e(0x360)](_0x540f9b),this[_0x598e8e(0x1d4)](_0x540f9b),this[_0x598e8e(0x356)]({'forceCalculation':!0x0});})),this[_0x45d71d(0x3b8)](this[_0x45d71d(0x385)]['onCommandExecuted'](_0x45aae8=>this[_0x45d71d(0x40c)](_0x45aae8)));}[_0x3ddbdb(0x40c)](_0x434b1b){const _0x3db639=_0x3ddbdb;if(_0x434b1b['id']===t[_0x3db639(0x3a7)]['id']){this[_0x3db639(0x15b)](_0x434b1b[_0x3db639(0x35a)]);return;}if(this[_0x3db639(0x2aa)]||_0x434b1b['id']!==K['id'])return;let _0x2078d9=_0x434b1b[_0x3db639(0x35a)];(_0x2078d9!=null&&_0x2078d9['unitId']?[this[_0x3db639(0x3c4)][_0x3db639(0x252)](_0x2078d9['unitId'],e[_0x3db639(0x392)][_0x3db639(0x1f7)])]['filter'](_0x131274=>!!_0x131274):this['_univerInstanceService'][_0x3db639(0x374)](e[_0x3db639(0x392)]['UNIVER_BASE']))[_0x3db639(0x18f)](_0xba7c1c=>{const _0x524e84=_0x3db639;this[_0x524e84(0x433)](_0x434b1b,_0xba7c1c)&&(this['_registerSuperTables'](_0xba7c1c),this[_0x524e84(0x1d4)](_0xba7c1c)),this[_0x524e84(0x356)](this[_0x524e84(0x1f1)](_0x434b1b,_0xba7c1c));});}['_shouldSyncFormulaData'](_0x2c7f3f,_0x3b2f89){const _0x41cabe=_0x3ddbdb;var _0x1b9d33;if(_0x2c7f3f['id']!==K['id'])return!0x1;let _0x1265f8=(_0x1b9d33=_0x2c7f3f['params'])==null?void 0x0:_0x1b9d33['op'];return _0x1265f8?q(_0x1265f8)[_0x41cabe(0x333)](_0x4bc775=>_0x4bc775[_0x41cabe(0x155)]===_0x41cabe(0x14e)?!_0x3b2f89['getSnapshot']()[_0x41cabe(0x16c)][_0x4bc775[_0x41cabe(0x344)]]:!0x0):!0x0;}[_0x3ddbdb(0x360)](_0x4c6f2d){const _0x57da01=_0x3ddbdb;let _0xcf2dbf=this['_getSuperTableService']();_0xcf2dbf&&this['_formulaService'][_0x57da01(0x33a)](_0xcf2dbf,_0x4c6f2d[_0x57da01(0x214)]());}[_0x3ddbdb(0x356)](_0x233032={}){const _0x5f26c3=_0x3ddbdb;this[_0x5f26c3(0x385)]['executeCommand'](t[_0x5f26c3(0x225)]['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0x233032},{'onlyLocal':!0x0})['catch'](()=>void 0x0);}[_0x3ddbdb(0x1d4)](_0x4a9e72){const _0x1c81f5=_0x3ddbdb;let _0x471a83=hr(_0x4a9e72[_0x1c81f5(0x214)]());this['_commandService'][_0x1c81f5(0x438)](t[_0x1c81f5(0x1c2)]['id'],{'formulaData':_0x471a83['formulaData']},{'onlyLocal':!0x0})['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x2cf22a){const _0x2614a2=_0x3ddbdb;let _0x161b3d=this[_0x2614a2(0x3c4)][_0x2614a2(0x374)](e['UniverInstanceType'][_0x2614a2(0x1f7)])['flatMap'](_0x24a822=>gr(_0x24a822[_0x2614a2(0x214)](),_0x2cf22a));if(!_0x161b3d[_0x2614a2(0x29a)])return;let _0x3e1fea=new M();this[_0x2614a2(0x2aa)]=!0x0,(async()=>{const _0x4dfabf=_0x2614a2;for(let _0x3de72c of _0x161b3d){let _0xa2ae9e=this[_0x4dfabf(0x3c4)][_0x4dfabf(0x252)](_0x3de72c['unitId'],e[_0x4dfabf(0x392)][_0x4dfabf(0x1f7)]);_0xa2ae9e&&await this['_commandService']['executeCommand'](K['id'],{'unitId':_0x3de72c[_0x4dfabf(0x30d)],'op':_0x3e1fea[_0x4dfabf(0x408)](_0xa2ae9e[_0x4dfabf(0x214)](),_0x3de72c[_0x4dfabf(0x344)],_0x3de72c['patches']),'trigger':t[_0x4dfabf(0x3a7)]['id']},{'onlyLocal':!0x0});}})()['finally'](()=>{this['_applyingFormulaResults']=!0x1;});}[_0x3ddbdb(0x3e7)](){const _0x593d3a=_0x3ddbdb;try{return this['_injector'][_0x593d3a(0x1d9)](t[_0x593d3a(0x335)]);}catch{return null;}}[_0x3ddbdb(0x1f1)](_0x1afd2e,_0x28a18c){const _0x3dc4f0=_0x3ddbdb;return _0x1afd2e['id']===K['id']?this[_0x3dc4f0(0x429)](_0x1afd2e[_0x3dc4f0(0x35a)],_0x28a18c):this['_createStructureDirtyData'](_0x28a18c);}[_0x3ddbdb(0x429)](_0x5a1b39,_0x2c9eec){const _0x29cf14=_0x3ddbdb;if(!_0x5a1b39['op'])return this['_createStructureDirtyData'](_0x2c9eec);let _0x5e34cb=q(_0x5a1b39['op']),_0x185556=this[_0x29cf14(0x207)](_0x5e34cb,_0x2c9eec);if(_0x185556['length'])return this[_0x29cf14(0x37d)](_0x2c9eec,_0x185556);let _0x183b88=Object[_0x29cf14(0x291)](this['_groupCellInvalidations'](_0x5e34cb,_0x2c9eec))[_0x29cf14(0x292)](([_0x90f1dd,_0x1943f9])=>cr({'unitId':_0x2c9eec[_0x29cf14(0x3bb)](),'tableId':_0x90f1dd,'patches':_0x1943f9}));return _0x183b88[_0x29cf14(0x29a)]?{'dirtyRanges':_0x183b88}:this[_0x29cf14(0x37d)](_0x2c9eec);}[_0x3ddbdb(0x207)](_0x593c42,_0x5f5621){const _0x13f5ee=_0x3ddbdb;let _0x131b7c=_0x593c42[_0x13f5ee(0x1c1)](_0x3b6643=>_0x3b6643[_0x13f5ee(0x155)]!=='cell')[_0x13f5ee(0x292)](_0x30ef91=>_0x30ef91[_0x13f5ee(0x344)]?[_0x30ef91[_0x13f5ee(0x344)]]:Object[_0x13f5ee(0x337)](_0x5f5621[_0x13f5ee(0x214)]()[_0x13f5ee(0x16c)]));return Array[_0x13f5ee(0x2c8)](new Set(_0x131b7c));}[_0x3ddbdb(0x34e)](_0x60ad4d,_0x3187a8){let _0x4193ae=new Set();return _0x60ad4d['reduce']((_0x320f06,_0x642e16)=>{const _0x4545af=_0x4f49;var _0x9b8be1;let _0xd6276b=this['_toDirtyRangePatch'](_0x642e16,_0x3187a8);if(!_0xd6276b)return _0x320f06;let _0x2aa69d=_0x642e16[_0x4545af(0x344)]+':'+_0xd6276b[_0x4545af(0x2cd)]+':'+_0xd6276b[_0x4545af(0x3a0)];return _0x4193ae[_0x4545af(0x1d1)](_0x2aa69d)?_0x320f06:(_0x4193ae[_0x4545af(0x255)](_0x2aa69d),_0x320f06[_0x642e16[_0x4545af(0x344)]]=(_0x9b8be1=_0x320f06[_0x642e16[_0x4545af(0x344)]])==null?[]:_0x9b8be1,_0x320f06[_0x642e16['tableId']][_0x4545af(0x39b)](_0xd6276b),_0x320f06);},{});}[_0x3ddbdb(0x371)](_0x32c8fe,_0x5dffe1){const _0x5d0e8e=_0x3ddbdb;if(_0x32c8fe[_0x5d0e8e(0x155)]!==_0x5d0e8e(0x14e))return null;if(_0x32c8fe[_0x5d0e8e(0x2cd)]!=null&&_0x32c8fe[_0x5d0e8e(0x2f0)]!=null)return{'row':_0x32c8fe[_0x5d0e8e(0x2cd)],'col':_0x32c8fe[_0x5d0e8e(0x2f0)],'value':null};let _0x567284=_0x5dffe1[_0x5d0e8e(0x214)]()[_0x5d0e8e(0x16c)][_0x32c8fe['tableId']];if(!_0x567284||!_0x32c8fe[_0x5d0e8e(0x36e)]||!_0x32c8fe[_0x5d0e8e(0x36b)])return null;let _0x834f99=g(_0x567284,_0x32c8fe['recordId'],_0x32c8fe[_0x5d0e8e(0x36b)]);return _0x834f99?{'row':_0x834f99[_0x5d0e8e(0x2cd)],'col':_0x834f99[_0x5d0e8e(0x3a0)],'value':null}:null;}[_0x3ddbdb(0x37d)](_0x7f22c6,_0x48c04a){const _0x2d2d6d=_0x3ddbdb;let _0x2ff35a=_0x48c04a==null?Object[_0x2d2d6d(0x14b)](_0x7f22c6[_0x2d2d6d(0x214)]()[_0x2d2d6d(0x16c)])[_0x2d2d6d(0x1c1)](_0x22cb22=>!_0x22cb22[_0x2d2d6d(0x2e3)])[_0x2d2d6d(0x423)](_0x54ba6a=>_0x54ba6a['id']):_0x48c04a,_0x13db55=lr(_0x7f22c6[_0x2d2d6d(0x3bb)](),_0x2ff35a);return{'dirtySuperTableMap':_0x13db55,'clearDependencyTreeCache':_0x13db55,'forceCalculation':!0x0};}};Y=R([L(0x0,(0x0,e[_0x3ddbdb(0x39a)])(e['Injector'])),L(0x1,e[_0x3ddbdb(0x21d)]),L(0x2,e[_0x3ddbdb(0x25a)])],Y);function wr(_0x318471){const _0x2d6a96=_0x3ddbdb;var _0x5d9f3b;let _0x48eb1c=Math[_0x2d6a96(0x1d8)](0x0,Number((_0x5d9f3b=_0x318471[_0x2d6a96(0x2be)])==null?0x0:_0x5d9f3b)),_0x51c808=_0x318471['useThousands']===!0x1?'0':_0x2d6a96(0x38b),_0x181d79=_0x48eb1c?'.'+'0'[_0x2d6a96(0x1c3)](_0x48eb1c):'',_0x523d28=Er(_0x318471['abbreviation']);return''+(_0x318471['currencySymbol']?Dr(_0x318471[_0x2d6a96(0x1ff)]):'')+_0x51c808+_0x181d79+_0x523d28;}function Tr(_0x539591,_0x49dbf6){const _0x4bdf3d=_0x3ddbdb;let _0x44c8cd=wr(_0x49dbf6),_0x7f9f18=e['numfmt']['format'](_0x44c8cd,_0x539591,{'throws':!0x1});return Or(String(_0x7f9f18),_0x49dbf6['separatorStyle'],_0x49dbf6[_0x4bdf3d(0x2d8)]);}function Er(_0x3f5e48){const _0x3b5ed3=_0x3ddbdb;return _0x3f5e48==='K'?_0x3b5ed3(0x259):_0x3f5e48==='M'?_0x3b5ed3(0x3b3):_0x3f5e48==='B'?_0x3b5ed3(0x350):'';}function Dr(_0x53fcd4){const _0x5f5478=_0x3ddbdb;return/^[A-Z]+$/i[_0x5f5478(0x1e1)](_0x53fcd4)?'\x22'+_0x53fcd4+'\x22':_0x53fcd4;}function Or(_0x24302d,_0x4f82c6,_0xfe2e87){const _0x2e5fec=_0x3ddbdb;let _0x29c057=_0x4f82c6===_0x2e5fec(0x3e0)?kr(_0xfe2e87):_0x4f82c6;return _0x29c057===_0x2e5fec(0x34b)?_0x24302d[_0x2e5fec(0x280)](/,/g,'\x00')['replace'](/\./g,',')[_0x2e5fec(0x280)](/\0/g,'.'):_0x29c057===_0x2e5fec(0x407)?_0x24302d[_0x2e5fec(0x280)](/,/g,'\x20')['replace'](/\./g,','):_0x29c057==='spacePeriod'?_0x24302d[_0x2e5fec(0x280)](/,/g,'\x20'):_0x24302d;}function kr(_0x31695d){const _0x931e39=_0x3ddbdb;var _0x49d465,_0x2acb76;let _0x3ecaef=_0x31695d||Intl[_0x931e39(0x2b5)]()[_0x931e39(0x253)]()['locale'],_0x1327c8;try{_0x1327c8=new Intl[(_0x931e39(0x2b5))](_0x3ecaef,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x931e39(0x1b6);}let _0x3f8789=(_0x49d465=_0x1327c8[_0x931e39(0x368)](_0x2ba377=>_0x2ba377[_0x931e39(0x22c)]==='group'))==null?void 0x0:_0x49d465[_0x931e39(0x3ad)],_0x446d97=(_0x2acb76=_0x1327c8[_0x931e39(0x368)](_0x54be03=>_0x54be03[_0x931e39(0x22c)]===_0x931e39(0x1c9)))==null?void 0x0:_0x2acb76[_0x931e39(0x3ad)],_0x451c8b=_0x3f8789==='\u00a0'||_0x3f8789==='\u202f'?'\x20':_0x3f8789;return _0x451c8b==='.'&&_0x446d97===','?_0x931e39(0x34b):_0x451c8b==='\x20'&&_0x446d97===','?'spaceComma':_0x451c8b==='\x20'&&_0x446d97==='.'?_0x931e39(0x15e):'commaPeriod';}function Ar(_0x5ac4da,_0x3152ef){const _0x4525ff=_0x3ddbdb;var _0x1d6bc0,_0x26c3e1;let _0x1fdf35=e[_0x4525ff(0x345)][_0x4525ff(0x305)](_0x5ac4da),_0x41d304=_0x3152ef[_0x4525ff(0x1e4)]===!0x0,_0x3c04f6=new Map(),_0x205bbd=(_0x1d6bc0=_0x3152ef[_0x4525ff(0x414)])==null?()=>_0x4525ff(0x415)+(0x0,e['generateRandomId'])(0x8):_0x1d6bc0,_0x369c0f=_0x1fdf35[_0x4525ff(0x283)];return _0x3152ef[_0x4525ff(0x2ea)]&&(_0x369c0f=_0x1fdf35['viewOrder'][_0x4525ff(0x423)](_0x2a0308=>{let _0x21fe8b=_0x205bbd();return _0x3c04f6['set'](_0x2a0308,_0x21fe8b),_0x21fe8b;})),{..._0x1fdf35,'id':_0x3152ef['id'],'name':_0x3152ef[_0x4525ff(0x1a6)],'deleted':void 0x0,'records':_0x41d304?_0x1fdf35[_0x4525ff(0x296)]:{},'recordOrder':_0x41d304?_0x1fdf35[_0x4525ff(0x188)]:[],'rowIndex':_0x41d304?_0x1fdf35['rowIndex']:{},'rowId':_0x41d304?_0x1fdf35[_0x4525ff(0x270)]:{},'cellData':_0x41d304?_0x1fdf35[_0x4525ff(0x341)]:{},'resources':_0x41d304?_0x1fdf35['resources']:{},'viewOrder':_0x369c0f,'views':Object['fromEntries'](Object[_0x4525ff(0x291)]((_0x26c3e1=_0x1fdf35[_0x4525ff(0x195)])==null?{}:_0x26c3e1)[_0x4525ff(0x423)](([_0x27d089,_0xd6164e])=>{const _0x57b667=_0x4525ff;var _0xfa2b79;let _0x576668=(_0xfa2b79=_0x3c04f6[_0x57b667(0x1d9)](_0x27d089))==null?_0x3152ef[_0x57b667(0x2ea)]?_0x205bbd():_0x27d089:_0xfa2b79;return[_0x576668,{..._0xd6164e,'id':_0x576668,'tableId':_0x3152ef['id'],'deleted':void 0x0}];}))};}var jr=class{constructor(){const _0x476984=_0x3ddbdb;P(this,_0x476984(0x1ca),new M()),P(this,_0x476984(0x194),new w());}[_0x3ddbdb(0x2f2)](_0x157bcb,_0x41c15a){const _0x5b1826=_0x3ddbdb;switch(_0x157bcb[_0x5b1826(0x22c)]){case _0x5b1826(0x16e):return this[_0x5b1826(0x1ca)][_0x5b1826(0x16e)](_0x41c15a,_0x157bcb['table'],_0x157bcb['index']);case'renameTable':return this[_0x5b1826(0x1ca)][_0x5b1826(0x281)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb['name']);case'deleteTable':return this['_factory'][_0x5b1826(0x1e8)](_0x41c15a,_0x157bcb['tableId']);case _0x5b1826(0x394):return this[_0x5b1826(0x1ca)][_0x5b1826(0x394)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],{'field':_0x157bcb[_0x5b1826(0x3cd)],'index':_0x157bcb[_0x5b1826(0x41d)]});case'updateField':return this[_0x5b1826(0x1ca)][_0x5b1826(0x27b)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb['fieldId'],_0x157bcb[_0x5b1826(0x1e7)]);case'deleteField':return this[_0x5b1826(0x1ca)][_0x5b1826(0x2a8)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb['fieldId']);case _0x5b1826(0x261):return this['_factory'][_0x5b1826(0x261)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb[_0x5b1826(0x230)]);case _0x5b1826(0x154):return this[_0x5b1826(0x1ca)][_0x5b1826(0x154)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb['recordId']);case _0x5b1826(0x35f):return this[_0x5b1826(0x1ca)][_0x5b1826(0x35f)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb[_0x5b1826(0x36e)],_0x157bcb[_0x5b1826(0x3ee)]);case'updateCell':return this[_0x5b1826(0x1ca)][_0x5b1826(0x186)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb['recordId'],_0x157bcb[_0x5b1826(0x36b)],_0x157bcb['value']);case'setRecordValues':return this[_0x5b1826(0x1ca)][_0x5b1826(0x3e3)](_0x41c15a,_0x157bcb['tableId'],_0x157bcb[_0x5b1826(0x2f4)]);case _0x5b1826(0x408):return this[_0x5b1826(0x1ca)]['setRangeValues'](_0x41c15a,_0x157bcb['tableId'],_0x157bcb[_0x5b1826(0x2f4)]);case _0x5b1826(0x1c5):return this['_factory'][_0x5b1826(0x1c5)](_0x41c15a,_0x157bcb['tableId'],_0x157bcb[_0x5b1826(0x274)],_0x157bcb[_0x5b1826(0x41d)]);case _0x5b1826(0x269):return this[_0x5b1826(0x1ca)][_0x5b1826(0x269)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb[_0x5b1826(0x3d0)]);case'updateViewConfig':return this[_0x5b1826(0x1ca)][_0x5b1826(0x290)](_0x41c15a,_0x157bcb[_0x5b1826(0x344)],_0x157bcb[_0x5b1826(0x3d0)],_0x157bcb[_0x5b1826(0x1e7)]);default:return Mr(_0x157bcb);}}[_0x3ddbdb(0x142)](_0x336e65){return{..._0x336e65,'unitType':'base'};}[_0x3ddbdb(0x190)](_0x4352dc,_0x452595){const _0xd09749=_0x3ddbdb;return this[_0xd09749(0x194)][_0xd09749(0x190)](_0x4352dc,_0x452595);}[_0x3ddbdb(0x1b5)](_0x3eb0e2,_0x484ef8){return this['_applier']['invertOp'](_0x3eb0e2,_0x484ef8);}[_0x3ddbdb(0x22a)](_0x251206){const _0x3097cf=_0x3ddbdb;return this['_applier'][_0x3097cf(0x22a)](_0x251206);}};function Mr(_0x219ca9){const _0x328f90=_0x3ddbdb;throw Error('[BaseJson1Adapter]:\x20unsupported\x20command\x20'+_0x219ca9[_0x328f90(0x22c)]);}var Nr=_0x3ddbdb(0x12c),Pr=_0x3ddbdb(0x131);let Fr=class extends e[_0x3ddbdb(0x40b)]{constructor(_0x1c8bc1,_0x3da4e3,_0x344ba5){const _0x420d13=_0x3ddbdb;super(),this['_commandService']=_0x1c8bc1,this['_univerInstanceService']=_0x3da4e3,this[_0x420d13(0x1bd)]=_0x344ba5,P(this,_0x420d13(0x32f),new mr()),this[_0x420d13(0x2e2)]();}[_0x3ddbdb(0x2e2)](){const _0x5b0bd5=_0x3ddbdb;this['_univerInstanceService'][_0x5b0bd5(0x374)](e[_0x5b0bd5(0x392)]['UNIVER_BASE'])[_0x5b0bd5(0x18f)](_0x32ce8b=>{this['_registerSuperTables'](_0x32ce8b);}),this[_0x5b0bd5(0x3b8)](this['_univerInstanceService'][_0x5b0bd5(0x321)](e[_0x5b0bd5(0x392)]['UNIVER_BASE'])[_0x5b0bd5(0x209)](({unit:_0xa94dc5})=>{const _0x289c9f=_0x5b0bd5;this[_0x289c9f(0x360)](_0xa94dc5);})),this[_0x5b0bd5(0x3b8)](this[_0x5b0bd5(0x385)][_0x5b0bd5(0x2e6)](_0x2d676f=>this[_0x5b0bd5(0x40c)](_0x2d676f)));}[_0x3ddbdb(0x40c)](_0x22c4e9){const _0x6e6e9c=_0x3ddbdb;if(!this[_0x6e6e9c(0x322)](_0x22c4e9))return;let _0x105f55=_0x22c4e9[_0x6e6e9c(0x35a)];(_0x105f55!=null&&_0x105f55['unitId']?[this['_univerInstanceService'][_0x6e6e9c(0x252)](_0x105f55['unitId'],e[_0x6e6e9c(0x392)]['UNIVER_BASE'])]['filter'](_0x4dfa27=>!!_0x4dfa27):this[_0x6e6e9c(0x3c4)][_0x6e6e9c(0x374)](e[_0x6e6e9c(0x392)][_0x6e6e9c(0x1f7)]))[_0x6e6e9c(0x18f)](_0x1ab3f2=>this['_registerSuperTables'](_0x1ab3f2));}[_0x3ddbdb(0x322)](_0xfeaa3b){const _0x3e0fcd=_0x3ddbdb;var _0x543846;if(_0xfeaa3b['id']!==K['id'])return!0x1;let _0x2e7a48=(_0x543846=_0xfeaa3b[_0x3e0fcd(0x35a)])==null?void 0x0:_0x543846['op'];return!_0x2e7a48||q(_0x2e7a48)[_0x3e0fcd(0x333)](_0x14f9b4=>_0x14f9b4['reason']!==_0x3e0fcd(0x14e));}['_registerSuperTables'](_0x5045b7){const _0x28a2f8=_0x3ddbdb;this[_0x28a2f8(0x1bd)]&&this[_0x28a2f8(0x32f)][_0x28a2f8(0x33a)](this[_0x28a2f8(0x1bd)],_0x5045b7[_0x28a2f8(0x214)]());}};Fr=R([L(0x0,e[_0x3ddbdb(0x21d)]),L(0x1,e[_0x3ddbdb(0x25a)]),L(0x2,(0x0,e[_0x3ddbdb(0x26d)])(t[_0x3ddbdb(0x335)]))],Fr);const Ir=(0x0,e['createIdentifier'])('base.resource.service');let X=class{constructor(_0xd1513b){this['_univerInstanceService']=_0xd1513b;}[_0x3ddbdb(0x160)](_0x139752){const _0x4a56cd=_0x3ddbdb;var _0x428651;return(_0x428651=this[_0x4a56cd(0x3c4)][_0x4a56cd(0x252)](_0x139752,e['UniverInstanceType'][_0x4a56cd(0x1f7)]))==null?null:_0x428651;}['getAllBases'](){const _0x1c5a36=_0x3ddbdb;return this[_0x1c5a36(0x3c4)][_0x1c5a36(0x374)](e['UniverInstanceType'][_0x1c5a36(0x1f7)]);}['createBase'](_0xe5d81){const _0x34869d=_0x3ddbdb;return this[_0x34869d(0x3c4)][_0x34869d(0x32d)](e['UniverInstanceType']['UNIVER_BASE'],_0xe5d81);}};X=R([L(0x0,e[_0x3ddbdb(0x25a)])],X);const Lr=(0x0,e['createIdentifier'])('base.view-registry.service');var Rr=class extends e['Disposable']{constructor(..._0x39a89d){const _0x1ea4c7=_0x3ddbdb;super(..._0x39a89d),P(this,_0x1ea4c7(0x1d2),new Map());}[_0x3ddbdb(0x22b)](_0x1cc759){const _0x111a0c=_0x3ddbdb;return this[_0x111a0c(0x1d2)]['set'](_0x1cc759[_0x111a0c(0x22c)],_0x1cc759),(0x0,e[_0x111a0c(0x358)])(()=>this[_0x111a0c(0x1d2)][_0x111a0c(0x426)](_0x1cc759['type']));}[_0x3ddbdb(0x1d9)](_0xddc40d){const _0xdec85b=_0x3ddbdb;let _0x1fcde0=this[_0xdec85b(0x1d2)][_0xdec85b(0x1d9)](_0xddc40d);if(!_0x1fcde0)throw Error(_0xdec85b(0x312)+_0xddc40d+_0xdec85b(0x3c5));return _0x1fcde0;}[_0x3ddbdb(0x395)](){const _0x3eab2f=_0x3ddbdb;return Array['from'](this[_0x3eab2f(0x1d2)][_0x3eab2f(0x14b)]());}};const zr='BASES_PLUGIN',Br=[K];let Z=class extends e[_0x3ddbdb(0x1a9)]{constructor(_0x14e3ce={},_0x3322a9,_0x12e754,_0xb6928d,_0x50018f){const _0x32c423=_0x3ddbdb;super(),this[_0x32c423(0x2a7)]=_0x14e3ce,this[_0x32c423(0x15d)]=_0x3322a9,this[_0x32c423(0x385)]=_0x12e754,this[_0x32c423(0x3c4)]=_0xb6928d,this['_dataSyncPrimaryController']=_0x50018f,P(this,'_baseSyncDisposables',new Map()),this[_0x32c423(0x3c4)]['registerCtorForType'](e[_0x32c423(0x392)]['UNIVER_BASE'],e[_0x32c423(0x2f3)]),this['_initDependencies'](),this[_0x32c423(0x13d)](),this[_0x32c423(0x265)](),this[_0x32c423(0x435)]();}[_0x3ddbdb(0x3dd)](){const _0x1b0235=_0x3ddbdb;(0x0,e[_0x1b0235(0x299)])(this['_injector'],[[X],[B],[J],[Y]]),this[_0x1b0235(0x3c4)]['getAllUnitsForType'](e[_0x1b0235(0x392)][_0x1b0235(0x1f7)])[_0x1b0235(0x18f)](_0x5c8056=>this[_0x1b0235(0x237)](_0x5c8056[_0x1b0235(0x3bb)]()));}[_0x3ddbdb(0x323)](){const _0x594f16=_0x3ddbdb;[[F,{'useClass':St}],[Lr,{'useClass':Rr}],[Ft,{'useClass':Lt}],[Ir,{'useClass':X}],[Ct,{'useClass':wt}],[z,{'useClass':B}],[J],[Y]]['forEach'](_0x5a4f79=>this[_0x594f16(0x15d)][_0x594f16(0x255)](_0x5a4f79));}[_0x3ddbdb(0x13d)](){const _0x4159e4=_0x3ddbdb;[vn,Gn,In,nr,Yn,Jn,_n,pn,Fn,mn,zn,or,gn,Rn,ir,rr,hn,Pn,Un,Nn,Bn,Kn,Ln,Wn,sr,qn,ar,$n,tr,er,Zn,Qn,Xn,...Br][_0x4159e4(0x18f)](_0x4cc535=>this[_0x4159e4(0x3b8)](this[_0x4159e4(0x385)][_0x4159e4(0x380)](_0x4cc535))),Br[_0x4159e4(0x18f)](_0x3a8e1f=>{const _0x102877=_0x4159e4;var _0x1a0449;return(_0x1a0449=this[_0x102877(0x136)])==null?void 0x0:_0x1a0449[_0x102877(0x285)](_0x3a8e1f);});}[_0x3ddbdb(0x435)](){const _0x34d3f6=_0x3ddbdb;this['_dataSyncPrimaryController']&&(this[_0x34d3f6(0x3b8)](this[_0x34d3f6(0x3c4)]['getTypeOfUnitAdded$'](e[_0x34d3f6(0x392)][_0x34d3f6(0x1f7)])[_0x34d3f6(0x209)](({unit:_0x2914cc})=>{const _0x13403f=_0x34d3f6;this['_syncBaseUnit'](_0x2914cc[_0x13403f(0x3bb)]());})),this[_0x34d3f6(0x3b8)](this[_0x34d3f6(0x3c4)]['getTypeOfUnitDisposed$'](e[_0x34d3f6(0x392)][_0x34d3f6(0x1f7)])['subscribe'](_0x159e08=>{const _0x141da0=_0x34d3f6;var _0x598167;(_0x598167=this[_0x141da0(0x2c9)][_0x141da0(0x1d9)](_0x159e08['getUnitId']()))==null||_0x598167[_0x141da0(0x26c)](),this[_0x141da0(0x2c9)][_0x141da0(0x426)](_0x159e08[_0x141da0(0x3bb)]());})));}[_0x3ddbdb(0x237)](_0x48090d){const _0x148a4b=_0x3ddbdb;!this['_dataSyncPrimaryController']||this['_baseSyncDisposables'][_0x148a4b(0x1d1)](_0x48090d)||this['_baseSyncDisposables'][_0x148a4b(0x12d)](_0x48090d,this[_0x148a4b(0x136)][_0x148a4b(0x336)](_0x48090d));}[_0x3ddbdb(0x265)](){const _0x1d2d1d=_0x3ddbdb;let _0x55c3d1=this[_0x1d2d1d(0x15d)][_0x1d2d1d(0x1d9)](F);tt()['forEach'](_0x31c660=>_0x55c3d1[_0x1d2d1d(0x22b)](_0x31c660));let _0x2bf055=this[_0x1d2d1d(0x15d)][_0x1d2d1d(0x1d9)](Lr),_0x25a5b0=this[_0x1d2d1d(0x15d)][_0x1d2d1d(0x1d9)](Ft);At()[_0x1d2d1d(0x18f)](_0x597abb=>{const _0x31bf77=_0x1d2d1d;_0x2bf055['register'](_0x597abb),_0x25a5b0[_0x31bf77(0x19f)](_0x597abb);});}};P(Z,_0x3ddbdb(0x21f),zr),P(Z,'packageName',Nr),P(Z,'version',Pr),P(Z,_0x3ddbdb(0x22c),e[_0x3ddbdb(0x392)][_0x3ddbdb(0x1f7)]),Z=R([(0x0,e['DependentOn'])(n['UniverLicensePlugin'],t[_0x3ddbdb(0x33d)]),L(0x1,(0x0,e['Inject'])(e['Injector'])),L(0x2,e[_0x3ddbdb(0x21d)]),L(0x3,e[_0x3ddbdb(0x25a)]),L(0x4,(0x0,e['Optional'])(r[_0x3ddbdb(0x3f1)]))],Z);let Q=class extends e[_0x3ddbdb(0x1a9)]{constructor(_0x77df13={},_0x2dc367,_0x563712,_0x981f74){const _0x249c7f=_0x3ddbdb;super(),this['_config']=_0x77df13,this[_0x249c7f(0x15d)]=_0x2dc367,this[_0x249c7f(0x385)]=_0x563712,this[_0x249c7f(0x3c4)]=_0x981f74,this['_univerInstanceService'][_0x249c7f(0x13a)](e[_0x249c7f(0x392)][_0x249c7f(0x1f7)],e[_0x249c7f(0x2f3)]),this['_injector'][_0x249c7f(0x255)]([Fr]),Br['forEach'](_0x282028=>this['disposeWithMe'](this[_0x249c7f(0x385)][_0x249c7f(0x380)](_0x282028)));}['onReady'](){const _0x226125=_0x3ddbdb;(0x0,e[_0x226125(0x299)])(this['_injector'],[[Fr]]);}};P(Q,_0x3ddbdb(0x21f),_0x3ddbdb(0x221)),P(Q,_0x3ddbdb(0x1e3),Nr),P(Q,_0x3ddbdb(0x3c6),Pr),P(Q,_0x3ddbdb(0x22c),e[_0x3ddbdb(0x392)][_0x3ddbdb(0x1f7)]),Q=R([(0x0,e[_0x3ddbdb(0x417)])(t[_0x3ddbdb(0x33d)]),L(0x1,(0x0,e[_0x3ddbdb(0x39a)])(e[_0x3ddbdb(0x3ab)])),L(0x2,e['ICommandService']),L(0x3,e[_0x3ddbdb(0x25a)])],Q);function Vr(_0x10fb0d){const _0x4e8ab0=_0x3ddbdb;let _0x3977ce=ei(_0x10fb0d[_0x4e8ab0(0x3ef)]);if(!_0x3977ce)return{'query':'','total':0x0,'matches':[]};let _0x3673b9=[],_0x9edbb6=_0x10fb0d[_0x4e8ab0(0x35b)][_0x4e8ab0(0x423)]((_0x11dbc8,_0x2ab051)=>({'field':_0x10fb0d[_0x4e8ab0(0x2c0)][_0x4e8ab0(0x2c6)][_0x11dbc8],'fieldIndex':_0x2ab051}))[_0x4e8ab0(0x1c1)](_0x30aaa7=>!!(_0x30aaa7[_0x4e8ab0(0x3cd)]&&!_0x30aaa7[_0x4e8ab0(0x3cd)][_0x4e8ab0(0x2e3)]));_0x10fb0d[_0x4e8ab0(0x3d7)][_0x4e8ab0(0x18f)]((_0x1e0733,_0x561eb9)=>{const _0x2fe68f=_0x4e8ab0;_0x9edbb6[_0x2fe68f(0x18f)](({field:_0x158dcf,fieldIndex:_0x58ca2d})=>{const _0xdffe0=_0x2fe68f;let _0xff5d7c=Hr(_0x1e0733[_0xdffe0(0x14b)][_0x158dcf['id']],_0x158dcf);if(!_0xff5d7c)return;let _0x362100=$r(_0x3977ce,_0xff5d7c[_0xdffe0(0x212)]);_0x362100<=0x0||_0x3673b9['push']({'recordId':_0x1e0733['recordId'],'fieldId':_0x158dcf['id'],'fieldType':_0x158dcf[_0xdffe0(0x22c)],'text':_0xff5d7c[_0xdffe0(0x41f)],'score':_0x362100,'rowIndex':_0x561eb9,'fieldIndex':_0x58ca2d});});}),_0x3673b9['sort']((_0x35e7eb,_0x1f0130)=>_0x1f0130['score']-_0x35e7eb[_0x4e8ab0(0x2d5)]||_0x35e7eb['rowIndex']-_0x1f0130['rowIndex']||_0x35e7eb['fieldIndex']-_0x1f0130[_0x4e8ab0(0x2a1)]);let _0x113780=_0x10fb0d[_0x4e8ab0(0x377)]==null?_0x3673b9:_0x3673b9['slice'](0x0,Math[_0x4e8ab0(0x1d8)](0x0,_0x10fb0d[_0x4e8ab0(0x377)]));return{'query':_0x3977ce,'total':_0x3673b9['length'],'matches':_0x113780[_0x4e8ab0(0x423)](({rowIndex:_0x49553b,fieldIndex:_0x50f761,..._0x1017ad})=>_0x1017ad)};}function Hr(_0x1bd09b,_0x4d28bc){const _0x4eea78=_0x3ddbdb;let _0x4c5c8d=Wr(_0x1bd09b,_0x4d28bc)[_0x4eea78(0x423)](ei)[_0x4eea78(0x1c1)](Boolean);return _0x4c5c8d['length']?{'displayText':Ur(_0x1bd09b,_0x4d28bc),'searchTexts':ti(_0x4c5c8d)}:null;}function Ur(_0x464087,_0x57836f){const _0x2bcb04=_0x3ddbdb;switch(_0x57836f[_0x2bcb04(0x22c)]){case'singleSelect':case _0x2bcb04(0x171):case _0x2bcb04(0x40e):return Gr(_0x464087,_0x57836f)[_0x2bcb04(0x2f1)](',\x20');case _0x2bcb04(0x36c):return Jr(_0x464087);case _0x2bcb04(0x18b):case _0x2bcb04(0x431):case _0x2bcb04(0x2ca):return Yr(_0x464087,_0x57836f);case'number':case _0x2bcb04(0x30b):return Xr(_0x464087,_0x57836f);case _0x2bcb04(0x15c):return Zr(_0x464087,_0x57836f);case'checkbox':return _0x464087?'Checked':_0x2bcb04(0x2d9);case'attachment':return Qr(_0x464087)[_0x2bcb04(0x2f1)](',\x20');default:return $(_0x464087);}}function Wr(_0x36570a,_0x5f146e){const _0xe8e70f=_0x3ddbdb;switch(_0x5f146e[_0xe8e70f(0x22c)]){case _0xe8e70f(0x3d6):case _0xe8e70f(0x171):case'group':{let _0x5eea7f=Gr(_0x36570a,_0x5f146e),_0x34608d=Array[_0xe8e70f(0x22e)](_0x36570a)?_0x36570a[_0xe8e70f(0x423)](String):_0x36570a==null?[]:[String(_0x36570a)];return[..._0x5eea7f,..._0x34608d];}case'link':{let _0x414fdf=qr(_0x36570a);return[_0x414fdf[_0xe8e70f(0x3f8)],_0x414fdf['url']];}case'date':case _0xe8e70f(0x431):case _0xe8e70f(0x2ca):return[Yr(_0x36570a,_0x5f146e),$(_0x36570a)];case _0xe8e70f(0x424):case _0xe8e70f(0x30b):return[Xr(_0x36570a,_0x5f146e),$(_0x36570a)];case _0xe8e70f(0x15c):return[Zr(_0x36570a,_0x5f146e),$(_0x36570a)];case _0xe8e70f(0x164):return _0x36570a?[_0xe8e70f(0x247),_0xe8e70f(0x437),_0xe8e70f(0x42e)]:[_0xe8e70f(0x2d9),'No',_0xe8e70f(0x257)];case _0xe8e70f(0x2a5):return Qr(_0x36570a);default:return[$(_0x36570a)];}}function Gr(_0xb7fbeb,_0x35964e){const _0x485247=_0x3ddbdb;var _0x9ae747;let _0x4526e2=Array[_0x485247(0x22e)]((_0x9ae747=_0x35964e['config'])==null?void 0x0:_0x9ae747[_0x485247(0x2dd)])?_0x35964e[_0x485247(0x367)][_0x485247(0x2dd)]:[];return(Array[_0x485247(0x22e)](_0xb7fbeb)?_0xb7fbeb[_0x485247(0x423)](String):_0xb7fbeb==null?[]:[String(_0xb7fbeb)])['filter'](Boolean)[_0x485247(0x423)](_0x11a68e=>Kr(_0x4526e2,_0x11a68e));}function Kr(_0x9c91d0,_0x2e1cfa){const _0x11a749=_0x3ddbdb;for(let _0x364700 of _0x9c91d0){if(typeof _0x364700==_0x11a749(0x277)&&_0x364700===_0x2e1cfa)return _0x364700;if(_0x364700&&typeof _0x364700=='object'){var _0x160214,_0x43ecca,_0x7b0dd8;let _0x20a650=_0x364700;if(String((_0x160214=(_0x43ecca=_0x20a650['id'])==null?_0x20a650[_0x11a749(0x1a6)]:_0x43ecca)==null?'':_0x160214)===_0x2e1cfa||String((_0x7b0dd8=_0x20a650[_0x11a749(0x1a6)])==null?'':_0x7b0dd8)===_0x2e1cfa){var _0x58df65,_0x5f3fd2;return String((_0x58df65=(_0x5f3fd2=_0x20a650[_0x11a749(0x1a6)])==null?_0x20a650['id']:_0x5f3fd2)==null?_0x2e1cfa:_0x58df65);}}}return _0x2e1cfa;}function qr(_0x2c0283){const _0x12620a=_0x3ddbdb;if(_0x2c0283&&typeof _0x2c0283==_0x12620a(0x239)&&!Array[_0x12620a(0x22e)](_0x2c0283)){var _0x5cc5cc,_0x1e46ff,_0x33f8a0;let _0x3497f5=_0x2c0283;return{'text':String((_0x5cc5cc=(_0x1e46ff=_0x3497f5[_0x12620a(0x3f8)])==null?_0x3497f5['url']:_0x1e46ff)==null?'':_0x5cc5cc),'url':String((_0x33f8a0=_0x3497f5['url'])==null?'':_0x33f8a0)};}return{'text':$(_0x2c0283),'url':$(_0x2c0283)};}function Jr(_0x47e304){const _0x29ec36=_0x3ddbdb;let _0x56950c=qr(_0x47e304);return _0x56950c['text']||_0x56950c[_0x29ec36(0x35e)];}function Yr(_0x76f258,_0x4a55f5){const _0x107e1f=_0x3ddbdb;return typeof _0x76f258!=_0x107e1f(0x424)||!Number[_0x107e1f(0x2f5)](_0x76f258)?'':Me(_0x76f258,_0x4a55f5['config']);}function Xr(_0x3f6f35,_0x3cae26){let _0x365ddf=typeof _0x3f6f35=='number'?_0x3f6f35:Number(_0x3f6f35);return Number['isFinite'](_0x365ddf)?Tr(_0x365ddf,_0x3cae26['config']):'';}function Zr(_0x266073,_0x31250a){const _0x370a14=_0x3ddbdb;var _0x2d5933;let _0x4a7e27=typeof _0x266073=='number'?_0x266073:Number(_0x266073);if(!Number['isFinite'](_0x4a7e27))return'';let _0x201ef4=(_0x2d5933=_0x31250a[_0x370a14(0x367)])==null?{}:_0x2d5933,_0x59348f=_0x201ef4[_0x370a14(0x2be)]===0x1||_0x201ef4[_0x370a14(0x2be)]===0x2?_0x201ef4[_0x370a14(0x2be)]:0x0,_0x4a719c=_0x4a7e27[_0x370a14(0x3b0)](_0x59348f);return _0x201ef4[_0x370a14(0x28b)]===_0x370a14(0x424)?_0x4a719c:_0x4a719c+'%';}function Qr(_0x1ea449){const _0x252292=_0x3ddbdb;return Array[_0x252292(0x22e)](_0x1ea449)?_0x1ea449['flatMap'](_0x193d3a=>{const _0x3e2eeb=_0x252292;var _0x1673c6,_0x291058;if(!_0x193d3a||typeof _0x193d3a!=_0x3e2eeb(0x239))return[];let _0x1d4cc0=_0x193d3a,_0x321127=String((_0x1673c6=(_0x291058=_0x1d4cc0['name'])==null?_0x1d4cc0[_0x3e2eeb(0x35e)]:_0x291058)==null?'':_0x1673c6)[_0x3e2eeb(0x2ab)]();return _0x321127?[_0x321127]:[];}):[];}function $(_0x2ae033){const _0x1cb23e=_0x3ddbdb;if(_0x2ae033==null)return'';if(typeof _0x2ae033==_0x1cb23e(0x262))return _0x2ae033?_0x1cb23e(0x26b):_0x1cb23e(0x2cf);if(typeof _0x2ae033==_0x1cb23e(0x424))return String(_0x2ae033);if(Array[_0x1cb23e(0x22e)](_0x2ae033))return _0x2ae033[_0x1cb23e(0x423)](_0x131728=>$(_0x131728))['filter'](Boolean)[_0x1cb23e(0x2f1)](',\x20');if(typeof _0x2ae033==_0x1cb23e(0x239)){var _0x26969e,_0x3a70bb,_0x3190ff,_0x110244;let _0x1831bd=_0x2ae033;return String((_0x26969e=(_0x3a70bb=(_0x3190ff=(_0x110244=_0x1831bd[_0x1cb23e(0x248)])==null?_0x1831bd[_0x1cb23e(0x1a6)]:_0x110244)==null?_0x1831bd[_0x1cb23e(0x3f8)]:_0x3190ff)==null?_0x1831bd[_0x1cb23e(0x35e)]:_0x3a70bb)==null?'':_0x26969e)['trim']();}return String(_0x2ae033);}function $r(_0x42e680,_0x985e99){const _0x72dfe2=_0x3ddbdb;let _0x123bad=0x0;for(let _0x83f13 of _0x985e99)if(_0x83f13){if(_0x83f13===_0x42e680){_0x123bad=Math[_0x72dfe2(0x1d8)](_0x123bad,0x12c);continue;}if(_0x83f13['startsWith'](_0x42e680)){_0x123bad=Math[_0x72dfe2(0x1d8)](_0x123bad,0xfa);continue;}_0x83f13[_0x72dfe2(0x328)](_0x42e680)&&(_0x123bad=Math[_0x72dfe2(0x1d8)](_0x123bad,0xc8));}return _0x123bad;}function ei(_0x39397c){const _0xc0191c=_0x3ddbdb;return _0x39397c[_0xc0191c(0x2ab)]()['replace'](/\s+/g,'\x20')['toLowerCase']();}function ti(_0x5bc967){const _0x5c0901=_0x3ddbdb;return Array[_0x5c0901(0x2c8)](new Set(_0x5bc967));}function ni(_0x5ee602){const _0x60dd6f=_0x3ddbdb;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x5ee602[_0x60dd6f(0x30d)],'t':_0x5ee602['tableId'],'p':_0x5ee602[_0x60dd6f(0x2f4)][_0x60dd6f(0x423)](_0x7c22f9=>[_0x7c22f9['row'],_0x7c22f9['col'],fi(_0x7c22f9[_0x60dd6f(0x3ad)])])};}function ri(_0x2393b1){return ii(_0x2393b1)?{'unitId':_0x2393b1['u'],'tableId':_0x2393b1['t'],'patches':_0x2393b1['p']['map'](([_0x5dabf7,_0xcd98bd,_0x52d043])=>({'row':_0x5dabf7,'col':_0xcd98bd,'value':pi(_0x52d043)}))}:_0x2393b1;}function ii(_0x35ffe7){const _0x33e2e5=_0x3ddbdb;return!!_0x35ffe7&&typeof _0x35ffe7==_0x33e2e5(0x239)&&_0x35ffe7[_0x33e2e5(0x390)]==='base-range-values-v1';}function ai(_0x3891aa){const _0x2b71b9=_0x3ddbdb;return{..._0x3891aa,'compress':!0x0,'kind':_0x2b71b9(0x22d),'tables':Object[_0x2b71b9(0x284)](Object[_0x2b71b9(0x291)](_0x3891aa['tables'])['map'](([_0x3dd381,_0x57b02b])=>[_0x3dd381,ci(_0x57b02b)]))};}function oi(_0x29f691){const _0x290297=_0x3ddbdb;if(!si(_0x29f691))return _0x29f691;let {compress:_0x22d8b1,kind:_0x2c6b4e,tables:_0xfde969,..._0x4d1382}=_0x29f691;return{..._0x4d1382,'tables':Object[_0x290297(0x284)](Object[_0x290297(0x291)](_0xfde969)[_0x290297(0x423)](([_0x25936f,_0x334fa8])=>[_0x25936f,li(_0x334fa8)]))};}function si(_0x5daa8c){const _0x5a91bd=_0x3ddbdb;return!!_0x5daa8c&&typeof _0x5daa8c==_0x5a91bd(0x239)&&_0x5daa8c[_0x5a91bd(0x390)]===_0x5a91bd(0x22d);}function ci(_0x31332f){const _0x19111b=_0x3ddbdb;let {cellData:_0x4de9e4,..._0x56e476}=_0x31332f,_0x49cb4b=ui(_0x4de9e4);return _0x49cb4b[_0x19111b(0x29a)]?{..._0x56e476,'cd':_0x49cb4b}:_0x56e476;}function li(_0x3b9372){let {cd:_0x1c86a2,..._0x30f140}=_0x3b9372;return{..._0x30f140,'cellData':di(_0x1c86a2)};}function ui(_0x2b0b81){const _0x44d9e3=_0x3ddbdb;return _0x2b0b81?Object[_0x44d9e3(0x291)](_0x2b0b81)[_0x44d9e3(0x292)](([_0x120b13,_0x19ba48])=>Object[_0x44d9e3(0x291)](_0x19ba48==null?{}:_0x19ba48)['map'](([_0x1bb1e5,_0x2798cd])=>[Number(_0x120b13),Number(_0x1bb1e5),mi(_0x2798cd)])):[];}function di(_0x57512f){let _0x395157={};for(let [_0x1059f0,_0x457f49,_0xaa7df8]of _0x57512f==null?[]:_0x57512f){var _0x3111c5;_0x395157[_0x1059f0]=(_0x3111c5=_0x395157[_0x1059f0])==null?{}:_0x3111c5,_0x395157[_0x1059f0][_0x457f49]=hi(_0xaa7df8);}return _0x395157;}function fi(_0x5a50c7){return gi(_0x5a50c7)?mi(_0x5a50c7):_0x5a50c7;}function pi(_0x5b8628){return _i(_0x5b8628)?hi(_0x5b8628):_0x5b8628;}function mi(_0x3a6a41){return{'c':0x1,..._0x3a6a41['v']===void 0x0?{}:{'v':_0x3a6a41['v']},..._0x3a6a41['t']!==void 0x0&&_0x3a6a41['t']!==null?{'t':_0x3a6a41['t']}:_0x3a6a41['t']===null?{'t':null}:{},..._0x3a6a41['f']!==void 0x0&&_0x3a6a41['f']!==null?{'f':_0x3a6a41['f']}:_0x3a6a41['f']===null?{'f':null}:{},..._0x3a6a41['si']!==void 0x0&&_0x3a6a41['si']!==null?{'si':_0x3a6a41['si']}:_0x3a6a41['si']===null?{'si':null}:{},..._0x3a6a41['p']!==void 0x0&&_0x3a6a41['p']!==null?{'p':_0x3a6a41['p']}:_0x3a6a41['p']===null?{'p':null}:{}};}function hi(_0xdaa45c){return{..._0xdaa45c['v']===void 0x0?{}:{'v':_0xdaa45c['v']},..._0xdaa45c['t']===void 0x0?{}:{'t':_0xdaa45c['t']},..._0xdaa45c['f']===void 0x0?{}:{'f':_0xdaa45c['f']},..._0xdaa45c['si']===void 0x0?{}:{'si':_0xdaa45c['si']},..._0xdaa45c['p']===void 0x0?{}:{'p':_0xdaa45c['p']}};}function gi(_0x39f493){const _0x57f5d4=_0x3ddbdb;return!!_0x39f493&&typeof _0x39f493=='object'&&!Array[_0x57f5d4(0x22e)](_0x39f493)&&(Object['prototype'][_0x57f5d4(0x1ac)]['call'](_0x39f493,'v')||Object[_0x57f5d4(0x34d)][_0x57f5d4(0x1ac)][_0x57f5d4(0x300)](_0x39f493,'t')||Object[_0x57f5d4(0x34d)]['hasOwnProperty'][_0x57f5d4(0x300)](_0x39f493,'p')||Object['prototype'][_0x57f5d4(0x1ac)]['call'](_0x39f493,'f')||Object[_0x57f5d4(0x34d)]['hasOwnProperty'][_0x57f5d4(0x300)](_0x39f493,'si'));}function _i(_0x589ade){const _0x2d8094=_0x3ddbdb;return!!_0x589ade&&typeof _0x589ade==_0x2d8094(0x239)&&!Array[_0x2d8094(0x22e)](_0x589ade)&&_0x589ade['c']===0x1;}exports[_0x3ddbdb(0x3d9)]=K,exports[_0x3ddbdb(0x139)]=zr,exports[_0x3ddbdb(0x1f8)]=Br,Object[_0x3ddbdb(0x12b)](exports,'BaseActiveDirtyController',{'enumerable':!0x0,'get':function(){return J;}}),Object[_0x3ddbdb(0x12b)](exports,_0x3ddbdb(0x31a),{'enumerable':!0x0,'get':function(){return B;}}),exports[_0x3ddbdb(0x1ef)]=St,Object[_0x3ddbdb(0x12b)](exports,_0x3ddbdb(0x1a7),{'enumerable':!0x0,'get':function(){return Y;}}),exports[_0x3ddbdb(0x238)]=mr,exports[_0x3ddbdb(0x23d)]=jr,exports['BaseJson1OpApplier']=w,exports[_0x3ddbdb(0x146)]=M,exports[_0x3ddbdb(0x2c7)]=wt,Object[_0x3ddbdb(0x12b)](exports,'BaseProjectionService',{'enumerable':!0x0,'get':function(){return Lt;}}),Object[_0x3ddbdb(0x12b)](exports,_0x3ddbdb(0x143),{'enumerable':!0x0,'get':function(){return X;}}),exports['BaseViewRegistryService']=Rr,exports[_0x3ddbdb(0x2b4)]=pn,exports['BatchDeleteBaseRecordsCommand']=mn,exports[_0x3ddbdb(0x2ac)]=hn,exports[_0x3ddbdb(0x432)]=gn,exports[_0x3ddbdb(0x242)]=_n,exports[_0x3ddbdb(0x2c1)]=vn,exports[_0x3ddbdb(0x3ca)]=Nn,exports[_0x3ddbdb(0x370)]=Pn,exports['DeleteBaseRecordCommand']=Fn,exports['DeleteBaseTableCommand']=In,exports['DeleteBaseViewCommand']=Ln,exports[_0x3ddbdb(0x170)]=Rn,exports[_0x3ddbdb(0x2f9)]=zn,exports[_0x3ddbdb(0x3e5)]=Bn,exports['IBaseCommandService']=z,exports[_0x3ddbdb(0x17c)]=F,exports[_0x3ddbdb(0x12a)]=Ct,exports[_0x3ddbdb(0x40f)]=Ft,exports[_0x3ddbdb(0x263)]=Ir,exports['IBaseViewRegistryService']=Lr,exports['MoveBaseFieldCommand']=Un,exports[_0x3ddbdb(0x213)]=Wn,exports[_0x3ddbdb(0x17d)]=Gn,exports[_0x3ddbdb(0x3c8)]=Kn,exports['SetBaseKanbanGroupFieldCommand']=qn,exports['SetBaseRangeValuesCommand']=Jn,exports[_0x3ddbdb(0x16a)]=Yn,exports[_0x3ddbdb(0x200)]=Xn,exports['SetBaseViewFieldVisibleCommand']=Zn,exports[_0x3ddbdb(0x382)]=Qn,exports[_0x3ddbdb(0x1fe)]=$n,exports[_0x3ddbdb(0x3fd)]=er,exports[_0x3ddbdb(0x24b)]=tr,Object[_0x3ddbdb(0x12b)](exports,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x3ddbdb(0x12b)](exports,_0x3ddbdb(0x2b9),{'enumerable':!0x0,'get':function(){return Q;}}),exports['UpdateBaseCellCommand']=nr,exports[_0x3ddbdb(0x240)]=ir,exports[_0x3ddbdb(0x342)]=rr,exports[_0x3ddbdb(0x31e)]=ar,exports[_0x3ddbdb(0x18a)]=or,exports['UpdateBaseViewConfigCommand']=sr,exports[_0x3ddbdb(0x307)]=D,exports[_0x3ddbdb(0x39d)]=A,exports[_0x3ddbdb(0x1c0)]=wr,exports[_0x3ddbdb(0x36d)]=j,exports[_0x3ddbdb(0x42f)]=ni,exports[_0x3ddbdb(0x1e2)]=ai,exports['copyBaseTableSnapshot']=Ar,exports[_0x3ddbdb(0x369)]=hr,exports[_0x3ddbdb(0x303)]=gr,exports[_0x3ddbdb(0x152)]=lr,exports[_0x3ddbdb(0x391)]=tt,exports['createCoreViewPlugins']=At,exports[_0x3ddbdb(0x2e9)]=T,exports[_0x3ddbdb(0x215)]=ri,exports[_0x3ddbdb(0x3a9)]=oi,exports[_0x3ddbdb(0x2ed)]=f,exports[_0x3ddbdb(0x2a6)]=je,exports[_0x3ddbdb(0x3dc)]=Me,exports[_0x3ddbdb(0x229)]=Tr,exports[_0x3ddbdb(0x402)]=x,exports['getBaseAttachmentResourceKey']=ie,exports[_0x3ddbdb(0x3a1)]=_,exports[_0x3ddbdb(0x19a)]=y,exports['getBaseCellValue']=v,exports[_0x3ddbdb(0x3c9)]=q,exports[_0x3ddbdb(0x2ef)]=kr,exports[_0x3ddbdb(0x272)]=a,exports['isCompressedBaseRangeValuesPayload']=ii,exports[_0x3ddbdb(0x2c3)]=si,exports[_0x3ddbdb(0x3d3)]=c,exports['matchesBaseCondition']=Le,exports[_0x3ddbdb(0x23f)]=S,exports[_0x3ddbdb(0x1cc)]=E,exports['readAttachmentResources']=oe,exports[_0x3ddbdb(0x1e5)]=Vr,exports[_0x3ddbdb(0x23c)]=ee,exports[_0x3ddbdb(0x2b8)]=cr,exports['toBaseCellData']=b,exports[_0x3ddbdb(0x372)]=ne,exports['traceBasePerformance']=o,exports[_0x3ddbdb(0x309)]=s,exports[_0x3ddbdb(0x1a8)]=yn,exports[_0x3ddbdb(0x422)]=ae;
|
|
1
|
+
const _0xff19e8=_0x3a38;(function(_0x503866,_0x12b585){const _0x39fc21=_0x3a38,_0x3b3a23=_0x503866();while(!![]){try{const _0x12d0ea=parseInt(_0x39fc21(0x1d1))/0x1*(parseInt(_0x39fc21(0x25d))/0x2)+parseInt(_0x39fc21(0x403))/0x3*(parseInt(_0x39fc21(0x24c))/0x4)+-parseInt(_0x39fc21(0x3c5))/0x5*(-parseInt(_0x39fc21(0x1a2))/0x6)+parseInt(_0x39fc21(0x2fe))/0x7*(parseInt(_0x39fc21(0x3d1))/0x8)+parseInt(_0x39fc21(0x200))/0x9*(-parseInt(_0x39fc21(0x1b9))/0xa)+-parseInt(_0x39fc21(0x2ea))/0xb+parseInt(_0x39fc21(0x23e))/0xc*(-parseInt(_0x39fc21(0x1d6))/0xd);if(_0x12d0ea===_0x12b585)break;else _0x3b3a23['push'](_0x3b3a23['shift']());}catch(_0xf04dc0){_0x3b3a23['push'](_0x3b3a23['shift']());}}}(_0x1c33,0x2a817),Object[_0xff19e8(0x2b4)](exports,Symbol[_0xff19e8(0x2cf)],{'value':_0xff19e8(0x391)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function a(){const _0x29ce7e=_0xff19e8;if(globalThis[_0x29ce7e(0x263)]===!0x0)return!0x0;try{let _0x2b968e=typeof location>'u'?'':location[_0x29ce7e(0x3b3)],_0x434e80=new URLSearchParams(_0x2b968e);if(_0x434e80['get']('basePerf')==='1'||_0x434e80[_0x29ce7e(0x2e7)](_0x29ce7e(0x2e1))===_0x29ce7e(0x1b5)||_0x434e80[_0x29ce7e(0x2e7)](_0x29ce7e(0x2bc))==='1')return!0x0;}catch{}try{let _0x375b47=typeof localStorage>'u'?null:localStorage[_0x29ce7e(0x41b)](_0x29ce7e(0x17d));return _0x375b47==='1'||_0x375b47==='true';}catch{return!0x1;}}function o(_0x13b01e,_0x3be101,_0x3fb3df){const _0x5405ad=_0xff19e8;if(!a())return _0x3be101();let _0x530d73=l(),_0x19b9ab=_0x5405ad(0x141)+i++;u(_0x19b9ab+_0x5405ad(0x19a));try{return _0x3be101();}finally{let _0x15cc6c=l()-_0x530d73;u(_0x19b9ab+_0x5405ad(0x33c)),d(_0x13b01e,_0x19b9ab+_0x5405ad(0x19a),_0x19b9ab+_0x5405ad(0x33c)),c(_0x13b01e,_0x15cc6c,_0x3fb3df);}}async function s(_0x4d6330,_0x4ae02d,_0x68de75){const _0xdcac5d=_0xff19e8;if(!a())return _0x4ae02d();let _0x1f9247=l(),_0x4994d7=_0xdcac5d(0x141)+i++;u(_0x4994d7+_0xdcac5d(0x19a));try{return await _0x4ae02d();}finally{let _0x525da6=l()-_0x1f9247;u(_0x4994d7+_0xdcac5d(0x33c)),d(_0x4d6330,_0x4994d7+_0xdcac5d(0x19a),_0x4994d7+':end'),c(_0x4d6330,_0x525da6,_0x68de75);}}function c(_0x4f261b,_0x1e8d2b,_0x85f931){const _0x471ddc=_0xff19e8;if(!a())return;let _0x8fbffd=Math[_0x471ddc(0x20d)](_0x1e8d2b*0x64)/0x64,_0x20a666=_0x85f931&&Object[_0x471ddc(0x416)](_0x85f931)[_0x471ddc(0x42b)]?'\x20'+JSON[_0x471ddc(0x18b)](_0x85f931):'';console[_0x471ddc(0x3b2)](_0x471ddc(0x199)+_0x4f261b+':\x20'+_0x8fbffd+'ms'+_0x20a666);}function l(){const _0x573bdc=_0xff19e8;return typeof performance<'u'&&typeof performance[_0x573bdc(0x3e9)]==_0x573bdc(0x288)?performance[_0x573bdc(0x3e9)]():Date['now']();}function u(_0x117bb4){const _0x11a22b=_0xff19e8;try{if(typeof performance<'u'){var _0x588f54,_0x545723;(_0x588f54=(_0x545723=performance)[_0x11a22b(0x3d6)])==null||_0x588f54['call'](_0x545723,_0x117bb4);}}catch{}}function d(_0x4c1cea,_0x3be799,_0x26400d){const _0x44994b=_0xff19e8;try{if(typeof performance<'u'){var _0x414650,_0x272310;(_0x414650=(_0x272310=performance)[_0x44994b(0x425)])==null||_0x414650[_0x44994b(0x234)](_0x272310,_0x44994b(0x199)+_0x4c1cea,_0x3be799,_0x26400d);}}catch{}}function f(_0x3b7269){const _0x453997=_0xff19e8;var _0x24bdbb,_0x148246;return a()?o(_0x453997(0x292),()=>p(_0x3b7269),{'tableId':_0x3b7269['id'],'records':Object['keys']((_0x24bdbb=_0x3b7269['records'])==null?{}:_0x24bdbb)[_0x453997(0x42b)],'fields':_0x3b7269['fieldOrder'][_0x453997(0x42b)],'hasRecordOrder':!!((_0x148246=_0x3b7269[_0x453997(0x279)])!=null&&_0x148246[_0x453997(0x42b)])}):p(_0x3b7269);}function p(_0x2b0561){const _0x2ca519=_0xff19e8;var _0x59935e,_0x556276,_0x254979,_0x5e6890,_0x1baff9,_0x5b4937,_0x35000d,_0x427dd3,_0x2aa6a2,_0x5dc9e3;let _0x28d25c=(_0x59935e=_0x2b0561[_0x2ca519(0x2f3)])==null?{}:_0x59935e,_0x413cc2=(_0x556276=_0x2b0561[_0x2ca519(0x307)])==null?{}:_0x556276,_0x1ed460=(_0x254979=(_0x5e6890=_0x2b0561['recordOrder'])==null?void 0x0:_0x5e6890[_0x2ca519(0x1b3)](_0x23833e=>_0x28d25c[_0x23833e]))==null?[]:_0x254979,_0x190468=new Set(_0x1ed460),_0x3b3aec=Object[_0x2ca519(0x19c)](_0x28d25c)[_0x2ca519(0x1b3)](_0x5efa94=>!_0x190468['has'](_0x5efa94['id'])),_0x40d9eb=_0x3b3aec[_0x2ca519(0x42b)]?[..._0x1ed460,..._0x3b3aec['sort']((_0x3d662e,_0x585308)=>_0x3d662e[_0x2ca519(0x3d9)][_0x2ca519(0x317)](_0x585308[_0x2ca519(0x3d9)]))[_0x2ca519(0x173)](_0x5e425d=>_0x5e425d['id'])]:_0x1ed460,_0x3afc2b=_0x2b0561[_0x2ca519(0x187)]['filter'](_0x4e6033=>_0x413cc2[_0x4e6033]),_0x3e6b63={...(_0x1baff9=_0x2b0561[_0x2ca519(0x250)])==null?{}:_0x1baff9},_0x203073={...(_0x5b4937=_0x2b0561[_0x2ca519(0x1fc)])==null?{}:_0x5b4937},_0x4c00db={...(_0x35000d=_0x2b0561[_0x2ca519(0x3e1)])==null?{}:_0x35000d};return _0x2b0561['recordOrder']=_0x40d9eb,_0x2b0561[_0x2ca519(0x2ce)]={},_0x2b0561[_0x2ca519(0x250)]={},_0x2b0561['colIndex']={},_0x2b0561[_0x2ca519(0x1fc)]={},_0x2b0561['cellData']={},_0x2b0561['resources']={...(_0x427dd3=_0x2b0561[_0x2ca519(0x34e)])==null?{}:_0x427dd3},_0x2b0561['resources'][_0x2ca519(0x1ac)]={...(_0x2aa6a2=_0x2b0561[_0x2ca519(0x34e)][_0x2ca519(0x1ac)])==null?{}:_0x2aa6a2},_0x2b0561[_0x2ca519(0x34e)]['attachments']={...(_0x5dc9e3=_0x2b0561['resources'][_0x2ca519(0x275)])==null?{}:_0x5dc9e3},_0x40d9eb['forEach']((_0x1cfc04,_0x411534)=>{const _0x2351d1=_0x2ca519;_0x2b0561['rowIndex'][_0x1cfc04]=_0x411534,_0x2b0561[_0x2351d1(0x250)][_0x411534]=_0x1cfc04;}),_0x3afc2b[_0x2ca519(0x1a6)]((_0x14e9a4,_0x1b6ec8)=>{const _0x2edac8=_0x2ca519;_0x2b0561[_0x2edac8(0x25c)][_0x14e9a4]=_0x1b6ec8,_0x2b0561[_0x2edac8(0x1fc)][_0x1b6ec8]=_0x14e9a4;}),Object['entries'](_0x4c00db)[_0x2ca519(0x1a6)](([_0x104180,_0x3ecb63])=>{const _0x5c7bef=_0x2ca519;var _0x1ad35e,_0x3e468c;let _0x402317=Number(_0x104180),_0x2833cd=(_0x1ad35e=_0x3e6b63[_0x402317])==null?_0x40d9eb[_0x402317]:_0x1ad35e,_0x4be4e7=_0x2833cd?_0x2b0561['rowIndex'][_0x2833cd]:void 0x0;_0x4be4e7!=null&&(_0x2b0561[_0x5c7bef(0x3e1)][_0x4be4e7]={...(_0x3e468c=_0x2b0561[_0x5c7bef(0x3e1)][_0x4be4e7])==null?{}:_0x3e468c},Object['entries'](_0x3ecb63==null?{}:_0x3ecb63)[_0x5c7bef(0x1a6)](([_0x5d4be4,_0x1d69fc])=>{var _0x6a47c9;let _0x15b1ae=Number(_0x5d4be4),_0x15a2d8=(_0x6a47c9=_0x203073[_0x15b1ae])==null?_0x3afc2b[_0x15b1ae]:_0x6a47c9,_0x26551d=_0x15a2d8?_0x2b0561['colIndex'][_0x15a2d8]:void 0x0;_0x26551d!=null&&(_0x2b0561['cellData'][_0x4be4e7][_0x26551d]=te(_0x1d69fc));}));}),Object['values'](_0x28d25c)[_0x2ca519(0x1a6)](_0x7224ab=>{const _0x49d4ef=_0x2ca519;var _0x452e99,_0x5a2499;let _0x2aa9aa=_0x2b0561[_0x49d4ef(0x2ce)][_0x7224ab['id']];_0x2aa9aa!=null&&(_0x2b0561['cellData'][_0x2aa9aa]={...(_0x452e99=_0x2b0561[_0x49d4ef(0x3e1)][_0x2aa9aa])==null?{}:_0x452e99},Object[_0x49d4ef(0x29f)]((_0x5a2499=_0x7224ab['values'])==null?{}:_0x5a2499)[_0x49d4ef(0x1a6)](([_0x41d380,_0x83e2b5])=>{const _0x48986a=_0x49d4ef;let _0x4ccb7b=_0x413cc2[_0x41d380];(_0x4ccb7b==null?void 0x0:_0x4ccb7b[_0x48986a(0x278)])===_0x48986a(0x3ee)&&ae(_0x2b0561,_0x7224ab['id'],_0x41d380,_0x83e2b5);let _0x15db13=_0x2b0561[_0x48986a(0x25c)][_0x41d380];if(_0x15db13==null)return;let _0x9b160f=_0x2b0561['cellData'][_0x2aa9aa][_0x15db13];if(_0x9b160f!=null){ce(_0x9b160f,_0x4ccb7b,_0x83e2b5)&&(_0x2b0561[_0x48986a(0x3e1)][_0x2aa9aa][_0x15db13]=b(_0x83e2b5,_0x4ccb7b));return;}_0x2b0561[_0x48986a(0x3e1)][_0x2aa9aa][_0x15db13]=b(_0x83e2b5,_0x4ccb7b);}));}),_0x2b0561;}function m(_0x1d1c1b){const _0x160950=_0xff19e8;var _0xe67cf3;return f(_0x1d1c1b),Object[_0x160950(0x29f)]((_0xe67cf3=_0x1d1c1b[_0x160950(0x250)])==null?{}:_0xe67cf3)['forEach'](([_0x1e87b7,_0x198937])=>{const _0x800f87=_0x160950;var _0x1a0cf3,_0x48ccd6,_0x4114f4;let _0x210187=Number(_0x1e87b7),_0x1fb334=_0x1d1c1b[_0x800f87(0x2f3)][_0x198937];_0x1fb334&&(_0x1fb334['values']={...(_0x1a0cf3=_0x1fb334[_0x800f87(0x19c)])==null?{}:_0x1a0cf3},Object[_0x800f87(0x29f)]((_0x48ccd6=(_0x4114f4=_0x1d1c1b['cellData'])==null?void 0x0:_0x4114f4[_0x210187])==null?{}:_0x48ccd6)['forEach'](([_0x4b6299,_0x43c367])=>{const _0x27e113=_0x800f87;var _0x500676;let _0x5c8084=(_0x500676=_0x1d1c1b[_0x27e113(0x1fc)])==null?void 0x0:_0x500676[Number(_0x4b6299)];_0x5c8084&&(_0x1fb334[_0x27e113(0x19c)][_0x5c8084]=x(_0x43c367,_0x1d1c1b['fields'][_0x5c8084],_0x1d1c1b,_0x198937));}));}),_0x1d1c1b;}function h(_0xe0d212,_0x44b531){const _0x1890cc=_0xff19e8;for(let {row:_0x3433c4,col:_0x4edee9}of _0x44b531){var _0x4b6215,_0x483447,_0x3b43a5,_0x16f1b5;let _0xe76a9c=(_0x4b6215=_0xe0d212['rowId'])==null?void 0x0:_0x4b6215[_0x3433c4],_0x5e10af=(_0x483447=_0xe0d212[_0x1890cc(0x1fc)])==null?void 0x0:_0x483447[_0x4edee9],_0x34be8d=_0xe76a9c?_0xe0d212[_0x1890cc(0x2f3)][_0xe76a9c]:void 0x0;!_0x34be8d||!_0x5e10af||(_0x34be8d[_0x1890cc(0x19c)]={...(_0x3b43a5=_0x34be8d['values'])==null?{}:_0x3b43a5},_0x34be8d[_0x1890cc(0x19c)][_0x5e10af]=x((_0x16f1b5=_0xe0d212[_0x1890cc(0x3e1)])==null||(_0x16f1b5=_0x16f1b5[_0x3433c4])==null?void 0x0:_0x16f1b5[_0x4edee9],_0xe0d212['fields'][_0x5e10af],_0xe0d212,_0xe76a9c));}return _0xe0d212;}function g(_0x25f8b4,_0x1cbe82,_0x2155e7){const _0x33523f=_0xff19e8;var _0x3da62b,_0x4ed307,_0x3655ed,_0x2fecb5,_0x910be,_0xc0e7af;let _0x144dd0=(_0x3da62b=_0x25f8b4[_0x33523f(0x2ce)])==null?void 0x0:_0x3da62b[_0x1cbe82],_0x103478=(_0x4ed307=_0x25f8b4['colIndex'])==null?void 0x0:_0x4ed307[_0x2155e7];if(_0x144dd0!=null&&_0x103478!=null&&((_0x3655ed=_0x25f8b4[_0x33523f(0x250)])==null?void 0x0:_0x3655ed[_0x144dd0])===_0x1cbe82&&((_0x2fecb5=_0x25f8b4[_0x33523f(0x1fc)])==null?void 0x0:_0x2fecb5[_0x103478])===_0x2155e7)return{'row':_0x144dd0,'col':_0x103478};let _0x2d095b=f(_0x25f8b4),_0x242979=(_0x910be=_0x2d095b[_0x33523f(0x2ce)])==null?void 0x0:_0x910be[_0x1cbe82],_0x16a4d4=(_0xc0e7af=_0x2d095b['colIndex'])==null?void 0x0:_0xc0e7af[_0x2155e7];return _0x242979==null||_0x16a4d4==null?null:{'row':_0x242979,'col':_0x16a4d4};}function _(_0xb16a90,_0x1bc99e,_0x4aa536){const _0x8a61b3=_0xff19e8;var _0x55e968;let _0x3bb226=g(_0xb16a90,_0x1bc99e,_0x4aa536);if(_0x3bb226)return(_0x55e968=_0xb16a90[_0x8a61b3(0x3e1)])==null||(_0x55e968=_0x55e968[_0x3bb226[_0x8a61b3(0x20f)]])==null?void 0x0:_0x55e968[_0x3bb226[_0x8a61b3(0x301)]];}function v(_0x15d6b8,_0x2d9274,_0x5cb70c){const _0x51256=_0xff19e8;var _0x50d327,_0x265762;let _0x50bc0c=_(_0x15d6b8,_0x2d9274,_0x5cb70c),_0x5cb2fb=_0x15d6b8[_0x51256(0x307)][_0x5cb70c];if((_0x5cb2fb==null?void 0x0:_0x5cb2fb[_0x51256(0x278)])===_0x51256(0x3ee)){var _0xff488a,_0x2a2499;return(_0xff488a=oe(_0x15d6b8,_0x2d9274,_0x5cb70c))==null?S((_0x2a2499=_0x15d6b8[_0x51256(0x2f3)][_0x2d9274])==null||(_0x2a2499=_0x2a2499[_0x51256(0x19c)])==null?void 0x0:_0x2a2499[_0x5cb70c]):_0xff488a;}if(C(_0x5cb2fb)||(_0x5cb2fb==null?void 0x0:_0x5cb2fb[_0x51256(0x278)])===_0x51256(0x38e)){var _0x536075;let _0x54892e=(_0x536075=_0x15d6b8[_0x51256(0x2f3)][_0x2d9274])==null||(_0x536075=_0x536075[_0x51256(0x19c)])==null?void 0x0:_0x536075[_0x5cb70c];return _0x54892e!=null&&_0x54892e!==''?se(_0x54892e,_0x5cb2fb):x(_0x50bc0c,_0x5cb2fb,_0x15d6b8,_0x2d9274);}if(_0x50bc0c&&Object[_0x51256(0x2dd)]['hasOwnProperty'][_0x51256(0x234)](_0x50bc0c,'v')){var _0x17df48;return(_0x17df48=_0x50bc0c['v'])==null?null:_0x17df48;}return(_0x50d327=(_0x265762=_0x15d6b8[_0x51256(0x2f3)][_0x2d9274])==null||(_0x265762=_0x265762['values'])==null?void 0x0:_0x265762[_0x5cb70c])==null?null:_0x50d327;}function y(_0x429485,_0x1dac24,_0x2bc0e6){const _0x56deb2=_0xff19e8;var _0x4bc5f2,_0x1ff940,_0x4e89e1;let _0x1ae969=_(_0x429485,_0x1dac24,_0x2bc0e6);if(_0x1ae969&&Object[_0x56deb2(0x2dd)]['hasOwnProperty'][_0x56deb2(0x234)](_0x1ae969,'v')){var _0x4c2779;return(_0x4c2779=_0x1ae969['v'])==null?null:_0x4c2779;}let _0x4044ae=_0x429485[_0x56deb2(0x307)][_0x2bc0e6];return(_0x4bc5f2=b((_0x1ff940=(_0x4e89e1=_0x429485[_0x56deb2(0x2f3)][_0x1dac24])==null||(_0x4e89e1=_0x4e89e1[_0x56deb2(0x19c)])==null?void 0x0:_0x4e89e1[_0x2bc0e6])==null?null:_0x1ff940,_0x4044ae)['v'])==null?null:_0x4bc5f2;}function ee(_0x33134f,_0x41f85c,_0x253a22,_0x3e2941){const _0x23d01b=_0xff19e8;var _0xa47ddc,_0x42805d,_0x4725f7,_0x370a99;let _0x55a9d1=f(_0x33134f),_0x43d0ba=(_0xa47ddc=_0x55a9d1[_0x23d01b(0x2ce)])==null?void 0x0:_0xa47ddc[_0x41f85c],_0x4279e2=(_0x42805d=_0x55a9d1[_0x23d01b(0x25c)])==null?void 0x0:_0x42805d[_0x253a22];_0x43d0ba==null||_0x4279e2==null||(_0x55a9d1[_0x23d01b(0x3e1)][_0x43d0ba]={...(_0x4725f7=_0x55a9d1[_0x23d01b(0x3e1)][_0x43d0ba])==null?{}:_0x4725f7},_0x55a9d1[_0x23d01b(0x3e1)][_0x43d0ba][_0x4279e2]=b(_0x3e2941,_0x55a9d1['fields'][_0x253a22]),((_0x370a99=_0x55a9d1['fields'][_0x253a22])==null?void 0x0:_0x370a99[_0x23d01b(0x278)])==='attachment'&&ae(_0x55a9d1,_0x41f85c,_0x253a22,_0x3e2941),_0x55a9d1[_0x23d01b(0x2f3)][_0x41f85c][_0x23d01b(0x19c)][_0x253a22]=ne(_0x3e2941,_0x55a9d1[_0x23d01b(0x3e1)][_0x43d0ba][_0x4279e2],_0x55a9d1[_0x23d01b(0x307)][_0x253a22],_0x55a9d1,_0x41f85c));}function b(_0x5a9450,_0x3c1292){const _0x2d1243=_0xff19e8;if(re(_0x5a9450))return(_0x3c1292==null?void 0x0:_0x3c1292[_0x2d1243(0x278)])===_0x2d1243(0x3ee)?{..._0x5a9450,'v':'','t':e[_0x2d1243(0x3ff)][_0x2d1243(0x209)]}:te(_0x5a9450);if((_0x3c1292==null?void 0x0:_0x3c1292[_0x2d1243(0x278)])===_0x2d1243(0x3ee))return{'v':'','t':e[_0x2d1243(0x3ff)][_0x2d1243(0x209)]};if(C(_0x3c1292))return{'v':le(_0x5a9450)[_0x2d1243(0x29b)](',\x20'),'t':e['CellValueType'][_0x2d1243(0x209)]};if((_0x3c1292==null?void 0x0:_0x3c1292[_0x2d1243(0x278)])===_0x2d1243(0x38e)&&_0x5a9450&&typeof _0x5a9450==_0x2d1243(0x12f)&&!Array[_0x2d1243(0x1b7)](_0x5a9450)){var _0x471f95,_0x50e142;let _0x153665=_0x5a9450;return{'v':String((_0x471f95=(_0x50e142=_0x153665['text'])==null?_0x153665[_0x2d1243(0x2d8)]:_0x50e142)==null?'':_0x471f95),'t':e[_0x2d1243(0x3ff)]['STRING']};}return _0x5a9450===null||typeof _0x5a9450==_0x2d1243(0x149)||typeof _0x5a9450==_0x2d1243(0x2c2)||typeof _0x5a9450=='boolean'?{'v':_0x5a9450,'t':de(_0x5a9450)}:{'v':null,'t':null};}function te(_0x8155fb){let _0x4c840f=fe(_0x8155fb['t'],_0x8155fb['v']);if(_0x4c840f===void 0x0){let {t:_0x2bf42f,..._0x33310a}=_0x8155fb;return _0x33310a;}return{..._0x8155fb,'t':_0x4c840f};}function x(_0x23f82a,_0x4c2b2f,_0x451841,_0x999381){const _0x51ac31=_0xff19e8;if(!_0x23f82a)return null;if((_0x4c2b2f==null?void 0x0:_0x4c2b2f['type'])==='attachment'){var _0x37a962;return _0x451841&&_0x999381?(_0x37a962=oe(_0x451841,_0x999381,_0x4c2b2f['id']))==null?[]:_0x37a962:[];}if(C(_0x4c2b2f))return le(_0x23f82a['v']);if((_0x4c2b2f==null?void 0x0:_0x4c2b2f['type'])===_0x51ac31(0x38e)&&_0x451841&&_0x999381){var _0x21fea7;let _0x2bb950=(_0x21fea7=_0x451841[_0x51ac31(0x2f3)][_0x999381])==null||(_0x21fea7=_0x21fea7[_0x51ac31(0x19c)])==null?void 0x0:_0x21fea7[_0x4c2b2f['id']];if(_0x2bb950&&typeof _0x2bb950=='object'&&!Array[_0x51ac31(0x1b7)](_0x2bb950))return _0x2bb950;}if(Object[_0x51ac31(0x2dd)][_0x51ac31(0x2ca)][_0x51ac31(0x234)](_0x23f82a,'v')){var _0x4e6caa;return(_0x4e6caa=_0x23f82a['v'])==null?null:_0x4e6caa;}return null;}function ne(_0x120cc0,_0x582050,_0x47f671,_0x4ceda5,_0x316554){const _0xcd074d=_0xff19e8;return(_0x47f671==null?void 0x0:_0x47f671[_0xcd074d(0x278)])===_0xcd074d(0x3ee)?S(_0x120cc0):C(_0x47f671)?le(_0x120cc0):(_0x47f671==null?void 0x0:_0x47f671[_0xcd074d(0x278)])===_0xcd074d(0x38e)&&_0x120cc0&&typeof _0x120cc0==_0xcd074d(0x12f)&&!Array[_0xcd074d(0x1b7)](_0x120cc0)&&!re(_0x120cc0)?_0x120cc0:x(_0x582050,_0x47f671,_0x4ceda5,_0x316554);}function re(_0x5b7162){const _0x23ea35=_0xff19e8;return!!_0x5b7162&&typeof _0x5b7162==_0x23ea35(0x12f)&&(Object['prototype'][_0x23ea35(0x2ca)][_0x23ea35(0x234)](_0x5b7162,'v')||Object[_0x23ea35(0x2dd)][_0x23ea35(0x2ca)][_0x23ea35(0x234)](_0x5b7162,'t')||Object[_0x23ea35(0x2dd)][_0x23ea35(0x2ca)][_0x23ea35(0x234)](_0x5b7162,'p')||Object[_0x23ea35(0x2dd)][_0x23ea35(0x2ca)]['call'](_0x5b7162,'f')||Object['prototype'][_0x23ea35(0x2ca)][_0x23ea35(0x234)](_0x5b7162,'si'));}function ie(_0x536465,_0x5fbc28){return _0x536465+'\x1f'+_0x5fbc28;}function ae(_0x9f929a,_0x1c1adb,_0x13054d,_0x327165){const _0x2e2a9d=_0xff19e8;var _0x1b5069,_0x590494,_0x49b9ce;let _0x6b1fb=S(_0x327165);_0x9f929a['resources']={...(_0x1b5069=_0x9f929a[_0x2e2a9d(0x34e)])==null?{}:_0x1b5069},_0x9f929a[_0x2e2a9d(0x34e)][_0x2e2a9d(0x1ac)]={...(_0x590494=_0x9f929a[_0x2e2a9d(0x34e)][_0x2e2a9d(0x1ac)])==null?{}:_0x590494},_0x9f929a['resources'][_0x2e2a9d(0x275)]={...(_0x49b9ce=_0x9f929a['resources'][_0x2e2a9d(0x275)])==null?{}:_0x49b9ce};let _0x7503c4=ie(_0x13054d,_0x1c1adb);_0x9f929a['resources'][_0x2e2a9d(0x1ac)][_0x7503c4]=_0x6b1fb['map']((_0x380a44,_0x222e46)=>{var _0x3ebf66;let _0xd4514b=String((_0x3ebf66=_0x380a44['id'])==null?_0x7503c4+'\x1f'+_0x222e46:_0x3ebf66),_0x7c4e21={..._0x380a44,'id':_0xd4514b};return _0x9f929a['resources']['attachments'][_0xd4514b]=_0x7c4e21,_0xd4514b;});}function oe(_0x147856,_0xec0475,_0x35dd1e){const _0x1d803d=_0xff19e8;var _0x3cf1e5;let _0x31f0ab=ie(_0x35dd1e,_0xec0475),_0xa1f417=(_0x3cf1e5=_0x147856['resources'])==null||(_0x3cf1e5=_0x3cf1e5[_0x1d803d(0x1ac)])==null?void 0x0:_0x3cf1e5[_0x31f0ab];return _0xa1f417?_0xa1f417[_0x1d803d(0x173)](_0xff8111=>{const _0xf251fd=_0x1d803d;var _0x32caaf;return(_0x32caaf=_0x147856[_0xf251fd(0x34e)])==null||(_0x32caaf=_0x32caaf[_0xf251fd(0x275)])==null?void 0x0:_0x32caaf[_0xff8111];})['filter'](_0x3883ef=>!!_0x3883ef)['map'](_0x35b892=>({..._0x35b892})):null;}function S(_0x110b40){const _0x4f61a6=_0xff19e8;return _0x110b40==null||_0x110b40===''||re(_0x110b40)&&!('id'in _0x110b40)&&!(_0x4f61a6(0x302)in _0x110b40)?[]:(Array[_0x4f61a6(0x1b7)](_0x110b40)?_0x110b40:[_0x110b40])[_0x4f61a6(0x173)]((_0x89120d,_0x308ea4)=>_0x89120d&&typeof _0x89120d=='object'?{..._0x89120d}:{'id':_0x4f61a6(0x3a9)+_0x308ea4,'name':String(_0x89120d)})[_0x4f61a6(0x1b3)](_0x56a679=>Object[_0x4f61a6(0x416)](_0x56a679)[_0x4f61a6(0x42b)]>0x0);}function se(_0x5b2181,_0x4e20e9){const _0x31561b=_0xff19e8;return(_0x4e20e9==null?void 0x0:_0x4e20e9['type'])===_0x31561b(0x3ee)?S(_0x5b2181):C(_0x4e20e9)?le(_0x5b2181):_0x5b2181;}function ce(_0x14b245,_0x5a6085,_0x33aaef){const _0x4c305f=_0xff19e8;return(_0x5a6085==null?void 0x0:_0x5a6085['type'])==='attachment'?_0x14b245['v']!=='':C(_0x5a6085)?Array[_0x4c305f(0x1b7)](_0x33aaef)&&(_0x14b245['v']==null||_0x14b245['v']===''):!0x1;}function C(_0x32f979){const _0xd758a6=_0xff19e8;return(_0x32f979==null?void 0x0:_0x32f979[_0xd758a6(0x278)])===_0xd758a6(0x230)||(_0x32f979==null?void 0x0:_0x32f979[_0xd758a6(0x278)])===_0xd758a6(0x28d)||(_0x32f979==null?void 0x0:_0x32f979[_0xd758a6(0x278)])===_0xd758a6(0x163);}function le(_0x32aa59){const _0x1988f=_0xff19e8;return _0x32aa59==null||_0x32aa59===''?[]:Array[_0x1988f(0x1b7)](_0x32aa59)?_0x32aa59[_0x1988f(0x173)](_0x2d2e78=>ue(_0x2d2e78))[_0x1988f(0x1b3)](Boolean):String(_0x32aa59)[_0x1988f(0x1a8)](',')[_0x1988f(0x173)](_0x5e5080=>_0x5e5080[_0x1988f(0x380)]())[_0x1988f(0x1b3)](Boolean);}function ue(_0x44502f){const _0x1ec635=_0xff19e8;if(_0x44502f==null)return'';if(typeof _0x44502f==_0x1ec635(0x149)||typeof _0x44502f==_0x1ec635(0x2c2)||typeof _0x44502f==_0x1ec635(0x3fe))return String(_0x44502f);if(typeof _0x44502f=='object'){var _0x3f5665,_0x430ab3,_0x33dd07;let _0x1c280f=_0x44502f;return String((_0x3f5665=(_0x430ab3=(_0x33dd07=_0x1c280f['id'])==null?_0x1c280f['name']:_0x33dd07)==null?_0x1c280f[_0x1ec635(0x2c4)]:_0x430ab3)==null?'':_0x3f5665);}return String(_0x44502f);}function de(_0xe92faa){const _0x16b258=_0xff19e8;return _0xe92faa==null?null:typeof _0xe92faa=='number'?e['CellValueType'][_0x16b258(0x332)]:typeof _0xe92faa==_0x16b258(0x3fe)?e['CellValueType'][_0x16b258(0x213)]:e[_0x16b258(0x3ff)][_0x16b258(0x209)];}function fe(_0x4e7d81,_0x1fe7f8){const _0x49cde3=_0xff19e8;return _0x4e7d81===e[_0x49cde3(0x3ff)]['STRING']||_0x4e7d81===e['CellValueType'][_0x49cde3(0x332)]||_0x4e7d81===e[_0x49cde3(0x3ff)][_0x49cde3(0x213)]||_0x4e7d81===e['CellValueType'][_0x49cde3(0x22d)]||_0x4e7d81==null?_0x4e7d81:de(_0x1fe7f8==null?null:_0x1fe7f8);}var w=class{[_0xff19e8(0x119)](_0x57b819,_0x469f73){const _0x24b94c=_0xff19e8;let _0x12bd63=this[_0x24b94c(0x309)](_0x469f73),_0x1f1aea=o(_0x24b94c(0x3ea),()=>be(_0x57b819,_0x469f73),{'invalidations':_0x12bd63['length']}),_0x24c138=o(_0x24b94c(0x3a7),()=>e[_0x24b94c(0x11f)][_0x24b94c(0x278)][_0x24b94c(0x17e)](_0x1f1aea,_0x469f73),{'invalidations':_0x12bd63[_0x24b94c(0x42b)]});return pe(_0x24c138,_0x12bd63)||this[_0x24b94c(0x41e)](_0x24c138,_0x12bd63)[_0x24b94c(0x1a6)](_0x4a5f0e=>{m(_0x4a5f0e);}),_0x24c138;}[_0xff19e8(0x35c)](_0x20783e,_0x32a9be){const _0x3d9786=_0xff19e8;return e[_0x3d9786(0x11f)][_0x3d9786(0x278)][_0x3d9786(0x1be)](_0x32a9be,_0x20783e);}['getAffectedRanges'](_0x5d74f3){const _0x613606=_0xff19e8;let _0x3d3f76=_e(_0x5d74f3);return _0x3d3f76[_0x613606(0x42b)]?ve(_0x3d3f76[_0x613606(0x246)](_0x2dd23f=>this['getAffectedRanges'](_0x2dd23f))):me(_0x5d74f3);}[_0xff19e8(0x41e)](_0x5d2d1d,_0x5f0ffa){const _0x17b59b=_0xff19e8;if(!_0x5f0ffa['length'])return[];if(_0x5f0ffa[_0x17b59b(0x2c3)](_0x5cdb1d=>!_0x5cdb1d[_0x17b59b(0x144)])){var _0x1864a8;return Object[_0x17b59b(0x19c)]((_0x1864a8=_0x5d2d1d[_0x17b59b(0x1ee)])==null?{}:_0x1864a8);}return Array[_0x17b59b(0x170)](new Set(_0x5f0ffa[_0x17b59b(0x173)](_0x4eebf6=>_0x4eebf6[_0x17b59b(0x144)])))[_0x17b59b(0x246)](_0x2c644a=>{var _0xe3770e;let _0x3fb899=(_0xe3770e=_0x5d2d1d['tables'])==null?void 0x0:_0xe3770e[_0x2c644a];return _0x3fb899?[_0x3fb899]:[];});}};function pe(_0xb12046,_0x37c3ef){const _0x591b25=_0xff19e8;if(!_0x37c3ef[_0x591b25(0x42b)]||_0x37c3ef[_0x591b25(0x2c3)](_0x1e58d1=>_0x1e58d1[_0x591b25(0x1ef)]!==_0x591b25(0x1d3)))return!0x1;let _0x1e228e=new Map();for(let _0xbda406 of _0x37c3ef){var _0x48ed95;if(!_0xbda406[_0x591b25(0x144)]||_0xbda406['row']==null||_0xbda406[_0x591b25(0x16c)]==null)continue;let _0x2fadb6=(_0x48ed95=_0x1e228e[_0x591b25(0x2e7)](_0xbda406[_0x591b25(0x144)]))==null?[]:_0x48ed95;_0x2fadb6[_0x591b25(0x36d)]({'row':_0xbda406[_0x591b25(0x20f)],'col':_0xbda406[_0x591b25(0x16c)]}),_0x1e228e[_0x591b25(0x37d)](_0xbda406[_0x591b25(0x144)],_0x2fadb6);}return _0x1e228e[_0x591b25(0x1a6)]((_0x50ebed,_0x5aff39)=>{const _0x186f88=_0x591b25;var _0x365b06;let _0xd9eba9=(_0x365b06=_0xb12046[_0x186f88(0x1ee)])==null?void 0x0:_0x365b06[_0x5aff39];_0xd9eba9&&h(_0xd9eba9,_0x50ebed);}),!0x0;}function me(_0x1bfee7){const _0x52e420=_0xff19e8;if(!Array[_0x52e420(0x1b7)](_0x1bfee7)||_0x1bfee7['length']<0x2)return[{'tableId':'','reason':'unknown'}];let _0x2c0960=_0x1bfee7,_0x2c763f=_0x2c0960['indexOf'](_0x52e420(0x1ee));return _0x2c763f===-0x1||typeof _0x2c0960[_0x2c763f+0x1]!=_0x52e420(0x149)?_0x2c0960[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x52e420(0x1cb)}]:he(_0x2c0960,_0x2c763f,String(_0x2c0960[_0x2c763f+0x1]));}function he(_0x3a136f,_0x28374b,_0x3b2d50){const _0x5d4b1c=_0xff19e8;let _0x484e70=_0x3a136f[_0x28374b+0x2];return _0x484e70==='records'&&typeof _0x3a136f[_0x28374b+0x3]=='string'?ge(_0x3a136f,_0x28374b,_0x3b2d50,String(_0x3a136f[_0x28374b+0x3])):_0x484e70===_0x5d4b1c(0x3e1)&&_0x3a136f[_0x28374b+0x3]!=null&&_0x3a136f[_0x28374b+0x4]!=null?[{'tableId':_0x3b2d50,'reason':_0x5d4b1c(0x1d3),'row':Number(_0x3a136f[_0x28374b+0x3]),'column':Number(_0x3a136f[_0x28374b+0x4])}]:_0x484e70==='fields'&&typeof _0x3a136f[_0x28374b+0x3]==_0x5d4b1c(0x149)?[{'tableId':_0x3b2d50,'reason':_0x5d4b1c(0x176),'fieldId':String(_0x3a136f[_0x28374b+0x3])}]:_0x484e70===_0x5d4b1c(0x2f9)&&typeof _0x3a136f[_0x28374b+0x3]==_0x5d4b1c(0x149)?[{'tableId':_0x3b2d50,'reason':_0x5d4b1c(0x298),'viewId':String(_0x3a136f[_0x28374b+0x3])}]:[{'tableId':_0x3b2d50,'reason':_0x484e70===void 0x0?'table':_0x5d4b1c(0x1cb)}];}function ge(_0x5a313b,_0x3f93d5,_0x20558e,_0x1e3358){const _0x520e58=_0xff19e8;return _0x5a313b[_0x3f93d5+0x4]==='values'&&typeof _0x5a313b[_0x3f93d5+0x5]==_0x520e58(0x149)?[{'tableId':_0x20558e,'reason':_0x520e58(0x1d3),'recordId':_0x1e3358,'fieldId':String(_0x5a313b[_0x3f93d5+0x5])}]:_0x5a313b[_0x3f93d5+0x4]===_0x520e58(0x40e)||_0x5a313b[_0x3f93d5+0x4]==='updatedBy'?[]:[{'tableId':_0x20558e,'reason':_0x520e58(0x31d),'recordId':_0x1e3358}];}function _e(_0x452f4a){const _0xddd13e=_0xff19e8;if(!Array[_0xddd13e(0x1b7)](_0x452f4a))return[];let _0xe589f5=_0x452f4a[_0xddd13e(0x1b3)](Array['isArray']);if(_0xe589f5['length']>0x1&&_0xe589f5['length']===_0x452f4a[_0xddd13e(0x42b)])return _0xe589f5;let _0x2ace8d=_0x452f4a[_0xddd13e(0x300)](Array[_0xddd13e(0x1b7)]);if(_0x2ace8d>0x0&&_0x452f4a[_0xddd13e(0x3f0)](_0x2ace8d)[_0xddd13e(0x212)](Array[_0xddd13e(0x1b7)])){let _0x316959=_0x452f4a[_0xddd13e(0x3f0)](0x0,_0x2ace8d);return _0x452f4a['slice'](_0x2ace8d)['map'](_0x24fc95=>[..._0x316959,..._0x24fc95]);}let _0x304bac=_0x452f4a['indexOf'](_0xddd13e(0x1ee));if(_0x304bac===-0x1||typeof _0x452f4a[_0x304bac+0x1]!=_0xddd13e(0x149))return[];let _0x2a2bdf=String(_0x452f4a[_0x304bac+0x1]),_0x101444=_0x452f4a['slice'](_0x304bac+0x2)[_0xddd13e(0x1b3)](Array['isArray']);return _0x101444['length']<=0x1?[]:_0x101444[_0xddd13e(0x173)](_0x385b51=>['tables',_0x2a2bdf,..._0x385b51]);}function ve(_0x33a33b){let _0x34da35=new Set();return _0x33a33b['filter'](_0x250bbd=>{const _0x4ab901=_0x3a38;let _0x140f96=JSON[_0x4ab901(0x18b)](_0x250bbd);return _0x34da35[_0x4ab901(0x3d3)](_0x140f96)?!0x1:(_0x34da35[_0x4ab901(0x138)](_0x140f96),!0x0);});}function ye(_0x25ea37){const _0xabb543=_0xff19e8;return e[_0xabb543(0x428)]['deepClone'](_0x25ea37);}function be(_0x48874e,_0x41c8d3){const _0x50ea35=_0xff19e8;let _0x1cdb6e=xe(_0x41c8d3);if(!_0x1cdb6e[_0x50ea35(0x42b)])return ye(_0x48874e);let _0x5c3129=Ee(_0x48874e);for(let _0x435754 of _0x1cdb6e)we(_0x5c3129,_0x435754);return _0x5c3129;}function xe(_0x514561){let _0x1c2225=[];return Se(_0x514561,[],_0x1c2225),_0x1c2225;}function Se(_0x9b7cab,_0x20fbda,_0x3d0c0b){const _0x80ced9=_0xff19e8;if(!Array[_0x80ced9(0x1b7)](_0x9b7cab))return;let _0x2ec9ba=[];for(let _0x49848d of _0x9b7cab){if(Array['isArray'](_0x49848d)){Se(_0x49848d,[..._0x20fbda,..._0x2ec9ba],_0x3d0c0b);continue;}if(Ce(_0x49848d)){_0x3d0c0b[_0x80ced9(0x36d)]([..._0x20fbda,..._0x2ec9ba]);continue;}(typeof _0x49848d==_0x80ced9(0x149)||typeof _0x49848d=='number')&&_0x2ec9ba[_0x80ced9(0x36d)](_0x49848d);}}function Ce(_0x2b393a){const _0x2c137a=_0xff19e8;if(!_0x2b393a||typeof _0x2b393a!=_0x2c137a(0x12f)||Array[_0x2c137a(0x1b7)](_0x2b393a))return!0x1;let _0x656128=_0x2b393a;return'i'in _0x656128||'r'in _0x656128||'p'in _0x656128||'d'in _0x656128||'es'in _0x656128||_0x2c137a(0x2cc)in _0x656128||'et'in _0x656128;}function we(_0x3e145f,_0x1cd3e8){const _0x146f90=_0xff19e8;let _0x35d775=_0x3e145f;for(let _0x21acbf=0x0;_0x21acbf<_0x1cd3e8[_0x146f90(0x42b)]-0x1;_0x21acbf++){let _0x2466f6=_0x1cd3e8[_0x21acbf],_0x3519a3=_0x35d775==null?void 0x0:_0x35d775[_0x2466f6];if(!Te(_0x3519a3))return;let _0xe8807f=Ee(_0x3519a3);_0x35d775[_0x2466f6]=_0xe8807f,_0x35d775=_0xe8807f;}}function Te(_0x1c130c){const _0x31e0d4=_0xff19e8;return!!_0x1c130c&&typeof _0x1c130c==_0x31e0d4(0x12f);}function Ee(_0x31212d){const _0x415746=_0xff19e8;return Array['isArray'](_0x31212d)?_0x31212d[_0x415746(0x3f0)]():{..._0x31212d};}const De=0x5a0*0x3c*0x3e8,Oe=0x63e1,ke=_0xff19e8(0x1fe),Ae={'yyyy/mm/dd':_0xff19e8(0x316),'yyyy/mm/dd\x20hh:mm':_0xff19e8(0x127),'yyyy-mm-dd':_0xff19e8(0x33f),'mm-dd':'MM-DD','mm/dd/yyyy':_0xff19e8(0x3a3),'dd/mm/yyyy':_0xff19e8(0x1e9),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function T(_0x40d22a){const _0x54aba1=_0xff19e8;return(0x0,e[_0x54aba1(0x2b9)])(_0x40d22a)['valueOf']()/De+Oe;}function je(_0x1c2a57){return(_0x1c2a57-Oe)*De;}function E(_0x154057){const _0x32f9c7=_0xff19e8;if(_0x154057==null||_0x154057==='')return null;if(_0x154057 instanceof Date)return T(_0x154057);if(typeof _0x154057==_0x32f9c7(0x2c2))return Number['isFinite'](_0x154057)?_0x154057>0xf4240?T(_0x154057):_0x154057:null;let _0x2727f5=Date[_0x32f9c7(0x1d4)](String(_0x154057));return Number[_0x32f9c7(0x1d0)](_0x2727f5)?null:T(_0x2727f5);}function D(_0x5602f0){let _0x861c16=E(_0x5602f0);return _0x861c16==null?null:je(_0x861c16);}function Me(_0x5a61a3,_0x3684b1={}){const _0x53b9b1=_0xff19e8;var _0x1069ff,_0x4ebd43,_0x193c45;let _0xaecbf5=D(_0x5a61a3);if(_0xaecbf5==null||!Number['isFinite'](_0xaecbf5))return'';let _0x493d5e=String((_0x1069ff=(_0x4ebd43=_0x3684b1[_0x53b9b1(0x27a)])==null?_0x3684b1[_0x53b9b1(0x2e8)]:_0x4ebd43)==null?ke:_0x1069ff),_0x33b9da=_0x3684b1[_0x53b9b1(0x36f)]===!0x0||_0x493d5e['includes']('hh:mm'),_0x30e938=String((_0x193c45=_0x3684b1[_0x53b9b1(0x3b0)])==null?'h24':_0x193c45);return(0x0,e[_0x53b9b1(0x2b9)])(_0xaecbf5)[_0x53b9b1(0x2e8)](Ne(_0x493d5e,_0x33b9da,_0x30e938));}function Ne(_0x13e33e,_0x4b1c41,_0x40f3d6){const _0x48a383=_0xff19e8;var _0x21c508;let _0x3af037=(_0x21c508=Ae[_0x13e33e])==null?Ae[ke]:_0x21c508;return!_0x4b1c41||_0x13e33e[_0x48a383(0x1cc)]('hh:mm')?_0x3af037:_0x3af037+'\x20'+(_0x40f3d6==='h12'?_0x48a383(0x427):'HH:mm');}const Pe={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Fe=new Set([_0xff19e8(0x3b7),'summary',_0xff19e8(0x359),_0xff19e8(0x211),'location',_0xff19e8(0x3eb),'recordId','barcode']),O=0x5a0*0x3c*0x3e8;function Ie(_0x11b1f8,_0x3a0702){const _0x3609cc=_0xff19e8;return _0x11b1f8==null&&_0x3a0702==null?0x0:_0x11b1f8==null?-0x1:_0x3a0702==null?0x1:typeof _0x11b1f8==_0x3609cc(0x2c2)&&typeof _0x3a0702==_0x3609cc(0x2c2)?_0x11b1f8-_0x3a0702:String(_0x11b1f8)[_0x3609cc(0x317)](String(_0x3a0702));}function Le(_0x20aa6b,_0x29b4de,_0xeba36b,_0x5cd206,_0x5c56cd={}){const _0x361adb=_0xff19e8;if(_0x29b4de==='isEmpty')return Re(_0x20aa6b);if(_0x29b4de==='isNotEmpty')return!Re(_0x20aa6b);switch(_0x5cd206[_0x361adb(0x278)]){case'number':case'currency':case _0x361adb(0x413):case _0x361adb(0x3b6):return ze(_0x20aa6b,_0x29b4de,_0xeba36b);case'date':case _0x361adb(0x326):case _0x361adb(0x40e):return Ve(_0x20aa6b,_0x29b4de,_0xeba36b,_0x5c56cd);case _0x361adb(0x2d1):return qe(_0x20aa6b,_0x29b4de,_0xeba36b);case _0x361adb(0x1ad):case _0x361adb(0x230):case _0x361adb(0x28d):case _0x361adb(0x163):return Ye(_0x20aa6b,_0x29b4de,_0xeba36b,_0x5cd206);default:return Xe(_0x20aa6b,_0x29b4de,_0xeba36b);}}function Re(_0x3c9f9f){const _0x2b8a7d=_0xff19e8;return _0x3c9f9f==null?!0x0:Array[_0x2b8a7d(0x1b7)](_0x3c9f9f)?_0x3c9f9f[_0x2b8a7d(0x42b)]===0x0:typeof _0x3c9f9f=='string'?_0x3c9f9f[_0x2b8a7d(0x380)]()==='':!0x1;}function ze(_0x5afe7a,_0xdb514c,_0x58b407){const _0x2a760f=_0xff19e8;let _0x3993c8=Be(_0x5afe7a),_0x4c9d9a=Be(_0x58b407);if(_0x3993c8==null||_0x4c9d9a==null)return!0x1;switch(_0xdb514c){case'is':return _0x3993c8===_0x4c9d9a;case _0x2a760f(0x146):return _0x3993c8!==_0x4c9d9a;case _0x2a760f(0x285):return _0x3993c8>_0x4c9d9a;case _0x2a760f(0x160):return _0x3993c8>=_0x4c9d9a;case _0x2a760f(0x3f5):return _0x3993c8<_0x4c9d9a;case _0x2a760f(0x167):return _0x3993c8<=_0x4c9d9a;default:return!0x1;}}function Be(_0x590814){const _0x212b52=_0xff19e8;if(_0x590814==null||_0x590814==='')return null;let _0x538298=Number(_0x590814);return Number[_0x212b52(0x21a)](_0x538298)?_0x538298:null;}function Ve(_0x5b5b39,_0x308ce2,_0xdfe78e,_0x2efdd6){const _0x2cdf0a=_0xff19e8;var _0xb9e8e6;let _0x56e7e6=Ue(_0x5b5b39);if(_0x56e7e6==null)return!0x1;let _0x5abdfd=He((_0xb9e8e6=_0x2efdd6[_0x2cdf0a(0x30e)])==null?'exact':_0xb9e8e6,_0xdfe78e,_0x2efdd6[_0x2cdf0a(0x3e9)]);if(!_0x5abdfd)return!0x1;switch(_0x308ce2){case'is':return _0x56e7e6>=_0x5abdfd[_0x2cdf0a(0x1f1)]&&_0x56e7e6<=_0x5abdfd[_0x2cdf0a(0x3ba)];case _0x2cdf0a(0x146):return _0x56e7e6<_0x5abdfd[_0x2cdf0a(0x1f1)]||_0x56e7e6>_0x5abdfd[_0x2cdf0a(0x3ba)];case _0x2cdf0a(0x343):return _0x56e7e6<_0x5abdfd['start'];case _0x2cdf0a(0x24e):return _0x56e7e6>_0x5abdfd[_0x2cdf0a(0x3ba)];default:return!0x1;}}function He(_0x2c0f97,_0x1bbfec,_0x326680=Date[_0xff19e8(0x3e9)]()){const _0x4d7655=_0xff19e8;let _0x5dce41=We(_0x326680);switch(_0x2c0f97){case _0x4d7655(0x1cd):{let _0x20fa49=Ue(_0x1bbfec);return _0x20fa49==null?null:{'start':_0x20fa49,'end':_0x20fa49+O-0x1};}case _0x4d7655(0x113):return{'start':_0x5dce41,'end':_0x5dce41+O-0x1};case _0x4d7655(0x115):return{'start':_0x5dce41+O,'end':_0x5dce41+O*0x2-0x1};case _0x4d7655(0x1ff):return{'start':_0x5dce41-O,'end':_0x5dce41-0x1};case'thisWeek':return Ge(_0x5dce41,0x0);case _0x4d7655(0x1b0):return Ge(_0x5dce41,-0x1);case _0x4d7655(0x36a):return Ke(_0x5dce41,0x0);case'lastMonth':return Ke(_0x5dce41,-0x1);case'past7':return{'start':_0x5dce41-O*0x6,'end':_0x5dce41+O-0x1};case _0x4d7655(0x340):return{'start':_0x5dce41,'end':_0x5dce41+O*0x7-0x1};case _0x4d7655(0x252):return{'start':_0x5dce41-O*0x1d,'end':_0x5dce41+O-0x1};case _0x4d7655(0x112):return{'start':_0x5dce41,'end':_0x5dce41+O*0x1e-0x1};}}function Ue(_0x37b8c2){let _0x434354=E(_0x37b8c2);return _0x434354==null?null:We(je(_0x434354));}function We(_0x20a84c){let _0x91824e=new Date(_0x20a84c);return _0x91824e['setHours'](0x0,0x0,0x0,0x0),_0x91824e['getTime']();}function Ge(_0x3f038d,_0x533440){let _0x512131=_0x3f038d-(new Date(_0x3f038d)['getDay']()+0x6)%0x7*O+_0x533440*O*0x7;return{'start':_0x512131,'end':_0x512131+O*0x7-0x1};}function Ke(_0x245cf4,_0x15ead0){const _0x50cee9=_0xff19e8;let _0x4e0d70=new Date(_0x245cf4),_0x4fea44=new Date(_0x4e0d70[_0x50cee9(0x410)](),_0x4e0d70[_0x50cee9(0x436)]()+_0x15ead0,0x1),_0x243b8b=new Date(_0x4e0d70[_0x50cee9(0x410)](),_0x4e0d70[_0x50cee9(0x436)]()+_0x15ead0+0x1,0x1);return{'start':_0x4fea44[_0x50cee9(0x304)](),'end':_0x243b8b[_0x50cee9(0x304)]()-0x1};}function qe(_0x130dfd,_0x2742a4,_0x5dc3b7){const _0x3decf3=_0xff19e8;let _0x208ac7=Je(_0x130dfd),_0x4becad=Je(_0x5dc3b7);switch(_0x2742a4){case'is':return _0x208ac7===_0x4becad;case _0x3decf3(0x146):return _0x208ac7!==_0x4becad;default:return!0x1;}}function Je(_0x4b2388){const _0x26987c=_0xff19e8;return _0x4b2388===!0x0||_0x4b2388===_0x26987c(0x1b5)||_0x4b2388===0x1||_0x4b2388==='1';}function Ye(_0x34940b,_0x196f9b,_0x54d7a5,_0x5f59b8){const _0x4fb757=_0xff19e8;let _0x395e8a=Qe(_0x34940b,_0x5f59b8),_0x33a0b7=Qe(_0x54d7a5,_0x5f59b8),_0x3cce9d=_0x33a0b7[_0x4fb757(0x42b)]>0x0&&_0x33a0b7[_0x4fb757(0x2c3)](_0x3523c2=>_0x395e8a[_0x4fb757(0x1cc)](_0x3523c2));switch(_0x196f9b){case'is':case _0x4fb757(0x1a7):return _0x3cce9d;case'isNot':case _0x4fb757(0x182):return!_0x3cce9d;default:return!0x1;}}function Xe(_0x3be8c8,_0x58381e,_0x3c2d52){const _0x4d3f8a=_0xff19e8;let _0x208a06=Ze(_0x3be8c8),_0x498773=Ze(_0x3c2d52);switch(_0x58381e){case'is':return _0x208a06===_0x498773;case _0x4d3f8a(0x146):return _0x208a06!==_0x498773;case _0x4d3f8a(0x1a7):return _0x498773?_0x208a06['includes'](_0x498773):!0x1;case _0x4d3f8a(0x182):return _0x498773?!_0x208a06[_0x4d3f8a(0x1cc)](_0x498773):!0x0;default:return!0x1;}}function Ze(_0x527d63){const _0x3781bb=_0xff19e8;if(Array[_0x3781bb(0x1b7)](_0x527d63))return _0x527d63[_0x3781bb(0x173)](_0x41bc38=>Ze(_0x41bc38))[_0x3781bb(0x29b)]('\x0a');if(_0x527d63&&typeof _0x527d63==_0x3781bb(0x12f)){var _0x5e2870,_0x232236,_0x3701e9,_0x9ddd34,_0x253e0b;let _0x49eb6e=_0x527d63;return String((_0x5e2870=(_0x232236=(_0x3701e9=(_0x9ddd34=(_0x253e0b=_0x49eb6e['name'])==null?_0x49eb6e[_0x3781bb(0x42e)]:_0x253e0b)==null?_0x49eb6e[_0x3781bb(0x2c4)]:_0x9ddd34)==null?_0x49eb6e[_0x3781bb(0x14d)]:_0x3701e9)==null?_0x49eb6e['id']:_0x232236)==null?'':_0x5e2870)[_0x3781bb(0x380)]()[_0x3781bb(0x42a)]();}return String(_0x527d63==null?'':_0x527d63)[_0x3781bb(0x380)]()[_0x3781bb(0x42a)]();}function Qe(_0x448b7b,_0x49dfe4){const _0x11c780=_0xff19e8;var _0x23b77d;let _0x561cee=$e(_0x448b7b),_0x30857b=et((_0x23b77d=_0x49dfe4['config'])==null?{}:_0x23b77d);return _0x561cee[_0x11c780(0x246)](_0x2fd5c4=>{const _0x56b39a=_0x11c780;var _0xe86d83;return(_0xe86d83=_0x30857b[_0x56b39a(0x2e7)](_0x2fd5c4))==null?[_0x2fd5c4]:_0xe86d83;})['filter']((_0x3db85a,_0x2413b0,_0x334bf1)=>_0x3db85a!==''&&_0x334bf1['indexOf'](_0x3db85a)===_0x2413b0);}function $e(_0x1ae23b){const _0x5d8faf=_0xff19e8;if(_0x1ae23b==null||_0x1ae23b==='')return[];if(Array['isArray'](_0x1ae23b))return _0x1ae23b[_0x5d8faf(0x246)](_0x4b287c=>$e(_0x4b287c));if(_0x1ae23b&&typeof _0x1ae23b==_0x5d8faf(0x12f)){let _0x2a1bf6=_0x1ae23b;return['id',_0x5d8faf(0x302),'label',_0x5d8faf(0x14d),_0x5d8faf(0x2c4)][_0x5d8faf(0x246)](_0x54c681=>$e(_0x2a1bf6[_0x54c681]))[_0x5d8faf(0x1b3)]((_0x49b7cf,_0x2b4067,_0x5d4824)=>_0x5d4824[_0x5d8faf(0x168)](_0x49b7cf)===_0x2b4067);}return[Ze(_0x1ae23b)];}function et(_0x147675){const _0x4b0109=_0xff19e8;let _0x3e0ccb=new Map();return(Array[_0x4b0109(0x1b7)](_0x147675['options'])?_0x147675[_0x4b0109(0x30f)]:[])[_0x4b0109(0x1a6)](_0x48228c=>{const _0x59fd6d=_0x4b0109;if(!_0x48228c||typeof _0x48228c!=_0x59fd6d(0x12f))return;let _0x2949a4=$e(_0x48228c),_0x240606=_0x2949a4[_0x59fd6d(0x1b3)]((_0x47a8f8,_0x5c912e)=>_0x47a8f8!==''&&_0x2949a4[_0x59fd6d(0x168)](_0x47a8f8)===_0x5c912e);_0x240606[_0x59fd6d(0x1a6)](_0x34567a=>_0x3e0ccb[_0x59fd6d(0x37d)](_0x34567a,_0x240606));}),_0x3e0ccb;}function k(_0x427121,_0x458667={},_0x3b8f08=_0x4c851c=>_0x4c851c,_0x480fcb={}){const _0x1f4c66=_0xff19e8;var _0x172468,_0x3cd20d,_0x542454,_0x5954c0;let _0x2dcce9=!Fe[_0x1f4c66(0x3d3)](_0x427121),_0x13f904=_0x3b8f08==null?_0x13ae88=>_0x13ae88:_0x3b8f08;return{'type':_0x427121,'i18nKey':_0x1f4c66(0x371)+_0x427121,'enabled':_0x2dcce9,'visibleInCreateMenu':_0x2dcce9,'createDefaultConfig':(_0x172468=_0x480fcb[_0x1f4c66(0x360)])==null?()=>({}):_0x172468,'createDefaultValue':(_0x3cd20d=_0x480fcb['createDefaultValue'])==null?_0x5261ae=>{const _0x559255=_0x1f4c66;var _0x3f06cd;return(_0x3f06cd=_0x5261ae[_0x559255(0x295)])==null?null:_0x3f06cd;}:_0x3cd20d,'normalize':(_0x4c6647,_0x4c539f)=>_0x13f904(_0x4c6647,_0x4c539f),'validate':(_0x18ffbf,_0x3deef9)=>{const _0x132083=_0x1f4c66;var _0x35eef3,_0x23d83c;return _0x2dcce9?(_0x35eef3=(_0x23d83c=_0x480fcb[_0x132083(0x3a4)])==null?void 0x0:_0x23d83c[_0x132083(0x234)](_0x480fcb,_0x18ffbf,_0x3deef9))==null?{'valid':!0x0}:_0x35eef3:{'valid':!0x1};},'compare':(_0x2d09f6,_0x56f78c)=>Ie(_0x2d09f6,_0x56f78c),'filter':(_0x719142,_0x1c8367,_0x480b29,_0x18ace1)=>Le(_0x719142,_0x1c8367,_0x480b29,_0x18ace1),'toPlainText':(_0x542454=_0x480fcb[_0x1f4c66(0x2a8)])==null?_0x39322f=>_0x39322f==null?'':String(_0x39322f):_0x542454,'fromPlainText':(_0x5954c0=_0x480fcb['fromPlainText'])==null?_0x4b2d2c=>_0x13f904(_0x4b2d2c,{'id':'','name':'','type':_0x427121,'config':{}}):_0x5954c0,'getCapabilities':()=>{const _0xfdc219=_0x1f4c66;var _0x502692;return{...Pe,..._0x458667,'editable':_0x2dcce9&&((_0x502692=_0x458667[_0xfdc219(0x2e0)])==null?Pe['editable']:_0x502692)};}};}function tt(){const _0x171009=_0xff19e8;return[k(_0x171009(0x2c4),{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x171009(0x1eb)}),'createDefaultValue':_0x4ba615=>{const _0x23dd9a=_0x171009;var _0x141c5f;return(_0x141c5f=_0x4ba615[_0x23dd9a(0x295)])==null?'':_0x141c5f;}}),k(_0x171009(0x1ad),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1e7d26=>_0x1e7d26==null||_0x1e7d26===''?null:String(_0x1e7d26),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x171009(0x1c8)}})}),k(_0x171009(0x230),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x1baf60=>Array[_0x171009(0x1b7)](_0x1baf60)?_0x1baf60['map'](String):_0x1baf60==null?[]:[String(_0x1baf60)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x1dd037=>{const _0x448db5=_0x171009;var _0x377a9a;return(_0x377a9a=_0x1dd037[_0x448db5(0x295)])==null?[]:_0x377a9a;}}),k(_0x171009(0x28d),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},at,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x171009(0x28d)}),'validate':ot}),k(_0x171009(0x163),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},it,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x306aae=>{const _0x2d1579=_0x171009;var _0x3669f7;return(_0x3669f7=_0x306aae[_0x2d1579(0x295)])==null?[]:_0x3669f7;},'validate':st}),k(_0x171009(0x38a),{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4f9fc2=>E(_0x4f9fc2),{'createDefaultConfig':()=>rt(),'validate':ct}),k('attachment',{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x1c4f10=>_0x1c4f10==null?[]:Array[_0x171009(0x1b7)](_0x1c4f10)?_0x1c4f10:[_0x1c4f10],{'createDefaultValue':_0x63f50c=>{var _0x48a3a4;return(_0x48a3a4=_0x63f50c['defaultValue'])==null?[]:_0x48a3a4;}}),k(_0x171009(0x2c2),{},_0x4fab9e=>_0x4fab9e==null||_0x4fab9e===''?null:Number(_0x4fab9e),{'createDefaultConfig':()=>nt(),'validate':lt}),k(_0x171009(0x2d1),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x24e5d1=>_0x24e5d1===!0x0||_0x24e5d1===_0x171009(0x1b5)||_0x24e5d1===0x1||_0x24e5d1==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x37381d=>{const _0x5b9af9=_0x171009;var _0x4f7eb9;return(_0x4f7eb9=_0x37381d[_0x5b9af9(0x295)])==null?!0x1:_0x4f7eb9;},'validate':_0x1e64e9=>typeof _0x1e64e9==_0x171009(0x3fe)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x171009(0x23d)}}),k(_0x171009(0x38e),{'supportsRelation':!0x0},dt,{'createDefaultConfig':()=>({'placeholder':_0x171009(0x228)}),'toPlainText':_0x10472c=>ft(_0x10472c),'fromPlainText':_0x4b6b4b=>dt(_0x4b6b4b)}),k(_0x171009(0x10f),{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x171009(0x34d),'pattern':_0x171009(0x249)}}),'createDefaultValue':()=>null}),k(_0x171009(0x3b7),{}),k('flow',{}),k(_0x171009(0x211),{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),k(_0x171009(0x2b3),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),k(_0x171009(0x43c),{'usableAsTitle':!0x0},_0x321de9=>_0x321de9==null?null:String(_0x321de9)[_0x171009(0x380)](),{'validate':_0x530864=>_0x530864==null||_0x530864===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x530864))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),k(_0x171009(0x271),{'usableAsTitle':!0x0},_0x35e17b=>_0x35e17b==null?null:String(_0x35e17b)[_0x171009(0x380)](),{'validate':_0x24d1ff=>_0x24d1ff==null||_0x24d1ff===''||mt(String(_0x24d1ff))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x171009(0x191)}}),k(_0x171009(0x361),{'usableAsTitle':!0x0}),k(_0x171009(0x1a4),{'usableAsTitle':!0x0}),k(_0x171009(0x413),{'usableAsGanttProgress':!0x0},_0x45addc=>_0x45addc==null||_0x45addc===''?null:Number(_0x45addc),{'createDefaultConfig':()=>({'format':_0x171009(0x172),'decimalPlaces':0x0,'color':_0x171009(0x210),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x3d2337,_0x1da11a)=>ut(_0x3d2337,_0x1da11a,_0x171009(0x22c))}),k(_0x171009(0x32f),{},_0x1f18ec=>_0x1f18ec==null||_0x1f18ec===''?null:Number(_0x1f18ec),{'createDefaultConfig':()=>({...nt(),'currencySymbol':'$'}),'validate':lt}),k(_0x171009(0x3b6),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3760ae=>_0x3760ae==null||_0x3760ae===''?null:Number(_0x3760ae),{'createDefaultConfig':()=>({'icon':_0x171009(0x25e),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3e0389,_0x1bafe6)=>ut(_0x3e0389,_0x1bafe6,_0x171009(0x3e6))}),k('twoWayLink',{'supportsRelation':!0x0}),k(_0x171009(0x379),{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),k(_0x171009(0x32d),{'editable':!0x1,'groupable':!0x0},_0x1c9697=>_0x1c9697==null?null:String(_0x1c9697),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),k(_0x171009(0x111),{'editable':!0x1,'groupable':!0x0},_0x315227=>_0x315227==null?null:String(_0x315227),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),k(_0x171009(0x326),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3bea9f=>E(_0x3bea9f),{'createDefaultConfig':()=>rt(),'createDefaultValue':()=>null,'validate':ct}),k(_0x171009(0x40e),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x26ee51=>E(_0x26ee51),{'createDefaultConfig':()=>rt(),'createDefaultValue':()=>null,'validate':ct}),k(_0x171009(0x1c0),{})];}function nt(){const _0x2ba77d=_0xff19e8;return{'pattern':_0x2ba77d(0x34b),'decimalPlaces':0x2,'separatorStyle':_0x2ba77d(0x363),'useThousands':!0x0,'abbreviation':_0x2ba77d(0x270),'allowNegative':!0x0};}function rt(){const _0x5244d8=_0xff19e8;return{'locale':'en-US','pattern':_0x5244d8(0x1fe),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};}function it(_0x2cf0c8){const _0x19615d=_0xff19e8;return _0x2cf0c8==null||_0x2cf0c8===''?[]:Array[_0x19615d(0x1b7)](_0x2cf0c8)?_0x2cf0c8['map'](String):[String(_0x2cf0c8)];}function at(_0x572fc2,_0x2ae5c6){const _0x16faac=_0xff19e8;var _0x37a595;return _0x572fc2==null||_0x572fc2===''?_0x2ae5c6[_0x16faac(0x412)]['allowMultiple']===!0x0?[]:null:_0x2ae5c6[_0x16faac(0x412)]['allowMultiple']===!0x0?Array[_0x16faac(0x1b7)](_0x572fc2)?_0x572fc2[_0x16faac(0x173)](String):[String(_0x572fc2)]:Array[_0x16faac(0x1b7)](_0x572fc2)?String((_0x37a595=_0x572fc2[0x0])==null?'':_0x37a595)||null:String(_0x572fc2);}function ot(_0x1edbf7,_0x21c52a){const _0x2cebca=_0xff19e8;return _0x21c52a[_0x2cebca(0x412)][_0x2cebca(0x3ca)]===!0x0?st(_0x1edbf7):_0x1edbf7==null||_0x1edbf7===''||typeof _0x1edbf7==_0x2cebca(0x149)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2cebca(0x411)};}function st(_0x5b2a31){const _0x3ea9d4=_0xff19e8;return _0x5b2a31==null||Array[_0x3ea9d4(0x1b7)](_0x5b2a31)&&_0x5b2a31[_0x3ea9d4(0x212)](_0x143801=>typeof _0x143801=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function ct(_0x3a045e){const _0x181095=_0xff19e8;return _0x3a045e==null||typeof _0x3a045e==_0x181095(0x2c2)&&Number[_0x181095(0x21a)](_0x3a045e)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x181095(0x28f)};}function lt(_0x3f1aee,_0x11df4e){const _0x50e9a=_0xff19e8;return _0x3f1aee==null||_0x3f1aee===''?{'valid':!0x0}:typeof _0x3f1aee!=_0x50e9a(0x2c2)||!Number[_0x50e9a(0x21a)](_0x3f1aee)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x11df4e['config'][_0x50e9a(0x1e5)]===!0x1&&_0x3f1aee<0x0?{'valid':!0x1,'reason':_0x50e9a(0x37b)}:{'valid':!0x0};}function ut(_0x50fb7c,_0x4b9e56,_0x2efe0f){const _0x13708d=_0xff19e8;var _0x4b7c20,_0x29af4d,_0x53923f,_0x5061b8;let _0x268a85=lt(_0x50fb7c,_0x4b9e56);if(!_0x268a85['valid']||_0x50fb7c==null||_0x50fb7c==='')return _0x268a85;let _0xe138cb=Number((_0x4b7c20=(_0x29af4d=_0x4b9e56[_0x13708d(0x412)][_0x13708d(0x155)])==null?_0x4b9e56[_0x13708d(0x412)]['start']:_0x29af4d)==null?0x0:_0x4b7c20),_0x490382=Number((_0x53923f=(_0x5061b8=_0x4b9e56[_0x13708d(0x412)][_0x13708d(0x331)])==null?_0x4b9e56[_0x13708d(0x412)][_0x13708d(0x3ba)]:_0x5061b8)==null?0x64:_0x53923f),_0x449c59=Number(_0x50fb7c);return _0x449c59>=_0xe138cb&&_0x449c59<=_0x490382?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2efe0f};}function dt(_0x27bbaa){const _0x4dbe6f=_0xff19e8;if(_0x27bbaa==null||_0x27bbaa==='')return null;if(typeof _0x27bbaa=='object'&&!Array[_0x4dbe6f(0x1b7)](_0x27bbaa)){let _0x718aae=_0x27bbaa,_0x65ea19=typeof _0x718aae['text']==_0x4dbe6f(0x149)?_0x718aae['text'][_0x4dbe6f(0x380)]():'',_0xdb58da=typeof _0x718aae['url']==_0x4dbe6f(0x149)?_0x718aae[_0x4dbe6f(0x2d8)][_0x4dbe6f(0x380)]():'',_0x51b4f9=pt(_0xdb58da||_0x65ea19);return _0x51b4f9?{'text':_0x65ea19||_0xdb58da||_0x51b4f9,'url':_0x51b4f9}:null;}let _0x1f6975=String(_0x27bbaa)[_0x4dbe6f(0x380)](),_0x54f58b=pt(_0x1f6975);return _0x54f58b?{'text':_0x1f6975,'url':_0x54f58b}:null;}function ft(_0x5ca981){const _0x62ac26=_0xff19e8;if(_0x5ca981==null)return'';if(typeof _0x5ca981==_0x62ac26(0x12f)&&!Array[_0x62ac26(0x1b7)](_0x5ca981)){let _0x24f91c=_0x5ca981;return String(_0x24f91c[_0x62ac26(0x2c4)]||_0x24f91c[_0x62ac26(0x2d8)]||'');}return String(_0x5ca981);}function pt(_0x128d92){const _0x56578f=_0xff19e8;let _0x56e255=_0x128d92[_0x56578f(0x380)]();return _0x56e255?/^[a-z][a-z\d+.-]*:\/\//i[_0x56578f(0x154)](_0x56e255)?_0x56e255:_0x56578f(0x37a)+_0x56e255:'';}function mt(_0x54f4ce){const _0x3c54db=_0xff19e8;let _0x3d62e0=_0x54f4ce[_0x3c54db(0x168)]('@');if(_0x3d62e0<=0x0||_0x3d62e0!==_0x54f4ce[_0x3c54db(0x12e)]('@'))return!0x1;let _0x368d9b=_0x54f4ce[_0x3c54db(0x3f0)](_0x3d62e0+0x1);return _0x368d9b[_0x3c54db(0x1cc)]('.')&&!_0x54f4ce['includes']('\x20')&&!_0x368d9b['startsWith']('.')&&!_0x368d9b[_0x3c54db(0x314)]('.');}const A={'table':_0x9ec490=>[_0xff19e8(0x1ee),_0x9ec490],'field':(_0x347032,_0x250158)=>[_0xff19e8(0x1ee),_0x347032,'fields',_0x250158],'fieldOrder':(_0x38a0c7,_0x42cc7c)=>[_0xff19e8(0x1ee),_0x38a0c7,'fieldOrder',_0x42cc7c],'record':(_0x31f81e,_0x32cc8b)=>['tables',_0x31f81e,_0xff19e8(0x2f3),_0x32cc8b],'cell':(_0x10b69a,_0x2b5ca7,_0x936a73)=>[_0xff19e8(0x1ee),_0x10b69a,'records',_0x2b5ca7,_0xff19e8(0x19c),_0x936a73],'cellData':(_0x475a3a,_0x527620,_0x413c5c)=>[_0xff19e8(0x1ee),_0x475a3a,'cellData',String(_0x527620),String(_0x413c5c)],'attachmentSet':(_0x6602bd,_0x441234)=>['tables',_0x6602bd,'resources',_0xff19e8(0x1ac),_0x441234],'attachment':(_0x239e53,_0x237426)=>[_0xff19e8(0x1ee),_0x239e53,_0xff19e8(0x34e),_0xff19e8(0x275),_0x237426],'view':(_0x156f92,_0x2f4ff1)=>[_0xff19e8(0x1ee),_0x156f92,'views',_0x2f4ff1],'viewFieldHidden':(_0x2e7529,_0x5c20eb,_0x1d2267)=>[_0xff19e8(0x1ee),_0x2e7529,'views',_0x5c20eb,_0xff19e8(0x2f4),_0x1d2267,'hidden']};function j(_0x3ffa2a){const _0x33443b=_0xff19e8;return _0x3ffa2a[_0x33443b(0x3af)]((_0x353112,_0x16bcf6)=>_0x353112==null?_0x16bcf6:e[_0x33443b(0x11f)][_0x33443b(0x278)][_0x33443b(0x2fa)](_0x353112,_0x16bcf6),void 0x0);}var M=class{[_0xff19e8(0x2ae)](_0x516f1a,_0x534f57,_0x421ba4=_0x516f1a[_0xff19e8(0x220)]['length']){const _0x587e7f=_0xff19e8;return j([e[_0x587e7f(0x11f)]['insertOp'](A['table'](_0x534f57['id']),_0x534f57),e[_0x587e7f(0x11f)][_0x587e7f(0x374)]([_0x587e7f(0x220),_0x421ba4],_0x534f57['id'])]);}[_0xff19e8(0x41a)](_0x2a3152,_0x3ffb9c,_0x480ed6){const _0x2da05f=_0xff19e8;return e[_0x2da05f(0x11f)][_0x2da05f(0x32e)]([...A['table'](_0x3ffb9c),'name'],_0x2a3152[_0x2da05f(0x1ee)][_0x3ffb9c][_0x2da05f(0x302)],_0x480ed6);}[_0xff19e8(0x34f)](_0x5a923f,_0x56e826){const _0x5b2b0c=_0xff19e8;return this[_0x5b2b0c(0x282)]([...A[_0x5b2b0c(0x420)](_0x56e826),'deleted'],_0x5a923f[_0x5b2b0c(0x1ee)][_0x56e826][_0x5b2b0c(0x3ad)]);}[_0xff19e8(0x290)](_0x19a45f,_0x4cbf9d,_0x2c7c14){const _0x1cf5f2=_0xff19e8;return this[_0x1cf5f2(0x15c)](_0x19a45f,_0x4cbf9d,[_0x2c7c14]);}[_0xff19e8(0x15c)](_0x2857bb,_0x30cd67,_0x3699fe){const _0x548a91=_0xff19e8;let _0x34cc9f=_0x2857bb['tables'][_0x30cd67],_0x18a89f=_0x3699fe[_0x548a91(0x1b3)](_0x463ffd=>_0x463ffd&&!_0x34cc9f[_0x548a91(0x2f3)][_0x463ffd['id']]);return _0x18a89f[_0x548a91(0x42b)]?j([..._0x18a89f['map'](_0x5098de=>e['JSON1'][_0x548a91(0x374)](A['record'](_0x30cd67,_0x5098de['id']),_0x5098de)),this['_createRecordOrderOp'](_0x2857bb,_0x30cd67,_0x18a89f)]):e[_0x548a91(0x11f)][_0x548a91(0x32e)]([...A[_0x548a91(0x420)](_0x30cd67),_0x548a91(0x2f3)],_0x34cc9f[_0x548a91(0x2f3)],_0x34cc9f[_0x548a91(0x2f3)]);}[_0xff19e8(0x205)](_0x461e48,_0x7f7bca,_0x423c61){const _0x13a54f=_0xff19e8;return this[_0x13a54f(0x282)]([...A[_0x13a54f(0x31d)](_0x7f7bca,_0x423c61),_0x13a54f(0x3ad)],_0x461e48[_0x13a54f(0x1ee)][_0x7f7bca]['records'][_0x423c61][_0x13a54f(0x3ad)]);}[_0xff19e8(0x39a)](_0x21cca1,_0x4b69a7,_0x45b749){const _0x1e9967=_0xff19e8;return j(_0x45b749['map'](_0x2b5749=>this[_0x1e9967(0x205)](_0x21cca1,_0x4b69a7,_0x2b5749)));}[_0xff19e8(0x245)](_0x264083,_0x214a98,_0x205a0e,_0x2cf444){const _0x4895a1=_0xff19e8;return this[_0x4895a1(0x290)](_0x264083,_0x214a98,{..._0x2cf444,'values':{..._0x264083[_0x4895a1(0x1ee)][_0x214a98][_0x4895a1(0x2f3)][_0x205a0e]['values'],..._0x2cf444[_0x4895a1(0x19c)]}});}['updateRecordOrder'](_0x36599c,_0x22ab62,_0x5d5df7,_0x558f8b){const _0x12fe47=_0xff19e8;let _0x455492=_0x36599c[_0x12fe47(0x1ee)][_0x22ab62],_0x4e368d=[...A[_0x12fe47(0x31d)](_0x22ab62,_0x5d5df7),_0x12fe47(0x3d9)],_0x105b82=Object[_0x12fe47(0x19c)](_0x455492[_0x12fe47(0x2f3)])[_0x12fe47(0x1b3)](_0x4e562e=>!_0x4e562e[_0x12fe47(0x3ad)])['map'](_0x3d8f74=>_0x3d8f74['id']===_0x5d5df7?{..._0x3d8f74,'orderKey':_0x558f8b}:_0x3d8f74)['sort']((_0x43ad00,_0x324b01)=>{const _0x46b5cc=_0x12fe47;var _0x26a3da,_0x5b0620;return String((_0x26a3da=_0x43ad00[_0x46b5cc(0x3d9)])==null?_0x43ad00['id']:_0x26a3da)['localeCompare'](String((_0x5b0620=_0x324b01[_0x46b5cc(0x3d9)])==null?_0x324b01['id']:_0x5b0620));})['map'](_0x2822fc=>_0x2822fc['id']),_0x3beb9c=[...A[_0x12fe47(0x420)](_0x22ab62),_0x12fe47(0x279)];return j([e[_0x12fe47(0x11f)]['replaceOp'](_0x4e368d,_0x455492['records'][_0x5d5df7][_0x12fe47(0x3d9)],_0x558f8b),_0x455492[_0x12fe47(0x279)]?e[_0x12fe47(0x11f)][_0x12fe47(0x32e)](_0x3beb9c,_0x455492[_0x12fe47(0x279)],_0x105b82):e[_0x12fe47(0x11f)][_0x12fe47(0x374)](_0x3beb9c,_0x105b82)]);}['updateCell'](_0x198005,_0x59218b,_0x5a7a71,_0x305063,_0x407db8){const _0x2b0161=_0xff19e8;var _0x8c2e68,_0x89c7c6;let _0x3cda0f=_0x198005[_0x2b0161(0x1ee)][_0x59218b],_0x90ca36=ht(_0x3cda0f,_0x5a7a71,_0x305063)?_0x3cda0f:f(_0x3cda0f),_0x51af64=(_0x8c2e68=_0x90ca36['rowIndex'])==null?void 0x0:_0x8c2e68[_0x5a7a71],_0x2cc875=(_0x89c7c6=_0x90ca36[_0x2b0161(0x25c)])==null?void 0x0:_0x89c7c6[_0x305063];if(_0x51af64==null||_0x2cc875==null){var _0x4050a3;return this[_0x2b0161(0x408)](A['cell'](_0x59218b,_0x5a7a71,_0x305063),(_0x4050a3=_0x198005[_0x2b0161(0x1ee)][_0x59218b])==null||(_0x4050a3=_0x4050a3[_0x2b0161(0x2f3)][_0x5a7a71])==null?void 0x0:_0x4050a3[_0x2b0161(0x19c)][_0x305063],_0x407db8);}return this[_0x2b0161(0x1ce)](_0x198005,_0x59218b,[{'row':_0x51af64,'col':_0x2cc875,'value':_0x407db8}]);}['setRecordValues'](_0x594931,_0x19baaf,_0x198bf2){const _0x524c1b=_0xff19e8;let _0x1d47d6=_0x594931[_0x524c1b(0x1ee)][_0x19baaf],_0x3bad57=_0x198bf2['every'](_0x1fff99=>Object[_0x524c1b(0x416)](_0x1fff99['values'])[_0x524c1b(0x212)](_0x3155f0=>ht(_0x1d47d6,_0x1fff99[_0x524c1b(0x379)],_0x3155f0)))?_0x1d47d6:f(_0x1d47d6),_0x3792e7=_0x198bf2[_0x524c1b(0x246)](_0x509549=>Object[_0x524c1b(0x29f)](_0x509549[_0x524c1b(0x19c)])['flatMap'](([_0x4de1ba,_0x2cbfdb])=>{const _0x3c3230=_0x524c1b;var _0x4a1614,_0x7726a3;let _0x240de6=(_0x4a1614=_0x3bad57[_0x3c3230(0x2ce)])==null?void 0x0:_0x4a1614[_0x509549[_0x3c3230(0x379)]],_0x10557c=(_0x7726a3=_0x3bad57[_0x3c3230(0x25c)])==null?void 0x0:_0x7726a3[_0x4de1ba];return _0x240de6==null||_0x10557c==null?[]:[{'row':_0x240de6,'col':_0x10557c,'value':_0x2cbfdb}];})),_0x31ab15=_0x198bf2['flatMap'](_0x368587=>{const _0x32ea97=_0x524c1b;var _0x10cf0f;return Object[_0x32ea97(0x29f)]((_0x10cf0f=_0x368587[_0x32ea97(0x328)])==null?{}:_0x10cf0f)[_0x32ea97(0x173)](([_0x145475,_0x5be4dc])=>{const _0x34d0d4=_0x32ea97;var _0x48e073;let _0x1fa5f5=[...A[_0x34d0d4(0x31d)](_0x19baaf,_0x368587[_0x34d0d4(0x379)]),_0x145475],_0x3354c3=(_0x48e073=_0x594931[_0x34d0d4(0x1ee)][_0x19baaf])==null||(_0x48e073=_0x48e073[_0x34d0d4(0x2f3)][_0x368587[_0x34d0d4(0x379)]])==null?void 0x0:_0x48e073[_0x145475];return this['_replaceOptional'](_0x1fa5f5,_0x3354c3,_0x5be4dc);});});return j([this[_0x524c1b(0x1ce)](_0x594931,_0x19baaf,_0x3792e7),..._0x31ab15]);}[_0xff19e8(0x1ce)](_0x3d162e,_0x408ae9,_0x49c8f8){const _0x28c60d=_0xff19e8;let _0x3fa4bf=_0x3d162e['tables'][_0x408ae9],_0x5de3ab=_0x49c8f8[_0x28c60d(0x212)](_0x302b8c=>gt(_0x3fa4bf,_0x302b8c['row'],_0x302b8c[_0x28c60d(0x301)]))?_0x3fa4bf:f(_0x3fa4bf),_0x44188a=_0x49c8f8[_0x28c60d(0x246)](_0x157746=>{const _0x300506=_0x28c60d;var _0xf9052d,_0x4c5a3,_0x2ce7db,_0x2a24d1;let _0x4bbeae=(_0xf9052d=_0x5de3ab[_0x300506(0x1fc)])==null?void 0x0:_0xf9052d[_0x157746[_0x300506(0x301)]],_0x20e2cf=(_0x4c5a3=_0x5de3ab[_0x300506(0x250)])==null?void 0x0:_0x4c5a3[_0x157746['row']],_0x1e11c8=_0x4bbeae?_0x5de3ab['fields'][_0x4bbeae]:void 0x0,_0x3fcc3f=b(_0x157746[_0x300506(0x14d)],_0x1e11c8),_0xef6284=(_0x2ce7db=_0x5de3ab[_0x300506(0x3e1)])==null||(_0x2ce7db=_0x2ce7db[_0x157746[_0x300506(0x20f)]])==null?void 0x0:_0x2ce7db[_0x157746[_0x300506(0x301)]],_0x325183=this[_0x300506(0x408)](A[_0x300506(0x3e1)](_0x408ae9,_0x157746[_0x300506(0x20f)],_0x157746['col']),_0xef6284,_0x3fcc3f);if(!_0x4bbeae||!_0x20e2cf)return[_0x325183];let _0x43d893=(_0x2a24d1=_0x5de3ab[_0x300506(0x2f3)][_0x20e2cf])==null?void 0x0:_0x2a24d1[_0x300506(0x19c)][_0x4bbeae],_0xe53ea6=(_0x1e11c8==null?void 0x0:_0x1e11c8['type'])===_0x300506(0x3ee)?S(_0x157746[_0x300506(0x14d)]):ne(_0x157746[_0x300506(0x14d)],_0x3fcc3f,_0x1e11c8,_0x5de3ab,_0x20e2cf),_0x50c20a=[_0x325183,this['_replaceOptional'](A[_0x300506(0x1d3)](_0x408ae9,_0x20e2cf,_0x4bbeae),_0x43d893,_0xe53ea6)];if((_0x1e11c8==null?void 0x0:_0x1e11c8[_0x300506(0x278)])!==_0x300506(0x3ee))return _0x50c20a;let _0x16d2d3=this[_0x300506(0x2a6)](_0x5de3ab,_0x408ae9,_0x20e2cf,_0x4bbeae,_0xe53ea6);return[..._0x50c20a,..._0x16d2d3];});return _0x44188a[_0x28c60d(0x42b)]?j(_0x44188a):e[_0x28c60d(0x11f)][_0x28c60d(0x32e)]([_0x28c60d(0x1ee),_0x408ae9,_0x28c60d(0x3e1)],_0x5de3ab['cellData'],_0x5de3ab[_0x28c60d(0x3e1)]);}[_0xff19e8(0x20e)](_0x1a6246,_0x4cbc91,_0x4b2bd5){const _0x209784=_0xff19e8;var _0x46d442,_0x36ba9f;let _0x16b427=_0x1a6246[_0x209784(0x1ee)][_0x4cbc91];if(_0x16b427[_0x209784(0x307)][_0x4b2bd5[_0x209784(0x176)]['id']]||_0x16b427[_0x209784(0x187)]['includes'](_0x4b2bd5[_0x209784(0x176)]['id']))return e[_0x209784(0x11f)][_0x209784(0x32e)]([_0x209784(0x1ee),_0x4cbc91,_0x209784(0x187)],_0x16b427[_0x209784(0x187)],_0x16b427[_0x209784(0x187)]);let _0x73173=(_0x46d442=_0x4b2bd5[_0x209784(0x239)])==null?_0x16b427['fieldOrder']['length']:_0x46d442,_0x43e431=Object[_0x209784(0x19c)]((_0x36ba9f=_0x16b427[_0x209784(0x2f9)])==null?{}:_0x36ba9f)['flatMap'](_0x12617b=>{const _0x2f43da=_0x209784;var _0x1ef784,_0x2f74d6;if(!_0x12617b['fieldOrder']||_0x12617b['fieldOrder']['includes'](_0x4b2bd5[_0x2f43da(0x176)]['id']))return[];let _0x573577=yt((_0x1ef784=(_0x2f74d6=_0x4b2bd5[_0x2f43da(0x161)])==null?void 0x0:_0x2f74d6[_0x12617b['id']])==null?_0x73173:_0x1ef784,_0x12617b[_0x2f43da(0x187)][_0x2f43da(0x42b)]);return[e[_0x2f43da(0x11f)][_0x2f43da(0x374)]([...A[_0x2f43da(0x298)](_0x4cbc91,_0x12617b['id']),_0x2f43da(0x187),_0x573577],_0x4b2bd5[_0x2f43da(0x176)]['id'])];});return j([e[_0x209784(0x11f)][_0x209784(0x374)](A['field'](_0x4cbc91,_0x4b2bd5[_0x209784(0x176)]['id']),_0x4b2bd5[_0x209784(0x176)]),e[_0x209784(0x11f)]['insertOp'](A['fieldOrder'](_0x4cbc91,_0x73173),_0x4b2bd5['field']['id']),..._0x43e431]);}['duplicateField'](_0x5b92a2,_0x4c87cc,_0x19e794,_0x56bda8){const _0x29ad47=_0xff19e8;var _0x108033,_0x436b6f;let _0x5dcf45=_0x5b92a2[_0x29ad47(0x1ee)][_0x4c87cc];if(!_0x5dcf45['fields'][_0x19e794]||_0x5dcf45[_0x29ad47(0x307)][_0x56bda8[_0x29ad47(0x176)]['id']]||_0x5dcf45[_0x29ad47(0x187)][_0x29ad47(0x1cc)](_0x56bda8[_0x29ad47(0x176)]['id']))return e[_0x29ad47(0x11f)][_0x29ad47(0x32e)](['tables',_0x4c87cc,_0x29ad47(0x187)],_0x5dcf45[_0x29ad47(0x187)],_0x5dcf45[_0x29ad47(0x187)]);let _0x35b75a=(_0x108033=_0x56bda8[_0x29ad47(0x239)])==null?_0x5dcf45[_0x29ad47(0x187)][_0x29ad47(0x168)](_0x19e794)+0x1:_0x108033,_0x3ccd5f=_0x5dcf45[_0x29ad47(0x187)][_0x29ad47(0x1b3)](_0x490d52=>_0x490d52!==_0x56bda8[_0x29ad47(0x176)]['id']),_0x4d731e=vt(_0x3ccd5f,_0x56bda8[_0x29ad47(0x176)]['id'],_0x35b75a),_0x355f60=Object[_0x29ad47(0x19c)]((_0x436b6f=_0x5dcf45[_0x29ad47(0x2f9)])==null?{}:_0x436b6f)['flatMap'](_0x4b90b7=>{const _0x56b5c1=_0x29ad47;var _0x464d5e,_0x21c34f,_0x38d701,_0x51909a,_0xfbaf12;let _0x139cf7=(_0x464d5e=_0x4b90b7[_0x56b5c1(0x187)])!=null&&_0x464d5e[_0x56b5c1(0x42b)]?_0x4b90b7['fieldOrder']:_0x3ccd5f;if(_0x139cf7[_0x56b5c1(0x1cc)](_0x56bda8['field']['id']))return[];let _0x306687=vt(_0x139cf7,_0x56bda8[_0x56b5c1(0x176)]['id'],(_0x21c34f=(_0x38d701=_0x56bda8['viewIndexes'])==null?void 0x0:_0x38d701[_0x4b90b7['id']])==null?_0x35b75a:_0x21c34f),_0x339b88=(_0x51909a=_0x4b90b7[_0x56b5c1(0x2f4)])==null?void 0x0:_0x51909a[_0x19e794];return[this['_replaceOptional']([...A[_0x56b5c1(0x298)](_0x4c87cc,_0x4b90b7['id']),_0x56b5c1(0x187)],_0x4b90b7[_0x56b5c1(0x187)],_0x306687),..._0x339b88?[this[_0x56b5c1(0x408)]([...A[_0x56b5c1(0x298)](_0x4c87cc,_0x4b90b7['id']),'fieldSettings',_0x56bda8[_0x56b5c1(0x176)]['id']],(_0xfbaf12=_0x4b90b7[_0x56b5c1(0x2f4)])==null?void 0x0:_0xfbaf12[_0x56bda8[_0x56b5c1(0x176)]['id']],_0x339b88)]:[]];}),_0x1aed8b=Object[_0x29ad47(0x19c)](_0x5dcf45['records'])['filter'](_0x239b74=>!_0x239b74[_0x29ad47(0x3ad)]&&Object[_0x29ad47(0x2dd)][_0x29ad47(0x2ca)]['call'](_0x239b74[_0x29ad47(0x19c)],_0x19e794))['map'](_0xddbbd9=>this[_0x29ad47(0x408)](A[_0x29ad47(0x1d3)](_0x4c87cc,_0xddbbd9['id'],_0x56bda8[_0x29ad47(0x176)]['id']),_0xddbbd9[_0x29ad47(0x19c)][_0x56bda8[_0x29ad47(0x176)]['id']],_0xddbbd9[_0x29ad47(0x19c)][_0x19e794]));return j([e['JSON1'][_0x29ad47(0x374)](A[_0x29ad47(0x176)](_0x4c87cc,_0x56bda8[_0x29ad47(0x176)]['id']),_0x56bda8['field']),e[_0x29ad47(0x11f)][_0x29ad47(0x32e)](['tables',_0x4c87cc,_0x29ad47(0x187)],_0x5dcf45['fieldOrder'],_0x4d731e),..._0x355f60,..._0x1aed8b]);}['updateField'](_0x1b1f9c,_0x231560,_0x2e4db2,_0x21fa58){const _0x17ce72=_0xff19e8;let _0x2b5b6f=_0x1b1f9c[_0x17ce72(0x1ee)][_0x231560][_0x17ce72(0x307)][_0x2e4db2],_0x54a112={..._0x2b5b6f,..._0x21fa58};Object[_0x17ce72(0x416)](_0x21fa58)[_0x17ce72(0x1a6)](_0x541e16=>{_0x21fa58[_0x541e16]===void 0x0&&delete _0x54a112[_0x541e16];});let _0x4744e5=e[_0x17ce72(0x11f)][_0x17ce72(0x32e)](A['field'](_0x231560,_0x2e4db2),_0x2b5b6f,_0x54a112);return _0x54a112[_0x17ce72(0x278)]===_0x17ce72(0x10f)?j([_0x4744e5,...this[_0x17ce72(0x117)](_0x1b1f9c,_0x231560,_0x2e4db2,_0x54a112)]):_0x4744e5;}[_0xff19e8(0x303)](_0x34302d,_0x1e9ce5,_0x244105,_0x3b7e7b){const _0x43f6e6=_0xff19e8;return this[_0x43f6e6(0x402)](_0x34302d,_0x1e9ce5,_0x244105,_0x3b7e7b);}[_0xff19e8(0x217)](_0x40ee8b,_0x1ee422,_0x401207){const _0x26b20f=_0xff19e8;let _0x3d7a20=_0x40ee8b['tables'][_0x1ee422];return!(_0x3d7a20!=null&&_0x3d7a20[_0x26b20f(0x307)][_0x401207])||_0x3d7a20[_0x26b20f(0x14f)]===_0x401207?e['JSON1'][_0x26b20f(0x32e)]([_0x26b20f(0x1ee),_0x1ee422,_0x26b20f(0x187)],_0x3d7a20==null?void 0x0:_0x3d7a20['fieldOrder'],_0x3d7a20==null?void 0x0:_0x3d7a20[_0x26b20f(0x187)]):this[_0x26b20f(0x282)]([...A[_0x26b20f(0x176)](_0x1ee422,_0x401207),_0x26b20f(0x3ad)],_0x3d7a20['fields'][_0x401207]['deleted']);}['moveField'](_0x1cf840,_0x320042,_0x589e3d,_0x4895b0){const _0x5afb83=_0xff19e8;let _0x2733c0=_0x1cf840[_0x5afb83(0x1ee)][_0x320042][_0x5afb83(0x187)],_0x200268=_t(_0x2733c0,_0x589e3d,_0x4895b0);return e[_0x5afb83(0x11f)][_0x5afb83(0x32e)]([_0x5afb83(0x1ee),_0x320042,_0x5afb83(0x187)],_0x2733c0,_0x200268);}[_0xff19e8(0x266)](_0x56ebd0,_0x14075a,_0xe10f9c,_0x282ef4=_0x56ebd0[_0xff19e8(0x1ee)][_0x14075a][_0xff19e8(0x3a2)][_0xff19e8(0x42b)]){const _0x29894b=_0xff19e8;return j([e['JSON1']['insertOp'](A[_0x29894b(0x298)](_0x14075a,_0xe10f9c['id']),_0xe10f9c),e[_0x29894b(0x11f)]['insertOp']([_0x29894b(0x1ee),_0x14075a,'viewOrder',_0x282ef4],_0xe10f9c['id'])]);}[_0xff19e8(0x421)](_0x3d45e1,_0x2008a5,_0x5e413f,_0x888d9a){const _0xa20274=_0xff19e8;return e[_0xa20274(0x11f)][_0xa20274(0x32e)]([...A[_0xa20274(0x298)](_0x2008a5,_0x5e413f),_0xa20274(0x302)],_0x3d45e1[_0xa20274(0x1ee)][_0x2008a5][_0xa20274(0x2f9)][_0x5e413f][_0xa20274(0x302)],_0x888d9a);}[_0xff19e8(0x3a1)](_0x2f5384,_0x436769,_0x5847f8){const _0x2aa893=_0xff19e8;return this['_setDeleted']([...A[_0x2aa893(0x298)](_0x436769,_0x5847f8),_0x2aa893(0x3ad)],_0x2f5384[_0x2aa893(0x1ee)][_0x436769][_0x2aa893(0x2f9)][_0x5847f8][_0x2aa893(0x3ad)]);}[_0xff19e8(0x2b7)](_0x165cc3,_0x4c4dd1,_0x473b67,_0x29e1d9){const _0x4156b9=_0xff19e8;let _0x2d9c62=_0x165cc3[_0x4156b9(0x1ee)][_0x4c4dd1][_0x4156b9(0x3a2)],_0x3ef52f=_t(_0x2d9c62,_0x473b67,{'beforeFieldId':_0x29e1d9['beforeViewId'],'afterFieldId':_0x29e1d9[_0x4156b9(0x337)]});return e[_0x4156b9(0x11f)]['replaceOp'](['tables',_0x4c4dd1,_0x4156b9(0x3a2)],_0x2d9c62,_0x3ef52f);}[_0xff19e8(0x3cc)](_0x3d29dd,_0x243574,_0x100947,_0x531a60){const _0x2640a7=_0xff19e8;var _0x8c5f0a;let _0x3d893f=(_0x8c5f0a=_0x3d29dd[_0x2640a7(0x1ee)][_0x243574][_0x2640a7(0x2f9)][_0x100947][_0x2640a7(0x412)])==null?{}:_0x8c5f0a,_0x517dee={..._0x3d893f,..._0x531a60};return Object['keys'](_0x531a60)['forEach'](_0x274d49=>{_0x531a60[_0x274d49]===void 0x0&&delete _0x517dee[_0x274d49];}),e[_0x2640a7(0x11f)]['replaceOp']([...A[_0x2640a7(0x298)](_0x243574,_0x100947),_0x2640a7(0x412)],_0x3d893f,_0x517dee);}[_0xff19e8(0x289)](_0x57cc15,_0x283828,_0x20eae1,_0x390964){const _0x2141f2=_0xff19e8;return this['_replaceOptional']([...A[_0x2141f2(0x298)](_0x283828,_0x20eae1),'filter'],_0x57cc15[_0x2141f2(0x1ee)][_0x283828][_0x2141f2(0x2f9)][_0x20eae1][_0x2141f2(0x1b3)],_0x390964);}[_0xff19e8(0x2ec)](_0xd90592,_0x409be8,_0x522712,_0x31ffd8){const _0x35e581=_0xff19e8;return this[_0x35e581(0x408)]([...A['view'](_0x409be8,_0x522712),_0x35e581(0x336)],_0xd90592[_0x35e581(0x1ee)][_0x409be8][_0x35e581(0x2f9)][_0x522712][_0x35e581(0x336)],_0x31ffd8);}[_0xff19e8(0x367)](_0x50107a,_0x111917,_0x426dbe,_0x4fb088){const _0x3c1e05=_0xff19e8;return this[_0x3c1e05(0x408)]([...A[_0x3c1e05(0x298)](_0x111917,_0x426dbe),_0x3c1e05(0x163)],_0x50107a[_0x3c1e05(0x1ee)][_0x111917][_0x3c1e05(0x2f9)][_0x426dbe][_0x3c1e05(0x163)],_0x4fb088);}[_0xff19e8(0x258)](_0x1afcb0,_0x30de95,_0x1390a7,_0x285c46,_0x720a51){return this['_setViewFieldSetting'](_0x1afcb0,_0x30de95,_0x1390a7,_0x285c46,{'hidden':!_0x720a51});}[_0xff19e8(0x151)](_0x44b059,_0x40f9bb,_0x28ab3d,_0x1ffff0,_0x480ba1){const _0x5bb4e0=_0xff19e8;return this[_0x5bb4e0(0x3e8)](_0x44b059,_0x40f9bb,_0x28ab3d,_0x1ffff0,{'width':_0x480ba1});}[_0xff19e8(0x3d2)](_0x52f56d,_0xe8ea8c,_0x2cd162,_0x5014c9,_0x1481e1){const _0x501cb1=_0xff19e8;var _0x226bd5;let _0x35e452=_0x52f56d[_0x501cb1(0x1ee)][_0xe8ea8c][_0x501cb1(0x2f9)][_0x2cd162],_0x17ea40=_t((_0x226bd5=_0x35e452[_0x501cb1(0x187)])==null?_0x52f56d[_0x501cb1(0x1ee)][_0xe8ea8c][_0x501cb1(0x187)]:_0x226bd5,_0x5014c9,_0x1481e1);return this[_0x501cb1(0x408)]([...A[_0x501cb1(0x298)](_0xe8ea8c,_0x2cd162),_0x501cb1(0x187)],_0x35e452[_0x501cb1(0x187)],_0x17ea40);}[_0xff19e8(0x3e8)](_0x4bb915,_0x46bdb0,_0x33a380,_0x75d88d,_0x2476af){const _0x5ae27c=_0xff19e8;var _0x12cd96;let _0x3264fe=(_0x12cd96=_0x4bb915[_0x5ae27c(0x1ee)][_0x46bdb0]['views'][_0x33a380][_0x5ae27c(0x2f4)])==null?{}:_0x12cd96,_0x30f694={..._0x3264fe,[_0x75d88d]:{..._0x3264fe[_0x75d88d],..._0x2476af}};return this[_0x5ae27c(0x408)]([...A['view'](_0x46bdb0,_0x33a380),_0x5ae27c(0x2f4)],_0x4bb915[_0x5ae27c(0x1ee)][_0x46bdb0][_0x5ae27c(0x2f9)][_0x33a380]['fieldSettings'],_0x30f694);}['_setDeleted'](_0x3af191,_0x1f69a9){const _0xb1fade=_0xff19e8;return this[_0xb1fade(0x408)](_0x3af191,_0x1f69a9,!0x0);}['_createRecordOrderOp'](_0xd65afc,_0x44a0ce,_0x29a92c){const _0x3c8a67=_0xff19e8;let _0x247bb9=_0xd65afc[_0x3c8a67(0x1ee)][_0x44a0ce],_0x40b88f=new Set(_0x29a92c[_0x3c8a67(0x173)](_0x3c1b9b=>_0x3c1b9b['id'])),_0x438bfa=[...Object[_0x3c8a67(0x19c)](_0x247bb9[_0x3c8a67(0x2f3)])[_0x3c8a67(0x1b3)](_0x2480a4=>!_0x2480a4['deleted']&&!_0x40b88f[_0x3c8a67(0x3d3)](_0x2480a4['id'])),..._0x29a92c['filter'](_0x53c54a=>!_0x53c54a[_0x3c8a67(0x3ad)])][_0x3c8a67(0x336)]((_0x44d757,_0x1ae602)=>{const _0x1096d9=_0x3c8a67;var _0x4966e2,_0xae1703;return String((_0x4966e2=_0x44d757[_0x1096d9(0x3d9)])==null?_0x44d757['id']:_0x4966e2)[_0x1096d9(0x317)](String((_0xae1703=_0x1ae602['orderKey'])==null?_0x1ae602['id']:_0xae1703));})['map'](_0x595f0d=>_0x595f0d['id']),_0x1c1efc=[...A[_0x3c8a67(0x420)](_0x44a0ce),_0x3c8a67(0x279)];return _0x247bb9['recordOrder']?e['JSON1'][_0x3c8a67(0x32e)](_0x1c1efc,_0x247bb9['recordOrder'],_0x438bfa):e[_0x3c8a67(0x11f)][_0x3c8a67(0x374)](_0x1c1efc,_0x438bfa);}[_0xff19e8(0x117)](_0x5d1dcb,_0x1419d3,_0xfb1b4d,_0x2b6bef){const _0x1813f9=_0xff19e8;var _0x1577ae,_0x3d59fc,_0x11b4cb,_0x3c89f1;let _0x22c5ec=f(_0x5d1dcb['tables'][_0x1419d3]),_0x492153=String((_0x1577ae=(_0x3d59fc=_0x2b6bef['config'])==null?void 0x0:_0x3d59fc['formula'])==null?'':_0x1577ae)[_0x1813f9(0x380)](),_0x2a237f=(_0x11b4cb=_0x22c5ec[_0x1813f9(0x25c)])==null?void 0x0:_0x11b4cb[_0xfb1b4d];if(_0x2a237f==null)return[];let _0x2c3dc9=((_0x3c89f1=_0x22c5ec['recordOrder'])==null?Object[_0x1813f9(0x416)](_0x22c5ec[_0x1813f9(0x2f3)]):_0x3c89f1)[_0x1813f9(0x1b3)](_0x343b34=>{const _0x55482c=_0x1813f9;var _0x116c0b;return!((_0x116c0b=_0x22c5ec[_0x55482c(0x2f3)][_0x343b34])!=null&&_0x116c0b[_0x55482c(0x3ad)]);}),_0x1d9d6a=_0x2c3dc9[_0x1813f9(0x173)](_0x2becbf=>{const _0x530f7c=_0x1813f9;var _0xcc3e23;return(_0xcc3e23=_0x22c5ec[_0x530f7c(0x2ce)])==null?void 0x0:_0xcc3e23[_0x2becbf];})['find'](_0xc18bf3=>_0xc18bf3!=null);return _0x2c3dc9[_0x1813f9(0x246)](_0xb21390=>{const _0x2dd7c4=_0x1813f9;var _0x2b6887,_0x160cc9;let _0x1cc02a=(_0x2b6887=_0x22c5ec[_0x2dd7c4(0x2ce)])==null?void 0x0:_0x2b6887[_0xb21390];if(_0x1cc02a==null)return[];let _0x50ff1d=(_0x160cc9=_0x22c5ec['cellData'])==null||(_0x160cc9=_0x160cc9[_0x1cc02a])==null?void 0x0:_0x160cc9[_0x2a237f],_0x3fb470=_0x492153?_0x1cc02a===_0x1d9d6a?{'f':_0x492153,'si':_0xfb1b4d}:{'si':_0xfb1b4d}:{'v':null,'t':null};return[this[_0x2dd7c4(0x408)](A[_0x2dd7c4(0x3e1)](_0x1419d3,_0x1cc02a,_0x2a237f),_0x50ff1d,_0x3fb470)];});}[_0xff19e8(0x2a6)](_0x348000,_0x15cff9,_0x15ab1f,_0x5730e8,_0x1dd86e){const _0x7a2452=_0xff19e8;var _0x44cd3c;let _0xe1d3f2=ie(_0x5730e8,_0x15ab1f),_0x7b1874=_0x1dd86e[_0x7a2452(0x173)]((_0x1eda52,_0x6162f5)=>{var _0x2bb9c5;return String((_0x2bb9c5=_0x1eda52['id'])==null?_0xe1d3f2+'\x1f'+_0x6162f5:_0x2bb9c5);});return[this[_0x7a2452(0x408)](A[_0x7a2452(0x3e3)](_0x15cff9,_0xe1d3f2),(_0x44cd3c=_0x348000['resources'])==null||(_0x44cd3c=_0x44cd3c[_0x7a2452(0x1ac)])==null?void 0x0:_0x44cd3c[_0xe1d3f2],_0x7b1874),..._0x1dd86e['map']((_0x1d3a19,_0x808420)=>{const _0x398eff=_0x7a2452;var _0x2e49b3;let _0x14ce3b=_0x7b1874[_0x808420];return this[_0x398eff(0x408)](A[_0x398eff(0x3ee)](_0x15cff9,_0x14ce3b),(_0x2e49b3=_0x348000[_0x398eff(0x34e)])==null||(_0x2e49b3=_0x2e49b3['attachments'])==null?void 0x0:_0x2e49b3[_0x14ce3b],{..._0x1d3a19,'id':_0x14ce3b});})];}['_replaceOptional'](_0x590212,_0x4ae18f,_0x554721){const _0x352cd2=_0xff19e8;return _0x4ae18f===void 0x0?e[_0x352cd2(0x11f)][_0x352cd2(0x374)](_0x590212,_0x554721):e[_0x352cd2(0x11f)][_0x352cd2(0x32e)](_0x590212,_0x4ae18f,_0x554721);}};function ht(_0x238e5c,_0x471087,_0x4ec7e0){const _0x3bf912=_0xff19e8;var _0x5cbcce,_0x3e6cc6,_0x3eaa73,_0x2d469f;let _0x49e2cf=(_0x5cbcce=_0x238e5c[_0x3bf912(0x2ce)])==null?void 0x0:_0x5cbcce[_0x471087],_0x5d9fec=(_0x3e6cc6=_0x238e5c[_0x3bf912(0x25c)])==null?void 0x0:_0x3e6cc6[_0x4ec7e0];return _0x49e2cf!=null&&_0x5d9fec!=null&&((_0x3eaa73=_0x238e5c['rowId'])==null?void 0x0:_0x3eaa73[_0x49e2cf])===_0x471087&&((_0x2d469f=_0x238e5c[_0x3bf912(0x1fc)])==null?void 0x0:_0x2d469f[_0x5d9fec])===_0x4ec7e0&&_0x238e5c[_0x3bf912(0x3e1)]!=null;}function gt(_0x170718,_0x5113e9,_0x52e6fd){const _0x2aeacf=_0xff19e8;var _0x2070d1,_0x16a4a7;return((_0x2070d1=_0x170718[_0x2aeacf(0x250)])==null?void 0x0:_0x2070d1[_0x5113e9])!=null&&((_0x16a4a7=_0x170718[_0x2aeacf(0x1fc)])==null?void 0x0:_0x16a4a7[_0x52e6fd])!=null&&_0x170718['cellData']!=null;}function _t(_0x391069,_0x588924,_0x275ad7){const _0x255651=_0xff19e8;let _0x252cdc=_0x391069[_0x255651(0x1b3)](_0x1f805c=>_0x1f805c!==_0x588924),_0xe8973a=_0x275ad7[_0x255651(0x3fb)]?_0x252cdc[_0x255651(0x168)](_0x275ad7[_0x255651(0x3fb)]):_0x275ad7[_0x255651(0x383)]?_0x252cdc[_0x255651(0x168)](_0x275ad7['afterFieldId'])+0x1:_0x252cdc[_0x255651(0x42b)];return _0x252cdc[_0x255651(0x39d)](_0xe8973a<0x0?_0x252cdc[_0x255651(0x42b)]:_0xe8973a,0x0,_0x588924),_0x252cdc;}function vt(_0x566b55,_0x448510,_0x393be2){const _0x3a7ac4=_0xff19e8;let _0x38ca42=_0x566b55[_0x3a7ac4(0x1b3)](_0x5657f1=>_0x5657f1!==_0x448510);return _0x38ca42[_0x3a7ac4(0x39d)](yt(_0x393be2,_0x38ca42['length']),0x0,_0x448510),_0x38ca42;}function yt(_0x46aea7,_0x4d1eb4){const _0x163de4=_0xff19e8;return Math[_0x163de4(0x331)](0x0,Math[_0x163de4(0x155)](_0x46aea7,_0x4d1eb4));}function N(_0x7c8f16){'@babel/helpers - typeof';const _0x3c3b5f=_0xff19e8;return N=typeof Symbol==_0x3c3b5f(0x288)&&typeof Symbol[_0x3c3b5f(0x27b)]==_0x3c3b5f(0x21d)?function(_0x52f00a){return typeof _0x52f00a;}:function(_0x5e414e){const _0x1c399f=_0x3c3b5f;return _0x5e414e&&typeof Symbol==_0x1c399f(0x288)&&_0x5e414e[_0x1c399f(0x3de)]===Symbol&&_0x5e414e!==Symbol[_0x1c399f(0x2dd)]?_0x1c399f(0x21d):typeof _0x5e414e;},N(_0x7c8f16);}function bt(_0xb01742,_0x4cb833){const _0x5594ac=_0xff19e8;if(N(_0xb01742)!='object'||!_0xb01742)return _0xb01742;var _0xfa7b08=_0xb01742[Symbol['toPrimitive']];if(_0xfa7b08!==void 0x0){var _0x4ad0aa=_0xfa7b08[_0x5594ac(0x234)](_0xb01742,_0x4cb833||'default');if(N(_0x4ad0aa)!='object')return _0x4ad0aa;throw TypeError(_0x5594ac(0x319));}return(_0x4cb833===_0x5594ac(0x149)?String:Number)(_0xb01742);}function xt(_0xb95167){const _0x7e0b16=_0xff19e8;var _0x42d951=bt(_0xb95167,_0x7e0b16(0x149));return N(_0x42d951)==_0x7e0b16(0x21d)?_0x42d951:_0x42d951+'';}function P(_0x5ade1d,_0x32cce6,_0x5d7ada){return(_0x32cce6=xt(_0x32cce6))in _0x5ade1d?Object['defineProperty'](_0x5ade1d,_0x32cce6,{'value':_0x5d7ada,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ade1d[_0x32cce6]=_0x5d7ada,_0x5ade1d;}const F=(0x0,e[_0xff19e8(0x3cd)])(_0xff19e8(0x24a));var St=class extends e['Disposable']{constructor(..._0x448855){super(..._0x448855),P(this,'_plugins',new Map());}[_0xff19e8(0x42d)](_0x1c2452){const _0x29dfe9=_0xff19e8;return this[_0x29dfe9(0x131)][_0x29dfe9(0x37d)](_0x1c2452[_0x29dfe9(0x278)],_0x1c2452),(0x0,e[_0x29dfe9(0x42f)])(()=>this[_0x29dfe9(0x131)][_0x29dfe9(0x21e)](_0x1c2452[_0x29dfe9(0x278)]));}[_0xff19e8(0x2e7)](_0x2f4a43){const _0x582a45=_0xff19e8;let _0x5dc0d1=this['_plugins'][_0x582a45(0x2e7)](_0x2f4a43);if(!_0x5dc0d1)throw Error(_0x582a45(0x3e2)+_0x2f4a43+'\x22\x20is\x20not\x20registered.');return _0x5dc0d1;}[_0xff19e8(0x366)](_0x2006e5){const _0x199eab=_0xff19e8;return this[_0x199eab(0x131)]['get'](_0x2006e5);}[_0xff19e8(0x2c0)](){const _0x24b1b4=_0xff19e8;return Array[_0x24b1b4(0x170)](this['_plugins'][_0x24b1b4(0x19c)]());}};const Ct=(0x0,e['createIdentifier'])(_0xff19e8(0x3d7));var wt=class{constructor(){const _0x3c99df=_0xff19e8;P(this,_0x3c99df(0x35d),new Map()),P(this,_0x3c99df(0x221),new Map()),P(this,'_fieldPermissions',new Map()),P(this,_0x3c99df(0x31a),new Map());}[_0xff19e8(0x253)](_0x5bc12a){const _0x4ff2ba=_0xff19e8;var _0x351240,_0x541978;return(_0x351240=(_0x541978=this[_0x4ff2ba(0x35d)][_0x4ff2ba(0x2e7)](_0x5bc12a))==null?void 0x0:_0x541978[_0x4ff2ba(0x2ae)])==null?!0x0:_0x351240;}['canDeleteTable'](_0x201719){const _0x2d762c=_0xff19e8;var _0x29ca33,_0x5aa0a3;return(_0x29ca33=(_0x5aa0a3=this[_0x2d762c(0x221)][_0x2d762c(0x2e7)](_0x201719))==null?void 0x0:_0x5aa0a3[_0x2d762c(0x21e)])==null?!0x0:_0x29ca33;}[_0xff19e8(0x384)](_0x5cdf98){const _0x486b83=_0xff19e8;var _0x1c66d4,_0x289ece;return(_0x1c66d4=(_0x289ece=this[_0x486b83(0x221)][_0x486b83(0x2e7)](_0x5cdf98))==null?void 0x0:_0x289ece[_0x486b83(0x20e)])==null?!0x0:_0x1c66d4;}[_0xff19e8(0x198)](_0x21b55e,_0x18b9d0){const _0x5792ae=_0xff19e8;var _0x739ac0,_0x22e2b8;return(_0x739ac0=(_0x22e2b8=this[_0x5792ae(0x164)][_0x5792ae(0x2e7)](I(_0x21b55e,_0x18b9d0)))==null?void 0x0:_0x22e2b8['edit'])==null?!0x0:_0x739ac0;}[_0xff19e8(0x267)](_0x248376,_0x3a53da){const _0x3ad0a1=_0xff19e8;var _0x278d40,_0x403910;return(_0x278d40=(_0x403910=this[_0x3ad0a1(0x164)]['get'](I(_0x248376,_0x3a53da)))==null?void 0x0:_0x403910['delete'])==null?!0x0:_0x278d40;}[_0xff19e8(0x242)](_0x268473){const _0x3ccb9e=_0xff19e8;var _0x315fba,_0x29915e;return(_0x315fba=(_0x29915e=this[_0x3ccb9e(0x221)][_0x3ccb9e(0x2e7)](_0x268473))==null?void 0x0:_0x29915e[_0x3ccb9e(0x290)])==null?!0x0:_0x315fba;}[_0xff19e8(0x2c7)](_0x472c0b,_0x23eea8){const _0x270984=_0xff19e8;var _0x591758,_0x3a8549;return(_0x591758=(_0x3a8549=this[_0x270984(0x31a)][_0x270984(0x2e7)](Tt(_0x472c0b,_0x23eea8)))==null?void 0x0:_0x3a8549[_0x270984(0x21e)])==null?!0x0:_0x591758;}['canEditCell'](_0x1c5081,_0x153530,_0x4f9b20){const _0x119e81=_0xff19e8;var _0x24148a,_0x1fe0e4,_0x54a305,_0x3fe301;let _0x3eb8d7=this['_fieldPermissions'][_0x119e81(0x2e7)](I(_0x1c5081,_0x4f9b20));return((_0x24148a=(_0x1fe0e4=this[_0x119e81(0x31a)][_0x119e81(0x2e7)](Tt(_0x1c5081,_0x153530)))==null?void 0x0:_0x1fe0e4['editCell'])==null?!0x0:_0x24148a)&&((_0x54a305=_0x3eb8d7==null?void 0x0:_0x3eb8d7[_0x119e81(0x311)])==null?!0x0:_0x54a305)&&((_0x3fe301=_0x3eb8d7==null?void 0x0:_0x3eb8d7[_0x119e81(0x2da)])==null?!0x0:_0x3fe301);}[_0xff19e8(0x227)](_0x5508bd){const _0xf501f=_0xff19e8;var _0x3225bf,_0x4650dd;return(_0x3225bf=(_0x4650dd=this[_0xf501f(0x221)][_0xf501f(0x2e7)](_0x5508bd))==null?void 0x0:_0x4650dd[_0xf501f(0x313)])==null?!0x0:_0x3225bf;}[_0xff19e8(0x122)](_0x2f5009,_0x2aae1c){const _0x3538cf=_0xff19e8;this[_0x3538cf(0x35d)][_0x3538cf(0x37d)](_0x2f5009,{...this['_basePermissions'][_0x3538cf(0x2e7)](_0x2f5009),..._0x2aae1c});}[_0xff19e8(0x2be)](_0xd188f6,_0x548105){const _0x442b7a=_0xff19e8;this[_0x442b7a(0x221)]['set'](_0xd188f6,{...this[_0x442b7a(0x221)][_0x442b7a(0x2e7)](_0xd188f6),..._0x548105});}[_0xff19e8(0x16e)](_0x362e49,_0x4daddb,_0x25cce7){const _0x2865fe=_0xff19e8;let _0x2dde6e=I(_0x362e49,_0x4daddb);this[_0x2865fe(0x164)][_0x2865fe(0x37d)](_0x2dde6e,{...this[_0x2865fe(0x164)][_0x2865fe(0x2e7)](_0x2dde6e),..._0x25cce7});}[_0xff19e8(0x3b5)](_0x1f272e,_0x258643,_0x38369a){const _0x40746d=_0xff19e8;let _0x1a7e1d=Tt(_0x1f272e,_0x258643);this['_recordPermissions'][_0x40746d(0x37d)](_0x1a7e1d,{...this['_recordPermissions']['get'](_0x1a7e1d),..._0x38369a});}[_0xff19e8(0x19b)](_0x5af5bb){const _0x2d02d1=_0xff19e8;this[_0x2d02d1(0x35d)]['delete'](_0x5af5bb);}[_0xff19e8(0x3dc)](_0x672dd6){const _0x27b71e=_0xff19e8;this[_0x27b71e(0x221)][_0x27b71e(0x21e)](_0x672dd6);}[_0xff19e8(0x315)](_0x1ed637,_0x49f409){const _0xcafff9=_0xff19e8;this[_0xcafff9(0x164)][_0xcafff9(0x21e)](I(_0x1ed637,_0x49f409));}[_0xff19e8(0x38c)](_0x4ab1fe,_0x24c85d){const _0x7022a9=_0xff19e8;this[_0x7022a9(0x31a)][_0x7022a9(0x21e)](Tt(_0x4ab1fe,_0x24c85d));}[_0xff19e8(0x219)](){const _0x25630f=_0xff19e8;return{'bases':Object[_0x25630f(0x143)](this[_0x25630f(0x35d)]),'tables':Object['fromEntries'](this['_tablePermissions']),'fields':Object[_0x25630f(0x143)](this['_fieldPermissions']),'records':Object[_0x25630f(0x143)](this[_0x25630f(0x31a)])};}};function I(_0x38771a,_0x6d424a){return _0x38771a+'\x1f'+_0x6d424a;}function Tt(_0x32aec9,_0x252dba){return _0x32aec9+'\x1f'+_0x252dba;}function L(_0x474f45,_0xeb97f9){return function(_0x443a8a,_0x327d0a){_0xeb97f9(_0x443a8a,_0x327d0a,_0x474f45);};}function R(_0x5bb9f9,_0x33c16e,_0x549ab3,_0x2e8125){const _0x578607=_0xff19e8;var _0x55bc59=arguments['length'],_0x1b124c=_0x55bc59<0x3?_0x33c16e:_0x2e8125===null?_0x2e8125=Object['getOwnPropertyDescriptor'](_0x33c16e,_0x549ab3):_0x2e8125,_0x4bf9e3;if(typeof Reflect==_0x578607(0x12f)&&typeof Reflect[_0x578607(0x243)]==_0x578607(0x288))_0x1b124c=Reflect[_0x578607(0x243)](_0x5bb9f9,_0x33c16e,_0x549ab3,_0x2e8125);else{for(var _0x438718=_0x5bb9f9[_0x578607(0x42b)]-0x1;_0x438718>=0x0;_0x438718--)(_0x4bf9e3=_0x5bb9f9[_0x438718])&&(_0x1b124c=(_0x55bc59<0x3?_0x4bf9e3(_0x1b124c):_0x55bc59>0x3?_0x4bf9e3(_0x33c16e,_0x549ab3,_0x1b124c):_0x4bf9e3(_0x33c16e,_0x549ab3))||_0x1b124c);}return _0x55bc59>0x3&&_0x1b124c&&Object[_0x578607(0x2b4)](_0x33c16e,_0x549ab3,_0x1b124c),_0x1b124c;}const z=(0x0,e['createIdentifier'])(_0xff19e8(0x341));let B=class{constructor(_0x39dfe4,_0xcfbb8c=Et(),_0x22f4fc={}){const _0x5d19de=_0xff19e8;this['_permissionService']=_0x39dfe4,this[_0x5d19de(0x334)]=_0xcfbb8c,this[_0x5d19de(0x148)]=_0x22f4fc,P(this,_0x5d19de(0x3d8),new M()),P(this,_0x5d19de(0x3a6),new w());}[_0xff19e8(0x2ae)](_0x7f98b,_0x1140fe,_0x5377ae){const _0x5beea8=_0xff19e8;if(!this['_permissionService'][_0x5beea8(0x253)](_0x7f98b[_0x5beea8(0x159)]()))throw Error(_0x5beea8(0x17b));this['_apply'](_0x7f98b,this['_factory'][_0x5beea8(0x2ae)](_0x7f98b[_0x5beea8(0x219)](),_0x1140fe,_0x5377ae));}[_0xff19e8(0x41a)](_0x77809d,_0x8e9c75,_0x16d3de){const _0x25bd11=_0xff19e8;this[_0x25bd11(0x18d)](_0x77809d,this[_0x25bd11(0x3d8)][_0x25bd11(0x41a)](_0x77809d[_0x25bd11(0x219)](),_0x8e9c75,_0x16d3de));}[_0xff19e8(0x34f)](_0x4848c3,_0x1ac489){const _0x5f3ac9=_0xff19e8;if(!this[_0x5f3ac9(0x33b)]['canDeleteTable'](_0x1ac489))throw Error(_0x5f3ac9(0x1ed));this[_0x5f3ac9(0x18d)](_0x4848c3,this[_0x5f3ac9(0x3d8)]['deleteTable'](_0x4848c3['getSnapshot'](),_0x1ac489));}[_0xff19e8(0x251)](_0x292c00,_0x5795df,_0x231260,_0x51d782,_0x2f7db9){const _0x2e395d=_0xff19e8;this[_0x2e395d(0x18d)](_0x292c00,this[_0x2e395d(0x22a)](_0x292c00,_0x5795df,_0x231260,_0x51d782,_0x2f7db9));}[_0xff19e8(0x3e4)](_0x3529f8,_0x26569e,_0x1c2ba6){const _0x4b996e=_0xff19e8;this[_0x4b996e(0x18d)](_0x3529f8,this[_0x4b996e(0x38b)](_0x3529f8,_0x26569e,_0x1c2ba6));}[_0xff19e8(0x290)](_0x3fb18e,_0x10780c,_0x4f67){const _0x7f2b0=_0xff19e8;this[_0x7f2b0(0x18d)](_0x3fb18e,this[_0x7f2b0(0x202)](_0x3fb18e,_0x10780c,_0x4f67));}[_0xff19e8(0x22a)](_0x1790c6,_0x4fc725,_0x362505,_0x3591cb,_0x21530c){const _0x5ec701=_0xff19e8;let _0x4cd46b=_0x1790c6[_0x5ec701(0x219)](),_0x139f2a=this['_normalizeCellValue'](_0x4cd46b,_0x4fc725,_0x362505,_0x3591cb,_0x21530c),_0xc837b5=this['_withModifiedSystemValues'](_0x4cd46b,_0x4fc725,_0x362505,{[_0x3591cb]:_0x139f2a});return this[_0x5ec701(0x3d8)][_0x5ec701(0x3e4)](_0x4cd46b,_0x4fc725,[_0xc837b5]);}['createSetRecordValuesOp'](_0x102679,_0x5e3a54,_0x517958){const _0x18f7a5=_0xff19e8;let _0xbe422f=_0x102679[_0x18f7a5(0x219)](),_0x15a886=_0x517958[_0x18f7a5(0x173)](_0x8fcec6=>this[_0x18f7a5(0x2aa)](_0xbe422f,_0x5e3a54,_0x8fcec6[_0x18f7a5(0x379)],{...Object[_0x18f7a5(0x143)](Object['entries'](_0x8fcec6[_0x18f7a5(0x19c)])['map'](([_0x180872,_0x5441d9])=>[_0x180872,this['_normalizeCellValue'](_0xbe422f,_0x5e3a54,_0x8fcec6[_0x18f7a5(0x379)],_0x180872,_0x5441d9)]))}));return this[_0x18f7a5(0x3d8)]['setRecordValues'](_0xbe422f,_0x5e3a54,_0x15a886);}[_0xff19e8(0x202)](_0xda5aaa,_0x117777,_0x194bc9){const _0x222c55=_0xff19e8;if(!this[_0x222c55(0x33b)]['canCreateRecord'](_0x117777))throw Error(_0x222c55(0x37c));let _0x374db9=_0xda5aaa['getSnapshot'](),_0x4f2ecb=this[_0x222c55(0x3b1)](_0x374db9[_0x222c55(0x1ee)][_0x117777]);return this['_factory'][_0x222c55(0x290)](_0x374db9,_0x117777,this['_createRecordWithDefaults'](_0x374db9,_0x117777,_0x194bc9,_0x4f2ecb));}[_0xff19e8(0x424)](_0x117611,_0xd87412,_0x4188c5){const _0x5f20ad=_0xff19e8;if(!this[_0x5f20ad(0x33b)][_0x5f20ad(0x242)](_0xd87412))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x5b61b3=_0x117611['getSnapshot'](),_0x41b751=this['_createNumberingAllocators'](_0x5b61b3['tables'][_0xd87412]);return this['_factory']['createRecords'](_0x5b61b3,_0xd87412,_0x4188c5[_0x5f20ad(0x173)](_0x49e533=>this[_0x5f20ad(0x15e)](_0x5b61b3,_0xd87412,_0x49e533,_0x41b751)));}[_0xff19e8(0x142)](_0x38fd22,_0x2282d3,_0x50f316,_0x38fded,_0x248483){const _0x2ab051=_0xff19e8;if(!this[_0x2ab051(0x33b)][_0x2ab051(0x384)](_0x2282d3))throw Error(_0x2ab051(0x2a1));let _0x5ca42f=_0x38fd22[_0x2ab051(0x219)](),_0x48a453=this['_factory']['createField'](_0x5ca42f,_0x2282d3,{'field':_0x50f316,'index':_0x38fded,'viewIndexes':_0x248483}),_0x2c6211=this[_0x2ab051(0x233)](_0x5ca42f,_0x2282d3,_0x50f316);if(!_0x2c6211[_0x2ab051(0x42b)])return _0x48a453;let _0x5476e8=this['_applier']['applyOp'](_0x5ca42f,_0x48a453);return j([_0x48a453,this['_factory'][_0x2ab051(0x3e4)](_0x5476e8,_0x2282d3,_0x2c6211)]);}[_0xff19e8(0x205)](_0x1166ae,_0x1aa714,_0x2e409b){const _0x1812b8=_0xff19e8;if(!this[_0x1812b8(0x33b)][_0x1812b8(0x2c7)](_0x1aa714,_0x2e409b))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x1812b8(0x18d)](_0x1166ae,this['_factory'][_0x1812b8(0x205)](_0x1166ae[_0x1812b8(0x219)](),_0x1aa714,_0x2e409b));}['duplicateRecord'](_0x514c1c,_0x539603,_0x24a8e7,_0x3f9b98){const _0x320271=_0xff19e8;this[_0x320271(0x18d)](_0x514c1c,this[_0x320271(0x3d8)][_0x320271(0x245)](_0x514c1c['getSnapshot'](),_0x539603,_0x24a8e7,_0x3f9b98));}[_0xff19e8(0x342)](_0x537f4b,_0x16fbe1,_0x37f1ee,_0x69f6fe){const _0xc34576=_0xff19e8;this['_apply'](_0x537f4b,this[_0xc34576(0x3d8)][_0xc34576(0x342)](_0x537f4b['getSnapshot'](),_0x16fbe1,_0x37f1ee,_0x69f6fe));}['createField'](_0x268abd,_0x1a933c,_0x1f8b53,_0x42a4e5,_0x26ff11){const _0x3a7124=_0xff19e8;this[_0x3a7124(0x18d)](_0x268abd,this[_0x3a7124(0x142)](_0x268abd,_0x1a933c,_0x1f8b53,_0x42a4e5,_0x26ff11));}['updateField'](_0x2c6276,_0x19f885,_0x1efc13,_0x23b1cb){const _0x594f85=_0xff19e8;if(!this['_permissionService'][_0x594f85(0x198)](_0x19f885,_0x1efc13))throw Error(_0x594f85(0x3ae));this[_0x594f85(0x18d)](_0x2c6276,this[_0x594f85(0x3d8)][_0x594f85(0x402)](_0x2c6276[_0x594f85(0x219)](),_0x19f885,_0x1efc13,_0x23b1cb));}[_0xff19e8(0x303)](_0x405e06,_0x208e64,_0x5f2155,_0xc49f94){const _0x21c09e=_0xff19e8;if(!this['_permissionService'][_0x21c09e(0x198)](_0x208e64,_0x5f2155))throw Error(_0x21c09e(0x3ae));this[_0x21c09e(0x18d)](_0x405e06,this['_factory'][_0x21c09e(0x303)](_0x405e06[_0x21c09e(0x219)](),_0x208e64,_0x5f2155,_0xc49f94));}[_0xff19e8(0x217)](_0x37106a,_0x16c8fb,_0x46dc24){const _0x358af3=_0xff19e8;var _0x1f93df;if(((_0x1f93df=_0x37106a[_0x358af3(0x219)]()[_0x358af3(0x1ee)][_0x16c8fb])==null?void 0x0:_0x1f93df[_0x358af3(0x14f)])===_0x46dc24)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x358af3(0x33b)][_0x358af3(0x267)](_0x16c8fb,_0x46dc24))throw Error(_0x358af3(0x110));this[_0x358af3(0x18d)](_0x37106a,this[_0x358af3(0x3d8)][_0x358af3(0x217)](_0x37106a['getSnapshot'](),_0x16c8fb,_0x46dc24));}[_0xff19e8(0x2df)](_0xa51426,_0x12943d,_0x1d9dee,_0x21f012){const _0x5c141d=_0xff19e8;if(!this[_0x5c141d(0x33b)][_0x5c141d(0x198)](_0x12943d,_0x1d9dee))throw Error(_0x5c141d(0x3ae));this['_apply'](_0xa51426,this[_0x5c141d(0x3d8)][_0x5c141d(0x2df)](_0xa51426[_0x5c141d(0x219)](),_0x12943d,_0x1d9dee,_0x21f012));}['createView'](_0x569249,_0x5e6949,_0x485817,_0x25ab25){const _0x11df88=_0xff19e8;this[_0x11df88(0x18d)](_0x569249,this[_0x11df88(0x3d8)][_0x11df88(0x266)](_0x569249[_0x11df88(0x219)](),_0x5e6949,_0x485817,_0x25ab25));}[_0xff19e8(0x421)](_0x7b28dc,_0x5bc44d,_0x16dbf4,_0x21d0b2){const _0x476416=_0xff19e8;if(!this[_0x476416(0x33b)]['canManageView'](_0x5bc44d,_0x16dbf4))throw Error(_0x476416(0x1dc));this[_0x476416(0x18d)](_0x7b28dc,this[_0x476416(0x3d8)]['renameView'](_0x7b28dc['getSnapshot'](),_0x5bc44d,_0x16dbf4,_0x21d0b2));}[_0xff19e8(0x3a1)](_0x135b13,_0x3092f8,_0x359ab4){const _0x5c6ac3=_0xff19e8;if(!this[_0x5c6ac3(0x33b)][_0x5c6ac3(0x227)](_0x3092f8,_0x359ab4))throw Error(_0x5c6ac3(0x1dc));this[_0x5c6ac3(0x18d)](_0x135b13,this[_0x5c6ac3(0x3d8)][_0x5c6ac3(0x3a1)](_0x135b13['getSnapshot'](),_0x3092f8,_0x359ab4));}[_0xff19e8(0x2b7)](_0x230159,_0x5579f5,_0x43202a,_0x1c5723){const _0x4f6deb=_0xff19e8;if(!this[_0x4f6deb(0x33b)][_0x4f6deb(0x227)](_0x5579f5,_0x43202a))throw Error(_0x4f6deb(0x1dc));this[_0x4f6deb(0x18d)](_0x230159,this[_0x4f6deb(0x3d8)][_0x4f6deb(0x2b7)](_0x230159[_0x4f6deb(0x219)](),_0x5579f5,_0x43202a,_0x1c5723));}[_0xff19e8(0x3cc)](_0x341617,_0x49832b,_0x1166b7,_0x1ec942){const _0x34faa1=_0xff19e8;if(!this[_0x34faa1(0x33b)][_0x34faa1(0x227)](_0x49832b,_0x1166b7))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x34faa1(0x18d)](_0x341617,this['_factory'][_0x34faa1(0x3cc)](_0x341617[_0x34faa1(0x219)](),_0x49832b,_0x1166b7,_0x1ec942));}[_0xff19e8(0x289)](_0x25fca0,_0x5b6b93,_0x15b1ed,_0x220c5e){const _0x3028ee=_0xff19e8;this[_0x3028ee(0x18d)](_0x25fca0,this[_0x3028ee(0x3d8)][_0x3028ee(0x289)](_0x25fca0[_0x3028ee(0x219)](),_0x5b6b93,_0x15b1ed,_0x220c5e));}[_0xff19e8(0x2ec)](_0x4c506c,_0x56bd16,_0x630645,_0x554285){const _0x4a552a=_0xff19e8;this[_0x4a552a(0x18d)](_0x4c506c,this[_0x4a552a(0x3d8)][_0x4a552a(0x2ec)](_0x4c506c[_0x4a552a(0x219)](),_0x56bd16,_0x630645,_0x554285));}[_0xff19e8(0x367)](_0x5085c7,_0x5e292f,_0x4349ed,_0x1c4bbc){const _0x479b9a=_0xff19e8;this[_0x479b9a(0x18d)](_0x5085c7,this['_factory'][_0x479b9a(0x367)](_0x5085c7[_0x479b9a(0x219)](),_0x5e292f,_0x4349ed,_0x1c4bbc));}[_0xff19e8(0x258)](_0x14c0d8,_0x3bae42,_0x5458f9,_0x1c4c2c,_0x2581f0){const _0x1ece7e=_0xff19e8;if(!this[_0x1ece7e(0x33b)][_0x1ece7e(0x227)](_0x3bae42,_0x5458f9))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x1ece7e(0x18d)](_0x14c0d8,this['_factory']['setViewFieldVisible'](_0x14c0d8['getSnapshot'](),_0x3bae42,_0x5458f9,_0x1c4c2c,_0x2581f0));}[_0xff19e8(0x151)](_0x83295e,_0x4faca7,_0x1a6336,_0x4ffc63,_0x2e4bde){const _0x250014=_0xff19e8;this[_0x250014(0x18d)](_0x83295e,this[_0x250014(0x3d8)][_0x250014(0x151)](_0x83295e[_0x250014(0x219)](),_0x4faca7,_0x1a6336,_0x4ffc63,_0x2e4bde));}['setViewFieldOrder'](_0x11cc6d,_0x3bc9dd,_0x4e72d5,_0x1219c9,_0x5e74db){const _0x102f7e=_0xff19e8;this[_0x102f7e(0x18d)](_0x11cc6d,this[_0x102f7e(0x3d8)][_0x102f7e(0x3d2)](_0x11cc6d[_0x102f7e(0x219)](),_0x3bc9dd,_0x4e72d5,_0x1219c9,_0x5e74db));}[_0xff19e8(0x18d)](_0x30c2c3,_0x301d29){const _0x4b3140=_0xff19e8;let _0x57e0f7=_0x30c2c3[_0x4b3140(0x219)]();_0x30c2c3[_0x4b3140(0x229)](this[_0x4b3140(0x3a6)][_0x4b3140(0x119)](_0x57e0f7,_0x301d29));}[_0xff19e8(0x15e)](_0x18f4e7,_0xa30c3,_0xdbb240,_0x5911b1=this['_createNumberingAllocators'](_0x18f4e7['tables'][_0xa30c3])){const _0x38bc89=_0xff19e8;var _0x8bc230,_0x16da29,_0x51d15a,_0x2ec988;let _0x2c0a3a=_0x18f4e7[_0x38bc89(0x1ee)][_0xa30c3],_0x3dc252=(_0x8bc230=(_0x16da29=_0xdbb240[_0x38bc89(0x32d)])==null?_0xdbb240[_0x38bc89(0x111)]:_0x16da29)==null?this[_0x38bc89(0x2d9)]():_0x8bc230,_0x281307={..._0xdbb240,'createdBy':(_0x51d15a=_0xdbb240[_0x38bc89(0x32d)])==null?_0x3dc252:_0x51d15a,'updatedBy':(_0x2ec988=_0xdbb240[_0x38bc89(0x111)])==null?_0x3dc252:_0x2ec988,'values':{..._0xdbb240[_0x38bc89(0x19c)]}};return _0x2c0a3a['fieldOrder']['forEach'](_0x4b8686=>{const _0x177311=_0x38bc89;let _0x38451c=_0x2c0a3a['fields'][_0x4b8686];if(!(!_0x38451c||_0x38451c[_0x177311(0x3ad)]||_0x281307['values'][_0x4b8686]!==void 0x0))switch(_0x38451c[_0x177311(0x278)]){case _0x177311(0x2b3):var _0x2bba9b,_0x5155bd;_0x281307[_0x177311(0x19c)][_0x4b8686]=(_0x2bba9b=(_0x5155bd=_0x5911b1['get'](_0x4b8686))==null?void 0x0:_0x5155bd())==null?this['_createNumberingAllocator'](_0x2c0a3a,_0x4b8686)():_0x2bba9b;break;case _0x177311(0x32d):_0x281307['createdBy']&&(_0x281307[_0x177311(0x19c)][_0x4b8686]=_0x281307['createdBy']);break;case _0x177311(0x111):_0x281307[_0x177311(0x111)]&&(_0x281307[_0x177311(0x19c)][_0x4b8686]=_0x281307[_0x177311(0x111)]);break;case _0x177311(0x326):_0x281307[_0x177311(0x19c)][_0x4b8686]=T(_0x281307[_0x177311(0x326)]);break;case'updatedAt':_0x281307[_0x177311(0x19c)][_0x4b8686]=T(_0x281307[_0x177311(0x40e)]);break;default:{let _0x508720=_0x38451c[_0x177311(0x295)];_0x508720!=null&&_0x508720!==''&&!(Array[_0x177311(0x1b7)](_0x508720)&&_0x508720[_0x177311(0x42b)]===0x0)&&(_0x281307[_0x177311(0x19c)][_0x4b8686]=_0x508720);}}}),_0x281307;}[_0xff19e8(0x2aa)](_0x2a1599,_0x46526c,_0x2445f2,_0x3be4b1){const _0x46a4de=_0xff19e8;var _0x4f657f,_0x94351d,_0x1080ea;let _0x789a29=_0x2a1599[_0x46a4de(0x1ee)][_0x46526c],_0x3ece37=(_0x4f657f=(_0x94351d=(_0x1080ea=this[_0x46a4de(0x148)])[_0x46a4de(0x3e9)])==null?void 0x0:_0x94351d[_0x46a4de(0x234)](_0x1080ea))==null?Date['now']():_0x4f657f,_0x163810=this['_getCurrentUserId'](),_0x251579={..._0x3be4b1};return _0x789a29[_0x46a4de(0x187)][_0x46a4de(0x1a6)](_0x1993c8=>{const _0xdaf84a=_0x46a4de;let _0x99a884=_0x789a29[_0xdaf84a(0x307)][_0x1993c8];!_0x99a884||_0x99a884['deleted']||(_0x99a884[_0xdaf84a(0x278)]==='updatedAt'&&(_0x251579[_0x1993c8]=T(_0x3ece37)),_0x99a884[_0xdaf84a(0x278)]==='updatedBy'&&_0x163810&&(_0x251579[_0x1993c8]=_0x163810));}),{'recordId':_0x2445f2,'values':_0x251579,'recordPatch':{'updatedAt':_0x3ece37,..._0x163810?{'updatedBy':_0x163810}:{}}};}[_0xff19e8(0x233)](_0x1c0662,_0x294909,_0xbfeee){const _0x177ac6=_0xff19e8;let _0x375cfe=_0x1c0662['tables'][_0x294909];return!_0x375cfe||!Dt(_0xbfeee)?[]:_0xbfeee[_0x177ac6(0x278)]==='numbering'?this[_0x177ac6(0x10d)](_0x375cfe,_0xbfeee['id']):Object[_0x177ac6(0x19c)](_0x375cfe[_0x177ac6(0x2f3)])[_0x177ac6(0x1b3)](_0x581bc6=>!_0x581bc6['deleted'])[_0x177ac6(0x246)](_0x3de726=>{const _0x28af29=_0x177ac6;let _0x42d66e=this[_0x28af29(0x381)](_0xbfeee,_0x3de726);return _0x42d66e===void 0x0?[]:[{'recordId':_0x3de726['id'],'values':{[_0xbfeee['id']]:_0x42d66e}}];});}[_0xff19e8(0x381)](_0x3aee7a,_0x5004d3){const _0xbfdea6=_0xff19e8;switch(_0x3aee7a[_0xbfdea6(0x278)]){case _0xbfdea6(0x32d):var _0x124d9a;return(_0x124d9a=_0x5004d3[_0xbfdea6(0x32d)])==null?this[_0xbfdea6(0x2d9)]():_0x124d9a;case _0xbfdea6(0x111):var _0x463774;return(_0x463774=_0x5004d3[_0xbfdea6(0x111)])==null?this[_0xbfdea6(0x2d9)]():_0x463774;case'createdAt':var _0x1f4484;return T((_0x1f4484=_0x5004d3[_0xbfdea6(0x326)])==null?Date[_0xbfdea6(0x3e9)]():_0x1f4484);case'updatedAt':var _0x4fbed3;return T((_0x4fbed3=_0x5004d3[_0xbfdea6(0x40e)])==null?Date['now']():_0x4fbed3);default:return;}}[_0xff19e8(0x3b1)](_0x40fb70){const _0x1e4b42=_0xff19e8;let _0x4fa45d=new Map();return _0x40fb70&&_0x40fb70['fieldOrder'][_0x1e4b42(0x1a6)](_0x2a5c88=>{const _0xfeb445=_0x1e4b42;let _0x5a78f3=_0x40fb70[_0xfeb445(0x307)][_0x2a5c88];(_0x5a78f3==null?void 0x0:_0x5a78f3[_0xfeb445(0x278)])===_0xfeb445(0x2b3)&&!_0x5a78f3[_0xfeb445(0x3ad)]&&_0x4fa45d['set'](_0x2a5c88,this[_0xfeb445(0x183)](_0x40fb70,_0x2a5c88));}),_0x4fa45d;}['_createNumberingAllocator'](_0x8447f2,_0x38e219){const _0x3d1873=_0xff19e8;let _0x5a2082=Object[_0x3d1873(0x19c)](_0x8447f2[_0x3d1873(0x2f3)])[_0x3d1873(0x3af)]((_0x35d415,_0x5b6d12)=>{const _0x41d391=_0x3d1873;if(_0x5b6d12[_0x41d391(0x3ad)])return _0x35d415;let _0x42e997=Number(_0x5b6d12['values'][_0x38e219]);return Number[_0x41d391(0x21a)](_0x42e997)?Math['max'](_0x35d415,_0x42e997):_0x35d415;},0x0);return()=>String(++_0x5a2082);}[_0xff19e8(0x10d)](_0x5ab411,_0x853117){const _0x54e5e0=_0xff19e8;let _0x3bbca0=this[_0x54e5e0(0x33e)](_0x5ab411),_0xbbfc94=this[_0x54e5e0(0x183)](_0x5ab411,_0x853117);return _0x3bbca0['flatMap'](_0x4f49b1=>this['_isNonEmptyCellValue'](_0x4f49b1[_0x54e5e0(0x19c)][_0x853117])?[]:[{'recordId':_0x4f49b1['id'],'values':{[_0x853117]:_0xbbfc94()}}]);}[_0xff19e8(0x33e)](_0x48042c){const _0xffc143=_0xff19e8;var _0x4b7bb5;let _0x2d9892=Object[_0xffc143(0x19c)](_0x48042c[_0xffc143(0x2f3)])[_0xffc143(0x1b3)](_0x6568fa=>!_0x6568fa[_0xffc143(0x3ad)]),_0x3bfce4=new Map(_0x2d9892[_0xffc143(0x173)](_0x19e9a7=>[_0x19e9a7['id'],_0x19e9a7])),_0x809be2=[],_0x38de37=new Set();(_0x4b7bb5=_0x48042c[_0xffc143(0x279)])==null||_0x4b7bb5['forEach'](_0x50740f=>{const _0x351feb=_0xffc143;let _0x180637=_0x3bfce4[_0x351feb(0x2e7)](_0x50740f);_0x180637&&(_0x809be2['push'](_0x180637),_0x38de37[_0x351feb(0x138)](_0x50740f));});let _0x1c3ded=_0x2d9892[_0xffc143(0x1b3)](_0x3e3488=>!_0x38de37[_0xffc143(0x3d3)](_0x3e3488['id']))[_0xffc143(0x336)]((_0x54b4eb,_0x31584b)=>{const _0x273076=_0xffc143;var _0x6e32b1,_0x42e5e2;return String((_0x6e32b1=_0x54b4eb[_0x273076(0x3d9)])==null?_0x54b4eb['id']:_0x6e32b1)[_0x273076(0x317)](String((_0x42e5e2=_0x31584b[_0x273076(0x3d9)])==null?_0x31584b['id']:_0x42e5e2))||_0x54b4eb['id'][_0x273076(0x317)](_0x31584b['id']);});return[..._0x809be2,..._0x1c3ded];}[_0xff19e8(0x26e)](_0x981c12){const _0x17fa14=_0xff19e8;return _0x981c12!=null&&_0x981c12!==''&&!(Array[_0x17fa14(0x1b7)](_0x981c12)&&_0x981c12[_0x17fa14(0x42b)]===0x0);}['_getCurrentUserId'](){const _0x10f8bd=_0xff19e8;var _0x3c8522,_0x43e861,_0x49a300,_0x4c2e71,_0x19a7cb,_0x524448;return(_0x3c8522=(_0x43e861=(_0x49a300=(_0x4c2e71=this['_runtimeContext'])[_0x10f8bd(0x22f)])==null?void 0x0:_0x49a300[_0x10f8bd(0x234)](_0x4c2e71))==null?(_0x19a7cb=(_0x524448=this[_0x10f8bd(0x148)])['getCurrentUser'])==null||(_0x19a7cb=_0x19a7cb[_0x10f8bd(0x234)](_0x524448))==null?void 0x0:_0x19a7cb[_0x10f8bd(0x1e7)]:_0x43e861)==null?void 0x0:_0x3c8522;}[_0xff19e8(0x1f3)](_0x189440,_0x1aa398,_0x11b7bd,_0x201d36,_0x4638ef){const _0x4f9bd2=_0xff19e8;var _0x3ea765;if(!this[_0x4f9bd2(0x33b)][_0x4f9bd2(0x2e9)](_0x1aa398,_0x11b7bd,_0x201d36))throw Error(_0x4f9bd2(0x3f3));let _0x32d5e7=(_0x3ea765=_0x189440[_0x4f9bd2(0x1ee)][_0x1aa398])==null?void 0x0:_0x3ea765[_0x4f9bd2(0x307)][_0x201d36];if(!_0x32d5e7||_0x32d5e7['deleted'])throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x201d36+'\x22\x20does\x20not\x20exist.');let _0x3ebc12=this[_0x4f9bd2(0x334)]['get'](_0x32d5e7[_0x4f9bd2(0x278)]);if(_0x32d5e7[_0x4f9bd2(0x320)]||_0x32d5e7['system']||!_0x3ebc12[_0x4f9bd2(0x3d4)](_0x32d5e7)[_0x4f9bd2(0x2e0)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x57e314=_0x3ebc12[_0x4f9bd2(0x114)](_0x4638ef,_0x32d5e7),_0xf55811=_0x3ebc12[_0x4f9bd2(0x3a4)](_0x57e314,_0x32d5e7);if(!_0xf55811[_0x4f9bd2(0x274)]){var _0x1ca59c;throw Error((_0x1ca59c=_0xf55811[_0x4f9bd2(0x1ef)])==null?_0x4f9bd2(0x196):_0x1ca59c);}return _0x57e314;}};B=R([L(0x0,Ct),L(0x1,F)],B);function Et(){const _0x53ab5b=_0xff19e8;let _0x1acaf0=new St();return tt()['forEach'](_0x5093ef=>_0x1acaf0[_0x53ab5b(0x42d)](_0x5093ef)),_0x1acaf0;}function Dt(_0x36a3c3){const _0x1b2ece=_0xff19e8;return _0x36a3c3[_0x1b2ece(0x278)]===_0x1b2ece(0x2b3)||_0x36a3c3[_0x1b2ece(0x278)]===_0x1b2ece(0x32d)||_0x36a3c3['type']==='updatedBy'||_0x36a3c3[_0x1b2ece(0x278)]===_0x1b2ece(0x326)||_0x36a3c3[_0x1b2ece(0x278)]==='updatedAt';}const Ot=new Set([_0xff19e8(0x413),_0xff19e8(0x3b6),_0xff19e8(0x2d1)]);function kt(_0x1ee2d7){const _0x2c7978=_0xff19e8;var _0x2e17d2,_0x19af3d;let _0x46a8e4=_0x1ee2d7[_0x2c7978(0x307)][_0x1ee2d7[_0x2c7978(0x14f)]];return!(_0x46a8e4&&(_0x46a8e4[_0x2c7978(0x13a)]===!0x0||_0x46a8e4['id'][_0x2c7978(0x42a)]()==='id'||_0x46a8e4[_0x2c7978(0x302)][_0x2c7978(0x380)]()[_0x2c7978(0x42a)]()==='id'))&&_0x46a8e4&&!_0x46a8e4['deleted']?_0x46a8e4['id']:(_0x2e17d2=(_0x19af3d=_0x1ee2d7[_0x2c7978(0x187)][_0x2c7978(0x173)](_0x2b0c49=>_0x1ee2d7['fields'][_0x2b0c49])[_0x2c7978(0x2af)](_0x4b2888=>_0x4b2888&&!_0x4b2888[_0x2c7978(0x3ad)]&&_0x4b2888['id']!==_0x1ee2d7[_0x2c7978(0x14f)]))==null?void 0x0:_0x19af3d['id'])==null?_0x1ee2d7[_0x2c7978(0x14f)]:_0x2e17d2;}function V(_0x4084d8,_0x329502=[],_0x98ad55=0x5){const _0x540a84=_0xff19e8;let _0x32e4c0=new Set(_0x329502['filter'](_0x23fd79=>!!_0x23fd79)),_0x53731d=_0x4084d8[_0x540a84(0x187)][_0x540a84(0x246)](_0x2fa6af=>{const _0x57e989=_0x540a84;let _0x2e829b=_0x4084d8['fields'][_0x2fa6af];return _0x2e829b&&!_0x2e829b[_0x57e989(0x3ad)]&&!_0x32e4c0[_0x57e989(0x3d3)](_0x2e829b['id'])?[_0x2e829b]:[];}),_0x59bcca=_0x53731d[_0x540a84(0x1b3)](_0x54571b=>Ot[_0x540a84(0x3d3)](_0x54571b[_0x540a84(0x278)])),_0x3ca914=_0x53731d[_0x540a84(0x1b3)](_0x3b2abe=>!Ot[_0x540a84(0x3d3)](_0x3b2abe[_0x540a84(0x278)]));return[..._0x59bcca,..._0x3ca914][_0x540a84(0x3f0)](0x0,_0x98ad55)[_0x540a84(0x173)](_0x234d50=>_0x234d50['id']);}function At(){const _0x33dae9=_0xff19e8;return[{'type':'grid','i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x33dae9(0x2f8),'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x594365=>{const _0x2f1f07=_0x33dae9;let _0x22ff4e=jt(_0x594365);return{'groupFieldId':_0x22ff4e,'coverFieldId':null,'cardLayout':_0x2f1f07(0x1de),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x594365['primaryFieldId'],'fieldIds':V(_0x594365,[_0x594365[_0x2f1f07(0x14f)],_0x22ff4e])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x33dae9(0x240),'i18nKey':_0x33dae9(0x2e5),'createDefaultConfig':_0x38eee5=>{const _0x470716=_0x33dae9;let _0x4fcc48=Mt(_0x38eee5);return{'startDateFieldId':_0x4fcc48,'endDateFieldId':Nt(_0x38eee5,_0x4fcc48),'titleFieldId':_0x38eee5[_0x470716(0x14f)],'mode':_0x470716(0x238),'timeslotSize':_0x470716(0x3c3),'timeZone':'local','displayColor':{'type':'custom','color':_0x470716(0x17c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':'gantt','i18nKey':_0x33dae9(0x194),'createDefaultConfig':_0x533008=>{const _0x42e737=_0x33dae9;var _0x40aeb0;let _0x30da55=Mt(_0x533008);return{'startDateFieldId':_0x30da55,'endDateFieldId':(_0x40aeb0=Nt(_0x533008,_0x30da55))==null?_0x30da55:_0x40aeb0,'titleFieldId':_0x533008['primaryFieldId'],'scale':_0x42e737(0x238),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x42e737(0x1d9)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3bcb58=_0x33dae9;throw Error(_0x3bcb58(0x1df));}},{'type':_0x33dae9(0x17f),'i18nKey':_0x33dae9(0x39b),'createDefaultConfig':_0x5d2b2b=>{const _0x2d748f=_0x33dae9;let _0x31ccc1=kt(_0x5d2b2b);return{'coverFieldId':null,'cardLayout':_0x2d748f(0x1de),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x31ccc1,'coverFieldId':null,'fieldIds':V(_0x5d2b2b,[_0x31ccc1,_0x5d2b2b['primaryFieldId']])},'cardSize':_0x2d748f(0x3c3)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4e234f=_0x33dae9;throw Error(_0x4e234f(0x31c));}}];}function jt(_0x1fced4){const _0x174a31=_0xff19e8;var _0x224e8e,_0x4d391f,_0x7b499e,_0x135372,_0x28117b,_0x5e1fac;let _0x1dd4ca=_0x1fced4[_0x174a31(0x187)][_0x174a31(0x173)](_0x4b5afb=>_0x1fced4[_0x174a31(0x307)][_0x4b5afb])['filter'](_0x36942f=>!!_0x36942f&&!_0x36942f[_0x174a31(0x3ad)]);return(_0x224e8e=(_0x4d391f=(_0x7b499e=(_0x135372=_0x1dd4ca[_0x174a31(0x2af)](_0x457b61=>_0x457b61['type']===_0x174a31(0x1ad)||_0x457b61['type']==='multiSelect'||_0x457b61[_0x174a31(0x278)]===_0x174a31(0x163)))==null?void 0x0:_0x135372['id'])==null?(_0x28117b=_0x1dd4ca['find'](_0x582aeb=>_0x582aeb[_0x174a31(0x278)]===_0x174a31(0x2c4)))==null?void 0x0:_0x28117b['id']:_0x7b499e)==null?(_0x5e1fac=_0x1dd4ca[_0x174a31(0x2af)](_0x36be02=>_0x36be02[_0x174a31(0x278)]===_0x174a31(0x38a)||_0x36be02[_0x174a31(0x278)]===_0x174a31(0x326)||_0x36be02['type']===_0x174a31(0x40e)))==null?void 0x0:_0x5e1fac['id']:_0x4d391f)==null?_0x1fced4[_0x174a31(0x14f)]:_0x224e8e;}function Mt(_0x921adb){const _0x32c77e=_0xff19e8;var _0x20bbaa,_0x5b46d7;return(_0x20bbaa=(_0x5b46d7=_0x921adb['fieldOrder'][_0x32c77e(0x173)](_0x11ba4b=>_0x921adb['fields'][_0x11ba4b])['find'](Pt))==null?void 0x0:_0x5b46d7['id'])==null?'':_0x20bbaa;}function Nt(_0x23f4ab,_0x451bd2){const _0x5d7efc=_0xff19e8;var _0x2fa0a1;return(_0x2fa0a1=_0x23f4ab['fieldOrder'][_0x5d7efc(0x173)](_0x4cf697=>_0x23f4ab[_0x5d7efc(0x307)][_0x4cf697])[_0x5d7efc(0x2af)](_0x1760c7=>Pt(_0x1760c7)&&_0x1760c7['id']!==_0x451bd2))==null?void 0x0:_0x2fa0a1['id'];}function Pt(_0x25a4f4){const _0x4981fd=_0xff19e8;return!!_0x25a4f4&&!_0x25a4f4[_0x4981fd(0x3ad)]&&_0x25a4f4[_0x4981fd(0x278)]===_0x4981fd(0x38a)&&_0x25a4f4[_0x4981fd(0x320)]!==!0x0&&_0x25a4f4[_0x4981fd(0x13a)]!==!0x0;}const Ft=(0x0,e[_0xff19e8(0x3cd)])(_0xff19e8(0x418)),It=new Set([_0xff19e8(0x2c2),'currency',_0xff19e8(0x413),'rating',_0xff19e8(0x38a),_0xff19e8(0x326),_0xff19e8(0x40e),_0xff19e8(0x2d1)]);let Lt=class extends e[_0xff19e8(0x1ec)]{constructor(_0x505299){const _0x3f1e18=_0xff19e8;super(),this[_0x3f1e18(0x334)]=_0x505299,P(this,'_views',new Map()),P(this,_0x3f1e18(0x323),new WeakMap()),P(this,'_projectedRowsCache',new Map()),P(this,_0x3f1e18(0x3df),new Map()),P(this,_0x3f1e18(0x23f),new Map()),P(this,_0x3f1e18(0x2f2),0x0),P(this,_0x3f1e18(0x3b4),new Map()),P(this,'_cellRevisions',new Map()),P(this,_0x3f1e18(0x1f8),new Map()),P(this,_0x3f1e18(0x1d7),new Map());}[_0xff19e8(0x2db)](_0x2c928d){const _0x28b0ac=_0xff19e8;return this['_views']['set'](_0x2c928d['type'],_0x2c928d),(0x0,e[_0x28b0ac(0x42f)])(()=>this[_0x28b0ac(0x338)][_0x28b0ac(0x21e)](_0x2c928d['type']));}[_0xff19e8(0x222)](_0xfff312,_0x4d1c26,_0x174e61){const _0x8e3cdf=_0xff19e8;var _0xc4010a,_0x3f4eb3,_0x1a1743,_0x305856,_0x5b8323;return o(_0x8e3cdf(0x1b8),()=>{const _0x11d00d=_0x8e3cdf;let _0x92e80d=this[_0x11d00d(0x1a1)](_0xfff312,_0x4d1c26,_0x174e61);if(_0x92e80d)return _0x92e80d;let _0x4f6100=_0xfff312[_0x11d00d(0x1ee)][_0x4d1c26],_0x3ad01d=_0x4f6100==null?void 0x0:_0x4f6100[_0x11d00d(0x2f9)][_0x174e61];if(!_0x4f6100||!_0x3ad01d||_0x4f6100[_0x11d00d(0x3ad)]||_0x3ad01d['deleted']){var _0x414813;return this['_setCachedProjection'](_0xfff312,_0x4d1c26,_0x174e61,{'type':_0x11d00d(0x28b),'viewType':(_0x414813=_0x3ad01d==null?void 0x0:_0x3ad01d['type'])==null?'grid':_0x414813,'reason':_0x11d00d(0x2b1)});}let _0x1977c5;switch(_0x3ad01d[_0x11d00d(0x278)]){case'grid':_0x1977c5=this[_0x11d00d(0x121)](_0x4f6100,_0x3ad01d);break;case _0x11d00d(0x310):_0x1977c5=this[_0x11d00d(0x39f)](_0x4f6100,_0x3ad01d);break;case _0x11d00d(0x2f8):_0x1977c5=this[_0x11d00d(0x25b)](_0x4f6100,_0x3ad01d);break;case _0x11d00d(0x240):_0x1977c5=this['_buildCalendar'](_0x4f6100,_0x3ad01d);break;case _0x11d00d(0x17f):_0x1977c5=this['_buildGallery'](_0x4f6100,_0x3ad01d);break;default:_0x1977c5={'type':_0x11d00d(0x28b),'viewType':_0x3ad01d[_0x11d00d(0x278)],'reason':_0x11d00d(0x2b1)};}return this['_setCachedProjection'](_0xfff312,_0x4d1c26,_0x174e61,_0x1977c5);},{'tableId':_0x4d1c26,'viewId':_0x174e61,'viewType':(_0xc4010a=_0xfff312[_0x8e3cdf(0x1ee)][_0x4d1c26])==null||(_0xc4010a=_0xc4010a[_0x8e3cdf(0x2f9)][_0x174e61])==null?void 0x0:_0xc4010a[_0x8e3cdf(0x278)],'records':(_0x3f4eb3=(_0x1a1743=_0xfff312[_0x8e3cdf(0x1ee)][_0x4d1c26])==null||(_0x1a1743=_0x1a1743[_0x8e3cdf(0x279)])==null?void 0x0:_0x1a1743[_0x8e3cdf(0x42b)])==null?Object['keys']((_0x305856=(_0x5b8323=_0xfff312[_0x8e3cdf(0x1ee)][_0x4d1c26])==null?void 0x0:_0x5b8323[_0x8e3cdf(0x2f3)])==null?{}:_0x305856)[_0x8e3cdf(0x42b)]:_0x3f4eb3});}['repairViewConfig'](_0x43d568,_0x5ddeab,_0x38b627){const _0x2bbc04=_0xff19e8;var _0x1598c2,_0x47db57,_0x5dde37,_0x5e7cf1;let _0x166d26=_0x43d568[_0x2bbc04(0x1ee)][_0x5ddeab],_0x52a23d=_0x166d26==null?void 0x0:_0x166d26['views'][_0x38b627];if(!_0x166d26||!_0x52a23d)throw Error(_0x2bbc04(0x293)+_0x38b627+'\x22.');let _0x5af38f=_0x39f30a=>{const _0x101800=_0x2bbc04;let _0x5cefc9=_0x166d26[_0x101800(0x307)][_0x39f30a];return!!_0x5cefc9&&!_0x5cefc9[_0x101800(0x3ad)];},_0x2c5c7e={..._0x52a23d,'filter':_0x52a23d[_0x2bbc04(0x1b3)]?{..._0x52a23d[_0x2bbc04(0x1b3)],'conditions':_0x52a23d['filter'][_0x2bbc04(0x3f6)][_0x2bbc04(0x1b3)](_0x2a9cdb=>_0x5af38f(_0x2a9cdb[_0x2bbc04(0x3c2)]))}:_0x52a23d['filter'],'sort':(_0x1598c2=_0x52a23d[_0x2bbc04(0x336)])==null?void 0x0:_0x1598c2[_0x2bbc04(0x1b3)](_0x4183fc=>_0x5af38f(_0x4183fc[_0x2bbc04(0x3c2)])),'group':(_0x47db57=_0x52a23d[_0x2bbc04(0x163)])==null?void 0x0:_0x47db57[_0x2bbc04(0x1b3)](_0x5c604e=>_0x5af38f(_0x5c604e[_0x2bbc04(0x3c2)])),'fieldOrder':(_0x5dde37=_0x52a23d['fieldOrder'])==null?void 0x0:_0x5dde37[_0x2bbc04(0x1b3)](_0x5af38f),'fieldSettings':Object[_0x2bbc04(0x143)](Object['entries']((_0x5e7cf1=_0x52a23d[_0x2bbc04(0x2f4)])==null?{}:_0x5e7cf1)['filter'](([_0x27fa56])=>_0x5af38f(_0x27fa56)))};if(_0x2c5c7e[_0x2bbc04(0x278)]===_0x2bbc04(0x2f8)){var _0x12deb6,_0x275c0b,_0x1755ad,_0x266c01;let _0x281f3b=(_0x12deb6=_0x2c5c7e['config'])==null?{}:_0x12deb6,_0x45d3a3=this['_resolveKanbanGroupFieldId'](_0x166d26,_0x2c5c7e);_0x2c5c7e[_0x2bbc04(0x412)]={..._0x281f3b,'groupFieldId':_0x45d3a3==null?_0x281f3b[_0x2bbc04(0x3f2)]:_0x45d3a3,'coverFieldId':this[_0x2bbc04(0x3f7)](_0x166d26,_0x281f3b),'cardLayout':_0x281f3b[_0x2bbc04(0x190)]===_0x2bbc04(0x2fa)?_0x2bbc04(0x2fa):'normal','showFieldNames':_0x281f3b[_0x2bbc04(0x166)]!==!0x1,'fieldSettings':Object[_0x2bbc04(0x143)](Object[_0x2bbc04(0x29f)]((_0x275c0b=_0x281f3b['fieldSettings'])==null?{}:_0x275c0b)[_0x2bbc04(0x1b3)](([_0x558d20])=>_0x5af38f(_0x558d20))),'columnSettings':(_0x1755ad=_0x281f3b[_0x2bbc04(0x23a)])==null?{}:_0x1755ad,'card':{...(_0x266c01=_0x281f3b[_0x2bbc04(0x2a9)])==null?{}:_0x266c01,'fieldIds':this[_0x2bbc04(0x179)](_0x166d26,_0x2c5c7e,_0x45d3a3==null?'':_0x45d3a3)}};}return{'repaired':JSON[_0x2bbc04(0x18b)](_0x2c5c7e)!==JSON['stringify'](_0x52a23d),'view':_0x2c5c7e};}[_0xff19e8(0x3bd)](){const _0x583642=_0xff19e8;this[_0x583642(0x2f2)]++;}[_0xff19e8(0x422)](_0x329d3e,_0x5eb015,_0x3247bc){const _0xf09d6e=_0xff19e8;var _0x1240f5;let _0x5a00aa=this['_getCellRevision'](_0x329d3e)+0x1;this['_cellRevisions']['set'](_0x329d3e,_0x5a00aa);let _0x245c2e=(_0x1240f5=this[_0xf09d6e(0x1f8)][_0xf09d6e(0x2e7)](_0x329d3e))==null?[]:_0x1240f5;_0x245c2e['push']({'revision':_0x5a00aa,'recordId':_0x5eb015,'fieldId':_0x3247bc}),this[_0xf09d6e(0x1f8)][_0xf09d6e(0x37d)](_0x329d3e,_0x245c2e);}[_0xff19e8(0x41d)](_0x17ce01,_0x16faa8){const _0x55a5c2=_0xff19e8;this[_0x55a5c2(0x1b1)](_0x17ce01);}[_0xff19e8(0x11b)](_0x113621,_0x25b1b1){const _0x257ba8=_0xff19e8;this[_0x257ba8(0x1d7)]['set'](this['_viewRevisionKey'](_0x113621,_0x25b1b1),this[_0x257ba8(0x180)](_0x113621,_0x25b1b1)+0x1);}[_0xff19e8(0x1a1)](_0x8b26d8,_0x443f1e,_0x5afb31){const _0x85933d=_0xff19e8;var _0x3474ed;let _0x5b2f1b=(_0x3474ed=this[_0x85933d(0x323)][_0x85933d(0x2e7)](_0x8b26d8))==null?void 0x0:_0x3474ed[_0x85933d(0x2e7)](this[_0x85933d(0x14b)](_0x443f1e,_0x5afb31));return _0x5b2f1b&&_0x5b2f1b[_0x85933d(0x195)]===this[_0x85933d(0x2f2)]&&_0x5b2f1b[_0x85933d(0x372)]===this['_getTableRevision'](_0x443f1e)&&_0x5b2f1b[_0x85933d(0x2d0)]===this['_getCellRevision'](_0x443f1e)&&_0x5b2f1b[_0x85933d(0x2cd)]===this[_0x85933d(0x180)](_0x443f1e,_0x5afb31)?_0x5b2f1b[_0x85933d(0x26f)]:null;}[_0xff19e8(0x18e)](_0x4074c8,_0x4ac7ea,_0x3999f8,_0x578874){const _0x559578=_0xff19e8;let _0x5f4788=this[_0x559578(0x323)]['get'](_0x4074c8);return _0x5f4788||(_0x5f4788=new Map(),this['_projectionCache'][_0x559578(0x37d)](_0x4074c8,_0x5f4788)),_0x5f4788[_0x559578(0x37d)](this[_0x559578(0x14b)](_0x4ac7ea,_0x3999f8),{'projection':_0x578874,'globalRevision':this[_0x559578(0x2f2)],'tableRevision':this[_0x559578(0x19f)](_0x4ac7ea),'cellRevision':this[_0x559578(0x118)](_0x4ac7ea),'viewRevision':this[_0x559578(0x180)](_0x4ac7ea,_0x3999f8)}),_0x578874;}[_0xff19e8(0x1b1)](_0x2a1ae1){const _0x1fa915=_0xff19e8;this[_0x1fa915(0x3b4)][_0x1fa915(0x37d)](_0x2a1ae1,this[_0x1fa915(0x19f)](_0x2a1ae1)+0x1);}['_getTableRevision'](_0xdb2119){const _0x3ef65f=_0xff19e8;var _0x268cac;return(_0x268cac=this[_0x3ef65f(0x3b4)]['get'](_0xdb2119))==null?0x0:_0x268cac;}[_0xff19e8(0x118)](_0x155c8a){const _0x249f46=_0xff19e8;var _0x18f7b8;return(_0x18f7b8=this[_0x249f46(0x15b)]['get'](_0x155c8a))==null?0x0:_0x18f7b8;}['_getViewRevision'](_0xf2710c,_0x1c7a01){var _0x5cda36;return(_0x5cda36=this['_viewRevisions']['get'](this['_viewRevisionKey'](_0xf2710c,_0x1c7a01)))==null?0x0:_0x5cda36;}[_0xff19e8(0x14b)](_0x2dde2b,_0x561a3c){return _0x2dde2b+'\x00'+_0x561a3c;}[_0xff19e8(0x24b)](_0x35f974,_0x4f1e1f){return _0x35f974+'\x00'+this['_rowTransformCacheSegment'](_0x4f1e1f);}[_0xff19e8(0x39c)](_0x472941,_0x44e0f1,_0x5bd74f){const _0x3f7e73=_0xff19e8;return _0x472941+'\x00'+this[_0x3f7e73(0x386)](_0x44e0f1)+'\x00'+this['_groupConfigCacheSegment'](_0x5bd74f);}[_0xff19e8(0x386)](_0x5dad70){const _0x35246a=_0xff19e8;return _0x5dad70?Ut({'filter':Vt(_0x5dad70[_0x35246a(0x1b3)]),'sort':Ht(_0x5dad70[_0x35246a(0x336)])}):_0x35246a(0x1f4);}[_0xff19e8(0x27e)](_0x268d84){const _0x590f83=_0xff19e8;return Ut(_0x268d84[_0x590f83(0x173)](_0x2c6640=>{const _0x5570a0=_0x590f83;var _0x28eb75;return{'fieldId':_0x2c6640[_0x5570a0(0x3c2)],'direction':(_0x28eb75=_0x2c6640[_0x5570a0(0x185)])==null?null:_0x28eb75};}));}[_0xff19e8(0x34c)](_0x1f1636,_0xe98314){return _0x1f1636+'\x00'+_0xe98314;}[_0xff19e8(0x121)](_0xd103c7,_0x57c90d){const _0x5567ca=_0xff19e8;let _0x9fc9bd=this[_0x5567ca(0x312)](_0xd103c7,_0x57c90d);return{'type':_0x5567ca(0x208),'fields':this[_0x5567ca(0x32b)](_0xd103c7,_0x57c90d),'rows':_0x9fc9bd,'groups':this[_0x5567ca(0x433)](_0xd103c7,_0x57c90d,_0x9fc9bd),'frozenFieldCount':typeof _0x57c90d[_0x5567ca(0x412)][_0x5567ca(0x22b)]==_0x5567ca(0x2c2)?_0x57c90d[_0x5567ca(0x412)][_0x5567ca(0x22b)]:0x0};}['_buildKanban'](_0x353e63,_0x12c0fe){const _0x5a4746=_0xff19e8;var _0x4628b1;let _0xa4795a=this['_resolveKanbanGroupFieldId'](_0x353e63,_0x12c0fe),_0x4f890b=_0xa4795a?_0x353e63['fields'][_0xa4795a]:void 0x0;if(!_0x4f890b||_0x4f890b[_0x5a4746(0x3ad)])return{'type':_0x5a4746(0x28b),'viewType':_0x5a4746(0x2f8),'reason':_0x5a4746(0x297),'fieldId':_0x12c0fe['config'][_0x5a4746(0x3f2)]};let _0x1e4790=this[_0x5a4746(0x312)](_0x353e63,_0x12c0fe),_0x2e8de2=this[_0x5a4746(0x32b)](_0x353e63,_0x12c0fe),_0xc81bc5=(_0x4628b1=_0x12c0fe[_0x5a4746(0x412)])==null?{}:_0x4628b1,_0x9047ba=this[_0x5a4746(0x179)](_0x353e63,_0x12c0fe,_0x4f890b['id']),_0x3df06d=new Map();return this[_0x5a4746(0x3fc)](_0x4f890b,_0xc81bc5)[_0x5a4746(0x1a6)](_0x3c1930=>_0x3df06d[_0x5a4746(0x37d)](_0x3c1930[_0x5a4746(0x2a5)],{..._0x3c1930,'recordIds':[]})),_0x1e4790[_0x5a4746(0x1a6)](_0x4fe91c=>{const _0x479a08=_0x5a4746;this['_kanbanGroupKeys'](_0x4f890b,_0x4fe91c[_0x479a08(0x19c)][_0x4f890b['id']])[_0x479a08(0x1a6)](_0x475e3f=>{const _0x59b34c=_0x479a08;let _0xae9564=_0x3df06d[_0x59b34c(0x2e7)](_0x475e3f),_0x1db763=_0xae9564==null?{'key':_0x475e3f,'title':this[_0x59b34c(0x24d)](_0x4f890b,_0x475e3f,_0xc81bc5),'color':this[_0x59b34c(0x186)](_0x4f890b,_0x475e3f,_0xc81bc5),'recordIds':[]}:_0xae9564;_0x1db763[_0x59b34c(0x12a)]['push'](_0x4fe91c[_0x59b34c(0x379)]),_0x3df06d[_0x59b34c(0x37d)](_0x475e3f,_0x1db763);});}),{'type':_0x5a4746(0x2f8),'fields':_0x2e8de2,'rows':_0x1e4790,'groups':this[_0x5a4746(0x433)](_0x353e63,_0x12c0fe,_0x1e4790),'groupFieldId':_0x4f890b['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x353e63,_0xc81bc5),'cardLayout':_0xc81bc5[_0x5a4746(0x190)]===_0x5a4746(0x2fa)?_0x5a4746(0x2fa):_0x5a4746(0x1de),'showFieldNames':_0xc81bc5[_0x5a4746(0x166)]!==!0x1,'visibleCardFieldIds':_0x9047ba,'lanes':Array[_0x5a4746(0x170)](_0x3df06d[_0x5a4746(0x19c)]())};}['_resolveKanbanGroupFieldId'](_0x368cb4,_0x3717cb){const _0xc99897=_0xff19e8;var _0x1b24ab;let _0xe8f29a=(_0x1b24ab=_0x3717cb[_0xc99897(0x412)])==null?void 0x0:_0x1b24ab[_0xc99897(0x3f2)];return _0xe8f29a&&this[_0xc99897(0x1b2)](_0x368cb4,_0xe8f29a)?_0xe8f29a:this[_0xc99897(0x255)](_0x368cb4,_0x323a30=>this[_0xc99897(0x133)](_0x323a30));}[_0xff19e8(0x255)](_0x31911c,_0x179ba5){const _0x2d129a=_0xff19e8;for(let _0x5ec7d6 of _0x31911c['fieldOrder']){let _0x4ca475=_0x31911c['fields'][_0x5ec7d6];if(_0x4ca475&&!_0x4ca475[_0x2d129a(0x3ad)]&&_0x179ba5(_0x4ca475))return _0x4ca475['id'];}return null;}[_0xff19e8(0x1b2)](_0x448f53,_0x58413c){const _0x4ae835=_0xff19e8;let _0x518ba3=_0x448f53[_0x4ae835(0x307)][_0x58413c];return this[_0x4ae835(0x133)](_0x518ba3);}[_0xff19e8(0x133)](_0xda7bc1){const _0xd86a1c=_0xff19e8;return!!_0xda7bc1&&!_0xda7bc1[_0xd86a1c(0x3ad)]&&(_0xda7bc1[_0xd86a1c(0x278)]===_0xd86a1c(0x1ad)||_0xda7bc1[_0xd86a1c(0x278)]==='multiSelect'||_0xda7bc1[_0xd86a1c(0x278)]===_0xd86a1c(0x3b6)||_0xda7bc1[_0xd86a1c(0x278)]===_0xd86a1c(0x28d)||_0xda7bc1[_0xd86a1c(0x278)]===_0xd86a1c(0x163)||_0xda7bc1[_0xd86a1c(0x278)]===_0xd86a1c(0x2d1));}[_0xff19e8(0x13d)](_0x2fef08){const _0x54af35=_0xff19e8;return _0x2fef08[_0x54af35(0x278)]===_0x54af35(0x1ad)||_0x2fef08['type']===_0x54af35(0x230);}[_0xff19e8(0x3f7)](_0x39cd31,_0x265b7d){const _0x4f2917=_0xff19e8;var _0x4a8faf,_0x1c6e0f,_0x447d47;let _0x3ebc08=(_0x4a8faf=(_0x1c6e0f=_0x265b7d[_0x4f2917(0x3be)])==null?(_0x447d47=_0x265b7d[_0x4f2917(0x2a9)])==null?void 0x0:_0x447d47[_0x4f2917(0x3be)]:_0x1c6e0f)==null?null:_0x4a8faf;if(!_0x3ebc08)return null;let _0xfea055=_0x39cd31['fields'][_0x3ebc08];return _0xfea055&&!_0xfea055[_0x4f2917(0x3ad)]&&this['_capabilities'](_0xfea055)[_0x4f2917(0x156)]?_0xfea055['id']:null;}[_0xff19e8(0x179)](_0x109e29,_0x33d8f8,_0x14c65d){const _0x218582=_0xff19e8;var _0x870a5f,_0x52963b,_0x1096a1;let _0x270581=(_0x870a5f=_0x33d8f8[_0x218582(0x412)])==null?{}:_0x870a5f,_0x20c7d8=!((_0x52963b=_0x270581[_0x218582(0x2a9)])==null||(_0x52963b=_0x52963b[_0x218582(0x15a)])==null)&&_0x52963b[_0x218582(0x42b)]?_0x270581['card'][_0x218582(0x15a)]:V(_0x109e29,[_0x109e29[_0x218582(0x14f)],_0x14c65d]),_0x19175f=(_0x1096a1=_0x270581[_0x218582(0x2f4)])==null?{}:_0x1096a1;return _0x20c7d8[_0x218582(0x1b3)](_0x27e878=>{const _0x3f9ef6=_0x218582;var _0x1b9a48,_0x16cb3c;let _0x1a8c8d=_0x109e29['fields'][_0x27e878];return!(!_0x1a8c8d||_0x1a8c8d[_0x3f9ef6(0x3ad)]||_0x1a8c8d['id']===_0x14c65d||!((_0x1b9a48=_0x33d8f8['fieldSettings'])==null||(_0x1b9a48=_0x1b9a48[_0x27e878])==null)&&_0x1b9a48['hidden']||(_0x16cb3c=_0x19175f[_0x27e878])!=null&&_0x16cb3c[_0x3f9ef6(0x435)]);})[_0x218582(0x336)]((_0x80da78,_0x16b6b7)=>{const _0x49dfa5=_0x218582;var _0x29ef09,_0x1fed3c,_0x136fac,_0x26391c;return((_0x29ef09=(_0x1fed3c=_0x19175f[_0x80da78])==null?void 0x0:_0x1fed3c[_0x49dfa5(0x327)])==null?_0x20c7d8[_0x49dfa5(0x168)](_0x80da78):_0x29ef09)-((_0x136fac=(_0x26391c=_0x19175f[_0x16b6b7])==null?void 0x0:_0x26391c[_0x49dfa5(0x327)])==null?_0x20c7d8[_0x49dfa5(0x168)](_0x16b6b7):_0x136fac);});}['_getKanbanConfiguredLanes'](_0x313cf7,_0x1dd5a0){const _0x1edfea=_0xff19e8;var _0x231d60,_0xd200de;let _0x28aeb5=(Array[_0x1edfea(0x1b7)]((_0x231d60=_0x313cf7[_0x1edfea(0x412)])==null?void 0x0:_0x231d60[_0x1edfea(0x30f)])?_0x313cf7[_0x1edfea(0x412)][_0x1edfea(0x30f)]:[])['flatMap']((_0x104dd9,_0x1a78bb)=>{const _0x20a7b0=_0x1edfea;var _0x301fbb,_0x13e53d,_0x52b8fe,_0x10d79c;if(_0x104dd9==null)return[];let _0x460462=typeof _0x104dd9==_0x20a7b0(0x149)?{'id':_0x104dd9,'name':_0x104dd9,'color':void 0x0}:_0x104dd9,_0x403f20=String((_0x301fbb=(_0x13e53d=_0x460462['id'])==null?_0x460462['name']:_0x13e53d)==null?_0x20a7b0(0x15f)+(_0x1a78bb+0x1):_0x301fbb);return[{'key':_0x403f20,'title':String((_0x52b8fe=(_0x10d79c=_0x460462[_0x20a7b0(0x302)])==null?_0x460462['id']:_0x10d79c)==null?_0x403f20:_0x52b8fe),'color':this['_kanbanLaneColor'](_0x313cf7,_0x403f20,_0x1dd5a0)}];});return Object[_0x1edfea(0x29f)]((_0xd200de=_0x1dd5a0[_0x1edfea(0x23a)])==null?{}:_0xd200de)[_0x1edfea(0x1a6)](([_0x1f8446,_0x34e3d9])=>{const _0x13cca5=_0x1edfea;var _0xe0bfcf;_0x28aeb5[_0x13cca5(0x2c3)](_0x2eb8bc=>_0x2eb8bc[_0x13cca5(0x2a5)]===_0x1f8446)||_0x28aeb5[_0x13cca5(0x36d)]({'key':_0x1f8446,'title':this[_0x13cca5(0x13d)](_0x313cf7)?(_0xe0bfcf=_0x34e3d9[_0x13cca5(0x2f1)])==null?this['_kanbanLaneTitle'](_0x313cf7,_0x1f8446,_0x1dd5a0):_0xe0bfcf:this['_kanbanLaneTitle'](_0x313cf7,_0x1f8446,_0x1dd5a0),'color':this[_0x13cca5(0x186)](_0x313cf7,_0x1f8446,_0x1dd5a0)});}),_0x28aeb5;}[_0xff19e8(0x33a)](_0x482a02,_0x2b1cf3){const _0x1b6985=_0xff19e8;let _0xeb7eb4=_0x32deaa=>{const _0x44afd2=_0x3a38;var _0x79985,_0x75d1c3;let _0x90b3fb=_0x32deaa==null?'':String(_0x32deaa);return!_0x90b3fb||!this[_0x44afd2(0x13d)](_0x482a02)||(_0x79985=(_0x75d1c3=G(_0x482a02,_0x90b3fb))==null?void 0x0:_0x75d1c3['id'])==null?_0x90b3fb:_0x79985;};if(Array[_0x1b6985(0x1b7)](_0x2b1cf3)){let _0x384824=_0x2b1cf3[_0x1b6985(0x173)](_0xeb7eb4)[_0x1b6985(0x1b3)](_0x414d4f=>_0x414d4f!=='');return _0x384824[_0x1b6985(0x42b)]?_0x384824:[''];}return[_0xeb7eb4(_0x2b1cf3)];}[_0xff19e8(0x24d)](_0x29dfa8,_0x4a7fca,_0x274dfa){var _0x2e39ee;if(!_0x4a7fca)return'Uncategorized';let _0x311d08=G(_0x29dfa8,_0x4a7fca);return(_0x2e39ee=_0x311d08==null?void 0x0:_0x311d08['name'])==null?_0x4a7fca:_0x2e39ee;}[_0xff19e8(0x186)](_0x5766a3,_0x5b5544,_0x1d7478){const _0x5318a3=_0xff19e8;var _0x56e3b5;if(this[_0x5318a3(0x13d)](_0x5766a3))return(_0x56e3b5=G(_0x5766a3,_0x5b5544))==null?void 0x0:_0x56e3b5[_0x5318a3(0x29d)];}[_0xff19e8(0x214)](_0x93b0a9,_0x3dba52){const _0x2d9cda=_0xff19e8;var _0x57e307;let _0x1da249=this[_0x2d9cda(0x27f)](_0x93b0a9,(_0x57e307=_0x3dba52[_0x2d9cda(0x412)])==null?{}:_0x57e307),_0x15c561=_0x93b0a9['fields'][_0x1da249[_0x2d9cda(0x1c3)]];if(!_0x15c561||_0x15c561[_0x2d9cda(0x3ad)]||_0x15c561[_0x2d9cda(0x278)]!==_0x2d9cda(0x38a)||_0x15c561[_0x2d9cda(0x320)]===!0x0||_0x15c561[_0x2d9cda(0x13a)]===!0x0||!this[_0x2d9cda(0x264)](_0x15c561)[_0x2d9cda(0x2b8)])return{'type':'invalid','viewType':_0x2d9cda(0x240),'reason':_0x2d9cda(0x1e8),'fieldId':_0x1da249['startDateFieldId']};let _0x954616=_0x1da249[_0x2d9cda(0x3bf)]?_0x93b0a9[_0x2d9cda(0x307)][_0x1da249[_0x2d9cda(0x3bf)]]:void 0x0,_0x3f8900=this[_0x2d9cda(0x312)](_0x93b0a9,_0x3dba52);return{'type':_0x2d9cda(0x240),'config':_0x1da249,'fields':this[_0x2d9cda(0x32b)](_0x93b0a9,_0x3dba52),'rows':_0x3f8900,'groups':this[_0x2d9cda(0x433)](_0x93b0a9,_0x3dba52,_0x3f8900),'events':_0x3f8900[_0x2d9cda(0x246)](_0x345ec0=>{const _0x2661ab=_0x2d9cda;let _0x1aefd2=D(_0x345ec0['values'][_0x1da249[_0x2661ab(0x1c3)]]);if(!Number[_0x2661ab(0x21a)](_0x1aefd2))return[];let _0x3c9f47=_0x345ec0[_0x2661ab(0x19c)][_0x1da249['startDateFieldId']],_0x27c16d=_0x1da249[_0x2661ab(0x3bf)]==null?void 0x0:_0x345ec0['values'][_0x1da249[_0x2661ab(0x3bf)]],_0x19d4f1=_0x1da249[_0x2661ab(0x3bf)]==null?void 0x0:D(_0x27c16d),_0x47d4af=Number[_0x2661ab(0x21a)](_0x19d4f1)?_0x19d4f1:void 0x0;return[{'recordId':_0x345ec0[_0x2661ab(0x379)],'title':this['_title'](_0x93b0a9,_0x345ec0,_0x1da249[_0x2661ab(0x39e)]),'start':_0x1aefd2,'end':_0x47d4af,'color':this['_calendarEventColor'](_0x93b0a9,_0x345ec0,_0x1da249),'startMs':_0x1aefd2,'endMs':_0x47d4af,'allDay':this[_0x2661ab(0x16b)](_0x15c561,_0x954616,_0x3c9f47,_0x27c16d),'fieldValues':_0x345ec0[_0x2661ab(0x19c)]}];})};}[_0xff19e8(0x27f)](_0x395e57,_0x1f16e4){const _0x4e157b=_0xff19e8;var _0x9f8110,_0x18f66a;let _0x207592=this[_0x4e157b(0x33d)](_0x395e57,_0x1f16e4[_0x4e157b(0x1c3)]),_0x3ce373=_0x1f16e4[_0x4e157b(0x3bf)]&&this[_0x4e157b(0x129)](_0x395e57,_0x1f16e4['endDateFieldId'])?_0x1f16e4[_0x4e157b(0x3bf)]:(_0x9f8110=this[_0x4e157b(0x41c)](_0x395e57,_0x207592))==null?void 0x0:_0x9f8110,_0x56bd49=_0x1f16e4[_0x4e157b(0x39e)]&&_0x395e57[_0x4e157b(0x307)][_0x1f16e4[_0x4e157b(0x39e)]]&&!_0x395e57[_0x4e157b(0x307)][_0x1f16e4[_0x4e157b(0x39e)]][_0x4e157b(0x3ad)]?_0x1f16e4[_0x4e157b(0x39e)]:_0x395e57['primaryFieldId'],_0x2b69f6=_0x1f16e4[_0x4e157b(0x3ed)]===_0x4e157b(0x2dc)||_0x1f16e4[_0x4e157b(0x3ed)]===_0x4e157b(0x1ab)?_0x1f16e4[_0x4e157b(0x3ed)]:_0x4e157b(0x238),_0x2f5b68=_0x1f16e4[_0x4e157b(0x20c)]===_0x4e157b(0x438)||_0x1f16e4[_0x4e157b(0x20c)]==='long'?_0x1f16e4['timeslotSize']:_0x4e157b(0x3c3),_0x483585=typeof _0x1f16e4[_0x4e157b(0x188)]==_0x4e157b(0x149)&&_0x1f16e4[_0x4e157b(0x188)]['trim']()?_0x1f16e4[_0x4e157b(0x188)]:_0x4e157b(0x363),_0x1d4dca=this[_0x4e157b(0x382)](_0x395e57,_0x1f16e4);return{..._0x1f16e4,'startDateFieldId':_0x207592,'endDateFieldId':_0x3ce373,'titleFieldId':_0x56bd49,'mode':_0x2b69f6,'timeslotSize':_0x2f5b68,'timeZone':_0x483585,'displayColor':_0x1d4dca,'fieldSettings':Object['fromEntries'](Object['entries']((_0x18f66a=_0x1f16e4[_0x4e157b(0x2f4)])==null?{}:_0x18f66a)[_0x4e157b(0x1b3)](([_0x41b784])=>{const _0x895195=_0x4e157b;let _0x11c90f=_0x395e57[_0x895195(0x307)][_0x41b784];return!!_0x11c90f&&!_0x11c90f[_0x895195(0x3ad)];}))};}[_0xff19e8(0x33d)](_0x43c13c,_0x3a4b09){var _0x2886d4,_0x37f6e6;return _0x3a4b09&&this['_isCalendarDateField'](_0x43c13c,_0x3a4b09)?_0x3a4b09:(_0x2886d4=(_0x37f6e6=this['_findCalendarDateFieldId'](_0x43c13c))==null?_0x3a4b09:_0x37f6e6)==null?'':_0x2886d4;}[_0xff19e8(0x41c)](_0x3cec56,_0x4c1699){const _0x22d8e7=_0xff19e8;for(let _0x436677 of _0x3cec56[_0x22d8e7(0x187)])if(_0x436677!==_0x4c1699&&this[_0x22d8e7(0x129)](_0x3cec56,_0x436677))return _0x436677;return null;}['_isCalendarDateField'](_0x98ee8b,_0x87d02a){const _0x689670=_0xff19e8;let _0x483506=_0x98ee8b[_0x689670(0x307)][_0x87d02a];return!!_0x483506&&!_0x483506[_0x689670(0x3ad)]&&_0x483506[_0x689670(0x278)]===_0x689670(0x38a)&&_0x483506[_0x689670(0x320)]!==!0x0&&_0x483506['system']!==!0x0&&this[_0x689670(0x264)](_0x483506)[_0x689670(0x2b8)];}[_0xff19e8(0x382)](_0x1c889e,_0x2c270c){const _0x1d930c=_0xff19e8;let _0x2e35d0=_0x2c270c[_0x1d930c(0x2a4)];if((_0x2e35d0==null?void 0x0:_0x2e35d0[_0x1d930c(0x278)])===_0x1d930c(0x399)){let _0x57cf7f=_0x1c889e[_0x1d930c(0x307)][_0x2e35d0[_0x1d930c(0x3c2)]];if(_0x57cf7f&&!_0x57cf7f['deleted']&&_0x57cf7f[_0x1d930c(0x278)]===_0x1d930c(0x1ad))return _0x2e35d0;}if((_0x2e35d0==null?void 0x0:_0x2e35d0[_0x1d930c(0x278)])===_0x1d930c(0x35a)&&typeof _0x2e35d0['color']==_0x1d930c(0x149)&&_0x2e35d0['color'][_0x1d930c(0x380)]())return{'type':_0x1d930c(0x35a),'color':_0x2e35d0['color']};if(_0x2c270c['colorFieldId']){let _0x5ddc2a=_0x1c889e[_0x1d930c(0x307)][_0x2c270c[_0x1d930c(0x329)]];if(_0x5ddc2a&&!_0x5ddc2a[_0x1d930c(0x3ad)]&&_0x5ddc2a[_0x1d930c(0x278)]===_0x1d930c(0x1ad))return{'type':_0x1d930c(0x399),'fieldId':_0x2c270c[_0x1d930c(0x329)]};}return{'type':_0x1d930c(0x35a),'color':_0x1d930c(0x17c)};}['_calendarEventColor'](_0x5a63a8,_0x49c4ec,_0x544a41){const _0x2c19b4=_0xff19e8;let _0x345dbe=_0x544a41[_0x2c19b4(0x2a4)];if((_0x345dbe==null?void 0x0:_0x345dbe[_0x2c19b4(0x278)])===_0x2c19b4(0x399)){var _0x3e8779;let _0x1e1f83=_0x5a63a8[_0x2c19b4(0x307)][_0x345dbe[_0x2c19b4(0x3c2)]];if(!_0x1e1f83||_0x1e1f83[_0x2c19b4(0x3ad)])return;let _0x25c676=_0x49c4ec[_0x2c19b4(0x19c)][_0x345dbe['fieldId']],_0x53a505=Array[_0x2c19b4(0x1b7)](_0x25c676)?_0x25c676[0x0]:_0x25c676;return _0x53a505==null||(_0x3e8779=G(_0x1e1f83,String(_0x53a505)))==null?void 0x0:_0x3e8779[_0x2c19b4(0x29d)];}if((_0x345dbe==null?void 0x0:_0x345dbe[_0x2c19b4(0x278)])===_0x2c19b4(0x35a))return _0x345dbe[_0x2c19b4(0x29d)];}[_0xff19e8(0x16b)](_0x1f0f6b,_0x1c4d1f,_0x4a6296,_0x2606b6){const _0x5f48b3=_0xff19e8;var _0x197bc8,_0x3ea18e;let _0x476c4d=((_0x197bc8=_0x1f0f6b[_0x5f48b3(0x412)])==null?void 0x0:_0x197bc8[_0x5f48b3(0x36f)])===!0x0,_0x39b1e4=(_0x1c4d1f==null||(_0x3ea18e=_0x1c4d1f['config'])==null?void 0x0:_0x3ea18e[_0x5f48b3(0x36f)])===!0x0;return!_0x476c4d&&!_0x39b1e4;}[_0xff19e8(0x3c7)](_0x82b35c,_0x40f5af){const _0x3df2ed=_0xff19e8;var _0x5b8aff,_0x416960;let _0x50c062=((_0x5b8aff=_0x82b35c['config'])==null?void 0x0:_0x5b8aff['includeTime'])===!0x0,_0x40ad51=((_0x416960=_0x40f5af[_0x3df2ed(0x412)])==null?void 0x0:_0x416960[_0x3df2ed(0x36f)])===!0x0;return!_0x50c062&&!_0x40ad51;}[_0xff19e8(0x39f)](_0x411beb,_0x5ed0ef){const _0x1ef466=_0xff19e8;let _0x4afb25=this[_0x1ef466(0x3ab)](_0x411beb,_0x5ed0ef['config']),_0x1960d4=_0x411beb['fields'][_0x4afb25[_0x1ef466(0x1c3)]];if(!_0x1960d4||_0x1960d4[_0x1ef466(0x3ad)]||_0x1960d4['type']!==_0x1ef466(0x38a)||_0x1960d4['readonly']===!0x0||_0x1960d4['system']===!0x0||!this[_0x1ef466(0x264)](_0x1960d4)['usableAsGanttStart'])return{'type':_0x1ef466(0x28b),'viewType':_0x1ef466(0x310),'reason':_0x1ef466(0x330),'fieldId':_0x4afb25[_0x1ef466(0x1c3)]};let _0x4299b5=_0x411beb[_0x1ef466(0x307)][_0x4afb25[_0x1ef466(0x3bf)]];if(!_0x4299b5||_0x4299b5[_0x1ef466(0x3ad)]||_0x4299b5[_0x1ef466(0x278)]!==_0x1ef466(0x38a)||_0x4299b5[_0x1ef466(0x320)]===!0x0||_0x4299b5[_0x1ef466(0x13a)]===!0x0||!this[_0x1ef466(0x264)](_0x4299b5)[_0x1ef466(0x256)])return{'type':'invalid','viewType':_0x1ef466(0x310),'reason':_0x1ef466(0x38d),'fieldId':_0x4afb25['endDateFieldId']};let _0x1e21a8=this[_0x1ef466(0x3c7)](_0x1960d4,_0x4299b5),_0x5cf719=this[_0x1ef466(0x312)](_0x411beb,_0x5ed0ef),_0x8b323b=_0x5cf719[_0x1ef466(0x246)](_0x1b3d7b=>{const _0x2bef4f=_0x1ef466;var _0x326569;let _0x25936b=D(_0x1b3d7b[_0x2bef4f(0x19c)][_0x4afb25[_0x2bef4f(0x1c3)]]),_0x2f7273=D(_0x1b3d7b[_0x2bef4f(0x19c)][_0x4afb25[_0x2bef4f(0x3bf)]]);if(!Number[_0x2bef4f(0x21a)](_0x25936b)||!Number[_0x2bef4f(0x21a)](_0x2f7273))return[];let _0x3dc6ae=Math[_0x2bef4f(0x155)](_0x25936b,_0x2f7273),_0x4ab237=Math[_0x2bef4f(0x331)](_0x25936b,_0x2f7273),_0x393c36=_0x4afb25[_0x2bef4f(0x26c)]==null?void 0x0:Number(_0x1b3d7b[_0x2bef4f(0x19c)][_0x4afb25[_0x2bef4f(0x26c)]]);return[{'recordId':_0x1b3d7b['recordId'],'title':this[_0x2bef4f(0x3ac)](_0x411beb,_0x1b3d7b,_0x4afb25[_0x2bef4f(0x39e)]),'start':_0x3dc6ae,'end':_0x4ab237,'color':this[_0x2bef4f(0x3dd)](_0x411beb,_0x1b3d7b,_0x4afb25),'progress':Number[_0x2bef4f(0x21a)](_0x393c36)?_0x393c36:void 0x0,'workingDayCount':_0x4afb25[_0x2bef4f(0x40c)]?$t(_0x3dc6ae,_0x4ab237,_0x4afb25[_0x2bef4f(0x120)]):void 0x0,'dependencyRecordIds':this[_0x2bef4f(0x2ed)](_0x1b3d7b[_0x2bef4f(0x19c)][(_0x326569=_0x4afb25[_0x2bef4f(0x36e)])==null?'':_0x326569])}];}),_0x4a3b24=_0x8b323b['length']?U(Math[_0x1ef466(0x155)](..._0x8b323b[_0x1ef466(0x173)](_0x44e5c6=>_0x44e5c6[_0x1ef466(0x1f1)]))-0x5a*H):U(Date['now']()-0x5a*H),_0x477af6=_0x8b323b[_0x1ef466(0x42b)]?U(Math[_0x1ef466(0x331)](..._0x8b323b[_0x1ef466(0x173)](_0x456197=>_0x456197[_0x1ef466(0x3ba)]))+0x5b*H):U(Date[_0x1ef466(0x3e9)]()+0x5b*H),_0xb84ad4=Gt(_0x4afb25[_0x1ef466(0x3b8)],_0x4a3b24,_0x477af6,_0x4afb25[_0x1ef466(0x40c)]?_0x4afb25[_0x1ef466(0x120)]:void 0x0);return{'type':_0x1ef466(0x310),'fields':this[_0x1ef466(0x32b)](_0x411beb,{..._0x5ed0ef,'config':_0x4afb25}),'rows':_0x5cf719,'groups':this[_0x1ef466(0x433)](_0x411beb,_0x5ed0ef,_0x5cf719),'config':_0x4afb25,'dateRangeAllDay':_0x1e21a8,'timeline':{'scale':_0x4afb25[_0x1ef466(0x3b8)],'start':_0x4a3b24,'end':_0x477af6,'unitWidth':_0xb84ad4[_0x1ef466(0x28e)],'majorHeaders':_0xb84ad4[_0x1ef466(0x184)],'columns':_0xb84ad4[_0x1ef466(0x139)]},'bars':_0x8b323b};}[_0xff19e8(0x3ab)](_0x247195,_0xd245fd){const _0x38921d=_0xff19e8;var _0x3b9fd2;let _0x100783=this[_0x38921d(0x197)](_0x247195,_0xd245fd[_0x38921d(0x1c3)],'start'),_0x5c0293=this['_resolveGanttDateFieldId'](_0x247195,_0xd245fd[_0x38921d(0x3bf)],_0x38921d(0x3ba))||_0x100783,_0x8e64ee=_0xd245fd[_0x38921d(0x39e)]&&_0x247195['fields'][_0xd245fd['titleFieldId']]&&!_0x247195[_0x38921d(0x307)][_0xd245fd[_0x38921d(0x39e)]][_0x38921d(0x3ad)]?_0xd245fd['titleFieldId']:_0x247195[_0x38921d(0x14f)],_0x529fc2=_0xd245fd['scale']==='week'||_0xd245fd[_0x38921d(0x3b8)]===_0x38921d(0x276)||_0xd245fd[_0x38921d(0x3b8)]===_0x38921d(0x36c)?_0xd245fd[_0x38921d(0x3b8)]:_0x38921d(0x238),_0x37162e=Wt(_0xd245fd[_0x38921d(0x120)]);return{..._0xd245fd,'startDateFieldId':_0x100783,'endDateFieldId':_0x5c0293,'titleFieldId':_0x8e64ee,'scale':_0x529fc2,'leftPaneWidth':typeof _0xd245fd[_0x38921d(0x423)]=='number'?_0xd245fd[_0x38921d(0x423)]:void 0x0,'leftPaneCollapsed':_0xd245fd['leftPaneCollapsed']===!0x0,'showTodayLine':_0xd245fd['showTodayLine']!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x247195,_0xd245fd),'fieldSettings':Object[_0x38921d(0x143)](Object[_0x38921d(0x29f)]((_0x3b9fd2=_0xd245fd['fieldSettings'])==null?{}:_0x3b9fd2)[_0x38921d(0x1b3)](([_0x5c9455])=>{let _0x38fd84=_0x247195['fields'][_0x5c9455];return!!_0x38fd84&&!_0x38fd84['deleted'];})),'workingDaysOnly':_0xd245fd['workingDaysOnly']===!0x0,'workingDays':_0x37162e};}['_resolveGanttDateFieldId'](_0x4c0036,_0x23948f,_0x58cc3c){const _0x10a8e7=_0xff19e8;if(_0x23948f&&this['_isGanttDateField'](_0x4c0036,_0x23948f,_0x58cc3c)||_0x23948f)return _0x23948f;for(let _0x583522 of _0x4c0036['fieldOrder'])if(this[_0x10a8e7(0x21b)](_0x4c0036,_0x583522,_0x58cc3c))return _0x583522;return _0x23948f==null?'':_0x23948f;}[_0xff19e8(0x21b)](_0x1886a7,_0x279272,_0x25ff79){const _0x19332d=_0xff19e8;let _0xf87286=_0x1886a7['fields'][_0x279272];if(!_0xf87286||_0xf87286['deleted']||_0xf87286[_0x19332d(0x278)]!==_0x19332d(0x38a)||_0xf87286[_0x19332d(0x320)]===!0x0||_0xf87286[_0x19332d(0x13a)]===!0x0)return!0x1;let _0x5a8b2f=this[_0x19332d(0x264)](_0xf87286);return _0x25ff79===_0x19332d(0x1f1)?_0x5a8b2f[_0x19332d(0x216)]:_0x5a8b2f[_0x19332d(0x256)];}['_normalizeGanttDisplayColor'](_0x39198b,_0x57d44c){const _0x502de9=_0xff19e8;let _0x11465a=_0x57d44c[_0x502de9(0x2a4)];if((_0x11465a==null?void 0x0:_0x11465a['type'])===_0x502de9(0x399)){let _0x1ad1fe=_0x39198b[_0x502de9(0x307)][_0x11465a[_0x502de9(0x3c2)]];if(_0x1ad1fe&&!_0x1ad1fe['deleted']&&_0x1ad1fe[_0x502de9(0x278)]===_0x502de9(0x1ad))return _0x11465a;}return(_0x11465a==null?void 0x0:_0x11465a[_0x502de9(0x278)])===_0x502de9(0x259)&&Array[_0x502de9(0x1b7)](_0x11465a[_0x502de9(0x35f)])?{'type':_0x502de9(0x259),'rules':_0x11465a[_0x502de9(0x35f)][_0x502de9(0x1b3)](_0xebe2e=>{const _0x4063f6=_0x502de9;let _0x2f0001=_0x39198b[_0x4063f6(0x307)][_0xebe2e[_0x4063f6(0x3c2)]];return!!_0x2f0001&&!_0x2f0001['deleted'];})}:(_0x11465a==null?void 0x0:_0x11465a['type'])===_0x502de9(0x35a)&&typeof _0x11465a[_0x502de9(0x29d)]==_0x502de9(0x149)&&_0x11465a[_0x502de9(0x29d)]['trim']()?{'type':_0x502de9(0x35a),'color':_0x11465a[_0x502de9(0x29d)]}:{'type':_0x502de9(0x35a),'color':_0x502de9(0x1d9)};}[_0xff19e8(0x3dd)](_0x1f36ba,_0x78eafe,_0x56fc20){const _0x5af7c5=_0xff19e8;let _0x3eef25=_0x56fc20['displayColor'];if((_0x3eef25==null?void 0x0:_0x3eef25['type'])===_0x5af7c5(0x259)){let _0x112be8=_0x3eef25['rules'][_0x5af7c5(0x2af)](_0x52c947=>this['_matchesGanttColorRule'](_0x1f36ba,_0x78eafe,_0x52c947));if(_0x112be8)return _0x112be8[_0x5af7c5(0x29d)];}if((_0x3eef25==null?void 0x0:_0x3eef25[_0x5af7c5(0x278)])===_0x5af7c5(0x399)){let _0x1a6437=_0x1f36ba[_0x5af7c5(0x307)][_0x3eef25[_0x5af7c5(0x3c2)]];if(_0x1a6437&&!_0x1a6437[_0x5af7c5(0x3ad)]){var _0x36557d;let _0x145498=_0x78eafe[_0x5af7c5(0x19c)][_0x3eef25[_0x5af7c5(0x3c2)]],_0x1dddba=Array[_0x5af7c5(0x1b7)](_0x145498)?_0x145498[0x0]:_0x145498,_0x2a5049=_0x1dddba==null||(_0x36557d=G(_0x1a6437,String(_0x1dddba)))==null?void 0x0:_0x36557d[_0x5af7c5(0x29d)];if(_0x2a5049)return _0x2a5049;}}return(_0x3eef25==null?void 0x0:_0x3eef25['type'])===_0x5af7c5(0x35a)?_0x3eef25[_0x5af7c5(0x29d)]:_0x5af7c5(0x1d9);}[_0xff19e8(0x2d6)](_0x2b993f,_0x1082a7,_0x1ec1e8){const _0x5110c5=_0xff19e8;let _0x267b10=_0x2b993f[_0x5110c5(0x307)][_0x1ec1e8[_0x5110c5(0x3c2)]];return!_0x267b10||_0x267b10['deleted']?!0x1:Le(_0x1082a7[_0x5110c5(0x19c)][_0x267b10['id']],_0x1ec1e8[_0x5110c5(0x265)],_0x1ec1e8[_0x5110c5(0x273)],_0x267b10,{'dateMode':_0x1ec1e8[_0x5110c5(0x30e)]});}[_0xff19e8(0x178)](_0x445b47,_0x47e96b){const _0xd03edd=_0xff19e8;var _0x47db18,_0x25126a,_0x1f67c7;let _0x3ea2bb=this[_0xd03edd(0x312)](_0x445b47,_0x47e96b),_0x488ae1=this[_0xd03edd(0x3ec)](_0x445b47,(_0x47db18=_0x47e96b['config'])==null?{}:_0x47db18);return{'type':'gallery','fields':this[_0xd03edd(0x32b)](_0x445b47,_0x47e96b),'rows':_0x3ea2bb,'groups':this[_0xd03edd(0x433)](_0x445b47,_0x47e96b,_0x3ea2bb),'coverFieldId':_0x488ae1[_0xd03edd(0x3be)],'cardLayout':(_0x25126a=_0x488ae1[_0xd03edd(0x190)])==null?_0xd03edd(0x1de):_0x25126a,'showFieldNames':_0x488ae1[_0xd03edd(0x166)]!==!0x1,'visibleCardFieldIds':this[_0xd03edd(0x2f7)](_0x445b47,_0x47e96b,_0x488ae1),'cardSize':(_0x1f67c7=_0x488ae1['cardSize'])==null?_0xd03edd(0x3c3):_0x1f67c7,'cards':_0x3ea2bb[_0xd03edd(0x173)](_0x5e5439=>({'recordId':_0x5e5439['recordId'],'title':this['_title'](_0x445b47,_0x5e5439,_0x488ae1[_0xd03edd(0x2a9)][_0xd03edd(0x39e)]),'values':_0x5e5439['values']}))};}[_0xff19e8(0x3ec)](_0xc18e2b,_0x4ed283){const _0x41d446=_0xff19e8;var _0x4d059b,_0x1aee16;let _0x4f61fa=(_0x4d059b=_0x4ed283['card'])==null?{'fieldIds':[]}:_0x4d059b,_0x1a5287=_0x4f61fa['titleFieldId']&&_0xc18e2b['fields'][_0x4f61fa['titleFieldId']]&&!_0xc18e2b['fields'][_0x4f61fa[_0x41d446(0x39e)]][_0x41d446(0x3ad)]?_0x4f61fa[_0x41d446(0x39e)]:kt(_0xc18e2b),_0x13abc6=this['_resolveGalleryCoverFieldId'](_0xc18e2b,_0x4ed283),_0x129b3d=_0x4ed283[_0x41d446(0x392)]===_0x41d446(0x1da)||_0x4ed283[_0x41d446(0x392)]===_0x41d446(0x13b)?_0x4ed283[_0x41d446(0x392)]:'medium';return{..._0x4ed283,'coverFieldId':_0x13abc6,'cardLayout':_0x4ed283[_0x41d446(0x190)]===_0x41d446(0x2fa)?_0x41d446(0x2fa):_0x41d446(0x1de),'showFieldNames':_0x4ed283[_0x41d446(0x166)]!==!0x1,'fieldSettings':Object[_0x41d446(0x143)](Object['entries']((_0x1aee16=_0x4ed283[_0x41d446(0x2f4)])==null?{}:_0x1aee16)[_0x41d446(0x1b3)](([_0x2e01cc])=>{const _0x447375=_0x41d446;let _0x5b2026=_0xc18e2b[_0x447375(0x307)][_0x2e01cc];return!!_0x5b2026&&!_0x5b2026['deleted'];})),'card':{..._0x4f61fa,'titleFieldId':_0x1a5287,'coverFieldId':_0x13abc6,'fieldIds':Array['isArray'](_0x4f61fa[_0x41d446(0x15a)])?_0x4f61fa[_0x41d446(0x15a)]:[]},'cardSize':_0x129b3d};}['_resolveGalleryCoverFieldId'](_0x1341ca,_0x183911){const _0x207d6a=_0xff19e8;var _0x4c1436,_0x1b1e69,_0x59fb87;let _0xe8a340=(_0x4c1436=(_0x1b1e69=_0x183911['coverFieldId'])==null?(_0x59fb87=_0x183911[_0x207d6a(0x2a9)])==null?void 0x0:_0x59fb87[_0x207d6a(0x3be)]:_0x1b1e69)==null?null:_0x4c1436;if(!_0xe8a340)return null;let _0x103a36=_0x1341ca[_0x207d6a(0x307)][_0xe8a340];return _0x103a36&&!_0x103a36['deleted']&&this[_0x207d6a(0x264)](_0x103a36)['usableAsCardCover']?_0x103a36['id']:null;}['_resolveGalleryCardFieldIds'](_0x1067ff,_0x3e4418,_0x351ebe){const _0x33284c=_0xff19e8;var _0x53ddfe,_0x2f6012,_0x3cef76,_0x11acae,_0x504ea3,_0x4e8a3d,_0x4d720c;let _0x26376c=(_0x53ddfe=_0x351ebe['fieldSettings'])==null?{}:_0x53ddfe,_0x204f7e=(_0x2f6012=(_0x3cef76=_0x351ebe[_0x33284c(0x2a9)])==null?void 0x0:_0x3cef76[_0x33284c(0x39e)])==null?kt(_0x1067ff):_0x2f6012,_0x8fbbcf=(_0x11acae=(_0x504ea3=_0x351ebe[_0x33284c(0x3be)])==null?(_0x4e8a3d=_0x351ebe[_0x33284c(0x2a9)])==null?void 0x0:_0x4e8a3d[_0x33284c(0x3be)]:_0x504ea3)==null?null:_0x11acae,_0x1c1224=!((_0x4d720c=_0x351ebe[_0x33284c(0x2a9)])==null||(_0x4d720c=_0x4d720c[_0x33284c(0x15a)])==null)&&_0x4d720c['length']?_0x351ebe[_0x33284c(0x2a9)]['fieldIds']:V(_0x1067ff,[_0x204f7e,_0x8fbbcf,_0x1067ff[_0x33284c(0x14f)]]);return _0x1c1224['filter'](_0x552352=>{const _0x9d990f=_0x33284c;var _0x4d2b82,_0x1d630e;let _0x549f47=_0x1067ff[_0x9d990f(0x307)][_0x552352];return!(!_0x549f47||_0x549f47[_0x9d990f(0x3ad)]||_0x549f47['id']===_0x204f7e||_0x549f47['id']===_0x8fbbcf||!((_0x4d2b82=_0x3e4418['fieldSettings'])==null||(_0x4d2b82=_0x4d2b82[_0x552352])==null)&&_0x4d2b82[_0x9d990f(0x435)]||(_0x1d630e=_0x26376c[_0x552352])!=null&&_0x1d630e['hidden']);})['sort']((_0x5373b2,_0x35ff34)=>{const _0x5815c0=_0x33284c;var _0x2ad13b,_0x48ab6c,_0x3a3e78,_0x422ffc;return((_0x2ad13b=(_0x48ab6c=_0x26376c[_0x5373b2])==null?void 0x0:_0x48ab6c[_0x5815c0(0x327)])==null?_0x1c1224[_0x5815c0(0x168)](_0x5373b2):_0x2ad13b)-((_0x3a3e78=(_0x422ffc=_0x26376c[_0x35ff34])==null?void 0x0:_0x422ffc[_0x5815c0(0x327)])==null?_0x1c1224['indexOf'](_0x35ff34):_0x3a3e78);});}[_0xff19e8(0x32b)](_0x33e563,_0x1f510d){const _0x5e6986=_0xff19e8;var _0x56318d;return((_0x56318d=_0x1f510d['fieldOrder'])!=null&&_0x56318d[_0x5e6986(0x42b)]?_0x1f510d[_0x5e6986(0x187)]:_0x33e563['fieldOrder'])[_0x5e6986(0x246)](_0x1682da=>{const _0x2b07ec=_0x5e6986;var _0x1bb2b9,_0x1f0c72;let _0x2e4e19=_0x33e563[_0x2b07ec(0x307)][_0x1682da],_0x482764=(_0x1bb2b9=(_0x1f0c72=_0x1f510d[_0x2b07ec(0x2f4)])==null?void 0x0:_0x1f0c72[_0x1682da])==null?{}:_0x1bb2b9;return!_0x2e4e19||_0x2e4e19['deleted']||_0x482764[_0x2b07ec(0x435)]?[]:[{'id':_0x2e4e19['id'],'name':_0x2e4e19['name'],'description':_0x2e4e19[_0x2b07ec(0x14e)],'type':_0x2e4e19[_0x2b07ec(0x278)],'config':_0x2e4e19[_0x2b07ec(0x412)],'width':_0x482764[_0x2b07ec(0x1c7)],'setting':_0x482764}];});}[_0xff19e8(0x312)](_0x19a3bb,_0x13ef2a){const _0x27efd5=_0xff19e8;var _0x1a833d,_0x76e1ed,_0x572d2b;return o(_0x27efd5(0x1f2),()=>{const _0x28053b=_0x27efd5;var _0x51847d,_0x3f70ac,_0x42d3dd,_0x3c6256;let _0x250aa8=this[_0x28053b(0x2d3)](_0x19a3bb),_0x4abb38=this[_0x28053b(0x24b)](_0x19a3bb['id'],_0x13ef2a),_0x3d75be=this[_0x28053b(0x118)](_0x19a3bb['id']),_0x373a1e=this[_0x28053b(0x3df)][_0x28053b(0x2e7)](_0x4abb38);if(_0x373a1e&&_0x373a1e[_0x28053b(0x195)]===this[_0x28053b(0x2f2)]&&_0x373a1e[_0x28053b(0x372)]===this[_0x28053b(0x19f)](_0x19a3bb['id'])){if(_0x373a1e[_0x28053b(0x2d0)]===_0x3d75be&&_0x373a1e[_0x28053b(0x152)]===_0x250aa8)return _0x373a1e[_0x28053b(0x1c6)];if(_0x373a1e[_0x28053b(0x2d0)]!==_0x3d75be&&!this[_0x28053b(0x3a8)](_0x19a3bb['id'],_0x373a1e[_0x28053b(0x2d0)],_0x3d75be,this[_0x28053b(0x201)](_0x13ef2a))){let _0x459383=_0x373a1e[_0x28053b(0x1c6)]===_0x373a1e[_0x28053b(0x152)]?_0x250aa8:this[_0x28053b(0x2fb)](_0x373a1e[_0x28053b(0x1c6)],_0x250aa8);if(_0x459383)return this[_0x28053b(0x3df)][_0x28053b(0x37d)](_0x4abb38,{..._0x373a1e,'rows':_0x459383,'baseRows':_0x250aa8,'cellRevision':_0x3d75be}),_0x459383;}}let _0x10fd27=o(_0x28053b(0x2bd),()=>this['_sortRows'](_0x19a3bb,_0x13ef2a,this[_0x28053b(0x1ea)](_0x19a3bb,_0x13ef2a,_0x250aa8)),{'tableId':_0x19a3bb['id'],'viewId':_0x13ef2a==null?void 0x0:_0x13ef2a['id'],'viewType':_0x13ef2a==null?void 0x0:_0x13ef2a['type'],'rows':_0x250aa8[_0x28053b(0x42b)],'filters':(_0x51847d=_0x13ef2a==null||(_0x3f70ac=_0x13ef2a[_0x28053b(0x1b3)])==null?void 0x0:_0x3f70ac['conditions']['length'])==null?0x0:_0x51847d,'sorts':(_0x42d3dd=_0x13ef2a==null||(_0x3c6256=_0x13ef2a[_0x28053b(0x336)])==null?void 0x0:_0x3c6256[_0x28053b(0x42b)])==null?0x0:_0x42d3dd});return this['_projectedViewRowsCache'][_0x28053b(0x37d)](_0x4abb38,{'table':_0x19a3bb,'rows':_0x10fd27,'baseRows':_0x250aa8,'globalRevision':this[_0x28053b(0x2f2)],'tableRevision':this[_0x28053b(0x19f)](_0x19a3bb['id']),'cellRevision':_0x3d75be}),_0x10fd27;},{'tableId':_0x19a3bb['id'],'viewId':_0x13ef2a==null?void 0x0:_0x13ef2a['id'],'viewType':_0x13ef2a==null?void 0x0:_0x13ef2a['type'],'records':(_0x1a833d=(_0x76e1ed=_0x19a3bb[_0x27efd5(0x279)])==null?void 0x0:_0x76e1ed[_0x27efd5(0x42b)])==null?Object['keys']((_0x572d2b=_0x19a3bb[_0x27efd5(0x2f3)])==null?{}:_0x572d2b)['length']:_0x1a833d});}[_0xff19e8(0x2d3)](_0x138b3a){const _0x1f40d3=_0xff19e8;var _0x492c59,_0x5de463,_0xdcd575;return o(_0x1f40d3(0x287),()=>{const _0x1ce38e=_0x1f40d3;var _0x4cfdc4;let _0x2ef9d8=this[_0x1ce38e(0x118)](_0x138b3a['id']),_0x149e6e=this['_projectedRowsCache'][_0x1ce38e(0x2e7)](_0x138b3a['id']);if(_0x149e6e&&_0x149e6e[_0x1ce38e(0x195)]===this[_0x1ce38e(0x2f2)]&&_0x149e6e['tableRevision']===this[_0x1ce38e(0x19f)](_0x138b3a['id'])){if(_0x149e6e[_0x1ce38e(0x2d0)]===_0x2ef9d8&&_0x149e6e[_0x1ce38e(0x420)]===_0x138b3a)return _0x149e6e[_0x1ce38e(0x1c6)];let _0x890750=this[_0x1ce38e(0x2b0)](_0x138b3a,_0x149e6e,_0x2ef9d8);if(_0x890750)return _0x890750;}Bt(_0x138b3a)||f(_0x138b3a);let _0x5440db=(_0x4cfdc4=_0x138b3a['recordOrder'])!=null&&_0x4cfdc4[_0x1ce38e(0x42b)]?_0x138b3a[_0x1ce38e(0x279)]:Object[_0x1ce38e(0x19c)](_0x138b3a['records'])['sort']((_0x260b3a,_0xd386fe)=>_0x260b3a[_0x1ce38e(0x3d9)][_0x1ce38e(0x317)](_0xd386fe['orderKey']))[_0x1ce38e(0x173)](_0x4e2185=>_0x4e2185['id']),_0xcc3163=o(_0x1ce38e(0x147),()=>_0x5440db[_0x1ce38e(0x173)](_0x35e6cc=>_0x138b3a['records'][_0x35e6cc])[_0x1ce38e(0x1b3)](_0x5b488f=>!!_0x5b488f)['filter'](_0x26c8c6=>!_0x26c8c6[_0x1ce38e(0x3ad)])['map'](_0xdf6513=>{let _0x1e3ccc={};for(let _0xe4cafd of _0x138b3a['fieldOrder'])_0x1e3ccc[_0xe4cafd]=v(_0x138b3a,_0xdf6513['id'],_0xe4cafd);return{'recordId':_0xdf6513['id'],'values':_0x1e3ccc};}),{'tableId':_0x138b3a['id'],'records':_0x5440db['length'],'fields':_0x138b3a[_0x1ce38e(0x187)][_0x1ce38e(0x42b)]});return this[_0x1ce38e(0x1bd)]['set'](_0x138b3a['id'],{'table':_0x138b3a,'rows':_0xcc3163,'rowIndexById':zt(_0xcc3163),'globalRevision':this[_0x1ce38e(0x2f2)],'tableRevision':this['_getTableRevision'](_0x138b3a['id']),'cellRevision':_0x2ef9d8}),_0xcc3163;},{'tableId':_0x138b3a['id'],'records':(_0x492c59=(_0x5de463=_0x138b3a['recordOrder'])==null?void 0x0:_0x5de463[_0x1f40d3(0x42b)])==null?Object[_0x1f40d3(0x416)]((_0xdcd575=_0x138b3a[_0x1f40d3(0x2f3)])==null?{}:_0xdcd575)['length']:_0x492c59,'fields':_0x138b3a[_0x1f40d3(0x187)][_0x1f40d3(0x42b)]});}[_0xff19e8(0x2b0)](_0x2e9f8b,_0x5c15c1,_0x56da25){const _0x115df7=_0xff19e8;var _0x14cde8,_0x157726;let _0x2f33ca=((_0x14cde8=this[_0x115df7(0x1f8)][_0x115df7(0x2e7)](_0x2e9f8b['id']))==null?[]:_0x14cde8)[_0x115df7(0x1b3)](_0x1485cb=>_0x1485cb[_0x115df7(0x36b)]>_0x5c15c1[_0x115df7(0x2d0)]&&_0x1485cb[_0x115df7(0x36b)]<=_0x56da25);if(!_0x2f33ca['length'])return _0x5c15c1[_0x115df7(0x420)]===_0x2e9f8b?_0x5c15c1[_0x115df7(0x1c6)]:null;let _0x289e50=_0x5c15c1[_0x115df7(0x1c6)],_0x38699c=new Map();for(let _0x3a6bb3 of _0x2f33ca){let _0x20a4d1=_0x38699c[_0x115df7(0x2e7)](_0x3a6bb3[_0x115df7(0x379)]);_0x20a4d1||(_0x20a4d1=new Set(),_0x38699c[_0x115df7(0x37d)](_0x3a6bb3[_0x115df7(0x379)],_0x20a4d1)),_0x20a4d1[_0x115df7(0x138)](_0x3a6bb3['fieldId']);}for(let [_0x436028,_0x52cfde]of _0x38699c){let _0x809562=_0x2e9f8b['records'][_0x436028];if(!_0x809562||_0x809562['deleted'])return null;let _0x55c9f7=_0x5c15c1['rowIndexById'][_0x115df7(0x2e7)](_0x436028);if(_0x55c9f7==null)return null;_0x289e50===_0x5c15c1[_0x115df7(0x1c6)]&&(_0x289e50=[..._0x5c15c1[_0x115df7(0x1c6)]]);let _0x27c3f3=_0x289e50[_0x55c9f7],_0x3e5860={..._0x27c3f3[_0x115df7(0x19c)]};_0x52cfde[_0x115df7(0x1a6)](_0x43d0c2=>{_0x3e5860[_0x43d0c2]=v(_0x2e9f8b,_0x436028,_0x43d0c2);}),_0x289e50[_0x55c9f7]={..._0x27c3f3,'values':_0x3e5860};}let _0x5bb45a={'table':_0x2e9f8b,'rows':_0x289e50,'rowIndexById':_0x5c15c1[_0x115df7(0x19d)],'globalRevision':this[_0x115df7(0x2f2)],'tableRevision':this['_getTableRevision'](_0x2e9f8b['id']),'cellRevision':_0x56da25};return this[_0x115df7(0x1bd)][_0x115df7(0x37d)](_0x2e9f8b['id'],_0x5bb45a),this[_0x115df7(0x1f8)][_0x115df7(0x37d)](_0x2e9f8b['id'],((_0x157726=this[_0x115df7(0x1f8)][_0x115df7(0x2e7)](_0x2e9f8b['id']))==null?[]:_0x157726)[_0x115df7(0x1b3)](_0x236040=>_0x236040['revision']>Math['max'](0x0,_0x56da25-0x100))),_0x289e50;}['_patchCachedProjectedRows'](_0x553551,_0x599712){const _0x8ba03a=_0xff19e8;let _0x4afe25=new Map(_0x599712['map'](_0x1fb5b2=>[_0x1fb5b2[_0x8ba03a(0x379)],_0x1fb5b2])),_0x377bde=!0x1,_0x1477a2=_0x553551[_0x8ba03a(0x173)](_0x55b10a=>{const _0x16a1da=_0x8ba03a;let _0x1691c9=_0x4afe25[_0x16a1da(0x2e7)](_0x55b10a[_0x16a1da(0x379)]);return _0x1691c9?_0x1691c9===_0x55b10a?_0x55b10a:(_0x377bde=!0x0,_0x1691c9):_0x55b10a;});return _0x377bde?_0x1477a2:_0x553551;}[_0xff19e8(0x3a8)](_0x45574a,_0x344f67,_0x24d851,_0xc144d7){const _0x578594=_0xff19e8;var _0x49b1fc;return!_0xc144d7[_0x578594(0x2f0)]||_0x344f67===_0x24d851?!0x1:_0x24d851-_0x344f67>0x100?!0x0:((_0x49b1fc=this[_0x578594(0x1f8)]['get'](_0x45574a))==null?[]:_0x49b1fc)[_0x578594(0x2c3)](_0x2333dc=>_0x2333dc[_0x578594(0x36b)]>_0x344f67&&_0x2333dc[_0x578594(0x36b)]<=_0x24d851&&_0xc144d7['has'](_0x2333dc[_0x578594(0x3c2)]));}[_0xff19e8(0x201)](_0x4bcccf){const _0x36d220=_0xff19e8;var _0x432d7a,_0x4f7cc0;let _0x537786=new Set();return _0x4bcccf==null||(_0x432d7a=_0x4bcccf[_0x36d220(0x1b3)])==null||_0x432d7a[_0x36d220(0x3f6)][_0x36d220(0x1a6)](_0x5082ea=>_0x537786[_0x36d220(0x138)](_0x5082ea[_0x36d220(0x3c2)])),_0x4bcccf==null||(_0x4f7cc0=_0x4bcccf[_0x36d220(0x336)])==null||_0x4f7cc0[_0x36d220(0x1a6)](_0x29c635=>_0x537786[_0x36d220(0x138)](_0x29c635[_0x36d220(0x3c2)])),_0x537786;}[_0xff19e8(0x28c)](_0x1e3929){const _0x472750=_0xff19e8;var _0x4df539;let _0x582cb5=this[_0x472750(0x201)](_0x1e3929);return(_0x4df539=_0x1e3929[_0x472750(0x163)])==null||_0x4df539['forEach'](_0x5f57e3=>_0x582cb5[_0x472750(0x138)](_0x5f57e3[_0x472750(0x3c2)])),_0x582cb5;}[_0xff19e8(0x1ea)](_0x49882b,_0x3117d0,_0x491a62){const _0x3adb81=_0xff19e8;let _0x59e80f=_0x3117d0==null?void 0x0:_0x3117d0[_0x3adb81(0x1b3)];if(!(_0x59e80f!=null&&_0x59e80f[_0x3adb81(0x3f6)][_0x3adb81(0x42b)]))return _0x491a62;let _0x3c8a41=_0x59e80f[_0x3adb81(0x3f6)][_0x3adb81(0x1b3)](_0x497ce6=>!un(_0x497ce6));return _0x3c8a41[_0x3adb81(0x42b)]?_0x491a62[_0x3adb81(0x1b3)](_0x1ee45b=>{const _0x4b0826=_0x3adb81;if(_0x59e80f[_0x4b0826(0x1e2)]==='or'){for(let _0x40950e of _0x3c8a41){let _0x134d5e=_0x49882b[_0x4b0826(0x307)][_0x40950e[_0x4b0826(0x3c2)]];if(!_0x134d5e||_0x134d5e[_0x4b0826(0x3ad)]||this[_0x4b0826(0x334)][_0x4b0826(0x2e7)](_0x134d5e['type'])['filter'](_0x1ee45b[_0x4b0826(0x19c)][_0x134d5e['id']],_0x40950e[_0x4b0826(0x265)],_0x40950e['operand'],_0x134d5e))return!0x0;}return!0x1;}for(let _0x352ea4 of _0x3c8a41){let _0x35c790=_0x49882b['fields'][_0x352ea4['fieldId']];if(!(!_0x35c790||_0x35c790['deleted'])&&!this['_fieldRegistry'][_0x4b0826(0x2e7)](_0x35c790[_0x4b0826(0x278)])[_0x4b0826(0x1b3)](_0x1ee45b[_0x4b0826(0x19c)][_0x35c790['id']],_0x352ea4['operator'],_0x352ea4[_0x4b0826(0x273)],_0x35c790))return!0x1;}return!0x0;}):_0x491a62;}['_sortRows'](_0x351e7d,_0x3ecc80,_0x9d9570){const _0x37ec94=_0xff19e8;var _0x4d314e;let _0x2608e0=(_0x4d314e=_0x3ecc80==null?void 0x0:_0x3ecc80[_0x37ec94(0x336)])==null?[]:_0x4d314e;if(!_0x2608e0[_0x37ec94(0x42b)])return _0x9d9570;let _0x4c8d98=_0x2608e0[_0x37ec94(0x246)](_0x3eb0b9=>{const _0x533cc8=_0x37ec94;let _0x3bf822=_0x351e7d[_0x533cc8(0x307)][_0x3eb0b9['fieldId']];return _0x3bf822&&!_0x3bf822[_0x533cc8(0x3ad)]?[{..._0x3eb0b9,'field':_0x3bf822}]:[];});return _0x4c8d98[_0x37ec94(0x42b)]?this[_0x37ec94(0x2bf)](_0x4c8d98)?this['_fastSortRows'](_0x4c8d98,_0x9d9570):[..._0x9d9570][_0x37ec94(0x336)]((_0x5deacd,_0x5eef6c)=>{const _0x255a91=_0x37ec94;for(let _0x40a31b of _0x4c8d98){let _0x40046f=_0x40a31b['field'],_0x5257e2=this[_0x255a91(0x334)]['get'](_0x40046f['type'])['compare'](_0x5deacd['values'][_0x40046f['id']],_0x5eef6c[_0x255a91(0x19c)][_0x40046f['id']],_0x40046f);if(_0x5257e2!==0x0)return _0x40a31b[_0x255a91(0x185)]==='desc'?-_0x5257e2:_0x5257e2;}return 0x0;}):_0x9d9570;}[_0xff19e8(0x2bf)](_0x303be3){const _0x481370=_0xff19e8;return _0x303be3['every'](_0x1eafc2=>It[_0x481370(0x3d3)](_0x1eafc2[_0x481370(0x176)]['type']));}['_fastSortRows'](_0x3fa1be,_0x5bf2e8){const _0x35f9a9=_0xff19e8;return _0x5bf2e8[_0x35f9a9(0x173)]((_0x86cfdd,_0x5e7337)=>({'row':_0x86cfdd,'index':_0x5e7337,'keys':_0x3fa1be[_0x35f9a9(0x173)](_0x58f699=>_0x86cfdd[_0x35f9a9(0x19c)][_0x58f699['fieldId']])}))[_0x35f9a9(0x336)]((_0x2f8ac6,_0x31c70c)=>{const _0xb1206b=_0x35f9a9;for(let _0x4db3ab=0x0;_0x4db3ab<_0x3fa1be[_0xb1206b(0x42b)];_0x4db3ab++){let _0x2ab3e2=ln(_0x2f8ac6[_0xb1206b(0x416)][_0x4db3ab],_0x31c70c[_0xb1206b(0x416)][_0x4db3ab]);if(_0x2ab3e2!==0x0)return _0x3fa1be[_0x4db3ab][_0xb1206b(0x185)]===_0xb1206b(0x158)?-_0x2ab3e2:_0x2ab3e2;}return _0x2f8ac6[_0xb1206b(0x239)]-_0x31c70c[_0xb1206b(0x239)];})[_0x35f9a9(0x173)](_0x39d2f0=>_0x39d2f0[_0x35f9a9(0x20f)]);}[_0xff19e8(0x433)](_0x5218d4,_0x363f54,_0x47a88c){const _0x1322ac=_0xff19e8;var _0x5a73c1,_0x16f5ca;return o(_0x1322ac(0x20b),()=>{const _0x197665=_0x1322ac;var _0x50fa14;if(!((_0x50fa14=_0x363f54[_0x197665(0x163)])!=null&&_0x50fa14[_0x197665(0x42b)]))return[];let _0x5e22aa=_0x363f54[_0x197665(0x163)][_0x197665(0x1b3)](_0x3ebb88=>{const _0x8c2971=_0x197665;let _0xf666c8=_0x5218d4[_0x8c2971(0x307)][_0x3ebb88[_0x8c2971(0x3c2)]];return _0xf666c8&&!_0xf666c8[_0x8c2971(0x3ad)];});if(!_0x5e22aa['length'])return[];let _0x1d2aa0=this[_0x197665(0x39c)](_0x5218d4['id'],_0x363f54,_0x5e22aa),_0x140f21=this[_0x197665(0x118)](_0x5218d4['id']),_0x49568f=this['_projectedGroupsCache'][_0x197665(0x2e7)](_0x1d2aa0);if(_0x49568f&&_0x49568f[_0x197665(0x195)]===this[_0x197665(0x2f2)]&&_0x49568f[_0x197665(0x372)]===this[_0x197665(0x19f)](_0x5218d4['id'])){if(_0x49568f[_0x197665(0x2d0)]===_0x140f21&&_0x49568f[_0x197665(0x1c6)]===_0x47a88c)return _0x49568f[_0x197665(0x134)];if(_0x49568f['cellRevision']!==_0x140f21&&!this[_0x197665(0x3a8)](_0x5218d4['id'],_0x49568f[_0x197665(0x2d0)],_0x140f21,this[_0x197665(0x28c)](_0x363f54)))return this[_0x197665(0x23f)][_0x197665(0x37d)](_0x1d2aa0,{..._0x49568f,'rows':_0x47a88c,'cellRevision':_0x140f21}),_0x49568f[_0x197665(0x134)];}let _0x534b58=new Map();for(let _0x30be30 of _0x47a88c){let _0x151705=_0x534b58,_0x39e73d='';for(let _0x4fcbc5=0x0;_0x4fcbc5<_0x5e22aa['length'];_0x4fcbc5++){let _0x3c8bfc=_0x5e22aa[_0x4fcbc5],_0x13e6ae=_0x30be30[_0x197665(0x19c)][_0x3c8bfc['fieldId']],_0x239fe5=Rt(_0x13e6ae),_0x3fdb57=_0x3c8bfc[_0x197665(0x3c2)]+'\x00'+_0x239fe5,_0x2c6a42=_0x39e73d+'/'+_0x3c8bfc[_0x197665(0x3c2)]+':'+_0x239fe5,_0x2b50c8=_0x151705[_0x197665(0x2e7)](_0x3fdb57);_0x2b50c8||(_0x2b50c8={'key':_0x239fe5,'value':_0x13e6ae,'path':_0x2c6a42,'label':_0x239fe5||_0x197665(0x1f9),'fieldId':_0x3c8bfc[_0x197665(0x3c2)],'level':_0x4fcbc5,'recordIds':[],'children':new Map()},_0x151705['set'](_0x3fdb57,_0x2b50c8)),_0x2b50c8[_0x197665(0x12a)][_0x197665(0x36d)](_0x30be30['recordId']),_0x151705=_0x2b50c8[_0x197665(0x3c1)],_0x39e73d=_0x2c6a42;}}let _0x47ab9c=this[_0x197665(0x18f)](_0x5e22aa,_0x534b58,0x0);return this[_0x197665(0x23f)][_0x197665(0x37d)](_0x1d2aa0,{'table':_0x5218d4,'rows':_0x47a88c,'groups':_0x47ab9c,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x197665(0x19f)](_0x5218d4['id']),'cellRevision':_0x140f21}),_0x47ab9c;},{'tableId':_0x5218d4['id'],'viewId':_0x363f54['id'],'viewType':_0x363f54[_0x1322ac(0x278)],'rows':_0x47a88c[_0x1322ac(0x42b)],'groupFields':(_0x5a73c1=(_0x16f5ca=_0x363f54[_0x1322ac(0x163)])==null?void 0x0:_0x16f5ca[_0x1322ac(0x42b)])==null?0x0:_0x5a73c1});}['_materializeGroups'](_0x2b2ae0,_0x45bca9,_0x9b4bb){const _0x417dd5=_0xff19e8;var _0xb9f048;let _0x547063=Array['from'](_0x45bca9[_0x417dd5(0x19c)]()),_0x18a553=(_0xb9f048=_0x2b2ae0[_0x9b4bb])==null?void 0x0:_0xb9f048[_0x417dd5(0x185)];return _0x18a553&&_0x547063[_0x417dd5(0x336)]((_0x1b425f,_0x521d70)=>{const _0x4c5591=_0x417dd5;let _0x133a16=_0x1b425f['key']['localeCompare'](_0x521d70[_0x4c5591(0x2a5)]);return _0x18a553===_0x4c5591(0x158)?-_0x133a16:_0x133a16;}),_0x547063[_0x417dd5(0x173)](_0x18e71d=>({'key':_0x18e71d[_0x417dd5(0x2a5)],'value':_0x18e71d[_0x417dd5(0x14d)],'path':_0x18e71d[_0x417dd5(0x375)],'label':_0x18e71d[_0x417dd5(0x42e)],'fieldId':_0x18e71d[_0x417dd5(0x3c2)],'level':_0x18e71d['level'],'recordIds':_0x18e71d['recordIds'],'children':this[_0x417dd5(0x18f)](_0x2b2ae0,_0x18e71d[_0x417dd5(0x3c1)],_0x9b4bb+0x1)}));}[_0xff19e8(0x3ac)](_0x351359,_0x4dd5f7,_0x319b5a){const _0x5622ec=_0xff19e8;let _0x3ce3ae=_0x319b5a==null?_0x351359[_0x5622ec(0x14f)]:_0x319b5a,_0x5956a3=_0x4dd5f7['values'][_0x3ce3ae];return _0x5956a3==null?'':String(_0x5956a3);}[_0xff19e8(0x2ed)](_0x40c13b){const _0x32e928=_0xff19e8;if(Array[_0x32e928(0x1b7)](_0x40c13b))return _0x40c13b[_0x32e928(0x173)](String);if(typeof _0x40c13b==_0x32e928(0x149)&&_0x40c13b)return[_0x40c13b];}[_0xff19e8(0x264)](_0x4b4e0b){const _0x12e4be=_0xff19e8;return this[_0x12e4be(0x334)][_0x12e4be(0x2e7)](_0x4b4e0b['type'])['getCapabilities'](_0x4b4e0b);}};Lt=R([L(0x0,(0x0,e[_0xff19e8(0x10e)])(F))],Lt);function Rt(_0x2f370a){return _0x2f370a==null?'':String(_0x2f370a);}function zt(_0xd1d6a1){const _0x2ac0bd=_0xff19e8;return new Map(_0xd1d6a1[_0x2ac0bd(0x173)]((_0xcc3664,_0x402607)=>[_0xcc3664[_0x2ac0bd(0x379)],_0x402607]));}function Bt(_0x40431b){const _0x4429b2=_0xff19e8;return!!(Array[_0x4429b2(0x1b7)](_0x40431b[_0x4429b2(0x279)])&&_0x40431b[_0x4429b2(0x2ce)]&&_0x40431b[_0x4429b2(0x250)]&&_0x40431b[_0x4429b2(0x25c)]&&_0x40431b[_0x4429b2(0x1fc)]&&_0x40431b[_0x4429b2(0x3e1)]);}function Vt(_0x3a7272){const _0x3ee9c0=_0xff19e8;return _0x3a7272!=null&&_0x3a7272[_0x3ee9c0(0x3f6)][_0x3ee9c0(0x42b)]?{'conjunction':_0x3a7272[_0x3ee9c0(0x1e2)],'conditions':_0x3a7272[_0x3ee9c0(0x3f6)][_0x3ee9c0(0x173)](_0xacc846=>({'fieldId':_0xacc846[_0x3ee9c0(0x3c2)],'operator':_0xacc846[_0x3ee9c0(0x265)],'operand':_0xacc846['operand']}))}:null;}function Ht(_0x58960f){const _0x3bb585=_0xff19e8;return _0x58960f!=null&&_0x58960f[_0x3bb585(0x42b)]?_0x58960f['map'](_0x1a42eb=>({'fieldId':_0x1a42eb[_0x3bb585(0x3c2)],'direction':_0x1a42eb[_0x3bb585(0x185)]})):null;}function _0x1c33(){const _0x178140=['rating','lookup','scale','BatchDeleteBaseRecordsCommand','end','false','excelSerialToDateMs','invalidateByOp','coverFieldId','endDateFieldId','SetBaseViewFieldVisibleCommand','children','fieldId','medium','base.command.update-base-kanban-config','2160mhyvvF','UniverProFormulaEnginePlugin','_isAllDayGanttDateRange','base.command.batch-delete-base-records','spaceComma','allowMultiple','_formulaService','updateViewConfig','createIdentifier','IBaseProjectionService','Optional','UpdateBaseFieldCommand','56wMwKJl','setViewFieldOrder','has','getCapabilities','ChangeBaseFieldTypeCommand','mark','base.permission.service','_factory','orderKey','Working\x20day','fld-','clearTablePermission','_ganttBarColor','constructor','_projectedViewRowsCache','base.command.batch-create-base-records','cellData','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','attachmentSet','setRecordValues','isCompressedBaseRangeValuesPayload','[BaseField]:\x20invalid\x20rating\x20value.','UniverBasesPlugin','_setViewFieldSetting','now','BaseJson1.cloneForOp','twoWayLink','_normalizeGalleryConfig','mode','attachment','_getJson1DirtyData','slice','DeleteBaseRecordCommand','groupFieldId','[BaseCommandService]:\x20cannot\x20edit\x20cell.','createSuperTableReference','lessThan','conditions','_resolveKanbanCoverFieldId','_applyingFormulaResults','base.command.update-base-view-config','base.command.set-base-view-filter','beforeFieldId','_getKanbanConfiguredLanes','_getActiveDirtyManagerService','boolean','CellValueType','UniverRemoteBasesPlugin','_commandService','updateField','111mjAXzd','_shouldRefreshSuperTables','snapshot','registerCtorForType','base.view-registry.service','_replaceOptional','params','sheetId','createBaseFormulaCalculationDataset','workingDaysOnly','@univerjs-pro/bases','updatedAt','base.resource.service','getFullYear','[BaseField]:\x20invalid\x20person\x20value.','config','progress','base.command.set-base-view-field-width','SetBaseViewFieldWidthCommand','keys','base.command.set-base-view-sort','base.projection.service','DataSyncPrimaryController','renameTable','getItem','_findCalendarDateFieldId','invalidateByField','_getTablesToNormalize','dispose','table','renameView','invalidateByCell','leftPaneWidth','createBatchCreateRecordsOp','measure','base.command.set-base-view-field-visible','h:mm\x20a','Tools','BaseResourceService','toLowerCase','length','dateToExcelSerial','register','label','toDisposable','_initCommands','_dataSyncPrimaryController','UniverLicensePlugin','_projectGroups','error','hidden','getMonth','_requestCalculation','short','DuplicateBaseRecordCommand',',,,\x22B\x22','executeCommand','phone','_getTable','_createNumberingFieldValuePatches','Inject','formula','[BaseCommandService]:\x20cannot\x20delete\x20field.','updatedBy','next30','today','normalize','tomorrow','baseJson1Path','_setFormulaFieldCells','_getCellRevision','applyOp','isBasePerformanceTracingEnabled','invalidateByView','inferBaseSeparatorStyle','startsWith','registerCommand','JSON1','workingDays','_buildGrid','setBasePermission','base.command.update-base-cell','#BBF7D0','setBaseCell','Checked','YYYY/MM/DD\x20HH:mm','BaseDataModel','_isCalendarDateField','recordIds','createOp','BASES_PLUGIN_NAME','getDependencies','lastIndexOf','object','COMMAND','_plugins','getUnit','_isAllowedKanbanGroupField','groups','duplicateField','_createJson1DirtyData','BaseProjectionService','add','columns','system','large','en-US','_isColorfulKanbanGroupField','currencySymbol','BasePermissionService','_baseSyncDisposables','base-perf-','createCreateFieldOp','fromEntries','tableId','createCollaborativeOp','isNot','BaseProjection.materializeTableRows','_runtimeContext','string','toBaseRecordValue','_cacheKey','_toDirtyRangePatch','value','description','primaryFieldId','base.command.create-base-record','setViewFieldWidth','baseRows','createBaseStructureDirtySuperTableMap','test','min','usableAsCardCover','decompressBaseSnapshot','desc','getUnitId','fieldIds','_cellRevisions','createRecords','pluginName','_createRecordWithDefaults','option-','greaterThanOrEqual','viewIndexes','IBasePermissionService','group','_fieldPermissions','isInteger','showFieldNames','lessThanOrEqual','indexOf','getBaseCellFormulaValue','onCommandExecuted','_isAllDayCalendarEvent','column','BaseJson1Adapter','setFieldPermission','_syncFormulaData','from','#FDE68A','percent','map','getUTCFullYear','Injector','field','False','_buildGallery','_resolveKanbanCardFieldIds','getBaseAttachmentResourceKey','[BaseCommandService]:\x20cannot\x20create\x20table.','#3b82f6','univer.basePerf','apply','gallery','_getViewRevision','uniqueFieldName','notContains','_createNumberingAllocator','majorHeaders','direction','_kanbanLaneColor','fieldOrder','timeZone','createCoreViewPlugins','UpdateBaseFieldDescriptionCommand','stringify','registerSuperTable','_apply','_setCachedProjection','_materializeGroups','cardLayout','[BaseField]:\x20invalid\x20email\x20value.','fromBaseCellData','SetBaseViewFieldOrderCommand','base.viewType.gantt','globalRevision','[BaseCommandService]:\x20invalid\x20cell\x20value.','_resolveGanttDateFieldId','canEditField','[BasePerf]\x20',':start','clearBasePermission','values','rowIndexById','_applyFormulaResult','_getTableRevision','SetFormulaCalculationResultMutation','_getCachedProjection','1032VSXqLf','ISuperTableService','barcode','_getStructureDirtyTableIds','forEach','contains','split','limit','registerSuperTables','week','attachmentSets','singleSelect','BaseFieldRegistryService','getUTCMonth','lastWeek','_bumpTableRevision','_isKanbanGroupField','filter','BaseJson1OpFactory','true','working','isArray','BaseProjection.getProjection','10VTszYg','decompressBaseRangeValuesPayload','_createDirtyData','BASES_PLUGIN','_projectedRowsCache','invertWithDoc','traceBasePerformanceAsync','summary','logBasePerformance','_registerSuperTables','startDateFieldId','getBase','_groupCellInvalidations','rows','width','manual','_getSuperTableService','undefined','unknown','includes','exact','setRangeValues','[BaseViewRegistryService]:\x20view\x20type\x20\x22','isNaN','554XBDqoj','replace','cell','parse','diffValue','13CxorWf','_viewRevisions','patches','#14b8a6','small','REMOTE_BASES_PLUGIN','[BaseCommandService]:\x20cannot\x20manage\x20view.','base.command.update-base-field-description','normal','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','off','writeAttachmentResources','conjunction','SetBaseRecordValuesCommand','score','allowNegative','base.command.delete-base-field','userID','invalidDateField','DD/MM/YYYY','_filterRows','bases.fieldConfig.textPlaceholder','Disposable','[BaseCommandService]:\x20cannot\x20delete\x20table.','tables','reason','End\x20date','start','BaseProjection.projectRows','_normalizeCellValue','__all__','UpdateBaseViewConfigCommand','pushUndoRedo','base.command.delete-base-record','_cellInvalidations','Empty','traceBasePerformance',',,\x22M\x22','colId','SetBaseViewSortCommand','yyyy/mm/dd','yesterday','294993EBwhdp','_filterSortFieldIds','createCreateRecordOp','disposeWithMe','periodComma','deleteRecord','regenerateViewIds','done','grid','STRING','_injector','BaseProjection.projectGroups','timeslotSize','round','createField','row','blue','button','every','BOOLEAN','_buildCalendar','formulaData','usableAsGanttStart','deleteField','base.command.create-base-table','getSnapshot','isFinite','_isGanttDateField','separatorStyle','symbol','delete','CreateBaseTableCommand','tableOrder','_tablePermissions','getProjection','formatToParts','IUndoRedoService','registerSyncingMutations','spacePeriod','canManageView','bases.fieldConfig.linkPlaceholder','setSnapshot','createUpdateCellOp','frozenFieldCount','[BaseField]:\x20invalid\x20progress\x20value.','FORCE_STRING','MUTATION','getCurrentUserId','multiSelect','UTC','ICommandService','_createSystemFieldValuePatches','call','getTypeOfUnitAdded$','validateFormula','ApplyBaseJson1Mutation','month','index','columnSettings','base-snapshot-v1','displayText','[BaseField]:\x20invalid\x20checkbox\x20value.','6639564UVVaAX','_projectedGroupsCache','calendar','base.command.change-base-field-type','canCreateRecord','decorate','createBase','duplicateRecord','flatMap','NumberFormat',',\x22K\x22','General','base.field-registry.service','_viewRowsCacheKey','35856PnhPdj','_kanbanLaneTitle','after','Failed\x20to\x20create\x20update\x20cell\x20operation:','rowId','updateCell','past30','canCreateTable','IBaseCommandService','_findKanbanGroupField','usableAsGanttEnd','Done','setViewFieldVisible','conditional','_initRegistries','_buildKanban','colIndex','812GqbiPH','star','tableName','createBaseFormulaResultPatches','commaPeriod','UpdateBaseRecordOrderCommand','__UNIVER_BASE_PERF__','_capabilities','operator','createView','canDeleteField','SetBaseRangeValuesCommand','numfmt','BaseFormulaService','SetFormulaDataMutation','progressFieldId','useThousands','_isNonEmptyCellValue','projection','none','email','#,##0','operand','valid','attachments','quarter','CommandType','type','recordOrder','pattern','iterator','fieldName','base.command.update-base-record-order','_groupConfigCacheSegment','_normalizeCalendarConfig','toLocaleString','MoveBaseViewCommand','_setDeleted','_shouldSyncFormulaData','version','greaterThan','DeleteBaseFieldCommand','BaseProjection.projectTableRows','function','setViewFilter','getUTCDay','invalid','_groupProjectionFieldIds','person','unitWidth','[BaseField]:\x20invalid\x20date\x20value.','createRecord','base.command.rename-base-view','BaseCellData.ensureTableCellLayout','[BaseProjectionService]:\x20missing\x20view\x20\x22','base.command.set-base-view-group','defaultValue','unitData','invalidGroupField','view','base.command.duplicate-base-field','_onCommandExecuted','join','patch','color','matchAll','entries','BaseActiveDirtyController','[BaseCommandService]:\x20cannot\x20create\x20field.','exceptions','UNIVER_BASE','displayColor','key','_setAttachmentResources','_superTableService','toPlainText','card','_withModifiedSystemValues','todo','Todo','UpdateBaseKanbanConfigCommand','createTable','find','_patchProjectedRowsForCellInvalidations','missingField','DependentOn','numbering','defineProperty','IUniverInstanceService','getUTCDate','moveView','usableAsCalendarDate','dateKit','createCoreFieldPlugins','decimalPlaces','base-perf','BaseProjection.filterAndSortRows','setTablePermission','_canUseFastSort','getAll','fieldIndex','number','some','text','exception-','[BaseFormula]:\x20field\x20\x22','canDeleteRecord','normalizeBaseDateSerial','generateRandomId','hasOwnProperty','weekdays','ena','viewRevision','rowIndex','toStringTag','cellRevision','checkbox','[BaseFormula]:\x20table\x20\x22','_projectTableRows','Start\x20date','UpdateBaseCellCommand','_matchesGanttColorRule','UniverInstanceType','url','_getCurrentUserId','editCell','registerView','day','prototype','_initialize','moveField','editable','basePerf','ObjectMatrix','1.0.0-alpha.1','formatBaseNumberValue','base.viewType.calendar','toBaseCellData','get','format','canEditCell','1876974qucPAA','base.command.move-base-field','setViewSort','_recordIds','isCompressedBaseSnapshot','IBaseViewRegistryService','size','title','_globalRevision','records','fieldSettings','buildBaseNumberFormatPattern','finally','_resolveGalleryCardFieldIds','kanban','views','compose','_patchCachedProjectedRows','remove','SetBaseViewFilterCommand','299915RUpzNn','subscribe','findIndex','col','name','changeFieldType','getTime','base.command.delete-base-view','_getAllTableIds','fields','base-range-values-v1','getAffectedRanges','getStructuredDependencies','formula.mutation.set-formula-calculation-result','readAttachmentResources','packageName','dateMode','options','gantt','edit','_projectRows','manageView','endsWith','clearFieldPermission','YYYY/MM/DD','localeCompare','IBaseResourceService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_recordPermissions','Doing','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','record','#BFDBFE','_univerInstanceService','readonly','_syncBaseUnit','kind','_projectionCache','unitId','syncExecuteCommand','createdAt','order','recordPatch','colorFieldId','focusUnit','_projectFields','touchDependencies','createdBy','replaceOp','currency','invalidGanttStartField','max','NUMBER','CreateBaseFieldCommand','_fieldRegistry','_getAllBaseDirtySuperTableMap','sort','afterViewId','_views','registerTable','_kanbanGroupKeys','_permissionService',':end','_resolveCalendarDateFieldId','_getOrderedActiveRecords','YYYY-MM-DD','next7','base.command.service','updateRecordOrder','before','copyBaseTableSnapshot','IActiveDirtyManagerService','searchBaseTable','getAllUnitsForType','compressBaseRangeValuesPayload','createViewId','Status','#,##0.00','_viewRevisionKey','general','resources','deleteTable','view-','BatchCreateBaseRecordsCommand','DeleteBaseTableCommand','deepClone','syncUnit','includeRecords','decimal','assign','query','flow','custom','catch','invertOp','_basePermissions','viewId','rules','createDefaultConfig','location','getBaseInvalidationsFromJson1','local','onReady','base.command.set-base-view-field-order','getTypePlugin','setViewGroup','repeat','_createStructureDirtyData','thisMonth','revision','year','push','dependencyFieldId','includeTime','setBaseRangeValuesToDirtyRanges','base.fieldType.','tableRevision','changed','insertOp','path','searchTexts','base.command.ensure-base-temporal-view-date-fields','doing','recordId','https://','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseCommandService]:\x20cannot\x20create\x20record.','set','True','_initDataSync','trim','_getSystemFieldValue','_normalizeCalendarDisplayColor','afterFieldId','canCreateField','getTypeOfUnitDisposed$','_rowTransformCacheSegment','BaseViewRegistryService','\x22\x20does\x20not\x20exist.','_getDirtySuperTableMap','date','createSetRecordValuesOp','clearRecordPermission','invalidGanttEndField','link','raw','locale','Module','cardSize','[BaseJson1Adapter]:\x20unsupported\x20command\x20','base','Plugin','getBaseCellValue','normalizeAttachmentValue','_initDependencies','selectField','deleteRecords','base.viewType.gallery','_groupsCacheKey','splice','titleFieldId','_buildGantt','DuplicateBaseFieldCommand','deleteView','viewOrder','MM/DD/YYYY','validate','[[#This\x20Row],[','_applier','BaseJson1.json1Apply','_cellInvalidationsTouchFields','attachment-','BaseJson1OpApplier','_normalizeGanttConfig','_title','deleted','[BaseCommandService]:\x20cannot\x20edit\x20field.','reduce','hourCycle','_createNumberingAllocators','info','search','_tableRevisions','setRecordPermission'];_0x1c33=function(){return _0x178140;};return _0x1c33();}function _0x3a38(_0x2de200,_0x183a70){_0x2de200=_0x2de200-0x10c;const _0x1c333b=_0x1c33();let _0x3a388f=_0x1c333b[_0x2de200];return _0x3a388f;}function Ut(_0x3a2cae){const _0x410980=_0xff19e8;if(typeof _0x3a2cae!=_0x410980(0x12f)||!_0x3a2cae){var _0x16769e;return(_0x16769e=JSON[_0x410980(0x18b)](_0x3a2cae))==null?_0x410980(0x1ca):_0x16769e;}if(Array[_0x410980(0x1b7)](_0x3a2cae))return'['+_0x3a2cae[_0x410980(0x173)](Ut)[_0x410980(0x29b)](',')+']';let _0x423473=_0x3a2cae;return'{'+Object[_0x410980(0x416)](_0x423473)[_0x410980(0x336)]()['map'](_0x4030a3=>JSON[_0x410980(0x18b)](_0x4030a3)+':'+Ut(_0x423473[_0x4030a3]))[_0x410980(0x29b)](',')+'}';}const H=0x5a0*0x3c*0x3e8;function Wt(_0x110a89){const _0x4b828a=_0xff19e8;return{'weekdays':Array[_0x4b828a(0x1b7)](_0x110a89==null?void 0x0:_0x110a89[_0x4b828a(0x2cb)])&&_0x110a89['weekdays'][_0x4b828a(0x42b)]?[...new Set(_0x110a89[_0x4b828a(0x2cb)]['filter'](_0x4d0743=>Number[_0x4b828a(0x165)](_0x4d0743)&&_0x4d0743>=0x1&&_0x4d0743<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x4b828a(0x1b7)](_0x110a89==null?void 0x0:_0x110a89[_0x4b828a(0x2a2)])?_0x110a89['exceptions'][_0x4b828a(0x246)](_0xcab6da=>!_0xcab6da||!Number['isFinite'](_0xcab6da['date'])?[]:[{'id':String(_0xcab6da['id']||_0x4b828a(0x2c5)+_0xcab6da[_0x4b828a(0x38a)]),'date':U(Number(_0xcab6da[_0x4b828a(0x38a)])),'name':String(_0xcab6da[_0x4b828a(0x302)]||_0x4b828a(0x3da)),'type':_0xcab6da['type']==='working'?_0x4b828a(0x1b6):'off'}]):[]};}function Gt(_0x314632,_0x582517,_0x4a9e25,_0x2fa37d){let _0x30f165=Yt(_0x314632,_0x582517),_0x41477c=Xt(_0x314632,_0x4a9e25),_0x191134=Kt(_0x314632,_0x30f165,_0x41477c,_0x2fa37d);return{'scale':_0x314632,'start':_0x30f165,'end':_0x41477c,'unitWidth':Jt(_0x314632),'majorHeaders':qt(_0x314632,_0x30f165,_0x41477c),'columns':_0x191134};}function Kt(_0xdbbdd0,_0x85cc30,_0x1c07e1,_0x5e4f8d){const _0x2a7f9d=_0xff19e8;let _0xf6203a=[],_0x21346a=_0x85cc30;for(;_0x21346a<_0x1c07e1;){let _0x22c7f2=_0xdbbdd0===_0x2a7f9d(0x276)?W(_0x21346a,0x7):_0xdbbdd0===_0x2a7f9d(0x36c)?on(_0x21346a,0x1):W(_0x21346a,0x1);_0xf6203a[_0x2a7f9d(0x36d)]({'id':_0xdbbdd0+'-'+_0x21346a,'label':Zt(_0xdbbdd0,_0x21346a,_0x22c7f2),'majorLabel':Qt(_0xdbbdd0,_0x21346a),'start':_0x21346a,'end':_0x22c7f2,'nonWorking':en(_0x21346a,_0x22c7f2,_0x5e4f8d)}),_0x21346a=_0x22c7f2;}return _0xf6203a;}function qt(_0x21267b,_0xecbf66,_0x265d47){const _0x253b1b=_0xff19e8;let _0x2add7e=[],_0x267112=_0x21267b===_0x253b1b(0x36c)?an(_0xecbf66):rn(_0xecbf66);for(;_0x267112<_0x265d47;){let _0x358c00=_0x21267b==='year'?sn(_0x267112,0x1):on(_0x267112,0x1);_0x2add7e[_0x253b1b(0x36d)]({'id':'major-'+_0x267112,'label':_0x21267b==='year'?String(new Date(_0x267112)[_0x253b1b(0x174)]()):cn(_0x267112),'start':_0x267112,'end':_0x358c00}),_0x267112=_0x358c00;}return _0x2add7e;}function Jt(_0x10fdde){const _0x71d31d=_0xff19e8;switch(_0x10fdde){case _0x71d31d(0x1ab):return 0xac;case _0x71d31d(0x276):return 0xac;case'year':return 0x88;default:return 0x56;}}function Yt(_0x567faa,_0x59a679){const _0xb399be=_0xff19e8;return _0x567faa===_0xb399be(0x36c)?an(_0x59a679):_0x567faa===_0xb399be(0x276)?nn(_0x59a679):U(_0x59a679);}function Xt(_0x1af227,_0x5df35e){return _0x1af227==='year'?sn(an(_0x5df35e),0x1):_0x1af227==='quarter'?W(nn(_0x5df35e),0x7):W(U(_0x5df35e),0x1);}function Zt(_0x528bda,_0xd345fe,_0x38e398){const _0x566cb7=_0xff19e8;let _0x10c527=new Date(_0xd345fe);return _0x528bda==='quarter'?_0x10c527[_0x566cb7(0x2b6)]()+'-'+new Date(_0x38e398-H)['getUTCDate']():_0x528bda===_0x566cb7(0x36c)?_0x10c527[_0x566cb7(0x280)](_0x566cb7(0x13c),{'month':_0x566cb7(0x438),'timeZone':_0x566cb7(0x231)}):String(_0x10c527[_0x566cb7(0x2b6)]());}function Qt(_0x22fcd5,_0x5ba590){const _0x3616d1=_0xff19e8;return _0x22fcd5===_0x3616d1(0x36c)?String(new Date(_0x5ba590)[_0x3616d1(0x174)]()):cn(_0x5ba590);}function $t(_0x1ac390,_0xccc3be,_0x25b3f1){let _0x3e174b=Wt(_0x25b3f1),_0x4291e0=0x0;for(let _0x11d8ad=U(_0x1ac390);_0x11d8ad<=U(_0xccc3be);_0x11d8ad=W(_0x11d8ad,0x1))tn(_0x11d8ad,_0x3e174b)||_0x4291e0++;return _0x4291e0;}function en(_0x4fbbfb,_0x281083,_0x35a46e){if(!_0x35a46e)return!0x1;let _0x4bbf7b=Wt(_0x35a46e);for(let _0x427234=U(_0x4fbbfb);_0x427234<_0x281083;_0x427234=W(_0x427234,0x1))if(!tn(_0x427234,_0x4bbf7b))return!0x1;return!0x0;}function tn(_0x63a2d8,_0x5b0658){const _0x1eb91f=_0xff19e8;let _0x474a03=U(_0x63a2d8),_0x3f3409=_0x5b0658['exceptions'][_0x1eb91f(0x2af)](_0x4eba96=>U(_0x4eba96[_0x1eb91f(0x38a)])===_0x474a03);if(_0x3f3409)return _0x3f3409[_0x1eb91f(0x278)]===_0x1eb91f(0x1e0);let _0x513659=new Date(_0x474a03)[_0x1eb91f(0x28a)](),_0x42606e=_0x513659===0x0?0x7:_0x513659;return!_0x5b0658[_0x1eb91f(0x2cb)]['includes'](_0x42606e);}function U(_0x42c92f){const _0x10a374=_0xff19e8;let _0x28137f=new Date(_0x42c92f);return Date[_0x10a374(0x231)](_0x28137f['getUTCFullYear'](),_0x28137f[_0x10a374(0x1af)](),_0x28137f[_0x10a374(0x2b6)]());}function nn(_0x25b980){const _0x3e9dee=_0xff19e8;let _0x3fa478=U(_0x25b980),_0x360670=new Date(_0x3fa478)[_0x3e9dee(0x28a)]();return W(_0x3fa478,-(_0x360670===0x0?0x6:_0x360670-0x1));}function rn(_0x3402dc){const _0x529f3d=_0xff19e8;let _0x369304=new Date(_0x3402dc);return Date[_0x529f3d(0x231)](_0x369304[_0x529f3d(0x174)](),_0x369304[_0x529f3d(0x1af)](),0x1);}function an(_0x125571){const _0x4a0dc7=_0xff19e8;let _0x4ece95=new Date(_0x125571);return Date[_0x4a0dc7(0x231)](_0x4ece95[_0x4a0dc7(0x174)](),0x0,0x1);}function W(_0x16dbaf,_0x4da692){return _0x16dbaf+_0x4da692*H;}function on(_0x25283a,_0x1f0489){const _0x5809a6=_0xff19e8;let _0x24dc57=new Date(_0x25283a);return Date[_0x5809a6(0x231)](_0x24dc57[_0x5809a6(0x174)](),_0x24dc57[_0x5809a6(0x1af)]()+_0x1f0489,0x1);}function sn(_0x4f088f,_0x8818c7){const _0x13d0a6=_0xff19e8;let _0x1eb3b5=new Date(_0x4f088f);return Date['UTC'](_0x1eb3b5[_0x13d0a6(0x174)]()+_0x8818c7,0x0,0x1);}function cn(_0x58901b){const _0x2b6723=_0xff19e8;let _0x45bdee=new Date(_0x58901b);return _0x45bdee[_0x2b6723(0x280)](_0x2b6723(0x13c),{'month':_0x2b6723(0x438),'timeZone':_0x2b6723(0x231)})+'\x20'+_0x45bdee[_0x2b6723(0x174)]();}function ln(_0xdbc39a,_0x151460){const _0x5aec70=_0xff19e8;if(_0xdbc39a==null&&_0x151460==null)return 0x0;if(_0xdbc39a==null)return-0x1;if(_0x151460==null)return 0x1;if(typeof _0xdbc39a==_0x5aec70(0x3fe)||typeof _0x151460==_0x5aec70(0x3fe))return Number(_0xdbc39a===!0x0)-Number(_0x151460===!0x0);let _0x101267=Number(_0xdbc39a),_0x5e4f3e=Number(_0x151460),_0x256f7a=Number[_0x5aec70(0x21a)](_0x101267),_0x347c24=Number[_0x5aec70(0x21a)](_0x5e4f3e);return _0x256f7a&&_0x347c24?_0x101267-_0x5e4f3e:_0x256f7a?0x1:_0x347c24?-0x1:String(_0xdbc39a)[_0x5aec70(0x317)](String(_0x151460));}function un(_0x1603a4){const _0x481e3d=_0xff19e8;if(_0x1603a4[_0x481e3d(0x265)]!=='is'&&_0x1603a4[_0x481e3d(0x265)]!=='isNot')return!0x1;let _0x3b0e2d=_0x1603a4[_0x481e3d(0x273)];return _0x3b0e2d==null?!0x0:typeof _0x3b0e2d==_0x481e3d(0x149)?_0x3b0e2d['trim']()==='':Array[_0x481e3d(0x1b7)](_0x3b0e2d)?_0x3b0e2d[_0x481e3d(0x42b)]===0x0:!0x1;}function G(_0x768c9c,_0x5932d6){const _0x15efd0=_0xff19e8;var _0x1c8010;let _0x3af814=Array[_0x15efd0(0x1b7)]((_0x1c8010=_0x768c9c[_0x15efd0(0x412)])==null?void 0x0:_0x1c8010[_0x15efd0(0x30f)])?_0x768c9c[_0x15efd0(0x412)][_0x15efd0(0x30f)]:[];for(let _0x4c2352 of _0x3af814){var _0x4821ba,_0xbac557,_0xa65655,_0x291ee4;if(_0x4c2352==null)continue;if(typeof _0x4c2352=='string'){if(_0x4c2352===_0x5932d6)return{'id':_0x4c2352,'name':_0x4c2352};continue;}let _0x48ce58=_0x4c2352,_0x2fc97a=String((_0x4821ba=(_0xbac557=_0x48ce58['id'])==null?_0x48ce58[_0x15efd0(0x302)]:_0xbac557)==null?'':_0x4821ba),_0x10b3e1=String((_0xa65655=(_0x291ee4=_0x48ce58[_0x15efd0(0x302)])==null?_0x48ce58['id']:_0x291ee4)==null?_0x2fc97a:_0xa65655);if(_0x2fc97a===_0x5932d6||_0x10b3e1===_0x5932d6)return{'id':_0x2fc97a,'name':_0x10b3e1,'color':_0x48ce58[_0x15efd0(0x29d)]==null?void 0x0:String(_0x48ce58[_0x15efd0(0x29d)])};}return null;}const K={'id':'base.mutation.apply-base-json1','type':e[_0xff19e8(0x277)][_0xff19e8(0x22e)],'handler'(_0x32f3dc,_0x379266){const _0x4f4101=_0xff19e8;let {unitId:_0xfae221,op:_0x5cb024}=_0x379266,_0x6d095c=_0x32f3dc['get'](e[_0x4f4101(0x2b5)])['getUnit'](_0xfae221,e[_0x4f4101(0x2d7)]['UNIVER_BASE']);if(!_0x6d095c)return!0x1;let _0x359bfc=_0x6d095c['getSnapshot'](),_0x27363e=new w(),_0x24ce1d=_0x27363e['getAffectedRanges'](_0x5cb024),_0x38d85b=_0x27363e[_0x4f4101(0x119)](_0x359bfc,_0x5cb024);return _0x6d095c[_0x4f4101(0x229)](_0x38d85b),dn(_0x38d85b,_0x24ce1d,_0x32f3dc['get'](Ft)),!0x0;}};function dn(_0x426c7a,_0x3a43ca,_0x5ea2bc){const _0x25f920=_0xff19e8;let _0x162372=new Set();for(let _0x38a30f of _0x3a43ca){if(_0x38a30f[_0x25f920(0x1ef)]!=='cell'){_0x5ea2bc[_0x25f920(0x3bd)]();return;}let _0x4181e3=fn(_0x426c7a,_0x38a30f);if(!_0x4181e3){_0x5ea2bc['invalidateByOp']();return;}let _0x54baa0=_0x4181e3[_0x25f920(0x144)]+'\x00'+_0x4181e3['recordId']+'\x00'+_0x4181e3['fieldId'];_0x162372[_0x25f920(0x3d3)](_0x54baa0)||(_0x162372['add'](_0x54baa0),_0x5ea2bc[_0x25f920(0x422)](_0x4181e3[_0x25f920(0x144)],_0x4181e3[_0x25f920(0x379)],_0x4181e3[_0x25f920(0x3c2)]));}}function fn(_0x49a232,_0x51c68c){const _0x5f4970=_0xff19e8;var _0x355d8b,_0x36f1c6;if(!_0x51c68c[_0x5f4970(0x144)])return null;if(_0x51c68c[_0x5f4970(0x379)]&&_0x51c68c[_0x5f4970(0x3c2)])return{'tableId':_0x51c68c[_0x5f4970(0x144)],'recordId':_0x51c68c[_0x5f4970(0x379)],'fieldId':_0x51c68c[_0x5f4970(0x3c2)]};if(_0x51c68c['row']==null||_0x51c68c[_0x5f4970(0x16c)]==null)return null;let _0x1a942c=_0x49a232['tables'][_0x51c68c['tableId']],_0x1736d6=_0x1a942c==null||(_0x355d8b=_0x1a942c[_0x5f4970(0x250)])==null?void 0x0:_0x355d8b[_0x51c68c[_0x5f4970(0x20f)]],_0xc71530=_0x1a942c==null||(_0x36f1c6=_0x1a942c[_0x5f4970(0x1fc)])==null?void 0x0:_0x36f1c6[_0x51c68c[_0x5f4970(0x16c)]];return!_0x1736d6||!_0xc71530?null:{'tableId':_0x51c68c[_0x5f4970(0x144)],'recordId':_0x1736d6,'fieldId':_0xc71530};}const pn={'id':_0xff19e8(0x3e0),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x31d069,_0x5de1ae){const _0x55cbd6=_0xff19e8;if(!_0x5de1ae)return!0x1;let _0x516328=_0x31d069['get'](e[_0x55cbd6(0x2b5)]),{unitId:_0xb44468,tableId:_0x224fad,records:_0x40f5fd}=_0x5de1ae,_0x4882b3=_0x516328['getUnit'](_0xb44468,e[_0x55cbd6(0x2d7)][_0x55cbd6(0x2a3)]);if(!_0x4882b3)return!0x1;let _0x3ea34f=_0x31d069[_0x55cbd6(0x2e7)](e[_0x55cbd6(0x232)]),_0x23a0a5=_0x31d069['get'](e['IUndoRedoService']),_0x27e332=_0x31d069['get'](z)[_0x55cbd6(0x424)](_0x4882b3,_0x224fad,_0x40f5fd),_0x3da118=new w()[_0x55cbd6(0x35c)](_0x4882b3[_0x55cbd6(0x219)](),_0x27e332),_0x250e14={'unitId':_0xb44468,'op':_0x27e332},_0x1e8992={'unitId':_0xb44468,'op':_0x3da118};return _0x3ea34f[_0x55cbd6(0x325)](K['id'],_0x250e14)?(_0x516328[_0x55cbd6(0x32a)](_0xb44468),_0x23a0a5['pushUndoRedo']({'unitID':_0xb44468,'undoMutations':[{'id':K['id'],'params':_0x1e8992}],'redoMutations':[{'id':K['id'],'params':_0x250e14}]}),!0x0):!0x1;}},mn={'id':_0xff19e8(0x3c8),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x410e8f,_0x1d07bd)=>{const _0x11d4b6=_0xff19e8;if(!_0x1d07bd)return!0x1;let _0xd60afd=_0x410e8f[_0x11d4b6(0x2e7)](e[_0x11d4b6(0x2b5)]),{unitId:_0x3084d5,tableId:_0x51b169,recordIds:_0x21a375}=_0x1d07bd,_0x3fadbf=_0xd60afd['getUnit'](_0x3084d5,e[_0x11d4b6(0x2d7)]['UNIVER_BASE']);if(!_0x3fadbf)return!0x1;let _0x293f8d=_0x410e8f[_0x11d4b6(0x2e7)](e[_0x11d4b6(0x232)]),_0x4d9f01=_0x410e8f[_0x11d4b6(0x2e7)](e['IUndoRedoService']),_0x1a57d0=_0x3fadbf[_0x11d4b6(0x219)](),_0x577911=new M()['deleteRecords'](_0x1a57d0,_0x51b169,_0x21a375),_0x22baf0=new w()[_0x11d4b6(0x35c)](_0x1a57d0,_0x577911),_0x2895c1={'unitId':_0x3084d5,'op':_0x577911},_0x5bfc36={'unitId':_0x3084d5,'op':_0x22baf0};return _0x293f8d['syncExecuteCommand'](K['id'],_0x2895c1)?(_0xd60afd[_0x11d4b6(0x32a)](_0x3084d5),_0x4d9f01[_0x11d4b6(0x1f6)]({'unitID':_0x3084d5,'undoMutations':[{'id':K['id'],'params':_0x5bfc36}],'redoMutations':[{'id':K['id'],'params':_0x2895c1}]}),!0x0):!0x1;}},hn={'id':_0xff19e8(0x241),'type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x5aa40f,_0x96a904)=>{const _0x3aaf3b=_0xff19e8;if(!_0x96a904)return!0x1;let _0x55f922=_0x5aa40f[_0x3aaf3b(0x2e7)](e[_0x3aaf3b(0x2b5)]),{unitId:_0x5fc9fe,tableId:_0x50c0be,fieldId:_0x3d5556,input:_0x2c088e}=_0x96a904,_0x1e0f1b=_0x55f922[_0x3aaf3b(0x132)](_0x5fc9fe,e[_0x3aaf3b(0x2d7)][_0x3aaf3b(0x2a3)]);if(!_0x1e0f1b)return!0x1;let _0x5a2b12=_0x5aa40f['get'](e[_0x3aaf3b(0x232)]),_0x3610c5=_0x5aa40f[_0x3aaf3b(0x2e7)](e[_0x3aaf3b(0x224)]),_0x328bc0=_0x1e0f1b['getSnapshot'](),_0x3c5c1a=new M()[_0x3aaf3b(0x303)](_0x328bc0,_0x50c0be,_0x3d5556,_0x2c088e),_0x5acf6b=new w()['invertOp'](_0x328bc0,_0x3c5c1a),_0x48e5ca={'unitId':_0x5fc9fe,'op':_0x3c5c1a},_0x25129a={'unitId':_0x5fc9fe,'op':_0x5acf6b};return _0x5a2b12[_0x3aaf3b(0x325)](K['id'],_0x48e5ca)?(_0x55f922['focusUnit'](_0x5fc9fe),_0x3610c5['pushUndoRedo']({'unitID':_0x5fc9fe,'undoMutations':[{'id':K['id'],'params':_0x25129a}],'redoMutations':[{'id':K['id'],'params':_0x48e5ca}]}),!0x0):!0x1;}},gn={'id':'base.command.create-base-field','type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x3d22a4,_0x5a4d93){const _0xb4705f=_0xff19e8;if(!_0x5a4d93)return!0x1;let _0x29b30c=_0x3d22a4['get'](e[_0xb4705f(0x2b5)]),{unitId:_0x99d109,tableId:_0x400111,field:_0x4b25f4,index:_0x3a8fde,viewIndexes:_0x46fafa}=_0x5a4d93,_0x751705=_0x29b30c['getUnit'](_0x99d109,e[_0xb4705f(0x2d7)][_0xb4705f(0x2a3)]);if(!_0x751705)return!0x1;let _0x1da70b=_0x3d22a4[_0xb4705f(0x2e7)](e[_0xb4705f(0x232)]),_0x3286f3=_0x3d22a4['get'](e[_0xb4705f(0x224)]),_0x51474a=_0x3d22a4[_0xb4705f(0x2e7)](z)[_0xb4705f(0x142)](_0x751705,_0x400111,_0x4b25f4,_0x3a8fde,_0x46fafa),_0x4db6db=new w()[_0xb4705f(0x35c)](_0x751705['getSnapshot'](),_0x51474a),_0x4863ef={'unitId':_0x99d109,'op':_0x51474a},_0x40a4e3={'unitId':_0x99d109,'op':_0x4db6db};return _0x1da70b[_0xb4705f(0x325)](K['id'],_0x4863ef)?(_0x29b30c[_0xb4705f(0x32a)](_0x99d109),_0x3286f3['pushUndoRedo']({'unitID':_0x99d109,'undoMutations':[{'id':K['id'],'params':_0x40a4e3}],'redoMutations':[{'id':K['id'],'params':_0x4863ef}]}),!0x0):!0x1;}},_n={'id':_0xff19e8(0x150),'type':e[_0xff19e8(0x277)]['COMMAND'],'handler'(_0x364b0e,_0x41cae5){const _0x3ffafa=_0xff19e8;if(!_0x41cae5)return!0x1;let _0x136dc6=_0x364b0e['get'](e[_0x3ffafa(0x2b5)]),{unitId:_0x52f673,tableId:_0x560b2d,record:_0x238dc1}=_0x41cae5,_0x4bcf98=_0x136dc6[_0x3ffafa(0x132)](_0x52f673,e['UniverInstanceType'][_0x3ffafa(0x2a3)]);if(!_0x4bcf98)return!0x1;let _0x2f2fa4=_0x364b0e['get'](e[_0x3ffafa(0x232)]),_0x53a45e=_0x364b0e['get'](e[_0x3ffafa(0x224)]),_0x219d72=_0x364b0e[_0x3ffafa(0x2e7)](z)['createCreateRecordOp'](_0x4bcf98,_0x560b2d,_0x238dc1),_0x33ade7=new w()[_0x3ffafa(0x35c)](_0x4bcf98[_0x3ffafa(0x219)](),_0x219d72),_0x3ca8f1={'unitId':_0x52f673,'op':_0x219d72},_0xa2203a={'unitId':_0x52f673,'op':_0x33ade7};return _0x2f2fa4[_0x3ffafa(0x325)](K['id'],_0x3ca8f1)?(_0x136dc6['focusUnit'](_0x52f673),_0x53a45e[_0x3ffafa(0x1f6)]({'unitID':_0x52f673,'undoMutations':[{'id':K['id'],'params':_0xa2203a}],'redoMutations':[{'id':K['id'],'params':_0x3ca8f1}]}),!0x0):!0x1;}},vn={'id':_0xff19e8(0x218),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x4d8730,_0x2b9fd5)=>{const _0x45d05f=_0xff19e8;if(!_0x2b9fd5)return!0x1;let _0x588e3e=_0x4d8730[_0x45d05f(0x2e7)](e[_0x45d05f(0x2b5)]),{unitId:_0x4c71e1,table:_0x5e7c9f,index:_0x2094ee}=_0x2b9fd5,_0x38a2fb=_0x588e3e['getUnit'](_0x4c71e1,e[_0x45d05f(0x2d7)][_0x45d05f(0x2a3)]);if(!_0x38a2fb)return!0x1;let _0x188761=_0x4d8730[_0x45d05f(0x2e7)](e[_0x45d05f(0x232)]),_0x47c9a3=_0x4d8730[_0x45d05f(0x2e7)](e[_0x45d05f(0x224)]),_0x46bd68=_0x38a2fb[_0x45d05f(0x219)](),_0x63092=new M()[_0x45d05f(0x2ae)](_0x46bd68,_0x5e7c9f,_0x2094ee),_0x40694e=new w()[_0x45d05f(0x35c)](_0x46bd68,_0x63092),_0x38459a={'unitId':_0x4c71e1,'op':_0x63092},_0x5b89fd={'unitId':_0x4c71e1,'op':_0x40694e};return _0x188761[_0x45d05f(0x325)](K['id'],_0x38459a)?(_0x588e3e[_0x45d05f(0x32a)](_0x4c71e1),_0x47c9a3[_0x45d05f(0x1f6)]({'unitID':_0x4c71e1,'undoMutations':[{'id':K['id'],'params':_0x5b89fd}],'redoMutations':[{'id':K['id'],'params':_0x38459a}]}),!0x0):!0x1;}};function yn(_0x50c195,_0x4e9af9,_0x29dfef=[]){const _0x3a47a7=_0xff19e8;let _0x3ff022=new Set([...Object[_0x3a47a7(0x19c)](_0x50c195[_0x3a47a7(0x307)])[_0x3a47a7(0x1b3)](_0x268e96=>_0x268e96&&!_0x268e96[_0x3a47a7(0x3ad)])[_0x3a47a7(0x173)](_0x35583f=>_0x35583f[_0x3a47a7(0x302)]),..._0x29dfef[_0x3a47a7(0x173)](_0x5b13da=>_0x5b13da['name'])]);if(!_0x3ff022['has'](_0x4e9af9))return _0x4e9af9;let _0x95e4db=0x2;for(;_0x3ff022[_0x3a47a7(0x3d3)](_0x4e9af9+'\x20'+_0x95e4db);)_0x95e4db++;return _0x4e9af9+'\x20'+_0x95e4db;}function bn(_0x17612f,_0x555c15){const _0x509de2=_0xff19e8;if(!_0x17612f||!_0x555c15[_0x509de2(0x42b)])return;let _0x3ee78b=[..._0x17612f];return _0x555c15[_0x509de2(0x1a6)](_0x155fcf=>{const _0x156d34=_0x509de2;_0x3ee78b['includes'](_0x155fcf)||_0x3ee78b[_0x156d34(0x36d)](_0x155fcf);}),_0x3ee78b;}const xn={'options':[{'id':_0xff19e8(0x2ab),'name':_0xff19e8(0x2ac),'color':_0xff19e8(0x31e)},{'id':_0xff19e8(0x378),'name':_0xff19e8(0x31b),'color':_0xff19e8(0x171)},{'id':_0xff19e8(0x207),'name':_0xff19e8(0x257),'color':_0xff19e8(0x124)}]},Sn={'locale':_0xff19e8(0x13c),'pattern':_0xff19e8(0x1fe),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0xff19e8(0x270)};function Cn(_0x12c45c,_0x5ee706,_0x125e3c,_0x568a60){const _0x3eee8a=_0xff19e8;var _0x433964;let _0x1f3b52=new M(),_0x338407=_0x12c45c[_0x3eee8a(0x1ee)][_0x5ee706];if(_0x338407&&_0x125e3c['type']==='kanban'){var _0x425165;let _0x1e0aa1=Tn(_0x338407,_0x125e3c),_0xe2cc56=_0x1e0aa1[_0x3eee8a(0x373)]?{..._0x125e3c,'config':_0x1e0aa1[_0x3eee8a(0x412)],'fieldOrder':(_0x425165=_0x1e0aa1[_0x3eee8a(0x187)])==null?_0x125e3c[_0x3eee8a(0x187)]:_0x425165}:_0x125e3c;return j([..._0x1e0aa1[_0x3eee8a(0x307)]['map'](_0x227788=>_0x1f3b52[_0x3eee8a(0x20e)](_0x12c45c,_0x5ee706,{'field':_0x227788})),_0x1f3b52[_0x3eee8a(0x266)](_0x12c45c,_0x5ee706,_0xe2cc56,_0x568a60)]);}if(!_0x338407||_0x125e3c[_0x3eee8a(0x278)]!==_0x3eee8a(0x240)&&_0x125e3c[_0x3eee8a(0x278)]!==_0x3eee8a(0x310))return _0x1f3b52[_0x3eee8a(0x266)](_0x12c45c,_0x5ee706,_0x125e3c,_0x568a60);let _0x2bb7e8=wn(_0x338407,_0x125e3c),_0x34fd76=_0x2bb7e8[_0x3eee8a(0x373)]?{..._0x125e3c,'config':_0x2bb7e8[_0x3eee8a(0x412)],'fieldOrder':(_0x433964=_0x2bb7e8[_0x3eee8a(0x187)])==null?_0x125e3c[_0x3eee8a(0x187)]:_0x433964}:_0x125e3c;return _0x125e3c[_0x3eee8a(0x278)]==='gantt'&&On(_0x125e3c)&&(_0x34fd76=kn(_0x338407,_0x34fd76,_0x2bb7e8[_0x3eee8a(0x307)])),j([..._0x2bb7e8[_0x3eee8a(0x307)]['map'](_0x5b9ff3=>_0x1f3b52[_0x3eee8a(0x20e)](_0x12c45c,_0x5ee706,{'field':_0x5b9ff3})),_0x1f3b52[_0x3eee8a(0x266)](_0x12c45c,_0x5ee706,_0x34fd76,_0x568a60)]);}function wn(_0x2cf85f,_0xb319cd,_0x5746c0=!0x1){const _0x1edd82=_0xff19e8;var _0x3908c1,_0x502fcb,_0x3ad441,_0x51ca44;let _0x57ecfc=_0x2cf85f['fieldOrder'][_0x1edd82(0x1b3)](_0x16e5ea=>jn(_0x2cf85f,_0x16e5ea)),_0x40559d=[],_0x64c88e={...(_0x3908c1=_0xb319cd[_0x1edd82(0x412)])==null?{}:_0x3908c1},_0x29ace1=typeof _0x64c88e[_0x1edd82(0x1c3)]==_0x1edd82(0x149)&&jn(_0x2cf85f,_0x64c88e[_0x1edd82(0x1c3)])?_0x64c88e['startDateFieldId']:_0x57ecfc[0x0],_0x39361f=typeof _0x64c88e[_0x1edd82(0x3bf)]=='string'&&jn(_0x2cf85f,_0x64c88e[_0x1edd82(0x3bf)])&&_0x64c88e['endDateFieldId']!==_0x29ace1?_0x64c88e[_0x1edd82(0x3bf)]:_0x57ecfc[_0x1edd82(0x2af)](_0x8fa38e=>_0x8fa38e!==_0x29ace1);if(!_0x29ace1){let _0x24023e=Mn(_0x2cf85f,_0x40559d,_0xb319cd[_0x1edd82(0x278)]==='gantt'?_0x1edd82(0x2d4):'Date');_0x40559d['push'](_0x24023e),_0x29ace1=_0x24023e['id'];}if((_0xb319cd[_0x1edd82(0x278)]===_0x1edd82(0x310)||_0x5746c0)&&!_0x39361f){let _0x56dfd8=Mn(_0x2cf85f,_0x40559d,_0x1edd82(0x1f0));_0x40559d[_0x1edd82(0x36d)](_0x56dfd8),_0x39361f=_0x56dfd8['id'];}if(_0xb319cd[_0x1edd82(0x278)]==='calendar'&&!_0x39361f&&delete _0x64c88e[_0x1edd82(0x3bf)],_0x64c88e['startDateFieldId']=_0x29ace1,_0xb319cd['type']==='calendar'&&_0x39361f&&(_0x64c88e[_0x1edd82(0x3bf)]=_0x39361f),_0xb319cd['type']===_0x1edd82(0x310)){var _0x3218cb;_0x64c88e[_0x1edd82(0x3bf)]=(_0x3218cb=_0x39361f)==null?_0x29ace1:_0x3218cb;}let _0x32acc9=bn(_0xb319cd['fieldOrder'],_0x40559d[_0x1edd82(0x173)](_0x51fc0a=>_0x51fc0a['id']));return{'changed':_0x40559d[_0x1edd82(0x42b)]>0x0||_0x64c88e['startDateFieldId']!==((_0x502fcb=_0xb319cd[_0x1edd82(0x412)])==null?void 0x0:_0x502fcb[_0x1edd82(0x1c3)])||_0x64c88e['endDateFieldId']!==((_0x3ad441=_0xb319cd['config'])==null?void 0x0:_0x3ad441['endDateFieldId'])||!!(_0x32acc9&&!e[_0x1edd82(0x428)][_0x1edd82(0x1d5)](_0x32acc9,(_0x51ca44=_0xb319cd[_0x1edd82(0x187)])==null?[]:_0x51ca44)),'fields':_0x40559d,'config':_0x64c88e,'fieldOrder':_0x32acc9};}function Tn(_0x5b3b8f,_0x179a4f){const _0x5a2aa3=_0xff19e8;var _0x1ff958,_0x404bb1,_0x2fcf1d;let _0x5bce5f=[],_0x82f0ee={...(_0x1ff958=_0x179a4f[_0x5a2aa3(0x412)])==null?{}:_0x1ff958},_0x15afde=typeof _0x82f0ee['groupFieldId']==_0x5a2aa3(0x149)&&En(_0x5b3b8f,_0x82f0ee[_0x5a2aa3(0x3f2)])?_0x82f0ee[_0x5a2aa3(0x3f2)]:_0x5b3b8f[_0x5a2aa3(0x187)][_0x5a2aa3(0x2af)](_0x2995d8=>En(_0x5b3b8f,_0x2995d8));if(!_0x15afde){let _0x2cb8f3=Dn(_0x5b3b8f,_0x5bce5f);_0x5bce5f['push'](_0x2cb8f3),_0x15afde=_0x2cb8f3['id'];}_0x82f0ee[_0x5a2aa3(0x3f2)]=_0x15afde;let _0x4c0aed=bn(_0x179a4f['fieldOrder'],_0x5bce5f[_0x5a2aa3(0x173)](_0x43b719=>_0x43b719['id']));return{'changed':_0x5bce5f[_0x5a2aa3(0x42b)]>0x0||_0x82f0ee[_0x5a2aa3(0x3f2)]!==((_0x404bb1=_0x179a4f[_0x5a2aa3(0x412)])==null?void 0x0:_0x404bb1['groupFieldId'])||!!(_0x4c0aed&&!e[_0x5a2aa3(0x428)][_0x5a2aa3(0x1d5)](_0x4c0aed,(_0x2fcf1d=_0x179a4f[_0x5a2aa3(0x187)])==null?[]:_0x2fcf1d)),'fields':_0x5bce5f,'config':_0x82f0ee,'fieldOrder':_0x4c0aed};}function En(_0x93f79b,_0x576731){const _0x2fa0bf=_0xff19e8;let _0x2cfdb7=_0x576731?_0x93f79b['fields'][_0x576731]:null;return!_0x2cfdb7||_0x2cfdb7[_0x2fa0bf(0x3ad)]?!0x1:[_0x2fa0bf(0x1ad),_0x2fa0bf(0x230),'rating',_0x2fa0bf(0x28d),_0x2fa0bf(0x163),'checkbox'][_0x2fa0bf(0x1cc)](_0x2cfdb7[_0x2fa0bf(0x278)]);}function Dn(_0x301b19,_0x11cc0d){const _0x9968ae=_0xff19e8;return{'id':'fld-'+(0x0,e[_0x9968ae(0x2c9)])(0x8),'name':yn(_0x301b19,_0x9968ae(0x34a),_0x11cc0d),'type':_0x9968ae(0x1ad),'config':e[_0x9968ae(0x428)][_0x9968ae(0x353)](xn)};}function On(_0x50b76d){const _0xd398bb=_0xff19e8;var _0x854bfa,_0x11d1e6;return Object['keys']((_0x854bfa=_0x50b76d[_0xd398bb(0x412)])==null?{}:_0x854bfa)[_0xd398bb(0x42b)]===0x0&&Object[_0xd398bb(0x416)]((_0x11d1e6=_0x50b76d[_0xd398bb(0x2f4)])==null?{}:_0x11d1e6)[_0xd398bb(0x42b)]===0x0;}function kn(_0x44f071,_0x6da8fe,_0x262868){const _0x550111=_0xff19e8;var _0x403e6b;let _0x3c6be0={...(_0x403e6b=_0x6da8fe[_0x550111(0x412)])==null?{}:_0x403e6b},_0x2f8345=_0x262868[_0x550111(0x173)](_0x5538ba=>_0x5538ba['id']),_0x22cebe=[..._0x44f071['fieldOrder'],..._0x2f8345],_0x5f40df=typeof _0x3c6be0[_0x550111(0x39e)]==_0x550111(0x149)&&An(_0x44f071,_0x262868,_0x3c6be0[_0x550111(0x39e)])?_0x3c6be0[_0x550111(0x39e)]:_0x44f071[_0x550111(0x14f)],_0x349fbf=typeof _0x3c6be0[_0x550111(0x1c3)]==_0x550111(0x149)?_0x3c6be0['startDateFieldId']:'',_0x3ebd60=typeof _0x3c6be0[_0x550111(0x3bf)]==_0x550111(0x149)?_0x3c6be0[_0x550111(0x3bf)]:_0x349fbf,_0x3cbe38=new Set([_0x5f40df,_0x349fbf,_0x3ebd60][_0x550111(0x1b3)](_0x2dbfe0=>_0x2dbfe0&&An(_0x44f071,_0x262868,_0x2dbfe0))),_0x34f7c9=Object['fromEntries'](_0x22cebe[_0x550111(0x246)](_0x1ba939=>_0x3cbe38[_0x550111(0x3d3)](_0x1ba939)||!An(_0x44f071,_0x262868,_0x1ba939)?[]:[[_0x1ba939,{'hidden':!0x0}]]));return{..._0x6da8fe,'config':{..._0x3c6be0,'titleFieldId':_0x5f40df},'fieldSettings':_0x34f7c9};}function An(_0x506c8b,_0x618895,_0x22a4eb){const _0x35d4d4=_0xff19e8;var _0x2a279b;let _0x29a15a=(_0x2a279b=_0x506c8b['fields'][_0x22a4eb])==null?_0x618895[_0x35d4d4(0x2af)](_0x5c5552=>_0x5c5552['id']===_0x22a4eb):_0x2a279b;return!!_0x29a15a&&_0x29a15a[_0x35d4d4(0x3ad)]!==!0x0;}function jn(_0x4e21d1,_0xede39){const _0x1c0133=_0xff19e8;let _0x532d43=_0xede39?_0x4e21d1['fields'][_0xede39]:null;return!!_0x532d43&&!_0x532d43['deleted']&&_0x532d43[_0x1c0133(0x278)]===_0x1c0133(0x38a)&&_0x532d43[_0x1c0133(0x320)]!==!0x0&&_0x532d43[_0x1c0133(0x13a)]!==!0x0;}function Mn(_0x3997ca,_0x3f1ed5,_0x5ae94d){const _0x268b4b=_0xff19e8;let _0x373471=new Set([...Object[_0x268b4b(0x416)](_0x3997ca['fields']),..._0x3f1ed5['map'](_0xea6116=>_0xea6116['id'])]),_0x12a129='fld-'+(0x0,e[_0x268b4b(0x2c9)])(0x8);for(;_0x373471[_0x268b4b(0x3d3)](_0x12a129);)_0x12a129=_0x268b4b(0x3db)+(0x0,e[_0x268b4b(0x2c9)])(0x8);return{'id':_0x12a129,'name':yn(_0x3997ca,_0x5ae94d,_0x3f1ed5),'type':'date','config':{...Sn}};}const Nn={'id':'base.command.create-base-view','type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x5baab5,_0x47843f)=>{const _0x8b3ca0=_0xff19e8;if(!_0x47843f)return!0x1;let _0x382aa2=_0x5baab5['get'](e[_0x8b3ca0(0x2b5)]),{unitId:_0x76cb9f,tableId:_0x20ea5f,view:_0x4046af,index:_0x1a1f7e}=_0x47843f,_0xfdec73=_0x382aa2['getUnit'](_0x76cb9f,e[_0x8b3ca0(0x2d7)][_0x8b3ca0(0x2a3)]);if(!_0xfdec73)return!0x1;let _0x58f420=_0x5baab5[_0x8b3ca0(0x2e7)](e['ICommandService']),_0x1c8366=_0x5baab5[_0x8b3ca0(0x2e7)](e[_0x8b3ca0(0x224)]),_0x11d258=_0xfdec73[_0x8b3ca0(0x219)](),_0x541b16=Cn(_0x11d258,_0x20ea5f,_0x4046af,_0x1a1f7e),_0x58e9=new w()['invertOp'](_0x11d258,_0x541b16),_0x39fc7b={'unitId':_0x76cb9f,'op':_0x541b16},_0x361085={'unitId':_0x76cb9f,'op':_0x58e9};return _0x58f420[_0x8b3ca0(0x325)](K['id'],_0x39fc7b)?(_0x382aa2[_0x8b3ca0(0x32a)](_0x76cb9f),_0x1c8366[_0x8b3ca0(0x1f6)]({'unitID':_0x76cb9f,'undoMutations':[{'id':K['id'],'params':_0x361085}],'redoMutations':[{'id':K['id'],'params':_0x39fc7b}]}),!0x0):!0x1;}},Pn={'id':_0xff19e8(0x1e6),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x17459a,_0x564d98){const _0x3c228b=_0xff19e8;if(!_0x564d98)return!0x1;let _0x544519=_0x17459a[_0x3c228b(0x2e7)](e[_0x3c228b(0x2b5)]),{unitId:_0x1cfef2,tableId:_0x4e73cb,fieldId:_0x3366cb}=_0x564d98,_0x186c02=_0x544519[_0x3c228b(0x132)](_0x1cfef2,e[_0x3c228b(0x2d7)]['UNIVER_BASE']);if(!_0x186c02)return!0x1;let _0x1d2f63=_0x186c02[_0x3c228b(0x219)](),_0x266744=_0x1d2f63[_0x3c228b(0x1ee)][_0x4e73cb];if(!_0x266744||_0x266744[_0x3c228b(0x14f)]===_0x3366cb)return!0x1;let _0x3c3e70=_0x17459a[_0x3c228b(0x2e7)](e['ICommandService']),_0x430693=_0x17459a[_0x3c228b(0x2e7)](e[_0x3c228b(0x224)]),_0x2d76e4=new M()[_0x3c228b(0x217)](_0x1d2f63,_0x4e73cb,_0x3366cb),_0x596048=new w()[_0x3c228b(0x35c)](_0x1d2f63,_0x2d76e4),_0x34d1cb={'unitId':_0x1cfef2,'op':_0x2d76e4},_0x502a8f={'unitId':_0x1cfef2,'op':_0x596048};return _0x3c3e70[_0x3c228b(0x325)](K['id'],_0x34d1cb)?(_0x544519[_0x3c228b(0x32a)](_0x1cfef2),_0x430693[_0x3c228b(0x1f6)]({'unitID':_0x1cfef2,'undoMutations':[{'id':K['id'],'params':_0x502a8f}],'redoMutations':[{'id':K['id'],'params':_0x34d1cb}]}),!0x0):!0x1;}},Fn={'id':_0xff19e8(0x1f7),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x2fe3c9,_0x348dda)=>{const _0x43a86e=_0xff19e8;if(!_0x348dda)return!0x1;let _0x45af5c=_0x2fe3c9['get'](e[_0x43a86e(0x2b5)]),{unitId:_0x3c2546,tableId:_0x357969,recordId:_0xd86b6b}=_0x348dda,_0x1d3ffd=_0x45af5c[_0x43a86e(0x132)](_0x3c2546,e['UniverInstanceType'][_0x43a86e(0x2a3)]);if(!_0x1d3ffd)return!0x1;let _0x7147e1=_0x2fe3c9['get'](e['ICommandService']),_0x4f3bc9=_0x2fe3c9[_0x43a86e(0x2e7)](e['IUndoRedoService']),_0x4dc9f0=_0x1d3ffd[_0x43a86e(0x219)](),_0x2dc053=new M()[_0x43a86e(0x205)](_0x4dc9f0,_0x357969,_0xd86b6b),_0x5af8fb=new w()['invertOp'](_0x4dc9f0,_0x2dc053),_0x43c338={'unitId':_0x3c2546,'op':_0x2dc053},_0x720cf1={'unitId':_0x3c2546,'op':_0x5af8fb};return _0x7147e1[_0x43a86e(0x325)](K['id'],_0x43c338)?(_0x45af5c[_0x43a86e(0x32a)](_0x3c2546),_0x4f3bc9['pushUndoRedo']({'unitID':_0x3c2546,'undoMutations':[{'id':K['id'],'params':_0x720cf1}],'redoMutations':[{'id':K['id'],'params':_0x43c338}]}),!0x0):!0x1;}},In={'id':'base.command.delete-base-table','type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x3ff80f,_0x1c34eb)=>{const _0x1c28fa=_0xff19e8;if(!_0x1c34eb)return!0x1;let _0x20f4ce=_0x3ff80f[_0x1c28fa(0x2e7)](e[_0x1c28fa(0x2b5)]),{unitId:_0x279c12,tableId:_0x2bb565}=_0x1c34eb,_0x4142f4=_0x20f4ce[_0x1c28fa(0x132)](_0x279c12,e[_0x1c28fa(0x2d7)][_0x1c28fa(0x2a3)]);if(!_0x4142f4)return!0x1;let _0x1b5bf1=_0x3ff80f['get'](e['ICommandService']),_0x137320=_0x3ff80f[_0x1c28fa(0x2e7)](e[_0x1c28fa(0x224)]),_0x3dff3c=_0x4142f4[_0x1c28fa(0x219)](),_0x56e962=new M()[_0x1c28fa(0x34f)](_0x3dff3c,_0x2bb565),_0x295923=new w()[_0x1c28fa(0x35c)](_0x3dff3c,_0x56e962),_0x49843b={'unitId':_0x279c12,'op':_0x56e962},_0x2b8d71={'unitId':_0x279c12,'op':_0x295923};return _0x1b5bf1[_0x1c28fa(0x325)](K['id'],_0x49843b)?(_0x20f4ce['focusUnit'](_0x279c12),_0x137320[_0x1c28fa(0x1f6)]({'unitID':_0x279c12,'undoMutations':[{'id':K['id'],'params':_0x2b8d71}],'redoMutations':[{'id':K['id'],'params':_0x49843b}]}),!0x0):!0x1;}},Ln={'id':_0xff19e8(0x305),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x40a20e,_0x58eee2)=>{const _0x4ab938=_0xff19e8;if(!_0x58eee2)return!0x1;let _0x38b7dc=_0x40a20e[_0x4ab938(0x2e7)](e[_0x4ab938(0x2b5)]),{unitId:_0x22ac6f,tableId:_0x109dd9,viewId:_0x5534f5}=_0x58eee2,_0x38e21c=_0x38b7dc['getUnit'](_0x22ac6f,e[_0x4ab938(0x2d7)][_0x4ab938(0x2a3)]);if(!_0x38e21c)return!0x1;let _0x282a86=_0x40a20e[_0x4ab938(0x2e7)](e[_0x4ab938(0x232)]),_0x2a63be=_0x40a20e[_0x4ab938(0x2e7)](e[_0x4ab938(0x224)]),_0x5d6b0d=_0x38e21c[_0x4ab938(0x219)](),_0x2a4c56=new M()[_0x4ab938(0x3a1)](_0x5d6b0d,_0x109dd9,_0x5534f5),_0x412c4e=new w()['invertOp'](_0x5d6b0d,_0x2a4c56),_0x582642={'unitId':_0x22ac6f,'op':_0x2a4c56},_0x349696={'unitId':_0x22ac6f,'op':_0x412c4e};return _0x282a86[_0x4ab938(0x325)](K['id'],_0x582642)?(_0x38b7dc['focusUnit'](_0x22ac6f),_0x2a63be[_0x4ab938(0x1f6)]({'unitID':_0x22ac6f,'undoMutations':[{'id':K['id'],'params':_0x349696}],'redoMutations':[{'id':K['id'],'params':_0x582642}]}),!0x0):!0x1;}},Rn={'id':_0xff19e8(0x299),'type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x5e653b,_0x43dcbf)=>{const _0x130c13=_0xff19e8;if(!_0x43dcbf)return!0x1;let _0x4b9d4a=_0x5e653b[_0x130c13(0x2e7)](e[_0x130c13(0x2b5)]),{unitId:_0x2bd4b5,tableId:_0x15ef76,sourceFieldId:_0xa36f37,field:_0x2ede64,index:_0x22f973,viewIndexes:_0x3583e9}=_0x43dcbf,_0x56584c=_0x4b9d4a['getUnit'](_0x2bd4b5,e[_0x130c13(0x2d7)]['UNIVER_BASE']);if(!_0x56584c)return!0x1;let _0x4d550a=_0x5e653b['get'](e[_0x130c13(0x232)]),_0x23006e=_0x5e653b[_0x130c13(0x2e7)](e[_0x130c13(0x224)]),_0x46f93d=_0x56584c[_0x130c13(0x219)](),_0x4779b2=new M()[_0x130c13(0x135)](_0x46f93d,_0x15ef76,_0xa36f37,{'field':_0x2ede64,'index':_0x22f973,'viewIndexes':_0x3583e9}),_0x32ad3e=new w()[_0x130c13(0x35c)](_0x46f93d,_0x4779b2),_0x581399={'unitId':_0x2bd4b5,'op':_0x4779b2},_0x2d0ccc={'unitId':_0x2bd4b5,'op':_0x32ad3e};return _0x4d550a[_0x130c13(0x325)](K['id'],_0x581399)?(_0x4b9d4a[_0x130c13(0x32a)](_0x2bd4b5),_0x23006e[_0x130c13(0x1f6)]({'unitID':_0x2bd4b5,'undoMutations':[{'id':K['id'],'params':_0x2d0ccc}],'redoMutations':[{'id':K['id'],'params':_0x581399}]}),!0x0):!0x1;}},zn={'id':'base.command.duplicate-base-record','type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x4b5a7c,_0x1cfbd7)=>{const _0x506b35=_0xff19e8;if(!_0x1cfbd7)return!0x1;let _0x5188e9=_0x4b5a7c[_0x506b35(0x2e7)](e[_0x506b35(0x2b5)]),{unitId:_0x21fb03,tableId:_0x29947f,sourceRecordId:_0x16440d,record:_0x72efaf}=_0x1cfbd7,_0x547b6f=_0x5188e9['getUnit'](_0x21fb03,e[_0x506b35(0x2d7)]['UNIVER_BASE']);if(!_0x547b6f)return!0x1;let _0x1e0fc0=_0x4b5a7c[_0x506b35(0x2e7)](e['ICommandService']),_0x5cafe2=_0x4b5a7c[_0x506b35(0x2e7)](e[_0x506b35(0x224)]),_0x5697ee=_0x547b6f['getSnapshot'](),_0x355cb3=new M()['duplicateRecord'](_0x5697ee,_0x29947f,_0x16440d,_0x72efaf),_0x3b0837=new w()[_0x506b35(0x35c)](_0x5697ee,_0x355cb3),_0x7b4ec={'unitId':_0x21fb03,'op':_0x355cb3},_0x470342={'unitId':_0x21fb03,'op':_0x3b0837};return _0x1e0fc0['syncExecuteCommand'](K['id'],_0x7b4ec)?(_0x5188e9[_0x506b35(0x32a)](_0x21fb03),_0x5cafe2[_0x506b35(0x1f6)]({'unitID':_0x21fb03,'undoMutations':[{'id':K['id'],'params':_0x470342}],'redoMutations':[{'id':K['id'],'params':_0x7b4ec}]}),!0x0):!0x1;}},Bn={'id':_0xff19e8(0x377),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x190c84,_0xb5eb33){const _0x2a4dd6=_0xff19e8;if(!_0xb5eb33)return!0x1;let _0x2b6047=_0x190c84[_0x2a4dd6(0x2e7)](e[_0x2a4dd6(0x2b5)]),{unitId:_0x24e27a,tableId:_0x5d639d,viewId:_0xc393ec,ensureEndDateField:_0x1aca58}=_0xb5eb33,_0x67aaa9=_0x2b6047[_0x2a4dd6(0x132)](_0x24e27a,e[_0x2a4dd6(0x2d7)]['UNIVER_BASE']);if(!_0x67aaa9)return!0x1;let _0x490cf5=_0x67aaa9[_0x2a4dd6(0x219)](),_0x1c8d1a=_0x490cf5['tables'][_0x5d639d],_0x6aa830=_0x1c8d1a==null?void 0x0:_0x1c8d1a[_0x2a4dd6(0x2f9)][_0xc393ec];if(!_0x1c8d1a||!_0x6aa830||_0x6aa830[_0x2a4dd6(0x3ad)]||_0x6aa830[_0x2a4dd6(0x278)]!==_0x2a4dd6(0x240)&&_0x6aa830[_0x2a4dd6(0x278)]!==_0x2a4dd6(0x310))return!0x1;let _0x4a9830=wn(_0x1c8d1a,_0x6aa830,_0x1aca58===!0x0);if(!_0x4a9830['changed'])return!0x1;let _0x29d624=_0x190c84[_0x2a4dd6(0x2e7)](e['ICommandService']),_0x68b6ae=_0x190c84['get'](e[_0x2a4dd6(0x224)]),_0x11d1ad=new M(),_0x419464=[..._0x4a9830['fields']['map'](_0x1c9557=>_0x11d1ad[_0x2a4dd6(0x20e)](_0x490cf5,_0xb5eb33[_0x2a4dd6(0x144)],{'field':_0x1c9557})),Vn([...Hn(_0xb5eb33[_0x2a4dd6(0x144)],_0xb5eb33[_0x2a4dd6(0x35e)]),'config'],_0x6aa830[_0x2a4dd6(0x412)],_0x4a9830[_0x2a4dd6(0x412)])];_0x4a9830[_0x2a4dd6(0x187)]&&_0x419464[_0x2a4dd6(0x36d)](Vn([...Hn(_0xb5eb33[_0x2a4dd6(0x144)],_0xb5eb33['viewId']),_0x2a4dd6(0x187)],_0x6aa830[_0x2a4dd6(0x187)],_0x4a9830[_0x2a4dd6(0x187)]));let _0x34cf91=j(_0x419464),_0x1960a8=new w()[_0x2a4dd6(0x35c)](_0x490cf5,_0x34cf91),_0x40338b={'unitId':_0x24e27a,'op':_0x34cf91},_0x24d036={'unitId':_0x24e27a,'op':_0x1960a8};return _0x29d624[_0x2a4dd6(0x325)](K['id'],_0x40338b)?(_0x2b6047[_0x2a4dd6(0x32a)](_0x24e27a),_0x68b6ae[_0x2a4dd6(0x1f6)]({'unitID':_0x24e27a,'undoMutations':[{'id':K['id'],'params':_0x24d036}],'redoMutations':[{'id':K['id'],'params':_0x40338b}]}),!0x0):!0x1;}};function Vn(_0xb9c04d,_0x1ca0aa,_0x5565ce){const _0x2dc146=_0xff19e8;return _0x1ca0aa===void 0x0?e[_0x2dc146(0x11f)][_0x2dc146(0x374)](_0xb9c04d,_0x5565ce):e[_0x2dc146(0x11f)][_0x2dc146(0x32e)](_0xb9c04d,_0x1ca0aa,_0x5565ce);}function Hn(_0x48a5b8,_0x27ebec){const _0x13eaf4=_0xff19e8;return[_0x13eaf4(0x1ee),_0x48a5b8,_0x13eaf4(0x2f9),_0x27ebec];}const Un={'id':_0xff19e8(0x2eb),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x2f19bf,_0x161053)=>{const _0x30f83a=_0xff19e8;if(!_0x161053)return!0x1;let _0x5a4314=_0x2f19bf[_0x30f83a(0x2e7)](e[_0x30f83a(0x2b5)]),{unitId:_0x469724,tableId:_0x3ae9f2,fieldId:_0x4daa36,target:_0x67ad31}=_0x161053,_0x335f41=_0x5a4314[_0x30f83a(0x132)](_0x469724,e[_0x30f83a(0x2d7)][_0x30f83a(0x2a3)]);if(!_0x335f41)return!0x1;let _0xa3197a=_0x2f19bf[_0x30f83a(0x2e7)](e[_0x30f83a(0x232)]),_0x70207e=_0x2f19bf[_0x30f83a(0x2e7)](e[_0x30f83a(0x224)]),_0x7a47cd=_0x335f41[_0x30f83a(0x219)](),_0xa027c2=new M()[_0x30f83a(0x2df)](_0x7a47cd,_0x3ae9f2,_0x4daa36,_0x67ad31),_0xf7f397=new w()[_0x30f83a(0x35c)](_0x7a47cd,_0xa027c2),_0x4566e5={'unitId':_0x469724,'op':_0xa027c2},_0x41cd44={'unitId':_0x469724,'op':_0xf7f397};return _0xa3197a[_0x30f83a(0x325)](K['id'],_0x4566e5)?(_0x5a4314[_0x30f83a(0x32a)](_0x469724),_0x70207e['pushUndoRedo']({'unitID':_0x469724,'undoMutations':[{'id':K['id'],'params':_0x41cd44}],'redoMutations':[{'id':K['id'],'params':_0x4566e5}]}),!0x0):!0x1;}},Wn={'id':'base.command.move-base-view','type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x2d578c,_0x555190)=>{const _0x16fbd2=_0xff19e8;if(!_0x555190)return!0x1;let _0x58b455=_0x2d578c[_0x16fbd2(0x2e7)](e[_0x16fbd2(0x2b5)]),{unitId:_0x5ea987,tableId:_0x1f966f,viewId:_0x29afa8,target:_0x52477a}=_0x555190,_0x10b3c4=_0x58b455[_0x16fbd2(0x132)](_0x5ea987,e[_0x16fbd2(0x2d7)][_0x16fbd2(0x2a3)]);if(!_0x10b3c4)return!0x1;let _0x48a25c=_0x2d578c[_0x16fbd2(0x2e7)](e[_0x16fbd2(0x232)]),_0x27cc8c=_0x2d578c[_0x16fbd2(0x2e7)](e[_0x16fbd2(0x224)]),_0x54c49c=_0x10b3c4[_0x16fbd2(0x219)](),_0x2e3f20=new M()[_0x16fbd2(0x2b7)](_0x54c49c,_0x1f966f,_0x29afa8,_0x52477a),_0x4f134d=new w()['invertOp'](_0x54c49c,_0x2e3f20),_0x53fbb5={'unitId':_0x5ea987,'op':_0x2e3f20},_0x396bcf={'unitId':_0x5ea987,'op':_0x4f134d};return _0x48a25c[_0x16fbd2(0x325)](K['id'],_0x53fbb5)?(_0x58b455[_0x16fbd2(0x32a)](_0x5ea987),_0x27cc8c[_0x16fbd2(0x1f6)]({'unitID':_0x5ea987,'undoMutations':[{'id':K['id'],'params':_0x396bcf}],'redoMutations':[{'id':K['id'],'params':_0x53fbb5}]}),!0x0):!0x1;}},Gn={'id':'base.command.rename-base-table','type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x56d395,_0x3aa4dc)=>{const _0x232774=_0xff19e8;if(!_0x3aa4dc)return!0x1;let _0x474b7e=_0x56d395[_0x232774(0x2e7)](e[_0x232774(0x2b5)]),{unitId:_0x1570b7,tableId:_0x2764e0,name:_0x5e9c30}=_0x3aa4dc,_0x4bdedf=_0x474b7e[_0x232774(0x132)](_0x1570b7,e[_0x232774(0x2d7)][_0x232774(0x2a3)]);if(!_0x4bdedf)return!0x1;let _0x1e6a4f=_0x56d395[_0x232774(0x2e7)](e['ICommandService']),_0x5bf2b2=_0x56d395['get'](e[_0x232774(0x224)]),_0x499509=_0x4bdedf['getSnapshot'](),_0x276447=new M()[_0x232774(0x41a)](_0x499509,_0x2764e0,_0x5e9c30),_0x15e806=new w()[_0x232774(0x35c)](_0x499509,_0x276447),_0x2105d3={'unitId':_0x1570b7,'op':_0x276447},_0x570eb8={'unitId':_0x1570b7,'op':_0x15e806};return _0x1e6a4f['syncExecuteCommand'](K['id'],_0x2105d3)?(_0x474b7e[_0x232774(0x32a)](_0x1570b7),_0x5bf2b2[_0x232774(0x1f6)]({'unitID':_0x1570b7,'undoMutations':[{'id':K['id'],'params':_0x570eb8}],'redoMutations':[{'id':K['id'],'params':_0x2105d3}]}),!0x0):!0x1;}},Kn={'id':_0xff19e8(0x291),'type':e[_0xff19e8(0x277)]['COMMAND'],'handler':(_0x5253b1,_0x2841a6)=>{const _0x5139ae=_0xff19e8;if(!_0x2841a6)return!0x1;let _0x1ffb31=_0x5253b1[_0x5139ae(0x2e7)](e[_0x5139ae(0x2b5)]),{unitId:_0x19bd77,tableId:_0x1210b4,viewId:_0x1b1c52,name:_0x1ff3b4}=_0x2841a6,_0x4bddbd=_0x1ffb31[_0x5139ae(0x132)](_0x19bd77,e['UniverInstanceType'][_0x5139ae(0x2a3)]);if(!_0x4bddbd)return!0x1;let _0x2104bd=_0x5253b1[_0x5139ae(0x2e7)](e[_0x5139ae(0x232)]),_0x3f056f=_0x5253b1[_0x5139ae(0x2e7)](e[_0x5139ae(0x224)]),_0x43e7ea=_0x4bddbd[_0x5139ae(0x219)](),_0x174678=new M()[_0x5139ae(0x421)](_0x43e7ea,_0x1210b4,_0x1b1c52,_0x1ff3b4),_0x40ed04=new w()['invertOp'](_0x43e7ea,_0x174678),_0x3888fc={'unitId':_0x19bd77,'op':_0x174678},_0xf9e8be={'unitId':_0x19bd77,'op':_0x40ed04};return _0x2104bd[_0x5139ae(0x325)](K['id'],_0x3888fc)?(_0x1ffb31[_0x5139ae(0x32a)](_0x19bd77),_0x3f056f[_0x5139ae(0x1f6)]({'unitID':_0x19bd77,'undoMutations':[{'id':K['id'],'params':_0xf9e8be}],'redoMutations':[{'id':K['id'],'params':_0x3888fc}]}),!0x0):!0x1;}},qn={'id':'base.command.set-base-kanban-group-field','type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x12d332,_0x1ce88b)=>{const _0x155fa0=_0xff19e8;if(!_0x1ce88b)return!0x1;let _0xdc615=_0x12d332[_0x155fa0(0x2e7)](e['IUniverInstanceService']),{unitId:_0x354a8a,tableId:_0x4c78de,viewId:_0x341b22,fieldId:_0x1e5d8a}=_0x1ce88b,_0x4441c6=_0xdc615[_0x155fa0(0x132)](_0x354a8a,e['UniverInstanceType'][_0x155fa0(0x2a3)]);if(!_0x4441c6)return!0x1;let _0x594a17=_0x12d332[_0x155fa0(0x2e7)](e[_0x155fa0(0x232)]),_0x220302=_0x12d332['get'](e[_0x155fa0(0x224)]),_0x55bbe1=_0x4441c6[_0x155fa0(0x219)](),_0xbe767d=new M()[_0x155fa0(0x3cc)](_0x55bbe1,_0x4c78de,_0x341b22,{'groupFieldId':_0x1e5d8a}),_0xc181f2=new w()['invertOp'](_0x55bbe1,_0xbe767d),_0x38ebf1={'unitId':_0x354a8a,'op':_0xbe767d},_0x32b60f={'unitId':_0x354a8a,'op':_0xc181f2};return _0x594a17['syncExecuteCommand'](K['id'],_0x38ebf1)?(_0xdc615[_0x155fa0(0x32a)](_0x354a8a),_0x220302[_0x155fa0(0x1f6)]({'unitID':_0x354a8a,'undoMutations':[{'id':K['id'],'params':_0x32b60f}],'redoMutations':[{'id':K['id'],'params':_0x38ebf1}]}),!0x0):!0x1;}},Jn={'id':'base.command.set-base-range-values','type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x4b6da1,_0x5d0e33){const _0x57d806=_0xff19e8;if(!_0x5d0e33)return!0x1;let _0x35db88=_0x4b6da1['get'](e[_0x57d806(0x2b5)]),{unitId:_0x44a387,tableId:_0x3ef94b,patches:_0x99764f}=_0x5d0e33,_0x4c0191=_0x35db88[_0x57d806(0x132)](_0x44a387,e[_0x57d806(0x2d7)]['UNIVER_BASE']);if(!_0x4c0191)return!0x1;let _0x1fc1ef=_0x4b6da1[_0x57d806(0x2e7)](e[_0x57d806(0x232)]),_0x2e7e01=_0x4b6da1[_0x57d806(0x2e7)](e[_0x57d806(0x224)]),_0x1c2995=_0x4c0191[_0x57d806(0x219)](),_0x2d6dc6=f(_0x1c2995[_0x57d806(0x1ee)][_0x3ef94b]),_0x490cad=_0x99764f['flatMap'](_0x1397ea=>{const _0x111e5e=_0x57d806;var _0x27b3bd,_0x286fc0;if('row'in _0x1397ea)return[_0x1397ea];let _0x5a6bdd=(_0x27b3bd=_0x2d6dc6[_0x111e5e(0x2ce)])==null?void 0x0:_0x27b3bd[_0x1397ea[_0x111e5e(0x379)]],_0x124301=(_0x286fc0=_0x2d6dc6['colIndex'])==null?void 0x0:_0x286fc0[_0x1397ea[_0x111e5e(0x3c2)]];return _0x5a6bdd==null||_0x124301==null?[]:[{'row':_0x5a6bdd,'col':_0x124301,'value':_0x1397ea[_0x111e5e(0x14d)]}];}),_0x5adbe9=new M()[_0x57d806(0x1ce)](_0x1c2995,_0x3ef94b,_0x490cad),_0x491e72=new w()['invertOp'](_0x1c2995,_0x5adbe9),_0x104402={'unitId':_0x44a387,'op':_0x5adbe9},_0x545100={'unitId':_0x44a387,'op':_0x491e72};return _0x1fc1ef['syncExecuteCommand'](K['id'],_0x104402)?(_0x35db88['focusUnit'](_0x44a387),_0x2e7e01[_0x57d806(0x1f6)]({'unitID':_0x44a387,'undoMutations':[{'id':K['id'],'params':_0x545100}],'redoMutations':[{'id':K['id'],'params':_0x104402}]}),!0x0):!0x1;}},Yn={'id':'base.command.set-base-record-values','type':e['CommandType']['COMMAND'],'handler'(_0x1cd993,_0x38b0dc){const _0x3490ba=_0xff19e8;if(!_0x38b0dc)return!0x1;let _0x21223d=_0x1cd993[_0x3490ba(0x2e7)](e[_0x3490ba(0x2b5)]),{unitId:_0x583dfa,tableId:_0x1cc221,patches:_0x362600}=_0x38b0dc,_0x3a3400=_0x21223d['getUnit'](_0x583dfa,e[_0x3490ba(0x2d7)][_0x3490ba(0x2a3)]);if(!_0x3a3400)return!0x1;let _0x253375=_0x1cd993[_0x3490ba(0x2e7)](e[_0x3490ba(0x232)]),_0x2c6f46=_0x1cd993['get'](e['IUndoRedoService']),_0x2b8d30=_0x1cd993[_0x3490ba(0x2e7)](z)[_0x3490ba(0x38b)](_0x3a3400,_0x1cc221,_0x362600),_0x51a113=new w()[_0x3490ba(0x35c)](_0x3a3400['getSnapshot'](),_0x2b8d30),_0x1adffc={'unitId':_0x583dfa,'op':_0x2b8d30},_0x451f2d={'unitId':_0x583dfa,'op':_0x51a113};return _0x253375[_0x3490ba(0x325)](K['id'],_0x1adffc)?(_0x21223d[_0x3490ba(0x32a)](_0x583dfa),_0x2c6f46[_0x3490ba(0x1f6)]({'unitID':_0x583dfa,'undoMutations':[{'id':K['id'],'params':_0x451f2d}],'redoMutations':[{'id':K['id'],'params':_0x1adffc}]}),!0x0):!0x1;}},Xn={'id':_0xff19e8(0x365),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x3b4225,_0x52403e)=>{const _0x82469d=_0xff19e8;if(!_0x52403e)return!0x1;let _0x455deb=_0x3b4225[_0x82469d(0x2e7)](e[_0x82469d(0x2b5)]),{unitId:_0x37f676,tableId:_0x486b85,viewId:_0x23922d,fieldId:_0x3be7af,target:_0x31769d}=_0x52403e,_0x2ed18c=_0x455deb[_0x82469d(0x132)](_0x37f676,e[_0x82469d(0x2d7)]['UNIVER_BASE']);if(!_0x2ed18c)return!0x1;let _0x32353e=_0x3b4225['get'](e[_0x82469d(0x232)]),_0x17f746=_0x3b4225[_0x82469d(0x2e7)](e[_0x82469d(0x224)]),_0x183799=_0x2ed18c[_0x82469d(0x219)](),_0x486d57=new M()[_0x82469d(0x3d2)](_0x183799,_0x486b85,_0x23922d,_0x3be7af,_0x31769d),_0x439366=new w()['invertOp'](_0x183799,_0x486d57),_0x397959={'unitId':_0x37f676,'op':_0x486d57},_0x427ca4={'unitId':_0x37f676,'op':_0x439366};return _0x32353e[_0x82469d(0x325)](K['id'],_0x397959)?(_0x455deb[_0x82469d(0x32a)](_0x37f676),_0x17f746[_0x82469d(0x1f6)]({'unitID':_0x37f676,'undoMutations':[{'id':K['id'],'params':_0x427ca4}],'redoMutations':[{'id':K['id'],'params':_0x397959}]}),!0x0):!0x1;}},Zn={'id':_0xff19e8(0x426),'type':e['CommandType'][_0xff19e8(0x130)],'handler'(_0x483117,_0x513616){const _0x41c754=_0xff19e8;if(!_0x513616)return!0x1;let _0x53197=_0x483117['get'](e[_0x41c754(0x2b5)]),{unitId:_0xe2cdc3,tableId:_0x4b6a9e,viewId:_0x42cf6b,fieldId:_0x4dcf84,visible:_0x1d8642}=_0x513616,_0x40fd45=_0x53197[_0x41c754(0x132)](_0xe2cdc3,e[_0x41c754(0x2d7)][_0x41c754(0x2a3)]);if(!_0x40fd45)return!0x1;let _0x36463e=_0x483117[_0x41c754(0x2e7)](e[_0x41c754(0x232)]),_0x1e7c97=_0x483117[_0x41c754(0x2e7)](e[_0x41c754(0x224)]),_0x222a60=_0x40fd45['getSnapshot'](),_0x2b1015=new M()[_0x41c754(0x258)](_0x222a60,_0x4b6a9e,_0x42cf6b,_0x4dcf84,_0x1d8642),_0x24236f=new w()[_0x41c754(0x35c)](_0x222a60,_0x2b1015),_0x4273e3={'unitId':_0xe2cdc3,'op':_0x2b1015},_0x4b9a50={'unitId':_0xe2cdc3,'op':_0x24236f};return _0x36463e[_0x41c754(0x325)](K['id'],_0x4273e3)?(_0x53197[_0x41c754(0x32a)](_0xe2cdc3),_0x1e7c97[_0x41c754(0x1f6)]({'unitID':_0xe2cdc3,'undoMutations':[{'id':K['id'],'params':_0x4b9a50}],'redoMutations':[{'id':K['id'],'params':_0x4273e3}]}),!0x0):!0x1;}},Qn={'id':_0xff19e8(0x414),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x4db42d,_0x5b55c0)=>{const _0x13dfb0=_0xff19e8;if(!_0x5b55c0)return!0x1;let _0x3dba81=_0x4db42d[_0x13dfb0(0x2e7)](e['IUniverInstanceService']),{unitId:_0x4c3c7c,tableId:_0x468bbf,viewId:_0x21ca71,fieldId:_0x1c105e,width:_0x1f2fa7}=_0x5b55c0,_0x13870a=_0x3dba81[_0x13dfb0(0x132)](_0x4c3c7c,e[_0x13dfb0(0x2d7)][_0x13dfb0(0x2a3)]);if(!_0x13870a)return!0x1;let _0x5d2664=_0x4db42d[_0x13dfb0(0x2e7)](e[_0x13dfb0(0x232)]),_0x1042b4=_0x4db42d['get'](e[_0x13dfb0(0x224)]),_0x107e44=_0x13870a[_0x13dfb0(0x219)](),_0x571abb=new M()[_0x13dfb0(0x151)](_0x107e44,_0x468bbf,_0x21ca71,_0x1c105e,_0x1f2fa7),_0x56112f=new w()[_0x13dfb0(0x35c)](_0x107e44,_0x571abb),_0x892b06={'unitId':_0x4c3c7c,'op':_0x571abb},_0x44aa0d={'unitId':_0x4c3c7c,'op':_0x56112f};return _0x5d2664[_0x13dfb0(0x325)](K['id'],_0x892b06)?(_0x3dba81['focusUnit'](_0x4c3c7c),_0x1042b4[_0x13dfb0(0x1f6)]({'unitID':_0x4c3c7c,'undoMutations':[{'id':K['id'],'params':_0x44aa0d}],'redoMutations':[{'id':K['id'],'params':_0x892b06}]}),!0x0):!0x1;}},$n={'id':_0xff19e8(0x3fa),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x3bb6f9,_0x3ea969)=>{const _0x46f0f5=_0xff19e8;if(!_0x3ea969)return!0x1;let _0x4ce716=_0x3bb6f9[_0x46f0f5(0x2e7)](e[_0x46f0f5(0x2b5)]),{unitId:_0x2088f2,tableId:_0x16d9ad,viewId:_0x4c60f7,filter:_0x2abd8d}=_0x3ea969,_0x2e6120=_0x4ce716[_0x46f0f5(0x132)](_0x2088f2,e[_0x46f0f5(0x2d7)][_0x46f0f5(0x2a3)]);if(!_0x2e6120)return!0x1;let _0x6a8459=_0x3bb6f9[_0x46f0f5(0x2e7)](e[_0x46f0f5(0x232)]),_0x34fe04=_0x3bb6f9[_0x46f0f5(0x2e7)](e[_0x46f0f5(0x224)]),_0x1ee115=_0x2e6120[_0x46f0f5(0x219)](),_0x5a472f=new M()[_0x46f0f5(0x289)](_0x1ee115,_0x16d9ad,_0x4c60f7,_0x2abd8d),_0x2bbd70=new w()['invertOp'](_0x1ee115,_0x5a472f),_0x463eb5={'unitId':_0x2088f2,'op':_0x5a472f},_0xe16805={'unitId':_0x2088f2,'op':_0x2bbd70};return _0x6a8459[_0x46f0f5(0x325)](K['id'],_0x463eb5)?(_0x4ce716[_0x46f0f5(0x32a)](_0x2088f2),_0x34fe04[_0x46f0f5(0x1f6)]({'unitID':_0x2088f2,'undoMutations':[{'id':K['id'],'params':_0xe16805}],'redoMutations':[{'id':K['id'],'params':_0x463eb5}]}),!0x0):!0x1;}},er={'id':_0xff19e8(0x294),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x3d9058,_0x15a69d)=>{const _0x5f06d0=_0xff19e8;if(!_0x15a69d)return!0x1;let _0x17389b=_0x3d9058[_0x5f06d0(0x2e7)](e['IUniverInstanceService']),{unitId:_0x1abc9d,tableId:_0x4cbf2b,viewId:_0x2a0db2,group:_0x379eef}=_0x15a69d,_0x206af6=_0x17389b['getUnit'](_0x1abc9d,e[_0x5f06d0(0x2d7)]['UNIVER_BASE']);if(!_0x206af6)return!0x1;let _0x4a2104=_0x3d9058[_0x5f06d0(0x2e7)](e[_0x5f06d0(0x232)]),_0x377d12=_0x3d9058[_0x5f06d0(0x2e7)](e[_0x5f06d0(0x224)]),_0x4fc8d3=_0x206af6[_0x5f06d0(0x219)](),_0x2a3573=new M()[_0x5f06d0(0x367)](_0x4fc8d3,_0x4cbf2b,_0x2a0db2,_0x379eef),_0x5cc405=new w()['invertOp'](_0x4fc8d3,_0x2a3573),_0x598028={'unitId':_0x1abc9d,'op':_0x2a3573},_0x29cc07={'unitId':_0x1abc9d,'op':_0x5cc405};return _0x4a2104[_0x5f06d0(0x325)](K['id'],_0x598028)?(_0x17389b[_0x5f06d0(0x32a)](_0x1abc9d),_0x377d12[_0x5f06d0(0x1f6)]({'unitID':_0x1abc9d,'undoMutations':[{'id':K['id'],'params':_0x29cc07}],'redoMutations':[{'id':K['id'],'params':_0x598028}]}),!0x0):!0x1;}},tr={'id':_0xff19e8(0x417),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x1fdc84,_0x23d4d7)=>{const _0x5a2f21=_0xff19e8;if(!_0x23d4d7)return!0x1;let _0x1cff2d=_0x1fdc84[_0x5a2f21(0x2e7)](e[_0x5a2f21(0x2b5)]),{unitId:_0x2a1018,tableId:_0x3546e3,viewId:_0x2cbda6,sort:_0x4255dc}=_0x23d4d7,_0x5350d5=_0x1cff2d[_0x5a2f21(0x132)](_0x2a1018,e['UniverInstanceType'][_0x5a2f21(0x2a3)]);if(!_0x5350d5)return!0x1;let _0x3c9b29=_0x1fdc84[_0x5a2f21(0x2e7)](e[_0x5a2f21(0x232)]),_0x336ae9=_0x1fdc84[_0x5a2f21(0x2e7)](e['IUndoRedoService']),_0xeaf25a=_0x5350d5[_0x5a2f21(0x219)](),_0x2a3c81=new M()[_0x5a2f21(0x2ec)](_0xeaf25a,_0x3546e3,_0x2cbda6,_0x4255dc),_0x245d0b=new w()[_0x5a2f21(0x35c)](_0xeaf25a,_0x2a3c81),_0x11333d={'unitId':_0x2a1018,'op':_0x2a3c81},_0x3baa4d={'unitId':_0x2a1018,'op':_0x245d0b};return _0x3c9b29['syncExecuteCommand'](K['id'],_0x11333d)?(_0x1cff2d[_0x5a2f21(0x32a)](_0x2a1018),_0x336ae9['pushUndoRedo']({'unitID':_0x2a1018,'undoMutations':[{'id':K['id'],'params':_0x3baa4d}],'redoMutations':[{'id':K['id'],'params':_0x11333d}]}),!0x0):!0x1;}},nr={'id':_0xff19e8(0x123),'type':e['CommandType']['COMMAND'],'handler'(_0x5444fd,_0x3ff63d){const _0x2c50f1=_0xff19e8;if(!_0x3ff63d)return!0x1;let _0x203c87=_0x5444fd[_0x2c50f1(0x2e7)](e[_0x2c50f1(0x2b5)]),{unitId:_0x532037,tableId:_0x2a021d,recordId:_0x38d68a,fieldId:_0x711f9e,value:_0x197ab1}=_0x3ff63d,_0x425aff=_0x203c87[_0x2c50f1(0x132)](_0x532037,e['UniverInstanceType'][_0x2c50f1(0x2a3)]);if(!_0x425aff)return!0x1;let _0x1e3ada=_0x5444fd[_0x2c50f1(0x2e7)](e[_0x2c50f1(0x232)]),_0x276d0f=_0x5444fd[_0x2c50f1(0x2e7)](e['IUndoRedoService']),_0x5043f1=_0x5444fd[_0x2c50f1(0x2e7)](z),_0x229831;try{_0x229831=_0x5043f1[_0x2c50f1(0x22a)](_0x425aff,_0x2a021d,_0x38d68a,_0x711f9e,_0x197ab1);}catch(_0x406df5){return console[_0x2c50f1(0x434)](_0x2c50f1(0x24f),_0x406df5),!0x1;}let _0x50075e=new w()[_0x2c50f1(0x35c)](_0x425aff[_0x2c50f1(0x219)](),_0x229831),_0x480124={'unitId':_0x532037,'op':_0x229831},_0x46b5fc={'unitId':_0x532037,'op':_0x50075e};return _0x1e3ada[_0x2c50f1(0x325)](K['id'],_0x480124)?(_0x203c87[_0x2c50f1(0x32a)](_0x532037),_0x276d0f[_0x2c50f1(0x1f6)]({'unitID':_0x532037,'undoMutations':[{'id':K['id'],'params':_0x46b5fc}],'redoMutations':[{'id':K['id'],'params':_0x480124}]}),!0x0):!0x1;}},rr={'id':_0xff19e8(0x1dd),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler'(_0x2e4b9c,_0x233543){const _0x2be3d7=_0xff19e8;if(!_0x233543)return!0x1;let _0xba95db=_0x2e4b9c[_0x2be3d7(0x2e7)](e[_0x2be3d7(0x2b5)]),{unitId:_0x168152,tableId:_0x4d2f41,fieldId:_0xc0ea09}=_0x233543,_0x57e02c=_0xba95db[_0x2be3d7(0x132)](_0x168152,e[_0x2be3d7(0x2d7)][_0x2be3d7(0x2a3)]);if(!_0x57e02c)return!0x1;let _0x460d28=_0x2e4b9c[_0x2be3d7(0x2e7)](e[_0x2be3d7(0x232)]),_0x193f1b=_0x2e4b9c[_0x2be3d7(0x2e7)](e[_0x2be3d7(0x224)]),_0x137a49=_0x57e02c[_0x2be3d7(0x219)](),_0x40a91b=_0x233543[_0x2be3d7(0x14e)][_0x2be3d7(0x380)](),_0x581f22=new M()[_0x2be3d7(0x402)](_0x137a49,_0x4d2f41,_0xc0ea09,{'description':_0x40a91b}),_0x49d190=new w()[_0x2be3d7(0x35c)](_0x57e02c[_0x2be3d7(0x219)](),_0x581f22),_0x28785e={'unitId':_0x168152,'op':_0x581f22},_0x21771d={'unitId':_0x168152,'op':_0x49d190};return _0x460d28[_0x2be3d7(0x325)](K['id'],_0x28785e)?(_0xba95db['focusUnit'](_0x168152),_0x193f1b[_0x2be3d7(0x1f6)]({'unitID':_0x168152,'undoMutations':[{'id':K['id'],'params':_0x21771d}],'redoMutations':[{'id':K['id'],'params':_0x28785e}]}),!0x0):!0x1;}},ir={'id':'base.command.update-base-field','type':e['CommandType']['COMMAND'],'handler':(_0x4ca68c,_0x1df7ec)=>{const _0x457f68=_0xff19e8;if(!_0x1df7ec)return!0x1;let _0x347e58=_0x4ca68c[_0x457f68(0x2e7)](e['IUniverInstanceService']),{unitId:_0x3da774,tableId:_0x5d8675,fieldId:_0x143beb,patch:_0x1a4569}=_0x1df7ec,_0x559f8f=_0x347e58['getUnit'](_0x3da774,e[_0x457f68(0x2d7)][_0x457f68(0x2a3)]);if(!_0x559f8f)return!0x1;let _0xdc43ef=_0x4ca68c['get'](e['ICommandService']),_0x4adcda=_0x4ca68c[_0x457f68(0x2e7)](e['IUndoRedoService']),_0x39bcab=_0x559f8f[_0x457f68(0x219)](),_0x1b5475=new M()[_0x457f68(0x402)](_0x39bcab,_0x5d8675,_0x143beb,_0x1a4569),_0x2b206d=new w()[_0x457f68(0x35c)](_0x39bcab,_0x1b5475),_0x23b703={'unitId':_0x3da774,'op':_0x1b5475},_0x2cf8a4={'unitId':_0x3da774,'op':_0x2b206d};return _0xdc43ef[_0x457f68(0x325)](K['id'],_0x23b703)?(_0x347e58[_0x457f68(0x32a)](_0x3da774),_0x4adcda[_0x457f68(0x1f6)]({'unitID':_0x3da774,'undoMutations':[{'id':K['id'],'params':_0x2cf8a4}],'redoMutations':[{'id':K['id'],'params':_0x23b703}]}),!0x0):!0x1;}},ar={'id':_0xff19e8(0x3c4),'type':e['CommandType'][_0xff19e8(0x130)],'handler':(_0x74fc7d,_0x4f156f)=>{const _0x5cdc50=_0xff19e8;if(!_0x4f156f)return!0x1;let _0x422b8d=_0x74fc7d[_0x5cdc50(0x2e7)](e[_0x5cdc50(0x2b5)]),{unitId:_0x2c6e5f,tableId:_0x244759,viewId:_0x12f357,patch:_0x97baef}=_0x4f156f,_0x2ed685=_0x422b8d[_0x5cdc50(0x132)](_0x2c6e5f,e[_0x5cdc50(0x2d7)][_0x5cdc50(0x2a3)]);if(!_0x2ed685)return!0x1;let _0x16edb8=_0x74fc7d[_0x5cdc50(0x2e7)](e[_0x5cdc50(0x232)]),_0x58fd6c=_0x74fc7d[_0x5cdc50(0x2e7)](e[_0x5cdc50(0x224)]),_0x34fefc=_0x2ed685['getSnapshot'](),_0x3fb225=new M()[_0x5cdc50(0x3cc)](_0x34fefc,_0x244759,_0x12f357,_0x97baef),_0x287070=new w()['invertOp'](_0x34fefc,_0x3fb225),_0x3f0422={'unitId':_0x2c6e5f,'op':_0x3fb225},_0x5f612d={'unitId':_0x2c6e5f,'op':_0x287070};return _0x16edb8[_0x5cdc50(0x325)](K['id'],_0x3f0422)?(_0x422b8d[_0x5cdc50(0x32a)](_0x2c6e5f),_0x58fd6c['pushUndoRedo']({'unitID':_0x2c6e5f,'undoMutations':[{'id':K['id'],'params':_0x5f612d}],'redoMutations':[{'id':K['id'],'params':_0x3f0422}]}),!0x0):!0x1;}},or={'id':_0xff19e8(0x27d),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x3844ed,_0x46d602)=>{const _0x3b7dd4=_0xff19e8;if(!_0x46d602)return!0x1;let _0x3dda94=_0x3844ed[_0x3b7dd4(0x2e7)](e[_0x3b7dd4(0x2b5)]),{unitId:_0x50682b,tableId:_0x43ccde,recordId:_0x31e0ba,orderKey:_0x1d5b69}=_0x46d602,_0x19d782=_0x3dda94['getUnit'](_0x50682b,e[_0x3b7dd4(0x2d7)]['UNIVER_BASE']);if(!_0x19d782)return!0x1;let _0x326e50=_0x3844ed[_0x3b7dd4(0x2e7)](e['ICommandService']),_0x2735f5=_0x3844ed[_0x3b7dd4(0x2e7)](e[_0x3b7dd4(0x224)]),_0x2979d5=_0x19d782[_0x3b7dd4(0x219)](),_0x10d6a3=new M()[_0x3b7dd4(0x342)](_0x2979d5,_0x43ccde,_0x31e0ba,_0x1d5b69),_0x32f6=new w()[_0x3b7dd4(0x35c)](_0x2979d5,_0x10d6a3),_0x389e08={'unitId':_0x50682b,'op':_0x10d6a3},_0x28abbe={'unitId':_0x50682b,'op':_0x32f6};return _0x326e50[_0x3b7dd4(0x325)](K['id'],_0x389e08)?(_0x3dda94[_0x3b7dd4(0x32a)](_0x50682b),_0x2735f5[_0x3b7dd4(0x1f6)]({'unitID':_0x50682b,'undoMutations':[{'id':K['id'],'params':_0x28abbe}],'redoMutations':[{'id':K['id'],'params':_0x389e08}]}),!0x0):!0x1;}},sr={'id':_0xff19e8(0x3f9),'type':e[_0xff19e8(0x277)][_0xff19e8(0x130)],'handler':(_0x2495cf,_0x16efb0)=>{const _0x22f773=_0xff19e8;if(!_0x16efb0)return!0x1;let _0x46247c=_0x2495cf['get'](e[_0x22f773(0x2b5)]),{unitId:_0x2c8043,tableId:_0xf5fcb6,viewId:_0x555d1b,patch:_0xa74a8d}=_0x16efb0,_0x1d6d57=_0x46247c['getUnit'](_0x2c8043,e[_0x22f773(0x2d7)][_0x22f773(0x2a3)]);if(!_0x1d6d57)return!0x1;let _0x58ddd9=_0x2495cf[_0x22f773(0x2e7)](e[_0x22f773(0x232)]),_0x2414f3=_0x2495cf[_0x22f773(0x2e7)](e['IUndoRedoService']),_0x2b1464=_0x1d6d57[_0x22f773(0x219)](),_0x83f1ba=new M()[_0x22f773(0x3cc)](_0x2b1464,_0xf5fcb6,_0x555d1b,_0xa74a8d),_0x689783=new w()[_0x22f773(0x35c)](_0x2b1464,_0x83f1ba),_0x1760f7={'unitId':_0x2c8043,'op':_0x83f1ba},_0x15048e={'unitId':_0x2c8043,'op':_0x689783};return _0x58ddd9['syncExecuteCommand'](K['id'],_0x1760f7)?(_0x46247c[_0x22f773(0x32a)](_0x2c8043),_0x2414f3[_0x22f773(0x1f6)]({'unitID':_0x2c8043,'undoMutations':[{'id':K['id'],'params':_0x15048e}],'redoMutations':[{'id':K['id'],'params':_0x1760f7}]}),!0x0):!0x1;}};function q(_0x3531f0){const _0x11be79=_0xff19e8;return new w()[_0x11be79(0x309)](_0x3531f0);}function cr(_0x24f141){const _0x1db232=_0xff19e8;return _0x24f141[_0x1db232(0x1d8)][_0x1db232(0x173)](_0x545136=>({'unitId':_0x24f141[_0x1db232(0x324)],'sheetId':_0x24f141[_0x1db232(0x144)],'range':{'startRow':_0x545136['row'],'endRow':_0x545136['row'],'startColumn':_0x545136[_0x1db232(0x301)],'endColumn':_0x545136[_0x1db232(0x301)]}}));}function lr(_0x2d10f8,_0x49840f){const _0x49e5be=_0xff19e8;return{[_0x2d10f8]:Object[_0x49e5be(0x143)](_0x49840f[_0x49e5be(0x173)](_0x329630=>[_0x329630,'1']))};}let J=class extends e[_0xff19e8(0x1ec)]{constructor(_0x5266e6,_0x3a46cf){const _0x2678cb=_0xff19e8;super(),this['_injector']=_0x5266e6,this[_0x2678cb(0x31f)]=_0x3a46cf,this[_0x2678cb(0x2de)]();}['_initialize'](){const _0x51eb98=_0xff19e8;let _0x4fe9f2=this['_getActiveDirtyManagerService']();_0x4fe9f2&&(_0x4fe9f2[_0x51eb98(0x42d)](K['id'],{'commandId':K['id'],'getDirtyData':_0x5bc423=>this[_0x51eb98(0x3ef)](_0x5bc423[_0x51eb98(0x409)])}),this['disposeWithMe']((0x0,e[_0x51eb98(0x42f)])(()=>{const _0x2e65ac=_0x51eb98;_0x4fe9f2[_0x2e65ac(0x2fc)](K['id']);})));}[_0xff19e8(0x3fd)](){const _0x1ff4f1=_0xff19e8;try{return this[_0x1ff4f1(0x20a)][_0x1ff4f1(0x2e7)](t[_0x1ff4f1(0x345)]);}catch{return null;}}['_getTable'](_0x57c0f2,_0x547cbd){const _0xf84b9c=_0xff19e8;var _0x2622c6;let _0x39fa9d=this[_0xf84b9c(0x31f)][_0xf84b9c(0x132)](_0x57c0f2,e['UniverInstanceType']['UNIVER_BASE']);return(_0x2622c6=_0x39fa9d==null?void 0x0:_0x39fa9d['getSnapshot']()[_0xf84b9c(0x1ee)][_0x547cbd])==null?null:_0x2622c6;}[_0xff19e8(0x3ef)](_0x35172a){const _0x590adf=_0xff19e8;if(_0x35172a['trigger']===_0x590adf(0x30b))return{};if(!_0x35172a['unitId']||!_0x35172a['op']){let _0x26a6e9=this[_0x590adf(0x335)]();return{'dirtySuperTableMap':_0x26a6e9,'clearDependencyTreeCache':_0x26a6e9};}let _0x1f425e=q(_0x35172a['op']),_0x2a2ffc=this[_0x590adf(0x1a5)](_0x35172a['unitId'],_0x1f425e);if(_0x2a2ffc[_0x590adf(0x42b)])return{'dirtySuperTableMap':this[_0x590adf(0x389)](_0x35172a[_0x590adf(0x324)],_0x2a2ffc),'clearDependencyTreeCache':this['_getDirtySuperTableMap'](_0x35172a[_0x590adf(0x324)],_0x2a2ffc)};let _0x21fcf3=Object[_0x590adf(0x29f)](this[_0x590adf(0x1c5)](_0x35172a[_0x590adf(0x324)],_0x1f425e))[_0x590adf(0x246)](([_0x17573e,_0x530430])=>cr({'unitId':_0x35172a[_0x590adf(0x324)],'tableId':_0x17573e,'patches':_0x530430}));return _0x21fcf3['length']?{'dirtyRanges':_0x21fcf3}:{};}[_0xff19e8(0x1a5)](_0x2f37f1,_0x416fc1){const _0x1da225=_0xff19e8;let _0x1b18cb=_0x416fc1[_0x1da225(0x1b3)](_0x2c1887=>_0x2c1887[_0x1da225(0x1ef)]!=='cell')[_0x1da225(0x246)](_0x34f1fb=>_0x34f1fb[_0x1da225(0x144)]?[_0x34f1fb[_0x1da225(0x144)]]:this[_0x1da225(0x306)](_0x2f37f1));return Array[_0x1da225(0x170)](new Set(_0x1b18cb));}[_0xff19e8(0x1c5)](_0x5d3c32,_0x5a7566){const _0x5d7a59=_0xff19e8;let _0xc24974=new Set();return _0x5a7566[_0x5d7a59(0x3af)]((_0x5b26d8,_0x2ecbdf)=>{const _0x18c070=_0x5d7a59;var _0x2d6a8e;let _0x28a8e4=this[_0x18c070(0x14c)](_0x5d3c32,_0x2ecbdf);if(!_0x28a8e4)return _0x5b26d8;let _0x57322c=_0x2ecbdf[_0x18c070(0x144)]+':'+_0x28a8e4[_0x18c070(0x20f)]+':'+_0x28a8e4[_0x18c070(0x301)];return _0xc24974[_0x18c070(0x3d3)](_0x57322c)?_0x5b26d8:(_0xc24974[_0x18c070(0x138)](_0x57322c),_0x5b26d8[_0x2ecbdf[_0x18c070(0x144)]]=(_0x2d6a8e=_0x5b26d8[_0x2ecbdf[_0x18c070(0x144)]])==null?[]:_0x2d6a8e,_0x5b26d8[_0x2ecbdf['tableId']]['push'](_0x28a8e4),_0x5b26d8);},{});}['_toDirtyRangePatch'](_0x1171f1,_0x26c08c){const _0x2b22d6=_0xff19e8;if(_0x26c08c[_0x2b22d6(0x1ef)]!=='cell')return null;if(_0x26c08c['row']!=null&&_0x26c08c[_0x2b22d6(0x16c)]!=null)return{'row':_0x26c08c[_0x2b22d6(0x20f)],'col':_0x26c08c[_0x2b22d6(0x16c)],'value':null};if(!_0x26c08c['recordId']||!_0x26c08c[_0x2b22d6(0x3c2)])return null;let _0x3f70d7=this[_0x2b22d6(0x10c)](_0x1171f1,_0x26c08c[_0x2b22d6(0x144)]);if(!_0x3f70d7)return null;let _0x4a552f=g(_0x3f70d7,_0x26c08c[_0x2b22d6(0x379)],_0x26c08c['fieldId']);return _0x4a552f?{'row':_0x4a552f['row'],'col':_0x4a552f['col'],'value':null}:null;}[_0xff19e8(0x306)](_0x1dbf91){const _0x177150=_0xff19e8;var _0x2369b2;let _0x3555cc=this[_0x177150(0x31f)]['getUnit'](_0x1dbf91,e[_0x177150(0x2d7)][_0x177150(0x2a3)]);return Object[_0x177150(0x19c)]((_0x2369b2=_0x3555cc==null?void 0x0:_0x3555cc[_0x177150(0x219)]()[_0x177150(0x1ee)])==null?{}:_0x2369b2)[_0x177150(0x1b3)](_0x4502ee=>!_0x4502ee[_0x177150(0x3ad)])[_0x177150(0x173)](_0x238ab4=>_0x238ab4['id']);}[_0xff19e8(0x389)](_0x9001ef,_0x436116){return lr(_0x9001ef,_0x436116);}[_0xff19e8(0x335)](){const _0x58d4ed=_0xff19e8;let _0x81672d=this[_0x58d4ed(0x31f)][_0x58d4ed(0x347)](e[_0x58d4ed(0x2d7)][_0x58d4ed(0x2a3)])[_0x58d4ed(0x173)](_0x431d7a=>lr(_0x431d7a['getUnitId'](),this[_0x58d4ed(0x306)](_0x431d7a[_0x58d4ed(0x159)]())));return Object[_0x58d4ed(0x357)]({},..._0x81672d);}};J=R([L(0x0,(0x0,e[_0xff19e8(0x10e)])(e[_0xff19e8(0x175)])),L(0x1,e['IUniverInstanceService'])],J);const ur=new RegExp(String[_0xff19e8(0x38f)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),dr=/\{([^}]+)\}/g,fr=new RegExp(String[_0xff19e8(0x38f)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),pr=new RegExp(String[_0xff19e8(0x38f)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var mr=class{[_0xff19e8(0x3f4)](_0x3fb598,_0x49c2c7=_0x3fb598['id']){const _0x26e8d1=_0xff19e8;return{'sheetId':_0x49c2c7,'titleMap':new Map(_0x3fb598[_0x26e8d1(0x187)][_0x26e8d1(0x173)]((_0x48dce2,_0x179ea5)=>{const _0x5c71c6=_0x26e8d1;var _0x1a72dd,_0x4cce42;return[(_0x1a72dd=(_0x4cce42=_0x3fb598[_0x5c71c6(0x307)][_0x48dce2])==null?void 0x0:_0x4cce42[_0x5c71c6(0x302)])==null?_0x48dce2:_0x1a72dd,_0x179ea5];})),'range':{'startRow':0x0,'endRow':Object[_0x26e8d1(0x19c)](_0x3fb598[_0x26e8d1(0x2f3)])['filter'](_0x2e87dd=>!_0x2e87dd[_0x26e8d1(0x3ad)])['length'],'startColumn':0x0,'endColumn':Math['max'](0x0,_0x3fb598['fieldOrder'][_0x26e8d1(0x42b)]-0x1)}};}[_0xff19e8(0x18c)](_0x296f04,_0x333ce4,_0xfaccad,_0x21503c={}){const _0x3f9ce9=_0xff19e8;var _0x3c17f6;let _0x2fc01f=this['createSuperTableReference'](_0xfaccad,(_0x3c17f6=_0x21503c[_0x3f9ce9(0x40a)])==null?_0xfaccad['id']:_0x3c17f6);return new Set([_0xfaccad['id'],_0xfaccad[_0x3f9ce9(0x302)],_0x21503c[_0x3f9ce9(0x25f)]][_0x3f9ce9(0x1b3)](_0x5afecc=>!!_0x5afecc))[_0x3f9ce9(0x1a6)](_0x188c3c=>_0x296f04[_0x3f9ce9(0x339)](_0x333ce4,_0x188c3c,_0x2fc01f)),_0x2fc01f;}[_0xff19e8(0x1aa)](_0x2f5081,_0x1988f7){const _0x55a63c=_0xff19e8;let _0x4e628f=[],_0x46fbe7=new Map();return Object[_0x55a63c(0x19c)](_0x1988f7[_0x55a63c(0x1ee)])[_0x55a63c(0x1b3)](_0x4ae273=>!_0x4ae273['deleted'])[_0x55a63c(0x1a6)](_0x3dc8cf=>{const _0x1ccab3=_0x55a63c;var _0x31846f;let _0x176b10=_0x3dc8cf['name']['trim']()[_0x1ccab3(0x42a)]();_0x46fbe7['set'](_0x176b10,((_0x31846f=_0x46fbe7[_0x1ccab3(0x2e7)](_0x176b10))==null?0x0:_0x31846f)+0x1);}),Object['values'](_0x1988f7[_0x55a63c(0x1ee)])[_0x55a63c(0x1b3)](_0x2fdf2e=>!_0x2fdf2e['deleted'])[_0x55a63c(0x1a6)](_0x3daf00=>{const _0x253bc6=_0x55a63c;var _0x47d4c4;let _0x2edc27=this[_0x253bc6(0x3f4)](_0x3daf00,_0x3daf00['id']);_0x2f5081['registerTable'](_0x1988f7['id'],_0x3daf00['id'],_0x2edc27),((_0x47d4c4=_0x46fbe7['get'](_0x3daf00[_0x253bc6(0x302)][_0x253bc6(0x380)]()['toLowerCase']()))==null?0x0:_0x47d4c4)===0x1&&_0x2f5081[_0x253bc6(0x339)](_0x1988f7['id'],_0x3daf00[_0x253bc6(0x302)],_0x2edc27),_0x4e628f[_0x253bc6(0x36d)](_0x2edc27);}),_0x4e628f;}[_0xff19e8(0x236)](_0x2b6dbb,_0x3ac982,_0x123125={}){const _0x194017=_0xff19e8;let _0x54f8f5=_0x2b6dbb['trim']();if(!_0x54f8f5)return{'valid':!0x0};if(ur[_0x194017(0x154)](_0x54f8f5))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};for(let _0x108ec9 of vr(_0x54f8f5)){let _0x2a19ad=Sr(_0x108ec9,_0x3ac982,_0x123125[_0x194017(0x405)]);if(!_0x2a19ad[_0x194017(0x420)])return{'valid':!0x1,'reason':_0x194017(0x2d2)+_0x108ec9['tableName']+_0x194017(0x388)};if(!_0x2a19ad[_0x194017(0x176)])return{'valid':!0x1,'reason':_0x194017(0x2c6)+_0x108ec9[_0x194017(0x27c)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0xff19e8(0x12d)](_0x310571,_0x3d857d,_0x5b518d={}){const _0xe17552=_0xff19e8;let _0x31488d=new Set();for(let _0x4007dc of this[_0xe17552(0x30a)](_0x310571,_0x3d857d,_0x5b518d))_0x4007dc['tableId']===_0x3d857d['id']&&_0x31488d['add'](_0x4007dc[_0xe17552(0x3c2)]);return Array['from'](_0x31488d);}[_0xff19e8(0x30a)](_0xc5b732,_0x2856aa,_0x2f8a47={}){const _0x1a4c43=_0xff19e8;let _0x512637=new Map();for(let _0x474c5a of vr(_0xc5b732)){let _0x3480df=Sr(_0x474c5a,_0x2856aa,_0x2f8a47[_0x1a4c43(0x405)]);if(!_0x3480df[_0x1a4c43(0x420)]||!_0x3480df[_0x1a4c43(0x176)])continue;let _0x419a39=_0x3480df[_0x1a4c43(0x420)]['id']+'\x1f'+_0x3480df['field']['id'];_0x512637['set'](_0x419a39,{'tableId':_0x3480df[_0x1a4c43(0x420)]['id'],'fieldId':_0x3480df['field']['id']});}return Array['from'](_0x512637[_0x1a4c43(0x19c)]());}};function hr(_0xc035d7){const _0x3add9b=_0xff19e8;let _0x423b72={},_0xcc20e5={},_0x44dadd={[_0xc035d7['id']]:{}},_0x271815={[_0xc035d7['id']]:{}};return _0x423b72[_0xc035d7['id']]={},_0xcc20e5[_0xc035d7['id']]={},Object[_0x3add9b(0x19c)](_0xc035d7['tables'])[_0x3add9b(0x1b3)](_0x26e1b2=>!_0x26e1b2[_0x3add9b(0x3ad)])[_0x3add9b(0x1a6)](_0x58924a=>{const _0x45735d=_0x3add9b;var _0x5d01e6,_0x54ea41,_0x173117;let _0x9d08ee=f(_0x58924a),_0x5c430a=new e[(_0x45735d(0x2e2))](),_0x3f23fa={};(_0x5d01e6=_0x9d08ee[_0x45735d(0x279)])==null||_0x5d01e6[_0x45735d(0x1a6)]((_0x233abe,_0x28a4e1)=>{const _0x4f549e=_0x45735d;let _0x2b0c06=_0x9d08ee['records'][_0x233abe];!_0x2b0c06||_0x2b0c06[_0x4f549e(0x3ad)]||_0x9d08ee[_0x4f549e(0x187)]['forEach']((_0x47b464,_0x5bba1b)=>{const _0x1b042e=_0x4f549e;let _0x5f4d2e=_0x9d08ee[_0x1b042e(0x307)][_0x47b464];if(!_0x5f4d2e||_0x5f4d2e[_0x1b042e(0x3ad)])return;let _0x1efb12=v(_0x9d08ee,_0x233abe,_0x47b464);if(_0x1efb12!==void 0x0&&_0x5c430a['setValue'](_0x28a4e1,_0x5bba1b,b(_0x1efb12,_0x5f4d2e)),_0x5f4d2e[_0x1b042e(0x278)]===_0x1b042e(0x10f)){var _0x41fe25,_0x1b4991;let _0x42d09f=String((_0x41fe25=(_0x1b4991=_0x5f4d2e[_0x1b042e(0x412)])==null?void 0x0:_0x1b4991[_0x1b042e(0x10f)])==null?'':_0x41fe25)[_0x1b042e(0x380)]();_0x42d09f&&(_0x3f23fa[_0x28a4e1]!=null||(_0x3f23fa[_0x28a4e1]={}),_0x3f23fa[_0x28a4e1][_0x5bba1b]={'f':yr(_0x42d09f,_0x9d08ee,_0xc035d7),'si':_0x5f4d2e['id']});}});}),_0x423b72[_0xc035d7['id']][_0x9d08ee['id']]=_0x3f23fa,_0xcc20e5[_0xc035d7['id']][_0x9d08ee['id']]={'cellData':_0x5c430a,'rowCount':(_0x54ea41=(_0x173117=_0x9d08ee[_0x45735d(0x279)])==null?void 0x0:_0x173117[_0x45735d(0x1b3)](_0x390bcf=>{const _0x5e79c1=_0x45735d;var _0x396aa9;return!((_0x396aa9=_0x9d08ee[_0x5e79c1(0x2f3)][_0x390bcf])!=null&&_0x396aa9[_0x5e79c1(0x3ad)]);})[_0x45735d(0x42b)])==null?0x0:_0x54ea41,'columnCount':_0x9d08ee[_0x45735d(0x187)]['filter'](_0x5bc863=>{const _0x1bf789=_0x45735d;var _0x13031d;return!((_0x13031d=_0x9d08ee[_0x1bf789(0x307)][_0x5bc863])!=null&&_0x13031d[_0x1bf789(0x3ad)]);})[_0x45735d(0x42b)],'rowData':{},'columnData':{}},_0x271815[_0xc035d7['id']][_0x9d08ee[_0x45735d(0x302)]]=_0x9d08ee['id'];}),{'formulaData':_0x423b72,'allUnitData':_0xcc20e5,'unitStylesData':_0x44dadd,'unitSheetNameMap':_0x271815};}function gr(_0x2893ed,_0x3b93eb){const _0x3e0a4e=_0xff19e8;var _0x2d2f06;let _0x26f67d=[],_0xd7fe86=(_0x2d2f06=_0x3b93eb[_0x3e0a4e(0x296)])==null?void 0x0:_0x2d2f06[_0x2893ed['id']];return _0xd7fe86&&Object[_0x3e0a4e(0x29f)](_0xd7fe86)[_0x3e0a4e(0x1a6)](([_0x388cf7,_0x1df772])=>{const _0x45bfc5=_0x3e0a4e;let _0x1a3780=_0x2893ed['tables'][_0x388cf7];if(!_0x1a3780||_0x1a3780['deleted']||!_0x1df772)return;let _0xd2eca4=f(_0x1a3780),_0x12aaaa=[];Object[_0x45bfc5(0x29f)](_0x1df772)[_0x45bfc5(0x1a6)](([_0x31533c,_0x207c65])=>{const _0x1f2eec=_0x45bfc5;let _0x6328a6=Number(_0x31533c);_0x207c65&&Object[_0x1f2eec(0x29f)](_0x207c65)[_0x1f2eec(0x1a6)](([_0x7cb393,_0x345469])=>{const _0x267ed6=_0x1f2eec;var _0x5b71fb,_0x89f1f,_0x4b8512,_0x1c505b,_0x20232c,_0x5e0c96,_0x3853d7,_0x9d2075;let _0x3475b5=Number(_0x7cb393),_0x1a9d8b=(_0x5b71fb=_0xd2eca4[_0x267ed6(0x250)])==null?void 0x0:_0x5b71fb[_0x6328a6],_0x39c271=_0x1a9d8b?_0xd2eca4[_0x267ed6(0x2f3)][_0x1a9d8b]:null;if(!_0x39c271||_0x39c271[_0x267ed6(0x3ad)])return;let _0x189eef=(_0x89f1f=_0xd2eca4[_0x267ed6(0x1fc)])==null?void 0x0:_0x89f1f[_0x3475b5],_0x1b205d=_0x189eef?_0xd2eca4['fields'][_0x189eef]:null;if(!_0x1b205d||_0x1b205d[_0x267ed6(0x3ad)]||_0x1b205d['type']!==_0x267ed6(0x10f))return;let _0x14128e=String((_0x4b8512=(_0x1c505b=_0x1b205d[_0x267ed6(0x412)])==null?void 0x0:_0x1c505b['formula'])==null?'':_0x4b8512)['trim'](),_0x3bc490=_0x6328a6===0x0&&_0x14128e?{..._0x345469==null?{}:_0x345469,'v':(_0x20232c=_0x345469==null?void 0x0:_0x345469['v'])==null?null:_0x20232c,'t':_r((_0x5e0c96=_0x345469==null?void 0x0:_0x345469['v'])==null?null:_0x5e0c96),'f':_0x14128e,'si':_0x1b205d['id']}:{..._0x345469==null?{}:_0x345469,'v':(_0x3853d7=_0x345469==null?void 0x0:_0x345469['v'])==null?null:_0x3853d7,'t':_r((_0x9d2075=_0x345469==null?void 0x0:_0x345469['v'])==null?null:_0x9d2075),'si':_0x1b205d['id']};_0x12aaaa[_0x267ed6(0x36d)]({'row':_0x6328a6,'col':_0x3475b5,'value':_0x3bc490});});}),_0x12aaaa[_0x45bfc5(0x42b)]&&_0x26f67d['push']({'unitId':_0x2893ed['id'],'tableId':_0x388cf7,'patches':_0x12aaaa});}),_0x26f67d;}function _r(_0x3ca97c){const _0x11e420=_0xff19e8;return typeof _0x3ca97c=='number'?e[_0x11e420(0x3ff)]['NUMBER']:typeof _0x3ca97c=='boolean'?e[_0x11e420(0x3ff)][_0x11e420(0x213)]:typeof _0x3ca97c==_0x11e420(0x149)?e['CellValueType'][_0x11e420(0x209)]:null;}function vr(_0xd63c78){const _0x33e9cf=_0xff19e8;let _0x571b2b=new Map();for(let _0x4d1aa0 of _0xd63c78[_0x33e9cf(0x29e)](dr)){let _0x23ed15={'fieldName':_0x4d1aa0[0x1]};_0x571b2b[_0x33e9cf(0x37d)]('\x1f'+_0x23ed15['fieldName'],_0x23ed15);}for(let _0x1d2596 of _0xd63c78[_0x33e9cf(0x29e)](fr)){let _0x44d1a2={'tableName':_0x1d2596[0x1],'fieldName':_0x1d2596[0x2]};_0x571b2b[_0x33e9cf(0x37d)](_0x44d1a2[_0x33e9cf(0x25f)]+'\x1f'+_0x44d1a2[_0x33e9cf(0x27c)],_0x44d1a2);}for(let _0x3791bd of _0xd63c78['matchAll'](pr)){let _0x36656b={'fieldName':_0x3791bd[0x2]};_0x571b2b[_0x33e9cf(0x37d)]('\x1f'+_0x36656b[_0x33e9cf(0x27c)],_0x36656b);}return Array['from'](_0x571b2b['values']());}function yr(_0x5f1162,_0x1d6740,_0x485ec7){const _0x54e109=_0xff19e8;let _0x47f8ee=[],_0x1d4bec=_0x1d5ca1=>'__BASE_FORMULA_REF_'+(_0x47f8ee['push'](_0x1d5ca1)-0x1)+'__';return _0x5f1162[_0x54e109(0x1d2)](dr,(_0x4c3d4f,_0x52f132)=>_0x1d4bec(xr(_0x1d6740,_0x52f132,_0x485ec7)))[_0x54e109(0x1d2)](fr,(_0x5c7ad3,_0x1004a9,_0x23bc6e)=>{let _0x57a22c=Cr(_0x1004a9,_0x1d6740,_0x485ec7);return _0x57a22c?_0x1d4bec(xr(_0x57a22c,_0x23bc6e,_0x485ec7)):_0x1004a9+'['+_0x23bc6e+']';})[_0x54e109(0x1d2)](pr,(_0x57f421,_0x186f6a,_0x2e848d)=>''+_0x186f6a+_0x1d4bec(xr(_0x1d6740,_0x2e848d,_0x485ec7)))[_0x54e109(0x1d2)](/__BASE_FORMULA_REF_(\d+)__/g,(_0x26a383,_0x3c80c3)=>{var _0x1956f8;return(_0x1956f8=_0x47f8ee[Number(_0x3c80c3)])==null?'':_0x1956f8;});}function br(_0x124ece,_0x566e85){const _0x44ed20=_0xff19e8;return Object[_0x44ed20(0x19c)](_0x566e85[_0x44ed20(0x1ee)])[_0x44ed20(0x1b3)](_0x1b8405=>!_0x1b8405['deleted']&&_0x1b8405[_0x44ed20(0x302)]===_0x124ece['name'])[_0x44ed20(0x42b)]===0x1?_0x124ece[_0x44ed20(0x302)]:_0x124ece['id'];}function xr(_0x2a7721,_0x466231,_0x52e690){const _0x4f8b4b=_0xff19e8;return br(_0x2a7721,_0x52e690)+_0x4f8b4b(0x3a5)+_0x466231+']]';}function Sr(_0xc363cd,_0x2ad941,_0x415dab){const _0x7e127=_0xff19e8;let _0x1ffc2b=Cr(_0xc363cd[_0x7e127(0x25f)],_0x2ad941,_0x415dab);return{'table':_0x1ffc2b,'field':_0x1ffc2b?Object['values'](_0x1ffc2b[_0x7e127(0x307)])[_0x7e127(0x2af)](_0x4d332a=>_0x4d332a[_0x7e127(0x302)]===_0xc363cd[_0x7e127(0x27c)]&&!_0x4d332a['deleted']):void 0x0};}function Cr(_0x35595f,_0xc394e5,_0xa31ea0){const _0x55435c=_0xff19e8;if(!_0x35595f||_0x35595f===_0x55435c(0x420)||_0x35595f===_0xc394e5['id']||_0x35595f===_0xc394e5[_0x55435c(0x302)])return _0xc394e5;if(!_0xa31ea0)return;let _0x222813=_0xa31ea0['tables'][_0x35595f];if(_0x222813&&!_0x222813[_0x55435c(0x3ad)])return _0x222813;let _0x52bb64=Object[_0x55435c(0x19c)](_0xa31ea0[_0x55435c(0x1ee)])[_0x55435c(0x1b3)](_0x4ccd58=>!_0x4ccd58[_0x55435c(0x3ad)]&&_0x4ccd58['name']===_0x35595f);return _0x52bb64[_0x55435c(0x42b)]===0x1?_0x52bb64[0x0]:void 0x0;}let Y=class extends e['Disposable']{constructor(_0x25ee6f,_0x17c658,_0x219fef){const _0x1ebdd8=_0xff19e8;super(),this[_0x1ebdd8(0x20a)]=_0x25ee6f,this['_commandService']=_0x17c658,this['_univerInstanceService']=_0x219fef,P(this,_0x1ebdd8(0x3cb),new mr()),P(this,_0x1ebdd8(0x3f8),!0x1),this['_initialize']();}[_0xff19e8(0x2de)](){const _0x348df4=_0xff19e8;this['_univerInstanceService'][_0x348df4(0x347)](e[_0x348df4(0x2d7)]['UNIVER_BASE'])['forEach'](_0x26cb28=>{const _0x2807e0=_0x348df4;this[_0x2807e0(0x1c2)](_0x26cb28),this['_syncFormulaData'](_0x26cb28),this[_0x2807e0(0x437)]({'forceCalculation':!0x0});}),this[_0x348df4(0x203)](this['_univerInstanceService']['getTypeOfUnitAdded$'](e['UniverInstanceType'][_0x348df4(0x2a3)])[_0x348df4(0x2ff)](({unit:_0x30f5a})=>{this['_registerSuperTables'](_0x30f5a),this['_syncFormulaData'](_0x30f5a),this['_requestCalculation']({'forceCalculation':!0x0});})),this[_0x348df4(0x203)](this[_0x348df4(0x401)][_0x348df4(0x16a)](_0x2c3893=>this['_onCommandExecuted'](_0x2c3893)));}[_0xff19e8(0x29a)](_0x81023){const _0xc09d6c=_0xff19e8;if(_0x81023['id']===t[_0xc09d6c(0x1a0)]['id']){this['_applyFormulaResult'](_0x81023[_0xc09d6c(0x409)]);return;}if(this[_0xc09d6c(0x3f8)]||_0x81023['id']!==K['id'])return;let _0x8dedbd=_0x81023[_0xc09d6c(0x409)];(_0x8dedbd!=null&&_0x8dedbd['unitId']?[this['_univerInstanceService'][_0xc09d6c(0x132)](_0x8dedbd['unitId'],e[_0xc09d6c(0x2d7)][_0xc09d6c(0x2a3)])]['filter'](_0x3a12e7=>!!_0x3a12e7):this[_0xc09d6c(0x31f)][_0xc09d6c(0x347)](e[_0xc09d6c(0x2d7)][_0xc09d6c(0x2a3)]))[_0xc09d6c(0x1a6)](_0x9c0e4b=>{const _0xefec0e=_0xc09d6c;this[_0xefec0e(0x283)](_0x81023,_0x9c0e4b)&&(this['_registerSuperTables'](_0x9c0e4b),this[_0xefec0e(0x16f)](_0x9c0e4b)),this[_0xefec0e(0x437)](this[_0xefec0e(0x1bb)](_0x81023,_0x9c0e4b));});}[_0xff19e8(0x283)](_0x12fae6,_0x41f5c2){const _0x2ccaaf=_0xff19e8;var _0x30baaa;if(_0x12fae6['id']!==K['id'])return!0x1;let _0x453634=(_0x30baaa=_0x12fae6['params'])==null?void 0x0:_0x30baaa['op'];return _0x453634?q(_0x453634)['some'](_0x56fa95=>_0x56fa95['reason']===_0x2ccaaf(0x1d3)?!_0x41f5c2[_0x2ccaaf(0x219)]()[_0x2ccaaf(0x1ee)][_0x56fa95['tableId']]:!0x0):!0x0;}[_0xff19e8(0x1c2)](_0x5f445a){const _0x11ce02=_0xff19e8;let _0x5ae9c8=this['_getSuperTableService']();_0x5ae9c8&&this[_0x11ce02(0x3cb)][_0x11ce02(0x1aa)](_0x5ae9c8,_0x5f445a[_0x11ce02(0x219)]());}['_requestCalculation'](_0xca91aa={}){const _0x1c13f1=_0xff19e8;this[_0x1c13f1(0x401)][_0x1c13f1(0x43b)](t['SetFormulaCalculationStartMutation']['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0xca91aa},{'onlyLocal':!0x0})[_0x1c13f1(0x35b)](()=>void 0x0);}['_syncFormulaData'](_0x58ad13){const _0x27882e=_0xff19e8;let _0x29b201=hr(_0x58ad13[_0x27882e(0x219)]());this[_0x27882e(0x401)]['executeCommand'](t[_0x27882e(0x26b)]['id'],{'formulaData':_0x29b201[_0x27882e(0x215)]},{'onlyLocal':!0x0})['catch'](()=>void 0x0);}[_0xff19e8(0x19e)](_0x524949){const _0x33e36c=_0xff19e8;let _0x44e697=this[_0x33e36c(0x31f)][_0x33e36c(0x347)](e['UniverInstanceType'][_0x33e36c(0x2a3)])[_0x33e36c(0x246)](_0x453bc5=>gr(_0x453bc5[_0x33e36c(0x219)](),_0x524949));if(!_0x44e697[_0x33e36c(0x42b)])return;let _0x1561bc=new M();this['_applyingFormulaResults']=!0x0,(async()=>{const _0x42804f=_0x33e36c;for(let _0x3ad6c5 of _0x44e697){let _0x413795=this[_0x42804f(0x31f)][_0x42804f(0x132)](_0x3ad6c5[_0x42804f(0x324)],e[_0x42804f(0x2d7)][_0x42804f(0x2a3)]);_0x413795&&await this[_0x42804f(0x401)][_0x42804f(0x43b)](K['id'],{'unitId':_0x3ad6c5[_0x42804f(0x324)],'op':_0x1561bc[_0x42804f(0x1ce)](_0x413795['getSnapshot'](),_0x3ad6c5[_0x42804f(0x144)],_0x3ad6c5[_0x42804f(0x1d8)]),'trigger':t[_0x42804f(0x1a0)]['id']},{'onlyLocal':!0x0});}})()[_0x33e36c(0x2f6)](()=>{const _0x1bcafb=_0x33e36c;this[_0x1bcafb(0x3f8)]=!0x1;});}[_0xff19e8(0x1c9)](){const _0x27d36e=_0xff19e8;try{return this['_injector'][_0x27d36e(0x2e7)](t[_0x27d36e(0x1a3)]);}catch{return null;}}['_createDirtyData'](_0x4981de,_0x46d4d1){const _0x5e43ab=_0xff19e8;return _0x4981de['id']===K['id']?this[_0x5e43ab(0x136)](_0x4981de['params'],_0x46d4d1):this[_0x5e43ab(0x369)](_0x46d4d1);}[_0xff19e8(0x136)](_0x817dac,_0x547f09){const _0x446ead=_0xff19e8;if(!_0x817dac['op'])return this['_createStructureDirtyData'](_0x547f09);let _0x39f7a5=q(_0x817dac['op']),_0x59e567=this[_0x446ead(0x1a5)](_0x39f7a5,_0x547f09);if(_0x59e567[_0x446ead(0x42b)])return this['_createStructureDirtyData'](_0x547f09,_0x59e567);let _0x48c9b7=Object[_0x446ead(0x29f)](this[_0x446ead(0x1c5)](_0x39f7a5,_0x547f09))[_0x446ead(0x246)](([_0x389a64,_0x5afd83])=>cr({'unitId':_0x547f09[_0x446ead(0x159)](),'tableId':_0x389a64,'patches':_0x5afd83}));return _0x48c9b7[_0x446ead(0x42b)]?{'dirtyRanges':_0x48c9b7}:this[_0x446ead(0x369)](_0x547f09);}[_0xff19e8(0x1a5)](_0xe2cfbe,_0x115745){const _0x395d93=_0xff19e8;let _0x5180fb=_0xe2cfbe['filter'](_0x516f22=>_0x516f22[_0x395d93(0x1ef)]!==_0x395d93(0x1d3))[_0x395d93(0x246)](_0x3fdd91=>_0x3fdd91['tableId']?[_0x3fdd91[_0x395d93(0x144)]]:Object[_0x395d93(0x416)](_0x115745[_0x395d93(0x219)]()[_0x395d93(0x1ee)]));return Array[_0x395d93(0x170)](new Set(_0x5180fb));}[_0xff19e8(0x1c5)](_0x51edb5,_0x149a90){let _0x5e653f=new Set();return _0x51edb5['reduce']((_0x128645,_0x15cd09)=>{const _0x3b96f0=_0x3a38;var _0x5e40ae;let _0x5527a6=this[_0x3b96f0(0x14c)](_0x15cd09,_0x149a90);if(!_0x5527a6)return _0x128645;let _0xb811d4=_0x15cd09[_0x3b96f0(0x144)]+':'+_0x5527a6['row']+':'+_0x5527a6[_0x3b96f0(0x301)];return _0x5e653f['has'](_0xb811d4)?_0x128645:(_0x5e653f[_0x3b96f0(0x138)](_0xb811d4),_0x128645[_0x15cd09[_0x3b96f0(0x144)]]=(_0x5e40ae=_0x128645[_0x15cd09[_0x3b96f0(0x144)]])==null?[]:_0x5e40ae,_0x128645[_0x15cd09['tableId']]['push'](_0x5527a6),_0x128645);},{});}[_0xff19e8(0x14c)](_0x22df4c,_0x786e59){const _0x18a153=_0xff19e8;if(_0x22df4c['reason']!==_0x18a153(0x1d3))return null;if(_0x22df4c[_0x18a153(0x20f)]!=null&&_0x22df4c[_0x18a153(0x16c)]!=null)return{'row':_0x22df4c[_0x18a153(0x20f)],'col':_0x22df4c['column'],'value':null};let _0x12d75d=_0x786e59[_0x18a153(0x219)]()['tables'][_0x22df4c[_0x18a153(0x144)]];if(!_0x12d75d||!_0x22df4c[_0x18a153(0x379)]||!_0x22df4c[_0x18a153(0x3c2)])return null;let _0x34259b=g(_0x12d75d,_0x22df4c[_0x18a153(0x379)],_0x22df4c[_0x18a153(0x3c2)]);return _0x34259b?{'row':_0x34259b[_0x18a153(0x20f)],'col':_0x34259b[_0x18a153(0x301)],'value':null}:null;}['_createStructureDirtyData'](_0x5deb17,_0x23d3c6){const _0x43ddbd=_0xff19e8;let _0x1241c3=_0x23d3c6==null?Object['values'](_0x5deb17[_0x43ddbd(0x219)]()[_0x43ddbd(0x1ee)])['filter'](_0x35d542=>!_0x35d542['deleted'])[_0x43ddbd(0x173)](_0xba881c=>_0xba881c['id']):_0x23d3c6,_0x3a27ee=lr(_0x5deb17[_0x43ddbd(0x159)](),_0x1241c3);return{'dirtySuperTableMap':_0x3a27ee,'clearDependencyTreeCache':_0x3a27ee,'forceCalculation':!0x0};}};Y=R([L(0x0,(0x0,e['Inject'])(e[_0xff19e8(0x175)])),L(0x1,e['ICommandService']),L(0x2,e[_0xff19e8(0x2b5)])],Y);function wr(_0x536701){const _0x206da4=_0xff19e8;var _0x5bc6c0;let _0xab0caa=Math['max'](0x0,Number((_0x5bc6c0=_0x536701['decimalPlaces'])==null?0x0:_0x5bc6c0)),_0x1864bf=_0x536701[_0x206da4(0x26d)]===!0x1?'0':_0x206da4(0x272),_0x193d75=_0xab0caa?'.'+'0'[_0x206da4(0x368)](_0xab0caa):'',_0x22320e=Er(_0x536701['abbreviation']);return''+(_0x536701[_0x206da4(0x13e)]?Dr(_0x536701[_0x206da4(0x13e)]):'')+_0x1864bf+_0x193d75+_0x22320e;}function Tr(_0x50e644,_0x4903d9){const _0x11baf1=_0xff19e8;let _0xa4dc4=wr(_0x4903d9),_0x79b789=e[_0x11baf1(0x269)][_0x11baf1(0x2e8)](_0xa4dc4,_0x50e644,{'throws':!0x1});return Or(String(_0x79b789),_0x4903d9[_0x11baf1(0x21c)],_0x4903d9[_0x11baf1(0x390)]);}function Er(_0x21d828){const _0x105ca9=_0xff19e8;return _0x21d828==='K'?_0x105ca9(0x248):_0x21d828==='M'?_0x105ca9(0x1fb):_0x21d828==='B'?_0x105ca9(0x43a):'';}function Dr(_0x9a40b9){const _0x507624=_0xff19e8;return/^[A-Z]+$/i[_0x507624(0x154)](_0x9a40b9)?'\x22'+_0x9a40b9+'\x22':_0x9a40b9;}function Or(_0x9a8035,_0x3b24c6,_0x12f3ad){const _0x2e6fe9=_0xff19e8;let _0x47401d=_0x3b24c6===_0x2e6fe9(0x363)?kr(_0x12f3ad):_0x3b24c6;return _0x47401d==='periodComma'?_0x9a8035[_0x2e6fe9(0x1d2)](/,/g,'\x00')[_0x2e6fe9(0x1d2)](/\./g,',')[_0x2e6fe9(0x1d2)](/\0/g,'.'):_0x47401d===_0x2e6fe9(0x3c9)?_0x9a8035[_0x2e6fe9(0x1d2)](/,/g,'\x20')[_0x2e6fe9(0x1d2)](/\./g,','):_0x47401d===_0x2e6fe9(0x226)?_0x9a8035[_0x2e6fe9(0x1d2)](/,/g,'\x20'):_0x9a8035;}function kr(_0x366b59){const _0x53ac2c=_0xff19e8;var _0x40588b,_0x44a0dc;let _0x19de77=_0x366b59||Intl[_0x53ac2c(0x247)]()['resolvedOptions']()[_0x53ac2c(0x390)],_0x2cd3a3;try{_0x2cd3a3=new Intl[(_0x53ac2c(0x247))](_0x19de77,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x53ac2c(0x223)](0xf4240);}catch{return _0x53ac2c(0x261);}let _0x43a97f=(_0x40588b=_0x2cd3a3[_0x53ac2c(0x2af)](_0x4e4bd1=>_0x4e4bd1[_0x53ac2c(0x278)]===_0x53ac2c(0x163)))==null?void 0x0:_0x40588b[_0x53ac2c(0x14d)],_0x3f9784=(_0x44a0dc=_0x2cd3a3['find'](_0x54cc6a=>_0x54cc6a['type']===_0x53ac2c(0x356)))==null?void 0x0:_0x44a0dc[_0x53ac2c(0x14d)],_0x3a7454=_0x43a97f==='\u00a0'||_0x43a97f==='\u202f'?'\x20':_0x43a97f;return _0x3a7454==='.'&&_0x3f9784===','?_0x53ac2c(0x204):_0x3a7454==='\x20'&&_0x3f9784===','?'spaceComma':_0x3a7454==='\x20'&&_0x3f9784==='.'?_0x53ac2c(0x226):_0x53ac2c(0x261);}function Ar(_0x43474f,_0x30aecc){const _0x1e81e9=_0xff19e8;var _0x470ce0,_0x467503;let _0x474fe1=e['Tools'][_0x1e81e9(0x353)](_0x43474f),_0x82ecf=_0x30aecc[_0x1e81e9(0x355)]===!0x0,_0x341a79=new Map(),_0x1a6fb3=(_0x470ce0=_0x30aecc[_0x1e81e9(0x349)])==null?()=>_0x1e81e9(0x350)+(0x0,e['generateRandomId'])(0x8):_0x470ce0,_0x4d6c06=_0x474fe1['viewOrder'];return _0x30aecc['regenerateViewIds']&&(_0x4d6c06=_0x474fe1[_0x1e81e9(0x3a2)][_0x1e81e9(0x173)](_0x2fba1d=>{let _0x24908a=_0x1a6fb3();return _0x341a79['set'](_0x2fba1d,_0x24908a),_0x24908a;})),{..._0x474fe1,'id':_0x30aecc['id'],'name':_0x30aecc[_0x1e81e9(0x302)],'deleted':void 0x0,'records':_0x82ecf?_0x474fe1[_0x1e81e9(0x2f3)]:{},'recordOrder':_0x82ecf?_0x474fe1[_0x1e81e9(0x279)]:[],'rowIndex':_0x82ecf?_0x474fe1['rowIndex']:{},'rowId':_0x82ecf?_0x474fe1[_0x1e81e9(0x250)]:{},'cellData':_0x82ecf?_0x474fe1[_0x1e81e9(0x3e1)]:{},'resources':_0x82ecf?_0x474fe1[_0x1e81e9(0x34e)]:{},'viewOrder':_0x4d6c06,'views':Object['fromEntries'](Object[_0x1e81e9(0x29f)]((_0x467503=_0x474fe1['views'])==null?{}:_0x467503)[_0x1e81e9(0x173)](([_0x43c5a1,_0x26278d])=>{const _0x56a6f4=_0x1e81e9;var _0x51892b;let _0x207281=(_0x51892b=_0x341a79[_0x56a6f4(0x2e7)](_0x43c5a1))==null?_0x30aecc[_0x56a6f4(0x206)]?_0x1a6fb3():_0x43c5a1:_0x51892b;return[_0x207281,{..._0x26278d,'id':_0x207281,'tableId':_0x30aecc['id'],'deleted':void 0x0}];}))};}var jr=class{constructor(){const _0x3a4d96=_0xff19e8;P(this,'_factory',new M()),P(this,_0x3a4d96(0x3a6),new w());}[_0xff19e8(0x12b)](_0x28234d,_0x2b0f11){const _0x41449c=_0xff19e8;switch(_0x28234d['type']){case _0x41449c(0x2ae):return this[_0x41449c(0x3d8)][_0x41449c(0x2ae)](_0x2b0f11,_0x28234d[_0x41449c(0x420)],_0x28234d[_0x41449c(0x239)]);case _0x41449c(0x41a):return this[_0x41449c(0x3d8)][_0x41449c(0x41a)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d['name']);case _0x41449c(0x34f):return this['_factory'][_0x41449c(0x34f)](_0x2b0f11,_0x28234d[_0x41449c(0x144)]);case _0x41449c(0x20e):return this[_0x41449c(0x3d8)][_0x41449c(0x20e)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],{'field':_0x28234d[_0x41449c(0x176)],'index':_0x28234d['index']});case _0x41449c(0x402):return this[_0x41449c(0x3d8)][_0x41449c(0x402)](_0x2b0f11,_0x28234d['tableId'],_0x28234d[_0x41449c(0x3c2)],_0x28234d[_0x41449c(0x29c)]);case _0x41449c(0x217):return this[_0x41449c(0x3d8)][_0x41449c(0x217)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x3c2)]);case'createRecord':return this[_0x41449c(0x3d8)][_0x41449c(0x290)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x31d)]);case'deleteRecord':return this[_0x41449c(0x3d8)]['deleteRecord'](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x379)]);case'updateRecordOrder':return this[_0x41449c(0x3d8)][_0x41449c(0x342)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x379)],_0x28234d['orderKey']);case'updateCell':return this[_0x41449c(0x3d8)][_0x41449c(0x251)](_0x2b0f11,_0x28234d['tableId'],_0x28234d[_0x41449c(0x379)],_0x28234d[_0x41449c(0x3c2)],_0x28234d[_0x41449c(0x14d)]);case _0x41449c(0x3e4):return this[_0x41449c(0x3d8)][_0x41449c(0x3e4)](_0x2b0f11,_0x28234d['tableId'],_0x28234d[_0x41449c(0x1d8)]);case _0x41449c(0x1ce):return this['_factory'][_0x41449c(0x1ce)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x1d8)]);case _0x41449c(0x266):return this[_0x41449c(0x3d8)][_0x41449c(0x266)](_0x2b0f11,_0x28234d['tableId'],_0x28234d[_0x41449c(0x298)],_0x28234d[_0x41449c(0x239)]);case _0x41449c(0x3a1):return this[_0x41449c(0x3d8)][_0x41449c(0x3a1)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x35e)]);case _0x41449c(0x3cc):return this[_0x41449c(0x3d8)][_0x41449c(0x3cc)](_0x2b0f11,_0x28234d[_0x41449c(0x144)],_0x28234d[_0x41449c(0x35e)],_0x28234d[_0x41449c(0x29c)]);default:return Mr(_0x28234d);}}[_0xff19e8(0x145)](_0x1d8940){const _0xa037b0=_0xff19e8;return{..._0x1d8940,'unitType':_0xa037b0(0x394)};}[_0xff19e8(0x119)](_0x3e01a4,_0x4cd9f9){const _0x28e8e9=_0xff19e8;return this['_applier'][_0x28e8e9(0x119)](_0x3e01a4,_0x4cd9f9);}['invertOp'](_0x465178,_0x326a59){const _0x4801cd=_0xff19e8;return this['_applier'][_0x4801cd(0x35c)](_0x465178,_0x326a59);}[_0xff19e8(0x309)](_0x558d16){const _0x50016a=_0xff19e8;return this[_0x50016a(0x3a6)][_0x50016a(0x309)](_0x558d16);}};function Mr(_0x1903a3){const _0x48e5b5=_0xff19e8;throw Error(_0x48e5b5(0x393)+_0x1903a3[_0x48e5b5(0x278)]);}var Nr=_0xff19e8(0x40d),Pr=_0xff19e8(0x2e3);let Fr=class extends e[_0xff19e8(0x1ec)]{constructor(_0x50021a,_0x181c6f,_0x5a245d){const _0x386e90=_0xff19e8;super(),this[_0x386e90(0x401)]=_0x50021a,this[_0x386e90(0x31f)]=_0x181c6f,this[_0x386e90(0x2a7)]=_0x5a245d,P(this,'_formulaService',new mr()),this[_0x386e90(0x2de)]();}['_initialize'](){const _0x21aa54=_0xff19e8;this[_0x21aa54(0x31f)][_0x21aa54(0x347)](e['UniverInstanceType'][_0x21aa54(0x2a3)])[_0x21aa54(0x1a6)](_0x468ed2=>{this['_registerSuperTables'](_0x468ed2);}),this['disposeWithMe'](this[_0x21aa54(0x31f)][_0x21aa54(0x235)](e['UniverInstanceType'][_0x21aa54(0x2a3)])['subscribe'](({unit:_0x5ef57b})=>{const _0x5f06cb=_0x21aa54;this[_0x5f06cb(0x1c2)](_0x5ef57b);})),this[_0x21aa54(0x203)](this[_0x21aa54(0x401)][_0x21aa54(0x16a)](_0x245a8a=>this[_0x21aa54(0x29a)](_0x245a8a)));}['_onCommandExecuted'](_0x52bc69){const _0x59692e=_0xff19e8;if(!this[_0x59692e(0x404)](_0x52bc69))return;let _0x2075ad=_0x52bc69[_0x59692e(0x409)];(_0x2075ad!=null&&_0x2075ad['unitId']?[this['_univerInstanceService'][_0x59692e(0x132)](_0x2075ad[_0x59692e(0x324)],e[_0x59692e(0x2d7)][_0x59692e(0x2a3)])]['filter'](_0x236663=>!!_0x236663):this[_0x59692e(0x31f)][_0x59692e(0x347)](e['UniverInstanceType']['UNIVER_BASE']))[_0x59692e(0x1a6)](_0x105eba=>this[_0x59692e(0x1c2)](_0x105eba));}['_shouldRefreshSuperTables'](_0x59a183){const _0x498345=_0xff19e8;var _0x4aede4;if(_0x59a183['id']!==K['id'])return!0x1;let _0x2398fd=(_0x4aede4=_0x59a183[_0x498345(0x409)])==null?void 0x0:_0x4aede4['op'];return!_0x2398fd||q(_0x2398fd)['some'](_0x3f0f9a=>_0x3f0f9a[_0x498345(0x1ef)]!==_0x498345(0x1d3));}[_0xff19e8(0x1c2)](_0x3fb4eb){const _0x3a9180=_0xff19e8;this['_superTableService']&&this['_formulaService']['registerSuperTables'](this['_superTableService'],_0x3fb4eb[_0x3a9180(0x219)]());}};Fr=R([L(0x0,e['ICommandService']),L(0x1,e['IUniverInstanceService']),L(0x2,(0x0,e[_0xff19e8(0x3cf)])(t[_0xff19e8(0x1a3)]))],Fr);const Ir=(0x0,e[_0xff19e8(0x3cd)])(_0xff19e8(0x40f));let X=class{constructor(_0x1b4f5f){const _0x14f3b6=_0xff19e8;this[_0x14f3b6(0x31f)]=_0x1b4f5f;}[_0xff19e8(0x1c4)](_0x2c3651){const _0x19c7f2=_0xff19e8;var _0x31225c;return(_0x31225c=this[_0x19c7f2(0x31f)]['getUnit'](_0x2c3651,e[_0x19c7f2(0x2d7)]['UNIVER_BASE']))==null?null:_0x31225c;}['getAllBases'](){const _0x477152=_0xff19e8;return this[_0x477152(0x31f)]['getAllUnitsForType'](e[_0x477152(0x2d7)][_0x477152(0x2a3)]);}[_0xff19e8(0x244)](_0x19a74c){const _0x379027=_0xff19e8;return this['_univerInstanceService']['createUnit'](e[_0x379027(0x2d7)]['UNIVER_BASE'],_0x19a74c);}};X=R([L(0x0,e[_0xff19e8(0x2b5)])],X);const Lr=(0x0,e[_0xff19e8(0x3cd)])(_0xff19e8(0x407));var Rr=class extends e['Disposable']{constructor(..._0x4e8593){const _0x1727f7=_0xff19e8;super(..._0x4e8593),P(this,_0x1727f7(0x131),new Map());}['register'](_0x18701d){const _0x5e9b59=_0xff19e8;return this['_plugins'][_0x5e9b59(0x37d)](_0x18701d['type'],_0x18701d),(0x0,e[_0x5e9b59(0x42f)])(()=>this[_0x5e9b59(0x131)][_0x5e9b59(0x21e)](_0x18701d[_0x5e9b59(0x278)]));}[_0xff19e8(0x2e7)](_0x407dd0){const _0x1c9ead=_0xff19e8;let _0x3e5e77=this[_0x1c9ead(0x131)]['get'](_0x407dd0);if(!_0x3e5e77)throw Error(_0x1c9ead(0x1cf)+_0x407dd0+'\x22\x20is\x20not\x20registered.');return _0x3e5e77;}[_0xff19e8(0x2c0)](){const _0x8d1d14=_0xff19e8;return Array[_0x8d1d14(0x170)](this[_0x8d1d14(0x131)]['values']());}};const zr=_0xff19e8(0x1bc),Br=[K];let Z=class extends e['Plugin']{constructor(_0x9665f9={},_0x1fdae0,_0x22a3c4,_0x26c0c7,_0x46f9d0){const _0x127d7b=_0xff19e8;super(),this['_config']=_0x9665f9,this['_injector']=_0x1fdae0,this[_0x127d7b(0x401)]=_0x22a3c4,this[_0x127d7b(0x31f)]=_0x26c0c7,this[_0x127d7b(0x431)]=_0x46f9d0,P(this,_0x127d7b(0x140),new Map()),this[_0x127d7b(0x31f)][_0x127d7b(0x406)](e[_0x127d7b(0x2d7)][_0x127d7b(0x2a3)],e[_0x127d7b(0x128)]),this[_0x127d7b(0x398)](),this[_0x127d7b(0x430)](),this[_0x127d7b(0x25a)](),this['_initDataSync']();}[_0xff19e8(0x364)](){const _0xb47abb=_0xff19e8;(0x0,e['touchDependencies'])(this[_0xb47abb(0x20a)],[[X],[B],[J],[Y]]),this['_univerInstanceService'][_0xb47abb(0x347)](e[_0xb47abb(0x2d7)][_0xb47abb(0x2a3)])[_0xb47abb(0x1a6)](_0x498636=>this[_0xb47abb(0x321)](_0x498636[_0xb47abb(0x159)]()));}[_0xff19e8(0x398)](){const _0x3200ff=_0xff19e8;[[F,{'useClass':St}],[Lr,{'useClass':Rr}],[Ft,{'useClass':Lt}],[Ir,{'useClass':X}],[Ct,{'useClass':wt}],[z,{'useClass':B}],[J],[Y]]['forEach'](_0x9d48ad=>this[_0x3200ff(0x20a)][_0x3200ff(0x138)](_0x9d48ad));}['_initCommands'](){const _0xe11867=_0xff19e8;[vn,Gn,In,nr,Yn,Jn,_n,pn,Fn,mn,zn,or,gn,Rn,ir,rr,hn,Pn,Un,Nn,Bn,Kn,Ln,Wn,sr,qn,ar,$n,tr,er,Zn,Qn,Xn,...Br][_0xe11867(0x1a6)](_0x2a7895=>this[_0xe11867(0x203)](this[_0xe11867(0x401)][_0xe11867(0x11e)](_0x2a7895))),Br[_0xe11867(0x1a6)](_0x885865=>{const _0x808f9f=_0xe11867;var _0x538c6c;return(_0x538c6c=this[_0x808f9f(0x431)])==null?void 0x0:_0x538c6c[_0x808f9f(0x225)](_0x885865);});}[_0xff19e8(0x37f)](){const _0x3ed092=_0xff19e8;this['_dataSyncPrimaryController']&&(this[_0x3ed092(0x203)](this[_0x3ed092(0x31f)][_0x3ed092(0x235)](e[_0x3ed092(0x2d7)][_0x3ed092(0x2a3)])[_0x3ed092(0x2ff)](({unit:_0x41d466})=>{const _0x373ffb=_0x3ed092;this[_0x373ffb(0x321)](_0x41d466['getUnitId']());})),this[_0x3ed092(0x203)](this[_0x3ed092(0x31f)][_0x3ed092(0x385)](e['UniverInstanceType']['UNIVER_BASE'])[_0x3ed092(0x2ff)](_0x4f48af=>{const _0x9b1908=_0x3ed092;var _0x15d85d;(_0x15d85d=this[_0x9b1908(0x140)][_0x9b1908(0x2e7)](_0x4f48af[_0x9b1908(0x159)]()))==null||_0x15d85d[_0x9b1908(0x41f)](),this['_baseSyncDisposables'][_0x9b1908(0x21e)](_0x4f48af[_0x9b1908(0x159)]());})));}[_0xff19e8(0x321)](_0x378592){const _0x2ed670=_0xff19e8;!this['_dataSyncPrimaryController']||this['_baseSyncDisposables'][_0x2ed670(0x3d3)](_0x378592)||this[_0x2ed670(0x140)][_0x2ed670(0x37d)](_0x378592,this[_0x2ed670(0x431)][_0x2ed670(0x354)](_0x378592));}[_0xff19e8(0x25a)](){const _0x45307c=_0xff19e8;let _0x1087ef=this['_injector']['get'](F);tt()['forEach'](_0x14e503=>_0x1087ef[_0x45307c(0x42d)](_0x14e503));let _0x5be411=this[_0x45307c(0x20a)][_0x45307c(0x2e7)](Lr),_0x2e3485=this[_0x45307c(0x20a)]['get'](Ft);At()[_0x45307c(0x1a6)](_0x4c8052=>{const _0x417c58=_0x45307c;_0x5be411[_0x417c58(0x42d)](_0x4c8052),_0x2e3485[_0x417c58(0x2db)](_0x4c8052);});}};P(Z,'pluginName',zr),P(Z,_0xff19e8(0x30d),Nr),P(Z,'version',Pr),P(Z,_0xff19e8(0x278),e['UniverInstanceType']['UNIVER_BASE']),Z=R([(0x0,e[_0xff19e8(0x2b2)])(n[_0xff19e8(0x432)],t[_0xff19e8(0x3c6)]),L(0x1,(0x0,e[_0xff19e8(0x10e)])(e[_0xff19e8(0x175)])),L(0x2,e[_0xff19e8(0x232)]),L(0x3,e[_0xff19e8(0x2b5)]),L(0x4,(0x0,e['Optional'])(r[_0xff19e8(0x419)]))],Z);let Q=class extends e[_0xff19e8(0x395)]{constructor(_0x297140={},_0x330bb7,_0x3c0ffb,_0x29c703){const _0x4fd023=_0xff19e8;super(),this['_config']=_0x297140,this[_0x4fd023(0x20a)]=_0x330bb7,this['_commandService']=_0x3c0ffb,this[_0x4fd023(0x31f)]=_0x29c703,this[_0x4fd023(0x31f)][_0x4fd023(0x406)](e['UniverInstanceType'][_0x4fd023(0x2a3)],e[_0x4fd023(0x128)]),this[_0x4fd023(0x20a)][_0x4fd023(0x138)]([Fr]),Br[_0x4fd023(0x1a6)](_0x577b85=>this[_0x4fd023(0x203)](this[_0x4fd023(0x401)][_0x4fd023(0x11e)](_0x577b85)));}[_0xff19e8(0x364)](){const _0x5d1c48=_0xff19e8;(0x0,e[_0x5d1c48(0x32c)])(this['_injector'],[[Fr]]);}};P(Q,_0xff19e8(0x15d),_0xff19e8(0x1db)),P(Q,_0xff19e8(0x30d),Nr),P(Q,_0xff19e8(0x284),Pr),P(Q,_0xff19e8(0x278),e[_0xff19e8(0x2d7)][_0xff19e8(0x2a3)]),Q=R([(0x0,e[_0xff19e8(0x2b2)])(t['UniverProFormulaEnginePlugin']),L(0x1,(0x0,e[_0xff19e8(0x10e)])(e[_0xff19e8(0x175)])),L(0x2,e['ICommandService']),L(0x3,e[_0xff19e8(0x2b5)])],Q);function Vr(_0x34dfe1){const _0x1936ad=_0xff19e8;let _0x15b769=ei(_0x34dfe1[_0x1936ad(0x358)]);if(!_0x15b769)return{'query':'','total':0x0,'matches':[]};let _0x516d76=[],_0x264e19=_0x34dfe1[_0x1936ad(0x15a)][_0x1936ad(0x173)]((_0x2aea78,_0x260f4a)=>({'field':_0x34dfe1['table'][_0x1936ad(0x307)][_0x2aea78],'fieldIndex':_0x260f4a}))[_0x1936ad(0x1b3)](_0x42a528=>!!(_0x42a528[_0x1936ad(0x176)]&&!_0x42a528[_0x1936ad(0x176)][_0x1936ad(0x3ad)]));_0x34dfe1[_0x1936ad(0x1c6)][_0x1936ad(0x1a6)]((_0xd500e8,_0x48b75a)=>{const _0xab22c4=_0x1936ad;_0x264e19[_0xab22c4(0x1a6)](({field:_0x3492a9,fieldIndex:_0x45fe7b})=>{const _0x136961=_0xab22c4;let _0x58a12c=Hr(_0xd500e8[_0x136961(0x19c)][_0x3492a9['id']],_0x3492a9);if(!_0x58a12c)return;let _0x5a19c8=$r(_0x15b769,_0x58a12c[_0x136961(0x376)]);_0x5a19c8<=0x0||_0x516d76[_0x136961(0x36d)]({'recordId':_0xd500e8[_0x136961(0x379)],'fieldId':_0x3492a9['id'],'fieldType':_0x3492a9['type'],'text':_0x58a12c[_0x136961(0x23c)],'score':_0x5a19c8,'rowIndex':_0x48b75a,'fieldIndex':_0x45fe7b});});}),_0x516d76['sort']((_0x26672b,_0x552133)=>_0x552133[_0x1936ad(0x1e4)]-_0x26672b[_0x1936ad(0x1e4)]||_0x26672b['rowIndex']-_0x552133['rowIndex']||_0x26672b[_0x1936ad(0x2c1)]-_0x552133['fieldIndex']);let _0xa87aa9=_0x34dfe1['limit']==null?_0x516d76:_0x516d76[_0x1936ad(0x3f0)](0x0,Math[_0x1936ad(0x331)](0x0,_0x34dfe1[_0x1936ad(0x1a9)]));return{'query':_0x15b769,'total':_0x516d76[_0x1936ad(0x42b)],'matches':_0xa87aa9[_0x1936ad(0x173)](({rowIndex:_0x2f25c9,fieldIndex:_0xc01779,..._0x1d6cd7})=>_0x1d6cd7)};}function Hr(_0x237159,_0x258892){const _0x490534=_0xff19e8;let _0xb24efb=Wr(_0x237159,_0x258892)[_0x490534(0x173)](ei)[_0x490534(0x1b3)](Boolean);return _0xb24efb[_0x490534(0x42b)]?{'displayText':Ur(_0x237159,_0x258892),'searchTexts':ti(_0xb24efb)}:null;}function Ur(_0x776679,_0x1b9029){const _0x543240=_0xff19e8;switch(_0x1b9029[_0x543240(0x278)]){case _0x543240(0x1ad):case _0x543240(0x230):case'group':return Gr(_0x776679,_0x1b9029)[_0x543240(0x29b)](',\x20');case _0x543240(0x38e):return Jr(_0x776679);case _0x543240(0x38a):case _0x543240(0x326):case _0x543240(0x40e):return Yr(_0x776679,_0x1b9029);case _0x543240(0x2c2):case _0x543240(0x32f):return Xr(_0x776679,_0x1b9029);case _0x543240(0x413):return Zr(_0x776679,_0x1b9029);case _0x543240(0x2d1):return _0x776679?_0x543240(0x126):'Unchecked';case'attachment':return Qr(_0x776679)[_0x543240(0x29b)](',\x20');default:return $(_0x776679);}}function Wr(_0x541891,_0x55c460){const _0x15b7f2=_0xff19e8;switch(_0x55c460[_0x15b7f2(0x278)]){case _0x15b7f2(0x1ad):case _0x15b7f2(0x230):case'group':{let _0x171034=Gr(_0x541891,_0x55c460),_0x1babb9=Array['isArray'](_0x541891)?_0x541891['map'](String):_0x541891==null?[]:[String(_0x541891)];return[..._0x171034,..._0x1babb9];}case _0x15b7f2(0x38e):{let _0x214e95=qr(_0x541891);return[_0x214e95[_0x15b7f2(0x2c4)],_0x214e95['url']];}case _0x15b7f2(0x38a):case _0x15b7f2(0x326):case _0x15b7f2(0x40e):return[Yr(_0x541891,_0x55c460),$(_0x541891)];case'number':case'currency':return[Xr(_0x541891,_0x55c460),$(_0x541891)];case _0x15b7f2(0x413):return[Zr(_0x541891,_0x55c460),$(_0x541891)];case _0x15b7f2(0x2d1):return _0x541891?['Checked','Yes',_0x15b7f2(0x37e)]:['Unchecked','No',_0x15b7f2(0x177)];case _0x15b7f2(0x3ee):return Qr(_0x541891);default:return[$(_0x541891)];}}function Gr(_0x57a33d,_0x57eae6){const _0x245a62=_0xff19e8;var _0x1c2534;let _0x55116a=Array['isArray']((_0x1c2534=_0x57eae6[_0x245a62(0x412)])==null?void 0x0:_0x1c2534['options'])?_0x57eae6[_0x245a62(0x412)]['options']:[];return(Array['isArray'](_0x57a33d)?_0x57a33d[_0x245a62(0x173)](String):_0x57a33d==null?[]:[String(_0x57a33d)])[_0x245a62(0x1b3)](Boolean)['map'](_0x5faa09=>Kr(_0x55116a,_0x5faa09));}function Kr(_0x20b08b,_0x2a1ebc){const _0xc48338=_0xff19e8;for(let _0x3ce8bd of _0x20b08b){if(typeof _0x3ce8bd=='string'&&_0x3ce8bd===_0x2a1ebc)return _0x3ce8bd;if(_0x3ce8bd&&typeof _0x3ce8bd==_0xc48338(0x12f)){var _0x12ca57,_0x25e0af,_0x216b6e;let _0x5ab042=_0x3ce8bd;if(String((_0x12ca57=(_0x25e0af=_0x5ab042['id'])==null?_0x5ab042['name']:_0x25e0af)==null?'':_0x12ca57)===_0x2a1ebc||String((_0x216b6e=_0x5ab042[_0xc48338(0x302)])==null?'':_0x216b6e)===_0x2a1ebc){var _0x39f461,_0x1f567e;return String((_0x39f461=(_0x1f567e=_0x5ab042[_0xc48338(0x302)])==null?_0x5ab042['id']:_0x1f567e)==null?_0x2a1ebc:_0x39f461);}}}return _0x2a1ebc;}function qr(_0xa9c189){const _0xb71422=_0xff19e8;if(_0xa9c189&&typeof _0xa9c189==_0xb71422(0x12f)&&!Array[_0xb71422(0x1b7)](_0xa9c189)){var _0x117d6d,_0x355c44,_0x49dc45;let _0x266588=_0xa9c189;return{'text':String((_0x117d6d=(_0x355c44=_0x266588['text'])==null?_0x266588[_0xb71422(0x2d8)]:_0x355c44)==null?'':_0x117d6d),'url':String((_0x49dc45=_0x266588[_0xb71422(0x2d8)])==null?'':_0x49dc45)};}return{'text':$(_0xa9c189),'url':$(_0xa9c189)};}function Jr(_0x1d9228){let _0x476ae8=qr(_0x1d9228);return _0x476ae8['text']||_0x476ae8['url'];}function Yr(_0x2a326b,_0x5cd2c3){const _0x5af2cf=_0xff19e8;return typeof _0x2a326b!=_0x5af2cf(0x2c2)||!Number[_0x5af2cf(0x21a)](_0x2a326b)?'':Me(_0x2a326b,_0x5cd2c3[_0x5af2cf(0x412)]);}function Xr(_0x54436f,_0x5e3f27){const _0x192f54=_0xff19e8;let _0x1ae0fa=typeof _0x54436f==_0x192f54(0x2c2)?_0x54436f:Number(_0x54436f);return Number['isFinite'](_0x1ae0fa)?Tr(_0x1ae0fa,_0x5e3f27[_0x192f54(0x412)]):'';}function Zr(_0x3ff5d2,_0x264a78){const _0xa989d0=_0xff19e8;var _0x1893ae;let _0x39e64f=typeof _0x3ff5d2=='number'?_0x3ff5d2:Number(_0x3ff5d2);if(!Number[_0xa989d0(0x21a)](_0x39e64f))return'';let _0x39b0f2=(_0x1893ae=_0x264a78[_0xa989d0(0x412)])==null?{}:_0x1893ae,_0x19ae5b=_0x39b0f2[_0xa989d0(0x2bb)]===0x1||_0x39b0f2['decimalPlaces']===0x2?_0x39b0f2['decimalPlaces']:0x0,_0x500e16=_0x39e64f['toFixed'](_0x19ae5b);return _0x39b0f2['format']==='number'?_0x500e16:_0x500e16+'%';}function Qr(_0x980a11){const _0x1f3497=_0xff19e8;return Array[_0x1f3497(0x1b7)](_0x980a11)?_0x980a11[_0x1f3497(0x246)](_0x31ae11=>{const _0x292316=_0x1f3497;var _0x34aca6,_0x153ad4;if(!_0x31ae11||typeof _0x31ae11!=_0x292316(0x12f))return[];let _0x2fc96b=_0x31ae11,_0xe11c38=String((_0x34aca6=(_0x153ad4=_0x2fc96b[_0x292316(0x302)])==null?_0x2fc96b['url']:_0x153ad4)==null?'':_0x34aca6)[_0x292316(0x380)]();return _0xe11c38?[_0xe11c38]:[];}):[];}function $(_0x289919){const _0x5a3572=_0xff19e8;if(_0x289919==null)return'';if(typeof _0x289919=='boolean')return _0x289919?_0x5a3572(0x1b5):_0x5a3572(0x3bb);if(typeof _0x289919==_0x5a3572(0x2c2))return String(_0x289919);if(Array['isArray'](_0x289919))return _0x289919[_0x5a3572(0x173)](_0x55bf2e=>$(_0x55bf2e))[_0x5a3572(0x1b3)](Boolean)[_0x5a3572(0x29b)](',\x20');if(typeof _0x289919==_0x5a3572(0x12f)){var _0x17b538,_0x2acf6b,_0x456154,_0x5ba4cb;let _0x5d8e48=_0x289919;return String((_0x17b538=(_0x2acf6b=(_0x456154=(_0x5ba4cb=_0x5d8e48[_0x5a3572(0x2f1)])==null?_0x5d8e48[_0x5a3572(0x302)]:_0x5ba4cb)==null?_0x5d8e48[_0x5a3572(0x2c4)]:_0x456154)==null?_0x5d8e48[_0x5a3572(0x2d8)]:_0x2acf6b)==null?'':_0x17b538)['trim']();}return String(_0x289919);}function $r(_0x15728b,_0x403b1c){const _0x588b67=_0xff19e8;let _0x14492e=0x0;for(let _0x53f946 of _0x403b1c)if(_0x53f946){if(_0x53f946===_0x15728b){_0x14492e=Math[_0x588b67(0x331)](_0x14492e,0x12c);continue;}if(_0x53f946[_0x588b67(0x11d)](_0x15728b)){_0x14492e=Math[_0x588b67(0x331)](_0x14492e,0xfa);continue;}_0x53f946[_0x588b67(0x1cc)](_0x15728b)&&(_0x14492e=Math[_0x588b67(0x331)](_0x14492e,0xc8));}return _0x14492e;}function ei(_0x4221b3){const _0x574e3d=_0xff19e8;return _0x4221b3[_0x574e3d(0x380)]()[_0x574e3d(0x1d2)](/\s+/g,'\x20')['toLowerCase']();}function ti(_0xf2024){const _0x36b5fd=_0xff19e8;return Array[_0x36b5fd(0x170)](new Set(_0xf2024));}function ni(_0x51ef3f){const _0x32ef9c=_0xff19e8;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x51ef3f[_0x32ef9c(0x324)],'t':_0x51ef3f[_0x32ef9c(0x144)],'p':_0x51ef3f[_0x32ef9c(0x1d8)][_0x32ef9c(0x173)](_0x443f76=>[_0x443f76['row'],_0x443f76[_0x32ef9c(0x301)],fi(_0x443f76['value'])])};}function ri(_0x1757d6){const _0x55eaee=_0xff19e8;return ii(_0x1757d6)?{'unitId':_0x1757d6['u'],'tableId':_0x1757d6['t'],'patches':_0x1757d6['p'][_0x55eaee(0x173)](([_0x50ec76,_0x3b4751,_0x1fd985])=>({'row':_0x50ec76,'col':_0x3b4751,'value':pi(_0x1fd985)}))}:_0x1757d6;}function ii(_0x2e2d11){const _0xc6fc9=_0xff19e8;return!!_0x2e2d11&&typeof _0x2e2d11==_0xc6fc9(0x12f)&&_0x2e2d11['kind']===_0xc6fc9(0x308);}function ai(_0x2570bf){const _0x37e4b7=_0xff19e8;return{..._0x2570bf,'compress':!0x0,'kind':_0x37e4b7(0x23b),'tables':Object[_0x37e4b7(0x143)](Object[_0x37e4b7(0x29f)](_0x2570bf[_0x37e4b7(0x1ee)])['map'](([_0x386f6a,_0x344ed2])=>[_0x386f6a,ci(_0x344ed2)]))};}function oi(_0xf13a5c){const _0x140abe=_0xff19e8;if(!si(_0xf13a5c))return _0xf13a5c;let {compress:_0x1d5057,kind:_0x5e5ad3,tables:_0x45cf16,..._0x36df45}=_0xf13a5c;return{..._0x36df45,'tables':Object[_0x140abe(0x143)](Object[_0x140abe(0x29f)](_0x45cf16)[_0x140abe(0x173)](([_0x4ddd8d,_0x10fe8a])=>[_0x4ddd8d,li(_0x10fe8a)]))};}function si(_0x4bcb01){const _0x4eae2d=_0xff19e8;return!!_0x4bcb01&&typeof _0x4bcb01=='object'&&_0x4bcb01[_0x4eae2d(0x322)]===_0x4eae2d(0x23b);}function ci(_0x539156){let {cellData:_0x128b21,..._0x2cc598}=_0x539156,_0x4ae3cb=ui(_0x128b21);return _0x4ae3cb['length']?{..._0x2cc598,'cd':_0x4ae3cb}:_0x2cc598;}function li(_0x37efb1){let {cd:_0x2c3b43,..._0x8debf3}=_0x37efb1;return{..._0x8debf3,'cellData':di(_0x2c3b43)};}function ui(_0x3a5f6e){const _0xb8bf92=_0xff19e8;return _0x3a5f6e?Object[_0xb8bf92(0x29f)](_0x3a5f6e)[_0xb8bf92(0x246)](([_0x2c7e30,_0x4e8620])=>Object[_0xb8bf92(0x29f)](_0x4e8620==null?{}:_0x4e8620)[_0xb8bf92(0x173)](([_0x40c676,_0xd567b5])=>[Number(_0x2c7e30),Number(_0x40c676),mi(_0xd567b5)])):[];}function di(_0x4e8cec){let _0x45abb7={};for(let [_0x1d8bfb,_0x5125b0,_0x948bae]of _0x4e8cec==null?[]:_0x4e8cec){var _0x508254;_0x45abb7[_0x1d8bfb]=(_0x508254=_0x45abb7[_0x1d8bfb])==null?{}:_0x508254,_0x45abb7[_0x1d8bfb][_0x5125b0]=hi(_0x948bae);}return _0x45abb7;}function fi(_0x18e13e){return gi(_0x18e13e)?mi(_0x18e13e):_0x18e13e;}function pi(_0x1f3425){return _i(_0x1f3425)?hi(_0x1f3425):_0x1f3425;}function mi(_0x3ddd5a){return{'c':0x1,..._0x3ddd5a['v']===void 0x0?{}:{'v':_0x3ddd5a['v']},..._0x3ddd5a['t']!==void 0x0&&_0x3ddd5a['t']!==null?{'t':_0x3ddd5a['t']}:_0x3ddd5a['t']===null?{'t':null}:{},..._0x3ddd5a['f']!==void 0x0&&_0x3ddd5a['f']!==null?{'f':_0x3ddd5a['f']}:_0x3ddd5a['f']===null?{'f':null}:{},..._0x3ddd5a['si']!==void 0x0&&_0x3ddd5a['si']!==null?{'si':_0x3ddd5a['si']}:_0x3ddd5a['si']===null?{'si':null}:{},..._0x3ddd5a['p']!==void 0x0&&_0x3ddd5a['p']!==null?{'p':_0x3ddd5a['p']}:_0x3ddd5a['p']===null?{'p':null}:{}};}function hi(_0x5b6b45){return{..._0x5b6b45['v']===void 0x0?{}:{'v':_0x5b6b45['v']},..._0x5b6b45['t']===void 0x0?{}:{'t':_0x5b6b45['t']},..._0x5b6b45['f']===void 0x0?{}:{'f':_0x5b6b45['f']},..._0x5b6b45['si']===void 0x0?{}:{'si':_0x5b6b45['si']},..._0x5b6b45['p']===void 0x0?{}:{'p':_0x5b6b45['p']}};}function gi(_0x6f3a9){const _0x8e8562=_0xff19e8;return!!_0x6f3a9&&typeof _0x6f3a9==_0x8e8562(0x12f)&&!Array[_0x8e8562(0x1b7)](_0x6f3a9)&&(Object['prototype'][_0x8e8562(0x2ca)][_0x8e8562(0x234)](_0x6f3a9,'v')||Object[_0x8e8562(0x2dd)][_0x8e8562(0x2ca)][_0x8e8562(0x234)](_0x6f3a9,'t')||Object['prototype']['hasOwnProperty'][_0x8e8562(0x234)](_0x6f3a9,'p')||Object['prototype'][_0x8e8562(0x2ca)]['call'](_0x6f3a9,'f')||Object[_0x8e8562(0x2dd)][_0x8e8562(0x2ca)][_0x8e8562(0x234)](_0x6f3a9,'si'));}function _i(_0xbe87bc){const _0x194cce=_0xff19e8;return!!_0xbe87bc&&typeof _0xbe87bc=='object'&&!Array[_0x194cce(0x1b7)](_0xbe87bc)&&_0xbe87bc['c']===0x1;}exports[_0xff19e8(0x237)]=K,exports[_0xff19e8(0x12c)]=zr,exports['BASE_SYNC_MUTATIONS']=Br,Object[_0xff19e8(0x2b4)](exports,_0xff19e8(0x2a0),{'enumerable':!0x0,'get':function(){return J;}}),Object[_0xff19e8(0x2b4)](exports,'BaseCommandService',{'enumerable':!0x0,'get':function(){return B;}}),exports[_0xff19e8(0x1ae)]=St,Object[_0xff19e8(0x2b4)](exports,'BaseFormulaCalculationController',{'enumerable':!0x0,'get':function(){return Y;}}),exports[_0xff19e8(0x26a)]=mr,exports[_0xff19e8(0x16d)]=jr,exports[_0xff19e8(0x3aa)]=w,exports[_0xff19e8(0x1b4)]=M,exports[_0xff19e8(0x13f)]=wt,Object[_0xff19e8(0x2b4)](exports,_0xff19e8(0x137),{'enumerable':!0x0,'get':function(){return Lt;}}),Object[_0xff19e8(0x2b4)](exports,_0xff19e8(0x429),{'enumerable':!0x0,'get':function(){return X;}}),exports[_0xff19e8(0x387)]=Rr,exports[_0xff19e8(0x351)]=pn,exports[_0xff19e8(0x3b9)]=mn,exports[_0xff19e8(0x3d5)]=hn,exports[_0xff19e8(0x333)]=gn,exports['CreateBaseRecordCommand']=_n,exports[_0xff19e8(0x21f)]=vn,exports['CreateBaseViewCommand']=Nn,exports[_0xff19e8(0x286)]=Pn,exports[_0xff19e8(0x3f1)]=Fn,exports[_0xff19e8(0x352)]=In,exports['DeleteBaseViewCommand']=Ln,exports[_0xff19e8(0x3a0)]=Rn,exports[_0xff19e8(0x439)]=zn,exports['EnsureBaseTemporalViewDateFieldsCommand']=Bn,exports[_0xff19e8(0x254)]=z,exports['IBaseFieldRegistryService']=F,exports[_0xff19e8(0x162)]=Ct,exports[_0xff19e8(0x3ce)]=Ft,exports[_0xff19e8(0x318)]=Ir,exports[_0xff19e8(0x2ef)]=Lr,exports['MoveBaseFieldCommand']=Un,exports[_0xff19e8(0x281)]=Wn,exports['RenameBaseTableCommand']=Gn,exports['RenameBaseViewCommand']=Kn,exports['SetBaseKanbanGroupFieldCommand']=qn,exports[_0xff19e8(0x268)]=Jn,exports[_0xff19e8(0x1e3)]=Yn,exports[_0xff19e8(0x193)]=Xn,exports[_0xff19e8(0x3c0)]=Zn,exports[_0xff19e8(0x415)]=Qn,exports[_0xff19e8(0x2fd)]=$n,exports['SetBaseViewGroupCommand']=er,exports[_0xff19e8(0x1fd)]=tr,Object[_0xff19e8(0x2b4)](exports,_0xff19e8(0x3e7),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0xff19e8(0x2b4)](exports,_0xff19e8(0x400),{'enumerable':!0x0,'get':function(){return Q;}}),exports[_0xff19e8(0x2d5)]=nr,exports[_0xff19e8(0x3d0)]=ir,exports[_0xff19e8(0x18a)]=rr,exports[_0xff19e8(0x2ad)]=ar,exports[_0xff19e8(0x262)]=or,exports[_0xff19e8(0x1f5)]=sr,exports['baseDateSerialToDateMs']=D,exports[_0xff19e8(0x116)]=A,exports[_0xff19e8(0x2f5)]=wr,exports['composeJson1Ops']=j,exports[_0xff19e8(0x348)]=ni,exports['compressBaseSnapshot']=ai,exports[_0xff19e8(0x344)]=Ar,exports[_0xff19e8(0x40b)]=hr,exports[_0xff19e8(0x260)]=gr,exports[_0xff19e8(0x153)]=lr,exports[_0xff19e8(0x2ba)]=tt,exports[_0xff19e8(0x189)]=At,exports[_0xff19e8(0x42c)]=T,exports[_0xff19e8(0x1ba)]=ri,exports[_0xff19e8(0x157)]=oi,exports['ensureBaseTableCellLayout']=f,exports[_0xff19e8(0x3bc)]=je,exports['formatBaseDateValue']=Me,exports[_0xff19e8(0x2e4)]=Tr,exports[_0xff19e8(0x192)]=x,exports[_0xff19e8(0x17a)]=ie,exports['getBaseCell']=_,exports[_0xff19e8(0x169)]=y,exports[_0xff19e8(0x396)]=v,exports[_0xff19e8(0x362)]=q,exports[_0xff19e8(0x11c)]=kr,exports[_0xff19e8(0x11a)]=a,exports[_0xff19e8(0x3e5)]=ii,exports[_0xff19e8(0x2ee)]=si,exports[_0xff19e8(0x1c1)]=c,exports['matchesBaseCondition']=Le,exports[_0xff19e8(0x397)]=S,exports[_0xff19e8(0x2c8)]=E,exports[_0xff19e8(0x30c)]=oe,exports[_0xff19e8(0x346)]=Vr,exports[_0xff19e8(0x125)]=ee,exports[_0xff19e8(0x370)]=cr,exports[_0xff19e8(0x2e6)]=b,exports[_0xff19e8(0x14a)]=ne,exports[_0xff19e8(0x1fa)]=o,exports[_0xff19e8(0x1bf)]=s,exports[_0xff19e8(0x181)]=yn,exports[_0xff19e8(0x1e1)]=ae;
|