@univerjs-pro/collaboration-client 0.10.9-nightly.202509260614 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1640f8=_0x3549;(function(_0x41d0cb,_0x1d330d){var _0x434bc6=_0x3549,_0x55a8bb=_0x41d0cb();while(!![]){try{var _0xbd4e76=-parseInt(_0x434bc6(0x39c))/0x1*(parseInt(_0x434bc6(0x236))/0x2)+parseInt(_0x434bc6(0x299))/0x3+-parseInt(_0x434bc6(0x28e))/0x4+-parseInt(_0x434bc6(0x39d))/0x5*(-parseInt(_0x434bc6(0x23b))/0x6)+-parseInt(_0x434bc6(0x2ad))/0x7+-parseInt(_0x434bc6(0x193))/0x8*(parseInt(_0x434bc6(0x2dc))/0x9)+parseInt(_0x434bc6(0x134))/0xa*(parseInt(_0x434bc6(0x152))/0xb);if(_0xbd4e76===_0x1d330d)break;else _0x55a8bb['push'](_0x55a8bb['shift']());}catch(_0x3263aa){_0x55a8bb['push'](_0x55a8bb['shift']());}}}(_0x459c,0x5834e));var bt=Object[_0x1640f8(0x450)],Ot=(_0x1ca0be,_0x1cf13f,_0x5cba78)=>_0x1cf13f in _0x1ca0be?bt(_0x1ca0be,_0x1cf13f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cba78}):_0x1ca0be[_0x1cf13f]=_0x5cba78,A=(_0x41069a,_0x4ef26c,_0x53b9fb)=>Ot(_0x41069a,typeof _0x4ef26c!=_0x1640f8(0x368)?_0x4ef26c+'':_0x4ef26c,_0x53b9fb);Object[_0x1640f8(0x450)](exports,Symbol['toStringTag'],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x1640f8(0x339),Ut=0x7d0,ht=_0x1640f8(0x269),At='/universer-api/user/session-ticket',_t=_0x1640f8(0x389),Pt=0x7530,ke=_0x1640f8(0x283),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x1640f8(0x1ad),xt=0x3e8,kt='/universer-api/comb',$t=_0x1640f8(0x48b),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt=_0x1640f8(0x2b5);var dt=(_0x3af209=>(_0x3af209[_0x3af209['UNDEFINED']=0x0]='UNDEFINED',_0x3af209[_0x3af209['OK']=0x1]='OK',_0x3af209[_0x3af209['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3af209[_0x3af209[_0x1640f8(0x32e)]=0x3]=_0x1640f8(0x32e),_0x3af209[_0x3af209[_0x1640f8(0x455)]=0x4]=_0x1640f8(0x455),_0x3af209[_0x3af209[_0x1640f8(0x465)]=0x5]=_0x1640f8(0x465),_0x3af209[_0x3af209[_0x1640f8(0x284)]=0x6]=_0x1640f8(0x284),_0x3af209[_0x3af209[_0x1640f8(0x2de)]=0x7]=_0x1640f8(0x2de),_0x3af209[_0x3af209[_0x1640f8(0x1ec)]=0x8]=_0x1640f8(0x1ec),_0x3af209[_0x3af209[_0x1640f8(0x3c1)]=0x9]=_0x1640f8(0x3c1),_0x3af209[_0x3af209[_0x1640f8(0x39a)]=0xa]=_0x1640f8(0x39a),_0x3af209[_0x3af209[_0x1640f8(0x396)]=0xb]=_0x1640f8(0x396),_0x3af209[_0x3af209[_0x1640f8(0x13e)]=0xc]=_0x1640f8(0x13e),_0x3af209[_0x3af209[_0x1640f8(0x21f)]=0xd]=_0x1640f8(0x21f),_0x3af209[_0x3af209[_0x1640f8(0x274)]=0xe]=_0x1640f8(0x274),_0x3af209[_0x3af209[_0x1640f8(0x15c)]=0x1389]=_0x1640f8(0x15c),_0x3af209[_0x3af209['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1640f8(0x307),_0x3af209[_0x3af209[_0x1640f8(0x2e4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3af209[_0x3af209[_0x1640f8(0x19a)]=0x1773]=_0x1640f8(0x19a),_0x3af209[_0x3af209[_0x1640f8(0x338)]=0x1b59]='APPLY_REJECT',_0x3af209[_0x3af209['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1640f8(0x44a),_0x3af209[_0x3af209[_0x1640f8(0x183)]=0x1b5b]=_0x1640f8(0x183),_0x3af209[_0x3af209['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1640f8(0x349),_0x3af209[_0x3af209[_0x1640f8(0x2ea)]=0x1b5d]='APPLY_DUPLICATED',_0x3af209[_0x3af209[_0x1640f8(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3af209[_0x3af209[_0x1640f8(0x33b)]=0x2329]=_0x1640f8(0x33b),_0x3af209[_0x3af209['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1640f8(0x416),_0x3af209[_0x3af209['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1640f8(0x1d0),_0x3af209[_0x3af209[_0x1640f8(0x252)]=0x232c]=_0x1640f8(0x252),_0x3af209[_0x3af209['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1640f8(0x2e9),_0x3af209[_0x3af209[_0x1640f8(0x1d4)]=0x2711]=_0x1640f8(0x1d4),_0x3af209[_0x3af209['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1640f8(0x481),_0x3af209[_0x3af209[_0x1640f8(0x253)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3af209[_0x3af209[_0x1640f8(0x16c)]=0x2714]=_0x1640f8(0x16c),_0x3af209[_0x3af209[_0x1640f8(0x270)]=0x271a]=_0x1640f8(0x270),_0x3af209[_0x3af209[_0x1640f8(0x3f1)]=0x271b]=_0x1640f8(0x3f1),_0x3af209[_0x3af209[_0x1640f8(0x33d)]=0x271c]=_0x1640f8(0x33d),_0x3af209[_0x3af209[_0x1640f8(0x3e4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3af209[_0x3af209[_0x1640f8(0x3fc)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3af209[_0x3af209[_0x1640f8(0x2cf)]=0x271f]=_0x1640f8(0x2cf),_0x3af209[_0x3af209['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1640f8(0x2d8),_0x3af209[_0x3af209['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3af209[_0x3af209['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3af209[_0x3af209[_0x1640f8(0x3a5)]=0x2ee2]=_0x1640f8(0x3a5),_0x3af209[_0x3af209[_0x1640f8(0x290)]=0x2ee3]=_0x1640f8(0x290),_0x3af209[_0x3af209[_0x1640f8(0x2a9)]=0x2ee4]=_0x1640f8(0x2a9),_0x3af209[_0x3af209[_0x1640f8(0x471)]=0x2ee5]=_0x1640f8(0x471),_0x3af209[_0x3af209[_0x1640f8(0x3a4)]=0x32c9]=_0x1640f8(0x3a4),_0x3af209[_0x3af209[_0x1640f8(0x324)]=0x32ca]=_0x1640f8(0x324),_0x3af209[_0x3af209[_0x1640f8(0x265)]=0x32cb]=_0x1640f8(0x265),_0x3af209[_0x3af209[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x3af209))(dt||{}),J=(_0x271fa2=>(_0x271fa2[_0x271fa2[_0x1640f8(0x2f5)]=0x0]='UNIVER_UNKNOWN',_0x271fa2[_0x271fa2[_0x1640f8(0x15e)]=0x1]=_0x1640f8(0x15e),_0x271fa2[_0x271fa2[_0x1640f8(0x435)]=0x2]=_0x1640f8(0x435),_0x271fa2[_0x271fa2['UNIVER_SLIDE']=0x3]=_0x1640f8(0x259),_0x271fa2[_0x271fa2[_0x1640f8(0x241)]=0x4]=_0x1640f8(0x241),_0x271fa2[_0x271fa2['UNRECOGNIZED']=-0x1]=_0x1640f8(0x487),_0x271fa2))(J||{}),W=(_0x27661d=>(_0x27661d[_0x27661d[_0x1640f8(0x3bd)]=0x0]='UNKNOWN_CMD',_0x27661d[_0x27661d['HELLO']=0x1]='HELLO',_0x27661d[_0x27661d[_0x1640f8(0x2a5)]=0x2]=_0x1640f8(0x2a5),_0x27661d[_0x27661d[_0x1640f8(0x266)]=0x3]=_0x1640f8(0x266),_0x27661d[_0x27661d[_0x1640f8(0x474)]=0x4]=_0x1640f8(0x474),_0x27661d[_0x27661d[_0x1640f8(0x43f)]=0x5]=_0x1640f8(0x43f),_0x27661d[_0x27661d['RECV']=0x6]=_0x1640f8(0x333),_0x27661d[_0x27661d[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x27661d))(W||{}),se=(_0x5db05c=>(_0x5db05c[_0x5db05c[_0x1640f8(0x1c4)]=0x0]=_0x1640f8(0x1c4),_0x5db05c[_0x5db05c['OK']=0x1]='OK',_0x5db05c[_0x5db05c['FAIL']=0x2]=_0x1640f8(0x20e),_0x5db05c[_0x5db05c['JOIN_ROOM_FULL']=0x3e9]=_0x1640f8(0x173),_0x5db05c[_0x5db05c[_0x1640f8(0x246)]=0x3ea]=_0x1640f8(0x246),_0x5db05c[_0x5db05c[_0x1640f8(0x1f0)]=0x3eb]=_0x1640f8(0x1f0),_0x5db05c[_0x5db05c[_0x1640f8(0x385)]=0x3ec]=_0x1640f8(0x385),_0x5db05c[_0x5db05c[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x5db05c))(se||{}),vt=(_0x31efd4=>(_0x31efd4[_0x31efd4[_0x1640f8(0x3ae)]=0x0]=_0x1640f8(0x3ae),_0x31efd4[_0x31efd4['HttpImport']=0x1]=_0x1640f8(0x37e),_0x31efd4[_0x31efd4[_0x1640f8(0x250)]=0x2]='HttpExport',_0x31efd4[_0x31efd4[_0x1640f8(0x1f6)]=0x3]=_0x1640f8(0x1f6),_0x31efd4[_0x31efd4[_0x1640f8(0x16b)]=0x4]=_0x1640f8(0x16b),_0x31efd4[_0x31efd4[_0x1640f8(0x298)]=0x5]=_0x1640f8(0x298),_0x31efd4[_0x31efd4[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x31efd4))(vt||{});const Bt=_0x1640f8(0x1e7);function Ft(_0xde8985){return JSON['stringify'](_0xde8985)['length'];}var Z=(_0x585e05=>(_0x585e05[_0x1640f8(0x255)]='OTHER_CLIENT_EDITING',_0x585e05[_0x1640f8(0x32e)]=_0x1640f8(0x32e),_0x585e05[_0x1640f8(0x2e2)]=_0x1640f8(0x2e2),_0x585e05[_0x1640f8(0x182)]=_0x1640f8(0x182),_0x585e05[_0x1640f8(0x225)]=_0x1640f8(0x225),_0x585e05[_0x1640f8(0x326)]='SOCKET_FAILED_RETRY',_0x585e05[_0x1640f8(0x1a8)]=_0x1640f8(0x1a8),_0x585e05[_0x1640f8(0x486)]=_0x1640f8(0x486),_0x585e05))(Z||{});class ee{constructor(){var _0x8b3545=_0x1640f8;A(this,_0x8b3545(0x2bd),new H[(_0x8b3545(0x375))]()),A(this,'event$',this[_0x8b3545(0x2bd)][_0x8b3545(0x1ed)]());}['emitEvent'](_0x392c40){var _0xab25c5=_0x1640f8;this[_0xab25c5(0x2bd)][_0xab25c5(0x3f8)](_0x392c40);}}class $e{constructor(){var _0x19a330=_0x1640f8;A(this,_0x19a330(0x3a8),new H[(_0x19a330(0x375))]()),A(this,_0x19a330(0x15b),this['_commentUpdate$'][_0x19a330(0x1ed)]());}[_0x1640f8(0x352)](_0x3c8543){var _0x1b5dbb=_0x1640f8;this[_0x1b5dbb(0x3a8)][_0x1b5dbb(0x3f8)](_0x3c8543);}}var Vt=Object[_0x1640f8(0x2d7)],Wt=(_0x23a240,_0x44eb5b,_0xaae657,_0x323397)=>{var _0x15a598=_0x1640f8;for(var _0xd0ed7d=_0x323397>0x1?void 0x0:_0x323397?Vt(_0x44eb5b,_0xaae657):_0x44eb5b,_0x1b3abe=_0x23a240[_0x15a598(0x388)]-0x1,_0x43518b;_0x1b3abe>=0x0;_0x1b3abe--)(_0x43518b=_0x23a240[_0x1b3abe])&&(_0xd0ed7d=_0x43518b(_0xd0ed7d)||_0xd0ed7d);return _0xd0ed7d;},Ve=(_0x2daca6,_0x41bd95)=>(_0x3bca66,_0x409771)=>_0x41bd95(_0x3bca66,_0x409771,_0x2daca6);exports[_0x1640f8(0x398)]=class extends a[_0x1640f8(0x380)]{constructor(_0x378fa2,_0x534d04){var _0x554c18=_0x1640f8;super(),A(this,'_roomMembers',new Map()),A(this,_0x554c18(0x32a),new H[(_0x554c18(0x375))]()),(this[_0x554c18(0x2f3)]=_0x378fa2,this[_0x554c18(0x351)]=_0x534d04,this[_0x554c18(0x30c)](H[_0x554c18(0x22a)](this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SHEET'])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x5f13ef=>_0x5f13ef[_0x554c18(0x2e1)]())),this['_univerInstanceService'][_0x554c18(0x2fe)](a['UniverInstanceType'][_0x554c18(0x15e)])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x476193=>_0x476193[_0x554c18(0x2e1)]())),this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SLIDE'])[_0x554c18(0x297)](V['map'](_0x22aca2=>_0x22aca2[_0x554c18(0x2e1)]())))[_0x554c18(0x217)](_0x5e1f3c=>this[_0x554c18(0x171)](_0x5e1f3c))));}[_0x1640f8(0x443)](_0x2b3936){var _0x16df03=_0x1640f8;return this[_0x16df03(0x23d)][_0x16df03(0x3fb)](_0x2b3936)?H['of'](this[_0x16df03(0x23d)][_0x16df03(0x3ee)](_0x2b3936)):this[_0x16df03(0x32a)][_0x16df03(0x297)](V[_0x16df03(0x3d2)](_0x5bc9f8=>{if(_0x5bc9f8===_0x2b3936)return this['_roomMembers']['get'](_0x5bc9f8);}));}['setCurrentUser'](_0x21cd89){var _0x2f5494=_0x1640f8;this['_userManagerService'][_0x2f5494(0x1bc)](_0x21cd89);}[_0x1640f8(0x2b9)](){var _0x593320=_0x1640f8;return this[_0x593320(0x351)][_0x593320(0x2b9)]();}['updateMember'](_0x24de50,_0x155877){var _0x2ba8f9=_0x1640f8;let _0x24101c=this['_roomMembers'][_0x2ba8f9(0x3ee)](_0x24de50);_0x24101c||(_0x24101c=new Gt(),this[_0x2ba8f9(0x23d)]['set'](_0x24de50,_0x24101c),this['_roomCreated$'][_0x2ba8f9(0x3f8)](_0x24de50)),_0x24101c[_0x2ba8f9(0x2c1)](_0x155877);}[_0x1640f8(0x19b)](_0x21ab29,_0x564522){var _0x355947=_0x1640f8;const _0x56f024=this[_0x355947(0x23d)][_0x355947(0x3ee)](_0x21ab29);_0x56f024&&_0x56f024[_0x355947(0x19b)](_0x564522);}[_0x1640f8(0x221)](_0x398bc2){var _0x10e252=_0x1640f8;return this[_0x10e252(0x23d)][_0x10e252(0x3ee)](_0x398bc2);}[_0x1640f8(0x3f4)](_0x405eac,_0x56bb0e){var _0x15eefe=_0x1640f8;const _0x56776f=this[_0x15eefe(0x23d)][_0x15eefe(0x3ee)](_0x405eac);if(_0x56776f)return _0x56776f[_0x15eefe(0x3f4)](_0x56bb0e);}['_removeRoom'](_0x140f08){var _0x88f927=_0x1640f8;const _0x318f5c=this[_0x88f927(0x23d)][_0x88f927(0x3ee)](_0x140f08);_0x318f5c&&(_0x318f5c[_0x88f927(0x244)](),this[_0x88f927(0x23d)][_0x88f927(0x24b)](_0x140f08));}['dispose'](){var _0xf25adc=_0x1640f8;this[_0xf25adc(0x23d)][_0xf25adc(0x1ff)](_0x262fb4=>_0x262fb4[_0xf25adc(0x244)]()),this[_0xf25adc(0x23d)][_0xf25adc(0x21c)](),this[_0xf25adc(0x32a)][_0xf25adc(0x256)]();}},exports['MemberService']=Wt([Ve(0x0,a[_0x1640f8(0x49a)]),Ve(0x1,a['Inject'](a[_0x1640f8(0x445)]))],exports[_0x1640f8(0x398)]);class Gt extends a['Disposable']{constructor(){var _0x8686c=_0x1640f8;super(...arguments),A(this,_0x8686c(0x381),new Map()),A(this,'_members$',new H[(_0x8686c(0x453))](this[_0x8686c(0x381)])),A(this,_0x8686c(0x2f9),this['_members$'][_0x8686c(0x1ed)]());}[_0x1640f8(0x244)](){var _0x1863f1=_0x1640f8;this[_0x1863f1(0x381)][_0x1863f1(0x21c)]();}['updateMember'](_0x47c98e){this['_members']['set'](_0x47c98e['memberID'],_0x47c98e),this['_emitMembers']();}[_0x1640f8(0x19b)](_0x2a0c37){this['_members']['delete'](_0x2a0c37);}[_0x1640f8(0x3f4)](_0x2a04a7){var _0x160188=_0x1640f8;return this[_0x160188(0x381)][_0x160188(0x3ee)](_0x2a04a7);}[_0x1640f8(0x21b)](){var _0x48550d=_0x1640f8;return Array[_0x48550d(0x41d)](this[_0x48550d(0x381)][_0x48550d(0x43c)]());}['_emitMembers'](){var _0x5312e4=_0x1640f8;this[_0x5312e4(0x140)]['next'](this[_0x5312e4(0x381)]);}}var Yt=Object[_0x1640f8(0x2d7)],qt=(_0x33d020,_0x233166,_0x301daa,_0x9a98ce)=>{var _0x4dadb3=_0x1640f8;for(var _0x452729=_0x9a98ce>0x1?void 0x0:_0x9a98ce?Yt(_0x233166,_0x301daa):_0x233166,_0x49233a=_0x33d020[_0x4dadb3(0x388)]-0x1,_0x1383b0;_0x49233a>=0x0;_0x49233a--)(_0x1383b0=_0x33d020[_0x49233a])&&(_0x452729=_0x1383b0(_0x452729)||_0x452729);return _0x452729;},ce=(_0x34a1b8,_0x4b86ca)=>(_0x8146e7,_0x5ce27e)=>_0x4b86ca(_0x8146e7,_0x5ce27e,_0x34a1b8),re=(_0x4d7adc=>(_0x4d7adc[_0x4d7adc[_0x1640f8(0x390)]=0x0]='IDLE',_0x4d7adc[_0x4d7adc[_0x1640f8(0x45b)]=0x1]='JOINING',_0x4d7adc[_0x4d7adc[_0x1640f8(0x2bb)]=0x2]=_0x1640f8(0x2bb),_0x4d7adc[_0x4d7adc[_0x1640f8(0x314)]=0x3]=_0x1640f8(0x314),_0x4d7adc))(re||{});const We={[se[_0x1640f8(0x20e)]]:_0x1640f8(0x3f7),[se[_0x1640f8(0x173)]]:_0x1640f8(0x278),[se[_0x1640f8(0x246)]]:'session.room-not-exists',[se[_0x1640f8(0x1f0)]]:'session.room-permission-denied',[se[_0x1640f8(0x385)]]:_0x1640f8(0x459)};exports[_0x1640f8(0x1b7)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x567e28,_0x581851,_0xbde09b,_0x1622a0,_0x50fd0b,_0x1542e4,_0x1a257b,_0x3b7826){var _0x4061f2=_0x1640f8;super(),A(this,'_sessionStatus$',new H[(_0x4061f2(0x453))](0x0)),A(this,_0x4061f2(0x478),this['_sessionStatus$'][_0x4061f2(0x1ed)]()),A(this,_0x4061f2(0x2bd),new H['Subject']()),A(this,_0x4061f2(0x2be),this[_0x4061f2(0x2bd)]['asObservable']()),A(this,_0x4061f2(0x36b)),A(this,_0x4061f2(0x3fa)),A(this,_0x4061f2(0x479)),A(this,_0x4061f2(0x3ca),!0x1),A(this,'_telemetryInfo',null),(this[_0x4061f2(0x408)]=_0x567e28,this[_0x4061f2(0x3aa)]=_0xbde09b,this['_configService']=_0x1622a0,this[_0x4061f2(0x25f)]=_0x50fd0b,this[_0x4061f2(0x3b2)]=_0x1542e4,this['_collaborationUIEventService']=_0x1a257b,this[_0x4061f2(0x19c)]=_0x3b7826,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x581851[_0x4061f2(0x297)](H['takeUntil'](this[_0x4061f2(0x247)]))[_0x4061f2(0x217)](_0x1619be=>{var _0x59e3f0=_0x4061f2,_0x2c8857;typeof _0x1619be>'u'||(this[_0x59e3f0(0x36b)]=_0x1619be,_0x1619be?(this[_0x59e3f0(0x337)](_0x1619be),this[_0x59e3f0(0x3fa)]=_0x1619be[_0x59e3f0(0x151)][_0x59e3f0(0x217)](_0x34dd49=>{var _0x6dab1f=_0x59e3f0;_0x34dd49[_0x6dab1f(0x149)]===this['_unitID']&&this['_onCombEvent'](_0x34dd49);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x59e3f0(0x27f)]['next'](0x2),(_0x2c8857=this['_socketMessageSubscription'])==null||_0x2c8857[_0x59e3f0(0x209)](),this[_0x59e3f0(0x3fa)]=null));}));}get['sessionStatus'](){var _0x544337=_0x1640f8;return this[_0x544337(0x27f)][_0x544337(0x46c)]();}[_0x1640f8(0x238)](){var _0x18c7ac=_0x1640f8,_0xb42c81,_0x2dfc28;return(_0x2dfc28=(_0xb42c81=this['_socket'])==null?void 0x0:_0xb42c81[_0x18c7ac(0x433)])!=null?_0x2dfc28:null;}[_0x1640f8(0x244)](){var _0x5f1c9b=_0x1640f8;super['dispose'](),this[_0x5f1c9b(0x247)][_0x5f1c9b(0x3f8)](),this['dispose$']['complete']();}[_0x1640f8(0x3f5)](){var _0x212139=_0x1640f8,_0x15cc28,_0x43b183;this[_0x212139(0x322)](),(_0x15cc28=this['_socket'])==null||_0x15cc28['send']({'cmd':W[_0x212139(0x266)],'data':{'roomID':this[_0x212139(0x408)]}}),(_0x43b183=this[_0x212139(0x36b)])==null||_0x43b183[_0x212139(0x3f5)](),this['_event$']['complete'](),this[_0x212139(0x27f)][_0x212139(0x256)](),this[_0x212139(0x244)]();}[_0x1640f8(0x3c2)](_0x13d933){var _0x51fd15=_0x1640f8;_0x13d933[_0x51fd15(0x21d)]===W[_0x51fd15(0x2a5)]?this[_0x51fd15(0x25b)](_0x13d933):_0x13d933['cmd']===W[_0x51fd15(0x333)]&&this['_onRecvEvent'](_0x13d933);}[_0x1640f8(0x337)](_0x3b5880){var _0x68366f=_0x1640f8;this['_sessionStatus$'][_0x68366f(0x3f8)](0x1),_0x3b5880[_0x68366f(0x407)]({'cmd':W[_0x68366f(0x2a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x68366f(0x408)]}]}});}[_0x1640f8(0x25b)](_0x4aebaa){var _0xbf55c7=_0x1640f8,_0xdcbe01;if(_0x4aebaa[_0xbf55c7(0x141)]in We){this[_0xbf55c7(0x468)]['emitEvent']({'id':Z[_0xbf55c7(0x225)],'data':We[_0x4aebaa[_0xbf55c7(0x141)]]}),this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x2);return;}this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x3);const _0x14b4a=(_0xdcbe01=_0x4aebaa['data'][_0xbf55c7(0x26f)][this['_unitID']])==null?void 0x0:_0xdcbe01[_0xbf55c7(0x1fb)];_0x14b4a&&_0x14b4a[_0xbf55c7(0x1ff)](_0x2bd569=>this[_0xbf55c7(0x25f)]['updateMember'](this['_unitID'],_0x2bd569));}['_onRecvEvent'](_0x4dc70e){var _0x7d7837=_0x1640f8;try{const _0x340caf=_0x4dc70e[_0x7d7837(0x19d)];switch(_0x340caf[_0x7d7837(0x47b)]){case p[_0x7d7837(0x1e8)][_0x7d7837(0x430)]:this['_onUserJoin'](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x22e)]:this[_0x7d7837(0x311)](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x136)]:case p[_0x7d7837(0x1e8)]['CHANGESET_SHOULD_RETRY']:this[_0x7d7837(0x370)](),this[_0x7d7837(0x306)](),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x43a)]:this[_0x7d7837(0x3aa)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x7d7837(0x288)](_0x340caf)),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)]['COMMENT_UPDATE']:this[_0x7d7837(0x3b2)]['onCommentUpdate'](_0x340caf[_0x7d7837(0x19d)]),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;default:this['_event$'][_0x7d7837(0x3f8)](_0x340caf);}}catch(_0x579fed){this[_0x7d7837(0x3aa)][_0x7d7837(0x15a)](_0x579fed,_0x4dc70e);}}[_0x1640f8(0x301)](_0x360498){var _0x3f1e8f=_0x1640f8;this[_0x3f1e8f(0x25f)][_0x3f1e8f(0x2c1)](this[_0x3f1e8f(0x408)],_0x360498[_0x3f1e8f(0x19d)]);}[_0x1640f8(0x311)](_0x400086){var _0x24a124=_0x1640f8;this[_0x24a124(0x25f)][_0x24a124(0x19b)](this[_0x24a124(0x408)],_0x400086[_0x24a124(0x19d)][_0x24a124(0x433)]);}async[_0x1640f8(0x407)](_0x2e1e29,_0x324450){var _0x28a973=_0x1640f8;if(this[_0x28a973(0x2e6)]!==0x3||!this[_0x28a973(0x36b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2e1e29['eventID']===p[_0x28a973(0x1e8)][_0x28a973(0x3b9)]&&(this[_0x28a973(0x2a3)](),this[_0x28a973(0x181)](_0x2e1e29)),this['_socket'][_0x28a973(0x407)]({'cmd':W[_0x28a973(0x474)],'routeKey':_0x324450,'routeType':'','data':_0x2e1e29});}catch(_0x20aaf3){this['_logService']['error'](_0x20aaf3);}}['_scheduleCollaborationTimeoutTimer'](){var _0xc854d6=_0x1640f8,_0x19f21e;this[_0xc854d6(0x479)]=setTimeout(()=>{var _0x5ed9a4=_0xc854d6;this[_0x5ed9a4(0x479)]=null,this[_0x5ed9a4(0x468)][_0x5ed9a4(0x1b6)]({'id':Z[_0x5ed9a4(0x486)]});},(_0x19f21e=this['_configService'][_0xc854d6(0x254)](ke))!=null?_0x19f21e:lt);}[_0x1640f8(0x306)](){var _0x173d9d=_0x1640f8;this[_0x173d9d(0x479)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x173d9d(0x479)]=null);}[_0x1640f8(0x181)](_0x1a6ebb){var _0x57dd7a=_0x1640f8;if(!this[_0x57dd7a(0x3ca)])return;const {data:_0x57bab6}=_0x1a6ebb,{unitID:_0x15402c,changeset:_0x5c3b40}=_0x57bab6,{mutations:_0x149d53,type:_0x4952cd}=_0x5c3b40;this[_0x57dd7a(0x303)]={'unitId':_0x15402c,'type':_0x4952cd,'startTime':performance[_0x57dd7a(0x20f)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x149d53)};}[_0x1640f8(0x370)](){var _0x3ab40a=_0x1640f8;if(this[_0x3ab40a(0x3ca)]){if(!this[_0x3ab40a(0x303)]){this['_logService']['error'](_0x3ab40a(0x342),_0x3ab40a(0x267));return;}this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]=performance[_0x3ab40a(0x20f)](),this[_0x3ab40a(0x303)][_0x3ab40a(0x3c9)]=this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]-this[_0x3ab40a(0x303)][_0x3ab40a(0x146)],this[_0x3ab40a(0x19c)][_0x3ab40a(0x1f5)](Bt,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x1640f8(0x322)](){this['_telemetryInfo']=null;}},exports[_0x1640f8(0x1b7)]=qt([ce(0x2,a[_0x1640f8(0x226)]),ce(0x3,a[_0x1640f8(0x30d)]),ce(0x4,a[_0x1640f8(0x207)](exports[_0x1640f8(0x398)])),ce(0x5,a['Inject']($e)),ce(0x6,a[_0x1640f8(0x207)](ee)),ce(0x7,a[_0x1640f8(0x1d3)](Rt[_0x1640f8(0x2a6)]))],exports[_0x1640f8(0x1b7)]);const K=a[_0x1640f8(0x363)]('collaboration-client.local-cache-service');function Kt(_0xa221e0){var _0x2e4aa8=_0x1640f8;return _0x2e4aa8(0x271)+_0xa221e0;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0xa9684d,_0xfd6b2f,_0x489703,_0x5dc739)=>{var _0x28b94e=_0x1640f8;for(var _0x26d415=_0x5dc739>0x1?void 0x0:_0x5dc739?zt(_0xfd6b2f,_0x489703):_0xfd6b2f,_0x38c253=_0xa9684d[_0x28b94e(0x388)]-0x1,_0x23b817;_0x38c253>=0x0;_0x38c253--)(_0x23b817=_0xa9684d[_0x38c253])&&(_0x26d415=_0x23b817(_0x26d415)||_0x26d415);return _0x26d415;},Ue=(_0x1accbd,_0x83ee24)=>(_0x4e8874,_0x6052ba)=>_0x83ee24(_0x4e8874,_0x6052ba,_0x1accbd);function Xt(_0x36d193){var _0x48a801=_0x1640f8;const {unitID:_0x191b5d,mutations:_0x460710}=_0x36d193;return{'unitId':_0x191b5d,'subUnitId':_0x460710[0x0]['params'][_0x48a801(0x37a)]};}exports[_0x1640f8(0x392)]=class{constructor(_0x8bad59,_0xbdd832,_0x2a0b19){var _0x23834e=_0x1640f8;this[_0x23834e(0x331)]=_0x8bad59,this['_transformService']=_0xbdd832,this[_0x23834e(0x233)]=_0x2a0b19;}[_0x1640f8(0x162)](_0x3e7892){var _0x27c349=_0x1640f8,_0x3b1377,_0x35c2f6,_0x1e96ad,_0x329df1;const _0x5c9b9=this[_0x27c349(0x331)][_0x27c349(0x3ee)](X[_0x27c349(0x360)]),{unitId:_0x65dcb,subUnitId:_0x2389ce}=Xt(_0x3e7892),_0x4b37a6=_0x5c9b9==null?void 0x0:_0x5c9b9[_0x27c349(0x279)](_0x65dcb)[_0x27c349(0x3cc)](),_0x541f8e=(_0x35c2f6=(_0x3b1377=this[_0x27c349(0x233)][_0x27c349(0x178)](_0x65dcb))==null?void 0x0:_0x3b1377[_0x27c349(0x413)]())==null?void 0x0:_0x35c2f6[_0x27c349(0x28d)]();if(_0x4b37a6[_0x27c349(0x388)]===0x0||!_0x65dcb||!_0x2389ce)return;const _0x2b5473=[{'id':X[_0x27c349(0x25e)]['id'],'params':{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':a['Tools'][_0x27c349(0x3ed)](_0x4b37a6)}}],_0x27aad7=this[_0x27c349(0x424)][_0x27c349(0x201)](_0x3e7892,_0x2b5473);if(!p['isTransformMutationsWithChangesetSuccess'](_0x27aad7))throw _0x27aad7[_0x27c349(0x15a)];const _0x257eb9=(_0x329df1=(_0x1e96ad=_0x27aad7[_0x27c349(0x47a)][0x0])==null?void 0x0:_0x1e96ad[_0x27c349(0x43d)])==null?void 0x0:_0x329df1[_0x27c349(0x374)];if(Array['isArray'](_0x257eb9)&&_0x257eb9['length']){if(_0x257eb9[_0x27c349(0x388)]===_0x2b5473[0x0][_0x27c349(0x43d)][_0x27c349(0x374)][_0x27c349(0x388)]&&_0x257eb9[_0x27c349(0x249)]((_0x3e9bd9,_0x98fd5a)=>a['Rectangle'][_0x27c349(0x18e)](_0x3e9bd9['range'],_0x2b5473[0x0]['params'][_0x27c349(0x374)][_0x98fd5a][_0x27c349(0x223)])))return;this[_0x27c349(0x331)]['get'](a[_0x27c349(0x3a9)])[_0x27c349(0x409)](X[_0x27c349(0x25e)]['id'],{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':_0x257eb9});}}},exports[_0x1640f8(0x392)]=Jt([Ue(0x0,a[_0x1640f8(0x207)](a['Injector'])),Ue(0x1,p[_0x1640f8(0x1f4)]),Ue(0x2,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x392)]);const de=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x2c4cb9=>(_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x328)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x176)]=0x1]=_0x1640f8(0x176),_0x2c4cb9))(He||{});const Y=_0x1640f8(0x436),Zt={},Qt=new Set([X[_0x1640f8(0x2d2)]['id']]);function Ge(_0x26d3b5,_0x526a0c,_0x2f1944,_0x212033,_0x56abee){var _0x276f8a=_0x1640f8,_0x185977,_0x1532bf,_0x4bdf9f,_0x6398d0;const _0x52ec7d=[];for(const _0x48209c of _0x26d3b5)if(Qt[_0x276f8a(0x3fb)](_0x48209c['id'])){if(_0x52ec7d[_0x276f8a(0x388)]>0x0)break;_0x52ec7d[_0x276f8a(0x33f)](_0x48209c);break;}else _0x52ec7d['push'](_0x48209c);const _0x83e37d=(_0x1532bf=(_0x185977=_0x56abee['getCurrentUser']())==null?void 0x0:_0x185977[_0x276f8a(0x2c6)])!=null?_0x1532bf:_0x276f8a(0x1e2),_0x54da06=(_0x6398d0=(_0x4bdf9f=_0x56abee[_0x276f8a(0x2b9)]())==null?void 0x0:_0x4bdf9f['memberID'])!=null?_0x6398d0:_0x276f8a(0x1e2);return{'changeset':{'unitID':_0x526a0c,'type':p['mapDocumentTypeToUniverType'](_0x2f1944[_0x276f8a(0x1eb)](_0x526a0c)),'baseRev':_0x212033[_0x276f8a(0x378)](_0x526a0c),'revision':0x0,'userID':_0x83e37d,'memberID':_0x54da06,'mutations':_0x52ec7d},'pendingMutations':_0x26d3b5[_0x276f8a(0x21e)](_0x52ec7d['length'])};}function ei(_0xae94da,_0x1615b4,_0x3c37b1,_0x34b165,_0x195279){var _0x215042=_0x1640f8,_0x49c101,_0x1f8171,_0x331261,_0x26fb65;const _0x429d8b=[_0xae94da[_0x215042(0x2ed)]((_0x5d7aac,_0x34c71f)=>{var _0x2dd665=_0x215042,_0x1650e2;const {id:_0x16a450}=_0x5d7aac,{id:_0x5be099,type:_0x31ae08}=_0x34c71f,_0x230e28=(_0x1650e2=_0x5d7aac[_0x2dd665(0x43d)])!=null?_0x1650e2:{'actions':null},_0x352d7e=_0x34c71f[_0x2dd665(0x43d)];if(_0x16a450&&_0x16a450!==_0x5be099)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x16a450+_0x2dd665(0x13d)+_0x5be099+'.');return{..._0x5d7aac,'id':_0x5be099,'type':_0x31ae08,'params':{'unitId':_0x352d7e[_0x2dd665(0x372)],'textRanges':_0x352d7e[_0x2dd665(0x1ee)],'actions':a[_0x2dd665(0x477)][_0x2dd665(0x203)](_0x230e28['actions'],_0x352d7e[_0x2dd665(0x403)])}};},{})],_0x6fe9d2=(_0x1f8171=(_0x49c101=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x49c101[_0x215042(0x2c6)])!=null?_0x1f8171:_0x215042(0x1e2),_0x2c3c78=(_0x26fb65=(_0x331261=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x331261['memberID'])!=null?_0x26fb65:_0x215042(0x1e2);return{'changeset':{'unitID':_0x1615b4,'type':p[_0x215042(0x1af)](_0x3c37b1['getUnitType'](_0x1615b4)),'baseRev':_0x34b165[_0x215042(0x378)](_0x1615b4),'revision':0x0,'userID':_0x6fe9d2,'memberID':_0x2c3c78,'mutations':_0x429d8b},'pendingMutations':[]};}function St(_0x117350,_0x123518){var _0x289261=_0x1640f8;const _0x38e87e=new H[(_0x289261(0x415))](0x1);return setTimeout(()=>_0x38e87e['next'](_0x123518),_0x117350),_0x38e87e['asObservable']()[_0x289261(0x297)](H[_0x289261(0x153)](0x1));}const ti={'id':X[_0x1640f8(0x1ea)]['id'],'type':a[_0x1640f8(0x484)]['MUTATION'],'params':{}};var ii=Object[_0x1640f8(0x2d7)],oe=(_0x4a90f5,_0x465792,_0x9ef169,_0x380fe4)=>{var _0x574d35=_0x1640f8;for(var _0x447bab=_0x380fe4>0x1?void 0x0:_0x380fe4?ii(_0x465792,_0x9ef169):_0x465792,_0x523660=_0x4a90f5[_0x574d35(0x388)]-0x1,_0x44fe1f;_0x523660>=0x0;_0x523660--)(_0x44fe1f=_0x4a90f5[_0x523660])&&(_0x447bab=_0x44fe1f(_0x447bab)||_0x447bab);return _0x447bab;},w=(_0xec74cb,_0x44368e)=>(_0x3a33d8,_0x403c8b)=>_0x44368e(_0x3a33d8,_0x403c8b,_0xec74cb),je=(_0x41aa7f=>(_0x41aa7f['NOT_COLLAB']=_0x1640f8(0x3cd),_0x41aa7f[_0x1640f8(0x2d4)]='synced',_0x41aa7f[_0x1640f8(0x212)]=_0x1640f8(0x492),_0x41aa7f[_0x1640f8(0x31d)]='awaiting',_0x41aa7f[_0x1640f8(0x428)]='awaiting_with_pending',_0x41aa7f['FETCH_MISS']=_0x1640f8(0x464),_0x41aa7f['CONFLICT']=_0x1640f8(0x179),_0x41aa7f[_0x1640f8(0x2bb)]='offline',_0x41aa7f))(je||{});const ft=0xea60;function _0x459c(){var _0x765bd9=['stopTime','add','MD5','permissionRejEvent','updatePermissionObjEvent','open$','fetchMissingChangesets','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','clone','liveShareNewHost','then','_throwTelemetryCollaborationNewChangeset','charCodeAt','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursor','SOCKET_FAILED_RETRY','collabSubmitChangesetUrl','NO_OTHER_CLIENTS_EDITING','_networkConditionService','_roomCreated$','hasher','MentionType','enableAuthServer','PERMISSION_DENIED','decrypt','OPTIONAL','_injector','[OfflineState]:\x20received\x20changeset.','RECV','appendMutation','_doCreateSocket','_retryCount','_joinRoom','APPLY_REJECT','SNAPSHOT_URL_KEY','resend','LICENSE_MAX_UNITS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Cipher','push','_hash','onRemoteRej','[CollaborationSession]','_transitionLocked','AwaitingWithPendingState','getSheetBlock','close$','LIVESHARE_REQUEST_HOST','SHA1','APPLY_PERMISSION_DENIED','onRemoteAck','authzUrl','_snapshotService','append','DEFAULT_COLLAB_WEB_SOCKET_URL','ImageSourceType','call','_userManagerService','onCommentUpdate','AuthzIoHttpService','reset','substr','_getCurrentRevision','status$','_replayCachedMutations','transformChangesets','submit\x20changeset\x20error!','filter','ERROR_IMAGE','Utf8','_isPermissionRej','NEW_CHANGESETS','SheetsSelectionsService','encode','CipherParams','createIdentifier','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','crypto','_hasher','RichTextEditingMutation','symbol','_transformIMECache','_keySchedule','_socket','image/png','action','CollaborationImageIoService','saveSheetBlock','_stopTelemetryCollaborationNewChangeset','&assign=','unitId','_resendWithTimeout','selections','Subject','onLocalMutation','_onConflict','getCurrentRevOfUnit','__esModule','subUnitId','SnapshotServerOverHTTPService','HmacSHA1','readAsDataURL','HttpImport','max','Disposable','_members','extend','isArray','_doProcessBlock','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','ILocalCacheService','length','HEARTBEAT_INTERVAL','PendingState','OpenSSL','IPermissionService','ceil','status','_entities','IDLE','join','SheetTransformSelectionsService','ciphertext','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getSignURL','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','MemberService','OfflineState','LOGIN_FAILED','pad','8887ffrWVT','5sWbugA','_onFetchMissResult','transformStack\x20failed!','_httpService','_ENC_XFORM_MODE','floor','_onLocalMutation','WECHAT_HAS_BEEN_BOUND','INVALID_INVITE_CODE','baseRev','url','_commentUpdate$','ICommandService','_logService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','online$','Failed\x20to\x20update\x20permission\x20point','Undefined','_append','onStateChange','ImageUploadStatusType','_commentService','resolve','mixIn','_key','_clearLocalCache','default','isInternalEditorID','SUBMIT_CHANGESET','_substituteUndoStack','includes','updateOfflineData','UNKNOWN_CMD','_toggleOnline','exports','getTime','COMPLETION_FINISHED','_onCombEvent','_onMessage','file','uniscriptRunEvent','PSEUDO_FETCH_MISSING_RESULT','fromCharCode','state$','duration','_shouldReportTelemetry','create','getCurrentSelections','not_collab','_changesetReqId','_doFinalize','_onRemoteRejected','refreshPermission','map','_initMergeInterceptor','_substituteRedoStack','_getCtorByUniverType','[SyncedState]:\x20received\x20acknowledgement.','_type','_clearScheduledTask','_applyRemoteChangeset','CollaborationEntity','_updateStatus','disableLocalCache','objectID','setWaitCount','{fileID}','onTransformIME','getInterceptPoints','deleteCollaborator','body','YUUMI_ALL_TABLES_IS_INVALID','_commandService','clamp','Pkcs7','onMissedChangesetFetched','_HTTPService','key','_socketService','RETRY_CONNECTING_MAX_COUNT_KEY','deepClone','get','getSnapshotAPIPath','socket$','YUUMI_ASYNCIO_CANCELLED','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getMember','close','requestParams','session.join-failed','next','_rescheduleHeartbeat','_socketMessageSubscription','has','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addImageSourceCache','[OfflineState]:\x20received\x20acknowledgement.','fetchMiss','loadUnitOfRevision','_tryEnsureSocket','unitInfo$','actions','words','DocCollaborationEntity','_unitInfo$','send','_unitID','executeCommand','_redoStacks','ThresholdInterceptorFactory','[CollaborationSessionService]:\x20socket\x20error','/-/object/list','enableOfflineEditing','UnitStatus','[CollaborationSessionService]','sendChangesetTimeout','toggleOffline','getActiveSheet','getLatestCsReqIdBySid','ReplaySubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','csRejEvent','COMPRESS_MUTATION_SEND','auth.needGotoLoginAlert','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitStatus$','?size=','from','_getLoginPath','_remoteChangesetQueue','awaiting_with_pending','CollaborationStatus','localCacheService','IMentionIOService','_transformService','byteLength','_xformMode','_singleActiveUnitService','AWAITING_WITH_PENDING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','post','toString','confirm','HEARTBEAT_TIMEOUT_KEY','_checkMissing','_retryConnectingTimer','USERS_ENTER','onStarting','_transformRemoteChangesetByIMECache','memberID','_unlockTransition','UNIVER_SHEET','collaboration-client.config','\x20in\x20_schedule.','listCollaborators','entityInit$','MSG_FOR_ERROR','_submitChangeset','values','params','_doReset','HEARTBEAT','SessionStatus','_createInitialStateImpl','_localCacheService','waitForRoom$','synced','UserManagerService','collaborators','requireSession','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_NON_SEQUENTIAL_REVISION','Hasher','_transformStack','_schedule','BlockCipher','_data','defineProperty','getDeserializedSheetBlock','mutations','BehaviorSubject','generateRandomId','NOT_FOUND','roles','reject','formatter','session.room-cnt-exceeds','HTTPRequest','JOINING','isTransformMutationsWithChangesetSuccess','setShowComponents','_updateLocalCache','isTransformMutationsWithChangesetFailure','COMPRESS_MUTATION_APPLY','DependentOn','_nDataBytes','MUTATION','fetch_missing','UNAUTHENTICATED','Univer','finalize','_collaborationUIEventService','_createHmacHelper','_lockTransition','_createHandler','getValue','_iv','_handlerCallback','_process','function','INVITE_CODE_ALREADY_BOUND','batchAllowed','PERMISSION_REJ','INGEST','algo','_waitCount','JSONX','sessionStatus$','_collaborationTimeoutTimer','m2Prime','eventID','onSyncEditingCollabCursor','objectType','IUndoRedoService','entries','patch','YUUMI_URL_COL_OUT_OF_RANGE','loadDoc','ISnapshotServerService','CommandType','_status$','SUBMIT_CHANGESET_TIMEOUT','UNRECOGNIZED','_getAPIPrefix','PasswordBasedCipher','_clearRedo','/universer-api/oidc/authpage','location','name','_cipher','_localeService','HELLO','findIndex','pending','parse','objectActions','LIVESHARE_FETCH_OPERATIONS','incrementRevOfUnit','/-/object/-/batch_allowed','Plugin','headers','IUniverInstanceService','reqId','937820qLHdPG','ivSize','CHANGESET_ACK','onRemoteRetry','socketService','delay','createInstance','&to=','subject','\x20-\x20','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetCollaborationEntity','_members$','code','Base64','WordArray','registerHTTPInterceptor','msCrypto','startTime','ISingleActiveUnitService','loadOfflineData','routeKey','_resendTimer','[CollaborationEntity]','reconnect','_imageSourceCache','sheets','onSendChangeset','DEFAULT_FILE_NAME','message$','209ENZREr','take','[UniverCollaborationClientPlugin]','list','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[DataLoaderService]','error','commentUpdate$','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_DOC','image/gif','_showConflictNotification','createEncryptor','transformSelections','UniverNetworkPlugin','randomBytes','onRemoteChangeset','leaveEvent','CHANGESET_SHOULD_RETRY','startsWith','CollaborationSessionService','?url=','UnitSnapshot','YUUMI_SUBSCRIPTION_NOT_FOUND','EvpKDF','replace','/block/','image/jpeg','_removeRoom','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_FULL','/rev/','isPermissionRej','OTHER_CLIENTS_EDITING','UniverCollaborationPlugin','getUnit','conflict','CommentService','UUID','_onRemoteRetry','_timeoutTimer','LIVESHARE_NEW_HOST','salt','mode','_startTelemetryCollaborationNewChangeset','CLOSE_ROOM','APPLY_REVISION_CONFILICT','revision','_config','copyFileMeta','_pendingMutations','_onConnectionOpen','abs','_tryReconnect','_toggleOffline','_initDependencies','_onRemoteACK','equals','CollaborationController','awaitingChangeset','image/bmp','_getSendChangesetTimeout','1265136EQqxxl','_oKey','[OfflineState]:\x20received\x20rejection.','_map','iterations','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UPDATE_CURSOR','ENSURE_SNAPSHOT_EXECUTION','removeMember','_telemetryService','data','onlyLocal','workbook','ERROR_EXCEED_SIZE','objects','_collaborationSessionService','__creator','CollaborationUIEventId','sigBytes','_resendTimeout','sequenceExecute','SOCKET_FAILED','Hex','_getAPIPrefixPath','BufferedBlockAlgorithm','_init','LOCAL_CACHE_INTERVAL','_nRounds','mapDocumentTypeToUniverType','FETCH_MISSING','csAckEvent','RevisionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socket$','_getUploadFileURL','emitEvent','CollaborationSession','RxDisposable','_undoRedoService','HTTPService','AwaitingState','setCurrentUser','_clearUndo','parseProtocolChangeset','state','/role','Injector','offline','/object/','UNKNOWN_CODE','CONNECTOR_DATA_TOO_LARGE','localeService','textEncoder','_transformUndoredo','x-univer-host','_iKey','UniverInstanceType','format','override','UPDATE_PERMISSION_OBJ','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LICENSE_IMPORT_SIZE_EXCEEDED','HmacMD5','_replaceFileID','Optional','YUUMI_UNABLE_LOAD_URL','LIVESHARE_TERMINATE','downloadEndpointUrl','awaiting','addHandlerCallback','_minBufferSize','newCsEvent','getGlobalObject','BlockCipherMode','onTransformSelections','_queuedRemoteChangesets','_revisionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createDecryptor','unknown','collabWebSocketUrl','FetchingMissState','CompressMutationService','_onOffline','collaboration_new_changeset','CollaborationEvent','_compressMutationService','EmptyMutation','getUnitType','TOO_MANY_REQUESTS','asObservable','textRanges','IContextService','JOIN_ROOM_PERMISSION_DENIED','_clearRetryConnectingTimer','touchDependencies','_clearHeartbeatTimer','ITransformService','capture','UnitEmbedded','createSocket','LIVESHARE_OPERATION','UNISCRIPT_RUN','_parse','members','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_collaborationPaused','_getUndoStack','forEach','_executeRemoteChangeset','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache','compose','splice','keySize','collaboratorID','Inject','_undoStacks','unsubscribe','cfg','_createHelper','BASE64','enableCollaboration','FAIL','now','\x0aCurrent:\x20','_fetchMissChangesets','PENDING','origin','MentionIoHttpService','_DEC_XFORM_MODE','update','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','apply','_collabSessionService','getAllMembers','clear','cmd','slice','EMAIL_VERIFY_CODE_MISMATCH','/unit/','getRoom','_invKeySchedule','range','getCollabEntity','JOIN_ROOM_FAILED','ILogService','PERSON','decryptBlock','liveShareOperation','merge','_entityInit$','DEFAULT_WS_SESSION_TICKET_URL','repeat','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','_state$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','session','_instanceService','IAuthzIoService','SnapshotService','102GJWJcL','getTypeOfUnitAdded$','getMemberID','DataLoaderService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','4143558AZOcgx','_sendingTimer','_roomMembers','getRandomValues','_mode','_awaitingChangeset','UNIVER_PROJECT','onload','responseType','dispose','_changesetSessionId','JOIN_ROOM_NOT_EXISTS','dispose$','_state','every','onTransformState','delete','encryptBlock','/collaborator','focused$','csShouldRetryEvent','HttpExport','ICollaborationSocketService','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_RATE_OVER_LIMIT','getConfig','OTHER_CLIENT_EDITING','complete','SUCCUSS','SyncedState','UNIVER_SLIDE','_handler','_onJoinRoomEvent','CollaborationSocketService','execute','SetSelectionsOperation','_memberService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_sendHeartbeat','href','_socketReady','find','EMAIL_HAS_BEEN_BOUND','LEAVE','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_COLLABORATION_CLIENT_PLUGIN','ws://127.0.0.1:8000/universer-api/comb/connect','_sender','prototype','hasOwnProperty','target','originalMeta','roomInfos','YUUMI_NO_CUBOID_FOR_QUESTION','unit-cache-','Quantity','sid','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendHeartbeatTimer','fromCollab','transformUndoRedo','session.room-full','getWorkbookSelections','saveSnapshot','[PendingState]:\x20received\x20rejection.','Decryptor','WorkbookEditablePermission','init','_sessionStatus$','_onConnectionFailed','unitID','updateSnapshot','HEARTBEAT_TIMEOUT','ALREADY_EXISTS','__Key__','rev','/universer-api/stream/file/upload','stringify','_createInitialState','closeSession','_disableEditing','_registerDependencies','getSheetId','2427464jzsqGj','CollaborativeUndoRedoService','INVITE_CODE_REQUIRED','change$','put','_exhaustRemoteChangesetQueue','uuidv4','fetching\x20missing\x20changesets\x20from\x20','pauseCollaboration','pipe','UserProfileImg','131553TaKZeU','FileId','_keyPriorReset','Base','[FetchMissState]','random','\x0aAfter:\x20','Error\x20on\x20receiving\x20event','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','updateCollaborator','_scheduleCollaborationTimeoutTimer','$super','JOIN','ITelemetryService','LocaleService','_permissionService','USER_NOT_INVITED_CODE','withCredentials','LocalUndoRedoService','_candidateSocket','4343353Lofkze','_reverseMap','setConfig','loadSheet','_configService','COMMENT_UPDATE','UniverCollaborationClientPlugin','_initRequestHeader','/universer-api/uniscript','_getRedoStack','type','size','getCurrentUser','kdf','OFFLINE','_onRemoteChangeset','_event$','event$','_waitForHeartbeatResponse','method','updateMember','/object','_doCryptBlock','onCommandExecuted','catch','userID','/new_changes','ConflictState','_change$','[CollaborationState]:\x20apply\x20error!','_scheduleCompleteTimestamp','debug','enc','Workbook','YUUMI_AI_RUN_FAILED','string','fetchThroughInterceptors','InsertSheetMutation','CHANGESET_REJ','SYNCED','error$','b64DecodeUnicode','getOwnPropertyDescriptor','YUUMI_CONNECTOR_URL_NOT_FOUND','toggleOnline','/universer-api/authz','editingUnit','27JVfCnI','blockSize','INVALID_ARGUMENT','parseChangesetToProtocol','[CollaborationUndoRedoService]','getUnitId','CONFLICT','compute','SNAPSHOT_HAS_BEEN_REMOVED','firstValueFrom','sessionStatus','onTransformRemoteChangesetByStateCache','&source=','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','c1Prime','_decreaseWaiting','reduce','_clearTimeoutTimer','_transformRemoteChangesetByStateCache','loadUnit','_initCloseConn','onMissingChangesets','_univerInstanceService','getFocusedUnit','UNIVER_UNKNOWN','_prevBlock','lib','_getDownloadEndpointURL','members$','_startCollaboration','_transformSelections','registerDependencies','AES','getTypeOfUnitDisposed$','isTransformChangesetsSuccess','toDisposable','_onUserJoin','readyForCollab','_telemetryInfo','CollaborationUIEventService','reverse','_clearCollaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','encrypt','NoPadding','_transformStateCache','_incrementRevisionNumber','disposeWithMe','IConfigService','concat','result','_updateState','_onUserLeave','interceptor','updatePermissionPoint','ONLINE','set'];_0x459c=function(){return _0x765bd9;};return _0x459c();}class ae{constructor(_0x4ae8e8,_0x63776c,_0x5d5757,_0x3a97a8,_0x412584,_0x2aa3b0,_0x12c1b3,_0x5d06f9,_0x1ae3de){var _0x759e74=_0x1640f8;A(this,_0x759e74(0x240),null),A(this,_0x759e74(0x187),[]),(this[_0x759e74(0x281)]=_0x4ae8e8,this[_0x759e74(0x2b7)]=_0x63776c,this[_0x759e74(0x25a)]=_0x412584,this[_0x759e74(0x3e5)]=_0x2aa3b0,this[_0x759e74(0x1b9)]=_0x12c1b3,this[_0x759e74(0x1df)]=_0x5d06f9,this[_0x759e74(0x442)]=_0x1ae3de,this[_0x759e74(0x240)]=_0x5d5757,this['_pendingMutations']=_0x3a97a8);}[_0x1640f8(0x42e)](_0x2df4f2){var _0x295269=_0x1640f8;const _0x1418b2=this[_0x295269(0x1df)][_0x295269(0x378)](this[_0x295269(0x281)]);return _0x2df4f2['revision']>_0x1418b2+0x1?(this[_0x295269(0x25a)]['onMissingChangesets']({'from':_0x1418b2,'to':_0x2df4f2[_0x295269(0x184)]-0x1}),!0x0):!0x1;}[_0x1640f8(0x1c8)](_0x51e56f){var _0x39ae07=_0x1640f8;this[_0x39ae07(0x1b9)][_0x39ae07(0x277)](this['unitID'],_0x51e56f);}[_0x1640f8(0x2fb)](_0x3d2f9b){var _0x2a69b8=_0x1640f8,_0x37277f,_0x2c7ac5;(_0x2c7ac5=(_0x37277f=this[_0x2a69b8(0x25a)])[_0x2a69b8(0x1dd)])==null||_0x2c7ac5[_0x2a69b8(0x350)](_0x37277f,_0x3d2f9b);}[_0x1640f8(0x369)](_0xbda413){var _0x385fce=_0x1640f8,_0x16ec03,_0x44b260;return(_0x44b260=(_0x16ec03=this[_0x385fce(0x25a)])['onTransformIME'])==null?void 0x0:_0x44b260[_0x385fce(0x350)](_0x16ec03,_0xbda413);}[_0x1640f8(0x30a)](_0x552c4f){var _0x187e1f=_0x1640f8,_0xf47970,_0x57c851;return(_0x57c851=(_0xf47970=this[_0x187e1f(0x25a)])['onTransformState'])==null?void 0x0:_0x57c851[_0x187e1f(0x350)](_0xf47970,_0x552c4f);}[_0x1640f8(0x432)](_0x26f267){var _0x23274e=_0x1640f8,_0x5c4a04,_0x5abf90,_0x148e10;return(_0x148e10=(_0x5abf90=(_0x5c4a04=this[_0x23274e(0x25a)])[_0x23274e(0x202)])==null?void 0x0:_0x5abf90['call'](_0x5c4a04,_0x26f267))!=null?_0x148e10:_0x26f267;}[_0x1640f8(0x2ef)](_0x109c69){var _0x6ba14c=_0x1640f8,_0x4b0268,_0x30a3be,_0x2bd3e3;return(_0x2bd3e3=(_0x30a3be=(_0x4b0268=this['_handler'])[_0x6ba14c(0x2e7)])==null?void 0x0:_0x30a3be[_0x6ba14c(0x350)](_0x4b0268,_0x109c69))!=null?_0x2bd3e3:_0x109c69;}[_0x1640f8(0x325)](_0x3566c2){var _0x471b81=_0x1640f8,_0x77f24,_0x4b7a2d;if(this['type']===J[_0x471b81(0x15e)]){const {unitID:_0xb53914,mutations:_0x142d73,memberID:_0x31fd47}=_0x3566c2,_0x52a1a5=_0x142d73[0x0]['params'][_0x471b81(0x1ee)];Array[_0x471b81(0x383)](_0x52a1a5)&&_0x52a1a5['length']>0x0&&((_0x4b7a2d=(_0x77f24=this['_handler'])[_0x471b81(0x47c)])==null||_0x4b7a2d[_0x471b81(0x350)](_0x77f24,{'unitID':_0xb53914,'memberID':_0x31fd47,'textRanges':_0x52a1a5}));}}[_0x1640f8(0x45e)](){var _0xe36730=_0x1640f8,_0x1c8200;(_0x1c8200=this[_0xe36730(0x442)])==null||_0x1c8200[_0xe36730(0x3bc)](this[_0xe36730(0x281)],this[_0xe36730(0x2b7)],this[_0xe36730(0x240)],this['_pendingMutations']);}[_0x1640f8(0x356)](){var _0x2ba0a9=_0x1640f8;return this[_0x2ba0a9(0x1df)]['getCurrentRevOfUnit'](this[_0x2ba0a9(0x281)]);}[_0x1640f8(0x30b)](){var _0x3c0b0a=_0x1640f8;this[_0x3c0b0a(0x1df)][_0x3c0b0a(0x496)](this[_0x3c0b0a(0x281)]);}['_executeRemoteChangeset'](_0x45d29d){var _0x3ff716=_0x1640f8,_0x583786;let _0x17ea47=this[_0x3ff716(0x432)](_0x45d29d);_0x17ea47=this[_0x3ff716(0x2ef)](_0x17ea47);const _0x5a251a=a[_0x3ff716(0x1a7)](_0x17ea47[_0x3ff716(0x452)],this[_0x3ff716(0x3e5)],{'fromCollab':!0x0});if(!_0x5a251a[_0x3ff716(0x30f)])throw _0x5a251a['error']instanceof Error?_0x5a251a[_0x3ff716(0x15a)]:new Error((_0x583786=_0x5a251a[_0x3ff716(0x15a)])!=null?_0x583786:_0x3ff716(0x2ca));this[_0x3ff716(0x369)](_0x17ea47),this[_0x3ff716(0x30a)](_0x17ea47),this[_0x3ff716(0x1c8)](_0x45d29d),this[_0x3ff716(0x2fb)](_0x17ea47),this[_0x3ff716(0x325)](_0x17ea47),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ae{constructor(_0x546aaf,_0x29bdd8,_0x147ed7,_0x1a42b3,_0x1ab268,_0x558135,_0x1e9708,_0x106ddc,_0x4ac580,_0x429964){var _0x26c95c=_0x1640f8;super(_0x546aaf,_0x29bdd8,null,[],_0x147ed7,_0x1e9708,_0x558135,_0x1a42b3,_0x429964),A(this,_0x26c95c(0x38e),_0x26c95c(0x444)),(this[_0x26c95c(0x331)]=_0x1ab268,this['_logService']=_0x106ddc,this['_transformService']=_0x4ac580,this[_0x26c95c(0x422)]=_0x429964);}[_0x1640f8(0x334)](_0x84bba){var _0x573681=_0x1640f8;const _0x7ac36b=this[_0x573681(0x331)][_0x573681(0x13a)](exports[_0x573681(0x38a)],this[_0x573681(0x281)],this[_0x573681(0x2b7)],[_0x84bba],this['_handler']);return _0x7ac36b[_0x573681(0x44d)](),_0x7ac36b[_0x573681(0x45e)](),_0x7ac36b;}[_0x1640f8(0x165)](_0x5e5f64){var _0x55d0e7=_0x1640f8;if(this[_0x55d0e7(0x42e)](_0x5e5f64))return this['_injector']['createInstance'](exports[_0x55d0e7(0x1e4)],this[_0x55d0e7(0x281)],this['type'],null,[],null,[_0x5e5f64],this[_0x55d0e7(0x25a)]);try{const _0x54160a=this[_0x55d0e7(0x424)][_0x55d0e7(0x201)](_0x5e5f64,[ti]);if(p[_0x55d0e7(0x45c)](_0x54160a)){const {c1Prime:_0x3fd0e7}=_0x54160a;return this[_0x55d0e7(0x200)](_0x3fd0e7),this;}throw _0x54160a[_0x55d0e7(0x15a)];}catch(_0xac51b2){return this[_0x55d0e7(0x3aa)][_0x55d0e7(0x15a)](_0xac51b2),this[_0x55d0e7(0x377)](!0x1);}}['_onConflict'](_0x5862e7){var _0x42ee3e=_0x1640f8;return this['_injector'][_0x42ee3e(0x13a)](exports[_0x42ee3e(0x2c8)],this[_0x42ee3e(0x281)],this['type'],null,[],this[_0x42ee3e(0x25a)],_0x5862e7);}[_0x1640f8(0x34a)](){var _0x86956=_0x1640f8;throw new Error(_0x86956(0x3d6));}[_0x1640f8(0x341)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x3c64f9=_0x1640f8;return this['_injector'][_0x3c64f9(0x13a)](exports[_0x3c64f9(0x399)],this[_0x3c64f9(0x281)],this[_0x3c64f9(0x2b7)],null,[],this[_0x3c64f9(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3ff)](){var _0x40f758=_0x1640f8;const _0x568283=this[_0x40f758(0x1df)][_0x40f758(0x378)](this['unitID']);return this['_handler'][_0x40f758(0x2f2)]({'from':_0x568283,'to':0x0}),this[_0x40f758(0x331)][_0x40f758(0x13a)](exports[_0x40f758(0x1e4)],this[_0x40f758(0x281)],this['type'],null,[],null,[],this['_handler']);}},exports['SyncedState']=oe([w(0x3,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x4,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x47e)]),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x1640f8(0x1d3)](K))],exports['SyncedState']),exports[_0x1640f8(0x38a)]=class extends ae{constructor(_0x34edb3,_0x2ea04c,_0x273673,_0x20a471,_0x48ad67,_0x1ada5d,_0x73ca8a,_0x4682c0,_0x2d390e,_0x1388e2,_0x37d7a1,_0x59e7d0,_0x52f5ee,_0x337790){var _0x40e4a0=_0x1640f8;super(_0x34edb3,_0x2ea04c,null,_0x273673,_0x20a471,_0x2d390e,_0x52f5ee,_0x1ada5d,_0x337790),A(this,_0x40e4a0(0x38e),'pending'),A(this,_0x40e4a0(0x2cb),null),A(this,_0x40e4a0(0x23c),null),(this[_0x40e4a0(0x331)]=_0x48ad67,this[_0x40e4a0(0x25f)]=_0x73ca8a,this[_0x40e4a0(0x3aa)]=_0x4682c0,this['_configService']=_0x1388e2,this[_0x40e4a0(0x424)]=_0x37d7a1,this['_univerInstanceService']=_0x59e7d0);}[_0x1640f8(0x334)](_0x3f801b){var _0x8fcd74=_0x1640f8;return this[_0x8fcd74(0x187)][_0x8fcd74(0x33f)](_0x3f801b),this[_0x8fcd74(0x45e)](),this;}['onRemoteChangeset'](_0x3c9195){var _0x567d1a=_0x1640f8;if(this[_0x567d1a(0x42e)](_0x3c9195))return this[_0x567d1a(0x3d8)](),this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x1e4)],this[_0x567d1a(0x281)],this[_0x567d1a(0x2b7)],null,this['_pendingMutations'],null,[_0x3c9195],this[_0x567d1a(0x25a)]);try{const _0x548944=this['_transformService'][_0x567d1a(0x201)](_0x3c9195,this['_pendingMutations']);if(p[_0x567d1a(0x45c)](_0x548944)){const {c1Prime:_0x4c5165,m2Prime:_0x5f1d8c}=_0x548944;this['_executeRemoteChangeset'](_0x4c5165);const _0x42d8b7=this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x38a)],this['unitID'],this[_0x567d1a(0x2b7)],_0x5f1d8c,this[_0x567d1a(0x25a)]);this[_0x567d1a(0x3d8)]();const _0x3bf24f=new Date()['getTime'](),_0x7fbb43=this[_0x567d1a(0x2cb)]?Math[_0x567d1a(0x37f)](this['_scheduleCompleteTimestamp']-_0x3bf24f,0x0):this[_0x567d1a(0x192)]();return _0x42d8b7['_schedule'](_0x7fbb43),_0x42d8b7;}throw _0x548944[_0x567d1a(0x15a)];}catch(_0x1be4ea){return this[_0x567d1a(0x3aa)][_0x567d1a(0x15a)](_0x1be4ea),this[_0x567d1a(0x377)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1640f8(0x341)](){var _0x373761=_0x1640f8;throw new Error(_0x373761(0x27b));}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x573ec7=_0x1640f8;return this['_clearScheduledTask'](),this[_0x573ec7(0x331)][_0x573ec7(0x13a)](exports[_0x573ec7(0x399)],this['unitID'],this[_0x573ec7(0x2b7)],null,this[_0x573ec7(0x187)],this[_0x573ec7(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x44d)](_0x147c00){var _0x1606fb=_0x1640f8;const _0x3bbd15=_0x147c00!=null?_0x147c00:this[_0x1606fb(0x192)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1606fb(0x3c0)]()+_0x3bbd15,this[_0x1606fb(0x23c)]=setTimeout(()=>{var _0x56fdf6=_0x1606fb;this[_0x56fdf6(0x3d8)]();let _0x36bb24=null;switch(this[_0x56fdf6(0x2b7)]){case J[_0x56fdf6(0x435)]:{_0x36bb24=Ge(this[_0x56fdf6(0x187)],this['unitID'],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}case J[_0x56fdf6(0x15e)]:{this[_0x56fdf6(0x187)][_0x56fdf6(0x249)](_0x4507cd=>_0x4507cd['id']===ct[_0x56fdf6(0x367)]['id'])?_0x36bb24=ei(this[_0x56fdf6(0x187)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]):_0x36bb24=Ge(this['_pendingMutations'],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}default:throw new Error(_0x56fdf6(0x31e)+this[_0x56fdf6(0x2b7)]+_0x56fdf6(0x437));}const {changeset:_0xd6a81b,pendingMutations:_0x5abd52}=_0x36bb24;this[_0x56fdf6(0x25a)][_0x56fdf6(0x14f)](_0xd6a81b);const _0x2e3b91=_0x5abd52[_0x56fdf6(0x388)]?this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x344)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,_0x5abd52,this['_handler'],void 0x0):this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x1bb)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,this[_0x56fdf6(0x25a)]);_0x2e3b91[_0x56fdf6(0x45e)](),this[_0x56fdf6(0x25a)][_0x56fdf6(0x3b0)](this,_0x2e3b91);},_0x3bbd15);}[_0x1640f8(0x192)](){var _0xd18888=_0x1640f8,_0x119e4b;const _0x363135=this[_0xd18888(0x2b1)][_0xd18888(0x254)](Y);return(_0x119e4b=_0x363135==null?void 0x0:_0x363135[_0xd18888(0x411)])!=null?_0x119e4b:Ut;}['resend'](){var _0x4a6ef7=_0x1640f8;throw new Error(_0x4a6ef7(0x3ab));}[_0x1640f8(0x3d8)](){var _0x471f6e=_0x1640f8;this[_0x471f6e(0x23c)]!=null&&(clearTimeout(this[_0x471f6e(0x23c)]),this['_sendingTimer']=null);}['_onConflict'](_0x21f6dd){var _0x5f1f50=_0x1640f8;return this[_0x5f1f50(0x3d8)](),this[_0x5f1f50(0x331)][_0x5f1f50(0x13a)](exports[_0x5f1f50(0x2c8)],this['unitID'],this[_0x5f1f50(0x2b7)],null,this[_0x5f1f50(0x187)],this[_0x5f1f50(0x25a)],_0x21f6dd);}},exports[_0x1640f8(0x38a)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a[_0x1640f8(0x226)]),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x30d)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x49a)]),w(0xc,a[_0x1640f8(0x47e)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x38a)]),exports[_0x1640f8(0x1bb)]=class extends ae{constructor(_0x510bec,_0x27f605,_0x7ab12e,_0x3972d5,_0x3a414a,_0x1b8489,_0x5f1278,_0x5259b3,_0x32502f,_0x5d5af0,_0x1e0f49){var _0x5a5e1e=_0x1640f8;super(_0x510bec,_0x27f605,_0x7ab12e,[],_0x3972d5,_0x5f1278,_0x5d5af0,_0x1b8489,_0x1e0f49),A(this,'status',_0x5a5e1e(0x1d7)),A(this,_0x5a5e1e(0x1a6),0x0),A(this,_0x5a5e1e(0x14a)),A(this,'_sender'),(this['_injector']=_0x3a414a,this[_0x5a5e1e(0x3aa)]=_0x5259b3,this['_transformService']=_0x32502f);}[_0x1640f8(0x334)](_0x4cb03e){var _0x4c433c=_0x1640f8;this[_0x4c433c(0x3d8)]();const _0x1bda8c=this[_0x4c433c(0x331)][_0x4c433c(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x4c433c(0x2b7)],this['_awaitingChangeset'],[_0x4cb03e],this[_0x4c433c(0x25a)],this[_0x4c433c(0x14a)]);return _0x1bda8c['_updateLocalCache'](),_0x1bda8c;}[_0x1640f8(0x165)](_0x40e2f4){var _0x4dd5c1=_0x1640f8;if(this[_0x4dd5c1(0x42e)](_0x40e2f4))return this['_clearScheduledTask'](),this[_0x4dd5c1(0x331)]['createInstance'](exports[_0x4dd5c1(0x1e4)],this['unitID'],this[_0x4dd5c1(0x2b7)],this[_0x4dd5c1(0x240)],[],null,[_0x40e2f4],this['_handler']);try{const _0x349099=this['_transformService'][_0x4dd5c1(0x359)]([_0x40e2f4],[this[_0x4dd5c1(0x240)]],!0x1);if(p[_0x4dd5c1(0x2ff)](_0x349099)){const {c1Prime:_0x4c8bf3,c2Prime:_0x58cf75}=_0x349099;this[_0x4dd5c1(0x200)](_0x4c8bf3[0x0]),_0x58cf75[0x0][_0x4dd5c1(0x3a6)]=this[_0x4dd5c1(0x356)](),this[_0x4dd5c1(0x3d8)]();const _0x593477=this['_injector'][_0x4dd5c1(0x13a)](exports['AwaitingState'],this[_0x4dd5c1(0x281)],this['type'],_0x58cf75[0x0],this[_0x4dd5c1(0x25a)]);return _0x593477['_updateLocalCache'](),_0x593477;}return this[_0x4dd5c1(0x377)](!0x1);}catch(_0x5e1050){return this[_0x4dd5c1(0x3aa)][_0x4dd5c1(0x15a)](_0x5e1050),this[_0x4dd5c1(0x377)](!0x1);}}[_0x1640f8(0x34a)](_0x1f0e60){var _0x76d6eb=_0x1640f8;this[_0x76d6eb(0x3d8)]();const _0x33427e=this['_revisionService'][_0x76d6eb(0x378)](this[_0x76d6eb(0x281)]);if(_0x1f0e60[_0x76d6eb(0x184)]<_0x33427e-0x1)return this;if(this[_0x76d6eb(0x42e)](_0x1f0e60))return this[_0x76d6eb(0x331)][_0x76d6eb(0x13a)](exports['FetchingMissState'],this[_0x76d6eb(0x281)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x76d6eb(0x25a)]);this[_0x76d6eb(0x30b)]();const _0x934e34=this['_injector'][_0x76d6eb(0x13a)](exports[_0x76d6eb(0x258)],this[_0x76d6eb(0x281)],this[_0x76d6eb(0x2b7)],this[_0x76d6eb(0x25a)]);return _0x934e34[_0x76d6eb(0x45e)](),_0x934e34;}['onRemoteRej'](_0x3faa0c){var _0x7f6236=_0x1640f8;return this[_0x7f6236(0x377)](!!(_0x3faa0c!=null&&_0x3faa0c[_0x7f6236(0x175)]));}[_0x1640f8(0x137)](_0x3019d2){var _0x1028c8=_0x1640f8;return this['_resendTimeout']>ft?this[_0x1028c8(0x412)]():(this[_0x1028c8(0x14a)]=St(this[_0x1028c8(0x1a6)],{'timeout':this[_0x1028c8(0x1a6)],'reqId':_0x3019d2['reqId']}),this[_0x1028c8(0x26a)]=this['_resendTimer'][_0x1028c8(0x217)](({reqId:_0x2718f6,timeout:_0x218ef9})=>{var _0x119521=_0x1028c8;this[_0x119521(0x373)](_0x2718f6,_0x218ef9);}),this);}[_0x1640f8(0x412)](){var _0x4208d9=_0x1640f8;return this['_clearScheduledTask'](),this[_0x4208d9(0x331)][_0x4208d9(0x13a)](exports[_0x4208d9(0x399)],this['unitID'],this['type'],this[_0x4208d9(0x240)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x1640f8(0x33a)](){var _0x14e22b=_0x1640f8;this['_handler'][_0x14e22b(0x14f)](this[_0x14e22b(0x240)]);}[_0x1640f8(0x377)](_0x5e48a0){var _0x262b4e=_0x1640f8;return this[_0x262b4e(0x3d8)](),this['_injector'][_0x262b4e(0x13a)](exports[_0x262b4e(0x2c8)],this[_0x262b4e(0x281)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5e48a0);}[_0x1640f8(0x373)](_0x524d5a,_0x36b782){var _0x5081e6=_0x1640f8,_0x1bc3e1;_0x524d5a===((_0x1bc3e1=this[_0x5081e6(0x240)])==null?void 0x0:_0x1bc3e1[_0x5081e6(0x133)])&&(this[_0x5081e6(0x33a)](),this[_0x5081e6(0x1a6)]=_0x36b782===0x0?0x3e8:_0x36b782*0x2);}[_0x1640f8(0x3d8)](){var _0x3b7964=_0x1640f8,_0xe33f9e;(_0xe33f9e=this[_0x3b7964(0x26a)])==null||_0xe33f9e[_0x3b7964(0x209)](),this[_0x3b7964(0x1a6)]=0x0;}},exports[_0x1640f8(0x1bb)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p['RevisionService'])),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a[_0x1640f8(0x226)]),w(0x8,p[_0x1640f8(0x1f4)]),w(0x9,a[_0x1640f8(0x47e)]),w(0xa,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1bb)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x3b9a2d,_0xe5728a,_0x3fc61d,_0x29808f,_0xe4173c,_0x30d9cd,_0x3adfae,_0x179fc5){var _0x3bef78=_0x1640f8;super(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x29808f,_0x3adfae,_0x3fc61d,_0x179fc5),A(this,_0x3bef78(0x38e),_0x3bef78(0x420)),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x3bef78(0x26a)),(this[_0x3bef78(0x331)]=_0xe5728a,this['_logService']=_0xe4173c,this['_transformService']=_0x30d9cd,this['localCacheService']=_0x179fc5,_0x3b9a2d&&(this[_0x3bef78(0x14a)]=_0x3b9a2d,this['_sender']=this['_resendTimer'][_0x3bef78(0x217)](({reqId:_0x43c515,timeout:_0x3fd30d})=>{this['_resendWithTimeout'](_0x43c515,_0x3fd30d);})));}[_0x1640f8(0x334)](_0x4bbdd0){var _0xf83749=_0x1640f8;return this['_pendingMutations'][_0xf83749(0x33f)](_0x4bbdd0),this;}[_0x1640f8(0x165)](_0x10608b){var _0x5221ed=_0x1640f8;if(this[_0x5221ed(0x42e)](_0x10608b))return this[_0x5221ed(0x3d8)](),this['_injector'][_0x5221ed(0x13a)](exports['FetchingMissState'],this[_0x5221ed(0x281)],this[_0x5221ed(0x2b7)],this[_0x5221ed(0x240)],this[_0x5221ed(0x187)],null,[_0x10608b],this['_handler']);try{const _0x5f2da7=this['_transformService'][_0x5221ed(0x359)]([_0x10608b],[this[_0x5221ed(0x240)]],!0x1);if(p[_0x5221ed(0x2ff)](_0x5f2da7)){const {c1Prime:_0x42bd6a,c2Prime:_0x2c8f07}=_0x5f2da7,_0x1adba9=this[_0x5221ed(0x424)]['transformMutationsWithChangeset'](_0x42bd6a[0x0],this[_0x5221ed(0x187)]);if(p[_0x5221ed(0x45c)](_0x1adba9)){const {c1Prime:_0xa67949,m2Prime:_0x437ff9}=_0x1adba9;return this[_0x5221ed(0x200)](_0xa67949),_0x2c8f07[0x0][_0x5221ed(0x3a6)]=this[_0x5221ed(0x356)](),this[_0x5221ed(0x3d8)](),this[_0x5221ed(0x331)][_0x5221ed(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5221ed(0x2b7)],_0x2c8f07[0x0],_0x437ff9,this[_0x5221ed(0x25a)],void 0x0);}throw _0x1adba9[_0x5221ed(0x15a)];}throw _0x5f2da7[_0x5221ed(0x15a)];}catch(_0x4d3ccf){return this[_0x5221ed(0x3aa)][_0x5221ed(0x15a)](_0x4d3ccf),this['_onConflict'](!0x1);}}[_0x1640f8(0x34a)](_0x31e391){var _0x1ebcf8=_0x1640f8;if(this['_clearScheduledTask'](),this[_0x1ebcf8(0x42e)](_0x31e391))return this[_0x1ebcf8(0x331)][_0x1ebcf8(0x13a)](exports[_0x1ebcf8(0x1e4)],this['unitID'],this[_0x1ebcf8(0x2b7)],null,this['_pendingMutations'],this[_0x1ebcf8(0x240)],[],this[_0x1ebcf8(0x25a)]);this[_0x1ebcf8(0x30b)]();const _0x2db1e7=this[_0x1ebcf8(0x331)]['createInstance'](exports['PendingState'],this['unitID'],this['type'],this[_0x1ebcf8(0x187)],this['_handler']);return _0x2db1e7[_0x1ebcf8(0x44d)](),_0x2db1e7[_0x1ebcf8(0x45e)](),_0x2db1e7;}['onRemoteRej'](_0x494ca9){var _0x7a99fa=_0x1640f8;return this[_0x7a99fa(0x377)](!!(_0x494ca9!=null&&_0x494ca9[_0x7a99fa(0x175)]));}['onRemoteRetry'](_0x4bd389){var _0x4dbee3=_0x1640f8;return this[_0x4dbee3(0x1a6)]>ft?this[_0x4dbee3(0x412)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4bd389[_0x4dbee3(0x133)]}),this[_0x4dbee3(0x26a)]=this[_0x4dbee3(0x14a)][_0x4dbee3(0x217)](({reqId:_0x5f0426,timeout:_0x47d3ab})=>{var _0x1e1bd7=_0x4dbee3;this[_0x1e1bd7(0x373)](_0x5f0426,_0x47d3ab);}),this);}['toggleOffline'](){var _0x4b8ade=_0x1640f8;return this[_0x4b8ade(0x3d8)](),this[_0x4b8ade(0x331)][_0x4b8ade(0x13a)](exports[_0x4b8ade(0x399)],this[_0x4b8ade(0x281)],this[_0x4b8ade(0x2b7)],this[_0x4b8ade(0x240)],this[_0x4b8ade(0x187)],this[_0x4b8ade(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x33a)](){var _0x861ade=_0x1640f8;this[_0x861ade(0x25a)][_0x861ade(0x14f)](this['_awaitingChangeset']);}[_0x1640f8(0x377)](_0x3e6614){var _0x5d0d9e=_0x1640f8;return this['_clearScheduledTask'](),this[_0x5d0d9e(0x331)]['createInstance'](exports[_0x5d0d9e(0x2c8)],this[_0x5d0d9e(0x281)],this[_0x5d0d9e(0x2b7)],null,this[_0x5d0d9e(0x187)],this['_handler'],_0x3e6614);}['_resendWithTimeout'](_0xe16e7d,_0x59e11d){var _0x78b50b=_0x1640f8,_0x492a9d;_0xe16e7d===((_0x492a9d=this[_0x78b50b(0x240)])==null?void 0x0:_0x492a9d[_0x78b50b(0x133)])&&(this['resend'](),this[_0x78b50b(0x1a6)]=_0x59e11d===0x0?0x3e8:_0x59e11d*0x2);}[_0x1640f8(0x3d8)](){var _0x539c6a=_0x1640f8,_0x43efc3;(_0x43efc3=this[_0x539c6a(0x26a)])==null||_0x43efc3['unsubscribe'](),this[_0x539c6a(0x1a6)]=0x0;}},exports[_0x1640f8(0x344)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x7,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x226)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x47e)]),w(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x344)]),exports[_0x1640f8(0x2c8)]=class extends ae{constructor(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x55eebb=!0x1,_0x4acab2,_0x276e18,_0x1e789b,_0x4e4a51,_0x5428be,_0x4679d7,_0x5400f4){var _0x558a71=_0x1640f8;super(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x276e18,_0x1e789b,_0x4e4a51,_0x5400f4),A(this,'status','conflict'),(this[_0x558a71(0x35e)]=_0x55eebb,this[_0x558a71(0x2a8)]=_0x4acab2,this[_0x558a71(0x48f)]=_0x5428be,this['_collaborationUIEventService']=_0x4679d7,this[_0x558a71(0x422)]=_0x5400f4,this[_0x558a71(0x160)](),this[_0x558a71(0x3b6)](),this[_0x558a71(0x28b)]());}['appendMutation'](){return this;}[_0x1640f8(0x165)](){return this;}[_0x1640f8(0x34a)](){return this;}[_0x1640f8(0x341)](){return this;}['onRemoteRetry'](){return this;}[_0x1640f8(0x412)](){return this;}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3b6)](){var _0x8f3305=_0x1640f8,_0x2e5c34;(_0x2e5c34=this[_0x8f3305(0x442)])==null||_0x2e5c34[_0x8f3305(0x3bc)](this[_0x8f3305(0x281)],this[_0x8f3305(0x2b7)],null,[]);}[_0x1640f8(0x160)](){var _0x6da4f5=_0x1640f8;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x6da4f5(0x1b6)]({'id':Z['PERMISSION_DENIED']}):this[_0x6da4f5(0x468)][_0x6da4f5(0x1b6)]({'id':Z[_0x6da4f5(0x2e2)]});}[_0x1640f8(0x28b)](){var _0x3e9b53=_0x1640f8;this[_0x3e9b53(0x2a8)]['updatePermissionPoint'](new X[(_0x3e9b53(0x27d))](this[_0x3e9b53(0x281)])['id'],!0x1);}},exports[_0x1640f8(0x2c8)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x38c)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a['Inject'](p[_0x1640f8(0x1b2)])),w(0xa,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),w(0xb,a[_0x1640f8(0x207)](ee)),w(0xc,a['Optional'](K))],exports[_0x1640f8(0x2c8)]),exports[_0x1640f8(0x399)]=class extends ae{constructor(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3fb56f,_0x575c46,_0x3df864,_0x4de130,_0x4ea351){var _0x12332e=_0x1640f8;super(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3df864,_0x4de130,_0x575c46,_0x4ea351),A(this,_0x12332e(0x38e),_0x12332e(0x1c2)),this['_injector']=_0x3fb56f;}[_0x1640f8(0x334)](_0x408130){var _0x2a720e=_0x1640f8;return this[_0x2a720e(0x187)][_0x2a720e(0x33f)](_0x408130),this['_updateLocalCache'](),this;}[_0x1640f8(0x165)](_0x5f053c){var _0x2f6508=_0x1640f8;throw new Error(_0x2f6508(0x332));}[_0x1640f8(0x34a)](){var _0x4a80db=_0x1640f8;throw new Error(_0x4a80db(0x3fe));}['onRemoteRej'](){var _0x37b78e=_0x1640f8;throw new Error(_0x37b78e(0x195));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5c4d0c=_0x1640f8;const {_injector:_0x4a38fb,_pendingMutations:_0x2ba1a1,_awaitingChangeset:_0x4c2c06,unitID:_0x7c540c,_handler:_0x1f7658,type:_0x144200}=this,_0x193fc1=It(_0x4a38fb,_0x7c540c,_0x144200,_0x4c2c06,_0x2ba1a1,_0x1f7658);return _0x193fc1 instanceof exports[_0x5c4d0c(0x38a)]?_0x193fc1[_0x5c4d0c(0x44d)]():(_0x193fc1 instanceof exports[_0x5c4d0c(0x344)]||_0x193fc1 instanceof exports[_0x5c4d0c(0x1bb)])&&_0x193fc1[_0x5c4d0c(0x33a)](),_0x193fc1;}['resend'](){var _0x46fa89=_0x1640f8;throw new Error(_0x46fa89(0x172));}},exports['OfflineState']=oe([w(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x399)]),exports[_0x1640f8(0x1e4)]=class extends ae{constructor(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x122b89,_0x52a3fe,_0x54637c,_0x180f1c,_0x5110f2,_0x6ef230,_0x35fc44,_0x307878,_0x3a6830,_0x3ffb64){var _0x1af899=_0x1640f8;super(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x54637c,_0x35fc44,_0x307878,_0x5110f2,_0x3ffb64),A(this,'status',_0x1af899(0x464)),(this[_0x1af899(0x3f2)]=_0x122b89,this[_0x1af899(0x1de)]=_0x52a3fe,this[_0x1af899(0x331)]=_0x180f1c,this[_0x1af899(0x3aa)]=_0x6ef230,this['_transformService']=_0x3a6830,this[_0x1af899(0x422)]=_0x3ffb64);}['onMissedChangesetFetched'](_0x49163a){var _0x1a00c5=_0x1640f8;try{const _0x7ea303=[..._0x49163a,...this[_0x1a00c5(0x1de)]],_0x319b1d=[this[_0x1a00c5(0x240)]||this[_0x1a00c5(0x3f2)]][_0x1a00c5(0x35b)](_0xf2c14a=>!!_0xf2c14a);let _0x3b3ec4,_0x443bbd;if(_0x319b1d['length']){const _0xd000c0=this[_0x1a00c5(0x424)]['transformChangesets'](_0x7ea303,_0x319b1d,!0x1);if(!p[_0x1a00c5(0x2ff)](_0xd000c0))throw _0xd000c0[_0x1a00c5(0x15a)];_0x3b3ec4=_0xd000c0['c1Prime'],_0x443bbd=_0xd000c0['c2Prime'];}else _0x3b3ec4=_0x7ea303,_0x443bbd=[];let _0xcf9abd=this[_0x1a00c5(0x187)];_0x3b3ec4['forEach'](_0x3190a4=>{var _0x1f83ae=_0x1a00c5;let _0x4764af;if(_0xcf9abd[_0x1f83ae(0x388)]){const _0x425897=this[_0x1f83ae(0x424)][_0x1f83ae(0x201)](_0x3190a4,_0xcf9abd);if(!p[_0x1f83ae(0x45c)](_0x425897))throw _0x425897[_0x1f83ae(0x15a)];_0x4764af=_0x425897[_0x1f83ae(0x2eb)],_0xcf9abd=_0x425897['m2Prime'];}else _0x4764af=_0x3190a4;this['_executeRemoteChangeset'](_0x4764af);}),this[_0x1a00c5(0x3f2)]&&this[_0x1a00c5(0x30b)](),this[_0x1a00c5(0x240)]&&_0x443bbd[_0x1a00c5(0x388)]&&(_0x443bbd[0x0]['baseRev']=this['_getCurrentRevision']());let _0x25a7f6;if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]!==0x0)_0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x344)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],_0xcf9abd,this[_0x1a00c5(0x25a)],void 0x0);else{if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]===0x0)_0x443bbd[0x0][_0x1a00c5(0x3a6)]=this['_getCurrentRevision'](),_0x25a7f6=this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x1bb)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],this['_handler']);else{if(_0xcf9abd[_0x1a00c5(0x388)]!==0x0){const _0x4222b7=this[_0x1a00c5(0x331)]['createInstance'](exports['PendingState'],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0xcf9abd,this[_0x1a00c5(0x25a)]);_0x4222b7['_schedule'](),_0x25a7f6=_0x4222b7;}else _0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x258)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],this['_handler']);}}return _0x25a7f6[_0x1a00c5(0x45e)](),_0x25a7f6;}catch(_0xeb9cf3){return this[_0x1a00c5(0x3aa)][_0x1a00c5(0x15a)](_0x1a00c5(0x29d),'failed\x20to\x20apply\x20missed\x20changesets!',_0xeb9cf3),this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports['ConflictState'],this[_0x1a00c5(0x281)],this['type'],this['_awaitingChangeset'],this[_0x1a00c5(0x187)],this[_0x1a00c5(0x25a)],!0x1);}}[_0x1640f8(0x33a)](){var _0x34eb45=_0x1640f8;throw new Error(_0x34eb45(0x41a));}[_0x1640f8(0x334)](_0x2f14fa){var _0x1a91d2=_0x1640f8;return this[_0x1a91d2(0x187)][_0x1a91d2(0x33f)](_0x2f14fa),this;}['onRemoteChangeset'](_0x53f0fc){var _0x35ea32=_0x1640f8;return this[_0x35ea32(0x1de)][_0x35ea32(0x33f)](_0x53f0fc),this;}['onRemoteAck'](_0x2c4bcc){var _0x43e0ac=_0x1640f8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x43e0ac(0x240)],this[_0x43e0ac(0x240)]=null,this;throw new Error(_0x43e0ac(0x198));}[_0x1640f8(0x341)](_0x29c1fc){var _0x191a78=_0x1640f8;return this['_onConflict'](!!(_0x29c1fc!=null&&_0x29c1fc[_0x191a78(0x175)]));}[_0x1640f8(0x137)](){return this;}['toggleOffline'](){var _0x2fb6aa=_0x1640f8;return this['_injector']['createInstance'](exports[_0x2fb6aa(0x399)],this[_0x2fb6aa(0x281)],this[_0x2fb6aa(0x2b7)],this['_awaitingChangeset'],this[_0x2fb6aa(0x187)],this['_handler']);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x377)](_0x3ec80d){var _0x375843=_0x1640f8;return this[_0x375843(0x331)][_0x375843(0x13a)](exports[_0x375843(0x2c8)],this[_0x375843(0x281)],this[_0x375843(0x2b7)],this[_0x375843(0x240)],this[_0x375843(0x187)],this[_0x375843(0x25a)],_0x3ec80d);}},exports[_0x1640f8(0x1e4)]=oe([w(0x7,a['Inject'](a['Injector'])),w(0x8,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x9,a['ILogService']),w(0xa,a[_0x1640f8(0x3a9)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x1640f8(0x1f4)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1e4)]);function It(_0x471534,_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879){var _0x12ead1=_0x1640f8;return _0x99cb56&&_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports['AwaitingWithPendingState'],_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879,void 0x0):_0x99cb56?_0x471534['createInstance'](exports[_0x12ead1(0x1bb)],_0x37fce8,_0x36e4eb,_0x99cb56,_0x32f879):_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x38a)],_0x37fce8,_0x36e4eb,_0x1a77f2,_0x32f879):_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x258)],_0x37fce8,_0x36e4eb,_0x32f879);}var ni=Object[_0x1640f8(0x2d7)],Be=(_0x520fff,_0x10f92b,_0x443dea,_0x454af2)=>{var _0x50bf20=_0x1640f8;for(var _0x3a3c3d=_0x454af2>0x1?void 0x0:_0x454af2?ni(_0x10f92b,_0x443dea):_0x10f92b,_0x534dbb=_0x520fff[_0x50bf20(0x388)]-0x1,_0x41a71f;_0x534dbb>=0x0;_0x534dbb--)(_0x41a71f=_0x520fff[_0x534dbb])&&(_0x3a3c3d=_0x41a71f(_0x3a3c3d)||_0x3a3c3d);return _0x3a3c3d;},j=(_0x2ef317,_0x289e79)=>(_0x4ec535,_0x57b967)=>_0x289e79(_0x4ec535,_0x57b967,_0x2ef317);exports[_0x1640f8(0x3da)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x47b4bc,_0x49bacc,_0x56747d,_0x57e3c0,_0x463640,_0x2e18bb,_0x3e3ac3,_0x498dd5,_0x446c23,_0x4deb8f,_0x1517c7,_0x341bb3,_0x343b5a){var _0x3787c6=_0x1640f8;super(),A(this,'_state$',new H[(_0x3787c6(0x453))](null)),A(this,_0x3787c6(0x3c8),this[_0x3787c6(0x230)]['asObservable']()),A(this,_0x3787c6(0x248)),A(this,'_collaborationPaused',!0x1),A(this,_0x3787c6(0x245),''),A(this,_0x3787c6(0x3ce),0x0),A(this,_0x3787c6(0x357),this['state$']['pipe'](H['map'](_0x1bb14d=>_0x1bb14d?_0x1bb14d[_0x3787c6(0x38e)]:je['OFFLINE']),H['shareReplay'](0x1))),A(this,_0x3787c6(0x343),!0x1),A(this,_0x3787c6(0x41f),[]),(this['unitID']=_0x47b4bc,this[_0x3787c6(0x232)]=_0x49bacc,this['_type']=_0x56747d,this['_injector']=_0x57e3c0,this[_0x3787c6(0x1e9)]=_0x463640,this[_0x3787c6(0x48f)]=_0x2e18bb,this[_0x3787c6(0x1df)]=_0x3e3ac3,this['_eventService']=_0x498dd5,this[_0x3787c6(0x3aa)]=_0x446c23,this[_0x3787c6(0x3e5)]=_0x4deb8f,this[_0x3787c6(0x2a8)]=_0x1517c7,this[_0x3787c6(0x427)]=_0x341bb3,this[_0x3787c6(0x442)]=_0x343b5a);}get['state'](){var _0x9c1170=_0x1640f8;return this[_0x9c1170(0x248)];}async[_0x1640f8(0x27e)](){var _0x57c061=_0x1640f8;if(this[_0x57c061(0x1bf)])throw new Error(_0x57c061(0x1cf));await this['_init']();}[_0x1640f8(0x296)](){var _0x9c4225=_0x1640f8;return this[_0x9c4225(0x1fd)]=!0x0,a[_0x9c4225(0x300)](()=>{var _0xa8b835=_0x9c4225;this[_0xa8b835(0x1fd)]=!0x1,this[_0xa8b835(0x293)]();});}[_0x1640f8(0x376)](_0x3350a2){var _0x22e9a7=_0x1640f8;this[_0x22e9a7(0x3a3)](_0x3350a2);}[_0x1640f8(0x310)](_0x151283){var _0x41471e=_0x1640f8;this[_0x41471e(0x248)]=_0x151283,this[_0x41471e(0x230)][_0x41471e(0x3f8)](_0x151283);}async[_0x1640f8(0x1ac)](){var _0x1197b7=_0x1640f8,_0x2a98e6;this[_0x1197b7(0x310)](await this[_0x1197b7(0x289)]()),this[_0x1197b7(0x427)]&&((_0x2a98e6=this[_0x1197b7(0x427)])==null||_0x2a98e6[_0x1197b7(0x2db)](this[_0x1197b7(0x281)]),this[_0x1197b7(0x30c)](this[_0x1197b7(0x427)][_0x1197b7(0x41b)](this[_0x1197b7(0x281)])['subscribe'](_0x55ccbe=>{var _0x4a3651=_0x1197b7;this[_0x4a3651(0x3aa)]['debug'](_0x4a3651(0x14b),'editing\x20status\x20changed\x20to',_0x55ccbe),_0x55ccbe===He[_0x4a3651(0x176)]?(this['_eventService'][_0x4a3651(0x1b6)]({'id':Z[_0x4a3651(0x255)]}),this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X[(_0x4a3651(0x27d))](this[_0x4a3651(0x281)])['id'],!0x1),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x1)):(this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X['WorkbookEditablePermission'](this[_0x4a3651(0x281)])['id'],!0x0),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x0));})));let _0x7f22b6=!0x1;return this[_0x1197b7(0x30c)](this[_0x1197b7(0x232)][_0x1197b7(0x478)]['subscribe'](_0x48727a=>{var _0x1f1c58=_0x1197b7;_0x48727a===re['ONLINE']?this[_0x1f1c58(0x3be)](_0x7f22b6):_0x48727a===re[_0x1f1c58(0x2bb)]&&(_0x7f22b6=!0x0,this[_0x1f1c58(0x18b)]());})),this[_0x1197b7(0x30c)](this['session'][_0x1197b7(0x2be)]['subscribe'](_0x293fcd=>{var _0x10adb5=_0x1197b7;try{switch(_0x293fcd[_0x10adb5(0x47b)]){case p[_0x10adb5(0x1e8)][_0x10adb5(0x35f)]:{this[_0x10adb5(0x2bc)](p['parseProtocolChangeset'](_0x293fcd[_0x10adb5(0x19d)]));break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x136)]:{this[_0x10adb5(0x18d)](_0x293fcd['data']);break;}case p['CollaborationEvent'][_0x10adb5(0x2d3)]:{this[_0x10adb5(0x3d0)]();break;}case p[_0x10adb5(0x1e8)]['CHANGESET_SHOULD_RETRY']:{this[_0x10adb5(0x17c)](_0x293fcd['data']);break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x3c6)]:{this[_0x10adb5(0x39e)](_0x293fcd['data']['changesets'][_0x10adb5(0x3d2)](_0x1b4c0e=>p[_0x10adb5(0x1be)](_0x1b4c0e)));break;}case p[_0x10adb5(0x1e8)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x41bdd4){throw console[_0x10adb5(0x15a)](_0x10adb5(0x2a0),_0x41bdd4),_0x41bdd4;}})),this[_0x1197b7(0x248)];}[_0x1640f8(0x434)](){var _0x46f6ae=_0x1640f8;this[_0x46f6ae(0x343)]=!0x1;}[_0x1640f8(0x46a)](){var _0x62d0fe=_0x1640f8;if(this[_0x62d0fe(0x343)])throw new Error(_0x62d0fe(0x2a1));this['_transitionLocked']=!0x0;}[_0x1640f8(0x3a3)](_0x281bbb){var _0xa5d467=_0x1640f8;this[_0xa5d467(0x46a)](),this[_0xa5d467(0x310)](this[_0xa5d467(0x248)][_0xa5d467(0x334)](_0x281bbb)),this[_0xa5d467(0x434)]();}['_onRemoteChangeset'](_0x5c4abe){var _0x443582=_0x1640f8;if(!(_0x5c4abe['revision']<=this[_0x443582(0x1df)][_0x443582(0x378)](this[_0x443582(0x281)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5c4abe);return;}this[_0x443582(0x3d9)](_0x5c4abe);}}[_0x1640f8(0x293)](){var _0x172ff4=_0x1640f8;this[_0x172ff4(0x41f)][_0x172ff4(0x1ff)](_0x265205=>this[_0x172ff4(0x3d9)](_0x265205)),this[_0x172ff4(0x41f)]=[];}[_0x1640f8(0x3d9)](_0x194138){var _0x51df86=_0x1640f8;const _0x47bbb0=this[_0x51df86(0x1e9)][_0x51df86(0x312)][_0x51df86(0x2d1)](this[_0x51df86(0x1e9)][_0x51df86(0x312)]['getInterceptPoints']()[_0x51df86(0x460)])(_0x194138['mutations'],null)||_0x194138[_0x51df86(0x452)],_0x2f1ac4={..._0x194138,'mutations':_0x47bbb0};this['_lockTransition'](),this['_updateState'](this[_0x51df86(0x248)][_0x51df86(0x165)](_0x2f1ac4)),this[_0x51df86(0x434)]();}[_0x1640f8(0x18d)](_0xfc51b1){var _0x36d3d9=_0x1640f8;this[_0x36d3d9(0x46a)](),this[_0x36d3d9(0x310)](this[_0x36d3d9(0x248)]['onRemoteAck'](_0xfc51b1)),this[_0x36d3d9(0x434)]();}['_onRemoteRejected'](_0xa6db2f){var _0x77c4c=_0x1640f8;this[_0x77c4c(0x46a)](),this[_0x77c4c(0x310)](this[_0x77c4c(0x248)][_0x77c4c(0x341)](_0xa6db2f)),this[_0x77c4c(0x434)]();}[_0x1640f8(0x17c)](_0x2b1f22){var _0x53c18e=_0x1640f8;this['_lockTransition'](),this[_0x53c18e(0x310)](this['_state']['onRemoteRetry'](_0x2b1f22)),this['_unlockTransition']();}['_onFetchMissResult'](_0x43edf1){var _0x2a9b5a=_0x1640f8;if(!(this[_0x2a9b5a(0x248)]instanceof exports[_0x2a9b5a(0x1e4)]))throw new TypeError(_0x2a9b5a(0x156));const _0x342d11=_0x43edf1[_0x2a9b5a(0x3d2)](_0x40cd45=>{var _0x3f1639=_0x2a9b5a;const _0x4a9f19=this[_0x3f1639(0x1e9)][_0x3f1639(0x312)][_0x3f1639(0x2d1)](this[_0x3f1639(0x1e9)]['interceptor'][_0x3f1639(0x3e1)]()[_0x3f1639(0x460)])(_0x40cd45[_0x3f1639(0x452)],null)||_0x40cd45[_0x3f1639(0x452)];return{..._0x40cd45,'mutations':_0x4a9f19};});this[_0x2a9b5a(0x46a)](),this['_updateState'](this[_0x2a9b5a(0x248)][_0x2a9b5a(0x3e8)](_0x342d11)),this[_0x2a9b5a(0x434)]();}['_toggleOffline'](){var _0x42f109=_0x1640f8;this[_0x42f109(0x46a)](),this[_0x42f109(0x310)](this[_0x42f109(0x248)][_0x42f109(0x412)]()),this[_0x42f109(0x434)]();}[_0x1640f8(0x3be)](_0x591eca=!0x1){var _0x1b4667=_0x1640f8;this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](this[_0x1b4667(0x248)]['toggleOnline']()),this['_unlockTransition']();const _0x557006=this[_0x1b4667(0x248)];_0x591eca&&_0x557006 instanceof exports[_0x1b4667(0x258)]&&(this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](_0x557006['fetchMiss']()),this[_0x1b4667(0x434)]());}async[_0x1640f8(0x289)](){return new Promise(_0x415d44=>{var _0x54d977=_0x3549;this['session'][_0x54d977(0x478)][_0x54d977(0x297)](H[_0x54d977(0x153)](0x1))[_0x54d977(0x217)](async _0x3f690a=>{var _0x2c8995=_0x54d977;_0x415d44(await this[_0x2c8995(0x441)](_0x3f690a===re[_0x2c8995(0x314)]));});});}[_0x1640f8(0x46b)](){const _0x4c2932=this['unitID'];return{'onStateChange':(_0x1e3283,_0x4e831a)=>{var _0x2dc24e=_0x3549;if(_0x1e3283!==this[_0x2dc24e(0x248)])throw new Error(_0x2dc24e(0x449)+_0x1e3283[_0x2dc24e(0x38e)]+_0x2dc24e(0x29f)+_0x4e831a[_0x2dc24e(0x38e)]+_0x2dc24e(0x210)+this['_state'][_0x2dc24e(0x38e)]);this['_updateState'](_0x4e831a);},'onSendChangeset':_0x1544b7=>{var _0x3537a2=_0x3549;_0x1544b7[_0x3537a2(0x273)]||(_0x1544b7[_0x3537a2(0x273)]=this[_0x3537a2(0x245)],_0x1544b7['reqId']=++this[_0x3537a2(0x3ce)]);const _0x293f54={'eventID':p[_0x3537a2(0x1e8)][_0x3537a2(0x3b9)],'data':{'unitID':_0x1544b7[_0x3537a2(0x281)],'unitType':this[_0x3537a2(0x3d7)],'changeset':_0x1544b7,'memberID':this['session'][_0x3537a2(0x238)]()}};this['session'][_0x3537a2(0x407)](_0x293f54,this[_0x3537a2(0x281)]);},'onMissingChangesets':({from:_0x207f4d,to:_0x49036a})=>{var _0x428ae9=_0x3549;this[_0x428ae9(0x3aa)][_0x428ae9(0x2cc)](_0x428ae9(0x14b),_0x428ae9(0x295)+_0x207f4d+'\x20to\x20'+_0x49036a);const _0xb0bc23={'eventID':p['CollaborationEvent'][_0x428ae9(0x1b0)],'data':{'unitID':_0x4c2932,'unitType':this[_0x428ae9(0x3d7)],'from':_0x207f4d,'to':_0x49036a}};this[_0x428ae9(0x232)][_0x428ae9(0x407)](_0xb0bc23,this[_0x428ae9(0x281)]);}};}async[_0x1640f8(0x441)](_0x16d070){var _0x2b9d66=_0x1640f8,_0x17770d,_0x5eb7aa,_0x3aa77b;const _0x530ff7=await((_0x17770d=this['_localCacheService'])==null?void 0x0:_0x17770d[_0x2b9d66(0x148)](this['unitID'])),_0x4442cc=(_0x5eb7aa=_0x530ff7==null?void 0x0:_0x530ff7['mutations'])!=null?_0x5eb7aa:[],_0x1992ee=(_0x3aa77b=_0x530ff7==null?void 0x0:_0x530ff7['awaitingChangeset'])!=null?_0x3aa77b:null,_0x527722=!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x273)])&&!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x133)]);this[_0x2b9d66(0x245)]=_0x527722?_0x1992ee[_0x2b9d66(0x273)]:p[_0x2b9d66(0x294)](),this['_changesetReqId']=_0x527722?_0x1992ee[_0x2b9d66(0x133)]:0x0;const _0x62bd4f=this[_0x2b9d66(0x281)];try{this[_0x2b9d66(0x358)](_0x1992ee,_0x4442cc);}catch(_0x58d4ef){this[_0x2b9d66(0x3aa)]['error'](_0x58d4ef);}const _0x2b8afb=this[_0x2b9d66(0x46b)]();if(_0x16d070){const _0x23fbbd=It(this['_injector'],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);return _0x23fbbd instanceof exports[_0x2b9d66(0x38a)]?_0x23fbbd[_0x2b9d66(0x44d)]():(_0x23fbbd instanceof exports['AwaitingWithPendingState']||_0x23fbbd instanceof exports[_0x2b9d66(0x1bb)])&&_0x23fbbd[_0x2b9d66(0x33a)](),_0x23fbbd;}return this[_0x2b9d66(0x331)]['createInstance'](exports[_0x2b9d66(0x399)],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);}[_0x1640f8(0x358)](_0x9ddb48,_0x841733){var _0x17e8f5=_0x1640f8,_0x4d2ee0,_0x44726e;const _0x246599=this[_0x17e8f5(0x1e9)]['interceptor'][_0x17e8f5(0x2d1)](this['_compressMutationService']['interceptor'][_0x17e8f5(0x3e1)]()[_0x17e8f5(0x460)]);(_0x4d2ee0=_0x246599((_0x9ddb48==null?void 0x0:_0x9ddb48[_0x17e8f5(0x452)])||[],null))==null||_0x4d2ee0[_0x17e8f5(0x1ff)](_0x2c67b1=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x2c67b1['id'],_0x2c67b1[_0x17e8f5(0x43d)])),(_0x44726e=_0x246599(_0x841733||[],null))==null||_0x44726e[_0x17e8f5(0x1ff)](_0x3b9139=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x3b9139['id'],_0x3b9139[_0x17e8f5(0x43d)]));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x1640f8(0x3a9)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x1640f8(0x1d3)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x1640f8(0x405)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x12f364,_0x25704a,_0x314f4e,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe){var _0x479104=_0x1640f8;super(_0x12f364,_0x314f4e,_0x25704a,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe),A(this,_0x479104(0x46e),null),(this[_0x479104(0x281)]=_0x12f364,this[_0x479104(0x2b7)]=_0x25704a);}[_0x1640f8(0x1d8)](_0x114920){this['_handlerCallback']=_0x114920;}[_0x1640f8(0x244)](){var _0x3762a7=_0x1640f8;this[_0x3762a7(0x46e)]=null,super[_0x3762a7(0x244)]();}[_0x1640f8(0x46b)](){var _0x4446f4=_0x1640f8;const _0x2bd4bd=super[_0x4446f4(0x46b)]();return _0x2bd4bd[_0x4446f4(0x3e0)]=_0x5e2f2e=>{var _0x301f33=_0x4446f4,_0x3b1928,_0x420719;return(_0x420719=(_0x3b1928=this[_0x301f33(0x46e)])==null?void 0x0:_0x3b1928[_0x301f33(0x3e0)])==null?void 0x0:_0x420719[_0x301f33(0x350)](_0x3b1928,_0x5e2f2e);},_0x2bd4bd[_0x4446f4(0x24a)]=_0x2dd57b=>{var _0x3171c5=_0x4446f4,_0x2f1641,_0x10f732;return(_0x10f732=(_0x2f1641=this[_0x3171c5(0x46e)])==null?void 0x0:_0x2f1641[_0x3171c5(0x24a)])==null?void 0x0:_0x10f732[_0x3171c5(0x350)](_0x2f1641,_0x2dd57b);},_0x2bd4bd[_0x4446f4(0x1dd)]=_0x3b1b8d=>{var _0x3a8dec=_0x4446f4,_0x575f05,_0x3ca87e;return(_0x3ca87e=(_0x575f05=this[_0x3a8dec(0x46e)])==null?void 0x0:_0x575f05['onTransformSelections'])==null?void 0x0:_0x3ca87e[_0x3a8dec(0x350)](_0x575f05,_0x3b1b8d);},_0x2bd4bd[_0x4446f4(0x47c)]=_0x39f638=>{var _0x5caf54=_0x4446f4,_0x25494b,_0x183533;return(_0x183533=(_0x25494b=this[_0x5caf54(0x46e)])==null?void 0x0:_0x25494b[_0x5caf54(0x47c)])==null?void 0x0:_0x183533['call'](_0x25494b,_0x39f638);},_0x2bd4bd[_0x4446f4(0x202)]=_0x1a4f0c=>{var _0x4a58f1=_0x4446f4,_0x403880,_0x1beaa9,_0xfa2c4e;if(!((_0x403880=this[_0x4a58f1(0x46e)])!=null&&_0x403880[_0x4a58f1(0x202)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xfa2c4e=(_0x1beaa9=this[_0x4a58f1(0x46e)])==null?void 0x0:_0x1beaa9[_0x4a58f1(0x202)])==null?void 0x0:_0xfa2c4e[_0x4a58f1(0x350)](_0x1beaa9,_0x1a4f0c);},_0x2bd4bd['onTransformRemoteChangesetByStateCache']=_0x2f1382=>{var _0x382c96=_0x4446f4,_0x5e6c43,_0x424ef7,_0x7c338d;if(!((_0x5e6c43=this[_0x382c96(0x46e)])!=null&&_0x5e6c43[_0x382c96(0x2e7)]))throw new Error(_0x382c96(0x231));return(_0x7c338d=(_0x424ef7=this[_0x382c96(0x46e)])==null?void 0x0:_0x424ef7['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x7c338d[_0x382c96(0x350)](_0x424ef7,_0x2f1382);},_0x2bd4bd;}async[_0x1640f8(0x1ac)](){var _0x75789c=_0x1640f8;const _0x33e81d=await super[_0x75789c(0x1ac)]();return this[_0x75789c(0x30c)](this['_commandService'][_0x75789c(0x2c4)]((_0x285af1,_0x4b6337)=>{var _0x4c65d0=_0x75789c;if(_0x285af1[_0x4c65d0(0x2b7)]!==a[_0x4c65d0(0x484)][_0x4c65d0(0x463)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x276)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x19e)]||_0x285af1['id']===ct[_0x4c65d0(0x367)]['id'])return;const _0x25659c=_0x285af1[_0x4c65d0(0x43d)];if((_0x25659c==null?void 0x0:_0x25659c[_0x4c65d0(0x372)])!==this[_0x4c65d0(0x281)])return;const _0x4cef0b=_0x285af1,_0x2a26dd=this[_0x4c65d0(0x1e9)][_0x4c65d0(0x312)][_0x4c65d0(0x2d1)](this['_compressMutationService'][_0x4c65d0(0x312)][_0x4c65d0(0x3e1)]()['COMPRESS_MUTATION_SEND'])([_0x4cef0b],null)||[_0x4cef0b];this[_0x4c65d0(0x3a3)](_0x2a26dd[0x0]);})),_0x33e81d;}},exports[_0x1640f8(0x405)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),j(0x6,a['Inject'](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a[_0x1640f8(0x226)]),j(0x9,a['ICommandService']),j(0xa,a[_0x1640f8(0x38c)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x405)]),exports[_0x1640f8(0x13f)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x352a9e,_0xbc04bd,_0xa106c6,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x5a8caa,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204){var _0x55282b=_0x1640f8;super(_0x352a9e,_0xa106c6,_0xbc04bd,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204),this['unitID']=_0x352a9e,this[_0x55282b(0x2b7)]=_0xbc04bd,this['_sheetTransformSelectionsService']=_0x5a8caa;}['_createHandler'](){var _0x3967c9=_0x1640f8;const _0x3e3f1a=super[_0x3967c9(0x46b)]();return _0x3e3f1a[_0x3967c9(0x1dd)]=_0xdb5a32=>this['_sheetTransformSelectionsService']['transformSelections'](_0xdb5a32),_0x3e3f1a;}async['_init'](){var _0xbc5f40=_0x1640f8;const _0x3a6bce=await super['_init']();return this[_0xbc5f40(0x30c)](this[_0xbc5f40(0x3e5)][_0xbc5f40(0x2c4)]((_0x15f5af,_0x12d133)=>{var _0x442387=_0xbc5f40;if(_0x15f5af[_0x442387(0x2b7)]!==a[_0x442387(0x484)][_0x442387(0x463)]||_0x12d133!=null&&_0x12d133[_0x442387(0x276)]||_0x12d133!=null&&_0x12d133[_0x442387(0x19e)])return;const _0x4f0b11=_0x15f5af[_0x442387(0x43d)];if((_0x4f0b11==null?void 0x0:_0x4f0b11[_0x442387(0x372)])!==this[_0x442387(0x281)])return;const _0x1b6925=_0x15f5af,_0x42a889=this[_0x442387(0x1e9)]['interceptor']['fetchThroughInterceptors'](this[_0x442387(0x1e9)][_0x442387(0x312)][_0x442387(0x3e1)]()[_0x442387(0x418)])([_0x1b6925],null)||[_0x1b6925];this['_onLocalMutation'](_0x42a889[0x0]);})),_0x3a6bce;}},exports[_0x1640f8(0x13f)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p[_0x1640f8(0x1e5)])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a['Inject'](exports[_0x1640f8(0x392)])),j(0x8,a[_0x1640f8(0x207)](ee)),j(0x9,a[_0x1640f8(0x226)]),j(0xa,a[_0x1640f8(0x3a9)]),j(0xb,a[_0x1640f8(0x38c)]),j(0xc,a[_0x1640f8(0x1d3)](de)),j(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x13f)]);const pt=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x938f31){var _0xdf9a4c=_0x1640f8,_0x322434,_0x449597,_0x210772,_0x30bab9,_0x3222b9;const _0x5b0675=_0x938f31[_0xdf9a4c(0x19d)],_0x5b3ef1=JSON[_0xdf9a4c(0x493)](_0x5b0675);switch(_0x5b3ef1[_0xdf9a4c(0x21d)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x3de353=_0x5b3ef1['infoRsp'];return{..._0x5b3ef1,'data':_0x3de353,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};}case W[_0xdf9a4c(0x2a5)]:{const _0x28bf7d=_0x5b3ef1['joinRsp'];return{..._0x5b3ef1,'data':_0x28bf7d,'cmd':_0x5b3ef1['cmd']};}case W[_0xdf9a4c(0x333)]:{const _0x4b68e5=_0x5b3ef1['collaMsg'];switch(_0x4b68e5['eventID']){case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x473)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x322434=_0x4b68e5[_0xdf9a4c(0x319)])==null?void 0x0:_0x322434['cs']},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)]['CHANGESET_ACK']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x449597=_0x4b68e5[_0xdf9a4c(0x1b1)])==null?void 0x0:_0x449597['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x35f)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x210772=_0x4b68e5[_0xdf9a4c(0x1da)])==null?void 0x0:_0x210772['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)]['CHANGESET_REJ']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x30bab9=_0x4b68e5[_0xdf9a4c(0x417)])==null?void 0x0:_0x30bab9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x167)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x3222b9=_0x4b68e5[_0xdf9a4c(0x24f)])==null?void 0x0:_0x3222b9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['updateCursorEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x430)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['joinEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x22e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x166)]},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x17e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x495)]:case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1f8)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x229)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1d5)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x43a)]:return{..._0x5b3ef1,'data':_0x4b68e5,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x2b2)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['commentUpdateEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1ce)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x31a)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['shouldCloseConn']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1f9)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x3c5)]},'cmd':_0x5b3ef1['cmd']};default:return _0x5b3ef1;}}default:return _0x5b3ef1;}}function gt(_0x509e1b){var _0x268e80=_0x1640f8;switch(_0x509e1b[_0x268e80(0x21d)]){case W[_0x268e80(0x43f)]:case W[_0x268e80(0x490)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b['cmd'],'routeKey':_0x509e1b[_0x268e80(0x149)]});case W[_0x268e80(0x474)]:{let _0x532c55;switch(_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x47b)]){case p[_0x268e80(0x1e8)][_0x268e80(0x199)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x199)],'updateCursorEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_LEAVE']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['USERS_LEAVE'],'leaveEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_ENTER']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x430)],'joinEvent':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x17e)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_OPERATION']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1f8)],'liveShareOperation':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_TERMINATE']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1d5)],'liveShareTerminate':_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x347)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x347)],'liveShareRequestHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x532c55={'eventID':_0x509e1b[_0x268e80(0x19d)]['eventID']};}return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'collaMsg':_0x532c55});}case W[_0x268e80(0x2a5)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'joinReq':_0x509e1b[_0x268e80(0x19d)]});case W[_0x268e80(0x266)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b['routeKey'],'leaveReq':_0x509e1b['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object[_0x1640f8(0x2d7)],si=(_0x1c790a,_0xf0cb0e,_0x2ef008,_0x415a9e)=>{var _0x199331=_0x1640f8;for(var _0x1c8191=_0x415a9e>0x1?void 0x0:_0x415a9e?ri(_0xf0cb0e,_0x2ef008):_0xf0cb0e,_0x393ecf=_0x1c790a[_0x199331(0x388)]-0x1,_0x1974a7;_0x393ecf>=0x0;_0x393ecf--)(_0x1974a7=_0x1c790a[_0x393ecf])&&(_0x1c8191=_0x1974a7(_0x1c8191)||_0x1c8191);return _0x1c8191;},_e=(_0x30f0c0,_0x51f6ac)=>(_0x5831c9,_0x2901fe)=>_0x51f6ac(_0x5831c9,_0x2901fe,_0x30f0c0);const Fe=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function oi(_0x514b16,_0x37c516,_0x2fdde9){var _0x568863=_0x1640f8;return _0x514b16+'/'+_0x37c516+_0x568863(0x220)+_0x2fdde9+_0x568863(0x2c7);}exports[_0x1640f8(0x25c)]=class extends a['Disposable']{constructor(_0x5ece91,_0x4aaea8,_0x168564,_0x32b84f,_0x283b6a){var _0x3bdb9c=_0x1640f8;super(),this['_injector']=_0x5ece91,this['_httpService']=_0x4aaea8,this[_0x3bdb9c(0x2b1)]=_0x168564,this[_0x3bdb9c(0x3aa)]=_0x32b84f,this['_snapshotServerService']=_0x283b6a;}[_0x1640f8(0x335)](_0x5552e0){var _0x5c7d32=_0x1640f8;const _0x21ab83=this['_injector'][_0x5c7d32(0x3ee)](q['ISocketService']);if(!_0x21ab83)throw new Error(_0x5c7d32(0x3f3));const _0xed52c9=_0x21ab83[_0x5c7d32(0x1f7)](_0x5552e0);if(!_0xed52c9)throw new Error(_0x5c7d32(0x15d));const _0x4e6918=new a['DisposableCollection'](),_0x2d3384=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x346)][_0x5c7d32(0x217)](_0x4956fc=>_0x2d3384[_0x5c7d32(0x3f8)](_0x4956fc))),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2d3384[_0x5c7d32(0x256)]()));const _0x494f70=new H[(_0x5c7d32(0x375))]();_0x4e6918['add'](_0xed52c9[_0x5c7d32(0x2d5)]['subscribe'](_0x38d48c=>_0x494f70[_0x5c7d32(0x3f8)](_0x38d48c))),_0x4e6918['add'](a[_0x5c7d32(0x300)](()=>_0x494f70['complete']()));const _0x2da3d2=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x151)][_0x5c7d32(0x217)](_0x37792c=>{var _0x1cf87b=_0x5c7d32;const _0x5cb49a=mt(_0x37792c);_0x2da3d2[_0x1cf87b(0x3f8)](_0x5cb49a);})),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2da3d2[_0x5c7d32(0x256)]()));let _0x222700;const _0x2d0b24=()=>{var _0x59d786=_0x5c7d32;_0x494f70['next'](new Event('connection\x20error')),_0x2d3384[_0x59d786(0x3f8)](new Event('connection\x20error')),_0x222700['close']();};return _0x222700={'memberID':'','close$':_0x2d3384['asObservable'](),'error$':_0x494f70[_0x5c7d32(0x1ed)](),'open$':_0xed52c9[_0x5c7d32(0x31b)],'message$':_0x2da3d2[_0x5c7d32(0x1ed)](),'send':_0x207598=>{var _0x171496=_0x5c7d32;if(_0x207598[_0x171496(0x21d)]===W['INGEST']){if(_0x207598[_0x171496(0x19d)][_0x171496(0x47b)]===p['CollaborationEvent'][_0x171496(0x3b9)]){this[_0x171496(0x43b)](_0x222700,_0x207598[_0x171496(0x19d)])['catch'](_0x51f059=>{var _0x3a4818=_0x171496;this[_0x3a4818(0x3aa)][_0x3a4818(0x15a)](_0x51f059),_0x2d0b24();});return;}if(_0x207598['data'][_0x171496(0x47b)]===p[_0x171496(0x1e8)][_0x171496(0x1b0)]){const _0x38cf60=_0x207598[_0x171496(0x19d)];this[_0x171496(0x211)](_0x38cf60)[_0x171496(0x321)](_0x5e5497=>{var _0x931a6f=_0x171496;_0x2da3d2[_0x931a6f(0x3f8)]({'cmd':W[_0x931a6f(0x333)],'code':se['OK'],'routeKey':_0x38cf60['data'][_0x931a6f(0x281)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x931a6f(0x3c6)],'data':{'changesets':_0x5e5497}}});})[_0x171496(0x2c5)](_0x5b6c77=>{var _0x2527ef=_0x171496;this[_0x2527ef(0x3aa)]['error'](_0x5b6c77),_0x2d0b24();});return;}}_0xed52c9[_0x171496(0x407)](gt(_0x207598));},'close':()=>{var _0x21394d=_0x5c7d32;_0xed52c9[_0x21394d(0x3f5)](),_0x4e6918[_0x21394d(0x244)]();}},_0x222700;}async[_0x1640f8(0x43b)](_0x265a92,_0x12af7d){var _0x3aae30=_0x1640f8,_0x524629;const {unitType:_0x1eb130,unitID:_0x288ba6,changeset:_0x3d97c4}=_0x12af7d[_0x3aae30(0x19d)],_0x597262={'unitID':_0x288ba6,'memberID':_0x265a92[_0x3aae30(0x433)],'type':_0x1eb130,'changeset':p[_0x3aae30(0x2df)](_0x3d97c4)},_0x35a46c=this[_0x3aae30(0x2b1)][_0x3aae30(0x254)](Y),_0x1073ab=oi((_0x524629=_0x35a46c==null?void 0x0:_0x35a46c[_0x3aae30(0x327)])!=null?_0x524629:kt,_0x1eb130,_0x288ba6);try{await this[_0x3aae30(0x3a0)][_0x3aae30(0x42a)](_0x1073ab,{'body':_0x597262});}catch(_0x23e700){throw this[_0x3aae30(0x3aa)][_0x3aae30(0x15a)](_0x3aae30(0x342),_0x3aae30(0x35a)),_0x23e700;}}async['_fetchMissChangesets'](_0x14fdc1){var _0x83ad2f=_0x1640f8;const {unitID:_0x285ffb,from:_0x3f9b85,to:_0x5670ca,unitType:_0x2252c0}=_0x14fdc1[_0x83ad2f(0x19d)];return(await this['_snapshotServerService'][_0x83ad2f(0x31c)]({'metadata':void 0x0},{'unitID':_0x285ffb,'type':_0x2252c0,'from':_0x3f9b85,'to':_0x5670ca}))['changesets'];}},exports[_0x1640f8(0x25c)]=si([_e(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),_e(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),_e(0x2,a[_0x1640f8(0x30d)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x1640f8(0x483)])],exports['CollaborationSocketService']);var ai=Object[_0x1640f8(0x2d7)],ci=(_0x1690d2,_0x314689,_0x58267b,_0x54e505)=>{var _0x40b42b=_0x1640f8;for(var _0x436123=_0x54e505>0x1?void 0x0:_0x54e505?ai(_0x314689,_0x58267b):_0x314689,_0x411b96=_0x1690d2[_0x40b42b(0x388)]-0x1,_0x522c0a;_0x411b96>=0x0;_0x411b96--)(_0x522c0a=_0x1690d2[_0x411b96])&&(_0x436123=_0x522c0a(_0x436123)||_0x436123);return _0x436123;},he=(_0x2d18a0,_0x481fc2)=>(_0x55b839,_0x197bce)=>_0x481fc2(_0x55b839,_0x197bce,_0x2d18a0);exports['CollaborationSessionService']=class extends a[_0x1640f8(0x380)]{constructor(_0x5b42d9,_0x522b6e,_0x93c01c,_0x223077,_0x45e01e,_0x592c9b){var _0x4a7cda=_0x1640f8;super(),A(this,_0x4a7cda(0x1b4),new H['BehaviorSubject'](void 0x0)),A(this,_0x4a7cda(0x3f0),this[_0x4a7cda(0x1b4)][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x2ac),null),A(this,'_sessions',new Map()),A(this,_0x4a7cda(0x485),new H['BehaviorSubject'](re[_0x4a7cda(0x390)])),A(this,_0x4a7cda(0x357),this['_status$'][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x263),!0x1),A(this,_0x4a7cda(0x42f)),A(this,_0x4a7cda(0x336),0x0),A(this,_0x4a7cda(0x275)),A(this,_0x4a7cda(0x17d)),(this[_0x4a7cda(0x331)]=_0x5b42d9,this['_logService']=_0x522b6e,this[_0x4a7cda(0x2b1)]=_0x93c01c,this[_0x4a7cda(0x3eb)]=_0x223077,this[_0x4a7cda(0x468)]=_0x45e01e,this[_0x4a7cda(0x329)]=_0x592c9b,this['_listenToNetworkCondition']());}get[_0x1640f8(0x36b)](){var _0x39cbc1=_0x1640f8;return this[_0x39cbc1(0x1b4)][_0x39cbc1(0x46c)]();}['_listenToNetworkCondition'](){var _0x270e6b=_0x1640f8;this['_networkConditionService']&&this['disposeWithMe'](this[_0x270e6b(0x329)][_0x270e6b(0x3ac)][_0x270e6b(0x217)](_0x5a9e28=>{var _0x4966a0=_0x270e6b;_0x5a9e28&&!this[_0x4966a0(0x36b)]&&this[_0x4966a0(0x14c)](),_0x5a9e28||this['_onOffline']();}));}['dispose'](){var _0x1be333=_0x1640f8;super[_0x1be333(0x244)](),this['_clearRetryConnectingTimer'](),this[_0x1be333(0x2ee)](),this[_0x1be333(0x1f3)](),this[_0x1be333(0x386)][_0x1be333(0x1ff)](_0x5eefa9=>_0x5eefa9[_0x1be333(0x244)]()),this[_0x1be333(0x386)][_0x1be333(0x21c)](),this[_0x1be333(0x485)][_0x1be333(0x256)]();}async['requireSession'](_0x56be23){var _0x5ad739=_0x1640f8;if(this['_sessions'][_0x5ad739(0x3fb)](_0x56be23))return this['_sessions'][_0x5ad739(0x3ee)](_0x56be23);this[_0x5ad739(0x401)]();const _0x4abbf9=this[_0x5ad739(0x331)][_0x5ad739(0x13a)](exports[_0x5ad739(0x1b7)],_0x56be23,this['_socket$'][_0x5ad739(0x1ed)]());return this['_sessions'][_0x5ad739(0x315)](_0x56be23,_0x4abbf9),_0x4abbf9;}[_0x1640f8(0x28a)](_0x5b55c4){var _0x4e6115=_0x1640f8,_0x4a58f5;const _0x3fb50b=this['_sessions'][_0x4e6115(0x3ee)](_0x5b55c4);_0x3fb50b&&(this[_0x4e6115(0x386)][_0x4e6115(0x24b)](_0x5b55c4),_0x3fb50b['close']()),this[_0x4e6115(0x386)][_0x4e6115(0x2b8)]||(_0x4a58f5=this[_0x4e6115(0x36b)])==null||_0x4a58f5[_0x4e6115(0x3f5)]();}[_0x1640f8(0x14c)](){var _0x4d811d=_0x1640f8;this[_0x4d811d(0x336)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4d811d(0x18a)]();}[_0x1640f8(0x1f1)](){var _0x4813ed=_0x1640f8;this[_0x4813ed(0x42f)]!=null&&(clearTimeout(this[_0x4813ed(0x42f)]),this[_0x4813ed(0x42f)]=null);}async[_0x1640f8(0x157)](){var _0x2dc4b1=_0x1640f8,_0x74bb65;const _0x2aa8d5=this[_0x2dc4b1(0x2b1)][_0x2dc4b1(0x254)](Y),_0x5985bb=(_0x74bb65=_0x2aa8d5==null?void 0x0:_0x2aa8d5[_0x2dc4b1(0x1e3)])!=null?_0x74bb65:ht,_0x23e540=await this[_0x2dc4b1(0x3eb)][_0x2dc4b1(0x1f7)](_0x5985bb);return this[_0x2dc4b1(0x2ac)]=_0x23e540,_0x23e540;}async[_0x1640f8(0x401)](){var _0x545eac=_0x1640f8,_0x5332a9,_0x4364fd;try{const _0x6e71c9=(_0x4364fd=(_0x5332a9=this[_0x545eac(0x36b)])!=null?_0x5332a9:this[_0x545eac(0x2ac)])!=null?_0x4364fd:await this[_0x545eac(0x157)]();if(_0x6e71c9){const _0x575754=_0x6e71c9[_0x545eac(0x407)];_0x6e71c9[_0x545eac(0x407)]=_0x16793f=>(this[_0x545eac(0x3f9)](),_0x575754[_0x545eac(0x219)](_0x6e71c9,[_0x16793f])),_0x6e71c9[_0x545eac(0x151)][_0x545eac(0x217)](_0x5b564b=>this[_0x545eac(0x3c3)](_0x6e71c9,_0x5b564b)),_0x6e71c9[_0x545eac(0x2d5)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x4a07bb=>this['_logService']['error'](_0x545eac(0x40c),_0x4a07bb)),_0x6e71c9[_0x545eac(0x31b)]['pipe'](V[_0x545eac(0x153)](0x1))['subscribe'](()=>{var _0x15ff20=_0x545eac;this[_0x15ff20(0x188)](_0x6e71c9);}),_0x6e71c9[_0x545eac(0x346)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x229c5f=>{var _0x3a8236=_0x545eac;this[_0x3a8236(0x3aa)][_0x3a8236(0x2cc)]('[CollaborationSessionService]','socket\x20close',_0x229c5f),this[_0x3a8236(0x280)]();});}}catch(_0x5b7609){this[_0x545eac(0x3aa)][_0x545eac(0x15a)](_0x5b7609),this['_onConnectionFailed']();}}[_0x1640f8(0x188)](_0x10e4e9){var _0x1465e1=_0x1640f8;this[_0x1465e1(0x3aa)][_0x1465e1(0x2cc)](_0x1465e1(0x410),'socket\x20open.'),_0x10e4e9[_0x1465e1(0x407)]({'cmd':W[_0x1465e1(0x490)]}),this[_0x1465e1(0x3f9)]();}[_0x1640f8(0x1e6)](){var _0x29edf4=_0x1640f8;this[_0x29edf4(0x263)]=!0x1,this[_0x29edf4(0x2ac)]=null,this[_0x29edf4(0x485)][_0x29edf4(0x3f8)](re[_0x29edf4(0x2bb)]),this[_0x29edf4(0x1b4)][_0x29edf4(0x3f8)](null),this[_0x29edf4(0x2ee)](),this[_0x29edf4(0x1f3)]();}['_onConnectionFailed'](){var _0xcc9f86=_0x1640f8,_0x39c3a1;this['_onOffline'](),this[_0xcc9f86(0x336)]<((_0x39c3a1=this[_0xcc9f86(0x2b1)][_0xcc9f86(0x254)](ut))!=null?_0x39c3a1:Mt)?(this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z[_0xcc9f86(0x326)]}),this[_0xcc9f86(0x18a)]()):this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z['SOCKET_FAILED']});}[_0x1640f8(0x18a)](){var _0x50ac6a=_0x1640f8,_0x5e1eb2;const _0x173d53=this[_0x50ac6a(0x336)],_0x4b7d4e=this[_0x50ac6a(0x2b1)][_0x50ac6a(0x254)](Y),_0x4df02e=_0x173d53===0x0?0x0:((_0x5e1eb2=_0x4b7d4e==null?void 0x0:_0x4b7d4e['retryConnectingInterval'])!=null?_0x5e1eb2:wt)*0x2**_0x173d53;this[_0x50ac6a(0x42f)]=setTimeout(()=>{var _0x34982a=_0x50ac6a;clearTimeout(this[_0x34982a(0x42f)]),this[_0x34982a(0x42f)]=null,this['_tryEnsureSocket']();},_0x4df02e),this[_0x50ac6a(0x336)]+=0x1;}[_0x1640f8(0x3c3)](_0x36016b,_0x51a6b7){var _0x364394=_0x1640f8;const {cmd:_0x2a0733}=_0x51a6b7;_0x2a0733===W[_0x364394(0x490)]&&!this['_socketReady']&&(_0x36016b[_0x364394(0x433)]=_0x51a6b7['data'][_0x364394(0x433)],this['_socket$'][_0x364394(0x3f8)](_0x36016b),this[_0x364394(0x485)][_0x364394(0x3f8)](re[_0x364394(0x314)]),this[_0x364394(0x263)]=!0x0,this[_0x364394(0x2ac)]=null),_0x2a0733===W[_0x364394(0x43f)]&&this['_clearTimeoutTimer'](),this[_0x364394(0x3f9)]();}[_0x1640f8(0x3f9)](){var _0x3d6ff3=_0x1640f8,_0x4d3199;this[_0x3d6ff3(0x1f3)](),this[_0x3d6ff3(0x275)]=setTimeout(()=>this[_0x3d6ff3(0x261)](),(_0x4d3199=this['_configService']['getConfig'](_t))!=null?_0x4d3199:Pt);}[_0x1640f8(0x261)](){var _0x5c0ad2=_0x1640f8;this[_0x5c0ad2(0x36b)][_0x5c0ad2(0x407)]({'cmd':W[_0x5c0ad2(0x43f)]}),this[_0x5c0ad2(0x2bf)]();}['_waitForHeartbeatResponse'](){var _0x37818b=_0x1640f8,_0xa029d3;this[_0x37818b(0x17d)]=setTimeout(()=>this[_0x37818b(0x280)](),(_0xa029d3=this[_0x37818b(0x2b1)][_0x37818b(0x254)](ke))!=null?_0xa029d3:lt);}['_clearHeartbeatTimer'](){var _0x3b0757=_0x1640f8;this[_0x3b0757(0x275)]!=null&&(clearTimeout(this[_0x3b0757(0x275)]),this[_0x3b0757(0x275)]=null);}[_0x1640f8(0x2ee)](){var _0x43f7f7=_0x1640f8;this[_0x43f7f7(0x17d)]!=null&&(clearTimeout(this[_0x43f7f7(0x17d)]),this[_0x43f7f7(0x17d)]=null);}},exports[_0x1640f8(0x169)]=ci([he(0x0,a['Inject'](a[_0x1640f8(0x1c1)])),he(0x1,a[_0x1640f8(0x226)]),he(0x2,a[_0x1640f8(0x30d)]),he(0x3,Fe),he(0x4,a[_0x1640f8(0x207)](ee)),he(0x5,a[_0x1640f8(0x1d3)](pt))],exports[_0x1640f8(0x169)]);var hi=Object[_0x1640f8(0x2d7)],_i=(_0xb75fdb,_0xe76528,_0x2790d0,_0x3be2c8)=>{var _0x94301e=_0x1640f8;for(var _0x428126=_0x3be2c8>0x1?void 0x0:_0x3be2c8?hi(_0xe76528,_0x2790d0):_0xe76528,_0x3f996a=_0xb75fdb[_0x94301e(0x388)]-0x1,_0x1f843f;_0x3f996a>=0x0;_0x3f996a--)(_0x1f843f=_0xb75fdb[_0x3f996a])&&(_0x428126=_0x1f843f(_0x428126)||_0x428126);return _0x428126;},Se=(_0x13a122,_0x1fb2e5)=>(_0x40348c,_0x489c03)=>_0x1fb2e5(_0x40348c,_0x489c03,_0x13a122);exports[_0x1640f8(0x18f)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x1a3ce4,_0x402451,_0xf1155,_0x11d589){var _0x2135cb=_0x1640f8,_0x26832e;super(),A(this,'_entities',new Map()),A(this,_0x2135cb(0x22b),new H[(_0x2135cb(0x375))]()),A(this,_0x2135cb(0x439),this[_0x2135cb(0x22b)][_0x2135cb(0x1ed)]()),(this[_0x2135cb(0x331)]=_0x1a3ce4,this[_0x2135cb(0x21a)]=_0x402451,this['_configService']=_0xf1155,this[_0x2135cb(0x2f3)]=_0x11d589,((_0x26832e=this[_0x2135cb(0x2b1)]['getConfig'](Y))==null?void 0x0:_0x26832e[_0x2135cb(0x20d)])!==!0x1&&this[_0x2135cb(0x1ac)]());}[_0x1640f8(0x244)](){var _0x83bc84=_0x1640f8;super[_0x83bc84(0x244)](),this[_0x83bc84(0x38f)][_0x83bc84(0x1ff)](_0x3659e6=>_0x3659e6[_0x83bc84(0x244)]()),this['_entities'][_0x83bc84(0x21c)]();}[_0x1640f8(0x224)](_0x582d0c){var _0x125f7b=_0x1640f8,_0x2534ff;return(_0x2534ff=this[_0x125f7b(0x38f)][_0x125f7b(0x3ee)](_0x582d0c))!=null?_0x2534ff:null;}['getCollabEntity$'](_0x55cb5d){var _0x5d7c4d=_0x1640f8;const _0x3b8ec9=this['getCollabEntity'](_0x55cb5d);return _0x3b8ec9?H['of'](_0x3b8ec9):this[_0x5d7c4d(0x22b)]['pipe'](V[_0x5d7c4d(0x35b)](_0x214a5b=>_0x214a5b[_0x5d7c4d(0x281)]===_0x55cb5d));}[_0x1640f8(0x302)](_0x2b5e14){var _0x132ace=_0x1640f8;return H[_0x132ace(0x2e5)](this['getCollabEntity$'](_0x2b5e14)[_0x132ace(0x297)](V[_0x132ace(0x3d2)](()=>{})));}[_0x1640f8(0x1ac)](){var _0x158e9e=_0x1640f8;this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a[_0x158e9e(0x1cb)][_0x158e9e(0x435)])['pipe'](H[_0x158e9e(0x397)](this[_0x158e9e(0x247)]),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x217)](async _0x50b8f2=>{var _0x46e39c=_0x158e9e;const _0x1e626b=_0x50b8f2[_0x46e39c(0x2e1)](),_0x43de32=await this[_0x46e39c(0x2fa)](_0x1e626b,J[_0x46e39c(0x435)]);this[_0x46e39c(0x38f)][_0x46e39c(0x315)](_0x1e626b,_0x43de32);}),this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a['UniverInstanceType'][_0x158e9e(0x15e)])[_0x158e9e(0x297)](H[_0x158e9e(0x397)](this['dispose$']),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x297)](V[_0x158e9e(0x35b)](_0x324f86=>!_0x324f86['getUnitId']()[_0x158e9e(0x168)]('__')))['subscribe'](async _0x2cc2b9=>{var _0x4bc4ea=_0x158e9e;const _0x2acb63=_0x2cc2b9[_0x4bc4ea(0x2e1)](),_0x66b266=await this[_0x4bc4ea(0x2fa)](_0x2acb63,J['UNIVER_DOC']);this[_0x4bc4ea(0x38f)][_0x4bc4ea(0x315)](_0x2acb63,_0x66b266);}),H[_0x158e9e(0x22a)](this[_0x158e9e(0x2f3)][_0x158e9e(0x2fe)](a[_0x158e9e(0x1cb)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x158e9e(0x2fe)](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](H[_0x158e9e(0x397)](this['dispose$']))[_0x158e9e(0x217)](_0x3cf94b=>{var _0x5aed06=_0x158e9e;const _0x25a918=_0x3cf94b['getUnitId'](),_0x563fab=this[_0x5aed06(0x38f)][_0x5aed06(0x3ee)](_0x25a918);_0x563fab&&(_0x563fab[_0x5aed06(0x244)](),this[_0x5aed06(0x38f)][_0x5aed06(0x24b)](_0x25a918));});}async['_startCollaboration'](_0x4f4bf4,_0x5504de){var _0x30d65a=_0x1640f8;const _0x163d88=await this[_0x30d65a(0x21a)][_0x30d65a(0x447)](_0x4f4bf4),_0x4ef11a=this[_0x30d65a(0x331)][_0x30d65a(0x13a)](this[_0x30d65a(0x3d5)](_0x5504de),_0x4f4bf4,_0x5504de,_0x163d88);return await _0x4ef11a[_0x30d65a(0x27e)](),this['_entityInit$'][_0x30d65a(0x3f8)](_0x4ef11a),_0x4ef11a;}['_getCtorByUniverType'](_0x2f5344){var _0x2a9109=_0x1640f8;switch(_0x2f5344){case J[_0x2a9109(0x15e)]:return exports[_0x2a9109(0x405)];case J['UNIVER_SHEET']:return exports[_0x2a9109(0x13f)];default:throw new Error(_0x2a9109(0x394)+_0x2f5344);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),Se(0x1,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),Se(0x2,a[_0x1640f8(0x30d)]),Se(0x3,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x18f)]);var li=Object[_0x1640f8(0x2d7)],ui=(_0x5b4ff9,_0x13a924,_0x53d4dd,_0x3c410c)=>{for(var _0x4c6a2a=_0x3c410c>0x1?void 0x0:_0x3c410c?li(_0x13a924,_0x53d4dd):_0x13a924,_0xd88557=_0x5b4ff9['length']-0x1,_0x391332;_0xd88557>=0x0;_0xd88557--)(_0x391332=_0x5b4ff9[_0xd88557])&&(_0x4c6a2a=_0x391332(_0x4c6a2a)||_0x4c6a2a);return _0x4c6a2a;},Ye=(_0x5e1f9d,_0x3a2700)=>(_0x23df77,_0x3c777b)=>_0x3a2700(_0x23df77,_0x3c777b,_0x5e1f9d);const di=_0x1640f8(0x150),vi=_0x1640f8(0x466);let xe=class extends a['Disposable']{constructor(_0x197d67,_0x5d4df7){var _0x5206fa=_0x1640f8;super(),this[_0x5206fa(0x2f3)]=_0x197d67,this[_0x5206fa(0x2b1)]=_0x5d4df7,this['_init']();}['_init'](){var _0x1fe603=_0x1640f8;this[_0x1fe603(0x30c)](this['_univerInstanceService'][_0x1fe603(0x24e)]['subscribe'](()=>{var _0x25ba88=_0x1fe603,_0x20de3c;const _0x32d1c3=this['_univerInstanceService']['getFocusedUnit']();let _0x1514b3=(_0x20de3c=this[_0x25ba88(0x2b1)]['getConfig'](di))!=null?_0x20de3c:vi;_0x32d1c3 instanceof a[_0x25ba88(0x2ce)]&&(_0x1514b3=_0x32d1c3[_0x25ba88(0x48d)]),document['title']=_0x1514b3;}));}};xe=ui([Ye(0x0,a[_0x1640f8(0x49a)]),Ye(0x1,a[_0x1640f8(0x30d)])],xe);var Si=Object[_0x1640f8(0x2d7)],fi=(_0x49734d,_0x4f3315,_0x9e214e,_0x42033e)=>{var _0x47d910=_0x1640f8;for(var _0x1f4376=_0x42033e>0x1?void 0x0:_0x42033e?Si(_0x4f3315,_0x9e214e):_0x4f3315,_0x1736b8=_0x49734d[_0x47d910(0x388)]-0x1,_0x3e729c;_0x1736b8>=0x0;_0x1736b8--)(_0x3e729c=_0x49734d[_0x1736b8])&&(_0x1f4376=_0x3e729c(_0x1f4376)||_0x1f4376);return _0x1f4376;},Ae=(_0x106c9e,_0x1bf73c)=>(_0x3a9887,_0x277554)=>_0x1bf73c(_0x3a9887,_0x277554,_0x106c9e);let ye=class{constructor(_0x3106f8,_0x3a249b,_0x1356a2){var _0x4e47bc=_0x1640f8;this[_0x4e47bc(0x2b1)]=_0x3106f8,this['_httpService']=_0x3a249b,this[_0x4e47bc(0x1c6)]=_0x1356a2,this[_0x4e47bc(0x27e)]();}['init'](){var _0x39376e=_0x1640f8;this[_0x39376e(0x3a0)][_0x39376e(0x144)]({'priority':0x1,'interceptor':(_0x1e4a86,_0x33bf35)=>_0x33bf35(_0x1e4a86)['pipe'](H['concatMap'](async _0x6e6d4c=>{var _0x5ce368=_0x39376e;const _0x505c80=_0x6e6d4c;if(_0x505c80['status']===0x191){if(typeof window>'u')throw new Error(_0x5ce368(0x23a));if(window[_0x5ce368(0x42c)](this['localeService']['t'](_0x5ce368(0x419)))){const _0x5b6a02=window['encodeURIComponent'](window[_0x5ce368(0x48c)][_0x5ce368(0x262)]);window['location'][_0x5ce368(0x262)]=this['_getLoginPath']()+_0x5ce368(0x16a)+_0x5b6a02;}}return _0x505c80;}))});}[_0x1640f8(0x41e)](){var _0x3838ab=_0x1640f8,_0xc57152;const _0x5a618d=this[_0x3838ab(0x2b1)][_0x3838ab(0x254)](Y);return(_0xc57152=_0x5a618d==null?void 0x0:_0x5a618d['loginUrlKey'])!=null?_0xc57152:$t;}};ye=fi([Ae(0x0,a[_0x1640f8(0x30d)]),Ae(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Ae(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)]))],ye);var Ii=Object[_0x1640f8(0x2d7)],pi=(_0x13f7dc,_0x1b4b7c,_0x4324b2,_0x2d8a32)=>{var _0xddc3c5=_0x1640f8;for(var _0x1f6dca=_0x2d8a32>0x1?void 0x0:_0x2d8a32?Ii(_0x1b4b7c,_0x4324b2):_0x1b4b7c,_0x3ce99a=_0x13f7dc[_0xddc3c5(0x388)]-0x1,_0x4b4937;_0x3ce99a>=0x0;_0x3ce99a--)(_0x4b4937=_0x13f7dc[_0x3ce99a])&&(_0x1f6dca=_0x4b4937(_0x1f6dca)||_0x1f6dca);return _0x1f6dca;},qe=(_0x3f8084,_0x30fe44)=>(_0x3bb9b7,_0xf8c118)=>_0x30fe44(_0x3bb9b7,_0xf8c118,_0x3f8084);const mi=_0x1640f8(0x2da);exports[_0x1640f8(0x353)]=class extends a[_0x1640f8(0x380)]{constructor(_0x1ba2b2,_0x4aef08){var _0xd90936=_0x1640f8;super(),this['_HTTPService']=_0x1ba2b2,this[_0xd90936(0x2b1)]=_0x4aef08,this[_0xd90936(0x3d3)]();}[_0x1640f8(0x3d3)](){var _0x489e92=_0x1640f8;const _0xd647e=this;this[_0x489e92(0x30c)](this['_HTTPService'][_0x489e92(0x144)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x101df9){var _0x436c28=_0x489e92,_0x4fdc6a;if(_0x101df9[_0x436c28(0x2c0)]==='POST'&&((_0x4fdc6a=_0x101df9[_0x436c28(0x3f6)])!=null&&_0x4fdc6a['body'])){const {objectID:_0xfb8691,objectType:_0x1e9558}=_0x101df9[_0x436c28(0x3f6)][_0x436c28(0x3e3)]||{};if(!_0xfb8691||_0x1e9558===void 0x0)return!0x1;const _0x5bfd47=_0xd647e[_0x436c28(0x1aa)]()+'/'+_0x1e9558+_0x436c28(0x1c3)+_0xfb8691+'/allowed';if(_0x101df9[_0x436c28(0x3a7)]===_0x5bfd47)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1ecb7d){var _0x2d4e61=_0x489e92,_0xe3ff5f;return(_0xe3ff5f=_0x1ecb7d['requestParams'])==null?void 0x0:_0xe3ff5f[_0x2d4e61(0x3e3)];},'mergeParamsToRequest'(_0x388add,_0x3aad10){var _0x576b38=_0x489e92;const _0x1e06d6=_0xd647e[_0x576b38(0x1aa)]()+_0x576b38(0x497),_0x13dbcc=_0x388add['reduce']((_0x55a38b,_0x578ba7)=>{var _0x26e997=_0x576b38;const {unitID:_0xd3d013,objectID:_0x31fc4c,objectType:_0x5cfc70,actions:_0x3fdad0}=_0x578ba7;return _0x55a38b[_0xd3d013]||(_0x55a38b[_0xd3d013]={}),_0x55a38b[_0xd3d013][_0x31fc4c]||(_0x55a38b[_0xd3d013][_0x31fc4c]={'objectID':_0x31fc4c,'objectType':_0x5cfc70,'actions':[]}),_0x55a38b[_0xd3d013][_0x31fc4c][_0x26e997(0x403)][_0x26e997(0x33f)](..._0x3fdad0),_0x55a38b;},{}),_0x257c5a=[];for(const _0x15ece2 in _0x13dbcc)for(const _0x447986 in _0x13dbcc[_0x15ece2]){const {actions:_0x4ae783,objectType:_0xe6241}=_0x13dbcc[_0x15ece2][_0x447986],_0x226b0d=[...new Set(_0x4ae783)];_0x257c5a['push']({'unitID':_0x15ece2,'objectID':_0x447986,'objectType':_0xe6241,'actions':_0x226b0d});}return new q[(_0x576b38(0x45a))]('POST',_0x1e06d6,{'headers':_0x3aad10['headers'],'withCredentials':_0x3aad10[_0x576b38(0x2aa)],'responseType':_0x3aad10[_0x576b38(0x243)],'body':{'requests':_0x257c5a}});}},{'distributeResult'(_0x591572,_0x4b6c4c){var _0x20e809=_0x489e92;const {objectActions:_0x5146f9}=_0x591572;return _0x4b6c4c[_0x20e809(0x3d2)](_0x35ee1e=>{var _0x23cba4=_0x20e809;const {unitID:_0x23322b,objectID:_0x3e2625,actions:_0x328069}=_0x35ee1e,_0x5a3984=_0x5146f9['find'](_0x269625=>_0x269625[_0x23cba4(0x281)]===_0x23322b&&_0x269625[_0x23cba4(0x3dd)]===_0x3e2625),_0x696057=_0x328069['map'](_0x42318d=>_0x5a3984==null?void 0x0:_0x5a3984['actions'][_0x23cba4(0x264)](_0x58157e=>_0x58157e[_0x23cba4(0x36d)]===_0x42318d))[_0x23cba4(0x35b)](_0x225768=>!!_0x225768);return{'config':_0x35ee1e,'result':{'actions':_0x696057,'error':_0x591572[_0x23cba4(0x15a)]}};});}})}));}[_0x1640f8(0x1aa)](){var _0x1d9b21=_0x1640f8,_0xd30cb;const _0x45e276=this[_0x1d9b21(0x2b1)][_0x1d9b21(0x254)](Y);return(_0xd30cb=_0x45e276==null?void 0x0:_0x45e276[_0x1d9b21(0x34b)])!=null?_0xd30cb:mi;}async[_0x1640f8(0x3cb)](_0x3c2452){var _0x520eb1=_0x1640f8;const _0x41fd1e=this[_0x520eb1(0x1aa)]()+'/'+_0x3c2452[_0x520eb1(0x47d)]+_0x520eb1(0x2c2);return(await this[_0x520eb1(0x3e9)][_0x520eb1(0x42a)](_0x41fd1e,{'body':_0x3c2452}))[_0x520eb1(0x3e3)][_0x520eb1(0x3dd)]||'';}async[_0x1640f8(0x155)](_0x26c72c){var _0x1884c6=_0x1640f8;const _0x3fccdf=this['_getAPIPrefixPath']()+_0x1884c6(0x40d);return(await this[_0x1884c6(0x3e9)][_0x1884c6(0x42a)](_0x3fccdf,{'body':_0x26c72c}))['body'][_0x1884c6(0x1a1)];}async[_0x1640f8(0x216)](_0xb86087){var _0x2ff49e=_0x1640f8,_0x59b0fa,_0x1e7286;const _0x3c8d45=this[_0x2ff49e(0x1aa)]()+'/'+_0xb86087[_0x2ff49e(0x47d)]+_0x2ff49e(0x1c3)+_0xb86087[_0x2ff49e(0x3dd)],_0x4eff51=await this[_0x2ff49e(0x3e9)][_0x2ff49e(0x292)](_0x3c8d45,{'body':_0xb86087});if(((_0x1e7286=(_0x59b0fa=_0x4eff51==null?void 0x0:_0x4eff51[_0x2ff49e(0x3e3)])==null?void 0x0:_0x59b0fa[_0x2ff49e(0x15a)])==null?void 0x0:_0x1e7286[_0x2ff49e(0x141)])!==0x1)throw new Error(_0x2ff49e(0x3ad));}async['allowed'](_0x12c6dd){var _0x352688=_0x1640f8;const _0xbfae17=this['_getAPIPrefixPath']()+'/'+_0x12c6dd[_0x352688(0x47d)]+_0x352688(0x1c3)+_0x12c6dd[_0x352688(0x3dd)]+'/allowed';return(await this[_0x352688(0x3e9)][_0x352688(0x42a)](_0xbfae17,{'body':_0x12c6dd}))[_0x352688(0x3e3)][_0x352688(0x403)];}async[_0x1640f8(0x472)](_0x2eb2f6){var _0x197636=_0x1640f8;const _0x469333=this['_getAPIPrefixPath']()+_0x197636(0x497);return(await this['_HTTPService'][_0x197636(0x42a)](_0x469333,{'body':{'requests':_0x2eb2f6}}))['body'][_0x197636(0x494)];}async['listRoles'](_0x4bd552){var _0x440f1e=_0x1640f8;const _0x272d73=this[_0x440f1e(0x1aa)]()+'/'+_0x4bd552[_0x440f1e(0x47d)]+_0x440f1e(0x1c0),_0x462a54=await this[_0x440f1e(0x3e9)]['post'](_0x272d73,{'body':_0x4bd552});return{'roles':_0x462a54[_0x440f1e(0x3e3)][_0x440f1e(0x456)],'actions':_0x462a54['body'][_0x440f1e(0x403)]};}async[_0x1640f8(0x3e2)](_0x18a679){var _0x7f12b1=_0x1640f8;const _0x1ff916=this['_getAPIPrefixPath']()+_0x7f12b1(0x24d);await this['_HTTPService'][_0x7f12b1(0x24b)](_0x1ff916,{'params':{'collaboratorID':_0x18a679[_0x7f12b1(0x206)],'objectID':_0x18a679[_0x7f12b1(0x3dd)],'unitID':_0x18a679[_0x7f12b1(0x281)]}});}async[_0x1640f8(0x2a2)](_0x40e4f5){var _0x31f432=_0x1640f8;const _0x2501c3=this[_0x31f432(0x1aa)]()+'/collaborator';await this[_0x31f432(0x3e9)][_0x31f432(0x480)](_0x2501c3,{'body':_0x40e4f5});}async['createCollaborator'](_0x1b9c60){var _0x3c5763=_0x1640f8;const _0x245f29=this['_getAPIPrefixPath']()+_0x3c5763(0x24d);await this[_0x3c5763(0x3e9)][_0x3c5763(0x42a)](_0x245f29,{'body':_0x1b9c60});}async[_0x1640f8(0x438)](_0x16aae5){var _0x4ef59a=_0x1640f8;const _0x1d3d67=this[_0x4ef59a(0x1aa)]()+_0x4ef59a(0x24d);return(await this[_0x4ef59a(0x3e9)][_0x4ef59a(0x3ee)](_0x1d3d67,{'params':{'objectID':_0x16aae5['objectID'],'unitID':_0x16aae5[_0x4ef59a(0x281)]}}))[_0x4ef59a(0x3e3)][_0x4ef59a(0x446)];}async['putCollaborators'](_0x260744){var _0x3e0a09=_0x1640f8;const _0xad0f69=this[_0x3e0a09(0x1aa)]()+_0x3e0a09(0x24d);await this[_0x3e0a09(0x3e9)][_0x3e0a09(0x292)](_0xad0f69,{'body':_0x260744});}},exports[_0x1640f8(0x353)]=pi([qe(0x0,a['Inject'](q[_0x1640f8(0x1ba)])),qe(0x1,a[_0x1640f8(0x207)](a['IConfigService']))],exports[_0x1640f8(0x353)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4066df){var _0xe9ed1=_0x1640f8;return _0x4066df&&_0x4066df[_0xe9ed1(0x379)]&&Object['prototype'][_0xe9ed1(0x26c)]['call'](_0x4066df,_0xe9ed1(0x3b7))?_0x4066df[_0xe9ed1(0x3b7)]:_0x4066df;}var fe={'exports':{}};function gi(_0x555273){var _0xa0075c=_0x1640f8;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x555273+_0xa0075c(0x158));}var Ie={'exports':{}},Ei=Ie[_0x1640f8(0x3bf)],Ke;function Q(){var _0x3865c4=_0x1640f8;return Ke||(Ke=0x1,function(_0x10a3b3,_0x3b4b95){(function(_0x2d4881,_0x231ee9){var _0x43fb87=_0x3549;_0x10a3b3[_0x43fb87(0x3bf)]=_0x231ee9();}(Ei,function(){var _0x193e20=_0x193e20||function(_0x2bd23e,_0xc7eb74){var _0x59bed8=_0x3549,_0x2b5803;if(typeof window<'u'&&window[_0x59bed8(0x365)]&&(_0x2b5803=window[_0x59bed8(0x365)]),typeof self<'u'&&self[_0x59bed8(0x365)]&&(_0x2b5803=self[_0x59bed8(0x365)]),typeof globalThis<'u'&&globalThis[_0x59bed8(0x365)]&&(_0x2b5803=globalThis[_0x59bed8(0x365)]),!_0x2b5803&&typeof window<'u'&&window[_0x59bed8(0x145)]&&(_0x2b5803=window[_0x59bed8(0x145)]),!_0x2b5803&&typeof Pe<'u'&&Pe[_0x59bed8(0x365)]&&(_0x2b5803=Pe[_0x59bed8(0x365)]),!_0x2b5803&&typeof gi==_0x59bed8(0x470))try{_0x2b5803=require('crypto');}catch{}var _0x11ca86=function(){var _0x5e5322=_0x59bed8;if(_0x2b5803){if(typeof _0x2b5803[_0x5e5322(0x23e)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x23e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b5803[_0x5e5322(0x164)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x164)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc66dd4=Object['create']||(function(){function _0x24fb0d(){}return function(_0x1d5214){var _0x4ce8be=_0x3549,_0x25b473;return _0x24fb0d['prototype']=_0x1d5214,_0x25b473=new _0x24fb0d(),_0x24fb0d[_0x4ce8be(0x26b)]=null,_0x25b473;};}()),_0x4cc220={},_0x4d43f3=_0x4cc220[_0x59bed8(0x2f7)]={},_0xad277d=_0x4d43f3[_0x59bed8(0x29c)]=(function(){return{'extend':function(_0x4ba7a4){var _0x381601=_0x3549,_0x19e8f9=_0xc66dd4(this);return _0x4ba7a4&&_0x19e8f9[_0x381601(0x3b4)](_0x4ba7a4),(!_0x19e8f9[_0x381601(0x26c)](_0x381601(0x27e))||this['init']===_0x19e8f9[_0x381601(0x27e)])&&(_0x19e8f9[_0x381601(0x27e)]=function(){var _0x415f77=_0x381601;_0x19e8f9[_0x415f77(0x2a4)][_0x415f77(0x27e)][_0x415f77(0x219)](this,arguments);}),_0x19e8f9[_0x381601(0x27e)][_0x381601(0x26b)]=_0x19e8f9,_0x19e8f9[_0x381601(0x2a4)]=this,_0x19e8f9;},'create':function(){var _0x517a9c=_0x3549,_0x3e06eb=this[_0x517a9c(0x382)]();return _0x3e06eb[_0x517a9c(0x27e)]['apply'](_0x3e06eb,arguments),_0x3e06eb;},'init':function(){},'mixIn':function(_0x5432ff){var _0x152b89=_0x3549;for(var _0x334744 in _0x5432ff)_0x5432ff[_0x152b89(0x26c)](_0x334744)&&(this[_0x334744]=_0x5432ff[_0x334744]);_0x5432ff['hasOwnProperty'](_0x152b89(0x42b))&&(this[_0x152b89(0x42b)]=_0x5432ff[_0x152b89(0x42b)]);},'clone':function(){var _0x1cefb7=_0x3549;return this[_0x1cefb7(0x27e)][_0x1cefb7(0x26b)][_0x1cefb7(0x382)](this);}};}()),_0x3311a1=_0x4d43f3[_0x59bed8(0x143)]=_0xad277d['extend']({'init':function(_0x5ea35f,_0x39b875){var _0x32df8d=_0x59bed8;_0x5ea35f=this[_0x32df8d(0x404)]=_0x5ea35f||[],_0x39b875!=_0xc7eb74?this['sigBytes']=_0x39b875:this[_0x32df8d(0x1a5)]=_0x5ea35f['length']*0x4;},'toString':function(_0x47d0da){return(_0x47d0da||_0x1de5f8)['stringify'](this);},'concat':function(_0x5d7e3b){var _0x174166=_0x59bed8,_0x2fe1bd=this['words'],_0x221ac8=_0x5d7e3b['words'],_0x39d7e6=this['sigBytes'],_0x761ca6=_0x5d7e3b[_0x174166(0x1a5)];if(this[_0x174166(0x3e6)](),_0x39d7e6%0x4)for(var _0x2f7a22=0x0;_0x2f7a22<_0x761ca6;_0x2f7a22++){var _0x54c2c6=_0x221ac8[_0x2f7a22>>>0x2]>>>0x18-_0x2f7a22%0x4*0x8&0xff;_0x2fe1bd[_0x39d7e6+_0x2f7a22>>>0x2]|=_0x54c2c6<<0x18-(_0x39d7e6+_0x2f7a22)%0x4*0x8;}else{for(var _0x19fb44=0x0;_0x19fb44<_0x761ca6;_0x19fb44+=0x4)_0x2fe1bd[_0x39d7e6+_0x19fb44>>>0x2]=_0x221ac8[_0x19fb44>>>0x2];}return this[_0x174166(0x1a5)]+=_0x761ca6,this;},'clamp':function(){var _0x3c27bf=_0x59bed8,_0x410039=this[_0x3c27bf(0x404)],_0x35e21d=this[_0x3c27bf(0x1a5)];_0x410039[_0x35e21d>>>0x2]&=0xffffffff<<0x20-_0x35e21d%0x4*0x8,_0x410039[_0x3c27bf(0x388)]=_0x2bd23e[_0x3c27bf(0x38d)](_0x35e21d/0x4);},'clone':function(){var _0x267267=_0x59bed8,_0x1eaf48=_0xad277d['clone']['call'](this);return _0x1eaf48['words']=this[_0x267267(0x404)]['slice'](0x0),_0x1eaf48;},'random':function(_0x2a45d3){var _0x357df2=_0x59bed8;for(var _0x4adfa0=[],_0x446f88=0x0;_0x446f88<_0x2a45d3;_0x446f88+=0x4)_0x4adfa0[_0x357df2(0x33f)](_0x11ca86());return new _0x3311a1[(_0x357df2(0x27e))](_0x4adfa0,_0x2a45d3);}}),_0x833695=_0x4cc220['enc']={},_0x1de5f8=_0x833695[_0x59bed8(0x1a9)]={'stringify':function(_0x53adda){var _0x398930=_0x59bed8;for(var _0x570f9e=_0x53adda[_0x398930(0x404)],_0x4b1c91=_0x53adda[_0x398930(0x1a5)],_0x50f24f=[],_0x2666d2=0x0;_0x2666d2<_0x4b1c91;_0x2666d2++){var _0x2e3816=_0x570f9e[_0x2666d2>>>0x2]>>>0x18-_0x2666d2%0x4*0x8&0xff;_0x50f24f[_0x398930(0x33f)]((_0x2e3816>>>0x4)['toString'](0x10)),_0x50f24f['push']((_0x2e3816&0xf)[_0x398930(0x42b)](0x10));}return _0x50f24f[_0x398930(0x391)]('');},'parse':function(_0x33d6fd){var _0x157bcb=_0x59bed8;for(var _0x23f7ff=_0x33d6fd[_0x157bcb(0x388)],_0x4ef5bf=[],_0x5beb70=0x0;_0x5beb70<_0x23f7ff;_0x5beb70+=0x2)_0x4ef5bf[_0x5beb70>>>0x3]|=parseInt(_0x33d6fd[_0x157bcb(0x355)](_0x5beb70,0x2),0x10)<<0x18-_0x5beb70%0x8*0x4;return new _0x3311a1[(_0x157bcb(0x27e))](_0x4ef5bf,_0x23f7ff/0x2);}},_0x5b9fcb=_0x833695['Latin1']={'stringify':function(_0x46b677){var _0x4da14f=_0x59bed8;for(var _0xf00380=_0x46b677[_0x4da14f(0x404)],_0x329f41=_0x46b677[_0x4da14f(0x1a5)],_0x15e2c9=[],_0x205bd1=0x0;_0x205bd1<_0x329f41;_0x205bd1++){var _0x4bdafe=_0xf00380[_0x205bd1>>>0x2]>>>0x18-_0x205bd1%0x4*0x8&0xff;_0x15e2c9[_0x4da14f(0x33f)](String[_0x4da14f(0x3c7)](_0x4bdafe));}return _0x15e2c9[_0x4da14f(0x391)]('');},'parse':function(_0x161f41){var _0x266136=_0x59bed8;for(var _0x10b77c=_0x161f41['length'],_0x22c8a9=[],_0x25a081=0x0;_0x25a081<_0x10b77c;_0x25a081++)_0x22c8a9[_0x25a081>>>0x2]|=(_0x161f41[_0x266136(0x323)](_0x25a081)&0xff)<<0x18-_0x25a081%0x4*0x8;return new _0x3311a1[(_0x266136(0x27e))](_0x22c8a9,_0x10b77c);}},_0x366fea=_0x833695['Utf8']={'stringify':function(_0x38d488){var _0x1bafcd=_0x59bed8;try{return decodeURIComponent(escape(_0x5b9fcb[_0x1bafcd(0x288)](_0x38d488)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x24000d){var _0x351486=_0x59bed8;return _0x5b9fcb[_0x351486(0x493)](unescape(encodeURIComponent(_0x24000d)));}},_0x10ce08=_0x4d43f3[_0x59bed8(0x1ab)]=_0xad277d['extend']({'reset':function(){var _0x5c0f53=_0x59bed8;this['_data']=new _0x3311a1[(_0x5c0f53(0x27e))](),this['_nDataBytes']=0x0;},'_append':function(_0x2f6b7a){var _0x5ea644=_0x59bed8;typeof _0x2f6b7a==_0x5ea644(0x2d0)&&(_0x2f6b7a=_0x366fea['parse'](_0x2f6b7a)),this[_0x5ea644(0x44f)][_0x5ea644(0x30e)](_0x2f6b7a),this[_0x5ea644(0x462)]+=_0x2f6b7a[_0x5ea644(0x1a5)];},'_process':function(_0x221c1d){var _0x123fca=_0x59bed8,_0x2482ab,_0x35e76f=this[_0x123fca(0x44f)],_0x321610=_0x35e76f['words'],_0x5d2151=_0x35e76f[_0x123fca(0x1a5)],_0x147a1e=this[_0x123fca(0x2dd)],_0x383388=_0x147a1e*0x4,_0x21c324=_0x5d2151/_0x383388;_0x221c1d?_0x21c324=_0x2bd23e[_0x123fca(0x38d)](_0x21c324):_0x21c324=_0x2bd23e[_0x123fca(0x37f)]((_0x21c324|0x0)-this[_0x123fca(0x1d9)],0x0);var _0x3cbce0=_0x21c324*_0x147a1e,_0x3c1951=_0x2bd23e['min'](_0x3cbce0*0x4,_0x5d2151);if(_0x3cbce0){for(var _0x38c7bf=0x0;_0x38c7bf<_0x3cbce0;_0x38c7bf+=_0x147a1e)this[_0x123fca(0x384)](_0x321610,_0x38c7bf);_0x2482ab=_0x321610[_0x123fca(0x204)](0x0,_0x3cbce0),_0x35e76f['sigBytes']-=_0x3c1951;}return new _0x3311a1[(_0x123fca(0x27e))](_0x2482ab,_0x3c1951);},'clone':function(){var _0x5f4062=_0x59bed8,_0x504c38=_0xad277d[_0x5f4062(0x31f)][_0x5f4062(0x350)](this);return _0x504c38[_0x5f4062(0x44f)]=this[_0x5f4062(0x44f)]['clone'](),_0x504c38;},'_minBufferSize':0x0});_0x4d43f3[_0x59bed8(0x44b)]=_0x10ce08['extend']({'cfg':_0xad277d[_0x59bed8(0x382)](),'init':function(_0x26d8ab){var _0xc1dd86=_0x59bed8;this['cfg']=this[_0xc1dd86(0x20a)][_0xc1dd86(0x382)](_0x26d8ab),this[_0xc1dd86(0x354)]();},'reset':function(){var _0x222928=_0x59bed8;_0x10ce08[_0x222928(0x354)][_0x222928(0x350)](this),this[_0x222928(0x43e)]();},'update':function(_0x183ce6){var _0x4d70de=_0x59bed8;return this['_append'](_0x183ce6),this[_0x4d70de(0x46f)](),this;},'finalize':function(_0x3229e1){var _0x616d88=_0x59bed8;_0x3229e1&&this[_0x616d88(0x3af)](_0x3229e1);var _0x467a70=this[_0x616d88(0x3cf)]();return _0x467a70;},'blockSize':0x10,'_createHelper':function(_0x1b4946){return function(_0x6846d9,_0x39b1ee){var _0x14b837=_0x3549;return new _0x1b4946[(_0x14b837(0x27e))](_0x39b1ee)[_0x14b837(0x467)](_0x6846d9);};},'_createHmacHelper':function(_0x343d54){return function(_0x4e6ad8,_0x23687e){var _0x3d5475=_0x3549;return new _0x695ba0['HMAC'][(_0x3d5475(0x27e))](_0x343d54,_0x23687e)[_0x3d5475(0x467)](_0x4e6ad8);};}});var _0x695ba0=_0x4cc220['algo']={};return _0x4cc220;}(Math);return _0x193e20;}));}(Ie)),Ie[_0x3865c4(0x3bf)];}var pe={'exports':{}},Ci=pe[_0x1640f8(0x3bf)],ze;function Et(){var _0x100b3e=_0x1640f8;return ze||(ze=0x1,function(_0x48a2d5,_0x1e0ca2){(function(_0x3dcc80,_0x28cab3){var _0x3f1c08=_0x3549;_0x48a2d5[_0x3f1c08(0x3bf)]=_0x28cab3(Q());}(Ci,function(_0x5f42c6){var _0x4a7557=_0x3549;return(function(){var _0x5d89b4=_0x3549,_0x5e329c=_0x5f42c6,_0x255af3=_0x5e329c[_0x5d89b4(0x2f7)],_0x4c07da=_0x255af3[_0x5d89b4(0x143)],_0x4c24d4=_0x5e329c['enc'];_0x4c24d4[_0x5d89b4(0x142)]={'stringify':function(_0x21ef43){var _0x98f097=_0x5d89b4,_0x352abd=_0x21ef43[_0x98f097(0x404)],_0x5b78cb=_0x21ef43[_0x98f097(0x1a5)],_0x309cef=this['_map'];_0x21ef43[_0x98f097(0x3e6)]();for(var _0x3d4de5=[],_0x3305be=0x0;_0x3305be<_0x5b78cb;_0x3305be+=0x3)for(var _0x4b6027=_0x352abd[_0x3305be>>>0x2]>>>0x18-_0x3305be%0x4*0x8&0xff,_0x4782ae=_0x352abd[_0x3305be+0x1>>>0x2]>>>0x18-(_0x3305be+0x1)%0x4*0x8&0xff,_0x5cb18b=_0x352abd[_0x3305be+0x2>>>0x2]>>>0x18-(_0x3305be+0x2)%0x4*0x8&0xff,_0x42c8d5=_0x4b6027<<0x10|_0x4782ae<<0x8|_0x5cb18b,_0x4d8641=0x0;_0x4d8641<0x4&&_0x3305be+_0x4d8641*0.75<_0x5b78cb;_0x4d8641++)_0x3d4de5['push'](_0x309cef[_0x98f097(0x448)](_0x42c8d5>>>0x6*(0x3-_0x4d8641)&0x3f));var _0xf90cde=_0x309cef[_0x98f097(0x448)](0x40);if(_0xf90cde){for(;_0x3d4de5[_0x98f097(0x388)]%0x4;)_0x3d4de5[_0x98f097(0x33f)](_0xf90cde);}return _0x3d4de5[_0x98f097(0x391)]('');},'parse':function(_0x56742f){var _0x192976=_0x5d89b4,_0x269b55=_0x56742f['length'],_0x53c488=this[_0x192976(0x196)],_0x566e2e=this[_0x192976(0x2ae)];if(!_0x566e2e){_0x566e2e=this[_0x192976(0x2ae)]=[];for(var _0x300b50=0x0;_0x300b50<_0x53c488[_0x192976(0x388)];_0x300b50++)_0x566e2e[_0x53c488[_0x192976(0x323)](_0x300b50)]=_0x300b50;}var _0x539c9d=_0x53c488[_0x192976(0x448)](0x40);if(_0x539c9d){var _0x1266bf=_0x56742f['indexOf'](_0x539c9d);_0x1266bf!==-0x1&&(_0x269b55=_0x1266bf);}return _0x57b3ef(_0x56742f,_0x269b55,_0x566e2e);},'_map':_0x5d89b4(0x429)};function _0x57b3ef(_0x5d410f,_0x3e7c55,_0x384ffb){var _0x28ec42=_0x5d89b4;for(var _0x4bf6e3=[],_0x419f32=0x0,_0x6e75fc=0x0;_0x6e75fc<_0x3e7c55;_0x6e75fc++)if(_0x6e75fc%0x4){var _0x1606b0=_0x384ffb[_0x5d410f['charCodeAt'](_0x6e75fc-0x1)]<<_0x6e75fc%0x4*0x2,_0x45cb33=_0x384ffb[_0x5d410f[_0x28ec42(0x323)](_0x6e75fc)]>>>0x6-_0x6e75fc%0x4*0x2,_0x319631=_0x1606b0|_0x45cb33;_0x4bf6e3[_0x419f32>>>0x2]|=_0x319631<<0x18-_0x419f32%0x4*0x8,_0x419f32++;}return _0x4c07da[_0x28ec42(0x3cb)](_0x4bf6e3,_0x419f32);}}()),_0x5f42c6[_0x4a7557(0x2cd)][_0x4a7557(0x142)];}));}(pe)),pe[_0x100b3e(0x3bf)];}var me={'exports':{}},Ti=me[_0x1640f8(0x3bf)],Je;function bi(){var _0x59aab0=_0x1640f8;return Je||(Je=0x1,function(_0x3b793c,_0x15134d){(function(_0x308345,_0x123a8b){var _0x56451a=_0x3549;_0x3b793c[_0x56451a(0x3bf)]=_0x123a8b(Q());}(Ti,function(_0xa4a4b0){var _0x128e23=_0x3549;return function(_0x2e8957){var _0x44d056=_0x3549,_0x588e07=_0xa4a4b0,_0x54ba2b=_0x588e07[_0x44d056(0x2f7)],_0x652b74=_0x54ba2b[_0x44d056(0x143)],_0x11bc33=_0x54ba2b['Hasher'],_0x5890b2=_0x588e07[_0x44d056(0x475)],_0x42a335=[];(function(){var _0x4a2379=_0x44d056;for(var _0x19fef5=0x0;_0x19fef5<0x40;_0x19fef5++)_0x42a335[_0x19fef5]=_0x2e8957[_0x4a2379(0x189)](_0x2e8957['sin'](_0x19fef5+0x1))*0x100000000|0x0;}());var _0x55c7ff=_0x5890b2[_0x44d056(0x318)]=_0x11bc33[_0x44d056(0x382)]({'_doReset':function(){var _0x3fa228=_0x44d056;this[_0x3fa228(0x340)]=new _0x652b74[(_0x3fa228(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x248ff8,_0x32fcfa){var _0x212071=_0x44d056;for(var _0x14f953=0x0;_0x14f953<0x10;_0x14f953++){var _0x303a26=_0x32fcfa+_0x14f953,_0x4965b9=_0x248ff8[_0x303a26];_0x248ff8[_0x303a26]=(_0x4965b9<<0x8|_0x4965b9>>>0x18)&0xff00ff|(_0x4965b9<<0x18|_0x4965b9>>>0x8)&0xff00ff00;}var _0x217e2b=this[_0x212071(0x340)]['words'],_0x3e6796=_0x248ff8[_0x32fcfa+0x0],_0x42e582=_0x248ff8[_0x32fcfa+0x1],_0x2a9f09=_0x248ff8[_0x32fcfa+0x2],_0x3b7d25=_0x248ff8[_0x32fcfa+0x3],_0x381297=_0x248ff8[_0x32fcfa+0x4],_0xe2d345=_0x248ff8[_0x32fcfa+0x5],_0x1bb298=_0x248ff8[_0x32fcfa+0x6],_0x38fc49=_0x248ff8[_0x32fcfa+0x7],_0x112430=_0x248ff8[_0x32fcfa+0x8],_0x4cc2d1=_0x248ff8[_0x32fcfa+0x9],_0x7c7caa=_0x248ff8[_0x32fcfa+0xa],_0x47dd0a=_0x248ff8[_0x32fcfa+0xb],_0x4ad436=_0x248ff8[_0x32fcfa+0xc],_0x5b1379=_0x248ff8[_0x32fcfa+0xd],_0x4a6e18=_0x248ff8[_0x32fcfa+0xe],_0x17c286=_0x248ff8[_0x32fcfa+0xf],_0x59b6de=_0x217e2b[0x0],_0x4d0612=_0x217e2b[0x1],_0x26b9a7=_0x217e2b[0x2],_0x2f0c1d=_0x217e2b[0x3];_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x7,_0x42a335[0x0]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x42e582,0xc,_0x42a335[0x1]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0x11,_0x42a335[0x2]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3b7d25,0x16,_0x42a335[0x3]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x7,_0x42a335[0x4]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0xe2d345,0xc,_0x42a335[0x5]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0x11,_0x42a335[0x6]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x38fc49,0x16,_0x42a335[0x7]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x7,_0x42a335[0x8]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4cc2d1,0xc,_0x42a335[0x9]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0x11,_0x42a335[0xa]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x47dd0a,0x16,_0x42a335[0xb]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x7,_0x42a335[0xc]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x5b1379,0xc,_0x42a335[0xd]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0x11,_0x42a335[0xe]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x17c286,0x16,_0x42a335[0xf]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x5,_0x42a335[0x10]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x1bb298,0x9,_0x42a335[0x11]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0xe,_0x42a335[0x12]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3e6796,0x14,_0x42a335[0x13]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x5,_0x42a335[0x14]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x7c7caa,0x9,_0x42a335[0x15]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0xe,_0x42a335[0x16]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x381297,0x14,_0x42a335[0x17]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x5,_0x42a335[0x18]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4a6e18,0x9,_0x42a335[0x19]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0xe,_0x42a335[0x1a]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x112430,0x14,_0x42a335[0x1b]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x5,_0x42a335[0x1c]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x2a9f09,0x9,_0x42a335[0x1d]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0xe,_0x42a335[0x1e]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4ad436,0x14,_0x42a335[0x1f]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x4,_0x42a335[0x20]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x112430,0xb,_0x42a335[0x21]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0x10,_0x42a335[0x22]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4a6e18,0x17,_0x42a335[0x23]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x4,_0x42a335[0x24]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x381297,0xb,_0x42a335[0x25]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0x10,_0x42a335[0x26]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x7c7caa,0x17,_0x42a335[0x27]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x4,_0x42a335[0x28]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3e6796,0xb,_0x42a335[0x29]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0x10,_0x42a335[0x2a]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x1bb298,0x17,_0x42a335[0x2b]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x4,_0x42a335[0x2c]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4ad436,0xb,_0x42a335[0x2d]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0x10,_0x42a335[0x2e]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x2a9f09,0x17,_0x42a335[0x2f]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x6,_0x42a335[0x30]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x38fc49,0xa,_0x42a335[0x31]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0xf,_0x42a335[0x32]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0xe2d345,0x15,_0x42a335[0x33]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x6,_0x42a335[0x34]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3b7d25,0xa,_0x42a335[0x35]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0xf,_0x42a335[0x36]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x42e582,0x15,_0x42a335[0x37]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x6,_0x42a335[0x38]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x17c286,0xa,_0x42a335[0x39]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0xf,_0x42a335[0x3a]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x5b1379,0x15,_0x42a335[0x3b]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x6,_0x42a335[0x3c]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x47dd0a,0xa,_0x42a335[0x3d]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0xf,_0x42a335[0x3e]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4cc2d1,0x15,_0x42a335[0x3f]),_0x217e2b[0x0]=_0x217e2b[0x0]+_0x59b6de|0x0,_0x217e2b[0x1]=_0x217e2b[0x1]+_0x4d0612|0x0,_0x217e2b[0x2]=_0x217e2b[0x2]+_0x26b9a7|0x0,_0x217e2b[0x3]=_0x217e2b[0x3]+_0x2f0c1d|0x0;},'_doFinalize':function(){var _0xf82d2d=_0x44d056,_0x281970=this['_data'],_0x5345d1=_0x281970[_0xf82d2d(0x404)],_0x480954=this[_0xf82d2d(0x462)]*0x8,_0x3e748f=_0x281970[_0xf82d2d(0x1a5)]*0x8;_0x5345d1[_0x3e748f>>>0x5]|=0x80<<0x18-_0x3e748f%0x20;var _0x1b96d5=_0x2e8957[_0xf82d2d(0x3a2)](_0x480954/0x100000000),_0x3de54f=_0x480954;_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xf]=(_0x1b96d5<<0x8|_0x1b96d5>>>0x18)&0xff00ff|(_0x1b96d5<<0x18|_0x1b96d5>>>0x8)&0xff00ff00,_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xe]=(_0x3de54f<<0x8|_0x3de54f>>>0x18)&0xff00ff|(_0x3de54f<<0x18|_0x3de54f>>>0x8)&0xff00ff00,_0x281970[_0xf82d2d(0x1a5)]=(_0x5345d1[_0xf82d2d(0x388)]+0x1)*0x4,this['_process']();for(var _0xb8380d=this['_hash'],_0x4cf7eb=_0xb8380d[_0xf82d2d(0x404)],_0x528478=0x0;_0x528478<0x4;_0x528478++){var _0x51e66a=_0x4cf7eb[_0x528478];_0x4cf7eb[_0x528478]=(_0x51e66a<<0x8|_0x51e66a>>>0x18)&0xff00ff|(_0x51e66a<<0x18|_0x51e66a>>>0x8)&0xff00ff00;}return _0xb8380d;},'clone':function(){var _0x5d0b59=_0x44d056,_0x1cd292=_0x11bc33['clone'][_0x5d0b59(0x350)](this);return _0x1cd292[_0x5d0b59(0x340)]=this[_0x5d0b59(0x340)][_0x5d0b59(0x31f)](),_0x1cd292;}});function _0x5006a8(_0x59f36b,_0x1e571b,_0x4bca11,_0x315681,_0x229250,_0x846f70,_0x5a2a06){var _0xf43f2d=_0x59f36b+(_0x1e571b&_0x4bca11|~_0x1e571b&_0x315681)+_0x229250+_0x5a2a06;return(_0xf43f2d<<_0x846f70|_0xf43f2d>>>0x20-_0x846f70)+_0x1e571b;}function _0x1fabc9(_0x280404,_0x500677,_0x23ec46,_0x3fee06,_0x164395,_0x256307,_0x9bc589){var _0x54ced5=_0x280404+(_0x500677&_0x3fee06|_0x23ec46&~_0x3fee06)+_0x164395+_0x9bc589;return(_0x54ced5<<_0x256307|_0x54ced5>>>0x20-_0x256307)+_0x500677;}function _0x1dd97e(_0xad5d84,_0x55755f,_0x14ea18,_0x34686e,_0x507018,_0x298a54,_0x28cd6f){var _0x39ab61=_0xad5d84+(_0x55755f^_0x14ea18^_0x34686e)+_0x507018+_0x28cd6f;return(_0x39ab61<<_0x298a54|_0x39ab61>>>0x20-_0x298a54)+_0x55755f;}function _0x52e56a(_0x60f5ab,_0x2d3d9a,_0x2fb90a,_0x189eba,_0x2d69db,_0x547cb2,_0x2574ac){var _0x2a9402=_0x60f5ab+(_0x2fb90a^(_0x2d3d9a|~_0x189eba))+_0x2d69db+_0x2574ac;return(_0x2a9402<<_0x547cb2|_0x2a9402>>>0x20-_0x547cb2)+_0x2d3d9a;}_0x588e07['MD5']=_0x11bc33[_0x44d056(0x20b)](_0x55c7ff),_0x588e07[_0x44d056(0x1d1)]=_0x11bc33[_0x44d056(0x469)](_0x55c7ff);}(Math),_0xa4a4b0[_0x128e23(0x318)];}));}(me)),me[_0x59aab0(0x3bf)];}function _0x3549(_0x36e88a,_0x366d0c){var _0x459c3f=_0x459c();return _0x3549=function(_0x3549df,_0x3e1dfe){_0x3549df=_0x3549df-0x133;var _0x5e50a3=_0x459c3f[_0x3549df];return _0x5e50a3;},_0x3549(_0x36e88a,_0x366d0c);}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x1640f8(0x3bf)],Xe;function Ri(){var _0x20ad50=_0x1640f8;return Xe||(Xe=0x1,function(_0x3165a7,_0x3d8755){(function(_0x1c7299,_0x13d400){var _0x38074b=_0x3549;_0x3165a7[_0x38074b(0x3bf)]=_0x13d400(Q());}(Oi,function(_0x653283){var _0xf52b7=_0x3549;return(function(){var _0x5351cc=_0x3549,_0x3b4199=_0x653283,_0xe1c5d7=_0x3b4199[_0x5351cc(0x2f7)],_0x3d71f1=_0xe1c5d7[_0x5351cc(0x143)],_0x5d71b6=_0xe1c5d7['Hasher'],_0x364e7f=_0x3b4199[_0x5351cc(0x475)],_0x3fd3f8=[],_0x28d67b=_0x364e7f[_0x5351cc(0x348)]=_0x5d71b6[_0x5351cc(0x382)]({'_doReset':function(){var _0x4b0c8d=_0x5351cc;this[_0x4b0c8d(0x340)]=new _0x3d71f1[(_0x4b0c8d(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf3c64e,_0xa2384a){var _0x1b0ae1=_0x5351cc;for(var _0x48cda0=this['_hash'][_0x1b0ae1(0x404)],_0xad30b6=_0x48cda0[0x0],_0x212455=_0x48cda0[0x1],_0x295f0b=_0x48cda0[0x2],_0x1b8f92=_0x48cda0[0x3],_0x31a7df=_0x48cda0[0x4],_0x67a5c9=0x0;_0x67a5c9<0x50;_0x67a5c9++){if(_0x67a5c9<0x10)_0x3fd3f8[_0x67a5c9]=_0xf3c64e[_0xa2384a+_0x67a5c9]|0x0;else{var _0x3d5d4f=_0x3fd3f8[_0x67a5c9-0x3]^_0x3fd3f8[_0x67a5c9-0x8]^_0x3fd3f8[_0x67a5c9-0xe]^_0x3fd3f8[_0x67a5c9-0x10];_0x3fd3f8[_0x67a5c9]=_0x3d5d4f<<0x1|_0x3d5d4f>>>0x1f;}var _0x185bba=(_0xad30b6<<0x5|_0xad30b6>>>0x1b)+_0x31a7df+_0x3fd3f8[_0x67a5c9];_0x67a5c9<0x14?_0x185bba+=(_0x212455&_0x295f0b|~_0x212455&_0x1b8f92)+0x5a827999:_0x67a5c9<0x28?_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)+0x6ed9eba1:_0x67a5c9<0x3c?_0x185bba+=(_0x212455&_0x295f0b|_0x212455&_0x1b8f92|_0x295f0b&_0x1b8f92)-0x70e44324:_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)-0x359d3e2a,_0x31a7df=_0x1b8f92,_0x1b8f92=_0x295f0b,_0x295f0b=_0x212455<<0x1e|_0x212455>>>0x2,_0x212455=_0xad30b6,_0xad30b6=_0x185bba;}_0x48cda0[0x0]=_0x48cda0[0x0]+_0xad30b6|0x0,_0x48cda0[0x1]=_0x48cda0[0x1]+_0x212455|0x0,_0x48cda0[0x2]=_0x48cda0[0x2]+_0x295f0b|0x0,_0x48cda0[0x3]=_0x48cda0[0x3]+_0x1b8f92|0x0,_0x48cda0[0x4]=_0x48cda0[0x4]+_0x31a7df|0x0;},'_doFinalize':function(){var _0x50513d=_0x5351cc,_0x138697=this['_data'],_0x4f3e30=_0x138697[_0x50513d(0x404)],_0x364cd7=this[_0x50513d(0x462)]*0x8,_0x229a3f=_0x138697['sigBytes']*0x8;return _0x4f3e30[_0x229a3f>>>0x5]|=0x80<<0x18-_0x229a3f%0x20,_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xe]=Math[_0x50513d(0x3a2)](_0x364cd7/0x100000000),_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xf]=_0x364cd7,_0x138697[_0x50513d(0x1a5)]=_0x4f3e30[_0x50513d(0x388)]*0x4,this[_0x50513d(0x46f)](),this[_0x50513d(0x340)];},'clone':function(){var _0x3f46bd=_0x5351cc,_0x4022f2=_0x5d71b6['clone'][_0x3f46bd(0x350)](this);return _0x4022f2[_0x3f46bd(0x340)]=this['_hash'][_0x3f46bd(0x31f)](),_0x4022f2;}});_0x3b4199[_0x5351cc(0x348)]=_0x5d71b6['_createHelper'](_0x28d67b),_0x3b4199[_0x5351cc(0x37c)]=_0x5d71b6[_0x5351cc(0x469)](_0x28d67b);}()),_0x653283[_0xf52b7(0x348)];}));}(Ee)),Ee[_0x20ad50(0x3bf)];}var Ce={'exports':{}},yi=Ce[_0x1640f8(0x3bf)],Ze;function Ni(){var _0x50335d=_0x1640f8;return Ze||(Ze=0x1,function(_0x44af9a,_0x4d7fed){(function(_0x4ade51,_0x58132a){var _0x2178f6=_0x3549;_0x44af9a[_0x2178f6(0x3bf)]=_0x58132a(Q());}(yi,function(_0x435c6f){(function(){var _0x2f7f00=_0x3549,_0x261bad=_0x435c6f,_0x38264c=_0x261bad[_0x2f7f00(0x2f7)],_0x1f9a7d=_0x38264c['Base'],_0x1b7f9b=_0x261bad[_0x2f7f00(0x2cd)],_0x21f14f=_0x1b7f9b['Utf8'],_0x2cd923=_0x261bad[_0x2f7f00(0x475)];_0x2cd923['HMAC']=_0x1f9a7d['extend']({'init':function(_0x4edf49,_0x3be49a){var _0x526421=_0x2f7f00;_0x4edf49=this[_0x526421(0x366)]=new _0x4edf49[(_0x526421(0x27e))](),typeof _0x3be49a==_0x526421(0x2d0)&&(_0x3be49a=_0x21f14f[_0x526421(0x493)](_0x3be49a));var _0x903f64=_0x4edf49[_0x526421(0x2dd)],_0x38e32a=_0x903f64*0x4;_0x3be49a[_0x526421(0x1a5)]>_0x38e32a&&(_0x3be49a=_0x4edf49['finalize'](_0x3be49a)),_0x3be49a[_0x526421(0x3e6)]();for(var _0x51b947=this[_0x526421(0x194)]=_0x3be49a['clone'](),_0x49dc09=this[_0x526421(0x1ca)]=_0x3be49a[_0x526421(0x31f)](),_0x2dd3a4=_0x51b947['words'],_0x397ffd=_0x49dc09[_0x526421(0x404)],_0x54cd13=0x0;_0x54cd13<_0x903f64;_0x54cd13++)_0x2dd3a4[_0x54cd13]^=0x5c5c5c5c,_0x397ffd[_0x54cd13]^=0x36363636;_0x51b947[_0x526421(0x1a5)]=_0x49dc09[_0x526421(0x1a5)]=_0x38e32a,this[_0x526421(0x354)]();},'reset':function(){var _0x46be55=_0x2f7f00,_0x507cab=this[_0x46be55(0x366)];_0x507cab[_0x46be55(0x354)](),_0x507cab['update'](this[_0x46be55(0x1ca)]);},'update':function(_0x2c73f3){var _0x2b5349=_0x2f7f00;return this[_0x2b5349(0x366)]['update'](_0x2c73f3),this;},'finalize':function(_0x2fb89a){var _0x2cd1ad=_0x2f7f00,_0x4d2ec5=this['_hasher'],_0x57f051=_0x4d2ec5[_0x2cd1ad(0x467)](_0x2fb89a);_0x4d2ec5['reset']();var _0x4cd115=_0x4d2ec5[_0x2cd1ad(0x467)](this[_0x2cd1ad(0x194)][_0x2cd1ad(0x31f)]()[_0x2cd1ad(0x30e)](_0x57f051));return _0x4cd115;}});}());}));}(Ce)),Ce[_0x50335d(0x3bf)];}var Di=ge[_0x1640f8(0x3bf)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x523dfd,_0xf33801){(function(_0x3d82e2,_0x425c2b,_0x55311a){var _0x26e2f4=_0x3549;_0x523dfd[_0x26e2f4(0x3bf)]=_0x425c2b(Q(),Ri(),Ni());}(Di,function(_0x766521){var _0x3c1972=_0x3549;return(function(){var _0x1f2c72=_0x3549,_0x50c1e3=_0x766521,_0x422933=_0x50c1e3[_0x1f2c72(0x2f7)],_0x4db674=_0x422933[_0x1f2c72(0x29c)],_0x3f1c5e=_0x422933[_0x1f2c72(0x143)],_0x1f285b=_0x50c1e3[_0x1f2c72(0x475)],_0x2e5d37=_0x1f285b[_0x1f2c72(0x318)],_0x4f3c89=_0x1f285b[_0x1f2c72(0x16d)]=_0x4db674[_0x1f2c72(0x382)]({'cfg':_0x4db674[_0x1f2c72(0x382)]({'keySize':0x80/0x20,'hasher':_0x2e5d37,'iterations':0x1}),'init':function(_0xa602ce){var _0x14a6c6=_0x1f2c72;this['cfg']=this[_0x14a6c6(0x20a)][_0x14a6c6(0x382)](_0xa602ce);},'compute':function(_0x16bbeb,_0x3d8c6e){var _0x95dfd=_0x1f2c72;for(var _0x40baa5,_0x5653ce=this[_0x95dfd(0x20a)],_0x1ec0e1=_0x5653ce[_0x95dfd(0x32b)][_0x95dfd(0x3cb)](),_0x59e965=_0x3f1c5e[_0x95dfd(0x3cb)](),_0x1a278e=_0x59e965['words'],_0xa6ebc4=_0x5653ce[_0x95dfd(0x205)],_0x1debed=_0x5653ce[_0x95dfd(0x197)];_0x1a278e[_0x95dfd(0x388)]<_0xa6ebc4;){_0x40baa5&&_0x1ec0e1['update'](_0x40baa5),_0x40baa5=_0x1ec0e1['update'](_0x16bbeb)[_0x95dfd(0x467)](_0x3d8c6e),_0x1ec0e1[_0x95dfd(0x354)]();for(var _0x5cd519=0x1;_0x5cd519<_0x1debed;_0x5cd519++)_0x40baa5=_0x1ec0e1[_0x95dfd(0x467)](_0x40baa5),_0x1ec0e1['reset']();_0x59e965[_0x95dfd(0x30e)](_0x40baa5);}return _0x59e965[_0x95dfd(0x1a5)]=_0xa6ebc4*0x4,_0x59e965;}});_0x50c1e3[_0x1f2c72(0x16d)]=function(_0x20da9d,_0x32dbf8,_0x1af606){var _0x1ae476=_0x1f2c72;return _0x4f3c89[_0x1ae476(0x3cb)](_0x1af606)['compute'](_0x20da9d,_0x32dbf8);};}()),_0x766521[_0x3c1972(0x16d)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){return et||(et=0x1,function(_0x31a5ca,_0x38ad76){(function(_0x3a53eb,_0x437ec9,_0x2c3975){var _0x1eec27=_0x3549;_0x31a5ca[_0x1eec27(0x3bf)]=_0x437ec9(Q(),Ct());}(Ui,function(_0xa57351){var _0xfa278f=_0x3549;_0xa57351[_0xfa278f(0x2f7)]['Cipher']||function(_0x51ae09){var _0x3e29e7=_0xfa278f,_0x1c148b=_0xa57351,_0x19af61=_0x1c148b[_0x3e29e7(0x2f7)],_0x498c7b=_0x19af61['Base'],_0x5cfa59=_0x19af61[_0x3e29e7(0x143)],_0x520cf7=_0x19af61['BufferedBlockAlgorithm'],_0x35311a=_0x1c148b[_0x3e29e7(0x2cd)];_0x35311a[_0x3e29e7(0x35d)];var _0x286b52=_0x35311a['Base64'],_0x1aea73=_0x1c148b[_0x3e29e7(0x475)],_0x205631=_0x1aea73['EvpKDF'],_0x1aa858=_0x19af61[_0x3e29e7(0x33e)]=_0x520cf7[_0x3e29e7(0x382)]({'cfg':_0x498c7b[_0x3e29e7(0x382)](),'createEncryptor':function(_0x229faa,_0x516bf4){var _0x25453b=_0x3e29e7;return this[_0x25453b(0x3cb)](this[_0x25453b(0x3a1)],_0x229faa,_0x516bf4);},'createDecryptor':function(_0x28acb2,_0x377f95){var _0xa26441=_0x3e29e7;return this[_0xa26441(0x3cb)](this[_0xa26441(0x215)],_0x28acb2,_0x377f95);},'init':function(_0x5472d3,_0x21a903,_0x44b862){var _0x51c13c=_0x3e29e7;this['cfg']=this[_0x51c13c(0x20a)][_0x51c13c(0x382)](_0x44b862),this[_0x51c13c(0x426)]=_0x5472d3,this[_0x51c13c(0x3b5)]=_0x21a903,this[_0x51c13c(0x354)]();},'reset':function(){var _0x4c00da=_0x3e29e7;_0x520cf7[_0x4c00da(0x354)][_0x4c00da(0x350)](this),this[_0x4c00da(0x43e)]();},'process':function(_0x6b69c8){var _0x14e766=_0x3e29e7;return this['_append'](_0x6b69c8),this[_0x14e766(0x46f)]();},'finalize':function(_0x1569e7){var _0xfae6e=_0x3e29e7;_0x1569e7&&this['_append'](_0x1569e7);var _0x327723=this[_0xfae6e(0x3cf)]();return _0x327723;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1105f(_0x1162f3){var _0x3a9b10=_0x3549;return typeof _0x1162f3==_0x3a9b10(0x2d0)?_0x266cef:_0x376369;}return function(_0x2478c8){return{'encrypt':function(_0x1f0e41,_0x3d617d,_0x4c883d){var _0x229fe0=_0x3549;return _0x1105f(_0x3d617d)[_0x229fe0(0x308)](_0x2478c8,_0x1f0e41,_0x3d617d,_0x4c883d);},'decrypt':function(_0xfa2ad8,_0xc2d3f6,_0x59e905){var _0x10ac9c=_0x3549;return _0x1105f(_0xc2d3f6)[_0x10ac9c(0x32f)](_0x2478c8,_0xfa2ad8,_0xc2d3f6,_0x59e905);}};};}())});_0x19af61['StreamCipher']=_0x1aa858[_0x3e29e7(0x382)]({'_doFinalize':function(){var _0x243f5f=_0x3e29e7,_0x52d026=this[_0x243f5f(0x46f)](!0x0);return _0x52d026;},'blockSize':0x1});var _0xd5e4af=_0x1c148b[_0x3e29e7(0x180)]={},_0x372e71=_0x19af61[_0x3e29e7(0x1dc)]=_0x498c7b['extend']({'createEncryptor':function(_0x1d17e7,_0x226d51){return this['Encryptor']['create'](_0x1d17e7,_0x226d51);},'createDecryptor':function(_0x358d5d,_0x28c5ab){var _0x571a1c=_0x3e29e7;return this['Decryptor'][_0x571a1c(0x3cb)](_0x358d5d,_0x28c5ab);},'init':function(_0x543a31,_0x368b27){var _0x16ec57=_0x3e29e7;this[_0x16ec57(0x48e)]=_0x543a31,this[_0x16ec57(0x46d)]=_0x368b27;}}),_0x446040=_0xd5e4af['CBC']=(function(){var _0xaa85a9=_0x3e29e7,_0x3ca351=_0x372e71[_0xaa85a9(0x382)]();_0x3ca351['Encryptor']=_0x3ca351['extend']({'processBlock':function(_0x21a610,_0x16475c){var _0x485d35=_0xaa85a9,_0x2c3b5c=this[_0x485d35(0x48e)],_0xe928ef=_0x2c3b5c[_0x485d35(0x2dd)];_0x472bea[_0x485d35(0x350)](this,_0x21a610,_0x16475c,_0xe928ef),_0x2c3b5c[_0x485d35(0x24c)](_0x21a610,_0x16475c),this[_0x485d35(0x2f6)]=_0x21a610[_0x485d35(0x21e)](_0x16475c,_0x16475c+_0xe928ef);}}),_0x3ca351[_0xaa85a9(0x27c)]=_0x3ca351[_0xaa85a9(0x382)]({'processBlock':function(_0x1d0e9f,_0x1bd86c){var _0x102c72=_0xaa85a9,_0x4b9ff2=this[_0x102c72(0x48e)],_0x2d9444=_0x4b9ff2[_0x102c72(0x2dd)],_0x1f7d7c=_0x1d0e9f[_0x102c72(0x21e)](_0x1bd86c,_0x1bd86c+_0x2d9444);_0x4b9ff2[_0x102c72(0x228)](_0x1d0e9f,_0x1bd86c),_0x472bea[_0x102c72(0x350)](this,_0x1d0e9f,_0x1bd86c,_0x2d9444),this['_prevBlock']=_0x1f7d7c;}});function _0x472bea(_0x3ed4fc,_0x10b991,_0x199aa0){var _0x21bbb2=_0xaa85a9,_0x42afbc,_0x328663=this[_0x21bbb2(0x46d)];_0x328663?(_0x42afbc=_0x328663,this[_0x21bbb2(0x46d)]=_0x51ae09):_0x42afbc=this['_prevBlock'];for(var _0x5635a4=0x0;_0x5635a4<_0x199aa0;_0x5635a4++)_0x3ed4fc[_0x10b991+_0x5635a4]^=_0x42afbc[_0x5635a4];}return _0x3ca351;}()),_0x13bfcd=_0x1c148b[_0x3e29e7(0x39b)]={},_0x239b77=_0x13bfcd[_0x3e29e7(0x3e7)]={'pad':function(_0x240395,_0x3e6975){var _0x265260=_0x3e29e7;for(var _0x4c5ce2=_0x3e6975*0x4,_0x35f3dd=_0x4c5ce2-_0x240395[_0x265260(0x1a5)]%_0x4c5ce2,_0x43a429=_0x35f3dd<<0x18|_0x35f3dd<<0x10|_0x35f3dd<<0x8|_0x35f3dd,_0x1a6f56=[],_0xd1a1f=0x0;_0xd1a1f<_0x35f3dd;_0xd1a1f+=0x4)_0x1a6f56['push'](_0x43a429);var _0x3086cb=_0x5cfa59[_0x265260(0x3cb)](_0x1a6f56,_0x35f3dd);_0x240395[_0x265260(0x30e)](_0x3086cb);},'unpad':function(_0x5e3af7){var _0x562b99=_0x3e29e7,_0x4cca21=_0x5e3af7['words'][_0x5e3af7[_0x562b99(0x1a5)]-0x1>>>0x2]&0xff;_0x5e3af7[_0x562b99(0x1a5)]-=_0x4cca21;}};_0x19af61[_0x3e29e7(0x44e)]=_0x1aa858[_0x3e29e7(0x382)]({'cfg':_0x1aa858['cfg']['extend']({'mode':_0x446040,'padding':_0x239b77}),'reset':function(){var _0x4c3962=_0x3e29e7,_0x3ffd82;_0x1aa858[_0x4c3962(0x354)][_0x4c3962(0x350)](this);var _0x23853b=this[_0x4c3962(0x20a)],_0x4f707c=_0x23853b['iv'],_0x53780e=_0x23853b[_0x4c3962(0x180)];this[_0x4c3962(0x426)]==this['_ENC_XFORM_MODE']?_0x3ffd82=_0x53780e[_0x4c3962(0x161)]:(_0x3ffd82=_0x53780e[_0x4c3962(0x1e1)],this[_0x4c3962(0x1d9)]=0x1),this[_0x4c3962(0x23f)]&&this['_mode'][_0x4c3962(0x1a3)]==_0x3ffd82?this[_0x4c3962(0x23f)][_0x4c3962(0x27e)](this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]):(this[_0x4c3962(0x23f)]=_0x3ffd82[_0x4c3962(0x350)](_0x53780e,this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]),this['_mode'][_0x4c3962(0x1a3)]=_0x3ffd82);},'_doProcessBlock':function(_0x530cbb,_0x4125f0){this['_mode']['processBlock'](_0x530cbb,_0x4125f0);},'_doFinalize':function(){var _0x494bd8=_0x3e29e7,_0x31673c,_0xda88b=this[_0x494bd8(0x20a)]['padding'];return this['_xformMode']==this[_0x494bd8(0x3a1)]?(_0xda88b[_0x494bd8(0x39b)](this[_0x494bd8(0x44f)],this[_0x494bd8(0x2dd)]),_0x31673c=this[_0x494bd8(0x46f)](!0x0)):(_0x31673c=this[_0x494bd8(0x46f)](!0x0),_0xda88b['unpad'](_0x31673c)),_0x31673c;},'blockSize':0x80/0x20});var _0x2a9a69=_0x19af61[_0x3e29e7(0x362)]=_0x498c7b['extend']({'init':function(_0x1639f6){var _0x55920b=_0x3e29e7;this[_0x55920b(0x3b4)](_0x1639f6);},'toString':function(_0x33f32b){var _0x24450f=_0x3e29e7;return(_0x33f32b||this[_0x24450f(0x458)])['stringify'](this);}}),_0x23b0cd=_0x1c148b[_0x3e29e7(0x1cc)]={},_0x2b6695=_0x23b0cd[_0x3e29e7(0x38b)]={'stringify':function(_0x135f92){var _0x12aaa1=_0x3e29e7,_0x21607c,_0x82b8e6=_0x135f92['ciphertext'],_0x24ceb9=_0x135f92[_0x12aaa1(0x17f)];return _0x24ceb9?_0x21607c=_0x5cfa59[_0x12aaa1(0x3cb)]([0x53616c74,0x65645f5f])['concat'](_0x24ceb9)[_0x12aaa1(0x30e)](_0x82b8e6):_0x21607c=_0x82b8e6,_0x21607c[_0x12aaa1(0x42b)](_0x286b52);},'parse':function(_0x518707){var _0xc20c35=_0x3e29e7,_0x2d3a62,_0xff8ae0=_0x286b52[_0xc20c35(0x493)](_0x518707),_0xbb83b5=_0xff8ae0['words'];return _0xbb83b5[0x0]==0x53616c74&&_0xbb83b5[0x1]==0x65645f5f&&(_0x2d3a62=_0x5cfa59[_0xc20c35(0x3cb)](_0xbb83b5[_0xc20c35(0x21e)](0x2,0x4)),_0xbb83b5[_0xc20c35(0x204)](0x0,0x4),_0xff8ae0[_0xc20c35(0x1a5)]-=0x10),_0x2a9a69['create']({'ciphertext':_0xff8ae0,'salt':_0x2d3a62});}},_0x376369=_0x19af61['SerializableCipher']=_0x498c7b[_0x3e29e7(0x382)]({'cfg':_0x498c7b['extend']({'format':_0x2b6695}),'encrypt':function(_0xa1bb77,_0xb37b47,_0x23e38a,_0xec4f31){var _0x34a19d=_0x3e29e7;_0xec4f31=this['cfg'][_0x34a19d(0x382)](_0xec4f31);var _0xb0384f=_0xa1bb77['createEncryptor'](_0x23e38a,_0xec4f31),_0x1f5c59=_0xb0384f[_0x34a19d(0x467)](_0xb37b47),_0x53a98e=_0xb0384f[_0x34a19d(0x20a)];return _0x2a9a69['create']({'ciphertext':_0x1f5c59,'key':_0x23e38a,'iv':_0x53a98e['iv'],'algorithm':_0xa1bb77,'mode':_0x53a98e[_0x34a19d(0x180)],'padding':_0x53a98e['padding'],'blockSize':_0xa1bb77[_0x34a19d(0x2dd)],'formatter':_0xec4f31[_0x34a19d(0x1cc)]});},'decrypt':function(_0x33e624,_0x18f0ac,_0x40bd28,_0x5f27a0){var _0x469e28=_0x3e29e7;_0x5f27a0=this[_0x469e28(0x20a)][_0x469e28(0x382)](_0x5f27a0),_0x18f0ac=this[_0x469e28(0x1fa)](_0x18f0ac,_0x5f27a0['format']);var _0x3e618f=_0x33e624[_0x469e28(0x1e1)](_0x40bd28,_0x5f27a0)[_0x469e28(0x467)](_0x18f0ac[_0x469e28(0x393)]);return _0x3e618f;},'_parse':function(_0x3f246c,_0x57ed6f){return typeof _0x3f246c=='string'?_0x57ed6f['parse'](_0x3f246c,this):_0x3f246c;}}),_0x5ec97b=_0x1c148b[_0x3e29e7(0x2ba)]={},_0x589b5b=_0x5ec97b[_0x3e29e7(0x38b)]={'execute':function(_0x36a09f,_0x55ba95,_0x102dfa,_0x39ab2e,_0x17a69d){var _0x19db78=_0x3e29e7;if(_0x39ab2e||(_0x39ab2e=_0x5cfa59['random'](0x40/0x8)),_0x17a69d)var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa,'hasher':_0x17a69d})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);else var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);var _0x16e42=_0x5cfa59['create'](_0x1684ed[_0x19db78(0x404)][_0x19db78(0x21e)](_0x55ba95),_0x102dfa*0x4);return _0x1684ed['sigBytes']=_0x55ba95*0x4,_0x2a9a69[_0x19db78(0x3cb)]({'key':_0x1684ed,'iv':_0x16e42,'salt':_0x39ab2e});}},_0x266cef=_0x19af61[_0x3e29e7(0x489)]=_0x376369[_0x3e29e7(0x382)]({'cfg':_0x376369['cfg'][_0x3e29e7(0x382)]({'kdf':_0x589b5b}),'encrypt':function(_0x4d0301,_0x258bf8,_0x2f800f,_0x55752c){var _0x38bde0=_0x3e29e7;_0x55752c=this[_0x38bde0(0x20a)]['extend'](_0x55752c);var _0x108dc9=_0x55752c[_0x38bde0(0x2ba)][_0x38bde0(0x25d)](_0x2f800f,_0x4d0301[_0x38bde0(0x205)],_0x4d0301[_0x38bde0(0x135)],_0x55752c[_0x38bde0(0x17f)],_0x55752c['hasher']);_0x55752c['iv']=_0x108dc9['iv'];var _0x2c7919=_0x376369[_0x38bde0(0x308)][_0x38bde0(0x350)](this,_0x4d0301,_0x258bf8,_0x108dc9[_0x38bde0(0x3ea)],_0x55752c);return _0x2c7919[_0x38bde0(0x3b4)](_0x108dc9),_0x2c7919;},'decrypt':function(_0xde3082,_0x20a018,_0x5c1c18,_0x350bc3){var _0x5e4333=_0x3e29e7;_0x350bc3=this[_0x5e4333(0x20a)][_0x5e4333(0x382)](_0x350bc3),_0x20a018=this['_parse'](_0x20a018,_0x350bc3[_0x5e4333(0x1cc)]);var _0x382ef7=_0x350bc3['kdf'][_0x5e4333(0x25d)](_0x5c1c18,_0xde3082[_0x5e4333(0x205)],_0xde3082[_0x5e4333(0x135)],_0x20a018[_0x5e4333(0x17f)],_0x350bc3[_0x5e4333(0x32b)]);_0x350bc3['iv']=_0x382ef7['iv'];var _0x1c7ac8=_0x376369[_0x5e4333(0x32f)][_0x5e4333(0x350)](this,_0xde3082,_0x20a018,_0x382ef7[_0x5e4333(0x3ea)],_0x350bc3);return _0x1c7ac8;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x1640f8(0x3bf)],tt;function Pi(){return tt||(tt=0x1,function(_0x35692f,_0x1156f2){(function(_0x35f8ff,_0x4cdac9,_0x556459){var _0x1b00e3=_0x3549;_0x35692f[_0x1b00e3(0x3bf)]=_0x4cdac9(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0xa05d37){var _0xa93d8c=_0x3549;return(function(){var _0x492ecc=_0x3549,_0x53abd7=_0xa05d37,_0x117e99=_0x53abd7[_0x492ecc(0x2f7)],_0x17d1bf=_0x117e99['BlockCipher'],_0x2b6fa1=_0x53abd7['algo'],_0x4e3b4e=[],_0x12a371=[],_0x32b352=[],_0xbd995b=[],_0xbeaee4=[],_0x4d7d28=[],_0x4096a5=[],_0x40fd9c=[],_0x1560f0=[],_0x114384=[];(function(){for(var _0x19a491=[],_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++)_0x2fd739<0x80?_0x19a491[_0x2fd739]=_0x2fd739<<0x1:_0x19a491[_0x2fd739]=_0x2fd739<<0x1^0x11b;for(var _0x278936=0x0,_0x5d95d5=0x0,_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++){var _0x274285=_0x5d95d5^_0x5d95d5<<0x1^_0x5d95d5<<0x2^_0x5d95d5<<0x3^_0x5d95d5<<0x4;_0x274285=_0x274285>>>0x8^_0x274285&0xff^0x63,_0x4e3b4e[_0x278936]=_0x274285,_0x12a371[_0x274285]=_0x278936;var _0x891d6a=_0x19a491[_0x278936],_0x2cf629=_0x19a491[_0x891d6a],_0x4d6beb=_0x19a491[_0x2cf629],_0x2ddef4=_0x19a491[_0x274285]*0x101^_0x274285*0x1010100;_0x32b352[_0x278936]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0xbd995b[_0x278936]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0xbeaee4[_0x278936]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x4d7d28[_0x278936]=_0x2ddef4;var _0x2ddef4=_0x4d6beb*0x1010101^_0x2cf629*0x10001^_0x891d6a*0x101^_0x278936*0x1010100;_0x4096a5[_0x274285]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0x40fd9c[_0x274285]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0x1560f0[_0x274285]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x114384[_0x274285]=_0x2ddef4,_0x278936?(_0x278936=_0x891d6a^_0x19a491[_0x19a491[_0x19a491[_0x4d6beb^_0x891d6a]]],_0x5d95d5^=_0x19a491[_0x19a491[_0x5d95d5]]):_0x278936=_0x5d95d5=0x1;}}());var _0x295498=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x119a51=_0x2b6fa1['AES']=_0x17d1bf['extend']({'_doReset':function(){var _0x55105e=_0x492ecc,_0x33ffb1;if(!(this[_0x55105e(0x1ae)]&&this[_0x55105e(0x29b)]===this[_0x55105e(0x3b5)])){for(var _0x1e99f7=this[_0x55105e(0x29b)]=this[_0x55105e(0x3b5)],_0x403b06=_0x1e99f7['words'],_0x47da30=_0x1e99f7['sigBytes']/0x4,_0x347ef3=this['_nRounds']=_0x47da30+0x6,_0x36ffdd=(_0x347ef3+0x1)*0x4,_0x3a335c=this[_0x55105e(0x36a)]=[],_0x5abcc3=0x0;_0x5abcc3<_0x36ffdd;_0x5abcc3++)_0x5abcc3<_0x47da30?_0x3a335c[_0x5abcc3]=_0x403b06[_0x5abcc3]:(_0x33ffb1=_0x3a335c[_0x5abcc3-0x1],_0x5abcc3%_0x47da30?_0x47da30>0x6&&_0x5abcc3%_0x47da30==0x4&&(_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff]):(_0x33ffb1=_0x33ffb1<<0x8|_0x33ffb1>>>0x18,_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff],_0x33ffb1^=_0x295498[_0x5abcc3/_0x47da30|0x0]<<0x18),_0x3a335c[_0x5abcc3]=_0x3a335c[_0x5abcc3-_0x47da30]^_0x33ffb1);for(var _0x46c47c=this['_invKeySchedule']=[],_0x203b26=0x0;_0x203b26<_0x36ffdd;_0x203b26++){var _0x5abcc3=_0x36ffdd-_0x203b26;if(_0x203b26%0x4)var _0x33ffb1=_0x3a335c[_0x5abcc3];else var _0x33ffb1=_0x3a335c[_0x5abcc3-0x4];_0x203b26<0x4||_0x5abcc3<=0x4?_0x46c47c[_0x203b26]=_0x33ffb1:_0x46c47c[_0x203b26]=_0x4096a5[_0x4e3b4e[_0x33ffb1>>>0x18]]^_0x40fd9c[_0x4e3b4e[_0x33ffb1>>>0x10&0xff]]^_0x1560f0[_0x4e3b4e[_0x33ffb1>>>0x8&0xff]]^_0x114384[_0x4e3b4e[_0x33ffb1&0xff]];}}},'encryptBlock':function(_0x42485c,_0x1cc8d3){this['_doCryptBlock'](_0x42485c,_0x1cc8d3,this['_keySchedule'],_0x32b352,_0xbd995b,_0xbeaee4,_0x4d7d28,_0x4e3b4e);},'decryptBlock':function(_0x117489,_0x57797a){var _0x251461=_0x492ecc,_0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd,this[_0x251461(0x2c3)](_0x117489,_0x57797a,this[_0x251461(0x222)],_0x4096a5,_0x40fd9c,_0x1560f0,_0x114384,_0x12a371);var _0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd;},'_doCryptBlock':function(_0xe05aef,_0x3d2859,_0x5479aa,_0x58188b,_0x4b1406,_0x49f78e,_0x2b0d4d,_0x4ba273){for(var _0x4f4ff0=this['_nRounds'],_0x5d42cf=_0xe05aef[_0x3d2859]^_0x5479aa[0x0],_0x20d324=_0xe05aef[_0x3d2859+0x1]^_0x5479aa[0x1],_0x549e03=_0xe05aef[_0x3d2859+0x2]^_0x5479aa[0x2],_0x22ee75=_0xe05aef[_0x3d2859+0x3]^_0x5479aa[0x3],_0x31666=0x4,_0x4d50db=0x1;_0x4d50db<_0x4f4ff0;_0x4d50db++){var _0x11691a=_0x58188b[_0x5d42cf>>>0x18]^_0x4b1406[_0x20d324>>>0x10&0xff]^_0x49f78e[_0x549e03>>>0x8&0xff]^_0x2b0d4d[_0x22ee75&0xff]^_0x5479aa[_0x31666++],_0x4b60f0=_0x58188b[_0x20d324>>>0x18]^_0x4b1406[_0x549e03>>>0x10&0xff]^_0x49f78e[_0x22ee75>>>0x8&0xff]^_0x2b0d4d[_0x5d42cf&0xff]^_0x5479aa[_0x31666++],_0x408b0e=_0x58188b[_0x549e03>>>0x18]^_0x4b1406[_0x22ee75>>>0x10&0xff]^_0x49f78e[_0x5d42cf>>>0x8&0xff]^_0x2b0d4d[_0x20d324&0xff]^_0x5479aa[_0x31666++],_0x21324e=_0x58188b[_0x22ee75>>>0x18]^_0x4b1406[_0x5d42cf>>>0x10&0xff]^_0x49f78e[_0x20d324>>>0x8&0xff]^_0x2b0d4d[_0x549e03&0xff]^_0x5479aa[_0x31666++];_0x5d42cf=_0x11691a,_0x20d324=_0x4b60f0,_0x549e03=_0x408b0e,_0x22ee75=_0x21324e;}var _0x11691a=(_0x4ba273[_0x5d42cf>>>0x18]<<0x18|_0x4ba273[_0x20d324>>>0x10&0xff]<<0x10|_0x4ba273[_0x549e03>>>0x8&0xff]<<0x8|_0x4ba273[_0x22ee75&0xff])^_0x5479aa[_0x31666++],_0x4b60f0=(_0x4ba273[_0x20d324>>>0x18]<<0x18|_0x4ba273[_0x549e03>>>0x10&0xff]<<0x10|_0x4ba273[_0x22ee75>>>0x8&0xff]<<0x8|_0x4ba273[_0x5d42cf&0xff])^_0x5479aa[_0x31666++],_0x408b0e=(_0x4ba273[_0x549e03>>>0x18]<<0x18|_0x4ba273[_0x22ee75>>>0x10&0xff]<<0x10|_0x4ba273[_0x5d42cf>>>0x8&0xff]<<0x8|_0x4ba273[_0x20d324&0xff])^_0x5479aa[_0x31666++],_0x21324e=(_0x4ba273[_0x22ee75>>>0x18]<<0x18|_0x4ba273[_0x5d42cf>>>0x10&0xff]<<0x10|_0x4ba273[_0x20d324>>>0x8&0xff]<<0x8|_0x4ba273[_0x549e03&0xff])^_0x5479aa[_0x31666++];_0xe05aef[_0x3d2859]=_0x11691a,_0xe05aef[_0x3d2859+0x1]=_0x4b60f0,_0xe05aef[_0x3d2859+0x2]=_0x408b0e,_0xe05aef[_0x3d2859+0x3]=_0x21324e;},'keySize':0x100/0x20});_0x53abd7[_0x492ecc(0x2fd)]=_0x17d1bf['_createHelper'](_0x119a51);}()),_0xa05d37[_0xa93d8c(0x2fd)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x1640f8(0x3bf)],nt;function ki(){var _0x4c3190=_0x1640f8;return nt||(nt=0x1,function(_0x1f87e6,_0x38249c){(function(_0x35b952,_0x46bf40){_0x1f87e6['exports']=_0x46bf40(Q());}(xi,function(_0x553855){var _0x11d2b5=_0x3549;return _0x553855[_0x11d2b5(0x2cd)][_0x11d2b5(0x35d)];}));}(be)),be[_0x4c3190(0x3bf)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x1640f8(0x3bf)],rt;function Bi(){var _0x53a5b8=_0x1640f8;return rt||(rt=0x1,function(_0x1dfe5d,_0x2c7e5f){(function(_0x37694e,_0x2c7118){var _0x54bf80=_0x3549;_0x1dfe5d[_0x54bf80(0x3bf)]=_0x2c7118(Q());}(ji,function(_0x4bc05d){var _0x5f3ac2=_0x3549;return(function(){var _0x789e72=_0x3549;if(typeof ArrayBuffer=='function'){var _0x8b105f=_0x4bc05d,_0x14f8ac=_0x8b105f['lib'],_0x41ad71=_0x14f8ac[_0x789e72(0x143)],_0xe23863=_0x41ad71[_0x789e72(0x27e)],_0x59f6de=_0x41ad71[_0x789e72(0x27e)]=function(_0x673ecb){var _0x4aac0f=_0x789e72;if(_0x673ecb instanceof ArrayBuffer&&(_0x673ecb=new Uint8Array(_0x673ecb)),(_0x673ecb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x673ecb instanceof Uint8ClampedArray||_0x673ecb instanceof Int16Array||_0x673ecb instanceof Uint16Array||_0x673ecb instanceof Int32Array||_0x673ecb instanceof Uint32Array||_0x673ecb instanceof Float32Array||_0x673ecb instanceof Float64Array)&&(_0x673ecb=new Uint8Array(_0x673ecb['buffer'],_0x673ecb['byteOffset'],_0x673ecb[_0x4aac0f(0x425)])),_0x673ecb instanceof Uint8Array){for(var _0x11f459=_0x673ecb['byteLength'],_0x4e4977=[],_0x578ba5=0x0;_0x578ba5<_0x11f459;_0x578ba5++)_0x4e4977[_0x578ba5>>>0x2]|=_0x673ecb[_0x578ba5]<<0x18-_0x578ba5%0x4*0x8;_0xe23863['call'](this,_0x4e4977,_0x11f459);}else _0xe23863[_0x4aac0f(0x219)](this,arguments);};_0x59f6de['prototype']=_0x41ad71;}}()),_0x4bc05d[_0x5f3ac2(0x2f7)][_0x5f3ac2(0x143)];}));}(Oe)),Oe[_0x53a5b8(0x3bf)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x1640f8(0x3bf)],st;function Gi(){var _0xb66527=_0x1640f8;return st||(st=0x1,function(_0x2bb600,_0x2f26e5){(function(_0x5b988a,_0xb72659,_0x27f336){var _0x286dcf=_0x3549;_0x2bb600[_0x286dcf(0x3bf)]=_0xb72659(Q(),Tt());}(Wi,function(_0x18071b){var _0xc0f516=_0x3549;return _0x18071b['pad'][_0xc0f516(0x309)]={'pad':function(){},'unpad':function(){}},_0x18071b[_0xc0f516(0x39b)]['NoPadding'];}));}(Re)),Re[_0xb66527(0x3bf)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x4afa80,_0x46e86a){var _0x51a832=_0x1640f8;const _0x6ac028=_0x46e86a-_0x4afa80['length']%_0x46e86a,_0x108553=String['fromCharCode'](_0x6ac028)[_0x51a832(0x22d)](_0x6ac028);return _0x4afa80+_0x108553;}function zi(_0x4c1391,_0x4c69a0){var _0x15cbf8=_0x1640f8;const _0x251533=Vi[_0x15cbf8(0x29e)](0x10),_0x46118b=Ki(_0x4c1391,0x10),_0x3acca3=Mi[_0x15cbf8(0x308)](Hi[_0x15cbf8(0x493)](_0x46118b),it['parse'](_0x4c69a0),{'iv':_0x251533,'padding':qi});return _0x251533[_0x15cbf8(0x30e)](_0x3acca3[_0x15cbf8(0x393)])['toString'](it);}function Ji(){var _0x5218bb=_0x1640f8;const _0x288783=yt[_0x5218bb(0x1db)]()[_0x5218bb(0x285)];if(_0x288783){const _0x396260={'time':Math[_0x5218bb(0x3a2)](Date[_0x5218bb(0x20f)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x5218bb(0x288)](_0x396260),_0x288783);}}var Xi=Object[_0x1640f8(0x2d7)],Zi=(_0x3b694c,_0x4a7287,_0x124bf8,_0x167bee)=>{var _0x577df0=_0x1640f8;for(var _0x597c7e=_0x167bee>0x1?void 0x0:_0x167bee?Xi(_0x4a7287,_0x124bf8):_0x4a7287,_0x5b9b23=_0x3b694c[_0x577df0(0x388)]-0x1,_0x4e6cda;_0x5b9b23>=0x0;_0x5b9b23--)(_0x4e6cda=_0x3b694c[_0x5b9b23])&&(_0x597c7e=_0x4e6cda(_0x597c7e)||_0x597c7e);return _0x597c7e;},Qi=(_0x18e9e3,_0x3fe033)=>(_0x21242b,_0x422609)=>_0x3fe033(_0x21242b,_0x422609,_0x18e9e3);let Ne=class{constructor(_0x9730d2){var _0x299bc8=_0x1640f8;this['_httpService']=_0x9730d2,this[_0x299bc8(0x2b4)]();}[_0x1640f8(0x2b4)](){var _0x114c96=_0x1640f8;this['_httpService'][_0x114c96(0x144)]({'interceptor':(_0x345c0b,_0x17e570)=>{var _0x59d593=_0x114c96;const _0x409a83=_0x345c0b[_0x59d593(0x499)],_0x1e9f8f=Ji();return _0x1e9f8f&&_0x409a83[_0x59d593(0x315)](_0x59d593(0x1c9),_0x1e9f8f),_0x17e570(_0x345c0b);}});}};Ne=Zi([Qi(0x0,a[_0x1640f8(0x207)](q['HTTPService']))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x3e6a09,_0x592025,_0x483c59,_0x4c2bc4)=>{var _0x69e227=_0x1640f8;for(var _0x231645=_0x4c2bc4>0x1?void 0x0:_0x4c2bc4?en(_0x592025,_0x483c59):_0x592025,_0x2a3279=_0x3e6a09[_0x69e227(0x388)]-0x1,_0x44e504;_0x2a3279>=0x0;_0x2a3279--)(_0x44e504=_0x3e6a09[_0x2a3279])&&(_0x231645=_0x44e504(_0x231645)||_0x231645);return _0x231645;},we=(_0x3d6fe8,_0x4001ac)=>(_0xc25408,_0x2af66e)=>_0x4001ac(_0xc25408,_0x2af66e,_0x3d6fe8);exports[_0x1640f8(0x239)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x62e53f,_0x16b4ac,_0x3e4ebb){var _0x4eb31e=_0x1640f8;super(),A(this,'_unitInfo$',new H[(_0x4eb31e(0x453))](null)),A(this,_0x4eb31e(0x402),this[_0x4eb31e(0x406)]['asObservable']()),(this[_0x4eb31e(0x3aa)]=_0x62e53f,this[_0x4eb31e(0x34c)]=_0x16b4ac,this[_0x4eb31e(0x442)]=_0x3e4ebb);}async[_0x1640f8(0x400)](_0x2193ef,_0x49aa01,_0x5e0f83){var _0xf8be6f=_0x1640f8;this[_0xf8be6f(0x406)]['next']({'unitId':_0x2193ef,'type':_0x49aa01});let _0x589ddb=null;switch(_0x49aa01){case J['UNIVER_SHEET']:{_0x589ddb=await this[_0xf8be6f(0x34c)][_0xf8be6f(0x2b0)](_0x2193ef,_0x5e0f83);break;}case J[_0xf8be6f(0x15e)]:{_0x589ddb=await this['_snapshotService'][_0xf8be6f(0x482)](_0x2193ef,_0x5e0f83);break;}default:{this[_0xf8be6f(0x3aa)][_0xf8be6f(0x15a)](_0xf8be6f(0x159),_0xf8be6f(0x364));break;}}return _0x589ddb;}async[_0x1640f8(0x2f0)](_0x12fce9,_0x43205f,_0x1a0a42){var _0x5ca2c4=_0x1640f8,_0x4594a7;this[_0x5ca2c4(0x406)]['next']({'unitId':_0x12fce9,'type':_0x43205f,'subUnitId':_0x1a0a42});let _0x2cb174=0x0;const _0x509d4f=await((_0x4594a7=this['_localCacheService'])==null?void 0x0:_0x4594a7[_0x5ca2c4(0x148)](_0x12fce9));return _0x509d4f&&(_0x509d4f[_0x5ca2c4(0x190)]||_0x509d4f[_0x5ca2c4(0x452)][_0x5ca2c4(0x388)]!==0x0)&&(_0x2cb174=_0x509d4f[_0x5ca2c4(0x286)]),_0x2cb174===0x0&&this[_0x5ca2c4(0x3aa)][_0x5ca2c4(0x2cc)](_0x5ca2c4(0x159),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5ca2c4(0x400)](_0x12fce9,_0x43205f,_0x2cb174);}},exports[_0x1640f8(0x239)]=tn([we(0x0,a[_0x1640f8(0x226)]),we(0x1,a[_0x1640f8(0x207)](p[_0x1640f8(0x235)])),we(0x2,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x239)]);var nn=Object[_0x1640f8(0x2d7)],rn=(_0xe7de80,_0x5bc747,_0xf515d5,_0x11dc74)=>{var _0x142e63=_0x1640f8;for(var _0x4e1177=_0x11dc74>0x1?void 0x0:_0x11dc74?nn(_0x5bc747,_0xf515d5):_0x5bc747,_0x43bb4d=_0xe7de80[_0x142e63(0x388)]-0x1,_0xa8ae46;_0x43bb4d>=0x0;_0x43bb4d--)(_0xa8ae46=_0xe7de80[_0x43bb4d])&&(_0x4e1177=_0xa8ae46(_0x4e1177)||_0x4e1177);return _0x4e1177;},Me=(_0x310bc9,_0x2abe54)=>(_0x5cd4d5,_0x1caab1)=>_0x2abe54(_0x5cd4d5,_0x1caab1,_0x310bc9);const sn=[_0x1640f8(0x36c),_0x1640f8(0x170),'image/jpg',_0x1640f8(0x15f),_0x1640f8(0x191)],on=0x5*0x400*0x400,an=_0x1640f8(0x287),cn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x590418,_0x4865db,_0x3f0bb5){var _0x75e88=_0x1640f8;A(this,_0x75e88(0x476),0x0),A(this,'_change$',new H[(_0x75e88(0x375))]()),A(this,_0x75e88(0x291),this[_0x75e88(0x2c9)]),A(this,_0x75e88(0x14d),new Map()),(this[_0x75e88(0x3a0)]=_0x590418,this[_0x75e88(0x2b1)]=_0x4865db,this[_0x75e88(0x2f3)]=_0x3f0bb5);}[_0x1640f8(0x3de)](_0xfaeb9a){var _0x2f861e=_0x1640f8;this[_0x2f861e(0x476)]=_0xfaeb9a,this[_0x2f861e(0x2c9)]['next'](_0xfaeb9a);}['getImageSourceCache'](_0x674a8,_0x25a0c0){var _0x2fae6d=_0x1640f8;if(_0x25a0c0===z[_0x2fae6d(0x34f)]['BASE64']){const _0xc3f319=new Image();return _0xc3f319['src']=_0x674a8,_0xc3f319;}return this[_0x2fae6d(0x14d)][_0x2fae6d(0x3ee)](_0x674a8);}[_0x1640f8(0x3fd)](_0x50893a,_0x17fe97,_0x27ed2a){var _0x5246b7=_0x1640f8;_0x17fe97===z[_0x5246b7(0x34f)][_0x5246b7(0x20c)]||_0x27ed2a==null||this['_imageSourceCache'][_0x5246b7(0x315)](_0x50893a,_0x27ed2a);}async['getImage'](_0x58bb94){var _0x5da812=_0x1640f8;try{const _0xcb0be=this[_0x5da812(0x1d2)](this[_0x5da812(0x395)](),''+_0x58bb94),_0x15f903=(await this[_0x5da812(0x3a0)][_0x5da812(0x3ee)](_0xcb0be))[_0x5da812(0x3e3)];if(_0x15f903[_0x5da812(0x15a)]&&_0x15f903[_0x5da812(0x15a)][_0x5da812(0x141)]===dt['OK']){const _0x35814f=new URL(_0x15f903[_0x5da812(0x3a7)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5da812(0x3b3)](_0x35814f);}return Promise[_0x5da812(0x457)](_0x15f903[_0x5da812(0x15a)]);}catch(_0x159e0a){return Promise[_0x5da812(0x457)](_0x159e0a);}}async['saveImage'](_0x3609e9){var _0x45f504=_0x1640f8;let _0x30f8e1='';if(!sn[_0x45f504(0x3bb)](_0x3609e9['type']))return this[_0x45f504(0x2ec)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x3609e9[_0x45f504(0x2b8)]>on)return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x1a0)]));try{const _0x2d5eae=new FormData();_0x2d5eae[_0x45f504(0x34d)](_0x45f504(0x3c4),_0x3609e9);const _0x403109=this[_0x45f504(0x2f3)][_0x45f504(0x2f4)](),_0x150e0a=_0x403109==null?void 0x0:_0x403109[_0x45f504(0x2e1)]();if(!_0x150e0a)throw new Error('unitId\x20is\x20not\x20found');const _0x1ff160=this[_0x45f504(0x1b5)]()+_0x45f504(0x41c)+_0x3609e9[_0x45f504(0x2b8)][_0x45f504(0x42b)]()+_0x45f504(0x2e8)+vt[_0x45f504(0x1f6)]+_0x45f504(0x371)+encodeURIComponent(_0x150e0a),_0x1b0b24={'body':_0x2d5eae},_0x217af2=(await this['_httpService']['post'](_0x1ff160,_0x1b0b24))['body'];if(typeof _0x217af2[_0x45f504(0x29a)]!='string')return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));_0x30f8e1=_0x217af2['FileId'];}catch{return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));}return new Promise((_0x107a3d,_0x147257)=>{var _0x4eb281=_0x45f504;const _0x55ff02=new FileReader();_0x55ff02[_0x4eb281(0x37d)](_0x3609e9),_0x55ff02[_0x4eb281(0x242)]=_0x2d4a55=>{var _0x5df1dc=_0x4eb281,_0x4636af;const _0x33a17c=(_0x4636af=_0x2d4a55[_0x5df1dc(0x26d)])==null?void 0x0:_0x4636af[_0x5df1dc(0x30f)];if(_0x33a17c==null){this['_decreaseWaiting'](),_0x147257(new Error(z[_0x5df1dc(0x3b1)][_0x5df1dc(0x35c)]));return;}const _0x13c088=a[_0x5df1dc(0x454)](0x6);_0x107a3d({'imageId':_0x13c088,'imageSourceType':z[_0x5df1dc(0x34f)][_0x5df1dc(0x17b)],'source':_0x30f8e1,'base64Cache':_0x33a17c,'status':z[_0x5df1dc(0x3b1)][_0x5df1dc(0x257)]}),this['_decreaseWaiting']();};});}[_0x1640f8(0x1b5)](){var _0x258c0f=_0x1640f8,_0x21a531;const _0x220152=this[_0x258c0f(0x2b1)][_0x258c0f(0x254)](Y);return(_0x21a531=_0x220152==null?void 0x0:_0x220152['uploadFileServerUrl'])!=null?_0x21a531:an;}[_0x1640f8(0x395)](){var _0x5b8dfa=_0x1640f8,_0x20da10;const _0x2b2bd5=this[_0x5b8dfa(0x2b1)][_0x5b8dfa(0x254)](Y);return(_0x20da10=_0x2b2bd5==null?void 0x0:_0x2b2bd5['signUrlServerUrl'])!=null?_0x20da10:cn;}[_0x1640f8(0x2f8)](){var _0x186d2b=_0x1640f8,_0x103a7b;const _0x122be5=this[_0x186d2b(0x2b1)]['getConfig'](Y);return(_0x103a7b=_0x122be5==null?void 0x0:_0x122be5[_0x186d2b(0x1d6)])!=null?_0x103a7b:location[_0x186d2b(0x213)];}[_0x1640f8(0x1d2)](_0x5e1b88,_0x425340){var _0x340647=_0x1640f8;return _0x5e1b88[_0x340647(0x16e)](_0x340647(0x3df),_0x425340);}['_decreaseWaiting'](){var _0x2c103f=_0x1640f8;this['_waitCount']-=0x1,this['_change$'][_0x2c103f(0x3f8)](this[_0x2c103f(0x476)]);}},exports[_0x1640f8(0x36e)]=rn([Me(0x0,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Me(0x1,a[_0x1640f8(0x30d)]),Me(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x49a)]))],exports[_0x1640f8(0x36e)]);var hn=Object[_0x1640f8(0x2d7)],_n=(_0x2b37a8,_0x124f21,_0x57ea5e,_0x3c01e7)=>{var _0xdee5ed=_0x1640f8;for(var _0x1bfb84=_0x3c01e7>0x1?void 0x0:_0x3c01e7?hn(_0x124f21,_0x57ea5e):_0x124f21,_0x3b614b=_0x2b37a8[_0xdee5ed(0x388)]-0x1,_0x462be7;_0x3b614b>=0x0;_0x3b614b--)(_0x462be7=_0x2b37a8[_0x3b614b])&&(_0x1bfb84=_0x462be7(_0x1bfb84)||_0x1bfb84);return _0x1bfb84;},ot=(_0x517d41,_0x30f6b0)=>(_0x46ac35,_0x3c1cd2)=>_0x30f6b0(_0x46ac35,_0x3c1cd2,_0x517d41);const ln='/universer-api/authz';exports[_0x1640f8(0x214)]=class{constructor(_0x40b938,_0x3554a8){var _0x51f517=_0x1640f8;this[_0x51f517(0x2b1)]=_0x40b938,this[_0x51f517(0x3e9)]=_0x3554a8;}[_0x1640f8(0x1aa)](){var _0x11705f=_0x1640f8,_0x21256b;const _0x221e9b=this[_0x11705f(0x2b1)]['getConfig'](Y);return(_0x21256b=_0x221e9b==null?void 0x0:_0x221e9b[_0x11705f(0x34b)])!=null?_0x21256b:ln;}async[_0x1640f8(0x155)](_0x39229c){var _0x36dfb0=_0x1640f8;const _0x455000=this[_0x36dfb0(0x1aa)]()+_0x36dfb0(0x24d);return{'list':[{'title':'People','mentions':(await this[_0x36dfb0(0x3e9)][_0x36dfb0(0x3ee)](_0x455000,{'params':{'objectID':_0x39229c[_0x36dfb0(0x372)],'unitID':_0x39229c[_0x36dfb0(0x372)]}}))[_0x36dfb0(0x3e3)]['collaborators']['map'](_0x2032c7=>({'objectId':_0x2032c7['id'],'name':_0x2032c7[_0x36dfb0(0x13c)][_0x36dfb0(0x48d)],'metadata':{'icon':_0x2032c7['subject']['avatar']},'label':_0x2032c7[_0x36dfb0(0x13c)]['name'],'objectType':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]})),'metadata':{},'type':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]}]};}},exports[_0x1640f8(0x214)]=_n([ot(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x30d)])),ot(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0xa4cbe4,_0x36c666,_0x2dcfea,_0x2af7a6)=>{for(var _0x4843b0=_0x2af7a6>0x1?void 0x0:_0x2af7a6?un(_0x36c666,_0x2dcfea):_0x36c666,_0x5c19f9=_0xa4cbe4['length']-0x1,_0x3fa831;_0x5c19f9>=0x0;_0x5c19f9--)(_0x3fa831=_0xa4cbe4[_0x5c19f9])&&(_0x4843b0=_0x3fa831(_0x4843b0)||_0x4843b0);return _0x4843b0;},le=(_0x263862,_0x48cd80)=>(_0x1f3660,_0x404655)=>_0x48cd80(_0x1f3660,_0x404655,_0x263862);let De=class extends a['RxDisposable']{constructor(_0x363fe4,_0x5d3d48,_0x219f38,_0x5772b4,_0x2f941b){var _0x18cbb4=_0x1640f8;super(),this[_0x18cbb4(0x331)]=_0x363fe4,this[_0x18cbb4(0x2f3)]=_0x5d3d48,this[_0x18cbb4(0x2a8)]=_0x219f38,this[_0x18cbb4(0x1a2)]=_0x5772b4,this[_0x18cbb4(0x468)]=_0x2f941b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1640f8(0x2f1)](){var _0x138657=_0x1640f8;const _0x719eff=async _0x564e8f=>{var _0x4a9792=_0x3549;(await this[_0x4a9792(0x1a2)][_0x4a9792(0x447)](_0x564e8f))['event$'][_0x4a9792(0x297)](V[_0x4a9792(0x35b)](_0x56b9d4=>_0x56b9d4[_0x4a9792(0x47b)]===p[_0x4a9792(0x1e8)]['SHOULD_CLOSE_CONN']),V[_0x4a9792(0x397)](this[_0x4a9792(0x247)]))[_0x4a9792(0x217)](_0x3e0dd6=>{var _0x23e349=_0x4a9792;const _0x18872a=_0x3e0dd6,{reason:_0x463684}=_0x18872a['data'];this[_0x23e349(0x468)]['emitEvent']({'id':Z[_0x23e349(0x182)],'data':_0x463684}),this['_permissionService'][_0x23e349(0x313)](new X[(_0x23e349(0x27d))](_0x564e8f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x564e8f);});};H[_0x138657(0x22a)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x138657(0x1cb)][_0x138657(0x435)]),this[_0x138657(0x2f3)][_0x138657(0x237)](a[_0x138657(0x1cb)][_0x138657(0x15e)]))[_0x138657(0x297)](V[_0x138657(0x3d2)](_0x3c1c67=>_0x3c1c67[_0x138657(0x2e1)]()),V['filter'](_0x4e5793=>!a[_0x138657(0x3b8)](_0x4e5793)),V['takeUntil'](this[_0x138657(0x247)]))[_0x138657(0x217)](_0x17e968=>{_0x719eff(_0x17e968);});}['_initUnitPermissionChange'](){var _0x55e001=_0x1640f8;const _0x3ed05d=async _0x63ba4a=>{var _0x17e671=_0x3549;const _0x587742=await this['_collaborationSessionService'][_0x17e671(0x447)](_0x63ba4a),_0x2a7078=this[_0x17e671(0x331)][_0x17e671(0x3ee)](X['SheetPermissionInitController']);_0x587742['event$']['pipe'](V[_0x17e671(0x35b)](_0x519df0=>_0x519df0[_0x17e671(0x47b)]===p[_0x17e671(0x1e8)][_0x17e671(0x1ce)]),V[_0x17e671(0x397)](this['dispose$']))['subscribe'](_0x3b4e36=>{var _0x55d181=_0x17e671;const _0x31e83b=_0x3b4e36,{objectId:_0x58c727}=_0x31e83b[_0x55d181(0x19d)];_0x58c727===_0x63ba4a?_0x2a7078['initWorkbookPermissionChange'](_0x63ba4a):_0x2a7078[_0x55d181(0x3d1)](_0x63ba4a,_0x58c727);});};H[_0x55e001(0x22a)](this['_univerInstanceService'][_0x55e001(0x237)](a[_0x55e001(0x1cb)][_0x55e001(0x435)]))[_0x55e001(0x297)](V[_0x55e001(0x3d2)](_0x293193=>_0x293193['getUnitId']()),V[_0x55e001(0x35b)](_0x55a87e=>!a[_0x55e001(0x3b8)](_0x55a87e)),V[_0x55e001(0x397)](this[_0x55e001(0x247)]))[_0x55e001(0x217)](_0x5c7cda=>{_0x3ed05d(_0x5c7cda);});}};De=dn([le(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),le(0x1,a[_0x1640f8(0x49a)]),le(0x2,a[_0x1640f8(0x38c)]),le(0x3,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),le(0x4,a[_0x1640f8(0x207)](ee))],De);var vn=Object[_0x1640f8(0x2d7)],Sn=(_0x387e37,_0x215625,_0x5ee5de,_0x1664a6)=>{for(var _0x5ad46b=_0x1664a6>0x1?void 0x0:_0x1664a6?vn(_0x215625,_0x5ee5de):_0x215625,_0x392d57=_0x387e37['length']-0x1,_0x2e8054;_0x392d57>=0x0;_0x392d57--)(_0x2e8054=_0x387e37[_0x392d57])&&(_0x5ad46b=_0x2e8054(_0x5ad46b)||_0x5ad46b);return _0x5ad46b;},at=(_0x28494a,_0x281de7)=>(_0x8173df,_0x5b2518)=>_0x281de7(_0x8173df,_0x5b2518,_0x28494a);exports[_0x1640f8(0x37b)]=class{constructor(_0x5be2ac,_0x581e34){var _0x21a26f=_0x1640f8;this[_0x21a26f(0x2b1)]=_0x5be2ac,this[_0x21a26f(0x3a0)]=_0x581e34;}async['getUnitOnRev'](_0x156085,_0xc8b6c3){var _0x545086=_0x1640f8,_0x3a4048;const {unitID:_0x114ffe,type:_0x3a026c,revision:_0x5ab3ba=0x0}=_0xc8b6c3,_0x281b8d=this[_0x545086(0x3ef)]()+'/'+_0x3a026c+_0x545086(0x220)+_0x114ffe+_0x545086(0x174)+_0x5ab3ba,_0x471957=(await this['_httpService'][_0x545086(0x3ee)](_0x281b8d))[_0x545086(0x3e3)],_0x340b90=(_0x3a4048=_0x471957['snapshot'])==null?void 0x0:_0x3a4048[_0x545086(0x19f)];if(_0x340b90){const _0x5c8a27=_0x340b90==null?void 0x0:_0x340b90[_0x545086(0x26e)],_0x30bbcf=p[_0x545086(0x1c7)]['encode'](p[_0x545086(0x2d6)](_0x5c8a27));_0x340b90[_0x545086(0x26e)]=_0x30bbcf,Object[_0x545086(0x47f)](_0x340b90[_0x545086(0x14e)])[_0x545086(0x1ff)](([,_0x2c960b])=>{var _0x23d23d=_0x545086;const _0x313ba7=_0x2c960b[_0x23d23d(0x26e)],_0x3a1af7=p[_0x23d23d(0x1c7)][_0x23d23d(0x361)](p[_0x23d23d(0x2d6)](_0x313ba7));_0x2c960b[_0x23d23d(0x26e)]=_0x3a1af7;});}return _0x471957;}async[_0x1640f8(0x345)](_0x10361c,_0x354713){var _0x511882=_0x1640f8;const {unitID:_0x1b6dac,type:_0x5837ad,blockID:_0x3ba52c}=_0x354713,_0x27b91c=this[_0x511882(0x488)]()+'/'+_0x5837ad+'/unit/'+_0x1b6dac+_0x511882(0x16f)+_0x3ba52c;return(await this[_0x511882(0x3a0)][_0x511882(0x3ee)](_0x27b91c))[_0x511882(0x3e3)];}async[_0x1640f8(0x451)](_0x254fc3,_0x4f4240){var _0x2e86ba=_0x1640f8;const {unitID:_0x3cb8ee,type:_0x5d35e7,blockID:_0x5a7a78}=_0x4f4240,_0x234f9b=this[_0x2e86ba(0x488)]()+_0x2e86ba(0x16f)+_0x5d35e7+_0x2e86ba(0x220)+_0x3cb8ee+_0x2e86ba(0x16f)+_0x5a7a78;return(await this[_0x2e86ba(0x3a0)][_0x2e86ba(0x3ee)](_0x234f9b))[_0x2e86ba(0x3e3)];}async[_0x1640f8(0x31c)](_0x233c11,_0x2fcbe7){var _0x3a8e95=_0x1640f8;const {unitID:_0x529454,type:_0x1bea08,from:_0x65cee0,to:_0x4ece25}=_0x2fcbe7,_0xe59714=this[_0x3a8e95(0x488)]()+'/'+_0x1bea08+_0x3a8e95(0x220)+_0x529454+'/fetchmissing?from='+_0x65cee0+_0x3a8e95(0x13b)+_0x4ece25;return(await this[_0x3a8e95(0x3a0)][_0x3a8e95(0x3ee)](_0xe59714))[_0x3a8e95(0x3e3)];}[_0x1640f8(0x3ef)](){var _0xac657d=_0x1640f8,_0x34c84e;return(_0x34c84e=this[_0xac657d(0x2b1)][_0xac657d(0x254)](Dt))!=null?_0x34c84e:this[_0xac657d(0x488)]();}[_0x1640f8(0x488)](){var _0x26b495=_0x1640f8,_0x3b7c7a;const _0x34bfdc=this[_0x26b495(0x2b1)][_0x26b495(0x254)](Y);return(_0x3b7c7a=_0x34bfdc==null?void 0x0:_0x34bfdc['snapshotServerUrl'])!=null?_0x3b7c7a:Nt;}async['getResourcesRequest'](_0x3815c0,_0xfe12e7){var _0x5f4d9a=_0x1640f8;const _0x538a40='/universer-api/snapshot/'+_0xfe12e7[_0x5f4d9a(0x2b7)]+_0x5f4d9a(0x220)+_0xfe12e7['unitID']+'/resources';return(await this[_0x5f4d9a(0x3a0)][_0x5f4d9a(0x3ee)](_0x538a40,{'params':{'resourceId':JSON[_0x5f4d9a(0x288)](_0xfe12e7['resourceIDs'])}}))[_0x5f4d9a(0x3e3)];}[_0x1640f8(0x27a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x282)](){var _0x256482=_0x1640f8;throw new Error(_0x256482(0x1b3));}[_0x1640f8(0x36f)](){var _0x4aeb0a=_0x1640f8;throw new Error(_0x4aeb0a(0x1b3));}['saveChangeset'](){var _0x3ee813=_0x1640f8;throw new Error(_0x3ee813(0x1b3));}[_0x1640f8(0x186)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x414)](){var _0x2e2302=_0x1640f8;throw new Error(_0x2e2302(0x1b3));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x1640f8(0x30d)]),at(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x1640f8(0x2d7)],In=(_0x460553,_0x3c1382,_0x452692,_0x2cb153)=>{var _0x9d4b9d=_0x1640f8;for(var _0x14a875=_0x2cb153>0x1?void 0x0:_0x2cb153?fn(_0x3c1382,_0x452692):_0x3c1382,_0x370053=_0x460553[_0x9d4b9d(0x388)]-0x1,_0x2f044a;_0x370053>=0x0;_0x370053--)(_0x2f044a=_0x460553[_0x370053])&&(_0x14a875=_0x2f044a(_0x14a875)||_0x14a875);return _0x14a875;},ue=(_0x5d799b,_0x538b74)=>(_0x442291,_0x5261a6)=>_0x538b74(_0x442291,_0x5261a6,_0x5d799b);exports[_0x1640f8(0x28f)]=class extends a[_0x1640f8(0x2ab)]{constructor(_0x32022b,_0x125347,_0xf79d59,_0x2e744,_0x4fcf70){var _0x4de9b9=_0x1640f8;super(_0x32022b,_0x125347,_0xf79d59),this[_0x4de9b9(0x424)]=_0x2e744,this[_0x4de9b9(0x3aa)]=_0x4fcf70;}['transformUndoRedo'](_0x50c7ad,_0x1e6d93){var _0x3cb356=_0x1640f8;const _0x3f379b=this[_0x3cb356(0x1fe)](_0x50c7ad);if(_0x3f379b)try{const _0x47a6b3=this[_0x3cb356(0x44c)](_0x3f379b,_0x1e6d93);this[_0x3cb356(0x3ba)](_0x50c7ad,_0x47a6b3);}catch(_0x1921ed){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x3cb356(0x2e0),_0x1921ed),this[_0x3cb356(0x1bd)](_0x50c7ad);}const _0x5d9de8=this['_getRedoStack'](_0x50c7ad);if(_0x5d9de8)try{const _0x74a3c4=this[_0x3cb356(0x44c)](_0x5d9de8,_0x1e6d93);this[_0x3cb356(0x3d4)](_0x50c7ad,_0x74a3c4);}catch(_0x4575ba){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x4575ba),this['_clearRedo'](_0x50c7ad);}}[_0x1640f8(0x1bd)](_0x10c43f){var _0x5c2b4a=_0x1640f8;const _0x5c6331=this[_0x5c2b4a(0x1fe)](_0x10c43f);_0x5c6331&&(_0x5c6331['length']=0x0,this[_0x5c2b4a(0x3db)]());}[_0x1640f8(0x48a)](_0x50366d){var _0xacd3fd=_0x1640f8;const _0x4f85b1=this[_0xacd3fd(0x2b6)](_0x50366d);_0x4f85b1&&(_0x4f85b1[_0xacd3fd(0x388)]=0x0,this[_0xacd3fd(0x3db)]());}[_0x1640f8(0x3ba)](_0x1a2314,_0x350048){var _0x22cb69=_0x1640f8;this[_0x22cb69(0x208)][_0x22cb69(0x315)](_0x1a2314,_0x350048),this[_0x22cb69(0x3db)]();}['_substituteRedoStack'](_0x5a1d31,_0x11ed73){var _0x111324=_0x1640f8;this[_0x111324(0x40a)][_0x111324(0x315)](_0x5a1d31,_0x11ed73),this['_updateStatus']();}[_0x1640f8(0x44c)](_0x1d543e,_0x43ca8c){var _0x3823f0=_0x1640f8;const _0xa3eb30=[];let _0x41e20a=_0x43ca8c,_0x220e61=_0x43ca8c;for(let _0x537f2a=_0x1d543e[_0x3823f0(0x388)]-0x1;_0x537f2a>=0x0;_0x537f2a--){const {unitID:_0x40cfea,undoMutations:_0x4a4100,redoMutations:_0x32efa9}=_0x1d543e[_0x537f2a],_0x3771b3=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x41e20a,_0x4a4100),_0x215f8e=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x220e61,_0x32efa9);if(p[_0x3823f0(0x45f)](_0x3771b3)||p[_0x3823f0(0x45f)](_0x215f8e)){this[_0x3823f0(0x3aa)][_0x3823f0(0x15a)](_0x3823f0(0x2e0),_0x3823f0(0x39f),_0x3771b3,_0x215f8e);break;}_0x41e20a=_0x3771b3[_0x3823f0(0x2eb)],_0x220e61=_0x215f8e['c1Prime'],_0xa3eb30[_0x3823f0(0x33f)]({'unitID':_0x40cfea,'undoMutations':_0x3771b3[_0x3823f0(0x47a)],'redoMutations':_0x215f8e[_0x3823f0(0x47a)]});}return _0xa3eb30[_0x3823f0(0x305)]();}},exports[_0x1640f8(0x28f)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x1640f8(0x1ef)]),ue(0x3,p[_0x1640f8(0x1f4)]),ue(0x4,a[_0x1640f8(0x226)])],exports[_0x1640f8(0x28f)]);var pn=Object[_0x1640f8(0x450)],mn=Object[_0x1640f8(0x2d7)],gn=(_0x3754cb,_0x78de34,_0x3993eb)=>_0x78de34 in _0x3754cb?pn(_0x3754cb,_0x78de34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3993eb}):_0x3754cb[_0x78de34]=_0x3993eb,En=(_0x4ae962,_0x5976d9,_0x4e89af,_0x571f97)=>{var _0x7e9f03=_0x1640f8;for(var _0x45b87b=_0x571f97>0x1?void 0x0:_0x571f97?mn(_0x5976d9,_0x4e89af):_0x5976d9,_0x12a26e=_0x4ae962[_0x7e9f03(0x388)]-0x1,_0x20eea3;_0x12a26e>=0x0;_0x12a26e--)(_0x20eea3=_0x4ae962[_0x12a26e])&&(_0x45b87b=_0x20eea3(_0x45b87b)||_0x45b87b);return _0x45b87b;},Le=(_0x1d6766,_0x595061)=>(_0x542ea5,_0x241720)=>_0x595061(_0x542ea5,_0x241720,_0x1d6766),Cn=(_0x312b2c,_0x558eef,_0x1ed2c6)=>gn(_0x312b2c,_0x558eef+'',_0x1ed2c6);const Tn=_0x1640f8(0x268);exports[_0x1640f8(0x2b3)]=class extends a[_0x1640f8(0x498)]{constructor(_0x146d4f,_0xfbbce8,_0x1a5405,_0x292c2b){var _0x4de6a8=_0x1640f8;super(),A(this,_0x4de6a8(0x185)),(this[_0x4de6a8(0x3aa)]=_0xfbbce8,this['_injector']=_0x1a5405,this[_0x4de6a8(0x2b1)]=_0x292c2b);const {..._0x4ab3f9}=a[_0x4de6a8(0x22a)]({},Zt,_0x146d4f);if(!_0x4ab3f9[_0x4de6a8(0x138)])throw new Error(_0x4de6a8(0x1fc));this[_0x4de6a8(0x185)]=_0x4ab3f9,this[_0x4de6a8(0x2b1)][_0x4de6a8(0x2af)](Y,_0x4ab3f9);}[_0x1640f8(0x431)](){var _0x7d6aef=_0x1640f8;this[_0x7d6aef(0x28c)](),this[_0x7d6aef(0x18c)]();}[_0x1640f8(0x28c)](){var _0x47a49c=_0x1640f8,_0x13acd4,_0x4f16c3;this[_0x47a49c(0x331)][_0x47a49c(0x3fb)](a['IUndoRedoService'])&&this[_0x47a49c(0x3aa)][_0x47a49c(0x15a)](_0x47a49c(0x154),_0x47a49c(0x260));const _0x3467f5=a['mergeOverrideWithDependencies']([[a[_0x47a49c(0x47e)],{'useClass':exports[_0x47a49c(0x28f)]}],[exports[_0x47a49c(0x169)]],[exports[_0x47a49c(0x398)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x47a49c(0x239)]],[Fe,{'useClass':this[_0x47a49c(0x185)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x47a49c(0x234)],{'useClass':exports[_0x47a49c(0x353)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x47a49c(0x423)],{'useClass':exports[_0x47a49c(0x214)]}],[exports[_0x47a49c(0x18f)]],[xe]],(_0x13acd4=this[_0x47a49c(0x185)])==null?void 0x0:_0x13acd4[_0x47a49c(0x1cd)]);if(!((_0x4f16c3=this[_0x47a49c(0x185)])!=null&&_0x4f16c3['enableSingleActiveInstanceLock'])){const _0x5c4c30=_0x3467f5[_0x47a49c(0x491)](([_0x5d182a])=>_0x5d182a===de);_0x5c4c30!==-0x1&&_0x3467f5[_0x47a49c(0x204)](_0x5c4c30,0x1);}a[_0x47a49c(0x2fc)](this[_0x47a49c(0x331)],_0x3467f5);}[_0x1640f8(0x18c)](){var _0x1c2e9f=_0x1640f8,_0x3e52cc,_0x25e6c1,_0x353b27;this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](q[_0x1c2e9f(0x1ba)])[_0x1c2e9f(0x144)]({'priority':0x14,'interceptor':q[_0x1c2e9f(0x40b)]({'maxParallel':0x6})}),(_0x3e52cc=this['_config'])!=null&&_0x3e52cc[_0x1c2e9f(0x40e)]||(_0x25e6c1=this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](K,a[_0x1c2e9f(0x272)][_0x1c2e9f(0x330)]))==null||_0x25e6c1[_0x1c2e9f(0x3dc)](),(_0x353b27=this[_0x1c2e9f(0x185)])!=null&&_0x353b27[_0x1c2e9f(0x32d)]&&a[_0x1c2e9f(0x1f2)](this[_0x1c2e9f(0x331)],[[ye]]),a[_0x1c2e9f(0x1f2)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports[_0x1640f8(0x2b3)],'pluginName',Tn),exports[_0x1640f8(0x2b3)]=En([a[_0x1640f8(0x461)](p[_0x1640f8(0x177)],q[_0x1640f8(0x163)]),Le(0x1,a[_0x1640f8(0x226)]),Le(0x2,a['Inject'](a['Injector'])),Le(0x3,a[_0x1640f8(0x30d)])],exports['UniverCollaborationClientPlugin']),exports[_0x1640f8(0x33c)]=Y,exports[_0x1640f8(0x421)]=je,exports[_0x1640f8(0x1a4)]=Z,exports[_0x1640f8(0x304)]=ee,exports[_0x1640f8(0x17a)]=$e,exports[_0x1640f8(0x34e)]=ht,exports[_0x1640f8(0x218)]=jt,exports[_0x1640f8(0x22c)]=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x1640f8(0x42d)]=ke,exports[_0x1640f8(0x251)]=Fe,exports[_0x1640f8(0x387)]=K,exports['INetworkConditionService']=pt,exports[_0x1640f8(0x147)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x1640f8(0x22f)]=Lt,exports[_0x1640f8(0x1e0)]=Ht,exports[_0x1640f8(0x3ec)]=ut,exports[_0x1640f8(0x440)]=re,exports[_0x1640f8(0x40f)]=He,exports['deserializeToCombResponse']=mt,exports['getLocalCacheKey']=Kt,exports['serializeCombRequest']=gt;
1
+ 'use strict';var _0x2575f3=_0x4419;(function(_0xce083a,_0x197377){var _0x5f0d7f=_0x4419,_0x454757=_0xce083a();while(!![]){try{var _0x5cfd0e=-parseInt(_0x5f0d7f(0x2dd))/0x1*(parseInt(_0x5f0d7f(0x3df))/0x2)+-parseInt(_0x5f0d7f(0x37b))/0x3+-parseInt(_0x5f0d7f(0x1fd))/0x4*(parseInt(_0x5f0d7f(0x2e7))/0x5)+parseInt(_0x5f0d7f(0x3bb))/0x6*(parseInt(_0x5f0d7f(0x464))/0x7)+-parseInt(_0x5f0d7f(0x1a1))/0x8+parseInt(_0x5f0d7f(0x444))/0x9+parseInt(_0x5f0d7f(0x2f8))/0xa;if(_0x5cfd0e===_0x197377)break;else _0x454757['push'](_0x454757['shift']());}catch(_0x448aad){_0x454757['push'](_0x454757['shift']());}}}(_0x132b,0x7dad8));var bt=Object['defineProperty'],Ot=(_0x4fd25d,_0x5af9f0,_0x5a6bfd)=>_0x5af9f0 in _0x4fd25d?bt(_0x4fd25d,_0x5af9f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a6bfd}):_0x4fd25d[_0x5af9f0]=_0x5a6bfd,A=(_0x180105,_0x57c8d3,_0xc923e2)=>Ot(_0x180105,typeof _0x57c8d3!=_0x2575f3(0x350)?_0x57c8d3+'':_0x57c8d3,_0xc923e2);Object['defineProperty'](exports,Symbol[_0x2575f3(0x198)],{'value':_0x2575f3(0x2c1)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x2575f3(0x1f2),Dt=_0x2575f3(0x1ef),Ut=0x7d0,ht=_0x2575f3(0x136),At=_0x2575f3(0x387),_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,wt=0x4e20,ut=_0x2575f3(0x18f),Mt=0x3,Lt=_0x2575f3(0x360),xt=0x3e8,kt='/universer-api/comb',$t=_0x2575f3(0x22b),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt=_0x2575f3(0x143);var dt=(_0x5e90ff=>(_0x5e90ff[_0x5e90ff[_0x2575f3(0x1ea)]=0x0]=_0x2575f3(0x1ea),_0x5e90ff[_0x5e90ff['OK']=0x1]='OK',_0x5e90ff[_0x5e90ff['INTERNAL_ERROR']=0x2]=_0x2575f3(0x17e),_0x5e90ff[_0x5e90ff[_0x2575f3(0x247)]=0x3]=_0x2575f3(0x247),_0x5e90ff[_0x5e90ff[_0x2575f3(0x166)]=0x4]=_0x2575f3(0x166),_0x5e90ff[_0x5e90ff[_0x2575f3(0x16a)]=0x5]='UNAUTHENTICATED',_0x5e90ff[_0x5e90ff[_0x2575f3(0x348)]=0x6]=_0x2575f3(0x348),_0x5e90ff[_0x5e90ff[_0x2575f3(0x291)]=0x7]=_0x2575f3(0x291),_0x5e90ff[_0x5e90ff['TOO_MANY_REQUESTS']=0x8]=_0x2575f3(0x2e0),_0x5e90ff[_0x5e90ff[_0x2575f3(0x419)]=0x9]=_0x2575f3(0x419),_0x5e90ff[_0x5e90ff[_0x2575f3(0x3c8)]=0xa]=_0x2575f3(0x3c8),_0x5e90ff[_0x5e90ff['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2575f3(0x13c),_0x5e90ff[_0x5e90ff[_0x2575f3(0x21c)]=0xc]=_0x2575f3(0x21c),_0x5e90ff[_0x5e90ff[_0x2575f3(0x225)]=0xd]=_0x2575f3(0x225),_0x5e90ff[_0x5e90ff[_0x2575f3(0x2fd)]=0xe]=_0x2575f3(0x2fd),_0x5e90ff[_0x5e90ff[_0x2575f3(0x30c)]=0x1389]=_0x2575f3(0x30c),_0x5e90ff[_0x5e90ff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2575f3(0x253),_0x5e90ff[_0x5e90ff[_0x2575f3(0x339)]=0x1772]=_0x2575f3(0x339),_0x5e90ff[_0x5e90ff[_0x2575f3(0xf5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5e90ff[_0x5e90ff[_0x2575f3(0x44f)]=0x1b59]=_0x2575f3(0x44f),_0x5e90ff[_0x5e90ff[_0x2575f3(0x1f8)]=0x1b5a]=_0x2575f3(0x1f8),_0x5e90ff[_0x5e90ff[_0x2575f3(0x386)]=0x1b5b]=_0x2575f3(0x386),_0x5e90ff[_0x5e90ff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2575f3(0x1d8),_0x5e90ff[_0x5e90ff['APPLY_DUPLICATED']=0x1b5d]=_0x2575f3(0x1b6),_0x5e90ff[_0x5e90ff[_0x2575f3(0x30f)]=0x1f41]=_0x2575f3(0x30f),_0x5e90ff[_0x5e90ff[_0x2575f3(0x450)]=0x2329]=_0x2575f3(0x450),_0x5e90ff[_0x5e90ff[_0x2575f3(0x33c)]=0x232a]=_0x2575f3(0x33c),_0x5e90ff[_0x5e90ff[_0x2575f3(0x18c)]=0x232b]=_0x2575f3(0x18c),_0x5e90ff[_0x5e90ff[_0x2575f3(0x270)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5e90ff[_0x5e90ff[_0x2575f3(0x372)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5e90ff[_0x5e90ff[_0x2575f3(0x131)]=0x2711]=_0x2575f3(0x131),_0x5e90ff[_0x5e90ff[_0x2575f3(0x321)]=0x2712]=_0x2575f3(0x321),_0x5e90ff[_0x5e90ff[_0x2575f3(0x415)]=0x2713]=_0x2575f3(0x415),_0x5e90ff[_0x5e90ff[_0x2575f3(0x144)]=0x2714]=_0x2575f3(0x144),_0x5e90ff[_0x5e90ff['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2575f3(0x2b3),_0x5e90ff[_0x5e90ff[_0x2575f3(0x2d3)]=0x271b]=_0x2575f3(0x2d3),_0x5e90ff[_0x5e90ff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2575f3(0x31a),_0x5e90ff[_0x5e90ff[_0x2575f3(0x336)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5e90ff[_0x5e90ff[_0x2575f3(0x44e)]=0x271e]=_0x2575f3(0x44e),_0x5e90ff[_0x5e90ff[_0x2575f3(0x295)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5e90ff[_0x5e90ff[_0x2575f3(0x3c0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5e90ff[_0x5e90ff[_0x2575f3(0x1be)]=0x2af9]=_0x2575f3(0x1be),_0x5e90ff[_0x5e90ff[_0x2575f3(0x20e)]=0x2ee1]=_0x2575f3(0x20e),_0x5e90ff[_0x5e90ff[_0x2575f3(0x26d)]=0x2ee2]=_0x2575f3(0x26d),_0x5e90ff[_0x5e90ff[_0x2575f3(0x20c)]=0x2ee3]=_0x2575f3(0x20c),_0x5e90ff[_0x5e90ff[_0x2575f3(0x1cc)]=0x2ee4]=_0x2575f3(0x1cc),_0x5e90ff[_0x5e90ff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2575f3(0x37e),_0x5e90ff[_0x5e90ff['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2575f3(0x108),_0x5e90ff[_0x5e90ff['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2575f3(0x1f7),_0x5e90ff[_0x5e90ff['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2575f3(0x3fb),_0x5e90ff[_0x5e90ff[_0x2575f3(0x119)]=-0x1]=_0x2575f3(0x119),_0x5e90ff))(dt||{}),J=(_0x4c591b=>(_0x4c591b[_0x4c591b[_0x2575f3(0x2f0)]=0x0]='UNIVER_UNKNOWN',_0x4c591b[_0x4c591b['UNIVER_DOC']=0x1]=_0x2575f3(0x334),_0x4c591b[_0x4c591b[_0x2575f3(0x262)]=0x2]='UNIVER_SHEET',_0x4c591b[_0x4c591b[_0x2575f3(0x128)]=0x3]=_0x2575f3(0x128),_0x4c591b[_0x4c591b['UNIVER_PROJECT']=0x4]=_0x2575f3(0x41d),_0x4c591b[_0x4c591b[_0x2575f3(0x119)]=-0x1]=_0x2575f3(0x119),_0x4c591b))(J||{}),W=(_0x50b07a=>(_0x50b07a[_0x50b07a[_0x2575f3(0x368)]=0x0]=_0x2575f3(0x368),_0x50b07a[_0x50b07a[_0x2575f3(0x3cb)]=0x1]=_0x2575f3(0x3cb),_0x50b07a[_0x50b07a['JOIN']=0x2]=_0x2575f3(0x411),_0x50b07a[_0x50b07a['LEAVE']=0x3]=_0x2575f3(0x1f0),_0x50b07a[_0x50b07a[_0x2575f3(0x10c)]=0x4]='INGEST',_0x50b07a[_0x50b07a[_0x2575f3(0x223)]=0x5]='HEARTBEAT',_0x50b07a[_0x50b07a[_0x2575f3(0x406)]=0x6]=_0x2575f3(0x406),_0x50b07a[_0x50b07a[_0x2575f3(0x119)]=-0x1]='UNRECOGNIZED',_0x50b07a))(W||{}),se=(_0x3d8dee=>(_0x3d8dee[_0x3d8dee[_0x2575f3(0x2d9)]=0x0]=_0x2575f3(0x2d9),_0x3d8dee[_0x3d8dee['OK']=0x1]='OK',_0x3d8dee[_0x3d8dee[_0x2575f3(0x1cd)]=0x2]=_0x2575f3(0x1cd),_0x3d8dee[_0x3d8dee[_0x2575f3(0x28c)]=0x3e9]=_0x2575f3(0x28c),_0x3d8dee[_0x3d8dee[_0x2575f3(0xfd)]=0x3ea]=_0x2575f3(0xfd),_0x3d8dee[_0x3d8dee[_0x2575f3(0x1c9)]=0x3eb]=_0x2575f3(0x1c9),_0x3d8dee[_0x3d8dee[_0x2575f3(0x116)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3d8dee[_0x3d8dee[_0x2575f3(0x119)]=-0x1]=_0x2575f3(0x119),_0x3d8dee))(se||{}),vt=(_0x72764a=>(_0x72764a[_0x72764a[_0x2575f3(0x110)]=0x0]='Undefined',_0x72764a[_0x72764a[_0x2575f3(0x303)]=0x1]=_0x2575f3(0x303),_0x72764a[_0x72764a[_0x2575f3(0x304)]=0x2]='HttpExport',_0x72764a[_0x72764a[_0x2575f3(0x35c)]=0x3]=_0x2575f3(0x35c),_0x72764a[_0x72764a[_0x2575f3(0x2e3)]=0x4]='UnitSnapshot',_0x72764a[_0x72764a[_0x2575f3(0x167)]=0x5]='UserProfileImg',_0x72764a[_0x72764a[_0x2575f3(0x119)]=-0x1]=_0x2575f3(0x119),_0x72764a))(vt||{});const Bt='collaboration_new_changeset';function Ft(_0x3e1ca0){var _0x30ca14=_0x2575f3;return JSON['stringify'](_0x3e1ca0)[_0x30ca14(0x42c)];}var Z=(_0x3e45a4=>(_0x3e45a4[_0x2575f3(0x383)]='OTHER_CLIENT_EDITING',_0x3e45a4['PERMISSION_DENIED']=_0x2575f3(0x247),_0x3e45a4[_0x2575f3(0x403)]=_0x2575f3(0x403),_0x3e45a4[_0x2575f3(0x2b5)]='CLOSE_ROOM',_0x3e45a4['JOIN_ROOM_FAILED']=_0x2575f3(0x327),_0x3e45a4[_0x2575f3(0x1fe)]='SOCKET_FAILED_RETRY',_0x3e45a4['SOCKET_FAILED']=_0x2575f3(0x159),_0x3e45a4[_0x2575f3(0x3bf)]=_0x2575f3(0x3bf),_0x3e45a4))(Z||{});class ee{constructor(){var _0x271b3a=_0x2575f3;A(this,_0x271b3a(0x2ad),new H[(_0x271b3a(0x3f8))]()),A(this,'event$',this['_event$']['asObservable']());}['emitEvent'](_0x1ed276){var _0x1d975a=_0x2575f3;this[_0x1d975a(0x2ad)]['next'](_0x1ed276);}}class $e{constructor(){var _0x414a38=_0x2575f3;A(this,_0x414a38(0x45b),new H['Subject']()),A(this,_0x414a38(0x308),this[_0x414a38(0x45b)][_0x414a38(0x3e8)]());}[_0x2575f3(0x2a4)](_0x50dd09){var _0x27c4ad=_0x2575f3;this[_0x27c4ad(0x45b)][_0x27c4ad(0x2c0)](_0x50dd09);}}var Vt=Object[_0x2575f3(0x210)],Wt=(_0x4b9448,_0x168f9c,_0x52eee7,_0xc3601c)=>{var _0x578512=_0x2575f3;for(var _0x54c389=_0xc3601c>0x1?void 0x0:_0xc3601c?Vt(_0x168f9c,_0x52eee7):_0x168f9c,_0x311ee6=_0x4b9448[_0x578512(0x42c)]-0x1,_0x2aa2a9;_0x311ee6>=0x0;_0x311ee6--)(_0x2aa2a9=_0x4b9448[_0x311ee6])&&(_0x54c389=_0x2aa2a9(_0x54c389)||_0x54c389);return _0x54c389;},Ve=(_0x447719,_0x5937e2)=>(_0x20c1c6,_0x450b7a)=>_0x5937e2(_0x20c1c6,_0x450b7a,_0x447719);exports[_0x2575f3(0x3f6)]=class extends a['Disposable']{constructor(_0x4b51c9,_0x56d7d3){var _0x2b587c=_0x2575f3;super(),A(this,_0x2b587c(0x188),new Map()),A(this,_0x2b587c(0x421),new H[(_0x2b587c(0x3f8))]()),(this['_univerInstanceService']=_0x4b51c9,this[_0x2b587c(0x3a5)]=_0x56d7d3,this['disposeWithMe'](H[_0x2b587c(0x347)](this[_0x2b587c(0x2b7)][_0x2b587c(0x2a7)](a['UniverInstanceType'][_0x2b587c(0x262)])[_0x2b587c(0x410)](V['map'](_0x512014=>_0x512014[_0x2b587c(0x16d)]())),this[_0x2b587c(0x2b7)][_0x2b587c(0x2a7)](a[_0x2b587c(0x3ed)][_0x2b587c(0x334)])[_0x2b587c(0x410)](V['map'](_0xa9491a=>_0xa9491a[_0x2b587c(0x16d)]())),this[_0x2b587c(0x2b7)][_0x2b587c(0x2a7)](a['UniverInstanceType'][_0x2b587c(0x128)])[_0x2b587c(0x410)](V[_0x2b587c(0x436)](_0x1972a8=>_0x1972a8[_0x2b587c(0x16d)]())))[_0x2b587c(0xfe)](_0x50852b=>this[_0x2b587c(0x3bd)](_0x50852b))));}[_0x2575f3(0x414)](_0x21303e){var _0x2a9215=_0x2575f3;return this[_0x2a9215(0x188)][_0x2a9215(0x3ac)](_0x21303e)?H['of'](this[_0x2a9215(0x188)][_0x2a9215(0x204)](_0x21303e)):this[_0x2a9215(0x421)]['pipe'](V[_0x2a9215(0x436)](_0x39968d=>{var _0x3ea1bc=_0x2a9215;if(_0x39968d===_0x21303e)return this[_0x3ea1bc(0x188)]['get'](_0x39968d);}));}['setCurrentUser'](_0x3b1b94){var _0x5c3275=_0x2575f3;this[_0x5c3275(0x3a5)]['setCurrentUser'](_0x3b1b94);}['getCurrentUser'](){var _0x41176a=_0x2575f3;return this[_0x41176a(0x3a5)][_0x41176a(0x36e)]();}['updateMember'](_0x5ce988,_0x296beb){var _0xd14409=_0x2575f3;let _0x44bfea=this[_0xd14409(0x188)][_0xd14409(0x204)](_0x5ce988);_0x44bfea||(_0x44bfea=new Gt(),this[_0xd14409(0x188)][_0xd14409(0x1a0)](_0x5ce988,_0x44bfea),this[_0xd14409(0x421)][_0xd14409(0x2c0)](_0x5ce988)),_0x44bfea['updateMember'](_0x296beb);}['removeMember'](_0x46ea4b,_0xb8434e){var _0x5d5a2e=_0x2575f3;const _0x1b06ac=this[_0x5d5a2e(0x188)]['get'](_0x46ea4b);_0x1b06ac&&_0x1b06ac['removeMember'](_0xb8434e);}['getRoom'](_0x1eff2e){var _0x1ae49d=_0x2575f3;return this[_0x1ae49d(0x188)][_0x1ae49d(0x204)](_0x1eff2e);}['getMember'](_0x3a518a,_0x3913fc){var _0x147a48=_0x2575f3;const _0x484b04=this[_0x147a48(0x188)][_0x147a48(0x204)](_0x3a518a);if(_0x484b04)return _0x484b04[_0x147a48(0x34a)](_0x3913fc);}[_0x2575f3(0x3bd)](_0x4c30dc){var _0x795803=_0x2575f3;const _0x1f80be=this['_roomMembers'][_0x795803(0x204)](_0x4c30dc);_0x1f80be&&(_0x1f80be[_0x795803(0x39c)](),this[_0x795803(0x188)]['delete'](_0x4c30dc));}['dispose'](){var _0x4a26f7=_0x2575f3;this[_0x4a26f7(0x188)][_0x4a26f7(0x1d6)](_0x796def=>_0x796def['dispose']()),this[_0x4a26f7(0x188)][_0x4a26f7(0x168)](),this[_0x4a26f7(0x421)][_0x4a26f7(0x205)]();}},exports['MemberService']=Wt([Ve(0x0,a[_0x2575f3(0x376)]),Ve(0x1,a[_0x2575f3(0x337)](a[_0x2575f3(0x1b1)]))],exports[_0x2575f3(0x3f6)]);class Gt extends a[_0x2575f3(0x38e)]{constructor(){var _0x2ca23d=_0x2575f3;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new H['BehaviorSubject'](this[_0x2ca23d(0x23e)])),A(this,_0x2ca23d(0x35d),this[_0x2ca23d(0x3ad)][_0x2ca23d(0x3e8)]());}[_0x2575f3(0x39c)](){var _0x5c54e4=_0x2575f3;this[_0x5c54e4(0x23e)][_0x5c54e4(0x168)]();}[_0x2575f3(0x398)](_0x13c121){var _0x41f29a=_0x2575f3;this[_0x41f29a(0x23e)][_0x41f29a(0x1a0)](_0x13c121[_0x41f29a(0x2a8)],_0x13c121),this[_0x41f29a(0x460)]();}['removeMember'](_0x51c86d){var _0x23d95e=_0x2575f3;this[_0x23d95e(0x23e)][_0x23d95e(0x260)](_0x51c86d);}[_0x2575f3(0x34a)](_0x4e80b6){var _0x37dfbc=_0x2575f3;return this['_members'][_0x37dfbc(0x204)](_0x4e80b6);}[_0x2575f3(0x3cf)](){var _0x4a4bc3=_0x2575f3;return Array[_0x4a4bc3(0x439)](this['_members'][_0x4a4bc3(0x43d)]());}[_0x2575f3(0x460)](){var _0x31081b=_0x2575f3;this['_members$'][_0x31081b(0x2c0)](this[_0x31081b(0x23e)]);}}var Yt=Object['getOwnPropertyDescriptor'],qt=(_0x3fac01,_0xd74e54,_0x132e57,_0x3b55a6)=>{for(var _0xfa0085=_0x3b55a6>0x1?void 0x0:_0x3b55a6?Yt(_0xd74e54,_0x132e57):_0xd74e54,_0xb2edb9=_0x3fac01['length']-0x1,_0x2a8fa1;_0xb2edb9>=0x0;_0xb2edb9--)(_0x2a8fa1=_0x3fac01[_0xb2edb9])&&(_0xfa0085=_0x2a8fa1(_0xfa0085)||_0xfa0085);return _0xfa0085;},ce=(_0x128bda,_0x48aa54)=>(_0x1a1cd6,_0x4a1345)=>_0x48aa54(_0x1a1cd6,_0x4a1345,_0x128bda),re=(_0x499381=>(_0x499381[_0x499381[_0x2575f3(0x13e)]=0x0]=_0x2575f3(0x13e),_0x499381[_0x499381[_0x2575f3(0x226)]=0x1]=_0x2575f3(0x226),_0x499381[_0x499381[_0x2575f3(0x2c9)]=0x2]='OFFLINE',_0x499381[_0x499381[_0x2575f3(0x3de)]=0x3]=_0x2575f3(0x3de),_0x499381))(re||{});const We={[se[_0x2575f3(0x1cd)]]:_0x2575f3(0x22a),[se['JOIN_ROOM_FULL']]:_0x2575f3(0x175),[se[_0x2575f3(0xfd)]]:'session.room-not-exists',[se[_0x2575f3(0x1c9)]]:'session.room-permission-denied',[se[_0x2575f3(0x116)]]:'session.room-cnt-exceeds'};exports[_0x2575f3(0x1d5)]=class extends a[_0x2575f3(0x2ac)]{constructor(_0x124b2b,_0x55a54a,_0x17368f,_0x314027,_0x2aebe9,_0x526055,_0xc6e9d7,_0x2feb68){var _0x54e040=_0x2575f3;super(),A(this,_0x54e040(0x425),new H['BehaviorSubject'](0x0)),A(this,_0x54e040(0x2ef),this[_0x54e040(0x425)]['asObservable']()),A(this,_0x54e040(0x2ad),new H[(_0x54e040(0x3f8))]()),A(this,_0x54e040(0x3ca),this['_event$'][_0x54e040(0x3e8)]()),A(this,_0x54e040(0x282)),A(this,_0x54e040(0x315)),A(this,_0x54e040(0x189)),A(this,_0x54e040(0x43a),!0x1),A(this,_0x54e040(0x25c),null),(this['_unitID']=_0x124b2b,this[_0x54e040(0x3ec)]=_0x17368f,this[_0x54e040(0x3ab)]=_0x314027,this[_0x54e040(0x3da)]=_0x2aebe9,this[_0x54e040(0x15a)]=_0x526055,this[_0x54e040(0x332)]=_0xc6e9d7,this[_0x54e040(0x11e)]=_0x2feb68,this[_0x54e040(0x43a)]=!!this[_0x54e040(0x11e)],_0x55a54a['pipe'](H[_0x54e040(0x3b6)](this['dispose$']))['subscribe'](_0xbfada6=>{var _0xd61f99=_0x54e040,_0x2d4f39;typeof _0xbfada6>'u'||(this[_0xd61f99(0x282)]=_0xbfada6,_0xbfada6?(this['_joinRoom'](_0xbfada6),this[_0xd61f99(0x315)]=_0xbfada6[_0xd61f99(0x3f1)]['subscribe'](_0x3b2363=>{var _0x487e59=_0xd61f99;_0x3b2363[_0x487e59(0x3d8)]===this[_0x487e59(0xfc)]&&this[_0x487e59(0x2db)](_0x3b2363);})):(this[_0xd61f99(0x423)](),this['_sessionStatus$'][_0xd61f99(0x2c0)](0x2),(_0x2d4f39=this[_0xd61f99(0x315)])==null||_0x2d4f39[_0xd61f99(0x16e)](),this[_0xd61f99(0x315)]=null));}));}get['sessionStatus'](){var _0x17bbef=_0x2575f3;return this[_0x17bbef(0x425)][_0x17bbef(0x1df)]();}[_0x2575f3(0x28e)](){var _0x33e180=_0x2575f3,_0x2475a9,_0x3a70d5;return(_0x3a70d5=(_0x2475a9=this[_0x33e180(0x282)])==null?void 0x0:_0x2475a9[_0x33e180(0x2a8)])!=null?_0x3a70d5:null;}[_0x2575f3(0x39c)](){var _0x328ce7=_0x2575f3;super[_0x328ce7(0x39c)](),this[_0x328ce7(0x42f)]['next'](),this[_0x328ce7(0x42f)][_0x328ce7(0x205)]();}[_0x2575f3(0x239)](){var _0x25ab6f=_0x2575f3,_0x33873e,_0x19663d;this[_0x25ab6f(0x423)](),(_0x33873e=this[_0x25ab6f(0x282)])==null||_0x33873e[_0x25ab6f(0x466)]({'cmd':W[_0x25ab6f(0x1f0)],'data':{'roomID':this[_0x25ab6f(0xfc)]}}),(_0x19663d=this['_socket'])==null||_0x19663d[_0x25ab6f(0x239)](),this[_0x25ab6f(0x2ad)][_0x25ab6f(0x205)](),this['_sessionStatus$'][_0x25ab6f(0x205)](),this[_0x25ab6f(0x39c)]();}[_0x2575f3(0x2db)](_0xc4117d){var _0x5a4f4b=_0x2575f3;_0xc4117d['cmd']===W[_0x5a4f4b(0x411)]?this['_onJoinRoomEvent'](_0xc4117d):_0xc4117d[_0x5a4f4b(0x393)]===W[_0x5a4f4b(0x406)]&&this[_0x5a4f4b(0x275)](_0xc4117d);}[_0x2575f3(0x290)](_0x179594){var _0x49d17b=_0x2575f3;this[_0x49d17b(0x425)]['next'](0x1),_0x179594[_0x49d17b(0x466)]({'cmd':W[_0x49d17b(0x411)],'routeKey':this[_0x49d17b(0xfc)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49d17b(0xfc)]}]}});}[_0x2575f3(0x2d1)](_0x34baea){var _0x4c3446=_0x2575f3,_0x54db47;if(_0x34baea[_0x4c3446(0x17f)]in We){this[_0x4c3446(0x332)][_0x4c3446(0x161)]({'id':Z[_0x4c3446(0x327)],'data':We[_0x34baea['code']]}),this[_0x4c3446(0x425)][_0x4c3446(0x2c0)](0x2);return;}this[_0x4c3446(0x425)][_0x4c3446(0x2c0)](0x3);const _0x381b41=(_0x54db47=_0x34baea[_0x4c3446(0x39a)][_0x4c3446(0x1fa)][this['_unitID']])==null?void 0x0:_0x54db47['members'];_0x381b41&&_0x381b41[_0x4c3446(0x1d6)](_0x3dedb9=>this['_memberService']['updateMember'](this[_0x4c3446(0xfc)],_0x3dedb9));}[_0x2575f3(0x275)](_0x2434f1){var _0x1e563d=_0x2575f3;try{const _0x3cede9=_0x2434f1[_0x1e563d(0x39a)];switch(_0x3cede9[_0x1e563d(0x416)]){case p[_0x1e563d(0x19b)][_0x1e563d(0x1af)]:this[_0x1e563d(0x371)](_0x3cede9),this[_0x1e563d(0x2ad)][_0x1e563d(0x2c0)](_0x3cede9);break;case p[_0x1e563d(0x19b)]['USERS_LEAVE']:this['_onUserLeave'](_0x3cede9),this[_0x1e563d(0x2ad)][_0x1e563d(0x2c0)](_0x3cede9);break;case p[_0x1e563d(0x19b)][_0x1e563d(0x11a)]:case p[_0x1e563d(0x19b)]['CHANGESET_SHOULD_RETRY']:this[_0x1e563d(0x359)](),this[_0x1e563d(0x3a7)](),this[_0x1e563d(0x2ad)][_0x1e563d(0x2c0)](_0x3cede9);break;case p[_0x1e563d(0x19b)][_0x1e563d(0x3d3)]:this[_0x1e563d(0x3ec)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x1e563d(0x307)](_0x3cede9)),this[_0x1e563d(0x2ad)][_0x1e563d(0x2c0)](_0x3cede9);break;case p[_0x1e563d(0x19b)][_0x1e563d(0x3c5)]:this[_0x1e563d(0x15a)][_0x1e563d(0x2a4)](_0x3cede9['data']),this['_event$'][_0x1e563d(0x2c0)](_0x3cede9);break;default:this[_0x1e563d(0x2ad)][_0x1e563d(0x2c0)](_0x3cede9);}}catch(_0x4a454d){this[_0x1e563d(0x3ec)]['error'](_0x4a454d,_0x2434f1);}}[_0x2575f3(0x371)](_0x5af2ea){var _0x14ff8a=_0x2575f3;this[_0x14ff8a(0x3da)][_0x14ff8a(0x398)](this[_0x14ff8a(0xfc)],_0x5af2ea[_0x14ff8a(0x39a)]);}['_onUserLeave'](_0x2038ca){var _0x9c1dbd=_0x2575f3;this['_memberService'][_0x9c1dbd(0x435)](this[_0x9c1dbd(0xfc)],_0x2038ca[_0x9c1dbd(0x39a)]['memberID']);}async[_0x2575f3(0x466)](_0x307bab,_0x2b51ec){var _0x111d6b=_0x2575f3;if(this['sessionStatus']!==0x3||!this[_0x111d6b(0x282)])throw new Error(_0x111d6b(0x1fc));try{_0x307bab['eventID']===p[_0x111d6b(0x19b)][_0x111d6b(0x32d)]&&(this[_0x111d6b(0x1ac)](),this[_0x111d6b(0x37c)](_0x307bab)),this['_socket'][_0x111d6b(0x466)]({'cmd':W['INGEST'],'routeKey':_0x2b51ec,'routeType':'','data':_0x307bab});}catch(_0x5f6062){this['_logService'][_0x111d6b(0x1c8)](_0x5f6062);}}[_0x2575f3(0x1ac)](){var _0x3f9286=_0x2575f3,_0x5a19ba;this[_0x3f9286(0x189)]=setTimeout(()=>{var _0x17a8eb=_0x3f9286;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x17a8eb(0x161)]({'id':Z[_0x17a8eb(0x3bf)]});},(_0x5a19ba=this[_0x3f9286(0x3ab)][_0x3f9286(0x3c1)](ke))!=null?_0x5a19ba:lt);}[_0x2575f3(0x3a7)](){var _0x2636e6=_0x2575f3;this[_0x2636e6(0x189)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2636e6(0x189)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4d0458){var _0x33e82a=_0x2575f3;if(!this[_0x33e82a(0x43a)])return;const {data:_0x4903b1}=_0x4d0458,{unitID:_0x4a834a,changeset:_0x1e7de4}=_0x4903b1,{mutations:_0x35f7b1,type:_0x10b7bb}=_0x1e7de4;this[_0x33e82a(0x25c)]={'unitId':_0x4a834a,'type':_0x10b7bb,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x35f7b1)};}[_0x2575f3(0x359)](){var _0x47f32b=_0x2575f3;if(this['_shouldReportTelemetry']){if(!this[_0x47f32b(0x25c)]){this[_0x47f32b(0x3ec)][_0x47f32b(0x1c8)](_0x47f32b(0x1e1),_0x47f32b(0x1d3));return;}this[_0x47f32b(0x25c)][_0x47f32b(0x2af)]=performance[_0x47f32b(0x3b0)](),this[_0x47f32b(0x25c)][_0x47f32b(0x2a5)]=this[_0x47f32b(0x25c)][_0x47f32b(0x2af)]-this[_0x47f32b(0x25c)][_0x47f32b(0x1e9)],this[_0x47f32b(0x11e)][_0x47f32b(0x40c)](Bt,this[_0x47f32b(0x25c)]),this[_0x47f32b(0x25c)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1f3abc=_0x2575f3;this[_0x1f3abc(0x25c)]=null;}},exports['CollaborationSession']=qt([ce(0x2,a[_0x2575f3(0x104)]),ce(0x3,a['IConfigService']),ce(0x4,a[_0x2575f3(0x337)](exports[_0x2575f3(0x3f6)])),ce(0x5,a[_0x2575f3(0x337)]($e)),ce(0x6,a[_0x2575f3(0x337)](ee)),ce(0x7,a[_0x2575f3(0x12b)](Rt['ITelemetryService']))],exports[_0x2575f3(0x1d5)]);const K=a[_0x2575f3(0x203)]('collaboration-client.local-cache-service');function Kt(_0x1790de){return'unit-cache-'+_0x1790de;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x18fffe,_0x40d87e,_0x108a62,_0x1abb8e)=>{for(var _0x1aec82=_0x1abb8e>0x1?void 0x0:_0x1abb8e?zt(_0x40d87e,_0x108a62):_0x40d87e,_0x35eec4=_0x18fffe['length']-0x1,_0x128ebe;_0x35eec4>=0x0;_0x35eec4--)(_0x128ebe=_0x18fffe[_0x35eec4])&&(_0x1aec82=_0x128ebe(_0x1aec82)||_0x1aec82);return _0x1aec82;},Ue=(_0x51aa26,_0x422391)=>(_0x235a2e,_0x29befa)=>_0x422391(_0x235a2e,_0x29befa,_0x51aa26);function Xt(_0x2dd778){var _0x3563a6=_0x2575f3;const {unitID:_0x5101d8,mutations:_0x15c1c4}=_0x2dd778;return{'unitId':_0x5101d8,'subUnitId':_0x15c1c4[0x0][_0x3563a6(0x319)][_0x3563a6(0x244)]};}exports[_0x2575f3(0x259)]=class{constructor(_0x2a7552,_0x884e46,_0x3869c8){var _0x2ed2e1=_0x2575f3;this[_0x2ed2e1(0x227)]=_0x2a7552,this[_0x2ed2e1(0x141)]=_0x884e46,this[_0x2ed2e1(0x121)]=_0x3869c8;}[_0x2575f3(0x17a)](_0x36c920){var _0xad95c5=_0x2575f3,_0x4e492c,_0x99bc27,_0x57db60,_0x75b367;const _0x6dbb08=this[_0xad95c5(0x227)][_0xad95c5(0x204)](X[_0xad95c5(0x1c3)]),{unitId:_0x1522ec,subUnitId:_0x673072}=Xt(_0x36c920),_0x3d3ddd=_0x6dbb08==null?void 0x0:_0x6dbb08[_0xad95c5(0x3dd)](_0x1522ec)[_0xad95c5(0x310)](),_0x542bdb=(_0x99bc27=(_0x4e492c=this[_0xad95c5(0x121)][_0xad95c5(0x24b)](_0x1522ec))==null?void 0x0:_0x4e492c[_0xad95c5(0x3e5)]())==null?void 0x0:_0x99bc27[_0xad95c5(0x14c)]();if(_0x3d3ddd['length']===0x0||!_0x1522ec||!_0x673072)return;const _0x4b6b77=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x1522ec,'subUnitId':_0x542bdb,'selections':a[_0xad95c5(0x28b)][_0xad95c5(0x1ce)](_0x3d3ddd)}}],_0x1504ab=this[_0xad95c5(0x141)][_0xad95c5(0x458)](_0x36c920,_0x4b6b77);if(!p[_0xad95c5(0x417)](_0x1504ab))throw _0x1504ab[_0xad95c5(0x1c8)];const _0x28bbe5=(_0x75b367=(_0x57db60=_0x1504ab[_0xad95c5(0x331)][0x0])==null?void 0x0:_0x57db60[_0xad95c5(0x319)])==null?void 0x0:_0x75b367[_0xad95c5(0x10d)];if(Array[_0xad95c5(0x127)](_0x28bbe5)&&_0x28bbe5[_0xad95c5(0x42c)]){if(_0x28bbe5[_0xad95c5(0x42c)]===_0x4b6b77[0x0]['params']['selections'][_0xad95c5(0x42c)]&&_0x28bbe5['every']((_0x5316ae,_0x14e89f)=>a[_0xad95c5(0x29b)]['equals'](_0x5316ae[_0xad95c5(0x221)],_0x4b6b77[0x0][_0xad95c5(0x319)]['selections'][_0x14e89f]['range'])))return;this[_0xad95c5(0x227)][_0xad95c5(0x204)](a[_0xad95c5(0x381)])[_0xad95c5(0x374)](X[_0xad95c5(0x195)]['id'],{'unitId':_0x1522ec,'subUnitId':_0x542bdb,'selections':_0x28bbe5});}}},exports[_0x2575f3(0x259)]=Jt([Ue(0x0,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),Ue(0x1,p[_0x2575f3(0x11d)]),Ue(0x2,a[_0x2575f3(0x376)])],exports[_0x2575f3(0x259)]);const de=a['createIdentifier'](_0x2575f3(0xf6));var He=(_0x142766=>(_0x142766[_0x142766[_0x2575f3(0x296)]=0x0]=_0x2575f3(0x296),_0x142766[_0x142766['OTHER_CLIENTS_EDITING']=0x1]=_0x2575f3(0x352),_0x142766))(He||{});const Y=_0x2575f3(0x201),Zt={},Qt=new Set([X[_0x2575f3(0x1ec)]['id']]);function Ge(_0x3cea56,_0x2c7300,_0x5a9b10,_0x1ca374,_0x5bb0d9){var _0x4bb979=_0x2575f3,_0x383c09,_0x259c16,_0x2894ed,_0x761ea;const _0x39af5a=[];for(const _0xc0d636 of _0x3cea56)if(Qt[_0x4bb979(0x3ac)](_0xc0d636['id'])){if(_0x39af5a[_0x4bb979(0x42c)]>0x0)break;_0x39af5a['push'](_0xc0d636);break;}else _0x39af5a[_0x4bb979(0x249)](_0xc0d636);const _0x41ba00=(_0x259c16=(_0x383c09=_0x5bb0d9['getCurrentUser']())==null?void 0x0:_0x383c09[_0x4bb979(0x3a4)])!=null?_0x259c16:'unknown',_0x1c9499=(_0x761ea=(_0x2894ed=_0x5bb0d9[_0x4bb979(0x36e)]())==null?void 0x0:_0x2894ed['memberID'])!=null?_0x761ea:_0x4bb979(0x375);return{'changeset':{'unitID':_0x2c7300,'type':p[_0x4bb979(0x30a)](_0x5a9b10[_0x4bb979(0x3b7)](_0x2c7300)),'baseRev':_0x1ca374[_0x4bb979(0x190)](_0x2c7300),'revision':0x0,'userID':_0x41ba00,'memberID':_0x1c9499,'mutations':_0x39af5a},'pendingMutations':_0x3cea56[_0x4bb979(0x301)](_0x39af5a[_0x4bb979(0x42c)])};}function _0x132b(){var _0x166a4c=['error$','OFFLINE','originalMeta','synced','DocCollaborationEntity','words','PSEUDO_FETCH_MISSING_RESULT','CompressMutationService','splice','_onJoinRoomEvent','_parse','YUUMI_ASYNCIO_CANCELLED','_initRequestHeader','_waitForHeartbeatResponse','saveChangeset','localCacheService','DEFAULT_COLLAB_WEB_SOCKET_URL','UNKNOWN_CODE','_scheduleCompleteTimestamp','_onCombEvent','_updateLocalCache','2FZBWqN','readyForCollab','toDisposable','TOO_MANY_REQUESTS','collaMsg','_process','UnitSnapshot','state$','_clearRedo','_append','1056205GvYqob','putCollaborators','_init','_singleActiveUnitService','shareReplay','onRemoteRetry','b64DecodeUnicode','_onRemoteChangeset','sessionStatus$','UNIVER_UNKNOWN','UNISCRIPT_RUN','Base64','Hasher','encodeURIComponent','generateRandomId','CommandType','_syncEditingCollabCursor','12465590aHsYuS','[FetchMissState]','compose','take','Error\x20on\x20receiving\x20event','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','add','OfflineState','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','slice','update','HttpImport','HttpExport','SHA1','/resources','stringify','commentUpdate$','getFocusedUnit','mapDocumentTypeToUniverType','location','CHANGESET_REVISION_CONFILICT','_state','_transformStack','CONNECTOR_DATA_TOO_LARGE','getCurrentSelections','disableLocalCache','byteLength','EmptyMutation','BlockCipher','_socketMessageSubscription','_onConnectionFailed','auth.needGotoLoginAlert','_nDataBytes','params','YUUMI_TABLE_NOT_FOUND_IN_UNIT','state','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onLocalMutation','_isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_URL_COL_OUT_OF_RANGE','_getRedoStack','getDeserializedSheetBlock','Failed\x20to\x20update\x20permission\x20point','/universer-api/stream/file/upload','getImageSourceCache','JOIN_ROOM_FAILED','_onOffline','CommentService','_initMergeInterceptor','createDecryptor','_handlerCallback','SUBMIT_CHANGESET','[DataLoaderService]','_applyRemoteChangeset','x-univer-host','m2Prime','_collaborationUIEventService','mergeOverrideWithDependencies','UNIVER_DOC','/role','YUUMI_ALL_TABLES_IS_INVALID','Inject','_onMessage','SNAPSHOT_HAS_BEEN_REMOVED','resend','reqId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformRemoteChangesetByStateCache','toggleOffline','_handler','failed\x20to\x20apply\x20missed\x20changesets!','function','then','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unitID','onSendChangeset','[OfflineState]:\x20received\x20acknowledgement.','merge','ALREADY_EXISTS','_httpService','getMember','encrypt','repeat','delay','_doProcessBlock','listCollaborators','symbol','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','_clearUndo','_onRemoteRetry','pending','Encryptor','_doCreateSocket','RevisionService','_stopTelemetryCollaborationNewChangeset','_sendHeartbeatTimer','ImageSourceType','UnitEmbedded','members$','onRemoteAck','addImageSourceCache','LOCAL_CACHE_INTERVAL','_collaborationPaused','saveImage','SyncedState','_createInitialState','DataLoaderService','/object','fetchThroughInterceptors','UNKNOWN_CMD','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_clearLocalCache','_timeoutTimer','objectType','registerDependencies','getCurrentUser','_acknowledgedAwaitingChangeset','__Key__','_onUserJoin','LICENSE_DISTRO_REJECTED','mode','executeCommand','unknown','IUniverInstanceService','JSONX','disposeWithMe','onStateChange','copyFileMeta','2864949PgLJqj','_startTelemetryCollaborationNewChangeset','OpenSSL','INVITE_CODE_ALREADY_BOUND','\x0aAfter:\x20','registerHTTPInterceptor','ICommandService','COMPRESS_MUTATION_SEND','OTHER_CLIENT_EDITING','/-/object/list','_retryConnectingTimer','APPLY_REVISION_CONFILICT','/universer-api/user/session-ticket','workbook','/fetchmissing?from=','clamp','$super','CollaborationUIEventId','formatter','Disposable','fromCharCode','_candidateSocket','getUnitStatus$','_createHmacHelper','cmd','ERROR_IMAGE_TYPE','HTTPService','loadUnitOfRevision','reduce','updateMember','unpad','data','_tryReconnect','dispose','_substituteUndoStack','_snapshotServerService','finalize','every','LIVESHARE_OPERATION','isTransformChangesetsSuccess','LIVESHARE_NEW_HOST','userID','_userManagerService','_onConnectionOpen','_clearCollaborationTimeoutTimer','_entityInit$','onMissedChangesetFetched','_getUploadFileURL','_configService','has','_members$','roles','saveSheetBlock','now','getSheetBlock','FETCH_MISS','OPTIONAL','_initCloseConn','onTransformIME','takeUntil','getUnitType','fetching\x20missing\x20changesets\x20from\x20','confirm','Quantity','13446VyMjVl','/allowed','_removeRoom','decrypt','SUBMIT_CHANGESET_TIMEOUT','YUUMI_CONNECTOR_URL_NOT_FOUND','getConfig','_entities','isTransformMutationsWithChangesetFailure','_getLoginPath','COMMENT_UPDATE','unitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','_ENC_XFORM_MODE','event$','HELLO','setShowComponents','FileId','Pkcs7','getAllMembers','changesets','resolve','prototype','MSG_FOR_ERROR','RETRY_CONNECTING_MAX_COUNT_KEY','_permissionService','IUndoRedoService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','routeKey','_config','_memberService','crypto','_replayCachedMutations','getWorkbookSelections','ONLINE','764834EGnfEe','transformChangesets','/rev/','_resendTimeout','_hash','image/jpeg','getActiveSheet','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','updateCollaborator','asObservable','reconnect','_unitInfo$','WorkbookEditablePermission','_logService','UniverInstanceType','createSocket','_waitCount','Univer','message$','href','FetchingMissState','_awaitingChangeset','_HTTPService','MemberService','charCodeAt','Subject','parse','_transformSelections','EMAIL_HAS_BEEN_BOUND','_keyPriorReset','buffer','url','MUTATION','onSyncEditingCollabCursor','cfg','key','CONFLICT','saveSnapshot','_executeRemoteChangeset','RECV','EvpKDF','append','startsWith','_onRemoteRejected','UniverNetworkPlugin','capture','updatePermissionPoint','/-/object/-/batch_allowed','Plugin','pipe','JOIN','exports','substr','waitForRoom$','YUUMI_RATE_OVER_LIMIT','eventID','isTransformMutationsWithChangesetSuccess','&assign=','COMPLETION_FINISHED','session','origin','onMissingChangesets','UNIVER_PROJECT','_updateState','processBlock','hasher','_roomCreated$','_resendWithTimeout','_throwTelemetryCollaborationNewChangeset','FETCH_MISSING','_sessionStatus$','rev','textEncoder','_sessions','objectActions','_sendingTimer','LIVESHARE_FETCH_OPERATIONS','length','[SyncedState]:\x20received\x20acknowledgement.','_getDownloadEndpointURL','dispose$','UPDATE_PERMISSION_OBJ','IAuthzIoService','getLatestCsReqIdBySid','People','_doReset','removeMember','map','salt','updateOfflineData','from','_shouldReportTelemetry','padding','_networkConditionService','values','concat','keySize','CollaborationController','_submitChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','patch','6133428lezESX','revision','/universer-api/file/{fileID}/sign-url','_DEC_XFORM_MODE','touchDependencies','DependentOn','__creator','snapshot','/unit/','randomBytes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_REJECT','LICENSE_MAX_UNITS_EXCEEDED','onlyLocal','toggleOnline','enc','findIndex','reset','_rescheduleHeartbeat','[CollaborationUndoRedoService]','transformMutationsWithChangeset','LIVESHARE_REQUEST_HOST','CBC','_commentUpdate$','getLocalCacheKey','actions','result','IMentionIOService','_emitMembers','_reverseMap','[PendingState]:\x20received\x20rejection.','NOT_COLLAB','2933QAfzvx','SUCCUSS','send','open$','enableSingleActiveInstanceLock','AuthzIoHttpService','responseType','change$','getInterceptPoints','_collaborationSessionService','kdf','offline','ENSURE_SNAPSHOT_EXECUTION','univer-pro.collaboration-client.single-active-unit-service','Decryptor','_queuedRemoteChangesets','_getCtorByUniverType','[UniverCollaborationClientPlugin]','POST','_unitID','JOIN_ROOM_NOT_EXISTS','subscribe','onTransformSelections','extend','getUnitOnRev','/universer-api/authz','requireSession','ILogService','_undoStacks','Base','requestParams','WECHAT_HAS_BEEN_BOUND','_initUnitPermissionChange','BASE64','DisposableCollection','INGEST','selections','reject','sequenceExecute','Undefined','_startCollaboration','_transformRemoteChangesetByIMECache','onCommandExecuted','headers','entries','GLOBAL_ROOMS_CNT_EXCEEDS','MentionIoHttpService','_substituteRedoStack','UNRECOGNIZED','CHANGESET_ACK','CHANGESET_SHOULD_RETRY','apply','ITransformService','_telemetryService','entityInit$','avatar','_instanceService','objects','_transformUndoredo','onRemoteRej','createEncryptor','join','isArray','UNIVER_SLIDE','getRandomValues','[CollaborationSessionService]','Optional','action','CollaborationImageIoService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_socketReady','_createHelper','YUUMI_UNABLE_LOAD_URL','[OfflineState]:\x20received\x20changeset.','mixIn','csAckEvent','_changesetReqId','ws://127.0.0.1:8000/universer-api/comb/connect','replace','PasswordBasedCipher','_changesetSessionId','HmacMD5','AwaitingWithPendingState','MOBILE_VERIFY_CODE_MISMATCH','subject','IDLE','[SyncedState]:\x20received\x20rejection.','_invKeySchedule','_transformService','baseRev','/universer-api/uniscript','YUUMI_SUBSCRIPTION_NOT_FOUND','defineProperty','_getSignURL','_clearHeartbeatTimer','[CollaborationEntity]','_sendHeartbeat','_getSendChangesetTimeout','LocaleService','getSheetId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onStarting','COMPRESS_MUTATION_APPLY','_getAPIPrefix','Utf8','method','_mode','transformUndoRedo','not_collab','getTime','_localeService','UniverCollaborationClientPlugin','SOCKET_FAILED','_commentService','/universer-api/snapshot/','awaiting_with_pending','override','csRejEvent','hasOwnProperty','newCsEvent','emitEvent','_state$','_keySchedule','ivSize','MD5','NOT_FOUND','UserProfileImg','clear','includes','UNAUTHENTICATED','listRoles','onRemoteChangeset','getUnitId','unsubscribe','CHANGESET_REJ','clone','_toggleOnline','CollaborationSessionService','fetchMiss','_revisionService','session.room-full','[OfflineState]:\x20received\x20rejection.','isPermissionRej','MergeInterceptorFactory','&to=','transformSelections','Malformed\x20UTF-8\x20data','_commandService','ConflictState','INTERNAL_ERROR','code','_localCacheService','__esModule','image/jpg','submit\x20changeset\x20error!','getSnapshotAPIPath','MentionType','find','_cipher','_roomMembers','_collaborationTimeoutTimer','_transformIMECache','debug','LICENSE_IMPORT_SIZE_EXCEEDED','_showConflictNotification','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','RETRY_CONNECTING_MAX_COUNT','getCurrentRevOfUnit','onLocalMutation','ISnapshotServerService','_schedule','USERS_LEAVE','SetSelectionsOperation','SessionStatus','Injector','toStringTag','_replaceFileID','withCredentials','CollaborationEvent','sid','_updateStatus','close$','/collaborator','set','3369568edZDsu','refreshPermission','[CollaborationState]:\x20apply\x20error!','fetchMissingChangesets','UUID','_data','_oKey','IContextService','\x0aCurrent:\x20','format','downloadEndpointUrl','_scheduleCollaborationTimeoutTimer','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','loadSheet','USERS_ENTER','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UserManagerService','IImageIoService','awaitingChangeset','closeSession','_xformMode','APPLY_DUPLICATED','ISocketService','?size=','joinEvent','getCollabEntity$','updatePermissionObjEvent','body','max','PY_RUNTIME_SCRIPT_ERROR','name','PendingState','init','filter','SheetsSelectionsService','_createHandler','_tryEnsureSocket','incrementRevOfUnit','list','error','JOIN_ROOM_PERMISSION_DENIED','transformStack\x20failed!','_createInitialStateImpl','USER_NOT_INVITED_CODE','FAIL','deepClone','_transformStateCache','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_transitionLocked','telemetry\x20info\x20is\x20not\x20initialized','random','CollaborationSession','forEach','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','msCrypto','_type','ThresholdInterceptorFactory','_prevBlock','charAt','_getUndoStack','getValue','title','[CollaborationSession]','_iKey','editing\x20status\x20changed\x20to','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_map','target','put','floor','startTime','UNDEFINED','_compressMutationService','InsertSheetMutation','batchAllowed','appendMutation','SNAPSHOT_URL_KEY','LEAVE','catch','/universer-api/snapshot','_sheetTransformSelectionsService','socket\x20open.','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getAPIPrefixPath','MOBILE_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','lib','roomInfos','concatMap','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','4sleqBY','SOCKET_FAILED_RETRY','_exhaustRemoteChangesetQueue','_hasher','collaboration-client.config','src','createIdentifier','get','complete','byteOffset','resourceIDs','_remoteChangesetQueue','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_transformRemoteChangesetByStateCache','ceil','INVITE_CODE_REQUIRED','_eventService','INVITE_CODE_HAS_BEEN_UES','_unlockTransition','getOwnPropertyDescriptor','_clearTimeoutTimer','NEW_CHANGESETS','_onFetchMissResult','image/bmp','fromCollab','_toggleOffline','_checkMissing','CollaborativeUndoRedoService','enableOfflineEditing','loadUnit','BehaviorSubject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_socketService','uploadFileServerUrl','fetch_missing','_socket$','range','onTransformRemoteChangesetByIMECache','HEARTBEAT','UnitStatus','EMAIL_VERIFY_CODE_MISMATCH','JOINING','_injector','deserializeToCombResponse','pad','session.join-failed','/universer-api/oidc/authpage','_fetchMissChangesets','HMAC','isInternalEditorID','connection\x20error','PERMISSION_REJ','socketService','ciphertext','encryptBlock','compute','size','{fileID}','/object/','_incrementRevisionNumber','close','SheetPermissionInitController','_registerDependencies','mutations','DEFAULT_WS_SESSION_TICKET_URL','_members','SheetCollaborationEntity','string','_createSocket','PERSON','collabWebSocketUrl','subUnitId','_snapshotService','_collabSessionService','PERMISSION_DENIED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','push','SnapshotServerOverHTTPService','getUnit','Could\x20not\x20dynamically\x20require\x20\x22','_getCurrentRevision','_status$','type','hostname','default','collaboratorID','SNAPSHOT_INVALID_SNAPSHOT','_listenToNetworkCondition','_onConflict','c2Prime','BufferedBlockAlgorithm','_pendingMutations','SheetTransformSelectionsService','interceptor','IPermissionService','_telemetryInfo','NoPadding','onTransformState','ICollaborationSocketService','delete','csShouldRetryEvent','UNIVER_SHEET','online$','updateSnapshot','Hex','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','AwaitingState','liveShareNewHost','algo','getCollabEntity','LocalUndoRedoService','loadDoc','INVALID_INVITE_CODE','WordArray','create','LICENSE_EXPORT_SIZE_EXCEEDED','toString','HTTPRequest','DEFAULT_FILE_NAME','Cipher','_onRecvEvent','/new_changes','ILocalCacheService','loadOfflineData','sigBytes','setWaitCount','iterations','CollaborationEntity','authzUrl','SHOULD_CLOSE_CONN','LIVESHARE_TERMINATE','status','_iv','_socket','_clearScheduledTask','serializeCombRequest','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_decreaseWaiting','firstValueFrom','_minBufferSize','HEARTBEAT_TIMEOUT_KEY','localeService','Tools','JOIN_ROOM_FULL','_imageSourceCache','getMemberID','readInt32LE','_joinRoom','INVALID_ARGUMENT','getImage','createInstance','objectID','YUUMI_AI_RUN_FAILED','NO_OTHER_CLIENTS_EDITING','addHandlerCallback','loginUrlKey','status$','_key','Rectangle','c1Prime','ERROR_EXCEED_SIZE','?url=','AES','_onRemoteACK','commentUpdateEvent','Workbook','permissionRejEvent','onCommentUpdate','duration','_undoRedoService','getTypeOfUnitDisposed$','memberID','_change$','ERROR_IMAGE','post','RxDisposable','_event$','awaiting','stopTime','blockSize','textRanges','AWAITING_WITH_PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','_doCryptBlock','CLOSE_ROOM','unitId\x20is\x20not\x20found','_univerInstanceService','readAsDataURL','[CollaborationSessionService]:\x20socket\x20error','_nRounds','IConfigService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getResourcesRequest','_lockTransition','_resendTimer','next','Module','Latin1','call','pluginName','retryConnectingInterval','ImageUploadStatusType','_sender'];_0x132b=function(){return _0x166a4c;};return _0x132b();}function ei(_0x57d363,_0x45e1b7,_0x3106e5,_0x250017,_0x56ef44){var _0x539707=_0x2575f3,_0x2f88de,_0x3bad84,_0x56f54c,_0x3add8a;const _0x4657e3=[_0x57d363[_0x539707(0x397)]((_0x2a8db2,_0x4a0968)=>{var _0x8bad7c=_0x539707,_0x2f80aa;const {id:_0x605a74}=_0x2a8db2,{id:_0x2746c0,type:_0x11f452}=_0x4a0968,_0x1c64f5=(_0x2f80aa=_0x2a8db2[_0x8bad7c(0x319)])!=null?_0x2f80aa:{'actions':null},_0x496e7f=_0x4a0968[_0x8bad7c(0x319)];if(_0x605a74&&_0x605a74!==_0x2746c0)throw new Error(_0x8bad7c(0x18e)+_0x605a74+'\x20-\x20'+_0x2746c0+'.');return{..._0x2a8db2,'id':_0x2746c0,'type':_0x11f452,'params':{'unitId':_0x496e7f['unitId'],'textRanges':_0x496e7f[_0x8bad7c(0x2b1)],'actions':a[_0x8bad7c(0x377)][_0x8bad7c(0x2fa)](_0x1c64f5[_0x8bad7c(0x45d)],_0x496e7f['actions'])}};},{})],_0x357183=(_0x3bad84=(_0x2f88de=_0x56ef44['getCurrentUser']())==null?void 0x0:_0x2f88de[_0x539707(0x3a4)])!=null?_0x3bad84:_0x539707(0x375),_0x19c805=(_0x3add8a=(_0x56f54c=_0x56ef44[_0x539707(0x36e)]())==null?void 0x0:_0x56f54c['memberID'])!=null?_0x3add8a:_0x539707(0x375);return{'changeset':{'unitID':_0x45e1b7,'type':p['mapDocumentTypeToUniverType'](_0x3106e5[_0x539707(0x3b7)](_0x45e1b7)),'baseRev':_0x250017[_0x539707(0x190)](_0x45e1b7),'revision':0x0,'userID':_0x357183,'memberID':_0x19c805,'mutations':_0x4657e3},'pendingMutations':[]};}function St(_0x3c2e85,_0x449c56){var _0x273290=_0x2575f3;const _0x40bec3=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x40bec3[_0x273290(0x2c0)](_0x449c56),_0x3c2e85),_0x40bec3['asObservable']()['pipe'](H[_0x273290(0x2fb)](0x1));}const ti={'id':X[_0x2575f3(0x313)]['id'],'type':a[_0x2575f3(0x2f6)]['MUTATION'],'params':{}};var ii=Object[_0x2575f3(0x210)],oe=(_0x2c7053,_0x3b02a8,_0x21142f,_0x2f4ea6)=>{var _0x1facde=_0x2575f3;for(var _0x1272f8=_0x2f4ea6>0x1?void 0x0:_0x2f4ea6?ii(_0x3b02a8,_0x21142f):_0x3b02a8,_0x2faf73=_0x2c7053[_0x1facde(0x42c)]-0x1,_0x31766a;_0x2faf73>=0x0;_0x2faf73--)(_0x31766a=_0x2c7053[_0x2faf73])&&(_0x1272f8=_0x31766a(_0x1272f8)||_0x1272f8);return _0x1272f8;},w=(_0x25a9eb,_0x2225f2)=>(_0x287526,_0x2a2ab9)=>_0x2225f2(_0x287526,_0x2a2ab9,_0x25a9eb),je=(_0x99f76e=>(_0x99f76e[_0x2575f3(0x463)]=_0x2575f3(0x155),_0x99f76e['SYNCED']='synced',_0x99f76e['PENDING']=_0x2575f3(0x355),_0x99f76e['AWAITING']=_0x2575f3(0x2ae),_0x99f76e[_0x2575f3(0x2b2)]='awaiting_with_pending',_0x99f76e[_0x2575f3(0x3b2)]=_0x2575f3(0x21f),_0x99f76e['CONFLICT']='conflict',_0x99f76e[_0x2575f3(0x2c9)]=_0x2575f3(0xf4),_0x99f76e))(je||{});const ft=0xea60;class ae{constructor(_0x3d7c59,_0x243ea4,_0x4c38de,_0x2c3db1,_0x412c34,_0x436dfb,_0x2c735f,_0x5261ce,_0x4c9e86){var _0x12f7fc=_0x2575f3;A(this,_0x12f7fc(0x3f4),null),A(this,_0x12f7fc(0x258),[]),(this[_0x12f7fc(0x344)]=_0x3d7c59,this[_0x12f7fc(0x24f)]=_0x243ea4,this[_0x12f7fc(0x33f)]=_0x412c34,this['_commandService']=_0x436dfb,this[_0x12f7fc(0x2a6)]=_0x2c735f,this[_0x12f7fc(0x174)]=_0x5261ce,this[_0x12f7fc(0x180)]=_0x4c9e86,this['_awaitingChangeset']=_0x4c38de,this[_0x12f7fc(0x258)]=_0x2c3db1);}['_checkMissing'](_0x424c63){var _0x262d4d=_0x2575f3;const _0x5ac455=this[_0x262d4d(0x174)][_0x262d4d(0x190)](this[_0x262d4d(0x344)]);return _0x424c63[_0x262d4d(0x445)]>_0x5ac455+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5ac455,'to':_0x424c63[_0x262d4d(0x445)]-0x1}),!0x0):!0x1;}[_0x2575f3(0x123)](_0x1f578c){var _0x50b0b8=_0x2575f3;this[_0x50b0b8(0x2a6)]['transformUndoRedo'](this['unitID'],_0x1f578c);}[_0x2575f3(0x3fa)](_0x579de1){var _0x12f819=_0x2575f3,_0x48efac,_0x49a64c;(_0x49a64c=(_0x48efac=this[_0x12f819(0x33f)])[_0x12f819(0xff)])==null||_0x49a64c['call'](_0x48efac,_0x579de1);}[_0x2575f3(0x18a)](_0x4ffa08){var _0x2be532=_0x2575f3,_0x544439,_0x686fad;return(_0x686fad=(_0x544439=this[_0x2be532(0x33f)])[_0x2be532(0x3b5)])==null?void 0x0:_0x686fad[_0x2be532(0x2c3)](_0x544439,_0x4ffa08);}[_0x2575f3(0x1cf)](_0x2432af){var _0x5ba95e=_0x2575f3,_0x5d8052,_0xf97a6e;return(_0xf97a6e=(_0x5d8052=this[_0x5ba95e(0x33f)])[_0x5ba95e(0x25e)])==null?void 0x0:_0xf97a6e[_0x5ba95e(0x2c3)](_0x5d8052,_0x2432af);}[_0x2575f3(0x112)](_0x4a1e88){var _0x49503c=_0x2575f3,_0x5cabe6,_0x1d185c,_0x2912c5;return(_0x2912c5=(_0x1d185c=(_0x5cabe6=this[_0x49503c(0x33f)])[_0x49503c(0x222)])==null?void 0x0:_0x1d185c[_0x49503c(0x2c3)](_0x5cabe6,_0x4a1e88))!=null?_0x2912c5:_0x4a1e88;}[_0x2575f3(0x20a)](_0x39337d){var _0x3648c1=_0x2575f3,_0x5246ea,_0x2d2147,_0x5e3f20;return(_0x5e3f20=(_0x2d2147=(_0x5246ea=this[_0x3648c1(0x33f)])[_0x3648c1(0x33d)])==null?void 0x0:_0x2d2147[_0x3648c1(0x2c3)](_0x5246ea,_0x39337d))!=null?_0x5e3f20:_0x39337d;}[_0x2575f3(0x2f7)](_0x65b932){var _0x5db9ab=_0x2575f3,_0x41a4a6,_0x21bd97;if(this['type']===J['UNIVER_DOC']){const {unitID:_0x4cb47e,mutations:_0x1100dc,memberID:_0xbd81f1}=_0x65b932,_0x39e7b0=_0x1100dc[0x0][_0x5db9ab(0x319)][_0x5db9ab(0x2b1)];Array[_0x5db9ab(0x127)](_0x39e7b0)&&_0x39e7b0['length']>0x0&&((_0x21bd97=(_0x41a4a6=this[_0x5db9ab(0x33f)])[_0x5db9ab(0x400)])==null||_0x21bd97[_0x5db9ab(0x2c3)](_0x41a4a6,{'unitID':_0x4cb47e,'memberID':_0xbd81f1,'textRanges':_0x39e7b0}));}}[_0x2575f3(0x2dc)](){var _0x26e912=_0x2575f3,_0x289894;(_0x289894=this[_0x26e912(0x180)])==null||_0x289894[_0x26e912(0x438)](this[_0x26e912(0x344)],this['type'],this[_0x26e912(0x3f4)],this['_pendingMutations']);}[_0x2575f3(0x24d)](){var _0x46df56=_0x2575f3;return this[_0x46df56(0x174)][_0x46df56(0x190)](this['unitID']);}['_incrementRevisionNumber'](){var _0x438a06=_0x2575f3;this[_0x438a06(0x174)][_0x438a06(0x1c6)](this[_0x438a06(0x344)]);}[_0x2575f3(0x405)](_0x4229bc){var _0x1586d9=_0x2575f3,_0xbe427e;let _0x226600=this[_0x1586d9(0x112)](_0x4229bc);_0x226600=this[_0x1586d9(0x20a)](_0x226600);const _0x20b804=a[_0x1586d9(0x10f)](_0x226600[_0x1586d9(0x23c)],this['_commandService'],{'fromCollab':!0x0});if(!_0x20b804['result'])throw _0x20b804['error']instanceof Error?_0x20b804[_0x1586d9(0x1c8)]:new Error((_0xbe427e=_0x20b804['error'])!=null?_0xbe427e:_0x1586d9(0x1a3));this[_0x1586d9(0x18a)](_0x226600),this['_transformStateCache'](_0x226600),this[_0x1586d9(0x123)](_0x4229bc),this[_0x1586d9(0x3fa)](_0x226600),this[_0x1586d9(0x2f7)](_0x226600),this[_0x1586d9(0x238)]();}}exports[_0x2575f3(0x363)]=class extends ae{constructor(_0x10c2fe,_0xde62e8,_0x1fedd7,_0x194e2a,_0x49d70e,_0x566c4b,_0x3ba45c,_0x1a97f0,_0x2e7857,_0x2455f6){var _0x4a104d=_0x2575f3;super(_0x10c2fe,_0xde62e8,null,[],_0x1fedd7,_0x3ba45c,_0x566c4b,_0x194e2a,_0x2455f6),A(this,_0x4a104d(0x280),_0x4a104d(0x2cb)),(this[_0x4a104d(0x227)]=_0x49d70e,this[_0x4a104d(0x3ec)]=_0x1a97f0,this[_0x4a104d(0x141)]=_0x2e7857,this[_0x4a104d(0x2d7)]=_0x2455f6);}['appendMutation'](_0x1f8df2){var _0x58c603=_0x2575f3;const _0x2341ec=this['_injector'][_0x58c603(0x293)](exports['PendingState'],this[_0x58c603(0x344)],this[_0x58c603(0x24f)],[_0x1f8df2],this[_0x58c603(0x33f)]);return _0x2341ec[_0x58c603(0x193)](),_0x2341ec[_0x58c603(0x2dc)](),_0x2341ec;}[_0x2575f3(0x16c)](_0x10b7f1){var _0x46e3c1=_0x2575f3;if(this[_0x46e3c1(0x217)](_0x10b7f1))return this[_0x46e3c1(0x227)][_0x46e3c1(0x293)](exports['FetchingMissState'],this['unitID'],this[_0x46e3c1(0x24f)],null,[],null,[_0x10b7f1],this[_0x46e3c1(0x33f)]);try{const _0x383c57=this[_0x46e3c1(0x141)][_0x46e3c1(0x458)](_0x10b7f1,[ti]);if(p['isTransformMutationsWithChangesetSuccess'](_0x383c57)){const {c1Prime:_0x2e568f}=_0x383c57;return this[_0x46e3c1(0x405)](_0x2e568f),this;}throw _0x383c57['error'];}catch(_0x46052a){return this[_0x46e3c1(0x3ec)][_0x46e3c1(0x1c8)](_0x46052a),this[_0x46e3c1(0x255)](!0x1);}}[_0x2575f3(0x255)](_0x576e4a){var _0x54616c=_0x2575f3;return this[_0x54616c(0x227)][_0x54616c(0x293)](exports['ConflictState'],this[_0x54616c(0x344)],this[_0x54616c(0x24f)],null,[],this[_0x54616c(0x33f)],_0x576e4a);}[_0x2575f3(0x35e)](){var _0x203b4e=_0x2575f3;throw new Error(_0x203b4e(0x42d));}['onRemoteRej'](){var _0x46aa0e=_0x2575f3;throw new Error(_0x46aa0e(0x13f));}[_0x2575f3(0x2ec)](){return this;}['toggleOffline'](){var _0x1b6aab=_0x2575f3;return this['_injector'][_0x1b6aab(0x293)](exports[_0x1b6aab(0x2ff)],this[_0x1b6aab(0x344)],this[_0x1b6aab(0x24f)],null,[],this[_0x1b6aab(0x33f)]);}[_0x2575f3(0x452)](){return this;}[_0x2575f3(0x33a)](){var _0x25283c=_0x2575f3;throw new Error(_0x25283c(0x1b0));}['fetchMiss'](){var _0x914e50=_0x2575f3;const _0x333382=this[_0x914e50(0x174)][_0x914e50(0x190)](this[_0x914e50(0x344)]);return this[_0x914e50(0x33f)][_0x914e50(0x41c)]({'from':_0x333382,'to':0x0}),this[_0x914e50(0x227)][_0x914e50(0x293)](exports[_0x914e50(0x3f3)],this['unitID'],this[_0x914e50(0x24f)],null,[],null,[],this[_0x914e50(0x33f)]);}},exports['SyncedState']=oe([w(0x3,a['Inject'](p[_0x2575f3(0x358)])),w(0x4,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),w(0x5,a['IUndoRedoService']),w(0x6,a['ICommandService']),w(0x7,a[_0x2575f3(0x104)]),w(0x8,p[_0x2575f3(0x11d)]),w(0x9,a['Optional'](K))],exports['SyncedState']),exports[_0x2575f3(0x1c0)]=class extends ae{constructor(_0x17aac7,_0x2cc863,_0x5b2d26,_0x56a3a1,_0x22e352,_0x158275,_0x19b6dd,_0x4749dd,_0x204f86,_0x19ce2c,_0x1c7ecc,_0x327d83,_0x5bf45c,_0x524978){var _0x134173=_0x2575f3;super(_0x17aac7,_0x2cc863,null,_0x5b2d26,_0x56a3a1,_0x204f86,_0x5bf45c,_0x158275,_0x524978),A(this,_0x134173(0x280),'pending'),A(this,_0x134173(0x2da),null),A(this,_0x134173(0x42a),null),(this['_injector']=_0x22e352,this[_0x134173(0x3da)]=_0x19b6dd,this[_0x134173(0x3ec)]=_0x4749dd,this[_0x134173(0x3ab)]=_0x19ce2c,this[_0x134173(0x141)]=_0x1c7ecc,this[_0x134173(0x2b7)]=_0x327d83);}[_0x2575f3(0x1ee)](_0x54ed7d){var _0x154937=_0x2575f3;return this['_pendingMutations'][_0x154937(0x249)](_0x54ed7d),this[_0x154937(0x2dc)](),this;}['onRemoteChangeset'](_0x35fa0b){var _0x485316=_0x2575f3;if(this[_0x485316(0x217)](_0x35fa0b))return this[_0x485316(0x283)](),this['_injector'][_0x485316(0x293)](exports[_0x485316(0x3f3)],this[_0x485316(0x344)],this[_0x485316(0x24f)],null,this[_0x485316(0x258)],null,[_0x35fa0b],this[_0x485316(0x33f)]);try{const _0x1623a9=this[_0x485316(0x141)][_0x485316(0x458)](_0x35fa0b,this['_pendingMutations']);if(p[_0x485316(0x417)](_0x1623a9)){const {c1Prime:_0xea2bb8,m2Prime:_0x210a2e}=_0x1623a9;this[_0x485316(0x405)](_0xea2bb8);const _0x215067=this[_0x485316(0x227)][_0x485316(0x293)](exports[_0x485316(0x1c0)],this[_0x485316(0x344)],this[_0x485316(0x24f)],_0x210a2e,this[_0x485316(0x33f)]);this[_0x485316(0x283)]();const _0x283b65=new Date()['getTime'](),_0x3d7e40=this[_0x485316(0x2da)]?Math[_0x485316(0x1bd)](this[_0x485316(0x2da)]-_0x283b65,0x0):this['_getSendChangesetTimeout']();return _0x215067['_schedule'](_0x3d7e40),_0x215067;}throw _0x1623a9[_0x485316(0x1c8)];}catch(_0x4b573a){return this[_0x485316(0x3ec)][_0x485316(0x1c8)](_0x4b573a),this[_0x485316(0x255)](!0x1);}}[_0x2575f3(0x35e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2575f3(0x124)](){var _0x581e97=_0x2575f3;throw new Error(_0x581e97(0x462));}[_0x2575f3(0x2ec)](){return this;}[_0x2575f3(0x33e)](){var _0x43bf00=_0x2575f3;return this[_0x43bf00(0x283)](),this[_0x43bf00(0x227)]['createInstance'](exports[_0x43bf00(0x2ff)],this['unitID'],this['type'],null,this[_0x43bf00(0x258)],this[_0x43bf00(0x33f)]);}[_0x2575f3(0x452)](){return this;}['_schedule'](_0x1998ca){var _0xc2a993=_0x2575f3;const _0x7a6129=_0x1998ca!=null?_0x1998ca:this[_0xc2a993(0x14a)]();this[_0xc2a993(0x2da)]=new Date()[_0xc2a993(0x156)]()+_0x7a6129,this[_0xc2a993(0x42a)]=setTimeout(()=>{var _0x149a2d=_0xc2a993;this[_0x149a2d(0x283)]();let _0x28f3c8=null;switch(this['type']){case J[_0x149a2d(0x262)]:{_0x28f3c8=Ge(this[_0x149a2d(0x258)],this[_0x149a2d(0x344)],this['_univerInstanceService'],this['_revisionService'],this[_0x149a2d(0x3da)]);break;}case J[_0x149a2d(0x334)]:{this['_pendingMutations'][_0x149a2d(0x3a0)](_0x507f5f=>_0x507f5f['id']===ct['RichTextEditingMutation']['id'])?_0x28f3c8=ei(this[_0x149a2d(0x258)],this[_0x149a2d(0x344)],this['_univerInstanceService'],this[_0x149a2d(0x174)],this[_0x149a2d(0x3da)]):_0x28f3c8=Ge(this['_pendingMutations'],this[_0x149a2d(0x344)],this[_0x149a2d(0x2b7)],this['_revisionService'],this[_0x149a2d(0x3da)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x149a2d(0x24f)]+'\x20in\x20_schedule.');}const {changeset:_0x41a24d,pendingMutations:_0x449e8c}=_0x28f3c8;this['_handler'][_0x149a2d(0x345)](_0x41a24d);const _0x4a8045=_0x449e8c['length']?this[_0x149a2d(0x227)][_0x149a2d(0x293)](exports[_0x149a2d(0x13b)],this[_0x149a2d(0x344)],this['type'],_0x41a24d,_0x449e8c,this[_0x149a2d(0x33f)],void 0x0):this[_0x149a2d(0x227)][_0x149a2d(0x293)](exports[_0x149a2d(0x267)],this[_0x149a2d(0x344)],this[_0x149a2d(0x24f)],_0x41a24d,this[_0x149a2d(0x33f)]);_0x4a8045[_0x149a2d(0x2dc)](),this[_0x149a2d(0x33f)][_0x149a2d(0x379)](this,_0x4a8045);},_0x7a6129);}[_0x2575f3(0x14a)](){var _0x1951f2=_0x2575f3,_0x2591e5;const _0x40500d=this[_0x1951f2(0x3ab)][_0x1951f2(0x3c1)](Y);return(_0x2591e5=_0x40500d==null?void 0x0:_0x40500d['sendChangesetTimeout'])!=null?_0x2591e5:Ut;}['resend'](){var _0x2d1c01=_0x2575f3;throw new Error(_0x2d1c01(0x3d7));}['_clearScheduledTask'](){var _0x3bd93c=_0x2575f3;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3bd93c(0x42a)]=null);}[_0x2575f3(0x255)](_0x281503){var _0x584468=_0x2575f3;return this['_clearScheduledTask'](),this[_0x584468(0x227)]['createInstance'](exports[_0x584468(0x17d)],this['unitID'],this[_0x584468(0x24f)],null,this[_0x584468(0x258)],this[_0x584468(0x33f)],_0x281503);}},exports[_0x2575f3(0x1c0)]=oe([w(0x4,a['Inject'](a[_0x2575f3(0x197)])),w(0x5,a['Inject'](p[_0x2575f3(0x358)])),w(0x6,a[_0x2575f3(0x337)](exports[_0x2575f3(0x3f6)])),w(0x7,a[_0x2575f3(0x104)]),w(0x8,a[_0x2575f3(0x381)]),w(0x9,a['IConfigService']),w(0xa,p[_0x2575f3(0x11d)]),w(0xb,a[_0x2575f3(0x376)]),w(0xc,a[_0x2575f3(0x3d6)]),w(0xd,a[_0x2575f3(0x12b)](K))],exports['PendingState']),exports[_0x2575f3(0x267)]=class extends ae{constructor(_0x54cb3e,_0x251cf5,_0x45459e,_0x3f2a74,_0x2077db,_0x364573,_0x46446e,_0x4a63fa,_0x26e423,_0x3d7867,_0x5bc849){var _0x5b3f14=_0x2575f3;super(_0x54cb3e,_0x251cf5,_0x45459e,[],_0x3f2a74,_0x46446e,_0x3d7867,_0x364573,_0x5bc849),A(this,_0x5b3f14(0x280),'awaiting'),A(this,_0x5b3f14(0x3e2),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x5b3f14(0x227)]=_0x2077db,this[_0x5b3f14(0x3ec)]=_0x4a63fa,this['_transformService']=_0x26e423);}[_0x2575f3(0x1ee)](_0x2abd21){var _0x2b3d12=_0x2575f3;this[_0x2b3d12(0x283)]();const _0x540269=this['_injector'][_0x2b3d12(0x293)](exports['AwaitingWithPendingState'],this[_0x2b3d12(0x344)],this[_0x2b3d12(0x24f)],this[_0x2b3d12(0x3f4)],[_0x2abd21],this[_0x2b3d12(0x33f)],this['_resendTimer']);return _0x540269[_0x2b3d12(0x2dc)](),_0x540269;}[_0x2575f3(0x16c)](_0x5a61d8){var _0x4c2885=_0x2575f3;if(this[_0x4c2885(0x217)](_0x5a61d8))return this[_0x4c2885(0x283)](),this[_0x4c2885(0x227)][_0x4c2885(0x293)](exports['FetchingMissState'],this[_0x4c2885(0x344)],this[_0x4c2885(0x24f)],this[_0x4c2885(0x3f4)],[],null,[_0x5a61d8],this['_handler']);try{const _0x5471c2=this[_0x4c2885(0x141)]['transformChangesets']([_0x5a61d8],[this[_0x4c2885(0x3f4)]],!0x1);if(p[_0x4c2885(0x3a2)](_0x5471c2)){const {c1Prime:_0x51c188,c2Prime:_0x3a3685}=_0x5471c2;this[_0x4c2885(0x405)](_0x51c188[0x0]),_0x3a3685[0x0][_0x4c2885(0x142)]=this[_0x4c2885(0x24d)](),this['_clearScheduledTask']();const _0x151af9=this[_0x4c2885(0x227)][_0x4c2885(0x293)](exports[_0x4c2885(0x267)],this[_0x4c2885(0x344)],this[_0x4c2885(0x24f)],_0x3a3685[0x0],this[_0x4c2885(0x33f)]);return _0x151af9[_0x4c2885(0x2dc)](),_0x151af9;}return this[_0x4c2885(0x255)](!0x1);}catch(_0x4ca8c4){return this[_0x4c2885(0x3ec)][_0x4c2885(0x1c8)](_0x4ca8c4),this[_0x4c2885(0x255)](!0x1);}}['onRemoteAck'](_0x3c4ab0){var _0x521f98=_0x2575f3;this[_0x521f98(0x283)]();const _0x495c6f=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x3c4ab0[_0x521f98(0x445)]<_0x495c6f-0x1)return this;if(this['_checkMissing'](_0x3c4ab0))return this[_0x521f98(0x227)][_0x521f98(0x293)](exports[_0x521f98(0x3f3)],this[_0x521f98(0x344)],this[_0x521f98(0x24f)],null,[],this['_awaitingChangeset'],[],this[_0x521f98(0x33f)]);this[_0x521f98(0x238)]();const _0x4fac37=this[_0x521f98(0x227)][_0x521f98(0x293)](exports['SyncedState'],this[_0x521f98(0x344)],this['type'],this[_0x521f98(0x33f)]);return _0x4fac37[_0x521f98(0x2dc)](),_0x4fac37;}[_0x2575f3(0x124)](_0x5c4986){var _0x24d542=_0x2575f3;return this[_0x24d542(0x255)](!!(_0x5c4986!=null&&_0x5c4986[_0x24d542(0x177)]));}['onRemoteRetry'](_0x1050dd){var _0x26374e=_0x2575f3;return this[_0x26374e(0x3e2)]>ft?this[_0x26374e(0x33e)]():(this['_resendTimer']=St(this[_0x26374e(0x3e2)],{'timeout':this[_0x26374e(0x3e2)],'reqId':_0x1050dd['reqId']}),this[_0x26374e(0x2c7)]=this[_0x26374e(0x2bf)][_0x26374e(0xfe)](({reqId:_0x2c42ae,timeout:_0x2af9f1})=>{var _0x150088=_0x26374e;this[_0x150088(0x422)](_0x2c42ae,_0x2af9f1);}),this);}[_0x2575f3(0x33e)](){var _0x34efda=_0x2575f3;return this[_0x34efda(0x283)](),this[_0x34efda(0x227)][_0x34efda(0x293)](exports['OfflineState'],this[_0x34efda(0x344)],this[_0x34efda(0x24f)],this[_0x34efda(0x3f4)],[],this[_0x34efda(0x33f)]);}[_0x2575f3(0x452)](){return this;}['resend'](){var _0xf8f4bc=_0x2575f3;this[_0xf8f4bc(0x33f)][_0xf8f4bc(0x345)](this[_0xf8f4bc(0x3f4)]);}['_onConflict'](_0x2da862){var _0x11213d=_0x2575f3;return this[_0x11213d(0x283)](),this[_0x11213d(0x227)]['createInstance'](exports['ConflictState'],this[_0x11213d(0x344)],this['type'],this[_0x11213d(0x3f4)],[],this[_0x11213d(0x33f)],_0x2da862);}[_0x2575f3(0x422)](_0x4c2e53,_0xdf7f6a){var _0x3d02b1=_0x2575f3,_0x345105;_0x4c2e53===((_0x345105=this[_0x3d02b1(0x3f4)])==null?void 0x0:_0x345105[_0x3d02b1(0x33b)])&&(this['resend'](),this[_0x3d02b1(0x3e2)]=_0xdf7f6a===0x0?0x3e8:_0xdf7f6a*0x2);}[_0x2575f3(0x283)](){var _0x22d064=_0x2575f3,_0x17cf9b;(_0x17cf9b=this['_sender'])==null||_0x17cf9b[_0x22d064(0x16e)](),this['_resendTimeout']=0x0;}},exports[_0x2575f3(0x267)]=oe([w(0x4,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),w(0x5,a['Inject'](p['RevisionService'])),w(0x6,a[_0x2575f3(0x381)]),w(0x7,a[_0x2575f3(0x104)]),w(0x8,p[_0x2575f3(0x11d)]),w(0x9,a[_0x2575f3(0x3d6)]),w(0xa,a[_0x2575f3(0x12b)](K))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x47ff9a,_0x55250c,_0x2c9e47,_0x4c6447,_0x174b2a,_0x4f8a9e,_0x3460a4,_0x2bad45,_0x4c6c42,_0x555f3f,_0x3b37fb,_0x30efb0,_0x5bf589){var _0x32896e=_0x2575f3;super(_0x47ff9a,_0x55250c,_0x2c9e47,_0x4c6447,_0x174b2a,_0x4c6c42,_0x30efb0,_0x2bad45,_0x5bf589),A(this,'status',_0x32896e(0x15c)),A(this,_0x32896e(0x3e2),0x0),A(this,_0x32896e(0x2bf)),A(this,_0x32896e(0x2c7)),(this[_0x32896e(0x227)]=_0x3460a4,this[_0x32896e(0x3ec)]=_0x555f3f,this[_0x32896e(0x141)]=_0x3b37fb,this['localCacheService']=_0x5bf589,_0x4f8a9e&&(this[_0x32896e(0x2bf)]=_0x4f8a9e,this[_0x32896e(0x2c7)]=this[_0x32896e(0x2bf)][_0x32896e(0xfe)](({reqId:_0x20ed75,timeout:_0x4224e4})=>{var _0x539a44=_0x32896e;this[_0x539a44(0x422)](_0x20ed75,_0x4224e4);})));}[_0x2575f3(0x1ee)](_0x4e9dcf){var _0x1056e4=_0x2575f3;return this[_0x1056e4(0x258)]['push'](_0x4e9dcf),this;}[_0x2575f3(0x16c)](_0x355921){var _0x4a24b5=_0x2575f3;if(this[_0x4a24b5(0x217)](_0x355921))return this['_clearScheduledTask'](),this['_injector'][_0x4a24b5(0x293)](exports[_0x4a24b5(0x3f3)],this['unitID'],this[_0x4a24b5(0x24f)],this[_0x4a24b5(0x3f4)],this[_0x4a24b5(0x258)],null,[_0x355921],this[_0x4a24b5(0x33f)]);try{const _0x333509=this[_0x4a24b5(0x141)][_0x4a24b5(0x3e0)]([_0x355921],[this[_0x4a24b5(0x3f4)]],!0x1);if(p[_0x4a24b5(0x3a2)](_0x333509)){const {c1Prime:_0x560beb,c2Prime:_0x34f876}=_0x333509,_0x1ec80a=this[_0x4a24b5(0x141)][_0x4a24b5(0x458)](_0x560beb[0x0],this[_0x4a24b5(0x258)]);if(p[_0x4a24b5(0x417)](_0x1ec80a)){const {c1Prime:_0x3293f8,m2Prime:_0x3269c3}=_0x1ec80a;return this[_0x4a24b5(0x405)](_0x3293f8),_0x34f876[0x0][_0x4a24b5(0x142)]=this[_0x4a24b5(0x24d)](),this['_clearScheduledTask'](),this[_0x4a24b5(0x227)][_0x4a24b5(0x293)](exports[_0x4a24b5(0x13b)],this[_0x4a24b5(0x344)],this[_0x4a24b5(0x24f)],_0x34f876[0x0],_0x3269c3,this[_0x4a24b5(0x33f)],void 0x0);}throw _0x1ec80a['error'];}throw _0x333509[_0x4a24b5(0x1c8)];}catch(_0xc4f049){return this[_0x4a24b5(0x3ec)][_0x4a24b5(0x1c8)](_0xc4f049),this[_0x4a24b5(0x255)](!0x1);}}[_0x2575f3(0x35e)](_0x3b5910){var _0x3156aa=_0x2575f3;if(this[_0x3156aa(0x283)](),this[_0x3156aa(0x217)](_0x3b5910))return this[_0x3156aa(0x227)][_0x3156aa(0x293)](exports[_0x3156aa(0x3f3)],this[_0x3156aa(0x344)],this[_0x3156aa(0x24f)],null,this[_0x3156aa(0x258)],this['_awaitingChangeset'],[],this[_0x3156aa(0x33f)]);this['_incrementRevisionNumber']();const _0x234a93=this[_0x3156aa(0x227)][_0x3156aa(0x293)](exports[_0x3156aa(0x1c0)],this[_0x3156aa(0x344)],this[_0x3156aa(0x24f)],this[_0x3156aa(0x258)],this[_0x3156aa(0x33f)]);return _0x234a93[_0x3156aa(0x193)](),_0x234a93[_0x3156aa(0x2dc)](),_0x234a93;}[_0x2575f3(0x124)](_0x2d0a9a){return this['_onConflict'](!!(_0x2d0a9a!=null&&_0x2d0a9a['isPermissionRej']));}[_0x2575f3(0x2ec)](_0x4c7db7){var _0x11ed15=_0x2575f3;return this['_resendTimeout']>ft?this[_0x11ed15(0x33e)]():(this[_0x11ed15(0x2bf)]=St(this[_0x11ed15(0x3e2)],{'timeout':this[_0x11ed15(0x3e2)],'reqId':_0x4c7db7['reqId']}),this['_sender']=this['_resendTimer'][_0x11ed15(0xfe)](({reqId:_0xa0b800,timeout:_0x348598})=>{var _0x9eab0=_0x11ed15;this[_0x9eab0(0x422)](_0xa0b800,_0x348598);}),this);}[_0x2575f3(0x33e)](){var _0x129b67=_0x2575f3;return this['_clearScheduledTask'](),this[_0x129b67(0x227)][_0x129b67(0x293)](exports['OfflineState'],this['unitID'],this[_0x129b67(0x24f)],this[_0x129b67(0x3f4)],this[_0x129b67(0x258)],this[_0x129b67(0x33f)]);}['toggleOnline'](){return this;}[_0x2575f3(0x33a)](){var _0x3615fe=_0x2575f3;this[_0x3615fe(0x33f)][_0x3615fe(0x345)](this[_0x3615fe(0x3f4)]);}['_onConflict'](_0x5eeedd){var _0x380926=_0x2575f3;return this[_0x380926(0x283)](),this[_0x380926(0x227)][_0x380926(0x293)](exports[_0x380926(0x17d)],this[_0x380926(0x344)],this[_0x380926(0x24f)],null,this[_0x380926(0x258)],this[_0x380926(0x33f)],_0x5eeedd);}[_0x2575f3(0x422)](_0x310dbf,_0x139ffd){var _0x497715=_0x2575f3,_0x39e460;_0x310dbf===((_0x39e460=this[_0x497715(0x3f4)])==null?void 0x0:_0x39e460[_0x497715(0x33b)])&&(this['resend'](),this['_resendTimeout']=_0x139ffd===0x0?0x3e8:_0x139ffd*0x2);}[_0x2575f3(0x283)](){var _0xf1941b=_0x2575f3,_0x40bc9b;(_0x40bc9b=this['_sender'])==null||_0x40bc9b[_0xf1941b(0x16e)](),this[_0xf1941b(0x3e2)]=0x0;}},exports[_0x2575f3(0x13b)]=oe([w(0x6,a['Inject'](a[_0x2575f3(0x197)])),w(0x7,a[_0x2575f3(0x337)](p[_0x2575f3(0x358)])),w(0x8,a['ICommandService']),w(0x9,a[_0x2575f3(0x104)]),w(0xa,p[_0x2575f3(0x11d)]),w(0xb,a[_0x2575f3(0x3d6)]),w(0xc,a[_0x2575f3(0x12b)](K))],exports[_0x2575f3(0x13b)]),exports[_0x2575f3(0x17d)]=class extends ae{constructor(_0x1ce185,_0x25e751,_0x3b7a2c,_0x5d3c30,_0x2dcfb9,_0x237c0c=!0x1,_0x3643b8,_0x4f1a01,_0x5db665,_0x2d4558,_0x2a2e4e,_0xa3001,_0x4462c3){var _0x1f53ac=_0x2575f3;super(_0x1ce185,_0x25e751,_0x3b7a2c,_0x5d3c30,_0x2dcfb9,_0x4f1a01,_0x5db665,_0x2d4558,_0x4462c3),A(this,_0x1f53ac(0x280),'conflict'),(this[_0x1f53ac(0x31e)]=_0x237c0c,this['_permissionService']=_0x3643b8,this['_localeService']=_0x2a2e4e,this['_collaborationUIEventService']=_0xa3001,this['localCacheService']=_0x4462c3,this[_0x1f53ac(0x18d)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x2575f3(0x1ee)](){return this;}[_0x2575f3(0x16c)](){return this;}['onRemoteAck'](){return this;}[_0x2575f3(0x124)](){return this;}[_0x2575f3(0x2ec)](){return this;}[_0x2575f3(0x33e)](){return this;}[_0x2575f3(0x452)](){return this;}[_0x2575f3(0x33a)](){var _0x1b60e1=_0x2575f3;throw new Error(_0x1b60e1(0x248));}[_0x2575f3(0x36a)](){var _0x120c97=_0x2575f3,_0x38883b;(_0x38883b=this[_0x120c97(0x180)])==null||_0x38883b[_0x120c97(0x438)](this[_0x120c97(0x344)],this['type'],null,[]);}[_0x2575f3(0x18d)](){var _0x3a2cbc=_0x2575f3;this[_0x3a2cbc(0x31e)]?this[_0x3a2cbc(0x332)]['emitEvent']({'id':Z[_0x3a2cbc(0x247)]}):this[_0x3a2cbc(0x332)][_0x3a2cbc(0x161)]({'id':Z['CONFLICT']});}['_disableEditing'](){var _0x224e47=_0x2575f3;this['_permissionService'][_0x224e47(0x40d)](new X['WorkbookEditablePermission'](this[_0x224e47(0x344)])['id'],!0x1);}},exports[_0x2575f3(0x17d)]=oe([w(0x6,a[_0x2575f3(0x337)](a[_0x2575f3(0x25b)])),w(0x7,a[_0x2575f3(0x381)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x2575f3(0x337)](p[_0x2575f3(0x358)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x2575f3(0x337)](ee)),w(0xc,a['Optional'](K))],exports[_0x2575f3(0x17d)]),exports[_0x2575f3(0x2ff)]=class extends ae{constructor(_0x3111f0,_0x492a47,_0x36e756,_0x3832c6,_0x1752a4,_0x33c369,_0x230bcf,_0x308025,_0x2e8922,_0x2bf8b2){var _0x41227e=_0x2575f3;super(_0x3111f0,_0x492a47,_0x36e756,_0x3832c6,_0x1752a4,_0x308025,_0x2e8922,_0x230bcf,_0x2bf8b2),A(this,_0x41227e(0x280),'offline'),this[_0x41227e(0x227)]=_0x33c369;}[_0x2575f3(0x1ee)](_0x192775){var _0xd8282b=_0x2575f3;return this[_0xd8282b(0x258)][_0xd8282b(0x249)](_0x192775),this[_0xd8282b(0x2dc)](),this;}['onRemoteChangeset'](_0x1d91c1){var _0x284d0e=_0x2575f3;throw new Error(_0x284d0e(0x132));}['onRemoteAck'](){var _0x321ccc=_0x2575f3;throw new Error(_0x321ccc(0x346));}['onRemoteRej'](){var _0x536df8=_0x2575f3;throw new Error(_0x536df8(0x176));}[_0x2575f3(0x2ec)](){return this;}[_0x2575f3(0x33e)](){return this;}[_0x2575f3(0x452)](){var _0x445122=_0x2575f3;const {_injector:_0x301fdb,_pendingMutations:_0x58f633,_awaitingChangeset:_0x11d3bb,unitID:_0x2ecb57,_handler:_0x5a3be2,type:_0x107b18}=this,_0x8c44cb=It(_0x301fdb,_0x2ecb57,_0x107b18,_0x11d3bb,_0x58f633,_0x5a3be2);return _0x8c44cb instanceof exports[_0x445122(0x1c0)]?_0x8c44cb[_0x445122(0x193)]():(_0x8c44cb instanceof exports[_0x445122(0x13b)]||_0x8c44cb instanceof exports[_0x445122(0x267)])&&_0x8c44cb['resend'](),_0x8c44cb;}[_0x2575f3(0x33a)](){var _0x4a4137=_0x2575f3;throw new Error(_0x4a4137(0x31f));}},exports[_0x2575f3(0x2ff)]=oe([w(0x5,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),w(0x6,a[_0x2575f3(0x337)](p[_0x2575f3(0x358)])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x2575f3(0x12b)](K))],exports[_0x2575f3(0x2ff)]),exports[_0x2575f3(0x3f3)]=class extends ae{constructor(_0x35c33c,_0x205a42,_0x1a88f8,_0x214883,_0x589f97,_0x357f07,_0x22ecef,_0x4812a9,_0x17d07b,_0xe84d0,_0x3bb7e9,_0xda3ad3,_0x4d0e2e,_0x1b077f){var _0x41f30d=_0x2575f3;super(_0x35c33c,_0x205a42,_0x1a88f8,_0x214883,_0x22ecef,_0x3bb7e9,_0xda3ad3,_0x17d07b,_0x1b077f),A(this,_0x41f30d(0x280),_0x41f30d(0x21f)),(this['_acknowledgedAwaitingChangeset']=_0x589f97,this[_0x41f30d(0xf8)]=_0x357f07,this[_0x41f30d(0x227)]=_0x4812a9,this[_0x41f30d(0x3ec)]=_0xe84d0,this['_transformService']=_0x4d0e2e,this[_0x41f30d(0x2d7)]=_0x1b077f);}[_0x2575f3(0x3a9)](_0x16e5b6){var _0xfd154=_0x2575f3;try{const _0x2fd8b8=[..._0x16e5b6,...this[_0xfd154(0xf8)]],_0x4b410c=[this[_0xfd154(0x3f4)]||this[_0xfd154(0x36f)]][_0xfd154(0x1c2)](_0x4ff97f=>!!_0x4ff97f);let _0x47c1d4,_0x599c9d;if(_0x4b410c[_0xfd154(0x42c)]){const _0x4ea4f1=this[_0xfd154(0x141)][_0xfd154(0x3e0)](_0x2fd8b8,_0x4b410c,!0x1);if(!p['isTransformChangesetsSuccess'](_0x4ea4f1))throw _0x4ea4f1[_0xfd154(0x1c8)];_0x47c1d4=_0x4ea4f1[_0xfd154(0x29c)],_0x599c9d=_0x4ea4f1[_0xfd154(0x256)];}else _0x47c1d4=_0x2fd8b8,_0x599c9d=[];let _0x10f5a5=this['_pendingMutations'];_0x47c1d4[_0xfd154(0x1d6)](_0xbdbadd=>{var _0x403ac6=_0xfd154;let _0x6780ab;if(_0x10f5a5['length']){const _0x18400d=this['_transformService']['transformMutationsWithChangeset'](_0xbdbadd,_0x10f5a5);if(!p[_0x403ac6(0x417)](_0x18400d))throw _0x18400d['error'];_0x6780ab=_0x18400d['c1Prime'],_0x10f5a5=_0x18400d['m2Prime'];}else _0x6780ab=_0xbdbadd;this['_executeRemoteChangeset'](_0x6780ab);}),this['_acknowledgedAwaitingChangeset']&&this[_0xfd154(0x238)](),this['_awaitingChangeset']&&_0x599c9d[_0xfd154(0x42c)]&&(_0x599c9d[0x0][_0xfd154(0x142)]=this['_getCurrentRevision']());let _0xc5d7d3;if(this['_awaitingChangeset']&&_0x10f5a5[_0xfd154(0x42c)]!==0x0)_0xc5d7d3=this[_0xfd154(0x227)]['createInstance'](exports['AwaitingWithPendingState'],this[_0xfd154(0x344)],this[_0xfd154(0x24f)],_0x599c9d[0x0],_0x10f5a5,this[_0xfd154(0x33f)],void 0x0);else{if(this[_0xfd154(0x3f4)]&&_0x10f5a5[_0xfd154(0x42c)]===0x0)_0x599c9d[0x0]['baseRev']=this[_0xfd154(0x24d)](),_0xc5d7d3=this['_injector'][_0xfd154(0x293)](exports[_0xfd154(0x267)],this[_0xfd154(0x344)],this[_0xfd154(0x24f)],_0x599c9d[0x0],this[_0xfd154(0x33f)]);else{if(_0x10f5a5[_0xfd154(0x42c)]!==0x0){const _0x7199d2=this[_0xfd154(0x227)][_0xfd154(0x293)](exports[_0xfd154(0x1c0)],this[_0xfd154(0x344)],this[_0xfd154(0x24f)],_0x10f5a5,this[_0xfd154(0x33f)]);_0x7199d2[_0xfd154(0x193)](),_0xc5d7d3=_0x7199d2;}else _0xc5d7d3=this['_injector'][_0xfd154(0x293)](exports[_0xfd154(0x363)],this[_0xfd154(0x344)],this[_0xfd154(0x24f)],this[_0xfd154(0x33f)]);}}return _0xc5d7d3[_0xfd154(0x2dc)](),_0xc5d7d3;}catch(_0x444e0d){return this[_0xfd154(0x3ec)][_0xfd154(0x1c8)](_0xfd154(0x2f9),_0xfd154(0x340),_0x444e0d),this[_0xfd154(0x227)]['createInstance'](exports[_0xfd154(0x17d)],this['unitID'],this[_0xfd154(0x24f)],this[_0xfd154(0x3f4)],this[_0xfd154(0x258)],this[_0xfd154(0x33f)],!0x1);}}['resend'](){var _0x31b1cf=_0x2575f3;throw new Error(_0x31b1cf(0x3c7));}[_0x2575f3(0x1ee)](_0x545cb6){var _0x14bde6=_0x2575f3;return this[_0x14bde6(0x258)]['push'](_0x545cb6),this;}[_0x2575f3(0x16c)](_0x21cd6c){var _0x3b5dce=_0x2575f3;return this[_0x3b5dce(0xf8)][_0x3b5dce(0x249)](_0x21cd6c),this;}[_0x2575f3(0x35e)](_0x319838){var _0x424e88=_0x2575f3;if(this[_0x424e88(0x3f4)])return this[_0x424e88(0x36f)]=this[_0x424e88(0x3f4)],this[_0x424e88(0x3f4)]=null,this;throw new Error(_0x424e88(0x14d));}['onRemoteRej'](_0x20fbde){var _0x2b32e7=_0x2575f3;return this[_0x2b32e7(0x255)](!!(_0x20fbde!=null&&_0x20fbde['isPermissionRej']));}[_0x2575f3(0x2ec)](){return this;}[_0x2575f3(0x33e)](){var _0x16abd4=_0x2575f3;return this[_0x16abd4(0x227)][_0x16abd4(0x293)](exports[_0x16abd4(0x2ff)],this[_0x16abd4(0x344)],this['type'],this[_0x16abd4(0x3f4)],this['_pendingMutations'],this[_0x16abd4(0x33f)]);}['toggleOnline'](){return this;}['_onConflict'](_0x269741){var _0x17efe6=_0x2575f3;return this[_0x17efe6(0x227)]['createInstance'](exports[_0x17efe6(0x17d)],this['unitID'],this[_0x17efe6(0x24f)],this[_0x17efe6(0x3f4)],this['_pendingMutations'],this[_0x17efe6(0x33f)],_0x269741);}},exports[_0x2575f3(0x3f3)]=oe([w(0x7,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),w(0x8,a[_0x2575f3(0x337)](p['RevisionService'])),w(0x9,a[_0x2575f3(0x104)]),w(0xa,a[_0x2575f3(0x381)]),w(0xb,a[_0x2575f3(0x3d6)]),w(0xc,p[_0x2575f3(0x11d)]),w(0xd,a[_0x2575f3(0x12b)](K))],exports[_0x2575f3(0x3f3)]);function It(_0x14569d,_0x4e49e0,_0x5170be,_0xfd8dd4,_0x667548,_0x21e7ff){var _0x42ac60=_0x2575f3;return _0xfd8dd4&&_0x667548[_0x42ac60(0x42c)]?_0x14569d[_0x42ac60(0x293)](exports['AwaitingWithPendingState'],_0x4e49e0,_0x5170be,_0xfd8dd4,_0x667548,_0x21e7ff,void 0x0):_0xfd8dd4?_0x14569d[_0x42ac60(0x293)](exports[_0x42ac60(0x267)],_0x4e49e0,_0x5170be,_0xfd8dd4,_0x21e7ff):_0x667548[_0x42ac60(0x42c)]?_0x14569d['createInstance'](exports[_0x42ac60(0x1c0)],_0x4e49e0,_0x5170be,_0x667548,_0x21e7ff):_0x14569d['createInstance'](exports[_0x42ac60(0x363)],_0x4e49e0,_0x5170be,_0x21e7ff);}var ni=Object[_0x2575f3(0x210)],Be=(_0x477744,_0xfcadcf,_0x120ae0,_0x67dab9)=>{var _0x12e9a3=_0x2575f3;for(var _0x4c2950=_0x67dab9>0x1?void 0x0:_0x67dab9?ni(_0xfcadcf,_0x120ae0):_0xfcadcf,_0x3cb91b=_0x477744[_0x12e9a3(0x42c)]-0x1,_0x38734b;_0x3cb91b>=0x0;_0x3cb91b--)(_0x38734b=_0x477744[_0x3cb91b])&&(_0x4c2950=_0x38734b(_0x4c2950)||_0x4c2950);return _0x4c2950;},j=(_0xbb62c,_0x4820d6)=>(_0x977519,_0x215d4a)=>_0x4820d6(_0x977519,_0x215d4a,_0xbb62c);exports[_0x2575f3(0x27c)]=class extends a[_0x2575f3(0x2ac)]{constructor(_0x31f211,_0x43f5d9,_0x2cd2a3,_0x49d4d3,_0xd13bc6,_0x21879b,_0x34e90f,_0x5f4a28,_0x1a5415,_0x1ab1fe,_0x49e00a,_0x488426,_0x1844a2){var _0x2ba496=_0x2575f3;super(),A(this,_0x2ba496(0x162),new H[(_0x2ba496(0x21b))](null)),A(this,_0x2ba496(0x2e4),this['_state$'][_0x2ba496(0x3e8)]()),A(this,_0x2ba496(0x30d)),A(this,_0x2ba496(0x361),!0x1),A(this,_0x2ba496(0x139),''),A(this,_0x2ba496(0x135),0x0),A(this,_0x2ba496(0x299),this[_0x2ba496(0x2e4)][_0x2ba496(0x410)](H['map'](_0x5f098c=>_0x5f098c?_0x5f098c[_0x2ba496(0x280)]:je[_0x2ba496(0x2c9)]),H[_0x2ba496(0x2eb)](0x1))),A(this,_0x2ba496(0x1d2),!0x1),A(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x31f211,this[_0x2ba496(0x41a)]=_0x43f5d9,this['_type']=_0x2cd2a3,this[_0x2ba496(0x227)]=_0x49d4d3,this[_0x2ba496(0x1eb)]=_0xd13bc6,this[_0x2ba496(0x157)]=_0x21879b,this[_0x2ba496(0x174)]=_0x34e90f,this[_0x2ba496(0x20d)]=_0x5f4a28,this['_logService']=_0x1a5415,this[_0x2ba496(0x17c)]=_0x1ab1fe,this[_0x2ba496(0x3d5)]=_0x49e00a,this['_singleActiveUnitService']=_0x488426,this[_0x2ba496(0x180)]=_0x1844a2);}get[_0x2575f3(0x31b)](){var _0x93e2c0=_0x2575f3;return this[_0x93e2c0(0x30d)];}async['init'](){var _0x340a04=_0x2575f3;if(this['state'])throw new Error(_0x340a04(0x3e6));await this[_0x340a04(0x2e9)]();}['pauseCollaboration'](){var _0xf7e367=_0x2575f3;return this[_0xf7e367(0x361)]=!0x0,a['toDisposable'](()=>{var _0x4aae77=_0xf7e367;this[_0x4aae77(0x361)]=!0x1,this[_0x4aae77(0x1ff)]();});}[_0x2575f3(0x191)](_0x3f9c90){var _0x2bb411=_0x2575f3;this[_0x2bb411(0x31d)](_0x3f9c90);}[_0x2575f3(0x41e)](_0x6a197a){var _0x1c9a70=_0x2575f3;this[_0x1c9a70(0x30d)]=_0x6a197a,this[_0x1c9a70(0x162)][_0x1c9a70(0x2c0)](_0x6a197a);}async[_0x2575f3(0x2e9)](){var _0x5a0b0b=_0x2575f3,_0x1d06b3;this[_0x5a0b0b(0x41e)](await this[_0x5a0b0b(0x364)]()),this[_0x5a0b0b(0x2ea)]&&((_0x1d06b3=this[_0x5a0b0b(0x2ea)])==null||_0x1d06b3['editingUnit'](this[_0x5a0b0b(0x344)]),this['disposeWithMe'](this[_0x5a0b0b(0x2ea)][_0x5a0b0b(0x391)](this[_0x5a0b0b(0x344)])[_0x5a0b0b(0xfe)](_0x301610=>{var _0x4982cf=_0x5a0b0b;this[_0x4982cf(0x3ec)][_0x4982cf(0x18b)](_0x4982cf(0x148),_0x4982cf(0x1e3),_0x301610),_0x301610===He[_0x4982cf(0x352)]?(this[_0x4982cf(0x20d)]['emitEvent']({'id':Z[_0x4982cf(0x383)]}),this[_0x4982cf(0x3d5)][_0x4982cf(0x40d)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x4982cf(0x3d5)][_0x4982cf(0x3cc)](!0x1)):(this[_0x4982cf(0x3d5)][_0x4982cf(0x40d)](new X[(_0x4982cf(0x3eb))](this[_0x4982cf(0x344)])['id'],!0x0),this[_0x4982cf(0x3d5)][_0x4982cf(0x3cc)](!0x0));})));let _0x25cc95=!0x1;return this[_0x5a0b0b(0x378)](this[_0x5a0b0b(0x41a)][_0x5a0b0b(0x2ef)][_0x5a0b0b(0xfe)](_0x28c06a=>{var _0x3df66e=_0x5a0b0b;_0x28c06a===re[_0x3df66e(0x3de)]?this['_toggleOnline'](_0x25cc95):_0x28c06a===re[_0x3df66e(0x2c9)]&&(_0x25cc95=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session']['event$'][_0x5a0b0b(0xfe)](_0x26114b=>{var _0x34ca97=_0x5a0b0b;try{switch(_0x26114b['eventID']){case p[_0x34ca97(0x19b)][_0x34ca97(0x212)]:{this['_onRemoteChangeset'](p['parseProtocolChangeset'](_0x26114b[_0x34ca97(0x39a)]));break;}case p['CollaborationEvent'][_0x34ca97(0x11a)]:{this[_0x34ca97(0x2a0)](_0x26114b[_0x34ca97(0x39a)]);break;}case p[_0x34ca97(0x19b)][_0x34ca97(0x16f)]:{this[_0x34ca97(0x40a)]();break;}case p[_0x34ca97(0x19b)][_0x34ca97(0x11b)]:{this[_0x34ca97(0x354)](_0x26114b['data']);break;}case p[_0x34ca97(0x19b)][_0x34ca97(0x2ce)]:{this[_0x34ca97(0x213)](_0x26114b['data'][_0x34ca97(0x3d0)][_0x34ca97(0x436)](_0x1220ee=>p['parseProtocolChangeset'](_0x1220ee)));break;}case p[_0x34ca97(0x19b)]['PERMISSION_REJ']:{this[_0x34ca97(0x40a)]({'isPermissionRej':!0x0});break;}case p[_0x34ca97(0x19b)][_0x34ca97(0x2f1)]:break;}}catch(_0xa16217){throw console[_0x34ca97(0x1c8)](_0x34ca97(0x2fc),_0xa16217),_0xa16217;}})),this[_0x5a0b0b(0x30d)];}[_0x2575f3(0x20f)](){var _0x620b64=_0x2575f3;this[_0x620b64(0x1d2)]=!0x1;}[_0x2575f3(0x2be)](){var _0x4d3db4=_0x2575f3;if(this[_0x4d3db4(0x1d2)])throw new Error(_0x4d3db4(0x300));this[_0x4d3db4(0x1d2)]=!0x0;}[_0x2575f3(0x31d)](_0x49d362){var _0x5d2d77=_0x2575f3;this[_0x5d2d77(0x2be)](),this[_0x5d2d77(0x41e)](this[_0x5d2d77(0x30d)][_0x5d2d77(0x1ee)](_0x49d362)),this['_unlockTransition']();}[_0x2575f3(0x2ee)](_0x16678f){var _0x487db0=_0x2575f3;if(!(_0x16678f[_0x487db0(0x445)]<=this[_0x487db0(0x174)][_0x487db0(0x190)](this[_0x487db0(0x344)]))){if(this[_0x487db0(0x361)]){this['_remoteChangesetQueue'][_0x487db0(0x249)](_0x16678f);return;}this[_0x487db0(0x32f)](_0x16678f);}}[_0x2575f3(0x1ff)](){var _0x58d24a=_0x2575f3;this[_0x58d24a(0x208)]['forEach'](_0x2edcad=>this[_0x58d24a(0x32f)](_0x2edcad)),this[_0x58d24a(0x208)]=[];}[_0x2575f3(0x32f)](_0x30da6b){var _0x118b72=_0x2575f3;const _0x1ca1c6=this[_0x118b72(0x1eb)][_0x118b72(0x25a)]['fetchThroughInterceptors'](this[_0x118b72(0x1eb)][_0x118b72(0x25a)][_0x118b72(0xf1)]()[_0x118b72(0x14f)])(_0x30da6b[_0x118b72(0x23c)],null)||_0x30da6b[_0x118b72(0x23c)],_0x1eab69={..._0x30da6b,'mutations':_0x1ca1c6};this[_0x118b72(0x2be)](),this['_updateState'](this[_0x118b72(0x30d)][_0x118b72(0x16c)](_0x1eab69)),this['_unlockTransition']();}[_0x2575f3(0x2a0)](_0x2d5206){var _0x1f0732=_0x2575f3;this[_0x1f0732(0x2be)](),this[_0x1f0732(0x41e)](this[_0x1f0732(0x30d)]['onRemoteAck'](_0x2d5206)),this[_0x1f0732(0x20f)]();}[_0x2575f3(0x40a)](_0xacca5f){var _0x5f20f7=_0x2575f3;this[_0x5f20f7(0x2be)](),this['_updateState'](this[_0x5f20f7(0x30d)][_0x5f20f7(0x124)](_0xacca5f)),this[_0x5f20f7(0x20f)]();}[_0x2575f3(0x354)](_0xa5c8bb){var _0x4b78cf=_0x2575f3;this[_0x4b78cf(0x2be)](),this[_0x4b78cf(0x41e)](this[_0x4b78cf(0x30d)]['onRemoteRetry'](_0xa5c8bb)),this[_0x4b78cf(0x20f)]();}['_onFetchMissResult'](_0x4d09f7){var _0x16d8db=_0x2575f3;if(!(this[_0x16d8db(0x30d)]instanceof exports['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xe58975=_0x4d09f7[_0x16d8db(0x436)](_0x27ffee=>{var _0x48f0bf=_0x16d8db;const _0x24586a=this[_0x48f0bf(0x1eb)][_0x48f0bf(0x25a)][_0x48f0bf(0x367)](this[_0x48f0bf(0x1eb)]['interceptor'][_0x48f0bf(0xf1)]()[_0x48f0bf(0x14f)])(_0x27ffee['mutations'],null)||_0x27ffee[_0x48f0bf(0x23c)];return{..._0x27ffee,'mutations':_0x24586a};});this['_lockTransition'](),this[_0x16d8db(0x41e)](this[_0x16d8db(0x30d)][_0x16d8db(0x3a9)](_0xe58975)),this[_0x16d8db(0x20f)]();}[_0x2575f3(0x216)](){var _0xc63d82=_0x2575f3;this[_0xc63d82(0x2be)](),this[_0xc63d82(0x41e)](this[_0xc63d82(0x30d)][_0xc63d82(0x33e)]()),this['_unlockTransition']();}[_0x2575f3(0x171)](_0x51ff22=!0x1){var _0x121791=_0x2575f3;this['_lockTransition'](),this[_0x121791(0x41e)](this[_0x121791(0x30d)]['toggleOnline']()),this['_unlockTransition']();const _0x24914a=this[_0x121791(0x30d)];_0x51ff22&&_0x24914a instanceof exports[_0x121791(0x363)]&&(this[_0x121791(0x2be)](),this[_0x121791(0x41e)](_0x24914a[_0x121791(0x173)]()),this[_0x121791(0x20f)]());}async['_createInitialState'](){return new Promise(_0x53ff28=>{var _0x3c0f61=_0x4419;this[_0x3c0f61(0x41a)][_0x3c0f61(0x2ef)][_0x3c0f61(0x410)](H[_0x3c0f61(0x2fb)](0x1))['subscribe'](async _0x3da62f=>{var _0x53d857=_0x3c0f61;_0x53ff28(await this[_0x53d857(0x1cb)](_0x3da62f===re[_0x53d857(0x3de)]));});});}[_0x2575f3(0x1c4)](){var _0x41369b=_0x2575f3;const _0xe433e0=this[_0x41369b(0x344)];return{'onStateChange':(_0x2effc0,_0x43cefc)=>{var _0x152e1c=_0x41369b;if(_0x2effc0!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2effc0[_0x152e1c(0x280)]+_0x152e1c(0x37f)+_0x43cefc[_0x152e1c(0x280)]+_0x152e1c(0x1a9)+this[_0x152e1c(0x30d)]['status']);this[_0x152e1c(0x41e)](_0x43cefc);},'onSendChangeset':_0x1dc7e3=>{var _0x3e6ac0=_0x41369b;_0x1dc7e3[_0x3e6ac0(0x19c)]||(_0x1dc7e3[_0x3e6ac0(0x19c)]=this[_0x3e6ac0(0x139)],_0x1dc7e3['reqId']=++this[_0x3e6ac0(0x135)]);const _0x3980a5={'eventID':p['CollaborationEvent'][_0x3e6ac0(0x32d)],'data':{'unitID':_0x1dc7e3['unitID'],'unitType':this[_0x3e6ac0(0x1da)],'changeset':_0x1dc7e3,'memberID':this[_0x3e6ac0(0x41a)][_0x3e6ac0(0x28e)]()}};this['session'][_0x3e6ac0(0x466)](_0x3980a5,this['unitID']);},'onMissingChangesets':({from:_0x385b49,to:_0x2ddb4e})=>{var _0x2fc3f2=_0x41369b;this[_0x2fc3f2(0x3ec)]['debug'](_0x2fc3f2(0x148),_0x2fc3f2(0x3b8)+_0x385b49+'\x20to\x20'+_0x2ddb4e);const _0x875378={'eventID':p[_0x2fc3f2(0x19b)][_0x2fc3f2(0x424)],'data':{'unitID':_0xe433e0,'unitType':this[_0x2fc3f2(0x1da)],'from':_0x385b49,'to':_0x2ddb4e}};this['session'][_0x2fc3f2(0x466)](_0x875378,this[_0x2fc3f2(0x344)]);}};}async[_0x2575f3(0x1cb)](_0x2eaa26){var _0x2401bc=_0x2575f3,_0x5eed57,_0x4b4dd3,_0x1e3435;const _0x1dcea5=await((_0x5eed57=this[_0x2401bc(0x180)])==null?void 0x0:_0x5eed57[_0x2401bc(0x278)](this['unitID'])),_0x552c80=(_0x4b4dd3=_0x1dcea5==null?void 0x0:_0x1dcea5[_0x2401bc(0x23c)])!=null?_0x4b4dd3:[],_0x1bc417=(_0x1e3435=_0x1dcea5==null?void 0x0:_0x1dcea5[_0x2401bc(0x1b3)])!=null?_0x1e3435:null,_0x413dc8=!!(_0x1bc417!=null&&_0x1bc417['sid'])&&!!(_0x1bc417!=null&&_0x1bc417[_0x2401bc(0x33b)]);this[_0x2401bc(0x139)]=_0x413dc8?_0x1bc417[_0x2401bc(0x19c)]:p['uuidv4'](),this[_0x2401bc(0x135)]=_0x413dc8?_0x1bc417[_0x2401bc(0x33b)]:0x0;const _0x37f664=this['unitID'];try{this[_0x2401bc(0x3dc)](_0x1bc417,_0x552c80);}catch(_0xd60494){this[_0x2401bc(0x3ec)][_0x2401bc(0x1c8)](_0xd60494);}const _0x177640=this[_0x2401bc(0x1c4)]();if(_0x2eaa26){const _0x2e0861=It(this[_0x2401bc(0x227)],_0x37f664,this[_0x2401bc(0x1da)],_0x1bc417,_0x552c80,_0x177640);return _0x2e0861 instanceof exports[_0x2401bc(0x1c0)]?_0x2e0861['_schedule']():(_0x2e0861 instanceof exports['AwaitingWithPendingState']||_0x2e0861 instanceof exports[_0x2401bc(0x267)])&&_0x2e0861[_0x2401bc(0x33a)](),_0x2e0861;}return this[_0x2401bc(0x227)][_0x2401bc(0x293)](exports[_0x2401bc(0x2ff)],_0x37f664,this[_0x2401bc(0x1da)],_0x1bc417,_0x552c80,_0x177640);}[_0x2575f3(0x3dc)](_0x230fb7,_0x5b56b1){var _0x5879ec=_0x2575f3,_0x7eac15,_0x4207b4;const _0xa6f3d7=this[_0x5879ec(0x1eb)][_0x5879ec(0x25a)][_0x5879ec(0x367)](this[_0x5879ec(0x1eb)][_0x5879ec(0x25a)][_0x5879ec(0xf1)]()[_0x5879ec(0x14f)]);(_0x7eac15=_0xa6f3d7((_0x230fb7==null?void 0x0:_0x230fb7[_0x5879ec(0x23c)])||[],null))==null||_0x7eac15[_0x5879ec(0x1d6)](_0x3ee659=>this[_0x5879ec(0x17c)][_0x5879ec(0x374)](_0x3ee659['id'],_0x3ee659[_0x5879ec(0x319)])),(_0x4207b4=_0xa6f3d7(_0x5b56b1||[],null))==null||_0x4207b4[_0x5879ec(0x1d6)](_0x29184a=>this[_0x5879ec(0x17c)]['executeCommand'](_0x29184a['id'],_0x29184a[_0x5879ec(0x319)]));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x2575f3(0x337)](a['Injector'])),j(0x4,a[_0x2575f3(0x337)](p['CompressMutationService'])),j(0x5,a[_0x2575f3(0x337)](a[_0x2575f3(0x14b)])),j(0x6,a[_0x2575f3(0x337)](p[_0x2575f3(0x358)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x2575f3(0x104)]),j(0x9,a[_0x2575f3(0x381)]),j(0xa,a[_0x2575f3(0x25b)]),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0xd19279,_0x2a5492,_0x40130a,_0x301147,_0x26d710,_0x359cfb,_0x5b4cf6,_0x26fa0f,_0x181472,_0x187e4b,_0x8d0988,_0x479dcd,_0x248d36){var _0x555aa9=_0x2575f3;super(_0xd19279,_0x40130a,_0x2a5492,_0x301147,_0x26d710,_0x359cfb,_0x5b4cf6,_0x26fa0f,_0x181472,_0x187e4b,_0x8d0988,_0x479dcd,_0x248d36),A(this,_0x555aa9(0x32c),null),(this[_0x555aa9(0x344)]=_0xd19279,this[_0x555aa9(0x24f)]=_0x2a5492);}[_0x2575f3(0x297)](_0x253d58){this['_handlerCallback']=_0x253d58;}['dispose'](){var _0x1605fd=_0x2575f3;this[_0x1605fd(0x32c)]=null,super[_0x1605fd(0x39c)]();}[_0x2575f3(0x1c4)](){var _0x2d89b4=_0x2575f3;const _0x4cefb7=super[_0x2d89b4(0x1c4)]();return _0x4cefb7[_0x2d89b4(0x3b5)]=_0x318172=>{var _0x416279=_0x2d89b4,_0x81ef0e,_0x28dc7f;return(_0x28dc7f=(_0x81ef0e=this[_0x416279(0x32c)])==null?void 0x0:_0x81ef0e[_0x416279(0x3b5)])==null?void 0x0:_0x28dc7f[_0x416279(0x2c3)](_0x81ef0e,_0x318172);},_0x4cefb7[_0x2d89b4(0x25e)]=_0x4e8e9d=>{var _0x3cd9be=_0x2d89b4,_0x5f01f2,_0x2a1057;return(_0x2a1057=(_0x5f01f2=this['_handlerCallback'])==null?void 0x0:_0x5f01f2[_0x3cd9be(0x25e)])==null?void 0x0:_0x2a1057['call'](_0x5f01f2,_0x4e8e9d);},_0x4cefb7[_0x2d89b4(0xff)]=_0x5981d6=>{var _0x29e94c=_0x2d89b4,_0x49f47a,_0x1a7014;return(_0x1a7014=(_0x49f47a=this[_0x29e94c(0x32c)])==null?void 0x0:_0x49f47a[_0x29e94c(0xff)])==null?void 0x0:_0x1a7014[_0x29e94c(0x2c3)](_0x49f47a,_0x5981d6);},_0x4cefb7['onSyncEditingCollabCursor']=_0x513bec=>{var _0x29a5ad=_0x2d89b4,_0x58671c,_0x1fa2a9;return(_0x1fa2a9=(_0x58671c=this[_0x29a5ad(0x32c)])==null?void 0x0:_0x58671c['onSyncEditingCollabCursor'])==null?void 0x0:_0x1fa2a9[_0x29a5ad(0x2c3)](_0x58671c,_0x513bec);},_0x4cefb7['onTransformRemoteChangesetByIMECache']=_0x32a1fb=>{var _0x4a31e1=_0x2d89b4,_0x1be905,_0x137501,_0x101ac2;if(!((_0x1be905=this[_0x4a31e1(0x32c)])!=null&&_0x1be905[_0x4a31e1(0x222)]))throw new Error(_0x4a31e1(0x12e));return(_0x101ac2=(_0x137501=this[_0x4a31e1(0x32c)])==null?void 0x0:_0x137501[_0x4a31e1(0x222)])==null?void 0x0:_0x101ac2['call'](_0x137501,_0x32a1fb);},_0x4cefb7[_0x2d89b4(0x33d)]=_0x3b978c=>{var _0x55f95a=_0x2d89b4,_0x58b237,_0x31960e,_0x583ed4;if(!((_0x58b237=this[_0x55f95a(0x32c)])!=null&&_0x58b237[_0x55f95a(0x33d)]))throw new Error(_0x55f95a(0x1f5));return(_0x583ed4=(_0x31960e=this[_0x55f95a(0x32c)])==null?void 0x0:_0x31960e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x583ed4['call'](_0x31960e,_0x3b978c);},_0x4cefb7;}async[_0x2575f3(0x2e9)](){var _0xc2b79f=_0x2575f3;const _0x208f5f=await super[_0xc2b79f(0x2e9)]();return this[_0xc2b79f(0x378)](this[_0xc2b79f(0x17c)]['onCommandExecuted']((_0x5e5ec7,_0x2dde46)=>{var _0x130450=_0xc2b79f;if(_0x5e5ec7[_0x130450(0x24f)]!==a[_0x130450(0x2f6)][_0x130450(0x3ff)]||_0x2dde46!=null&&_0x2dde46[_0x130450(0x215)]||_0x2dde46!=null&&_0x2dde46[_0x130450(0x451)]||_0x5e5ec7['id']===ct['RichTextEditingMutation']['id'])return;const _0x13cfda=_0x5e5ec7['params'];if((_0x13cfda==null?void 0x0:_0x13cfda[_0x130450(0x3c6)])!==this[_0x130450(0x344)])return;const _0x13d73c=_0x5e5ec7,_0x26f8b3=this['_compressMutationService'][_0x130450(0x25a)]['fetchThroughInterceptors'](this[_0x130450(0x1eb)][_0x130450(0x25a)][_0x130450(0xf1)]()[_0x130450(0x382)])([_0x13d73c],null)||[_0x13d73c];this[_0x130450(0x31d)](_0x26f8b3[0x0]);})),_0x208f5f;}},exports[_0x2575f3(0x2cc)]=Be([j(0x3,a[_0x2575f3(0x337)](a['Injector'])),j(0x4,a[_0x2575f3(0x337)](p[_0x2575f3(0x2cf)])),j(0x5,a[_0x2575f3(0x337)](a[_0x2575f3(0x14b)])),j(0x6,a['Inject'](p[_0x2575f3(0x358)])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x2575f3(0x381)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a[_0x2575f3(0x12b)](K))],exports[_0x2575f3(0x2cc)]),exports[_0x2575f3(0x23f)]=class extends exports[_0x2575f3(0x27c)]{constructor(_0x15ed0c,_0x566ce3,_0x2ed960,_0x408533,_0x5c6a78,_0x347a63,_0x273b69,_0x554d8e,_0x5d3c00,_0x20cbc2,_0x4b141f,_0x278a67,_0x1b5ed2,_0x298d8c){var _0x3885ef=_0x2575f3;super(_0x15ed0c,_0x2ed960,_0x566ce3,_0x408533,_0x5c6a78,_0x347a63,_0x273b69,_0x5d3c00,_0x20cbc2,_0x4b141f,_0x278a67,_0x1b5ed2,_0x298d8c),this[_0x3885ef(0x344)]=_0x15ed0c,this['type']=_0x566ce3,this[_0x3885ef(0x1f3)]=_0x554d8e;}['_createHandler'](){var _0x1ff2c3=_0x2575f3;const _0x4f37e5=super[_0x1ff2c3(0x1c4)]();return _0x4f37e5[_0x1ff2c3(0xff)]=_0x2fd1e1=>this[_0x1ff2c3(0x1f3)][_0x1ff2c3(0x17a)](_0x2fd1e1),_0x4f37e5;}async[_0x2575f3(0x2e9)](){var _0x5ad00a=_0x2575f3;const _0x169a44=await super['_init']();return this[_0x5ad00a(0x378)](this[_0x5ad00a(0x17c)][_0x5ad00a(0x113)]((_0x5003a7,_0x462d71)=>{var _0x3eeba4=_0x5ad00a;if(_0x5003a7['type']!==a[_0x3eeba4(0x2f6)][_0x3eeba4(0x3ff)]||_0x462d71!=null&&_0x462d71[_0x3eeba4(0x215)]||_0x462d71!=null&&_0x462d71['onlyLocal'])return;const _0x4772c0=_0x5003a7[_0x3eeba4(0x319)];if((_0x4772c0==null?void 0x0:_0x4772c0['unitId'])!==this[_0x3eeba4(0x344)])return;const _0x2f3a8d=_0x5003a7,_0x496972=this['_compressMutationService'][_0x3eeba4(0x25a)][_0x3eeba4(0x367)](this[_0x3eeba4(0x1eb)][_0x3eeba4(0x25a)][_0x3eeba4(0xf1)]()[_0x3eeba4(0x382)])([_0x2f3a8d],null)||[_0x2f3a8d];this[_0x3eeba4(0x31d)](_0x496972[0x0]);})),_0x169a44;}},exports['SheetCollaborationEntity']=Be([j(0x3,a['Inject'](a[_0x2575f3(0x197)])),j(0x4,a[_0x2575f3(0x337)](p[_0x2575f3(0x2cf)])),j(0x5,a[_0x2575f3(0x337)](a[_0x2575f3(0x14b)])),j(0x6,a[_0x2575f3(0x337)](p['RevisionService'])),j(0x7,a['Inject'](exports[_0x2575f3(0x259)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x2575f3(0x104)]),j(0xa,a['ICommandService']),j(0xb,a[_0x2575f3(0x25b)]),j(0xc,a['Optional'](de)),j(0xd,a[_0x2575f3(0x12b)](K))],exports['SheetCollaborationEntity']);const pt=a[_0x2575f3(0x203)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x476f27){var _0x17aabb=_0x2575f3,_0x532391,_0x4c84ef,_0x4ab52f,_0x224f2a,_0x23b510;const _0x58f7d3=_0x476f27[_0x17aabb(0x39a)],_0xec3c98=JSON[_0x17aabb(0x3f9)](_0x58f7d3);switch(_0xec3c98[_0x17aabb(0x393)]){case W['HEARTBEAT']:case W[_0x17aabb(0x3cb)]:{const _0x1c4f66=_0xec3c98['infoRsp'];return{..._0xec3c98,'data':_0x1c4f66,'cmd':_0xec3c98[_0x17aabb(0x393)]};}case W['JOIN']:{const _0x2417a1=_0xec3c98['joinRsp'];return{..._0xec3c98,'data':_0x2417a1,'cmd':_0xec3c98[_0x17aabb(0x393)]};}case W['RECV']:{const _0xc8b517=_0xec3c98[_0x17aabb(0x2e1)];switch(_0xc8b517[_0x17aabb(0x416)]){case p['CollaborationEvent'][_0x17aabb(0x230)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':(_0x532391=_0xc8b517[_0x17aabb(0x2a3)])==null?void 0x0:_0x532391['cs']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p['CollaborationEvent'][_0x17aabb(0x11a)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':(_0x4c84ef=_0xc8b517[_0x17aabb(0x134)])==null?void 0x0:_0x4c84ef['cs']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)][_0x17aabb(0x212)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':(_0x4ab52f=_0xc8b517[_0x17aabb(0x160)])==null?void 0x0:_0x4ab52f['cs']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)][_0x17aabb(0x16f)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':(_0x224f2a=_0xc8b517[_0x17aabb(0x15e)])==null?void 0x0:_0x224f2a['cs']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)]['CHANGESET_SHOULD_RETRY']:return{..._0xec3c98,'data':{..._0xc8b517,'data':(_0x23b510=_0xc8b517[_0x17aabb(0x261)])==null?void 0x0:_0x23b510['cs']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p['CollaborationEvent'][_0x17aabb(0x351)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517['updateCursorEvent']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p['CollaborationEvent'][_0x17aabb(0x1af)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517[_0x17aabb(0x1b9)]},'cmd':_0xec3c98['cmd']};case p['CollaborationEvent']['USERS_LEAVE']:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517['leaveEvent']},'cmd':_0xec3c98['cmd']};case p[_0x17aabb(0x19b)][_0x17aabb(0x3a3)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517[_0x17aabb(0x268)]},'cmd':_0xec3c98['cmd']};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0x17aabb(0x19b)][_0x17aabb(0x3a1)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517['liveShareOperation']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)][_0x17aabb(0x27f)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517[_0x17aabb(0x268)]},'cmd':_0xec3c98['cmd']};case p['CollaborationEvent'][_0x17aabb(0x3d3)]:return{..._0xec3c98,'data':_0xc8b517,'cmd':_0xec3c98[_0x17aabb(0x393)]};case p['CollaborationEvent'][_0x17aabb(0x3c5)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517[_0x17aabb(0x2a1)]},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)][_0x17aabb(0x430)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517[_0x17aabb(0x1bb)]},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)][_0x17aabb(0x27e)]:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517['shouldCloseConn']},'cmd':_0xec3c98[_0x17aabb(0x393)]};case p[_0x17aabb(0x19b)]['UNISCRIPT_RUN']:return{..._0xec3c98,'data':{..._0xc8b517,'data':_0xc8b517['uniscriptRunEvent']},'cmd':_0xec3c98[_0x17aabb(0x393)]};default:return _0xec3c98;}}default:return _0xec3c98;}}function gt(_0x171861){var _0x1684d9=_0x2575f3;switch(_0x171861['cmd']){case W[_0x1684d9(0x223)]:case W['HELLO']:return JSON[_0x1684d9(0x307)]({'cmd':_0x171861['cmd'],'routeKey':_0x171861[_0x1684d9(0x3d8)]});case W[_0x1684d9(0x10c)]:{let _0x4a15d7;switch(_0x171861[_0x1684d9(0x39a)][_0x1684d9(0x416)]){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x351)],'updateCursorEvent':_0x171861[_0x1684d9(0x39a)]['data']};break;}case p[_0x1684d9(0x19b)][_0x1684d9(0x194)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x194)],'leaveEvent':_0x171861['data'][_0x1684d9(0x39a)]};break;}case p['CollaborationEvent'][_0x1684d9(0x1af)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x1af)],'joinEvent':_0x171861[_0x1684d9(0x39a)][_0x1684d9(0x39a)]};break;}case p[_0x1684d9(0x19b)][_0x1684d9(0x3a3)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x3a3)],'liveShareNewHost':_0x171861['data'][_0x1684d9(0x39a)]};break;}case p[_0x1684d9(0x19b)]['LIVESHARE_OPERATION']:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x171861['data']['data']};break;}case p['CollaborationEvent'][_0x1684d9(0x27f)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x171861[_0x1684d9(0x39a)][_0x1684d9(0x39a)]};break;}case p['CollaborationEvent'][_0x1684d9(0x459)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x459)],'liveShareRequestHost':_0x171861[_0x1684d9(0x39a)][_0x1684d9(0x39a)]};break;}case p[_0x1684d9(0x19b)][_0x1684d9(0x42b)]:{_0x4a15d7={'eventID':p[_0x1684d9(0x19b)][_0x1684d9(0x42b)]};break;}default:_0x4a15d7={'eventID':_0x171861[_0x1684d9(0x39a)][_0x1684d9(0x416)]};}return JSON[_0x1684d9(0x307)]({'cmd':_0x171861[_0x1684d9(0x393)],'routeKey':_0x171861[_0x1684d9(0x3d8)],'collaMsg':_0x4a15d7});}case W['JOIN']:return JSON[_0x1684d9(0x307)]({'cmd':_0x171861['cmd'],'routeKey':_0x171861[_0x1684d9(0x3d8)],'joinReq':_0x171861['data']});case W[_0x1684d9(0x1f0)]:return JSON[_0x1684d9(0x307)]({'cmd':_0x171861[_0x1684d9(0x393)],'routeKey':_0x171861['routeKey'],'leaveReq':_0x171861[_0x1684d9(0x39a)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object['getOwnPropertyDescriptor'],si=(_0x279e84,_0x5447aa,_0x172986,_0x3315f8)=>{var _0x1aca10=_0x2575f3;for(var _0x3da0f0=_0x3315f8>0x1?void 0x0:_0x3315f8?ri(_0x5447aa,_0x172986):_0x5447aa,_0x4792ae=_0x279e84[_0x1aca10(0x42c)]-0x1,_0x22b550;_0x4792ae>=0x0;_0x4792ae--)(_0x22b550=_0x279e84[_0x4792ae])&&(_0x3da0f0=_0x22b550(_0x3da0f0)||_0x3da0f0);return _0x3da0f0;},_e=(_0x1686d4,_0x2c7c20)=>(_0x3ed64a,_0x1a4ae2)=>_0x2c7c20(_0x3ed64a,_0x1a4ae2,_0x1686d4);const Fe=a[_0x2575f3(0x203)]('univer-pro.collaboration-client-socket-service');function oi(_0xd4fde9,_0x1dfcba,_0x55194d){var _0x5cfbbd=_0x2575f3;return _0xd4fde9+'/'+_0x1dfcba+_0x5cfbbd(0x44c)+_0x55194d+_0x5cfbbd(0x276);}exports['CollaborationSocketService']=class extends a[_0x2575f3(0x38e)]{constructor(_0x183e97,_0x3e28c5,_0x56a932,_0x563b62,_0x591354){var _0x30189f=_0x2575f3;super(),this[_0x30189f(0x227)]=_0x183e97,this[_0x30189f(0x349)]=_0x3e28c5,this['_configService']=_0x56a932,this['_logService']=_0x563b62,this[_0x30189f(0x39e)]=_0x591354;}[_0x2575f3(0x357)](_0x22e7c7){var _0x310b3d=_0x2575f3;const _0xce0b4f=this[_0x310b3d(0x227)][_0x310b3d(0x204)](q[_0x310b3d(0x1b7)]);if(!_0xce0b4f)throw new Error(_0x310b3d(0x209));const _0x4ca794=_0xce0b4f[_0x310b3d(0x3ee)](_0x22e7c7);if(!_0x4ca794)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x174b82=new a[(_0x310b3d(0x10b))](),_0x4d04ac=new H['Subject']();_0x174b82[_0x310b3d(0x2fe)](_0x4ca794[_0x310b3d(0x19e)][_0x310b3d(0xfe)](_0xdb6a7c=>_0x4d04ac[_0x310b3d(0x2c0)](_0xdb6a7c))),_0x174b82[_0x310b3d(0x2fe)](a['toDisposable'](()=>_0x4d04ac[_0x310b3d(0x205)]()));const _0x2bd326=new H[(_0x310b3d(0x3f8))]();_0x174b82[_0x310b3d(0x2fe)](_0x4ca794[_0x310b3d(0x2c8)][_0x310b3d(0xfe)](_0x1cf859=>_0x2bd326[_0x310b3d(0x2c0)](_0x1cf859))),_0x174b82['add'](a[_0x310b3d(0x2df)](()=>_0x2bd326[_0x310b3d(0x205)]()));const _0x369558=new H[(_0x310b3d(0x3f8))]();_0x174b82[_0x310b3d(0x2fe)](_0x4ca794[_0x310b3d(0x3f1)][_0x310b3d(0xfe)](_0x2eb79d=>{var _0x3d8922=_0x310b3d;const _0x116f52=mt(_0x2eb79d);_0x369558[_0x3d8922(0x2c0)](_0x116f52);})),_0x174b82['add'](a['toDisposable'](()=>_0x369558['complete']()));let _0x269b19;const _0x539bce=()=>{var _0x14fa87=_0x310b3d;_0x2bd326[_0x14fa87(0x2c0)](new Event(_0x14fa87(0x22f))),_0x4d04ac[_0x14fa87(0x2c0)](new Event(_0x14fa87(0x22f))),_0x269b19[_0x14fa87(0x239)]();};return _0x269b19={'memberID':'','close$':_0x4d04ac[_0x310b3d(0x3e8)](),'error$':_0x2bd326['asObservable'](),'open$':_0x4ca794[_0x310b3d(0x467)],'message$':_0x369558[_0x310b3d(0x3e8)](),'send':_0x16184b=>{var _0x1fc22f=_0x310b3d;if(_0x16184b[_0x1fc22f(0x393)]===W[_0x1fc22f(0x10c)]){if(_0x16184b[_0x1fc22f(0x39a)][_0x1fc22f(0x416)]===p[_0x1fc22f(0x19b)][_0x1fc22f(0x32d)]){this[_0x1fc22f(0x441)](_0x269b19,_0x16184b[_0x1fc22f(0x39a)])[_0x1fc22f(0x1f1)](_0xf4c6ae=>{var _0x44e015=_0x1fc22f;this['_logService'][_0x44e015(0x1c8)](_0xf4c6ae),_0x539bce();});return;}if(_0x16184b[_0x1fc22f(0x39a)]['eventID']===p['CollaborationEvent'][_0x1fc22f(0x424)]){const _0x472a73=_0x16184b[_0x1fc22f(0x39a)];this['_fetchMissChangesets'](_0x472a73)[_0x1fc22f(0x342)](_0x34305f=>{var _0x52021b=_0x1fc22f;_0x369558[_0x52021b(0x2c0)]({'cmd':W[_0x52021b(0x406)],'code':se['OK'],'routeKey':_0x472a73['data'][_0x52021b(0x344)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x52021b(0x2ce)],'data':{'changesets':_0x34305f}}});})[_0x1fc22f(0x1f1)](_0x1231c2=>{var _0x120672=_0x1fc22f;this['_logService'][_0x120672(0x1c8)](_0x1231c2),_0x539bce();});return;}}_0x4ca794[_0x1fc22f(0x466)](gt(_0x16184b));},'close':()=>{var _0x2b2b52=_0x310b3d;_0x4ca794[_0x2b2b52(0x239)](),_0x174b82[_0x2b2b52(0x39c)]();}},_0x269b19;}async['_submitChangeset'](_0x2a89c0,_0x813e84){var _0x4cf924=_0x2575f3,_0x566467;const {unitType:_0x29674e,unitID:_0x5e7dcb,changeset:_0x12843f}=_0x813e84['data'],_0x246518={'unitID':_0x5e7dcb,'memberID':_0x2a89c0[_0x4cf924(0x2a8)],'type':_0x29674e,'changeset':p['parseChangesetToProtocol'](_0x12843f)},_0x323500=this[_0x4cf924(0x3ab)][_0x4cf924(0x3c1)](Y),_0x3c02e7=oi((_0x566467=_0x323500==null?void 0x0:_0x323500['collabSubmitChangesetUrl'])!=null?_0x566467:kt,_0x29674e,_0x5e7dcb);try{await this[_0x4cf924(0x349)][_0x4cf924(0x2ab)](_0x3c02e7,{'body':_0x246518});}catch(_0x41977b){throw this['_logService']['error'](_0x4cf924(0x1e1),_0x4cf924(0x183)),_0x41977b;}}async[_0x2575f3(0x22c)](_0x5b6a45){var _0x339eb4=_0x2575f3;const {unitID:_0x51dbc3,from:_0x34fd0d,to:_0x31b859,unitType:_0x19d0ad}=_0x5b6a45[_0x339eb4(0x39a)];return(await this[_0x339eb4(0x39e)][_0x339eb4(0x1a4)]({'metadata':void 0x0},{'unitID':_0x51dbc3,'type':_0x19d0ad,'from':_0x34fd0d,'to':_0x31b859}))[_0x339eb4(0x3d0)];}},exports['CollaborationSocketService']=si([_e(0x0,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),_e(0x1,a[_0x2575f3(0x337)](q[_0x2575f3(0x395)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x2575f3(0x104)]),_e(0x4,p[_0x2575f3(0x192)])],exports['CollaborationSocketService']);var ai=Object[_0x2575f3(0x210)],ci=(_0x34221a,_0x39ac3e,_0x1f5750,_0x574c86)=>{for(var _0x17f629=_0x574c86>0x1?void 0x0:_0x574c86?ai(_0x39ac3e,_0x1f5750):_0x39ac3e,_0x24a0b6=_0x34221a['length']-0x1,_0x365b44;_0x24a0b6>=0x0;_0x24a0b6--)(_0x365b44=_0x34221a[_0x24a0b6])&&(_0x17f629=_0x365b44(_0x17f629)||_0x17f629);return _0x17f629;},he=(_0x30ef3d,_0x1cb3f9)=>(_0x4bf0c1,_0x5eca85)=>_0x1cb3f9(_0x4bf0c1,_0x5eca85,_0x30ef3d);exports[_0x2575f3(0x172)]=class extends a[_0x2575f3(0x38e)]{constructor(_0x661a9f,_0x206a28,_0x57982f,_0x1b75b2,_0x44e042,_0x2a2b66){var _0x3fecbe=_0x2575f3;super(),A(this,_0x3fecbe(0x220),new H[(_0x3fecbe(0x21b))](void 0x0)),A(this,'socket$',this[_0x3fecbe(0x220)]['asObservable']()),A(this,_0x3fecbe(0x390),null),A(this,_0x3fecbe(0x428),new Map()),A(this,'_status$',new H['BehaviorSubject'](re['IDLE'])),A(this,_0x3fecbe(0x299),this[_0x3fecbe(0x24e)][_0x3fecbe(0x3e8)]()),A(this,'_socketReady',!0x1),A(this,_0x3fecbe(0x385)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x3fecbe(0x36b)),(this['_injector']=_0x661a9f,this[_0x3fecbe(0x3ec)]=_0x206a28,this[_0x3fecbe(0x3ab)]=_0x57982f,this[_0x3fecbe(0x21d)]=_0x1b75b2,this[_0x3fecbe(0x332)]=_0x44e042,this[_0x3fecbe(0x43c)]=_0x2a2b66,this['_listenToNetworkCondition']());}get[_0x2575f3(0x282)](){var _0x24dcd2=_0x2575f3;return this['_socket$'][_0x24dcd2(0x1df)]();}[_0x2575f3(0x254)](){var _0x2403c3=_0x2575f3;this['_networkConditionService']&&this[_0x2403c3(0x378)](this[_0x2403c3(0x43c)][_0x2403c3(0x263)][_0x2403c3(0xfe)](_0x335026=>{var _0x50df30=_0x2403c3;_0x335026&&!this['_socket']&&this[_0x50df30(0x3e9)](),_0x335026||this['_onOffline']();}));}[_0x2575f3(0x39c)](){var _0x2d92ef=_0x2575f3;super[_0x2d92ef(0x39c)](),this['_clearRetryConnectingTimer'](),this[_0x2d92ef(0x211)](),this[_0x2d92ef(0x147)](),this['_sessions'][_0x2d92ef(0x1d6)](_0x158073=>_0x158073[_0x2d92ef(0x39c)]()),this[_0x2d92ef(0x428)]['clear'](),this[_0x2d92ef(0x24e)][_0x2d92ef(0x205)]();}async[_0x2575f3(0x103)](_0x1da831){var _0xe78e33=_0x2575f3;if(this[_0xe78e33(0x428)]['has'](_0x1da831))return this[_0xe78e33(0x428)][_0xe78e33(0x204)](_0x1da831);this[_0xe78e33(0x1c5)]();const _0x4d87aa=this[_0xe78e33(0x227)][_0xe78e33(0x293)](exports[_0xe78e33(0x1d5)],_0x1da831,this[_0xe78e33(0x220)][_0xe78e33(0x3e8)]());return this['_sessions'][_0xe78e33(0x1a0)](_0x1da831,_0x4d87aa),_0x4d87aa;}[_0x2575f3(0x1b4)](_0x6fb27c){var _0x42da29=_0x2575f3,_0x3c5ca1;const _0x4ba48f=this[_0x42da29(0x428)][_0x42da29(0x204)](_0x6fb27c);_0x4ba48f&&(this[_0x42da29(0x428)][_0x42da29(0x260)](_0x6fb27c),_0x4ba48f['close']()),this['_sessions'][_0x42da29(0x235)]||(_0x3c5ca1=this['_socket'])==null||_0x3c5ca1['close']();}[_0x2575f3(0x3e9)](){var _0x1dfb22=_0x2575f3;this[_0x1dfb22(0x1d1)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x1dfb22(0x39b)]();}['_clearRetryConnectingTimer'](){var _0x50df3e=_0x2575f3;this[_0x50df3e(0x385)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x50df3e(0x385)]=null);}async[_0x2575f3(0x241)](){var _0x160b6c=_0x2575f3,_0x5f4e25;const _0x5a4e0e=this['_configService']['getConfig'](Y),_0x105e93=(_0x5f4e25=_0x5a4e0e==null?void 0x0:_0x5a4e0e[_0x160b6c(0x243)])!=null?_0x5f4e25:ht,_0x40f0f8=await this['_socketService'][_0x160b6c(0x3ee)](_0x105e93);return this[_0x160b6c(0x390)]=_0x40f0f8,_0x40f0f8;}async[_0x2575f3(0x1c5)](){var _0x3c620c=_0x2575f3,_0x541dae,_0x301576;try{const _0x3bb636=(_0x301576=(_0x541dae=this['_socket'])!=null?_0x541dae:this[_0x3c620c(0x390)])!=null?_0x301576:await this[_0x3c620c(0x241)]();if(_0x3bb636){const _0xaefed9=_0x3bb636[_0x3c620c(0x466)];_0x3bb636[_0x3c620c(0x466)]=_0x54f0b2=>(this[_0x3c620c(0x456)](),_0xaefed9[_0x3c620c(0x11c)](_0x3bb636,[_0x54f0b2])),_0x3bb636[_0x3c620c(0x3f1)][_0x3c620c(0xfe)](_0x392231=>this['_onMessage'](_0x3bb636,_0x392231)),_0x3bb636['error$'][_0x3c620c(0x410)](V[_0x3c620c(0x2fb)](0x1))[_0x3c620c(0xfe)](_0x6c0610=>this[_0x3c620c(0x3ec)]['error'](_0x3c620c(0x2b9),_0x6c0610)),_0x3bb636[_0x3c620c(0x467)][_0x3c620c(0x410)](V[_0x3c620c(0x2fb)](0x1))['subscribe'](()=>{var _0x2ba797=_0x3c620c;this[_0x2ba797(0x3a6)](_0x3bb636);}),_0x3bb636[_0x3c620c(0x19e)]['pipe'](V[_0x3c620c(0x2fb)](0x1))['subscribe'](_0x38d70d=>{var _0x469ab6=_0x3c620c;this[_0x469ab6(0x3ec)]['debug']('[CollaborationSessionService]','socket\x20close',_0x38d70d),this[_0x469ab6(0x316)]();});}}catch(_0xff0150){this[_0x3c620c(0x3ec)]['error'](_0xff0150),this[_0x3c620c(0x316)]();}}[_0x2575f3(0x3a6)](_0x173971){var _0x386ce9=_0x2575f3;this[_0x386ce9(0x3ec)][_0x386ce9(0x18b)](_0x386ce9(0x12a),_0x386ce9(0x1f4)),_0x173971[_0x386ce9(0x466)]({'cmd':W[_0x386ce9(0x3cb)]}),this[_0x386ce9(0x456)]();}[_0x2575f3(0x328)](){var _0x5c53c2=_0x2575f3;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5c53c2(0x24e)][_0x5c53c2(0x2c0)](re[_0x5c53c2(0x2c9)]),this[_0x5c53c2(0x220)][_0x5c53c2(0x2c0)](null),this[_0x5c53c2(0x211)](),this[_0x5c53c2(0x147)]();}['_onConnectionFailed'](){var _0x4245f3=_0x2575f3,_0x2b9465;this['_onOffline'](),this[_0x4245f3(0x1d1)]<((_0x2b9465=this[_0x4245f3(0x3ab)][_0x4245f3(0x3c1)](ut))!=null?_0x2b9465:Mt)?(this['_collaborationUIEventService'][_0x4245f3(0x161)]({'id':Z[_0x4245f3(0x1fe)]}),this['_tryReconnect']()):this[_0x4245f3(0x332)]['emitEvent']({'id':Z['SOCKET_FAILED']});}[_0x2575f3(0x39b)](){var _0x3d7fb6=_0x2575f3,_0x465312;const _0x24fb07=this['_retryCount'],_0x53c4ea=this['_configService'][_0x3d7fb6(0x3c1)](Y),_0x34421c=_0x24fb07===0x0?0x0:((_0x465312=_0x53c4ea==null?void 0x0:_0x53c4ea[_0x3d7fb6(0x2c5)])!=null?_0x465312:wt)*0x2**_0x24fb07;this[_0x3d7fb6(0x385)]=setTimeout(()=>{var _0x1da464=_0x3d7fb6;clearTimeout(this['_retryConnectingTimer']),this[_0x1da464(0x385)]=null,this[_0x1da464(0x1c5)]();},_0x34421c),this[_0x3d7fb6(0x1d1)]+=0x1;}[_0x2575f3(0x338)](_0x9f752f,_0x2ac017){var _0x5d4424=_0x2575f3;const {cmd:_0x3b265d}=_0x2ac017;_0x3b265d===W[_0x5d4424(0x3cb)]&&!this[_0x5d4424(0x12f)]&&(_0x9f752f[_0x5d4424(0x2a8)]=_0x2ac017[_0x5d4424(0x39a)]['memberID'],this['_socket$'][_0x5d4424(0x2c0)](_0x9f752f),this['_status$'][_0x5d4424(0x2c0)](re[_0x5d4424(0x3de)]),this[_0x5d4424(0x12f)]=!0x0,this[_0x5d4424(0x390)]=null),_0x3b265d===W[_0x5d4424(0x223)]&&this[_0x5d4424(0x211)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0xcff142=_0x2575f3,_0x4096f4;this[_0xcff142(0x147)](),this[_0xcff142(0x35a)]=setTimeout(()=>this[_0xcff142(0x149)](),(_0x4096f4=this[_0xcff142(0x3ab)]['getConfig'](_t))!=null?_0x4096f4:Pt);}['_sendHeartbeat'](){var _0x26be24=_0x2575f3;this[_0x26be24(0x282)][_0x26be24(0x466)]({'cmd':W[_0x26be24(0x223)]}),this[_0x26be24(0x2d5)]();}[_0x2575f3(0x2d5)](){var _0x5d6fb7=_0x2575f3,_0x32c98f;this['_timeoutTimer']=setTimeout(()=>this[_0x5d6fb7(0x316)](),(_0x32c98f=this[_0x5d6fb7(0x3ab)][_0x5d6fb7(0x3c1)](ke))!=null?_0x32c98f:lt);}[_0x2575f3(0x147)](){var _0x265d06=_0x2575f3;this[_0x265d06(0x35a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x265d06(0x35a)]=null);}[_0x2575f3(0x211)](){var _0x26c3bb=_0x2575f3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x26c3bb(0x36b)]),this[_0x26c3bb(0x36b)]=null);}},exports[_0x2575f3(0x172)]=ci([he(0x0,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),he(0x1,a[_0x2575f3(0x104)]),he(0x2,a[_0x2575f3(0x2bb)]),he(0x3,Fe),he(0x4,a[_0x2575f3(0x337)](ee)),he(0x5,a[_0x2575f3(0x12b)](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x1052aa,_0x84b15e,_0x48c52d,_0x483b8f)=>{for(var _0x5ee562=_0x483b8f>0x1?void 0x0:_0x483b8f?hi(_0x84b15e,_0x48c52d):_0x84b15e,_0x10e33a=_0x1052aa['length']-0x1,_0x552606;_0x10e33a>=0x0;_0x10e33a--)(_0x552606=_0x1052aa[_0x10e33a])&&(_0x5ee562=_0x552606(_0x5ee562)||_0x5ee562);return _0x5ee562;},Se=(_0x587b86,_0x8cd6e8)=>(_0x30dbfb,_0x3e6d06)=>_0x8cd6e8(_0x30dbfb,_0x3e6d06,_0x587b86);exports[_0x2575f3(0x440)]=class extends a[_0x2575f3(0x2ac)]{constructor(_0x15ce97,_0x318d0b,_0x2f0fe6,_0x529850){var _0x23c88e=_0x2575f3,_0x5e028c;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new H[(_0x23c88e(0x3f8))]()),A(this,_0x23c88e(0x11f),this[_0x23c88e(0x3a8)][_0x23c88e(0x3e8)]()),(this[_0x23c88e(0x227)]=_0x15ce97,this['_collabSessionService']=_0x318d0b,this[_0x23c88e(0x3ab)]=_0x2f0fe6,this[_0x23c88e(0x2b7)]=_0x529850,((_0x5e028c=this[_0x23c88e(0x3ab)][_0x23c88e(0x3c1)](Y))==null?void 0x0:_0x5e028c['enableCollaboration'])!==!0x1&&this[_0x23c88e(0x2e9)]());}[_0x2575f3(0x39c)](){var _0x2d2f91=_0x2575f3;super['dispose'](),this['_entities'][_0x2d2f91(0x1d6)](_0x897d59=>_0x897d59['dispose']()),this['_entities'][_0x2d2f91(0x168)]();}[_0x2575f3(0x26a)](_0x49544e){var _0x3a7558=_0x2575f3,_0x66e804;return(_0x66e804=this[_0x3a7558(0x3c2)]['get'](_0x49544e))!=null?_0x66e804:null;}[_0x2575f3(0x1ba)](_0x5e1f24){var _0x16349c=_0x2575f3;const _0x255aee=this[_0x16349c(0x26a)](_0x5e1f24);return _0x255aee?H['of'](_0x255aee):this['_entityInit$'][_0x16349c(0x410)](V[_0x16349c(0x1c2)](_0x4e7e6e=>_0x4e7e6e[_0x16349c(0x344)]===_0x5e1f24));}[_0x2575f3(0x2de)](_0x48d768){var _0x262579=_0x2575f3;return H[_0x262579(0x287)](this[_0x262579(0x1ba)](_0x48d768)[_0x262579(0x410)](V[_0x262579(0x436)](()=>{})));}[_0x2575f3(0x2e9)](){var _0x5a6554=_0x2575f3;this['_univerInstanceService'][_0x5a6554(0x1d7)](a[_0x5a6554(0x3ed)][_0x5a6554(0x262)])['pipe'](H[_0x5a6554(0x3b6)](this[_0x5a6554(0x42f)]),V[_0x5a6554(0x34d)](0x10))[_0x5a6554(0xfe)](async _0x209695=>{var _0x12bbc3=_0x5a6554;const _0x5d68a7=_0x209695[_0x12bbc3(0x16d)](),_0xe9ac3d=await this[_0x12bbc3(0x111)](_0x5d68a7,J[_0x12bbc3(0x262)]);this[_0x12bbc3(0x3c2)][_0x12bbc3(0x1a0)](_0x5d68a7,_0xe9ac3d);}),this[_0x5a6554(0x2b7)][_0x5a6554(0x1d7)](a[_0x5a6554(0x3ed)][_0x5a6554(0x334)])[_0x5a6554(0x410)](H[_0x5a6554(0x3b6)](this[_0x5a6554(0x42f)]),V[_0x5a6554(0x34d)](0x10))[_0x5a6554(0x410)](V['filter'](_0xe86c6a=>!_0xe86c6a[_0x5a6554(0x16d)]()[_0x5a6554(0x409)]('__')))[_0x5a6554(0xfe)](async _0x20a974=>{var _0x15bdc4=_0x5a6554;const _0x3a8b12=_0x20a974[_0x15bdc4(0x16d)](),_0x262a48=await this[_0x15bdc4(0x111)](_0x3a8b12,J[_0x15bdc4(0x334)]);this[_0x15bdc4(0x3c2)][_0x15bdc4(0x1a0)](_0x3a8b12,_0x262a48);}),H[_0x5a6554(0x347)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x5a6554(0x3ed)][_0x5a6554(0x262)]),this[_0x5a6554(0x2b7)][_0x5a6554(0x2a7)](a[_0x5a6554(0x3ed)][_0x5a6554(0x334)]))['pipe'](H[_0x5a6554(0x3b6)](this[_0x5a6554(0x42f)]))[_0x5a6554(0xfe)](_0x27a5b3=>{var _0x250baf=_0x5a6554;const _0x585c65=_0x27a5b3[_0x250baf(0x16d)](),_0x21f302=this[_0x250baf(0x3c2)][_0x250baf(0x204)](_0x585c65);_0x21f302&&(_0x21f302[_0x250baf(0x39c)](),this[_0x250baf(0x3c2)]['delete'](_0x585c65));});}async['_startCollaboration'](_0x3718ea,_0x3bd93b){var _0x1e317d=_0x2575f3;const _0x5afb87=await this[_0x1e317d(0x246)]['requireSession'](_0x3718ea),_0x262f25=this[_0x1e317d(0x227)][_0x1e317d(0x293)](this[_0x1e317d(0xf9)](_0x3bd93b),_0x3718ea,_0x3bd93b,_0x5afb87);return await _0x262f25[_0x1e317d(0x1c1)](),this[_0x1e317d(0x3a8)][_0x1e317d(0x2c0)](_0x262f25),_0x262f25;}[_0x2575f3(0xf9)](_0x12dc75){var _0x188709=_0x2575f3;switch(_0x12dc75){case J['UNIVER_DOC']:return exports[_0x188709(0x2cc)];case J[_0x188709(0x262)]:return exports[_0x188709(0x23f)];default:throw new Error(_0x188709(0x31c)+_0x12dc75);}}},exports[_0x2575f3(0x440)]=_i([Se(0x0,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),Se(0x1,a['Inject'](exports['CollaborationSessionService'])),Se(0x2,a[_0x2575f3(0x2bb)]),Se(0x3,a[_0x2575f3(0x376)])],exports[_0x2575f3(0x440)]);var li=Object[_0x2575f3(0x210)],ui=(_0x16f16e,_0x2686e2,_0x23868b,_0xe695e0)=>{for(var _0x2161b4=_0xe695e0>0x1?void 0x0:_0xe695e0?li(_0x2686e2,_0x23868b):_0x2686e2,_0x1013a6=_0x16f16e['length']-0x1,_0x374b13;_0x1013a6>=0x0;_0x1013a6--)(_0x374b13=_0x16f16e[_0x1013a6])&&(_0x2161b4=_0x374b13(_0x2161b4)||_0x2161b4);return _0x2161b4;},Ye=(_0x4915b2,_0x21b170)=>(_0x299699,_0x50dbfe)=>_0x21b170(_0x299699,_0x50dbfe,_0x4915b2);const di=_0x2575f3(0x273),vi=_0x2575f3(0x3f0);let xe=class extends a[_0x2575f3(0x38e)]{constructor(_0x5398cc,_0x4bff3b){var _0x2bb2a3=_0x2575f3;super(),this[_0x2bb2a3(0x2b7)]=_0x5398cc,this[_0x2bb2a3(0x3ab)]=_0x4bff3b,this[_0x2bb2a3(0x2e9)]();}[_0x2575f3(0x2e9)](){var _0x5a955e=_0x2575f3;this['disposeWithMe'](this[_0x5a955e(0x2b7)]['focused$'][_0x5a955e(0xfe)](()=>{var _0x142287=_0x5a955e,_0x475ce7;const _0x5b5472=this[_0x142287(0x2b7)][_0x142287(0x309)]();let _0x5abded=(_0x475ce7=this[_0x142287(0x3ab)][_0x142287(0x3c1)](di))!=null?_0x475ce7:vi;_0x5b5472 instanceof a[_0x142287(0x2a2)]&&(_0x5abded=_0x5b5472[_0x142287(0x1bf)]),document[_0x142287(0x1e0)]=_0x5abded;}));}};xe=ui([Ye(0x0,a[_0x2575f3(0x376)]),Ye(0x1,a[_0x2575f3(0x2bb)])],xe);var Si=Object[_0x2575f3(0x210)],fi=(_0xa225c0,_0x357039,_0x6e80e3,_0x536648)=>{var _0x4e08ab=_0x2575f3;for(var _0x25d00b=_0x536648>0x1?void 0x0:_0x536648?Si(_0x357039,_0x6e80e3):_0x357039,_0x5c2b63=_0xa225c0[_0x4e08ab(0x42c)]-0x1,_0x1e946e;_0x5c2b63>=0x0;_0x5c2b63--)(_0x1e946e=_0xa225c0[_0x5c2b63])&&(_0x25d00b=_0x1e946e(_0x25d00b)||_0x25d00b);return _0x25d00b;},Ae=(_0x10bf28,_0x3eae23)=>(_0x2541b9,_0x3562c7)=>_0x3eae23(_0x2541b9,_0x3562c7,_0x10bf28);let ye=class{constructor(_0x5d93e2,_0x49f9a1,_0x1a97c3){var _0xc32a59=_0x2575f3;this[_0xc32a59(0x3ab)]=_0x5d93e2,this[_0xc32a59(0x349)]=_0x49f9a1,this[_0xc32a59(0x28a)]=_0x1a97c3,this[_0xc32a59(0x1c1)]();}[_0x2575f3(0x1c1)](){var _0x1b0d21=_0x2575f3;this[_0x1b0d21(0x349)][_0x1b0d21(0x380)]({'priority':0x1,'interceptor':(_0x153139,_0x4c13bb)=>_0x4c13bb(_0x153139)['pipe'](H[_0x1b0d21(0x1fb)](async _0x74de46=>{var _0x36209a=_0x1b0d21;const _0x2b3daa=_0x74de46;if(_0x2b3daa[_0x36209a(0x280)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x36209a(0x3b9)](this['localeService']['t'](_0x36209a(0x317)))){const _0x104dcd=window[_0x36209a(0x2f4)](window[_0x36209a(0x30b)][_0x36209a(0x3f2)]);window[_0x36209a(0x30b)][_0x36209a(0x3f2)]=this[_0x36209a(0x3c4)]()+_0x36209a(0x29e)+_0x104dcd;}}return _0x2b3daa;}))});}[_0x2575f3(0x3c4)](){var _0x5e257c=_0x2575f3,_0x2c0583;const _0x35dd92=this['_configService'][_0x5e257c(0x3c1)](Y);return(_0x2c0583=_0x35dd92==null?void 0x0:_0x35dd92[_0x5e257c(0x298)])!=null?_0x2c0583:$t;}};ye=fi([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x2575f3(0x337)](q[_0x2575f3(0x395)])),Ae(0x2,a[_0x2575f3(0x337)](a[_0x2575f3(0x14b)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x30ef12,_0x29f659,_0x31d0b5,_0x57d0f5)=>{for(var _0xeadd6f=_0x57d0f5>0x1?void 0x0:_0x57d0f5?Ii(_0x29f659,_0x31d0b5):_0x29f659,_0x3227d0=_0x30ef12['length']-0x1,_0x2c1ca7;_0x3227d0>=0x0;_0x3227d0--)(_0x2c1ca7=_0x30ef12[_0x3227d0])&&(_0xeadd6f=_0x2c1ca7(_0xeadd6f)||_0xeadd6f);return _0xeadd6f;},qe=(_0x41a7eb,_0x5e24f8)=>(_0x4f779e,_0x4cde36)=>_0x5e24f8(_0x4f779e,_0x4cde36,_0x41a7eb);const mi=_0x2575f3(0x102);exports['AuthzIoHttpService']=class extends a[_0x2575f3(0x38e)]{constructor(_0x4f01cb,_0x46590f){var _0x47df40=_0x2575f3;super(),this[_0x47df40(0x3f5)]=_0x4f01cb,this[_0x47df40(0x3ab)]=_0x46590f,this[_0x47df40(0x32a)]();}[_0x2575f3(0x32a)](){var _0x422938=_0x2575f3;const _0xa25450=this;this[_0x422938(0x378)](this[_0x422938(0x3f5)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x422938(0x178)]({'isMatch'(_0x1e656b){var _0x549490=_0x422938,_0x353fc9;if(_0x1e656b[_0x549490(0x152)]===_0x549490(0xfb)&&((_0x353fc9=_0x1e656b[_0x549490(0x107)])!=null&&_0x353fc9[_0x549490(0x1bc)])){const {objectID:_0x2e35ad,objectType:_0x124dff}=_0x1e656b[_0x549490(0x107)][_0x549490(0x1bc)]||{};if(!_0x2e35ad||_0x124dff===void 0x0)return!0x1;const _0x5040be=_0xa25450[_0x549490(0x1f6)]()+'/'+_0x124dff+_0x549490(0x237)+_0x2e35ad+_0x549490(0x3bc);if(_0x1e656b[_0x549490(0x3fe)]===_0x5040be)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b31da){var _0x3013c5=_0x422938,_0x328bc9;return(_0x328bc9=_0x2b31da['requestParams'])==null?void 0x0:_0x328bc9[_0x3013c5(0x1bc)];},'mergeParamsToRequest'(_0x7fb208,_0x31e74c){var _0xe33df8=_0x422938;const _0x5bcf60=_0xa25450[_0xe33df8(0x1f6)]()+'/-/object/-/batch_allowed',_0xbea8c0=_0x7fb208[_0xe33df8(0x397)]((_0x190b40,_0xc09736)=>{var _0x2dba75=_0xe33df8;const {unitID:_0x1cff25,objectID:_0x4dc1d9,objectType:_0x2bc65f,actions:_0x1075f5}=_0xc09736;return _0x190b40[_0x1cff25]||(_0x190b40[_0x1cff25]={}),_0x190b40[_0x1cff25][_0x4dc1d9]||(_0x190b40[_0x1cff25][_0x4dc1d9]={'objectID':_0x4dc1d9,'objectType':_0x2bc65f,'actions':[]}),_0x190b40[_0x1cff25][_0x4dc1d9][_0x2dba75(0x45d)][_0x2dba75(0x249)](..._0x1075f5),_0x190b40;},{}),_0x1ad95e=[];for(const _0x4276a7 in _0xbea8c0)for(const _0x5170e1 in _0xbea8c0[_0x4276a7]){const {actions:_0x558fef,objectType:_0x1e2ec2}=_0xbea8c0[_0x4276a7][_0x5170e1],_0x4a3635=[...new Set(_0x558fef)];_0x1ad95e[_0xe33df8(0x249)]({'unitID':_0x4276a7,'objectID':_0x5170e1,'objectType':_0x1e2ec2,'actions':_0x4a3635});}return new q[(_0xe33df8(0x272))]('POST',_0x5bcf60,{'headers':_0x31e74c[_0xe33df8(0x114)],'withCredentials':_0x31e74c[_0xe33df8(0x19a)],'responseType':_0x31e74c[_0xe33df8(0x46a)],'body':{'requests':_0x1ad95e}});}},{'distributeResult'(_0x460224,_0x34c2fb){var _0x1c396a=_0x422938;const {objectActions:_0x290ded}=_0x460224;return _0x34c2fb[_0x1c396a(0x436)](_0x1d032a=>{var _0x437734=_0x1c396a;const {unitID:_0x5cbfa5,objectID:_0x2a5e31,actions:_0x58325f}=_0x1d032a,_0x2799a5=_0x290ded[_0x437734(0x186)](_0x68a6d4=>_0x68a6d4[_0x437734(0x344)]===_0x5cbfa5&&_0x68a6d4[_0x437734(0x294)]===_0x2a5e31),_0x1de355=_0x58325f['map'](_0x3960c4=>_0x2799a5==null?void 0x0:_0x2799a5[_0x437734(0x45d)][_0x437734(0x186)](_0x9b2daf=>_0x9b2daf[_0x437734(0x12c)]===_0x3960c4))['filter'](_0x263042=>!!_0x263042);return{'config':_0x1d032a,'result':{'actions':_0x1de355,'error':_0x460224[_0x437734(0x1c8)]}};});}})}));}[_0x2575f3(0x1f6)](){var _0x5b9db5=_0x2575f3,_0x15a404;const _0x48cae5=this[_0x5b9db5(0x3ab)][_0x5b9db5(0x3c1)](Y);return(_0x15a404=_0x48cae5==null?void 0x0:_0x48cae5[_0x5b9db5(0x27d)])!=null?_0x15a404:mi;}async[_0x2575f3(0x26f)](_0x38d65a){var _0x531297=_0x2575f3;const _0x1cdc4b=this['_getAPIPrefixPath']()+'/'+_0x38d65a[_0x531297(0x36c)]+_0x531297(0x366);return(await this['_HTTPService']['post'](_0x1cdc4b,{'body':_0x38d65a}))[_0x531297(0x1bc)][_0x531297(0x294)]||'';}async[_0x2575f3(0x1c7)](_0x2ac2b0){var _0x50f91a=_0x2575f3;const _0x3fe906=this[_0x50f91a(0x1f6)]()+_0x50f91a(0x384);return(await this[_0x50f91a(0x3f5)]['post'](_0x3fe906,{'body':_0x2ac2b0}))[_0x50f91a(0x1bc)][_0x50f91a(0x122)];}async['update'](_0x5247d9){var _0x1f4756=_0x2575f3,_0x136fd4,_0x47355f;const _0x1dffc2=this['_getAPIPrefixPath']()+'/'+_0x5247d9[_0x1f4756(0x36c)]+_0x1f4756(0x237)+_0x5247d9[_0x1f4756(0x294)],_0x57bf33=await this['_HTTPService'][_0x1f4756(0x1e7)](_0x1dffc2,{'body':_0x5247d9});if(((_0x47355f=(_0x136fd4=_0x57bf33==null?void 0x0:_0x57bf33[_0x1f4756(0x1bc)])==null?void 0x0:_0x136fd4[_0x1f4756(0x1c8)])==null?void 0x0:_0x47355f[_0x1f4756(0x17f)])!==0x1)throw new Error(_0x1f4756(0x324));}async['allowed'](_0x320b42){var _0x1afd4f=_0x2575f3;const _0x589372=this[_0x1afd4f(0x1f6)]()+'/'+_0x320b42[_0x1afd4f(0x36c)]+'/object/'+_0x320b42[_0x1afd4f(0x294)]+'/allowed';return(await this[_0x1afd4f(0x3f5)][_0x1afd4f(0x2ab)](_0x589372,{'body':_0x320b42}))[_0x1afd4f(0x1bc)][_0x1afd4f(0x45d)];}async[_0x2575f3(0x1ed)](_0x2c1c80){var _0x2065a1=_0x2575f3;const _0xc51ec=this[_0x2065a1(0x1f6)]()+_0x2065a1(0x40e);return(await this[_0x2065a1(0x3f5)][_0x2065a1(0x2ab)](_0xc51ec,{'body':{'requests':_0x2c1c80}}))[_0x2065a1(0x1bc)][_0x2065a1(0x429)];}async[_0x2575f3(0x16b)](_0x5361cd){var _0x9574bb=_0x2575f3;const _0x3abd93=this[_0x9574bb(0x1f6)]()+'/'+_0x5361cd[_0x9574bb(0x36c)]+_0x9574bb(0x335),_0x55a4eb=await this[_0x9574bb(0x3f5)]['post'](_0x3abd93,{'body':_0x5361cd});return{'roles':_0x55a4eb['body'][_0x9574bb(0x3ae)],'actions':_0x55a4eb['body'][_0x9574bb(0x45d)]};}async['deleteCollaborator'](_0x51b317){var _0x3d2e41=_0x2575f3;const _0x59b280=this[_0x3d2e41(0x1f6)]()+'/collaborator';await this[_0x3d2e41(0x3f5)][_0x3d2e41(0x260)](_0x59b280,{'params':{'collaboratorID':_0x51b317[_0x3d2e41(0x252)],'objectID':_0x51b317[_0x3d2e41(0x294)],'unitID':_0x51b317[_0x3d2e41(0x344)]}});}async[_0x2575f3(0x3e7)](_0x3a5cdc){var _0x498803=_0x2575f3;const _0x3a57a4=this['_getAPIPrefixPath']()+_0x498803(0x19f);await this[_0x498803(0x3f5)][_0x498803(0x443)](_0x3a57a4,{'body':_0x3a5cdc});}async['createCollaborator'](_0x1734e8){var _0x5f003f=_0x2575f3;const _0x3a2770=this[_0x5f003f(0x1f6)]()+_0x5f003f(0x19f);await this[_0x5f003f(0x3f5)][_0x5f003f(0x2ab)](_0x3a2770,{'body':_0x1734e8});}async[_0x2575f3(0x34f)](_0x5bc338){var _0x4df4c1=_0x2575f3;const _0x491b74=this[_0x4df4c1(0x1f6)]()+'/collaborator';return(await this[_0x4df4c1(0x3f5)]['get'](_0x491b74,{'params':{'objectID':_0x5bc338[_0x4df4c1(0x294)],'unitID':_0x5bc338[_0x4df4c1(0x344)]}}))['body']['collaborators'];}async[_0x2575f3(0x2e8)](_0x4aca22){var _0x4c0e11=_0x2575f3;const _0x47768a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4c0e11(0x3f5)]['put'](_0x47768a,{'body':_0x4aca22});}},exports['AuthzIoHttpService']=pi([qe(0x0,a['Inject'](q[_0x2575f3(0x395)])),qe(0x1,a[_0x2575f3(0x337)](a['IConfigService']))],exports[_0x2575f3(0x469)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3c07be){var _0x3e4751=_0x2575f3;return _0x3c07be&&_0x3c07be[_0x3e4751(0x181)]&&Object[_0x3e4751(0x3d2)][_0x3e4751(0x15f)][_0x3e4751(0x2c3)](_0x3c07be,_0x3e4751(0x251))?_0x3c07be[_0x3e4751(0x251)]:_0x3c07be;}var fe={'exports':{}};function gi(_0x4fb7d5){var _0x55f704=_0x2575f3;throw new Error(_0x55f704(0x24c)+_0x4fb7d5+_0x55f704(0x369));}var Ie={'exports':{}},Ei=Ie['exports'],Ke;function Q(){var _0x45dcc6=_0x2575f3;return Ke||(Ke=0x1,function(_0x12f303,_0x42eb44){(function(_0x518d0a,_0xc976cc){var _0x1ed452=_0x4419;_0x12f303[_0x1ed452(0x412)]=_0xc976cc();}(Ei,function(){var _0x84233d=_0x84233d||function(_0x2bcb7a,_0x59ea6f){var _0x411173=_0x4419,_0x364b2a;if(typeof window<'u'&&window[_0x411173(0x3db)]&&(_0x364b2a=window[_0x411173(0x3db)]),typeof self<'u'&&self[_0x411173(0x3db)]&&(_0x364b2a=self[_0x411173(0x3db)]),typeof globalThis<'u'&&globalThis[_0x411173(0x3db)]&&(_0x364b2a=globalThis['crypto']),!_0x364b2a&&typeof window<'u'&&window['msCrypto']&&(_0x364b2a=window[_0x411173(0x1d9)]),!_0x364b2a&&typeof Pe<'u'&&Pe[_0x411173(0x3db)]&&(_0x364b2a=Pe[_0x411173(0x3db)]),!_0x364b2a&&typeof gi==_0x411173(0x341))try{_0x364b2a=require('crypto');}catch{}var _0xc32f4e=function(){var _0x4717c7=_0x411173;if(_0x364b2a){if(typeof _0x364b2a[_0x4717c7(0x129)]==_0x4717c7(0x341))try{return _0x364b2a['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x364b2a[_0x4717c7(0x44d)]==_0x4717c7(0x341))try{return _0x364b2a[_0x4717c7(0x44d)](0x4)[_0x4717c7(0x28f)]();}catch{}}throw new Error(_0x4717c7(0x1e4));},_0x16491d=Object['create']||(function(){function _0x536ea7(){}return function(_0x402bbf){var _0x22438b=_0x4419,_0xd14b7d;return _0x536ea7['prototype']=_0x402bbf,_0xd14b7d=new _0x536ea7(),_0x536ea7[_0x22438b(0x3d2)]=null,_0xd14b7d;};}()),_0x51b7c8={},_0x237a6c=_0x51b7c8['lib']={},_0xc7a546=_0x237a6c['Base']=(function(){return{'extend':function(_0x56d417){var _0x43ed97=_0x4419,_0x51073d=_0x16491d(this);return _0x56d417&&_0x51073d['mixIn'](_0x56d417),(!_0x51073d['hasOwnProperty'](_0x43ed97(0x1c1))||this[_0x43ed97(0x1c1)]===_0x51073d[_0x43ed97(0x1c1)])&&(_0x51073d['init']=function(){var _0x32a59f=_0x43ed97;_0x51073d[_0x32a59f(0x38b)][_0x32a59f(0x1c1)][_0x32a59f(0x11c)](this,arguments);}),_0x51073d[_0x43ed97(0x1c1)][_0x43ed97(0x3d2)]=_0x51073d,_0x51073d[_0x43ed97(0x38b)]=this,_0x51073d;},'create':function(){var _0x3ddc06=_0x4419,_0x852c87=this['extend']();return _0x852c87[_0x3ddc06(0x1c1)][_0x3ddc06(0x11c)](_0x852c87,arguments),_0x852c87;},'init':function(){},'mixIn':function(_0x5dbdd4){var _0x13aba8=_0x4419;for(var _0x180065 in _0x5dbdd4)_0x5dbdd4[_0x13aba8(0x15f)](_0x180065)&&(this[_0x180065]=_0x5dbdd4[_0x180065]);_0x5dbdd4[_0x13aba8(0x15f)]('toString')&&(this['toString']=_0x5dbdd4['toString']);},'clone':function(){var _0x1b0327=_0x4419;return this[_0x1b0327(0x1c1)][_0x1b0327(0x3d2)]['extend'](this);}};}()),_0x488492=_0x237a6c[_0x411173(0x26e)]=_0xc7a546[_0x411173(0x100)]({'init':function(_0x1ca272,_0x2eca15){var _0x14f696=_0x411173;_0x1ca272=this[_0x14f696(0x2cd)]=_0x1ca272||[],_0x2eca15!=_0x59ea6f?this['sigBytes']=_0x2eca15:this[_0x14f696(0x279)]=_0x1ca272[_0x14f696(0x42c)]*0x4;},'toString':function(_0x5eb83d){var _0x37d6f9=_0x411173;return(_0x5eb83d||_0x122a3b)[_0x37d6f9(0x307)](this);},'concat':function(_0x2788d7){var _0x15747d=_0x411173,_0x375d2f=this[_0x15747d(0x2cd)],_0x22388a=_0x2788d7[_0x15747d(0x2cd)],_0x2a7f62=this[_0x15747d(0x279)],_0x155523=_0x2788d7[_0x15747d(0x279)];if(this[_0x15747d(0x38a)](),_0x2a7f62%0x4)for(var _0x2663b1=0x0;_0x2663b1<_0x155523;_0x2663b1++){var _0x485f0d=_0x22388a[_0x2663b1>>>0x2]>>>0x18-_0x2663b1%0x4*0x8&0xff;_0x375d2f[_0x2a7f62+_0x2663b1>>>0x2]|=_0x485f0d<<0x18-(_0x2a7f62+_0x2663b1)%0x4*0x8;}else{for(var _0x170106=0x0;_0x170106<_0x155523;_0x170106+=0x4)_0x375d2f[_0x2a7f62+_0x170106>>>0x2]=_0x22388a[_0x170106>>>0x2];}return this[_0x15747d(0x279)]+=_0x155523,this;},'clamp':function(){var _0x9eebce=_0x411173,_0x5932fe=this[_0x9eebce(0x2cd)],_0x8924f=this[_0x9eebce(0x279)];_0x5932fe[_0x8924f>>>0x2]&=0xffffffff<<0x20-_0x8924f%0x4*0x8,_0x5932fe['length']=_0x2bcb7a[_0x9eebce(0x20b)](_0x8924f/0x4);},'clone':function(){var _0x54eeaa=_0x411173,_0x33e3cb=_0xc7a546[_0x54eeaa(0x170)][_0x54eeaa(0x2c3)](this);return _0x33e3cb[_0x54eeaa(0x2cd)]=this[_0x54eeaa(0x2cd)][_0x54eeaa(0x301)](0x0),_0x33e3cb;},'random':function(_0x22a9c4){var _0x3f4d70=_0x411173;for(var _0x1c1681=[],_0x349d63=0x0;_0x349d63<_0x22a9c4;_0x349d63+=0x4)_0x1c1681['push'](_0xc32f4e());return new _0x488492[(_0x3f4d70(0x1c1))](_0x1c1681,_0x22a9c4);}}),_0x12f2e9=_0x51b7c8[_0x411173(0x453)]={},_0x122a3b=_0x12f2e9[_0x411173(0x265)]={'stringify':function(_0x352dcf){var _0x307e03=_0x411173;for(var _0x2f178c=_0x352dcf[_0x307e03(0x2cd)],_0x29a4ed=_0x352dcf[_0x307e03(0x279)],_0x13d7a4=[],_0x2d974f=0x0;_0x2d974f<_0x29a4ed;_0x2d974f++){var _0x5c3071=_0x2f178c[_0x2d974f>>>0x2]>>>0x18-_0x2d974f%0x4*0x8&0xff;_0x13d7a4[_0x307e03(0x249)]((_0x5c3071>>>0x4)[_0x307e03(0x271)](0x10)),_0x13d7a4['push']((_0x5c3071&0xf)['toString'](0x10));}return _0x13d7a4[_0x307e03(0x126)]('');},'parse':function(_0x5f0cfe){var _0x4bb80a=_0x411173;for(var _0x268e37=_0x5f0cfe[_0x4bb80a(0x42c)],_0x2b4cd6=[],_0x474f67=0x0;_0x474f67<_0x268e37;_0x474f67+=0x2)_0x2b4cd6[_0x474f67>>>0x3]|=parseInt(_0x5f0cfe[_0x4bb80a(0x413)](_0x474f67,0x2),0x10)<<0x18-_0x474f67%0x8*0x4;return new _0x488492[(_0x4bb80a(0x1c1))](_0x2b4cd6,_0x268e37/0x2);}},_0x4efff9=_0x12f2e9[_0x411173(0x2c2)]={'stringify':function(_0x4d1fb0){var _0x42849e=_0x411173;for(var _0x4c79bb=_0x4d1fb0[_0x42849e(0x2cd)],_0x351a80=_0x4d1fb0[_0x42849e(0x279)],_0x580de1=[],_0x349f33=0x0;_0x349f33<_0x351a80;_0x349f33++){var _0x5f3d74=_0x4c79bb[_0x349f33>>>0x2]>>>0x18-_0x349f33%0x4*0x8&0xff;_0x580de1[_0x42849e(0x249)](String[_0x42849e(0x38f)](_0x5f3d74));}return _0x580de1[_0x42849e(0x126)]('');},'parse':function(_0x46398c){var _0x2dd200=_0x411173;for(var _0x5df52d=_0x46398c[_0x2dd200(0x42c)],_0x1f358f=[],_0x5c93ec=0x0;_0x5c93ec<_0x5df52d;_0x5c93ec++)_0x1f358f[_0x5c93ec>>>0x2]|=(_0x46398c[_0x2dd200(0x3f7)](_0x5c93ec)&0xff)<<0x18-_0x5c93ec%0x4*0x8;return new _0x488492[(_0x2dd200(0x1c1))](_0x1f358f,_0x5df52d);}},_0xec0ea5=_0x12f2e9['Utf8']={'stringify':function(_0x168727){var _0x3e3db2=_0x411173;try{return decodeURIComponent(escape(_0x4efff9['stringify'](_0x168727)));}catch{throw new Error(_0x3e3db2(0x17b));}},'parse':function(_0x1c52ec){var _0x3964f5=_0x411173;return _0x4efff9[_0x3964f5(0x3f9)](unescape(encodeURIComponent(_0x1c52ec)));}},_0x53556b=_0x237a6c['BufferedBlockAlgorithm']=_0xc7a546[_0x411173(0x100)]({'reset':function(){var _0x9c4f62=_0x411173;this[_0x9c4f62(0x1a6)]=new _0x488492[(_0x9c4f62(0x1c1))](),this[_0x9c4f62(0x318)]=0x0;},'_append':function(_0x24a6ea){var _0x3e4593=_0x411173;typeof _0x24a6ea=='string'&&(_0x24a6ea=_0xec0ea5['parse'](_0x24a6ea)),this[_0x3e4593(0x1a6)]['concat'](_0x24a6ea),this[_0x3e4593(0x318)]+=_0x24a6ea[_0x3e4593(0x279)];},'_process':function(_0x1c099d){var _0x155714=_0x411173,_0x534846,_0x7bd1b5=this[_0x155714(0x1a6)],_0x190496=_0x7bd1b5[_0x155714(0x2cd)],_0x194d4a=_0x7bd1b5[_0x155714(0x279)],_0x259451=this[_0x155714(0x2b0)],_0x2fbfa9=_0x259451*0x4,_0x270d11=_0x194d4a/_0x2fbfa9;_0x1c099d?_0x270d11=_0x2bcb7a[_0x155714(0x20b)](_0x270d11):_0x270d11=_0x2bcb7a['max']((_0x270d11|0x0)-this[_0x155714(0x288)],0x0);var _0x44eefb=_0x270d11*_0x259451,_0x4cb10f=_0x2bcb7a['min'](_0x44eefb*0x4,_0x194d4a);if(_0x44eefb){for(var _0x30664e=0x0;_0x30664e<_0x44eefb;_0x30664e+=_0x259451)this[_0x155714(0x34e)](_0x190496,_0x30664e);_0x534846=_0x190496['splice'](0x0,_0x44eefb),_0x7bd1b5[_0x155714(0x279)]-=_0x4cb10f;}return new _0x488492[(_0x155714(0x1c1))](_0x534846,_0x4cb10f);},'clone':function(){var _0x477590=_0x411173,_0x4ffeb9=_0xc7a546['clone'][_0x477590(0x2c3)](this);return _0x4ffeb9[_0x477590(0x1a6)]=this[_0x477590(0x1a6)]['clone'](),_0x4ffeb9;},'_minBufferSize':0x0});_0x237a6c['Hasher']=_0x53556b[_0x411173(0x100)]({'cfg':_0xc7a546[_0x411173(0x100)](),'init':function(_0x4e91e5){var _0x1ff9ba=_0x411173;this[_0x1ff9ba(0x401)]=this[_0x1ff9ba(0x401)][_0x1ff9ba(0x100)](_0x4e91e5),this[_0x1ff9ba(0x455)]();},'reset':function(){var _0x5811bc=_0x411173;_0x53556b[_0x5811bc(0x455)][_0x5811bc(0x2c3)](this),this[_0x5811bc(0x434)]();},'update':function(_0x2b4e75){var _0x336503=_0x411173;return this[_0x336503(0x2e6)](_0x2b4e75),this[_0x336503(0x2e2)](),this;},'finalize':function(_0x2ddaf9){var _0x126a70=_0x411173;_0x2ddaf9&&this[_0x126a70(0x2e6)](_0x2ddaf9);var _0x10b723=this['_doFinalize']();return _0x10b723;},'blockSize':0x10,'_createHelper':function(_0x2994a0){return function(_0x2c8f99,_0x319a57){var _0x15c1b9=_0x4419;return new _0x2994a0[(_0x15c1b9(0x1c1))](_0x319a57)[_0x15c1b9(0x39f)](_0x2c8f99);};},'_createHmacHelper':function(_0x41307c){return function(_0x4a3d3c,_0x23b3e6){var _0x478191=_0x4419;return new _0xa6d91[(_0x478191(0x22d))]['init'](_0x41307c,_0x23b3e6)['finalize'](_0x4a3d3c);};}});var _0xa6d91=_0x51b7c8[_0x411173(0x269)]={};return _0x51b7c8;}(Math);return _0x84233d;}));}(Ie)),Ie[_0x45dcc6(0x412)];}var pe={'exports':{}},Ci=pe[_0x2575f3(0x412)],ze;function Et(){var _0x463b83=_0x2575f3;return ze||(ze=0x1,function(_0x466815,_0x94b4eb){(function(_0x3aa1ab,_0x29af95){_0x466815['exports']=_0x29af95(Q());}(Ci,function(_0x51c9d6){var _0x2c1ca3=_0x4419;return(function(){var _0x823d2c=_0x4419,_0x4e31df=_0x51c9d6,_0x33255d=_0x4e31df['lib'],_0x36a5a9=_0x33255d[_0x823d2c(0x26e)],_0x5516e9=_0x4e31df[_0x823d2c(0x453)];_0x5516e9['Base64']={'stringify':function(_0x4b10dd){var _0x4664b5=_0x823d2c,_0x28febc=_0x4b10dd[_0x4664b5(0x2cd)],_0xfa2a9=_0x4b10dd[_0x4664b5(0x279)],_0x2245c9=this[_0x4664b5(0x1e5)];_0x4b10dd[_0x4664b5(0x38a)]();for(var _0x2beafc=[],_0x6cbc8a=0x0;_0x6cbc8a<_0xfa2a9;_0x6cbc8a+=0x3)for(var _0x5dbe9c=_0x28febc[_0x6cbc8a>>>0x2]>>>0x18-_0x6cbc8a%0x4*0x8&0xff,_0x108a91=_0x28febc[_0x6cbc8a+0x1>>>0x2]>>>0x18-(_0x6cbc8a+0x1)%0x4*0x8&0xff,_0x1669fc=_0x28febc[_0x6cbc8a+0x2>>>0x2]>>>0x18-(_0x6cbc8a+0x2)%0x4*0x8&0xff,_0x1f8e26=_0x5dbe9c<<0x10|_0x108a91<<0x8|_0x1669fc,_0x192a17=0x0;_0x192a17<0x4&&_0x6cbc8a+_0x192a17*0.75<_0xfa2a9;_0x192a17++)_0x2beafc[_0x4664b5(0x249)](_0x2245c9['charAt'](_0x1f8e26>>>0x6*(0x3-_0x192a17)&0x3f));var _0x23b582=_0x2245c9[_0x4664b5(0x1dd)](0x40);if(_0x23b582){for(;_0x2beafc[_0x4664b5(0x42c)]%0x4;)_0x2beafc[_0x4664b5(0x249)](_0x23b582);}return _0x2beafc['join']('');},'parse':function(_0x2d4575){var _0x3d7d1f=_0x823d2c,_0x1f7889=_0x2d4575['length'],_0x1c3cef=this[_0x3d7d1f(0x1e5)],_0x39cb20=this['_reverseMap'];if(!_0x39cb20){_0x39cb20=this[_0x3d7d1f(0x461)]=[];for(var _0x34939b=0x0;_0x34939b<_0x1c3cef[_0x3d7d1f(0x42c)];_0x34939b++)_0x39cb20[_0x1c3cef['charCodeAt'](_0x34939b)]=_0x34939b;}var _0x31f848=_0x1c3cef[_0x3d7d1f(0x1dd)](0x40);if(_0x31f848){var _0xba4329=_0x2d4575['indexOf'](_0x31f848);_0xba4329!==-0x1&&(_0x1f7889=_0xba4329);}return _0x4ca6dd(_0x2d4575,_0x1f7889,_0x39cb20);},'_map':_0x823d2c(0x285)};function _0x4ca6dd(_0x37e279,_0x487556,_0x3f9a21){var _0x3fed1d=_0x823d2c;for(var _0x466983=[],_0x4c080a=0x0,_0x34c3f5=0x0;_0x34c3f5<_0x487556;_0x34c3f5++)if(_0x34c3f5%0x4){var _0xbbb9e7=_0x3f9a21[_0x37e279['charCodeAt'](_0x34c3f5-0x1)]<<_0x34c3f5%0x4*0x2,_0x1f6624=_0x3f9a21[_0x37e279[_0x3fed1d(0x3f7)](_0x34c3f5)]>>>0x6-_0x34c3f5%0x4*0x2,_0xa4a949=_0xbbb9e7|_0x1f6624;_0x466983[_0x4c080a>>>0x2]|=_0xa4a949<<0x18-_0x4c080a%0x4*0x8,_0x4c080a++;}return _0x36a5a9[_0x3fed1d(0x26f)](_0x466983,_0x4c080a);}}()),_0x51c9d6[_0x2c1ca3(0x453)]['Base64'];}));}(pe)),pe[_0x463b83(0x412)];}var me={'exports':{}},Ti=me[_0x2575f3(0x412)],Je;function bi(){var _0x333ff4=_0x2575f3;return Je||(Je=0x1,function(_0x16c6ba,_0xb4324e){(function(_0x13ed97,_0x4f9ada){_0x16c6ba['exports']=_0x4f9ada(Q());}(Ti,function(_0x18424c){var _0x26bebb=_0x4419;return function(_0x47d17a){var _0x232f43=_0x4419,_0x481784=_0x18424c,_0x3208c6=_0x481784[_0x232f43(0x1f9)],_0x57a372=_0x3208c6[_0x232f43(0x26e)],_0x365677=_0x3208c6[_0x232f43(0x2f3)],_0x139bba=_0x481784['algo'],_0x50ba8c=[];(function(){for(var _0xb37c4b=0x0;_0xb37c4b<0x40;_0xb37c4b++)_0x50ba8c[_0xb37c4b]=_0x47d17a['abs'](_0x47d17a['sin'](_0xb37c4b+0x1))*0x100000000|0x0;}());var _0xb1fb9f=_0x139bba['MD5']=_0x365677[_0x232f43(0x100)]({'_doReset':function(){var _0x4f490b=_0x232f43;this[_0x4f490b(0x3e3)]=new _0x57a372['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4413e6,_0x4fe100){var _0x462a9c=_0x232f43;for(var _0x461106=0x0;_0x461106<0x10;_0x461106++){var _0x5e28eb=_0x4fe100+_0x461106,_0xd12f90=_0x4413e6[_0x5e28eb];_0x4413e6[_0x5e28eb]=(_0xd12f90<<0x8|_0xd12f90>>>0x18)&0xff00ff|(_0xd12f90<<0x18|_0xd12f90>>>0x8)&0xff00ff00;}var _0x1abfe6=this[_0x462a9c(0x3e3)][_0x462a9c(0x2cd)],_0x197199=_0x4413e6[_0x4fe100+0x0],_0x359b05=_0x4413e6[_0x4fe100+0x1],_0x331b30=_0x4413e6[_0x4fe100+0x2],_0x151196=_0x4413e6[_0x4fe100+0x3],_0x333319=_0x4413e6[_0x4fe100+0x4],_0x28d98d=_0x4413e6[_0x4fe100+0x5],_0x1f1a5c=_0x4413e6[_0x4fe100+0x6],_0x536bf8=_0x4413e6[_0x4fe100+0x7],_0x755332=_0x4413e6[_0x4fe100+0x8],_0x16dd4a=_0x4413e6[_0x4fe100+0x9],_0x6ecce2=_0x4413e6[_0x4fe100+0xa],_0x320750=_0x4413e6[_0x4fe100+0xb],_0x34b4dd=_0x4413e6[_0x4fe100+0xc],_0x3e9592=_0x4413e6[_0x4fe100+0xd],_0x152f59=_0x4413e6[_0x4fe100+0xe],_0x4f16d9=_0x4413e6[_0x4fe100+0xf],_0x14df27=_0x1abfe6[0x0],_0x23b461=_0x1abfe6[0x1],_0x14fef3=_0x1abfe6[0x2],_0x25c475=_0x1abfe6[0x3];_0x14df27=_0x1c3b56(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x197199,0x7,_0x50ba8c[0x0]),_0x25c475=_0x1c3b56(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x359b05,0xc,_0x50ba8c[0x1]),_0x14fef3=_0x1c3b56(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x331b30,0x11,_0x50ba8c[0x2]),_0x23b461=_0x1c3b56(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x151196,0x16,_0x50ba8c[0x3]),_0x14df27=_0x1c3b56(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x333319,0x7,_0x50ba8c[0x4]),_0x25c475=_0x1c3b56(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x28d98d,0xc,_0x50ba8c[0x5]),_0x14fef3=_0x1c3b56(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x1f1a5c,0x11,_0x50ba8c[0x6]),_0x23b461=_0x1c3b56(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x536bf8,0x16,_0x50ba8c[0x7]),_0x14df27=_0x1c3b56(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x755332,0x7,_0x50ba8c[0x8]),_0x25c475=_0x1c3b56(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x16dd4a,0xc,_0x50ba8c[0x9]),_0x14fef3=_0x1c3b56(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x6ecce2,0x11,_0x50ba8c[0xa]),_0x23b461=_0x1c3b56(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x320750,0x16,_0x50ba8c[0xb]),_0x14df27=_0x1c3b56(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x34b4dd,0x7,_0x50ba8c[0xc]),_0x25c475=_0x1c3b56(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x3e9592,0xc,_0x50ba8c[0xd]),_0x14fef3=_0x1c3b56(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x152f59,0x11,_0x50ba8c[0xe]),_0x23b461=_0x1c3b56(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x4f16d9,0x16,_0x50ba8c[0xf]),_0x14df27=_0x4a6d3d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x359b05,0x5,_0x50ba8c[0x10]),_0x25c475=_0x4a6d3d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x1f1a5c,0x9,_0x50ba8c[0x11]),_0x14fef3=_0x4a6d3d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x320750,0xe,_0x50ba8c[0x12]),_0x23b461=_0x4a6d3d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x197199,0x14,_0x50ba8c[0x13]),_0x14df27=_0x4a6d3d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x28d98d,0x5,_0x50ba8c[0x14]),_0x25c475=_0x4a6d3d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x6ecce2,0x9,_0x50ba8c[0x15]),_0x14fef3=_0x4a6d3d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x4f16d9,0xe,_0x50ba8c[0x16]),_0x23b461=_0x4a6d3d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x333319,0x14,_0x50ba8c[0x17]),_0x14df27=_0x4a6d3d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x16dd4a,0x5,_0x50ba8c[0x18]),_0x25c475=_0x4a6d3d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x152f59,0x9,_0x50ba8c[0x19]),_0x14fef3=_0x4a6d3d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x151196,0xe,_0x50ba8c[0x1a]),_0x23b461=_0x4a6d3d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x755332,0x14,_0x50ba8c[0x1b]),_0x14df27=_0x4a6d3d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x3e9592,0x5,_0x50ba8c[0x1c]),_0x25c475=_0x4a6d3d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x331b30,0x9,_0x50ba8c[0x1d]),_0x14fef3=_0x4a6d3d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x536bf8,0xe,_0x50ba8c[0x1e]),_0x23b461=_0x4a6d3d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x34b4dd,0x14,_0x50ba8c[0x1f]),_0x14df27=_0x58875d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x28d98d,0x4,_0x50ba8c[0x20]),_0x25c475=_0x58875d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x755332,0xb,_0x50ba8c[0x21]),_0x14fef3=_0x58875d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x320750,0x10,_0x50ba8c[0x22]),_0x23b461=_0x58875d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x152f59,0x17,_0x50ba8c[0x23]),_0x14df27=_0x58875d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x359b05,0x4,_0x50ba8c[0x24]),_0x25c475=_0x58875d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x333319,0xb,_0x50ba8c[0x25]),_0x14fef3=_0x58875d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x536bf8,0x10,_0x50ba8c[0x26]),_0x23b461=_0x58875d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x6ecce2,0x17,_0x50ba8c[0x27]),_0x14df27=_0x58875d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x3e9592,0x4,_0x50ba8c[0x28]),_0x25c475=_0x58875d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x197199,0xb,_0x50ba8c[0x29]),_0x14fef3=_0x58875d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x151196,0x10,_0x50ba8c[0x2a]),_0x23b461=_0x58875d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x1f1a5c,0x17,_0x50ba8c[0x2b]),_0x14df27=_0x58875d(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x16dd4a,0x4,_0x50ba8c[0x2c]),_0x25c475=_0x58875d(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x34b4dd,0xb,_0x50ba8c[0x2d]),_0x14fef3=_0x58875d(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x4f16d9,0x10,_0x50ba8c[0x2e]),_0x23b461=_0x58875d(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x331b30,0x17,_0x50ba8c[0x2f]),_0x14df27=_0xd58a9c(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x197199,0x6,_0x50ba8c[0x30]),_0x25c475=_0xd58a9c(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x536bf8,0xa,_0x50ba8c[0x31]),_0x14fef3=_0xd58a9c(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x152f59,0xf,_0x50ba8c[0x32]),_0x23b461=_0xd58a9c(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x28d98d,0x15,_0x50ba8c[0x33]),_0x14df27=_0xd58a9c(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x34b4dd,0x6,_0x50ba8c[0x34]),_0x25c475=_0xd58a9c(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x151196,0xa,_0x50ba8c[0x35]),_0x14fef3=_0xd58a9c(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x6ecce2,0xf,_0x50ba8c[0x36]),_0x23b461=_0xd58a9c(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x359b05,0x15,_0x50ba8c[0x37]),_0x14df27=_0xd58a9c(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x755332,0x6,_0x50ba8c[0x38]),_0x25c475=_0xd58a9c(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x4f16d9,0xa,_0x50ba8c[0x39]),_0x14fef3=_0xd58a9c(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x1f1a5c,0xf,_0x50ba8c[0x3a]),_0x23b461=_0xd58a9c(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x3e9592,0x15,_0x50ba8c[0x3b]),_0x14df27=_0xd58a9c(_0x14df27,_0x23b461,_0x14fef3,_0x25c475,_0x333319,0x6,_0x50ba8c[0x3c]),_0x25c475=_0xd58a9c(_0x25c475,_0x14df27,_0x23b461,_0x14fef3,_0x320750,0xa,_0x50ba8c[0x3d]),_0x14fef3=_0xd58a9c(_0x14fef3,_0x25c475,_0x14df27,_0x23b461,_0x331b30,0xf,_0x50ba8c[0x3e]),_0x23b461=_0xd58a9c(_0x23b461,_0x14fef3,_0x25c475,_0x14df27,_0x16dd4a,0x15,_0x50ba8c[0x3f]),_0x1abfe6[0x0]=_0x1abfe6[0x0]+_0x14df27|0x0,_0x1abfe6[0x1]=_0x1abfe6[0x1]+_0x23b461|0x0,_0x1abfe6[0x2]=_0x1abfe6[0x2]+_0x14fef3|0x0,_0x1abfe6[0x3]=_0x1abfe6[0x3]+_0x25c475|0x0;},'_doFinalize':function(){var _0x7ce428=_0x232f43,_0x58291d=this[_0x7ce428(0x1a6)],_0x49465b=_0x58291d['words'],_0x5ec29a=this[_0x7ce428(0x318)]*0x8,_0x16062b=_0x58291d[_0x7ce428(0x279)]*0x8;_0x49465b[_0x16062b>>>0x5]|=0x80<<0x18-_0x16062b%0x20;var _0x10b88b=_0x47d17a[_0x7ce428(0x1e8)](_0x5ec29a/0x100000000),_0x5b1263=_0x5ec29a;_0x49465b[(_0x16062b+0x40>>>0x9<<0x4)+0xf]=(_0x10b88b<<0x8|_0x10b88b>>>0x18)&0xff00ff|(_0x10b88b<<0x18|_0x10b88b>>>0x8)&0xff00ff00,_0x49465b[(_0x16062b+0x40>>>0x9<<0x4)+0xe]=(_0x5b1263<<0x8|_0x5b1263>>>0x18)&0xff00ff|(_0x5b1263<<0x18|_0x5b1263>>>0x8)&0xff00ff00,_0x58291d[_0x7ce428(0x279)]=(_0x49465b[_0x7ce428(0x42c)]+0x1)*0x4,this[_0x7ce428(0x2e2)]();for(var _0xc031ab=this[_0x7ce428(0x3e3)],_0x195656=_0xc031ab['words'],_0x394653=0x0;_0x394653<0x4;_0x394653++){var _0x46ddb6=_0x195656[_0x394653];_0x195656[_0x394653]=(_0x46ddb6<<0x8|_0x46ddb6>>>0x18)&0xff00ff|(_0x46ddb6<<0x18|_0x46ddb6>>>0x8)&0xff00ff00;}return _0xc031ab;},'clone':function(){var _0x33e136=_0x232f43,_0x18ef02=_0x365677[_0x33e136(0x170)][_0x33e136(0x2c3)](this);return _0x18ef02[_0x33e136(0x3e3)]=this[_0x33e136(0x3e3)][_0x33e136(0x170)](),_0x18ef02;}});function _0x1c3b56(_0x420d51,_0x47d163,_0x5ab64e,_0x59ed8a,_0x12184a,_0x21c0dc,_0xdefcbd){var _0x5a0c77=_0x420d51+(_0x47d163&_0x5ab64e|~_0x47d163&_0x59ed8a)+_0x12184a+_0xdefcbd;return(_0x5a0c77<<_0x21c0dc|_0x5a0c77>>>0x20-_0x21c0dc)+_0x47d163;}function _0x4a6d3d(_0x48acd4,_0x1c4101,_0x4fe457,_0x2e94b,_0x2167c1,_0x2ef230,_0x69bed2){var _0x10b00b=_0x48acd4+(_0x1c4101&_0x2e94b|_0x4fe457&~_0x2e94b)+_0x2167c1+_0x69bed2;return(_0x10b00b<<_0x2ef230|_0x10b00b>>>0x20-_0x2ef230)+_0x1c4101;}function _0x58875d(_0x1b02f9,_0x54ccc2,_0x25ef28,_0x1264d8,_0x10344e,_0x30a45d,_0x43a2a8){var _0x493140=_0x1b02f9+(_0x54ccc2^_0x25ef28^_0x1264d8)+_0x10344e+_0x43a2a8;return(_0x493140<<_0x30a45d|_0x493140>>>0x20-_0x30a45d)+_0x54ccc2;}function _0xd58a9c(_0x9aee5,_0x5617b2,_0x2a1c30,_0x228bea,_0x226d50,_0x2cf497,_0x1d12a6){var _0x2f1609=_0x9aee5+(_0x2a1c30^(_0x5617b2|~_0x228bea))+_0x226d50+_0x1d12a6;return(_0x2f1609<<_0x2cf497|_0x2f1609>>>0x20-_0x2cf497)+_0x5617b2;}_0x481784['MD5']=_0x365677['_createHelper'](_0xb1fb9f),_0x481784[_0x232f43(0x13a)]=_0x365677[_0x232f43(0x392)](_0xb1fb9f);}(Math),_0x18424c[_0x26bebb(0x165)];}));}(me)),me[_0x333ff4(0x412)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x2575f3(0x412)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x2dd546,_0x9fce82){(function(_0x484f14,_0x21827e){_0x2dd546['exports']=_0x21827e(Q());}(Oi,function(_0x347b94){var _0x4b7b3e=_0x4419;return(function(){var _0x35e85f=_0x4419,_0x3ebe40=_0x347b94,_0xe9bd2d=_0x3ebe40[_0x35e85f(0x1f9)],_0x270f4e=_0xe9bd2d[_0x35e85f(0x26e)],_0x36993=_0xe9bd2d[_0x35e85f(0x2f3)],_0xd1a9ba=_0x3ebe40[_0x35e85f(0x269)],_0x138f4d=[],_0x1af526=_0xd1a9ba[_0x35e85f(0x305)]=_0x36993['extend']({'_doReset':function(){var _0x663f45=_0x35e85f;this['_hash']=new _0x270f4e[(_0x663f45(0x1c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b19bc,_0x73bdcd){var _0x5dbd4d=_0x35e85f;for(var _0x20e889=this[_0x5dbd4d(0x3e3)][_0x5dbd4d(0x2cd)],_0x322c22=_0x20e889[0x0],_0x2d9f16=_0x20e889[0x1],_0x1ec871=_0x20e889[0x2],_0x4bede2=_0x20e889[0x3],_0x916cfe=_0x20e889[0x4],_0x25b6d1=0x0;_0x25b6d1<0x50;_0x25b6d1++){if(_0x25b6d1<0x10)_0x138f4d[_0x25b6d1]=_0x4b19bc[_0x73bdcd+_0x25b6d1]|0x0;else{var _0xa55e0f=_0x138f4d[_0x25b6d1-0x3]^_0x138f4d[_0x25b6d1-0x8]^_0x138f4d[_0x25b6d1-0xe]^_0x138f4d[_0x25b6d1-0x10];_0x138f4d[_0x25b6d1]=_0xa55e0f<<0x1|_0xa55e0f>>>0x1f;}var _0x2836c8=(_0x322c22<<0x5|_0x322c22>>>0x1b)+_0x916cfe+_0x138f4d[_0x25b6d1];_0x25b6d1<0x14?_0x2836c8+=(_0x2d9f16&_0x1ec871|~_0x2d9f16&_0x4bede2)+0x5a827999:_0x25b6d1<0x28?_0x2836c8+=(_0x2d9f16^_0x1ec871^_0x4bede2)+0x6ed9eba1:_0x25b6d1<0x3c?_0x2836c8+=(_0x2d9f16&_0x1ec871|_0x2d9f16&_0x4bede2|_0x1ec871&_0x4bede2)-0x70e44324:_0x2836c8+=(_0x2d9f16^_0x1ec871^_0x4bede2)-0x359d3e2a,_0x916cfe=_0x4bede2,_0x4bede2=_0x1ec871,_0x1ec871=_0x2d9f16<<0x1e|_0x2d9f16>>>0x2,_0x2d9f16=_0x322c22,_0x322c22=_0x2836c8;}_0x20e889[0x0]=_0x20e889[0x0]+_0x322c22|0x0,_0x20e889[0x1]=_0x20e889[0x1]+_0x2d9f16|0x0,_0x20e889[0x2]=_0x20e889[0x2]+_0x1ec871|0x0,_0x20e889[0x3]=_0x20e889[0x3]+_0x4bede2|0x0,_0x20e889[0x4]=_0x20e889[0x4]+_0x916cfe|0x0;},'_doFinalize':function(){var _0x2b0f3f=_0x35e85f,_0x3d603d=this[_0x2b0f3f(0x1a6)],_0x264561=_0x3d603d[_0x2b0f3f(0x2cd)],_0xa4e6c2=this[_0x2b0f3f(0x318)]*0x8,_0x282371=_0x3d603d[_0x2b0f3f(0x279)]*0x8;return _0x264561[_0x282371>>>0x5]|=0x80<<0x18-_0x282371%0x20,_0x264561[(_0x282371+0x40>>>0x9<<0x4)+0xe]=Math[_0x2b0f3f(0x1e8)](_0xa4e6c2/0x100000000),_0x264561[(_0x282371+0x40>>>0x9<<0x4)+0xf]=_0xa4e6c2,_0x3d603d['sigBytes']=_0x264561[_0x2b0f3f(0x42c)]*0x4,this[_0x2b0f3f(0x2e2)](),this['_hash'];},'clone':function(){var _0x76173=_0x35e85f,_0x2b3909=_0x36993[_0x76173(0x170)][_0x76173(0x2c3)](this);return _0x2b3909[_0x76173(0x3e3)]=this[_0x76173(0x3e3)][_0x76173(0x170)](),_0x2b3909;}});_0x3ebe40[_0x35e85f(0x305)]=_0x36993[_0x35e85f(0x130)](_0x1af526),_0x3ebe40['HmacSHA1']=_0x36993[_0x35e85f(0x392)](_0x1af526);}()),_0x347b94[_0x4b7b3e(0x305)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x2575f3(0x412)],Ze;function Ni(){return Ze||(Ze=0x1,function(_0x329ea7,_0xafcb29){(function(_0x3e7f64,_0x19d2b3){var _0x2b053b=_0x4419;_0x329ea7[_0x2b053b(0x412)]=_0x19d2b3(Q());}(yi,function(_0x3a2610){(function(){var _0x3d2de6=_0x4419,_0x127bff=_0x3a2610,_0x33bd1f=_0x127bff[_0x3d2de6(0x1f9)],_0x158eb2=_0x33bd1f[_0x3d2de6(0x106)],_0x3e7916=_0x127bff[_0x3d2de6(0x453)],_0x9641=_0x3e7916[_0x3d2de6(0x151)],_0x4d9e6d=_0x127bff[_0x3d2de6(0x269)];_0x4d9e6d['HMAC']=_0x158eb2[_0x3d2de6(0x100)]({'init':function(_0x4da189,_0x3daa14){var _0x199f7a=_0x3d2de6;_0x4da189=this[_0x199f7a(0x200)]=new _0x4da189[(_0x199f7a(0x1c1))](),typeof _0x3daa14==_0x199f7a(0x240)&&(_0x3daa14=_0x9641['parse'](_0x3daa14));var _0x2fc371=_0x4da189[_0x199f7a(0x2b0)],_0x12e5c8=_0x2fc371*0x4;_0x3daa14[_0x199f7a(0x279)]>_0x12e5c8&&(_0x3daa14=_0x4da189[_0x199f7a(0x39f)](_0x3daa14)),_0x3daa14['clamp']();for(var _0x5ec0a1=this['_oKey']=_0x3daa14[_0x199f7a(0x170)](),_0x35c8b1=this[_0x199f7a(0x1e2)]=_0x3daa14['clone'](),_0x382c28=_0x5ec0a1[_0x199f7a(0x2cd)],_0x204c68=_0x35c8b1[_0x199f7a(0x2cd)],_0x4beffe=0x0;_0x4beffe<_0x2fc371;_0x4beffe++)_0x382c28[_0x4beffe]^=0x5c5c5c5c,_0x204c68[_0x4beffe]^=0x36363636;_0x5ec0a1[_0x199f7a(0x279)]=_0x35c8b1[_0x199f7a(0x279)]=_0x12e5c8,this[_0x199f7a(0x455)]();},'reset':function(){var _0x49af62=_0x3d2de6,_0x59c7dd=this[_0x49af62(0x200)];_0x59c7dd[_0x49af62(0x455)](),_0x59c7dd[_0x49af62(0x302)](this['_iKey']);},'update':function(_0x51c779){var _0x19f419=_0x3d2de6;return this['_hasher'][_0x19f419(0x302)](_0x51c779),this;},'finalize':function(_0x35a25b){var _0x5c1702=_0x3d2de6,_0x42c76a=this[_0x5c1702(0x200)],_0x1eae89=_0x42c76a[_0x5c1702(0x39f)](_0x35a25b);_0x42c76a[_0x5c1702(0x455)]();var _0x4510c7=_0x42c76a[_0x5c1702(0x39f)](this[_0x5c1702(0x1a7)][_0x5c1702(0x170)]()[_0x5c1702(0x43e)](_0x1eae89));return _0x4510c7;}});}());}));}(Ce)),Ce['exports'];}var Di=ge['exports'],Qe;function Ct(){var _0x158a97=_0x2575f3;return Qe||(Qe=0x1,function(_0x24307f,_0x203bef){(function(_0x25b715,_0x1ff1d7,_0x52b898){var _0x3e97ed=_0x4419;_0x24307f[_0x3e97ed(0x412)]=_0x1ff1d7(Q(),Ri(),Ni());}(Di,function(_0x3ece5a){var _0x57e42f=_0x4419;return(function(){var _0x378699=_0x4419,_0x9f2dc9=_0x3ece5a,_0x1d16d0=_0x9f2dc9[_0x378699(0x1f9)],_0x221628=_0x1d16d0[_0x378699(0x106)],_0x50d2c0=_0x1d16d0[_0x378699(0x26e)],_0x28faff=_0x9f2dc9[_0x378699(0x269)],_0x362f6c=_0x28faff[_0x378699(0x165)],_0x459dcd=_0x28faff[_0x378699(0x407)]=_0x221628['extend']({'cfg':_0x221628[_0x378699(0x100)]({'keySize':0x80/0x20,'hasher':_0x362f6c,'iterations':0x1}),'init':function(_0x3ca2fa){var _0x17f45b=_0x378699;this[_0x17f45b(0x401)]=this[_0x17f45b(0x401)][_0x17f45b(0x100)](_0x3ca2fa);},'compute':function(_0x50c64b,_0x4d2630){var _0x4073e8=_0x378699;for(var _0x4da76a,_0x2e64ee=this[_0x4073e8(0x401)],_0x5dbb6f=_0x2e64ee[_0x4073e8(0x420)]['create'](),_0x1b0992=_0x50d2c0[_0x4073e8(0x26f)](),_0x42c6f6=_0x1b0992[_0x4073e8(0x2cd)],_0x5361c9=_0x2e64ee[_0x4073e8(0x43f)],_0x467df9=_0x2e64ee[_0x4073e8(0x27b)];_0x42c6f6[_0x4073e8(0x42c)]<_0x5361c9;){_0x4da76a&&_0x5dbb6f[_0x4073e8(0x302)](_0x4da76a),_0x4da76a=_0x5dbb6f[_0x4073e8(0x302)](_0x50c64b)[_0x4073e8(0x39f)](_0x4d2630),_0x5dbb6f[_0x4073e8(0x455)]();for(var _0x530ae0=0x1;_0x530ae0<_0x467df9;_0x530ae0++)_0x4da76a=_0x5dbb6f[_0x4073e8(0x39f)](_0x4da76a),_0x5dbb6f['reset']();_0x1b0992[_0x4073e8(0x43e)](_0x4da76a);}return _0x1b0992[_0x4073e8(0x279)]=_0x5361c9*0x4,_0x1b0992;}});_0x9f2dc9[_0x378699(0x407)]=function(_0x250ac3,_0x1a61fd,_0x35de6c){var _0x3baf8b=_0x378699;return _0x459dcd[_0x3baf8b(0x26f)](_0x35de6c)['compute'](_0x250ac3,_0x1a61fd);};}()),_0x3ece5a[_0x57e42f(0x407)];}));}(ge)),ge[_0x158a97(0x412)];}var Te={'exports':{}},Ui=Te[_0x2575f3(0x412)],et;function Tt(){var _0x1e8518=_0x2575f3;return et||(et=0x1,function(_0xd8bd31,_0x41d740){(function(_0x1ef0ed,_0x2e4cb0,_0x42a50c){var _0x2b8d4b=_0x4419;_0xd8bd31[_0x2b8d4b(0x412)]=_0x2e4cb0(Q(),Ct());}(Ui,function(_0x2fe2d9){var _0x162fd1=_0x4419;_0x2fe2d9[_0x162fd1(0x1f9)][_0x162fd1(0x274)]||function(_0x240372){var _0x2565da=_0x162fd1,_0xa53da0=_0x2fe2d9,_0xa6e448=_0xa53da0[_0x2565da(0x1f9)],_0x5dc135=_0xa6e448['Base'],_0x41b4e3=_0xa6e448['WordArray'],_0x5d812b=_0xa6e448[_0x2565da(0x257)],_0x2bdcd1=_0xa53da0[_0x2565da(0x453)];_0x2bdcd1[_0x2565da(0x151)];var _0xfea3c1=_0x2bdcd1[_0x2565da(0x2f2)],_0x47c719=_0xa53da0[_0x2565da(0x269)],_0x42fb1d=_0x47c719[_0x2565da(0x407)],_0x5223e9=_0xa6e448[_0x2565da(0x274)]=_0x5d812b['extend']({'cfg':_0x5dc135[_0x2565da(0x100)](),'createEncryptor':function(_0x2f3090,_0x35acb9){var _0x31e37a=_0x2565da;return this['create'](this[_0x31e37a(0x3c9)],_0x2f3090,_0x35acb9);},'createDecryptor':function(_0x329689,_0x592e17){var _0x348325=_0x2565da;return this[_0x348325(0x26f)](this[_0x348325(0x447)],_0x329689,_0x592e17);},'init':function(_0xc72c25,_0x1046c5,_0x5e29d3){var _0x48ab04=_0x2565da;this['cfg']=this[_0x48ab04(0x401)][_0x48ab04(0x100)](_0x5e29d3),this[_0x48ab04(0x1b5)]=_0xc72c25,this['_key']=_0x1046c5,this[_0x48ab04(0x455)]();},'reset':function(){var _0x15889d=_0x2565da;_0x5d812b[_0x15889d(0x455)][_0x15889d(0x2c3)](this),this[_0x15889d(0x434)]();},'process':function(_0x22fec3){var _0x1d42cc=_0x2565da;return this['_append'](_0x22fec3),this[_0x1d42cc(0x2e2)]();},'finalize':function(_0x11d3ed){var _0x9d5f64=_0x2565da;_0x11d3ed&&this[_0x9d5f64(0x2e6)](_0x11d3ed);var _0x57c5d2=this['_doFinalize']();return _0x57c5d2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x71da1c(_0x15c39c){var _0x59eedb=_0x4419;return typeof _0x15c39c==_0x59eedb(0x240)?_0x1e7480:_0x17086e;}return function(_0x5c1724){return{'encrypt':function(_0x5bec4d,_0x681954,_0x477b1c){return _0x71da1c(_0x681954)['encrypt'](_0x5c1724,_0x5bec4d,_0x681954,_0x477b1c);},'decrypt':function(_0xbeca37,_0x2504fd,_0x2341c4){var _0x198d54=_0x4419;return _0x71da1c(_0x2504fd)[_0x198d54(0x3be)](_0x5c1724,_0xbeca37,_0x2504fd,_0x2341c4);}};};}())});_0xa6e448['StreamCipher']=_0x5223e9[_0x2565da(0x100)]({'_doFinalize':function(){var _0x2d594b=_0x2565da,_0xe46d5=this[_0x2d594b(0x2e2)](!0x0);return _0xe46d5;},'blockSize':0x1});var _0x31bca5=_0xa53da0[_0x2565da(0x373)]={},_0x39770e=_0xa6e448['BlockCipherMode']=_0x5dc135[_0x2565da(0x100)]({'createEncryptor':function(_0x1f67fd,_0x10e311){var _0x2f1d06=_0x2565da;return this[_0x2f1d06(0x356)][_0x2f1d06(0x26f)](_0x1f67fd,_0x10e311);},'createDecryptor':function(_0xee87ee,_0x19f230){var _0x1eb791=_0x2565da;return this['Decryptor'][_0x1eb791(0x26f)](_0xee87ee,_0x19f230);},'init':function(_0x1eb86d,_0x25cdf9){var _0x1f0eab=_0x2565da;this[_0x1f0eab(0x187)]=_0x1eb86d,this[_0x1f0eab(0x281)]=_0x25cdf9;}}),_0x4bfa61=_0x31bca5[_0x2565da(0x45a)]=(function(){var _0x31dd7c=_0x2565da,_0x3d8551=_0x39770e[_0x31dd7c(0x100)]();_0x3d8551['Encryptor']=_0x3d8551['extend']({'processBlock':function(_0x203288,_0x144954){var _0x3fa596=_0x31dd7c,_0x2268ea=this['_cipher'],_0x16a6c1=_0x2268ea[_0x3fa596(0x2b0)];_0x3a2f7f[_0x3fa596(0x2c3)](this,_0x203288,_0x144954,_0x16a6c1),_0x2268ea[_0x3fa596(0x233)](_0x203288,_0x144954),this['_prevBlock']=_0x203288[_0x3fa596(0x301)](_0x144954,_0x144954+_0x16a6c1);}}),_0x3d8551[_0x31dd7c(0xf7)]=_0x3d8551['extend']({'processBlock':function(_0x4a11e2,_0x213631){var _0x5b27de=_0x31dd7c,_0x359796=this[_0x5b27de(0x187)],_0x412c1b=_0x359796[_0x5b27de(0x2b0)],_0x28f65a=_0x4a11e2[_0x5b27de(0x301)](_0x213631,_0x213631+_0x412c1b);_0x359796['decryptBlock'](_0x4a11e2,_0x213631),_0x3a2f7f[_0x5b27de(0x2c3)](this,_0x4a11e2,_0x213631,_0x412c1b),this[_0x5b27de(0x1dc)]=_0x28f65a;}});function _0x3a2f7f(_0x92fdd6,_0x327302,_0x5e26d1){var _0x58355a=_0x31dd7c,_0x4018f5,_0x135d78=this[_0x58355a(0x281)];_0x135d78?(_0x4018f5=_0x135d78,this[_0x58355a(0x281)]=_0x240372):_0x4018f5=this[_0x58355a(0x1dc)];for(var _0x2a32c4=0x0;_0x2a32c4<_0x5e26d1;_0x2a32c4++)_0x92fdd6[_0x327302+_0x2a32c4]^=_0x4018f5[_0x2a32c4];}return _0x3d8551;}()),_0x4f226b=_0xa53da0[_0x2565da(0x229)]={},_0x319237=_0x4f226b[_0x2565da(0x3ce)]={'pad':function(_0xe1569f,_0x3e239f){var _0x3dca88=_0x2565da;for(var _0x3f7012=_0x3e239f*0x4,_0x2576a7=_0x3f7012-_0xe1569f[_0x3dca88(0x279)]%_0x3f7012,_0x29ef6e=_0x2576a7<<0x18|_0x2576a7<<0x10|_0x2576a7<<0x8|_0x2576a7,_0x59da44=[],_0x5d4b39=0x0;_0x5d4b39<_0x2576a7;_0x5d4b39+=0x4)_0x59da44[_0x3dca88(0x249)](_0x29ef6e);var _0x2acfba=_0x41b4e3[_0x3dca88(0x26f)](_0x59da44,_0x2576a7);_0xe1569f[_0x3dca88(0x43e)](_0x2acfba);},'unpad':function(_0x191104){var _0x513706=_0x2565da,_0x2b3a75=_0x191104['words'][_0x191104['sigBytes']-0x1>>>0x2]&0xff;_0x191104[_0x513706(0x279)]-=_0x2b3a75;}};_0xa6e448[_0x2565da(0x314)]=_0x5223e9[_0x2565da(0x100)]({'cfg':_0x5223e9[_0x2565da(0x401)][_0x2565da(0x100)]({'mode':_0x4bfa61,'padding':_0x319237}),'reset':function(){var _0x1333df=_0x2565da,_0x4aacbc;_0x5223e9[_0x1333df(0x455)]['call'](this);var _0x1ddf24=this['cfg'],_0x266452=_0x1ddf24['iv'],_0x4252c2=_0x1ddf24[_0x1333df(0x373)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x4aacbc=_0x4252c2[_0x1333df(0x125)]:(_0x4aacbc=_0x4252c2[_0x1333df(0x32b)],this['_minBufferSize']=0x1),this[_0x1333df(0x153)]&&this[_0x1333df(0x153)][_0x1333df(0x44a)]==_0x4aacbc?this['_mode'][_0x1333df(0x1c1)](this,_0x266452&&_0x266452[_0x1333df(0x2cd)]):(this[_0x1333df(0x153)]=_0x4aacbc['call'](_0x4252c2,this,_0x266452&&_0x266452[_0x1333df(0x2cd)]),this[_0x1333df(0x153)]['__creator']=_0x4aacbc);},'_doProcessBlock':function(_0x584b6f,_0x1b3cbc){var _0x3df8c9=_0x2565da;this[_0x3df8c9(0x153)][_0x3df8c9(0x41f)](_0x584b6f,_0x1b3cbc);},'_doFinalize':function(){var _0x2fdbc1=_0x2565da,_0x387c65,_0xd209a=this[_0x2fdbc1(0x401)][_0x2fdbc1(0x43b)];return this[_0x2fdbc1(0x1b5)]==this[_0x2fdbc1(0x3c9)]?(_0xd209a[_0x2fdbc1(0x229)](this[_0x2fdbc1(0x1a6)],this[_0x2fdbc1(0x2b0)]),_0x387c65=this[_0x2fdbc1(0x2e2)](!0x0)):(_0x387c65=this['_process'](!0x0),_0xd209a[_0x2fdbc1(0x399)](_0x387c65)),_0x387c65;},'blockSize':0x80/0x20});var _0x1ecabe=_0xa6e448['CipherParams']=_0x5dc135[_0x2565da(0x100)]({'init':function(_0x403553){this['mixIn'](_0x403553);},'toString':function(_0x5db954){var _0x302677=_0x2565da;return(_0x5db954||this[_0x302677(0x38d)])[_0x302677(0x307)](this);}}),_0x2ccedd=_0xa53da0[_0x2565da(0x1aa)]={},_0x3bc299=_0x2ccedd['OpenSSL']={'stringify':function(_0x21e9fa){var _0xd2acd6=_0x2565da,_0x12bf4f,_0x542ba0=_0x21e9fa[_0xd2acd6(0x232)],_0x20b8bc=_0x21e9fa[_0xd2acd6(0x437)];return _0x20b8bc?_0x12bf4f=_0x41b4e3[_0xd2acd6(0x26f)]([0x53616c74,0x65645f5f])['concat'](_0x20b8bc)[_0xd2acd6(0x43e)](_0x542ba0):_0x12bf4f=_0x542ba0,_0x12bf4f[_0xd2acd6(0x271)](_0xfea3c1);},'parse':function(_0x433204){var _0x3135be=_0x2565da,_0x1f168a,_0x3dc497=_0xfea3c1[_0x3135be(0x3f9)](_0x433204),_0x172704=_0x3dc497['words'];return _0x172704[0x0]==0x53616c74&&_0x172704[0x1]==0x65645f5f&&(_0x1f168a=_0x41b4e3['create'](_0x172704['slice'](0x2,0x4)),_0x172704['splice'](0x0,0x4),_0x3dc497[_0x3135be(0x279)]-=0x10),_0x1ecabe[_0x3135be(0x26f)]({'ciphertext':_0x3dc497,'salt':_0x1f168a});}},_0x17086e=_0xa6e448['SerializableCipher']=_0x5dc135[_0x2565da(0x100)]({'cfg':_0x5dc135[_0x2565da(0x100)]({'format':_0x3bc299}),'encrypt':function(_0x515fc7,_0x239335,_0x1a5d4f,_0x2f79d5){var _0x33ca1b=_0x2565da;_0x2f79d5=this[_0x33ca1b(0x401)][_0x33ca1b(0x100)](_0x2f79d5);var _0x13907c=_0x515fc7['createEncryptor'](_0x1a5d4f,_0x2f79d5),_0x160365=_0x13907c['finalize'](_0x239335),_0x5d13b0=_0x13907c[_0x33ca1b(0x401)];return _0x1ecabe[_0x33ca1b(0x26f)]({'ciphertext':_0x160365,'key':_0x1a5d4f,'iv':_0x5d13b0['iv'],'algorithm':_0x515fc7,'mode':_0x5d13b0['mode'],'padding':_0x5d13b0[_0x33ca1b(0x43b)],'blockSize':_0x515fc7[_0x33ca1b(0x2b0)],'formatter':_0x2f79d5['format']});},'decrypt':function(_0x50d3b9,_0x450d76,_0x250b5e,_0x361dd1){var _0x151021=_0x2565da;_0x361dd1=this[_0x151021(0x401)][_0x151021(0x100)](_0x361dd1),_0x450d76=this['_parse'](_0x450d76,_0x361dd1[_0x151021(0x1aa)]);var _0x16c882=_0x50d3b9[_0x151021(0x32b)](_0x250b5e,_0x361dd1)[_0x151021(0x39f)](_0x450d76[_0x151021(0x232)]);return _0x16c882;},'_parse':function(_0xc0005c,_0x2111fb){var _0x5751f7=_0x2565da;return typeof _0xc0005c==_0x5751f7(0x240)?_0x2111fb['parse'](_0xc0005c,this):_0xc0005c;}}),_0x310dea=_0xa53da0[_0x2565da(0xf3)]={},_0x5776bb=_0x310dea[_0x2565da(0x37d)]={'execute':function(_0x2c8d61,_0x5aa60b,_0x37edec,_0x370c6b,_0x58b99f){var _0x4e7ed2=_0x2565da;if(_0x370c6b||(_0x370c6b=_0x41b4e3[_0x4e7ed2(0x1d4)](0x40/0x8)),_0x58b99f)var _0x917d66=_0x42fb1d[_0x4e7ed2(0x26f)]({'keySize':_0x5aa60b+_0x37edec,'hasher':_0x58b99f})[_0x4e7ed2(0x234)](_0x2c8d61,_0x370c6b);else var _0x917d66=_0x42fb1d['create']({'keySize':_0x5aa60b+_0x37edec})['compute'](_0x2c8d61,_0x370c6b);var _0xf6e1f1=_0x41b4e3[_0x4e7ed2(0x26f)](_0x917d66[_0x4e7ed2(0x2cd)][_0x4e7ed2(0x301)](_0x5aa60b),_0x37edec*0x4);return _0x917d66['sigBytes']=_0x5aa60b*0x4,_0x1ecabe[_0x4e7ed2(0x26f)]({'key':_0x917d66,'iv':_0xf6e1f1,'salt':_0x370c6b});}},_0x1e7480=_0xa6e448[_0x2565da(0x138)]=_0x17086e[_0x2565da(0x100)]({'cfg':_0x17086e[_0x2565da(0x401)][_0x2565da(0x100)]({'kdf':_0x5776bb}),'encrypt':function(_0x101889,_0x431c7f,_0x318bd2,_0x37a164){var _0x3860d2=_0x2565da;_0x37a164=this[_0x3860d2(0x401)]['extend'](_0x37a164);var _0x3e5c0b=_0x37a164[_0x3860d2(0xf3)]['execute'](_0x318bd2,_0x101889['keySize'],_0x101889[_0x3860d2(0x164)],_0x37a164['salt'],_0x37a164['hasher']);_0x37a164['iv']=_0x3e5c0b['iv'];var _0x6f4852=_0x17086e[_0x3860d2(0x34b)][_0x3860d2(0x2c3)](this,_0x101889,_0x431c7f,_0x3e5c0b[_0x3860d2(0x402)],_0x37a164);return _0x6f4852[_0x3860d2(0x133)](_0x3e5c0b),_0x6f4852;},'decrypt':function(_0x816c27,_0x5a362e,_0x439a33,_0x4844e8){var _0x45b934=_0x2565da;_0x4844e8=this[_0x45b934(0x401)][_0x45b934(0x100)](_0x4844e8),_0x5a362e=this[_0x45b934(0x2d2)](_0x5a362e,_0x4844e8[_0x45b934(0x1aa)]);var _0x4ff0b9=_0x4844e8['kdf']['execute'](_0x439a33,_0x816c27[_0x45b934(0x43f)],_0x816c27[_0x45b934(0x164)],_0x5a362e[_0x45b934(0x437)],_0x4844e8[_0x45b934(0x420)]);_0x4844e8['iv']=_0x4ff0b9['iv'];var _0x1ee969=_0x17086e['decrypt'][_0x45b934(0x2c3)](this,_0x816c27,_0x5a362e,_0x4ff0b9[_0x45b934(0x402)],_0x4844e8);return _0x1ee969;}});}();}));}(Te)),Te[_0x1e8518(0x412)];}var Ai=fe['exports'],tt;function Pi(){return tt||(tt=0x1,function(_0xf70c1,_0x2d9784){(function(_0x5cff78,_0x46abd5,_0x58d6f4){var _0x393d4f=_0x4419;_0xf70c1[_0x393d4f(0x412)]=_0x46abd5(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5ca173){var _0x1785b9=_0x4419;return(function(){var _0x58c585=_0x4419,_0x5bb4ec=_0x5ca173,_0x226d96=_0x5bb4ec[_0x58c585(0x1f9)],_0x48e04d=_0x226d96['BlockCipher'],_0x4953fa=_0x5bb4ec['algo'],_0x296579=[],_0x181dc1=[],_0x4df66f=[],_0x4cbd6a=[],_0x2c1f83=[],_0x35bf4b=[],_0x3ce4dd=[],_0x48744d=[],_0x181fb6=[],_0x8e9258=[];(function(){for(var _0x5a8363=[],_0x357fcb=0x0;_0x357fcb<0x100;_0x357fcb++)_0x357fcb<0x80?_0x5a8363[_0x357fcb]=_0x357fcb<<0x1:_0x5a8363[_0x357fcb]=_0x357fcb<<0x1^0x11b;for(var _0x335bd5=0x0,_0x2ca41f=0x0,_0x357fcb=0x0;_0x357fcb<0x100;_0x357fcb++){var _0x35a59e=_0x2ca41f^_0x2ca41f<<0x1^_0x2ca41f<<0x2^_0x2ca41f<<0x3^_0x2ca41f<<0x4;_0x35a59e=_0x35a59e>>>0x8^_0x35a59e&0xff^0x63,_0x296579[_0x335bd5]=_0x35a59e,_0x181dc1[_0x35a59e]=_0x335bd5;var _0x3e85cf=_0x5a8363[_0x335bd5],_0x4b7b84=_0x5a8363[_0x3e85cf],_0x3adaad=_0x5a8363[_0x4b7b84],_0x404adc=_0x5a8363[_0x35a59e]*0x101^_0x35a59e*0x1010100;_0x4df66f[_0x335bd5]=_0x404adc<<0x18|_0x404adc>>>0x8,_0x4cbd6a[_0x335bd5]=_0x404adc<<0x10|_0x404adc>>>0x10,_0x2c1f83[_0x335bd5]=_0x404adc<<0x8|_0x404adc>>>0x18,_0x35bf4b[_0x335bd5]=_0x404adc;var _0x404adc=_0x3adaad*0x1010101^_0x4b7b84*0x10001^_0x3e85cf*0x101^_0x335bd5*0x1010100;_0x3ce4dd[_0x35a59e]=_0x404adc<<0x18|_0x404adc>>>0x8,_0x48744d[_0x35a59e]=_0x404adc<<0x10|_0x404adc>>>0x10,_0x181fb6[_0x35a59e]=_0x404adc<<0x8|_0x404adc>>>0x18,_0x8e9258[_0x35a59e]=_0x404adc,_0x335bd5?(_0x335bd5=_0x3e85cf^_0x5a8363[_0x5a8363[_0x5a8363[_0x3adaad^_0x3e85cf]]],_0x2ca41f^=_0x5a8363[_0x5a8363[_0x2ca41f]]):_0x335bd5=_0x2ca41f=0x1;}}());var _0x45d4a7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3022ce=_0x4953fa[_0x58c585(0x29f)]=_0x48e04d['extend']({'_doReset':function(){var _0x29d9fb=_0x58c585,_0x59e908;if(!(this['_nRounds']&&this[_0x29d9fb(0x3fc)]===this[_0x29d9fb(0x29a)])){for(var _0x27ad1c=this[_0x29d9fb(0x3fc)]=this[_0x29d9fb(0x29a)],_0x5dea77=_0x27ad1c['words'],_0x4ea9cf=_0x27ad1c[_0x29d9fb(0x279)]/0x4,_0x398474=this[_0x29d9fb(0x2ba)]=_0x4ea9cf+0x6,_0x203094=(_0x398474+0x1)*0x4,_0x1fd984=this[_0x29d9fb(0x163)]=[],_0x295fe0=0x0;_0x295fe0<_0x203094;_0x295fe0++)_0x295fe0<_0x4ea9cf?_0x1fd984[_0x295fe0]=_0x5dea77[_0x295fe0]:(_0x59e908=_0x1fd984[_0x295fe0-0x1],_0x295fe0%_0x4ea9cf?_0x4ea9cf>0x6&&_0x295fe0%_0x4ea9cf==0x4&&(_0x59e908=_0x296579[_0x59e908>>>0x18]<<0x18|_0x296579[_0x59e908>>>0x10&0xff]<<0x10|_0x296579[_0x59e908>>>0x8&0xff]<<0x8|_0x296579[_0x59e908&0xff]):(_0x59e908=_0x59e908<<0x8|_0x59e908>>>0x18,_0x59e908=_0x296579[_0x59e908>>>0x18]<<0x18|_0x296579[_0x59e908>>>0x10&0xff]<<0x10|_0x296579[_0x59e908>>>0x8&0xff]<<0x8|_0x296579[_0x59e908&0xff],_0x59e908^=_0x45d4a7[_0x295fe0/_0x4ea9cf|0x0]<<0x18),_0x1fd984[_0x295fe0]=_0x1fd984[_0x295fe0-_0x4ea9cf]^_0x59e908);for(var _0x559441=this[_0x29d9fb(0x140)]=[],_0x366197=0x0;_0x366197<_0x203094;_0x366197++){var _0x295fe0=_0x203094-_0x366197;if(_0x366197%0x4)var _0x59e908=_0x1fd984[_0x295fe0];else var _0x59e908=_0x1fd984[_0x295fe0-0x4];_0x366197<0x4||_0x295fe0<=0x4?_0x559441[_0x366197]=_0x59e908:_0x559441[_0x366197]=_0x3ce4dd[_0x296579[_0x59e908>>>0x18]]^_0x48744d[_0x296579[_0x59e908>>>0x10&0xff]]^_0x181fb6[_0x296579[_0x59e908>>>0x8&0xff]]^_0x8e9258[_0x296579[_0x59e908&0xff]];}}},'encryptBlock':function(_0x480c80,_0x516876){var _0x3d5240=_0x58c585;this[_0x3d5240(0x2b4)](_0x480c80,_0x516876,this[_0x3d5240(0x163)],_0x4df66f,_0x4cbd6a,_0x2c1f83,_0x35bf4b,_0x296579);},'decryptBlock':function(_0x1d8761,_0x3a0966){var _0x6c7244=_0x58c585,_0x2dfbf3=_0x1d8761[_0x3a0966+0x1];_0x1d8761[_0x3a0966+0x1]=_0x1d8761[_0x3a0966+0x3],_0x1d8761[_0x3a0966+0x3]=_0x2dfbf3,this[_0x6c7244(0x2b4)](_0x1d8761,_0x3a0966,this[_0x6c7244(0x140)],_0x3ce4dd,_0x48744d,_0x181fb6,_0x8e9258,_0x181dc1);var _0x2dfbf3=_0x1d8761[_0x3a0966+0x1];_0x1d8761[_0x3a0966+0x1]=_0x1d8761[_0x3a0966+0x3],_0x1d8761[_0x3a0966+0x3]=_0x2dfbf3;},'_doCryptBlock':function(_0x4d3277,_0x4c8e8f,_0x30d4a9,_0x154010,_0x4b60b8,_0x25c189,_0x1c6b40,_0x7a8686){for(var _0x2889de=this['_nRounds'],_0x5aeaae=_0x4d3277[_0x4c8e8f]^_0x30d4a9[0x0],_0x2a3de3=_0x4d3277[_0x4c8e8f+0x1]^_0x30d4a9[0x1],_0x3c71f0=_0x4d3277[_0x4c8e8f+0x2]^_0x30d4a9[0x2],_0x1c8a2e=_0x4d3277[_0x4c8e8f+0x3]^_0x30d4a9[0x3],_0xa968d4=0x4,_0x51774b=0x1;_0x51774b<_0x2889de;_0x51774b++){var _0x4573cf=_0x154010[_0x5aeaae>>>0x18]^_0x4b60b8[_0x2a3de3>>>0x10&0xff]^_0x25c189[_0x3c71f0>>>0x8&0xff]^_0x1c6b40[_0x1c8a2e&0xff]^_0x30d4a9[_0xa968d4++],_0x2b7e62=_0x154010[_0x2a3de3>>>0x18]^_0x4b60b8[_0x3c71f0>>>0x10&0xff]^_0x25c189[_0x1c8a2e>>>0x8&0xff]^_0x1c6b40[_0x5aeaae&0xff]^_0x30d4a9[_0xa968d4++],_0x30452c=_0x154010[_0x3c71f0>>>0x18]^_0x4b60b8[_0x1c8a2e>>>0x10&0xff]^_0x25c189[_0x5aeaae>>>0x8&0xff]^_0x1c6b40[_0x2a3de3&0xff]^_0x30d4a9[_0xa968d4++],_0x190a6b=_0x154010[_0x1c8a2e>>>0x18]^_0x4b60b8[_0x5aeaae>>>0x10&0xff]^_0x25c189[_0x2a3de3>>>0x8&0xff]^_0x1c6b40[_0x3c71f0&0xff]^_0x30d4a9[_0xa968d4++];_0x5aeaae=_0x4573cf,_0x2a3de3=_0x2b7e62,_0x3c71f0=_0x30452c,_0x1c8a2e=_0x190a6b;}var _0x4573cf=(_0x7a8686[_0x5aeaae>>>0x18]<<0x18|_0x7a8686[_0x2a3de3>>>0x10&0xff]<<0x10|_0x7a8686[_0x3c71f0>>>0x8&0xff]<<0x8|_0x7a8686[_0x1c8a2e&0xff])^_0x30d4a9[_0xa968d4++],_0x2b7e62=(_0x7a8686[_0x2a3de3>>>0x18]<<0x18|_0x7a8686[_0x3c71f0>>>0x10&0xff]<<0x10|_0x7a8686[_0x1c8a2e>>>0x8&0xff]<<0x8|_0x7a8686[_0x5aeaae&0xff])^_0x30d4a9[_0xa968d4++],_0x30452c=(_0x7a8686[_0x3c71f0>>>0x18]<<0x18|_0x7a8686[_0x1c8a2e>>>0x10&0xff]<<0x10|_0x7a8686[_0x5aeaae>>>0x8&0xff]<<0x8|_0x7a8686[_0x2a3de3&0xff])^_0x30d4a9[_0xa968d4++],_0x190a6b=(_0x7a8686[_0x1c8a2e>>>0x18]<<0x18|_0x7a8686[_0x5aeaae>>>0x10&0xff]<<0x10|_0x7a8686[_0x2a3de3>>>0x8&0xff]<<0x8|_0x7a8686[_0x3c71f0&0xff])^_0x30d4a9[_0xa968d4++];_0x4d3277[_0x4c8e8f]=_0x4573cf,_0x4d3277[_0x4c8e8f+0x1]=_0x2b7e62,_0x4d3277[_0x4c8e8f+0x2]=_0x30452c,_0x4d3277[_0x4c8e8f+0x3]=_0x190a6b;},'keySize':0x100/0x20});_0x5bb4ec[_0x58c585(0x29f)]=_0x48e04d['_createHelper'](_0x3022ce);}()),_0x5ca173[_0x1785b9(0x29f)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be['exports'],nt;function ki(){return nt||(nt=0x1,function(_0xa3e62a,_0x4c7600){(function(_0x1e427d,_0x55d146){var _0x3e687f=_0x4419;_0xa3e62a[_0x3e687f(0x412)]=_0x55d146(Q());}(xi,function(_0x11aa54){var _0x2b826d=_0x4419;return _0x11aa54[_0x2b826d(0x453)]['Utf8'];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe['exports'],rt;function _0x4419(_0xae783a,_0x3d5fce){var _0x132b17=_0x132b();return _0x4419=function(_0x441935,_0x590dbc){_0x441935=_0x441935-0xf1;var _0x2d508f=_0x132b17[_0x441935];return _0x2d508f;},_0x4419(_0xae783a,_0x3d5fce);}function Bi(){var _0x2e4f61=_0x2575f3;return rt||(rt=0x1,function(_0x269ef4,_0x356781){(function(_0x17d0da,_0x47f1f9){_0x269ef4['exports']=_0x47f1f9(Q());}(ji,function(_0x45ec6c){var _0x3c046b=_0x4419;return(function(){var _0x13eeef=_0x4419;if(typeof ArrayBuffer==_0x13eeef(0x341)){var _0x10a8a8=_0x45ec6c,_0x1d773f=_0x10a8a8['lib'],_0x505a2b=_0x1d773f[_0x13eeef(0x26e)],_0x13e435=_0x505a2b['init'],_0x3b333f=_0x505a2b[_0x13eeef(0x1c1)]=function(_0x2a945f){var _0x23077d=_0x13eeef;if(_0x2a945f instanceof ArrayBuffer&&(_0x2a945f=new Uint8Array(_0x2a945f)),(_0x2a945f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a945f instanceof Uint8ClampedArray||_0x2a945f instanceof Int16Array||_0x2a945f instanceof Uint16Array||_0x2a945f instanceof Int32Array||_0x2a945f instanceof Uint32Array||_0x2a945f instanceof Float32Array||_0x2a945f instanceof Float64Array)&&(_0x2a945f=new Uint8Array(_0x2a945f[_0x23077d(0x3fd)],_0x2a945f[_0x23077d(0x206)],_0x2a945f[_0x23077d(0x312)])),_0x2a945f instanceof Uint8Array){for(var _0x8ea2cb=_0x2a945f[_0x23077d(0x312)],_0x4032a2=[],_0x1bee3d=0x0;_0x1bee3d<_0x8ea2cb;_0x1bee3d++)_0x4032a2[_0x1bee3d>>>0x2]|=_0x2a945f[_0x1bee3d]<<0x18-_0x1bee3d%0x4*0x8;_0x13e435[_0x23077d(0x2c3)](this,_0x4032a2,_0x8ea2cb);}else _0x13e435['apply'](this,arguments);};_0x3b333f[_0x13eeef(0x3d2)]=_0x505a2b;}}()),_0x45ec6c['lib'][_0x3c046b(0x26e)];}));}(Oe)),Oe[_0x2e4f61(0x412)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x2575f3(0x412)],st;function Gi(){var _0x2c234f=_0x2575f3;return st||(st=0x1,function(_0x1b550c,_0x6d86fb){(function(_0x3f86ba,_0x228d82,_0x555e21){var _0x58cd3f=_0x4419;_0x1b550c[_0x58cd3f(0x412)]=_0x228d82(Q(),Tt());}(Wi,function(_0x51db7c){var _0x5485f1=_0x4419;return _0x51db7c[_0x5485f1(0x229)][_0x5485f1(0x25d)]={'pad':function(){},'unpad':function(){}},_0x51db7c['pad']['NoPadding'];}));}(Re)),Re[_0x2c234f(0x412)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x3ff9b4,_0x55f760){var _0x15c511=_0x2575f3;const _0x16616c=_0x55f760-_0x3ff9b4[_0x15c511(0x42c)]%_0x55f760,_0x5ebe61=String[_0x15c511(0x38f)](_0x16616c)[_0x15c511(0x34c)](_0x16616c);return _0x3ff9b4+_0x5ebe61;}function zi(_0x442836,_0x406205){var _0x5a2134=_0x2575f3;const _0x535154=Vi[_0x5a2134(0x1d4)](0x10),_0x5cd5e8=Ki(_0x442836,0x10),_0x5a1203=Mi[_0x5a2134(0x34b)](Hi[_0x5a2134(0x3f9)](_0x5cd5e8),it[_0x5a2134(0x3f9)](_0x406205),{'iv':_0x535154,'padding':qi});return _0x535154[_0x5a2134(0x43e)](_0x5a1203['ciphertext'])['toString'](it);}function Ji(){var _0x573df0=_0x2575f3;const _0x208a9b=yt['getGlobalObject']()[_0x573df0(0x370)];if(_0x208a9b){const _0x1a97ef={'time':Math[_0x573df0(0x1e8)](Date[_0x573df0(0x3b0)]()/0x3e8),'domain':location[_0x573df0(0x250)]};return zi(JSON[_0x573df0(0x307)](_0x1a97ef),_0x208a9b);}}var Xi=Object[_0x2575f3(0x210)],Zi=(_0x46ed97,_0x200ff5,_0x574512,_0x22fdd6)=>{var _0x2e5b79=_0x2575f3;for(var _0x519301=_0x22fdd6>0x1?void 0x0:_0x22fdd6?Xi(_0x200ff5,_0x574512):_0x200ff5,_0x2bb641=_0x46ed97[_0x2e5b79(0x42c)]-0x1,_0x368a1f;_0x2bb641>=0x0;_0x2bb641--)(_0x368a1f=_0x46ed97[_0x2bb641])&&(_0x519301=_0x368a1f(_0x519301)||_0x519301);return _0x519301;},Qi=(_0x154a04,_0xef35f4)=>(_0x23a792,_0x276c39)=>_0xef35f4(_0x23a792,_0x276c39,_0x154a04);let Ne=class{constructor(_0x1dde5d){var _0x1a7cb7=_0x2575f3;this[_0x1a7cb7(0x349)]=_0x1dde5d,this[_0x1a7cb7(0x2d4)]();}[_0x2575f3(0x2d4)](){var _0x4024f5=_0x2575f3;this['_httpService'][_0x4024f5(0x380)]({'interceptor':(_0x1e01b1,_0x5ef18e)=>{var _0x5ee48d=_0x4024f5;const _0xbc5714=_0x1e01b1[_0x5ee48d(0x114)],_0x14e119=Ji();return _0x14e119&&_0xbc5714[_0x5ee48d(0x1a0)](_0x5ee48d(0x330),_0x14e119),_0x5ef18e(_0x1e01b1);}});}};Ne=Zi([Qi(0x0,a[_0x2575f3(0x337)](q[_0x2575f3(0x395)]))],Ne);var en=Object[_0x2575f3(0x210)],tn=(_0x790e43,_0x4c93fd,_0x23719f,_0xbe742d)=>{var _0x338584=_0x2575f3;for(var _0x46c8ac=_0xbe742d>0x1?void 0x0:_0xbe742d?en(_0x4c93fd,_0x23719f):_0x4c93fd,_0x11c0aa=_0x790e43[_0x338584(0x42c)]-0x1,_0xbfecf0;_0x11c0aa>=0x0;_0x11c0aa--)(_0xbfecf0=_0x790e43[_0x11c0aa])&&(_0x46c8ac=_0xbfecf0(_0x46c8ac)||_0x46c8ac);return _0x46c8ac;},we=(_0x566e70,_0x38f537)=>(_0x5cc243,_0x6fd038)=>_0x38f537(_0x5cc243,_0x6fd038,_0x566e70);exports[_0x2575f3(0x365)]=class extends a[_0x2575f3(0x2ac)]{constructor(_0x59c34b,_0x2f0b92,_0x1f87b5){var _0x4083dc=_0x2575f3;super(),A(this,'_unitInfo$',new H[(_0x4083dc(0x21b))](null)),A(this,'unitInfo$',this[_0x4083dc(0x3ea)][_0x4083dc(0x3e8)]()),(this[_0x4083dc(0x3ec)]=_0x59c34b,this['_snapshotService']=_0x2f0b92,this[_0x4083dc(0x180)]=_0x1f87b5);}async['loadUnitOfRevision'](_0x29f38d,_0x3c8da3,_0x3085cc){var _0x40810a=_0x2575f3;this[_0x40810a(0x3ea)][_0x40810a(0x2c0)]({'unitId':_0x29f38d,'type':_0x3c8da3});let _0x189970=null;switch(_0x3c8da3){case J[_0x40810a(0x262)]:{_0x189970=await this['_snapshotService'][_0x40810a(0x1ae)](_0x29f38d,_0x3085cc);break;}case J[_0x40810a(0x334)]:{_0x189970=await this[_0x40810a(0x245)][_0x40810a(0x26c)](_0x29f38d,_0x3085cc);break;}default:{this[_0x40810a(0x3ec)]['error'](_0x40810a(0x32e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x189970;}async[_0x2575f3(0x21a)](_0x4b0f17,_0x3ea76c,_0x3cb335){var _0x2b9f9b=_0x2575f3,_0x5557d8;this[_0x2b9f9b(0x3ea)][_0x2b9f9b(0x2c0)]({'unitId':_0x4b0f17,'type':_0x3ea76c,'subUnitId':_0x3cb335});let _0x540b11=0x0;const _0x562353=await((_0x5557d8=this[_0x2b9f9b(0x180)])==null?void 0x0:_0x5557d8[_0x2b9f9b(0x278)](_0x4b0f17));return _0x562353&&(_0x562353[_0x2b9f9b(0x1b3)]||_0x562353[_0x2b9f9b(0x23c)][_0x2b9f9b(0x42c)]!==0x0)&&(_0x540b11=_0x562353[_0x2b9f9b(0x426)]),_0x540b11===0x0&&this[_0x2b9f9b(0x3ec)]['debug']('[DataLoaderService]',_0x2b9f9b(0x2bc)),this[_0x2b9f9b(0x396)](_0x4b0f17,_0x3ea76c,_0x540b11);}},exports[_0x2575f3(0x365)]=tn([we(0x0,a[_0x2575f3(0x104)]),we(0x1,a['Inject'](p['SnapshotService'])),we(0x2,a[_0x2575f3(0x12b)](K))],exports[_0x2575f3(0x365)]);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x644858,_0x48aa49,_0x249762,_0x2f001e)=>{for(var _0x34d3be=_0x2f001e>0x1?void 0x0:_0x2f001e?nn(_0x48aa49,_0x249762):_0x48aa49,_0x15db8f=_0x644858['length']-0x1,_0xc324f;_0x15db8f>=0x0;_0x15db8f--)(_0xc324f=_0x644858[_0x15db8f])&&(_0x34d3be=_0xc324f(_0x34d3be)||_0x34d3be);return _0x34d3be;},Me=(_0x287ea2,_0xcb5dc7)=>(_0x421f8d,_0x9c5fbf)=>_0xcb5dc7(_0x421f8d,_0x9c5fbf,_0x287ea2);const sn=['image/png',_0x2575f3(0x3e4),_0x2575f3(0x182),'image/gif',_0x2575f3(0x214)],on=0x5*0x400*0x400,an=_0x2575f3(0x325),cn=_0x2575f3(0x446);exports[_0x2575f3(0x12d)]=class{constructor(_0x4f05b1,_0x371f46,_0x559f92){var _0x155f71=_0x2575f3;A(this,'_waitCount',0x0),A(this,'_change$',new H[(_0x155f71(0x3f8))]()),A(this,_0x155f71(0x46b),this[_0x155f71(0x2a9)]),A(this,_0x155f71(0x28d),new Map()),(this[_0x155f71(0x349)]=_0x4f05b1,this['_configService']=_0x371f46,this[_0x155f71(0x2b7)]=_0x559f92);}[_0x2575f3(0x27a)](_0x58e032){var _0x1e956c=_0x2575f3;this[_0x1e956c(0x3ef)]=_0x58e032,this[_0x1e956c(0x2a9)][_0x1e956c(0x2c0)](_0x58e032);}[_0x2575f3(0x326)](_0x5ed540,_0x5c78af){var _0x26f039=_0x2575f3;if(_0x5c78af===z['ImageSourceType']['BASE64']){const _0x1860ea=new Image();return _0x1860ea[_0x26f039(0x202)]=_0x5ed540,_0x1860ea;}return this['_imageSourceCache'][_0x26f039(0x204)](_0x5ed540);}[_0x2575f3(0x35f)](_0x9a327f,_0x153717,_0xdbd8d4){var _0x3788f0=_0x2575f3;_0x153717===z[_0x3788f0(0x35b)][_0x3788f0(0x10a)]||_0xdbd8d4==null||this[_0x3788f0(0x28d)]['set'](_0x9a327f,_0xdbd8d4);}async[_0x2575f3(0x292)](_0x47aa52){var _0xd8fc9e=_0x2575f3;try{const _0x5e5786=this[_0xd8fc9e(0x199)](this[_0xd8fc9e(0x146)](),''+_0x47aa52),_0x535c7c=(await this[_0xd8fc9e(0x349)][_0xd8fc9e(0x204)](_0x5e5786))[_0xd8fc9e(0x1bc)];if(_0x535c7c[_0xd8fc9e(0x1c8)]&&_0x535c7c[_0xd8fc9e(0x1c8)][_0xd8fc9e(0x17f)]===dt['OK']){const _0x54162f=new URL(_0x535c7c[_0xd8fc9e(0x3fe)],this['_getDownloadEndpointURL']())[_0xd8fc9e(0x271)]();return Promise[_0xd8fc9e(0x3d1)](_0x54162f);}return Promise[_0xd8fc9e(0x10e)](_0x535c7c[_0xd8fc9e(0x1c8)]);}catch(_0x1c090e){return Promise[_0xd8fc9e(0x10e)](_0x1c090e);}}async[_0x2575f3(0x362)](_0x10126b){var _0x5c39a0=_0x2575f3;let _0x4ea287='';if(!sn[_0x5c39a0(0x169)](_0x10126b[_0x5c39a0(0x24f)]))return this[_0x5c39a0(0x286)](),Promise[_0x5c39a0(0x10e)](new Error(z[_0x5c39a0(0x2c6)][_0x5c39a0(0x394)]));if(_0x10126b[_0x5c39a0(0x235)]>on)return this[_0x5c39a0(0x286)](),Promise[_0x5c39a0(0x10e)](new Error(z[_0x5c39a0(0x2c6)][_0x5c39a0(0x29d)]));try{const _0xd2bea5=new FormData();_0xd2bea5[_0x5c39a0(0x408)]('file',_0x10126b);const _0x2cb889=this[_0x5c39a0(0x2b7)][_0x5c39a0(0x309)](),_0x3d25af=_0x2cb889==null?void 0x0:_0x2cb889[_0x5c39a0(0x16d)]();if(!_0x3d25af)throw new Error(_0x5c39a0(0x2b6));const _0x95a450=this[_0x5c39a0(0x3aa)]()+_0x5c39a0(0x1b8)+_0x10126b[_0x5c39a0(0x235)][_0x5c39a0(0x271)]()+'&source='+vt['UnitEmbedded']+_0x5c39a0(0x418)+encodeURIComponent(_0x3d25af),_0xa15c06={'body':_0xd2bea5},_0x56cd80=(await this['_httpService']['post'](_0x95a450,_0xa15c06))['body'];if(typeof _0x56cd80[_0x5c39a0(0x3cd)]!=_0x5c39a0(0x240))return this['_decreaseWaiting'](),Promise[_0x5c39a0(0x10e)](new Error(z[_0x5c39a0(0x2c6)][_0x5c39a0(0x2aa)]));_0x4ea287=_0x56cd80[_0x5c39a0(0x3cd)];}catch{return this[_0x5c39a0(0x286)](),Promise['reject'](new Error(z[_0x5c39a0(0x2c6)][_0x5c39a0(0x2aa)]));}return new Promise((_0x51ceaf,_0x41277b)=>{var _0x1d43ce=_0x5c39a0;const _0x31e318=new FileReader();_0x31e318[_0x1d43ce(0x2b8)](_0x10126b),_0x31e318['onload']=_0x125252=>{var _0x528308=_0x1d43ce,_0x3ee7f9;const _0x45aaa6=(_0x3ee7f9=_0x125252[_0x528308(0x1e6)])==null?void 0x0:_0x3ee7f9[_0x528308(0x45e)];if(_0x45aaa6==null){this[_0x528308(0x286)](),_0x41277b(new Error(z[_0x528308(0x2c6)][_0x528308(0x2aa)]));return;}const _0x36b838=a[_0x528308(0x2f5)](0x6);_0x51ceaf({'imageId':_0x36b838,'imageSourceType':z['ImageSourceType'][_0x528308(0x1a5)],'source':_0x4ea287,'base64Cache':_0x45aaa6,'status':z['ImageUploadStatusType'][_0x528308(0x465)]}),this[_0x528308(0x286)]();};});}[_0x2575f3(0x3aa)](){var _0x4f4906=_0x2575f3,_0x266ebd;const _0x519428=this['_configService']['getConfig'](Y);return(_0x266ebd=_0x519428==null?void 0x0:_0x519428[_0x4f4906(0x21e)])!=null?_0x266ebd:an;}[_0x2575f3(0x146)](){var _0x5e8615=_0x2575f3,_0x312614;const _0x3b9950=this[_0x5e8615(0x3ab)][_0x5e8615(0x3c1)](Y);return(_0x312614=_0x3b9950==null?void 0x0:_0x3b9950['signUrlServerUrl'])!=null?_0x312614:cn;}[_0x2575f3(0x42e)](){var _0x4bcab6=_0x2575f3,_0x21b299;const _0x2902c8=this['_configService'][_0x4bcab6(0x3c1)](Y);return(_0x21b299=_0x2902c8==null?void 0x0:_0x2902c8[_0x4bcab6(0x1ab)])!=null?_0x21b299:location[_0x4bcab6(0x41b)];}[_0x2575f3(0x199)](_0x12e458,_0x46c35c){var _0x38ea49=_0x2575f3;return _0x12e458[_0x38ea49(0x137)](_0x38ea49(0x236),_0x46c35c);}['_decreaseWaiting'](){var _0x31a246=_0x2575f3;this[_0x31a246(0x3ef)]-=0x1,this['_change$'][_0x31a246(0x2c0)](this['_waitCount']);}},exports[_0x2575f3(0x12d)]=rn([Me(0x0,a[_0x2575f3(0x337)](q[_0x2575f3(0x395)])),Me(0x1,a[_0x2575f3(0x2bb)]),Me(0x2,a[_0x2575f3(0x337)](a[_0x2575f3(0x376)]))],exports[_0x2575f3(0x12d)]);var hn=Object[_0x2575f3(0x210)],_n=(_0x2ee3e8,_0x2355dd,_0x1768aa,_0x15da75)=>{var _0x1691b3=_0x2575f3;for(var _0x5e68f4=_0x15da75>0x1?void 0x0:_0x15da75?hn(_0x2355dd,_0x1768aa):_0x2355dd,_0x29d4ae=_0x2ee3e8[_0x1691b3(0x42c)]-0x1,_0x29ebaf;_0x29d4ae>=0x0;_0x29d4ae--)(_0x29ebaf=_0x2ee3e8[_0x29d4ae])&&(_0x5e68f4=_0x29ebaf(_0x5e68f4)||_0x5e68f4);return _0x5e68f4;},ot=(_0x13c0ed,_0x1eeffa)=>(_0xb3b0f9,_0x413e6a)=>_0x1eeffa(_0xb3b0f9,_0x413e6a,_0x13c0ed);const ln=_0x2575f3(0x102);exports[_0x2575f3(0x117)]=class{constructor(_0xfc7573,_0x3aac4d){var _0x3fa0da=_0x2575f3;this[_0x3fa0da(0x3ab)]=_0xfc7573,this[_0x3fa0da(0x3f5)]=_0x3aac4d;}[_0x2575f3(0x1f6)](){var _0x4a0f86=_0x2575f3,_0x391018;const _0x472b9c=this['_configService'][_0x4a0f86(0x3c1)](Y);return(_0x391018=_0x472b9c==null?void 0x0:_0x472b9c[_0x4a0f86(0x27d)])!=null?_0x391018:ln;}async[_0x2575f3(0x1c7)](_0xa34e4a){var _0x10088d=_0x2575f3;const _0xb4c2ad=this[_0x10088d(0x1f6)]()+_0x10088d(0x19f);return{'list':[{'title':_0x10088d(0x433),'mentions':(await this[_0x10088d(0x3f5)][_0x10088d(0x204)](_0xb4c2ad,{'params':{'objectID':_0xa34e4a[_0x10088d(0x3c6)],'unitID':_0xa34e4a['unitId']}}))[_0x10088d(0x1bc)]['collaborators'][_0x10088d(0x436)](_0x541d4d=>({'objectId':_0x541d4d['id'],'name':_0x541d4d[_0x10088d(0x13d)][_0x10088d(0x1bf)],'metadata':{'icon':_0x541d4d[_0x10088d(0x13d)][_0x10088d(0x120)]},'label':_0x541d4d['subject'][_0x10088d(0x1bf)],'objectType':a[_0x10088d(0x185)][_0x10088d(0x242)]})),'metadata':{},'type':a[_0x10088d(0x185)][_0x10088d(0x242)]}]};}},exports[_0x2575f3(0x117)]=_n([ot(0x0,a['Inject'](a[_0x2575f3(0x2bb)])),ot(0x1,a[_0x2575f3(0x337)](q[_0x2575f3(0x395)]))],exports[_0x2575f3(0x117)]);var un=Object[_0x2575f3(0x210)],dn=(_0x18200a,_0x3a8710,_0x4138f7,_0x154d04)=>{var _0x3546b6=_0x2575f3;for(var _0x5e826f=_0x154d04>0x1?void 0x0:_0x154d04?un(_0x3a8710,_0x4138f7):_0x3a8710,_0x28c01c=_0x18200a[_0x3546b6(0x42c)]-0x1,_0x3dcb24;_0x28c01c>=0x0;_0x28c01c--)(_0x3dcb24=_0x18200a[_0x28c01c])&&(_0x5e826f=_0x3dcb24(_0x5e826f)||_0x5e826f);return _0x5e826f;},le=(_0x56e37e,_0x53b45b)=>(_0x35d7a8,_0x273919)=>_0x53b45b(_0x35d7a8,_0x273919,_0x56e37e);let De=class extends a['RxDisposable']{constructor(_0x10f2ac,_0x4f39d1,_0x9cdb95,_0xd07e23,_0x161a1b){var _0x4e05f8=_0x2575f3;super(),this[_0x4e05f8(0x227)]=_0x10f2ac,this[_0x4e05f8(0x2b7)]=_0x4f39d1,this[_0x4e05f8(0x3d5)]=_0x9cdb95,this['_collaborationSessionService']=_0xd07e23,this['_collaborationUIEventService']=_0x161a1b,this[_0x4e05f8(0x109)](),this[_0x4e05f8(0x3b4)]();}['_initCloseConn'](){var _0x16b5a4=_0x2575f3;const _0x584f7e=async _0x441197=>{var _0x50948f=_0x4419;(await this[_0x50948f(0xf2)][_0x50948f(0x103)](_0x441197))[_0x50948f(0x3ca)]['pipe'](V[_0x50948f(0x1c2)](_0x26fe82=>_0x26fe82[_0x50948f(0x416)]===p[_0x50948f(0x19b)][_0x50948f(0x27e)]),V[_0x50948f(0x3b6)](this['dispose$']))[_0x50948f(0xfe)](_0x497f77=>{var _0x4a9e4f=_0x50948f;const _0x633f89=_0x497f77,{reason:_0x1ae8b8}=_0x633f89[_0x4a9e4f(0x39a)];this[_0x4a9e4f(0x332)]['emitEvent']({'id':Z['CLOSE_ROOM'],'data':_0x1ae8b8}),this[_0x4a9e4f(0x3d5)]['updatePermissionPoint'](new X[(_0x4a9e4f(0x3eb))](_0x441197)['id'],!0x1),this[_0x4a9e4f(0xf2)]['closeSession'](_0x441197);});};H[_0x16b5a4(0x347)](this[_0x16b5a4(0x2b7)][_0x16b5a4(0x1d7)](a[_0x16b5a4(0x3ed)][_0x16b5a4(0x262)]),this['_univerInstanceService'][_0x16b5a4(0x1d7)](a[_0x16b5a4(0x3ed)]['UNIVER_DOC']))[_0x16b5a4(0x410)](V['map'](_0x28cada=>_0x28cada[_0x16b5a4(0x16d)]()),V[_0x16b5a4(0x1c2)](_0x4b921d=>!a['isInternalEditorID'](_0x4b921d)),V[_0x16b5a4(0x3b6)](this[_0x16b5a4(0x42f)]))[_0x16b5a4(0xfe)](_0x1e997c=>{_0x584f7e(_0x1e997c);});}[_0x2575f3(0x109)](){var _0x50b2c7=_0x2575f3;const _0x10e632=async _0x174311=>{var _0x2b8aca=_0x4419;const _0x5e720d=await this[_0x2b8aca(0xf2)][_0x2b8aca(0x103)](_0x174311),_0x289f1b=this[_0x2b8aca(0x227)][_0x2b8aca(0x204)](X[_0x2b8aca(0x23a)]);_0x5e720d[_0x2b8aca(0x3ca)][_0x2b8aca(0x410)](V[_0x2b8aca(0x1c2)](_0x444579=>_0x444579[_0x2b8aca(0x416)]===p[_0x2b8aca(0x19b)][_0x2b8aca(0x430)]),V[_0x2b8aca(0x3b6)](this['dispose$']))[_0x2b8aca(0xfe)](_0xa641fc=>{var _0x5dc354=_0x2b8aca;const _0x4f80c4=_0xa641fc,{objectId:_0x596584}=_0x4f80c4[_0x5dc354(0x39a)];_0x596584===_0x174311?_0x289f1b['initWorkbookPermissionChange'](_0x174311):_0x289f1b[_0x5dc354(0x1a2)](_0x174311,_0x596584);});};H[_0x50b2c7(0x347)](this[_0x50b2c7(0x2b7)][_0x50b2c7(0x1d7)](a['UniverInstanceType'][_0x50b2c7(0x262)]))[_0x50b2c7(0x410)](V[_0x50b2c7(0x436)](_0x114ade=>_0x114ade[_0x50b2c7(0x16d)]()),V[_0x50b2c7(0x1c2)](_0x20ab82=>!a[_0x50b2c7(0x22e)](_0x20ab82)),V[_0x50b2c7(0x3b6)](this['dispose$']))['subscribe'](_0x3cffb6=>{_0x10e632(_0x3cffb6);});}};De=dn([le(0x0,a[_0x2575f3(0x337)](a[_0x2575f3(0x197)])),le(0x1,a[_0x2575f3(0x376)]),le(0x2,a[_0x2575f3(0x25b)]),le(0x3,a['Inject'](exports[_0x2575f3(0x172)])),le(0x4,a[_0x2575f3(0x337)](ee))],De);var vn=Object[_0x2575f3(0x210)],Sn=(_0x2bdaad,_0xcb610a,_0x10b1b7,_0x140156)=>{for(var _0xfe27c6=_0x140156>0x1?void 0x0:_0x140156?vn(_0xcb610a,_0x10b1b7):_0xcb610a,_0x356896=_0x2bdaad['length']-0x1,_0x3cf36e;_0x356896>=0x0;_0x356896--)(_0x3cf36e=_0x2bdaad[_0x356896])&&(_0xfe27c6=_0x3cf36e(_0xfe27c6)||_0xfe27c6);return _0xfe27c6;},at=(_0x1b7448,_0x5b24c6)=>(_0x20b174,_0x1b3406)=>_0x5b24c6(_0x20b174,_0x1b3406,_0x1b7448);exports[_0x2575f3(0x24a)]=class{constructor(_0xbd4880,_0x15bc9e){var _0x2329b5=_0x2575f3;this[_0x2329b5(0x3ab)]=_0xbd4880,this[_0x2329b5(0x349)]=_0x15bc9e;}async[_0x2575f3(0x101)](_0x235654,_0x349514){var _0x15dbc8=_0x2575f3,_0xa5b724;const {unitID:_0x7b71f3,type:_0x48f084,revision:_0x3fecdb=0x0}=_0x349514,_0x1483b3=this[_0x15dbc8(0x184)]()+'/'+_0x48f084+_0x15dbc8(0x44c)+_0x7b71f3+_0x15dbc8(0x3e1)+_0x3fecdb,_0x49d51c=(await this[_0x15dbc8(0x349)][_0x15dbc8(0x204)](_0x1483b3))[_0x15dbc8(0x1bc)],_0x360c0e=(_0xa5b724=_0x49d51c[_0x15dbc8(0x44b)])==null?void 0x0:_0xa5b724[_0x15dbc8(0x388)];if(_0x360c0e){const _0x569bc3=_0x360c0e==null?void 0x0:_0x360c0e['originalMeta'],_0x542136=p['textEncoder']['encode'](p['b64DecodeUnicode'](_0x569bc3));_0x360c0e[_0x15dbc8(0x2ca)]=_0x542136,Object[_0x15dbc8(0x115)](_0x360c0e['sheets'])['forEach'](([,_0x1e4aa5])=>{var _0x30333e=_0x15dbc8;const _0x1b4f01=_0x1e4aa5[_0x30333e(0x2ca)],_0x11c47f=p[_0x30333e(0x427)]['encode'](p[_0x30333e(0x2ed)](_0x1b4f01));_0x1e4aa5[_0x30333e(0x2ca)]=_0x11c47f;});}return _0x49d51c;}async[_0x2575f3(0x3b1)](_0x30bf93,_0x2a143f){var _0xa36bff=_0x2575f3;const {unitID:_0x526693,type:_0x231115,blockID:_0x481e9e}=_0x2a143f,_0x1ecf47=this[_0xa36bff(0x150)]()+'/'+_0x231115+_0xa36bff(0x44c)+_0x526693+'/block/'+_0x481e9e;return(await this['_httpService'][_0xa36bff(0x204)](_0x1ecf47))[_0xa36bff(0x1bc)];}async[_0x2575f3(0x323)](_0x1dad29,_0x150925){var _0x273840=_0x2575f3;const {unitID:_0x3978ea,type:_0x1b020b,blockID:_0x1b4dea}=_0x150925,_0x2a4032=this[_0x273840(0x150)]()+'/block/'+_0x1b020b+_0x273840(0x44c)+_0x3978ea+'/block/'+_0x1b4dea;return(await this[_0x273840(0x349)][_0x273840(0x204)](_0x2a4032))[_0x273840(0x1bc)];}async[_0x2575f3(0x1a4)](_0xcdafd4,_0x1d9ae9){var _0x179a4c=_0x2575f3;const {unitID:_0x1f0cd1,type:_0x39fbf1,from:_0x662e71,to:_0xdff614}=_0x1d9ae9,_0xcc6ea4=this[_0x179a4c(0x150)]()+'/'+_0x39fbf1+_0x179a4c(0x44c)+_0x1f0cd1+_0x179a4c(0x389)+_0x662e71+_0x179a4c(0x179)+_0xdff614;return(await this['_httpService'][_0x179a4c(0x204)](_0xcc6ea4))[_0x179a4c(0x1bc)];}[_0x2575f3(0x184)](){var _0x1417cc=_0x2575f3,_0x5d3821;return(_0x5d3821=this[_0x1417cc(0x3ab)][_0x1417cc(0x3c1)](Dt))!=null?_0x5d3821:this['_getAPIPrefix']();}[_0x2575f3(0x150)](){var _0x50189b;const _0x2ae34f=this['_configService']['getConfig'](Y);return(_0x50189b=_0x2ae34f==null?void 0x0:_0x2ae34f['snapshotServerUrl'])!=null?_0x50189b:Nt;}async[_0x2575f3(0x2bd)](_0x1ef67e,_0x3e6460){var _0x497e0e=_0x2575f3;const _0x156e50=_0x497e0e(0x15b)+_0x3e6460[_0x497e0e(0x24f)]+_0x497e0e(0x44c)+_0x3e6460['unitID']+_0x497e0e(0x306);return(await this[_0x497e0e(0x349)][_0x497e0e(0x204)](_0x156e50,{'params':{'resourceId':JSON[_0x497e0e(0x307)](_0x3e6460[_0x497e0e(0x207)])}}))[_0x497e0e(0x1bc)];}[_0x2575f3(0x404)](){var _0x414382=_0x2575f3;throw new Error(_0x414382(0x442));}[_0x2575f3(0x264)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2575f3(0x3af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2575f3(0x2d6)](){var _0x29a81e=_0x2575f3;throw new Error(_0x29a81e(0x442));}[_0x2575f3(0x37a)](){var _0x24f9d0=_0x2575f3;throw new Error(_0x24f9d0(0x442));}[_0x2575f3(0x432)](){var _0x7c71f1=_0x2575f3;throw new Error(_0x7c71f1(0x442));}},exports[_0x2575f3(0x24a)]=Sn([at(0x0,a[_0x2575f3(0x2bb)]),at(0x1,a['Inject'](q[_0x2575f3(0x395)]))],exports[_0x2575f3(0x24a)]);var fn=Object[_0x2575f3(0x210)],In=(_0x1b0c39,_0x43008c,_0x83793e,_0x3e220f)=>{for(var _0x4a5717=_0x3e220f>0x1?void 0x0:_0x3e220f?fn(_0x43008c,_0x83793e):_0x43008c,_0x58e457=_0x1b0c39['length']-0x1,_0x385736;_0x58e457>=0x0;_0x58e457--)(_0x385736=_0x1b0c39[_0x58e457])&&(_0x4a5717=_0x385736(_0x4a5717)||_0x4a5717);return _0x4a5717;},ue=(_0xd2ddd7,_0x3e8f7f)=>(_0x2c053b,_0x1e6152)=>_0x3e8f7f(_0x2c053b,_0x1e6152,_0xd2ddd7);exports[_0x2575f3(0x218)]=class extends a[_0x2575f3(0x26b)]{constructor(_0x3d3466,_0x200a72,_0x852000,_0x1b8326,_0x458a81){var _0x5e7fc1=_0x2575f3;super(_0x3d3466,_0x200a72,_0x852000),this[_0x5e7fc1(0x141)]=_0x1b8326,this['_logService']=_0x458a81;}[_0x2575f3(0x154)](_0x14012e,_0x4d6b37){var _0x23c756=_0x2575f3;const _0x3767a4=this['_getUndoStack'](_0x14012e);if(_0x3767a4)try{const _0x367ea9=this[_0x23c756(0x30e)](_0x3767a4,_0x4d6b37);this[_0x23c756(0x39d)](_0x14012e,_0x367ea9);}catch(_0x2f4a9b){this['_logService'][_0x23c756(0x1c8)](_0x23c756(0x457),_0x2f4a9b),this[_0x23c756(0x353)](_0x14012e);}const _0x1fe6b9=this[_0x23c756(0x322)](_0x14012e);if(_0x1fe6b9)try{const _0x2963c3=this[_0x23c756(0x30e)](_0x1fe6b9,_0x4d6b37);this[_0x23c756(0x118)](_0x14012e,_0x2963c3);}catch(_0x2210ce){this[_0x23c756(0x3ec)][_0x23c756(0x1c8)](_0x2210ce),this[_0x23c756(0x2e5)](_0x14012e);}}[_0x2575f3(0x353)](_0x1f5762){var _0x45f3db=_0x2575f3;const _0x4f32f6=this[_0x45f3db(0x1de)](_0x1f5762);_0x4f32f6&&(_0x4f32f6[_0x45f3db(0x42c)]=0x0,this[_0x45f3db(0x19d)]());}[_0x2575f3(0x2e5)](_0x8b3511){var _0x55f5ea=_0x2575f3;const _0x3d1c60=this[_0x55f5ea(0x322)](_0x8b3511);_0x3d1c60&&(_0x3d1c60['length']=0x0,this[_0x55f5ea(0x19d)]());}[_0x2575f3(0x39d)](_0x4a6b64,_0x45c12b){var _0xe4a538=_0x2575f3;this[_0xe4a538(0x105)][_0xe4a538(0x1a0)](_0x4a6b64,_0x45c12b),this[_0xe4a538(0x19d)]();}['_substituteRedoStack'](_0x269f4c,_0x51813a){var _0x370c24=_0x2575f3;this['_redoStacks'][_0x370c24(0x1a0)](_0x269f4c,_0x51813a),this[_0x370c24(0x19d)]();}[_0x2575f3(0x30e)](_0x103289,_0xc7452b){var _0x24e498=_0x2575f3;const _0x54b1e0=[];let _0x5dd38c=_0xc7452b,_0x2553db=_0xc7452b;for(let _0x582318=_0x103289[_0x24e498(0x42c)]-0x1;_0x582318>=0x0;_0x582318--){const {unitID:_0x40b935,undoMutations:_0x5cdb2a,redoMutations:_0x188354}=_0x103289[_0x582318],_0x245744=this[_0x24e498(0x141)][_0x24e498(0x458)](_0x5dd38c,_0x5cdb2a),_0x892a8e=this[_0x24e498(0x141)][_0x24e498(0x458)](_0x2553db,_0x188354);if(p[_0x24e498(0x3c3)](_0x245744)||p[_0x24e498(0x3c3)](_0x892a8e)){this['_logService'][_0x24e498(0x1c8)](_0x24e498(0x457),_0x24e498(0x1ca),_0x245744,_0x892a8e);break;}_0x5dd38c=_0x245744[_0x24e498(0x29c)],_0x2553db=_0x892a8e[_0x24e498(0x29c)],_0x54b1e0[_0x24e498(0x249)]({'unitID':_0x40b935,'undoMutations':_0x245744['m2Prime'],'redoMutations':_0x892a8e['m2Prime']});}return _0x54b1e0['reverse']();}},exports[_0x2575f3(0x218)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x2575f3(0x381)]),ue(0x2,a[_0x2575f3(0x1a8)]),ue(0x3,p['ITransformService']),ue(0x4,a[_0x2575f3(0x104)])],exports[_0x2575f3(0x218)]);var pn=Object[_0x2575f3(0x145)],mn=Object[_0x2575f3(0x210)],gn=(_0x550338,_0x3318ab,_0x3fbbd6)=>_0x3318ab in _0x550338?pn(_0x550338,_0x3318ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fbbd6}):_0x550338[_0x3318ab]=_0x3fbbd6,En=(_0x33408d,_0x4fd3b4,_0x16f3d2,_0x5bac7c)=>{var _0x3558ff=_0x2575f3;for(var _0xb5da77=_0x5bac7c>0x1?void 0x0:_0x5bac7c?mn(_0x4fd3b4,_0x16f3d2):_0x4fd3b4,_0x8c8ac5=_0x33408d[_0x3558ff(0x42c)]-0x1,_0x407c1b;_0x8c8ac5>=0x0;_0x8c8ac5--)(_0x407c1b=_0x33408d[_0x8c8ac5])&&(_0xb5da77=_0x407c1b(_0xb5da77)||_0xb5da77);return _0xb5da77;},Le=(_0x309c82,_0x1318e4)=>(_0x162b4e,_0x1c41e8)=>_0x1318e4(_0x162b4e,_0x1c41e8,_0x309c82),Cn=(_0x637e13,_0x22d930,_0x39fbeb)=>gn(_0x637e13,_0x22d930+'',_0x39fbeb);const Tn=_0x2575f3(0x1d0);exports[_0x2575f3(0x158)]=class extends a[_0x2575f3(0x40f)]{constructor(_0x48e031,_0x22ac3d,_0x41a4e8,_0x1502a6){var _0x2e6291=_0x2575f3;super(),A(this,_0x2e6291(0x3d9)),(this[_0x2e6291(0x3ec)]=_0x22ac3d,this[_0x2e6291(0x227)]=_0x41a4e8,this['_configService']=_0x1502a6);const {..._0x16a915}=a['merge']({},Zt,_0x48e031);if(!_0x16a915[_0x2e6291(0x231)])throw new Error(_0x2e6291(0x1ad));this[_0x2e6291(0x3d9)]=_0x16a915,this[_0x2e6291(0x3ab)]['setConfig'](Y,_0x16a915);}[_0x2575f3(0x14e)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2575f3(0x23b)](){var _0x2d0c09=_0x2575f3,_0x52ab68,_0x39a6eb;this[_0x2d0c09(0x227)][_0x2d0c09(0x3ac)](a[_0x2d0c09(0x3d6)])&&this['_logService'][_0x2d0c09(0x1c8)](_0x2d0c09(0xfa),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1a29d6=a[_0x2d0c09(0x333)]([[a[_0x2d0c09(0x3d6)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2d0c09(0x172)]],[exports[_0x2d0c09(0x3f6)]],[exports[_0x2d0c09(0x259)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x2d0c09(0x365)]],[Fe,{'useClass':this['_config'][_0x2d0c09(0x231)]}],[p[_0x2d0c09(0x192)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x2d0c09(0x431)],{'useClass':exports[_0x2d0c09(0x469)]}],[z[_0x2d0c09(0x1b2)],{'useClass':exports[_0x2d0c09(0x12d)]}],[a[_0x2d0c09(0x45f)],{'useClass':exports[_0x2d0c09(0x117)]}],[exports[_0x2d0c09(0x440)]],[xe]],(_0x52ab68=this[_0x2d0c09(0x3d9)])==null?void 0x0:_0x52ab68[_0x2d0c09(0x15d)]);if(!((_0x39a6eb=this[_0x2d0c09(0x3d9)])!=null&&_0x39a6eb[_0x2d0c09(0x468)])){const _0x594d41=_0x1a29d6[_0x2d0c09(0x454)](([_0x4d2de9])=>_0x4d2de9===de);_0x594d41!==-0x1&&_0x1a29d6[_0x2d0c09(0x2d0)](_0x594d41,0x1);}a[_0x2d0c09(0x36d)](this['_injector'],_0x1a29d6);}['_initDependencies'](){var _0x4eab6c=_0x2575f3,_0x36255b,_0x47876c,_0x3eca0a;this[_0x4eab6c(0x227)][_0x4eab6c(0x204)](q[_0x4eab6c(0x395)])[_0x4eab6c(0x380)]({'priority':0x14,'interceptor':q[_0x4eab6c(0x1db)]({'maxParallel':0x6})}),(_0x36255b=this[_0x4eab6c(0x3d9)])!=null&&_0x36255b[_0x4eab6c(0x219)]||(_0x47876c=this[_0x4eab6c(0x227)][_0x4eab6c(0x204)](K,a[_0x4eab6c(0x3ba)][_0x4eab6c(0x3b3)]))==null||_0x47876c[_0x4eab6c(0x311)](),(_0x3eca0a=this[_0x4eab6c(0x3d9)])!=null&&_0x3eca0a['enableAuthServer']&&a['touchDependencies'](this[_0x4eab6c(0x227)],[[ye]]),a[_0x4eab6c(0x448)](this[_0x4eab6c(0x227)],[[Ne],[exports[_0x4eab6c(0x440)]],[De]]);}},Cn(exports[_0x2575f3(0x158)],_0x2575f3(0x2c4),Tn),exports['UniverCollaborationClientPlugin']=En([a[_0x2575f3(0x449)](p['UniverCollaborationPlugin'],q[_0x2575f3(0x40b)]),Le(0x1,a[_0x2575f3(0x104)]),Le(0x2,a['Inject'](a[_0x2575f3(0x197)])),Le(0x3,a['IConfigService'])],exports[_0x2575f3(0x158)]),exports[_0x2575f3(0x343)]=Y,exports['CollaborationStatus']=je,exports[_0x2575f3(0x38c)]=Z,exports['CollaborationUIEventService']=ee,exports[_0x2575f3(0x329)]=$e,exports[_0x2575f3(0x2d8)]=ht,exports[_0x2575f3(0x320)]=jt,exports[_0x2575f3(0x23d)]=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x2575f3(0x289)]=ke,exports[_0x2575f3(0x25f)]=Fe,exports[_0x2575f3(0x277)]=K,exports['INetworkConditionService']=pt,exports['ISingleActiveUnitService']=de,exports[_0x2575f3(0x360)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x2575f3(0x266)]=Ht,exports[_0x2575f3(0x3d4)]=ut,exports[_0x2575f3(0x196)]=re,exports[_0x2575f3(0x224)]=He,exports[_0x2575f3(0x228)]=mt,exports[_0x2575f3(0x45c)]=Kt,exports[_0x2575f3(0x284)]=gt;