@univerjs-pro/bases 1.0.0-alpha.5 → 1.0.0-alpha.6

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.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +6 -6
@@ -1 +1 @@
1
- function _0x3985(_0x4c398c,_0x47ceeb){_0x4c398c=_0x4c398c-0x6a;const _0x4cef40=_0x4cef();let _0x398554=_0x4cef40[_0x4c398c];return _0x398554;}const _0x58624b=_0x3985;(function(_0x3bd890,_0x240465){const _0x3b2090=_0x3985,_0x14921e=_0x3bd890();while(!![]){try{const _0x52e827=parseInt(_0x3b2090(0x87))/0x1*(-parseInt(_0x3b2090(0x6c))/0x2)+parseInt(_0x3b2090(0x7f))/0x3*(parseInt(_0x3b2090(0x75))/0x4)+parseInt(_0x3b2090(0x84))/0x5+parseInt(_0x3b2090(0x72))/0x6*(-parseInt(_0x3b2090(0x76))/0x7)+parseInt(_0x3b2090(0x6b))/0x8*(-parseInt(_0x3b2090(0x7c))/0x9)+-parseInt(_0x3b2090(0x6e))/0xa*(-parseInt(_0x3b2090(0x77))/0xb)+parseInt(_0x3b2090(0x82))/0xc;if(_0x52e827===_0x240465)break;else _0x14921e['push'](_0x14921e['shift']());}catch(_0x493a8f){_0x14921e['push'](_0x14921e['shift']());}}}(_0x4cef,0x94509));function _0x4cef(){const _0x4ac99a=['甘特視圖需要開始和結束日期字段','20457SFstai','更新視圖設置','刪除記錄','3ZGJwjF','電話號碼','看板需要可分組字段','265284iddecs','創建記錄','4253515FlVSRG','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','單元格值無效','1QDHNxe','創建人','3880KqBqWq','135114aWfZXN','修改人','1307910wBeUar','輸入內容','字段標題不能為空','字段類型無效','3448890WbLTOj','更新單元格','記錄\x20ID','3302036SxlxfL','7TDiSwc','55xxelGo','創建時間','複選框','刪除字段'];_0x4cef=function(){return _0x4ac99a;};return _0x4cef();}const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x58624b(0x79),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x58624b(0x80),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':'雙向關聯','recordId':_0x58624b(0x74),'createdBy':_0x58624b(0x6a),'updatedBy':_0x58624b(0x6d),'createdAt':_0x58624b(0x78),'updatedAt':'更新時間','summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x58624b(0x6f),'linkPlaceholder':_0x58624b(0x85)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x58624b(0x70),'invalidFieldType':_0x58624b(0x71),'invalidCellValue':_0x58624b(0x86),'invalidKanbanGroupField':_0x58624b(0x81),'invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x58624b(0x7b)},'command':{'updateCell':_0x58624b(0x73),'createField':'創建字段','deleteField':_0x58624b(0x7a),'createRecord':_0x58624b(0x83),'deleteRecord':_0x58624b(0x7e),'updateViewConfig':_0x58624b(0x7d)}}};export{e as default};
1
+ function _0x4a3c(_0x378bf7,_0x41d6f1){_0x378bf7=_0x378bf7-0x19a;const _0x4ccae1=_0x4cca();let _0x4a3c29=_0x4ccae1[_0x378bf7];return _0x4a3c29;}const _0x4ea0bc=_0x4a3c;(function(_0x4c066e,_0x4411b5){const _0x2817df=_0x4a3c,_0x2a6f49=_0x4c066e();while(!![]){try{const _0x159042=parseInt(_0x2817df(0x1a1))/0x1+-parseInt(_0x2817df(0x1aa))/0x2*(parseInt(_0x2817df(0x1ab))/0x3)+-parseInt(_0x2817df(0x19b))/0x4+-parseInt(_0x2817df(0x1ae))/0x5+parseInt(_0x2817df(0x1b0))/0x6+-parseInt(_0x2817df(0x1b2))/0x7*(parseInt(_0x2817df(0x1a2))/0x8)+-parseInt(_0x2817df(0x1b1))/0x9*(-parseInt(_0x2817df(0x19f))/0xa);if(_0x159042===_0x4411b5)break;else _0x2a6f49['push'](_0x2a6f49['shift']());}catch(_0x35a2d6){_0x2a6f49['push'](_0x2a6f49['shift']());}}}(_0x4cca,0xf0371));const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x4ea0bc(0x1b3),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x4ea0bc(0x19d),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x4ea0bc(0x19a),'recordId':_0x4ea0bc(0x1af),'createdBy':_0x4ea0bc(0x19e),'updatedBy':_0x4ea0bc(0x1b4),'createdAt':_0x4ea0bc(0x1a6),'updatedAt':_0x4ea0bc(0x1ac),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':'字段標題不能為空','invalidFieldType':_0x4ea0bc(0x1a5),'invalidCellValue':_0x4ea0bc(0x1a3),'invalidKanbanGroupField':_0x4ea0bc(0x19c),'invalidCalendarDateField':_0x4ea0bc(0x1a7),'invalidGanttDateField':_0x4ea0bc(0x1a4)},'command':{'updateCell':_0x4ea0bc(0x1ad),'createField':_0x4ea0bc(0x1b5),'deleteField':_0x4ea0bc(0x1a8),'createRecord':'創建記錄','deleteRecord':_0x4ea0bc(0x1a9),'updateViewConfig':_0x4ea0bc(0x1a0)}}};function _0x4cca(){const _0x37260e=['雙向關聯','7738984UCPCCj','看板需要可分組字段','電話號碼','創建人','1480JqejVU','更新視圖設置','52305keBppn','8iZPUHE','單元格值無效','甘特視圖需要開始和結束日期字段','字段類型無效','創建時間','日曆需要日期字段','刪除字段','刪除記錄','32Wozvqv','163542ZRDeWI','更新時間','更新單元格','2466535MPUExa','記錄\x20ID','10048728aCqiWf','226062IDBtJI','8122513AKAmdR','複選框','修改人','創建字段'];_0x4cca=function(){return _0x37260e;};return _0x4cca();}export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2aee(_0x2129f1,_0x75c4bc){_0x2129f1=_0x2129f1-0x119;const _0x47c518=_0x47c5();let _0x2aeea6=_0x47c518[_0x2129f1];return _0x2aeea6;}(function(_0x11c170,_0x89df88){const _0x2e1945=_0x2aee,_0x5191de=_0x11c170();while(!![]){try{const _0x1501fa=parseInt(_0x2e1945(0x192))/0x1*(-parseInt(_0x2e1945(0x121))/0x2)+parseInt(_0x2e1945(0x17b))/0x3+-parseInt(_0x2e1945(0x229))/0x4*(-parseInt(_0x2e1945(0x15b))/0x5)+-parseInt(_0x2e1945(0x21a))/0x6+-parseInt(_0x2e1945(0x22e))/0x7+parseInt(_0x2e1945(0x1e1))/0x8+-parseInt(_0x2e1945(0x126))/0x9;if(_0x1501fa===_0x89df88)break;else _0x5191de['push'](_0x5191de['shift']());}catch(_0xbffa2f){_0x5191de['push'](_0x5191de['shift']());}}}(_0x47c5,0x42e94),function(_0x3bc634,_0x34633b){const _0x345ac8=_0x2aee;typeof exports==_0x345ac8(0x1bc)&&typeof module<'u'?_0x34633b(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x345ac8(0x148)&&define[_0x345ac8(0x15a)]?define([_0x345ac8(0x11f),_0x345ac8(0x142),_0x345ac8(0x130),_0x345ac8(0x14c)],_0x34633b):(_0x3bc634=typeof globalThis<'u'?globalThis:_0x3bc634||self,_0x34633b(_0x3bc634[_0x345ac8(0x1cf)]={},_0x3bc634['UniverProBases'],_0x3bc634['UniverCore'],_0x3bc634[_0x345ac8(0x19b)]));}(this,function(_0x1cf2ae,_0x44ca51,_0x248e19,_0x210b35){const _0x2f4013=_0x2aee;Object[_0x2f4013(0x149)](_0x1cf2ae,Symbol[_0x2f4013(0x175)],{'value':_0x2f4013(0x16a)});var _0x2d9779=class{constructor(_0x153d37,_0x424556,_0xa50a1c,_0x58ee1a){const _0x394556=_0x2f4013;this['_base']=_0x153d37,this[_0x394556(0x183)]=_0x424556,this[_0x394556(0x1ae)]=_0xa50a1c,this[_0x394556(0x13c)]=_0x58ee1a;}[_0x2f4013(0x157)](){const _0x6c757f=_0x2f4013;return this[_0x6c757f(0x1ae)];}[_0x2f4013(0x1ba)](){const _0xb50d32=_0x2f4013;return this[_0xb50d32(0x1f2)]();}[_0x2f4013(0x1a6)](){const _0x5c706d=_0x2f4013;return this[_0x5c706d(0x1f2)]()[_0x5c706d(0x1c7)];}[_0x2f4013(0x18b)](){const _0xd2dcf=_0x2f4013;return this[_0xd2dcf(0x1f2)]()['type'];}[_0x2f4013(0x19a)](){const _0x3580a5=_0x2f4013;return this[_0x3580a5(0x1f2)]()[_0x3580a5(0x211)];}[_0x2f4013(0x1c4)](){const _0x3f8cbb=_0x2f4013;return this[_0x3f8cbb(0x1f2)]()['defaultValue'];}[_0x2f4013(0x1c8)](){const _0x490dd0=_0x2f4013;return this[_0x490dd0(0x1f2)]()[_0x490dd0(0x1bb)];}[_0x2f4013(0x20d)](){const _0x35cc6a=_0x2f4013;return!!this[_0x35cc6a(0x1f2)]()[_0x35cc6a(0x1d2)];}[_0x2f4013(0x1b9)](_0x450c0e){const _0x41a98a=_0x2f4013;return this[_0x41a98a(0x1fe)]({'name':_0x450c0e});}[_0x2f4013(0x1ea)](_0x17d28e){return this['update']({'config':_0x17d28e});}[_0x2f4013(0x233)](_0x26ff83){const _0x54cba9=_0x2f4013;return this[_0x54cba9(0x1fe)]({'defaultValue':_0x26ff83});}[_0x2f4013(0x1fe)](_0x5cf65e){const _0xa5a29e=_0x2f4013;return this[_0xa5a29e(0x13c)][_0xa5a29e(0x146)](_0x248e19[_0xa5a29e(0x1ca)])[_0xa5a29e(0x16c)](_0x44ca51[_0xa5a29e(0x22d)]['id'],{'unitId':this['_base'][_0xa5a29e(0x157)](),'tableId':this['_table']['getId'](),'fieldId':this[_0xa5a29e(0x1ae)],'patch':_0x5cf65e});}['changeType'](_0x7e7a03,_0x580f7c={}){const _0xa31c71=_0x2f4013;return this['_inject'][_0xa31c71(0x146)](_0x248e19[_0xa31c71(0x1ca)])[_0xa31c71(0x16c)](_0x44ca51[_0xa31c71(0x12e)]['id'],{'unitId':this[_0xa31c71(0x143)][_0xa31c71(0x157)](),'tableId':this[_0xa31c71(0x183)]['getId'](),'fieldId':this[_0xa31c71(0x1ae)],'input':{'type':_0x7e7a03,'config':_0x580f7c}});}[_0x2f4013(0x21e)](){const _0x1ad9fe=_0x2f4013;return this[_0x1ad9fe(0x13c)][_0x1ad9fe(0x146)](_0x248e19[_0x1ad9fe(0x1ca)])[_0x1ad9fe(0x16c)](_0x44ca51['DeleteBaseFieldCommand']['id'],{'unitId':this[_0x1ad9fe(0x143)]['getId'](),'tableId':this[_0x1ad9fe(0x183)]['getId'](),'fieldId':this[_0x1ad9fe(0x1ae)]});}[_0x2f4013(0x221)](_0x23f238){const _0x105c0b=_0x2f4013;return this[_0x105c0b(0x13c)][_0x105c0b(0x146)](_0x248e19[_0x105c0b(0x1ca)])[_0x105c0b(0x16c)](_0x44ca51['MoveBaseFieldCommand']['id'],{'unitId':this['_base'][_0x105c0b(0x157)](),'tableId':this[_0x105c0b(0x183)][_0x105c0b(0x157)](),'fieldId':this[_0x105c0b(0x1ae)],'target':_0x23f238});}[_0x2f4013(0x1f2)](){const _0x5c7d50=_0x2f4013;let _0x1ed753=this['_table'][_0x5c7d50(0x1d0)]()[_0x5c7d50(0x214)][this['_fieldId']];if(!_0x1ed753)throw Error(_0x5c7d50(0x1fb)+this[_0x5c7d50(0x1ae)]+'\x22\x20does\x20not\x20exist.');return _0x1ed753;}},_0x5f0e81=class _0x331790{constructor(_0x1b314a,_0x83f1c7,_0x1488ce,_0xceacc2){const _0x5d9c7a=_0x2f4013;this[_0x5d9c7a(0x143)]=_0x1b314a,this['_table']=_0x83f1c7,this[_0x5d9c7a(0x197)]=_0x1488ce,this['_inject']=_0xceacc2,this[_0x5d9c7a(0x1d1)]();}[_0x2f4013(0x21c)](){const _0x1e7ab1=_0x2f4013;return this[_0x1e7ab1(0x143)][_0x1e7ab1(0x157)]();}[_0x2f4013(0x1b0)](){const _0x2be526=_0x2f4013;return this['_table'][_0x2be526(0x157)]();}[_0x2f4013(0x178)](){const _0x4592e1=_0x2f4013;return{...this[_0x4592e1(0x197)]};}[_0x2f4013(0x1e8)](){const _0x553cd8=_0x2f4013;return this[_0x553cd8(0x197)][_0x553cd8(0x179)];}['getColumn'](){const _0xbd7726=_0x2f4013;return this[_0xbd7726(0x197)][_0xbd7726(0x1f1)];}['getNumRows'](){const _0x2faf70=_0x2f4013;return this[_0x2faf70(0x197)][_0x2faf70(0x236)]-this[_0x2faf70(0x197)]['startRow']+0x1;}[_0x2f4013(0x1f4)](){const _0x2dcb61=_0x2f4013;return this[_0x2dcb61(0x197)][_0x2dcb61(0x15d)]-this[_0x2dcb61(0x197)][_0x2dcb61(0x1f1)]+0x1;}['getValues'](){const _0x337e5e=_0x2f4013;let _0x1da5a0=this[_0x337e5e(0x1b1)](),_0x276698=[];for(let _0x4a23ff=this[_0x337e5e(0x197)][_0x337e5e(0x179)];_0x4a23ff<=this[_0x337e5e(0x197)][_0x337e5e(0x236)];_0x4a23ff++){var _0x2081fe;let _0x4a10e6=(_0x2081fe=_0x1da5a0['rowId'])==null?void 0x0:_0x2081fe[_0x4a23ff],_0x3291a3=[];for(let _0x21e28d=this[_0x337e5e(0x197)][_0x337e5e(0x1f1)];_0x21e28d<=this['_range'][_0x337e5e(0x15d)];_0x21e28d++){var _0x3c6d4a;let _0x398bdf=(_0x3c6d4a=_0x1da5a0['colId'])==null?void 0x0:_0x3c6d4a[_0x21e28d];_0x3291a3[_0x337e5e(0x191)](_0x4a10e6&&_0x398bdf?(0x0,_0x44ca51[_0x337e5e(0x219)])(_0x1da5a0,_0x4a10e6,_0x398bdf):null);}_0x276698[_0x337e5e(0x191)](_0x3291a3);}return _0x276698;}[_0x2f4013(0x201)](){const _0x5db857=_0x2f4013;var _0x2f3021,_0x274b17;return(_0x2f3021=(_0x274b17=this[_0x5db857(0x13f)]()[0x0])==null?void 0x0:_0x274b17[0x0])==null?null:_0x2f3021;}[_0x2f4013(0x202)](_0x5037e7){const _0x4fe12e=_0x2f4013;return this[_0x4fe12e(0x222)]([[_0x5037e7]]);}[_0x2f4013(0x222)](_0x55e2dd){const _0x442147=_0x2f4013;let _0x17dd3b=this['getNumRows'](),_0x511274=this['getNumColumns']();if(_0x55e2dd[_0x442147(0x1b3)]>_0x17dd3b||_0x55e2dd['some'](_0xcd8046=>_0xcd8046[_0x442147(0x1b3)]>_0x511274)){var _0x6734d4,_0x3a7f48;throw Error(_0x442147(0x220)+_0x55e2dd[_0x442147(0x1b3)]+'x'+((_0x6734d4=(_0x3a7f48=_0x55e2dd[0x0])==null?void 0x0:_0x3a7f48[_0x442147(0x1b3)])==null?0x0:_0x6734d4)+'\x20exceeds\x20range\x20size\x20'+_0x17dd3b+'x'+_0x511274+'.');}let _0xb25345=this['_inject']['get'](_0x248e19[_0x442147(0x1ca)]),_0x35f871=_0x55e2dd[_0x442147(0x119)]((_0x5429fa,_0x148d74)=>_0x5429fa[_0x442147(0x153)]((_0x54b462,_0x219c8f)=>({'row':this['_range'][_0x442147(0x179)]+_0x148d74,'col':this[_0x442147(0x197)][_0x442147(0x1f1)]+_0x219c8f,'value':_0x54b462})));return _0xb25345[_0x442147(0x16c)](_0x44ca51[_0x442147(0x180)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x442147(0x183)]['getId'](),'patches':_0x35f871});}[_0x2f4013(0x1b8)](){const _0x188861=_0x2f4013;return this['setValues'](Array[_0x188861(0x18f)]({'length':this[_0x188861(0x150)]()},()=>Array[_0x188861(0x18f)]({'length':this[_0x188861(0x1f4)]()},()=>null)));}[_0x2f4013(0x1a2)](_0x39150d,_0x48361e,_0x5c205b=this[_0x2f4013(0x150)](),_0x41c557=this[_0x2f4013(0x1f4)]()){const _0x1d2a7e=_0x2f4013;return this['_inject'][_0x1d2a7e(0x20f)](_0x331790,this[_0x1d2a7e(0x143)],this[_0x1d2a7e(0x183)],{'startRow':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x179)]+_0x39150d,'startColumn':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x1f1)]+_0x48361e,'endRow':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x179)]+_0x39150d+_0x5c205b-0x1,'endColumn':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x1f1)]+_0x48361e+_0x41c557-0x1},this[_0x1d2a7e(0x13c)]);}[_0x2f4013(0x1b1)](){const _0x552534=_0x2f4013;let _0x2543c9=this[_0x552534(0x183)][_0x552534(0x1d0)]();if(!_0x2543c9)throw Error(_0x552534(0x1e7));return(0x0,_0x44ca51[_0x552534(0x1c0)])(_0x2543c9);}[_0x2f4013(0x1d1)](){const _0x32731a=_0x2f4013;var _0x4487cd,_0x54e7ed;let _0x4ad854=this[_0x32731a(0x1b1)](),_0x4d890a=(_0x4487cd=(_0x54e7ed=_0x4ad854['recordOrder'])==null?void 0x0:_0x54e7ed['length'])==null?0x0:_0x4487cd,_0x4a7330=_0x4ad854['fieldOrder'][_0x32731a(0x1b3)];if(this[_0x32731a(0x197)]['startRow']<0x0||this[_0x32731a(0x197)]['startColumn']<0x0||this[_0x32731a(0x197)][_0x32731a(0x236)]<this[_0x32731a(0x197)]['startRow']||this[_0x32731a(0x197)][_0x32731a(0x15d)]<this[_0x32731a(0x197)][_0x32731a(0x1f1)]||this[_0x32731a(0x197)][_0x32731a(0x236)]>=Math[_0x32731a(0x1db)](_0x4d890a,0x1)||this[_0x32731a(0x197)][_0x32731a(0x15d)]>=Math[_0x32731a(0x1db)](_0x4a7330,0x1))throw Error(_0x32731a(0x13a)+_0x4d890a+_0x32731a(0x1f8)+_0x4a7330+_0x32731a(0x1b4)+JSON[_0x32731a(0x227)](this[_0x32731a(0x197)])+'.');}};let _0x3f327f=function(_0x45d94b){const _0x462eb4=_0x2f4013;return _0x45d94b['Id']='id',_0x45d94b[_0x462eb4(0x1d6)]=_0x462eb4(0x1c7),_0x45d94b['Auto']='auto',_0x45d94b;}({});function _0x3d4450(_0x285f78,_0x89c72d,_0x4b71da='id'){const _0x490001=_0x2f4013;if(!_0x89c72d)return{};let _0x2e6f40={};return Object[_0x490001(0x1a9)](_0x89c72d)['forEach'](([_0x5682a7,_0x3208e1])=>{_0x2e6f40[_0x5419b2(_0x285f78,_0x5682a7,_0x4b71da)]=_0x3208e1;}),_0x2e6f40;}function _0x5419b2(_0x4a4006,_0x440bea,_0x39f977){const _0x264be4=_0x2f4013;if(_0x39f977==='id'||_0x39f977===_0x264be4(0x213)&&_0x4a4006[_0x264be4(0x214)][_0x440bea])return _0x440bea;let _0x74e36b=Object['values'](_0x4a4006['fields'])['filter'](_0x5b18c6=>_0x5b18c6[_0x264be4(0x1c7)]===_0x440bea);if(_0x74e36b[_0x264be4(0x1b3)]===0x1)return _0x74e36b[0x0]['id'];throw _0x74e36b[_0x264be4(0x1b3)]>0x1?Error(_0x264be4(0x1fa)+_0x440bea):Error(_0x264be4(0x136)+_0x440bea);}var _0x5b39e2=class _0x4cfe98{constructor(_0x2c6e3b,_0xda69cf,_0x35871e,_0x2f755c){const _0x49cac6=_0x2f4013;this[_0x49cac6(0x143)]=_0x2c6e3b,this[_0x49cac6(0x183)]=_0xda69cf,this['_recordId']=_0x35871e,this['_inject']=_0x2f755c;}[_0x2f4013(0x157)](){const _0x42490f=_0x2f4013;return this[_0x42490f(0x166)];}[_0x2f4013(0x1e6)](){const _0x1e946d=_0x2f4013;return this[_0x1e946d(0x207)]();}[_0x2f4013(0x201)](_0x18de0d){const _0x9ccfd9=_0x2f4013;var _0x195d90;return(_0x195d90=this[_0x9ccfd9(0x207)]()[_0x9ccfd9(0x160)][_0x18de0d])==null?null:_0x195d90;}[_0x2f4013(0x13f)](){const _0x2d9965=_0x2f4013;return{...this[_0x2d9965(0x207)]()[_0x2d9965(0x160)]};}['setValue'](_0x1e97da,_0x3d4b99){const _0xfa4b6d=_0x2f4013;return this[_0xfa4b6d(0x13c)][_0xfa4b6d(0x146)](_0x248e19[_0xfa4b6d(0x1ca)])[_0xfa4b6d(0x16c)](_0x44ca51[_0xfa4b6d(0x1e2)]['id'],{'unitId':this['_base'][_0xfa4b6d(0x157)](),'tableId':this[_0xfa4b6d(0x183)][_0xfa4b6d(0x157)](),'recordId':this['_recordId'],'fieldId':_0x1e97da,'value':_0x3d4b99});}[_0x2f4013(0x222)](_0x473ee2,_0x458d0c='id'){const _0x3f5e1e=_0x2f4013;let _0x3e6c9f=this[_0x3f5e1e(0x13c)]['get'](_0x248e19['ICommandService']),_0x23f68f=this['_table'][_0x3f5e1e(0x1d0)](),_0x5bcde1=[{'recordId':this[_0x3f5e1e(0x166)],'values':_0x3d4450(_0x23f68f,_0x473ee2,_0x458d0c)}];return _0x3e6c9f[_0x3f5e1e(0x16c)](_0x44ca51['SetBaseRecordValuesCommand']['id'],{'unitId':this['_base'][_0x3f5e1e(0x157)](),'tableId':this['_table'][_0x3f5e1e(0x157)](),'patches':_0x5bcde1});}[_0x2f4013(0x21e)](){const _0x23468d=_0x2f4013;return this['_inject'][_0x23468d(0x146)](_0x248e19[_0x23468d(0x1ca)])[_0x23468d(0x16c)](_0x44ca51[_0x23468d(0x1af)]['id'],{'unitId':this['_base'][_0x23468d(0x157)](),'tableId':this[_0x23468d(0x183)][_0x23468d(0x157)](),'recordId':this[_0x23468d(0x166)]});}[_0x2f4013(0x14b)](_0x487492){const _0x159a0e=_0x2f4013;let _0x4f3105=this[_0x159a0e(0x13c)][_0x159a0e(0x146)](_0x248e19[_0x159a0e(0x1ca)]),_0x23d1b5={...this['_getRecord'](),..._0x487492,'id':(0x0,_0x248e19['generateRandomId'])(0x6)};_0x487492!=null&&_0x487492[_0x159a0e(0x160)]&&(_0x23d1b5[_0x159a0e(0x160)]={..._0x23d1b5['values'],..._0x487492[_0x159a0e(0x160)]});let _0x9d78c0=Date[_0x159a0e(0x13d)]();if(_0x23d1b5['orderKey']||(_0x23d1b5[_0x159a0e(0x1f7)]=''+_0x9d78c0),_0x23d1b5[_0x159a0e(0x1d9)]||(_0x23d1b5[_0x159a0e(0x1d9)]=_0x9d78c0),_0x23d1b5[_0x159a0e(0x15c)]||(_0x23d1b5['updatedAt']=_0x9d78c0),!_0x4f3105[_0x159a0e(0x16c)](_0x44ca51[_0x159a0e(0x1e4)]['id'],{'unitId':this['_base'][_0x159a0e(0x157)](),'tableId':this[_0x159a0e(0x183)]['getId'](),'sourceRecordId':this[_0x159a0e(0x166)],'record':_0x23d1b5}))throw Error(_0x159a0e(0x1c2)+this[_0x159a0e(0x166)]+'\x22.');return this[_0x159a0e(0x13c)][_0x159a0e(0x20f)](_0x4cfe98,this['_base'],this[_0x159a0e(0x183)],_0x23d1b5['id'],this[_0x159a0e(0x13c)]);}[_0x2f4013(0x22b)](_0xd6917){const _0x93f5f9=_0x2f4013;return this[_0x93f5f9(0x13c)][_0x93f5f9(0x146)](_0x248e19['ICommandService'])[_0x93f5f9(0x16c)](_0x44ca51[_0x93f5f9(0x181)]['id'],{'unitId':this['_base'][_0x93f5f9(0x157)](),'tableId':this[_0x93f5f9(0x183)]['getId'](),'recordId':this[_0x93f5f9(0x166)],'orderKey':_0xd6917});}[_0x2f4013(0x207)](){const _0x549d5f=_0x2f4013;let _0xfb3397=this[_0x549d5f(0x183)]['getTable']()[_0x549d5f(0x209)][this[_0x549d5f(0x166)]];if(!_0xfb3397)throw Error(_0x549d5f(0x145)+this[_0x549d5f(0x166)]+_0x549d5f(0x18a));return _0xfb3397;}},_0x3bf3d6=class{constructor(_0x2eed6b,_0x583db4,_0x212400,_0x95de3f){const _0x3c7be7=_0x2f4013;this['_base']=_0x2eed6b,this[_0x3c7be7(0x183)]=_0x583db4,this[_0x3c7be7(0x1a3)]=_0x212400,this[_0x3c7be7(0x12f)]=_0x95de3f;}[_0x2f4013(0x157)](){const _0x1d8ec6=_0x2f4013;return this[_0x1d8ec6(0x1a3)];}[_0x2f4013(0x165)](){return this['_getView']();}[_0x2f4013(0x1a6)](){const _0x259da5=_0x2f4013;return this[_0x259da5(0x1cb)]()[_0x259da5(0x1c7)];}[_0x2f4013(0x18b)](){const _0xf3bd8e=_0x2f4013;return this[_0xf3bd8e(0x1cb)]()[_0xf3bd8e(0x19f)];}['setName'](_0x22e1ec){const _0x5df341=_0x2f4013;return this[_0x5df341(0x12f)][_0x5df341(0x146)](_0x248e19['ICommandService'])[_0x5df341(0x16c)](_0x44ca51[_0x5df341(0x1df)]['id'],{'unitId':this[_0x5df341(0x143)][_0x5df341(0x157)](),'tableId':this[_0x5df341(0x183)][_0x5df341(0x157)](),'viewId':this['_viewId'],'name':_0x22e1ec});}[_0x2f4013(0x19a)](){const _0x5e27bd=_0x2f4013;let _0x494247=this[_0x5e27bd(0x18b)](),_0x5ed2ed=this[_0x5e27bd(0x1cb)]()[_0x5e27bd(0x211)];switch(_0x494247){case _0x248e19['BaseViewType'][_0x5e27bd(0x1b5)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)]['Kanban']:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x1d3)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x129)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x1ce)]:return _0x5ed2ed;default:return _0x5ed2ed;}}[_0x2f4013(0x132)](_0x363ff0){const _0x33f538=_0x2f4013;return this[_0x33f538(0x12f)][_0x33f538(0x146)](_0x248e19['ICommandService'])[_0x33f538(0x16c)](_0x44ca51[_0x33f538(0x176)]['id'],{'unitId':this['_base'][_0x33f538(0x157)](),'tableId':this[_0x33f538(0x183)][_0x33f538(0x157)](),'viewId':this['_viewId'],'patch':_0x363ff0});}['getFilter'](){const _0x1fa576=_0x2f4013;var _0x30b026;return(_0x30b026=this[_0x1fa576(0x1cb)]()[_0x1fa576(0x155)])==null?null:_0x30b026;}[_0x2f4013(0x1c3)](_0x2823f2){const _0x121ce0=_0x2f4013;return this['_injector'][_0x121ce0(0x146)](_0x248e19[_0x121ce0(0x1ca)])[_0x121ce0(0x16c)](_0x44ca51[_0x121ce0(0x159)]['id'],{'unitId':this[_0x121ce0(0x143)][_0x121ce0(0x157)](),'tableId':this['_table'][_0x121ce0(0x157)](),'viewId':this[_0x121ce0(0x1a3)],'filter':_0x2823f2});}[_0x2f4013(0x235)](){const _0x3dd9ce=_0x2f4013;var _0x260963;return(_0x260963=this['_getView']()[_0x3dd9ce(0x170)])==null?[]:_0x260963;}[_0x2f4013(0x1c9)](_0x1da5bb){const _0x49c088=_0x2f4013;return this[_0x49c088(0x12f)][_0x49c088(0x146)](_0x248e19['ICommandService'])['syncExecuteCommand'](_0x44ca51[_0x49c088(0x17f)]['id'],{'unitId':this[_0x49c088(0x143)]['getId'](),'tableId':this[_0x49c088(0x183)]['getId'](),'viewId':this['_viewId'],'sort':_0x1da5bb});}[_0x2f4013(0x16f)](){const _0x312cc4=_0x2f4013;var _0x516bac;return(_0x516bac=this[_0x312cc4(0x1cb)]()[_0x312cc4(0x195)])==null?[]:_0x516bac;}[_0x2f4013(0x156)](_0x19dbe8){const _0x1dd533=_0x2f4013;return this[_0x1dd533(0x12f)][_0x1dd533(0x146)](_0x248e19[_0x1dd533(0x1ca)])['syncExecuteCommand'](_0x44ca51['SetBaseViewGroupCommand']['id'],{'unitId':this[_0x1dd533(0x143)][_0x1dd533(0x157)](),'tableId':this[_0x1dd533(0x183)][_0x1dd533(0x157)](),'viewId':this[_0x1dd533(0x1a3)],'group':_0x19dbe8});}[_0x2f4013(0x11a)](_0x49062c){const _0x2bcd20=_0x2f4013;var _0xe93d89,_0x37e502;return(_0xe93d89=(_0x37e502=this[_0x2bcd20(0x1cb)]()[_0x2bcd20(0x20e)])==null?void 0x0:_0x37e502[_0x49062c])==null?{}:_0xe93d89;}[_0x2f4013(0x172)](){const _0x9ec63f=_0x2f4013;var _0x1ad8df;let _0x478c92=this['_table'][_0x9ec63f(0x1d0)](),_0x39b39b=this[_0x9ec63f(0x1cb)]();return((_0x1ad8df=_0x39b39b[_0x9ec63f(0x18d)])==null?_0x478c92[_0x9ec63f(0x18d)]:_0x1ad8df)[_0x9ec63f(0x155)](_0xaef086=>{const _0x377f81=_0x9ec63f;var _0x5f39c7;return _0x478c92[_0x377f81(0x214)][_0xaef086]&&!(!((_0x5f39c7=_0x39b39b[_0x377f81(0x20e)])==null||(_0x5f39c7=_0x5f39c7[_0xaef086])==null)&&_0x5f39c7[_0x377f81(0x12c)]);})[_0x9ec63f(0x153)](_0x3ee8a8=>this[_0x9ec63f(0x12f)]['createInstance'](_0x2d9779,this['_base'],this['_table'],_0x3ee8a8,this[_0x9ec63f(0x12f)]));}['setFieldVisible'](_0x56a0d9,_0x1e3697){const _0x32f611=_0x2f4013;return this[_0x32f611(0x12f)][_0x32f611(0x146)](_0x248e19[_0x32f611(0x1ca)])[_0x32f611(0x16c)](_0x44ca51['SetBaseViewFieldVisibleCommand']['id'],{'unitId':this[_0x32f611(0x143)]['getId'](),'tableId':this[_0x32f611(0x183)]['getId'](),'viewId':this[_0x32f611(0x1a3)],'fieldId':_0x56a0d9,'visible':_0x1e3697});}[_0x2f4013(0x163)](_0x30be16,_0x4ab43e){const _0x3dbbf1=_0x2f4013;return this['_injector'][_0x3dbbf1(0x146)](_0x248e19[_0x3dbbf1(0x1ca)])[_0x3dbbf1(0x16c)](_0x44ca51[_0x3dbbf1(0x1cd)]['id'],{'unitId':this[_0x3dbbf1(0x143)][_0x3dbbf1(0x157)](),'tableId':this['_table'][_0x3dbbf1(0x157)](),'viewId':this['_viewId'],'fieldId':_0x30be16,'width':_0x4ab43e});}[_0x2f4013(0x1ad)](_0x167895,_0x16c0a9){const _0x595b1d=_0x2f4013;return this[_0x595b1d(0x12f)][_0x595b1d(0x146)](_0x248e19[_0x595b1d(0x1ca)])[_0x595b1d(0x16c)](_0x44ca51[_0x595b1d(0x231)]['id'],{'unitId':this[_0x595b1d(0x143)][_0x595b1d(0x157)](),'tableId':this[_0x595b1d(0x183)][_0x595b1d(0x157)](),'viewId':this['_viewId'],'fieldId':_0x167895,'target':_0x16c0a9});}['move'](_0x514ef2){const _0x34007a=_0x2f4013;return this[_0x34007a(0x12f)][_0x34007a(0x146)](_0x248e19[_0x34007a(0x1ca)])['syncExecuteCommand'](_0x44ca51[_0x34007a(0x1f9)]['id'],{'unitId':this[_0x34007a(0x143)][_0x34007a(0x157)](),'tableId':this[_0x34007a(0x183)][_0x34007a(0x157)](),'viewId':this['_viewId'],'target':_0x514ef2});}['delete'](){const _0x4c2af2=_0x2f4013;return this[_0x4c2af2(0x12f)][_0x4c2af2(0x146)](_0x248e19[_0x4c2af2(0x1ca)])[_0x4c2af2(0x16c)](_0x44ca51[_0x4c2af2(0x20c)]['id'],{'unitId':this['_base'][_0x4c2af2(0x157)](),'tableId':this[_0x4c2af2(0x183)]['getId'](),'viewId':this[_0x4c2af2(0x1a3)]});}['getProjection'](){const _0x57e709=_0x2f4013;return this['_injector']['get'](_0x44ca51[_0x57e709(0x185)])['getProjection'](this[_0x57e709(0x143)][_0x57e709(0x13e)]()[_0x57e709(0x131)](),this['_table'][_0x57e709(0x157)](),this[_0x57e709(0x1a3)]);}[_0x2f4013(0x1cb)](){const _0x3812ef=_0x2f4013;let _0x532a22=this[_0x3812ef(0x183)]['getTable']()[_0x3812ef(0x1ef)][this[_0x3812ef(0x1a3)]];if(!_0x532a22)throw Error(_0x3812ef(0x173)+this[_0x3812ef(0x1a3)]+_0x3812ef(0x18a));return _0x532a22;}},_0x4ab4c=class{constructor(_0x2af206,_0x13351b,_0x1f5a02){const _0x4a9fbd=_0x2f4013;this[_0x4a9fbd(0x143)]=_0x2af206,this['_tableId']=_0x13351b,this[_0x4a9fbd(0x12f)]=_0x1f5a02;}[_0x2f4013(0x13e)](){const _0x16ecd3=_0x2f4013;return this['_base'][_0x16ecd3(0x13e)]();}['getTable'](){const _0x4919ec=_0x2f4013;return this[_0x4919ec(0x1b1)]();}[_0x2f4013(0x157)](){return this['_tableId'];}[_0x2f4013(0x1a6)](){const _0x53ceb9=_0x2f4013;return this[_0x53ceb9(0x1b1)]()[_0x53ceb9(0x1c7)];}['setName'](_0x4de38a){const _0x244465=_0x2f4013;return this['_injector']['get'](_0x248e19[_0x244465(0x1ca)])[_0x244465(0x16c)](_0x44ca51[_0x244465(0x1b7)]['id'],{'unitId':this['_base'][_0x244465(0x157)](),'tableId':this['_tableId'],'name':_0x4de38a});}['search'](_0x1b5489,_0x2a02f3){const _0x33f8c5=_0x2f4013;var _0x36fd0f;let _0x5d2967=this[_0x33f8c5(0x12f)]['get'](_0x44ca51[_0x33f8c5(0x185)]),_0x5b7071=this[_0x33f8c5(0x143)][_0x33f8c5(0x13e)]()['getSnapshot'](),_0x4b7adc=this['_getTable']();if(_0x2a02f3){var _0x3638c5;let _0x295e27=_0x5d2967[_0x33f8c5(0x154)](_0x5b7071,this[_0x33f8c5(0x19c)],_0x2a02f3),_0x24b206=_0x4b7adc[_0x33f8c5(0x1ef)][_0x2a02f3],_0x23024a=(_0x3638c5=_0x1b5489['fieldIds'])==null?_0x1448bd(_0x4b7adc,_0x24b206,_0x295e27):_0x3638c5,_0x261e29=_0x33f8c5(0x1fd)in _0x295e27&&Array[_0x33f8c5(0x122)](_0x295e27[_0x33f8c5(0x1fd)])?_0x295e27[_0x33f8c5(0x1fd)]:[];return(0x0,_0x44ca51[_0x33f8c5(0x1e3)])({..._0x1b5489,'table':_0x4b7adc,'fieldIds':_0x23024a,'rows':_0x261e29});}let _0x2bfc3a=(_0x4b7adc[_0x33f8c5(0x158)]?_0x4b7adc[_0x33f8c5(0x158)]['map'](_0x133037=>_0x4b7adc['records'][_0x133037]):Object['values'](_0x4b7adc[_0x33f8c5(0x209)])[_0x33f8c5(0x170)]((_0x3b0038,_0x3bfc90)=>_0x3b0038['orderKey'][_0x33f8c5(0x11d)](_0x3bfc90['orderKey'])))[_0x33f8c5(0x155)](_0x4e73d6=>_0x4e73d6)[_0x33f8c5(0x153)](_0x279350=>({'recordId':_0x279350['id'],'values':_0x279350['values']})),_0x5a82f4=(_0x36fd0f=_0x1b5489[_0x33f8c5(0x186)])==null?_0x4b7adc[_0x33f8c5(0x18d)][_0x33f8c5(0x155)](_0x4f24d9=>_0x4b7adc[_0x33f8c5(0x214)][_0x4f24d9]):_0x36fd0f;return(0x0,_0x44ca51['searchBaseTable'])({..._0x1b5489,'table':_0x4b7adc,'fieldIds':_0x5a82f4,'rows':_0x2bfc3a});}['getPrimaryFieldId'](){const _0x4ac09b=_0x2f4013;return this[_0x4ac09b(0x1b1)]()[_0x4ac09b(0x20b)];}[_0x2f4013(0x144)](){const _0x1cf73c=_0x2f4013;let _0x4f0410=this[_0x1cf73c(0x1b1)]();return _0x4f0410['fieldOrder']['map'](_0x413352=>_0x4f0410[_0x1cf73c(0x214)][_0x413352])['filter'](_0x1bac39=>_0x1bac39)[_0x1cf73c(0x153)](_0x1d1aea=>this[_0x1cf73c(0x12f)][_0x1cf73c(0x20f)](_0x2d9779,this['_base'],this,_0x1d1aea['id'],this[_0x1cf73c(0x12f)]));}[_0x2f4013(0x11b)](_0x5af9e0){const _0xc98d94=_0x2f4013;let _0x1c9d2f=this[_0xc98d94(0x1b1)]()[_0xc98d94(0x214)][_0x5af9e0];return _0x1c9d2f?this[_0xc98d94(0x12f)][_0xc98d94(0x20f)](_0x2d9779,this[_0xc98d94(0x143)],this,_0x1c9d2f['id'],this['_injector']):null;}['getFieldByName'](_0x14f430){const _0x2eaedd=_0x2f4013;let _0x5c32f2=this['_getTable']()[_0x2eaedd(0x214)],_0xe01a3a=Object[_0x2eaedd(0x160)](_0x5c32f2)['find'](_0x28179f=>_0x28179f[_0x2eaedd(0x1c7)]===_0x14f430);return _0xe01a3a?this[_0x2eaedd(0x12f)][_0x2eaedd(0x20f)](_0x2d9779,this['_base'],this,_0xe01a3a['id'],this[_0x2eaedd(0x12f)]):null;}[_0x2f4013(0x22c)](){const _0x1e6f65=_0x2f4013;let _0x415d96=this['_getTable']()[_0x1e6f65(0x20b)];return this[_0x1e6f65(0x12f)][_0x1e6f65(0x20f)](_0x2d9779,this['_base'],this,_0x415d96,this[_0x1e6f65(0x12f)]);}['addField'](_0x3cae4e,_0x3a37a3,_0xe6c1a5){const _0x387493=_0x2f4013;var _0x55b3a3;let _0x56532d=this[_0x387493(0x12f)][_0x387493(0x146)](_0x248e19[_0x387493(0x1ca)]),_0x2a62dd=(_0x55b3a3=_0xe6c1a5==null?void 0x0:_0xe6c1a5[_0x387493(0x21d)])==null?{}:_0x55b3a3;if(_0x2a62dd['id']=(0x0,_0x248e19[_0x387493(0x147)])(0x6),_0x2a62dd[_0x387493(0x1c7)]=_0x3cae4e,_0x2a62dd[_0x387493(0x19f)]=_0x3a37a3,!_0x2a62dd[_0x387493(0x19f)])throw Error(_0x387493(0x1aa));if(_0x2a62dd[_0x387493(0x211)]||(_0x2a62dd[_0x387493(0x211)]={}),!_0x56532d['syncExecuteCommand'](_0x44ca51[_0x387493(0x212)]['id'],{'unitId':this[_0x387493(0x143)][_0x387493(0x157)](),'tableId':this['_tableId'],'field':_0x2a62dd,'index':_0xe6c1a5==null?void 0x0:_0xe6c1a5[_0x387493(0x1f6)]}))throw Error(_0x387493(0x1ed)+_0x3cae4e+'\x22');return this['_injector'][_0x387493(0x20f)](_0x2d9779,this['_base'],this,_0x2a62dd['id'],this['_injector']);}['getRecords'](){const _0x26ccc9=_0x2f4013;return this[_0x26ccc9(0x21b)]()[_0x26ccc9(0x153)](_0x18e0ef=>this[_0x26ccc9(0x12f)]['createInstance'](_0x5b39e2,this[_0x26ccc9(0x143)],this,_0x18e0ef,this[_0x26ccc9(0x12f)]));}[_0x2f4013(0x12a)](_0xf3bdf4){const _0x25f7fa=_0x2f4013;return this[_0x25f7fa(0x1b1)]()[_0x25f7fa(0x209)][_0xf3bdf4]?this[_0x25f7fa(0x12f)][_0x25f7fa(0x20f)](_0x5b39e2,this[_0x25f7fa(0x143)],this,_0xf3bdf4,this[_0x25f7fa(0x12f)]):null;}[_0x2f4013(0x17e)](_0x3cb833={}){const _0x1e21d8=_0x2f4013;var _0x47e0d5;let _0x2a528d=this['_getTable'](),_0x48a8b8=this['_resolveRecordIds'](_0x3cb833),_0x4fbf91=Math[_0x1e21d8(0x1db)](0x0,(_0x47e0d5=_0x3cb833[_0x1e21d8(0x1a2)])==null?0x0:_0x47e0d5),_0x59f21f=_0x3cb833[_0x1e21d8(0x19e)]==null?null:Math[_0x1e21d8(0x1db)](0x0,_0x3cb833['limit']),_0x1cd938=_0x333b0b(_0x48a8b8['map'](_0x5c202c=>_0x2a528d['records'][_0x5c202c])['filter'](_0x893fc7=>_0x2d5716(_0x893fc7,_0x2a528d,_0x3cb833[_0x1e21d8(0x155)])),_0x2a528d,_0x3cb833[_0x1e21d8(0x170)]);return{'records':_0x470ad1(_0x1cd938,_0x3cb833)[_0x1e21d8(0x153)](_0x49ffeb=>this[_0x1e21d8(0x12f)][_0x1e21d8(0x20f)](_0x5b39e2,this[_0x1e21d8(0x143)],this,_0x49ffeb['id'],this['_injector'])),'total':_0x1cd938[_0x1e21d8(0x1b3)],'offset':_0x4fbf91,'limit':_0x59f21f,'hasMore':_0x59f21f!=null&&_0x4fbf91+_0x59f21f<_0x1cd938[_0x1e21d8(0x1b3)]};}[_0x2f4013(0x223)](_0xc5636f,_0x4b656b='id',_0x5bec4c){const _0x41a3c7=_0x2f4013;let _0x2e1ba5=this[_0x41a3c7(0x12f)][_0x41a3c7(0x146)](_0x248e19['ICommandService']),_0x2f0b2a=this[_0x41a3c7(0x1b1)](),_0x303059=_0x5bec4c==null?{}:_0x5bec4c;_0x303059['id']=(0x0,_0x248e19[_0x41a3c7(0x147)])(0x6),_0x303059['values']=_0x3d4450(_0x2f0b2a,_0xc5636f,_0x4b656b);let _0x187054=Date['now']();if(_0x303059[_0x41a3c7(0x1f7)]||(_0x303059[_0x41a3c7(0x1f7)]=''+_0x187054),_0x303059[_0x41a3c7(0x1d9)]||(_0x303059[_0x41a3c7(0x1d9)]=_0x187054),_0x303059[_0x41a3c7(0x15c)]||(_0x303059[_0x41a3c7(0x15c)]=_0x187054),!_0x2e1ba5[_0x41a3c7(0x16c)](_0x44ca51[_0x41a3c7(0x151)]['id'],{'unitId':this[_0x41a3c7(0x143)]['getId'](),'tableId':this[_0x41a3c7(0x19c)],'record':_0x303059}))throw Error(_0x41a3c7(0x128)+_0x303059['id']+'\x22');return this['_injector'][_0x41a3c7(0x20f)](_0x5b39e2,this['_base'],this,_0x303059['id'],this['_injector']);}[_0x2f4013(0x216)](_0x55d8f8){const _0x1fb3c3=_0x2f4013;if(!_0x55d8f8[_0x1fb3c3(0x1b3)])return[];let _0x2554a2=this[_0x1fb3c3(0x12f)]['get'](_0x248e19[_0x1fb3c3(0x1ca)]),_0x9a7f5e=this[_0x1fb3c3(0x1b1)](),_0x402bac=Date[_0x1fb3c3(0x13d)](),_0x1ee829=_0x55d8f8[_0x1fb3c3(0x153)]((_0x2f2241,_0x39fccf)=>{const _0x1b6412=_0x1fb3c3;var _0xa1e662,_0x23b0ef;let _0x2d4908=(_0xa1e662=_0x2f2241[_0x1b6412(0x133)])==null?{}:_0xa1e662;return _0x2d4908['id']=(0x0,_0x248e19[_0x1b6412(0x147)])(0x6),_0x2d4908['values']=_0x3d4450(_0x9a7f5e,_0x2f2241[_0x1b6412(0x160)],(_0x23b0ef=_0x2f2241[_0x1b6412(0x1d7)])==null?'id':_0x23b0ef),_0x2d4908[_0x1b6412(0x1f7)]||(_0x2d4908[_0x1b6412(0x1f7)]=''+(_0x402bac+_0x39fccf)),_0x2d4908['createdAt']||(_0x2d4908[_0x1b6412(0x1d9)]=_0x402bac),_0x2d4908[_0x1b6412(0x15c)]||(_0x2d4908[_0x1b6412(0x15c)]=_0x402bac),_0x2d4908;});if(!_0x2554a2[_0x1fb3c3(0x16c)](_0x44ca51['BatchCreateBaseRecordsCommand']['id'],{'unitId':this[_0x1fb3c3(0x143)][_0x1fb3c3(0x157)](),'tableId':this['_tableId'],'records':_0x1ee829}))throw Error('Failed\x20to\x20add\x20records');return _0x1ee829['map'](_0x34c2db=>this[_0x1fb3c3(0x12f)][_0x1fb3c3(0x20f)](_0x5b39e2,this[_0x1fb3c3(0x143)],this,_0x34c2db['id'],this[_0x1fb3c3(0x12f)]));}[_0x2f4013(0x1e9)](_0x1fd002){const _0x43d335=_0x2f4013;return _0x1fd002[_0x43d335(0x1b3)]?this[_0x43d335(0x12f)]['get'](_0x248e19[_0x43d335(0x1ca)])[_0x43d335(0x16c)](_0x44ca51[_0x43d335(0x14f)]['id'],{'unitId':this['_base'][_0x43d335(0x157)](),'tableId':this[_0x43d335(0x19c)],'recordIds':_0x1fd002}):!0x0;}['getRange'](_0x3800d5,_0x482321,_0x4d4450=0x1,_0x5d0afb=0x1){const _0x45800e=_0x2f4013;return this[_0x45800e(0x12f)][_0x45800e(0x20f)](_0x5f0e81,this[_0x45800e(0x143)],this,{'startRow':_0x3800d5,'endRow':_0x3800d5+_0x4d4450-0x1,'startColumn':_0x482321,'endColumn':_0x482321+_0x5d0afb-0x1},this[_0x45800e(0x12f)]);}['getDataRange'](){const _0x22d657=_0x2f4013;var _0x55db2b,_0x31b597;let _0x370f9f=(0x0,_0x44ca51['ensureBaseTableCellLayout'])(this['_getTable']()),_0x12408a=(_0x55db2b=(_0x31b597=_0x370f9f[_0x22d657(0x158)])==null?void 0x0:_0x31b597['length'])==null?0x0:_0x55db2b,_0x23606d=_0x370f9f[_0x22d657(0x18d)]['length'];return this['getRange'](0x0,0x0,Math[_0x22d657(0x1db)](_0x12408a,0x1),Math[_0x22d657(0x1db)](_0x23606d,0x1));}[_0x2f4013(0x16e)](){const _0x5f8618=_0x2f4013;let _0x2c4667=this[_0x5f8618(0x1b1)]();return _0x2c4667[_0x5f8618(0x199)][_0x5f8618(0x155)](_0x519283=>_0x2c4667[_0x5f8618(0x1ef)][_0x519283])['map'](_0x2d3757=>this[_0x5f8618(0x12f)]['createInstance'](_0x3bf3d6,this[_0x5f8618(0x143)],this,_0x2d3757,this[_0x5f8618(0x12f)]));}[_0x2f4013(0x17d)](_0x2ffaff){const _0xe1166a=_0x2f4013;return this[_0xe1166a(0x1b1)]()['views'][_0x2ffaff]?this['_injector'][_0xe1166a(0x20f)](_0x3bf3d6,this[_0xe1166a(0x143)],this,_0x2ffaff,this[_0xe1166a(0x12f)]):null;}[_0x2f4013(0x224)](_0x292c5b){const _0x506121=_0x2f4013;let _0x27d6c0=this[_0x506121(0x1b1)](),_0x45ae46=Object[_0x506121(0x160)](_0x27d6c0[_0x506121(0x1ef)])[_0x506121(0x152)](_0x3fa964=>_0x3fa964[_0x506121(0x1c7)]===_0x292c5b);return _0x45ae46?this[_0x506121(0x12f)][_0x506121(0x20f)](_0x3bf3d6,this[_0x506121(0x143)],this,_0x45ae46['id'],this[_0x506121(0x12f)]):null;}[_0x2f4013(0x12d)](_0x47fcd0,_0x5d4c67,_0xdfa66b){const _0x1a5216=_0x2f4013;var _0x51979d;let _0x2aa48e=this['_injector']['get'](_0x248e19[_0x1a5216(0x1ca)]),_0x4e3414=this['_getTable'](),_0x200f78=(_0x51979d=_0xdfa66b==null?void 0x0:_0xdfa66b[_0x1a5216(0x14a)])==null?{}:_0x51979d;if(_0x200f78['id']=(0x0,_0x248e19[_0x1a5216(0x147)])(0x6),_0x200f78[_0x1a5216(0x1c7)]=_0x47fcd0,_0x200f78[_0x1a5216(0x19f)]=_0x5d4c67,_0x200f78[_0x1a5216(0x1fc)]=this['_tableId'],!_0x200f78[_0x1a5216(0x19f)])throw Error(_0x1a5216(0x169));if(_0x200f78[_0x1a5216(0x211)]||(_0x200f78[_0x1a5216(0x211)]={}),_0x200f78[_0x1a5216(0x18d)]||(_0x200f78[_0x1a5216(0x18d)]=[..._0x4e3414[_0x1a5216(0x18d)]]),!_0x2aa48e[_0x1a5216(0x16c)](_0x44ca51[_0x1a5216(0x19d)]['id'],{'unitId':this[_0x1a5216(0x143)][_0x1a5216(0x157)](),'tableId':this['_tableId'],'view':_0x200f78,'index':_0xdfa66b==null?void 0x0:_0xdfa66b[_0x1a5216(0x1f6)]}))throw Error(_0x1a5216(0x1e0)+_0x47fcd0+'\x22');return this[_0x1a5216(0x12f)]['createInstance'](_0x3bf3d6,this[_0x1a5216(0x143)],this,_0x200f78['id'],this[_0x1a5216(0x12f)]);}['getSchema'](){const _0x8ec220=_0x2f4013;let _0x4d147e=this[_0x8ec220(0x1b1)](),_0xd851b9=_0x4d147e[_0x8ec220(0x18d)][_0x8ec220(0x155)](_0x567684=>_0x4d147e[_0x8ec220(0x214)][_0x567684]),_0x94d83b=_0x4d147e['viewOrder']['filter'](_0x468633=>_0x4d147e[_0x8ec220(0x1ef)][_0x468633]);return{'id':_0x4d147e['id'],'name':_0x4d147e['name'],'primaryFieldId':_0x4d147e[_0x8ec220(0x20b)],'fieldIds':_0xd851b9,'viewIds':_0x94d83b,'recordCount':this[_0x8ec220(0x21b)]()[_0x8ec220(0x1b3)],'fields':_0xd851b9[_0x8ec220(0x153)](_0x30f2d5=>{const _0x353077=_0x8ec220;let _0x21007a=_0x4d147e[_0x353077(0x214)][_0x30f2d5];return{'id':_0x21007a['id'],'name':_0x21007a[_0x353077(0x1c7)],'type':_0x21007a[_0x353077(0x19f)],'config':_0x21007a[_0x353077(0x211)],'readonly':_0x21007a['readonly'],'description':_0x21007a['description']};}),'views':_0x94d83b['map'](_0x25d8f8=>{const _0x29080c=_0x8ec220;let _0x4e40ea=_0x4d147e[_0x29080c(0x1ef)][_0x25d8f8];return{'id':_0x4e40ea['id'],'name':_0x4e40ea[_0x29080c(0x1c7)],'type':_0x4e40ea[_0x29080c(0x19f)]};})};}['_getTable'](){const _0x50c751=_0x2f4013;let _0x585114=this[_0x50c751(0x143)][_0x50c751(0x13e)]()[_0x50c751(0x131)]()[_0x50c751(0x1d8)][this['_tableId']];if(!_0x585114)throw Error('[FTable]:\x20table\x20\x22'+this['_tableId']+_0x50c751(0x18a));return _0x585114;}[_0x2f4013(0x21b)](_0x14e52c={}){const _0x12f750=_0x2f4013;let _0x59ebc7=this[_0x12f750(0x12f)][_0x12f750(0x146)](_0x44ca51['IBaseProjectionService']),_0x145e24=this['_base']['getBase']()['getSnapshot'](),_0x27a3af=this[_0x12f750(0x1b1)]();if(_0x14e52c[_0x12f750(0x162)]){let _0x56c4b2=_0x59ebc7[_0x12f750(0x154)](_0x145e24,this['_tableId'],_0x14e52c[_0x12f750(0x162)]);if(_0x12f750(0x1fd)in _0x56c4b2&&Array['isArray'](_0x56c4b2[_0x12f750(0x1fd)]))return _0x56c4b2[_0x12f750(0x1fd)][_0x12f750(0x153)](_0x577977=>_0x577977[_0x12f750(0x1dc)]);}return(_0x27a3af[_0x12f750(0x158)]?_0x27a3af[_0x12f750(0x158)][_0x12f750(0x153)](_0x5a00a6=>_0x27a3af[_0x12f750(0x209)][_0x5a00a6]):Object[_0x12f750(0x160)](_0x27a3af['records'])[_0x12f750(0x170)]((_0x4942d3,_0x32f5f9)=>_0x4942d3[_0x12f750(0x1f7)][_0x12f750(0x11d)](_0x32f5f9[_0x12f750(0x1f7)])))['filter'](_0x3c8b7f=>_0x3c8b7f)['map'](_0x55b1e7=>_0x55b1e7['id']);}};function _0x470ad1(_0x462379,_0x25c7a6){const _0x12a463=_0x2f4013;var _0x2c277a;let _0x14c6ec=Math['max'](0x0,(_0x2c277a=_0x25c7a6[_0x12a463(0x1a2)])==null?0x0:_0x2c277a);return _0x25c7a6[_0x12a463(0x19e)]==null?_0x462379[_0x12a463(0x1ee)](_0x14c6ec):_0x462379[_0x12a463(0x1ee)](_0x14c6ec,_0x14c6ec+Math['max'](0x0,_0x25c7a6[_0x12a463(0x19e)]));}function _0x333b0b(_0x5ca4a3,_0x599da6,_0x1a6ccb=[]){const _0x410460=_0x2f4013;return _0x1a6ccb[_0x410460(0x1b3)]?[..._0x5ca4a3][_0x410460(0x170)]((_0x28165d,_0x2b04f0)=>{const _0x1af10c=_0x410460;var _0xcbe882,_0x36d82a;for(let _0x1d0006 of _0x1a6ccb){var _0x4800d9;let _0x152cf6=_0x1d0006[_0x1af10c(0x1d4)]===_0x248e19[_0x1af10c(0x187)][_0x1af10c(0x141)]?-0x1:0x1,_0x1ebe98=_0x491d7d(_0x28165d[_0x1af10c(0x160)][_0x1d0006[_0x1af10c(0x230)]],_0x2b04f0[_0x1af10c(0x160)][_0x1d0006['fieldId']],(_0x4800d9=_0x599da6['fields'][_0x1d0006[_0x1af10c(0x230)]])==null?void 0x0:_0x4800d9[_0x1af10c(0x19f)]);if(_0x1ebe98!==0x0)return _0x1ebe98*_0x152cf6;}return String((_0xcbe882=_0x28165d[_0x1af10c(0x1f7)])==null?_0x28165d['id']:_0xcbe882)[_0x1af10c(0x11d)](String((_0x36d82a=_0x2b04f0[_0x1af10c(0x1f7)])==null?_0x2b04f0['id']:_0x36d82a));}):_0x5ca4a3;}function _0x491d7d(_0xb1cc13,_0xf58979,_0x1c6886){const _0x52bfcf=_0x2f4013;return _0xb1cc13==null&&_0xf58979==null?0x0:_0xb1cc13==null?-0x1:_0xf58979==null?0x1:typeof _0xb1cc13==_0x52bfcf(0x206)&&typeof _0xf58979==_0x52bfcf(0x206)?_0xb1cc13-_0xf58979:_0x1c6886===_0x248e19[_0x52bfcf(0x1e5)][_0x52bfcf(0x1c6)]?Number(_0xb1cc13)-Number(_0xf58979):String(_0xb1cc13)[_0x52bfcf(0x11d)](String(_0xf58979));}function _0x2d5716(_0x34733c,_0x40f0b0,_0x39afbd){const _0x56a7c6=_0x2f4013;var _0x4e14ac;if(!_0x39afbd||!((_0x4e14ac=_0x39afbd[_0x56a7c6(0x217)])!=null&&_0x4e14ac['length']))return!0x0;let {conjunction:_0x2b6278=_0x248e19[_0x56a7c6(0x18c)]['OR'],conditions:_0x4646cb}=_0x39afbd;return _0x2b6278===_0x248e19[_0x56a7c6(0x18c)][_0x56a7c6(0x1b2)]&&_0x4646cb[_0x56a7c6(0x1b3)]>0x1?_0x4646cb[_0x56a7c6(0x204)](_0x228f0c=>_0xdbb407(_0x34733c,_0x40f0b0,_0x228f0c)):_0x4646cb[_0x56a7c6(0x22f)](_0xf32e98=>_0xdbb407(_0x34733c,_0x40f0b0,_0xf32e98));}function _0xdbb407(_0x1ad931,_0x5df97f,_0x391514){const _0x2ef497=_0x2f4013;let _0xab51c9=_0x1ad931[_0x2ef497(0x160)][_0x391514[_0x2ef497(0x230)]],_0x20a155=_0x5df97f[_0x2ef497(0x214)][_0x391514['fieldId']];if(_0x1a3bb3(_0x391514)){let _0x4a7df5=_0x5d4b87(_0x391514)[_0x2ef497(0x1da)](String(_0xab51c9==null?'':_0xab51c9));return _0x391514[_0x2ef497(0x189)]===_0x2ef497(0x1eb)?_0x4a7df5:!_0x4a7df5;}return _0x20a155?(0x0,_0x44ca51['matchesBaseCondition'])(_0xab51c9,_0x391514[_0x2ef497(0x189)],_0x391514[_0x2ef497(0x168)],_0x20a155):!0x0;}function _0x1a3bb3(_0xdad45c){const _0x315244=_0x2f4013;return _0xdad45c[_0x315244(0x189)]===_0x315244(0x1eb)||_0xdad45c[_0x315244(0x189)]==='notMatches';}function _0x5d4b87(_0x5aeef9){const _0x4134f7=_0x2f4013;var _0x3c13a6;let _0x5c2108=String((_0x3c13a6=_0x5aeef9[_0x4134f7(0x168)])==null?'':_0x3c13a6);if(_0x5c2108['length']>0x200)throw Error(_0x4134f7(0x190));try{return new RegExp(_0x5c2108,_0x5aeef9[_0x4134f7(0x1c1)]?void 0x0:'i');}catch(_0x23349a){throw Error('Invalid\x20Base\x20regex\x20filter:\x20'+_0x5c2108+'.\x20'+(_0x23349a instanceof Error?_0x23349a[_0x4134f7(0x1de)]:String(_0x23349a)));}}function _0x1448bd(_0x5c79b6,_0x20c0f6,_0x2631bc){const _0x17fd56=_0x2f4013;if(_0x2631bc['type']!==_0x17fd56(0x11c)){var _0x5cd645;if(_0x2631bc[_0x17fd56(0x19f)]===_0x248e19[_0x17fd56(0x15e)][_0x17fd56(0x234)]){var _0x31970c,_0x42da13,_0x3988ba;let _0x3b2ddf=[(_0x31970c=(_0x42da13=_0x2631bc[_0x17fd56(0x214)])==null||(_0x42da13=_0x42da13[0x0])==null?void 0x0:_0x42da13['id'])==null?_0x5c79b6[_0x17fd56(0x20b)]:_0x31970c,...(_0x3988ba=_0x2631bc[_0x17fd56(0x226)])==null?[]:_0x3988ba];return Array[_0x17fd56(0x18f)](new Set(_0x3b2ddf[_0x17fd56(0x155)](_0x3ace18=>!!_0x5c79b6[_0x17fd56(0x214)][_0x3ace18])));}if((_0x5cd645=_0x2631bc[_0x17fd56(0x214)])!=null&&_0x5cd645['length'])return _0x2631bc[_0x17fd56(0x214)]['map'](_0x1e144c=>_0x1e144c['id'])['filter'](_0x3e38bb=>{const _0x1d1707=_0x17fd56;var _0x2ffb16;return!!(_0x5c79b6[_0x1d1707(0x214)][_0x3e38bb]&&!(!(_0x20c0f6==null||(_0x2ffb16=_0x20c0f6[_0x1d1707(0x20e)])==null||(_0x2ffb16=_0x2ffb16[_0x3e38bb])==null)&&_0x2ffb16[_0x1d1707(0x12c)]));});}return _0x5c79b6['fieldOrder'][_0x17fd56(0x155)](_0x2823df=>{const _0x194aa3=_0x17fd56;var _0x55da45;return!!(_0x5c79b6['fields'][_0x2823df]&&!(!(_0x20c0f6==null||(_0x55da45=_0x20c0f6['fieldSettings'])==null||(_0x55da45=_0x55da45[_0x2823df])==null)&&_0x55da45[_0x194aa3(0x12c)]));});}function _0x3c42b2(_0x712a20,_0x231c24){return function(_0x25ac3e,_0x5c1584){_0x231c24(_0x25ac3e,_0x5c1584,_0x712a20);};}function _0x4ba2b3(_0x956de0,_0x1ef689,_0x24998f,_0x38c90f){const _0x32d662=_0x2f4013;var _0x34a9df=arguments[_0x32d662(0x1b3)],_0x2d2216=_0x34a9df<0x3?_0x1ef689:_0x38c90f===null?_0x38c90f=Object[_0x32d662(0x1ac)](_0x1ef689,_0x24998f):_0x38c90f,_0x3b81f4;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x32d662(0x148))_0x2d2216=Reflect[_0x32d662(0x124)](_0x956de0,_0x1ef689,_0x24998f,_0x38c90f);else{for(var _0x3a4ba0=_0x956de0[_0x32d662(0x1b3)]-0x1;_0x3a4ba0>=0x0;_0x3a4ba0--)(_0x3b81f4=_0x956de0[_0x3a4ba0])&&(_0x2d2216=(_0x34a9df<0x3?_0x3b81f4(_0x2d2216):_0x34a9df>0x3?_0x3b81f4(_0x1ef689,_0x24998f,_0x2d2216):_0x3b81f4(_0x1ef689,_0x24998f))||_0x2d2216);}return _0x34a9df>0x3&&_0x2d2216&&Object[_0x32d662(0x149)](_0x1ef689,_0x24998f,_0x2d2216),_0x2d2216;}let _0xfbe76f=class{constructor(_0x29d4bb,_0x1fa846){const _0x49ea68=_0x2f4013;this['_base']=_0x29d4bb,this[_0x49ea68(0x12f)]=_0x1fa846;}[_0x2f4013(0x13e)](){const _0x17a077=_0x2f4013;return this[_0x17a077(0x143)];}['getId'](){const _0x267859=_0x2f4013;return this[_0x267859(0x143)]['getUnitId']();}[_0x2f4013(0x127)](){const _0xdc00b8=_0x2f4013;return _0x248e19[_0xdc00b8(0x1a0)][_0xdc00b8(0x1be)](this[_0xdc00b8(0x143)][_0xdc00b8(0x131)]());}[_0x2f4013(0x1a6)](){const _0x2fe42e=_0x2f4013;return this[_0x2fe42e(0x143)][_0x2fe42e(0x131)]()[_0x2fe42e(0x1c7)];}[_0x2f4013(0x1b9)](_0x376333){const _0x95675b=_0x2f4013;this['_injector'][_0x95675b(0x146)](_0x248e19[_0x95675b(0x1ca)])[_0x95675b(0x16c)](_0x44ca51[_0x95675b(0x16b)]['id'],{'unitId':this['getId'](),'name':_0x376333});}[_0x2f4013(0x137)](){const _0x47f520=_0x2f4013;let _0x5ba876=this['_base'][_0x47f520(0x131)]();return _0x5ba876[_0x47f520(0x1f5)][_0x47f520(0x153)](_0x373a56=>_0x5ba876['tables'][_0x373a56])['filter'](_0x195b3a=>_0x195b3a)[_0x47f520(0x153)](_0x150361=>this[_0x47f520(0x12f)]['createInstance'](_0x4ab4c,this,_0x150361['id'],this[_0x47f520(0x12f)]));}['getTableById'](_0x2bb8bb){const _0x212cfc=_0x2f4013;let _0x1a6fdf=this[_0x212cfc(0x143)][_0x212cfc(0x131)]()[_0x212cfc(0x1d8)][_0x2bb8bb];return _0x1a6fdf?this['_injector']['createInstance'](_0x4ab4c,this,_0x1a6fdf['id'],this[_0x212cfc(0x12f)]):null;}[_0x2f4013(0x1a5)](_0x67b9f3){const _0x1bbe66=_0x2f4013;let _0x2842b3=this[_0x1bbe66(0x143)][_0x1bbe66(0x131)](),_0x592f5f=Object[_0x1bbe66(0x160)](_0x2842b3['tables'])[_0x1bbe66(0x152)](_0x198520=>_0x198520[_0x1bbe66(0x1c7)]===_0x67b9f3);return _0x592f5f?this[_0x1bbe66(0x12f)][_0x1bbe66(0x20f)](_0x4ab4c,this,_0x592f5f['id'],this['_injector']):null;}['insertTable'](_0x2f25ef,_0x551047){const _0x538078=_0x2f4013;var _0x11aaf5;let _0x1d836a=this[_0x538078(0x12f)]['get'](_0x248e19[_0x538078(0x1ca)]),_0x30b137=(0x0,_0x248e19[_0x538078(0x218)])({'id':(0x0,_0x248e19[_0x538078(0x147)])(),'name':_0x2f25ef,..._0x551047==null?void 0x0:_0x551047['table'],'primaryFieldName':_0x551047==null?void 0x0:_0x551047['primaryFieldName']}),_0x179ab3=_0x248e19['Tools']['commonExtend'](_0x30b137,(_0x11aaf5=_0x551047==null?void 0x0:_0x551047[_0x538078(0x134)])==null?{}:_0x11aaf5);if(!_0x1d836a['syncExecuteCommand'](_0x44ca51[_0x538078(0x174)]['id'],{'unitId':this[_0x538078(0x143)][_0x538078(0x13b)](),'table':_0x179ab3,'index':_0x551047==null?void 0x0:_0x551047[_0x538078(0x1f6)]}))throw Error(_0x538078(0x1ab)+_0x2f25ef+'\x22.');return this['_injector'][_0x538078(0x20f)](_0x4ab4c,this,_0x179ab3['id'],this[_0x538078(0x12f)]);}[_0x2f4013(0x198)](_0x30dcf8){const _0x4b976b=_0x2f4013;let _0xfab737=this[_0x4b976b(0x12f)]['get'](_0x248e19[_0x4b976b(0x1ca)]),_0x2d2bbf=typeof _0x30dcf8=='string'?_0x30dcf8:_0x30dcf8['getId']();if(!_0xfab737[_0x4b976b(0x16c)](_0x44ca51[_0x4b976b(0x18e)]['id'],{'unitId':this['_base'][_0x4b976b(0x13b)](),'tableId':_0x2d2bbf}))throw Error(_0x4b976b(0x171)+_0x2d2bbf+'\x22.');return!0x0;}['duplicateTable'](_0x3e875b,_0x20c75e){const _0x51a0c2=_0x2f4013;var _0x28ec6f,_0x1dde25;let _0x33856a=this[_0x51a0c2(0x12f)][_0x51a0c2(0x146)](_0x248e19[_0x51a0c2(0x1ca)]),_0x537674=this[_0x51a0c2(0x143)][_0x51a0c2(0x131)](),_0x2178ad=typeof _0x3e875b==_0x51a0c2(0x200)?_0x3e875b:_0x3e875b[_0x51a0c2(0x157)](),_0xe30963=_0x537674[_0x51a0c2(0x1d8)][_0x2178ad];if(!_0xe30963)throw Error(_0x51a0c2(0x1a4)+_0x2178ad+'\x22\x20does\x20not\x20exist.');let _0x306ef2=_0x537674['tableOrder'][_0x51a0c2(0x139)](_0x2178ad)+0x1,_0x57c3aa=(0x0,_0x44ca51[_0x51a0c2(0x12b)])(_0xe30963,{'id':(0x0,_0x248e19[_0x51a0c2(0x147)])(),'name':_0xe30963['name']+_0x51a0c2(0x14e),'includeRecords':(_0x28ec6f=_0x20c75e==null?void 0x0:_0x20c75e[_0x51a0c2(0x125)])==null?!0x1:_0x28ec6f,'regenerateViewIds':(_0x1dde25=_0x20c75e==null?void 0x0:_0x20c75e['regenerateViewIds'])==null?!0x1:_0x1dde25});if(!_0x33856a['syncExecuteCommand'](_0x44ca51['CreateBaseTableCommand']['id'],{'unitId':this['_base'][_0x51a0c2(0x13b)](),'table':_0x57c3aa,'index':_0x306ef2}))throw Error(_0x51a0c2(0x161)+_0x2178ad+'\x22.');return this[_0x51a0c2(0x12f)][_0x51a0c2(0x20f)](_0x4ab4c,this,_0x57c3aa['id'],this['_injector']);}[_0x2f4013(0x16d)](){const _0x35cf06=_0x2f4013;let _0x226fbc=this[_0x35cf06(0x143)][_0x35cf06(0x131)]();return{'id':_0x226fbc['id'],'name':_0x226fbc[_0x35cf06(0x1c7)],'tables':this[_0x35cf06(0x137)]()[_0x35cf06(0x153)](_0x4ce7f5=>_0x4ce7f5[_0x35cf06(0x16d)]())};}};_0xfbe76f=_0x4ba2b3([_0x3c42b2(0x1,(0x0,_0x248e19[_0x2f4013(0x14d)])(_0x248e19[_0x2f4013(0x228)]))],_0xfbe76f);var _0x1d6428=class extends _0x210b35[_0x2f4013(0x17c)]{['_initialize'](){const _0x565d4b=_0x2f4013;this[_0x565d4b(0x1f0)](),this[_0x565d4b(0x203)]();}[_0x2f4013(0x1a7)](_0x273e40={},_0x391b4b){const _0x581c9c=_0x2f4013;let _0x36f494=this[_0x581c9c(0x12f)][_0x581c9c(0x146)](_0x248e19[_0x581c9c(0x135)])[_0x581c9c(0x208)](_0x248e19[_0x581c9c(0x232)][_0x581c9c(0x1bf)],_0x273e40,_0x391b4b);return this[_0x581c9c(0x12f)][_0x581c9c(0x20f)](_0xfbe76f,_0x36f494);}[_0x2f4013(0x1ff)](){const _0x2e155e=_0x2f4013;let _0x285ba2=this[_0x2e155e(0x12f)]['get'](_0x248e19['IUniverInstanceService'])[_0x2e155e(0x1d5)](_0x248e19[_0x2e155e(0x232)]['UNIVER_BASE']);return _0x285ba2?this[_0x2e155e(0x12f)][_0x2e155e(0x20f)](_0xfbe76f,_0x285ba2):null;}['getBase'](_0x211d89){const _0x5b5700=_0x2f4013;let _0x3e910e=this['_injector'][_0x5b5700(0x146)](_0x248e19[_0x5b5700(0x135)])[_0x5b5700(0x164)](_0x211d89,_0x248e19[_0x5b5700(0x232)][_0x5b5700(0x1bf)]);return _0x3e910e?this[_0x5b5700(0x12f)][_0x5b5700(0x20f)](_0xfbe76f,_0x3e910e):null;}[_0x2f4013(0x22a)](){const _0x491b61=_0x2f4013;return this[_0x491b61(0x12f)][_0x491b61(0x146)](_0x248e19[_0x491b61(0x135)])['getAllUnitsForType'](_0x248e19[_0x491b61(0x232)][_0x491b61(0x1bf)])[_0x491b61(0x153)](_0x58fc24=>this[_0x491b61(0x12f)][_0x491b61(0x20f)](_0xfbe76f,_0x58fc24));}[_0x2f4013(0x203)](){const _0x56e2ea=_0x2f4013;let _0x23a9fb=this[_0x56e2ea(0x12f)][_0x56e2ea(0x146)](_0x248e19[_0x56e2ea(0x1ca)]);this['disposeWithMe'](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x1b6)],()=>_0x23a9fb['onCommandExecuted'](_0x405626=>{const _0x1f4725=_0x56e2ea;if(_0x405626['id']!==_0x44ca51[_0x1f4725(0x174)]['id'])return;let {unitId:_0x2b603d,table:_0x2de2d9,index:_0x4ce2be}=_0x405626['params'],_0x3f7a61=this['getBase'](_0x2b603d);if(!_0x3f7a61)return;let _0x16bd33={'base':_0x3f7a61,'table':_0x2de2d9,'index':_0x4ce2be};this[_0x1f4725(0x1a1)](this[_0x1f4725(0x182)][_0x1f4725(0x1b6)],_0x16bd33);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x167)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x444757=>{const _0x53df0f=_0x56e2ea;if(_0x444757['id']!==_0x44ca51[_0x53df0f(0x212)]['id'])return;let {unitId:_0x3668f6,tableId:_0x550d2b,field:_0x8bee4b,index:_0x4b8acc,viewIndexes:_0x655170}=_0x444757['params'],_0x4cb416=this['getBase'](_0x3668f6);if(!_0x4cb416)return;let _0x57418b=_0x4cb416[_0x53df0f(0x225)](_0x550d2b);if(!_0x57418b)return;let _0x4ba2f7={'base':_0x4cb416,'table':_0x57418b,'field':_0x8bee4b,'index':_0x4b8acc,'viewIndexes':_0x655170};this['fireEvent'](this['Event'][_0x53df0f(0x167)],_0x4ba2f7);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x1dd)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x5c527b=>{const _0x5cef92=_0x56e2ea;var _0x4bcea5;if(_0x5c527b['id']!==_0x44ca51[_0x5cef92(0x151)]['id']&&_0x5c527b['id']!==_0x44ca51[_0x5cef92(0x120)]['id'])return;let _0x2c0f73=_0x5c527b[_0x5cef92(0x188)],{unitId:_0x23e0a4,tableId:_0x2183d1}=_0x2c0f73,_0x42a3f0=(_0x4bcea5=_0x2c0f73[_0x5cef92(0x209)])==null?[_0x2c0f73[_0x5cef92(0x133)]]:_0x4bcea5,_0x280314=this['getBase'](_0x23e0a4);if(!_0x280314)return;let _0x3bd2fd=_0x280314['getTableById'](_0x2183d1);if(!_0x3bd2fd)return;let _0x3a0839={'base':_0x280314,'table':_0x3bd2fd,'records':_0x42a3f0};this[_0x5cef92(0x1a1)](this[_0x5cef92(0x182)][_0x5cef92(0x1dd)],_0x3a0839);}))),this[_0x56e2ea(0x177)](this['registerEventHandler'](this['Event']['BaseTableViewCreated'],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x552a19=>{const _0x55cc00=_0x56e2ea;if(_0x552a19['id']!==_0x44ca51[_0x55cc00(0x19d)]['id'])return;let {unitId:_0x4622c7,tableId:_0x4b3c73,view:_0x44280b,index:_0x376186}=_0x552a19[_0x55cc00(0x188)],_0xd9218f=this['getBase'](_0x4622c7);if(!_0xd9218f)return;let _0xb13a52=_0xd9218f[_0x55cc00(0x225)](_0x4b3c73);if(!_0xb13a52)return;let _0x3c1c72={'base':_0xd9218f,'table':_0xb13a52,'view':_0x44280b,'index':_0x376186};this[_0x55cc00(0x1a1)](this[_0x55cc00(0x182)][_0x55cc00(0x21f)],_0x3c1c72);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this['Event'][_0x56e2ea(0x205)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x7364da=>{const _0x247011=_0x56e2ea;if(_0x7364da['id']!==_0x44ca51[_0x247011(0x1e2)]['id'])return;let {unitId:_0x3f2c20,tableId:_0xb24932,recordId:_0xc90004,fieldId:_0x42d420,value:_0x412468}=_0x7364da[_0x247011(0x188)],_0x23fa4e=this[_0x247011(0x13e)](_0x3f2c20);if(!_0x23fa4e)return;let _0x27eb8e=_0x23fa4e[_0x247011(0x225)](_0xb24932);if(!_0x27eb8e)return;let _0x160a35=_0x27eb8e[_0x247011(0x11b)](_0x42d420);if(!_0x160a35)return;let _0x40bfc4=_0x27eb8e[_0x247011(0x12a)](_0xc90004);if(!_0x40bfc4)return;let _0x3aeadd={'base':_0x23fa4e,'table':_0x27eb8e,'field':_0x160a35,'record':_0x40bfc4,'value':_0x412468};this[_0x247011(0x1a1)](this[_0x247011(0x182)]['BaseTableCellValueChanged'],_0x3aeadd);})));}['_initBaseBeforeEvents'](){const _0x2b0358=_0x2f4013;let _0x21a3b1=this['_injector']['get'](_0x248e19[_0x2b0358(0x1ca)]);this[_0x2b0358(0x177)](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)][_0x2b0358(0x215)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x2c1422=>{const _0x5d525d=_0x2b0358;if(_0x2c1422['id']!==_0x44ca51[_0x5d525d(0x174)]['id'])return;let {unitId:_0x5eb6a5,table:_0x219072,index:_0x1fbd46}=_0x2c1422[_0x5d525d(0x188)],_0x419b91=this[_0x5d525d(0x13e)](_0x5eb6a5);if(!_0x419b91)return;let _0x12644e={'base':_0x419b91,'table':_0x219072,'index':_0x1fbd46};if(this[_0x5d525d(0x1a1)](this[_0x5d525d(0x182)][_0x5d525d(0x215)],_0x12644e),_0x12644e[_0x5d525d(0x210)])throw new _0x248e19[(_0x5d525d(0x1c5))]();}))),this[_0x2b0358(0x177)](this['registerEventHandler'](this[_0x2b0358(0x182)][_0x2b0358(0x196)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x1e671a=>{const _0x2de73c=_0x2b0358;if(_0x1e671a['id']!==_0x44ca51['CreateBaseFieldCommand']['id'])return;let {unitId:_0x3c16e6,tableId:_0x18f801,field:_0x23a66d,index:_0x1c7615,viewIndexes:_0x55f307}=_0x1e671a[_0x2de73c(0x188)],_0x3366d7=this[_0x2de73c(0x13e)](_0x3c16e6);if(!_0x3366d7)return;let _0x53769b=_0x3366d7['getTableById'](_0x18f801);if(!_0x53769b)return;let _0x485ca9={'base':_0x3366d7,'table':_0x53769b,'field':_0x23a66d,'index':_0x1c7615,'viewIndexes':_0x55f307};if(this[_0x2de73c(0x1a1)](this['Event']['BeforeBaseTableFieldCreate'],_0x485ca9),_0x485ca9[_0x2de73c(0x210)])throw new _0x248e19[(_0x2de73c(0x1c5))]();}))),this['disposeWithMe'](this[_0x2b0358(0x140)](this['Event'][_0x2b0358(0x1f3)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x4c7318=>{const _0x1d41ff=_0x2b0358;var _0xabd53f;if(_0x4c7318['id']!==_0x44ca51[_0x1d41ff(0x151)]['id']&&_0x4c7318['id']!==_0x44ca51[_0x1d41ff(0x120)]['id'])return;let _0x110a08=_0x4c7318[_0x1d41ff(0x188)],{unitId:_0x2551fe,tableId:_0x30b117}=_0x110a08,_0x30e233=(_0xabd53f=_0x110a08[_0x1d41ff(0x209)])==null?[_0x110a08[_0x1d41ff(0x133)]]:_0xabd53f,_0x7314b7=this[_0x1d41ff(0x13e)](_0x2551fe);if(!_0x7314b7)return;let _0x42a3ef=_0x7314b7[_0x1d41ff(0x225)](_0x30b117);if(!_0x42a3ef)return;let _0x219e27={'base':_0x7314b7,'table':_0x42a3ef,'records':_0x30e233};if(this[_0x1d41ff(0x1a1)](this[_0x1d41ff(0x182)]['BeforeBaseTableRecordCreate'],_0x219e27),_0x219e27['cancel'])throw new _0x248e19[(_0x1d41ff(0x1c5))]();}))),this['disposeWithMe'](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)][_0x2b0358(0x1cc)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x3463c3=>{const _0x4da388=_0x2b0358;if(_0x3463c3['id']!==_0x44ca51[_0x4da388(0x19d)]['id'])return;let {unitId:_0x3c0100,tableId:_0x57ba85,view:_0x1cca0e,index:_0x39d7c8}=_0x3463c3[_0x4da388(0x188)],_0x4d05d9=this[_0x4da388(0x13e)](_0x3c0100);if(!_0x4d05d9)return;let _0x26b33e=_0x4d05d9[_0x4da388(0x225)](_0x57ba85);if(!_0x26b33e)return;let _0x3a9496={'base':_0x4d05d9,'table':_0x26b33e,'view':_0x1cca0e,'index':_0x39d7c8};if(this[_0x4da388(0x1a1)](this[_0x4da388(0x182)][_0x4da388(0x1cc)],_0x3a9496),_0x3a9496[_0x4da388(0x210)])throw new _0x248e19[(_0x4da388(0x1c5))]();}))),this[_0x2b0358(0x177)](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)]['BeforeBaseTableCellValueChange'],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x46f2ac=>{const _0x54f574=_0x2b0358;if(_0x46f2ac['id']!==_0x44ca51[_0x54f574(0x1e2)]['id'])return;let {unitId:_0x3317fe,tableId:_0xb6bc77,recordId:_0x4c8cc6,fieldId:_0x29b79b,value:_0x2a6395}=_0x46f2ac['params'],_0x3c07fc=this[_0x54f574(0x13e)](_0x3317fe);if(!_0x3c07fc)return;let _0x400d16=_0x3c07fc[_0x54f574(0x225)](_0xb6bc77);if(!_0x400d16)return;let _0x44d72f=_0x400d16[_0x54f574(0x11b)](_0x29b79b);if(!_0x44d72f)return;let _0x5cc290=_0x400d16['getRecordById'](_0x4c8cc6);if(!_0x5cc290)return;let _0x47a2fb={'base':_0x3c07fc,'table':_0x400d16,'field':_0x44d72f,'record':_0x5cc290,'value':_0x2a6395};if(this[_0x54f574(0x1a1)](this[_0x54f574(0x182)][_0x54f574(0x1ec)],_0x47a2fb),_0x47a2fb[_0x54f574(0x210)])throw new _0x248e19[(_0x54f574(0x1c5))]();})));}};_0x210b35[_0x2f4013(0x17c)][_0x2f4013(0x1bd)](_0x1d6428);var _0x350c72=class extends _0x210b35['FEnum']{get['BaseFieldType'](){return _0x248e19['BaseFieldType'];}get[_0x2f4013(0x18c)](){const _0x2b4c23=_0x2f4013;return _0x248e19[_0x2b4c23(0x18c)];}get['BaseFilterOperator'](){return _0x248e19['BaseFilterOperator'];}get[_0x2f4013(0x1a8)](){return _0x3f327f;}get[_0x2f4013(0x15e)](){const _0x3d7192=_0x2f4013;return _0x248e19[_0x3d7192(0x15e)];}get[_0x2f4013(0x187)](){const _0x1ce481=_0x2f4013;return _0x248e19[_0x1ce481(0x187)];}};_0x210b35[_0x2f4013(0x184)][_0x2f4013(0x1bd)](_0x350c72);var _0x53f7c2=class extends _0x210b35['FEventName']{get[_0x2f4013(0x1b6)](){const _0x2ff975=_0x2f4013;return _0x2ff975(0x1b6);}get[_0x2f4013(0x215)](){const _0x28488c=_0x2f4013;return _0x28488c(0x215);}get[_0x2f4013(0x167)](){const _0x534681=_0x2f4013;return _0x534681(0x167);}get[_0x2f4013(0x196)](){return'BeforeBaseTableFieldCreate';}get[_0x2f4013(0x1dd)](){return'BaseTableRecordCreated';}get[_0x2f4013(0x1f3)](){const _0x3f3677=_0x2f4013;return _0x3f3677(0x1f3);}get['BaseTableViewCreated'](){return'BaseTableViewCreated';}get[_0x2f4013(0x1cc)](){const _0x149620=_0x2f4013;return _0x149620(0x1cc);}get[_0x2f4013(0x205)](){const _0x354803=_0x2f4013;return _0x354803(0x205);}get[_0x2f4013(0x1ec)](){const _0xf0b2b5=_0x2f4013;return _0xf0b2b5(0x1ec);}};_0x210b35['FEventName'][_0x2f4013(0x1bd)](_0x53f7c2),_0x1cf2ae[_0x2f4013(0x1a8)]=_0x3f327f,Object[_0x2f4013(0x149)](_0x1cf2ae,'FBase',{'enumerable':!0x0,'get':function(){return _0xfbe76f;}}),_0x1cf2ae[_0x2f4013(0x123)]=_0x4ab4c,_0x1cf2ae['FBaseTableField']=_0x2d9779,_0x1cf2ae[_0x2f4013(0x17a)]=_0x5f0e81,_0x1cf2ae['FBaseTableRecord']=_0x5b39e2,_0x1cf2ae[_0x2f4013(0x193)]=_0x3bf3d6,_0x1cf2ae[_0x2f4013(0x194)]=_0x53f7c2,_0x1cf2ae[_0x2f4013(0x138)]=_0x5419b2,_0x1cf2ae[_0x2f4013(0x11e)]=_0x3d4450;}));function _0x47c5(){const _0x561ac1=['deepClone','UNIVER_BASE','ensureBaseTableCellLayout','caseSensitive','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','setFilter','getDefaultValue','CanceledError','Date','name','getDescription','setSort','ICommandService','_getView','BeforeBaseTableViewCreate','SetBaseViewFieldWidthCommand','Gallery','UniverProBasesFacade','getTable','_assertInBounds','readonly','Calendar','direction','getCurrentUnitOfType','Name','fieldKey','tables','createdAt','test','max','recordId','BaseTableRecordCreated','message','RenameBaseViewCommand','Failed\x20to\x20create\x20view\x20\x22','3106064buVPPX','UpdateBaseCellCommand','searchBaseTable','DuplicateBaseRecordCommand','BaseFieldType','getRecord','[FBaseRange]:\x20table\x20does\x20not\x20exist.','getRow','deleteRecords','setConfig','matches','BeforeBaseTableCellValueChange','Failed\x20to\x20add\x20field\x20\x22','slice','views','_initBaseBeforeEvents','startColumn','_getField','BeforeBaseTableRecordCreate','getNumColumns','tableOrder','index','orderKey',',\x20max\x20columns:\x20','MoveBaseViewCommand','Duplicate\x20Base\x20field\x20name:\x20','[FField]:\x20field\x20\x22','tableId','rows','update','getActiveBase','string','getValue','setValue','_initBaseAfterEvents','every','BaseTableCellValueChanged','number','_getRecord','createUnit','records','beforeCommandExecuted','primaryFieldId','DeleteBaseViewCommand','isReadonly','fieldSettings','createInstance','cancel','config','CreateBaseFieldCommand','auto','fields','BeforeBaseTableCreate','addRecords','conditions','createDefaultBaseTableSnapshot','getBaseCellValue','1452456noORHh','_resolveRecordIds','getBaseId','field','delete','BaseTableViewCreated','[FBaseRange]:\x20values\x20size\x20','move','setValues','addRecord','getViewByName','getTableById','visibleCardFieldIds','stringify','Injector','4AzgJzV','getBases','setOrderKey','getPrimaryField','UpdateBaseFieldCommand','1452528zJeqau','some','fieldId','SetBaseViewFieldOrderCommand','UniverInstanceType','setDefaultValue','Kanban','getSort','endRow','flatMap','getFieldSettings','getFieldById','invalid','localeCompare','resolveBaseFieldValues','exports','BatchCreateBaseRecordsCommand','2atrqnG','isArray','FBaseTable','decorate','includeRecords','726714AxTIKe','save','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','Gantt','getRecordById','copyBaseTableSnapshot','hidden','createView','ChangeBaseFieldTypeCommand','_injector','@univerjs/core','getSnapshot','updateConfig','record','table','IUniverInstanceService','Base\x20field\x20not\x20found:\x20','getTables','resolveBaseFieldKey','indexOf','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','getUnitId','_inject','now','getBase','getValues','registerEventHandler','DESC','@univerjs-pro/bases','_base','getFields','[FRecord]:\x20record\x20\x22','get','generateRandomId','function','defineProperty','view','duplicate','@univerjs/core/facade','Inject','\x20Copy','BatchDeleteBaseRecordsCommand','getNumRows','CreateBaseRecordCommand','find','map','getProjection','filter','setGroup','getId','recordOrder','SetBaseViewFilterCommand','amd','896820kEIwiE','updatedAt','endColumn','BaseViewType','onCommandExecuted','values','Failed\x20to\x20duplicate\x20table\x20\x22','viewId','setFieldWidth','getUnit','getView','_recordId','BaseTableFieldCreated','value','View\x20type\x20is\x20required','Module','SetBaseNameCommand','syncExecuteCommand','getSchema','getViews','getGroup','sort','Failed\x20to\x20delete\x20table\x20\x22','getVisibleFields','[FView]:\x20view\x20\x22','CreateBaseTableCommand','toStringTag','UpdateBaseViewConfigCommand','disposeWithMe','getRange','startRow','FBaseTableRange','1326306oRFbMU','FUniver','getViewById','queryRecords','SetBaseViewSortCommand','SetBaseRangeValuesCommand','UpdateBaseRecordOrderCommand','Event','_table','FEnum','IBaseProjectionService','fieldIds','BaseSortDirection','params','operator','\x22\x20does\x20not\x20exist.','getType','BaseFilterConjunction','fieldOrder','DeleteBaseTableCommand','from','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','push','205330cgamac','FBaseTableView','FBasesEventNameMixin','group','BeforeBaseTableFieldCreate','_range','deleteTable','viewOrder','getConfig','UniverCoreFacade','_tableId','CreateBaseViewCommand','limit','type','Tools','fireEvent','offset','_viewId','[FBase]:\x20table\x20\x22','getTableByName','getName','createBase','BaseFieldKeyEnum','entries','Field\x20type\x20is\x20required','Failed\x20to\x20create\x20table\x20\x22','getOwnPropertyDescriptor','moveField','_fieldId','DeleteBaseRecordCommand','getTableId','_getTable','AND','length',',\x20range:\x20','Grid','BaseTableCreated','RenameBaseTableCommand','clear','setName','getField','description','object','extend'];_0x47c5=function(){return _0x561ac1;};return _0x47c5();}
1
+ function _0x1837(_0x4ed391,_0x44ac21){_0x4ed391=_0x4ed391-0x1ef;const _0x12ebd8=_0x12eb();let _0x183746=_0x12ebd8[_0x4ed391];return _0x183746;}function _0x12eb(){const _0x2c1d69=['invalid','value','_viewId','BeforeBaseTableRecordCreate','UpdateBaseFieldCommand','object','notMatches','getViewById','MoveBaseViewCommand','every','delete','SetBaseViewSortCommand','@univerjs/core/facade','caseSensitive','number','60ZGqTmI','getColumn','6fwbNYX','getGroup','getTable','filter','conditions','getUnit','BaseFieldType','UniverProBasesFacade','getBaseCellValue','Date','getDescription','readonly','Failed\x20to\x20create\x20view\x20\x22','Duplicate\x20Base\x20field\x20name:\x20','tables','getPrimaryFieldId','getBaseId','DuplicateBaseRecordCommand','forEach','getBase','setSort','from','record','Failed\x20to\x20add\x20records','CreateBaseRecordCommand','UpdateBaseRecordOrderCommand','getValues','getConfig','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','view','BeforeBaseTableFieldCreate','getCurrentUnitOfType','CreateBaseViewCommand','[FField]:\x20field\x20\x22','slice','createDefaultBaseTableSnapshot','fieldId','extend','generateRandomId','FBaseTable','message','duplicateTable','RenameBaseViewCommand','Tools','BaseTableViewCreated','897479ejYeue','BaseTableCreated','ensureBaseTableCellLayout','fieldSettings','BatchDeleteBaseRecordsCommand','DeleteBaseRecordCommand','View\x20type\x20is\x20required','colId','now','direction','DESC','rows','auto','Auto','getFields','CanceledError','matchesBaseCondition','[FView]:\x20view\x20\x22','indexOf','FBaseTableView','primaryFieldName','get','save','setValue','AND','_getRecord','limit','_table','config','getSnapshot','DeleteBaseFieldCommand','_recordId','fields','getId','getSort','_initBaseBeforeEvents','createdAt','getNumRows','Gantt','description','DeleteBaseTableCommand','getVisibleFields','fieldKey','FEnum','addRecords','getFieldByName','UniverCore','endRow','sort','disposeWithMe','Calendar','move','searchBaseTable','BeforeBaseTableViewCreate','hidden','[FBase]:\x20table\x20\x22','exports','Name','isReadonly','ICommandService','12LPejMQ','params','_range','getDefaultValue','UniverInstanceType','cancel','getRecord','BaseFieldKeyEnum','max','type','tableOrder','SetBaseRangeValuesCommand','views','getFieldSettings','setName','getUnitId','_base','Failed\x20to\x20delete\x20table\x20\x22','stringify','beforeCommandExecuted','BeforeBaseTableCellValueChange','push','entries','setOrderKey','createBase','deepClone','SetBaseViewGroupCommand','getRow','406467LrkIiR','fieldOrder','[FBaseRange]:\x20values\x20size\x20','getFieldById','Event','decorate','changeType','resolveBaseFieldKey','clear','setFieldVisible','2431240bYMvYD','_initialize','viewId','Invalid\x20Base\x20regex\x20filter:\x20','_injector','FBase','getAllUnitsForType','string','MoveBaseFieldCommand','syncExecuteCommand','getName','includeRecords','updatedAt','getRecordById','getTableById','primaryFieldId',',\x20max\x20columns:\x20','2529002JcvufZ','FUniver','getFilter','queryRecords','getField','3554676BQlxzQ','_getTable','defaultValue','getOwnPropertyDescriptor','addRecord','BaseTableRecordCreated','getPrimaryField','BatchCreateBaseRecordsCommand','Injector','UniverProBases','SetBaseViewFilterCommand','index','Failed\x20to\x20create\x20table\x20\x22','fireEvent','\x20Copy','updateConfig','operator','IBaseProjectionService','16dzfzqp','setFieldWidth','defineProperty','moveField','endColumn','BaseSortDirection','map','FBaseTableRecord','BaseFilterConjunction','getSchema','visibleCardFieldIds','getDataRange','Failed\x20to\x20duplicate\x20table\x20\x22','134fXBxdA','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','_initBaseAfterEvents','\x22\x20does\x20not\x20exist.','_resolveRecordIds','setGroup','Module','deleteTable','setFilter','Kanban','createUnit','insertTable','3755iBkNYr','_inject','setValues','orderKey','Field\x20type\x20is\x20required','name','function','fieldIds','Inject','CreateBaseFieldCommand','getTables','getRange','startRow','FEventName','[FRecord]:\x20record\x20\x22','offset','SetBaseViewFieldVisibleCommand','getTableId','recordOrder','values',',\x20range:\x20','BaseTableFieldCreated','Failed\x20to\x20add\x20field\x20\x22','_tableId','BaseViewType','length','CreateBaseTableCommand','SetBaseRecordValuesCommand','UpdateBaseCellCommand','viewOrder','startColumn','search','update','UniverCoreFacade','BeforeBaseTableCreate','SetBaseNameCommand','registerEventHandler','getProjection','getBases','createInstance','localeCompare','onCommandExecuted','getNumColumns','records','_getField','IUniverInstanceService','_fieldId','UNIVER_BASE','BaseFilterOperator','FBaseTableField','getValue','977485Yjuyxj','getType','_assertInBounds','matches','BaseTableCellValueChanged','_getView','FBaseTableRange','test','Grid','copyBaseTableSnapshot','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','some'];_0x12eb=function(){return _0x2c1d69;};return _0x12eb();}(function(_0x32f0d9,_0x198d91){const _0x50e686=_0x1837,_0x6bc16c=_0x32f0d9();while(!![]){try{const _0x4345b2=parseInt(_0x50e686(0x27f))/0x1*(parseInt(_0x50e686(0x273))/0x2)+parseInt(_0x50e686(0x234))/0x3*(parseInt(_0x50e686(0x218))/0x4)+-parseInt(_0x50e686(0x2b2))/0x5*(-parseInt(_0x50e686(0x2cf))/0x6)+parseInt(_0x50e686(0x24f))/0x7*(-parseInt(_0x50e686(0x266))/0x8)+-parseInt(_0x50e686(0x254))/0x9+parseInt(_0x50e686(0x23e))/0xa+parseInt(_0x50e686(0x2fc))/0xb*(parseInt(_0x50e686(0x2cd))/0xc);if(_0x4345b2===_0x198d91)break;else _0x6bc16c['push'](_0x6bc16c['shift']());}catch(_0x49750c){_0x6bc16c['push'](_0x6bc16c['shift']());}}}(_0x12eb,0x5e80a),function(_0x54d454,_0x48bcb4){const _0x3aee13=_0x1837;typeof exports==_0x3aee13(0x2c3)&&typeof module<'u'?_0x48bcb4(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3aee13(0x285)&&define['amd']?define([_0x3aee13(0x214),'@univerjs-pro/bases','@univerjs/core',_0x3aee13(0x2ca)],_0x48bcb4):(_0x54d454=typeof globalThis<'u'?globalThis:_0x54d454||self,_0x48bcb4(_0x54d454[_0x3aee13(0x2d6)]={},_0x54d454[_0x3aee13(0x25d)],_0x54d454[_0x3aee13(0x20a)],_0x54d454[_0x3aee13(0x2a0)]));}(this,function(_0x456617,_0x145166,_0x572e28,_0x2bcd8a){const _0x39ee67=_0x1837;Object[_0x39ee67(0x268)](_0x456617,Symbol['toStringTag'],{'value':_0x39ee67(0x279)});var _0x50606e=class{constructor(_0x398558,_0x21171e,_0x2e8707,_0x12b5a3){const _0x2a3481=_0x39ee67;this[_0x2a3481(0x228)]=_0x398558,this['_table']=_0x21171e,this[_0x2a3481(0x2ad)]=_0x2e8707,this[_0x2a3481(0x280)]=_0x12b5a3;}[_0x39ee67(0x1fd)](){const _0x4604f3=_0x39ee67;return this[_0x4604f3(0x2ad)];}[_0x39ee67(0x253)](){return this['_getField']();}[_0x39ee67(0x248)](){const _0x8679c=_0x39ee67;return this[_0x8679c(0x2ab)]()[_0x8679c(0x284)];}[_0x39ee67(0x2b3)](){const _0x2bc3e3=_0x39ee67;return this[_0x2bc3e3(0x2ab)]()['type'];}[_0x39ee67(0x2ea)](){const _0x297af7=_0x39ee67;return this[_0x297af7(0x2ab)]()[_0x297af7(0x1f8)];}[_0x39ee67(0x21b)](){const _0x549a03=_0x39ee67;return this[_0x549a03(0x2ab)]()[_0x549a03(0x256)];}[_0x39ee67(0x2d9)](){const _0x14eb35=_0x39ee67;return this['_getField']()[_0x14eb35(0x203)];}[_0x39ee67(0x216)](){const _0x1011c8=_0x39ee67;return!!this['_getField']()[_0x1011c8(0x2da)];}[_0x39ee67(0x226)](_0x2af0e5){const _0x27fd2f=_0x39ee67;return this[_0x27fd2f(0x29f)]({'name':_0x2af0e5});}['setConfig'](_0x404bb8){return this['update']({'config':_0x404bb8});}['setDefaultValue'](_0xd26e9f){const _0x4b9dbc=_0x39ee67;return this[_0x4b9dbc(0x29f)]({'defaultValue':_0xd26e9f});}[_0x39ee67(0x29f)](_0x1ba972){const _0x34f868=_0x39ee67;return this[_0x34f868(0x280)][_0x34f868(0x1f1)](_0x572e28[_0x34f868(0x217)])[_0x34f868(0x247)](_0x145166[_0x34f868(0x2c2)]['id'],{'unitId':this['_base'][_0x34f868(0x1fd)](),'tableId':this[_0x34f868(0x1f7)][_0x34f868(0x1fd)](),'fieldId':this[_0x34f868(0x2ad)],'patch':_0x1ba972});}[_0x39ee67(0x23a)](_0x542916,_0x364e00={}){const _0x71a309=_0x39ee67;return this[_0x71a309(0x280)][_0x71a309(0x1f1)](_0x572e28[_0x71a309(0x217)])[_0x71a309(0x247)](_0x145166['ChangeBaseFieldTypeCommand']['id'],{'unitId':this[_0x71a309(0x228)][_0x71a309(0x1fd)](),'tableId':this[_0x71a309(0x1f7)][_0x71a309(0x1fd)](),'fieldId':this[_0x71a309(0x2ad)],'input':{'type':_0x542916,'config':_0x364e00}});}[_0x39ee67(0x2c8)](){const _0x12ccec=_0x39ee67;return this['_inject'][_0x12ccec(0x1f1)](_0x572e28['ICommandService'])[_0x12ccec(0x247)](_0x145166[_0x12ccec(0x1fa)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x12ccec(0x1f7)][_0x12ccec(0x1fd)](),'fieldId':this[_0x12ccec(0x2ad)]});}[_0x39ee67(0x20f)](_0x19e87c){const _0xfe1cde=_0x39ee67;return this[_0xfe1cde(0x280)][_0xfe1cde(0x1f1)](_0x572e28[_0xfe1cde(0x217)])[_0xfe1cde(0x247)](_0x145166[_0xfe1cde(0x246)]['id'],{'unitId':this[_0xfe1cde(0x228)][_0xfe1cde(0x1fd)](),'tableId':this[_0xfe1cde(0x1f7)][_0xfe1cde(0x1fd)](),'fieldId':this['_fieldId'],'target':_0x19e87c});}[_0x39ee67(0x2ab)](){const _0x5e6867=_0x39ee67;let _0x46d393=this[_0x5e6867(0x1f7)][_0x5e6867(0x2d1)]()[_0x5e6867(0x1fc)][this['_fieldId']];if(!_0x46d393)throw Error(_0x5e6867(0x2f0)+this[_0x5e6867(0x2ad)]+_0x5e6867(0x276));return _0x46d393;}},_0x32ac25=class _0x1d8e14{constructor(_0x44f443,_0x22814d,_0x2e1fd4,_0x472317){const _0x28814f=_0x39ee67;this[_0x28814f(0x228)]=_0x44f443,this[_0x28814f(0x1f7)]=_0x22814d,this[_0x28814f(0x21a)]=_0x2e1fd4,this[_0x28814f(0x280)]=_0x472317,this[_0x28814f(0x2b4)]();}[_0x39ee67(0x2df)](){const _0x36a577=_0x39ee67;return this[_0x36a577(0x228)]['getId']();}[_0x39ee67(0x290)](){const _0x359b89=_0x39ee67;return this[_0x359b89(0x1f7)][_0x359b89(0x1fd)]();}[_0x39ee67(0x28a)](){const _0x13c3a2=_0x39ee67;return{...this[_0x13c3a2(0x21a)]};}[_0x39ee67(0x233)](){const _0x50cb6c=_0x39ee67;return this[_0x50cb6c(0x21a)][_0x50cb6c(0x28b)];}[_0x39ee67(0x2ce)](){return this['_range']['startColumn'];}[_0x39ee67(0x201)](){const _0x5f4001=_0x39ee67;return this[_0x5f4001(0x21a)]['endRow']-this['_range'][_0x5f4001(0x28b)]+0x1;}[_0x39ee67(0x2a9)](){const _0xb5b9ba=_0x39ee67;return this[_0xb5b9ba(0x21a)][_0xb5b9ba(0x26a)]-this[_0xb5b9ba(0x21a)][_0xb5b9ba(0x29d)]+0x1;}[_0x39ee67(0x2e9)](){const _0x33afa8=_0x39ee67;let _0x415a29=this[_0x33afa8(0x255)](),_0x568d83=[];for(let _0x5bdd47=this[_0x33afa8(0x21a)][_0x33afa8(0x28b)];_0x5bdd47<=this[_0x33afa8(0x21a)][_0x33afa8(0x20b)];_0x5bdd47++){var _0x45407c;let _0x52e0db=(_0x45407c=_0x415a29['rowId'])==null?void 0x0:_0x45407c[_0x5bdd47],_0x269c86=[];for(let _0x4ce275=this[_0x33afa8(0x21a)]['startColumn'];_0x4ce275<=this['_range'][_0x33afa8(0x26a)];_0x4ce275++){var _0xfc30b5;let _0x4b40e8=(_0xfc30b5=_0x415a29[_0x33afa8(0x303)])==null?void 0x0:_0xfc30b5[_0x4ce275];_0x269c86[_0x33afa8(0x22d)](_0x52e0db&&_0x4b40e8?(0x0,_0x145166[_0x33afa8(0x2d7)])(_0x415a29,_0x52e0db,_0x4b40e8):null);}_0x568d83[_0x33afa8(0x22d)](_0x269c86);}return _0x568d83;}[_0x39ee67(0x2b1)](){var _0x2906f0,_0xf7573d;return(_0x2906f0=(_0xf7573d=this['getValues']()[0x0])==null?void 0x0:_0xf7573d[0x0])==null?null:_0x2906f0;}[_0x39ee67(0x1f3)](_0x4f5f8b){return this['setValues']([[_0x4f5f8b]]);}[_0x39ee67(0x281)](_0x1bb4cc){const _0x2db6eb=_0x39ee67;let _0x1d3da8=this[_0x2db6eb(0x201)](),_0x580b98=this[_0x2db6eb(0x2a9)]();if(_0x1bb4cc[_0x2db6eb(0x298)]>_0x1d3da8||_0x1bb4cc[_0x2db6eb(0x2bd)](_0x5afc8c=>_0x5afc8c[_0x2db6eb(0x298)]>_0x580b98)){var _0x263935,_0x18b0d1;throw Error(_0x2db6eb(0x236)+_0x1bb4cc[_0x2db6eb(0x298)]+'x'+((_0x263935=(_0x18b0d1=_0x1bb4cc[0x0])==null?void 0x0:_0x18b0d1[_0x2db6eb(0x298)])==null?0x0:_0x263935)+'\x20exceeds\x20range\x20size\x20'+_0x1d3da8+'x'+_0x580b98+'.');}let _0x4cc55c=this[_0x2db6eb(0x280)][_0x2db6eb(0x1f1)](_0x572e28[_0x2db6eb(0x217)]),_0x42c94d=_0x1bb4cc['flatMap']((_0x41e10a,_0x66ad55)=>_0x41e10a[_0x2db6eb(0x26c)]((_0x4c6bdb,_0x283ad8)=>({'row':this['_range'][_0x2db6eb(0x28b)]+_0x66ad55,'col':this[_0x2db6eb(0x21a)]['startColumn']+_0x283ad8,'value':_0x4c6bdb})));return _0x4cc55c['syncExecuteCommand'](_0x145166[_0x2db6eb(0x223)]['id'],{'unitId':this[_0x2db6eb(0x228)]['getId'](),'tableId':this['_table'][_0x2db6eb(0x1fd)](),'patches':_0x42c94d});}[_0x39ee67(0x23c)](){const _0x1ef9ef=_0x39ee67;return this[_0x1ef9ef(0x281)](Array['from']({'length':this[_0x1ef9ef(0x201)]()},()=>Array[_0x1ef9ef(0x2e4)]({'length':this['getNumColumns']()},()=>null)));}[_0x39ee67(0x28e)](_0x12c94c,_0x322384,_0x35a54d=this[_0x39ee67(0x201)](),_0xe23c6d=this['getNumColumns']()){const _0x4368fc=_0x39ee67;return this[_0x4368fc(0x280)][_0x4368fc(0x2a6)](_0x1d8e14,this[_0x4368fc(0x228)],this[_0x4368fc(0x1f7)],{'startRow':this[_0x4368fc(0x21a)]['startRow']+_0x12c94c,'startColumn':this[_0x4368fc(0x21a)][_0x4368fc(0x29d)]+_0x322384,'endRow':this['_range'][_0x4368fc(0x28b)]+_0x12c94c+_0x35a54d-0x1,'endColumn':this['_range']['startColumn']+_0x322384+_0xe23c6d-0x1},this['_inject']);}[_0x39ee67(0x255)](){const _0x3adcee=_0x39ee67;let _0x4a9db5=this[_0x3adcee(0x1f7)][_0x3adcee(0x2d1)]();if(!_0x4a9db5)throw Error('[FBaseRange]:\x20table\x20does\x20not\x20exist.');return(0x0,_0x145166[_0x3adcee(0x2fe)])(_0x4a9db5);}[_0x39ee67(0x2b4)](){const _0x5b2f55=_0x39ee67;var _0x17b576,_0x4f85f4;let _0x208624=this[_0x5b2f55(0x255)](),_0x189db7=(_0x17b576=(_0x4f85f4=_0x208624[_0x5b2f55(0x291)])==null?void 0x0:_0x4f85f4['length'])==null?0x0:_0x17b576,_0x58973c=_0x208624['fieldOrder']['length'];if(this['_range'][_0x5b2f55(0x28b)]<0x0||this['_range']['startColumn']<0x0||this[_0x5b2f55(0x21a)][_0x5b2f55(0x20b)]<this[_0x5b2f55(0x21a)]['startRow']||this[_0x5b2f55(0x21a)]['endColumn']<this['_range'][_0x5b2f55(0x29d)]||this[_0x5b2f55(0x21a)][_0x5b2f55(0x20b)]>=Math[_0x5b2f55(0x220)](_0x189db7,0x1)||this['_range'][_0x5b2f55(0x26a)]>=Math['max'](_0x58973c,0x1))throw Error(_0x5b2f55(0x2eb)+_0x189db7+_0x5b2f55(0x24e)+_0x58973c+_0x5b2f55(0x293)+JSON[_0x5b2f55(0x22a)](this[_0x5b2f55(0x21a)])+'.');}};let _0x12eef0=function(_0x94180c){const _0x5f1798=_0x39ee67;return _0x94180c['Id']='id',_0x94180c[_0x5f1798(0x215)]=_0x5f1798(0x284),_0x94180c[_0x5f1798(0x309)]=_0x5f1798(0x308),_0x94180c;}({});function _0x39160d(_0x48da9b,_0xfef7be,_0x670be6='id'){const _0x31b3e5=_0x39ee67;if(!_0xfef7be)return{};let _0x298d82={};return Object[_0x31b3e5(0x22e)](_0xfef7be)[_0x31b3e5(0x2e1)](([_0x4609a3,_0x258edd])=>{_0x298d82[_0x4c086d(_0x48da9b,_0x4609a3,_0x670be6)]=_0x258edd;}),_0x298d82;}function _0x4c086d(_0x574ce5,_0x24b4fa,_0x2af876){const _0x109a73=_0x39ee67;if(_0x2af876==='id'||_0x2af876===_0x109a73(0x308)&&_0x574ce5[_0x109a73(0x1fc)][_0x24b4fa])return _0x24b4fa;let _0x35620f=Object[_0x109a73(0x292)](_0x574ce5[_0x109a73(0x1fc)])[_0x109a73(0x2d2)](_0x205e83=>_0x205e83[_0x109a73(0x284)]===_0x24b4fa);if(_0x35620f[_0x109a73(0x298)]===0x1)return _0x35620f[0x0]['id'];throw _0x35620f[_0x109a73(0x298)]>0x1?Error(_0x109a73(0x2dc)+_0x24b4fa):Error('Base\x20field\x20not\x20found:\x20'+_0x24b4fa);}var _0x45fde2=class _0x45858a{constructor(_0x5da75b,_0x441550,_0x1ba0f9,_0x42b08d){const _0x1fa309=_0x39ee67;this['_base']=_0x5da75b,this[_0x1fa309(0x1f7)]=_0x441550,this[_0x1fa309(0x1fb)]=_0x1ba0f9,this['_inject']=_0x42b08d;}[_0x39ee67(0x1fd)](){return this['_recordId'];}[_0x39ee67(0x21e)](){return this['_getRecord']();}[_0x39ee67(0x2b1)](_0x6a7fc1){const _0x5453ee=_0x39ee67;var _0x5a3656;return(_0x5a3656=this[_0x5453ee(0x1f5)]()['values'][_0x6a7fc1])==null?null:_0x5a3656;}[_0x39ee67(0x2e9)](){const _0x416897=_0x39ee67;return{...this[_0x416897(0x1f5)]()[_0x416897(0x292)]};}[_0x39ee67(0x1f3)](_0x5ba805,_0x2f39b2){const _0x3d39d5=_0x39ee67;return this['_inject']['get'](_0x572e28[_0x3d39d5(0x217)])[_0x3d39d5(0x247)](_0x145166[_0x3d39d5(0x29b)]['id'],{'unitId':this[_0x3d39d5(0x228)]['getId'](),'tableId':this['_table'][_0x3d39d5(0x1fd)](),'recordId':this[_0x3d39d5(0x1fb)],'fieldId':_0x5ba805,'value':_0x2f39b2});}[_0x39ee67(0x281)](_0x3101ba,_0x50b809='id'){const _0x7bc8ce=_0x39ee67;let _0x1f3636=this[_0x7bc8ce(0x280)][_0x7bc8ce(0x1f1)](_0x572e28['ICommandService']),_0x568e81=this[_0x7bc8ce(0x1f7)][_0x7bc8ce(0x2d1)](),_0x552df9=[{'recordId':this[_0x7bc8ce(0x1fb)],'values':_0x39160d(_0x568e81,_0x3101ba,_0x50b809)}];return _0x1f3636['syncExecuteCommand'](_0x145166[_0x7bc8ce(0x29a)]['id'],{'unitId':this[_0x7bc8ce(0x228)][_0x7bc8ce(0x1fd)](),'tableId':this['_table'][_0x7bc8ce(0x1fd)](),'patches':_0x552df9});}[_0x39ee67(0x2c8)](){const _0x5d3ef2=_0x39ee67;return this['_inject'][_0x5d3ef2(0x1f1)](_0x572e28[_0x5d3ef2(0x217)])[_0x5d3ef2(0x247)](_0x145166[_0x5d3ef2(0x301)]['id'],{'unitId':this[_0x5d3ef2(0x228)][_0x5d3ef2(0x1fd)](),'tableId':this[_0x5d3ef2(0x1f7)][_0x5d3ef2(0x1fd)](),'recordId':this[_0x5d3ef2(0x1fb)]});}['duplicate'](_0x42bc0e){const _0x24c434=_0x39ee67;let _0x22b688=this[_0x24c434(0x280)][_0x24c434(0x1f1)](_0x572e28[_0x24c434(0x217)]),_0x9378b1={...this[_0x24c434(0x1f5)](),..._0x42bc0e,'id':(0x0,_0x572e28[_0x24c434(0x2f5)])(0x6)};_0x42bc0e!=null&&_0x42bc0e[_0x24c434(0x292)]&&(_0x9378b1[_0x24c434(0x292)]={..._0x9378b1[_0x24c434(0x292)],..._0x42bc0e['values']});let _0x3c9f5d=Date[_0x24c434(0x304)]();if(_0x9378b1[_0x24c434(0x282)]||(_0x9378b1[_0x24c434(0x282)]=''+_0x3c9f5d),_0x9378b1[_0x24c434(0x200)]||(_0x9378b1[_0x24c434(0x200)]=_0x3c9f5d),_0x9378b1[_0x24c434(0x24a)]||(_0x9378b1['updatedAt']=_0x3c9f5d),!_0x22b688['syncExecuteCommand'](_0x145166[_0x24c434(0x2e0)]['id'],{'unitId':this[_0x24c434(0x228)][_0x24c434(0x1fd)](),'tableId':this[_0x24c434(0x1f7)][_0x24c434(0x1fd)](),'sourceRecordId':this['_recordId'],'record':_0x9378b1}))throw Error('[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22'+this[_0x24c434(0x1fb)]+'\x22.');return this[_0x24c434(0x280)][_0x24c434(0x2a6)](_0x45858a,this[_0x24c434(0x228)],this[_0x24c434(0x1f7)],_0x9378b1['id'],this[_0x24c434(0x280)]);}[_0x39ee67(0x22f)](_0x4abdda){const _0x27cb93=_0x39ee67;return this[_0x27cb93(0x280)]['get'](_0x572e28[_0x27cb93(0x217)])[_0x27cb93(0x247)](_0x145166[_0x27cb93(0x2e8)]['id'],{'unitId':this[_0x27cb93(0x228)][_0x27cb93(0x1fd)](),'tableId':this[_0x27cb93(0x1f7)][_0x27cb93(0x1fd)](),'recordId':this[_0x27cb93(0x1fb)],'orderKey':_0x4abdda});}[_0x39ee67(0x1f5)](){const _0x2f4b56=_0x39ee67;let _0x8a2098=this[_0x2f4b56(0x1f7)][_0x2f4b56(0x2d1)]()[_0x2f4b56(0x2aa)][this[_0x2f4b56(0x1fb)]];if(!_0x8a2098)throw Error(_0x2f4b56(0x28d)+this[_0x2f4b56(0x1fb)]+'\x22\x20does\x20not\x20exist.');return _0x8a2098;}},_0x886f20=class{constructor(_0x12ff18,_0x5e0fad,_0x398d66,_0x36928a){const _0x6096c4=_0x39ee67;this['_base']=_0x12ff18,this[_0x6096c4(0x1f7)]=_0x5e0fad,this[_0x6096c4(0x2c0)]=_0x398d66,this[_0x6096c4(0x242)]=_0x36928a;}[_0x39ee67(0x1fd)](){const _0x3b695d=_0x39ee67;return this[_0x3b695d(0x2c0)];}['getView'](){const _0x10ce0c=_0x39ee67;return this[_0x10ce0c(0x2b7)]();}[_0x39ee67(0x248)](){const _0x4c56a9=_0x39ee67;return this['_getView']()[_0x4c56a9(0x284)];}[_0x39ee67(0x2b3)](){const _0x1ad29b=_0x39ee67;return this['_getView']()[_0x1ad29b(0x221)];}[_0x39ee67(0x226)](_0x3b0a77){const _0x46807a=_0x39ee67;return this[_0x46807a(0x242)][_0x46807a(0x1f1)](_0x572e28[_0x46807a(0x217)])[_0x46807a(0x247)](_0x145166[_0x46807a(0x2f9)]['id'],{'unitId':this['_base'][_0x46807a(0x1fd)](),'tableId':this[_0x46807a(0x1f7)]['getId'](),'viewId':this[_0x46807a(0x2c0)],'name':_0x3b0a77});}[_0x39ee67(0x2ea)](){const _0x4674a7=_0x39ee67;let _0x10781a=this[_0x4674a7(0x2b3)](),_0x372ce0=this[_0x4674a7(0x2b7)]()[_0x4674a7(0x1f8)];switch(_0x10781a){case _0x572e28[_0x4674a7(0x297)][_0x4674a7(0x2ba)]:return _0x372ce0;case _0x572e28[_0x4674a7(0x297)][_0x4674a7(0x27c)]:return _0x372ce0;case _0x572e28[_0x4674a7(0x297)][_0x4674a7(0x20e)]:return _0x372ce0;case _0x572e28[_0x4674a7(0x297)][_0x4674a7(0x202)]:return _0x372ce0;case _0x572e28['BaseViewType']['Gallery']:return _0x372ce0;default:return _0x372ce0;}}[_0x39ee67(0x263)](_0x177ef2){const _0x40a91f=_0x39ee67;return this[_0x40a91f(0x242)][_0x40a91f(0x1f1)](_0x572e28['ICommandService'])[_0x40a91f(0x247)](_0x145166['UpdateBaseViewConfigCommand']['id'],{'unitId':this[_0x40a91f(0x228)][_0x40a91f(0x1fd)](),'tableId':this[_0x40a91f(0x1f7)][_0x40a91f(0x1fd)](),'viewId':this[_0x40a91f(0x2c0)],'patch':_0x177ef2});}[_0x39ee67(0x251)](){const _0x5b0ea6=_0x39ee67;var _0x369bc3;return(_0x369bc3=this[_0x5b0ea6(0x2b7)]()[_0x5b0ea6(0x2d2)])==null?null:_0x369bc3;}[_0x39ee67(0x27b)](_0x1a42ff){const _0xdaf699=_0x39ee67;return this[_0xdaf699(0x242)]['get'](_0x572e28[_0xdaf699(0x217)])[_0xdaf699(0x247)](_0x145166[_0xdaf699(0x25e)]['id'],{'unitId':this[_0xdaf699(0x228)][_0xdaf699(0x1fd)](),'tableId':this[_0xdaf699(0x1f7)][_0xdaf699(0x1fd)](),'viewId':this[_0xdaf699(0x2c0)],'filter':_0x1a42ff});}[_0x39ee67(0x1fe)](){const _0x832117=_0x39ee67;var _0x1c38ee;return(_0x1c38ee=this['_getView']()[_0x832117(0x20c)])==null?[]:_0x1c38ee;}[_0x39ee67(0x2e3)](_0x475a7a){const _0x49a52f=_0x39ee67;return this[_0x49a52f(0x242)][_0x49a52f(0x1f1)](_0x572e28[_0x49a52f(0x217)])[_0x49a52f(0x247)](_0x145166[_0x49a52f(0x2c9)]['id'],{'unitId':this[_0x49a52f(0x228)]['getId'](),'tableId':this['_table'][_0x49a52f(0x1fd)](),'viewId':this[_0x49a52f(0x2c0)],'sort':_0x475a7a});}[_0x39ee67(0x2d0)](){const _0x5c3e74=_0x39ee67;var _0x7326c5;return(_0x7326c5=this[_0x5c3e74(0x2b7)]()['group'])==null?[]:_0x7326c5;}[_0x39ee67(0x278)](_0x49e4ba){const _0x57ca6b=_0x39ee67;return this[_0x57ca6b(0x242)][_0x57ca6b(0x1f1)](_0x572e28[_0x57ca6b(0x217)])[_0x57ca6b(0x247)](_0x145166[_0x57ca6b(0x232)]['id'],{'unitId':this[_0x57ca6b(0x228)]['getId'](),'tableId':this[_0x57ca6b(0x1f7)][_0x57ca6b(0x1fd)](),'viewId':this[_0x57ca6b(0x2c0)],'group':_0x49e4ba});}[_0x39ee67(0x225)](_0x3d6643){const _0x1dabca=_0x39ee67;var _0x4998f4,_0x2d5930;return(_0x4998f4=(_0x2d5930=this['_getView']()[_0x1dabca(0x2ff)])==null?void 0x0:_0x2d5930[_0x3d6643])==null?{}:_0x4998f4;}[_0x39ee67(0x205)](){const _0x1177e7=_0x39ee67;var _0x46e0f0;let _0xad5e5e=this[_0x1177e7(0x1f7)][_0x1177e7(0x2d1)](),_0x15e8ef=this[_0x1177e7(0x2b7)]();return((_0x46e0f0=_0x15e8ef[_0x1177e7(0x235)])==null?_0xad5e5e[_0x1177e7(0x235)]:_0x46e0f0)[_0x1177e7(0x2d2)](_0x24f279=>{const _0x576765=_0x1177e7;var _0x3abe5d;return _0xad5e5e[_0x576765(0x1fc)][_0x24f279]&&!(!((_0x3abe5d=_0x15e8ef[_0x576765(0x2ff)])==null||(_0x3abe5d=_0x3abe5d[_0x24f279])==null)&&_0x3abe5d[_0x576765(0x212)]);})[_0x1177e7(0x26c)](_0x2fd8b8=>this[_0x1177e7(0x242)]['createInstance'](_0x50606e,this['_base'],this['_table'],_0x2fd8b8,this[_0x1177e7(0x242)]));}[_0x39ee67(0x23d)](_0x238139,_0x4b6bd3){const _0x386268=_0x39ee67;return this[_0x386268(0x242)]['get'](_0x572e28[_0x386268(0x217)])[_0x386268(0x247)](_0x145166[_0x386268(0x28f)]['id'],{'unitId':this['_base'][_0x386268(0x1fd)](),'tableId':this[_0x386268(0x1f7)][_0x386268(0x1fd)](),'viewId':this[_0x386268(0x2c0)],'fieldId':_0x238139,'visible':_0x4b6bd3});}[_0x39ee67(0x267)](_0x4022fb,_0x4ee63b){const _0x1bc65b=_0x39ee67;return this[_0x1bc65b(0x242)]['get'](_0x572e28[_0x1bc65b(0x217)])[_0x1bc65b(0x247)](_0x145166['SetBaseViewFieldWidthCommand']['id'],{'unitId':this[_0x1bc65b(0x228)]['getId'](),'tableId':this['_table'][_0x1bc65b(0x1fd)](),'viewId':this[_0x1bc65b(0x2c0)],'fieldId':_0x4022fb,'width':_0x4ee63b});}[_0x39ee67(0x269)](_0xf78bfa,_0x40744c){const _0x8a3ef6=_0x39ee67;return this[_0x8a3ef6(0x242)]['get'](_0x572e28[_0x8a3ef6(0x217)])[_0x8a3ef6(0x247)](_0x145166['SetBaseViewFieldOrderCommand']['id'],{'unitId':this[_0x8a3ef6(0x228)]['getId'](),'tableId':this['_table'][_0x8a3ef6(0x1fd)](),'viewId':this[_0x8a3ef6(0x2c0)],'fieldId':_0xf78bfa,'target':_0x40744c});}[_0x39ee67(0x20f)](_0x537ba7){const _0x24e514=_0x39ee67;return this['_injector'][_0x24e514(0x1f1)](_0x572e28[_0x24e514(0x217)])[_0x24e514(0x247)](_0x145166[_0x24e514(0x2c6)]['id'],{'unitId':this['_base'][_0x24e514(0x1fd)](),'tableId':this['_table']['getId'](),'viewId':this['_viewId'],'target':_0x537ba7});}[_0x39ee67(0x2c8)](){const _0x224d73=_0x39ee67;return this[_0x224d73(0x242)][_0x224d73(0x1f1)](_0x572e28[_0x224d73(0x217)])[_0x224d73(0x247)](_0x145166['DeleteBaseViewCommand']['id'],{'unitId':this[_0x224d73(0x228)][_0x224d73(0x1fd)](),'tableId':this[_0x224d73(0x1f7)][_0x224d73(0x1fd)](),'viewId':this[_0x224d73(0x2c0)]});}[_0x39ee67(0x2a4)](){const _0x3beb9b=_0x39ee67;return this[_0x3beb9b(0x242)][_0x3beb9b(0x1f1)](_0x145166[_0x3beb9b(0x265)])['getProjection'](this[_0x3beb9b(0x228)][_0x3beb9b(0x2e2)]()[_0x3beb9b(0x1f9)](),this[_0x3beb9b(0x1f7)][_0x3beb9b(0x1fd)](),this['_viewId']);}[_0x39ee67(0x2b7)](){const _0x343d3c=_0x39ee67;let _0xc500f3=this['_table'][_0x343d3c(0x2d1)]()[_0x343d3c(0x224)][this[_0x343d3c(0x2c0)]];if(!_0xc500f3)throw Error(_0x343d3c(0x30d)+this['_viewId']+_0x343d3c(0x276));return _0xc500f3;}},_0x1d05b0=class{constructor(_0x2f18da,_0x3f708d,_0x838897){const _0x1262be=_0x39ee67;this[_0x1262be(0x228)]=_0x2f18da,this['_tableId']=_0x3f708d,this[_0x1262be(0x242)]=_0x838897;}['getBase'](){const _0x4a0b94=_0x39ee67;return this[_0x4a0b94(0x228)]['getBase']();}[_0x39ee67(0x2d1)](){return this['_getTable']();}['getId'](){const _0x256d64=_0x39ee67;return this[_0x256d64(0x296)];}[_0x39ee67(0x248)](){const _0x5c8eef=_0x39ee67;return this[_0x5c8eef(0x255)]()[_0x5c8eef(0x284)];}['setName'](_0x6f5a1b){const _0x255a6b=_0x39ee67;return this['_injector'][_0x255a6b(0x1f1)](_0x572e28[_0x255a6b(0x217)])[_0x255a6b(0x247)](_0x145166['RenameBaseTableCommand']['id'],{'unitId':this[_0x255a6b(0x228)][_0x255a6b(0x1fd)](),'tableId':this['_tableId'],'name':_0x6f5a1b});}[_0x39ee67(0x29e)](_0x1b6ba5,_0x518aa4){const _0x537860=_0x39ee67;var _0x4e6c55;let _0x5b51ee=this['_injector'][_0x537860(0x1f1)](_0x145166[_0x537860(0x265)]),_0x23f557=this['_base'][_0x537860(0x2e2)]()[_0x537860(0x1f9)](),_0x4a9331=this['_getTable']();if(_0x518aa4){var _0xeef133;let _0x3d7c87=_0x5b51ee[_0x537860(0x2a4)](_0x23f557,this['_tableId'],_0x518aa4),_0x37273f=_0x4a9331[_0x537860(0x224)][_0x518aa4],_0x2506bc=(_0xeef133=_0x1b6ba5['fieldIds'])==null?_0x27e507(_0x4a9331,_0x37273f,_0x3d7c87):_0xeef133,_0x928551=_0x537860(0x307)in _0x3d7c87&&Array['isArray'](_0x3d7c87['rows'])?_0x3d7c87[_0x537860(0x307)]:[];return(0x0,_0x145166[_0x537860(0x210)])({..._0x1b6ba5,'table':_0x4a9331,'fieldIds':_0x2506bc,'rows':_0x928551});}let _0x3b6ac9=(_0x4a9331[_0x537860(0x291)]?_0x4a9331[_0x537860(0x291)][_0x537860(0x26c)](_0x6b327e=>_0x4a9331[_0x537860(0x2aa)][_0x6b327e]):Object['values'](_0x4a9331[_0x537860(0x2aa)])[_0x537860(0x20c)]((_0x4011fc,_0x1018e0)=>_0x4011fc['orderKey'][_0x537860(0x2a7)](_0x1018e0[_0x537860(0x282)])))['filter'](_0x402b53=>_0x402b53)['map'](_0x4d6c42=>({'recordId':_0x4d6c42['id'],'values':_0x4d6c42[_0x537860(0x292)]})),_0x2a02ae=(_0x4e6c55=_0x1b6ba5[_0x537860(0x286)])==null?_0x4a9331[_0x537860(0x235)][_0x537860(0x2d2)](_0x209718=>_0x4a9331[_0x537860(0x1fc)][_0x209718]):_0x4e6c55;return(0x0,_0x145166[_0x537860(0x210)])({..._0x1b6ba5,'table':_0x4a9331,'fieldIds':_0x2a02ae,'rows':_0x3b6ac9});}[_0x39ee67(0x2de)](){const _0x18a5d8=_0x39ee67;return this['_getTable']()[_0x18a5d8(0x24d)];}[_0x39ee67(0x30a)](){const _0x54b991=_0x39ee67;let _0x524490=this['_getTable']();return _0x524490[_0x54b991(0x235)][_0x54b991(0x26c)](_0x2a16e2=>_0x524490['fields'][_0x2a16e2])['filter'](_0xa55174=>_0xa55174)[_0x54b991(0x26c)](_0x438d94=>this['_injector'][_0x54b991(0x2a6)](_0x50606e,this[_0x54b991(0x228)],this,_0x438d94['id'],this['_injector']));}['getFieldById'](_0x54bb23){const _0x10c08c=_0x39ee67;let _0x3a8771=this[_0x10c08c(0x255)]()['fields'][_0x54bb23];return _0x3a8771?this['_injector']['createInstance'](_0x50606e,this['_base'],this,_0x3a8771['id'],this[_0x10c08c(0x242)]):null;}[_0x39ee67(0x209)](_0x5d7e5c){const _0x3f8698=_0x39ee67;let _0x10d08b=this[_0x3f8698(0x255)]()[_0x3f8698(0x1fc)],_0x2e456b=Object['values'](_0x10d08b)['find'](_0x2e2579=>_0x2e2579['name']===_0x5d7e5c);return _0x2e456b?this[_0x3f8698(0x242)][_0x3f8698(0x2a6)](_0x50606e,this[_0x3f8698(0x228)],this,_0x2e456b['id'],this['_injector']):null;}[_0x39ee67(0x25a)](){const _0x4f4e0c=_0x39ee67;let _0x18eb23=this[_0x4f4e0c(0x255)]()[_0x4f4e0c(0x24d)];return this[_0x4f4e0c(0x242)]['createInstance'](_0x50606e,this[_0x4f4e0c(0x228)],this,_0x18eb23,this[_0x4f4e0c(0x242)]);}['addField'](_0x55ea92,_0x36cb91,_0x4bc19b){const _0x4384de=_0x39ee67;var _0x4e9a97;let _0x3adb9e=this[_0x4384de(0x242)][_0x4384de(0x1f1)](_0x572e28[_0x4384de(0x217)]),_0x13cf5c=(_0x4e9a97=_0x4bc19b==null?void 0x0:_0x4bc19b['field'])==null?{}:_0x4e9a97;if(_0x13cf5c['id']=(0x0,_0x572e28[_0x4384de(0x2f5)])(0x6),_0x13cf5c[_0x4384de(0x284)]=_0x55ea92,_0x13cf5c[_0x4384de(0x221)]=_0x36cb91,!_0x13cf5c[_0x4384de(0x221)])throw Error(_0x4384de(0x283));if(_0x13cf5c[_0x4384de(0x1f8)]||(_0x13cf5c['config']={}),!_0x3adb9e[_0x4384de(0x247)](_0x145166[_0x4384de(0x288)]['id'],{'unitId':this['_base'][_0x4384de(0x1fd)](),'tableId':this[_0x4384de(0x296)],'field':_0x13cf5c,'index':_0x4bc19b==null?void 0x0:_0x4bc19b[_0x4384de(0x25f)]}))throw Error(_0x4384de(0x295)+_0x55ea92+'\x22');return this[_0x4384de(0x242)][_0x4384de(0x2a6)](_0x50606e,this['_base'],this,_0x13cf5c['id'],this['_injector']);}['getRecords'](){const _0x244c2b=_0x39ee67;return this[_0x244c2b(0x277)]()[_0x244c2b(0x26c)](_0x46cac0=>this['_injector'][_0x244c2b(0x2a6)](_0x45fde2,this[_0x244c2b(0x228)],this,_0x46cac0,this['_injector']));}[_0x39ee67(0x24b)](_0x3f6f21){const _0x4a7606=_0x39ee67;return this[_0x4a7606(0x255)]()[_0x4a7606(0x2aa)][_0x3f6f21]?this[_0x4a7606(0x242)][_0x4a7606(0x2a6)](_0x45fde2,this[_0x4a7606(0x228)],this,_0x3f6f21,this[_0x4a7606(0x242)]):null;}[_0x39ee67(0x252)](_0xa2d38={}){const _0x46ad02=_0x39ee67;var _0x31ba9b;let _0x54ece0=this['_getTable'](),_0x37dcb3=this['_resolveRecordIds'](_0xa2d38),_0x317455=Math[_0x46ad02(0x220)](0x0,(_0x31ba9b=_0xa2d38['offset'])==null?0x0:_0x31ba9b),_0x5c7b62=_0xa2d38[_0x46ad02(0x1f6)]==null?null:Math[_0x46ad02(0x220)](0x0,_0xa2d38['limit']),_0x227556=_0x2234b9(_0x37dcb3['map'](_0x230ad8=>_0x54ece0[_0x46ad02(0x2aa)][_0x230ad8])[_0x46ad02(0x2d2)](_0xaa4f9=>_0x2b23f4(_0xaa4f9,_0x54ece0,_0xa2d38[_0x46ad02(0x2d2)])),_0x54ece0,_0xa2d38['sort']);return{'records':_0x339dd9(_0x227556,_0xa2d38)['map'](_0x3c4eae=>this[_0x46ad02(0x242)][_0x46ad02(0x2a6)](_0x45fde2,this[_0x46ad02(0x228)],this,_0x3c4eae['id'],this[_0x46ad02(0x242)])),'total':_0x227556[_0x46ad02(0x298)],'offset':_0x317455,'limit':_0x5c7b62,'hasMore':_0x5c7b62!=null&&_0x317455+_0x5c7b62<_0x227556['length']};}[_0x39ee67(0x258)](_0x38df82,_0x293669='id',_0x490223){const _0x38775f=_0x39ee67;let _0xf8a070=this[_0x38775f(0x242)][_0x38775f(0x1f1)](_0x572e28[_0x38775f(0x217)]),_0x513f23=this[_0x38775f(0x255)](),_0x2ad8ad=_0x490223==null?{}:_0x490223;_0x2ad8ad['id']=(0x0,_0x572e28[_0x38775f(0x2f5)])(0x6),_0x2ad8ad[_0x38775f(0x292)]=_0x39160d(_0x513f23,_0x38df82,_0x293669);let _0x3fdd1d=Date[_0x38775f(0x304)]();if(_0x2ad8ad[_0x38775f(0x282)]||(_0x2ad8ad[_0x38775f(0x282)]=''+_0x3fdd1d),_0x2ad8ad[_0x38775f(0x200)]||(_0x2ad8ad[_0x38775f(0x200)]=_0x3fdd1d),_0x2ad8ad['updatedAt']||(_0x2ad8ad[_0x38775f(0x24a)]=_0x3fdd1d),!_0xf8a070[_0x38775f(0x247)](_0x145166[_0x38775f(0x2e7)]['id'],{'unitId':this[_0x38775f(0x228)][_0x38775f(0x1fd)](),'tableId':this[_0x38775f(0x296)],'record':_0x2ad8ad}))throw Error(_0x38775f(0x2bc)+_0x2ad8ad['id']+'\x22');return this[_0x38775f(0x242)][_0x38775f(0x2a6)](_0x45fde2,this[_0x38775f(0x228)],this,_0x2ad8ad['id'],this[_0x38775f(0x242)]);}[_0x39ee67(0x208)](_0x2dbca6){const _0x7d877f=_0x39ee67;if(!_0x2dbca6['length'])return[];let _0x57cb57=this['_injector'][_0x7d877f(0x1f1)](_0x572e28['ICommandService']),_0x469a27=this[_0x7d877f(0x255)](),_0x5037c1=Date[_0x7d877f(0x304)](),_0x2915c1=_0x2dbca6['map']((_0x2ce8d2,_0x133f45)=>{const _0x1b90f6=_0x7d877f;var _0x4e958a,_0x50e942;let _0x5b062b=(_0x4e958a=_0x2ce8d2[_0x1b90f6(0x2e5)])==null?{}:_0x4e958a;return _0x5b062b['id']=(0x0,_0x572e28[_0x1b90f6(0x2f5)])(0x6),_0x5b062b[_0x1b90f6(0x292)]=_0x39160d(_0x469a27,_0x2ce8d2['values'],(_0x50e942=_0x2ce8d2[_0x1b90f6(0x206)])==null?'id':_0x50e942),_0x5b062b[_0x1b90f6(0x282)]||(_0x5b062b[_0x1b90f6(0x282)]=''+(_0x5037c1+_0x133f45)),_0x5b062b[_0x1b90f6(0x200)]||(_0x5b062b[_0x1b90f6(0x200)]=_0x5037c1),_0x5b062b[_0x1b90f6(0x24a)]||(_0x5b062b[_0x1b90f6(0x24a)]=_0x5037c1),_0x5b062b;});if(!_0x57cb57[_0x7d877f(0x247)](_0x145166[_0x7d877f(0x25b)]['id'],{'unitId':this[_0x7d877f(0x228)][_0x7d877f(0x1fd)](),'tableId':this[_0x7d877f(0x296)],'records':_0x2915c1}))throw Error(_0x7d877f(0x2e6));return _0x2915c1[_0x7d877f(0x26c)](_0x49d5af=>this[_0x7d877f(0x242)][_0x7d877f(0x2a6)](_0x45fde2,this[_0x7d877f(0x228)],this,_0x49d5af['id'],this[_0x7d877f(0x242)]));}['deleteRecords'](_0x436939){const _0x2cc97c=_0x39ee67;return _0x436939[_0x2cc97c(0x298)]?this[_0x2cc97c(0x242)][_0x2cc97c(0x1f1)](_0x572e28[_0x2cc97c(0x217)])[_0x2cc97c(0x247)](_0x145166[_0x2cc97c(0x300)]['id'],{'unitId':this[_0x2cc97c(0x228)][_0x2cc97c(0x1fd)](),'tableId':this[_0x2cc97c(0x296)],'recordIds':_0x436939}):!0x0;}[_0x39ee67(0x28a)](_0x1807e4,_0x51efcc,_0x1185ec=0x1,_0x1675d8=0x1){const _0x44a64f=_0x39ee67;return this[_0x44a64f(0x242)][_0x44a64f(0x2a6)](_0x32ac25,this[_0x44a64f(0x228)],this,{'startRow':_0x1807e4,'endRow':_0x1807e4+_0x1185ec-0x1,'startColumn':_0x51efcc,'endColumn':_0x51efcc+_0x1675d8-0x1},this[_0x44a64f(0x242)]);}[_0x39ee67(0x271)](){const _0x4591c1=_0x39ee67;var _0x36772e,_0x588cd4;let _0x5cbade=(0x0,_0x145166['ensureBaseTableCellLayout'])(this['_getTable']()),_0xb32436=(_0x36772e=(_0x588cd4=_0x5cbade[_0x4591c1(0x291)])==null?void 0x0:_0x588cd4[_0x4591c1(0x298)])==null?0x0:_0x36772e,_0x5347d3=_0x5cbade[_0x4591c1(0x235)][_0x4591c1(0x298)];return this[_0x4591c1(0x28a)](0x0,0x0,Math[_0x4591c1(0x220)](_0xb32436,0x1),Math[_0x4591c1(0x220)](_0x5347d3,0x1));}['getViews'](){const _0x2ee920=_0x39ee67;let _0x3bd026=this[_0x2ee920(0x255)]();return _0x3bd026['viewOrder']['filter'](_0x42974a=>_0x3bd026[_0x2ee920(0x224)][_0x42974a])[_0x2ee920(0x26c)](_0x186688=>this[_0x2ee920(0x242)]['createInstance'](_0x886f20,this['_base'],this,_0x186688,this['_injector']));}[_0x39ee67(0x2c5)](_0x2f5aaa){const _0x20bae8=_0x39ee67;return this[_0x20bae8(0x255)]()[_0x20bae8(0x224)][_0x2f5aaa]?this[_0x20bae8(0x242)]['createInstance'](_0x886f20,this['_base'],this,_0x2f5aaa,this['_injector']):null;}['getViewByName'](_0x1934b0){const _0x18c85e=_0x39ee67;let _0x4392a3=this[_0x18c85e(0x255)](),_0x3826f5=Object['values'](_0x4392a3[_0x18c85e(0x224)])['find'](_0x2389b4=>_0x2389b4[_0x18c85e(0x284)]===_0x1934b0);return _0x3826f5?this['_injector'][_0x18c85e(0x2a6)](_0x886f20,this['_base'],this,_0x3826f5['id'],this['_injector']):null;}['createView'](_0x17beb1,_0x144f71,_0x4172c3){const _0x107f9a=_0x39ee67;var _0x29ccbf;let _0x38dd77=this['_injector'][_0x107f9a(0x1f1)](_0x572e28[_0x107f9a(0x217)]),_0x2b396d=this[_0x107f9a(0x255)](),_0x42fc7c=(_0x29ccbf=_0x4172c3==null?void 0x0:_0x4172c3[_0x107f9a(0x2ec)])==null?{}:_0x29ccbf;if(_0x42fc7c['id']=(0x0,_0x572e28[_0x107f9a(0x2f5)])(0x6),_0x42fc7c['name']=_0x17beb1,_0x42fc7c[_0x107f9a(0x221)]=_0x144f71,_0x42fc7c['tableId']=this['_tableId'],!_0x42fc7c[_0x107f9a(0x221)])throw Error(_0x107f9a(0x302));if(_0x42fc7c[_0x107f9a(0x1f8)]||(_0x42fc7c[_0x107f9a(0x1f8)]={}),_0x42fc7c[_0x107f9a(0x235)]||(_0x42fc7c['fieldOrder']=[..._0x2b396d['fieldOrder']]),!_0x38dd77['syncExecuteCommand'](_0x145166[_0x107f9a(0x2ef)]['id'],{'unitId':this['_base'][_0x107f9a(0x1fd)](),'tableId':this['_tableId'],'view':_0x42fc7c,'index':_0x4172c3==null?void 0x0:_0x4172c3[_0x107f9a(0x25f)]}))throw Error(_0x107f9a(0x2db)+_0x17beb1+'\x22');return this['_injector'][_0x107f9a(0x2a6)](_0x886f20,this['_base'],this,_0x42fc7c['id'],this[_0x107f9a(0x242)]);}[_0x39ee67(0x26f)](){const _0x2f3078=_0x39ee67;let _0x17def9=this[_0x2f3078(0x255)](),_0x59fa90=_0x17def9['fieldOrder'][_0x2f3078(0x2d2)](_0x3896d6=>_0x17def9['fields'][_0x3896d6]),_0x2be2fa=_0x17def9[_0x2f3078(0x29c)][_0x2f3078(0x2d2)](_0x4ced5d=>_0x17def9[_0x2f3078(0x224)][_0x4ced5d]);return{'id':_0x17def9['id'],'name':_0x17def9[_0x2f3078(0x284)],'primaryFieldId':_0x17def9[_0x2f3078(0x24d)],'fieldIds':_0x59fa90,'viewIds':_0x2be2fa,'recordCount':this[_0x2f3078(0x277)]()[_0x2f3078(0x298)],'fields':_0x59fa90[_0x2f3078(0x26c)](_0x1cef30=>{const _0x59f330=_0x2f3078;let _0x440a3c=_0x17def9[_0x59f330(0x1fc)][_0x1cef30];return{'id':_0x440a3c['id'],'name':_0x440a3c['name'],'type':_0x440a3c[_0x59f330(0x221)],'config':_0x440a3c[_0x59f330(0x1f8)],'readonly':_0x440a3c[_0x59f330(0x2da)],'description':_0x440a3c[_0x59f330(0x203)]};}),'views':_0x2be2fa[_0x2f3078(0x26c)](_0x596e7b=>{const _0x2438b5=_0x2f3078;let _0x2b327e=_0x17def9['views'][_0x596e7b];return{'id':_0x2b327e['id'],'name':_0x2b327e[_0x2438b5(0x284)],'type':_0x2b327e[_0x2438b5(0x221)]};})};}[_0x39ee67(0x255)](){const _0x67ffd5=_0x39ee67;let _0x19638c=this[_0x67ffd5(0x228)][_0x67ffd5(0x2e2)]()[_0x67ffd5(0x1f9)]()[_0x67ffd5(0x2dd)][this['_tableId']];if(!_0x19638c)throw Error('[FTable]:\x20table\x20\x22'+this[_0x67ffd5(0x296)]+_0x67ffd5(0x276));return _0x19638c;}[_0x39ee67(0x277)](_0x50a42a={}){const _0x1c3dbb=_0x39ee67;let _0x5504e0=this[_0x1c3dbb(0x242)]['get'](_0x145166[_0x1c3dbb(0x265)]),_0xa1dbe0=this['_base']['getBase']()[_0x1c3dbb(0x1f9)](),_0x2e6af9=this[_0x1c3dbb(0x255)]();if(_0x50a42a['viewId']){let _0x44b581=_0x5504e0[_0x1c3dbb(0x2a4)](_0xa1dbe0,this[_0x1c3dbb(0x296)],_0x50a42a[_0x1c3dbb(0x240)]);if(_0x1c3dbb(0x307)in _0x44b581&&Array['isArray'](_0x44b581['rows']))return _0x44b581[_0x1c3dbb(0x307)][_0x1c3dbb(0x26c)](_0x1c6b91=>_0x1c6b91['recordId']);}return(_0x2e6af9[_0x1c3dbb(0x291)]?_0x2e6af9[_0x1c3dbb(0x291)][_0x1c3dbb(0x26c)](_0x42c1e5=>_0x2e6af9['records'][_0x42c1e5]):Object[_0x1c3dbb(0x292)](_0x2e6af9[_0x1c3dbb(0x2aa)])[_0x1c3dbb(0x20c)]((_0x48be94,_0x5b6400)=>_0x48be94[_0x1c3dbb(0x282)][_0x1c3dbb(0x2a7)](_0x5b6400[_0x1c3dbb(0x282)])))[_0x1c3dbb(0x2d2)](_0x102bf9=>_0x102bf9)['map'](_0xeb5b2=>_0xeb5b2['id']);}};function _0x339dd9(_0x15ce19,_0x2087fe){const _0xed3f04=_0x39ee67;var _0x127c8e;let _0xb55f12=Math[_0xed3f04(0x220)](0x0,(_0x127c8e=_0x2087fe[_0xed3f04(0x28e)])==null?0x0:_0x127c8e);return _0x2087fe[_0xed3f04(0x1f6)]==null?_0x15ce19[_0xed3f04(0x2f1)](_0xb55f12):_0x15ce19[_0xed3f04(0x2f1)](_0xb55f12,_0xb55f12+Math['max'](0x0,_0x2087fe[_0xed3f04(0x1f6)]));}function _0x2234b9(_0x2bb545,_0x1ec587,_0xeea60b=[]){const _0x26941f=_0x39ee67;return _0xeea60b[_0x26941f(0x298)]?[..._0x2bb545][_0x26941f(0x20c)]((_0x441eb5,_0x5abdba)=>{const _0x3707b1=_0x26941f;var _0x114f2b,_0x1530ba;for(let _0x3492e9 of _0xeea60b){var _0x1e512c;let _0x43ba86=_0x3492e9[_0x3707b1(0x305)]===_0x572e28[_0x3707b1(0x26b)][_0x3707b1(0x306)]?-0x1:0x1,_0x15f4de=_0x308d09(_0x441eb5[_0x3707b1(0x292)][_0x3492e9[_0x3707b1(0x2f3)]],_0x5abdba[_0x3707b1(0x292)][_0x3492e9[_0x3707b1(0x2f3)]],(_0x1e512c=_0x1ec587[_0x3707b1(0x1fc)][_0x3492e9['fieldId']])==null?void 0x0:_0x1e512c[_0x3707b1(0x221)]);if(_0x15f4de!==0x0)return _0x15f4de*_0x43ba86;}return String((_0x114f2b=_0x441eb5['orderKey'])==null?_0x441eb5['id']:_0x114f2b)[_0x3707b1(0x2a7)](String((_0x1530ba=_0x5abdba[_0x3707b1(0x282)])==null?_0x5abdba['id']:_0x1530ba));}):_0x2bb545;}function _0x308d09(_0x808684,_0x435162,_0x518255){const _0x3bb450=_0x39ee67;return _0x808684==null&&_0x435162==null?0x0:_0x808684==null?-0x1:_0x435162==null?0x1:typeof _0x808684==_0x3bb450(0x2cc)&&typeof _0x435162=='number'?_0x808684-_0x435162:_0x518255===_0x572e28[_0x3bb450(0x2d5)][_0x3bb450(0x2d8)]?Number(_0x808684)-Number(_0x435162):String(_0x808684)[_0x3bb450(0x2a7)](String(_0x435162));}function _0x2b23f4(_0x4f20bc,_0x26867f,_0x40095d){const _0x5bcd6c=_0x39ee67;var _0xf53a99;if(!_0x40095d||!((_0xf53a99=_0x40095d[_0x5bcd6c(0x2d3)])!=null&&_0xf53a99['length']))return!0x0;let {conjunction:_0x4aa7b6=_0x572e28[_0x5bcd6c(0x26e)]['OR'],conditions:_0x332b1f}=_0x40095d;return _0x4aa7b6===_0x572e28['BaseFilterConjunction'][_0x5bcd6c(0x1f4)]&&_0x332b1f[_0x5bcd6c(0x298)]>0x1?_0x332b1f[_0x5bcd6c(0x2c7)](_0x1fef5f=>_0x1bb286(_0x4f20bc,_0x26867f,_0x1fef5f)):_0x332b1f[_0x5bcd6c(0x2bd)](_0xd834b1=>_0x1bb286(_0x4f20bc,_0x26867f,_0xd834b1));}function _0x1bb286(_0xfda30f,_0x2bef60,_0x37d6a4){const _0x2d5f18=_0x39ee67;let _0x544c2e=_0xfda30f[_0x2d5f18(0x292)][_0x37d6a4['fieldId']],_0x2a670c=_0x2bef60[_0x2d5f18(0x1fc)][_0x37d6a4[_0x2d5f18(0x2f3)]];if(_0x32b443(_0x37d6a4)){let _0x4f1ece=_0x461e72(_0x37d6a4)[_0x2d5f18(0x2b9)](String(_0x544c2e==null?'':_0x544c2e));return _0x37d6a4[_0x2d5f18(0x264)]===_0x2d5f18(0x2b5)?_0x4f1ece:!_0x4f1ece;}return _0x2a670c?(0x0,_0x145166[_0x2d5f18(0x30c)])(_0x544c2e,_0x37d6a4[_0x2d5f18(0x264)],_0x37d6a4[_0x2d5f18(0x2bf)],_0x2a670c):!0x0;}function _0x32b443(_0x4bef4a){const _0xf527=_0x39ee67;return _0x4bef4a[_0xf527(0x264)]===_0xf527(0x2b5)||_0x4bef4a[_0xf527(0x264)]===_0xf527(0x2c4);}function _0x461e72(_0x20fea4){const _0x4732c5=_0x39ee67;var _0x450959;let _0x2a801a=String((_0x450959=_0x20fea4['value'])==null?'':_0x450959);if(_0x2a801a[_0x4732c5(0x298)]>0x200)throw Error(_0x4732c5(0x274));try{return new RegExp(_0x2a801a,_0x20fea4[_0x4732c5(0x2cb)]?void 0x0:'i');}catch(_0x328740){throw Error(_0x4732c5(0x241)+_0x2a801a+'.\x20'+(_0x328740 instanceof Error?_0x328740[_0x4732c5(0x2f7)]:String(_0x328740)));}}function _0x27e507(_0x2dcfea,_0x519633,_0x19e744){const _0x580c9c=_0x39ee67;if(_0x19e744[_0x580c9c(0x221)]!==_0x580c9c(0x2be)){var _0x42a5ae;if(_0x19e744[_0x580c9c(0x221)]===_0x572e28[_0x580c9c(0x297)][_0x580c9c(0x27c)]){var _0x1460d5,_0x28bdfb,_0x552a6f;let _0x5dd065=[(_0x1460d5=(_0x28bdfb=_0x19e744[_0x580c9c(0x1fc)])==null||(_0x28bdfb=_0x28bdfb[0x0])==null?void 0x0:_0x28bdfb['id'])==null?_0x2dcfea['primaryFieldId']:_0x1460d5,...(_0x552a6f=_0x19e744[_0x580c9c(0x270)])==null?[]:_0x552a6f];return Array[_0x580c9c(0x2e4)](new Set(_0x5dd065[_0x580c9c(0x2d2)](_0x5007b7=>!!_0x2dcfea['fields'][_0x5007b7])));}if((_0x42a5ae=_0x19e744['fields'])!=null&&_0x42a5ae[_0x580c9c(0x298)])return _0x19e744[_0x580c9c(0x1fc)][_0x580c9c(0x26c)](_0x20d5fa=>_0x20d5fa['id'])[_0x580c9c(0x2d2)](_0x46b827=>{const _0x1b4952=_0x580c9c;var _0x1913d3;return!!(_0x2dcfea[_0x1b4952(0x1fc)][_0x46b827]&&!(!(_0x519633==null||(_0x1913d3=_0x519633[_0x1b4952(0x2ff)])==null||(_0x1913d3=_0x1913d3[_0x46b827])==null)&&_0x1913d3[_0x1b4952(0x212)]));});}return _0x2dcfea[_0x580c9c(0x235)][_0x580c9c(0x2d2)](_0x558111=>{const _0x47ae04=_0x580c9c;var _0x5689ef;return!!(_0x2dcfea[_0x47ae04(0x1fc)][_0x558111]&&!(!(_0x519633==null||(_0x5689ef=_0x519633[_0x47ae04(0x2ff)])==null||(_0x5689ef=_0x5689ef[_0x558111])==null)&&_0x5689ef[_0x47ae04(0x212)]));});}function _0x940b93(_0x3f986c,_0x4e6b10){return function(_0x1f267f,_0x3983bf){_0x4e6b10(_0x1f267f,_0x3983bf,_0x3f986c);};}function _0x1ca64b(_0x1534f5,_0x4306ed,_0xce8a2a,_0x46b0b6){const _0x10b550=_0x39ee67;var _0x4f2af4=arguments[_0x10b550(0x298)],_0x4121fb=_0x4f2af4<0x3?_0x4306ed:_0x46b0b6===null?_0x46b0b6=Object[_0x10b550(0x257)](_0x4306ed,_0xce8a2a):_0x46b0b6,_0x5d94c4;if(typeof Reflect=='object'&&typeof Reflect[_0x10b550(0x239)]==_0x10b550(0x285))_0x4121fb=Reflect[_0x10b550(0x239)](_0x1534f5,_0x4306ed,_0xce8a2a,_0x46b0b6);else{for(var _0x110d47=_0x1534f5[_0x10b550(0x298)]-0x1;_0x110d47>=0x0;_0x110d47--)(_0x5d94c4=_0x1534f5[_0x110d47])&&(_0x4121fb=(_0x4f2af4<0x3?_0x5d94c4(_0x4121fb):_0x4f2af4>0x3?_0x5d94c4(_0x4306ed,_0xce8a2a,_0x4121fb):_0x5d94c4(_0x4306ed,_0xce8a2a))||_0x4121fb);}return _0x4f2af4>0x3&&_0x4121fb&&Object[_0x10b550(0x268)](_0x4306ed,_0xce8a2a,_0x4121fb),_0x4121fb;}let _0x3658c5=class{constructor(_0x195c11,_0x53bf44){const _0x5a25dd=_0x39ee67;this[_0x5a25dd(0x228)]=_0x195c11,this[_0x5a25dd(0x242)]=_0x53bf44;}[_0x39ee67(0x2e2)](){const _0x10c5e4=_0x39ee67;return this[_0x10c5e4(0x228)];}[_0x39ee67(0x1fd)](){const _0x2bed79=_0x39ee67;return this[_0x2bed79(0x228)]['getUnitId']();}[_0x39ee67(0x1f2)](){const _0x23341b=_0x39ee67;return _0x572e28[_0x23341b(0x2fa)][_0x23341b(0x231)](this[_0x23341b(0x228)][_0x23341b(0x1f9)]());}[_0x39ee67(0x248)](){const _0x3372c2=_0x39ee67;return this[_0x3372c2(0x228)][_0x3372c2(0x1f9)]()[_0x3372c2(0x284)];}[_0x39ee67(0x226)](_0x5d6d78){const _0x57831c=_0x39ee67;this[_0x57831c(0x242)][_0x57831c(0x1f1)](_0x572e28[_0x57831c(0x217)])[_0x57831c(0x247)](_0x145166[_0x57831c(0x2a2)]['id'],{'unitId':this[_0x57831c(0x1fd)](),'name':_0x5d6d78});}[_0x39ee67(0x289)](){const _0x4a980a=_0x39ee67;let _0x237dc5=this['_base']['getSnapshot']();return _0x237dc5['tableOrder'][_0x4a980a(0x26c)](_0x6fefcc=>_0x237dc5[_0x4a980a(0x2dd)][_0x6fefcc])[_0x4a980a(0x2d2)](_0x565ea6=>_0x565ea6)['map'](_0x26f944=>this[_0x4a980a(0x242)][_0x4a980a(0x2a6)](_0x1d05b0,this,_0x26f944['id'],this[_0x4a980a(0x242)]));}[_0x39ee67(0x24c)](_0x4c7463){const _0xe9a75c=_0x39ee67;let _0x13141d=this[_0xe9a75c(0x228)]['getSnapshot']()['tables'][_0x4c7463];return _0x13141d?this[_0xe9a75c(0x242)][_0xe9a75c(0x2a6)](_0x1d05b0,this,_0x13141d['id'],this[_0xe9a75c(0x242)]):null;}['getTableByName'](_0x1347df){const _0x1cca11=_0x39ee67;let _0x522555=this['_base']['getSnapshot'](),_0x1b1a12=Object[_0x1cca11(0x292)](_0x522555[_0x1cca11(0x2dd)])['find'](_0x34ed1e=>_0x34ed1e['name']===_0x1347df);return _0x1b1a12?this[_0x1cca11(0x242)]['createInstance'](_0x1d05b0,this,_0x1b1a12['id'],this['_injector']):null;}[_0x39ee67(0x27e)](_0x1faffc,_0x5a3eeb){const _0x2764d6=_0x39ee67;var _0x2f10df;let _0x3cb50f=this[_0x2764d6(0x242)][_0x2764d6(0x1f1)](_0x572e28[_0x2764d6(0x217)]),_0x2ceafa=(0x0,_0x572e28[_0x2764d6(0x2f2)])({'id':(0x0,_0x572e28['generateRandomId'])(),'name':_0x1faffc,..._0x5a3eeb==null?void 0x0:_0x5a3eeb['table'],'primaryFieldName':_0x5a3eeb==null?void 0x0:_0x5a3eeb[_0x2764d6(0x1f0)]}),_0x770e0a=_0x572e28[_0x2764d6(0x2fa)]['commonExtend'](_0x2ceafa,(_0x2f10df=_0x5a3eeb==null?void 0x0:_0x5a3eeb['table'])==null?{}:_0x2f10df);if(!_0x3cb50f[_0x2764d6(0x247)](_0x145166[_0x2764d6(0x299)]['id'],{'unitId':this[_0x2764d6(0x228)][_0x2764d6(0x227)](),'table':_0x770e0a,'index':_0x5a3eeb==null?void 0x0:_0x5a3eeb[_0x2764d6(0x25f)]}))throw Error(_0x2764d6(0x260)+_0x1faffc+'\x22.');return this[_0x2764d6(0x242)][_0x2764d6(0x2a6)](_0x1d05b0,this,_0x770e0a['id'],this[_0x2764d6(0x242)]);}[_0x39ee67(0x27a)](_0x512258){const _0x1a1452=_0x39ee67;let _0x39b483=this['_injector']['get'](_0x572e28[_0x1a1452(0x217)]),_0x171fea=typeof _0x512258==_0x1a1452(0x245)?_0x512258:_0x512258[_0x1a1452(0x1fd)]();if(!_0x39b483[_0x1a1452(0x247)](_0x145166[_0x1a1452(0x204)]['id'],{'unitId':this[_0x1a1452(0x228)]['getUnitId'](),'tableId':_0x171fea}))throw Error(_0x1a1452(0x229)+_0x171fea+'\x22.');return!0x0;}[_0x39ee67(0x2f8)](_0x503990,_0x2c3f3d){const _0x145e5c=_0x39ee67;var _0x4c1a58,_0x3438ee;let _0x228f29=this['_injector'][_0x145e5c(0x1f1)](_0x572e28[_0x145e5c(0x217)]),_0x37ac09=this[_0x145e5c(0x228)][_0x145e5c(0x1f9)](),_0x210d71=typeof _0x503990==_0x145e5c(0x245)?_0x503990:_0x503990[_0x145e5c(0x1fd)](),_0x3679da=_0x37ac09[_0x145e5c(0x2dd)][_0x210d71];if(!_0x3679da)throw Error(_0x145e5c(0x213)+_0x210d71+'\x22\x20does\x20not\x20exist.');let _0x2496bc=_0x37ac09[_0x145e5c(0x222)][_0x145e5c(0x30e)](_0x210d71)+0x1,_0x452a37=(0x0,_0x145166[_0x145e5c(0x2bb)])(_0x3679da,{'id':(0x0,_0x572e28[_0x145e5c(0x2f5)])(),'name':_0x3679da[_0x145e5c(0x284)]+_0x145e5c(0x262),'includeRecords':(_0x4c1a58=_0x2c3f3d==null?void 0x0:_0x2c3f3d[_0x145e5c(0x249)])==null?!0x1:_0x4c1a58,'regenerateViewIds':(_0x3438ee=_0x2c3f3d==null?void 0x0:_0x2c3f3d['regenerateViewIds'])==null?!0x1:_0x3438ee});if(!_0x228f29[_0x145e5c(0x247)](_0x145166[_0x145e5c(0x299)]['id'],{'unitId':this[_0x145e5c(0x228)][_0x145e5c(0x227)](),'table':_0x452a37,'index':_0x2496bc}))throw Error(_0x145e5c(0x272)+_0x210d71+'\x22.');return this[_0x145e5c(0x242)][_0x145e5c(0x2a6)](_0x1d05b0,this,_0x452a37['id'],this[_0x145e5c(0x242)]);}[_0x39ee67(0x26f)](){const _0x43bb4f=_0x39ee67;let _0x5920ea=this[_0x43bb4f(0x228)][_0x43bb4f(0x1f9)]();return{'id':_0x5920ea['id'],'name':_0x5920ea[_0x43bb4f(0x284)],'tables':this['getTables']()[_0x43bb4f(0x26c)](_0x437128=>_0x437128[_0x43bb4f(0x26f)]())};}};_0x3658c5=_0x1ca64b([_0x940b93(0x1,(0x0,_0x572e28[_0x39ee67(0x287)])(_0x572e28[_0x39ee67(0x25c)]))],_0x3658c5);var _0x5040b6=class extends _0x2bcd8a[_0x39ee67(0x250)]{[_0x39ee67(0x23f)](){const _0x161bb3=_0x39ee67;this[_0x161bb3(0x1ff)](),this['_initBaseAfterEvents']();}[_0x39ee67(0x230)](_0xbdf67d={},_0x313479){const _0x5c1123=_0x39ee67;let _0x55235d=this['_injector']['get'](_0x572e28[_0x5c1123(0x2ac)])[_0x5c1123(0x27d)](_0x572e28[_0x5c1123(0x21c)][_0x5c1123(0x2ae)],_0xbdf67d,_0x313479);return this[_0x5c1123(0x242)][_0x5c1123(0x2a6)](_0x3658c5,_0x55235d);}['getActiveBase'](){const _0x15d299=_0x39ee67;let _0x1d2268=this['_injector'][_0x15d299(0x1f1)](_0x572e28[_0x15d299(0x2ac)])[_0x15d299(0x2ee)](_0x572e28['UniverInstanceType']['UNIVER_BASE']);return _0x1d2268?this[_0x15d299(0x242)][_0x15d299(0x2a6)](_0x3658c5,_0x1d2268):null;}[_0x39ee67(0x2e2)](_0x2fb663){const _0x560905=_0x39ee67;let _0x4ed152=this['_injector']['get'](_0x572e28['IUniverInstanceService'])[_0x560905(0x2d4)](_0x2fb663,_0x572e28[_0x560905(0x21c)][_0x560905(0x2ae)]);return _0x4ed152?this[_0x560905(0x242)]['createInstance'](_0x3658c5,_0x4ed152):null;}[_0x39ee67(0x2a5)](){const _0x6d48a2=_0x39ee67;return this[_0x6d48a2(0x242)][_0x6d48a2(0x1f1)](_0x572e28[_0x6d48a2(0x2ac)])[_0x6d48a2(0x244)](_0x572e28[_0x6d48a2(0x21c)]['UNIVER_BASE'])[_0x6d48a2(0x26c)](_0x18a177=>this[_0x6d48a2(0x242)][_0x6d48a2(0x2a6)](_0x3658c5,_0x18a177));}[_0x39ee67(0x275)](){const _0xdd7c35=_0x39ee67;let _0x5d5e24=this['_injector'][_0xdd7c35(0x1f1)](_0x572e28['ICommandService']);this[_0xdd7c35(0x20d)](this[_0xdd7c35(0x2a3)](this[_0xdd7c35(0x238)][_0xdd7c35(0x2fd)],()=>_0x5d5e24[_0xdd7c35(0x2a8)](_0x3d11ef=>{const _0x5e212c=_0xdd7c35;if(_0x3d11ef['id']!==_0x145166[_0x5e212c(0x299)]['id'])return;let {unitId:_0x14f616,table:_0x4d7bfb,index:_0x1d61a1}=_0x3d11ef['params'],_0x273a50=this[_0x5e212c(0x2e2)](_0x14f616);if(!_0x273a50)return;let _0x520818={'base':_0x273a50,'table':_0x4d7bfb,'index':_0x1d61a1};this['fireEvent'](this[_0x5e212c(0x238)][_0x5e212c(0x2fd)],_0x520818);}))),this[_0xdd7c35(0x20d)](this['registerEventHandler'](this['Event'][_0xdd7c35(0x294)],()=>_0x5d5e24['onCommandExecuted'](_0x41ee44=>{const _0x2e6a62=_0xdd7c35;if(_0x41ee44['id']!==_0x145166[_0x2e6a62(0x288)]['id'])return;let {unitId:_0x33a144,tableId:_0xc3890c,field:_0x3a690d,index:_0x2f77a3,viewIndexes:_0x3041cc}=_0x41ee44[_0x2e6a62(0x219)],_0x59614e=this[_0x2e6a62(0x2e2)](_0x33a144);if(!_0x59614e)return;let _0x48b362=_0x59614e[_0x2e6a62(0x24c)](_0xc3890c);if(!_0x48b362)return;let _0x5ec1f0={'base':_0x59614e,'table':_0x48b362,'field':_0x3a690d,'index':_0x2f77a3,'viewIndexes':_0x3041cc};this[_0x2e6a62(0x261)](this['Event']['BaseTableFieldCreated'],_0x5ec1f0);}))),this[_0xdd7c35(0x20d)](this[_0xdd7c35(0x2a3)](this[_0xdd7c35(0x238)]['BaseTableRecordCreated'],()=>_0x5d5e24['onCommandExecuted'](_0x4f4118=>{const _0xaed8a7=_0xdd7c35;var _0x1ea206;if(_0x4f4118['id']!==_0x145166[_0xaed8a7(0x2e7)]['id']&&_0x4f4118['id']!==_0x145166[_0xaed8a7(0x25b)]['id'])return;let _0x225d1c=_0x4f4118[_0xaed8a7(0x219)],{unitId:_0x61bd5b,tableId:_0x42542a}=_0x225d1c,_0x567c74=(_0x1ea206=_0x225d1c[_0xaed8a7(0x2aa)])==null?[_0x225d1c['record']]:_0x1ea206,_0x48c86b=this[_0xaed8a7(0x2e2)](_0x61bd5b);if(!_0x48c86b)return;let _0x126b63=_0x48c86b[_0xaed8a7(0x24c)](_0x42542a);if(!_0x126b63)return;let _0x9f32f9={'base':_0x48c86b,'table':_0x126b63,'records':_0x567c74};this[_0xaed8a7(0x261)](this[_0xaed8a7(0x238)][_0xaed8a7(0x259)],_0x9f32f9);}))),this[_0xdd7c35(0x20d)](this[_0xdd7c35(0x2a3)](this[_0xdd7c35(0x238)][_0xdd7c35(0x2fb)],()=>_0x5d5e24[_0xdd7c35(0x2a8)](_0x34bcf3=>{const _0x4de4e7=_0xdd7c35;if(_0x34bcf3['id']!==_0x145166[_0x4de4e7(0x2ef)]['id'])return;let {unitId:_0x40c42a,tableId:_0x5cb1cf,view:_0x58a205,index:_0x55b217}=_0x34bcf3[_0x4de4e7(0x219)],_0x243916=this[_0x4de4e7(0x2e2)](_0x40c42a);if(!_0x243916)return;let _0x387a2b=_0x243916[_0x4de4e7(0x24c)](_0x5cb1cf);if(!_0x387a2b)return;let _0x29a272={'base':_0x243916,'table':_0x387a2b,'view':_0x58a205,'index':_0x55b217};this['fireEvent'](this[_0x4de4e7(0x238)][_0x4de4e7(0x2fb)],_0x29a272);}))),this['disposeWithMe'](this[_0xdd7c35(0x2a3)](this[_0xdd7c35(0x238)][_0xdd7c35(0x2b6)],()=>_0x5d5e24[_0xdd7c35(0x2a8)](_0x28dfae=>{const _0x204c45=_0xdd7c35;if(_0x28dfae['id']!==_0x145166[_0x204c45(0x29b)]['id'])return;let {unitId:_0x1d834a,tableId:_0x17b12a,recordId:_0x1cd75a,fieldId:_0x195e4f,value:_0x29cf86}=_0x28dfae[_0x204c45(0x219)],_0x506360=this[_0x204c45(0x2e2)](_0x1d834a);if(!_0x506360)return;let _0x2a0bb2=_0x506360[_0x204c45(0x24c)](_0x17b12a);if(!_0x2a0bb2)return;let _0x5542c2=_0x2a0bb2['getFieldById'](_0x195e4f);if(!_0x5542c2)return;let _0x358c04=_0x2a0bb2[_0x204c45(0x24b)](_0x1cd75a);if(!_0x358c04)return;let _0x538d93={'base':_0x506360,'table':_0x2a0bb2,'field':_0x5542c2,'record':_0x358c04,'value':_0x29cf86};this[_0x204c45(0x261)](this[_0x204c45(0x238)][_0x204c45(0x2b6)],_0x538d93);})));}['_initBaseBeforeEvents'](){const _0x261d95=_0x39ee67;let _0x53c825=this[_0x261d95(0x242)][_0x261d95(0x1f1)](_0x572e28[_0x261d95(0x217)]);this['disposeWithMe'](this[_0x261d95(0x2a3)](this[_0x261d95(0x238)]['BeforeBaseTableCreate'],()=>_0x53c825['beforeCommandExecuted'](_0x44b597=>{const _0x40f17a=_0x261d95;if(_0x44b597['id']!==_0x145166['CreateBaseTableCommand']['id'])return;let {unitId:_0x1d5325,table:_0x28fdee,index:_0x56c437}=_0x44b597[_0x40f17a(0x219)],_0x46360e=this[_0x40f17a(0x2e2)](_0x1d5325);if(!_0x46360e)return;let _0x3f223b={'base':_0x46360e,'table':_0x28fdee,'index':_0x56c437};if(this['fireEvent'](this[_0x40f17a(0x238)]['BeforeBaseTableCreate'],_0x3f223b),_0x3f223b[_0x40f17a(0x21d)])throw new _0x572e28['CanceledError']();}))),this[_0x261d95(0x20d)](this[_0x261d95(0x2a3)](this[_0x261d95(0x238)]['BeforeBaseTableFieldCreate'],()=>_0x53c825[_0x261d95(0x22b)](_0xc90442=>{const _0xc4899a=_0x261d95;if(_0xc90442['id']!==_0x145166[_0xc4899a(0x288)]['id'])return;let {unitId:_0x215808,tableId:_0x4ff042,field:_0xfaba4,index:_0x3ee8c4,viewIndexes:_0x514953}=_0xc90442[_0xc4899a(0x219)],_0x53dd6f=this[_0xc4899a(0x2e2)](_0x215808);if(!_0x53dd6f)return;let _0x47f3f2=_0x53dd6f[_0xc4899a(0x24c)](_0x4ff042);if(!_0x47f3f2)return;let _0x2fcf69={'base':_0x53dd6f,'table':_0x47f3f2,'field':_0xfaba4,'index':_0x3ee8c4,'viewIndexes':_0x514953};if(this[_0xc4899a(0x261)](this[_0xc4899a(0x238)][_0xc4899a(0x2ed)],_0x2fcf69),_0x2fcf69[_0xc4899a(0x21d)])throw new _0x572e28[(_0xc4899a(0x30b))]();}))),this['disposeWithMe'](this[_0x261d95(0x2a3)](this[_0x261d95(0x238)]['BeforeBaseTableRecordCreate'],()=>_0x53c825[_0x261d95(0x22b)](_0x22519a=>{const _0x26ff2c=_0x261d95;var _0x4c6b2d;if(_0x22519a['id']!==_0x145166['CreateBaseRecordCommand']['id']&&_0x22519a['id']!==_0x145166[_0x26ff2c(0x25b)]['id'])return;let _0x58b4b5=_0x22519a[_0x26ff2c(0x219)],{unitId:_0x3bcc4a,tableId:_0x1381b7}=_0x58b4b5,_0x15b427=(_0x4c6b2d=_0x58b4b5[_0x26ff2c(0x2aa)])==null?[_0x58b4b5[_0x26ff2c(0x2e5)]]:_0x4c6b2d,_0x3fb4ae=this[_0x26ff2c(0x2e2)](_0x3bcc4a);if(!_0x3fb4ae)return;let _0x26d16b=_0x3fb4ae[_0x26ff2c(0x24c)](_0x1381b7);if(!_0x26d16b)return;let _0xa13ef8={'base':_0x3fb4ae,'table':_0x26d16b,'records':_0x15b427};if(this[_0x26ff2c(0x261)](this[_0x26ff2c(0x238)]['BeforeBaseTableRecordCreate'],_0xa13ef8),_0xa13ef8[_0x26ff2c(0x21d)])throw new _0x572e28[(_0x26ff2c(0x30b))]();}))),this[_0x261d95(0x20d)](this[_0x261d95(0x2a3)](this['Event'][_0x261d95(0x211)],()=>_0x53c825[_0x261d95(0x22b)](_0x334c39=>{const _0x24da7b=_0x261d95;if(_0x334c39['id']!==_0x145166['CreateBaseViewCommand']['id'])return;let {unitId:_0x5181c0,tableId:_0x500709,view:_0x32aee8,index:_0x5e4747}=_0x334c39[_0x24da7b(0x219)],_0x5700a4=this[_0x24da7b(0x2e2)](_0x5181c0);if(!_0x5700a4)return;let _0xf47d05=_0x5700a4[_0x24da7b(0x24c)](_0x500709);if(!_0xf47d05)return;let _0x21c393={'base':_0x5700a4,'table':_0xf47d05,'view':_0x32aee8,'index':_0x5e4747};if(this[_0x24da7b(0x261)](this[_0x24da7b(0x238)][_0x24da7b(0x211)],_0x21c393),_0x21c393[_0x24da7b(0x21d)])throw new _0x572e28[(_0x24da7b(0x30b))]();}))),this['disposeWithMe'](this[_0x261d95(0x2a3)](this[_0x261d95(0x238)][_0x261d95(0x22c)],()=>_0x53c825[_0x261d95(0x22b)](_0xa64886=>{const _0x457363=_0x261d95;if(_0xa64886['id']!==_0x145166[_0x457363(0x29b)]['id'])return;let {unitId:_0x4f0cbf,tableId:_0x30b716,recordId:_0x4280aa,fieldId:_0x331f3f,value:_0x4ad6dc}=_0xa64886['params'],_0x170735=this[_0x457363(0x2e2)](_0x4f0cbf);if(!_0x170735)return;let _0x46ffb6=_0x170735[_0x457363(0x24c)](_0x30b716);if(!_0x46ffb6)return;let _0x1d43c1=_0x46ffb6[_0x457363(0x237)](_0x331f3f);if(!_0x1d43c1)return;let _0xa440e=_0x46ffb6['getRecordById'](_0x4280aa);if(!_0xa440e)return;let _0x40b6a2={'base':_0x170735,'table':_0x46ffb6,'field':_0x1d43c1,'record':_0xa440e,'value':_0x4ad6dc};if(this[_0x457363(0x261)](this[_0x457363(0x238)][_0x457363(0x22c)],_0x40b6a2),_0x40b6a2[_0x457363(0x21d)])throw new _0x572e28[(_0x457363(0x30b))]();})));}};_0x2bcd8a[_0x39ee67(0x250)][_0x39ee67(0x2f4)](_0x5040b6);var _0x2c6a7e=class extends _0x2bcd8a[_0x39ee67(0x207)]{get[_0x39ee67(0x2d5)](){const _0x5635df=_0x39ee67;return _0x572e28[_0x5635df(0x2d5)];}get[_0x39ee67(0x26e)](){const _0x38dc1d=_0x39ee67;return _0x572e28[_0x38dc1d(0x26e)];}get[_0x39ee67(0x2af)](){return _0x572e28['BaseFilterOperator'];}get[_0x39ee67(0x21f)](){return _0x12eef0;}get[_0x39ee67(0x297)](){const _0x24ee6c=_0x39ee67;return _0x572e28[_0x24ee6c(0x297)];}get[_0x39ee67(0x26b)](){const _0x2d32f4=_0x39ee67;return _0x572e28[_0x2d32f4(0x26b)];}};_0x2bcd8a[_0x39ee67(0x207)]['extend'](_0x2c6a7e);var _0x871237=class extends _0x2bcd8a[_0x39ee67(0x28c)]{get[_0x39ee67(0x2fd)](){const _0x3a8085=_0x39ee67;return _0x3a8085(0x2fd);}get[_0x39ee67(0x2a1)](){return'BeforeBaseTableCreate';}get[_0x39ee67(0x294)](){const _0x28c780=_0x39ee67;return _0x28c780(0x294);}get['BeforeBaseTableFieldCreate'](){const _0x3f63a4=_0x39ee67;return _0x3f63a4(0x2ed);}get[_0x39ee67(0x259)](){const _0x25295b=_0x39ee67;return _0x25295b(0x259);}get[_0x39ee67(0x2c1)](){return'BeforeBaseTableRecordCreate';}get['BaseTableViewCreated'](){return'BaseTableViewCreated';}get[_0x39ee67(0x211)](){const _0x4ce25d=_0x39ee67;return _0x4ce25d(0x211);}get[_0x39ee67(0x2b6)](){return'BaseTableCellValueChanged';}get[_0x39ee67(0x22c)](){const _0xc66dad=_0x39ee67;return _0xc66dad(0x22c);}};_0x2bcd8a[_0x39ee67(0x28c)][_0x39ee67(0x2f4)](_0x871237),_0x456617[_0x39ee67(0x21f)]=_0x12eef0,Object[_0x39ee67(0x268)](_0x456617,_0x39ee67(0x243),{'enumerable':!0x0,'get':function(){return _0x3658c5;}}),_0x456617[_0x39ee67(0x2f6)]=_0x1d05b0,_0x456617[_0x39ee67(0x2b0)]=_0x50606e,_0x456617[_0x39ee67(0x2b8)]=_0x32ac25,_0x456617[_0x39ee67(0x26d)]=_0x45fde2,_0x456617[_0x39ee67(0x1ef)]=_0x886f20,_0x456617['FBasesEventNameMixin']=_0x871237,_0x456617[_0x39ee67(0x23b)]=_0x4c086d,_0x456617['resolveBaseFieldValues']=_0x39160d;}));