@univerjs-pro/bases 1.0.0-alpha.7 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/batch-create-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/batch-delete-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/create-base-child-record.command.d.ts +15 -0
- package/lib/types/commands/commands/create-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/delete-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/duplicate-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/move-base-hierarchy-record.command.d.ts +17 -0
- package/lib/types/commands/commands/set-base-range-values.command.d.ts +8 -1
- package/lib/types/commands/commands/set-base-record-values.command.d.ts +2 -0
- package/lib/types/commands/commands/set-base-table-hierarchy-field.command.d.ts +9 -0
- package/lib/types/commands/commands/update-base-cell.command.d.ts +2 -0
- package/lib/types/commands/commands/update-base-view-conditional-color-rules.command.d.ts +32 -0
- package/lib/types/commands/mutations/apply-base-json1.mutation.d.ts +4 -0
- package/lib/types/commands/utils/base-record-creation.d.ts +18 -0
- package/lib/types/commands/utils/base-validation.d.ts +6 -1
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +6 -1
- package/lib/types/facade/f-base.d.ts +4 -2
- package/lib/types/facade/f-enum.d.ts +277 -6
- package/lib/types/facade/f-event.d.ts +102 -0
- package/lib/types/facade/f-field.d.ts +40 -7
- package/lib/types/facade/f-range.d.ts +4 -1
- package/lib/types/facade/f-record.d.ts +377 -2
- package/lib/types/facade/f-table.d.ts +287 -16
- package/lib/types/facade/f-univer.d.ts +2 -0
- package/lib/types/facade/f-view.d.ts +179 -3
- package/lib/types/facade/field-key.d.ts +3 -1
- package/lib/types/facade/index.d.ts +2 -1
- package/lib/types/fields/date-format.d.ts +20 -1
- package/lib/types/fields/field-core-plugin.d.ts +7 -5
- package/lib/types/fields/field-stat.d.ts +10 -0
- package/lib/types/fields/number-format.d.ts +3 -3
- package/lib/types/fields/progress-format.d.ts +1 -0
- package/lib/types/index.d.ts +21 -4
- package/lib/types/locale/en-US.d.ts +1 -1
- package/lib/types/models/base-hierarchy.d.ts +108 -0
- package/lib/types/models/default-table.d.ts +0 -1
- package/lib/types/models/record-link.d.ts +14 -0
- package/lib/types/ot/json1-adapter.d.ts +0 -1
- package/lib/types/ot/json1-op-applier.d.ts +3 -1
- package/lib/types/ot/json1-op-factory.d.ts +0 -3
- package/lib/types/ot/json1-util.d.ts +2 -2
- package/lib/types/search/base-search.d.ts +0 -3
- package/lib/types/services/base-active-dirty.service.d.ts +0 -1
- package/lib/types/services/base-command.service.d.ts +1 -1
- package/lib/types/services/base-compression.service.d.ts +0 -5
- package/lib/types/services/base-formula.service.d.ts +1 -3
- package/lib/types/services/base-permission.service.d.ts +0 -4
- package/lib/types/services/base-projection.service.d.ts +4 -0
- package/lib/types/views/view-core-plugin.d.ts +0 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -6
- package/lib/types/facade/f-types.d.ts +0 -1
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4e93b4=_0x6599;(function(_0x57e720,_0x3213d8){const _0x4db50c=_0x6599,_0x419f6c=_0x57e720();while(!![]){try{const _0x340d4e=-parseInt(_0x4db50c(0xc4))/0x1*(-parseInt(_0x4db50c(0xc5))/0x2)+parseInt(_0x4db50c(0xb4))/0x3*(parseInt(_0x4db50c(0xd0))/0x4)+parseInt(_0x4db50c(0xc8))/0x5+-parseInt(_0x4db50c(0xbf))/0x6*(parseInt(_0x4db50c(0xb3))/0x7)+-parseInt(_0x4db50c(0xc1))/0x8*(-parseInt(_0x4db50c(0xc9))/0x9)+-parseInt(_0x4db50c(0xb9))/0xa*(parseInt(_0x4db50c(0xc6))/0xb)+-parseInt(_0x4db50c(0xbb))/0xc*(parseInt(_0x4db50c(0xb2))/0xd);if(_0x340d4e===_0x3213d8)break;else _0x419f6c['push'](_0x419f6c['shift']());}catch(_0x5e81bd){_0x419f6c['push'](_0x419f6c['shift']());}}}(_0x45d7,0xcf8a6));function _0x45d7(){const _0x2fa813=['甘特圖','更新儲存格','欄位類型無效','建立時間','13894470cUoHUi','建立人','92580HYkFHT','刪除欄位','電子郵件','更新人','4434ymqwdI','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','271448vWoNCt','看板需要可分組欄位','儲存格值無效','1FZDZWC','2021978ZqkUhV','11nPmoAb','甘特圖檢視需要開始和結束日期欄位','1878020fWRpYO','369mmtDiC','建立欄位','行事曆需要日期欄位','欄位標題不能為空','更新檢視設定','記錄\x20ID','更新時間','2016628pGCXFR','關聯記錄','刪除記錄','377dnKcaV','12530EFmDTU','6waZueI'];_0x45d7=function(){return _0x2fa813;};return _0x45d7();}function _0x6599(_0x4f97bd,_0x490219){_0x4f97bd=_0x4f97bd-0xb0;const _0x45d766=_0x45d7();let _0x6599dd=_0x45d766[_0x4f97bd];return _0x6599dd;}const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'核取方塊','link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':'電話號碼','email':_0x4e93b4(0xbd),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x4e93b4(0xb0),'recordId':_0x4e93b4(0xce),'createdBy':_0x4e93b4(0xba),'updatedBy':_0x4e93b4(0xbe),'createdAt':_0x4e93b4(0xb8),'updatedAt':_0x4e93b4(0xcf),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':_0x4e93b4(0xc0)},'viewType':{'grid':'表格','kanban':'看板','calendar':'行事曆','gantt':_0x4e93b4(0xb5),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x4e93b4(0xcc),'invalidFieldType':_0x4e93b4(0xb7),'invalidCellValue':_0x4e93b4(0xc3),'invalidKanbanGroupField':_0x4e93b4(0xc2),'invalidCalendarDateField':_0x4e93b4(0xcb),'invalidGanttDateField':_0x4e93b4(0xc7)},'command':{'updateCell':_0x4e93b4(0xb6),'createField':_0x4e93b4(0xca),'deleteField':_0x4e93b4(0xbc),'createRecord':'建立記錄','deleteRecord':_0x4e93b4(0xb1),'updateViewConfig':_0x4e93b4(0xcd)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2ffc26=_0x592a;(function(_0x272af9,_0x45b9d0){const _0x48d218=_0x592a,_0xe24a74=_0x272af9();while(!![]){try{const _0x5e8073=-parseInt(_0x48d218(0x1c5))/0x1+-parseInt(_0x48d218(0x189))/0x2*(-parseInt(_0x48d218(0x11d))/0x3)+-parseInt(_0x48d218(0x19b))/0x4+-parseInt(_0x48d218(0x150))/0x5+-parseInt(_0x48d218(0x116))/0x6*(parseInt(_0x48d218(0x176))/0x7)+parseInt(_0x48d218(0x129))/0x8*(parseInt(_0x48d218(0x192))/0x9)+-parseInt(_0x48d218(0x101))/0xa*(-parseInt(_0x48d218(0x194))/0xb);if(_0x5e8073===_0x45b9d0)break;else _0xe24a74['push'](_0xe24a74['shift']());}catch(_0x449437){_0xe24a74['push'](_0xe24a74['shift']());}}}(_0x153f,0xa84ff));import{BatchCreateBaseRecordsCommand as _0x1c05d6,BatchDeleteBaseRecordsCommand as _0x4901b2,ChangeBaseFieldTypeCommand as _0x43c75c,CreateBaseFieldCommand as _0x33b9a5,CreateBaseRecordCommand as _0x2cce42,CreateBaseTableCommand as _0x374462,CreateBaseViewCommand as _0x30e023,DeleteBaseFieldCommand as _0x21ae9c,DeleteBaseRecordCommand as _0xa86f7,DeleteBaseTableCommand as _0x411971,DeleteBaseViewCommand as _0x3e9dcd,DuplicateBaseRecordCommand as _0x467762,IBaseProjectionService as _0x12b6eb,MoveBaseFieldCommand as _0x4d39b5,MoveBaseViewCommand as _0x637c4d,RenameBaseTableCommand as _0x4fcea0,RenameBaseViewCommand as _0x2f6a2b,SetBaseNameCommand as _0x3a982d,SetBaseRangeValuesCommand as _0x1c6136,SetBaseRecordValuesCommand as _0x57b621,SetBaseViewFieldOrderCommand as _0x422701,SetBaseViewFieldVisibleCommand as _0x46c04d,SetBaseViewFieldWidthCommand as _0x1addbe,SetBaseViewFilterCommand as _0x5a4a97,SetBaseViewGroupCommand as _0x94e848,SetBaseViewSortCommand as _0x27e233,UpdateBaseCellCommand as _0x32c66a,UpdateBaseFieldCommand as _0x12e099,UpdateBaseRecordOrderCommand as _0x56e608,UpdateBaseViewConfigCommand as _0x265bad,copyBaseTableSnapshot as _0x4bab18,ensureBaseTableCellLayout as _0x4344cf,getBaseCellValue as _0x40cfa1,matchesBaseCondition as _0x5f093b,searchBaseTable as _0x45eb7c}from'@univerjs-pro/bases';import{BaseFieldType as _0x501578,BaseFilterConjunction as _0x34cdfb,BaseFilterOperator as _0x34e159,BaseSortDirection as _0x482ea7,BaseViewType as _0x4e016d,CanceledError as _0x110505,ICommandService as _0x51ac63,IUniverInstanceService as _0xe6c28e,Inject as _0x1ae801,Injector as _0x5ac807,Tools as _0x42f22d,UniverInstanceType as _0x1d0ab6,createDefaultBaseTableSnapshot as _0x4a23df,generateRandomId as _0x4bcfb3}from'@univerjs/core';import{FEnum as _0x233966,FEventName as _0xdb6ff6,FUniver as _0x4e5238}from'@univerjs/core/facade';var U=class{constructor(_0x7feee7,_0x8f334d,_0x250991,_0x1c9d60){const _0x287ac7=_0x592a;this[_0x287ac7(0x186)]=_0x7feee7,this[_0x287ac7(0x10f)]=_0x8f334d,this['_fieldId']=_0x250991,this[_0x287ac7(0x180)]=_0x1c9d60;}[_0x2ffc26(0x199)](){const _0x1d978f=_0x2ffc26;return this[_0x1d978f(0x1ce)];}[_0x2ffc26(0x17b)](){const _0x1871e1=_0x2ffc26;return this[_0x1871e1(0x128)]();}[_0x2ffc26(0x1bb)](){const _0x1a2792=_0x2ffc26;return this[_0x1a2792(0x128)]()['name'];}['getType'](){const _0x473cd0=_0x2ffc26;return this[_0x473cd0(0x128)]()[_0x473cd0(0x138)];}[_0x2ffc26(0x111)](){const _0x2ae9d4=_0x2ffc26;return this[_0x2ae9d4(0x128)]()[_0x2ae9d4(0x1d2)];}[_0x2ffc26(0x114)](){const _0x4c618e=_0x2ffc26;return this[_0x4c618e(0x128)]()[_0x4c618e(0x18b)];}[_0x2ffc26(0x1d3)](){return this['_getField']()['description'];}['isReadonly'](){const _0x209d93=_0x2ffc26;return!!this[_0x209d93(0x128)]()[_0x209d93(0x123)];}['setName'](_0xe03bf1){const _0xb9aa15=_0x2ffc26;return this[_0xb9aa15(0x1c4)]({'name':_0xe03bf1});}[_0x2ffc26(0x14a)](_0x5bc1e6){const _0x49c2b9=_0x2ffc26;return this[_0x49c2b9(0x1c4)]({'config':_0x5bc1e6});}[_0x2ffc26(0x13f)](_0x21b2de){const _0x139357=_0x2ffc26;return this[_0x139357(0x1c4)]({'defaultValue':_0x21b2de});}[_0x2ffc26(0x1c4)](_0x30629e){const _0x1c6fea=_0x2ffc26;return this['_inject']['get'](_0x51ac63)[_0x1c6fea(0x1cb)](_0x12e099['id'],{'unitId':this['_base'][_0x1c6fea(0x199)](),'tableId':this[_0x1c6fea(0x10f)][_0x1c6fea(0x199)](),'fieldId':this['_fieldId'],'patch':_0x30629e});}[_0x2ffc26(0x127)](_0x57df8a,_0x40ec61={}){const _0x3c4cb1=_0x2ffc26;return this['_inject']['get'](_0x51ac63)[_0x3c4cb1(0x1cb)](_0x43c75c['id'],{'unitId':this['_base'][_0x3c4cb1(0x199)](),'tableId':this[_0x3c4cb1(0x10f)][_0x3c4cb1(0x199)](),'fieldId':this[_0x3c4cb1(0x1ce)],'input':{'type':_0x57df8a,'config':_0x40ec61}});}[_0x2ffc26(0x1b9)](){const _0x3c60bc=_0x2ffc26;return this['_inject'][_0x3c60bc(0x16a)](_0x51ac63)[_0x3c60bc(0x1cb)](_0x21ae9c['id'],{'unitId':this[_0x3c60bc(0x186)]['getId'](),'tableId':this[_0x3c60bc(0x10f)]['getId'](),'fieldId':this[_0x3c60bc(0x1ce)]});}[_0x2ffc26(0x1a1)](_0x11dfcc){const _0x5b302a=_0x2ffc26;return this[_0x5b302a(0x180)][_0x5b302a(0x16a)](_0x51ac63)[_0x5b302a(0x1cb)](_0x4d39b5['id'],{'unitId':this[_0x5b302a(0x186)][_0x5b302a(0x199)](),'tableId':this[_0x5b302a(0x10f)][_0x5b302a(0x199)](),'fieldId':this[_0x5b302a(0x1ce)],'target':_0x11dfcc});}[_0x2ffc26(0x128)](){const _0x5d1d12=_0x2ffc26;let _0x28ab89=this[_0x5d1d12(0x10f)][_0x5d1d12(0xfe)]()['fields'][this['_fieldId']];if(!_0x28ab89)throw Error(_0x5d1d12(0xfb)+this[_0x5d1d12(0x1ce)]+_0x5d1d12(0xfc));return _0x28ab89;}},W=class e{constructor(_0x310019,_0x344272,_0xd4d9d9,_0x52ca49){const _0x2fd9d9=_0x2ffc26;this[_0x2fd9d9(0x186)]=_0x310019,this[_0x2fd9d9(0x10f)]=_0x344272,this[_0x2fd9d9(0x147)]=_0xd4d9d9,this[_0x2fd9d9(0x180)]=_0x52ca49,this[_0x2fd9d9(0x1ac)]();}['getBaseId'](){const _0x4ab1d8=_0x2ffc26;return this[_0x4ab1d8(0x186)]['getId']();}['getTableId'](){const _0x29bb58=_0x2ffc26;return this[_0x29bb58(0x10f)][_0x29bb58(0x199)]();}[_0x2ffc26(0x106)](){const _0x5b6b78=_0x2ffc26;return{...this[_0x5b6b78(0x147)]};}[_0x2ffc26(0x177)](){const _0x58815b=_0x2ffc26;return this['_range'][_0x58815b(0x1a3)];}['getColumn'](){const _0x2fe697=_0x2ffc26;return this[_0x2fe697(0x147)]['startColumn'];}[_0x2ffc26(0x193)](){const _0x1de81c=_0x2ffc26;return this['_range'][_0x1de81c(0x15f)]-this[_0x1de81c(0x147)][_0x1de81c(0x1a3)]+0x1;}[_0x2ffc26(0x1b8)](){const _0x1beb4c=_0x2ffc26;return this[_0x1beb4c(0x147)][_0x1beb4c(0x148)]-this[_0x1beb4c(0x147)][_0x1beb4c(0x12e)]+0x1;}[_0x2ffc26(0x131)](){const _0x1bab1c=_0x2ffc26;let _0x4acb93=this[_0x1bab1c(0x161)](),_0x36b78c=[];for(let _0x5c3cc0=this[_0x1bab1c(0x147)][_0x1bab1c(0x1a3)];_0x5c3cc0<=this[_0x1bab1c(0x147)][_0x1bab1c(0x15f)];_0x5c3cc0++){var _0x51cd03;let _0x46171b=(_0x51cd03=_0x4acb93['rowId'])==null?void 0x0:_0x51cd03[_0x5c3cc0],_0x566711=[];for(let _0x32cc5c=this[_0x1bab1c(0x147)][_0x1bab1c(0x12e)];_0x32cc5c<=this[_0x1bab1c(0x147)][_0x1bab1c(0x148)];_0x32cc5c++){var _0x4993f2;let _0x38cf1b=(_0x4993f2=_0x4acb93[_0x1bab1c(0xf6)])==null?void 0x0:_0x4993f2[_0x32cc5c];_0x566711[_0x1bab1c(0x110)](_0x46171b&&_0x38cf1b?_0x40cfa1(_0x4acb93,_0x46171b,_0x38cf1b):null);}_0x36b78c['push'](_0x566711);}return _0x36b78c;}[_0x2ffc26(0x19d)](){const _0x31d004=_0x2ffc26;var _0x8d9e14,_0x1d6fa5;return(_0x8d9e14=(_0x1d6fa5=this[_0x31d004(0x131)]()[0x0])==null?void 0x0:_0x1d6fa5[0x0])==null?null:_0x8d9e14;}['setValue'](_0x3afd7e){const _0x5b8924=_0x2ffc26;return this[_0x5b8924(0x166)]([[_0x3afd7e]]);}[_0x2ffc26(0x166)](_0x864ba4){const _0x430cfa=_0x2ffc26;let _0x4b14e6=this[_0x430cfa(0x193)](),_0x27c10b=this[_0x430cfa(0x1b8)]();if(_0x864ba4[_0x430cfa(0x18f)]>_0x4b14e6||_0x864ba4[_0x430cfa(0x132)](_0x5af60d=>_0x5af60d[_0x430cfa(0x18f)]>_0x27c10b)){var _0x129f83,_0x3240c1;throw Error(_0x430cfa(0x1cf)+_0x864ba4['length']+'x'+((_0x129f83=(_0x3240c1=_0x864ba4[0x0])==null?void 0x0:_0x3240c1[_0x430cfa(0x18f)])==null?0x0:_0x129f83)+_0x430cfa(0xf7)+_0x4b14e6+'x'+_0x27c10b+'.');}let _0x2587d7=this[_0x430cfa(0x180)][_0x430cfa(0x16a)](_0x51ac63),_0x24c200=_0x864ba4[_0x430cfa(0x175)]((_0x15642a,_0x472ac7)=>_0x15642a[_0x430cfa(0x133)]((_0x5797b9,_0x52ec4d)=>({'row':this['_range']['startRow']+_0x472ac7,'col':this[_0x430cfa(0x147)][_0x430cfa(0x12e)]+_0x52ec4d,'value':_0x5797b9})));return _0x2587d7[_0x430cfa(0x1cb)](_0x1c6136['id'],{'unitId':this[_0x430cfa(0x186)][_0x430cfa(0x199)](),'tableId':this[_0x430cfa(0x10f)][_0x430cfa(0x199)](),'patches':_0x24c200});}[_0x2ffc26(0x1b3)](){const _0x1419e7=_0x2ffc26;return this['setValues'](Array[_0x1419e7(0x1d4)]({'length':this[_0x1419e7(0x193)]()},()=>Array[_0x1419e7(0x1d4)]({'length':this[_0x1419e7(0x1b8)]()},()=>null)));}['offset'](_0x24e2b6,_0x260ca7,_0x203226=this['getNumRows'](),_0x560195=this[_0x2ffc26(0x1b8)]()){const _0x486e3f=_0x2ffc26;return this[_0x486e3f(0x180)][_0x486e3f(0xfd)](e,this['_base'],this[_0x486e3f(0x10f)],{'startRow':this[_0x486e3f(0x147)][_0x486e3f(0x1a3)]+_0x24e2b6,'startColumn':this[_0x486e3f(0x147)][_0x486e3f(0x12e)]+_0x260ca7,'endRow':this[_0x486e3f(0x147)]['startRow']+_0x24e2b6+_0x203226-0x1,'endColumn':this[_0x486e3f(0x147)][_0x486e3f(0x12e)]+_0x260ca7+_0x560195-0x1},this[_0x486e3f(0x180)]);}[_0x2ffc26(0x161)](){const _0x25ed56=_0x2ffc26;let _0x27f962=this[_0x25ed56(0x10f)][_0x25ed56(0xfe)]();if(!_0x27f962)throw Error(_0x25ed56(0x159));return _0x4344cf(_0x27f962);}['_assertInBounds'](){const _0x2df527=_0x2ffc26;var _0x4005d3,_0x231327;let _0x148c77=this[_0x2df527(0x161)](),_0xff9765=(_0x4005d3=(_0x231327=_0x148c77[_0x2df527(0x1b2)])==null?void 0x0:_0x231327[_0x2df527(0x18f)])==null?0x0:_0x4005d3,_0x112fe6=_0x148c77[_0x2df527(0x108)][_0x2df527(0x18f)];if(this[_0x2df527(0x147)]['startRow']<0x0||this['_range'][_0x2df527(0x12e)]<0x0||this[_0x2df527(0x147)]['endRow']<this[_0x2df527(0x147)][_0x2df527(0x1a3)]||this['_range'][_0x2df527(0x148)]<this[_0x2df527(0x147)][_0x2df527(0x12e)]||this['_range'][_0x2df527(0x15f)]>=Math[_0x2df527(0x103)](_0xff9765,0x1)||this[_0x2df527(0x147)][_0x2df527(0x148)]>=Math['max'](_0x112fe6,0x1))throw Error(_0x2df527(0x173)+_0xff9765+_0x2df527(0x172)+_0x112fe6+_0x2df527(0x10d)+JSON[_0x2df527(0x12b)](this[_0x2df527(0x147)])+'.');}};let G=function(_0x459c3b){const _0x2884af=_0x2ffc26;return _0x459c3b['Id']='id',_0x459c3b['Name']='name',_0x459c3b[_0x2884af(0x168)]='auto',_0x459c3b;}({});function K(_0x5b6f03,_0x24e152,_0x5a93c6='id'){const _0x5d6137=_0x2ffc26;if(!_0x24e152)return{};let _0x393c24={};return Object[_0x5d6137(0x178)](_0x24e152)[_0x5d6137(0x17c)](([_0x9912b7,_0x3d901a])=>{_0x393c24[q(_0x5b6f03,_0x9912b7,_0x5a93c6)]=_0x3d901a;}),_0x393c24;}function q(_0x576075,_0x7e06ba,_0x1e8bed){const _0x1d70b9=_0x2ffc26;if(_0x1e8bed==='id'||_0x1e8bed===_0x1d70b9(0x198)&&_0x576075[_0x1d70b9(0x191)][_0x7e06ba])return _0x7e06ba;let _0x4ccdec=Object[_0x1d70b9(0x11b)](_0x576075[_0x1d70b9(0x191)])[_0x1d70b9(0x100)](_0x52e025=>_0x52e025[_0x1d70b9(0x14d)]===_0x7e06ba);if(_0x4ccdec[_0x1d70b9(0x18f)]===0x1)return _0x4ccdec[0x0]['id'];throw _0x4ccdec[_0x1d70b9(0x18f)]>0x1?Error(_0x1d70b9(0x1c1)+_0x7e06ba):Error(_0x1d70b9(0x1ca)+_0x7e06ba);}var J=class e{constructor(_0x2982d3,_0x2ef172,_0x340b51,_0x3c009a){const _0x5606f0=_0x2ffc26;this[_0x5606f0(0x186)]=_0x2982d3,this[_0x5606f0(0x10f)]=_0x2ef172,this['_recordId']=_0x340b51,this[_0x5606f0(0x180)]=_0x3c009a;}[_0x2ffc26(0x199)](){const _0x505135=_0x2ffc26;return this[_0x505135(0x157)];}[_0x2ffc26(0xfa)](){const _0x13240d=_0x2ffc26;return this[_0x13240d(0x144)]();}['getValue'](_0x1de1c1){const _0xaa3b16=_0x2ffc26;var _0x6f351f;return(_0x6f351f=this['_getRecord']()[_0xaa3b16(0x11b)][_0x1de1c1])==null?null:_0x6f351f;}[_0x2ffc26(0x131)](){const _0x434b40=_0x2ffc26;return{...this[_0x434b40(0x144)]()[_0x434b40(0x11b)]};}[_0x2ffc26(0x141)](_0x37e70e,_0xefe37d){const _0x36ad35=_0x2ffc26;return this[_0x36ad35(0x180)][_0x36ad35(0x16a)](_0x51ac63)[_0x36ad35(0x1cb)](_0x32c66a['id'],{'unitId':this[_0x36ad35(0x186)][_0x36ad35(0x199)](),'tableId':this[_0x36ad35(0x10f)]['getId'](),'recordId':this[_0x36ad35(0x157)],'fieldId':_0x37e70e,'value':_0xefe37d});}[_0x2ffc26(0x166)](_0x2af063,_0x5df0c8='id'){const _0x49696c=_0x2ffc26;let _0x413eb0=this[_0x49696c(0x180)][_0x49696c(0x16a)](_0x51ac63),_0x4f5f7c=this['_table'][_0x49696c(0xfe)](),_0x365c87=[{'recordId':this[_0x49696c(0x157)],'values':K(_0x4f5f7c,_0x2af063,_0x5df0c8)}];return _0x413eb0[_0x49696c(0x1cb)](_0x57b621['id'],{'unitId':this['_base'][_0x49696c(0x199)](),'tableId':this[_0x49696c(0x10f)][_0x49696c(0x199)](),'patches':_0x365c87});}[_0x2ffc26(0x1b9)](){const _0x309829=_0x2ffc26;return this[_0x309829(0x180)]['get'](_0x51ac63)[_0x309829(0x1cb)](_0xa86f7['id'],{'unitId':this[_0x309829(0x186)][_0x309829(0x199)](),'tableId':this['_table'][_0x309829(0x199)](),'recordId':this[_0x309829(0x157)]});}[_0x2ffc26(0x11e)](_0x2d47f3){const _0x4af674=_0x2ffc26;let _0xbdf932=this[_0x4af674(0x180)][_0x4af674(0x16a)](_0x51ac63),_0x47759c={...this['_getRecord'](),..._0x2d47f3,'id':_0x4bcfb3(0x6)};_0x2d47f3!=null&&_0x2d47f3['values']&&(_0x47759c[_0x4af674(0x11b)]={..._0x47759c[_0x4af674(0x11b)],..._0x2d47f3[_0x4af674(0x11b)]});let _0x3e062f=Date[_0x4af674(0xf1)]();if(_0x47759c[_0x4af674(0x16f)]||(_0x47759c[_0x4af674(0x16f)]=''+_0x3e062f),_0x47759c[_0x4af674(0x142)]||(_0x47759c[_0x4af674(0x142)]=_0x3e062f),_0x47759c['updatedAt']||(_0x47759c[_0x4af674(0x109)]=_0x3e062f),!_0xbdf932[_0x4af674(0x1cb)](_0x467762['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x4af674(0x10f)][_0x4af674(0x199)](),'sourceRecordId':this['_recordId'],'record':_0x47759c}))throw Error(_0x4af674(0x15b)+this['_recordId']+'\x22.');return this[_0x4af674(0x180)][_0x4af674(0xfd)](e,this[_0x4af674(0x186)],this['_table'],_0x47759c['id'],this[_0x4af674(0x180)]);}[_0x2ffc26(0x11a)](_0x4dea4a){const _0x4e0d02=_0x2ffc26;return this[_0x4e0d02(0x180)][_0x4e0d02(0x16a)](_0x51ac63)[_0x4e0d02(0x1cb)](_0x56e608['id'],{'unitId':this[_0x4e0d02(0x186)]['getId'](),'tableId':this[_0x4e0d02(0x10f)]['getId'](),'recordId':this['_recordId'],'orderKey':_0x4dea4a});}[_0x2ffc26(0x144)](){const _0x50dc03=_0x2ffc26;let _0x2e4458=this['_table'][_0x50dc03(0xfe)]()[_0x50dc03(0x18c)][this['_recordId']];if(!_0x2e4458)throw Error(_0x50dc03(0x12c)+this[_0x50dc03(0x157)]+_0x50dc03(0xfc));return _0x2e4458;}},Y=class{constructor(_0x593bec,_0x40e1c0,_0x152349,_0x2c52ff){const _0x4bc496=_0x2ffc26;this['_base']=_0x593bec,this[_0x4bc496(0x10f)]=_0x40e1c0,this[_0x4bc496(0x18a)]=_0x152349,this[_0x4bc496(0x1b0)]=_0x2c52ff;}[_0x2ffc26(0x199)](){const _0x53f4f5=_0x2ffc26;return this[_0x53f4f5(0x18a)];}['getView'](){const _0x26da14=_0x2ffc26;return this[_0x26da14(0x171)]();}[_0x2ffc26(0x1bb)](){const _0x4a803e=_0x2ffc26;return this['_getView']()[_0x4a803e(0x14d)];}[_0x2ffc26(0x1b7)](){const _0x2dbe1f=_0x2ffc26;return this['_getView']()[_0x2dbe1f(0x138)];}[_0x2ffc26(0x15e)](_0x393c6c){const _0x43c12f=_0x2ffc26;return this['_injector'][_0x43c12f(0x16a)](_0x51ac63)[_0x43c12f(0x1cb)](_0x2f6a2b['id'],{'unitId':this[_0x43c12f(0x186)][_0x43c12f(0x199)](),'tableId':this[_0x43c12f(0x10f)][_0x43c12f(0x199)](),'viewId':this[_0x43c12f(0x18a)],'name':_0x393c6c});}['getConfig'](){const _0x2dfdbe=_0x2ffc26;let _0x30d4de=this[_0x2dfdbe(0x1b7)](),_0x20613a=this['_getView']()[_0x2dfdbe(0x1d2)];switch(_0x30d4de){case _0x4e016d[_0x2dfdbe(0x1bd)]:return _0x20613a;case _0x4e016d['Kanban']:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x126)]:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x1af)]:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x154)]:return _0x20613a;default:return _0x20613a;}}['updateConfig'](_0x2484c6){const _0x50cc74=_0x2ffc26;return this[_0x50cc74(0x1b0)][_0x50cc74(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x265bad['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'viewId':this[_0x50cc74(0x18a)],'patch':_0x2484c6});}[_0x2ffc26(0x1ba)](){const _0x1753db=_0x2ffc26;var _0x29dc6c;return(_0x29dc6c=this[_0x1753db(0x171)]()[_0x1753db(0x100)])==null?null:_0x29dc6c;}[_0x2ffc26(0x10c)](_0x5613da){const _0x4a9706=_0x2ffc26;return this[_0x4a9706(0x1b0)][_0x4a9706(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x5a4a97['id'],{'unitId':this[_0x4a9706(0x186)][_0x4a9706(0x199)](),'tableId':this[_0x4a9706(0x10f)][_0x4a9706(0x199)](),'viewId':this['_viewId'],'filter':_0x5613da});}[_0x2ffc26(0x115)](){const _0x2f503f=_0x2ffc26;var _0x5c5049;return(_0x5c5049=this[_0x2f503f(0x171)]()[_0x2f503f(0x130)])==null?[]:_0x5c5049;}[_0x2ffc26(0x184)](_0x24fac0){const _0x163ff2=_0x2ffc26;return this[_0x163ff2(0x1b0)]['get'](_0x51ac63)[_0x163ff2(0x1cb)](_0x27e233['id'],{'unitId':this[_0x163ff2(0x186)][_0x163ff2(0x199)](),'tableId':this[_0x163ff2(0x10f)]['getId'](),'viewId':this[_0x163ff2(0x18a)],'sort':_0x24fac0});}[_0x2ffc26(0x195)](){const _0x5f16c4=_0x2ffc26;var _0x5663ee;return(_0x5663ee=this[_0x5f16c4(0x171)]()[_0x5f16c4(0x190)])==null?[]:_0x5663ee;}[_0x2ffc26(0x17d)](_0x39084d){const _0x1d82a5=_0x2ffc26;return this['_injector'][_0x1d82a5(0x16a)](_0x51ac63)[_0x1d82a5(0x1cb)](_0x94e848['id'],{'unitId':this[_0x1d82a5(0x186)][_0x1d82a5(0x199)](),'tableId':this['_table']['getId'](),'viewId':this[_0x1d82a5(0x18a)],'group':_0x39084d});}[_0x2ffc26(0x1c8)](_0x642cba){const _0x44eda8=_0x2ffc26;var _0x24a5d0,_0x250e47;return(_0x24a5d0=(_0x250e47=this[_0x44eda8(0x171)]()[_0x44eda8(0x16d)])==null?void 0x0:_0x250e47[_0x642cba])==null?{}:_0x24a5d0;}['getVisibleFields'](){const _0x3d7bc4=_0x2ffc26;var _0x5e08a4;let _0x2f0a47=this['_table'][_0x3d7bc4(0xfe)](),_0x285cf0=this['_getView']();return((_0x5e08a4=_0x285cf0[_0x3d7bc4(0x108)])==null?_0x2f0a47['fieldOrder']:_0x5e08a4)['filter'](_0x504810=>{const _0x3cfe9d=_0x3d7bc4;var _0x704e4d;return _0x2f0a47[_0x3cfe9d(0x191)][_0x504810]&&!(!((_0x704e4d=_0x285cf0[_0x3cfe9d(0x16d)])==null||(_0x704e4d=_0x704e4d[_0x504810])==null)&&_0x704e4d['hidden']);})[_0x3d7bc4(0x133)](_0x146f38=>this[_0x3d7bc4(0x1b0)][_0x3d7bc4(0xfd)](U,this[_0x3d7bc4(0x186)],this[_0x3d7bc4(0x10f)],_0x146f38,this['_injector']));}[_0x2ffc26(0x1c6)](_0x26c99b,_0x36caea){const _0x123226=_0x2ffc26;return this['_injector'][_0x123226(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x46c04d['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x123226(0x10f)][_0x123226(0x199)](),'viewId':this[_0x123226(0x18a)],'fieldId':_0x26c99b,'visible':_0x36caea});}[_0x2ffc26(0x107)](_0x11f925,_0xed9711){const _0x2d7872=_0x2ffc26;return this[_0x2d7872(0x1b0)][_0x2d7872(0x16a)](_0x51ac63)[_0x2d7872(0x1cb)](_0x1addbe['id'],{'unitId':this[_0x2d7872(0x186)]['getId'](),'tableId':this[_0x2d7872(0x10f)]['getId'](),'viewId':this[_0x2d7872(0x18a)],'fieldId':_0x11f925,'width':_0xed9711});}[_0x2ffc26(0x196)](_0x5bba76,_0x3a0b15){const _0x17d65d=_0x2ffc26;return this['_injector'][_0x17d65d(0x16a)](_0x51ac63)[_0x17d65d(0x1cb)](_0x422701['id'],{'unitId':this[_0x17d65d(0x186)][_0x17d65d(0x199)](),'tableId':this[_0x17d65d(0x10f)]['getId'](),'viewId':this[_0x17d65d(0x18a)],'fieldId':_0x5bba76,'target':_0x3a0b15});}[_0x2ffc26(0x1a1)](_0x53a6a1){const _0x1413ba=_0x2ffc26;return this['_injector'][_0x1413ba(0x16a)](_0x51ac63)[_0x1413ba(0x1cb)](_0x637c4d['id'],{'unitId':this[_0x1413ba(0x186)][_0x1413ba(0x199)](),'tableId':this[_0x1413ba(0x10f)][_0x1413ba(0x199)](),'viewId':this[_0x1413ba(0x18a)],'target':_0x53a6a1});}['delete'](){const _0x14c9e7=_0x2ffc26;return this['_injector'][_0x14c9e7(0x16a)](_0x51ac63)[_0x14c9e7(0x1cb)](_0x3e9dcd['id'],{'unitId':this[_0x14c9e7(0x186)][_0x14c9e7(0x199)](),'tableId':this[_0x14c9e7(0x10f)][_0x14c9e7(0x199)](),'viewId':this['_viewId']});}[_0x2ffc26(0xf2)](){const _0x152278=_0x2ffc26;return this[_0x152278(0x1b0)][_0x152278(0x16a)](_0x12b6eb)['getProjection'](this[_0x152278(0x186)]['getBase']()[_0x152278(0x15c)](),this[_0x152278(0x10f)][_0x152278(0x199)](),this[_0x152278(0x18a)]);}[_0x2ffc26(0x171)](){const _0x40ed07=_0x2ffc26;let _0x2e4050=this[_0x40ed07(0x10f)][_0x40ed07(0xfe)]()[_0x40ed07(0x118)][this[_0x40ed07(0x18a)]];if(!_0x2e4050)throw Error(_0x40ed07(0x10e)+this[_0x40ed07(0x18a)]+_0x40ed07(0xfc));return _0x2e4050;}},X=class{constructor(_0x175c7f,_0x5f0e68,_0x3e23a6){const _0x635753=_0x2ffc26;this[_0x635753(0x186)]=_0x175c7f,this[_0x635753(0x165)]=_0x5f0e68,this[_0x635753(0x1b0)]=_0x3e23a6;}[_0x2ffc26(0x1a5)](){const _0x4c5a1e=_0x2ffc26;return this[_0x4c5a1e(0x186)][_0x4c5a1e(0x1a5)]();}[_0x2ffc26(0xfe)](){const _0x1c1080=_0x2ffc26;return this[_0x1c1080(0x161)]();}[_0x2ffc26(0x199)](){const _0x1ac9fe=_0x2ffc26;return this[_0x1ac9fe(0x165)];}[_0x2ffc26(0x1bb)](){const _0x122f50=_0x2ffc26;return this[_0x122f50(0x161)]()[_0x122f50(0x14d)];}[_0x2ffc26(0x15e)](_0x9828d6){const _0x159503=_0x2ffc26;return this['_injector']['get'](_0x51ac63)[_0x159503(0x1cb)](_0x4fcea0['id'],{'unitId':this[_0x159503(0x186)][_0x159503(0x199)](),'tableId':this[_0x159503(0x165)],'name':_0x9828d6});}['search'](_0xb01cb9,_0x16496a){const _0x73b48a=_0x2ffc26;var _0x9a77c2;let _0xd5850a=this[_0x73b48a(0x1b0)][_0x73b48a(0x16a)](_0x12b6eb),_0x52db22=this[_0x73b48a(0x186)][_0x73b48a(0x1a5)]()[_0x73b48a(0x15c)](),_0x10c8d6=this['_getTable']();if(_0x16496a){var _0xe3020c;let _0x40432e=_0xd5850a[_0x73b48a(0xf2)](_0x52db22,this[_0x73b48a(0x165)],_0x16496a),_0x488386=_0x10c8d6[_0x73b48a(0x118)][_0x16496a],_0x5166bf=(_0xe3020c=_0xb01cb9['fieldIds'])==null?he(_0x10c8d6,_0x488386,_0x40432e):_0xe3020c,_0x3a7c2f=_0x73b48a(0x1bf)in _0x40432e&&Array[_0x73b48a(0x163)](_0x40432e[_0x73b48a(0x1bf)])?_0x40432e[_0x73b48a(0x1bf)]:[];return _0x45eb7c({..._0xb01cb9,'table':_0x10c8d6,'fieldIds':_0x5166bf,'rows':_0x3a7c2f});}let _0x33d096=(_0x10c8d6[_0x73b48a(0x1b2)]?_0x10c8d6[_0x73b48a(0x1b2)][_0x73b48a(0x133)](_0x26094f=>_0x10c8d6[_0x73b48a(0x18c)][_0x26094f]):Object[_0x73b48a(0x11b)](_0x10c8d6[_0x73b48a(0x18c)])[_0x73b48a(0x130)]((_0x1d42b6,_0x28a1e9)=>_0x1d42b6[_0x73b48a(0x16f)]['localeCompare'](_0x28a1e9[_0x73b48a(0x16f)])))[_0x73b48a(0x100)](_0x479896=>_0x479896)[_0x73b48a(0x133)](_0x250af4=>({'recordId':_0x250af4['id'],'values':_0x250af4[_0x73b48a(0x11b)]})),_0x279869=(_0x9a77c2=_0xb01cb9[_0x73b48a(0x187)])==null?_0x10c8d6[_0x73b48a(0x108)][_0x73b48a(0x100)](_0x564282=>_0x10c8d6[_0x73b48a(0x191)][_0x564282]):_0x9a77c2;return _0x45eb7c({..._0xb01cb9,'table':_0x10c8d6,'fieldIds':_0x279869,'rows':_0x33d096});}[_0x2ffc26(0x121)](){const _0x4d024d=_0x2ffc26;return this[_0x4d024d(0x161)]()[_0x4d024d(0x1c0)];}[_0x2ffc26(0x143)](){const _0x205e8e=_0x2ffc26;let _0x2f645f=this[_0x205e8e(0x161)]();return _0x2f645f[_0x205e8e(0x108)]['map'](_0x4924cf=>_0x2f645f[_0x205e8e(0x191)][_0x4924cf])[_0x205e8e(0x100)](_0x1e953b=>_0x1e953b)[_0x205e8e(0x133)](_0x11bbad=>this['_injector'][_0x205e8e(0xfd)](U,this['_base'],this,_0x11bbad['id'],this[_0x205e8e(0x1b0)]));}[_0x2ffc26(0x183)](_0x5d4677){const _0xad88aa=_0x2ffc26;let _0x12db21=this[_0xad88aa(0x161)]()[_0xad88aa(0x191)][_0x5d4677];return _0x12db21?this[_0xad88aa(0x1b0)][_0xad88aa(0xfd)](U,this[_0xad88aa(0x186)],this,_0x12db21['id'],this[_0xad88aa(0x1b0)]):null;}[_0x2ffc26(0x1a6)](_0x4ddfd1){const _0x1e59f0=_0x2ffc26;let _0x2cd43b=this[_0x1e59f0(0x161)]()[_0x1e59f0(0x191)],_0x153663=Object[_0x1e59f0(0x11b)](_0x2cd43b)[_0x1e59f0(0xf5)](_0x49d177=>_0x49d177[_0x1e59f0(0x14d)]===_0x4ddfd1);return _0x153663?this[_0x1e59f0(0x1b0)][_0x1e59f0(0xfd)](U,this[_0x1e59f0(0x186)],this,_0x153663['id'],this['_injector']):null;}['getPrimaryField'](){const _0x54e82f=_0x2ffc26;let _0x34be2e=this[_0x54e82f(0x161)]()[_0x54e82f(0x1c0)];return this[_0x54e82f(0x1b0)]['createInstance'](U,this['_base'],this,_0x34be2e,this[_0x54e82f(0x1b0)]);}['addField'](_0x20ca3f,_0x480a9d,_0x1d4764){const _0x552a9b=_0x2ffc26;var _0x36ee53;let _0x28fb67=this['_injector']['get'](_0x51ac63),_0x52f234=(_0x36ee53=_0x1d4764==null?void 0x0:_0x1d4764[_0x552a9b(0x185)])==null?{}:_0x36ee53;if(_0x52f234['id']=_0x4bcfb3(0x6),_0x52f234[_0x552a9b(0x14d)]=_0x20ca3f,_0x52f234[_0x552a9b(0x138)]=_0x480a9d,!_0x52f234[_0x552a9b(0x138)])throw Error(_0x552a9b(0x140));if(_0x52f234[_0x552a9b(0x1d2)]||(_0x52f234[_0x552a9b(0x1d2)]={}),!_0x28fb67[_0x552a9b(0x1cb)](_0x33b9a5['id'],{'unitId':this[_0x552a9b(0x186)][_0x552a9b(0x199)](),'tableId':this['_tableId'],'field':_0x52f234,'index':_0x1d4764==null?void 0x0:_0x1d4764['index']}))throw Error(_0x552a9b(0x17a)+_0x20ca3f+'\x22');return this[_0x552a9b(0x1b0)][_0x552a9b(0xfd)](U,this['_base'],this,_0x52f234['id'],this[_0x552a9b(0x1b0)]);}[_0x2ffc26(0x19f)](){const _0x55ba9b=_0x2ffc26;return this[_0x55ba9b(0x153)]()[_0x55ba9b(0x133)](_0x35d322=>this[_0x55ba9b(0x1b0)][_0x55ba9b(0xfd)](J,this['_base'],this,_0x35d322,this[_0x55ba9b(0x1b0)]));}[_0x2ffc26(0x134)](_0x106448){const _0x5dc849=_0x2ffc26;return this[_0x5dc849(0x161)]()['records'][_0x106448]?this['_injector'][_0x5dc849(0xfd)](J,this[_0x5dc849(0x186)],this,_0x106448,this[_0x5dc849(0x1b0)]):null;}[_0x2ffc26(0x1b6)](_0x18d743={}){const _0x463535=_0x2ffc26;var _0x5c681f;let _0x1f4f50=this[_0x463535(0x161)](),_0x22cc8f=this['_resolveRecordIds'](_0x18d743),_0x1e7ff8=Math[_0x463535(0x103)](0x0,(_0x5c681f=_0x18d743[_0x463535(0x1a8)])==null?0x0:_0x5c681f),_0x24d649=_0x18d743[_0x463535(0x1aa)]==null?null:Math[_0x463535(0x103)](0x0,_0x18d743[_0x463535(0x1aa)]),_0x43c44e=ue(_0x22cc8f['map'](_0x2bc42b=>_0x1f4f50['records'][_0x2bc42b])[_0x463535(0x100)](_0x3af814=>fe(_0x3af814,_0x1f4f50,_0x18d743[_0x463535(0x100)])),_0x1f4f50,_0x18d743[_0x463535(0x130)]);return{'records':le(_0x43c44e,_0x18d743)['map'](_0x203ddc=>this[_0x463535(0x1b0)][_0x463535(0xfd)](J,this[_0x463535(0x186)],this,_0x203ddc['id'],this['_injector'])),'total':_0x43c44e[_0x463535(0x18f)],'offset':_0x1e7ff8,'limit':_0x24d649,'hasMore':_0x24d649!=null&&_0x1e7ff8+_0x24d649<_0x43c44e[_0x463535(0x18f)]};}[_0x2ffc26(0x13d)](_0x463f85,_0x3a8a55='id',_0xfdb5a6){const _0x52dcc3=_0x2ffc26;let _0x9acea3=this[_0x52dcc3(0x1b0)]['get'](_0x51ac63),_0x1e29c5=this['_getTable'](),_0x1f22fc=_0xfdb5a6==null?{}:_0xfdb5a6;_0x1f22fc['id']=_0x4bcfb3(0x6),_0x1f22fc['values']=K(_0x1e29c5,_0x463f85,_0x3a8a55);let _0x3aa2b4=Date[_0x52dcc3(0xf1)]();if(_0x1f22fc[_0x52dcc3(0x16f)]||(_0x1f22fc[_0x52dcc3(0x16f)]=''+_0x3aa2b4),_0x1f22fc[_0x52dcc3(0x142)]||(_0x1f22fc[_0x52dcc3(0x142)]=_0x3aa2b4),_0x1f22fc['updatedAt']||(_0x1f22fc[_0x52dcc3(0x109)]=_0x3aa2b4),!_0x9acea3['syncExecuteCommand'](_0x2cce42['id'],{'unitId':this[_0x52dcc3(0x186)][_0x52dcc3(0x199)](),'tableId':this[_0x52dcc3(0x165)],'record':_0x1f22fc}))throw Error(_0x52dcc3(0x1bc)+_0x1f22fc['id']+'\x22');return this[_0x52dcc3(0x1b0)][_0x52dcc3(0xfd)](J,this['_base'],this,_0x1f22fc['id'],this['_injector']);}['addRecords'](_0x44fe69){const _0x3c98d2=_0x2ffc26;if(!_0x44fe69[_0x3c98d2(0x18f)])return[];let _0x243ce5=this[_0x3c98d2(0x1b0)][_0x3c98d2(0x16a)](_0x51ac63),_0x39b43c=this['_getTable'](),_0xab10d=Date[_0x3c98d2(0xf1)](),_0x32c2b5=_0x44fe69[_0x3c98d2(0x133)]((_0x1d6a36,_0x346ea2)=>{const _0x27f3a9=_0x3c98d2;var _0x582309,_0x340acd;let _0x534705=(_0x582309=_0x1d6a36[_0x27f3a9(0x13c)])==null?{}:_0x582309;return _0x534705['id']=_0x4bcfb3(0x6),_0x534705['values']=K(_0x39b43c,_0x1d6a36[_0x27f3a9(0x11b)],(_0x340acd=_0x1d6a36[_0x27f3a9(0x135)])==null?'id':_0x340acd),_0x534705[_0x27f3a9(0x16f)]||(_0x534705[_0x27f3a9(0x16f)]=''+(_0xab10d+_0x346ea2)),_0x534705[_0x27f3a9(0x142)]||(_0x534705[_0x27f3a9(0x142)]=_0xab10d),_0x534705[_0x27f3a9(0x109)]||(_0x534705[_0x27f3a9(0x109)]=_0xab10d),_0x534705;});if(!_0x243ce5[_0x3c98d2(0x1cb)](_0x1c05d6['id'],{'unitId':this['_base'][_0x3c98d2(0x199)](),'tableId':this[_0x3c98d2(0x165)],'records':_0x32c2b5}))throw Error(_0x3c98d2(0x112));return _0x32c2b5['map'](_0x5e32a6=>this[_0x3c98d2(0x1b0)]['createInstance'](J,this[_0x3c98d2(0x186)],this,_0x5e32a6['id'],this[_0x3c98d2(0x1b0)]));}[_0x2ffc26(0x182)](_0x1603a4){const _0x2eb622=_0x2ffc26;return _0x1603a4[_0x2eb622(0x18f)]?this[_0x2eb622(0x1b0)][_0x2eb622(0x16a)](_0x51ac63)[_0x2eb622(0x1cb)](_0x4901b2['id'],{'unitId':this[_0x2eb622(0x186)]['getId'](),'tableId':this['_tableId'],'recordIds':_0x1603a4}):!0x0;}[_0x2ffc26(0x106)](_0x22d12c,_0x9396,_0xbbd158=0x1,_0x4f6b89=0x1){const _0x38f746=_0x2ffc26;return this[_0x38f746(0x1b0)][_0x38f746(0xfd)](W,this['_base'],this,{'startRow':_0x22d12c,'endRow':_0x22d12c+_0xbbd158-0x1,'startColumn':_0x9396,'endColumn':_0x9396+_0x4f6b89-0x1},this[_0x38f746(0x1b0)]);}['getDataRange'](){const _0xb25bf5=_0x2ffc26;var _0x514da4,_0x27d6e3;let _0x432a3a=_0x4344cf(this[_0xb25bf5(0x161)]()),_0x2b3d05=(_0x514da4=(_0x27d6e3=_0x432a3a[_0xb25bf5(0x1b2)])==null?void 0x0:_0x27d6e3[_0xb25bf5(0x18f)])==null?0x0:_0x514da4,_0x2e7439=_0x432a3a[_0xb25bf5(0x108)][_0xb25bf5(0x18f)];return this['getRange'](0x0,0x0,Math['max'](_0x2b3d05,0x1),Math['max'](_0x2e7439,0x1));}[_0x2ffc26(0x1ab)](){const _0x4e5e3d=_0x2ffc26;let _0xb4ba5d=this[_0x4e5e3d(0x161)]();return _0xb4ba5d[_0x4e5e3d(0xf3)][_0x4e5e3d(0x100)](_0x5e416f=>_0xb4ba5d['views'][_0x5e416f])[_0x4e5e3d(0x133)](_0x276bdd=>this['_injector'][_0x4e5e3d(0xfd)](Y,this[_0x4e5e3d(0x186)],this,_0x276bdd,this[_0x4e5e3d(0x1b0)]));}[_0x2ffc26(0x156)](_0x24f1f0){const _0x2921ef=_0x2ffc26;return this[_0x2921ef(0x161)]()[_0x2921ef(0x118)][_0x24f1f0]?this['_injector'][_0x2921ef(0xfd)](Y,this[_0x2921ef(0x186)],this,_0x24f1f0,this[_0x2921ef(0x1b0)]):null;}[_0x2ffc26(0x1c2)](_0x4eeeb2){const _0x3293c6=_0x2ffc26;let _0x392bf3=this['_getTable'](),_0x4008aa=Object[_0x3293c6(0x11b)](_0x392bf3[_0x3293c6(0x118)])[_0x3293c6(0xf5)](_0x5bb0b=>_0x5bb0b['name']===_0x4eeeb2);return _0x4008aa?this[_0x3293c6(0x1b0)]['createInstance'](Y,this[_0x3293c6(0x186)],this,_0x4008aa['id'],this[_0x3293c6(0x1b0)]):null;}['createView'](_0x1e5ca5,_0x3a2c51,_0x1ff1a9){const _0x31ac7b=_0x2ffc26;var _0xc6cd34;let _0x159e07=this[_0x31ac7b(0x1b0)][_0x31ac7b(0x16a)](_0x51ac63),_0x32b3ca=this[_0x31ac7b(0x161)](),_0x2aad10=(_0xc6cd34=_0x1ff1a9==null?void 0x0:_0x1ff1a9['view'])==null?{}:_0xc6cd34;if(_0x2aad10['id']=_0x4bcfb3(0x6),_0x2aad10[_0x31ac7b(0x14d)]=_0x1e5ca5,_0x2aad10[_0x31ac7b(0x138)]=_0x3a2c51,_0x2aad10[_0x31ac7b(0xf4)]=this[_0x31ac7b(0x165)],!_0x2aad10[_0x31ac7b(0x138)])throw Error(_0x31ac7b(0xf8));if(_0x2aad10[_0x31ac7b(0x1d2)]||(_0x2aad10[_0x31ac7b(0x1d2)]={}),_0x2aad10[_0x31ac7b(0x108)]||(_0x2aad10[_0x31ac7b(0x108)]=[..._0x32b3ca[_0x31ac7b(0x108)]]),!_0x159e07[_0x31ac7b(0x1cb)](_0x30e023['id'],{'unitId':this[_0x31ac7b(0x186)][_0x31ac7b(0x199)](),'tableId':this[_0x31ac7b(0x165)],'view':_0x2aad10,'index':_0x1ff1a9==null?void 0x0:_0x1ff1a9[_0x31ac7b(0x1b4)]}))throw Error(_0x31ac7b(0x18d)+_0x1e5ca5+'\x22');return this[_0x31ac7b(0x1b0)][_0x31ac7b(0xfd)](Y,this[_0x31ac7b(0x186)],this,_0x2aad10['id'],this['_injector']);}[_0x2ffc26(0x13b)](){const _0x5624e5=_0x2ffc26;let _0x34a9ca=this[_0x5624e5(0x161)](),_0xa3538b=_0x34a9ca[_0x5624e5(0x108)][_0x5624e5(0x100)](_0x222ac9=>_0x34a9ca[_0x5624e5(0x191)][_0x222ac9]),_0x46298d=_0x34a9ca['viewOrder'][_0x5624e5(0x100)](_0x3023e2=>_0x34a9ca[_0x5624e5(0x118)][_0x3023e2]);return{'id':_0x34a9ca['id'],'name':_0x34a9ca[_0x5624e5(0x14d)],'primaryFieldId':_0x34a9ca[_0x5624e5(0x1c0)],'fieldIds':_0xa3538b,'viewIds':_0x46298d,'recordCount':this[_0x5624e5(0x153)]()['length'],'fields':_0xa3538b[_0x5624e5(0x133)](_0x585bfc=>{const _0x28cc5a=_0x5624e5;let _0x47a52f=_0x34a9ca[_0x28cc5a(0x191)][_0x585bfc];return{'id':_0x47a52f['id'],'name':_0x47a52f[_0x28cc5a(0x14d)],'type':_0x47a52f['type'],'config':_0x47a52f[_0x28cc5a(0x1d2)],'readonly':_0x47a52f[_0x28cc5a(0x123)],'description':_0x47a52f['description']};}),'views':_0x46298d[_0x5624e5(0x133)](_0x4fb9f3=>{const _0x48205d=_0x5624e5;let _0x94dc4c=_0x34a9ca['views'][_0x4fb9f3];return{'id':_0x94dc4c['id'],'name':_0x94dc4c[_0x48205d(0x14d)],'type':_0x94dc4c['type']};})};}[_0x2ffc26(0x161)](){const _0x70f8e7=_0x2ffc26;let _0x567627=this[_0x70f8e7(0x186)][_0x70f8e7(0x1a5)]()[_0x70f8e7(0x15c)]()[_0x70f8e7(0x125)][this[_0x70f8e7(0x165)]];if(!_0x567627)throw Error('[FTable]:\x20table\x20\x22'+this[_0x70f8e7(0x165)]+_0x70f8e7(0xfc));return _0x567627;}[_0x2ffc26(0x153)](_0x3fb03e={}){const _0x1fe8f6=_0x2ffc26;let _0x88eafd=this[_0x1fe8f6(0x1b0)][_0x1fe8f6(0x16a)](_0x12b6eb),_0x172277=this[_0x1fe8f6(0x186)][_0x1fe8f6(0x1a5)]()['getSnapshot'](),_0x4e45d2=this['_getTable']();if(_0x3fb03e[_0x1fe8f6(0x12d)]){let _0x19cf2c=_0x88eafd['getProjection'](_0x172277,this[_0x1fe8f6(0x165)],_0x3fb03e[_0x1fe8f6(0x12d)]);if(_0x1fe8f6(0x1bf)in _0x19cf2c&&Array['isArray'](_0x19cf2c[_0x1fe8f6(0x1bf)]))return _0x19cf2c[_0x1fe8f6(0x1bf)][_0x1fe8f6(0x133)](_0x158595=>_0x158595[_0x1fe8f6(0x14f)]);}return(_0x4e45d2['recordOrder']?_0x4e45d2[_0x1fe8f6(0x1b2)][_0x1fe8f6(0x133)](_0x26512b=>_0x4e45d2[_0x1fe8f6(0x18c)][_0x26512b]):Object[_0x1fe8f6(0x11b)](_0x4e45d2[_0x1fe8f6(0x18c)])[_0x1fe8f6(0x130)]((_0x407b4b,_0x39f8d9)=>_0x407b4b[_0x1fe8f6(0x16f)][_0x1fe8f6(0x1c9)](_0x39f8d9[_0x1fe8f6(0x16f)])))[_0x1fe8f6(0x100)](_0x1c7f7d=>_0x1c7f7d)['map'](_0x5a7c79=>_0x5a7c79['id']);}};function le(_0x24c65a,_0x5eabba){const _0x5ba0a5=_0x2ffc26;var _0x1a62bb;let _0x4a3a47=Math[_0x5ba0a5(0x103)](0x0,(_0x1a62bb=_0x5eabba['offset'])==null?0x0:_0x1a62bb);return _0x5eabba[_0x5ba0a5(0x1aa)]==null?_0x24c65a[_0x5ba0a5(0x1b5)](_0x4a3a47):_0x24c65a[_0x5ba0a5(0x1b5)](_0x4a3a47,_0x4a3a47+Math['max'](0x0,_0x5eabba[_0x5ba0a5(0x1aa)]));}function ue(_0x140db7,_0x2b43e6,_0x5fe2e8=[]){const _0x2c8111=_0x2ffc26;return _0x5fe2e8['length']?[..._0x140db7][_0x2c8111(0x130)]((_0x470967,_0x2cb025)=>{const _0x4bd215=_0x2c8111;var _0x544d8e,_0x5b7dff;for(let _0x2b32d1 of _0x5fe2e8){var _0x1d2170;let _0x8864a6=_0x2b32d1[_0x4bd215(0x1a4)]===_0x482ea7[_0x4bd215(0x174)]?-0x1:0x1,_0x26380e=de(_0x470967[_0x4bd215(0x11b)][_0x2b32d1['fieldId']],_0x2cb025[_0x4bd215(0x11b)][_0x2b32d1[_0x4bd215(0x120)]],(_0x1d2170=_0x2b43e6['fields'][_0x2b32d1[_0x4bd215(0x120)]])==null?void 0x0:_0x1d2170[_0x4bd215(0x138)]);if(_0x26380e!==0x0)return _0x26380e*_0x8864a6;}return String((_0x544d8e=_0x470967['orderKey'])==null?_0x470967['id']:_0x544d8e)[_0x4bd215(0x1c9)](String((_0x5b7dff=_0x2cb025[_0x4bd215(0x16f)])==null?_0x2cb025['id']:_0x5b7dff));}):_0x140db7;}function de(_0xf17b2,_0x94df6b,_0x556e03){const _0x1afb0a=_0x2ffc26;return _0xf17b2==null&&_0x94df6b==null?0x0:_0xf17b2==null?-0x1:_0x94df6b==null?0x1:typeof _0xf17b2=='number'&&typeof _0x94df6b==_0x1afb0a(0x139)?_0xf17b2-_0x94df6b:_0x556e03===_0x501578[_0x1afb0a(0x19e)]?Number(_0xf17b2)-Number(_0x94df6b):String(_0xf17b2)['localeCompare'](String(_0x94df6b));}function fe(_0x141f90,_0x4884a0,_0x5c5777){const _0x44cb82=_0x2ffc26;var _0x51998b;if(!_0x5c5777||!((_0x51998b=_0x5c5777[_0x44cb82(0x181)])!=null&&_0x51998b['length']))return!0x0;let {conjunction:_0x59a359=_0x34cdfb['OR'],conditions:_0x344fc8}=_0x5c5777;return _0x59a359===_0x34cdfb[_0x44cb82(0x11f)]&&_0x344fc8[_0x44cb82(0x18f)]>0x1?_0x344fc8['every'](_0x2fe33a=>Z(_0x141f90,_0x4884a0,_0x2fe33a)):_0x344fc8[_0x44cb82(0x132)](_0x2ae228=>Z(_0x141f90,_0x4884a0,_0x2ae228));}function Z(_0x2eb0cd,_0x481f87,_0x1839d3){const _0x31ab37=_0x2ffc26;let _0x3998db=_0x2eb0cd[_0x31ab37(0x11b)][_0x1839d3[_0x31ab37(0x120)]],_0x5a9f66=_0x481f87[_0x31ab37(0x191)][_0x1839d3[_0x31ab37(0x120)]];if(pe(_0x1839d3)){let _0x398ea2=me(_0x1839d3)['test'](String(_0x3998db==null?'':_0x3998db));return _0x1839d3[_0x31ab37(0x122)]==='matches'?_0x398ea2:!_0x398ea2;}return _0x5a9f66?_0x5f093b(_0x3998db,_0x1839d3[_0x31ab37(0x122)],_0x1839d3[_0x31ab37(0x1d5)],_0x5a9f66):!0x0;}function pe(_0x310e86){const _0x503b24=_0x2ffc26;return _0x310e86[_0x503b24(0x122)]===_0x503b24(0x149)||_0x310e86[_0x503b24(0x122)]===_0x503b24(0x13a);}function _0x592a(_0x4eafbb,_0x58ea44){_0x4eafbb=_0x4eafbb-0xf1;const _0x153fd2=_0x153f();let _0x592a1e=_0x153fd2[_0x4eafbb];return _0x592a1e;}function _0x153f(){const _0xc948b4=['getFieldSettings','localeCompare','Base\x20field\x20not\x20found:\x20','syncExecuteCommand','Failed\x20to\x20duplicate\x20table\x20\x22','BeforeBaseTableFieldCreate','_fieldId','[FBaseRange]:\x20values\x20size\x20','getTables','fireEvent','config','getDescription','from','value','getAllUnitsForType','now','getProjection','viewOrder','tableId','find','colId','\x20exceeds\x20range\x20size\x20','View\x20type\x20is\x20required','BaseFilterConjunction','getRecord','[FField]:\x20field\x20\x22','\x22\x20does\x20not\x20exist.','createInstance','getTable','getOwnPropertyDescriptor','filter','4755830DFJuue','createBase','max','Failed\x20to\x20delete\x20table\x20\x22','hidden','getRange','setFieldWidth','fieldOrder','updatedAt','invalid','getTableByName','setFilter',',\x20range:\x20','[FView]:\x20view\x20\x22','_table','push','getConfig','Failed\x20to\x20add\x20records','BeforeBaseTableCreate','getDefaultValue','getSort','24918CPxeoi','beforeCommandExecuted','views','BaseFieldKeyEnum','setOrderKey','values','_initialize','181920jZLhTA','duplicate','AND','fieldId','getPrimaryFieldId','operator','readonly','Event','tables','Calendar','changeType','_getField','64PVCqKv','cancel','stringify','[FRecord]:\x20record\x20\x22','viewId','startColumn','getActiveBase','sort','getValues','some','map','getRecordById','fieldKey','function','registerEventHandler','type','number','notMatches','getSchema','record','addRecord','[FBase]:\x20table\x20\x22','setDefaultValue','Field\x20type\x20is\x20required','setValue','createdAt','getFields','_getRecord','includeRecords','object','_range','endColumn','matches','setConfig','BaseTableCellValueChanged','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','name','BaseFilterOperator','recordId','1820645fTJJjD','onCommandExecuted','BaseTableFieldCreated','_resolveRecordIds','Gallery','visibleCardFieldIds','getViewById','_recordId','BaseViewType','[FBaseRange]:\x20table\x20does\x20not\x20exist.','decorate','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','getSnapshot','BaseSortDirection','setName','endRow','save','_getTable','tableOrder','isArray','deepClone','_tableId','setValues','BaseTableCreated','Auto','extend','get','commonExtend','BeforeBaseTableCellValueChange','fieldSettings','UNIVER_BASE','orderKey','BaseTableViewCreated','_getView',',\x20max\x20columns:\x20','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','DESC','flatMap','1386BbdNkN','getRow','entries','_initBaseBeforeEvents','Failed\x20to\x20add\x20field\x20\x22','getField','forEach','setGroup','caseSensitive','BeforeBaseTableRecordCreate','_inject','conditions','deleteRecords','getFieldById','setSort','field','_base','fieldIds','disposeWithMe','20FLGASZ','_viewId','defaultValue','records','Failed\x20to\x20create\x20view\x20\x22','duplicateTable','length','group','fields','309438rBVtZW','getNumRows','55WBjbpN','getGroup','moveField','primaryFieldName','auto','getId','Failed\x20to\x20create\x20table\x20\x22','3979732pkcOvy','deleteTable','getValue','Date','getRecords','getUnitId','move','getUnit','startRow','direction','getBase','getFieldByName','BaseTableRecordCreated','offset','Kanban','limit','getViews','_assertInBounds','string','params','Gantt','_injector','Invalid\x20Base\x20regex\x20filter:\x20','recordOrder','clear','index','slice','queryRecords','getType','getNumColumns','delete','getFilter','getName','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','Grid','_initBaseAfterEvents','rows','primaryFieldId','Duplicate\x20Base\x20field\x20name:\x20','getViewByName','BeforeBaseTableViewCreate','update','388608ByLxFx','setFieldVisible','getTableById'];_0x153f=function(){return _0xc948b4;};return _0x153f();}function me(_0x4d778f){const _0x5b1e12=_0x2ffc26;var _0x4d965b;let _0x420a06=String((_0x4d965b=_0x4d778f['value'])==null?'':_0x4d965b);if(_0x420a06[_0x5b1e12(0x18f)]>0x200)throw Error(_0x5b1e12(0x14c));try{return new RegExp(_0x420a06,_0x4d778f[_0x5b1e12(0x17e)]?void 0x0:'i');}catch(_0x2daad2){throw Error(_0x5b1e12(0x1b1)+_0x420a06+'.\x20'+(_0x2daad2 instanceof Error?_0x2daad2['message']:String(_0x2daad2)));}}function he(_0x3d690e,_0x575a6f,_0x1a7dcd){const _0x126ca1=_0x2ffc26;if(_0x1a7dcd[_0x126ca1(0x138)]!==_0x126ca1(0x10a)){var _0x7fa584;if(_0x1a7dcd[_0x126ca1(0x138)]===_0x4e016d[_0x126ca1(0x1a9)]){var _0x4ddb8a,_0x6309d5,_0x5beeec;let _0x99138a=[(_0x4ddb8a=(_0x6309d5=_0x1a7dcd[_0x126ca1(0x191)])==null||(_0x6309d5=_0x6309d5[0x0])==null?void 0x0:_0x6309d5['id'])==null?_0x3d690e['primaryFieldId']:_0x4ddb8a,...(_0x5beeec=_0x1a7dcd[_0x126ca1(0x155)])==null?[]:_0x5beeec];return Array[_0x126ca1(0x1d4)](new Set(_0x99138a[_0x126ca1(0x100)](_0x387de9=>!!_0x3d690e[_0x126ca1(0x191)][_0x387de9])));}if((_0x7fa584=_0x1a7dcd[_0x126ca1(0x191)])!=null&&_0x7fa584[_0x126ca1(0x18f)])return _0x1a7dcd[_0x126ca1(0x191)]['map'](_0x176533=>_0x176533['id'])[_0x126ca1(0x100)](_0x40f0be=>{const _0x905c05=_0x126ca1;var _0xfba606;return!!(_0x3d690e[_0x905c05(0x191)][_0x40f0be]&&!(!(_0x575a6f==null||(_0xfba606=_0x575a6f[_0x905c05(0x16d)])==null||(_0xfba606=_0xfba606[_0x40f0be])==null)&&_0xfba606[_0x905c05(0x105)]));});}return _0x3d690e[_0x126ca1(0x108)][_0x126ca1(0x100)](_0x26f9a0=>{const _0x2aae74=_0x126ca1;var _0x381285;return!!(_0x3d690e[_0x2aae74(0x191)][_0x26f9a0]&&!(!(_0x575a6f==null||(_0x381285=_0x575a6f[_0x2aae74(0x16d)])==null||(_0x381285=_0x381285[_0x26f9a0])==null)&&_0x381285['hidden']));});}function ge(_0x11750d,_0x795e3d){return function(_0x1d6076,_0x2db7ff){_0x795e3d(_0x1d6076,_0x2db7ff,_0x11750d);};}function _e(_0x4de131,_0x3295e8,_0x2bd1f5,_0x3d733b){const _0x475b63=_0x2ffc26;var _0x5eee7c=arguments[_0x475b63(0x18f)],_0x4b7337=_0x5eee7c<0x3?_0x3295e8:_0x3d733b===null?_0x3d733b=Object[_0x475b63(0xff)](_0x3295e8,_0x2bd1f5):_0x3d733b,_0x308c81;if(typeof Reflect==_0x475b63(0x146)&&typeof Reflect[_0x475b63(0x15a)]==_0x475b63(0x136))_0x4b7337=Reflect[_0x475b63(0x15a)](_0x4de131,_0x3295e8,_0x2bd1f5,_0x3d733b);else{for(var _0x289208=_0x4de131[_0x475b63(0x18f)]-0x1;_0x289208>=0x0;_0x289208--)(_0x308c81=_0x4de131[_0x289208])&&(_0x4b7337=(_0x5eee7c<0x3?_0x308c81(_0x4b7337):_0x5eee7c>0x3?_0x308c81(_0x3295e8,_0x2bd1f5,_0x4b7337):_0x308c81(_0x3295e8,_0x2bd1f5))||_0x4b7337);}return _0x5eee7c>0x3&&_0x4b7337&&Object['defineProperty'](_0x3295e8,_0x2bd1f5,_0x4b7337),_0x4b7337;}let Q=class{constructor(_0x101089,_0x564d26){const _0x22c6d7=_0x2ffc26;this[_0x22c6d7(0x186)]=_0x101089,this[_0x22c6d7(0x1b0)]=_0x564d26;}['getBase'](){return this['_base'];}[_0x2ffc26(0x199)](){const _0x56d9dd=_0x2ffc26;return this[_0x56d9dd(0x186)][_0x56d9dd(0x1a0)]();}[_0x2ffc26(0x160)](){const _0x13ddba=_0x2ffc26;return _0x42f22d[_0x13ddba(0x164)](this[_0x13ddba(0x186)][_0x13ddba(0x15c)]());}[_0x2ffc26(0x1bb)](){return this['_base']['getSnapshot']()['name'];}[_0x2ffc26(0x15e)](_0x231701){const _0xe50b74=_0x2ffc26;this['_injector'][_0xe50b74(0x16a)](_0x51ac63)[_0xe50b74(0x1cb)](_0x3a982d['id'],{'unitId':this[_0xe50b74(0x199)](),'name':_0x231701});}['getTables'](){const _0x3c1f78=_0x2ffc26;let _0x4a13c6=this[_0x3c1f78(0x186)][_0x3c1f78(0x15c)]();return _0x4a13c6[_0x3c1f78(0x162)][_0x3c1f78(0x133)](_0x8ea5eb=>_0x4a13c6[_0x3c1f78(0x125)][_0x8ea5eb])[_0x3c1f78(0x100)](_0x3f7d7c=>_0x3f7d7c)[_0x3c1f78(0x133)](_0x239ec8=>this[_0x3c1f78(0x1b0)]['createInstance'](X,this,_0x239ec8['id'],this['_injector']));}[_0x2ffc26(0x1c7)](_0xee241a){const _0x5aece2=_0x2ffc26;let _0x25e672=this[_0x5aece2(0x186)][_0x5aece2(0x15c)]()[_0x5aece2(0x125)][_0xee241a];return _0x25e672?this['_injector'][_0x5aece2(0xfd)](X,this,_0x25e672['id'],this['_injector']):null;}[_0x2ffc26(0x10b)](_0x2c4a87){const _0xfdf2ce=_0x2ffc26;let _0x58b6fb=this['_base'][_0xfdf2ce(0x15c)](),_0x5470f0=Object[_0xfdf2ce(0x11b)](_0x58b6fb[_0xfdf2ce(0x125)])[_0xfdf2ce(0xf5)](_0x3c5898=>_0x3c5898[_0xfdf2ce(0x14d)]===_0x2c4a87);return _0x5470f0?this[_0xfdf2ce(0x1b0)][_0xfdf2ce(0xfd)](X,this,_0x5470f0['id'],this[_0xfdf2ce(0x1b0)]):null;}['insertTable'](_0x29a840,_0x26ae2e){const _0x1c62a4=_0x2ffc26;var _0x14f02e;let _0x2d7ed7=this[_0x1c62a4(0x1b0)][_0x1c62a4(0x16a)](_0x51ac63),_0x27a1a2=_0x4a23df({'id':_0x4bcfb3(),'name':_0x29a840,..._0x26ae2e==null?void 0x0:_0x26ae2e['table'],'primaryFieldName':_0x26ae2e==null?void 0x0:_0x26ae2e[_0x1c62a4(0x197)]}),_0x220805=_0x42f22d[_0x1c62a4(0x16b)](_0x27a1a2,(_0x14f02e=_0x26ae2e==null?void 0x0:_0x26ae2e['table'])==null?{}:_0x14f02e);if(!_0x2d7ed7[_0x1c62a4(0x1cb)](_0x374462['id'],{'unitId':this[_0x1c62a4(0x186)][_0x1c62a4(0x1a0)](),'table':_0x220805,'index':_0x26ae2e==null?void 0x0:_0x26ae2e['index']}))throw Error(_0x1c62a4(0x19a)+_0x29a840+'\x22.');return this['_injector'][_0x1c62a4(0xfd)](X,this,_0x220805['id'],this['_injector']);}[_0x2ffc26(0x19c)](_0x4713b7){const _0x1c7aaf=_0x2ffc26;let _0x37247e=this[_0x1c7aaf(0x1b0)]['get'](_0x51ac63),_0x267948=typeof _0x4713b7==_0x1c7aaf(0x1ad)?_0x4713b7:_0x4713b7[_0x1c7aaf(0x199)]();if(!_0x37247e[_0x1c7aaf(0x1cb)](_0x411971['id'],{'unitId':this[_0x1c7aaf(0x186)]['getUnitId'](),'tableId':_0x267948}))throw Error(_0x1c7aaf(0x104)+_0x267948+'\x22.');return!0x0;}[_0x2ffc26(0x18e)](_0x22f490,_0x151b55){const _0x2675f0=_0x2ffc26;var _0x27d505,_0x4035bd;let _0x341f1a=this['_injector'][_0x2675f0(0x16a)](_0x51ac63),_0x3bfd07=this[_0x2675f0(0x186)][_0x2675f0(0x15c)](),_0x373907=typeof _0x22f490==_0x2675f0(0x1ad)?_0x22f490:_0x22f490['getId'](),_0x24a39a=_0x3bfd07[_0x2675f0(0x125)][_0x373907];if(!_0x24a39a)throw Error(_0x2675f0(0x13e)+_0x373907+_0x2675f0(0xfc));let _0x49e840=_0x3bfd07[_0x2675f0(0x162)]['indexOf'](_0x373907)+0x1,_0x4431ef=_0x4bab18(_0x24a39a,{'id':_0x4bcfb3(),'name':_0x24a39a[_0x2675f0(0x14d)]+'\x20Copy','includeRecords':(_0x27d505=_0x151b55==null?void 0x0:_0x151b55[_0x2675f0(0x145)])==null?!0x1:_0x27d505,'regenerateViewIds':(_0x4035bd=_0x151b55==null?void 0x0:_0x151b55['regenerateViewIds'])==null?!0x1:_0x4035bd});if(!_0x341f1a[_0x2675f0(0x1cb)](_0x374462['id'],{'unitId':this[_0x2675f0(0x186)]['getUnitId'](),'table':_0x4431ef,'index':_0x49e840}))throw Error(_0x2675f0(0x1cc)+_0x373907+'\x22.');return this[_0x2675f0(0x1b0)][_0x2675f0(0xfd)](X,this,_0x4431ef['id'],this[_0x2675f0(0x1b0)]);}[_0x2ffc26(0x13b)](){const _0x52dd95=_0x2ffc26;let _0xb0bc39=this[_0x52dd95(0x186)][_0x52dd95(0x15c)]();return{'id':_0xb0bc39['id'],'name':_0xb0bc39[_0x52dd95(0x14d)],'tables':this[_0x52dd95(0x1d0)]()[_0x52dd95(0x133)](_0x2991fa=>_0x2991fa['getSchema']())};}};Q=_e([ge(0x1,_0x1ae801(_0x5ac807))],Q);var ve=class extends _0x4e5238{[_0x2ffc26(0x11c)](){const _0x3931c5=_0x2ffc26;this[_0x3931c5(0x179)](),this[_0x3931c5(0x1be)]();}[_0x2ffc26(0x102)](_0x402146={},_0x2a8def){const _0x4fa4d9=_0x2ffc26;let _0x5e1e99=this[_0x4fa4d9(0x1b0)][_0x4fa4d9(0x16a)](_0xe6c28e)['createUnit'](_0x1d0ab6[_0x4fa4d9(0x16e)],_0x402146,_0x2a8def);return this[_0x4fa4d9(0x1b0)][_0x4fa4d9(0xfd)](Q,_0x5e1e99);}[_0x2ffc26(0x12f)](){const _0x1f7350=_0x2ffc26;let _0x78082b=this[_0x1f7350(0x1b0)][_0x1f7350(0x16a)](_0xe6c28e)['getCurrentUnitOfType'](_0x1d0ab6[_0x1f7350(0x16e)]);return _0x78082b?this[_0x1f7350(0x1b0)][_0x1f7350(0xfd)](Q,_0x78082b):null;}[_0x2ffc26(0x1a5)](_0x1ed3c5){const _0x578e84=_0x2ffc26;let _0x2fec86=this['_injector'][_0x578e84(0x16a)](_0xe6c28e)[_0x578e84(0x1a2)](_0x1ed3c5,_0x1d0ab6[_0x578e84(0x16e)]);return _0x2fec86?this[_0x578e84(0x1b0)]['createInstance'](Q,_0x2fec86):null;}['getBases'](){const _0x40603d=_0x2ffc26;return this[_0x40603d(0x1b0)]['get'](_0xe6c28e)[_0x40603d(0x1d6)](_0x1d0ab6[_0x40603d(0x16e)])[_0x40603d(0x133)](_0x3b8c5e=>this[_0x40603d(0x1b0)]['createInstance'](Q,_0x3b8c5e));}[_0x2ffc26(0x1be)](){const _0x555888=_0x2ffc26;let _0x56e0c2=this[_0x555888(0x1b0)][_0x555888(0x16a)](_0x51ac63);this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event']['BaseTableCreated'],()=>_0x56e0c2['onCommandExecuted'](_0x52d4a9=>{const _0x481012=_0x555888;if(_0x52d4a9['id']!==_0x374462['id'])return;let {unitId:_0x5d3978,table:_0x4e8c44,index:_0x5f3b2c}=_0x52d4a9['params'],_0x595921=this['getBase'](_0x5d3978);if(!_0x595921)return;let _0x31a5cc={'base':_0x595921,'table':_0x4e8c44,'index':_0x5f3b2c};this[_0x481012(0x1d1)](this[_0x481012(0x124)][_0x481012(0x167)],_0x31a5cc);}))),this[_0x555888(0x188)](this['registerEventHandler'](this[_0x555888(0x124)]['BaseTableFieldCreated'],()=>_0x56e0c2[_0x555888(0x151)](_0x52e600=>{const _0x28d3ca=_0x555888;if(_0x52e600['id']!==_0x33b9a5['id'])return;let {unitId:_0x5b269e,tableId:_0x4b097f,field:_0x4bf869,index:_0x3ce9f5,viewIndexes:_0x986327}=_0x52e600[_0x28d3ca(0x1ae)],_0x5386ae=this['getBase'](_0x5b269e);if(!_0x5386ae)return;let _0x2e368c=_0x5386ae['getTableById'](_0x4b097f);if(!_0x2e368c)return;let _0x3014cd={'base':_0x5386ae,'table':_0x2e368c,'field':_0x4bf869,'index':_0x3ce9f5,'viewIndexes':_0x986327};this['fireEvent'](this[_0x28d3ca(0x124)][_0x28d3ca(0x152)],_0x3014cd);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event'][_0x555888(0x1a7)],()=>_0x56e0c2[_0x555888(0x151)](_0x14236f=>{const _0x4cc809=_0x555888;var _0x806798;if(_0x14236f['id']!==_0x2cce42['id']&&_0x14236f['id']!==_0x1c05d6['id'])return;let _0x486fd2=_0x14236f[_0x4cc809(0x1ae)],{unitId:_0x7531ed,tableId:_0x1f160e}=_0x486fd2,_0x3a5d53=(_0x806798=_0x486fd2[_0x4cc809(0x18c)])==null?[_0x486fd2[_0x4cc809(0x13c)]]:_0x806798,_0x2a633a=this[_0x4cc809(0x1a5)](_0x7531ed);if(!_0x2a633a)return;let _0x228a80=_0x2a633a[_0x4cc809(0x1c7)](_0x1f160e);if(!_0x228a80)return;let _0x209c02={'base':_0x2a633a,'table':_0x228a80,'records':_0x3a5d53};this[_0x4cc809(0x1d1)](this['Event'][_0x4cc809(0x1a7)],_0x209c02);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event']['BaseTableViewCreated'],()=>_0x56e0c2[_0x555888(0x151)](_0x509524=>{const _0x9e82e9=_0x555888;if(_0x509524['id']!==_0x30e023['id'])return;let {unitId:_0xecc6fd,tableId:_0x238f03,view:_0x382115,index:_0x17cafa}=_0x509524[_0x9e82e9(0x1ae)],_0x1bab48=this['getBase'](_0xecc6fd);if(!_0x1bab48)return;let _0x4bbd60=_0x1bab48['getTableById'](_0x238f03);if(!_0x4bbd60)return;let _0x1bbe13={'base':_0x1bab48,'table':_0x4bbd60,'view':_0x382115,'index':_0x17cafa};this[_0x9e82e9(0x1d1)](this['Event'][_0x9e82e9(0x170)],_0x1bbe13);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this[_0x555888(0x124)][_0x555888(0x14b)],()=>_0x56e0c2[_0x555888(0x151)](_0x590e66=>{const _0x211de7=_0x555888;if(_0x590e66['id']!==_0x32c66a['id'])return;let {unitId:_0x5cc106,tableId:_0x172416,recordId:_0x45e321,fieldId:_0x222606,value:_0x5d1542}=_0x590e66['params'],_0x55b8c5=this['getBase'](_0x5cc106);if(!_0x55b8c5)return;let _0x2f102b=_0x55b8c5['getTableById'](_0x172416);if(!_0x2f102b)return;let _0x2e354c=_0x2f102b[_0x211de7(0x183)](_0x222606);if(!_0x2e354c)return;let _0x493bec=_0x2f102b[_0x211de7(0x134)](_0x45e321);if(!_0x493bec)return;let _0x3ddd38={'base':_0x55b8c5,'table':_0x2f102b,'field':_0x2e354c,'record':_0x493bec,'value':_0x5d1542};this[_0x211de7(0x1d1)](this[_0x211de7(0x124)][_0x211de7(0x14b)],_0x3ddd38);})));}[_0x2ffc26(0x179)](){const _0x223f98=_0x2ffc26;let _0x50cd88=this[_0x223f98(0x1b0)]['get'](_0x51ac63);this[_0x223f98(0x188)](this[_0x223f98(0x137)](this[_0x223f98(0x124)]['BeforeBaseTableCreate'],()=>_0x50cd88[_0x223f98(0x117)](_0x5112c0=>{const _0x5f04c8=_0x223f98;if(_0x5112c0['id']!==_0x374462['id'])return;let {unitId:_0x5ecc37,table:_0x190597,index:_0x5a3a83}=_0x5112c0['params'],_0x5ef170=this[_0x5f04c8(0x1a5)](_0x5ecc37);if(!_0x5ef170)return;let _0x3b42d9={'base':_0x5ef170,'table':_0x190597,'index':_0x5a3a83};if(this['fireEvent'](this[_0x5f04c8(0x124)][_0x5f04c8(0x113)],_0x3b42d9),_0x3b42d9[_0x5f04c8(0x12a)])throw new _0x110505();}))),this[_0x223f98(0x188)](this[_0x223f98(0x137)](this['Event'][_0x223f98(0x1cd)],()=>_0x50cd88[_0x223f98(0x117)](_0x140aa4=>{const _0x2222f2=_0x223f98;if(_0x140aa4['id']!==_0x33b9a5['id'])return;let {unitId:_0x4a1388,tableId:_0x5d1ebd,field:_0x27b123,index:_0x2e975f,viewIndexes:_0x5322d4}=_0x140aa4[_0x2222f2(0x1ae)],_0xcb3d6d=this[_0x2222f2(0x1a5)](_0x4a1388);if(!_0xcb3d6d)return;let _0x5209f9=_0xcb3d6d[_0x2222f2(0x1c7)](_0x5d1ebd);if(!_0x5209f9)return;let _0x5562e1={'base':_0xcb3d6d,'table':_0x5209f9,'field':_0x27b123,'index':_0x2e975f,'viewIndexes':_0x5322d4};if(this[_0x2222f2(0x1d1)](this[_0x2222f2(0x124)][_0x2222f2(0x1cd)],_0x5562e1),_0x5562e1[_0x2222f2(0x12a)])throw new _0x110505();}))),this[_0x223f98(0x188)](this[_0x223f98(0x137)](this['Event']['BeforeBaseTableRecordCreate'],()=>_0x50cd88['beforeCommandExecuted'](_0x9200b9=>{const _0x5b09bb=_0x223f98;var _0x56f3d6;if(_0x9200b9['id']!==_0x2cce42['id']&&_0x9200b9['id']!==_0x1c05d6['id'])return;let _0x5624dc=_0x9200b9[_0x5b09bb(0x1ae)],{unitId:_0x54f687,tableId:_0x1a8f4a}=_0x5624dc,_0x49a573=(_0x56f3d6=_0x5624dc[_0x5b09bb(0x18c)])==null?[_0x5624dc['record']]:_0x56f3d6,_0x54a0f3=this['getBase'](_0x54f687);if(!_0x54a0f3)return;let _0x3ebe2a=_0x54a0f3[_0x5b09bb(0x1c7)](_0x1a8f4a);if(!_0x3ebe2a)return;let _0x48485b={'base':_0x54a0f3,'table':_0x3ebe2a,'records':_0x49a573};if(this[_0x5b09bb(0x1d1)](this[_0x5b09bb(0x124)][_0x5b09bb(0x17f)],_0x48485b),_0x48485b[_0x5b09bb(0x12a)])throw new _0x110505();}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x223f98(0x124)]['BeforeBaseTableViewCreate'],()=>_0x50cd88[_0x223f98(0x117)](_0x26f3e1=>{const _0x20fdb6=_0x223f98;if(_0x26f3e1['id']!==_0x30e023['id'])return;let {unitId:_0x2ceb4e,tableId:_0x5abf41,view:_0x1c625b,index:_0x3c31fd}=_0x26f3e1[_0x20fdb6(0x1ae)],_0x51eb27=this['getBase'](_0x2ceb4e);if(!_0x51eb27)return;let _0x590023=_0x51eb27[_0x20fdb6(0x1c7)](_0x5abf41);if(!_0x590023)return;let _0x1dab0e={'base':_0x51eb27,'table':_0x590023,'view':_0x1c625b,'index':_0x3c31fd};if(this['fireEvent'](this['Event']['BeforeBaseTableViewCreate'],_0x1dab0e),_0x1dab0e[_0x20fdb6(0x12a)])throw new _0x110505();}))),this['disposeWithMe'](this[_0x223f98(0x137)](this[_0x223f98(0x124)][_0x223f98(0x16c)],()=>_0x50cd88['beforeCommandExecuted'](_0x4476a2=>{const _0x44c227=_0x223f98;if(_0x4476a2['id']!==_0x32c66a['id'])return;let {unitId:_0x3035a7,tableId:_0x49f1ef,recordId:_0x1e7372,fieldId:_0x2abb35,value:_0x5d2370}=_0x4476a2[_0x44c227(0x1ae)],_0x5eb2bc=this[_0x44c227(0x1a5)](_0x3035a7);if(!_0x5eb2bc)return;let _0x57dc5b=_0x5eb2bc[_0x44c227(0x1c7)](_0x49f1ef);if(!_0x57dc5b)return;let _0x10f5f9=_0x57dc5b['getFieldById'](_0x2abb35);if(!_0x10f5f9)return;let _0x25772f=_0x57dc5b[_0x44c227(0x134)](_0x1e7372);if(!_0x25772f)return;let _0x431d23={'base':_0x5eb2bc,'table':_0x57dc5b,'field':_0x10f5f9,'record':_0x25772f,'value':_0x5d2370};if(this[_0x44c227(0x1d1)](this[_0x44c227(0x124)][_0x44c227(0x16c)],_0x431d23),_0x431d23[_0x44c227(0x12a)])throw new _0x110505();})));}};_0x4e5238['extend'](ve);var ye=class extends _0x233966{get['BaseFieldType'](){return _0x501578;}get[_0x2ffc26(0xf9)](){return _0x34cdfb;}get[_0x2ffc26(0x14e)](){return _0x34e159;}get[_0x2ffc26(0x119)](){return G;}get[_0x2ffc26(0x158)](){return _0x4e016d;}get[_0x2ffc26(0x15d)](){return _0x482ea7;}};_0x233966[_0x2ffc26(0x169)](ye);var $=class extends _0xdb6ff6{get[_0x2ffc26(0x167)](){return'BaseTableCreated';}get[_0x2ffc26(0x113)](){return'BeforeBaseTableCreate';}get[_0x2ffc26(0x152)](){return'BaseTableFieldCreated';}get[_0x2ffc26(0x1cd)](){return'BeforeBaseTableFieldCreate';}get['BaseTableRecordCreated'](){const _0x540f61=_0x2ffc26;return _0x540f61(0x1a7);}get[_0x2ffc26(0x17f)](){const _0x290102=_0x2ffc26;return _0x290102(0x17f);}get['BaseTableViewCreated'](){const _0x2d8ab4=_0x2ffc26;return _0x2d8ab4(0x170);}get[_0x2ffc26(0x1c3)](){const _0x2c0fac=_0x2ffc26;return _0x2c0fac(0x1c3);}get['BaseTableCellValueChanged'](){return'BaseTableCellValueChanged';}get['BeforeBaseTableCellValueChange'](){const _0x4bdd63=_0x2ffc26;return _0x4bdd63(0x16c);}};_0xdb6ff6[_0x2ffc26(0x169)]($);export{G as BaseFieldKeyEnum,Q as FBase,X as FBaseTable,U as FBaseTableField,W as FBaseTableRange,J as FBaseTableRecord,Y as FBaseTableView,$ as FBasesEventNameMixin,q as resolveBaseFieldKey,K as resolveBaseFieldValues};
|
|
1
|
+
const _0x336728=_0x52e5;(function(_0x416124,_0x15ac91){const _0x216814=_0x52e5,_0x2f7389=_0x416124();while(!![]){try{const _0x3a70e3=-parseInt(_0x216814(0x289))/0x1*(parseInt(_0x216814(0x1be))/0x2)+-parseInt(_0x216814(0x17f))/0x3+parseInt(_0x216814(0x242))/0x4+-parseInt(_0x216814(0x226))/0x5+parseInt(_0x216814(0x202))/0x6+-parseInt(_0x216814(0x20d))/0x7+parseInt(_0x216814(0x294))/0x8*(parseInt(_0x216814(0x2ae))/0x9);if(_0x3a70e3===_0x15ac91)break;else _0x2f7389['push'](_0x2f7389['shift']());}catch(_0x19c6ec){_0x2f7389['push'](_0x2f7389['shift']());}}}(_0xcde0,0x71752));import{ApplyBaseJson1Mutation as _0x5374e3,BaseConditionalColorRuleUpdateType as _0x43286c,BaseEventSource as _0x4fe3fa,BaseHierarchyErrorCode as _0x3d171b,BatchCreateBaseRecordsCommand as _0x144dc8,BatchDeleteBaseRecordsCommand as _0x20826e,ChangeBaseFieldTypeCommand as _0x753b97,CreateBaseChildRecordCommand as _0x5567bd,CreateBaseFieldCommand as _0x1978a1,CreateBaseRecordCommand as _0x22871f,CreateBaseTableCommand as _0x3cc0d1,CreateBaseViewCommand as _0x338c3b,DeleteBaseFieldCommand as _0x41894a,DeleteBaseRecordCommand as _0x384f53,DeleteBaseTableCommand as _0x13a13d,DeleteBaseViewCommand as _0x5d89f8,DuplicateBaseRecordCommand as _0x39fd7f,IBaseProjectionService as _0x460976,MoveBaseFieldCommand as _0x167fd9,MoveBaseHierarchyRecordCommand as _0x241dc3,MoveBaseViewCommand as _0x265b4d,RenameBaseTableCommand as _0x83c0cd,RenameBaseViewCommand as _0x65495d,SetBaseNameCommand as _0x3a2e4a,SetBaseRangeValuesCommand as _0x26fb58,SetBaseRecordValuesCommand as _0x298aea,SetBaseTableHierarchyFieldCommand as _0x3d3845,SetBaseViewFieldOrderCommand as _0x245f1a,SetBaseViewFieldVisibleCommand as _0x113ed1,SetBaseViewFieldWidthCommand as _0x5bb362,SetBaseViewFilterCommand as _0x19bf5c,SetBaseViewGroupCommand as _0x36027b,SetBaseViewSortCommand as _0x411c97,UpdateBaseCellCommand as _0x54f164,UpdateBaseFieldCommand as _0x274ee3,UpdateBaseRecordOrderCommand as _0x3a8712,UpdateBaseViewConditionalColorRulesCommand as _0x3b1b6b,UpdateBaseViewConfigCommand as _0x3cd319,buildBaseHierarchyIndex as _0xdaf857,copyBaseTableSnapshot as _0x5e421d,ensureBaseTableCellLayout as _0x1696cb,getActiveBaseHierarchyFieldIds as _0x12eab2,getBaseCellValue as _0x2904a9,getBaseHierarchyDeletePromotions as _0x3282d7,getRecordLinkFieldConfig as _0x366eec,matchesBaseCondition as _0x5e33be,parseRecordLinkIds as _0x1e19fe,resolveBaseHierarchyFieldId as _0x2ee0b8,resolveBaseRangeHierarchyPatches as _0x34fccc,searchBaseTable as _0xa27dde,serializeRecordLinkIds as _0x4005a5,validateBaseHierarchyRecordCreations as _0x3e5dd7,validateBaseHierarchyRecordPatches as _0x568123,validateRecordLinkValue as _0x107ab8}from'@univerjs-pro/bases';import{BASE_RECORD_ID_FIELD_ID as _0x2b3441,BaseConditionalColorOperator as _0x4e80c8,BaseConditionalColorTarget as _0x46b2d8,BaseConditionalDateMode as _0xd4945d,BaseFieldType as _0x33d599,BaseFilterConjunction as _0x5f2ca0,BaseFilterOperator as _0xf6848f,BaseHierarchyInvalidReason as _0x1c2958,BaseRecordLinkRole as _0x523fee,BaseSortDirection as _0x4baab9,BaseViewType as _0x35b90a,CanceledError as _0x10ac7b,ICommandService as _0x2d81ac,IResourceLoaderService as _0x246509,ImageSourceType as _0x1a211c,Inject as _0x25f6bc,Injector as _0x442045,Tools as _0x5bb98a,UniverInstanceType as _0x874f24,createDefaultBaseTableSnapshot as _0x16a351,generateRandomId as _0x2bd9cf}from'@univerjs/core';import{FEnum as _0x530ba6,FEventName as _0x23c09b,FUniver as _0x7df423}from'@univerjs/core/facade';import{UpsertHostExternalReferencesCommand as _0x46103d}from'@univerjs-pro/engine-formula';function F(_0x51c8be,_0x537c5e){return function(_0x577ffd,_0x3ee880){_0x537c5e(_0x577ffd,_0x3ee880,_0x51c8be);};}function I(_0x3f6a3c,_0x218778,_0x4e1bc4,_0x4f7425){const _0x1bd441=_0x52e5;var _0x57cb92=arguments[_0x1bd441(0x1b5)],_0x2fa42e=_0x57cb92<0x3?_0x218778:_0x4f7425===null?_0x4f7425=Object['getOwnPropertyDescriptor'](_0x218778,_0x4e1bc4):_0x4f7425,_0x3926bf;if(typeof Reflect==_0x1bd441(0x21a)&&typeof Reflect['decorate']==_0x1bd441(0x288))_0x2fa42e=Reflect['decorate'](_0x3f6a3c,_0x218778,_0x4e1bc4,_0x4f7425);else{for(var _0x385c81=_0x3f6a3c[_0x1bd441(0x1b5)]-0x1;_0x385c81>=0x0;_0x385c81--)(_0x3926bf=_0x3f6a3c[_0x385c81])&&(_0x2fa42e=(_0x57cb92<0x3?_0x3926bf(_0x2fa42e):_0x57cb92>0x3?_0x3926bf(_0x218778,_0x4e1bc4,_0x2fa42e):_0x3926bf(_0x218778,_0x4e1bc4))||_0x2fa42e);}return _0x57cb92>0x3&&_0x2fa42e&&Object[_0x1bd441(0x203)](_0x218778,_0x4e1bc4,_0x2fa42e),_0x2fa42e;}function _0xcde0(){const _0xc184eb=['getSort','beforeCommandExecuted','offset','getName','Auto','_fireBeforeHierarchyChange','isFinite','limit',',\x20max\x20columns:\x20','Failed\x20to\x20delete\x20table\x20\x22','getSchema','_getFieldIds','Attachment','UUID','BeforeBaseTableRecordCreate','cancel','createBase','[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','AND','moveField','invalid','duplicate',':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.','getNumRows','unitId','getViews','deleteTable','getConditionalColorRules','syncExecuteCommand','RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.','BaseFilterOperator','BeforeBaseTableCreate','getRange','_injector','commonExtend','getTable','map','getFieldByName','setFilter',',\x20range:\x20','\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.',':\x20expected\x20an\x20object.','_getHierarchyEventContext','index','_getTable','primaryFieldId','getFieldById','search','addLinkedRecord','update','saveUnit','setName','2415840zLFjnl','defineProperty','deleteRecords','fieldOrder','getViewById','_commandService','Event','getTableById','trim','duplicateTable','getCurrentUnitOfType','4798283FktEtC','BaseSortDirection','_initBaseBeforeEvents','getUnitId','Failed\x20to\x20create\x20table\x20\x22','config','_recordId','hierarchyChanges','BeforeBaseHierarchyChange','URL','getSnapshot','\x20exceeds\x20range\x20size\x20','_collectDescendantIds','object','getVisibleFields','BaseTableCreated','getLinkedRecordIds','getProjection','getBases','BaseTableCellValueChanged','fieldSettings','fieldIds','BeforeBaseTableCellValueChange','_tableId','_viewId','4231720TKZEWs','[FRecord]:\x20record\x20\x22','direction','getRecordById','rules','move','parentByRecordId','orderedRecordIds','disposeWithMe','getRow','fireEvent','call','caseSensitive','_range','localeCompare','setGroup','BaseConditionalDateMode','_initBaseAfterEvents','getParent','BaseTableViewCreated','getId','params','table','endRow','Set','getFields','setValue','deleteProperty','291912JYbKIC','recordOrder','hasOwnProperty','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','registerEventHandler','_getRecord','_resourceLoaderService','setConditionalColorRules','records','addChild','_fieldId','includes','getDescendants','getNumColumns','visibleCardFieldIds','Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','find','setParent','startColumn','Failed\x20to\x20add\x20records','getTableId','width','deepClone','RecordId','_writeFormulaExternalReferences','BASE64','[FBaseRange]:\x20values\x20size\x20','getField','_resolveRecordIds','Failed\x20to\x20add\x20field\x20\x22','slice','type','Failed\x20to\x20create\x20view\x20\x22','BeforeBaseTableFieldCreate','\x22:\x20expected\x20an\x20array.','Date','mimeType','indexOf','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','base','\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.','push','getFieldSettings','BaseTableRecordCreated','isReadonly','Formula','fields','getType','description','Duplicate\x20Base\x20field\x20name:\x20','setHierarchyField','Gallery','BeforeBaseTableViewCreate','setValues','setConfig','createInstance','getDataRange','some','view','_table','BaseFilterConjunction','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','Clear','tableId','setDefaultValue','getValues','number','fromEntries',':\x20\x22','field','function','146469LqAIVu','insertTable','Failed\x20to\x20duplicate\x20table\x20\x22','views','conditions','hidden','conditionalColoring','queryRecords','Grid','primaryFieldName','getHierarchyFieldId','42928flnYSZ','BaseHierarchyChanged','reason','\x20Copy','[FBaseRange]:\x20table\x20does\x20not\x20exist.','\x22\x20has\x20invalid\x20config.','sourceType','addRecords','Kanban','Invalid\x20attachment\x20value\x20for\x20field\x20\x22','_projectionService','\x22\x20is\x20not\x20a\x20RecordLink\x20field.','save','getActiveBase','Name','getBase','flatMap','deleteConditionalColorRule','createdAt','setSort','\x22\x20does\x20not\x20exist.','data:','from','values','subtreeHeightByRecordId','_getHierarchyIndex','4491NDEuXi','setLinkedRecordIds',':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.','Calendar','UNIVER_BASE','test','_getField','_inject','Facade','getTables','\x22\x20must\x20be\x20a\x20non-empty\x20string.','parentRecordId','2151930wBZgze','BaseFieldType','multiple','clearConditionalColorRules','_getView','startsWith','_base','getAncestors','updateConfig','_getRecordLinkField','tables','source','rowId','BaseConditionalColorOperator','matches','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','RecordLink','recordId','name','getConfig','getFilter','addRecord','prototype','getPrimaryField','viewOrder','getTableByName','operator','getGroup','get','BaseConditionalColorTarget','fromCollab','every','getAllUnitsForType','now','max','valid','filter','createUnit','startRow','createView','childrenByParentId','getValue','setFieldVisible','isArray','getDescription','orderKey','tableOrder','viewId','externalReferences','_univerInstanceService','endColumn','Remote','_assertInBounds','value','length','notMatches','updatedAt','url','getRecords','record','Gantt','warn','BaseViewType','6FhQRnG','delete','[FRecord]:\x20invalid\x20RecordLink\x20value.','onCommandExecuted','BaseTableFieldCreated','fieldId','[FField]:\x20field\x20\x22','fieldKey','_initialize','sort','auto','string','changeType','rows','afterFieldId','system'];_0xcde0=function(){return _0xc184eb;};return _0xcde0();}let L=class{constructor(_0x4e2fb4,_0x1372c7,_0x348dee,_0x38eac8){const _0x21fddb=_0x52e5;this[_0x21fddb(0x185)]=_0x4e2fb4,this[_0x21fddb(0x27d)]=_0x1372c7,this[_0x21fddb(0x24c)]=_0x348dee,this[_0x21fddb(0x207)]=_0x38eac8;}[_0x336728(0x23a)](){const _0x1e1b3a=_0x336728;return this[_0x1e1b3a(0x24c)];}[_0x336728(0x25d)](){const _0x11b820=_0x336728;return this[_0x11b820(0x2b4)]();}[_0x336728(0x1d1)](){const _0x40f0b4=_0x336728;return this[_0x40f0b4(0x2b4)]()[_0x40f0b4(0x191)];}[_0x336728(0x271)](){const _0x499f5f=_0x336728;return this[_0x499f5f(0x2b4)]()['type'];}[_0x336728(0x192)](){const _0x405780=_0x336728;return this['_getField']()[_0x405780(0x212)];}['getDefaultValue'](){const _0x3855eb=_0x336728;return this[_0x3855eb(0x2b4)]()['defaultValue'];}[_0x336728(0x1ab)](){const _0x551eb5=_0x336728;return this[_0x551eb5(0x2b4)]()[_0x551eb5(0x272)];}[_0x336728(0x26e)](){const _0xb210e4=_0x336728;return!!this[_0xb210e4(0x2b4)]()['readonly'];}[_0x336728(0x201)](_0x309d6b){const _0x5711f5=_0x336728;return this[_0x5711f5(0x1ff)]({'name':_0x309d6b});}[_0x336728(0x278)](_0x2f88f4,_0x22bfd6){const _0x2db325=_0x336728;return this[_0x2db325(0x1ff)]({'config':_0x2f88f4},_0x22bfd6);}[_0x336728(0x282)](_0x4b0246){const _0x557ad1=_0x336728;return this[_0x557ad1(0x1ff)]({'defaultValue':_0x4b0246});}[_0x336728(0x1ff)](_0x49159b,_0x1a0b7d){const _0x437828=_0x336728;let _0x1374c0=this[_0x437828(0x2b4)]()[_0x437828(0x261)];return(_0x49159b[_0x437828(0x261)]??_0x1374c0)===_0x33d599['Formula']&&(Object[_0x437828(0x195)][_0x437828(0x244)][_0x437828(0x231)](_0x49159b,_0x437828(0x212))||_0x49159b['type']===_0x33d599[_0x437828(0x26f)])&&!this[_0x437828(0x25a)](_0x1a0b7d)?!0x1:this['_commandService'][_0x437828(0x1ea)](_0x274ee3['id'],{'unitId':this['_base'][_0x437828(0x23a)](),'tableId':this[_0x437828(0x27d)][_0x437828(0x23a)](),'fieldId':this['_fieldId'],'patch':_0x49159b});}[_0x336728(0x1ca)](_0x32ec0a,_0x5d06a9={},_0x49e791){const _0x292a26=_0x336728;return _0x32ec0a===_0x33d599[_0x292a26(0x26f)]&&!this[_0x292a26(0x25a)](_0x49e791)?!0x1:this[_0x292a26(0x207)][_0x292a26(0x1ea)](_0x753b97['id'],{'unitId':this[_0x292a26(0x185)][_0x292a26(0x23a)](),'tableId':this[_0x292a26(0x27d)][_0x292a26(0x23a)](),'fieldId':this[_0x292a26(0x24c)],'input':{'type':_0x32ec0a,'config':_0x5d06a9}});}[_0x336728(0x1bf)](){const _0x17d55a=_0x336728;return this[_0x17d55a(0x207)]['syncExecuteCommand'](_0x41894a['id'],{'unitId':this[_0x17d55a(0x185)]['getId'](),'tableId':this[_0x17d55a(0x27d)]['getId'](),'fieldId':this[_0x17d55a(0x24c)]});}['move'](_0x133438){const _0x454965=_0x336728;return this[_0x454965(0x207)][_0x454965(0x1ea)](_0x167fd9['id'],{'unitId':this[_0x454965(0x185)]['getId'](),'tableId':this[_0x454965(0x27d)][_0x454965(0x23a)](),'fieldId':this[_0x454965(0x24c)],'target':_0x133438});}[_0x336728(0x2b4)](){const _0x2302cc=_0x336728;let _0x34d8e3=this[_0x2302cc(0x27d)]['getTable']()[_0x2302cc(0x270)][this[_0x2302cc(0x24c)]];if(!_0x34d8e3)throw Error(_0x2302cc(0x1c4)+this['_fieldId']+_0x2302cc(0x2a8));return _0x34d8e3;}[_0x336728(0x25a)](_0x5945ee){const _0x29896b=_0x336728;if(!_0x5945ee||!Array[_0x29896b(0x1aa)](_0x5945ee[_0x29896b(0x1af)]))return console[_0x29896b(0x1bc)](_0x29896b(0x1df)),!0x1;if(_0x5945ee[_0x29896b(0x1af)][_0x29896b(0x1b5)]===0x0)return!0x0;let _0x559b67=this[_0x29896b(0x207)][_0x29896b(0x1ea)](_0x46103d['id'],{'unitId':this[_0x29896b(0x185)]['getId'](),'references':_0x5945ee[_0x29896b(0x1af)]});return _0x559b67||console[_0x29896b(0x1bc)]('[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.'),_0x559b67;}};L=I([F(0x3,_0x2d81ac)],L);let R=function(_0x3a51bd){const _0x570dbd=_0x336728;return _0x3a51bd['Id']='id',_0x3a51bd[_0x570dbd(0x2a2)]='name',_0x3a51bd[_0x570dbd(0x1d2)]=_0x570dbd(0x1c8),_0x3a51bd;}({});function z(_0x55e82c){const _0x39324e=_0x336728;return!!(_0x55e82c&&_0x55e82c[_0x39324e(0x1cd)]!==!0x0&&_0x55e82c[_0x39324e(0x261)]!==_0x33d599[_0x39324e(0x259)]);}function B(_0x27b8c0,_0x36d804,_0x495ca0='id'){if(!_0x36d804)return{};let _0xaa68e9={};return Object['entries'](_0x36d804)['forEach'](([_0x9d5a2e,_0x9d0599])=>{let _0x3b2ef3=H(_0x27b8c0,_0x9d5a2e,_0x495ca0);_0xaa68e9[_0x3b2ef3]=V(_0x27b8c0['fields'][_0x3b2ef3],_0x9d0599);}),_0xaa68e9;}function V(_0x2763bb,_0xbfab5d){const _0x1e7628=_0x336728;if((_0x2763bb==null?void 0x0:_0x2763bb[_0x1e7628(0x261)])!==_0x33d599[_0x1e7628(0x1da)]||_0xbfab5d==null)return _0xbfab5d;if(!Array[_0x1e7628(0x1aa)](_0xbfab5d))throw TypeError(_0x1e7628(0x29d)+_0x2763bb[_0x1e7628(0x191)]+_0x1e7628(0x264));return _0xbfab5d[_0x1e7628(0x1f2)]((_0x4dac29,_0x20b64a)=>We(_0x2763bb,_0x4dac29,_0x20b64a));}function H(_0x4f8a7a,_0x3b45e2,_0x25113f){const _0x10faa2=_0x336728;if(_0x25113f==='id'||_0x25113f===_0x10faa2(0x1c8)&&_0x4f8a7a['fields'][_0x3b45e2])return _0x3b45e2;let _0xdb01f4=Object['values'](_0x4f8a7a[_0x10faa2(0x270)])[_0x10faa2(0x1a3)](_0x2a7aad=>_0x2a7aad[_0x10faa2(0x191)]===_0x3b45e2);if(_0xdb01f4[_0x10faa2(0x1b5)]===0x1)return _0xdb01f4[0x0]['id'];throw _0xdb01f4['length']>0x1?Error(_0x10faa2(0x273)+_0x3b45e2):Error('Base\x20field\x20not\x20found:\x20'+_0x3b45e2);}function We(_0x1ccb83,_0x4bfe73,_0x5454f2){const _0x330d93=_0x336728;let _0xc735b6='Invalid\x20attachment\x20at\x20index\x20'+_0x5454f2+'\x20for\x20field\x20\x22'+_0x1ccb83[_0x330d93(0x191)]+'\x22';if(!Ke(_0x4bfe73))throw TypeError(_0xc735b6+_0x330d93(0x1f7));if(_0x330d93(0x1b8)in _0x4bfe73)throw TypeError(_0xc735b6+_0x330d93(0x2b0));if('type'in _0x4bfe73)throw TypeError(_0xc735b6+':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.');let _0x5f5654=U(_0x4bfe73['id'],_0xc735b6,'id'),_0x18e2d9=U(_0x4bfe73[_0x330d93(0x191)],_0xc735b6,_0x330d93(0x191)),_0x42a205=U(_0x4bfe73[_0x330d93(0x18a)],_0xc735b6,_0x330d93(0x18a));return{'id':_0x5f5654,'name':_0x18e2d9,'source':_0x42a205,'sourceType':Ge(_0x4bfe73[_0x330d93(0x29a)],_0x42a205,_0xc735b6),...W(_0x4bfe73,_0x330d93(0x266),_0xc735b6),...G(_0x4bfe73,'size',_0xc735b6),...G(_0x4bfe73,_0x330d93(0x257),_0xc735b6),...G(_0x4bfe73,'height',_0xc735b6),...W(_0x4bfe73,'thumbnail',_0xc735b6)};}function Ge(_0x13210a,_0x4c5fb5,_0x218305){const _0x5d852e=_0x336728;if(_0x13210a==null)return _0x4c5fb5[_0x5d852e(0x184)](_0x5d852e(0x2a9))?_0x1a211c[_0x5d852e(0x25b)]:_0x1a211c[_0x5d852e(0x216)];if(_0x13210a===_0x1a211c[_0x5d852e(0x216)]||_0x13210a===_0x1a211c[_0x5d852e(0x1db)]||_0x13210a===_0x1a211c[_0x5d852e(0x25b)])return _0x13210a;throw TypeError(_0x218305+_0x5d852e(0x1e4));}function U(_0x294c8a,_0x11ed20,_0x49c400){const _0x3774de=_0x336728;if(typeof _0x294c8a!='string'||!_0x294c8a[_0x3774de(0x20a)]())throw TypeError(_0x11ed20+':\x20\x22'+_0x49c400+_0x3774de(0x17d));return _0x294c8a;}function W(_0x5ccef6,_0x22dd0c,_0x3e7b19){const _0x377e2a=_0x336728;let _0x207520=_0x5ccef6[_0x22dd0c];if(_0x207520==null)return{};if(typeof _0x207520!='string'||!_0x207520[_0x377e2a(0x20a)]())throw TypeError(_0x3e7b19+_0x377e2a(0x286)+_0x22dd0c+_0x377e2a(0x1f6));return{[_0x22dd0c]:_0x207520};}function G(_0x56b86f,_0x36faad,_0x3a4177){const _0x3b7ade=_0x336728;let _0x152e9a=_0x56b86f[_0x36faad];if(_0x152e9a==null)return{};if(typeof _0x152e9a!=_0x3b7ade(0x284)||!Number[_0x3b7ade(0x1d4)](_0x152e9a)||_0x152e9a<0x0)throw TypeError(_0x3a4177+_0x3b7ade(0x286)+_0x36faad+_0x3b7ade(0x26a));return{[_0x36faad]:_0x152e9a};}function Ke(_0x50ad13){const _0x4aafcc=_0x336728;return typeof _0x50ad13==_0x4aafcc(0x21a)&&!!_0x50ad13&&!Array[_0x4aafcc(0x1aa)](_0x50ad13);}var K;let q=K=class{constructor(_0x2797d9,_0x2e7bb7,_0x198cf8,_0x471d86,_0x490b31){const _0x44fd88=_0x336728;this['_base']=_0x2797d9,this[_0x44fd88(0x27d)]=_0x2e7bb7,this[_0x44fd88(0x233)]=_0x198cf8,this['_inject']=_0x471d86,this[_0x44fd88(0x207)]=_0x490b31,this[_0x44fd88(0x1b3)]();}['getBaseId'](){const _0x38d883=_0x336728;return this[_0x38d883(0x185)][_0x38d883(0x23a)]();}[_0x336728(0x256)](){const _0x15ed3a=_0x336728;return this[_0x15ed3a(0x27d)][_0x15ed3a(0x23a)]();}[_0x336728(0x1ee)](){const _0x426107=_0x336728;return{...this[_0x426107(0x233)]};}[_0x336728(0x22f)](){const _0x3a6811=_0x336728;return this[_0x3a6811(0x233)][_0x3a6811(0x1a5)];}['getColumn'](){const _0x4c6e6d=_0x336728;return this['_range'][_0x4c6e6d(0x254)];}[_0x336728(0x1e5)](){const _0xe06983=_0x336728;return this['_range'][_0xe06983(0x23d)]-this[_0xe06983(0x233)][_0xe06983(0x1a5)]+0x1;}[_0x336728(0x24f)](){const _0x1c3293=_0x336728;return this[_0x1c3293(0x233)][_0x1c3293(0x1b1)]-this['_range'][_0x1c3293(0x254)]+0x1;}[_0x336728(0x283)](){const _0x20501c=_0x336728;let _0x451523=this['_getTable'](),_0x2a3c0d=this[_0x20501c(0x1d9)](_0x451523),_0x55b023=[];for(let _0x483194=this[_0x20501c(0x233)][_0x20501c(0x1a5)];_0x483194<=this[_0x20501c(0x233)][_0x20501c(0x23d)];_0x483194++){var _0x277f0a;let _0x4eb6c0=(_0x277f0a=_0x451523[_0x20501c(0x18b)])==null?void 0x0:_0x277f0a[_0x483194],_0x5aeb43=[];for(let _0x576f90=this[_0x20501c(0x233)]['startColumn'];_0x576f90<=this[_0x20501c(0x233)][_0x20501c(0x1b1)];_0x576f90++){let _0x3f51d8=_0x2a3c0d[_0x576f90];_0x5aeb43['push'](_0x4eb6c0&&_0x3f51d8?_0x2904a9(_0x451523,_0x4eb6c0,_0x3f51d8):null);}_0x55b023['push'](_0x5aeb43);}return _0x55b023;}[_0x336728(0x1a8)](){const _0x5ecda4=_0x336728;var _0x2fd912;return((_0x2fd912=this[_0x5ecda4(0x283)]()[0x0])==null?void 0x0:_0x2fd912[0x0])??null;}[_0x336728(0x240)](_0x239c6c){const _0x238357=_0x336728;return this[_0x238357(0x277)]([[_0x239c6c]]);}['setValues'](_0x2e0a04){const _0x4b1626=_0x336728;let _0x38b4f8=this['getNumRows'](),_0x3dfea3=this[_0x4b1626(0x24f)]();if(_0x2e0a04['length']>_0x38b4f8||_0x2e0a04[_0x4b1626(0x27b)](_0x1b0422=>_0x1b0422[_0x4b1626(0x1b5)]>_0x3dfea3)){var _0x11a10b;throw Error(_0x4b1626(0x25c)+_0x2e0a04[_0x4b1626(0x1b5)]+'x'+(((_0x11a10b=_0x2e0a04[0x0])==null?void 0x0:_0x11a10b[_0x4b1626(0x1b5)])??0x0)+_0x4b1626(0x218)+_0x38b4f8+'x'+_0x3dfea3+'.');}let _0x30c32a=this['_getTable'](),_0x5062e2=this[_0x4b1626(0x1d9)](_0x30c32a),_0x23b380=_0x2e0a04[_0x4b1626(0x2a4)]((_0x377079,_0x1dbf0a)=>_0x377079[_0x4b1626(0x1f2)]((_0x5b8280,_0x2c9f7a)=>{const _0x17d1c4=_0x4b1626;var _0x2fbbc9;let _0x3fcc3e=this['_range'][_0x17d1c4(0x1a5)]+_0x1dbf0a,_0x2c0716=_0x5062e2[this[_0x17d1c4(0x233)][_0x17d1c4(0x254)]+_0x2c9f7a],_0x342631=(_0x2fbbc9=_0x30c32a[_0x17d1c4(0x18b)])==null?void 0x0:_0x2fbbc9[_0x3fcc3e];if(!_0x2c0716||!_0x342631)throw Error('[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.');return{'recordId':_0x342631,'fieldId':_0x2c0716,'value':_0x5b8280};}));return this[_0x4b1626(0x207)][_0x4b1626(0x1ea)](_0x26fb58['id'],{'unitId':this[_0x4b1626(0x185)]['getId'](),'tableId':this[_0x4b1626(0x27d)][_0x4b1626(0x23a)](),'patches':_0x23b380,'source':_0x4fe3fa[_0x4b1626(0x2b6)]});}['clear'](){const _0xb1744f=_0x336728;return this[_0xb1744f(0x277)](Array[_0xb1744f(0x2aa)]({'length':this[_0xb1744f(0x1e5)]()},()=>Array[_0xb1744f(0x2aa)]({'length':this[_0xb1744f(0x24f)]()},()=>null)));}['offset'](_0xb6dff2,_0x14a086,_0x513fc1=this[_0x336728(0x1e5)](),_0x3d6aec=this[_0x336728(0x24f)]()){const _0xd6ec64=_0x336728;return this[_0xd6ec64(0x2b5)][_0xd6ec64(0x279)](K,this['_base'],this[_0xd6ec64(0x27d)],{'startRow':this[_0xd6ec64(0x233)][_0xd6ec64(0x1a5)]+_0xb6dff2,'startColumn':this['_range'][_0xd6ec64(0x254)]+_0x14a086,'endRow':this[_0xd6ec64(0x233)]['startRow']+_0xb6dff2+_0x513fc1-0x1,'endColumn':this[_0xd6ec64(0x233)][_0xd6ec64(0x254)]+_0x14a086+_0x3d6aec-0x1},this['_inject']);}[_0x336728(0x1fa)](){const _0x4a3ae4=_0x336728;let _0x3f6d16=this[_0x4a3ae4(0x27d)][_0x4a3ae4(0x1f1)]();if(!_0x3f6d16)throw Error(_0x4a3ae4(0x298));return _0x1696cb(_0x3f6d16);}[_0x336728(0x1b3)](){const _0x22df94=_0x336728;var _0x284879;let _0x4484df=this['_getTable'](),_0x4e60c=((_0x284879=_0x4484df[_0x22df94(0x243)])==null?void 0x0:_0x284879[_0x22df94(0x1b5)])??0x0,_0x3fac47=this[_0x22df94(0x1d9)](_0x4484df)[_0x22df94(0x1b5)];if(this[_0x22df94(0x233)]['startRow']<0x0||this[_0x22df94(0x233)]['startColumn']<0x0||this[_0x22df94(0x233)]['endRow']<this[_0x22df94(0x233)]['startRow']||this[_0x22df94(0x233)][_0x22df94(0x1b1)]<this[_0x22df94(0x233)][_0x22df94(0x254)]||this[_0x22df94(0x233)]['endRow']>=Math[_0x22df94(0x1a1)](_0x4e60c,0x1)||this[_0x22df94(0x233)][_0x22df94(0x1b1)]>=Math[_0x22df94(0x1a1)](_0x3fac47,0x1))throw Error(_0x22df94(0x18e)+_0x4e60c+_0x22df94(0x1d6)+_0x3fac47+_0x22df94(0x1f5)+JSON['stringify'](this['_range'])+'.');}[_0x336728(0x1d9)](_0x23c909){const _0x22032a=_0x336728;return _0x23c909[_0x22032a(0x205)][_0x22032a(0x1a3)](_0x494663=>z(_0x23c909[_0x22032a(0x270)][_0x494663]));}};q=K=I([F(0x4,_0x2d81ac)],q);var J;let Y=J=class{constructor(_0x3064f7,_0x471e1f,_0x3a6a27,_0xb3f44c,_0x565e01){const _0x161f7c=_0x336728;this[_0x161f7c(0x185)]=_0x3064f7,this[_0x161f7c(0x27d)]=_0x471e1f,this[_0x161f7c(0x213)]=_0x3a6a27,this[_0x161f7c(0x2b5)]=_0xb3f44c,this['_commandService']=_0x565e01;}[_0x336728(0x23a)](){const _0x4a41fe=_0x336728;return this[_0x4a41fe(0x213)];}['getRecord'](){const _0x4cc80c=_0x336728;return{...this[_0x4cc80c(0x247)](),'values':this['getValues']()};}[_0x336728(0x1a8)](_0x144710){const _0x4ef753=_0x336728;return z(this[_0x4ef753(0x27d)][_0x4ef753(0x1f1)]()[_0x4ef753(0x270)][_0x144710])?this[_0x4ef753(0x247)]()['values'][_0x144710]??null:null;}[_0x336728(0x283)](){const _0x5720f2=_0x336728;let _0x25783d=this[_0x5720f2(0x27d)][_0x5720f2(0x1f1)]();return Object[_0x5720f2(0x285)](Object['entries'](this['_getRecord']()[_0x5720f2(0x2ab)])['filter'](([_0x2a3cb7])=>z(_0x25783d[_0x5720f2(0x270)][_0x2a3cb7])));}['setValue'](_0x5b070a,_0x1d523e){const _0x588582=_0x336728;let _0x3a8924=this[_0x588582(0x27d)][_0x588582(0x1f1)]()[_0x588582(0x270)][_0x5b070a];return this['_commandService'][_0x588582(0x1ea)](_0x54f164['id'],{'unitId':this[_0x588582(0x185)][_0x588582(0x23a)](),'tableId':this[_0x588582(0x27d)][_0x588582(0x23a)](),'recordId':this[_0x588582(0x213)],'fieldId':_0x5b070a,'value':V(_0x3a8924,_0x1d523e),'source':_0x4fe3fa[_0x588582(0x2b6)]});}['setAttachments'](_0x3adab5,_0x44dfdf){const _0x514e45=_0x336728;return this['setValue'](_0x3adab5,_0x44dfdf[_0x514e45(0x1f2)](_0xc90518=>({..._0xc90518})));}[_0x336728(0x277)](_0x41d2ee,_0x3596c0='id'){const _0x4bd61c=_0x336728;let _0x219587=this[_0x4bd61c(0x27d)]['getTable'](),_0x51f0fc=[{'recordId':this[_0x4bd61c(0x213)],'values':B(_0x219587,_0x41d2ee,_0x3596c0)}];return this[_0x4bd61c(0x207)][_0x4bd61c(0x1ea)](_0x298aea['id'],{'unitId':this[_0x4bd61c(0x185)]['getId'](),'tableId':this[_0x4bd61c(0x27d)][_0x4bd61c(0x23a)](),'patches':_0x51f0fc,'source':_0x4fe3fa[_0x4bd61c(0x2b6)]});}['delete'](){const _0x49f0cb=_0x336728;return this[_0x49f0cb(0x207)]['syncExecuteCommand'](_0x384f53['id'],{'unitId':this[_0x49f0cb(0x185)]['getId'](),'tableId':this['_table'][_0x49f0cb(0x23a)](),'recordId':this[_0x49f0cb(0x213)],'source':_0x4fe3fa[_0x49f0cb(0x2b6)]});}[_0x336728(0x1e3)](_0x39f7dd){const _0x236a01=_0x336728;let _0x5059a3={...this['_getRecord'](),..._0x39f7dd,'id':_0x2bd9cf(0x6)};_0x5059a3[_0x236a01(0x2ab)]={..._0x5059a3[_0x236a01(0x2ab)],..._0x39f7dd==null?void 0x0:_0x39f7dd['values']},Reflect[_0x236a01(0x241)](_0x5059a3[_0x236a01(0x2ab)],_0x2b3441);let _0x366d3e=Date[_0x236a01(0x1a0)]();if(_0x5059a3[_0x236a01(0x1ac)]||=''+_0x366d3e,_0x5059a3['createdAt']||=_0x366d3e,_0x5059a3[_0x236a01(0x1b7)]||=_0x366d3e,!this[_0x236a01(0x207)]['syncExecuteCommand'](_0x39fd7f['id'],{'unitId':this[_0x236a01(0x185)][_0x236a01(0x23a)](),'tableId':this[_0x236a01(0x27d)][_0x236a01(0x23a)](),'sourceRecordId':this[_0x236a01(0x213)],'record':_0x5059a3,'source':_0x4fe3fa[_0x236a01(0x2b6)]}))throw Error(_0x236a01(0x245)+this[_0x236a01(0x213)]+'\x22.');return this[_0x236a01(0x2b5)][_0x236a01(0x279)](J,this['_base'],this[_0x236a01(0x27d)],_0x5059a3['id'],this[_0x236a01(0x2b5)]);}['setOrderKey'](_0x3d9d31){const _0x1e89ce=_0x336728;return this[_0x1e89ce(0x207)][_0x1e89ce(0x1ea)](_0x3a8712['id'],{'unitId':this[_0x1e89ce(0x185)]['getId'](),'tableId':this['_table'][_0x1e89ce(0x23a)](),'recordId':this['_recordId'],'orderKey':_0x3d9d31});}['getLinkedRecordIds'](_0x5e8d78){let _0x233a60=this['_getRecordLinkField'](_0x5e8d78);return _0x1e19fe(this['getValue'](_0x233a60['id']));}[_0x336728(0x2af)](_0x45346b,_0x475340){const _0x167a8b=_0x336728;let _0x1a0a3c=this['_getRecordLinkField'](_0x45346b),_0x23ca70=_0x4005a5(_0x475340),_0x2e8af0=_0x107ab8(this[_0x167a8b(0x185)][_0x167a8b(0x2a3)]()[_0x167a8b(0x217)](),_0x1a0a3c,_0x23ca70);if(!_0x2e8af0[_0x167a8b(0x1a2)])throw Error(_0x2e8af0[_0x167a8b(0x296)]??_0x167a8b(0x1c0));return this[_0x167a8b(0x207)][_0x167a8b(0x1ea)](_0x54f164['id'],{'unitId':this[_0x167a8b(0x185)]['getId'](),'tableId':this[_0x167a8b(0x27d)][_0x167a8b(0x23a)](),'recordId':this[_0x167a8b(0x213)],'fieldId':_0x45346b,'value':_0x23ca70,'source':_0x4fe3fa[_0x167a8b(0x2b6)]});}[_0x336728(0x1fe)](_0x28ab5f,_0x52a9ad){const _0xc100=_0x336728;let _0x24639e=_0x366eec(this[_0xc100(0x188)](_0x28ab5f));if(!_0x24639e)throw Error('[FRecord]:\x20RecordLink\x20field\x20\x22'+_0x28ab5f+_0xc100(0x299));let _0xfc5a94=this[_0xc100(0x21d)](_0x28ab5f);return _0x24639e[_0xc100(0x181)]&&_0xfc5a94[_0xc100(0x24d)](_0x52a9ad)?!0x0:this['setLinkedRecordIds'](_0x28ab5f,_0x24639e[_0xc100(0x181)]?[..._0xfc5a94,_0x52a9ad]:[_0x52a9ad]);}['removeLinkedRecord'](_0x24eb43,_0x4c8494){const _0x4b3b5d=_0x336728;let _0x37c997=this[_0x4b3b5d(0x21d)](_0x24eb43);return!_0x37c997[_0x4b3b5d(0x24d)](_0x4c8494)||this[_0x4b3b5d(0x2af)](_0x24eb43,_0x37c997[_0x4b3b5d(0x1a3)](_0x398e84=>_0x398e84!==_0x4c8494));}[_0x336728(0x238)](_0x59011c){const _0x125be7=_0x336728;let _0x536e7=this[_0x125be7(0x2ad)](_0x59011c)[_0x125be7(0x22c)][_0x125be7(0x19b)](this[_0x125be7(0x213)])??null;return _0x536e7?this[_0x125be7(0x27d)][_0x125be7(0x229)](_0x536e7):null;}['getChildren'](_0x3e0257){const _0x41fbbf=_0x336728;return(this['_getHierarchyIndex'](_0x3e0257)[_0x41fbbf(0x1a7)][_0x41fbbf(0x19b)](this[_0x41fbbf(0x213)])??[])[_0x41fbbf(0x2a4)](_0x4ca54b=>{const _0x46c286=_0x41fbbf;let _0x2db3a8=this[_0x46c286(0x27d)][_0x46c286(0x229)](_0x4ca54b);return _0x2db3a8?[_0x2db3a8]:[];});}[_0x336728(0x186)](_0x593157){const _0x5797d5=_0x336728;let _0x37ac8c=this[_0x5797d5(0x2ad)](_0x593157),_0x682111=[],_0xbb4614=_0x37ac8c[_0x5797d5(0x22c)][_0x5797d5(0x19b)](this['_recordId'])??null;for(;_0xbb4614;){let _0x1f6179=this[_0x5797d5(0x27d)]['getRecordById'](_0xbb4614);_0x1f6179&&_0x682111['push'](_0x1f6179),_0xbb4614=_0x37ac8c[_0x5797d5(0x22c)]['get'](_0xbb4614)??null;}return _0x682111;}[_0x336728(0x24e)](_0x2b1bc1){const _0x288d9d=_0x336728;let _0x5596c2=this[_0x288d9d(0x2ad)](_0x2b1bc1),_0xf66e60=_0x5596c2[_0x288d9d(0x22d)][_0x288d9d(0x267)](this['_recordId']),_0x40686b=_0x5596c2[_0x288d9d(0x2ac)]['has'](this[_0x288d9d(0x213)])?this[_0x288d9d(0x219)](_0x5596c2[_0x288d9d(0x1a7)],this[_0x288d9d(0x213)]):[];return _0xf66e60<0x0?[]:_0x40686b['flatMap'](_0x74b6b1=>{const _0x68da72=_0x288d9d;let _0x558ddc=this['_table'][_0x68da72(0x229)](_0x74b6b1);return _0x558ddc?[_0x558ddc]:[];});}[_0x336728(0x253)](_0x1b7c05,_0x5df818,_0x519de7){const _0x2944cf=_0x336728;return this[_0x2944cf(0x207)]['syncExecuteCommand'](_0x241dc3['id'],{'unitId':this[_0x2944cf(0x185)][_0x2944cf(0x23a)](),'tableId':this[_0x2944cf(0x27d)][_0x2944cf(0x23a)](),'fieldId':_0x1b7c05,'recordId':this[_0x2944cf(0x213)],'parentRecordId':_0x5df818,'orderKey':_0x519de7,'source':_0x4fe3fa['Facade']});}[_0x336728(0x24b)](_0x5a01e2,_0x3016b9,_0x59a168='id',_0x5e177e){const _0x5ae890=_0x336728;let _0x1a380c=this['_table'][_0x5ae890(0x1f1)](),_0x5a5b19=Date[_0x5ae890(0x1a0)](),_0x32fda4={..._0x5e177e,'id':_0x2bd9cf(0x6),'values':B(_0x1a380c,_0x3016b9,_0x59a168),'orderKey':(_0x5e177e==null?void 0x0:_0x5e177e[_0x5ae890(0x1ac)])||''+_0x5a5b19,'createdAt':(_0x5e177e==null?void 0x0:_0x5e177e['createdAt'])||_0x5a5b19,'updatedAt':(_0x5e177e==null?void 0x0:_0x5e177e[_0x5ae890(0x1b7)])||_0x5a5b19};if(!this[_0x5ae890(0x207)]['syncExecuteCommand'](_0x5567bd['id'],{'unitId':this[_0x5ae890(0x185)][_0x5ae890(0x23a)](),'tableId':this['_table'][_0x5ae890(0x23a)](),'fieldId':_0x5a01e2,'parentRecordId':this[_0x5ae890(0x213)],'record':_0x32fda4,'source':_0x4fe3fa[_0x5ae890(0x2b6)]}))throw Error('[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22'+this[_0x5ae890(0x213)]+'\x22.');return this['_inject'][_0x5ae890(0x279)](J,this[_0x5ae890(0x185)],this[_0x5ae890(0x27d)],_0x32fda4['id'],this[_0x5ae890(0x2b5)]);}[_0x336728(0x2ad)](_0x176378){const _0x17fec3=_0x336728;return _0xdaf857(this[_0x17fec3(0x27d)]['getTable'](),_0x176378);}['_collectDescendantIds'](_0xc099e1,_0x20e468){let _0x31c498=[],_0x51364e=_0x29cb27=>{const _0x44eb36=_0x52e5;for(let _0x3cadeb of _0xc099e1[_0x44eb36(0x19b)](_0x29cb27)??[])_0x31c498[_0x44eb36(0x26b)](_0x3cadeb),_0x51364e(_0x3cadeb);};return _0x51364e(_0x20e468),_0x31c498;}[_0x336728(0x247)](){const _0x513e7f=_0x336728;let _0x994a1f=this[_0x513e7f(0x27d)]['getTable']()['records'][this[_0x513e7f(0x213)]];if(!_0x994a1f)throw Error(_0x513e7f(0x227)+this['_recordId']+_0x513e7f(0x2a8));return _0x994a1f;}[_0x336728(0x188)](_0x490015){const _0x1a7fde=_0x336728;let _0x651363=this['_table']['getTable']()[_0x1a7fde(0x270)][_0x490015];if(!_0x651363||_0x651363[_0x1a7fde(0x261)]!==_0x33d599[_0x1a7fde(0x18f)])throw Error('[FRecord]:\x20field\x20\x22'+_0x490015+_0x1a7fde(0x29f));return _0x651363;}};Y=J=I([F(0x4,_0x2d81ac)],Y);let X=class{constructor(_0x25934e,_0xf0f665,_0x4dfa9f,_0x5336c8,_0x5e2cf0,_0x3afd33){const _0x4fe8d7=_0x336728;this['_base']=_0x25934e,this['_table']=_0xf0f665,this[_0x4fe8d7(0x225)]=_0x4dfa9f,this[_0x4fe8d7(0x1ef)]=_0x5336c8,this['_commandService']=_0x5e2cf0,this[_0x4fe8d7(0x29e)]=_0x3afd33;}[_0x336728(0x23a)](){const _0x477aa1=_0x336728;return this[_0x477aa1(0x225)];}['getView'](){const _0x5a6b10=_0x336728;return this[_0x5a6b10(0x183)]();}[_0x336728(0x1d1)](){const _0xc9bdd=_0x336728;return this['_getView']()[_0xc9bdd(0x191)];}['getType'](){const _0x4aeaca=_0x336728;return this['_getView']()[_0x4aeaca(0x261)];}[_0x336728(0x201)](_0x5c1002){const _0x1c2968=_0x336728;return this[_0x1c2968(0x207)][_0x1c2968(0x1ea)](_0x65495d['id'],{'unitId':this[_0x1c2968(0x185)][_0x1c2968(0x23a)](),'tableId':this[_0x1c2968(0x27d)][_0x1c2968(0x23a)](),'viewId':this[_0x1c2968(0x225)],'name':_0x5c1002});}['getConfig'](){const _0x3e20f4=_0x336728;let _0x144ede=this[_0x3e20f4(0x271)](),_0x3e233a=this[_0x3e20f4(0x183)]()[_0x3e20f4(0x212)];switch(_0x144ede){case _0x35b90a[_0x3e20f4(0x291)]:return _0x3e233a;case _0x35b90a[_0x3e20f4(0x29c)]:return _0x3e233a;case _0x35b90a[_0x3e20f4(0x2b1)]:return _0x3e233a;case _0x35b90a[_0x3e20f4(0x1bb)]:return _0x3e233a;case _0x35b90a[_0x3e20f4(0x275)]:return _0x3e233a;default:return _0x3e233a;}}[_0x336728(0x187)](_0x474fe9){const _0x1f5ec2=_0x336728;return this['_commandService']['syncExecuteCommand'](_0x3cd319['id'],{'unitId':this[_0x1f5ec2(0x185)][_0x1f5ec2(0x23a)](),'tableId':this[_0x1f5ec2(0x27d)]['getId'](),'viewId':this[_0x1f5ec2(0x225)],'patch':_0x474fe9});}[_0x336728(0x1e9)](){const _0x248c93=_0x336728;var _0x6816cb;return _0x5bb98a[_0x248c93(0x258)](((_0x6816cb=this['_getView']()['config'][_0x248c93(0x28f)])==null?void 0x0:_0x6816cb[_0x248c93(0x22a)])??[]);}[_0x336728(0x249)](_0x59f4ee){const _0x758966=_0x336728;return this['_commandService']['syncExecuteCommand'](_0x3b1b6b['id'],{'unitId':this[_0x758966(0x185)][_0x758966(0x23a)](),'tableId':this[_0x758966(0x27d)][_0x758966(0x23a)](),'viewId':this['_viewId'],'type':_0x43286c[_0x758966(0x23e)],'rules':_0x59f4ee});}['addConditionalColorRule'](_0x2d74ed){const _0x37ee0f=_0x336728;return this['_commandService'][_0x37ee0f(0x1ea)](_0x3b1b6b['id'],{'unitId':this[_0x37ee0f(0x185)]['getId'](),'tableId':this[_0x37ee0f(0x27d)][_0x37ee0f(0x23a)](),'viewId':this[_0x37ee0f(0x225)],'type':_0x43286c['Add'],'rule':_0x2d74ed});}[_0x336728(0x2a5)](_0x4ba19a){const _0x208b72=_0x336728;return this['_commandService'][_0x208b72(0x1ea)](_0x3b1b6b['id'],{'unitId':this[_0x208b72(0x185)][_0x208b72(0x23a)](),'tableId':this[_0x208b72(0x27d)]['getId'](),'viewId':this[_0x208b72(0x225)],'type':_0x43286c['Delete'],'ruleId':_0x4ba19a});}[_0x336728(0x182)](){const _0x2a43a0=_0x336728;return this[_0x2a43a0(0x207)][_0x2a43a0(0x1ea)](_0x3b1b6b['id'],{'unitId':this[_0x2a43a0(0x185)][_0x2a43a0(0x23a)](),'tableId':this[_0x2a43a0(0x27d)]['getId'](),'viewId':this[_0x2a43a0(0x225)],'type':_0x43286c[_0x2a43a0(0x280)]});}[_0x336728(0x193)](){const _0x2b94d2=_0x336728;return this[_0x2b94d2(0x183)]()[_0x2b94d2(0x1a3)]??null;}[_0x336728(0x1f4)](_0x34d574){const _0x27bc20=_0x336728;return this[_0x27bc20(0x207)]['syncExecuteCommand'](_0x19bf5c['id'],{'unitId':this[_0x27bc20(0x185)][_0x27bc20(0x23a)](),'tableId':this[_0x27bc20(0x27d)][_0x27bc20(0x23a)](),'viewId':this[_0x27bc20(0x225)],'filter':_0x34d574});}[_0x336728(0x1ce)](){const _0x1bc956=_0x336728;return this[_0x1bc956(0x183)]()[_0x1bc956(0x1c7)]??[];}[_0x336728(0x2a7)](_0x4b1be1){const _0x217727=_0x336728;return this[_0x217727(0x207)][_0x217727(0x1ea)](_0x411c97['id'],{'unitId':this[_0x217727(0x185)]['getId'](),'tableId':this[_0x217727(0x27d)][_0x217727(0x23a)](),'viewId':this[_0x217727(0x225)],'sort':_0x4b1be1});}[_0x336728(0x19a)](){const _0x3d173a=_0x336728;return this[_0x3d173a(0x183)]()['group']??[];}[_0x336728(0x235)](_0x2436cc){const _0x494227=_0x336728;return this[_0x494227(0x207)][_0x494227(0x1ea)](_0x36027b['id'],{'unitId':this[_0x494227(0x185)][_0x494227(0x23a)](),'tableId':this[_0x494227(0x27d)][_0x494227(0x23a)](),'viewId':this['_viewId'],'group':_0x2436cc});}[_0x336728(0x26c)](_0x1fe371){const _0x3b30b2=_0x336728;var _0x2ec6b3;return z(this[_0x3b30b2(0x27d)][_0x3b30b2(0x1f1)]()['fields'][_0x1fe371])?((_0x2ec6b3=this[_0x3b30b2(0x183)]()['fieldSettings'])==null?void 0x0:_0x2ec6b3[_0x1fe371])??{}:{};}[_0x336728(0x21b)](){const _0x4de605=_0x336728;let _0x33e39d=this['_table'][_0x4de605(0x1f1)](),_0x57b31d=this[_0x4de605(0x183)]();return(_0x57b31d['fieldOrder']??_0x33e39d['fieldOrder'])['filter'](_0x5ae757=>{const _0x4598a3=_0x4de605;var _0xd6f48d;let _0x28d751=_0x33e39d['fields'][_0x5ae757];return z(_0x28d751)&&!((_0xd6f48d=_0x57b31d[_0x4598a3(0x221)])!=null&&(_0xd6f48d=_0xd6f48d[_0x5ae757])!=null&&_0xd6f48d['hidden']);})[_0x4de605(0x1f2)](_0x4fc506=>this[_0x4de605(0x1ef)][_0x4de605(0x279)](L,this['_base'],this[_0x4de605(0x27d)],_0x4fc506));}[_0x336728(0x1a9)](_0x229d43,_0x50dab0){const _0x138dbb=_0x336728;return z(this[_0x138dbb(0x27d)][_0x138dbb(0x1f1)]()['fields'][_0x229d43])?this[_0x138dbb(0x207)][_0x138dbb(0x1ea)](_0x113ed1['id'],{'unitId':this[_0x138dbb(0x185)]['getId'](),'tableId':this[_0x138dbb(0x27d)]['getId'](),'viewId':this[_0x138dbb(0x225)],'fieldId':_0x229d43,'visible':_0x50dab0}):!0x1;}['setFieldWidth'](_0x57961c,_0x2edcf5){const _0x5a92a1=_0x336728;return z(this[_0x5a92a1(0x27d)]['getTable']()[_0x5a92a1(0x270)][_0x57961c])?this[_0x5a92a1(0x207)][_0x5a92a1(0x1ea)](_0x5bb362['id'],{'unitId':this[_0x5a92a1(0x185)][_0x5a92a1(0x23a)](),'tableId':this[_0x5a92a1(0x27d)][_0x5a92a1(0x23a)](),'viewId':this['_viewId'],'fieldId':_0x57961c,'width':_0x2edcf5}):!0x1;}[_0x336728(0x1e1)](_0x391da1,_0x1fffce){const _0x31f4b3=_0x336728;let _0x62411=this[_0x31f4b3(0x27d)][_0x31f4b3(0x1f1)](),_0x168606=_0x1fffce['beforeFieldId']??_0x1fffce[_0x31f4b3(0x1cc)];return!z(_0x62411[_0x31f4b3(0x270)][_0x391da1])||!_0x168606||!z(_0x62411[_0x31f4b3(0x270)][_0x168606])?!0x1:this['_commandService'][_0x31f4b3(0x1ea)](_0x245f1a['id'],{'unitId':this['_base'][_0x31f4b3(0x23a)](),'tableId':this['_table']['getId'](),'viewId':this[_0x31f4b3(0x225)],'fieldId':_0x391da1,'target':_0x1fffce});}[_0x336728(0x22b)](_0x1dfe21){const _0x2e33ef=_0x336728;return this[_0x2e33ef(0x207)]['syncExecuteCommand'](_0x265b4d['id'],{'unitId':this[_0x2e33ef(0x185)][_0x2e33ef(0x23a)](),'tableId':this[_0x2e33ef(0x27d)][_0x2e33ef(0x23a)](),'viewId':this[_0x2e33ef(0x225)],'target':_0x1dfe21});}[_0x336728(0x1bf)](){const _0x1f5881=_0x336728;return this['_commandService'][_0x1f5881(0x1ea)](_0x5d89f8['id'],{'unitId':this['_base'][_0x1f5881(0x23a)](),'tableId':this[_0x1f5881(0x27d)][_0x1f5881(0x23a)](),'viewId':this['_viewId']});}[_0x336728(0x21e)](){const _0x4147a4=_0x336728;return this[_0x4147a4(0x29e)][_0x4147a4(0x21e)](this[_0x4147a4(0x185)][_0x4147a4(0x2a3)]()['getSnapshot'](),this['_table'][_0x4147a4(0x23a)](),this[_0x4147a4(0x225)]);}['_getView'](){const _0x4830d5=_0x336728;let _0x31b139=this[_0x4830d5(0x27d)][_0x4830d5(0x1f1)]()[_0x4830d5(0x28c)][this[_0x4830d5(0x225)]];if(!_0x31b139)throw Error('[FView]:\x20view\x20\x22'+this[_0x4830d5(0x225)]+'\x22\x20does\x20not\x20exist.');return _0x31b139;}};X=I([F(0x4,_0x2d81ac),F(0x5,_0x460976)],X);let Z=class{constructor(_0x3c9271,_0x2fb831,_0xbaeec9,_0x2c91fc,_0x4732e4){const _0x48f981=_0x336728;this['_base']=_0x3c9271,this[_0x48f981(0x224)]=_0x2fb831,this['_injector']=_0xbaeec9,this[_0x48f981(0x207)]=_0x2c91fc,this[_0x48f981(0x29e)]=_0x4732e4;}[_0x336728(0x2a3)](){const _0x2db909=_0x336728;return this[_0x2db909(0x185)][_0x2db909(0x2a3)]();}[_0x336728(0x1f1)](){return this['_getTable']();}[_0x336728(0x23a)](){return this['_tableId'];}[_0x336728(0x293)](){const _0x58b9c9=_0x336728;return _0x2ee0b8(this[_0x58b9c9(0x1fa)]());}[_0x336728(0x274)](_0x4ee2cd){const _0x2983bf=_0x336728;return this[_0x2983bf(0x207)][_0x2983bf(0x1ea)](_0x3d3845['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x2983bf(0x224)],'fieldId':_0x4ee2cd});}[_0x336728(0x1d1)](){const _0x244e8c=_0x336728;return this[_0x244e8c(0x1fa)]()[_0x244e8c(0x191)];}[_0x336728(0x201)](_0x1cf3ca){const _0x452829=_0x336728;return this[_0x452829(0x207)][_0x452829(0x1ea)](_0x83c0cd['id'],{'unitId':this[_0x452829(0x185)]['getId'](),'tableId':this[_0x452829(0x224)],'name':_0x1cf3ca});}[_0x336728(0x1fd)](_0x5e3f89,_0x4b20e5){const _0x8eafcd=_0x336728;let _0x389e01=this['_base']['getBase']()[_0x8eafcd(0x217)](),_0x5999bf=this['_getTable']();if(_0x4b20e5){let _0x4cee2e=this[_0x8eafcd(0x29e)][_0x8eafcd(0x21e)](_0x389e01,this[_0x8eafcd(0x224)],_0x4b20e5),_0x1b564e=_0x5999bf[_0x8eafcd(0x28c)][_0x4b20e5],_0x5a524b=_0x5e3f89[_0x8eafcd(0x222)]??et(_0x5999bf,_0x1b564e,_0x4cee2e),_0x3e1cff=_0x8eafcd(0x1cb)in _0x4cee2e&&Array['isArray'](_0x4cee2e[_0x8eafcd(0x1cb)])?_0x4cee2e[_0x8eafcd(0x1cb)]:[];return _0xa27dde({..._0x5e3f89,'table':_0x5999bf,'fieldIds':_0x5a524b,'rows':_0x3e1cff});}let _0x40adbb=(_0x5999bf[_0x8eafcd(0x243)]?_0x5999bf[_0x8eafcd(0x243)][_0x8eafcd(0x1f2)](_0x263086=>_0x5999bf['records'][_0x263086]):Object['values'](_0x5999bf[_0x8eafcd(0x24a)])['sort']((_0x2c93ca,_0x5989f5)=>_0x2c93ca[_0x8eafcd(0x1ac)]['localeCompare'](_0x5989f5[_0x8eafcd(0x1ac)])))[_0x8eafcd(0x1a3)](_0x25786b=>_0x25786b)[_0x8eafcd(0x1f2)](_0x25f8a9=>({'recordId':_0x25f8a9['id'],'values':_0x25f8a9['values']})),_0x565326=_0x5e3f89[_0x8eafcd(0x222)]??_0x5999bf[_0x8eafcd(0x205)][_0x8eafcd(0x1a3)](_0x58c020=>z(_0x5999bf[_0x8eafcd(0x270)][_0x58c020]));return _0xa27dde({..._0x5e3f89,'table':_0x5999bf,'fieldIds':_0x565326,'rows':_0x40adbb});}['getPrimaryFieldId'](){const _0x2d8ac4=_0x336728;return this['_getTable']()[_0x2d8ac4(0x1fb)];}[_0x336728(0x23f)](){const _0x30f369=_0x336728;let _0x5bd08f=this[_0x30f369(0x1fa)]();return _0x5bd08f['fieldOrder'][_0x30f369(0x1f2)](_0x415fcf=>_0x5bd08f[_0x30f369(0x270)][_0x415fcf])[_0x30f369(0x1a3)](z)[_0x30f369(0x1f2)](_0x35647a=>this['_injector'][_0x30f369(0x279)](L,this[_0x30f369(0x185)],this,_0x35647a['id']));}['getFieldById'](_0x962171){const _0x2db91d=_0x336728;let _0x2c2aff=this['_getTable']()[_0x2db91d(0x270)][_0x962171];return z(_0x2c2aff)?this[_0x2db91d(0x1ef)][_0x2db91d(0x279)](L,this['_base'],this,_0x2c2aff['id']):null;}[_0x336728(0x1f3)](_0x577e61){const _0x1ed338=_0x336728;let _0x512fb9=this[_0x1ed338(0x1fa)]()[_0x1ed338(0x270)],_0x5dfc77=Object['values'](_0x512fb9)[_0x1ed338(0x252)](_0x389c52=>z(_0x389c52)&&_0x389c52[_0x1ed338(0x191)]===_0x577e61);return _0x5dfc77?this['_injector'][_0x1ed338(0x279)](L,this['_base'],this,_0x5dfc77['id']):null;}[_0x336728(0x196)](){const _0x1e44d5=_0x336728;let _0xb3363a=this[_0x1e44d5(0x1fa)]()[_0x1e44d5(0x1fb)];return this[_0x1e44d5(0x1ef)]['createInstance'](L,this['_base'],this,_0xb3363a);}['addField'](_0x58f44c,_0x367700,_0x584afb){const _0x196d08=_0x336728;var _0x45f7ca,_0x13e314;if(!Object[_0x196d08(0x2ab)](_0x33d599)[_0x196d08(0x27b)](_0x1e49e3=>_0x1e49e3===_0x367700))throw Error('Unsupported\x20Base\x20field\x20type\x20\x22'+String(_0x367700)+'\x22.');if(_0x367700===_0x33d599[_0x196d08(0x26f)]){if(!_0x584afb||!(_0x196d08(0x1af)in _0x584afb)||!Array[_0x196d08(0x1aa)](_0x584afb['externalReferences']))throw Error(_0x196d08(0x251));if(_0x584afb[_0x196d08(0x1af)][_0x196d08(0x1b5)]>0x0&&!this['_commandService'][_0x196d08(0x1ea)](_0x46103d['id'],{'unitId':this[_0x196d08(0x185)]['getId'](),'references':_0x584afb[_0x196d08(0x1af)]}))throw Error('Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22'+_0x58f44c+'\x22');}if(_0x367700===_0x33d599[_0x196d08(0x18f)]&&(typeof(_0x584afb==null||(_0x45f7ca=_0x584afb[_0x196d08(0x287)])==null||(_0x45f7ca=_0x45f7ca[_0x196d08(0x212)])==null?void 0x0:_0x45f7ca['targetTableId'])!='string'||typeof _0x584afb['field'][_0x196d08(0x212)][_0x196d08(0x181)]!='boolean'))throw Error(_0x196d08(0x1eb));let _0x4535d1={..._0x584afb==null?void 0x0:_0x584afb[_0x196d08(0x287)],'id':_0x2bd9cf(0x6),'name':_0x58f44c,'type':_0x367700,'config':(_0x584afb==null||(_0x13e314=_0x584afb[_0x196d08(0x287)])==null?void 0x0:_0x13e314[_0x196d08(0x212)])??{}};if(!this[_0x196d08(0x207)][_0x196d08(0x1ea)](_0x1978a1['id'],{'unitId':this[_0x196d08(0x185)][_0x196d08(0x23a)](),'tableId':this['_tableId'],'field':_0x4535d1,'index':_0x584afb==null?void 0x0:_0x584afb['index']}))throw Error(_0x196d08(0x25f)+_0x58f44c+'\x22');return this[_0x196d08(0x1ef)][_0x196d08(0x279)](L,this[_0x196d08(0x185)],this,_0x4535d1['id']);}[_0x336728(0x1b9)](){const _0x1cd9b2=_0x336728;return this[_0x1cd9b2(0x25e)]()[_0x1cd9b2(0x1f2)](_0x212eec=>this[_0x1cd9b2(0x1ef)][_0x1cd9b2(0x279)](Y,this[_0x1cd9b2(0x185)],this,_0x212eec,this[_0x1cd9b2(0x1ef)]));}[_0x336728(0x229)](_0x5b110c){const _0x4a9764=_0x336728;return this[_0x4a9764(0x1fa)]()[_0x4a9764(0x24a)][_0x5b110c]?this[_0x4a9764(0x1ef)][_0x4a9764(0x279)](Y,this['_base'],this,_0x5b110c,this[_0x4a9764(0x1ef)]):null;}[_0x336728(0x290)](_0x5ecd63={}){const _0x583211=_0x336728;let _0x4c09d1=this[_0x583211(0x1fa)](),_0x3d40ef=this['_resolveRecordIds'](_0x5ecd63),_0xfe65e5=Math[_0x583211(0x1a1)](0x0,_0x5ecd63[_0x583211(0x1d0)]??0x0),_0x1fc62b=_0x5ecd63[_0x583211(0x1d5)]==null?null:Math[_0x583211(0x1a1)](0x0,_0x5ecd63[_0x583211(0x1d5)]),_0x4c65c7=Je(_0x3d40ef[_0x583211(0x1f2)](_0x4e1206=>_0x4c09d1[_0x583211(0x24a)][_0x4e1206])[_0x583211(0x1a3)](_0x32fb86=>Xe(_0x32fb86,_0x4c09d1,_0x5ecd63['filter'])),_0x4c09d1,_0x5ecd63[_0x583211(0x1c7)]);return{'records':qe(_0x4c65c7,_0x5ecd63)[_0x583211(0x1f2)](_0x26e8b4=>this[_0x583211(0x1ef)]['createInstance'](Y,this[_0x583211(0x185)],this,_0x26e8b4['id'],this[_0x583211(0x1ef)])),'total':_0x4c65c7[_0x583211(0x1b5)],'offset':_0xfe65e5,'limit':_0x1fc62b,'hasMore':_0x1fc62b!=null&&_0xfe65e5+_0x1fc62b<_0x4c65c7[_0x583211(0x1b5)]};}[_0x336728(0x194)](_0x1cb415,_0x3a0864='id',_0x27f752){const _0x4081be=_0x336728;let _0x564613=this['_getTable'](),_0x7cfe48=Date['now'](),_0x537f97={..._0x27f752,'id':_0x2bd9cf(0x6),'values':B(_0x564613,_0x1cb415,_0x3a0864),'orderKey':(_0x27f752==null?void 0x0:_0x27f752[_0x4081be(0x1ac)])||''+_0x7cfe48,'createdAt':(_0x27f752==null?void 0x0:_0x27f752['createdAt'])||_0x7cfe48,'updatedAt':(_0x27f752==null?void 0x0:_0x27f752[_0x4081be(0x1b7)])||_0x7cfe48};if(!this[_0x4081be(0x207)][_0x4081be(0x1ea)](_0x22871f['id'],{'unitId':this['_base'][_0x4081be(0x23a)](),'tableId':this[_0x4081be(0x224)],'record':_0x537f97,'source':_0x4fe3fa[_0x4081be(0x2b6)]}))throw Error(_0x4081be(0x27f)+_0x537f97['id']+'\x22');return this[_0x4081be(0x1ef)]['createInstance'](Y,this[_0x4081be(0x185)],this,_0x537f97['id'],this[_0x4081be(0x1ef)]);}[_0x336728(0x29b)](_0x4c1176){const _0x5dff74=_0x336728;if(!_0x4c1176[_0x5dff74(0x1b5)])return[];let _0x12787d=this[_0x5dff74(0x1fa)](),_0x3d16af=Date[_0x5dff74(0x1a0)](),_0x427216=_0x4c1176['map']((_0x163d01,_0x13d3c7)=>{const _0x2898d2=_0x5dff74;var _0x257006,_0x5712ee,_0x4d41a3;return{..._0x163d01[_0x2898d2(0x1ba)],'id':_0x2bd9cf(0x6),'values':B(_0x12787d,_0x163d01['values'],_0x163d01[_0x2898d2(0x1c5)]??'id'),'orderKey':((_0x257006=_0x163d01['record'])==null?void 0x0:_0x257006[_0x2898d2(0x1ac)])||''+(_0x3d16af+_0x13d3c7),'createdAt':((_0x5712ee=_0x163d01[_0x2898d2(0x1ba)])==null?void 0x0:_0x5712ee[_0x2898d2(0x2a6)])||_0x3d16af,'updatedAt':((_0x4d41a3=_0x163d01['record'])==null?void 0x0:_0x4d41a3[_0x2898d2(0x1b7)])||_0x3d16af};});if(!this[_0x5dff74(0x207)][_0x5dff74(0x1ea)](_0x144dc8['id'],{'unitId':this[_0x5dff74(0x185)][_0x5dff74(0x23a)](),'tableId':this['_tableId'],'records':_0x427216,'source':_0x4fe3fa['Facade']}))throw Error(_0x5dff74(0x255));return _0x427216[_0x5dff74(0x1f2)](_0x5aae61=>this[_0x5dff74(0x1ef)][_0x5dff74(0x279)](Y,this['_base'],this,_0x5aae61['id'],this[_0x5dff74(0x1ef)]));}[_0x336728(0x204)](_0x35169c){const _0x4e0c0c=_0x336728;return!_0x35169c['length']||this[_0x4e0c0c(0x207)]['syncExecuteCommand'](_0x20826e['id'],{'unitId':this['_base'][_0x4e0c0c(0x23a)](),'tableId':this['_tableId'],'recordIds':_0x35169c,'source':_0x4fe3fa[_0x4e0c0c(0x2b6)]});}[_0x336728(0x1ee)](_0x42567f,_0x3190ad,_0x2c8232=0x1,_0x2bcc94=0x1){const _0x5ee001=_0x336728;return this[_0x5ee001(0x1ef)]['createInstance'](q,this[_0x5ee001(0x185)],this,{'startRow':_0x42567f,'endRow':_0x42567f+_0x2c8232-0x1,'startColumn':_0x3190ad,'endColumn':_0x3190ad+_0x2bcc94-0x1},this[_0x5ee001(0x1ef)]);}[_0x336728(0x27a)](){const _0x3d0e2a=_0x336728;var _0x43b915;let _0x2b32e8=_0x1696cb(this[_0x3d0e2a(0x1fa)]()),_0xd8fb2b=((_0x43b915=_0x2b32e8['recordOrder'])==null?void 0x0:_0x43b915[_0x3d0e2a(0x1b5)])??0x0,_0x2f7573=_0x2b32e8[_0x3d0e2a(0x205)][_0x3d0e2a(0x1a3)](_0x25a65f=>z(_0x2b32e8['fields'][_0x25a65f]))[_0x3d0e2a(0x1b5)];return this['getRange'](0x0,0x0,Math[_0x3d0e2a(0x1a1)](_0xd8fb2b,0x1),Math[_0x3d0e2a(0x1a1)](_0x2f7573,0x1));}[_0x336728(0x1e7)](){const _0xa9b47a=_0x336728;let _0x3f5651=this[_0xa9b47a(0x1fa)]();return _0x3f5651[_0xa9b47a(0x197)][_0xa9b47a(0x1a3)](_0x52f203=>_0x3f5651[_0xa9b47a(0x28c)][_0x52f203])[_0xa9b47a(0x1f2)](_0x5d0ec8=>this['_injector'][_0xa9b47a(0x279)](X,this[_0xa9b47a(0x185)],this,_0x5d0ec8,this['_injector']));}[_0x336728(0x206)](_0x1b1d83){const _0x5497de=_0x336728;return this[_0x5497de(0x1fa)]()[_0x5497de(0x28c)][_0x1b1d83]?this['_injector'][_0x5497de(0x279)](X,this[_0x5497de(0x185)],this,_0x1b1d83,this['_injector']):null;}['getViewByName'](_0xc208ea){const _0x3d5e8e=_0x336728;let _0x5624ba=this[_0x3d5e8e(0x1fa)](),_0x381c60=Object['values'](_0x5624ba[_0x3d5e8e(0x28c)])[_0x3d5e8e(0x252)](_0x3f867c=>_0x3f867c[_0x3d5e8e(0x191)]===_0xc208ea);return _0x381c60?this[_0x3d5e8e(0x1ef)][_0x3d5e8e(0x279)](X,this[_0x3d5e8e(0x185)],this,_0x381c60['id'],this[_0x3d5e8e(0x1ef)]):null;}[_0x336728(0x1a6)](_0x6e1cb8,_0x2aacd6,_0x598ba4){const _0x2305f3=_0x336728;var _0x2e3c07,_0x126831,_0x3075f0,_0x28aea4;let _0x2ca63a=this[_0x2305f3(0x1fa)](),_0x503182=[_0x2b3441,...((_0x598ba4==null||(_0x2e3c07=_0x598ba4[_0x2305f3(0x27c)])==null?void 0x0:_0x2e3c07[_0x2305f3(0x205)])??_0x2ca63a[_0x2305f3(0x205)])[_0x2305f3(0x1a3)](_0x594c4c=>z(_0x2ca63a['fields'][_0x594c4c]))],_0x532bfb={..._0x598ba4==null?void 0x0:_0x598ba4[_0x2305f3(0x27c)],'id':_0x2bd9cf(0x6),'name':_0x6e1cb8,'type':_0x2aacd6,'tableId':this[_0x2305f3(0x224)],'config':(_0x598ba4==null||(_0x126831=_0x598ba4['view'])==null?void 0x0:_0x126831[_0x2305f3(0x212)])??{},'fieldOrder':_0x503182,'fieldSettings':{..._0x598ba4==null||(_0x3075f0=_0x598ba4[_0x2305f3(0x27c)])==null?void 0x0:_0x3075f0[_0x2305f3(0x221)],[_0x2b3441]:{..._0x598ba4==null||(_0x28aea4=_0x598ba4[_0x2305f3(0x27c)])==null||(_0x28aea4=_0x28aea4['fieldSettings'])==null?void 0x0:_0x28aea4[_0x2b3441],'hidden':!0x0}}};if(!this[_0x2305f3(0x207)][_0x2305f3(0x1ea)](_0x338c3b['id'],{'unitId':this[_0x2305f3(0x185)][_0x2305f3(0x23a)](),'tableId':this['_tableId'],'view':_0x532bfb,'index':_0x598ba4==null?void 0x0:_0x598ba4[_0x2305f3(0x1f9)]}))throw Error(_0x2305f3(0x262)+_0x6e1cb8+'\x22');return this[_0x2305f3(0x1ef)][_0x2305f3(0x279)](X,this[_0x2305f3(0x185)],this,_0x532bfb['id'],this[_0x2305f3(0x1ef)]);}[_0x336728(0x1d8)](){const _0x3e6e4f=_0x336728;let _0x3b4b8c=this[_0x3e6e4f(0x1fa)](),_0x54d37d=_0x3b4b8c[_0x3e6e4f(0x205)][_0x3e6e4f(0x1a3)](_0x49bfc3=>z(_0x3b4b8c[_0x3e6e4f(0x270)][_0x49bfc3])),_0x8f7d0e=_0x3b4b8c[_0x3e6e4f(0x197)]['filter'](_0x2370f5=>_0x3b4b8c[_0x3e6e4f(0x28c)][_0x2370f5]);return{'id':_0x3b4b8c['id'],'name':_0x3b4b8c[_0x3e6e4f(0x191)],'primaryFieldId':_0x3b4b8c[_0x3e6e4f(0x1fb)],'fieldIds':_0x54d37d,'viewIds':_0x8f7d0e,'recordCount':this[_0x3e6e4f(0x25e)]()[_0x3e6e4f(0x1b5)],'fields':_0x54d37d[_0x3e6e4f(0x1f2)](_0xac249e=>{const _0x27b70a=_0x3e6e4f;let _0x12d825=_0x3b4b8c[_0x27b70a(0x270)][_0xac249e];return{'id':_0x12d825['id'],'name':_0x12d825[_0x27b70a(0x191)],'type':_0x12d825[_0x27b70a(0x261)],'config':_0x12d825[_0x27b70a(0x212)],'readonly':_0x12d825['readonly'],'description':_0x12d825[_0x27b70a(0x272)]};}),'views':_0x8f7d0e['map'](_0x4e0209=>{const _0x42b7f2=_0x3e6e4f;let _0x1b13fd=_0x3b4b8c['views'][_0x4e0209];return{'id':_0x1b13fd['id'],'name':_0x1b13fd['name'],'type':_0x1b13fd[_0x42b7f2(0x261)]};})};}[_0x336728(0x1fa)](){const _0x2158ee=_0x336728;let _0x308978=this[_0x2158ee(0x185)][_0x2158ee(0x2a3)]()[_0x2158ee(0x217)]()['tables'][this[_0x2158ee(0x224)]];if(!_0x308978)throw Error('[FTable]:\x20table\x20\x22'+this['_tableId']+_0x2158ee(0x2a8));return _0x308978;}[_0x336728(0x25e)](_0x187f70={}){const _0x1e7f5f=_0x336728;let _0x46813c=this[_0x1e7f5f(0x185)][_0x1e7f5f(0x2a3)]()[_0x1e7f5f(0x217)](),_0x6aafe2=this[_0x1e7f5f(0x1fa)]();if(_0x187f70['viewId']){let _0x1694b4=this[_0x1e7f5f(0x29e)]['getProjection'](_0x46813c,this['_tableId'],_0x187f70[_0x1e7f5f(0x1ae)]);if('rows'in _0x1694b4&&Array[_0x1e7f5f(0x1aa)](_0x1694b4[_0x1e7f5f(0x1cb)]))return _0x1694b4[_0x1e7f5f(0x1cb)][_0x1e7f5f(0x1f2)](_0x27ba5a=>_0x27ba5a['recordId']);}return(_0x6aafe2[_0x1e7f5f(0x243)]?_0x6aafe2[_0x1e7f5f(0x243)]['map'](_0x1fd847=>_0x6aafe2[_0x1e7f5f(0x24a)][_0x1fd847]):Object['values'](_0x6aafe2[_0x1e7f5f(0x24a)])[_0x1e7f5f(0x1c7)]((_0x5f4981,_0x4e291a)=>_0x5f4981[_0x1e7f5f(0x1ac)][_0x1e7f5f(0x234)](_0x4e291a[_0x1e7f5f(0x1ac)])))[_0x1e7f5f(0x1a3)](_0x1d3985=>_0x1d3985)[_0x1e7f5f(0x1f2)](_0x17fee5=>_0x17fee5['id']);}};Z=I([F(0x3,_0x2d81ac),F(0x4,_0x460976)],Z);function _0x52e5(_0x11cead,_0x180fbf){_0x11cead=_0x11cead-0x17d;const _0xcde0e8=_0xcde0();let _0x52e5ef=_0xcde0e8[_0x11cead];return _0x52e5ef;}function qe(_0x492bcf,_0xa23636){const _0x3c7ca6=_0x336728;let _0xbfa501=Math[_0x3c7ca6(0x1a1)](0x0,_0xa23636['offset']??0x0);return _0xa23636['limit']==null?_0x492bcf[_0x3c7ca6(0x260)](_0xbfa501):_0x492bcf[_0x3c7ca6(0x260)](_0xbfa501,_0xbfa501+Math[_0x3c7ca6(0x1a1)](0x0,_0xa23636[_0x3c7ca6(0x1d5)]));}function Je(_0xf0b280,_0x41ae63,_0x454d65=[]){const _0x2feeb5=_0x336728;return _0x454d65[_0x2feeb5(0x1b5)]?[..._0xf0b280][_0x2feeb5(0x1c7)]((_0x563aaf,_0x114fa8)=>{const _0x2d24bd=_0x2feeb5;for(let _0x1845d8 of _0x454d65){var _0x55cd36;let _0x30b153=_0x1845d8[_0x2d24bd(0x228)]===_0x4baab9['DESC']?-0x1:0x1,_0x1e2af2=Ye(_0x563aaf[_0x2d24bd(0x2ab)][_0x1845d8['fieldId']],_0x114fa8[_0x2d24bd(0x2ab)][_0x1845d8['fieldId']],(_0x55cd36=_0x41ae63[_0x2d24bd(0x270)][_0x1845d8['fieldId']])==null?void 0x0:_0x55cd36[_0x2d24bd(0x261)]);if(_0x1e2af2!==0x0)return _0x1e2af2*_0x30b153;}return String(_0x563aaf[_0x2d24bd(0x1ac)]??_0x563aaf['id'])['localeCompare'](String(_0x114fa8['orderKey']??_0x114fa8['id']));}):_0xf0b280;}function Ye(_0x5589ab,_0x35f463,_0x12b60f){const _0x4ba113=_0x336728;return _0x5589ab==null&&_0x35f463==null?0x0:_0x5589ab==null?-0x1:_0x35f463==null?0x1:typeof _0x5589ab=='number'&&typeof _0x35f463==_0x4ba113(0x284)?_0x5589ab-_0x35f463:_0x12b60f===_0x33d599[_0x4ba113(0x265)]?Number(_0x5589ab)-Number(_0x35f463):String(_0x5589ab)[_0x4ba113(0x234)](String(_0x35f463));}function Xe(_0x2d4fd2,_0x56b182,_0x442142){const _0x221362=_0x336728;var _0x3196cd;if(!_0x442142||!((_0x3196cd=_0x442142[_0x221362(0x28d)])!=null&&_0x3196cd[_0x221362(0x1b5)]))return!0x0;let {conjunction:_0x2e0427=_0x5f2ca0['OR'],conditions:_0x18a901}=_0x442142;return _0x2e0427===_0x5f2ca0[_0x221362(0x1e0)]&&_0x18a901[_0x221362(0x1b5)]>0x1?_0x18a901[_0x221362(0x19e)](_0x19cf24=>Ze(_0x2d4fd2,_0x56b182,_0x19cf24)):_0x18a901['some'](_0x391b3c=>Ze(_0x2d4fd2,_0x56b182,_0x391b3c));}function Ze(_0x1de904,_0x2fc691,_0x3a9f73){const _0x8cbec6=_0x336728;let _0x4afabf=_0x1de904[_0x8cbec6(0x2ab)][_0x3a9f73[_0x8cbec6(0x1c3)]],_0xf7e061=_0x2fc691['fields'][_0x3a9f73[_0x8cbec6(0x1c3)]];if(Qe(_0x3a9f73)){let _0x473f1e=$e(_0x3a9f73)[_0x8cbec6(0x2b3)](String(_0x4afabf??''));return _0x3a9f73[_0x8cbec6(0x199)]===_0x8cbec6(0x18d)?_0x473f1e:!_0x473f1e;}return!_0xf7e061||_0x5e33be(_0x4afabf,_0x3a9f73[_0x8cbec6(0x199)],_0x3a9f73['value'],_0xf7e061);}function Qe(_0x5728c5){const _0xeaa0c=_0x336728;return _0x5728c5[_0xeaa0c(0x199)]===_0xeaa0c(0x18d)||_0x5728c5['operator']===_0xeaa0c(0x1b6);}function $e(_0x1065e4){const _0x7f8db=_0x336728;let _0x27a92e=String(_0x1065e4[_0x7f8db(0x1b4)]??'');if(_0x27a92e[_0x7f8db(0x1b5)]>0x200)throw Error(_0x7f8db(0x268));try{return new RegExp(_0x27a92e,_0x1065e4[_0x7f8db(0x232)]?void 0x0:'i');}catch(_0x10167e){throw Error('Invalid\x20Base\x20regex\x20filter:\x20'+_0x27a92e+'.\x20'+(_0x10167e instanceof Error?_0x10167e['message']:String(_0x10167e)));}}function et(_0x12f6c2,_0x401507,_0x6583ae){const _0x37a45a=_0x336728;if(_0x6583ae[_0x37a45a(0x261)]!==_0x37a45a(0x1e2)){var _0x38824e;if(_0x6583ae['type']===_0x35b90a['Kanban']){var _0x1b568b;let _0x5d0aa4=[((_0x1b568b=_0x6583ae[_0x37a45a(0x270)])==null||(_0x1b568b=_0x1b568b[0x0])==null?void 0x0:_0x1b568b['id'])??_0x12f6c2[_0x37a45a(0x1fb)],..._0x6583ae[_0x37a45a(0x250)]??[]];return Array[_0x37a45a(0x2aa)](new Set(_0x5d0aa4[_0x37a45a(0x1a3)](_0x45a9d0=>!!_0x12f6c2['fields'][_0x45a9d0])));}if((_0x38824e=_0x6583ae['fields'])!=null&&_0x38824e[_0x37a45a(0x1b5)])return _0x6583ae[_0x37a45a(0x270)][_0x37a45a(0x1f2)](_0x65ec45=>_0x65ec45['id'])[_0x37a45a(0x1a3)](_0x597b20=>{const _0x46260f=_0x37a45a;var _0x596311;return!!(_0x12f6c2[_0x46260f(0x270)][_0x597b20]&&!(_0x401507!=null&&(_0x596311=_0x401507[_0x46260f(0x221)])!=null&&(_0x596311=_0x596311[_0x597b20])!=null&&_0x596311[_0x46260f(0x28e)]));});}return _0x12f6c2[_0x37a45a(0x205)][_0x37a45a(0x1a3)](_0x3e9a40=>{const _0x4b767a=_0x37a45a;var _0xd6a67;return!!(_0x12f6c2['fields'][_0x3e9a40]&&!(_0x401507!=null&&(_0xd6a67=_0x401507[_0x4b767a(0x221)])!=null&&(_0xd6a67=_0xd6a67[_0x3e9a40])!=null&&_0xd6a67[_0x4b767a(0x28e)]));});}let Q=class{constructor(_0xff975f,_0x26b522,_0x40b831,_0x66acc){const _0x515758=_0x336728;this[_0x515758(0x185)]=_0xff975f,this[_0x515758(0x1ef)]=_0x26b522,this[_0x515758(0x248)]=_0x40b831,this['_commandService']=_0x66acc;}[_0x336728(0x2a3)](){const _0x1dd37c=_0x336728;return this[_0x1dd37c(0x185)];}['getId'](){const _0x37f195=_0x336728;return this['_base'][_0x37f195(0x210)]();}[_0x336728(0x2a0)](){const _0xf9558d=_0x336728;return this[_0xf9558d(0x248)][_0xf9558d(0x200)](this[_0xf9558d(0x23a)]())??_0x5bb98a[_0xf9558d(0x258)](this[_0xf9558d(0x185)][_0xf9558d(0x217)]());}[_0x336728(0x1d1)](){const _0x423e39=_0x336728;return this[_0x423e39(0x185)]['getSnapshot']()[_0x423e39(0x191)];}[_0x336728(0x201)](_0x321516){const _0x1afc6b=_0x336728;this[_0x1afc6b(0x207)][_0x1afc6b(0x1ea)](_0x3a2e4a['id'],{'unitId':this[_0x1afc6b(0x23a)](),'name':_0x321516});}[_0x336728(0x2b7)](){const _0x41aace=_0x336728;let _0xdf513f=this['_base']['getSnapshot']();return _0xdf513f[_0x41aace(0x1ad)][_0x41aace(0x1f2)](_0x1d8615=>_0xdf513f[_0x41aace(0x189)][_0x1d8615])[_0x41aace(0x1a3)](_0x369e96=>_0x369e96)[_0x41aace(0x1f2)](_0x27aef5=>this[_0x41aace(0x1ef)][_0x41aace(0x279)](Z,this,_0x27aef5['id'],this[_0x41aace(0x1ef)]));}['getTableById'](_0x2139b8){const _0xfa961=_0x336728;let _0x5ab081=this['_base'][_0xfa961(0x217)]()[_0xfa961(0x189)][_0x2139b8];return _0x5ab081?this[_0xfa961(0x1ef)][_0xfa961(0x279)](Z,this,_0x5ab081['id'],this[_0xfa961(0x1ef)]):null;}[_0x336728(0x198)](_0x28c671){const _0x3293fd=_0x336728;let _0x49721e=this[_0x3293fd(0x185)][_0x3293fd(0x217)](),_0x1456df=Object[_0x3293fd(0x2ab)](_0x49721e[_0x3293fd(0x189)])[_0x3293fd(0x252)](_0xf52a38=>_0xf52a38[_0x3293fd(0x191)]===_0x28c671);return _0x1456df?this[_0x3293fd(0x1ef)][_0x3293fd(0x279)](Z,this,_0x1456df['id'],this[_0x3293fd(0x1ef)]):null;}[_0x336728(0x28a)](_0x1644a1,_0x3b0af3){const _0x507c97=_0x336728;let _0x3c44af=_0x16a351({'id':_0x2bd9cf(),'name':_0x1644a1,..._0x3b0af3==null?void 0x0:_0x3b0af3[_0x507c97(0x23c)],'primaryFieldName':_0x3b0af3==null?void 0x0:_0x3b0af3[_0x507c97(0x292)]}),_0x21a6dd=_0x5bb98a[_0x507c97(0x1f0)](_0x3c44af,(_0x3b0af3==null?void 0x0:_0x3b0af3['table'])??{});if(!this[_0x507c97(0x207)][_0x507c97(0x1ea)](_0x3cc0d1['id'],{'unitId':this[_0x507c97(0x185)][_0x507c97(0x210)](),'table':_0x21a6dd,'index':_0x3b0af3==null?void 0x0:_0x3b0af3['index']}))throw Error(_0x507c97(0x211)+_0x1644a1+'\x22.');return this['_injector'][_0x507c97(0x279)](Z,this,_0x21a6dd['id'],this[_0x507c97(0x1ef)]);}[_0x336728(0x1e8)](_0x27f639){const _0x2fa9ac=_0x336728;let _0x3ec052=typeof _0x27f639==_0x2fa9ac(0x1c9)?_0x27f639:_0x27f639[_0x2fa9ac(0x23a)]();if(!this['_commandService'][_0x2fa9ac(0x1ea)](_0x13a13d['id'],{'unitId':this[_0x2fa9ac(0x185)]['getUnitId'](),'tableId':_0x3ec052}))throw Error(_0x2fa9ac(0x1d7)+_0x3ec052+'\x22.');return!0x0;}[_0x336728(0x20b)](_0x29c475,_0x168899){const _0x168b73=_0x336728;let _0x36d5a3=this['_base'][_0x168b73(0x217)](),_0x129e70=typeof _0x29c475=='string'?_0x29c475:_0x29c475['getId'](),_0x392e92=_0x36d5a3['tables'][_0x129e70];if(!_0x392e92)throw Error('[FBase]:\x20table\x20\x22'+_0x129e70+_0x168b73(0x2a8));let _0x59050a=_0x36d5a3['tableOrder']['indexOf'](_0x129e70)+0x1,_0x55eb8d=_0x5e421d(_0x392e92,{'id':_0x2bd9cf(),'name':_0x392e92['name']+_0x168b73(0x297),'includeRecords':(_0x168899==null?void 0x0:_0x168899['includeRecords'])??!0x1,'regenerateViewIds':(_0x168899==null?void 0x0:_0x168899['regenerateViewIds'])??!0x1});if(!this['_commandService'][_0x168b73(0x1ea)](_0x3cc0d1['id'],{'unitId':this[_0x168b73(0x185)][_0x168b73(0x210)](),'table':_0x55eb8d,'index':_0x59050a}))throw Error(_0x168b73(0x28b)+_0x129e70+'\x22.');return this[_0x168b73(0x1ef)]['createInstance'](Z,this,_0x55eb8d['id'],this[_0x168b73(0x1ef)]);}[_0x336728(0x1d8)](){const _0x186225=_0x336728;let _0x5e25f1=this[_0x186225(0x185)]['getSnapshot']();return{'id':_0x5e25f1['id'],'name':_0x5e25f1[_0x186225(0x191)],'tables':this[_0x186225(0x2b7)]()['map'](_0x306dac=>_0x306dac[_0x186225(0x1d8)]())};}};Q=I([F(0x1,_0x25f6bc(_0x442045)),F(0x2,_0x246509),F(0x3,_0x2d81ac)],Q);var tt=class extends _0x7df423{[_0x336728(0x1c6)](){const _0x295d31=_0x336728;this[_0x295d31(0x20f)](),this[_0x295d31(0x237)]();}[_0x336728(0x1de)](_0x55a963={},_0x4c6cef){const _0x4bcf77=_0x336728;let _0x408399=this['_univerInstanceService'][_0x4bcf77(0x1a4)](_0x874f24[_0x4bcf77(0x2b2)],_0x55a963,_0x4c6cef);return this[_0x4bcf77(0x1ef)][_0x4bcf77(0x279)](Q,_0x408399);}[_0x336728(0x2a1)](){const _0x34fc51=_0x336728;let _0x290e72=this['_univerInstanceService'][_0x34fc51(0x20c)](_0x874f24['UNIVER_BASE']);return _0x290e72?this['_injector']['createInstance'](Q,_0x290e72):null;}[_0x336728(0x2a3)](_0x618861){const _0x5d0ddd=_0x336728;let _0x11b6cb=this[_0x5d0ddd(0x1b0)]['getUnit'](_0x618861,_0x874f24['UNIVER_BASE']);return _0x11b6cb?this[_0x5d0ddd(0x1ef)][_0x5d0ddd(0x279)](Q,_0x11b6cb):null;}[_0x336728(0x21f)](){const _0x24f4f8=_0x336728;return this['_univerInstanceService'][_0x24f4f8(0x19f)](_0x874f24['UNIVER_BASE'])[_0x24f4f8(0x1f2)](_0x53556f=>this[_0x24f4f8(0x1ef)][_0x24f4f8(0x279)](Q,_0x53556f));}[_0x336728(0x237)](){const _0x4e4d0d=_0x336728;this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)][_0x4e4d0d(0x295)],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)]((_0x2ee048,_0x1c315f)=>{const _0x371ffb=_0x4e4d0d;var _0x304e38;if(!$(_0x2ee048,_0x5374e3))return;let _0x41eaad=_0x2ee048[_0x371ffb(0x23b)];if(!((_0x304e38=_0x41eaad[_0x371ffb(0x214)])!=null&&_0x304e38[_0x371ffb(0x1b5)]))return;let _0x4ad86b=this[_0x371ffb(0x2a3)](_0x41eaad[_0x371ffb(0x1e6)]),_0x51b85b=_0x4ad86b==null?void 0x0:_0x4ad86b['getTableById'](_0x41eaad[_0x371ffb(0x214)][0x0][_0x371ffb(0x281)]);if(!_0x4ad86b||!_0x51b85b)return;let _0xdce23c={'base':_0x4ad86b,'table':_0x51b85b,'changes':_0x41eaad[_0x371ffb(0x214)],'source':_0x1c315f!=null&&_0x1c315f[_0x371ffb(0x19d)]?_0x4fe3fa[_0x371ffb(0x1b2)]:_0x41eaad['source']??_0x4fe3fa['UI']};this[_0x371ffb(0x230)](this[_0x371ffb(0x208)][_0x371ffb(0x295)],_0xdce23c);}))),this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)][_0x4e4d0d(0x21c)],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)](_0x33b529=>{const _0x1d1731=_0x4e4d0d;if(_0x33b529['id']!==_0x3cc0d1['id'])return;let {unitId:_0x151dd8,table:_0x1ce52a,index:_0x372529}=_0x33b529['params'],_0x44d853=this[_0x1d1731(0x2a3)](_0x151dd8);if(!_0x44d853)return;let _0x46036c={'base':_0x44d853,'table':_0x1ce52a,'index':_0x372529};this[_0x1d1731(0x230)](this[_0x1d1731(0x208)][_0x1d1731(0x21c)],_0x46036c);}))),this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)][_0x4e4d0d(0x1c2)],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)](_0x31e7ff=>{const _0x592190=_0x4e4d0d;if(_0x31e7ff['id']!==_0x1978a1['id'])return;let {unitId:_0x2eee4c,tableId:_0x4cbd87,field:_0x4671b9,index:_0x3dcc2f,viewIndexes:_0x17441f}=_0x31e7ff[_0x592190(0x23b)],_0x4422c2=this[_0x592190(0x2a3)](_0x2eee4c);if(!_0x4422c2)return;let _0x28be05=_0x4422c2[_0x592190(0x209)](_0x4cbd87);if(!_0x28be05)return;let _0x43a0b7={'base':_0x4422c2,'table':_0x28be05,'field':_0x4671b9,'index':_0x3dcc2f,'viewIndexes':_0x17441f};this[_0x592190(0x230)](this[_0x592190(0x208)][_0x592190(0x1c2)],_0x43a0b7);}))),this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)][_0x4e4d0d(0x26d)],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)](_0x3c115e=>{const _0x4276d2=_0x4e4d0d;if(_0x3c115e['id']!==_0x22871f['id']&&_0x3c115e['id']!==_0x144dc8['id'])return;let _0x57db75=_0x3c115e[_0x4276d2(0x23b)],{unitId:_0x3a3d93,tableId:_0x47158b}=_0x57db75,_0x554f86=_0x57db75[_0x4276d2(0x24a)]??[_0x57db75[_0x4276d2(0x1ba)]],_0x22b01c=this[_0x4276d2(0x2a3)](_0x3a3d93);if(!_0x22b01c)return;let _0x13ac79=_0x22b01c[_0x4276d2(0x209)](_0x47158b);if(!_0x13ac79)return;let _0x46eccc={'base':_0x22b01c,'table':_0x13ac79,'records':_0x554f86};this[_0x4276d2(0x230)](this[_0x4276d2(0x208)][_0x4276d2(0x26d)],_0x46eccc);}))),this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)]['BaseTableViewCreated'],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)](_0x513b07=>{const _0x5b137c=_0x4e4d0d;if(_0x513b07['id']!==_0x338c3b['id'])return;let {unitId:_0x3c607e,tableId:_0x4912f5,view:_0x5c4ef7,index:_0x20c451}=_0x513b07[_0x5b137c(0x23b)],_0x586790=this[_0x5b137c(0x2a3)](_0x3c607e);if(!_0x586790)return;let _0x191b23=_0x586790['getTableById'](_0x4912f5);if(!_0x191b23)return;let _0x1289b6={'base':_0x586790,'table':_0x191b23,'view':_0x5c4ef7,'index':_0x20c451};this[_0x5b137c(0x230)](this['Event'][_0x5b137c(0x239)],_0x1289b6);}))),this[_0x4e4d0d(0x22e)](this[_0x4e4d0d(0x246)](this[_0x4e4d0d(0x208)]['BaseTableCellValueChanged'],()=>this[_0x4e4d0d(0x207)][_0x4e4d0d(0x1c1)](_0x225ebe=>{const _0x301a06=_0x4e4d0d;if(_0x225ebe['id']!==_0x54f164['id'])return;let {unitId:_0x4ef4e8,tableId:_0x4c6d23,recordId:_0x37cf48,fieldId:_0x4abd6b,value:_0x4906ef}=_0x225ebe[_0x301a06(0x23b)],_0x4d7494=this['getBase'](_0x4ef4e8);if(!_0x4d7494)return;let _0x5a4de7=_0x4d7494[_0x301a06(0x209)](_0x4c6d23);if(!_0x5a4de7)return;let _0x3b26b8=_0x5a4de7[_0x301a06(0x1fc)](_0x4abd6b);if(!_0x3b26b8)return;let _0x32fda7=_0x5a4de7[_0x301a06(0x229)](_0x37cf48);if(!_0x32fda7)return;let _0x316b02={'base':_0x4d7494,'table':_0x5a4de7,'field':_0x3b26b8,'record':_0x32fda7,'value':_0x4906ef};this['fireEvent'](this[_0x301a06(0x208)][_0x301a06(0x220)],_0x316b02);})));}[_0x336728(0x20f)](){const _0x1e78b0=_0x336728;this[_0x1e78b0(0x22e)](this[_0x1e78b0(0x246)](this[_0x1e78b0(0x208)][_0x1e78b0(0x215)],()=>this[_0x1e78b0(0x207)]['beforeCommandExecuted'](_0x2017bd=>{const _0x11c011=_0x1e78b0;if($(_0x2017bd,_0x298aea)){let {unitId:_0x19d816,tableId:_0x26e5d0,patches:_0x6461e3,source:_0x5b391d=_0x4fe3fa['UI']}=_0x2017bd[_0x11c011(0x23b)],_0x4e5742=this[_0x11c011(0x1f8)](_0x19d816,_0x26e5d0);if(!_0x4e5742)return;this[_0x11c011(0x1d3)](_0x4e5742['base'],_0x4e5742[_0x11c011(0x23c)],_0x568123(_0x4e5742['table'][_0x11c011(0x1f1)](),_0x6461e3),_0x5b391d);return;}if($(_0x2017bd,_0x26fb58)){let {unitId:_0xebfa9d,tableId:_0x2b27ac,patches:_0x32100d,source:_0x396fbb=_0x4fe3fa['UI']}=_0x2017bd['params'],_0x1e0603=this[_0x11c011(0x1f8)](_0xebfa9d,_0x2b27ac);if(!_0x1e0603)return;let _0x14b176=_0x1e0603[_0x11c011(0x23c)]['getTable']();this[_0x11c011(0x1d3)](_0x1e0603[_0x11c011(0x269)],_0x1e0603[_0x11c011(0x23c)],_0x568123(_0x14b176,_0x34fccc(_0x14b176,_0x32100d)),_0x396fbb);return;}if($(_0x2017bd,_0x22871f)){let _0x2ac6b3=_0x2017bd[_0x11c011(0x23b)],_0x397942=this[_0x11c011(0x1f8)](_0x2ac6b3[_0x11c011(0x1e6)],_0x2ac6b3['tableId']);if(!_0x397942)return;this[_0x11c011(0x1d3)](_0x397942['base'],_0x397942['table'],_0x3e5dd7(_0x397942[_0x11c011(0x23c)][_0x11c011(0x1f1)](),[_0x2ac6b3[_0x11c011(0x1ba)]]),_0x2ac6b3[_0x11c011(0x18a)]??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x144dc8)){let _0x45ccd6=_0x2017bd['params'],_0x17bc73=this['_getHierarchyEventContext'](_0x45ccd6[_0x11c011(0x1e6)],_0x45ccd6[_0x11c011(0x281)]);if(!_0x17bc73)return;this[_0x11c011(0x1d3)](_0x17bc73[_0x11c011(0x269)],_0x17bc73['table'],_0x3e5dd7(_0x17bc73[_0x11c011(0x23c)][_0x11c011(0x1f1)](),_0x45ccd6['records']),_0x45ccd6[_0x11c011(0x18a)]??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x39fd7f)){let _0x2890c1=_0x2017bd[_0x11c011(0x23b)],_0x2eaaad=this[_0x11c011(0x1f8)](_0x2890c1['unitId'],_0x2890c1[_0x11c011(0x281)]);if(!_0x2eaaad)return;this[_0x11c011(0x1d3)](_0x2eaaad[_0x11c011(0x269)],_0x2eaaad[_0x11c011(0x23c)],_0x3e5dd7(_0x2eaaad[_0x11c011(0x23c)]['getTable'](),[_0x2890c1[_0x11c011(0x1ba)]]),_0x2890c1['source']??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x241dc3)){let _0x12c462=_0x2017bd['params'],_0x3afc22=this[_0x11c011(0x1f8)](_0x12c462[_0x11c011(0x1e6)],_0x12c462['tableId']);if(!_0x3afc22)return;let _0x2d636f=_0x3afc22['table'][_0x11c011(0x1f1)](),_0x27105b=_0x12c462[_0x11c011(0x1c3)]??_0x2ee0b8(_0x2d636f),_0x2f3481=_0xdaf857(_0x2d636f,_0x27105b)[_0x11c011(0x22c)]['get'](_0x12c462[_0x11c011(0x190)])??null;this[_0x11c011(0x1d3)](_0x3afc22['base'],_0x3afc22['table'],[{'tableId':_0x12c462[_0x11c011(0x281)],'fieldId':_0x27105b,'recordId':_0x12c462['recordId'],'oldParentRecordId':_0x2f3481,'parentRecordId':_0x12c462[_0x11c011(0x17e)]}],_0x12c462[_0x11c011(0x18a)]??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x5567bd)){let _0x4b8c4a=_0x2017bd['params'],_0x10431a=this[_0x11c011(0x1f8)](_0x4b8c4a[_0x11c011(0x1e6)],_0x4b8c4a[_0x11c011(0x281)]);if(!_0x10431a)return;let _0x2ab84a=_0x4b8c4a[_0x11c011(0x1c3)]??_0x2ee0b8(_0x10431a['table']['getTable']());this['_fireBeforeHierarchyChange'](_0x10431a[_0x11c011(0x269)],_0x10431a['table'],[{'tableId':_0x4b8c4a[_0x11c011(0x281)],'fieldId':_0x2ab84a,'recordId':_0x4b8c4a[_0x11c011(0x1ba)]['id'],'oldParentRecordId':null,'parentRecordId':_0x4b8c4a['parentRecordId']}],_0x4b8c4a['source']??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x384f53)){let _0x6a497e=_0x2017bd[_0x11c011(0x23b)],_0x1427c7=this['_getHierarchyEventContext'](_0x6a497e[_0x11c011(0x1e6)],_0x6a497e[_0x11c011(0x281)]);if(!_0x1427c7)return;this[_0x11c011(0x1d3)](_0x1427c7[_0x11c011(0x269)],_0x1427c7[_0x11c011(0x23c)],_0x3282d7(_0x1427c7[_0x11c011(0x23c)][_0x11c011(0x1f1)](),[_0x6a497e[_0x11c011(0x190)]]),_0x6a497e[_0x11c011(0x18a)]??_0x4fe3fa['UI']);return;}if($(_0x2017bd,_0x20826e)){let _0x472afa=_0x2017bd['params'],_0x488776=this[_0x11c011(0x1f8)](_0x472afa[_0x11c011(0x1e6)],_0x472afa['tableId']);if(!_0x488776)return;this['_fireBeforeHierarchyChange'](_0x488776[_0x11c011(0x269)],_0x488776[_0x11c011(0x23c)],_0x3282d7(_0x488776[_0x11c011(0x23c)][_0x11c011(0x1f1)](),_0x472afa['recordIds']),_0x472afa[_0x11c011(0x18a)]??_0x4fe3fa['UI']);return;}if(!$(_0x2017bd,_0x54f164))return;let _0x56bf4d=_0x2017bd[_0x11c011(0x23b)],_0x50ed9c=this[_0x11c011(0x1f8)](_0x56bf4d['unitId'],_0x56bf4d['tableId']);if(!_0x50ed9c)return;let _0x38026d=_0x50ed9c[_0x11c011(0x23c)][_0x11c011(0x1f1)]();if(!_0x12eab2(_0x38026d)[_0x11c011(0x24d)](_0x56bf4d[_0x11c011(0x1c3)]))return;let _0x3965cd=_0xdaf857(_0x38026d,_0x56bf4d[_0x11c011(0x1c3)])[_0x11c011(0x22c)][_0x11c011(0x19b)](_0x56bf4d[_0x11c011(0x190)])??null,_0xe8ecd2=_0x1e19fe(_0x56bf4d[_0x11c011(0x1b4)])[0x0]??null;_0x3965cd!==_0xe8ecd2&&this[_0x11c011(0x1d3)](_0x50ed9c['base'],_0x50ed9c[_0x11c011(0x23c)],[{'tableId':_0x56bf4d[_0x11c011(0x281)],'fieldId':_0x56bf4d[_0x11c011(0x1c3)],'recordId':_0x56bf4d[_0x11c011(0x190)],'oldParentRecordId':_0x3965cd,'parentRecordId':_0xe8ecd2}],_0x56bf4d['source']??_0x4fe3fa['UI']);}))),this['disposeWithMe'](this[_0x1e78b0(0x246)](this['Event'][_0x1e78b0(0x1ed)],()=>this[_0x1e78b0(0x207)][_0x1e78b0(0x1cf)](_0x438c4e=>{const _0x2aa364=_0x1e78b0;if(_0x438c4e['id']!==_0x3cc0d1['id'])return;let {unitId:_0x305653,table:_0x5d1dc6,index:_0x37c3d3}=_0x438c4e[_0x2aa364(0x23b)],_0x25b0f4=this[_0x2aa364(0x2a3)](_0x305653);if(!_0x25b0f4)return;let _0x39c981={'base':_0x25b0f4,'table':_0x5d1dc6,'index':_0x37c3d3};if(this[_0x2aa364(0x230)](this[_0x2aa364(0x208)][_0x2aa364(0x1ed)],_0x39c981),_0x39c981[_0x2aa364(0x1dd)])throw new _0x10ac7b();}))),this[_0x1e78b0(0x22e)](this[_0x1e78b0(0x246)](this[_0x1e78b0(0x208)]['BeforeBaseTableFieldCreate'],()=>this[_0x1e78b0(0x207)][_0x1e78b0(0x1cf)](_0x5758e4=>{const _0x2269a0=_0x1e78b0;if(_0x5758e4['id']!==_0x1978a1['id'])return;let {unitId:_0x49980c,tableId:_0x5d9051,field:_0x22a509,index:_0x3cc1ea,viewIndexes:_0x4e9aa3}=_0x5758e4[_0x2269a0(0x23b)],_0x3e4f89=this[_0x2269a0(0x2a3)](_0x49980c);if(!_0x3e4f89)return;let _0x135dbc=_0x3e4f89[_0x2269a0(0x209)](_0x5d9051);if(!_0x135dbc)return;let _0x2434a7={'base':_0x3e4f89,'table':_0x135dbc,'field':_0x22a509,'index':_0x3cc1ea,'viewIndexes':_0x4e9aa3};if(this[_0x2269a0(0x230)](this[_0x2269a0(0x208)]['BeforeBaseTableFieldCreate'],_0x2434a7),_0x2434a7['cancel'])throw new _0x10ac7b();}))),this['disposeWithMe'](this['registerEventHandler'](this['Event'][_0x1e78b0(0x1dc)],()=>this[_0x1e78b0(0x207)][_0x1e78b0(0x1cf)](_0x516690=>{const _0x558958=_0x1e78b0;if(_0x516690['id']!==_0x22871f['id']&&_0x516690['id']!==_0x144dc8['id'])return;let _0xcdfa49=_0x516690['params'],{unitId:_0x502a21,tableId:_0x2d13ad}=_0xcdfa49,_0x1c6fa6=_0xcdfa49[_0x558958(0x24a)]??[_0xcdfa49[_0x558958(0x1ba)]],_0x81af21=this['getBase'](_0x502a21);if(!_0x81af21)return;let _0x11bdc4=_0x81af21[_0x558958(0x209)](_0x2d13ad);if(!_0x11bdc4)return;let _0x2b751a={'base':_0x81af21,'table':_0x11bdc4,'records':_0x1c6fa6};if(this[_0x558958(0x230)](this[_0x558958(0x208)][_0x558958(0x1dc)],_0x2b751a),_0x2b751a['cancel'])throw new _0x10ac7b();}))),this[_0x1e78b0(0x22e)](this[_0x1e78b0(0x246)](this[_0x1e78b0(0x208)][_0x1e78b0(0x276)],()=>this[_0x1e78b0(0x207)]['beforeCommandExecuted'](_0x362d62=>{const _0x59c772=_0x1e78b0;if(_0x362d62['id']!==_0x338c3b['id'])return;let {unitId:_0xc01a34,tableId:_0x47aa6a,view:_0x3bc369,index:_0xb64222}=_0x362d62[_0x59c772(0x23b)],_0x361333=this['getBase'](_0xc01a34);if(!_0x361333)return;let _0xdb0df2=_0x361333['getTableById'](_0x47aa6a);if(!_0xdb0df2)return;let _0x1f56f9={'base':_0x361333,'table':_0xdb0df2,'view':_0x3bc369,'index':_0xb64222};if(this[_0x59c772(0x230)](this[_0x59c772(0x208)][_0x59c772(0x276)],_0x1f56f9),_0x1f56f9[_0x59c772(0x1dd)])throw new _0x10ac7b();}))),this['disposeWithMe'](this['registerEventHandler'](this['Event'][_0x1e78b0(0x223)],()=>this[_0x1e78b0(0x207)][_0x1e78b0(0x1cf)](_0x14ceec=>{const _0x123a60=_0x1e78b0;if(_0x14ceec['id']!==_0x54f164['id'])return;let {unitId:_0x4d75ca,tableId:_0x582119,recordId:_0x5ed89a,fieldId:_0x9eca76,value:_0x243299}=_0x14ceec[_0x123a60(0x23b)],_0x1861a6=this[_0x123a60(0x2a3)](_0x4d75ca);if(!_0x1861a6)return;let _0x5368a6=_0x1861a6[_0x123a60(0x209)](_0x582119);if(!_0x5368a6)return;let _0x24995a=_0x5368a6[_0x123a60(0x1fc)](_0x9eca76);if(!_0x24995a)return;let _0x1b715e=_0x5368a6['getRecordById'](_0x5ed89a);if(!_0x1b715e)return;let _0x46758a={'base':_0x1861a6,'table':_0x5368a6,'field':_0x24995a,'record':_0x1b715e,'value':_0x243299};if(this['fireEvent'](this[_0x123a60(0x208)][_0x123a60(0x223)],_0x46758a),_0x46758a['cancel'])throw new _0x10ac7b();})));}[_0x336728(0x1f8)](_0x3e13e5,_0xeb0d60){const _0x496477=_0x336728;let _0x4b9c5f=this[_0x496477(0x2a3)](_0x3e13e5),_0x25a7e5=_0x4b9c5f==null?void 0x0:_0x4b9c5f[_0x496477(0x209)](_0xeb0d60);return _0x4b9c5f&&_0x25a7e5?{'base':_0x4b9c5f,'table':_0x25a7e5}:null;}[_0x336728(0x1d3)](_0x5b2827,_0x5e2604,_0x70efdc,_0x10abf7){const _0x1bd9b2=_0x336728;if(!_0x70efdc[_0x1bd9b2(0x1b5)])return;let _0x2df0ea={'base':_0x5b2827,'table':_0x5e2604,'changes':_0x70efdc,'source':_0x10abf7};if(this['fireEvent'](this[_0x1bd9b2(0x208)]['BeforeBaseHierarchyChange'],_0x2df0ea),_0x2df0ea['cancel'])throw new _0x10ac7b();}};function $(_0x1055c6,_0x21b291){const _0x4af634=_0x336728;return _0x1055c6['id']===_0x21b291['id']&&_0x1055c6[_0x4af634(0x23b)]!==void 0x0;}_0x7df423['extend'](tt);var nt=class extends _0x530ba6{get[_0x336728(0x180)](){return _0x33d599;}get[_0x336728(0x27e)](){return _0x5f2ca0;}get[_0x336728(0x1ec)](){return _0xf6848f;}get['BaseFieldKeyEnum'](){return R;}get[_0x336728(0x1bd)](){return _0x35b90a;}get[_0x336728(0x19c)](){return _0x46b2d8;}get[_0x336728(0x18c)](){return _0x4e80c8;}get[_0x336728(0x236)](){return _0xd4945d;}get[_0x336728(0x20e)](){return _0x4baab9;}get['BaseEventSource'](){return _0x4fe3fa;}get['BaseHierarchyErrorCode'](){return _0x3d171b;}get['BaseHierarchyInvalidReason'](){return _0x1c2958;}get['BaseRecordLinkRole'](){return _0x523fee;}};_0x530ba6['extend'](nt);var rt=class extends _0x23c09b{get[_0x336728(0x21c)](){const _0x5b38ad=_0x336728;return _0x5b38ad(0x21c);}get[_0x336728(0x1ed)](){const _0x15a6c5=_0x336728;return _0x15a6c5(0x1ed);}get[_0x336728(0x1c2)](){const _0x54c677=_0x336728;return _0x54c677(0x1c2);}get[_0x336728(0x263)](){const _0x3ee009=_0x336728;return _0x3ee009(0x263);}get[_0x336728(0x26d)](){const _0x29d3d9=_0x336728;return _0x29d3d9(0x26d);}get[_0x336728(0x1dc)](){return'BeforeBaseTableRecordCreate';}get[_0x336728(0x239)](){const _0x4dd864=_0x336728;return _0x4dd864(0x239);}get[_0x336728(0x276)](){const _0x3d9a65=_0x336728;return _0x3d9a65(0x276);}get[_0x336728(0x220)](){const _0x42d6c5=_0x336728;return _0x42d6c5(0x220);}get[_0x336728(0x223)](){return'BeforeBaseTableCellValueChange';}get[_0x336728(0x295)](){return'BaseHierarchyChanged';}get[_0x336728(0x215)](){return'BeforeBaseHierarchyChange';}};_0x23c09b['extend'](rt);export{R as BaseFieldKeyEnum,Q as FBase,Z as FBaseTable,L as FBaseTableField,q as FBaseTableRange,Y as FBaseTableRecord,X as FBaseTableView,rt as FBasesEventNameMixin,H as resolveBaseFieldKey,B as resolveBaseFieldValues};
|