@univerjs-pro/bases-history 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x24644c=_0x2586;(function(_0x2b5ce6,_0xe54391){const _0x4f766b=_0x2586,_0x63feba=_0x2b5ce6();while(!![]){try{const _0x1a868b=-parseInt(_0x4f766b(0x1c9))/0x1*(parseInt(_0x4f766b(0x1da))/0x2)+-parseInt(_0x4f766b(0x1e0))/0x3*(parseInt(_0x4f766b(0x19e))/0x4)+parseInt(_0x4f766b(0x1f4))/0x5+-parseInt(_0x4f766b(0x200))/0x6*(parseInt(_0x4f766b(0x1e8))/0x7)+-parseInt(_0x4f766b(0x19c))/0x8*(-parseInt(_0x4f766b(0x1be))/0x9)+-parseInt(_0x4f766b(0x1c3))/0xa+parseInt(_0x4f766b(0x1ba))/0xb*(parseInt(_0x4f766b(0x210))/0xc);if(_0x1a868b===_0xe54391)break;else _0x63feba['push'](_0x63feba['shift']());}catch(_0x1b9420){_0x63feba['push'](_0x63feba['shift']());}}}(_0x5d85,0x68ff4),Object[_0x24644c(0x1b1)](exports,Symbol[_0x24644c(0x1f5)],{'value':_0x24644c(0x1ce)}));let e=require('@univerjs-pro/bases'),t=require('@univerjs-pro/edit-history'),n=require('@univerjs-pro/license'),r=require('@univerjs/core');var i=_0x24644c(0x1b4),a=_0x24644c(0x1f2);const o={},s=[_0x24644c(0x21a),_0x24644c(0x1dd),_0x24644c(0x20c),'rowIndex',_0x24644c(0x1d1),_0x24644c(0x1d8),_0x24644c(0x1a6),_0x24644c(0x202)];function _0x5d85(){const _0x1c8bd8=['update','base:view','label','tables','push','44193zkNMIz','isArray','_mutationService','entity','forEach','Module','decorate','RECORD','rowId','FIELD','tableOrder','default','Injector','pluginName','base','colIndex','recordId','28iOIhTi','buildScopedUnitComparison','stableId','fieldOrder','has','DependentOn','3HzHaUT','insert','base:unknown','revision','UniverEditHistoryPlugin','primaryFieldId','toPrimitive','left','4536413FTzyxJ','filter','BASE','resources','version','fieldId','every','delete','_configService','TABLE','1.0.1','length','4101490RwCcNP','toStringTag','base:table','updatedBy','value','UNIVER_BASE','fields','join','string','items','HistoryMutationService','viewId','6AYhnHP','prototype','cellData','some','UnitComparisonAdapterRegistryService','tableId','UnitComparisonEntityType','mutation','VIEW','base:record','flatMap','CELL','viewOrder','records','asRecord','_injector','641988DeDxqh','values','UNIVER_BASES_HISTORY_PLUGIN','Inject','base:field','type','function','UniverInstanceType','updatedAt','base:cell','recordOrder','compose','hasOwnProperty','number','sort','BasesHistoryDiffService','index','entry','24bjElMg','compare','1768808OigCdp','load','locations','iterator','rightData','rowIndex','get','target','colId','indexOf','orderKey','createdAt','symbol','views','params','packageName','path','object','set','defineProperty','IConfigService','raw-table-data','@univerjs-pro/bases-history','registerDependencies','_config','withoutComparisonKeys','keys','bases-history.config','209SRHUaQ','call','map','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1275273AShqZV','leftData','recordComparisonEntries','buildSemanticComparisonItems','kind','1228390BEupIP'];_0x5d85=function(){return _0x1c8bd8;};return _0x5d85();}function c(_0x574530){const _0x35675e=_0x24644c;let _0x2c8f3a=null,_0x21f389=null,_0x186cae=_0x574530[_0x35675e(0x1bc)]((_0x547f7d,_0x33bfe1)=>({'entry':_0x547f7d,'index':_0x33bfe1}))[_0x35675e(0x21e)]((_0x22dcb9,_0x1d67f2)=>_0x22dcb9['entry'][_0x35675e(0x1e3)]-_0x1d67f2[_0x35675e(0x19b)]['revision']||_0x22dcb9[_0x35675e(0x220)]-_0x1d67f2['index']);for(let {entry:_0x1f03e9}of _0x186cae)x(_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)])&&(_0x2c8f3a=_0x2c8f3a===null?_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)]['op']:r['JSON1']['type'][_0x35675e(0x21b)](_0x2c8f3a,_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)]['op']),_0x21f389=_0x1f03e9);if(_0x2c8f3a===null||_0x21f389===null)return[];let _0x160eb2=v(_0x2c8f3a)[_0x35675e(0x1e9)](_0x57dea6=>!u(_0x57dea6)),_0x413a93=h(_0x160eb2,'recordOrder'),_0x5d08d4=h(_0x160eb2,_0x35675e(0x1dd));return _0x160eb2['flatMap']((_0x799b99,_0x4adbd0)=>{const _0x16670f=_0x35675e;let _0x177013=m(_0x799b99[_0x16670f(0x1ae)]);if(!_0x177013)return[];let _0x39c08a=l(_0x799b99,_0x177013);return[{'id':_0x21f389[_0x16670f(0x1e3)]+':'+_0x4adbd0,'kind':_0x39c08a,'label':_0x177013[_0x16670f(0x1c6)],'memberId':_0x21f389['memberId'],'tableId':_0x177013[_0x16670f(0x205)],'viewId':_0x177013[_0x16670f(0x1ff)],'recordId':_0x177013['recordId'],'recordIndex':_0x177013[_0x16670f(0x1d9)]?_0x413a93[_0x16670f(0x1a4)](_0x177013[_0x16670f(0x1d9)]):void 0x0,'removedRecord':_0x39c08a===_0x16670f(0x1ef)?g(_0x799b99,_0x177013):void 0x0,'fieldId':_0x177013['fieldId'],'fieldIndex':_0x177013['fieldId']?_0x5d08d4[_0x16670f(0x1a4)](_0x177013[_0x16670f(0x1ed)]):void 0x0}];});}function l(_0x4c2c89,_0x514e12){const _0x4b6d8d=_0x24644c;if(!f(_0x4c2c89[_0x4b6d8d(0x1ae)],_0x514e12))return'update';let _0x2739c4=Object['prototype'][_0x4b6d8d(0x21c)]['call'](_0x4c2c89[_0x4b6d8d(0x1f8)],'i'),_0x42a2f3=Object[_0x4b6d8d(0x201)][_0x4b6d8d(0x21c)][_0x4b6d8d(0x1bb)](_0x4c2c89[_0x4b6d8d(0x1f8)],'r');return _0x2739c4&&!_0x42a2f3?_0x4b6d8d(0x1e1):_0x42a2f3&&!_0x2739c4?_0x4b6d8d(0x1ef):_0x4b6d8d(0x1c4);}function u(_0x36b460){const _0x453bfe=_0x24644c;return Object[_0x453bfe(0x201)][_0x453bfe(0x21c)][_0x453bfe(0x1bb)](_0x36b460[_0x453bfe(0x1f8)],'i')&&Object['prototype'][_0x453bfe(0x21c)][_0x453bfe(0x1bb)](_0x36b460['value'],'r')&&d(_0x36b460[_0x453bfe(0x1f8)]['i'],_0x36b460[_0x453bfe(0x1f8)]['r']);}function d(_0x1cae98,_0x24e0c3){const _0x467bea=_0x24644c;if(_0x1cae98===_0x24e0c3)return!0x0;if(Array[_0x467bea(0x1ca)](_0x1cae98)||Array[_0x467bea(0x1ca)](_0x24e0c3))return Array[_0x467bea(0x1ca)](_0x1cae98)&&Array[_0x467bea(0x1ca)](_0x24e0c3)&&_0x1cae98[_0x467bea(0x1f3)]===_0x24e0c3[_0x467bea(0x1f3)]&&_0x1cae98[_0x467bea(0x1ee)]((_0x562aa9,_0xac8dc0)=>d(_0x562aa9,_0x24e0c3[_0xac8dc0]));if(!S(_0x1cae98)||!S(_0x24e0c3))return!0x1;let _0x311c43=Object['keys'](_0x1cae98),_0x4df092=Object[_0x467bea(0x1b8)](_0x24e0c3);return _0x311c43[_0x467bea(0x1f3)]===_0x4df092[_0x467bea(0x1f3)]&&_0x311c43[_0x467bea(0x1ee)](_0x3463e5=>Object[_0x467bea(0x201)]['hasOwnProperty'][_0x467bea(0x1bb)](_0x24e0c3,_0x3463e5)&&d(_0x1cae98[_0x3463e5],_0x24e0c3[_0x3463e5]));}function f(_0xd0cf9f,_0x5b2dba){const _0x5d8e2a=_0x24644c;return _0x5b2dba['tableId']?_0x5b2dba[_0x5d8e2a(0x1d9)]&&_0x5b2dba['fieldId']?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x20d),_0x5b2dba[_0x5d8e2a(0x1d9)],'values',_0x5b2dba[_0x5d8e2a(0x1ed)]]):_0x5b2dba[_0x5d8e2a(0x1d9)]?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x20d),_0x5b2dba[_0x5d8e2a(0x1d9)]]):_0x5b2dba['fieldId']?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],'fields',_0x5b2dba[_0x5d8e2a(0x1ed)]]):_0x5b2dba[_0x5d8e2a(0x1ff)]?p(_0xd0cf9f,['tables',_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x1ab),_0x5b2dba[_0x5d8e2a(0x1ff)]]):p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)]]):!0x1;}function p(_0x4d2ae9,_0x2d46ab){const _0x4f4f98=_0x24644c;return _0x4d2ae9[_0x4f4f98(0x1f3)]===_0x2d46ab['length']&&_0x4d2ae9['every']((_0x1ee7c6,_0x4b0b58)=>_0x1ee7c6===_0x2d46ab[_0x4b0b58]);}function m(_0x50ea8b){const _0xb59298=_0x24644c;let _0x516bed=_0x50ea8b['indexOf'](_0xb59298(0x1c7)),_0x1153ea=_0x50ea8b[_0x516bed+0x1];if(_0x516bed<0x0||typeof _0x1153ea!='string')return null;let _0x22e14b=_0x50ea8b[_0x516bed+0x2],_0x1d16ca=_0x50ea8b[_0x516bed+0x3];if(_0x22e14b===_0xb59298(0x20d)&&typeof _0x1d16ca==_0xb59298(0x1fc)){let _0x5c2432=_0x50ea8b[_0x516bed+0x4],_0x5a2168=_0x50ea8b[_0x516bed+0x5];return _0x5c2432===_0xb59298(0x211)&&typeof _0x5a2168==_0xb59298(0x1fc)?{'label':_0xb59298(0x219),'tableId':_0x1153ea,'recordId':_0x1d16ca,'fieldId':_0x5a2168}:_0x5c2432==='updatedAt'||_0x5c2432===_0xb59298(0x1f7)?null:{'label':_0xb59298(0x209),'tableId':_0x1153ea,'recordId':_0x1d16ca};}return _0x22e14b==='fields'&&typeof _0x1d16ca==_0xb59298(0x1fc)?{'label':_0xb59298(0x214),'tableId':_0x1153ea,'fieldId':_0x1d16ca}:_0x22e14b===_0xb59298(0x1ab)&&typeof _0x1d16ca==_0xb59298(0x1fc)?{'label':_0xb59298(0x1c5),'tableId':_0x1153ea,'viewId':_0x1d16ca}:s[_0xb59298(0x203)](_0x5d2a7a=>_0x5d2a7a===_0x22e14b)?null:{'label':_0x22e14b===void 0x0?_0xb59298(0x1f6):_0xb59298(0x1e2),'tableId':_0x1153ea};}function h(_0x534d4b,_0x216c5c){const _0x2850fc=_0x24644c;let _0x32742f=new Map();return _0x534d4b[_0x2850fc(0x1cd)](_0x25f910=>{const _0x11c77a=_0x2850fc;let _0x1c9852=_0x25f910[_0x11c77a(0x1ae)][_0x11c77a(0x1a7)](_0x216c5c),_0x5e5d5b=_0x25f910[_0x11c77a(0x1ae)][_0x1c9852+0x1],_0x187dcc=_0x25f910[_0x11c77a(0x1f8)]['r'];if(_0x1c9852>=0x0&&typeof _0x5e5d5b==_0x11c77a(0x21d)&&typeof _0x187dcc=='string'){_0x32742f[_0x11c77a(0x1b0)](_0x187dcc,_0x5e5d5b);return;}if(_0x1c9852!==_0x25f910['path'][_0x11c77a(0x1f3)]-0x1||!Array['isArray'](_0x187dcc))return;let _0x36b4eb=new Set(Array[_0x11c77a(0x1ca)](_0x25f910[_0x11c77a(0x1f8)]['i'])?_0x25f910[_0x11c77a(0x1f8)]['i']['filter'](_0x50df5a=>typeof _0x50df5a==_0x11c77a(0x1fc)):[]);_0x187dcc[_0x11c77a(0x1cd)]((_0x33cc8c,_0x416916)=>{const _0x531fd4=_0x11c77a;typeof _0x33cc8c=='string'&&!_0x36b4eb['has'](_0x33cc8c)&&_0x32742f[_0x531fd4(0x1b0)](_0x33cc8c,_0x416916);});}),_0x32742f;}function g(_0x397e7b,_0x488118){const _0x119fc7=_0x24644c;if(_0x488118['recordId']&&!_0x488118[_0x119fc7(0x1ed)]&&f(_0x397e7b['path'],_0x488118))return _(_0x397e7b[_0x119fc7(0x1f8)]['r'])?_0x397e7b['value']['r']:void 0x0;}function _0x2586(_0x5ce8d5,_0xd3b482){_0x5ce8d5=_0x5ce8d5-0x19b;const _0x5d85bb=_0x5d85();let _0x25864a=_0x5d85bb[_0x5ce8d5];return _0x25864a;}function _(_0x116056){const _0x5574e9=_0x24644c;return S(_0x116056)&&typeof _0x116056['id']==_0x5574e9(0x1fc)&&S(_0x116056[_0x5574e9(0x211)])&&typeof _0x116056['orderKey']=='string'&&typeof _0x116056[_0x5574e9(0x1a9)]==_0x5574e9(0x21d)&&typeof _0x116056[_0x5574e9(0x218)]==_0x5574e9(0x21d);}function v(_0x469bb0){let _0x275b05=[];return y(_0x469bb0,[],_0x275b05),_0x275b05;}function y(_0x3a422e,_0x59d278,_0x110ec1){const _0x4549ec=_0x24644c;if(!Array[_0x4549ec(0x1ca)](_0x3a422e))return;let _0x5e0859=[];_0x3a422e[_0x4549ec(0x1cd)](_0x465105=>{const _0x5d1d18=_0x4549ec;if(Array[_0x5d1d18(0x1ca)](_0x465105)){y(_0x465105,[..._0x59d278,..._0x5e0859],_0x110ec1);return;}if(b(_0x465105)){_0x110ec1['push']({'path':[..._0x59d278,..._0x5e0859],'value':_0x465105});return;}(typeof _0x465105==_0x5d1d18(0x1fc)||typeof _0x465105==_0x5d1d18(0x21d))&&_0x5e0859[_0x5d1d18(0x1c8)](_0x465105);});}function b(_0x3d003b){const _0x1535d8=_0x24644c;return S(_0x3d003b)&&['i','r','p','d','es','ena','et'][_0x1535d8(0x203)](_0x868b88=>Object[_0x1535d8(0x201)][_0x1535d8(0x21c)][_0x1535d8(0x1bb)](_0x3d003b,_0x868b88));}function x(_0x3c959e){return typeof _0x3c959e=='object'&&!!_0x3c959e&&'op'in _0x3c959e&&Array['isArray'](_0x3c959e['op']);}function S(_0x14776e){const _0x3cc71e=_0x24644c;return typeof _0x14776e==_0x3cc71e(0x1af)&&!!_0x14776e;}function C(_0x1db484,_0x26229b){return function(_0x1d2307,_0x330eab){_0x26229b(_0x1d2307,_0x330eab,_0x1db484);};}function w(_0x246b79,_0x2d7ef2,_0x1cf5ac,_0x1938c4){const _0x1c1c65=_0x24644c;var _0x41697b=arguments[_0x1c1c65(0x1f3)],_0x1e66c5=_0x41697b<0x3?_0x2d7ef2:_0x1938c4===null?_0x1938c4=Object['getOwnPropertyDescriptor'](_0x2d7ef2,_0x1cf5ac):_0x1938c4,_0x457901;if(typeof Reflect==_0x1c1c65(0x1af)&&typeof Reflect['decorate']==_0x1c1c65(0x216))_0x1e66c5=Reflect[_0x1c1c65(0x1cf)](_0x246b79,_0x2d7ef2,_0x1cf5ac,_0x1938c4);else{for(var _0x358914=_0x246b79[_0x1c1c65(0x1f3)]-0x1;_0x358914>=0x0;_0x358914--)(_0x457901=_0x246b79[_0x358914])&&(_0x1e66c5=(_0x41697b<0x3?_0x457901(_0x1e66c5):_0x41697b>0x3?_0x457901(_0x2d7ef2,_0x1cf5ac,_0x1e66c5):_0x457901(_0x2d7ef2,_0x1cf5ac))||_0x1e66c5);}return _0x41697b>0x3&&_0x1e66c5&&Object['defineProperty'](_0x2d7ef2,_0x1cf5ac,_0x1e66c5),_0x1e66c5;}let T=class{constructor(_0x54b748){this['_mutationService']=_0x54b748;}async['compare'](_0x707f0d,_0x35306b){const _0x308f23=_0x24644c;return c(await this[_0x308f23(0x1cb)][_0x308f23(0x19f)](_0x707f0d,_0x35306b));}};T=w([C(0x0,(0x0,r['Inject'])(t[_0x24644c(0x1fe)]))],T);function E(_0x4f8d3e){'@babel/helpers - typeof';const _0x54cd2c=_0x24644c;return E=typeof Symbol==_0x54cd2c(0x216)&&typeof Symbol[_0x54cd2c(0x1a1)]==_0x54cd2c(0x1aa)?function(_0x77fe8){return typeof _0x77fe8;}:function(_0x4417b0){const _0x239277=_0x54cd2c;return _0x4417b0&&typeof Symbol==_0x239277(0x216)&&_0x4417b0['constructor']===Symbol&&_0x4417b0!==Symbol['prototype']?_0x239277(0x1aa):typeof _0x4417b0;},E(_0x4f8d3e);}function D(_0x1d42b5,_0x32d4fd){const _0x107d26=_0x24644c;if(E(_0x1d42b5)!=_0x107d26(0x1af)||!_0x1d42b5)return _0x1d42b5;var _0x12e400=_0x1d42b5[Symbol[_0x107d26(0x1e6)]];if(_0x12e400!==void 0x0){var _0x2d6ed4=_0x12e400[_0x107d26(0x1bb)](_0x1d42b5,_0x32d4fd||_0x107d26(0x1d4));if(E(_0x2d6ed4)!='object')return _0x2d6ed4;throw TypeError(_0x107d26(0x1bd));}return(_0x32d4fd===_0x107d26(0x1fc)?String:Number)(_0x1d42b5);}function O(_0x352328){const _0x5ebea7=_0x24644c;var _0x4aea86=D(_0x352328,_0x5ebea7(0x1fc));return E(_0x4aea86)==_0x5ebea7(0x1aa)?_0x4aea86:_0x4aea86+'';}function k(_0x3274ef,_0x543e8a,_0x1375bd){const _0x283ee2=_0x24644c;return(_0x543e8a=O(_0x543e8a))in _0x3274ef?Object[_0x283ee2(0x1b1)](_0x3274ef,_0x543e8a,{'value':_0x1375bd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3274ef[_0x543e8a]=_0x1375bd,_0x3274ef;}const A=['rev','createdAt',_0x24644c(0x218)],j=[t[_0x24644c(0x206)]['BASE'],t['UnitComparisonEntityType']['TABLE'],t[_0x24644c(0x206)][_0x24644c(0x1d2)],t['UnitComparisonEntityType'][_0x24644c(0x1d0)],t['UnitComparisonEntityType'][_0x24644c(0x208)],t[_0x24644c(0x206)][_0x24644c(0x20b)]],M=(0x0,t[_0x24644c(0x1b7)])(_0x24644c(0x1fa),_0x24644c(0x1dd),_0x24644c(0x20d),'recordOrder',_0x24644c(0x1ab),_0x24644c(0x20c),_0x24644c(0x202),_0x24644c(0x1a6),_0x24644c(0x1d8),'rowId',_0x24644c(0x1a3),...A);var N=class{constructor(){const _0x2dc08b=_0x24644c;k(this,_0x2dc08b(0x215),r[_0x2dc08b(0x217)]['UNIVER_BASE']);}[_0x24644c(0x19d)](_0x33b3ec){const _0x2fed97=_0x24644c;let _0x318584=(0x0,t['asRecord'])(_0x33b3ec[_0x2fed97(0x1bf)]),_0x51f883=(0x0,t['asRecord'])(_0x33b3ec[_0x2fed97(0x1a2)]),_0x32c1b2=(0x0,t[_0x2fed97(0x20e)])(_0x318584==null?void 0x0:_0x318584[_0x2fed97(0x1c7)]),_0x2622c5=(0x0,t[_0x2fed97(0x20e)])(_0x51f883==null?void 0x0:_0x51f883['tables']),_0x1c79df=new Set([...Object[_0x2fed97(0x1b8)](_0x32c1b2??{}),...Object[_0x2fed97(0x1b8)](_0x2622c5??{})]),_0x12b4a8=(0x0,t[_0x2fed97(0x1c0)])(_0x32c1b2,_0x318584==null?void 0x0:_0x318584[_0x2fed97(0x1d3)],M),_0x49d6b9=(0x0,t['recordComparisonEntries'])(_0x2622c5,_0x51f883==null?void 0x0:_0x51f883['tableOrder'],M),_0x43d1fb=[...(0x0,t[_0x2fed97(0x1c1)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1ea)],'left':_0x318584===void 0x0?[]:[{'stableId':_0x2fed97(0x1d7),'position':0x0,'value':(0x0,t[_0x2fed97(0x1b7)])('tables',_0x2fed97(0x1d3),_0x2fed97(0x1eb),...A)(_0x318584)}],'right':_0x51f883===void 0x0?[]:[{'stableId':_0x2fed97(0x1d7),'position':0x0,'value':(0x0,t[_0x2fed97(0x1b7)])(_0x2fed97(0x1c7),_0x2fed97(0x1d3),_0x2fed97(0x1eb),...A)(_0x51f883)}]}),...(0x0,t[_0x2fed97(0x1c1)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1f1)],'left':_0x12b4a8,'right':_0x49d6b9}),...[..._0x1c79df][_0x2fed97(0x20a)](_0x12dbfb=>P(_0x12dbfb,_0x32c1b2,_0x2622c5))],_0x37a1a0=(0x0,t[_0x2fed97(0x1db)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1f1)],'items':_0x43d1fb,'left':_0x12b4a8,'right':_0x49d6b9});return{'items':_0x37a1a0[_0x2fed97(0x1fd)],'supportedEntityTypes':j,'scopes':_0x37a1a0['scopes'],'productContext':{'type':r['UniverInstanceType'][_0x2fed97(0x1f9)],'visualProjection':_0x2fed97(0x1b3)}};}};function P(_0x50909e,_0x176966,_0x2e6e6d){const _0x346ede=_0x24644c;let _0x2c698c=(0x0,t[_0x346ede(0x20e)])(_0x176966==null?void 0x0:_0x176966[_0x50909e])??{},_0x20f72f=(0x0,t[_0x346ede(0x20e)])(_0x2e6e6d==null?void 0x0:_0x2e6e6d[_0x50909e])??{},_0x17ea0e=(0x0,t[_0x346ede(0x20e)])(_0x2c698c[_0x346ede(0x1fa)]),_0x156bd0=(0x0,t[_0x346ede(0x20e)])(_0x20f72f['fields']),_0x6ec299=(0x0,t[_0x346ede(0x20e)])(_0x2c698c[_0x346ede(0x20d)]),_0x19e878=(0x0,t[_0x346ede(0x20e)])(_0x20f72f[_0x346ede(0x20d)]);return[...F(t[_0x346ede(0x206)][_0x346ede(0x1d2)],_0x50909e,_0x17ea0e,_0x156bd0,_0x2c698c['fieldOrder'],_0x20f72f[_0x346ede(0x1dd)],(0x0,t[_0x346ede(0x1b7)])(...A)),...F(t['UnitComparisonEntityType'][_0x346ede(0x1d0)],_0x50909e,_0x6ec299,_0x19e878,_0x2c698c[_0x346ede(0x21a)],_0x20f72f[_0x346ede(0x21a)],(0x0,t[_0x346ede(0x1b7)])(_0x346ede(0x211),_0x346ede(0x1a8),...A)),...F(t[_0x346ede(0x206)][_0x346ede(0x208)],_0x50909e,_0x2c698c['views'],_0x20f72f[_0x346ede(0x1ab)],_0x2c698c['viewOrder'],_0x20f72f[_0x346ede(0x20c)],(0x0,t['withoutComparisonKeys'])(_0x346ede(0x1a8),...A)),...I(_0x50909e,_0x17ea0e,_0x156bd0,_0x6ec299,_0x19e878,_0x2c698c['fieldOrder'],_0x20f72f[_0x346ede(0x1dd)],_0x2c698c[_0x346ede(0x21a)],_0x20f72f['recordOrder'],_0x2c698c[_0x346ede(0x1e5)],_0x20f72f[_0x346ede(0x1e5)])];}function F(_0x42f183,_0x1db681,_0x111039,_0x3fabaa,_0x42b04b,_0x13afe5,_0x40f389){const _0x4fb86f=_0x24644c;return(0x0,t['buildSemanticComparisonItems'])({'entityType':_0x42f183,'parentStableId':_0x1db681,'left':(0x0,t['recordComparisonEntries'])(_0x111039,_0x42b04b,_0x40f389),'right':(0x0,t[_0x4fb86f(0x1c0)])(_0x3fabaa,_0x13afe5,_0x40f389)});}function I(_0x1dcde6,_0x44f4a3,_0x31bf2e,_0x23ac72,_0x3f8504,_0x4cadc0,_0x234890,_0x41c801,_0x5c7681,_0x4ddf03,_0x1f4869){const _0x4b2342=_0x24644c;let _0x44834b=R(_0x44f4a3,_0x23ac72,_0x4cadc0,_0x41c801,_0x4ddf03),_0x1d6abe=R(_0x31bf2e,_0x3f8504,_0x234890,_0x5c7681,_0x1f4869),_0x3e53fc=new Map(_0x44834b[_0x4b2342(0x1bc)](_0x4a279c=>[_0x4a279c['stableId'],_0x4a279c])),_0x17b1af=new Map(_0x1d6abe[_0x4b2342(0x1bc)](_0x487cd5=>[_0x487cd5[_0x4b2342(0x1dc)],_0x487cd5]));return(0x0,t[_0x4b2342(0x1c1)])({'entityType':t[_0x4b2342(0x206)][_0x4b2342(0x20b)],'parentStableId':_0x1dcde6,'left':_0x44834b,'right':_0x1d6abe})['map'](_0x2ac1de=>({..._0x2ac1de,'locations':{'left':L(_0x2ac1de[_0x4b2342(0x1a0)][_0x4b2342(0x1e7)],_0x3e53fc[_0x4b2342(0x1a4)](_0x2ac1de[_0x4b2342(0x1dc)]),_0x1dcde6),'right':L(_0x2ac1de[_0x4b2342(0x1a0)]['right'],_0x17b1af['get'](_0x2ac1de['stableId']),_0x1dcde6)}}));}function L(_0x15ea0f,_0x4ab336,_0x1435cc){const _0x339049=_0x24644c;if(_0x15ea0f===null||_0x4ab336===void 0x0)return null;let _0xdbe945=_0x15ea0f[_0x339049(0x1a5)];return(_0xdbe945==null?void 0x0:_0xdbe945[_0x339049(0x1c2)])===_0x339049(0x1cc)?{..._0x15ea0f,'parentStableId':_0x4ab336['recordId'],'target':{..._0xdbe945,'kind':'base-cell','tableId':_0x1435cc,'recordId':_0x4ab336[_0x339049(0x1d9)],'fieldId':_0x4ab336[_0x339049(0x1ed)]}}:_0x15ea0f;}function R(_0x46837f,_0x2300e4,_0x51c8ff,_0x46fe61,_0x373a48){let _0x4f75bb=z(_0x46837f,_0x51c8ff);return z(_0x2300e4,_0x46fe61)['flatMap']((_0x26f753,_0x5b4d3c)=>{const _0x1f2295=_0x2586;var _0x1e9663;let _0x25c07c=(0x0,t[_0x1f2295(0x20e)])((_0x1e9663=(0x0,t[_0x1f2295(0x20e)])(_0x2300e4==null?void 0x0:_0x2300e4[_0x26f753]))==null?void 0x0:_0x1e9663[_0x1f2295(0x211)]);if(_0x25c07c===void 0x0)return[];let _0x4d59b9=typeof _0x373a48==_0x1f2295(0x1fc)?_0x25c07c[_0x373a48]:void 0x0,_0x3c9f2c=typeof _0x4d59b9==_0x1f2295(0x1fc)||typeof _0x4d59b9=='number'?String(_0x4d59b9):void 0x0;return _0x4f75bb[_0x1f2295(0x20a)]((_0x9b142e,_0x15ceff)=>{const _0x1a58f6=_0x1f2295;var _0x27b77e;return _0x9b142e in _0x25c07c?[{'stableId':_0x26f753+':'+_0x9b142e,'recordId':_0x26f753,'fieldId':_0x9b142e,'position':_0x5b4d3c*Math['max'](0x1,_0x4f75bb[_0x1a58f6(0x1f3)])+_0x15ceff,'displayName':[_0x3c9f2c,(_0x27b77e=(0x0,t[_0x1a58f6(0x20e)])(_0x46837f==null?void 0x0:_0x46837f[_0x9b142e]))==null?void 0x0:_0x27b77e['name']][_0x1a58f6(0x1e9)](_0x16ee70=>typeof _0x16ee70==_0x1a58f6(0x1fc)&&_0x16ee70['length']>0x0)[_0x1a58f6(0x1fb)]('\x20·\x20'),'value':_0x25c07c[_0x9b142e]}]:[];});});}function z(_0x3d3da1,_0x1657a8){const _0x3e0d32=_0x24644c;let _0x19c881=_0x3d3da1??{},_0x1754f6=Array['isArray'](_0x1657a8)?_0x1657a8[_0x3e0d32(0x1e9)](_0x2fc715=>typeof _0x2fc715==_0x3e0d32(0x1fc)&&_0x2fc715 in _0x19c881):[],_0x5a7469=new Set(_0x1754f6);return[..._0x1754f6,...Object[_0x3e0d32(0x1b8)](_0x19c881)[_0x3e0d32(0x1e9)](_0x37df2d=>!_0x5a7469[_0x3e0d32(0x1de)](_0x37df2d))];}let B=class extends r['Plugin']{constructor(_0x32d9fb=o,_0x3492ed,_0x5d527a){const _0x150b32=_0x24644c;super(),this[_0x150b32(0x1b6)]=_0x32d9fb,this[_0x150b32(0x20f)]=_0x3492ed,this[_0x150b32(0x1f0)]=_0x5d527a;let {..._0x586d96}=(0x0,r['merge'])({},o,this[_0x150b32(0x1b6)]);this['_configService']['setConfig'](_0x150b32(0x1b9),_0x586d96);}['onStarting'](){const _0x5846b0=_0x24644c;(0x0,r[_0x5846b0(0x1b5)])(this['_injector'],[[T],[N]]),this['disposeWithMe'](this[_0x5846b0(0x20f)][_0x5846b0(0x1a4)](t[_0x5846b0(0x204)])['register'](this[_0x5846b0(0x20f)][_0x5846b0(0x1a4)](N)));}};k(B,_0x24644c(0x1d6),_0x24644c(0x212)),k(B,_0x24644c(0x1ad),i),k(B,_0x24644c(0x1ec),a),k(B,_0x24644c(0x215),r['UniverInstanceType'][_0x24644c(0x1f9)]),B=w([(0x0,r[_0x24644c(0x1df)])(n['UniverLicensePlugin'],t[_0x24644c(0x1e4)],e['UniverBasesPlugin']),C(0x1,(0x0,r[_0x24644c(0x213)])(r[_0x24644c(0x1d5)])),C(0x2,r[_0x24644c(0x1b2)])],B),Object[_0x24644c(0x1b1)](exports,_0x24644c(0x21f),{'enumerable':!0x0,'get':function(){return T;}}),exports['BasesUnitComparisonAdapter']=N,Object[_0x24644c(0x1b1)](exports,'UniverBasesHistoryPlugin',{'enumerable':!0x0,'get':function(){return B;}});
1
+ const _0x22bd47=_0xe182;(function(_0x3a7589,_0x45e2b1){const _0x5504cb=_0xe182,_0x5f2a1e=_0x3a7589();while(!![]){try{const _0x5d22cd=-parseInt(_0x5504cb(0x11d))/0x1*(parseInt(_0x5504cb(0x170))/0x2)+parseInt(_0x5504cb(0x187))/0x3+parseInt(_0x5504cb(0x12c))/0x4*(parseInt(_0x5504cb(0x145))/0x5)+-parseInt(_0x5504cb(0x150))/0x6*(parseInt(_0x5504cb(0x185))/0x7)+parseInt(_0x5504cb(0x191))/0x8*(parseInt(_0x5504cb(0x18a))/0x9)+parseInt(_0x5504cb(0x10d))/0xa*(parseInt(_0x5504cb(0x13e))/0xb)+parseInt(_0x5504cb(0x14d))/0xc*(parseInt(_0x5504cb(0x190))/0xd);if(_0x5d22cd===_0x45e2b1)break;else _0x5f2a1e['push'](_0x5f2a1e['shift']());}catch(_0x52f5c8){_0x5f2a1e['push'](_0x5f2a1e['shift']());}}}(_0x5e0a,0xbbdff),Object[_0x22bd47(0x192)](exports,Symbol[_0x22bd47(0x130)],{'value':_0x22bd47(0x146)}));let e=require('@univerjs-pro/bases'),t=require('@univerjs-pro/edit-history'),n=require('@univerjs-pro/license'),r=require('@univerjs/core');var i=_0x22bd47(0x125),a=_0x22bd47(0x12f);const o={},s=['recordOrder','fieldOrder',_0x22bd47(0x167),'rowIndex',_0x22bd47(0x11b),_0x22bd47(0x144),'colId',_0x22bd47(0x178)];function c(_0x59c6c5){const _0x567150=_0x22bd47;let _0x551fd6=null,_0x2c154f=null,_0x19db45=_0x59c6c5['map']((_0xf50e03,_0x21d008)=>({'entry':_0xf50e03,'index':_0x21d008}))[_0x567150(0x163)]((_0x3ebb75,_0x473542)=>_0x3ebb75['entry'][_0x567150(0x10f)]-_0x473542[_0x567150(0x169)][_0x567150(0x10f)]||_0x3ebb75[_0x567150(0x194)]-_0x473542[_0x567150(0x194)]);for(let {entry:_0x59265}of _0x19db45)x(_0x59265[_0x567150(0x16b)][_0x567150(0x16e)])&&(_0x551fd6=_0x551fd6===null?_0x59265['mutation'][_0x567150(0x16e)]['op']:r['JSON1']['type'][_0x567150(0x177)](_0x551fd6,_0x59265['mutation']['params']['op']),_0x2c154f=_0x59265);if(_0x551fd6===null||_0x2c154f===null)return[];let _0x181a7e=v(_0x551fd6)[_0x567150(0x127)](_0x15d94c=>!u(_0x15d94c)),_0x1bc000=h(_0x181a7e,_0x567150(0x13b)),_0x14d112=h(_0x181a7e,'fieldOrder');return _0x181a7e[_0x567150(0x17a)]((_0x3506ed,_0x375731)=>{const _0x285b7d=_0x567150;let _0x370da4=m(_0x3506ed[_0x285b7d(0x110)]);if(!_0x370da4)return[];let _0x5155e7=l(_0x3506ed,_0x370da4);return[{'id':_0x2c154f['revision']+':'+_0x375731,'kind':_0x5155e7,'label':_0x370da4[_0x285b7d(0x156)],'memberId':_0x2c154f[_0x285b7d(0x11a)],'tableId':_0x370da4['tableId'],'viewId':_0x370da4[_0x285b7d(0x175)],'recordId':_0x370da4[_0x285b7d(0x12b)],'recordIndex':_0x370da4[_0x285b7d(0x12b)]?_0x1bc000[_0x285b7d(0x161)](_0x370da4[_0x285b7d(0x12b)]):void 0x0,'removedRecord':_0x5155e7===_0x285b7d(0x13c)?g(_0x3506ed,_0x370da4):void 0x0,'fieldId':_0x370da4[_0x285b7d(0x166)],'fieldIndex':_0x370da4['fieldId']?_0x14d112['get'](_0x370da4['fieldId']):void 0x0}];});}function l(_0x575435,_0x1ed452){const _0x56bde8=_0x22bd47;if(!f(_0x575435[_0x56bde8(0x110)],_0x1ed452))return _0x56bde8(0x111);let _0x1369ef=Object[_0x56bde8(0x16f)][_0x56bde8(0x174)]['call'](_0x575435['value'],'i'),_0x2fe7a7=Object[_0x56bde8(0x16f)][_0x56bde8(0x174)]['call'](_0x575435['value'],'r');return _0x1369ef&&!_0x2fe7a7?_0x56bde8(0x120):_0x2fe7a7&&!_0x1369ef?_0x56bde8(0x13c):_0x56bde8(0x111);}function u(_0x4b52c7){const _0x557857=_0x22bd47;return Object[_0x557857(0x16f)][_0x557857(0x174)]['call'](_0x4b52c7[_0x557857(0x117)],'i')&&Object['prototype'][_0x557857(0x174)][_0x557857(0x176)](_0x4b52c7[_0x557857(0x117)],'r')&&d(_0x4b52c7[_0x557857(0x117)]['i'],_0x4b52c7[_0x557857(0x117)]['r']);}function d(_0x21c3cb,_0x32cf9c){const _0x398409=_0x22bd47;if(_0x21c3cb===_0x32cf9c)return!0x0;if(Array[_0x398409(0x147)](_0x21c3cb)||Array['isArray'](_0x32cf9c))return Array[_0x398409(0x147)](_0x21c3cb)&&Array['isArray'](_0x32cf9c)&&_0x21c3cb['length']===_0x32cf9c['length']&&_0x21c3cb[_0x398409(0x12e)]((_0x4e4e40,_0x119ec0)=>d(_0x4e4e40,_0x32cf9c[_0x119ec0]));if(!S(_0x21c3cb)||!S(_0x32cf9c))return!0x1;let _0x5efb13=Object['keys'](_0x21c3cb),_0x52c753=Object['keys'](_0x32cf9c);return _0x5efb13[_0x398409(0x153)]===_0x52c753[_0x398409(0x153)]&&_0x5efb13[_0x398409(0x12e)](_0x8935b8=>Object[_0x398409(0x16f)][_0x398409(0x174)][_0x398409(0x176)](_0x32cf9c,_0x8935b8)&&d(_0x21c3cb[_0x8935b8],_0x32cf9c[_0x8935b8]));}function f(_0x38c375,_0x3156d6){const _0x3d2220=_0x22bd47;return _0x3156d6[_0x3d2220(0x17b)]?_0x3156d6['recordId']&&_0x3156d6[_0x3d2220(0x166)]?p(_0x38c375,['tables',_0x3156d6[_0x3d2220(0x17b)],_0x3d2220(0x17d),_0x3156d6[_0x3d2220(0x12b)],_0x3d2220(0x158),_0x3156d6[_0x3d2220(0x166)]]):_0x3156d6[_0x3d2220(0x12b)]?p(_0x38c375,[_0x3d2220(0x162),_0x3156d6[_0x3d2220(0x17b)],_0x3d2220(0x17d),_0x3156d6[_0x3d2220(0x12b)]]):_0x3156d6[_0x3d2220(0x166)]?p(_0x38c375,['tables',_0x3156d6[_0x3d2220(0x17b)],_0x3d2220(0x17f),_0x3156d6['fieldId']]):_0x3156d6[_0x3d2220(0x175)]?p(_0x38c375,[_0x3d2220(0x162),_0x3156d6[_0x3d2220(0x17b)],_0x3d2220(0x118),_0x3156d6[_0x3d2220(0x175)]]):p(_0x38c375,[_0x3d2220(0x162),_0x3156d6[_0x3d2220(0x17b)]]):!0x1;}function p(_0x5de2cc,_0x3dfef6){const _0x20358c=_0x22bd47;return _0x5de2cc[_0x20358c(0x153)]===_0x3dfef6[_0x20358c(0x153)]&&_0x5de2cc[_0x20358c(0x12e)]((_0x14d32f,_0x112039)=>_0x14d32f===_0x3dfef6[_0x112039]);}function m(_0x1d5840){const _0x439450=_0x22bd47;let _0x115c91=_0x1d5840[_0x439450(0x159)](_0x439450(0x162)),_0x2a8f69=_0x1d5840[_0x115c91+0x1];if(_0x115c91<0x0||typeof _0x2a8f69!=_0x439450(0x17e))return null;let _0x2043d4=_0x1d5840[_0x115c91+0x2],_0x39bec9=_0x1d5840[_0x115c91+0x3];if(_0x2043d4===_0x439450(0x17d)&&typeof _0x39bec9==_0x439450(0x17e)){let _0x19c7e1=_0x1d5840[_0x115c91+0x4],_0x2b13c3=_0x1d5840[_0x115c91+0x5];return _0x19c7e1===_0x439450(0x158)&&typeof _0x2b13c3==_0x439450(0x17e)?{'label':'base:cell','tableId':_0x2a8f69,'recordId':_0x39bec9,'fieldId':_0x2b13c3}:_0x19c7e1===_0x439450(0x188)||_0x19c7e1===_0x439450(0x119)?null:{'label':_0x439450(0x18c),'tableId':_0x2a8f69,'recordId':_0x39bec9};}return _0x2043d4===_0x439450(0x17f)&&typeof _0x39bec9==_0x439450(0x17e)?{'label':_0x439450(0x112),'tableId':_0x2a8f69,'fieldId':_0x39bec9}:_0x2043d4==='views'&&typeof _0x39bec9=='string'?{'label':_0x439450(0x152),'tableId':_0x2a8f69,'viewId':_0x39bec9}:s[_0x439450(0x196)](_0x127afb=>_0x127afb===_0x2043d4)?null:{'label':_0x2043d4===void 0x0?'base:table':_0x439450(0x168),'tableId':_0x2a8f69};}function h(_0x4ae6aa,_0x56f0bb){const _0x4acdc0=_0x22bd47;let _0xbce73d=new Map();return _0x4ae6aa[_0x4acdc0(0x173)](_0x3a3b7f=>{const _0x2e5bb2=_0x4acdc0;let _0x3c4fe0=_0x3a3b7f['path'][_0x2e5bb2(0x159)](_0x56f0bb),_0x28a579=_0x3a3b7f[_0x2e5bb2(0x110)][_0x3c4fe0+0x1],_0x3fa6ce=_0x3a3b7f[_0x2e5bb2(0x117)]['r'];if(_0x3c4fe0>=0x0&&typeof _0x28a579==_0x2e5bb2(0x189)&&typeof _0x3fa6ce==_0x2e5bb2(0x17e)){_0xbce73d['set'](_0x3fa6ce,_0x28a579);return;}if(_0x3c4fe0!==_0x3a3b7f['path'][_0x2e5bb2(0x153)]-0x1||!Array['isArray'](_0x3fa6ce))return;let _0x293783=new Set(Array[_0x2e5bb2(0x147)](_0x3a3b7f[_0x2e5bb2(0x117)]['i'])?_0x3a3b7f[_0x2e5bb2(0x117)]['i'][_0x2e5bb2(0x127)](_0xa4ced7=>typeof _0xa4ced7==_0x2e5bb2(0x17e)):[]);_0x3fa6ce[_0x2e5bb2(0x173)]((_0x345e4b,_0xd5b8fc)=>{const _0x2361fc=_0x2e5bb2;typeof _0x345e4b=='string'&&!_0x293783[_0x2361fc(0x137)](_0x345e4b)&&_0xbce73d[_0x2361fc(0x135)](_0x345e4b,_0xd5b8fc);});}),_0xbce73d;}function g(_0x27c416,_0x3153ad){const _0x52ca2f=_0x22bd47;if(_0x3153ad['recordId']&&!_0x3153ad[_0x52ca2f(0x166)]&&f(_0x27c416[_0x52ca2f(0x110)],_0x3153ad))return _(_0x27c416['value']['r'])?_0x27c416[_0x52ca2f(0x117)]['r']:void 0x0;}function _(_0x1ce398){const _0x47f590=_0x22bd47;return S(_0x1ce398)&&typeof _0x1ce398['id']==_0x47f590(0x17e)&&S(_0x1ce398['values'])&&typeof _0x1ce398[_0x47f590(0x183)]==_0x47f590(0x17e)&&typeof _0x1ce398[_0x47f590(0x122)]==_0x47f590(0x189)&&typeof _0x1ce398[_0x47f590(0x188)]==_0x47f590(0x189);}function v(_0x2d61ad){let _0x41317c=[];return y(_0x2d61ad,[],_0x41317c),_0x41317c;}function _0xe182(_0x361860,_0x521d8a){_0x361860=_0x361860-0x10b;const _0x5e0a68=_0x5e0a();let _0xe1822e=_0x5e0a68[_0x361860];return _0xe1822e;}function y(_0x33a8c2,_0x21f115,_0x14bdcc){const _0xd63fba=_0x22bd47;if(!Array[_0xd63fba(0x147)](_0x33a8c2))return;let _0x189ce1=[];_0x33a8c2[_0xd63fba(0x173)](_0x287bfd=>{const _0x4cab4f=_0xd63fba;if(Array['isArray'](_0x287bfd)){y(_0x287bfd,[..._0x21f115,..._0x189ce1],_0x14bdcc);return;}if(b(_0x287bfd)){_0x14bdcc[_0x4cab4f(0x15c)]({'path':[..._0x21f115,..._0x189ce1],'value':_0x287bfd});return;}(typeof _0x287bfd==_0x4cab4f(0x17e)||typeof _0x287bfd==_0x4cab4f(0x189))&&_0x189ce1[_0x4cab4f(0x15c)](_0x287bfd);});}function b(_0x3e02e8){const _0x175466=_0x22bd47;return S(_0x3e02e8)&&['i','r','p','d','es',_0x175466(0x115),'et'][_0x175466(0x196)](_0x183b8b=>Object[_0x175466(0x16f)][_0x175466(0x174)][_0x175466(0x176)](_0x3e02e8,_0x183b8b));}function x(_0x195549){const _0xae7c49=_0x22bd47;return typeof _0x195549==_0xae7c49(0x14a)&&!!_0x195549&&'op'in _0x195549&&Array['isArray'](_0x195549['op']);}function S(_0x351c96){const _0x135e4d=_0x22bd47;return typeof _0x351c96==_0x135e4d(0x14a)&&!!_0x351c96;}function _0x5e0a(){const _0xa252dc=['target','colIndex','173805DsiuZA','Module','isArray','rightData','Plugin','object','UniverInstanceType','raw-table-data','348VuXUZp','load','UNIVER_BASES_HISTORY_PLUGIN','1602MjTKIL','HistoryMutationService','base:view','length','TABLE','packageName','label','VIEW','values','indexOf','withoutComparisonKeys','colId','push','UniverBasesPlugin','_mutationService','base','rowIndex','get','tables','sort','fieldOrder','RECORD','fieldId','viewOrder','base:unknown','entry','constructor','mutation','decorate','compare','params','prototype','554DGsoyf','scopes','version','forEach','hasOwnProperty','viewId','call','compose','cellData','iterator','flatMap','tableId','max','records','string','fields','keys','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','asRecord','orderKey','_config','11025rBJXMt','name','1658679LTPRou','updatedAt','number','609993qBmsqm','setConfig','base:record','kind','locations','_injector','23621rmDLaL','32QMoNSb','defineProperty','map','index','recordComparisonEntries','some','UnitComparisonEntityType','registerDependencies','60jWdSeE','leftData','revision','path','update','base:field','Inject','default','ena','entity','value','views','updatedBy','memberId','rowId','tableOrder','5315IVQBIb','UNIVER_BASE','toPrimitive','insert','symbol','createdAt','IConfigService','function','@univerjs-pro/bases-history','primaryFieldId','filter','CELL','register','BasesHistoryDiffService','recordId','140JQjmHg','items','every','1.0.2','toStringTag','bases-history.config','left','getOwnPropertyDescriptor','onStarting','set','type','has','FIELD','DependentOn','buildScopedUnitComparison','recordOrder','delete','buildSemanticComparisonItems','1043141vfYOof','stableId','right','_configService','UniverLicensePlugin'];_0x5e0a=function(){return _0xa252dc;};return _0x5e0a();}function C(_0x2f9f3d,_0xd1cad0){return function(_0x34889a,_0x372719){_0xd1cad0(_0x34889a,_0x372719,_0x2f9f3d);};}function w(_0x5572a2,_0x46b09d,_0x358703,_0x392c03){const _0x146229=_0x22bd47;var _0x27548a=arguments['length'],_0x3828c2=_0x27548a<0x3?_0x46b09d:_0x392c03===null?_0x392c03=Object[_0x146229(0x133)](_0x46b09d,_0x358703):_0x392c03,_0x20c686;if(typeof Reflect==_0x146229(0x14a)&&typeof Reflect[_0x146229(0x16c)]==_0x146229(0x124))_0x3828c2=Reflect['decorate'](_0x5572a2,_0x46b09d,_0x358703,_0x392c03);else{for(var _0x1fdca6=_0x5572a2['length']-0x1;_0x1fdca6>=0x0;_0x1fdca6--)(_0x20c686=_0x5572a2[_0x1fdca6])&&(_0x3828c2=(_0x27548a<0x3?_0x20c686(_0x3828c2):_0x27548a>0x3?_0x20c686(_0x46b09d,_0x358703,_0x3828c2):_0x20c686(_0x46b09d,_0x358703))||_0x3828c2);}return _0x27548a>0x3&&_0x3828c2&&Object[_0x146229(0x192)](_0x46b09d,_0x358703,_0x3828c2),_0x3828c2;}let T=class{constructor(_0x3ec7fa){const _0xf7fa0c=_0x22bd47;this[_0xf7fa0c(0x15e)]=_0x3ec7fa;}async[_0x22bd47(0x16d)](_0x320630,_0xca2702){const _0xdfc937=_0x22bd47;return c(await this[_0xdfc937(0x15e)][_0xdfc937(0x14e)](_0x320630,_0xca2702));}};T=w([C(0x0,(0x0,r[_0x22bd47(0x113)])(t[_0x22bd47(0x151)]))],T);function E(_0x51a507){'@babel/helpers - typeof';const _0x486ac0=_0x22bd47;return E=typeof Symbol=='function'&&typeof Symbol[_0x486ac0(0x179)]==_0x486ac0(0x121)?function(_0xfd1a35){return typeof _0xfd1a35;}:function(_0x99d404){const _0x8ed7b0=_0x486ac0;return _0x99d404&&typeof Symbol==_0x8ed7b0(0x124)&&_0x99d404[_0x8ed7b0(0x16a)]===Symbol&&_0x99d404!==Symbol['prototype']?_0x8ed7b0(0x121):typeof _0x99d404;},E(_0x51a507);}function D(_0x39bff0,_0xa744be){const _0x754030=_0x22bd47;if(E(_0x39bff0)!=_0x754030(0x14a)||!_0x39bff0)return _0x39bff0;var _0x3abfa9=_0x39bff0[Symbol[_0x754030(0x11f)]];if(_0x3abfa9!==void 0x0){var _0x15791a=_0x3abfa9[_0x754030(0x176)](_0x39bff0,_0xa744be||_0x754030(0x114));if(E(_0x15791a)!=_0x754030(0x14a))return _0x15791a;throw TypeError(_0x754030(0x181));}return(_0xa744be===_0x754030(0x17e)?String:Number)(_0x39bff0);}function O(_0x4ebc85){const _0x4dd16d=_0x22bd47;var _0x4100c2=D(_0x4ebc85,_0x4dd16d(0x17e));return E(_0x4100c2)==_0x4dd16d(0x121)?_0x4100c2:_0x4100c2+'';}function k(_0xe853be,_0x9e5b6e,_0xbd5ff7){const _0xada573=_0x22bd47;return(_0x9e5b6e=O(_0x9e5b6e))in _0xe853be?Object[_0xada573(0x192)](_0xe853be,_0x9e5b6e,{'value':_0xbd5ff7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe853be[_0x9e5b6e]=_0xbd5ff7,_0xe853be;}const A=['rev',_0x22bd47(0x122),'updatedAt'],j=[t[_0x22bd47(0x10b)]['BASE'],t[_0x22bd47(0x10b)][_0x22bd47(0x154)],t[_0x22bd47(0x10b)][_0x22bd47(0x138)],t[_0x22bd47(0x10b)][_0x22bd47(0x165)],t['UnitComparisonEntityType'][_0x22bd47(0x157)],t['UnitComparisonEntityType'][_0x22bd47(0x128)]],M=(0x0,t[_0x22bd47(0x15a)])(_0x22bd47(0x17f),'fieldOrder','records',_0x22bd47(0x13b),_0x22bd47(0x118),_0x22bd47(0x167),_0x22bd47(0x178),_0x22bd47(0x15b),_0x22bd47(0x144),'rowId',_0x22bd47(0x160),...A);var N=class{constructor(){const _0x48f36d=_0x22bd47;k(this,_0x48f36d(0x136),r['UniverInstanceType'][_0x48f36d(0x11e)]);}['compare'](_0x358c8e){const _0x5cf51e=_0x22bd47;let _0x385349=(0x0,t[_0x5cf51e(0x182)])(_0x358c8e[_0x5cf51e(0x10e)]),_0x1e39d9=(0x0,t[_0x5cf51e(0x182)])(_0x358c8e[_0x5cf51e(0x148)]),_0x46e23=(0x0,t[_0x5cf51e(0x182)])(_0x385349==null?void 0x0:_0x385349[_0x5cf51e(0x162)]),_0x533ad0=(0x0,t[_0x5cf51e(0x182)])(_0x1e39d9==null?void 0x0:_0x1e39d9[_0x5cf51e(0x162)]),_0x5a4c9c=new Set([...Object[_0x5cf51e(0x180)](_0x46e23??{}),...Object['keys'](_0x533ad0??{})]),_0x271b36=(0x0,t['recordComparisonEntries'])(_0x46e23,_0x385349==null?void 0x0:_0x385349[_0x5cf51e(0x11c)],M),_0x42868d=(0x0,t['recordComparisonEntries'])(_0x533ad0,_0x1e39d9==null?void 0x0:_0x1e39d9[_0x5cf51e(0x11c)],M),_0x97d8a=[...(0x0,t[_0x5cf51e(0x13d)])({'entityType':t['UnitComparisonEntityType']['BASE'],'left':_0x385349===void 0x0?[]:[{'stableId':_0x5cf51e(0x15f),'position':0x0,'value':(0x0,t['withoutComparisonKeys'])(_0x5cf51e(0x162),_0x5cf51e(0x11c),'resources',...A)(_0x385349)}],'right':_0x1e39d9===void 0x0?[]:[{'stableId':_0x5cf51e(0x15f),'position':0x0,'value':(0x0,t[_0x5cf51e(0x15a)])('tables',_0x5cf51e(0x11c),'resources',...A)(_0x1e39d9)}]}),...(0x0,t[_0x5cf51e(0x13d)])({'entityType':t[_0x5cf51e(0x10b)][_0x5cf51e(0x154)],'left':_0x271b36,'right':_0x42868d}),...[..._0x5a4c9c][_0x5cf51e(0x17a)](_0x328346=>P(_0x328346,_0x46e23,_0x533ad0))],_0x582938=(0x0,t[_0x5cf51e(0x13a)])({'entityType':t[_0x5cf51e(0x10b)]['TABLE'],'items':_0x97d8a,'left':_0x271b36,'right':_0x42868d});return{'items':_0x582938[_0x5cf51e(0x12d)],'supportedEntityTypes':j,'scopes':_0x582938[_0x5cf51e(0x171)],'productContext':{'type':r[_0x5cf51e(0x14b)][_0x5cf51e(0x11e)],'visualProjection':_0x5cf51e(0x14c)}};}};function P(_0x21ba41,_0x586826,_0x37449d){const _0x244406=_0x22bd47;let _0x5f5996=(0x0,t[_0x244406(0x182)])(_0x586826==null?void 0x0:_0x586826[_0x21ba41])??{},_0x46c8e7=(0x0,t[_0x244406(0x182)])(_0x37449d==null?void 0x0:_0x37449d[_0x21ba41])??{},_0x2b292d=(0x0,t[_0x244406(0x182)])(_0x5f5996[_0x244406(0x17f)]),_0x47f60d=(0x0,t[_0x244406(0x182)])(_0x46c8e7[_0x244406(0x17f)]),_0x22cff3=(0x0,t[_0x244406(0x182)])(_0x5f5996[_0x244406(0x17d)]),_0x5e4dcd=(0x0,t[_0x244406(0x182)])(_0x46c8e7[_0x244406(0x17d)]);return[...F(t[_0x244406(0x10b)]['FIELD'],_0x21ba41,_0x2b292d,_0x47f60d,_0x5f5996[_0x244406(0x164)],_0x46c8e7[_0x244406(0x164)],(0x0,t[_0x244406(0x15a)])(...A)),...F(t[_0x244406(0x10b)][_0x244406(0x165)],_0x21ba41,_0x22cff3,_0x5e4dcd,_0x5f5996[_0x244406(0x13b)],_0x46c8e7['recordOrder'],(0x0,t[_0x244406(0x15a)])(_0x244406(0x158),_0x244406(0x183),...A)),...F(t[_0x244406(0x10b)][_0x244406(0x157)],_0x21ba41,_0x5f5996['views'],_0x46c8e7['views'],_0x5f5996[_0x244406(0x167)],_0x46c8e7[_0x244406(0x167)],(0x0,t[_0x244406(0x15a)])(_0x244406(0x183),...A)),...I(_0x21ba41,_0x2b292d,_0x47f60d,_0x22cff3,_0x5e4dcd,_0x5f5996[_0x244406(0x164)],_0x46c8e7[_0x244406(0x164)],_0x5f5996[_0x244406(0x13b)],_0x46c8e7[_0x244406(0x13b)],_0x5f5996[_0x244406(0x126)],_0x46c8e7[_0x244406(0x126)])];}function F(_0x359308,_0xa5c6d0,_0x5e4402,_0x39fd95,_0x146258,_0x28291b,_0x406cce){const _0x289bb6=_0x22bd47;return(0x0,t['buildSemanticComparisonItems'])({'entityType':_0x359308,'parentStableId':_0xa5c6d0,'left':(0x0,t['recordComparisonEntries'])(_0x5e4402,_0x146258,_0x406cce),'right':(0x0,t[_0x289bb6(0x195)])(_0x39fd95,_0x28291b,_0x406cce)});}function I(_0x574fa2,_0xe5623,_0x4655a5,_0x4405cb,_0x566228,_0xc84eea,_0x13e783,_0x44b8f2,_0x29d6d4,_0x314b80,_0x2d60fe){const _0x47ff2b=_0x22bd47;let _0x35e660=R(_0xe5623,_0x4405cb,_0xc84eea,_0x44b8f2,_0x314b80),_0xa0eecc=R(_0x4655a5,_0x566228,_0x13e783,_0x29d6d4,_0x2d60fe),_0x3df367=new Map(_0x35e660[_0x47ff2b(0x193)](_0x3a48bc=>[_0x3a48bc[_0x47ff2b(0x13f)],_0x3a48bc])),_0x18ee32=new Map(_0xa0eecc['map'](_0x181b53=>[_0x181b53[_0x47ff2b(0x13f)],_0x181b53]));return(0x0,t[_0x47ff2b(0x13d)])({'entityType':t[_0x47ff2b(0x10b)]['CELL'],'parentStableId':_0x574fa2,'left':_0x35e660,'right':_0xa0eecc})[_0x47ff2b(0x193)](_0x5d3845=>({..._0x5d3845,'locations':{'left':L(_0x5d3845[_0x47ff2b(0x18e)][_0x47ff2b(0x132)],_0x3df367[_0x47ff2b(0x161)](_0x5d3845[_0x47ff2b(0x13f)]),_0x574fa2),'right':L(_0x5d3845[_0x47ff2b(0x18e)][_0x47ff2b(0x140)],_0x18ee32[_0x47ff2b(0x161)](_0x5d3845[_0x47ff2b(0x13f)]),_0x574fa2)}}));}function L(_0xc76bd6,_0x300db7,_0x30fcca){const _0x44387f=_0x22bd47;if(_0xc76bd6===null||_0x300db7===void 0x0)return null;let _0x53480b=_0xc76bd6[_0x44387f(0x143)];return(_0x53480b==null?void 0x0:_0x53480b[_0x44387f(0x18d)])===_0x44387f(0x116)?{..._0xc76bd6,'parentStableId':_0x300db7['recordId'],'target':{..._0x53480b,'kind':'base-cell','tableId':_0x30fcca,'recordId':_0x300db7[_0x44387f(0x12b)],'fieldId':_0x300db7[_0x44387f(0x166)]}}:_0xc76bd6;}function R(_0x3552ae,_0x2017cb,_0xf6d0c9,_0x18a3fb,_0xcd4198){const _0xe908ed=_0x22bd47;let _0x53e6ff=z(_0x3552ae,_0xf6d0c9);return z(_0x2017cb,_0x18a3fb)[_0xe908ed(0x17a)]((_0x18f285,_0x37783c)=>{const _0x327cca=_0xe908ed;var _0x3ac7bc;let _0x5c6dbd=(0x0,t[_0x327cca(0x182)])((_0x3ac7bc=(0x0,t['asRecord'])(_0x2017cb==null?void 0x0:_0x2017cb[_0x18f285]))==null?void 0x0:_0x3ac7bc['values']);if(_0x5c6dbd===void 0x0)return[];let _0x4747f2=typeof _0xcd4198==_0x327cca(0x17e)?_0x5c6dbd[_0xcd4198]:void 0x0,_0x271e01=typeof _0x4747f2==_0x327cca(0x17e)||typeof _0x4747f2=='number'?String(_0x4747f2):void 0x0;return _0x53e6ff[_0x327cca(0x17a)]((_0x30c519,_0x2c4339)=>{const _0x4fd979=_0x327cca;var _0x4c75a5;return _0x30c519 in _0x5c6dbd?[{'stableId':_0x18f285+':'+_0x30c519,'recordId':_0x18f285,'fieldId':_0x30c519,'position':_0x37783c*Math[_0x4fd979(0x17c)](0x1,_0x53e6ff[_0x4fd979(0x153)])+_0x2c4339,'displayName':[_0x271e01,(_0x4c75a5=(0x0,t['asRecord'])(_0x3552ae==null?void 0x0:_0x3552ae[_0x30c519]))==null?void 0x0:_0x4c75a5[_0x4fd979(0x186)]][_0x4fd979(0x127)](_0x2fdb7e=>typeof _0x2fdb7e==_0x4fd979(0x17e)&&_0x2fdb7e[_0x4fd979(0x153)]>0x0)['join']('\x20·\x20'),'value':_0x5c6dbd[_0x30c519]}]:[];});});}function z(_0x390743,_0x4fe4b2){const _0x5ca3ef=_0x22bd47;let _0x47ee33=_0x390743??{},_0xf20745=Array['isArray'](_0x4fe4b2)?_0x4fe4b2['filter'](_0x2bf523=>typeof _0x2bf523==_0x5ca3ef(0x17e)&&_0x2bf523 in _0x47ee33):[],_0x40b9bf=new Set(_0xf20745);return[..._0xf20745,...Object[_0x5ca3ef(0x180)](_0x47ee33)[_0x5ca3ef(0x127)](_0x54ce3e=>!_0x40b9bf[_0x5ca3ef(0x137)](_0x54ce3e))];}let B=class extends r[_0x22bd47(0x149)]{constructor(_0x59f096=o,_0x2c741c,_0x5c0dee){const _0x1d60f6=_0x22bd47;super(),this[_0x1d60f6(0x184)]=_0x59f096,this[_0x1d60f6(0x18f)]=_0x2c741c,this[_0x1d60f6(0x141)]=_0x5c0dee;let {..._0x1309b4}=(0x0,r['merge'])({},o,this['_config']);this['_configService'][_0x1d60f6(0x18b)](_0x1d60f6(0x131),_0x1309b4);}[_0x22bd47(0x134)](){const _0x418b71=_0x22bd47;(0x0,r[_0x418b71(0x10c)])(this[_0x418b71(0x18f)],[[T],[N]]),this['disposeWithMe'](this[_0x418b71(0x18f)][_0x418b71(0x161)](t['UnitComparisonAdapterRegistryService'])[_0x418b71(0x129)](this[_0x418b71(0x18f)][_0x418b71(0x161)](N)));}};k(B,'pluginName',_0x22bd47(0x14f)),k(B,_0x22bd47(0x155),i),k(B,_0x22bd47(0x172),a),k(B,_0x22bd47(0x136),r['UniverInstanceType']['UNIVER_BASE']),B=w([(0x0,r[_0x22bd47(0x139)])(n[_0x22bd47(0x142)],t['UniverEditHistoryPlugin'],e[_0x22bd47(0x15d)]),C(0x1,(0x0,r[_0x22bd47(0x113)])(r['Injector'])),C(0x2,r[_0x22bd47(0x123)])],B),Object[_0x22bd47(0x192)](exports,_0x22bd47(0x12a),{'enumerable':!0x0,'get':function(){return T;}}),exports['BasesUnitComparisonAdapter']=N,Object['defineProperty'](exports,'UniverBasesHistoryPlugin',{'enumerable':!0x0,'get':function(){return B;}});
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x252267=_0x576a;(function(_0x1e6ff1,_0x3e737f){const _0xd5dbf3=_0x576a,_0x1f65fd=_0x1e6ff1();while(!![]){try{const _0x135de2=parseInt(_0xd5dbf3(0x221))/0x1+parseInt(_0xd5dbf3(0x223))/0x2+parseInt(_0xd5dbf3(0x23e))/0x3*(-parseInt(_0xd5dbf3(0x237))/0x4)+parseInt(_0xd5dbf3(0x212))/0x5*(-parseInt(_0xd5dbf3(0x220))/0x6)+-parseInt(_0xd5dbf3(0x23a))/0x7*(parseInt(_0xd5dbf3(0x200))/0x8)+-parseInt(_0xd5dbf3(0x1e3))/0x9*(parseInt(_0xd5dbf3(0x20c))/0xa)+parseInt(_0xd5dbf3(0x235))/0xb;if(_0x135de2===_0x3e737f)break;else _0x1f65fd['push'](_0x1f65fd['shift']());}catch(_0xdce889){_0x1f65fd['push'](_0x1f65fd['shift']());}}}(_0x3dfa,0x1d6ce));import{UniverBasesPlugin as _0x254873}from'@univerjs-pro/bases';import{HistoryMutationService as _0x4082b9,UnitComparisonAdapterRegistryService as _0x2bfb0c,UnitComparisonEntityType as _0x43950f,UniverEditHistoryPlugin as _0x4f2d4e,asRecord as _0x4e6452,buildScopedUnitComparison as _0x2cdea,buildSemanticComparisonItems as _0x5e8681,recordComparisonEntries as _0x525a8f,withoutComparisonKeys as _0x1b6530}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0x23e6e8}from'@univerjs-pro/license';import{DependentOn as _0x336f9b,IConfigService as _0x19ae82,Inject as _0x2de638,Injector as _0xb40961,JSON1 as _0x227244,Plugin as _0x1ff602,UniverInstanceType as _0x420197,merge as _0x3a6efd,registerDependencies as _0xd25181}from'@univerjs/core';var b='@univerjs-pro/bases-history',x=_0x252267(0x1e1);const S={},ee=[_0x252267(0x215),'fieldOrder',_0x252267(0x24a),_0x252267(0x24b),'rowId',_0x252267(0x236),'colId',_0x252267(0x233)];function C(_0x266012){const _0x5e7548=_0x252267;let _0x21726d=null,_0x3dfcd=null,_0x47d041=_0x266012[_0x5e7548(0x1dd)]((_0x24ef12,_0x35efc7)=>({'entry':_0x24ef12,'index':_0x35efc7}))[_0x5e7548(0x1e8)]((_0x486878,_0x4026de)=>_0x486878[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]-_0x4026de[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]||_0x486878[_0x5e7548(0x245)]-_0x4026de[_0x5e7548(0x245)]);for(let {entry:_0x4ab5ad}of _0x47d041)P(_0x4ab5ad[_0x5e7548(0x22c)][_0x5e7548(0x207)])&&(_0x21726d=_0x21726d===null?_0x4ab5ad['mutation'][_0x5e7548(0x207)]['op']:_0x227244[_0x5e7548(0x226)][_0x5e7548(0x1df)](_0x21726d,_0x4ab5ad[_0x5e7548(0x22c)]['params']['op']),_0x3dfcd=_0x4ab5ad);if(_0x21726d===null||_0x3dfcd===null)return[];let _0x1144c1=j(_0x21726d)[_0x5e7548(0x1f2)](_0x2aab8e=>!te(_0x2aab8e)),_0x303e9b=k(_0x1144c1,_0x5e7548(0x215)),_0x262573=k(_0x1144c1,_0x5e7548(0x20f));return _0x1144c1[_0x5e7548(0x1fb)]((_0x32ee15,_0x5f267a)=>{const _0x33fb96=_0x5e7548;let _0x2be54e=O(_0x32ee15[_0x33fb96(0x1eb)]);if(!_0x2be54e)return[];let _0x3ea9de=w(_0x32ee15,_0x2be54e);return[{'id':_0x3dfcd['revision']+':'+_0x5f267a,'kind':_0x3ea9de,'label':_0x2be54e[_0x33fb96(0x21e)],'memberId':_0x3dfcd['memberId'],'tableId':_0x2be54e[_0x33fb96(0x1f4)],'viewId':_0x2be54e[_0x33fb96(0x246)],'recordId':_0x2be54e[_0x33fb96(0x253)],'recordIndex':_0x2be54e[_0x33fb96(0x253)]?_0x303e9b['get'](_0x2be54e['recordId']):void 0x0,'removedRecord':_0x3ea9de===_0x33fb96(0x1f6)?ne(_0x32ee15,_0x2be54e):void 0x0,'fieldId':_0x2be54e[_0x33fb96(0x1ef)],'fieldIndex':_0x2be54e['fieldId']?_0x262573[_0x33fb96(0x208)](_0x2be54e[_0x33fb96(0x1ef)]):void 0x0}];});}function _0x576a(_0x4fa944,_0x948f24){_0x4fa944=_0x4fa944-0x1dd;const _0x3dfa30=_0x3dfa();let _0x576a18=_0x3dfa30[_0x4fa944];return _0x576a18;}function w(_0x2303f1,_0x4f9c4d){const _0x41a8c2=_0x252267;if(!E(_0x2303f1[_0x41a8c2(0x1eb)],_0x4f9c4d))return _0x41a8c2(0x23b);let _0x5e77c2=Object['prototype'][_0x41a8c2(0x234)][_0x41a8c2(0x1e4)](_0x2303f1[_0x41a8c2(0x1f0)],'i'),_0x3d06bd=Object['prototype'][_0x41a8c2(0x234)]['call'](_0x2303f1[_0x41a8c2(0x1f0)],'r');return _0x5e77c2&&!_0x3d06bd?_0x41a8c2(0x250):_0x3d06bd&&!_0x5e77c2?_0x41a8c2(0x1f6):'update';}function te(_0x3354ef){const _0x379989=_0x252267;return Object['prototype'][_0x379989(0x234)][_0x379989(0x1e4)](_0x3354ef[_0x379989(0x1f0)],'i')&&Object[_0x379989(0x243)]['hasOwnProperty'][_0x379989(0x1e4)](_0x3354ef['value'],'r')&&T(_0x3354ef['value']['i'],_0x3354ef[_0x379989(0x1f0)]['r']);}function T(_0x16ce31,_0x5e7f1c){const _0x3cabb7=_0x252267;if(_0x16ce31===_0x5e7f1c)return!0x0;if(Array[_0x3cabb7(0x1fc)](_0x16ce31)||Array[_0x3cabb7(0x1fc)](_0x5e7f1c))return Array['isArray'](_0x16ce31)&&Array[_0x3cabb7(0x1fc)](_0x5e7f1c)&&_0x16ce31['length']===_0x5e7f1c[_0x3cabb7(0x210)]&&_0x16ce31[_0x3cabb7(0x249)]((_0x1197dc,_0xec7e78)=>T(_0x1197dc,_0x5e7f1c[_0xec7e78]));if(!F(_0x16ce31)||!F(_0x5e7f1c))return!0x1;let _0x1a81e3=Object[_0x3cabb7(0x244)](_0x16ce31),_0x11209f=Object[_0x3cabb7(0x244)](_0x5e7f1c);return _0x1a81e3[_0x3cabb7(0x210)]===_0x11209f[_0x3cabb7(0x210)]&&_0x1a81e3['every'](_0x24725f=>Object[_0x3cabb7(0x243)][_0x3cabb7(0x234)]['call'](_0x5e7f1c,_0x24725f)&&T(_0x16ce31[_0x24725f],_0x5e7f1c[_0x24725f]));}function E(_0x1392a7,_0x212ee3){const _0x475e37=_0x252267;return _0x212ee3[_0x475e37(0x1f4)]?_0x212ee3[_0x475e37(0x253)]&&_0x212ee3['fieldId']?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x228),_0x212ee3['recordId'],'values',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x253)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],'records',_0x212ee3[_0x475e37(0x253)]]):_0x212ee3['fieldId']?D(_0x1392a7,['tables',_0x212ee3[_0x475e37(0x1f4)],'fields',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x246)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x1f3),_0x212ee3[_0x475e37(0x246)]]):D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)]]):!0x1;}function D(_0x29afc5,_0x359a6d){const _0x4ef5bc=_0x252267;return _0x29afc5[_0x4ef5bc(0x210)]===_0x359a6d[_0x4ef5bc(0x210)]&&_0x29afc5['every']((_0x432448,_0x25fb3c)=>_0x432448===_0x359a6d[_0x25fb3c]);}function O(_0x32d2ff){const _0x20ec9a=_0x252267;let _0x371aa1=_0x32d2ff['indexOf'](_0x20ec9a(0x238)),_0x407a46=_0x32d2ff[_0x371aa1+0x1];if(_0x371aa1<0x0||typeof _0x407a46!=_0x20ec9a(0x21d))return null;let _0x12ba5e=_0x32d2ff[_0x371aa1+0x2],_0x1aa392=_0x32d2ff[_0x371aa1+0x3];if(_0x12ba5e===_0x20ec9a(0x228)&&typeof _0x1aa392==_0x20ec9a(0x21d)){let _0x251e9a=_0x32d2ff[_0x371aa1+0x4],_0x3314e8=_0x32d2ff[_0x371aa1+0x5];return _0x251e9a==='values'&&typeof _0x3314e8==_0x20ec9a(0x21d)?{'label':'base:cell','tableId':_0x407a46,'recordId':_0x1aa392,'fieldId':_0x3314e8}:_0x251e9a===_0x20ec9a(0x225)||_0x251e9a===_0x20ec9a(0x1fe)?null:{'label':_0x20ec9a(0x22d),'tableId':_0x407a46,'recordId':_0x1aa392};}return _0x12ba5e==='fields'&&typeof _0x1aa392=='string'?{'label':_0x20ec9a(0x1de),'tableId':_0x407a46,'fieldId':_0x1aa392}:_0x12ba5e==='views'&&typeof _0x1aa392==_0x20ec9a(0x21d)?{'label':'base:view','tableId':_0x407a46,'viewId':_0x1aa392}:ee[_0x20ec9a(0x24d)](_0x1ca65e=>_0x1ca65e===_0x12ba5e)?null:{'label':_0x12ba5e===void 0x0?_0x20ec9a(0x1e7):_0x20ec9a(0x216),'tableId':_0x407a46};}function k(_0x37b084,_0x2fa59c){let _0x511af1=new Map();return _0x37b084['forEach'](_0x464efb=>{const _0x529598=_0x576a;let _0x17ed22=_0x464efb[_0x529598(0x1eb)][_0x529598(0x20a)](_0x2fa59c),_0x2c47e9=_0x464efb['path'][_0x17ed22+0x1],_0x55f645=_0x464efb['value']['r'];if(_0x17ed22>=0x0&&typeof _0x2c47e9==_0x529598(0x219)&&typeof _0x55f645==_0x529598(0x21d)){_0x511af1[_0x529598(0x22e)](_0x55f645,_0x2c47e9);return;}if(_0x17ed22!==_0x464efb[_0x529598(0x1eb)]['length']-0x1||!Array[_0x529598(0x1fc)](_0x55f645))return;let _0x5699a2=new Set(Array[_0x529598(0x1fc)](_0x464efb[_0x529598(0x1f0)]['i'])?_0x464efb[_0x529598(0x1f0)]['i'][_0x529598(0x1f2)](_0x337bfd=>typeof _0x337bfd==_0x529598(0x21d)):[]);_0x55f645[_0x529598(0x230)]((_0x4393c8,_0x1375a2)=>{const _0x3f3edc=_0x529598;typeof _0x4393c8==_0x3f3edc(0x21d)&&!_0x5699a2[_0x3f3edc(0x229)](_0x4393c8)&&_0x511af1[_0x3f3edc(0x22e)](_0x4393c8,_0x1375a2);});}),_0x511af1;}function ne(_0x392565,_0x5f3393){const _0xbce212=_0x252267;if(_0x5f3393[_0xbce212(0x253)]&&!_0x5f3393[_0xbce212(0x1ef)]&&E(_0x392565[_0xbce212(0x1eb)],_0x5f3393))return A(_0x392565[_0xbce212(0x1f0)]['r'])?_0x392565['value']['r']:void 0x0;}function A(_0x363c13){const _0x3ffc2c=_0x252267;return F(_0x363c13)&&typeof _0x363c13['id']==_0x3ffc2c(0x21d)&&F(_0x363c13[_0x3ffc2c(0x23f)])&&typeof _0x363c13[_0x3ffc2c(0x209)]==_0x3ffc2c(0x21d)&&typeof _0x363c13[_0x3ffc2c(0x1f1)]==_0x3ffc2c(0x219)&&typeof _0x363c13[_0x3ffc2c(0x225)]=='number';}function j(_0x20b230){let _0x39e720=[];return M(_0x20b230,[],_0x39e720),_0x39e720;}function M(_0x4cb651,_0x43dba6,_0x2cd715){const _0x3b79c1=_0x252267;if(!Array[_0x3b79c1(0x1fc)](_0x4cb651))return;let _0x58642f=[];_0x4cb651[_0x3b79c1(0x230)](_0x357e70=>{const _0x10230f=_0x3b79c1;if(Array[_0x10230f(0x1fc)](_0x357e70)){M(_0x357e70,[..._0x43dba6,..._0x58642f],_0x2cd715);return;}if(N(_0x357e70)){_0x2cd715['push']({'path':[..._0x43dba6,..._0x58642f],'value':_0x357e70});return;}(typeof _0x357e70==_0x10230f(0x21d)||typeof _0x357e70=='number')&&_0x58642f[_0x10230f(0x1ed)](_0x357e70);});}function N(_0x78a740){const _0x1e9da5=_0x252267;return F(_0x78a740)&&['i','r','p','d','es',_0x1e9da5(0x21f),'et'][_0x1e9da5(0x24d)](_0x206eaa=>Object[_0x1e9da5(0x243)][_0x1e9da5(0x234)][_0x1e9da5(0x1e4)](_0x78a740,_0x206eaa));}function P(_0x20ef0b){const _0x31d889=_0x252267;return typeof _0x20ef0b==_0x31d889(0x214)&&!!_0x20ef0b&&'op'in _0x20ef0b&&Array[_0x31d889(0x1fc)](_0x20ef0b['op']);}function F(_0x412e01){const _0x14fdb1=_0x252267;return typeof _0x412e01==_0x14fdb1(0x214)&&!!_0x412e01;}function I(_0x5241d4,_0x1840f4){return function(_0x2c305c,_0x1d3368){_0x1840f4(_0x2c305c,_0x1d3368,_0x5241d4);};}function L(_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a){const _0x1a9397=_0x252267;var _0x2ea1f7=arguments[_0x1a9397(0x210)],_0x456e7d=_0x2ea1f7<0x3?_0x29aaf3:_0x342b4a===null?_0x342b4a=Object[_0x1a9397(0x22b)](_0x29aaf3,_0x4cf6e8):_0x342b4a,_0x2e96b5;if(typeof Reflect==_0x1a9397(0x214)&&typeof Reflect[_0x1a9397(0x1e0)]=='function')_0x456e7d=Reflect[_0x1a9397(0x1e0)](_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a);else{for(var _0x3af90c=_0x1d59d5[_0x1a9397(0x210)]-0x1;_0x3af90c>=0x0;_0x3af90c--)(_0x2e96b5=_0x1d59d5[_0x3af90c])&&(_0x456e7d=(_0x2ea1f7<0x3?_0x2e96b5(_0x456e7d):_0x2ea1f7>0x3?_0x2e96b5(_0x29aaf3,_0x4cf6e8,_0x456e7d):_0x2e96b5(_0x29aaf3,_0x4cf6e8))||_0x456e7d);}return _0x2ea1f7>0x3&&_0x456e7d&&Object['defineProperty'](_0x29aaf3,_0x4cf6e8,_0x456e7d),_0x456e7d;}let R=class{constructor(_0x13e9dd){const _0x1690f9=_0x252267;this[_0x1690f9(0x247)]=_0x13e9dd;}async[_0x252267(0x1fa)](_0x2e1cbe,_0x319e43){const _0x35cb9b=_0x252267;return C(await this[_0x35cb9b(0x247)][_0x35cb9b(0x1ec)](_0x2e1cbe,_0x319e43));}};R=L([I(0x0,_0x2de638(_0x4082b9))],R);function z(_0x428fd5){'@babel/helpers - typeof';const _0x30019e=_0x252267;return z=typeof Symbol==_0x30019e(0x218)&&typeof Symbol[_0x30019e(0x1f9)]==_0x30019e(0x248)?function(_0x59a9fb){return typeof _0x59a9fb;}:function(_0x9f4ffb){const _0x2bf932=_0x30019e;return _0x9f4ffb&&typeof Symbol==_0x2bf932(0x218)&&_0x9f4ffb[_0x2bf932(0x20b)]===Symbol&&_0x9f4ffb!==Symbol[_0x2bf932(0x243)]?_0x2bf932(0x248):typeof _0x9f4ffb;},z(_0x428fd5);}function B(_0x226092,_0x5aad3a){const _0x52f08f=_0x252267;if(z(_0x226092)!='object'||!_0x226092)return _0x226092;var _0x5f24c3=_0x226092[Symbol[_0x52f08f(0x24e)]];if(_0x5f24c3!==void 0x0){var _0x4c01d8=_0x5f24c3['call'](_0x226092,_0x5aad3a||'default');if(z(_0x4c01d8)!=_0x52f08f(0x214))return _0x4c01d8;throw TypeError(_0x52f08f(0x204));}return(_0x5aad3a===_0x52f08f(0x21d)?String:Number)(_0x226092);}function V(_0x12c042){const _0x12c177=_0x252267;var _0x10e904=B(_0x12c042,_0x12c177(0x21d));return z(_0x10e904)=='symbol'?_0x10e904:_0x10e904+'';}function H(_0x1633d7,_0x1c8397,_0x20db0e){const _0x5dd291=_0x252267;return(_0x1c8397=V(_0x1c8397))in _0x1633d7?Object[_0x5dd291(0x23c)](_0x1633d7,_0x1c8397,{'value':_0x20db0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1633d7[_0x1c8397]=_0x20db0e,_0x1633d7;}const U=[_0x252267(0x23d),'createdAt','updatedAt'],W=[_0x43950f[_0x252267(0x222)],_0x43950f['TABLE'],_0x43950f[_0x252267(0x231)],_0x43950f['RECORD'],_0x43950f[_0x252267(0x1e2)],_0x43950f[_0x252267(0x202)]],G=_0x1b6530('fields',_0x252267(0x20f),'records',_0x252267(0x215),_0x252267(0x1f3),_0x252267(0x24a),'cellData',_0x252267(0x1fd),_0x252267(0x236),_0x252267(0x22f),_0x252267(0x24b),...U);var K=class{constructor(){const _0x1746a3=_0x252267;H(this,'type',_0x420197[_0x1746a3(0x24c)]);}[_0x252267(0x1fa)](_0x3325d0){const _0x43b57a=_0x252267;let _0x4223dc=_0x4e6452(_0x3325d0[_0x43b57a(0x205)]),_0x15d0c7=_0x4e6452(_0x3325d0[_0x43b57a(0x1e9)]),_0x2f4520=_0x4e6452(_0x4223dc==null?void 0x0:_0x4223dc[_0x43b57a(0x238)]),_0x550132=_0x4e6452(_0x15d0c7==null?void 0x0:_0x15d0c7['tables']),_0x6726ef=new Set([...Object[_0x43b57a(0x244)](_0x2f4520??{}),...Object[_0x43b57a(0x244)](_0x550132??{})]),_0x376ff3=_0x525a8f(_0x2f4520,_0x4223dc==null?void 0x0:_0x4223dc['tableOrder'],G),_0x97c263=_0x525a8f(_0x550132,_0x15d0c7==null?void 0x0:_0x15d0c7[_0x43b57a(0x213)],G),_0x4ed3d2=[..._0x5e8681({'entityType':_0x43950f['BASE'],'left':_0x4223dc===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),_0x43b57a(0x213),'resources',...U)(_0x4223dc)}],'right':_0x15d0c7===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),'tableOrder',_0x43b57a(0x1ff),...U)(_0x15d0c7)}]}),..._0x5e8681({'entityType':_0x43950f[_0x43b57a(0x1ee)],'left':_0x376ff3,'right':_0x97c263}),...[..._0x6726ef][_0x43b57a(0x1fb)](_0x402813=>q(_0x402813,_0x2f4520,_0x550132))],_0x4ca264=_0x2cdea({'entityType':_0x43950f['TABLE'],'items':_0x4ed3d2,'left':_0x376ff3,'right':_0x97c263});return{'items':_0x4ca264[_0x43b57a(0x241)],'supportedEntityTypes':W,'scopes':_0x4ca264[_0x43b57a(0x1f7)],'productContext':{'type':_0x420197['UNIVER_BASE'],'visualProjection':_0x43b57a(0x203)}};}};function q(_0x1a9b04,_0x5726bf,_0x36b120){const _0x35480f=_0x252267;let _0x24f610=_0x4e6452(_0x5726bf==null?void 0x0:_0x5726bf[_0x1a9b04])??{},_0x14e324=_0x4e6452(_0x36b120==null?void 0x0:_0x36b120[_0x1a9b04])??{},_0x1335f5=_0x4e6452(_0x24f610['fields']),_0x377b36=_0x4e6452(_0x14e324[_0x35480f(0x206)]),_0x39c61c=_0x4e6452(_0x24f610[_0x35480f(0x228)]),_0x1f8c31=_0x4e6452(_0x14e324[_0x35480f(0x228)]);return[...J(_0x43950f[_0x35480f(0x231)],_0x1a9b04,_0x1335f5,_0x377b36,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x1b6530(...U)),...J(_0x43950f['RECORD'],_0x1a9b04,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x215)],_0x14e324['recordOrder'],_0x1b6530('values',_0x35480f(0x209),...U)),...J(_0x43950f['VIEW'],_0x1a9b04,_0x24f610[_0x35480f(0x1f3)],_0x14e324['views'],_0x24f610[_0x35480f(0x24a)],_0x14e324[_0x35480f(0x24a)],_0x1b6530(_0x35480f(0x209),...U)),...Y(_0x1a9b04,_0x1335f5,_0x377b36,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x24f610[_0x35480f(0x215)],_0x14e324[_0x35480f(0x215)],_0x24f610[_0x35480f(0x224)],_0x14e324['primaryFieldId'])];}function J(_0x182ce2,_0x38080b,_0x1f4e42,_0x3b6769,_0x4f28ef,_0x2e27d2,_0x5d0488){return _0x5e8681({'entityType':_0x182ce2,'parentStableId':_0x38080b,'left':_0x525a8f(_0x1f4e42,_0x4f28ef,_0x5d0488),'right':_0x525a8f(_0x3b6769,_0x2e27d2,_0x5d0488)});}function Y(_0x49fbe4,_0x30d825,_0x4b7b4a,_0x2a366d,_0x5f3b0a,_0x287367,_0x48fe82,_0x1489c2,_0xc38e67,_0x582f40,_0x1e37ef){const _0x2d10a8=_0x252267;let _0x5a4781=Z(_0x30d825,_0x2a366d,_0x287367,_0x1489c2,_0x582f40),_0x292700=Z(_0x4b7b4a,_0x5f3b0a,_0x48fe82,_0xc38e67,_0x1e37ef),_0x4a812a=new Map(_0x5a4781[_0x2d10a8(0x1dd)](_0x565456=>[_0x565456[_0x2d10a8(0x201)],_0x565456])),_0x2a91a3=new Map(_0x292700[_0x2d10a8(0x1dd)](_0x102219=>[_0x102219[_0x2d10a8(0x201)],_0x102219]));return _0x5e8681({'entityType':_0x43950f['CELL'],'parentStableId':_0x49fbe4,'left':_0x5a4781,'right':_0x292700})[_0x2d10a8(0x1dd)](_0x58a0b2=>({..._0x58a0b2,'locations':{'left':X(_0x58a0b2[_0x2d10a8(0x242)][_0x2d10a8(0x1f8)],_0x4a812a[_0x2d10a8(0x208)](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4),'right':X(_0x58a0b2[_0x2d10a8(0x242)]['right'],_0x2a91a3['get'](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4)}}));}function X(_0x824f1,_0x372317,_0x3a2b92){const _0xc1b3d5=_0x252267;if(_0x824f1===null||_0x372317===void 0x0)return null;let _0x29a398=_0x824f1[_0xc1b3d5(0x22a)];return(_0x29a398==null?void 0x0:_0x29a398['kind'])==='entity'?{..._0x824f1,'parentStableId':_0x372317[_0xc1b3d5(0x253)],'target':{..._0x29a398,'kind':_0xc1b3d5(0x240),'tableId':_0x3a2b92,'recordId':_0x372317[_0xc1b3d5(0x253)],'fieldId':_0x372317[_0xc1b3d5(0x1ef)]}}:_0x824f1;}function Z(_0x438cd6,_0xcdfcc4,_0xbed51,_0x1b7dac,_0x121000){const _0x516d35=_0x252267;let _0x49c6ec=Q(_0x438cd6,_0xbed51);return Q(_0xcdfcc4,_0x1b7dac)[_0x516d35(0x1fb)]((_0xea4a24,_0x364c91)=>{const _0x5572de=_0x516d35;var _0x4da932;let _0xa7f2f0=_0x4e6452((_0x4da932=_0x4e6452(_0xcdfcc4==null?void 0x0:_0xcdfcc4[_0xea4a24]))==null?void 0x0:_0x4da932[_0x5572de(0x23f)]);if(_0xa7f2f0===void 0x0)return[];let _0x4ceae8=typeof _0x121000==_0x5572de(0x21d)?_0xa7f2f0[_0x121000]:void 0x0,_0x1241b=typeof _0x4ceae8==_0x5572de(0x21d)||typeof _0x4ceae8==_0x5572de(0x219)?String(_0x4ceae8):void 0x0;return _0x49c6ec['flatMap']((_0x2016e7,_0x380738)=>{const _0x480d6f=_0x5572de;var _0x4d4f1e;return _0x2016e7 in _0xa7f2f0?[{'stableId':_0xea4a24+':'+_0x2016e7,'recordId':_0xea4a24,'fieldId':_0x2016e7,'position':_0x364c91*Math[_0x480d6f(0x211)](0x1,_0x49c6ec[_0x480d6f(0x210)])+_0x380738,'displayName':[_0x1241b,(_0x4d4f1e=_0x4e6452(_0x438cd6==null?void 0x0:_0x438cd6[_0x2016e7]))==null?void 0x0:_0x4d4f1e[_0x480d6f(0x239)]][_0x480d6f(0x1f2)](_0x395de7=>typeof _0x395de7==_0x480d6f(0x21d)&&_0x395de7[_0x480d6f(0x210)]>0x0)[_0x480d6f(0x21c)](_0x480d6f(0x20d)),'value':_0xa7f2f0[_0x2016e7]}]:[];});});}function Q(_0x5c70c4,_0x195906){const _0x19afb2=_0x252267;let _0x1f8dfd=_0x5c70c4??{},_0x48ab41=Array['isArray'](_0x195906)?_0x195906[_0x19afb2(0x1f2)](_0xc06afb=>typeof _0xc06afb==_0x19afb2(0x21d)&&_0xc06afb in _0x1f8dfd):[],_0x26d5d3=new Set(_0x48ab41);return[..._0x48ab41,...Object[_0x19afb2(0x244)](_0x1f8dfd)[_0x19afb2(0x1f2)](_0x28c07b=>!_0x26d5d3[_0x19afb2(0x229)](_0x28c07b))];}let $=class extends _0x1ff602{constructor(_0x42c148=S,_0x397844,_0x4452b5){const _0x341465=_0x252267;super(),this[_0x341465(0x227)]=_0x42c148,this[_0x341465(0x254)]=_0x397844,this[_0x341465(0x251)]=_0x4452b5;let {..._0x4b3393}=_0x3a6efd({},S,this[_0x341465(0x227)]);this[_0x341465(0x251)][_0x341465(0x1ea)](_0x341465(0x232),_0x4b3393);}[_0x252267(0x217)](){const _0x5672db=_0x252267;_0xd25181(this[_0x5672db(0x254)],[[R],[K]]),this[_0x5672db(0x252)](this['_injector']['get'](_0x2bfb0c)[_0x5672db(0x24f)](this[_0x5672db(0x254)]['get'](K)));}};function _0x3dfa(){const _0x39eb04=['2004219ySjPxN','call','revision','base','base:table','sort','rightData','setConfig','path','load','push','TABLE','fieldId','value','createdAt','filter','views','tableId','entry','delete','scopes','left','iterator','compare','flatMap','isArray','colId','updatedBy','resources','16mCDzrz','stableId','CELL','raw-table-data','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','leftData','fields','params','get','orderKey','indexOf','constructor','10BBxaum','\x20·\x20','pluginName','fieldOrder','length','max','210VQrgYQ','tableOrder','object','recordOrder','base:unknown','onStarting','function','number','packageName','UNIVER_BASES_HISTORY_PLUGIN','join','string','label','ena','28884gZZLpW','99207vNAmlm','BASE','36566frAHZW','primaryFieldId','updatedAt','type','_config','records','has','target','getOwnPropertyDescriptor','mutation','base:record','set','rowId','forEach','FIELD','bases-history.config','cellData','hasOwnProperty','7018880VVKpGf','colIndex','4hDxOoe','tables','name','641242cUnvsY','update','defineProperty','rev','80859gjHStX','values','base-cell','items','locations','prototype','keys','index','viewId','_mutationService','symbol','every','viewOrder','rowIndex','UNIVER_BASE','some','toPrimitive','register','insert','_configService','disposeWithMe','recordId','_injector','map','base:field','compose','decorate','1.0.1','VIEW'];_0x3dfa=function(){return _0x39eb04;};return _0x3dfa();}H($,_0x252267(0x20e),_0x252267(0x21b)),H($,_0x252267(0x21a),b),H($,'version',x),H($,'type',_0x420197[_0x252267(0x24c)]),$=L([_0x336f9b(_0x23e6e8,_0x4f2d4e,_0x254873),I(0x1,_0x2de638(_0xb40961)),I(0x2,_0x19ae82)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
1
+ const _0x166a3a=_0x332c;(function(_0x4d74f5,_0xcfe81f){const _0xd7af27=_0x332c,_0x54261c=_0x4d74f5();while(!![]){try{const _0x95be69=-parseInt(_0xd7af27(0x15c))/0x1*(-parseInt(_0xd7af27(0x114))/0x2)+-parseInt(_0xd7af27(0x16b))/0x3*(-parseInt(_0xd7af27(0x143))/0x4)+parseInt(_0xd7af27(0x138))/0x5+parseInt(_0xd7af27(0x10e))/0x6*(parseInt(_0xd7af27(0x175))/0x7)+parseInt(_0xd7af27(0x11b))/0x8*(-parseInt(_0xd7af27(0x118))/0x9)+parseInt(_0xd7af27(0x106))/0xa+-parseInt(_0xd7af27(0x16a))/0xb;if(_0x95be69===_0xcfe81f)break;else _0x54261c['push'](_0x54261c['shift']());}catch(_0x3a15b4){_0x54261c['push'](_0x54261c['shift']());}}}(_0x5dd1,0x4130e));import{UniverBasesPlugin as _0x52eced}from'@univerjs-pro/bases';import{HistoryMutationService as _0x2b76ad,UnitComparisonAdapterRegistryService as _0x39dd50,UnitComparisonEntityType as _0x37d673,UniverEditHistoryPlugin as _0x24e3d8,asRecord as _0x3053db,buildScopedUnitComparison as _0x1497cb,buildSemanticComparisonItems as _0x2be7c6,recordComparisonEntries as _0x6a171a,withoutComparisonKeys as _0x2bc6d3}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0xb048ad}from'@univerjs-pro/license';import{DependentOn as _0x44ef56,IConfigService as _0x25a06b,Inject as _0x34725c,Injector as _0x494cd2,JSON1 as _0x376917,Plugin as _0x4bd8cd,UniverInstanceType as _0x33632e,merge as _0x5ac915,registerDependencies as _0x1eb0f7}from'@univerjs/core';var b=_0x166a3a(0x141),x=_0x166a3a(0x112);const S={},ee=['recordOrder','fieldOrder',_0x166a3a(0x146),_0x166a3a(0x126),_0x166a3a(0x161),'colIndex',_0x166a3a(0x136),_0x166a3a(0x122)];function C(_0x2ac748){const _0x4e20e1=_0x166a3a;let _0x3af4bd=null,_0x108bf8=null,_0x1379dd=_0x2ac748[_0x4e20e1(0x110)]((_0x3a629c,_0x477feb)=>({'entry':_0x3a629c,'index':_0x477feb}))[_0x4e20e1(0x165)]((_0x518ac7,_0x468caa)=>_0x518ac7[_0x4e20e1(0x150)]['revision']-_0x468caa[_0x4e20e1(0x150)][_0x4e20e1(0x168)]||_0x518ac7[_0x4e20e1(0x145)]-_0x468caa[_0x4e20e1(0x145)]);for(let {entry:_0x1cba3a}of _0x1379dd)P(_0x1cba3a[_0x4e20e1(0x16d)][_0x4e20e1(0x14a)])&&(_0x3af4bd=_0x3af4bd===null?_0x1cba3a['mutation'][_0x4e20e1(0x14a)]['op']:_0x376917[_0x4e20e1(0x153)]['compose'](_0x3af4bd,_0x1cba3a[_0x4e20e1(0x16d)]['params']['op']),_0x108bf8=_0x1cba3a);if(_0x3af4bd===null||_0x108bf8===null)return[];let _0xa1b9d7=j(_0x3af4bd)[_0x4e20e1(0x157)](_0x3d94de=>!te(_0x3d94de)),_0x8a8f82=k(_0xa1b9d7,_0x4e20e1(0x160)),_0x48d760=k(_0xa1b9d7,_0x4e20e1(0x15a));return _0xa1b9d7[_0x4e20e1(0x10a)]((_0x5f4609,_0x58c3c1)=>{const _0x4f141a=_0x4e20e1;let _0x2c550d=O(_0x5f4609[_0x4f141a(0x154)]);if(!_0x2c550d)return[];let _0x10b663=w(_0x5f4609,_0x2c550d);return[{'id':_0x108bf8[_0x4f141a(0x168)]+':'+_0x58c3c1,'kind':_0x10b663,'label':_0x2c550d['label'],'memberId':_0x108bf8['memberId'],'tableId':_0x2c550d[_0x4f141a(0x174)],'viewId':_0x2c550d[_0x4f141a(0x125)],'recordId':_0x2c550d['recordId'],'recordIndex':_0x2c550d[_0x4f141a(0x14c)]?_0x8a8f82[_0x4f141a(0x124)](_0x2c550d[_0x4f141a(0x14c)]):void 0x0,'removedRecord':_0x10b663===_0x4f141a(0x15e)?ne(_0x5f4609,_0x2c550d):void 0x0,'fieldId':_0x2c550d['fieldId'],'fieldIndex':_0x2c550d[_0x4f141a(0x123)]?_0x48d760[_0x4f141a(0x124)](_0x2c550d[_0x4f141a(0x123)]):void 0x0}];});}function w(_0x14b888,_0x8d6a04){const _0x2c560c=_0x166a3a;if(!E(_0x14b888[_0x2c560c(0x154)],_0x8d6a04))return'update';let _0x431bc2=Object['prototype'][_0x2c560c(0x13b)][_0x2c560c(0x11f)](_0x14b888[_0x2c560c(0x162)],'i'),_0x27e44d=Object[_0x2c560c(0x14f)][_0x2c560c(0x13b)][_0x2c560c(0x11f)](_0x14b888[_0x2c560c(0x162)],'r');return _0x431bc2&&!_0x27e44d?_0x2c560c(0x149):_0x27e44d&&!_0x431bc2?_0x2c560c(0x15e):_0x2c560c(0x142);}function te(_0x5e714e){const _0x4c7a89=_0x166a3a;return Object['prototype'][_0x4c7a89(0x13b)][_0x4c7a89(0x11f)](_0x5e714e[_0x4c7a89(0x162)],'i')&&Object[_0x4c7a89(0x14f)][_0x4c7a89(0x13b)]['call'](_0x5e714e[_0x4c7a89(0x162)],'r')&&T(_0x5e714e['value']['i'],_0x5e714e[_0x4c7a89(0x162)]['r']);}function _0x5dd1(){const _0x5526c3=['tableOrder','flatMap','object','colIndex','indexOf','540rSrcVe','rev','map','number','1.0.2','rightData','2706qNShys','pluginName','some','every','126fbDnMg','push','UNIVER_BASES_HISTORY_PLUGIN','112568kEHDQU','raw-table-data','length','CELL','call','records','decorate','cellData','fieldId','get','viewId','rowIndex','forEach','right','_mutationService','values','leftData','updatedAt','createdAt','load','base:record','set','UNIVER_BASE','BASE','packageName','function','bases-history.config','colId','RECORD','2079875LrfiRx','target','getOwnPropertyDescriptor','hasOwnProperty','setConfig','default','onStarting','entity','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/bases-history','update','530592YVRofu','max','index','viewOrder','base-cell','orderKey','insert','params','updatedBy','recordId','symbol','string','prototype','entry','defineProperty','compare','type','path','kind','left','filter','has','stableId','fieldOrder','resources','166YWBpkG','base:cell','delete','VIEW','recordOrder','rowId','value','views','keys','sort','join','tables','revision','_configService','8181690gqvVsp','9femqOt','base:field','mutation','TABLE','disposeWithMe','_injector','fields','locations','base','tableId','8806LZCPqf','primaryFieldId','items','560690FSTuGM','FIELD','isArray'];_0x5dd1=function(){return _0x5526c3;};return _0x5dd1();}function T(_0x54fc82,_0x12514e){const _0x3d9b0b=_0x166a3a;if(_0x54fc82===_0x12514e)return!0x0;if(Array[_0x3d9b0b(0x108)](_0x54fc82)||Array[_0x3d9b0b(0x108)](_0x12514e))return Array[_0x3d9b0b(0x108)](_0x54fc82)&&Array['isArray'](_0x12514e)&&_0x54fc82[_0x3d9b0b(0x11d)]===_0x12514e['length']&&_0x54fc82[_0x3d9b0b(0x117)]((_0x4eea00,_0x884373)=>T(_0x4eea00,_0x12514e[_0x884373]));if(!F(_0x54fc82)||!F(_0x12514e))return!0x1;let _0x560df8=Object['keys'](_0x54fc82),_0xab1173=Object[_0x3d9b0b(0x164)](_0x12514e);return _0x560df8[_0x3d9b0b(0x11d)]===_0xab1173[_0x3d9b0b(0x11d)]&&_0x560df8[_0x3d9b0b(0x117)](_0x382685=>Object[_0x3d9b0b(0x14f)][_0x3d9b0b(0x13b)][_0x3d9b0b(0x11f)](_0x12514e,_0x382685)&&T(_0x54fc82[_0x382685],_0x12514e[_0x382685]));}function _0x332c(_0x52da8d,_0xd1435e){_0x52da8d=_0x52da8d-0x106;const _0x5dd148=_0x5dd1();let _0x332c9d=_0x5dd148[_0x52da8d];return _0x332c9d;}function E(_0x1de43b,_0x100cdd){const _0x2a75bd=_0x166a3a;return _0x100cdd[_0x2a75bd(0x174)]?_0x100cdd[_0x2a75bd(0x14c)]&&_0x100cdd['fieldId']?D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)],_0x2a75bd(0x120),_0x100cdd['recordId'],_0x2a75bd(0x12a),_0x100cdd['fieldId']]):_0x100cdd[_0x2a75bd(0x14c)]?D(_0x1de43b,[_0x2a75bd(0x167),_0x100cdd[_0x2a75bd(0x174)],'records',_0x100cdd[_0x2a75bd(0x14c)]]):_0x100cdd[_0x2a75bd(0x123)]?D(_0x1de43b,[_0x2a75bd(0x167),_0x100cdd[_0x2a75bd(0x174)],_0x2a75bd(0x171),_0x100cdd[_0x2a75bd(0x123)]]):_0x100cdd[_0x2a75bd(0x125)]?D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)],'views',_0x100cdd[_0x2a75bd(0x125)]]):D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)]]):!0x1;}function D(_0x72433d,_0x32c8e5){const _0x52e0ce=_0x166a3a;return _0x72433d[_0x52e0ce(0x11d)]===_0x32c8e5[_0x52e0ce(0x11d)]&&_0x72433d[_0x52e0ce(0x117)]((_0x20c88a,_0x4dc5d7)=>_0x20c88a===_0x32c8e5[_0x4dc5d7]);}function O(_0xcf78ac){const _0x20939f=_0x166a3a;let _0x10162b=_0xcf78ac[_0x20939f(0x10d)](_0x20939f(0x167)),_0x1bd97f=_0xcf78ac[_0x10162b+0x1];if(_0x10162b<0x0||typeof _0x1bd97f!=_0x20939f(0x14e))return null;let _0x15da0d=_0xcf78ac[_0x10162b+0x2],_0x50f2f8=_0xcf78ac[_0x10162b+0x3];if(_0x15da0d===_0x20939f(0x120)&&typeof _0x50f2f8==_0x20939f(0x14e)){let _0x1b1030=_0xcf78ac[_0x10162b+0x4],_0x466457=_0xcf78ac[_0x10162b+0x5];return _0x1b1030===_0x20939f(0x12a)&&typeof _0x466457==_0x20939f(0x14e)?{'label':_0x20939f(0x15d),'tableId':_0x1bd97f,'recordId':_0x50f2f8,'fieldId':_0x466457}:_0x1b1030===_0x20939f(0x12c)||_0x1b1030===_0x20939f(0x14b)?null:{'label':_0x20939f(0x12f),'tableId':_0x1bd97f,'recordId':_0x50f2f8};}return _0x15da0d===_0x20939f(0x171)&&typeof _0x50f2f8==_0x20939f(0x14e)?{'label':_0x20939f(0x16c),'tableId':_0x1bd97f,'fieldId':_0x50f2f8}:_0x15da0d==='views'&&typeof _0x50f2f8==_0x20939f(0x14e)?{'label':'base:view','tableId':_0x1bd97f,'viewId':_0x50f2f8}:ee[_0x20939f(0x116)](_0x1a04db=>_0x1a04db===_0x15da0d)?null:{'label':_0x15da0d===void 0x0?'base:table':'base:unknown','tableId':_0x1bd97f};}function k(_0x5efe8b,_0x160e5e){let _0x40d37c=new Map();return _0x5efe8b['forEach'](_0x3b41f1=>{const _0x280c51=_0x332c;let _0x3a57d7=_0x3b41f1[_0x280c51(0x154)]['indexOf'](_0x160e5e),_0x473cc2=_0x3b41f1['path'][_0x3a57d7+0x1],_0x57e6d6=_0x3b41f1[_0x280c51(0x162)]['r'];if(_0x3a57d7>=0x0&&typeof _0x473cc2==_0x280c51(0x111)&&typeof _0x57e6d6==_0x280c51(0x14e)){_0x40d37c[_0x280c51(0x130)](_0x57e6d6,_0x473cc2);return;}if(_0x3a57d7!==_0x3b41f1[_0x280c51(0x154)][_0x280c51(0x11d)]-0x1||!Array[_0x280c51(0x108)](_0x57e6d6))return;let _0x193d7b=new Set(Array[_0x280c51(0x108)](_0x3b41f1['value']['i'])?_0x3b41f1['value']['i'][_0x280c51(0x157)](_0xc9fb1a=>typeof _0xc9fb1a=='string'):[]);_0x57e6d6[_0x280c51(0x127)]((_0x4cedfd,_0x40b11f)=>{const _0x5dd5d0=_0x280c51;typeof _0x4cedfd==_0x5dd5d0(0x14e)&&!_0x193d7b[_0x5dd5d0(0x158)](_0x4cedfd)&&_0x40d37c['set'](_0x4cedfd,_0x40b11f);});}),_0x40d37c;}function ne(_0x211efd,_0x3554cd){const _0x1691f9=_0x166a3a;if(_0x3554cd[_0x1691f9(0x14c)]&&!_0x3554cd[_0x1691f9(0x123)]&&E(_0x211efd[_0x1691f9(0x154)],_0x3554cd))return A(_0x211efd['value']['r'])?_0x211efd[_0x1691f9(0x162)]['r']:void 0x0;}function A(_0x1ca000){const _0x21161a=_0x166a3a;return F(_0x1ca000)&&typeof _0x1ca000['id']==_0x21161a(0x14e)&&F(_0x1ca000[_0x21161a(0x12a)])&&typeof _0x1ca000[_0x21161a(0x148)]=='string'&&typeof _0x1ca000[_0x21161a(0x12d)]==_0x21161a(0x111)&&typeof _0x1ca000[_0x21161a(0x12c)]==_0x21161a(0x111);}function j(_0x12cd94){let _0x3fd222=[];return M(_0x12cd94,[],_0x3fd222),_0x3fd222;}function M(_0x36adf1,_0x470db7,_0x3c175a){const _0x51f596=_0x166a3a;if(!Array[_0x51f596(0x108)](_0x36adf1))return;let _0x342ac9=[];_0x36adf1[_0x51f596(0x127)](_0x24b99e=>{const _0xba2a7c=_0x51f596;if(Array['isArray'](_0x24b99e)){M(_0x24b99e,[..._0x470db7,..._0x342ac9],_0x3c175a);return;}if(N(_0x24b99e)){_0x3c175a['push']({'path':[..._0x470db7,..._0x342ac9],'value':_0x24b99e});return;}(typeof _0x24b99e==_0xba2a7c(0x14e)||typeof _0x24b99e==_0xba2a7c(0x111))&&_0x342ac9[_0xba2a7c(0x119)](_0x24b99e);});}function N(_0x466843){const _0xa56c70=_0x166a3a;return F(_0x466843)&&['i','r','p','d','es','ena','et'][_0xa56c70(0x116)](_0x400d2d=>Object[_0xa56c70(0x14f)]['hasOwnProperty'][_0xa56c70(0x11f)](_0x466843,_0x400d2d));}function P(_0x2f7da1){const _0x2f89bc=_0x166a3a;return typeof _0x2f7da1==_0x2f89bc(0x10b)&&!!_0x2f7da1&&'op'in _0x2f7da1&&Array[_0x2f89bc(0x108)](_0x2f7da1['op']);}function F(_0x48871d){const _0xb6131b=_0x166a3a;return typeof _0x48871d==_0xb6131b(0x10b)&&!!_0x48871d;}function I(_0x1ec5e1,_0x506f80){return function(_0x4c7782,_0x28d5a0){_0x506f80(_0x4c7782,_0x28d5a0,_0x1ec5e1);};}function L(_0x2f6c36,_0x50eb53,_0x245759,_0x4f8a91){const _0x546c99=_0x166a3a;var _0x487ea1=arguments[_0x546c99(0x11d)],_0x521894=_0x487ea1<0x3?_0x50eb53:_0x4f8a91===null?_0x4f8a91=Object[_0x546c99(0x13a)](_0x50eb53,_0x245759):_0x4f8a91,_0x26a423;if(typeof Reflect==_0x546c99(0x10b)&&typeof Reflect['decorate']==_0x546c99(0x134))_0x521894=Reflect[_0x546c99(0x121)](_0x2f6c36,_0x50eb53,_0x245759,_0x4f8a91);else{for(var _0x27ff60=_0x2f6c36[_0x546c99(0x11d)]-0x1;_0x27ff60>=0x0;_0x27ff60--)(_0x26a423=_0x2f6c36[_0x27ff60])&&(_0x521894=(_0x487ea1<0x3?_0x26a423(_0x521894):_0x487ea1>0x3?_0x26a423(_0x50eb53,_0x245759,_0x521894):_0x26a423(_0x50eb53,_0x245759))||_0x521894);}return _0x487ea1>0x3&&_0x521894&&Object[_0x546c99(0x151)](_0x50eb53,_0x245759,_0x521894),_0x521894;}let R=class{constructor(_0x31f8ec){const _0xcd78d9=_0x166a3a;this[_0xcd78d9(0x129)]=_0x31f8ec;}async[_0x166a3a(0x152)](_0x166196,_0x47fb1c){const _0x2edd85=_0x166a3a;return C(await this['_mutationService'][_0x2edd85(0x12e)](_0x166196,_0x47fb1c));}};R=L([I(0x0,_0x34725c(_0x2b76ad))],R);function z(_0x1b8f5d){'@babel/helpers - typeof';const _0x4b7e20=_0x166a3a;return z=typeof Symbol==_0x4b7e20(0x134)&&typeof Symbol['iterator']==_0x4b7e20(0x14d)?function(_0x2afa62){return typeof _0x2afa62;}:function(_0x1b3488){const _0x275971=_0x4b7e20;return _0x1b3488&&typeof Symbol==_0x275971(0x134)&&_0x1b3488['constructor']===Symbol&&_0x1b3488!==Symbol[_0x275971(0x14f)]?'symbol':typeof _0x1b3488;},z(_0x1b8f5d);}function B(_0x4cebe4,_0x30caa2){const _0x573fec=_0x166a3a;if(z(_0x4cebe4)!=_0x573fec(0x10b)||!_0x4cebe4)return _0x4cebe4;var _0x256a8e=_0x4cebe4[Symbol['toPrimitive']];if(_0x256a8e!==void 0x0){var _0x1b8596=_0x256a8e[_0x573fec(0x11f)](_0x4cebe4,_0x30caa2||_0x573fec(0x13d));if(z(_0x1b8596)!='object')return _0x1b8596;throw TypeError(_0x573fec(0x140));}return(_0x30caa2===_0x573fec(0x14e)?String:Number)(_0x4cebe4);}function V(_0x4eab7b){const _0x43fe73=_0x166a3a;var _0x5ee7b2=B(_0x4eab7b,'string');return z(_0x5ee7b2)==_0x43fe73(0x14d)?_0x5ee7b2:_0x5ee7b2+'';}function H(_0x1f4a2a,_0x46a361,_0x51bfe2){const _0x5d9ca6=_0x166a3a;return(_0x46a361=V(_0x46a361))in _0x1f4a2a?Object[_0x5d9ca6(0x151)](_0x1f4a2a,_0x46a361,{'value':_0x51bfe2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f4a2a[_0x46a361]=_0x51bfe2,_0x1f4a2a;}const U=[_0x166a3a(0x10f),'createdAt',_0x166a3a(0x12c)],W=[_0x37d673['BASE'],_0x37d673[_0x166a3a(0x16e)],_0x37d673[_0x166a3a(0x107)],_0x37d673[_0x166a3a(0x137)],_0x37d673['VIEW'],_0x37d673[_0x166a3a(0x11e)]],G=_0x2bc6d3('fields',_0x166a3a(0x15a),_0x166a3a(0x120),_0x166a3a(0x160),_0x166a3a(0x163),_0x166a3a(0x146),_0x166a3a(0x122),'colId',_0x166a3a(0x10c),'rowId',_0x166a3a(0x126),...U);var K=class{constructor(){const _0x1b18ef=_0x166a3a;H(this,'type',_0x33632e[_0x1b18ef(0x131)]);}['compare'](_0x296d28){const _0x32e37d=_0x166a3a;let _0x2dff29=_0x3053db(_0x296d28[_0x32e37d(0x12b)]),_0xda9ffc=_0x3053db(_0x296d28[_0x32e37d(0x113)]),_0xeab982=_0x3053db(_0x2dff29==null?void 0x0:_0x2dff29[_0x32e37d(0x167)]),_0x1edc56=_0x3053db(_0xda9ffc==null?void 0x0:_0xda9ffc[_0x32e37d(0x167)]),_0x4f8541=new Set([...Object['keys'](_0xeab982??{}),...Object[_0x32e37d(0x164)](_0x1edc56??{})]),_0x1f5351=_0x6a171a(_0xeab982,_0x2dff29==null?void 0x0:_0x2dff29[_0x32e37d(0x109)],G),_0x32436e=_0x6a171a(_0x1edc56,_0xda9ffc==null?void 0x0:_0xda9ffc[_0x32e37d(0x109)],G),_0x37d071=[..._0x2be7c6({'entityType':_0x37d673[_0x32e37d(0x132)],'left':_0x2dff29===void 0x0?[]:[{'stableId':_0x32e37d(0x173),'position':0x0,'value':_0x2bc6d3(_0x32e37d(0x167),_0x32e37d(0x109),_0x32e37d(0x15b),...U)(_0x2dff29)}],'right':_0xda9ffc===void 0x0?[]:[{'stableId':'base','position':0x0,'value':_0x2bc6d3(_0x32e37d(0x167),_0x32e37d(0x109),_0x32e37d(0x15b),...U)(_0xda9ffc)}]}),..._0x2be7c6({'entityType':_0x37d673[_0x32e37d(0x16e)],'left':_0x1f5351,'right':_0x32436e}),...[..._0x4f8541]['flatMap'](_0x35b4d4=>q(_0x35b4d4,_0xeab982,_0x1edc56))],_0x2e1c3c=_0x1497cb({'entityType':_0x37d673[_0x32e37d(0x16e)],'items':_0x37d071,'left':_0x1f5351,'right':_0x32436e});return{'items':_0x2e1c3c[_0x32e37d(0x177)],'supportedEntityTypes':W,'scopes':_0x2e1c3c['scopes'],'productContext':{'type':_0x33632e['UNIVER_BASE'],'visualProjection':_0x32e37d(0x11c)}};}};function q(_0x4c7644,_0x290a55,_0x79208b){const _0x3f74a8=_0x166a3a;let _0x4629c5=_0x3053db(_0x290a55==null?void 0x0:_0x290a55[_0x4c7644])??{},_0x4f06ee=_0x3053db(_0x79208b==null?void 0x0:_0x79208b[_0x4c7644])??{},_0xd794fd=_0x3053db(_0x4629c5[_0x3f74a8(0x171)]),_0x43f3aa=_0x3053db(_0x4f06ee[_0x3f74a8(0x171)]),_0x5e1c70=_0x3053db(_0x4629c5[_0x3f74a8(0x120)]),_0x50ac07=_0x3053db(_0x4f06ee[_0x3f74a8(0x120)]);return[...J(_0x37d673['FIELD'],_0x4c7644,_0xd794fd,_0x43f3aa,_0x4629c5[_0x3f74a8(0x15a)],_0x4f06ee[_0x3f74a8(0x15a)],_0x2bc6d3(...U)),...J(_0x37d673[_0x3f74a8(0x137)],_0x4c7644,_0x5e1c70,_0x50ac07,_0x4629c5[_0x3f74a8(0x160)],_0x4f06ee[_0x3f74a8(0x160)],_0x2bc6d3('values',_0x3f74a8(0x148),...U)),...J(_0x37d673[_0x3f74a8(0x15f)],_0x4c7644,_0x4629c5['views'],_0x4f06ee['views'],_0x4629c5[_0x3f74a8(0x146)],_0x4f06ee[_0x3f74a8(0x146)],_0x2bc6d3(_0x3f74a8(0x148),...U)),...Y(_0x4c7644,_0xd794fd,_0x43f3aa,_0x5e1c70,_0x50ac07,_0x4629c5[_0x3f74a8(0x15a)],_0x4f06ee[_0x3f74a8(0x15a)],_0x4629c5[_0x3f74a8(0x160)],_0x4f06ee[_0x3f74a8(0x160)],_0x4629c5[_0x3f74a8(0x176)],_0x4f06ee[_0x3f74a8(0x176)])];}function J(_0x462329,_0x22eccf,_0x359308,_0x4f5fab,_0x59f513,_0x496139,_0x13000a){return _0x2be7c6({'entityType':_0x462329,'parentStableId':_0x22eccf,'left':_0x6a171a(_0x359308,_0x59f513,_0x13000a),'right':_0x6a171a(_0x4f5fab,_0x496139,_0x13000a)});}function Y(_0x42b440,_0x3d224f,_0x4e4908,_0x3be586,_0x205ab3,_0x18921d,_0x381e59,_0x3dbde8,_0x46db31,_0x14180a,_0x5ef5ad){const _0x2babe8=_0x166a3a;let _0x2339e4=Z(_0x3d224f,_0x3be586,_0x18921d,_0x3dbde8,_0x14180a),_0x5d34c8=Z(_0x4e4908,_0x205ab3,_0x381e59,_0x46db31,_0x5ef5ad),_0x4cc951=new Map(_0x2339e4[_0x2babe8(0x110)](_0x217498=>[_0x217498[_0x2babe8(0x159)],_0x217498])),_0x3541fd=new Map(_0x5d34c8[_0x2babe8(0x110)](_0x59e8d5=>[_0x59e8d5['stableId'],_0x59e8d5]));return _0x2be7c6({'entityType':_0x37d673[_0x2babe8(0x11e)],'parentStableId':_0x42b440,'left':_0x2339e4,'right':_0x5d34c8})[_0x2babe8(0x110)](_0x224dd6=>({..._0x224dd6,'locations':{'left':X(_0x224dd6[_0x2babe8(0x172)][_0x2babe8(0x156)],_0x4cc951[_0x2babe8(0x124)](_0x224dd6[_0x2babe8(0x159)]),_0x42b440),'right':X(_0x224dd6[_0x2babe8(0x172)][_0x2babe8(0x128)],_0x3541fd['get'](_0x224dd6[_0x2babe8(0x159)]),_0x42b440)}}));}function X(_0x3018e6,_0x16613e,_0x65f5eb){const _0x5762f2=_0x166a3a;if(_0x3018e6===null||_0x16613e===void 0x0)return null;let _0x335a9e=_0x3018e6[_0x5762f2(0x139)];return(_0x335a9e==null?void 0x0:_0x335a9e[_0x5762f2(0x155)])===_0x5762f2(0x13f)?{..._0x3018e6,'parentStableId':_0x16613e[_0x5762f2(0x14c)],'target':{..._0x335a9e,'kind':_0x5762f2(0x147),'tableId':_0x65f5eb,'recordId':_0x16613e[_0x5762f2(0x14c)],'fieldId':_0x16613e[_0x5762f2(0x123)]}}:_0x3018e6;}function Z(_0x1a2517,_0x492b21,_0x4ae6a0,_0xb0abed,_0x163fe8){const _0x59f427=_0x166a3a;let _0xf90de9=Q(_0x1a2517,_0x4ae6a0);return Q(_0x492b21,_0xb0abed)[_0x59f427(0x10a)]((_0x4dbe90,_0x570b71)=>{const _0xf03a12=_0x59f427;var _0x14375f;let _0xaf640e=_0x3053db((_0x14375f=_0x3053db(_0x492b21==null?void 0x0:_0x492b21[_0x4dbe90]))==null?void 0x0:_0x14375f['values']);if(_0xaf640e===void 0x0)return[];let _0x53b8b4=typeof _0x163fe8==_0xf03a12(0x14e)?_0xaf640e[_0x163fe8]:void 0x0,_0x22a2fa=typeof _0x53b8b4==_0xf03a12(0x14e)||typeof _0x53b8b4==_0xf03a12(0x111)?String(_0x53b8b4):void 0x0;return _0xf90de9[_0xf03a12(0x10a)]((_0x1480a0,_0x35a715)=>{const _0x7ef548=_0xf03a12;var _0x2ed7ba;return _0x1480a0 in _0xaf640e?[{'stableId':_0x4dbe90+':'+_0x1480a0,'recordId':_0x4dbe90,'fieldId':_0x1480a0,'position':_0x570b71*Math[_0x7ef548(0x144)](0x1,_0xf90de9[_0x7ef548(0x11d)])+_0x35a715,'displayName':[_0x22a2fa,(_0x2ed7ba=_0x3053db(_0x1a2517==null?void 0x0:_0x1a2517[_0x1480a0]))==null?void 0x0:_0x2ed7ba['name']][_0x7ef548(0x157)](_0x1397e7=>typeof _0x1397e7==_0x7ef548(0x14e)&&_0x1397e7['length']>0x0)[_0x7ef548(0x166)]('\x20·\x20'),'value':_0xaf640e[_0x1480a0]}]:[];});});}function Q(_0x477bca,_0x2fd933){const _0x239cda=_0x166a3a;let _0x205e69=_0x477bca??{},_0x4bcebb=Array[_0x239cda(0x108)](_0x2fd933)?_0x2fd933[_0x239cda(0x157)](_0x5b0b8d=>typeof _0x5b0b8d=='string'&&_0x5b0b8d in _0x205e69):[],_0x211f62=new Set(_0x4bcebb);return[..._0x4bcebb,...Object[_0x239cda(0x164)](_0x205e69)[_0x239cda(0x157)](_0x1fb39c=>!_0x211f62[_0x239cda(0x158)](_0x1fb39c))];}let $=class extends _0x4bd8cd{constructor(_0x1b0204=S,_0x3ef9cf,_0x5317de){const _0x352e37=_0x166a3a;super(),this['_config']=_0x1b0204,this[_0x352e37(0x170)]=_0x3ef9cf,this['_configService']=_0x5317de;let {..._0x50287c}=_0x5ac915({},S,this['_config']);this[_0x352e37(0x169)][_0x352e37(0x13c)](_0x352e37(0x135),_0x50287c);}[_0x166a3a(0x13e)](){const _0x34d8e2=_0x166a3a;_0x1eb0f7(this[_0x34d8e2(0x170)],[[R],[K]]),this[_0x34d8e2(0x16f)](this[_0x34d8e2(0x170)][_0x34d8e2(0x124)](_0x39dd50)['register'](this[_0x34d8e2(0x170)]['get'](K)));}};H($,_0x166a3a(0x115),_0x166a3a(0x11a)),H($,_0x166a3a(0x133),b),H($,'version',x),H($,_0x166a3a(0x153),_0x33632e[_0x166a3a(0x131)]),$=L([_0x44ef56(_0xb048ad,_0x24e3d8,_0x52eced),I(0x1,_0x34725c(_0x494cd2)),I(0x2,_0x25a06b)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x252267=_0x576a;(function(_0x1e6ff1,_0x3e737f){const _0xd5dbf3=_0x576a,_0x1f65fd=_0x1e6ff1();while(!![]){try{const _0x135de2=parseInt(_0xd5dbf3(0x221))/0x1+parseInt(_0xd5dbf3(0x223))/0x2+parseInt(_0xd5dbf3(0x23e))/0x3*(-parseInt(_0xd5dbf3(0x237))/0x4)+parseInt(_0xd5dbf3(0x212))/0x5*(-parseInt(_0xd5dbf3(0x220))/0x6)+-parseInt(_0xd5dbf3(0x23a))/0x7*(parseInt(_0xd5dbf3(0x200))/0x8)+-parseInt(_0xd5dbf3(0x1e3))/0x9*(parseInt(_0xd5dbf3(0x20c))/0xa)+parseInt(_0xd5dbf3(0x235))/0xb;if(_0x135de2===_0x3e737f)break;else _0x1f65fd['push'](_0x1f65fd['shift']());}catch(_0xdce889){_0x1f65fd['push'](_0x1f65fd['shift']());}}}(_0x3dfa,0x1d6ce));import{UniverBasesPlugin as _0x254873}from'@univerjs-pro/bases';import{HistoryMutationService as _0x4082b9,UnitComparisonAdapterRegistryService as _0x2bfb0c,UnitComparisonEntityType as _0x43950f,UniverEditHistoryPlugin as _0x4f2d4e,asRecord as _0x4e6452,buildScopedUnitComparison as _0x2cdea,buildSemanticComparisonItems as _0x5e8681,recordComparisonEntries as _0x525a8f,withoutComparisonKeys as _0x1b6530}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0x23e6e8}from'@univerjs-pro/license';import{DependentOn as _0x336f9b,IConfigService as _0x19ae82,Inject as _0x2de638,Injector as _0xb40961,JSON1 as _0x227244,Plugin as _0x1ff602,UniverInstanceType as _0x420197,merge as _0x3a6efd,registerDependencies as _0xd25181}from'@univerjs/core';var b='@univerjs-pro/bases-history',x=_0x252267(0x1e1);const S={},ee=[_0x252267(0x215),'fieldOrder',_0x252267(0x24a),_0x252267(0x24b),'rowId',_0x252267(0x236),'colId',_0x252267(0x233)];function C(_0x266012){const _0x5e7548=_0x252267;let _0x21726d=null,_0x3dfcd=null,_0x47d041=_0x266012[_0x5e7548(0x1dd)]((_0x24ef12,_0x35efc7)=>({'entry':_0x24ef12,'index':_0x35efc7}))[_0x5e7548(0x1e8)]((_0x486878,_0x4026de)=>_0x486878[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]-_0x4026de[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]||_0x486878[_0x5e7548(0x245)]-_0x4026de[_0x5e7548(0x245)]);for(let {entry:_0x4ab5ad}of _0x47d041)P(_0x4ab5ad[_0x5e7548(0x22c)][_0x5e7548(0x207)])&&(_0x21726d=_0x21726d===null?_0x4ab5ad['mutation'][_0x5e7548(0x207)]['op']:_0x227244[_0x5e7548(0x226)][_0x5e7548(0x1df)](_0x21726d,_0x4ab5ad[_0x5e7548(0x22c)]['params']['op']),_0x3dfcd=_0x4ab5ad);if(_0x21726d===null||_0x3dfcd===null)return[];let _0x1144c1=j(_0x21726d)[_0x5e7548(0x1f2)](_0x2aab8e=>!te(_0x2aab8e)),_0x303e9b=k(_0x1144c1,_0x5e7548(0x215)),_0x262573=k(_0x1144c1,_0x5e7548(0x20f));return _0x1144c1[_0x5e7548(0x1fb)]((_0x32ee15,_0x5f267a)=>{const _0x33fb96=_0x5e7548;let _0x2be54e=O(_0x32ee15[_0x33fb96(0x1eb)]);if(!_0x2be54e)return[];let _0x3ea9de=w(_0x32ee15,_0x2be54e);return[{'id':_0x3dfcd['revision']+':'+_0x5f267a,'kind':_0x3ea9de,'label':_0x2be54e[_0x33fb96(0x21e)],'memberId':_0x3dfcd['memberId'],'tableId':_0x2be54e[_0x33fb96(0x1f4)],'viewId':_0x2be54e[_0x33fb96(0x246)],'recordId':_0x2be54e[_0x33fb96(0x253)],'recordIndex':_0x2be54e[_0x33fb96(0x253)]?_0x303e9b['get'](_0x2be54e['recordId']):void 0x0,'removedRecord':_0x3ea9de===_0x33fb96(0x1f6)?ne(_0x32ee15,_0x2be54e):void 0x0,'fieldId':_0x2be54e[_0x33fb96(0x1ef)],'fieldIndex':_0x2be54e['fieldId']?_0x262573[_0x33fb96(0x208)](_0x2be54e[_0x33fb96(0x1ef)]):void 0x0}];});}function _0x576a(_0x4fa944,_0x948f24){_0x4fa944=_0x4fa944-0x1dd;const _0x3dfa30=_0x3dfa();let _0x576a18=_0x3dfa30[_0x4fa944];return _0x576a18;}function w(_0x2303f1,_0x4f9c4d){const _0x41a8c2=_0x252267;if(!E(_0x2303f1[_0x41a8c2(0x1eb)],_0x4f9c4d))return _0x41a8c2(0x23b);let _0x5e77c2=Object['prototype'][_0x41a8c2(0x234)][_0x41a8c2(0x1e4)](_0x2303f1[_0x41a8c2(0x1f0)],'i'),_0x3d06bd=Object['prototype'][_0x41a8c2(0x234)]['call'](_0x2303f1[_0x41a8c2(0x1f0)],'r');return _0x5e77c2&&!_0x3d06bd?_0x41a8c2(0x250):_0x3d06bd&&!_0x5e77c2?_0x41a8c2(0x1f6):'update';}function te(_0x3354ef){const _0x379989=_0x252267;return Object['prototype'][_0x379989(0x234)][_0x379989(0x1e4)](_0x3354ef[_0x379989(0x1f0)],'i')&&Object[_0x379989(0x243)]['hasOwnProperty'][_0x379989(0x1e4)](_0x3354ef['value'],'r')&&T(_0x3354ef['value']['i'],_0x3354ef[_0x379989(0x1f0)]['r']);}function T(_0x16ce31,_0x5e7f1c){const _0x3cabb7=_0x252267;if(_0x16ce31===_0x5e7f1c)return!0x0;if(Array[_0x3cabb7(0x1fc)](_0x16ce31)||Array[_0x3cabb7(0x1fc)](_0x5e7f1c))return Array['isArray'](_0x16ce31)&&Array[_0x3cabb7(0x1fc)](_0x5e7f1c)&&_0x16ce31['length']===_0x5e7f1c[_0x3cabb7(0x210)]&&_0x16ce31[_0x3cabb7(0x249)]((_0x1197dc,_0xec7e78)=>T(_0x1197dc,_0x5e7f1c[_0xec7e78]));if(!F(_0x16ce31)||!F(_0x5e7f1c))return!0x1;let _0x1a81e3=Object[_0x3cabb7(0x244)](_0x16ce31),_0x11209f=Object[_0x3cabb7(0x244)](_0x5e7f1c);return _0x1a81e3[_0x3cabb7(0x210)]===_0x11209f[_0x3cabb7(0x210)]&&_0x1a81e3['every'](_0x24725f=>Object[_0x3cabb7(0x243)][_0x3cabb7(0x234)]['call'](_0x5e7f1c,_0x24725f)&&T(_0x16ce31[_0x24725f],_0x5e7f1c[_0x24725f]));}function E(_0x1392a7,_0x212ee3){const _0x475e37=_0x252267;return _0x212ee3[_0x475e37(0x1f4)]?_0x212ee3[_0x475e37(0x253)]&&_0x212ee3['fieldId']?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x228),_0x212ee3['recordId'],'values',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x253)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],'records',_0x212ee3[_0x475e37(0x253)]]):_0x212ee3['fieldId']?D(_0x1392a7,['tables',_0x212ee3[_0x475e37(0x1f4)],'fields',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x246)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x1f3),_0x212ee3[_0x475e37(0x246)]]):D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)]]):!0x1;}function D(_0x29afc5,_0x359a6d){const _0x4ef5bc=_0x252267;return _0x29afc5[_0x4ef5bc(0x210)]===_0x359a6d[_0x4ef5bc(0x210)]&&_0x29afc5['every']((_0x432448,_0x25fb3c)=>_0x432448===_0x359a6d[_0x25fb3c]);}function O(_0x32d2ff){const _0x20ec9a=_0x252267;let _0x371aa1=_0x32d2ff['indexOf'](_0x20ec9a(0x238)),_0x407a46=_0x32d2ff[_0x371aa1+0x1];if(_0x371aa1<0x0||typeof _0x407a46!=_0x20ec9a(0x21d))return null;let _0x12ba5e=_0x32d2ff[_0x371aa1+0x2],_0x1aa392=_0x32d2ff[_0x371aa1+0x3];if(_0x12ba5e===_0x20ec9a(0x228)&&typeof _0x1aa392==_0x20ec9a(0x21d)){let _0x251e9a=_0x32d2ff[_0x371aa1+0x4],_0x3314e8=_0x32d2ff[_0x371aa1+0x5];return _0x251e9a==='values'&&typeof _0x3314e8==_0x20ec9a(0x21d)?{'label':'base:cell','tableId':_0x407a46,'recordId':_0x1aa392,'fieldId':_0x3314e8}:_0x251e9a===_0x20ec9a(0x225)||_0x251e9a===_0x20ec9a(0x1fe)?null:{'label':_0x20ec9a(0x22d),'tableId':_0x407a46,'recordId':_0x1aa392};}return _0x12ba5e==='fields'&&typeof _0x1aa392=='string'?{'label':_0x20ec9a(0x1de),'tableId':_0x407a46,'fieldId':_0x1aa392}:_0x12ba5e==='views'&&typeof _0x1aa392==_0x20ec9a(0x21d)?{'label':'base:view','tableId':_0x407a46,'viewId':_0x1aa392}:ee[_0x20ec9a(0x24d)](_0x1ca65e=>_0x1ca65e===_0x12ba5e)?null:{'label':_0x12ba5e===void 0x0?_0x20ec9a(0x1e7):_0x20ec9a(0x216),'tableId':_0x407a46};}function k(_0x37b084,_0x2fa59c){let _0x511af1=new Map();return _0x37b084['forEach'](_0x464efb=>{const _0x529598=_0x576a;let _0x17ed22=_0x464efb[_0x529598(0x1eb)][_0x529598(0x20a)](_0x2fa59c),_0x2c47e9=_0x464efb['path'][_0x17ed22+0x1],_0x55f645=_0x464efb['value']['r'];if(_0x17ed22>=0x0&&typeof _0x2c47e9==_0x529598(0x219)&&typeof _0x55f645==_0x529598(0x21d)){_0x511af1[_0x529598(0x22e)](_0x55f645,_0x2c47e9);return;}if(_0x17ed22!==_0x464efb[_0x529598(0x1eb)]['length']-0x1||!Array[_0x529598(0x1fc)](_0x55f645))return;let _0x5699a2=new Set(Array[_0x529598(0x1fc)](_0x464efb[_0x529598(0x1f0)]['i'])?_0x464efb[_0x529598(0x1f0)]['i'][_0x529598(0x1f2)](_0x337bfd=>typeof _0x337bfd==_0x529598(0x21d)):[]);_0x55f645[_0x529598(0x230)]((_0x4393c8,_0x1375a2)=>{const _0x3f3edc=_0x529598;typeof _0x4393c8==_0x3f3edc(0x21d)&&!_0x5699a2[_0x3f3edc(0x229)](_0x4393c8)&&_0x511af1[_0x3f3edc(0x22e)](_0x4393c8,_0x1375a2);});}),_0x511af1;}function ne(_0x392565,_0x5f3393){const _0xbce212=_0x252267;if(_0x5f3393[_0xbce212(0x253)]&&!_0x5f3393[_0xbce212(0x1ef)]&&E(_0x392565[_0xbce212(0x1eb)],_0x5f3393))return A(_0x392565[_0xbce212(0x1f0)]['r'])?_0x392565['value']['r']:void 0x0;}function A(_0x363c13){const _0x3ffc2c=_0x252267;return F(_0x363c13)&&typeof _0x363c13['id']==_0x3ffc2c(0x21d)&&F(_0x363c13[_0x3ffc2c(0x23f)])&&typeof _0x363c13[_0x3ffc2c(0x209)]==_0x3ffc2c(0x21d)&&typeof _0x363c13[_0x3ffc2c(0x1f1)]==_0x3ffc2c(0x219)&&typeof _0x363c13[_0x3ffc2c(0x225)]=='number';}function j(_0x20b230){let _0x39e720=[];return M(_0x20b230,[],_0x39e720),_0x39e720;}function M(_0x4cb651,_0x43dba6,_0x2cd715){const _0x3b79c1=_0x252267;if(!Array[_0x3b79c1(0x1fc)](_0x4cb651))return;let _0x58642f=[];_0x4cb651[_0x3b79c1(0x230)](_0x357e70=>{const _0x10230f=_0x3b79c1;if(Array[_0x10230f(0x1fc)](_0x357e70)){M(_0x357e70,[..._0x43dba6,..._0x58642f],_0x2cd715);return;}if(N(_0x357e70)){_0x2cd715['push']({'path':[..._0x43dba6,..._0x58642f],'value':_0x357e70});return;}(typeof _0x357e70==_0x10230f(0x21d)||typeof _0x357e70=='number')&&_0x58642f[_0x10230f(0x1ed)](_0x357e70);});}function N(_0x78a740){const _0x1e9da5=_0x252267;return F(_0x78a740)&&['i','r','p','d','es',_0x1e9da5(0x21f),'et'][_0x1e9da5(0x24d)](_0x206eaa=>Object[_0x1e9da5(0x243)][_0x1e9da5(0x234)][_0x1e9da5(0x1e4)](_0x78a740,_0x206eaa));}function P(_0x20ef0b){const _0x31d889=_0x252267;return typeof _0x20ef0b==_0x31d889(0x214)&&!!_0x20ef0b&&'op'in _0x20ef0b&&Array[_0x31d889(0x1fc)](_0x20ef0b['op']);}function F(_0x412e01){const _0x14fdb1=_0x252267;return typeof _0x412e01==_0x14fdb1(0x214)&&!!_0x412e01;}function I(_0x5241d4,_0x1840f4){return function(_0x2c305c,_0x1d3368){_0x1840f4(_0x2c305c,_0x1d3368,_0x5241d4);};}function L(_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a){const _0x1a9397=_0x252267;var _0x2ea1f7=arguments[_0x1a9397(0x210)],_0x456e7d=_0x2ea1f7<0x3?_0x29aaf3:_0x342b4a===null?_0x342b4a=Object[_0x1a9397(0x22b)](_0x29aaf3,_0x4cf6e8):_0x342b4a,_0x2e96b5;if(typeof Reflect==_0x1a9397(0x214)&&typeof Reflect[_0x1a9397(0x1e0)]=='function')_0x456e7d=Reflect[_0x1a9397(0x1e0)](_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a);else{for(var _0x3af90c=_0x1d59d5[_0x1a9397(0x210)]-0x1;_0x3af90c>=0x0;_0x3af90c--)(_0x2e96b5=_0x1d59d5[_0x3af90c])&&(_0x456e7d=(_0x2ea1f7<0x3?_0x2e96b5(_0x456e7d):_0x2ea1f7>0x3?_0x2e96b5(_0x29aaf3,_0x4cf6e8,_0x456e7d):_0x2e96b5(_0x29aaf3,_0x4cf6e8))||_0x456e7d);}return _0x2ea1f7>0x3&&_0x456e7d&&Object['defineProperty'](_0x29aaf3,_0x4cf6e8,_0x456e7d),_0x456e7d;}let R=class{constructor(_0x13e9dd){const _0x1690f9=_0x252267;this[_0x1690f9(0x247)]=_0x13e9dd;}async[_0x252267(0x1fa)](_0x2e1cbe,_0x319e43){const _0x35cb9b=_0x252267;return C(await this[_0x35cb9b(0x247)][_0x35cb9b(0x1ec)](_0x2e1cbe,_0x319e43));}};R=L([I(0x0,_0x2de638(_0x4082b9))],R);function z(_0x428fd5){'@babel/helpers - typeof';const _0x30019e=_0x252267;return z=typeof Symbol==_0x30019e(0x218)&&typeof Symbol[_0x30019e(0x1f9)]==_0x30019e(0x248)?function(_0x59a9fb){return typeof _0x59a9fb;}:function(_0x9f4ffb){const _0x2bf932=_0x30019e;return _0x9f4ffb&&typeof Symbol==_0x2bf932(0x218)&&_0x9f4ffb[_0x2bf932(0x20b)]===Symbol&&_0x9f4ffb!==Symbol[_0x2bf932(0x243)]?_0x2bf932(0x248):typeof _0x9f4ffb;},z(_0x428fd5);}function B(_0x226092,_0x5aad3a){const _0x52f08f=_0x252267;if(z(_0x226092)!='object'||!_0x226092)return _0x226092;var _0x5f24c3=_0x226092[Symbol[_0x52f08f(0x24e)]];if(_0x5f24c3!==void 0x0){var _0x4c01d8=_0x5f24c3['call'](_0x226092,_0x5aad3a||'default');if(z(_0x4c01d8)!=_0x52f08f(0x214))return _0x4c01d8;throw TypeError(_0x52f08f(0x204));}return(_0x5aad3a===_0x52f08f(0x21d)?String:Number)(_0x226092);}function V(_0x12c042){const _0x12c177=_0x252267;var _0x10e904=B(_0x12c042,_0x12c177(0x21d));return z(_0x10e904)=='symbol'?_0x10e904:_0x10e904+'';}function H(_0x1633d7,_0x1c8397,_0x20db0e){const _0x5dd291=_0x252267;return(_0x1c8397=V(_0x1c8397))in _0x1633d7?Object[_0x5dd291(0x23c)](_0x1633d7,_0x1c8397,{'value':_0x20db0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1633d7[_0x1c8397]=_0x20db0e,_0x1633d7;}const U=[_0x252267(0x23d),'createdAt','updatedAt'],W=[_0x43950f[_0x252267(0x222)],_0x43950f['TABLE'],_0x43950f[_0x252267(0x231)],_0x43950f['RECORD'],_0x43950f[_0x252267(0x1e2)],_0x43950f[_0x252267(0x202)]],G=_0x1b6530('fields',_0x252267(0x20f),'records',_0x252267(0x215),_0x252267(0x1f3),_0x252267(0x24a),'cellData',_0x252267(0x1fd),_0x252267(0x236),_0x252267(0x22f),_0x252267(0x24b),...U);var K=class{constructor(){const _0x1746a3=_0x252267;H(this,'type',_0x420197[_0x1746a3(0x24c)]);}[_0x252267(0x1fa)](_0x3325d0){const _0x43b57a=_0x252267;let _0x4223dc=_0x4e6452(_0x3325d0[_0x43b57a(0x205)]),_0x15d0c7=_0x4e6452(_0x3325d0[_0x43b57a(0x1e9)]),_0x2f4520=_0x4e6452(_0x4223dc==null?void 0x0:_0x4223dc[_0x43b57a(0x238)]),_0x550132=_0x4e6452(_0x15d0c7==null?void 0x0:_0x15d0c7['tables']),_0x6726ef=new Set([...Object[_0x43b57a(0x244)](_0x2f4520??{}),...Object[_0x43b57a(0x244)](_0x550132??{})]),_0x376ff3=_0x525a8f(_0x2f4520,_0x4223dc==null?void 0x0:_0x4223dc['tableOrder'],G),_0x97c263=_0x525a8f(_0x550132,_0x15d0c7==null?void 0x0:_0x15d0c7[_0x43b57a(0x213)],G),_0x4ed3d2=[..._0x5e8681({'entityType':_0x43950f['BASE'],'left':_0x4223dc===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),_0x43b57a(0x213),'resources',...U)(_0x4223dc)}],'right':_0x15d0c7===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),'tableOrder',_0x43b57a(0x1ff),...U)(_0x15d0c7)}]}),..._0x5e8681({'entityType':_0x43950f[_0x43b57a(0x1ee)],'left':_0x376ff3,'right':_0x97c263}),...[..._0x6726ef][_0x43b57a(0x1fb)](_0x402813=>q(_0x402813,_0x2f4520,_0x550132))],_0x4ca264=_0x2cdea({'entityType':_0x43950f['TABLE'],'items':_0x4ed3d2,'left':_0x376ff3,'right':_0x97c263});return{'items':_0x4ca264[_0x43b57a(0x241)],'supportedEntityTypes':W,'scopes':_0x4ca264[_0x43b57a(0x1f7)],'productContext':{'type':_0x420197['UNIVER_BASE'],'visualProjection':_0x43b57a(0x203)}};}};function q(_0x1a9b04,_0x5726bf,_0x36b120){const _0x35480f=_0x252267;let _0x24f610=_0x4e6452(_0x5726bf==null?void 0x0:_0x5726bf[_0x1a9b04])??{},_0x14e324=_0x4e6452(_0x36b120==null?void 0x0:_0x36b120[_0x1a9b04])??{},_0x1335f5=_0x4e6452(_0x24f610['fields']),_0x377b36=_0x4e6452(_0x14e324[_0x35480f(0x206)]),_0x39c61c=_0x4e6452(_0x24f610[_0x35480f(0x228)]),_0x1f8c31=_0x4e6452(_0x14e324[_0x35480f(0x228)]);return[...J(_0x43950f[_0x35480f(0x231)],_0x1a9b04,_0x1335f5,_0x377b36,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x1b6530(...U)),...J(_0x43950f['RECORD'],_0x1a9b04,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x215)],_0x14e324['recordOrder'],_0x1b6530('values',_0x35480f(0x209),...U)),...J(_0x43950f['VIEW'],_0x1a9b04,_0x24f610[_0x35480f(0x1f3)],_0x14e324['views'],_0x24f610[_0x35480f(0x24a)],_0x14e324[_0x35480f(0x24a)],_0x1b6530(_0x35480f(0x209),...U)),...Y(_0x1a9b04,_0x1335f5,_0x377b36,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x24f610[_0x35480f(0x215)],_0x14e324[_0x35480f(0x215)],_0x24f610[_0x35480f(0x224)],_0x14e324['primaryFieldId'])];}function J(_0x182ce2,_0x38080b,_0x1f4e42,_0x3b6769,_0x4f28ef,_0x2e27d2,_0x5d0488){return _0x5e8681({'entityType':_0x182ce2,'parentStableId':_0x38080b,'left':_0x525a8f(_0x1f4e42,_0x4f28ef,_0x5d0488),'right':_0x525a8f(_0x3b6769,_0x2e27d2,_0x5d0488)});}function Y(_0x49fbe4,_0x30d825,_0x4b7b4a,_0x2a366d,_0x5f3b0a,_0x287367,_0x48fe82,_0x1489c2,_0xc38e67,_0x582f40,_0x1e37ef){const _0x2d10a8=_0x252267;let _0x5a4781=Z(_0x30d825,_0x2a366d,_0x287367,_0x1489c2,_0x582f40),_0x292700=Z(_0x4b7b4a,_0x5f3b0a,_0x48fe82,_0xc38e67,_0x1e37ef),_0x4a812a=new Map(_0x5a4781[_0x2d10a8(0x1dd)](_0x565456=>[_0x565456[_0x2d10a8(0x201)],_0x565456])),_0x2a91a3=new Map(_0x292700[_0x2d10a8(0x1dd)](_0x102219=>[_0x102219[_0x2d10a8(0x201)],_0x102219]));return _0x5e8681({'entityType':_0x43950f['CELL'],'parentStableId':_0x49fbe4,'left':_0x5a4781,'right':_0x292700})[_0x2d10a8(0x1dd)](_0x58a0b2=>({..._0x58a0b2,'locations':{'left':X(_0x58a0b2[_0x2d10a8(0x242)][_0x2d10a8(0x1f8)],_0x4a812a[_0x2d10a8(0x208)](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4),'right':X(_0x58a0b2[_0x2d10a8(0x242)]['right'],_0x2a91a3['get'](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4)}}));}function X(_0x824f1,_0x372317,_0x3a2b92){const _0xc1b3d5=_0x252267;if(_0x824f1===null||_0x372317===void 0x0)return null;let _0x29a398=_0x824f1[_0xc1b3d5(0x22a)];return(_0x29a398==null?void 0x0:_0x29a398['kind'])==='entity'?{..._0x824f1,'parentStableId':_0x372317[_0xc1b3d5(0x253)],'target':{..._0x29a398,'kind':_0xc1b3d5(0x240),'tableId':_0x3a2b92,'recordId':_0x372317[_0xc1b3d5(0x253)],'fieldId':_0x372317[_0xc1b3d5(0x1ef)]}}:_0x824f1;}function Z(_0x438cd6,_0xcdfcc4,_0xbed51,_0x1b7dac,_0x121000){const _0x516d35=_0x252267;let _0x49c6ec=Q(_0x438cd6,_0xbed51);return Q(_0xcdfcc4,_0x1b7dac)[_0x516d35(0x1fb)]((_0xea4a24,_0x364c91)=>{const _0x5572de=_0x516d35;var _0x4da932;let _0xa7f2f0=_0x4e6452((_0x4da932=_0x4e6452(_0xcdfcc4==null?void 0x0:_0xcdfcc4[_0xea4a24]))==null?void 0x0:_0x4da932[_0x5572de(0x23f)]);if(_0xa7f2f0===void 0x0)return[];let _0x4ceae8=typeof _0x121000==_0x5572de(0x21d)?_0xa7f2f0[_0x121000]:void 0x0,_0x1241b=typeof _0x4ceae8==_0x5572de(0x21d)||typeof _0x4ceae8==_0x5572de(0x219)?String(_0x4ceae8):void 0x0;return _0x49c6ec['flatMap']((_0x2016e7,_0x380738)=>{const _0x480d6f=_0x5572de;var _0x4d4f1e;return _0x2016e7 in _0xa7f2f0?[{'stableId':_0xea4a24+':'+_0x2016e7,'recordId':_0xea4a24,'fieldId':_0x2016e7,'position':_0x364c91*Math[_0x480d6f(0x211)](0x1,_0x49c6ec[_0x480d6f(0x210)])+_0x380738,'displayName':[_0x1241b,(_0x4d4f1e=_0x4e6452(_0x438cd6==null?void 0x0:_0x438cd6[_0x2016e7]))==null?void 0x0:_0x4d4f1e[_0x480d6f(0x239)]][_0x480d6f(0x1f2)](_0x395de7=>typeof _0x395de7==_0x480d6f(0x21d)&&_0x395de7[_0x480d6f(0x210)]>0x0)[_0x480d6f(0x21c)](_0x480d6f(0x20d)),'value':_0xa7f2f0[_0x2016e7]}]:[];});});}function Q(_0x5c70c4,_0x195906){const _0x19afb2=_0x252267;let _0x1f8dfd=_0x5c70c4??{},_0x48ab41=Array['isArray'](_0x195906)?_0x195906[_0x19afb2(0x1f2)](_0xc06afb=>typeof _0xc06afb==_0x19afb2(0x21d)&&_0xc06afb in _0x1f8dfd):[],_0x26d5d3=new Set(_0x48ab41);return[..._0x48ab41,...Object[_0x19afb2(0x244)](_0x1f8dfd)[_0x19afb2(0x1f2)](_0x28c07b=>!_0x26d5d3[_0x19afb2(0x229)](_0x28c07b))];}let $=class extends _0x1ff602{constructor(_0x42c148=S,_0x397844,_0x4452b5){const _0x341465=_0x252267;super(),this[_0x341465(0x227)]=_0x42c148,this[_0x341465(0x254)]=_0x397844,this[_0x341465(0x251)]=_0x4452b5;let {..._0x4b3393}=_0x3a6efd({},S,this[_0x341465(0x227)]);this[_0x341465(0x251)][_0x341465(0x1ea)](_0x341465(0x232),_0x4b3393);}[_0x252267(0x217)](){const _0x5672db=_0x252267;_0xd25181(this[_0x5672db(0x254)],[[R],[K]]),this[_0x5672db(0x252)](this['_injector']['get'](_0x2bfb0c)[_0x5672db(0x24f)](this[_0x5672db(0x254)]['get'](K)));}};function _0x3dfa(){const _0x39eb04=['2004219ySjPxN','call','revision','base','base:table','sort','rightData','setConfig','path','load','push','TABLE','fieldId','value','createdAt','filter','views','tableId','entry','delete','scopes','left','iterator','compare','flatMap','isArray','colId','updatedBy','resources','16mCDzrz','stableId','CELL','raw-table-data','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','leftData','fields','params','get','orderKey','indexOf','constructor','10BBxaum','\x20·\x20','pluginName','fieldOrder','length','max','210VQrgYQ','tableOrder','object','recordOrder','base:unknown','onStarting','function','number','packageName','UNIVER_BASES_HISTORY_PLUGIN','join','string','label','ena','28884gZZLpW','99207vNAmlm','BASE','36566frAHZW','primaryFieldId','updatedAt','type','_config','records','has','target','getOwnPropertyDescriptor','mutation','base:record','set','rowId','forEach','FIELD','bases-history.config','cellData','hasOwnProperty','7018880VVKpGf','colIndex','4hDxOoe','tables','name','641242cUnvsY','update','defineProperty','rev','80859gjHStX','values','base-cell','items','locations','prototype','keys','index','viewId','_mutationService','symbol','every','viewOrder','rowIndex','UNIVER_BASE','some','toPrimitive','register','insert','_configService','disposeWithMe','recordId','_injector','map','base:field','compose','decorate','1.0.1','VIEW'];_0x3dfa=function(){return _0x39eb04;};return _0x3dfa();}H($,_0x252267(0x20e),_0x252267(0x21b)),H($,_0x252267(0x21a),b),H($,'version',x),H($,'type',_0x420197[_0x252267(0x24c)]),$=L([_0x336f9b(_0x23e6e8,_0x4f2d4e,_0x254873),I(0x1,_0x2de638(_0xb40961)),I(0x2,_0x19ae82)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
1
+ const _0x166a3a=_0x332c;(function(_0x4d74f5,_0xcfe81f){const _0xd7af27=_0x332c,_0x54261c=_0x4d74f5();while(!![]){try{const _0x95be69=-parseInt(_0xd7af27(0x15c))/0x1*(-parseInt(_0xd7af27(0x114))/0x2)+-parseInt(_0xd7af27(0x16b))/0x3*(-parseInt(_0xd7af27(0x143))/0x4)+parseInt(_0xd7af27(0x138))/0x5+parseInt(_0xd7af27(0x10e))/0x6*(parseInt(_0xd7af27(0x175))/0x7)+parseInt(_0xd7af27(0x11b))/0x8*(-parseInt(_0xd7af27(0x118))/0x9)+parseInt(_0xd7af27(0x106))/0xa+-parseInt(_0xd7af27(0x16a))/0xb;if(_0x95be69===_0xcfe81f)break;else _0x54261c['push'](_0x54261c['shift']());}catch(_0x3a15b4){_0x54261c['push'](_0x54261c['shift']());}}}(_0x5dd1,0x4130e));import{UniverBasesPlugin as _0x52eced}from'@univerjs-pro/bases';import{HistoryMutationService as _0x2b76ad,UnitComparisonAdapterRegistryService as _0x39dd50,UnitComparisonEntityType as _0x37d673,UniverEditHistoryPlugin as _0x24e3d8,asRecord as _0x3053db,buildScopedUnitComparison as _0x1497cb,buildSemanticComparisonItems as _0x2be7c6,recordComparisonEntries as _0x6a171a,withoutComparisonKeys as _0x2bc6d3}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0xb048ad}from'@univerjs-pro/license';import{DependentOn as _0x44ef56,IConfigService as _0x25a06b,Inject as _0x34725c,Injector as _0x494cd2,JSON1 as _0x376917,Plugin as _0x4bd8cd,UniverInstanceType as _0x33632e,merge as _0x5ac915,registerDependencies as _0x1eb0f7}from'@univerjs/core';var b=_0x166a3a(0x141),x=_0x166a3a(0x112);const S={},ee=['recordOrder','fieldOrder',_0x166a3a(0x146),_0x166a3a(0x126),_0x166a3a(0x161),'colIndex',_0x166a3a(0x136),_0x166a3a(0x122)];function C(_0x2ac748){const _0x4e20e1=_0x166a3a;let _0x3af4bd=null,_0x108bf8=null,_0x1379dd=_0x2ac748[_0x4e20e1(0x110)]((_0x3a629c,_0x477feb)=>({'entry':_0x3a629c,'index':_0x477feb}))[_0x4e20e1(0x165)]((_0x518ac7,_0x468caa)=>_0x518ac7[_0x4e20e1(0x150)]['revision']-_0x468caa[_0x4e20e1(0x150)][_0x4e20e1(0x168)]||_0x518ac7[_0x4e20e1(0x145)]-_0x468caa[_0x4e20e1(0x145)]);for(let {entry:_0x1cba3a}of _0x1379dd)P(_0x1cba3a[_0x4e20e1(0x16d)][_0x4e20e1(0x14a)])&&(_0x3af4bd=_0x3af4bd===null?_0x1cba3a['mutation'][_0x4e20e1(0x14a)]['op']:_0x376917[_0x4e20e1(0x153)]['compose'](_0x3af4bd,_0x1cba3a[_0x4e20e1(0x16d)]['params']['op']),_0x108bf8=_0x1cba3a);if(_0x3af4bd===null||_0x108bf8===null)return[];let _0xa1b9d7=j(_0x3af4bd)[_0x4e20e1(0x157)](_0x3d94de=>!te(_0x3d94de)),_0x8a8f82=k(_0xa1b9d7,_0x4e20e1(0x160)),_0x48d760=k(_0xa1b9d7,_0x4e20e1(0x15a));return _0xa1b9d7[_0x4e20e1(0x10a)]((_0x5f4609,_0x58c3c1)=>{const _0x4f141a=_0x4e20e1;let _0x2c550d=O(_0x5f4609[_0x4f141a(0x154)]);if(!_0x2c550d)return[];let _0x10b663=w(_0x5f4609,_0x2c550d);return[{'id':_0x108bf8[_0x4f141a(0x168)]+':'+_0x58c3c1,'kind':_0x10b663,'label':_0x2c550d['label'],'memberId':_0x108bf8['memberId'],'tableId':_0x2c550d[_0x4f141a(0x174)],'viewId':_0x2c550d[_0x4f141a(0x125)],'recordId':_0x2c550d['recordId'],'recordIndex':_0x2c550d[_0x4f141a(0x14c)]?_0x8a8f82[_0x4f141a(0x124)](_0x2c550d[_0x4f141a(0x14c)]):void 0x0,'removedRecord':_0x10b663===_0x4f141a(0x15e)?ne(_0x5f4609,_0x2c550d):void 0x0,'fieldId':_0x2c550d['fieldId'],'fieldIndex':_0x2c550d[_0x4f141a(0x123)]?_0x48d760[_0x4f141a(0x124)](_0x2c550d[_0x4f141a(0x123)]):void 0x0}];});}function w(_0x14b888,_0x8d6a04){const _0x2c560c=_0x166a3a;if(!E(_0x14b888[_0x2c560c(0x154)],_0x8d6a04))return'update';let _0x431bc2=Object['prototype'][_0x2c560c(0x13b)][_0x2c560c(0x11f)](_0x14b888[_0x2c560c(0x162)],'i'),_0x27e44d=Object[_0x2c560c(0x14f)][_0x2c560c(0x13b)][_0x2c560c(0x11f)](_0x14b888[_0x2c560c(0x162)],'r');return _0x431bc2&&!_0x27e44d?_0x2c560c(0x149):_0x27e44d&&!_0x431bc2?_0x2c560c(0x15e):_0x2c560c(0x142);}function te(_0x5e714e){const _0x4c7a89=_0x166a3a;return Object['prototype'][_0x4c7a89(0x13b)][_0x4c7a89(0x11f)](_0x5e714e[_0x4c7a89(0x162)],'i')&&Object[_0x4c7a89(0x14f)][_0x4c7a89(0x13b)]['call'](_0x5e714e[_0x4c7a89(0x162)],'r')&&T(_0x5e714e['value']['i'],_0x5e714e[_0x4c7a89(0x162)]['r']);}function _0x5dd1(){const _0x5526c3=['tableOrder','flatMap','object','colIndex','indexOf','540rSrcVe','rev','map','number','1.0.2','rightData','2706qNShys','pluginName','some','every','126fbDnMg','push','UNIVER_BASES_HISTORY_PLUGIN','112568kEHDQU','raw-table-data','length','CELL','call','records','decorate','cellData','fieldId','get','viewId','rowIndex','forEach','right','_mutationService','values','leftData','updatedAt','createdAt','load','base:record','set','UNIVER_BASE','BASE','packageName','function','bases-history.config','colId','RECORD','2079875LrfiRx','target','getOwnPropertyDescriptor','hasOwnProperty','setConfig','default','onStarting','entity','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/bases-history','update','530592YVRofu','max','index','viewOrder','base-cell','orderKey','insert','params','updatedBy','recordId','symbol','string','prototype','entry','defineProperty','compare','type','path','kind','left','filter','has','stableId','fieldOrder','resources','166YWBpkG','base:cell','delete','VIEW','recordOrder','rowId','value','views','keys','sort','join','tables','revision','_configService','8181690gqvVsp','9femqOt','base:field','mutation','TABLE','disposeWithMe','_injector','fields','locations','base','tableId','8806LZCPqf','primaryFieldId','items','560690FSTuGM','FIELD','isArray'];_0x5dd1=function(){return _0x5526c3;};return _0x5dd1();}function T(_0x54fc82,_0x12514e){const _0x3d9b0b=_0x166a3a;if(_0x54fc82===_0x12514e)return!0x0;if(Array[_0x3d9b0b(0x108)](_0x54fc82)||Array[_0x3d9b0b(0x108)](_0x12514e))return Array[_0x3d9b0b(0x108)](_0x54fc82)&&Array['isArray'](_0x12514e)&&_0x54fc82[_0x3d9b0b(0x11d)]===_0x12514e['length']&&_0x54fc82[_0x3d9b0b(0x117)]((_0x4eea00,_0x884373)=>T(_0x4eea00,_0x12514e[_0x884373]));if(!F(_0x54fc82)||!F(_0x12514e))return!0x1;let _0x560df8=Object['keys'](_0x54fc82),_0xab1173=Object[_0x3d9b0b(0x164)](_0x12514e);return _0x560df8[_0x3d9b0b(0x11d)]===_0xab1173[_0x3d9b0b(0x11d)]&&_0x560df8[_0x3d9b0b(0x117)](_0x382685=>Object[_0x3d9b0b(0x14f)][_0x3d9b0b(0x13b)][_0x3d9b0b(0x11f)](_0x12514e,_0x382685)&&T(_0x54fc82[_0x382685],_0x12514e[_0x382685]));}function _0x332c(_0x52da8d,_0xd1435e){_0x52da8d=_0x52da8d-0x106;const _0x5dd148=_0x5dd1();let _0x332c9d=_0x5dd148[_0x52da8d];return _0x332c9d;}function E(_0x1de43b,_0x100cdd){const _0x2a75bd=_0x166a3a;return _0x100cdd[_0x2a75bd(0x174)]?_0x100cdd[_0x2a75bd(0x14c)]&&_0x100cdd['fieldId']?D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)],_0x2a75bd(0x120),_0x100cdd['recordId'],_0x2a75bd(0x12a),_0x100cdd['fieldId']]):_0x100cdd[_0x2a75bd(0x14c)]?D(_0x1de43b,[_0x2a75bd(0x167),_0x100cdd[_0x2a75bd(0x174)],'records',_0x100cdd[_0x2a75bd(0x14c)]]):_0x100cdd[_0x2a75bd(0x123)]?D(_0x1de43b,[_0x2a75bd(0x167),_0x100cdd[_0x2a75bd(0x174)],_0x2a75bd(0x171),_0x100cdd[_0x2a75bd(0x123)]]):_0x100cdd[_0x2a75bd(0x125)]?D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)],'views',_0x100cdd[_0x2a75bd(0x125)]]):D(_0x1de43b,['tables',_0x100cdd[_0x2a75bd(0x174)]]):!0x1;}function D(_0x72433d,_0x32c8e5){const _0x52e0ce=_0x166a3a;return _0x72433d[_0x52e0ce(0x11d)]===_0x32c8e5[_0x52e0ce(0x11d)]&&_0x72433d[_0x52e0ce(0x117)]((_0x20c88a,_0x4dc5d7)=>_0x20c88a===_0x32c8e5[_0x4dc5d7]);}function O(_0xcf78ac){const _0x20939f=_0x166a3a;let _0x10162b=_0xcf78ac[_0x20939f(0x10d)](_0x20939f(0x167)),_0x1bd97f=_0xcf78ac[_0x10162b+0x1];if(_0x10162b<0x0||typeof _0x1bd97f!=_0x20939f(0x14e))return null;let _0x15da0d=_0xcf78ac[_0x10162b+0x2],_0x50f2f8=_0xcf78ac[_0x10162b+0x3];if(_0x15da0d===_0x20939f(0x120)&&typeof _0x50f2f8==_0x20939f(0x14e)){let _0x1b1030=_0xcf78ac[_0x10162b+0x4],_0x466457=_0xcf78ac[_0x10162b+0x5];return _0x1b1030===_0x20939f(0x12a)&&typeof _0x466457==_0x20939f(0x14e)?{'label':_0x20939f(0x15d),'tableId':_0x1bd97f,'recordId':_0x50f2f8,'fieldId':_0x466457}:_0x1b1030===_0x20939f(0x12c)||_0x1b1030===_0x20939f(0x14b)?null:{'label':_0x20939f(0x12f),'tableId':_0x1bd97f,'recordId':_0x50f2f8};}return _0x15da0d===_0x20939f(0x171)&&typeof _0x50f2f8==_0x20939f(0x14e)?{'label':_0x20939f(0x16c),'tableId':_0x1bd97f,'fieldId':_0x50f2f8}:_0x15da0d==='views'&&typeof _0x50f2f8==_0x20939f(0x14e)?{'label':'base:view','tableId':_0x1bd97f,'viewId':_0x50f2f8}:ee[_0x20939f(0x116)](_0x1a04db=>_0x1a04db===_0x15da0d)?null:{'label':_0x15da0d===void 0x0?'base:table':'base:unknown','tableId':_0x1bd97f};}function k(_0x5efe8b,_0x160e5e){let _0x40d37c=new Map();return _0x5efe8b['forEach'](_0x3b41f1=>{const _0x280c51=_0x332c;let _0x3a57d7=_0x3b41f1[_0x280c51(0x154)]['indexOf'](_0x160e5e),_0x473cc2=_0x3b41f1['path'][_0x3a57d7+0x1],_0x57e6d6=_0x3b41f1[_0x280c51(0x162)]['r'];if(_0x3a57d7>=0x0&&typeof _0x473cc2==_0x280c51(0x111)&&typeof _0x57e6d6==_0x280c51(0x14e)){_0x40d37c[_0x280c51(0x130)](_0x57e6d6,_0x473cc2);return;}if(_0x3a57d7!==_0x3b41f1[_0x280c51(0x154)][_0x280c51(0x11d)]-0x1||!Array[_0x280c51(0x108)](_0x57e6d6))return;let _0x193d7b=new Set(Array[_0x280c51(0x108)](_0x3b41f1['value']['i'])?_0x3b41f1['value']['i'][_0x280c51(0x157)](_0xc9fb1a=>typeof _0xc9fb1a=='string'):[]);_0x57e6d6[_0x280c51(0x127)]((_0x4cedfd,_0x40b11f)=>{const _0x5dd5d0=_0x280c51;typeof _0x4cedfd==_0x5dd5d0(0x14e)&&!_0x193d7b[_0x5dd5d0(0x158)](_0x4cedfd)&&_0x40d37c['set'](_0x4cedfd,_0x40b11f);});}),_0x40d37c;}function ne(_0x211efd,_0x3554cd){const _0x1691f9=_0x166a3a;if(_0x3554cd[_0x1691f9(0x14c)]&&!_0x3554cd[_0x1691f9(0x123)]&&E(_0x211efd[_0x1691f9(0x154)],_0x3554cd))return A(_0x211efd['value']['r'])?_0x211efd[_0x1691f9(0x162)]['r']:void 0x0;}function A(_0x1ca000){const _0x21161a=_0x166a3a;return F(_0x1ca000)&&typeof _0x1ca000['id']==_0x21161a(0x14e)&&F(_0x1ca000[_0x21161a(0x12a)])&&typeof _0x1ca000[_0x21161a(0x148)]=='string'&&typeof _0x1ca000[_0x21161a(0x12d)]==_0x21161a(0x111)&&typeof _0x1ca000[_0x21161a(0x12c)]==_0x21161a(0x111);}function j(_0x12cd94){let _0x3fd222=[];return M(_0x12cd94,[],_0x3fd222),_0x3fd222;}function M(_0x36adf1,_0x470db7,_0x3c175a){const _0x51f596=_0x166a3a;if(!Array[_0x51f596(0x108)](_0x36adf1))return;let _0x342ac9=[];_0x36adf1[_0x51f596(0x127)](_0x24b99e=>{const _0xba2a7c=_0x51f596;if(Array['isArray'](_0x24b99e)){M(_0x24b99e,[..._0x470db7,..._0x342ac9],_0x3c175a);return;}if(N(_0x24b99e)){_0x3c175a['push']({'path':[..._0x470db7,..._0x342ac9],'value':_0x24b99e});return;}(typeof _0x24b99e==_0xba2a7c(0x14e)||typeof _0x24b99e==_0xba2a7c(0x111))&&_0x342ac9[_0xba2a7c(0x119)](_0x24b99e);});}function N(_0x466843){const _0xa56c70=_0x166a3a;return F(_0x466843)&&['i','r','p','d','es','ena','et'][_0xa56c70(0x116)](_0x400d2d=>Object[_0xa56c70(0x14f)]['hasOwnProperty'][_0xa56c70(0x11f)](_0x466843,_0x400d2d));}function P(_0x2f7da1){const _0x2f89bc=_0x166a3a;return typeof _0x2f7da1==_0x2f89bc(0x10b)&&!!_0x2f7da1&&'op'in _0x2f7da1&&Array[_0x2f89bc(0x108)](_0x2f7da1['op']);}function F(_0x48871d){const _0xb6131b=_0x166a3a;return typeof _0x48871d==_0xb6131b(0x10b)&&!!_0x48871d;}function I(_0x1ec5e1,_0x506f80){return function(_0x4c7782,_0x28d5a0){_0x506f80(_0x4c7782,_0x28d5a0,_0x1ec5e1);};}function L(_0x2f6c36,_0x50eb53,_0x245759,_0x4f8a91){const _0x546c99=_0x166a3a;var _0x487ea1=arguments[_0x546c99(0x11d)],_0x521894=_0x487ea1<0x3?_0x50eb53:_0x4f8a91===null?_0x4f8a91=Object[_0x546c99(0x13a)](_0x50eb53,_0x245759):_0x4f8a91,_0x26a423;if(typeof Reflect==_0x546c99(0x10b)&&typeof Reflect['decorate']==_0x546c99(0x134))_0x521894=Reflect[_0x546c99(0x121)](_0x2f6c36,_0x50eb53,_0x245759,_0x4f8a91);else{for(var _0x27ff60=_0x2f6c36[_0x546c99(0x11d)]-0x1;_0x27ff60>=0x0;_0x27ff60--)(_0x26a423=_0x2f6c36[_0x27ff60])&&(_0x521894=(_0x487ea1<0x3?_0x26a423(_0x521894):_0x487ea1>0x3?_0x26a423(_0x50eb53,_0x245759,_0x521894):_0x26a423(_0x50eb53,_0x245759))||_0x521894);}return _0x487ea1>0x3&&_0x521894&&Object[_0x546c99(0x151)](_0x50eb53,_0x245759,_0x521894),_0x521894;}let R=class{constructor(_0x31f8ec){const _0xcd78d9=_0x166a3a;this[_0xcd78d9(0x129)]=_0x31f8ec;}async[_0x166a3a(0x152)](_0x166196,_0x47fb1c){const _0x2edd85=_0x166a3a;return C(await this['_mutationService'][_0x2edd85(0x12e)](_0x166196,_0x47fb1c));}};R=L([I(0x0,_0x34725c(_0x2b76ad))],R);function z(_0x1b8f5d){'@babel/helpers - typeof';const _0x4b7e20=_0x166a3a;return z=typeof Symbol==_0x4b7e20(0x134)&&typeof Symbol['iterator']==_0x4b7e20(0x14d)?function(_0x2afa62){return typeof _0x2afa62;}:function(_0x1b3488){const _0x275971=_0x4b7e20;return _0x1b3488&&typeof Symbol==_0x275971(0x134)&&_0x1b3488['constructor']===Symbol&&_0x1b3488!==Symbol[_0x275971(0x14f)]?'symbol':typeof _0x1b3488;},z(_0x1b8f5d);}function B(_0x4cebe4,_0x30caa2){const _0x573fec=_0x166a3a;if(z(_0x4cebe4)!=_0x573fec(0x10b)||!_0x4cebe4)return _0x4cebe4;var _0x256a8e=_0x4cebe4[Symbol['toPrimitive']];if(_0x256a8e!==void 0x0){var _0x1b8596=_0x256a8e[_0x573fec(0x11f)](_0x4cebe4,_0x30caa2||_0x573fec(0x13d));if(z(_0x1b8596)!='object')return _0x1b8596;throw TypeError(_0x573fec(0x140));}return(_0x30caa2===_0x573fec(0x14e)?String:Number)(_0x4cebe4);}function V(_0x4eab7b){const _0x43fe73=_0x166a3a;var _0x5ee7b2=B(_0x4eab7b,'string');return z(_0x5ee7b2)==_0x43fe73(0x14d)?_0x5ee7b2:_0x5ee7b2+'';}function H(_0x1f4a2a,_0x46a361,_0x51bfe2){const _0x5d9ca6=_0x166a3a;return(_0x46a361=V(_0x46a361))in _0x1f4a2a?Object[_0x5d9ca6(0x151)](_0x1f4a2a,_0x46a361,{'value':_0x51bfe2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f4a2a[_0x46a361]=_0x51bfe2,_0x1f4a2a;}const U=[_0x166a3a(0x10f),'createdAt',_0x166a3a(0x12c)],W=[_0x37d673['BASE'],_0x37d673[_0x166a3a(0x16e)],_0x37d673[_0x166a3a(0x107)],_0x37d673[_0x166a3a(0x137)],_0x37d673['VIEW'],_0x37d673[_0x166a3a(0x11e)]],G=_0x2bc6d3('fields',_0x166a3a(0x15a),_0x166a3a(0x120),_0x166a3a(0x160),_0x166a3a(0x163),_0x166a3a(0x146),_0x166a3a(0x122),'colId',_0x166a3a(0x10c),'rowId',_0x166a3a(0x126),...U);var K=class{constructor(){const _0x1b18ef=_0x166a3a;H(this,'type',_0x33632e[_0x1b18ef(0x131)]);}['compare'](_0x296d28){const _0x32e37d=_0x166a3a;let _0x2dff29=_0x3053db(_0x296d28[_0x32e37d(0x12b)]),_0xda9ffc=_0x3053db(_0x296d28[_0x32e37d(0x113)]),_0xeab982=_0x3053db(_0x2dff29==null?void 0x0:_0x2dff29[_0x32e37d(0x167)]),_0x1edc56=_0x3053db(_0xda9ffc==null?void 0x0:_0xda9ffc[_0x32e37d(0x167)]),_0x4f8541=new Set([...Object['keys'](_0xeab982??{}),...Object[_0x32e37d(0x164)](_0x1edc56??{})]),_0x1f5351=_0x6a171a(_0xeab982,_0x2dff29==null?void 0x0:_0x2dff29[_0x32e37d(0x109)],G),_0x32436e=_0x6a171a(_0x1edc56,_0xda9ffc==null?void 0x0:_0xda9ffc[_0x32e37d(0x109)],G),_0x37d071=[..._0x2be7c6({'entityType':_0x37d673[_0x32e37d(0x132)],'left':_0x2dff29===void 0x0?[]:[{'stableId':_0x32e37d(0x173),'position':0x0,'value':_0x2bc6d3(_0x32e37d(0x167),_0x32e37d(0x109),_0x32e37d(0x15b),...U)(_0x2dff29)}],'right':_0xda9ffc===void 0x0?[]:[{'stableId':'base','position':0x0,'value':_0x2bc6d3(_0x32e37d(0x167),_0x32e37d(0x109),_0x32e37d(0x15b),...U)(_0xda9ffc)}]}),..._0x2be7c6({'entityType':_0x37d673[_0x32e37d(0x16e)],'left':_0x1f5351,'right':_0x32436e}),...[..._0x4f8541]['flatMap'](_0x35b4d4=>q(_0x35b4d4,_0xeab982,_0x1edc56))],_0x2e1c3c=_0x1497cb({'entityType':_0x37d673[_0x32e37d(0x16e)],'items':_0x37d071,'left':_0x1f5351,'right':_0x32436e});return{'items':_0x2e1c3c[_0x32e37d(0x177)],'supportedEntityTypes':W,'scopes':_0x2e1c3c['scopes'],'productContext':{'type':_0x33632e['UNIVER_BASE'],'visualProjection':_0x32e37d(0x11c)}};}};function q(_0x4c7644,_0x290a55,_0x79208b){const _0x3f74a8=_0x166a3a;let _0x4629c5=_0x3053db(_0x290a55==null?void 0x0:_0x290a55[_0x4c7644])??{},_0x4f06ee=_0x3053db(_0x79208b==null?void 0x0:_0x79208b[_0x4c7644])??{},_0xd794fd=_0x3053db(_0x4629c5[_0x3f74a8(0x171)]),_0x43f3aa=_0x3053db(_0x4f06ee[_0x3f74a8(0x171)]),_0x5e1c70=_0x3053db(_0x4629c5[_0x3f74a8(0x120)]),_0x50ac07=_0x3053db(_0x4f06ee[_0x3f74a8(0x120)]);return[...J(_0x37d673['FIELD'],_0x4c7644,_0xd794fd,_0x43f3aa,_0x4629c5[_0x3f74a8(0x15a)],_0x4f06ee[_0x3f74a8(0x15a)],_0x2bc6d3(...U)),...J(_0x37d673[_0x3f74a8(0x137)],_0x4c7644,_0x5e1c70,_0x50ac07,_0x4629c5[_0x3f74a8(0x160)],_0x4f06ee[_0x3f74a8(0x160)],_0x2bc6d3('values',_0x3f74a8(0x148),...U)),...J(_0x37d673[_0x3f74a8(0x15f)],_0x4c7644,_0x4629c5['views'],_0x4f06ee['views'],_0x4629c5[_0x3f74a8(0x146)],_0x4f06ee[_0x3f74a8(0x146)],_0x2bc6d3(_0x3f74a8(0x148),...U)),...Y(_0x4c7644,_0xd794fd,_0x43f3aa,_0x5e1c70,_0x50ac07,_0x4629c5[_0x3f74a8(0x15a)],_0x4f06ee[_0x3f74a8(0x15a)],_0x4629c5[_0x3f74a8(0x160)],_0x4f06ee[_0x3f74a8(0x160)],_0x4629c5[_0x3f74a8(0x176)],_0x4f06ee[_0x3f74a8(0x176)])];}function J(_0x462329,_0x22eccf,_0x359308,_0x4f5fab,_0x59f513,_0x496139,_0x13000a){return _0x2be7c6({'entityType':_0x462329,'parentStableId':_0x22eccf,'left':_0x6a171a(_0x359308,_0x59f513,_0x13000a),'right':_0x6a171a(_0x4f5fab,_0x496139,_0x13000a)});}function Y(_0x42b440,_0x3d224f,_0x4e4908,_0x3be586,_0x205ab3,_0x18921d,_0x381e59,_0x3dbde8,_0x46db31,_0x14180a,_0x5ef5ad){const _0x2babe8=_0x166a3a;let _0x2339e4=Z(_0x3d224f,_0x3be586,_0x18921d,_0x3dbde8,_0x14180a),_0x5d34c8=Z(_0x4e4908,_0x205ab3,_0x381e59,_0x46db31,_0x5ef5ad),_0x4cc951=new Map(_0x2339e4[_0x2babe8(0x110)](_0x217498=>[_0x217498[_0x2babe8(0x159)],_0x217498])),_0x3541fd=new Map(_0x5d34c8[_0x2babe8(0x110)](_0x59e8d5=>[_0x59e8d5['stableId'],_0x59e8d5]));return _0x2be7c6({'entityType':_0x37d673[_0x2babe8(0x11e)],'parentStableId':_0x42b440,'left':_0x2339e4,'right':_0x5d34c8})[_0x2babe8(0x110)](_0x224dd6=>({..._0x224dd6,'locations':{'left':X(_0x224dd6[_0x2babe8(0x172)][_0x2babe8(0x156)],_0x4cc951[_0x2babe8(0x124)](_0x224dd6[_0x2babe8(0x159)]),_0x42b440),'right':X(_0x224dd6[_0x2babe8(0x172)][_0x2babe8(0x128)],_0x3541fd['get'](_0x224dd6[_0x2babe8(0x159)]),_0x42b440)}}));}function X(_0x3018e6,_0x16613e,_0x65f5eb){const _0x5762f2=_0x166a3a;if(_0x3018e6===null||_0x16613e===void 0x0)return null;let _0x335a9e=_0x3018e6[_0x5762f2(0x139)];return(_0x335a9e==null?void 0x0:_0x335a9e[_0x5762f2(0x155)])===_0x5762f2(0x13f)?{..._0x3018e6,'parentStableId':_0x16613e[_0x5762f2(0x14c)],'target':{..._0x335a9e,'kind':_0x5762f2(0x147),'tableId':_0x65f5eb,'recordId':_0x16613e[_0x5762f2(0x14c)],'fieldId':_0x16613e[_0x5762f2(0x123)]}}:_0x3018e6;}function Z(_0x1a2517,_0x492b21,_0x4ae6a0,_0xb0abed,_0x163fe8){const _0x59f427=_0x166a3a;let _0xf90de9=Q(_0x1a2517,_0x4ae6a0);return Q(_0x492b21,_0xb0abed)[_0x59f427(0x10a)]((_0x4dbe90,_0x570b71)=>{const _0xf03a12=_0x59f427;var _0x14375f;let _0xaf640e=_0x3053db((_0x14375f=_0x3053db(_0x492b21==null?void 0x0:_0x492b21[_0x4dbe90]))==null?void 0x0:_0x14375f['values']);if(_0xaf640e===void 0x0)return[];let _0x53b8b4=typeof _0x163fe8==_0xf03a12(0x14e)?_0xaf640e[_0x163fe8]:void 0x0,_0x22a2fa=typeof _0x53b8b4==_0xf03a12(0x14e)||typeof _0x53b8b4==_0xf03a12(0x111)?String(_0x53b8b4):void 0x0;return _0xf90de9[_0xf03a12(0x10a)]((_0x1480a0,_0x35a715)=>{const _0x7ef548=_0xf03a12;var _0x2ed7ba;return _0x1480a0 in _0xaf640e?[{'stableId':_0x4dbe90+':'+_0x1480a0,'recordId':_0x4dbe90,'fieldId':_0x1480a0,'position':_0x570b71*Math[_0x7ef548(0x144)](0x1,_0xf90de9[_0x7ef548(0x11d)])+_0x35a715,'displayName':[_0x22a2fa,(_0x2ed7ba=_0x3053db(_0x1a2517==null?void 0x0:_0x1a2517[_0x1480a0]))==null?void 0x0:_0x2ed7ba['name']][_0x7ef548(0x157)](_0x1397e7=>typeof _0x1397e7==_0x7ef548(0x14e)&&_0x1397e7['length']>0x0)[_0x7ef548(0x166)]('\x20·\x20'),'value':_0xaf640e[_0x1480a0]}]:[];});});}function Q(_0x477bca,_0x2fd933){const _0x239cda=_0x166a3a;let _0x205e69=_0x477bca??{},_0x4bcebb=Array[_0x239cda(0x108)](_0x2fd933)?_0x2fd933[_0x239cda(0x157)](_0x5b0b8d=>typeof _0x5b0b8d=='string'&&_0x5b0b8d in _0x205e69):[],_0x211f62=new Set(_0x4bcebb);return[..._0x4bcebb,...Object[_0x239cda(0x164)](_0x205e69)[_0x239cda(0x157)](_0x1fb39c=>!_0x211f62[_0x239cda(0x158)](_0x1fb39c))];}let $=class extends _0x4bd8cd{constructor(_0x1b0204=S,_0x3ef9cf,_0x5317de){const _0x352e37=_0x166a3a;super(),this['_config']=_0x1b0204,this[_0x352e37(0x170)]=_0x3ef9cf,this['_configService']=_0x5317de;let {..._0x50287c}=_0x5ac915({},S,this['_config']);this[_0x352e37(0x169)][_0x352e37(0x13c)](_0x352e37(0x135),_0x50287c);}[_0x166a3a(0x13e)](){const _0x34d8e2=_0x166a3a;_0x1eb0f7(this[_0x34d8e2(0x170)],[[R],[K]]),this[_0x34d8e2(0x16f)](this[_0x34d8e2(0x170)][_0x34d8e2(0x124)](_0x39dd50)['register'](this[_0x34d8e2(0x170)]['get'](K)));}};H($,_0x166a3a(0x115),_0x166a3a(0x11a)),H($,_0x166a3a(0x133),b),H($,'version',x),H($,_0x166a3a(0x153),_0x33632e[_0x166a3a(0x131)]),$=L([_0x44ef56(_0xb048ad,_0x24e3d8,_0x52eced),I(0x1,_0x34725c(_0x494cd2)),I(0x2,_0x25a06b)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5e48(_0x37b295,_0xe2588c){_0x37b295=_0x37b295-0x1a6;const _0x2a7cbb=_0x2a7c();let _0x5e48d7=_0x2a7cbb[_0x37b295];return _0x5e48d7;}(function(_0x521f0a,_0x3296df){const _0x11601e=_0x5e48,_0x17959b=_0x521f0a();while(!![]){try{const _0x12eb58=-parseInt(_0x11601e(0x209))/0x1*(parseInt(_0x11601e(0x1bb))/0x2)+parseInt(_0x11601e(0x1ad))/0x3*(-parseInt(_0x11601e(0x1c0))/0x4)+parseInt(_0x11601e(0x22e))/0x5+parseInt(_0x11601e(0x228))/0x6+parseInt(_0x11601e(0x1c3))/0x7*(parseInt(_0x11601e(0x206))/0x8)+-parseInt(_0x11601e(0x1c1))/0x9+parseInt(_0x11601e(0x1f0))/0xa;if(_0x12eb58===_0x3296df)break;else _0x17959b['push'](_0x17959b['shift']());}catch(_0x31d42f){_0x17959b['push'](_0x17959b['shift']());}}}(_0x2a7c,0x29e90),function(_0x14e13d,_0x1164e5){const _0x4f524=_0x5e48;typeof exports=='object'&&typeof module<'u'?_0x1164e5(exports,require('@univerjs-pro/bases'),require('@univerjs-pro/edit-history'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define=='function'&&define['amd']?define([_0x4f524(0x21b),_0x4f524(0x233),_0x4f524(0x22a),_0x4f524(0x223),_0x4f524(0x1fe)],_0x1164e5):(_0x14e13d=typeof globalThis<'u'?globalThis:_0x14e13d||self,_0x1164e5(_0x14e13d[_0x4f524(0x215)]={},_0x14e13d[_0x4f524(0x20c)],_0x14e13d['UniverProEditHistory'],_0x14e13d[_0x4f524(0x1ec)],_0x14e13d[_0x4f524(0x1bf)]));}(this,function(_0x569ee6,_0x40a1f6,_0x309982,_0x4fe02d,_0x4a5871){const _0x3675fc=_0x5e48;Object[_0x3675fc(0x1d0)](_0x569ee6,Symbol[_0x3675fc(0x1b4)],{'value':_0x3675fc(0x203)});var _0x4c9fdd='@univerjs-pro/bases-history',_0x39ee7f=_0x3675fc(0x21d);let _0x265f5d={},_0x25c37f=['recordOrder','fieldOrder',_0x3675fc(0x231),'rowIndex','rowId','colIndex','colId',_0x3675fc(0x1bc)];function _0x5242bf(_0x1068fd){const _0x407572=_0x3675fc;let _0x4abc6a=null,_0x3779d2=null,_0x46da3e=_0x1068fd['map']((_0x2f4be2,_0x29ccb9)=>({'entry':_0x2f4be2,'index':_0x29ccb9}))[_0x407572(0x216)]((_0x379fd5,_0x2a6cbf)=>_0x379fd5['entry'][_0x407572(0x236)]-_0x2a6cbf[_0x407572(0x225)][_0x407572(0x236)]||_0x379fd5[_0x407572(0x1cd)]-_0x2a6cbf[_0x407572(0x1cd)]);for(let {entry:_0x294c4c}of _0x46da3e)_0x198b4f(_0x294c4c['mutation']['params'])&&(_0x4abc6a=_0x4abc6a===null?_0x294c4c[_0x407572(0x218)][_0x407572(0x201)]['op']:_0x4a5871[_0x407572(0x1e3)][_0x407572(0x224)][_0x407572(0x20e)](_0x4abc6a,_0x294c4c[_0x407572(0x218)]['params']['op']),_0x3779d2=_0x294c4c);if(_0x4abc6a===null||_0x3779d2===null)return[];let _0x3007bc=_0x2bd264(_0x4abc6a)['filter'](_0x29c855=>!_0x416c2c(_0x29c855)),_0xb4f9aa=_0x1d13fa(_0x3007bc,_0x407572(0x212)),_0x333e86=_0x1d13fa(_0x3007bc,_0x407572(0x219));return _0x3007bc['flatMap']((_0x4a8536,_0x2a60c0)=>{const _0x2901a8=_0x407572;let _0x363a4d=_0x528ade(_0x4a8536[_0x2901a8(0x1b0)]);if(!_0x363a4d)return[];let _0x140ae1=_0x1760f7(_0x4a8536,_0x363a4d);return[{'id':_0x3779d2[_0x2901a8(0x236)]+':'+_0x2a60c0,'kind':_0x140ae1,'label':_0x363a4d['label'],'memberId':_0x3779d2[_0x2901a8(0x1dd)],'tableId':_0x363a4d[_0x2901a8(0x1d8)],'viewId':_0x363a4d[_0x2901a8(0x1ac)],'recordId':_0x363a4d['recordId'],'recordIndex':_0x363a4d[_0x2901a8(0x234)]?_0xb4f9aa['get'](_0x363a4d[_0x2901a8(0x234)]):void 0x0,'removedRecord':_0x140ae1===_0x2901a8(0x1ab)?_0x280a70(_0x4a8536,_0x363a4d):void 0x0,'fieldId':_0x363a4d[_0x2901a8(0x1e8)],'fieldIndex':_0x363a4d['fieldId']?_0x333e86[_0x2901a8(0x1c5)](_0x363a4d[_0x2901a8(0x1e8)]):void 0x0}];});}function _0x1760f7(_0x373099,_0x4bd4d5){const _0x4903cc=_0x3675fc;if(!_0x1123ba(_0x373099[_0x4903cc(0x1b0)],_0x4bd4d5))return _0x4903cc(0x1de);let _0x79e1a3=Object[_0x4903cc(0x1db)]['hasOwnProperty'][_0x4903cc(0x20f)](_0x373099[_0x4903cc(0x1b7)],'i'),_0x211a4f=Object[_0x4903cc(0x1db)]['hasOwnProperty'][_0x4903cc(0x20f)](_0x373099['value'],'r');return _0x79e1a3&&!_0x211a4f?_0x4903cc(0x21a):_0x211a4f&&!_0x79e1a3?_0x4903cc(0x1ab):'update';}function _0x416c2c(_0x873138){const _0x4c3948=_0x3675fc;return Object[_0x4c3948(0x1db)]['hasOwnProperty']['call'](_0x873138['value'],'i')&&Object[_0x4c3948(0x1db)][_0x4c3948(0x1a7)][_0x4c3948(0x20f)](_0x873138[_0x4c3948(0x1b7)],'r')&&_0x4c8768(_0x873138[_0x4c3948(0x1b7)]['i'],_0x873138[_0x4c3948(0x1b7)]['r']);}function _0x4c8768(_0x41b8bd,_0x5bb793){const _0x3cfd82=_0x3675fc;if(_0x41b8bd===_0x5bb793)return!0x0;if(Array[_0x3cfd82(0x230)](_0x41b8bd)||Array[_0x3cfd82(0x230)](_0x5bb793))return Array[_0x3cfd82(0x230)](_0x41b8bd)&&Array[_0x3cfd82(0x230)](_0x5bb793)&&_0x41b8bd[_0x3cfd82(0x1d2)]===_0x5bb793[_0x3cfd82(0x1d2)]&&_0x41b8bd[_0x3cfd82(0x1d5)]((_0x399a0f,_0x211e7e)=>_0x4c8768(_0x399a0f,_0x5bb793[_0x211e7e]));if(!_0x4c3571(_0x41b8bd)||!_0x4c3571(_0x5bb793))return!0x1;let _0x33a463=Object['keys'](_0x41b8bd),_0x5de983=Object[_0x3cfd82(0x1b2)](_0x5bb793);return _0x33a463[_0x3cfd82(0x1d2)]===_0x5de983[_0x3cfd82(0x1d2)]&&_0x33a463[_0x3cfd82(0x1d5)](_0x5e5c7e=>Object[_0x3cfd82(0x1db)][_0x3cfd82(0x1a7)][_0x3cfd82(0x20f)](_0x5bb793,_0x5e5c7e)&&_0x4c8768(_0x41b8bd[_0x5e5c7e],_0x5bb793[_0x5e5c7e]));}function _0x1123ba(_0x2483ad,_0x1bee7e){const _0x472d99=_0x3675fc;return _0x1bee7e[_0x472d99(0x1d8)]?_0x1bee7e[_0x472d99(0x234)]&&_0x1bee7e[_0x472d99(0x1e8)]?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x238),_0x1bee7e[_0x472d99(0x234)],'values',_0x1bee7e['fieldId']]):_0x1bee7e[_0x472d99(0x234)]?_0x110709(_0x2483ad,[_0x472d99(0x1c9),_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x238),_0x1bee7e[_0x472d99(0x234)]]):_0x1bee7e['fieldId']?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x20d),_0x1bee7e[_0x472d99(0x1e8)]]):_0x1bee7e[_0x472d99(0x1ac)]?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x1f7),_0x1bee7e[_0x472d99(0x1ac)]]):_0x110709(_0x2483ad,[_0x472d99(0x1c9),_0x1bee7e[_0x472d99(0x1d8)]]):!0x1;}function _0x110709(_0xffebeb,_0x186170){const _0x1d87d5=_0x3675fc;return _0xffebeb[_0x1d87d5(0x1d2)]===_0x186170[_0x1d87d5(0x1d2)]&&_0xffebeb[_0x1d87d5(0x1d5)]((_0x53b9f4,_0x23c258)=>_0x53b9f4===_0x186170[_0x23c258]);}function _0x528ade(_0x441901){const _0x154c74=_0x3675fc;let _0x3bb01f=_0x441901[_0x154c74(0x1fa)](_0x154c74(0x1c9)),_0x3e32cf=_0x441901[_0x3bb01f+0x1];if(_0x3bb01f<0x0||typeof _0x3e32cf!=_0x154c74(0x21f))return null;let _0x565040=_0x441901[_0x3bb01f+0x2],_0x4856bc=_0x441901[_0x3bb01f+0x3];if(_0x565040===_0x154c74(0x238)&&typeof _0x4856bc=='string'){let _0x49ef7b=_0x441901[_0x3bb01f+0x4],_0x581b0e=_0x441901[_0x3bb01f+0x5];return _0x49ef7b===_0x154c74(0x204)&&typeof _0x581b0e==_0x154c74(0x21f)?{'label':_0x154c74(0x1d6),'tableId':_0x3e32cf,'recordId':_0x4856bc,'fieldId':_0x581b0e}:_0x49ef7b===_0x154c74(0x22c)||_0x49ef7b===_0x154c74(0x21c)?null:{'label':_0x154c74(0x1b1),'tableId':_0x3e32cf,'recordId':_0x4856bc};}return _0x565040===_0x154c74(0x20d)&&typeof _0x4856bc==_0x154c74(0x21f)?{'label':_0x154c74(0x1fc),'tableId':_0x3e32cf,'fieldId':_0x4856bc}:_0x565040==='views'&&typeof _0x4856bc=='string'?{'label':_0x154c74(0x232),'tableId':_0x3e32cf,'viewId':_0x4856bc}:_0x25c37f[_0x154c74(0x1cb)](_0x1eef01=>_0x1eef01===_0x565040)?null:{'label':_0x565040===void 0x0?'base:table':_0x154c74(0x1f8),'tableId':_0x3e32cf};}function _0x1d13fa(_0x1cc7b0,_0x34203b){const _0x4d42ef=_0x3675fc;let _0x305789=new Map();return _0x1cc7b0[_0x4d42ef(0x200)](_0x2df6c9=>{const _0x16dbc5=_0x4d42ef;let _0x1a638e=_0x2df6c9['path']['indexOf'](_0x34203b),_0x3ce8fb=_0x2df6c9[_0x16dbc5(0x1b0)][_0x1a638e+0x1],_0x5c3d99=_0x2df6c9[_0x16dbc5(0x1b7)]['r'];if(_0x1a638e>=0x0&&typeof _0x3ce8fb==_0x16dbc5(0x1c4)&&typeof _0x5c3d99==_0x16dbc5(0x21f)){_0x305789[_0x16dbc5(0x1a6)](_0x5c3d99,_0x3ce8fb);return;}if(_0x1a638e!==_0x2df6c9[_0x16dbc5(0x1b0)][_0x16dbc5(0x1d2)]-0x1||!Array[_0x16dbc5(0x230)](_0x5c3d99))return;let _0x28b3ad=new Set(Array[_0x16dbc5(0x230)](_0x2df6c9[_0x16dbc5(0x1b7)]['i'])?_0x2df6c9['value']['i'][_0x16dbc5(0x220)](_0x2ddc6c=>typeof _0x2ddc6c=='string'):[]);_0x5c3d99[_0x16dbc5(0x200)]((_0x4da9a8,_0xa3a263)=>{const _0x2429d7=_0x16dbc5;typeof _0x4da9a8==_0x2429d7(0x21f)&&!_0x28b3ad[_0x2429d7(0x1d4)](_0x4da9a8)&&_0x305789[_0x2429d7(0x1a6)](_0x4da9a8,_0xa3a263);});}),_0x305789;}function _0x280a70(_0x28a9cd,_0x452251){const _0x232c63=_0x3675fc;if(_0x452251[_0x232c63(0x234)]&&!_0x452251[_0x232c63(0x1e8)]&&_0x1123ba(_0x28a9cd['path'],_0x452251))return _0x5061b5(_0x28a9cd[_0x232c63(0x1b7)]['r'])?_0x28a9cd[_0x232c63(0x1b7)]['r']:void 0x0;}function _0x5061b5(_0x15acd3){const _0x2c6fd6=_0x3675fc;return _0x4c3571(_0x15acd3)&&typeof _0x15acd3['id']=='string'&&_0x4c3571(_0x15acd3[_0x2c6fd6(0x204)])&&typeof _0x15acd3[_0x2c6fd6(0x227)]==_0x2c6fd6(0x21f)&&typeof _0x15acd3['createdAt']==_0x2c6fd6(0x1c4)&&typeof _0x15acd3['updatedAt']==_0x2c6fd6(0x1c4);}function _0x2bd264(_0x5534ec){let _0x57c05a=[];return _0x5081ac(_0x5534ec,[],_0x57c05a),_0x57c05a;}function _0x5081ac(_0xaebbab,_0x4f73a9,_0x25392d){const _0xe0c2a3=_0x3675fc;if(!Array[_0xe0c2a3(0x230)](_0xaebbab))return;let _0x4ffb92=[];_0xaebbab[_0xe0c2a3(0x200)](_0x319621=>{const _0x1d1bb3=_0xe0c2a3;if(Array[_0x1d1bb3(0x230)](_0x319621)){_0x5081ac(_0x319621,[..._0x4f73a9,..._0x4ffb92],_0x25392d);return;}if(_0x545ed4(_0x319621)){_0x25392d[_0x1d1bb3(0x1a9)]({'path':[..._0x4f73a9,..._0x4ffb92],'value':_0x319621});return;}(typeof _0x319621==_0x1d1bb3(0x21f)||typeof _0x319621==_0x1d1bb3(0x1c4))&&_0x4ffb92[_0x1d1bb3(0x1a9)](_0x319621);});}function _0x545ed4(_0x315aa4){const _0x59a564=_0x3675fc;return _0x4c3571(_0x315aa4)&&['i','r','p','d','es','ena','et'][_0x59a564(0x1cb)](_0x230679=>Object[_0x59a564(0x1db)][_0x59a564(0x1a7)][_0x59a564(0x20f)](_0x315aa4,_0x230679));}function _0x198b4f(_0x2bdc84){const _0x2f4a89=_0x3675fc;return typeof _0x2bdc84==_0x2f4a89(0x1e5)&&!!_0x2bdc84&&'op'in _0x2bdc84&&Array[_0x2f4a89(0x230)](_0x2bdc84['op']);}function _0x4c3571(_0x1f0aac){const _0x169864=_0x3675fc;return typeof _0x1f0aac==_0x169864(0x1e5)&&!!_0x1f0aac;}function _0x1d129e(_0x52ee1a,_0x33d731){return function(_0x3d3b17,_0x2bad4d){_0x33d731(_0x3d3b17,_0x2bad4d,_0x52ee1a);};}function _0x4d9d0b(_0x20669b,_0x35bcb3,_0x5dcea9,_0x5e1aae){const _0x38f747=_0x3675fc;var _0x49f30d=arguments['length'],_0x1bcd4f=_0x49f30d<0x3?_0x35bcb3:_0x5e1aae===null?_0x5e1aae=Object['getOwnPropertyDescriptor'](_0x35bcb3,_0x5dcea9):_0x5e1aae,_0x14c5f3;if(typeof Reflect==_0x38f747(0x1e5)&&typeof Reflect[_0x38f747(0x1ce)]==_0x38f747(0x1dc))_0x1bcd4f=Reflect['decorate'](_0x20669b,_0x35bcb3,_0x5dcea9,_0x5e1aae);else{for(var _0x571ffa=_0x20669b[_0x38f747(0x1d2)]-0x1;_0x571ffa>=0x0;_0x571ffa--)(_0x14c5f3=_0x20669b[_0x571ffa])&&(_0x1bcd4f=(_0x49f30d<0x3?_0x14c5f3(_0x1bcd4f):_0x49f30d>0x3?_0x14c5f3(_0x35bcb3,_0x5dcea9,_0x1bcd4f):_0x14c5f3(_0x35bcb3,_0x5dcea9))||_0x1bcd4f);}return _0x49f30d>0x3&&_0x1bcd4f&&Object[_0x38f747(0x1d0)](_0x35bcb3,_0x5dcea9,_0x1bcd4f),_0x1bcd4f;}let _0x21f405=class{constructor(_0x61aeb2){const _0x3261e0=_0x3675fc;this[_0x3261e0(0x1be)]=_0x61aeb2;}async[_0x3675fc(0x1eb)](_0x5c2d02,_0x3a92a2){const _0x3993fb=_0x3675fc;return _0x5242bf(await this['_mutationService'][_0x3993fb(0x1af)](_0x5c2d02,_0x3a92a2));}};_0x21f405=_0x4d9d0b([_0x1d129e(0x0,(0x0,_0x4a5871[_0x3675fc(0x229)])(_0x309982['HistoryMutationService']))],_0x21f405);function _0x24a75e(_0x1daa25){'@babel/helpers - typeof';const _0x1a2c44=_0x3675fc;return _0x24a75e=typeof Symbol==_0x1a2c44(0x1dc)&&typeof Symbol[_0x1a2c44(0x213)]==_0x1a2c44(0x217)?function(_0x2edd41){return typeof _0x2edd41;}:function(_0x292072){const _0x4d9c1c=_0x1a2c44;return _0x292072&&typeof Symbol=='function'&&_0x292072[_0x4d9c1c(0x1fb)]===Symbol&&_0x292072!==Symbol[_0x4d9c1c(0x1db)]?'symbol':typeof _0x292072;},_0x24a75e(_0x1daa25);}function _0x59af42(_0x3eec92,_0x2bda03){const _0x10b474=_0x3675fc;if(_0x24a75e(_0x3eec92)!=_0x10b474(0x1e5)||!_0x3eec92)return _0x3eec92;var _0x4ee7c0=_0x3eec92[Symbol[_0x10b474(0x1f1)]];if(_0x4ee7c0!==void 0x0){var _0x1ef523=_0x4ee7c0[_0x10b474(0x20f)](_0x3eec92,_0x2bda03||_0x10b474(0x202));if(_0x24a75e(_0x1ef523)!=_0x10b474(0x1e5))return _0x1ef523;throw TypeError(_0x10b474(0x1da));}return(_0x2bda03===_0x10b474(0x21f)?String:Number)(_0x3eec92);}function _0x4f4e7b(_0x24c422){var _0x4c5cf4=_0x59af42(_0x24c422,'string');return _0x24a75e(_0x4c5cf4)=='symbol'?_0x4c5cf4:_0x4c5cf4+'';}function _0x141e99(_0x4e9404,_0x3097be,_0x476742){const _0x1cb6e7=_0x3675fc;return(_0x3097be=_0x4f4e7b(_0x3097be))in _0x4e9404?Object[_0x1cb6e7(0x1d0)](_0x4e9404,_0x3097be,{'value':_0x476742,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4e9404[_0x3097be]=_0x476742,_0x4e9404;}let _0x5c000d=[_0x3675fc(0x1c6),_0x3675fc(0x1df),_0x3675fc(0x22c)],_0x264ecd=[_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1ca)],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1bd)],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1f6)],_0x309982['UnitComparisonEntityType'][_0x3675fc(0x1cf)],_0x309982['UnitComparisonEntityType']['VIEW'],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1e1)]],_0x12b72f=(0x0,_0x309982[_0x3675fc(0x1e9)])(_0x3675fc(0x20d),_0x3675fc(0x219),_0x3675fc(0x238),_0x3675fc(0x212),'views',_0x3675fc(0x231),_0x3675fc(0x1bc),_0x3675fc(0x226),'colIndex',_0x3675fc(0x1b8),_0x3675fc(0x235),..._0x5c000d);var _0x4520ef=class{constructor(){const _0x157eb8=_0x3675fc;_0x141e99(this,_0x157eb8(0x224),_0x4a5871['UniverInstanceType'][_0x157eb8(0x1ee)]);}['compare'](_0x9c0670){const _0x1088e9=_0x3675fc;let _0x1fac6e=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x9c0670[_0x1088e9(0x1d1)]),_0x110d28=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x9c0670[_0x1088e9(0x208)]),_0x2ffc35=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x1fac6e==null?void 0x0:_0x1fac6e[_0x1088e9(0x1c9)]),_0x423392=(0x0,_0x309982['asRecord'])(_0x110d28==null?void 0x0:_0x110d28[_0x1088e9(0x1c9)]),_0x5843aa=new Set([...Object['keys'](_0x2ffc35??{}),...Object[_0x1088e9(0x1b2)](_0x423392??{})]),_0x5250d4=(0x0,_0x309982['recordComparisonEntries'])(_0x2ffc35,_0x1fac6e==null?void 0x0:_0x1fac6e[_0x1088e9(0x1d7)],_0x12b72f),_0x2a46dd=(0x0,_0x309982[_0x1088e9(0x1e7)])(_0x423392,_0x110d28==null?void 0x0:_0x110d28['tableOrder'],_0x12b72f),_0x19767b=[...(0x0,_0x309982['buildSemanticComparisonItems'])({'entityType':_0x309982[_0x1088e9(0x22b)]['BASE'],'left':_0x1fac6e===void 0x0?[]:[{'stableId':_0x1088e9(0x1ff),'position':0x0,'value':(0x0,_0x309982['withoutComparisonKeys'])(_0x1088e9(0x1c9),_0x1088e9(0x1d7),_0x1088e9(0x1c2),..._0x5c000d)(_0x1fac6e)}],'right':_0x110d28===void 0x0?[]:[{'stableId':_0x1088e9(0x1ff),'position':0x0,'value':(0x0,_0x309982[_0x1088e9(0x1e9)])(_0x1088e9(0x1c9),_0x1088e9(0x1d7),'resources',..._0x5c000d)(_0x110d28)}]}),...(0x0,_0x309982[_0x1088e9(0x1ea)])({'entityType':_0x309982['UnitComparisonEntityType'][_0x1088e9(0x1bd)],'left':_0x5250d4,'right':_0x2a46dd}),...[..._0x5843aa][_0x1088e9(0x1ae)](_0x19d5b9=>_0x11be8d(_0x19d5b9,_0x2ffc35,_0x423392))],_0x37f603=(0x0,_0x309982[_0x1088e9(0x1c8)])({'entityType':_0x309982[_0x1088e9(0x22b)][_0x1088e9(0x1bd)],'items':_0x19767b,'left':_0x5250d4,'right':_0x2a46dd});return{'items':_0x37f603[_0x1088e9(0x1ef)],'supportedEntityTypes':_0x264ecd,'scopes':_0x37f603[_0x1088e9(0x1e4)],'productContext':{'type':_0x4a5871['UniverInstanceType'][_0x1088e9(0x1ee)],'visualProjection':_0x1088e9(0x221)}};}};function _0x11be8d(_0x2446b3,_0xb0fa22,_0x478885){const _0x2eac55=_0x3675fc;let _0x42358b=(0x0,_0x309982['asRecord'])(_0xb0fa22==null?void 0x0:_0xb0fa22[_0x2446b3])??{},_0x1f0adb=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x478885==null?void 0x0:_0x478885[_0x2446b3])??{},_0x2ab770=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x42358b[_0x2eac55(0x20d)]),_0x2547a3=(0x0,_0x309982['asRecord'])(_0x1f0adb[_0x2eac55(0x20d)]),_0x47be8b=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x42358b[_0x2eac55(0x238)]),_0x3440ef=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x1f0adb[_0x2eac55(0x238)]);return[..._0x3b5ce4(_0x309982[_0x2eac55(0x22b)][_0x2eac55(0x1f6)],_0x2446b3,_0x2ab770,_0x2547a3,_0x42358b[_0x2eac55(0x219)],_0x1f0adb['fieldOrder'],(0x0,_0x309982['withoutComparisonKeys'])(..._0x5c000d)),..._0x3b5ce4(_0x309982['UnitComparisonEntityType'][_0x2eac55(0x1cf)],_0x2446b3,_0x47be8b,_0x3440ef,_0x42358b['recordOrder'],_0x1f0adb[_0x2eac55(0x212)],(0x0,_0x309982[_0x2eac55(0x1e9)])(_0x2eac55(0x204),_0x2eac55(0x227),..._0x5c000d)),..._0x3b5ce4(_0x309982[_0x2eac55(0x22b)][_0x2eac55(0x22f)],_0x2446b3,_0x42358b[_0x2eac55(0x1f7)],_0x1f0adb[_0x2eac55(0x1f7)],_0x42358b[_0x2eac55(0x231)],_0x1f0adb[_0x2eac55(0x231)],(0x0,_0x309982[_0x2eac55(0x1e9)])(_0x2eac55(0x227),..._0x5c000d)),..._0x529107(_0x2446b3,_0x2ab770,_0x2547a3,_0x47be8b,_0x3440ef,_0x42358b['fieldOrder'],_0x1f0adb[_0x2eac55(0x219)],_0x42358b['recordOrder'],_0x1f0adb[_0x2eac55(0x212)],_0x42358b[_0x2eac55(0x1b3)],_0x1f0adb[_0x2eac55(0x1b3)])];}function _0x3b5ce4(_0x5b1db3,_0x11c827,_0xc9f556,_0x348d9f,_0x391ec8,_0x4582c5,_0x1b45bd){const _0x1e7a53=_0x3675fc;return(0x0,_0x309982[_0x1e7a53(0x1ea)])({'entityType':_0x5b1db3,'parentStableId':_0x11c827,'left':(0x0,_0x309982[_0x1e7a53(0x1e7)])(_0xc9f556,_0x391ec8,_0x1b45bd),'right':(0x0,_0x309982[_0x1e7a53(0x1e7)])(_0x348d9f,_0x4582c5,_0x1b45bd)});}function _0x529107(_0x70c62e,_0x52178c,_0x389b5d,_0x4ee484,_0x3fe2ba,_0x589f2d,_0x132ad7,_0x5ae831,_0x201c2c,_0x1bd36d,_0x4037ab){const _0x5594fe=_0x3675fc;let _0x117a36=_0x102162(_0x52178c,_0x4ee484,_0x589f2d,_0x5ae831,_0x1bd36d),_0x4cfc4e=_0x102162(_0x389b5d,_0x3fe2ba,_0x132ad7,_0x201c2c,_0x4037ab),_0x5e22f7=new Map(_0x117a36[_0x5594fe(0x1b9)](_0x2a096e=>[_0x2a096e[_0x5594fe(0x1f2)],_0x2a096e])),_0x35607e=new Map(_0x4cfc4e[_0x5594fe(0x1b9)](_0x53dc50=>[_0x53dc50[_0x5594fe(0x1f2)],_0x53dc50]));return(0x0,_0x309982[_0x5594fe(0x1ea)])({'entityType':_0x309982[_0x5594fe(0x22b)][_0x5594fe(0x1e1)],'parentStableId':_0x70c62e,'left':_0x117a36,'right':_0x4cfc4e})[_0x5594fe(0x1b9)](_0x4ab58a=>({..._0x4ab58a,'locations':{'left':_0x396f5f(_0x4ab58a[_0x5594fe(0x1f3)][_0x5594fe(0x1c7)],_0x5e22f7['get'](_0x4ab58a[_0x5594fe(0x1f2)]),_0x70c62e),'right':_0x396f5f(_0x4ab58a[_0x5594fe(0x1f3)]['right'],_0x35607e[_0x5594fe(0x1c5)](_0x4ab58a[_0x5594fe(0x1f2)]),_0x70c62e)}}));}function _0x396f5f(_0x506a24,_0x26f18c,_0x3d51a0){const _0x586492=_0x3675fc;if(_0x506a24===null||_0x26f18c===void 0x0)return null;let _0x1024c2=_0x506a24[_0x586492(0x1d9)];return(_0x1024c2==null?void 0x0:_0x1024c2[_0x586492(0x210)])==='entity'?{..._0x506a24,'parentStableId':_0x26f18c[_0x586492(0x234)],'target':{..._0x1024c2,'kind':_0x586492(0x22d),'tableId':_0x3d51a0,'recordId':_0x26f18c['recordId'],'fieldId':_0x26f18c['fieldId']}}:_0x506a24;}function _0x102162(_0x30b3db,_0x15bf6e,_0x44f0a6,_0x26bf02,_0x504a94){const _0x509852=_0x3675fc;let _0x1788f8=_0xa55ba1(_0x30b3db,_0x44f0a6);return _0xa55ba1(_0x15bf6e,_0x26bf02)[_0x509852(0x1ae)]((_0x2a722b,_0x36af74)=>{const _0x124823=_0x509852;var _0x213b09;let _0x177405=(0x0,_0x309982[_0x124823(0x1b6)])((_0x213b09=(0x0,_0x309982[_0x124823(0x1b6)])(_0x15bf6e==null?void 0x0:_0x15bf6e[_0x2a722b]))==null?void 0x0:_0x213b09[_0x124823(0x204)]);if(_0x177405===void 0x0)return[];let _0x4bfcf3=typeof _0x504a94==_0x124823(0x21f)?_0x177405[_0x504a94]:void 0x0,_0x4562ec=typeof _0x4bfcf3==_0x124823(0x21f)||typeof _0x4bfcf3=='number'?String(_0x4bfcf3):void 0x0;return _0x1788f8['flatMap']((_0x375536,_0x2f2af7)=>{const _0x2fd8f4=_0x124823;var _0x4954ee;return _0x375536 in _0x177405?[{'stableId':_0x2a722b+':'+_0x375536,'recordId':_0x2a722b,'fieldId':_0x375536,'position':_0x36af74*Math[_0x2fd8f4(0x1f5)](0x1,_0x1788f8[_0x2fd8f4(0x1d2)])+_0x2f2af7,'displayName':[_0x4562ec,(_0x4954ee=(0x0,_0x309982[_0x2fd8f4(0x1b6)])(_0x30b3db==null?void 0x0:_0x30b3db[_0x375536]))==null?void 0x0:_0x4954ee[_0x2fd8f4(0x214)]]['filter'](_0x6deb47=>typeof _0x6deb47==_0x2fd8f4(0x21f)&&_0x6deb47[_0x2fd8f4(0x1d2)]>0x0)[_0x2fd8f4(0x1fd)](_0x2fd8f4(0x1ed)),'value':_0x177405[_0x375536]}]:[];});});}function _0xa55ba1(_0x1b32f2,_0x5e3dad){const _0x3a232b=_0x3675fc;let _0x2aa34c=_0x1b32f2??{},_0x398827=Array['isArray'](_0x5e3dad)?_0x5e3dad[_0x3a232b(0x220)](_0x4af94f=>typeof _0x4af94f=='string'&&_0x4af94f in _0x2aa34c):[],_0x2cab3c=new Set(_0x398827);return[..._0x398827,...Object[_0x3a232b(0x1b2)](_0x2aa34c)[_0x3a232b(0x220)](_0x16149a=>!_0x2cab3c[_0x3a232b(0x1d4)](_0x16149a))];}let _0x256514=class extends _0x4a5871['Plugin']{constructor(_0x5c5ce6=_0x265f5d,_0xfb1f91,_0x4d6adc){const _0x2fc253=_0x3675fc;super(),this[_0x2fc253(0x20a)]=_0x5c5ce6,this[_0x2fc253(0x1d3)]=_0xfb1f91,this[_0x2fc253(0x207)]=_0x4d6adc;let {..._0x29a164}=(0x0,_0x4a5871[_0x2fc253(0x20b)])({},_0x265f5d,this['_config']);this['_configService'][_0x2fc253(0x1e0)]('bases-history.config',_0x29a164);}[_0x3675fc(0x205)](){const _0x23e12c=_0x3675fc;(0x0,_0x4a5871[_0x23e12c(0x1a8)])(this['_injector'],[[_0x21f405],[_0x4520ef]]),this[_0x23e12c(0x1cc)](this['_injector'][_0x23e12c(0x1c5)](_0x309982[_0x23e12c(0x1e6)])[_0x23e12c(0x1ba)](this[_0x23e12c(0x1d3)][_0x23e12c(0x1c5)](_0x4520ef)));}};_0x141e99(_0x256514,_0x3675fc(0x237),'UNIVER_BASES_HISTORY_PLUGIN'),_0x141e99(_0x256514,'packageName',_0x4c9fdd),_0x141e99(_0x256514,_0x3675fc(0x1b5),_0x39ee7f),_0x141e99(_0x256514,'type',_0x4a5871['UniverInstanceType'][_0x3675fc(0x1ee)]),_0x256514=_0x4d9d0b([(0x0,_0x4a5871['DependentOn'])(_0x4fe02d[_0x3675fc(0x1e2)],_0x309982[_0x3675fc(0x1f9)],_0x40a1f6[_0x3675fc(0x21e)]),_0x1d129e(0x1,(0x0,_0x4a5871[_0x3675fc(0x229)])(_0x4a5871[_0x3675fc(0x1f4)])),_0x1d129e(0x2,_0x4a5871[_0x3675fc(0x211)])],_0x256514),Object['defineProperty'](_0x569ee6,_0x3675fc(0x222),{'enumerable':!0x0,'get':function(){return _0x21f405;}}),_0x569ee6['BasesUnitComparisonAdapter']=_0x4520ef,Object[_0x3675fc(0x1d0)](_0x569ee6,_0x3675fc(0x1aa),{'enumerable':!0x0,'get':function(){return _0x256514;}});}));function _0x2a7c(){const _0x554166=['UniverCore','364rBUPqY','1983924SWAGCR','resources','7ZZtZPF','number','get','rev','left','buildScopedUnitComparison','tables','BASE','some','disposeWithMe','index','decorate','RECORD','defineProperty','leftData','length','_injector','has','every','base:cell','tableOrder','tableId','target','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','prototype','function','memberId','update','createdAt','setConfig','CELL','UniverLicensePlugin','JSON1','scopes','object','UnitComparisonAdapterRegistryService','recordComparisonEntries','fieldId','withoutComparisonKeys','buildSemanticComparisonItems','compare','UniverProLicense','\x20·\x20','UNIVER_BASE','items','3677080feNncN','toPrimitive','stableId','locations','Injector','max','FIELD','views','base:unknown','UniverEditHistoryPlugin','indexOf','constructor','base:field','join','@univerjs/core','base','forEach','params','default','Module','values','onStarting','2056856FEgzRh','_configService','rightData','1pFGIqu','_config','merge','UniverProBases','fields','compose','call','kind','IConfigService','recordOrder','iterator','name','UniverProBasesHistory','sort','symbol','mutation','fieldOrder','insert','exports','updatedBy','1.0.1','UniverBasesPlugin','string','filter','raw-table-data','BasesHistoryDiffService','@univerjs-pro/license','type','entry','colId','orderKey','974676vZSGLv','Inject','@univerjs-pro/edit-history','UnitComparisonEntityType','updatedAt','base-cell','499140XieuYw','VIEW','isArray','viewOrder','base:view','@univerjs-pro/bases','recordId','rowIndex','revision','pluginName','records','set','hasOwnProperty','registerDependencies','push','UniverBasesHistoryPlugin','delete','viewId','5898WaRIZa','flatMap','load','path','base:record','keys','primaryFieldId','toStringTag','version','asRecord','value','rowId','map','register','632166rxYGTp','cellData','TABLE','_mutationService'];_0x2a7c=function(){return _0x554166;};return _0x2a7c();}
1
+ function _0x264a(_0x26e045,_0x8fa91e){_0x26e045=_0x26e045-0xd8;const _0x11eb0b=_0x11eb();let _0x264a92=_0x11eb0b[_0x26e045];return _0x264a92;}(function(_0x3970a7,_0x19cfee){const _0x3c9c90=_0x264a,_0x180fe5=_0x3970a7();while(!![]){try{const _0x1e70be=-parseInt(_0x3c9c90(0x100))/0x1*(parseInt(_0x3c9c90(0xd8))/0x2)+parseInt(_0x3c9c90(0x117))/0x3+-parseInt(_0x3c9c90(0x15b))/0x4+-parseInt(_0x3c9c90(0xf0))/0x5+-parseInt(_0x3c9c90(0x11a))/0x6*(-parseInt(_0x3c9c90(0xfc))/0x7)+parseInt(_0x3c9c90(0x156))/0x8+parseInt(_0x3c9c90(0xec))/0x9;if(_0x1e70be===_0x19cfee)break;else _0x180fe5['push'](_0x180fe5['shift']());}catch(_0x1ab508){_0x180fe5['push'](_0x180fe5['shift']());}}}(_0x11eb,0xdac65),function(_0x49a3a4,_0x40b600){const _0x23df75=_0x264a;typeof exports=='object'&&typeof module<'u'?_0x40b600(exports,require('@univerjs-pro/bases'),require('@univerjs-pro/edit-history'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x23df75(0xed)&&define[_0x23df75(0xe2)]?define([_0x23df75(0xda),_0x23df75(0x160),_0x23df75(0x142),'@univerjs-pro/license',_0x23df75(0x13f)],_0x40b600):(_0x49a3a4=typeof globalThis<'u'?globalThis:_0x49a3a4||self,_0x40b600(_0x49a3a4[_0x23df75(0x15a)]={},_0x49a3a4[_0x23df75(0x106)],_0x49a3a4[_0x23df75(0x12b)],_0x49a3a4[_0x23df75(0x161)],_0x49a3a4[_0x23df75(0x134)]));}(this,function(_0x2a0b1d,_0x121681,_0x5a3655,_0x137f65,_0x3a95bd){const _0x534e83=_0x264a;Object[_0x534e83(0x101)](_0x2a0b1d,Symbol[_0x534e83(0x123)],{'value':'Module'});var _0x48a6ae=_0x534e83(0xfd),_0x14edd2=_0x534e83(0xdb);let _0x12fc93={},_0x10138e=[_0x534e83(0x11d),'fieldOrder','viewOrder',_0x534e83(0x105),_0x534e83(0x10b),_0x534e83(0xf4),_0x534e83(0x136),'cellData'];function _0x45330e(_0x5f1a42){const _0x4f9487=_0x534e83;let _0x39fd37=null,_0x39210b=null,_0x1d16ce=_0x5f1a42[_0x4f9487(0x159)]((_0xd46786,_0x6221df)=>({'entry':_0xd46786,'index':_0x6221df}))[_0x4f9487(0x132)]((_0x1a47ee,_0x31f661)=>_0x1a47ee[_0x4f9487(0x15c)][_0x4f9487(0x119)]-_0x31f661[_0x4f9487(0x15c)][_0x4f9487(0x119)]||_0x1a47ee[_0x4f9487(0x122)]-_0x31f661['index']);for(let {entry:_0x5c0aa8}of _0x1d16ce)_0x5c2921(_0x5c0aa8[_0x4f9487(0xe6)][_0x4f9487(0x109)])&&(_0x39fd37=_0x39fd37===null?_0x5c0aa8[_0x4f9487(0xe6)][_0x4f9487(0x109)]['op']:_0x3a95bd['JSON1'][_0x4f9487(0x14a)]['compose'](_0x39fd37,_0x5c0aa8[_0x4f9487(0xe6)]['params']['op']),_0x39210b=_0x5c0aa8);if(_0x39fd37===null||_0x39210b===null)return[];let _0x2fe5d7=_0x5a5c1b(_0x39fd37)[_0x4f9487(0x162)](_0x1861c7=>!_0x38fa69(_0x1861c7)),_0x33408c=_0x1c6af6(_0x2fe5d7,'recordOrder'),_0x2333ac=_0x1c6af6(_0x2fe5d7,_0x4f9487(0x12e));return _0x2fe5d7[_0x4f9487(0x10e)]((_0x228a7d,_0x39b032)=>{const _0x38dc23=_0x4f9487;let _0x2f99d0=_0x55c222(_0x228a7d[_0x38dc23(0x158)]);if(!_0x2f99d0)return[];let _0x1ec1c8=_0x25291a(_0x228a7d,_0x2f99d0);return[{'id':_0x39210b[_0x38dc23(0x119)]+':'+_0x39b032,'kind':_0x1ec1c8,'label':_0x2f99d0[_0x38dc23(0x120)],'memberId':_0x39210b['memberId'],'tableId':_0x2f99d0['tableId'],'viewId':_0x2f99d0['viewId'],'recordId':_0x2f99d0['recordId'],'recordIndex':_0x2f99d0[_0x38dc23(0xe9)]?_0x33408c[_0x38dc23(0xe1)](_0x2f99d0[_0x38dc23(0xe9)]):void 0x0,'removedRecord':_0x1ec1c8==='delete'?_0x76610c(_0x228a7d,_0x2f99d0):void 0x0,'fieldId':_0x2f99d0[_0x38dc23(0x164)],'fieldIndex':_0x2f99d0['fieldId']?_0x2333ac[_0x38dc23(0xe1)](_0x2f99d0[_0x38dc23(0x164)]):void 0x0}];});}function _0x25291a(_0x377447,_0x14e425){const _0x15494b=_0x534e83;if(!_0x12a91c(_0x377447[_0x15494b(0x158)],_0x14e425))return'update';let _0x298205=Object[_0x15494b(0x125)][_0x15494b(0x14c)][_0x15494b(0xf3)](_0x377447[_0x15494b(0x155)],'i'),_0x270625=Object['prototype'][_0x15494b(0x14c)][_0x15494b(0xf3)](_0x377447['value'],'r');return _0x298205&&!_0x270625?_0x15494b(0x15d):_0x270625&&!_0x298205?_0x15494b(0x13e):_0x15494b(0x10c);}function _0x38fa69(_0x306ed6){const _0x16b387=_0x534e83;return Object[_0x16b387(0x125)][_0x16b387(0x14c)]['call'](_0x306ed6[_0x16b387(0x155)],'i')&&Object[_0x16b387(0x125)]['hasOwnProperty'][_0x16b387(0xf3)](_0x306ed6[_0x16b387(0x155)],'r')&&_0x19d03d(_0x306ed6[_0x16b387(0x155)]['i'],_0x306ed6[_0x16b387(0x155)]['r']);}function _0x19d03d(_0x2aa695,_0x270f08){const _0x4ebfae=_0x534e83;if(_0x2aa695===_0x270f08)return!0x0;if(Array[_0x4ebfae(0x129)](_0x2aa695)||Array[_0x4ebfae(0x129)](_0x270f08))return Array[_0x4ebfae(0x129)](_0x2aa695)&&Array['isArray'](_0x270f08)&&_0x2aa695[_0x4ebfae(0x11f)]===_0x270f08[_0x4ebfae(0x11f)]&&_0x2aa695['every']((_0x2a89ab,_0x38dd77)=>_0x19d03d(_0x2a89ab,_0x270f08[_0x38dd77]));if(!_0x412f74(_0x2aa695)||!_0x412f74(_0x270f08))return!0x1;let _0xf8cc7b=Object[_0x4ebfae(0x115)](_0x2aa695),_0x4d7286=Object['keys'](_0x270f08);return _0xf8cc7b[_0x4ebfae(0x11f)]===_0x4d7286[_0x4ebfae(0x11f)]&&_0xf8cc7b[_0x4ebfae(0x11b)](_0x51fc6a=>Object[_0x4ebfae(0x125)][_0x4ebfae(0x14c)]['call'](_0x270f08,_0x51fc6a)&&_0x19d03d(_0x2aa695[_0x51fc6a],_0x270f08[_0x51fc6a]));}function _0x12a91c(_0x2265b5,_0x496cbb){const _0x30af07=_0x534e83;return _0x496cbb['tableId']?_0x496cbb[_0x30af07(0xe9)]&&_0x496cbb[_0x30af07(0x164)]?_0x25d55c(_0x2265b5,[_0x30af07(0x152),_0x496cbb[_0x30af07(0x111)],_0x30af07(0x15e),_0x496cbb[_0x30af07(0xe9)],_0x30af07(0x12f),_0x496cbb['fieldId']]):_0x496cbb['recordId']?_0x25d55c(_0x2265b5,[_0x30af07(0x152),_0x496cbb[_0x30af07(0x111)],'records',_0x496cbb[_0x30af07(0xe9)]]):_0x496cbb[_0x30af07(0x164)]?_0x25d55c(_0x2265b5,[_0x30af07(0x152),_0x496cbb[_0x30af07(0x111)],_0x30af07(0x154),_0x496cbb[_0x30af07(0x164)]]):_0x496cbb['viewId']?_0x25d55c(_0x2265b5,['tables',_0x496cbb[_0x30af07(0x111)],'views',_0x496cbb[_0x30af07(0xf2)]]):_0x25d55c(_0x2265b5,[_0x30af07(0x152),_0x496cbb['tableId']]):!0x1;}function _0x25d55c(_0x5b16df,_0x1b47cf){const _0x27e4b9=_0x534e83;return _0x5b16df[_0x27e4b9(0x11f)]===_0x1b47cf[_0x27e4b9(0x11f)]&&_0x5b16df[_0x27e4b9(0x11b)]((_0x26c18d,_0x484e6d)=>_0x26c18d===_0x1b47cf[_0x484e6d]);}function _0x55c222(_0x332a69){const _0x405fca=_0x534e83;let _0x17a0c7=_0x332a69[_0x405fca(0x11c)](_0x405fca(0x152)),_0x4503ff=_0x332a69[_0x17a0c7+0x1];if(_0x17a0c7<0x0||typeof _0x4503ff!=_0x405fca(0x13b))return null;let _0x2d838f=_0x332a69[_0x17a0c7+0x2],_0x166f5d=_0x332a69[_0x17a0c7+0x3];if(_0x2d838f===_0x405fca(0x15e)&&typeof _0x166f5d==_0x405fca(0x13b)){let _0x4a6dbe=_0x332a69[_0x17a0c7+0x4],_0x1aaac3=_0x332a69[_0x17a0c7+0x5];return _0x4a6dbe===_0x405fca(0x12f)&&typeof _0x1aaac3=='string'?{'label':_0x405fca(0x13c),'tableId':_0x4503ff,'recordId':_0x166f5d,'fieldId':_0x1aaac3}:_0x4a6dbe===_0x405fca(0xdc)||_0x4a6dbe===_0x405fca(0x14b)?null:{'label':_0x405fca(0x157),'tableId':_0x4503ff,'recordId':_0x166f5d};}return _0x2d838f===_0x405fca(0x154)&&typeof _0x166f5d==_0x405fca(0x13b)?{'label':_0x405fca(0x140),'tableId':_0x4503ff,'fieldId':_0x166f5d}:_0x2d838f===_0x405fca(0x151)&&typeof _0x166f5d==_0x405fca(0x13b)?{'label':_0x405fca(0x133),'tableId':_0x4503ff,'viewId':_0x166f5d}:_0x10138e['some'](_0x2cfed3=>_0x2cfed3===_0x2d838f)?null:{'label':_0x2d838f===void 0x0?_0x405fca(0x108):_0x405fca(0x10f),'tableId':_0x4503ff};}function _0x1c6af6(_0x1976e4,_0x284319){const _0x271673=_0x534e83;let _0x2923fa=new Map();return _0x1976e4[_0x271673(0xdf)](_0x5a2bc9=>{const _0x2ec4e0=_0x271673;let _0x507a2a=_0x5a2bc9['path'][_0x2ec4e0(0x11c)](_0x284319),_0x2bf4f7=_0x5a2bc9[_0x2ec4e0(0x158)][_0x507a2a+0x1],_0x40ea5d=_0x5a2bc9[_0x2ec4e0(0x155)]['r'];if(_0x507a2a>=0x0&&typeof _0x2bf4f7==_0x2ec4e0(0x148)&&typeof _0x40ea5d==_0x2ec4e0(0x13b)){_0x2923fa[_0x2ec4e0(0x12c)](_0x40ea5d,_0x2bf4f7);return;}if(_0x507a2a!==_0x5a2bc9[_0x2ec4e0(0x158)]['length']-0x1||!Array[_0x2ec4e0(0x129)](_0x40ea5d))return;let _0x46a1d2=new Set(Array[_0x2ec4e0(0x129)](_0x5a2bc9[_0x2ec4e0(0x155)]['i'])?_0x5a2bc9['value']['i'][_0x2ec4e0(0x162)](_0x5574ca=>typeof _0x5574ca==_0x2ec4e0(0x13b)):[]);_0x40ea5d['forEach']((_0x614814,_0x3a1d6a)=>{typeof _0x614814=='string'&&!_0x46a1d2['has'](_0x614814)&&_0x2923fa['set'](_0x614814,_0x3a1d6a);});}),_0x2923fa;}function _0x76610c(_0x5ea714,_0x4ded3){const _0x567e36=_0x534e83;if(_0x4ded3['recordId']&&!_0x4ded3['fieldId']&&_0x12a91c(_0x5ea714[_0x567e36(0x158)],_0x4ded3))return _0xb3b15f(_0x5ea714[_0x567e36(0x155)]['r'])?_0x5ea714[_0x567e36(0x155)]['r']:void 0x0;}function _0xb3b15f(_0x3a49ce){const _0x3b2973=_0x534e83;return _0x412f74(_0x3a49ce)&&typeof _0x3a49ce['id']=='string'&&_0x412f74(_0x3a49ce['values'])&&typeof _0x3a49ce['orderKey']==_0x3b2973(0x13b)&&typeof _0x3a49ce['createdAt']=='number'&&typeof _0x3a49ce[_0x3b2973(0xdc)]==_0x3b2973(0x148);}function _0x5a5c1b(_0x54e740){let _0x4aafe1=[];return _0x3e06fb(_0x54e740,[],_0x4aafe1),_0x4aafe1;}function _0x3e06fb(_0x2f98a1,_0x1ffb7f,_0x22d5dd){const _0x53b864=_0x534e83;if(!Array[_0x53b864(0x129)](_0x2f98a1))return;let _0x300b79=[];_0x2f98a1[_0x53b864(0xdf)](_0x360e4d=>{const _0xff397d=_0x53b864;if(Array[_0xff397d(0x129)](_0x360e4d)){_0x3e06fb(_0x360e4d,[..._0x1ffb7f,..._0x300b79],_0x22d5dd);return;}if(_0xda5f9f(_0x360e4d)){_0x22d5dd['push']({'path':[..._0x1ffb7f,..._0x300b79],'value':_0x360e4d});return;}(typeof _0x360e4d=='string'||typeof _0x360e4d=='number')&&_0x300b79[_0xff397d(0x127)](_0x360e4d);});}function _0xda5f9f(_0x55ee62){const _0x4ed9ea=_0x534e83;return _0x412f74(_0x55ee62)&&['i','r','p','d','es','ena','et'][_0x4ed9ea(0x139)](_0x163de3=>Object[_0x4ed9ea(0x125)][_0x4ed9ea(0x14c)][_0x4ed9ea(0xf3)](_0x55ee62,_0x163de3));}function _0x5c2921(_0x220bda){const _0x1d38c1=_0x534e83;return typeof _0x220bda==_0x1d38c1(0xfa)&&!!_0x220bda&&'op'in _0x220bda&&Array[_0x1d38c1(0x129)](_0x220bda['op']);}function _0x412f74(_0x3d4017){const _0x3add8=_0x534e83;return typeof _0x3d4017==_0x3add8(0xfa)&&!!_0x3d4017;}function _0x124187(_0x2be349,_0x19e0a2){return function(_0x8aff4d,_0x2e260f){_0x19e0a2(_0x8aff4d,_0x2e260f,_0x2be349);};}function _0x57fb75(_0x3262a8,_0x2bf87f,_0x1cbff7,_0x1e54e0){const _0x4d6450=_0x534e83;var _0x120953=arguments[_0x4d6450(0x11f)],_0x5e5a58=_0x120953<0x3?_0x2bf87f:_0x1e54e0===null?_0x1e54e0=Object['getOwnPropertyDescriptor'](_0x2bf87f,_0x1cbff7):_0x1e54e0,_0xe5fee7;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x4d6450(0xed))_0x5e5a58=Reflect[_0x4d6450(0x143)](_0x3262a8,_0x2bf87f,_0x1cbff7,_0x1e54e0);else{for(var _0x33d362=_0x3262a8['length']-0x1;_0x33d362>=0x0;_0x33d362--)(_0xe5fee7=_0x3262a8[_0x33d362])&&(_0x5e5a58=(_0x120953<0x3?_0xe5fee7(_0x5e5a58):_0x120953>0x3?_0xe5fee7(_0x2bf87f,_0x1cbff7,_0x5e5a58):_0xe5fee7(_0x2bf87f,_0x1cbff7))||_0x5e5a58);}return _0x120953>0x3&&_0x5e5a58&&Object[_0x4d6450(0x101)](_0x2bf87f,_0x1cbff7,_0x5e5a58),_0x5e5a58;}let _0xd6a5ba=class{constructor(_0x5654e6){const _0x4c6bad=_0x534e83;this[_0x4c6bad(0x130)]=_0x5654e6;}async[_0x534e83(0x131)](_0x1d6b06,_0x55f0f5){const _0x39b484=_0x534e83;return _0x45330e(await this[_0x39b484(0x130)][_0x39b484(0xe4)](_0x1d6b06,_0x55f0f5));}};_0xd6a5ba=_0x57fb75([_0x124187(0x0,(0x0,_0x3a95bd['Inject'])(_0x5a3655[_0x534e83(0x135)]))],_0xd6a5ba);function _0x2665c0(_0x16dc6b){'@babel/helpers - typeof';const _0xf501b=_0x534e83;return _0x2665c0=typeof Symbol==_0xf501b(0xed)&&typeof Symbol[_0xf501b(0x150)]==_0xf501b(0xe0)?function(_0x985996){return typeof _0x985996;}:function(_0x73ec8d){const _0x212b9d=_0xf501b;return _0x73ec8d&&typeof Symbol==_0x212b9d(0xed)&&_0x73ec8d[_0x212b9d(0xff)]===Symbol&&_0x73ec8d!==Symbol[_0x212b9d(0x125)]?_0x212b9d(0xe0):typeof _0x73ec8d;},_0x2665c0(_0x16dc6b);}function _0x41febc(_0x4e5d10,_0x2c1033){const _0x30197e=_0x534e83;if(_0x2665c0(_0x4e5d10)!=_0x30197e(0xfa)||!_0x4e5d10)return _0x4e5d10;var _0xec52f1=_0x4e5d10[Symbol[_0x30197e(0x113)]];if(_0xec52f1!==void 0x0){var _0x1f4d15=_0xec52f1[_0x30197e(0xf3)](_0x4e5d10,_0x2c1033||'default');if(_0x2665c0(_0x1f4d15)!=_0x30197e(0xfa))return _0x1f4d15;throw TypeError(_0x30197e(0xe5));}return(_0x2c1033===_0x30197e(0x13b)?String:Number)(_0x4e5d10);}function _0x13b9f6(_0x24dd47){const _0x29b853=_0x534e83;var _0x5d423f=_0x41febc(_0x24dd47,_0x29b853(0x13b));return _0x2665c0(_0x5d423f)==_0x29b853(0xe0)?_0x5d423f:_0x5d423f+'';}function _0x3bda69(_0x49c949,_0xd04dd5,_0x24de06){const _0x50f072=_0x534e83;return(_0xd04dd5=_0x13b9f6(_0xd04dd5))in _0x49c949?Object[_0x50f072(0x101)](_0x49c949,_0xd04dd5,{'value':_0x24de06,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x49c949[_0xd04dd5]=_0x24de06,_0x49c949;}let _0x1c871a=[_0x534e83(0xea),_0x534e83(0x165),_0x534e83(0xdc)],_0x24b87b=[_0x5a3655[_0x534e83(0xf9)][_0x534e83(0x126)],_0x5a3655['UnitComparisonEntityType']['TABLE'],_0x5a3655[_0x534e83(0xf9)][_0x534e83(0xef)],_0x5a3655[_0x534e83(0xf9)]['RECORD'],_0x5a3655[_0x534e83(0xf9)][_0x534e83(0xfe)],_0x5a3655[_0x534e83(0xf9)][_0x534e83(0xeb)]],_0x1631f2=(0x0,_0x5a3655[_0x534e83(0x149)])(_0x534e83(0x154),_0x534e83(0x12e),_0x534e83(0x15e),_0x534e83(0x11d),_0x534e83(0x151),_0x534e83(0x11e),_0x534e83(0xde),_0x534e83(0x136),_0x534e83(0xf4),_0x534e83(0x10b),'rowIndex',..._0x1c871a);var _0xaec3a1=class{constructor(){const _0xebecc5=_0x534e83;_0x3bda69(this,_0xebecc5(0x14a),_0x3a95bd[_0xebecc5(0xe3)][_0xebecc5(0x14f)]);}['compare'](_0x491e3a){const _0x2cf6ef=_0x534e83;let _0x5a1f26=(0x0,_0x5a3655[_0x2cf6ef(0x145)])(_0x491e3a[_0x2cf6ef(0x118)]),_0x1ca4d9=(0x0,_0x5a3655[_0x2cf6ef(0x145)])(_0x491e3a[_0x2cf6ef(0xf7)]),_0x1dbdce=(0x0,_0x5a3655[_0x2cf6ef(0x145)])(_0x5a1f26==null?void 0x0:_0x5a1f26[_0x2cf6ef(0x152)]),_0x53b2d5=(0x0,_0x5a3655[_0x2cf6ef(0x145)])(_0x1ca4d9==null?void 0x0:_0x1ca4d9[_0x2cf6ef(0x152)]),_0x34f94f=new Set([...Object[_0x2cf6ef(0x115)](_0x1dbdce??{}),...Object[_0x2cf6ef(0x115)](_0x53b2d5??{})]),_0x40d7b6=(0x0,_0x5a3655[_0x2cf6ef(0x103)])(_0x1dbdce,_0x5a1f26==null?void 0x0:_0x5a1f26[_0x2cf6ef(0x110)],_0x1631f2),_0xc4981c=(0x0,_0x5a3655[_0x2cf6ef(0x103)])(_0x53b2d5,_0x1ca4d9==null?void 0x0:_0x1ca4d9[_0x2cf6ef(0x110)],_0x1631f2),_0x11ba2a=[...(0x0,_0x5a3655[_0x2cf6ef(0x12a)])({'entityType':_0x5a3655[_0x2cf6ef(0xf9)]['BASE'],'left':_0x5a1f26===void 0x0?[]:[{'stableId':_0x2cf6ef(0x116),'position':0x0,'value':(0x0,_0x5a3655[_0x2cf6ef(0x149)])(_0x2cf6ef(0x152),'tableOrder',_0x2cf6ef(0x10a),..._0x1c871a)(_0x5a1f26)}],'right':_0x1ca4d9===void 0x0?[]:[{'stableId':_0x2cf6ef(0x116),'position':0x0,'value':(0x0,_0x5a3655[_0x2cf6ef(0x149)])(_0x2cf6ef(0x152),_0x2cf6ef(0x110),_0x2cf6ef(0x10a),..._0x1c871a)(_0x1ca4d9)}]}),...(0x0,_0x5a3655['buildSemanticComparisonItems'])({'entityType':_0x5a3655[_0x2cf6ef(0xf9)][_0x2cf6ef(0x13a)],'left':_0x40d7b6,'right':_0xc4981c}),...[..._0x34f94f][_0x2cf6ef(0x10e)](_0x3fbd16=>_0x592ddd(_0x3fbd16,_0x1dbdce,_0x53b2d5))],_0x5a6250=(0x0,_0x5a3655[_0x2cf6ef(0x128)])({'entityType':_0x5a3655['UnitComparisonEntityType'][_0x2cf6ef(0x13a)],'items':_0x11ba2a,'left':_0x40d7b6,'right':_0xc4981c});return{'items':_0x5a6250[_0x2cf6ef(0xe8)],'supportedEntityTypes':_0x24b87b,'scopes':_0x5a6250[_0x2cf6ef(0xf1)],'productContext':{'type':_0x3a95bd['UniverInstanceType'][_0x2cf6ef(0x14f)],'visualProjection':'raw-table-data'}};}};function _0x592ddd(_0x103f89,_0x22ef48,_0x5a8dd1){const _0x4e0fdc=_0x534e83;let _0x4d322f=(0x0,_0x5a3655['asRecord'])(_0x22ef48==null?void 0x0:_0x22ef48[_0x103f89])??{},_0x1a29ff=(0x0,_0x5a3655[_0x4e0fdc(0x145)])(_0x5a8dd1==null?void 0x0:_0x5a8dd1[_0x103f89])??{},_0x9a8dbe=(0x0,_0x5a3655[_0x4e0fdc(0x145)])(_0x4d322f[_0x4e0fdc(0x154)]),_0x4f1e5b=(0x0,_0x5a3655['asRecord'])(_0x1a29ff[_0x4e0fdc(0x154)]),_0x19d087=(0x0,_0x5a3655[_0x4e0fdc(0x145)])(_0x4d322f['records']),_0x4e730d=(0x0,_0x5a3655[_0x4e0fdc(0x145)])(_0x1a29ff[_0x4e0fdc(0x15e)]);return[..._0x1dd982(_0x5a3655['UnitComparisonEntityType']['FIELD'],_0x103f89,_0x9a8dbe,_0x4f1e5b,_0x4d322f['fieldOrder'],_0x1a29ff['fieldOrder'],(0x0,_0x5a3655['withoutComparisonKeys'])(..._0x1c871a)),..._0x1dd982(_0x5a3655[_0x4e0fdc(0xf9)][_0x4e0fdc(0x153)],_0x103f89,_0x19d087,_0x4e730d,_0x4d322f[_0x4e0fdc(0x11d)],_0x1a29ff[_0x4e0fdc(0x11d)],(0x0,_0x5a3655[_0x4e0fdc(0x149)])(_0x4e0fdc(0x12f),_0x4e0fdc(0x144),..._0x1c871a)),..._0x1dd982(_0x5a3655['UnitComparisonEntityType'][_0x4e0fdc(0xfe)],_0x103f89,_0x4d322f[_0x4e0fdc(0x151)],_0x1a29ff['views'],_0x4d322f['viewOrder'],_0x1a29ff[_0x4e0fdc(0x11e)],(0x0,_0x5a3655[_0x4e0fdc(0x149)])(_0x4e0fdc(0x144),..._0x1c871a)),..._0x11d1ce(_0x103f89,_0x9a8dbe,_0x4f1e5b,_0x19d087,_0x4e730d,_0x4d322f[_0x4e0fdc(0x12e)],_0x1a29ff[_0x4e0fdc(0x12e)],_0x4d322f[_0x4e0fdc(0x11d)],_0x1a29ff[_0x4e0fdc(0x11d)],_0x4d322f['primaryFieldId'],_0x1a29ff[_0x4e0fdc(0x107)])];}function _0x1dd982(_0x17fea7,_0x49a800,_0x3cc4b4,_0x7d4ef0,_0x21d611,_0x18720b,_0x17fc6f){const _0x2a80aa=_0x534e83;return(0x0,_0x5a3655[_0x2a80aa(0x12a)])({'entityType':_0x17fea7,'parentStableId':_0x49a800,'left':(0x0,_0x5a3655[_0x2a80aa(0x103)])(_0x3cc4b4,_0x21d611,_0x17fc6f),'right':(0x0,_0x5a3655[_0x2a80aa(0x103)])(_0x7d4ef0,_0x18720b,_0x17fc6f)});}function _0x11d1ce(_0x207fee,_0x5c9965,_0x409b0,_0x2923d9,_0x5ddb1a,_0x31a11e,_0x2366fe,_0x3cc8ed,_0x51d93e,_0x52a3a5,_0x3f4413){const _0x2c93fd=_0x534e83;let _0x5979fd=_0x323506(_0x5c9965,_0x2923d9,_0x31a11e,_0x3cc8ed,_0x52a3a5),_0x272383=_0x323506(_0x409b0,_0x5ddb1a,_0x2366fe,_0x51d93e,_0x3f4413),_0x116735=new Map(_0x5979fd[_0x2c93fd(0x159)](_0x41140e=>[_0x41140e[_0x2c93fd(0x137)],_0x41140e])),_0x5c9078=new Map(_0x272383[_0x2c93fd(0x159)](_0x1ba7e9=>[_0x1ba7e9[_0x2c93fd(0x137)],_0x1ba7e9]));return(0x0,_0x5a3655[_0x2c93fd(0x12a)])({'entityType':_0x5a3655['UnitComparisonEntityType']['CELL'],'parentStableId':_0x207fee,'left':_0x5979fd,'right':_0x272383})[_0x2c93fd(0x159)](_0xdd5476=>({..._0xdd5476,'locations':{'left':_0x30f223(_0xdd5476[_0x2c93fd(0x124)][_0x2c93fd(0xfb)],_0x116735[_0x2c93fd(0xe1)](_0xdd5476[_0x2c93fd(0x137)]),_0x207fee),'right':_0x30f223(_0xdd5476[_0x2c93fd(0x124)][_0x2c93fd(0x13d)],_0x5c9078[_0x2c93fd(0xe1)](_0xdd5476['stableId']),_0x207fee)}}));}function _0x30f223(_0x2edf9a,_0x465e7f,_0x217df0){const _0x2851cd=_0x534e83;if(_0x2edf9a===null||_0x465e7f===void 0x0)return null;let _0x165b94=_0x2edf9a[_0x2851cd(0x10d)];return(_0x165b94==null?void 0x0:_0x165b94[_0x2851cd(0x147)])===_0x2851cd(0xf8)?{..._0x2edf9a,'parentStableId':_0x465e7f[_0x2851cd(0xe9)],'target':{..._0x165b94,'kind':_0x2851cd(0x138),'tableId':_0x217df0,'recordId':_0x465e7f[_0x2851cd(0xe9)],'fieldId':_0x465e7f[_0x2851cd(0x164)]}}:_0x2edf9a;}function _0x323506(_0x529e94,_0x2d337a,_0x395519,_0xa9e72f,_0x5863cf){const _0x24eae7=_0x534e83;let _0x59c79f=_0x28f232(_0x529e94,_0x395519);return _0x28f232(_0x2d337a,_0xa9e72f)[_0x24eae7(0x10e)]((_0x16e725,_0x191bc3)=>{const _0x4671f6=_0x24eae7;var _0x9d3fbe;let _0x52252b=(0x0,_0x5a3655[_0x4671f6(0x145)])((_0x9d3fbe=(0x0,_0x5a3655[_0x4671f6(0x145)])(_0x2d337a==null?void 0x0:_0x2d337a[_0x16e725]))==null?void 0x0:_0x9d3fbe[_0x4671f6(0x12f)]);if(_0x52252b===void 0x0)return[];let _0x82d0af=typeof _0x5863cf==_0x4671f6(0x13b)?_0x52252b[_0x5863cf]:void 0x0,_0x56622f=typeof _0x82d0af==_0x4671f6(0x13b)||typeof _0x82d0af==_0x4671f6(0x148)?String(_0x82d0af):void 0x0;return _0x59c79f['flatMap']((_0x1d891e,_0x1cf09b)=>{const _0x2406af=_0x4671f6;var _0x21f02a;return _0x1d891e in _0x52252b?[{'stableId':_0x16e725+':'+_0x1d891e,'recordId':_0x16e725,'fieldId':_0x1d891e,'position':_0x191bc3*Math[_0x2406af(0x163)](0x1,_0x59c79f[_0x2406af(0x11f)])+_0x1cf09b,'displayName':[_0x56622f,(_0x21f02a=(0x0,_0x5a3655[_0x2406af(0x145)])(_0x529e94==null?void 0x0:_0x529e94[_0x1d891e]))==null?void 0x0:_0x21f02a[_0x2406af(0xd9)]][_0x2406af(0x162)](_0x39dee3=>typeof _0x39dee3==_0x2406af(0x13b)&&_0x39dee3[_0x2406af(0x11f)]>0x0)[_0x2406af(0xee)](_0x2406af(0xf5)),'value':_0x52252b[_0x1d891e]}]:[];});});}function _0x28f232(_0x3d5d1e,_0x2e021f){const _0x11dd98=_0x534e83;let _0x1133f0=_0x3d5d1e??{},_0x2bff99=Array[_0x11dd98(0x129)](_0x2e021f)?_0x2e021f[_0x11dd98(0x162)](_0x432cf8=>typeof _0x432cf8==_0x11dd98(0x13b)&&_0x432cf8 in _0x1133f0):[],_0x1c519a=new Set(_0x2bff99);return[..._0x2bff99,...Object['keys'](_0x1133f0)['filter'](_0x3f9d4d=>!_0x1c519a['has'](_0x3f9d4d))];}let _0x904221=class extends _0x3a95bd['Plugin']{constructor(_0x2473f0=_0x12fc93,_0x2def97,_0x511f4c){const _0x54f556=_0x534e83;super(),this[_0x54f556(0x12d)]=_0x2473f0,this[_0x54f556(0x15f)]=_0x2def97,this[_0x54f556(0x112)]=_0x511f4c;let {..._0x156204}=(0x0,_0x3a95bd['merge'])({},_0x12fc93,this[_0x54f556(0x12d)]);this['_configService'][_0x54f556(0x104)]('bases-history.config',_0x156204);}['onStarting'](){const _0x6de934=_0x534e83;(0x0,_0x3a95bd[_0x6de934(0x114)])(this['_injector'],[[_0xd6a5ba],[_0xaec3a1]]),this['disposeWithMe'](this[_0x6de934(0x15f)][_0x6de934(0xe1)](_0x5a3655[_0x6de934(0x141)])[_0x6de934(0xe7)](this[_0x6de934(0x15f)]['get'](_0xaec3a1)));}};_0x3bda69(_0x904221,_0x534e83(0xf6),'UNIVER_BASES_HISTORY_PLUGIN'),_0x3bda69(_0x904221,'packageName',_0x48a6ae),_0x3bda69(_0x904221,'version',_0x14edd2),_0x3bda69(_0x904221,_0x534e83(0x14a),_0x3a95bd[_0x534e83(0xe3)][_0x534e83(0x14f)]),_0x904221=_0x57fb75([(0x0,_0x3a95bd['DependentOn'])(_0x137f65['UniverLicensePlugin'],_0x5a3655['UniverEditHistoryPlugin'],_0x121681[_0x534e83(0xdd)]),_0x124187(0x1,(0x0,_0x3a95bd[_0x534e83(0x121)])(_0x3a95bd['Injector'])),_0x124187(0x2,_0x3a95bd[_0x534e83(0x102)])],_0x904221),Object[_0x534e83(0x101)](_0x2a0b1d,_0x534e83(0x146),{'enumerable':!0x0,'get':function(){return _0xd6a5ba;}}),_0x2a0b1d[_0x534e83(0x14d)]=_0xaec3a1,Object['defineProperty'](_0x2a0b1d,_0x534e83(0x14e),{'enumerable':!0x0,'get':function(){return _0x904221;}});}));function _0x11eb(){const _0x38df5c=['CELL','9971892aacojg','function','join','FIELD','2024010RnHkVS','scopes','viewId','call','colIndex','\x20·\x20','pluginName','rightData','entity','UnitComparisonEntityType','object','left','7CGtxKv','@univerjs-pro/bases-history','VIEW','constructor','15069lRKZUg','defineProperty','IConfigService','recordComparisonEntries','setConfig','rowIndex','UniverProBases','primaryFieldId','base:table','params','resources','rowId','update','target','flatMap','base:unknown','tableOrder','tableId','_configService','toPrimitive','registerDependencies','keys','base','1775385zFvRch','leftData','revision','1970154PZIGEz','every','indexOf','recordOrder','viewOrder','length','label','Inject','index','toStringTag','locations','prototype','BASE','push','buildScopedUnitComparison','isArray','buildSemanticComparisonItems','UniverProEditHistory','set','_config','fieldOrder','values','_mutationService','compare','sort','base:view','UniverCore','HistoryMutationService','colId','stableId','base-cell','some','TABLE','string','base:cell','right','delete','@univerjs/core','base:field','UnitComparisonAdapterRegistryService','@univerjs-pro/edit-history','decorate','orderKey','asRecord','BasesHistoryDiffService','kind','number','withoutComparisonKeys','type','updatedBy','hasOwnProperty','BasesUnitComparisonAdapter','UniverBasesHistoryPlugin','UNIVER_BASE','iterator','views','tables','RECORD','fields','value','1020336uVxheQ','base:record','path','map','UniverProBasesHistory','224496fogpwE','entry','insert','records','_injector','@univerjs-pro/bases','UniverProLicense','filter','max','fieldId','createdAt','106EFHece','name','exports','1.0.2','updatedAt','UniverBasesPlugin','cellData','forEach','symbol','get','amd','UniverInstanceType','load','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','mutation','register','items','recordId','rev'];_0x11eb=function(){return _0x38df5c;};return _0x11eb();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/bases-history",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "Base edit history semantics for Univer Pro.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -32,13 +32,13 @@
32
32
  "lib"
33
33
  ],
34
34
  "dependencies": {
35
- "@univerjs-pro/bases": "1.0.1",
36
- "@univerjs-pro/edit-history": "1.0.1",
37
- "@univerjs-pro/license": "1.0.1",
38
- "@univerjs/core": "1.0.1"
35
+ "@univerjs-pro/bases": "1.0.2",
36
+ "@univerjs-pro/edit-history": "1.0.2",
37
+ "@univerjs-pro/license": "1.0.2",
38
+ "@univerjs/core": "1.0.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@univerjs-infra/shared": "1.0.1",
41
+ "@univerjs-infra/shared": "1.0.2",
42
42
  "typescript": "^6.0.3",
43
43
  "vitest": "^5.0.0"
44
44
  },