@univerjs-pro/bases 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3bd361=_0x4e51;(function(_0x4f05e1,_0x4902cb){const _0x362603=_0x4e51,_0x1f4204=_0x4f05e1();while(!![]){try{const _0x29326f=parseInt(_0x362603(0x131))/0x1+-parseInt(_0x362603(0x12c))/0x2*(parseInt(_0x362603(0x129))/0x3)+-parseInt(_0x362603(0x13e))/0x4*(parseInt(_0x362603(0x13d))/0x5)+-parseInt(_0x362603(0x133))/0x6*(-parseInt(_0x362603(0x141))/0x7)+-parseInt(_0x362603(0x140))/0x8*(-parseInt(_0x362603(0x127))/0x9)+parseInt(_0x362603(0x12b))/0xa*(parseInt(_0x362603(0x143))/0xb)+-parseInt(_0x362603(0x138))/0xc*(parseInt(_0x362603(0x137))/0xd);if(_0x29326f===_0x4902cb)break;else _0x1f4204['push'](_0x1f4204['shift']());}catch(_0x6bdac8){_0x1f4204['push'](_0x1f4204['shift']());}}}(_0x523f,0x49808));const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'核取方塊','link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x3bd361(0x12e),'email':_0x3bd361(0x13b),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':'關聯記錄','recordId':_0x3bd361(0x12d),'createdBy':_0x3bd361(0x130),'updatedBy':'更新人','createdAt':'建立時間','updatedAt':_0x3bd361(0x12a),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x3bd361(0x134),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'行事曆','gantt':_0x3bd361(0x142),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x3bd361(0x136),'invalidFieldType':_0x3bd361(0x13c),'invalidCellValue':_0x3bd361(0x139),'invalidKanbanGroupField':_0x3bd361(0x13f),'invalidCalendarDateField':'行事曆需要日期欄位','invalidGanttDateField':_0x3bd361(0x132)},'command':{'updateCell':_0x3bd361(0x13a),'createField':_0x3bd361(0x12f),'deleteField':_0x3bd361(0x128),'createRecord':'建立記錄','deleteRecord':'刪除記錄','updateViewConfig':_0x3bd361(0x135)}}};export{e as default};function _0x4e51(_0x2f4bef,_0x5b8c9c){_0x2f4bef=_0x2f4bef-0x127;const _0x523f4a=_0x523f();let _0x4e5180=_0x523f4a[_0x2f4bef];return _0x4e5180;}function _0x523f(){const _0x26098a=['2365620oPSMRh','輸入內容','更新檢視設定','欄位標題不能為空','1352yUpFxg','86808lMHIGN','儲存格值無效','更新儲存格','電子郵件','欄位類型無效','8385WUTeLB','628qzcbPD','看板需要可分組欄位','243520kgcQPG','7LRRUeL','甘特圖','169367XRIrtJ','153eAkWoX','刪除欄位','69dMZBNT','更新時間','250diKlxW','37826rSYACL','記錄\x20ID','電話號碼','建立欄位','建立人','455013LURuJP','甘特圖檢視需要開始和結束日期欄位'];_0x523f=function(){return _0x26098a;};return _0x523f();}
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x214321,_0x5b7327){const _0x8a24ed=_0x586a,_0x1c446a=_0x214321();while(!![]){try{const _0x5c5848=parseInt(_0x8a24ed(0x2d6))/0x1*(-parseInt(_0x8a24ed(0x2d8))/0x2)+parseInt(_0x8a24ed(0x1a5))/0x3*(-parseInt(_0x8a24ed(0x1d8))/0x4)+-parseInt(_0x8a24ed(0x263))/0x5+parseInt(_0x8a24ed(0x22a))/0x6*(parseInt(_0x8a24ed(0x199))/0x7)+parseInt(_0x8a24ed(0x2fe))/0x8*(-parseInt(_0x8a24ed(0x1b5))/0x9)+parseInt(_0x8a24ed(0x2da))/0xa+parseInt(_0x8a24ed(0x32d))/0xb*(parseInt(_0x8a24ed(0x229))/0xc);if(_0x5c5848===_0x5b7327)break;else _0x1c446a['push'](_0x1c446a['shift']());}catch(_0x5f3907){_0x1c446a['push'](_0x1c446a['shift']());}}}(_0x493e,0xf085c),function(_0x14a5f5,_0x2d1b47){const _0x53b19b=_0x586a;typeof exports==_0x53b19b(0x2e5)&&typeof module<'u'?_0x2d1b47(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/protocol'),require('@univerjs-pro/engine-formula')):typeof define==_0x53b19b(0x300)&&define[_0x53b19b(0x257)]?define([_0x53b19b(0x235),_0x53b19b(0x2ef),_0x53b19b(0x2a6),_0x53b19b(0x25d),'@univerjs/protocol',_0x53b19b(0x2e0)],_0x2d1b47):(_0x14a5f5=typeof globalThis<'u'?globalThis:_0x14a5f5||self,_0x2d1b47(_0x14a5f5[_0x53b19b(0x200)]={},_0x14a5f5[_0x53b19b(0x292)],_0x14a5f5[_0x53b19b(0x265)],_0x14a5f5[_0x53b19b(0x307)],_0x14a5f5['UniverProtocol'],_0x14a5f5[_0x53b19b(0x324)]));}(this,function(_0x2f53ab,_0x471e22,_0x26e2cd,_0x6b6f07,_0x4ed616,_0x30b7c4){const _0x5a49e4=_0x586a;Object[_0x5a49e4(0x19a)](_0x2f53ab,Symbol[_0x5a49e4(0x252)],{'value':_0x5a49e4(0x34b)});var _0x5ddda5=Object[_0x5a49e4(0x1df)],_0x2eef66=Object[_0x5a49e4(0x19a)],_0xd4afa2=Object['getOwnPropertyDescriptor'],_0x4e54a3=Object['getOwnPropertyNames'],_0x259647=Object['getPrototypeOf'],_0x32107d=Object[_0x5a49e4(0x291)]['hasOwnProperty'],_0x5c9ef2=(_0x5be236,_0x3a4ea7,_0x47034b,_0x36ade3)=>{const _0x22ed07=_0x5a49e4;if(_0x3a4ea7&&typeof _0x3a4ea7==_0x22ed07(0x2e5)||typeof _0x3a4ea7==_0x22ed07(0x300)){for(var _0x448f3e=_0x4e54a3(_0x3a4ea7),_0x2dbabc=0x0,_0xa635b1=_0x448f3e[_0x22ed07(0x34f)],_0x503c6a;_0x2dbabc<_0xa635b1;_0x2dbabc++)_0x503c6a=_0x448f3e[_0x2dbabc],!_0x32107d[_0x22ed07(0x325)](_0x5be236,_0x503c6a)&&_0x503c6a!==_0x47034b&&_0x2eef66(_0x5be236,_0x503c6a,{'get':(_0x4e2d7d=>_0x3a4ea7[_0x4e2d7d])['bind'](null,_0x503c6a),'enumerable':!(_0x36ade3=_0xd4afa2(_0x3a4ea7,_0x503c6a))||_0x36ade3['enumerable']});}return _0x5be236;};_0x6b6f07=((_0x46da9a,_0x58319f,_0x594fab)=>(_0x594fab=_0x46da9a==null?{}:_0x5ddda5(_0x259647(_0x46da9a)),_0x5c9ef2(_0x58319f||!_0x46da9a||!_0x46da9a[_0x5a49e4(0x1fd)]||!_0x32107d[_0x5a49e4(0x325)](_0x46da9a,'default')?_0x2eef66(_0x594fab,_0x5a49e4(0x28c),{'value':_0x46da9a,'enumerable':!0x0}):_0x594fab,_0x46da9a)))(_0x6b6f07);var _0x1dc073=class{constructor(_0x4234b7,_0x2007c5,_0x14179c){const _0x3ce576=_0x5a49e4;this[_0x3ce576(0x1f0)]=_0x4234b7,this['_commandService']=_0x2007c5,this[_0x3ce576(0x209)]=_0x14179c;}async['setObjectPermissions'](_0x4ad427){const _0x55953a=_0x5a49e4;return this[_0x55953a(0x1be)][_0x55953a(0x308)](_0x471e22[_0x55953a(0x323)]['id'],{'unitId':this[_0x55953a(0x1f0)],'changes':_0x4ad427});}async[_0x5a49e4(0x32f)](_0x21fa09,_0xdc277){const _0x3a85a9=_0x5a49e4;await this[_0x3a85a9(0x1be)]['executeCommand'](_0x471e22[_0x3a85a9(0x1c1)]['id'],{'unitId':this[_0x3a85a9(0x1f0)],'objectId':this[_0x3a85a9(0x1f0)],'action':_0x21fa09,'value':_0xdc277});}['getPoint'](_0x4950dc){const _0x23af69=_0x5a49e4;return(0x0,_0x471e22[_0x23af69(0x1a0)])(this[_0x23af69(0x209)],this[_0x23af69(0x1f0)],this[_0x23af69(0x1f0)],_0x4950dc);}async['setEditable'](_0x2e04a0=!0x0){const _0x4624cd=_0x5a49e4;await this[_0x4624cd(0x1be)][_0x4624cd(0x308)](_0x471e22['SetBasePermissionCommand']['id'],{'unitId':this[_0x4624cd(0x1f0)],'objectId':this['_unitId'],'action':_0x4ed616[_0x4624cd(0x25a)][_0x4624cd(0x1b0)],'value':_0x2e04a0});}async[_0x5a49e4(0x1a8)](){const _0x16c840=_0x5a49e4;await this[_0x16c840(0x1be)]['executeCommand'](_0x471e22[_0x16c840(0x1c1)]['id'],{'unitId':this['_unitId'],'objectId':this[_0x16c840(0x1f0)],'action':_0x4ed616['UnitAction'][_0x16c840(0x1b0)],'value':!0x1});}['canEdit'](){const _0x3b5378=_0x5a49e4;return(0x0,_0x471e22[_0x3b5378(0x1a0)])(this['_permissionService'],this[_0x3b5378(0x1f0)],this[_0x3b5378(0x1f0)],_0x4ed616[_0x3b5378(0x25a)][_0x3b5378(0x1b0)]);}},_0x1d0494=class{constructor(_0x31e5fa,_0x4dcdf6,_0x4793e1,_0xdb43ad,_0xac5ead){const _0x2b3a73=_0x5a49e4;this[_0x2b3a73(0x1f0)]=_0x31e5fa,this[_0x2b3a73(0x262)]=_0x4dcdf6,this[_0x2b3a73(0x239)]=_0x4793e1,this[_0x2b3a73(0x1be)]=_0xdb43ad,this[_0x2b3a73(0x209)]=_0xac5ead;}async[_0x5a49e4(0x1d1)](_0x59fd50=!0x0){const _0x1fa708=_0x5a49e4;await this[_0x1fa708(0x1be)][_0x1fa708(0x308)](_0x471e22[_0x1fa708(0x1c1)]['id'],{'unitId':this['_unitId'],'objectId':this[_0x1fa708(0x262)],'action':_0x4ed616[_0x1fa708(0x25a)][_0x1fa708(0x1b0)],'value':_0x59fd50});}async['setReadOnly'](){const _0x45bda9=_0x5a49e4;await this[_0x45bda9(0x1be)][_0x45bda9(0x308)](_0x471e22[_0x45bda9(0x1c1)]['id'],{'unitId':this[_0x45bda9(0x1f0)],'objectId':this[_0x45bda9(0x262)],'action':_0x4ed616['UnitAction'][_0x45bda9(0x1b0)],'value':!0x1});}[_0x5a49e4(0x1ac)](){const _0x132fbc=_0x5a49e4;return(0x0,_0x471e22['canEditBaseTargets'])(this[_0x132fbc(0x209)],this['_unitId'],[...this[_0x132fbc(0x239)],this['_objectId']]);}};function _0x197b0f(_0x483420,_0xc39ffb){return function(_0x29f605,_0x119fb1){_0xc39ffb(_0x29f605,_0x119fb1,_0x483420);};}function _0x4ef17f(_0x1e5254,_0x17139b,_0x42e2e4,_0x310bfb){const _0x14bf8=_0x5a49e4;var _0x3a58c3=arguments[_0x14bf8(0x34f)],_0xcabed3=_0x3a58c3<0x3?_0x17139b:_0x310bfb===null?_0x310bfb=Object[_0x14bf8(0x349)](_0x17139b,_0x42e2e4):_0x310bfb,_0x35a182;if(typeof Reflect==_0x14bf8(0x2e5)&&typeof Reflect[_0x14bf8(0x288)]==_0x14bf8(0x300))_0xcabed3=Reflect['decorate'](_0x1e5254,_0x17139b,_0x42e2e4,_0x310bfb);else{for(var _0x131952=_0x1e5254[_0x14bf8(0x34f)]-0x1;_0x131952>=0x0;_0x131952--)(_0x35a182=_0x1e5254[_0x131952])&&(_0xcabed3=(_0x3a58c3<0x3?_0x35a182(_0xcabed3):_0x3a58c3>0x3?_0x35a182(_0x17139b,_0x42e2e4,_0xcabed3):_0x35a182(_0x17139b,_0x42e2e4))||_0xcabed3);}return _0x3a58c3>0x3&&_0xcabed3&&Object[_0x14bf8(0x19a)](_0x17139b,_0x42e2e4,_0xcabed3),_0xcabed3;}let _0x138a01=class{constructor(_0x14ff7f,_0x2dd0f6,_0x2b1cc9,_0x38808e,_0x490789){const _0x3d7b53=_0x5a49e4;this['_base']=_0x14ff7f,this[_0x3d7b53(0x25f)]=_0x2dd0f6,this[_0x3d7b53(0x35c)]=_0x2b1cc9,this[_0x3d7b53(0x1be)]=_0x38808e,this[_0x3d7b53(0x209)]=_0x490789;}[_0x5a49e4(0x32b)](){const _0x464f41=_0x5a49e4;return this[_0x464f41(0x35c)];}[_0x5a49e4(0x352)](){const _0xaa66ab=_0x5a49e4;let _0x4706da=this[_0xaa66ab(0x25f)]['getId']();return new _0x1d0494(this[_0xaa66ab(0x2a0)][_0xaa66ab(0x32b)](),(0x0,_0x471e22[_0xaa66ab(0x29b)])(_0x4706da,this[_0xaa66ab(0x35c)]),[(0x0,_0x471e22[_0xaa66ab(0x251)])(_0x4706da)],this['_commandService'],this[_0xaa66ab(0x209)]);}[_0x5a49e4(0x213)](){return this['_getField']();}[_0x5a49e4(0x31b)](){const _0x2ae84d=_0x5a49e4;return this['_getField']()[_0x2ae84d(0x31d)];}[_0x5a49e4(0x2a7)](){const _0x17a7ab=_0x5a49e4;return this[_0x17a7ab(0x222)]()[_0x17a7ab(0x225)];}[_0x5a49e4(0x1cf)](){const _0x19aa6e=_0x5a49e4;return this[_0x19aa6e(0x222)]()[_0x19aa6e(0x206)];}[_0x5a49e4(0x1aa)](){const _0x482802=_0x5a49e4;return this[_0x482802(0x222)]()[_0x482802(0x294)];}[_0x5a49e4(0x1f7)](){return this['_getField']()['description'];}[_0x5a49e4(0x247)](){const _0x29308b=_0x5a49e4;return!!this[_0x29308b(0x222)]()[_0x29308b(0x254)];}[_0x5a49e4(0x275)](_0x174657){const _0x2d5b40=_0x5a49e4;return this[_0x2d5b40(0x203)]({'name':_0x174657});}[_0x5a49e4(0x22e)](_0x4ad740,_0x3b5e81){return this['update']({'config':_0x4ad740},_0x3b5e81);}[_0x5a49e4(0x1ec)](_0x1a34b6){const _0x57c8a8=_0x5a49e4;return this[_0x57c8a8(0x203)]({'defaultValue':_0x1a34b6});}[_0x5a49e4(0x203)](_0x29b003,_0x1f2f00){const _0x303839=_0x5a49e4;let _0x2a1474=this['_getField']()[_0x303839(0x225)];return(_0x29b003[_0x303839(0x225)]??_0x2a1474)===_0x26e2cd[_0x303839(0x1cd)][_0x303839(0x2e2)]&&(Object[_0x303839(0x291)][_0x303839(0x309)][_0x303839(0x325)](_0x29b003,_0x303839(0x206))||_0x29b003['type']===_0x26e2cd['BaseFieldType'][_0x303839(0x2e2)])&&!this[_0x303839(0x2c5)](_0x1f2f00)?!0x1:this['_commandService'][_0x303839(0x20a)](_0x471e22[_0x303839(0x1f8)]['id'],{'unitId':this[_0x303839(0x2a0)]['getId'](),'tableId':this[_0x303839(0x25f)]['getId'](),'fieldId':this[_0x303839(0x35c)],'patch':_0x29b003});}[_0x5a49e4(0x19c)](_0x10d585,_0x256198={},_0x38d10a){const _0x4786ce=_0x5a49e4;return _0x10d585===_0x26e2cd[_0x4786ce(0x1cd)][_0x4786ce(0x2e2)]&&!this[_0x4786ce(0x2c5)](_0x38d10a)?!0x1:this['_commandService'][_0x4786ce(0x20a)](_0x471e22[_0x4786ce(0x20f)]['id'],{'unitId':this[_0x4786ce(0x2a0)][_0x4786ce(0x32b)](),'tableId':this[_0x4786ce(0x25f)][_0x4786ce(0x32b)](),'fieldId':this['_fieldId'],'input':{'type':_0x10d585,'config':_0x256198}});}[_0x5a49e4(0x34c)](){const _0xa2223d=_0x5a49e4;return this[_0xa2223d(0x1be)][_0xa2223d(0x20a)](_0x471e22[_0xa2223d(0x1af)]['id'],{'unitId':this[_0xa2223d(0x2a0)][_0xa2223d(0x32b)](),'tableId':this[_0xa2223d(0x25f)][_0xa2223d(0x32b)](),'fieldId':this[_0xa2223d(0x35c)]});}[_0x5a49e4(0x1f6)](_0x5798ce){const _0x530e7c=_0x5a49e4;return this['_commandService'][_0x530e7c(0x20a)](_0x471e22[_0x530e7c(0x2d0)]['id'],{'unitId':this[_0x530e7c(0x2a0)][_0x530e7c(0x32b)](),'tableId':this[_0x530e7c(0x25f)][_0x530e7c(0x32b)](),'fieldId':this[_0x530e7c(0x35c)],'target':_0x5798ce});}['_getField'](){const _0x22c855=_0x5a49e4;let _0x3a3c74=this[_0x22c855(0x25f)][_0x22c855(0x1f5)]()['fields'][this[_0x22c855(0x35c)]];if(!_0x3a3c74)throw Error(_0x22c855(0x25c)+this[_0x22c855(0x35c)]+_0x22c855(0x2ed));return _0x3a3c74;}[_0x5a49e4(0x2c5)](_0x25b8ac){const _0x150825=_0x5a49e4;if(!_0x25b8ac||!Array[_0x150825(0x234)](_0x25b8ac['externalReferences']))return console[_0x150825(0x221)]('[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.'),!0x1;if(_0x25b8ac['externalReferences']['length']===0x0)return!0x0;let _0x4f4515=this[_0x150825(0x1be)][_0x150825(0x20a)](_0x30b7c4[_0x150825(0x19e)]['id'],{'unitId':this[_0x150825(0x2a0)][_0x150825(0x32b)](),'references':_0x25b8ac[_0x150825(0x1fa)]});return _0x4f4515||console[_0x150825(0x221)]('[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.'),_0x4f4515;}};_0x138a01=_0x4ef17f([_0x197b0f(0x3,_0x26e2cd[_0x5a49e4(0x2cd)]),_0x197b0f(0x4,_0x26e2cd['IPermissionService'])],_0x138a01);let _0x51ead3=function(_0x1272e4){const _0x24b826=_0x5a49e4;return _0x1272e4['Id']='id',_0x1272e4[_0x24b826(0x2de)]=_0x24b826(0x31d),_0x1272e4['Auto']='auto',_0x1272e4;}({});function _0x4eb2af(_0x41dbc3){const _0x34ba94=_0x5a49e4;return!!(_0x41dbc3&&_0x41dbc3[_0x34ba94(0x1a2)]!==!0x0&&_0x41dbc3[_0x34ba94(0x225)]!==_0x26e2cd['BaseFieldType'][_0x34ba94(0x2a8)]);}function _0x1c32b4(_0x545fc3,_0xc4f480,_0x3fa27a='id'){const _0x245910=_0x5a49e4;if(!_0xc4f480)return{};let _0x2dee29={};return Object[_0x245910(0x1fe)](_0xc4f480)[_0x245910(0x20d)](([_0x424e9e,_0x3befd0])=>{const _0x2d4aaf=_0x245910;let _0x10905c=_0x40f984(_0x545fc3,_0x424e9e,_0x3fa27a);_0x2dee29[_0x10905c]=_0x4435b6(_0x545fc3[_0x2d4aaf(0x212)][_0x10905c],_0x3befd0);}),_0x2dee29;}function _0x4435b6(_0x4c724d,_0x10e4d7){const _0x33b471=_0x5a49e4;if((_0x4c724d==null?void 0x0:_0x4c724d['type'])!==_0x26e2cd[_0x33b471(0x1cd)][_0x33b471(0x201)]||_0x10e4d7==null)return _0x10e4d7;if(!Array[_0x33b471(0x234)](_0x10e4d7))throw TypeError('Invalid\x20attachment\x20value\x20for\x20field\x20\x22'+_0x4c724d[_0x33b471(0x31d)]+'\x22:\x20expected\x20an\x20array.');return _0x10e4d7[_0x33b471(0x19b)]((_0x348465,_0x4d0b64)=>_0x3c2a5c(_0x4c724d,_0x348465,_0x4d0b64));}function _0x40f984(_0x34dd41,_0x3b386a,_0xedb73d){const _0x409d02=_0x5a49e4;if(_0xedb73d==='id'||_0xedb73d==='auto'&&_0x34dd41[_0x409d02(0x212)][_0x3b386a])return _0x3b386a;let _0x4033a5=Object[_0x409d02(0x289)](_0x34dd41[_0x409d02(0x212)])[_0x409d02(0x208)](_0x301a13=>_0x301a13[_0x409d02(0x31d)]===_0x3b386a);if(_0x4033a5['length']===0x1)return _0x4033a5[0x0]['id'];throw _0x4033a5[_0x409d02(0x34f)]>0x1?Error(_0x409d02(0x1ff)+_0x3b386a):Error('Base\x20field\x20not\x20found:\x20'+_0x3b386a);}function _0x3c2a5c(_0xcdc5e8,_0x2e702b,_0x1db250){const _0x5ab6bb=_0x5a49e4;let _0x5410b3=_0x5ab6bb(0x27c)+_0x1db250+_0x5ab6bb(0x315)+_0xcdc5e8['name']+'\x22';if(!_0x5f142c(_0x2e702b))throw TypeError(_0x5410b3+':\x20expected\x20an\x20object.');if(_0x5ab6bb(0x279)in _0x2e702b)throw TypeError(_0x5410b3+_0x5ab6bb(0x2b0));if('type'in _0x2e702b)throw TypeError(_0x5410b3+_0x5ab6bb(0x230));let _0x52271f=_0x4e811f(_0x2e702b['id'],_0x5410b3,'id'),_0x15cc7c=_0x4e811f(_0x2e702b[_0x5ab6bb(0x31d)],_0x5410b3,_0x5ab6bb(0x31d)),_0x75e3d1=_0x4e811f(_0x2e702b['source'],_0x5410b3,'source');return{'id':_0x52271f,'name':_0x15cc7c,'source':_0x75e3d1,'sourceType':_0x33571e(_0x2e702b[_0x5ab6bb(0x2aa)],_0x75e3d1,_0x5410b3),..._0x4938c4(_0x2e702b,_0x5ab6bb(0x1c8),_0x5410b3),..._0x326cab(_0x2e702b,_0x5ab6bb(0x299),_0x5410b3),..._0x326cab(_0x2e702b,_0x5ab6bb(0x327),_0x5410b3),..._0x326cab(_0x2e702b,_0x5ab6bb(0x27e),_0x5410b3),..._0x4938c4(_0x2e702b,_0x5ab6bb(0x29e),_0x5410b3)};}function _0x33571e(_0x24fe12,_0x3b9e90,_0xcae607){const _0x3f7c66=_0x5a49e4;if(_0x24fe12==null)return _0x3b9e90[_0x3f7c66(0x2b6)](_0x3f7c66(0x342))?_0x26e2cd['ImageSourceType']['BASE64']:_0x26e2cd[_0x3f7c66(0x214)][_0x3f7c66(0x34d)];if(_0x24fe12===_0x26e2cd[_0x3f7c66(0x214)][_0x3f7c66(0x34d)]||_0x24fe12===_0x26e2cd[_0x3f7c66(0x214)][_0x3f7c66(0x1e7)]||_0x24fe12===_0x26e2cd[_0x3f7c66(0x214)][_0x3f7c66(0x23d)])return _0x24fe12;throw TypeError(_0xcae607+_0x3f7c66(0x32e));}function _0x4e811f(_0x3f5061,_0x1dfdef,_0x22f08d){const _0x3b92d8=_0x5a49e4;if(typeof _0x3f5061!=_0x3b92d8(0x1b2)||!_0x3f5061[_0x3b92d8(0x236)]())throw TypeError(_0x1dfdef+':\x20\x22'+_0x22f08d+'\x22\x20must\x20be\x20a\x20non-empty\x20string.');return _0x3f5061;}function _0x4938c4(_0x498c77,_0x55cd70,_0x2a5222){const _0x23bb85=_0x5a49e4;let _0x4a2748=_0x498c77[_0x55cd70];if(_0x4a2748==null)return{};if(typeof _0x4a2748!=_0x23bb85(0x1b2)||!_0x4a2748[_0x23bb85(0x236)]())throw TypeError(_0x2a5222+_0x23bb85(0x19f)+_0x55cd70+_0x23bb85(0x2d7));return{[_0x55cd70]:_0x4a2748};}function _0x326cab(_0xa2efb2,_0x11c0ab,_0xb33aa9){const _0xc9e108=_0x5a49e4;let _0x41ff90=_0xa2efb2[_0x11c0ab];if(_0x41ff90==null)return{};if(typeof _0x41ff90!=_0xc9e108(0x2c0)||!Number['isFinite'](_0x41ff90)||_0x41ff90<0x0)throw TypeError(_0xb33aa9+_0xc9e108(0x19f)+_0x11c0ab+_0xc9e108(0x2c2));return{[_0x11c0ab]:_0x41ff90};}function _0x5f142c(_0xa2a674){const _0x313312=_0x5a49e4;return typeof _0xa2a674==_0x313312(0x2e5)&&!!_0xa2a674&&!Array[_0x313312(0x234)](_0xa2a674);}var _0x4d20e6;let _0x39a5e1=_0x4d20e6=class{constructor(_0x2586ba,_0x34e4ca,_0x3f7581,_0x5a3082,_0x303761){const _0x22fa8e=_0x5a49e4;this[_0x22fa8e(0x2a0)]=_0x2586ba,this['_table']=_0x34e4ca,this[_0x22fa8e(0x25b)]=_0x3f7581,this['_inject']=_0x5a3082,this['_commandService']=_0x303761,this[_0x22fa8e(0x2bb)]();}['getBaseId'](){return this['_base']['getId']();}['getTableId'](){const _0xb74a8c=_0x5a49e4;return this[_0xb74a8c(0x25f)][_0xb74a8c(0x32b)]();}[_0x5a49e4(0x357)](){const _0x480401=_0x5a49e4;return{...this[_0x480401(0x25b)]};}[_0x5a49e4(0x216)](){const _0x584302=_0x5a49e4;return this[_0x584302(0x25b)][_0x584302(0x331)];}['getColumn'](){const _0x36717f=_0x5a49e4;return this['_range'][_0x36717f(0x1f2)];}['getNumRows'](){const _0x5b2a05=_0x5a49e4;return this['_range'][_0x5b2a05(0x2b3)]-this['_range'][_0x5b2a05(0x331)]+0x1;}[_0x5a49e4(0x1b1)](){const _0x7a2dd=_0x5a49e4;return this[_0x7a2dd(0x25b)][_0x7a2dd(0x248)]-this[_0x7a2dd(0x25b)][_0x7a2dd(0x1f2)]+0x1;}['getValues'](){const _0x65bceb=_0x5a49e4;let _0x87d19e=this['_getTable'](),_0x5ced1f=this[_0x65bceb(0x306)](_0x87d19e),_0x38d256=[];for(let _0x3a43f5=this['_range']['startRow'];_0x3a43f5<=this['_range']['endRow'];_0x3a43f5++){var _0x183a30;let _0x3123fe=(_0x183a30=_0x87d19e['rowId'])==null?void 0x0:_0x183a30[_0x3a43f5],_0x1a8d01=[];for(let _0x4c8fb8=this[_0x65bceb(0x25b)]['startColumn'];_0x4c8fb8<=this[_0x65bceb(0x25b)][_0x65bceb(0x248)];_0x4c8fb8++){let _0x15165e=_0x5ced1f[_0x4c8fb8];_0x1a8d01[_0x65bceb(0x2f4)](_0x3123fe&&_0x15165e?(0x0,_0x471e22[_0x65bceb(0x27a)])(_0x87d19e,_0x3123fe,_0x15165e):null);}_0x38d256[_0x65bceb(0x2f4)](_0x1a8d01);}return _0x38d256;}['getValue'](){const _0x261152=_0x5a49e4;var _0x392b3d;return((_0x392b3d=this[_0x261152(0x340)]()[0x0])==null?void 0x0:_0x392b3d[0x0])??null;}['setValue'](_0x47ca92){return this['setValues']([[_0x47ca92]]);}[_0x5a49e4(0x301)](_0x5e5bac){const _0x50de71=_0x5a49e4;let _0x1cc2e4=this['getNumRows'](),_0x4b3f15=this[_0x50de71(0x1b1)]();if(_0x5e5bac['length']>_0x1cc2e4||_0x5e5bac[_0x50de71(0x2d5)](_0x511f7f=>_0x511f7f['length']>_0x4b3f15)){var _0x1f90c4;throw Error(_0x50de71(0x1ed)+_0x5e5bac[_0x50de71(0x34f)]+'x'+(((_0x1f90c4=_0x5e5bac[0x0])==null?void 0x0:_0x1f90c4[_0x50de71(0x34f)])??0x0)+_0x50de71(0x278)+_0x1cc2e4+'x'+_0x4b3f15+'.');}let _0x1d4147=this[_0x50de71(0x1e2)](),_0x21d53f=this['_getFieldIds'](_0x1d4147),_0x2b25e2=_0x5e5bac['flatMap']((_0x2c02fc,_0x4dbdbf)=>_0x2c02fc[_0x50de71(0x19b)]((_0x14b518,_0x40c9fc)=>{const _0x46ea1e=_0x50de71;var _0x59979f;let _0x344b1f=this[_0x46ea1e(0x25b)]['startRow']+_0x4dbdbf,_0x52035b=_0x21d53f[this[_0x46ea1e(0x25b)][_0x46ea1e(0x1f2)]+_0x40c9fc],_0x53e044=(_0x59979f=_0x1d4147[_0x46ea1e(0x2ba)])==null?void 0x0:_0x59979f[_0x344b1f];if(!_0x52035b||!_0x53e044)throw Error('[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.');return{'recordId':_0x53e044,'fieldId':_0x52035b,'value':_0x14b518};}));return this['_commandService'][_0x50de71(0x20a)](_0x471e22[_0x50de71(0x22b)]['id'],{'unitId':this['_base'][_0x50de71(0x32b)](),'tableId':this[_0x50de71(0x25f)][_0x50de71(0x32b)](),'patches':_0x2b25e2,'source':_0x471e22[_0x50de71(0x27b)]['Facade']});}[_0x5a49e4(0x341)](){const _0x3a11f0=_0x5a49e4;return this[_0x3a11f0(0x301)](Array[_0x3a11f0(0x30b)]({'length':this[_0x3a11f0(0x26d)]()},()=>Array['from']({'length':this[_0x3a11f0(0x1b1)]()},()=>null)));}[_0x5a49e4(0x267)](_0x3b76cc,_0x58626c,_0x11a22d=this['getNumRows'](),_0x6877e4=this[_0x5a49e4(0x1b1)]()){const _0x15a7d9=_0x5a49e4;return this[_0x15a7d9(0x273)]['createInstance'](_0x4d20e6,this[_0x15a7d9(0x2a0)],this[_0x15a7d9(0x25f)],{'startRow':this[_0x15a7d9(0x25b)][_0x15a7d9(0x331)]+_0x3b76cc,'startColumn':this[_0x15a7d9(0x25b)][_0x15a7d9(0x1f2)]+_0x58626c,'endRow':this[_0x15a7d9(0x25b)]['startRow']+_0x3b76cc+_0x11a22d-0x1,'endColumn':this[_0x15a7d9(0x25b)]['startColumn']+_0x58626c+_0x6877e4-0x1},this[_0x15a7d9(0x273)]);}['_getTable'](){const _0x9c4c72=_0x5a49e4;let _0x25967a=this[_0x9c4c72(0x25f)][_0x9c4c72(0x1f5)]();if(!_0x25967a)throw Error(_0x9c4c72(0x240));return(0x0,_0x471e22[_0x9c4c72(0x23c)])(_0x25967a);}[_0x5a49e4(0x2bb)](){const _0x26bdfa=_0x5a49e4;var _0x473dbe;let _0x4e6ac4=this[_0x26bdfa(0x1e2)](),_0x212d49=((_0x473dbe=_0x4e6ac4[_0x26bdfa(0x1a7)])==null?void 0x0:_0x473dbe[_0x26bdfa(0x34f)])??0x0,_0x1384bf=this[_0x26bdfa(0x306)](_0x4e6ac4)[_0x26bdfa(0x34f)];if(this[_0x26bdfa(0x25b)][_0x26bdfa(0x331)]<0x0||this[_0x26bdfa(0x25b)][_0x26bdfa(0x1f2)]<0x0||this[_0x26bdfa(0x25b)]['endRow']<this[_0x26bdfa(0x25b)][_0x26bdfa(0x331)]||this[_0x26bdfa(0x25b)][_0x26bdfa(0x248)]<this['_range'][_0x26bdfa(0x1f2)]||this[_0x26bdfa(0x25b)][_0x26bdfa(0x2b3)]>=Math[_0x26bdfa(0x2b1)](_0x212d49,0x1)||this[_0x26bdfa(0x25b)][_0x26bdfa(0x248)]>=Math[_0x26bdfa(0x2b1)](_0x1384bf,0x1))throw Error(_0x26bdfa(0x33d)+_0x212d49+_0x26bdfa(0x1b8)+_0x1384bf+_0x26bdfa(0x2bd)+JSON[_0x26bdfa(0x219)](this['_range'])+'.');}[_0x5a49e4(0x306)](_0x562651){const _0x5b8f7d=_0x5a49e4;return _0x562651[_0x5b8f7d(0x1ce)][_0x5b8f7d(0x208)](_0x456249=>_0x4eb2af(_0x562651['fields'][_0x456249]));}};_0x39a5e1=_0x4d20e6=_0x4ef17f([_0x197b0f(0x4,_0x26e2cd[_0x5a49e4(0x2cd)])],_0x39a5e1);function _0x232979(_0x378a9d){'@babel/helpers - typeof';const _0x234593=_0x5a49e4;return _0x232979=typeof Symbol==_0x234593(0x300)&&typeof Symbol['iterator']==_0x234593(0x35b)?function(_0x4b4d35){return typeof _0x4b4d35;}:function(_0x3776a8){const _0x261be5=_0x234593;return _0x3776a8&&typeof Symbol==_0x261be5(0x300)&&_0x3776a8[_0x261be5(0x1b7)]===Symbol&&_0x3776a8!==Symbol[_0x261be5(0x291)]?_0x261be5(0x35b):typeof _0x3776a8;},_0x232979(_0x378a9d);}function _0x49ab5d(_0x174bc6,_0x3365f3){const _0x262227=_0x5a49e4;if(_0x232979(_0x174bc6)!=_0x262227(0x2e5)||!_0x174bc6)return _0x174bc6;var _0x5b1a46=_0x174bc6[Symbol[_0x262227(0x2a5)]];if(_0x5b1a46!==void 0x0){var _0x55230d=_0x5b1a46['call'](_0x174bc6,_0x3365f3||'default');if(_0x232979(_0x55230d)!='object')return _0x55230d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3365f3===_0x262227(0x1b2)?String:Number)(_0x174bc6);}function _0x46034d(_0x3d294c){const _0x5a270b=_0x5a49e4;var _0x16fbab=_0x49ab5d(_0x3d294c,_0x5a270b(0x1b2));return _0x232979(_0x16fbab)==_0x5a270b(0x35b)?_0x16fbab:_0x16fbab+'';}function _0x1677c3(_0x3809ba,_0x13d130,_0x275896){return(_0x13d130=_0x46034d(_0x13d130))in _0x3809ba?Object['defineProperty'](_0x3809ba,_0x13d130,{'value':_0x275896,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3809ba[_0x13d130]=_0x275896,_0x3809ba;}var _0x212fbf;let _0x457046=_0x212fbf=class extends _0x6b6f07[_0x5a49e4(0x255)]{constructor(_0x35d53c,_0x3d9190,_0x5d61d6,_0x22636b,_0x2722f7,_0x11b53d){const _0x439ba9=_0x5a49e4;super(_0x22636b),this[_0x439ba9(0x2a0)]=_0x35d53c,this[_0x439ba9(0x25f)]=_0x3d9190,this[_0x439ba9(0x26e)]=_0x5d61d6,this['_injector']=_0x22636b,this[_0x439ba9(0x1be)]=_0x2722f7,this[_0x439ba9(0x209)]=_0x11b53d,_0x1677c3(this,_0x439ba9(0x29f),void 0x0),_0x1677c3(this,_0x439ba9(0x2dc),void 0x0),this['_baseUnitId']=_0x35d53c[_0x439ba9(0x32b)](),this[_0x439ba9(0x2dc)]=_0x3d9190[_0x439ba9(0x32b)]();}['getBaseFacade'](){const _0x17da7e=_0x5a49e4;return this[_0x17da7e(0x2a0)];}['getTableFacade'](){const _0x154c4a=_0x5a49e4;return this[_0x154c4a(0x25f)];}[_0x5a49e4(0x32b)](){return this['_recordId'];}[_0x5a49e4(0x352)](){const _0x2c61ce=_0x5a49e4;let _0x2e0d0c=this[_0x2c61ce(0x25f)][_0x2c61ce(0x32b)]();return new _0x1d0494(this[_0x2c61ce(0x2a0)][_0x2c61ce(0x32b)](),(0x0,_0x471e22['getBaseRecordPermissionObjectId'])(_0x2e0d0c,this[_0x2c61ce(0x26e)]),[(0x0,_0x471e22[_0x2c61ce(0x251)])(_0x2e0d0c)],this[_0x2c61ce(0x1be)],this[_0x2c61ce(0x209)]);}[_0x5a49e4(0x2bc)](){const _0x21ad61=_0x5a49e4;return{...this[_0x21ad61(0x27d)](),'values':this[_0x21ad61(0x340)]()};}['getValue'](_0x29c0c8){const _0x383d7d=_0x5a49e4;return _0x4eb2af(this['_table']['getTable']()[_0x383d7d(0x212)][_0x29c0c8])?this[_0x383d7d(0x27d)]()['values'][_0x29c0c8]??null:null;}[_0x5a49e4(0x340)](){const _0x827ffc=_0x5a49e4;let _0x4fc3ae=this['_table'][_0x827ffc(0x1f5)]();return Object['fromEntries'](Object['entries'](this[_0x827ffc(0x27d)]()['values'])[_0x827ffc(0x208)](([_0x54c7f3])=>_0x4eb2af(_0x4fc3ae[_0x827ffc(0x212)][_0x54c7f3])));}[_0x5a49e4(0x1ca)](_0x5e450b,_0xdbc34c){const _0x4e09b6=_0x5a49e4;let _0x18da0c=this[_0x4e09b6(0x25f)]['getTable']()[_0x4e09b6(0x212)][_0x5e450b];return this[_0x4e09b6(0x1be)][_0x4e09b6(0x20a)](_0x471e22['UpdateBaseCellCommand']['id'],{'unitId':this[_0x4e09b6(0x2a0)][_0x4e09b6(0x32b)](),'tableId':this[_0x4e09b6(0x25f)][_0x4e09b6(0x32b)](),'recordId':this[_0x4e09b6(0x26e)],'fieldId':_0x5e450b,'value':_0x4435b6(_0x18da0c,_0xdbc34c),'source':_0x471e22[_0x4e09b6(0x27b)]['Facade']});}[_0x5a49e4(0x312)](_0x27eef0,_0x17459e){const _0x548249=_0x5a49e4;return this['setValue'](_0x27eef0,_0x17459e[_0x548249(0x19b)](_0x339922=>({..._0x339922})));}[_0x5a49e4(0x1a4)](_0x32bd65){const _0x256957=_0x5a49e4;this[_0x256957(0x268)](_0x32bd65);let _0x5a5b08=this[_0x256957(0x202)](_0x32bd65);return Array[_0x256957(0x234)](_0x5a5b08)?_0x5a5b08[_0x256957(0x19b)]((_0xf7dcd4,_0x6dbfc2)=>_0xe7381(_0xf7dcd4,_0x32bd65,_0x6dbfc2)):[];}[_0x5a49e4(0x276)](_0x450bdf,_0x11a35b){const _0x5a94f3=_0x5a49e4;this[_0x5a94f3(0x268)](_0x450bdf);let _0x16e078=new Set(_0x11a35b[_0x5a94f3(0x19b)](_0x3fcd80=>_0x3fcd80['id']));if(!_0x16e078[_0x5a94f3(0x299)])return!0x0;let _0x238ca9=this['getAttachments'](_0x450bdf),_0x52fd48=_0x238ca9[_0x5a94f3(0x208)](_0x552ba6=>!_0x16e078['has'](_0x552ba6['id']));return _0x52fd48['length']===_0x238ca9[_0x5a94f3(0x34f)]||this[_0x5a94f3(0x312)](_0x450bdf,_0x52fd48);}[_0x5a49e4(0x301)](_0x1235e0,_0x2431f0='id'){const _0xf2e3e6=_0x5a49e4;let _0x8a3b10=this['_table']['getTable'](),_0x17cbb1=[{'recordId':this['_recordId'],'values':_0x1c32b4(_0x8a3b10,_0x1235e0,_0x2431f0)}];return this['_commandService'][_0xf2e3e6(0x20a)](_0x471e22[_0xf2e3e6(0x24e)]['id'],{'unitId':this[_0xf2e3e6(0x2a0)][_0xf2e3e6(0x32b)](),'tableId':this[_0xf2e3e6(0x25f)][_0xf2e3e6(0x32b)](),'patches':_0x17cbb1,'source':_0x471e22['BaseEventSource']['Facade']});}['delete'](){const _0x2cc67e=_0x5a49e4;return this['_commandService'][_0x2cc67e(0x20a)](_0x471e22[_0x2cc67e(0x1c3)]['id'],{'unitId':this['_base'][_0x2cc67e(0x32b)](),'tableId':this[_0x2cc67e(0x25f)][_0x2cc67e(0x32b)](),'recordId':this[_0x2cc67e(0x26e)],'source':_0x471e22[_0x2cc67e(0x27b)]['Facade']});}[_0x5a49e4(0x270)](_0x3711c0){const _0x1ff38b=_0x5a49e4;let _0x29a8e0={...this[_0x1ff38b(0x27d)](),..._0x3711c0,'id':(0x0,_0x26e2cd[_0x1ff38b(0x2ca)])(0x6)};_0x29a8e0['values']={..._0x29a8e0[_0x1ff38b(0x289)],..._0x3711c0==null?void 0x0:_0x3711c0['values']},Reflect[_0x1ff38b(0x2a4)](_0x29a8e0[_0x1ff38b(0x289)],_0x26e2cd[_0x1ff38b(0x353)]);let _0x327ce1=Date[_0x1ff38b(0x205)]();if(_0x29a8e0[_0x1ff38b(0x1ea)]||=''+_0x327ce1,_0x29a8e0[_0x1ff38b(0x19d)]||=_0x327ce1,_0x29a8e0['updatedAt']||=_0x327ce1,!this[_0x1ff38b(0x1be)][_0x1ff38b(0x20a)](_0x471e22[_0x1ff38b(0x1bf)]['id'],{'unitId':this['_base'][_0x1ff38b(0x32b)](),'tableId':this['_table']['getId'](),'sourceRecordId':this['_recordId'],'record':_0x29a8e0,'source':_0x471e22[_0x1ff38b(0x27b)][_0x1ff38b(0x1dc)]}))throw Error(_0x1ff38b(0x224)+this[_0x1ff38b(0x26e)]+'\x22.');return this[_0x1ff38b(0x2c1)][_0x1ff38b(0x345)](_0x212fbf,this[_0x1ff38b(0x2a0)],this['_table'],_0x29a8e0['id'],this['_injector']);}['setOrderKey'](_0x2af746){const _0x1ef588=_0x5a49e4;return this['_commandService'][_0x1ef588(0x20a)](_0x471e22[_0x1ef588(0x1e6)]['id'],{'unitId':this[_0x1ef588(0x2a0)][_0x1ef588(0x32b)](),'tableId':this[_0x1ef588(0x25f)]['getId'](),'recordId':this['_recordId'],'orderKey':_0x2af746});}['getLinkedRecordIds'](_0x2b02b3){const _0x3df803=_0x5a49e4;let _0x483118=this['_getRecordLinkField'](_0x2b02b3),_0x52fb59=this[_0x3df803(0x202)](_0x483118['id']);return(0x0,_0x471e22['parseRecordLinkIds'])(_0x52fb59);}[_0x5a49e4(0x2a2)](_0x179598,_0x39c704){const _0x2f6f55=_0x5a49e4;let _0x125a36=this['_getRecordLinkField'](_0x179598),_0x3663bf=(0x0,_0x471e22[_0x2f6f55(0x310)])(_0x39c704),_0x4ddc35=(0x0,_0x471e22['validateRecordLinkValue'])(this['_base'][_0x2f6f55(0x30f)]()[_0x2f6f55(0x2c4)](),_0x125a36,_0x3663bf);if(!_0x4ddc35[_0x2f6f55(0x2f3)])throw Error(_0x4ddc35[_0x2f6f55(0x33a)]??_0x2f6f55(0x2b9));return this['_commandService'][_0x2f6f55(0x20a)](_0x471e22['UpdateBaseCellCommand']['id'],{'unitId':this[_0x2f6f55(0x2a0)][_0x2f6f55(0x32b)](),'tableId':this[_0x2f6f55(0x25f)][_0x2f6f55(0x32b)](),'recordId':this[_0x2f6f55(0x26e)],'fieldId':_0x179598,'value':_0x3663bf,'source':_0x471e22[_0x2f6f55(0x27b)][_0x2f6f55(0x1dc)]});}['addLinkedRecord'](_0x3c2d25,_0x58431b){const _0xc5d94f=_0x5a49e4;let _0x51b9fb=this[_0xc5d94f(0x35d)](_0x3c2d25),_0x5bcc36=(0x0,_0x471e22[_0xc5d94f(0x20e)])(_0x51b9fb);if(!_0x5bcc36)throw Error(_0xc5d94f(0x33e)+_0x3c2d25+_0xc5d94f(0x1fc));let _0x652afe=this['getLinkedRecordIds'](_0x3c2d25);return _0x5bcc36[_0xc5d94f(0x344)]&&_0x652afe[_0xc5d94f(0x28a)](_0x58431b)?!0x0:this[_0xc5d94f(0x2a2)](_0x3c2d25,_0x5bcc36[_0xc5d94f(0x344)]?[..._0x652afe,_0x58431b]:[_0x58431b]);}[_0x5a49e4(0x354)](_0x545246,_0x1fe0fa){const _0x31889d=_0x5a49e4;let _0x53f0c4=this[_0x31889d(0x1a6)](_0x545246);return!_0x53f0c4[_0x31889d(0x28a)](_0x1fe0fa)||this['setLinkedRecordIds'](_0x545246,_0x53f0c4['filter'](_0x2276f3=>_0x2276f3!==_0x1fe0fa));}[_0x5a49e4(0x2f2)](_0x1b8823){const _0x56cccd=_0x5a49e4;let _0x2ce6d8=this[_0x56cccd(0x31c)](_0x1b8823)[_0x56cccd(0x304)][_0x56cccd(0x29a)](this[_0x56cccd(0x26e)])??null;return _0x2ce6d8?this[_0x56cccd(0x25f)]['getRecordById'](_0x2ce6d8):null;}['getChildren'](_0x3af5b8){const _0x9115cc=_0x5a49e4;return(this[_0x9115cc(0x31c)](_0x3af5b8)['childrenByParentId'][_0x9115cc(0x29a)](this[_0x9115cc(0x26e)])??[])[_0x9115cc(0x1c2)](_0x2b2fc3=>{const _0x546a2d=_0x9115cc;let _0x369651=this['_table'][_0x546a2d(0x30c)](_0x2b2fc3);return _0x369651?[_0x369651]:[];});}[_0x5a49e4(0x333)](_0x483205){const _0x3a7242=_0x5a49e4;let _0x16657b=this[_0x3a7242(0x31c)](_0x483205),_0x365310=[],_0x3a711c=_0x16657b[_0x3a7242(0x304)][_0x3a7242(0x29a)](this[_0x3a7242(0x26e)])??null;for(;_0x3a711c;){let _0x63f018=this[_0x3a7242(0x25f)][_0x3a7242(0x30c)](_0x3a711c);_0x63f018&&_0x365310[_0x3a7242(0x2f4)](_0x63f018),_0x3a711c=_0x16657b['parentByRecordId']['get'](_0x3a711c)??null;}return _0x365310;}[_0x5a49e4(0x2b2)](_0x1e126f){const _0x458168=_0x5a49e4;let _0x540856=this[_0x458168(0x31c)](_0x1e126f),_0x4f4c08=_0x540856['orderedRecordIds'][_0x458168(0x328)](this[_0x458168(0x26e)]),_0x4e2dfe=_0x540856['subtreeHeightByRecordId'][_0x458168(0x2b8)](this[_0x458168(0x26e)])?this[_0x458168(0x2d2)](_0x540856[_0x458168(0x211)],this[_0x458168(0x26e)]):[];return _0x4f4c08<0x0?[]:_0x4e2dfe[_0x458168(0x1c2)](_0x413c53=>{const _0x4c9020=_0x458168;let _0x37d5e5=this[_0x4c9020(0x25f)][_0x4c9020(0x30c)](_0x413c53);return _0x37d5e5?[_0x37d5e5]:[];});}['setParent'](_0x27d828,_0x4598e0,_0x508ea7){const _0x2bb7ed=_0x5a49e4;return this[_0x2bb7ed(0x1be)]['syncExecuteCommand'](_0x471e22['MoveBaseHierarchyRecordCommand']['id'],{'unitId':this['_base'][_0x2bb7ed(0x32b)](),'tableId':this[_0x2bb7ed(0x25f)][_0x2bb7ed(0x32b)](),'fieldId':_0x27d828,'recordId':this[_0x2bb7ed(0x26e)],'parentRecordId':_0x4598e0,'orderKey':_0x508ea7,'source':_0x471e22[_0x2bb7ed(0x27b)][_0x2bb7ed(0x1dc)]});}[_0x5a49e4(0x319)](_0x3f3723,_0x1f1ac9,_0x378009='id',_0x309950){const _0x5196ff=_0x5a49e4;let _0x17c8e8=this[_0x5196ff(0x25f)]['getTable'](),_0x545817=Date[_0x5196ff(0x205)](),_0x25d446={..._0x309950,'id':(0x0,_0x26e2cd['generateRandomId'])(0x6),'values':_0x1c32b4(_0x17c8e8,_0x1f1ac9,_0x378009),'orderKey':(_0x309950==null?void 0x0:_0x309950[_0x5196ff(0x1ea)])||''+_0x545817,'createdAt':(_0x309950==null?void 0x0:_0x309950[_0x5196ff(0x19d)])||_0x545817,'updatedAt':(_0x309950==null?void 0x0:_0x309950[_0x5196ff(0x1cb)])||_0x545817};if(!this['_commandService']['syncExecuteCommand'](_0x471e22[_0x5196ff(0x2f5)]['id'],{'unitId':this[_0x5196ff(0x2a0)][_0x5196ff(0x32b)](),'tableId':this[_0x5196ff(0x25f)][_0x5196ff(0x32b)](),'fieldId':_0x3f3723,'parentRecordId':this[_0x5196ff(0x26e)],'record':_0x25d446,'source':_0x471e22[_0x5196ff(0x27b)]['Facade']}))throw Error(_0x5196ff(0x2ce)+this[_0x5196ff(0x26e)]+'\x22.');return this['_injector'][_0x5196ff(0x345)](_0x212fbf,this[_0x5196ff(0x2a0)],this[_0x5196ff(0x25f)],_0x25d446['id'],this[_0x5196ff(0x2c1)]);}[_0x5a49e4(0x31c)](_0x3f85f9){const _0x55b089=_0x5a49e4;return(0x0,_0x471e22[_0x55b089(0x1f3)])(this[_0x55b089(0x25f)][_0x55b089(0x1f5)](),_0x3f85f9);}[_0x5a49e4(0x2d2)](_0x15524c,_0x3ffbf5){let _0x38100c=[],_0xfa5c61=_0x44164a=>{const _0x5d10bd=_0x586a;for(let _0x14465d of _0x15524c[_0x5d10bd(0x29a)](_0x44164a)??[])_0x38100c[_0x5d10bd(0x2f4)](_0x14465d),_0xfa5c61(_0x14465d);};return _0xfa5c61(_0x3ffbf5),_0x38100c;}[_0x5a49e4(0x27d)](){const _0xdaaa08=_0x5a49e4;let _0x5e007a=this[_0xdaaa08(0x25f)][_0xdaaa08(0x1f5)]()[_0xdaaa08(0x320)][this[_0xdaaa08(0x26e)]];if(!_0x5e007a)throw Error(_0xdaaa08(0x346)+this[_0xdaaa08(0x26e)]+_0xdaaa08(0x2ed));return _0x5e007a;}['_getRecordLinkField'](_0x2bce8b){const _0x463d8f=_0x5a49e4;let _0x2595e5=this[_0x463d8f(0x25f)][_0x463d8f(0x1f5)]()[_0x463d8f(0x212)][_0x2bce8b];if(!_0x2595e5||_0x2595e5['type']!==_0x26e2cd['BaseFieldType'][_0x463d8f(0x223)])throw Error(_0x463d8f(0x348)+_0x2bce8b+'\x22\x20is\x20not\x20a\x20RecordLink\x20field.');return _0x2595e5;}[_0x5a49e4(0x268)](_0x41d3ff){const _0x1bb88b=_0x5a49e4;let _0x3518c9=this[_0x1bb88b(0x25f)][_0x1bb88b(0x1f5)]()[_0x1bb88b(0x212)][_0x41d3ff];if(!_0x3518c9||_0x3518c9[_0x1bb88b(0x225)]!==_0x26e2cd[_0x1bb88b(0x1cd)][_0x1bb88b(0x201)])throw Error('[FRecord]:\x20field\x20\x22'+_0x41d3ff+'\x22\x20is\x20not\x20an\x20Attachment\x20field.');return _0x3518c9;}};_0x457046=_0x212fbf=_0x4ef17f([_0x197b0f(0x4,_0x26e2cd[_0x5a49e4(0x2cd)]),_0x197b0f(0x5,_0x26e2cd[_0x5a49e4(0x317)])],_0x457046);function _0x789d89(_0x412ebc){const _0x581c14=_0x5a49e4;return!!(_0x412ebc&&typeof _0x412ebc=='object'&&'id'in _0x412ebc&&typeof _0x412ebc['id']==_0x581c14(0x1b2)&&_0x581c14(0x31d)in _0x412ebc&&typeof _0x412ebc['name']=='string');}function _0xe7381(_0x213b23,_0x2429a2,_0xd242aa){const _0x1b0dbd=_0x5a49e4;if(!_0x789d89(_0x213b23))throw Error(_0x1b0dbd(0x298)+_0xd242aa+_0x1b0dbd(0x322)+_0x2429a2+'\x22\x20is\x20invalid.');return{..._0x213b23};}let _0x1284f7=class{constructor(_0x82069b,_0x2a199e,_0x48024b,_0x3e8608,_0x4363f0,_0x81f47c,_0x226a39){const _0x686eb4=_0x5a49e4;this[_0x686eb4(0x2a0)]=_0x82069b,this[_0x686eb4(0x25f)]=_0x2a199e,this['_viewId']=_0x48024b,this[_0x686eb4(0x2c1)]=_0x3e8608,this['_commandService']=_0x4363f0,this[_0x686eb4(0x209)]=_0x81f47c,this[_0x686eb4(0x2e1)]=_0x226a39;}[_0x5a49e4(0x32b)](){const _0x5bcb61=_0x5a49e4;return this[_0x5bcb61(0x2ad)];}[_0x5a49e4(0x352)](){const _0x2ead3a=_0x5a49e4;let _0x579d85=this[_0x2ead3a(0x25f)][_0x2ead3a(0x32b)]();return new _0x1d0494(this[_0x2ead3a(0x2a0)][_0x2ead3a(0x32b)](),(0x0,_0x471e22[_0x2ead3a(0x34e)])(_0x579d85,this[_0x2ead3a(0x2ad)]),[(0x0,_0x471e22[_0x2ead3a(0x251)])(_0x579d85)],this[_0x2ead3a(0x1be)],this[_0x2ead3a(0x209)]);}[_0x5a49e4(0x231)](){const _0x478307=_0x5a49e4;return this[_0x478307(0x1f4)]();}[_0x5a49e4(0x31b)](){const _0x3040ca=_0x5a49e4;return this['_getView']()[_0x3040ca(0x31d)];}[_0x5a49e4(0x2a7)](){const _0x24eafb=_0x5a49e4;return this[_0x24eafb(0x1f4)]()[_0x24eafb(0x225)];}[_0x5a49e4(0x275)](_0x192f3f){const _0x251570=_0x5a49e4;return this['_commandService'][_0x251570(0x20a)](_0x471e22[_0x251570(0x24f)]['id'],{'unitId':this[_0x251570(0x2a0)][_0x251570(0x32b)](),'tableId':this[_0x251570(0x25f)][_0x251570(0x32b)](),'viewId':this[_0x251570(0x2ad)],'name':_0x192f3f});}[_0x5a49e4(0x1cf)](){const _0x1866c6=_0x5a49e4;let _0x451149=this[_0x1866c6(0x2a7)](),_0x43966f=this[_0x1866c6(0x1f4)]()[_0x1866c6(0x206)];switch(_0x451149){case _0x26e2cd[_0x1866c6(0x28e)][_0x1866c6(0x314)]:return _0x43966f;case _0x26e2cd[_0x1866c6(0x28e)][_0x1866c6(0x282)]:return _0x43966f;case _0x26e2cd[_0x1866c6(0x28e)][_0x1866c6(0x2ac)]:return _0x43966f;case _0x26e2cd[_0x1866c6(0x28e)]['Gantt']:return _0x43966f;case _0x26e2cd[_0x1866c6(0x28e)]['Gallery']:return _0x43966f;default:return _0x43966f;}}[_0x5a49e4(0x2f9)](_0x30bd60){const _0xf24a2=_0x5a49e4;return this['_commandService'][_0xf24a2(0x20a)](_0x471e22[_0xf24a2(0x338)]['id'],{'unitId':this[_0xf24a2(0x2a0)]['getId'](),'tableId':this[_0xf24a2(0x25f)][_0xf24a2(0x32b)](),'viewId':this[_0xf24a2(0x2ad)],'patch':_0x30bd60});}[_0x5a49e4(0x2e8)](){const _0x2c1719=_0x5a49e4;var _0x168f05;return _0x26e2cd[_0x2c1719(0x23b)][_0x2c1719(0x32c)](((_0x168f05=this[_0x2c1719(0x1f4)]()[_0x2c1719(0x206)]['conditionalColoring'])==null?void 0x0:_0x168f05['rules'])??[]);}[_0x5a49e4(0x21e)](_0x4a617f){const _0x837384=_0x5a49e4;return this['_commandService'][_0x837384(0x20a)](_0x471e22[_0x837384(0x313)]['id'],{'unitId':this[_0x837384(0x2a0)][_0x837384(0x32b)](),'tableId':this[_0x837384(0x25f)]['getId'](),'viewId':this[_0x837384(0x2ad)],'type':_0x471e22[_0x837384(0x264)]['Set'],'rules':_0x4a617f});}['addConditionalColorRule'](_0x42c0e3){const _0x17a165=_0x5a49e4;return this[_0x17a165(0x1be)]['syncExecuteCommand'](_0x471e22['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this[_0x17a165(0x2a0)][_0x17a165(0x32b)](),'tableId':this[_0x17a165(0x25f)][_0x17a165(0x32b)](),'viewId':this[_0x17a165(0x2ad)],'type':_0x471e22[_0x17a165(0x264)][_0x17a165(0x1e9)],'rule':_0x42c0e3});}[_0x5a49e4(0x2f8)](_0x311b8b){const _0x16b044=_0x5a49e4;return this[_0x16b044(0x1be)][_0x16b044(0x20a)](_0x471e22['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this['_base'][_0x16b044(0x32b)](),'tableId':this[_0x16b044(0x25f)]['getId'](),'viewId':this['_viewId'],'type':_0x471e22['BaseConditionalColorRuleUpdateType'][_0x16b044(0x21c)],'ruleId':_0x311b8b});}['clearConditionalColorRules'](){const _0x454bb3=_0x5a49e4;return this[_0x454bb3(0x1be)][_0x454bb3(0x20a)](_0x471e22[_0x454bb3(0x313)]['id'],{'unitId':this[_0x454bb3(0x2a0)]['getId'](),'tableId':this[_0x454bb3(0x25f)][_0x454bb3(0x32b)](),'viewId':this[_0x454bb3(0x2ad)],'type':_0x471e22[_0x454bb3(0x264)][_0x454bb3(0x31e)]});}['getFilter'](){const _0x1a7083=_0x5a49e4;return this[_0x1a7083(0x1f4)]()[_0x1a7083(0x208)]??null;}[_0x5a49e4(0x23f)](_0x332dd0){const _0x2de77b=_0x5a49e4;return this[_0x2de77b(0x1be)][_0x2de77b(0x20a)](_0x471e22[_0x2de77b(0x2ea)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x2de77b(0x25f)][_0x2de77b(0x32b)](),'viewId':this[_0x2de77b(0x2ad)],'filter':_0x332dd0});}['getSort'](){const _0x1b9a20=_0x5a49e4;return this[_0x1b9a20(0x1f4)]()[_0x1b9a20(0x326)]??[];}[_0x5a49e4(0x2af)](_0x1cefc6){const _0x5db916=_0x5a49e4;return this[_0x5db916(0x1be)][_0x5db916(0x20a)](_0x471e22[_0x5db916(0x249)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x5db916(0x25f)][_0x5db916(0x32b)](),'viewId':this['_viewId'],'sort':_0x1cefc6});}['getGroup'](){const _0x4dc54c=_0x5a49e4;return this[_0x4dc54c(0x1f4)]()[_0x4dc54c(0x1b9)]??[];}['setGroup'](_0x540ca6){const _0xa0caf4=_0x5a49e4;return this['_commandService'][_0xa0caf4(0x20a)](_0x471e22[_0xa0caf4(0x1c0)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0xa0caf4(0x25f)][_0xa0caf4(0x32b)](),'viewId':this['_viewId'],'group':_0x540ca6});}[_0x5a49e4(0x29c)](_0x45abb2){const _0x367812=_0x5a49e4;var _0x3f8fef;return _0x4eb2af(this[_0x367812(0x25f)]['getTable']()['fields'][_0x45abb2])?((_0x3f8fef=this[_0x367812(0x1f4)]()[_0x367812(0x2c7)])==null?void 0x0:_0x3f8fef[_0x45abb2])??{}:{};}[_0x5a49e4(0x356)](){const _0xab6034=_0x5a49e4;let _0x3838af=this[_0xab6034(0x25f)]['getTable'](),_0x214e0e=this[_0xab6034(0x1f4)]();return(_0x214e0e['fieldOrder']??_0x3838af[_0xab6034(0x1ce)])[_0xab6034(0x208)](_0xb49fc8=>{const _0x55357f=_0xab6034;var _0x4c97bd;let _0x241bf2=_0x3838af[_0x55357f(0x212)][_0xb49fc8];return _0x4eb2af(_0x241bf2)&&!((_0x4c97bd=_0x214e0e[_0x55357f(0x2c7)])!=null&&(_0x4c97bd=_0x4c97bd[_0xb49fc8])!=null&&_0x4c97bd[_0x55357f(0x218)]);})[_0xab6034(0x19b)](_0x5a7617=>this[_0xab6034(0x2c1)][_0xab6034(0x345)](_0x138a01,this[_0xab6034(0x2a0)],this[_0xab6034(0x25f)],_0x5a7617));}[_0x5a49e4(0x23e)](_0x54b460,_0x25cf02){const _0xe8c367=_0x5a49e4;return _0x4eb2af(this[_0xe8c367(0x25f)]['getTable']()[_0xe8c367(0x212)][_0x54b460])?this['_commandService'][_0xe8c367(0x20a)](_0x471e22[_0xe8c367(0x21d)]['id'],{'unitId':this[_0xe8c367(0x2a0)][_0xe8c367(0x32b)](),'tableId':this[_0xe8c367(0x25f)]['getId'](),'viewId':this[_0xe8c367(0x2ad)],'fieldId':_0x54b460,'visible':_0x25cf02}):!0x1;}['setFieldWidth'](_0x2c9c70,_0x217d7){const _0x5b87c1=_0x5a49e4;return _0x4eb2af(this['_table'][_0x5b87c1(0x1f5)]()['fields'][_0x2c9c70])?this[_0x5b87c1(0x1be)][_0x5b87c1(0x20a)](_0x471e22[_0x5b87c1(0x2e9)]['id'],{'unitId':this[_0x5b87c1(0x2a0)][_0x5b87c1(0x32b)](),'tableId':this[_0x5b87c1(0x25f)][_0x5b87c1(0x32b)](),'viewId':this[_0x5b87c1(0x2ad)],'fieldId':_0x2c9c70,'width':_0x217d7}):!0x1;}['moveField'](_0xbcc5de,_0x330b74){const _0x4e2889=_0x5a49e4;let _0x63a71b=this[_0x4e2889(0x25f)][_0x4e2889(0x1f5)](),_0x478195=_0x330b74[_0x4e2889(0x1d2)]??_0x330b74[_0x4e2889(0x359)];return!_0x4eb2af(_0x63a71b[_0x4e2889(0x212)][_0xbcc5de])||!_0x478195||!_0x4eb2af(_0x63a71b[_0x4e2889(0x212)][_0x478195])?!0x1:this[_0x4e2889(0x1be)]['syncExecuteCommand'](_0x471e22[_0x4e2889(0x287)]['id'],{'unitId':this['_base'][_0x4e2889(0x32b)](),'tableId':this['_table'][_0x4e2889(0x32b)](),'viewId':this[_0x4e2889(0x2ad)],'fieldId':_0xbcc5de,'target':_0x330b74});}['move'](_0x42c58d){const _0x597493=_0x5a49e4;return this[_0x597493(0x1be)][_0x597493(0x20a)](_0x471e22[_0x597493(0x244)]['id'],{'unitId':this['_base'][_0x597493(0x32b)](),'tableId':this[_0x597493(0x25f)][_0x597493(0x32b)](),'viewId':this[_0x597493(0x2ad)],'target':_0x42c58d});}[_0x5a49e4(0x34c)](){const _0x3893cf=_0x5a49e4;return this[_0x3893cf(0x1be)][_0x3893cf(0x20a)](_0x471e22['DeleteBaseViewCommand']['id'],{'unitId':this[_0x3893cf(0x2a0)][_0x3893cf(0x32b)](),'tableId':this['_table'][_0x3893cf(0x32b)](),'viewId':this[_0x3893cf(0x2ad)]});}[_0x5a49e4(0x30a)](){const _0x4cab03=_0x5a49e4;return this['_projectionService'][_0x4cab03(0x30a)](this['_base'][_0x4cab03(0x30f)]()['getSnapshot'](),this[_0x4cab03(0x25f)][_0x4cab03(0x32b)](),this[_0x4cab03(0x2ad)]);}['_getView'](){const _0x521412=_0x5a49e4;let _0x49f1f8=this[_0x521412(0x25f)][_0x521412(0x1f5)]()[_0x521412(0x1c9)][this[_0x521412(0x2ad)]];if(!_0x49f1f8)throw Error(_0x521412(0x250)+this[_0x521412(0x2ad)]+_0x521412(0x2ed));return _0x49f1f8;}};_0x1284f7=_0x4ef17f([_0x197b0f(0x4,_0x26e2cd[_0x5a49e4(0x2cd)]),_0x197b0f(0x5,_0x26e2cd['IPermissionService']),_0x197b0f(0x6,_0x471e22[_0x5a49e4(0x2db)])],_0x1284f7);let _0x264539=class{constructor(_0x4249a6,_0x5a8b52,_0x496af9,_0x3bc22f,_0x3c413a,_0x1e3857){const _0x35b78c=_0x5a49e4;this['_base']=_0x4249a6,this['_tableId']=_0x5a8b52,this[_0x35b78c(0x2c1)]=_0x496af9,this[_0x35b78c(0x1be)]=_0x3bc22f,this[_0x35b78c(0x209)]=_0x3c413a,this['_projectionService']=_0x1e3857;}['getBase'](){const _0x3491db=_0x5a49e4;return this[_0x3491db(0x2a0)][_0x3491db(0x30f)]();}[_0x5a49e4(0x1f5)](){const _0x506430=_0x5a49e4;return this[_0x506430(0x1e2)]();}[_0x5a49e4(0x32b)](){const _0x32f0a=_0x5a49e4;return this[_0x32f0a(0x33f)];}[_0x5a49e4(0x352)](){const _0x431727=_0x5a49e4;return new _0x1d0494(this['getBase']()[_0x431727(0x26b)](),(0x0,_0x471e22[_0x431727(0x251)])(this[_0x431727(0x33f)]),[],this[_0x431727(0x1be)],this[_0x431727(0x209)]);}[_0x5a49e4(0x295)](){const _0x499bac=_0x5a49e4;return(0x0,_0x471e22['resolveBaseHierarchyFieldId'])(this[_0x499bac(0x1e2)]());}[_0x5a49e4(0x1ef)](_0x39b49f){const _0x2f3e1c=_0x5a49e4;return this[_0x2f3e1c(0x1be)]['syncExecuteCommand'](_0x471e22[_0x2f3e1c(0x28d)]['id'],{'unitId':this[_0x2f3e1c(0x2a0)][_0x2f3e1c(0x32b)](),'tableId':this[_0x2f3e1c(0x33f)],'fieldId':_0x39b49f});}['getName'](){const _0x1bbcba=_0x5a49e4;return this[_0x1bbcba(0x1e2)]()[_0x1bbcba(0x31d)];}[_0x5a49e4(0x217)](){const _0x222dd0=_0x5a49e4;let _0x5aa36e=this[_0x222dd0(0x2a0)][_0x222dd0(0x30f)]()[_0x222dd0(0x2c4)]();return(0x0,_0x471e22[_0x222dd0(0x2c8)])(this[_0x222dd0(0x1e2)](),_0x5aa36e);}[_0x5a49e4(0x275)](_0x45c149){const _0x432743=_0x5a49e4;let _0x56f38e=(0x0,_0x471e22['validateBaseTableName'])(this['_base'][_0x432743(0x30f)]()['getSnapshot'](),_0x45c149,this[_0x432743(0x33f)]);if(!_0x56f38e[_0x432743(0x2f3)])throw Error('[FBaseTable]:\x20invalid\x20table\x20name\x20\x22'+_0x45c149+_0x432743(0x290)+_0x471e22[_0x432743(0x2e6)]+'\x20'+_0x56f38e['reason']);return this['_commandService'][_0x432743(0x20a)](_0x471e22[_0x432743(0x329)]['id'],{'unitId':this['_base'][_0x432743(0x32b)](),'tableId':this[_0x432743(0x33f)],'name':_0x45c149});}[_0x5a49e4(0x343)](_0x229304,_0x5a6428){const _0x3e0de1=_0x5a49e4;let _0x24cd47=this[_0x3e0de1(0x2a0)][_0x3e0de1(0x30f)]()[_0x3e0de1(0x2c4)](),_0xf773e0=this[_0x3e0de1(0x1e2)]();if(_0x5a6428){let _0x1a83af=this[_0x3e0de1(0x2e1)][_0x3e0de1(0x30a)](_0x24cd47,this[_0x3e0de1(0x33f)],_0x5a6428),_0x3eafff=_0xf773e0[_0x3e0de1(0x1c9)][_0x5a6428],_0x30a998=_0x229304[_0x3e0de1(0x237)]??_0x4994b7(_0xf773e0,_0x3eafff,_0x1a83af),_0x2c4170=_0x3e0de1(0x26c)in _0x1a83af&&Array[_0x3e0de1(0x234)](_0x1a83af['rows'])?_0x1a83af['rows']:[];return(0x0,_0x471e22[_0x3e0de1(0x260)])({..._0x229304,'table':_0xf773e0,'fieldIds':_0x30a998,'rows':_0x2c4170});}let _0x22ab56=(_0xf773e0[_0x3e0de1(0x1a7)]?_0xf773e0[_0x3e0de1(0x1a7)][_0x3e0de1(0x19b)](_0x44addc=>_0xf773e0[_0x3e0de1(0x320)][_0x44addc]):Object[_0x3e0de1(0x289)](_0xf773e0[_0x3e0de1(0x320)])[_0x3e0de1(0x326)]((_0x23158a,_0x51165e)=>_0x23158a[_0x3e0de1(0x1ea)][_0x3e0de1(0x2cb)](_0x51165e[_0x3e0de1(0x1ea)])))['filter'](_0x4e1414=>_0x4e1414)[_0x3e0de1(0x19b)](_0x251b6b=>({'recordId':_0x251b6b['id'],'values':_0x251b6b[_0x3e0de1(0x289)]})),_0x4d0fc3=_0x229304['fieldIds']??_0xf773e0[_0x3e0de1(0x1ce)]['filter'](_0x524f85=>_0x4eb2af(_0xf773e0[_0x3e0de1(0x212)][_0x524f85]));return(0x0,_0x471e22[_0x3e0de1(0x260)])({..._0x229304,'table':_0xf773e0,'fieldIds':_0x4d0fc3,'rows':_0x22ab56});}[_0x5a49e4(0x1ae)](){const _0x35b7a0=_0x5a49e4;return this[_0x35b7a0(0x1e2)]()[_0x35b7a0(0x2b4)];}[_0x5a49e4(0x2c3)](){const _0x2db356=_0x5a49e4;let _0x3822d9=this[_0x2db356(0x1e2)]();return _0x3822d9[_0x2db356(0x1ce)]['map'](_0x1783cc=>_0x3822d9[_0x2db356(0x212)][_0x1783cc])[_0x2db356(0x208)](_0x4eb2af)[_0x2db356(0x19b)](_0x38c63d=>this[_0x2db356(0x2c1)][_0x2db356(0x345)](_0x138a01,this[_0x2db356(0x2a0)],this,_0x38c63d['id']));}['getFieldById'](_0xcb749a){const _0x394950=_0x5a49e4;let _0x1d6f88=this[_0x394950(0x1e2)]()[_0x394950(0x212)][_0xcb749a];return _0x4eb2af(_0x1d6f88)?this[_0x394950(0x2c1)][_0x394950(0x345)](_0x138a01,this[_0x394950(0x2a0)],this,_0x1d6f88['id']):null;}['getFieldByName'](_0x440069){const _0x53430f=_0x5a49e4;let _0x488c88=this[_0x53430f(0x1e2)]()[_0x53430f(0x212)],_0x4aeafc=Object[_0x53430f(0x289)](_0x488c88)[_0x53430f(0x286)](_0x109dac=>_0x4eb2af(_0x109dac)&&_0x109dac[_0x53430f(0x31d)]===_0x440069);return _0x4aeafc?this[_0x53430f(0x2c1)][_0x53430f(0x345)](_0x138a01,this['_base'],this,_0x4aeafc['id']):null;}[_0x5a49e4(0x1fb)](){const _0x2b01c=_0x5a49e4;let _0x1a64ce=this[_0x2b01c(0x1e2)]()[_0x2b01c(0x2b4)];return this[_0x2b01c(0x2c1)][_0x2b01c(0x345)](_0x138a01,this[_0x2b01c(0x2a0)],this,_0x1a64ce);}[_0x5a49e4(0x2f0)](_0x2635f0,_0xf5739f,_0x2eb879){const _0x2ef64c=_0x5a49e4;var _0x41c1b4,_0x433362;if(!Object['values'](_0x26e2cd['BaseFieldType'])[_0x2ef64c(0x2d5)](_0x54f6de=>_0x54f6de===_0xf5739f))throw Error(_0x2ef64c(0x337)+String(_0xf5739f)+'\x22.');if(_0xf5739f===_0x26e2cd['BaseFieldType'][_0x2ef64c(0x2e2)]&&this[_0x2ef64c(0x321)](_0x2635f0,_0x2eb879),_0xf5739f===_0x26e2cd[_0x2ef64c(0x1cd)][_0x2ef64c(0x223)]&&(typeof(_0x2eb879==null||(_0x41c1b4=_0x2eb879[_0x2ef64c(0x2e4)])==null||(_0x41c1b4=_0x41c1b4[_0x2ef64c(0x206)])==null?void 0x0:_0x41c1b4[_0x2ef64c(0x1bb)])!=_0x2ef64c(0x1b2)||typeof _0x2eb879[_0x2ef64c(0x2e4)][_0x2ef64c(0x206)]['multiple']!=_0x2ef64c(0x32a)))throw Error('RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.');let _0x2122b9={..._0x2eb879==null?void 0x0:_0x2eb879[_0x2ef64c(0x2e4)],'id':(0x0,_0x26e2cd['generateRandomId'])(0x6),'name':_0x2635f0,'type':_0xf5739f,'config':(_0x2eb879==null||(_0x433362=_0x2eb879[_0x2ef64c(0x2e4)])==null?void 0x0:_0x433362[_0x2ef64c(0x206)])??{}};if(!this[_0x2ef64c(0x1be)][_0x2ef64c(0x20a)](_0x471e22['CreateBaseFieldCommand']['id'],{'unitId':this[_0x2ef64c(0x2a0)][_0x2ef64c(0x32b)](),'tableId':this[_0x2ef64c(0x33f)],'field':_0x2122b9,'index':_0x2eb879==null?void 0x0:_0x2eb879[_0x2ef64c(0x2b7)]}))throw Error(_0x2ef64c(0x1e8)+_0x2635f0+'\x22');return this[_0x2ef64c(0x2c1)][_0x2ef64c(0x345)](_0x138a01,this[_0x2ef64c(0x2a0)],this,_0x2122b9['id']);}[_0x5a49e4(0x321)](_0x28a8b3,_0x27133a){const _0x4dafd9=_0x5a49e4;var _0x3ee49d;if(!_0x27133a||!(_0x4dafd9(0x1fa)in _0x27133a)||!Array['isArray'](_0x27133a[_0x4dafd9(0x1fa)]))throw Error('Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.');let _0x219585=this[_0x4dafd9(0x1be)][_0x4dafd9(0x20a)](_0x471e22[_0x4dafd9(0x21a)]['id'],{'unitId':this['_base'][_0x4dafd9(0x32b)](),'tableId':this['_tableId'],'formula':String(((_0x3ee49d=_0x27133a[_0x4dafd9(0x2e4)])==null||(_0x3ee49d=_0x3ee49d[_0x4dafd9(0x206)])==null?void 0x0:_0x3ee49d['formula'])??'')});if(!_0x219585[_0x4dafd9(0x2f3)])throw Error(_0x219585[_0x4dafd9(0x33a)]??_0x4dafd9(0x2e7));if(_0x27133a[_0x4dafd9(0x1fa)]['length']>0x0&&!this['_commandService'][_0x4dafd9(0x20a)](_0x30b7c4[_0x4dafd9(0x19e)]['id'],{'unitId':this[_0x4dafd9(0x2a0)]['getId'](),'references':_0x27133a['externalReferences']}))throw Error(_0x4dafd9(0x358)+_0x28a8b3+'\x22');}[_0x5a49e4(0x204)](){const _0x59b7ac=_0x5a49e4;return this['_resolveRecordIds']()['map'](_0x2b36e0=>this['_injector'][_0x59b7ac(0x345)](_0x457046,this[_0x59b7ac(0x2a0)],this,_0x2b36e0,this['_injector']));}['getRecordById'](_0x57dd78){const _0x3d7252=_0x5a49e4;return this['_getTable']()[_0x3d7252(0x320)][_0x57dd78]?this[_0x3d7252(0x2c1)][_0x3d7252(0x345)](_0x457046,this['_base'],this,_0x57dd78,this[_0x3d7252(0x2c1)]):null;}['queryRecords'](_0x2c7b85={}){const _0x140dce=_0x5a49e4;let _0x1e3e5c=this[_0x140dce(0x1e2)](),_0x4dbdb2=this[_0x140dce(0x1d6)](_0x2c7b85),_0x1430eb=Math['max'](0x0,_0x2c7b85[_0x140dce(0x267)]??0x0),_0x1519f5=_0x2c7b85[_0x140dce(0x318)]==null?null:Math[_0x140dce(0x2b1)](0x0,_0x2c7b85['limit']),_0x2247ed=_0x1d28a5(_0x4dbdb2[_0x140dce(0x19b)](_0x42e57a=>_0x1e3e5c['records'][_0x42e57a])[_0x140dce(0x208)](_0x464075=>_0x1167c4(_0x464075,_0x1e3e5c,_0x2c7b85[_0x140dce(0x208)])),_0x1e3e5c,_0x2c7b85[_0x140dce(0x326)]);return{'records':_0x38fcfc(_0x2247ed,_0x2c7b85)[_0x140dce(0x19b)](_0x29960d=>this[_0x140dce(0x2c1)][_0x140dce(0x345)](_0x457046,this[_0x140dce(0x2a0)],this,_0x29960d['id'],this[_0x140dce(0x2c1)])),'total':_0x2247ed[_0x140dce(0x34f)],'offset':_0x1430eb,'limit':_0x1519f5,'hasMore':_0x1519f5!=null&&_0x1430eb+_0x1519f5<_0x2247ed[_0x140dce(0x34f)]};}[_0x5a49e4(0x283)](_0xdf395d,_0x1a108c='id',_0xf3360){const _0x5eec96=_0x5a49e4;let _0x3661da=this[_0x5eec96(0x1e2)](),_0x5433d4=Date[_0x5eec96(0x205)](),_0x2f39fb={..._0xf3360,'id':(0x0,_0x26e2cd[_0x5eec96(0x2ca)])(0x6),'values':_0x1c32b4(_0x3661da,_0xdf395d,_0x1a108c),'orderKey':(_0xf3360==null?void 0x0:_0xf3360[_0x5eec96(0x1ea)])||''+_0x5433d4,'createdAt':(_0xf3360==null?void 0x0:_0xf3360[_0x5eec96(0x19d)])||_0x5433d4,'updatedAt':(_0xf3360==null?void 0x0:_0xf3360[_0x5eec96(0x1cb)])||_0x5433d4};if(!this[_0x5eec96(0x1be)][_0x5eec96(0x20a)](_0x471e22[_0x5eec96(0x316)]['id'],{'unitId':this[_0x5eec96(0x2a0)][_0x5eec96(0x32b)](),'tableId':this[_0x5eec96(0x33f)],'record':_0x2f39fb,'source':_0x471e22[_0x5eec96(0x27b)][_0x5eec96(0x1dc)]}))throw Error(_0x5eec96(0x1e0)+_0x2f39fb['id']+'\x22');return this[_0x5eec96(0x2c1)][_0x5eec96(0x345)](_0x457046,this['_base'],this,_0x2f39fb['id'],this[_0x5eec96(0x2c1)]);}[_0x5a49e4(0x253)](_0x4347b0){const _0x11e79c=_0x5a49e4;if(!_0x4347b0['length'])return[];let _0x172476=this[_0x11e79c(0x1e2)](),_0xaedfb2=Date['now'](),_0x3496a4=_0x4347b0[_0x11e79c(0x19b)]((_0x5155a3,_0x4a6d08)=>{const _0x199d01=_0x11e79c;var _0x6804a4,_0x4b5ce2,_0x3ab7d3;return{..._0x5155a3['record'],'id':(0x0,_0x26e2cd[_0x199d01(0x2ca)])(0x6),'values':_0x1c32b4(_0x172476,_0x5155a3[_0x199d01(0x289)],_0x5155a3[_0x199d01(0x285)]??'id'),'orderKey':((_0x6804a4=_0x5155a3[_0x199d01(0x336)])==null?void 0x0:_0x6804a4['orderKey'])||''+(_0xaedfb2+_0x4a6d08),'createdAt':((_0x4b5ce2=_0x5155a3[_0x199d01(0x336)])==null?void 0x0:_0x4b5ce2[_0x199d01(0x19d)])||_0xaedfb2,'updatedAt':((_0x3ab7d3=_0x5155a3[_0x199d01(0x336)])==null?void 0x0:_0x3ab7d3[_0x199d01(0x1cb)])||_0xaedfb2};});if(!this['_commandService']['syncExecuteCommand'](_0x471e22['BatchCreateBaseRecordsCommand']['id'],{'unitId':this[_0x11e79c(0x2a0)][_0x11e79c(0x32b)](),'tableId':this[_0x11e79c(0x33f)],'records':_0x3496a4,'source':_0x471e22[_0x11e79c(0x27b)][_0x11e79c(0x1dc)]}))throw Error(_0x11e79c(0x1bd));return _0x3496a4[_0x11e79c(0x19b)](_0x43a2d3=>this[_0x11e79c(0x2c1)][_0x11e79c(0x345)](_0x457046,this[_0x11e79c(0x2a0)],this,_0x43a2d3['id'],this[_0x11e79c(0x2c1)]));}[_0x5a49e4(0x261)](_0x564545){const _0x42639d=_0x5a49e4;return!_0x564545[_0x42639d(0x34f)]||this['_commandService'][_0x42639d(0x20a)](_0x471e22[_0x42639d(0x1a9)]['id'],{'unitId':this[_0x42639d(0x2a0)]['getId'](),'tableId':this[_0x42639d(0x33f)],'recordIds':_0x564545,'source':_0x471e22[_0x42639d(0x27b)][_0x42639d(0x1dc)]});}['getRange'](_0x1b152a,_0x3b2b57,_0x52b54d=0x1,_0x4cde0f=0x1){const _0xcc1a7f=_0x5a49e4;return this[_0xcc1a7f(0x2c1)][_0xcc1a7f(0x345)](_0x39a5e1,this['_base'],this,{'startRow':_0x1b152a,'endRow':_0x1b152a+_0x52b54d-0x1,'startColumn':_0x3b2b57,'endColumn':_0x3b2b57+_0x4cde0f-0x1},this[_0xcc1a7f(0x2c1)]);}[_0x5a49e4(0x233)](){const _0x335485=_0x5a49e4;var _0x129867;let _0x16a26f=(0x0,_0x471e22[_0x335485(0x23c)])(this[_0x335485(0x1e2)]()),_0x5ad87a=((_0x129867=_0x16a26f[_0x335485(0x1a7)])==null?void 0x0:_0x129867[_0x335485(0x34f)])??0x0,_0x1ff751=_0x16a26f[_0x335485(0x1ce)][_0x335485(0x208)](_0x57047b=>_0x4eb2af(_0x16a26f[_0x335485(0x212)][_0x57047b]))[_0x335485(0x34f)];return this['getRange'](0x0,0x0,Math[_0x335485(0x2b1)](_0x5ad87a,0x1),Math[_0x335485(0x2b1)](_0x1ff751,0x1));}[_0x5a49e4(0x266)](){const _0x182fc7=_0x5a49e4;let _0x32d533=this[_0x182fc7(0x1e2)]();return _0x32d533[_0x182fc7(0x2fb)][_0x182fc7(0x208)](_0x5b4b08=>_0x32d533[_0x182fc7(0x1c9)][_0x5b4b08])[_0x182fc7(0x19b)](_0x2fb262=>this[_0x182fc7(0x2c1)]['createInstance'](_0x1284f7,this['_base'],this,_0x2fb262,this[_0x182fc7(0x2c1)]));}[_0x5a49e4(0x284)](_0x197b93){const _0x28eafa=_0x5a49e4;return this[_0x28eafa(0x1e2)]()[_0x28eafa(0x1c9)][_0x197b93]?this[_0x28eafa(0x2c1)][_0x28eafa(0x345)](_0x1284f7,this[_0x28eafa(0x2a0)],this,_0x197b93,this[_0x28eafa(0x2c1)]):null;}[_0x5a49e4(0x35a)](_0x169469){const _0x18ba70=_0x5a49e4;let _0x4cf7fd=this[_0x18ba70(0x1e2)](),_0x45d227=Object[_0x18ba70(0x289)](_0x4cf7fd['views'])[_0x18ba70(0x286)](_0x178882=>_0x178882[_0x18ba70(0x31d)]===_0x169469);return _0x45d227?this[_0x18ba70(0x2c1)]['createInstance'](_0x1284f7,this['_base'],this,_0x45d227['id'],this[_0x18ba70(0x2c1)]):null;}[_0x5a49e4(0x302)](_0x4b50c0,_0x50c4f5,_0x3dcd67){const _0x240000=_0x5a49e4;var _0xc89d98,_0x1e6774,_0x1fe7c8,_0x178668;let _0x1bd080=this['_getTable'](),_0x51abbb=(_0x3dcd67==null||(_0xc89d98=_0x3dcd67[_0x240000(0x1c7)])==null?void 0x0:_0xc89d98[_0x240000(0x1ce)])??_0x1bd080['fieldOrder'],_0x19ecf4=[_0x26e2cd[_0x240000(0x353)],..._0x51abbb[_0x240000(0x208)](_0x35dc9b=>_0x4eb2af(_0x1bd080['fields'][_0x35dc9b]))],_0xd364c2={..._0x3dcd67==null?void 0x0:_0x3dcd67[_0x240000(0x1c7)],'id':(0x0,_0x26e2cd['generateRandomId'])(0x6),'name':_0x4b50c0,'type':_0x50c4f5,'tableId':this[_0x240000(0x33f)],'config':(_0x3dcd67==null||(_0x1e6774=_0x3dcd67[_0x240000(0x1c7)])==null?void 0x0:_0x1e6774[_0x240000(0x206)])??{},'fieldOrder':_0x19ecf4,'fieldSettings':{..._0x3dcd67==null||(_0x1fe7c8=_0x3dcd67[_0x240000(0x1c7)])==null?void 0x0:_0x1fe7c8[_0x240000(0x2c7)],[_0x26e2cd[_0x240000(0x353)]]:{..._0x3dcd67==null||(_0x178668=_0x3dcd67[_0x240000(0x1c7)])==null||(_0x178668=_0x178668['fieldSettings'])==null?void 0x0:_0x178668[_0x26e2cd[_0x240000(0x353)]],'hidden':!0x0}}};if(!this['_commandService'][_0x240000(0x20a)](_0x471e22[_0x240000(0x2ae)]['id'],{'unitId':this[_0x240000(0x2a0)][_0x240000(0x32b)](),'tableId':this[_0x240000(0x33f)],'view':_0xd364c2,'index':_0x3dcd67==null?void 0x0:_0x3dcd67['index']}))throw Error('Failed\x20to\x20create\x20view\x20\x22'+_0x4b50c0+'\x22');return this[_0x240000(0x2c1)][_0x240000(0x345)](_0x1284f7,this['_base'],this,_0xd364c2['id'],this[_0x240000(0x2c1)]);}[_0x5a49e4(0x355)](){const _0x106e00=_0x5a49e4;let _0x3ffdc4=this[_0x106e00(0x1e2)](),_0x25da45=_0x3ffdc4[_0x106e00(0x1ce)][_0x106e00(0x208)](_0x36b87a=>_0x4eb2af(_0x3ffdc4[_0x106e00(0x212)][_0x36b87a])),_0x23f715=_0x3ffdc4[_0x106e00(0x2fb)][_0x106e00(0x208)](_0x255aef=>_0x3ffdc4[_0x106e00(0x1c9)][_0x255aef]);return{'id':_0x3ffdc4['id'],'name':_0x3ffdc4[_0x106e00(0x31d)],'formulaName':this[_0x106e00(0x217)](),'primaryFieldId':_0x3ffdc4['primaryFieldId'],'fieldIds':_0x25da45,'viewIds':_0x23f715,'recordCount':this[_0x106e00(0x1d6)]()[_0x106e00(0x34f)],'fields':_0x25da45['map'](_0x42d8f1=>{const _0x47aa92=_0x106e00;let _0x45835c=_0x3ffdc4[_0x47aa92(0x212)][_0x42d8f1];return{'id':_0x45835c['id'],'name':_0x45835c['name'],'type':_0x45835c[_0x47aa92(0x225)],'config':_0x45835c[_0x47aa92(0x206)],'readonly':_0x45835c[_0x47aa92(0x254)],'description':_0x45835c[_0x47aa92(0x24d)]};}),'views':_0x23f715['map'](_0x292e62=>{const _0x5d8c0d=_0x106e00;let _0x4fb65a=_0x3ffdc4['views'][_0x292e62];return{'id':_0x4fb65a['id'],'name':_0x4fb65a[_0x5d8c0d(0x31d)],'type':_0x4fb65a[_0x5d8c0d(0x225)]};})};}['_getTable'](){const _0xddf922=_0x5a49e4;let _0x19ac3a=this[_0xddf922(0x2a0)][_0xddf922(0x30f)]()[_0xddf922(0x2c4)]()[_0xddf922(0x1e4)][this[_0xddf922(0x33f)]];if(!_0x19ac3a)throw Error(_0xddf922(0x2f7)+this[_0xddf922(0x33f)]+'\x22\x20does\x20not\x20exist.');return _0x19ac3a;}[_0x5a49e4(0x1d6)](_0x350642={}){const _0x29a8ea=_0x5a49e4;let _0x3fe6ed=this[_0x29a8ea(0x2a0)]['getBase']()[_0x29a8ea(0x2c4)](),_0x2daa55=this['_getTable']();if(_0x350642[_0x29a8ea(0x296)]){let _0x28591c=this[_0x29a8ea(0x2e1)][_0x29a8ea(0x30a)](_0x3fe6ed,this['_tableId'],_0x350642[_0x29a8ea(0x296)]);if(_0x29a8ea(0x26c)in _0x28591c&&Array[_0x29a8ea(0x234)](_0x28591c['rows']))return _0x28591c['rows']['map'](_0xef8942=>_0xef8942[_0x29a8ea(0x2d1)]);}return(_0x2daa55[_0x29a8ea(0x1a7)]?_0x2daa55['recordOrder'][_0x29a8ea(0x19b)](_0xb818a5=>_0x2daa55['records'][_0xb818a5]):Object[_0x29a8ea(0x289)](_0x2daa55['records'])[_0x29a8ea(0x326)]((_0x14e586,_0x4f50bb)=>_0x14e586[_0x29a8ea(0x1ea)][_0x29a8ea(0x2cb)](_0x4f50bb[_0x29a8ea(0x1ea)])))[_0x29a8ea(0x208)](_0x3ad512=>_0x3ad512)[_0x29a8ea(0x19b)](_0x41421c=>_0x41421c['id']);}};_0x264539=_0x4ef17f([_0x197b0f(0x3,_0x26e2cd[_0x5a49e4(0x2cd)]),_0x197b0f(0x4,_0x26e2cd['IPermissionService']),_0x197b0f(0x5,_0x471e22['IBaseProjectionService'])],_0x264539);function _0x38fcfc(_0xfb9362,_0x2ded8e){const _0x507d2a=_0x5a49e4;let _0x12a9cf=Math[_0x507d2a(0x2b1)](0x0,_0x2ded8e[_0x507d2a(0x267)]??0x0);return _0x2ded8e['limit']==null?_0xfb9362['slice'](_0x12a9cf):_0xfb9362[_0x507d2a(0x24a)](_0x12a9cf,_0x12a9cf+Math[_0x507d2a(0x2b1)](0x0,_0x2ded8e[_0x507d2a(0x318)]));}function _0x1d28a5(_0x58a7bd,_0x3a6116,_0xb9a40c=[]){return _0xb9a40c['length']?[..._0x58a7bd]['sort']((_0x2712e1,_0x113736)=>{const _0x5869d7=_0x586a;for(let _0x4f2105 of _0xb9a40c){var _0x259b88;let _0x446d43=_0x4f2105['direction']===_0x26e2cd[_0x5869d7(0x334)][_0x5869d7(0x228)]?-0x1:0x1,_0x233f67=_0x40965a(_0x2712e1['values'][_0x4f2105[_0x5869d7(0x293)]],_0x113736[_0x5869d7(0x289)][_0x4f2105[_0x5869d7(0x293)]],(_0x259b88=_0x3a6116[_0x5869d7(0x212)][_0x4f2105[_0x5869d7(0x293)]])==null?void 0x0:_0x259b88['type']);if(_0x233f67!==0x0)return _0x233f67*_0x446d43;}return String(_0x2712e1[_0x5869d7(0x1ea)]??_0x2712e1['id'])[_0x5869d7(0x2cb)](String(_0x113736[_0x5869d7(0x1ea)]??_0x113736['id']));}):_0x58a7bd;}function _0x40965a(_0x559d5e,_0x270799,_0x5e7535){const _0x978428=_0x5a49e4;return _0x559d5e==null&&_0x270799==null?0x0:_0x559d5e==null?-0x1:_0x270799==null?0x1:typeof _0x559d5e==_0x978428(0x2c0)&&typeof _0x270799==_0x978428(0x2c0)?_0x559d5e-_0x270799:_0x5e7535===_0x26e2cd[_0x978428(0x1cd)][_0x978428(0x1d0)]?Number(_0x559d5e)-Number(_0x270799):String(_0x559d5e)[_0x978428(0x2cb)](String(_0x270799));}function _0x1167c4(_0x595cbb,_0x8ebe02,_0x3521c1){const _0x39679b=_0x5a49e4;var _0x586bd0;if(!_0x3521c1||!((_0x586bd0=_0x3521c1[_0x39679b(0x1e1)])!=null&&_0x586bd0['length']))return!0x0;let {conjunction:_0x3a4119=_0x26e2cd[_0x39679b(0x1a1)]['OR'],conditions:_0x3989b2}=_0x3521c1;return _0x3a4119===_0x26e2cd[_0x39679b(0x1a1)][_0x39679b(0x2ab)]&&_0x3989b2[_0x39679b(0x34f)]>0x1?_0x3989b2['every'](_0x335356=>_0x3558f5(_0x595cbb,_0x8ebe02,_0x335356)):_0x3989b2[_0x39679b(0x2d5)](_0x548109=>_0x3558f5(_0x595cbb,_0x8ebe02,_0x548109));}function _0x3558f5(_0x4c8262,_0x3345fe,_0x427c16){const _0x31e48c=_0x5a49e4;let _0x1e8190=_0x4c8262[_0x31e48c(0x289)][_0x427c16[_0x31e48c(0x293)]],_0x10668a=_0x3345fe[_0x31e48c(0x212)][_0x427c16[_0x31e48c(0x293)]];if(_0x34eb80(_0x427c16)){let _0x3222c8=_0x56573c(_0x427c16)['test'](String(_0x1e8190??''));return _0x427c16[_0x31e48c(0x1f1)]==='matches'?_0x3222c8:!_0x3222c8;}return!_0x10668a||(0x0,_0x471e22[_0x31e48c(0x28b)])(_0x1e8190,_0x427c16[_0x31e48c(0x1f1)],_0x427c16[_0x31e48c(0x277)],_0x10668a);}function _0x34eb80(_0x111980){const _0x570ebb=_0x5a49e4;return _0x111980['operator']===_0x570ebb(0x2fc)||_0x111980[_0x570ebb(0x1f1)]===_0x570ebb(0x2a1);}function _0x56573c(_0x37017c){const _0x104c60=_0x5a49e4;let _0x26fe88=String(_0x37017c[_0x104c60(0x277)]??'');if(_0x26fe88[_0x104c60(0x34f)]>0x200)throw Error(_0x104c60(0x215));try{return new RegExp(_0x26fe88,_0x37017c[_0x104c60(0x1cc)]?void 0x0:'i');}catch(_0x2af2e3){throw Error(_0x104c60(0x258)+_0x26fe88+'.\x20'+(_0x2af2e3 instanceof Error?_0x2af2e3[_0x104c60(0x2c9)]:String(_0x2af2e3)));}}function _0x4994b7(_0x17f510,_0x53ee3b,_0x562018){const _0x35f20b=_0x5a49e4;if(_0x562018[_0x35f20b(0x225)]!==_0x35f20b(0x1ba)&&_0x562018[_0x35f20b(0x225)]!==_0x35f20b(0x242)){var _0x2c3e6c;if(_0x562018[_0x35f20b(0x225)]===_0x26e2cd['BaseViewType']['Kanban']){var _0x1168dd;let _0x2cb91d=[((_0x1168dd=_0x562018[_0x35f20b(0x212)])==null||(_0x1168dd=_0x1168dd[0x0])==null?void 0x0:_0x1168dd['id'])??_0x17f510[_0x35f20b(0x2b4)],..._0x562018[_0x35f20b(0x305)]??[]];return Array['from'](new Set(_0x2cb91d[_0x35f20b(0x208)](_0x46a9a9=>!!_0x17f510['fields'][_0x46a9a9])));}if((_0x2c3e6c=_0x562018[_0x35f20b(0x212)])!=null&&_0x2c3e6c[_0x35f20b(0x34f)])return _0x562018['fields'][_0x35f20b(0x19b)](_0x457305=>_0x457305['id'])[_0x35f20b(0x208)](_0x49bb1d=>{const _0x1c040b=_0x35f20b;var _0x5a9d04;return!(!_0x17f510[_0x1c040b(0x212)][_0x49bb1d]||_0x53ee3b!=null&&(_0x5a9d04=_0x53ee3b['fieldSettings'])!=null&&(_0x5a9d04=_0x5a9d04[_0x49bb1d])!=null&&_0x5a9d04['hidden']);});}return _0x17f510[_0x35f20b(0x1ce)][_0x35f20b(0x208)](_0x2ca503=>{const _0xb6b58c=_0x35f20b;var _0x4e4a99;return!(!_0x17f510[_0xb6b58c(0x212)][_0x2ca503]||_0x53ee3b!=null&&(_0x4e4a99=_0x53ee3b['fieldSettings'])!=null&&(_0x4e4a99=_0x4e4a99[_0x2ca503])!=null&&_0x4e4a99['hidden']);});}let _0x6e6b66=class extends _0x6b6f07[_0x5a49e4(0x1e3)]{constructor(_0x15c3a7,_0x3dd8a2,_0x1368d8,_0x467487,_0x32e456){const _0x4c0d35=_0x5a49e4;super(),this[_0x4c0d35(0x2a0)]=_0x15c3a7,this['_injector']=_0x3dd8a2,this[_0x4c0d35(0x1c5)]=_0x1368d8,this[_0x4c0d35(0x1be)]=_0x467487,this[_0x4c0d35(0x209)]=_0x32e456;}[_0x5a49e4(0x30f)](){const _0x4799ce=_0x5a49e4;return this[_0x4799ce(0x2a0)];}[_0x5a49e4(0x32b)](){const _0x13f392=_0x5a49e4;return this[_0x13f392(0x2a0)][_0x13f392(0x26b)]();}[_0x5a49e4(0x352)](){const _0x5b7def=_0x5a49e4;return new _0x1dc073(this[_0x5b7def(0x32b)](),this[_0x5b7def(0x1be)],this[_0x5b7def(0x209)]);}[_0x5a49e4(0x30e)](){const _0x779c41=_0x5a49e4;return this[_0x779c41(0x1c5)]['saveUnit'](this['getId']())??_0x26e2cd['Tools']['deepClone'](this[_0x779c41(0x2a0)][_0x779c41(0x2c4)]());}['getName'](){const _0x490f35=_0x5a49e4;return this[_0x490f35(0x2a0)][_0x490f35(0x2c4)]()[_0x490f35(0x31d)];}[_0x5a49e4(0x275)](_0x653bb9){const _0x3c228f=_0x5a49e4;this[_0x3c228f(0x1be)][_0x3c228f(0x20a)](_0x471e22['SetBaseNameCommand']['id'],{'unitId':this[_0x3c228f(0x32b)](),'name':_0x653bb9});}[_0x5a49e4(0x2e3)](){const _0x28a69b=_0x5a49e4;let _0x310299=this['_base'][_0x28a69b(0x2c4)]();return _0x310299[_0x28a69b(0x22f)][_0x28a69b(0x19b)](_0x36f6af=>_0x310299[_0x28a69b(0x1e4)][_0x36f6af])[_0x28a69b(0x208)](_0x48b21f=>_0x48b21f)['map'](_0x37ec1f=>this[_0x28a69b(0x2c1)][_0x28a69b(0x345)](_0x264539,this,_0x37ec1f['id'],this[_0x28a69b(0x2c1)]));}['getTableById'](_0x36cad1){const _0x19f091=_0x5a49e4;let _0x3481d8=this[_0x19f091(0x2a0)][_0x19f091(0x2c4)]()[_0x19f091(0x1e4)][_0x36cad1];return _0x3481d8?this['_injector'][_0x19f091(0x345)](_0x264539,this,_0x3481d8['id'],this[_0x19f091(0x2c1)]):null;}[_0x5a49e4(0x1dd)](_0x468fd5){const _0x18385e=_0x5a49e4;let _0x82cd47=this[_0x18385e(0x2a0)][_0x18385e(0x2c4)](),_0x4cc505=Object[_0x18385e(0x289)](_0x82cd47[_0x18385e(0x1e4)])[_0x18385e(0x286)](_0x5d1f0e=>_0x5d1f0e[_0x18385e(0x31d)]===_0x468fd5);return _0x4cc505?this[_0x18385e(0x2c1)][_0x18385e(0x345)](_0x264539,this,_0x4cc505['id'],this[_0x18385e(0x2c1)]):null;}[_0x5a49e4(0x274)](_0x45a9f3,_0x3a9684){const _0x57d4c0=_0x5a49e4;let _0x1b296b=(0x0,_0x26e2cd[_0x57d4c0(0x335)])({'id':(0x0,_0x26e2cd['generateRandomId'])(),'name':_0x45a9f3,..._0x3a9684==null?void 0x0:_0x3a9684[_0x57d4c0(0x271)],'primaryFieldName':_0x3a9684==null?void 0x0:_0x3a9684[_0x57d4c0(0x1d5)]}),_0x4ea5d6=_0x26e2cd[_0x57d4c0(0x23b)][_0x57d4c0(0x1c6)](_0x1b296b,(_0x3a9684==null?void 0x0:_0x3a9684[_0x57d4c0(0x271)])??{}),_0x1d5cc8=(0x0,_0x471e22['validateBaseTableName'])(this[_0x57d4c0(0x2a0)][_0x57d4c0(0x2c4)](),_0x4ea5d6[_0x57d4c0(0x31d)]);if(!_0x1d5cc8['valid'])throw Error(_0x57d4c0(0x28f)+_0x4ea5d6[_0x57d4c0(0x31d)]+_0x57d4c0(0x290)+_0x471e22['BASE_TABLE_NAME_REQUIREMENTS']+'\x20'+_0x1d5cc8['reason']);if(!this[_0x57d4c0(0x1be)][_0x57d4c0(0x20a)](_0x471e22[_0x57d4c0(0x339)]['id'],{'unitId':this[_0x57d4c0(0x2a0)]['getUnitId'](),'table':_0x4ea5d6,'index':_0x3a9684==null?void 0x0:_0x3a9684[_0x57d4c0(0x2b7)]}))throw Error(_0x57d4c0(0x34a)+_0x45a9f3+'\x22.');return this[_0x57d4c0(0x2c1)][_0x57d4c0(0x345)](_0x264539,this,_0x4ea5d6['id'],this['_injector']);}['deleteTable'](_0x470f42){const _0x4a585d=_0x5a49e4;let _0x27a9be=typeof _0x470f42==_0x4a585d(0x1b2)?_0x470f42:_0x470f42[_0x4a585d(0x32b)]();if(!this['_commandService'][_0x4a585d(0x20a)](_0x471e22['DeleteBaseTableCommand']['id'],{'unitId':this['_base']['getUnitId'](),'tableId':_0x27a9be}))throw Error(_0x4a585d(0x1b3)+_0x27a9be+'\x22.');return!0x0;}[_0x5a49e4(0x2ff)](_0x37795f,_0x491308){const _0x374283=_0x5a49e4;let _0x591463=this[_0x374283(0x2a0)][_0x374283(0x2c4)](),_0x1467f7=typeof _0x37795f==_0x374283(0x1b2)?_0x37795f:_0x37795f[_0x374283(0x32b)](),_0x220f06=_0x591463[_0x374283(0x1e4)][_0x1467f7];if(!_0x220f06)throw Error('[FBase]:\x20table\x20\x22'+_0x1467f7+'\x22\x20does\x20not\x20exist.');let _0x481543=_0x591463[_0x374283(0x22f)][_0x374283(0x328)](_0x1467f7)+0x1,_0x4b22e3=(0x0,_0x26e2cd[_0x374283(0x2ca)])(),_0x4a6a3d=(0x0,_0x471e22[_0x374283(0x256)])(_0x220f06,{'id':_0x4b22e3,'name':(0x0,_0x471e22[_0x374283(0x2a9)])(_0x591463,_0x220f06[_0x374283(0x31d)]+'\x20Copy'),'includeRecords':(_0x491308==null?void 0x0:_0x491308[_0x374283(0x33b)])??!0x1,'regenerateViewIds':(_0x491308==null?void 0x0:_0x491308[_0x374283(0x24c)])??!0x1});if(!this['_commandService'][_0x374283(0x20a)](_0x471e22[_0x374283(0x339)]['id'],{'unitId':this[_0x374283(0x2a0)][_0x374283(0x26b)](),'table':_0x4a6a3d,'index':_0x481543}))throw Error('Failed\x20to\x20duplicate\x20table\x20\x22'+_0x1467f7+'\x22.');return this[_0x374283(0x2c1)]['createInstance'](_0x264539,this,_0x4a6a3d['id'],this['_injector']);}[_0x5a49e4(0x355)](){const _0x1e6b54=_0x5a49e4;let _0x2f6b31=this[_0x1e6b54(0x2a0)][_0x1e6b54(0x2c4)]();return{'id':_0x2f6b31['id'],'name':_0x2f6b31[_0x1e6b54(0x31d)],'tables':this[_0x1e6b54(0x2e3)]()['map'](_0x5050bd=>_0x5050bd[_0x1e6b54(0x355)]())};}};_0x6e6b66=_0x4ef17f([_0x197b0f(0x1,(0x0,_0x26e2cd[_0x5a49e4(0x25e)])(_0x26e2cd[_0x5a49e4(0x21f)])),_0x197b0f(0x2,_0x26e2cd[_0x5a49e4(0x30d)]),_0x197b0f(0x3,_0x26e2cd['ICommandService']),_0x197b0f(0x4,_0x26e2cd[_0x5a49e4(0x317)])],_0x6e6b66);var _0x46cd8c=class extends _0x6b6f07[_0x5a49e4(0x269)]{[_0x5a49e4(0x2f1)](){const _0x36fa69=_0x5a49e4;this[_0x36fa69(0x311)](),this[_0x36fa69(0x227)]();}[_0x5a49e4(0x24b)](_0xb8e54a={},_0x26c3c8){const _0x40b111=_0x5a49e4;let _0x53418c=this[_0x40b111(0x246)][_0x40b111(0x238)](_0x26e2cd[_0x40b111(0x2ee)][_0x40b111(0x2c6)],_0xb8e54a,_0x26c3c8);return this[_0x40b111(0x2c1)][_0x40b111(0x345)](_0x6e6b66,_0x53418c);}[_0x5a49e4(0x20c)](){const _0x4a6dec=_0x5a49e4;let _0x8dc62e=this[_0x4a6dec(0x246)]['getCurrentUnitOfType'](_0x26e2cd[_0x4a6dec(0x2ee)]['UNIVER_BASE']);return _0x8dc62e?this[_0x4a6dec(0x2c1)]['createInstance'](_0x6e6b66,_0x8dc62e):null;}[_0x5a49e4(0x30f)](_0x4d0d29){const _0x365b58=_0x5a49e4;let _0x4ad684=this['_univerInstanceService'][_0x365b58(0x2bf)](_0x4d0d29,_0x26e2cd[_0x365b58(0x2ee)]['UNIVER_BASE']);return _0x4ad684?this[_0x365b58(0x2c1)][_0x365b58(0x345)](_0x6e6b66,_0x4ad684):null;}[_0x5a49e4(0x332)](){const _0x3ca6f2=_0x5a49e4;return this['_univerInstanceService']['getAllUnitsForType'](_0x26e2cd['UniverInstanceType']['UNIVER_BASE'])[_0x3ca6f2(0x19b)](_0x40422b=>this['_injector'][_0x3ca6f2(0x345)](_0x6e6b66,_0x40422b));}[_0x5a49e4(0x227)](){const _0x2f20d1=_0x5a49e4;this[_0x2f20d1(0x1e5)](this['registerEventHandler'](this[_0x2f20d1(0x1ee)]['BaseHierarchyChanged'],()=>this[_0x2f20d1(0x1be)]['onCommandExecuted']((_0x1f88d7,_0x163eb1)=>{const _0xf6326c=_0x2f20d1;var _0x883c18;if(!_0x4594be(_0x1f88d7,_0x471e22[_0xf6326c(0x1d3)]))return;let _0xb417b0=_0x1f88d7['params'];if(!((_0x883c18=_0xb417b0[_0xf6326c(0x347)])!=null&&_0x883c18['length']))return;let _0x6af7a8=this[_0xf6326c(0x30f)](_0xb417b0[_0xf6326c(0x2b5)]),_0x4a0213=_0x6af7a8==null?void 0x0:_0x6af7a8['getTableById'](_0xb417b0['hierarchyChanges'][0x0][_0xf6326c(0x1f9)]);if(!_0x6af7a8||!_0x4a0213)return;let _0x22f64c={'base':_0x6af7a8,'table':_0x4a0213,'changes':_0xb417b0[_0xf6326c(0x347)],'source':_0x163eb1!=null&&_0x163eb1[_0xf6326c(0x1ab)]?_0x471e22[_0xf6326c(0x27b)][_0xf6326c(0x21b)]:_0xb417b0[_0xf6326c(0x220)]??_0x471e22[_0xf6326c(0x27b)]['UI']};this[_0xf6326c(0x2a3)](this['Event'][_0xf6326c(0x1d7)],_0x22f64c);}))),this[_0x2f20d1(0x1e5)](this[_0x2f20d1(0x297)](this[_0x2f20d1(0x1ee)][_0x2f20d1(0x2ec)],()=>this[_0x2f20d1(0x1be)]['onCommandExecuted'](_0x3a100c=>{const _0x2f82ee=_0x2f20d1;if(_0x3a100c['id']!==_0x471e22[_0x2f82ee(0x339)]['id'])return;let {unitId:_0x14dabe,table:_0x2d71a0,index:_0x1258b3}=_0x3a100c[_0x2f82ee(0x272)],_0x5aeab2=this[_0x2f82ee(0x30f)](_0x14dabe);if(!_0x5aeab2)return;let _0x249214={'base':_0x5aeab2,'table':_0x2d71a0,'index':_0x1258b3};this[_0x2f82ee(0x2a3)](this['Event'][_0x2f82ee(0x2ec)],_0x249214);}))),this[_0x2f20d1(0x1e5)](this['registerEventHandler'](this['Event'][_0x2f20d1(0x232)],()=>this[_0x2f20d1(0x1be)][_0x2f20d1(0x330)](_0x59b7d3=>{const _0x1d25a4=_0x2f20d1;if(_0x59b7d3['id']!==_0x471e22[_0x1d25a4(0x207)]['id'])return;let {unitId:_0x3cff6f,tableId:_0x216d04,field:_0x25d366,index:_0x536618,viewIndexes:_0x1c477b}=_0x59b7d3[_0x1d25a4(0x272)],_0x3b3f6f=this[_0x1d25a4(0x30f)](_0x3cff6f);if(!_0x3b3f6f)return;let _0x47b0e5=_0x3b3f6f[_0x1d25a4(0x259)](_0x216d04);if(!_0x47b0e5)return;let _0x3eae67={'base':_0x3b3f6f,'table':_0x47b0e5,'field':_0x25d366,'index':_0x536618,'viewIndexes':_0x1c477b};this[_0x1d25a4(0x2a3)](this[_0x1d25a4(0x1ee)][_0x1d25a4(0x232)],_0x3eae67);}))),this[_0x2f20d1(0x1e5)](this[_0x2f20d1(0x297)](this[_0x2f20d1(0x1ee)][_0x2f20d1(0x1da)],()=>this[_0x2f20d1(0x1be)][_0x2f20d1(0x330)](_0x4af28a=>{const _0x284ac7=_0x2f20d1;if(_0x4af28a['id']!==_0x471e22[_0x284ac7(0x316)]['id']&&_0x4af28a['id']!==_0x471e22[_0x284ac7(0x2eb)]['id'])return;let _0x3188e6=_0x4af28a[_0x284ac7(0x272)],{unitId:_0x9429bf,tableId:_0x5cf4f8}=_0x3188e6,_0x577ecf=_0x3188e6[_0x284ac7(0x320)]??[_0x3188e6[_0x284ac7(0x336)]],_0xf1842c=this[_0x284ac7(0x30f)](_0x9429bf);if(!_0xf1842c)return;let _0x3e581e=_0xf1842c['getTableById'](_0x5cf4f8);if(!_0x3e581e)return;let _0x575fe8={'base':_0xf1842c,'table':_0x3e581e,'records':_0x577ecf};this[_0x284ac7(0x2a3)](this[_0x284ac7(0x1ee)][_0x284ac7(0x1da)],_0x575fe8);}))),this[_0x2f20d1(0x1e5)](this[_0x2f20d1(0x297)](this['Event'][_0x2f20d1(0x1d4)],()=>this[_0x2f20d1(0x1be)][_0x2f20d1(0x330)](_0x325231=>{const _0x42eaf9=_0x2f20d1;if(_0x325231['id']!==_0x471e22['CreateBaseViewCommand']['id'])return;let {unitId:_0x1bcd0c,tableId:_0x334203,view:_0x477c94,index:_0x5b257f}=_0x325231[_0x42eaf9(0x272)],_0x13e760=this[_0x42eaf9(0x30f)](_0x1bcd0c);if(!_0x13e760)return;let _0x48de17=_0x13e760[_0x42eaf9(0x259)](_0x334203);if(!_0x48de17)return;let _0x109e79={'base':_0x13e760,'table':_0x48de17,'view':_0x477c94,'index':_0x5b257f};this[_0x42eaf9(0x2a3)](this[_0x42eaf9(0x1ee)]['BaseTableViewCreated'],_0x109e79);}))),this['disposeWithMe'](this[_0x2f20d1(0x297)](this[_0x2f20d1(0x1ee)][_0x2f20d1(0x2fa)],()=>this[_0x2f20d1(0x1be)][_0x2f20d1(0x330)](_0x4a6cf6=>{const _0x320f56=_0x2f20d1;if(_0x4a6cf6['id']!==_0x471e22['UpdateBaseCellCommand']['id'])return;let {unitId:_0x11db54,tableId:_0x5f08ac,recordId:_0x989781,fieldId:_0x571389,value:_0x2f16cb}=_0x4a6cf6[_0x320f56(0x272)],_0x432d71=this[_0x320f56(0x30f)](_0x11db54);if(!_0x432d71)return;let _0xa68e4b=_0x432d71[_0x320f56(0x259)](_0x5f08ac);if(!_0xa68e4b)return;let _0x419a51=_0xa68e4b[_0x320f56(0x2be)](_0x571389);if(!_0x419a51)return;let _0x31ff2e=_0xa68e4b[_0x320f56(0x30c)](_0x989781);if(!_0x31ff2e)return;let _0x40eb50={'base':_0x432d71,'table':_0xa68e4b,'field':_0x419a51,'record':_0x31ff2e,'value':_0x2f16cb};this[_0x320f56(0x2a3)](this[_0x320f56(0x1ee)]['BaseTableCellValueChanged'],_0x40eb50);})));}[_0x5a49e4(0x311)](){const _0x275133=_0x5a49e4;this[_0x275133(0x1e5)](this[_0x275133(0x297)](this[_0x275133(0x1ee)][_0x275133(0x27f)],()=>this[_0x275133(0x1be)][_0x275133(0x1c4)](_0x288dfa=>{const _0x39c863=_0x275133;if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x24e)])){let {unitId:_0x3ee004,tableId:_0x1b0fcb,patches:_0x4c6260,source:_0x2500f9=_0x471e22[_0x39c863(0x27b)]['UI']}=_0x288dfa[_0x39c863(0x272)],_0x497a1f=this[_0x39c863(0x31f)](_0x3ee004,_0x1b0fcb);if(!_0x497a1f)return;this[_0x39c863(0x2d4)](_0x497a1f['base'],_0x497a1f[_0x39c863(0x271)],(0x0,_0x471e22[_0x39c863(0x26f)])(_0x497a1f[_0x39c863(0x271)]['getTable'](),_0x4c6260),_0x2500f9);return;}if(_0x4594be(_0x288dfa,_0x471e22['SetBaseRangeValuesCommand'])){let {unitId:_0x424313,tableId:_0x245131,patches:_0x419322,source:_0x42a311=_0x471e22[_0x39c863(0x27b)]['UI']}=_0x288dfa['params'],_0x92ba20=this[_0x39c863(0x31f)](_0x424313,_0x245131);if(!_0x92ba20)return;let _0x24844f=_0x92ba20[_0x39c863(0x271)]['getTable']();this[_0x39c863(0x2d4)](_0x92ba20[_0x39c863(0x20b)],_0x92ba20[_0x39c863(0x271)],(0x0,_0x471e22[_0x39c863(0x26f)])(_0x24844f,(0x0,_0x471e22[_0x39c863(0x210)])(_0x24844f,_0x419322)),_0x42a311);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x316)])){let _0x160b91=_0x288dfa[_0x39c863(0x272)],_0x50a418=this['_getHierarchyEventContext'](_0x160b91['unitId'],_0x160b91[_0x39c863(0x1f9)]);if(!_0x50a418)return;this[_0x39c863(0x2d4)](_0x50a418[_0x39c863(0x20b)],_0x50a418[_0x39c863(0x271)],(0x0,_0x471e22['validateBaseHierarchyRecordCreations'])(_0x50a418['table'][_0x39c863(0x1f5)](),[_0x160b91[_0x39c863(0x336)]]),_0x160b91[_0x39c863(0x220)]??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x2eb)])){let _0x56fe4b=_0x288dfa[_0x39c863(0x272)],_0x265e83=this[_0x39c863(0x31f)](_0x56fe4b['unitId'],_0x56fe4b[_0x39c863(0x1f9)]);if(!_0x265e83)return;this[_0x39c863(0x2d4)](_0x265e83[_0x39c863(0x20b)],_0x265e83[_0x39c863(0x271)],(0x0,_0x471e22[_0x39c863(0x29d)])(_0x265e83['table']['getTable'](),_0x56fe4b[_0x39c863(0x320)]),_0x56fe4b[_0x39c863(0x220)]??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x1bf)])){let _0x2194a7=_0x288dfa[_0x39c863(0x272)],_0x59737b=this[_0x39c863(0x31f)](_0x2194a7[_0x39c863(0x2b5)],_0x2194a7[_0x39c863(0x1f9)]);if(!_0x59737b)return;this[_0x39c863(0x2d4)](_0x59737b[_0x39c863(0x20b)],_0x59737b['table'],(0x0,_0x471e22['validateBaseHierarchyRecordCreations'])(_0x59737b['table'][_0x39c863(0x1f5)](),[_0x2194a7[_0x39c863(0x336)]]),_0x2194a7['source']??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x1ad)])){let _0x4b2bfd=_0x288dfa[_0x39c863(0x272)],_0x17c7e7=this[_0x39c863(0x31f)](_0x4b2bfd[_0x39c863(0x2b5)],_0x4b2bfd[_0x39c863(0x1f9)]);if(!_0x17c7e7)return;let _0x5d5006=_0x17c7e7[_0x39c863(0x271)]['getTable'](),_0x4b4c41=_0x4b2bfd[_0x39c863(0x293)]??(0x0,_0x471e22[_0x39c863(0x2d9)])(_0x5d5006),_0x2ffab2=(0x0,_0x471e22[_0x39c863(0x1f3)])(_0x5d5006,_0x4b4c41)[_0x39c863(0x304)][_0x39c863(0x29a)](_0x4b2bfd[_0x39c863(0x2d1)])??null;this[_0x39c863(0x2d4)](_0x17c7e7[_0x39c863(0x20b)],_0x17c7e7[_0x39c863(0x271)],[{'tableId':_0x4b2bfd[_0x39c863(0x1f9)],'fieldId':_0x4b4c41,'recordId':_0x4b2bfd[_0x39c863(0x2d1)],'oldParentRecordId':_0x2ffab2,'parentRecordId':_0x4b2bfd[_0x39c863(0x2f6)]}],_0x4b2bfd['source']??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x2f5)])){let _0x3ef3cc=_0x288dfa[_0x39c863(0x272)],_0x174596=this[_0x39c863(0x31f)](_0x3ef3cc['unitId'],_0x3ef3cc[_0x39c863(0x1f9)]);if(!_0x174596)return;let _0x1da57e=_0x3ef3cc['fieldId']??(0x0,_0x471e22[_0x39c863(0x2d9)])(_0x174596[_0x39c863(0x271)][_0x39c863(0x1f5)]());this['_fireBeforeHierarchyChange'](_0x174596[_0x39c863(0x20b)],_0x174596['table'],[{'tableId':_0x3ef3cc['tableId'],'fieldId':_0x1da57e,'recordId':_0x3ef3cc['record']['id'],'oldParentRecordId':null,'parentRecordId':_0x3ef3cc[_0x39c863(0x2f6)]}],_0x3ef3cc['source']??_0x471e22['BaseEventSource']['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x1c3)])){let _0x126347=_0x288dfa[_0x39c863(0x272)],_0x4fed3d=this[_0x39c863(0x31f)](_0x126347[_0x39c863(0x2b5)],_0x126347['tableId']);if(!_0x4fed3d)return;this['_fireBeforeHierarchyChange'](_0x4fed3d[_0x39c863(0x20b)],_0x4fed3d[_0x39c863(0x271)],(0x0,_0x471e22[_0x39c863(0x281)])(_0x4fed3d[_0x39c863(0x271)][_0x39c863(0x1f5)](),[_0x126347[_0x39c863(0x2d1)]]),_0x126347['source']??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(_0x4594be(_0x288dfa,_0x471e22[_0x39c863(0x1a9)])){let _0xdfe2c5=_0x288dfa[_0x39c863(0x272)],_0x7db668=this[_0x39c863(0x31f)](_0xdfe2c5[_0x39c863(0x2b5)],_0xdfe2c5[_0x39c863(0x1f9)]);if(!_0x7db668)return;this[_0x39c863(0x2d4)](_0x7db668['base'],_0x7db668[_0x39c863(0x271)],(0x0,_0x471e22[_0x39c863(0x281)])(_0x7db668[_0x39c863(0x271)][_0x39c863(0x1f5)](),_0xdfe2c5[_0x39c863(0x2dd)]),_0xdfe2c5['source']??_0x471e22[_0x39c863(0x27b)]['UI']);return;}if(!_0x4594be(_0x288dfa,_0x471e22['UpdateBaseCellCommand']))return;let _0x1ab637=_0x288dfa[_0x39c863(0x272)],_0x12fa4b=this['_getHierarchyEventContext'](_0x1ab637['unitId'],_0x1ab637['tableId']);if(!_0x12fa4b)return;let _0x2bafa2=_0x12fa4b['table']['getTable']();if(!(0x0,_0x471e22[_0x39c863(0x26a)])(_0x2bafa2)[_0x39c863(0x28a)](_0x1ab637[_0x39c863(0x293)]))return;let _0xe25740=(0x0,_0x471e22[_0x39c863(0x1f3)])(_0x2bafa2,_0x1ab637[_0x39c863(0x293)])[_0x39c863(0x304)]['get'](_0x1ab637[_0x39c863(0x2d1)])??null,_0x1e3804=(0x0,_0x471e22[_0x39c863(0x2cf)])(_0x1ab637['value'])[0x0]??null;_0xe25740!==_0x1e3804&&this[_0x39c863(0x2d4)](_0x12fa4b[_0x39c863(0x20b)],_0x12fa4b['table'],[{'tableId':_0x1ab637[_0x39c863(0x1f9)],'fieldId':_0x1ab637[_0x39c863(0x293)],'recordId':_0x1ab637['recordId'],'oldParentRecordId':_0xe25740,'parentRecordId':_0x1e3804}],_0x1ab637[_0x39c863(0x220)]??_0x471e22['BaseEventSource']['UI']);}))),this[_0x275133(0x1e5)](this[_0x275133(0x297)](this['Event'][_0x275133(0x1de)],()=>this[_0x275133(0x1be)][_0x275133(0x1c4)](_0x3d9d3c=>{const _0x2342db=_0x275133;if(_0x3d9d3c['id']!==_0x471e22[_0x2342db(0x339)]['id'])return;let {unitId:_0x452f3d,table:_0x85964,index:_0x3f8d68}=_0x3d9d3c[_0x2342db(0x272)],_0x400e5d=this['getBase'](_0x452f3d);if(!_0x400e5d)return;let _0x258b1c={'base':_0x400e5d,'table':_0x85964,'index':_0x3f8d68};if(this['fireEvent'](this[_0x2342db(0x1ee)][_0x2342db(0x1de)],_0x258b1c),_0x258b1c[_0x2342db(0x1b6)])throw new _0x26e2cd['CanceledError']();}))),this[_0x275133(0x1e5)](this[_0x275133(0x297)](this['Event'][_0x275133(0x2df)],()=>this[_0x275133(0x1be)][_0x275133(0x1c4)](_0x3e225b=>{const _0x42035b=_0x275133;if(_0x3e225b['id']!==_0x471e22[_0x42035b(0x207)]['id'])return;let {unitId:_0x35ffa4,tableId:_0x587b69,field:_0x351aeb,index:_0x341976,viewIndexes:_0x59f34b}=_0x3e225b['params'],_0x45c9c2=this[_0x42035b(0x30f)](_0x35ffa4);if(!_0x45c9c2)return;let _0x1699f9=_0x45c9c2[_0x42035b(0x259)](_0x587b69);if(!_0x1699f9)return;let _0x205aa7={'base':_0x45c9c2,'table':_0x1699f9,'field':_0x351aeb,'index':_0x341976,'viewIndexes':_0x59f34b};if(this[_0x42035b(0x2a3)](this[_0x42035b(0x1ee)][_0x42035b(0x2df)],_0x205aa7),_0x205aa7[_0x42035b(0x1b6)])throw new _0x26e2cd[(_0x42035b(0x350))]();}))),this[_0x275133(0x1e5)](this[_0x275133(0x297)](this['Event'][_0x275133(0x2fd)],()=>this[_0x275133(0x1be)][_0x275133(0x1c4)](_0x210849=>{const _0x3b555a=_0x275133;if(_0x210849['id']!==_0x471e22[_0x3b555a(0x316)]['id']&&_0x210849['id']!==_0x471e22[_0x3b555a(0x2eb)]['id'])return;let _0x3d26f9=_0x210849['params'],{unitId:_0x15490c,tableId:_0x24bdce}=_0x3d26f9,_0x26981f=_0x3d26f9[_0x3b555a(0x320)]??[_0x3d26f9[_0x3b555a(0x336)]],_0x35e5b0=this[_0x3b555a(0x30f)](_0x15490c);if(!_0x35e5b0)return;let _0x7e94be=_0x35e5b0[_0x3b555a(0x259)](_0x24bdce);if(!_0x7e94be)return;let _0x550b06={'base':_0x35e5b0,'table':_0x7e94be,'records':_0x26981f};if(this['fireEvent'](this[_0x3b555a(0x1ee)][_0x3b555a(0x2fd)],_0x550b06),_0x550b06['cancel'])throw new _0x26e2cd[(_0x3b555a(0x350))]();}))),this[_0x275133(0x1e5)](this[_0x275133(0x297)](this[_0x275133(0x1ee)][_0x275133(0x33c)],()=>this['_commandService']['beforeCommandExecuted'](_0x50267c=>{const _0xa99fa4=_0x275133;if(_0x50267c['id']!==_0x471e22['CreateBaseViewCommand']['id'])return;let {unitId:_0x2a5930,tableId:_0x3845f1,view:_0x19a7b3,index:_0x345ed1}=_0x50267c[_0xa99fa4(0x272)],_0x1e0c6b=this[_0xa99fa4(0x30f)](_0x2a5930);if(!_0x1e0c6b)return;let _0x5e312b=_0x1e0c6b['getTableById'](_0x3845f1);if(!_0x5e312b)return;let _0x1d211e={'base':_0x1e0c6b,'table':_0x5e312b,'view':_0x19a7b3,'index':_0x345ed1};if(this[_0xa99fa4(0x2a3)](this[_0xa99fa4(0x1ee)]['BeforeBaseTableViewCreate'],_0x1d211e),_0x1d211e[_0xa99fa4(0x1b6)])throw new _0x26e2cd[(_0xa99fa4(0x350))]();}))),this[_0x275133(0x1e5)](this[_0x275133(0x297)](this['Event']['BeforeBaseTableCellValueChange'],()=>this[_0x275133(0x1be)][_0x275133(0x1c4)](_0x545aad=>{const _0x24d2d1=_0x275133;if(_0x545aad['id']!==_0x471e22['UpdateBaseCellCommand']['id'])return;let {unitId:_0x14249c,tableId:_0x3f126f,recordId:_0x393013,fieldId:_0x29be74,value:_0x3a5698}=_0x545aad[_0x24d2d1(0x272)],_0x2e5241=this['getBase'](_0x14249c);if(!_0x2e5241)return;let _0x3980fb=_0x2e5241[_0x24d2d1(0x259)](_0x3f126f);if(!_0x3980fb)return;let _0x2f56bc=_0x3980fb[_0x24d2d1(0x2be)](_0x29be74);if(!_0x2f56bc)return;let _0x5f176e=_0x3980fb[_0x24d2d1(0x30c)](_0x393013);if(!_0x5f176e)return;let _0x5bdab0={'base':_0x2e5241,'table':_0x3980fb,'field':_0x2f56bc,'record':_0x5f176e,'value':_0x3a5698};if(this[_0x24d2d1(0x2a3)](this[_0x24d2d1(0x1ee)]['BeforeBaseTableCellValueChange'],_0x5bdab0),_0x5bdab0[_0x24d2d1(0x1b6)])throw new _0x26e2cd[(_0x24d2d1(0x350))]();})));}[_0x5a49e4(0x31f)](_0x21becc,_0x5802a9){const _0x2a751b=_0x5a49e4;let _0x3fd2d3=this['getBase'](_0x21becc),_0x2c8521=_0x3fd2d3==null?void 0x0:_0x3fd2d3[_0x2a751b(0x259)](_0x5802a9);return _0x3fd2d3&&_0x2c8521?{'base':_0x3fd2d3,'table':_0x2c8521}:null;}[_0x5a49e4(0x2d4)](_0x3a6edc,_0x685080,_0x434fbf,_0x429e26){const _0xd02b4a=_0x5a49e4;if(!_0x434fbf['length'])return;let _0x3d0deb={'base':_0x3a6edc,'table':_0x685080,'changes':_0x434fbf,'source':_0x429e26};if(this[_0xd02b4a(0x2a3)](this[_0xd02b4a(0x1ee)][_0xd02b4a(0x27f)],_0x3d0deb),_0x3d0deb[_0xd02b4a(0x1b6)])throw new _0x26e2cd['CanceledError']();}};function _0x4594be(_0x556f4a,_0x3208b4){const _0x4d4dc3=_0x5a49e4;return _0x556f4a['id']===_0x3208b4['id']&&_0x556f4a[_0x4d4dc3(0x272)]!==void 0x0;}_0x6b6f07['FUniver'][_0x5a49e4(0x31a)](_0x46cd8c);var _0x4c4f54=class extends _0x6b6f07[_0x5a49e4(0x245)]{get[_0x5a49e4(0x1cd)](){return _0x26e2cd['BaseFieldType'];}get['BaseFilterConjunction'](){const _0x35e0b4=_0x5a49e4;return _0x26e2cd[_0x35e0b4(0x1a1)];}get['BaseFilterOperator'](){const _0x101f0e=_0x5a49e4;return _0x26e2cd[_0x101f0e(0x22d)];}get[_0x5a49e4(0x22c)](){return _0x51ead3;}get[_0x5a49e4(0x28e)](){const _0x1b9c47=_0x5a49e4;return _0x26e2cd[_0x1b9c47(0x28e)];}get[_0x5a49e4(0x1d9)](){const _0x54daab=_0x5a49e4;return _0x26e2cd[_0x54daab(0x1d9)];}get[_0x5a49e4(0x280)](){const _0xfb8820=_0x5a49e4;return _0x26e2cd[_0xfb8820(0x280)];}get['BaseConditionalDateMode'](){return _0x26e2cd['BaseConditionalDateMode'];}get[_0x5a49e4(0x334)](){return _0x26e2cd['BaseSortDirection'];}get['BaseEventSource'](){const _0x10a68e=_0x5a49e4;return _0x471e22[_0x10a68e(0x27b)];}get[_0x5a49e4(0x2cc)](){const _0x3341cf=_0x5a49e4;return _0x471e22[_0x3341cf(0x2cc)];}get[_0x5a49e4(0x351)](){const _0x12302c=_0x5a49e4;return _0x26e2cd[_0x12302c(0x351)];}get[_0x5a49e4(0x1a3)](){return _0x26e2cd['BaseRecordLinkRole'];}};_0x6b6f07[_0x5a49e4(0x245)]['extend'](_0x4c4f54);var _0x800ce=class extends _0x6b6f07['FEventName']{get['BaseTableCreated'](){const _0x1a322e=_0x5a49e4;return _0x1a322e(0x2ec);}get[_0x5a49e4(0x1de)](){const _0x88b49a=_0x5a49e4;return _0x88b49a(0x1de);}get['BaseTableFieldCreated'](){const _0x3d52ea=_0x5a49e4;return _0x3d52ea(0x232);}get[_0x5a49e4(0x2df)](){const _0x1f5251=_0x5a49e4;return _0x1f5251(0x2df);}get[_0x5a49e4(0x1da)](){return'BaseTableRecordCreated';}get[_0x5a49e4(0x2fd)](){return'BeforeBaseTableRecordCreate';}get['BaseTableViewCreated'](){const _0x31c7ce=_0x5a49e4;return _0x31c7ce(0x1d4);}get[_0x5a49e4(0x33c)](){return'BeforeBaseTableViewCreate';}get[_0x5a49e4(0x2fa)](){const _0x7c29fc=_0x5a49e4;return _0x7c29fc(0x2fa);}get[_0x5a49e4(0x1b4)](){const _0x5342ae=_0x5a49e4;return _0x5342ae(0x1b4);}get[_0x5a49e4(0x1d7)](){const _0x2bcad2=_0x5a49e4;return _0x2bcad2(0x1d7);}get[_0x5a49e4(0x27f)](){return'BeforeBaseHierarchyChange';}};_0x6b6f07[_0x5a49e4(0x241)]['extend'](_0x800ce),_0x2f53ab[_0x5a49e4(0x22c)]=_0x51ead3,Object[_0x5a49e4(0x19a)](_0x2f53ab,_0x5a49e4(0x1e3),{'enumerable':!0x0,'get':function(){return _0x6e6b66;}}),_0x2f53ab[_0x5a49e4(0x2d3)]=_0x1d0494,_0x2f53ab[_0x5a49e4(0x1bc)]=_0x1dc073,Object[_0x5a49e4(0x19a)](_0x2f53ab,_0x5a49e4(0x1eb),{'enumerable':!0x0,'get':function(){return _0x264539;}}),Object[_0x5a49e4(0x19a)](_0x2f53ab,'FBaseTableField',{'enumerable':!0x0,'get':function(){return _0x138a01;}}),Object[_0x5a49e4(0x19a)](_0x2f53ab,'FBaseTableRange',{'enumerable':!0x0,'get':function(){return _0x39a5e1;}}),Object[_0x5a49e4(0x19a)](_0x2f53ab,_0x5a49e4(0x1db),{'enumerable':!0x0,'get':function(){return _0x457046;}}),Object[_0x5a49e4(0x19a)](_0x2f53ab,_0x5a49e4(0x23a),{'enumerable':!0x0,'get':function(){return _0x1284f7;}}),_0x2f53ab[_0x5a49e4(0x303)]=_0x800ce,_0x2f53ab[_0x5a49e4(0x243)]=_0x40f984,_0x2f53ab[_0x5a49e4(0x226)]=_0x1c32b4;}));function _0x586a(_0xe40fd1,_0xa0ba45){_0xe40fd1=_0xe40fd1-0x199;const _0x493ef1=_0x493e();let _0x586aa8=_0x493ef1[_0xe40fd1];return _0x586aa8;}function _0x493e(){const _0x84fe97=['getHierarchyFieldId','viewId','registerEventHandler','[FRecord]:\x20attachment\x20at\x20index\x20','size','get','getBaseFieldPermissionObjectId','getFieldSettings','validateBaseHierarchyRecordCreations','thumbnail','_baseUnitId','_base','notMatches','setLinkedRecordIds','fireEvent','deleteProperty','toPrimitive','@univerjs/core','getType','RecordId','createUniqueBaseTableName','sourceType','AND','Calendar','_viewId','CreateBaseViewCommand','setSort',':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.','max','getDescendants','endRow','primaryFieldId','unitId','startsWith','index','has','[FRecord]:\x20invalid\x20RecordLink\x20value.','rowId','_assertInBounds','getRecord',',\x20range:\x20','getFieldById','getUnit','number','_injector','\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.','getFields','getSnapshot','_writeFormulaExternalReferences','UNIVER_BASE','fieldSettings','getBaseFormulaTableName','message','generateRandomId','localeCompare','BaseHierarchyErrorCode','ICommandService','[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22','parseRecordLinkIds','MoveBaseFieldCommand','recordId','_collectDescendantIds','FBaseObjectPermission','_fireBeforeHierarchyChange','some','108689lAQaMN','\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.','10MGShGt','resolveBaseHierarchyFieldId','10733190KchkBz','IBaseProjectionService','_baseTableId','recordIds','Name','BeforeBaseTableFieldCreate','@univerjs-pro/engine-formula','_projectionService','Formula','getTables','field','object','BASE_TABLE_NAME_REQUIREMENTS','Invalid\x20Base\x20formula.','getConditionalColorRules','SetBaseViewFieldWidthCommand','SetBaseViewFilterCommand','BatchCreateBaseRecordsCommand','BaseTableCreated','\x22\x20does\x20not\x20exist.','UniverInstanceType','@univerjs-pro/bases','addField','_initialize','getParent','valid','push','CreateBaseChildRecordCommand','parentRecordId','[FTable]:\x20table\x20\x22','deleteConditionalColorRule','updateConfig','BaseTableCellValueChanged','viewOrder','matches','BeforeBaseTableRecordCreate','1775432lTQDkw','duplicateTable','function','setValues','createView','FBasesEventNameMixin','parentByRecordId','visibleCardFieldIds','_getFieldIds','UniverCoreFacade','executeCommand','hasOwnProperty','getProjection','from','getRecordById','IResourceLoaderService','save','getBase','serializeRecordLinkIds','_initBaseBeforeEvents','setAttachments','UpdateBaseViewConditionalColorRulesCommand','Grid','\x20for\x20field\x20\x22','CreateBaseRecordCommand','IPermissionService','limit','addChild','extend','getName','_getHierarchyIndex','name','Clear','_getHierarchyEventContext','records','_prepareFormulaFieldReferences','\x20in\x20field\x20\x22','SetBasePermissionsCommand','UniverProEngineFormula','call','sort','width','indexOf','RenameBaseTableCommand','boolean','getId','deepClone','22987712LrboGD',':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.','setPoint','onCommandExecuted','startRow','getBases','getAncestors','BaseSortDirection','createDefaultBaseTableSnapshot','record','Unsupported\x20Base\x20field\x20type\x20\x22','UpdateBaseViewConfigCommand','CreateBaseTableCommand','reason','includeRecords','BeforeBaseTableViewCreate','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','[FRecord]:\x20RecordLink\x20field\x20\x22','_tableId','getValues','clear','data:','search','multiple','createInstance','[FRecord]:\x20record\x20\x22','hierarchyChanges','[FRecord]:\x20field\x20\x22','getOwnPropertyDescriptor','Failed\x20to\x20create\x20table\x20\x22','Module','delete','URL','getBaseViewPermissionObjectId','length','CanceledError','BaseHierarchyInvalidReason','getPermission','BASE_RECORD_ID_FIELD_ID','removeLinkedRecord','getSchema','getVisibleFields','getRange','Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22','afterFieldId','getViewByName','symbol','_fieldId','_getRecordLinkField','76622jrexYx','defineProperty','map','changeType','createdAt','UpsertHostExternalReferencesCommand',':\x20\x22','getBasePermissionValue','BaseFilterConjunction','system','BaseRecordLinkRole','getAttachments','87303hgdDrk','getLinkedRecordIds','recordOrder','setReadOnly','BatchDeleteBaseRecordsCommand','getDefaultValue','fromCollab','canEdit','MoveBaseHierarchyRecordCommand','getPrimaryFieldId','DeleteBaseFieldCommand','Edit','getNumColumns','string','Failed\x20to\x20delete\x20table\x20\x22','BeforeBaseTableCellValueChange','45fExQKB','cancel','constructor',',\x20max\x20columns:\x20','group','invalid','targetTableId','FBasePermission','Failed\x20to\x20add\x20records','_commandService','DuplicateBaseRecordCommand','SetBaseViewGroupCommand','SetBasePermissionCommand','flatMap','DeleteBaseRecordCommand','beforeCommandExecuted','_resourceLoaderService','commonExtend','view','mimeType','views','setValue','updatedAt','caseSensitive','BaseFieldType','fieldOrder','getConfig','Date','setEditable','beforeFieldId','ApplyBaseJson1Mutation','BaseTableViewCreated','primaryFieldName','_resolveRecordIds','BaseHierarchyChanged','164mXPHnh','BaseConditionalColorTarget','BaseTableRecordCreated','FBaseTableRecord','Facade','getTableByName','BeforeBaseTableCreate','create','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','conditions','_getTable','FBase','tables','disposeWithMe','UpdateBaseRecordOrderCommand','UUID','Failed\x20to\x20add\x20field\x20\x22','Add','orderKey','FBaseTable','setDefaultValue','[FBaseRange]:\x20values\x20size\x20','Event','setHierarchyField','_unitId','operator','startColumn','buildBaseHierarchyIndex','_getView','getTable','move','getDescription','UpdateBaseFieldCommand','tableId','externalReferences','getPrimaryField','\x22\x20has\x20invalid\x20config.','__esModule','entries','Duplicate\x20Base\x20field\x20name:\x20','UniverProBasesFacade','Attachment','getValue','update','getRecords','now','config','CreateBaseFieldCommand','filter','_permissionService','syncExecuteCommand','base','getActiveBase','forEach','getRecordLinkFieldConfig','ChangeBaseFieldTypeCommand','resolveBaseRangeHierarchyPatches','childrenByParentId','fields','getField','ImageSourceType','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','getRow','getFormulaName','hidden','stringify','ValidateBaseFormulaCommand','Remote','Delete','SetBaseViewFieldVisibleCommand','setConditionalColorRules','Injector','source','warn','_getField','RecordLink','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','type','resolveBaseFieldValues','_initBaseAfterEvents','DESC','12KmofVJ','438nNYruw','SetBaseRangeValuesCommand','BaseFieldKeyEnum','BaseFilterOperator','setConfig','tableOrder',':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.','getView','BaseTableFieldCreated','getDataRange','isArray','exports','trim','fieldIds','createUnit','_parentObjectIds','FBaseTableView','Tools','ensureBaseTableCellLayout','BASE64','setFieldVisible','setFilter','[FBaseRange]:\x20table\x20does\x20not\x20exist.','FEventName','custom','resolveBaseFieldKey','MoveBaseViewCommand','FEnum','_univerInstanceService','isReadonly','endColumn','SetBaseViewSortCommand','slice','createBase','regenerateViewIds','description','SetBaseRecordValuesCommand','RenameBaseViewCommand','[FView]:\x20view\x20\x22','getBaseTablePermissionObjectId','toStringTag','addRecords','readonly','FBaseInitialable','copyBaseTableSnapshot','amd','Invalid\x20Base\x20regex\x20filter:\x20','getTableById','UnitAction','_range','[FField]:\x20field\x20\x22','@univerjs/core/facade','Inject','_table','searchBaseTable','deleteRecords','_objectId','653790JjGACL','BaseConditionalColorRuleUpdateType','UniverCore','getViews','offset','_getAttachmentField','FUniver','getActiveBaseHierarchyFieldIds','getUnitId','rows','getNumRows','_recordId','validateBaseHierarchyRecordPatches','duplicate','table','params','_inject','insertTable','setName','deleteAttachments','value','\x20exceeds\x20range\x20size\x20','url','getBaseCellValue','BaseEventSource','Invalid\x20attachment\x20at\x20index\x20','_getRecord','height','BeforeBaseHierarchyChange','BaseConditionalColorOperator','getBaseHierarchyDeletePromotions','Kanban','addRecord','getViewById','fieldKey','find','SetBaseViewFieldOrderCommand','decorate','values','includes','matchesBaseCondition','default','SetBaseTableHierarchyFieldCommand','BaseViewType','[FBase]:\x20invalid\x20table\x20name\x20\x22','\x22.\x20','prototype','UniverProBases','fieldId','defaultValue'];_0x493e=function(){return _0x84fe97;};return _0x493e();}
|
|
1
|
+
function _0x36bd(_0x160828,_0x518372){_0x160828=_0x160828-0xa4;const _0x5d296b=_0x5d29();let _0x36bdd6=_0x5d296b[_0x160828];return _0x36bdd6;}(function(_0x2c8468,_0x4ba1d7){const _0x3c4033=_0x36bd,_0x394f7f=_0x2c8468();while(!![]){try{const _0x38da51=-parseInt(_0x3c4033(0x192))/0x1*(-parseInt(_0x3c4033(0x194))/0x2)+-parseInt(_0x3c4033(0x130))/0x3+parseInt(_0x3c4033(0x102))/0x4*(-parseInt(_0x3c4033(0x1f9))/0x5)+-parseInt(_0x3c4033(0x121))/0x6*(-parseInt(_0x3c4033(0x1db))/0x7)+parseInt(_0x3c4033(0x248))/0x8+parseInt(_0x3c4033(0xc0))/0x9*(-parseInt(_0x3c4033(0xa7))/0xa)+parseInt(_0x3c4033(0xc1))/0xb*(parseInt(_0x3c4033(0x1eb))/0xc);if(_0x38da51===_0x4ba1d7)break;else _0x394f7f['push'](_0x394f7f['shift']());}catch(_0x56a4a8){_0x394f7f['push'](_0x394f7f['shift']());}}}(_0x5d29,0x2b04a),function(_0x231c10,_0xe7974a){const _0x46aeb2=_0x36bd;typeof exports==_0x46aeb2(0x100)&&typeof module<'u'?_0xe7974a(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/protocol'),require('@univerjs-pro/engine-formula')):typeof define==_0x46aeb2(0x117)&&define['amd']?define(['exports',_0x46aeb2(0x264),_0x46aeb2(0x16b),'@univerjs/core/facade',_0x46aeb2(0x1fd),'@univerjs-pro/engine-formula'],_0xe7974a):(_0x231c10=typeof globalThis<'u'?globalThis:_0x231c10||self,_0xe7974a(_0x231c10[_0x46aeb2(0xeb)]={},_0x231c10[_0x46aeb2(0x1f8)],_0x231c10[_0x46aeb2(0xde)],_0x231c10[_0x46aeb2(0x1ff)],_0x231c10[_0x46aeb2(0x11d)],_0x231c10[_0x46aeb2(0x167)]));}(this,function(_0x24290d,_0x5c88db,_0x460afa,_0x1813e5,_0x79a0ae,_0xd45dae){const _0x7fc612=_0x36bd;Object[_0x7fc612(0x24b)](_0x24290d,Symbol[_0x7fc612(0x1b6)],{'value':'Module'});var _0x240cde=Object[_0x7fc612(0x206)],_0x43d78c=Object[_0x7fc612(0x24b)],_0x38ed5f=Object[_0x7fc612(0x1f5)],_0x5a7093=Object[_0x7fc612(0x15e)],_0x34531b=Object[_0x7fc612(0x136)],_0x28a82d=Object[_0x7fc612(0x174)][_0x7fc612(0xf4)],_0x46f401=(_0x29b905,_0x3a7915,_0x210beb,_0x49f3c3)=>{const _0x6c26ef=_0x7fc612;if(_0x3a7915&&typeof _0x3a7915==_0x6c26ef(0x100)||typeof _0x3a7915==_0x6c26ef(0x117)){for(var _0x30b620=_0x5a7093(_0x3a7915),_0x563bf9=0x0,_0x17c9f1=_0x30b620[_0x6c26ef(0x208)],_0x40496;_0x563bf9<_0x17c9f1;_0x563bf9++)_0x40496=_0x30b620[_0x563bf9],!_0x28a82d['call'](_0x29b905,_0x40496)&&_0x40496!==_0x210beb&&_0x43d78c(_0x29b905,_0x40496,{'get':(_0x43708c=>_0x3a7915[_0x43708c])[_0x6c26ef(0x17f)](null,_0x40496),'enumerable':!(_0x49f3c3=_0x38ed5f(_0x3a7915,_0x40496))||_0x49f3c3[_0x6c26ef(0x113)]});}return _0x29b905;};_0x1813e5=((_0x19bd60,_0x58edc9,_0x4503ad)=>(_0x4503ad=_0x19bd60==null?{}:_0x240cde(_0x34531b(_0x19bd60)),_0x46f401(_0x58edc9||!_0x19bd60||!_0x19bd60[_0x7fc612(0x103)]||!_0x28a82d[_0x7fc612(0x1e7)](_0x19bd60,_0x7fc612(0x1a9))?_0x43d78c(_0x4503ad,_0x7fc612(0x1a9),{'value':_0x19bd60,'enumerable':!0x0}):_0x4503ad,_0x19bd60)))(_0x1813e5);var _0x4712ce=class{constructor(_0x5608ad,_0x635913,_0x5048d8){const _0x1767f2=_0x7fc612;this[_0x1767f2(0x127)]=_0x5608ad,this[_0x1767f2(0x1a5)]=_0x635913,this['_permissionService']=_0x5048d8;}async['setObjectPermissions'](_0x1eda47){const _0x372768=_0x7fc612;return this[_0x372768(0x1a5)][_0x372768(0xcb)](_0x5c88db[_0x372768(0x203)]['id'],{'unitId':this[_0x372768(0x127)],'changes':_0x1eda47});}async[_0x7fc612(0x24a)](_0x14dc94,_0x50b39f){const _0x1a354c=_0x7fc612;await this[_0x1a354c(0x1a5)][_0x1a354c(0xcb)](_0x5c88db[_0x1a354c(0x1f0)]['id'],{'unitId':this['_unitId'],'objectId':this[_0x1a354c(0x127)],'action':_0x14dc94,'value':_0x50b39f});}[_0x7fc612(0xa6)](_0x6b6a0f){const _0x4a7e2a=_0x7fc612;return(0x0,_0x5c88db[_0x4a7e2a(0x223)])(this['_permissionService'],this[_0x4a7e2a(0x127)],this[_0x4a7e2a(0x127)],_0x6b6a0f);}async[_0x7fc612(0x156)](_0x4eea78=!0x0){const _0x4fa3c0=_0x7fc612;await this['_commandService'][_0x4fa3c0(0xcb)](_0x5c88db[_0x4fa3c0(0x1f0)]['id'],{'unitId':this[_0x4fa3c0(0x127)],'objectId':this[_0x4fa3c0(0x127)],'action':_0x79a0ae['UnitAction']['Edit'],'value':_0x4eea78});}async['setReadOnly'](){const _0x45ba83=_0x7fc612;await this['_commandService'][_0x45ba83(0xcb)](_0x5c88db['SetBasePermissionCommand']['id'],{'unitId':this[_0x45ba83(0x127)],'objectId':this[_0x45ba83(0x127)],'action':_0x79a0ae['UnitAction'][_0x45ba83(0x125)],'value':!0x1});}[_0x7fc612(0x105)](){const _0x3adc4c=_0x7fc612;return(0x0,_0x5c88db[_0x3adc4c(0x223)])(this['_permissionService'],this[_0x3adc4c(0x127)],this[_0x3adc4c(0x127)],_0x79a0ae[_0x3adc4c(0x108)][_0x3adc4c(0x125)]);}},_0x5a8ed0=class{constructor(_0xd0c731,_0x548f7c,_0x3b4bdb,_0x3901d7,_0x5af9c9){const _0x3ac333=_0x7fc612;this[_0x3ac333(0x127)]=_0xd0c731,this['_objectId']=_0x548f7c,this[_0x3ac333(0x1ac)]=_0x3b4bdb,this[_0x3ac333(0x1a5)]=_0x3901d7,this[_0x3ac333(0x1e1)]=_0x5af9c9;}async[_0x7fc612(0x156)](_0x49aa81=!0x0){const _0x17ab44=_0x7fc612;await this[_0x17ab44(0x1a5)]['executeCommand'](_0x5c88db['SetBasePermissionCommand']['id'],{'unitId':this[_0x17ab44(0x127)],'objectId':this[_0x17ab44(0xb0)],'action':_0x79a0ae['UnitAction'][_0x17ab44(0x125)],'value':_0x49aa81});}async[_0x7fc612(0x1fb)](){const _0x422847=_0x7fc612;await this[_0x422847(0x1a5)]['executeCommand'](_0x5c88db['SetBasePermissionCommand']['id'],{'unitId':this[_0x422847(0x127)],'objectId':this[_0x422847(0xb0)],'action':_0x79a0ae[_0x422847(0x108)][_0x422847(0x125)],'value':!0x1});}[_0x7fc612(0x105)](){const _0x3c8af6=_0x7fc612;return(0x0,_0x5c88db[_0x3c8af6(0x128)])(this['_permissionService'],this[_0x3c8af6(0x127)],[...this['_parentObjectIds'],this[_0x3c8af6(0xb0)]]);}};function _0x28bfcd(_0x150bd5,_0x1ca4a7){return function(_0x17b386,_0x1d0d02){_0x1ca4a7(_0x17b386,_0x1d0d02,_0x150bd5);};}function _0x13a9ae(_0x4e3740,_0xa8a803,_0x17e405,_0x4146aa){const _0x46de04=_0x7fc612;var _0x3d730b=arguments[_0x46de04(0x208)],_0x1bb2b9=_0x3d730b<0x3?_0xa8a803:_0x4146aa===null?_0x4146aa=Object[_0x46de04(0x1f5)](_0xa8a803,_0x17e405):_0x4146aa,_0x529a95;if(typeof Reflect=='object'&&typeof Reflect[_0x46de04(0x20a)]==_0x46de04(0x117))_0x1bb2b9=Reflect[_0x46de04(0x20a)](_0x4e3740,_0xa8a803,_0x17e405,_0x4146aa);else{for(var _0x41d3c9=_0x4e3740[_0x46de04(0x208)]-0x1;_0x41d3c9>=0x0;_0x41d3c9--)(_0x529a95=_0x4e3740[_0x41d3c9])&&(_0x1bb2b9=(_0x3d730b<0x3?_0x529a95(_0x1bb2b9):_0x3d730b>0x3?_0x529a95(_0xa8a803,_0x17e405,_0x1bb2b9):_0x529a95(_0xa8a803,_0x17e405))||_0x1bb2b9);}return _0x3d730b>0x3&&_0x1bb2b9&&Object[_0x46de04(0x24b)](_0xa8a803,_0x17e405,_0x1bb2b9),_0x1bb2b9;}let _0x2003da=class{constructor(_0x20d718,_0x2d58ad,_0x5f2701,_0x182a87,_0x1b7888){const _0x44619f=_0x7fc612;this[_0x44619f(0xf8)]=_0x20d718,this[_0x44619f(0x1d1)]=_0x2d58ad,this[_0x44619f(0xdb)]=_0x5f2701,this[_0x44619f(0x1a5)]=_0x182a87,this[_0x44619f(0x1e1)]=_0x1b7888;}[_0x7fc612(0x120)](){const _0x5bd762=_0x7fc612;return this[_0x5bd762(0xdb)];}[_0x7fc612(0x177)](){const _0x20a74e=_0x7fc612;let _0x2627f5=this[_0x20a74e(0x1d1)][_0x20a74e(0x120)]();return new _0x5a8ed0(this[_0x20a74e(0xf8)]['getId'](),(0x0,_0x5c88db[_0x20a74e(0x14e)])(_0x2627f5,this[_0x20a74e(0xdb)]),[(0x0,_0x5c88db[_0x20a74e(0x16c)])(_0x2627f5)],this[_0x20a74e(0x1a5)],this[_0x20a74e(0x1e1)]);}[_0x7fc612(0x1c3)](){const _0x310732=_0x7fc612;return this[_0x310732(0x269)]();}[_0x7fc612(0x1ea)](){const _0x61d17f=_0x7fc612;return this[_0x61d17f(0x269)]()['name'];}[_0x7fc612(0xfb)](){const _0x16f363=_0x7fc612;return this[_0x16f363(0x269)]()[_0x16f363(0x193)];}[_0x7fc612(0x1e0)](){const _0x517ca2=_0x7fc612;return this['_getField']()[_0x517ca2(0x1c8)];}[_0x7fc612(0x1bc)](){const _0x476e33=_0x7fc612;return this['_getField']()[_0x476e33(0xe6)];}[_0x7fc612(0x131)](){const _0x11e4b6=_0x7fc612;return this[_0x11e4b6(0x269)]()[_0x11e4b6(0x19a)];}[_0x7fc612(0x16f)](){const _0x3b0674=_0x7fc612;return!!this['_getField']()[_0x3b0674(0x26e)];}[_0x7fc612(0x256)](_0xf8e58e){return this['update']({'name':_0xf8e58e});}[_0x7fc612(0x262)](_0x2f59b3,_0x802b73){const _0x57cd4b=_0x7fc612;return this[_0x57cd4b(0x25a)]({'config':_0x2f59b3},_0x802b73);}[_0x7fc612(0xd1)](_0x312439){const _0x319412=_0x7fc612;return this[_0x319412(0x25a)]({'defaultValue':_0x312439});}[_0x7fc612(0x25a)](_0x275194,_0x4e06c0){const _0x1967b5=_0x7fc612;let _0x2a3b6c=this[_0x1967b5(0x269)]()[_0x1967b5(0x193)];return(_0x275194[_0x1967b5(0x193)]??_0x2a3b6c)===_0x460afa['BaseFieldType'][_0x1967b5(0x1ef)]&&(Object[_0x1967b5(0x174)]['hasOwnProperty'][_0x1967b5(0x1e7)](_0x275194,_0x1967b5(0x1c8))||_0x275194[_0x1967b5(0x193)]===_0x460afa[_0x1967b5(0x15a)][_0x1967b5(0x1ef)])&&!this[_0x1967b5(0x1e8)](_0x4e06c0)?!0x1:this[_0x1967b5(0x1a5)]['syncExecuteCommand'](_0x5c88db['UpdateBaseFieldCommand']['id'],{'unitId':this[_0x1967b5(0xf8)][_0x1967b5(0x120)](),'tableId':this[_0x1967b5(0x1d1)]['getId'](),'fieldId':this[_0x1967b5(0xdb)],'patch':_0x275194});}[_0x7fc612(0x1c9)](_0x2981db,_0x55c20c={},_0x588ff8){const _0x389768=_0x7fc612;return _0x2981db===_0x460afa[_0x389768(0x15a)]['Formula']&&!this[_0x389768(0x1e8)](_0x588ff8)?!0x1:this[_0x389768(0x1a5)][_0x389768(0x116)](_0x5c88db['ChangeBaseFieldTypeCommand']['id'],{'unitId':this[_0x389768(0xf8)][_0x389768(0x120)](),'tableId':this[_0x389768(0x1d1)][_0x389768(0x120)](),'fieldId':this[_0x389768(0xdb)],'input':{'type':_0x2981db,'config':_0x55c20c}});}[_0x7fc612(0x221)](){const _0x26cf9e=_0x7fc612;return this[_0x26cf9e(0x1a5)][_0x26cf9e(0x116)](_0x5c88db[_0x26cf9e(0x152)]['id'],{'unitId':this['_base'][_0x26cf9e(0x120)](),'tableId':this[_0x26cf9e(0x1d1)][_0x26cf9e(0x120)](),'fieldId':this['_fieldId']});}[_0x7fc612(0x259)](_0x226bef){const _0x50acb2=_0x7fc612;return this[_0x50acb2(0x1a5)][_0x50acb2(0x116)](_0x5c88db['MoveBaseFieldCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x50acb2(0x1d1)][_0x50acb2(0x120)](),'fieldId':this[_0x50acb2(0xdb)],'target':_0x226bef});}[_0x7fc612(0x269)](){const _0x46849c=_0x7fc612;let _0x340ed6=this[_0x46849c(0x1d1)][_0x46849c(0x1f6)]()['fields'][this[_0x46849c(0xdb)]];if(!_0x340ed6)throw Error(_0x46849c(0x252)+this[_0x46849c(0xdb)]+_0x46849c(0x176));return _0x340ed6;}[_0x7fc612(0x1e8)](_0x3752a5){const _0x3cf057=_0x7fc612;if(!_0x3752a5||!Array[_0x3cf057(0x143)](_0x3752a5[_0x3cf057(0x21a)]))return console[_0x3cf057(0x1da)](_0x3cf057(0x1b9)),!0x1;if(_0x3752a5['externalReferences'][_0x3cf057(0x208)]===0x0)return!0x0;let _0x1c664a=this[_0x3cf057(0x1a5)]['syncExecuteCommand'](_0xd45dae[_0x3cf057(0x182)]['id'],{'unitId':this[_0x3cf057(0xf8)][_0x3cf057(0x120)](),'references':_0x3752a5[_0x3cf057(0x21a)]});return _0x1c664a||console[_0x3cf057(0x1da)]('[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.'),_0x1c664a;}};_0x2003da=_0x13a9ae([_0x28bfcd(0x3,_0x460afa[_0x7fc612(0x11e)]),_0x28bfcd(0x4,_0x460afa[_0x7fc612(0x1ec)])],_0x2003da);let _0x20ef2a=function(_0x3c0a28){const _0x2a8578=_0x7fc612;return _0x3c0a28['Id']='id',_0x3c0a28[_0x2a8578(0x19b)]=_0x2a8578(0x18a),_0x3c0a28['Auto']=_0x2a8578(0x26c),_0x3c0a28;}({});function _0x252e80(_0x2966d1){const _0x2eb0c8=_0x7fc612;return!!(_0x2966d1&&_0x2966d1[_0x2eb0c8(0x104)]!==!0x0&&_0x2966d1[_0x2eb0c8(0x193)]!==_0x460afa[_0x2eb0c8(0x15a)]['RecordId']);}function _0x442707(_0x2d5dea,_0x4c3116,_0x554860='id'){const _0x108aea=_0x7fc612;if(!_0x4c3116)return{};let _0x5beef3={};return Object[_0x108aea(0x1be)](_0x4c3116)[_0x108aea(0x1ca)](([_0x31f8ad,_0x5ee32d])=>{const _0x7a7464=_0x108aea;let _0x430af4=_0x1163c7(_0x2d5dea,_0x31f8ad,_0x554860);_0x5beef3[_0x430af4]=_0xc6743b(_0x2d5dea[_0x7a7464(0x10d)][_0x430af4],_0x5ee32d);}),_0x5beef3;}function _0xc6743b(_0x29100b,_0x2a92c7){const _0x2b4e2a=_0x7fc612;if((_0x29100b==null?void 0x0:_0x29100b[_0x2b4e2a(0x193)])!==_0x460afa[_0x2b4e2a(0x15a)]['Attachment']||_0x2a92c7==null)return _0x2a92c7;if(!Array[_0x2b4e2a(0x143)](_0x2a92c7))throw TypeError(_0x2b4e2a(0x165)+_0x29100b[_0x2b4e2a(0x18a)]+_0x2b4e2a(0xc5));return _0x2a92c7[_0x2b4e2a(0xdd)]((_0x5dbdf1,_0x5a5bc2)=>_0x428122(_0x29100b,_0x5dbdf1,_0x5a5bc2));}function _0x1163c7(_0x2003e1,_0xfff639,_0x486013){const _0x15d84a=_0x7fc612;if(_0x486013==='id'||_0x486013===_0x15d84a(0x26c)&&_0x2003e1['fields'][_0xfff639])return _0xfff639;let _0x3e2812=Object[_0x15d84a(0xda)](_0x2003e1['fields'])[_0x15d84a(0x157)](_0x510a30=>_0x510a30[_0x15d84a(0x18a)]===_0xfff639);if(_0x3e2812['length']===0x1)return _0x3e2812[0x0]['id'];throw _0x3e2812[_0x15d84a(0x208)]>0x1?Error(_0x15d84a(0x205)+_0xfff639):Error(_0x15d84a(0x16e)+_0xfff639);}function _0x428122(_0x5562ff,_0x239ac7,_0xe86263){const _0x3b9a0d=_0x7fc612;let _0x2a667b=_0x3b9a0d(0xcd)+_0xe86263+_0x3b9a0d(0x10f)+_0x5562ff['name']+'\x22';if(!_0x11ee72(_0x239ac7))throw TypeError(_0x2a667b+_0x3b9a0d(0x1c4));if(_0x3b9a0d(0x11c)in _0x239ac7)throw TypeError(_0x2a667b+':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.');if(_0x3b9a0d(0x193)in _0x239ac7)throw TypeError(_0x2a667b+_0x3b9a0d(0x196));let _0x42d8f8=_0x5707c8(_0x239ac7['id'],_0x2a667b,'id'),_0x23ef10=_0x5707c8(_0x239ac7[_0x3b9a0d(0x18a)],_0x2a667b,'name'),_0x2875a6=_0x5707c8(_0x239ac7[_0x3b9a0d(0xa5)],_0x2a667b,_0x3b9a0d(0xa5));return{'id':_0x42d8f8,'name':_0x23ef10,'source':_0x2875a6,'sourceType':_0x352df8(_0x239ac7[_0x3b9a0d(0xc6)],_0x2875a6,_0x2a667b),..._0xc80d1(_0x239ac7,_0x3b9a0d(0x13e),_0x2a667b),..._0x2d5093(_0x239ac7,_0x3b9a0d(0x258),_0x2a667b),..._0x2d5093(_0x239ac7,_0x3b9a0d(0x106),_0x2a667b),..._0x2d5093(_0x239ac7,_0x3b9a0d(0x12a),_0x2a667b),..._0xc80d1(_0x239ac7,_0x3b9a0d(0x185),_0x2a667b)};}function _0x352df8(_0x4d9829,_0x194df3,_0x3c114b){const _0x9b06a9=_0x7fc612;if(_0x4d9829==null)return _0x194df3[_0x9b06a9(0x1e2)](_0x9b06a9(0x202))?_0x460afa[_0x9b06a9(0x166)]['BASE64']:_0x460afa[_0x9b06a9(0x166)][_0x9b06a9(0x1a6)];if(_0x4d9829===_0x460afa[_0x9b06a9(0x166)]['URL']||_0x4d9829===_0x460afa[_0x9b06a9(0x166)][_0x9b06a9(0xce)]||_0x4d9829===_0x460afa[_0x9b06a9(0x166)]['BASE64'])return _0x4d9829;throw TypeError(_0x3c114b+_0x9b06a9(0x126));}function _0x5707c8(_0xecc862,_0x19a858,_0x40b693){const _0x7545de=_0x7fc612;if(typeof _0xecc862!='string'||!_0xecc862[_0x7545de(0xb4)]())throw TypeError(_0x19a858+_0x7545de(0x17d)+_0x40b693+_0x7545de(0x1f2));return _0xecc862;}function _0xc80d1(_0x8412fb,_0x221bb0,_0x3d4e33){const _0x540f39=_0x7fc612;let _0x37eb69=_0x8412fb[_0x221bb0];if(_0x37eb69==null)return{};if(typeof _0x37eb69!=_0x540f39(0x257)||!_0x37eb69[_0x540f39(0xb4)]())throw TypeError(_0x3d4e33+_0x540f39(0x17d)+_0x221bb0+'\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.');return{[_0x221bb0]:_0x37eb69};}function _0x2d5093(_0x2e2a30,_0x186459,_0x1b19c7){const _0x3c9600=_0x7fc612;let _0xb845e1=_0x2e2a30[_0x186459];if(_0xb845e1==null)return{};if(typeof _0xb845e1!=_0x3c9600(0x173)||!Number[_0x3c9600(0xd2)](_0xb845e1)||_0xb845e1<0x0)throw TypeError(_0x1b19c7+_0x3c9600(0x17d)+_0x186459+'\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.');return{[_0x186459]:_0xb845e1};}function _0x11ee72(_0x393c07){return typeof _0x393c07=='object'&&!!_0x393c07&&!Array['isArray'](_0x393c07);}var _0x29e6a3;let _0x7421c3=_0x29e6a3=class{constructor(_0x2b14b7,_0x5e112c,_0x55332c,_0x123fd6,_0x142452){const _0x1599a0=_0x7fc612;this['_base']=_0x2b14b7,this[_0x1599a0(0x1d1)]=_0x5e112c,this[_0x1599a0(0x1b5)]=_0x55332c,this[_0x1599a0(0x1a4)]=_0x123fd6,this[_0x1599a0(0x1a5)]=_0x142452,this['_assertInBounds']();}[_0x7fc612(0xd3)](){const _0x3b2c82=_0x7fc612;return this['_base'][_0x3b2c82(0x120)]();}[_0x7fc612(0x22e)](){const _0x125e0a=_0x7fc612;return this[_0x125e0a(0x1d1)][_0x125e0a(0x120)]();}[_0x7fc612(0x1cc)](){const _0x2d6243=_0x7fc612;return{...this[_0x2d6243(0x1b5)]};}[_0x7fc612(0x22d)](){const _0x5d7736=_0x7fc612;return this[_0x5d7736(0x1b5)][_0x5d7736(0x163)];}[_0x7fc612(0x18c)](){const _0x172c80=_0x7fc612;return this[_0x172c80(0x1b5)][_0x172c80(0x13c)];}[_0x7fc612(0x23c)](){const _0xc4562=_0x7fc612;return this['_range']['endRow']-this[_0xc4562(0x1b5)]['startRow']+0x1;}[_0x7fc612(0x149)](){const _0x49da50=_0x7fc612;return this[_0x49da50(0x1b5)][_0x49da50(0x129)]-this['_range'][_0x49da50(0x13c)]+0x1;}[_0x7fc612(0x21e)](){const _0xfefac0=_0x7fc612;let _0x495c93=this[_0xfefac0(0x26d)](),_0xad1aac=this[_0xfefac0(0xc4)](_0x495c93),_0x5930d0=[];for(let _0x976285=this[_0xfefac0(0x1b5)][_0xfefac0(0x163)];_0x976285<=this[_0xfefac0(0x1b5)][_0xfefac0(0xc9)];_0x976285++){var _0x2f0157;let _0x140b66=(_0x2f0157=_0x495c93[_0xfefac0(0x122)])==null?void 0x0:_0x2f0157[_0x976285],_0xd3b3ab=[];for(let _0xd0f638=this[_0xfefac0(0x1b5)][_0xfefac0(0x13c)];_0xd0f638<=this[_0xfefac0(0x1b5)][_0xfefac0(0x129)];_0xd0f638++){let _0x146d49=_0xad1aac[_0xd0f638];_0xd3b3ab[_0xfefac0(0x1ae)](_0x140b66&&_0x146d49?(0x0,_0x5c88db[_0xfefac0(0xaf)])(_0x495c93,_0x140b66,_0x146d49):null);}_0x5930d0['push'](_0xd3b3ab);}return _0x5930d0;}[_0x7fc612(0x23d)](){const _0x16f115=_0x7fc612;var _0x43b60b;return((_0x43b60b=this[_0x16f115(0x21e)]()[0x0])==null?void 0x0:_0x43b60b[0x0])??null;}[_0x7fc612(0xe4)](_0x32ccc2){const _0x2f0473=_0x7fc612;return this[_0x2f0473(0x183)]([[_0x32ccc2]]);}[_0x7fc612(0x183)](_0x2040f8){const _0x1414d5=_0x7fc612;let _0x107280=this['getNumRows'](),_0x1d2c18=this['getNumColumns']();if(_0x2040f8['length']>_0x107280||_0x2040f8[_0x1414d5(0x24e)](_0xe84f40=>_0xe84f40['length']>_0x1d2c18)){var _0x328665;throw Error('[FBaseRange]:\x20values\x20size\x20'+_0x2040f8[_0x1414d5(0x208)]+'x'+(((_0x328665=_0x2040f8[0x0])==null?void 0x0:_0x328665[_0x1414d5(0x208)])??0x0)+_0x1414d5(0x142)+_0x107280+'x'+_0x1d2c18+'.');}let _0x3d23d6=this[_0x1414d5(0x26d)](),_0x9b2e45=this[_0x1414d5(0xc4)](_0x3d23d6),_0x5e4376=_0x2040f8[_0x1414d5(0x1b0)]((_0x5e74d3,_0x319ac9)=>_0x5e74d3[_0x1414d5(0xdd)]((_0x385426,_0x4c4336)=>{const _0x4ba10c=_0x1414d5;var _0x295936;let _0x1d3feb=this[_0x4ba10c(0x1b5)][_0x4ba10c(0x163)]+_0x319ac9,_0x44f846=_0x9b2e45[this[_0x4ba10c(0x1b5)][_0x4ba10c(0x13c)]+_0x4c4336],_0x423a19=(_0x295936=_0x3d23d6[_0x4ba10c(0x122)])==null?void 0x0:_0x295936[_0x1d3feb];if(!_0x44f846||!_0x423a19)throw Error(_0x4ba10c(0x188));return{'recordId':_0x423a19,'fieldId':_0x44f846,'value':_0x385426};}));return this['_commandService'][_0x1414d5(0x116)](_0x5c88db[_0x1414d5(0xcf)]['id'],{'unitId':this[_0x1414d5(0xf8)]['getId'](),'tableId':this[_0x1414d5(0x1d1)][_0x1414d5(0x120)](),'patches':_0x5e4376,'source':_0x5c88db[_0x1414d5(0x21c)][_0x1414d5(0x137)]});}[_0x7fc612(0x1fe)](){const _0x45f4fb=_0x7fc612;return this[_0x45f4fb(0x183)](Array[_0x45f4fb(0x144)]({'length':this[_0x45f4fb(0x23c)]()},()=>Array[_0x45f4fb(0x144)]({'length':this[_0x45f4fb(0x149)]()},()=>null)));}[_0x7fc612(0xe1)](_0xbadc55,_0x558647,_0x25f62a=this[_0x7fc612(0x23c)](),_0x393ed0=this[_0x7fc612(0x149)]()){const _0x583543=_0x7fc612;return this['_inject'][_0x583543(0x254)](_0x29e6a3,this[_0x583543(0xf8)],this[_0x583543(0x1d1)],{'startRow':this[_0x583543(0x1b5)][_0x583543(0x163)]+_0xbadc55,'startColumn':this[_0x583543(0x1b5)][_0x583543(0x13c)]+_0x558647,'endRow':this[_0x583543(0x1b5)]['startRow']+_0xbadc55+_0x25f62a-0x1,'endColumn':this[_0x583543(0x1b5)][_0x583543(0x13c)]+_0x558647+_0x393ed0-0x1},this[_0x583543(0x1a4)]);}['_getTable'](){const _0x26d41e=_0x7fc612;let _0x28739f=this['_table'][_0x26d41e(0x1f6)]();if(!_0x28739f)throw Error(_0x26d41e(0x1ce));return(0x0,_0x5c88db[_0x26d41e(0x1e5)])(_0x28739f);}[_0x7fc612(0x1ab)](){const _0x4f011a=_0x7fc612;var _0x3d4c9c;let _0x443212=this[_0x4f011a(0x26d)](),_0x3d9005=((_0x3d4c9c=_0x443212[_0x4f011a(0x1b8)])==null?void 0x0:_0x3d4c9c[_0x4f011a(0x208)])??0x0,_0x3b95a1=this[_0x4f011a(0xc4)](_0x443212)[_0x4f011a(0x208)];if(this[_0x4f011a(0x1b5)][_0x4f011a(0x163)]<0x0||this[_0x4f011a(0x1b5)][_0x4f011a(0x13c)]<0x0||this[_0x4f011a(0x1b5)][_0x4f011a(0xc9)]<this[_0x4f011a(0x1b5)][_0x4f011a(0x163)]||this[_0x4f011a(0x1b5)][_0x4f011a(0x129)]<this[_0x4f011a(0x1b5)]['startColumn']||this['_range'][_0x4f011a(0xc9)]>=Math[_0x4f011a(0x17c)](_0x3d9005,0x1)||this[_0x4f011a(0x1b5)][_0x4f011a(0x129)]>=Math[_0x4f011a(0x17c)](_0x3b95a1,0x1))throw Error(_0x4f011a(0x1dd)+_0x3d9005+',\x20max\x20columns:\x20'+_0x3b95a1+',\x20range:\x20'+JSON[_0x4f011a(0xf9)](this[_0x4f011a(0x1b5)])+'.');}[_0x7fc612(0xc4)](_0x341603){const _0x20b5b7=_0x7fc612;return _0x341603[_0x20b5b7(0x266)]['filter'](_0x2c60b2=>_0x252e80(_0x341603[_0x20b5b7(0x10d)][_0x2c60b2]));}};_0x7421c3=_0x29e6a3=_0x13a9ae([_0x28bfcd(0x4,_0x460afa[_0x7fc612(0x11e)])],_0x7421c3);function _0x355bd6(_0x40d272){'@babel/helpers - typeof';const _0x217e0e=_0x7fc612;return _0x355bd6=typeof Symbol==_0x217e0e(0x117)&&typeof Symbol[_0x217e0e(0x1c1)]==_0x217e0e(0xd8)?function(_0x46eefa){return typeof _0x46eefa;}:function(_0x5a6936){const _0x3a8328=_0x217e0e;return _0x5a6936&&typeof Symbol=='function'&&_0x5a6936[_0x3a8328(0xfd)]===Symbol&&_0x5a6936!==Symbol['prototype']?_0x3a8328(0xd8):typeof _0x5a6936;},_0x355bd6(_0x40d272);}function _0x519528(_0x3e2930,_0x428fe2){const _0x58ae1a=_0x7fc612;if(_0x355bd6(_0x3e2930)!='object'||!_0x3e2930)return _0x3e2930;var _0x4af851=_0x3e2930[Symbol[_0x58ae1a(0xef)]];if(_0x4af851!==void 0x0){var _0x37637a=_0x4af851[_0x58ae1a(0x1e7)](_0x3e2930,_0x428fe2||_0x58ae1a(0x1a9));if(_0x355bd6(_0x37637a)!='object')return _0x37637a;throw TypeError(_0x58ae1a(0x18f));}return(_0x428fe2==='string'?String:Number)(_0x3e2930);}function _0x470fcf(_0x1dc220){const _0x11cbe4=_0x7fc612;var _0x50ad3f=_0x519528(_0x1dc220,_0x11cbe4(0x257));return _0x355bd6(_0x50ad3f)==_0x11cbe4(0xd8)?_0x50ad3f:_0x50ad3f+'';}function _0x4bfb41(_0x30c01e,_0x3cac1b,_0x203a85){const _0x27ecd6=_0x7fc612;return(_0x3cac1b=_0x470fcf(_0x3cac1b))in _0x30c01e?Object[_0x27ecd6(0x24b)](_0x30c01e,_0x3cac1b,{'value':_0x203a85,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x30c01e[_0x3cac1b]=_0x203a85,_0x30c01e;}var _0x58929a;let _0x54b90e=_0x58929a=class extends _0x1813e5[_0x7fc612(0xa9)]{constructor(_0x1960d3,_0x4bb3ca,_0xe43480,_0xc28f69,_0x121866,_0x255924){const _0x3aa6dc=_0x7fc612;super(_0xc28f69),this[_0x3aa6dc(0xf8)]=_0x1960d3,this[_0x3aa6dc(0x1d1)]=_0x4bb3ca,this[_0x3aa6dc(0x1d9)]=_0xe43480,this[_0x3aa6dc(0x1aa)]=_0xc28f69,this[_0x3aa6dc(0x1a5)]=_0x121866,this['_permissionService']=_0x255924,_0x4bfb41(this,_0x3aa6dc(0x17a),void 0x0),_0x4bfb41(this,_0x3aa6dc(0x195),void 0x0),this[_0x3aa6dc(0x17a)]=_0x1960d3[_0x3aa6dc(0x120)](),this[_0x3aa6dc(0x195)]=_0x4bb3ca['getId']();}['getBaseFacade'](){return this['_base'];}[_0x7fc612(0x10b)](){const _0x1d32c7=_0x7fc612;return this[_0x1d32c7(0x1d1)];}[_0x7fc612(0x120)](){const _0x5eb4fd=_0x7fc612;return this[_0x5eb4fd(0x1d9)];}[_0x7fc612(0x177)](){const _0x567249=_0x7fc612;let _0x3b1e5a=this['_table']['getId']();return new _0x5a8ed0(this[_0x567249(0xf8)][_0x567249(0x120)](),(0x0,_0x5c88db[_0x567249(0x236)])(_0x3b1e5a,this[_0x567249(0x1d9)]),[(0x0,_0x5c88db[_0x567249(0x16c)])(_0x3b1e5a)],this[_0x567249(0x1a5)],this['_permissionService']);}[_0x7fc612(0x184)](){const _0x330fbd=_0x7fc612;return{...this[_0x330fbd(0x215)](),'values':this[_0x330fbd(0x21e)]()};}[_0x7fc612(0x23d)](_0x1285f1){const _0x1c2173=_0x7fc612;return _0x252e80(this[_0x1c2173(0x1d1)][_0x1c2173(0x1f6)]()[_0x1c2173(0x10d)][_0x1285f1])?this[_0x1c2173(0x215)]()[_0x1c2173(0xda)][_0x1285f1]??null:null;}['getValues'](){const _0x2a147c=_0x7fc612;let _0x48f101=this[_0x2a147c(0x1d1)][_0x2a147c(0x1f6)]();return Object['fromEntries'](Object[_0x2a147c(0x1be)](this['_getRecord']()[_0x2a147c(0xda)])[_0x2a147c(0x157)](([_0x2a154b])=>_0x252e80(_0x48f101[_0x2a147c(0x10d)][_0x2a154b])));}[_0x7fc612(0xe4)](_0x2a5e6b,_0x87bb83){const _0x599cae=_0x7fc612;let _0x5eeecf=this[_0x599cae(0x1d1)][_0x599cae(0x1f6)]()[_0x599cae(0x10d)][_0x2a5e6b];return this[_0x599cae(0x1a5)]['syncExecuteCommand'](_0x5c88db['UpdateBaseCellCommand']['id'],{'unitId':this[_0x599cae(0xf8)][_0x599cae(0x120)](),'tableId':this[_0x599cae(0x1d1)][_0x599cae(0x120)](),'recordId':this[_0x599cae(0x1d9)],'fieldId':_0x2a5e6b,'value':_0xc6743b(_0x5eeecf,_0x87bb83),'source':_0x5c88db[_0x599cae(0x21c)][_0x599cae(0x137)]});}[_0x7fc612(0x18b)](_0x243759,_0x1f6d0d){const _0x5314a9=_0x7fc612;return this['setValue'](_0x243759,_0x1f6d0d[_0x5314a9(0xdd)](_0x1bc2a1=>({..._0x1bc2a1})));}[_0x7fc612(0x1b4)](_0x1a9014){const _0xc28d5e=_0x7fc612;this[_0xc28d5e(0x14f)](_0x1a9014);let _0x46e85c=this[_0xc28d5e(0x23d)](_0x1a9014);return Array[_0xc28d5e(0x143)](_0x46e85c)?_0x46e85c[_0xc28d5e(0xdd)]((_0x84d62b,_0x36b250)=>_0x348615(_0x84d62b,_0x1a9014,_0x36b250)):[];}['deleteAttachments'](_0x2812e2,_0x6e47ac){const _0x331a23=_0x7fc612;this[_0x331a23(0x14f)](_0x2812e2);let _0xbd676d=new Set(_0x6e47ac[_0x331a23(0xdd)](_0x4f99b1=>_0x4f99b1['id']));if(!_0xbd676d[_0x331a23(0x258)])return!0x0;let _0x56aaf9=this[_0x331a23(0x1b4)](_0x2812e2),_0x5dafe8=_0x56aaf9[_0x331a23(0x157)](_0x10c96b=>!_0xbd676d[_0x331a23(0x268)](_0x10c96b['id']));return _0x5dafe8['length']===_0x56aaf9[_0x331a23(0x208)]||this[_0x331a23(0x18b)](_0x2812e2,_0x5dafe8);}['setValues'](_0x43f11a,_0x2df142='id'){const _0x35bf38=_0x7fc612;let _0x331c2d=this[_0x35bf38(0x1d1)]['getTable'](),_0x21fb6d=[{'recordId':this[_0x35bf38(0x1d9)],'values':_0x442707(_0x331c2d,_0x43f11a,_0x2df142)}];return this[_0x35bf38(0x1a5)][_0x35bf38(0x116)](_0x5c88db[_0x35bf38(0x25c)]['id'],{'unitId':this[_0x35bf38(0xf8)][_0x35bf38(0x120)](),'tableId':this[_0x35bf38(0x1d1)]['getId'](),'patches':_0x21fb6d,'source':_0x5c88db['BaseEventSource'][_0x35bf38(0x137)]});}['delete'](){const _0x52abf8=_0x7fc612;return this[_0x52abf8(0x1a5)][_0x52abf8(0x116)](_0x5c88db['DeleteBaseRecordCommand']['id'],{'unitId':this[_0x52abf8(0xf8)]['getId'](),'tableId':this[_0x52abf8(0x1d1)][_0x52abf8(0x120)](),'recordId':this[_0x52abf8(0x1d9)],'source':_0x5c88db[_0x52abf8(0x21c)][_0x52abf8(0x137)]});}[_0x7fc612(0xfa)](_0x2fbd74){const _0x42492f=_0x7fc612;let _0x24f24a={...this[_0x42492f(0x215)](),..._0x2fbd74,'id':(0x0,_0x460afa['generateRandomId'])(0x6)};_0x24f24a[_0x42492f(0xda)]={..._0x24f24a[_0x42492f(0xda)],..._0x2fbd74==null?void 0x0:_0x2fbd74[_0x42492f(0xda)]},Reflect[_0x42492f(0x1fc)](_0x24f24a[_0x42492f(0xda)],_0x460afa[_0x42492f(0x17b)]);let _0xa23708=Date[_0x42492f(0x170)]();if(_0x24f24a[_0x42492f(0x225)]||=''+_0xa23708,_0x24f24a[_0x42492f(0x244)]||=_0xa23708,_0x24f24a[_0x42492f(0x263)]||=_0xa23708,!this[_0x42492f(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x42492f(0x21f)]['id'],{'unitId':this[_0x42492f(0xf8)][_0x42492f(0x120)](),'tableId':this[_0x42492f(0x1d1)][_0x42492f(0x120)](),'sourceRecordId':this[_0x42492f(0x1d9)],'record':_0x24f24a,'source':_0x5c88db[_0x42492f(0x21c)][_0x42492f(0x137)]}))throw Error('[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22'+this[_0x42492f(0x1d9)]+'\x22.');return this[_0x42492f(0x1aa)][_0x42492f(0x254)](_0x58929a,this[_0x42492f(0xf8)],this[_0x42492f(0x1d1)],_0x24f24a['id'],this[_0x42492f(0x1aa)]);}['setOrderKey'](_0x151bef){const _0x26f9aa=_0x7fc612;return this[_0x26f9aa(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x26f9aa(0xc2)]['id'],{'unitId':this[_0x26f9aa(0xf8)][_0x26f9aa(0x120)](),'tableId':this[_0x26f9aa(0x1d1)][_0x26f9aa(0x120)](),'recordId':this[_0x26f9aa(0x1d9)],'orderKey':_0x151bef});}[_0x7fc612(0x24d)](_0x1276bf){const _0x2da815=_0x7fc612;let _0x15a193=this[_0x2da815(0x234)](_0x1276bf),_0x5c4d68=this[_0x2da815(0x23d)](_0x15a193['id']);return(0x0,_0x5c88db['parseRecordLinkIds'])(_0x5c4d68);}[_0x7fc612(0x1a3)](_0x1c311b,_0x597095){const _0xd470a=_0x7fc612;let _0x1e0540=this[_0xd470a(0x234)](_0x1c311b),_0x3f3e3f=(0x0,_0x5c88db[_0xd470a(0x133)])(_0x597095),_0x419888=(0x0,_0x5c88db[_0xd470a(0x233)])(this[_0xd470a(0xf8)][_0xd470a(0x14d)]()[_0xd470a(0x153)](),_0x1e0540,_0x3f3e3f);if(!_0x419888[_0xd470a(0x15f)])throw Error(_0x419888[_0xd470a(0x26b)]??_0xd470a(0xad));return this[_0xd470a(0x1a5)][_0xd470a(0x116)](_0x5c88db[_0xd470a(0x21b)]['id'],{'unitId':this['_base'][_0xd470a(0x120)](),'tableId':this[_0xd470a(0x1d1)][_0xd470a(0x120)](),'recordId':this[_0xd470a(0x1d9)],'fieldId':_0x1c311b,'value':_0x3f3e3f,'source':_0x5c88db['BaseEventSource'][_0xd470a(0x137)]});}['addLinkedRecord'](_0x4abb9a,_0x28da4d){const _0xc6d78e=_0x7fc612;let _0x4fa22a=this[_0xc6d78e(0x234)](_0x4abb9a),_0x427489=(0x0,_0x5c88db['getRecordLinkFieldConfig'])(_0x4fa22a);if(!_0x427489)throw Error(_0xc6d78e(0x17e)+_0x4abb9a+'\x22\x20has\x20invalid\x20config.');let _0xdc0227=this['getLinkedRecordIds'](_0x4abb9a);return _0x427489[_0xc6d78e(0xa4)]&&_0xdc0227[_0xc6d78e(0x23b)](_0x28da4d)?!0x0:this[_0xc6d78e(0x1a3)](_0x4abb9a,_0x427489[_0xc6d78e(0xa4)]?[..._0xdc0227,_0x28da4d]:[_0x28da4d]);}[_0x7fc612(0x1f4)](_0xcea406,_0x281f3d){const _0x34ce62=_0x7fc612;let _0x158944=this[_0x34ce62(0x24d)](_0xcea406);return!_0x158944[_0x34ce62(0x23b)](_0x281f3d)||this[_0x34ce62(0x1a3)](_0xcea406,_0x158944[_0x34ce62(0x157)](_0x460eef=>_0x460eef!==_0x281f3d));}[_0x7fc612(0x249)](_0x1754aa){const _0x49ab42=_0x7fc612;let _0x1e1614=this[_0x49ab42(0xbe)](_0x1754aa)['parentByRecordId'][_0x49ab42(0xfe)](this[_0x49ab42(0x1d9)])??null;return _0x1e1614?this[_0x49ab42(0x1d1)][_0x49ab42(0x267)](_0x1e1614):null;}['getChildren'](_0x3b0334){const _0x133c01=_0x7fc612;return(this[_0x133c01(0xbe)](_0x3b0334)[_0x133c01(0x19c)][_0x133c01(0xfe)](this['_recordId'])??[])[_0x133c01(0x1b0)](_0x406ade=>{const _0x5d4338=_0x133c01;let _0x2b50be=this[_0x5d4338(0x1d1)][_0x5d4338(0x267)](_0x406ade);return _0x2b50be?[_0x2b50be]:[];});}[_0x7fc612(0x151)](_0x3a821d){const _0x13fc9c=_0x7fc612;let _0x2504b7=this[_0x13fc9c(0xbe)](_0x3a821d),_0x30175e=[],_0x3fd7d1=_0x2504b7[_0x13fc9c(0x1e3)][_0x13fc9c(0xfe)](this[_0x13fc9c(0x1d9)])??null;for(;_0x3fd7d1;){let _0x412ac7=this['_table'][_0x13fc9c(0x267)](_0x3fd7d1);_0x412ac7&&_0x30175e[_0x13fc9c(0x1ae)](_0x412ac7),_0x3fd7d1=_0x2504b7[_0x13fc9c(0x1e3)]['get'](_0x3fd7d1)??null;}return _0x30175e;}['getDescendants'](_0x3bbed0){const _0x3e6b9f=_0x7fc612;let _0x1a9f9f=this['_getHierarchyIndex'](_0x3bbed0),_0x4a3bef=_0x1a9f9f['orderedRecordIds'][_0x3e6b9f(0x164)](this['_recordId']),_0x19e6a2=_0x1a9f9f[_0x3e6b9f(0x226)][_0x3e6b9f(0x268)](this[_0x3e6b9f(0x1d9)])?this[_0x3e6b9f(0x23f)](_0x1a9f9f[_0x3e6b9f(0x19c)],this[_0x3e6b9f(0x1d9)]):[];return _0x4a3bef<0x0?[]:_0x19e6a2['flatMap'](_0x3df358=>{const _0x13e8d6=_0x3e6b9f;let _0x3a9a1c=this[_0x13e8d6(0x1d1)][_0x13e8d6(0x267)](_0x3df358);return _0x3a9a1c?[_0x3a9a1c]:[];});}['setParent'](_0x2e66dd,_0x4266c8,_0x6d703a){const _0x669f4b=_0x7fc612;return this['_commandService'][_0x669f4b(0x116)](_0x5c88db['MoveBaseHierarchyRecordCommand']['id'],{'unitId':this[_0x669f4b(0xf8)][_0x669f4b(0x120)](),'tableId':this[_0x669f4b(0x1d1)][_0x669f4b(0x120)](),'fieldId':_0x2e66dd,'recordId':this['_recordId'],'parentRecordId':_0x4266c8,'orderKey':_0x6d703a,'source':_0x5c88db[_0x669f4b(0x21c)][_0x669f4b(0x137)]});}[_0x7fc612(0xf3)](_0x144f35,_0x2a4cc7,_0x17b3ca='id',_0x46c434){const _0x48f7e2=_0x7fc612;let _0x4c1a80=this[_0x48f7e2(0x1d1)][_0x48f7e2(0x1f6)](),_0x3ce232=Date[_0x48f7e2(0x170)](),_0x159e39={..._0x46c434,'id':(0x0,_0x460afa[_0x48f7e2(0x115)])(0x6),'values':_0x442707(_0x4c1a80,_0x2a4cc7,_0x17b3ca),'orderKey':(_0x46c434==null?void 0x0:_0x46c434[_0x48f7e2(0x225)])||''+_0x3ce232,'createdAt':(_0x46c434==null?void 0x0:_0x46c434[_0x48f7e2(0x244)])||_0x3ce232,'updatedAt':(_0x46c434==null?void 0x0:_0x46c434[_0x48f7e2(0x263)])||_0x3ce232};if(!this[_0x48f7e2(0x1a5)][_0x48f7e2(0x116)](_0x5c88db[_0x48f7e2(0x112)]['id'],{'unitId':this[_0x48f7e2(0xf8)]['getId'](),'tableId':this['_table']['getId'](),'fieldId':_0x144f35,'parentRecordId':this['_recordId'],'record':_0x159e39,'source':_0x5c88db[_0x48f7e2(0x21c)]['Facade']}))throw Error('[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22'+this[_0x48f7e2(0x1d9)]+'\x22.');return this['_injector'][_0x48f7e2(0x254)](_0x58929a,this[_0x48f7e2(0xf8)],this[_0x48f7e2(0x1d1)],_0x159e39['id'],this['_injector']);}['_getHierarchyIndex'](_0x5dba52){const _0x582a55=_0x7fc612;return(0x0,_0x5c88db[_0x582a55(0x15d)])(this[_0x582a55(0x1d1)][_0x582a55(0x1f6)](),_0x5dba52);}[_0x7fc612(0x23f)](_0x2131b3,_0x2b4ad7){let _0x5b3ba7=[],_0x472514=_0x58d9ca=>{const _0xe678bd=_0x36bd;for(let _0x29c377 of _0x2131b3[_0xe678bd(0xfe)](_0x58d9ca)??[])_0x5b3ba7[_0xe678bd(0x1ae)](_0x29c377),_0x472514(_0x29c377);};return _0x472514(_0x2b4ad7),_0x5b3ba7;}['_getRecord'](){const _0x401412=_0x7fc612;let _0x476abe=this['_table']['getTable']()[_0x401412(0x211)][this['_recordId']];if(!_0x476abe)throw Error(_0x401412(0x111)+this[_0x401412(0x1d9)]+_0x401412(0x176));return _0x476abe;}['_getRecordLinkField'](_0x188b85){const _0x236690=_0x7fc612;let _0x5237c5=this['_table'][_0x236690(0x1f6)]()['fields'][_0x188b85];if(!_0x5237c5||_0x5237c5[_0x236690(0x193)]!==_0x460afa[_0x236690(0x15a)]['RecordLink'])throw Error(_0x236690(0xe0)+_0x188b85+_0x236690(0x224));return _0x5237c5;}[_0x7fc612(0x14f)](_0x28d107){const _0x4f711e=_0x7fc612;let _0x3bdcbf=this['_table'][_0x4f711e(0x1f6)]()[_0x4f711e(0x10d)][_0x28d107];if(!_0x3bdcbf||_0x3bdcbf[_0x4f711e(0x193)]!==_0x460afa['BaseFieldType']['Attachment'])throw Error(_0x4f711e(0xe0)+_0x28d107+_0x4f711e(0x11a));return _0x3bdcbf;}};_0x54b90e=_0x58929a=_0x13a9ae([_0x28bfcd(0x4,_0x460afa[_0x7fc612(0x11e)]),_0x28bfcd(0x5,_0x460afa[_0x7fc612(0x1ec)])],_0x54b90e);function _0x4f7114(_0x3c199f){const _0x2eb747=_0x7fc612;return!!(_0x3c199f&&typeof _0x3c199f==_0x2eb747(0x100)&&'id'in _0x3c199f&&typeof _0x3c199f['id']==_0x2eb747(0x257)&&'name'in _0x3c199f&&typeof _0x3c199f[_0x2eb747(0x18a)]==_0x2eb747(0x257));}function _0x348615(_0x5c8504,_0x16efbb,_0x13b3ee){const _0x397c48=_0x7fc612;if(!_0x4f7114(_0x5c8504))throw Error(_0x397c48(0x171)+_0x13b3ee+'\x20in\x20field\x20\x22'+_0x16efbb+_0x397c48(0xe8));return{..._0x5c8504};}let _0x282005=class{constructor(_0x2db3dd,_0x14bbef,_0x52e7ed,_0x38dffc,_0x4d5ccc,_0x563da2,_0x3aac7f){const _0x4706a5=_0x7fc612;this[_0x4706a5(0xf8)]=_0x2db3dd,this[_0x4706a5(0x1d1)]=_0x14bbef,this[_0x4706a5(0xe5)]=_0x52e7ed,this[_0x4706a5(0x1aa)]=_0x38dffc,this[_0x4706a5(0x1a5)]=_0x4d5ccc,this[_0x4706a5(0x1e1)]=_0x563da2,this[_0x4706a5(0x1c5)]=_0x3aac7f;}[_0x7fc612(0x120)](){const _0x5e941a=_0x7fc612;return this[_0x5e941a(0xe5)];}['getPermission'](){const _0x3ff2ec=_0x7fc612;let _0x1ab22c=this[_0x3ff2ec(0x1d1)]['getId']();return new _0x5a8ed0(this[_0x3ff2ec(0xf8)]['getId'](),(0x0,_0x5c88db[_0x3ff2ec(0xd0)])(_0x1ab22c,this[_0x3ff2ec(0xe5)]),[(0x0,_0x5c88db['getBaseTablePermissionObjectId'])(_0x1ab22c)],this[_0x3ff2ec(0x1a5)],this[_0x3ff2ec(0x1e1)]);}['getView'](){const _0x4db57b=_0x7fc612;return this[_0x4db57b(0xdc)]();}['getName'](){const _0x5eff38=_0x7fc612;return this[_0x5eff38(0xdc)]()[_0x5eff38(0x18a)];}[_0x7fc612(0xfb)](){const _0x51f7c6=_0x7fc612;return this[_0x51f7c6(0xdc)]()[_0x51f7c6(0x193)];}['setName'](_0x2d19c2){const _0x2f203d=_0x7fc612;return this[_0x2f203d(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x2f203d(0xac)]['id'],{'unitId':this['_base'][_0x2f203d(0x120)](),'tableId':this[_0x2f203d(0x1d1)][_0x2f203d(0x120)](),'viewId':this[_0x2f203d(0xe5)],'name':_0x2d19c2});}['getConfig'](){const _0x4ea6f7=_0x7fc612;let _0x53296b=this[_0x4ea6f7(0xfb)](),_0x127685=this[_0x4ea6f7(0xdc)]()[_0x4ea6f7(0x1c8)];switch(_0x53296b){case _0x460afa[_0x4ea6f7(0xb8)]['Grid']:return _0x127685;case _0x460afa[_0x4ea6f7(0xb8)][_0x4ea6f7(0xb6)]:return _0x127685;case _0x460afa[_0x4ea6f7(0xb8)][_0x4ea6f7(0x155)]:return _0x127685;case _0x460afa[_0x4ea6f7(0xb8)][_0x4ea6f7(0x1a1)]:return _0x127685;case _0x460afa[_0x4ea6f7(0xb8)][_0x4ea6f7(0xb9)]:return _0x127685;default:return _0x127685;}}[_0x7fc612(0x190)](_0x10943c){const _0x3507f8=_0x7fc612;return this[_0x3507f8(0x1a5)][_0x3507f8(0x116)](_0x5c88db[_0x3507f8(0x1e9)]['id'],{'unitId':this[_0x3507f8(0xf8)][_0x3507f8(0x120)](),'tableId':this[_0x3507f8(0x1d1)]['getId'](),'viewId':this[_0x3507f8(0xe5)],'patch':_0x10943c});}[_0x7fc612(0x160)](){const _0x41e2cf=_0x7fc612;var _0x5f9f9f;return _0x460afa['Tools'][_0x41e2cf(0x1a2)](((_0x5f9f9f=this[_0x41e2cf(0xdc)]()[_0x41e2cf(0x1c8)][_0x41e2cf(0x222)])==null?void 0x0:_0x5f9f9f[_0x41e2cf(0x139)])??[]);}[_0x7fc612(0x1d5)](_0x4a4514){const _0x3d7a04=_0x7fc612;return this[_0x3d7a04(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x3d7a04(0x213)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3d7a04(0x1d1)][_0x3d7a04(0x120)](),'viewId':this[_0x3d7a04(0xe5)],'type':_0x5c88db[_0x3d7a04(0xae)]['Set'],'rules':_0x4a4514});}[_0x7fc612(0x261)](_0x4a2078){const _0x45eb9a=_0x7fc612;return this[_0x45eb9a(0x1a5)][_0x45eb9a(0x116)](_0x5c88db[_0x45eb9a(0x213)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x45eb9a(0x1d1)][_0x45eb9a(0x120)](),'viewId':this[_0x45eb9a(0xe5)],'type':_0x5c88db[_0x45eb9a(0xae)]['Add'],'rule':_0x4a2078});}[_0x7fc612(0x18d)](_0x1b0945){const _0x8834f0=_0x7fc612;return this[_0x8834f0(0x1a5)][_0x8834f0(0x116)](_0x5c88db[_0x8834f0(0x213)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'viewId':this[_0x8834f0(0xe5)],'type':_0x5c88db[_0x8834f0(0xae)][_0x8834f0(0x204)],'ruleId':_0x1b0945});}[_0x7fc612(0x12d)](){const _0x297e9e=_0x7fc612;return this['_commandService'][_0x297e9e(0x116)](_0x5c88db[_0x297e9e(0x213)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table'][_0x297e9e(0x120)](),'viewId':this['_viewId'],'type':_0x5c88db['BaseConditionalColorRuleUpdateType'][_0x297e9e(0xd5)]});}['getFilter'](){const _0x15baf6=_0x7fc612;return this[_0x15baf6(0xdc)]()[_0x15baf6(0x157)]??null;}[_0x7fc612(0x1f3)](_0x3b8f72){const _0x408241=_0x7fc612;return this[_0x408241(0x1a5)][_0x408241(0x116)](_0x5c88db[_0x408241(0x22c)]['id'],{'unitId':this[_0x408241(0xf8)][_0x408241(0x120)](),'tableId':this[_0x408241(0x1d1)][_0x408241(0x120)](),'viewId':this['_viewId'],'filter':_0x3b8f72});}[_0x7fc612(0x138)](){const _0x1cdbb4=_0x7fc612;return this[_0x1cdbb4(0xdc)]()['sort']??[];}[_0x7fc612(0x1e4)](_0x10ec34){const _0x1ce9fa=_0x7fc612;return this[_0x1ce9fa(0x1a5)][_0x1ce9fa(0x116)](_0x5c88db[_0x1ce9fa(0x107)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table'][_0x1ce9fa(0x120)](),'viewId':this[_0x1ce9fa(0xe5)],'sort':_0x10ec34});}['getGroup'](){const _0x14690a=_0x7fc612;return this[_0x14690a(0xdc)]()['group']??[];}['setGroup'](_0x55e345){const _0x55a85e=_0x7fc612;return this['_commandService']['syncExecuteCommand'](_0x5c88db[_0x55a85e(0x14b)]['id'],{'unitId':this[_0x55a85e(0xf8)][_0x55a85e(0x120)](),'tableId':this[_0x55a85e(0x1d1)][_0x55a85e(0x120)](),'viewId':this['_viewId'],'group':_0x55e345});}['getFieldSettings'](_0x4350f1){const _0x509fbc=_0x7fc612;var _0x5ace68;return _0x252e80(this['_table']['getTable']()['fields'][_0x4350f1])?((_0x5ace68=this[_0x509fbc(0xdc)]()[_0x509fbc(0x216)])==null?void 0x0:_0x5ace68[_0x4350f1])??{}:{};}[_0x7fc612(0x242)](){const _0x8a43e7=_0x7fc612;let _0x5ece99=this[_0x8a43e7(0x1d1)][_0x8a43e7(0x1f6)](),_0x5e2dab=this[_0x8a43e7(0xdc)]();return(_0x5e2dab[_0x8a43e7(0x266)]??_0x5ece99[_0x8a43e7(0x266)])[_0x8a43e7(0x157)](_0x195c69=>{const _0x245aa9=_0x8a43e7;var _0x154e1b;let _0x10b161=_0x5ece99[_0x245aa9(0x10d)][_0x195c69];return _0x252e80(_0x10b161)&&!((_0x154e1b=_0x5e2dab[_0x245aa9(0x216)])!=null&&(_0x154e1b=_0x154e1b[_0x195c69])!=null&&_0x154e1b[_0x245aa9(0xbf)]);})[_0x8a43e7(0xdd)](_0x4784d5=>this[_0x8a43e7(0x1aa)][_0x8a43e7(0x254)](_0x2003da,this[_0x8a43e7(0xf8)],this[_0x8a43e7(0x1d1)],_0x4784d5));}['setFieldVisible'](_0x346f15,_0x44281b){const _0x3bff61=_0x7fc612;return _0x252e80(this[_0x3bff61(0x1d1)]['getTable']()[_0x3bff61(0x10d)][_0x346f15])?this[_0x3bff61(0x1a5)][_0x3bff61(0x116)](_0x5c88db[_0x3bff61(0xc7)]['id'],{'unitId':this[_0x3bff61(0xf8)][_0x3bff61(0x120)](),'tableId':this[_0x3bff61(0x1d1)]['getId'](),'viewId':this[_0x3bff61(0xe5)],'fieldId':_0x346f15,'visible':_0x44281b}):!0x1;}['setFieldWidth'](_0x57e00c,_0x12e57b){const _0x514211=_0x7fc612;return _0x252e80(this[_0x514211(0x1d1)][_0x514211(0x1f6)]()[_0x514211(0x10d)][_0x57e00c])?this['_commandService']['syncExecuteCommand'](_0x5c88db[_0x514211(0x1f7)]['id'],{'unitId':this[_0x514211(0xf8)][_0x514211(0x120)](),'tableId':this[_0x514211(0x1d1)][_0x514211(0x120)](),'viewId':this[_0x514211(0xe5)],'fieldId':_0x57e00c,'width':_0x12e57b}):!0x1;}[_0x7fc612(0x10a)](_0x486891,_0x46e97e){const _0x11ef05=_0x7fc612;let _0x45870f=this[_0x11ef05(0x1d1)][_0x11ef05(0x1f6)](),_0x457261=_0x46e97e[_0x11ef05(0x1a7)]??_0x46e97e[_0x11ef05(0x150)];return!_0x252e80(_0x45870f['fields'][_0x486891])||!_0x457261||!_0x252e80(_0x45870f[_0x11ef05(0x10d)][_0x457261])?!0x1:this[_0x11ef05(0x1a5)][_0x11ef05(0x116)](_0x5c88db[_0x11ef05(0x198)]['id'],{'unitId':this['_base'][_0x11ef05(0x120)](),'tableId':this[_0x11ef05(0x1d1)][_0x11ef05(0x120)](),'viewId':this[_0x11ef05(0xe5)],'fieldId':_0x486891,'target':_0x46e97e});}[_0x7fc612(0x259)](_0x18814a){const _0x155f1c=_0x7fc612;return this[_0x155f1c(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x155f1c(0x16a)]['id'],{'unitId':this['_base'][_0x155f1c(0x120)](),'tableId':this[_0x155f1c(0x1d1)][_0x155f1c(0x120)](),'viewId':this[_0x155f1c(0xe5)],'target':_0x18814a});}['delete'](){const _0x31c2ba=_0x7fc612;return this['_commandService']['syncExecuteCommand'](_0x5c88db[_0x31c2ba(0x11b)]['id'],{'unitId':this[_0x31c2ba(0xf8)]['getId'](),'tableId':this[_0x31c2ba(0x1d1)]['getId'](),'viewId':this[_0x31c2ba(0xe5)]});}[_0x7fc612(0xfc)](){const _0x2791f3=_0x7fc612;return this[_0x2791f3(0x1c5)][_0x2791f3(0xfc)](this['_base']['getBase']()['getSnapshot'](),this[_0x2791f3(0x1d1)][_0x2791f3(0x120)](),this[_0x2791f3(0xe5)]);}[_0x7fc612(0xdc)](){const _0x25c3fe=_0x7fc612;let _0x4903e9=this[_0x25c3fe(0x1d1)][_0x25c3fe(0x1f6)]()['views'][this['_viewId']];if(!_0x4903e9)throw Error('[FView]:\x20view\x20\x22'+this[_0x25c3fe(0xe5)]+'\x22\x20does\x20not\x20exist.');return _0x4903e9;}};_0x282005=_0x13a9ae([_0x28bfcd(0x4,_0x460afa[_0x7fc612(0x11e)]),_0x28bfcd(0x5,_0x460afa['IPermissionService']),_0x28bfcd(0x6,_0x5c88db[_0x7fc612(0x132)])],_0x282005);let _0x27bce8=class{constructor(_0xfa248d,_0x3ada76,_0x30702b,_0x5fa72f,_0x5e2792,_0x5d0911){const _0x2c14a1=_0x7fc612;this[_0x2c14a1(0xf8)]=_0xfa248d,this[_0x2c14a1(0x1c7)]=_0x3ada76,this['_injector']=_0x30702b,this[_0x2c14a1(0x1a5)]=_0x5fa72f,this[_0x2c14a1(0x1e1)]=_0x5e2792,this[_0x2c14a1(0x1c5)]=_0x5d0911;}['getBase'](){const _0x3a08e9=_0x7fc612;return this[_0x3a08e9(0xf8)][_0x3a08e9(0x14d)]();}[_0x7fc612(0x1f6)](){const _0xaf2d57=_0x7fc612;return this[_0xaf2d57(0x26d)]();}[_0x7fc612(0x120)](){const _0x43faad=_0x7fc612;return this[_0x43faad(0x1c7)];}['getPermission'](){const _0x33bb55=_0x7fc612;return new _0x5a8ed0(this[_0x33bb55(0x14d)]()['getUnitId'](),(0x0,_0x5c88db[_0x33bb55(0x16c)])(this[_0x33bb55(0x1c7)]),[],this[_0x33bb55(0x1a5)],this[_0x33bb55(0x1e1)]);}[_0x7fc612(0x207)](){const _0x5eb8d7=_0x7fc612;return(0x0,_0x5c88db['resolveBaseHierarchyFieldId'])(this[_0x5eb8d7(0x26d)]());}[_0x7fc612(0x101)](_0x3c6696){const _0x458633=_0x7fc612;return this[_0x458633(0x1a5)][_0x458633(0x116)](_0x5c88db[_0x458633(0x22a)]['id'],{'unitId':this['_base'][_0x458633(0x120)](),'tableId':this[_0x458633(0x1c7)],'fieldId':_0x3c6696});}['getName'](){const _0x497db1=_0x7fc612;return this[_0x497db1(0x26d)]()[_0x497db1(0x18a)];}['getFormulaName'](){const _0x353892=_0x7fc612;let _0x4c0df1=this[_0x353892(0xf8)][_0x353892(0x14d)]()[_0x353892(0x153)]();return(0x0,_0x5c88db[_0x353892(0x158)])(this['_getTable'](),_0x4c0df1);}[_0x7fc612(0x256)](_0x32a2e6){const _0x219b6f=_0x7fc612;let _0x4ff3e1=(0x0,_0x5c88db[_0x219b6f(0x1de)])(this['_base'][_0x219b6f(0x14d)]()['getSnapshot'](),_0x32a2e6,this['_tableId']);if(!_0x4ff3e1['valid'])throw Error('[FBaseTable]:\x20invalid\x20table\x20name\x20\x22'+_0x32a2e6+'\x22.\x20'+_0x5c88db[_0x219b6f(0x141)]+'\x20'+_0x4ff3e1[_0x219b6f(0x26b)]);return this[_0x219b6f(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x219b6f(0x11f)]['id'],{'unitId':this[_0x219b6f(0xf8)][_0x219b6f(0x120)](),'tableId':this[_0x219b6f(0x1c7)],'name':_0x32a2e6});}[_0x7fc612(0xf7)](_0x5d30dd,_0x47490e){const _0x5c349e=_0x7fc612;let _0x200577=this['_base']['getBase']()[_0x5c349e(0x153)](),_0x2f00d9=this[_0x5c349e(0x26d)]();if(_0x47490e){let _0x50bdd6=this[_0x5c349e(0x1c5)][_0x5c349e(0xfc)](_0x200577,this[_0x5c349e(0x1c7)],_0x47490e),_0xdc9b3=_0x2f00d9[_0x5c349e(0x1bf)][_0x47490e],_0x25c558=_0x5d30dd['fieldIds']??_0x254de0(_0x2f00d9,_0xdc9b3,_0x50bdd6),_0x2fd7f2=_0x5c349e(0xab)in _0x50bdd6&&Array[_0x5c349e(0x143)](_0x50bdd6[_0x5c349e(0xab)])?_0x50bdd6[_0x5c349e(0xab)]:[];return(0x0,_0x5c88db[_0x5c349e(0x24c)])({..._0x5d30dd,'table':_0x2f00d9,'fieldIds':_0x25c558,'rows':_0x2fd7f2});}let _0x5b0428=(_0x2f00d9['recordOrder']?_0x2f00d9[_0x5c349e(0x1b8)][_0x5c349e(0xdd)](_0x4ca9a6=>_0x2f00d9[_0x5c349e(0x211)][_0x4ca9a6]):Object[_0x5c349e(0xda)](_0x2f00d9[_0x5c349e(0x211)])[_0x5c349e(0x109)]((_0x325de0,_0x3ac348)=>_0x325de0[_0x5c349e(0x225)][_0x5c349e(0x20b)](_0x3ac348[_0x5c349e(0x225)])))['filter'](_0x1f3501=>_0x1f3501)[_0x5c349e(0xdd)](_0xc03ca9=>({'recordId':_0xc03ca9['id'],'values':_0xc03ca9[_0x5c349e(0xda)]})),_0xde26a0=_0x5d30dd['fieldIds']??_0x2f00d9[_0x5c349e(0x266)][_0x5c349e(0x157)](_0x3248aa=>_0x252e80(_0x2f00d9[_0x5c349e(0x10d)][_0x3248aa]));return(0x0,_0x5c88db[_0x5c349e(0x24c)])({..._0x5d30dd,'table':_0x2f00d9,'fieldIds':_0xde26a0,'rows':_0x5b0428});}[_0x7fc612(0xe2)](){const _0xfd9802=_0x7fc612;return this['_getTable']()[_0xfd9802(0xd4)];}[_0x7fc612(0x235)](){const _0x10f752=_0x7fc612;let _0x2f3e4d=this[_0x10f752(0x26d)]();return _0x2f3e4d[_0x10f752(0x266)]['map'](_0x46372c=>_0x2f3e4d[_0x10f752(0x10d)][_0x46372c])[_0x10f752(0x157)](_0x252e80)[_0x10f752(0xdd)](_0x58b929=>this[_0x10f752(0x1aa)][_0x10f752(0x254)](_0x2003da,this[_0x10f752(0xf8)],this,_0x58b929['id']));}['getFieldById'](_0x2d4380){const _0x54403f=_0x7fc612;let _0x13c0d9=this[_0x54403f(0x26d)]()['fields'][_0x2d4380];return _0x252e80(_0x13c0d9)?this[_0x54403f(0x1aa)][_0x54403f(0x254)](_0x2003da,this[_0x54403f(0xf8)],this,_0x13c0d9['id']):null;}[_0x7fc612(0x13d)](_0x11a8e7){const _0x2a699a=_0x7fc612;let _0x543cf4=this[_0x2a699a(0x26d)]()['fields'],_0x206fc0=Object[_0x2a699a(0xda)](_0x543cf4)[_0x2a699a(0x12f)](_0x23aad2=>_0x252e80(_0x23aad2)&&_0x23aad2[_0x2a699a(0x18a)]===_0x11a8e7);return _0x206fc0?this[_0x2a699a(0x1aa)][_0x2a699a(0x254)](_0x2003da,this[_0x2a699a(0xf8)],this,_0x206fc0['id']):null;}[_0x7fc612(0xed)](){const _0x273e=_0x7fc612;let _0x9ba0ae=this[_0x273e(0x26d)]()[_0x273e(0xd4)];return this[_0x273e(0x1aa)][_0x273e(0x254)](_0x2003da,this[_0x273e(0xf8)],this,_0x9ba0ae);}[_0x7fc612(0xf0)](_0x52740c,_0x22883d,_0x2245eb){const _0x3f2968=_0x7fc612;var _0x5e8f79,_0x271299;if(!Object[_0x3f2968(0xda)](_0x460afa[_0x3f2968(0x15a)])['some'](_0x47fa64=>_0x47fa64===_0x22883d))throw Error(_0x3f2968(0x255)+String(_0x22883d)+'\x22.');if(_0x22883d===_0x460afa[_0x3f2968(0x15a)][_0x3f2968(0x1ef)]&&this[_0x3f2968(0x124)](_0x52740c,_0x2245eb),_0x22883d===_0x460afa[_0x3f2968(0x15a)][_0x3f2968(0xee)]&&(typeof(_0x2245eb==null||(_0x5e8f79=_0x2245eb[_0x3f2968(0x119)])==null||(_0x5e8f79=_0x5e8f79[_0x3f2968(0x1c8)])==null?void 0x0:_0x5e8f79[_0x3f2968(0x175)])!='string'||typeof _0x2245eb[_0x3f2968(0x119)][_0x3f2968(0x1c8)][_0x3f2968(0xa4)]!=_0x3f2968(0x247)))throw Error(_0x3f2968(0x227));let _0x22675f={..._0x2245eb==null?void 0x0:_0x2245eb['field'],'id':(0x0,_0x460afa[_0x3f2968(0x115)])(0x6),'name':_0x52740c,'type':_0x22883d,'config':(_0x2245eb==null||(_0x271299=_0x2245eb[_0x3f2968(0x119)])==null?void 0x0:_0x271299[_0x3f2968(0x1c8)])??{}};if(!this[_0x3f2968(0x1a5)][_0x3f2968(0x116)](_0x5c88db[_0x3f2968(0x1bb)]['id'],{'unitId':this[_0x3f2968(0xf8)][_0x3f2968(0x120)](),'tableId':this[_0x3f2968(0x1c7)],'field':_0x22675f,'index':_0x2245eb==null?void 0x0:_0x2245eb[_0x3f2968(0x1af)]}))throw Error('Failed\x20to\x20add\x20field\x20\x22'+_0x52740c+'\x22');return this[_0x3f2968(0x1aa)]['createInstance'](_0x2003da,this['_base'],this,_0x22675f['id']);}[_0x7fc612(0x124)](_0x258bf6,_0x1dc025){const _0x479a68=_0x7fc612;var _0x42505b;if(!_0x1dc025||!(_0x479a68(0x21a)in _0x1dc025)||!Array[_0x479a68(0x143)](_0x1dc025[_0x479a68(0x21a)]))throw Error(_0x479a68(0x168));let _0x4a7f62=this[_0x479a68(0x1a5)][_0x479a68(0x116)](_0x5c88db['ValidateBaseFormulaCommand']['id'],{'unitId':this[_0x479a68(0xf8)]['getId'](),'tableId':this[_0x479a68(0x1c7)],'formula':String(((_0x42505b=_0x1dc025['field'])==null||(_0x42505b=_0x42505b['config'])==null?void 0x0:_0x42505b[_0x479a68(0x1cb)])??'')});if(!_0x4a7f62[_0x479a68(0x15f)])throw Error(_0x4a7f62['reason']??_0x479a68(0x241));if(_0x1dc025[_0x479a68(0x21a)][_0x479a68(0x208)]>0x0&&!this[_0x479a68(0x1a5)][_0x479a68(0x116)](_0xd45dae[_0x479a68(0x182)]['id'],{'unitId':this[_0x479a68(0xf8)][_0x479a68(0x120)](),'references':_0x1dc025['externalReferences']}))throw Error(_0x479a68(0x123)+_0x258bf6+'\x22');}[_0x7fc612(0x25d)](){const _0x2c8c52=_0x7fc612;return this[_0x2c8c52(0x1d7)]()['map'](_0x392d5f=>this[_0x2c8c52(0x1aa)][_0x2c8c52(0x254)](_0x54b90e,this[_0x2c8c52(0xf8)],this,_0x392d5f,this['_injector']));}[_0x7fc612(0x267)](_0x1b1b69){const _0x950b37=_0x7fc612;return this[_0x950b37(0x26d)]()[_0x950b37(0x211)][_0x1b1b69]?this[_0x950b37(0x1aa)][_0x950b37(0x254)](_0x54b90e,this[_0x950b37(0xf8)],this,_0x1b1b69,this['_injector']):null;}[_0x7fc612(0x237)](_0x2866aa={}){const _0x3c5be1=_0x7fc612;let _0xaaa9=this['_getTable'](),_0x4f4b24=this['_resolveRecordIds'](_0x2866aa),_0xd2554c=Math[_0x3c5be1(0x17c)](0x0,_0x2866aa[_0x3c5be1(0xe1)]??0x0),_0x5c09c2=_0x2866aa[_0x3c5be1(0xf6)]==null?null:Math[_0x3c5be1(0x17c)](0x0,_0x2866aa[_0x3c5be1(0xf6)]),_0x58a567=_0x4a8175(_0x4f4b24[_0x3c5be1(0xdd)](_0x374c55=>_0xaaa9[_0x3c5be1(0x211)][_0x374c55])['filter'](_0x4286cd=>_0x2c54f2(_0x4286cd,_0xaaa9,_0x2866aa['filter'])),_0xaaa9,_0x2866aa[_0x3c5be1(0x109)]);return{'records':_0x3fa2ad(_0x58a567,_0x2866aa)[_0x3c5be1(0xdd)](_0x4eacce=>this[_0x3c5be1(0x1aa)][_0x3c5be1(0x254)](_0x54b90e,this[_0x3c5be1(0xf8)],this,_0x4eacce['id'],this[_0x3c5be1(0x1aa)])),'total':_0x58a567[_0x3c5be1(0x208)],'offset':_0xd2554c,'limit':_0x5c09c2,'hasMore':_0x5c09c2!=null&&_0xd2554c+_0x5c09c2<_0x58a567['length']};}[_0x7fc612(0x220)](_0x2e07b3,_0x5e2a8f='id',_0x27cc79){const _0x16559c=_0x7fc612;let _0x170f3d=this[_0x16559c(0x26d)](),_0x1d01ce=Date['now'](),_0x2e756d={..._0x27cc79,'id':(0x0,_0x460afa[_0x16559c(0x115)])(0x6),'values':_0x442707(_0x170f3d,_0x2e07b3,_0x5e2a8f),'orderKey':(_0x27cc79==null?void 0x0:_0x27cc79[_0x16559c(0x225)])||''+_0x1d01ce,'createdAt':(_0x27cc79==null?void 0x0:_0x27cc79[_0x16559c(0x244)])||_0x1d01ce,'updatedAt':(_0x27cc79==null?void 0x0:_0x27cc79[_0x16559c(0x263)])||_0x1d01ce};if(!this[_0x16559c(0x1a5)][_0x16559c(0x116)](_0x5c88db['CreateBaseRecordCommand']['id'],{'unitId':this['_base'][_0x16559c(0x120)](),'tableId':this[_0x16559c(0x1c7)],'record':_0x2e756d,'source':_0x5c88db['BaseEventSource'][_0x16559c(0x137)]}))throw Error(_0x16559c(0xa8)+_0x2e756d['id']+'\x22');return this['_injector'][_0x16559c(0x254)](_0x54b90e,this['_base'],this,_0x2e756d['id'],this[_0x16559c(0x1aa)]);}[_0x7fc612(0xf1)](_0xef3bce){const _0x451cdd=_0x7fc612;if(!_0xef3bce[_0x451cdd(0x208)])return[];let _0x37ea54=this[_0x451cdd(0x26d)](),_0x3ebd9a=Date[_0x451cdd(0x170)](),_0x51f178=_0xef3bce['map']((_0x1aa8ee,_0x260dd9)=>{const _0x32d42c=_0x451cdd;var _0x4e53b5,_0x38fad9,_0x467bed;return{..._0x1aa8ee[_0x32d42c(0x1c2)],'id':(0x0,_0x460afa[_0x32d42c(0x115)])(0x6),'values':_0x442707(_0x37ea54,_0x1aa8ee['values'],_0x1aa8ee[_0x32d42c(0x217)]??'id'),'orderKey':((_0x4e53b5=_0x1aa8ee[_0x32d42c(0x1c2)])==null?void 0x0:_0x4e53b5[_0x32d42c(0x225)])||''+(_0x3ebd9a+_0x260dd9),'createdAt':((_0x38fad9=_0x1aa8ee['record'])==null?void 0x0:_0x38fad9[_0x32d42c(0x244)])||_0x3ebd9a,'updatedAt':((_0x467bed=_0x1aa8ee[_0x32d42c(0x1c2)])==null?void 0x0:_0x467bed['updatedAt'])||_0x3ebd9a};});if(!this[_0x451cdd(0x1a5)]['syncExecuteCommand'](_0x5c88db['BatchCreateBaseRecordsCommand']['id'],{'unitId':this[_0x451cdd(0xf8)][_0x451cdd(0x120)](),'tableId':this['_tableId'],'records':_0x51f178,'source':_0x5c88db['BaseEventSource'][_0x451cdd(0x137)]}))throw Error(_0x451cdd(0x14c));return _0x51f178[_0x451cdd(0xdd)](_0x56562a=>this[_0x451cdd(0x1aa)][_0x451cdd(0x254)](_0x54b90e,this[_0x451cdd(0xf8)],this,_0x56562a['id'],this[_0x451cdd(0x1aa)]));}[_0x7fc612(0xc3)](_0x409d57){const _0x19ce8c=_0x7fc612;return!_0x409d57[_0x19ce8c(0x208)]||this['_commandService'][_0x19ce8c(0x116)](_0x5c88db[_0x19ce8c(0x260)]['id'],{'unitId':this['_base'][_0x19ce8c(0x120)](),'tableId':this[_0x19ce8c(0x1c7)],'recordIds':_0x409d57,'source':_0x5c88db[_0x19ce8c(0x21c)]['Facade']});}[_0x7fc612(0x1cc)](_0x28a01c,_0x1f3c54,_0x5aaf3f=0x1,_0x2fb648=0x1){const _0x512ad5=_0x7fc612;return this[_0x512ad5(0x1aa)][_0x512ad5(0x254)](_0x7421c3,this[_0x512ad5(0xf8)],this,{'startRow':_0x28a01c,'endRow':_0x28a01c+_0x5aaf3f-0x1,'startColumn':_0x1f3c54,'endColumn':_0x1f3c54+_0x2fb648-0x1},this['_injector']);}[_0x7fc612(0xbc)](){const _0x5c64d9=_0x7fc612;var _0xd6480c;let _0x2af417=(0x0,_0x5c88db[_0x5c64d9(0x1e5)])(this['_getTable']()),_0x5abf16=((_0xd6480c=_0x2af417[_0x5c64d9(0x1b8)])==null?void 0x0:_0xd6480c[_0x5c64d9(0x208)])??0x0,_0x287391=_0x2af417['fieldOrder'][_0x5c64d9(0x157)](_0x2eb36b=>_0x252e80(_0x2af417['fields'][_0x2eb36b]))[_0x5c64d9(0x208)];return this['getRange'](0x0,0x0,Math[_0x5c64d9(0x17c)](_0x5abf16,0x1),Math[_0x5c64d9(0x17c)](_0x287391,0x1));}['getViews'](){const _0x36ab49=_0x7fc612;let _0x464ff6=this[_0x36ab49(0x26d)]();return _0x464ff6[_0x36ab49(0xe9)][_0x36ab49(0x157)](_0x125d08=>_0x464ff6[_0x36ab49(0x1bf)][_0x125d08])[_0x36ab49(0xdd)](_0x3556dc=>this[_0x36ab49(0x1aa)][_0x36ab49(0x254)](_0x282005,this[_0x36ab49(0xf8)],this,_0x3556dc,this['_injector']));}[_0x7fc612(0x229)](_0x269d6e){const _0x42c1df=_0x7fc612;return this[_0x42c1df(0x26d)]()[_0x42c1df(0x1bf)][_0x269d6e]?this[_0x42c1df(0x1aa)][_0x42c1df(0x254)](_0x282005,this['_base'],this,_0x269d6e,this['_injector']):null;}['getViewByName'](_0x38f103){const _0x26e9e4=_0x7fc612;let _0x172af3=this[_0x26e9e4(0x26d)](),_0x6a1ecc=Object[_0x26e9e4(0xda)](_0x172af3[_0x26e9e4(0x1bf)])[_0x26e9e4(0x12f)](_0x3ea208=>_0x3ea208[_0x26e9e4(0x18a)]===_0x38f103);return _0x6a1ecc?this['_injector']['createInstance'](_0x282005,this['_base'],this,_0x6a1ecc['id'],this[_0x26e9e4(0x1aa)]):null;}['createView'](_0xce12c9,_0x467b25,_0x4436f0){const _0x23de7d=_0x7fc612;var _0xc95059,_0x485d40,_0x27ea41,_0x4b481c;let _0x2675fd=this[_0x23de7d(0x26d)](),_0x5b96b3=(_0x4436f0==null||(_0xc95059=_0x4436f0['view'])==null?void 0x0:_0xc95059[_0x23de7d(0x266)])??_0x2675fd[_0x23de7d(0x266)],_0xeae125=[_0x460afa['BASE_RECORD_ID_FIELD_ID'],..._0x5b96b3[_0x23de7d(0x157)](_0x27bbf9=>_0x252e80(_0x2675fd[_0x23de7d(0x10d)][_0x27bbf9]))],_0x1f1dc7={..._0x4436f0==null?void 0x0:_0x4436f0['view'],'id':(0x0,_0x460afa['generateRandomId'])(0x6),'name':_0xce12c9,'type':_0x467b25,'tableId':this[_0x23de7d(0x1c7)],'config':(_0x4436f0==null||(_0x485d40=_0x4436f0['view'])==null?void 0x0:_0x485d40[_0x23de7d(0x1c8)])??{},'fieldOrder':_0xeae125,'fieldSettings':{..._0x4436f0==null||(_0x27ea41=_0x4436f0[_0x23de7d(0x1c0)])==null?void 0x0:_0x27ea41[_0x23de7d(0x216)],[_0x460afa[_0x23de7d(0x17b)]]:{..._0x4436f0==null||(_0x4b481c=_0x4436f0['view'])==null||(_0x4b481c=_0x4b481c[_0x23de7d(0x216)])==null?void 0x0:_0x4b481c[_0x460afa[_0x23de7d(0x17b)]],'hidden':!0x0}}};if(!this[_0x23de7d(0x1a5)][_0x23de7d(0x116)](_0x5c88db[_0x23de7d(0x25b)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_tableId'],'view':_0x1f1dc7,'index':_0x4436f0==null?void 0x0:_0x4436f0['index']}))throw Error(_0x23de7d(0x212)+_0xce12c9+'\x22');return this[_0x23de7d(0x1aa)][_0x23de7d(0x254)](_0x282005,this[_0x23de7d(0xf8)],this,_0x1f1dc7['id'],this['_injector']);}[_0x7fc612(0x200)](){const _0x331e95=_0x7fc612;let _0x282be1=this[_0x331e95(0x26d)](),_0xe485b8=_0x282be1[_0x331e95(0x266)][_0x331e95(0x157)](_0x2d0d4a=>_0x252e80(_0x282be1[_0x331e95(0x10d)][_0x2d0d4a])),_0x219ada=_0x282be1[_0x331e95(0xe9)]['filter'](_0x2aaf72=>_0x282be1[_0x331e95(0x1bf)][_0x2aaf72]);return{'id':_0x282be1['id'],'name':_0x282be1['name'],'formulaName':this[_0x331e95(0x178)](),'primaryFieldId':_0x282be1[_0x331e95(0xd4)],'fieldIds':_0xe485b8,'viewIds':_0x219ada,'recordCount':this[_0x331e95(0x1d7)]()[_0x331e95(0x208)],'fields':_0xe485b8[_0x331e95(0xdd)](_0x539e78=>{const _0x2e398e=_0x331e95;let _0x57155a=_0x282be1['fields'][_0x539e78];return{'id':_0x57155a['id'],'name':_0x57155a[_0x2e398e(0x18a)],'type':_0x57155a['type'],'config':_0x57155a['config'],'readonly':_0x57155a[_0x2e398e(0x26e)],'description':_0x57155a[_0x2e398e(0x19a)]};}),'views':_0x219ada[_0x331e95(0xdd)](_0x4693b5=>{const _0x39ec10=_0x331e95;let _0x4b3fc1=_0x282be1['views'][_0x4693b5];return{'id':_0x4b3fc1['id'],'name':_0x4b3fc1['name'],'type':_0x4b3fc1[_0x39ec10(0x193)]};})};}[_0x7fc612(0x26d)](){const _0x4cb372=_0x7fc612;let _0x431603=this[_0x4cb372(0xf8)]['getBase']()[_0x4cb372(0x153)]()[_0x4cb372(0x19f)][this[_0x4cb372(0x1c7)]];if(!_0x431603)throw Error(_0x4cb372(0x13b)+this[_0x4cb372(0x1c7)]+'\x22\x20does\x20not\x20exist.');return _0x431603;}[_0x7fc612(0x1d7)](_0xf80baa={}){const _0x282e92=_0x7fc612;let _0x3e0bff=this[_0x282e92(0xf8)][_0x282e92(0x14d)]()[_0x282e92(0x153)](),_0x553409=this[_0x282e92(0x26d)]();if(_0xf80baa['viewId']){let _0x433738=this[_0x282e92(0x1c5)][_0x282e92(0xfc)](_0x3e0bff,this['_tableId'],_0xf80baa[_0x282e92(0x232)]);if(_0x282e92(0xab)in _0x433738&&Array[_0x282e92(0x143)](_0x433738[_0x282e92(0xab)]))return _0x433738['rows'][_0x282e92(0xdd)](_0x5aeadb=>_0x5aeadb[_0x282e92(0x16d)]);}return(_0x553409[_0x282e92(0x1b8)]?_0x553409[_0x282e92(0x1b8)][_0x282e92(0xdd)](_0x4f2346=>_0x553409[_0x282e92(0x211)][_0x4f2346]):Object[_0x282e92(0xda)](_0x553409[_0x282e92(0x211)])[_0x282e92(0x109)]((_0x48e525,_0x5d7cc9)=>_0x48e525[_0x282e92(0x225)][_0x282e92(0x20b)](_0x5d7cc9[_0x282e92(0x225)])))['filter'](_0x1357ea=>_0x1357ea)['map'](_0x9cdc1c=>_0x9cdc1c['id']);}};_0x27bce8=_0x13a9ae([_0x28bfcd(0x3,_0x460afa[_0x7fc612(0x11e)]),_0x28bfcd(0x4,_0x460afa[_0x7fc612(0x1ec)]),_0x28bfcd(0x5,_0x5c88db[_0x7fc612(0x132)])],_0x27bce8);function _0x3fa2ad(_0xb6fd8a,_0x5297c2){const _0x1c28d9=_0x7fc612;let _0x352c94=Math[_0x1c28d9(0x17c)](0x0,_0x5297c2[_0x1c28d9(0xe1)]??0x0);return _0x5297c2['limit']==null?_0xb6fd8a['slice'](_0x352c94):_0xb6fd8a[_0x1c28d9(0x20f)](_0x352c94,_0x352c94+Math[_0x1c28d9(0x17c)](0x0,_0x5297c2['limit']));}function _0x4a8175(_0x3f3efe,_0x4aae12,_0x25930a=[]){return _0x25930a['length']?[..._0x3f3efe]['sort']((_0x1951c0,_0x44e3c1)=>{const _0x25c371=_0x36bd;for(let _0x5bbc3b of _0x25930a){var _0x4285d0;let _0x229f4e=_0x5bbc3b[_0x25c371(0x13a)]===_0x460afa[_0x25c371(0x162)]['DESC']?-0x1:0x1,_0x1afe81=_0x2d1982(_0x1951c0['values'][_0x5bbc3b[_0x25c371(0xf5)]],_0x44e3c1[_0x25c371(0xda)][_0x5bbc3b['fieldId']],(_0x4285d0=_0x4aae12[_0x25c371(0x10d)][_0x5bbc3b['fieldId']])==null?void 0x0:_0x4285d0[_0x25c371(0x193)]);if(_0x1afe81!==0x0)return _0x1afe81*_0x229f4e;}return String(_0x1951c0[_0x25c371(0x225)]??_0x1951c0['id'])[_0x25c371(0x20b)](String(_0x44e3c1['orderKey']??_0x44e3c1['id']));}):_0x3f3efe;}function _0x2d1982(_0x175f70,_0x1f0c9d,_0x1de63f){const _0x2ae43b=_0x7fc612;return _0x175f70==null&&_0x1f0c9d==null?0x0:_0x175f70==null?-0x1:_0x1f0c9d==null?0x1:typeof _0x175f70==_0x2ae43b(0x173)&&typeof _0x1f0c9d=='number'?_0x175f70-_0x1f0c9d:_0x1de63f===_0x460afa['BaseFieldType'][_0x2ae43b(0xea)]?Number(_0x175f70)-Number(_0x1f0c9d):String(_0x175f70)[_0x2ae43b(0x20b)](String(_0x1f0c9d));}function _0x2c54f2(_0x4736bf,_0x3c0036,_0x5264b5){const _0x3886c2=_0x7fc612;var _0x101afd;if(!_0x5264b5||!((_0x101afd=_0x5264b5[_0x3886c2(0xba)])!=null&&_0x101afd['length']))return!0x0;let {conjunction:_0x277ace=_0x460afa[_0x3886c2(0x218)]['OR'],conditions:_0x3495bf}=_0x5264b5;return _0x277ace===_0x460afa[_0x3886c2(0x218)][_0x3886c2(0xca)]&&_0x3495bf['length']>0x1?_0x3495bf[_0x3886c2(0x186)](_0x4a5e7a=>_0x4e20d6(_0x4736bf,_0x3c0036,_0x4a5e7a)):_0x3495bf['some'](_0x1f3c17=>_0x4e20d6(_0x4736bf,_0x3c0036,_0x1f3c17));}function _0x4e20d6(_0x4f67b8,_0x326218,_0x217bea){const _0x4ecac4=_0x7fc612;let _0x44299c=_0x4f67b8[_0x4ecac4(0xda)][_0x217bea[_0x4ecac4(0xf5)]],_0x3e08f1=_0x326218['fields'][_0x217bea[_0x4ecac4(0xf5)]];if(_0x1d2bf9(_0x217bea)){let _0x53f222=_0x499f90(_0x217bea)['test'](String(_0x44299c??''));return _0x217bea[_0x4ecac4(0x1fa)]===_0x4ecac4(0x20d)?_0x53f222:!_0x53f222;}return!_0x3e08f1||(0x0,_0x5c88db['matchesBaseCondition'])(_0x44299c,_0x217bea[_0x4ecac4(0x1fa)],_0x217bea['value'],_0x3e08f1);}function _0x1d2bf9(_0x443437){const _0x717e5=_0x7fc612;return _0x443437[_0x717e5(0x1fa)]===_0x717e5(0x20d)||_0x443437[_0x717e5(0x1fa)]===_0x717e5(0xe3);}function _0x499f90(_0x19e2df){const _0x49ae27=_0x7fc612;let _0x312cb6=String(_0x19e2df['value']??'');if(_0x312cb6['length']>0x200)throw Error(_0x49ae27(0x26a));try{return new RegExp(_0x312cb6,_0x19e2df[_0x49ae27(0xbb)]?void 0x0:'i');}catch(_0x39d047){throw Error(_0x49ae27(0x19d)+_0x312cb6+'.\x20'+(_0x39d047 instanceof Error?_0x39d047[_0x49ae27(0x12b)]:String(_0x39d047)));}}function _0x254de0(_0x526235,_0x59cb8f,_0x2fe90e){const _0x160d7b=_0x7fc612;if(_0x2fe90e['type']!==_0x160d7b(0x134)&&_0x2fe90e[_0x160d7b(0x193)]!==_0x160d7b(0x189)){var _0x2d0a0c;if(_0x2fe90e[_0x160d7b(0x193)]===_0x460afa['BaseViewType']['Kanban']){var _0x110f09;let _0x45ec60=[((_0x110f09=_0x2fe90e[_0x160d7b(0x10d)])==null||(_0x110f09=_0x110f09[0x0])==null?void 0x0:_0x110f09['id'])??_0x526235['primaryFieldId'],..._0x2fe90e[_0x160d7b(0x20e)]??[]];return Array[_0x160d7b(0x144)](new Set(_0x45ec60['filter'](_0x49152e=>!!_0x526235[_0x160d7b(0x10d)][_0x49152e])));}if((_0x2d0a0c=_0x2fe90e[_0x160d7b(0x10d)])!=null&&_0x2d0a0c['length'])return _0x2fe90e['fields']['map'](_0x288df8=>_0x288df8['id'])[_0x160d7b(0x157)](_0x4c23ca=>{const _0x1e33a5=_0x160d7b;var _0x1e0a70;return!(!_0x526235[_0x1e33a5(0x10d)][_0x4c23ca]||_0x59cb8f!=null&&(_0x1e0a70=_0x59cb8f[_0x1e33a5(0x216)])!=null&&(_0x1e0a70=_0x1e0a70[_0x4c23ca])!=null&&_0x1e0a70[_0x1e33a5(0xbf)]);});}return _0x526235[_0x160d7b(0x266)][_0x160d7b(0x157)](_0x19c23a=>{const _0x382b00=_0x160d7b;var _0x3ab586;return!(!_0x526235[_0x382b00(0x10d)][_0x19c23a]||_0x59cb8f!=null&&(_0x3ab586=_0x59cb8f[_0x382b00(0x216)])!=null&&(_0x3ab586=_0x3ab586[_0x19c23a])!=null&&_0x3ab586[_0x382b00(0xbf)]);});}let _0x5c53a0=class extends _0x1813e5[_0x7fc612(0x20c)]{constructor(_0x298cfc,_0x11ee24,_0x25217f,_0x23045c,_0x1f1a53){const _0xe37a98=_0x7fc612;super(),this[_0xe37a98(0xf8)]=_0x298cfc,this['_injector']=_0x11ee24,this['_resourceLoaderService']=_0x25217f,this[_0xe37a98(0x1a5)]=_0x23045c,this[_0xe37a98(0x1e1)]=_0x1f1a53;}[_0x7fc612(0x14d)](){const _0x499815=_0x7fc612;return this[_0x499815(0xf8)];}[_0x7fc612(0x120)](){const _0x3eb968=_0x7fc612;return this[_0x3eb968(0xf8)][_0x3eb968(0x1cf)]();}[_0x7fc612(0x177)](){const _0x50152b=_0x7fc612;return new _0x4712ce(this['getId'](),this[_0x50152b(0x1a5)],this[_0x50152b(0x1e1)]);}[_0x7fc612(0x179)](){const _0x36f60f=_0x7fc612;return this[_0x36f60f(0xbd)][_0x36f60f(0x199)](this['getId']())??_0x460afa['Tools'][_0x36f60f(0x1a2)](this[_0x36f60f(0xf8)][_0x36f60f(0x153)]());}['getName'](){const _0x38a68d=_0x7fc612;return this[_0x38a68d(0xf8)][_0x38a68d(0x153)]()[_0x38a68d(0x18a)];}[_0x7fc612(0x256)](_0x54e172){const _0x4321dd=_0x7fc612;this[_0x4321dd(0x1a5)][_0x4321dd(0x116)](_0x5c88db[_0x4321dd(0xb3)]['id'],{'unitId':this[_0x4321dd(0x120)](),'name':_0x54e172});}[_0x7fc612(0x1e6)](){const _0x139f24=_0x7fc612;let _0x1f1bcf=this['_base']['getSnapshot']();return _0x1f1bcf[_0x139f24(0x22b)][_0x139f24(0xdd)](_0x1e511d=>_0x1f1bcf['tables'][_0x1e511d])[_0x139f24(0x157)](_0xa1a18b=>_0xa1a18b)[_0x139f24(0xdd)](_0x4a7bf9=>this['_injector']['createInstance'](_0x27bce8,this,_0x4a7bf9['id'],this[_0x139f24(0x1aa)]));}[_0x7fc612(0x240)](_0x29a1b0){const _0x5d1c60=_0x7fc612;let _0x279dfb=this[_0x5d1c60(0xf8)]['getSnapshot']()[_0x5d1c60(0x19f)][_0x29a1b0];return _0x279dfb?this['_injector'][_0x5d1c60(0x254)](_0x27bce8,this,_0x279dfb['id'],this[_0x5d1c60(0x1aa)]):null;}[_0x7fc612(0x1cd)](_0x3993b6){const _0xa54fdc=_0x7fc612;let _0x40a1cd=this[_0xa54fdc(0xf8)][_0xa54fdc(0x153)](),_0x22e040=Object[_0xa54fdc(0xda)](_0x40a1cd['tables'])['find'](_0x5d454d=>_0x5d454d[_0xa54fdc(0x18a)]===_0x3993b6);return _0x22e040?this['_injector'][_0xa54fdc(0x254)](_0x27bce8,this,_0x22e040['id'],this[_0xa54fdc(0x1aa)]):null;}[_0x7fc612(0x140)](_0x4375ea,_0x415c73){const _0x2467f8=_0x7fc612;let _0xe4b0aa=(0x0,_0x460afa[_0x2467f8(0x25e)])({'id':(0x0,_0x460afa['generateRandomId'])(),'name':_0x4375ea,..._0x415c73==null?void 0x0:_0x415c73[_0x2467f8(0x13f)],'primaryFieldName':_0x415c73==null?void 0x0:_0x415c73[_0x2467f8(0x148)]}),_0xca5c02=_0x460afa[_0x2467f8(0x14a)]['commonExtend'](_0xe4b0aa,(_0x415c73==null?void 0x0:_0x415c73[_0x2467f8(0x13f)])??{}),_0x1f78c1=(0x0,_0x5c88db[_0x2467f8(0x1de)])(this['_base'][_0x2467f8(0x153)](),_0xca5c02[_0x2467f8(0x18a)]);if(!_0x1f78c1[_0x2467f8(0x15f)])throw Error('[FBase]:\x20invalid\x20table\x20name\x20\x22'+_0xca5c02[_0x2467f8(0x18a)]+_0x2467f8(0x135)+_0x5c88db[_0x2467f8(0x141)]+'\x20'+_0x1f78c1['reason']);if(!this['_commandService'][_0x2467f8(0x116)](_0x5c88db[_0x2467f8(0x23e)]['id'],{'unitId':this['_base'][_0x2467f8(0x1cf)](),'table':_0xca5c02,'index':_0x415c73==null?void 0x0:_0x415c73[_0x2467f8(0x1af)]}))throw Error('Failed\x20to\x20create\x20table\x20\x22'+_0x4375ea+'\x22.');return this[_0x2467f8(0x1aa)][_0x2467f8(0x254)](_0x27bce8,this,_0xca5c02['id'],this[_0x2467f8(0x1aa)]);}[_0x7fc612(0x1dc)](_0x1b8d6a){const _0x488fef=_0x7fc612;let _0x3e91ab=typeof _0x1b8d6a==_0x488fef(0x257)?_0x1b8d6a:_0x1b8d6a[_0x488fef(0x120)]();if(!this[_0x488fef(0x1a5)]['syncExecuteCommand'](_0x5c88db[_0x488fef(0x210)]['id'],{'unitId':this[_0x488fef(0xf8)][_0x488fef(0x1cf)](),'tableId':_0x3e91ab}))throw Error(_0x488fef(0x1d2)+_0x3e91ab+'\x22.');return!0x0;}[_0x7fc612(0x110)](_0x43efe4,_0x344bd8){const _0x303735=_0x7fc612;let _0x7e3703=this['_base']['getSnapshot'](),_0x5c755b=typeof _0x43efe4==_0x303735(0x257)?_0x43efe4:_0x43efe4[_0x303735(0x120)](),_0x212f92=_0x7e3703[_0x303735(0x19f)][_0x5c755b];if(!_0x212f92)throw Error('[FBase]:\x20table\x20\x22'+_0x5c755b+_0x303735(0x176));let _0x47921b=_0x7e3703['tableOrder'][_0x303735(0x164)](_0x5c755b)+0x1,_0xd0d1b3=(0x0,_0x460afa['generateRandomId'])(),_0x128d3c=(0x0,_0x5c88db[_0x303735(0xb2)])(_0x212f92,{'id':_0xd0d1b3,'name':(0x0,_0x5c88db[_0x303735(0x1d8)])(_0x7e3703,_0x212f92[_0x303735(0x18a)]+_0x303735(0xb1)),'includeRecords':(_0x344bd8==null?void 0x0:_0x344bd8[_0x303735(0x15c)])??!0x1,'regenerateViewIds':(_0x344bd8==null?void 0x0:_0x344bd8[_0x303735(0x253)])??!0x1});if(!this[_0x303735(0x1a5)][_0x303735(0x116)](_0x5c88db[_0x303735(0x23e)]['id'],{'unitId':this[_0x303735(0xf8)]['getUnitId'](),'table':_0x128d3c,'index':_0x47921b}))throw Error('Failed\x20to\x20duplicate\x20table\x20\x22'+_0x5c755b+'\x22.');return this[_0x303735(0x1aa)]['createInstance'](_0x27bce8,this,_0x128d3c['id'],this['_injector']);}[_0x7fc612(0x200)](){const _0x5270c7=_0x7fc612;let _0x2d1647=this[_0x5270c7(0xf8)][_0x5270c7(0x153)]();return{'id':_0x2d1647['id'],'name':_0x2d1647['name'],'tables':this[_0x5270c7(0x1e6)]()[_0x5270c7(0xdd)](_0x5150d1=>_0x5150d1[_0x5270c7(0x200)]())};}};_0x5c53a0=_0x13a9ae([_0x28bfcd(0x1,(0x0,_0x460afa[_0x7fc612(0x1b2)])(_0x460afa[_0x7fc612(0x231)])),_0x28bfcd(0x2,_0x460afa[_0x7fc612(0x1f1)]),_0x28bfcd(0x3,_0x460afa[_0x7fc612(0x11e)]),_0x28bfcd(0x4,_0x460afa['IPermissionService'])],_0x5c53a0);var _0x1989bb=class extends _0x1813e5[_0x7fc612(0xdf)]{[_0x7fc612(0xaa)](){const _0x64af80=_0x7fc612;this[_0x64af80(0x219)](),this[_0x64af80(0x1d0)]();}['createBase'](_0x294cab={},_0x1e7375){const _0xb777a8=_0x7fc612;let _0x7373e6=this[_0xb777a8(0x21d)][_0xb777a8(0x114)](_0x460afa['UniverInstanceType'][_0xb777a8(0xb7)],_0x294cab,_0x1e7375);return this[_0xb777a8(0x1aa)][_0xb777a8(0x254)](_0x5c53a0,_0x7373e6);}[_0x7fc612(0x187)](){const _0x480e16=_0x7fc612;let _0x54ce83=this[_0x480e16(0x21d)][_0x480e16(0x10e)](_0x460afa[_0x480e16(0xd9)][_0x480e16(0xb7)]);return _0x54ce83?this[_0x480e16(0x1aa)][_0x480e16(0x254)](_0x5c53a0,_0x54ce83):null;}[_0x7fc612(0x14d)](_0x5902b6){const _0x8f2c3a=_0x7fc612;let _0x46e7a3=this[_0x8f2c3a(0x21d)][_0x8f2c3a(0x1d4)](_0x5902b6,_0x460afa[_0x8f2c3a(0xd9)][_0x8f2c3a(0xb7)]);return _0x46e7a3?this['_injector'][_0x8f2c3a(0x254)](_0x5c53a0,_0x46e7a3):null;}[_0x7fc612(0x1b1)](){const _0x127bee=_0x7fc612;return this[_0x127bee(0x21d)][_0x127bee(0x180)](_0x460afa[_0x127bee(0xd9)][_0x127bee(0xb7)])[_0x127bee(0xdd)](_0x514202=>this['_injector'][_0x127bee(0x254)](_0x5c53a0,_0x514202));}[_0x7fc612(0x1d0)](){const _0x407e6f=_0x7fc612;this[_0x407e6f(0x214)](this[_0x407e6f(0x250)](this[_0x407e6f(0x265)]['BaseHierarchyChanged'],()=>this[_0x407e6f(0x1a5)]['onCommandExecuted']((_0x519702,_0x2188e2)=>{const _0x4d87d8=_0x407e6f;var _0x5d7954;if(!_0x210185(_0x519702,_0x5c88db[_0x4d87d8(0x169)]))return;let _0x4e1bce=_0x519702[_0x4d87d8(0x197)];if(!((_0x5d7954=_0x4e1bce[_0x4d87d8(0x24f)])!=null&&_0x5d7954[_0x4d87d8(0x208)]))return;let _0x1913df=this[_0x4d87d8(0x14d)](_0x4e1bce[_0x4d87d8(0x118)]),_0x9c8d09=_0x1913df==null?void 0x0:_0x1913df[_0x4d87d8(0x240)](_0x4e1bce[_0x4d87d8(0x24f)][0x0][_0x4d87d8(0x12e)]);if(!_0x1913df||!_0x9c8d09)return;let _0x1a2f8a={'base':_0x1913df,'table':_0x9c8d09,'changes':_0x4e1bce[_0x4d87d8(0x24f)],'source':_0x2188e2!=null&&_0x2188e2[_0x4d87d8(0x201)]?_0x5c88db['BaseEventSource'][_0x4d87d8(0x1bd)]:_0x4e1bce['source']??_0x5c88db[_0x4d87d8(0x21c)]['UI']};this[_0x4d87d8(0x23a)](this[_0x4d87d8(0x265)][_0x4d87d8(0x1c6)],_0x1a2f8a);}))),this[_0x407e6f(0x214)](this['registerEventHandler'](this[_0x407e6f(0x265)][_0x407e6f(0x243)],()=>this[_0x407e6f(0x1a5)][_0x407e6f(0x161)](_0x44682f=>{const _0x13a6a4=_0x407e6f;if(_0x44682f['id']!==_0x5c88db['CreateBaseTableCommand']['id'])return;let {unitId:_0x3e1a09,table:_0x2041fb,index:_0x14e785}=_0x44682f[_0x13a6a4(0x197)],_0x1b2cd8=this[_0x13a6a4(0x14d)](_0x3e1a09);if(!_0x1b2cd8)return;let _0x21dbe0={'base':_0x1b2cd8,'table':_0x2041fb,'index':_0x14e785};this[_0x13a6a4(0x23a)](this['Event']['BaseTableCreated'],_0x21dbe0);}))),this[_0x407e6f(0x214)](this[_0x407e6f(0x250)](this['Event']['BaseTableFieldCreated'],()=>this[_0x407e6f(0x1a5)][_0x407e6f(0x161)](_0x26f0ae=>{const _0x59b6c6=_0x407e6f;if(_0x26f0ae['id']!==_0x5c88db[_0x59b6c6(0x1bb)]['id'])return;let {unitId:_0x20f1db,tableId:_0x23dbe5,field:_0xd52bb0,index:_0x192b25,viewIndexes:_0x4cc6af}=_0x26f0ae[_0x59b6c6(0x197)],_0x4bb327=this[_0x59b6c6(0x14d)](_0x20f1db);if(!_0x4bb327)return;let _0x58c754=_0x4bb327[_0x59b6c6(0x240)](_0x23dbe5);if(!_0x58c754)return;let _0x8e12ed={'base':_0x4bb327,'table':_0x58c754,'field':_0xd52bb0,'index':_0x192b25,'viewIndexes':_0x4cc6af};this[_0x59b6c6(0x23a)](this['Event'][_0x59b6c6(0x159)],_0x8e12ed);}))),this[_0x407e6f(0x214)](this[_0x407e6f(0x250)](this[_0x407e6f(0x265)][_0x407e6f(0xcc)],()=>this[_0x407e6f(0x1a5)]['onCommandExecuted'](_0x18c6ca=>{const _0x3c3625=_0x407e6f;if(_0x18c6ca['id']!==_0x5c88db[_0x3c3625(0x172)]['id']&&_0x18c6ca['id']!==_0x5c88db[_0x3c3625(0x245)]['id'])return;let _0xe7fd3e=_0x18c6ca['params'],{unitId:_0x544f3f,tableId:_0x1ead5d}=_0xe7fd3e,_0x57a953=_0xe7fd3e['records']??[_0xe7fd3e[_0x3c3625(0x1c2)]],_0x3a1cc9=this['getBase'](_0x544f3f);if(!_0x3a1cc9)return;let _0x4124aa=_0x3a1cc9['getTableById'](_0x1ead5d);if(!_0x4124aa)return;let _0x3fcf0c={'base':_0x3a1cc9,'table':_0x4124aa,'records':_0x57a953};this[_0x3c3625(0x23a)](this[_0x3c3625(0x265)]['BaseTableRecordCreated'],_0x3fcf0c);}))),this[_0x407e6f(0x214)](this[_0x407e6f(0x250)](this[_0x407e6f(0x265)]['BaseTableViewCreated'],()=>this['_commandService']['onCommandExecuted'](_0x1f4258=>{const _0x5b2e7b=_0x407e6f;if(_0x1f4258['id']!==_0x5c88db[_0x5b2e7b(0x25b)]['id'])return;let {unitId:_0x586117,tableId:_0x2e536b,view:_0x40d361,index:_0x88e798}=_0x1f4258[_0x5b2e7b(0x197)],_0x481077=this[_0x5b2e7b(0x14d)](_0x586117);if(!_0x481077)return;let _0x571b66=_0x481077['getTableById'](_0x2e536b);if(!_0x571b66)return;let _0x411280={'base':_0x481077,'table':_0x571b66,'view':_0x40d361,'index':_0x88e798};this['fireEvent'](this['Event']['BaseTableViewCreated'],_0x411280);}))),this[_0x407e6f(0x214)](this[_0x407e6f(0x250)](this['Event']['BaseTableCellValueChanged'],()=>this[_0x407e6f(0x1a5)]['onCommandExecuted'](_0x354318=>{const _0x2a3be8=_0x407e6f;if(_0x354318['id']!==_0x5c88db[_0x2a3be8(0x21b)]['id'])return;let {unitId:_0x54b8ba,tableId:_0x441ab1,recordId:_0xd303b3,fieldId:_0x38338d,value:_0x3a4218}=_0x354318[_0x2a3be8(0x197)],_0x429f1f=this[_0x2a3be8(0x14d)](_0x54b8ba);if(!_0x429f1f)return;let _0x1f6e3d=_0x429f1f[_0x2a3be8(0x240)](_0x441ab1);if(!_0x1f6e3d)return;let _0x1a90a0=_0x1f6e3d[_0x2a3be8(0x147)](_0x38338d);if(!_0x1a90a0)return;let _0x18c005=_0x1f6e3d[_0x2a3be8(0x267)](_0xd303b3);if(!_0x18c005)return;let _0x2de36e={'base':_0x429f1f,'table':_0x1f6e3d,'field':_0x1a90a0,'record':_0x18c005,'value':_0x3a4218};this['fireEvent'](this['Event'][_0x2a3be8(0x1a8)],_0x2de36e);})));}['_initBaseBeforeEvents'](){const _0x51a07b=_0x7fc612;this['disposeWithMe'](this[_0x51a07b(0x250)](this['Event']['BeforeBaseHierarchyChange'],()=>this['_commandService'][_0x51a07b(0x246)](_0x29087b=>{const _0x4cb969=_0x51a07b;if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x25c)])){let {unitId:_0x5cc8de,tableId:_0x27e23f,patches:_0x370f03,source:_0x21a537=_0x5c88db[_0x4cb969(0x21c)]['UI']}=_0x29087b['params'],_0x3eaefc=this[_0x4cb969(0x1d6)](_0x5cc8de,_0x27e23f);if(!_0x3eaefc)return;this[_0x4cb969(0x191)](_0x3eaefc[_0x4cb969(0xb5)],_0x3eaefc[_0x4cb969(0x13f)],(0x0,_0x5c88db[_0x4cb969(0x1a0)])(_0x3eaefc[_0x4cb969(0x13f)][_0x4cb969(0x1f6)](),_0x370f03),_0x21a537);return;}if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0xcf)])){let {unitId:_0x2b01d8,tableId:_0x1561fb,patches:_0x3afe21,source:_0x595c9e=_0x5c88db[_0x4cb969(0x21c)]['UI']}=_0x29087b[_0x4cb969(0x197)],_0x39c4dc=this[_0x4cb969(0x1d6)](_0x2b01d8,_0x1561fb);if(!_0x39c4dc)return;let _0x6cd28d=_0x39c4dc[_0x4cb969(0x13f)][_0x4cb969(0x1f6)]();this[_0x4cb969(0x191)](_0x39c4dc['base'],_0x39c4dc[_0x4cb969(0x13f)],(0x0,_0x5c88db[_0x4cb969(0x1a0)])(_0x6cd28d,(0x0,_0x5c88db[_0x4cb969(0x146)])(_0x6cd28d,_0x3afe21)),_0x595c9e);return;}if(_0x210185(_0x29087b,_0x5c88db['CreateBaseRecordCommand'])){let _0x5aa04e=_0x29087b[_0x4cb969(0x197)],_0x10f226=this[_0x4cb969(0x1d6)](_0x5aa04e[_0x4cb969(0x118)],_0x5aa04e['tableId']);if(!_0x10f226)return;this[_0x4cb969(0x191)](_0x10f226['base'],_0x10f226[_0x4cb969(0x13f)],(0x0,_0x5c88db[_0x4cb969(0xe7)])(_0x10f226[_0x4cb969(0x13f)]['getTable'](),[_0x5aa04e['record']]),_0x5aa04e[_0x4cb969(0xa5)]??_0x5c88db[_0x4cb969(0x21c)]['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x245)])){let _0x5f5129=_0x29087b[_0x4cb969(0x197)],_0x32e86e=this[_0x4cb969(0x1d6)](_0x5f5129[_0x4cb969(0x118)],_0x5f5129[_0x4cb969(0x12e)]);if(!_0x32e86e)return;this[_0x4cb969(0x191)](_0x32e86e[_0x4cb969(0xb5)],_0x32e86e['table'],(0x0,_0x5c88db[_0x4cb969(0xe7)])(_0x32e86e[_0x4cb969(0x13f)][_0x4cb969(0x1f6)](),_0x5f5129['records']),_0x5f5129[_0x4cb969(0xa5)]??_0x5c88db[_0x4cb969(0x21c)]['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x21f)])){let _0x4265a4=_0x29087b[_0x4cb969(0x197)],_0x1fc6d6=this['_getHierarchyEventContext'](_0x4265a4[_0x4cb969(0x118)],_0x4265a4[_0x4cb969(0x12e)]);if(!_0x1fc6d6)return;this[_0x4cb969(0x191)](_0x1fc6d6[_0x4cb969(0xb5)],_0x1fc6d6[_0x4cb969(0x13f)],(0x0,_0x5c88db[_0x4cb969(0xe7)])(_0x1fc6d6['table'][_0x4cb969(0x1f6)](),[_0x4265a4['record']]),_0x4265a4[_0x4cb969(0xa5)]??_0x5c88db['BaseEventSource']['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db['MoveBaseHierarchyRecordCommand'])){let _0x39368f=_0x29087b[_0x4cb969(0x197)],_0x433fa6=this[_0x4cb969(0x1d6)](_0x39368f[_0x4cb969(0x118)],_0x39368f['tableId']);if(!_0x433fa6)return;let _0x5819da=_0x433fa6[_0x4cb969(0x13f)][_0x4cb969(0x1f6)](),_0x321c65=_0x39368f[_0x4cb969(0xf5)]??(0x0,_0x5c88db['resolveBaseHierarchyFieldId'])(_0x5819da),_0x427a37=(0x0,_0x5c88db['buildBaseHierarchyIndex'])(_0x5819da,_0x321c65)[_0x4cb969(0x1e3)][_0x4cb969(0xfe)](_0x39368f['recordId'])??null;this[_0x4cb969(0x191)](_0x433fa6[_0x4cb969(0xb5)],_0x433fa6[_0x4cb969(0x13f)],[{'tableId':_0x39368f[_0x4cb969(0x12e)],'fieldId':_0x321c65,'recordId':_0x39368f[_0x4cb969(0x16d)],'oldParentRecordId':_0x427a37,'parentRecordId':_0x39368f[_0x4cb969(0x12c)]}],_0x39368f[_0x4cb969(0xa5)]??_0x5c88db['BaseEventSource']['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db['CreateBaseChildRecordCommand'])){let _0x4e9c3e=_0x29087b[_0x4cb969(0x197)],_0x1b936c=this['_getHierarchyEventContext'](_0x4e9c3e[_0x4cb969(0x118)],_0x4e9c3e['tableId']);if(!_0x1b936c)return;let _0x450d90=_0x4e9c3e[_0x4cb969(0xf5)]??(0x0,_0x5c88db['resolveBaseHierarchyFieldId'])(_0x1b936c[_0x4cb969(0x13f)]['getTable']());this[_0x4cb969(0x191)](_0x1b936c[_0x4cb969(0xb5)],_0x1b936c['table'],[{'tableId':_0x4e9c3e[_0x4cb969(0x12e)],'fieldId':_0x450d90,'recordId':_0x4e9c3e[_0x4cb969(0x1c2)]['id'],'oldParentRecordId':null,'parentRecordId':_0x4e9c3e['parentRecordId']}],_0x4e9c3e[_0x4cb969(0xa5)]??_0x5c88db[_0x4cb969(0x21c)]['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x238)])){let _0x39c04b=_0x29087b[_0x4cb969(0x197)],_0x36a6b2=this[_0x4cb969(0x1d6)](_0x39c04b['unitId'],_0x39c04b[_0x4cb969(0x12e)]);if(!_0x36a6b2)return;this['_fireBeforeHierarchyChange'](_0x36a6b2[_0x4cb969(0xb5)],_0x36a6b2['table'],(0x0,_0x5c88db['getBaseHierarchyDeletePromotions'])(_0x36a6b2[_0x4cb969(0x13f)][_0x4cb969(0x1f6)](),[_0x39c04b[_0x4cb969(0x16d)]]),_0x39c04b[_0x4cb969(0xa5)]??_0x5c88db['BaseEventSource']['UI']);return;}if(_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x260)])){let _0x393b3a=_0x29087b[_0x4cb969(0x197)],_0x403eb4=this['_getHierarchyEventContext'](_0x393b3a[_0x4cb969(0x118)],_0x393b3a[_0x4cb969(0x12e)]);if(!_0x403eb4)return;this[_0x4cb969(0x191)](_0x403eb4['base'],_0x403eb4[_0x4cb969(0x13f)],(0x0,_0x5c88db[_0x4cb969(0x25f)])(_0x403eb4[_0x4cb969(0x13f)][_0x4cb969(0x1f6)](),_0x393b3a['recordIds']),_0x393b3a[_0x4cb969(0xa5)]??_0x5c88db[_0x4cb969(0x21c)]['UI']);return;}if(!_0x210185(_0x29087b,_0x5c88db[_0x4cb969(0x21b)]))return;let _0x3c8171=_0x29087b[_0x4cb969(0x197)],_0x36cf04=this[_0x4cb969(0x1d6)](_0x3c8171[_0x4cb969(0x118)],_0x3c8171[_0x4cb969(0x12e)]);if(!_0x36cf04)return;let _0x2deeb9=_0x36cf04['table'][_0x4cb969(0x1f6)]();if(!(0x0,_0x5c88db[_0x4cb969(0x1ba)])(_0x2deeb9)[_0x4cb969(0x23b)](_0x3c8171[_0x4cb969(0xf5)]))return;let _0x2f537a=(0x0,_0x5c88db[_0x4cb969(0x15d)])(_0x2deeb9,_0x3c8171[_0x4cb969(0xf5)])[_0x4cb969(0x1e3)][_0x4cb969(0xfe)](_0x3c8171[_0x4cb969(0x16d)])??null,_0x2e31b6=(0x0,_0x5c88db[_0x4cb969(0x15b)])(_0x3c8171['value'])[0x0]??null;_0x2f537a!==_0x2e31b6&&this['_fireBeforeHierarchyChange'](_0x36cf04['base'],_0x36cf04['table'],[{'tableId':_0x3c8171['tableId'],'fieldId':_0x3c8171[_0x4cb969(0xf5)],'recordId':_0x3c8171[_0x4cb969(0x16d)],'oldParentRecordId':_0x2f537a,'parentRecordId':_0x2e31b6}],_0x3c8171[_0x4cb969(0xa5)]??_0x5c88db[_0x4cb969(0x21c)]['UI']);}))),this[_0x51a07b(0x214)](this[_0x51a07b(0x250)](this[_0x51a07b(0x265)][_0x51a07b(0x251)],()=>this[_0x51a07b(0x1a5)]['beforeCommandExecuted'](_0x28942f=>{const _0x1de92c=_0x51a07b;if(_0x28942f['id']!==_0x5c88db['CreateBaseTableCommand']['id'])return;let {unitId:_0x19ebb0,table:_0x1f585d,index:_0x46d364}=_0x28942f[_0x1de92c(0x197)],_0x3e529f=this['getBase'](_0x19ebb0);if(!_0x3e529f)return;let _0x258948={'base':_0x3e529f,'table':_0x1f585d,'index':_0x46d364};if(this[_0x1de92c(0x23a)](this[_0x1de92c(0x265)][_0x1de92c(0x251)],_0x258948),_0x258948[_0x1de92c(0x1ad)])throw new _0x460afa[(_0x1de92c(0x1b3))]();}))),this[_0x51a07b(0x214)](this['registerEventHandler'](this['Event'][_0x51a07b(0x1b7)],()=>this['_commandService'][_0x51a07b(0x246)](_0xfb0a9a=>{const _0x163b64=_0x51a07b;if(_0xfb0a9a['id']!==_0x5c88db[_0x163b64(0x1bb)]['id'])return;let {unitId:_0x3366dc,tableId:_0x300278,field:_0x125e30,index:_0x22a8a0,viewIndexes:_0x41af59}=_0xfb0a9a[_0x163b64(0x197)],_0x1e33ac=this['getBase'](_0x3366dc);if(!_0x1e33ac)return;let _0x8aa07b=_0x1e33ac['getTableById'](_0x300278);if(!_0x8aa07b)return;let _0x4617b4={'base':_0x1e33ac,'table':_0x8aa07b,'field':_0x125e30,'index':_0x22a8a0,'viewIndexes':_0x41af59};if(this[_0x163b64(0x23a)](this[_0x163b64(0x265)][_0x163b64(0x1b7)],_0x4617b4),_0x4617b4[_0x163b64(0x1ad)])throw new _0x460afa['CanceledError']();}))),this[_0x51a07b(0x214)](this[_0x51a07b(0x250)](this[_0x51a07b(0x265)][_0x51a07b(0x22f)],()=>this[_0x51a07b(0x1a5)][_0x51a07b(0x246)](_0x7d6540=>{const _0x2bb87c=_0x51a07b;if(_0x7d6540['id']!==_0x5c88db['CreateBaseRecordCommand']['id']&&_0x7d6540['id']!==_0x5c88db[_0x2bb87c(0x245)]['id'])return;let _0x18c76f=_0x7d6540[_0x2bb87c(0x197)],{unitId:_0x46d2f9,tableId:_0x36a771}=_0x18c76f,_0x30d516=_0x18c76f[_0x2bb87c(0x211)]??[_0x18c76f['record']],_0x5abdd4=this[_0x2bb87c(0x14d)](_0x46d2f9);if(!_0x5abdd4)return;let _0x38bfce=_0x5abdd4[_0x2bb87c(0x240)](_0x36a771);if(!_0x38bfce)return;let _0x22295d={'base':_0x5abdd4,'table':_0x38bfce,'records':_0x30d516};if(this[_0x2bb87c(0x23a)](this['Event'][_0x2bb87c(0x22f)],_0x22295d),_0x22295d[_0x2bb87c(0x1ad)])throw new _0x460afa[(_0x2bb87c(0x1b3))]();}))),this[_0x51a07b(0x214)](this[_0x51a07b(0x250)](this[_0x51a07b(0x265)]['BeforeBaseTableViewCreate'],()=>this['_commandService']['beforeCommandExecuted'](_0x2f2ffb=>{const _0x5a2288=_0x51a07b;if(_0x2f2ffb['id']!==_0x5c88db['CreateBaseViewCommand']['id'])return;let {unitId:_0x4ebe46,tableId:_0x3347a6,view:_0x4f4040,index:_0x311df6}=_0x2f2ffb['params'],_0x3de133=this['getBase'](_0x4ebe46);if(!_0x3de133)return;let _0x30f415=_0x3de133[_0x5a2288(0x240)](_0x3347a6);if(!_0x30f415)return;let _0x4218e6={'base':_0x3de133,'table':_0x30f415,'view':_0x4f4040,'index':_0x311df6};if(this['fireEvent'](this[_0x5a2288(0x265)][_0x5a2288(0x145)],_0x4218e6),_0x4218e6[_0x5a2288(0x1ad)])throw new _0x460afa[(_0x5a2288(0x1b3))]();}))),this[_0x51a07b(0x214)](this[_0x51a07b(0x250)](this[_0x51a07b(0x265)][_0x51a07b(0x10c)],()=>this[_0x51a07b(0x1a5)][_0x51a07b(0x246)](_0x1a4bf9=>{const _0x5ad7ed=_0x51a07b;if(_0x1a4bf9['id']!==_0x5c88db[_0x5ad7ed(0x21b)]['id'])return;let {unitId:_0x2bcffa,tableId:_0x1c0140,recordId:_0xfa90b,fieldId:_0x47fc56,value:_0x4a1333}=_0x1a4bf9[_0x5ad7ed(0x197)],_0x7d4ecc=this[_0x5ad7ed(0x14d)](_0x2bcffa);if(!_0x7d4ecc)return;let _0x117df7=_0x7d4ecc[_0x5ad7ed(0x240)](_0x1c0140);if(!_0x117df7)return;let _0x1d270c=_0x117df7[_0x5ad7ed(0x147)](_0x47fc56);if(!_0x1d270c)return;let _0x57fa7a=_0x117df7[_0x5ad7ed(0x267)](_0xfa90b);if(!_0x57fa7a)return;let _0xc0a96f={'base':_0x7d4ecc,'table':_0x117df7,'field':_0x1d270c,'record':_0x57fa7a,'value':_0x4a1333};if(this[_0x5ad7ed(0x23a)](this[_0x5ad7ed(0x265)][_0x5ad7ed(0x10c)],_0xc0a96f),_0xc0a96f[_0x5ad7ed(0x1ad)])throw new _0x460afa[(_0x5ad7ed(0x1b3))]();})));}['_getHierarchyEventContext'](_0x4fa9da,_0x1e862a){const _0x31b6c9=_0x7fc612;let _0x408e18=this['getBase'](_0x4fa9da),_0x5112ba=_0x408e18==null?void 0x0:_0x408e18[_0x31b6c9(0x240)](_0x1e862a);return _0x408e18&&_0x5112ba?{'base':_0x408e18,'table':_0x5112ba}:null;}[_0x7fc612(0x191)](_0xeb4b01,_0x1a592d,_0x4ff875,_0x2548ce){const _0x105388=_0x7fc612;if(!_0x4ff875[_0x105388(0x208)])return;let _0x3104a5={'base':_0xeb4b01,'table':_0x1a592d,'changes':_0x4ff875,'source':_0x2548ce};if(this[_0x105388(0x23a)](this['Event'][_0x105388(0x26f)],_0x3104a5),_0x3104a5[_0x105388(0x1ad)])throw new _0x460afa[(_0x105388(0x1b3))]();}};function _0x210185(_0x83500a,_0x1fc449){const _0x2b8798=_0x7fc612;return _0x83500a['id']===_0x1fc449['id']&&_0x83500a[_0x2b8798(0x197)]!==void 0x0;}_0x1813e5[_0x7fc612(0xdf)][_0x7fc612(0x1df)](_0x1989bb);var _0x498dac=class extends _0x1813e5[_0x7fc612(0x18e)]{get[_0x7fc612(0x15a)](){const _0x18e940=_0x7fc612;return _0x460afa[_0x18e940(0x15a)];}get[_0x7fc612(0x218)](){return _0x460afa['BaseFilterConjunction'];}get[_0x7fc612(0x239)](){const _0x32da39=_0x7fc612;return _0x460afa[_0x32da39(0x239)];}get[_0x7fc612(0xc8)](){return _0x20ef2a;}get[_0x7fc612(0xb8)](){const _0x4f175d=_0x7fc612;return _0x460afa[_0x4f175d(0xb8)];}get[_0x7fc612(0x1d3)](){const _0x2b3057=_0x7fc612;return _0x460afa[_0x2b3057(0x1d3)];}get[_0x7fc612(0x1ee)](){const _0x4f31c2=_0x7fc612;return _0x460afa[_0x4f31c2(0x1ee)];}get['BaseConditionalDateMode'](){const _0x58047a=_0x7fc612;return _0x460afa[_0x58047a(0xec)];}get['BaseSortDirection'](){const _0x473666=_0x7fc612;return _0x460afa[_0x473666(0x162)];}get[_0x7fc612(0x21c)](){const _0x41d614=_0x7fc612;return _0x5c88db[_0x41d614(0x21c)];}get['BaseHierarchyErrorCode'](){const _0x98a0b0=_0x7fc612;return _0x5c88db[_0x98a0b0(0xf2)];}get[_0x7fc612(0x228)](){const _0x21589b=_0x7fc612;return _0x460afa[_0x21589b(0x228)];}get[_0x7fc612(0x1ed)](){const _0x20682c=_0x7fc612;return _0x460afa[_0x20682c(0x1ed)];}};_0x1813e5['FEnum']['extend'](_0x498dac);var _0x4a9771=class extends _0x1813e5[_0x7fc612(0xff)]{get[_0x7fc612(0x243)](){const _0x32809e=_0x7fc612;return _0x32809e(0x243);}get[_0x7fc612(0x251)](){const _0x5a48ec=_0x7fc612;return _0x5a48ec(0x251);}get['BaseTableFieldCreated'](){const _0x4da07d=_0x7fc612;return _0x4da07d(0x159);}get['BeforeBaseTableFieldCreate'](){return'BeforeBaseTableFieldCreate';}get['BaseTableRecordCreated'](){const _0x3ce15c=_0x7fc612;return _0x3ce15c(0xcc);}get[_0x7fc612(0x22f)](){return'BeforeBaseTableRecordCreate';}get['BaseTableViewCreated'](){return'BaseTableViewCreated';}get[_0x7fc612(0x145)](){return'BeforeBaseTableViewCreate';}get['BaseTableCellValueChanged'](){const _0x2a270e=_0x7fc612;return _0x2a270e(0x1a8);}get[_0x7fc612(0x10c)](){const _0x16085f=_0x7fc612;return _0x16085f(0x10c);}get[_0x7fc612(0x1c6)](){const _0x404717=_0x7fc612;return _0x404717(0x1c6);}get[_0x7fc612(0x26f)](){const _0x3a4762=_0x7fc612;return _0x3a4762(0x26f);}};_0x1813e5['FEventName'][_0x7fc612(0x1df)](_0x4a9771),_0x24290d[_0x7fc612(0xc8)]=_0x20ef2a,Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0x20c),{'enumerable':!0x0,'get':function(){return _0x5c53a0;}}),_0x24290d[_0x7fc612(0x19e)]=_0x5a8ed0,_0x24290d[_0x7fc612(0x230)]=_0x4712ce,Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0xd6),{'enumerable':!0x0,'get':function(){return _0x27bce8;}}),Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0x209),{'enumerable':!0x0,'get':function(){return _0x2003da;}}),Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0x154),{'enumerable':!0x0,'get':function(){return _0x7421c3;}}),Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0xd7),{'enumerable':!0x0,'get':function(){return _0x54b90e;}}),Object[_0x7fc612(0x24b)](_0x24290d,_0x7fc612(0x181),{'enumerable':!0x0,'get':function(){return _0x282005;}}),_0x24290d['FBasesEventNameMixin']=_0x4a9771,_0x24290d['resolveBaseFieldKey']=_0x1163c7,_0x24290d['resolveBaseFieldValues']=_0x442707;}));function _0x5d29(){const _0x48c220=['Kanban','UNIVER_BASE','BaseViewType','Gallery','conditions','caseSensitive','getDataRange','_resourceLoaderService','_getHierarchyIndex','hidden','100881YjqFSA','7056687LRTtMs','UpdateBaseRecordOrderCommand','deleteRecords','_getFieldIds','\x22:\x20expected\x20an\x20array.','sourceType','SetBaseViewFieldVisibleCommand','BaseFieldKeyEnum','endRow','AND','executeCommand','BaseTableRecordCreated','Invalid\x20attachment\x20at\x20index\x20','UUID','SetBaseRangeValuesCommand','getBaseViewPermissionObjectId','setDefaultValue','isFinite','getBaseId','primaryFieldId','Clear','FBaseTable','FBaseTableRecord','symbol','UniverInstanceType','values','_fieldId','_getView','map','UniverCore','FUniver','[FRecord]:\x20field\x20\x22','offset','getPrimaryFieldId','notMatches','setValue','_viewId','defaultValue','validateBaseHierarchyRecordCreations','\x22\x20is\x20invalid.','viewOrder','Date','UniverProBasesFacade','BaseConditionalDateMode','getPrimaryField','RecordLink','toPrimitive','addField','addRecords','BaseHierarchyErrorCode','addChild','hasOwnProperty','fieldId','limit','search','_base','stringify','duplicate','getType','getProjection','constructor','get','FEventName','object','setHierarchyField','305484oYJkUd','__esModule','system','canEdit','width','SetBaseViewSortCommand','UnitAction','sort','moveField','getTableFacade','BeforeBaseTableCellValueChange','fields','getCurrentUnitOfType','\x20for\x20field\x20\x22','duplicateTable','[FRecord]:\x20record\x20\x22','CreateBaseChildRecordCommand','enumerable','createUnit','generateRandomId','syncExecuteCommand','function','unitId','field','\x22\x20is\x20not\x20an\x20Attachment\x20field.','DeleteBaseViewCommand','url','UniverProtocol','ICommandService','RenameBaseTableCommand','getId','61626AbrZeb','rowId','Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22','_prepareFormulaFieldReferences','Edit',':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.','_unitId','canEditBaseTargets','endColumn','height','message','parentRecordId','clearConditionalColorRules','tableId','find','990855EpzWtV','getDescription','IBaseProjectionService','serializeRecordLinkIds','invalid','\x22.\x20','getPrototypeOf','Facade','getSort','rules','direction','[FTable]:\x20table\x20\x22','startColumn','getFieldByName','mimeType','table','insertTable','BASE_TABLE_NAME_REQUIREMENTS','\x20exceeds\x20range\x20size\x20','isArray','from','BeforeBaseTableViewCreate','resolveBaseRangeHierarchyPatches','getFieldById','primaryFieldName','getNumColumns','Tools','SetBaseViewGroupCommand','Failed\x20to\x20add\x20records','getBase','getBaseFieldPermissionObjectId','_getAttachmentField','afterFieldId','getAncestors','DeleteBaseFieldCommand','getSnapshot','FBaseTableRange','Calendar','setEditable','filter','getBaseFormulaTableName','BaseTableFieldCreated','BaseFieldType','parseRecordLinkIds','includeRecords','buildBaseHierarchyIndex','getOwnPropertyNames','valid','getConditionalColorRules','onCommandExecuted','BaseSortDirection','startRow','indexOf','Invalid\x20attachment\x20value\x20for\x20field\x20\x22','ImageSourceType','UniverProEngineFormula','Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','ApplyBaseJson1Mutation','MoveBaseViewCommand','@univerjs/core','getBaseTablePermissionObjectId','recordId','Base\x20field\x20not\x20found:\x20','isReadonly','now','[FRecord]:\x20attachment\x20at\x20index\x20','CreateBaseRecordCommand','number','prototype','targetTableId','\x22\x20does\x20not\x20exist.','getPermission','getFormulaName','save','_baseUnitId','BASE_RECORD_ID_FIELD_ID','max',':\x20\x22','[FRecord]:\x20RecordLink\x20field\x20\x22','bind','getAllUnitsForType','FBaseTableView','UpsertHostExternalReferencesCommand','setValues','getRecord','thumbnail','every','getActiveBase','[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.','custom','name','setAttachments','getColumn','deleteConditionalColorRule','FEnum','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','updateConfig','_fireBeforeHierarchyChange','49rqnJEI','type','538ExIdbh','_baseTableId',':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.','params','SetBaseViewFieldOrderCommand','saveUnit','description','Name','childrenByParentId','Invalid\x20Base\x20regex\x20filter:\x20','FBaseObjectPermission','tables','validateBaseHierarchyRecordPatches','Gantt','deepClone','setLinkedRecordIds','_inject','_commandService','URL','beforeFieldId','BaseTableCellValueChanged','default','_injector','_assertInBounds','_parentObjectIds','cancel','push','index','flatMap','getBases','Inject','CanceledError','getAttachments','_range','toStringTag','BeforeBaseTableFieldCreate','recordOrder','[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','getActiveBaseHierarchyFieldIds','CreateBaseFieldCommand','getDefaultValue','Remote','entries','views','view','iterator','record','getField',':\x20expected\x20an\x20object.','_projectionService','BaseHierarchyChanged','_tableId','config','changeType','forEach','formula','getRange','getTableByName','[FBaseRange]:\x20table\x20does\x20not\x20exist.','getUnitId','_initBaseAfterEvents','_table','Failed\x20to\x20delete\x20table\x20\x22','BaseConditionalColorTarget','getUnit','setConditionalColorRules','_getHierarchyEventContext','_resolveRecordIds','createUniqueBaseTableName','_recordId','warn','119iqUQWk','deleteTable','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','validateBaseTableName','extend','getConfig','_permissionService','startsWith','parentByRecordId','setSort','ensureBaseTableCellLayout','getTables','call','_writeFormulaExternalReferences','UpdateBaseViewConfigCommand','getName','12DGOqcv','IPermissionService','BaseRecordLinkRole','BaseConditionalColorOperator','Formula','SetBasePermissionCommand','IResourceLoaderService','\x22\x20must\x20be\x20a\x20non-empty\x20string.','setFilter','removeLinkedRecord','getOwnPropertyDescriptor','getTable','SetBaseViewFieldWidthCommand','UniverProBases','15VmObDI','operator','setReadOnly','deleteProperty','@univerjs/protocol','clear','UniverCoreFacade','getSchema','fromCollab','data:','SetBasePermissionsCommand','Delete','Duplicate\x20Base\x20field\x20name:\x20','create','getHierarchyFieldId','length','FBaseTableField','decorate','localeCompare','FBase','matches','visibleCardFieldIds','slice','DeleteBaseTableCommand','records','Failed\x20to\x20create\x20view\x20\x22','UpdateBaseViewConditionalColorRulesCommand','disposeWithMe','_getRecord','fieldSettings','fieldKey','BaseFilterConjunction','_initBaseBeforeEvents','externalReferences','UpdateBaseCellCommand','BaseEventSource','_univerInstanceService','getValues','DuplicateBaseRecordCommand','addRecord','delete','conditionalColoring','getBasePermissionValue','\x22\x20is\x20not\x20a\x20RecordLink\x20field.','orderKey','subtreeHeightByRecordId','RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.','BaseHierarchyInvalidReason','getViewById','SetBaseTableHierarchyFieldCommand','tableOrder','SetBaseViewFilterCommand','getRow','getTableId','BeforeBaseTableRecordCreate','FBasePermission','Injector','viewId','validateRecordLinkValue','_getRecordLinkField','getFields','getBaseRecordPermissionObjectId','queryRecords','DeleteBaseRecordCommand','BaseFilterOperator','fireEvent','includes','getNumRows','getValue','CreateBaseTableCommand','_collectDescendantIds','getTableById','Invalid\x20Base\x20formula.','getVisibleFields','BaseTableCreated','createdAt','BatchCreateBaseRecordsCommand','beforeCommandExecuted','boolean','864456agSpNB','getParent','setPoint','defineProperty','searchBaseTable','getLinkedRecordIds','some','hierarchyChanges','registerEventHandler','BeforeBaseTableCreate','[FField]:\x20field\x20\x22','regenerateViewIds','createInstance','Unsupported\x20Base\x20field\x20type\x20\x22','setName','string','size','move','update','CreateBaseViewCommand','SetBaseRecordValuesCommand','getRecords','createDefaultBaseTableSnapshot','getBaseHierarchyDeletePromotions','BatchDeleteBaseRecordsCommand','addConditionalColorRule','setConfig','updatedAt','@univerjs-pro/bases','Event','fieldOrder','getRecordById','has','_getField','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','reason','auto','_getTable','readonly','BeforeBaseHierarchyChange','multiple','source','getPoint','180grSaiW','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','FBaseInitialable','_initialize','rows','RenameBaseViewCommand','[FRecord]:\x20invalid\x20RecordLink\x20value.','BaseConditionalColorRuleUpdateType','getBaseCellValue','_objectId','\x20Copy','copyBaseTableSnapshot','SetBaseNameCommand','trim','base'];_0x5d29=function(){return _0x48c220;};return _0x5d29();}
|